blob: 68dbd15e3b49861dcbecfa0ded2d3b1d071ae45f [file] [log] [blame]
function Mye(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 Y_={},e7=[],uT=()=>{},DEt=()=>!1,NEt=/^on[^a-z]/,HR=o=>NEt.test(o),Fye=o=>o.startsWith("onUpdate:"),Ad=Object.assign,Rye=(o,i)=>{const a=o.indexOf(i);a>-1&&o.splice(a,1)},IEt=Object.prototype.hasOwnProperty,Iu=(o,i)=>IEt.call(o,i),Qo=Array.isArray,t7=o=>GR(o)==="[object Map]",PQ=o=>GR(o)==="[object Set]",GBe=o=>GR(o)==="[object Date]",nl=o=>typeof o=="function",qp=o=>typeof o=="string",sR=o=>typeof o=="symbol",r_=o=>o!==null&&typeof o=="object",Tze=o=>r_(o)&&nl(o.then)&&nl(o.catch),Sze=Object.prototype.toString,GR=o=>Sze.call(o),OEt=o=>GR(o).slice(8,-1),xze=o=>GR(o)==="[object Object]",Bye=o=>qp(o)&&o!=="NaN"&&o[0]!=="-"&&""+parseInt(o,10)===o,jF=Mye(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),DQ=o=>{const i=Object.create(null);return a=>i[a]||(i[a]=o(a))},LEt=/-(\w)/g,px=DQ(o=>o.replace(LEt,(i,a)=>a?a.toUpperCase():"")),MEt=/\B([A-Z])/g,$3=DQ(o=>o.replace(MEt,"-$1").toLowerCase()),NQ=DQ(o=>o.charAt(0).toUpperCase()+o.slice(1)),fX=DQ(o=>o?`on${NQ(o)}`:""),aR=(o,i)=>!Object.is(o,i),_X=(o,i)=>{for(let a=0;a<o.length;a++)o[a](i)},DX=(o,i,a)=>{Object.defineProperty(o,i,{configurable:!0,enumerable:!1,value:a})},mge=o=>{const i=parseFloat(o);return isNaN(i)?o:i},FEt=o=>{const i=qp(o)?Number(o):NaN;return isNaN(i)?o:i};let XBe;const hge=()=>XBe||(XBe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function IQ(o){if(Qo(o)){const i={};for(let a=0;a<o.length;a++){const u=o[a],p=qp(u)?JEt(u):IQ(u);if(p)for(const y in p)i[y]=p[y]}return i}else{if(qp(o))return o;if(r_(o))return o}}const REt=/;(?![^(]*\))/g,BEt=/:([^]+)/,jEt=/\/\*[^]*?\*\//g;function JEt(o){const i={};return o.replace(jEt,"").split(REt).forEach(a=>{if(a){const u=a.split(BEt);u.length>1&&(i[u[0].trim()]=u[1].trim())}}),i}function OQ(o){let i="";if(qp(o))i=o;else if(Qo(o))for(let a=0;a<o.length;a++){const u=OQ(o[a]);u&&(i+=u+" ")}else if(r_(o))for(const a in o)o[a]&&(i+=a+" ");return i.trim()}function NBt(o){if(!o)return null;let{class:i,style:a}=o;return i&&!qp(i)&&(o.class=OQ(i)),a&&(o.style=IQ(a)),o}const UEt="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",zEt=Mye(UEt);function kze(o){return!!o||o===""}function VEt(o,i){if(o.length!==i.length)return!1;let a=!0;for(let u=0;a&&u<o.length;u++)a=_7(o[u],i[u]);return a}function _7(o,i){if(o===i)return!0;let a=GBe(o),u=GBe(i);if(a||u)return a&&u?o.getTime()===i.getTime():!1;if(a=sR(o),u=sR(i),a||u)return o===i;if(a=Qo(o),u=Qo(i),a||u)return a&&u?VEt(o,i):!1;if(a=r_(o),u=r_(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 S in o){const A=o.hasOwnProperty(S),N=i.hasOwnProperty(S);if(A&&!N||!A&&N||!_7(o[S],i[S]))return!1}}return String(o)===String(i)}function Cze(o,i){return o.findIndex(a=>_7(a,i))}const IBt=o=>qp(o)?o:o==null?"":Qo(o)||r_(o)&&(o.toString===Sze||!nl(o.toString))?JSON.stringify(o,wze,2):String(o),wze=(o,i)=>i&&i.__v_isRef?wze(o,i.value):t7(i)?{[`Map(${i.size})`]:[...i.entries()].reduce((a,[u,p])=>(a[`${u} =>`]=p,a),{})}:PQ(i)?{[`Set(${i.size})`]:[...i.values()]}:r_(i)&&!Qo(i)&&!xze(i)?String(i):i;let sv;class Eze{constructor(i=!1){this.detached=i,this._active=!0,this.effects=[],this.cleanups=[],this.parent=sv,!i&&sv&&(this.index=(sv.scopes||(sv.scopes=[])).push(this)-1)}get active(){return this._active}run(i){if(this._active){const a=sv;try{return sv=this,i()}finally{sv=a}}}on(){sv=this}off(){sv=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 OBt(o){return new Eze(o)}function $Et(o,i=sv){i&&i.active&&i.effects.push(o)}function qEt(){return sv}function LBt(o){sv&&sv.cleanups.push(o)}const jye=o=>{const i=new Set(o);return i.w=0,i.n=0,i},Aze=o=>(o.w&b6)>0,Pze=o=>(o.n&b6)>0,WEt=({deps:o})=>{if(o.length)for(let i=0;i<o.length;i++)o[i].w|=b6},HEt=o=>{const{deps:i}=o;if(i.length){let a=0;for(let u=0;u<i.length;u++){const p=i[u];Aze(p)&&!Pze(p)?p.delete(o):i[a++]=p,p.w&=~b6,p.n&=~b6}i.length=a}},NX=new WeakMap;let MF=0,b6=1;const gge=30;let oT;const C3=Symbol(""),yge=Symbol("");class Jye{constructor(i,a=null,u){this.fn=i,this.scheduler=a,this.active=!0,this.deps=[],this.parent=void 0,$Et(this,u)}run(){if(!this.active)return this.fn();let i=oT,a=h6;for(;i;){if(i===this)return;i=i.parent}try{return this.parent=oT,oT=this,h6=!0,b6=1<<++MF,MF<=gge?WEt(this):QBe(this),this.fn()}finally{MF<=gge&&HEt(this),b6=1<<--MF,oT=this.parent,h6=a,this.parent=void 0,this.deferStop&&this.stop()}}stop(){oT===this?this.deferStop=!0:this.active&&(QBe(this),this.onStop&&this.onStop(),this.active=!1)}}function QBe(o){const{deps:i}=o;if(i.length){for(let a=0;a<i.length;a++)i[a].delete(o);i.length=0}}let h6=!0;const Dze=[];function B7(){Dze.push(h6),h6=!1}function j7(){const o=Dze.pop();h6=o===void 0?!0:o}function q0(o,i,a){if(h6&&oT){let u=NX.get(o);u||NX.set(o,u=new Map);let p=u.get(a);p||u.set(a,p=jye()),Nze(p)}}function Nze(o,i){let a=!1;MF<=gge?Pze(o)||(o.n|=b6,a=!Aze(o)):a=!o.has(oT),a&&(o.add(oT),oT.deps.push(o))}function NC(o,i,a,u,p,y){const S=NX.get(o);if(!S)return;let A=[];if(i==="clear")A=[...S.values()];else if(a==="length"&&Qo(o)){const N=Number(u);S.forEach((j,z)=>{(z==="length"||z>=N)&&A.push(j)})}else switch(a!==void 0&&A.push(S.get(a)),i){case"add":Qo(o)?Bye(a)&&A.push(S.get("length")):(A.push(S.get(C3)),t7(o)&&A.push(S.get(yge)));break;case"delete":Qo(o)||(A.push(S.get(C3)),t7(o)&&A.push(S.get(yge)));break;case"set":t7(o)&&A.push(S.get(C3));break}if(A.length===1)A[0]&&vge(A[0]);else{const N=[];for(const j of A)j&&N.push(...j);vge(jye(N))}}function vge(o,i){const a=Qo(o)?o:[...o];for(const u of a)u.computed&&YBe(u);for(const u of a)u.computed||YBe(u)}function YBe(o,i){(o!==oT||o.allowRecurse)&&(o.scheduler?o.scheduler():o.run())}function GEt(o,i){var a;return(a=NX.get(o))==null?void 0:a.get(i)}const XEt=Mye("__proto__,__v_isRef,__isVue"),Ize=new Set(Object.getOwnPropertyNames(Symbol).filter(o=>o!=="arguments"&&o!=="caller").map(o=>Symbol[o]).filter(sR)),QEt=Uye(),YEt=Uye(!1,!0),ZEt=Uye(!0),ZBe=KEt();function KEt(){const o={};return["includes","indexOf","lastIndexOf"].forEach(i=>{o[i]=function(...a){const u=gu(this);for(let y=0,S=this.length;y<S;y++)q0(u,"get",y+"");const p=u[i](...a);return p===-1||p===!1?u[i](...a.map(gu)):p}}),["push","pop","shift","unshift","splice"].forEach(i=>{o[i]=function(...a){B7();const u=gu(this)[i].apply(this,a);return j7(),u}}),o}function e6t(o){const i=gu(this);return q0(i,"has",o),i.hasOwnProperty(o)}function Uye(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?h6t:Rze:i?Fze:Mze).get(u))return u;const S=Qo(u);if(!o){if(S&&Iu(ZBe,p))return Reflect.get(ZBe,p,y);if(p==="hasOwnProperty")return e6t}const A=Reflect.get(u,p,y);return(sR(p)?Ize.has(p):XEt(p))||(o||q0(u,"get",p),i)?A:oh(A)?S&&Bye(p)?A:A.value:r_(A)?o?Bze(A):J7(A):A}}const t6t=Oze(),r6t=Oze(!0);function Oze(o=!1){return function(a,u,p,y){let S=a[u];if(p7(S)&&oh(S)&&!oh(p))return!1;if(!o&&(!IX(p)&&!p7(p)&&(S=gu(S),p=gu(p)),!Qo(a)&&oh(S)&&!oh(p)))return S.value=p,!0;const A=Qo(a)&&Bye(u)?Number(u)<a.length:Iu(a,u),N=Reflect.set(a,u,p,y);return a===gu(y)&&(A?aR(p,S)&&NC(a,"set",u,p):NC(a,"add",u,p)),N}}function n6t(o,i){const a=Iu(o,i);o[i];const u=Reflect.deleteProperty(o,i);return u&&a&&NC(o,"delete",i,void 0),u}function i6t(o,i){const a=Reflect.has(o,i);return(!sR(i)||!Ize.has(i))&&q0(o,"has",i),a}function s6t(o){return q0(o,"iterate",Qo(o)?"length":C3),Reflect.ownKeys(o)}const Lze={get:QEt,set:t6t,deleteProperty:n6t,has:i6t,ownKeys:s6t},a6t={get:ZEt,set(o,i){return!0},deleteProperty(o,i){return!0}},o6t=Ad({},Lze,{get:YEt,set:r6t}),zye=o=>o,LQ=o=>Reflect.getPrototypeOf(o);function jG(o,i,a=!1,u=!1){o=o.__v_raw;const p=gu(o),y=gu(i);a||(i!==y&&q0(p,"get",i),q0(p,"get",y));const{has:S}=LQ(p),A=u?zye:a?qye:oR;if(S.call(p,i))return A(o.get(i));if(S.call(p,y))return A(o.get(y));o!==p&&o.get(i)}function JG(o,i=!1){const a=this.__v_raw,u=gu(a),p=gu(o);return i||(o!==p&&q0(u,"has",o),q0(u,"has",p)),o===p?a.has(o):a.has(o)||a.has(p)}function UG(o,i=!1){return o=o.__v_raw,!i&&q0(gu(o),"iterate",C3),Reflect.get(o,"size",o)}function KBe(o){o=gu(o);const i=gu(this);return LQ(i).has.call(i,o)||(i.add(o),NC(i,"add",o,o)),this}function eje(o,i){i=gu(i);const a=gu(this),{has:u,get:p}=LQ(a);let y=u.call(a,o);y||(o=gu(o),y=u.call(a,o));const S=p.call(a,o);return a.set(o,i),y?aR(i,S)&&NC(a,"set",o,i):NC(a,"add",o,i),this}function tje(o){const i=gu(this),{has:a,get:u}=LQ(i);let p=a.call(i,o);p||(o=gu(o),p=a.call(i,o)),u&&u.call(i,o);const y=i.delete(o);return p&&NC(i,"delete",o,void 0),y}function rje(){const o=gu(this),i=o.size!==0,a=o.clear();return i&&NC(o,"clear",void 0,void 0),a}function zG(o,i){return function(u,p){const y=this,S=y.__v_raw,A=gu(S),N=i?zye:o?qye:oR;return!o&&q0(A,"iterate",C3),S.forEach((j,z)=>u.call(p,N(j),N(z),y))}}function VG(o,i,a){return function(...u){const p=this.__v_raw,y=gu(p),S=t7(y),A=o==="entries"||o===Symbol.iterator&&S,N=o==="keys"&&S,j=p[o](...u),z=a?zye:i?qye:oR;return!i&&q0(y,"iterate",N?yge:C3),{next(){const{value:G,done:te}=j.next();return te?{value:G,done:te}:{value:A?[z(G[0]),z(G[1])]:z(G),done:te}},[Symbol.iterator](){return this}}}}function r6(o){return function(...i){return o==="delete"?!1:this}}function c6t(){const o={get(y){return jG(this,y)},get size(){return UG(this)},has:JG,add:KBe,set:eje,delete:tje,clear:rje,forEach:zG(!1,!1)},i={get(y){return jG(this,y,!1,!0)},get size(){return UG(this)},has:JG,add:KBe,set:eje,delete:tje,clear:rje,forEach:zG(!1,!0)},a={get(y){return jG(this,y,!0)},get size(){return UG(this,!0)},has(y){return JG.call(this,y,!0)},add:r6("add"),set:r6("set"),delete:r6("delete"),clear:r6("clear"),forEach:zG(!0,!1)},u={get(y){return jG(this,y,!0,!0)},get size(){return UG(this,!0)},has(y){return JG.call(this,y,!0)},add:r6("add"),set:r6("set"),delete:r6("delete"),clear:r6("clear"),forEach:zG(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(y=>{o[y]=VG(y,!1,!1),a[y]=VG(y,!0,!1),i[y]=VG(y,!1,!0),u[y]=VG(y,!0,!0)}),[o,a,i,u]}const[l6t,u6t,f6t,_6t]=c6t();function Vye(o,i){const a=i?o?_6t:f6t:o?u6t:l6t;return(u,p,y)=>p==="__v_isReactive"?!o:p==="__v_isReadonly"?o:p==="__v_raw"?u:Reflect.get(Iu(a,p)&&p in u?a:u,p,y)}const p6t={get:Vye(!1,!1)},d6t={get:Vye(!1,!0)},m6t={get:Vye(!0,!1)},Mze=new WeakMap,Fze=new WeakMap,Rze=new WeakMap,h6t=new WeakMap;function g6t(o){switch(o){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function y6t(o){return o.__v_skip||!Object.isExtensible(o)?0:g6t(OEt(o))}function J7(o){return p7(o)?o:$ye(o,!1,Lze,p6t,Mze)}function v6t(o){return $ye(o,!1,o6t,d6t,Fze)}function Bze(o){return $ye(o,!0,a6t,m6t,Rze)}function $ye(o,i,a,u,p){if(!r_(o)||o.__v_raw&&!(i&&o.__v_isReactive))return o;const y=p.get(o);if(y)return y;const S=y6t(o);if(S===0)return o;const A=new Proxy(o,S===2?u:a);return p.set(o,A),A}function r7(o){return p7(o)?r7(o.__v_raw):!!(o&&o.__v_isReactive)}function p7(o){return!!(o&&o.__v_isReadonly)}function IX(o){return!!(o&&o.__v_isShallow)}function jze(o){return r7(o)||p7(o)}function gu(o){const i=o&&o.__v_raw;return i?gu(i):o}function Jze(o){return DX(o,"__v_skip",!0),o}const oR=o=>r_(o)?J7(o):o,qye=o=>r_(o)?Bze(o):o;function Uze(o){h6&&oT&&(o=gu(o),Nze(o.dep||(o.dep=jye())))}function Wye(o,i){o=gu(o);const a=o.dep;a&&vge(a)}function oh(o){return!!(o&&o.__v_isRef===!0)}function JF(o){return zze(o,!1)}function b6t(o){return zze(o,!0)}function zze(o,i){return oh(o)?o:new T6t(o,i)}class T6t{constructor(i,a){this.__v_isShallow=a,this.dep=void 0,this.__v_isRef=!0,this._rawValue=a?i:gu(i),this._value=a?i:oR(i)}get value(){return Uze(this),this._value}set value(i){const a=this.__v_isShallow||IX(i)||p7(i);i=a?i:gu(i),aR(i,this._rawValue)&&(this._rawValue=i,this._value=a?i:oR(i),Wye(this))}}function MBt(o){Wye(o)}function AC(o){return oh(o)?o.value:o}const S6t={get:(o,i,a)=>AC(Reflect.get(o,i,a)),set:(o,i,a,u)=>{const p=o[i];return oh(p)&&!oh(a)?(p.value=a,!0):Reflect.set(o,i,a,u)}};function Vze(o){return r7(o)?o:new Proxy(o,S6t)}function FBt(o){const i=Qo(o)?new Array(o.length):{};for(const a in o)i[a]=$ze(o,a);return i}class x6t{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 GEt(gu(this._object),this._key)}}class k6t{constructor(i){this._getter=i,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function RBt(o,i,a){return oh(o)?o:nl(o)?new k6t(o):r_(o)&&arguments.length>1?$ze(o,i,a):JF(o)}function $ze(o,i,a){const u=o[i];return oh(u)?u:new x6t(o,i,a)}class C6t{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 Jye(i,()=>{this._dirty||(this._dirty=!0,Wye(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!p,this.__v_isReadonly=u}get value(){const i=gu(this);return Uze(i),(i._dirty||!i._cacheable)&&(i._dirty=!1,i._value=i.effect.run()),i._value}set value(i){this._setter(i)}}function w6t(o,i,a=!1){let u,p;const y=nl(o);return y?(u=o,p=uT):(u=o.get,p=o.set),new C6t(u,p,y||!p,a)}function BBt(o,...i){}function g6(o,i,a,u){let p;try{p=u?o(...u):o()}catch(y){XR(y,i,a)}return p}function Lb(o,i,a,u){if(nl(o)){const y=g6(o,i,a,u);return y&&Tze(y)&&y.catch(S=>{XR(S,i,a)}),y}const p=[];for(let y=0;y<o.length;y++)p.push(Lb(o[y],i,a,u));return p}function XR(o,i,a,u=!0){const p=i?i.vnode:null;if(i){let y=i.parent;const S=i.proxy,A=a;for(;y;){const j=y.ec;if(j){for(let z=0;z<j.length;z++)if(j[z](o,S,A)===!1)return}y=y.parent}const N=i.appContext.config.errorHandler;if(N){g6(N,null,10,[o,S,A]);return}}E6t(o,a,p,u)}function E6t(o,i,a,u=!0){console.error(o)}let cR=!1,bge=!1;const Rg=[];let sx=0;const n7=[];let gC=null,y3=0;const qze=Promise.resolve();let Hye=null;function Wze(o){const i=Hye||qze;return o?i.then(this?o.bind(this):o):i}function A6t(o){let i=sx+1,a=Rg.length;for(;i<a;){const u=i+a>>>1;lR(Rg[u])<o?i=u+1:a=u}return i}function MQ(o){(!Rg.length||!Rg.includes(o,cR&&o.allowRecurse?sx+1:sx))&&(o.id==null?Rg.push(o):Rg.splice(A6t(o.id),0,o),Hze())}function Hze(){!cR&&!bge&&(bge=!0,Hye=qze.then(Gze))}function P6t(o){const i=Rg.indexOf(o);i>sx&&Rg.splice(i,1)}function D6t(o){Qo(o)?n7.push(...o):(!gC||!gC.includes(o,o.allowRecurse?y3+1:y3))&&n7.push(o),Hze()}function nje(o,i=cR?sx+1:0){for(;i<Rg.length;i++){const a=Rg[i];a&&a.pre&&(Rg.splice(i,1),i--,a())}}function OX(o){if(n7.length){const i=[...new Set(n7)];if(n7.length=0,gC){gC.push(...i);return}for(gC=i,gC.sort((a,u)=>lR(a)-lR(u)),y3=0;y3<gC.length;y3++)gC[y3]();gC=null,y3=0}}const lR=o=>o.id==null?1/0:o.id,N6t=(o,i)=>{const a=lR(o)-lR(i);if(a===0){if(o.pre&&!i.pre)return-1;if(i.pre&&!o.pre)return 1}return a};function Gze(o){bge=!1,cR=!0,Rg.sort(N6t);const i=uT;try{for(sx=0;sx<Rg.length;sx++){const a=Rg[sx];a&&a.active!==!1&&g6(a,null,14)}}finally{sx=0,Rg.length=0,OX(),cR=!1,Hye=null,(Rg.length||n7.length)&&Gze()}}function I6t(o,i,...a){if(o.isUnmounted)return;const u=o.vnode.props||Y_;let p=a;const y=i.startsWith("update:"),S=y&&i.slice(7);if(S&&S in u){const z=`${S==="modelValue"?"model":S}Modifiers`,{number:G,trim:te}=u[z]||Y_;te&&(p=a.map(Oe=>qp(Oe)?Oe.trim():Oe)),G&&(p=a.map(mge))}let A,N=u[A=fX(i)]||u[A=fX(px(i))];!N&&y&&(N=u[A=fX($3(i))]),N&&Lb(N,o,6,p);const j=u[A+"Once"];if(j){if(!o.emitted)o.emitted={};else if(o.emitted[A])return;o.emitted[A]=!0,Lb(j,o,6,p)}}function Xze(o,i,a=!1){const u=i.emitsCache,p=u.get(o);if(p!==void 0)return p;const y=o.emits;let S={},A=!1;if(!nl(o)){const N=j=>{const z=Xze(j,i,!0);z&&(A=!0,Ad(S,z))};!a&&i.mixins.length&&i.mixins.forEach(N),o.extends&&N(o.extends),o.mixins&&o.mixins.forEach(N)}return!y&&!A?(r_(o)&&u.set(o,null),null):(Qo(y)?y.forEach(N=>S[N]=null):Ad(S,y),r_(o)&&u.set(o,S),S)}function FQ(o,i){return!o||!HR(i)?!1:(i=i.slice(2).replace(/Once$/,""),Iu(o,i[0].toLowerCase()+i.slice(1))||Iu(o,$3(i))||Iu(o,i))}let Rh=null,RQ=null;function LX(o){const i=Rh;return Rh=o,RQ=o&&o.type.__scopeId||null,i}function jBt(o){RQ=o}function JBt(){RQ=null}function O6t(o,i=Rh,a){if(!i||o._n)return o;const u=(...p)=>{u._d&&hje(-1);const y=LX(i);let S;try{S=o(...p)}finally{LX(y),u._d&&hje(1)}return S};return u._n=!0,u._c=!0,u._d=!0,u}function Ahe(o){const{type:i,vnode:a,proxy:u,withProxy:p,props:y,propsOptions:[S],slots:A,attrs:N,emit:j,render:z,renderCache:G,data:te,setupState:Oe,ctx:$e,inheritAttrs:Be}=o;let Qe,Ue;const yt=LX(o);try{if(a.shapeFlag&4){const Ve=p||u;Qe=aT(z.call(Ve,Ve,G,y,Oe,te,$e)),Ue=N}else{const Ve=i;Qe=aT(Ve.length>1?Ve(y,{attrs:N,slots:A,emit:j}):Ve(y,null)),Ue=i.props?N:L6t(N)}}catch(Ve){$F.length=0,XR(Ve,o,1),Qe=id(cv)}let ot=Qe;if(Ue&&Be!==!1){const Ve=Object.keys(Ue),{shapeFlag:Ft}=ot;Ve.length&&Ft&7&&(S&&Ve.some(Fye)&&(Ue=M6t(Ue,S)),ot=T6(ot,Ue))}return a.dirs&&(ot=T6(ot),ot.dirs=ot.dirs?ot.dirs.concat(a.dirs):a.dirs),a.transition&&(ot.transition=a.transition),Qe=ot,LX(yt),Qe}const L6t=o=>{let i;for(const a in o)(a==="class"||a==="style"||HR(a))&&((i||(i={}))[a]=o[a]);return i},M6t=(o,i)=>{const a={};for(const u in o)(!Fye(u)||!(u.slice(9)in i))&&(a[u]=o[u]);return a};function F6t(o,i,a){const{props:u,children:p,component:y}=o,{props:S,children:A,patchFlag:N}=i,j=y.emitsOptions;if(i.dirs||i.transition)return!0;if(a&&N>=0){if(N&1024)return!0;if(N&16)return u?ije(u,S,j):!!S;if(N&8){const z=i.dynamicProps;for(let G=0;G<z.length;G++){const te=z[G];if(S[te]!==u[te]&&!FQ(j,te))return!0}}}else return(p||A)&&(!A||!A.$stable)?!0:u===S?!1:u?S?ije(u,S,j):!0:!!S;return!1}function ije(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]&&!FQ(a,y))return!0}return!1}function R6t({vnode:o,parent:i},a){for(;i&&i.subTree===o;)(o=i.vnode).el=a,i=i.parent}const B6t=o=>o.__isSuspense;function Qze(o,i){i&&i.pendingBranch?Qo(o)?i.effects.push(...o):i.effects.push(o):D6t(o)}function UBt(o,i){return Gye(o,null,i)}const $G={};function pX(o,i,a){return Gye(o,i,a)}function Gye(o,i,{immediate:a,deep:u,flush:p,onTrack:y,onTrigger:S}=Y_){var A;const N=qEt()===((A=km)==null?void 0:A.scope)?km:null;let j,z=!1,G=!1;if(oh(o)?(j=()=>o.value,z=IX(o)):r7(o)?(j=()=>o,u=!0):Qo(o)?(G=!0,z=o.some(Ve=>r7(Ve)||IX(Ve)),j=()=>o.map(Ve=>{if(oh(Ve))return Ve.value;if(r7(Ve))return T3(Ve);if(nl(Ve))return g6(Ve,N,2)})):nl(o)?i?j=()=>g6(o,N,2):j=()=>{if(!(N&&N.isUnmounted))return te&&te(),Lb(o,N,3,[Oe])}:j=uT,i&&u){const Ve=j;j=()=>T3(Ve())}let te,Oe=Ve=>{te=yt.onStop=()=>{g6(Ve,N,4)}},$e;if(h7)if(Oe=uT,i?a&&Lb(i,N,3,[j(),G?[]:void 0,Oe]):j(),p==="sync"){const Ve=N4t();$e=Ve.__watcherHandles||(Ve.__watcherHandles=[])}else return uT;let Be=G?new Array(o.length).fill($G):$G;const Qe=()=>{if(yt.active)if(i){const Ve=yt.run();(u||z||(G?Ve.some((Ft,ir)=>aR(Ft,Be[ir])):aR(Ve,Be)))&&(te&&te(),Lb(i,N,3,[Ve,Be===$G?void 0:G&&Be[0]===$G?[]:Be,Oe]),Be=Ve)}else yt.run()};Qe.allowRecurse=!!i;let Ue;p==="sync"?Ue=Qe:p==="post"?Ue=()=>j0(Qe,N&&N.suspense):(Qe.pre=!0,N&&(Qe.id=N.uid),Ue=()=>MQ(Qe));const yt=new Jye(j,Ue);i?a?Qe():Be=yt.run():p==="post"?j0(yt.run.bind(yt),N&&N.suspense):yt.run();const ot=()=>{yt.stop(),N&&N.scope&&Rye(N.scope.effects,yt)};return $e&&$e.push(ot),ot}function j6t(o,i,a){const u=this.proxy,p=qp(o)?o.includes(".")?Yze(u,o):()=>u[o]:o.bind(u,u);let y;nl(i)?y=i:(y=i.handler,a=i);const S=km;m7(this);const A=Gye(p,y.bind(u),a);return S?m7(S):w3(),A}function Yze(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 T3(o,i){if(!r_(o)||o.__v_skip||(i=i||new Set,i.has(o)))return o;if(i.add(o),oh(o))T3(o.value,i);else if(Qo(o))for(let a=0;a<o.length;a++)T3(o[a],i);else if(PQ(o)||t7(o))o.forEach(a=>{T3(a,i)});else if(xze(o))for(const a in o)T3(o[a],i);return o}function zBt(o,i){const a=Rh;if(a===null)return o;const u=UQ(a)||a.proxy,p=o.dirs||(o.dirs=[]);for(let y=0;y<i.length;y++){let[S,A,N,j=Y_]=i[y];S&&(nl(S)&&(S={mounted:S,updated:S}),S.deep&&T3(A),p.push({dir:S,instance:u,value:A,oldValue:void 0,arg:N,modifiers:j}))}return o}function ix(o,i,a,u){const p=o.dirs,y=i&&i.dirs;for(let S=0;S<p.length;S++){const A=p[S];y&&(A.oldValue=y[S].value);let N=A.dir[u];N&&(B7(),Lb(N,a,8,[o.el,A,o,i]),j7())}}function Zze(){const o={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return rVe(()=>{o.isMounted=!0}),iVe(()=>{o.isUnmounting=!0}),o}const Pb=[Function,Array],Kze={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Pb,onEnter:Pb,onAfterEnter:Pb,onEnterCancelled:Pb,onBeforeLeave:Pb,onLeave:Pb,onAfterLeave:Pb,onLeaveCancelled:Pb,onBeforeAppear:Pb,onAppear:Pb,onAfterAppear:Pb,onAppearCancelled:Pb},J6t={name:"BaseTransition",props:Kze,setup(o,{slots:i}){const a=r0e(),u=Zze();let p;return()=>{const y=i.default&&Xye(i.default(),!0);if(!y||!y.length)return;let S=y[0];if(y.length>1){for(const Be of y)if(Be.type!==cv){S=Be;break}}const A=gu(o),{mode:N}=A;if(u.isLeaving)return Phe(S);const j=sje(S);if(!j)return Phe(S);const z=uR(j,A,u,a);fR(j,z);const G=a.subTree,te=G&&sje(G);let Oe=!1;const{getTransitionKey:$e}=j.type;if($e){const Be=$e();p===void 0?p=Be:Be!==p&&(p=Be,Oe=!0)}if(te&&te.type!==cv&&(!v3(j,te)||Oe)){const Be=uR(te,A,u,a);if(fR(te,Be),N==="out-in")return u.isLeaving=!0,Be.afterLeave=()=>{u.isLeaving=!1,a.update.active!==!1&&a.update()},Phe(S);N==="in-out"&&j.type!==cv&&(Be.delayLeave=(Qe,Ue,yt)=>{const ot=eVe(u,te);ot[String(te.key)]=te,Qe._leaveCb=()=>{Ue(),Qe._leaveCb=void 0,delete z.delayedLeave},z.delayedLeave=yt})}return S}}},U6t=J6t;function eVe(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 uR(o,i,a,u){const{appear:p,mode:y,persisted:S=!1,onBeforeEnter:A,onEnter:N,onAfterEnter:j,onEnterCancelled:z,onBeforeLeave:G,onLeave:te,onAfterLeave:Oe,onLeaveCancelled:$e,onBeforeAppear:Be,onAppear:Qe,onAfterAppear:Ue,onAppearCancelled:yt}=i,ot=String(o.key),Ve=eVe(a,o),Ft=(Ot,kt)=>{Ot&&Lb(Ot,u,9,kt)},ir=(Ot,kt)=>{const Wt=kt[1];Ft(Ot,kt),Qo(Ot)?Ot.every(pr=>pr.length<=1)&&Wt():Ot.length<=1&&Wt()},kr={mode:y,persisted:S,beforeEnter(Ot){let kt=A;if(!a.isMounted)if(p)kt=Be||A;else return;Ot._leaveCb&&Ot._leaveCb(!0);const Wt=Ve[ot];Wt&&v3(o,Wt)&&Wt.el._leaveCb&&Wt.el._leaveCb(),Ft(kt,[Ot])},enter(Ot){let kt=N,Wt=j,pr=z;if(!a.isMounted)if(p)kt=Qe||N,Wt=Ue||j,pr=yt||z;else return;let Sn=!1;const gr=Ot._enterCb=ji=>{Sn||(Sn=!0,ji?Ft(pr,[Ot]):Ft(Wt,[Ot]),kr.delayedLeave&&kr.delayedLeave(),Ot._enterCb=void 0)};kt?ir(kt,[Ot,gr]):gr()},leave(Ot,kt){const Wt=String(o.key);if(Ot._enterCb&&Ot._enterCb(!0),a.isUnmounting)return kt();Ft(G,[Ot]);let pr=!1;const Sn=Ot._leaveCb=gr=>{pr||(pr=!0,kt(),gr?Ft($e,[Ot]):Ft(Oe,[Ot]),Ot._leaveCb=void 0,Ve[Wt]===o&&delete Ve[Wt])};Ve[Wt]=o,te?ir(te,[Ot,Sn]):Sn()},clone(Ot){return uR(Ot,i,a,u)}};return kr}function Phe(o){if(QR(o))return o=T6(o),o.children=null,o}function sje(o){return QR(o)?o.children?o.children[0]:void 0:o}function fR(o,i){o.shapeFlag&6&&o.component?fR(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 Xye(o,i=!1,a){let u=[],p=0;for(let y=0;y<o.length;y++){let S=o[y];const A=a==null?S.key:String(a)+String(S.key!=null?S.key:y);S.type===Ly?(S.patchFlag&128&&p++,u=u.concat(Xye(S.children,i,A))):(i||S.type!==cv)&&u.push(A!=null?T6(S,{key:A}):S)}if(p>1)for(let y=0;y<u.length;y++)u[y].patchFlag=-2;return u}function BQ(o,i){return nl(o)?(()=>Ad({name:o.name},i,{setup:o}))():o}const i7=o=>!!o.type.__asyncLoader;function VBt(o){nl(o)&&(o={loader:o});const{loader:i,loadingComponent:a,errorComponent:u,delay:p=200,timeout:y,suspensible:S=!0,onError:A}=o;let N=null,j,z=0;const G=()=>(z++,N=null,te()),te=()=>{let Oe;return N||(Oe=N=i().catch($e=>{if($e=$e instanceof Error?$e:new Error(String($e)),A)return new Promise((Be,Qe)=>{A($e,()=>Be(G()),()=>Qe($e),z+1)});throw $e}).then($e=>Oe!==N&&N?N:($e&&($e.__esModule||$e[Symbol.toStringTag]==="Module")&&($e=$e.default),j=$e,$e)))};return BQ({name:"AsyncComponentWrapper",__asyncLoader:te,get __asyncResolved(){return j},setup(){const Oe=km;if(j)return()=>Dhe(j,Oe);const $e=yt=>{N=null,XR(yt,Oe,13,!u)};if(S&&Oe.suspense||h7)return te().then(yt=>()=>Dhe(yt,Oe)).catch(yt=>($e(yt),()=>u?id(u,{error:yt}):null));const Be=JF(!1),Qe=JF(),Ue=JF(!!p);return p&&setTimeout(()=>{Ue.value=!1},p),y!=null&&setTimeout(()=>{if(!Be.value&&!Qe.value){const yt=new Error(`Async component timed out after ${y}ms.`);$e(yt),Qe.value=yt}},y),te().then(()=>{Be.value=!0,Oe.parent&&QR(Oe.parent.vnode)&&MQ(Oe.parent.update)}).catch(yt=>{$e(yt),Qe.value=yt}),()=>{if(Be.value&&j)return Dhe(j,Oe);if(Qe.value&&u)return id(u,{error:Qe.value});if(a&&!Ue.value)return id(a)}}})}function Dhe(o,i){const{ref:a,props:u,children:p,ce:y}=i.vnode,S=id(o,u,p);return S.ref=a,S.ce=y,delete i.vnode.ce,S}const QR=o=>o.type.__isKeepAlive;function z6t(o,i){tVe(o,"a",i)}function V6t(o,i){tVe(o,"da",i)}function tVe(o,i,a=km){const u=o.__wdc||(o.__wdc=()=>{let p=a;for(;p;){if(p.isDeactivated)return;p=p.parent}return o()});if(jQ(i,u,a),a){let p=a.parent;for(;p&&p.parent;)QR(p.parent.vnode)&&$6t(u,i,a,p),p=p.parent}}function $6t(o,i,a,u){const p=jQ(i,o,u,!0);sVe(()=>{Rye(u[i],p)},a)}function jQ(o,i,a=km,u=!1){if(a){const p=a[o]||(a[o]=[]),y=i.__weh||(i.__weh=(...S)=>{if(a.isUnmounted)return;B7(),m7(a);const A=Lb(i,a,o,S);return w3(),j7(),A});return u?p.unshift(y):p.push(y),y}}const RC=o=>(i,a=km)=>(!h7||o==="sp")&&jQ(o,(...u)=>i(...u),a),q6t=RC("bm"),rVe=RC("m"),W6t=RC("bu"),nVe=RC("u"),iVe=RC("bum"),sVe=RC("um"),H6t=RC("sp"),G6t=RC("rtg"),X6t=RC("rtc");function Q6t(o,i=km){jQ("ec",o,i)}const Qye="components",Y6t="directives";function $Bt(o,i){return Yye(Qye,o,!0,i)||o}const aVe=Symbol.for("v-ndc");function qBt(o){return qp(o)?Yye(Qye,o,!1)||o:o||aVe}function WBt(o){return Yye(Y6t,o)}function Yye(o,i,a=!0,u=!1){const p=Rh||km;if(p){const y=p.type;if(o===Qye){const A=A4t(y,!1);if(A&&(A===i||A===px(i)||A===NQ(px(i))))return y}const S=aje(p[o]||y[o],i)||aje(p.appContext[o],i);return!S&&u?y:S}}function aje(o,i){return o&&(o[i]||o[px(i)]||o[NQ(px(i))])}function HBt(o,i,a,u){let p;const y=a&&a[u];if(Qo(o)||qp(o)){p=new Array(o.length);for(let S=0,A=o.length;S<A;S++)p[S]=i(o[S],S,void 0,y&&y[S])}else if(typeof o=="number"){p=new Array(o);for(let S=0;S<o;S++)p[S]=i(S+1,S,void 0,y&&y[S])}else if(r_(o))if(o[Symbol.iterator])p=Array.from(o,(S,A)=>i(S,A,void 0,y&&y[A]));else{const S=Object.keys(o);p=new Array(S.length);for(let A=0,N=S.length;A<N;A++){const j=S[A];p[A]=i(o[j],j,A,y&&y[A])}}else p=[];return a&&(a[u]=p),p}function GBt(o,i){for(let a=0;a<i.length;a++){const u=i[a];if(Qo(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 XBt(o,i,a={},u,p){if(Rh.isCE||Rh.parent&&i7(Rh.parent)&&Rh.parent.isCE)return i!=="default"&&(a.name=i),id("slot",a,u&&u());let y=o[i];y&&y._c&&(y._d=!1),yVe();const S=y&&oVe(y(a)),A=bVe(Ly,{key:a.key||S&&S.key||`_${i}`},S||(u?u():[]),S&&o._===1?64:-2);return!p&&A.scopeId&&(A.slotScopeIds=[A.scopeId+"-s"]),y&&y._c&&(y._d=!0),A}function oVe(o){return o.some(i=>BX(i)?!(i.type===cv||i.type===Ly&&!oVe(i.children)):!0)?o:null}function QBt(o,i){const a={};for(const u in o)a[i&&/[A-Z]/.test(u)?`on:${u}`:fX(u)]=o[u];return a}const Tge=o=>o?kVe(o)?UQ(o)||o.proxy:Tge(o.parent):null,UF=Ad(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=>Tge(o.parent),$root:o=>Tge(o.root),$emit:o=>o.emit,$options:o=>Zye(o),$forceUpdate:o=>o.f||(o.f=()=>MQ(o.update)),$nextTick:o=>o.n||(o.n=Wze.bind(o.proxy)),$watch:o=>j6t.bind(o)}),Nhe=(o,i)=>o!==Y_&&!o.__isScriptSetup&&Iu(o,i),Z6t={get({_:o},i){const{ctx:a,setupState:u,data:p,props:y,accessCache:S,type:A,appContext:N}=o;let j;if(i[0]!=="$"){const Oe=S[i];if(Oe!==void 0)switch(Oe){case 1:return u[i];case 2:return p[i];case 4:return a[i];case 3:return y[i]}else{if(Nhe(u,i))return S[i]=1,u[i];if(p!==Y_&&Iu(p,i))return S[i]=2,p[i];if((j=o.propsOptions[0])&&Iu(j,i))return S[i]=3,y[i];if(a!==Y_&&Iu(a,i))return S[i]=4,a[i];Sge&&(S[i]=0)}}const z=UF[i];let G,te;if(z)return i==="$attrs"&&q0(o,"get",i),z(o);if((G=A.__cssModules)&&(G=G[i]))return G;if(a!==Y_&&Iu(a,i))return S[i]=4,a[i];if(te=N.config.globalProperties,Iu(te,i))return te[i]},set({_:o},i,a){const{data:u,setupState:p,ctx:y}=o;return Nhe(p,i)?(p[i]=a,!0):u!==Y_&&Iu(u,i)?(u[i]=a,!0):Iu(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}},S){let A;return!!a[S]||o!==Y_&&Iu(o,S)||Nhe(i,S)||(A=y[0])&&Iu(A,S)||Iu(u,S)||Iu(UF,S)||Iu(p.config.globalProperties,S)},defineProperty(o,i,a){return a.get!=null?o._.accessCache[i]=0:Iu(a,"value")&&this.set(o,i,a.value,null),Reflect.defineProperty(o,i,a)}};function YBt(){return cVe().slots}function ZBt(){return cVe().attrs}function cVe(){const o=r0e();return o.setupContext||(o.setupContext=wVe(o))}function oje(o){return Qo(o)?o.reduce((i,a)=>(i[a]=null,i),{}):o}let Sge=!0;function K6t(o){const i=Zye(o),a=o.proxy,u=o.ctx;Sge=!1,i.beforeCreate&&cje(i.beforeCreate,o,"bc");const{data:p,computed:y,methods:S,watch:A,provide:N,inject:j,created:z,beforeMount:G,mounted:te,beforeUpdate:Oe,updated:$e,activated:Be,deactivated:Qe,beforeDestroy:Ue,beforeUnmount:yt,destroyed:ot,unmounted:Ve,render:Ft,renderTracked:ir,renderTriggered:kr,errorCaptured:Ot,serverPrefetch:kt,expose:Wt,inheritAttrs:pr,components:Sn,directives:gr,filters:ji}=i;if(j&&e4t(j,u,null),S)for(const qa in S){const $s=S[qa];nl($s)&&(u[qa]=$s.bind(a))}if(p){const qa=p.call(a,a);r_(qa)&&(o.data=J7(qa))}if(Sge=!0,y)for(const qa in y){const $s=y[qa],$n=nl($s)?$s.bind(a,a):nl($s.get)?$s.get.bind(a,a):uT,ln=!nl($s)&&nl($s.set)?$s.set.bind(a):uT,yn=ah({get:$n,set:ln});Object.defineProperty(u,qa,{enumerable:!0,configurable:!0,get:()=>yn.value,set:yr=>yn.value=yr})}if(A)for(const qa in A)lVe(A[qa],u,a,qa);if(N){const qa=nl(N)?N.call(a):N;Reflect.ownKeys(qa).forEach($s=>{dX($s,qa[$s])})}z&&cje(z,o,"c");function qt(qa,$s){Qo($s)?$s.forEach($n=>qa($n.bind(a))):$s&&qa($s.bind(a))}if(qt(q6t,G),qt(rVe,te),qt(W6t,Oe),qt(nVe,$e),qt(z6t,Be),qt(V6t,Qe),qt(Q6t,Ot),qt(X6t,ir),qt(G6t,kr),qt(iVe,yt),qt(sVe,Ve),qt(H6t,kt),Qo(Wt))if(Wt.length){const qa=o.exposed||(o.exposed={});Wt.forEach($s=>{Object.defineProperty(qa,$s,{get:()=>a[$s],set:$n=>a[$s]=$n})})}else o.exposed||(o.exposed={});Ft&&o.render===uT&&(o.render=Ft),pr!=null&&(o.inheritAttrs=pr),Sn&&(o.components=Sn),gr&&(o.directives=gr)}function e4t(o,i,a=uT){Qo(o)&&(o=xge(o));for(const u in o){const p=o[u];let y;r_(p)?"default"in p?y=By(p.from||u,p.default,!0):y=By(p.from||u):y=By(p),oh(y)?Object.defineProperty(i,u,{enumerable:!0,configurable:!0,get:()=>y.value,set:S=>y.value=S}):i[u]=y}}function cje(o,i,a){Lb(Qo(o)?o.map(u=>u.bind(i.proxy)):o.bind(i.proxy),i,a)}function lVe(o,i,a,u){const p=u.includes(".")?Yze(a,u):()=>a[u];if(qp(o)){const y=i[o];nl(y)&&pX(p,y)}else if(nl(o))pX(p,o.bind(a));else if(r_(o))if(Qo(o))o.forEach(y=>lVe(y,i,a,u));else{const y=nl(o.handler)?o.handler.bind(a):i[o.handler];nl(y)&&pX(p,y,o)}}function Zye(o){const i=o.type,{mixins:a,extends:u}=i,{mixins:p,optionsCache:y,config:{optionMergeStrategies:S}}=o.appContext,A=y.get(i);let N;return A?N=A:!p.length&&!a&&!u?N=i:(N={},p.length&&p.forEach(j=>MX(N,j,S,!0)),MX(N,i,S)),r_(i)&&y.set(i,N),N}function MX(o,i,a,u=!1){const{mixins:p,extends:y}=i;y&&MX(o,y,a,!0),p&&p.forEach(S=>MX(o,S,a,!0));for(const S in i)if(!(u&&S==="expose")){const A=t4t[S]||a&&a[S];o[S]=A?A(o[S],i[S]):i[S]}return o}const t4t={data:lje,props:uje,emits:uje,methods:FF,computed:FF,beforeCreate:Oy,created:Oy,beforeMount:Oy,mounted:Oy,beforeUpdate:Oy,updated:Oy,beforeDestroy:Oy,beforeUnmount:Oy,destroyed:Oy,unmounted:Oy,activated:Oy,deactivated:Oy,errorCaptured:Oy,serverPrefetch:Oy,components:FF,directives:FF,watch:n4t,provide:lje,inject:r4t};function lje(o,i){return i?o?function(){return Ad(nl(o)?o.call(this,this):o,nl(i)?i.call(this,this):i)}:i:o}function r4t(o,i){return FF(xge(o),xge(i))}function xge(o){if(Qo(o)){const i={};for(let a=0;a<o.length;a++)i[o[a]]=o[a];return i}return o}function Oy(o,i){return o?[...new Set([].concat(o,i))]:i}function FF(o,i){return o?Ad(Object.create(null),o,i):i}function uje(o,i){return o?Qo(o)&&Qo(i)?[...new Set([...o,...i])]:Ad(Object.create(null),oje(o),oje(i??{})):i}function n4t(o,i){if(!o)return i;if(!i)return o;const a=Ad(Object.create(null),o);for(const u in i)a[u]=Oy(o[u],i[u]);return a}function uVe(){return{app:null,config:{isNativeTag:DEt,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 i4t=0;function s4t(o,i){return function(u,p=null){nl(u)||(u=Ad({},u)),p!=null&&!r_(p)&&(p=null);const y=uVe(),S=new Set;let A=!1;const N=y.app={_uid:i4t++,_component:u,_props:p,_container:null,_context:y,_instance:null,version:I4t,get config(){return y.config},set config(j){},use(j,...z){return S.has(j)||(j&&nl(j.install)?(S.add(j),j.install(N,...z)):nl(j)&&(S.add(j),j(N,...z))),N},mixin(j){return y.mixins.includes(j)||y.mixins.push(j),N},component(j,z){return z?(y.components[j]=z,N):y.components[j]},directive(j,z){return z?(y.directives[j]=z,N):y.directives[j]},mount(j,z,G){if(!A){const te=id(u,p);return te.appContext=y,z&&i?i(te,j):o(te,j,G),A=!0,N._container=j,j.__vue_app__=N,UQ(te.component)||te.component.proxy}},unmount(){A&&(o(null,N._container),delete N._container.__vue_app__)},provide(j,z){return y.provides[j]=z,N},runWithContext(j){FX=N;try{return j()}finally{FX=null}}};return N}}let FX=null;function dX(o,i){if(km){let a=km.provides;const u=km.parent&&km.parent.provides;u===a&&(a=km.provides=Object.create(u)),a[o]=i}}function By(o,i,a=!1){const u=km||Rh;if(u||FX){const p=u?u.parent==null?u.vnode.appContext&&u.vnode.appContext.provides:u.parent.provides:FX._context.provides;if(p&&o in p)return p[o];if(arguments.length>1)return a&&nl(i)?i.call(u&&u.proxy):i}}function a4t(o,i,a,u=!1){const p={},y={};DX(y,JQ,1),o.propsDefaults=Object.create(null),fVe(o,i,p,y);for(const S in o.propsOptions[0])S in p||(p[S]=void 0);a?o.props=u?p:v6t(p):o.type.props?o.props=p:o.props=y,o.attrs=y}function o4t(o,i,a,u){const{props:p,attrs:y,vnode:{patchFlag:S}}=o,A=gu(p),[N]=o.propsOptions;let j=!1;if((u||S>0)&&!(S&16)){if(S&8){const z=o.vnode.dynamicProps;for(let G=0;G<z.length;G++){let te=z[G];if(FQ(o.emitsOptions,te))continue;const Oe=i[te];if(N)if(Iu(y,te))Oe!==y[te]&&(y[te]=Oe,j=!0);else{const $e=px(te);p[$e]=kge(N,A,$e,Oe,o,!1)}else Oe!==y[te]&&(y[te]=Oe,j=!0)}}}else{fVe(o,i,p,y)&&(j=!0);let z;for(const G in A)(!i||!Iu(i,G)&&((z=$3(G))===G||!Iu(i,z)))&&(N?a&&(a[G]!==void 0||a[z]!==void 0)&&(p[G]=kge(N,A,G,void 0,o,!0)):delete p[G]);if(y!==A)for(const G in y)(!i||!Iu(i,G))&&(delete y[G],j=!0)}j&&NC(o,"set","$attrs")}function fVe(o,i,a,u){const[p,y]=o.propsOptions;let S=!1,A;if(i)for(let N in i){if(jF(N))continue;const j=i[N];let z;p&&Iu(p,z=px(N))?!y||!y.includes(z)?a[z]=j:(A||(A={}))[z]=j:FQ(o.emitsOptions,N)||(!(N in u)||j!==u[N])&&(u[N]=j,S=!0)}if(y){const N=gu(a),j=A||Y_;for(let z=0;z<y.length;z++){const G=y[z];a[G]=kge(p,N,G,j[G],o,!Iu(j,G))}}return S}function kge(o,i,a,u,p,y){const S=o[a];if(S!=null){const A=Iu(S,"default");if(A&&u===void 0){const N=S.default;if(S.type!==Function&&!S.skipFactory&&nl(N)){const{propsDefaults:j}=p;a in j?u=j[a]:(m7(p),u=j[a]=N.call(null,i),w3())}else u=N}S[0]&&(y&&!A?u=!1:S[1]&&(u===""||u===$3(a))&&(u=!0))}return u}function _Ve(o,i,a=!1){const u=i.propsCache,p=u.get(o);if(p)return p;const y=o.props,S={},A=[];let N=!1;if(!nl(o)){const z=G=>{N=!0;const[te,Oe]=_Ve(G,i,!0);Ad(S,te),Oe&&A.push(...Oe)};!a&&i.mixins.length&&i.mixins.forEach(z),o.extends&&z(o.extends),o.mixins&&o.mixins.forEach(z)}if(!y&&!N)return r_(o)&&u.set(o,e7),e7;if(Qo(y))for(let z=0;z<y.length;z++){const G=px(y[z]);fje(G)&&(S[G]=Y_)}else if(y)for(const z in y){const G=px(z);if(fje(G)){const te=y[z],Oe=S[G]=Qo(te)||nl(te)?{type:te}:Ad({},te);if(Oe){const $e=dje(Boolean,Oe.type),Be=dje(String,Oe.type);Oe[0]=$e>-1,Oe[1]=Be<0||$e<Be,($e>-1||Iu(Oe,"default"))&&A.push(G)}}}const j=[S,A];return r_(o)&&u.set(o,j),j}function fje(o){return o[0]!=="$"}function _je(o){const i=o&&o.toString().match(/^\s*(function|class) (\w+)/);return i?i[2]:o===null?"null":""}function pje(o,i){return _je(o)===_je(i)}function dje(o,i){return Qo(i)?i.findIndex(a=>pje(a,o)):nl(i)&&pje(i,o)?0:-1}const pVe=o=>o[0]==="_"||o==="$stable",Kye=o=>Qo(o)?o.map(aT):[aT(o)],c4t=(o,i,a)=>{if(i._n)return i;const u=O6t((...p)=>Kye(i(...p)),a);return u._c=!1,u},dVe=(o,i,a)=>{const u=o._ctx;for(const p in o){if(pVe(p))continue;const y=o[p];if(nl(y))i[p]=c4t(p,y,u);else if(y!=null){const S=Kye(y);i[p]=()=>S}}},mVe=(o,i)=>{const a=Kye(i);o.slots.default=()=>a},l4t=(o,i)=>{if(o.vnode.shapeFlag&32){const a=i._;a?(o.slots=gu(i),DX(i,"_",a)):dVe(i,o.slots={})}else o.slots={},i&&mVe(o,i);DX(o.slots,JQ,1)},u4t=(o,i,a)=>{const{vnode:u,slots:p}=o;let y=!0,S=Y_;if(u.shapeFlag&32){const A=i._;A?a&&A===1?y=!1:(Ad(p,i),!a&&A===1&&delete p._):(y=!i.$stable,dVe(i,p)),S=i}else i&&(mVe(o,i),S={default:1});if(y)for(const A in p)!pVe(A)&&!(A in S)&&delete p[A]};function RX(o,i,a,u,p=!1){if(Qo(o)){o.forEach((te,Oe)=>RX(te,i&&(Qo(i)?i[Oe]:i),a,u,p));return}if(i7(u)&&!p)return;const y=u.shapeFlag&4?UQ(u.component)||u.component.proxy:u.el,S=p?null:y,{i:A,r:N}=o,j=i&&i.r,z=A.refs===Y_?A.refs={}:A.refs,G=A.setupState;if(j!=null&&j!==N&&(qp(j)?(z[j]=null,Iu(G,j)&&(G[j]=null)):oh(j)&&(j.value=null)),nl(N))g6(N,A,12,[S,z]);else{const te=qp(N),Oe=oh(N);if(te||Oe){const $e=()=>{if(o.f){const Be=te?Iu(G,N)?G[N]:z[N]:N.value;p?Qo(Be)&&Rye(Be,y):Qo(Be)?Be.includes(y)||Be.push(y):te?(z[N]=[y],Iu(G,N)&&(G[N]=z[N])):(N.value=[y],o.k&&(z[o.k]=N.value))}else te?(z[N]=S,Iu(G,N)&&(G[N]=S)):Oe&&(N.value=S,o.k&&(z[o.k]=S))};S?($e.id=-1,j0($e,a)):$e()}}}let n6=!1;const qG=o=>/svg/.test(o.namespaceURI)&&o.tagName!=="foreignObject",WG=o=>o.nodeType===8;function f4t(o){const{mt:i,p:a,o:{patchProp:u,createText:p,nextSibling:y,parentNode:S,remove:A,insert:N,createComment:j}}=o,z=(Ue,yt)=>{if(!yt.hasChildNodes()){a(null,Ue,yt),OX(),yt._vnode=Ue;return}n6=!1,G(yt.firstChild,Ue,null,null,null),OX(),yt._vnode=Ue,n6&&console.error("Hydration completed but contains mismatches.")},G=(Ue,yt,ot,Ve,Ft,ir=!1)=>{const kr=WG(Ue)&&Ue.data==="[",Ot=()=>Be(Ue,yt,ot,Ve,Ft,kr),{type:kt,ref:Wt,shapeFlag:pr,patchFlag:Sn}=yt;let gr=Ue.nodeType;yt.el=Ue,Sn===-2&&(ir=!1,yt.dynamicChildren=null);let ji=null;switch(kt){case d7:gr!==3?yt.children===""?(N(yt.el=p(""),S(Ue),Ue),ji=Ue):ji=Ot():(Ue.data!==yt.children&&(n6=!0,Ue.data=yt.children),ji=y(Ue));break;case cv:gr!==8||kr?ji=Ot():ji=y(Ue);break;case VF:if(kr&&(Ue=y(Ue),gr=Ue.nodeType),gr===1||gr===3){ji=Ue;const us=!yt.children.length;for(let qt=0;qt<yt.staticCount;qt++)us&&(yt.children+=ji.nodeType===1?ji.outerHTML:ji.data),qt===yt.staticCount-1&&(yt.anchor=ji),ji=y(ji);return kr?y(ji):ji}else Ot();break;case Ly:kr?ji=$e(Ue,yt,ot,Ve,Ft,ir):ji=Ot();break;default:if(pr&1)gr!==1||yt.type.toLowerCase()!==Ue.tagName.toLowerCase()?ji=Ot():ji=te(Ue,yt,ot,Ve,Ft,ir);else if(pr&6){yt.slotScopeIds=Ft;const us=S(Ue);if(i(yt,us,null,ot,Ve,qG(us),ir),ji=kr?Qe(Ue):y(Ue),ji&&WG(ji)&&ji.data==="teleport end"&&(ji=y(ji)),i7(yt)){let qt;kr?(qt=id(Ly),qt.anchor=ji?ji.previousSibling:us.lastChild):qt=Ue.nodeType===3?xVe(""):id("div"),qt.el=Ue,yt.component.subTree=qt}}else pr&64?gr!==8?ji=Ot():ji=yt.type.hydrate(Ue,yt,ot,Ve,Ft,ir,o,Oe):pr&128&&(ji=yt.type.hydrate(Ue,yt,ot,Ve,qG(S(Ue)),Ft,ir,o,G))}return Wt!=null&&RX(Wt,null,Ve,yt),ji},te=(Ue,yt,ot,Ve,Ft,ir)=>{ir=ir||!!yt.dynamicChildren;const{type:kr,props:Ot,patchFlag:kt,shapeFlag:Wt,dirs:pr}=yt,Sn=kr==="input"&&pr||kr==="option";if(Sn||kt!==-1){if(pr&&ix(yt,null,ot,"created"),Ot)if(Sn||!ir||kt&48)for(const ji in Ot)(Sn&&ji.endsWith("value")||HR(ji)&&!jF(ji))&&u(Ue,ji,null,Ot[ji],!1,void 0,ot);else Ot.onClick&&u(Ue,"onClick",null,Ot.onClick,!1,void 0,ot);let gr;if((gr=Ot&&Ot.onVnodeBeforeMount)&&Db(gr,ot,yt),pr&&ix(yt,null,ot,"beforeMount"),((gr=Ot&&Ot.onVnodeMounted)||pr)&&Qze(()=>{gr&&Db(gr,ot,yt),pr&&ix(yt,null,ot,"mounted")},Ve),Wt&16&&!(Ot&&(Ot.innerHTML||Ot.textContent))){let ji=Oe(Ue.firstChild,yt,Ue,ot,Ve,Ft,ir);for(;ji;){n6=!0;const us=ji;ji=ji.nextSibling,A(us)}}else Wt&8&&Ue.textContent!==yt.children&&(n6=!0,Ue.textContent=yt.children)}return Ue.nextSibling},Oe=(Ue,yt,ot,Ve,Ft,ir,kr)=>{kr=kr||!!yt.dynamicChildren;const Ot=yt.children,kt=Ot.length;for(let Wt=0;Wt<kt;Wt++){const pr=kr?Ot[Wt]:Ot[Wt]=aT(Ot[Wt]);if(Ue)Ue=G(Ue,pr,Ve,Ft,ir,kr);else{if(pr.type===d7&&!pr.children)continue;n6=!0,a(null,pr,ot,null,Ve,Ft,qG(ot),ir)}}return Ue},$e=(Ue,yt,ot,Ve,Ft,ir)=>{const{slotScopeIds:kr}=yt;kr&&(Ft=Ft?Ft.concat(kr):kr);const Ot=S(Ue),kt=Oe(y(Ue),yt,Ot,ot,Ve,Ft,ir);return kt&&WG(kt)&&kt.data==="]"?y(yt.anchor=kt):(n6=!0,N(yt.anchor=j("]"),Ot,kt),kt)},Be=(Ue,yt,ot,Ve,Ft,ir)=>{if(n6=!0,yt.el=null,ir){const kt=Qe(Ue);for(;;){const Wt=y(Ue);if(Wt&&Wt!==kt)A(Wt);else break}}const kr=y(Ue),Ot=S(Ue);return A(Ue),a(null,yt,Ot,kr,ot,Ve,qG(Ot),Ft),kr},Qe=Ue=>{let yt=0;for(;Ue;)if(Ue=y(Ue),Ue&&WG(Ue)&&(Ue.data==="["&&yt++,Ue.data==="]")){if(yt===0)return y(Ue);yt--}return Ue};return[z,G]}const j0=Qze;function _4t(o){return hVe(o)}function p4t(o){return hVe(o,f4t)}function hVe(o,i){const a=hge();a.__VUE__=!0;const{insert:u,remove:p,patchProp:y,createElement:S,createText:A,createComment:N,setText:j,setElementText:z,parentNode:G,nextSibling:te,setScopeId:Oe=uT,insertStaticContent:$e}=o,Be=(sr,Ne,Mr,wr=null,Ii=null,Wi=null,Hs=!1,ps=null,Ds=!!Ne.dynamicChildren)=>{if(sr===Ne)return;sr&&!v3(sr,Ne)&&(wr=cr(sr),yr(sr,Ii,Wi,!0),sr=null),Ne.patchFlag===-2&&(Ds=!1,Ne.dynamicChildren=null);const{type:es,ref:ao,shapeFlag:ha}=Ne;switch(es){case d7:Qe(sr,Ne,Mr,wr);break;case cv:Ue(sr,Ne,Mr,wr);break;case VF:sr==null&&yt(Ne,Mr,wr,Hs);break;case Ly:Sn(sr,Ne,Mr,wr,Ii,Wi,Hs,ps,Ds);break;default:ha&1?Ft(sr,Ne,Mr,wr,Ii,Wi,Hs,ps,Ds):ha&6?gr(sr,Ne,Mr,wr,Ii,Wi,Hs,ps,Ds):(ha&64||ha&128)&&es.process(sr,Ne,Mr,wr,Ii,Wi,Hs,ps,Ds,li)}ao!=null&&Ii&&RX(ao,sr&&sr.ref,Wi,Ne||sr,!Ne)},Qe=(sr,Ne,Mr,wr)=>{if(sr==null)u(Ne.el=A(Ne.children),Mr,wr);else{const Ii=Ne.el=sr.el;Ne.children!==sr.children&&j(Ii,Ne.children)}},Ue=(sr,Ne,Mr,wr)=>{sr==null?u(Ne.el=N(Ne.children||""),Mr,wr):Ne.el=sr.el},yt=(sr,Ne,Mr,wr)=>{[sr.el,sr.anchor]=$e(sr.children,Ne,Mr,wr,sr.el,sr.anchor)},ot=({el:sr,anchor:Ne},Mr,wr)=>{let Ii;for(;sr&&sr!==Ne;)Ii=te(sr),u(sr,Mr,wr),sr=Ii;u(Ne,Mr,wr)},Ve=({el:sr,anchor:Ne})=>{let Mr;for(;sr&&sr!==Ne;)Mr=te(sr),p(sr),sr=Mr;p(Ne)},Ft=(sr,Ne,Mr,wr,Ii,Wi,Hs,ps,Ds)=>{Hs=Hs||Ne.type==="svg",sr==null?ir(Ne,Mr,wr,Ii,Wi,Hs,ps,Ds):kt(sr,Ne,Ii,Wi,Hs,ps,Ds)},ir=(sr,Ne,Mr,wr,Ii,Wi,Hs,ps)=>{let Ds,es;const{type:ao,props:ha,shapeFlag:mo,transition:tc,dirs:Zc}=sr;if(Ds=sr.el=S(sr.type,Wi,ha&&ha.is,ha),mo&8?z(Ds,sr.children):mo&16&&Ot(sr.children,Ds,null,wr,Ii,Wi&&ao!=="foreignObject",Hs,ps),Zc&&ix(sr,null,wr,"created"),kr(Ds,sr,sr.scopeId,Hs,wr),ha){for(const Ql in ha)Ql!=="value"&&!jF(Ql)&&y(Ds,Ql,null,ha[Ql],Wi,sr.children,wr,Ii,zi);"value"in ha&&y(Ds,"value",null,ha.value),(es=ha.onVnodeBeforeMount)&&Db(es,wr,sr)}Zc&&ix(sr,null,wr,"beforeMount");const Oc=(!Ii||Ii&&!Ii.pendingBranch)&&tc&&!tc.persisted;Oc&&tc.beforeEnter(Ds),u(Ds,Ne,Mr),((es=ha&&ha.onVnodeMounted)||Oc||Zc)&&j0(()=>{es&&Db(es,wr,sr),Oc&&tc.enter(Ds),Zc&&ix(sr,null,wr,"mounted")},Ii)},kr=(sr,Ne,Mr,wr,Ii)=>{if(Mr&&Oe(sr,Mr),wr)for(let Wi=0;Wi<wr.length;Wi++)Oe(sr,wr[Wi]);if(Ii){let Wi=Ii.subTree;if(Ne===Wi){const Hs=Ii.vnode;kr(sr,Hs,Hs.scopeId,Hs.slotScopeIds,Ii.parent)}}},Ot=(sr,Ne,Mr,wr,Ii,Wi,Hs,ps,Ds=0)=>{for(let es=Ds;es<sr.length;es++){const ao=sr[es]=ps?_6(sr[es]):aT(sr[es]);Be(null,ao,Ne,Mr,wr,Ii,Wi,Hs,ps)}},kt=(sr,Ne,Mr,wr,Ii,Wi,Hs)=>{const ps=Ne.el=sr.el;let{patchFlag:Ds,dynamicChildren:es,dirs:ao}=Ne;Ds|=sr.patchFlag&16;const ha=sr.props||Y_,mo=Ne.props||Y_;let tc;Mr&&_3(Mr,!1),(tc=mo.onVnodeBeforeUpdate)&&Db(tc,Mr,Ne,sr),ao&&ix(Ne,sr,Mr,"beforeUpdate"),Mr&&_3(Mr,!0);const Zc=Ii&&Ne.type!=="foreignObject";if(es?Wt(sr.dynamicChildren,es,ps,Mr,wr,Zc,Wi):Hs||$s(sr,Ne,ps,null,Mr,wr,Zc,Wi,!1),Ds>0){if(Ds&16)pr(ps,Ne,ha,mo,Mr,wr,Ii);else if(Ds&2&&ha.class!==mo.class&&y(ps,"class",null,mo.class,Ii),Ds&4&&y(ps,"style",ha.style,mo.style,Ii),Ds&8){const Oc=Ne.dynamicProps;for(let Ql=0;Ql<Oc.length;Ql++){const O_=Oc[Ql],zr=ha[O_],Vh=mo[O_];(Vh!==zr||O_==="value")&&y(ps,O_,zr,Vh,Ii,sr.children,Mr,wr,zi)}}Ds&1&&sr.children!==Ne.children&&z(ps,Ne.children)}else!Hs&&es==null&&pr(ps,Ne,ha,mo,Mr,wr,Ii);((tc=mo.onVnodeUpdated)||ao)&&j0(()=>{tc&&Db(tc,Mr,Ne,sr),ao&&ix(Ne,sr,Mr,"updated")},wr)},Wt=(sr,Ne,Mr,wr,Ii,Wi,Hs)=>{for(let ps=0;ps<Ne.length;ps++){const Ds=sr[ps],es=Ne[ps],ao=Ds.el&&(Ds.type===Ly||!v3(Ds,es)||Ds.shapeFlag&70)?G(Ds.el):Mr;Be(Ds,es,ao,null,wr,Ii,Wi,Hs,!0)}},pr=(sr,Ne,Mr,wr,Ii,Wi,Hs)=>{if(Mr!==wr){if(Mr!==Y_)for(const ps in Mr)!jF(ps)&&!(ps in wr)&&y(sr,ps,Mr[ps],null,Hs,Ne.children,Ii,Wi,zi);for(const ps in wr){if(jF(ps))continue;const Ds=wr[ps],es=Mr[ps];Ds!==es&&ps!=="value"&&y(sr,ps,es,Ds,Hs,Ne.children,Ii,Wi,zi)}"value"in wr&&y(sr,"value",Mr.value,wr.value)}},Sn=(sr,Ne,Mr,wr,Ii,Wi,Hs,ps,Ds)=>{const es=Ne.el=sr?sr.el:A(""),ao=Ne.anchor=sr?sr.anchor:A("");let{patchFlag:ha,dynamicChildren:mo,slotScopeIds:tc}=Ne;tc&&(ps=ps?ps.concat(tc):tc),sr==null?(u(es,Mr,wr),u(ao,Mr,wr),Ot(Ne.children,Mr,ao,Ii,Wi,Hs,ps,Ds)):ha>0&&ha&64&&mo&&sr.dynamicChildren?(Wt(sr.dynamicChildren,mo,Mr,Ii,Wi,Hs,ps),(Ne.key!=null||Ii&&Ne===Ii.subTree)&&e0e(sr,Ne,!0)):$s(sr,Ne,Mr,ao,Ii,Wi,Hs,ps,Ds)},gr=(sr,Ne,Mr,wr,Ii,Wi,Hs,ps,Ds)=>{Ne.slotScopeIds=ps,sr==null?Ne.shapeFlag&512?Ii.ctx.activate(Ne,Mr,wr,Hs,Ds):ji(Ne,Mr,wr,Ii,Wi,Hs,Ds):us(sr,Ne,Ds)},ji=(sr,Ne,Mr,wr,Ii,Wi,Hs)=>{const ps=sr.component=k4t(sr,wr,Ii);if(QR(sr)&&(ps.ctx.renderer=li),C4t(ps),ps.asyncDep){if(Ii&&Ii.registerDep(ps,qt),!sr.el){const Ds=ps.subTree=id(cv);Ue(null,Ds,Ne,Mr)}return}qt(ps,sr,Ne,Mr,Ii,Wi,Hs)},us=(sr,Ne,Mr)=>{const wr=Ne.component=sr.component;if(F6t(sr,Ne,Mr))if(wr.asyncDep&&!wr.asyncResolved){qa(wr,Ne,Mr);return}else wr.next=Ne,P6t(wr.update),wr.update();else Ne.el=sr.el,wr.vnode=Ne},qt=(sr,Ne,Mr,wr,Ii,Wi,Hs)=>{const ps=()=>{if(sr.isMounted){let{next:ao,bu:ha,u:mo,parent:tc,vnode:Zc}=sr,Oc=ao,Ql;_3(sr,!1),ao?(ao.el=Zc.el,qa(sr,ao,Hs)):ao=Zc,ha&&_X(ha),(Ql=ao.props&&ao.props.onVnodeBeforeUpdate)&&Db(Ql,tc,ao,Zc),_3(sr,!0);const O_=Ahe(sr),zr=sr.subTree;sr.subTree=O_,Be(zr,O_,G(zr.el),cr(zr),sr,Ii,Wi),ao.el=O_.el,Oc===null&&R6t(sr,O_.el),mo&&j0(mo,Ii),(Ql=ao.props&&ao.props.onVnodeUpdated)&&j0(()=>Db(Ql,tc,ao,Zc),Ii)}else{let ao;const{el:ha,props:mo}=Ne,{bm:tc,m:Zc,parent:Oc}=sr,Ql=i7(Ne);if(_3(sr,!1),tc&&_X(tc),!Ql&&(ao=mo&&mo.onVnodeBeforeMount)&&Db(ao,Oc,Ne),_3(sr,!0),ha&&na){const O_=()=>{sr.subTree=Ahe(sr),na(ha,sr.subTree,sr,Ii,null)};Ql?Ne.type.__asyncLoader().then(()=>!sr.isUnmounted&&O_()):O_()}else{const O_=sr.subTree=Ahe(sr);Be(null,O_,Mr,wr,sr,Ii,Wi),Ne.el=O_.el}if(Zc&&j0(Zc,Ii),!Ql&&(ao=mo&&mo.onVnodeMounted)){const O_=Ne;j0(()=>Db(ao,Oc,O_),Ii)}(Ne.shapeFlag&256||Oc&&i7(Oc.vnode)&&Oc.vnode.shapeFlag&256)&&sr.a&&j0(sr.a,Ii),sr.isMounted=!0,Ne=Mr=wr=null}},Ds=sr.effect=new Jye(ps,()=>MQ(es),sr.scope),es=sr.update=()=>Ds.run();es.id=sr.uid,_3(sr,!0),es()},qa=(sr,Ne,Mr)=>{Ne.component=sr;const wr=sr.vnode.props;sr.vnode=Ne,sr.next=null,o4t(sr,Ne.props,wr,Mr),u4t(sr,Ne.children,Mr),B7(),nje(),j7()},$s=(sr,Ne,Mr,wr,Ii,Wi,Hs,ps,Ds=!1)=>{const es=sr&&sr.children,ao=sr?sr.shapeFlag:0,ha=Ne.children,{patchFlag:mo,shapeFlag:tc}=Ne;if(mo>0){if(mo&128){ln(es,ha,Mr,wr,Ii,Wi,Hs,ps,Ds);return}else if(mo&256){$n(es,ha,Mr,wr,Ii,Wi,Hs,ps,Ds);return}}tc&8?(ao&16&&zi(es,Ii,Wi),ha!==es&&z(Mr,ha)):ao&16?tc&16?ln(es,ha,Mr,wr,Ii,Wi,Hs,ps,Ds):zi(es,Ii,Wi,!0):(ao&8&&z(Mr,""),tc&16&&Ot(ha,Mr,wr,Ii,Wi,Hs,ps,Ds))},$n=(sr,Ne,Mr,wr,Ii,Wi,Hs,ps,Ds)=>{sr=sr||e7,Ne=Ne||e7;const es=sr.length,ao=Ne.length,ha=Math.min(es,ao);let mo;for(mo=0;mo<ha;mo++){const tc=Ne[mo]=Ds?_6(Ne[mo]):aT(Ne[mo]);Be(sr[mo],tc,Mr,null,Ii,Wi,Hs,ps,Ds)}es>ao?zi(sr,Ii,Wi,!0,!1,ha):Ot(Ne,Mr,wr,Ii,Wi,Hs,ps,Ds,ha)},ln=(sr,Ne,Mr,wr,Ii,Wi,Hs,ps,Ds)=>{let es=0;const ao=Ne.length;let ha=sr.length-1,mo=ao-1;for(;es<=ha&&es<=mo;){const tc=sr[es],Zc=Ne[es]=Ds?_6(Ne[es]):aT(Ne[es]);if(v3(tc,Zc))Be(tc,Zc,Mr,null,Ii,Wi,Hs,ps,Ds);else break;es++}for(;es<=ha&&es<=mo;){const tc=sr[ha],Zc=Ne[mo]=Ds?_6(Ne[mo]):aT(Ne[mo]);if(v3(tc,Zc))Be(tc,Zc,Mr,null,Ii,Wi,Hs,ps,Ds);else break;ha--,mo--}if(es>ha){if(es<=mo){const tc=mo+1,Zc=tc<ao?Ne[tc].el:wr;for(;es<=mo;)Be(null,Ne[es]=Ds?_6(Ne[es]):aT(Ne[es]),Mr,Zc,Ii,Wi,Hs,ps,Ds),es++}}else if(es>mo)for(;es<=ha;)yr(sr[es],Ii,Wi,!0),es++;else{const tc=es,Zc=es,Oc=new Map;for(es=Zc;es<=mo;es++){const n_=Ne[es]=Ds?_6(Ne[es]):aT(Ne[es]);n_.key!=null&&Oc.set(n_.key,es)}let Ql,O_=0;const zr=mo-Zc+1;let Vh=!1,Q3=0;const Pi=new Array(zr);for(es=0;es<zr;es++)Pi[es]=0;for(es=tc;es<=ha;es++){const n_=sr[es];if(O_>=zr){yr(n_,Ii,Wi,!0);continue}let H0;if(n_.key!=null)H0=Oc.get(n_.key);else for(Ql=Zc;Ql<=mo;Ql++)if(Pi[Ql-Zc]===0&&v3(n_,Ne[Ql])){H0=Ql;break}H0===void 0?yr(n_,Ii,Wi,!0):(Pi[H0-Zc]=es+1,H0>=Q3?Q3=H0:Vh=!0,Be(n_,Ne[H0],Mr,null,Ii,Wi,Hs,ps,Ds),O_++)}const Sp=Vh?d4t(Pi):e7;for(Ql=Sp.length-1,es=zr-1;es>=0;es--){const n_=Zc+es,H0=Ne[n_],gx=n_+1<ao?Ne[n_+1].el:wr;Pi[es]===0?Be(null,H0,Mr,gx,Ii,Wi,Hs,ps,Ds):Vh&&(Ql<0||es!==Sp[Ql]?yn(H0,Mr,gx,2):Ql--)}}},yn=(sr,Ne,Mr,wr,Ii=null)=>{const{el:Wi,type:Hs,transition:ps,children:Ds,shapeFlag:es}=sr;if(es&6){yn(sr.component.subTree,Ne,Mr,wr);return}if(es&128){sr.suspense.move(Ne,Mr,wr);return}if(es&64){Hs.move(sr,Ne,Mr,li);return}if(Hs===Ly){u(Wi,Ne,Mr);for(let ha=0;ha<Ds.length;ha++)yn(Ds[ha],Ne,Mr,wr);u(sr.anchor,Ne,Mr);return}if(Hs===VF){ot(sr,Ne,Mr);return}if(wr!==2&&es&1&&ps)if(wr===0)ps.beforeEnter(Wi),u(Wi,Ne,Mr),j0(()=>ps.enter(Wi),Ii);else{const{leave:ha,delayLeave:mo,afterLeave:tc}=ps,Zc=()=>u(Wi,Ne,Mr),Oc=()=>{ha(Wi,()=>{Zc(),tc&&tc()})};mo?mo(Wi,Zc,Oc):Oc()}else u(Wi,Ne,Mr)},yr=(sr,Ne,Mr,wr=!1,Ii=!1)=>{const{type:Wi,props:Hs,ref:ps,children:Ds,dynamicChildren:es,shapeFlag:ao,patchFlag:ha,dirs:mo}=sr;if(ps!=null&&RX(ps,null,Mr,sr,!0),ao&256){Ne.ctx.deactivate(sr);return}const tc=ao&1&&mo,Zc=!i7(sr);let Oc;if(Zc&&(Oc=Hs&&Hs.onVnodeBeforeUnmount)&&Db(Oc,Ne,sr),ao&6)lr(sr.component,Mr,wr);else{if(ao&128){sr.suspense.unmount(Mr,wr);return}tc&&ix(sr,null,Ne,"beforeUnmount"),ao&64?sr.type.remove(sr,Ne,Mr,Ii,li,wr):es&&(Wi!==Ly||ha>0&&ha&64)?zi(es,Ne,Mr,!1,!0):(Wi===Ly&&ha&384||!Ii&&ao&16)&&zi(Ds,Ne,Mr),wr&&Dn(sr)}(Zc&&(Oc=Hs&&Hs.onVnodeUnmounted)||tc)&&j0(()=>{Oc&&Db(Oc,Ne,sr),tc&&ix(sr,null,Ne,"unmounted")},Mr)},Dn=sr=>{const{type:Ne,el:Mr,anchor:wr,transition:Ii}=sr;if(Ne===Ly){Ir(Mr,wr);return}if(Ne===VF){Ve(sr);return}const Wi=()=>{p(Mr),Ii&&!Ii.persisted&&Ii.afterLeave&&Ii.afterLeave()};if(sr.shapeFlag&1&&Ii&&!Ii.persisted){const{leave:Hs,delayLeave:ps}=Ii,Ds=()=>Hs(Mr,Wi);ps?ps(sr.el,Wi,Ds):Ds()}else Wi()},Ir=(sr,Ne)=>{let Mr;for(;sr!==Ne;)Mr=te(sr),p(sr),sr=Mr;p(Ne)},lr=(sr,Ne,Mr)=>{const{bum:wr,scope:Ii,update:Wi,subTree:Hs,um:ps}=sr;wr&&_X(wr),Ii.stop(),Wi&&(Wi.active=!1,yr(Hs,sr,Ne,Mr)),ps&&j0(ps,Ne),j0(()=>{sr.isUnmounted=!0},Ne),Ne&&Ne.pendingBranch&&!Ne.isUnmounted&&sr.asyncDep&&!sr.asyncResolved&&sr.suspenseId===Ne.pendingId&&(Ne.deps--,Ne.deps===0&&Ne.resolve())},zi=(sr,Ne,Mr,wr=!1,Ii=!1,Wi=0)=>{for(let Hs=Wi;Hs<sr.length;Hs++)yr(sr[Hs],Ne,Mr,wr,Ii)},cr=sr=>sr.shapeFlag&6?cr(sr.component.subTree):sr.shapeFlag&128?sr.suspense.next():te(sr.anchor||sr.el),ni=(sr,Ne,Mr)=>{sr==null?Ne._vnode&&yr(Ne._vnode,null,null,!0):Be(Ne._vnode||null,sr,Ne,null,null,null,Mr),nje(),OX(),Ne._vnode=sr},li={p:Be,um:yr,m:yn,r:Dn,mt:ji,mc:Ot,pc:$s,pbc:Wt,n:cr,o};let gs,na;return i&&([gs,na]=i(li)),{render:ni,hydrate:gs,createApp:s4t(ni,gs)}}function _3({effect:o,update:i},a){o.allowRecurse=i.allowRecurse=a}function e0e(o,i,a=!1){const u=o.children,p=i.children;if(Qo(u)&&Qo(p))for(let y=0;y<u.length;y++){const S=u[y];let A=p[y];A.shapeFlag&1&&!A.dynamicChildren&&((A.patchFlag<=0||A.patchFlag===32)&&(A=p[y]=_6(p[y]),A.el=S.el),a||e0e(S,A)),A.type===d7&&(A.el=S.el)}}function d4t(o){const i=o.slice(),a=[0];let u,p,y,S,A;const N=o.length;for(u=0;u<N;u++){const j=o[u];if(j!==0){if(p=a[a.length-1],o[p]<j){i[u]=p,a.push(u);continue}for(y=0,S=a.length-1;y<S;)A=y+S>>1,o[a[A]]<j?y=A+1:S=A;j<o[a[y]]&&(y>0&&(i[u]=a[y-1]),a[y]=u)}}for(y=a.length,S=a[y-1];y-- >0;)a[y]=S,S=i[S];return a}const m4t=o=>o.__isTeleport,zF=o=>o&&(o.disabled||o.disabled===""),mje=o=>typeof SVGElement<"u"&&o instanceof SVGElement,Cge=(o,i)=>{const a=o&&o.to;return qp(a)?i?i(a):null:a},h4t={__isTeleport:!0,process(o,i,a,u,p,y,S,A,N,j){const{mc:z,pc:G,pbc:te,o:{insert:Oe,querySelector:$e,createText:Be,createComment:Qe}}=j,Ue=zF(i.props);let{shapeFlag:yt,children:ot,dynamicChildren:Ve}=i;if(o==null){const Ft=i.el=Be(""),ir=i.anchor=Be("");Oe(Ft,a,u),Oe(ir,a,u);const kr=i.target=Cge(i.props,$e),Ot=i.targetAnchor=Be("");kr&&(Oe(Ot,kr),S=S||mje(kr));const kt=(Wt,pr)=>{yt&16&&z(ot,Wt,pr,p,y,S,A,N)};Ue?kt(a,ir):kr&&kt(kr,Ot)}else{i.el=o.el;const Ft=i.anchor=o.anchor,ir=i.target=o.target,kr=i.targetAnchor=o.targetAnchor,Ot=zF(o.props),kt=Ot?a:ir,Wt=Ot?Ft:kr;if(S=S||mje(ir),Ve?(te(o.dynamicChildren,Ve,kt,p,y,S,A),e0e(o,i,!0)):N||G(o,i,kt,Wt,p,y,S,A,!1),Ue)Ot||HG(i,a,Ft,j,1);else if((i.props&&i.props.to)!==(o.props&&o.props.to)){const pr=i.target=Cge(i.props,$e);pr&&HG(i,pr,null,j,0)}else Ot&&HG(i,ir,kr,j,1)}gVe(i)},remove(o,i,a,u,{um:p,o:{remove:y}},S){const{shapeFlag:A,children:N,anchor:j,targetAnchor:z,target:G,props:te}=o;if(G&&y(z),(S||!zF(te))&&(y(j),A&16))for(let Oe=0;Oe<N.length;Oe++){const $e=N[Oe];p($e,i,a,!0,!!$e.dynamicChildren)}},move:HG,hydrate:g4t};function HG(o,i,a,{o:{insert:u},m:p},y=2){y===0&&u(o.targetAnchor,i,a);const{el:S,anchor:A,shapeFlag:N,children:j,props:z}=o,G=y===2;if(G&&u(S,i,a),(!G||zF(z))&&N&16)for(let te=0;te<j.length;te++)p(j[te],i,a,2);G&&u(A,i,a)}function g4t(o,i,a,u,p,y,{o:{nextSibling:S,parentNode:A,querySelector:N}},j){const z=i.target=Cge(i.props,N);if(z){const G=z._lpa||z.firstChild;if(i.shapeFlag&16)if(zF(i.props))i.anchor=j(S(o),i,A(o),a,u,p,y),i.targetAnchor=G;else{i.anchor=S(o);let te=G;for(;te;)if(te=S(te),te&&te.nodeType===8&&te.data==="teleport anchor"){i.targetAnchor=te,z._lpa=i.targetAnchor&&S(i.targetAnchor);break}j(G,i,z,a,u,p,y)}gVe(i)}return i.anchor&&S(i.anchor)}const KBt=h4t;function gVe(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 Ly=Symbol.for("v-fgt"),d7=Symbol.for("v-txt"),cv=Symbol.for("v-cmt"),VF=Symbol.for("v-stc"),$F=[];let cT=null;function yVe(o=!1){$F.push(cT=o?null:[])}function y4t(){$F.pop(),cT=$F[$F.length-1]||null}let _R=1;function hje(o){_R+=o}function vVe(o){return o.dynamicChildren=_R>0?cT||e7:null,y4t(),_R>0&&cT&&cT.push(o),o}function ejt(o,i,a,u,p,y){return vVe(SVe(o,i,a,u,p,y,!0))}function bVe(o,i,a,u,p){return vVe(id(o,i,a,u,p,!0))}function BX(o){return o?o.__v_isVNode===!0:!1}function v3(o,i){return o.type===i.type&&o.key===i.key}const JQ="__vInternal",TVe=({key:o})=>o??null,mX=({ref:o,ref_key:i,ref_for:a})=>(typeof o=="number"&&(o=""+o),o!=null?qp(o)||oh(o)||nl(o)?{i:Rh,r:o,k:i,f:!!a}:o:null);function SVe(o,i=null,a=null,u=0,p=null,y=o===Ly?0:1,S=!1,A=!1){const N={__v_isVNode:!0,__v_skip:!0,type:o,props:i,key:i&&TVe(i),ref:i&&mX(i),scopeId:RQ,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:Rh};return A?(t0e(N,a),y&128&&o.normalize(N)):a&&(N.shapeFlag|=qp(a)?8:16),_R>0&&!S&&cT&&(N.patchFlag>0||y&6)&&N.patchFlag!==32&&cT.push(N),N}const id=v4t;function v4t(o,i=null,a=null,u=0,p=null,y=!1){if((!o||o===aVe)&&(o=cv),BX(o)){const A=T6(o,i,!0);return a&&t0e(A,a),_R>0&&!y&&cT&&(A.shapeFlag&6?cT[cT.indexOf(o)]=A:cT.push(A)),A.patchFlag|=-2,A}if(P4t(o)&&(o=o.__vccOpts),i){i=b4t(i);let{class:A,style:N}=i;A&&!qp(A)&&(i.class=OQ(A)),r_(N)&&(jze(N)&&!Qo(N)&&(N=Ad({},N)),i.style=IQ(N))}const S=qp(o)?1:B6t(o)?128:m4t(o)?64:r_(o)?4:nl(o)?2:0;return SVe(o,i,a,u,p,S,y,!0)}function b4t(o){return o?jze(o)||JQ in o?Ad({},o):o:null}function T6(o,i,a=!1){const{props:u,ref:p,patchFlag:y,children:S}=o,A=i?T4t(u||{},i):u;return{__v_isVNode:!0,__v_skip:!0,type:o.type,props:A,key:A&&TVe(A),ref:i&&i.ref?a&&p?Qo(p)?p.concat(mX(i)):[p,mX(i)]:mX(i):p,scopeId:o.scopeId,slotScopeIds:o.slotScopeIds,children:S,target:o.target,targetAnchor:o.targetAnchor,staticCount:o.staticCount,shapeFlag:o.shapeFlag,patchFlag:i&&o.type!==Ly?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&&T6(o.ssContent),ssFallback:o.ssFallback&&T6(o.ssFallback),el:o.el,anchor:o.anchor,ctx:o.ctx,ce:o.ce}}function xVe(o=" ",i=0){return id(d7,null,o,i)}function tjt(o,i){const a=id(VF,null,o);return a.staticCount=i,a}function rjt(o="",i=!1){return i?(yVe(),bVe(cv,null,o)):id(cv,null,o)}function aT(o){return o==null||typeof o=="boolean"?id(cv):Qo(o)?id(Ly,null,o.slice()):typeof o=="object"?_6(o):id(d7,null,String(o))}function _6(o){return o.el===null&&o.patchFlag!==-1||o.memo?o:T6(o)}function t0e(o,i){let a=0;const{shapeFlag:u}=o;if(i==null)i=null;else if(Qo(i))a=16;else if(typeof i=="object")if(u&65){const p=i.default;p&&(p._c&&(p._d=!1),t0e(o,p()),p._c&&(p._d=!0));return}else{a=32;const p=i._;!p&&!(JQ in i)?i._ctx=Rh:p===3&&Rh&&(Rh.slots._===1?i._=1:(i._=2,o.patchFlag|=1024))}else nl(i)?(i={default:i,_ctx:Rh},a=32):(i=String(i),u&64?(a=16,i=[xVe(i)]):a=8);o.children=i,o.shapeFlag|=a}function T4t(...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=OQ([i.class,u.class]));else if(p==="style")i.style=IQ([i.style,u.style]);else if(HR(p)){const y=i[p],S=u[p];S&&y!==S&&!(Qo(y)&&y.includes(S))&&(i[p]=y?[].concat(y,S):S)}else p!==""&&(i[p]=u[p])}return i}function Db(o,i,a,u=null){Lb(o,i,7,[a,u])}const S4t=uVe();let x4t=0;function k4t(o,i,a){const u=o.type,p=(i?i.appContext:o.appContext)||S4t,y={uid:x4t++,vnode:o,type:u,parent:i,appContext:p,root:null,next:null,subTree:null,effect:null,update:null,scope:new Eze(!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:_Ve(u,p),emitsOptions:Xze(u,p),emit:null,emitted:null,propsDefaults:Y_,inheritAttrs:u.inheritAttrs,ctx:Y_,data:Y_,props:Y_,attrs:Y_,slots:Y_,refs:Y_,setupState:Y_,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=I6t.bind(null,y),o.ce&&o.ce(y),y}let km=null;const r0e=()=>km||Rh;let n0e,VN,gje="__VUE_INSTANCE_SETTERS__";(VN=hge()[gje])||(VN=hge()[gje]=[]),VN.push(o=>km=o),n0e=o=>{VN.length>1?VN.forEach(i=>i(o)):VN[0](o)};const m7=o=>{n0e(o),o.scope.on()},w3=()=>{km&&km.scope.off(),n0e(null)};function kVe(o){return o.vnode.shapeFlag&4}let h7=!1;function C4t(o,i=!1){h7=i;const{props:a,children:u}=o.vnode,p=kVe(o);a4t(o,a,p,i),l4t(o,u);const y=p?w4t(o,i):void 0;return h7=!1,y}function w4t(o,i){const a=o.type;o.accessCache=Object.create(null),o.proxy=Jze(new Proxy(o.ctx,Z6t));const{setup:u}=a;if(u){const p=o.setupContext=u.length>1?wVe(o):null;m7(o),B7();const y=g6(u,o,0,[o.props,p]);if(j7(),w3(),Tze(y)){if(y.then(w3,w3),i)return y.then(S=>{yje(o,S,i)}).catch(S=>{XR(S,o,0)});o.asyncDep=y}else yje(o,y,i)}else CVe(o,i)}function yje(o,i,a){nl(i)?o.type.__ssrInlineRender?o.ssrRender=i:o.render=i:r_(i)&&(o.setupState=Vze(i)),CVe(o,a)}let vje;function CVe(o,i,a){const u=o.type;if(!o.render){if(!i&&vje&&!u.render){const p=u.template||Zye(o).template;if(p){const{isCustomElement:y,compilerOptions:S}=o.appContext.config,{delimiters:A,compilerOptions:N}=u,j=Ad(Ad({isCustomElement:y,delimiters:A},S),N);u.render=vje(p,j)}}o.render=u.render||uT}m7(o),B7(),K6t(o),j7(),w3()}function E4t(o){return o.attrsProxy||(o.attrsProxy=new Proxy(o.attrs,{get(i,a){return q0(o,"get","$attrs"),i[a]}}))}function wVe(o){const i=a=>{o.exposed=a||{}};return{get attrs(){return E4t(o)},slots:o.slots,emit:o.emit,expose:i}}function UQ(o){if(o.exposed)return o.exposeProxy||(o.exposeProxy=new Proxy(Vze(Jze(o.exposed)),{get(i,a){if(a in i)return i[a];if(a in UF)return UF[a](o)},has(i,a){return a in i||a in UF}}))}function A4t(o,i=!0){return nl(o)?o.displayName||o.name:o.name||i&&o.__name}function P4t(o){return nl(o)&&"__vccOpts"in o}const ah=(o,i)=>w6t(o,i,h7);function zQ(o,i,a){const u=arguments.length;return u===2?r_(i)&&!Qo(i)?BX(i)?id(o,null,[i]):id(o,i):id(o,null,i):(u>3?a=Array.prototype.slice.call(arguments,2):u===3&&BX(a)&&(a=[a]),id(o,i,a))}const D4t=Symbol.for("v-scx"),N4t=()=>By(D4t),I4t="3.3.4",O4t="http://www.w3.org/2000/svg",b3=typeof document<"u"?document:null,bje=b3&&b3.createElement("template"),L4t={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?b3.createElementNS(O4t,o):b3.createElement(o,a?{is:a}:void 0);return o==="select"&&u&&u.multiple!=null&&p.setAttribute("multiple",u.multiple),p},createText:o=>b3.createTextNode(o),createComment:o=>b3.createComment(o),setText:(o,i)=>{o.nodeValue=i},setElementText:(o,i)=>{o.textContent=i},parentNode:o=>o.parentNode,nextSibling:o=>o.nextSibling,querySelector:o=>b3.querySelector(o),setScopeId(o,i){o.setAttribute(i,"")},insertStaticContent(o,i,a,u,p,y){const S=a?a.previousSibling:i.lastChild;if(p&&(p===y||p.nextSibling))for(;i.insertBefore(p.cloneNode(!0),a),!(p===y||!(p=p.nextSibling)););else{bje.innerHTML=u?`<svg>${o}</svg>`:o;const A=bje.content;if(u){const N=A.firstChild;for(;N.firstChild;)A.appendChild(N.firstChild);A.removeChild(N)}i.insertBefore(A,a)}return[S?S.nextSibling:i.firstChild,a?a.previousSibling:i.lastChild]}};function M4t(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 F4t(o,i,a){const u=o.style,p=qp(a);if(a&&!p){if(i&&!qp(i))for(const y in i)a[y]==null&&wge(u,y,"");for(const y in a)wge(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 Tje=/\s*!important$/;function wge(o,i,a){if(Qo(a))a.forEach(u=>wge(o,i,u));else if(a==null&&(a=""),i.startsWith("--"))o.setProperty(i,a);else{const u=R4t(o,i);Tje.test(a)?o.setProperty($3(u),a.replace(Tje,""),"important"):o[u]=a}}const Sje=["Webkit","Moz","ms"],Ihe={};function R4t(o,i){const a=Ihe[i];if(a)return a;let u=px(i);if(u!=="filter"&&u in o)return Ihe[i]=u;u=NQ(u);for(let p=0;p<Sje.length;p++){const y=Sje[p]+u;if(y in o)return Ihe[i]=y}return i}const xje="http://www.w3.org/1999/xlink";function B4t(o,i,a,u,p){if(u&&i.startsWith("xlink:"))a==null?o.removeAttributeNS(xje,i.slice(6,i.length)):o.setAttributeNS(xje,i,a);else{const y=zEt(i);a==null||y&&!kze(a)?o.removeAttribute(i):o.setAttribute(i,y?"":a)}}function j4t(o,i,a,u,p,y,S){if(i==="innerHTML"||i==="textContent"){u&&S(u,p,y),o[i]=a??"";return}const A=o.tagName;if(i==="value"&&A!=="PROGRESS"&&!A.includes("-")){o._value=a;const j=A==="OPTION"?o.getAttribute("value"):o.value,z=a??"";j!==z&&(o.value=z),a==null&&o.removeAttribute(i);return}let N=!1;if(a===""||a==null){const j=typeof o[i];j==="boolean"?a=kze(a):a==null&&j==="string"?(a="",N=!0):j==="number"&&(a=0,N=!0)}try{o[i]=a}catch{}N&&o.removeAttribute(i)}function d6(o,i,a,u){o.addEventListener(i,a,u)}function J4t(o,i,a,u){o.removeEventListener(i,a,u)}function U4t(o,i,a,u,p=null){const y=o._vei||(o._vei={}),S=y[i];if(u&&S)S.value=u;else{const[A,N]=z4t(i);if(u){const j=y[i]=q4t(u,p);d6(o,A,j,N)}else S&&(J4t(o,A,S,N),y[i]=void 0)}}const kje=/(?:Once|Passive|Capture)$/;function z4t(o){let i;if(kje.test(o)){i={};let u;for(;u=o.match(kje);)o=o.slice(0,o.length-u[0].length),i[u[0].toLowerCase()]=!0}return[o[2]===":"?o.slice(3):$3(o.slice(2)),i]}let Ohe=0;const V4t=Promise.resolve(),$4t=()=>Ohe||(V4t.then(()=>Ohe=0),Ohe=Date.now());function q4t(o,i){const a=u=>{if(!u._vts)u._vts=Date.now();else if(u._vts<=a.attached)return;Lb(W4t(u,a.value),i,5,[u])};return a.value=o,a.attached=$4t(),a}function W4t(o,i){if(Qo(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 Cje=/^on[a-z]/,H4t=(o,i,a,u,p=!1,y,S,A,N)=>{i==="class"?M4t(o,u,p):i==="style"?F4t(o,a,u):HR(i)?Fye(i)||U4t(o,i,a,u,S):(i[0]==="."?(i=i.slice(1),!0):i[0]==="^"?(i=i.slice(1),!1):G4t(o,i,u,p))?j4t(o,i,u,y,S,A,N):(i==="true-value"?o._trueValue=u:i==="false-value"&&(o._falseValue=u),B4t(o,i,u,p))};function G4t(o,i,a,u){return u?!!(i==="innerHTML"||i==="textContent"||i in o&&Cje.test(i)&&nl(a)):i==="spellcheck"||i==="draggable"||i==="translate"||i==="form"||i==="list"&&o.tagName==="INPUT"||i==="type"&&o.tagName==="TEXTAREA"||Cje.test(i)&&qp(a)?!1:i in o}const i6="transition",yF="animation",EVe=(o,{slots:i})=>zQ(U6t,PVe(o),i);EVe.displayName="Transition";const AVe={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},X4t=EVe.props=Ad({},Kze,AVe),p3=(o,i=[])=>{Qo(o)?o.forEach(a=>a(...i)):o&&o(...i)},wje=o=>o?Qo(o)?o.some(i=>i.length>1):o.length>1:!1;function PVe(o){const i={};for(const Sn in o)Sn in AVe||(i[Sn]=o[Sn]);if(o.css===!1)return i;const{name:a="v",type:u,duration:p,enterFromClass:y=`${a}-enter-from`,enterActiveClass:S=`${a}-enter-active`,enterToClass:A=`${a}-enter-to`,appearFromClass:N=y,appearActiveClass:j=S,appearToClass:z=A,leaveFromClass:G=`${a}-leave-from`,leaveActiveClass:te=`${a}-leave-active`,leaveToClass:Oe=`${a}-leave-to`}=o,$e=Q4t(p),Be=$e&&$e[0],Qe=$e&&$e[1],{onBeforeEnter:Ue,onEnter:yt,onEnterCancelled:ot,onLeave:Ve,onLeaveCancelled:Ft,onBeforeAppear:ir=Ue,onAppear:kr=yt,onAppearCancelled:Ot=ot}=i,kt=(Sn,gr,ji)=>{c6(Sn,gr?z:A),c6(Sn,gr?j:S),ji&&ji()},Wt=(Sn,gr)=>{Sn._isLeaving=!1,c6(Sn,G),c6(Sn,Oe),c6(Sn,te),gr&&gr()},pr=Sn=>(gr,ji)=>{const us=Sn?kr:yt,qt=()=>kt(gr,Sn,ji);p3(us,[gr,qt]),Eje(()=>{c6(gr,Sn?N:y),mC(gr,Sn?z:A),wje(us)||Aje(gr,u,Be,qt)})};return Ad(i,{onBeforeEnter(Sn){p3(Ue,[Sn]),mC(Sn,y),mC(Sn,S)},onBeforeAppear(Sn){p3(ir,[Sn]),mC(Sn,N),mC(Sn,j)},onEnter:pr(!1),onAppear:pr(!0),onLeave(Sn,gr){Sn._isLeaving=!0;const ji=()=>Wt(Sn,gr);mC(Sn,G),NVe(),mC(Sn,te),Eje(()=>{Sn._isLeaving&&(c6(Sn,G),mC(Sn,Oe),wje(Ve)||Aje(Sn,u,Qe,ji))}),p3(Ve,[Sn,ji])},onEnterCancelled(Sn){kt(Sn,!1),p3(ot,[Sn])},onAppearCancelled(Sn){kt(Sn,!0),p3(Ot,[Sn])},onLeaveCancelled(Sn){Wt(Sn),p3(Ft,[Sn])}})}function Q4t(o){if(o==null)return null;if(r_(o))return[Lhe(o.enter),Lhe(o.leave)];{const i=Lhe(o);return[i,i]}}function Lhe(o){return FEt(o)}function mC(o,i){i.split(/\s+/).forEach(a=>a&&o.classList.add(a)),(o._vtc||(o._vtc=new Set)).add(i)}function c6(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 Eje(o){requestAnimationFrame(()=>{requestAnimationFrame(o)})}let Y4t=0;function Aje(o,i,a,u){const p=o._endId=++Y4t,y=()=>{p===o._endId&&u()};if(a)return setTimeout(y,a);const{type:S,timeout:A,propCount:N}=DVe(o,i);if(!S)return u();const j=S+"end";let z=0;const G=()=>{o.removeEventListener(j,te),y()},te=Oe=>{Oe.target===o&&++z>=N&&G()};setTimeout(()=>{z<N&&G()},A+1),o.addEventListener(j,te)}function DVe(o,i){const a=window.getComputedStyle(o),u=$e=>(a[$e]||"").split(", "),p=u(`${i6}Delay`),y=u(`${i6}Duration`),S=Pje(p,y),A=u(`${yF}Delay`),N=u(`${yF}Duration`),j=Pje(A,N);let z=null,G=0,te=0;i===i6?S>0&&(z=i6,G=S,te=y.length):i===yF?j>0&&(z=yF,G=j,te=N.length):(G=Math.max(S,j),z=G>0?S>j?i6:yF:null,te=z?z===i6?y.length:N.length:0);const Oe=z===i6&&/\b(transform|all)(,|$)/.test(u(`${i6}Property`).toString());return{type:z,timeout:G,propCount:te,hasTransform:Oe}}function Pje(o,i){for(;o.length<i.length;)o=o.concat(o);return Math.max(...i.map((a,u)=>Dje(a)+Dje(o[u])))}function Dje(o){return Number(o.slice(0,-1).replace(",","."))*1e3}function NVe(){return document.body.offsetHeight}const IVe=new WeakMap,OVe=new WeakMap,LVe={name:"TransitionGroup",props:Ad({},X4t,{tag:String,moveClass:String}),setup(o,{slots:i}){const a=r0e(),u=Zze();let p,y;return nVe(()=>{if(!p.length)return;const S=o.moveClass||`${o.name||"v"}-move`;if(!rAt(p[0].el,a.vnode.el,S))return;p.forEach(K4t),p.forEach(eAt);const A=p.filter(tAt);NVe(),A.forEach(N=>{const j=N.el,z=j.style;mC(j,S),z.transform=z.webkitTransform=z.transitionDuration="";const G=j._moveCb=te=>{te&&te.target!==j||(!te||/transform$/.test(te.propertyName))&&(j.removeEventListener("transitionend",G),j._moveCb=null,c6(j,S))};j.addEventListener("transitionend",G)})}),()=>{const S=gu(o),A=PVe(S);let N=S.tag||Ly;p=y,y=i.default?Xye(i.default()):[];for(let j=0;j<y.length;j++){const z=y[j];z.key!=null&&fR(z,uR(z,A,u,a))}if(p)for(let j=0;j<p.length;j++){const z=p[j];fR(z,uR(z,A,u,a)),IVe.set(z,z.el.getBoundingClientRect())}return id(N,null,y)}}},Z4t=o=>delete o.mode;LVe.props;const njt=LVe;function K4t(o){const i=o.el;i._moveCb&&i._moveCb(),i._enterCb&&i._enterCb()}function eAt(o){OVe.set(o,o.el.getBoundingClientRect())}function tAt(o){const i=IVe.get(o),a=OVe.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 rAt(o,i,a){const u=o.cloneNode();o._vtc&&o._vtc.forEach(S=>{S.split(/\s+/).forEach(A=>A&&u.classList.remove(A))}),a.split(/\s+/).forEach(S=>S&&u.classList.add(S)),u.style.display="none";const p=i.nodeType===1?i:i.parentNode;p.appendChild(u);const{hasTransform:y}=DVe(u);return p.removeChild(u),y}const g7=o=>{const i=o.props["onUpdate:modelValue"]||!1;return Qo(i)?a=>_X(i,a):i};function nAt(o){o.target.composing=!0}function Nje(o){const i=o.target;i.composing&&(i.composing=!1,i.dispatchEvent(new Event("input")))}const ijt={created(o,{modifiers:{lazy:i,trim:a,number:u}},p){o._assign=g7(p);const y=u||p.props&&p.props.type==="number";d6(o,i?"change":"input",S=>{if(S.target.composing)return;let A=o.value;a&&(A=A.trim()),y&&(A=mge(A)),o._assign(A)}),a&&d6(o,"change",()=>{o.value=o.value.trim()}),i||(d6(o,"compositionstart",nAt),d6(o,"compositionend",Nje),d6(o,"change",Nje))},mounted(o,{value:i}){o.value=i??""},beforeUpdate(o,{value:i,modifiers:{lazy:a,trim:u,number:p}},y){if(o._assign=g7(y),o.composing||document.activeElement===o&&o.type!=="range"&&(a||u&&o.value.trim()===i||(p||o.type==="number")&&mge(o.value)===i))return;const S=i??"";o.value!==S&&(o.value=S)}},sjt={deep:!0,created(o,i,a){o._assign=g7(a),d6(o,"change",()=>{const u=o._modelValue,p=MVe(o),y=o.checked,S=o._assign;if(Qo(u)){const A=Cze(u,p),N=A!==-1;if(y&&!N)S(u.concat(p));else if(!y&&N){const j=[...u];j.splice(A,1),S(j)}}else if(PQ(u)){const A=new Set(u);y?A.add(p):A.delete(p),S(A)}else S(FVe(o,y))})},mounted:Ije,beforeUpdate(o,i,a){o._assign=g7(a),Ije(o,i,a)}};function Ije(o,{value:i,oldValue:a},u){o._modelValue=i,Qo(i)?o.checked=Cze(i,u.props.value)>-1:PQ(i)?o.checked=i.has(u.props.value):i!==a&&(o.checked=_7(i,FVe(o,!0)))}const ajt={created(o,{value:i},a){o.checked=_7(i,a.props.value),o._assign=g7(a),d6(o,"change",()=>{o._assign(MVe(o))})},beforeUpdate(o,{value:i,oldValue:a},u){o._assign=g7(u),i!==a&&(o.checked=_7(i,u.props.value))}};function MVe(o){return"_value"in o?o._value:o.value}function FVe(o,i){const a=i?"_trueValue":"_falseValue";return a in o?o[a]:i}const iAt=["ctrl","shift","alt","meta"],sAt={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)=>iAt.some(a=>o[`${a}Key`]&&!i.includes(a))},ojt=(o,i)=>(a,...u)=>{for(let p=0;p<i.length;p++){const y=sAt[i[p]];if(y&&y(a,i))return}return o(a,...u)},aAt={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},cjt=(o,i)=>a=>{if(!("key"in a))return;const u=$3(a.key);if(i.some(p=>p===u||aAt[p]===u))return o(a)},ljt={beforeMount(o,{value:i},{transition:a}){o._vod=o.style.display==="none"?"":o.style.display,a&&i?a.beforeEnter(o):vF(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),vF(o,!0),u.enter(o)):u.leave(o,()=>{vF(o,!1)}):vF(o,i))},beforeUnmount(o,{value:i}){vF(o,i)}};function vF(o,i){o.style.display=i?o._vod:"none"}const RVe=Ad({patchProp:H4t},L4t);let qF,Oje=!1;function BVe(){return qF||(qF=_4t(RVe))}function oAt(){return qF=Oje?qF:p4t(RVe),Oje=!0,qF}const ujt=(...o)=>{BVe().render(...o)},fjt=(...o)=>{const i=BVe().createApp(...o),{mount:a}=i;return i.mount=u=>{const p=jVe(u);if(!p)return;const y=i._component;!nl(y)&&!y.render&&!y.template&&(y.template=p.innerHTML),p.innerHTML="";const S=a(p,!1,p instanceof SVGElement);return p instanceof Element&&(p.removeAttribute("v-cloak"),p.setAttribute("data-v-app","")),S},i},_jt=(...o)=>{const i=oAt().createApp(...o),{mount:a}=i;return i.mount=u=>{const p=jVe(u);if(p)return a(p,!0,p instanceof SVGElement)},i};function jVe(o){return qp(o)?document.querySelector(o):o}var cAt=([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]),pjt=o=>{const i=new Set,a=[];return o.forEach(u=>{const p=cAt(u);i.has(p)||(i.add(p),a.push(u))}),a},djt=o=>/(\.html|\/)$/.test(o)?o:o+"/",lAt=o=>o.startsWith("ftp://"),uAt=o=>/^(https?:)?\/\//.test(o),fAt=/.md((\?|#).*)?$/,mjt=(o,i="/")=>!!(uAt(o)||lAt(o)||o.startsWith("/")&&!o.startsWith(i)&&!fAt.test(o)),hjt=o=>/^mailto:/.test(o),gjt=o=>/^tel:/.test(o),yjt=o=>Object.prototype.toString.call(o)==="[object Object]",vjt=o=>o.replace(/\/$/,""),bjt=o=>o.replace(/^\//,""),Tjt=(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"/"},Sjt=(o,i="/")=>o.replace(/^(https?:)?\/\/[^/]*/,"").replace(new RegExp(`^${i}`),"/");/*!
* vue-router v4.2.2
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const qN=typeof window<"u";function _At(o){return o.__esModule||o[Symbol.toStringTag]==="Module"}const Bf=Object.assign;function Mhe(o,i){const a={};for(const u in i){const p=i[u];a[u]=_T(p)?p.map(o):o(p)}return a}const WF=()=>{},_T=Array.isArray,pAt=/\/$/,dAt=o=>o.replace(pAt,"");function Fhe(o,i,a="/"){let u,p={},y="",S="";const A=i.indexOf("#");let N=i.indexOf("?");return A<N&&A>=0&&(N=-1),N>-1&&(u=i.slice(0,N),y=i.slice(N+1,A>-1?A:i.length),p=o(y)),A>-1&&(u=u||i.slice(0,A),S=i.slice(A,i.length)),u=yAt(u??i,a),{fullPath:u+(y&&"?")+y+S,path:u,query:p,hash:S}}function mAt(o,i){const a=i.query?o(i.query):"";return i.path+(a&&"?")+a+(i.hash||"")}function Lje(o,i){return!i||!o.toLowerCase().startsWith(i.toLowerCase())?o:o.slice(i.length)||"/"}function hAt(o,i,a){const u=i.matched.length-1,p=a.matched.length-1;return u>-1&&u===p&&y7(i.matched[u],a.matched[p])&&JVe(i.params,a.params)&&o(i.query)===o(a.query)&&i.hash===a.hash}function y7(o,i){return(o.aliasOf||o)===(i.aliasOf||i)}function JVe(o,i){if(Object.keys(o).length!==Object.keys(i).length)return!1;for(const a in o)if(!gAt(o[a],i[a]))return!1;return!0}function gAt(o,i){return _T(o)?Mje(o,i):_T(i)?Mje(i,o):o===i}function Mje(o,i){return _T(i)?o.length===i.length&&o.every((a,u)=>a===i[u]):o.length===1&&o[0]===i}function yAt(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,S,A;for(S=0;S<u.length;S++)if(A=u[S],A!==".")if(A==="..")y>1&&y--;else break;return a.slice(0,y).join("/")+"/"+u.slice(S-(S===u.length?1:0)).join("/")}var pR;(function(o){o.pop="pop",o.push="push"})(pR||(pR={}));var HF;(function(o){o.back="back",o.forward="forward",o.unknown=""})(HF||(HF={}));function vAt(o){if(!o)if(qN){const i=document.querySelector("base");o=i&&i.getAttribute("href")||"/",o=o.replace(/^\w+:\/\/[^\/]+/,"")}else o="/";return o[0]!=="/"&&o[0]!=="#"&&(o="/"+o),dAt(o)}const bAt=/^[^#]+#/;function TAt(o,i){return o.replace(bAt,"#")+i}function SAt(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 VQ=()=>({left:window.pageXOffset,top:window.pageYOffset});function xAt(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=SAt(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 Fje(o,i){return(history.state?history.state.position-i:-1)+o}const Ege=new Map;function kAt(o,i){Ege.set(o,i)}function CAt(o){const i=Ege.get(o);return Ege.delete(o),i}let wAt=()=>location.protocol+"//"+location.host;function UVe(o,i){const{pathname:a,search:u,hash:p}=i,y=o.indexOf("#");if(y>-1){let A=p.includes(o.slice(y))?o.slice(y).length:1,N=p.slice(A);return N[0]!=="/"&&(N="/"+N),Lje(N,"")}return Lje(a,o)+u+p}function EAt(o,i,a,u){let p=[],y=[],S=null;const A=({state:te})=>{const Oe=UVe(o,location),$e=a.value,Be=i.value;let Qe=0;if(te){if(a.value=Oe,i.value=te,S&&S===$e){S=null;return}Qe=Be?te.position-Be.position:0}else u(Oe);p.forEach(Ue=>{Ue(a.value,$e,{delta:Qe,type:pR.pop,direction:Qe?Qe>0?HF.forward:HF.back:HF.unknown})})};function N(){S=a.value}function j(te){p.push(te);const Oe=()=>{const $e=p.indexOf(te);$e>-1&&p.splice($e,1)};return y.push(Oe),Oe}function z(){const{history:te}=window;te.state&&te.replaceState(Bf({},te.state,{scroll:VQ()}),"")}function G(){for(const te of y)te();y=[],window.removeEventListener("popstate",A),window.removeEventListener("beforeunload",z)}return window.addEventListener("popstate",A),window.addEventListener("beforeunload",z,{passive:!0}),{pauseListeners:N,listen:j,destroy:G}}function Rje(o,i,a,u=!1,p=!1){return{back:o,current:i,forward:a,replaced:u,position:window.history.length,scroll:p?VQ():null}}function AAt(o){const{history:i,location:a}=window,u={value:UVe(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(N,j,z){const G=o.indexOf("#"),te=G>-1?(a.host&&document.querySelector("base")?o:o.slice(G))+N:wAt()+o+N;try{i[z?"replaceState":"pushState"](j,"",te),p.value=j}catch(Oe){console.error(Oe),a[z?"replace":"assign"](te)}}function S(N,j){const z=Bf({},i.state,Rje(p.value.back,N,p.value.forward,!0),j,{position:p.value.position});y(N,z,!0),u.value=N}function A(N,j){const z=Bf({},p.value,i.state,{forward:N,scroll:VQ()});y(z.current,z,!0);const G=Bf({},Rje(u.value,N,null),{position:z.position+1},j);y(N,G,!1),u.value=N}return{location:u,state:p,push:A,replace:S}}function xjt(o){o=vAt(o);const i=AAt(o),a=EAt(o,i.state,i.location,i.replace);function u(y,S=!0){S||a.pauseListeners(),history.go(y)}const p=Bf({location:"",base:o,go:u,createHref:TAt.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 PAt(o){return typeof o=="string"||o&&typeof o=="object"}function zVe(o){return typeof o=="string"||typeof o=="symbol"}const s6={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},VVe=Symbol("");var Bje;(function(o){o[o.aborted=4]="aborted",o[o.cancelled=8]="cancelled",o[o.duplicated=16]="duplicated"})(Bje||(Bje={}));function v7(o,i){return Bf(new Error,{type:o,[VVe]:!0},i)}function _C(o,i){return o instanceof Error&&VVe in o&&(i==null||!!(o.type&i))}const jje="[^/]+?",DAt={sensitive:!1,strict:!1,start:!0,end:!0},NAt=/[.+*?^${}()[\]/\\]/g;function IAt(o,i){const a=Bf({},DAt,i),u=[];let p=a.start?"^":"";const y=[];for(const j of o){const z=j.length?[]:[90];a.strict&&!j.length&&(p+="/");for(let G=0;G<j.length;G++){const te=j[G];let Oe=40+(a.sensitive?.25:0);if(te.type===0)G||(p+="/"),p+=te.value.replace(NAt,"\\$&"),Oe+=40;else if(te.type===1){const{value:$e,repeatable:Be,optional:Qe,regexp:Ue}=te;y.push({name:$e,repeatable:Be,optional:Qe});const yt=Ue||jje;if(yt!==jje){Oe+=10;try{new RegExp(`(${yt})`)}catch(Ve){throw new Error(`Invalid custom RegExp for param "${$e}" (${yt}): `+Ve.message)}}let ot=Be?`((?:${yt})(?:/(?:${yt}))*)`:`(${yt})`;G||(ot=Qe&&j.length<2?`(?:/${ot})`:"/"+ot),Qe&&(ot+="?"),p+=ot,Oe+=20,Qe&&(Oe+=-8),Be&&(Oe+=-20),yt===".*"&&(Oe+=-50)}z.push(Oe)}u.push(z)}if(a.strict&&a.end){const j=u.length-1;u[j][u[j].length-1]+=.7000000000000001}a.strict||(p+="/?"),a.end?p+="$":a.strict&&(p+="(?:/|$)");const S=new RegExp(p,a.sensitive?"":"i");function A(j){const z=j.match(S),G={};if(!z)return null;for(let te=1;te<z.length;te++){const Oe=z[te]||"",$e=y[te-1];G[$e.name]=Oe&&$e.repeatable?Oe.split("/"):Oe}return G}function N(j){let z="",G=!1;for(const te of o){(!G||!z.endsWith("/"))&&(z+="/"),G=!1;for(const Oe of te)if(Oe.type===0)z+=Oe.value;else if(Oe.type===1){const{value:$e,repeatable:Be,optional:Qe}=Oe,Ue=$e in j?j[$e]:"";if(_T(Ue)&&!Be)throw new Error(`Provided param "${$e}" is an array but it is not repeatable (* or + modifiers)`);const yt=_T(Ue)?Ue.join("/"):Ue;if(!yt)if(Qe)te.length<2&&(z.endsWith("/")?z=z.slice(0,-1):G=!0);else throw new Error(`Missing required param "${$e}"`);z+=yt}}return z||"/"}return{re:S,score:u,keys:y,parse:A,stringify:N}}function OAt(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 LAt(o,i){let a=0;const u=o.score,p=i.score;for(;a<u.length&&a<p.length;){const y=OAt(u[a],p[a]);if(y)return y;a++}if(Math.abs(p.length-u.length)===1){if(Jje(u))return 1;if(Jje(p))return-1}return p.length-u.length}function Jje(o){const i=o[o.length-1];return o.length>0&&i[i.length-1]<0}const MAt={type:0,value:""},FAt=/[a-zA-Z0-9_]/;function RAt(o){if(!o)return[[]];if(o==="/")return[[MAt]];if(!o.startsWith("/"))throw new Error(`Invalid path "${o}"`);function i(Oe){throw new Error(`ERR (${a})/"${j}": ${Oe}`)}let a=0,u=a;const p=[];let y;function S(){y&&p.push(y),y=[]}let A=0,N,j="",z="";function G(){j&&(a===0?y.push({type:0,value:j}):a===1||a===2||a===3?(y.length>1&&(N==="*"||N==="+")&&i(`A repeatable param (${j}) must be alone in its segment. eg: '/:ids+.`),y.push({type:1,value:j,regexp:z,repeatable:N==="*"||N==="+",optional:N==="*"||N==="?"})):i("Invalid state to consume buffer"),j="")}function te(){j+=N}for(;A<o.length;){if(N=o[A++],N==="\\"&&a!==2){u=a,a=4;continue}switch(a){case 0:N==="/"?(j&&G(),S()):N===":"?(G(),a=1):te();break;case 4:te(),a=u;break;case 1:N==="("?a=2:FAt.test(N)?te():(G(),a=0,N!=="*"&&N!=="?"&&N!=="+"&&A--);break;case 2:N===")"?z[z.length-1]=="\\"?z=z.slice(0,-1)+N:a=3:z+=N;break;case 3:G(),a=0,N!=="*"&&N!=="?"&&N!=="+"&&A--,z="";break;default:i("Unknown state");break}}return a===2&&i(`Unfinished custom RegExp for param "${j}"`),G(),S(),p}function BAt(o,i,a){const u=IAt(RAt(o.path),a),p=Bf(u,{record:o,parent:i,children:[],alias:[]});return i&&!p.record.aliasOf==!i.record.aliasOf&&i.children.push(p),p}function jAt(o,i){const a=[],u=new Map;i=Vje({strict:!1,end:!0,sensitive:!1},i);function p(z){return u.get(z)}function y(z,G,te){const Oe=!te,$e=JAt(z);$e.aliasOf=te&&te.record;const Be=Vje(i,z),Qe=[$e];if("alias"in z){const ot=typeof z.alias=="string"?[z.alias]:z.alias;for(const Ve of ot)Qe.push(Bf({},$e,{components:te?te.record.components:$e.components,path:Ve,aliasOf:te?te.record:$e}))}let Ue,yt;for(const ot of Qe){const{path:Ve}=ot;if(G&&Ve[0]!=="/"){const Ft=G.record.path,ir=Ft[Ft.length-1]==="/"?"":"/";ot.path=G.record.path+(Ve&&ir+Ve)}if(Ue=BAt(ot,G,Be),te?te.alias.push(Ue):(yt=yt||Ue,yt!==Ue&&yt.alias.push(Ue),Oe&&z.name&&!zje(Ue)&&S(z.name)),$e.children){const Ft=$e.children;for(let ir=0;ir<Ft.length;ir++)y(Ft[ir],Ue,te&&te.children[ir])}te=te||Ue,(Ue.record.components&&Object.keys(Ue.record.components).length||Ue.record.name||Ue.record.redirect)&&N(Ue)}return yt?()=>{S(yt)}:WF}function S(z){if(zVe(z)){const G=u.get(z);G&&(u.delete(z),a.splice(a.indexOf(G),1),G.children.forEach(S),G.alias.forEach(S))}else{const G=a.indexOf(z);G>-1&&(a.splice(G,1),z.record.name&&u.delete(z.record.name),z.children.forEach(S),z.alias.forEach(S))}}function A(){return a}function N(z){let G=0;for(;G<a.length&&LAt(z,a[G])>=0&&(z.record.path!==a[G].record.path||!$Ve(z,a[G]));)G++;a.splice(G,0,z),z.record.name&&!zje(z)&&u.set(z.record.name,z)}function j(z,G){let te,Oe={},$e,Be;if("name"in z&&z.name){if(te=u.get(z.name),!te)throw v7(1,{location:z});Be=te.record.name,Oe=Bf(Uje(G.params,te.keys.filter(yt=>!yt.optional).map(yt=>yt.name)),z.params&&Uje(z.params,te.keys.map(yt=>yt.name))),$e=te.stringify(Oe)}else if("path"in z)$e=z.path,te=a.find(yt=>yt.re.test($e)),te&&(Oe=te.parse($e),Be=te.record.name);else{if(te=G.name?u.get(G.name):a.find(yt=>yt.re.test(G.path)),!te)throw v7(1,{location:z,currentLocation:G});Be=te.record.name,Oe=Bf({},G.params,z.params),$e=te.stringify(Oe)}const Qe=[];let Ue=te;for(;Ue;)Qe.unshift(Ue.record),Ue=Ue.parent;return{name:Be,path:$e,params:Oe,matched:Qe,meta:zAt(Qe)}}return o.forEach(z=>y(z)),{addRoute:y,resolve:j,removeRoute:S,getRoutes:A,getRecordMatcher:p}}function Uje(o,i){const a={};for(const u of i)u in o&&(a[u]=o[u]);return a}function JAt(o){return{path:o.path,redirect:o.redirect,name:o.name,meta:o.meta||{},aliasOf:void 0,beforeEnter:o.beforeEnter,props:UAt(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 UAt(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 zje(o){for(;o;){if(o.record.aliasOf)return!0;o=o.parent}return!1}function zAt(o){return o.reduce((i,a)=>Bf(i,a.meta),{})}function Vje(o,i){const a={};for(const u in o)a[u]=u in i?i[u]:o[u];return a}function $Ve(o,i){return i.children.some(a=>a===o||$Ve(o,a))}const qVe=/#/g,VAt=/&/g,$At=/\//g,qAt=/=/g,WAt=/\?/g,WVe=/\+/g,HAt=/%5B/g,GAt=/%5D/g,HVe=/%5E/g,XAt=/%60/g,GVe=/%7B/g,QAt=/%7C/g,XVe=/%7D/g,YAt=/%20/g;function i0e(o){return encodeURI(""+o).replace(QAt,"|").replace(HAt,"[").replace(GAt,"]")}function ZAt(o){return i0e(o).replace(GVe,"{").replace(XVe,"}").replace(HVe,"^")}function Age(o){return i0e(o).replace(WVe,"%2B").replace(YAt,"+").replace(qVe,"%23").replace(VAt,"%26").replace(XAt,"`").replace(GVe,"{").replace(XVe,"}").replace(HVe,"^")}function KAt(o){return Age(o).replace(qAt,"%3D")}function e3t(o){return i0e(o).replace(qVe,"%23").replace(WAt,"%3F")}function t3t(o){return o==null?"":e3t(o).replace($At,"%2F")}function jX(o){try{return decodeURIComponent(""+o)}catch{}return""+o}function r3t(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(WVe," "),S=y.indexOf("="),A=jX(S<0?y:y.slice(0,S)),N=S<0?null:jX(y.slice(S+1));if(A in i){let j=i[A];_T(j)||(j=i[A]=[j]),j.push(N)}else i[A]=N}return i}function $je(o){let i="";for(let a in o){const u=o[a];if(a=KAt(a),u==null){u!==void 0&&(i+=(i.length?"&":"")+a);continue}(_T(u)?u.map(y=>y&&Age(y)):[u&&Age(u)]).forEach(y=>{y!==void 0&&(i+=(i.length?"&":"")+a,y!=null&&(i+="="+y))})}return i}function n3t(o){const i={};for(const a in o){const u=o[a];u!==void 0&&(i[a]=_T(u)?u.map(p=>p==null?null:""+p):u==null?u:""+u)}return i}const i3t=Symbol(""),qje=Symbol(""),$Q=Symbol(""),s0e=Symbol(""),Pge=Symbol("");function bF(){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 p6(o,i,a,u,p){const y=u&&(u.enterCallbacks[p]=u.enterCallbacks[p]||[]);return()=>new Promise((S,A)=>{const N=G=>{G===!1?A(v7(4,{from:a,to:i})):G instanceof Error?A(G):PAt(G)?A(v7(2,{from:i,to:G})):(y&&u.enterCallbacks[p]===y&&typeof G=="function"&&y.push(G),S())},j=o.call(u&&u.instances[p],i,a,N);let z=Promise.resolve(j);o.length<3&&(z=z.then(N)),z.catch(G=>A(G))})}function Rhe(o,i,a,u){const p=[];for(const y of o)for(const S in y.components){let A=y.components[S];if(!(i!=="beforeRouteEnter"&&!y.instances[S]))if(s3t(A)){const j=(A.__vccOpts||A)[i];j&&p.push(p6(j,a,u,y,S))}else{let N=A();p.push(()=>N.then(j=>{if(!j)return Promise.reject(new Error(`Couldn't resolve component "${S}" at "${y.path}"`));const z=_At(j)?j.default:j;y.components[S]=z;const te=(z.__vccOpts||z)[i];return te&&p6(te,a,u,y,S)()}))}}return p}function s3t(o){return typeof o=="object"||"displayName"in o||"props"in o||"__vccOpts"in o}function Wje(o){const i=By($Q),a=By(s0e),u=ah(()=>i.resolve(AC(o.to))),p=ah(()=>{const{matched:N}=u.value,{length:j}=N,z=N[j-1],G=a.matched;if(!z||!G.length)return-1;const te=G.findIndex(y7.bind(null,z));if(te>-1)return te;const Oe=Hje(N[j-2]);return j>1&&Hje(z)===Oe&&G[G.length-1].path!==Oe?G.findIndex(y7.bind(null,N[j-2])):te}),y=ah(()=>p.value>-1&&l3t(a.params,u.value.params)),S=ah(()=>p.value>-1&&p.value===a.matched.length-1&&JVe(a.params,u.value.params));function A(N={}){return c3t(N)?i[AC(o.replace)?"replace":"push"](AC(o.to)).catch(WF):Promise.resolve()}return{route:u,href:ah(()=>u.value.href),isActive:y,isExactActive:S,navigate:A}}const a3t=BQ({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:Wje,setup(o,{slots:i}){const a=J7(Wje(o)),{options:u}=By($Q),p=ah(()=>({[Gje(o.activeClass,u.linkActiveClass,"router-link-active")]:a.isActive,[Gje(o.exactActiveClass,u.linkExactActiveClass,"router-link-exact-active")]:a.isExactActive}));return()=>{const y=i.default&&i.default(a);return o.custom?y:zQ("a",{"aria-current":a.isExactActive?o.ariaCurrentValue:null,href:a.href,onClick:a.navigate,class:p.value},y)}}}),o3t=a3t;function c3t(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 l3t(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(!_T(p)||p.length!==u.length||u.some((y,S)=>y!==p[S]))return!1}return!0}function Hje(o){return o?o.aliasOf?o.aliasOf.path:o.path:""}const Gje=(o,i,a)=>o??i??a,u3t=BQ({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(o,{attrs:i,slots:a}){const u=By(Pge),p=ah(()=>o.route||u.value),y=By(qje,0),S=ah(()=>{let j=AC(y);const{matched:z}=p.value;let G;for(;(G=z[j])&&!G.components;)j++;return j}),A=ah(()=>p.value.matched[S.value]);dX(qje,ah(()=>S.value+1)),dX(i3t,A),dX(Pge,p);const N=JF();return pX(()=>[N.value,A.value,o.name],([j,z,G],[te,Oe,$e])=>{z&&(z.instances[G]=j,Oe&&Oe!==z&&j&&j===te&&(z.leaveGuards.size||(z.leaveGuards=Oe.leaveGuards),z.updateGuards.size||(z.updateGuards=Oe.updateGuards))),j&&z&&(!Oe||!y7(z,Oe)||!te)&&(z.enterCallbacks[G]||[]).forEach(Be=>Be(j))},{flush:"post"}),()=>{const j=p.value,z=o.name,G=A.value,te=G&&G.components[z];if(!te)return Xje(a.default,{Component:te,route:j});const Oe=G.props[z],$e=Oe?Oe===!0?j.params:typeof Oe=="function"?Oe(j):Oe:null,Qe=zQ(te,Bf({},$e,i,{onVnodeUnmounted:Ue=>{Ue.component.isUnmounted&&(G.instances[z]=null)},ref:N}));return Xje(a.default,{Component:Qe,route:j})||Qe}}});function Xje(o,i){if(!o)return null;const a=o(i);return a.length===1?a[0]:a}const f3t=u3t;function kjt(o){const i=jAt(o.routes,o),a=o.parseQuery||r3t,u=o.stringifyQuery||$je,p=o.history,y=bF(),S=bF(),A=bF(),N=b6t(s6);let j=s6;qN&&o.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const z=Mhe.bind(null,cr=>""+cr),G=Mhe.bind(null,t3t),te=Mhe.bind(null,jX);function Oe(cr,ni){let li,gs;return zVe(cr)?(li=i.getRecordMatcher(cr),gs=ni):gs=cr,i.addRoute(gs,li)}function $e(cr){const ni=i.getRecordMatcher(cr);ni&&i.removeRoute(ni)}function Be(){return i.getRoutes().map(cr=>cr.record)}function Qe(cr){return!!i.getRecordMatcher(cr)}function Ue(cr,ni){if(ni=Bf({},ni||N.value),typeof cr=="string"){const Mr=Fhe(a,cr,ni.path),wr=i.resolve({path:Mr.path},ni),Ii=p.createHref(Mr.fullPath);return Bf(Mr,wr,{params:te(wr.params),hash:jX(Mr.hash),redirectedFrom:void 0,href:Ii})}let li;if("path"in cr)li=Bf({},cr,{path:Fhe(a,cr.path,ni.path).path});else{const Mr=Bf({},cr.params);for(const wr in Mr)Mr[wr]==null&&delete Mr[wr];li=Bf({},cr,{params:G(Mr)}),ni.params=G(ni.params)}const gs=i.resolve(li,ni),na=cr.hash||"";gs.params=z(te(gs.params));const sr=mAt(u,Bf({},cr,{hash:ZAt(na),path:gs.path})),Ne=p.createHref(sr);return Bf({fullPath:sr,hash:na,query:u===$je?n3t(cr.query):cr.query||{}},gs,{redirectedFrom:void 0,href:Ne})}function yt(cr){return typeof cr=="string"?Fhe(a,cr,N.value.path):Bf({},cr)}function ot(cr,ni){if(j!==cr)return v7(8,{from:ni,to:cr})}function Ve(cr){return kr(cr)}function Ft(cr){return Ve(Bf(yt(cr),{replace:!0}))}function ir(cr){const ni=cr.matched[cr.matched.length-1];if(ni&&ni.redirect){const{redirect:li}=ni;let gs=typeof li=="function"?li(cr):li;return typeof gs=="string"&&(gs=gs.includes("?")||gs.includes("#")?gs=yt(gs):{path:gs},gs.params={}),Bf({query:cr.query,hash:cr.hash,params:"path"in gs?{}:cr.params},gs)}}function kr(cr,ni){const li=j=Ue(cr),gs=N.value,na=cr.state,sr=cr.force,Ne=cr.replace===!0,Mr=ir(li);if(Mr)return kr(Bf(yt(Mr),{state:typeof Mr=="object"?Bf({},na,Mr.state):na,force:sr,replace:Ne}),ni||li);const wr=li;wr.redirectedFrom=ni;let Ii;return!sr&&hAt(u,gs,li)&&(Ii=v7(16,{to:wr,from:gs}),yn(gs,gs,!0,!1)),(Ii?Promise.resolve(Ii):Wt(wr,gs)).catch(Wi=>_C(Wi)?_C(Wi,2)?Wi:ln(Wi):$s(Wi,wr,gs)).then(Wi=>{if(Wi){if(_C(Wi,2))return kr(Bf({replace:Ne},yt(Wi.to),{state:typeof Wi.to=="object"?Bf({},na,Wi.to.state):na,force:sr}),ni||wr)}else Wi=Sn(wr,gs,!0,Ne,na);return pr(wr,gs,Wi),Wi})}function Ot(cr,ni){const li=ot(cr,ni);return li?Promise.reject(li):Promise.resolve()}function kt(cr){const ni=Ir.values().next().value;return ni&&typeof ni.runWithContext=="function"?ni.runWithContext(cr):cr()}function Wt(cr,ni){let li;const[gs,na,sr]=_3t(cr,ni);li=Rhe(gs.reverse(),"beforeRouteLeave",cr,ni);for(const Mr of gs)Mr.leaveGuards.forEach(wr=>{li.push(p6(wr,cr,ni))});const Ne=Ot.bind(null,cr,ni);return li.push(Ne),zi(li).then(()=>{li=[];for(const Mr of y.list())li.push(p6(Mr,cr,ni));return li.push(Ne),zi(li)}).then(()=>{li=Rhe(na,"beforeRouteUpdate",cr,ni);for(const Mr of na)Mr.updateGuards.forEach(wr=>{li.push(p6(wr,cr,ni))});return li.push(Ne),zi(li)}).then(()=>{li=[];for(const Mr of cr.matched)if(Mr.beforeEnter&&!ni.matched.includes(Mr))if(_T(Mr.beforeEnter))for(const wr of Mr.beforeEnter)li.push(p6(wr,cr,ni));else li.push(p6(Mr.beforeEnter,cr,ni));return li.push(Ne),zi(li)}).then(()=>(cr.matched.forEach(Mr=>Mr.enterCallbacks={}),li=Rhe(sr,"beforeRouteEnter",cr,ni),li.push(Ne),zi(li))).then(()=>{li=[];for(const Mr of S.list())li.push(p6(Mr,cr,ni));return li.push(Ne),zi(li)}).catch(Mr=>_C(Mr,8)?Mr:Promise.reject(Mr))}function pr(cr,ni,li){for(const gs of A.list())kt(()=>gs(cr,ni,li))}function Sn(cr,ni,li,gs,na){const sr=ot(cr,ni);if(sr)return sr;const Ne=ni===s6,Mr=qN?history.state:{};li&&(gs||Ne?p.replace(cr.fullPath,Bf({scroll:Ne&&Mr&&Mr.scroll},na)):p.push(cr.fullPath,na)),N.value=cr,yn(cr,ni,li,Ne),ln()}let gr;function ji(){gr||(gr=p.listen((cr,ni,li)=>{if(!lr.listening)return;const gs=Ue(cr),na=ir(gs);if(na){kr(Bf(na,{replace:!0}),gs).catch(WF);return}j=gs;const sr=N.value;qN&&kAt(Fje(sr.fullPath,li.delta),VQ()),Wt(gs,sr).catch(Ne=>_C(Ne,12)?Ne:_C(Ne,2)?(kr(Ne.to,gs).then(Mr=>{_C(Mr,20)&&!li.delta&&li.type===pR.pop&&p.go(-1,!1)}).catch(WF),Promise.reject()):(li.delta&&p.go(-li.delta,!1),$s(Ne,gs,sr))).then(Ne=>{Ne=Ne||Sn(gs,sr,!1),Ne&&(li.delta&&!_C(Ne,8)?p.go(-li.delta,!1):li.type===pR.pop&&_C(Ne,20)&&p.go(-1,!1)),pr(gs,sr,Ne)}).catch(WF)}))}let us=bF(),qt=bF(),qa;function $s(cr,ni,li){ln(cr);const gs=qt.list();return gs.length?gs.forEach(na=>na(cr,ni,li)):console.error(cr),Promise.reject(cr)}function $n(){return qa&&N.value!==s6?Promise.resolve():new Promise((cr,ni)=>{us.add([cr,ni])})}function ln(cr){return qa||(qa=!cr,ji(),us.list().forEach(([ni,li])=>cr?li(cr):ni()),us.reset()),cr}function yn(cr,ni,li,gs){const{scrollBehavior:na}=o;if(!qN||!na)return Promise.resolve();const sr=!li&&CAt(Fje(cr.fullPath,0))||(gs||!li)&&history.state&&history.state.scroll||null;return Wze().then(()=>na(cr,ni,sr)).then(Ne=>Ne&&xAt(Ne)).catch(Ne=>$s(Ne,cr,ni))}const yr=cr=>p.go(cr);let Dn;const Ir=new Set,lr={currentRoute:N,listening:!0,addRoute:Oe,removeRoute:$e,hasRoute:Qe,getRoutes:Be,resolve:Ue,options:o,push:Ve,replace:Ft,go:yr,back:()=>yr(-1),forward:()=>yr(1),beforeEach:y.add,beforeResolve:S.add,afterEach:A.add,onError:qt.add,isReady:$n,install(cr){const ni=this;cr.component("RouterLink",o3t),cr.component("RouterView",f3t),cr.config.globalProperties.$router=ni,Object.defineProperty(cr.config.globalProperties,"$route",{enumerable:!0,get:()=>AC(N)}),qN&&!Dn&&N.value===s6&&(Dn=!0,Ve(p.location).catch(na=>{}));const li={};for(const na in s6)li[na]=ah(()=>N.value[na]);cr.provide($Q,ni),cr.provide(s0e,J7(li)),cr.provide(Pge,N);const gs=cr.unmount;Ir.add(cr),cr.unmount=function(){Ir.delete(cr),Ir.size<1&&(j=s6,gr&&gr(),gr=null,N.value=s6,Dn=!1,qa=!1),gs()}}};function zi(cr){return cr.reduce((ni,li)=>ni.then(()=>kt(li)),Promise.resolve())}return lr}function _3t(o,i){const a=[],u=[],p=[],y=Math.max(i.matched.length,o.matched.length);for(let S=0;S<y;S++){const A=i.matched[S];A&&(o.matched.find(j=>y7(j,A))?u.push(A):a.push(A));const N=o.matched[S];N&&(i.matched.find(j=>y7(j,N))||p.push(N))}return[a,u,p]}function Cjt(){return By($Q)}function wjt(){return By(s0e)}/*!
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const p3t=()=>{},JX=Array.isArray;function Qje(o,i){return(o.aliasOf||o)===(i.aliasOf||i)}function d3t(o,i){if(Object.keys(o).length!==Object.keys(i).length)return!1;for(const a in o)if(!m3t(o[a],i[a]))return!1;return!0}function m3t(o,i){return JX(o)?Yje(o,i):JX(i)?Yje(i,o):o===i}function Yje(o,i){return JX(i)?o.length===i.length&&o.every((a,u)=>a===i[u]):o.length===1&&o[0]===i}var Zje;(function(o){o.pop="pop",o.push="push"})(Zje||(Zje={}));var Kje;(function(o){o.back="back",o.forward="forward",o.unknown=""})(Kje||(Kje={}));var eJe;(function(o){o[o.aborted=4]="aborted",o[o.cancelled=8]="cancelled",o[o.duplicated=16]="duplicated"})(eJe||(eJe={}));const a0e=Symbol(""),h3t=Symbol("");function tJe(o){const i=By(a0e),a=By(h3t),u=ah(()=>i.resolve(AC(o.to))),p=ah(()=>{const{matched:N}=u.value,{length:j}=N,z=N[j-1],G=a.matched;if(!z||!G.length)return-1;const te=G.findIndex(Qje.bind(null,z));if(te>-1)return te;const Oe=rJe(N[j-2]);return j>1&&rJe(z)===Oe&&G[G.length-1].path!==Oe?G.findIndex(Qje.bind(null,N[j-2])):te}),y=ah(()=>p.value>-1&&v3t(a.params,u.value.params)),S=ah(()=>p.value>-1&&p.value===a.matched.length-1&&d3t(a.params,u.value.params));function A(N={}){return y3t(N)?i[AC(o.replace)?"replace":"push"](AC(o.to)).catch(p3t):Promise.resolve()}return{route:u,href:ah(()=>u.value.href),isActive:y,isExactActive:S,navigate:A}}const g3t=BQ({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:tJe,setup(o,{slots:i}){const a=J7(tJe(o)),{options:u}=By(a0e),p=ah(()=>({[nJe(o.activeClass,u.linkActiveClass,"router-link-active")]:a.isActive,[nJe(o.exactActiveClass,u.linkExactActiveClass,"router-link-exact-active")]:a.isExactActive}));return()=>{const y=i.default&&i.default(a);return o.custom?y:zQ("a",{"aria-current":a.isExactActive?o.ariaCurrentValue:null,href:a.href,onClick:a.navigate,class:p.value},y)}}}),Ejt=g3t;function y3t(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 v3t(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(!JX(p)||p.length!==u.length||u.some((y,S)=>y!==p[S]))return!1}return!0}function rJe(o){return o?o.aliasOf?o.aliasOf.path:o.path:""}const nJe=(o,i,a)=>o??i??a;function Ajt(){return By(a0e)}const Pjt=(o,i)=>{const a=o.__vccOpts||o;for(const[u,p]of i)a[u]=p;return a};var iJe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Djt(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}function QVe(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 Dge(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 zh(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 b3t=Object.freeze({}),sJe=()=>{},hX=()=>!1,T3t=/^on[^a-z]/,YVe=o=>T3t.test(o),PC=Object.assign,S3t=Object.prototype.hasOwnProperty,qQ=(o,i)=>S3t.call(o,i),jy=Array.isArray,x3t=o=>o0e(o)==="[object Map]",k3t=o=>o0e(o)==="[object Set]",ZVe=o=>typeof o=="function",fu=o=>typeof o=="string",U7=o=>typeof o=="symbol",BC=o=>o!==null&&typeof o=="object",KVe=Object.prototype.toString,o0e=o=>KVe.call(o),C3t=o=>o0e(o)==="[object Object]",aJe=zh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),c0e=zh("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),WQ=o=>{const i=Object.create(null);return a=>i[a]||(i[a]=o(a))},w3t=/-(\w)/g,fT=WQ(o=>o.replace(w3t,(i,a)=>a?a.toUpperCase():"")),E3t=/\B([A-Z])/g,e$e=WQ(o=>o.replace(E3t,"-$1").toLowerCase()),S6=WQ(o=>o.charAt(0).toUpperCase()+o.slice(1)),A3t=WQ(o=>o?`on${S6(o)}`:""),P3t=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function b7(o){return P3t.test(o)?`__props.${o}`:`__props[${JSON.stringify(o)}]`}const ux={[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"},D3t={[1]:"STABLE",[2]:"DYNAMIC",[3]:"FORWARDED"},N3t="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",t$e=zh(N3t),oJe=2;function R3(o,i=0,a=o.length){let u=o.split(/(\r?\n)/);const p=u.filter((A,N)=>N%2===1);u=u.filter((A,N)=>N%2===0);let y=0;const S=[];for(let A=0;A<u.length;A++)if(y+=u[A].length+(p[A]&&p[A].length||0),y>=i){for(let N=A-oJe;N<=A+oJe||a>y;N++){if(N<0||N>=u.length)continue;const j=N+1;S.push(`${j}${" ".repeat(Math.max(3-String(j).length,0))}| ${u[N]}`);const z=u[N].length,G=p[N]&&p[N].length||0;if(N===A){const te=i-(y-(z+G)),Oe=Math.max(1,a>y?z-te:a-i);S.push(" | "+" ".repeat(te)+"^".repeat(Oe))}else if(N>A){if(a>y){const te=Math.max(Math.min(a-y,z),1);S.push(" | "+"^".repeat(te))}y+=z+G}}break}return S.join(`
`)}function r$e(o){if(jy(o)){const i={};for(let a=0;a<o.length;a++){const u=o[a],p=fu(u)?n$e(u):r$e(u);if(p)for(const y in p)i[y]=p[y]}return i}else{if(fu(o))return o;if(BC(o))return o}}const I3t=/;(?![^(]*\))/g,O3t=/:([^]+)/,L3t=/\/\*[^]*?\*\//g;function n$e(o){const i={};return o.replace(L3t,"").split(I3t).forEach(a=>{if(a){const u=a.split(O3t);u.length>1&&(i[u[0].trim()]=u[1].trim())}}),i}function M3t(o){let i="";if(!o||fu(o))return i;for(const a in o){const u=o[a],p=a.startsWith("--")?a:e$e(a);(fu(u)||typeof u=="number")&&(i+=`${p}:${u};`)}return i}function i$e(o){let i="";if(fu(o))i=o;else if(jy(o))for(let a=0;a<o.length;a++){const u=i$e(o[a]);u&&(i+=u+" ")}else if(BC(o))for(const a in o)o[a]&&(i+=a+" ");return i.trim()}const F3t="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",R3t="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",B3t="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",j3t=zh(F3t),J3t=zh(R3t),s$e=zh(B3t),U3t="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",a$e=zh(U3t+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),z3t=/[>/="'\u0009\u000a\u000c\u0020]/,Bhe={};function V3t(o){if(Bhe.hasOwnProperty(o))return Bhe[o];const i=z3t.test(o);return i&&console.error(`unsafe attribute name: ${o}`),Bhe[o]=!i}const $3t={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},q3t=zh("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"),W3t=zh("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"),H3t=/["'&<>]/;function ox(o){const i=""+o,a=H3t.exec(i);if(!a)return i;let u="",p,y,S=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}S!==y&&(u+=i.slice(S,y)),S=y+1,u+=p}return S!==y?u+i.slice(S,y):u}const l0e=o=>fu(o)?o:o==null?"":jy(o)||BC(o)&&(o.toString===KVe||!ZVe(o.toString))?JSON.stringify(o,o$e,2):String(o),o$e=(o,i)=>i&&i.__v_isRef?o$e(o,i.value):x3t(i)?{[`Map(${i.size})`]:[...i.entries()].reduce((a,[u,p])=>(a[`${u} =>`]=p,a),{})}:k3t(i)?{[`Set(${i.size})`]:[...i.values()]}:BC(i)&&!jy(i)&&!C3t(i)?String(i):i;function u0e(o){throw o}function c$e(o){console.warn(`[Vue warn] ${o.message}`)}function Wu(o,i,a,u){const p=(a||G3t)[o]+(u||""),y=new SyntaxError(String(p));return y.code=o,y.loc=i,y}const G3t={[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]:""},T7=Symbol("Fragment"),E3=Symbol("Teleport"),z7=Symbol("Suspense"),dR=Symbol("KeepAlive"),f0e=Symbol("BaseTransition"),x6=Symbol("openBlock"),_0e=Symbol("createBlock"),p0e=Symbol("createElementBlock"),YR=Symbol("createVNode"),HQ=Symbol("createElementVNode"),V7=Symbol("createCommentVNode"),GQ=Symbol("createTextVNode"),XQ=Symbol("createStaticVNode"),mR=Symbol("resolveComponent"),S7=Symbol("resolveDynamicComponent"),QQ=Symbol("resolveDirective"),l$e=Symbol("resolveFilter"),YQ=Symbol("withDirectives"),ZQ=Symbol("renderList"),d0e=Symbol("renderSlot"),m0e=Symbol("createSlots"),ZR=Symbol("toDisplayString"),B3=Symbol("mergeProps"),KQ=Symbol("normalizeClass"),eY=Symbol("normalizeStyle"),x7=Symbol("normalizeProps"),$7=Symbol("guardReactiveProps"),tY=Symbol("toHandlers"),UX=Symbol("camelize"),u$e=Symbol("capitalize"),zX=Symbol("toHandlerKey"),hR=Symbol("setBlockTracking"),rY=Symbol("pushScopeId"),nY=Symbol("popScopeId"),iY=Symbol("withCtx"),k7=Symbol("unref"),gR=Symbol("isRef"),sY=Symbol("withMemo"),h0e=Symbol("isMemoSame"),z0={[T7]:"Fragment",[E3]:"Teleport",[z7]:"Suspense",[dR]:"KeepAlive",[f0e]:"BaseTransition",[x6]:"openBlock",[_0e]:"createBlock",[p0e]:"createElementBlock",[YR]:"createVNode",[HQ]:"createElementVNode",[V7]:"createCommentVNode",[GQ]:"createTextVNode",[XQ]:"createStaticVNode",[mR]:"resolveComponent",[S7]:"resolveDynamicComponent",[QQ]:"resolveDirective",[l$e]:"resolveFilter",[YQ]:"withDirectives",[ZQ]:"renderList",[d0e]:"renderSlot",[m0e]:"createSlots",[ZR]:"toDisplayString",[B3]:"mergeProps",[KQ]:"normalizeClass",[eY]:"normalizeStyle",[x7]:"normalizeProps",[$7]:"guardReactiveProps",[tY]:"toHandlers",[UX]:"camelize",[u$e]:"capitalize",[zX]:"toHandlerKey",[hR]:"setBlockTracking",[rY]:"pushScopeId",[nY]:"popScopeId",[iY]:"withCtx",[k7]:"unref",[gR]:"isRef",[sY]:"withMemo",[h0e]:"isMemoSame"};function g0e(o){Object.getOwnPropertySymbols(o).forEach(i=>{z0[i]=o[i]})}const Tp={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function q7(o,i=Tp){return{type:0,children:o,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:i}}function C7(o,i,a,u,p,y,S,A=!1,N=!1,j=!1,z=Tp){return o&&(A?(o.helper(x6),o.helper(J3(o.inSSR,j))):o.helper(j3(o.inSSR,j)),S&&o.helper(YQ)),{type:13,tag:i,props:a,children:u,patchFlag:p,dynamicProps:y,directives:S,isBlock:A,disableTracking:N,isComponent:j,loc:z}}function q3(o,i=Tp){return{type:17,loc:i,elements:o}}function V0(o,i=Tp){return{type:15,loc:i,properties:o}}function vf(o,i){return{type:16,loc:Tp,key:fu(o)?Na(o,!0):o,value:i}}function Na(o,i=!1,a=Tp,u=0){return{type:4,loc:a,content:o,isStatic:i,constType:i?3:u}}function VX(o,i){return{type:5,loc:i,content:fu(o)?Na(o,!1,i):o}}function Fh(o,i=Tp){return{type:8,loc:i,children:o}}function mc(o,i=[],a=Tp){return{type:14,loc:a,callee:o,arguments:i}}function pv(o,i=void 0,a=!1,u=!1,p=Tp){return{type:18,params:o,returns:i,newline:a,isSlot:u,loc:p}}function k6(o,i,a,u=!0){return{type:19,test:o,consequent:i,alternate:a,newline:u,loc:Tp}}function f$e(o,i,a=!1){return{type:20,index:o,value:i,isVNode:a,loc:Tp}}function KR(o){return{type:21,body:o,loc:Tp}}function y0e(o){return{type:22,elements:o,loc:Tp}}function $X(o,i,a){return{type:23,test:o,consequent:i,alternate:a,loc:Tp}}function Nge(o,i){return{type:24,left:o,right:i,loc:Tp}}function _$e(o){return{type:25,expressions:o,loc:Tp}}function p$e(o){return{type:26,returns:o,loc:Tp}}function j3(o,i){return o||i?YR:HQ}function J3(o,i){return o||i?_0e:p0e}function aY(o,{helper:i,removeHelper:a,inSSR:u}){o.isBlock||(o.isBlock=!0,a(j3(u,o.isComponent)),i(x6),i(J3(u,o.isComponent)))}function X3t(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}function eB(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 oY={};Object.defineProperty(oY,"__esModule",{value:!0});const cJe={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 Q3t(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(cJe))i[a]=o&&o[a]!=null?o[a]:cJe[a];return i}class RF{constructor(i,a){this.token=void 0,this.preserveSpace=void 0,this.token=i,this.preserveSpace=!!a}}const t_={brace:new RF("{"),j_oTag:new RF("<tag"),j_cTag:new RF("</tag"),j_expr:new RF("<tag>...</tag>",!0)};t_.template=new RF("`",!0);const Jl=!0,xa=!0,jhe=!0,TF=!0,a6=!0,Y3t=!0;class d$e{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 v0e=new Map;function uu(o,i={}){i.keyword=o;const a=Bo(o,i);return v0e.set(o,a),a}function Ny(o,i){return Bo(o,{beforeExpr:Jl,binop:i})}let GF=-1;const vC=[],b0e=[],T0e=[],S0e=[],x0e=[],k0e=[];function Bo(o,i={}){var a,u,p,y;return++GF,b0e.push(o),T0e.push((a=i.binop)!=null?a:-1),S0e.push((u=i.beforeExpr)!=null?u:!1),x0e.push((p=i.startsExpr)!=null?p:!1),k0e.push((y=i.prefix)!=null?y:!1),vC.push(new d$e(o,i)),GF}function Xl(o,i={}){var a,u,p,y;return++GF,v0e.set(o,GF),b0e.push(o),T0e.push((a=i.binop)!=null?a:-1),S0e.push((u=i.beforeExpr)!=null?u:!1),x0e.push((p=i.startsExpr)!=null?p:!1),k0e.push((y=i.prefix)!=null?y:!1),vC.push(new d$e("name",i)),GF}const Z3t={bracketL:Bo("[",{beforeExpr:Jl,startsExpr:xa}),bracketHashL:Bo("#[",{beforeExpr:Jl,startsExpr:xa}),bracketBarL:Bo("[|",{beforeExpr:Jl,startsExpr:xa}),bracketR:Bo("]"),bracketBarR:Bo("|]"),braceL:Bo("{",{beforeExpr:Jl,startsExpr:xa}),braceBarL:Bo("{|",{beforeExpr:Jl,startsExpr:xa}),braceHashL:Bo("#{",{beforeExpr:Jl,startsExpr:xa}),braceR:Bo("}"),braceBarR:Bo("|}"),parenL:Bo("(",{beforeExpr:Jl,startsExpr:xa}),parenR:Bo(")"),comma:Bo(",",{beforeExpr:Jl}),semi:Bo(";",{beforeExpr:Jl}),colon:Bo(":",{beforeExpr:Jl}),doubleColon:Bo("::",{beforeExpr:Jl}),dot:Bo("."),question:Bo("?",{beforeExpr:Jl}),questionDot:Bo("?."),arrow:Bo("=>",{beforeExpr:Jl}),template:Bo("template"),ellipsis:Bo("...",{beforeExpr:Jl}),backQuote:Bo("`",{startsExpr:xa}),dollarBraceL:Bo("${",{beforeExpr:Jl,startsExpr:xa}),templateTail:Bo("...`",{startsExpr:xa}),templateNonTail:Bo("...${",{beforeExpr:Jl,startsExpr:xa}),at:Bo("@"),hash:Bo("#",{startsExpr:xa}),interpreterDirective:Bo("#!..."),eq:Bo("=",{beforeExpr:Jl,isAssign:TF}),assign:Bo("_=",{beforeExpr:Jl,isAssign:TF}),slashAssign:Bo("_=",{beforeExpr:Jl,isAssign:TF}),xorAssign:Bo("_=",{beforeExpr:Jl,isAssign:TF}),moduloAssign:Bo("_=",{beforeExpr:Jl,isAssign:TF}),incDec:Bo("++/--",{prefix:a6,postfix:Y3t,startsExpr:xa}),bang:Bo("!",{beforeExpr:Jl,prefix:a6,startsExpr:xa}),tilde:Bo("~",{beforeExpr:Jl,prefix:a6,startsExpr:xa}),doubleCaret:Bo("^^",{startsExpr:xa}),doubleAt:Bo("@@",{startsExpr:xa}),pipeline:Ny("|>",0),nullishCoalescing:Ny("??",1),logicalOR:Ny("||",1),logicalAND:Ny("&&",2),bitwiseOR:Ny("|",3),bitwiseXOR:Ny("^",4),bitwiseAND:Ny("&",5),equality:Ny("==/!=/===/!==",6),lt:Ny("</>/<=/>=",7),gt:Ny("</>/<=/>=",7),relational:Ny("</>/<=/>=",7),bitShift:Ny("<</>>/>>>",8),bitShiftL:Ny("<</>>/>>>",8),bitShiftR:Ny("<</>>/>>>",8),plusMin:Bo("+/-",{beforeExpr:Jl,binop:9,prefix:a6,startsExpr:xa}),modulo:Bo("%",{binop:10,startsExpr:xa}),star:Bo("*",{binop:10}),slash:Ny("/",10),exponent:Bo("**",{beforeExpr:Jl,binop:11,rightAssociative:!0}),_in:uu("in",{beforeExpr:Jl,binop:7}),_instanceof:uu("instanceof",{beforeExpr:Jl,binop:7}),_break:uu("break"),_case:uu("case",{beforeExpr:Jl}),_catch:uu("catch"),_continue:uu("continue"),_debugger:uu("debugger"),_default:uu("default",{beforeExpr:Jl}),_else:uu("else",{beforeExpr:Jl}),_finally:uu("finally"),_function:uu("function",{startsExpr:xa}),_if:uu("if"),_return:uu("return",{beforeExpr:Jl}),_switch:uu("switch"),_throw:uu("throw",{beforeExpr:Jl,prefix:a6,startsExpr:xa}),_try:uu("try"),_var:uu("var"),_const:uu("const"),_with:uu("with"),_new:uu("new",{beforeExpr:Jl,startsExpr:xa}),_this:uu("this",{startsExpr:xa}),_super:uu("super",{startsExpr:xa}),_class:uu("class",{startsExpr:xa}),_extends:uu("extends",{beforeExpr:Jl}),_export:uu("export"),_import:uu("import",{startsExpr:xa}),_null:uu("null",{startsExpr:xa}),_true:uu("true",{startsExpr:xa}),_false:uu("false",{startsExpr:xa}),_typeof:uu("typeof",{beforeExpr:Jl,prefix:a6,startsExpr:xa}),_void:uu("void",{beforeExpr:Jl,prefix:a6,startsExpr:xa}),_delete:uu("delete",{beforeExpr:Jl,prefix:a6,startsExpr:xa}),_do:uu("do",{isLoop:jhe,beforeExpr:Jl}),_for:uu("for",{isLoop:jhe}),_while:uu("while",{isLoop:jhe}),_as:Xl("as",{startsExpr:xa}),_assert:Xl("assert",{startsExpr:xa}),_async:Xl("async",{startsExpr:xa}),_await:Xl("await",{startsExpr:xa}),_from:Xl("from",{startsExpr:xa}),_get:Xl("get",{startsExpr:xa}),_let:Xl("let",{startsExpr:xa}),_meta:Xl("meta",{startsExpr:xa}),_of:Xl("of",{startsExpr:xa}),_sent:Xl("sent",{startsExpr:xa}),_set:Xl("set",{startsExpr:xa}),_static:Xl("static",{startsExpr:xa}),_using:Xl("using",{startsExpr:xa}),_yield:Xl("yield",{startsExpr:xa}),_asserts:Xl("asserts",{startsExpr:xa}),_checks:Xl("checks",{startsExpr:xa}),_exports:Xl("exports",{startsExpr:xa}),_global:Xl("global",{startsExpr:xa}),_implements:Xl("implements",{startsExpr:xa}),_intrinsic:Xl("intrinsic",{startsExpr:xa}),_infer:Xl("infer",{startsExpr:xa}),_is:Xl("is",{startsExpr:xa}),_mixins:Xl("mixins",{startsExpr:xa}),_proto:Xl("proto",{startsExpr:xa}),_require:Xl("require",{startsExpr:xa}),_satisfies:Xl("satisfies",{startsExpr:xa}),_keyof:Xl("keyof",{startsExpr:xa}),_readonly:Xl("readonly",{startsExpr:xa}),_unique:Xl("unique",{startsExpr:xa}),_abstract:Xl("abstract",{startsExpr:xa}),_declare:Xl("declare",{startsExpr:xa}),_enum:Xl("enum",{startsExpr:xa}),_module:Xl("module",{startsExpr:xa}),_namespace:Xl("namespace",{startsExpr:xa}),_interface:Xl("interface",{startsExpr:xa}),_type:Xl("type",{startsExpr:xa}),_opaque:Xl("opaque",{startsExpr:xa}),name:Bo("name",{startsExpr:xa}),string:Bo("string",{startsExpr:xa}),num:Bo("num",{startsExpr:xa}),bigint:Bo("bigint",{startsExpr:xa}),decimal:Bo("decimal",{startsExpr:xa}),regexp:Bo("regexp",{startsExpr:xa}),privateName:Bo("#name",{startsExpr:xa}),eof:Bo("eof"),jsxName:Bo("jsxName"),jsxText:Bo("jsxText",{beforeExpr:!0}),jsxTagStart:Bo("jsxTagStart",{startsExpr:!0}),jsxTagEnd:Bo("jsxTagEnd"),placeholder:Bo("%%",{startsExpr:!0})};function Nu(o){return o>=93&&o<=130}function K3t(o){return o<=92}function cx(o){return o>=58&&o<=130}function m$e(o){return o>=58&&o<=134}function ePt(o){return S0e[o]}function Ige(o){return x0e[o]}function tPt(o){return o>=29&&o<=33}function lJe(o){return o>=127&&o<=129}function rPt(o){return o>=90&&o<=92}function C0e(o){return o>=58&&o<=92}function nPt(o){return o>=39&&o<=59}function iPt(o){return o===34}function sPt(o){return k0e[o]}function aPt(o){return o>=119&&o<=121}function oPt(o){return o>=122&&o<=128}function y6(o){return b0e[o]}function gX(o){return T0e[o]}function cPt(o){return o===57}function qX(o){return o>=24&&o<=25}function hC(o){return vC[o]}vC[8].updateContext=o=>{o.pop()},vC[5].updateContext=vC[7].updateContext=vC[23].updateContext=o=>{o.push(t_.brace)},vC[22].updateContext=o=>{o[o.length-1]===t_.template?o.pop():o.push(t_.template)},vC[140].updateContext=o=>{o.push(t_.j_expr,t_.j_oTag)};function WX(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 v6{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 HX{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 My(o,i){const{line:a,column:u,index:p}=o;return new v6(a,u+i,p+i)}var Oge={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"};const lPt=(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)}}),uPt=(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,lPt(p.reflect.split("."))):p]).reduce((u,[p,y])=>Object.defineProperty(u,p,Object.assign({configurable:!0},y)),Object.assign(new o,i));var fPt={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:Oge.SourceTypeModuleError},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:Oge.SourceTypeModuleError}};const uJe={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"},Lge=({type:o,prefix:i})=>o==="UpdateExpression"?uJe.UpdateExpression[String(i)]:uJe[o];var _Pt={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 ${Lge(o)}.`,InvalidLhsBinding:({ancestor:o})=>`Binding invalid left-hand side in ${Lge(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."},pPt={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 dPt=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var mPt={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 ${Lge({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 hPt=["toMessage"],gPt=["message"];function yPt(o){let{toMessage:i}=o,a=WX(o,hPt);return function u({loc:p,details:y}){return uPt(SyntaxError,Object.assign({},a,{loc:p}),{clone(S={}){const A=S.loc||{};return u({loc:new v6("line"in A?A.line:this.loc.line,"column"in A?A.column:this.loc.column,"index"in A?A.index:this.loc.index),details:Object.assign({},this.details,S.details)})},details:{value:y,enumerable:!1},message:{get(){return`${i(this.details)} (${this.loc.line}:${this.loc.column})`},set(S){Object.defineProperty(this,"message",{value:S})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in y&&{reflect:"details.missingPlugin",enumerable:!0}})}}function TC(o,i){if(Array.isArray(o))return u=>TC(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:S}=y,A=WX(y,gPt),N=typeof S=="string"?()=>S:S;a[u]=yPt(Object.assign({code:Oge.SyntaxError,reasonCode:u,toMessage:N},i?{syntaxPlugin:i}:{},A))}return a}const Jr=Object.assign({},TC(fPt),TC(_Pt),TC(pPt),TC`pipelineOperator`(mPt)),{defineProperty:vPt}=Object,fJe=(o,i)=>vPt(o,i,{enumerable:!1,value:o[i]});function SF(o){return o.loc.start&&fJe(o.loc.start,"index"),o.loc.end&&fJe(o.loc.end,"index"),o}var bPt=o=>class extends o{parse(){const a=SF(super.parse());return this.options.tokens&&(a.tokens=a.tokens.map(SF)),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,S){super.parseBlockBody(a,u,p,y,S);const A=a.directives.map(N=>this.directiveToStmt(N));a.body=A.concat(a.body),delete a.directives}pushClassMethod(a,u,p,y,S,A){this.parseMethod(u,p,y,S,A,"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,S,A,N=!1){let j=this.startNode();return j.kind=a.kind,j=super.parseMethod(j,u,p,y,S,A,N),j.type="FunctionExpression",delete j.kind,a.value=j,A==="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,S){const A=super.parseObjectMethod(a,u,p,y,S);return A&&(A.type="Property",A.kind==="method"&&(A.kind="init"),A.shorthand=!1),A}parseObjectProperty(a,u,p,y){const S=super.parseObjectProperty(a,u,p,y);return S&&(S.kind="init",S.type="Property"),S}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(Jr.PatternHasAccessor,{at:a.key}):a.method?this.raise(Jr.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 S;const{declaration:A}=y;(A==null?void 0:A.type)==="ClassDeclaration"&&((S=A.decorators)==null?void 0:S.length)>0&&A.start===y.start&&this.resetStartLocation(y,p)}break}return y}parseSubscript(a,u,p,y){const S=super.parseSubscript(a,u,p,y);if(y.optionalChainMember){if((S.type==="OptionalMemberExpression"||S.type==="OptionalCallExpression")&&(S.type=S.type.substring(8)),y.stop){const A=this.startNodeAtNode(S);return A.expression=S,this.finishNode(A,"ChainExpression")}}else(S.type==="MemberExpression"||S.type==="CallExpression")&&(S.optional=!1);return S}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 SF(super.finishNodeAt(a,u,p))}resetStartLocation(a,u){super.resetStartLocation(a,u),SF(a)}resetEndLocation(a,u=this.state.lastTokEndLoc){super.resetEndLocation(a,u),SF(a)}};let w0e="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",h$e="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const TPt=new RegExp("["+w0e+"]"),SPt=new RegExp("["+w0e+h$e+"]");w0e=h$e=null;const g$e=[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],xPt=[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 Mge(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 bC(o){return o<65?o===36:o<=90?!0:o<97?o===95:o<=122?!0:o<=65535?o>=170&&TPt.test(String.fromCharCode(o)):Mge(o,g$e)}function s7(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&&SPt.test(String.fromCharCode(o)):Mge(o,g$e)||Mge(o,xPt)}const E0e={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"]},kPt=new Set(E0e.keyword),CPt=new Set(E0e.strict),wPt=new Set(E0e.strictBind);function y$e(o,i){return i&&o==="await"||o==="enum"}function v$e(o,i){return y$e(o,i)||CPt.has(o)}function b$e(o){return wPt.has(o)}function T$e(o,i){return v$e(o,i)||b$e(o)}function EPt(o){return kPt.has(o)}function APt(o,i,a){return o===64&&i===64&&bC(a)}const PPt=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 DPt(o){return PPt.has(o)}const QN=0,YN=1,SC=2,A0e=4,S$e=8,GX=16,x$e=32,S3=64,XX=128,a7=256,GG=YN|SC|XX|a7,dx=1,U3=2,k$e=4,A3=8,yX=16,C$e=64,QX=128,Fge=256,Rge=512,P0e=1024,Bge=2048,XF=4096,cY=8192,w$e=dx|U3|A3|QX|cY,o7=dx|0|A3|cY,NPt=dx|0|A3|0,YX=dx|0|k$e|0,E$e=dx|0|yX|0,IPt=0|U3|0|QX,OPt=0|U3|0|0,A$e=dx|U3|A3|Fge|cY,_Je=0|P0e,m6=0|C$e,LPt=dx|0|0|C$e,MPt=A$e|Rge,FPt=0|P0e,pJe=0|U3|0|XF,RPt=Bge,ZX=4,D0e=2,N0e=1,Jhe=D0e|N0e,BPt=D0e|ZX,jPt=N0e|ZX,JPt=D0e,UPt=N0e,Uhe=0;class I0e{constructor(i){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=i}}class O0e{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&YN)>0}get inFunction(){return(this.currentVarScopeFlags()&SC)>0}get allowSuper(){return(this.currentThisScopeFlags()&GX)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&x$e)>0}get inClass(){return(this.currentThisScopeFlags()&S3)>0}get inClassAndNotInNonArrowFunction(){const i=this.currentThisScopeFlags();return(i&S3)>0&&(i&SC)===0}get inStaticBlock(){for(let i=this.scopeStack.length-1;;i--){const{flags:a}=this.scopeStack[i];if(a&XX)return!0;if(a&(GG|S3))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&SC)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(i){return new I0e(i)}enter(i){this.scopeStack.push(this.createScope(i))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(i){return!!(i.flags&(SC|XX)||!this.parser.inModule&&i.flags&YN)}declareName(i,a,u){let p=this.currentScope();if(a&A3||a&yX)this.checkRedeclarationInScope(p,i,a,u),a&yX?p.functions.add(i):p.lexical.add(i),a&A3&&this.maybeExportDefined(p,i);else if(a&k$e)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&GG));--y);this.parser.inModule&&p.flags&YN&&this.undefinedExports.delete(i)}maybeExportDefined(i,a){this.parser.inModule&&i.flags&YN&&this.undefinedExports.delete(a)}checkRedeclarationInScope(i,a,u,p){this.isRedeclaredInScope(i,a,u)&&this.parser.raise(Jr.VarRedeclaration,{at:p,identifierName:a})}isRedeclaredInScope(i,a,u){return u&dx?u&A3?i.lexical.has(a)||i.functions.has(a)||i.var.has(a):u&yX?i.lexical.has(a)||!this.treatFunctionsAsVarInScope(i)&&i.var.has(a):i.lexical.has(a)&&!(i.flags&S$e&&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&GG)return a}}currentThisScopeFlags(){for(let i=this.scopeStack.length-1;;i--){const{flags:a}=this.scopeStack[i];if(a&(GG|S3)&&!(a&A0e))return a}}}class zPt extends I0e{constructor(...i){super(...i),this.declareFunctions=new Set}}class VPt extends O0e{createScope(i){return new zPt(i)}declareName(i,a,u){const p=this.currentScope();if(a&Bge){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&Bge?!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 $Pt{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 P$e(o,i){o.trailingComments===void 0?o.trailingComments=i:o.trailingComments.unshift(...i)}function qPt(o,i){o.leadingComments===void 0?o.leadingComments=i:o.leadingComments.unshift(...i)}function yR(o,i){o.innerComments===void 0?o.innerComments=i:o.innerComments.unshift(...i)}function xF(o,i,a){let u=null,p=i.length;for(;u===null&&p>0;)u=i[--p];u===null||u.start>a.start?yR(o,a.comments):P$e(u,a.comments)}class WPt extends $Pt{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:S}=i;for(;p>=0;p--){const A=a[p],N=A.end;if(N>S)A.containingNode=i,this.finalizeComment(A),a.splice(p,1);else{N===S&&(A.trailingNode=i);break}}}finalizeComment(i){const{comments:a}=i;if(i.leadingNode!==null||i.trailingNode!==null)i.leadingNode!==null&&P$e(i.leadingNode,a),i.trailingNode!==null&&qPt(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":xF(u,u.properties,i);break;case"CallExpression":case"OptionalCallExpression":xF(u,u.arguments,i);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":xF(u,u.params,i);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":xF(u,u.elements,i);break;case"ExportNamedDeclaration":case"ImportDeclaration":xF(u,u.specifiers,i);break;default:yR(u,a)}else yR(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 S=y-1;for(;S>=0;S--){const A=p[S],N=A.end;if(A.start===u)A.leadingNode=i;else if(N===a)A.trailingNode=i;else if(N<a)break}}}const L0e=/\r\n?|[\n\u2028\u2029]/,XG=new RegExp(L0e.source,"g");function QF(o){switch(o){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}const zhe=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,HPt=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y,dJe=new RegExp("(?=("+HPt.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function GPt(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 M0e{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=[t_.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 v6(u,p,0)}curPosition(){return new v6(this.curLine,this.pos-this.lineStart,this.pos)}clone(i){const a=new M0e,u=Object.keys(this);for(let p=0,y=u.length;p<y;p++){const S=u[p];let A=this[S];!i&&Array.isArray(A)&&(A=A.slice()),a[S]=A}return a}}var XPt=function(i){return i>=48&&i<=57};const mJe={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},QG={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 hJe(o,i,a,u,p,y){const S=a,A=u,N=p;let j="",z=null,G=a;const{length:te}=i;for(;;){if(a>=te){y.unterminated(S,A,N),j+=i.slice(G,a);break}const Oe=i.charCodeAt(a);if(QPt(o,Oe,i,a)){j+=i.slice(G,a);break}if(Oe===92){j+=i.slice(G,a);const $e=YPt(i,a,u,p,o==="template",y);$e.ch===null&&!z?z={pos:a,lineStart:u,curLine:p}:j+=$e.ch,{pos:a,lineStart:u,curLine:p}=$e,G=a}else Oe===8232||Oe===8233?(++a,++p,u=a):Oe===10||Oe===13?o==="template"?(j+=i.slice(G,a)+`
`,++a,Oe===13&&i.charCodeAt(a)===10&&++a,++p,G=u=a):y.unterminated(S,A,N):++a}return{pos:a,str:j,firstInvalidLoc:z,lineStart:u,curLine:p,containsInvalid:!!z}}function QPt(o,i,a,u){return o==="template"?i===96||i===36&&a.charCodeAt(u+1)===123:i===(o==="double"?34:39)}function YPt(o,i,a,u,p,y){const S=!p;i++;const A=j=>({pos:i,ch:j,lineStart:a,curLine:u}),N=o.charCodeAt(i++);switch(N){case 110:return A(`
`);case 114:return A("\r");case 120:{let j;return{code:j,pos:i}=jge(o,i,a,u,2,!1,S,y),A(j===null?null:String.fromCharCode(j))}case 117:{let j;return{code:j,pos:i}=N$e(o,i,a,u,S,y),A(j===null?null:String.fromCodePoint(j))}case 116:return A(" ");case 98:return A("\b");case 118:return A("\v");case 102:return A("\f");case 13:o.charCodeAt(i)===10&&++i;case 10:a=i,++u;case 8232:case 8233:return A("");case 56:case 57:if(p)return A(null);y.strictNumericEscape(i-1,a,u);default:if(N>=48&&N<=55){const j=i-1;let G=o.slice(j,i+2).match(/^[0-7]+/)[0],te=parseInt(G,8);te>255&&(G=G.slice(0,-1),te=parseInt(G,8)),i+=G.length-1;const Oe=o.charCodeAt(i);if(G!=="0"||Oe===56||Oe===57){if(p)return A(null);y.strictNumericEscape(j,a,u)}return A(String.fromCharCode(te))}return A(String.fromCharCode(N))}}function jge(o,i,a,u,p,y,S,A){const N=i;let j;return{n:j,pos:i}=D$e(o,i,a,u,16,p,y,!1,A,!S),j===null&&(S?A.invalidEscapeSequence(N,a,u):i=N-1),{code:j,pos:i}}function D$e(o,i,a,u,p,y,S,A,N,j){const z=i,G=p===16?mJe.hex:mJe.decBinOct,te=p===16?QG.hex:p===10?QG.dec:p===8?QG.oct:QG.bin;let Oe=!1,$e=0;for(let Be=0,Qe=y??1/0;Be<Qe;++Be){const Ue=o.charCodeAt(i);let yt;if(Ue===95&&A!=="bail"){const ot=o.charCodeAt(i-1),Ve=o.charCodeAt(i+1);if(A){if(Number.isNaN(Ve)||!te(Ve)||G.has(ot)||G.has(Ve)){if(j)return{n:null,pos:i};N.unexpectedNumericSeparator(i,a,u)}}else{if(j)return{n:null,pos:i};N.numericSeparatorInEscapeSequence(i,a,u)}++i;continue}if(Ue>=97?yt=Ue-97+10:Ue>=65?yt=Ue-65+10:XPt(Ue)?yt=Ue-48:yt=1/0,yt>=p){if(yt<=9&&j)return{n:null,pos:i};if(yt<=9&&N.invalidDigit(i,a,u,p))yt=0;else if(S)yt=0,Oe=!0;else break}++i,$e=$e*p+yt}return i===z||y!=null&&i-z!==y||Oe?{n:null,pos:i}:{n:$e,pos:i}}function N$e(o,i,a,u,p,y){const S=o.charCodeAt(i);let A;if(S===123){if(++i,{code:A,pos:i}=jge(o,i,a,u,o.indexOf("}",i)-i,!0,p,y),++i,A!==null&&A>1114111)if(p)y.invalidCodePoint(i,a,u);else return{code:null,pos:i}}else({code:A,pos:i}=jge(o,i,a,u,4,!1,p,y));return{code:A,pos:i}}const ZPt=["at"],KPt=["at"];function kF(o,i,a){return new v6(a,o-i,o)}const eDt=new Set([103,109,115,105,121,117,100,118]);class l6{constructor(i){this.type=i.type,this.value=i.value,this.start=i.start,this.end=i.end,this.loc=new HX(i.startLoc,i.endLoc)}}class tDt extends WPt{constructor(i,a){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(u,p,y,S)=>this.options.errorRecovery?(this.raise(Jr.InvalidDigit,{at:kF(u,p,y),radix:S}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(Jr.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(Jr.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(Jr.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(Jr.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(u,p,y)=>{this.recordStrictModeErrors(Jr.StrictNumericEscape,{at:kF(u,p,y)})},unterminated:(u,p,y)=>{throw this.raise(Jr.UnterminatedString,{at:kF(u-1,p,y)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(Jr.StrictNumericEscape),unterminated:(u,p,y)=>{throw this.raise(Jr.UnterminatedTemplate,{at:kF(u,p,y)})}}),this.state=new M0e,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 l6(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 zhe.lastIndex=i,zhe.test(this.input)?zhe.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(Jr.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=p+i.length,XG.lastIndex=u+2;XG.test(this.input)&&XG.lastIndex<=p;)++this.state.curLine,this.state.lineStart=XG.lastIndex;if(this.isLookahead)return;const y={type:"CommentBlock",value:this.input.slice(u+2,p),start:u,end:p+i.length,loc:new HX(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(;!QF(p)&&++this.state.pos<this.length;)p=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const y=this.state.pos,A={type:"CommentLine",value:this.input.slice(a+i,y),start:a,end:y,loc:new HX(u,this.state.curPosition())};return this.options.tokens&&this.pushToken(A),A}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(GPt(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(Jr.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?Jr.RecordExpressionHashIncorrectStartSyntaxType:Jr.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,a===123?this.finishToken(7):this.finishToken(1)}else bC(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;!QF(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(Jr.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(Jr.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(Jr.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(Jr.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(bC(i)){this.readWord(i);return}}throw this.raise(Jr.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(Jr.UnterminatedRegExp,{at:My(i,1)});const j=this.input.charCodeAt(y);if(QF(j))throw this.raise(Jr.UnterminatedRegExp,{at:My(i,1)});if(u)u=!1;else{if(j===91)p=!0;else if(j===93&&p)p=!1;else if(j===47&&!p)break;u=j===92}}const S=this.input.slice(a,y);++y;let A="";const N=()=>My(i,y+2-a);for(;y<this.length;){const j=this.codePointAtPos(y),z=String.fromCharCode(j);if(eDt.has(j))j===118?(this.expectPlugin("regexpUnicodeSets",N()),A.includes("u")&&this.raise(Jr.IncompatibleRegExpUVFlags,{at:N()})):j===117&&A.includes("v")&&this.raise(Jr.IncompatibleRegExpUVFlags,{at:N()}),A.includes(z)&&this.raise(Jr.DuplicateRegExpFlags,{at:N()});else if(s7(j)||j===92)this.raise(Jr.MalformedRegExpFlags,{at:N()});else break;++y,A+=z}this.state.pos=y,this.finishToken(135,{pattern:S,flags:A})}readInt(i,a,u=!1,p=!0){const{n:y,pos:S}=D$e(this.input,this.state.pos,this.state.lineStart,this.state.curLine,i,a,u,p,this.errorHandlers_readInt,!1);return this.state.pos=S,y}readRadixNumber(i){const a=this.state.curPosition();let u=!1;this.state.pos+=2;const p=this.readInt(i);p==null&&this.raise(Jr.InvalidDigit,{at:My(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(Jr.InvalidDecimal,{at:a});if(bC(this.codePointAtPos(this.state.pos)))throw this.raise(Jr.NumberIdentifier,{at:this.state.curPosition()});if(u){const S=this.input.slice(a.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,S);return}this.finishToken(132,p)}readNumber(i){const a=this.state.pos,u=this.state.curPosition();let p=!1,y=!1,S=!1,A=!1,N=!1;!i&&this.readInt(10)===null&&this.raise(Jr.InvalidNumber,{at:this.state.curPosition()});const j=this.state.pos-a>=2&&this.input.charCodeAt(a)===48;if(j){const Oe=this.input.slice(a,this.state.pos);if(this.recordStrictModeErrors(Jr.StrictOctalLiteral,{at:u}),!this.state.strict){const $e=Oe.indexOf("_");$e>0&&this.raise(Jr.ZeroDigitNumericSeparator,{at:My(u,$e)})}N=j&&!/[89]/.test(Oe)}let z=this.input.charCodeAt(this.state.pos);if(z===46&&!N&&(++this.state.pos,this.readInt(10),p=!0,z=this.input.charCodeAt(this.state.pos)),(z===69||z===101)&&!N&&(z=this.input.charCodeAt(++this.state.pos),(z===43||z===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(Jr.InvalidOrMissingExponent,{at:u}),p=!0,A=!0,z=this.input.charCodeAt(this.state.pos)),z===110&&((p||j)&&this.raise(Jr.InvalidBigIntLiteral,{at:u}),++this.state.pos,y=!0),z===109&&(this.expectPlugin("decimal",this.state.curPosition()),(A||j)&&this.raise(Jr.InvalidDecimal,{at:u}),++this.state.pos,S=!0),bC(this.codePointAtPos(this.state.pos)))throw this.raise(Jr.NumberIdentifier,{at:this.state.curPosition()});const G=this.input.slice(a,this.state.pos).replace(/[_mn]/g,"");if(y){this.finishToken(133,G);return}if(S){this.finishToken(134,G);return}const te=N?parseInt(G,8):parseFloat(G);this.finishToken(132,te)}readCodePoint(i){const{code:a,pos:u}=N$e(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}=hJe(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:S}=hJe("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=S,this.state.curLine=y,u&&(this.state.firstInvalidTemplateEscapePos=new v6(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(s7(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 S=this.state.curPosition(),A=this.state.pos===u?bC:s7;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(Jr.MissingUnicodeEscape,{at:this.state.curPosition()}),p=this.state.pos-1;continue}++this.state.pos;const N=this.readCodePoint(!0);N!==null&&(A(N)||this.raise(Jr.EscapedCharNotAnIdentifier,{at:S}),a+=String.fromCodePoint(N)),p=this.state.pos}else break}return a+this.input.slice(p,this.state.pos)}readWord(i){const a=this.readWord1(i),u=v0e.get(a);u!==void 0?this.finishToken(u,y6(u)):this.finishToken(130,a)}checkKeywordEscapes(){const{type:i}=this.state;C0e(i)&&this.state.containsEsc&&this.raise(Jr.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:y6(i)})}raise(i,a){const{at:u}=a,p=WX(a,ZPt),y=u instanceof v6?u:u.loc.start,S=i({loc:y,details:p});if(!this.options.errorRecovery)throw S;return this.isLookahead||this.state.errors.push(S),S}raiseOverwrite(i,a){const{at:u}=a,p=WX(a,KPt),y=u instanceof v6?u:u.loc.start,S=y.index,A=this.state.errors;for(let N=A.length-1;N>=0;N--){const j=A[N];if(j.loc.index===S)return A[N]=i({loc:y,details:p});if(j.loc.index<S)break}return this.raise(i,a)}updateContext(i){}unexpected(i,a){throw this.raise(Jr.UnexpectedToken,{expected:a?y6(a):null,at:i??this.state.startLoc})}expectPlugin(i,a){if(this.hasPlugin(i))return!0;throw this.raise(Jr.MissingPlugin,{at:a??this.state.startLoc,missingPlugin:[i]})}expectOnePlugin(i){if(!i.some(a=>this.hasPlugin(a)))throw this.raise(Jr.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:i})}errorBuilder(i){return(a,u,p)=>{this.raise(i,{at:kF(a,u,p)})}}}class rDt{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class nDt{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 rDt)}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(Jr.InvalidPrivateFieldResolution,{at:p,identifierName:u})}declarePrivateName(i,a,u){const{privateNames:p,loneAccessors:y,undefinedPrivateNames:S}=this.current();let A=p.has(i);if(a&Jhe){const N=A&&y.get(i);if(N){const j=N&ZX,z=a&ZX,G=N&Jhe,te=a&Jhe;A=G===te||j!==z,A||y.delete(i)}else A||y.set(i,a)}A&&this.parser.raise(Jr.PrivateNameRedeclaration,{at:u,identifierName:i}),p.add(i),S.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(Jr.InvalidPrivateFieldResolution,{at:a,identifierName:i})}}const iDt=0,I$e=1,F0e=2,O$e=3;class lY{constructor(i=iDt){this.type=void 0,this.type=i}canBeArrowParameterDeclaration(){return this.type===F0e||this.type===I$e}isCertainlyParameterDeclaration(){return this.type===O$e}}class L$e extends lY{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 sDt{constructor(i){this.parser=void 0,this.stack=[new lY],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,S=p[y];for(;!S.isCertainlyParameterDeclaration();){if(S.canBeArrowParameterDeclaration())S.recordDeclarationError(i,u);else return;S=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===F0e&&p.recordDeclarationError(Jr.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,S=i[y];for(;S.canBeArrowParameterDeclaration();)S.clearDeclarationError(p.index),S=i[--y]})}}function aDt(){return new lY(O$e)}function oDt(){return new L$e(I$e)}function cDt(){return new L$e(F0e)}function M$e(){return new lY}const c7=0,F$e=1,uY=2,R$e=4,WN=8;class lDt{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()&uY)>0}get hasYield(){return(this.currentFlags()&F$e)>0}get hasReturn(){return(this.currentFlags()&R$e)>0}get hasIn(){return(this.currentFlags()&WN)>0}}function vX(o,i){return(o?uY:0)|(i?F$e:0)}class uDt extends tDt{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!(s7(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 L0e.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return dJe.lastIndex=this.state.end,dJe.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(i=!0){(i?this.isLineTerminator():this.eat(13))||this.raise(Jr.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:S}=i,A=!!u||!!p||!!S||!!y;if(!a)return A;u!=null&&this.raise(Jr.InvalidCoverInitializedName,{at:u}),p!=null&&this.raise(Jr.DuplicateProto,{at:p}),y!=null&&this.raise(Jr.UnexpectedPrivateField,{at:y}),S!=null&&this.unexpected(S)}isLiteralPropertyName(){return m$e(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,S=this.getScopeHandler();this.scope=new S(this,i);const A=this.prodParam;this.prodParam=new lDt;const N=this.classScope;this.classScope=new nDt(this);const j=this.expressionScope;return this.expressionScope=new sDt(this),()=>{this.state.labels=a,this.exportedIdentifiers=u,this.inModule=p,this.scope=y,this.prodParam=A,this.classScope=N,this.expressionScope=j}}enterInitialScopes(){let i=c7;this.inModule&&(i|=uY),this.scope.enter(YN),this.prodParam.enter(i)}checkDestructuringPrivate(i){const{privateKeyLoc:a}=i;a!==null&&this.expectPlugin("destructuringPrivate",a)}}class bX{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}let KX=class{constructor(i,a,u){this.type="",this.start=a,this.end=0,this.loc=new HX(u),i!=null&&i.options.ranges&&(this.range=[a,0]),i!=null&&i.filename&&(this.loc.filename=i.filename)}};const R0e=KX.prototype;R0e.__clone=function(){const o=new KX(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 fDt(o){return DC(o)}function DC(o){const{type:i,start:a,end:u,loc:p,range:y,extra:S,name:A}=o,N=Object.create(R0e);return N.type=i,N.start=a,N.end=u,N.loc=p,N.range=y,N.extra=S,N.name=A,i==="Placeholder"&&(N.expectedNode=o.expectedNode),N}function _Dt(o){const{type:i,start:a,end:u,loc:p,range:y,extra:S}=o;if(i==="Placeholder")return fDt(o);const A=Object.create(R0e);return A.type=i,A.start=a,A.end=u,A.loc=p,A.range=y,o.raw!==void 0?A.raw=o.raw:A.extra=S,A.value=o.value,A}class pDt extends uDt{startNode(){return new KX(this,this.state.start,this.state.startLoc)}startNodeAt(i){return new KX(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 dDt=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Xo=TC`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 mDt(o){return o.type==="DeclareExportAllDeclaration"||o.type==="DeclareExportDeclaration"&&(!o.declaration||o.declaration.type!=="TypeAlias"&&o.declaration.type!=="InterfaceDeclaration")}function Vhe(o){return o.importKind==="type"||o.importKind==="typeof"}function gJe(o){return cx(o)&&o!==97}const hDt={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function gDt(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 yDt=/\*?\s*@((?:no)?flow)\b/;var vDt=o=>class extends o{constructor(...a){super(...a),this.flowPragma=void 0}getScopeHandler(){return VPt}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=yDt.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(Xo.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 S=this.flowParseFunctionTypeParams();return p.params=S.params,p.rest=S.rest,p.this=S._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,RPt,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(Xo.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,YX,a.id.loc.start),this.semicolon(),this.finishNode(a,"DeclareVariable")}flowParseDeclareModule(a){this.scope.enter(QN),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 A=this.startNode();this.match(83)?(this.next(),!this.isContextual(128)&&!this.match(87)&&this.raise(Xo.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(A)):(this.expectContextual(123,Xo.UnsupportedStatementInDeclareModule),A=this.flowParseDeclare(A,!0)),p.push(A)}this.scope.exit(),this.expect(8),this.finishNode(u,"BlockStatement");let y=null,S=!1;return p.forEach(A=>{mDt(A)?(y==="CommonJS"&&this.raise(Xo.AmbiguousDeclareModuleKind,{at:A}),y="ES"):A.type==="DeclareModuleExports"&&(S&&this.raise(Xo.DuplicateDeclareModuleExports,{at:A}),y==="ES"&&this.raise(Xo.AmbiguousDeclareModuleKind,{at:A}),y="CommonJS",S=!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(Xo.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:p,suggestion:hDt[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?E$e:o7,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(Xo.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(a,u,p){dDt.has(a)&&this.raise(p?Xo.AssignReservedType:Xo.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,o7,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,o7,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(),S=this.flowParseTypeAnnotatableIdentifier();return p.name=S.name,p.variance=y,p.bound=S.typeAnnotation,this.match(29)?(this.eat(29),p.default=this.flowParseType()):a&&this.raise(Xo.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:S}){const A=this.state.inType;this.state.inType=!0;const N=this.startNode();N.callProperties=[],N.properties=[],N.indexers=[],N.internalSlots=[];let j,z,G=!1;for(u&&this.match(6)?(this.expect(6),j=9,z=!0):(this.expect(5),j=8,z=!1),N.exact=z;!this.match(j);){let Oe=!1,$e=null,Be=null;const Qe=this.startNode();if(y&&this.isContextual(116)){const yt=this.lookahead();yt.type!==14&&yt.type!==17&&(this.next(),$e=this.state.startLoc,a=!1)}if(a&&this.isContextual(104)){const yt=this.lookahead();yt.type!==14&&yt.type!==17&&(this.next(),Oe=!0)}const Ue=this.flowParseVariance();if(this.eat(0))$e!=null&&this.unexpected($e),this.eat(0)?(Ue&&this.unexpected(Ue.loc.start),N.internalSlots.push(this.flowParseObjectTypeInternalSlot(Qe,Oe))):N.indexers.push(this.flowParseObjectTypeIndexer(Qe,Oe,Ue));else if(this.match(10)||this.match(47))$e!=null&&this.unexpected($e),Ue&&this.unexpected(Ue.loc.start),N.callProperties.push(this.flowParseObjectTypeCallProperty(Qe,Oe));else{let yt="init";if(this.isContextual(98)||this.isContextual(103)){const Ve=this.lookahead();m$e(Ve.type)&&(yt=this.state.value,this.next())}const ot=this.flowParseObjectTypeProperty(Qe,Oe,$e,Ue,yt,p,S??!z);ot===null?(G=!0,Be=this.state.lastTokStartLoc):N.properties.push(ot)}this.flowObjectTypeSemicolon(),Be&&!this.match(8)&&!this.match(9)&&this.raise(Xo.UnexpectedExplicitInexactInObject,{at:Be})}this.expect(j),p&&(N.inexact=G);const te=this.finishNode(N,"ObjectTypeAnnotation");return this.state.inType=A,te}flowParseObjectTypeProperty(a,u,p,y,S,A,N){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(A?N||this.raise(Xo.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(Xo.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),y&&this.raise(Xo.InexactVariance,{at:y}),null):(A||this.raise(Xo.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),p!=null&&this.unexpected(p),y&&this.raise(Xo.SpreadVariance,{at:y}),a.argument=this.flowParseType(),this.finishNode(a,"ObjectTypeSpreadProperty"));{a.key=this.flowParseObjectPropertyKey(),a.static=u,a.proto=p!=null,a.kind=S;let j=!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)),(S==="get"||S==="set")&&this.flowCheckGetterSetterParams(a),!A&&a.key.name==="constructor"&&a.value.this&&this.raise(Xo.ThisParamBannedInConstructor,{at:a.value.this})):(S!=="init"&&this.unexpected(),a.method=!1,this.eat(17)&&(j=!0),a.value=this.flowParseTypeInitialiser(),a.variance=y),a.optional=j,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"?Xo.GetterMayNotHaveThisParam:Xo.SetterMayNotHaveThisParam,{at:a.value.this}),p!==u&&this.raise(a.kind==="get"?Jr.BadGetterArity:Jr.BadSetterArity,{at:a}),a.kind==="set"&&a.value.rest&&this.raise(Jr.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 S=this.startNodeAt(a);S.qualification=y,S.id=this.flowParseRestrictedIdentifier(!0),y=this.finishNode(S,"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 S=this.startNode(),A=this.lookahead(),N=this.state.type===78;return A.type===14||A.type===17?(N&&!a&&this.raise(Xo.ThisParamMustBeFirst,{at:S}),u=this.parseIdentifier(N),this.eat(17)&&(p=!0,N&&this.raise(Xo.ThisParamMayNotBeOptional,{at:S})),y=this.flowParseTypeInitialiser()):y=this.flowParseType(),S.name=u,S.optional=p,S.typeAnnotation=y,this.finishNode(S,"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,S=!1;const A=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=A,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(Nu(this.state.type)||this.match(78)){const N=this.lookahead().type;S=N!==17&&N!==14}else S=!0;if(S){if(this.state.noAnonFunctionType=!1,y=this.flowParseType(),this.state.noAnonFunctionType=A,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(Xo.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(C0e(this.state.type)){const N=y6(this.state.type);return this.next(),super.createIdentifier(u,N)}else if(Nu(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),S=this.eat(18);p=p||S,this.expect(0),!S&&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=S,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(cx(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)||Nu(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(a)}else if(Nu(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 lJe(a)||this.shouldParseEnums()&&a===124?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:a}=this.state;return lJe(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 te=this.lookaheadCharCode();if(te===44||te===61||te===58||te===41)return this.setOptionalParametersError(p),a}this.expect(17);const y=this.state.clone(),S=this.state.noArrowAt,A=this.startNodeAt(u);let{consequent:N,failed:j}=this.tryParseConditionalConsequent(),[z,G]=this.getArrowLikeExpressions(N);if(j||G.length>0){const te=[...S];if(G.length>0){this.state=y,this.state.noArrowAt=te;for(let Oe=0;Oe<G.length;Oe++)te.push(G[Oe].start);({consequent:N,failed:j}=this.tryParseConditionalConsequent()),[z,G]=this.getArrowLikeExpressions(N)}j&&z.length>1&&this.raise(Xo.AmbiguousConditionalArrow,{at:y.startLoc}),j&&z.length===1&&(this.state=y,te.push(z[0].start),this.state.noArrowAt=te,{consequent:N,failed:j}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(N,!0),this.state.noArrowAt=S,this.expect(14),A.test=a,A.consequent=N,A.alternate=this.forwardNoArrowParamsConversionAt(A,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(A,"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 S=p.pop();S.type==="ArrowFunctionExpression"?(S.typeParameters||!S.returnType?this.finishArrowValidation(S):y.push(S),p.push(S.body)):S.type==="ConditionalExpression"&&(p.push(S.consequent),p.push(S.alternate))}return u?(y.forEach(S=>this.finishArrowValidation(S)),[y,[]]):gDt(y,S=>S.params.every(A=>this.isAssignable(A,!0)))}finishArrowValidation(a){var u;this.toAssignableList(a.params,(u=a.extra)==null?void 0:u.trailingCommaLoc,!1),this.scope.enter(SC|A0e),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(Xo.DeclareClassElement,{at:y}):u.value&&this.raise(Xo.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(Jr.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):APt(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 S=a[y];(S==null?void 0:S.type)==="TypeCastExpression"&&(a[y]=this.typeCastToParameter(S))}super.toAssignableList(a,u,p)}toReferencedList(a,u){for(let y=0;y<a.length;y++){var p;const S=a[y];S&&S.type==="TypeCastExpression"&&!((p=S.extra)!=null&&p.parenthesized)&&(a.length>1||!u)&&this.raise(Xo.TypeCastInPattern,{at:S.typeAnnotation})}return a}parseArrayLike(a,u,p,y){const S=super.parseArrayLike(a,u,p,y);return u&&!this.state.maybeInArrowParameters&&this.toReferencedList(S.elements),S}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,S,A){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,S,A),u.params&&S){const N=u.params;N.length>0&&this.isThisParam(N[0])&&this.raise(Xo.ThisParamBannedInConstructor,{at:u})}else if(u.type==="MethodDefinition"&&S&&u.value.params){const N=u.value.params;N.length>0&&this.isThisParam(N[0])&&this.raise(Xo.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(Xo.GetterMayNotHaveThisParam,{at:p}):this.isThisParam(p)&&this.raise(Xo.SetterMayNotHaveThisParam,{at:p})}}parsePropertyNamePrefixOperator(a){a.variance=this.flowParseVariance()}parseObjPropValue(a,u,p,y,S,A,N){a.variance&&this.unexpected(a.variance.loc.start),delete a.variance;let j;this.match(47)&&!A&&(j=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const z=super.parseObjPropValue(a,u,p,y,S,A,N);return j&&((z.value||z).typeParameters=j),z}parseAssignableListItemTypes(a){return this.eat(17)&&(a.type!=="Identifier"&&this.raise(Xo.PatternIsOptional,{at:a}),this.isThisParam(a)&&this.raise(Xo.ThisParamMayNotBeOptional,{at:a}),a.optional=!0),this.match(14)?a.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(a)&&this.raise(Xo.ThisParamAnnotationRequired,{at:a}),this.match(29)&&this.isThisParam(a)&&this.raise(Xo.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(Xo.TypeBeforeInitializer,{at:p.typeAnnotation}),p}shouldParseDefaultImport(a){return Vhe(a)?gJe(this.state.type):super.shouldParseDefaultImport(a)}checkImportReflection(a){super.checkImportReflection(a),a.module&&a.importKind!=="value"&&this.raise(Xo.ImportReflectionHasImportType,{at:a.specifiers[0].loc.start})}parseImportSpecifierLocal(a,u,p){u.local=Vhe(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),(gJe(y)||y===5||y===55)&&(this.next(),a.importKind=u)}return super.maybeParseDefaultImportSpecifier(a)}parseImportSpecifier(a,u,p,y,S){const A=a.imported;let N=null;A.type==="Identifier"&&(A.name==="type"?N="type":A.name==="typeof"&&(N="typeof"));let j=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const G=this.parseIdentifier(!0);N!==null&&!cx(this.state.type)?(a.imported=G,a.importKind=N,a.local=DC(G)):(a.imported=A,a.importKind=null,a.local=this.parseIdentifier())}else{if(N!==null&&cx(this.state.type))a.imported=this.parseIdentifier(!0),a.importKind=N;else{if(u)throw this.raise(Jr.ImportBindingIsString,{at:a,importName:A.value});a.imported=A,a.importKind=null}this.eatContextual(93)?a.local=this.parseIdentifier():(j=!0,a.local=DC(a.imported))}const z=Vhe(a);return p&&z&&this.raise(Xo.ImportTypeShorthandOnlyInPureImport,{at:a}),(p||z)&&this.checkReservedType(a.local.name,a.local.loc.start,!0),j&&!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,S;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(y=this.state.clone(),S=this.tryParse(()=>super.parseMaybeAssign(a,u),y),!S.error)return S.node;const{context:j}=this.state,z=j[j.length-1];(z===t_.j_oTag||z===t_.j_expr)&&j.pop()}if((p=S)!=null&&p.error||this.match(47)){var A,N;y=y||this.state.clone();let j;const z=this.tryParse(te=>{var Oe;j=this.flowParseTypeParameterDeclaration();const $e=this.forwardNoArrowParamsConversionAt(j,()=>{const Qe=super.parseMaybeAssign(a,u);return this.resetStartLocationFromNode(Qe,j),Qe});(Oe=$e.extra)!=null&&Oe.parenthesized&&te();const Be=this.maybeUnwrapTypeCastExpression($e);return Be.type!=="ArrowFunctionExpression"&&te(),Be.typeParameters=j,this.resetStartLocationFromNode(Be,j),$e},y);let G=null;if(z.node&&this.maybeUnwrapTypeCastExpression(z.node).type==="ArrowFunctionExpression"){if(!z.error&&!z.aborted)return z.node.async&&this.raise(Xo.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:j}),z.node;G=z.node}if((A=S)!=null&&A.node)return this.state=S.failState,S.node;if(G)return this.state=z.failState,G;throw(N=S)!=null&&N.thrown?S.error:z.thrown?z.error:this.raise(Xo.UnexpectedTokenAfterTypeParameter,{at:j})}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 S=0;S<a.params.length;S++)this.isThisParam(a.params[S])&&S>0&&this.raise(Xo.ThisParamMustBeFirst,{at:a.params[S]});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(),S=this.tryParse(N=>this.parseAsyncArrowWithTypeParameters(u)||N(),y);if(!S.error&&!S.aborted)return S.node;const A=this.tryParse(()=>super.parseSubscripts(a,u,p),y);if(A.node&&!A.error)return A.node;if(S.node)return this.state=S.failState,S.node;if(A.node)return this.state=A.failState,A.node;throw S.error||A.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 S=this.startNodeAt(u);return S.callee=a,S.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),S.arguments=this.parseCallExpressionArguments(11,!1),S.optional=!0,this.finishCallExpression(S,!0)}else if(!p&&this.shouldParseTypes()&&this.match(47)){const S=this.startNodeAt(u);S.callee=a;const A=this.tryParse(()=>(S.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),S.arguments=super.parseCallExpressionArguments(11,!1),y.optionalChainMember&&(S.optional=!1),this.finishCallExpression(S,y.optionalChainMember)));if(A.node)return A.error&&(this.state=A.failState),A.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(Xo.UnterminatedFlowComment,{at:this.state.curPosition()}),p}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Xo.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(Jr.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(a,{enumName:u,memberName:p}){this.raise(Xo.EnumBooleanMemberNotInitialized,{at:a,memberName:p,enumName:u})}flowEnumErrorInvalidMemberInitializer(a,u){return this.raise(u.explicitType?u.explicitType==="symbol"?Xo.EnumInvalidMemberInitializerSymbolType:Xo.EnumInvalidMemberInitializerPrimaryType:Xo.EnumInvalidMemberInitializerUnknownType,Object.assign({at:a},u))}flowEnumErrorNumberMemberNotInitialized(a,{enumName:u,memberName:p}){this.raise(Xo.EnumNumberMemberNotInitialized,{at:a,enumName:u,memberName:p})}flowEnumErrorStringMemberInconsistentlyInitailized(a,{enumName:u}){this.raise(Xo.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 S=!1;for(;!this.match(8);){if(this.eat(21)){S=!0;break}const A=this.startNode(),{id:N,init:j}=this.flowEnumMemberRaw(),z=N.name;if(z==="")continue;/^[a-z]/.test(z)&&this.raise(Xo.EnumInvalidMemberName,{at:N,memberName:z,suggestion:z[0].toUpperCase()+z.slice(1),enumName:a}),p.has(z)&&this.raise(Xo.EnumDuplicateMemberName,{at:N,memberName:z,enumName:a}),p.add(z);const G={enumName:a,explicitType:u,memberName:z};switch(A.id=N,j.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(j.loc,G,"boolean"),A.init=j.value,y.booleanMembers.push(this.finishNode(A,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(j.loc,G,"number"),A.init=j.value,y.numberMembers.push(this.finishNode(A,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(j.loc,G,"string"),A.init=j.value,y.stringMembers.push(this.finishNode(A,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(j.loc,G);case"none":switch(u){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(j.loc,G);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(j.loc,G);break;default:y.defaultedMembers.push(this.finishNode(A,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:y,hasUnknownMembers:S}}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(!Nu(this.state.type))throw this.raise(Xo.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(Xo.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:a,invalidEnumType:u}),u}flowEnumBody(a,u){const p=u.name,y=u.loc.start,S=this.flowEnumParseExplicitType({enumName:p});this.expect(5);const{members:A,hasUnknownMembers:N}=this.flowEnumMembers({enumName:p,explicitType:S});switch(a.hasUnknownMembers=N,S){case"boolean":return a.explicitType=!0,a.members=A.booleanMembers,this.expect(8),this.finishNode(a,"EnumBooleanBody");case"number":return a.explicitType=!0,a.members=A.numberMembers,this.expect(8),this.finishNode(a,"EnumNumberBody");case"string":return a.explicitType=!0,a.members=this.flowEnumStringMembers(A.stringMembers,A.defaultedMembers,{enumName:p}),this.expect(8),this.finishNode(a,"EnumStringBody");case"symbol":return a.members=A.defaultedMembers,this.expect(8),this.finishNode(a,"EnumSymbolBody");default:{const j=()=>(a.members=[],this.expect(8),this.finishNode(a,"EnumStringBody"));a.explicitType=!1;const z=A.booleanMembers.length,G=A.numberMembers.length,te=A.stringMembers.length,Oe=A.defaultedMembers.length;if(!z&&!G&&!te&&!Oe)return j();if(!z&&!G)return a.members=this.flowEnumStringMembers(A.stringMembers,A.defaultedMembers,{enumName:p}),this.expect(8),this.finishNode(a,"EnumStringBody");if(!G&&!te&&z>=Oe){for(const $e of A.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized($e.loc.start,{enumName:p,memberName:$e.id.name});return a.members=A.booleanMembers,this.expect(8),this.finishNode(a,"EnumBooleanBody")}else if(!z&&!te&&G>=Oe){for(const $e of A.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized($e.loc.start,{enumName:p,memberName:$e.id.name});return a.members=A.numberMembers,this.expect(8),this.finishNode(a,"EnumNumberBody")}else return this.raise(Xo.EnumInconsistentMemberValues,{at:y,enumName:p}),j()}}}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 bDt={__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:"♦"},d3=TC`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 o6(o){return o?o.type==="JSXOpeningFragment"||o.type==="JSXClosingFragment":!1}function ZN(o){if(o.type==="JSXIdentifier")return o.name;if(o.type==="JSXNamespacedName")return o.namespace.name+":"+o.name.name;if(o.type==="JSXMemberExpression")return ZN(o.object)+"."+ZN(o.property);throw new Error("Node had unexpected type: "+o.type)}var TDt=o=>class extends o{jsxReadToken(){let a="",u=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(d3.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:QF(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(Jr.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):QF(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),S=bDt[y];if(++this.state.pos,S)return S}}return this.state.pos=a,"&"}jsxReadWord(){let a;const u=this.state.pos;do a=this.input.charCodeAt(++this.state.pos);while(s7(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:C0e(this.state.type)?a.name=y6(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(t_.brace),this.next(),a=this.jsxParseExpressionContainer(a,t_.j_oTag),a.expression.type==="JSXEmptyExpression"&&this.raise(d3.AttributeIsEmpty,{at:a}),a;case 140:case 131:return this.parseExprAtom();default:throw this.raise(d3.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(t_.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(t_.brace),this.next(),this.expect(21),a.argument=this.parseMaybeAssignAllowIn(),this.setContext(t_.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 S=null;if(!y.selfClosing){e:for(;;)switch(this.state.type){case 140:if(a=this.state.startLoc,this.next(),this.eat(56)){S=this.jsxParseClosingElementAt(a);break e}p.push(this.jsxParseElementAt(a));break;case 139:p.push(this.parseExprAtom());break;case 5:{const A=this.startNode();this.setContext(t_.brace),this.next(),this.match(21)?p.push(this.jsxParseSpreadChild(A)):p.push(this.jsxParseExpressionContainer(A,t_.j_expr));break}default:this.unexpected()}o6(y)&&!o6(S)&&S!==null?this.raise(d3.MissingClosingTagFragment,{at:S}):!o6(y)&&o6(S)?this.raise(d3.MissingClosingTagElement,{at:S,openingTagName:ZN(y.name)}):!o6(y)&&!o6(S)&&ZN(S.name)!==ZN(y.name)&&this.raise(d3.MissingClosingTagElement,{at:S,openingTagName:ZN(y.name)})}if(o6(y)?(u.openingFragment=y,u.closingFragment=S):(u.openingElement=y,u.closingElement=S),u.children=p,this.match(47))throw this.raise(d3.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return o6(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===t_.j_expr){this.jsxReadToken();return}if(u===t_.j_oTag||u===t_.j_cTag){if(bC(a)){this.jsxReadWord();return}if(a===62){++this.state.pos,this.finishToken(141);return}if((a===34||a===39)&&u===t_.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,t_.j_cTag),this.state.canStartJSXElement=!1;else if(p===140)u.push(t_.j_oTag);else if(p===141){const y=u[u.length-1];y===t_.j_oTag&&a===56||y===t_.j_cTag?(u.pop(),this.state.canStartJSXElement=u[u.length-1]===t_.j_expr):(this.setContext(t_.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=ePt(p)}};class SDt extends I0e{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 xDt extends O0e{constructor(...i){super(...i),this.importsStack=[]}createScope(i){return this.importsStack.push(new Set),new SDt(i)}enter(i){i==a7&&this.importsStack.push(new Set),super.enter(i)}exit(){const i=super.exit();return i==a7&&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&XF){this.hasImport(i,!0)&&this.parser.raise(Jr.VarRedeclaration,{at:u,identifierName:i}),this.importsStack[this.importsStack.length-1].add(i);return}const p=this.currentScope();if(a&P0e){this.maybeExportDefined(p,i),p.exportOnlyBindings.add(i);return}super.declareName(i,a,u),a&U3&&(a&dx||(this.checkRedeclarationInScope(p,i,a,u),this.maybeExportDefined(p,i)),p.types.add(i)),a&Fge&&p.enums.add(i),a&Rge&&p.constEnums.add(i),a&QX&&p.classes.add(i)}isRedeclaredInScope(i,a,u){if(i.enums.has(a)){if(u&Fge){const p=!!(u&Rge),y=i.constEnums.has(a);return p!==y}return!0}return u&QX&&i.classes.has(a)?i.lexical.has(a)?!!(u&dx):!1:u&U3&&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 kDt=(o,i)=>Object.hasOwnProperty.call(o,i)&&o[i],B$e=o=>o.type==="ParenthesizedExpression"?B$e(o.expression):o;class CDt extends pDt{toAssignable(i,a=!1){var u,p;let y;switch((i.type==="ParenthesizedExpression"||(u=i.extra)!=null&&u.parenthesized)&&(y=B$e(i),a?y.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(Jr.InvalidParenthesizedAssignment,{at:i}):y.type!=="MemberExpression"&&this.raise(Jr.InvalidParenthesizedAssignment,{at:i}):this.raise(Jr.InvalidParenthesizedAssignment,{at:i})),i.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":i.type="ObjectPattern";for(let A=0,N=i.properties.length,j=N-1;A<N;A++){var S;const z=i.properties[A],G=A===j;this.toAssignableObjectExpressionProp(z,G,a),G&&z.type==="RestElement"&&(S=i.extra)!=null&&S.trailingCommaLoc&&this.raise(Jr.RestTrailingComma,{at:i.extra.trailingCommaLoc})}break;case"ObjectProperty":{const{key:A,value:N}=i;this.isPrivateName(A)&&this.classScope.usePrivateName(this.getPrivateNameSV(A),A.loc.start),this.toAssignable(N,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(Jr.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"?Jr.PatternHasAccessor:Jr.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(Jr.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 S=i[y];if(S){if(S.type==="SpreadElement"){S.type="RestElement";const A=S.argument;this.checkToRestConversion(A,!0),this.toAssignable(A,u)}else this.toAssignable(S,u);S.type==="RestElement"&&(y<p?this.raise(Jr.RestTrailingComma,{at:S}):a&&this.raise(Jr.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 S=!0;for(;!this.eat(i);)if(S?S=!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 A=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(Jr.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)A.push(this.parseDecorator());y.push(this.parseAssignableListItem(u,A))}}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 kDt({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},i)}checkLVal(i,{in:a,binding:u=m6,checkClashes:p=!1,strictModeChanged:y=!1,hasParenthesizedAncestor:S=!1}){var A;const N=i.type;if(this.isObjectMethod(i))return;if(N==="MemberExpression"){u!==m6&&this.raise(Jr.InvalidPropertyBindingPattern,{at:i});return}if(N==="Identifier"){this.checkIdentifier(i,u,y);const{name:Oe}=i;p&&(p.has(Oe)?this.raise(Jr.ParamDupe,{at:i}):p.add(Oe));return}const j=this.isValidLVal(N,!(S||(A=i.extra)!=null&&A.parenthesized)&&a.type==="AssignmentExpression",u);if(j===!0)return;if(j===!1){const Oe=u===m6?Jr.InvalidLhs:Jr.InvalidLhsBinding;this.raise(Oe,{at:i,ancestor:a});return}const[z,G]=Array.isArray(j)?j:[j,N==="ParenthesizedExpression"],te=N==="ArrayPattern"||N==="ObjectPattern"||N==="ParenthesizedExpression"?{type:N}:a;for(const Oe of[].concat(i[z]))Oe&&this.checkLVal(Oe,{in:te,binding:u,checkClashes:p,strictModeChanged:y,hasParenthesizedAncestor:G})}checkIdentifier(i,a,u=!1){this.state.strict&&(u?T$e(i.name,this.inModule):b$e(i.name))&&(a===m6?this.raise(Jr.StrictEvalArguments,{at:i,referenceName:i.name}):this.raise(Jr.StrictEvalArgumentsBinding,{at:i,bindingName:i.name})),a&cY&&i.name==="let"&&this.raise(Jr.LetInLexicalBinding,{at:i}),a&m6||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(Jr.InvalidRestAssignmentPattern,{at:i})}}checkCommaAfterRest(i){return this.match(12)?(this.raise(this.lookaheadCharCode()===i?Jr.RestTrailingComma:Jr.ElementAfterRest,{at:this.state.startLoc}),!0):!1}}const wDt=(o,i)=>Object.hasOwnProperty.call(o,i)&&o[i];function EDt(o){if(o==null)throw new Error(`Unexpected ${o} value.`);return o}function yJe(o){if(!o)throw new Error("Assert fail")}const _o=TC`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 ADt(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 vJe(o){return o==="private"||o==="public"||o==="protected"}function PDt(o){return o==="in"||o==="out"}var DDt=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:_o.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:_o.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:_o.InvalidModifierOnTypeParameter})}getScopeHandler(){return xDt}tsIsIdentifier(){return Nu(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(!Nu(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=_o.InvalidModifierOnTypeMember},S){const A=(j,z,G,te)=>{z===G&&S[te]&&this.raise(_o.InvalidModifiersOrder,{at:j,orderedModifiers:[G,te]})},N=(j,z,G,te)=>{(S[G]&&z===te||S[te]&&z===G)&&this.raise(_o.IncompatibleModifiers,{at:j,modifiers:[G,te]})};for(;;){const{startLoc:j}=this.state,z=this.tsParseModifier(a.concat(u??[]),p);if(!z)break;vJe(z)?S.accessibility?this.raise(_o.DuplicateAccessibilityModifier,{at:j,modifier:z}):(A(j,z,z,"override"),A(j,z,z,"static"),A(j,z,z,"readonly"),S.accessibility=z):PDt(z)?(S[z]&&this.raise(_o.DuplicateModifier,{at:j,modifier:z}),S[z]=!0,A(j,z,"in","out")):(Object.hasOwnProperty.call(S,z)?this.raise(_o.DuplicateModifier,{at:j,modifier:z}):(A(j,z,"static","readonly"),A(j,z,"static","override"),A(j,z,"override","readonly"),A(j,z,"abstract","override"),N(j,z,"declare","override"),N(j,z,"static","abstract")),S[z]=!0),u!=null&&u.includes(z)&&this.raise(y,{at:j,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 EDt(this.tsParseDelimitedListWorker(a,u,!0,p))}tsParseDelimitedListWorker(a,u,p,y){const S=[];let A=-1;for(;!this.tsIsListTerminator(a);){A=-1;const N=u();if(N==null)return;if(S.push(N),this.eat(12)){A=this.state.lastTokStart;continue}if(this.tsIsListTerminator(a))break;p&&this.expect(12);return}return y&&(y.value=A),S}tsParseBracketedList(a,u,p,y,S){y||(p?this.expect(0):this.expect(47));const A=this.tsParseDelimitedList(a,u,S);return p?this.expect(3):this.expect(48),A}tsParseImportType(){const a=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(_o.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(_o.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",S="typeAnnotation";u.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),u[y]=this.tsParseBindingListForSignature(),p?u[S]=this.tsParseTypeOrTypePredicateAnnotation(a):this.match(a)&&(u[S]=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(_o.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(),Nu(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(_o.ReadonlyForMethodSignature,{at:a});const y=p;y.kind&&this.match(47)&&this.raise(_o.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,y),this.tsParseTypeMemberSemicolon();const S="parameters",A="typeAnnotation";if(y.kind==="get")y[S].length>0&&(this.raise(Jr.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(y[S][0])&&this.raise(_o.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(y.kind==="set"){if(y[S].length!==1)this.raise(Jr.BadSetterArity,{at:this.state.curPosition()});else{const N=y[S][0];this.isThisParam(N)&&this.raise(_o.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),N.type==="Identifier"&&N.optional&&this.raise(_o.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),N.type==="RestElement"&&this.raise(_o.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}y[A]&&this.raise(_o.SetAccesorCannotHaveReturnType,{at:y[A]})}else y.kind="method";return this.finishNode(y,"TSMethodSignature")}else{const y=p;u&&(y.readonly=!0);const S=this.tsTryParseTypeAnnotation();return S&&(y.typeAnnotation=S),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 S;const{type:A}=y;u&&A!=="TSRestType"&&A!=="TSOptionalType"&&!(A==="TSNamedTupleMember"&&y.optional)&&this.raise(_o.OptionalTypeBeforeRequired,{at:y}),u||(u=A==="TSNamedTupleMember"&&y.optional||A==="TSOptionalType");let N=A;A==="TSRestType"&&(y=y.typeAnnotation,N=y.type);const j=N==="TSNamedTupleMember";(S=p)!=null||(p=j),p!==j&&this.raise(_o.MixedLabeledAndUnlabeledElements,{at:y})}),this.finishNode(a,"TSTupleType")}tsParseTupleElementType(){const{startLoc:a}=this.state,u=this.eat(21);let p,y,S,A;const j=cx(this.state.type)?this.lookaheadCharCode():null;if(j===58)p=!0,S=!1,y=this.parseIdentifier(!0),this.expect(14),A=this.tsParseType();else if(j===63){S=!0;const z=this.state.startLoc,G=this.state.value,te=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(p=!0,y=this.createIdentifier(this.startNodeAt(z),G),this.expect(17),this.expect(14),A=this.tsParseType()):(p=!1,A=te,this.expect(17))}else A=this.tsParseType(),S=this.eat(17),p=this.eat(14);if(p){let z;y?(z=this.startNodeAtNode(y),z.optional=S,z.label=y,z.elementType=A,this.eat(17)&&(z.optional=!0,this.raise(_o.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(z=this.startNodeAtNode(A),z.optional=S,this.raise(_o.InvalidTupleMemberLabel,{at:A}),z.label=A,z.elementType=this.tsParseType()),A=this.finishNode(z,"TSNamedTupleMember")}else if(S){const z=this.startNodeAtNode(A);z.typeAnnotation=A,A=this.finishNode(z,"TSOptionalType")}if(u){const z=this.startNodeAt(a);z.typeAnnotation=A,A=this.finishNode(z,"TSRestType")}return A}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(Nu(a)||a===88||a===84){const u=a===88?"TSVoidKeyword":a===84?"TSNullKeyword":ADt(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(_o.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 aPt(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(),S=this.eat(p),A=[];do A.push(u());while(this.eat(p));return A.length===1&&!S?A[0]:(y.types=A,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(Nu(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 N=this.tsParseThisTypeOrThisTypePredicate();return N.type==="TSThisType"?(p.parameterName=N,p.asserts=!0,p.typeAnnotation=null,N=this.finishNode(p,"TSTypePredicate")):(this.resetStartLocationFromNode(N,p),N.asserts=!0),u.typeAnnotation=N,this.finishNode(u,"TSTypeAnnotation")}const S=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!S)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 A=this.tsParseTypeAnnotation(!1);return p.parameterName=S,p.typeAnnotation=A,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(),!Nu(this.state.type)&&!this.match(78)?!1:(a&&this.raise(Jr.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(){yJe(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(_o.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(_o.EmptyHeritageClauseType,{at:u,token:a}),p}tsParseInterfaceDeclaration(a,u={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(127),u.declare&&(a.declare=!0),Nu(this.state.type)?(a.id=this.parseIdentifier(),this.checkIdentifier(a.id,IPt)):(a.id=null,this.raise(_o.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,OPt),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?MPt:A$e),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(QN),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,FPt),this.eat(16)){const p=this.startNode();this.tsParseModuleOrNamespaceDeclaration(p,!0),a.body=p}else this.scope.enter(a7),this.prodParam.enter(c7),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(a7),this.prodParam.enter(c7),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,XF),this.expect(29);const p=this.tsParseModuleReference();return a.importKind==="type"&&p.type!=="TSExternalModuleReference"&&this.raise(_o.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(Nu(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(a7),this.prodParam.enter(c7);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)||Nu(this.state.type)))return this.tsParseAbstractDeclaration(a,y);break;case"module":if(this.tsCheckLineTerminator(p)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(a);if(Nu(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(a)}break;case"namespace":if(this.tsCheckLineTerminator(p)&&Nu(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(a);break;case"type":if(this.tsCheckLineTerminator(p)&&Nu(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(_o.EmptyTypeArguments,{at:a}),this.expect(48),this.finishNode(a,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return oPt(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 S=y.accessibility,A=y.override,N=y.readonly;!(a&4)&&(S||N||A)&&this.raise(_o.UnexpectedParameterModifier,{at:p});const j=this.parseMaybeDefault();this.parseAssignableListItemTypes(j,a);const z=this.parseMaybeDefault(j.loc.start,j);if(S||N||A){const G=this.startNodeAt(p);return u.length&&(G.decorators=u),S&&(G.accessibility=S),N&&(G.readonly=N),A&&(G.override=A),z.type!=="Identifier"&&z.type!=="AssignmentPattern"&&this.raise(_o.UnsupportedParameterPropertyKind,{at:G}),G.parameter=z,this.finishNode(G,"TSParameterProperty")}return u.length&&(j.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(_o.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(_o.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,_Je):super.registerFunctionStatementId(a)}tsCheckForInvalidTypeCasts(a){a.forEach(u=>{(u==null?void 0:u.type)==="TSTypeCastExpression"&&this.raise(_o.UnexpectedTypeAnnotation,{at:u.typeAnnotation})})}toReferencedList(a,u){return this.tsCheckForInvalidTypeCasts(a),a}parseArrayLike(a,u,p,y){const S=super.parseArrayLike(a,u,p,y);return S.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(S.elements),S}parseSubscript(a,u,p,y){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const A=this.startNodeAt(u);return A.expression=a,this.finishNode(A,"TSNonNullExpression")}let S=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(p)return y.stop=!0,a;y.optionalChainMember=S=!0,this.next()}if(this.match(47)||this.match(51)){let A;const N=this.tsTryParseAndCatch(()=>{if(!p&&this.atPossibleAsyncArrow(a)){const te=this.tsTryParseGenericAsyncArrowFunction(u);if(te)return te}const j=this.tsParseTypeArgumentsInExpression();if(!j)return;if(S&&!this.match(10)){A=this.state.curPosition();return}if(qX(this.state.type)){const te=super.parseTaggedTemplateExpression(a,u,y);return te.typeParameters=j,te}if(!p&&this.eat(10)){const te=this.startNodeAt(u);return te.callee=a,te.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(te.arguments),te.typeParameters=j,y.optionalChainMember&&(te.optional=S),this.finishCallExpression(te,y.optionalChainMember)}const z=this.state.type;if(z===48||z===52||z!==10&&Ige(z)&&!this.hasPrecedingLineBreak())return;const G=this.startNodeAt(u);return G.expression=a,G.typeParameters=j,this.finishNode(G,"TSInstantiationExpression")});if(A&&this.unexpected(A,10),N)return N.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(_o.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),N}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(gX(58)>p&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(y=this.isContextual(118)))){const S=this.startNodeAt(u);return S.expression=a,S.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(y&&this.raise(Jr.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(S,y?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(S,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(_o.ImportReflectionHasImportType,{at:a.specifiers[0].loc.start})}checkDuplicateExports(){}parseImport(a){if(a.importKind="value",Nu(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()),Nu(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(_o.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,S=super.parseVarStatement(a,u,p||y);if(!y)return S;for(const{id:A,init:N}of S.declarations)N&&(u!=="const"||A.typeAnnotation?this.raise(_o.InitializerNotAllowedInAmbientContext,{at:N}):IDt(N,this.hasPlugin("estree"))||this.raise(_o.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:N}));return S}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=>vJe(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:_o.InvalidModifierOnTypeParameterPositions},u);const S=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(u,y)&&this.raise(_o.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(a,u)):this.parseClassMemberWithIsStatic(a,u,p,!!u.static)};u.declare?this.tsInAmbientContext(S):S()}parseClassMemberWithIsStatic(a,u,p,y){const S=this.tsTryParseIndexSignature(u);if(S){a.body.push(S),u.abstract&&this.raise(_o.IndexSignatureHasAbstract,{at:u}),u.accessibility&&this.raise(_o.IndexSignatureHasAccessibility,{at:u,modifier:u.accessibility}),u.declare&&this.raise(_o.IndexSignatureHasDeclare,{at:u}),u.override&&this.raise(_o.IndexSignatureHasOverride,{at:u});return}!this.state.inAbstractClass&&u.abstract&&this.raise(_o.NonAbstractClassHasAbstractMethod,{at:u}),u.override&&(p.hadSuperClass||this.raise(_o.OverrideNotInSubClass,{at:u})),super.parseClassMemberWithIsStatic(a,u,p,y)}parsePostMemberNameModifiers(a){this.eat(17)&&(a.optional=!0),a.readonly&&this.match(10)&&this.raise(_o.ClassMethodHasReadonly,{at:a}),a.declare&&this.match(10)&&this.raise(_o.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(_o.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});const S=Nu(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(a);return S?((S.type==="TSInterfaceDeclaration"||S.type==="TSTypeAliasDeclaration"||p)&&(a.exportKind="type"),p&&(this.resetStartLocation(S,u),S.declare=!0),S):null}parseClassId(a,u,p,y){if((!u||p)&&this.isContextual(111))return;super.parseClassId(a,u,p,a.declare?_Je:w$e);const S=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);S&&(a.typeParameters=S)}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(_o.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),a.abstract&&this.match(29)){const{key:u}=a;this.raise(_o.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(_o.PrivateElementHasAbstract,{at:a}),a.accessibility&&this.raise(_o.PrivateElementHasAccessibility,{at:a,modifier:a.accessibility}),this.parseClassPropertyAnnotation(a),super.parseClassPrivateProperty(a)}parseClassAccessorProperty(a){return this.parseClassPropertyAnnotation(a),a.optional&&this.raise(_o.AccessorCannotBeOptional,{at:a}),super.parseClassAccessorProperty(a)}pushClassMethod(a,u,p,y,S,A){const N=this.tsTryParseTypeParameters(this.tsParseConstModifier);N&&S&&this.raise(_o.ConstructorHasTypeParameters,{at:N});const{declare:j=!1,kind:z}=u;j&&(z==="get"||z==="set")&&this.raise(_o.DeclareAccessor,{at:u,kind:z}),N&&(u.typeParameters=N),super.pushClassMethod(a,u,p,y,S,A)}pushClassPrivateMethod(a,u,p,y){const S=this.tsTryParseTypeParameters(this.tsParseConstModifier);S&&(u.typeParameters=S),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,S,A,N){const j=this.tsTryParseTypeParameters(this.tsParseConstModifier);return j&&(a.typeParameters=j),super.parseObjPropValue(a,u,p,y,S,A,N)}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,S,A,N,j,z;let G,te,Oe;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(G=this.state.clone(),te=this.tryParse(()=>super.parseMaybeAssign(a,u),G),!te.error)return te.node;const{context:Qe}=this.state,Ue=Qe[Qe.length-1];(Ue===t_.j_oTag||Ue===t_.j_expr)&&Qe.pop()}if(!((p=te)!=null&&p.error)&&!this.match(47))return super.parseMaybeAssign(a,u);(!G||G===this.state)&&(G=this.state.clone());let $e;const Be=this.tryParse(Qe=>{var Ue,yt;$e=this.tsParseTypeParameters(this.tsParseConstModifier);const ot=super.parseMaybeAssign(a,u);return(ot.type!=="ArrowFunctionExpression"||(Ue=ot.extra)!=null&&Ue.parenthesized)&&Qe(),((yt=$e)==null?void 0:yt.params.length)!==0&&this.resetStartLocationFromNode(ot,$e),ot.typeParameters=$e,ot},G);if(!Be.error&&!Be.aborted)return $e&&this.reportReservedArrowTypeParam($e),Be.node;if(!te&&(yJe(!this.hasPlugin("jsx")),Oe=this.tryParse(()=>super.parseMaybeAssign(a,u),G),!Oe.error))return Oe.node;if((y=te)!=null&&y.node)return this.state=te.failState,te.node;if(Be.node)return this.state=Be.failState,$e&&this.reportReservedArrowTypeParam($e),Be.node;if((S=Oe)!=null&&S.node)return this.state=Oe.failState,Oe.node;throw(A=te)!=null&&A.thrown?te.error:Be.thrown?Be.error:(N=Oe)!=null&&N.thrown?Oe.error:((j=te)==null?void 0:j.error)||Be.error||((z=Oe)==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(_o.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(_o.UnexpectedTypeCastInParameter,{at:a}):this.raise(_o.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 wDt({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(p!==m6||!u)&&["expression",!0],TSSatisfiesExpression:(p!==m6||!u)&&["expression",!0],TSTypeAssertion:(p!==m6||!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(_o.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 S=a[y];(S==null?void 0:S.type)==="TSTypeCastExpression"&&(a[y]=this.typeCastToParameter(S))}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(_o.NonClassMethodPropertyHasAbstractModifer,{at:a}),this.tsParseInterfaceDeclaration(a)}else this.unexpected(null,80)}parseMethod(a,u,p,y,S,A,N){const j=super.parseMethod(a,u,p,y,S,A,N);if(j.abstract&&(this.hasPlugin("estree")?!!j.value.body:!!j.body)){const{key:G}=j;this.raise(_o.AbstractMethodHasImplementation,{at:j,methodName:G.type==="Identifier"&&!j.computed?G.name:`[${this.input.slice(G.start,G.end)}]`})}return j}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,S){return!u&&y?(this.parseTypeOnlyImportExportSpecifier(a,!0,p),this.finishNode(a,"ImportSpecifier")):(a.importKind="value",super.parseImportSpecifier(a,u,p,y,p?pJe:XF))}parseTypeOnlyImportExportSpecifier(a,u,p){const y=u?"imported":"local",S=u?"local":"exported";let A=a[y],N,j=!1,z=!0;const G=A.loc.start;if(this.isContextual(93)){const Oe=this.parseIdentifier();if(this.isContextual(93)){const $e=this.parseIdentifier();cx(this.state.type)?(j=!0,A=Oe,N=u?this.parseIdentifier():this.parseModuleExportName(),z=!1):(N=$e,z=!1)}else cx(this.state.type)?(z=!1,N=u?this.parseIdentifier():this.parseModuleExportName()):(j=!0,A=Oe)}else cx(this.state.type)&&(j=!0,u?(A=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(A.name,A.loc.start,!0,!0)):A=this.parseModuleExportName());j&&p&&this.raise(u?_o.TypeModifierIsUsedInTypeImports:_o.TypeModifierIsUsedInTypeExports,{at:G}),a[y]=A,a[S]=N;const te=u?"importKind":"exportKind";a[te]=j?"type":"value",z&&this.eatContextual(93)&&(a[S]=u?this.parseIdentifier():this.parseModuleExportName()),a[S]||(a[S]=DC(a[y])),u&&this.checkIdentifier(a[S],j?pJe:XF)}};function NDt(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:J$e(o.object)}function IDt(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!!(j$e(o,i)||ODt(o,i)||u==="TemplateLiteral"&&o.expressions.length===0||NDt(o))}function j$e(o,i){return i?o.type==="Literal"&&(typeof o.value=="number"||"bigint"in o):o.type==="NumericLiteral"||o.type==="BigIntLiteral"}function ODt(o,i){if(o.type==="UnaryExpression"){const{operator:a,argument:u}=o;if(a==="-"&&j$e(u,i))return!0}return!1}function J$e(o){return o.type==="Identifier"?!0:o.type!=="MemberExpression"||o.computed?!1:J$e(o.object)}const bJe=TC`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});var LDt=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 S=this.state.strict,A=this.parsePlaceholder("Identifier");if(A)if(this.match(81)||this.match(142)||this.match(5))a.id=A;else{if(p||!u)return a.id=null,a.body=this.finishPlaceholder(A,"ClassBody"),this.finishNode(a,y);throw this.raise(bJe.ClassNameIsRequired,{at:this.state.startLoc})}else this.parseClassId(a,u,p);return super.parseClassSuper(a),a.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!a.superClass,S),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(y6(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(bJe.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},MDt=o=>class extends o{parseV8Intrinsic(){if(this.match(54)){const a=this.state.startLoc,u=this.startNode();if(this.next(),Nu(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 Fg(o,i){const[a,u]=typeof i=="string"?[i,{}]:i,p=Object.keys(u),y=p.length===0;return o.some(S=>{if(typeof S=="string")return y&&S===a;{const[A,N]=S;if(A!==a)return!1;for(const j of p)if(N[j]!==u[j])return!1;return!0}})}function m3(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"],SJe=["^^","@@","^","%","#"],xJe=["hash","bar"];function FDt(o){if(Fg(o,"decorators")){if(Fg(o,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const i=m3(o,"decorators","decoratorsBeforeExport");if(i!=null&&typeof i!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const a=m3(o,"decorators","allowCallParenthesized");if(a!=null&&typeof a!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(Fg(o,"flow")&&Fg(o,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(Fg(o,"placeholders")&&Fg(o,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(Fg(o,"pipelineOperator")){const i=m3(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=Fg(o,["recordAndTuple",{syntaxType:"hash"}]);if(i==="hack"){if(Fg(o,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(Fg(o,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const u=m3(o,"pipelineOperator","topicToken");if(!SJe.includes(u)){const p=SJe.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(Fg(o,"moduleAttributes")){if(Fg(o,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if(m3(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(Fg(o,"recordAndTuple")&&m3(o,"recordAndTuple","syntaxType")!=null&&!xJe.includes(m3(o,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+xJe.map(i=>`'${i}'`).join(", "));if(Fg(o,"asyncDoExpressions")&&!Fg(o,"doExpressions")){const i=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw i.missingPlugins="doExpressions",i}}const U$e={estree:bPt,jsx:TDt,flow:vDt,typescript:DDt,v8intrinsic:MDt,placeholders:LDt},RDt=Object.keys(U$e);class BDt extends CDt{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(Jr.RecordNoProto,{at:y});return}u.used&&(p?p.doubleProtoLoc===null&&(p.doubleProtoLoc=y.loc.start):this.raise(Jr.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 A=this.parseYield();return a&&(A=a.call(this,A,u)),A}let p;i?p=!1:(i=new bX,p=!0);const{type:y}=this.state;(y===10||Nu(y))&&(this.state.potentialArrowAt=this.state.start);let S=this.parseMaybeConditional(i);if(a&&(S=a.call(this,S,u)),tPt(this.state.type)){const A=this.startNodeAt(u),N=this.state.value;if(A.operator=N,this.match(29)){this.toAssignable(S,!0),A.left=S;const j=u.index;i.doubleProtoLoc!=null&&i.doubleProtoLoc.index>=j&&(i.doubleProtoLoc=null),i.shorthandAssignLoc!=null&&i.shorthandAssignLoc.index>=j&&(i.shorthandAssignLoc=null),i.privateKeyLoc!=null&&i.privateKeyLoc.index>=j&&(this.checkDestructuringPrivate(i),i.privateKeyLoc=null)}else A.left=S;return this.next(),A.right=this.parseMaybeAssign(),this.checkLVal(S,{in:this.finishNode(A,"AssignmentExpression")}),A}else p&&this.checkExpressionErrors(i,!0);return S}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>=gX(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(Jr.PrivateInExpectedIn,{at:i,identifierName:y}),this.classScope.usePrivateName(y,i.loc.start)}const p=this.state.type;if(nPt(p)&&(this.prodParam.hasIn||!this.match(58))){let y=gX(p);if(y>u){if(p===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return i;this.checkPipelineAtInfixOperator(i,a)}const S=this.startNodeAt(a);S.left=i,S.operator=this.state.value;const A=p===41||p===42,N=p===40;if(N&&(y=gX(42)),this.next(),p===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(Jr.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});S.right=this.parseExprOpRightExpr(p,y);const j=this.finishNode(S,A||N?"LogicalExpression":"BinaryExpression"),z=this.state.type;if(N&&(z===41||z===42)||A&&z===40)throw this.raise(Jr.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(j,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(Jr.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,cPt(i)?a-1:a)}parseHackPipeBody(){var i;const{startLoc:a}=this.state,u=this.parseMaybeAssign();return dPt.has(u.type)&&!((i=u.extra)!=null&&i.parenthesized)&&this.raise(Jr.PipeUnparenthesizedBody,{at:a,type:u.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(Jr.PipeTopicUnused,{at:a}),u}checkExponentialAfterUnary(i){this.match(57)&&this.raise(Jr.UnexpectedTokenUnaryExponentiation,{at:i.argument})}parseMaybeUnary(i,a){const u=this.state.startLoc,p=this.isContextual(96);if(p&&this.isAwaitAllowed()){this.next();const N=this.parseAwait(u);return a||this.checkExponentialAfterUnary(N),N}const y=this.match(34),S=this.startNode();if(sPt(this.state.type)){S.operator=this.state.value,S.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const N=this.match(89);if(this.next(),S.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(i,!0),this.state.strict&&N){const j=S.argument;j.type==="Identifier"?this.raise(Jr.StrictDelete,{at:S}):this.hasPropertyAsPrivateName(j)&&this.raise(Jr.DeletePrivateField,{at:S})}if(!y)return a||this.checkExponentialAfterUnary(S),this.finishNode(S,"UnaryExpression")}const A=this.parseUpdate(S,y,i);if(p){const{type:N}=this.state;if((this.hasPlugin("v8intrinsic")?Ige(N):Ige(N)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(Jr.AwaitNotInAsyncContext,{at:u}),this.parseAwait(u)}return A}parseUpdate(i,a,u){if(a){const S=i;return this.checkLVal(S.argument,{in:this.finishNode(S,"UpdateExpression")}),i}const p=this.state.startLoc;let y=this.parseExprSubscripts(u);if(this.checkExpressionErrors(u,!1))return y;for(;iPt(this.state.type)&&!this.canInsertSemicolon();){const S=this.startNodeAt(p);S.operator=this.state.value,S.prefix=!1,S.argument=y,this.next(),this.checkLVal(y,{in:y=this.finishNode(S,"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(qX(y))return this.parseTaggedTemplateExpression(i,a,p);let S=!1;if(y===18){if(u&&(this.raise(Jr.OptionalChainingNoNew,{at:this.state.startLoc}),this.lookaheadCharCode()===40))return p.stop=!0,i;p.optionalChainMember=S=!0,this.next()}if(!u&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(i,a,p,S);{const A=this.eat(0);return A||S||this.eat(16)?this.parseMember(i,a,p,A,S):(p.stop=!0,i)}}parseMember(i,a,u,p,y){const S=this.startNodeAt(a);return S.object=i,S.computed=p,p?(S.property=this.parseExpression(),this.expect(3)):this.match(136)?(i.type==="Super"&&this.raise(Jr.SuperPrivateField,{at:a}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),S.property=this.parsePrivateName()):S.property=this.parseIdentifier(!0),u.optionalChainMember?(S.optional=y,this.finishNode(S,"OptionalMemberExpression")):this.finishNode(S,"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 S=null;this.state.maybeInArrowParameters=!0,this.next();const A=this.startNodeAt(a);A.callee=i;const{maybeAsyncArrow:N,optionalChainMember:j}=u;N&&(this.expressionScope.enter(cDt()),S=new bX),j&&(A.optional=p),p?A.arguments=this.parseCallExpressionArguments(11):A.arguments=this.parseCallExpressionArguments(11,i.type==="Import",i.type!=="Super",A,S);let z=this.finishCallExpression(A,j);return N&&this.shouldParseAsyncArrow()&&!p?(u.stop=!0,this.checkDestructuringPrivate(S),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),z=this.parseAsyncArrowFromCallExpression(this.startNodeAt(a),z)):(N&&(this.checkExpressionErrors(S,!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(Jr.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(Jr.ImportCallArity,{at:i,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const u of i.arguments)u.type==="SpreadElement"&&this.raise(Jr.ImportCallSpreadArgument,{at:u});return this.finishNode(i,a?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(i,a,u,p,y){const S=[];let A=!0;const N=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(i);){if(A)A=!1;else if(this.expect(12),this.match(i)){a&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(Jr.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),p&&this.addTrailingCommaExtraToNode(p),this.next();break}S.push(this.parseExprListItem(!1,y,u))}return this.state.inFSharpPipelineDirectBody=N,S}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&&yR(i,a.innerComments),a.callee.trailingComments&&yR(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(Jr.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(Jr.UnsupportedBind,{at:y})}case 136:return this.raise(Jr.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());bC(y)||y===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(Nu(p)){if(this.isContextual(125)&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak())return this.parseModuleExpression();const y=this.state.potentialArrowAt===this.state.start,S=this.state.containsEsc,A=this.parseIdentifier();if(!S&&A.name==="async"&&!this.canInsertSemicolon()){const{type:N}=this.state;if(N===68)return this.resetPreviousNodeTrailingComments(A),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(A));if(Nu(N))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(A)):A;if(N===90)return this.resetPreviousNodeTrailingComments(A),this.parseDo(this.startNodeAtNode(A),!0)}return y&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(A),[A],!1)):A}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=My(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"?Jr.PrimaryTopicNotAllowed:Jr.PipeTopicUnbound,{at:a}),this.registerTopicReference(),this.finishNode(i,y)}else throw this.raise(Jr.PipeTopicUnconfiguredToken,{at:a,token:y6(p)})}testTopicReferenceConfiguration(i,a,u){switch(i){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:y6(u)}]);case"smart":return u===27;default:throw this.raise(Jr.PipeTopicRequiresHackPipes,{at:a})}}parseAsyncArrowUnaryFunction(i){this.prodParam.enter(vX(!0,this.prodParam.hasYield));const a=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(Jr.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(uY),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(Jr.SuperNotAllowed,{at:i}):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(Jr.UnexpectedSuper,{at:i}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(Jr.UnsupportedSuper,{at:i}),this.finishNode(i,"Super")}parsePrivateName(){const i=this.startNode(),a=this.startNodeAt(My(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(Jr.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(Jr.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(oDt());const p=this.state.maybeInArrowParameters,y=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const S=this.state.startLoc,A=[],N=new bX;let j=!0,z,G;for(;!this.match(11);){if(j)j=!1;else if(this.expect(12,N.optionalParametersLoc===null?null:N.optionalParametersLoc),this.match(11)){G=this.state.startLoc;break}if(this.match(21)){const $e=this.state.startLoc;if(z=this.state.startLoc,A.push(this.parseParenItem(this.parseRestBinding(),$e)),!this.checkCommaAfterRest(41))break}else A.push(this.parseMaybeAssignAllowIn(N,this.parseParenItem))}const te=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=p,this.state.inFSharpPipelineDirectBody=y;let Oe=this.startNodeAt(a);return i&&this.shouldParseArrow(A)&&(Oe=this.parseArrow(Oe))?(this.checkDestructuringPrivate(N),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(Oe,A,!1),Oe):(this.expressionScope.exit(),A.length||this.unexpected(this.state.lastTokStartLoc),G&&this.unexpected(G),z&&this.unexpected(z),this.checkExpressionErrors(N,!0),this.toReferencedListDeep(A,!0),A.length>1?(u=this.startNodeAt(S),u.expressions=A,this.finishNode(u,"SequenceExpression"),this.resetEndLocation(u,te)):u=A[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(Jr.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(Jr.ImportCallNotNewExpression,{at:i.callee})}parseTemplateElement(i){const{start:a,startLoc:u,end:p,value:y}=this.state,S=a+1,A=this.startNodeAt(My(u,1));y===null&&(i||this.raise(Jr.InvalidEscapeSequenceTemplate,{at:My(this.state.firstInvalidTemplateEscapePos,1)}));const N=this.match(24),j=N?-1:-2,z=p+j;A.value={raw:this.input.slice(S,z).replace(/\r\n?/g,`
`),cooked:y===null?null:y.slice(1,j)},A.tail=N,this.next();const G=this.finishNode(A,"TemplateElement");return this.resetEndLocation(G,My(this.state.lastTokEndLoc,j)),G}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 S=Object.create(null);let A=!0;const N=this.startNode();for(N.properties=[],this.next();!this.match(i);){if(A)A=!1;else if(this.expect(12),this.match(i)){this.addTrailingCommaExtraToNode(N);break}let z;a?z=this.parseBindingProperty():(z=this.parsePropertyDefinition(p),this.checkProto(z,u,S,p)),u&&!this.isObjectProperty(z)&&z.type!=="SpreadElement"&&this.raise(Jr.InvalidRecordProperty,{at:z}),z.shorthand&&this.addExtra(z,"shorthand",!0),N.properties.push(z)}this.next(),this.state.inFSharpPipelineDirectBody=y;let j="ObjectExpression";return a?j="ObjectPattern":u&&(j="RecordExpression"),this.finishNode(N,j)}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(Jr.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)a.push(this.parseDecorator());const u=this.startNode();let p=!1,y=!1,S;if(this.match(21))return a.length&&this.unexpected(),this.parseSpread();a.length&&(u.decorators=a,a=[]),u.method=!1,i&&(S=this.state.startLoc);let A=this.eat(55);this.parsePropertyNamePrefixOperator(u);const N=this.state.containsEsc,j=this.parsePropertyName(u,i);if(!A&&!N&&this.maybeAsyncOrAccessorProp(u)){const z=j.name;z==="async"&&!this.hasPrecedingLineBreak()&&(p=!0,this.resetPreviousNodeTrailingComments(j),A=this.eat(55),this.parsePropertyName(u)),(z==="get"||z==="set")&&(y=!0,this.resetPreviousNodeTrailingComments(j),u.kind=z,this.match(55)&&(A=!0,this.raise(Jr.AccessorIsGenerator,{at:this.state.curPosition(),kind:z}),this.next()),this.parsePropertyName(u))}return this.parseObjPropValue(u,S,A,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"?Jr.BadGetterArity:Jr.BadSetterArity,{at:i}),i.kind==="set"&&((a=p[p.length-1])==null?void 0:a.type)==="RestElement"&&this.raise(Jr.BadSetterRestParameter,{at:i})}parseObjectMethod(i,a,u,p,y){if(y){const S=this.parseMethod(i,a,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(S),S}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,DC(i.key));else if(this.match(29)){const y=this.state.startLoc;p!=null?p.shorthandAssignLoc===null&&(p.shorthandAssignLoc=y):this.raise(Jr.InvalidCoverInitializedName,{at:y}),i.value=this.parseMaybeDefault(a,DC(i.key))}else i.value=DC(i.key);return i.shorthand=!0,this.finishNode(i,"ObjectProperty")}}parseObjPropValue(i,a,u,p,y,S,A){const N=this.parseObjectMethod(i,u,p,y,S)||this.parseObjectProperty(i,a,y,A);return N||this.unexpected(),N}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(cx(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 S=this.state.startLoc;a!=null?a.privateKeyLoc===null&&(a.privateKeyLoc=S):this.raise(Jr.UnexpectedPrivateField,{at:S}),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,S,A=!1){this.initFunction(i,u),i.generator=a,this.scope.enter(SC|GX|(A?S3:0)|(y?x$e:0)),this.prodParam.enter(vX(u,i.generator)),this.parseFunctionParams(i,p);const N=this.parseFunctionBodyAndFinish(i,S,!0);return this.prodParam.exit(),this.scope.exit(),N}parseArrayLike(i,a,u,p){u&&this.expectPlugin("recordAndTuple");const y=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const S=this.startNode();return this.next(),S.elements=this.parseExprList(i,!u,p,S),this.state.inFSharpPipelineDirectBody=y,this.finishNode(S,u?"TupleExpression":"ArrayExpression")}parseArrowExpression(i,a,u,p){this.scope.enter(SC|A0e);let y=vX(u,!1);!this.match(5)&&this.prodParam.hasIn&&(y|=WN),this.prodParam.enter(y),this.initFunction(i,u);const S=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=S,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(M$e()),p)i.body=this.parseMaybeAssign(),this.checkParams(i,!1,a,!1);else{const y=this.state.strict,S=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|R$e),i.body=this.parseBlock(!0,!1,A=>{const N=!this.isSimpleParamList(i.params);A&&N&&this.raise(Jr.IllegalLanguageModeDirective,{at:(i.kind==="method"||i.kind==="constructor")&&i.key?i.key.loc.end:i});const j=!y&&this.state.strict;this.checkParams(i,!this.state.strict&&!a&&!u&&!N,a,j),this.state.strict&&i.id&&this.checkIdentifier(i.id,LPt,j)}),this.prodParam.exit(),this.state.labels=S}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,S={type:"FormalParameters"};for(const A of i.params)this.checkLVal(A,{in:S,binding:YX,checkClashes:y,strictModeChanged:p})}parseExprList(i,a,u,p){const y=[];let S=!0;for(;!this.eat(i);){if(S)S=!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(Jr.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(Jr.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;cx(p)?a=this.state.value:this.unexpected();const y=K3t(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||!DPt(i))return;if(u&&EPt(i)){this.raise(Jr.UnexpectedKeyword,{at:a,keyword:i});return}if((this.state.strict?p?T$e:v$e:y$e)(i,this.inModule)){this.raise(Jr.UnexpectedReservedWord,{at:a,reservedWord:i});return}else if(i==="yield"){if(this.prodParam.hasYield){this.raise(Jr.YieldBindingIdentifier,{at:a});return}}else if(i==="await"){if(this.prodParam.hasAwait){this.raise(Jr.AwaitBindingIdentifier,{at:a});return}if(this.scope.inStaticBlock){this.raise(Jr.AwaitBindingIdentifierInStaticBlock,{at:a});return}this.expressionScope.recordAsyncArrowParametersError({at:a})}else if(i==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(Jr.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(Jr.AwaitExpressionFormalParameter,{at:a}),this.eat(55)&&this.raise(Jr.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||qX(i)||i===101&&!this.state.containsEsc||i===135||i===56||this.hasPlugin("v8intrinsic")&&i===54}parseYield(){const i=this.startNode();this.expressionScope.recordParameterInitializerError(Jr.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(Jr.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(Jr.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(Jr.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(WN&~a){this.prodParam.enter(a|WN);try{return i()}finally{this.prodParam.exit()}}return i()}disallowInAnd(i){const a=this.prodParam.currentFlags();if(WN&a){this.prodParam.enter(a&~WN);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 $he={kind:"loop"},jDt={kind:"switch"},JDt=/[\uD800-\uDFFF]/u,qhe=/in(?:stanceof)?/y;function UDt(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:S,value:A,end:N}=u,j=S+1,z=My(y.start,1);o.splice(a,1,new l6({type:hC(27),value:"#",start:S,end:j,startLoc:y.start,endLoc:z}),new l6({type:hC(130),value:A,start:j,end:N,startLoc:z,endLoc:y.end})),a++;continue}if(qX(p)){const{loc:y,start:S,value:A,end:N}=u,j=S+1,z=My(y.start,1);let G;i.charCodeAt(S)===96?G=new l6({type:hC(22),value:"`",start:S,end:j,startLoc:y.start,endLoc:z}):G=new l6({type:hC(8),value:"}",start:S,end:j,startLoc:y.start,endLoc:z});let te,Oe,$e,Be;p===24?(Oe=N-1,$e=My(y.end,-1),te=A===null?null:A.slice(1,-1),Be=new l6({type:hC(22),value:"`",start:Oe,end:N,startLoc:$e,endLoc:y.end})):(Oe=N-2,$e=My(y.end,-2),te=A===null?null:A.slice(1,-2),Be=new l6({type:hC(23),value:"${",start:Oe,end:N,startLoc:$e,endLoc:y.end})),o.splice(a,1,G,new l6({type:hC(20),value:te,start:j,end:Oe,startLoc:z,endLoc:$e}),Be),a+=2;continue}}u.type=hC(p)}}return o}class zDt extends BDt{parseTopLevel(i,a){return i.program=this.parseProgram(a),i.comments=this.state.comments,this.options.tokens&&(i.tokens=UDt(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,S]of Array.from(this.scope.undefinedExports))this.raise(Jr.ModuleExportUndefined,{at:S,localName:y});let p;return a===137?p=this.finishNode(i,"Program"):p=this.finishNodeAt(i,"Program",My(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),S=u.value=y.slice(1,-1);return this.addExtra(u,"raw",y),this.addExtra(u,"rawValue",S),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(bC(i)){if(qhe.lastIndex=a,qhe.test(this.input)){const u=this.codePointAtPos(qhe.lastIndex);if(!s7(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),S=!!(i&4),A=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 S||this.raise(this.state.strict?Jr.StrictFunction:this.options.annexB?Jr.SloppyFunctionAnnexB:Jr.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(p,!1,!y&&S);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(Jr.UnexpectedUsingDeclaration,{at:this.state.startLoc}):y||this.raise(Jr.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(p,"using");case 99:{if(this.state.containsEsc)break;const z=this.nextTokenStart(),G=this.codePointAtPos(z);if(G!==91&&(!y&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(G,z)&&G!==123))break}case 75:y||this.raise(Jr.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&&!A&&this.raise(Jr.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(Jr.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(p,!0,!y&&S)}const N=this.state.value,j=this.parseExpression();return Nu(u)&&j.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(p,N,j,i):this.parseExpressionStatement(p,j,a)}assertModuleNodeAllowed(i){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(Jr.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(Jr.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(Jr.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(Jr.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(Jr.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(Jr.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($he),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($he);let a=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(a=this.state.lastTokStartLoc),this.scope.enter(QN),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(),G=this.state.value;this.next(),this.parseVar(z,!0,G);const te=this.finishNode(z,"VariableDeclaration"),Oe=this.match(58);return Oe&&p&&this.raise(Jr.ForInUsing,{at:te}),(Oe||this.isContextual(101))&&te.declarations.length===1?this.parseForIn(i,te,a):(a!==null&&this.unexpected(a),this.parseFor(i,te))}const S=this.isContextual(95),A=new bX,N=this.parseExpression(!0,A),j=this.isContextual(101);if(j&&(u&&this.raise(Jr.ForOfLet,{at:N}),a===null&&S&&N.type==="Identifier"&&this.raise(Jr.ForOfAsync,{at:N})),j||this.match(58)){this.checkDestructuringPrivate(A),this.toAssignable(N,!0);const z=j?"ForOfStatement":"ForInStatement";return this.checkLVal(N,{in:{type:z}}),this.parseForIn(i,N,a)}else this.checkExpressionErrors(A,!0);return a!==null&&this.unexpected(a),this.parseFor(i,N)}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(Jr.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(jDt),this.scope.enter(QN);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(Jr.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(Jr.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"?S$e:0),this.checkLVal(i,{in:{type:"CatchClause"},binding:NPt}),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(QN)),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(Jr.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($he),i.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(i,"WhileStatement")}parseWithStatement(i){return this.state.strict&&this.raise(Jr.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 S of this.state.labels)S.name===a&&this.raise(Jr.LabelRedeclaration,{at:u,labelName:a});const y=rPt(this.state.type)?"loop":this.match(71)?"switch":null;for(let S=this.state.labels.length-1;S>=0;S--){const A=this.state.labels[S];if(A.statementStart===i.start)A.statementStart=this.state.start,A.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(QN),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 S=i.body=[],A=i.directives=[];this.parseBlockOrModuleBlockBody(S,a?A:void 0,u,p,y)}parseBlockOrModuleBlockBody(i,a,u,p,y){const S=this.state.strict;let A=!1,N=!1;for(;!this.match(p);){const j=u?this.parseModuleItem():this.parseStatementListItem();if(a&&!N){if(this.isValidDirective(j)){const z=this.stmtToDirective(j);a.push(z),!A&&z.value.value==="use strict"&&(A=!0,this.setStrict(!0));continue}N=!0,this.state.strictErrors.clear()}i.push(j)}y&&y.call(this,A),S||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(Jr.ForInOfLoopInitializer,{at:a,type:p?"ForInStatement":"ForOfStatement"}),a.type==="AssignmentPattern"&&this.raise(Jr.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 S=this.startNode();if(this.parseVarId(S,u),S.init=this.eat(29)?a?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,S.init===null&&!p&&(S.id.type!=="Identifier"&&!(a&&(this.match(58)||this.isContextual(101)))?this.raise(Jr.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"}):u==="const"&&!(this.match(58)||this.isContextual(101))&&this.raise(Jr.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})),y.push(this.finishNode(S,"VariableDeclarator")),!this.eat(12))break}return i}parseVarId(i,a){a==="using"&&!this.inModule&&this.match(96)&&this.raise(Jr.AwaitInUsingBinding,{at:this.state.startLoc});const u=this.parseBindingAtom();this.checkLVal(u,{in:{type:"VariableDeclarator"},binding:a==="var"?YX:o7}),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),S=!!(a&8);this.initFunction(i,S),this.match(55)&&(u&&this.raise(Jr.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),i.generator=!0),p&&(i.id=this.parseFunctionId(y));const A=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(SC),this.prodParam.enter(vX(S,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=A,i}parseFunctionId(i){return i||Nu(this.state.type)?this.parseIdentifier():null}parseFunctionParams(i,a){this.expect(10),this.expressionScope.enter(aDt()),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?YX:o7:E$e,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(Jr.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){p.push(this.parseDecorator());continue}const S=this.startNode();p.length&&(S.decorators=p,this.resetStartLocationFromNode(S,p[0]),p=[]),this.parseClassMember(y,S,u),S.kind==="constructor"&&S.decorators&&S.decorators.length>0&&this.raise(Jr.DecoratorConstructor,{at:S})}}),this.state.strict=a,this.next(),p.length)throw this.raise(Jr.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,S=a,A=a,N=a,j=a,z=y,G=y;if(a.static=p,this.parsePropertyNamePrefixOperator(a),this.eat(55)){z.kind="method";const Qe=this.match(136);if(this.parseClassElementName(z),Qe){this.pushClassPrivateMethod(i,S,!0,!1);return}this.isNonstaticConstructor(y)&&this.raise(Jr.ConstructorIsGenerator,{at:y.key}),this.pushClassMethod(i,y,!0,!1,!1,!1);return}const te=Nu(this.state.type)&&!this.state.containsEsc,Oe=this.match(136),$e=this.parseClassElementName(a),Be=this.state.startLoc;if(this.parsePostMemberNameModifiers(G),this.isClassMethod()){if(z.kind="method",Oe){this.pushClassPrivateMethod(i,S,!1,!1);return}const Qe=this.isNonstaticConstructor(y);let Ue=!1;Qe&&(y.kind="constructor",u.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(Jr.DuplicateConstructor,{at:$e}),Qe&&this.hasPlugin("typescript")&&a.override&&this.raise(Jr.OverrideOnConstructor,{at:$e}),u.hadConstructor=!0,Ue=u.hadSuperClass),this.pushClassMethod(i,y,!1,!1,Qe,Ue)}else if(this.isClassProperty())Oe?this.pushClassPrivateProperty(i,N):this.pushClassProperty(i,A);else if(te&&$e.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments($e);const Qe=this.eat(55);G.optional&&this.unexpected(Be),z.kind="method";const Ue=this.match(136);this.parseClassElementName(z),this.parsePostMemberNameModifiers(G),Ue?this.pushClassPrivateMethod(i,S,Qe,!0):(this.isNonstaticConstructor(y)&&this.raise(Jr.ConstructorIsAsync,{at:y.key}),this.pushClassMethod(i,y,Qe,!0,!1,!1))}else if(te&&($e.name==="get"||$e.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments($e),z.kind=$e.name;const Qe=this.match(136);this.parseClassElementName(y),Qe?this.pushClassPrivateMethod(i,S,!1,!1):(this.isNonstaticConstructor(y)&&this.raise(Jr.ConstructorIsAccessor,{at:y.key}),this.pushClassMethod(i,y,!1,!1,!1,!1)),this.checkGetterSetterParams(y)}else if(te&&$e.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments($e);const Qe=this.match(136);this.parseClassElementName(A),this.pushClassAccessorProperty(i,j,Qe)}else this.isLineTerminator()?Oe?this.pushClassPrivateProperty(i,N):this.pushClassProperty(i,A):this.unexpected()}parseClassElementName(i){const{type:a,value:u}=this.state;if((a===130||a===131)&&i.static&&u==="prototype"&&this.raise(Jr.StaticPrototype,{at:this.state.startLoc}),a===136){u==="constructor"&&this.raise(Jr.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(S3|XX|GX);const p=this.state.labels;this.state.labels=[],this.prodParam.enter(c7);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(Jr.DecoratorStaticBlock,{at:a})}pushClassProperty(i,a){!a.computed&&(a.key.name==="constructor"||a.key.value==="constructor")&&this.raise(Jr.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),Uhe,u.key.loc.start)}pushClassAccessorProperty(i,a,u){if(!u&&!a.computed){const y=a.key;(y.name==="constructor"||y.value==="constructor")&&this.raise(Jr.ConstructorClassField,{at:y})}const p=this.parseClassAccessorProperty(a);i.body.push(p),u&&this.classScope.declarePrivateName(this.getPrivateNameSV(p.key),Uhe,p.key.loc.start)}pushClassMethod(i,a,u,p,y,S){i.body.push(this.parseMethod(a,u,p,y,S,"ClassMethod",!0))}pushClassPrivateMethod(i,a,u,p){const y=this.parseMethod(a,u,p,!1,!1,"ClassPrivateMethod",!0);i.body.push(y);const S=y.kind==="get"?y.static?BPt:JPt:y.kind==="set"?y.static?jPt:UPt:Uhe;this.declareClassPrivateMethodInScope(y,S)}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(S3|GX),this.expressionScope.enter(M$e()),this.prodParam.enter(c7),i.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(i,a,u,p=w$e){if(Nu(this.state.type))i.id=this.parseIdentifier(),a&&this.declareNameFromIdentifier(i.id,p);else if(u||!a)i.id=null;else throw this.raise(Jr.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),S=y&&this.maybeParseExportNamespaceSpecifier(i),A=p&&(!S||this.eat(12)),N=u||y;if(y&&!S){if(u&&this.unexpected(),a)throw this.raise(Jr.UnsupportedDecoratorExport,{at:i});return this.parseExportFrom(i,!0),this.finishNode(i,"ExportAllDeclaration")}const j=this.maybeParseExportNamedSpecifiers(i);u&&p&&!y&&!j&&this.unexpected(null,5),S&&A&&this.unexpected(null,97);let z;if(N||j){if(z=!1,a)throw this.raise(Jr.UnsupportedDecoratorExport,{at:i});this.parseExportFrom(i,N)}else z=this.maybeParseExportDeclaration(i);if(N||j||z){var G;const te=i;if(this.checkExport(te,!0,!1,!!te.source),((G=te.declaration)==null?void 0:G.type)==="ClassDeclaration")this.maybeTakeDecorators(a,te.declaration,te);else if(a)throw this.raise(Jr.UnsupportedDecoratorExport,{at:i});return this.finishNode(te,"ExportNamedDeclaration")}if(this.eat(65)){const te=i,Oe=this.parseExportDefaultExpression();if(te.declaration=Oe,Oe.type==="ClassDeclaration")this.maybeTakeDecorators(a,Oe,te);else if(a)throw this.raise(Jr.UnsupportedDecoratorExport,{at:i});return this.checkExport(te,!0,!0),this.finishNode(te,"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!L0e.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(Jr.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(Jr.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(Nu(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(Nu(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||Nu(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(Jr.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 S=i.declaration;S.type==="Identifier"&&S.name==="from"&&S.end-S.start===4&&!((y=S.extra)!=null&&y.parenthesized)&&this.raise(Jr.ExportDefaultFromAsIdentifier,{at:S})}}else if(i.specifiers&&i.specifiers.length)for(const S of i.specifiers){const{exported:A}=S,N=A.type==="Identifier"?A.name:A.value;if(this.checkDuplicateExports(S,N),!p&&S.local){const{local:j}=S;j.type!=="Identifier"?this.raise(Jr.ExportBindingIsString,{at:S,localName:j.value,exportName:N}):(this.checkReservedWord(j.name,j.loc.start,!0,!1),this.scope.checkLocalExport(j))}}else if(i.declaration){if(i.declaration.type==="FunctionDeclaration"||i.declaration.type==="ClassDeclaration"){const S=i.declaration.id;if(!S)throw new Error("Assertion failure");this.checkDuplicateExports(i,S.name)}else if(i.declaration.type==="VariableDeclaration")for(const S of i.declaration.declarations)this.checkDeclaration(S.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(Jr.DuplicateDefaultExport,{at:i}):this.raise(Jr.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),S=this.startNode();S.local=this.parseModuleExportName(),a.push(this.parseExportSpecifier(S,y,i,p))}return a}parseExportSpecifier(i,a,u,p){return this.eatContextual(93)?i.exported=this.parseModuleExportName():a?i.exported=_Dt(i.local):i.exported||(i.exported=DC(i.local)),this.finishNode(i,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){const i=this.parseStringLiteral(this.state.value),a=i.value.match(JDt);return a&&this.raise(Jr.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(Jr.ImportReflectionNotBinding,{at:i.specifiers[0].loc.start}),((a=i.assertions)==null?void 0:a.length)>0&&this.raise(Jr.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(Jr.ImportJSONBindingNotDefault,{at:u.loc.start})}}}parseMaybeImportReflection(i){let a=!1;if(this.isContextual(125)){const u=this.lookahead(),p=u.type;Nu(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 Nu(this.state.type)}parseImportSpecifierLocal(i,a,u){a.local=this.parseIdentifier(),i.specifiers.push(this.finishImportSpecifier(a,u))}finishImportSpecifier(i,a,u=o7){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(Jr.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(Jr.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(Jr.ModuleAttributeDifferentFromType,{at:u.key}),a.has(u.key.name)&&this.raise(Jr.ModuleAttributesWithDuplicateKeys,{at:u.key,key:u.key.name}),a.add(u.key.name),this.expect(14),!this.match(131))throw this.raise(Jr.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(Jr.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 S=this.parseImportSpecifier(u,p,i.importKind==="type"||i.importKind==="typeof",y,void 0);i.specifiers.push(S)}}parseImportSpecifier(i,a,u,p,y){if(this.eatContextual(93))i.local=this.parseIdentifier();else{const{imported:S}=i;if(a)throw this.raise(Jr.ImportBindingIsString,{at:i,importName:S.value});this.checkReservedWord(S.name,i.loc.start,!0,!0),i.local||(i.local=DC(S))}return this.finishImportSpecifier(i,"ImportSpecifier",y)}isThisParam(i){return i.type==="Identifier"&&i.name==="this"}}let z$e=class extends zDt{constructor(i,a){i=Q3t(i),super(i,a),this.options=i,this.initializeScopes(),this.plugins=VDt(this.options.plugins),this.filename=i.sourceFilename}getScopeHandler(){return O0e}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 VDt(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 $Dt(o,i){var a;if(((a=i)==null?void 0:a.sourceType)==="unambiguous"){i=Object.assign({},i);try{i.sourceType="module";const u=BF(i,o),p=u.parse();if(u.sawUnambiguousESM)return p;if(u.ambiguousScriptDifferentAst)try{return i.sourceType="script",BF(i,o).parse()}catch{}else p.program.sourceType="script";return p}catch(u){try{return i.sourceType="script",BF(i,o).parse()}catch{}throw u}}else return BF(i,o).parse()}function qDt(o,i){const a=BF(i,o);return a.options.strictMode&&(a.state.strict=!0),a.getExpression()}function WDt(o){const i={};for(const a of Object.keys(o))i[a]=hC(o[a]);return i}const HDt=WDt(Z3t);function BF(o,i){let a=z$e;return o!=null&&o.plugins&&(FDt(o.plugins),a=GDt(o.plugins)),new a(o,i)}const kJe={};function GDt(o){const i=RDt.filter(p=>Fg(o,p)),a=i.join("/");let u=kJe[a];if(!u){u=z$e;for(const p of i)u=U$e[p](u);kJe[a]=u}return u}var C6=oY.parse=$Dt,V$e=oY.parseExpression=qDt;oY.tokTypes=HDt;const Bh=o=>o.type===4&&o.isStatic,lT=(o,i)=>o===i||o===e$e(i);function B0e(o){if(lT(o,"Teleport"))return E3;if(lT(o,"Suspense"))return z7;if(lT(o,"KeepAlive"))return dR;if(lT(o,"BaseTransition"))return f0e}const XDt=/^\d|[^\$\w]/,w6=o=>!XDt.test(o),QDt=/[A-Za-z_$\xA0-\uFFFF]/,YDt=/[\.\?\w$\xA0-\uFFFF]/,ZDt=/\s+[.[]\s*|\s*[.[]\s+/g,KDt=o=>{o=o.trim().replace(ZDt,S=>S.trim());let i=0,a=[],u=0,p=0,y=null;for(let S=0;S<o.length;S++){const A=o.charAt(S);switch(i){case 0:if(A==="[")a.push(i),i=1,u++;else if(A==="(")a.push(i),i=2,p++;else if(!(S===0?QDt:YDt).test(A))return!1;break;case 1:A==="'"||A==='"'||A==="`"?(a.push(i),i=3,y=A):A==="["?u++:A==="]"&&(--u||(i=a.pop()));break;case 2:if(A==="'"||A==='"'||A==="`")a.push(i),i=3,y=A;else if(A==="(")p++;else if(A===")"){if(S===o.length-1)return!1;--p||(i=a.pop())}break;case 3:A===y&&(i=a.pop(),y=null);break}}return!u&&!p},$$e=(o,i)=>{try{let a=V$e(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}},j0e=$$e;function J0e(o,i,a){const p={source:o.source.slice(i,i+a),start:z3(o.start,o.source,i),end:o.end};return a!=null&&(p.end=z3(o.start,o.source,i+a)),p}function z3(o,i,a=i.length){return w7(PC({},o),i,a)}function w7(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 Jge(o,i){if(!o)throw new Error(i||"unexpected compiler condition")}function sh(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)&&(fu(i)?p.name===i:i.test(p.name)))return p}}function $0(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)&&xC(y.arg,i))return y}}function xC(o,i){return!!(o&&Bh(o)&&o.content===i)}function fY(o){return o.props.some(i=>i.type===7&&i.name==="bind"&&(!i.arg||i.arg.type!==4||!i.arg.isStatic))}function YF(o){return o.type===5||o.type===2}function U0e(o){return o.type===7&&o.name==="slot"}function E7(o){return o.type===1&&o.tagType===3}function A7(o){return o.type===1&&o.tagType===2}const e8t=new Set([x7,$7]);function q$e(o,i=[]){if(o&&!fu(o)&&o.type===14){const a=o.callee;if(!fu(a)&&e8t.has(a))return q$e(o.arguments[0],i.concat(o))}return[o,i]}function vR(o,i,a){let u,p=o.type===13?o.props:o.arguments[2],y=[],S;if(p&&!fu(p)&&p.type===14){const A=q$e(p);p=A[0],y=A[1],S=y[y.length-1]}if(p==null||fu(p))u=V0([i]);else if(p.type===14){const A=p.arguments[0];!fu(A)&&A.type===15?CJe(i,A)||A.properties.unshift(i):p.callee===tY?u=mc(a.helper(B3),[V0([i]),p]):p.arguments.unshift(V0([i])),!u&&(u=p)}else p.type===15?(CJe(i,p)||p.properties.unshift(i),u=p):(u=mc(a.helper(B3),[V0([i]),p]),S&&S.callee===$7&&(S=y[y.length-2]));o.type===13?S?S.arguments[0]=u:o.props=u:S?S.arguments[0]=u:o.arguments[2]=u}function CJe(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 bR(o,i){return`_${i}_${o.replace(/[^\w]/g,(a,u)=>a==="-"?"_":o.charCodeAt(u).toString())}`}function J0(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&&(J0(u.arg,i)||J0(u.exp,i)))return!0}return o.children.some(a=>J0(a,i));case 11:return J0(o.source,i)?!0:o.children.some(a=>J0(a,i));case 9:return o.branches.some(a=>J0(a,i));case 10:return J0(o.condition,i)?!0:o.children.some(a=>J0(a,i));case 4:return!o.isStatic&&w6(o.content)&&!!i[o.content];case 8:return o.children.some(a=>BC(a)&&J0(a,i));case 5:case 12:return J0(o.content,i);case 2:case 3:return!1;default:return!1}}function W$e(o){return o.type===14&&o.callee===sY?o.arguments[1].returns:o}const t8t={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 Uge(o,i){const a=i.options?i.options.compatConfig:i.compatConfig,u=a&&a[o];return o==="MODE"?u||3:u}function r8t(o,i){const a=Uge("MODE",i),u=Uge(o,i);return a===3?u===!0:u!==!1}function n8t(o,i,a,...u){const p=r8t(o,i);return p&&H$e(o,i,a,...u),p}function H$e(o,i,a,...u){if(Uge(o,i)==="suppress-warning")return;const{message:y,link:S}=t8t[o],A=`(deprecation ${o}) ${typeof y=="function"?y(...u):y}${S?`
Details: ${S}`:""}`,N=new SyntaxError(A);N.code=o,a&&(N.loc=a),i.onWarn(N)}const i8t=/&(gt|lt|amp|apos|quot);/g,s8t={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},wJe={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:hX,isPreTag:hX,isCustomElement:hX,decodeEntities:o=>o.replace(i8t,(i,a)=>s8t[a]),onError:u0e,onWarn:c$e,comments:!0};function _Y(o,i={}){const a=a8t(o,i),u=lv(a);return q7(z0e(a,0,[]),pT(a,u))}function a8t(o,i){const a=PC({},wJe);let u;for(u in i)a[u]=i[u]===void 0?wJe[u]:i[u];return{options:a,column:1,line:1,offset:0,originalSource:o,source:o,inPre:!1,inVPre:!1,onWarn:a.onWarn}}function z0e(o,i,a){const u=pY(a),p=u?u.ns:0,y=[];for(;!h8t(o,i,a);){const A=o.source;let N;if(i===0||i===1){if(!o.inVPre&&Bg(A,o.options.delimiters[0]))N=d8t(o,i);else if(i===0&&A[0]==="<")if(A.length===1)jf(o,5,1);else if(A[1]==="!")Bg(A,"<!--")?N=c8t(o):Bg(A,"<!DOCTYPE")?N=CF(o):Bg(A,"<![CDATA[")?p!==0?N=o8t(o,a):(jf(o,1),N=CF(o)):(jf(o,11),N=CF(o));else if(A[1]==="/")if(A.length===2)jf(o,5,2);else if(A[2]===">"){jf(o,14,2),Cm(o,3);continue}else if(/[a-z]/i.test(A[2])){jf(o,23),zge(o,eQ.End,u);continue}else jf(o,12,2),N=CF(o);else/[a-z]/i.test(A[1])?N=l8t(o,a):A[1]==="?"?(jf(o,21,1),N=CF(o)):jf(o,12,1)}if(N||(N=m8t(o,i)),jy(N))for(let j=0;j<N.length;j++)EJe(y,N[j]);else EJe(y,N)}let S=!1;if(i!==2&&i!==1){const A=o.options.whitespace!=="preserve";for(let N=0;N<y.length;N++){const j=y[N];if(j.type===2)if(o.inPre)j.content=j.content.replace(/\r\n/g,`
`);else if(/[^\t\r\n\f ]/.test(j.content))A&&(j.content=j.content.replace(/[\t\r\n\f ]+/g," "));else{const z=y[N-1],G=y[N+1];!z||!G||A&&(z.type===3&&G.type===3||z.type===3&&G.type===1||z.type===1&&G.type===3||z.type===1&&G.type===1&&/[\r\n]/.test(j.content))?(S=!0,y[N]=null):j.content=" "}else j.type===3&&!o.options.comments&&(S=!0,y[N]=null)}if(o.inPre&&u&&o.options.isPreTag(u.tag)){const N=y[0];N&&N.type===2&&(N.content=N.content.replace(/^\r?\n/,""))}}return S?y.filter(Boolean):y}function EJe(o,i){if(i.type===2){const a=pY(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 o8t(o,i){Cm(o,9);const a=z0e(o,3,i);return o.source.length===0?jf(o,6):Cm(o,3),a}function c8t(o){const i=lv(o);let a;const u=/--(\!)?>/.exec(o.source);if(!u)a=o.source.slice(4),Cm(o,o.source.length),jf(o,7);else{u.index<=3&&jf(o,0),u[1]&&jf(o,10),a=o.source.slice(4,u.index);const p=o.source.slice(0,u.index);let y=1,S=0;for(;(S=p.indexOf("<!--",y))!==-1;)Cm(o,S-y+1),S+4<p.length&&jf(o,16),y=S+1;Cm(o,u.index+u[0].length-y+1)}return{type:3,content:a,loc:pT(o,i)}}function CF(o){const i=lv(o),a=o.source[1]==="?"?1:2;let u;const p=o.source.indexOf(">");return p===-1?(u=o.source.slice(a),Cm(o,o.source.length)):(u=o.source.slice(a,p),Cm(o,p+1)),{type:3,content:u,loc:pT(o,i)}}function l8t(o,i){const a=o.inPre,u=o.inVPre,p=pY(i),y=zge(o,eQ.Start,p),S=o.inPre&&!a,A=o.inVPre&&!u;if(y.isSelfClosing||o.options.isVoidTag(y.tag))return S&&(o.inPre=!1),A&&(o.inVPre=!1),y;i.push(y);const N=o.options.getTextMode(y,p),j=z0e(o,N,i);if(i.pop(),y.children=j,Vge(o.source,y.tag))zge(o,eQ.End,p);else if(jf(o,24,0,y.loc.start),o.source.length===0&&y.tag.toLowerCase()==="script"){const z=j[0];z&&Bg(z.loc.source,"<!--")&&jf(o,8)}return y.loc=pT(o,y.loc.start),S&&(o.inPre=!1),A&&(o.inVPre=!1),y}var eQ=(o=>(o[o.Start=0]="Start",o[o.End=1]="End",o))(eQ||{});const u8t=zh("if,else,else-if,for,slot");function zge(o,i,a){const u=lv(o),p=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(o.source),y=p[1],S=o.options.getNamespace(y,a);Cm(o,p[0].length),TR(o);const A=lv(o),N=o.source;o.options.isPreTag(y)&&(o.inPre=!0);let j=AJe(o,i);i===0&&!o.inVPre&&j.some(te=>te.type===7&&te.name==="pre")&&(o.inVPre=!0,PC(o,A),o.source=N,j=AJe(o,i).filter(te=>te.name!=="v-pre"));let z=!1;if(o.source.length===0?jf(o,9):(z=Bg(o.source,"/>"),i===1&&z&&jf(o,4),Cm(o,z?2:1)),i===1)return;let G=0;return o.inVPre||(y==="slot"?G=2:y==="template"?j.some(te=>te.type===7&&u8t(te.name))&&(G=3):f8t(y,j,o)&&(G=1)),{type:1,ns:S,tag:y,tagType:G,props:j,isSelfClosing:z,children:[],loc:pT(o,u),codegenNode:void 0}}function f8t(o,i,a){const u=a.options;if(u.isCustomElement(o))return!1;if(o==="component"||/^[A-Z]/.test(o)||B0e(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"&&xC(y.arg,"is")}}}function AJe(o,i){const a=[],u=new Set;for(;o.source.length>0&&!Bg(o.source,">")&&!Bg(o.source,"/>");){if(Bg(o.source,"/")){jf(o,22),Cm(o,1),TR(o);continue}i===1&&jf(o,3);const p=_8t(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)&&jf(o,15),TR(o)}return a}function _8t(o,i){var a;const u=lv(o),y=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(o.source)[0];i.has(y)&&jf(o,2),i.add(y),y[0]==="="&&jf(o,19);{const N=/["'<]/g;let j;for(;j=N.exec(y);)jf(o,17,j.index)}Cm(o,y.length);let S;/^[\t\r\n\f ]*=/.test(o.source)&&(TR(o),Cm(o,1),TR(o),S=p8t(o),S||jf(o,13));const A=pT(o,u);if(!o.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(y)){const N=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(y);let j=Bg(y,"."),z=N[1]||(j||Bg(y,":")?"bind":Bg(y,"@")?"on":"slot"),G;if(N[2]){const Oe=z==="slot",$e=y.lastIndexOf(N[2],y.length-(((a=N[3])==null?void 0:a.length)||0)),Be=pT(o,PJe(o,u,$e),PJe(o,u,$e+N[2].length+(Oe&&N[3]||"").length));let Qe=N[2],Ue=!0;Qe.startsWith("[")?(Ue=!1,Qe.endsWith("]")?Qe=Qe.slice(1,Qe.length-1):(jf(o,27),Qe=Qe.slice(1))):Oe&&(Qe+=N[3]||""),G={type:4,content:Qe,isStatic:Ue,constType:Ue?3:0,loc:Be}}if(S&&S.isQuoted){const Oe=S.loc;Oe.start.offset++,Oe.start.column++,Oe.end=z3(Oe.start,S.content),Oe.source=Oe.source.slice(1,-1)}const te=N[3]?N[3].slice(1).split("."):[];return j&&te.push("prop"),{type:7,name:z,exp:S&&{type:4,content:S.content,isStatic:!1,constType:0,loc:S.loc},arg:G,modifiers:te,loc:A}}return!o.inVPre&&Bg(y,"v-")&&jf(o,26),{type:6,name:y,value:S&&{type:2,content:S.content,loc:S.loc},loc:A}}function p8t(o){const i=lv(o);let a;const u=o.source[0],p=u==='"'||u==="'";if(p){Cm(o,1);const y=o.source.indexOf(u);y===-1?a=ZF(o,o.source.length,4):(a=ZF(o,y,4),Cm(o,1))}else{const y=/^[^\t\r\n\f >]+/.exec(o.source);if(!y)return;const S=/["'<=`]/g;let A;for(;A=S.exec(y[0]);)jf(o,18,A.index);a=ZF(o,y[0].length,4)}return{content:a,isQuoted:p,loc:pT(o,i)}}function d8t(o,i){const[a,u]=o.options.delimiters,p=o.source.indexOf(u,a.length);if(p===-1){jf(o,25);return}const y=lv(o);Cm(o,a.length);const S=lv(o),A=lv(o),N=p-a.length,j=o.source.slice(0,N),z=ZF(o,N,i),G=z.trim(),te=z.indexOf(G);te>0&&w7(S,j,te);const Oe=N-(z.length-G.length-te);return w7(A,j,Oe),Cm(o,u.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:G,loc:pT(o,S,A)},loc:pT(o,y)}}function m8t(o,i){const a=i===3?["]]>"]:["<",o.options.delimiters[0]];let u=o.source.length;for(let S=0;S<a.length;S++){const A=o.source.indexOf(a[S],1);A!==-1&&u>A&&(u=A)}const p=lv(o);return{type:2,content:ZF(o,u,i),loc:pT(o,p)}}function ZF(o,i,a){const u=o.source.slice(0,i);return Cm(o,i),a===2||a===3||!u.includes("&")?u:o.options.decodeEntities(u,a===4)}function lv(o){const{column:i,line:a,offset:u}=o;return{column:i,line:a,offset:u}}function pT(o,i,a){return a=a||lv(o),{start:i,end:a,source:o.originalSource.slice(i.offset,a.offset)}}function pY(o){return o[o.length-1]}function Bg(o,i){return o.startsWith(i)}function Cm(o,i){const{source:a}=o;w7(o,a,i),o.source=a.slice(i)}function TR(o){const i=/^[\t\r\n\f ]+/.exec(o.source);i&&Cm(o,i[0].length)}function PJe(o,i,a){return z3(i,o.originalSource.slice(i.offset,a),a)}function jf(o,i,a,u=lv(o)){a&&(u.offset+=a,u.column+=a),o.options.onError(Wu(i,{start:u,end:u,source:""}))}function h8t(o,i,a){const u=o.source;switch(i){case 0:if(Bg(u,"</")){for(let p=a.length-1;p>=0;--p)if(Vge(u,a[p].tag))return!0}break;case 1:case 2:{const p=pY(a);if(p&&Vge(u,p.tag))return!0;break}case 3:if(Bg(u,"]]>"))return!0;break}return!u}function Vge(o,i){return Bg(o,"</")&&o.slice(2,2+i.length).toLowerCase()===i.toLowerCase()&&/[\t\r\n\f />]/.test(o[2+i.length]||">")}function g8t(o,i){TX(o,i,G$e(o,o.children[0]))}function G$e(o,i){const{children:a}=o;return a.length===1&&i.type===1&&!A7(i)}function TX(o,i,a=!1){const{children:u}=o,p=u.length;let y=0;for(let S=0;S<u.length;S++){const A=u[S];if(A.type===1&&A.tagType===0){const N=a?0:av(A,i);if(N>0){if(N>=2){A.codegenNode.patchFlag=-1+" /* HOISTED */",A.codegenNode=i.hoist(A.codegenNode),y++;continue}}else{const j=A.codegenNode;if(j.type===13){const z=Z$e(j);if((!z||z===512||z===1)&&Q$e(A,i)>=2){const G=Y$e(A);G&&(j.props=i.hoist(G))}j.dynamicProps&&(j.dynamicProps=i.hoist(j.dynamicProps))}}}if(A.type===1){const N=A.tagType===1;N&&i.scopes.vSlot++,TX(A,i),N&&i.scopes.vSlot--}else if(A.type===11)TX(A,i,A.children.length===1);else if(A.type===9)for(let N=0;N<A.branches.length;N++)TX(A.branches[N],i,A.branches[N].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&&jy(o.codegenNode.children)&&(o.codegenNode.children=i.hoist(q3(o.codegenNode.children)))}function av(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(Z$e(p))return a.set(o,0),0;{let A=3;const N=Q$e(o,i);if(N===0)return a.set(o,0),0;N<A&&(A=N);for(let j=0;j<o.children.length;j++){const z=av(o.children[j],i);if(z===0)return a.set(o,0),0;z<A&&(A=z)}if(A>1)for(let j=0;j<o.props.length;j++){const z=o.props[j];if(z.type===7&&z.name==="bind"&&z.exp){const G=av(z.exp,i);if(G===0)return a.set(o,0),0;G<A&&(A=G)}}if(p.isBlock){for(let j=0;j<o.props.length;j++)if(o.props[j].type===7)return a.set(o,0),0;i.removeHelper(x6),i.removeHelper(J3(i.inSSR,p.isComponent)),p.isBlock=!1,i.helper(j3(i.inSSR,p.isComponent))}return a.set(o,A),A}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return av(o.content,i);case 4:return o.constType;case 8:let S=3;for(let A=0;A<o.children.length;A++){const N=o.children[A];if(fu(N)||U7(N))continue;const j=av(N,i);if(j===0)return 0;j<S&&(S=j)}return S;default:return 0}}const y8t=new Set([KQ,eY,x7,$7]);function X$e(o,i){if(o.type===14&&!fu(o.callee)&&y8t.has(o.callee)){const a=o.arguments[0];if(a.type===4)return av(a,i);if(a.type===14)return X$e(a,i)}return 0}function Q$e(o,i){let a=3;const u=Y$e(o);if(u&&u.type===15){const{properties:p}=u;for(let y=0;y<p.length;y++){const{key:S,value:A}=p[y],N=av(S,i);if(N===0)return N;N<a&&(a=N);let j;if(A.type===4?j=av(A,i):A.type===14?j=X$e(A,i):j=0,j===0)return j;j<a&&(a=j)}}return a}function Y$e(o){const i=o.codegenNode;if(i.type===13)return i.props}function Z$e(o){const i=o.patchFlag;return i?parseInt(i,10):void 0}function tB(o,{filename:i="",prefixIdentifiers:a=!1,hoistStatic:u=!1,cacheHandlers:p=!1,nodeTransforms:y=[],directiveTransforms:S={},transformHoist:A=null,isBuiltInComponent:N=sJe,isCustomElement:j=sJe,expressionPlugins:z=[],scopeId:G=null,slotted:te=!0,ssr:Oe=!1,inSSR:$e=!1,ssrCssVars:Be="",bindingMetadata:Qe=b3t,inline:Ue=!1,isTS:yt=!1,onError:ot=u0e,onWarn:Ve=c$e,compatConfig:Ft}){const ir=i.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),kr={selfName:ir&&S6(fT(ir[1])),prefixIdentifiers:a,hoistStatic:u,cacheHandlers:p,nodeTransforms:y,directiveTransforms:S,transformHoist:A,isBuiltInComponent:N,isCustomElement:j,expressionPlugins:z,scopeId:G,slotted:te,ssr:Oe,inSSR:$e,ssrCssVars:Be,bindingMetadata:Qe,inline:Ue,isTS:yt,onError:ot,onWarn:Ve,compatConfig:Ft,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 pr=kr.helpers.get(Wt)||0;return kr.helpers.set(Wt,pr+1),Wt},removeHelper(Wt){const pr=kr.helpers.get(Wt);if(pr){const Sn=pr-1;Sn?kr.helpers.set(Wt,Sn):kr.helpers.delete(Wt)}},helperString(Wt){return`_${z0[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 pr=kr.parent.children,Sn=Wt?pr.indexOf(Wt):kr.currentNode?kr.childIndex:-1;if(Sn<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>Sn&&(kr.childIndex--,kr.onNodeRemoved()),kr.parent.children.splice(Sn,1)},onNodeRemoved:()=>{},addIdentifiers(Wt){fu(Wt)?Ot(Wt):Wt.identifiers?Wt.identifiers.forEach(Ot):Wt.type===4&&Ot(Wt.content)},removeIdentifiers(Wt){fu(Wt)?kt(Wt):Wt.identifiers?Wt.identifiers.forEach(kt):Wt.type===4&&kt(Wt.content)},hoist(Wt){fu(Wt)&&(Wt=Na(Wt)),kr.hoists.push(Wt);const pr=Na(`_hoisted_${kr.hoists.length}`,!1,Wt.loc,2);return pr.hoisted=Wt,pr},cache(Wt,pr=!1){return f$e(kr.cached++,Wt,pr)}};function Ot(Wt){const{identifiers:pr}=kr;pr[Wt]===void 0&&(pr[Wt]=0),pr[Wt]++}function kt(Wt){kr.identifiers[Wt]--}return kr}function dY(o,i){const a=tB(o,i);W7(o,a),i.hoistStatic&&g8t(o,a),i.ssr||v8t(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 v8t(o,i){const{helper:a}=i,{children:u}=o;if(u.length===1){const p=u[0];if(G$e(o,p)&&p.codegenNode){const y=p.codegenNode;y.type===13&&aY(y,i),o.codegenNode=y}else o.codegenNode=p}else if(u.length>1){let p=64,y=ux[64];u.filter(S=>S.type!==3).length===1&&(p|=2048,y+=`, ${ux[2048]}`),o.codegenNode=C7(i,a(T7),void 0,o.children,p+` /* ${y} */`,void 0,void 0,!0,void 0,!1)}}function b8t(o,i){let a=0;const u=()=>{a--};for(;a<o.children.length;a++){const p=o.children[a];fu(p)||(i.parent=o,i.childIndex=a,i.onNodeRemoved=u,W7(p,i))}}function W7(o,i){i.currentNode=o;const{nodeTransforms:a}=i,u=[];for(let y=0;y<a.length;y++){const S=a[y](o,i);if(S&&(jy(S)?u.push(...S):u.push(S)),i.currentNode)o=i.currentNode;else return}switch(o.type){case 3:i.ssr||i.helper(V7);break;case 5:i.ssr||i.helper(ZR);break;case 9:for(let y=0;y<o.branches.length;y++)W7(o.branches[y],i);break;case 10:case 11:case 1:case 0:b8t(o,i);break}i.currentNode=o;let p=u.length;for(;p--;)u[p]()}function rB(o,i){const a=fu(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(U0e))return;const S=[];for(let A=0;A<y.length;A++){const N=y[A];if(N.type===7&&a(N.name)){y.splice(A,1),A--;const j=i(u,N,p);j&&S.push(j)}}return S}}}var H7={},V0e={},mY={},$0e={},DJe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");$0e.encode=function(o){if(0<=o&&o<DJe.length)return DJe[o];throw new TypeError("Must be between 0 and 63: "+o)};$0e.decode=function(o){var i=65,a=90,u=97,p=122,y=48,S=57,A=43,N=47,j=26,z=52;return i<=o&&o<=a?o-i:u<=o&&o<=p?o-u+j:y<=o&&o<=S?o-y+z:o==A?62:o==N?63:-1};var K$e=$0e,q0e=5,eqe=1<<q0e,tqe=eqe-1,rqe=eqe;function T8t(o){return o<0?(-o<<1)+1:(o<<1)+0}function S8t(o){var i=(o&1)===1,a=o>>1;return i?-a:a}mY.encode=function(i){var a="",u,p=T8t(i);do u=p&tqe,p>>>=q0e,p>0&&(u|=rqe),a+=K$e.encode(u);while(p>0);return a};mY.decode=function(i,a,u){var p=i.length,y=0,S=0,A,N;do{if(a>=p)throw new Error("Expected more digits in base 64 VLQ value.");if(N=K$e.decode(i.charCodeAt(a++)),N===-1)throw new Error("Invalid base64 digit: "+i.charAt(a-1));A=!!(N&rqe),N&=tqe,y=y+(N<<S),S+=q0e}while(A);u.value=S8t(y),u.rest=a};var G7={};(function(o){function i(Ot,kt,Wt){if(kt in Ot)return Ot[kt];if(arguments.length===3)return Wt;throw new Error('"'+kt+'" is a required argument.')}o.getArg=i;var a=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,u=/^data:.+\,.+$/;function p(Ot){var kt=Ot.match(a);return kt?{scheme:kt[1],auth:kt[2],host:kt[3],port:kt[4],path:kt[5]}:null}o.urlParse=p;function y(Ot){var kt="";return Ot.scheme&&(kt+=Ot.scheme+":"),kt+="//",Ot.auth&&(kt+=Ot.auth+"@"),Ot.host&&(kt+=Ot.host),Ot.port&&(kt+=":"+Ot.port),Ot.path&&(kt+=Ot.path),kt}o.urlGenerate=y;var S=32;function A(Ot){var kt=[];return function(Wt){for(var pr=0;pr<kt.length;pr++)if(kt[pr].input===Wt){var Sn=kt[0];return kt[0]=kt[pr],kt[pr]=Sn,kt[0].result}var gr=Ot(Wt);return kt.unshift({input:Wt,result:gr}),kt.length>S&&kt.pop(),gr}}var N=A(function(kt){var Wt=kt,pr=p(kt);if(pr){if(!pr.path)return kt;Wt=pr.path}for(var Sn=o.isAbsolute(Wt),gr=[],ji=0,us=0;;)if(ji=us,us=Wt.indexOf("/",ji),us===-1){gr.push(Wt.slice(ji));break}else for(gr.push(Wt.slice(ji,us));us<Wt.length&&Wt[us]==="/";)us++;for(var qt,qa=0,us=gr.length-1;us>=0;us--)qt=gr[us],qt==="."?gr.splice(us,1):qt===".."?qa++:qa>0&&(qt===""?(gr.splice(us+1,qa),qa=0):(gr.splice(us,2),qa--));return Wt=gr.join("/"),Wt===""&&(Wt=Sn?"/":"."),pr?(pr.path=Wt,y(pr)):Wt});o.normalize=N;function j(Ot,kt){Ot===""&&(Ot="."),kt===""&&(kt=".");var Wt=p(kt),pr=p(Ot);if(pr&&(Ot=pr.path||"/"),Wt&&!Wt.scheme)return pr&&(Wt.scheme=pr.scheme),y(Wt);if(Wt||kt.match(u))return kt;if(pr&&!pr.host&&!pr.path)return pr.host=kt,y(pr);var Sn=kt.charAt(0)==="/"?kt:N(Ot.replace(/\/+$/,"")+"/"+kt);return pr?(pr.path=Sn,y(pr)):Sn}o.join=j,o.isAbsolute=function(Ot){return Ot.charAt(0)==="/"||a.test(Ot)};function z(Ot,kt){Ot===""&&(Ot="."),Ot=Ot.replace(/\/$/,"");for(var Wt=0;kt.indexOf(Ot+"/")!==0;){var pr=Ot.lastIndexOf("/");if(pr<0||(Ot=Ot.slice(0,pr),Ot.match(/^([^\/]+:\/)?\/*$/)))return kt;++Wt}return Array(Wt+1).join("../")+kt.substr(Ot.length+1)}o.relative=z;var G=function(){var Ot=Object.create(null);return!("__proto__"in Ot)}();function te(Ot){return Ot}function Oe(Ot){return Be(Ot)?"$"+Ot:Ot}o.toSetString=G?te:Oe;function $e(Ot){return Be(Ot)?Ot.slice(1):Ot}o.fromSetString=G?te:$e;function Be(Ot){if(!Ot)return!1;var kt=Ot.length;if(kt<9||Ot.charCodeAt(kt-1)!==95||Ot.charCodeAt(kt-2)!==95||Ot.charCodeAt(kt-3)!==111||Ot.charCodeAt(kt-4)!==116||Ot.charCodeAt(kt-5)!==111||Ot.charCodeAt(kt-6)!==114||Ot.charCodeAt(kt-7)!==112||Ot.charCodeAt(kt-8)!==95||Ot.charCodeAt(kt-9)!==95)return!1;for(var Wt=kt-10;Wt>=0;Wt--)if(Ot.charCodeAt(Wt)!==36)return!1;return!0}function Qe(Ot,kt,Wt){var pr=Ve(Ot.source,kt.source);return pr!==0||(pr=Ot.originalLine-kt.originalLine,pr!==0)||(pr=Ot.originalColumn-kt.originalColumn,pr!==0||Wt)||(pr=Ot.generatedColumn-kt.generatedColumn,pr!==0)||(pr=Ot.generatedLine-kt.generatedLine,pr!==0)?pr:Ve(Ot.name,kt.name)}o.compareByOriginalPositions=Qe;function Ue(Ot,kt,Wt){var pr;return pr=Ot.originalLine-kt.originalLine,pr!==0||(pr=Ot.originalColumn-kt.originalColumn,pr!==0||Wt)||(pr=Ot.generatedColumn-kt.generatedColumn,pr!==0)||(pr=Ot.generatedLine-kt.generatedLine,pr!==0)?pr:Ve(Ot.name,kt.name)}o.compareByOriginalPositionsNoSource=Ue;function yt(Ot,kt,Wt){var pr=Ot.generatedLine-kt.generatedLine;return pr!==0||(pr=Ot.generatedColumn-kt.generatedColumn,pr!==0||Wt)||(pr=Ve(Ot.source,kt.source),pr!==0)||(pr=Ot.originalLine-kt.originalLine,pr!==0)||(pr=Ot.originalColumn-kt.originalColumn,pr!==0)?pr:Ve(Ot.name,kt.name)}o.compareByGeneratedPositionsDeflated=yt;function ot(Ot,kt,Wt){var pr=Ot.generatedColumn-kt.generatedColumn;return pr!==0||Wt||(pr=Ve(Ot.source,kt.source),pr!==0)||(pr=Ot.originalLine-kt.originalLine,pr!==0)||(pr=Ot.originalColumn-kt.originalColumn,pr!==0)?pr:Ve(Ot.name,kt.name)}o.compareByGeneratedPositionsDeflatedNoLine=ot;function Ve(Ot,kt){return Ot===kt?0:Ot===null?1:kt===null?-1:Ot>kt?1:-1}function Ft(Ot,kt){var Wt=Ot.generatedLine-kt.generatedLine;return Wt!==0||(Wt=Ot.generatedColumn-kt.generatedColumn,Wt!==0)||(Wt=Ve(Ot.source,kt.source),Wt!==0)||(Wt=Ot.originalLine-kt.originalLine,Wt!==0)||(Wt=Ot.originalColumn-kt.originalColumn,Wt!==0)?Wt:Ve(Ot.name,kt.name)}o.compareByGeneratedPositionsInflated=Ft;function ir(Ot){return JSON.parse(Ot.replace(/^\)]}'[^\n]*\n/,""))}o.parseSourceMapInput=ir;function kr(Ot,kt,Wt){if(kt=kt||"",Ot&&(Ot[Ot.length-1]!=="/"&&kt[0]!=="/"&&(Ot+="/"),kt=Ot+kt),Wt){var pr=p(Wt);if(!pr)throw new Error("sourceMapURL could not be parsed");if(pr.path){var Sn=pr.path.lastIndexOf("/");Sn>=0&&(pr.path=pr.path.substring(0,Sn+1))}kt=j(y(pr),kt)}return N(kt)}o.computeSourceURL=kr})(G7);var W0e={},H0e=G7,G0e=Object.prototype.hasOwnProperty,P3=typeof Map<"u";function IC(){this._array=[],this._set=P3?new Map:Object.create(null)}IC.fromArray=function(i,a){for(var u=new IC,p=0,y=i.length;p<y;p++)u.add(i[p],a);return u};IC.prototype.size=function(){return P3?this._set.size:Object.getOwnPropertyNames(this._set).length};IC.prototype.add=function(i,a){var u=P3?i:H0e.toSetString(i),p=P3?this.has(i):G0e.call(this._set,u),y=this._array.length;(!p||a)&&this._array.push(i),p||(P3?this._set.set(i,y):this._set[u]=y)};IC.prototype.has=function(i){if(P3)return this._set.has(i);var a=H0e.toSetString(i);return G0e.call(this._set,a)};IC.prototype.indexOf=function(i){if(P3){var a=this._set.get(i);if(a>=0)return a}else{var u=H0e.toSetString(i);if(G0e.call(this._set,u))return this._set[u]}throw new Error('"'+i+'" is not in the set.')};IC.prototype.at=function(i){if(i>=0&&i<this._array.length)return this._array[i];throw new Error("No element indexed by "+i)};IC.prototype.toArray=function(){return this._array.slice()};W0e.ArraySet=IC;var nqe={},iqe=G7;function x8t(o,i){var a=o.generatedLine,u=i.generatedLine,p=o.generatedColumn,y=i.generatedColumn;return u>a||u==a&&y>=p||iqe.compareByGeneratedPositionsInflated(o,i)<=0}function hY(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}hY.prototype.unsortedForEach=function(i,a){this._array.forEach(i,a)};hY.prototype.add=function(i){x8t(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=!1,this._array.push(i))};hY.prototype.toArray=function(){return this._sorted||(this._array.sort(iqe.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};nqe.MappingList=hY;var wF=mY,Hd=G7,tQ=W0e.ArraySet,k8t=nqe.MappingList;function Mb(o){o||(o={}),this._file=Hd.getArg(o,"file",null),this._sourceRoot=Hd.getArg(o,"sourceRoot",null),this._skipValidation=Hd.getArg(o,"skipValidation",!1),this._sources=new tQ,this._names=new tQ,this._mappings=new k8t,this._sourcesContents=null}Mb.prototype._version=3;Mb.fromSourceMap=function(i){var a=i.sourceRoot,u=new Mb({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=Hd.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=Hd.relative(a,p)),u._sources.has(y)||u._sources.add(y);var S=i.sourceContentFor(p);S!=null&&u.setSourceContent(p,S)}),u};Mb.prototype.addMapping=function(i){var a=Hd.getArg(i,"generated"),u=Hd.getArg(i,"original",null),p=Hd.getArg(i,"source",null),y=Hd.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})};Mb.prototype.setSourceContent=function(i,a){var u=i;this._sourceRoot!=null&&(u=Hd.relative(this._sourceRoot,u)),a!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Hd.toSetString(u)]=a):this._sourcesContents&&(delete this._sourcesContents[Hd.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Mb.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=Hd.relative(y,p));var S=new tQ,A=new tQ;this._mappings.unsortedForEach(function(N){if(N.source===p&&N.originalLine!=null){var j=i.originalPositionFor({line:N.originalLine,column:N.originalColumn});j.source!=null&&(N.source=j.source,u!=null&&(N.source=Hd.join(u,N.source)),y!=null&&(N.source=Hd.relative(y,N.source)),N.originalLine=j.line,N.originalColumn=j.column,j.name!=null&&(N.name=j.name))}var z=N.source;z!=null&&!S.has(z)&&S.add(z);var G=N.name;G!=null&&!A.has(G)&&A.add(G)},this),this._sources=S,this._names=A,i.sources.forEach(function(N){var j=i.sourceContentFor(N);j!=null&&(u!=null&&(N=Hd.join(u,N)),y!=null&&(N=Hd.relative(y,N)),this.setSourceContent(N,j))},this)};Mb.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}))}};Mb.prototype._serializeMappings=function(){for(var i=0,a=1,u=0,p=0,y=0,S=0,A="",N,j,z,G,te=this._mappings.toArray(),Oe=0,$e=te.length;Oe<$e;Oe++){if(j=te[Oe],N="",j.generatedLine!==a)for(i=0;j.generatedLine!==a;)N+=";",a++;else if(Oe>0){if(!Hd.compareByGeneratedPositionsInflated(j,te[Oe-1]))continue;N+=","}N+=wF.encode(j.generatedColumn-i),i=j.generatedColumn,j.source!=null&&(G=this._sources.indexOf(j.source),N+=wF.encode(G-S),S=G,N+=wF.encode(j.originalLine-1-p),p=j.originalLine-1,N+=wF.encode(j.originalColumn-u),u=j.originalColumn,j.name!=null&&(z=this._names.indexOf(j.name),N+=wF.encode(z-y),y=z)),A+=N}return A};Mb.prototype._generateSourcesContent=function(i,a){return i.map(function(u){if(!this._sourcesContents)return null;a!=null&&(u=Hd.relative(a,u));var p=Hd.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,p)?this._sourcesContents[p]:null},this)};Mb.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};Mb.prototype.toString=function(){return JSON.stringify(this.toJSON())};V0e.SourceMapGenerator=Mb;var gY={},sqe={};(function(o){o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2;function i(a,u,p,y,S,A){var N=Math.floor((u-a)/2)+a,j=S(p,y[N],!0);return j===0?N:j>0?u-N>1?i(N,u,p,y,S,A):A==o.LEAST_UPPER_BOUND?u<y.length?u:-1:N:N-a>1?i(a,N,p,y,S,A):A==o.LEAST_UPPER_BOUND?N:a<0?-1:a}o.search=function(u,p,y,S){if(p.length===0)return-1;var A=i(-1,p.length,u,p,y,S||o.GREATEST_LOWER_BOUND);if(A<0)return-1;for(;A-1>=0&&y(p[A],p[A-1],!0)===0;)--A;return A}})(sqe);var aqe={};function C8t(o){function i(p,y,S){var A=p[y];p[y]=p[S],p[S]=A}function a(p,y){return Math.round(p+Math.random()*(y-p))}function u(p,y,S,A){if(S<A){var N=a(S,A),j=S-1;i(p,N,A);for(var z=p[A],G=S;G<A;G++)y(p[G],z,!1)<=0&&(j+=1,i(p,j,G));i(p,j+1,G);var te=j+1;u(p,y,S,te-1),u(p,y,te+1,A)}}return u}function w8t(o){let i=C8t.toString();return new Function(`return ${i}`)()(o)}let NJe=new WeakMap;aqe.quickSort=function(o,i,a=0){let u=NJe.get(i);u===void 0&&(u=w8t(i),NJe.set(i,u)),u(o,i,a,o.length-1)};var Co=G7,X0e=sqe,P7=W0e.ArraySet,E8t=mY,SR=aqe.quickSort;function Z_(o,i){var a=o;return typeof o=="string"&&(a=Co.parseSourceMapInput(o)),a.sections!=null?new mT(a,i):new Jh(a,i)}Z_.fromSourceMap=function(o,i){return Jh.fromSourceMap(o,i)};Z_.prototype._version=3;Z_.prototype.__generatedMappings=null;Object.defineProperty(Z_.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});Z_.prototype.__originalMappings=null;Object.defineProperty(Z_.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});Z_.prototype._charIsMappingSeparator=function(i,a){var u=i.charAt(a);return u===";"||u===","};Z_.prototype._parseMappings=function(i,a){throw new Error("Subclasses must implement _parseMappings")};Z_.GENERATED_ORDER=1;Z_.ORIGINAL_ORDER=2;Z_.GREATEST_LOWER_BOUND=1;Z_.LEAST_UPPER_BOUND=2;Z_.prototype.eachMapping=function(i,a,u){var p=a||null,y=u||Z_.GENERATED_ORDER,S;switch(y){case Z_.GENERATED_ORDER:S=this._generatedMappings;break;case Z_.ORIGINAL_ORDER:S=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var A=this.sourceRoot,N=i.bind(p),j=this._names,z=this._sources,G=this._sourceMapURL,te=0,Oe=S.length;te<Oe;te++){var $e=S[te],Be=$e.source===null?null:z.at($e.source);Be=Co.computeSourceURL(A,Be,G),N({source:Be,generatedLine:$e.generatedLine,generatedColumn:$e.generatedColumn,originalLine:$e.originalLine,originalColumn:$e.originalColumn,name:$e.name===null?null:j.at($e.name)})}};Z_.prototype.allGeneratedPositionsFor=function(i){var a=Co.getArg(i,"line"),u={source:Co.getArg(i,"source"),originalLine:a,originalColumn:Co.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",Co.compareByOriginalPositions,X0e.LEAST_UPPER_BOUND);if(y>=0){var S=this._originalMappings[y];if(i.column===void 0)for(var A=S.originalLine;S&&S.originalLine===A;)p.push({line:Co.getArg(S,"generatedLine",null),column:Co.getArg(S,"generatedColumn",null),lastColumn:Co.getArg(S,"lastGeneratedColumn",null)}),S=this._originalMappings[++y];else for(var N=S.originalColumn;S&&S.originalLine===a&&S.originalColumn==N;)p.push({line:Co.getArg(S,"generatedLine",null),column:Co.getArg(S,"generatedColumn",null),lastColumn:Co.getArg(S,"lastGeneratedColumn",null)}),S=this._originalMappings[++y]}return p};gY.SourceMapConsumer=Z_;function Jh(o,i){var a=o;typeof o=="string"&&(a=Co.parseSourceMapInput(o));var u=Co.getArg(a,"version"),p=Co.getArg(a,"sources"),y=Co.getArg(a,"names",[]),S=Co.getArg(a,"sourceRoot",null),A=Co.getArg(a,"sourcesContent",null),N=Co.getArg(a,"mappings"),j=Co.getArg(a,"file",null);if(u!=this._version)throw new Error("Unsupported version: "+u);S&&(S=Co.normalize(S)),p=p.map(String).map(Co.normalize).map(function(z){return S&&Co.isAbsolute(S)&&Co.isAbsolute(z)?Co.relative(S,z):z}),this._names=P7.fromArray(y.map(String),!0),this._sources=P7.fromArray(p,!0),this._absoluteSources=this._sources.toArray().map(function(z){return Co.computeSourceURL(S,z,i)}),this.sourceRoot=S,this.sourcesContent=A,this._mappings=N,this._sourceMapURL=i,this.file=j}Jh.prototype=Object.create(Z_.prototype);Jh.prototype.consumer=Z_;Jh.prototype._findSourceIndex=function(o){var i=o;if(this.sourceRoot!=null&&(i=Co.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};Jh.fromSourceMap=function(i,a){var u=Object.create(Jh.prototype),p=u._names=P7.fromArray(i._names.toArray(),!0),y=u._sources=P7.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(Oe){return Co.computeSourceURL(u.sourceRoot,Oe,a)});for(var S=i._mappings.toArray().slice(),A=u.__generatedMappings=[],N=u.__originalMappings=[],j=0,z=S.length;j<z;j++){var G=S[j],te=new oqe;te.generatedLine=G.generatedLine,te.generatedColumn=G.generatedColumn,G.source&&(te.source=y.indexOf(G.source),te.originalLine=G.originalLine,te.originalColumn=G.originalColumn,G.name&&(te.name=p.indexOf(G.name)),N.push(te)),A.push(te)}return SR(u.__originalMappings,Co.compareByOriginalPositions),u};Jh.prototype._version=3;Object.defineProperty(Jh.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function oqe(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}const Whe=Co.compareByGeneratedPositionsDeflatedNoLine;function IJe(o,i){let a=o.length,u=o.length-i;if(!(u<=1))if(u==2){let p=o[i],y=o[i+1];Whe(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 S=o[y-1],A=o[y];if(Whe(S,A)<=0)break;o[y-1]=A,o[y]=S}else SR(o,Whe,i)}Jh.prototype._parseMappings=function(i,a){var u=1,p=0,y=0,S=0,A=0,N=0,j=i.length,z=0,G={},te=[],Oe=[],$e,Be,Qe,Ue;let yt=0;for(;z<j;)if(i.charAt(z)===";")u++,z++,p=0,IJe(Oe,yt),yt=Oe.length;else if(i.charAt(z)===",")z++;else{for($e=new oqe,$e.generatedLine=u,Qe=z;Qe<j&&!this._charIsMappingSeparator(i,Qe);Qe++);for(i.slice(z,Qe),Be=[];z<Qe;)E8t.decode(i,z,G),Ue=G.value,z=G.rest,Be.push(Ue);if(Be.length===2)throw new Error("Found a source, but no line and column");if(Be.length===3)throw new Error("Found a source and line, but no column");if($e.generatedColumn=p+Be[0],p=$e.generatedColumn,Be.length>1&&($e.source=A+Be[1],A+=Be[1],$e.originalLine=y+Be[2],y=$e.originalLine,$e.originalLine+=1,$e.originalColumn=S+Be[3],S=$e.originalColumn,Be.length>4&&($e.name=N+Be[4],N+=Be[4])),Oe.push($e),typeof $e.originalLine=="number"){let Ve=$e.source;for(;te.length<=Ve;)te.push(null);te[Ve]===null&&(te[Ve]=[]),te[Ve].push($e)}}IJe(Oe,yt),this.__generatedMappings=Oe;for(var ot=0;ot<te.length;ot++)te[ot]!=null&&SR(te[ot],Co.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...te)};Jh.prototype._findMapping=function(i,a,u,p,y,S){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 X0e.search(i,a,y,S)};Jh.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}};Jh.prototype.originalPositionFor=function(i){var a={generatedLine:Co.getArg(i,"line"),generatedColumn:Co.getArg(i,"column")},u=this._findMapping(a,this._generatedMappings,"generatedLine","generatedColumn",Co.compareByGeneratedPositionsDeflated,Co.getArg(i,"bias",Z_.GREATEST_LOWER_BOUND));if(u>=0){var p=this._generatedMappings[u];if(p.generatedLine===a.generatedLine){var y=Co.getArg(p,"source",null);y!==null&&(y=this._sources.at(y),y=Co.computeSourceURL(this.sourceRoot,y,this._sourceMapURL));var S=Co.getArg(p,"name",null);return S!==null&&(S=this._names.at(S)),{source:y,line:Co.getArg(p,"originalLine",null),column:Co.getArg(p,"originalColumn",null),name:S}}}return{source:null,line:null,column:null,name:null}};Jh.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(i){return i==null}):!1};Jh.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=Co.relative(this.sourceRoot,p));var y;if(this.sourceRoot!=null&&(y=Co.urlParse(this.sourceRoot))){var S=p.replace(/^file:\/\//,"");if(y.scheme=="file"&&this._sources.has(S))return this.sourcesContent[this._sources.indexOf(S)];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.')};Jh.prototype.generatedPositionFor=function(i){var a=Co.getArg(i,"source");if(a=this._findSourceIndex(a),a<0)return{line:null,column:null,lastColumn:null};var u={source:a,originalLine:Co.getArg(i,"line"),originalColumn:Co.getArg(i,"column")},p=this._findMapping(u,this._originalMappings,"originalLine","originalColumn",Co.compareByOriginalPositions,Co.getArg(i,"bias",Z_.GREATEST_LOWER_BOUND));if(p>=0){var y=this._originalMappings[p];if(y.source===u.source)return{line:Co.getArg(y,"generatedLine",null),column:Co.getArg(y,"generatedColumn",null),lastColumn:Co.getArg(y,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};gY.BasicSourceMapConsumer=Jh;function mT(o,i){var a=o;typeof o=="string"&&(a=Co.parseSourceMapInput(o));var u=Co.getArg(a,"version"),p=Co.getArg(a,"sections");if(u!=this._version)throw new Error("Unsupported version: "+u);this._sources=new P7,this._names=new P7;var y={line:-1,column:0};this._sections=p.map(function(S){if(S.url)throw new Error("Support for url field in sections not implemented.");var A=Co.getArg(S,"offset"),N=Co.getArg(A,"line"),j=Co.getArg(A,"column");if(N<y.line||N===y.line&&j<y.column)throw new Error("Section offsets must be ordered and non-overlapping.");return y=A,{generatedOffset:{generatedLine:N+1,generatedColumn:j+1},consumer:new Z_(Co.getArg(S,"map"),i)}})}mT.prototype=Object.create(Z_.prototype);mT.prototype.constructor=Z_;mT.prototype._version=3;Object.defineProperty(mT.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}});mT.prototype.originalPositionFor=function(i){var a={generatedLine:Co.getArg(i,"line"),generatedColumn:Co.getArg(i,"column")},u=X0e.search(a,this._sections,function(y,S){var A=y.generatedLine-S.generatedOffset.generatedLine;return A||y.generatedColumn-S.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}};mT.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(i){return i.consumer.hasContentsOfAllSources()})};mT.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.')};mT.prototype.generatedPositionFor=function(i){for(var a=0;a<this._sections.length;a++){var u=this._sections[a];if(u.consumer._findSourceIndex(Co.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}};mT.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,S=0;S<y.length;S++){var A=y[S],N=p.consumer._sources.at(A.source);N=Co.computeSourceURL(p.consumer.sourceRoot,N,this._sourceMapURL),this._sources.add(N),N=this._sources.indexOf(N);var j=null;A.name&&(j=p.consumer._names.at(A.name),this._names.add(j),j=this._names.indexOf(j));var z={source:N,generatedLine:A.generatedLine+(p.generatedOffset.generatedLine-1),generatedColumn:A.generatedColumn+(p.generatedOffset.generatedLine===A.generatedLine?p.generatedOffset.generatedColumn-1:0),originalLine:A.originalLine,originalColumn:A.originalColumn,name:j};this.__generatedMappings.push(z),typeof z.originalLine=="number"&&this.__originalMappings.push(z)}SR(this.__generatedMappings,Co.compareByGeneratedPositionsDeflated),SR(this.__originalMappings,Co.compareByOriginalPositions)};gY.IndexedSourceMapConsumer=mT;var cqe={},A8t=V0e.SourceMapGenerator,rQ=G7,P8t=/(\r?\n)/,D8t=10,X7="$$$isSourceNode$$$";function uv(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[X7]=!0,u!=null&&this.add(u)}uv.fromStringWithSourceMap=function(i,a,u){var p=new uv,y=i.split(P8t),S=0,A=function(){var te=$e(),Oe=$e()||"";return te+Oe;function $e(){return S<y.length?y[S++]:void 0}},N=1,j=0,z=null;return a.eachMapping(function(te){if(z!==null)if(N<te.generatedLine)G(z,A()),N++,j=0;else{var Oe=y[S]||"",$e=Oe.substr(0,te.generatedColumn-j);y[S]=Oe.substr(te.generatedColumn-j),j=te.generatedColumn,G(z,$e),z=te;return}for(;N<te.generatedLine;)p.add(A()),N++;if(j<te.generatedColumn){var Oe=y[S]||"";p.add(Oe.substr(0,te.generatedColumn)),y[S]=Oe.substr(te.generatedColumn),j=te.generatedColumn}z=te},this),S<y.length&&(z&&G(z,A()),p.add(y.splice(S).join(""))),a.sources.forEach(function(te){var Oe=a.sourceContentFor(te);Oe!=null&&(u!=null&&(te=rQ.join(u,te)),p.setSourceContent(te,Oe))}),p;function G(te,Oe){if(te===null||te.source===void 0)p.add(Oe);else{var $e=u?rQ.join(u,te.source):te.source;p.add(new uv(te.originalLine,te.originalColumn,$e,Oe,te.name))}}};uv.prototype.add=function(i){if(Array.isArray(i))i.forEach(function(a){this.add(a)},this);else if(i[X7]||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};uv.prototype.prepend=function(i){if(Array.isArray(i))for(var a=i.length-1;a>=0;a--)this.prepend(i[a]);else if(i[X7]||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};uv.prototype.walk=function(i){for(var a,u=0,p=this.children.length;u<p;u++)a=this.children[u],a[X7]?a.walk(i):a!==""&&i(a,{source:this.source,line:this.line,column:this.column,name:this.name})};uv.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};uv.prototype.replaceRight=function(i,a){var u=this.children[this.children.length-1];return u[X7]?u.replaceRight(i,a):typeof u=="string"?this.children[this.children.length-1]=u.replace(i,a):this.children.push("".replace(i,a)),this};uv.prototype.setSourceContent=function(i,a){this.sourceContents[rQ.toSetString(i)]=a};uv.prototype.walkSourceContents=function(i){for(var a=0,u=this.children.length;a<u;a++)this.children[a][X7]&&this.children[a].walkSourceContents(i);for(var p=Object.keys(this.sourceContents),a=0,u=p.length;a<u;a++)i(rQ.fromSetString(p[a]),this.sourceContents[p[a]])};uv.prototype.toString=function(){var i="";return this.walk(function(a){i+=a}),i};uv.prototype.toStringWithSourceMap=function(i){var a={code:"",line:1,column:0},u=new A8t(i),p=!1,y=null,S=null,A=null,N=null;return this.walk(function(j,z){a.code+=j,z.source!==null&&z.line!==null&&z.column!==null?((y!==z.source||S!==z.line||A!==z.column||N!==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,S=z.line,A=z.column,N=z.name,p=!0):p&&(u.addMapping({generated:{line:a.line,column:a.column}}),y=null,p=!1);for(var G=0,te=j.length;G<te;G++)j.charCodeAt(G)===D8t?(a.line++,a.column=0,G+1===te?(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(j,z){u.setSourceContent(j,z)}),{code:a.code,map:u}};cqe.SourceNode=uv;var Q0e=H7.SourceMapGenerator=V0e.SourceMapGenerator,OJe=H7.SourceMapConsumer=gY.SourceMapConsumer;H7.SourceNode=cqe.SourceNode;const nB="/*#__PURE__*/",SX=o=>`${z0[o]}: _${z0[o]}`;function LJe(o,{mode:i="function",prefixIdentifiers:a=i==="module",sourceMap:u=!1,filename:p="template.vue.html",scopeId:y=null,optimizeImports:S=!1,runtimeGlobalName:A="Vue",runtimeModuleName:N="vue",ssrRuntimeModuleName:j="vue/server-renderer",ssr:z=!1,isTS:G=!1,inSSR:te=!1}){const Oe={mode:i,prefixIdentifiers:a,sourceMap:u,filename:p,scopeId:y,optimizeImports:S,runtimeGlobalName:A,runtimeModuleName:N,ssrRuntimeModuleName:j,ssr:z,isTS:G,inSSR:te,source:o.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(Qe){return`_${z0[Qe]}`},push(Qe,Ue){if(Oe.code+=Qe,Oe.map){if(Ue){let yt;if(Ue.type===4&&!Ue.isStatic){const ot=Ue.content.replace(/^_ctx\./,"");ot!==Ue.content&&w6(ot)&&(yt=ot)}Be(Ue.loc.start,yt)}w7(Oe,Qe),Ue&&Ue.loc!==Tp&&Be(Ue.loc.end)}},indent(){$e(++Oe.indentLevel)},deindent(Qe=!1){Qe?--Oe.indentLevel:$e(--Oe.indentLevel)},newline(){$e(Oe.indentLevel)}};function $e(Qe){Oe.push(`
`+" ".repeat(Qe))}function Be(Qe,Ue){Oe.map.addMapping({name:Ue,source:Oe.filename,original:{line:Qe.line,column:Qe.column-1},generated:{line:Oe.line,column:Oe.column-1}})}return u&&(Oe.map=new Q0e,Oe.map.setSourceContent(p,Oe.source)),Oe}function Y0e(o,i={}){const a=LJe(o,i);i.onContextCreated&&i.onContextCreated(a);const{mode:u,push:p,prefixIdentifiers:y,indent:S,deindent:A,newline:N,scopeId:j,ssr:z}=a,G=Array.from(o.helpers),te=G.length>0,Oe=!y&&u!=="module",$e=j!=null&&u==="module",Be=!!i.inline,Qe=Be?LJe(o,i):a;u==="module"?I8t(o,Qe,$e,Be):N8t(o,Qe);const Ue=z?"ssrRender":"render",yt=z?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];i.bindingMetadata&&!i.inline&&yt.push("$props","$setup","$data","$options");const ot=i.isTS?yt.map(Ve=>`${Ve}: any`).join(","):yt.join(", ");if(p(Be?`(${ot}) => {`:`function ${Ue}(${ot}) {`),S(),Oe&&(p("with (_ctx) {"),S(),te&&(p(`const { ${G.map(SX).join(", ")} } = _Vue`),p(`
`),N())),o.components.length&&(MJe(o.components,"component",a),(o.directives.length||o.temps>0)&&N()),o.directives.length&&(MJe(o.directives,"directive",a),o.temps>0&&N()),o.temps>0){p("let ");for(let Ve=0;Ve<o.temps;Ve++)p(`${Ve>0?", ":""}_temp${Ve}`)}return(o.components.length||o.directives.length||o.temps)&&(p(`
`),N()),z||p("return "),o.codegenNode?bp(o.codegenNode,a):p("null"),Oe&&(A(),p("}")),A(),p("}"),{ast:o,code:a.code,preamble:Be?Qe.code:"",map:a.map?a.map.toJSON():void 0}}function N8t(o,i){const{ssr:a,prefixIdentifiers:u,push:p,newline:y,runtimeModuleName:S,runtimeGlobalName:A,ssrRuntimeModuleName:N}=i,j=a?`require(${JSON.stringify(S)})`:A,z=Array.from(o.helpers);if(z.length>0){if(u)p(`const { ${z.map(SX).join(", ")} } = ${j}
`);else if(p(`const _Vue = ${j}
`),o.hoists.length){const G=[YR,HQ,V7,GQ,XQ].filter(te=>z.includes(te)).map(SX).join(", ");p(`const { ${G} } = _Vue
`)}}o.ssrHelpers&&o.ssrHelpers.length&&p(`const { ${o.ssrHelpers.map(SX).join(", ")} } = require("${N}")
`),lqe(o.hoists,i),y(),p("return ")}function I8t(o,i,a,u){const{push:p,newline:y,optimizeImports:S,runtimeModuleName:A,ssrRuntimeModuleName:N}=i;if(a&&o.hoists.length&&(o.helpers.add(rY),o.helpers.add(nY)),o.helpers.size){const j=Array.from(o.helpers);S?(p(`import { ${j.map(z=>z0[z]).join(", ")} } from ${JSON.stringify(A)}
`),p(`
// Binding optimization for webpack code-split
const ${j.map(z=>`_${z0[z]} = ${z0[z]}`).join(", ")}
`)):p(`import { ${j.map(z=>`${z0[z]} as _${z0[z]}`).join(", ")} } from ${JSON.stringify(A)}
`)}o.ssrHelpers&&o.ssrHelpers.length&&p(`import { ${o.ssrHelpers.map(j=>`${z0[j]} as _${z0[j]}`).join(", ")} } from "${N}"
`),o.imports.length&&(O8t(o.imports,i),y()),lqe(o.hoists,i),y(),u||p("export ")}function MJe(o,i,{helper:a,push:u,newline:p,isTS:y}){const S=a(i==="component"?mR:QQ);for(let A=0;A<o.length;A++){let N=o[A];const j=N.endsWith("__self");j&&(N=N.slice(0,-6)),u(`const ${bR(N,i)} = ${S}(${JSON.stringify(N)}${j?", true":""})${y?"!":""}`),A<o.length-1&&p()}}function lqe(o,i){if(!o.length)return;i.pure=!0;const{push:a,newline:u,helper:p,scopeId:y,mode:S}=i,A=y!=null&&S!=="function";u(),A&&(a(`const _withScopeId = n => (${p(rY)}("${y}"),n=n(),${p(nY)}(),n)`),u());for(let N=0;N<o.length;N++){const j=o[N];if(j){const z=A&&j.type===13;a(`const _hoisted_${N+1} = ${z?`${nB} _withScopeId(() => `:""}`),bp(j,i),z&&a(")"),u()}}i.pure=!1}function O8t(o,i){o.length&&o.forEach(a=>{i.push("import "),bp(a.exp,i),i.push(` from '${a.path}'`),i.newline()})}function L8t(o){return fu(o)||o.type===4||o.type===2||o.type===5||o.type===8}function yY(o,i){const a=o.length>3||o.some(u=>jy(u)||!L8t(u));i.push("["),a&&i.indent(),Q7(o,i,a),a&&i.deindent(),i.push("]")}function Q7(o,i,a=!1,u=!0){const{push:p,newline:y}=i;for(let S=0;S<o.length;S++){const A=o[S];fu(A)?p(A):jy(A)?yY(A,i):bp(A,i),S<o.length-1&&(a?(u&&p(","),y()):u&&p(", "))}}function bp(o,i){if(fu(o)){i.push(o);return}if(U7(o)){i.push(i.helper(o));return}switch(o.type){case 1:case 9:case 11:Jge(o.codegenNode!=null,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),bp(o.codegenNode,i);break;case 2:M8t(o,i);break;case 4:uqe(o,i);break;case 5:F8t(o,i);break;case 12:bp(o.codegenNode,i);break;case 8:fqe(o,i);break;case 3:B8t(o,i);break;case 13:j8t(o,i);break;case 14:U8t(o,i);break;case 15:z8t(o,i);break;case 17:V8t(o,i);break;case 18:$8t(o,i);break;case 19:q8t(o,i);break;case 20:W8t(o,i);break;case 21:Q7(o.body,i,!0,!1);break;case 22:H8t(o,i);break;case 23:_qe(o,i);break;case 24:G8t(o,i);break;case 25:X8t(o,i);break;case 26:Q8t(o,i);break;case 10:break;default:return Jge(!1,`unhandled codegen node type: ${o.type}`),o}}function M8t(o,i){i.push(JSON.stringify(o.content),o)}function uqe(o,i){const{content:a,isStatic:u}=o;i.push(u?JSON.stringify(a):a,o)}function F8t(o,i){const{push:a,helper:u,pure:p}=i;p&&a(nB),a(`${u(ZR)}(`),bp(o.content,i),a(")")}function fqe(o,i){for(let a=0;a<o.children.length;a++){const u=o.children[a];fu(u)?i.push(u):bp(u,i)}}function R8t(o,i){const{push:a}=i;if(o.type===8)a("["),fqe(o,i),a("]");else if(o.isStatic){const u=w6(o.content)?o.content:JSON.stringify(o.content);a(u,o)}else a(`[${o.content}]`,o)}function B8t(o,i){const{push:a,helper:u,pure:p}=i;p&&a(nB),a(`${u(V7)}(${JSON.stringify(o.content)})`,o)}function j8t(o,i){const{push:a,helper:u,pure:p}=i,{tag:y,props:S,children:A,patchFlag:N,dynamicProps:j,directives:z,isBlock:G,disableTracking:te,isComponent:Oe}=o;z&&a(u(YQ)+"("),G&&a(`(${u(x6)}(${te?"true":""}), `),p&&a(nB);const $e=G?J3(i.inSSR,Oe):j3(i.inSSR,Oe);a(u($e)+"(",o),Q7(J8t([y,S,A,N,j]),i),a(")"),G&&a(")"),z&&(a(", "),bp(z,i),a(")"))}function J8t(o){let i=o.length;for(;i--&&o[i]==null;);return o.slice(0,i+1).map(a=>a||"null")}function U8t(o,i){const{push:a,helper:u,pure:p}=i,y=fu(o.callee)?o.callee:u(o.callee);p&&a(nB),a(y+"(",o),Q7(o.arguments,i),a(")")}function z8t(o,i){const{push:a,indent:u,deindent:p,newline:y}=i,{properties:S}=o;if(!S.length){a("{}",o);return}const A=S.length>1||S.some(N=>N.value.type!==4);a(A?"{":"{ "),A&&u();for(let N=0;N<S.length;N++){const{key:j,value:z}=S[N];R8t(j,i),a(": "),bp(z,i),N<S.length-1&&(a(","),y())}A&&p(),a(A?"}":" }")}function V8t(o,i){yY(o.elements,i)}function $8t(o,i){const{push:a,indent:u,deindent:p}=i,{params:y,returns:S,body:A,newline:N,isSlot:j}=o;j&&a(`_${z0[iY]}(`),a("(",o),jy(y)?Q7(y,i):y&&bp(y,i),a(") => "),(N||A)&&(a("{"),u()),S?(N&&a("return "),jy(S)?yY(S,i):bp(S,i)):A&&bp(A,i),(N||A)&&(p(),a("}")),j&&a(")")}function q8t(o,i){const{test:a,consequent:u,alternate:p,newline:y}=o,{push:S,indent:A,deindent:N,newline:j}=i;if(a.type===4){const G=!w6(a.content);G&&S("("),uqe(a,i),G&&S(")")}else S("("),bp(a,i),S(")");y&&A(),i.indentLevel++,y||S(" "),S("? "),bp(u,i),i.indentLevel--,y&&j(),y||S(" "),S(": ");const z=p.type===19;z||i.indentLevel++,bp(p,i),z||i.indentLevel--,y&&N(!0)}function W8t(o,i){const{push:a,helper:u,indent:p,deindent:y,newline:S}=i;a(`_cache[${o.index}] || (`),o.isVNode&&(p(),a(`${u(hR)}(-1),`),S()),a(`_cache[${o.index}] = `),bp(o.value,i),o.isVNode&&(a(","),S(),a(`${u(hR)}(1),`),S(),a(`_cache[${o.index}]`),y()),a(")")}function H8t(o,i){const{push:a,indent:u,deindent:p}=i;a("`");const y=o.elements.length,S=y>3;for(let A=0;A<y;A++){const N=o.elements[A];fu(N)?a(N.replace(/(`|\$|\\)/g,"\\$1")):(a("${"),S&&u(),bp(N,i),S&&p(),a("}"))}a("`")}function _qe(o,i){const{push:a,indent:u,deindent:p}=i,{test:y,consequent:S,alternate:A}=o;a("if ("),bp(y,i),a(") {"),u(),bp(S,i),p(),a("}"),A&&(a(" else "),A.type===23?_qe(A,i):(a("{"),u(),bp(A,i),p(),a("}")))}function G8t(o,i){bp(o.left,i),i.push(" = "),bp(o.right,i)}function X8t(o,i){i.push("("),Q7(o.expressions,i),i.push(")")}function Q8t({returns:o},i){i.push("return "),jy(o)?yY(o,i):bp(o,i)}class Y8t{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 Z8t extends Y8t{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,S=this.should_remove,A=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 N=this.should_skip,j=this.should_remove;if(this.should_skip=y,this.should_remove=S,this.replacement=A,N)return i;if(j)return null}for(const y in i){const S=i[y];if(typeof S=="object")if(Array.isArray(S))for(let A=0;A<S.length;A+=1)S[A]!==null&&typeof S[A].type=="string"&&(this.visit(S[A],i,y,A)||A--);else S!==null&&typeof S.type=="string"&&this.visit(S,i,y,null)}if(this.leave){const y=this.replacement,S=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 A=this.should_remove;if(this.replacement=y,this.should_remove=S,A)return null}}return i}}function iB(o,{enter:i,leave:a}){return new Z8t(i,a).visit(o,null)}function Y7(o,i,a=!1,u=[],p=Object.create(null)){const y=o.type==="Program"&&o.body[0].type==="ExpressionStatement"&&o.body[0].expression;iB(o,{enter(S,A){if(A&&u.push(A),A&&A.type.startsWith("TS")&&!Z0e.includes(A.type))return this.skip();if(S.type==="Identifier"){const N=!!p[S.name],j=vY(S,A,u);(a||j&&!N)&&i(S,A,u,j,N)}else S.type==="ObjectProperty"&&A.type==="ObjectPattern"?S.inPattern=!0:Ob(S)?bY(S,N=>FJe(S,N,p)):S.type==="BlockStatement"&&pqe(S,N=>FJe(S,N,p))},leave(S,A){if(A&&u.pop(),S!==y&&S.scopeIds)for(const N of S.scopeIds)p[N]--,p[N]===0&&delete p[N]}})}function vY(o,i,a){if(!i)return!0;if(o.name==="arguments")return!1;if(K8t(o,i))return!0;switch(i.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectPattern":case"ArrayPattern":return W3(i,a)}return!1}function W3(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 bY(o,i){for(const a of o.params)for(const u of Ib(a))i(u)}function pqe(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 Ib(u.id))i(p)}else if(a.type==="FunctionDeclaration"||a.type==="ClassDeclaration"){if(a.declare||!a.id)continue;i(a.id)}}function Ib(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"?Ib(u.argument,i):Ib(u.value,i);break;case"ArrayPattern":o.elements.forEach(u=>{u&&Ib(u,i)});break;case"RestElement":Ib(o.argument,i);break;case"AssignmentPattern":Ib(o.left,i);break}return i}function FJe(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 Ob=o=>/Function(?:Expression|Declaration)$|Method$/.test(o.type),H3=o=>o&&(o.type==="ObjectProperty"||o.type==="ObjectMethod")&&!o.computed,dqe=(o,i)=>H3(i)&&i.key===o;function K8t(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 Z0e=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"],eNt=zh("true,false,null,this"),tNt=/\w\s*\(|\.[^\d]/,K0e=(o,i)=>{if(o.type===5)o.content=Ry(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=Ry(p,i,u.name==="slot")),y&&y.type===4&&!y.isStatic&&(u.arg=Ry(y,i))}}};function Ry(o,i,a=!1,u=!1,p=Object.create(i.identifiers)){if(!i.prefixIdentifiers||!o.content.trim())return o;const{inline:y,bindingMetadata:S}=i,A=(Ue,yt,ot)=>{const Ve=qQ(S,Ue)&&S[Ue];if(y){const Ft=yt&&yt.type==="AssignmentExpression"&&yt.left===ot,ir=yt&&yt.type==="UpdateExpression"&&yt.argument===ot,kr=yt&&W3(yt,Oe);if(RJe(Ve)||Ve==="setup-reactive-const"||p[Ue])return Ue;if(Ve==="setup-ref")return`${Ue}.value`;if(Ve==="setup-maybe-ref")return Ft||ir||kr?`${Ue}.value`:`${i.helperString(k7)}(${Ue})`;if(Ve==="setup-let")if(Ft){const{right:Ot,operator:kt}=yt,Wt=N.slice(Ot.start-1,Ot.end-1),pr=TY(Ry(Na(Wt,!1),i,!1,!1,$e));return`${i.helperString(gR)}(${Ue})${i.isTS?` //@ts-ignore
`:""} ? ${Ue}.value ${kt} ${pr} : ${Ue}`}else if(ir){ot.start=yt.start,ot.end=yt.end;const{prefix:Ot,operator:kt}=yt,Wt=Ot?kt:"",pr=Ot?"":kt;return`${i.helperString(gR)}(${Ue})${i.isTS?` //@ts-ignore
`:""} ? ${Wt}${Ue}.value${pr} : ${Wt}${Ue}${pr}`}else return kr?Ue:`${i.helperString(k7)}(${Ue})`;else{if(Ve==="props")return b7(Ue);if(Ve==="props-aliased")return b7(S.__propsAliases[Ue])}}else{if(Ve&&Ve.startsWith("setup")||Ve==="literal-const")return`$setup.${Ue}`;if(Ve==="props-aliased")return`$props['${S.__propsAliases[Ue]}']`;if(Ve)return`$${Ve}.${Ue}`}return`_ctx.${Ue}`},N=o.content,j=tNt.test(N);if(w6(N)){const Ue=i.identifiers[N],yt=t$e(N),ot=eNt(N);return!a&&!Ue&&!yt&&!ot?(RJe(S[o.content])&&(o.constType=1),o.content=A(N)):Ue||(ot?o.constType=3:o.constType=2),o}let z;const G=u?` ${N} `:`(${N})${a?"=>{}":""}`;try{z=C6(G,{plugins:i.expressionPlugins}).program}catch(Ue){return i.onError(Wu(45,o.loc,void 0,Ue.message)),o}const te=[],Oe=[],$e=Object.create(i.identifiers);Y7(z,(Ue,yt,ot,Ve,Ft)=>{if(dqe(Ue,yt))return;const ir=Ve&&rNt(Ue);ir&&!Ft?(H3(yt)&&yt.shorthand&&(Ue.prefix=`${Ue.name}: `),Ue.name=A(Ue.name,yt,Ue),te.push(Ue)):(!(ir&&Ft)&&!j&&(Ue.isConstant=!0),te.push(Ue))},!0,Oe,$e);const Be=[];te.sort((Ue,yt)=>Ue.start-yt.start),te.forEach((Ue,yt)=>{const ot=Ue.start-1,Ve=Ue.end-1,Ft=te[yt-1],ir=N.slice(Ft?Ft.end-1:0,ot);(ir.length||Ue.prefix)&&Be.push(ir+(Ue.prefix||""));const kr=N.slice(ot,Ve);Be.push(Na(Ue.name,!1,{source:kr,start:z3(o.loc.start,kr,ot),end:z3(o.loc.start,kr,Ve)},Ue.isConstant?3:0)),yt===te.length-1&&Ve<N.length&&Be.push(N.slice(Ve))});let Qe;return Be.length?Qe=Fh(Be,o.loc):(Qe=o,Qe.constType=j?0:3),Qe.identifiers=Object.keys($e),Qe}function rNt(o){return!(t$e(o.name)||o.name==="require")}function TY(o){return fu(o)?o:o.type===4?o.content:o.children.map(TY).join("")}function RJe(o){return o==="setup-const"||o==="literal-const"}const nNt=rB(/^(if|else|else-if)$/,(o,i,a)=>e1e(o,i,a,(u,p,y)=>{const S=a.parent.children;let A=S.indexOf(u),N=0;for(;A-->=0;){const j=S[A];j&&j.type===9&&(N+=j.branches.length)}return()=>{if(y)u.codegenNode=jJe(p,N,a);else{const j=sNt(u.codegenNode);j.alternate=jJe(p,N+u.branches.length-1,a)}}}));function e1e(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(Wu(28,i.loc)),i.exp=Na("true",!1,p)}if(a.prefixIdentifiers&&i.exp&&(i.exp=Ry(i.exp,a)),i.name==="if"){const p=BJe(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 S=p.indexOf(o);for(;S-->=-1;){const A=p[S];if(A&&A.type===3){a.removeNode(A),y.unshift(A);continue}if(A&&A.type===2&&!A.content.trim().length){a.removeNode(A);continue}if(A&&A.type===9){i.name==="else-if"&&A.branches[A.branches.length-1].condition===void 0&&a.onError(Wu(30,o.loc)),a.removeNode();const N=BJe(o,i);y.length&&!(a.parent&&a.parent.type===1&&lT(a.parent.tag,"transition"))&&(N.children=[...y,...N.children]);{const z=N.userKey;z&&A.branches.forEach(({userKey:G})=>{iNt(G,z)&&a.onError(Wu(29,N.userKey.loc))})}A.branches.push(N);const j=u&&u(A,N,!1);W7(N,a),j&&j(),a.currentNode=null}else a.onError(Wu(30,o.loc));break}}}function BJe(o,i){const a=o.tagType===3;return{type:10,loc:o.loc,condition:i.name==="else"?void 0:i.exp,children:a&&!sh(o,"for")?o.children:[o],userKey:$0(o,"key"),isTemplateIf:a}}function jJe(o,i,a){return o.condition?k6(o.condition,JJe(o,i,a),mc(a.helper(V7),['"v-if"',"true"])):JJe(o,i,a)}function JJe(o,i,a){const{helper:u}=a,p=vf("key",Na(`${i}`,!1,Tp,2)),{children:y}=o,S=y[0];if(y.length!==1||S.type!==1)if(y.length===1&&S.type===11){const N=S.codegenNode;return vR(N,p,a),N}else{let N=64,j=ux[64];return!o.isTemplateIf&&y.filter(z=>z.type!==3).length===1&&(N|=2048,j+=`, ${ux[2048]}`),C7(a,u(T7),V0([p]),y,N+` /* ${j} */`,void 0,void 0,!0,!1,!1,o.loc)}else{const N=S.codegenNode,j=W$e(N);return j.type===13&&aY(j,a),vR(j,p,a),N}}function iNt(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 sNt(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 aNt=rB("for",(o,i,a)=>{const{helper:u,removeHelper:p}=a;return t1e(o,i,a,y=>{const S=mc(u(ZQ),[y.source]),A=E7(o),N=sh(o,"memo"),j=$0(o,"key"),z=j&&(j.type===6?Na(j.value.content,!0):j.exp),G=j?vf("key",z):null;A&&(N&&(N.exp=Ry(N.exp,a)),G&&j.type!==6&&(G.value=Ry(G.value,a)));const te=y.source.type===4&&y.source.constType>0,Oe=te?64:j?128:256;return y.codegenNode=C7(a,u(T7),void 0,S,Oe+` /* ${ux[Oe]} */`,void 0,void 0,!0,!te,!1,o.loc),()=>{let $e;const{children:Be}=y;A&&o.children.some(yt=>{if(yt.type===1){const ot=$0(yt,"key");if(ot)return a.onError(Wu(33,ot.loc)),!0}});const Qe=Be.length!==1||Be[0].type!==1,Ue=A7(o)?o:A&&o.children.length===1&&A7(o.children[0])?o.children[0]:null;if(Ue?($e=Ue.codegenNode,A&&G&&vR($e,G,a)):Qe?$e=C7(a,u(T7),G?V0([G]):void 0,o.children,64+` /* ${ux[64]} */`,void 0,void 0,!0,void 0,!1):($e=Be[0].codegenNode,A&&G&&vR($e,G,a),$e.isBlock!==!te&&($e.isBlock?(p(x6),p(J3(a.inSSR,$e.isComponent))):p(j3(a.inSSR,$e.isComponent))),$e.isBlock=!te,$e.isBlock?(u(x6),u(J3(a.inSSR,$e.isComponent))):u(j3(a.inSSR,$e.isComponent))),N){const yt=pv(xR(y.parseResult,[Na("_cached")]));yt.body=KR([Fh(["const _memo = (",N.exp,")"]),Fh(["if (_cached",...z?[" && _cached.key === ",z]:[],` && ${a.helperString(h0e)}(_cached, _memo)) return _cached`]),Fh(["const _item = ",$e]),Na("_item.memo = _memo"),Na("return _item")]),S.arguments.push(yt,Na("_cache"),Na(String(a.cached++)))}else S.arguments.push(pv(xR(y.parseResult),$e,!0))}})});function t1e(o,i,a,u){if(!i.exp){a.onError(Wu(31,i.loc));return}const p=r1e(i.exp,a);if(!p){a.onError(Wu(32,i.loc));return}const{addIdentifiers:y,removeIdentifiers:S,scopes:A}=a,{source:N,value:j,key:z,index:G}=p,te={type:11,loc:i.loc,source:N,valueAlias:j,keyAlias:z,objectIndexAlias:G,parseResult:p,children:E7(o)?o.children:[o]};a.replaceNode(te),A.vFor++,a.prefixIdentifiers&&(j&&y(j),z&&y(z),G&&y(G));const Oe=u&&u(te);return()=>{A.vFor--,a.prefixIdentifiers&&(j&&S(j),z&&S(z),G&&S(G)),Oe&&Oe()}}const oNt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,UJe=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,cNt=/^\(|\)$/g;function r1e(o,i){const a=o.loc,u=o.content,p=u.match(oNt);if(!p)return;const[,y,S]=p,A={source:YG(a,S.trim(),u.indexOf(S,y.length)),value:void 0,key:void 0,index:void 0};i.prefixIdentifiers&&(A.source=Ry(A.source,i));let N=y.trim().replace(cNt,"").trim();const j=y.indexOf(N),z=N.match(UJe);if(z){N=N.replace(UJe,"").trim();const G=z[1].trim();let te;if(G&&(te=u.indexOf(G,j+N.length),A.key=YG(a,G,te),i.prefixIdentifiers&&(A.key=Ry(A.key,i,!0))),z[2]){const Oe=z[2].trim();Oe&&(A.index=YG(a,Oe,u.indexOf(Oe,A.key?te+G.length:j+N.length)),i.prefixIdentifiers&&(A.index=Ry(A.index,i,!0)))}}return N&&(A.value=YG(a,N,j),i.prefixIdentifiers&&(A.value=Ry(A.value,i,!0))),A}function YG(o,i,a){return Na(i,!1,J0e(o,a,i.length))}function xR({value:o,key:i,index:a},u=[]){return lNt([o,i,a,...u])}function lNt(o){let i=o.length;for(;i--&&!o[i];);return o.slice(0,i+1).map((a,u)=>a||Na("_".repeat(u+1),!1))}const zJe=Na("undefined",!1),n1e=(o,i)=>{if(o.type===1&&(o.tagType===1||o.tagType===3)){const a=sh(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--}}}},i1e=(o,i)=>{let a;if(E7(o)&&o.props.some(U0e)&&(a=sh(o,"for"))){const u=a.parseResult=r1e(a.exp,i);if(u){const{value:p,key:y,index:S}=u,{addIdentifiers:A,removeIdentifiers:N}=i;return p&&A(p),y&&A(y),S&&A(S),()=>{p&&N(p),y&&N(y),S&&N(S)}}}},uNt=(o,i,a)=>pv(o,i,!1,!0,i.length?i[0].loc:a);function kR(o,i,a=uNt){i.helper(iY);const{children:u,loc:p}=o,y=[],S=[];let A=i.scopes.vSlot>0||i.scopes.vFor>0;!i.ssr&&i.prefixIdentifiers&&(A=J0(o,i.identifiers));const N=sh(o,"slot",!0);if(N){const{arg:Qe,exp:Ue}=N;Qe&&!Bh(Qe)&&(A=!0),y.push(vf(Qe||Na("default",!0),a(Ue,u,p)))}let j=!1,z=!1;const G=[],te=new Set;let Oe=0;for(let Qe=0;Qe<u.length;Qe++){const Ue=u[Qe];let yt;if(!E7(Ue)||!(yt=sh(Ue,"slot",!0))){Ue.type!==3&&G.push(Ue);continue}if(N){i.onError(Wu(37,yt.loc));break}j=!0;const{children:ot,loc:Ve}=Ue,{arg:Ft=Na("default",!0),exp:ir,loc:kr}=yt;let Ot;Bh(Ft)?Ot=Ft?Ft.content:"default":A=!0;const kt=a(ir,ot,Ve);let Wt,pr,Sn;if(Wt=sh(Ue,"if"))A=!0,S.push(k6(Wt.exp,ZG(Ft,kt,Oe++),zJe));else if(pr=sh(Ue,/^else(-if)?$/,!0)){let gr=Qe,ji;for(;gr--&&(ji=u[gr],ji.type===3););if(ji&&E7(ji)&&sh(ji,"if")){u.splice(Qe,1),Qe--;let us=S[S.length-1];for(;us.alternate.type===19;)us=us.alternate;us.alternate=pr.exp?k6(pr.exp,ZG(Ft,kt,Oe++),zJe):ZG(Ft,kt,Oe++)}else i.onError(Wu(30,pr.loc))}else if(Sn=sh(Ue,"for")){A=!0;const gr=Sn.parseResult||r1e(Sn.exp,i);gr?S.push(mc(i.helper(ZQ),[gr.source,pv(xR(gr),ZG(Ft,kt),!0)])):i.onError(Wu(32,Sn.loc))}else{if(Ot){if(te.has(Ot)){i.onError(Wu(38,kr));continue}te.add(Ot),Ot==="default"&&(z=!0)}y.push(vf(Ft,kt))}}if(!N){const Qe=(Ue,yt)=>{const ot=a(Ue,yt,p);return vf("default",ot)};j?G.length&&G.some(Ue=>mqe(Ue))&&(z?i.onError(Wu(39,G[0].loc)):y.push(Qe(void 0,G))):y.push(Qe(void 0,u))}const $e=A?2:xX(o.children)?3:1;let Be=V0(y.concat(vf("_",Na($e+` /* ${D3t[$e]} */`,!1))),p);return S.length&&(Be=mc(i.helper(m0e),[Be,q3(S)])),{slots:Be,hasDynamicSlots:A}}function ZG(o,i,a){const u=[vf("name",o),vf("fn",i)];return a!=null&&u.push(vf("key",Na(String(a),!0))),V0(u)}function xX(o){for(let i=0;i<o.length;i++){const a=o[i];switch(a.type){case 1:if(a.tagType===2||xX(a.children))return!0;break;case 9:if(xX(a.branches))return!0;break;case 10:case 11:if(xX(a.children))return!0;break}}return!1}function mqe(o){return o.type!==2&&o.type!==12?!0:o.type===2?!!o.content.trim():mqe(o.content)}const hqe=new WeakMap,gqe=(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 S=y?SY(o,i):`"${u}"`;const A=BC(S)&&S.callee===S7;let N,j,z,G=0,te,Oe,$e,Be=A||S===E3||S===z7||!y&&(u==="svg"||u==="foreignObject");if(p.length>0){const Qe=Z7(o,i,void 0,y,A);N=Qe.props,G=Qe.patchFlag,Oe=Qe.dynamicPropNames;const Ue=Qe.directives;$e=Ue&&Ue.length?q3(Ue.map(yt=>s1e(yt,i))):void 0,Qe.shouldUseBlock&&(Be=!0)}if(o.children.length>0)if(S===dR&&(Be=!0,G|=1024,o.children.length>1&&i.onError(Wu(46,{start:o.children[0].loc.start,end:o.children[o.children.length-1].loc.end,source:""}))),y&&S!==E3&&S!==dR){const{slots:Ue,hasDynamicSlots:yt}=kR(o,i);j=Ue,yt&&(G|=1024)}else if(o.children.length===1&&S!==E3){const Ue=o.children[0],yt=Ue.type,ot=yt===5||yt===8;ot&&av(Ue,i)===0&&(G|=1),ot||yt===2?j=Ue:j=o.children}else j=o.children;if(G!==0){if(G<0)z=G+` /* ${ux[G]} */`;else{const Qe=Object.keys(ux).map(Number).filter(Ue=>Ue>0&&G&Ue).map(Ue=>ux[Ue]).join(", ");z=G+` /* ${Qe} */`}Oe&&Oe.length&&(te=_Nt(Oe))}o.codegenNode=C7(i,S,N,j,z,te,$e,!!Be,!1,y,o.loc)};function SY(o,i,a=!1){let{tag:u}=o;const p=qge(u),y=$0(o,"is");if(y)if(p){const N=y.type===6?y.value&&Na(y.value.content,!0):y.exp;if(N)return mc(i.helper(S7),[N])}else y.type===6&&y.value.content.startsWith("vue:")&&(u=y.value.content.slice(4));const S=!p&&sh(o,"is");if(S&&S.exp)return i.onWarn(Wu(52,S.loc)),mc(i.helper(S7),[S.exp]);const A=B0e(u)||i.isBuiltInComponent(u);if(A)return a||i.helper(A),A;{const N=$ge(u,i);if(N)return N;const j=u.indexOf(".");if(j>0){const z=$ge(u.slice(0,j),i);if(z)return z+u.slice(j)}}return i.selfName&&S6(fT(u))===i.selfName?(i.helper(mR),i.components.add(u+"__self"),bR(u,"component")):(i.helper(mR),i.components.add(u),bR(u,"component"))}function $ge(o,i){const a=i.bindingMetadata;if(!a||a.__isScriptSetup===!1)return;const u=fT(o),p=S6(u),y=N=>{if(a[o]===N)return o;if(a[u]===N)return u;if(a[p]===N)return p},S=y("setup-const")||y("setup-reactive-const")||y("literal-const");if(S)return i.inline?S:`$setup[${JSON.stringify(S)}]`;const A=y("setup-let")||y("setup-ref")||y("setup-maybe-ref");if(A)return i.inline?`${i.helperString(k7)}(${A})`:`$setup[${JSON.stringify(A)}]`}function Z7(o,i,a=o.props,u,p,y=!1){const{tag:S,loc:A,children:N}=o;let j=[];const z=[],G=[],te=N.length>0;let Oe=!1,$e=0,Be=!1,Qe=!1,Ue=!1,yt=!1,ot=!1,Ve=!1;const Ft=[],ir=kt=>{j.length&&(z.push(V0(VJe(j),A)),j=[]),kt&&z.push(kt)},kr=({key:kt,value:Wt})=>{if(Bh(kt)){const pr=kt.content,Sn=YVe(pr);if(Sn&&(!u||p)&&pr.toLowerCase()!=="onclick"&&pr!=="onUpdate:modelValue"&&!aJe(pr)&&(yt=!0),Sn&&aJe(pr)&&(Ve=!0),Wt.type===20||(Wt.type===4||Wt.type===8)&&av(Wt,i)>0)return;pr==="ref"?Be=!0:pr==="class"?Qe=!0:pr==="style"?Ue=!0:pr!=="key"&&!Ft.includes(pr)&&Ft.push(pr),u&&(pr==="class"||pr==="style")&&!Ft.includes(pr)&&Ft.push(pr)}else ot=!0};for(let kt=0;kt<a.length;kt++){const Wt=a[kt];if(Wt.type===6){const{loc:pr,name:Sn,value:gr}=Wt;let ji=!0;if(Sn==="ref"&&(Be=!0,i.scopes.vFor>0&&j.push(vf(Na("ref_for",!0),Na("true"))),gr&&i.inline)){const us=i.bindingMetadata[gr.content];(us==="setup-let"||us==="setup-ref"||us==="setup-maybe-ref")&&(ji=!1,j.push(vf(Na("ref_key",!0),Na(gr.content,!0,gr.loc))))}if(Sn==="is"&&(qge(S)||gr&&gr.content.startsWith("vue:")))continue;j.push(vf(Na(Sn,!0,J0e(pr,0,Sn.length)),Na(gr?gr.content:"",ji,gr?gr.loc:pr)))}else{const{name:pr,arg:Sn,exp:gr,loc:ji}=Wt,us=pr==="bind",qt=pr==="on";if(pr==="slot"){u||i.onError(Wu(40,ji));continue}if(pr==="once"||pr==="memo"||pr==="is"||us&&xC(Sn,"is")&&qge(S)||qt&&y)continue;if((us&&xC(Sn,"key")||qt&&te&&xC(Sn,"vue:before-update"))&&(Oe=!0),us&&xC(Sn,"ref")&&i.scopes.vFor>0&&j.push(vf(Na("ref_for",!0),Na("true"))),!Sn&&(us||qt)){ot=!0,gr?us?(ir(),z.push(gr)):ir({type:14,loc:ji,callee:i.helper(tY),arguments:u?[gr]:[gr,"true"]}):i.onError(Wu(us?34:35,ji));continue}const qa=i.directiveTransforms[pr];if(qa){const{props:$s,needRuntime:$n}=qa(Wt,o,i);!y&&$s.forEach(kr),qt&&Sn&&!Bh(Sn)?ir(V0($s,A)):j.push(...$s),$n&&(G.push(Wt),U7($n)&&hqe.set(Wt,$n))}else c0e(pr)||(G.push(Wt),te&&(Oe=!0))}}let Ot;if(z.length?(ir(),z.length>1?Ot=mc(i.helper(B3),z,A):Ot=z[0]):j.length&&(Ot=V0(VJe(j),A)),ot?$e|=16:(Qe&&!u&&($e|=2),Ue&&!u&&($e|=4),Ft.length&&($e|=8),yt&&($e|=32)),!Oe&&($e===0||$e===32)&&(Be||Ve||G.length>0)&&($e|=512),!i.inSSR&&Ot)switch(Ot.type){case 15:let kt=-1,Wt=-1,pr=!1;for(let ji=0;ji<Ot.properties.length;ji++){const us=Ot.properties[ji].key;Bh(us)?us.content==="class"?kt=ji:us.content==="style"&&(Wt=ji):us.isHandlerKey||(pr=!0)}const Sn=Ot.properties[kt],gr=Ot.properties[Wt];pr?Ot=mc(i.helper(x7),[Ot]):(Sn&&!Bh(Sn.value)&&(Sn.value=mc(i.helper(KQ),[Sn.value])),gr&&(Ue||gr.value.type===4&&gr.value.content.trim()[0]==="["||gr.value.type===17)&&(gr.value=mc(i.helper(eY),[gr.value])));break;case 14:break;default:Ot=mc(i.helper(x7),[mc(i.helper($7),[Ot])]);break}return{props:Ot,directives:G,patchFlag:$e,dynamicPropNames:Ft,shouldUseBlock:Oe}}function VJe(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,S=i.get(y);S?(y==="style"||y==="class"||YVe(y))&&fNt(S,p):(i.set(y,p),a.push(p))}return a}function fNt(o,i){o.value.type===17?o.value.elements.push(i.value):o.value=q3([o.value,i.value],o.loc)}function s1e(o,i){const a=[],u=hqe.get(o);if(u)a.push(i.helperString(u));else{const y=$ge("v-"+o.name,i);y?a.push(y):(i.helper(QQ),i.directives.add(o.name),a.push(bR(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=Na("true",!1,p);a.push(V0(o.modifiers.map(S=>vf(S,y)),p))}return q3(a,o.loc)}function _Nt(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 qge(o){return o==="component"||o==="Component"}const pNt=(o,i)=>{if(A7(o)){const{children:a,loc:u}=o,{slotName:p,slotProps:y}=a1e(o,i),S=[i.prefixIdentifiers?"_ctx.$slots":"$slots",p,"{}","undefined","true"];let A=2;y&&(S[2]=y,A=3),a.length&&(S[3]=pv([],a,!1,!1,u),A=4),i.scopeId&&!i.slotted&&(A=5),S.splice(A),o.codegenNode=mc(i.helper(d0e),S,u)}};function a1e(o,i){let a='"default"',u;const p=[];for(let y=0;y<o.props.length;y++){const S=o.props[y];S.type===6?S.value&&(S.name==="name"?a=JSON.stringify(S.value.content):(S.name=fT(S.name),p.push(S))):S.name==="bind"&&xC(S.arg,"name")?S.exp&&(a=S.exp):(S.name==="bind"&&S.arg&&Bh(S.arg)&&(S.arg.content=fT(S.arg.content)),p.push(S))}if(p.length>0){const{props:y,directives:S}=Z7(o,i,p,!1,!1);u=y,S.length&&i.onError(Wu(36,S[0].loc))}return{slotName:a,slotProps:u}}const dNt=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,xY=(o,i,a,u)=>{const{loc:p,modifiers:y,arg:S}=o;!o.exp&&!y.length&&a.onError(Wu(35,p));let A;if(S.type===4)if(S.isStatic){let G=S.content;G.startsWith("vnode")&&a.onWarn(Wu(51,S.loc)),G.startsWith("vue:")&&(G=`vnode-${G.slice(4)}`);const te=i.tagType!==0||G.startsWith("vnode")||!/[A-Z]/.test(G)?A3t(fT(G)):`on:${G}`;A=Na(te,!0,S.loc)}else A=Fh([`${a.helperString(zX)}(`,S,")"]);else A=S,A.children.unshift(`${a.helperString(zX)}(`),A.children.push(")");let N=o.exp;N&&!N.content.trim()&&(N=void 0);let j=a.cacheHandlers&&!N&&!a.inVOnce;if(N){const G=j0e(N.content,a),te=!(G||dNt.test(N.content)),Oe=N.content.includes(";");a.prefixIdentifiers&&(te&&a.addIdentifiers("$event"),N=o.exp=Ry(N,a,!1,Oe),te&&a.removeIdentifiers("$event"),j=a.cacheHandlers&&!a.inVOnce&&!(N.type===4&&N.constType>0)&&!(G&&i.tagType===1)&&!J0(N,a.identifiers),j&&G&&(N.type===4?N.content=`${N.content} && ${N.content}(...args)`:N.children=[...N.children," && ",...N.children,"(...args)"])),(te||j&&G)&&(N=Fh([`${te?a.isTS?"($event: any)":"$event":`${a.isTS?`
//@ts-ignore
`:""}(...args)`} => ${Oe?"{":"("}`,N,Oe?"}":")"]))}let z={props:[vf(A,N||Na("() => {}",!1,p))]};return u&&(z=u(z)),j&&(z.props[0].value=a.cache(z.props[0].value)),z.props.forEach(G=>G.key.isHandlerKey=!0),z},o1e=(o,i,a)=>{const{exp:u,modifiers:p,loc:y}=o,S=o.arg;return S.type!==4?(S.children.unshift("("),S.children.push(') || ""')):S.isStatic||(S.content=`${S.content} || ""`),p.includes("camel")&&(S.type===4?S.isStatic?S.content=fT(S.content):S.content=`${a.helperString(UX)}(${S.content})`:(S.children.unshift(`${a.helperString(UX)}(`),S.children.push(")"))),a.inSSR||(p.includes("prop")&&$Je(S,"."),p.includes("attr")&&$Je(S,"^")),!u||u.type===4&&!u.content.trim()?(a.onError(Wu(34,y)),{props:[vf(S,Na("",!0,y))]}):{props:[vf(S,u)]}},$Je=(o,i)=>{o.type===4?o.isStatic?o.content=i+o.content:o.content=`\`${i}\${${o.content}}\``:(o.children.unshift(`'${i}' + (`),o.children.push(")"))},mNt=(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 S=a[y];if(YF(S)){p=!0;for(let A=y+1;A<a.length;A++){const N=a[A];if(YF(N))u||(u=a[y]=Fh([S],S.loc)),u.children.push(" + ",N),a.splice(A,1),A--;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 S=a[y];if(YF(S)||S.type===8){const A=[];(S.type!==2||S.content!==" ")&&A.push(S),!i.ssr&&av(S,i)===0&&A.push(1+` /* ${ux[1]} */`),a[y]={type:12,content:S,loc:S.loc,codegenNode:mc(i.helper(GQ),A)}}}}},qJe=new WeakSet,hNt=(o,i)=>{if(o.type===1&&sh(o,"once",!0))return qJe.has(o)||i.inVOnce||i.inSSR?void 0:(qJe.add(o),i.inVOnce=!0,i.helper(hR),()=>{i.inVOnce=!1;const a=i.currentNode;a.codegenNode&&(a.codegenNode=i.cache(a.codegenNode,!0))})},kY=(o,i,a)=>{const{exp:u,arg:p}=o;if(!u)return a.onError(Wu(41,o.loc)),EF();const y=u.loc.source,S=u.type===4?u.content:y,A=a.bindingMetadata[y];if(A==="props"||A==="props-aliased")return a.onError(Wu(44,u.loc)),EF();const N=a.inline&&(A==="setup-let"||A==="setup-ref"||A==="setup-maybe-ref");if(!S.trim()||!j0e(S,a)&&!N)return a.onError(Wu(42,u.loc)),EF();if(a.prefixIdentifiers&&w6(S)&&a.identifiers[S])return a.onError(Wu(43,u.loc)),EF();const j=p||Na("modelValue",!0),z=p?Bh(p)?`onUpdate:${fT(p.content)}`:Fh(['"onUpdate:" + ',p]):"onUpdate:modelValue";let G;const te=a.isTS?"($event: any)":"$event";if(N)if(A==="setup-ref")G=Fh([`${te} => ((`,Na(y,!1,u.loc),").value = $event)"]);else{const $e=A==="setup-let"?`${y} = $event`:"null";G=Fh([`${te} => (${a.helperString(gR)}(${y}) ? (`,Na(y,!1,u.loc),`).value = $event : ${$e})`])}else G=Fh([`${te} => ((`,u,") = $event)"]);const Oe=[vf(j,o.exp),vf(z,G)];if(a.prefixIdentifiers&&!a.inVOnce&&a.cacheHandlers&&!J0(u,a.identifiers)&&(Oe[1].value=a.cache(Oe[1].value)),o.modifiers.length&&i.tagType===1){const $e=o.modifiers.map(Qe=>(w6(Qe)?Qe:JSON.stringify(Qe))+": true").join(", "),Be=p?Bh(p)?`${p.content}Modifiers`:Fh([p,' + "Modifiers"']):"modelModifiers";Oe.push(vf(Be,Na(`{ ${$e} }`,!1,o.loc,2)))}return EF(Oe)};function EF(o=[]){return{props:o}}const WJe=new WeakSet,gNt=(o,i)=>{if(o.type===1){const a=sh(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&&aY(u,i),o.codegenNode=mc(i.helper(sY),[a.exp,pv(void 0,u),"_cache",String(i.cached++)]))})}};function c1e(o){return[[hNt,nNt,gNt,aNt,...o?[i1e,K0e]:[],pNt,gqe,n1e,mNt],{on:xY,bind:o1e,model:kY}]}function yqe(o,i={}){const a=i.onError||u0e,u=i.mode==="module",p=i.prefixIdentifiers===!0||u;!p&&i.cacheHandlers&&a(Wu(49)),i.scopeId&&!u&&a(Wu(50));const y=fu(o)?_Y(o,i):o,[S,A]=c1e(p);if(i.isTS){const{expressionPlugins:N}=i;(!N||!N.includes("typescript"))&&(i.expressionPlugins=[...N||[],"typescript"])}return dY(y,PC({},i,{prefixIdentifiers:p,nodeTransforms:[...S,...i.nodeTransforms||[]],directiveTransforms:PC({},A,i.directiveTransforms||{})})),Y0e(y,PC({},i,{prefixIdentifiers:p}))}const KF=()=>({props:[]}),l1e=Symbol("vModelRadio"),u1e=Symbol("vModelCheckbox"),f1e=Symbol("vModelText"),_1e=Symbol("vModelSelect"),nQ=Symbol("vModelDynamic"),p1e=Symbol("vOnModifiersGuard"),d1e=Symbol("vOnKeysGuard"),m1e=Symbol("vShow"),K7=Symbol("Transition"),sB=Symbol("TransitionGroup");g0e({[l1e]:"vModelRadio",[u1e]:"vModelCheckbox",[f1e]:"vModelText",[_1e]:"vModelSelect",[nQ]:"vModelDynamic",[p1e]:"withModifiers",[d1e]:"withKeys",[m1e]:"vShow",[K7]:"Transition",[sB]:"TransitionGroup"});var HJe={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 Hhe;const yNt=(o,i)=>{let a=0;const u=o.length;let p="";function y(S){a+=S,o=o.slice(S)}for(;a<u;){const S=/&(?:#x?)?/i.exec(o);if(!S||a+S.index>=u){const A=u-a;p+=o.slice(0,A),y(A);break}if(p+=o.slice(0,S.index),y(S.index),S[0]==="&"){let A="",N;if(/[0-9a-z]/i.test(o[1])){Hhe||(Hhe=Object.keys(HJe).reduce((j,z)=>Math.max(j,z.length),0));for(let j=Hhe;!N&&j>0;--j)A=o.slice(1,1+j),N=HJe[A];if(N){const j=A.endsWith(";");i&&!j&&/[=a-z0-9]/i.test(o[A.length+1]||"")?(p+="&"+A,y(1+A.length)):(p+=N,y(1+A.length))}else p+="&"+A,y(1+A.length)}else p+="&",y(1)}else{const A=S[0]==="&#x",j=(A?/^&#x([0-9a-f]+);?/i:/^&#([0-9]+);?/).exec(o);if(!j)p+=S[0],y(S[0].length);else{let z=Number.parseInt(j[1],A?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=vNt[z]||z),p+=String.fromCodePoint(z),y(j[0].length)}}}return p},vNt={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},bNt=zh("style,iframe,script,noscript",!0),D7={isVoidTag:s$e,isNativeTag:o=>j3t(o)||J3t(o),isPreTag:o=>o==="pre",decodeEntities:yNt,isBuiltInComponent:o=>{if(lT(o,"Transition"))return K7;if(lT(o,"TransitionGroup"))return sB},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(bNt(o))return 2}return 0}},h1e=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:Na("style",!0,i.loc),exp:TNt(i.value.content,i.loc),modifiers:[],loc:i.loc})})},TNt=(o,i)=>{const a=n$e(o);return Na(JSON.stringify(a),!1,i,3)};function jg(o,i){return Wu(o,i,SNt)}const SNt={[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."},xNt=(o,i,a)=>{const{exp:u,loc:p}=o;return u||a.onError(jg(53,p)),i.children.length&&(a.onError(jg(54,p)),i.children.length=0),{props:[vf(Na("innerHTML",!0,p),u||Na("",!0))]}},kNt=(o,i,a)=>{const{exp:u,loc:p}=o;return u||a.onError(jg(55,p)),i.children.length&&(a.onError(jg(56,p)),i.children.length=0),{props:[vf(Na("textContent",!0),u?av(u,a)>0?u:mc(a.helperString(ZR),[u],p):Na("",!0))]}},CNt=(o,i,a)=>{const u=kY(o,i,a);if(!u.props.length||i.tagType===1)return u;o.arg&&a.onError(jg(58,o.arg.loc));function p(){const A=$0(i,"value");A&&a.onError(jg(60,A.loc))}const{tag:y}=i,S=a.isCustomElement(y);if(y==="input"||y==="textarea"||y==="select"||S){let A=f1e,N=!1;if(y==="input"||S){const j=$0(i,"type");if(j){if(j.type===7)A=nQ;else if(j.value)switch(j.value.content){case"radio":A=l1e;break;case"checkbox":A=u1e;break;case"file":N=!0,a.onError(jg(59,o.loc));break;default:p();break}}else fY(i)?A=nQ:p()}else y==="select"?A=_1e:p();N||(u.needRuntime=a.helper(A))}else a.onError(jg(57,o.loc));return u.props=u.props.filter(A=>!(A.key.type===4&&A.key.content==="modelValue")),u},wNt=zh("passive,once,capture"),ENt=zh("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),ANt=zh("left,right"),vqe=zh("onkeyup,onkeydown,onkeypress",!0),PNt=(o,i,a,u)=>{const p=[],y=[],S=[];for(let A=0;A<i.length;A++){const N=i[A];wNt(N)?S.push(N):ANt(N)?Bh(o)?vqe(o.content)?p.push(N):y.push(N):(p.push(N),y.push(N)):ENt(N)?y.push(N):p.push(N)}return{keyModifiers:p,nonKeyModifiers:y,eventOptionModifiers:S}},GJe=(o,i)=>Bh(o)&&o.content.toLowerCase()==="onclick"?Na(i,!0):o.type!==4?Fh(["(",o,`) === "onClick" ? "${i}" : (`,o,")"]):o,DNt=(o,i,a)=>xY(o,i,a,u=>{const{modifiers:p}=o;if(!p.length)return u;let{key:y,value:S}=u.props[0];const{keyModifiers:A,nonKeyModifiers:N,eventOptionModifiers:j}=PNt(y,p,a,o.loc);if(N.includes("right")&&(y=GJe(y,"onContextmenu")),N.includes("middle")&&(y=GJe(y,"onMouseup")),N.length&&(S=mc(a.helper(p1e),[S,JSON.stringify(N)])),A.length&&(!Bh(y)||vqe(y.content))&&(S=mc(a.helper(d1e),[S,JSON.stringify(A)])),j.length){const z=j.map(S6).join("");y=Bh(y)?Na(`${y.content}${z}`,!0):Fh(["(",y,`) + "${z}"`])}return{props:[vf(y,S)]}}),NNt=(o,i,a)=>{const{exp:u,loc:p}=o;return u||a.onError(jg(61,p)),{props:[],needRuntime:a.helper(m1e)}},INt=(o,i)=>{if(o.type===1&&o.tagType===1&&i.isBuiltInComponent(o.tag)===K7)return()=>{if(!o.children.length)return;bqe(o)&&i.onError(jg(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 bqe(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(bqe)}const ONt=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,LNt=(o,i,a)=>{if(i.scopes.vSlot>0)return;let u=0,p=0;const y=[],S=N=>{if(u>=20||p>=5){const j=mc(i.helper(XQ),[JSON.stringify(y.map(z=>g1e(z,i)).join("")).replace(ONt,'" + $1 + "'),String(y.length)]);if(QJe(y[0],j,i),y.length>1){for(let G=1;G<y.length;G++)QJe(y[G],null,i);const z=y.length-1;return o.splice(N-y.length+1,z),z}}return 0};let A=0;for(;A<o.length;A++){const N=o[A];if(MNt(N)){const z=N,G=BNt(z);if(G){u+=G[0],p+=G[1],y.push(z);continue}}A-=S(A),u=0,p=0,y.length=0}S(A)},MNt=o=>(o.type===1&&o.tagType===0||o.type==12)&&o.codegenNode&&o.codegenNode.type===4&&o.codegenNode.hoisted,FNt=/^(data|aria)-/,XJe=(o,i)=>(i===0?q3t(o):i===1?W3t(o):!1)||FNt.test(o),QJe=(o,i,a)=>{const u=o.codegenNode.hoisted;a.hoists[a.hoists.indexOf(u)]=i},RNt=zh("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function BNt(o){if(o.type===1&&RNt(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(S){for(let A=0;A<S.props.length;A++){const N=S.props[A];if(N.type===6&&!XJe(N.name,S.ns)||N.type===7&&N.name==="bind"&&(N.arg&&(N.arg.type===8||N.arg.isStatic&&!XJe(N.arg.content,S.ns))||N.exp&&(N.exp.type===8||N.exp.constType<3)))return p()}for(let A=0;A<S.children.length;A++){i++;const N=S.children[A];if(N.type===1&&(N.props.length>0&&a++,y(N),u))return!1}return!0}return y(o)?[i,a]:!1}function g1e(o,i){if(fu(o))return o;if(U7(o))return"";switch(o.type){case 1:return jNt(o,i);case 2:return ox(o.content);case 3:return`<!--${ox(o.content)}-->`;case 5:return ox(l0e(D3(o.content)));case 8:return ox(D3(o));case 12:return g1e(o.content,i);default:return""}}function jNt(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+=`="${ox(y.value.content)}"`);else if(y.type===7)if(y.name==="bind"){const S=y.exp;if(S.content[0]==="_"){a+=` ${y.arg.content}="__VUE_EXP_START__${S.content}__VUE_EXP_END__"`;continue}if(a$e(y.arg.content)&&S.content==="false")continue;let A=D3(S);if(A!=null){const N=y.arg&&y.arg.content;N==="class"?A=i$e(A):N==="style"&&(A=M3t(r$e(A))),a+=` ${y.arg.content}="${ox(A)}"`}}else y.name==="html"?u=D3(y.exp):y.name==="text"&&(u=ox(l0e(D3(y.exp))))}if(i.scopeId&&(a+=` ${i.scopeId}`),a+=">",u)a+=u;else for(let p=0;p<o.children.length;p++)a+=g1e(o.children[p],i);return s$e(o.tag)||(a+=`</${o.tag}>`),a}function D3(o){if(o.type===4)return new Function(`return (${o.content})`)();{let i="";return o.children.forEach(a=>{fu(a)||U7(a)||(a.type===2?i+=a.content:a.type===5?i+=l0e(D3(a.content)):i+=D3(a))}),i}}const JNt=(o,i)=>{o.type===1&&o.tagType===0&&(o.tag==="script"||o.tag==="style")&&(i.onError(jg(63,o.loc)),i.removeNode())},y1e=[h1e,INt],v1e={cloak:KF,html:xNt,text:kNt,model:CNt,on:DNt,show:NNt};function UNt(o,i={}){return yqe(o,PC({},D7,i,{nodeTransforms:[JNt,...y1e,...i.nodeTransforms||[]],directiveTransforms:PC({},v1e,i.directiveTransforms||{}),transformHoist:LNt}))}function zNt(o,i={}){return _Y(o,PC({},D7,i))}var Tqe=Object.freeze({__proto__:null,BASE_TRANSITION:f0e,CAMELIZE:UX,CAPITALIZE:u$e,CREATE_BLOCK:_0e,CREATE_COMMENT:V7,CREATE_ELEMENT_BLOCK:p0e,CREATE_ELEMENT_VNODE:HQ,CREATE_SLOTS:m0e,CREATE_STATIC:XQ,CREATE_TEXT:GQ,CREATE_VNODE:YR,DOMDirectiveTransforms:v1e,DOMNodeTransforms:y1e,FRAGMENT:T7,GUARD_REACTIVE_PROPS:$7,IS_MEMO_SAME:h0e,IS_REF:gR,KEEP_ALIVE:dR,MERGE_PROPS:B3,NORMALIZE_CLASS:KQ,NORMALIZE_PROPS:x7,NORMALIZE_STYLE:eY,OPEN_BLOCK:x6,POP_SCOPE_ID:nY,PUSH_SCOPE_ID:rY,RENDER_LIST:ZQ,RENDER_SLOT:d0e,RESOLVE_COMPONENT:mR,RESOLVE_DIRECTIVE:QQ,RESOLVE_DYNAMIC_COMPONENT:S7,RESOLVE_FILTER:l$e,SET_BLOCK_TRACKING:hR,SUSPENSE:z7,TELEPORT:E3,TO_DISPLAY_STRING:ZR,TO_HANDLERS:tY,TO_HANDLER_KEY:zX,TRANSITION:K7,TRANSITION_GROUP:sB,TS_NODE_TYPES:Z0e,UNREF:k7,V_MODEL_CHECKBOX:u1e,V_MODEL_DYNAMIC:nQ,V_MODEL_RADIO:l1e,V_MODEL_SELECT:_1e,V_MODEL_TEXT:f1e,V_ON_WITH_KEYS:d1e,V_ON_WITH_MODIFIERS:p1e,V_SHOW:m1e,WITH_CTX:iY,WITH_DIRECTIVES:YQ,WITH_MEMO:sY,advancePositionWithClone:z3,advancePositionWithMutation:w7,assert:Jge,baseCompile:yqe,baseParse:_Y,buildDirectiveArgs:s1e,buildProps:Z7,buildSlots:kR,checkCompatEnabled:n8t,compile:UNt,convertToBlock:aY,createArrayExpression:q3,createAssignmentExpression:Nge,createBlockStatement:KR,createCacheExpression:f$e,createCallExpression:mc,createCompilerError:Wu,createCompoundExpression:Fh,createConditionalExpression:k6,createDOMCompilerError:jg,createForLoopParams:xR,createFunctionExpression:pv,createIfStatement:$X,createInterpolation:VX,createObjectExpression:V0,createObjectProperty:vf,createReturnStatement:p$e,createRoot:q7,createSequenceExpression:_$e,createSimpleExpression:Na,createStructuralDirectiveTransform:rB,createTemplateLiteral:y0e,createTransformContext:tB,createVNodeCall:C7,extractIdentifiers:Ib,findDir:sh,findProp:$0,generate:Y0e,generateCodeFrame:R3,getBaseTransformPreset:c1e,getConstantType:av,getInnerRange:J0e,getMemoedVNodeCall:W$e,getVNodeBlockHelper:J3,getVNodeHelper:j3,hasDynamicKeyVBind:fY,hasScopeRef:J0,helperNameMap:z0,injectProp:vR,isBuiltInType:lT,isCoreComponent:B0e,isFunctionType:Ob,isInDestructureAssignment:W3,isMemberExpression:j0e,isMemberExpressionBrowser:KDt,isMemberExpressionNode:$$e,isReferencedIdentifier:vY,isSimpleIdentifier:w6,isSlotOutlet:A7,isStaticArgOf:xC,isStaticExp:Bh,isStaticProperty:H3,isStaticPropertyKey:dqe,isTemplateNode:E7,isText:YF,isVSlot:U0e,locStub:Tp,noopDirectiveTransform:KF,parse:zNt,parserOptions:D7,processExpression:Ry,processFor:t1e,processIf:e1e,processSlotOutlet:a1e,registerRuntimeHelpers:g0e,resolveComponentType:SY,stringifyExpression:TY,toValidAssetId:bR,trackSlotScopes:n1e,trackVForSlotScopes:i1e,transform:dY,transformBind:o1e,transformElement:gqe,transformExpression:K0e,transformModel:kY,transformOn:xY,transformStyle:h1e,traverseNode:W7,walkBlockDeclarations:pqe,walkFunctionParams:bY,walkIdentifiers:Y7,warnDeprecation:H$e});function Sqe(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 VNt=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,b1e=function(o){return VNt.exec(o).slice(1)};function iQ(){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=Sqe(k1e(o.split("/"),function(p){return!!p}),!i).join("/"),(i?"/":"")+o||"."}function T1e(o){var i=S1e(o),a=$Nt(o,-1)==="/";return o=Sqe(k1e(o.split("/"),function(u){return!!u}),!i).join("/"),!o&&!i&&(o="."),o&&a&&(o+="/"),(i?"/":"")+o}function S1e(o){return o.charAt(0)==="/"}function xqe(){var o=Array.prototype.slice.call(arguments,0);return T1e(k1e(o,function(i,a){if(typeof i!="string")throw new TypeError("Arguments to path.join must be strings");return i}).join("/"))}function kqe(o,i){o=iQ(o).substr(1),i=iQ(i).substr(1);function a(j){for(var z=0;z<j.length&&j[z]==="";z++);for(var G=j.length-1;G>=0&&j[G]==="";G--);return z>G?[]:j.slice(z,G-z+1)}for(var u=a(o.split("/")),p=a(i.split("/")),y=Math.min(u.length,p.length),S=y,A=0;A<y;A++)if(u[A]!==p[A]){S=A;break}for(var N=[],A=S;A<u.length;A++)N.push("..");return N=N.concat(p.slice(S)),N.join("/")}var Cqe="/",wqe=":";function Eqe(o){var i=b1e(o),a=i[0],u=i[1];return!a&&!u?".":(u&&(u=u.substr(0,u.length-1)),a+u)}function Aqe(o,i){var a=b1e(o)[2];return i&&a.substr(-1*i.length)===i&&(a=a.substr(0,a.length-i.length)),a}function x1e(o){return b1e(o)[3]}var OC={extname:x1e,basename:Aqe,dirname:Eqe,sep:Cqe,delimiter:wqe,relative:kqe,join:xqe,isAbsolute:S1e,normalize:T1e,resolve:iQ};function k1e(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 $Nt="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)},qNt=Object.freeze({__proto__:null,basename:Aqe,default:OC,delimiter:wqe,dirname:Eqe,extname:x1e,isAbsolute:S1e,join:xqe,normalize:T1e,relative:kqe,resolve:iQ,sep:Cqe});const N3="Unknown";function C1e(o,i){switch(o.type){case"StringLiteral":case"NumericLiteral":return String(o.value);case"Identifier":if(!i)return o.name}}function Wge(o){return o.filter(i=>!!i).join(", ")}function Pqe(o){return o.type.endsWith("Literal")}function mx(o){return Z0e.includes(o.type)?mx(o.expression):o}function Fy(o,i){return!!(o&&i&&o.type==="CallExpression"&&o.callee.type==="Identifier"&&(typeof i=="string"?o.callee.name===i:i(o.callee.name)))}function Hge(o){return o.length>1?`[${o.join(", ")}]`:o[0]}function Gge(o){return o.type==="ImportSpecifier"?o.imported.type==="Identifier"?o.imported.name:o.imported.value:o.type==="ImportNamespaceSpecifier"?"*":"default"}function V3(o){return o.type==="Identifier"?o.name:o.type==="StringLiteral"?o.value:null}const WNt=(OC.posix||OC).normalize,HNt=/\\/g;function w1e(o){return WNt(o.replace(HNt,"/"))}const Xge=(OC.posix||OC).join,Dqe=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function Nqe(o){return Dqe.test(o)?JSON.stringify(o):o}function GNt(o,i){for(;o.length<i;)o="0"+o;return o}function pC(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 XNt(o,i,a){return Object.keys(i).sort().reduce(u,o);function u(p,y){return Iqe(p,i[y],y,a)}}function Iqe(o,i,a,u){var p=pC(pC(pC(o,a),QNt(i)),typeof i);if(i===null)return pC(p,"null");if(i===void 0)return pC(p,"undefined");if(typeof i=="object"||typeof i=="function"){if(u.indexOf(i)!==-1)return pC(p,"[Circular]"+a);u.push(i);var y=XNt(p,i,u);if(!("valueOf"in i)||typeof i.valueOf!="function")return y;try{return pC(y,String(i.valueOf()))}catch(S){return pC(y,"[valueOf exception]"+(S.stack||S.message))}}return pC(p,i.toString())}function QNt(o){return Object.prototype.toString.call(o)}function YNt(o){return GNt(Iqe(0,o,"",[]).toString(16),8)}var ZNt=YNt,KNt=ZNt;const sQ="useCssVars";function Oqe(o,i,a,u=!1){return`{
${o.map(p=>`"${u?"--":""}${Lqe(i,p,a)}": (${p})`).join(`,
`)}
}`}function Lqe(o,i,a){return a?KNt(o+i):`${o}-${i.replace(Dqe,u=>`\\${u}`)}`}function Mqe(o){return o=o.trim(),o[0]==="'"&&o[o.length-1]==="'"||o[0]==='"'&&o[o.length-1]==='"'?o.slice(1,-1):o}const kX=/v-bind\s*\(/g;function e7t(o){const i=[];return o.styles.forEach(a=>{let u;const p=a.content.replace(/\/\*([\s\S]*?)\*\//g,"");for(;u=kX.exec(p);){const y=u.index+u[0].length,S=Fqe(p,y);if(S!==null){const A=Mqe(p.slice(y,S));i.includes(A)||i.push(A)}}}),i}function Fqe(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 Rqe=o=>{const{id:i,isProd:a}=o;return{postcssPlugin:"vue-sfc-vars",Declaration(u){const p=u.value;if(kX.test(p)){kX.lastIndex=0;let y="",S=0,A;for(;A=kX.exec(p);){const N=A.index+A[0].length,j=Fqe(p,N);if(j!==null){const z=Mqe(p.slice(N,j));y+=p.slice(S,A.index)+`var(--${Lqe(i,z,a)})`,S=j+1}}u.value=y+p.slice(S)}}}};Rqe.postcss=!0;function Bqe(o,i,a,u){const p=Oqe(o,a,u),y=Na(p,!1),S=tB(q7([]),{prefixIdentifiers:!0,inline:!0,bindingMetadata:i.__isScriptSetup===!1?void 0:i}),A=Ry(y,S),N=A.type===4?A.content:A.children.map(j=>typeof j=="string"?j:j.content).join("");return`_${sQ}(_ctx => (${N}))`}function t7t(o,i,a,u,p){return`
import { ${sQ} as _${sQ} } from 'vue'
const __injectCSSVars__ = () => {
${Bqe(o,i,a,u)}}
const __setup__ = ${p}.setup
${p}.setup = __setup__
? (props, ctx) => { __injectCSSVars__();return __setup__(props, ctx) }
: __injectCSSVars__
`}function CY(o=500){return new Map}function jqe(o,i){return new RegExp(`[^\\w$_]${o.replace(/\$/g,"\\$")}[^\\w$_]`).test(r7t(i))}const YJe=CY();function r7t(o){const{content:i,ast:a}=o.template,u=YJe.get(i);if(u)return u;let p="";return dY(q7([a]),{nodeTransforms:[y=>{if(y.type===1){!D7.isNativeTag(y.tag)&&!D7.isBuiltInComponent(y.tag)&&(p+=`,${fT(y.tag)},${S6(fT(y.tag))}`);for(let S=0;S<y.props.length;S++){const A=y.props[S];A.type===7&&(c0e(A.name)||(p+=`,v${S6(fT(A.name))}`),A.exp&&(p+=`,${aQ(A.exp.content,A.name)}`))}}else y.type===5&&(p+=`,${aQ(y.content.content)}`)}]}),p+=";",YJe.set(i,p),p}const n7t=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/;function aQ(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(n7t);if(p){let[,y,S]=p;return y=y.trim().replace(/^\(|\)$/g,""),aQ(`(${y})=>{}`)+aQ(S)}}let a="";const u=V$e(o,{plugins:["typescript"]});return Y7(u,p=>{a+=","+p.name}),a}return i7t(o)}function i7t(o){return o.replace(/'[^']*'|"[^"]*"/g,"").replace(/`[^`]+`/g,s7t)}function s7t(o){const i=o.match(/\${[^}]+}/g);return i?i.map(a=>a.slice(2,-1)).join(","):""}var a7t=Object.defineProperty,ZJe=Object.getOwnPropertySymbols,o7t=Object.prototype.hasOwnProperty,c7t=Object.prototype.propertyIsEnumerable,KJe=(o,i,a)=>i in o?a7t(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,l7t=(o,i)=>{for(var a in i||(i={}))o7t.call(i,a)&&KJe(o,a,i[a]);if(ZJe)for(var a of ZJe(i))c7t.call(i,a)&&KJe(o,a,i[a]);return o};const Jqe="anonymous.vue",oQ=CY();function E1e(o,{sourceMap:i=!0,filename:a=Jqe,sourceRoot:u="",pad:p=!1,ignoreEmpty:y=!0,compiler:S=Tqe}={}){const A=o+i+a+u+p+S.parse,N=oQ.get(A);if(N)return N;const j={filename:a,source:o,template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1,shouldForceReload:$e=>h7t($e,j)},z=[];if(S.parse(o,{isNativeTag:()=>!0,isPreTag:()=>!0,getTextMode:({tag:$e,props:Be},Qe)=>!Qe&&$e!=="template"||$e==="template"&&Be.some(Ue=>Ue.type===6&&Ue.name==="lang"&&Ue.value&&Ue.value.content&&Ue.value.content!=="html")?2:0,onError:$e=>{z.push($e)}}).children.forEach($e=>{if($e.type===1&&!(y&&$e.tag!=="template"&&m7t($e)&&!d7t($e)))switch($e.tag){case"template":if(j.template)z.push(eUe($e));else{const yt=j.template=KG($e,o,!1);if(yt.ast=$e,yt.attrs.functional){const ot=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.");ot.loc=$e.props.find(Ve=>Ve.name==="functional").loc,z.push(ot)}}break;case"script":const Be=KG($e,o,p),Qe=!!Be.attrs.setup;if(Qe&&!j.scriptSetup){j.scriptSetup=Be;break}if(!Qe&&!j.script){j.script=Be;break}z.push(eUe($e,Qe));break;case"style":const Ue=KG($e,o,p);Ue.attrs.vars&&z.push(new SyntaxError("<style vars> has been replaced by a new proposal: https://github.com/vuejs/rfcs/pull/231")),j.styles.push(Ue);break;default:j.customBlocks.push(KG($e,o,p));break}}),!j.template&&!j.script&&!j.scriptSetup&&z.push(new SyntaxError("At least one <template> or <script> is required in a single file component.")),j.scriptSetup&&(j.scriptSetup.src&&(z.push(new SyntaxError('<script setup> cannot use the "src" attribute because its syntax will be ambiguous outside of the component.')),j.scriptSetup=null),j.script&&j.script.src&&(z.push(new SyntaxError('<script> cannot use the "src" attribute when <script setup> is also present because they must be processed together.')),j.script=null)),i){const $e=Be=>{Be&&!Be.src&&(Be.map=_7t(a,o,Be.content,u,!p||Be.type==="template"?Be.loc.start.line-1:0))};$e(j.template),$e(j.script),j.styles.forEach($e),j.customBlocks.forEach($e)}j.cssVars=e7t(j);const te=/(?:::v-|:)slotted\(/;j.slotted=j.styles.some($e=>$e.scoped&&te.test($e.content));const Oe={descriptor:j,errors:z};return oQ.set(A,Oe),Oe}function eUe(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 KG(o,i,a){const u=o.tag;let{start:p,end:y}=o.loc,S="";if(o.children.length)p=o.children[0].loc.start,y=o.children[o.children.length-1].loc.end,S=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=l7t({},p)}const A={source:S,start:p,end:y},N={},j={type:u,content:S,loc:A,attrs:N};return a&&(j.content=p7t(i,j,a)+j.content),o.props.forEach(z=>{z.type===6&&(N[z.name]=z.value&&z.value.content||!0,z.name==="lang"?j.lang=z.value&&z.value.content:z.name==="src"?j.src=z.value&&z.value.content:u==="style"?z.name==="scoped"?j.scoped=!0:z.name==="module"&&(j.module=N[z.name]):u==="script"&&z.name==="setup"&&(j.setup=N.setup))}),j}const Uqe=/\r?\n/g,u7t=/^(?:\/\/)?\s*$/,f7t=/./g;function _7t(o,i,a,u,p){const y=new Q0e({file:o.replace(/\\/g,"/"),sourceRoot:u.replace(/\\/g,"/")});return y.setSourceContent(o,i),a.split(Uqe).forEach((S,A)=>{if(!u7t.test(S)){const N=A+1+p,j=A+1;for(let z=0;z<S.length;z++)/\s/.test(S[z])||y.addMapping({source:o,original:{line:N,column:z},generated:{line:j,column:z}})}}),JSON.parse(y.toString())}function p7t(o,i,a){if(o=o.slice(0,i.loc.start.offset),a==="space")return o.replace(f7t," ");{const u=o.split(Uqe).length,p=i.type==="script"&&!i.lang?`//
`:`
`;return Array(u).join(p)}}function d7t(o){return o.props.some(i=>i.type!==6?!1:i.name==="src")}function m7t(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 h7t(o,i){if(!i.scriptSetup||i.scriptSetup.lang!=="ts"&&i.scriptSetup.lang!=="tsx")return!1;for(const a in o)if(!o[a].isUsedInTemplate&&jqe(a,i))return!0;return!1}var E6=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{};/*! https://mths.be/punycode v1.4.1 by @mathias */var Ghe=2147483647,eR=36,zqe=1,Qge=26,g7t=38,y7t=700,v7t=72,b7t=128,T7t="-",S7t=/[^\x20-\x7E]/,x7t=/[\x2E\u3002\uFF0E\uFF61]/g,k7t={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Xhe=eR-zqe,KN=Math.floor,Qhe=String.fromCharCode;function tUe(o){throw new RangeError(k7t[o])}function C7t(o,i){for(var a=o.length,u=[];a--;)u[a]=i(o[a]);return u}function w7t(o,i){var a=o.split("@"),u="";a.length>1&&(u=a[0]+"@",o=a[1]),o=o.replace(x7t,".");var p=o.split("."),y=C7t(p,i).join(".");return u+y}function E7t(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 rUe(o,i){return o+22+75*(o<26)-((i!=0)<<5)}function A7t(o,i,a){var u=0;for(o=a?KN(o/y7t):o>>1,o+=KN(o/i);o>Xhe*Qge>>1;u+=eR)o=KN(o/Xhe);return KN(u+(Xhe+1)*o/(o+g7t))}function P7t(o){var i,a,u,p,y,S,A,N,j,z,G,te=[],Oe,$e,Be,Qe;for(o=E7t(o),Oe=o.length,i=b7t,a=0,y=v7t,S=0;S<Oe;++S)G=o[S],G<128&&te.push(Qhe(G));for(u=p=te.length,p&&te.push(T7t);u<Oe;){for(A=Ghe,S=0;S<Oe;++S)G=o[S],G>=i&&G<A&&(A=G);for($e=u+1,A-i>KN((Ghe-a)/$e)&&tUe("overflow"),a+=(A-i)*$e,i=A,S=0;S<Oe;++S)if(G=o[S],G<i&&++a>Ghe&&tUe("overflow"),G==i){for(N=a,j=eR;z=j<=y?zqe:j>=y+Qge?Qge:j-y,!(N<z);j+=eR)Qe=N-z,Be=eR-z,te.push(Qhe(rUe(z+Qe%Be,0))),N=KN(Qe/Be);te.push(Qhe(rUe(N,0))),y=A7t(a,$e,u==p),a=0,++u}++a,++i}return te.join("")}function D7t(o){return w7t(o,function(i){return S7t.test(i)?"xn--"+P7t(i):i})}var ax=[],Nb=[],N7t=typeof Uint8Array<"u"?Uint8Array:Array,A1e=!1;function Vqe(){A1e=!0;for(var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,a=o.length;i<a;++i)ax[i]=o[i],Nb[o.charCodeAt(i)]=i;Nb["-".charCodeAt(0)]=62,Nb["_".charCodeAt(0)]=63}function I7t(o){A1e||Vqe();var i,a,u,p,y,S,A=o.length;if(A%4>0)throw new Error("Invalid string. Length must be a multiple of 4");y=o[A-2]==="="?2:o[A-1]==="="?1:0,S=new N7t(A*3/4-y),u=y>0?A-4:A;var N=0;for(i=0,a=0;i<u;i+=4,a+=3)p=Nb[o.charCodeAt(i)]<<18|Nb[o.charCodeAt(i+1)]<<12|Nb[o.charCodeAt(i+2)]<<6|Nb[o.charCodeAt(i+3)],S[N++]=p>>16&255,S[N++]=p>>8&255,S[N++]=p&255;return y===2?(p=Nb[o.charCodeAt(i)]<<2|Nb[o.charCodeAt(i+1)]>>4,S[N++]=p&255):y===1&&(p=Nb[o.charCodeAt(i)]<<10|Nb[o.charCodeAt(i+1)]<<4|Nb[o.charCodeAt(i+2)]>>2,S[N++]=p>>8&255,S[N++]=p&255),S}function O7t(o){return ax[o>>18&63]+ax[o>>12&63]+ax[o>>6&63]+ax[o&63]}function L7t(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(O7t(u));return p.join("")}function nUe(o){A1e||Vqe();for(var i,a=o.length,u=a%3,p="",y=[],S=16383,A=0,N=a-u;A<N;A+=S)y.push(L7t(o,A,A+S>N?N:A+S));return u===1?(i=o[a-1],p+=ax[i>>2],p+=ax[i<<4&63],p+="=="):u===2&&(i=(o[a-2]<<8)+o[a-1],p+=ax[i>>10],p+=ax[i>>4&63],p+=ax[i<<2&63],p+="="),y.push(p),y.join("")}function wY(o,i,a,u,p){var y,S,A=p*8-u-1,N=(1<<A)-1,j=N>>1,z=-7,G=a?p-1:0,te=a?-1:1,Oe=o[i+G];for(G+=te,y=Oe&(1<<-z)-1,Oe>>=-z,z+=A;z>0;y=y*256+o[i+G],G+=te,z-=8);for(S=y&(1<<-z)-1,y>>=-z,z+=u;z>0;S=S*256+o[i+G],G+=te,z-=8);if(y===0)y=1-j;else{if(y===N)return S?NaN:(Oe?-1:1)*(1/0);S=S+Math.pow(2,u),y=y-j}return(Oe?-1:1)*S*Math.pow(2,y-u)}function $qe(o,i,a,u,p,y){var S,A,N,j=y*8-p-1,z=(1<<j)-1,G=z>>1,te=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,Oe=u?0:y-1,$e=u?1:-1,Be=i<0||i===0&&1/i<0?1:0;for(i=Math.abs(i),isNaN(i)||i===1/0?(A=isNaN(i)?1:0,S=z):(S=Math.floor(Math.log(i)/Math.LN2),i*(N=Math.pow(2,-S))<1&&(S--,N*=2),S+G>=1?i+=te/N:i+=te*Math.pow(2,1-G),i*N>=2&&(S++,N/=2),S+G>=z?(A=0,S=z):S+G>=1?(A=(i*N-1)*Math.pow(2,p),S=S+G):(A=i*Math.pow(2,G-1)*Math.pow(2,p),S=0));p>=8;o[a+Oe]=A&255,Oe+=$e,A/=256,p-=8);for(S=S<<p|A,j+=p;j>0;o[a+Oe]=S&255,Oe+=$e,S/=256,j-=8);o[a+Oe-$e]|=Be*128}var M7t={}.toString,qqe=Array.isArray||function(o){return M7t.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 F7t=50;os.TYPED_ARRAY_SUPPORT=E6.TYPED_ARRAY_SUPPORT!==void 0?E6.TYPED_ARRAY_SUPPORT:!0;cQ();function cQ(){return os.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function kC(o,i){if(cQ()<i)throw new RangeError("Invalid typed array length");return os.TYPED_ARRAY_SUPPORT?(o=new Uint8Array(i),o.__proto__=os.prototype):(o===null&&(o=new os(i)),o.length=i),o}function os(o,i,a){if(!os.TYPED_ARRAY_SUPPORT&&!(this instanceof os))return new os(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 P1e(this,o)}return Wqe(this,o,i,a)}os.poolSize=8192;os._augment=function(o){return o.__proto__=os.prototype,o};function Wqe(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?j7t(o,i,a,u):typeof i=="string"?B7t(o,i,a):J7t(o,i)}os.from=function(o,i,a){return Wqe(null,o,i,a)};os.TYPED_ARRAY_SUPPORT&&(os.prototype.__proto__=Uint8Array.prototype,os.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&os[Symbol.species]);function Hqe(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 R7t(o,i,a,u){return Hqe(i),i<=0?kC(o,i):a!==void 0?typeof u=="string"?kC(o,i).fill(a,u):kC(o,i).fill(a):kC(o,i)}os.alloc=function(o,i,a){return R7t(null,o,i,a)};function P1e(o,i){if(Hqe(i),o=kC(o,i<0?0:D1e(i)|0),!os.TYPED_ARRAY_SUPPORT)for(var a=0;a<i;++a)o[a]=0;return o}os.allocUnsafe=function(o){return P1e(null,o)};os.allocUnsafeSlow=function(o){return P1e(null,o)};function B7t(o,i,a){if((typeof a!="string"||a==="")&&(a="utf8"),!os.isEncoding(a))throw new TypeError('"encoding" must be a valid string encoding');var u=Gqe(i,a)|0;o=kC(o,u);var p=o.write(i,a);return p!==u&&(o=o.slice(0,p)),o}function Yge(o,i){var a=i.length<0?0:D1e(i.length)|0;o=kC(o,a);for(var u=0;u<a;u+=1)o[u]=i[u]&255;return o}function j7t(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),os.TYPED_ARRAY_SUPPORT?(o=i,o.__proto__=os.prototype):o=Yge(o,i),o}function J7t(o,i){if(hx(i)){var a=D1e(i.length)|0;return o=kC(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"||sIt(i.length)?kC(o,0):Yge(o,i);if(i.type==="Buffer"&&qqe(i.data))return Yge(o,i.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function D1e(o){if(o>=cQ())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+cQ().toString(16)+" bytes");return o|0}os.isBuffer=aIt;function hx(o){return!!(o!=null&&o._isBuffer)}os.compare=function(i,a){if(!hx(i)||!hx(a))throw new TypeError("Arguments must be Buffers");if(i===a)return 0;for(var u=i.length,p=a.length,y=0,S=Math.min(u,p);y<S;++y)if(i[y]!==a[y]){u=i[y],p=a[y];break}return u<p?-1:p<u?1:0};os.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}};os.concat=function(i,a){if(!qqe(i))throw new TypeError('"list" argument must be an Array of Buffers');if(i.length===0)return os.alloc(0);var u;if(a===void 0)for(a=0,u=0;u<i.length;++u)a+=i[u].length;var p=os.allocUnsafe(a),y=0;for(u=0;u<i.length;++u){var S=i[u];if(!hx(S))throw new TypeError('"list" argument must be an Array of Buffers');S.copy(p,y),y+=S.length}return p};function Gqe(o,i){if(hx(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 lQ(o).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return a*2;case"hex":return a>>>1;case"base64":return tWe(o).length;default:if(u)return lQ(o).length;i=(""+i).toLowerCase(),u=!0}}os.byteLength=Gqe;function U7t(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 Y7t(this,i,a);case"utf8":case"utf-8":return Yqe(this,i,a);case"ascii":return X7t(this,i,a);case"latin1":case"binary":return Q7t(this,i,a);case"base64":return H7t(this,i,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Z7t(this,i,a);default:if(u)throw new TypeError("Unknown encoding: "+o);o=(o+"").toLowerCase(),u=!0}}os.prototype._isBuffer=!0;function x3(o,i,a){var u=o[i];o[i]=o[a],o[a]=u}os.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)x3(this,a,a+1);return this};os.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)x3(this,a,a+3),x3(this,a+1,a+2);return this};os.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)x3(this,a,a+7),x3(this,a+1,a+6),x3(this,a+2,a+5),x3(this,a+3,a+4);return this};os.prototype.toString=function(){var i=this.length|0;return i===0?"":arguments.length===0?Yqe(this,0,i):U7t.apply(this,arguments)};os.prototype.equals=function(i){if(!hx(i))throw new TypeError("Argument must be a Buffer");return this===i?!0:os.compare(this,i)===0};os.prototype.inspect=function(){var i="",a=F7t;return this.length>0&&(i=this.toString("hex",0,a).match(/.{2}/g).join(" "),this.length>a&&(i+=" ... ")),"<Buffer "+i+">"};os.prototype.compare=function(i,a,u,p,y){if(!hx(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 S=y-p,A=u-a,N=Math.min(S,A),j=this.slice(p,y),z=i.slice(a,u),G=0;G<N;++G)if(j[G]!==z[G]){S=j[G],A=z[G];break}return S<A?-1:A<S?1:0};function Xqe(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=os.from(i,u)),hx(i))return i.length===0?-1:iUe(o,i,a,u,p);if(typeof i=="number")return i=i&255,os.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?p?Uint8Array.prototype.indexOf.call(o,i,a):Uint8Array.prototype.lastIndexOf.call(o,i,a):iUe(o,[i],a,u,p);throw new TypeError("val must be string, number or Buffer")}function iUe(o,i,a,u,p){var y=1,S=o.length,A=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,S/=2,A/=2,a/=2}function N(Oe,$e){return y===1?Oe[$e]:Oe.readUInt16BE($e*y)}var j;if(p){var z=-1;for(j=a;j<S;j++)if(N(o,j)===N(i,z===-1?0:j-z)){if(z===-1&&(z=j),j-z+1===A)return z*y}else z!==-1&&(j-=j-z),z=-1}else for(a+A>S&&(a=S-A),j=a;j>=0;j--){for(var G=!0,te=0;te<A;te++)if(N(o,j+te)!==N(i,te)){G=!1;break}if(G)return j}return-1}os.prototype.includes=function(i,a,u){return this.indexOf(i,a,u)!==-1};os.prototype.indexOf=function(i,a,u){return Xqe(this,i,a,u,!0)};os.prototype.lastIndexOf=function(i,a,u){return Xqe(this,i,a,u,!1)};function z7t(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 S=0;S<u;++S){var A=parseInt(i.substr(S*2,2),16);if(isNaN(A))return S;o[a+S]=A}return S}function V7t(o,i,a,u){return PY(lQ(i,o.length-a),o,a,u)}function Qqe(o,i,a,u){return PY(nIt(i),o,a,u)}function $7t(o,i,a,u){return Qqe(o,i,a,u)}function q7t(o,i,a,u){return PY(tWe(i),o,a,u)}function W7t(o,i,a,u){return PY(iIt(i,o.length-a),o,a,u)}os.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 S=!1;;)switch(p){case"hex":return z7t(this,i,a,u);case"utf8":case"utf-8":return V7t(this,i,a,u);case"ascii":return Qqe(this,i,a,u);case"latin1":case"binary":return $7t(this,i,a,u);case"base64":return q7t(this,i,a,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return W7t(this,i,a,u);default:if(S)throw new TypeError("Unknown encoding: "+p);p=(""+p).toLowerCase(),S=!0}};os.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function H7t(o,i,a){return i===0&&a===o.length?nUe(o):nUe(o.slice(i,a))}function Yqe(o,i,a){a=Math.min(o.length,a);for(var u=[],p=i;p<a;){var y=o[p],S=null,A=y>239?4:y>223?3:y>191?2:1;if(p+A<=a){var N,j,z,G;switch(A){case 1:y<128&&(S=y);break;case 2:N=o[p+1],(N&192)===128&&(G=(y&31)<<6|N&63,G>127&&(S=G));break;case 3:N=o[p+1],j=o[p+2],(N&192)===128&&(j&192)===128&&(G=(y&15)<<12|(N&63)<<6|j&63,G>2047&&(G<55296||G>57343)&&(S=G));break;case 4:N=o[p+1],j=o[p+2],z=o[p+3],(N&192)===128&&(j&192)===128&&(z&192)===128&&(G=(y&15)<<18|(N&63)<<12|(j&63)<<6|z&63,G>65535&&G<1114112&&(S=G))}}S===null?(S=65533,A=1):S>65535&&(S-=65536,u.push(S>>>10&1023|55296),S=56320|S&1023),u.push(S),p+=A}return G7t(u)}var sUe=4096;function G7t(o){var i=o.length;if(i<=sUe)return String.fromCharCode.apply(String,o);for(var a="",u=0;u<i;)a+=String.fromCharCode.apply(String,o.slice(u,u+=sUe));return a}function X7t(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 Q7t(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 Y7t(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+=rIt(o[y]);return p}function Z7t(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}os.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(os.TYPED_ARRAY_SUPPORT)p=this.subarray(i,a),p.__proto__=os.prototype;else{var y=a-i;p=new os(y,void 0);for(var S=0;S<y;++S)p[S]=this[S+i]}return p};function ch(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")}os.prototype.readUIntLE=function(i,a,u){i=i|0,a=a|0,u||ch(i,a,this.length);for(var p=this[i],y=1,S=0;++S<a&&(y*=256);)p+=this[i+S]*y;return p};os.prototype.readUIntBE=function(i,a,u){i=i|0,a=a|0,u||ch(i,a,this.length);for(var p=this[i+--a],y=1;a>0&&(y*=256);)p+=this[i+--a]*y;return p};os.prototype.readUInt8=function(i,a){return a||ch(i,1,this.length),this[i]};os.prototype.readUInt16LE=function(i,a){return a||ch(i,2,this.length),this[i]|this[i+1]<<8};os.prototype.readUInt16BE=function(i,a){return a||ch(i,2,this.length),this[i]<<8|this[i+1]};os.prototype.readUInt32LE=function(i,a){return a||ch(i,4,this.length),(this[i]|this[i+1]<<8|this[i+2]<<16)+this[i+3]*16777216};os.prototype.readUInt32BE=function(i,a){return a||ch(i,4,this.length),this[i]*16777216+(this[i+1]<<16|this[i+2]<<8|this[i+3])};os.prototype.readIntLE=function(i,a,u){i=i|0,a=a|0,u||ch(i,a,this.length);for(var p=this[i],y=1,S=0;++S<a&&(y*=256);)p+=this[i+S]*y;return y*=128,p>=y&&(p-=Math.pow(2,8*a)),p};os.prototype.readIntBE=function(i,a,u){i=i|0,a=a|0,u||ch(i,a,this.length);for(var p=a,y=1,S=this[i+--p];p>0&&(y*=256);)S+=this[i+--p]*y;return y*=128,S>=y&&(S-=Math.pow(2,8*a)),S};os.prototype.readInt8=function(i,a){return a||ch(i,1,this.length),this[i]&128?(255-this[i]+1)*-1:this[i]};os.prototype.readInt16LE=function(i,a){a||ch(i,2,this.length);var u=this[i]|this[i+1]<<8;return u&32768?u|4294901760:u};os.prototype.readInt16BE=function(i,a){a||ch(i,2,this.length);var u=this[i+1]|this[i]<<8;return u&32768?u|4294901760:u};os.prototype.readInt32LE=function(i,a){return a||ch(i,4,this.length),this[i]|this[i+1]<<8|this[i+2]<<16|this[i+3]<<24};os.prototype.readInt32BE=function(i,a){return a||ch(i,4,this.length),this[i]<<24|this[i+1]<<16|this[i+2]<<8|this[i+3]};os.prototype.readFloatLE=function(i,a){return a||ch(i,4,this.length),wY(this,i,!0,23,4)};os.prototype.readFloatBE=function(i,a){return a||ch(i,4,this.length),wY(this,i,!1,23,4)};os.prototype.readDoubleLE=function(i,a){return a||ch(i,8,this.length),wY(this,i,!0,52,8)};os.prototype.readDoubleBE=function(i,a){return a||ch(i,8,this.length),wY(this,i,!1,52,8)};function W0(o,i,a,u,p,y){if(!hx(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")}os.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;W0(this,i,a,u,y,0)}var S=1,A=0;for(this[a]=i&255;++A<u&&(S*=256);)this[a+A]=i/S&255;return a+u};os.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;W0(this,i,a,u,y,0)}var S=u-1,A=1;for(this[a+S]=i&255;--S>=0&&(A*=256);)this[a+S]=i/A&255;return a+u};os.prototype.writeUInt8=function(i,a,u){return i=+i,a=a|0,u||W0(this,i,a,1,255,0),os.TYPED_ARRAY_SUPPORT||(i=Math.floor(i)),this[a]=i&255,a+1};function EY(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}os.prototype.writeUInt16LE=function(i,a,u){return i=+i,a=a|0,u||W0(this,i,a,2,65535,0),os.TYPED_ARRAY_SUPPORT?(this[a]=i&255,this[a+1]=i>>>8):EY(this,i,a,!0),a+2};os.prototype.writeUInt16BE=function(i,a,u){return i=+i,a=a|0,u||W0(this,i,a,2,65535,0),os.TYPED_ARRAY_SUPPORT?(this[a]=i>>>8,this[a+1]=i&255):EY(this,i,a,!1),a+2};function AY(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}os.prototype.writeUInt32LE=function(i,a,u){return i=+i,a=a|0,u||W0(this,i,a,4,4294967295,0),os.TYPED_ARRAY_SUPPORT?(this[a+3]=i>>>24,this[a+2]=i>>>16,this[a+1]=i>>>8,this[a]=i&255):AY(this,i,a,!0),a+4};os.prototype.writeUInt32BE=function(i,a,u){return i=+i,a=a|0,u||W0(this,i,a,4,4294967295,0),os.TYPED_ARRAY_SUPPORT?(this[a]=i>>>24,this[a+1]=i>>>16,this[a+2]=i>>>8,this[a+3]=i&255):AY(this,i,a,!1),a+4};os.prototype.writeIntLE=function(i,a,u,p){if(i=+i,a=a|0,!p){var y=Math.pow(2,8*u-1);W0(this,i,a,u,y-1,-y)}var S=0,A=1,N=0;for(this[a]=i&255;++S<u&&(A*=256);)i<0&&N===0&&this[a+S-1]!==0&&(N=1),this[a+S]=(i/A>>0)-N&255;return a+u};os.prototype.writeIntBE=function(i,a,u,p){if(i=+i,a=a|0,!p){var y=Math.pow(2,8*u-1);W0(this,i,a,u,y-1,-y)}var S=u-1,A=1,N=0;for(this[a+S]=i&255;--S>=0&&(A*=256);)i<0&&N===0&&this[a+S+1]!==0&&(N=1),this[a+S]=(i/A>>0)-N&255;return a+u};os.prototype.writeInt8=function(i,a,u){return i=+i,a=a|0,u||W0(this,i,a,1,127,-128),os.TYPED_ARRAY_SUPPORT||(i=Math.floor(i)),i<0&&(i=255+i+1),this[a]=i&255,a+1};os.prototype.writeInt16LE=function(i,a,u){return i=+i,a=a|0,u||W0(this,i,a,2,32767,-32768),os.TYPED_ARRAY_SUPPORT?(this[a]=i&255,this[a+1]=i>>>8):EY(this,i,a,!0),a+2};os.prototype.writeInt16BE=function(i,a,u){return i=+i,a=a|0,u||W0(this,i,a,2,32767,-32768),os.TYPED_ARRAY_SUPPORT?(this[a]=i>>>8,this[a+1]=i&255):EY(this,i,a,!1),a+2};os.prototype.writeInt32LE=function(i,a,u){return i=+i,a=a|0,u||W0(this,i,a,4,2147483647,-2147483648),os.TYPED_ARRAY_SUPPORT?(this[a]=i&255,this[a+1]=i>>>8,this[a+2]=i>>>16,this[a+3]=i>>>24):AY(this,i,a,!0),a+4};os.prototype.writeInt32BE=function(i,a,u){return i=+i,a=a|0,u||W0(this,i,a,4,2147483647,-2147483648),i<0&&(i=4294967295+i+1),os.TYPED_ARRAY_SUPPORT?(this[a]=i>>>24,this[a+1]=i>>>16,this[a+2]=i>>>8,this[a+3]=i&255):AY(this,i,a,!1),a+4};function Zqe(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 Kqe(o,i,a,u,p){return p||Zqe(o,i,a,4),$qe(o,i,a,u,23,4),a+4}os.prototype.writeFloatLE=function(i,a,u){return Kqe(this,i,a,!0,u)};os.prototype.writeFloatBE=function(i,a,u){return Kqe(this,i,a,!1,u)};function eWe(o,i,a,u,p){return p||Zqe(o,i,a,8),$qe(o,i,a,u,52,8),a+8}os.prototype.writeDoubleLE=function(i,a,u){return eWe(this,i,a,!0,u)};os.prototype.writeDoubleBE=function(i,a,u){return eWe(this,i,a,!1,u)};os.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,S;if(this===i&&u<a&&a<p)for(S=y-1;S>=0;--S)i[S+a]=this[S+u];else if(y<1e3||!os.TYPED_ARRAY_SUPPORT)for(S=0;S<y;++S)i[S+a]=this[S+u];else Uint8Array.prototype.set.call(i,this.subarray(u,u+y),a);return y};os.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"&&!os.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 S;if(typeof i=="number")for(S=a;S<u;++S)this[S]=i;else{var A=hx(i)?i:lQ(new os(i,p).toString()),N=A.length;for(S=0;S<u-a;++S)this[S+a]=A[S%N]}return this};var K7t=/[^+\/0-9A-Za-z-_]/g;function eIt(o){if(o=tIt(o).replace(K7t,""),o.length<2)return"";for(;o.length%4!==0;)o=o+"=";return o}function tIt(o){return o.trim?o.trim():o.replace(/^\s+|\s+$/g,"")}function rIt(o){return o<16?"0"+o.toString(16):o.toString(16)}function lQ(o,i){i=i||1/0;for(var a,u=o.length,p=null,y=[],S=0;S<u;++S){if(a=o.charCodeAt(S),a>55295&&a<57344){if(!p){if(a>56319){(i-=3)>-1&&y.push(239,191,189);continue}else if(S+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 nIt(o){for(var i=[],a=0;a<o.length;++a)i.push(o.charCodeAt(a)&255);return i}function iIt(o,i){for(var a,u,p,y=[],S=0;S<o.length&&!((i-=2)<0);++S)a=o.charCodeAt(S),u=a>>8,p=a%256,y.push(p),y.push(u);return y}function tWe(o){return I7t(eIt(o))}function PY(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 sIt(o){return o!==o}function aIt(o){return o!=null&&(!!o._isBuffer||rWe(o)||oIt(o))}function rWe(o){return!!o.constructor&&typeof o.constructor.isBuffer=="function"&&o.constructor.isBuffer(o)}function oIt(o){return typeof o.readFloatLE=="function"&&typeof o.slice=="function"&&rWe(o.slice(0,0))}function nWe(){throw new Error("setTimeout has not been defined")}function iWe(){throw new Error("clearTimeout has not been defined")}var u6=nWe,f6=iWe;typeof E6.setTimeout=="function"&&(u6=setTimeout);typeof E6.clearTimeout=="function"&&(f6=clearTimeout);function sWe(o){if(u6===setTimeout)return setTimeout(o,0);if((u6===nWe||!u6)&&setTimeout)return u6=setTimeout,setTimeout(o,0);try{return u6(o,0)}catch{try{return u6.call(null,o,0)}catch{return u6.call(this,o,0)}}}function cIt(o){if(f6===clearTimeout)return clearTimeout(o);if((f6===iWe||!f6)&&clearTimeout)return f6=clearTimeout,clearTimeout(o);try{return f6(o)}catch{try{return f6.call(null,o)}catch{return f6.call(this,o)}}}var CC=[],l7=!1,k3,CX=-1;function lIt(){!l7||!k3||(l7=!1,k3.length?CC=k3.concat(CC):CX=-1,CC.length&&aWe())}function aWe(){if(!l7){var o=sWe(lIt);l7=!0;for(var i=CC.length;i;){for(k3=CC,CC=[];++CX<i;)k3&&k3[CX].run();CX=-1,i=CC.length}k3=null,l7=!1,cIt(o)}}function uIt(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];CC.push(new oWe(o,i)),CC.length===1&&!l7&&sWe(aWe)}function oWe(o,i){this.fun=o,this.array=i}oWe.prototype.run=function(){this.fun.apply(null,this.array)};var fIt="browser",_It="browser",pIt=!0,dIt={},mIt=[],hIt="",gIt={},yIt={},vIt={};function G3(){}var bIt=G3,TIt=G3,SIt=G3,xIt=G3,kIt=G3,CIt=G3,wIt=G3;function EIt(o){throw new Error("process.binding is not supported")}function AIt(){return"/"}function PIt(o){throw new Error("process.chdir is not supported")}function DIt(){return 0}var HN=E6.performance||{},NIt=HN.now||HN.mozNow||HN.msNow||HN.oNow||HN.webkitNow||function(){return new Date().getTime()};function IIt(o){var i=NIt.call(HN)*.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 OIt=new Date;function LIt(){var o=new Date,i=o-OIt;return i/1e3}var Jg={nextTick:uIt,title:fIt,browser:pIt,env:dIt,argv:mIt,version:hIt,versions:gIt,on:bIt,addListener:TIt,once:SIt,off:xIt,removeListener:kIt,removeAllListeners:CIt,emit:wIt,binding:EIt,cwd:AIt,chdir:PIt,umask:DIt,hrtime:IIt,platform:_It,release:yIt,config:vIt,uptime:LIt},Zge;typeof Object.create=="function"?Zge=function(i,a){i.super_=a,i.prototype=Object.create(a.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}})}:Zge=function(i,a){i.super_=a;var u=function(){};u.prototype=a.prototype,i.prototype=new u,i.prototype.constructor=i};var cWe=Zge,lWe=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},MIt=/%[sdj%]/g;function DY(o){if(!A6(o)){for(var i=[],a=0;a<arguments.length;a++)i.push(fx(arguments[a]));return i.join(" ")}for(var a=1,u=arguments,p=u.length,y=String(o).replace(MIt,function(A){if(A==="%%")return"%";if(a>=p)return A;switch(A){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 A}}),S=u[a];a<p;S=u[++a])wC(S)||!jC(S)?y+=" "+S:y+=" "+fx(S);return y}function N1e(o,i){if(lx(E6.process))return function(){return N1e(o,i).apply(this,arguments)};if(Jg.noDeprecation===!0)return o;var a=!1;function u(){if(!a){if(Jg.throwDeprecation)throw new Error(i);Jg.traceDeprecation?console.trace(i):console.error(i),a=!0}return o.apply(this,arguments)}return u}var eX={},Yhe;function uWe(o){if(lx(Yhe)&&(Yhe=Jg.env.NODE_DEBUG||""),o=o.toUpperCase(),!eX[o])if(new RegExp("\\b"+o+"\\b","i").test(Yhe)){var i=0;eX[o]=function(){var a=DY.apply(null,arguments);console.error("%s %d: %s",o,i,a)}}else eX[o]=function(){};return eX[o]}function fx(o,i){var a={seen:[],stylize:RIt};return arguments.length>=3&&(a.depth=arguments[2]),arguments.length>=4&&(a.colors=arguments[3]),NY(i)?a.showHidden=i:i&&F1e(a,i),lx(a.showHidden)&&(a.showHidden=!1),lx(a.depth)&&(a.depth=2),lx(a.colors)&&(a.colors=!1),lx(a.customInspect)&&(a.customInspect=!0),a.colors&&(a.stylize=FIt),uQ(a,o,a.depth)}fx.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]};fx.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function FIt(o,i){var a=fx.styles[i];return a?"\x1B["+fx.colors[a][0]+"m"+o+"\x1B["+fx.colors[a][1]+"m":o}function RIt(o,i){return o}function BIt(o){var i={};return o.forEach(function(a,u){i[a]=!0}),i}function uQ(o,i,a){if(o.customInspect&&i&&nR(i.inspect)&&i.inspect!==fx&&!(i.constructor&&i.constructor.prototype===i)){var u=i.inspect(a,o);return A6(u)||(u=uQ(o,u,a)),u}var p=jIt(o,i);if(p)return p;var y=Object.keys(i),S=BIt(y);if(o.showHidden&&(y=Object.getOwnPropertyNames(i)),rR(i)&&(y.indexOf("message")>=0||y.indexOf("description")>=0))return Zhe(i);if(y.length===0){if(nR(i)){var A=i.name?": "+i.name:"";return o.stylize("[Function"+A+"]","special")}if(tR(i))return o.stylize(RegExp.prototype.toString.call(i),"regexp");if(fQ(i))return o.stylize(Date.prototype.toString.call(i),"date");if(rR(i))return Zhe(i)}var N="",j=!1,z=["{","}"];if(I1e(i)&&(j=!0,z=["[","]"]),nR(i)){var G=i.name?": "+i.name:"";N=" [Function"+G+"]"}if(tR(i)&&(N=" "+RegExp.prototype.toString.call(i)),fQ(i)&&(N=" "+Date.prototype.toUTCString.call(i)),rR(i)&&(N=" "+Zhe(i)),y.length===0&&(!j||i.length==0))return z[0]+N+z[1];if(a<0)return tR(i)?o.stylize(RegExp.prototype.toString.call(i),"regexp"):o.stylize("[Object]","special");o.seen.push(i);var te;return j?te=JIt(o,i,a,S,y):te=y.map(function(Oe){return Kge(o,i,a,S,Oe,j)}),o.seen.pop(),UIt(te,N,z)}function jIt(o,i){if(lx(i))return o.stylize("undefined","undefined");if(A6(i)){var a="'"+JSON.stringify(i).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return o.stylize(a,"string")}if(L1e(i))return o.stylize(""+i,"number");if(NY(i))return o.stylize(""+i,"boolean");if(wC(i))return o.stylize("null","null")}function Zhe(o){return"["+Error.prototype.toString.call(o)+"]"}function JIt(o,i,a,u,p){for(var y=[],S=0,A=i.length;S<A;++S)mWe(i,String(S))?y.push(Kge(o,i,a,u,String(S),!0)):y.push("");return p.forEach(function(N){N.match(/^\d+$/)||y.push(Kge(o,i,a,u,N,!0))}),y}function Kge(o,i,a,u,p,y){var S,A,N;if(N=Object.getOwnPropertyDescriptor(i,p)||{value:i[p]},N.get?N.set?A=o.stylize("[Getter/Setter]","special"):A=o.stylize("[Getter]","special"):N.set&&(A=o.stylize("[Setter]","special")),mWe(u,p)||(S="["+p+"]"),A||(o.seen.indexOf(N.value)<0?(wC(a)?A=uQ(o,N.value,null):A=uQ(o,N.value,a-1),A.indexOf(`
`)>-1&&(y?A=A.split(`
`).map(function(j){return" "+j}).join(`
`).substr(2):A=`
`+A.split(`
`).map(function(j){return" "+j}).join(`
`))):A=o.stylize("[Circular]","special")),lx(S)){if(y&&p.match(/^\d+$/))return A;S=JSON.stringify(""+p),S.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(S=S.substr(1,S.length-2),S=o.stylize(S,"name")):(S=S.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),S=o.stylize(S,"string"))}return S+": "+A}function UIt(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 I1e(o){return Array.isArray(o)}function NY(o){return typeof o=="boolean"}function wC(o){return o===null}function O1e(o){return o==null}function L1e(o){return typeof o=="number"}function A6(o){return typeof o=="string"}function fWe(o){return typeof o=="symbol"}function lx(o){return o===void 0}function tR(o){return jC(o)&&M1e(o)==="[object RegExp]"}function jC(o){return typeof o=="object"&&o!==null}function fQ(o){return jC(o)&&M1e(o)==="[object Date]"}function rR(o){return jC(o)&&(M1e(o)==="[object Error]"||o instanceof Error)}function nR(o){return typeof o=="function"}function _We(o){return o===null||typeof o=="boolean"||typeof o=="number"||typeof o=="string"||typeof o=="symbol"||typeof o>"u"}function pWe(o){return os.isBuffer(o)}function M1e(o){return Object.prototype.toString.call(o)}function Khe(o){return o<10?"0"+o.toString(10):o.toString(10)}var zIt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function VIt(){var o=new Date,i=[Khe(o.getHours()),Khe(o.getMinutes()),Khe(o.getSeconds())].join(":");return[o.getDate(),zIt[o.getMonth()],i].join(" ")}function dWe(){console.log("%s - %s",VIt(),DY.apply(null,arguments))}function F1e(o,i){if(!i||!jC(i))return o;for(var a=Object.keys(i),u=a.length;u--;)o[a[u]]=i[a[u]];return o}function mWe(o,i){return Object.prototype.hasOwnProperty.call(o,i)}var g3=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function R1e(o){if(typeof o!="function")throw new TypeError('The "original" argument must be of type Function');if(g3&&o[g3]){var i=o[g3];if(typeof i!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(i,g3,{value:i,enumerable:!1,writable:!1,configurable:!0}),i}function i(){for(var a,u,p=new Promise(function(A,N){a=A,u=N}),y=[],S=0;S<arguments.length;S++)y.push(arguments[S]);y.push(function(A,N){A?u(A):a(N)});try{o.apply(this,y)}catch(A){u(A)}return p}return Object.setPrototypeOf(i,Object.getPrototypeOf(o)),g3&&Object.defineProperty(i,g3,{value:i,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(i,lWe(o))}R1e.custom=g3;function $It(o,i){if(!o){var a=new Error("Promise was rejected with a falsy value");a.reason=o,o=a}return i(o)}function hWe(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,S=function(){return p.apply(y,arguments)};o.apply(this,a).then(function(A){Jg.nextTick(S.bind(null,null,A))},function(A){Jg.nextTick($It.bind(null,A,S))})}return Object.setPrototypeOf(i,Object.getPrototypeOf(o)),Object.defineProperties(i,lWe(o)),i}var qIt={inherits:cWe,_extend:F1e,log:dWe,isBuffer:pWe,isPrimitive:_We,isFunction:nR,isError:rR,isDate:fQ,isObject:jC,isRegExp:tR,isUndefined:lx,isSymbol:fWe,isString:A6,isNumber:L1e,isNullOrUndefined:O1e,isNull:wC,isBoolean:NY,isArray:I1e,inspect:fx,deprecate:N1e,format:DY,debuglog:uWe,promisify:R1e,callbackify:hWe},WIt=Object.freeze({__proto__:null,_extend:F1e,callbackify:hWe,debuglog:uWe,default:qIt,deprecate:N1e,format:DY,inherits:cWe,inspect:fx,isArray:I1e,isBoolean:NY,isBuffer:pWe,isDate:fQ,isError:rR,isFunction:nR,isNull:wC,isNullOrUndefined:O1e,isNumber:L1e,isObject:jC,isPrimitive:_We,isRegExp:tR,isString:A6,isSymbol:fWe,isUndefined:lx,log:dWe,promisify:R1e});function HIt(o,i){return Object.prototype.hasOwnProperty.call(o,i)}var gWe=Array.isArray||function(o){return Object.prototype.toString.call(o)==="[object Array]"};function AF(o){switch(typeof o){case"string":return o;case"boolean":return o?"true":"false";case"number":return isFinite(o)?o:"";default:return""}}function GIt(o,i,a,u){return i=i||"&",a=a||"=",o===null&&(o=void 0),typeof o=="object"?aUe(XIt(o),function(p){var y=encodeURIComponent(AF(p))+a;return gWe(o[p])?aUe(o[p],function(S){return y+encodeURIComponent(AF(S))}).join(i):y+encodeURIComponent(AF(o[p]))}).join(i):u?encodeURIComponent(AF(u))+a+encodeURIComponent(AF(o)):""}function aUe(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 XIt=Object.keys||function(o){var i=[];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&i.push(a);return i};function oUe(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 S=1e3;u&&typeof u.maxKeys=="number"&&(S=u.maxKeys);var A=o.length;S>0&&A>S&&(A=S);for(var N=0;N<A;++N){var j=o[N].replace(y,"%20"),z=j.indexOf(a),G,te,Oe,$e;z>=0?(G=j.substr(0,z),te=j.substr(z+1)):(G=j,te=""),Oe=decodeURIComponent(G),$e=decodeURIComponent(te),HIt(p,Oe)?gWe(p[Oe])?p[Oe].push($e):p[Oe]=[p[Oe],$e]:p[Oe]=$e}return p}const yWe=E6.URL,vWe=E6.URLSearchParams;var QIt={parse:eI,resolve:xWe,resolveObject:kWe,fileURLToPath:TWe,format:SWe,Url:fv,URL:yWe,URLSearchParams:vWe};function fv(){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 YIt=/^([a-z0-9.+-]+:)/i,ZIt=/:[0-9]*$/,KIt=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,e5t=["<",">",'"',"`"," ","\r",`
`," "],t5t=["{","}","|","\\","^","`"].concat(e5t),eye=["'"].concat(t5t),cUe=["%","/","?",";","#"].concat(eye),lUe=["/","?","#"],r5t=255,uUe=/^[+a-z0-9A-Z_-]{0,63}$/,n5t=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,i5t={javascript:!0,"javascript:":!0},tye={javascript:!0,"javascript:":!0},u7={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function eI(o,i,a){if(o&&jC(o)&&o instanceof fv)return o;var u=new fv;return u.parse(o,i,a),u}fv.prototype.parse=function(o,i,a){return bWe(this,o,i,a)};function bWe(o,i,a,u){if(!A6(i))throw new TypeError("Parameter 'url' must be a string, not "+typeof i);var p=i.indexOf("?"),y=p!==-1&&p<i.indexOf("#")?"?":"#",S=i.split(y),A=/\\/g;S[0]=S[0].replace(A,"/"),i=S.join(y);var N=i;if(N=N.trim(),!u&&i.split("#").length===1){var j=KIt.exec(N);if(j)return o.path=N,o.href=N,o.pathname=j[1],j[2]?(o.search=j[2],a?o.query=oUe(o.search.substr(1)):o.query=o.search.substr(1)):a&&(o.search="",o.query={}),o}var z=YIt.exec(N);if(z){z=z[0];var G=z.toLowerCase();o.protocol=G,N=N.substr(z.length)}if(u||z||N.match(/^\/\/[^@\/]+@[^@\/]+/)){var te=N.substr(0,2)==="//";te&&!(z&&tye[z])&&(N=N.substr(2),o.slashes=!0)}var Oe,$e,Be,Qe;if(!tye[z]&&(te||z&&!u7[z])){var Ue=-1;for(Oe=0;Oe<lUe.length;Oe++)$e=N.indexOf(lUe[Oe]),$e!==-1&&(Ue===-1||$e<Ue)&&(Ue=$e);var yt,ot;for(Ue===-1?ot=N.lastIndexOf("@"):ot=N.lastIndexOf("@",Ue),ot!==-1&&(yt=N.slice(0,ot),N=N.slice(ot+1),o.auth=decodeURIComponent(yt)),Ue=-1,Oe=0;Oe<cUe.length;Oe++)$e=N.indexOf(cUe[Oe]),$e!==-1&&(Ue===-1||$e<Ue)&&(Ue=$e);Ue===-1&&(Ue=N.length),o.host=N.slice(0,Ue),N=N.slice(Ue),CWe(o),o.hostname=o.hostname||"";var Ve=o.hostname[0]==="["&&o.hostname[o.hostname.length-1]==="]";if(!Ve){var Ft=o.hostname.split(/\./);for(Oe=0,Be=Ft.length;Oe<Be;Oe++){var ir=Ft[Oe];if(ir&&!ir.match(uUe)){for(var kr="",Ot=0,kt=ir.length;Ot<kt;Ot++)ir.charCodeAt(Ot)>127?kr+="x":kr+=ir[Ot];if(!kr.match(uUe)){var Wt=Ft.slice(0,Oe),pr=Ft.slice(Oe+1),Sn=ir.match(n5t);Sn&&(Wt.push(Sn[1]),pr.unshift(Sn[2])),pr.length&&(N="/"+pr.join(".")+N),o.hostname=Wt.join(".");break}}}}o.hostname.length>r5t?o.hostname="":o.hostname=o.hostname.toLowerCase(),Ve||(o.hostname=D7t(o.hostname)),Qe=o.port?":"+o.port:"";var gr=o.hostname||"";o.host=gr+Qe,o.href+=o.host,Ve&&(o.hostname=o.hostname.substr(1,o.hostname.length-2),N[0]!=="/"&&(N="/"+N))}if(!i5t[G])for(Oe=0,Be=eye.length;Oe<Be;Oe++){var ji=eye[Oe];if(N.indexOf(ji)!==-1){var us=encodeURIComponent(ji);us===ji&&(us=escape(ji)),N=N.split(ji).join(us)}}var qt=N.indexOf("#");qt!==-1&&(o.hash=N.substr(qt),N=N.slice(0,qt));var qa=N.indexOf("?");if(qa!==-1?(o.search=N.substr(qa),o.query=N.substr(qa+1),a&&(o.query=oUe(o.query)),N=N.slice(0,qa)):a&&(o.search="",o.query={}),N&&(o.pathname=N),u7[G]&&o.hostname&&!o.pathname&&(o.pathname="/"),o.pathname||o.search){Qe=o.pathname||"";var $s=o.search||"";o.path=Qe+$s}return o.href=B1e(o),o}function TWe(o){if(typeof o=="string")o=new fv().parse(o);else if(!(o instanceof fv))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 s5t(o)}function s5t(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 SWe(o){return A6(o)&&(o=bWe({},o)),B1e(o)}function B1e(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,S="";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&&jC(o.query)&&Object.keys(o.query).length&&(S=GIt(o.query));var A=o.search||S&&"?"+S||"";return a&&a.substr(-1)!==":"&&(a+=":"),o.slashes||(!a||u7[a])&&y!==!1?(y="//"+(y||""),u&&u.charAt(0)!=="/"&&(u="/"+u)):y||(y=""),p&&p.charAt(0)!=="#"&&(p="#"+p),A&&A.charAt(0)!=="?"&&(A="?"+A),u=u.replace(/[?#]/g,function(N){return encodeURIComponent(N)}),A=A.replace("#","%23"),a+y+u+A+p}fv.prototype.format=function(){return B1e(this)};function xWe(o,i){return eI(o,!1,!0).resolve(i)}fv.prototype.resolve=function(o){return this.resolveObject(eI(o,!1,!0)).format()};function kWe(o,i){return o?eI(o,!1,!0).resolveObject(i):i}fv.prototype.resolveObject=function(o){if(A6(o)){var i=new fv;i.parse(o,!1,!0),o=i}for(var a=new fv,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 S=Object.keys(o),A=0;A<S.length;A++){var N=S[A];N!=="protocol"&&(a[N]=o[N])}return u7[a.protocol]&&a.hostname&&!a.pathname&&(a.path=a.pathname="/"),a.href=a.format(),a}var j;if(o.protocol&&o.protocol!==a.protocol){if(!u7[o.protocol]){for(var z=Object.keys(o),G=0;G<z.length;G++){var te=z[G];a[te]=o[te]}return a.href=a.format(),a}if(a.protocol=o.protocol,!o.host&&!tye[o.protocol]){for(j=(o.pathname||"").split("/");j.length&&!(o.host=j.shift()););o.host||(o.host=""),o.hostname||(o.hostname=""),j[0]!==""&&j.unshift(""),j.length<2&&j.unshift(""),a.pathname=j.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 Oe=a.pathname||"",$e=a.search||"";a.path=Oe+$e}return a.slashes=a.slashes||o.slashes,a.href=a.format(),a}var Be=a.pathname&&a.pathname.charAt(0)==="/",Qe=o.host||o.pathname&&o.pathname.charAt(0)==="/",Ue=Qe||Be||a.host&&o.pathname,yt=Ue,ot=a.pathname&&a.pathname.split("/")||[],Ve=a.protocol&&!u7[a.protocol];j=o.pathname&&o.pathname.split("/")||[],Ve&&(a.hostname="",a.port=null,a.host&&(ot[0]===""?ot[0]=a.host:ot.unshift(a.host)),a.host="",o.protocol&&(o.hostname=null,o.port=null,o.host&&(j[0]===""?j[0]=o.host:j.unshift(o.host)),o.host=null),Ue=Ue&&(j[0]===""||ot[0]===""));var Ft;if(Qe)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,ot=j;else if(j.length)ot||(ot=[]),ot.pop(),ot=ot.concat(j),a.search=o.search,a.query=o.query;else if(!O1e(o.search))return Ve&&(a.hostname=a.host=ot.shift(),Ft=a.host&&a.host.indexOf("@")>0?a.host.split("@"):!1,Ft&&(a.auth=Ft.shift(),a.host=a.hostname=Ft.shift())),a.search=o.search,a.query=o.query,(!wC(a.pathname)||!wC(a.search))&&(a.path=(a.pathname?a.pathname:"")+(a.search?a.search:"")),a.href=a.format(),a;if(!ot.length)return a.pathname=null,a.search?a.path="/"+a.search:a.path=null,a.href=a.format(),a;for(var ir=ot.slice(-1)[0],kr=(a.host||o.host||ot.length>1)&&(ir==="."||ir==="..")||ir==="",Ot=0,kt=ot.length;kt>=0;kt--)ir=ot[kt],ir==="."?ot.splice(kt,1):ir===".."?(ot.splice(kt,1),Ot++):Ot&&(ot.splice(kt,1),Ot--);if(!Ue&&!yt)for(;Ot--;Ot)ot.unshift("..");Ue&&ot[0]!==""&&(!ot[0]||ot[0].charAt(0)!=="/")&&ot.unshift(""),kr&&ot.join("/").substr(-1)!=="/"&&ot.push("");var Wt=ot[0]===""||ot[0]&&ot[0].charAt(0)==="/";return Ve&&(a.hostname=a.host=Wt?"":ot.length?ot.shift():"",Ft=a.host&&a.host.indexOf("@")>0?a.host.split("@"):!1,Ft&&(a.auth=Ft.shift(),a.host=a.hostname=Ft.shift())),Ue=Ue||a.host&&ot.length,Ue&&!Wt&&ot.unshift(""),ot.length?a.pathname=ot.join("/"):(a.pathname=null,a.path=null),(!wC(a.pathname)||!wC(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};fv.prototype.parseHost=function(){return CWe(this)};function CWe(o){var i=o.host,a=ZIt.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 a5t=Object.freeze({__proto__:null,URL:yWe,URLSearchParams:vWe,Url:fv,default:QIt,fileURLToPath:TWe,format:SWe,parse:eI,resolve:xWe,resolveObject:kWe});function wWe(o){const i=o.charAt(0);return i==="."||i==="~"||i==="@"}const o5t=/^(https?:)?\/\//;function EWe(o){return o5t.test(o)}const c5t=/^\s*data:/i;function rye(o){return c5t.test(o)}function nye(o){if(o.charAt(0)==="~"){const a=o.charAt(1);o=o.slice(a==="/"?2:1)}return l5t(o)}function l5t(o){return eI(fu(o)?o:"",!1,!0)}var u5t=Object.defineProperty,f5t=Object.defineProperties,_5t=Object.getOwnPropertyDescriptors,fUe=Object.getOwnPropertySymbols,p5t=Object.prototype.hasOwnProperty,d5t=Object.prototype.propertyIsEnumerable,_Ue=(o,i,a)=>i in o?u5t(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,ege=(o,i)=>{for(var a in i||(i={}))p5t.call(i,a)&&_Ue(o,a,i[a]);if(fUe)for(var a of fUe(i))d5t.call(i,a)&&_Ue(o,a,i[a]);return o},m5t=(o,i)=>f5t(o,_5t(i));const CR={base:null,includeAbsolute:!1,tags:{video:["src","poster"],source:["src"],img:["src"],image:["xlink:href","href"],use:["xlink:href","href"]}},h5t=o=>Object.keys(o).some(i=>jy(o[i]))?m5t(ege({},CR),{tags:o}):ege(ege({},CR),o),g5t=o=>(i,a)=>AWe(i,a,o),AWe=(o,i,a=CR)=>{if(o.type===1){if(!o.props.length)return;const u=a.tags||CR.tags,p=u[o.tag],y=u["*"];if(!p&&!y)return;const S=(p||[]).concat(y||[]);o.props.forEach((A,N)=>{if(A.type!==6||!S.includes(A.name)||!A.value||EWe(A.value.content)||rye(A.value.content)||A.value.content[0]==="#"||!a.includeAbsolute&&!wWe(A.value.content))return;const j=nye(A.value.content);if(a.base&&A.value.content[0]==="."){const G=nye(a.base),te=G.protocol||"",Oe=G.host?te+"//"+G.host:"",$e=G.path||"/";A.value.content=Oe+(OC.posix||OC).join($e,j.path+(j.hash||""));return}const z=y5t(j.path,j.hash,A.loc,i);o.props[N]={type:7,name:"bind",arg:Na(A.name,!0,A.loc),exp:z,modifiers:[],loc:A.loc}})}};function y5t(o,i,a,u){if(o){let p,y;const S=u.imports.findIndex(z=>z.path===o);if(S>-1?(p=`_imports_${S}`,y=u.imports[S].exp):(p=`_imports_${u.imports.length}`,y=Na(p,!1,a,3),u.imports.push({exp:y,path:o})),!i)return y;const A=`${p} + '${i}'`,N=Na(A,!1,a,3);if(!u.hoistStatic)return N;const j=u.hoists.findIndex(z=>z&&z.type===4&&!z.isStatic&&z.content===A);return j>-1?Na(`_hoisted_${j+1}`,!1,a,3):u.hoist(N)}else return Na("''",!1,a,3)}const v5t=["img","source"],b5t=/( |\\t|\\n|\\f|\\r)+/g,T5t=o=>(i,a)=>PWe(i,a,o),PWe=(o,i,a=CR)=>{o.type===1&&v5t.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 S=y.split(",").map(z=>{const[G,te]=z.replace(b5t," ").trim().split(" ",2);return{url:G,descriptor:te}});for(let z=0;z<S.length;z++){const{url:G}=S[z];rye(G)&&(S[z+1].url=G+","+S[z+1].url,S.splice(z,1))}const A=z=>!EWe(z)&&!rye(z)&&(a.includeAbsolute||wWe(z));if(!S.some(({url:z})=>A(z)))return;if(a.base){const z=a.base,G=[];let te=!1;if(S.forEach(Oe=>{let{url:$e,descriptor:Be}=Oe;Be=Be?` ${Be}`:"",$e[0]==="."?(Oe.url=(OC.posix||OC).join(z,$e),G.push(Oe.url+Be)):A($e)?te=!0:G.push($e+Be)}),!te){u.value.content=G.join(", ");return}}const N=Fh([],u.loc);S.forEach(({url:z,descriptor:G},te)=>{if(A(z)){const{path:$e}=nye(z);let Be;if($e){const Qe=i.imports.findIndex(Ue=>Ue.path===$e);Qe>-1?Be=Na(`_imports_${Qe}`,!1,u.loc,3):(Be=Na(`_imports_${i.imports.length}`,!1,u.loc,3),i.imports.push({exp:Be,path:$e})),N.children.push(Be)}}else{const $e=Na(`"${z}"`,!1,u.loc,3);N.children.push($e)}const Oe=S.length-1>te;G&&Oe?N.children.push(` + ' ${G}, ' + `):G?N.children.push(` + ' ${G}'`):Oe&&N.children.push(" + ', ' + ")});let j=N;i.hoistStatic&&(j=i.hoist(N),j.constType=3),o.props[p]={type:7,name:"bind",arg:Na("srcset",!0,u.loc),exp:j,modifiers:[],loc:u.loc}}})},j1e=Symbol("ssrInterpolate"),DWe=Symbol("ssrRenderVNode"),NWe=Symbol("ssrRenderComponent"),IWe=Symbol("ssrRenderSlot"),OWe=Symbol("ssrRenderSlotInner"),LWe=Symbol("ssrRenderClass"),MWe=Symbol("ssrRenderStyle"),J1e=Symbol("ssrRenderAttrs"),FWe=Symbol("ssrRenderAttr"),RWe=Symbol("ssrRenderDynamicAttr"),BWe=Symbol("ssrRenderList"),jWe=Symbol("ssrIncludeBooleanAttr"),iye=Symbol("ssrLooseEqual"),JWe=Symbol("ssrLooseContain"),UWe=Symbol("ssrRenderDynamicModel"),zWe=Symbol("ssrGetDynamicModelProps"),VWe=Symbol("ssrRenderTeleport"),$We=Symbol("ssrRenderSuspense"),qWe=Symbol("ssrGetDirectiveProps"),sye={[j1e]:"ssrInterpolate",[DWe]:"ssrRenderVNode",[NWe]:"ssrRenderComponent",[IWe]:"ssrRenderSlot",[OWe]:"ssrRenderSlotInner",[LWe]:"ssrRenderClass",[MWe]:"ssrRenderStyle",[J1e]:"ssrRenderAttrs",[FWe]:"ssrRenderAttr",[RWe]:"ssrRenderDynamicAttr",[BWe]:"ssrRenderList",[jWe]:"ssrIncludeBooleanAttr",[iye]:"ssrLooseEqual",[JWe]:"ssrLooseContain",[UWe]:"ssrRenderDynamicModel",[zWe]:"ssrGetDynamicModelProps",[VWe]:"ssrRenderTeleport",[$We]:"ssrRenderSuspense",[qWe]:"ssrGetDirectiveProps"};g0e(sye);const S5t=rB(/^(if|else|else-if)$/,e1e);function x5t(o,i,a=!1){const[u]=o.branches,p=$X(u.condition,pUe(u,i,a));i.pushStatement(p);let y=p;for(let S=1;S<o.branches.length;S++){const A=o.branches[S],N=pUe(A,i,a);A.condition?y=y.alternate=$X(A.condition,N):y.alternate=N}y.alternate||(y.alternate=KR([mc("_push",["`<!---->`"])]))}function pUe(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 tI(o,i,p)}const k5t=rB("for",t1e);function C5t(o,i,a=!1){const u=!a&&(o.children.length!==1||o.children[0].type!==1),p=pv(xR(o.parseResult));p.body=tI(o,i,u),a||i.pushStringPart("<!--[-->"),i.pushStatement(mc(i.helper(BWe),[o.source,p])),a||i.pushStringPart("<!--]-->")}const w5t=(o,i)=>{if(A7(o)){const{slotName:a,slotProps:u}=a1e(o,i),p=["_ctx.$slots",a,u||"{}","null","_push","_parent"];i.scopeId&&i.slotted!==!1&&p.push(`"${i.scopeId}-s"`);let y=IWe;const S=i.parent;S&&S.type===1&&S.tagType===1&&SY(S,i,!0)===K7&&S.children.filter(A=>A.type===1).length===1&&(y=OWe,i.scopeId&&i.slotted!==!1||p.push("null"),p.push("true")),o.ssrCodegenNode=mc(i.helper(y),p)}};function E5t(o,i){const a=o.ssrCodegenNode;if(o.children.length){const u=pv([]);u.body=tI(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 wR(o,i){return Wu(o,i,A5t)}const A5t={[65]:"Unsafe attribute name for SSR.",[66]:"Missing the 'to' prop on teleport element.",[67]:"Invalid AST node during SSR transform."};function P5t(o,i){const a=$0(o,"to");if(!a){i.onError(wR(66,o.loc));return}let u;if(a.type===6?u=a.value&&Na(a.value.content,!0):u=a.exp,!u){i.onError(wR(66,a.loc));return}const p=$0(o,"disabled",!1,!0),y=p?p.type===6?"true":p.exp||"false":"false",S=pv(["_push"],void 0,!0,!1,o.loc);S.body=tI(o,i),i.pushStatement(mc(i.helper(VWe),["_push",S,u,y,"_parent"]))}const WWe=new WeakMap;function D5t(o,i){return()=>{if(o.children.length){const a={slotsExp:null,wipSlots:[]};WWe.set(o,a),a.slotsExp=kR(o,i,(u,p,y)=>{const S=pv([],void 0,!0,!1,y);return a.wipSlots.push({fn:S,children:p}),S}).slots}}}function N5t(o,i){const a=WWe.get(o);if(!a)return;const{slotsExp:u,wipSlots:p}=a;for(let y=0;y<p.length;y++){const S=p[y];S.fn.body=tI(S,i)}i.pushStatement(mc(i.helper($We),["_push",u]))}const wX=new WeakMap,I5t=(o,i)=>{if(!(o.type!==1||o.tagType!==0))return function(){const u=[`<${o.tag}`],p=o.tag==="textarea"||o.tag.indexOf("-")>0,y=fY(o),S=o.props.some(G=>G.type===7&&!c0e(G.name)),A=y||S;if(A){const{props:G,directives:te}=Z7(o,i,o.props,!1,!1,!0);if(G||te.length){const Oe=U1e(G,te,i),$e=mc(i.helper(J1e),[Oe]);if(o.tag==="textarea"){const Be=o.children[0];if(!Be||Be.type!==5){const Qe=`_temp${i.temps++}`;$e.arguments=[Nge(Na(Qe,!1),Oe)],wX.set(o,mc(i.helper(j1e),[k6(Na(`"value" in ${Qe}`,!1),Na(`${Qe}.value`,!1),Na(Be?Be.content:"",!0),!1)]))}}else if(o.tag==="input"){const Be=F5t(o);if(Be){const Qe=`_temp${i.temps++}`,Ue=Na(Qe,!1);$e.arguments=[_$e([Nge(Ue,Oe),mc(i.helper(B3),[Ue,mc(i.helper(zWe),[Ue,Be.exp])])])]}}p&&$e.arguments.push(`"${o.tag}"`),u.push($e)}}let N,j,z;for(let G=0;G<o.props.length;G++){const te=o.props[G];if(!(o.tag==="input"&&O5t(te))){if(te.type===7){if(te.name==="html"&&te.exp)wX.set(o,te.exp);else if(te.name==="text"&&te.exp)o.children=[VX(te.exp,te.loc)];else if(te.name==="slot")i.onError(Wu(40,te.loc));else if(L5t(o,te)&&te.exp)A||(o.children=[VX(te.exp,te.loc)]);else if(!A&&te.name!=="on"){const Oe=i.directiveTransforms[te.name];if(Oe){const{props:$e,ssrTagParts:Be}=Oe(te,o,i);Be&&u.push(...Be);for(let Qe=0;Qe<$e.length;Qe++){const{key:Ue,value:yt}=$e[Qe];if(Bh(Ue)){let ot=Ue.content;if(ot==="key"||ot==="ref")continue;ot==="class"?u.push(' class="',N=mc(i.helper(LWe),[yt]),'"'):ot==="style"?z?dUe(z,yt):u.push(' style="',z=mc(i.helper(MWe),[yt]),'"'):(ot=o.tag.indexOf("-")>0?ot:$3t[ot]||ot.toLowerCase(),a$e(ot)?u.push(k6(mc(i.helper(jWe),[yt]),Na(" "+ot,!0),Na("",!0),!1)):V3t(ot)?u.push(mc(i.helper(FWe),[Ue,yt])):i.onError(wR(65,Ue.loc)))}else{const ot=[Ue,yt];p&&ot.push(`"${o.tag}"`),u.push(mc(i.helper(RWe),ot))}}}}}else if(o.tag==="textarea"&&te.name==="value"&&te.value)wX.set(o,ox(te.value.content));else if(!A){if(te.name==="key"||te.name==="ref")continue;te.name==="class"&&te.value&&(j=JSON.stringify(te.value.content)),u.push(` ${te.name}`+(te.value?`="${ox(te.value.content)}"`:""))}}}N&&j&&(dUe(N,j),M5t(u,"class")),i.scopeId&&u.push(` ${i.scopeId}`),o.ssrCodegenNode=y0e(u)}};function U1e(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(mc(a.helper(qWe),["_ctx",...s1e(p,a).elements]));return u.length>1?mc(a.helper(B3),u):u[0]}function O5t(o){return o.type===7?o.name==="bind"&&o.arg&&Bh(o.arg)&&(o.arg.content==="true-value"||o.arg.content==="false-value"):o.name==="true-value"||o.name==="false-value"}function L5t(o,i){return!!(o.tag==="textarea"&&i.name==="bind"&&xC(i.arg,"value"))}function dUe(o,i){const a=o.arguments[0];a.type===17?a.elements.push(i):o.arguments[0]=q3([a,i])}function M5t(o,i){const a=new RegExp(`^ ${i}=".+"$`),u=o.findIndex(p=>typeof p=="string"&&a.test(p));u>-1&&o.splice(u,1)}function F5t(o){return o.props.find(i=>i.type===7&&i.name==="model"&&i.exp)}function R5t(o,i){const a=i.options.isVoidTag||hX,u=o.ssrCodegenNode.elements;for(let y=0;y<u.length;y++)i.pushStringPart(u[y]);i.withSlotScopeId&&i.pushStringPart(Na("_scopeId",!1)),i.pushStringPart(">");const p=wX.get(o);p?i.pushStringPart(p):o.children.length&&O3(o,i),a(o.tag)||i.pushStringPart(`</${o.tag}>`)}const HWe=new WeakMap;function B5t(o,i){return()=>{const a=$0(o,"tag");if(a){const u=o.props.filter(A=>A!==a),{props:p,directives:y}=Z7(o,i,u,!0,!1,!0);let S=null;(p||y.length)&&(S=mc(i.helper(J1e),[U1e(p,y,i)])),HWe.set(o,{tag:a,propsExp:S})}}}function j5t(o,i){const a=HWe.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(">"),O3(o,i,!1,!0),i.pushStringPart("</"),i.pushStringPart(u.exp),i.pushStringPart(">")):(i.pushStringPart(`<${u.value.content}`),p&&i.pushStringPart(p),i.pushStringPart(">"),O3(o,i,!1,!0),i.pushStringPart(`</${u.value.content}>`))}else O3(o,i,!0,!0)}var J5t=Object.defineProperty,U5t=Object.defineProperties,z5t=Object.getOwnPropertyDescriptors,mUe=Object.getOwnPropertySymbols,V5t=Object.prototype.hasOwnProperty,$5t=Object.prototype.propertyIsEnumerable,hUe=(o,i,a)=>i in o?J5t(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,I3=(o,i)=>{for(var a in i||(i={}))V5t.call(i,a)&&hUe(o,a,i[a]);if(mUe)for(var a of mUe(i))$5t.call(i,a)&&hUe(o,a,i[a]);return o},q5t=(o,i)=>U5t(o,z5t(i));const GWe=new WeakMap,XWe=Symbol(),QWe=new WeakMap,W5t=(o,i)=>{if(o.type!==1||o.tagType!==1)return;const a=SY(o,i,!0),u=BC(a)&&a.callee===S7;if(QWe.set(o,a),U7(a))return a===z7?D5t(o,i):a===sB?B5t(o,i):void 0;const p=[],y=aye(o);return function(){y.children.length&&kR(y,i,(G,te)=>(p.push(Z5t(G,te,i)),pv(void 0)));let A="null";if(o.props.length){const{props:G,directives:te}=Z7(o,i,void 0,!0,u);(G||te.length)&&(A=U1e(G,te,i))}const N=[];GWe.set(o,N);const j=(G,te,Oe)=>{const $e=G&&TY(G)||"_",Be=pv([$e,"_push","_parent","_scopeId"],void 0,!0,!0,Oe);return N.push({type:XWe,fn:Be,children:te,vnodeBranch:p[N.length]}),Be},z=o.children.length?kR(o,i,j).slots:"null";typeof a!="string"?o.ssrCodegenNode=mc(i.helper(DWe),["_push",mc(i.helper(YR),[a,A,z]),"_parent"]):o.ssrCodegenNode=mc(i.helper(NWe),[a,A,z,"_parent"])}};function H5t(o,i,a){const u=QWe.get(o);if(o.ssrCodegenNode){const p=GWe.get(o)||[];for(let y=0;y<p.length;y++){const{fn:S,vnodeBranch:A}=p[y];S.body=$X(Na("_push",!1),tI(p[y],i,!1,!0),A)}i.withSlotScopeId&&o.ssrCodegenNode.arguments.push("_scopeId"),typeof u=="string"?i.pushStatement(mc("_push",[o.ssrCodegenNode])):i.pushStatement(o.ssrCodegenNode)}else{if(u===E3)return P5t(o,i);if(u===z7)return N5t(o,i);if(u===sB)return j5t(o,i);a.type===XWe&&i.pushStringPart(""),u===K7&&(o.children=o.children.filter(p=>p.type!==3)),O3(o,i)}}const YWe=new WeakMap,[G5t,X5t]=c1e(!0),Q5t=[...G5t,...y1e],Y5t=I3(I3({},X5t),v1e);function Z5t(o,i,a){const u=YWe.get(a.root),p=q5t(I3({},u),{nodeTransforms:[...Q5t,...u.nodeTransforms||[]],directiveTransforms:I3(I3({},Y5t),u.directiveTransforms||{})});return K5t({type:1,ns:0,tag:"template",tagType:3,isSelfClosing:!1,props:[{type:7,name:"slot",exp:o,arg:void 0,modifiers:[],loc:Tp}],children:i,loc:Tp,codegenNode:void 0},p,a),p$e(i)}function K5t(o,i,a){const u=q7([o]),p=tB(u,i);p.ssr=!1,p.scopes=I3({},a.scopes),p.identifiers=I3({},a.identifiers),p.imports=a.imports,W7(u,p),["helpers","components","directives"].forEach(y=>{p[y].forEach((S,A)=>{if(y==="helpers"){const N=a.helpers.get(A);N===void 0?a.helpers.set(A,S):a.helpers.set(A,S+N)}else a[y].add(S)})})}function aye(o){if(jy(o))return o.map(aye);if(BC(o)){const i={};for(const a in o)i[a]=aye(o[a]);return i}else return o}function eOt(o,i){const a=ZWe(o,i);if(i.ssrCssVars){const p=tB(q7([]),i),y=Ry(Na(i.ssrCssVars,!1),p);a.body.push(Fh(["const _cssVars = { style: ",y,"}"])),Array.from(p.helpers.keys()).forEach(S=>{o.helpers.add(S)})}const u=o.children.length>1&&o.children.some(p=>!YF(p));O3(o,a,u),o.codegenNode=KR(a.body),o.ssrHelpers=Array.from(new Set([...Array.from(o.helpers).filter(p=>p in sye),...a.helpers])),o.helpers=new Set(Array.from(o.helpers).filter(p=>!(p in sye)))}function ZWe(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||(S=>{throw S}),helper(S){return a.add(S),S},pushStringPart(S){if(!y){const j=mc("_push");p.push(j),y=y0e([]),j.arguments.push(y)}const A=y.elements,N=A[A.length-1];fu(S)&&fu(N)?A[A.length-1]+=S:A.push(S)},pushStatement(S){y=null,p.push(S)}}}function tOt(o,i=o.withSlotScopeId){return ZWe(o.root,o.options,o.helpers,i)}function O3(o,i,a=!1,u=!1){a&&i.pushStringPart("<!--[-->");const{children:p}=o;for(let y=0;y<p.length;y++){const S=p[y];switch(S.type){case 1:switch(S.tagType){case 0:R5t(S,i);break;case 1:H5t(S,i,o);break;case 2:E5t(S,i);break;case 3:break;default:return i.onError(wR(67,S.loc)),S}break;case 2:i.pushStringPart(ox(S.content));break;case 3:i.pushStringPart(`<!--${S.content}-->`);break;case 5:i.pushStringPart(mc(i.helper(j1e),[S.content]));break;case 9:x5t(S,i,u);break;case 11:C5t(S,i,u);break;case 10:break;case 12:case 8:break;default:return i.onError(wR(67,S.loc)),S}}a&&i.pushStringPart("<!--]-->")}function tI(o,i,a=!1,u=i.withSlotScopeId){const p=tOt(i,u);return O3(o,p,a),KR(p.body)}const rOt=(o,i,a)=>{const u=o.exp;function p(){const y=$0(i,"value");y&&a.onError(jg(60,y.loc))}if(i.tagType===0){const y={props:[]},S=[vf("value",u)];if(i.tag==="input"){const A=$0(i,"type");if(A){const N=nOt(i);if(A.type===7)y.ssrTagParts=[mc(a.helper(UWe),[A.exp,u,N])];else if(A.value)switch(A.value.content){case"radio":y.props=[vf("checked",mc(a.helper(iye),[u,N]))];break;case"checkbox":const j=$0(i,"true-value");if(j){const z=j.type===6?JSON.stringify(j.value.content):j.exp;y.props=[vf("checked",mc(a.helper(iye),[u,z]))]}else y.props=[vf("checked",k6(mc("Array.isArray",[u]),mc(a.helper(JWe),[u,N]),u))];break;case"file":a.onError(jg(59,o.loc));break;default:p(),y.props=S;break}}else fY(i)||(p(),y.props=S)}else i.tag==="textarea"?(p(),i.children=[VX(u,u.loc)]):i.tag==="select"||a.onError(jg(57,o.loc));return y}else return kY(o,i,a)};function nOt(o){const i=$0(o,"value");return i?i.type===7?i.exp:Na(i.value.content,!0):Na("null",!1)}const iOt=(o,i,a)=>(o.exp||a.onError(jg(61)),{props:[vf("style",k6(o.exp,Na("null",!1),V0([vf("display",Na("none",!0))]),!1))]}),oye=o=>o.children.filter(i=>i.type!==3),tge=o=>oye(o).length===1,sOt=(o,i)=>{if(o.type===0&&(i.identifiers._attrs=1),o.type===1&&o.tagType===1&&(lT(o.tag,"Transition")||lT(o.tag,"KeepAlive"))){const u=oye(i.root);if(u.length===1&&u[0]===o){tge(o)&&rge(o.children[0]);return}}const a=i.parent;if(!(!a||a.type!==0))if(o.type===10&&tge(o)){let u=!1;for(const p of oye(a))if(p.type===9||p.type===1&&sh(p,"if")){if(u)return;u=!0}else if(!u||!(p.type===1&&sh(p,/else/,!0)))return;rge(o.children[0])}else tge(a)&&rge(o)};function rge(o){o.type===1&&(o.tagType===0||o.tagType===1)&&!sh(o,"for")&&o.props.push({type:7,name:"bind",arg:void 0,exp:Na("_attrs",!1),modifiers:[],loc:Tp})}const aOt=(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)_Q(u);else _Q(o)};function _Q(o){if(o.type===1&&(o.tagType===0||o.tagType===1)&&!sh(o,"for"))if(lT(o.tag,"Suspense"))for(const i of o.children)i.type===1&&i.tagType===3?i.children.forEach(_Q):_Q(i);else o.props.push({type:7,name:"bind",arg:void 0,exp:Na("_cssVars",!1),modifiers:[],loc:Tp})}var oOt=Object.defineProperty,cOt=Object.defineProperties,lOt=Object.getOwnPropertyDescriptors,gUe=Object.getOwnPropertySymbols,uOt=Object.prototype.hasOwnProperty,fOt=Object.prototype.propertyIsEnumerable,yUe=(o,i,a)=>i in o?oOt(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,tX=(o,i)=>{for(var a in i||(i={}))uOt.call(i,a)&&yUe(o,a,i[a]);if(gUe)for(var a of gUe(i))fOt.call(i,a)&&yUe(o,a,i[a]);return o},vUe=(o,i)=>cOt(o,lOt(i));function _Ot(o,i={}){i=vUe(tX(tX({},i),D7),{ssr:!0,inSSR:!0,scopeId:i.mode==="function"?null:i.scopeId,prefixIdentifiers:!0,cacheHandlers:!1,hoistStatic:!1});const a=_Y(o,i);return YWe.set(a,i),dY(a,vUe(tX({},i),{hoistStatic:!1,nodeTransforms:[S5t,k5t,i1e,K0e,w5t,sOt,aOt,I5t,W5t,n1e,h1e,...i.nodeTransforms||[]],directiveTransforms:tX({bind:o1e,on:xY,model:rOt,show:iOt,cloak:KF,once:KF,memo:KF},i.directiveTransforms||{})})),eOt(a,i),Y0e(a,i)}var pOt=Object.freeze({__proto__:null,compile:_Ot}),dOt={},mOt=Object.freeze({__proto__:null,default:dOt}),hOt=eB(mOt),z1e=eB(qNt),gOt=eB(WIt);const bUe={};function L3(o){!(typeof process<"u"&&!0)&&!bUe[o]&&(bUe[o]=!0,cye(o))}function cye(o){console.warn(`\x1B[1m\x1B[33m[@vue/compiler-sfc]\x1B[0m\x1B[33m ${o}\x1B[0m
`)}var yOt=Object.defineProperty,vOt=Object.defineProperties,bOt=Object.getOwnPropertyDescriptors,TUe=Object.getOwnPropertySymbols,TOt=Object.prototype.hasOwnProperty,SOt=Object.prototype.propertyIsEnumerable,SUe=(o,i,a)=>i in o?yOt(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,V1e=(o,i)=>{for(var a in i||(i={}))TOt.call(i,a)&&SUe(o,a,i[a]);if(TUe)for(var a of TUe(i))SOt.call(i,a)&&SUe(o,a,i[a]);return o},KWe=(o,i)=>vOt(o,bOt(i));function xOt({source:o,filename:i,preprocessOptions:a},u){let p="",y=null;if(u.render(o,V1e({filename:i},a),(S,A)=>{S&&(y=S),p=A}),y)throw y;return p}function $1e(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 xUe(KWe(V1e({},o),{source:xOt(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.`]}:xUe(o)}function xUe({filename:o,id:i,scoped:a,slotted:u,inMap:p,source:y,ssr:S=!1,ssrCssVars:A,isProd:N=!1,compiler:j=S?pOt:Tqe,compilerOptions:z={},transformAssetUrls:G}){const te=[],Oe=[];let $e=[];if(BC(G)){const ir=h5t(G);$e=[g5t(ir),T5t(ir)]}else G!==!1&&($e=[AWe,PWe]);S&&!A&&L3("compileTemplate is called with `ssr: true` but no corresponding `cssVars` option.`."),i||(L3("compileTemplate now requires the `id` option.`."),i="");const Be=i.replace(/^data-v-/,""),Qe=`data-v-${Be}`;let{code:Ue,ast:yt,preamble:ot,map:Ve}=j.compile(y,KWe(V1e({mode:"module",prefixIdentifiers:!0,hoistStatic:!0,cacheHandlers:!0,ssrCssVars:S&&A&&A.length?Oqe(A,Be,N,!0):"",scopeId:a?Qe:void 0,slotted:u,sourceMap:!0},z),{nodeTransforms:$e.concat(z.nodeTransforms||[]),filename:o,onError:ir=>te.push(ir),onWarn:ir=>Oe.push(ir)}));p&&(Ve&&(Ve=kOt(p,Ve)),te.length&&COt(te,y,p));const Ft=Oe.map(ir=>{let kr=ir.message;return ir.loc&&(kr+=`
${R3(y,ir.loc.start.offset,ir.loc.end.offset)}`),kr});return{code:Ue,ast:yt,preamble:ot,source:y,errors:te,tips:Ft,map:Ve}}function kOt(o,i){if(!o)return i;if(!i)return o;const a=new OJe(o),u=new OJe(i),p=new Q0e;u.eachMapping(S=>{if(S.originalLine==null)return;const A=a.originalPositionFor({line:S.originalLine,column:S.originalColumn});A.source!=null&&p.addMapping({generated:{line:S.generatedLine,column:S.generatedColumn},original:{line:A.line,column:S.originalColumn},source:A.source,name:A.name})});const y=p;return a.sources.forEach(S=>{y._sources.add(S);const A=a.sourceContentFor(S);A!=null&&p.setSourceContent(S,A)}),y._sourceRoot=o.sourceRoot,y._file=o.file,y.toJSON()}function COt(o,i,a){const u=a.sourcesContent[0],p=u.indexOf(i),y=u.slice(0,p).split(/\r?\n/).length-1;o.forEach(S=>{S.loc&&(S.loc.start.line+=y,S.loc.start.offset+=p,S.loc.end!==S.loc.start&&(S.loc.end.line+=y,S.loc.end.offset+=p))})}var ER={},wOt={get exports(){return ER},set exports(o){ER=o}};function eHe(){return!1}function tHe(){throw new Error("tty.ReadStream is not implemented")}function rHe(){throw new Error("tty.ReadStream is not implemented")}var EOt={isatty:eHe,ReadStream:tHe,WriteStream:rHe},AOt=Object.freeze({__proto__:null,ReadStream:tHe,WriteStream:rHe,default:EOt,isatty:eHe}),POt=eB(AOt);let DOt=POt,NOt=!("NO_COLOR"in{}||Jg.argv.includes("--no-color"))&&("FORCE_COLOR"in{}||Jg.argv.includes("--color")||!1||DOt.isatty(1)&&Jg.env.TERM!=="dumb"||"CI"in{}),yp=(o,i,a=o)=>u=>{let p=""+u,y=p.indexOf(i,o.length);return~y?o+nHe(p,i,a,y)+i:o+p+i},nHe=(o,i,a,u)=>{let p=o.substring(0,u)+a,y=o.substring(u+i.length),S=y.indexOf(i);return~S?p+nHe(y,i,a,S):p+y},iHe=(o=NOt)=>({isColorSupported:o,reset:o?i=>`\x1B[0m${i}\x1B[0m`:String,bold:o?yp("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"):String,dim:o?yp("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"):String,italic:o?yp("\x1B[3m","\x1B[23m"):String,underline:o?yp("\x1B[4m","\x1B[24m"):String,inverse:o?yp("\x1B[7m","\x1B[27m"):String,hidden:o?yp("\x1B[8m","\x1B[28m"):String,strikethrough:o?yp("\x1B[9m","\x1B[29m"):String,black:o?yp("\x1B[30m","\x1B[39m"):String,red:o?yp("\x1B[31m","\x1B[39m"):String,green:o?yp("\x1B[32m","\x1B[39m"):String,yellow:o?yp("\x1B[33m","\x1B[39m"):String,blue:o?yp("\x1B[34m","\x1B[39m"):String,magenta:o?yp("\x1B[35m","\x1B[39m"):String,cyan:o?yp("\x1B[36m","\x1B[39m"):String,white:o?yp("\x1B[37m","\x1B[39m"):String,gray:o?yp("\x1B[90m","\x1B[39m"):String,bgBlack:o?yp("\x1B[40m","\x1B[49m"):String,bgRed:o?yp("\x1B[41m","\x1B[49m"):String,bgGreen:o?yp("\x1B[42m","\x1B[49m"):String,bgYellow:o?yp("\x1B[43m","\x1B[49m"):String,bgBlue:o?yp("\x1B[44m","\x1B[49m"):String,bgMagenta:o?yp("\x1B[45m","\x1B[49m"):String,bgCyan:o?yp("\x1B[46m","\x1B[49m"):String,bgWhite:o?yp("\x1B[47m","\x1B[49m"):String});wOt.exports=iHe();ER.createColors=iHe;const nge="'".charCodeAt(0),kUe='"'.charCodeAt(0),rX="\\".charCodeAt(0),CUe="/".charCodeAt(0),nX=`
`.charCodeAt(0),PF=" ".charCodeAt(0),iX="\f".charCodeAt(0),sX=" ".charCodeAt(0),aX="\r".charCodeAt(0),IOt="[".charCodeAt(0),OOt="]".charCodeAt(0),LOt="(".charCodeAt(0),MOt=")".charCodeAt(0),FOt="{".charCodeAt(0),ROt="}".charCodeAt(0),BOt=";".charCodeAt(0),jOt="*".charCodeAt(0),JOt=":".charCodeAt(0),UOt="@".charCodeAt(0),oX=/[\t\n\f\r "#'()/;[\\\]{}]/g,cX=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,zOt=/.[\n"'(/\\]/,wUe=/[\da-f]/i;var sHe=function(i,a={}){let u=i.css.valueOf(),p=a.ignoreErrors,y,S,A,N,j,z,G,te,Oe,$e,Be=u.length,Qe=0,Ue=[],yt=[];function ot(){return Qe}function Ve(Ot){throw i.error("Unclosed "+Ot,Qe)}function Ft(){return yt.length===0&&Qe>=Be}function ir(Ot){if(yt.length)return yt.pop();if(Qe>=Be)return;let kt=Ot?Ot.ignoreUnclosed:!1;switch(y=u.charCodeAt(Qe),y){case nX:case PF:case sX:case aX:case iX:{S=Qe;do S+=1,y=u.charCodeAt(S);while(y===PF||y===nX||y===sX||y===aX||y===iX);$e=["space",u.slice(Qe,S)],Qe=S-1;break}case IOt:case OOt:case FOt:case ROt:case JOt:case BOt:case MOt:{let Wt=String.fromCharCode(y);$e=[Wt,Wt,Qe];break}case LOt:{if(te=Ue.length?Ue.pop()[1]:"",Oe=u.charCodeAt(Qe+1),te==="url"&&Oe!==nge&&Oe!==kUe&&Oe!==PF&&Oe!==nX&&Oe!==sX&&Oe!==iX&&Oe!==aX){S=Qe;do{if(z=!1,S=u.indexOf(")",S+1),S===-1)if(p||kt){S=Qe;break}else Ve("bracket");for(G=S;u.charCodeAt(G-1)===rX;)G-=1,z=!z}while(z);$e=["brackets",u.slice(Qe,S+1),Qe,S],Qe=S}else S=u.indexOf(")",Qe+1),N=u.slice(Qe,S+1),S===-1||zOt.test(N)?$e=["(","(",Qe]:($e=["brackets",N,Qe,S],Qe=S);break}case nge:case kUe:{A=y===nge?"'":'"',S=Qe;do{if(z=!1,S=u.indexOf(A,S+1),S===-1)if(p||kt){S=Qe+1;break}else Ve("string");for(G=S;u.charCodeAt(G-1)===rX;)G-=1,z=!z}while(z);$e=["string",u.slice(Qe,S+1),Qe,S],Qe=S;break}case UOt:{oX.lastIndex=Qe+1,oX.test(u),oX.lastIndex===0?S=u.length-1:S=oX.lastIndex-2,$e=["at-word",u.slice(Qe,S+1),Qe,S],Qe=S;break}case rX:{for(S=Qe,j=!0;u.charCodeAt(S+1)===rX;)S+=1,j=!j;if(y=u.charCodeAt(S+1),j&&y!==CUe&&y!==PF&&y!==nX&&y!==sX&&y!==aX&&y!==iX&&(S+=1,wUe.test(u.charAt(S)))){for(;wUe.test(u.charAt(S+1));)S+=1;u.charCodeAt(S+1)===PF&&(S+=1)}$e=["word",u.slice(Qe,S+1),Qe,S],Qe=S;break}default:{y===CUe&&u.charCodeAt(Qe+1)===jOt?(S=u.indexOf("*/",Qe+2)+1,S===0&&(p||kt?S=u.length:Ve("comment")),$e=["comment",u.slice(Qe,S+1),Qe,S],Qe=S):(cX.lastIndex=Qe+1,cX.test(u),cX.lastIndex===0?S=u.length-1:S=cX.lastIndex-2,$e=["word",u.slice(Qe,S+1),Qe,S],Ue.push($e),Qe=S);break}}return Qe++,$e}function kr(Ot){yt.push(Ot)}return{back:kr,nextToken:ir,endOfFile:Ft,position:ot}};let Iy=ER,VOt=sHe,aHe;function $Ot(o){aHe=o}const qOt={brackets:Iy.cyan,"at-word":Iy.cyan,comment:Iy.gray,string:Iy.green,class:Iy.yellow,hash:Iy.magenta,call:Iy.cyan,"(":Iy.cyan,")":Iy.cyan,"{":Iy.yellow,"}":Iy.yellow,"[":Iy.yellow,"]":Iy.yellow,":":Iy.yellow,";":Iy.yellow};function WOt([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 oHe(o){let i=VOt(new aHe(o),{ignoreErrors:!0}),a="";for(;!i.endOfFile();){let u=i.nextToken(),p=qOt[WOt(u,i)];p?a+=u[1].split(/\r?\n/).map(y=>p(y)).join(`
`):a+=u[1]}return a}oHe.registerInput=$Ot;var cHe=oHe;let EUe=ER,AUe=cHe,lye=class lHe extends Error{constructor(i,a,u,p,y,S){super(i),this.name="CssSyntaxError",this.reason=i,y&&(this.file=y),p&&(this.source=p),S&&(this.plugin=S),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,lHe)}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=EUe.isColorSupported),AUe&&i&&(a=AUe(a));let u=a.split(/\r?\n/),p=Math.max(this.line-3,0),y=Math.min(this.line+2,u.length),S=String(y).length,A,N;if(i){let{bold:j,red:z,gray:G}=EUe.createColors(!0);A=te=>j(z(te)),N=te=>G(te)}else A=N=j=>j;return u.slice(p,y).map((j,z)=>{let G=p+1+z,te=" "+(" "+G).slice(-S)+" | ";if(G===this.line){let Oe=N(te.replace(/\d/g," "))+j.slice(0,this.column-1).replace(/[^\t]/g," ");return A(">")+N(te)+j+`
`+Oe+A("^")}return" "+N(te)+j}).join(`
`)}toString(){let i=this.showSourceCode();return i&&(i=`
`+i+`
`),this.name+": "+this.message+i}};var q1e=lye;lye.default=lye;var aB={};aB.isClean=Symbol("isClean");aB.my=Symbol("my");const PUe={colon:": ",indent:" ",beforeDecl:`
`,beforeRule:`
`,beforeOpen:" ",beforeClose:`
`,beforeComment:`
`,after:`
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function HOt(o){return o[0].toUpperCase()+o.slice(1)}let uye=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],S=this.raw(y,"before");S&&this.builder(S),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 PUe[u];let S=i.root();if(S.rawCache||(S.rawCache={}),typeof S.rawCache[u]<"u")return S.rawCache[u];if(u==="before"||u==="after")return this.beforeAfter(i,u);{let A="raw"+HOt(u);this[A]?p=this[A](S,i):S.walk(N=>{if(p=N.raws[a],typeof p<"u")return!1})}return typeof p>"u"&&(p=PUe[u]),S.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 S=this.raw(i,null,"indent");if(S.length)for(let A=0;A<y;A++)u+=S}return u}rawValue(i,a){let u=i[a],p=i.raws[a];return p&&p.value===u?p.raw:u}};var uHe=uye;uye.default=uye;let GOt=uHe;function fye(o,i){new GOt(i).stringify(o)}var IY=fye;fye.default=fye;let{isClean:lX,my:XOt}=aB,QOt=q1e,YOt=uHe,ZOt=IY;function _ye(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(S=>_ye(S,a)):(y==="object"&&p!==null&&(p=_ye(p)),a[u]=p)}return a}let pye=class{constructor(i={}){this.raws={},this[lX]=!1,this[XOt]=!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 QOt(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=ZOt){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=_ye(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 YOt().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 S in this){if(!Object.prototype.hasOwnProperty.call(this,S)||S==="parent"||S==="proxyCache")continue;let A=this[S];if(Array.isArray(A))u[S]=A.map(N=>typeof N=="object"&&N.toJSON?N.toJSON(null,a):N);else if(typeof A=="object"&&A.toJSON)u[S]=A.toJSON(null,a);else if(S==="source"){let N=a.get(A.input);N==null&&(N=y,a.set(A.input,y),y++),u[S]={inputId:N,start:A.start,end:A.end}}else u[S]=A}return p&&(u.inputs=[...a.keys()].map(S=>S.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[lX]){this[lX]=!1;let i=this;for(;i=i.parent;)i[lX]=!1}}get proxyOf(){return this}};var OY=pye;pye.default=pye;let KOt=OY,dye=class extends KOt{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 LY=dye;dye.default=dye;var fHe=eB(a5t);let e9t="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",t9t=(o,i=21)=>(a=i)=>{let u="",p=a;for(;p--;)u+=o[Math.random()*o.length|0];return u},r9t=(o=21)=>{let i="",a=o;for(;a--;)i+=e9t[Math.random()*64|0];return i};var n9t={nanoid:r9t,customAlphabet:t9t};let{SourceMapConsumer:DUe,SourceMapGenerator:NUe}=H7,{existsSync:i9t,readFileSync:s9t}=hOt,{dirname:ige,join:a9t}=z1e;function o9t(o){return os?os.from(o,"base64").toString():window.atob(o)}let mye=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=ige(this.mapFile)),p&&(this.text=p)}consumer(){return this.consumerCache||(this.consumerCache=new DUe(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 o9t(i.substr(RegExp.lastMatch.length));let S=i.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+S)}loadFile(i){if(this.root=ige(i),i9t(i))return this.mapFile=i,s9t(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 DUe)return NUe.fromSourceMap(a).toString();if(a instanceof NUe)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=a9t(ige(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 _He=mye;mye.default=mye;let{SourceMapConsumer:c9t,SourceMapGenerator:l9t}=H7,{fileURLToPath:IUe,pathToFileURL:uX}=fHe,{resolve:hye,isAbsolute:gye}=z1e,{nanoid:u9t}=n9t,sge=cHe,OUe=q1e,f9t=_He,age=Symbol("fromOffsetCache"),_9t=Boolean(c9t&&l9t),LUe=Boolean(hye&&gye),pQ=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&&(!LUe||/^\w+:\/\//.test(a.from)||gye(a.from)?this.file=a.from:this.file=hye(a.from)),LUe&&_9t){let u=new f9t(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 "+u9t(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(i){let a,u;if(this[age])u=this[age];else{let y=this.css.split(`
`);u=new Array(y.length);let S=0;for(let A=0,N=y.length;A<N;A++)u[A]=S,S+=y[A].length+1;this[age]=u}a=u[u.length-1];let p=0;if(i>=a)p=u.length-1;else{let y=u.length-2,S;for(;p<y;)if(S=p+(y-p>>1),i<u[S])y=S-1;else if(i>=u[S+1])p=S+1;else{p=S;break}}return{line:p+1,col:i-u[p]+1}}error(i,a,u,p={}){let y,S,A;if(a&&typeof a=="object"){let j=a,z=u;if(typeof j.offset=="number"){let G=this.fromOffset(j.offset);a=G.line,u=G.col}else a=j.line,u=j.column;if(typeof z.offset=="number"){let G=this.fromOffset(z.offset);S=G.line,A=G.col}else S=z.line,A=z.column}else if(!u){let j=this.fromOffset(a);a=j.line,u=j.col}let N=this.origin(a,u,S,A);return N?y=new OUe(i,N.endLine===void 0?N.line:{line:N.line,column:N.column},N.endLine===void 0?N.column:{line:N.endLine,column:N.endColumn},N.source,N.file,p.plugin):y=new OUe(i,S===void 0?a:{line:a,column:u},S===void 0?u:{line:S,column:A},this.css,this.file,p.plugin),y.input={line:a,column:u,endLine:S,endColumn:A,source:this.css},this.file&&(uX&&(y.input.url=uX(this.file).toString()),y.input.file=this.file),y}origin(i,a,u,p){if(!this.map)return!1;let y=this.map.consumer(),S=y.originalPositionFor({line:i,column:a});if(!S.source)return!1;let A;typeof u=="number"&&(A=y.originalPositionFor({line:u,column:p}));let N;gye(S.source)?N=uX(S.source):N=new URL(S.source,this.map.consumer().sourceRoot||uX(this.map.mapFile));let j={url:N.toString(),line:S.line,column:S.column,endLine:A&&A.line,endColumn:A&&A.column};if(N.protocol==="file:")if(IUe)j.file=IUe(N);else throw new Error("file: protocol is not available in this PostCSS build");let z=y.sourceContentFor(S.source);return z&&(j.source=z),j}mapResolve(i){return/^\w+:\/\//.test(i)?i:hye(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 MY=pQ;pQ.default=pQ;sge&&sge.registerInput&&sge.registerInput(pQ);let{SourceMapConsumer:pHe,SourceMapGenerator:EX}=H7,{dirname:AX,resolve:dHe,relative:mHe,sep:hHe}=z1e,{pathToFileURL:MUe}=fHe,p9t=MY,d9t=Boolean(pHe&&EX),m9t=Boolean(AX&&dHe&&mHe&&hHe),h9t=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 p9t(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||AX(i.file),p;this.mapOpts.sourcesContent===!1?(p=new pHe(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 os?os.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=EX.fromSourceMap(i)}else this.map=new EX({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?AX(this.opts.to):".";return typeof this.mapOpts.annotation=="string"&&(a=AX(dHe(a,this.mapOpts.annotation))),i=mHe(a,i),i}toUrl(i){return hHe==="\\"&&(i=i.replace(/\\/g,"/")),encodeURI(i).replace(/[#?]/g,encodeURIComponent)}toFileUrl(i){if(MUe)return MUe(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 EX({file:this.outputFile()});let i=1,a=1,u="<no source>",p={source:"",generated:{line:0,column:0},original:{line:0,column:0}},y,S;this.stringify(this.root,(A,N,j)=>{if(this.css+=A,N&&j!=="end"&&(p.generated.line=i,p.generated.column=a-1,N.source&&N.source.start?(p.source=this.sourcePath(N),p.original.line=N.source.start.line,p.original.column=N.source.start.column-1,this.map.addMapping(p)):(p.source=u,p.original.line=1,p.original.column=0,this.map.addMapping(p))),y=A.match(/\n/g),y?(i+=y.length,S=A.lastIndexOf(`
`),a=A.length-S):a+=A.length,N&&j!=="start"){let z=N.parent||{raws:{}};(!(N.type==="decl"||N.type==="atrule"&&!N.nodes)||N!==z.last||z.raws.semicolon)&&(N.source&&N.source.end?(p.source=this.sourcePath(N),p.original.line=N.source.end.line,p.original.column=N.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(),m9t&&d9t&&this.isMap())return this.generateMap();{let i="";return this.stringify(this.root,a=>{i+=a}),[i]}}};var gHe=h9t;let g9t=OY,yye=class extends g9t{constructor(i){super(i),this.type="comment"}};var FY=yye;yye.default=yye;let{isClean:yHe,my:vHe}=aB,bHe=LY,THe=FY,y9t=OY,SHe,W1e,H1e,xHe;function kHe(o){return o.map(i=>(i.nodes&&(i.nodes=kHe(i.nodes)),delete i.source,i))}function CHe(o){if(o[yHe]=!1,o.proxyOf.nodes)for(let i of o.proxyOf.nodes)CHe(i)}let LC=class wHe extends y9t{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 A of y)this.proxyOf.nodes.splice(u,0,A);let S;for(let A in this.indexes)S=this.indexes[A],u<=S&&(this.indexes[A]=S+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 S of p)this.proxyOf.nodes.splice(u+1,0,S);let y;for(let S in this.indexes)y=this.indexes[S],u<y&&(this.indexes[S]=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=kHe(SHe(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 bHe(i)]}else if(i.selector)i=[new W1e(i)];else if(i.name)i=[new H1e(i)];else if(i.text)i=[new THe(i)];else throw new Error("Unknown node type in node creation");return i.map(p=>(p[vHe]||wHe.rebuild(p),p=p.proxyOf,p.parent&&p.parent.removeChild(p),p[yHe]&&CHe(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,S)=>p(y.toProxy(),S):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}};LC.registerParse=o=>{SHe=o};LC.registerRule=o=>{W1e=o};LC.registerAtRule=o=>{H1e=o};LC.registerRoot=o=>{xHe=o};var X3=LC;LC.default=LC;LC.rebuild=o=>{o.type==="atrule"?Object.setPrototypeOf(o,H1e.prototype):o.type==="rule"?Object.setPrototypeOf(o,W1e.prototype):o.type==="decl"?Object.setPrototypeOf(o,bHe.prototype):o.type==="comment"?Object.setPrototypeOf(o,THe.prototype):o.type==="root"&&Object.setPrototypeOf(o,xHe.prototype),o[vHe]=!0,o.nodes&&o.nodes.forEach(i=>{LC.rebuild(i)})};let v9t=X3,EHe,AHe,AR=class extends v9t{constructor(i){super({type:"document",...i}),this.nodes||(this.nodes=[])}toResult(i={}){return new EHe(new AHe,this,i).stringify()}};AR.registerLazyResult=o=>{EHe=o};AR.registerProcessor=o=>{AHe=o};var G1e=AR;AR.default=AR;let FUe={};var PHe=function(i){FUe[i]||(FUe[i]=!0,typeof console<"u"&&console.warn&&console.warn(i))};let vye=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 DHe=vye;vye.default=vye;let b9t=DHe,bye=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 b9t(i,a);return this.messages.push(u),u}warnings(){return this.messages.filter(i=>i.type==="warning")}get content(){return this.css}};var X1e=bye;bye.default=bye;let NHe=X3,dQ=class extends NHe{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 Q1e=dQ;dQ.default=dQ;NHe.registerAtRule(dQ);let IHe=X3,OHe,LHe,N7=class extends IHe{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 OHe(new LHe,this,i).stringify()}};N7.registerLazyResult=o=>{OHe=o};N7.registerProcessor=o=>{LHe=o};var oB=N7;N7.default=N7;IHe.registerRoot(N7);let PR={split(o,i,a){let u=[],p="",y=!1,S=0,A=!1,N="",j=!1;for(let z of o)j?j=!1:z==="\\"?j=!0:A?z===N&&(A=!1):z==='"'||z==="'"?(A=!0,N=z):z==="("?S+=1:z===")"?S>0&&(S-=1):S===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 PR.split(o,i)},comma(o){return PR.split(o,[","],!0)}};var MHe=PR;PR.default=PR;let FHe=X3,T9t=MHe,mQ=class extends FHe{constructor(i){super(i),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return T9t.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 Y1e=mQ;mQ.default=mQ;FHe.registerRule(mQ);let S9t=LY,x9t=sHe,k9t=FY,C9t=Q1e,w9t=oB,RUe=Y1e;const BUe={empty:!0,space:!0};function E9t(o){for(let i=o.length-1;i>=0;i--){let a=o[i],u=a[3]||a[2];if(u)return u}}let A9t=class{constructor(i){this.input=i,this.root=new w9t,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=x9t(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 k9t;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 RUe;this.init(a,i[2]),a.selector="",a.raws.between="",this.current=a}other(i){let a=!1,u=null,p=!1,y=null,S=[],A=i[1].startsWith("--"),N=[],j=i;for(;j;){if(u=j[0],N.push(j),u==="("||u==="[")y||(y=j),S.push(u==="("?")":"]");else if(A&&p&&u==="{")y||(y=j),S.push("}");else if(S.length===0)if(u===";")if(p){this.decl(N,A);return}else break;else if(u==="{"){this.rule(N);return}else if(u==="}"){this.tokenizer.back(N.pop()),a=!0;break}else u===":"&&(p=!0);else u===S[S.length-1]&&(S.pop(),S.length===0&&(y=null));j=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(a=!0),S.length>0&&this.unclosedBracket(y),a&&p){if(!A)for(;N.length&&(j=N[N.length-1][0],!(j!=="space"&&j!=="comment"));)this.tokenizer.back(N.pop());this.decl(N,A)}else this.unknownWord(N)}rule(i){i.pop();let a=new RUe;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 S9t;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]||E9t(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 j=i[0][0];if(j===":"||j==="space"||j==="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 S=[],A;for(;i.length&&(A=i[0][0],!(A!=="space"&&A!=="comment"));)S.push(i.shift());this.precheckMissedSemicolon(i);for(let j=i.length-1;j>=0;j--){if(y=i[j],y[1].toLowerCase()==="!important"){u.important=!0;let z=this.stringFrom(i,j);z=this.spacesFromEnd(i)+z,z!==" !important"&&(u.raws.important=z);break}else if(y[1].toLowerCase()==="important"){let z=i.slice(0),G="";for(let te=j;te>0;te--){let Oe=z[te][0];if(G.trim().indexOf("!")===0&&Oe!=="space")break;G=z.pop()[1]+G}G.trim().indexOf("!")===0&&(u.important=!0,u.raws.important=G,i=z)}if(y[0]!=="space"&&y[0]!=="comment")break}i.some(j=>j[0]!=="space"&&j[0]!=="comment")&&(u.raws.between+=S.map(j=>j[1]).join(""),S=[]),this.raw(u,"value",S.concat(i),a),u.value.includes(":")&&!a&&this.checkMissedSemicolon(i)}atrule(i){let a=new C9t;a.name=i[1].slice(1),a.name===""&&this.unnamedAtrule(a,i),this.init(a,i[2]);let u,p,y,S=!1,A=!1,N=[],j=[];for(;!this.tokenizer.endOfFile();){if(i=this.tokenizer.nextToken(),u=i[0],u==="("||u==="["?j.push(u==="("?")":"]"):u==="{"&&j.length>0?j.push("}"):u===j[j.length-1]&&j.pop(),j.length===0)if(u===";"){a.source.end=this.getPosition(i[2]),this.semicolon=!0;break}else if(u==="{"){A=!0;break}else if(u==="}"){if(N.length>0){for(y=N.length-1,p=N[y];p&&p[0]==="space";)p=N[--y];p&&(a.source.end=this.getPosition(p[3]||p[2]))}this.end(i);break}else N.push(i);else N.push(i);if(this.tokenizer.endOfFile()){S=!0;break}}a.raws.between=this.spacesAndCommentsFromEnd(N),N.length?(a.raws.afterName=this.spacesAndCommentsFromStart(N),this.raw(a,"params",N),S&&(i=N[N.length-1],a.source.end=this.getPosition(i[3]||i[2]),this.spaces=a.raws.between,a.raws.between="")):(a.raws.afterName="",a.params=""),A&&(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,S,A=u.length,N="",j=!0,z,G;for(let te=0;te<A;te+=1)y=u[te],S=y[0],S==="space"&&te===A-1&&!p?j=!1:S==="comment"?(G=u[te-1]?u[te-1][0]:"empty",z=u[te+1]?u[te+1][0]:"empty",!BUe[G]&&!BUe[z]?N.slice(-1)===","?j=!1:N+=y[1]:j=!1):N+=y[1];if(!j){let te=u.reduce((Oe,$e)=>Oe+$e[1],"");i.raws[a]={value:N,raw:te}}i[a]=N}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[S,A]of i.entries()){if(u=A,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 S}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 P9t=A9t;let D9t=X3,N9t=P9t,I9t=MY;function hQ(o,i){let a=new I9t(o,i),u=new N9t(a);try{u.parse()}catch(p){throw Jg.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 Z1e=hQ;hQ.default=hQ;D9t.registerParse(hQ);let{isClean:nx,my:O9t}=aB,L9t=gHe,M9t=IY,F9t=X3,R9t=G1e,B9t=PHe,jUe=X1e,j9t=Z1e,J9t=oB;const U9t={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},z9t={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},V9t={postcssPlugin:!0,prepare:!0,Once:!0},I7=0;function DF(o){return typeof o=="object"&&typeof o.then=="function"}function RHe(o){let i=!1,a=U9t[o.type];return o.type==="decl"?i=o.prop.toLowerCase():o.type==="atrule"&&(i=o.name.toLowerCase()),i&&o.append?[a,a+"-"+i,I7,a+"Exit",a+"Exit-"+i]:i?[a,a+"-"+i,a+"Exit",a+"Exit-"+i]:o.append?[a,I7,a+"Exit"]:[a,a+"Exit"]}function JUe(o){let i;return o.type==="document"?i=["Document",I7,"DocumentExit"]:o.type==="root"?i=["Root",I7,"RootExit"]:i=RHe(o),{node:o,events:i,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function Tye(o){return o[nx]=!1,o.nodes&&o.nodes.forEach(i=>Tye(i)),o}let Sye={},O7=class BHe{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=Tye(a);else if(a instanceof BHe||a instanceof jUe)p=Tye(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=j9t;u.syntax&&(y=u.syntax.parse),u.parser&&(y=u.parser),y.parse&&(y=y.parse);try{p=y(a,u)}catch(S){this.processed=!0,this.error=S}p&&!p[O9t]&&F9t.rebuild(p)}this.result=new jUe(i,p,u),this.helpers={...Sye,result:this.result,postcss:Sye},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 Jg.env.NODE_ENV!=="production"&&("from"in this.opts||B9t("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(DF(a))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let i=this.result.root;for(;!i[nx];)i[nx]=!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=M9t;i.syntax&&(a=i.syntax.stringify),i.stringifier&&(a=i.stringifier),a.stringify&&(a=a.stringify);let p=new L9t(a,this.result.root,this.result.opts).generate();return this.result.css=p[0],this.result.map=p[1],this.result}walkSync(i){i[nx]=!0;let a=RHe(i);for(let u of a)if(u===I7)i.nodes&&i.each(p=>{p[nx]||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(S){throw this.handleError(S,a.proxyOf)}if(a.type!=="root"&&a.type!=="document"&&!a.parent)return!0;if(DF(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 DF(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&&Jg.env.NODE_ENV!=="production"){let p=u.postcssPlugin,y=u.postcssVersion,S=this.result.processor.version,A=y.split("."),N=S.split(".");(A[0]!==N[0]||parseInt(A[1])>parseInt(N[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+S+", 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(DF(u))try{await u}catch(p){throw this.handleError(p)}}if(this.prepareVisitors(),this.hasListener){let i=this.result.root;for(;!i[nx];){i[nx]=!0;let a=[JUe(i)];for(;a.length>0;){let u=this.visitTick(a);if(DF(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(!z9t[u]&&/^[A-Z]/.test(u))throw new Error(`Unknown event ${u} in ${a.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!V9t[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[S,A]=p[a.visitorIndex];a.visitorIndex+=1,a.visitorIndex===p.length&&(a.visitors=[],a.visitorIndex=0),this.result.lastPlugin=S;try{return A(u.toProxy(),this.helpers)}catch(N){throw this.handleError(N,u)}}if(a.iterator!==0){let S=a.iterator,A;for(;A=u.nodes[u.indexes[S]];)if(u.indexes[S]+=1,!A[nx]){A[nx]=!0,i.push(JUe(A));return}a.iterator=0,delete u.indexes[S]}let y=a.events;for(;a.eventIndex<y.length;){let S=y[a.eventIndex];if(a.eventIndex+=1,S===I7){u.nodes&&u.nodes.length&&(u[nx]=!0,a.iterator=u.getIterator());return}else if(this.listeners[S]){a.visitors=this.listeners[S];return}}i.pop()}};O7.registerPostcss=o=>{Sye=o};var jHe=O7;O7.default=O7;J9t.registerLazyResult(O7);R9t.registerLazyResult(O7);let $9t=gHe,q9t=IY,W9t=PHe,H9t=Z1e;const G9t=X1e;let xye=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=q9t;this.result=new G9t(this._processor,p,this._opts),this.result.css=a;let S=this;Object.defineProperty(this.result,"root",{get(){return S.root}});let A=new $9t(y,p,this._opts,a);if(A.isMap()){let[N,j]=A.generate();N&&(this.result.css=N),j&&(this.result.map=j)}}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=H9t;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 Jg.env.NODE_ENV!=="production"&&("from"in this._opts||W9t("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 X9t=xye;xye.default=xye;let Q9t=X9t,Y9t=jHe,Z9t=G1e,K9t=oB,DR=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 Q9t(this,i,a):new Y9t(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(Jg.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 eLt=DR;DR.default=DR;K9t.registerProcessor(DR);Z9t.registerProcessor(DR);let tLt=LY,rLt=_He,nLt=FY,iLt=Q1e,sLt=MY,aLt=oB,oLt=Y1e;function NR(o,i){if(Array.isArray(o))return o.map(p=>NR(p));let{inputs:a,...u}=o;if(a){i=[];for(let p of a){let y={...p,__proto__:sLt.prototype};y.map&&(y.map={...y.map,__proto__:rLt.prototype}),i.push(y)}}if(u.nodes&&(u.nodes=o.nodes.map(p=>NR(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 aLt(u);if(u.type==="decl")return new tLt(u);if(u.type==="rule")return new oLt(u);if(u.type==="comment")return new nLt(u);if(u.type==="atrule")return new iLt(u);throw new Error("Unknown node type: "+o.type)}var cLt=NR;NR.default=NR;let lLt=q1e,JHe=LY,uLt=jHe,fLt=X3,K1e=eLt,_Lt=IY,pLt=cLt,UHe=G1e,dLt=DHe,zHe=FY,VHe=Q1e,mLt=X1e,hLt=MY,gLt=Z1e,yLt=MHe,$He=Y1e,qHe=oB,vLt=OY;function Jf(...o){return o.length===1&&Array.isArray(o[0])&&(o=o[0]),new K1e(o)}Jf.plugin=function(i,a){let u=!1;function p(...S){console&&console.warn&&!u&&(u=!0,console.warn(i+`: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),Jg.env.LANG&&Jg.env.LANG.startsWith("cn")&&console.warn(i+`: 里面 postcss.plugin 被弃用. 迁移指南:
https://www.w3ctech.com/topic/2226`));let A=a(...S);return A.postcssPlugin=i,A.postcssVersion=new K1e().version,A}let y;return Object.defineProperty(p,"postcss",{get(){return y||(y=p()),y}}),p.process=function(S,A,N){return Jf([p(N)]).process(S,A)},p};Jf.stringify=_Lt;Jf.parse=gLt;Jf.fromJSON=pLt;Jf.list=yLt;Jf.comment=o=>new zHe(o);Jf.atRule=o=>new VHe(o);Jf.decl=o=>new JHe(o);Jf.rule=o=>new $He(o);Jf.root=o=>new qHe(o);Jf.document=o=>new UHe(o);Jf.CssSyntaxError=lLt;Jf.Declaration=JHe;Jf.Container=fLt;Jf.Processor=K1e;Jf.Document=UHe;Jf.Comment=zHe;Jf.Warning=dLt;Jf.AtRule=VHe;Jf.Result=mLt;Jf.Input=hLt;Jf.Rule=$He;Jf.Root=qHe;Jf.Node=vLt;uLt.registerPostcss(Jf);var bLt=Jf;Jf.default=Jf;var ep=bLt;ep.stringify;ep.fromJSON;ep.plugin;ep.parse;ep.list;ep.document;ep.comment;ep.atRule;ep.rule;ep.decl;ep.root;ep.CssSyntaxError;ep.Declaration;ep.Container;ep.Processor;ep.Document;ep.Comment;ep.Warning;ep.AtRule;ep.Result;ep.Input;ep.Rule;ep.Root;ep.Node;const WHe=()=>({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=`
`))})}});WHe.postcss=!0;var TLt=WHe,gQ={},SLt={get exports(){return gQ},set exports(o){gQ=o}},yQ={},xLt={get exports(){return yQ},set exports(o){yQ=o}},vQ={},kLt={get exports(){return vQ},set exports(o){vQ=o}},IR={},CLt={get exports(){return IR},set exports(o){IR=o}},L7={},wLt={get exports(){return L7},set exports(o){L7=o}},dT={},ELt={get exports(){return dT},set exports(o){dT=o}},ov={},OR={},ALt={get exports(){return OR},set exports(o){OR=o}};(function(o,i){i.__esModule=!0,i.default=p;function a(y){for(var S=y.toLowerCase(),A="",N=!1,j=0;j<6&&S[j]!==void 0;j++){var z=S.charCodeAt(j),G=z>=97&&z<=102||z>=48&&z<=57;if(N=z===32,!G)break;A+=S[j]}if(A.length!==0){var te=parseInt(A,16),Oe=te>=55296&&te<=57343;return Oe||te===0||te>1114111?["�",A.length+(N?1:0)]:[String.fromCodePoint(te),A.length+(N?1:0)]}}var u=/\\/;function p(y){var S=u.test(y);if(!S)return y;for(var A="",N=0;N<y.length;N++){if(y[N]==="\\"){var j=a(y.slice(N+1,N+7));if(j!==void 0){A+=j[0],N+=j[1];continue}if(y[N+1]==="\\"){A+="\\",N++;continue}y.length===N+1&&(A+=y[N]);continue}A+=y[N]}return A}o.exports=i.default})(ALt,OR);var bQ={},PLt={get exports(){return bQ},set exports(o){bQ=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),S=1;S<p;S++)y[S-1]=arguments[S];for(;y.length>0;){var A=y.shift();if(!u[A])return;u=u[A]}return u}o.exports=i.default})(PLt,bQ);var TQ={},DLt={get exports(){return TQ},set exports(o){TQ=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),S=1;S<p;S++)y[S-1]=arguments[S];for(;y.length>0;){var A=y.shift();u[A]||(u[A]={}),u=u[A]}}o.exports=i.default})(DLt,TQ);var SQ={},NLt={get exports(){return SQ},set exports(o){SQ=o}};(function(o,i){i.__esModule=!0,i.default=a;function a(u){for(var p="",y=u.indexOf("/*"),S=0;y>=0;){p=p+u.slice(S,y);var A=u.indexOf("*/",y+2);if(A<0)return p;S=A+2,y=u.indexOf("/*",S)}return p=p+u.slice(S),p}o.exports=i.default})(NLt,SQ);ov.__esModule=!0;ov.stripComments=ov.ensureObject=ov.getProp=ov.unesc=void 0;var ILt=RY(OR);ov.unesc=ILt.default;var OLt=RY(bQ);ov.getProp=OLt.default;var LLt=RY(TQ);ov.ensureObject=LLt.default;var MLt=RY(SQ);ov.stripComments=MLt.default;function RY(o){return o&&o.__esModule?o:{default:o}}(function(o,i){i.__esModule=!0,i.default=void 0;var a=ov;function u(A,N){for(var j=0;j<N.length;j++){var z=N[j];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(A,z.key,z)}}function p(A,N,j){return N&&u(A.prototype,N),j&&u(A,j),A}var y=function A(N,j){if(typeof N!="object"||N===null)return N;var z=new N.constructor;for(var G in N)if(N.hasOwnProperty(G)){var te=N[G],Oe=typeof te;G==="parent"&&Oe==="object"?j&&(z[G]=j):te instanceof Array?z[G]=te.map(function($e){return A($e,z)}):z[G]=A(te,z)}return z},S=function(){function A(j){j===void 0&&(j={}),Object.assign(this,j),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var N=A.prototype;return N.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},N.replaceWith=function(){if(this.parent){for(var z in arguments)this.parent.insertBefore(this,arguments[z]);this.remove()}return this},N.next=function(){return this.parent.at(this.parent.index(this)+1)},N.prev=function(){return this.parent.at(this.parent.index(this)-1)},N.clone=function(z){z===void 0&&(z={});var G=y(this);for(var te in z)G[te]=z[te];return G},N.appendToPropertyAndEscape=function(z,G,te){this.raws||(this.raws={});var Oe=this[z],$e=this.raws[z];this[z]=Oe+G,$e||te!==G?this.raws[z]=($e||Oe)+te:delete this.raws[z]},N.setPropertyAndEscape=function(z,G,te){this.raws||(this.raws={}),this[z]=G,this.raws[z]=te},N.setPropertyWithoutEscape=function(z,G){this[z]=G,this.raws&&delete this.raws[z]},N.isAtPosition=function(z,G){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>G||this.source.end.line===z&&this.source.end.column<G)},N.stringifyProperty=function(z){return this.raws&&this.raws[z]||this[z]},N.valueToString=function(){return String(this.stringifyProperty("value"))},N.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},p(A,[{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}}]),A}();i.default=S,o.exports=i.default})(ELt,dT);var Tl={};Tl.__esModule=!0;Tl.UNIVERSAL=Tl.ATTRIBUTE=Tl.CLASS=Tl.COMBINATOR=Tl.COMMENT=Tl.ID=Tl.NESTING=Tl.PSEUDO=Tl.ROOT=Tl.SELECTOR=Tl.STRING=Tl.TAG=void 0;var FLt="tag";Tl.TAG=FLt;var RLt="string";Tl.STRING=RLt;var BLt="selector";Tl.SELECTOR=BLt;var jLt="root";Tl.ROOT=jLt;var JLt="pseudo";Tl.PSEUDO=JLt;var ULt="nesting";Tl.NESTING=ULt;var zLt="id";Tl.ID=zLt;var VLt="comment";Tl.COMMENT=VLt;var $Lt="combinator";Tl.COMBINATOR=$Lt;var qLt="class";Tl.CLASS=qLt;var WLt="attribute";Tl.ATTRIBUTE=WLt;var HLt="universal";Tl.UNIVERSAL=HLt;(function(o,i){i.__esModule=!0,i.default=void 0;var a=S(dT),u=y(Tl);function p(){if(typeof WeakMap!="function")return null;var Be=new WeakMap;return p=function(){return Be},Be}function y(Be){if(Be&&Be.__esModule)return Be;if(Be===null||typeof Be!="object"&&typeof Be!="function")return{default:Be};var Qe=p();if(Qe&&Qe.has(Be))return Qe.get(Be);var Ue={},yt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ot in Be)if(Object.prototype.hasOwnProperty.call(Be,ot)){var Ve=yt?Object.getOwnPropertyDescriptor(Be,ot):null;Ve&&(Ve.get||Ve.set)?Object.defineProperty(Ue,ot,Ve):Ue[ot]=Be[ot]}return Ue.default=Be,Qe&&Qe.set(Be,Ue),Ue}function S(Be){return Be&&Be.__esModule?Be:{default:Be}}function A(Be,Qe){var Ue;if(typeof Symbol>"u"||Be[Symbol.iterator]==null){if(Array.isArray(Be)||(Ue=N(Be))||Qe&&Be&&typeof Be.length=="number"){Ue&&(Be=Ue);var yt=0;return function(){return yt>=Be.length?{done:!0}:{done:!1,value:Be[yt++]}}}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 Ue=Be[Symbol.iterator](),Ue.next.bind(Ue)}function N(Be,Qe){if(Be){if(typeof Be=="string")return j(Be,Qe);var Ue=Object.prototype.toString.call(Be).slice(8,-1);if(Ue==="Object"&&Be.constructor&&(Ue=Be.constructor.name),Ue==="Map"||Ue==="Set")return Array.from(Be);if(Ue==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ue))return j(Be,Qe)}}function j(Be,Qe){(Qe==null||Qe>Be.length)&&(Qe=Be.length);for(var Ue=0,yt=new Array(Qe);Ue<Qe;Ue++)yt[Ue]=Be[Ue];return yt}function z(Be,Qe){for(var Ue=0;Ue<Qe.length;Ue++){var yt=Qe[Ue];yt.enumerable=yt.enumerable||!1,yt.configurable=!0,"value"in yt&&(yt.writable=!0),Object.defineProperty(Be,yt.key,yt)}}function G(Be,Qe,Ue){return Qe&&z(Be.prototype,Qe),Ue&&z(Be,Ue),Be}function te(Be,Qe){Be.prototype=Object.create(Qe.prototype),Be.prototype.constructor=Be,Oe(Be,Qe)}function Oe(Be,Qe){return Oe=Object.setPrototypeOf||function(yt,ot){return yt.__proto__=ot,yt},Oe(Be,Qe)}var $e=function(Be){te(Qe,Be);function Qe(yt){var ot;return ot=Be.call(this,yt)||this,ot.nodes||(ot.nodes=[]),ot}var Ue=Qe.prototype;return Ue.append=function(ot){return ot.parent=this,this.nodes.push(ot),this},Ue.prepend=function(ot){return ot.parent=this,this.nodes.unshift(ot),this},Ue.at=function(ot){return this.nodes[ot]},Ue.index=function(ot){return typeof ot=="number"?ot:this.nodes.indexOf(ot)},Ue.removeChild=function(ot){ot=this.index(ot),this.at(ot).parent=void 0,this.nodes.splice(ot,1);var Ve;for(var Ft in this.indexes)Ve=this.indexes[Ft],Ve>=ot&&(this.indexes[Ft]=Ve-1);return this},Ue.removeAll=function(){for(var ot=A(this.nodes),Ve;!(Ve=ot()).done;){var Ft=Ve.value;Ft.parent=void 0}return this.nodes=[],this},Ue.empty=function(){return this.removeAll()},Ue.insertAfter=function(ot,Ve){Ve.parent=this;var Ft=this.index(ot);this.nodes.splice(Ft+1,0,Ve),Ve.parent=this;var ir;for(var kr in this.indexes)ir=this.indexes[kr],Ft<=ir&&(this.indexes[kr]=ir+1);return this},Ue.insertBefore=function(ot,Ve){Ve.parent=this;var Ft=this.index(ot);this.nodes.splice(Ft,0,Ve),Ve.parent=this;var ir;for(var kr in this.indexes)ir=this.indexes[kr],ir<=Ft&&(this.indexes[kr]=ir+1);return this},Ue._findChildAtPosition=function(ot,Ve){var Ft=void 0;return this.each(function(ir){if(ir.atPosition){var kr=ir.atPosition(ot,Ve);if(kr)return Ft=kr,!1}else if(ir.isAtPosition(ot,Ve))return Ft=ir,!1}),Ft},Ue.atPosition=function(ot,Ve){if(this.isAtPosition(ot,Ve))return this._findChildAtPosition(ot,Ve)||this},Ue._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))},Ue.each=function(ot){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var Ve=this.lastEach;if(this.indexes[Ve]=0,!!this.length){for(var Ft,ir;this.indexes[Ve]<this.length&&(Ft=this.indexes[Ve],ir=ot(this.at(Ft),Ft),ir!==!1);)this.indexes[Ve]+=1;if(delete this.indexes[Ve],ir===!1)return!1}},Ue.walk=function(ot){return this.each(function(Ve,Ft){var ir=ot(Ve,Ft);if(ir!==!1&&Ve.length&&(ir=Ve.walk(ot)),ir===!1)return!1})},Ue.walkAttributes=function(ot){var Ve=this;return this.walk(function(Ft){if(Ft.type===u.ATTRIBUTE)return ot.call(Ve,Ft)})},Ue.walkClasses=function(ot){var Ve=this;return this.walk(function(Ft){if(Ft.type===u.CLASS)return ot.call(Ve,Ft)})},Ue.walkCombinators=function(ot){var Ve=this;return this.walk(function(Ft){if(Ft.type===u.COMBINATOR)return ot.call(Ve,Ft)})},Ue.walkComments=function(ot){var Ve=this;return this.walk(function(Ft){if(Ft.type===u.COMMENT)return ot.call(Ve,Ft)})},Ue.walkIds=function(ot){var Ve=this;return this.walk(function(Ft){if(Ft.type===u.ID)return ot.call(Ve,Ft)})},Ue.walkNesting=function(ot){var Ve=this;return this.walk(function(Ft){if(Ft.type===u.NESTING)return ot.call(Ve,Ft)})},Ue.walkPseudos=function(ot){var Ve=this;return this.walk(function(Ft){if(Ft.type===u.PSEUDO)return ot.call(Ve,Ft)})},Ue.walkTags=function(ot){var Ve=this;return this.walk(function(Ft){if(Ft.type===u.TAG)return ot.call(Ve,Ft)})},Ue.walkUniversals=function(ot){var Ve=this;return this.walk(function(Ft){if(Ft.type===u.UNIVERSAL)return ot.call(Ve,Ft)})},Ue.split=function(ot){var Ve=this,Ft=[];return this.reduce(function(ir,kr,Ot){var kt=ot.call(Ve,kr);return Ft.push(kr),kt?(ir.push(Ft),Ft=[]):Ot===Ve.length-1&&ir.push(Ft),ir},[])},Ue.map=function(ot){return this.nodes.map(ot)},Ue.reduce=function(ot,Ve){return this.nodes.reduce(ot,Ve)},Ue.every=function(ot){return this.nodes.every(ot)},Ue.some=function(ot){return this.nodes.some(ot)},Ue.filter=function(ot){return this.nodes.filter(ot)},Ue.sort=function(ot){return this.nodes.sort(ot)},Ue.toString=function(){return this.map(String).join("")},G(Qe,[{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}}]),Qe}(a.default);i.default=$e,o.exports=i.default})(wLt,L7);(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(L7),u=Tl;function p(z){return z&&z.__esModule?z:{default:z}}function y(z,G){for(var te=0;te<G.length;te++){var Oe=G[te];Oe.enumerable=Oe.enumerable||!1,Oe.configurable=!0,"value"in Oe&&(Oe.writable=!0),Object.defineProperty(z,Oe.key,Oe)}}function S(z,G,te){return G&&y(z.prototype,G),te&&y(z,te),z}function A(z,G){z.prototype=Object.create(G.prototype),z.prototype.constructor=z,N(z,G)}function N(z,G){return N=Object.setPrototypeOf||function(Oe,$e){return Oe.__proto__=$e,Oe},N(z,G)}var j=function(z){A(G,z);function G(Oe){var $e;return $e=z.call(this,Oe)||this,$e.type=u.ROOT,$e}var te=G.prototype;return te.toString=function(){var $e=this.reduce(function(Be,Qe){return Be.push(String(Qe)),Be},[]).join(",");return this.trailingComma?$e+",":$e},te.error=function($e,Be){return this._error?this._error($e,Be):new Error($e)},S(G,[{key:"errorGenerator",set:function($e){this._error=$e}}]),G}(a.default);i.default=j,o.exports=i.default})(CLt,IR);var LR={},GLt={get exports(){return LR},set exports(o){LR=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(L7),u=Tl;function p(N){return N&&N.__esModule?N:{default:N}}function y(N,j){N.prototype=Object.create(j.prototype),N.prototype.constructor=N,S(N,j)}function S(N,j){return S=Object.setPrototypeOf||function(G,te){return G.__proto__=te,G},S(N,j)}var A=function(N){y(j,N);function j(z){var G;return G=N.call(this,z)||this,G.type=u.SELECTOR,G}return j}(a.default);i.default=A,o.exports=i.default})(GLt,LR);var MR={},XLt={get exports(){return MR},set exports(o){MR=o}};/*! https://mths.be/cssesc v3.0.0 by @mathias */var QLt={},YLt=QLt.hasOwnProperty,ZLt=function(i,a){if(!i)return a;var u={};for(var p in a)u[p]=YLt.call(i,p)?i[p]:a[p];return u},KLt=/[ -,\.\/:-@\[-\^`\{-~]/,eMt=/[ -,\.\/:-@\[\]\^`\{-~]/,tMt=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,eve=function o(i,a){a=ZLt(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),S="",A=0,N=i.length;A<N;){var j=i.charAt(A++),z=j.charCodeAt(),G=void 0;if(z<32||z>126){if(z>=55296&&z<=56319&&A<N){var te=i.charCodeAt(A++);(te&64512)==56320?z=((z&1023)<<10)+(te&1023)+65536:A--}G="\\"+z.toString(16).toUpperCase()+" "}else a.escapeEverything?KLt.test(j)?G="\\"+j:G="\\"+z.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(j)?G="\\"+z.toString(16).toUpperCase()+" ":j=="\\"||!p&&(j=='"'&&u==j||j=="'"&&u==j)||p&&eMt.test(j)?G="\\"+j:G=j;S+=G}return p&&(/^-[-\d]/.test(S)?S="\\-"+S.slice(1):/\d/.test(y)&&(S="\\3"+y+" "+S.slice(1))),S=S.replace(tMt,function(Oe,$e,Be){return $e&&$e.length%2?Oe:($e||"")+Be}),!p&&a.wrap?u+S+u:S};eve.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};eve.version="3.0.0";var tve=eve;(function(o,i){i.__esModule=!0,i.default=void 0;var a=S(tve),u=ov,p=S(dT),y=Tl;function S(te){return te&&te.__esModule?te:{default:te}}function A(te,Oe){for(var $e=0;$e<Oe.length;$e++){var Be=Oe[$e];Be.enumerable=Be.enumerable||!1,Be.configurable=!0,"value"in Be&&(Be.writable=!0),Object.defineProperty(te,Be.key,Be)}}function N(te,Oe,$e){return Oe&&A(te.prototype,Oe),$e&&A(te,$e),te}function j(te,Oe){te.prototype=Object.create(Oe.prototype),te.prototype.constructor=te,z(te,Oe)}function z(te,Oe){return z=Object.setPrototypeOf||function(Be,Qe){return Be.__proto__=Qe,Be},z(te,Oe)}var G=function(te){j(Oe,te);function Oe(Be){var Qe;return Qe=te.call(this,Be)||this,Qe.type=y.CLASS,Qe._constructed=!0,Qe}var $e=Oe.prototype;return $e.valueToString=function(){return"."+te.prototype.valueToString.call(this)},N(Oe,[{key:"value",get:function(){return this._value},set:function(Qe){if(this._constructed){var Ue=(0,a.default)(Qe,{isIdentifier:!0});Ue!==Qe?((0,u.ensureObject)(this,"raws"),this.raws.value=Ue):this.raws&&delete this.raws.value}this._value=Qe}}]),Oe}(p.default);i.default=G,o.exports=i.default})(XLt,MR);var FR={},rMt={get exports(){return FR},set exports(o){FR=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(dT),u=Tl;function p(N){return N&&N.__esModule?N:{default:N}}function y(N,j){N.prototype=Object.create(j.prototype),N.prototype.constructor=N,S(N,j)}function S(N,j){return S=Object.setPrototypeOf||function(G,te){return G.__proto__=te,G},S(N,j)}var A=function(N){y(j,N);function j(z){var G;return G=N.call(this,z)||this,G.type=u.COMMENT,G}return j}(a.default);i.default=A,o.exports=i.default})(rMt,FR);var RR={},nMt={get exports(){return RR},set exports(o){RR=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(dT),u=Tl;function p(N){return N&&N.__esModule?N:{default:N}}function y(N,j){N.prototype=Object.create(j.prototype),N.prototype.constructor=N,S(N,j)}function S(N,j){return S=Object.setPrototypeOf||function(G,te){return G.__proto__=te,G},S(N,j)}var A=function(N){y(j,N);function j(G){var te;return te=N.call(this,G)||this,te.type=u.ID,te}var z=j.prototype;return z.valueToString=function(){return"#"+N.prototype.valueToString.call(this)},j}(a.default);i.default=A,o.exports=i.default})(nMt,RR);var BR={},iMt={get exports(){return BR},set exports(o){BR=o}},M7={},sMt={get exports(){return M7},set exports(o){M7=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=y(tve),u=ov,p=y(dT);function y(G){return G&&G.__esModule?G:{default:G}}function S(G,te){for(var Oe=0;Oe<te.length;Oe++){var $e=te[Oe];$e.enumerable=$e.enumerable||!1,$e.configurable=!0,"value"in $e&&($e.writable=!0),Object.defineProperty(G,$e.key,$e)}}function A(G,te,Oe){return te&&S(G.prototype,te),Oe&&S(G,Oe),G}function N(G,te){G.prototype=Object.create(te.prototype),G.prototype.constructor=G,j(G,te)}function j(G,te){return j=Object.setPrototypeOf||function($e,Be){return $e.__proto__=Be,$e},j(G,te)}var z=function(G){N(te,G);function te(){return G.apply(this,arguments)||this}var Oe=te.prototype;return Oe.qualifiedName=function(Be){return this.namespace?this.namespaceString+"|"+Be:Be},Oe.valueToString=function(){return this.qualifiedName(G.prototype.valueToString.call(this))},A(te,[{key:"namespace",get:function(){return this._namespace},set:function(Be){if(Be===!0||Be==="*"||Be==="&"){this._namespace=Be,this.raws&&delete this.raws.namespace;return}var Qe=(0,a.default)(Be,{isIdentifier:!0});this._namespace=Be,Qe!==Be?((0,u.ensureObject)(this,"raws"),this.raws.namespace=Qe):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(Be){this.namespace=Be}},{key:"namespaceString",get:function(){if(this.namespace){var Be=this.stringifyProperty("namespace");return Be===!0?"":Be}else return""}}]),te}(p.default);i.default=z,o.exports=i.default})(sMt,M7);(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(M7),u=Tl;function p(N){return N&&N.__esModule?N:{default:N}}function y(N,j){N.prototype=Object.create(j.prototype),N.prototype.constructor=N,S(N,j)}function S(N,j){return S=Object.setPrototypeOf||function(G,te){return G.__proto__=te,G},S(N,j)}var A=function(N){y(j,N);function j(z){var G;return G=N.call(this,z)||this,G.type=u.TAG,G}return j}(a.default);i.default=A,o.exports=i.default})(iMt,BR);var jR={},aMt={get exports(){return jR},set exports(o){jR=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(dT),u=Tl;function p(N){return N&&N.__esModule?N:{default:N}}function y(N,j){N.prototype=Object.create(j.prototype),N.prototype.constructor=N,S(N,j)}function S(N,j){return S=Object.setPrototypeOf||function(G,te){return G.__proto__=te,G},S(N,j)}var A=function(N){y(j,N);function j(z){var G;return G=N.call(this,z)||this,G.type=u.STRING,G}return j}(a.default);i.default=A,o.exports=i.default})(aMt,jR);var JR={},oMt={get exports(){return JR},set exports(o){JR=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(L7),u=Tl;function p(N){return N&&N.__esModule?N:{default:N}}function y(N,j){N.prototype=Object.create(j.prototype),N.prototype.constructor=N,S(N,j)}function S(N,j){return S=Object.setPrototypeOf||function(G,te){return G.__proto__=te,G},S(N,j)}var A=function(N){y(j,N);function j(G){var te;return te=N.call(this,G)||this,te.type=u.PSEUDO,te}var z=j.prototype;return z.toString=function(){var te=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),te,this.rawSpaceAfter].join("")},j}(a.default);i.default=A,o.exports=i.default})(oMt,JR);var rve={},cMt=gOt.deprecate;(function(o){o.__esModule=!0,o.unescapeValue=Qe,o.default=void 0;var i=S(tve),a=S(OR),u=S(M7),p=Tl,y;function S(Ft){return Ft&&Ft.__esModule?Ft:{default:Ft}}function A(Ft,ir){for(var kr=0;kr<ir.length;kr++){var Ot=ir[kr];Ot.enumerable=Ot.enumerable||!1,Ot.configurable=!0,"value"in Ot&&(Ot.writable=!0),Object.defineProperty(Ft,Ot.key,Ot)}}function N(Ft,ir,kr){return ir&&A(Ft.prototype,ir),kr&&A(Ft,kr),Ft}function j(Ft,ir){Ft.prototype=Object.create(ir.prototype),Ft.prototype.constructor=Ft,z(Ft,ir)}function z(Ft,ir){return z=Object.setPrototypeOf||function(Ot,kt){return Ot.__proto__=kt,Ot},z(Ft,ir)}var G=cMt,te=/^('|")([^]*)\1$/,Oe=G(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),$e=G(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),Be=G(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function Qe(Ft){var ir=!1,kr=null,Ot=Ft,kt=Ot.match(te);return kt&&(kr=kt[1],Ot=kt[2]),Ot=(0,a.default)(Ot),Ot!==Ft&&(ir=!0),{deprecatedUsage:ir,unescaped:Ot,quoteMark:kr}}function Ue(Ft){if(Ft.quoteMark!==void 0||Ft.value===void 0)return Ft;Be();var ir=Qe(Ft.value),kr=ir.quoteMark,Ot=ir.unescaped;return Ft.raws||(Ft.raws={}),Ft.raws.value===void 0&&(Ft.raws.value=Ft.value),Ft.value=Ot,Ft.quoteMark=kr,Ft}var yt=function(Ft){j(ir,Ft);function ir(Ot){var kt;return Ot===void 0&&(Ot={}),kt=Ft.call(this,Ue(Ot))||this,kt.type=p.ATTRIBUTE,kt.raws=kt.raws||{},Object.defineProperty(kt.raws,"unquoted",{get:G(function(){return kt.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:G(function(){return kt.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),kt._constructed=!0,kt}var kr=ir.prototype;return kr.getQuotedValue=function(kt){kt===void 0&&(kt={});var Wt=this._determineQuoteMark(kt),pr=ot[Wt],Sn=(0,i.default)(this._value,pr);return Sn},kr._determineQuoteMark=function(kt){return kt.smart?this.smartQuoteMark(kt):this.preferredQuoteMark(kt)},kr.setValue=function(kt,Wt){Wt===void 0&&(Wt={}),this._value=kt,this._quoteMark=this._determineQuoteMark(Wt),this._syncRawValue()},kr.smartQuoteMark=function(kt){var Wt=this.value,pr=Wt.replace(/[^']/g,"").length,Sn=Wt.replace(/[^"]/g,"").length;if(pr+Sn===0){var gr=(0,i.default)(Wt,{isIdentifier:!0});if(gr===Wt)return ir.NO_QUOTE;var ji=this.preferredQuoteMark(kt);if(ji===ir.NO_QUOTE){var us=this.quoteMark||kt.quoteMark||ir.DOUBLE_QUOTE,qt=ot[us],qa=(0,i.default)(Wt,qt);if(qa.length<gr.length)return us}return ji}else return Sn===pr?this.preferredQuoteMark(kt):Sn<pr?ir.DOUBLE_QUOTE:ir.SINGLE_QUOTE},kr.preferredQuoteMark=function(kt){var Wt=kt.preferCurrentQuoteMark?this.quoteMark:kt.quoteMark;return Wt===void 0&&(Wt=kt.preferCurrentQuoteMark?kt.quoteMark:this.quoteMark),Wt===void 0&&(Wt=ir.DOUBLE_QUOTE),Wt},kr._syncRawValue=function(){var kt=(0,i.default)(this._value,ot[this.quoteMark]);kt===this._value?this.raws&&delete this.raws.value:this.raws.value=kt},kr._handleEscapes=function(kt,Wt){if(this._constructed){var pr=(0,i.default)(Wt,{isIdentifier:!0});pr!==Wt?this.raws[kt]=pr:delete this.raws[kt]}},kr._spacesFor=function(kt){var Wt={before:"",after:""},pr=this.spaces[kt]||{},Sn=this.raws.spaces&&this.raws.spaces[kt]||{};return Object.assign(Wt,pr,Sn)},kr._stringFor=function(kt,Wt,pr){Wt===void 0&&(Wt=kt),pr===void 0&&(pr=Ve);var Sn=this._spacesFor(Wt);return pr(this.stringifyProperty(kt),Sn)},kr.offsetOf=function(kt){var Wt=1,pr=this._spacesFor("attribute");if(Wt+=pr.before.length,kt==="namespace"||kt==="ns")return this.namespace?Wt:-1;if(kt==="attributeNS"||(Wt+=this.namespaceString.length,this.namespace&&(Wt+=1),kt==="attribute"))return Wt;Wt+=this.stringifyProperty("attribute").length,Wt+=pr.after.length;var Sn=this._spacesFor("operator");Wt+=Sn.before.length;var gr=this.stringifyProperty("operator");if(kt==="operator")return gr?Wt:-1;Wt+=gr.length,Wt+=Sn.after.length;var ji=this._spacesFor("value");Wt+=ji.before.length;var us=this.stringifyProperty("value");if(kt==="value")return us?Wt:-1;Wt+=us.length,Wt+=ji.after.length;var qt=this._spacesFor("insensitive");return Wt+=qt.before.length,kt==="insensitive"&&this.insensitive?Wt:-1},kr.toString=function(){var kt=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(pr,Sn){return pr.length>0&&!kt.quoted&&Sn.before.length===0&&!(kt.spaces.value&&kt.spaces.value.after)&&(Sn.before=" "),Ve(pr,Sn)}))),Wt.push("]"),Wt.push(this.rawSpaceAfter),Wt.join("")},N(ir,[{key:"quoted",get:function(){var kt=this.quoteMark;return kt==="'"||kt==='"'},set:function(kt){$e()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(kt){if(!this._constructed){this._quoteMark=kt;return}this._quoteMark!==kt&&(this._quoteMark=kt,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(kt){if(this._constructed){var Wt=Qe(kt),pr=Wt.deprecatedUsage,Sn=Wt.unescaped,gr=Wt.quoteMark;if(pr&&Oe(),Sn===this._value&&gr===this._quoteMark)return;this._value=Sn,this._quoteMark=gr,this._syncRawValue()}else this._value=kt}},{key:"insensitive",get:function(){return this._insensitive},set:function(kt){kt||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=kt}},{key:"attribute",get:function(){return this._attribute},set:function(kt){this._handleEscapes("attribute",kt),this._attribute=kt}}]),ir}(u.default);o.default=yt,yt.NO_QUOTE=null,yt.SINGLE_QUOTE="'",yt.DOUBLE_QUOTE='"';var ot=(y={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},y[null]={isIdentifier:!0},y);function Ve(Ft,ir){return""+ir.before+Ft+ir.after}})(rve);var UR={},lMt={get exports(){return UR},set exports(o){UR=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(M7),u=Tl;function p(N){return N&&N.__esModule?N:{default:N}}function y(N,j){N.prototype=Object.create(j.prototype),N.prototype.constructor=N,S(N,j)}function S(N,j){return S=Object.setPrototypeOf||function(G,te){return G.__proto__=te,G},S(N,j)}var A=function(N){y(j,N);function j(z){var G;return G=N.call(this,z)||this,G.type=u.UNIVERSAL,G.value="*",G}return j}(a.default);i.default=A,o.exports=i.default})(lMt,UR);var zR={},uMt={get exports(){return zR},set exports(o){zR=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(dT),u=Tl;function p(N){return N&&N.__esModule?N:{default:N}}function y(N,j){N.prototype=Object.create(j.prototype),N.prototype.constructor=N,S(N,j)}function S(N,j){return S=Object.setPrototypeOf||function(G,te){return G.__proto__=te,G},S(N,j)}var A=function(N){y(j,N);function j(z){var G;return G=N.call(this,z)||this,G.type=u.COMBINATOR,G}return j}(a.default);i.default=A,o.exports=i.default})(uMt,zR);var VR={},fMt={get exports(){return VR},set exports(o){VR=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(dT),u=Tl;function p(N){return N&&N.__esModule?N:{default:N}}function y(N,j){N.prototype=Object.create(j.prototype),N.prototype.constructor=N,S(N,j)}function S(N,j){return S=Object.setPrototypeOf||function(G,te){return G.__proto__=te,G},S(N,j)}var A=function(N){y(j,N);function j(z){var G;return G=N.call(this,z)||this,G.type=u.NESTING,G.value="&",G}return j}(a.default);i.default=A,o.exports=i.default})(fMt,VR);var xQ={},_Mt={get exports(){return xQ},set exports(o){xQ=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})(_Mt,xQ);var HHe={},po={};po.__esModule=!0;po.combinator=po.word=po.comment=po.str=po.tab=po.newline=po.feed=po.cr=po.backslash=po.bang=po.slash=po.doubleQuote=po.singleQuote=po.space=po.greaterThan=po.pipe=po.equals=po.plus=po.caret=po.tilde=po.dollar=po.closeSquare=po.openSquare=po.closeParenthesis=po.openParenthesis=po.semicolon=po.colon=po.comma=po.at=po.asterisk=po.ampersand=void 0;var pMt=38;po.ampersand=pMt;var dMt=42;po.asterisk=dMt;var mMt=64;po.at=mMt;var hMt=44;po.comma=hMt;var gMt=58;po.colon=gMt;var yMt=59;po.semicolon=yMt;var vMt=40;po.openParenthesis=vMt;var bMt=41;po.closeParenthesis=bMt;var TMt=91;po.openSquare=TMt;var SMt=93;po.closeSquare=SMt;var xMt=36;po.dollar=xMt;var kMt=126;po.tilde=kMt;var CMt=94;po.caret=CMt;var wMt=43;po.plus=wMt;var EMt=61;po.equals=EMt;var AMt=124;po.pipe=AMt;var PMt=62;po.greaterThan=PMt;var DMt=32;po.space=DMt;var GHe=39;po.singleQuote=GHe;var NMt=34;po.doubleQuote=NMt;var IMt=47;po.slash=IMt;var OMt=33;po.bang=OMt;var LMt=92;po.backslash=LMt;var MMt=13;po.cr=MMt;var FMt=12;po.feed=FMt;var RMt=10;po.newline=RMt;var BMt=9;po.tab=BMt;var jMt=GHe;po.str=jMt;var JMt=-1;po.comment=JMt;var UMt=-2;po.word=UMt;var zMt=-3;po.combinator=zMt;(function(o){o.__esModule=!0,o.default=$e,o.FIELDS=void 0;var i=y(po),a,u;function p(){if(typeof WeakMap!="function")return null;var Be=new WeakMap;return p=function(){return Be},Be}function y(Be){if(Be&&Be.__esModule)return Be;if(Be===null||typeof Be!="object"&&typeof Be!="function")return{default:Be};var Qe=p();if(Qe&&Qe.has(Be))return Qe.get(Be);var Ue={},yt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ot in Be)if(Object.prototype.hasOwnProperty.call(Be,ot)){var Ve=yt?Object.getOwnPropertyDescriptor(Be,ot):null;Ve&&(Ve.get||Ve.set)?Object.defineProperty(Ue,ot,Ve):Ue[ot]=Be[ot]}return Ue.default=Be,Qe&&Qe.set(Be,Ue),Ue}for(var S=(a={},a[i.tab]=!0,a[i.newline]=!0,a[i.cr]=!0,a[i.feed]=!0,a),A=(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),N={},j="0123456789abcdefABCDEF",z=0;z<j.length;z++)N[j.charCodeAt(z)]=!0;function G(Be,Qe){var Ue=Qe,yt;do{if(yt=Be.charCodeAt(Ue),A[yt])return Ue-1;yt===i.backslash?Ue=te(Be,Ue)+1:Ue++}while(Ue<Be.length);return Ue-1}function te(Be,Qe){var Ue=Qe,yt=Be.charCodeAt(Ue+1);if(!S[yt])if(N[yt]){var ot=0;do Ue++,ot++,yt=Be.charCodeAt(Ue+1);while(N[yt]&&ot<6);ot<6&&yt===i.space&&Ue++}else Ue++;return Ue}var Oe={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};o.FIELDS=Oe;function $e(Be){var Qe=[],Ue=Be.css.valueOf(),yt=Ue,ot=yt.length,Ve=-1,Ft=1,ir=0,kr=0,Ot,kt,Wt,pr,Sn,gr,ji,us,qt,qa,$s,$n,ln;function yn(yr,Dn){if(Be.safe)Ue+=Dn,qt=Ue.length-1;else throw Be.error("Unclosed "+yr,Ft,ir-Ve,ir)}for(;ir<ot;){switch(Ot=Ue.charCodeAt(ir),Ot===i.newline&&(Ve=ir,Ft+=1),Ot){case i.space:case i.tab:case i.newline:case i.cr:case i.feed:qt=ir;do qt+=1,Ot=Ue.charCodeAt(qt),Ot===i.newline&&(Ve=qt,Ft+=1);while(Ot===i.space||Ot===i.newline||Ot===i.tab||Ot===i.cr||Ot===i.feed);ln=i.space,pr=Ft,Wt=qt-Ve-1,kr=qt;break;case i.plus:case i.greaterThan:case i.tilde:case i.pipe:qt=ir;do qt+=1,Ot=Ue.charCodeAt(qt);while(Ot===i.plus||Ot===i.greaterThan||Ot===i.tilde||Ot===i.pipe);ln=i.combinator,pr=Ft,Wt=ir-Ve,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=ir,ln=Ot,pr=Ft,Wt=ir-Ve,kr=qt+1;break;case i.singleQuote:case i.doubleQuote:$n=Ot===i.singleQuote?"'":'"',qt=ir;do for(Sn=!1,qt=Ue.indexOf($n,qt+1),qt===-1&&yn("quote",$n),gr=qt;Ue.charCodeAt(gr-1)===i.backslash;)gr-=1,Sn=!Sn;while(Sn);ln=i.str,pr=Ft,Wt=ir-Ve,kr=qt+1;break;default:Ot===i.slash&&Ue.charCodeAt(ir+1)===i.asterisk?(qt=Ue.indexOf("*/",ir+2)+1,qt===0&&yn("comment","*/"),kt=Ue.slice(ir,qt+1),us=kt.split(`
`),ji=us.length-1,ji>0?(qa=Ft+ji,$s=qt-us[ji].length):(qa=Ft,$s=Ve),ln=i.comment,Ft=qa,pr=qa,Wt=qt-$s):Ot===i.slash?(qt=ir,ln=Ot,pr=Ft,Wt=ir-Ve,kr=qt+1):(qt=G(Ue,ir),ln=i.word,pr=Ft,Wt=qt-Ve),kr=qt+1;break}Qe.push([ln,Ft,ir-Ve,pr,Wt,ir,kr]),$s&&(Ve=$s,$s=null),ir=kr}return Qe}})(HHe);(function(o,i){i.__esModule=!0,i.default=void 0;var a=kr(IR),u=kr(LR),p=kr(MR),y=kr(FR),S=kr(RR),A=kr(BR),N=kr(jR),j=kr(JR),z=ir(rve),G=kr(UR),te=kr(zR),Oe=kr(VR),$e=kr(xQ),Be=ir(HHe),Qe=ir(po),Ue=ir(Tl),yt=ov,ot,Ve;function Ft(){if(typeof WeakMap!="function")return null;var yn=new WeakMap;return Ft=function(){return yn},yn}function ir(yn){if(yn&&yn.__esModule)return yn;if(yn===null||typeof yn!="object"&&typeof yn!="function")return{default:yn};var yr=Ft();if(yr&&yr.has(yn))return yr.get(yn);var Dn={},Ir=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var lr in yn)if(Object.prototype.hasOwnProperty.call(yn,lr)){var zi=Ir?Object.getOwnPropertyDescriptor(yn,lr):null;zi&&(zi.get||zi.set)?Object.defineProperty(Dn,lr,zi):Dn[lr]=yn[lr]}return Dn.default=yn,yr&&yr.set(yn,Dn),Dn}function kr(yn){return yn&&yn.__esModule?yn:{default:yn}}function Ot(yn,yr){for(var Dn=0;Dn<yr.length;Dn++){var Ir=yr[Dn];Ir.enumerable=Ir.enumerable||!1,Ir.configurable=!0,"value"in Ir&&(Ir.writable=!0),Object.defineProperty(yn,Ir.key,Ir)}}function kt(yn,yr,Dn){return yr&&Ot(yn.prototype,yr),Dn&&Ot(yn,Dn),yn}var Wt=(ot={},ot[Qe.space]=!0,ot[Qe.cr]=!0,ot[Qe.feed]=!0,ot[Qe.newline]=!0,ot[Qe.tab]=!0,ot),pr=Object.assign({},Wt,(Ve={},Ve[Qe.comment]=!0,Ve));function Sn(yn){return{line:yn[Be.FIELDS.START_LINE],column:yn[Be.FIELDS.START_COL]}}function gr(yn){return{line:yn[Be.FIELDS.END_LINE],column:yn[Be.FIELDS.END_COL]}}function ji(yn,yr,Dn,Ir){return{start:{line:yn,column:yr},end:{line:Dn,column:Ir}}}function us(yn){return ji(yn[Be.FIELDS.START_LINE],yn[Be.FIELDS.START_COL],yn[Be.FIELDS.END_LINE],yn[Be.FIELDS.END_COL])}function qt(yn,yr){if(yn)return ji(yn[Be.FIELDS.START_LINE],yn[Be.FIELDS.START_COL],yr[Be.FIELDS.END_LINE],yr[Be.FIELDS.END_COL])}function qa(yn,yr){var Dn=yn[yr];if(typeof Dn=="string")return Dn.indexOf("\\")!==-1&&((0,yt.ensureObject)(yn,"raws"),yn[yr]=(0,yt.unesc)(Dn),yn.raws[yr]===void 0&&(yn.raws[yr]=Dn)),yn}function $s(yn,yr){for(var Dn=-1,Ir=[];(Dn=yn.indexOf(yr,Dn+1))!==-1;)Ir.push(Dn);return Ir}function $n(){var yn=Array.prototype.concat.apply([],arguments);return yn.filter(function(yr,Dn){return Dn===yn.indexOf(yr)})}var ln=function(){function yn(Dn,Ir){Ir===void 0&&(Ir={}),this.rule=Dn,this.options=Object.assign({lossy:!1,safe:!1},Ir),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,Be.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var lr=qt(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new a.default({source:lr}),this.root.errorGenerator=this._errorGenerator();var zi=new u.default({source:{start:{line:1,column:1}}});this.root.append(zi),this.current=zi,this.loop()}var yr=yn.prototype;return yr._errorGenerator=function(){var Ir=this;return function(lr,zi){return typeof Ir.rule=="string"?new Error(lr):Ir.rule.error(lr,zi)}},yr.attribute=function(){var Ir=[],lr=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[Be.FIELDS.TYPE]!==Qe.closeSquare;)Ir.push(this.currToken),this.position++;if(this.currToken[Be.FIELDS.TYPE]!==Qe.closeSquare)return this.expected("closing square bracket",this.currToken[Be.FIELDS.START_POS]);var zi=Ir.length,cr={source:ji(lr[1],lr[2],this.currToken[3],this.currToken[4]),sourceIndex:lr[Be.FIELDS.START_POS]};if(zi===1&&!~[Qe.word].indexOf(Ir[0][Be.FIELDS.TYPE]))return this.expected("attribute",Ir[0][Be.FIELDS.START_POS]);for(var ni=0,li="",gs="",na=null,sr=!1;ni<zi;){var Ne=Ir[ni],Mr=this.content(Ne),wr=Ir[ni+1];switch(Ne[Be.FIELDS.TYPE]){case Qe.space:if(sr=!0,this.options.lossy)break;if(na){(0,yt.ensureObject)(cr,"spaces",na);var Ii=cr.spaces[na].after||"";cr.spaces[na].after=Ii+Mr;var Wi=(0,yt.getProp)(cr,"raws","spaces",na,"after")||null;Wi&&(cr.raws.spaces[na].after=Wi+Mr)}else li=li+Mr,gs=gs+Mr;break;case Qe.asterisk:if(wr[Be.FIELDS.TYPE]===Qe.equals)cr.operator=Mr,na="operator";else if((!cr.namespace||na==="namespace"&&!sr)&&wr){li&&((0,yt.ensureObject)(cr,"spaces","attribute"),cr.spaces.attribute.before=li,li=""),gs&&((0,yt.ensureObject)(cr,"raws","spaces","attribute"),cr.raws.spaces.attribute.before=li,gs=""),cr.namespace=(cr.namespace||"")+Mr;var Hs=(0,yt.getProp)(cr,"raws","namespace")||null;Hs&&(cr.raws.namespace+=Mr),na="namespace"}sr=!1;break;case Qe.dollar:if(na==="value"){var ps=(0,yt.getProp)(cr,"raws","value");cr.value+="$",ps&&(cr.raws.value=ps+"$");break}case Qe.caret:wr[Be.FIELDS.TYPE]===Qe.equals&&(cr.operator=Mr,na="operator"),sr=!1;break;case Qe.combinator:if(Mr==="~"&&wr[Be.FIELDS.TYPE]===Qe.equals&&(cr.operator=Mr,na="operator"),Mr!=="|"){sr=!1;break}wr[Be.FIELDS.TYPE]===Qe.equals?(cr.operator=Mr,na="operator"):!cr.namespace&&!cr.attribute&&(cr.namespace=!0),sr=!1;break;case Qe.word:if(wr&&this.content(wr)==="|"&&Ir[ni+2]&&Ir[ni+2][Be.FIELDS.TYPE]!==Qe.equals&&!cr.operator&&!cr.namespace)cr.namespace=Mr,na="namespace";else if(!cr.attribute||na==="attribute"&&!sr){li&&((0,yt.ensureObject)(cr,"spaces","attribute"),cr.spaces.attribute.before=li,li=""),gs&&((0,yt.ensureObject)(cr,"raws","spaces","attribute"),cr.raws.spaces.attribute.before=gs,gs=""),cr.attribute=(cr.attribute||"")+Mr;var Ds=(0,yt.getProp)(cr,"raws","attribute")||null;Ds&&(cr.raws.attribute+=Mr),na="attribute"}else if(!cr.value&&cr.value!==""||na==="value"&&!(sr||cr.quoteMark)){var es=(0,yt.unesc)(Mr),ao=(0,yt.getProp)(cr,"raws","value")||"",ha=cr.value||"";cr.value=ha+es,cr.quoteMark=null,(es!==Mr||ao)&&((0,yt.ensureObject)(cr,"raws"),cr.raws.value=(ao||ha)+Mr),na="value"}else{var mo=Mr==="i"||Mr==="I";(cr.value||cr.value==="")&&(cr.quoteMark||sr)?(cr.insensitive=mo,(!mo||Mr==="I")&&((0,yt.ensureObject)(cr,"raws"),cr.raws.insensitiveFlag=Mr),na="insensitive",li&&((0,yt.ensureObject)(cr,"spaces","insensitive"),cr.spaces.insensitive.before=li,li=""),gs&&((0,yt.ensureObject)(cr,"raws","spaces","insensitive"),cr.raws.spaces.insensitive.before=gs,gs="")):(cr.value||cr.value==="")&&(na="value",cr.value+=Mr,cr.raws.value&&(cr.raws.value+=Mr))}sr=!1;break;case Qe.str:if(!cr.attribute||!cr.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:Ne[Be.FIELDS.START_POS]});var tc=(0,z.unescapeValue)(Mr),Zc=tc.unescaped,Oc=tc.quoteMark;cr.value=Zc,cr.quoteMark=Oc,na="value",(0,yt.ensureObject)(cr,"raws"),cr.raws.value=Mr,sr=!1;break;case Qe.equals:if(!cr.attribute)return this.expected("attribute",Ne[Be.FIELDS.START_POS],Mr);if(cr.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:Ne[Be.FIELDS.START_POS]});cr.operator=cr.operator?cr.operator+Mr:Mr,na="operator",sr=!1;break;case Qe.comment:if(na)if(sr||wr&&wr[Be.FIELDS.TYPE]===Qe.space||na==="insensitive"){var Ql=(0,yt.getProp)(cr,"spaces",na,"after")||"",O_=(0,yt.getProp)(cr,"raws","spaces",na,"after")||Ql;(0,yt.ensureObject)(cr,"raws","spaces",na),cr.raws.spaces[na].after=O_+Mr}else{var zr=cr[na]||"",Vh=(0,yt.getProp)(cr,"raws",na)||zr;(0,yt.ensureObject)(cr,"raws"),cr.raws[na]=Vh+Mr}else gs=gs+Mr;break;default:return this.error('Unexpected "'+Mr+'" found.',{index:Ne[Be.FIELDS.START_POS]})}ni++}qa(cr,"attribute"),qa(cr,"namespace"),this.newNode(new z.default(cr)),this.position++},yr.parseWhitespaceEquivalentTokens=function(Ir){Ir<0&&(Ir=this.tokens.length);var lr=this.position,zi=[],cr="",ni=void 0;do if(Wt[this.currToken[Be.FIELDS.TYPE]])this.options.lossy||(cr+=this.content());else if(this.currToken[Be.FIELDS.TYPE]===Qe.comment){var li={};cr&&(li.before=cr,cr=""),ni=new y.default({value:this.content(),source:us(this.currToken),sourceIndex:this.currToken[Be.FIELDS.START_POS],spaces:li}),zi.push(ni)}while(++this.position<Ir);if(cr){if(ni)ni.spaces.after=cr;else if(!this.options.lossy){var gs=this.tokens[lr],na=this.tokens[this.position-1];zi.push(new N.default({value:"",source:ji(gs[Be.FIELDS.START_LINE],gs[Be.FIELDS.START_COL],na[Be.FIELDS.END_LINE],na[Be.FIELDS.END_COL]),sourceIndex:gs[Be.FIELDS.START_POS],spaces:{before:cr,after:""}}))}}return zi},yr.convertWhitespaceNodesToSpace=function(Ir,lr){var zi=this;lr===void 0&&(lr=!1);var cr="",ni="";Ir.forEach(function(gs){var na=zi.lossySpace(gs.spaces.before,lr),sr=zi.lossySpace(gs.rawSpaceBefore,lr);cr+=na+zi.lossySpace(gs.spaces.after,lr&&na.length===0),ni+=na+gs.value+zi.lossySpace(gs.rawSpaceAfter,lr&&sr.length===0)}),ni===cr&&(ni=void 0);var li={space:cr,rawSpace:ni};return li},yr.isNamedCombinator=function(Ir){return Ir===void 0&&(Ir=this.position),this.tokens[Ir+0]&&this.tokens[Ir+0][Be.FIELDS.TYPE]===Qe.slash&&this.tokens[Ir+1]&&this.tokens[Ir+1][Be.FIELDS.TYPE]===Qe.word&&this.tokens[Ir+2]&&this.tokens[Ir+2][Be.FIELDS.TYPE]===Qe.slash},yr.namedCombinator=function(){if(this.isNamedCombinator()){var Ir=this.content(this.tokens[this.position+1]),lr=(0,yt.unesc)(Ir).toLowerCase(),zi={};lr!==Ir&&(zi.value="/"+Ir+"/");var cr=new te.default({value:"/"+lr+"/",source:ji(this.currToken[Be.FIELDS.START_LINE],this.currToken[Be.FIELDS.START_COL],this.tokens[this.position+2][Be.FIELDS.END_LINE],this.tokens[this.position+2][Be.FIELDS.END_COL]),sourceIndex:this.currToken[Be.FIELDS.START_POS],raws:zi});return this.position=this.position+3,cr}else this.unexpected()},yr.combinator=function(){var Ir=this;if(this.content()==="|")return this.namespace();var lr=this.locateNextMeaningfulToken(this.position);if(lr<0||this.tokens[lr][Be.FIELDS.TYPE]===Qe.comma){var zi=this.parseWhitespaceEquivalentTokens(lr);if(zi.length>0){var cr=this.current.last;if(cr){var ni=this.convertWhitespaceNodesToSpace(zi),li=ni.space,gs=ni.rawSpace;gs!==void 0&&(cr.rawSpaceAfter+=gs),cr.spaces.after+=li}else zi.forEach(function(ao){return Ir.newNode(ao)})}return}var na=this.currToken,sr=void 0;lr>this.position&&(sr=this.parseWhitespaceEquivalentTokens(lr));var Ne;if(this.isNamedCombinator()?Ne=this.namedCombinator():this.currToken[Be.FIELDS.TYPE]===Qe.combinator?(Ne=new te.default({value:this.content(),source:us(this.currToken),sourceIndex:this.currToken[Be.FIELDS.START_POS]}),this.position++):Wt[this.currToken[Be.FIELDS.TYPE]]||sr||this.unexpected(),Ne){if(sr){var Mr=this.convertWhitespaceNodesToSpace(sr),wr=Mr.space,Ii=Mr.rawSpace;Ne.spaces.before=wr,Ne.rawSpaceBefore=Ii}}else{var Wi=this.convertWhitespaceNodesToSpace(sr,!0),Hs=Wi.space,ps=Wi.rawSpace;ps||(ps=Hs);var Ds={},es={spaces:{}};Hs.endsWith(" ")&&ps.endsWith(" ")?(Ds.before=Hs.slice(0,Hs.length-1),es.spaces.before=ps.slice(0,ps.length-1)):Hs.startsWith(" ")&&ps.startsWith(" ")?(Ds.after=Hs.slice(1),es.spaces.after=ps.slice(1)):es.value=ps,Ne=new te.default({value:" ",source:qt(na,this.tokens[this.position-1]),sourceIndex:na[Be.FIELDS.START_POS],spaces:Ds,raws:es})}return this.currToken&&this.currToken[Be.FIELDS.TYPE]===Qe.space&&(Ne.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(Ne)},yr.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var Ir=new u.default({source:{start:Sn(this.tokens[this.position+1])}});this.current.parent.append(Ir),this.current=Ir,this.position++},yr.comment=function(){var Ir=this.currToken;this.newNode(new y.default({value:this.content(),source:us(Ir),sourceIndex:Ir[Be.FIELDS.START_POS]})),this.position++},yr.error=function(Ir,lr){throw this.root.error(Ir,lr)},yr.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[Be.FIELDS.START_POS]})},yr.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[Be.FIELDS.START_POS])},yr.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[Be.FIELDS.START_POS])},yr.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[Be.FIELDS.START_POS])},yr.namespace=function(){var Ir=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[Be.FIELDS.TYPE]===Qe.word)return this.position++,this.word(Ir);if(this.nextToken[Be.FIELDS.TYPE]===Qe.asterisk)return this.position++,this.universal(Ir)},yr.nesting=function(){if(this.nextToken){var Ir=this.content(this.nextToken);if(Ir==="|"){this.position++;return}}var lr=this.currToken;this.newNode(new Oe.default({value:this.content(),source:us(lr),sourceIndex:lr[Be.FIELDS.START_POS]})),this.position++},yr.parentheses=function(){var Ir=this.current.last,lr=1;if(this.position++,Ir&&Ir.type===Ue.PSEUDO){var zi=new u.default({source:{start:Sn(this.tokens[this.position-1])}}),cr=this.current;for(Ir.append(zi),this.current=zi;this.position<this.tokens.length&&lr;)this.currToken[Be.FIELDS.TYPE]===Qe.openParenthesis&&lr++,this.currToken[Be.FIELDS.TYPE]===Qe.closeParenthesis&&lr--,lr?this.parse():(this.current.source.end=gr(this.currToken),this.current.parent.source.end=gr(this.currToken),this.position++);this.current=cr}else{for(var ni=this.currToken,li="(",gs;this.position<this.tokens.length&&lr;)this.currToken[Be.FIELDS.TYPE]===Qe.openParenthesis&&lr++,this.currToken[Be.FIELDS.TYPE]===Qe.closeParenthesis&&lr--,gs=this.currToken,li+=this.parseParenthesisToken(this.currToken),this.position++;Ir?Ir.appendToPropertyAndEscape("value",li,li):this.newNode(new N.default({value:li,source:ji(ni[Be.FIELDS.START_LINE],ni[Be.FIELDS.START_COL],gs[Be.FIELDS.END_LINE],gs[Be.FIELDS.END_COL]),sourceIndex:ni[Be.FIELDS.START_POS]}))}if(lr)return this.expected("closing parenthesis",this.currToken[Be.FIELDS.START_POS])},yr.pseudo=function(){for(var Ir=this,lr="",zi=this.currToken;this.currToken&&this.currToken[Be.FIELDS.TYPE]===Qe.colon;)lr+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[Be.FIELDS.TYPE]===Qe.word)this.splitWord(!1,function(cr,ni){lr+=cr,Ir.newNode(new j.default({value:lr,source:qt(zi,Ir.currToken),sourceIndex:zi[Be.FIELDS.START_POS]})),ni>1&&Ir.nextToken&&Ir.nextToken[Be.FIELDS.TYPE]===Qe.openParenthesis&&Ir.error("Misplaced parenthesis.",{index:Ir.nextToken[Be.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[Be.FIELDS.START_POS])},yr.space=function(){var Ir=this.content();this.position===0||this.prevToken[Be.FIELDS.TYPE]===Qe.comma||this.prevToken[Be.FIELDS.TYPE]===Qe.openParenthesis||this.current.nodes.every(function(lr){return lr.type==="comment"})?(this.spaces=this.optionalSpace(Ir),this.position++):this.position===this.tokens.length-1||this.nextToken[Be.FIELDS.TYPE]===Qe.comma||this.nextToken[Be.FIELDS.TYPE]===Qe.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(Ir),this.position++):this.combinator()},yr.string=function(){var Ir=this.currToken;this.newNode(new N.default({value:this.content(),source:us(Ir),sourceIndex:Ir[Be.FIELDS.START_POS]})),this.position++},yr.universal=function(Ir){var lr=this.nextToken;if(lr&&this.content(lr)==="|")return this.position++,this.namespace();var zi=this.currToken;this.newNode(new G.default({value:this.content(),source:us(zi),sourceIndex:zi[Be.FIELDS.START_POS]}),Ir),this.position++},yr.splitWord=function(Ir,lr){for(var zi=this,cr=this.nextToken,ni=this.content();cr&&~[Qe.dollar,Qe.caret,Qe.equals,Qe.word].indexOf(cr[Be.FIELDS.TYPE]);){this.position++;var li=this.content();if(ni+=li,li.lastIndexOf("\\")===li.length-1){var gs=this.nextToken;gs&&gs[Be.FIELDS.TYPE]===Qe.space&&(ni+=this.requiredSpace(this.content(gs)),this.position++)}cr=this.nextToken}var na=$s(ni,".").filter(function(wr){var Ii=ni[wr-1]==="\\",Wi=/^\d+\.\d+%$/.test(ni);return!Ii&&!Wi}),sr=$s(ni,"#").filter(function(wr){return ni[wr-1]!=="\\"}),Ne=$s(ni,"#{");Ne.length&&(sr=sr.filter(function(wr){return!~Ne.indexOf(wr)}));var Mr=(0,$e.default)($n([0].concat(na,sr)));Mr.forEach(function(wr,Ii){var Wi=Mr[Ii+1]||ni.length,Hs=ni.slice(wr,Wi);if(Ii===0&&lr)return lr.call(zi,Hs,Mr.length);var ps,Ds=zi.currToken,es=Ds[Be.FIELDS.START_POS]+Mr[Ii],ao=ji(Ds[1],Ds[2]+wr,Ds[3],Ds[2]+(Wi-1));if(~na.indexOf(wr)){var ha={value:Hs.slice(1),source:ao,sourceIndex:es};ps=new p.default(qa(ha,"value"))}else if(~sr.indexOf(wr)){var mo={value:Hs.slice(1),source:ao,sourceIndex:es};ps=new S.default(qa(mo,"value"))}else{var tc={value:Hs,source:ao,sourceIndex:es};qa(tc,"value"),ps=new A.default(tc)}zi.newNode(ps,Ir),Ir=null}),this.position++},yr.word=function(Ir){var lr=this.nextToken;return lr&&this.content(lr)==="|"?(this.position++,this.namespace()):this.splitWord(Ir)},yr.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},yr.parse=function(Ir){switch(this.currToken[Be.FIELDS.TYPE]){case Qe.space:this.space();break;case Qe.comment:this.comment();break;case Qe.openParenthesis:this.parentheses();break;case Qe.closeParenthesis:Ir&&this.missingParenthesis();break;case Qe.openSquare:this.attribute();break;case Qe.dollar:case Qe.caret:case Qe.equals:case Qe.word:this.word();break;case Qe.colon:this.pseudo();break;case Qe.comma:this.comma();break;case Qe.asterisk:this.universal();break;case Qe.ampersand:this.nesting();break;case Qe.slash:case Qe.combinator:this.combinator();break;case Qe.str:this.string();break;case Qe.closeSquare:this.missingSquareBracket();case Qe.semicolon:this.missingBackslash();default:this.unexpected()}},yr.expected=function(Ir,lr,zi){if(Array.isArray(Ir)){var cr=Ir.pop();Ir=Ir.join(", ")+" or "+cr}var ni=/^[aeiou]/.test(Ir[0])?"an":"a";return zi?this.error("Expected "+ni+" "+Ir+', found "'+zi+'" instead.',{index:lr}):this.error("Expected "+ni+" "+Ir+".",{index:lr})},yr.requiredSpace=function(Ir){return this.options.lossy?" ":Ir},yr.optionalSpace=function(Ir){return this.options.lossy?"":Ir},yr.lossySpace=function(Ir,lr){return this.options.lossy?lr?" ":"":Ir},yr.parseParenthesisToken=function(Ir){var lr=this.content(Ir);return Ir[Be.FIELDS.TYPE]===Qe.space?this.requiredSpace(lr):lr},yr.newNode=function(Ir,lr){return lr&&(/^ +$/.test(lr)&&(this.options.lossy||(this.spaces=(this.spaces||"")+lr),lr=!0),Ir.namespace=lr,qa(Ir,"namespace")),this.spaces&&(Ir.spaces.before=this.spaces,this.spaces=""),this.current.append(Ir)},yr.content=function(Ir){return Ir===void 0&&(Ir=this.currToken),this.css.slice(Ir[Be.FIELDS.START_POS],Ir[Be.FIELDS.END_POS])},yr.locateNextMeaningfulToken=function(Ir){Ir===void 0&&(Ir=this.position+1);for(var lr=Ir;lr<this.tokens.length;)if(pr[this.tokens[lr][Be.FIELDS.TYPE]]){lr++;continue}else return lr;return-1},kt(yn,[{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]}}]),yn}();i.default=ln,o.exports=i.default})(kLt,vQ);(function(o,i){i.__esModule=!0,i.default=void 0;var a=u(vQ);function u(y){return y&&y.__esModule?y:{default:y}}var p=function(){function y(A,N){this.func=A||function(){},this.funcRes=null,this.options=N}var S=y.prototype;return S._shouldUpdateSelector=function(N,j){j===void 0&&(j={});var z=Object.assign({},this.options,j);return z.updateSelector===!1?!1:typeof N!="string"},S._isLossy=function(N){N===void 0&&(N={});var j=Object.assign({},this.options,N);return j.lossless===!1},S._root=function(N,j){j===void 0&&(j={});var z=new a.default(N,this._parseOptions(j));return z.root},S._parseOptions=function(N){return{lossy:this._isLossy(N)}},S._run=function(N,j){var z=this;return j===void 0&&(j={}),new Promise(function(G,te){try{var Oe=z._root(N,j);Promise.resolve(z.func(Oe)).then(function($e){var Be=void 0;return z._shouldUpdateSelector(N,j)&&(Be=Oe.toString(),N.selector=Be),{transform:$e,root:Oe,string:Be}}).then(G,te)}catch($e){te($e);return}})},S._runSync=function(N,j){j===void 0&&(j={});var z=this._root(N,j),G=this.func(z);if(G&&typeof G.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var te=void 0;return j.updateSelector&&typeof N!="string"&&(te=z.toString(),N.selector=te),{transform:G,root:z,string:te}},S.ast=function(N,j){return this._run(N,j).then(function(z){return z.root})},S.astSync=function(N,j){return this._runSync(N,j).root},S.transform=function(N,j){return this._run(N,j).then(function(z){return z.transform})},S.transformSync=function(N,j){return this._runSync(N,j).transform},S.process=function(N,j){return this._run(N,j).then(function(z){return z.string||z.root.toString()})},S.processSync=function(N,j){var z=this._runSync(N,j);return z.string||z.root.toString()},y}();i.default=p,o.exports=i.default})(xLt,yQ);var XHe={},I_={};I_.__esModule=!0;I_.universal=I_.tag=I_.string=I_.selector=I_.root=I_.pseudo=I_.nesting=I_.id=I_.comment=I_.combinator=I_.className=I_.attribute=void 0;var VMt=Rb(rve),$Mt=Rb(MR),qMt=Rb(zR),WMt=Rb(FR),HMt=Rb(RR),GMt=Rb(VR),XMt=Rb(JR),QMt=Rb(IR),YMt=Rb(LR),ZMt=Rb(jR),KMt=Rb(BR),eFt=Rb(UR);function Rb(o){return o&&o.__esModule?o:{default:o}}var tFt=function(i){return new VMt.default(i)};I_.attribute=tFt;var rFt=function(i){return new $Mt.default(i)};I_.className=rFt;var nFt=function(i){return new qMt.default(i)};I_.combinator=nFt;var iFt=function(i){return new WMt.default(i)};I_.comment=iFt;var sFt=function(i){return new HMt.default(i)};I_.id=sFt;var aFt=function(i){return new GMt.default(i)};I_.nesting=aFt;var oFt=function(i){return new XMt.default(i)};I_.pseudo=oFt;var cFt=function(i){return new QMt.default(i)};I_.root=cFt;var lFt=function(i){return new YMt.default(i)};I_.selector=lFt;var uFt=function(i){return new ZMt.default(i)};I_.string=uFt;var fFt=function(i){return new KMt.default(i)};I_.tag=fFt;var _Ft=function(i){return new eFt.default(i)};I_.universal=_Ft;var tf={};tf.__esModule=!0;tf.isNode=nve;tf.isPseudoElement=ZHe;tf.isPseudoClass=xFt;tf.isContainer=kFt;tf.isNamespace=CFt;tf.isUniversal=tf.isTag=tf.isString=tf.isSelector=tf.isRoot=tf.isPseudo=tf.isNesting=tf.isIdentifier=tf.isComment=tf.isCombinator=tf.isClassName=tf.isAttribute=void 0;var vp=Tl,B0,pFt=(B0={},B0[vp.ATTRIBUTE]=!0,B0[vp.CLASS]=!0,B0[vp.COMBINATOR]=!0,B0[vp.COMMENT]=!0,B0[vp.ID]=!0,B0[vp.NESTING]=!0,B0[vp.PSEUDO]=!0,B0[vp.ROOT]=!0,B0[vp.SELECTOR]=!0,B0[vp.STRING]=!0,B0[vp.TAG]=!0,B0[vp.UNIVERSAL]=!0,B0);function nve(o){return typeof o=="object"&&pFt[o.type]}function Bb(o,i){return nve(i)&&i.type===o}var QHe=Bb.bind(null,vp.ATTRIBUTE);tf.isAttribute=QHe;var dFt=Bb.bind(null,vp.CLASS);tf.isClassName=dFt;var mFt=Bb.bind(null,vp.COMBINATOR);tf.isCombinator=mFt;var hFt=Bb.bind(null,vp.COMMENT);tf.isComment=hFt;var gFt=Bb.bind(null,vp.ID);tf.isIdentifier=gFt;var yFt=Bb.bind(null,vp.NESTING);tf.isNesting=yFt;var ive=Bb.bind(null,vp.PSEUDO);tf.isPseudo=ive;var vFt=Bb.bind(null,vp.ROOT);tf.isRoot=vFt;var bFt=Bb.bind(null,vp.SELECTOR);tf.isSelector=bFt;var TFt=Bb.bind(null,vp.STRING);tf.isString=TFt;var YHe=Bb.bind(null,vp.TAG);tf.isTag=YHe;var SFt=Bb.bind(null,vp.UNIVERSAL);tf.isUniversal=SFt;function ZHe(o){return ive(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 xFt(o){return ive(o)&&!ZHe(o)}function kFt(o){return!!(nve(o)&&o.walk)}function CFt(o){return QHe(o)||YHe(o)}(function(o){o.__esModule=!0;var i=Tl;Object.keys(i).forEach(function(p){p==="default"||p==="__esModule"||p in o&&o[p]===i[p]||(o[p]=i[p])});var a=I_;Object.keys(a).forEach(function(p){p==="default"||p==="__esModule"||p in o&&o[p]===a[p]||(o[p]=a[p])});var u=tf;Object.keys(u).forEach(function(p){p==="default"||p==="__esModule"||p in o&&o[p]===u[p]||(o[p]=u[p])})})(XHe);(function(o,i){i.__esModule=!0,i.default=void 0;var a=S(yQ),u=y(XHe);function p(){if(typeof WeakMap!="function")return null;var j=new WeakMap;return p=function(){return j},j}function y(j){if(j&&j.__esModule)return j;if(j===null||typeof j!="object"&&typeof j!="function")return{default:j};var z=p();if(z&&z.has(j))return z.get(j);var G={},te=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Oe in j)if(Object.prototype.hasOwnProperty.call(j,Oe)){var $e=te?Object.getOwnPropertyDescriptor(j,Oe):null;$e&&($e.get||$e.set)?Object.defineProperty(G,Oe,$e):G[Oe]=j[Oe]}return G.default=j,z&&z.set(j,G),G}function S(j){return j&&j.__esModule?j:{default:j}}var A=function(z){return new a.default(z)};Object.assign(A,u),delete A.__esModule;var N=A;i.default=N,o.exports=i.default})(SLt,gQ);var kye=X3t(gQ);const wFt=/^(-\w+-)?animation-name$/,EFt=/^(-\w+-)?animation$/,KHe=(o="")=>{const i=Object.create(null),a=o.replace(/^data-v-/,"");return{postcssPlugin:"vue-sfc-scoped",Rule(u){AFt(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=>{wFt.test(p.prop)&&(p.value=p.value.split(",").map(y=>i[y.trim()]||y.trim()).join(",")),EFt.test(p.prop)&&(p.value=p.value.split(",").map(y=>{const S=y.trim().split(/\s+/),A=S.findIndex(N=>i[N]);return A!==-1?(S.splice(A,1,i[S[A]]),S.join(" ")):y}).join(","))})}}},UUe=new WeakSet;function AFt(o,i){UUe.has(i)||i.parent&&i.parent.type==="atrule"&&/-?keyframes$/.test(i.parent.name)||(UUe.add(i),i.selector=kye(a=>{a.each(u=>{eGe(o,u,a)})}).processSync(i.selector))}function eGe(o,i,a,u=!1){let p=null,y=!0;if(i.each(S=>{if(S.type==="combinator"&&(S.value===">>>"||S.value==="/deep/"))return S.value=" ",S.spaces.before=S.spaces.after="",cye("the >>> and /deep/ combinators have been deprecated. Use :deep() instead."),!1;if(S.type==="pseudo"){const{value:A}=S;if(A===":deep"||A==="::v-deep"){if(S.nodes.length){let N=S;S.nodes[0].each(z=>{i.insertAfter(N,z),N=z});const j=i.at(i.index(S)-1);(!j||!zUe(j))&&i.insertAfter(S,kye.combinator({value:" "})),i.removeChild(S)}else{cye("::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead.");const N=i.at(i.index(S)-1);N&&zUe(N)&&i.removeChild(N),i.removeChild(S)}return!1}if(A===":slotted"||A==="::v-slotted"){eGe(o,S.nodes[0],a,!0);let N=S;return S.nodes[0].each(j=>{i.insertAfter(N,j),N=j}),i.removeChild(S),y=!1,!1}if(A===":global"||A==="::v-global")return a.insertAfter(i,S.nodes[0]),a.removeChild(i),!1}S.type!=="pseudo"&&S.type!=="combinator"&&(p=S)}),p?p.spaces.after="":i.first.spaces.before="",y){const S=u?o+"-s":o;i.insertAfter(p,kye.attribute({attribute:S,value:S,raws:{},quoteMark:'"'}))}}function zUe(o){return o.type==="combinator"&&/^\s+$/.test(o.value)}KHe.postcss=!0;var PFt=KHe,BY={},sve={},jY={},ave={},VUe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");ave.encode=function(o){if(0<=o&&o<VUe.length)return VUe[o];throw new TypeError("Must be between 0 and 63: "+o)};ave.decode=function(o){var i=65,a=90,u=97,p=122,y=48,S=57,A=43,N=47,j=26,z=52;return i<=o&&o<=a?o-i:u<=o&&o<=p?o-u+j:y<=o&&o<=S?o-y+z:o==A?62:o==N?63:-1};var tGe=ave,ove=5,rGe=1<<ove,nGe=rGe-1,iGe=rGe;function DFt(o){return o<0?(-o<<1)+1:(o<<1)+0}function NFt(o){var i=(o&1)===1,a=o>>1;return i?-a:a}jY.encode=function(i){var a="",u,p=DFt(i);do u=p&nGe,p>>>=ove,p>0&&(u|=iGe),a+=tGe.encode(u);while(p>0);return a};jY.decode=function(i,a,u){var p=i.length,y=0,S=0,A,N;do{if(a>=p)throw new Error("Expected more digits in base 64 VLQ value.");if(N=tGe.decode(i.charCodeAt(a++)),N===-1)throw new Error("Invalid base64 digit: "+i.charAt(a-1));A=!!(N&iGe),N&=nGe,y=y+(N<<S),S+=ove}while(A);u.value=NFt(y),u.rest=a};var rI={};(function(o){function i(Ve,Ft,ir){if(Ft in Ve)return Ve[Ft];if(arguments.length===3)return ir;throw new Error('"'+Ft+'" is a required argument.')}o.getArg=i;var a=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,u=/^data:.+\,.+$/;function p(Ve){var Ft=Ve.match(a);return Ft?{scheme:Ft[1],auth:Ft[2],host:Ft[3],port:Ft[4],path:Ft[5]}:null}o.urlParse=p;function y(Ve){var Ft="";return Ve.scheme&&(Ft+=Ve.scheme+":"),Ft+="//",Ve.auth&&(Ft+=Ve.auth+"@"),Ve.host&&(Ft+=Ve.host),Ve.port&&(Ft+=":"+Ve.port),Ve.path&&(Ft+=Ve.path),Ft}o.urlGenerate=y;function S(Ve){var Ft=Ve,ir=p(Ve);if(ir){if(!ir.path)return Ve;Ft=ir.path}for(var kr=o.isAbsolute(Ft),Ot=Ft.split(/\/+/),kt,Wt=0,pr=Ot.length-1;pr>=0;pr--)kt=Ot[pr],kt==="."?Ot.splice(pr,1):kt===".."?Wt++:Wt>0&&(kt===""?(Ot.splice(pr+1,Wt),Wt=0):(Ot.splice(pr,2),Wt--));return Ft=Ot.join("/"),Ft===""&&(Ft=kr?"/":"."),ir?(ir.path=Ft,y(ir)):Ft}o.normalize=S;function A(Ve,Ft){Ve===""&&(Ve="."),Ft===""&&(Ft=".");var ir=p(Ft),kr=p(Ve);if(kr&&(Ve=kr.path||"/"),ir&&!ir.scheme)return kr&&(ir.scheme=kr.scheme),y(ir);if(ir||Ft.match(u))return Ft;if(kr&&!kr.host&&!kr.path)return kr.host=Ft,y(kr);var Ot=Ft.charAt(0)==="/"?Ft:S(Ve.replace(/\/+$/,"")+"/"+Ft);return kr?(kr.path=Ot,y(kr)):Ot}o.join=A,o.isAbsolute=function(Ve){return Ve.charAt(0)==="/"||a.test(Ve)};function N(Ve,Ft){Ve===""&&(Ve="."),Ve=Ve.replace(/\/$/,"");for(var ir=0;Ft.indexOf(Ve+"/")!==0;){var kr=Ve.lastIndexOf("/");if(kr<0||(Ve=Ve.slice(0,kr),Ve.match(/^([^\/]+:\/)?\/*$/)))return Ft;++ir}return Array(ir+1).join("../")+Ft.substr(Ve.length+1)}o.relative=N;var j=function(){var Ve=Object.create(null);return!("__proto__"in Ve)}();function z(Ve){return Ve}function G(Ve){return Oe(Ve)?"$"+Ve:Ve}o.toSetString=j?z:G;function te(Ve){return Oe(Ve)?Ve.slice(1):Ve}o.fromSetString=j?z:te;function Oe(Ve){if(!Ve)return!1;var Ft=Ve.length;if(Ft<9||Ve.charCodeAt(Ft-1)!==95||Ve.charCodeAt(Ft-2)!==95||Ve.charCodeAt(Ft-3)!==111||Ve.charCodeAt(Ft-4)!==116||Ve.charCodeAt(Ft-5)!==111||Ve.charCodeAt(Ft-6)!==114||Ve.charCodeAt(Ft-7)!==112||Ve.charCodeAt(Ft-8)!==95||Ve.charCodeAt(Ft-9)!==95)return!1;for(var ir=Ft-10;ir>=0;ir--)if(Ve.charCodeAt(ir)!==36)return!1;return!0}function $e(Ve,Ft,ir){var kr=Qe(Ve.source,Ft.source);return kr!==0||(kr=Ve.originalLine-Ft.originalLine,kr!==0)||(kr=Ve.originalColumn-Ft.originalColumn,kr!==0||ir)||(kr=Ve.generatedColumn-Ft.generatedColumn,kr!==0)||(kr=Ve.generatedLine-Ft.generatedLine,kr!==0)?kr:Qe(Ve.name,Ft.name)}o.compareByOriginalPositions=$e;function Be(Ve,Ft,ir){var kr=Ve.generatedLine-Ft.generatedLine;return kr!==0||(kr=Ve.generatedColumn-Ft.generatedColumn,kr!==0||ir)||(kr=Qe(Ve.source,Ft.source),kr!==0)||(kr=Ve.originalLine-Ft.originalLine,kr!==0)||(kr=Ve.originalColumn-Ft.originalColumn,kr!==0)?kr:Qe(Ve.name,Ft.name)}o.compareByGeneratedPositionsDeflated=Be;function Qe(Ve,Ft){return Ve===Ft?0:Ve===null?1:Ft===null?-1:Ve>Ft?1:-1}function Ue(Ve,Ft){var ir=Ve.generatedLine-Ft.generatedLine;return ir!==0||(ir=Ve.generatedColumn-Ft.generatedColumn,ir!==0)||(ir=Qe(Ve.source,Ft.source),ir!==0)||(ir=Ve.originalLine-Ft.originalLine,ir!==0)||(ir=Ve.originalColumn-Ft.originalColumn,ir!==0)?ir:Qe(Ve.name,Ft.name)}o.compareByGeneratedPositionsInflated=Ue;function yt(Ve){return JSON.parse(Ve.replace(/^\)]}'[^\n]*\n/,""))}o.parseSourceMapInput=yt;function ot(Ve,Ft,ir){if(Ft=Ft||"",Ve&&(Ve[Ve.length-1]!=="/"&&Ft[0]!=="/"&&(Ve+="/"),Ft=Ve+Ft),ir){var kr=p(ir);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))}Ft=A(y(kr),Ft)}return S(Ft)}o.computeSourceURL=ot})(rI);var cve={},lve=rI,uve=Object.prototype.hasOwnProperty,M3=typeof Map<"u";function MC(){this._array=[],this._set=M3?new Map:Object.create(null)}MC.fromArray=function(i,a){for(var u=new MC,p=0,y=i.length;p<y;p++)u.add(i[p],a);return u};MC.prototype.size=function(){return M3?this._set.size:Object.getOwnPropertyNames(this._set).length};MC.prototype.add=function(i,a){var u=M3?i:lve.toSetString(i),p=M3?this.has(i):uve.call(this._set,u),y=this._array.length;(!p||a)&&this._array.push(i),p||(M3?this._set.set(i,y):this._set[u]=y)};MC.prototype.has=function(i){if(M3)return this._set.has(i);var a=lve.toSetString(i);return uve.call(this._set,a)};MC.prototype.indexOf=function(i){if(M3){var a=this._set.get(i);if(a>=0)return a}else{var u=lve.toSetString(i);if(uve.call(this._set,u))return this._set[u]}throw new Error('"'+i+'" is not in the set.')};MC.prototype.at=function(i){if(i>=0&&i<this._array.length)return this._array[i];throw new Error("No element indexed by "+i)};MC.prototype.toArray=function(){return this._array.slice()};cve.ArraySet=MC;var sGe={},aGe=rI;function IFt(o,i){var a=o.generatedLine,u=i.generatedLine,p=o.generatedColumn,y=i.generatedColumn;return u>a||u==a&&y>=p||aGe.compareByGeneratedPositionsInflated(o,i)<=0}function JY(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}JY.prototype.unsortedForEach=function(i,a){this._array.forEach(i,a)};JY.prototype.add=function(i){IFt(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=!1,this._array.push(i))};JY.prototype.toArray=function(){return this._sorted||(this._array.sort(aGe.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};sGe.MappingList=JY;var NF=jY,Gd=rI,kQ=cve.ArraySet,OFt=sGe.MappingList;function Fb(o){o||(o={}),this._file=Gd.getArg(o,"file",null),this._sourceRoot=Gd.getArg(o,"sourceRoot",null),this._skipValidation=Gd.getArg(o,"skipValidation",!1),this._sources=new kQ,this._names=new kQ,this._mappings=new OFt,this._sourcesContents=null}Fb.prototype._version=3;Fb.fromSourceMap=function(i){var a=i.sourceRoot,u=new Fb({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=Gd.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=Gd.relative(a,p)),u._sources.has(y)||u._sources.add(y);var S=i.sourceContentFor(p);S!=null&&u.setSourceContent(p,S)}),u};Fb.prototype.addMapping=function(i){var a=Gd.getArg(i,"generated"),u=Gd.getArg(i,"original",null),p=Gd.getArg(i,"source",null),y=Gd.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})};Fb.prototype.setSourceContent=function(i,a){var u=i;this._sourceRoot!=null&&(u=Gd.relative(this._sourceRoot,u)),a!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Gd.toSetString(u)]=a):this._sourcesContents&&(delete this._sourcesContents[Gd.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Fb.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=Gd.relative(y,p));var S=new kQ,A=new kQ;this._mappings.unsortedForEach(function(N){if(N.source===p&&N.originalLine!=null){var j=i.originalPositionFor({line:N.originalLine,column:N.originalColumn});j.source!=null&&(N.source=j.source,u!=null&&(N.source=Gd.join(u,N.source)),y!=null&&(N.source=Gd.relative(y,N.source)),N.originalLine=j.line,N.originalColumn=j.column,j.name!=null&&(N.name=j.name))}var z=N.source;z!=null&&!S.has(z)&&S.add(z);var G=N.name;G!=null&&!A.has(G)&&A.add(G)},this),this._sources=S,this._names=A,i.sources.forEach(function(N){var j=i.sourceContentFor(N);j!=null&&(u!=null&&(N=Gd.join(u,N)),y!=null&&(N=Gd.relative(y,N)),this.setSourceContent(N,j))},this)};Fb.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}))}};Fb.prototype._serializeMappings=function(){for(var i=0,a=1,u=0,p=0,y=0,S=0,A="",N,j,z,G,te=this._mappings.toArray(),Oe=0,$e=te.length;Oe<$e;Oe++){if(j=te[Oe],N="",j.generatedLine!==a)for(i=0;j.generatedLine!==a;)N+=";",a++;else if(Oe>0){if(!Gd.compareByGeneratedPositionsInflated(j,te[Oe-1]))continue;N+=","}N+=NF.encode(j.generatedColumn-i),i=j.generatedColumn,j.source!=null&&(G=this._sources.indexOf(j.source),N+=NF.encode(G-S),S=G,N+=NF.encode(j.originalLine-1-p),p=j.originalLine-1,N+=NF.encode(j.originalColumn-u),u=j.originalColumn,j.name!=null&&(z=this._names.indexOf(j.name),N+=NF.encode(z-y),y=z)),A+=N}return A};Fb.prototype._generateSourcesContent=function(i,a){return i.map(function(u){if(!this._sourcesContents)return null;a!=null&&(u=Gd.relative(a,u));var p=Gd.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,p)?this._sourcesContents[p]:null},this)};Fb.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};Fb.prototype.toString=function(){return JSON.stringify(this.toJSON())};sve.SourceMapGenerator=Fb;var UY={},oGe={};(function(o){o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2;function i(a,u,p,y,S,A){var N=Math.floor((u-a)/2)+a,j=S(p,y[N],!0);return j===0?N:j>0?u-N>1?i(N,u,p,y,S,A):A==o.LEAST_UPPER_BOUND?u<y.length?u:-1:N:N-a>1?i(a,N,p,y,S,A):A==o.LEAST_UPPER_BOUND?N:a<0?-1:a}o.search=function(u,p,y,S){if(p.length===0)return-1;var A=i(-1,p.length,u,p,y,S||o.GREATEST_LOWER_BOUND);if(A<0)return-1;for(;A-1>=0&&y(p[A],p[A-1],!0)===0;)--A;return A}})(oGe);var cGe={};function oge(o,i,a){var u=o[i];o[i]=o[a],o[a]=u}function LFt(o,i){return Math.round(o+Math.random()*(i-o))}function Cye(o,i,a,u){if(a<u){var p=LFt(a,u),y=a-1;oge(o,p,u);for(var S=o[u],A=a;A<u;A++)i(o[A],S)<=0&&(y+=1,oge(o,y,A));oge(o,y+1,A);var N=y+1;Cye(o,i,a,N-1),Cye(o,i,N+1,u)}}cGe.quickSort=function(o,i){Cye(o,i,0,o.length-1)};var wo=rI,fve=oGe,F7=cve.ArraySet,MFt=jY,$R=cGe.quickSort;function K_(o,i){var a=o;return typeof o=="string"&&(a=wo.parseSourceMapInput(o)),a.sections!=null?new hT(a,i):new Uh(a,i)}K_.fromSourceMap=function(o,i){return Uh.fromSourceMap(o,i)};K_.prototype._version=3;K_.prototype.__generatedMappings=null;Object.defineProperty(K_.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});K_.prototype.__originalMappings=null;Object.defineProperty(K_.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});K_.prototype._charIsMappingSeparator=function(i,a){var u=i.charAt(a);return u===";"||u===","};K_.prototype._parseMappings=function(i,a){throw new Error("Subclasses must implement _parseMappings")};K_.GENERATED_ORDER=1;K_.ORIGINAL_ORDER=2;K_.GREATEST_LOWER_BOUND=1;K_.LEAST_UPPER_BOUND=2;K_.prototype.eachMapping=function(i,a,u){var p=a||null,y=u||K_.GENERATED_ORDER,S;switch(y){case K_.GENERATED_ORDER:S=this._generatedMappings;break;case K_.ORIGINAL_ORDER:S=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var A=this.sourceRoot;S.map(function(N){var j=N.source===null?null:this._sources.at(N.source);return j=wo.computeSourceURL(A,j,this._sourceMapURL),{source:j,generatedLine:N.generatedLine,generatedColumn:N.generatedColumn,originalLine:N.originalLine,originalColumn:N.originalColumn,name:N.name===null?null:this._names.at(N.name)}},this).forEach(i,p)};K_.prototype.allGeneratedPositionsFor=function(i){var a=wo.getArg(i,"line"),u={source:wo.getArg(i,"source"),originalLine:a,originalColumn:wo.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",wo.compareByOriginalPositions,fve.LEAST_UPPER_BOUND);if(y>=0){var S=this._originalMappings[y];if(i.column===void 0)for(var A=S.originalLine;S&&S.originalLine===A;)p.push({line:wo.getArg(S,"generatedLine",null),column:wo.getArg(S,"generatedColumn",null),lastColumn:wo.getArg(S,"lastGeneratedColumn",null)}),S=this._originalMappings[++y];else for(var N=S.originalColumn;S&&S.originalLine===a&&S.originalColumn==N;)p.push({line:wo.getArg(S,"generatedLine",null),column:wo.getArg(S,"generatedColumn",null),lastColumn:wo.getArg(S,"lastGeneratedColumn",null)}),S=this._originalMappings[++y]}return p};UY.SourceMapConsumer=K_;function Uh(o,i){var a=o;typeof o=="string"&&(a=wo.parseSourceMapInput(o));var u=wo.getArg(a,"version"),p=wo.getArg(a,"sources"),y=wo.getArg(a,"names",[]),S=wo.getArg(a,"sourceRoot",null),A=wo.getArg(a,"sourcesContent",null),N=wo.getArg(a,"mappings"),j=wo.getArg(a,"file",null);if(u!=this._version)throw new Error("Unsupported version: "+u);S&&(S=wo.normalize(S)),p=p.map(String).map(wo.normalize).map(function(z){return S&&wo.isAbsolute(S)&&wo.isAbsolute(z)?wo.relative(S,z):z}),this._names=F7.fromArray(y.map(String),!0),this._sources=F7.fromArray(p,!0),this._absoluteSources=this._sources.toArray().map(function(z){return wo.computeSourceURL(S,z,i)}),this.sourceRoot=S,this.sourcesContent=A,this._mappings=N,this._sourceMapURL=i,this.file=j}Uh.prototype=Object.create(K_.prototype);Uh.prototype.consumer=K_;Uh.prototype._findSourceIndex=function(o){var i=o;if(this.sourceRoot!=null&&(i=wo.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};Uh.fromSourceMap=function(i,a){var u=Object.create(Uh.prototype),p=u._names=F7.fromArray(i._names.toArray(),!0),y=u._sources=F7.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(Oe){return wo.computeSourceURL(u.sourceRoot,Oe,a)});for(var S=i._mappings.toArray().slice(),A=u.__generatedMappings=[],N=u.__originalMappings=[],j=0,z=S.length;j<z;j++){var G=S[j],te=new lGe;te.generatedLine=G.generatedLine,te.generatedColumn=G.generatedColumn,G.source&&(te.source=y.indexOf(G.source),te.originalLine=G.originalLine,te.originalColumn=G.originalColumn,G.name&&(te.name=p.indexOf(G.name)),N.push(te)),A.push(te)}return $R(u.__originalMappings,wo.compareByOriginalPositions),u};Uh.prototype._version=3;Object.defineProperty(Uh.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function lGe(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}Uh.prototype._parseMappings=function(i,a){for(var u=1,p=0,y=0,S=0,A=0,N=0,j=i.length,z=0,G={},te={},Oe=[],$e=[],Be,Qe,Ue,yt,ot;z<j;)if(i.charAt(z)===";")u++,z++,p=0;else if(i.charAt(z)===",")z++;else{for(Be=new lGe,Be.generatedLine=u,yt=z;yt<j&&!this._charIsMappingSeparator(i,yt);yt++);if(Qe=i.slice(z,yt),Ue=G[Qe],Ue)z+=Qe.length;else{for(Ue=[];z<yt;)MFt.decode(i,z,te),ot=te.value,z=te.rest,Ue.push(ot);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");G[Qe]=Ue}Be.generatedColumn=p+Ue[0],p=Be.generatedColumn,Ue.length>1&&(Be.source=A+Ue[1],A+=Ue[1],Be.originalLine=y+Ue[2],y=Be.originalLine,Be.originalLine+=1,Be.originalColumn=S+Ue[3],S=Be.originalColumn,Ue.length>4&&(Be.name=N+Ue[4],N+=Ue[4])),$e.push(Be),typeof Be.originalLine=="number"&&Oe.push(Be)}$R($e,wo.compareByGeneratedPositionsDeflated),this.__generatedMappings=$e,$R(Oe,wo.compareByOriginalPositions),this.__originalMappings=Oe};Uh.prototype._findMapping=function(i,a,u,p,y,S){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 fve.search(i,a,y,S)};Uh.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}};Uh.prototype.originalPositionFor=function(i){var a={generatedLine:wo.getArg(i,"line"),generatedColumn:wo.getArg(i,"column")},u=this._findMapping(a,this._generatedMappings,"generatedLine","generatedColumn",wo.compareByGeneratedPositionsDeflated,wo.getArg(i,"bias",K_.GREATEST_LOWER_BOUND));if(u>=0){var p=this._generatedMappings[u];if(p.generatedLine===a.generatedLine){var y=wo.getArg(p,"source",null);y!==null&&(y=this._sources.at(y),y=wo.computeSourceURL(this.sourceRoot,y,this._sourceMapURL));var S=wo.getArg(p,"name",null);return S!==null&&(S=this._names.at(S)),{source:y,line:wo.getArg(p,"originalLine",null),column:wo.getArg(p,"originalColumn",null),name:S}}}return{source:null,line:null,column:null,name:null}};Uh.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(i){return i==null}):!1};Uh.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=wo.relative(this.sourceRoot,p));var y;if(this.sourceRoot!=null&&(y=wo.urlParse(this.sourceRoot))){var S=p.replace(/^file:\/\//,"");if(y.scheme=="file"&&this._sources.has(S))return this.sourcesContent[this._sources.indexOf(S)];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.')};Uh.prototype.generatedPositionFor=function(i){var a=wo.getArg(i,"source");if(a=this._findSourceIndex(a),a<0)return{line:null,column:null,lastColumn:null};var u={source:a,originalLine:wo.getArg(i,"line"),originalColumn:wo.getArg(i,"column")},p=this._findMapping(u,this._originalMappings,"originalLine","originalColumn",wo.compareByOriginalPositions,wo.getArg(i,"bias",K_.GREATEST_LOWER_BOUND));if(p>=0){var y=this._originalMappings[p];if(y.source===u.source)return{line:wo.getArg(y,"generatedLine",null),column:wo.getArg(y,"generatedColumn",null),lastColumn:wo.getArg(y,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};UY.BasicSourceMapConsumer=Uh;function hT(o,i){var a=o;typeof o=="string"&&(a=wo.parseSourceMapInput(o));var u=wo.getArg(a,"version"),p=wo.getArg(a,"sections");if(u!=this._version)throw new Error("Unsupported version: "+u);this._sources=new F7,this._names=new F7;var y={line:-1,column:0};this._sections=p.map(function(S){if(S.url)throw new Error("Support for url field in sections not implemented.");var A=wo.getArg(S,"offset"),N=wo.getArg(A,"line"),j=wo.getArg(A,"column");if(N<y.line||N===y.line&&j<y.column)throw new Error("Section offsets must be ordered and non-overlapping.");return y=A,{generatedOffset:{generatedLine:N+1,generatedColumn:j+1},consumer:new K_(wo.getArg(S,"map"),i)}})}hT.prototype=Object.create(K_.prototype);hT.prototype.constructor=K_;hT.prototype._version=3;Object.defineProperty(hT.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}});hT.prototype.originalPositionFor=function(i){var a={generatedLine:wo.getArg(i,"line"),generatedColumn:wo.getArg(i,"column")},u=fve.search(a,this._sections,function(y,S){var A=y.generatedLine-S.generatedOffset.generatedLine;return A||y.generatedColumn-S.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}};hT.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(i){return i.consumer.hasContentsOfAllSources()})};hT.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.')};hT.prototype.generatedPositionFor=function(i){for(var a=0;a<this._sections.length;a++){var u=this._sections[a];if(u.consumer._findSourceIndex(wo.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}};hT.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,S=0;S<y.length;S++){var A=y[S],N=p.consumer._sources.at(A.source);N=wo.computeSourceURL(p.consumer.sourceRoot,N,this._sourceMapURL),this._sources.add(N),N=this._sources.indexOf(N);var j=null;A.name&&(j=p.consumer._names.at(A.name),this._names.add(j),j=this._names.indexOf(j));var z={source:N,generatedLine:A.generatedLine+(p.generatedOffset.generatedLine-1),generatedColumn:A.generatedColumn+(p.generatedOffset.generatedLine===A.generatedLine?p.generatedOffset.generatedColumn-1:0),originalLine:A.originalLine,originalColumn:A.originalColumn,name:j};this.__generatedMappings.push(z),typeof z.originalLine=="number"&&this.__originalMappings.push(z)}$R(this.__generatedMappings,wo.compareByGeneratedPositionsDeflated),$R(this.__originalMappings,wo.compareByOriginalPositions)};UY.IndexedSourceMapConsumer=hT;var uGe={},FFt=sve.SourceMapGenerator,CQ=rI,RFt=/(\r?\n)/,BFt=10,nI="$$$isSourceNode$$$";function _v(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[nI]=!0,u!=null&&this.add(u)}_v.fromStringWithSourceMap=function(i,a,u){var p=new _v,y=i.split(RFt),S=0,A=function(){var te=$e(),Oe=$e()||"";return te+Oe;function $e(){return S<y.length?y[S++]:void 0}},N=1,j=0,z=null;return a.eachMapping(function(te){if(z!==null)if(N<te.generatedLine)G(z,A()),N++,j=0;else{var Oe=y[S]||"",$e=Oe.substr(0,te.generatedColumn-j);y[S]=Oe.substr(te.generatedColumn-j),j=te.generatedColumn,G(z,$e),z=te;return}for(;N<te.generatedLine;)p.add(A()),N++;if(j<te.generatedColumn){var Oe=y[S]||"";p.add(Oe.substr(0,te.generatedColumn)),y[S]=Oe.substr(te.generatedColumn),j=te.generatedColumn}z=te},this),S<y.length&&(z&&G(z,A()),p.add(y.splice(S).join(""))),a.sources.forEach(function(te){var Oe=a.sourceContentFor(te);Oe!=null&&(u!=null&&(te=CQ.join(u,te)),p.setSourceContent(te,Oe))}),p;function G(te,Oe){if(te===null||te.source===void 0)p.add(Oe);else{var $e=u?CQ.join(u,te.source):te.source;p.add(new _v(te.originalLine,te.originalColumn,$e,Oe,te.name))}}};_v.prototype.add=function(i){if(Array.isArray(i))i.forEach(function(a){this.add(a)},this);else if(i[nI]||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};_v.prototype.prepend=function(i){if(Array.isArray(i))for(var a=i.length-1;a>=0;a--)this.prepend(i[a]);else if(i[nI]||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};_v.prototype.walk=function(i){for(var a,u=0,p=this.children.length;u<p;u++)a=this.children[u],a[nI]?a.walk(i):a!==""&&i(a,{source:this.source,line:this.line,column:this.column,name:this.name})};_v.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};_v.prototype.replaceRight=function(i,a){var u=this.children[this.children.length-1];return u[nI]?u.replaceRight(i,a):typeof u=="string"?this.children[this.children.length-1]=u.replace(i,a):this.children.push("".replace(i,a)),this};_v.prototype.setSourceContent=function(i,a){this.sourceContents[CQ.toSetString(i)]=a};_v.prototype.walkSourceContents=function(i){for(var a=0,u=this.children.length;a<u;a++)this.children[a][nI]&&this.children[a].walkSourceContents(i);for(var p=Object.keys(this.sourceContents),a=0,u=p.length;a<u;a++)i(CQ.fromSetString(p[a]),this.sourceContents[p[a]])};_v.prototype.toString=function(){var i="";return this.walk(function(a){i+=a}),i};_v.prototype.toStringWithSourceMap=function(i){var a={code:"",line:1,column:0},u=new FFt(i),p=!1,y=null,S=null,A=null,N=null;return this.walk(function(j,z){a.code+=j,z.source!==null&&z.line!==null&&z.column!==null?((y!==z.source||S!==z.line||A!==z.column||N!==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,S=z.line,A=z.column,N=z.name,p=!0):p&&(u.addMapping({generated:{line:a.line,column:a.column}}),y=null,p=!1);for(var G=0,te=j.length;G<te;G++)j.charCodeAt(G)===BFt?(a.line++,a.column=0,G+1===te?(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(j,z){u.setSourceContent(j,z)}),{code:a.code,map:u}};uGe.SourceNode=_v;BY.SourceMapGenerator=sve.SourceMapGenerator;BY.SourceMapConsumer=UY.SourceMapConsumer;BY.SourceNode=uGe.SourceNode;var fGe=BY,$Ue=fGe.SourceMapConsumer,jFt=fGe.SourceMapGenerator,JFt=UFt;function UFt(o,i){if(!o)return i;if(!i)return o;var a=new $Ue(o),u=new $Ue(i),p=new jFt;u.eachMapping(function(S){if(S.originalLine!=null){var A=a.originalPositionFor({line:S.originalLine,column:S.originalColumn});A.source!=null&&p.addMapping({original:{line:A.line,column:A.column},generated:{line:S.generatedLine,column:S.generatedColumn},source:A.source,name:A.name})}});var y=[a,u];return y.forEach(function(S){S.sources.forEach(function(A){p._sources.add(A);var N=S.sourceContentFor(A);N!=null&&p.setSourceContent(A,N)})}),p._sourceRoot=o.sourceRoot,p._file=o.file,JSON.parse(p.toString())}var _ve=JFt,zFt=Object.defineProperty,VFt=Object.defineProperties,$Ft=Object.getOwnPropertyDescriptors,qUe=Object.getOwnPropertySymbols,qFt=Object.prototype.hasOwnProperty,WFt=Object.prototype.propertyIsEnumerable,WUe=(o,i,a)=>i in o?zFt(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,pve=(o,i)=>{for(var a in i||(i={}))qFt.call(i,a)&&WUe(o,a,i[a]);if(qUe)for(var a of qUe(i))WFt.call(i,a)&&WUe(o,a,i[a]);return o},dve=(o,i)=>VFt(o,$Ft(i));const _Ge=(o,i,a,u=require)=>{const p=u("sass"),y=dve(pve({},a),{data:pGe(o,a.filename,a.additionalData),file:a.filename,outFile:a.filename,sourceMap:!!i});try{const S=p.renderSync(y),A=S.stats.includedFiles;return i?{code:S.css.toString(),map:_ve(i,JSON.parse(S.map.toString())),errors:[],dependencies:A}:{code:S.css.toString(),errors:[],dependencies:A}}catch(S){return{code:"",errors:[S],dependencies:[]}}},HFt=(o,i,a,u)=>_Ge(o,i,dve(pve({},a),{indentedSyntax:!0}),u),GFt=(o,i,a,u=require)=>{const p=u("less");let y,S=null;if(p.render(pGe(o,a.filename,a.additionalData),dve(pve({},a),{syncImport:!0}),(N,j)=>{S=N,y=j}),S)return{code:"",errors:[S],dependencies:[]};const A=y.imports;return i?{code:y.css.toString(),map:_ve(i,y.map),errors:[],dependencies:A}:{code:y.css.toString(),errors:[],dependencies:A}},HUe=(o,i,a,u=require)=>{const p=u("stylus");try{const y=p(o);Object.keys(a).forEach(N=>y.set(N,a[N])),i&&y.set("sourcemap",{inline:!1,comment:!1});const S=y.render(),A=y.deps();return i?{code:S,map:_ve(i,y.sourcemap),errors:[],dependencies:A}:{code:S,errors:[],dependencies:A}}catch(y){return{code:"",errors:[y],dependencies:[]}}};function pGe(o,i,a){return a?ZVe(a)?a(o,i):a+o:o}const XFt={less:GFt,sass:HFt,scss:_Ge,styl:HUe,stylus:HUe};var QFt=Object.defineProperty,YFt=Object.defineProperties,ZFt=Object.getOwnPropertyDescriptors,GUe=Object.getOwnPropertySymbols,KFt=Object.prototype.hasOwnProperty,eRt=Object.prototype.propertyIsEnumerable,XUe=(o,i,a)=>i in o?QFt(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,zY=(o,i)=>{for(var a in i||(i={}))KFt.call(i,a)&&XUe(o,a,i[a]);if(GUe)for(var a of GUe(i))eRt.call(i,a)&&XUe(o,a,i[a]);return o},mve=(o,i)=>YFt(o,ZFt(i));function dGe(o){return hGe(mve(zY({},o),{isAsync:!1}))}function mGe(o){return hGe(mve(zY({},o),{isAsync:!0}))}function hGe(o){const{filename:i,id:a,scoped:u=!1,trim:p=!0,isProd:y=!1,modules:S=!1,modulesOptions:A={},preprocessLang:N,postcssOptions:j,postcssPlugins:z}=o,G=N&&XFt[N],te=G&&tRt(o,G),Oe=te?te.map:o.inMap||o.map,$e=te?te.code:o.source,Be=a.replace(/^data-v-/,""),Qe=`data-v-${Be}`,Ue=(z||[]).slice();Ue.unshift(Rqe({id:Be,isProd:y})),p&&Ue.push(TLt()),u&&Ue.push(PFt(Qe));let yt;if(S)throw new Error("[@vue/compiler-sfc] `modules` option is not supported in the browser build.");const ot=mve(zY({},j),{to:i,from:i});Oe&&(ot.map={inline:!1,annotation:!1,prev:Oe});let Ve,Ft,ir;const kr=new Set(te?te.dependencies:[]);kr.delete(i);const Ot=[];te&&te.errors.length&&Ot.push(...te.errors);const kt=Wt=>(Wt.forEach(pr=>{pr.type==="dependency"&&kr.add(pr.file)}),kr);try{if(Ve=ep(Ue).process($e,ot),o.isAsync)return Ve.then(Wt=>({code:Wt.css||"",map:Wt.map&&Wt.map.toJSON(),errors:Ot,modules:yt,rawResult:Wt,dependencies:kt(Wt.messages)})).catch(Wt=>({code:"",map:void 0,errors:[...Ot,Wt],rawResult:void 0,dependencies:kr}));kt(Ve.messages),Ft=Ve.css,ir=Ve.map}catch(Wt){Ot.push(Wt)}return{code:Ft||"",map:ir&&ir.toJSON(),errors:Ot,rawResult:Ve,dependencies:kr}}function tRt(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,zY({filename:o.filename},o.preprocessOptions),o.preprocessCustomRequire)}const rRt=",".charCodeAt(0),nRt=";".charCodeAt(0),QUe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",gGe=new Uint8Array(64),iRt=new Uint8Array(128);for(let o=0;o<QUe.length;o++){const i=QUe.charCodeAt(o);gGe[o]=i,iRt[i]=o}const cge=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 sRt(o){const i=new Int32Array(5),a=1024*16,u=a-36,p=new Uint8Array(a),y=p.subarray(0,u);let S=0,A="";for(let N=0;N<o.length;N++){const j=o[N];if(N>0&&(S===a&&(A+=cge.decode(p),S=0),p[S++]=nRt),j.length!==0){i[0]=0;for(let z=0;z<j.length;z++){const G=j[z];S>u&&(A+=cge.decode(y),p.copyWithin(0,u,S),S-=u),z>0&&(p[S++]=rRt),S=IF(p,S,i,G,0),G.length!==1&&(S=IF(p,S,i,G,1),S=IF(p,S,i,G,2),S=IF(p,S,i,G,3),G.length!==4&&(S=IF(p,S,i,G,4)))}}}return A+cge.decode(p.subarray(0,S))}function IF(o,i,a,u,p){const y=u[p];let S=y-a[p];a[p]=y,S=S<0?-S<<1|1:S<<1;do{let A=S&31;S>>>=5,S>0&&(A|=32),o[i++]=gGe[A]}while(S>0);return i}class wQ{constructor(i){this.bits=i instanceof wQ?i.bits.slice():[]}add(i){this.bits[i>>5]|=1<<(i&31)}has(i){return!!(this.bits[i>>5]&1<<(i&31))}}class qR{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 qR(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 qR(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 aRt(){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 oRt=aRt();class cRt{constructor(i){this.version=3,this.file=i.file,this.sources=i.sources,this.sourcesContent=i.sourcesContent,this.names=i.names,this.mappings=sRt(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,"+oRt(this.toString())}}function lRt(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,S)=>{const A=/^ +/.exec(S)[0].length;return Math.min(A,y)},1/0);return new Array(p+1).join(" ")}function uRt(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 fRt=Object.prototype.toString;function _Rt(o){return fRt.call(o)==="[object Object]"}function YUe(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,S=a.length;for(;y<S;){const j=y+S>>1;p<a[j]?S=j:y=j+1}const A=y-1,N=p-a[A];return{line:A,column:N}}}class pRt{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 S=a.start,A=!0;for(;S<a.end;)(this.hires||A||y.has(S))&&this.rawSegments.push([this.generatedCodeColumn,i,p.line,p.column]),u[S]===`
`?(p.line+=1,p.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,A=!0):(p.column+=1,this.generatedCodeColumn+=1,A=!1),S+=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 OF=`
`,$N={insertLeft:!1,insertRight:!1,storeName:!1};class FC{constructor(i,a={}){const u=new qR(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 wQ},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 FC(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 wQ(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 pRt(i.hires),y=YUe(this.original);return this.intro&&p.advance(this.intro),this.firstChunk.eachNext(S=>{const A=y(S.start);S.intro.length&&p.advance(S.intro),S.edited?p.addEdit(a,S.content,A,S.storeName?u.indexOf(S.original):-1):p.addUneditedChunk(a,S,this.original,A,this.sourcemapLocations),S.outro.length&&p.advance(S.outro)}),{file:i.file?i.file.split(/[/\\]/).pop():void 0,sources:[i.source?uRt(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 cRt(this.generateDecodedMap(i))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=lRt(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(_Rt(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 G=z[0];G<z[1];G+=1)p[G]=!0});let y=a.indentStart!==!1;const S=j=>y?`${i}${j}`:(y=!0,j);this.intro=this.intro.replace(u,S);let A=0,N=this.firstChunk;for(;N;){const j=N.end;if(N.edited)p[A]||(N.content=N.content.replace(u,S),N.content.length&&(y=N.content[N.content.length-1]===`
`));else for(A=N.start;A<j;){if(!p[A]){const z=this.original[A];z===`
`?y=!0:z!=="\r"&&y&&(y=!1,A===N.start||(this._splitChunk(N,A),N=N.next),N.prependRight(i))}A+=1}A=N.end,N=N.next}return this.outro=this.outro.replace(u,S),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(i,a){return $N.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),$N.insertLeft=!0),this.appendLeft(i,a)}insertRight(i,a){return $N.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),$N.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],S=p.previous,A=y.next,N=this.byStart[u];if(!N&&y===this.lastChunk)return this;const j=N?N.previous:this.lastChunk;return S&&(S.next=A),A&&(A.previous=S),j&&(j.next=p),N&&(N.previous=y),p.previous||(this.firstChunk=y.next),y.next||(this.lastChunk=p.previous,this.lastChunk.next=null),p.previous=j,y.next=N||null,j||(this.firstChunk=p),N||(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&&($N.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),$N.storeName=!0),p={storeName:!0});const y=p!==void 0?p.storeName:!1,S=p!==void 0?p.overwrite:!1;if(y){const j=this.original.slice(i,a);Object.defineProperty(this.storedNames,j,{writable:!0,value:!0,enumerable:!0})}const A=this.byStart[i],N=this.byEnd[a];if(A){let j=A;for(;j!==N;){if(j.next!==this.byStart[j.end])throw new Error("Cannot overwrite across a split point");j=j.next,j.edit("",!1)}A.edit(u,y,!S)}else{const j=new qR(i,a,"").edit(u,y);N.next=j,j.previous=N}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(OF);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(OF),i!==-1)return u.outro.substr(i+1)+a;a=u.outro+a}if(u.content.length>0){if(i=u.content.lastIndexOf(OF),i!==-1)return u.content.substr(i+1)+a;a=u.content+a}if(u.intro.length>0){if(i=u.intro.lastIndexOf(OF),i!==-1)return u.intro.substr(i+1)+a;a=u.intro+a}}while(u=u.previous);return i=this.intro.lastIndexOf(OF),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 S=p.start<a&&p.end>=a;if(S&&p.edited&&p.end!==a)throw new Error(`Cannot use replaced character ${a} as slice end anchor.`);const A=y===p?i-p.start:0,N=S?p.content.length+a-p.end:p.content.length;if(u+=p.content.slice(A,N),p.outro&&(!S||p.end===a)&&(u+=p.outro),S)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=YUe(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,S){return typeof a=="string"?a.replace(/\$(\$|&|\d+)/g,(A,N)=>N==="$"?"$":N==="&"?y[0]:+N<y.length?y[+N]:`$${N}`):a(...y,y.index,S,y.groups)}function p(y,S){let A;const N=[];for(;A=y.exec(S);)N.push(A);return N}if(i.global)p(i,this.original).forEach(S=>{S.index!=null&&this.overwrite(S.index,S.index+S[0].length,u(S,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 dRt=Object.defineProperty,mRt=Object.defineProperties,hRt=Object.getOwnPropertyDescriptors,ZUe=Object.getOwnPropertySymbols,gRt=Object.prototype.hasOwnProperty,yRt=Object.prototype.propertyIsEnumerable,KUe=(o,i,a)=>i in o?dRt(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,vRt=(o,i)=>{for(var a in i||(i={}))gRt.call(i,a)&&KUe(o,a,i[a]);if(ZUe)for(var a of ZUe(i))yRt.call(i,a)&&KUe(o,a,i[a]);return o},bRt=(o,i)=>mRt(o,hRt(i));const lge="$",uge="$$",eze="vue/macros",TRt=["ref","computed","shallowRef","toRef","customRef"],SRt=/[^\w]\$(?:\$|ref|computed|shallowRef)?\s*(\(|\<)/;function WR(o){return SRt.test(o)}function yGe(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 S=C6(o,{sourceType:"module",plugins:y}),A=new FC(o),N=R7(S.program,A,0);return N.importedHelpers.length&&A.prepend(`import { ${N.importedHelpers.map(j=>`${j} as _${j}`).join(", ")} } from '${p}'
`),bRt(vRt({},N),{code:A.toString(),map:a?A.generateMap({source:i,hires:!0,includeContent:!0}):null})}function R7(o,i,a=0,u,p){xRt();const y=Object.create(null);for(const $n of o.body)$n.type==="ImportDeclaration"&&Qe($n);let S,A;for(const{local:$n,imported:ln,source:yn,specifier:yr}of Object.values(y))yn===eze&&(ln===uge?A=$n:ln===lge?S=$n:ln!==$n&&yt("macro imports for ref-creating methods do not support aliasing.",yr));!S&&!y[lge]&&(S=lge),!A&&!y[uge]&&(A=uge);const N=new Set,j={},z=[j];let G=j,te;const Oe=new WeakSet,$e=[],Be=Object.create(null);if(u)for(const $n of u)j[$n]={};if(p)for(const $n in p){const{local:ln,isConst:yn}=p[$n];j[ln]={isProp:!0,isConst:!!yn},Be[ln]=$n}function Qe($n){const ln=$n.source.value;ln===eze&&i.remove($n.start+a,$n.end+a);for(const yn of $n.specifiers){const yr=yn.local.name,Dn=yn.type==="ImportSpecifier"&&yn.imported.type==="Identifier"&&yn.imported.name||"default";y[yr]={source:ln,local:yr,imported:Dn,specifier:yn}}}function Ue($n){return!S||G[S]!==void 0?!1:$n===S?S:$n[0]==="$"&&TRt.includes($n.slice(1))?$n:!1}function yt($n,ln){const yn=new Error($n);throw yn.node=ln,yn}function ot($n){return N.add($n),`_${$n}`}function Ve($n,ln){Oe.add($n),G?G[$n.name]=ln||!1:yt("registerBinding called without active scope, something is wrong.",$n)}const Ft=($n,ln=!1)=>Ve($n,{isConst:ln});let ir=0;function kr(){return`__$temp_${++ir}`}function Ot($n){return i.original.slice($n.start+a,$n.end+a)}function kt($n,ln=!1){for(const yn of $n.body)if(yn.type==="VariableDeclaration")Wt(yn,ln);else if(yn.type==="FunctionDeclaration"||yn.type==="ClassDeclaration"){if(yn.declare||!yn.id)continue;Ve(yn.id)}else(yn.type==="ForOfStatement"||yn.type==="ForInStatement")&&yn.left.type==="VariableDeclaration"?Wt(yn.left):yn.type==="ExportNamedDeclaration"&&yn.declaration&&yn.declaration.type==="VariableDeclaration"?Wt(yn.declaration,ln):yn.type==="LabeledStatement"&&yn.body.type==="VariableDeclaration"&&Wt(yn.body,ln)}function Wt($n,ln=!1){if(!$n.declare)for(const yn of $n.declarations){let yr;const Dn=yn.init&&yn.init.type==="CallExpression"&&yn.init.callee.type==="Identifier";if(Dn&&(yr=Ue(yn.init.callee.name)))pr(yr,yn.id,yn.init,$n.kind==="const");else{const Ir=ln&&Dn&&yn.init.callee.name==="defineProps";for(const lr of Ib(yn.id))Ir?Oe.add(lr):Ve(lr)}}}function pr($n,ln,yn,yr){Oe.add(yn.callee),$n===S?(i.remove(yn.callee.start+a,yn.callee.end+a),ln.type==="Identifier"?Ft(ln,yr):ln.type==="ObjectPattern"?Sn(ln,yn,yr):ln.type==="ArrayPattern"&&gr(ln,yn,yr)):ln.type==="Identifier"?(Ft(ln,yr),i.overwrite(yn.start+a,yn.start+$n.length+a,ot($n.slice(1)))):yt(`${$n}() cannot be used with destructure patterns.`,yn)}function Sn($n,ln,yn,yr,Dn=[]){yr||(yr=kr(),i.overwrite($n.start+a,$n.end+a,yr));let Ir;for(const lr of $n.properties){let zi,cr;if(lr.type==="ObjectProperty"?lr.key.start===lr.value.start?(Ir=lr.key,lr.value.type==="Identifier"?Oe.add(lr.value):lr.value.type==="AssignmentPattern"&&lr.value.left.type==="Identifier"&&(Oe.add(lr.value.left),cr=lr.value.right)):(zi=lr.computed?lr.key:lr.key.name,lr.value.type==="Identifier"?Ir=lr.value:lr.value.type==="ObjectPattern"?Sn(lr.value,ln,yn,yr,[...Dn,zi]):lr.value.type==="ArrayPattern"?gr(lr.value,ln,yn,yr,[...Dn,zi]):lr.value.type==="AssignmentPattern"&&(lr.value.left.type==="Identifier"?(Ir=lr.value.left,cr=lr.value.right):lr.value.left.type==="ObjectPattern"?Sn(lr.value.left,ln,yn,yr,[...Dn,[zi,lr.value.right]]):lr.value.left.type==="ArrayPattern"&&gr(lr.value.left,ln,yn,yr,[...Dn,[zi,lr.value.right]]))):yt("reactivity destructure does not support rest elements.",lr),Ir){Ft(Ir,yn);const ni=ji(yr,Dn),li=fu(zi)?`'${zi}'`:zi?Ot(zi):`'${Ir.name}'`,gs=cr?`, ${Ot(cr)}`:"";i.appendLeft(ln.end+a,`,
${Ir.name} = ${ot("toRef")}(${ni}, ${li}${gs})`)}}Ir&&i.appendLeft(ln.end+a,";")}function gr($n,ln,yn,yr,Dn=[]){yr||(yr=kr(),i.overwrite($n.start+a,$n.end+a,yr));let Ir;for(let lr=0;lr<$n.elements.length;lr++){const zi=$n.elements[lr];if(!zi)continue;let cr;if(zi.type==="Identifier"?Ir=zi:zi.type==="AssignmentPattern"?(Ir=zi.left,cr=zi.right):zi.type==="RestElement"?yt("reactivity destructure does not support rest elements.",zi):zi.type==="ObjectPattern"?Sn(zi,ln,yn,yr,[...Dn,lr]):zi.type==="ArrayPattern"&&gr(zi,ln,yn,yr,[...Dn,lr]),Ir){Ft(Ir,yn);const ni=ji(yr,Dn),li=cr?`, ${Ot(cr)}`:"";i.appendLeft(ln.end+a,`,
${Ir.name} = ${ot("toRef")}(${ni}, ${lr}${li})`)}}Ir&&i.appendLeft(ln.end+a,";")}function ji($n,ln){if(ln.length)for(const yn of ln)jy(yn)?$n=`(${$n}${us(yn[0])} || ${Ot(yn[1])})`:$n+=us(yn);return $n}function us($n){return typeof $n=="number"?`[${$n}]`:typeof $n=="string"?`.${$n}`:Ot($n)}function qt($n,ln,yn,yr){if(qQ($n,ln.name)){const Dn=$n[ln.name];if(Dn){Dn.isConst&&(yn.type==="AssignmentExpression"&&ln===yn.left||yn.type==="UpdateExpression")&&yt("Assignment to constant variable.",ln);const{isProp:Ir}=Dn;H3(yn)&&yn.shorthand?(!yn.inPattern||W3(yn,yr))&&(Ir?te?($s(ln),i.appendLeft(ln.end+a,`: __props_${Be[ln.name]}`)):i.appendLeft(ln.end+a,`: ${b7(Be[ln.name])}`):i.appendLeft(ln.end+a,`: ${ln.name}.value`)):Ir?te?($s(ln),i.overwrite(ln.start+a,ln.end+a,`__props_${Be[ln.name]}`)):i.overwrite(ln.start+a,ln.end+a,b7(Be[ln.name])):i.appendLeft(ln.end+a,".value")}return!0}return!1}const qa={};function $s($n){if(!qa.hasOwnProperty($n.name)){qa[$n.name]=!0;const ln=Be[$n.name];i.prependRight(a,`const __props_${ln} = ${ot("toRef")}(__props, '${ln}');
`)}}return kt(o,!0),iB(o,{enter($n,ln){if(ln&&$e.push(ln),Ob($n)){z.push(G={}),bY($n,Ve),$n.body.type==="BlockStatement"&&kt($n.body);return}if($n.type==="CatchClause"){z.push(G={}),$n.param&&$n.param.type==="Identifier"&&Ve($n.param),kt($n.body);return}if($n.type==="BlockStatement"&&!Ob(ln)){z.push(G={}),kt($n);return}if(ln&&ln.type.startsWith("TS")&&ln.type!=="TSAsExpression"&&ln.type!=="TSNonNullExpression"&&ln.type!=="TSTypeAssertion")return this.skip();if($n.type==="Identifier"){const yn=j[$n.name];if(!(te&&(!yn||!yn.isProp))&&vY($n,ln,$e)&&!Oe.has($n)){let yr=z.length;for(;yr--;)if(qt(z[yr],$n,ln,$e))return}}if($n.type==="CallExpression"&&$n.callee.type==="Identifier"){const yn=$n.callee.name,yr=Ue(yn);if(yr&&(!ln||ln.type!=="VariableDeclarator"))return yt(`${yr} can only be used as the initializer of a variable declaration.`,$n);if(A&&G[A]===void 0&&yn===A&&(te=$n,i.remove($n.callee.start+a,$n.callee.end+a),(ln==null?void 0:ln.type)==="ExpressionStatement")){let Dn=($n.leadingComments?$n.leadingComments[0].start:$n.start)+a;for(;Dn--;){const Ir=i.original.charAt(Dn);if(Ir===`
`){i.prependRight($n.start+a,";");break}else if(!/\s/.test(Ir))break}}}},leave($n,ln){ln&&$e.pop(),($n.type==="BlockStatement"&&!Ob(ln)||Ob($n))&&(z.pop(),G=z[z.length-1]||null),$n===te&&(te=void 0)}}),{rootRefs:Object.keys(j).filter($n=>{const ln=j[$n];return ln&&!ln.isProp}),importedHelpers:[...N]}}const tze={};function xRt(){typeof window<"u"||kRt(`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 kRt(o){!(typeof process<"u"&&!0)&&!tze[o]&&(tze[o]=!0,CRt(o))}function CRt(o){console.warn(`\x1B[1m\x1B[33m[@vue/reactivity-transform]\x1B[0m\x1B[33m ${o}\x1B[0m
`)}function vGe(o){for(const i of o)if(i.type==="ExportDefaultDeclaration"&&i.declaration.type==="ObjectExpression")return wRt(i.declaration);return{}}function wRt(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 Eye(a.value))i[u]="props";else if(a.key.name==="inject")for(const u of Eye(a.value))i[u]="options";else if(a.value.type==="ObjectExpression"&&(a.key.name==="computed"||a.key.name==="methods"))for(const u of wye(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 wye(u.argument))i[p]=a.key.name==="setup"?"setup-maybe-ref":"data"}return i}function wye(o){const i=[];for(const a of o.properties){if(a.type==="SpreadElement")continue;const u=C1e(a.key,a.computed);u&&i.push(String(u))}return i}function ERt(o){const i=[];for(const a of o.elements)a&&a.type==="StringLiteral"&&i.push(a.value);return i}function Eye(o){return o.type==="ArrayExpression"?ERt(o):o.type==="ObjectExpression"?wye(o):[]}function bGe(o,i,a){const u=C6(o,{sourceType:"module",plugins:a}).program.body,p=new FC(o);return VY(u,p,i),p.toString()}function VY(o,i,a){if(!ARt(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 S=fge(i,p.local.end,u.end);i.remove(p.start,S),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 S=fge(i,p.exported.end,u.end);i.remove(p.start,S),i.append(`
const ${a} = __VUE_DEFAULT__`);continue}const y=fge(i,p.end,u.end);i.remove(p.start,y),i.append(`
const ${a} = ${p.local.name}`)}}})}function ARt(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 fge(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 PRt=Object.defineProperty,DRt=Object.defineProperties,NRt=Object.getOwnPropertyDescriptors,rze=Object.getOwnPropertySymbols,IRt=Object.prototype.hasOwnProperty,ORt=Object.prototype.propertyIsEnumerable,nze=(o,i,a)=>i in o?PRt(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,LRt=(o,i)=>{for(var a in i||(i={}))IRt.call(i,a)&&nze(o,a,i[a]);if(rze)for(var a of rze(i))ORt.call(i,a)&&nze(o,a,i[a]);return o},MRt=(o,i)=>DRt(o,NRt(i));const GN="__default__";function FRt(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,S=vGe(y.body),{source:A,filename:N,cssVars:j}=o.descriptor,{sourceMap:z,genDefaultAs:G,isProd:te}=o.options;if(o.options.reactivityTransform&&WR(u)){const Oe=new FC(A),$e=a.loc.start.offset,Be=a.loc.end.offset,{importedHelpers:Qe}=R7(y,Oe,$e);Qe.length&&Oe.prepend(`import { ${Qe.map(Ue=>`${Ue} as _${Ue}`).join(", ")} } from 'vue'
`),Oe.remove(0,$e),Oe.remove(Be,A.length),u=Oe.toString(),z!==!1&&(p=Oe.generateMap({source:N,hires:!0,includeContent:!0}))}if(j.length||G){const Oe=G||GN,$e=new FC(u);VY(y.body,$e,Oe),u=$e.toString(),j.length&&(u+=t7t(j,S,i,!!te,Oe)),G||(u+=`
export default ${Oe}`)}return MRt(LRt({},a),{content:u,map:p,bindings:S,scriptAst:y.body})}catch{return a}}var ize,sze;class RRt{constructor(i,a){this.descriptor=i,this.options=a,this.source=this.descriptor.source,this.filename=this.descriptor.filename,this.s=new FC(this.source),this.startOffset=(ize=this.descriptor.scriptSetup)==null?void 0:ize.loc.start.offset,this.endOffset=(sze=this.descriptor.scriptSetup)==null?void 0:sze.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,S=p&&p.lang;this.isJS=y==="js"||y==="jsx"||S==="js"||S==="jsx",this.isTS=y==="ts"||y==="tsx"||S==="ts"||S==="tsx";const A=Aye(y||S,a.babelParserPlugins);function N(j,z){try{return C6(j,{plugins:A,sourceType:"module"}).program}catch(G){throw G.message=`[vue/compiler-sfc] ${G.message}
${i.filename}
${R3(i.source,G.pos+z,G.pos+z+1)}`,G}}this.scriptAst=i.script&&N(i.script.content,i.script.loc.start.offset),this.scriptSetupAst=i.scriptSetup&&N(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}
${R3((u||this.descriptor).source,a.start+p,a.end+p)}`)}}function Aye(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 BRt=Object.defineProperty,jRt=Object.defineProperties,JRt=Object.getOwnPropertyDescriptors,aze=Object.getOwnPropertySymbols,URt=Object.prototype.hasOwnProperty,zRt=Object.prototype.propertyIsEnumerable,oze=(o,i,a)=>i in o?BRt(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,Pye=(o,i)=>{for(var a in i||(i={}))URt.call(i,a)&&oze(o,a,i[a]);if(aze)for(var a of aze(i))zRt.call(i,a)&&oze(o,a,i[a]);return o},Dye=(o,i)=>jRt(o,JRt(i));class hve{constructor(i,a,u=0,p=Object.create(null),y=Object.create(null),S=Object.create(null)){this.filename=i,this.source=a,this.offset=u,this.imports=p,this.types=y,this.declares=S,this.resolvedImportSources=Object.create(null),this.exportedTypes=Object.create(null),this.exportedDeclares=Object.create(null)}}function Mh(o,i,a){return i._resolvedElements?i._resolvedElements:i._resolvedElements=VRt(o,i,i._ownerScope||a||qY(o))}function VRt(o,i,a){var u,p;switch(i.type){case"TSTypeLiteral":return TGe(o,i.members,a);case"TSInterfaceDeclaration":return $Rt(o,i,a);case"TSTypeAliasDeclaration":case"TSParenthesizedType":return Mh(o,i.typeAnnotation,a);case"TSFunctionType":return{props:{},calls:[i]};case"TSUnionType":case"TSIntersectionType":return cze(i.types.map(y=>Mh(o,y,a)),i.type);case"TSMappedType":return qRt(o,i,a);case"TSIndexedAccessType":{const y=SGe(o,i,a);return cze(y.map(S=>Mh(o,S,S._ownerScope)),"TSUnionType")}case"TSExpressionWithTypeArguments":case"TSTypeReference":{const y=yve(i);if((y==="ExtractPropTypes"||y==="ExtractPublicPropTypes")&&i.typeParameters&&((u=a.imports[y])==null?void 0:u.source)==="vue")return fze(Mh(o,i.typeParameters.params[0],a),a);const S=_x(o,i,a);if(S)return Mh(o,S,S._ownerScope);if(typeof y=="string"){if(WRt.has(y))return HRt(o,i,y,a);if(y==="ReturnType"&&i.typeParameters){const A=iBt(o,i.typeParameters.params[0],a);if(A)return Mh(o,A,a)}}return o.error("Unresolvable type reference or unsupported built-in utility type",i,a)}case"TSImportType":{if(V3(i.argument)==="vue"&&((p=i.qualifier)==null?void 0:p.type)==="Identifier"&&i.qualifier.name==="ExtractPropTypes"&&i.typeParameters)return fze(Mh(o,i.typeParameters.params[0],a),a);const y=$Y(o,i.argument,a,i.argument.value),S=_x(o,i,y);if(S)return Mh(o,S,S._ownerScope)}case"TSTypeQuery":{const y=_x(o,i,a);if(y)return Mh(o,y,y._ownerScope)}}return o.error(`Unresolvable type: ${i.type}`,i,a)}function TGe(o,i,a=qY(o)){const u={props:{}};for(const p of i)if(p.type==="TSPropertySignature"||p.type==="TSMethodSignature"){p._ownerScope=a;const y=V3(p.key);if(y&&!p.computed)u.props[y]=p;else if(p.key.type==="TemplateLiteral")for(const S of gve(o,p.key,a))u.props[S]=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 cze(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 S in p)qQ(u,S)?u[S]=iR(u[S].key,{type:i,types:[u[S],p[S]]},u[S]._ownerScope,u[S].optional||p[S].optional):u[S]=p[S];y&&(a.calls||(a.calls=[])).push(...y)}return a}function iR(o,i,a,u){return{type:"TSPropertySignature",key:o,kind:"get",optional:u,typeAnnotation:{type:"TSTypeAnnotation",typeAnnotation:i},_ownerScope:a}}function $Rt(o,i,a){const u=TGe(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}=Mh(o,p,a);for(const S in y)qQ(u.props,S)||(u.props[S]=y[S])}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 qRt(o,i,a){const u={props:{}},p=EC(o,i.typeParameter.constraint,a);for(const y of p)u.props[y]=iR({type:"Identifier",name:y},i.typeAnnotation,a,!!i.optional);return u}function SGe(o,i,a){var u,p;if(i.indexType.type==="TSNumberKeyword")return xGe(o,i.objectType,a);const{indexType:y,objectType:S}=i,A=[];let N,j;y.type==="TSStringKeyword"?(j=Mh(o,S,a),N=Object.keys(j.props)):(N=EC(o,y,a),j=Mh(o,S,a));for(const z of N){const G=(p=(u=j.props[z])==null?void 0:u.typeAnnotation)==null?void 0:p.typeAnnotation;G&&(G._ownerScope=j.props[z]._ownerScope,A.push(G))}return A}function xGe(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(yve(i)==="Array"&&i.typeParameters)return i.typeParameters.params;{const u=_x(o,i,a);if(u)return xGe(o,u,a)}}return o.error("Failed to resolve element type from target type",i,a)}function EC(o,i,a){switch(i.type){case"StringLiteral":return[i.value];case"TSLiteralType":return EC(o,i.literal,a);case"TSUnionType":return i.types.map(u=>EC(o,u,a)).flat();case"TemplateLiteral":return gve(o,i,a);case"TSTypeReference":{const u=_x(o,i,a);if(u)return EC(o,u,a);if(i.typeName.type==="Identifier"){const p=(y=0)=>EC(o,i.typeParameters.params[y],a);switch(i.typeName.name){case"Extract":return p(1);case"Exclude":{const y=p(1);return p().filter(S=>!y.includes(S))}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 gve(o,i,a){if(!i.expressions.length)return[i.quasis[0].value.raw];const u=[],p=i.expressions[0],y=i.quasis[0],S=y?y.value.raw:"",A=EC(o,p,a),N=gve(o,Dye(Pye({},i),{expressions:i.expressions.slice(1),quasis:y?i.quasis.slice(1):i.quasis}),a);for(const j of A)for(const z of N)u.push(S+j+z);return u}const WRt=new Set(["Partial","Required","Readonly","Pick","Omit"]);function HRt(o,i,a,u){const p=Mh(o,i.typeParameters.params[0],u);switch(a){case"Partial":{const A={props:{},calls:p.calls};return Object.keys(p.props).forEach(N=>{A.props[N]=Dye(Pye({},p.props[N]),{optional:!0})}),A}case"Required":{const A={props:{},calls:p.calls};return Object.keys(p.props).forEach(N=>{A.props[N]=Dye(Pye({},p.props[N]),{optional:!1})}),A}case"Readonly":return p;case"Pick":{const A=EC(o,i.typeParameters.params[1],u),N={props:{},calls:p.calls};for(const j of A)N.props[j]=p.props[j];return N}case"Omit":const y=EC(o,i.typeParameters.params[1],u),S={props:{},calls:p.calls};for(const A in p.props)y.includes(A)||(S.props[A]=p.props[A]);return S}}function _x(o,i,a,u,p=!1){return i._resolvedReference?i._resolvedReference:i._resolvedReference=Nye(o,a||qY(o),u||yve(i),i,p)}function Nye(o,i,a,u,p){if(typeof a=="string"){if(i.imports[a])return XRt(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 S=GRt(o);if(S)for(const A of S){const N=u.type==="TSTypeQuery"?A.declares:A.types;if(N[a])return(o.deps||(o.deps=new Set)).add(A.filename),N[a]}}}}else{let y=Nye(o,i,a[0],u,p);if(y&&(y.type!=="TSModuleDeclaration"&&(y=y._ns),y)){const S=KRt(o,y,y._ownerScope||i);return Nye(o,S,a.length>2?a.slice(1):a[a.length-1],u,!y.declare)}}}function yve(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"?kGe(i):"default"}function kGe(o){return o.type==="Identifier"?[o.name]:[...kGe(o.left),o.right.name]}function GRt(o){if(o.options.globalTypeFiles){if(!bve(o))throw new Error("[vue/compiler-sfc] globalTypeFiles requires fs access.");return o.options.globalTypeFiles.map(a=>EGe(o,w1e(a),!0))}}let vve;function CGe(o){vve=o}function bve(o){if(o.fs)return o.fs;const i=o.options.fs||vve.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 XRt(o,i,a,u){const{source:p,imported:y}=u.imports[a],S=$Y(o,i,u,p);return _x(o,i,S,y,!0)}function $Y(o,i,a,u){const p=bve(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 S=Xge(a.filename,"..",u);y=QRt(S,p)}else o.error("Type import from non-relative sources is not supported in the browser build.",i,a),vve||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]=w1e(y))}return y?((o.deps||(o.deps=new Set)).add(y),EGe(o,y)):o.error(`Failed to resolve import source ${JSON.stringify(u)}.`,i,a)}function QRt(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(Xge(o,"index.ts"))||a(Xge(o,"index.d.ts"))}const lze=CY(),YRt=new Map;const Iye=CY();function wGe(o){o=w1e(o),Iye.delete(o),lze.delete(o);const i=YRt.get(o);i&&lze.delete(i)}function EGe(o,i,a=!1){const u=Iye.get(i);if(u)return u;const y=bve(o).readFile(i)||"",S=ZRt(i,y,o.options.babelParserPlugins),A=new hve(i,y,0,AGe(S));return Tve(o,S,A,a),Iye.set(i,A),A}function ZRt(o,i,a){const u=x1e(o);if(u===".ts"||u===".tsx")return C6(i,{plugins:Aye(u.slice(1),a,o.endsWith(".d.ts")),sourceType:"module"}).program.body;if(u===".vue"){const{descriptor:{script:p,scriptSetup:y}}=E1e(i);if(!p&&!y)return[];const S=p?p.loc.start.offset:1/0,A=y?y.loc.start.offset:1/0,N=S<A?p:y,j=S<A?y:p;let z=" ".repeat(Math.min(S,A))+N.content;j&&(z+=" ".repeat(j.loc.start.offset-p.loc.end.offset)+j.content);const G=(p==null?void 0:p.lang)||(y==null?void 0:y.lang);return C6(z,{plugins:Aye(G,a),sourceType:"module"}).program.body}return[]}function qY(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 hve(o.filename,o.source,"startOffset"in o?o.startOffset:0,"userImports"in o?Object.create(o.userImports):AGe(i));return Tve(o,i,a),o.scope=a}function KRt(o,i,a){if(i._resolvedChildScope)return i._resolvedChildScope;const u=new hve(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=V3(p.id);u.types[y]=u.exportedTypes[y]=p}else Tve(o,i.body.body,u);return i._resolvedChildScope=u}const eBt=/^Import|^Export/;function Tve(o,i,a,u=!1){const{types:p,declares:y,exportedTypes:S,exportedDeclares:A,imports:N}=a,j=u?!i.some(z=>eBt.test(z.type)):!1;for(const z of i)if(u){if(j)z.declare&&h3(z,p,y);else if(z.type==="TSModuleDeclaration"&&z.global)for(const G of z.body.body)h3(G,p,y)}else h3(z,p,y);if(!u)for(const z of i)if(z.type==="ExportNamedDeclaration"){if(z.declaration)h3(z.declaration,p,y),h3(z.declaration,S,A);else for(const G of z.specifiers)if(G.type==="ExportSpecifier"){const te=G.local.name,Oe=V3(G.exported);z.source?(N[te]={source:z.source.value,imported:te},S[Oe]={type:"TSTypeReference",typeName:{type:"Identifier",name:te},_ownerScope:a}):p[te]&&(S[Oe]=p[te])}}else if(z.type==="ExportAllDeclaration"){const G=$Y(o,z.source,a,z.source.value);Object.assign(a.exportedTypes,G.exportedTypes)}else z.type==="ExportDefaultDeclaration"&&z.declaration&&(z.declaration.type!=="Identifier"?(h3(z.declaration,p,y,"default"),h3(z.declaration,S,A,"default")):p[z.declaration.name]&&(S.default=p[z.declaration.name]));for(const z of Object.keys(p)){const G=p[z];G._ownerScope=a,G._ns&&(G._ns._ownerScope=a)}for(const z of Object.keys(y))y[z]._ownerScope=a}function h3(o,i,a,u){switch(o.type){case"TSInterfaceDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":{const p=u||V3(o.id);let y=i[p];if(y){if(o.type==="TSModuleDeclaration"){y.type==="TSModuleDeclaration"?Sve(y,o):uze(y,o);break}if(y.type==="TSModuleDeclaration"){i[p]=o,uze(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||V3(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 Sve(o,i){const a=o.body,u=i.body;a.type==="TSModuleDeclaration"?u.type==="TSModuleDeclaration"?Sve(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 uze(o,i){o._ns?Sve(o._ns,i):o._ns=i}function AGe(o){const i=Object.create(null);for(const a of o)tBt(a,i);return i}function tBt(o,i){if(o.type==="ImportDeclaration")for(const a of o.specifiers)i[a.local.name]={imported:Gge(a),source:o.source.value}}function U0(o,i,a=i._ownerScope||qY(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 U0(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[N3]}case"TSTypeReference":{const u=_x(o,i,a);if(u)return U0(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 U0(o,i.typeParameters.params[0],a).filter(p=>p!=="null");break;case"Extract":if(i.typeParameters&&i.typeParameters.params[1])return U0(o,i.typeParameters.params[1],a);break;case"Exclude":case"OmitThisParameter":if(i.typeParameters&&i.typeParameters.params[0])return U0(o,i.typeParameters.params[0],a);break}break}case"TSParenthesizedType":return U0(o,i.typeAnnotation,a);case"TSUnionType":return _ge(o,i.types,a);case"TSIntersectionType":return _ge(o,i.types,a).filter(u=>u!==N3);case"TSEnumDeclaration":return rBt(i);case"TSSymbolKeyword":return["Symbol"];case"TSIndexedAccessType":{const u=SGe(o,i,a);return _ge(o,u,a)}case"ClassDeclaration":return["Object"];case"TSImportType":{const u=$Y(o,i.argument,a,i.argument.value),p=_x(o,i,u);if(p)return U0(o,p,p._ownerScope);break}case"TSTypeQuery":{const u=i.exprName;if(u.type==="Identifier"){const p=a.declares[u.name];if(p)return U0(o,p,p._ownerScope)}break}}}catch{}return[N3]}function _ge(o,i,a){return i.length===1?U0(o,i[0],a):[...new Set([].concat(...i.map(u=>U0(o,u,a))))]}function rBt(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 fze({props:o},i){const a={props:{}};for(const u in o){const p=o[u];a.props[u]=Oye(p.key,p.typeAnnotation.typeAnnotation,i)}return a}function Oye(o,i,a,u=!0,p=!0){if(p&&i.type==="TSTypeLiteral"){const y=_ze(i,"type");if(y){const S=_ze(i,"required"),A=S&&S.type==="TSLiteralType"&&S.literal.type==="BooleanLiteral"?!S.literal.value:!0;return Oye(o,y,a,A,!1)}}else if(i.type==="TSTypeReference"&&i.typeName.type==="Identifier"){if(i.typeName.name.endsWith("Constructor"))return iR(o,nBt(i.typeName.name),a,u);if(i.typeName.name==="PropType"&&i.typeParameters)return iR(o,i.typeParameters.params[0],a,u)}if((i.type==="TSTypeReference"||i.type==="TSImportType")&&i.typeParameters)for(const y of i.typeParameters.params){const S=Oye(o,y,a,u);if(S)return S}return iR(o,{type:"TSNullKeyword"},a,u)}function nBt(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 _ze(o,i){const a=o.members.find(u=>u.type==="TSPropertySignature"&&!u.computed&&V3(u.key)===i&&u.typeAnnotation);return a&&a.typeAnnotation.typeAnnotation}function iBt(o,i,a){var u;let p=i;if((i.type==="TSTypeReference"||i.type==="TSTypeQuery"||i.type==="TSImportType")&&(p=_x(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 PGe(o,i,a){if(i.type==="TSTypeReference"){const p=_x(o,i,a);p&&(i=p)}let u;return i.type==="TSUnionType"?u=i.types.flatMap(p=>PGe(o,p,a)):u=[i],u}const DGe="defineModel";function pze(o,i,a){if(!o.options.defineModel||!Fy(i,DGe))return!1;L3(`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 S=i.arguments[0]&&mx(i.arguments[0]);S&&S.type==="StringLiteral"?(p=S.value,y=i.arguments[1]):(p="modelValue",y=S),o.modelDecls[p]&&o.error(`duplicate model name ${JSON.stringify(p)}`,i);const A=y&&o.getString(y);o.modelDecls[p]={type:u,options:A,identifier:a&&a.type==="Identifier"?a.name:void 0},o.bindingMetadata[p]="props";let N="";if(y)if(y.type==="ObjectExpression"){const j=y.properties.find(z=>z.type==="ObjectProperty"&&(z.key.type==="Identifier"&&z.key.name==="local"||z.key.type==="StringLiteral"&&z.key.value==="local"));if(j)N=`{ ${o.getString(j)} }`;else for(const z of y.properties)if(z.type==="SpreadElement"||z.computed){N=A;break}}else N=A;return o.s.overwrite(o.startOffset+i.start,o.startOffset+i.end,`${o.helper("useModel")}(__props, ${JSON.stringify(p)}${N?`, ${N}`:""})`),!0}function sBt(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 S=!1,A=p&&U0(o,p);if(A){const G=A.includes(N3);A=A.filter(te=>te===N3?!1:i?te==="Boolean"||te==="Function"&&y:!0),S=!i&&G&&A.length>0}let N=A&&A.length>0&&Hge(A)||void 0;const j=Wge([N&&`type: ${N}`,S&&"skipCheck: true"]);let z;N&&y?z=o.isTS?`{ ${j}, ...${y} }`:`Object.assign({ ${j} }, ${y})`:z=y||(N?`{ ${j} }`:"{}"),a+=`
${JSON.stringify(u)}: ${z},`}return`{${a}
}`}const jh="defineProps",XN="withDefaults";function Lye(o,i,a){if(!Fy(i,jh))return aBt(o,i,a);if(o.hasDefinePropsCall&&o.error(`duplicate ${jh}() call`,i),o.hasDefinePropsCall=!0,o.propsRuntimeDecl=i.arguments[0],o.propsRuntimeDecl)for(const u of Eye(o.propsRuntimeDecl))u in o.bindingMetadata||(o.bindingMetadata[u]="props");return i.typeParameters&&(o.propsRuntimeDecl&&o.error(`${jh}() 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"?pBt(o,a):o.propsIdentifier=o.getString(a)),!0}function aBt(o,i,a){return Fy(i,XN)?(Lye(o,i.arguments[0],a)?(o.propsRuntimeDecl&&o.error(`${XN} can only be used with type-based ${jh} declaration.`,i),o.propsDestructureDecl&&o.error(`${XN}() is unnecessary when using destructure with ${jh}().
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 ${XN} is required.`,i)):o.error(`${XN}' first argument must be a ${jh} call.`,i.arguments[0]||i),!0):!1}function oBt(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=NGe(o,p),S=Nqe(p);y&&u.push(`${S}: ${y.valueString}${y.needSkipFactory?`, __skip_${S}: true`:""}`)}u.length&&(i=`${o.helper("mergeDefaults")}(${i}, {
${u.join(`,
`)}
})`)}}else o.propsTypeDecl&&(i=cBt(o));const a=sBt(o);return i&&a?`${o.helper("mergeModels")}(${i}, ${a})`:a||i}function cBt(o){const i=lBt(o,o.propsTypeDecl);if(!i.length)return;const a=[],u=fBt(o);for(const y of i)a.push(uBt(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 lBt(o,i){const a=[],u=Mh(o,i);for(const p in u.props){const y=u.props[p];let S=U0(o,y),A=!1;S.includes(N3)&&(S.includes("Boolean")||S.includes("Function")?(S=S.filter(N=>N!==N3),A=!0):S=["null"]),a.push({key:p,required:!y.optional,type:S||["null"],skipCheck:A})}return a}function uBt(o,{key:i,required:a,type:u,skipCheck:p},y){let S;const A=NGe(o,i,u);if(A)S=`default: ${A.valueString}${A.needSkipFactory?", skipFactory: true":""}`;else if(y){const j=o.propsRuntimeDefaults.properties.find(z=>z.type==="SpreadElement"?!1:C1e(z.key,z.computed)===i);j&&(j.type==="ObjectProperty"?S=`default: ${o.getString(j.value)}`:S=`${j.async?"async ":""}${j.kind!=="method"?`${j.kind} `:""}default() ${o.getString(j.body)}`)}const N=Nqe(i);return o.options.isProd?u.some(j=>j==="Boolean"||(!y||S)&&j==="Function")?`${N}: { ${Wge([`type: ${Hge(u)}`,S])} }`:`${N}: ${S?`{ ${S} }`:"{}"}`:`${N}: { ${Wge([`type: ${Hge(u)}`,`required: ${a}`,p&&"skipCheck: true",S])} }`}function fBt(o){return!!(o.propsRuntimeDefaults&&o.propsRuntimeDefaults.type==="ObjectExpression"&&o.propsRuntimeDefaults.properties.every(i=>i.type!=="SpreadElement"&&(!i.computed||i.key.type.endsWith("Literal"))))}function NGe(o,i,a){const u=o.propsDestructuredBindings[i],p=u&&u.default;if(p){const y=o.getString(p),S=mx(p);if(a&&a.length&&!a.includes("null")){const j=_Bt(S);j&&!a.includes(j)&&o.error(`Default value of prop "${i}" does not match declared type.`,S)}const A=!a&&(Ob(S)||S.type==="Identifier");return{valueString:!A&&!Pqe(S)&&!(a!=null&&a.includes("Function"))?`() => (${y})`:y,needSkipFactory:A}}}function _Bt(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 pBt(o,i){if(!o.options.propsDestructure&&!o.options.reactivityTransform){o.propsIdentifier=o.getString(i);return}L3(`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=C1e(u.key,u.computed);if(p||o.error(`${jh}() destructure cannot use computed key.`,u.key),u.value.type==="AssignmentPattern"){const{left:y,right:S}=u.value;y.type!=="Identifier"&&o.error(`${jh}() destructure does not support nested patterns.`,y),a(p,y.name,S)}else u.value.type==="Identifier"?a(p,u.value.name):o.error(`${jh}() destructure does not support nested patterns.`,u.value)}else o.propsDestructureRestId=u.argument.name,o.bindingMetadata[o.propsDestructureRestId]="setup-reactive-const"}function dBt(o,i){if(!o.options.propsDestructure&&!o.options.reactivityTransform)return;const a={},u=[a];let p=a;const y=new WeakSet,S=[],A=Object.create(null);for(const Qe in o.propsDestructuredBindings){const{local:Ue}=o.propsDestructuredBindings[Qe];a[Ue]=!0,A[Ue]=Qe}function N(){u.push(p=Object.create(p))}function j(){u.pop(),p=u[u.length-1]||null}function z(Qe){y.add(Qe),p?p[Qe.name]=!1:o.error("registerBinding called without active scope, something is wrong.",Qe)}function G(Qe,Ue=!1){for(const yt of Qe.body)if(yt.type==="VariableDeclaration")te(yt,Ue);else if(yt.type==="FunctionDeclaration"||yt.type==="ClassDeclaration"){if(yt.declare||!yt.id)continue;z(yt.id)}else(yt.type==="ForOfStatement"||yt.type==="ForInStatement")&&yt.left.type==="VariableDeclaration"?te(yt.left):yt.type==="ExportNamedDeclaration"&&yt.declaration&&yt.declaration.type==="VariableDeclaration"?te(yt.declaration,Ue):yt.type==="LabeledStatement"&&yt.body.type==="VariableDeclaration"&&te(yt.body,Ue)}function te(Qe,Ue=!1){if(!Qe.declare)for(const yt of Qe.declarations){const ot=Ue&&yt.init&&Fy(mx(yt.init),"defineProps");for(const Ve of Ib(yt.id))ot?y.add(Ve):z(Ve)}}function Oe(Qe,Ue,yt){(Ue.type==="AssignmentExpression"&&Qe===Ue.left||Ue.type==="UpdateExpression")&&o.error("Cannot assign to destructured props as they are readonly.",Qe),H3(Ue)&&Ue.shorthand?(!Ue.inPattern||W3(Ue,yt))&&o.s.appendLeft(Qe.end+o.startOffset,`: ${b7(A[Qe.name])}`):o.s.overwrite(Qe.start+o.startOffset,Qe.end+o.startOffset,b7(A[Qe.name]))}function $e(Qe,Ue,yt=Ue){if(Fy(Qe,yt)){const ot=mx(Qe.arguments[0]);ot.type==="Identifier"&&p[ot.name]&&o.error(`"${ot.name}" is a destructured prop and should not be passed directly to ${Ue}(). Pass a getter () => ${ot.name} instead.`,ot)}}const Be=o.scriptSetupAst;G(Be,!0),iB(Be,{enter(Qe,Ue){if(Ue&&S.push(Ue),Ue&&Ue.type.startsWith("TS")&&Ue.type!=="TSAsExpression"&&Ue.type!=="TSNonNullExpression"&&Ue.type!=="TSTypeAssertion")return this.skip();if($e(Qe,"watch",i.watch),$e(Qe,"toRef",i.toRef),Ob(Qe)){N(),bY(Qe,z),Qe.body.type==="BlockStatement"&&G(Qe.body);return}if(Qe.type==="CatchClause"){N(),Qe.param&&Qe.param.type==="Identifier"&&z(Qe.param),G(Qe.body);return}if(Qe.type==="BlockStatement"&&!Ob(Ue)){N(),G(Qe);return}Qe.type==="Identifier"&&vY(Qe,Ue,S)&&!y.has(Qe)&&p[Qe.name]&&Oe(Qe,Ue,S)},leave(Qe,Ue){Ue&&S.pop(),(Qe.type==="BlockStatement"&&!Ob(Ue)||Ob(Qe))&&j()}})}const F3="defineEmits";function dze(o,i,a){return Fy(i,F3)?(o.hasDefineEmitCall&&o.error(`duplicate ${F3}() call`,i),o.hasDefineEmitCall=!0,o.emitsRuntimeDecl=i.arguments[0],i.typeParameters&&(o.emitsRuntimeDecl&&o.error(`${F3}() 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 mBt(o){let i="";if(o.emitsRuntimeDecl)i=o.getString(o.emitsRuntimeDecl).trim();else if(o.emitsTypeDecl){const a=hBt(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 hBt(o){const i=new Set,a=o.emitsTypeDecl;if(a.type==="TSFunctionType")return mze(o,a.parameters[0],i),i;const{props:u,calls:p}=Mh(o,a);let y=!1;for(const S in u)i.add(S),y=!0;if(p){y&&o.error("defineEmits() type cannot mixed call signature and property syntax.",a);for(const S of p)mze(o,S.parameters[0],i)}return i}function mze(o,i,a){if(i.type==="Identifier"&&i.typeAnnotation&&i.typeAnnotation.type==="TSTypeAnnotation"){const u=PGe(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 EQ="defineExpose";function gBt(o,i){return Fy(i,EQ)?(o.hasDefineExposeCall&&o.error(`duplicate ${EQ}() call`,i),o.hasDefineExposeCall=!0,!0):!1}const PX="defineSlots";function hze(o,i,a){return Fy(i,PX)?(o.hasDefineSlotsCall&&o.error(`duplicate ${PX}() call`,i),o.hasDefineSlotsCall=!0,i.arguments.length>0&&o.error(`${PX}() cannot accept arguments`,i),a&&o.s.overwrite(o.startOffset+i.start,o.startOffset+i.end,`${o.helper("useSlots")}()`),!0):!1}const yC="defineOptions";function gze(o,i){if(!Fy(i,yC))return!1;if(o.hasDefineOptionsCall&&o.error(`duplicate ${yC}() call`,i),i.typeParameters&&o.error(`${yC}() cannot accept type arguments`,i),!i.arguments[0])return!0;o.hasDefineOptionsCall=!0,o.optionsRuntimeDecl=mx(i.arguments[0]);let a,u,p,y;if(o.optionsRuntimeDecl.type==="ObjectExpression")for(const S of o.optionsRuntimeDecl.properties)(S.type==="ObjectProperty"||S.type==="ObjectMethod")&&S.key.type==="Identifier"&&(S.key.name==="props"&&(a=S),S.key.name==="emits"&&(u=S),S.key.name==="expose"&&(p=S),S.key.name==="slots"&&(y=S));return a&&o.error(`${yC}() cannot be used to declare props. Use ${jh}() instead.`,a),u&&o.error(`${yC}() cannot be used to declare emits. Use ${F3}() instead.`,u),p&&o.error(`${yC}() cannot be used to declare expose. Use ${EQ}() instead.`,p),y&&o.error(`${yC}() cannot be used to declare slots. Use ${PX}() instead.`,y),!0}function yBt(o,i,a,u){const p=i.argument.extra&&i.argument.extra.parenthesized?i.argument.extra.parenStart:i.argument.start,y=o.startOffset,S=o.descriptor.source.slice(p+y,i.argument.end+y),A=/\bawait\b/.test(S);o.s.overwrite(i.start+y,p+y,`${a?";":""}(
([__temp,__restore] = ${o.helper("withAsyncContext")}(${A?"async ":""}() => `),o.s.appendLeft(i.end+y,`)),
${u?"":"__temp = "}await __temp,
__restore()${u?"":`,
__temp`}
)`)}var vBt=Object.defineProperty,bBt=Object.defineProperties,TBt=Object.getOwnPropertyDescriptors,yze=Object.getOwnPropertySymbols,SBt=Object.prototype.hasOwnProperty,xBt=Object.prototype.propertyIsEnumerable,vze=(o,i,a)=>i in o?vBt(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,LF=(o,i)=>{for(var a in i||(i={}))SBt.call(i,a)&&vze(o,a,i[a]);if(yze)for(var a of yze(i))xBt.call(i,a)&&vze(o,a,i[a]);return o},pge=(o,i)=>bBt(o,TBt(i));function IGe(o,i){var a;i.id||L3("compileScript now requires passing the `id` option.\nUpgrade your vite or vue-loader version for compatibility with the latest experimental proposals.");const u=new RRt(o,i),{script:p,scriptSetup:y,source:S,filename:A}=o,N=i.hoistStatic!==!1&&!p,j=i.id?i.id.replace(/^data-v-/,""):"",z=p&&p.lang,G=y&&y.lang,te=!!i.reactivityTransform;let Oe;if(!y){if(!p)throw new Error("[@vue/compiler-sfc] SFC contains no <script> tags.");return FRt(u,j)}if(p&&z!==G)throw new Error("[@vue/compiler-sfc] <script> and <script setup> must have the same language type.");if(G&&!u.isJS&&!u.isTS)return y;const $e=Object.create(null),Be=Object.create(null);let Qe,Ue=!1,yt=!1;const ot=u.startOffset,Ve=u.endOffset,Ft=p&&p.loc.start.offset,ir=p&&p.loc.end.offset;function kr(yr){const Dn=yr.start+ot;let Ir=yr.end+ot;for(yr.trailingComments&&yr.trailingComments.length>0&&(Ir=yr.trailingComments[yr.trailingComments.length-1].end+ot);Ir<=S.length&&/\s/.test(S.charAt(Ir));)Ir++;u.s.move(Dn,Ir,0)}function Ot(yr,Dn,Ir,lr,zi,cr){let ni=cr;cr&&u.isTS&&o.template&&!o.template.src&&!o.template.lang&&(ni=jqe(Dn,o)),u.userImports[Dn]={isType:lr,imported:Ir,local:Dn,source:yr,isFromSetup:zi,isUsedInTemplate:ni}}function kt(yr,Dn){yr&&Y7(yr,Ir=>{const lr=Be[Ir.name];lr&&lr!=="literal-const"&&u.error(`\`${Dn}()\` 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.`,Ir)})}const Wt=u.scriptAst,pr=u.scriptSetupAst;if(Wt){for(const yr of Wt.body)if(yr.type==="ImportDeclaration")for(const Dn of yr.specifiers){const Ir=Gge(Dn);Ot(yr.source.value,Dn.local.name,Ir,yr.importKind==="type"||Dn.type==="ImportSpecifier"&&Dn.importKind==="type",!1,!i.inlineTemplate)}}for(const yr of pr.body)if(yr.type==="ImportDeclaration"){kr(yr);let Dn=0;const Ir=lr=>{const zi=lr>Dn;Dn++;const cr=yr.specifiers[lr],ni=yr.specifiers[lr+1];u.s.remove(zi?yr.specifiers[lr-1].end+ot:cr.start+ot,ni&&!zi?ni.start+ot:cr.end+ot)};for(let lr=0;lr<yr.specifiers.length;lr++){const zi=yr.specifiers[lr],cr=zi.local.name,ni=Gge(zi),li=yr.source.value,gs=u.userImports[cr];li==="vue"&&(ni===jh||ni===F3||ni===EQ)?(L3(`\`${ni}\` is a compiler macro and no longer needs to be imported.`),Ir(lr)):gs?gs.source===li&&gs.imported===ni?Ir(lr):u.error("different imports aliased to same local name.",zi):Ot(li,cr,ni,yr.importKind==="type"||zi.type==="ImportSpecifier"&&zi.importKind==="type",!0,!i.inlineTemplate)}yr.specifiers.length&&Dn===yr.specifiers.length&&u.s.remove(yr.start+ot,yr.end+ot)}const Sn={};for(const yr in u.userImports){const{source:Dn,imported:Ir,local:lr}=u.userImports[yr];Dn==="vue"&&(Sn[Ir]=lr)}if(p&&Wt){for(const yr of Wt.body)if(yr.type==="ExportDefaultDeclaration"){Qe=yr;let Dn;if(Qe.declaration.type==="ObjectExpression"?Dn=Qe.declaration.properties:Qe.declaration.type==="CallExpression"&&Qe.declaration.arguments[0]&&Qe.declaration.arguments[0].type==="ObjectExpression"&&(Dn=Qe.declaration.arguments[0].properties),Dn)for(const zi of Dn)zi.type==="ObjectProperty"&&zi.key.type==="Identifier"&&zi.key.name==="name"&&(u.hasDefaultExportName=!0),(zi.type==="ObjectMethod"||zi.type==="ObjectProperty")&&zi.key.type==="Identifier"&&zi.key.name==="render"&&(u.hasDefaultExportRender=!0);const Ir=yr.start+Ft,lr=yr.declaration.start+Ft;u.s.overwrite(Ir,lr,`const ${GN} = `)}else if(yr.type==="ExportNamedDeclaration"){const Dn=yr.specifiers.find(Ir=>Ir.exported.type==="Identifier"&&Ir.exported.name==="default");Dn&&(Qe=yr,yr.specifiers.length>1?u.s.remove(Dn.start+Ft,Dn.end+Ft):u.s.remove(yr.start+Ft,yr.end+Ft),yr.source?u.s.prepend(`import { ${Dn.local.name} as ${GN} } from '${yr.source.value}'
`):u.s.appendLeft(ir,`
const ${GN} = ${Dn.local.name}
`)),yr.declaration&&dge("script",yr.declaration,$e,Sn,N)}else(yr.type==="VariableDeclaration"||yr.type==="FunctionDeclaration"||yr.type==="ClassDeclaration"||yr.type==="TSEnumDeclaration")&&!yr.declare&&dge("script",yr,$e,Sn,N);if(te&&WR(p.content)){const{rootRefs:yr,importedHelpers:Dn}=R7(Wt,u.s,Ft);Oe=yr;for(const Ir of Dn)u.helperImports.add(Ir)}Ft>ot&&(/\n$/.test(p.content.trim())||u.s.appendLeft(ir,`
`),u.s.move(Ft,ir,0))}for(const yr of pr.body){if(yr.type==="ExpressionStatement"){const Ir=mx(yr.expression);if(Lye(u,Ir)||dze(u,Ir)||gze(u,Ir)||hze(u,Ir))u.s.remove(yr.start+ot,yr.end+ot);else if(gBt(u,Ir)){const lr=Ir.callee;u.s.overwrite(lr.start+ot,lr.end+ot,"__expose")}else pze(u,Ir)}if(yr.type==="VariableDeclaration"&&!yr.declare){const Ir=yr.declarations.length;let lr=Ir,zi;for(let cr=0;cr<Ir;cr++){const ni=yr.declarations[cr],li=ni.init&&mx(ni.init);if(li){gze(u,li)&&u.error(`${yC}() has no returning value, it cannot be assigned.`,yr);const gs=Lye(u,li,ni.id),na=!gs&&dze(u,li,ni.id);if(!na&&(hze(u,li,ni.id)||pze(u,li,ni.id)),gs||na)if(lr===1)u.s.remove(yr.start+ot,yr.end+ot);else{let sr=ni.start+ot,Ne=ni.end+ot;cr===Ir-1?sr=yr.declarations[zi].end+ot:Ne=yr.declarations[cr+1].start+ot,u.s.remove(sr,Ne),lr--}else zi=cr}}}let Dn=!1;if((yr.type==="VariableDeclaration"||yr.type==="FunctionDeclaration"||yr.type==="ClassDeclaration"||yr.type==="TSEnumDeclaration")&&!yr.declare&&(Dn=dge("scriptSetup",yr,Be,Sn,N)),N&&Dn&&kr(yr),yr.type==="VariableDeclaration"&&!yr.declare||yr.type.endsWith("Statement")){const Ir=[pr.body];iB(yr,{enter(lr,zi){if(Ob(lr)&&this.skip(),lr.type==="BlockStatement"&&Ir.push(lr.body),lr.type==="AwaitExpression"){Ue=!0;const ni=Ir[Ir.length-1].some((li,gs)=>(Ir.length===1||gs>0)&&li.type==="ExpressionStatement"&&li.start===lr.start);yBt(u,lr,ni,zi.type==="ExpressionStatement")}},exit(lr){lr.type==="BlockStatement"&&Ir.pop()}})}(yr.type==="ExportNamedDeclaration"&&yr.exportKind!=="type"||yr.type==="ExportAllDeclaration"||yr.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.",yr),u.isTS&&(yr.type.startsWith("TS")||yr.type==="ExportNamedDeclaration"&&yr.exportKind==="type"||yr.type==="VariableDeclaration"&&yr.declare)&&yr.type!=="TSEnumDeclaration"&&kr(yr)}if(u.propsDestructureDecl&&dBt(u,Sn),te&&(Oe||WR(y.content))){const{rootRefs:yr,importedHelpers:Dn}=R7(pr,u.s,ot,Oe);Oe=Oe?[...Oe,...yr]:yr;for(const Ir of Dn)u.helperImports.add(Ir)}kt(u.propsRuntimeDecl,jh),kt(u.propsRuntimeDefaults,jh),kt(u.propsDestructureDecl,jh),kt(u.emitsRuntimeDecl,F3),kt(u.optionsRuntimeDecl,yC),p?ot<Ft?(u.s.remove(0,ot),u.s.remove(Ve,Ft),u.s.remove(ir,S.length)):(u.s.remove(0,Ft),u.s.remove(ir,ot),u.s.remove(Ve,S.length)):(u.s.remove(0,ot),u.s.remove(Ve,S.length)),Wt&&Object.assign(u.bindingMetadata,vGe(Wt.body));for(const[yr,{isType:Dn,imported:Ir,source:lr}]of Object.entries(u.userImports))Dn||(u.bindingMetadata[yr]=Ir==="*"||Ir==="default"&&lr.endsWith(".vue")||lr==="vue"?"setup-const":"setup-maybe-ref");for(const yr in $e)u.bindingMetadata[yr]=$e[yr];for(const yr in Be)u.bindingMetadata[yr]=Be[yr];if(Oe)for(const yr of Oe)u.bindingMetadata[yr]="setup-ref";o.cssVars.length&&!(i.inlineTemplate&&((a=i.templateOptions)!=null&&a.ssr))&&(u.helperImports.add(sQ),u.helperImports.add("unref"),u.s.prependLeft(ot,`
${Bqe(o.cssVars,u.bindingMetadata,j,!!i.isProd)}
`));let gr="__props";if(u.propsTypeDecl&&(gr+=": any"),u.propsIdentifier&&u.s.prependLeft(ot,`
const ${u.propsIdentifier} = __props;
`),u.propsDestructureRestId&&u.s.prependLeft(ot,`
const ${u.propsDestructureRestId} = ${u.helper("createPropsRestProxy")}(__props, ${JSON.stringify(Object.keys(u.propsDestructuredBindings))});
`),Ue){const yr=u.isTS?": any":"";u.s.prependLeft(ot,`
let __temp${yr}, __restore${yr}
`)}const ji=u.hasDefineExposeCall||!i.inlineTemplate?["expose: __expose"]:[];u.emitIdentifier&&ji.push(u.emitIdentifier==="emit"?"emit":`emit: ${u.emitIdentifier}`),ji.length&&(gr+=`, { ${ji.join(", ")} }`);let us;if(!i.inlineTemplate||!o.template&&u.hasDefaultExportRender){const yr=LF(LF({},$e),Be);for(const Dn in u.userImports)!u.userImports[Dn].isType&&u.userImports[Dn].isUsedInTemplate&&(yr[Dn]=!0);us="{ ";for(const Dn in yr)if(yr[Dn]===!0&&u.userImports[Dn].source!=="vue"&&!u.userImports[Dn].source.endsWith(".vue"))us+=`get ${Dn}() { return ${Dn} }, `;else if(u.bindingMetadata[Dn]==="setup-let"){const Ir=Dn==="v"?"_v":"v";us+=`get ${Dn}() { return ${Dn} }, set ${Dn}(${Ir}) { ${Dn} = ${Ir} }, `}else us+=`${Dn}, `;us=us.replace(/, $/,"")+" }"}else if(o.template&&!o.template.src){i.templateOptions&&i.templateOptions.ssr&&(yt=!0);const{code:yr,ast:Dn,preamble:Ir,tips:lr,errors:zi}=$1e(pge(LF({filename:A,source:o.template.content,inMap:o.template.map},i.templateOptions),{id:j,scoped:o.styles.some(ni=>ni.scoped),isProd:i.isProd,ssrCssVars:o.cssVars,compilerOptions:pge(LF({},i.templateOptions&&i.templateOptions.compilerOptions),{inline:!0,isTS:u.isTS,bindingMetadata:u.bindingMetadata})}));lr.length&&lr.forEach(L3);const cr=zi[0];if(typeof cr=="string")throw new Error(cr);if(cr)throw cr.loc&&(cr.message+=`
`+o.filename+`
`+R3(S,cr.loc.start.offset,cr.loc.end.offset)+`
`),cr;Ir&&u.s.prepend(Ir),Dn&&Dn.helpers.has(k7)&&u.helperImports.delete("unref"),us=yr}else us="() => {}";i.inlineTemplate?u.s.appendRight(Ve,`
return ${us}
}
`):u.s.appendRight(Ve,`
const __returned__ = ${us}
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })
return __returned__
}
`);const qt=i.genDefaultAs?`const ${i.genDefaultAs} =`:"export default";let qa="";if(!u.hasDefaultExportName&&A&&A!==Jqe){const yr=A.match(/([^/\\]+)\.\w+$/);yr&&(qa+=`
__name: '${yr[1]}',`)}yt&&(qa+=`
__ssrInlineRender: true,`);const $s=oBt(u);$s&&(qa+=`
props: ${$s},`);const $n=mBt(u);$n&&(qa+=`
emits: ${$n},`);let ln="";u.optionsRuntimeDecl&&(ln=y.content.slice(u.optionsRuntimeDecl.start,u.optionsRuntimeDecl.end).trim());const yn=u.hasDefineExposeCall||i.inlineTemplate?"":` __expose();
`;if(u.isTS){const yr=(Qe?`
...${GN},`:"")+(ln?`
...${ln},`:"");u.s.prependLeft(ot,`
${qt} /*#__PURE__*/${u.helper("defineComponent")}({${yr}${qa}
${Ue?"async ":""}setup(${gr}) {
${yn}`),u.s.appendRight(Ve,"})")}else Qe||ln?(u.s.prependLeft(ot,`
${qt} /*#__PURE__*/Object.assign(${Qe?`${GN}, `:""}${ln?`${ln}, `:""}{${qa}
${Ue?"async ":""}setup(${gr}) {
${yn}`),u.s.appendRight(Ve,"})")):(u.s.prependLeft(ot,`
${qt} {${qa}
${Ue?"async ":""}setup(${gr}) {
${yn}`),u.s.appendRight(Ve,"}"));return u.helperImports.size>0&&u.s.prepend(`import { ${[...u.helperImports].map(yr=>`${yr} as _${yr}`).join(", ")} } from 'vue'
`),u.s.trim(),pge(LF({},y),{bindings:u.bindingMetadata,imports:u.userImports,content:u.s.toString(),map:i.sourceMap!==!1?u.s.generateMap({source:A,hires:!0,includeContent:!0}):void 0,scriptAst:Wt==null?void 0:Wt.body,scriptSetupAst:pr==null?void 0:pr.body,deps:u.deps?[...u.deps]:void 0})}function f7(o,i,a){o[i.name]=a}function dge(o,i,a,u,p){let y=!1;if(i.type==="VariableDeclaration"){const S=i.kind==="const";y=S&&i.declarations.every(A=>A.id.type==="Identifier"&&sT(A.init));for(const{id:A,init:N}of i.declarations){const j=N&&mx(N),z=!!(S&&Fy(j,G=>G===jh||G===F3||G===XN));if(A.type==="Identifier"){let G;const te=u.reactive;(p||o==="script")&&(y||S&&sT(j))?G="literal-const":Fy(j,te)?G=S?"setup-reactive-const":"setup-let":z||S&&MGe(j,te)?G=Fy(j,jh)?"setup-reactive-const":"setup-const":S?Fy(j,Oe=>Oe===u.ref||Oe===u.computed||Oe===u.shallowRef||Oe===u.customRef||Oe===u.toRef||Oe===DGe)?G="setup-ref":G="setup-maybe-ref":G="setup-let",f7(a,A,G)}else{if(Fy(j,jh))continue;A.type==="ObjectPattern"?OGe(A,a,S,z):A.type==="ArrayPattern"&&LGe(A,a,S,z)}}}else i.type==="TSEnumDeclaration"?(y=i.members.every(S=>!S.initializer||sT(S.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 OGe(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";f7(i,p.key,y)}else xve(p.value,i,a,u);else{const y=a?"setup-const":"setup-let";f7(i,p.argument,y)}}function LGe(o,i,a,u=!1){for(const p of o.elements)p&&xve(p,i,a,u)}function xve(o,i,a,u=!1){if(o.type==="Identifier")f7(i,o,u?"setup-const":a?"setup-maybe-ref":"setup-let");else if(o.type==="RestElement"){const p=a?"setup-const":"setup-let";f7(i,o.argument,p)}else if(o.type==="ObjectPattern")OGe(o,i,a);else if(o.type==="ArrayPattern")LGe(o,i,a);else if(o.type==="AssignmentPattern")if(o.left.type==="Identifier"){const p=u?"setup-const":a?"setup-maybe-ref":"setup-let";f7(i,o.left,p)}else xve(o.left,i,a)}function MGe(o,i){if(Fy(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 MGe(o.expressions[o.expressions.length-1],i);default:return!!Pqe(o)}}function sT(o){switch(o=mx(o),o.type){case"UnaryExpression":return sT(o.argument);case"LogicalExpression":case"BinaryExpression":return sT(o.left)&&sT(o.right);case"ConditionalExpression":return sT(o.test)&&sT(o.consequent)&&sT(o.alternate);case"SequenceExpression":case"TemplateLiteral":return o.expressions.every(i=>sT(i));case"ParenthesizedExpression":return sT(o.expression);case"StringLiteral":case"NumericLiteral":case"BooleanLiteral":case"NullLiteral":case"BigIntLiteral":return!0}return!1}const FGe="3.3.4",RGe=iB,kBt=Object.freeze(Object.defineProperty({__proto__:null,MagicString:FC,babelParse:C6,compileScript:IGe,compileStyle:dGe,compileStyleAsync:mGe,compileTemplate:$1e,extractIdentifiers:Ib,generateCodeFrame:R3,inferRuntimeType:U0,invalidateTypeCache:wGe,isInDestructureAssignment:W3,isStaticProperty:H3,parse:E1e,parseCache:oQ,registerTS:CGe,resolveTypeElements:Mh,rewriteDefault:bGe,rewriteDefaultAST:VY,shouldTransformRef:WR,transformRef:yGe,transformRefAST:R7,version:FGe,walk:RGe,walkIdentifiers:Y7},Symbol.toStringTag,{value:"Module"})),CBt=QVe(kBt);var AQ={},wBt={get exports(){return AQ},set exports(o){AQ=o}};const EBt={},ABt=Object.freeze(Object.defineProperty({__proto__:null,default:EBt},Symbol.toStringTag,{value:"Module"})),dC=QVe(ABt);/*! *****************************************************************************
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 bze;function PBt(){return bze||(bze=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},S=(e,t)=>{for(var n in t)a(e,n,{get:t[n],enumerable:!0})},A,N,j,z=p({"src/compiler/corePublic.ts"(){A="5.1",N="5.1.3",j=(e=>(e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",e))(j||{})}});function G(e){return e?e.length:0}function te(e,t){if(e)for(let n=0;n<e.length;n++){const s=t(e[n],n);if(s)return s}}function Oe(e,t){if(e)for(let n=e.length-1;n>=0;n--){const s=t(e[n],n);if(s)return s}}function $e(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 Be(e,t){for(const n of e){const s=t(n);if(s!==void 0)return s}}function Qe(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 Ue(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 yt(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 ot(e,t){if(e){for(let n=0;n<e.length;n++)if(!t(e[n],n))return!1}return!0}function Ve(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 Ft(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 ir(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 kt(e,t,n=Ub){if(e){for(const s of e)if(n(s,t))return!0}return!1}function Wt(e,t,n=Ub){return e.length===t.length&&e.every((s,l)=>n(s,t[l]))}function pr(e,t,n){for(let s=n||0;s<e.length;s++)if(kt(t,e.charCodeAt(s)))return s;return-1}function Sn(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 gr(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 ji(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 us(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*qa(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 $n(e){const t=[];for(const n of e)n&&(ka(n)?Pi(t,n):t.push(n));return t}function ln(e,t){let n;if(e)for(let s=0;s<e.length;s++){const l=t(e[s],s);l&&(ka(l)?n=Pi(n,l):n=zr(n,l))}return n||ft}function yn(e,t){const n=[];if(e)for(let s=0;s<e.length;s++){const l=t(e[s],s);l&&(ka(l)?Pi(n,l):n.push(l))}return n}function*yr(e,t){for(const n of e){const s=t(n);s&&(yield*s)}}function Dn(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||ka(f))&&(n||(n=e.slice(0,s)),ka(f)?Pi(n,f):n.push(f))}return n||e}function Ir(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 lr(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*zi(e,t){for(const n of e){const s=t(n);s!==void 0&&(yield s)}}function cr(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 ni(e,t,n){if(e.has(t))return e.get(t);const s=n();return e.set(t,s),s}function li(e,t){return e.has(t)?!1:(e.add(t),!0)}function*gs(e){yield e}function na(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 sr(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 Ne(e,t){if(e)if(t){for(const n of e)if(t(n))return!0}else return e.length>0;return!1}function Mr(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 wr(e,t){return Ne(t)?Ne(e)?[...e,...t]:t:e}function Ii(e,t){return t}function Wi(e){return e.map(Ii)}function Hs(e,t,n){const s=Wi(e);H0(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 ps(e,t){const n=[];for(const s of e)Sp(n,s,t);return n}function Ds(e,t,n){return e.length===0?[]:e.length===1?e.slice():n?Hs(e,t,n):ps(e,t)}function es(e,t){if(e.length===0)return ft;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 ao(){return[]}function ha(e,t,n,s){if(e.length===0)return e.push(t),!0;const l=dv(e,t,Kc,n);return l<0?(e.splice(~l,0,t),!0):s?(e.splice(l,0,t),!0):!1}function mo(e,t,n){return es(gx(e,t),n||t||zf)}function tc(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 Zc(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=Ub){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 Ql(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 O_(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 zr(e,t){return t===void 0?e:e===void 0?[t]:(e.push(t),e)}function Vh(e,t){return e===void 0?t:t===void 0?e:ka(e)?ka(t)?wr(e,t):zr(e,t):ka(t)?zr(t,e):[e,t]}function Q3(e,t){return t<0?e.length+t:t}function Pi(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:Q3(t,n),s=s===void 0?t.length:Q3(t,s);for(let l=n;l<s&&l<t.length;l++)t[l]!==void 0&&e.push(t[l]);return e}function Sp(e,t,n){return kt(e,t,n)?!1:(e.push(t),!0)}function n_(e,t,n){return e?(Sp(e,t,n),e):[t]}function H0(e,t,n){t.sort((s,l)=>n(e[s],e[l])||wc(s,l))}function gx(e,t){return e.length===0?e:e.slice().sort(t)}function*BGe(e){for(let t=e.length-1;t>=0;t--)yield e[t]}function G0(e,t){const n=Wi(e);return H0(e,n,t),n.map(s=>e[s])}function WY(e,t,n,s){for(;n<s;){if(e[n]!==t[n])return!1;n++}return!0}function Hu(e){return e===void 0||e.length===0?void 0:e[0]}function cB(e){if(e)for(const t of e)return t}function Oo(e){return R.assert(e.length!==0),e[0]}function kve(e){for(const t of e)return t;R.fail("iterator is empty")}function Bc(e){return e===void 0||e.length===0?void 0:e[e.length-1]}function To(e){return R.assert(e.length!==0),e[e.length-1]}function $h(e){return e&&e.length===1?e[0]:void 0}function HY(e){return R.checkDefined($h(e))}function Ug(e){return e&&e.length===1?e[0]:e}function GY(e,t,n){const s=e.slice(0);return s[t]=n,s}function dv(e,t,n,s,l){return JC(e,n(t),n,s,l)}function JC(e,t,n,s,l){if(!Ne(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 Uf(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 uc(e,t){return Z0.call(e,t)}function iI(e,t){return Z0.call(e,t)?e[t]:void 0}function Jy(e){const t=[];for(const n in e)Z0.call(e,n)&&t.push(n);return t}function jGe(e){const t=[];do{const n=Object.getOwnPropertyNames(e);for(const s of n)Sp(t,s)}while(e=Object.getPrototypeOf(e));return t}function UC(e){const t=[];for(const n in e)Z0.call(e,n)&&t.push(e[n]);return t}function Cve(e,t){const n=new Array(e);for(let s=0;s<e;s++)n[s]=t(s);return n}function oo(e,t){const n=[];for(const s of e)n.push(t?t(s):s);return n}function sI(e,...t){for(const n of t)if(n!==void 0)for(const s in n)uc(n,s)&&(e[s]=n[s]);return e}function wve(e,t,n=Ub){if(e===t)return!0;if(!e||!t)return!1;for(const s in e)if(Z0.call(e,s)&&(!Z0.call(t,s)||!n(e[s],t[s])))return!1;for(const s in t)if(Z0.call(t,s)&&!Z0.call(e,s))return!1;return!0}function gT(e,t,n=Kc){const s=new Map;for(const l of e){const f=t(l);f!==void 0&&s.set(f,n(l))}return s}function Eve(e,t,n=Kc){const s=[];for(const l of e)s[t(l)]=n(l);return s}function aI(e,t,n=Kc){const s=sd();for(const l of e)s.add(t(l),n(l));return s}function Y3(e,t,n=Kc){return oo(aI(e,t).values(),n)}function Ave(e,t){const n={};if(e)for(const s of e){const l=`${t(s)}`;(n[l]??(n[l]=[])).push(s)}return n}function XY(e){const t={};for(const n in e)Z0.call(e,n)&&(t[n]=e[n]);return t}function lB(e,t){const n={};for(const s in t)Z0.call(t,s)&&(n[s]=t[s]);for(const s in e)Z0.call(e,s)&&(n[s]=e[s]);return n}function QY(e,t){for(const n in t)Z0.call(t,n)&&(e[n]=t[n])}function no(e,t){return t?t.bind(e):void 0}function sd(){const e=new Map;return e.add=JGe,e.remove=UGe,e}function JGe(e,t){let n=this.get(e);return n?n.push(t):this.set(e,n=[t]),n}function UGe(e,t){const n=this.get(e);n&&(lI(n,t),n.length||this.delete(e))}function YY(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 zGe(e,t){const n=new Map;let s=0;function*l(){for(const d of n.values())ka(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(!ka(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(ka(h))kt(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(ka(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]):KY(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 oo(n.values()))if(ka(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 ka(e){return Array.isArray(e)}function oI(e){return ka(e)?e:[e]}function Wa(e){return typeof e=="string"}function X0(e){return typeof e=="number"}function wi(e,t){return e!==void 0&&t(e)?e:void 0}function Ua(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 fc(e){}function Q0(){return!1}function jb(){return!0}function Jb(){}function Kc(e){return e}function Pve(e){return e.toLowerCase()}function wm(e){return iZ.test(e)?e.replace(iZ,Pve):e}function Ta(){throw new Error("Not implemented")}function tp(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function qh(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 VGe(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 Dve(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 $Ge(e,t,n,s,l){if(l){const f=[];for(let d=0;d<arguments.length;d++)f[d]=arguments[d];return d=>Uf(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 Ub(e,t){return e===t}function zC(e,t){return e===t||e!==void 0&&t!==void 0&&e.toUpperCase()===t.toUpperCase()}function VC(e,t){return Ub(e,t)}function Nve(e,t){return e===t?0:e===void 0?-1:t===void 0?1:e<t?-1:1}function wc(e,t){return Nve(e,t)}function uB(e,t){return wc(e==null?void 0:e.start,t==null?void 0:t.start)||wc(e==null?void 0:e.length,t==null?void 0:t.length)}function ZY(e,t){return Uf(e,(n,s)=>t(n,s)===-1?n:s)}function fB(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 Ive(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 zf(e,t){return Nve(e,t)}function _B(e){return e?fB:zf}function Ove(){return yB}function Lve(e){yB!==e&&(yB=e,aZ=void 0)}function cI(e,t){return(aZ||(aZ=qve(yB)))(e,t)}function Mve(e,t,n,s){return e===t?0:e===void 0?-1:t===void 0?1:s(e[n],t[n])}function yT(e,t){return wc(e?1:0,t?1:0)}function Z3(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=qGe(e,g,l-.1);if(h===void 0)continue;R.assert(h<l),l=h,f=d}}return f}function qGe(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),T=Math.floor(t.length>n+g?n+g:t.length);l[0]=g;let C=g;for(let O=1;O<k;O++)l[O]=f;for(let O=k;O<=T;O++){const M=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,M);l[O]=U,C=Math.min(C,U)}for(let O=T+1;O<=t.length;O++)l[O]=f;if(C>n)return;const D=s;s=l,l=D}const d=s[t.length];return d>n?void 0:d}function Sl(e,t){const n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function P6(e,t){return Sl(e,t)?e.slice(0,e.length-t.length):e}function Fve(e,t){return Sl(e,t)?e.slice(0,e.length-t.length):void 0}function rf(e,t){return e.indexOf(t)!==-1}function Rve(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 pB(e,t){for(let n=0;n<e.length;n++)if(e[n]===t)return zb(e,n),!0;return!1}function zb(e,t){for(let n=t;n<e.length-1;n++)e[n]=e[n+1];e.pop()}function KY(e,t){e[t]=e[e.length-1],e.pop()}function lI(e,t){return WGe(e,n=>n===t)}function WGe(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return KY(e,n),!0;return!1}function nf(e){return e?Kc:wm}function Bve({prefix:e,suffix:t}){return`${e}*${t}`}function jve(e,t){return R.assert(dB(e,t)),t.substring(e.prefix.length,t.length-e.suffix.length)}function eZ(e,t,n){let s,l=-1;for(const f of e){const d=t(f);dB(d,n)&&d.prefix.length>l&&(l=d.prefix.length,s=f)}return s}function Xs(e,t){return e.lastIndexOf(t,0)===0}function K3(e,t){return Xs(e,t)?e.substr(t.length):e}function tZ(e,t,n=Kc){return Xs(n(e),n(t))?e.substring(t.length):void 0}function dB({prefix:e,suffix:t},n){return n.length>=e.length+t.length&&Xs(n,e)&&Sl(n,t)}function mB(e,t){return n=>e(n)&&t(n)}function Wh(...e){return(...t)=>{let n;for(const s of e)if(n=s(...t),n)return n;return n}}function hB(e){return(...t)=>!e(...t)}function HGe(e){}function yx(e){return e===void 0?void 0:[e]}function Jve(e,t,n,s,l,f){f=f||fc;let d=0,g=0;const h=e.length,k=t.length;let T=!1;for(;d<h&&g<k;){const C=e[d],D=t[g],O=n(C,D);O===-1?(s(C),d++,T=!0):O===1?(l(D),g++,T=!0):(f(D,C),d++,g++)}for(;d<h;)s(e[d++]),T=!0;for(;g<k;)l(t[g++]),T=!0;return T}function Uve(e){const t=[];return zve(e,t,void 0,0),t}function zve(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):zve(e,t,f,s+1)}}function vx(e,t,n=" "){return t<=e.length?e:n.repeat(t-e.length)+e}function GGe(e,t,n=" "){return t<=e.length?e:e+n.repeat(t-e.length)}function uI(e,t){if(e){const n=e.length;let s=0;for(;s<n&&t(e[s]);)s++;return e.slice(0,s)}}function Vve(e,t){if(e){const n=e.length;let s=0;for(;s<n&&t(e[s]);)s++;return e.slice(s)}}function XGe(e){let t=e.length-1;for(;t>=0&&zg(e.charCodeAt(t));)t--;return e.slice(0,t+1)}function rZ(){return typeof process<"u"&&!!process.nextTick&&!process.browser&&!0}var ft,gB,$ve,nZ,Y0,Z0,iZ,sZ,qve,aZ,yB,vT,$C,eP,QGe=p({"src/compiler/core.ts"(){Ba(),ft=[],gB=new Map,$ve=new Set,nZ=(e=>(e[e.None=0]="None",e[e.CaseSensitive=1]="CaseSensitive",e[e.CaseInsensitive=2]="CaseInsensitive",e[e.Both=3]="Both",e))(nZ||{}),Y0=Array.prototype.at?(e,t)=>e==null?void 0:e.at(t):(e,t)=>{if(e&&(t=Q3(e,t),t<e.length))return e[t]},Z0=Object.prototype.hasOwnProperty,iZ=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g,sZ=(e=>(e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive",e))(sZ||{}),qve=(()=>{let e,t;const n=g();return h;function s(k,T,C){if(k===T)return 0;if(k===void 0)return-1;if(T===void 0)return 1;const D=C(k,T);return D<0?-1:D>0?1:0}function l(k){const T=new Intl.Collator(k,{usage:"sort",sensitivity:"variant"}).compare;return(C,D)=>s(C,D,T)}function f(k){if(k!==void 0)return d();return(C,D)=>s(C,D,T);function T(C,D){return C.localeCompare(D)}}function d(){return(C,D)=>s(C,D,k);function k(C,D){return T(C.toUpperCase(),D.toUpperCase())||T(C,D)}function T(C,D){return C<D?-1:C>D?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)}})(),vT=String.prototype.trim?e=>e.trim():e=>$C(eP(e)),$C=String.prototype.trimEnd?e=>e.trimEnd():XGe,eP=String.prototype.trimStart?e=>e.trimStart():e=>e.replace(/^\s+/g,"")}}),oZ,R,YGe=p({"src/compiler/debug.ts"(){Ba(),Ba(),oZ=(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))(oZ||{}),(e=>{let t=0;e.currentLogLevel=2,e.isDebugging=!1;function n(Kt){return e.currentLogLevel<=Kt}e.shouldLog=n;function s(Kt,Qr){e.loggingHost&&n(Kt)&&e.loggingHost.log(Kt,Qr)}function l(Kt){s(3,Kt)}e.log=l,(Kt=>{function Qr(ls){s(1,ls)}Kt.error=Qr;function _n(ls){s(2,ls)}Kt.warn=_n;function Nn(ls){s(3,ls)}Kt.log=Nn;function ks(ls){s(4,ls)}Kt.trace=ks})(l=e.log||(e.log={}));const f={};function d(){return t}e.getAssertionLevel=d;function g(Kt){const Qr=t;if(t=Kt,Kt>Qr)for(const _n of Jy(f)){const Nn=f[_n];Nn!==void 0&&e[_n]!==Nn.assertion&&Kt>=Nn.level&&(e[_n]=Nn,f[_n]=void 0)}}e.setAssertionLevel=g;function h(Kt){return t>=Kt}e.shouldAssert=h;function k(Kt,Qr){return h(Kt)?!0:(f[Qr]={level:Kt,assertion:e[Qr]},e[Qr]=fc,!1)}function T(Kt,Qr){debugger;const _n=new Error(Kt?`Debug Failure. ${Kt}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(_n,Qr||T),_n}e.fail=T;function C(Kt,Qr,_n){return T(`${Qr||"Unexpected node."}\r
Node ${ut(Kt.kind)} was unexpected.`,_n||C)}e.failBadSyntaxKind=C;function D(Kt,Qr,_n,Nn){Kt||(Qr=Qr?`False expression: ${Qr}`:"False expression.",_n&&(Qr+=`\r
Verbose Debug Information: `+(typeof _n=="string"?_n:_n())),T(Qr,Nn||D))}e.assert=D;function O(Kt,Qr,_n,Nn,ks){if(Kt!==Qr){const ls=_n?Nn?`${_n} ${Nn}`:_n:"";T(`Expected ${Kt} === ${Qr}. ${ls}`,ks||O)}}e.assertEqual=O;function M(Kt,Qr,_n,Nn){Kt>=Qr&&T(`Expected ${Kt} < ${Qr}. ${_n||""}`,Nn||M)}e.assertLessThan=M;function U(Kt,Qr,_n){Kt>Qr&&T(`Expected ${Kt} <= ${Qr}`,_n||U)}e.assertLessThanOrEqual=U;function B(Kt,Qr,_n){Kt<Qr&&T(`Expected ${Kt} >= ${Qr}`,_n||B)}e.assertGreaterThanOrEqual=B;function H(Kt,Qr,_n){Kt==null&&T(Qr,_n||H)}e.assertIsDefined=H;function Y(Kt,Qr,_n){return H(Kt,Qr,_n||Y),Kt}e.checkDefined=Y;function Z(Kt,Qr,_n){for(const Nn of Kt)H(Nn,Qr,_n||Z)}e.assertEachIsDefined=Z;function fe(Kt,Qr,_n){return Z(Kt,Qr,_n||fe),Kt}e.checkEachDefined=fe;function Q(Kt,Qr="Illegal value:",_n){const Nn=typeof Kt=="object"&&uc(Kt,"kind")&&uc(Kt,"pos")?"SyntaxKind: "+ut(Kt.kind):JSON.stringify(Kt);return T(`${Qr} ${Nn}`,_n||Q)}e.assertNever=Q;function he(Kt,Qr,_n,Nn){k(1,"assertEachNode")&&D(Qr===void 0||ot(Kt,Qr),_n||"Unexpected node.",()=>`Node array did not pass test '${le(Qr)}'.`,Nn||he)}e.assertEachNode=he;function W(Kt,Qr,_n,Nn){k(1,"assertNode")&&D(Kt!==void 0&&(Qr===void 0||Qr(Kt)),_n||"Unexpected node.",()=>`Node ${ut(Kt==null?void 0:Kt.kind)} did not pass test '${le(Qr)}'.`,Nn||W)}e.assertNode=W;function ye(Kt,Qr,_n,Nn){k(1,"assertNotNode")&&D(Kt===void 0||Qr===void 0||!Qr(Kt),_n||"Unexpected node.",()=>`Node ${ut(Kt.kind)} should not have passed test '${le(Qr)}'.`,Nn||ye)}e.assertNotNode=ye;function de(Kt,Qr,_n,Nn){k(1,"assertOptionalNode")&&D(Qr===void 0||Kt===void 0||Qr(Kt),_n||"Unexpected node.",()=>`Node ${ut(Kt==null?void 0:Kt.kind)} did not pass test '${le(Qr)}'.`,Nn||de)}e.assertOptionalNode=de;function Ce(Kt,Qr,_n,Nn){k(1,"assertOptionalToken")&&D(Qr===void 0||Kt===void 0||Kt.kind===Qr,_n||"Unexpected node.",()=>`Node ${ut(Kt==null?void 0:Kt.kind)} was not a '${ut(Qr)}' token.`,Nn||Ce)}e.assertOptionalToken=Ce;function K(Kt,Qr,_n){k(1,"assertMissingNode")&&D(Kt===void 0,Qr||"Unexpected node.",()=>`Node ${ut(Kt.kind)} was unexpected'.`,_n||K)}e.assertMissingNode=K;function ce(Kt){}e.type=ce;function le(Kt){if(typeof Kt!="function")return"";if(uc(Kt,"name"))return Kt.name;{const Qr=Function.prototype.toString.call(Kt),_n=/^function\s+([\w\$]+)\s*\(/.exec(Qr);return _n?_n[1]:""}}e.getFunctionName=le;function xe(Kt){return`{ name: ${xs(Kt.escapedName)}; flags: ${st(Kt.flags)}; declarations: ${qt(Kt.declarations,Qr=>ut(Qr.kind))} }`}e.formatSymbol=xe;function we(Kt=0,Qr,_n){const Nn=ue(Qr);if(Kt===0)return Nn.length>0&&Nn[0][0]===0?Nn[0][1]:"0";if(_n){const ks=[];let ls=Kt;for(const[Yr,Er]of Nn){if(Yr>Kt)break;Yr!==0&&Yr&Kt&&(ks.push(Er),ls&=~Yr)}if(ls===0)return ks.join("|")}else for(const[ks,ls]of Nn)if(ks===Kt)return ls;return Kt.toString()}e.formatEnum=we;const Ie=new Map;function ue(Kt){const Qr=Ie.get(Kt);if(Qr)return Qr;const _n=[];for(const ks in Kt){const ls=Kt[ks];typeof ls=="number"&&_n.push([ls,ks])}const Nn=G0(_n,(ks,ls)=>wc(ks[0],ls[0]));return Ie.set(Kt,Nn),Nn}function ut(Kt){return we(Kt,xB,!1)}e.formatSyntaxKind=ut;function Ge(Kt){return we(Kt,MB,!1)}e.formatSnippetKind=Ge;function qe(Kt){return we(Kt,kB,!0)}e.formatNodeFlags=qe;function Ke(Kt){return we(Kt,CB,!0)}e.formatModifierFlags=Ke;function Me(Kt){return we(Kt,LB,!0)}e.formatTransformFlags=Me;function ze(Kt){return we(Kt,FB,!0)}e.formatEmitFlags=ze;function st(Kt){return we(Kt,PB,!0)}e.formatSymbolFlags=st;function et(Kt){return we(Kt,DB,!0)}e.formatTypeFlags=et;function je(Kt){return we(Kt,IB,!0)}e.formatSignatureFlags=je;function _t(Kt){return we(Kt,NB,!0)}e.formatObjectFlags=_t;function Lt(Kt){return we(Kt,pI,!0)}e.formatFlowFlags=Lt;function Dt(Kt){return we(Kt,wB,!0)}e.formatRelationComparisonResult=Dt;function Xt(Kt){return we(Kt,gz,!0)}e.formatCheckMode=Xt;function Ye(Kt){return we(Kt,yz,!0)}e.formatSignatureCheckMode=Ye;function Bt(Kt){return we(Kt,mz,!0)}e.formatTypeFacts=Bt;let vr=!1,Ar;function Ht(Kt){"__debugFlowFlags"in Kt||Object.defineProperties(Kt,{__tsDebuggerDisplay:{value(){const Qr=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",_n=this.flags&~(2048-1);return`${Qr}${_n?` (${Lt(_n)})`:""}`}},__debugFlowFlags:{get(){return we(this.flags,pI,!0)}},__debugToString:{value(){return Dr(this)}}})}function tn(Kt){vr&&(typeof Object.setPrototypeOf=="function"?(Ar||(Ar=Object.create(Object.prototype),Ht(Ar)),Object.setPrototypeOf(Kt,Ar)):Ht(Kt))}e.attachFlowNodeDebugInfo=tn;let hn;function Br(Kt){"__tsDebuggerDisplay"in Kt||Object.defineProperties(Kt,{__tsDebuggerDisplay:{value(Qr){return Qr=String(Qr).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]"),`NodeArray ${Qr}`}}})}function Cn(Kt){vr&&(typeof Object.setPrototypeOf=="function"?(hn||(hn=Object.create(Array.prototype),Br(hn)),Object.setPrototypeOf(Kt,hn)):Br(Kt))}e.attachNodeArrayDebugInfo=Cn;function ci(){if(vr)return;const Kt=new WeakMap,Qr=new WeakMap;Object.defineProperties(Ru.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){const Nn=this.flags&33554432?"TransientSymbol":"Symbol",ks=this.flags&-33554433;return`${Nn} '${xl(this)}'${ks?` (${st(ks)})`:""}`}},__debugFlags:{get(){return st(this.flags)}}}),Object.defineProperties(Ru.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",ks=this.flags&524288?this.objectFlags&-1344:0;return`${Nn}${this.symbol?` '${xl(this.symbol)}'`:""}${ks?` (${_t(ks)})`:""}`}},__debugFlags:{get(){return et(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?_t(this.objectFlags):""}},__debugTypeToString:{value(){let Nn=Kt.get(this);return Nn===void 0&&(Nn=this.checker.typeToString(this),Kt.set(this,Nn)),Nn}}}),Object.defineProperties(Ru.getSignatureConstructor().prototype,{__debugFlags:{get(){return je(this.flags)}},__debugSignatureToString:{value(){var Nn;return(Nn=this.checker)==null?void 0:Nn.signatureToString(this)}}});const _n=[Ru.getNodeConstructor(),Ru.getIdentifierConstructor(),Ru.getTokenConstructor(),Ru.getSourceFileConstructor()];for(const Nn of _n)uc(Nn.prototype,"__debugKind")||Object.defineProperties(Nn.prototype,{__tsDebuggerDisplay:{value(){return`${il(this)?"GeneratedIdentifier":He(this)?`Identifier '${Zn(this)}'`:fs(this)?`PrivateIdentifier '${Zn(this)}'`:yo(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:Hp(this)?`NumericLiteral ${this.text}`:uU(this)?`BigIntLiteral ${this.text}n`:qc(this)?"TypeParameterDeclaration":ea(this)?"ParameterDeclaration":El(this)?"ConstructorDeclaration":nm(this)?"GetAccessorDeclaration":md(this)?"SetAccessorDeclaration":O4(this)?"CallSignatureDeclaration":gO(this)?"ConstructSignatureDeclaration":Wx(this)?"IndexSignatureDeclaration":dU(this)?"TypePredicateNode":Im(this)?"TypeReferenceNode":ry(this)?"FunctionTypeNode":yD(this)?"ConstructorTypeNode":vD(this)?"TypeQueryNode":Ip(this)?"TypeLiteralNode":Rre(this)?"ArrayTypeNode":L4(this)?"TupleTypeNode":Bre(this)?"OptionalTypeNode":jre(this)?"RestTypeNode":Aw(this)?"UnionTypeNode":yO(this)?"IntersectionTypeNode":M4(this)?"ConditionalTypeNode":Pw(this)?"InferTypeNode":Dw(this)?"ParenthesizedTypeNode":mU(this)?"ThisTypeNode":Nw(this)?"TypeOperatorNode":Iw(this)?"IndexedAccessTypeNode":TD(this)?"MappedTypeNode":n2(this)?"LiteralTypeNode":bD(this)?"NamedTupleMember":t0(this)?"ImportTypeNode":ut(this.kind)}${this.flags?` (${qe(this.flags)})`:""}`}},__debugKind:{get(){return ut(this.kind)}},__debugNodeFlags:{get(){return qe(this.flags)}},__debugModifierFlags:{get(){return Ke(iSe(this))}},__debugTransformFlags:{get(){return Me(this.transformFlags)}},__debugIsParseTreeNode:{get(){return fP(this)}},__debugEmitFlags:{get(){return ze(xo(this))}},__debugGetText:{value(ks){if(Ec(this))return"";let ls=Qr.get(this);if(ls===void 0){const Yr=Gs(this),Er=Yr&&pn(Yr);ls=Er?PT(Er,Yr,ks):"",Qr.set(this,ls)}return ls}}});vr=!0}e.enableDebugInfo=ci;function Ji(Kt){const Qr=Kt&7;let _n=Qr===0?"in out":Qr===3?"[bivariant]":Qr===2?"in":Qr===1?"out":Qr===4?"[independent]":"";return Kt&8?_n+=" (unmeasurable)":Kt&16&&(_n+=" (unreliable)"),_n}e.formatVariance=Ji;class ws{__debugToString(){var Qr;switch(this.kind){case 3:return((Qr=this.debugInfo)==null?void 0:Qr.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return Ue(this.sources,this.targets||qt(this.sources,()=>"any"),(_n,Nn)=>`${_n.__debugTypeToString()} -> ${typeof Nn=="string"?Nn:Nn.__debugTypeToString()}`).join(", ");case 2:return Ue(this.sources,this.targets,(_n,Nn)=>`${_n.__debugTypeToString()} -> ${Nn().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(`
`).join(`
`)}
m2: ${this.mapper2.__debugToString().split(`
`).join(`
`)}`;default:return Q(this)}}}e.DebugTypeMapper=ws;function ui(Kt){return e.isDebugging?Object.setPrototypeOf(Kt,ws.prototype):Kt}e.attachDebugPrototypeIfDebug=ui;function Pt(Kt){return console.log(Dr(Kt))}e.printControlFlowGraph=Pt;function Dr(Kt){let Qr=-1;function _n(pe){return pe.id||(pe.id=Qr,Qr--),pe.id}let Nn;(pe=>{pe.lr="─",pe.ud="│",pe.dr="╭",pe.dl="╮",pe.ul="╯",pe.ur="╰",pe.udr="├",pe.udl="┤",pe.dlr="┬",pe.ulr="┴",pe.udlr="╫"})(Nn||(Nn={}));let ks;(pe=>{pe[pe.None=0]="None",pe[pe.Up=1]="Up",pe[pe.Down=2]="Down",pe[pe.Left=4]="Left",pe[pe.Right=8]="Right",pe[pe.UpDown=3]="UpDown",pe[pe.LeftRight=12]="LeftRight",pe[pe.UpLeft=5]="UpLeft",pe[pe.UpRight=9]="UpRight",pe[pe.DownLeft=6]="DownLeft",pe[pe.DownRight=10]="DownRight",pe[pe.UpDownLeft=7]="UpDownLeft",pe[pe.UpDownRight=11]="UpDownRight",pe[pe.UpLeftRight=13]="UpLeftRight",pe[pe.DownLeftRight=14]="DownLeftRight",pe[pe.UpDownLeftRight=15]="UpDownLeftRight",pe[pe.NoChildren=16]="NoChildren"})(ks||(ks={}));const ls=2032,Yr=882,Er=Object.create(null),rn=[],qr=xt(Kt,new Set);for(const pe of rn)pe.text=ii(pe.flowNode,pe.circular),mt(pe);const xi=_r(qr),pt=Fe(xi);return Gt(qr,0),Gn();function Nt(pe){return!!(pe.flags&128)}function dt(pe){return!!(pe.flags&12)&&!!pe.antecedents}function Ut(pe){return!!(pe.flags&ls)}function rr(pe){return!!(pe.flags&Yr)}function se(pe){const ke=[];for(const ve of pe.edges)ve.source===pe&&ke.push(ve.target);return ke}function at(pe){const ke=[];for(const ve of pe.edges)ve.target===pe&&ke.push(ve.source);return ke}function xt(pe,ke){const ve=_n(pe);let Te=Er[ve];if(Te&&ke.has(pe))return Te.circular=!0,Te={id:-1,flowNode:pe,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:"circularity"},rn.push(Te),Te;if(ke.add(pe),!Te)if(Er[ve]=Te={id:ve,flowNode:pe,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:!1},rn.push(Te),dt(pe))for(const ee of pe.antecedents)ae(Te,ee,ke);else Ut(pe)&&ae(Te,pe.antecedent,ke);return ke.delete(pe),Te}function ae(pe,ke,ve){const Te=xt(ke,ve),ee={source:pe,target:Te};pe.edges.push(ee),Te.edges.push(ee)}function mt(pe){if(pe.level!==-1)return pe.level;let ke=0;for(const ve of at(pe))ke=Math.max(ke,mt(ve)+1);return pe.level=ke}function _r(pe){let ke=0;for(const ve of se(pe))ke=Math.max(ke,_r(ve));return ke+1}function Fe(pe){const ke=L(Array(pe),0);for(const ve of rn)ke[ve.level]=Math.max(ke[ve.level],ve.text.length);return ke}function Gt(pe,ke){if(pe.lane===-1){pe.lane=ke,pe.endLane=ke;const ve=se(pe);for(let Te=0;Te<ve.length;Te++){Te>0&&ke++;const ee=ve[Te];Gt(ee,ke),ee.endLane>pe.endLane&&(ke=ee.endLane)}pe.endLane=ke}}function zt(pe){if(pe&2)return"Start";if(pe&4)return"Branch";if(pe&8)return"Loop";if(pe&16)return"Assignment";if(pe&32)return"True";if(pe&64)return"False";if(pe&128)return"SwitchClause";if(pe&256)return"ArrayMutation";if(pe&512)return"Call";if(pe&1024)return"ReduceLabel";if(pe&1)return"Unreachable";throw new Error}function Lr(pe){const ke=pn(pe);return PT(ke,pe,!1)}function ii(pe,ke){let ve=zt(pe.flags);if(ke&&(ve=`${ve}#${_n(pe)}`),rr(pe))pe.node&&(ve+=` (${Lr(pe.node)})`);else if(Nt(pe)){const Te=[];for(let ee=pe.clauseStart;ee<pe.clauseEnd;ee++){const vt=pe.switchStatement.caseBlock.clauses[ee];kO(vt)?Te.push("default"):Te.push(Lr(vt.expression))}ve+=` (${Te.join(", ")})`}return ke==="circularity"?`Circular(${ve})`:ve}function Gn(){const pe=pt.length,ke=rn.reduce((Qt,ht)=>Math.max(Qt,ht.lane),0)+1,ve=L(Array(ke),""),Te=pt.map(()=>Array(ke)),ee=pt.map(()=>L(Array(ke),0));for(const Qt of rn){Te[Qt.level][Qt.lane]=Qt;const ht=se(Qt);for(let Nr=0;Nr<ht.length;Nr++){const Pn=ht[Nr];let bi=8;Pn.lane===Qt.lane&&(bi|=4),Nr>0&&(bi|=1),Nr<ht.length-1&&(bi|=2),ee[Qt.level][Pn.lane]|=bi}ht.length===0&&(ee[Qt.level][Qt.lane]|=16);const Vt=at(Qt);for(let Nr=0;Nr<Vt.length;Nr++){const Pn=Vt[Nr];let bi=4;Nr>0&&(bi|=1),Nr<Vt.length-1&&(bi|=2),ee[Qt.level-1][Pn.lane]|=bi}}for(let Qt=0;Qt<pe;Qt++)for(let ht=0;ht<ke;ht++){const Vt=Qt>0?ee[Qt-1][ht]:0,Nr=ht>0?ee[Qt][ht-1]:0;let Pn=ee[Qt][ht];Pn||(Vt&8&&(Pn|=12),Nr&2&&(Pn|=3),ee[Qt][ht]=Pn)}for(let Qt=0;Qt<pe;Qt++)for(let ht=0;ht<ve.length;ht++){const Vt=ee[Qt][ht],Nr=Vt&4?"─":" ",Pn=Te[Qt][ht];Pn?(vt(ht,Pn.text),Qt<pe-1&&(vt(ht," "),vt(ht,Se(Nr,pt[Qt]-Pn.text.length)))):Qt<pe-1&&vt(ht,Se(Nr,pt[Qt]+1)),vt(ht,Rn(Vt)),vt(ht,Vt&8&&Qt<pe-1&&!Te[Qt+1][ht]?"─":" ")}return`
${ve.join(`
`)}
`;function vt(Qt,ht){ve[Qt]+=ht}}function Rn(pe){switch(pe){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 L(pe,ke){if(pe.fill)pe.fill(ke);else for(let ve=0;ve<pe.length;ve++)pe[ve]=ke;return pe}function Se(pe,ke){if(pe.repeat)return ke>0?pe.repeat(ke):"";let ve="";for(;ve.length<ke;)ve+=pe;return ve}}e.formatControlFlowGraph=Dr})(R||(R={}))}});function Wve(e){const t=Gve.exec(e);if(!t)return;const[,n,s="0",l="0",f="",d=""]=t;if(!(f&&!Xve.test(f))&&!(d&&!Yve.test(d)))return{major:parseInt(n,10),minor:parseInt(s,10),patch:parseInt(l,10),prerelease:f,build:d}}function ZGe(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=lZ.test(l),g=lZ.test(f);if(d||g){if(d!==g)return d?-1:1;const h=wc(+l,+f);if(h)return h}else{const h=zf(l,f);if(h)return h}}return wc(e.length,t.length)}function Hve(e){const t=[];for(let n of vT(e).split(Kve)){if(!n)continue;const s=[];n=vT(n);const l=rbe.exec(n);if(l){if(!KGe(l[1],l[2],s))return}else for(const f of n.split(ebe)){const d=nbe.exec(vT(f));if(!d||!eXe(d[1],d[2],s))return}t.push(s)}return t}function cZ(e){const t=tbe.exec(e);if(!t)return;const[,n,s="*",l="*",f,d]=t;return{version:new Em(ad(n)?0:parseInt(n,10),ad(n)||ad(s)?0:parseInt(s,10),ad(n)||ad(s)||ad(l)?0:parseInt(l,10),f,d),major:n,minor:s,patch:l}}function KGe(e,t,n){const s=cZ(e);if(!s)return!1;const l=cZ(t);return l?(ad(s.major)||n.push(lh(">=",s.version)),ad(l.major)||n.push(ad(l.minor)?lh("<",l.version.increment("major")):ad(l.patch)?lh("<",l.version.increment("minor")):lh("<=",l.version)),!0):!1}function eXe(e,t,n){const s=cZ(t);if(!s)return!1;const{version:l,major:f,minor:d,patch:g}=s;if(ad(f))(e==="<"||e===">")&&n.push(lh("<",Em.zero));else switch(e){case"~":n.push(lh(">=",l)),n.push(lh("<",l.increment(ad(d)?"major":"minor")));break;case"^":n.push(lh(">=",l)),n.push(lh("<",l.increment(l.major>0||ad(d)?"major":l.minor>0||ad(g)?"minor":"patch")));break;case"<":case">=":n.push(ad(d)||ad(g)?lh(e,l.with({prerelease:"0"})):lh(e,l));break;case"<=":case">":n.push(ad(d)?lh(e==="<="?"<":">=",l.increment("major").with({prerelease:"0"})):ad(g)?lh(e==="<="?"<":">=",l.increment("minor").with({prerelease:"0"})):lh(e,l));break;case"=":case void 0:ad(d)||ad(g)?(n.push(lh(">=",l.with({prerelease:"0"}))),n.push(lh("<",l.increment(ad(d)?"major":"minor").with({prerelease:"0"})))):n.push(lh("=",l));break;default:return!1}return!0}function ad(e){return e==="*"||e==="x"||e==="X"}function lh(e,t){return{operator:e,operand:t}}function tXe(e,t){if(t.length===0)return!0;for(const n of t)if(rXe(e,n))return!0;return!1}function rXe(e,t){for(const n of t)if(!nXe(e,n.operator,n.operand))return!1;return!0}function nXe(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 iXe(e){return qt(e,sXe).join(" || ")||"*"}function sXe(e){return qt(e,aXe).join(" ")}function aXe(e){return`${e.operator}${e.operand}`}var Gve,Xve,Qve,Yve,Zve,lZ,qC,Em,tP,Kve,ebe,tbe,rbe,nbe,oXe=p({"src/compiler/semver.ts"(){Ba(),Gve=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,Xve=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,Qve=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)$/i,Yve=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,Zve=/^[a-z0-9-]+$/i,lZ=/^(0|[1-9]\d*)$/,qC=class{constructor(e,t=0,n=0,s="",l=""){typeof e=="string"&&({major:e,minor:t,patch:n,prerelease:s,build:l}=R.checkDefined(Wve(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?ka(s)?s:s.split("."):ft,d=l?ka(l)?l:l.split("."):ft;R.assert(ot(f,g=>Qve.test(g)),"Invalid argument: prerelease"),R.assert(ot(d,g=>Zve.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=Wve(e);if(!t)return;const{major:n,minor:s,patch:l,prerelease:f,build:d}=t;return new qC(n,s,l,f,d)}compareTo(e){return this===e?0:e===void 0?1:wc(this.major,e.major)||wc(this.minor,e.minor)||wc(this.patch,e.patch)||ZGe(this.prerelease,e.prerelease)}increment(e){switch(e){case"major":return new qC(this.major+1,0,0);case"minor":return new qC(this.major,this.minor+1,0);case"patch":return new qC(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 qC(t,n,s,l,f)}toString(){let e=`${this.major}.${this.minor}.${this.patch}`;return Ne(this.prerelease)&&(e+=`-${this.prerelease.join(".")}`),Ne(this.build)&&(e+=`+${this.build.join(".")}`),e}},Em=qC,Em.zero=new qC(0,0,0,["0"]),tP=class{constructor(e){this._alternatives=e?R.checkDefined(Hve(e),"Invalid range spec."):ft}static tryParse(e){const t=Hve(e);if(t){const n=new tP("");return n._alternatives=t,n}}test(e){return typeof e=="string"&&(e=new Em(e)),tXe(e,this._alternatives)}toString(){return iXe(this._alternatives)}},Kve=/\|\|/g,ebe=/\s+/g,tbe=/^([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,rbe=/^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i,nbe=/^(~|\^|<|<=|>|>=|=)?\s*([a-z0-9-+.*]+)$/i}});function ibe(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 cXe(){if(typeof performance=="object"&&typeof PerformanceObserver=="function"&&ibe(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance,PerformanceObserver}}function lXe(){if(rZ())try{const{performance:e,PerformanceObserver:t}=dC;if(ibe(e,t))return{shouldWriteNativeEvents:!1,performance:e,PerformanceObserver:t}}catch{}}function sbe(){return vB}var vB,uZ,Uc,uXe=p({"src/compiler/performanceCore.ts"(){Ba(),vB=cXe()||lXe(),uZ=vB==null?void 0:vB.performance,Uc=uZ?()=>uZ.now():Date.now?Date.now:()=>+new Date}}),fI,uh,fXe=p({"src/compiler/perfLogger.ts"(){try{const e={}.TS_ETW_MODULE_PATH??"./node_modules/@microsoft/typescript-etw";fI=Dge(e)}catch{fI=void 0}uh=fI!=null&&fI.logEvent?fI:void 0}});function abe(e,t,n,s){return e?bB(t,n,s):TB}function bB(e,t,n){let s=0;return{enter:l,exit:f};function l(){++s===1&&vc(t)}function f(){--s===0?(vc(n),xp(e,t,n)):s<0&&R.fail("enter/exit count does not match.")}}function vc(e){if(WC){const t=D6.get(e)??0;D6.set(e,t+1),HC.set(e,Uc()),bT==null||bT.mark(e),typeof onProfilerEvent=="function"&&onProfilerEvent(e)}}function xp(e,t,n){if(WC){const s=(n!==void 0?HC.get(n):void 0)??Uc(),l=(t!==void 0?HC.get(t):void 0)??fZ,f=GC.get(e)||0;GC.set(e,f+(s-l)),bT==null||bT.measure(e,t,n)}}function _Xe(e){return D6.get(e)||0}function pXe(e){return GC.get(e)||0}function dXe(e){GC.forEach((t,n)=>e(n,t))}function mXe(e){HC.forEach((t,n)=>e(n))}function hXe(e){e!==void 0?GC.delete(e):GC.clear(),bT==null||bT.clearMeasures(e)}function gXe(e){e!==void 0?(D6.delete(e),HC.delete(e)):(D6.clear(),HC.clear()),bT==null||bT.clearMarks(e)}function yXe(){return WC}function vXe(e=Gu){var t;return WC||(WC=!0,rP||(rP=sbe()),rP&&(fZ=rP.performance.timeOrigin,(rP.shouldWriteNativeEvents||(t=e==null?void 0:e.cpuProfilingEnabled)!=null&&t.call(e)||e!=null&&e.debugMode)&&(bT=rP.performance))),!0}function bXe(){WC&&(HC.clear(),D6.clear(),GC.clear(),bT=void 0,WC=!1)}var rP,bT,TB,WC,fZ,HC,D6,GC,TXe=p({"src/compiler/performance.ts"(){Ba(),TB={enter:fc,exit:fc},WC=!1,fZ=Uc(),HC=new Map,D6=new Map,GC=new Map}}),obe={};S(obe,{clearMarks:()=>gXe,clearMeasures:()=>hXe,createTimer:()=>bB,createTimerIf:()=>abe,disable:()=>bXe,enable:()=>vXe,forEachMark:()=>mXe,forEachMeasure:()=>dXe,getCount:()=>_Xe,getDuration:()=>pXe,isEnabled:()=>yXe,mark:()=>vc,measure:()=>xp,nullTimer:()=>TB});var TT=p({"src/compiler/_namespaces/ts.performance.ts"(){TXe()}}),qi,_I,cbe,lbe,SXe=p({"src/compiler/tracing.ts"(){Ba(),TT(),(e=>{let t,n=0,s=0,l;const f=[];let d;const g=[];function h(he,W,ye){if(R.assert(!qi,"Tracing already started"),t===void 0)try{t=dC}catch(le){throw new Error(`tracing requires having fs
(original error: ${le.message||le})`)}l=he,f.length=0,d===void 0&&(d=vs(W,"legend.json")),t.existsSync(W)||t.mkdirSync(W,{recursive:!0});const de=l==="build"?`.${process.pid}-${++n}`:l==="server"?`.${process.pid}`:"",Ce=vs(W,`trace${de}.json`),K=vs(W,`types${de}.json`);g.push({configFilePath:ye,tracePath:Ce,typesPath:K}),s=t.openSync(Ce,"w"),qi=e;const ce={cat:"__metadata",ph:"M",ts:1e3*Uc(),pid:1,tid:1};t.writeSync(s,`[
`+[{name:"process_name",args:{name:"tsc"},...ce},{name:"thread_name",args:{name:"Main"},...ce},{name:"TracingStartedInBrowser",...ce,cat:"disabled-by-default-devtools.timeline"}].map(le=>JSON.stringify(le)).join(`,
`))}e.startTracing=h;function k(){R.assert(qi,"Tracing is not in progress"),R.assert(!!f.length==(l!=="server")),t.writeSync(s,`
]
`),t.closeSync(s),qi=void 0,f.length?fe(f):g[g.length-1].typesPath=void 0}e.stopTracing=k;function T(he){l!=="server"&&f.push(he)}e.recordType=T,(he=>{he.Parse="parse",he.Program="program",he.Bind="bind",he.Check="check",he.CheckTypes="checkTypes",he.Emit="emit",he.Session="session"})(e.Phase||(e.Phase={}));function C(he,W,ye){Y("I",he,W,ye,'"s":"g"')}e.instant=C;const D=[];function O(he,W,ye,de=!1){de&&Y("B",he,W,ye),D.push({phase:he,name:W,args:ye,time:1e3*Uc(),separateBeginAndEnd:de})}e.push=O;function M(he){R.assert(D.length>0),H(D.length-1,1e3*Uc(),he),D.length--}e.pop=M;function U(){const he=1e3*Uc();for(let W=D.length-1;W>=0;W--)H(W,he);D.length=0}e.popAll=U;const B=1e3*10;function H(he,W,ye){const{phase:de,name:Ce,args:K,time:ce,separateBeginAndEnd:le}=D[he];le?(R.assert(!ye,"`results` are not supported for events with `separateBeginAndEnd`"),Y("E",de,Ce,K,void 0,W)):B-ce%B<=W-ce&&Y("X",de,Ce,{...K,results:ye},`"dur":${W-ce}`,ce)}function Y(he,W,ye,de,Ce,K=1e3*Uc()){l==="server"&&W==="checkTypes"||(vc("beginTracing"),t.writeSync(s,`,
{"pid":1,"tid":1,"ph":"${he}","cat":"${W}","ts":${K},"name":"${ye}"`),Ce&&t.writeSync(s,`,${Ce}`),de&&t.writeSync(s,`,"args":${JSON.stringify(de)}`),t.writeSync(s,"}"),vc("endTracing"),xp("Tracing","beginTracing","endTracing"))}function Z(he){const W=pn(he);return W?{path:W.path,start:ye(Vc(W,he.pos)),end:ye(Vc(W,he.end))}:void 0;function ye(de){return{line:de.line+1,character:de.character+1}}}function fe(he){var W,ye,de,Ce,K,ce,le,xe,we,Ie,ue,ut,Ge,qe,Ke,Me,ze,st,et;vc("beginDumpTypes");const je=g[g.length-1].typesPath,_t=t.openSync(je,"w"),Lt=new Map;t.writeSync(_t,"[");const Dt=he.length;for(let Xt=0;Xt<Dt;Xt++){const Ye=he[Xt],Bt=Ye.objectFlags,vr=Ye.aliasSymbol??Ye.symbol;let Ar;if(Bt&16|Ye.flags&2944)try{Ar=(W=Ye.checker)==null?void 0:W.typeToString(Ye)}catch{Ar=void 0}let Ht={};if(Ye.flags&8388608){const Pt=Ye;Ht={indexedAccessObjectType:(ye=Pt.objectType)==null?void 0:ye.id,indexedAccessIndexType:(de=Pt.indexType)==null?void 0:de.id}}let tn={};if(Bt&4){const Pt=Ye;tn={instantiatedType:(Ce=Pt.target)==null?void 0:Ce.id,typeArguments:(K=Pt.resolvedTypeArguments)==null?void 0:K.map(Dr=>Dr.id),referenceLocation:Z(Pt.node)}}let hn={};if(Ye.flags&16777216){const Pt=Ye;hn={conditionalCheckType:(ce=Pt.checkType)==null?void 0:ce.id,conditionalExtendsType:(le=Pt.extendsType)==null?void 0:le.id,conditionalTrueType:((xe=Pt.resolvedTrueType)==null?void 0:xe.id)??-1,conditionalFalseType:((we=Pt.resolvedFalseType)==null?void 0:we.id)??-1}}let Br={};if(Ye.flags&33554432){const Pt=Ye;Br={substitutionBaseType:(Ie=Pt.baseType)==null?void 0:Ie.id,constraintType:(ue=Pt.constraint)==null?void 0:ue.id}}let Cn={};if(Bt&1024){const Pt=Ye;Cn={reverseMappedSourceType:(ut=Pt.source)==null?void 0:ut.id,reverseMappedMappedType:(Ge=Pt.mappedType)==null?void 0:Ge.id,reverseMappedConstraintType:(qe=Pt.constraintType)==null?void 0:qe.id}}let ci={};if(Bt&256){const Pt=Ye;ci={evolvingArrayElementType:Pt.elementType.id,evolvingArrayFinalType:(Ke=Pt.finalArrayType)==null?void 0:Ke.id}}let Ji;const ws=Ye.checker.getRecursionIdentity(Ye);ws&&(Ji=Lt.get(ws),Ji||(Ji=Lt.size,Lt.set(ws,Ji)));const ui={id:Ye.id,intrinsicName:Ye.intrinsicName,symbolName:(vr==null?void 0:vr.escapedName)&&xs(vr.escapedName),recursionId:Ji,isTuple:Bt&8?!0:void 0,unionTypes:Ye.flags&1048576?(Me=Ye.types)==null?void 0:Me.map(Pt=>Pt.id):void 0,intersectionTypes:Ye.flags&2097152?Ye.types.map(Pt=>Pt.id):void 0,aliasTypeArguments:(ze=Ye.aliasTypeArguments)==null?void 0:ze.map(Pt=>Pt.id),keyofType:Ye.flags&4194304?(st=Ye.type)==null?void 0:st.id:void 0,...Ht,...tn,...hn,...Br,...Cn,...ci,destructuringPattern:Z(Ye.pattern),firstDeclaration:Z((et=vr==null?void 0:vr.declarations)==null?void 0:et[0]),flags:R.formatTypeFlags(Ye.flags).split("|"),display:Ar};t.writeSync(_t,JSON.stringify(ui)),Xt<Dt-1&&t.writeSync(_t,`,
`)}t.writeSync(_t,`]
`),t.closeSync(_t),vc("endDumpTypes"),xp("Dump types","beginDumpTypes","endDumpTypes")}function Q(){d&&t.writeFileSync(d,JSON.stringify(g))}e.dumpLegend=Q})(_I||(_I={})),cbe=_I.startTracing,lbe=_I.dumpLegend}});function SB(e,t=!0){const n=dI[e.category];return t?n.toLowerCase():n}var xB,kB,CB,_Z,wB,EB,pZ,pI,dZ,nP,AB,mZ,hZ,gZ,yZ,vZ,bZ,TZ,SZ,xZ,kZ,CZ,wZ,EZ,AZ,PB,PZ,DZ,NZ,IZ,DB,NB,OZ,LZ,MZ,FZ,RZ,BZ,IB,jZ,JZ,UZ,zZ,VZ,$Z,dI,mI,qZ,WZ,HZ,GZ,OB,XZ,QZ,YZ,ZZ,KZ,eK,tK,rK,nK,LB,MB,FB,iK,sK,aK,oK,cK,lK,uK,fK,hI,ube=p({"src/compiler/types.ts"(){xB=(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.NonTextFileMarkerTrivia=8]="NonTextFileMarkerTrivia",e[e.NumericLiteral=9]="NumericLiteral",e[e.BigIntLiteral=10]="BigIntLiteral",e[e.StringLiteral=11]="StringLiteral",e[e.JsxText=12]="JsxText",e[e.JsxTextAllWhiteSpaces=13]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=14]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=15]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=16]="TemplateHead",e[e.TemplateMiddle=17]="TemplateMiddle",e[e.TemplateTail=18]="TemplateTail",e[e.OpenBraceToken=19]="OpenBraceToken",e[e.CloseBraceToken=20]="CloseBraceToken",e[e.OpenParenToken=21]="OpenParenToken",e[e.CloseParenToken=22]="CloseParenToken",e[e.OpenBracketToken=23]="OpenBracketToken",e[e.CloseBracketToken=24]="CloseBracketToken",e[e.DotToken=25]="DotToken",e[e.DotDotDotToken=26]="DotDotDotToken",e[e.SemicolonToken=27]="SemicolonToken",e[e.CommaToken=28]="CommaToken",e[e.QuestionDotToken=29]="QuestionDotToken",e[e.LessThanToken=30]="LessThanToken",e[e.LessThanSlashToken=31]="LessThanSlashToken",e[e.GreaterThanToken=32]="GreaterThanToken",e[e.LessThanEqualsToken=33]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=34]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=35]="EqualsEqualsToken",e[e.ExclamationEqualsToken=36]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=37]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=38]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=39]="EqualsGreaterThanToken",e[e.PlusToken=40]="PlusToken",e[e.MinusToken=41]="MinusToken",e[e.AsteriskToken=42]="AsteriskToken",e[e.AsteriskAsteriskToken=43]="AsteriskAsteriskToken",e[e.SlashToken=44]="SlashToken",e[e.PercentToken=45]="PercentToken",e[e.PlusPlusToken=46]="PlusPlusToken",e[e.MinusMinusToken=47]="MinusMinusToken",e[e.LessThanLessThanToken=48]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=49]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=50]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=51]="AmpersandToken",e[e.BarToken=52]="BarToken",e[e.CaretToken=53]="CaretToken",e[e.ExclamationToken=54]="ExclamationToken",e[e.TildeToken=55]="TildeToken",e[e.AmpersandAmpersandToken=56]="AmpersandAmpersandToken",e[e.BarBarToken=57]="BarBarToken",e[e.QuestionToken=58]="QuestionToken",e[e.ColonToken=59]="ColonToken",e[e.AtToken=60]="AtToken",e[e.QuestionQuestionToken=61]="QuestionQuestionToken",e[e.BacktickToken=62]="BacktickToken",e[e.HashToken=63]="HashToken",e[e.EqualsToken=64]="EqualsToken",e[e.PlusEqualsToken=65]="PlusEqualsToken",e[e.MinusEqualsToken=66]="MinusEqualsToken",e[e.AsteriskEqualsToken=67]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=68]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=69]="SlashEqualsToken",e[e.PercentEqualsToken=70]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=71]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=73]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=74]="AmpersandEqualsToken",e[e.BarEqualsToken=75]="BarEqualsToken",e[e.BarBarEqualsToken=76]="BarBarEqualsToken",e[e.AmpersandAmpersandEqualsToken=77]="AmpersandAmpersandEqualsToken",e[e.QuestionQuestionEqualsToken=78]="QuestionQuestionEqualsToken",e[e.CaretEqualsToken=79]="CaretEqualsToken",e[e.Identifier=80]="Identifier",e[e.PrivateIdentifier=81]="PrivateIdentifier",e[e.JSDocCommentTextToken=82]="JSDocCommentTextToken",e[e.BreakKeyword=83]="BreakKeyword",e[e.CaseKeyword=84]="CaseKeyword",e[e.CatchKeyword=85]="CatchKeyword",e[e.ClassKeyword=86]="ClassKeyword",e[e.ConstKeyword=87]="ConstKeyword",e[e.ContinueKeyword=88]="ContinueKeyword",e[e.DebuggerKeyword=89]="DebuggerKeyword",e[e.DefaultKeyword=90]="DefaultKeyword",e[e.DeleteKeyword=91]="DeleteKeyword",e[e.DoKeyword=92]="DoKeyword",e[e.ElseKeyword=93]="ElseKeyword",e[e.EnumKeyword=94]="EnumKeyword",e[e.ExportKeyword=95]="ExportKeyword",e[e.ExtendsKeyword=96]="ExtendsKeyword",e[e.FalseKeyword=97]="FalseKeyword",e[e.FinallyKeyword=98]="FinallyKeyword",e[e.ForKeyword=99]="ForKeyword",e[e.FunctionKeyword=100]="FunctionKeyword",e[e.IfKeyword=101]="IfKeyword",e[e.ImportKeyword=102]="ImportKeyword",e[e.InKeyword=103]="InKeyword",e[e.InstanceOfKeyword=104]="InstanceOfKeyword",e[e.NewKeyword=105]="NewKeyword",e[e.NullKeyword=106]="NullKeyword",e[e.ReturnKeyword=107]="ReturnKeyword",e[e.SuperKeyword=108]="SuperKeyword",e[e.SwitchKeyword=109]="SwitchKeyword",e[e.ThisKeyword=110]="ThisKeyword",e[e.ThrowKeyword=111]="ThrowKeyword",e[e.TrueKeyword=112]="TrueKeyword",e[e.TryKeyword=113]="TryKeyword",e[e.TypeOfKeyword=114]="TypeOfKeyword",e[e.VarKeyword=115]="VarKeyword",e[e.VoidKeyword=116]="VoidKeyword",e[e.WhileKeyword=117]="WhileKeyword",e[e.WithKeyword=118]="WithKeyword",e[e.ImplementsKeyword=119]="ImplementsKeyword",e[e.InterfaceKeyword=120]="InterfaceKeyword",e[e.LetKeyword=121]="LetKeyword",e[e.PackageKeyword=122]="PackageKeyword",e[e.PrivateKeyword=123]="PrivateKeyword",e[e.ProtectedKeyword=124]="ProtectedKeyword",e[e.PublicKeyword=125]="PublicKeyword",e[e.StaticKeyword=126]="StaticKeyword",e[e.YieldKeyword=127]="YieldKeyword",e[e.AbstractKeyword=128]="AbstractKeyword",e[e.AccessorKeyword=129]="AccessorKeyword",e[e.AsKeyword=130]="AsKeyword",e[e.AssertsKeyword=131]="AssertsKeyword",e[e.AssertKeyword=132]="AssertKeyword",e[e.AnyKeyword=133]="AnyKeyword",e[e.AsyncKeyword=134]="AsyncKeyword",e[e.AwaitKeyword=135]="AwaitKeyword",e[e.BooleanKeyword=136]="BooleanKeyword",e[e.ConstructorKeyword=137]="ConstructorKeyword",e[e.DeclareKeyword=138]="DeclareKeyword",e[e.GetKeyword=139]="GetKeyword",e[e.InferKeyword=140]="InferKeyword",e[e.IntrinsicKeyword=141]="IntrinsicKeyword",e[e.IsKeyword=142]="IsKeyword",e[e.KeyOfKeyword=143]="KeyOfKeyword",e[e.ModuleKeyword=144]="ModuleKeyword",e[e.NamespaceKeyword=145]="NamespaceKeyword",e[e.NeverKeyword=146]="NeverKeyword",e[e.OutKeyword=147]="OutKeyword",e[e.ReadonlyKeyword=148]="ReadonlyKeyword",e[e.RequireKeyword=149]="RequireKeyword",e[e.NumberKeyword=150]="NumberKeyword",e[e.ObjectKeyword=151]="ObjectKeyword",e[e.SatisfiesKeyword=152]="SatisfiesKeyword",e[e.SetKeyword=153]="SetKeyword",e[e.StringKeyword=154]="StringKeyword",e[e.SymbolKeyword=155]="SymbolKeyword",e[e.TypeKeyword=156]="TypeKeyword",e[e.UndefinedKeyword=157]="UndefinedKeyword",e[e.UniqueKeyword=158]="UniqueKeyword",e[e.UnknownKeyword=159]="UnknownKeyword",e[e.FromKeyword=160]="FromKeyword",e[e.GlobalKeyword=161]="GlobalKeyword",e[e.BigIntKeyword=162]="BigIntKeyword",e[e.OverrideKeyword=163]="OverrideKeyword",e[e.OfKeyword=164]="OfKeyword",e[e.QualifiedName=165]="QualifiedName",e[e.ComputedPropertyName=166]="ComputedPropertyName",e[e.TypeParameter=167]="TypeParameter",e[e.Parameter=168]="Parameter",e[e.Decorator=169]="Decorator",e[e.PropertySignature=170]="PropertySignature",e[e.PropertyDeclaration=171]="PropertyDeclaration",e[e.MethodSignature=172]="MethodSignature",e[e.MethodDeclaration=173]="MethodDeclaration",e[e.ClassStaticBlockDeclaration=174]="ClassStaticBlockDeclaration",e[e.Constructor=175]="Constructor",e[e.GetAccessor=176]="GetAccessor",e[e.SetAccessor=177]="SetAccessor",e[e.CallSignature=178]="CallSignature",e[e.ConstructSignature=179]="ConstructSignature",e[e.IndexSignature=180]="IndexSignature",e[e.TypePredicate=181]="TypePredicate",e[e.TypeReference=182]="TypeReference",e[e.FunctionType=183]="FunctionType",e[e.ConstructorType=184]="ConstructorType",e[e.TypeQuery=185]="TypeQuery",e[e.TypeLiteral=186]="TypeLiteral",e[e.ArrayType=187]="ArrayType",e[e.TupleType=188]="TupleType",e[e.OptionalType=189]="OptionalType",e[e.RestType=190]="RestType",e[e.UnionType=191]="UnionType",e[e.IntersectionType=192]="IntersectionType",e[e.ConditionalType=193]="ConditionalType",e[e.InferType=194]="InferType",e[e.ParenthesizedType=195]="ParenthesizedType",e[e.ThisType=196]="ThisType",e[e.TypeOperator=197]="TypeOperator",e[e.IndexedAccessType=198]="IndexedAccessType",e[e.MappedType=199]="MappedType",e[e.LiteralType=200]="LiteralType",e[e.NamedTupleMember=201]="NamedTupleMember",e[e.TemplateLiteralType=202]="TemplateLiteralType",e[e.TemplateLiteralTypeSpan=203]="TemplateLiteralTypeSpan",e[e.ImportType=204]="ImportType",e[e.ObjectBindingPattern=205]="ObjectBindingPattern",e[e.ArrayBindingPattern=206]="ArrayBindingPattern",e[e.BindingElement=207]="BindingElement",e[e.ArrayLiteralExpression=208]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=209]="ObjectLiteralExpression",e[e.PropertyAccessExpression=210]="PropertyAccessExpression",e[e.ElementAccessExpression=211]="ElementAccessExpression",e[e.CallExpression=212]="CallExpression",e[e.NewExpression=213]="NewExpression",e[e.TaggedTemplateExpression=214]="TaggedTemplateExpression",e[e.TypeAssertionExpression=215]="TypeAssertionExpression",e[e.ParenthesizedExpression=216]="ParenthesizedExpression",e[e.FunctionExpression=217]="FunctionExpression",e[e.ArrowFunction=218]="ArrowFunction",e[e.DeleteExpression=219]="DeleteExpression",e[e.TypeOfExpression=220]="TypeOfExpression",e[e.VoidExpression=221]="VoidExpression",e[e.AwaitExpression=222]="AwaitExpression",e[e.PrefixUnaryExpression=223]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=224]="PostfixUnaryExpression",e[e.BinaryExpression=225]="BinaryExpression",e[e.ConditionalExpression=226]="ConditionalExpression",e[e.TemplateExpression=227]="TemplateExpression",e[e.YieldExpression=228]="YieldExpression",e[e.SpreadElement=229]="SpreadElement",e[e.ClassExpression=230]="ClassExpression",e[e.OmittedExpression=231]="OmittedExpression",e[e.ExpressionWithTypeArguments=232]="ExpressionWithTypeArguments",e[e.AsExpression=233]="AsExpression",e[e.NonNullExpression=234]="NonNullExpression",e[e.MetaProperty=235]="MetaProperty",e[e.SyntheticExpression=236]="SyntheticExpression",e[e.SatisfiesExpression=237]="SatisfiesExpression",e[e.TemplateSpan=238]="TemplateSpan",e[e.SemicolonClassElement=239]="SemicolonClassElement",e[e.Block=240]="Block",e[e.EmptyStatement=241]="EmptyStatement",e[e.VariableStatement=242]="VariableStatement",e[e.ExpressionStatement=243]="ExpressionStatement",e[e.IfStatement=244]="IfStatement",e[e.DoStatement=245]="DoStatement",e[e.WhileStatement=246]="WhileStatement",e[e.ForStatement=247]="ForStatement",e[e.ForInStatement=248]="ForInStatement",e[e.ForOfStatement=249]="ForOfStatement",e[e.ContinueStatement=250]="ContinueStatement",e[e.BreakStatement=251]="BreakStatement",e[e.ReturnStatement=252]="ReturnStatement",e[e.WithStatement=253]="WithStatement",e[e.SwitchStatement=254]="SwitchStatement",e[e.LabeledStatement=255]="LabeledStatement",e[e.ThrowStatement=256]="ThrowStatement",e[e.TryStatement=257]="TryStatement",e[e.DebuggerStatement=258]="DebuggerStatement",e[e.VariableDeclaration=259]="VariableDeclaration",e[e.VariableDeclarationList=260]="VariableDeclarationList",e[e.FunctionDeclaration=261]="FunctionDeclaration",e[e.ClassDeclaration=262]="ClassDeclaration",e[e.InterfaceDeclaration=263]="InterfaceDeclaration",e[e.TypeAliasDeclaration=264]="TypeAliasDeclaration",e[e.EnumDeclaration=265]="EnumDeclaration",e[e.ModuleDeclaration=266]="ModuleDeclaration",e[e.ModuleBlock=267]="ModuleBlock",e[e.CaseBlock=268]="CaseBlock",e[e.NamespaceExportDeclaration=269]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=270]="ImportEqualsDeclaration",e[e.ImportDeclaration=271]="ImportDeclaration",e[e.ImportClause=272]="ImportClause",e[e.NamespaceImport=273]="NamespaceImport",e[e.NamedImports=274]="NamedImports",e[e.ImportSpecifier=275]="ImportSpecifier",e[e.ExportAssignment=276]="ExportAssignment",e[e.ExportDeclaration=277]="ExportDeclaration",e[e.NamedExports=278]="NamedExports",e[e.NamespaceExport=279]="NamespaceExport",e[e.ExportSpecifier=280]="ExportSpecifier",e[e.MissingDeclaration=281]="MissingDeclaration",e[e.ExternalModuleReference=282]="ExternalModuleReference",e[e.JsxElement=283]="JsxElement",e[e.JsxSelfClosingElement=284]="JsxSelfClosingElement",e[e.JsxOpeningElement=285]="JsxOpeningElement",e[e.JsxClosingElement=286]="JsxClosingElement",e[e.JsxFragment=287]="JsxFragment",e[e.JsxOpeningFragment=288]="JsxOpeningFragment",e[e.JsxClosingFragment=289]="JsxClosingFragment",e[e.JsxAttribute=290]="JsxAttribute",e[e.JsxAttributes=291]="JsxAttributes",e[e.JsxSpreadAttribute=292]="JsxSpreadAttribute",e[e.JsxExpression=293]="JsxExpression",e[e.JsxNamespacedName=294]="JsxNamespacedName",e[e.CaseClause=295]="CaseClause",e[e.DefaultClause=296]="DefaultClause",e[e.HeritageClause=297]="HeritageClause",e[e.CatchClause=298]="CatchClause",e[e.AssertClause=299]="AssertClause",e[e.AssertEntry=300]="AssertEntry",e[e.ImportTypeAssertionContainer=301]="ImportTypeAssertionContainer",e[e.PropertyAssignment=302]="PropertyAssignment",e[e.ShorthandPropertyAssignment=303]="ShorthandPropertyAssignment",e[e.SpreadAssignment=304]="SpreadAssignment",e[e.EnumMember=305]="EnumMember",e[e.UnparsedPrologue=306]="UnparsedPrologue",e[e.UnparsedPrepend=307]="UnparsedPrepend",e[e.UnparsedText=308]="UnparsedText",e[e.UnparsedInternalText=309]="UnparsedInternalText",e[e.UnparsedSyntheticReference=310]="UnparsedSyntheticReference",e[e.SourceFile=311]="SourceFile",e[e.Bundle=312]="Bundle",e[e.UnparsedSource=313]="UnparsedSource",e[e.InputFiles=314]="InputFiles",e[e.JSDocTypeExpression=315]="JSDocTypeExpression",e[e.JSDocNameReference=316]="JSDocNameReference",e[e.JSDocMemberName=317]="JSDocMemberName",e[e.JSDocAllType=318]="JSDocAllType",e[e.JSDocUnknownType=319]="JSDocUnknownType",e[e.JSDocNullableType=320]="JSDocNullableType",e[e.JSDocNonNullableType=321]="JSDocNonNullableType",e[e.JSDocOptionalType=322]="JSDocOptionalType",e[e.JSDocFunctionType=323]="JSDocFunctionType",e[e.JSDocVariadicType=324]="JSDocVariadicType",e[e.JSDocNamepathType=325]="JSDocNamepathType",e[e.JSDoc=326]="JSDoc",e[e.JSDocComment=326]="JSDocComment",e[e.JSDocText=327]="JSDocText",e[e.JSDocTypeLiteral=328]="JSDocTypeLiteral",e[e.JSDocSignature=329]="JSDocSignature",e[e.JSDocLink=330]="JSDocLink",e[e.JSDocLinkCode=331]="JSDocLinkCode",e[e.JSDocLinkPlain=332]="JSDocLinkPlain",e[e.JSDocTag=333]="JSDocTag",e[e.JSDocAugmentsTag=334]="JSDocAugmentsTag",e[e.JSDocImplementsTag=335]="JSDocImplementsTag",e[e.JSDocAuthorTag=336]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=337]="JSDocDeprecatedTag",e[e.JSDocClassTag=338]="JSDocClassTag",e[e.JSDocPublicTag=339]="JSDocPublicTag",e[e.JSDocPrivateTag=340]="JSDocPrivateTag",e[e.JSDocProtectedTag=341]="JSDocProtectedTag",e[e.JSDocReadonlyTag=342]="JSDocReadonlyTag",e[e.JSDocOverrideTag=343]="JSDocOverrideTag",e[e.JSDocCallbackTag=344]="JSDocCallbackTag",e[e.JSDocOverloadTag=345]="JSDocOverloadTag",e[e.JSDocEnumTag=346]="JSDocEnumTag",e[e.JSDocParameterTag=347]="JSDocParameterTag",e[e.JSDocReturnTag=348]="JSDocReturnTag",e[e.JSDocThisTag=349]="JSDocThisTag",e[e.JSDocTypeTag=350]="JSDocTypeTag",e[e.JSDocTemplateTag=351]="JSDocTemplateTag",e[e.JSDocTypedefTag=352]="JSDocTypedefTag",e[e.JSDocSeeTag=353]="JSDocSeeTag",e[e.JSDocPropertyTag=354]="JSDocPropertyTag",e[e.JSDocThrowsTag=355]="JSDocThrowsTag",e[e.JSDocSatisfiesTag=356]="JSDocSatisfiesTag",e[e.SyntaxList=357]="SyntaxList",e[e.NotEmittedStatement=358]="NotEmittedStatement",e[e.PartiallyEmittedExpression=359]="PartiallyEmittedExpression",e[e.CommaListExpression=360]="CommaListExpression",e[e.SyntheticReferenceExpression=361]="SyntheticReferenceExpression",e[e.Count=362]="Count",e[e.FirstAssignment=64]="FirstAssignment",e[e.LastAssignment=79]="LastAssignment",e[e.FirstCompoundAssignment=65]="FirstCompoundAssignment",e[e.LastCompoundAssignment=79]="LastCompoundAssignment",e[e.FirstReservedWord=83]="FirstReservedWord",e[e.LastReservedWord=118]="LastReservedWord",e[e.FirstKeyword=83]="FirstKeyword",e[e.LastKeyword=164]="LastKeyword",e[e.FirstFutureReservedWord=119]="FirstFutureReservedWord",e[e.LastFutureReservedWord=127]="LastFutureReservedWord",e[e.FirstTypeNode=181]="FirstTypeNode",e[e.LastTypeNode=204]="LastTypeNode",e[e.FirstPunctuation=19]="FirstPunctuation",e[e.LastPunctuation=79]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=164]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=9]="FirstLiteralToken",e[e.LastLiteralToken=15]="LastLiteralToken",e[e.FirstTemplateToken=15]="FirstTemplateToken",e[e.LastTemplateToken=18]="LastTemplateToken",e[e.FirstBinaryOperator=30]="FirstBinaryOperator",e[e.LastBinaryOperator=79]="LastBinaryOperator",e[e.FirstStatement=242]="FirstStatement",e[e.LastStatement=258]="LastStatement",e[e.FirstNode=165]="FirstNode",e[e.FirstJSDocNode=315]="FirstJSDocNode",e[e.LastJSDocNode=356]="LastJSDocNode",e[e.FirstJSDocTagNode=333]="FirstJSDocTagNode",e[e.LastJSDocTagNode=356]="LastJSDocTagNode",e[e.FirstContextualKeyword=128]="FirstContextualKeyword",e[e.LastContextualKeyword=164]="LastContextualKeyword",e))(xB||{}),kB=(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))(kB||{}),CB=(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))(CB||{}),_Z=(e=>(e[e.None=0]="None",e[e.IntrinsicNamedElement=1]="IntrinsicNamedElement",e[e.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",e[e.IntrinsicElement=3]="IntrinsicElement",e))(_Z||{}),wB=(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))(wB||{}),EB=(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))(EB||{}),pZ=(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.HexEscape=4096]="HexEscape",e[e.ContainsLeadingZero=8192]="ContainsLeadingZero",e[e.ContainsInvalidSeparator=16384]="ContainsInvalidSeparator",e[e.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",e[e.WithSpecifier=448]="WithSpecifier",e[e.StringLiteralFlags=7176]="StringLiteralFlags",e[e.NumericLiteralFlags=25584]="NumericLiteralFlags",e[e.TemplateLiteralLikeFlags=7176]="TemplateLiteralLikeFlags",e[e.IsInvalid=26656]="IsInvalid",e))(pZ||{}),pI=(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))(pI||{}),dZ=(e=>(e[e.ExpectError=0]="ExpectError",e[e.Ignore=1]="Ignore",e))(dZ||{}),nP=class{},AB=(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))(AB||{}),mZ=(e=>(e[e.FilePreprocessingReferencedDiagnostic=0]="FilePreprocessingReferencedDiagnostic",e[e.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic",e[e.ResolutionDiagnostics=2]="ResolutionDiagnostics",e))(mZ||{}),hZ=(e=>(e[e.Js=0]="Js",e[e.Dts=1]="Dts",e))(hZ||{}),gZ=(e=>(e[e.Not=0]="Not",e[e.SafeModules=1]="SafeModules",e[e.Completely=2]="Completely",e))(gZ||{}),yZ=(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))(yZ||{}),vZ=(e=>(e[e.Ok=0]="Ok",e[e.NeedsOverride=1]="NeedsOverride",e[e.HasInvalidOverride=2]="HasInvalidOverride",e))(vZ||{}),bZ=(e=>(e[e.None=0]="None",e[e.Literal=1]="Literal",e[e.Subtype=2]="Subtype",e))(bZ||{}),TZ=(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))(TZ||{}),SZ=(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))(SZ||{}),xZ=(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))(xZ||{}),kZ=(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))(kZ||{}),CZ=(e=>(e[e.Accessible=0]="Accessible",e[e.NotAccessible=1]="NotAccessible",e[e.CannotBeNamed=2]="CannotBeNamed",e))(CZ||{}),wZ=(e=>(e[e.UnionOrIntersection=0]="UnionOrIntersection",e[e.Spread=1]="Spread",e))(wZ||{}),EZ=(e=>(e[e.This=0]="This",e[e.Identifier=1]="Identifier",e[e.AssertsThis=2]="AssertsThis",e[e.AssertsIdentifier=3]="AssertsIdentifier",e))(EZ||{}),AZ=(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))(AZ||{}),PB=(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))(PB||{}),PZ=(e=>(e[e.Numeric=0]="Numeric",e[e.Literal=1]="Literal",e))(PZ||{}),DZ=(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))(DZ||{}),NZ=(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))(NZ||{}),IZ=(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))(IZ||{}),DB=(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.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.Primitive=402784252]="Primitive",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=138117121]="ObjectFlagsType",e[e.Simplifiable=25165824]="Simplifiable",e[e.Singleton=67358815]="Singleton",e[e.Narrowable=536624127]="Narrowable",e[e.IncludesMask=473694207]="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=36323331]="NotPrimitiveUnion",e))(DB||{}),NB=(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))(NB||{}),OZ=(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))(OZ||{}),LZ=(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))(LZ||{}),MZ=(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))(MZ||{}),FZ=(e=>(e[e.None=0]="None",e[e.StringsOnly=1]="StringsOnly",e[e.NoIndexSignatures=2]="NoIndexSignatures",e[e.NoReducibleCheck=4]="NoReducibleCheck",e))(FZ||{}),RZ=(e=>(e[e.Component=0]="Component",e[e.Function=1]="Function",e[e.Mixed=2]="Mixed",e))(RZ||{}),BZ=(e=>(e[e.Call=0]="Call",e[e.Construct=1]="Construct",e))(BZ||{}),IB=(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.IsNonInferrable=64]="IsNonInferrable",e[e.PropagatingFlags=39]="PropagatingFlags",e[e.CallChainFlags=24]="CallChainFlags",e))(IB||{}),jZ=(e=>(e[e.String=0]="String",e[e.Number=1]="Number",e))(jZ||{}),JZ=(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))(JZ||{}),UZ=(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))(UZ||{}),zZ=(e=>(e[e.None=0]="None",e[e.NoDefault=1]="NoDefault",e[e.AnyDefault=2]="AnyDefault",e[e.SkippedGenericFunction=4]="SkippedGenericFunction",e))(zZ||{}),VZ=(e=>(e[e.False=0]="False",e[e.Unknown=1]="Unknown",e[e.Maybe=3]="Maybe",e[e.True=-1]="True",e))(VZ||{}),$Z=(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))($Z||{}),dI=(e=>(e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message",e))(dI||{}),mI=(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))(mI||{}),qZ=(e=>(e[e.Legacy=1]="Legacy",e[e.Auto=2]="Auto",e[e.Force=3]="Force",e))(qZ||{}),WZ=(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))(WZ||{}),HZ=(e=>(e[e.UseFsEvents=0]="UseFsEvents",e[e.FixedPollingInterval=1]="FixedPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling",e))(HZ||{}),GZ=(e=>(e[e.FixedInterval=0]="FixedInterval",e[e.PriorityInterval=1]="PriorityInterval",e[e.DynamicPriority=2]="DynamicPriority",e[e.FixedChunkSize=3]="FixedChunkSize",e))(GZ||{}),OB=(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))(OB||{}),XZ=(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))(XZ||{}),QZ=(e=>(e[e.Remove=0]="Remove",e[e.Preserve=1]="Preserve",e[e.Error=2]="Error",e))(QZ||{}),YZ=(e=>(e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed",e))(YZ||{}),ZZ=(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))(ZZ||{}),KZ=(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))(KZ||{}),eK=(e=>(e[e.Standard=0]="Standard",e[e.JSX=1]="JSX",e))(eK||{}),tK=(e=>(e[e.None=0]="None",e[e.Recursive=1]="Recursive",e))(tK||{}),rK=(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.replacementCharacter=65533]="replacementCharacter",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))(rK||{}),nK=(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))(nK||{}),LB=(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))(LB||{}),MB=(e=>(e[e.TabStop=0]="TabStop",e[e.Placeholder=1]="Placeholder",e[e.Choice=2]="Choice",e[e.Variable=3]="Variable",e))(MB||{}),FB=(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.Iterator=8388608]="Iterator",e[e.NoAsciiEscaping=16777216]="NoAsciiEscaping",e))(FB||{}),iK=(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))(iK||{}),sK=(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))(sK||{}),aK=(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))(aK||{}),oK=(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))(oK||{}),cK=(e=>(e[e.None=0]="None",e[e.InParameters=1]="InParameters",e[e.VariablesHoistedInParameters=2]="VariablesHoistedInParameters",e))(cK||{}),lK=(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))(lK||{}),uK=(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))(uK||{}),fK=(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))(fK||{}),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 xXe(){Error.stackTraceLimit<100&&(Error.stackTraceLimit=100)}function XC(e,t){return e.getModifiedTime(t)||Uy}function _K(e){return{[250]:e.Low,[500]:e.Medium,[2e3]:e.High}}function kXe(e){if(!e.getEnvironmentVariable)return;const t=l("TSC_WATCH_POLLINGINTERVAL",RB);bI=f("TSC_WATCH_POLLINGCHUNKSIZE",vI)||bI,TI=f("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS",vI)||TI;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 T=n(d,k);T&&((g||(g={}))[k]=Number(T))}}function l(d,g){const h=s(d);if(h)return k("Low"),k("Medium"),k("High"),!0;return!1;function k(T){g[T]=h[T]||g[T]}}function f(d,g){const h=s(d);return(t||h)&&_K(h?{...g,...h}:g)}}function fbe(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=AXe(h,XC(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 CXe(e){const t=[],n=[],s=g(250),l=g(500),f=g(2e3);return d;function d(B,H,Y){const Z={fileName:B,callback:H,unchangedPolls:0,mtime:XC(e,B)};return t.push(Z),D(Z,Y),{close:()=>{Z.isClosed=!0,lI(t,Z)}}}function g(B){const H=[];return H.pollingInterval=B,H.pollIndex=0,H.pollScheduled=!1,H}function h(B,H){H.pollIndex=T(H,H.pollingInterval,H.pollIndex,bI[H.pollingInterval]),H.length?U(H.pollingInterval):(R.assert(H.pollIndex===0),H.pollScheduled=!1)}function k(B,H){T(n,250,0,n.length),h(B,H),!H.pollScheduled&&n.length&&U(250)}function T(B,H,Y,Z){return fbe(e,B,Y,Z,fe);function fe(Q,he,W){W?(Q.unchangedPolls=0,B!==n&&(B[he]=void 0,O(Q))):Q.unchangedPolls!==TI[H]?Q.unchangedPolls++:B===n?(Q.unchangedPolls=1,B[he]=void 0,D(Q,250)):H!==2e3&&(Q.unchangedPolls++,B[he]=void 0,D(Q,H===250?500:2e3))}}function C(B){switch(B){case 250:return s;case 500:return l;case 2e3:return f}}function D(B,H){C(H).push(B),M(H)}function O(B){n.push(B),M(250)}function M(B){C(B).pollScheduled||U(B)}function U(B){C(B).pollScheduled=e.setTimeout(B===250?k:h,B,B===250?"pollLowPollingIntervalQueue":"pollPollingIntervalQueue",C(B))}}function wXe(e,t){const n=sd(),s=new Map,l=nf(t);return f;function f(g,h,k,T){const C=l(g);n.add(C,h);const D=cs(C)||".",O=s.get(D)||d(cs(g)||".",D,T);return O.referenceCount++,{close:()=>{O.referenceCount===1?(O.close(),s.delete(D)):O.referenceCount--,n.remove(C,h)}}}function d(g,h,k){const T=e(g,1,(C,D,O)=>{if(!Wa(D))return;const M=ua(D,g),U=M&&n.get(l(M));if(U)for(const B of U)B(M,1,O)},!1,500,k);return T.referenceCount=0,s.set(h,T),T}}function EXe(e){const t=[];let n=0,s;return l;function l(g,h){const k={fileName:g,callback:h,mtime:XC(e,g)};return t.push(k),d(),{close:()=>{k.isClosed=!0,lI(t,k)}}}function f(){s=void 0,n=fbe(e,t,n,bI[250]),d()}function d(){!t.length||s||(s=e.setTimeout(f,2e3,"pollQueue"))}}function _be(e,t,n,s,l){const d=nf(t)(n),g=e.get(d);return g?g.callbacks.push(s):e.set(d,{watcher:l((h,k,T)=>{var C;return(C=e.get(d))==null?void 0:C.callbacks.slice().forEach(D=>D(h,k,T))}),callbacks:[s]}),{close:()=>{const h=e.get(d);h&&(!pB(h.callbacks,s)||h.callbacks.length||(e.delete(d),pg(h)))}}}function AXe(e,t){const n=e.mtime.getTime(),s=t.getTime();return n!==s?(e.mtime=t,e.callback(e.fileName,pbe(n,s),t),!0):!1}function pbe(e,t){return e===0?0:t===0?2:1}function yI(e){return dK(e)}function dbe(e){dK=e}function PXe({watchDirectory:e,useCaseSensitiveFileNames:t,getCurrentDirectory:n,getAccessibleSortedChildDirectories:s,fileSystemEntryExists:l,realpath:f,setTimeout:d,clearTimeout:g}){const h=new Map,k=sd(),T=new Map;let C;const D=_B(!t),O=nf(t);return(W,ye,de,Ce)=>de?M(W,Ce,ye):e(W,ye,de,Ce);function M(W,ye,de){const Ce=O(W);let K=h.get(Ce);K?K.refCount++:(K={watcher:e(W,le=>{Q(le,ye)||(ye!=null&&ye.synchronousWatchDirectory?(U(Ce,le),fe(W,Ce,ye)):B(W,Ce,le,ye))},!1,ye),refCount:1,childWatches:ft},h.set(Ce,K),fe(W,Ce,ye));const ce=de&&{dirName:W,callback:de};return ce&&k.add(Ce,ce),{dirName:W,close:()=>{const le=R.checkDefined(h.get(Ce));ce&&k.remove(Ce,ce),le.refCount--,!le.refCount&&(h.delete(Ce),pg(le),le.childWatches.forEach(ig))}}}function U(W,ye,de){let Ce,K;Wa(ye)?Ce=ye:K=ye,k.forEach((ce,le)=>{if(!(K&&K.get(le)===!0)&&(le===W||Xs(W,le)&&W[le.length]===zc))if(K)if(de){const xe=K.get(le);xe?xe.push(...de):K.set(le,de.slice())}else K.set(le,!0);else ce.forEach(({callback:xe})=>xe(Ce))})}function B(W,ye,de,Ce){const K=h.get(ye);if(K&&l(W,1)){H(W,ye,de,Ce);return}U(ye,de),Z(K)}function H(W,ye,de,Ce){const K=T.get(ye);K?K.fileNames.push(de):T.set(ye,{dirName:W,options:Ce,fileNames:[de]}),C&&(g(C),C=void 0),C=d(Y,1e3,"timerToUpdateChildWatches")}function Y(){C=void 0,yI(`sysLog:: onTimerToUpdateChildWatches:: ${T.size}`);const W=Uc(),ye=new Map;for(;!C&&T.size;){const Ce=T.entries().next();R.assert(!Ce.done);const{value:[K,{dirName:ce,options:le,fileNames:xe}]}=Ce;T.delete(K);const we=fe(ce,K,le);U(K,ye,we?void 0:xe)}yI(`sysLog:: invokingWatchers:: Elapsed:: ${Uc()-W}ms:: ${T.size}`),k.forEach((Ce,K)=>{const ce=ye.get(K);ce&&Ce.forEach(({callback:le,dirName:xe})=>{ka(ce)?ce.forEach(le):le(xe)})});const de=Uc()-W;yI(`sysLog:: Elapsed:: ${de}ms:: onTimerToUpdateChildWatches:: ${T.size} ${C}`)}function Z(W){if(!W)return;const ye=W.childWatches;W.childWatches=ft;for(const de of ye)de.close(),Z(h.get(O(de.dirName)))}function fe(W,ye,de){const Ce=h.get(ye);if(!Ce)return!1;let K;const ce=Jve(l(W,1)?lr(s(W),we=>{const Ie=ua(we,W);return!Q(Ie,de)&&D(Ie,So(f(Ie)))===0?Ie:void 0}):ft,Ce.childWatches,(we,Ie)=>D(we,Ie.dirName),le,ig,xe);return Ce.childWatches=K||ft,ce;function le(we){const Ie=M(we,de);xe(Ie)}function xe(we){(K||(K=[])).push(we)}}function Q(W,ye){return Ne(SI,de=>he(W,de))||mbe(W,ye,t,n)}function he(W,ye){return rf(W,ye)?!0:t?!1:rf(O(W),ye)}}function DXe(e){return(t,n,s)=>e(n===1?"change":"rename","",s)}function NXe(e,t,n){return(s,l,f)=>{s==="rename"?(f||(f=n(e)||Uy),t(e,f!==Uy?0:2,f)):t(e,1,f)}}function mbe(e,t,n,s){return((t==null?void 0:t.excludeDirectories)||(t==null?void 0:t.excludeFiles))&&(zU(e,t==null?void 0:t.excludeFiles,n,s())||zU(e,t==null?void 0:t.excludeDirectories,n,s()))}function hbe(e,t,n,s,l){return(f,d)=>{if(f==="rename"){const g=d?So(vs(e,d)):e;(!d||!mbe(g,n,s,l))&&t(g)}}}function gbe({pollingWatchFileWorker:e,getModifiedTime:t,setTimeout:n,clearTimeout:s,fsWatchWorker:l,fileSystemEntryExists:f,useCaseSensitiveFileNames:d,getCurrentDirectory:g,fsSupportsRecursiveFsWatch:h,getAccessibleSortedChildDirectories:k,realpath:T,tscWatchFile:C,useNonPollingWatchers:D,tscWatchDirectory:O,inodeWatching:M,sysLog:U}){const B=new Map,H=new Map,Y=new Map;let Z,fe,Q,he,W=!1;return{watchFile:ye,watchDirectory:le};function ye(Ge,qe,Ke,Me){Me=K(Me,D);const ze=R.checkDefined(Me.watchFile);switch(ze){case 0:return Ie(Ge,qe,250,void 0);case 1:return Ie(Ge,qe,Ke,void 0);case 2:return de()(Ge,qe,Ke,void 0);case 3:return Ce()(Ge,qe,void 0,void 0);case 4:return ue(Ge,0,NXe(Ge,qe,t),!1,Ke,y9(Me));case 5:return Q||(Q=wXe(ue,d)),Q(Ge,qe,Ke,y9(Me));default:R.assertNever(ze)}}function de(){return Z||(Z=CXe({getModifiedTime:t,setTimeout:n}))}function Ce(){return fe||(fe=EXe({getModifiedTime:t,setTimeout:n}))}function K(Ge,qe){if(Ge&&Ge.watchFile!==void 0)return Ge;switch(C){case"PriorityPollingInterval":return{watchFile:1};case"DynamicPriorityPolling":return{watchFile:2};case"UseFsEvents":return ce(4,1,Ge);case"UseFsEventsWithFallbackDynamicPolling":return ce(4,2,Ge);case"UseFsEventsOnParentDirectory":qe=!0;default:return qe?ce(5,1,Ge):{watchFile:4}}}function ce(Ge,qe,Ke){const Me=Ke==null?void 0:Ke.fallbackPolling;return{watchFile:Ge,fallbackPolling:Me===void 0?qe:Me}}function le(Ge,qe,Ke,Me){return h?ue(Ge,1,hbe(Ge,qe,Me,d,g),Ke,500,y9(Me)):(he||(he=PXe({useCaseSensitiveFileNames:d,getCurrentDirectory:g,fileSystemEntryExists:f,getAccessibleSortedChildDirectories:k,watchDirectory:xe,realpath:T,setTimeout:n,clearTimeout:s})),he(Ge,qe,Ke,Me))}function xe(Ge,qe,Ke,Me){R.assert(!Ke);const ze=we(Me),st=R.checkDefined(ze.watchDirectory);switch(st){case 1:return Ie(Ge,()=>qe(Ge),500,void 0);case 2:return de()(Ge,()=>qe(Ge),500,void 0);case 3:return Ce()(Ge,()=>qe(Ge),void 0,void 0);case 0:return ue(Ge,1,hbe(Ge,qe,Me,d,g),Ke,500,y9(ze));default:R.assertNever(st)}}function we(Ge){if(Ge&&Ge.watchDirectory!==void 0)return Ge;switch(O){case"RecursiveDirectoryUsingFsWatchFile":return{watchDirectory:1};case"RecursiveDirectoryUsingDynamicPriorityPolling":return{watchDirectory:2};default:const qe=Ge==null?void 0:Ge.fallbackPolling;return{watchDirectory:0,fallbackPolling:qe!==void 0?qe:void 0}}}function Ie(Ge,qe,Ke,Me){return _be(B,d,Ge,qe,ze=>e(Ge,ze,Ke,Me))}function ue(Ge,qe,Ke,Me,ze,st){return _be(Me?Y:H,d,Ge,Ke,et=>ut(Ge,qe,et,Me,ze,st))}function ut(Ge,qe,Ke,Me,ze,st){let et,je;M&&(et=Ge.substring(Ge.lastIndexOf(zc)),je=et.slice(zc.length));let _t=f(Ge,qe)?Dt():Bt();return{close:()=>{_t&&(_t.close(),_t=void 0)}};function Lt(vr){_t&&(U(`sysLog:: ${Ge}:: Changing watcher to ${vr===Dt?"Present":"Missing"}FileSystemEntryWatcher`),_t.close(),_t=vr())}function Dt(){if(W)return U(`sysLog:: ${Ge}:: Defaulting to watchFile`),Ye();try{const vr=l(Ge,Me,M?Xt:Ke);return vr.on("error",()=>{Ke("rename",""),Lt(Bt)}),vr}catch(vr){return W||(W=vr.code==="ENOSPC"),U(`sysLog:: ${Ge}:: Changing to watchFile`),Ye()}}function Xt(vr,Ar){let Ht;if(Ar&&Sl(Ar,"~")&&(Ht=Ar,Ar=Ar.slice(0,Ar.length-1)),vr==="rename"&&(!Ar||Ar===je||Sl(Ar,et))){const tn=t(Ge)||Uy;Ht&&Ke(vr,Ht,tn),Ke(vr,Ar,tn),M?Lt(tn===Uy?Bt:Dt):tn===Uy&&Lt(Bt)}else Ht&&Ke(vr,Ht),Ke(vr,Ar)}function Ye(){return ye(Ge,DXe(Ke),ze,st)}function Bt(){return ye(Ge,(vr,Ar,Ht)=>{Ar===0&&(Ht||(Ht=t(Ge)||Uy),Ht!==Uy&&(Ke("rename","",Ht),Lt(Dt)))},ze,st)}}}function ybe(e){const t=e.writeFile;e.writeFile=(n,s,l)=>cte(n,s,!!l,(f,d,g)=>t.call(e,f,d,g),f=>e.createDirectory(f),f=>e.directoryExists(f))}function IXe(e){Gu=e}var pK,RB,Uy,vI,bI,TI,SI,dK,mK,Gu,OXe=p({"src/compiler/sys.ts"(){Ba(),pK=(e=>(e[e.Created=0]="Created",e[e.Changed=1]="Changed",e[e.Deleted=2]="Deleted",e))(pK||{}),RB=(e=>(e[e.High=2e3]="High",e[e.Medium=500]="Medium",e[e.Low=250]="Low",e))(RB||{}),Uy=new Date(0),vI={Low:32,Medium:64,High:256},bI=_K(vI),TI=_K(vI),SI=["/node_modules/.","/.git","/.#"],dK=fc,mK=(e=>(e[e.File=0]="File",e[e.Directory=1]="Directory",e))(mK||{}),Gu=(()=>{const e="\uFEFF";function t(){const s=/^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/,l=dC,f=dC,d=dC;let g;try{g=dC}catch{g=void 0}let h,k="./profile.cpuprofile";const T=dC.Buffer,C=process.platform==="linux"||process.platform==="darwin",D=d.platform(),O=Ce(),M=l.realpathSync.native?process.platform==="win32"?ze:l.realpathSync.native:l.realpathSync,U=__filename.endsWith("sys.js")?f.join(f.dirname(__dirname),"__fake__.js"):__filename,B=process.platform==="win32"||process.platform==="darwin",H=tp(()=>process.cwd()),{watchFile:Y,watchDirectory:Z}=gbe({pollingWatchFileWorker:ce,getModifiedTime:et,setTimeout,clearTimeout,fsWatchWorker:le,useCaseSensitiveFileNames:O,getCurrentDirectory:H,fileSystemEntryExists:Ge,fsSupportsRecursiveFsWatch:B,getAccessibleSortedChildDirectories:Dt=>ue(Dt).directories,realpath:st,tscWatchFile:{}.TSC_WATCHFILE,useNonPollingWatchers:!!{}.TSC_NONPOLLING_WATCHER,tscWatchDirectory:{}.TSC_WATCHDIRECTORY,inodeWatching:C,sysLog:yI}),fe={args:process.argv.slice(2),newLine:d.EOL,useCaseSensitiveFileNames:O,write(Dt){process.stdout.write(Dt)},getWidthOfTerminal(){return process.stdout.columns},writeOutputIsTTY(){return process.stdout.isTTY},readFile:we,writeFile:Ie,watchFile:Y,watchDirectory:Z,resolvePath:Dt=>f.resolve(Dt),fileExists:qe,directoryExists:Ke,createDirectory(Dt){if(!fe.directoryExists(Dt))try{l.mkdirSync(Dt)}catch(Xt){if(Xt.code!=="EEXIST")throw Xt}},getExecutingFilePath(){return U},getCurrentDirectory:H,getDirectories:Me,getEnvironmentVariable(Dt){return process.env[Dt]||""},readDirectory:ut,getModifiedTime:et,setModifiedTime:je,deleteFile:_t,createHash:g?Lt:gI,createSHA256Hash:g?Lt:void 0,getMemoryUsage(){return iJe.gc&&iJe.gc(),process.memoryUsage().heapUsed},getFileSize(Dt){try{const Xt=Q(Dt);if(Xt!=null&&Xt.isFile())return Xt.size}catch{}return 0},exit(Dt){ye(()=>process.exit(Dt))},enableCPUProfiler:he,disableCPUProfiler:ye,cpuProfilingEnabled:()=>!!h||kt(process.execArgv,"--cpu-prof")||kt(process.execArgv,"--prof"),realpath:st,debugMode:!!{}.NODE_INSPECTOR_IPC||!!{}.VSCODE_INSPECTOR_OPTIONS||Ne(process.execArgv,Dt=>/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(Dt)),tryEnableSourceMapsForHost(){try{dC.install()}catch{}},setTimeout,clearTimeout,clearScreen:()=>{process.stdout.write("\x1Bc")},setBlocking:()=>{var Dt;const Xt=(Dt=process.stdout)==null?void 0:Dt._handle;Xt&&Xt.setBlocking&&Xt.setBlocking(!0)},bufferFrom:de,base64decode:Dt=>de(Dt,"base64").toString("utf8"),base64encode:Dt=>de(Dt).toString("base64"),require:(Dt,Xt)=>{try{const Ye=iwe(Xt,Dt,fe);return{module:Dge(Ye),modulePath:Ye,error:void 0}}catch(Ye){return{module:void 0,modulePath:void 0,error:Ye}}}};return fe;function Q(Dt){return l.statSync(Dt,{throwIfNoEntry:!1})}function he(Dt,Xt){if(h)return Xt(),!1;const Ye=dC;if(!Ye||!Ye.Session)return Xt(),!1;const Bt=new Ye.Session;return Bt.connect(),Bt.post("Profiler.enable",()=>{Bt.post("Profiler.start",()=>{h=Bt,k=Dt,Xt()})}),!0}function W(Dt){let Xt=0;const Ye=new Map,Bt=Qu(f.dirname(U)),vr=`file://${Hh(Bt)===1?"":"/"}${Bt}`;for(const Ar of Dt.nodes)if(Ar.callFrame.url){const Ht=Qu(Ar.callFrame.url);gv(vr,Ht,O)?Ar.callFrame.url=QC(vr,Ht,vr,nf(O),!0):s.test(Ht)||(Ar.callFrame.url=(Ye.has(Ht)?Ye:Ye.set(Ht,`external${Xt}.js`)).get(Ht),Xt++)}return Dt}function ye(Dt){if(h&&h!=="stopping"){const Xt=h;return h.post("Profiler.stop",(Ye,{profile:Bt})=>{var vr;if(!Ye){try{(vr=Q(k))!=null&&vr.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(W(Bt)))}h=void 0,Xt.disconnect(),Dt()}),h="stopping",!0}else return Dt(),!1}function de(Dt,Xt){return T.from&&T.from!==Int8Array.from?T.from(Dt,Xt):new T(Dt,Xt)}function Ce(){return D==="win32"||D==="win64"?!1:!qe(K(__filename))}function K(Dt){return Dt.replace(/\w/g,Xt=>{const Ye=Xt.toUpperCase();return Xt===Ye?Xt.toLowerCase():Ye})}function ce(Dt,Xt,Ye){l.watchFile(Dt,{persistent:!0,interval:Ye},vr);let Bt;return{close:()=>l.unwatchFile(Dt,vr)};function vr(Ar,Ht){const tn=+Ht.mtime==0||Bt===2;if(+Ar.mtime==0){if(tn)return;Bt=2}else if(tn)Bt=0;else{if(+Ar.mtime==+Ht.mtime)return;Bt=1}Xt(Dt,Bt,Ar.mtime)}}function le(Dt,Xt,Ye){return l.watch(Dt,B?{persistent:!0,recursive:!!Xt}:{persistent:!0},Ye)}function xe(Dt,Xt){let Ye;try{Ye=l.readFileSync(Dt)}catch{return}let Bt=Ye.length;if(Bt>=2&&Ye[0]===254&&Ye[1]===255){Bt&=-2;for(let vr=0;vr<Bt;vr+=2){const Ar=Ye[vr];Ye[vr]=Ye[vr+1],Ye[vr+1]=Ar}return Ye.toString("utf16le",2)}return Bt>=2&&Ye[0]===255&&Ye[1]===254?Ye.toString("utf16le",2):Bt>=3&&Ye[0]===239&&Ye[1]===187&&Ye[2]===191?Ye.toString("utf8",3):Ye.toString("utf8")}function we(Dt,Xt){var Ye,Bt;(Ye=uh)==null||Ye.logStartReadFile(Dt);const vr=xe(Dt);return(Bt=uh)==null||Bt.logStopReadFile(),vr}function Ie(Dt,Xt,Ye){var Bt;(Bt=uh)==null||Bt.logEvent("WriteFile: "+Dt),Ye&&(Xt=e+Xt);let vr;try{vr=l.openSync(Dt,"w"),l.writeSync(vr,Xt,void 0,"utf8")}finally{vr!==void 0&&l.closeSync(vr)}}function ue(Dt){var Xt;(Xt=uh)==null||Xt.logEvent("ReadDir: "+(Dt||"."));try{const Ye=l.readdirSync(Dt||".",{withFileTypes:!0}),Bt=[],vr=[];for(const Ar of Ye){const Ht=typeof Ar=="string"?Ar:Ar.name;if(Ht==="."||Ht==="..")continue;let tn;if(typeof Ar=="string"||Ar.isSymbolicLink()){const hn=vs(Dt,Ht);try{if(tn=Q(hn),!tn)continue}catch{continue}}else tn=Ar;tn.isFile()?Bt.push(Ht):tn.isDirectory()&&vr.push(Ht)}return Bt.sort(),vr.sort(),{files:Bt,directories:vr}}catch{return MJ}}function ut(Dt,Xt,Ye,Bt,vr){return Fte(Dt,Xt,Ye,Bt,O,process.cwd(),vr,ue,st)}function Ge(Dt,Xt){const Ye=Error.stackTraceLimit;Error.stackTraceLimit=0;try{const Bt=Q(Dt);if(!Bt)return!1;switch(Xt){case 0:return Bt.isFile();case 1:return Bt.isDirectory();default:return!1}}catch{return!1}finally{Error.stackTraceLimit=Ye}}function qe(Dt){return Ge(Dt,0)}function Ke(Dt){return Ge(Dt,1)}function Me(Dt){return ue(Dt).directories.slice()}function ze(Dt){return Dt.length<260?l.realpathSync.native(Dt):l.realpathSync(Dt)}function st(Dt){try{return M(Dt)}catch{return Dt}}function et(Dt){var Xt;const Ye=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return(Xt=Q(Dt))==null?void 0:Xt.mtime}catch{return}finally{Error.stackTraceLimit=Ye}}function je(Dt,Xt){try{l.utimesSync(Dt,Xt,Xt)}catch{return}}function _t(Dt){try{return l.unlinkSync(Dt)}catch{return}}function Lt(Dt){const Xt=g.createHash("sha256");return Xt.update(Dt),Xt.digest("hex")}}let n;return rZ()&&(n=t()),n&&ybe(n),n})(),Gu&&Gu.getEnvironmentVariable&&(kXe(Gu),R.setAssertionLevel(/^development$/i.test(Gu.getEnvironmentVariable("NODE_ENV"))?1:0)),Gu&&Gu.debugMode&&(R.isDebugging=!0)}});function hK(e){return e===47||e===92}function vbe(e){return xI(e)<0}function fh(e){return xI(e)>0}function gK(e){const t=xI(e);return t>0&&t===e.length}function iP(e){return xI(e)!==0}function kp(e){return/^\.\.?($|[\\/])/.test(e)}function yK(e){return!iP(e)&&!kp(e)}function N6(e){return rf(Xu(e),".")}function Vl(e,t){return e.length>t.length&&Sl(e,t)}function $l(e,t){for(const n of t)if(Vl(e,n))return!0;return!1}function K0(e){return e.length>0&&hK(e.charCodeAt(e.length-1))}function bbe(e){return e>=97&&e<=122||e>=65&&e<=90}function LXe(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 xI(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?zc:wI,2);return s<0?e.length:s+1}if(bbe(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(CK);if(n!==-1){const s=n+CK.length,l=e.indexOf(zc,s);if(l!==-1){const f=e.slice(0,n),d=e.slice(s,l);if(f==="file"&&(d===""||d==="localhost")&&bbe(e.charCodeAt(l+1))){const g=LXe(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 Hh(e){const t=xI(e);return t<0?~t:t}function cs(e){e=Qu(e);const t=Hh(e);return t===e.length?e:(e=ST(e),e.slice(0,Math.max(t,e.lastIndexOf(zc))))}function Xu(e,t,n){if(e=Qu(e),Hh(e)===e.length)return"";e=ST(e);const l=e.slice(Math.max(Hh(e),e.lastIndexOf(zc)+1)),f=t!==void 0&&n!==void 0?BB(l,t,n):void 0;return f?l.slice(0,l.length-f.length):l}function Tbe(e,t,n){if(Xs(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 MXe(e,t,n){if(typeof t=="string")return Tbe(e,t,n)||"";for(const s of t){const l=Tbe(e,s,n);if(l)return l}return""}function BB(e,t,n){if(t)return MXe(ST(e),t,n?zC:VC);const s=Xu(e),l=s.lastIndexOf(".");return l>=0?s.substring(l):""}function FXe(e,t){const n=e.substring(0,t),s=e.substring(t).split(zc);return s.length&&!Bc(s)&&s.pop(),[n,...s]}function Ou(e,t=""){return e=vs(t,e),FXe(e,Hh(e))}function mv(e,t){return e.length===0?"":(e[0]&&Vf(e[0]))+e.slice(1,t).join(zc)}function Qu(e){return e.indexOf("\\")!==-1?e.replace(Sbe,zc):e}function bx(e){if(!Ne(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 vs(e,...t){e&&(e=Qu(e));for(let n of t)n&&(n=Qu(n),!e||Hh(n)!==0?e=n:e=Vf(e)+n);return e}function hv(e,...t){return So(Ne(t)?vs(e,...t):Qu(e))}function kI(e,t){return bx(Ou(e,t))}function ua(e,t){return mv(kI(e,t))}function So(e){if(e=Qu(e),!EI.test(e))return e;const t=e.replace(/\/\.\//g,"/").replace(/^\.\//,"");if(t!==e&&(e=t,!EI.test(e)))return e;const n=mv(bx(Ou(e)));return n&&K0(e)?Vf(n):n}function RXe(e){return e.length===0?"":e.slice(1).join(zc)}function vK(e,t){return RXe(kI(e,t))}function bc(e,t,n){const s=fh(e)?So(e):ua(e,t);return n(s)}function ST(e){return K0(e)?e.substr(0,e.length-1):e}function Vf(e){return K0(e)?e:e+zc}function xT(e){return!iP(e)&&!kp(e)?"./"+e:e}function bK(e,t,n,s){const l=n!==void 0&&s!==void 0?BB(e,n,s):BB(e);return l?e.slice(0,e.length-l.length)+(Xs(t,".")?t:"."+t):e}function TK(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,Hh(e)),l=t.substring(0,Hh(t)),f=fB(s,l);if(f!==0)return f;const d=e.substring(s.length),g=t.substring(l.length);if(!EI.test(d)&&!EI.test(g))return n(d,g);const h=bx(Ou(e)),k=bx(Ou(t)),T=Math.min(h.length,k.length);for(let C=1;C<T;C++){const D=n(h[C],k[C]);if(D!==0)return D}return wc(h.length,k.length)}function BXe(e,t){return TK(e,t,zf)}function jXe(e,t){return TK(e,t,fB)}function Tx(e,t,n,s){return typeof n=="string"?(e=vs(n,e),t=vs(n,t)):typeof n=="boolean"&&(s=n),TK(e,t,_B(s))}function gv(e,t,n,s){if(typeof n=="string"?(e=vs(n,e),t=vs(n,t)):typeof n=="boolean"&&(s=n),e===void 0||t===void 0)return!1;if(e===t)return!0;const l=bx(Ou(e)),f=bx(Ou(t));if(f.length<l.length)return!1;const d=s?zC:VC;for(let g=0;g<l.length;g++)if(!(g===0?zC:d)(l[g],f[g]))return!1;return!0}function SK(e,t,n){const s=n(e),l=n(t);return Xs(s,l+"/")||Xs(s,l+"\\")}function xK(e,t,n,s){const l=bx(Ou(e)),f=bx(Ou(t));let d;for(d=0;d<l.length&&d<f.length;d++){const k=s(l[d]),T=s(f[d]);if(!(d===0?zC:n)(k,T))break}if(d===0)return f;const g=f.slice(d),h=[];for(;d<l.length;d++)h.push("..");return["",...h,...g]}function Gh(e,t,n){R.assert(Hh(e)>0==Hh(t)>0,"Paths must either both be absolute or both be relative");const f=xK(e,t,(typeof n=="boolean"?n:!1)?zC:VC,typeof n=="function"?n:Kc);return mv(f)}function sP(e,t,n){return fh(e)?QC(t,e,t,n,!1):e}function CI(e,t,n){return xT(Gh(cs(e),t,n))}function QC(e,t,n,s,l){const f=xK(hv(n,e),hv(n,t),VC,s),d=f[0];if(l&&fh(d)){const g=d.charAt(0)===zc?"file://":"file:///";f[0]=g+d}return mv(f)}function zy(e,t){for(;;){const n=t(e);if(n!==void 0)return n;const s=cs(e);if(s===e)return;e=s}}function kK(e){return Sl(e,"/node_modules")}var zc,wI,CK,Sbe,EI,JXe=p({"src/compiler/path.ts"(){Ba(),zc="/",wI="\\",CK="://",Sbe=/\\/g,EI=/(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/}});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,UXe=p({"src/compiler/diagnosticInformationMap.generated.ts"(){ube(),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."),_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_Use_the_syntax_0:E(1121,1,"Octal_literals_are_not_allowed_Use_the_syntax_0_1121","Octal literals are not allowed. Use the syntax '{0}'."),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."),Abstract_properties_can_only_appear_within_an_abstract_class:E(1253,1,"Abstract_properties_can_only_appear_within_an_abstract_class_1253","Abstract properties can only appear within an abstract class."),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."),Octal_escape_sequences_are_not_allowed_Use_the_syntax_0:E(1487,1,"Octal_escape_sequences_are_not_allowed_Use_the_syntax_0_1487","Octal escape sequences are not allowed. Use the syntax '{0}'."),Escape_sequence_0_is_not_allowed:E(1488,1,"Escape_sequence_0_is_not_allowed_1488","Escape sequence '{0}' is not allowed."),Decimals_with_leading_zeros_are_not_allowed:E(1489,1,"Decimals_with_leading_zeros_are_not_allowed_1489","Decimals with leading zeros are not allowed."),File_appears_to_be_binary:E(1490,1,"File_appears_to_be_binary_1490","File appears to be binary."),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_undefined_void_nor_any_must_return_a_value:E(2355,1,"A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'undefined', '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."),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."),React_components_cannot_include_JSX_namespace_names:E(2639,1,"React_components_cannot_include_JSX_namespace_names_2639","React components cannot include JSX namespace names"),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?"),The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression:E(2848,1,"The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848","The right-hand side of an 'instanceof' expression must not be an instantiation expression."),Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1:E(2849,1,"Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849","Target signature provides too few arguments. Expected {0} or more, but got {1}."),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."),Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1:E(6164,3,"Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1_6164","Skipping module '{0}' that looks like an absolute URI, target file types: {1}."),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_0:E(6259,3,"Found_1_error_in_0_6259","Found 1 error in {0}"),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."),Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder:E(6265,3,"Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265","Resolving type reference directive for program that specifies custom typeRoots, skipping lookup in 'node_modules' folder."),Option_0_can_only_be_specified_on_command_line:E(6266,1,"Option_0_can_only_be_specified_on_command_line_6266","Option '{0}' can only be specified on command line."),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."),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'."),A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag:E(8039,1,"A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag_8039","A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overload' tag"),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."),JSDoc_typedef_may_be_converted_to_TypeScript_type:E(80009,2,"JSDoc_typedef_may_be_converted_to_TypeScript_type_80009","JSDoc typedef may be converted to TypeScript type."),JSDoc_typedefs_may_be_converted_to_TypeScript_types:E(80010,2,"JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010","JSDoc typedefs may be converted to TypeScript types."),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."),Convert_typedef_to_TypeScript_type:E(95176,3,"Convert_typedef_to_TypeScript_type_95176","Convert typedef to TypeScript type."),Convert_all_typedef_to_TypeScript_types:E(95177,3,"Convert_all_typedef_to_TypeScript_types_95177","Convert all typedef to TypeScript types."),Move_to_file:E(95178,3,"Move_to_file_95178","Move to file"),Cannot_move_to_file_selected_file_is_invalid:E(95179,3,"Cannot_move_to_file_selected_file_is_invalid_95179","Cannot move to file, selected file is invalid"),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."),Non_abstract_class_0_does_not_implement_all_abstract_members_of_1:E(18052,1,"Non_abstract_class_0_does_not_implement_all_abstract_members_of_1_18052","Non-abstract class '{0}' does not implement all abstract members of '{1}'"),Its_type_0_is_not_a_valid_JSX_element_type:E(18053,1,"Its_type_0_is_not_a_valid_JSX_element_type_18053","Its type '{0}' is not a valid JSX element type.")}}});function i_(e){return e>=80}function xbe(e){return e===32||i_(e)}function aP(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 jB(e,t){return t>=2?aP(e,Lbe):t===1?aP(e,Ibe):aP(e,Dbe)}function zXe(e,t){return t>=2?aP(e,Mbe):t===1?aP(e,Obe):aP(e,Nbe)}function VXe(e){const t=[];return e.forEach((n,s)=>{t[n]=s}),t}function io(e){return Bbe[e]}function Sx(e){return PK.get(e)}function AI(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&&sf(l)&&(t.push(s),s=n);break}}return t.push(s),t}function PI(e,t,n,s){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(t,n,s):wK(Vy(e),t,n,e.text,s)}function wK(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,AI(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 Vy(e){return e.lineMap||(e.lineMap=AI(e.text))}function DI(e,t){const n=oP(e,t);return{line:n,character:t-e[n]}}function oP(e,t,n){let s=dv(e,t,Kc,wc,n);return s<0&&(s=~s-1,R.assert(s!==-1,"position cannot precede the beginning of the file")),s}function cP(e,t,n){if(t===n)return 0;const s=Vy(e),l=Math.min(t,n),f=l===n,d=f?t:n,g=oP(s,l),h=oP(s,d,g);return f?g-h:h-g}function Vc(e,t){return DI(Vy(e),t)}function zg(e){return _h(e)||sf(e)}function _h(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 sf(e){return e===10||e===13||e===8232||e===8233}function I6(e){return e>=48&&e<=57}function kbe(e){return I6(e)||e>=65&&e<=70||e>=97&&e<=102}function $Xe(e){return e<=1114111}function JB(e){return e>=48&&e<=55}function Cbe(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 fo(e,t,n,s,l){if(gh(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&&!sf(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(O6(e,t)){t=lP(e,t),f=!1;continue}break;case 35:if(t===0&&EK(e,t)){t=AK(e,t),f=!1;continue}break;case 42:if(f){t++,f=!1;continue}break;default:if(d>127&&zg(d)){t++;continue}break}return t}}function O6(e,t){if(R.assert(t>=0),t===0||sf(e.charCodeAt(t-1))){const n=e.charCodeAt(t);if(t+LI<e.length){for(let s=0;s<LI;s++)if(e.charCodeAt(t+s)!==n)return!1;return n===61||e.charCodeAt(t+LI)===32}}return!1}function lP(e,t,n){n&&n(v.Merge_conflict_marker_encountered,t,LI);const s=e.charCodeAt(t),l=e.length;if(s===60||s===62)for(;t<l&&!sf(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&&O6(e,t))break;t++}return t}function EK(e,t){return R.assert(t===0),VB.test(e)}function AK(e,t){const n=VB.exec(e)[0];return t=t+n.length,t}function UB(e,t,n,s,l,f,d){let g,h,k,T,C=!1,D=s,O=d;if(n===0){D=!0;const M=zB(t);M&&(n=M.length)}e:for(;n>=0&&n<t.length;){const M=t.charCodeAt(n);switch(M){case 13:t.charCodeAt(n+1)===10&&n++;case 10:if(n++,s)break e;D=!0,C&&(T=!0);continue;case 9:case 11:case 12:case 32:n++;continue;case 47:const U=t.charCodeAt(n+1);let B=!1;if(U===47||U===42){const H=U===47?2:3,Y=n;if(n+=2,U===47)for(;n<t.length;){if(sf(t.charCodeAt(n))){B=!0;break}n++}else for(;n<t.length;){if(t.charCodeAt(n)===42&&t.charCodeAt(n+1)===47){n+=2;break}n++}if(D){if(C&&(O=l(g,h,k,T,f,O),!e&&O))return O;g=Y,h=n,k=H,T=B,C=!0}continue}break e;default:if(M>127&&zg(M)){C&&sf(M)&&(T=!0),n++;continue}break e}}return C&&(O=l(g,h,k,T,f,O)),O}function NI(e,t,n,s){return UB(!1,e,t,!1,n,s)}function II(e,t,n,s){return UB(!1,e,t,!0,n,s)}function wbe(e,t,n,s,l){return UB(!0,e,t,!1,n,s,l)}function Ebe(e,t,n,s,l){return UB(!0,e,t,!0,n,s,l)}function Abe(e,t,n,s,l,f=[]){return f.push({kind:n,pos:e,end:t,hasTrailingNewLine:s}),f}function Vg(e,t){return wbe(e,t,Abe,void 0,void 0)}function Vb(e,t){return Ebe(e,t,Abe,void 0,void 0)}function zB(e){const t=VB.exec(e);if(t)return t[0]}function $g(e,t){return e>=65&&e<=90||e>=97&&e<=122||e===36||e===95||e>127&&jB(e,t)}function $b(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&&zXe(e,t)}function od(e,t,n){let s=$y(e,0);if(!$g(s,t))return!1;for(let l=yv(s);l<e.length;l+=yv(s))if(!$b(s=$y(e,l),t,n))return!1;return!0}function e1(e,t,n=0,s,l,f,d){var g=s,h,k,T,C,D,O,M,U,B=0;Kt(g,f,d);var H={getTokenFullStart:()=>T,getStartPos:()=>T,getTokenEnd:()=>h,getTextPos:()=>h,getToken:()=>D,getTokenStart:()=>C,getTokenPos:()=>C,getTokenText:()=>g.substring(C,h),getTokenValue:()=>O,hasUnicodeEscape:()=>(M&1024)!==0,hasExtendedUnicodeEscape:()=>(M&8)!==0,hasPrecedingLineBreak:()=>(M&1)!==0,hasPrecedingJSDocComment:()=>(M&2)!==0,isIdentifier:()=>D===80||D>118,isReservedWord:()=>D>=83&&D<=118,isUnterminated:()=>(M&4)!==0,getCommentDirectives:()=>U,getNumericLiteralFlags:()=>M&25584,getTokenFlags:()=>M,reScanGreaterToken:ze,reScanAsteriskEqualsToken:st,reScanSlashToken:et,reScanTemplateToken:Lt,reScanTemplateHeadOrNoSubstitutionTemplate:Dt,scanJsxIdentifier:Ht,scanJsxAttributeValue:tn,reScanJsxAttributeValue:hn,reScanJsxToken:Xt,reScanLessThanToken:Ye,reScanHashToken:Bt,reScanQuestionToken:vr,reScanInvalidIdentifier:Ke,scanJsxToken:Ar,scanJsDocToken:Cn,scanJSDocCommentTextToken:Br,scan:qe,getText:Pt,clearCommentDirectives:Dr,setText:Kt,setScriptTarget:_n,setLanguageVariant:Nn,setOnError:Qr,resetTokenState:ks,setTextPos:ks,setInJSDocType:ls,tryScan:ui,lookAhead:ws,scanRange:Ji};return R.isDebugging&&Object.defineProperty(H,"__debugShowCurrentPositionInText",{get:()=>{const Yr=H.getText();return Yr.slice(0,H.getTokenFullStart())+"║"+Yr.slice(H.getTokenFullStart())}}),H;function Y(Yr,Er=h,rn,qr){if(l){const xi=h;h=Er,l(Yr,rn||0,qr),h=xi}}function Z(){let Yr=h,Er=!1,rn=!1,qr="";for(;;){const xi=g.charCodeAt(h);if(xi===95){M|=512,Er?(Er=!1,rn=!0,qr+=g.substring(Yr,h)):(M|=16384,Y(rn?v.Multiple_consecutive_numeric_separators_are_not_permitted:v.Numeric_separators_are_not_allowed_here,h,1)),h++,Yr=h;continue}if(I6(xi)){Er=!0,rn=!1,h++;continue}break}return g.charCodeAt(h-1)===95&&(M|=16384,Y(v.Numeric_separators_are_not_allowed_here,h-1,1)),qr+g.substring(Yr,h)}function fe(){let Yr=h,Er;if(g.charCodeAt(h)===48)if(h++,g.charCodeAt(h)===95)M|=16896,Y(v.Numeric_separators_are_not_allowed_here,h,1),h--,Er=Z();else if(!he())M|=8192,Er=""+ +O;else if(!O)Er="0";else{O=""+parseInt(O,8),M|=32;const Nt=D===41,dt=(Nt?"-":"")+"0o"+(+O).toString(8);return Nt&&Yr--,Y(v.Octal_literals_are_not_allowed_Use_the_syntax_0,Yr,h-Yr,dt),{type:9,value:O}}else Er=Z();let rn,qr;g.charCodeAt(h)===46&&(h++,rn=Z());let xi=h;if(g.charCodeAt(h)===69||g.charCodeAt(h)===101){h++,M|=16,(g.charCodeAt(h)===43||g.charCodeAt(h)===45)&&h++;const Nt=h,dt=Z();dt?(qr=g.substring(xi,Nt)+dt,xi=h):Y(v.Digit_expected)}let pt;if(M&512?(pt=Er,rn&&(pt+="."+rn),qr&&(pt+=qr)):pt=g.substring(Yr,xi),M&8192)return Y(v.Decimals_with_leading_zeros_are_not_allowed,Yr,xi-Yr),{type:9,value:""+ +pt};if(rn!==void 0||M&16)return Q(Yr,rn===void 0&&!!(M&16)),{type:9,value:""+ +pt};{O=pt;const Nt=Ge();return Q(Yr),{type:Nt,value:O}}}function Q(Yr,Er){if(!$g($y(g,h),e))return;const rn=h,{length:qr}=Ie();qr===1&&g[rn]==="n"?Y(Er?v.A_bigint_literal_cannot_use_exponential_notation:v.A_bigint_literal_must_be_an_integer,Yr,rn-Yr+1):(Y(v.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,rn,qr),h=rn)}function he(){const Yr=h;let Er=!0;for(;I6(g.charCodeAt(h));)JB(g.charCodeAt(h))||(Er=!1),h++;return O=g.substring(Yr,h),Er}function W(Yr,Er){const rn=de(Yr,!1,Er);return rn?parseInt(rn,16):-1}function ye(Yr,Er){return de(Yr,!0,Er)}function de(Yr,Er,rn){let qr=[],xi=!1,pt=!1;for(;qr.length<Yr||Er;){let Nt=g.charCodeAt(h);if(rn&&Nt===95){M|=512,xi?(xi=!1,pt=!0):Y(pt?v.Multiple_consecutive_numeric_separators_are_not_permitted:v.Numeric_separators_are_not_allowed_here,h,1),h++;continue}if(xi=rn,Nt>=65&&Nt<=70)Nt+=32;else if(!(Nt>=48&&Nt<=57||Nt>=97&&Nt<=102))break;qr.push(Nt),h++,pt=!1}return qr.length<Yr&&(qr=[]),g.charCodeAt(h-1)===95&&Y(v.Numeric_separators_are_not_allowed_here,h-1,1),String.fromCharCode(...qr)}function Ce(Yr=!1){const Er=g.charCodeAt(h);h++;let rn="",qr=h;for(;;){if(h>=k){rn+=g.substring(qr,h),M|=4,Y(v.Unterminated_string_literal);break}const xi=g.charCodeAt(h);if(xi===Er){rn+=g.substring(qr,h),h++;break}if(xi===92&&!Yr){rn+=g.substring(qr,h),rn+=ce(!0),qr=h;continue}if(sf(xi)&&!Yr){rn+=g.substring(qr,h),M|=4,Y(v.Unterminated_string_literal);break}h++}return rn}function K(Yr){const Er=g.charCodeAt(h)===96;h++;let rn=h,qr="",xi;for(;;){if(h>=k){qr+=g.substring(rn,h),M|=4,Y(v.Unterminated_template_literal),xi=Er?15:18;break}const pt=g.charCodeAt(h);if(pt===96){qr+=g.substring(rn,h),h++,xi=Er?15:18;break}if(pt===36&&h+1<k&&g.charCodeAt(h+1)===123){qr+=g.substring(rn,h),h+=2,xi=Er?16:17;break}if(pt===92){qr+=g.substring(rn,h),qr+=ce(Yr),rn=h;continue}if(pt===13){qr+=g.substring(rn,h),h++,h<k&&g.charCodeAt(h)===10&&h++,qr+=`
`,rn=h;continue}h++}return R.assert(xi!==void 0),O=qr,xi}function ce(Yr){const Er=h;if(h++,h>=k)return Y(v.Unexpected_end_of_text),"";const rn=g.charCodeAt(h);switch(h++,rn){case 48:if(h>=k||!I6(g.charCodeAt(h)))return"\0";case 49:case 50:case 51:h<k&&JB(g.charCodeAt(h))&&h++;case 52:case 53:case 54:case 55:if(h<k&&JB(g.charCodeAt(h))&&h++,M|=2048,Yr){const qr=parseInt(g.substring(Er+1,h),8);return Y(v.Octal_escape_sequences_are_not_allowed_Use_the_syntax_0,Er,h-Er,"\\x"+vx(qr.toString(16),2,"0")),String.fromCharCode(qr)}return g.substring(Er,h);case 56:case 57:return M|=2048,Yr?(Y(v.Escape_sequence_0_is_not_allowed,Er,h-Er,g.substring(Er,h)),String.fromCharCode(rn)):g.substring(Er,h);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(h<k&&g.charCodeAt(h)===123){h++;const qr=ye(1,!1),xi=qr?parseInt(qr,16):-1;return xi<0?(M|=2048,Yr&&Y(v.Hexadecimal_digit_expected),g.substring(Er,h)):$Xe(xi)?h>=k?(M|=2048,Yr&&Y(v.Unexpected_end_of_text),g.substring(Er,h)):g.charCodeAt(h)!==125?(M|=2048,Yr&&Y(v.Unterminated_Unicode_escape_sequence),g.substring(Er,h)):(h++,M|=8,L6(xi)):(M|=2048,Yr&&Y(v.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),g.substring(Er,h))}for(;h<Er+6;h++)if(!(h<k&&kbe(g.charCodeAt(h))))return M|=2048,Yr&&Y(v.Hexadecimal_digit_expected),g.substring(Er,h);return M|=1024,String.fromCharCode(parseInt(g.substring(Er+2,h),16));case 120:for(;h<Er+4;h++)if(!(h<k&&kbe(g.charCodeAt(h))))return M|=2048,Yr&&Y(v.Hexadecimal_digit_expected),g.substring(Er,h);return M|=4096,String.fromCharCode(parseInt(g.substring(Er+2,h),16));case 13:h<k&&g.charCodeAt(h)===10&&h++;case 10:case 8232:case 8233:return"";default:return String.fromCharCode(rn)}}function le(){const Yr=ye(1,!1),Er=Yr?parseInt(Yr,16):-1;let rn=!1;return Er<0?(Y(v.Hexadecimal_digit_expected),rn=!0):Er>1114111&&(Y(v.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),rn=!0),h>=k?(Y(v.Unexpected_end_of_text),rn=!0):g.charCodeAt(h)===125?h++:(Y(v.Unterminated_Unicode_escape_sequence),rn=!0),rn?"":L6(Er)}function xe(){if(h+5<k&&g.charCodeAt(h+1)===117){const Yr=h;h+=2;const Er=W(4,!1);return h=Yr,Er}return-1}function we(){if($y(g,h+1)===117&&$y(g,h+2)===123){const Yr=h;h+=3;const Er=ye(1,!1),rn=Er?parseInt(Er,16):-1;return h=Yr,rn}return-1}function Ie(){let Yr="",Er=h;for(;h<k;){let rn=$y(g,h);if($b(rn,e))h+=yv(rn);else if(rn===92){if(rn=we(),rn>=0&&$b(rn,e)){h+=3,M|=8,Yr+=le(),Er=h;continue}if(rn=xe(),!(rn>=0&&$b(rn,e)))break;M|=1024,Yr+=g.substring(Er,h),Yr+=L6(rn),h+=6,Er=h}else break}return Yr+=g.substring(Er,h),Yr}function ue(){const Yr=O.length;if(Yr>=2&&Yr<=12){const Er=O.charCodeAt(0);if(Er>=97&&Er<=122){const rn=Pbe.get(O);if(rn!==void 0)return D=rn}}return D=80}function ut(Yr){let Er="",rn=!1,qr=!1;for(;;){const xi=g.charCodeAt(h);if(xi===95){M|=512,rn?(rn=!1,qr=!0):Y(qr?v.Multiple_consecutive_numeric_separators_are_not_permitted:v.Numeric_separators_are_not_allowed_here,h,1),h++;continue}if(rn=!0,!I6(xi)||xi-48>=Yr)break;Er+=g[h],h++,qr=!1}return g.charCodeAt(h-1)===95&&Y(v.Numeric_separators_are_not_allowed_here,h-1,1),Er}function Ge(){return g.charCodeAt(h)===110?(O+="n",M&384&&(O=rD(O)+"n"),h++,10):(O=""+(M&128?parseInt(O.slice(2),2):M&256?parseInt(O.slice(2),8):+O),9)}function qe(){T=h,M=0;let Yr=!1;for(;;){if(C=h,h>=k)return D=1;const Er=$y(g,h);if(h===0){if(Er===65533)return Y(v.File_appears_to_be_binary),h=k,D=8;if(Er===35&&EK(g,h)){if(h=AK(g,h),t)continue;return D=6}}switch(Er){case 10:case 13:if(M|=1,t){h++;continue}else return Er===13&&h+1<k&&g.charCodeAt(h+1)===10?h+=2:h++,D=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&&_h(g.charCodeAt(h));)h++;return D=5}case 33:return g.charCodeAt(h+1)===61?g.charCodeAt(h+2)===61?(h+=3,D=38):(h+=2,D=36):(h++,D=54);case 34:case 39:return O=Ce(),D=11;case 96:return D=K(!1);case 37:return g.charCodeAt(h+1)===61?(h+=2,D=70):(h++,D=45);case 38:return g.charCodeAt(h+1)===38?g.charCodeAt(h+2)===61?(h+=3,D=77):(h+=2,D=56):g.charCodeAt(h+1)===61?(h+=2,D=74):(h++,D=51);case 40:return h++,D=21;case 41:return h++,D=22;case 42:if(g.charCodeAt(h+1)===61)return h+=2,D=67;if(g.charCodeAt(h+1)===42)return g.charCodeAt(h+2)===61?(h+=3,D=68):(h+=2,D=43);if(h++,B&&!Yr&&M&1){Yr=!0;continue}return D=42;case 43:return g.charCodeAt(h+1)===43?(h+=2,D=46):g.charCodeAt(h+1)===61?(h+=2,D=65):(h++,D=40);case 44:return h++,D=28;case 45:return g.charCodeAt(h+1)===45?(h+=2,D=47):g.charCodeAt(h+1)===61?(h+=2,D=66):(h++,D=41);case 46:return I6(g.charCodeAt(h+1))?(O=fe().value,D=9):g.charCodeAt(h+1)===46&&g.charCodeAt(h+2)===46?(h+=3,D=26):(h++,D=25);case 47:if(g.charCodeAt(h+1)===47){for(h+=2;h<k&&!sf(g.charCodeAt(h));)h++;if(U=je(U,g.slice(C,h),Fbe,C),t)continue;return D=2}if(g.charCodeAt(h+1)===42){h+=2,g.charCodeAt(h)===42&&g.charCodeAt(h+1)!==47&&(M|=2);let dt=!1,Ut=C;for(;h<k;){const rr=g.charCodeAt(h);if(rr===42&&g.charCodeAt(h+1)===47){h+=2,dt=!0;break}h++,sf(rr)&&(Ut=h,M|=1)}if(U=je(U,g.slice(Ut,h),Rbe,Ut),dt||Y(v.Asterisk_Slash_expected),t)continue;return dt||(M|=4),D=3}return g.charCodeAt(h+1)===61?(h+=2,D=69):(h++,D=44);case 48:if(h+2<k&&(g.charCodeAt(h+1)===88||g.charCodeAt(h+1)===120))return h+=2,O=ye(1,!0),O||(Y(v.Hexadecimal_digit_expected),O="0"),O="0x"+O,M|=64,D=Ge();if(h+2<k&&(g.charCodeAt(h+1)===66||g.charCodeAt(h+1)===98))return h+=2,O=ut(2),O||(Y(v.Binary_digit_expected),O="0"),O="0b"+O,M|=128,D=Ge();if(h+2<k&&(g.charCodeAt(h+1)===79||g.charCodeAt(h+1)===111))return h+=2,O=ut(8),O||(Y(v.Octal_digit_expected),O="0"),O="0o"+O,M|=256,D=Ge();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return{type:D,value:O}=fe(),D;case 58:return h++,D=59;case 59:return h++,D=27;case 60:if(O6(g,h)){if(h=lP(g,h,Y),t)continue;return D=7}return g.charCodeAt(h+1)===60?g.charCodeAt(h+2)===61?(h+=3,D=71):(h+=2,D=48):g.charCodeAt(h+1)===61?(h+=2,D=33):n===1&&g.charCodeAt(h+1)===47&&g.charCodeAt(h+2)!==42?(h+=2,D=31):(h++,D=30);case 61:if(O6(g,h)){if(h=lP(g,h,Y),t)continue;return D=7}return g.charCodeAt(h+1)===61?g.charCodeAt(h+2)===61?(h+=3,D=37):(h+=2,D=35):g.charCodeAt(h+1)===62?(h+=2,D=39):(h++,D=64);case 62:if(O6(g,h)){if(h=lP(g,h,Y),t)continue;return D=7}return h++,D=32;case 63:return g.charCodeAt(h+1)===46&&!I6(g.charCodeAt(h+2))?(h+=2,D=29):g.charCodeAt(h+1)===63?g.charCodeAt(h+2)===61?(h+=3,D=78):(h+=2,D=61):(h++,D=58);case 91:return h++,D=23;case 93:return h++,D=24;case 94:return g.charCodeAt(h+1)===61?(h+=2,D=79):(h++,D=53);case 123:return h++,D=19;case 124:if(O6(g,h)){if(h=lP(g,h,Y),t)continue;return D=7}return g.charCodeAt(h+1)===124?g.charCodeAt(h+2)===61?(h+=3,D=76):(h+=2,D=57):g.charCodeAt(h+1)===61?(h+=2,D=75):(h++,D=52);case 125:return h++,D=20;case 126:return h++,D=55;case 64:return h++,D=60;case 92:const rn=we();if(rn>=0&&$g(rn,e))return h+=3,M|=8,O=le()+Ie(),D=ue();const qr=xe();return qr>=0&&$g(qr,e)?(h+=6,M|=1024,O=String.fromCharCode(qr)+Ie(),D=ue()):(Y(v.Invalid_character),h++,D=0);case 35:if(h!==0&&g[h+1]==="!")return Y(v.can_only_be_used_at_the_start_of_a_file),h++,D=0;const xi=$y(g,h+1);if(xi===92){h++;const dt=we();if(dt>=0&&$g(dt,e))return h+=3,M|=8,O="#"+le()+Ie(),D=81;const Ut=xe();if(Ut>=0&&$g(Ut,e))return h+=6,M|=1024,O="#"+String.fromCharCode(Ut)+Ie(),D=81;h--}return $g(xi,e)?(h++,Me(xi,e)):(O="#",Y(v.Invalid_character,h++,yv(Er))),D=81;default:const pt=Me(Er,e);if(pt)return D=pt;if(_h(Er)){h+=yv(Er);continue}else if(sf(Er)){M|=1,h+=yv(Er);continue}const Nt=yv(Er);return Y(v.Invalid_character,h,Nt),h+=Nt,D=0}}}function Ke(){R.assert(D===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),h=C=T,M=0;const Yr=$y(g,h),Er=Me(Yr,99);return Er?D=Er:(h+=yv(Yr),D)}function Me(Yr,Er){let rn=Yr;if($g(rn,Er)){for(h+=yv(rn);h<k&&$b(rn=$y(g,h),Er);)h+=yv(rn);return O=g.substring(C,h),rn===92&&(O+=Ie()),ue()}}function ze(){if(D===32){if(g.charCodeAt(h)===62)return g.charCodeAt(h+1)===62?g.charCodeAt(h+2)===61?(h+=3,D=73):(h+=2,D=50):g.charCodeAt(h+1)===61?(h+=2,D=72):(h++,D=49);if(g.charCodeAt(h)===61)return h++,D=34}return D}function st(){return R.assert(D===67,"'reScanAsteriskEqualsToken' should only be called on a '*='"),h=C+1,D=64}function et(){if(D===44||D===69){let Yr=C+1,Er=!1,rn=!1;for(;;){if(Yr>=k){M|=4,Y(v.Unterminated_regular_expression_literal);break}const qr=g.charCodeAt(Yr);if(sf(qr)){M|=4,Y(v.Unterminated_regular_expression_literal);break}if(Er)Er=!1;else if(qr===47&&!rn){Yr++;break}else qr===91?rn=!0:qr===92?Er=!0:qr===93&&(rn=!1);Yr++}for(;Yr<k&&$b(g.charCodeAt(Yr),e);)Yr++;h=Yr,O=g.substring(C,h),D=14}return D}function je(Yr,Er,rn,qr){const xi=_t(eP(Er),rn);return xi===void 0?Yr:zr(Yr,{range:{pos:qr,end:h},type:xi})}function _t(Yr,Er){const rn=Er.exec(Yr);if(rn)switch(rn[1]){case"ts-expect-error":return 0;case"ts-ignore":return 1}}function Lt(Yr){return h=C,D=K(!Yr)}function Dt(){return h=C,D=K(!0)}function Xt(Yr=!0){return h=C=T,D=Ar(Yr)}function Ye(){return D===48?(h=C+1,D=30):D}function Bt(){return D===81?(h=C+1,D=63):D}function vr(){return R.assert(D===61,"'reScanQuestionToken' should only be called on a '??'"),h=C+1,D=58}function Ar(Yr=!0){if(T=C=h,h>=k)return D=1;let Er=g.charCodeAt(h);if(Er===60)return g.charCodeAt(h+1)===47?(h+=2,D=31):(h++,D=30);if(Er===123)return h++,D=19;let rn=0;for(;h<k&&(Er=g.charCodeAt(h),Er!==123);){if(Er===60){if(O6(g,h))return h=lP(g,h,Y),D=7;break}if(Er===62&&Y(v.Unexpected_token_Did_you_mean_or_gt,h,1),Er===125&&Y(v.Unexpected_token_Did_you_mean_or_rbrace,h,1),sf(Er)&&rn===0)rn=-1;else{if(!Yr&&sf(Er)&&rn>0)break;zg(Er)||(rn=h)}h++}return O=g.substring(T,h),rn===-1?13:12}function Ht(){if(i_(D)){for(;h<k;){if(g.charCodeAt(h)===45){O+="-",h++;continue}const Er=h;if(O+=Ie(),h===Er)break}return ue()}return D}function tn(){switch(T=h,g.charCodeAt(h)){case 34:case 39:return O=Ce(!0),D=11;default:return qe()}}function hn(){return h=C=T,tn()}function Br(Yr){if(T=C=h,M=0,h>=k)return D=1;for(let Er=g.charCodeAt(h);h<k&&!sf(Er)&&Er!==96;Er=$y(g,++h))if(!Yr){if(Er===123)break;if(Er===64&&h-1>=0&&_h(g.charCodeAt(h-1))&&!(h+1<k&&zg(g.charCodeAt(h+1))))break}return h===C?Cn():(O=g.substring(C,h),D=82)}function Cn(){if(T=C=h,M=0,h>=k)return D=1;const Yr=$y(g,h);switch(h+=yv(Yr),Yr){case 9:case 11:case 12:case 32:for(;h<k&&_h(g.charCodeAt(h));)h++;return D=5;case 64:return D=60;case 13:g.charCodeAt(h)===10&&h++;case 10:return M|=1,D=4;case 42:return D=42;case 123:return D=19;case 125:return D=20;case 91:return D=23;case 93:return D=24;case 60:return D=30;case 62:return D=32;case 61:return D=64;case 44:return D=28;case 46:return D=25;case 96:return D=62;case 35:return D=63;case 92:h--;const Er=we();if(Er>=0&&$g(Er,e))return h+=3,M|=8,O=le()+Ie(),D=ue();const rn=xe();return rn>=0&&$g(rn,e)?(h+=6,M|=1024,O=String.fromCharCode(rn)+Ie(),D=ue()):(h++,D=0)}if($g(Yr,e)){let Er=Yr;for(;h<k&&$b(Er=$y(g,h),e)||g.charCodeAt(h)===45;)h+=yv(Er);return O=g.substring(C,h),Er===92&&(O+=Ie()),D=ue()}else return D=0}function ci(Yr,Er){const rn=h,qr=T,xi=C,pt=D,Nt=O,dt=M,Ut=Yr();return(!Ut||Er)&&(h=rn,T=qr,C=xi,D=pt,O=Nt,M=dt),Ut}function Ji(Yr,Er,rn){const qr=k,xi=h,pt=T,Nt=C,dt=D,Ut=O,rr=M,se=U;Kt(g,Yr,Er);const at=rn();return k=qr,h=xi,T=pt,C=Nt,D=dt,O=Ut,M=rr,U=se,at}function ws(Yr){return ci(Yr,!0)}function ui(Yr){return ci(Yr,!1)}function Pt(){return g}function Dr(){U=void 0}function Kt(Yr,Er,rn){g=Yr||"",k=rn===void 0?g.length:Er+rn,ks(Er||0)}function Qr(Yr){l=Yr}function _n(Yr){e=Yr}function Nn(Yr){n=Yr}function ks(Yr){R.assert(Yr>=0),h=Yr,T=Yr,C=Yr,D=0,O=void 0,M=0}function ls(Yr){B+=Yr?1:-1}}function yv(e){return e>=65536?2:1}function qXe(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 L6(e){return jbe(e)}var OI,Pbe,PK,Dbe,Nbe,Ibe,Obe,Lbe,Mbe,Fbe,Rbe,Bbe,LI,VB,$y,jbe,WXe=p({"src/compiler/scanner.ts"(){Ba(),OI={abstract:128,accessor:129,any:133,as:130,asserts:131,assert:132,bigint:162,boolean:136,break:83,case:84,catch:85,class:86,continue:88,const:87,constructor:137,debugger:89,declare:138,default:90,delete:91,do:92,else:93,enum:94,export:95,extends:96,false:97,finally:98,for:99,from:160,function:100,get:139,if:101,implements:119,import:102,in:103,infer:140,instanceof:104,interface:120,intrinsic:141,is:142,keyof:143,let:121,module:144,namespace:145,never:146,new:105,null:106,number:150,object:151,package:122,private:123,protected:124,public:125,override:163,out:147,readonly:148,require:149,global:161,return:107,satisfies:152,set:153,static:126,string:154,super:108,switch:109,symbol:155,this:110,throw:111,true:112,try:113,type:156,typeof:114,undefined:157,unique:158,unknown:159,var:115,void:116,while:117,with:118,yield:127,async:134,await:135,of:164},Pbe=new Map(Object.entries(OI)),PK=new Map(Object.entries({...OI,"{":19,"}":20,"(":21,")":22,"[":23,"]":24,".":25,"...":26,";":27,",":28,"<":30,">":32,"<=":33,">=":34,"==":35,"!=":36,"===":37,"!==":38,"=>":39,"+":40,"-":41,"**":43,"*":42,"/":44,"%":45,"++":46,"--":47,"<<":48,"</":31,">>":49,">>>":50,"&":51,"|":52,"^":53,"!":54,"~":55,"&&":56,"||":57,"?":58,"??":61,"?.":29,":":59,"=":64,"+=":65,"-=":66,"*=":67,"**=":68,"/=":69,"%=":70,"<<=":71,">>=":72,">>>=":73,"&=":74,"|=":75,"^=":79,"||=":76,"&&=":77,"??=":78,"@":60,"#":63,"`":62})),Dbe=[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],Nbe=[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],Ibe=[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],Obe=[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],Lbe=[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],Mbe=[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],Fbe=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,Rbe=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,Bbe=VXe(PK),LI=7,VB=/^#!.*/,$y=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},jbe=String.fromCodePoint?e=>String.fromCodePoint(e):qXe}});function Lu(e){return kp(e)||fh(e)}function M6(e){return mo(e,QP)}function $B(e){switch(Eo(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 af(e){return e.start+e.length}function Jbe(e){return e.length===0}function DK(e,t){return t>=e.start&&t<af(e)}function qB(e,t){return t>=e.pos&&t<=e.end}function Ube(e,t){return t.start>=e.start&&af(t)<=af(e)}function HXe(e,t){return zbe(e,t)!==void 0}function zbe(e,t){const n=$be(e,t);return n&&n.length===0?void 0:n}function GXe(e,t){return HB(e.start,e.length,t.start,t.length)}function WB(e,t,n){return HB(e.start,e.length,t,n)}function HB(e,t,n,s){const l=e+t,f=n+s;return n<=l&&f>=e}function Vbe(e,t){return t<=af(e)&&t>=e.start}function $be(e,t){const n=Math.max(e.start,t.start),s=Math.min(af(e),af(t));return n<=s?nu(n,s):void 0}function yu(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function nu(e,t){return yu(e,t-e)}function uP(e){return yu(e.span.start,e.newLength)}function qbe(e){return Jbe(e.span)&&e.newLength===0}function MI(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}function XXe(e){if(e.length===0)return nee;if(e.length===1)return e[0];const t=e[0];let n=t.span.start,s=af(t.span),l=n+t.newLength;for(let f=1;f<e.length;f++){const d=e[f],g=n,h=s,k=l,T=d.span.start,C=af(d.span),D=T+d.newLength;n=Math.min(g,T),s=Math.max(h,h+(C-k)),l=Math.max(D,D+(k-C))}return MI(nu(n,s),l-n)}function QXe(e){if(e&&e.kind===167){for(let t=e;t;t=t.parent)if(Sa(t)||Ri(t)||t.kind===263)return t}}function Cp(e,t){return ea(e)&&gi(e,16476)&&t.kind===175}function Wbe(e){return Fa(e)?ot(e.elements,Hbe):!1}function Hbe(e){return bu(e)?!0:Wbe(e.name)}function F6(e){let t=e.parent;for(;Lo(t.parent);)t=t.parent.parent;return t.parent}function NK(e,t){Lo(e)&&(e=F6(e));let n=t(e);return e.kind===259&&(e=e.parent),e&&e.kind===260&&(n|=t(e),e=e.parent),e&&e.kind===242&&(n|=t(e)),n}function t1(e){return NK(e,Wf)}function IK(e){return NK(e,rSe)}function ph(e){return NK(e,t=>t.flags)}function YXe(e,t,n){const s=e.toLowerCase(),l=/^([a-z]+)([_\-]([a-z]+))?$/.exec(s);if(!l){n&&n.push(Cl(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];kt(iee,s)&&!g(f,d,n)&&g(f,void 0,n),Lve(e);function g(h,k,T){const C=So(t.getExecutingFilePath()),D=cs(C);let O=vs(D,h);if(k&&(O=O+"-"+k),O=t.resolvePath(vs(O,"diagnosticMessages.generated.json")),!t.fileExists(O))return!1;let M="";try{M=t.readFile(O)}catch{return T&&T.push(Cl(v.Unable_to_open_file_0,O)),!1}try{kSe(JSON.parse(M))}catch{return T&&T.push(Cl(v.Corrupted_locale_file_0,O)),!1}return!0}}function el(e,t){if(e)for(;e.original!==void 0;)e=e.original;return!e||!t||t(e)?e:void 0}function mn(e,t){for(;e;){const n=t(e);if(n==="quit")return;if(n)return e;e=e.parent}}function fP(e){return(e.flags&8)===0}function Gs(e,t){if(e===void 0||fP(e))return e;for(e=e.original;e;){if(fP(e))return!t||t(e)?e:void 0;e=e.original}}function $c(e){return e.length>=2&&e.charCodeAt(0)===95&&e.charCodeAt(1)===95?"_"+e:e}function xs(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 Zn(e){return xs(e.escapedText)}function qb(e){const t=Sx(e.escapedText);return t?wi(t,b_):void 0}function xl(e){return e.valueDeclaration&&s_(e.valueDeclaration)?Zn(e.valueDeclaration.name):xs(e.escapedName)}function Gbe(e){const t=e.parent.parent;if(t){if(Sf(t))return GB(t);switch(t.kind){case 242:if(t.declarationList&&t.declarationList.declarations[0])return GB(t.declarationList.declarations[0]);break;case 243:let n=t.expression;switch(n.kind===225&&n.operatorToken.kind===64&&(n=n.left),n.kind){case 210:return n.name;case 211:const s=n.argumentExpression;if(He(s))return s}break;case 216:return GB(t.expression);case 255:{if(Sf(t.statement)||Ct(t.statement))return GB(t.statement);break}}}}function GB(e){const t=ia(e);return t&&He(t)?t:void 0}function FI(e,t){return!!(bf(e)&&He(e.name)&&Zn(e.name)===Zn(t)||Yl(e)&&Ne(e.declarationList.declarations,n=>FI(n,t)))}function Xbe(e){return e.name||Gbe(e)}function bf(e){return!!e.name}function XB(e){switch(e.kind){case 80:return e;case 354:case 347:{const{name:n}=e;if(n.kind===165)return n.right;break}case 212:case 225:{const n=e;switch(dl(n)){case 1:case 4:case 5:case 3:return $j(n.left);case 7:case 8:case 9:return n.arguments[1];default:return}}case 352:return Xbe(e);case 346:return Gbe(e);case 276:{const{expression:n}=e;return He(n)?n:void 0}case 211:const t=e;if(Vj(t))return t.argumentExpression}return e.name}function ia(e){if(e!==void 0)return XB(e)||(_c(e)||Dc(e)||Gf(e)?OK(e):void 0)}function OK(e){if(e.parent){if(pu(e.parent)||Lo(e.parent))return e.parent.name;if(Bn(e.parent)&&e===e.parent.right){if(He(e.parent.left))return e.parent.left;if(jc(e.parent.left))return $j(e.parent.left)}else if(bs(e.parent)&&He(e.parent.name))return e.parent.name}else return}function vv(e){if(_d(e))return gr(e.modifiers,xf)}function xx(e){if(gi(e,126975))return gr(e.modifiers,Ha)}function Qbe(e,t){if(e.name)if(He(e.name)){const n=e.name.escapedText;return _P(e.parent,t).filter(s=>Fm(s)&&He(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=_P(e.parent,t).filter(Fm);if(n<s.length)return[s[n]]}return ft}function R6(e){return Qbe(e,!1)}function Ybe(e){return Qbe(e,!0)}function Zbe(e,t){const n=e.name.escapedText;return _P(e.parent,t).filter(s=>Rm(s)&&s.typeParameters.some(l=>l.name.escapedText===n))}function Kbe(e){return Zbe(e,!1)}function e2e(e){return Zbe(e,!0)}function t2e(e){return!!cd(e,Fm)}function r2e(e){return cd(e,V4)}function n2e(e){return BK(e,Kre)}function LK(e){return cd(e,cke)}function ZXe(e){return cd(e,Gre)}function i2e(e){return cd(e,Gre,!0)}function KXe(e){return cd(e,Xre)}function s2e(e){return cd(e,Xre,!0)}function eQe(e){return cd(e,Qre)}function a2e(e){return cd(e,Qre,!0)}function tQe(e){return cd(e,Yre)}function o2e(e){return cd(e,Yre,!0)}function c2e(e){return cd(e,SU,!0)}function MK(e){return cd(e,Zre)}function l2e(e){return cd(e,Zre,!0)}function FK(e){return cd(e,CO)}function QB(e){return cd(e,lke)}function u2e(e){return cd(e,xU)}function rQe(e){return cd(e,Rm)}function RK(e){return cd(e,kU)}function kT(e){const t=cd(e,DD);if(t&&t.typeExpression&&t.typeExpression.type)return t}function bv(e){let t=cd(e,DD);return!t&&ea(e)&&(t=Ve(R6(e),n=>!!n.typeExpression)),t&&t.typeExpression&&t.typeExpression.type}function RI(e){const t=u2e(e);if(t&&t.typeExpression)return t.typeExpression.type;const n=kT(e);if(n&&n.typeExpression){const s=n.typeExpression.type;if(Ip(s)){const l=Ve(s.members,O4);return l&&l.type}if(ry(s)||U4(s))return s.type}}function _P(e,t){var n;if(!y5(e))return ft;let s=(n=e.jsDoc)==null?void 0:n.jsDocCache;if(s===void 0||t){const l=Uee(e,t);R.assert(l.length<2||l[0]!==l[1]),s=ln(l,f=>sm(f)?f.tags:f),t||(e.jsDoc??(e.jsDoc=[]),e.jsDoc.jsDocCache=s)}return s}function CT(e){return _P(e,!1)}function nQe(e){return _P(e,!0)}function cd(e,t,n){return Ve(_P(e,n),t)}function BK(e,t){return CT(e).filter(t)}function iQe(e,t){return CT(e).filter(n=>n.kind===t)}function BI(e){return typeof e=="string"?e:e==null?void 0:e.map(t=>t.kind===327?t.text:sQe(t)).join("")}function sQe(e){const t=e.kind===330?"link":e.kind===331?"linkcode":"linkplain",n=e.name?np(e.name):"",s=e.name&&e.text.startsWith("://")?"":" ";return`{@${t} ${n}${s}${e.text}}`}function Tv(e){if(o2(e)){if(PD(e.parent)){const t=DP(e.parent);if(t&&G(t.tags))return ln(t.tags,n=>Rm(n)?n.typeParameters:void 0)}return ft}if(Id(e))return R.assert(e.parent.kind===326),ln(e.parent.tags,t=>Rm(t)?t.typeParameters:void 0);if(e.typeParameters||bke(e)&&e.typeParameters)return e.typeParameters;if(Mn(e)){const t=nJ(e);if(t.length)return t;const n=bv(e);if(n&&ry(n)&&n.typeParameters)return n.typeParameters}return ft}function B6(e){return e.constraint?e.constraint:Rm(e.parent)&&e===e.parent.typeParameters[0]?e.parent.constraint:void 0}function qy(e){return e.kind===80||e.kind===81}function YB(e){return e.kind===177||e.kind===176}function ZB(e){return ai(e)&&!!(e.flags&32)}function jK(e){return Pc(e)&&!!(e.flags&32)}function kx(e){return Ra(e)&&!!(e.flags&32)}function Tf(e){const t=e.kind;return!!(e.flags&32)&&(t===210||t===211||t===212||t===234)}function pP(e){return Tf(e)&&!Mw(e)&&!!e.questionDotToken}function KB(e){return pP(e.parent)&&e.parent.expression===e}function dP(e){return!Tf(e.parent)||pP(e.parent)||e!==e.parent.expression}function JK(e){return e.kind===225&&e.operatorToken.kind===61}function Wy(e){return Im(e)&&He(e.typeName)&&e.typeName.escapedText==="const"&&!e.typeArguments}function Xd(e){return lf(e,8)}function ej(e){return Mw(e)&&!!(e.flags&32)}function mP(e){return e.kind===251||e.kind===250}function UK(e){return e.kind===279||e.kind===278}function f2e(e){switch(e.kind){case 308:case 309:return!0;default:return!1}}function zK(e){return f2e(e)||e.kind===306||e.kind===310}function tj(e){return e.kind===354||e.kind===347}function aQe(e){return jI(e.kind)}function jI(e){return e>=165}function VK(e){return e>=0&&e<=164}function YC(e){return VK(e.kind)}function wT(e){return uc(e,"pos")&&uc(e,"end")}function hP(e){return 9<=e&&e<=15}function Cx(e){return hP(e.kind)}function $K(e){switch(e.kind){case 209:case 208:case 14:case 217:case 230:return!0}return!1}function Sv(e){return 15<=e&&e<=18}function _2e(e){return Sv(e.kind)}function rj(e){const t=e.kind;return t===17||t===18}function ZC(e){return J_(e)||T_(e)}function nj(e){switch(e.kind){case 275:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 273:return e.parent.isTypeOnly;case 272:case 270:return e.isTypeOnly}return!1}function p2e(e){switch(e.kind){case 280:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 277:return e.isTypeOnly&&!!e.moduleSpecifier&&!e.exportClause;case 279:return e.parent.isTypeOnly}return!1}function ET(e){return nj(e)||p2e(e)}function d2e(e){return yo(e)||He(e)}function qK(e){return e.kind===11||Sv(e.kind)}function il(e){var t;return He(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function KC(e){var t;return fs(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function s_(e){return(Ia(e)||U6(e))&&fs(e.name)}function j6(e){return ai(e)&&fs(e.name)}function r1(e){switch(e){case 128:case 129:case 134:case 87:case 138:case 90:case 95:case 103:case 125:case 123:case 124:case 148:case 126:case 147:case 163:return!0}return!1}function gP(e){return!!(hw(e)&16476)}function WK(e){return gP(e)||e===126||e===163||e===129}function Ha(e){return r1(e.kind)}function wp(e){const t=e.kind;return t===165||t===80}function sl(e){const t=e.kind;return t===80||t===81||t===11||t===9||t===166}function qg(e){const t=e.kind;return t===80||t===205||t===206}function Sa(e){return!!e&&ew(e.kind)}function J6(e){return!!e&&(ew(e.kind)||al(e))}function Lc(e){return e&&h2e(e.kind)}function m2e(e){return e.kind===112||e.kind===97}function h2e(e){switch(e){case 261:case 173:case 175:case 176:case 177:case 217:case 218:return!0;default:return!1}}function ew(e){switch(e){case 172:case 178:case 329:case 179:case 180:case 183:case 323:case 184:return!0;default:return h2e(e)}}function HK(e){return Cs(e)||yh(e)||Pa(e)&&Sa(e.parent)}function Mu(e){const t=e.kind;return t===175||t===171||t===173||t===176||t===177||t===180||t===174||t===239}function Ri(e){return e&&(e.kind===262||e.kind===230)}function Wb(e){return e&&(e.kind===176||e.kind===177)}function Ep(e){return Ia(e)&&rg(e)}function U6(e){switch(e.kind){case 173:case 176:case 177:return!0;default:return!1}}function g2e(e){switch(e.kind){case 173:case 176:case 177:case 171:return!0;default:return!1}}function Mc(e){return Ha(e)||xf(e)}function wx(e){const t=e.kind;return t===179||t===178||t===170||t===172||t===180||t===176||t===177}function ij(e){return wx(e)||Mu(e)}function n1(e){const t=e.kind;return t===302||t===303||t===304||t===173||t===176||t===177}function ys(e){return Cte(e.kind)}function y2e(e){switch(e.kind){case 183:case 184:return!0}return!1}function Fa(e){if(e){const t=e.kind;return t===206||t===205}return!1}function yP(e){const t=e.kind;return t===208||t===209}function sj(e){const t=e.kind;return t===207||t===231}function JI(e){switch(e.kind){case 259:case 168:case 207:return!0}return!1}function v2e(e){return bs(e)||ea(e)||zI(e)||VI(e)}function UI(e){return GK(e)||XK(e)}function GK(e){switch(e.kind){case 205:case 209:return!0}return!1}function zI(e){switch(e.kind){case 207:case 302:case 303:case 304:return!0}return!1}function XK(e){switch(e.kind){case 206:case 208:return!0}return!1}function VI(e){switch(e.kind){case 207:case 231:case 229:case 208:case 209:case 80:case 210:case 211:return!0}return o_(e,!0)}function b2e(e){const t=e.kind;return t===210||t===165||t===204}function T2e(e){const t=e.kind;return t===210||t===165}function Ex(e){switch(e.kind){case 285:case 284:case 212:case 213:case 214:case 169:return!0;default:return!1}}function Wg(e){return e.kind===212||e.kind===213}function z6(e){const t=e.kind;return t===227||t===15}function L_(e){return S2e(Xd(e).kind)}function S2e(e){switch(e){case 210:case 211:case 213:case 212:case 283:case 284:case 287:case 214:case 208:case 216:case 209:case 230:case 217:case 80:case 81:case 14:case 9:case 10:case 11:case 15:case 227:case 97:case 106:case 110:case 112:case 108:case 234:case 232:case 235:case 102:case 281:return!0;default:return!1}}function QK(e){return x2e(Xd(e).kind)}function x2e(e){switch(e){case 223:case 224:case 219:case 220:case 221:case 222:case 215:return!0;default:return S2e(e)}}function k2e(e){switch(e.kind){case 224:return!0;case 223:return e.operator===46||e.operator===47;default:return!1}}function C2e(e){switch(e.kind){case 106:case 112:case 97:case 223:return!0;default:return Cx(e)}}function Ct(e){return oQe(Xd(e).kind)}function oQe(e){switch(e){case 226:case 228:case 218:case 225:case 229:case 233:case 231:case 360:case 359:case 237:return!0;default:return x2e(e)}}function Ax(e){const t=e.kind;return t===215||t===233}function cQe(e){return $re(e)||yU(e)}function xv(e,t){switch(e.kind){case 247:case 248:case 249:case 245:case 246:return!0;case 255:return t&&xv(e.statement,t)}return!1}function w2e(e){return Pl(e)||Ju(e)}function E2e(e){return Ne(e,w2e)}function aj(e){return!XI(e)&&!Pl(e)&&!gi(e,1)&&!$f(e)}function $I(e){return XI(e)||Pl(e)||gi(e,1)}function V6(e){return e.kind===248||e.kind===249}function oj(e){return Pa(e)||Ct(e)}function YK(e){return Pa(e)}function ld(e){return Tu(e)||Ct(e)}function A2e(e){const t=e.kind;return t===267||t===266||t===80}function lQe(e){const t=e.kind;return t===267||t===266}function uQe(e){const t=e.kind;return t===80||t===266}function ZK(e){const t=e.kind;return t===274||t===273}function cj(e){return e.kind===266||e.kind===265}function Xh(e){switch(e.kind){case 218:case 225:case 207:case 212:case 178:case 262:case 230:case 174:case 175:case 184:case 179:case 211:case 265:case 305:case 276:case 277:case 280:case 261:case 217:case 183:case 176:case 80:case 272:case 270:case 275:case 180:case 263:case 344:case 346:case 323:case 347:case 354:case 329:case 352:case 328:case 290:case 291:case 292:case 199:case 173:case 172:case 266:case 201:case 279:case 269:case 273:case 213:case 15:case 9:case 209:case 168:case 210:case 302:case 171:case 170:case 177:case 303:case 311:case 304:case 11:case 264:case 186:case 167:case 259:return!0;default:return!1}}function Qh(e){switch(e.kind){case 218:case 240:case 178:case 268:case 298:case 174:case 193:case 175:case 184:case 179:case 247:case 248:case 249:case 261:case 217:case 183:case 176:case 180:case 344:case 346:case 323:case 329:case 352:case 199:case 173:case 172:case 266:case 177:case 311:case 264:return!0;default:return!1}}function fQe(e){return e===218||e===207||e===262||e===230||e===174||e===175||e===265||e===305||e===280||e===261||e===217||e===176||e===272||e===270||e===275||e===263||e===290||e===173||e===172||e===266||e===269||e===273||e===279||e===168||e===302||e===171||e===170||e===177||e===303||e===264||e===167||e===259||e===352||e===344||e===354}function KK(e){return e===261||e===281||e===262||e===263||e===264||e===265||e===266||e===271||e===270||e===277||e===276||e===269}function eee(e){return e===251||e===250||e===258||e===245||e===243||e===241||e===248||e===249||e===247||e===244||e===255||e===252||e===254||e===256||e===257||e===242||e===246||e===253||e===358}function Sf(e){return e.kind===167?e.parent&&e.parent.kind!==351||Mn(e):fQe(e.kind)}function P2e(e){return KK(e.kind)}function qI(e){return eee(e.kind)}function Vs(e){const t=e.kind;return eee(t)||KK(t)||_Qe(e)}function _Qe(e){return e.kind!==240||e.parent!==void 0&&(e.parent.kind===257||e.parent.kind===298)?!1:!Ix(e)}function D2e(e){const t=e.kind;return eee(t)||KK(t)||t===240}function N2e(e){const t=e.kind;return t===282||t===165||t===80}function vP(e){const t=e.kind;return t===110||t===80||t===210||t===294}function WI(e){const t=e.kind;return t===283||t===293||t===284||t===12||t===287}function lj(e){const t=e.kind;return t===290||t===292}function I2e(e){const t=e.kind;return t===11||t===293}function a_(e){const t=e.kind;return t===285||t===284}function uj(e){const t=e.kind;return t===295||t===296}function $6(e){return e.kind>=315&&e.kind<=356}function fj(e){return e.kind===326||e.kind===325||e.kind===327||tw(e)||q6(e)||z4(e)||o2(e)}function q6(e){return e.kind>=333&&e.kind<=356}function i1(e){return e.kind===177}function kv(e){return e.kind===176}function Ap(e){if(!y5(e))return!1;const{jsDoc:t}=e;return!!t&&t.length>0}function _j(e){return!!e.type}function Cv(e){return!!e.initializer}function Px(e){switch(e.kind){case 259:case 168:case 207:case 171:case 302:case 305:return!0;default:return!1}}function tee(e){return e.kind===290||e.kind===292||n1(e)}function pj(e){return e.kind===182||e.kind===232}function O2e(e){let t=see;for(const n of e){if(!n.length)continue;let s=0;for(;s<n.length&&s<t&&zg(n.charCodeAt(s));s++);if(s<t&&(t=s),t===0)return 0}return t===see?void 0:t}function Yo(e){return e.kind===11||e.kind===15}function tw(e){return e.kind===330||e.kind===331||e.kind===332}function ree(e){const t=Bc(e.parameters);return!!t&&Hg(t)}function Hg(e){const t=Fm(e)?e.typeExpression&&e.typeExpression.type:e.type;return e.dotDotDotToken!==void 0||!!t&&t.kind===324}var nee,iee,see,pQe=p({"src/compiler/utilitiesPublic.ts"(){Ba(),nee=MI(yu(0,0),0),iee=["cs","de","es","fr","it","ja","ko","pl","pt-br","ru","tr","zh-cn","zh-tw"],see=1073741823}});function _l(e,t){const n=e.declarations;if(n){for(const s of n)if(s.kind===t)return s}}function L2e(e,t){return gr(e.declarations||ft,n=>n.kind===t)}function za(e){const t=new Map;if(e)for(const n of e)t.set(n.escapedName,n);return t}function Yh(e){return(e.flags&33554432)!==0}function dQe(){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&&zg(e.charCodeAt(e.length-1)),writeLine:()=>e+=" ",increaseIndent:fc,decreaseIndent:fc,clear:()=>e=""}}function aee(e,t){return e.configFilePath!==t.configFilePath||M2e(e,t)}function M2e(e,t){return W6(e,t,qU)}function F2e(e,t){return W6(e,t,jne)}function W6(e,t,n){return e!==t&&n.some(s=>!Vte(hJ(e,s),hJ(t,s)))}function R2e(e,t){for(;;){const n=t(e);if(n==="quit")return;if(n!==void 0)return n;if(Cs(e))return;e=e.parent}}function rp(e,t){const n=e.entries();for(const[s,l]of n){const f=t(l,s);if(f)return f}}function rw(e,t){const n=e.keys();for(const s of n){const l=t(s);if(l)return l}}function dj(e,t){e.forEach((n,s)=>{t.set(s,n)})}function bP(e){const t=uD.getText();try{return e(uD),uD.getText()}finally{uD.clear(),uD.writeKeyword(t)}}function HI(e){return e.end-e.pos}function H6(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 B2e(e,t,n,s){e.resolvedModules||(e.resolvedModules=nk()),e.resolvedModules.set(t,s,n)}function j2e(e,t,n,s){e.resolvedTypeReferenceDirectiveNames||(e.resolvedTypeReferenceDirectiveNames=nk()),e.resolvedTypeReferenceDirectiveNames.set(t,s,n)}function mQe(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 oee(e,t){return e.path===t.path&&!e.prepend==!t.prepend&&!e.circular==!t.circular}function J2e(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&&hQe(e.resolvedModule.packageId,t.resolvedModule.packageId)&&e.node10Result===t.node10Result}function cee(e,t,n,s,l){var f,d;const g=(d=(f=e.resolvedModules)==null?void 0:f.get(n,s))==null?void 0:d.node10Result,h=g?ca(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,g,g.indexOf(h1+"@types/")>-1?`@types/${UD(l)}`:l):t.typesPackageExists(l)?ca(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,l,UD(l)):t.packageBundlesTypes(l)?ca(void 0,v.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,l,n):ca(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,n,UD(l));return h&&(h.repopulateInfo=()=>({moduleReference:n,mode:s,packageName:l===n?void 0:l})),h}function hQe(e,t){return e===t||!!e&&!!t&&e.name===t.name&&e.subModuleName===t.subModuleName&&e.version===t.version}function mj({name:e,subModuleName:t}){return t?`${e}/${t}`:e}function wv(e){return`${mj(e)}@${e.version}`}function U2e(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 lee(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),T=f.getMode(h,t),C=s&&s.get(k,T);if(C?!g||!l(C,g):g)return!0}return!1}function G6(e){return gQe(e),(e.flags&524288)!==0}function gQe(e){e.flags&1048576||((e.flags&131072||_a(e,G6))&&(e.flags|=524288),e.flags|=1048576)}function pn(e){for(;e&&e.kind!==311;)e=e.parent;return e}function hj(e){return pn(e.valueDeclaration||yee(e))}function gj(e,t){return!!e&&(e.scriptKind===1||e.scriptKind===2)&&!e.checkJsDirective&&t===void 0}function z2e(e){switch(e.kind){case 240:case 268:case 247:case 248:case 249:return!0}return!1}function Ev(e,t){return R.assert(e>=0),Vy(t)[e]}function yQe(e){const t=pn(e),n=Vc(t,e.pos);return`${t.fileName}(${n.line+1},${n.character+1})`}function GI(e,t){R.assert(e>=0);const n=Vy(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(sf(l.charCodeAt(d)));f<=d&&sf(l.charCodeAt(d));)d--;return d}}function yj(e,t,n){return!(n&&n(t))&&!e.identifiers.has(t)}function pl(e){return e===void 0?!0:e.pos===e.end&&e.pos>=0&&e.kind!==1}function Pd(e){return!pl(e)}function V2e(e,t){return qc(e)?t===e.expression:al(e)?t===e.modifiers:Gp(e)?t===e.initializer:Ia(e)?t===e.questionToken&&Ep(e):pu(e)?t===e.modifiers||t===e.questionToken||t===e.exclamationToken||TP(e.modifiers,t,Mc):hd(e)?t===e.equalsToken||t===e.modifiers||t===e.questionToken||t===e.exclamationToken||TP(e.modifiers,t,Mc):ql(e)?t===e.exclamationToken:El(e)?t===e.typeParameters||t===e.type||TP(e.typeParameters,t,qc):nm(e)?t===e.typeParameters||TP(e.typeParameters,t,qc):md(e)?t===e.typeParameters||t===e.type||TP(e.typeParameters,t,qc):xO(e)?t===e.modifiers||TP(e.modifiers,t,Mc):!1}function TP(e,t,n){return!e||ka(t)||!n(t)?!1:kt(e,t)}function $2e(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 q2e(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 W2e(e){return Yd(e)||!!(xo(e)&2097152)}function Zh(e,t){return $2e(e,t,Yd)}function uee(e,t){return $2e(e,t,W2e)}function vQe(e,t){return q2e(e,t,Yd)}function AT(e,t){return q2e(e,t,W2e)}function fee(e,t,n){if(e.charCodeAt(t+1)===47&&t+2<n&&e.charCodeAt(t+2)===47){const s=e.substring(t,n);return!!(ere.test(s)||tre.test(s)||nxe.test(s)||txe.test(s)||rxe.test(s)||ixe.test(s))}return!1}function vj(e,t){return e.charCodeAt(t+1)===42&&e.charCodeAt(t+2)===33}function H2e(e,t){const n=new Map(t.map(d=>[`${Vc(e,d.range.end).line}`,d])),s=new Map;return{getUnusedExpectations:l,markUsed:f};function l(){return oo(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 Dx(e,t,n){return pl(e)?e.pos:$6(e)||e.kind===12?fo((t||pn(e)).text,e.pos,!1,!0):n&&Ap(e)?Dx(e.jsDoc[0],t):e.kind===357&&e._children.length>0?Dx(e._children[0],t,n):fo((t||pn(e)).text,e.pos,!1,!1,n5(e))}function _ee(e,t){const n=!pl(e)&&am(e)?Ft(e.modifiers,xf):void 0;return n?fo((t||pn(e)).text,n.end):Dx(e,t)}function PT(e,t,n=!1){return SP(e.text,t,n)}function bQe(e){return!!mn(e,Zx)}function bj(e){return!!(Ju(e)&&e.exportClause&&ny(e.exportClause)&&e.exportClause.name.escapedText==="default")}function SP(e,t,n=!1){if(pl(t))return"";let s=e.substring(n?t.pos:fo(e,t.pos),t.end);return bQe(t)&&(s=s.split(/\r\n|\n|\r/).map(l=>eP(l.replace(/^\s*\*/,""))).join(`
`)),s}function iu(e,t=!1){return PT(pn(e),e,t)}function TQe(e){return e.pos}function X6(e,t){return dv(e,t,TQe,wc)}function xo(e){const t=e.emitNode;return t&&t.flags||0}function Qd(e){const t=e.emitNode;return t&&t.internalFlags||0}function pee(){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:ft})),AsyncIterator:new Map(Object.entries({es2015:ft})),Atomics:new Map(Object.entries({es2017:ft})),SharedArrayBuffer:new Map(Object.entries({es2017:ft})),AsyncIterable:new Map(Object.entries({es2018:ft})),AsyncIterableIterator:new Map(Object.entries({es2018:ft})),AsyncGenerator:new Map(Object.entries({es2018:ft})),AsyncGeneratorFunction:new Map(Object.entries({es2018:ft})),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:ft,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:ft})),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:ft,es2022:["at"],es2023:["findLastIndex","findLast"]})),BigUint64Array:new Map(Object.entries({es2020:ft,es2022:["at"],es2023:["findLastIndex","findLast"]})),Error:new Map(Object.entries({es2022:["cause"]}))}))}function G2e(e,t,n){if(t&&SQe(e,n))return PT(t,e);switch(e.kind){case 11:{const s=n&2?tte:n&1||xo(e)&16777216?_w:P5;return e.singleQuote?"'"+s(e.text,39)+"'":'"'+s(e.text,34)+'"'}case 15:case 16:case 17:case 18:{const s=n&1||xo(e)&16777216?_w:P5,l=e.rawText??VQe(s(e.text,96));switch(e.kind){case 15:return"`"+l+"`";case 16:return"`"+l+"${";case 17:return"}"+l+"${";case 18:return"}"+l+"`"}break}case 9:case 10:return e.text;case 14: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 SQe(e,t){if(Ec(e)||!e.parent||t&4&&e.isUnterminated)return!1;if(Hp(e)){if(e.numericLiteralFlags&26656)return!1;if(e.numericLiteralFlags&512)return!!(t&8)}return!uU(e)}function X2e(e){return Wa(e)?'"'+P5(e)+'"':""+e}function Q2e(e){return Xu(e).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function dee(e){return(ph(e)&3)!==0||mee(e)}function mee(e){const t=tg(e);return t.kind===259&&t.parent.kind===298}function $f(e){return Al(e)&&(e.name.kind===11||dh(e))}function Tj(e){return Al(e)&&e.name.kind===11}function hee(e){return Al(e)&&yo(e.name)}function Y2e(e){return Al(e)||He(e)}function xP(e){return xQe(e.valueDeclaration)}function xQe(e){return!!e&&e.kind===266&&!e.body}function Z2e(e){return e.kind===311||e.kind===266||J6(e)}function dh(e){return!!(e.flags&1024)}function DT(e){return $f(e)&&gee(e)}function gee(e){switch(e.parent.kind){case 311:return Ul(e.parent);case 267:return $f(e.parent.parent)&&Cs(e.parent.parent.parent)&&!Ul(e.parent.parent.parent)}return!1}function yee(e){var t;return(t=e.declarations)==null?void 0:t.find(n=>!DT(n)&&!(Al(n)&&dh(n)))}function kQe(e){return e===1||e===100||e===199}function nw(e,t){return Ul(e)||kQe(Zu(t))&&!!e.commonJsModuleIndicator}function vee(e,t){switch(e.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return e.isDeclarationFile?!1:Md(t,"alwaysStrict")||mke(e.statements)?!0:Ul(e)||Nm(t)?Zu(t)>=5?!0:!t.noImplicitUseStrict:!1}function bee(e){return!!(e.flags&16777216)||gi(e,2)}function Tee(e,t){switch(e.kind){case 311:case 268:case 298:case 266:case 247:case 248:case 249:case 175:case 173:case 176:case 177:case 261:case 217:case 218:case 171:case 174:return!0;case 240:return!J6(t)}return!1}function See(e){switch(R.type(e),e.kind){case 344:case 352:case 329:return!0;default:return xee(e)}}function xee(e){switch(R.type(e),e.kind){case 178:case 179:case 172:case 180:case 183:case 184:case 323:case 262:case 230:case 263:case 264:case 351:case 261:case 173:case 175:case 176:case 177:case 217:case 218:return!0;default:return!1}}function Nx(e){switch(e.kind){case 271:case 270:return!0;default:return!1}}function K2e(e){return Nx(e)||MT(e)}function Sj(e){switch(e.kind){case 271:case 270:case 242:case 262:case 261:case 266:case 264:case 263:case 265:return!0;default:return!1}}function eTe(e){return XI(e)||Al(e)||t0(e)||Dp(e)}function XI(e){return Nx(e)||Ju(e)}function Kh(e){return mn(e.parent,t=>Tee(t,t.parent))}function tTe(e,t){let n=Kh(e);for(;n;)t(n),n=Kh(n)}function ac(e){return!e||HI(e)===0?"(Missing)":iu(e)}function rTe(e){return e.declaration?ac(e.declaration.parameters[0].name):void 0}function QI(e){return e.kind===166&&!ud(e.expression)}function kP(e){var t;switch(e.kind){case 80:case 81:return(t=e.emitNode)!=null&&t.autoGenerate?void 0:e.escapedText;case 11:case 9:case 15:return $c(e.text);case 166:return ud(e.expression)?$c(e.expression.text):void 0;case 294:return E4(e);default:return R.assertNever(e)}}function Q6(e){return R.checkDefined(kP(e))}function np(e){switch(e.kind){case 110:return"this";case 81:case 80:return HI(e)===0?Zn(e):iu(e);case 165:return np(e.left)+"."+np(e.right);case 210:return He(e.name)||fs(e.name)?np(e.expression)+"."+np(e.name):R.assertNever(e.name);case 317:return np(e.left)+np(e.right);case 294:return np(e.namespace)+":"+np(e.name);default:return R.assertNever(e)}}function ei(e,t,...n){const s=pn(e);return Dd(s,e,t,...n)}function Y6(e,t,n,...s){const l=fo(e.text,t.pos);return vu(e,l,t.end-l,n,...s)}function Dd(e,t,n,...s){const l=NT(e,t);return vu(e,l.start,l.length,n,...s)}function Hy(e,t,n,s){const l=NT(e,t);return xj(e,l.start,l.length,n,s)}function YI(e,t,n,s){const l=fo(e.text,t.pos);return xj(e,l,t.end-l,n,s)}function kee(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 xj(e,t,n,s,l){return kee(e,t,n),{file:e,start:t,length:n,code:s.code,category:s.category,messageText:s.next?s:s.messageText,relatedInformation:l}}function Cee(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 nTe(e){return typeof e.messageText=="string"?{code:e.code,category:e.category,messageText:e.messageText,next:e.next}:e.messageText}function wee(e,t,n){return{file:e,start:t.pos,length:t.end-t.pos,code:n.code,category:n.category,messageText:n.message}}function eg(e,t){const n=e1(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);n.scan();const s=n.getTokenStart();return nu(s,n.getTokenEnd())}function iTe(e,t){const n=e1(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);return n.scan(),n.getToken()}function CQe(e,t){const n=fo(e.text,t.pos);if(t.body&&t.body.kind===240){const{line:s}=Vc(e,t.body.pos),{line:l}=Vc(e,t.body.end);if(s<l)return yu(n,GI(s,e)-n+1)}return nu(n,t.end)}function NT(e,t){let n=t;switch(t.kind){case 311:{const f=fo(e.text,0,!1);return f===e.text.length?yu(0,0):eg(e,f)}case 259:case 207:case 262:case 230:case 263:case 266:case 265:case 305:case 261:case 217:case 173:case 176:case 177:case 264:case 171:case 170:case 273:n=t.name;break;case 218:return CQe(e,t);case 295:case 296:{const f=fo(e.text,t.pos),d=t.statements.length>0?t.statements[0].pos:t.end;return nu(f,d)}case 252:case 228:{const f=fo(e.text,t.pos);return eg(e,f)}case 237:{const f=fo(e.text,t.expression.end);return eg(e,f)}case 356:{const f=fo(e.text,t.tagName.pos);return eg(e,f)}}if(n===void 0)return eg(e,t.pos);R.assert(!sm(n));const s=pl(n),l=s||Cw(t)?n.pos:fo(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")),nu(l,n.end)}function Pp(e){return(e.externalModuleIndicator||e.commonJsModuleIndicator)!==void 0}function Nd(e){return e.scriptKind===6}function IT(e){return!!(t1(e)&2048)}function kj(e){return!!(t1(e)&64&&!Cp(e,e.parent))}function Gy(e){return!!(ph(e)&2)}function CP(e){return!!(ph(e)&1)}function Z6(e){return e.kind===212&&e.expression.kind===108}function Dp(e){return e.kind===212&&e.expression.kind===102}function K6(e){return SD(e)&&e.keywordToken===102&&e.name.escapedText==="meta"}function Hb(e){return t0(e)&&n2(e.argument)&&yo(e.argument.literal)}function Yd(e){return e.kind===243&&e.expression.kind===11}function Cj(e){return!!(xo(e)&2097152)}function wj(e){return Cj(e)&&au(e)}function wQe(e){return He(e.name)&&!e.initializer}function Ej(e){return Cj(e)&&Yl(e)&&ot(e.declarationList.declarations,wQe)}function Eee(e,t){return e.kind!==12?Vg(t.text,e.pos):void 0}function Aee(e,t){const n=e.kind===168||e.kind===167||e.kind===217||e.kind===218||e.kind===216||e.kind===259||e.kind===280?wr(Vb(t,e.pos),Vg(t,e.pos)):Vg(t,e.pos);return gr(n,s=>t.charCodeAt(s.pos+1)===42&&t.charCodeAt(s.pos+2)===42&&t.charCodeAt(s.pos+3)!==47)}function Gg(e){if(181<=e.kind&&e.kind<=204)return!0;switch(e.kind){case 133:case 159:case 150:case 162:case 154:case 136:case 155:case 151:case 157:case 106:case 146:return!0;case 116:return e.parent.kind!==221;case 232:return sp(e.parent)&&!M5(e);case 167:return e.parent.kind===199||e.parent.kind===194;case 80:(e.parent.kind===165&&e.parent.right===e||e.parent.kind===210&&e.parent.name===e)&&(e=e.parent),R.assert(e.kind===80||e.kind===165||e.kind===210,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 165:case 210:case 110:{const{parent:t}=e;if(t.kind===185)return!1;if(t.kind===204)return!t.isTypeOf;if(181<=t.kind&&t.kind<=204)return!0;switch(t.kind){case 232:return sp(t.parent)&&!M5(t);case 167:return e===t.constraint;case 351:return e===t.constraint;case 171:case 170:case 168:case 259:return e===t.type;case 261:case 217:case 218:case 175:case 173:case 172:case 176:case 177:return e===t.type;case 178:case 179:case 180:return e===t.type;case 215:return e===t.type;case 212:case 213:case 214:return kt(t.typeArguments,e)}}}return!1}function EQe(e,t){for(;e;){if(e.kind===t)return!0;e=e.parent}return!1}function OT(e,t){return n(e);function n(s){switch(s.kind){case 252:return t(s);case 268:case 240:case 244:case 245:case 246:case 247:case 248:case 249:case 253:case 254:case 295:case 296:case 255:case 257:case 298:return _a(s,n)}}}function sTe(e,t){return n(e);function n(s){switch(s.kind){case 228:t(s);const l=s.expression;l&&n(l);return;case 265:case 263:case 266:case 264:return;default:if(Sa(s)){if(s.name&&s.name.kind===166){n(s.name.expression);return}}else Gg(s)||_a(s,n)}}}function Pee(e){return e&&e.kind===187?e.elementType:e&&e.kind===182?$h(e.typeArguments):void 0}function aTe(e){switch(e.kind){case 263:case 262:case 230:case 186:return e.members;case 209:return e.properties}}function e4(e){if(e)switch(e.kind){case 207:case 305:case 168:case 302:case 171:case 170:case 303:case 259:return!0}return!1}function oTe(e){return e4(e)||Wb(e)}function Aj(e){return e.parent.kind===260&&e.parent.parent.kind===242}function cTe(e){return Mn(e)?jo(e.parent)&&Bn(e.parent.parent)&&dl(e.parent.parent)===2||Pj(e.parent):!1}function Pj(e){return Mn(e)?Bn(e)&&dl(e)===1:!1}function lTe(e){return(bs(e)?Gy(e)&&He(e.name)&&Aj(e):Ia(e)?jP(e)&&su(e):Gp(e)&&jP(e))||Pj(e)}function uTe(e){switch(e.kind){case 173:case 172:case 175:case 176:case 177:case 261:case 217:return!0}return!1}function Dee(e,t){for(;;){if(t&&t(e),e.statement.kind!==255)return e.statement;e=e.statement}}function Ix(e){return e&&e.kind===240&&Sa(e.parent)}function Zd(e){return e&&e.kind===173&&e.parent.kind===209}function Dj(e){return(e.kind===173||e.kind===176||e.kind===177)&&(e.parent.kind===209||e.parent.kind===230)}function fTe(e){return e&&e.kind===1}function AQe(e){return e&&e.kind===0}function t4(e,t,n,s){return te(e==null?void 0:e.properties,l=>{if(!pu(l))return;const f=kP(l.name);return t===f||s&&s===f?n(l):void 0})}function _Te(e,t,n){return t4(e,t,s=>Hf(s.initializer)?Ve(s.initializer.elements,l=>yo(l)&&l.text===n):void 0)}function wP(e){if(e&&e.statements.length){const t=e.statements[0].expression;return wi(t,jo)}}function Nj(e,t,n){return ZI(e,t,s=>Hf(s.initializer)?Ve(s.initializer.elements,l=>yo(l)&&l.text===n):void 0)}function ZI(e,t,n){return t4(wP(e),t,n)}function Wp(e){return mn(e.parent,Sa)}function pTe(e){return mn(e.parent,Lc)}function _u(e){return mn(e.parent,Ri)}function dTe(e){return mn(e.parent,t=>Ri(t)||Sa(t)?"quit":al(t))}function Ij(e){return mn(e.parent,J6)}function y_(e,t,n){for(R.assert(e.kind!==311);;){if(e=e.parent,!e)return R.fail();switch(e.kind){case 166:if(n&&Ri(e.parent.parent))return e;e=e.parent.parent;break;case 169:e.parent.kind===168&&Mu(e.parent.parent)?e=e.parent.parent:Mu(e.parent)&&(e=e.parent);break;case 218:if(!t)continue;case 261:case 217:case 266:case 174:case 171:case 170:case 173:case 172:case 175:case 176:case 177:case 178:case 179:case 180:case 265:case 311:return e}}}function mTe(e){switch(e.kind){case 218:case 261:case 217:case 171:return!0;case 240:switch(e.parent.kind){case 175:case 173:case 176:case 177:return!0;default:return!1}default:return!1}}function Oj(e){He(e)&&(Su(e.parent)||au(e.parent))&&e.parent.name===e&&(e=e.parent);const t=y_(e,!0,!1);return Cs(t)}function hTe(e){const t=y_(e,!1,!1);if(t)switch(t.kind){case 175:case 261:case 217:return t}}function KI(e,t){for(;;){if(e=e.parent,!e)return;switch(e.kind){case 166:e=e.parent;break;case 261:case 217:case 218:if(!t)continue;case 171:case 170:case 173:case 172:case 175:case 176:case 177:case 174:return e;case 169:e.parent.kind===168&&Mu(e.parent.parent)?e=e.parent.parent:Mu(e.parent)&&(e=e.parent);break}}}function Ox(e){if(e.kind===217||e.kind===218){let t=e,n=e.parent;for(;n.kind===216;)t=n,n=n.parent;if(n.kind===212&&n.expression===t)return n}}function PQe(e){return e.kind===108||v_(e)}function v_(e){const t=e.kind;return(t===210||t===211)&&e.expression.kind===108}function e5(e){const t=e.kind;return(t===210||t===211)&&e.expression.kind===110}function Lj(e){var t;return!!e&&bs(e)&&((t=e.initializer)==null?void 0:t.kind)===110}function gTe(e){return!!e&&(hd(e)||pu(e))&&Bn(e.parent.parent)&&e.parent.parent.operatorToken.kind===64&&e.parent.parent.right.kind===110}function t5(e){switch(e.kind){case 182:return e.typeName;case 232:return kl(e.expression)?e.expression:void 0;case 80:case 165:return e}}function Mj(e){switch(e.kind){case 214:return e.tag;case 285:case 284:return e.tagName;default:return e.expression}}function Fj(e,t,n,s){if(e&&bf(t)&&fs(t.name))return!1;switch(t.kind){case 262:return!0;case 230:return!e;case 171:return n!==void 0&&(e?Su(n):Ri(n)&&!UT(t)&&!fte(t));case 176:case 177:case 173:return t.body!==void 0&&n!==void 0&&(e?Su(n):Ri(n));case 168:return e?n!==void 0&&n.body!==void 0&&(n.kind===175||n.kind===173||n.kind===177)&&BT(n)!==t&&s!==void 0&&s.kind===262:!1}return!1}function r4(e,t,n,s){return _d(t)&&Fj(e,t,n,s)}function r5(e,t,n,s){return r4(e,t,n,s)||EP(e,t,n)}function EP(e,t,n){switch(t.kind){case 262:return Ne(t.members,s=>r5(e,s,t,n));case 230:return!e&&Ne(t.members,s=>r5(e,s,t,n));case 173:case 177:case 175:return Ne(t.parameters,s=>r4(e,s,t,n));default:return!1}}function LT(e,t){if(r4(e,t))return!0;const n=Yg(t);return!!n&&EP(e,n,t)}function Nee(e,t,n){let s;if(Wb(t)){const{firstAccessor:l,secondAccessor:f,setAccessor:d}=jx(n.members,t),g=_d(l)?l:f&&_d(f)?f:void 0;if(!g||t!==g)return!1;s=d==null?void 0:d.parameters}else ql(t)&&(s=t.parameters);if(r4(e,t,n))return!0;if(s){for(const l of s)if(!jT(l)&&r4(e,l,t,n))return!0}return!1}function Iee(e){if(e.textSourceNode){switch(e.textSourceNode.kind){case 11:return Iee(e.textSourceNode);case 15:return e.text===""}return!1}return e.text===""}function n4(e){const{parent:t}=e;return t.kind===285||t.kind===284||t.kind===286?t.tagName===e:!1}function Xy(e){switch(e.kind){case 108:case 106:case 112:case 97:case 14:case 208:case 209:case 210:case 211:case 212:case 213:case 214:case 233:case 215:case 237:case 234:case 216:case 217:case 230:case 218:case 221:case 219:case 220:case 223:case 224:case 225:case 226:case 229:case 227:case 231:case 283:case 284:case 287:case 228:case 222:case 235:return!0;case 232:return!sp(e.parent)&&!V4(e.parent);case 165:for(;e.parent.kind===165;)e=e.parent;return e.parent.kind===185||tw(e.parent)||AD(e.parent)||a2(e.parent)||n4(e);case 317:for(;a2(e.parent);)e=e.parent;return e.parent.kind===185||tw(e.parent)||AD(e.parent)||a2(e.parent)||n4(e);case 81:return Bn(e.parent)&&e.parent.left===e&&e.parent.operatorToken.kind===103;case 80:if(e.parent.kind===185||tw(e.parent)||AD(e.parent)||a2(e.parent)||n4(e))return!0;case 9:case 10:case 11:case 15:case 110:return Rj(e);default:return!1}}function Rj(e){const{parent:t}=e;switch(t.kind){case 259:case 168:case 171:case 170:case 305:case 302:case 207:return t.initializer===e;case 243:case 244:case 245:case 246:case 252:case 253:case 254:case 295:case 256:return t.expression===e;case 247:const n=t;return n.initializer===e&&n.initializer.kind!==260||n.condition===e||n.incrementor===e;case 248:case 249:const s=t;return s.initializer===e&&s.initializer.kind!==260||s.expression===e;case 215:case 233:return e===t.expression;case 238:return e===t.expression;case 166:return e===t.expression;case 169:case 293:case 292:case 304:return!0;case 232:return t.expression===e&&!Gg(t);case 303:return t.objectAssignmentInitializer===e;case 237:return e===t.expression;default:return Xy(t)}}function Bj(e){for(;e.kind===165||e.kind===80;)e=e.parent;return e.kind===185}function yTe(e){return ny(e)&&!!e.parent.moduleSpecifier}function Gb(e){return e.kind===270&&e.moduleReference.kind===282}function AP(e){return R.assert(Gb(e)),e.moduleReference.expression}function Oee(e){return MT(e)&&GP(e.initializer).arguments[0]}function i4(e){return e.kind===270&&e.moduleReference.kind!==282}function qf(e){return Mn(e)}function DQe(e){return!Mn(e)}function Mn(e){return!!e&&!!(e.flags&262144)}function jj(e){return!!e&&!!(e.flags&67108864)}function Lee(e){return!Nd(e)}function n5(e){return!!e&&!!(e.flags&8388608)}function Jj(e){return Im(e)&&He(e.typeName)&&e.typeName.escapedText==="Object"&&e.typeArguments&&e.typeArguments.length===2&&(e.typeArguments[0].kind===154||e.typeArguments[0].kind===150)}function M_(e,t){if(e.kind!==212)return!1;const{expression:n,arguments:s}=e;if(n.kind!==80||n.escapedText!=="require"||s.length!==1)return!1;const l=s[0];return!t||Yo(l)}function Mee(e){return bTe(e,!1)}function MT(e){return bTe(e,!0)}function vTe(e){return Lo(e)&&MT(e.parent.parent)}function bTe(e,t){return bs(e)&&!!e.initializer&&M_(t?GP(e.initializer):e.initializer,!0)}function Fee(e){return Yl(e)&&e.declarationList.declarations.length>0&&ot(e.declarationList.declarations,t=>Mee(t))}function i5(e){return e===39||e===34}function Uj(e,t){return PT(t,e).charCodeAt(0)===34}function PP(e){return Bn(e)||jc(e)||He(e)||Ra(e)}function s5(e){return Mn(e)&&e.initializer&&Bn(e.initializer)&&(e.initializer.operatorToken.kind===57||e.initializer.operatorToken.kind===61)&&e.name&&kl(e.name)&&s4(e.name,e.initializer.left)?e.initializer.right:e.initializer}function a5(e){const t=s5(e);return t&&Xb(t,Kb(e.name))}function NQe(e,t){return te(e.properties,n=>pu(n)&&He(n.name)&&n.name.escapedText==="value"&&n.initializer&&Xb(n.initializer,t))}function iw(e){if(e&&e.parent&&Bn(e.parent)&&e.parent.operatorToken.kind===64){const t=Kb(e.parent.left);return Xb(e.parent.right,t)||IQe(e.parent.left,e.parent.right,t)}if(e&&Ra(e)&&sw(e)){const t=NQe(e.arguments[2],e.arguments[1].text==="prototype");if(t)return t}}function Xb(e,t){if(Ra(e)){const n=Tc(e.expression);return n.kind===217||n.kind===218?e:void 0}if(e.kind===217||e.kind===230||e.kind===218||jo(e)&&(e.properties.length===0||t))return e}function IQe(e,t,n){const s=Bn(t)&&(t.operatorToken.kind===57||t.operatorToken.kind===61)&&Xb(t.right,n);if(s&&s4(e,t.left))return s}function TTe(e){const t=bs(e.parent)?e.parent.name:Bn(e.parent)&&e.parent.operatorToken.kind===64?e.parent.left:void 0;return t&&Xb(e.right,Kb(t))&&kl(t)&&s4(t,e.left)}function Ree(e){if(Bn(e.parent)){const t=(e.parent.operatorToken.kind===57||e.parent.operatorToken.kind===61)&&Bn(e.parent.parent)?e.parent.parent:e.parent;if(t.operatorToken.kind===64&&He(t.left))return t.left}else if(bs(e.parent))return e.parent.name}function s4(e,t){return Kd(e)&&Kd(t)?em(e)===em(t):qy(e)&&zj(t)&&(t.expression.kind===110||He(t.expression)&&(t.expression.escapedText==="window"||t.expression.escapedText==="self"||t.expression.escapedText==="global"))?s4(e,l5(t)):zj(e)&&zj(t)?Qy(e)===Qy(t)&&s4(e.expression,t.expression):!1}function o5(e){for(;o_(e,!0);)e=e.right;return e}function Lx(e){return He(e)&&e.escapedText==="exports"}function Bee(e){return He(e)&&e.escapedText==="module"}function Xg(e){return(ai(e)||c5(e))&&Bee(e.expression)&&Qy(e)==="exports"}function dl(e){const t=OQe(e);return t===5||Mn(e)?t:0}function sw(e){return G(e.arguments)===3&&ai(e.expression)&&He(e.expression.expression)&&Zn(e.expression.expression)==="Object"&&Zn(e.expression.name)==="defineProperty"&&ud(e.arguments[1])&&aw(e.arguments[0],!0)}function zj(e){return ai(e)||c5(e)}function c5(e){return Pc(e)&&ud(e.argumentExpression)}function Mx(e,t){return ai(e)&&(!t&&e.expression.kind===110||He(e.name)&&aw(e.expression,!0))||Vj(e,t)}function Vj(e,t){return c5(e)&&(!t&&e.expression.kind===110||kl(e.expression)||Mx(e.expression,!0))}function aw(e,t){return kl(e)||Mx(e,t)}function l5(e){return ai(e)?e.name:e.argumentExpression}function OQe(e){if(Ra(e)){if(!sw(e))return 0;const t=e.arguments[0];return Lx(t)||Xg(t)?8:Mx(t)&&Qy(t)==="prototype"?9:7}return e.operatorToken.kind!==64||!jc(e.left)||LQe(o5(e))?0:aw(e.left.expression,!0)&&Qy(e.left)==="prototype"&&jo(jee(e))?6:u5(e.left)}function LQe(e){return Lw(e)&&Hp(e.expression)&&e.expression.text==="0"}function $j(e){if(ai(e))return e.name;const t=Tc(e.argumentExpression);return Hp(t)||Yo(t)?t:e}function Qy(e){const t=$j(e);if(t){if(He(t))return t.escapedText;if(Yo(t)||Hp(t))return $c(t.text)}}function u5(e){if(e.expression.kind===110)return 4;if(Xg(e))return 2;if(aw(e.expression,!0)){if(Kb(e.expression))return 3;let t=e;for(;!He(t.expression);)t=t.expression;const n=t.expression;if((n.escapedText==="exports"||n.escapedText==="module"&&Qy(t)==="exports")&&Mx(e))return 1;if(aw(e,!0)||Pc(e)&&Yj(e))return 5}return 0}function jee(e){for(;Bn(e.right);)e=e.right;return e.right}function f5(e){return Bn(e)&&dl(e)===3}function STe(e){return Mn(e)&&e.parent&&e.parent.kind===243&&(!Pc(e)||c5(e))&&!!kT(e.parent)}function _5(e,t){const{valueDeclaration:n}=e;(!n||!(t.flags&16777216&&!Mn(t)&&!(n.flags&16777216))&&PP(n)&&!PP(t)||n.kind!==t.kind&&Y2e(n))&&(e.valueDeclaration=t)}function xTe(e){if(!e||!e.valueDeclaration)return!1;const t=e.valueDeclaration;return t.kind===261||bs(t)&&t.initializer&&Sa(t.initializer)}function p5(e){var t,n;switch(e.kind){case 259:case 207:return(t=mn(e.initializer,s=>M_(s,!0)))==null?void 0:t.arguments[0];case 271:return wi(e.moduleSpecifier,Yo);case 270:return wi((n=wi(e.moduleReference,fg))==null?void 0:n.expression,Yo);case 272:case 279:return wi(e.parent.moduleSpecifier,Yo);case 273:case 280:return wi(e.parent.parent.moduleSpecifier,Yo);case 275:return wi(e.parent.parent.parent.moduleSpecifier,Yo);default:R.assertNever(e)}}function d5(e){return m5(e)||R.failBadSyntaxKind(e.parent)}function m5(e){switch(e.parent.kind){case 271:case 277:return e.parent;case 282:return e.parent.parent;case 212:return Dp(e.parent)||M_(e.parent,!1)?e.parent:void 0;case 200:return R.assert(yo(e)),wi(e.parent.parent,t0);default:return}}function a4(e){switch(e.kind){case 271:case 277:return e.moduleSpecifier;case 270:return e.moduleReference.kind===282?e.moduleReference.expression:void 0;case 204:return Hb(e)?e.argument.literal:void 0;case 212:return e.arguments[0];case 266:return e.name.kind===11?e.name:void 0;default:return R.assertNever(e)}}function o4(e){switch(e.kind){case 271:return e.importClause&&wi(e.importClause.namedBindings,Mv);case 270:return e;case 277:return e.exportClause&&wi(e.exportClause,ny);default:return R.assertNever(e)}}function ow(e){return e.kind===271&&!!e.importClause&&!!e.importClause.name}function qj(e,t){if(e.name){const n=t(e);if(n)return n}if(e.namedBindings){const n=Mv(e.namedBindings)?t(e.namedBindings):te(e.namedBindings.elements,t);if(n)return n}}function cw(e){if(e)switch(e.kind){case 168:case 173:case 172:case 303:case 302:case 171:case 170:return e.questionToken!==void 0}return!1}function c4(e){const t=U4(e)?Hu(e.parameters):void 0,n=wi(t&&t.name,He);return!!n&&n.escapedText==="new"}function Id(e){return e.kind===352||e.kind===344||e.kind===346}function h5(e){return Id(e)||Mm(e)}function MQe(e){return of(e)&&Bn(e.expression)&&e.expression.operatorToken.kind===64?o5(e.expression):void 0}function kTe(e){return of(e)&&Bn(e.expression)&&dl(e.expression)!==0&&Bn(e.expression.right)&&(e.expression.right.operatorToken.kind===57||e.expression.right.operatorToken.kind===61)?e.expression.right.right:void 0}function Jee(e){switch(e.kind){case 242:const t=l4(e);return t&&t.initializer;case 171:return e.initializer;case 302:return e.initializer}}function l4(e){return Yl(e)?Hu(e.declarationList.declarations):void 0}function CTe(e){return Al(e)&&e.body&&e.body.kind===266?e.body:void 0}function g5(e){if(e.kind>=242&&e.kind<=258)return!0;switch(e.kind){case 80:case 110:case 108:case 165:case 235:case 211:case 210:case 207:case 217:case 218:case 173:case 176:case 177:return!0;default:return!1}}function y5(e){switch(e.kind){case 218:case 225:case 240:case 251:case 178:case 295:case 262:case 230:case 174:case 175:case 184:case 179:case 250:case 258:case 245:case 211:case 241:case 1:case 265:case 305:case 276:case 277:case 280:case 243:case 248:case 249:case 247:case 261:case 217:case 183:case 176:case 80:case 244:case 271:case 270:case 180:case 263:case 323:case 329:case 255:case 173:case 172:case 266:case 201:case 269:case 209:case 168:case 216:case 210:case 302:case 171:case 170:case 252:case 239:case 177:case 303:case 304:case 254:case 256:case 257:case 264:case 167:case 259:case 242:case 246:case 253:return!0;default:return!1}}function Uee(e,t){let n;e4(e)&&Cv(e)&&Ap(e.initializer)&&(n=Pi(n,wTe(e,To(e.initializer.jsDoc))));let s=e;for(;s&&s.parent;){if(Ap(s)&&(n=Pi(n,wTe(e,To(s.jsDoc)))),s.kind===168){n=Pi(n,(t?Ybe:R6)(s));break}if(s.kind===167){n=Pi(n,(t?e2e:Kbe)(s));break}s=zee(s)}return n||ft}function wTe(e,t){if(sm(t)){const n=gr(t.tags,s=>ETe(e,s));return t.tags===n?[t]:n}return ETe(e,t)?[t]:void 0}function ETe(e,t){return!(DD(t)||kU(t))||!t.parent||!sm(t.parent)||!j_(t.parent.parent)||t.parent.parent===e}function zee(e){const t=e.parent;if(t.kind===302||t.kind===276||t.kind===171||t.kind===243&&e.kind===210||t.kind===252||CTe(t)||Bn(e)&&e.operatorToken.kind===64)return t;if(t.parent&&(l4(t.parent)===e||Bn(t)&&t.operatorToken.kind===64))return t.parent;if(t.parent&&t.parent.parent&&(l4(t.parent.parent)||Jee(t.parent.parent)===e||kTe(t.parent.parent)))return t.parent.parent}function v5(e){if(e.symbol)return e.symbol;if(!He(e.name))return;const t=e.name.escapedText,n=Qb(e);if(!n)return;const s=Ve(n.parameters,l=>l.name.kind===80&&l.name.escapedText===t);return s&&s.symbol}function Wj(e){if(sm(e.parent)&&e.parent.tags){const t=Ve(e.parent.tags,Id);if(t)return t}return Qb(e)}function Qb(e){const t=lw(e);if(t)return Gp(t)&&t.type&&Sa(t.type)?t.type:Sa(t)?t:void 0}function lw(e){const t=uw(e);if(t)return kTe(t)||MQe(t)||Jee(t)||l4(t)||CTe(t)||t}function uw(e){const t=DP(e);if(!t)return;const n=t.parent;if(n&&n.jsDoc&&t===Bc(n.jsDoc))return n}function DP(e){return mn(e.parent,sm)}function ATe(e){const t=e.name.escapedText,{typeParameters:n}=e.parent.parent.parent;return n&&Ve(n,s=>s.name.escapedText===t)}function FQe(e){return!!e.typeArguments}function Fx(e){let t=e.parent;for(;;){switch(t.kind){case 225:const n=t.operatorToken.kind;return o1(n)&&t.left===e?n===64||JP(n)?1:2:0;case 223:case 224:const s=t.operator;return s===46||s===47?2:0;case 248:case 249:return t.initializer===e?1:0;case 216:case 208:case 229:case 234:e=t;break;case 304:e=t.parent;break;case 303:if(t.name!==e)return 0;e=t.parent;break;case 302:if(t.name===e)return 0;e=t.parent;break;default:return 0}t=e.parent}}function Qg(e){return Fx(e)!==0}function PTe(e){switch(e.kind){case 240:case 242:case 253:case 244:case 254:case 268:case 295:case 296:case 255:case 247:case 248:case 249:case 245:case 246:case 257:case 298:return!0}return!1}function DTe(e){return _c(e)||Dc(e)||U6(e)||au(e)||El(e)}function NTe(e,t){for(;e&&e.kind===t;)e=e.parent;return e}function b5(e){return NTe(e,195)}function Av(e){return NTe(e,216)}function ITe(e){let t;for(;e&&e.kind===195;)t=e,e=e.parent;return[t,e]}function Vee(e){for(;Dw(e);)e=e.type;return e}function Tc(e,t){return lf(e,t?17:1)}function $ee(e){return e.kind!==210&&e.kind!==211?!1:(e=Av(e.parent),e&&e.kind===219)}function FT(e,t){for(;e;){if(e===t)return!0;e=e.parent}return!1}function Yy(e){return!Cs(e)&&!Fa(e)&&Sf(e.parent)&&e.parent.name===e}function T5(e){const t=e.parent;switch(e.kind){case 11:case 15:case 9:if(Ho(t))return t.parent;case 80:if(Sf(t))return t.name===e?t:void 0;if(B_(t)){const n=t.parent;return Fm(n)&&n.name===t?n:void 0}else{const n=t.parent;return Bn(n)&&dl(n)!==0&&(n.left.symbol||n.symbol)&&ia(n)===e?n:void 0}case 81:return Sf(t)&&t.name===e?t:void 0;default:return}}function S5(e){return ud(e)&&e.parent.kind===166&&Sf(e.parent.parent)}function OTe(e){const t=e.parent;switch(t.kind){case 171:case 170:case 173:case 172:case 176:case 177:case 305:case 302:case 210:return t.name===e;case 165:return t.right===e;case 207:case 275:return t.propertyName===e;case 280:case 290:case 284:case 285:case 286:return!0}return!1}function RQe(e){return e.kind===270||e.kind===269||e.kind===272&&e.name||e.kind===273||e.kind===279||e.kind===275||e.kind===280||e.kind===276&&u4(e)?!0:Mn(e)&&(Bn(e)&&dl(e)===2&&u4(e)||ai(e)&&Bn(e.parent)&&e.parent.left===e&&e.parent.operatorToken.kind===64&&x5(e.parent.right))}function qee(e){switch(e.parent.kind){case 272:case 275:case 273:case 280:case 276:case 270:case 279:return e.parent;case 165:do e=e.parent;while(e.parent.kind===165);return qee(e)}}function x5(e){return kl(e)||Gf(e)}function u4(e){const t=Wee(e);return x5(t)}function Wee(e){return Pl(e)?e.expression:e.right}function LTe(e){return e.kind===303?e.name:e.kind===302?e.initializer:e.parent.right}function mh(e){const t=RT(e);if(t&&Mn(e)){const n=r2e(e);if(n)return n.class}return t}function RT(e){const t=k5(e.heritageClauses,96);return t&&t.types.length>0?t.types[0]:void 0}function f4(e){if(Mn(e))return n2e(e).map(t=>t.class);{const t=k5(e.heritageClauses,119);return t==null?void 0:t.types}}function NP(e){return Xf(e)?IP(e)||ft:Ri(e)&&wr(yx(mh(e)),f4(e))||ft}function IP(e){const t=k5(e.heritageClauses,96);return t?t.types:void 0}function k5(e,t){if(e){for(const n of e)if(n.token===t)return n}}function Yb(e,t){for(;e;){if(e.kind===t)return e;e=e.parent}}function b_(e){return 83<=e&&e<=164}function Hee(e){return 19<=e&&e<=79}function Hj(e){return b_(e)||Hee(e)}function Gj(e){return 128<=e&&e<=164}function MTe(e){return b_(e)&&!Gj(e)}function BQe(e){return 119<=e&&e<=127}function fw(e){const t=Sx(e);return t!==void 0&&MTe(t)}function jQe(e){const t=Sx(e);return t!==void 0&&b_(t)}function Xj(e){const t=qb(e);return!!t&&!Gj(t)}function _4(e){return 2<=e&&e<=7}function Fu(e){if(!e)return 4;let t=0;switch(e.kind){case 261:case 217:case 173:e.asteriskToken&&(t|=1);case 218:gi(e,512)&&(t|=2);break}return e.body||(t|=4),t}function p4(e){switch(e.kind){case 261:case 217:case 218:case 173:return e.body!==void 0&&e.asteriskToken===void 0&&gi(e,512)}return!1}function ud(e){return Yo(e)||Hp(e)}function Qj(e){return i2(e)&&(e.operator===40||e.operator===41)&&Hp(e.operand)}function s1(e){const t=ia(e);return!!t&&Yj(t)}function Yj(e){if(!(e.kind===166||e.kind===211))return!1;const t=Pc(e)?Tc(e.argumentExpression):e.expression;return!ud(t)&&!Qj(t)}function Zb(e){switch(e.kind){case 80:case 81:return e.escapedText;case 11:case 9:return $c(e.text);case 166:const t=e.expression;return ud(t)?$c(t.text):Qj(t)?t.operator===41?io(t.operator)+t.operand.text:t.operand.text:void 0;case 294:return E4(e);default:return R.assertNever(e)}}function Kd(e){switch(e.kind){case 80:case 11:case 15:case 9:return!0;default:return!1}}function em(e){return qy(e)?Zn(e):Th(e)?lD(e):e.text}function OP(e){return qy(e)?e.escapedText:Th(e)?E4(e):$c(e.text)}function JQe(e){return`__@${vo(e)}@${e.escapedName}`}function C5(e,t){return`__#${vo(e)}@${t}`}function w5(e){return Xs(e.escapedName,"__@")}function FTe(e){return Xs(e.escapedName,"__#")}function UQe(e){return e.kind===80&&e.escapedText==="Symbol"}function RTe(e){return He(e)?Zn(e)==="__proto__":yo(e)&&e.text==="__proto__"}function LP(e,t){switch(e=lf(e),e.kind){case 230:case 217:if(e.name)return!1;break;case 218:break;default:return!1}return typeof t=="function"?t(e):!0}function Gee(e){switch(e.kind){case 302:return!RTe(e.name);case 303:return!!e.objectAssignmentInitializer;case 259:return He(e.name)&&!!e.initializer;case 168:return He(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 207:return He(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 171:return!!e.initializer;case 225:switch(e.operatorToken.kind){case 64:case 77:case 76:case 78:return He(e.left)}break;case 276:return!0}return!1}function fd(e,t){if(!Gee(e))return!1;switch(e.kind){case 302:return LP(e.initializer,t);case 303:return LP(e.objectAssignmentInitializer,t);case 259:case 168:case 207:case 171:return LP(e.initializer,t);case 225:return LP(e.right,t);case 276:return LP(e.expression,t)}}function Xee(e){return e.escapedText==="push"||e.escapedText==="unshift"}function Rx(e){return tg(e).kind===168}function tg(e){for(;e.kind===207;)e=e.parent.parent;return e}function Qee(e){const t=e.kind;return t===175||t===217||t===261||t===218||t===173||t===176||t===177||t===266||t===311}function Ec(e){return gh(e.pos)||gh(e.end)}function zQe(e){return Gs(e,Cs)||e}function Yee(e){const t=Kee(e),n=e.kind===213&&e.arguments!==void 0;return Zee(e.kind,t,n)}function Zee(e,t,n){switch(e){case 213:return n?0:1;case 223:case 220:case 221:case 219:case 222:case 226:case 228:return 1;case 225:switch(t){case 43:case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 1}}return 0}function Zj(e){const t=Kee(e),n=e.kind===213&&e.arguments!==void 0;return E5(e.kind,t,n)}function Kee(e){return e.kind===225?e.operatorToken.kind:e.kind===223||e.kind===224?e.operator:e.kind}function E5(e,t,n){switch(e){case 360:return 0;case 229:return 1;case 228:return 2;case 226:return 4;case 225:switch(t){case 28:return 0;case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 3;default:return A5(t)}case 215:case 234:case 223:case 220:case 221:case 219:case 222:return 16;case 224:return 17;case 212:return 18;case 213:return n?19:18;case 214:case 210:case 211:case 235:return 19;case 233:case 237:return 11;case 110:case 108:case 80:case 81:case 106:case 112:case 97:case 9:case 10:case 11:case 208:case 209:case 217:case 218:case 230:case 14:case 15:case 227:case 216:case 231:case 283:case 284:case 287:return 20;default:return-1}}function A5(e){switch(e){case 61:return 4;case 57:return 5;case 56:return 6;case 52:return 7;case 53:return 8;case 51:return 9;case 35:case 36:case 37:case 38:return 10;case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:return 11;case 48:case 49:case 50:return 12;case 40:case 41:return 13;case 42:case 44:case 45:return 14;case 43:return 15}return-1}function MP(e){return gr(e,t=>{switch(t.kind){case 293:return!!t.expression;case 12:return!t.containsOnlyTriviaWhiteSpaces;default:return!0}})}function d4(){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 T=dv(k,h,Kc,fJ);if(T>=0)return k[T]}function f(h){let k;h.file?(k=n.get(h.file.fileName),k||(k=[],n.set(h.file.fileName,k),ha(t,h.file.fileName,zf))):(s&&(s=!1,e=e.slice()),k=e),ha(k,h,fJ)}function d(){return s=!0,e}function g(h){if(h)return n.get(h)||[];const k=yn(t,T=>n.get(T));return e.length&&k.unshift(...e),k}}function VQe(e){return e.replace(sxe,"\\${")}function ete(e){return e&&!!(ww(e)?e.templateFlags:e.head.templateFlags||Ne(e.templateSpans,t=>!!t.literal.templateFlags))}function BTe(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function $Qe(e,t,n){if(e.charCodeAt(0)===0){const s=n.charCodeAt(t+e.length);return s>=48&&s<=57?"\\x00":"\\0"}return lxe.get(e)||BTe(e.charCodeAt(0))}function _w(e,t){const n=t===96?cxe:t===39?oxe:axe;return e.replace(n,$Qe)}function P5(e,t){return e=_w(e,t),are.test(e)?e.replace(are,n=>BTe(n.charCodeAt(0))):e}function qQe(e){return"&#x"+e.toString(16).toUpperCase()+";"}function WQe(e){return e.charCodeAt(0)===0?"&#0;":_xe.get(e)||qQe(e.charCodeAt(0))}function tte(e,t){const n=t===39?fxe:uxe;return e.replace(n,WQe)}function tm(e){const t=e.length;return t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&HQe(e.charCodeAt(0))?e.substring(1,t-1):e}function HQe(e){return e===39||e===34||e===96}function m4(e){const t=e.charCodeAt(0);return t>=97&&t<=122||rf(e,"-")}function Kj(e){const t=A4[1];for(let n=A4.length;n<=e;n++)A4.push(A4[n-1]+t);return A4[e]}function h4(){return A4[1].length}function D5(){return rf(N,"-dev")||rf(N,"-insiders")}function N5(e){var t,n,s,l,f,d=!1;function g(B){const H=AI(B);H.length>1?(l=l+H.length-1,f=t.length-B.length+To(H),s=f-t.length===0):s=!1}function h(B){B&&B.length&&(s&&(B=Kj(n)+B,s=!1),t+=B,g(B))}function k(B){B&&(d=!1),h(B)}function T(B){B&&(d=!0),h(B)}function C(){t="",n=0,s=!0,l=0,f=0,d=!1}function D(B){B!==void 0&&(t+=B,g(B),d=!1)}function O(B){B&&B.length&&k(B)}function M(B){(!s||B)&&(t+=e,l++,f=t.length,s=!0,d=!1)}function U(){return s?t.length:t.length+e.length}return C(),{write:k,rawWrite:D,writeLiteral:O,writeLine:M,increaseIndent:()=>{n++},decreaseIndent:()=>{n--},getIndent:()=>n,getTextPos:()=>t.length,getLine:()=>l,getColumn:()=>s?n*h4():t.length-f,getText:()=>t,isAtStartOfLine:()=>s,hasTrailingComment:()=>d,hasTrailingWhitespace:()=>!!t.length&&zg(t.charCodeAt(t.length-1)),clear:C,writeKeyword:k,writeOperator:k,writeParameter:k,writeProperty:k,writePunctuation:k,writeSpace:k,writeStringLiteral:k,writeSymbol:(B,H)=>k(B),writeTrailingSemicolon:k,writeComment:T,getTextPosWithWriteLine:U}}function rte(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 I5(e){return e.useCaseSensitiveFileNames?e.useCaseSensitiveFileNames():!1}function a1(e){return nf(I5(e))}function eJ(e,t,n){return t.moduleName||nte(e,t.fileName,n&&n.fileName)}function jTe(e,t){return e.getCanonicalFileName(ua(t,e.getCurrentDirectory()))}function JTe(e,t,n){const s=t.getExternalModuleFileFromDeclaration(n);if(!s||s.isDeclarationFile)return;const l=a4(n);if(!(l&&Yo(l)&&!kp(l.text)&&jTe(e,s.path).indexOf(jTe(e,Vf(e.getCommonSourceDirectory())))===-1))return eJ(e,s)}function nte(e,t,n){const s=h=>e.getCanonicalFileName(h),l=bc(n?cs(n):e.getCommonSourceDirectory(),e.getCurrentDirectory(),s),f=ua(t,e.getCurrentDirectory()),d=QC(l,f,l,s,!1),g=R_(d);return n?xT(g):g}function UTe(e,t,n){const s=t.getCompilerOptions();let l;return s.outDir?l=R_(rJ(e,t,s.outDir)):l=R_(e),l+n}function zTe(e,t){return ite(e,t.getCompilerOptions(),t.getCurrentDirectory(),t.getCommonSourceDirectory(),n=>t.getCanonicalFileName(n))}function ite(e,t,n,s,l){const f=t.declarationDir||t.outDir,d=f?ote(e,f,n,s,l):e,g=ste(d);return R_(d)+g}function ste(e){return $l(e,[".mjs",".mts"])?".d.mts":$l(e,[".cjs",".cts"])?".d.cts":$l(e,[".json"])?".d.json.ts":".d.ts"}function VTe(e){return $l(e,[".d.mts",".mjs",".mts"])?[".mts",".mjs"]:$l(e,[".d.cts",".cjs",".cts"])?[".cts",".cjs"]:$l(e,[".d.json.ts"])?[".json"]:[".tsx",".ts",".jsx",".js"]}function Ac(e){return e.outFile||e.out}function tJ(e,t){var n;if(e.paths)return e.baseUrl??R.checkDefined(e.pathsBasePath||((n=t.getCurrentDirectory)==null?void 0:n.call(t)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}function ate(e,t,n){const s=e.getCompilerOptions();if(Ac(s)){const l=Zu(s),f=s.emitDeclarationOnly||l===2||l===4;return gr(e.getSourceFiles(),d=>(f||!Ul(d))&&pw(d,e,n))}else{const l=t===void 0?e.getSourceFiles():[t];return gr(l,f=>pw(f,e,n))}}function pw(e,t,n){return!(t.getCompilerOptions().noEmitForJsFiles&&qf(e))&&!e.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(e)&&(n||!(Nd(e)&&t.getResolvedProjectReferenceToRedirect(e.fileName))&&!t.isSourceOfProjectReferenceRedirect(e.fileName))}function rJ(e,t,n){return ote(e,n,t.getCurrentDirectory(),t.getCommonSourceDirectory(),s=>t.getCanonicalFileName(s))}function ote(e,t,n,s,l){let f=ua(e,n);return f=l(f).indexOf(l(s))===0?f.substring(s.length):f,vs(t,f)}function FP(e,t,n,s,l,f,d){e.writeFile(n,s,l,g=>{t.add(Cl(v.Could_not_write_file_0_Colon_1,n,g))},f,d)}function $Te(e,t,n){if(e.length>Hh(e)&&!n(e)){const s=cs(e);$Te(s,t,n),t(e)}}function cte(e,t,n,s,l,f){try{s(e,t,n)}catch{$Te(cs(So(e)),l,f),s(e,t,n)}}function RP(e,t){const n=Vy(e);return oP(n,t)}function Bx(e,t){return oP(e,t)}function Yg(e){return Ve(e.members,t=>El(t)&&Pd(t.body))}function BP(e){if(e&&e.parameters.length>0){const t=e.parameters.length===2&&jT(e.parameters[0]);return e.parameters[t?1:0]}}function qTe(e){const t=BP(e);return t&&t.type}function BT(e){if(e.parameters.length&&!o2(e)){const t=e.parameters[0];if(jT(t))return t}}function jT(e){return JT(e.name)}function JT(e){return!!e&&e.kind===80&&lte(e)}function dw(e){if(!JT(e))return!1;for(;B_(e.parent)&&e.parent.left===e;)e=e.parent;return e.parent.kind===185}function lte(e){return e.escapedText==="this"}function jx(e,t){let n,s,l,f;return s1(t)?(n=t,t.kind===176?l=t:t.kind===177?f=t:R.fail("Accessor has wrong kind")):te(e,d=>{if(Wb(d)&&Aa(d)===Aa(t)){const g=Zb(d.name),h=Zb(t.name);g===h&&(n?s||(s=d):n=d,d.kind===176&&!l&&(l=d),d.kind===177&&!f&&(f=d))}}),{firstAccessor:n,secondAccessor:s,getAccessor:l,setAccessor:f}}function Yu(e){if(!Mn(e)&&au(e))return;const t=e.type;return t||!Mn(e)?t:tj(e)?e.typeExpression&&e.typeExpression.type:bv(e)}function WTe(e){return e.type}function Am(e){return o2(e)?e.type&&e.type.typeExpression&&e.type.typeExpression.type:e.type||(Mn(e)?RI(e):void 0)}function nJ(e){return ln(CT(e),t=>GQe(t)?t.typeParameters:void 0)}function GQe(e){return Rm(e)&&!(e.parent.kind===326&&(e.parent.tags.some(Id)||e.parent.tags.some(PD)))}function HTe(e){const t=BP(e);return t&&Yu(t)}function GTe(e,t,n,s){XTe(e,t,n.pos,s)}function XTe(e,t,n,s){s&&s.length&&n!==s[0].pos&&Bx(e,n)!==Bx(e,s[0].pos)&&t.writeLine()}function QTe(e,t,n,s){n!==s&&Bx(e,n)!==Bx(e,s)&&t.writeLine()}function YTe(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 ZTe(e,t,n,s,l,f,d){let g,h;if(d?l.pos===0&&(g=gr(Vg(e,l.pos),k)):g=Vg(e,l.pos),g){const T=[];let C;for(const D of g){if(C){const O=Bx(t,C.end);if(Bx(t,D.pos)>=O+2)break}T.push(D),C=D}if(T.length){const D=Bx(t,To(T).end);Bx(t,fo(e,l.pos))>=D+2&&(GTe(t,n,l,g),YTe(e,t,n,T,!1,!0,f,s),h={nodePos:l.pos,detachedCommentEndPos:To(T).end})}}return h;function k(T){return vj(e,T.pos)}}function g4(e,t,n,s,l,f){if(e.charCodeAt(s+1)===42){const d=DI(t,s),g=t.length;let h;for(let k=s,T=d.line;k<l;T++){const C=T+1===g?e.length+1:t[T+1];if(k!==s){h===void 0&&(h=KTe(e,t[d.line],s));const O=n.getIndent()*h4()-h+KTe(e,k,C);if(O>0){let M=O%h4();const U=Kj((O-M)/h4());for(n.rawWrite(U);M;)n.rawWrite(" "),M--}else n.rawWrite("")}XQe(e,l,n,f,k,C),k=C}}else n.writeComment(e.substring(s,l))}function XQe(e,t,n,s,l,f){const d=Math.min(t,f-1),g=vT(e.substring(l,d));g?(n.writeComment(g),d!==t&&n.writeLine()):n.rawWrite(s)}function KTe(e,t,n){let s=0;for(;t<n&&_h(e.charCodeAt(t));t++)e.charCodeAt(t)===9?s+=h4()-s%h4():s++;return s}function iJ(e){return Wf(e)!==0}function eSe(e){return Pv(e)!==0}function ip(e,t){return!!mw(e,t)}function gi(e,t){return!!tSe(e,t)}function Aa(e){return Mu(e)&&su(e)||al(e)}function su(e){return gi(e,32)}function ute(e){return ip(e,16384)}function UT(e){return gi(e,256)}function fte(e){return gi(e,2)}function rg(e){return gi(e,128)}function jP(e){return ip(e,64)}function _d(e){return gi(e,131072)}function mw(e,t){return Wf(e)&t}function tSe(e,t){return Pv(e)&t}function _te(e,t,n){return e.kind>=0&&e.kind<=164?0:(e.modifierFlagsCache&536870912||(e.modifierFlagsCache=pte(e)|536870912),t&&!(e.modifierFlagsCache&4096)&&(n||Mn(e))&&e.parent&&(e.modifierFlagsCache|=nSe(e)|4096),e.modifierFlagsCache&-536875009)}function Wf(e){return _te(e,!0)}function rSe(e){return _te(e,!0,!0)}function Pv(e){return _te(e,!1)}function nSe(e){let t=0;return e.parent&&!ea(e)&&(Mn(e)&&(i2e(e)&&(t|=4),s2e(e)&&(t|=8),a2e(e)&&(t|=16),o2e(e)&&(t|=64),c2e(e)&&(t|=16384)),l2e(e)&&(t|=8192)),t}function iSe(e){return pte(e)|nSe(e)}function pte(e){let t=am(e)?ng(e.modifiers):0;return(e.flags&4||e.kind===80&&e.flags&2048)&&(t|=1),t}function ng(e){let t=0;if(e)for(const n of e)t|=hw(n.kind);return t}function hw(e){switch(e){case 126:return 32;case 125:return 4;case 124:return 16;case 123:return 8;case 128:return 256;case 129:return 128;case 95:return 1;case 138:return 2;case 87:return 2048;case 90:return 1024;case 134:return 512;case 148:return 64;case 163:return 16384;case 103:return 32768;case 147:return 65536;case 169:return 131072}return 0}function sSe(e){return e===57||e===56}function aSe(e){return sSe(e)||e===54}function JP(e){return e===76||e===77||e===78}function dte(e){return Bn(e)&&JP(e.operatorToken.kind)}function O5(e){return sSe(e)||e===61}function L5(e){return Bn(e)&&O5(e.operatorToken.kind)}function o1(e){return e>=64&&e<=79}function mte(e){const t=hte(e);return t&&!t.isImplements?t.class:void 0}function hte(e){if(p1(e)){if(sp(e.parent)&&Ri(e.parent.parent))return{class:e.parent.parent,isImplements:e.parent.token===119};if(V4(e.parent)){const t=lw(e.parent);if(t&&Ri(t))return{class:t,isImplements:!1}}}}function o_(e,t){return Bn(e)&&(t?e.operatorToken.kind===64:o1(e.operatorToken.kind))&&L_(e.left)}function QQe(e){return o_(e.parent)&&e.parent.left===e}function c1(e){if(o_(e,!0)){const t=e.left.kind;return t===209||t===208}return!1}function M5(e){return mte(e)!==void 0}function kl(e){return e.kind===80||F5(e)}function Np(e){switch(e.kind){case 80:return e;case 165:do e=e.left;while(e.kind!==80);return e;case 210:do e=e.expression;while(e.kind!==80);return e}}function UP(e){return e.kind===80||e.kind===110||e.kind===108||e.kind===235||e.kind===210&&UP(e.expression)||e.kind===216&&UP(e.expression)}function F5(e){return ai(e)&&He(e.name)&&kl(e.expression)}function R5(e){if(ai(e)){const t=R5(e.expression);if(t!==void 0)return t+"."+np(e.name)}else if(Pc(e)){const t=R5(e.expression);if(t!==void 0&&sl(e.argumentExpression))return t+"."+Zb(e.argumentExpression)}else{if(He(e))return xs(e.escapedText);if(Th(e))return lD(e)}}function Kb(e){return Mx(e)&&Qy(e)==="prototype"}function zP(e){return e.parent.kind===165&&e.parent.right===e||e.parent.kind===210&&e.parent.name===e}function oSe(e){return ai(e.parent)&&e.parent.name===e||Pc(e.parent)&&e.parent.argumentExpression===e}function cSe(e){return B_(e.parent)&&e.parent.right===e||ai(e.parent)&&e.parent.name===e||a2(e.parent)&&e.parent.right===e}function gte(e){return e.kind===209&&e.properties.length===0}function lSe(e){return e.kind===208&&e.elements.length===0}function y4(e){if(!(!YQe(e)||!e.declarations)){for(const t of e.declarations)if(t.localSymbol)return t.localSymbol}}function YQe(e){return e&&G(e.declarations)>0&&gi(e.declarations[0],1024)}function sJ(e){return Ve(gxe,t=>Vl(e,t))}function ZQe(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 uSe(e){let t="";const n=ZQe(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+=WT.charAt(f)+WT.charAt(d)+WT.charAt(g)+WT.charAt(h),s+=3;return t}function KQe(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 fSe(e,t){return e&&e.base64encode?e.base64encode(t):uSe(t)}function _Se(e,t){if(e&&e.base64decode)return e.base64decode(t);const n=t.length,s=[];let l=0;for(;l<n&&t.charCodeAt(l)!==WT.charCodeAt(64);){const f=WT.indexOf(t[l]),d=WT.indexOf(t[l+1]),g=WT.indexOf(t[l+2]),h=WT.indexOf(t[l+3]),k=(f&63)<<2|d>>4&3,T=(d&15)<<4|g>>2&15,C=(g&3)<<6|h&63;T===0&&g!==0?s.push(k):C===0&&h!==0?s.push(k,T):s.push(k,T,C),l+=4}return KQe(s)}function yte(e,t){const n=Wa(t)?t:t.readFile(e);if(!n)return;const s=Sne(e,n);return s.error?void 0:s.config}function VP(e,t){return yte(e,t)||{}}function Pm(e,t){return!t.directoryExists||t.directoryExists(e)}function l1(e){switch(e.newLine){case 0:return pxe;case 1:case void 0:return dxe}}function Od(e,t=e){return R.assert(t>=e||t===-1),{pos:e,end:t}}function aJ(e,t){return Od(e.pos,t)}function e2(e,t){return Od(t,e.end)}function Dv(e){const t=am(e)?Ft(e.modifiers,xf):void 0;return t&&!gh(t.end)?e2(e,t.end):e}function hh(e){if(Ia(e)||ql(e))return e2(e,e.name.pos);const t=am(e)?Bc(e.modifiers):void 0;return t&&!gh(t.end)?e2(e,t.end):Dv(e)}function eYe(e){return e.pos===e.end}function vte(e,t){return Od(e,e+io(t).length)}function Jx(e,t){return dSe(e,e,t)}function oJ(e,t,n){return Ld($P(e,n,!1),$P(t,n,!1),n)}function pSe(e,t,n){return Ld(e.end,t.end,n)}function dSe(e,t,n){return Ld($P(e,n,!1),t.end,n)}function B5(e,t,n){return Ld(e.end,$P(t,n,!1),n)}function bte(e,t,n,s){const l=$P(t,n,s);return cP(n,e.end,l)}function tYe(e,t,n){return cP(n,e.end,t.end)}function mSe(e,t){return!Ld(e.pos,e.end,t)}function Ld(e,t,n){return cP(n,e,t)===0}function $P(e,t,n){return gh(e.pos)?-1:fo(t.text,e.pos,!1,n)}function hSe(e,t,n,s){const l=fo(n.text,e,!1,s),f=rYe(l,t,n);return cP(n,f??t,l)}function gSe(e,t,n,s){const l=fo(n.text,e,!1,s);return cP(n,e,Math.min(t,l))}function rYe(e,t=0,n){for(;e-- >t;)if(!zg(n.text.charCodeAt(e)))return e}function Tte(e){const t=Gs(e);if(t)switch(t.parent.kind){case 265:case 266:return t===t.parent.name}return!1}function qP(e){return gr(e.declarations,Ste)}function Ste(e){return bs(e)&&e.initializer!==void 0}function nYe(e){return e.watch&&uc(e,"watch")}function ig(e){e.close()}function ml(e){return e.flags&33554432?e.links.checkFlags:0}function pd(e,t=!1){if(e.valueDeclaration){const n=t&&e.declarations&&Ve(e.declarations,md)||e.flags&32768&&Ve(e.declarations,nm)||e.valueDeclaration,s=t1(n);return e.parent&&e.parent.flags&32?s:s&-29}if(ml(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 F_(e,t){return e.flags&2097152?t.getAliasedSymbol(e):e}function WP(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags}function cJ(e){return v4(e)===1}function HP(e){return v4(e)!==0}function v4(e){const{parent:t}=e;switch(t==null?void 0:t.kind){case 216:return v4(t);case 224:case 223:const{operator:n}=t;return n===46||n===47?2:0;case 225:const{left:s,operatorToken:l}=t;return s===e&&o1(l.kind)?l.kind===64?1:2:0;case 210:return t.name!==e?0:v4(t);case 302:{const f=v4(t.parent);return e===t.name?iYe(f):f}case 303:return e===t.objectAssignmentInitializer?0:v4(t.parent);case 208:return v4(t);default:return 0}}function iYe(e){switch(e){case 0:return 1;case 1:return 0;case 2:return 2;default:return R.assertNever(e)}}function xte(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(!xte(e[n],t[n]))return!1}else if(typeof e[n]!="function"&&e[n]!==t[n])return!1;return!0}function dd(e,t){e.forEach(t),e.clear()}function Zy(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 b4(e,t,n){Zy(e,t,n);const{createNewValue:s}=n;t.forEach((l,f)=>{e.has(f)||e.set(f,s(f,l))})}function ySe(e){if(e.flags&32){const t=Ky(e);return!!t&&gi(t,256)}return!1}function Ky(e){var t;return(t=e.declarations)==null?void 0:t.find(Ri)}function vi(e){return e.flags&138117121?e.objectFlags:0}function sYe(e,t){return!!zy(e,n=>t(n)?!0:void 0)}function lJ(e){return!!e&&!!e.declarations&&!!e.declarations[0]&&xO(e.declarations[0])}function vSe({moduleSpecifier:e}){return yo(e)?e.text:iu(e)}function kte(e){let t;return _a(e,n=>{Pd(n)&&(t=n)},n=>{for(let s=n.length-1;s>=0;s--)if(Pd(n[s])){t=n[s];break}}),t}function Dm(e,t,n=!0){return e.has(t)?!1:(e.set(t,n),!0)}function gw(e){return Ri(e)||Xf(e)||Ip(e)}function Cte(e){return e>=181&&e<=204||e===133||e===159||e===150||e===162||e===151||e===136||e===154||e===155||e===116||e===157||e===146||e===141||e===232||e===318||e===319||e===320||e===321||e===322||e===323||e===324}function jc(e){return e.kind===210||e.kind===211}function bSe(e){return e.kind===210?e.name:(R.assert(e.kind===211),e.argumentExpression)}function TSe(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}}function wte(e){return e.kind===274||e.kind===278}function GP(e){for(;jc(e);)e=e.expression;return e}function aYe(e,t){if(jc(e.parent)&&oSe(e))return n(e.parent);function n(s){if(s.kind===210){const l=t(s.name);if(l!==void 0)return l}else if(s.kind===211)if(He(s.argumentExpression)||Yo(s.argumentExpression)){const l=t(s.argumentExpression);if(l!==void 0)return l}else return;if(jc(s.expression))return n(s.expression);if(He(s.expression))return t(s.expression)}}function XP(e,t){for(;;){switch(e.kind){case 224:e=e.operand;continue;case 225:e=e.left;continue;case 226:e=e.condition;continue;case 214:e=e.tag;continue;case 212:if(t)return e;case 233:case 211:case 210:case 234:case 359:case 237:e=e.expression;continue}return e}}function oYe(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 cYe(e,t){this.flags=t,(R.isDebugging||qi)&&(this.checker=e)}function lYe(e,t){this.flags=t,R.isDebugging&&(this.checker=e)}function Ete(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 uYe(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 fYe(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 _Ye(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n||(s=>s)}function SSe(e){ore.push(e),e(Ru)}function xSe(e){Object.assign(Ru,e),te(ore,t=>t(Ru))}function Zg(e,t,n=0){return e.replace(/{(\d+)}/g,(s,l)=>""+R.checkDefined(t[+l+n]))}function kSe(e){eO=e}function CSe(e){!eO&&e&&(eO=e())}function so(e){return eO&&eO[e.key]||e.message}function T4(e,t,n,s){kee(void 0,t,n);let l=so(s);return arguments.length>4&&(l=Zg(l,arguments,4)),{file:void 0,start:t,length:n,messageText:l,category:s.category,code:s.code,reportsUnnecessary:s.reportsUnnecessary,fileName:e}}function pYe(e){return e.file===void 0&&e.start!==void 0&&e.length!==void 0&&typeof e.fileName=="string"}function wSe(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)pYe(f)&&f.fileName===n?(R.assertLessThanOrEqual(f.start,s),R.assertLessThanOrEqual(f.start+f.length,s),l.relatedInformation.push(wSe(f,t))):l.relatedInformation.push(f)}return l}function yw(e,t){const n=[];for(const s of e)n.push(wSe(s,t));return n}function vu(e,t,n,s){kee(e,t,n);let l=so(s);return arguments.length>4&&(l=Zg(l,arguments,4)),{file:e,start:t,length:n,messageText:l,category:s.category,code:s.code,reportsUnnecessary:s.reportsUnnecessary,reportsDeprecated:s.reportsDeprecated}}function Ate(e,t){let n=so(t);return arguments.length>2&&(n=Zg(n,arguments,2)),n}function Cl(e){let t=so(e);return arguments.length>1&&(t=Zg(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 uJ(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 ca(e,t){let n=so(t);return arguments.length>2&&(n=Zg(n,arguments,2)),{messageText:n,category:t.category,code:t.code,next:e===void 0||Array.isArray(e)?e:[e]}}function ESe(e,t){let n=e;for(;n.next;)n=n.next[0];n.next=[t]}function ASe(e){return e.file?e.file.path:void 0}function QP(e,t){return fJ(e,t)||dYe(e,t)||0}function fJ(e,t){return zf(ASe(e),ASe(t))||wc(e.start,t.start)||wc(e.length,t.length)||wc(e.code,t.code)||PSe(e.messageText,t.messageText)||0}function dYe(e,t){return!e.relatedInformation&&!t.relatedInformation?0:e.relatedInformation&&t.relatedInformation?wc(e.relatedInformation.length,t.relatedInformation.length)||te(e.relatedInformation,(n,s)=>{const l=t.relatedInformation[s];return QP(n,l)})||0:e.relatedInformation?-1:1}function PSe(e,t){if(typeof e=="string"&&typeof t=="string")return zf(e,t);if(typeof e=="string")return-1;if(typeof t=="string")return 1;let n=zf(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=PSe(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 j5(e){return e===4||e===2||e===1||e===6?1:0}function DSe(e){if(e.transformFlags&2)return a_(e)||QT(e)?e:_a(e,DSe)}function mYe(e){return e.isDeclarationFile?void 0:DSe(e)}function hYe(e){return(e.impliedNodeFormat===99||$l(e.fileName,[".cjs",".cts",".mjs",".mts"]))&&!e.isDeclarationFile?!0:void 0}function J5(e){switch(NSe(e)){case 3:return l=>{l.externalModuleIndicator=FO(l)||!l.isDeclarationFile||void 0};case 1:return l=>{l.externalModuleIndicator=FO(l)};case 2:const t=[FO];(e.jsx===4||e.jsx===5)&&t.push(mYe),t.push(hYe);const n=Wh(...t);return l=>void(l.externalModuleIndicator=n(l))}}function Eo(e){return e.target??(e.module===100&&9||e.module===199&&99||1)}function Zu(e){return typeof e.module=="number"?e.module:Eo(e)>=2?5:1}function _J(e){return e>=5&&e<=99}function wl(e){let t=e.moduleResolution;if(t===void 0)switch(Zu(e)){case 1:t=2;break;case 100:t=3;break;case 199:t=99;break;default:t=1;break}return t}function NSe(e){return e.moduleDetection||(Zu(e)===100||Zu(e)===199?3:2)}function pJ(e){switch(Zu(e)){case 1:case 2:case 5:case 6:case 7:case 99:case 100:case 199:return!0;default:return!1}}function Nm(e){return!!(e.isolatedModules||e.verbatimModuleSyntax)}function Pte(e){return e.verbatimModuleSyntax||e.isolatedModules&&e.preserveValueImports}function ISe(e){return e.allowUnreachableCode===!1}function OSe(e){return e.allowUnusedLabels===!1}function dJ(e){return!!(rm(e)&&e.declarationMap)}function sg(e){if(e.esModuleInterop!==void 0)return e.esModuleInterop;switch(Zu(e)){case 100:case 199:return!0}}function vw(e){return e.allowSyntheticDefaultImports!==void 0?e.allowSyntheticDefaultImports:sg(e)||Zu(e)===4||wl(e)===100}function bw(e){return e>=3&&e<=99||e===100}function mJ(e){return!!e.noDtsResolution||wl(e)!==100}function Dte(e){const t=wl(e);if(!bw(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}function gYe(e){const t=wl(e);if(!bw(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}function Ux(e){return e.resolveJsonModule!==void 0?e.resolveJsonModule:wl(e)===100}function rm(e){return!!(e.declaration||e.composite)}function zx(e){return!!(e.preserveConstEnums||Nm(e))}function U5(e){return!!(e.incremental||e.composite)}function Md(e,t){return e[t]===void 0?!!e.strict:!!e[t]}function z5(e){return e.allowJs===void 0?!!e.checkJs:e.allowJs}function V5(e){return e.useDefineForClassFields===void 0?Eo(e)>=9:e.useDefineForClassFields}function LSe(e,t){return W6(t,e,Fne)}function MSe(e,t){return W6(t,e,Rne)}function FSe(e,t){return W6(t,e,Bne)}function hJ(e,t){return t.strictFlag?Md(e,t.name):e[t.name]}function gJ(e){const t=e.jsx;return t===2||t===4||t===5}function yJ(e,t){const n=t==null?void 0:t.pragmas.get("jsximportsource"),s=ka(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 vJ(e,t){return e?`${e}/${t.jsx===5?"jsx-dev-runtime":"jsx-runtime"}`:void 0}function Nte(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 RSe(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=bc(g,e,t);sD(k)||(k=Vf(k),h!==!1&&!(n!=null&&n.has(k))&&(s||(s=sd())).add(Vf(h.realPath),g),(n||(n=new Map)).set(k,h))},setSymlinksFromResolutions(g,h){var k,T;R.assert(!f),f=!0;for(const C of g)(k=C.resolvedModules)==null||k.forEach(D=>d(this,D.resolvedModule)),(T=C.resolvedTypeReferenceDirectiveNames)==null||T.forEach(D=>d(this,D.resolvedTypeReferenceDirective));h.forEach(C=>d(this,C.resolvedTypeReferenceDirective))},hasProcessedResolutions:()=>f};function d(g,h){if(!h||!h.originalPath||!h.resolvedFileName)return;const{resolvedFileName:k,originalPath:T}=h;g.setSymlinkedFile(bc(T,e,t),k);const[C,D]=yYe(k,T,e,t)||ft;C&&D&&g.setSymlinkedDirectory(D,{real:C,realPath:bc(C,e,t)})}}function yYe(e,t,n,s){const l=Ou(ua(e,n)),f=Ou(ua(t,n));let d=!1;for(;l.length>=2&&f.length>=2&&!BSe(l[l.length-2],s)&&!BSe(f[f.length-2],s)&&s(l[l.length-1])===s(f[f.length-1]);)l.pop(),f.pop(),d=!0;return d?[mv(l),mv(f)]:void 0}function BSe(e,t){return e!==void 0&&(t(e)==="node_modules"||Xs(e,"@"))}function vYe(e){return hK(e.charCodeAt(0))?e.slice(1):void 0}function Ite(e,t,n){const s=tZ(e,t,n);return s===void 0?void 0:vYe(s)}function bYe(e){return e.replace(DJ,TYe)}function TYe(e){return"\\"+e}function YP(e,t,n){const s=bJ(e,t,n);return!s||!s.length?void 0:`^(${s.map(d=>`(${d})`).join("|")})${n==="exclude"?"($|/)":"$"}`}function bJ(e,t,n){if(!(e===void 0||e.length===0))return ln(e,s=>s&&jSe(s,t,n,_re[n]))}function Ote(e){return!/[.*?]/.test(e)}function Lte(e,t,n){const s=e&&jSe(e,t,n,_re[n]);return s&&`^(${s})${n==="exclude"?"($|/)":"$"}`}function jSe(e,t,n,{singleAsteriskRegexFragment:s,doubleAsteriskRegexFragment:l,replaceWildcardCharacter:f}){let d="",g=!1;const h=kI(e,t),k=To(h);if(n!=="exclude"&&k==="**")return;h[0]=ST(h[0]),Ote(k)&&h.push("**","*");let T=0;for(let C of h){if(C==="**")d+=l;else if(n==="directories"&&(d+="(",T++),g&&(d+=zc),n!=="exclude"){let D="";C.charCodeAt(0)===42?(D+="([^./]"+s+")?",C=C.substr(1)):C.charCodeAt(0)===63&&(D+="[^./]",C=C.substr(1)),D+=C.replace(DJ,f),D!==C&&(d+=NJ),d+=D}else d+=C.replace(DJ,f);g=!0}for(;T>0;)d+=")?",T--;return d}function Mte(e,t){return e==="*"?t:e==="?"?"[^/]":"\\"+e}function ZP(e,t,n,s,l){e=So(e),l=So(l);const f=vs(l,e);return{includeFilePatterns:qt(bJ(n,f,"files"),d=>`^${d}$`),includeFilePattern:YP(n,f,"files"),includeDirectoryPattern:YP(n,f,"directories"),excludePattern:YP(t,f,"exclude"),basePaths:SYe(e,n,s)}}function Nv(e,t){return new RegExp(e,t?"":"i")}function Fte(e,t,n,s,l,f,d,g,h){e=So(e),f=So(f);const k=ZP(e,n,s,l,f),T=k.includeFilePatterns&&k.includeFilePatterns.map(H=>Nv(H,l)),C=k.includeDirectoryPattern&&Nv(k.includeDirectoryPattern,l),D=k.excludePattern&&Nv(k.excludePattern,l),O=T?T.map(()=>[]):[[]],M=new Map,U=nf(l);for(const H of k.basePaths)B(H,vs(f,H),d);return $n(O);function B(H,Y,Z){const fe=U(h(Y));if(M.has(fe))return;M.set(fe,!0);const{files:Q,directories:he}=g(H);for(const W of gx(Q,zf)){const ye=vs(H,W),de=vs(Y,W);if(!(t&&!$l(ye,t))&&!(D&&D.test(de)))if(!T)O[0].push(ye);else{const Ce=ir(T,K=>K.test(de));Ce!==-1&&O[Ce].push(ye)}}if(!(Z!==void 0&&(Z--,Z===0)))for(const W of gx(he,zf)){const ye=vs(H,W),de=vs(Y,W);(!C||C.test(de))&&(!D||!D.test(de))&&B(ye,de,Z)}}}function SYe(e,t,n){const s=[e];if(t){const l=[];for(const f of t){const d=fh(f)?f:So(vs(e,f));l.push(xYe(d))}l.sort(_B(!n));for(const f of l)ot(s,d=>!gv(d,f,e,!n))&&s.push(f)}return s}function xYe(e){const t=pr(e,mxe);return t<0?N6(e)?ST(cs(e)):e:e.substring(0,e.lastIndexOf(zc,t))}function TJ(e,t){return t||Rte(e)||3}function Rte(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 KP(e,t){const n=e&&z5(e);if(!t||t.length===0)return n?tO:P4;const s=n?tO:P4,l=$n(s);return[...s,...lr(t,d=>d.scriptKind===7||n&&kYe(d.scriptKind)&&l.indexOf(d.extension)===-1?[d.extension]:void 0)]}function $5(e,t){return!e||!Ux(e)?t:t===tO?yxe:t===P4?hxe:[...t,[".json"]]}function kYe(e){return e===1||e===2}function zT(e){return Ne(fD,t=>Vl(e,t))}function eD(e){return Ne(pre,t=>Vl(e,t))}function JSe({imports:e},t=Wh(zT,eD)){return $e(e,({text:n})=>kp(n)&&!$l(n,rO)?t(n):void 0)||!1}function Bte(e,t,n,s){if(e==="js"||t===99)return tA(n)&&l()!==2?3:2;if(e==="minimal")return 0;if(e==="index")return 1;if(!tA(n))return JSe(s)?2:0;return l();function l(){let f=!1;const d=s.imports.length?s.imports.map(g=>g.text):qf(s)?CYe(s).map(g=>g.arguments[0].text):ft;for(const g of d)if(kp(g)){if($l(g,rO))continue;if(eD(g))return 3;zT(g)&&(f=!0)}return f?2:0}}function CYe(e){let t=0,n;for(const s of e.statements){if(t>3)break;Fee(s)?n=wr(n,s.declarationList.declarations.map(l=>l.initializer)):of(s)&&M_(s.expression,!0)?n=zr(n,s.expression):t++}return n||ft}function USe(e,t,n){if(!e)return!1;const s=KP(t,n);for(const l of $n($5(t,s)))if(Vl(e,l))return!0;return!1}function zSe(e){const t=e.match(/\//g);return t?t.length:0}function q5(e,t){return wc(zSe(e),zSe(t))}function R_(e){for(const t of LJ){const n=VSe(e,t);if(n!==void 0)return n}return e}function VSe(e,t){return Vl(e,t)?W5(e,t):void 0}function W5(e,t){return e.substring(0,e.length-t.length)}function VT(e,t){return bK(e,t,LJ,!1)}function S4(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 SJ(e){return lr(Jy(e),t=>S4(t))}function gh(e){return!(e>=0)}function xJ(e){return e===".ts"||e===".tsx"||e===".d.ts"||e===".cts"||e===".mts"||e===".d.mts"||e===".d.cts"||Xs(e,".d.")&&Sl(e,".ts")}function H5(e){return xJ(e)||e===".json"}function Vx(e){const t=Kg(e);return t!==void 0?t:R.fail(`File ${e} has unknown extension.`)}function wYe(e){return Kg(e)!==void 0}function Kg(e){return Ve(LJ,t=>Vl(e,t))}function G5(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs}function jte(e,t){const n=[];for(const s of e){if(s===t)return t;Wa(s)||n.push(s)}return eZ(n,s=>s,t)}function Jte(e,t){const n=e.indexOf(t);return R.assert(n!==-1),e.slice(n)}function ho(e,...t){return t.length&&(e.relatedInformation||(e.relatedInformation=[]),R.assert(e.relatedInformation!==ft,"Diagnostic had empty array singleton for related info, but is still being constructed!"),e.relatedInformation.push(...t)),e}function $Se(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 Ute(e){return{pos:Dx(e),end:e.end}}function zte(e,t){const n=t.pos-1,s=Math.min(e.text.length,fo(e.text,t.end)+1);return{pos:n,end:s}}function tD(e,t,n){return t.skipLibCheck&&e.isDeclarationFile||t.skipDefaultLibCheck&&e.hasNoDefaultLib||n.isSourceOfProjectReferenceRedirect(e.fileName)}function Vte(e,t){return e===t||typeof e=="object"&&e!==null&&typeof t=="object"&&t!==null&&wve(e,t,Vte)}function rD(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 T=0;for(;e.charCodeAt(T)===48;)T++;return e.slice(T,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,T=0;k>=n;k--,T+=t){const C=T>>>4,D=e.charCodeAt(k),M=(D<=57?D-48:10+D-(D<=70?65:97))<<(T&15);f[C]|=M;const U=M>>>16;U&&(f[C+1]|=U)}let d="",g=f.length-1,h=!0;for(;h;){let k=0;h=!1;for(let T=g;T>=0;T--){const C=k<<16|f[T],D=C/10|0;f[T]=D,k=C-D*10,D&&!h&&(g=T,h=!0)}d=k+d}return d}function $T({negative:e,base10Value:t}){return(e&&t!=="0"?"-":"")+t}function qSe(e){if(kJ(e,!1))return $te(e)}function $te(e){const t=e.startsWith("-"),n=rD(`${t?e.slice(1):e}n`);return{negative:t,base10Value:n}}function kJ(e,t){if(e==="")return!1;const n=e1(99,!1);let s=!0;n.setOnError(()=>s=!1),n.setText(e+"n");let l=n.scan();const f=l===41;f&&(l=n.scan());const d=n.getTokenFlags();return s&&l===10&&n.getTokenEnd()===e.length+1&&!(d&512)&&(!t||e===$T({negative:f,base10Value:rD(n.getTokenValue())}))}function $x(e){return!!(e.flags&16777216)||Bj(e)||PYe(e)||AYe(e)||!(Xy(e)||EYe(e))}function EYe(e){return He(e)&&hd(e.parent)&&e.parent.name===e}function AYe(e){for(;e.kind===80||e.kind===210;)e=e.parent;if(e.kind!==166)return!1;if(gi(e.parent,256))return!0;const t=e.parent.parent.kind;return t===263||t===186}function PYe(e){if(e.kind!==80)return!1;const t=mn(e.parent,n=>{switch(n.kind){case 297:return!0;case 210:case 232:return!1;default:return"quit"}});return(t==null?void 0:t.token)===119||(t==null?void 0:t.parent.kind)===263}function WSe(e){return Im(e)&&He(e.typeName)}function HSe(e,t=Ub){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 nD(e,t){return e.pos=t,e}function x4(e,t){return e.end=t,e}function ag(e,t,n){return x4(nD(e,t),n)}function iD(e,t,n){return ag(e,t,t+n)}function GSe(e,t){return e&&(e.flags=t),e}function ko(e,t){return e&&t&&(e.parent=t),e}function k4(e,t){if(e)for(const n of e)ko(n,t);return e}function Iv(e,t){if(!e)return e;return OD(e,$6(e)?n:l),e;function n(f,d){if(t&&f.parent===d)return"skip";ko(f,d)}function s(f){if(Ap(f))for(const d of f.jsDoc)n(d,f),OD(d,n)}function l(f,d){return n(f,d)||s(f)}}function DYe(e){return!bu(e)}function qte(e){return Hf(e)&&ot(e.elements,DYe)}function XSe(e){for(R.assertIsDefined(e.parent);;){const t=e.parent;if(j_(t)){e=t;continue}if(of(t)||Lw(t)||Xx(t)&&(t.initializer===e||t.incrementor===e))return!0;if(xD(t)){if(e!==To(t.elements))return!0;e=t;continue}if(Bn(t)&&t.operatorToken.kind===28){if(e===t.left)return!0;e=t;continue}return!1}}function sD(e){return Ne(SI,t=>rf(e,t))}function QSe(e){if(!e.parent)return;switch(e.kind){case 167:const{parent:n}=e;return n.kind===194?void 0:n.typeParameters;case 168:return e.parent.parameters;case 203:return e.parent.templateSpans;case 238:return e.parent.templateSpans;case 169:{const{parent:s}=e;return Jw(s)?s.modifiers:void 0}case 297:return e.parent.heritageClauses}const{parent:t}=e;if(q6(e))return z4(e.parent)?void 0:e.parent.tags;switch(t.kind){case 186:case 263:return wx(e)?t.members:void 0;case 191:case 192:return t.types;case 188:case 208:case 360:case 274:case 278:return t.elements;case 209:case 291:return t.properties;case 212:case 213:return ys(e)?t.typeArguments:t.expression===e?void 0:t.arguments;case 283:case 287:return WI(e)?t.children:void 0;case 285:case 284:return ys(e)?t.typeArguments:void 0;case 240:case 295:case 296:case 267:return t.statements;case 268:return t.clauses;case 262:case 230:return Mu(e)?t.members:void 0;case 265:return KT(e)?t.members:void 0;case 311:return t.statements}}function CJ(e){if(!e.typeParameters){if(Ne(e.parameters,t=>!Yu(t)))return!0;if(e.kind!==218){const t=Hu(e.parameters);if(!(t&&jT(t)))return!0}}return!1}function aD(e){return e==="Infinity"||e==="-Infinity"||e==="NaN"}function YSe(e){return e.kind===259&&e.parent.kind===298}function Wte(e){const t=e.valueDeclaration&&tg(e.valueDeclaration);return!!t&&(ea(t)||YSe(t))}function C4(e){return e.kind===217||e.kind===218}function qT(e){return e.replace(/\$/gm,()=>"\\$")}function ey(e){return(+e).toString()===e}function wJ(e,t,n,s){return od(e,t)?V.createIdentifier(e):!s&&ey(e)&&+e>=0?V.createNumericLiteral(+e):V.createStringLiteral(e,!!n)}function oD(e){return!!(e.flags&262144&&e.isThisType)}function Hte(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(h1,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(h1,d)===d?h=1:h=3;break}return l=d,h>1?{topLevelNodeModulesIndex:t,topLevelPackageNameIndex:n,packageRootIndex:s,fileNameIndex:l}:void 0}function NYe(e){var t;return e.kind===347?(t=e.typeExpression)==null?void 0:t.type:e.type}function w4(e){switch(e.kind){case 167:case 262:case 263:case 264:case 265:case 352:case 344:case 346:return!0;case 272:return e.isTypeOnly;case 275:case 280:return e.parent.parent.isTypeOnly;default:return!1}}function X5(e){return s2(e)||Yl(e)||au(e)||Su(e)||Xf(e)||w4(e)||Al(e)&&!DT(e)&&!dh(e)}function Q5(e){if(!tj(e))return!1;const{isBracketed:t,typeExpression:n}=e;return t||!!n&&n.type.kind===322}function Gte(e,t){if(e.length===0)return!1;const n=e.charCodeAt(0);return n===35?e.length>1&&$g(e.charCodeAt(1),t):$g(n,t)}function ZSe(e){var t;return((t=wre(e))==null?void 0:t.kind)===0}function Y5(e){return Mn(e)&&(e.type&&e.type.kind===322||R6(e).some(({isBracketed:t,typeExpression:n})=>t||!!n&&n.type.kind===322))}function Xte(e){switch(e.kind){case 171:case 170:return!!e.questionToken;case 168:return!!e.questionToken||Y5(e);case 354:case 347:return Q5(e);default:return!1}}function KSe(e){const t=e.kind;return(t===210||t===211)&&Mw(e.expression)}function Qte(e){return Mn(e)&&j_(e)&&Ap(e)&&!!RK(e)}function Yte(e){return R.checkDefined(EJ(e))}function EJ(e){const t=RK(e);return t&&t.typeExpression&&t.typeExpression.type}function cD(e){return He(e)?e.escapedText:E4(e)}function Z5(e){return He(e)?Zn(e):lD(e)}function exe(e){const t=e.kind;return t===80||t===294}function E4(e){return`${e.namespace.escapedText}:${Zn(e.name)}`}function lD(e){return`${Zn(e.namespace)}:${Zn(e.name)}`}function Zte(e){return He(e)?Zn(e):lD(e)}var AJ,Ov,K5,PJ,uD,Kte,ere,txe,rxe,tre,nxe,ixe,rre,nre,ire,sre,sxe,axe,oxe,cxe,lxe,are,uxe,fxe,_xe,A4,WT,pxe,dxe,Ru,ore,eO,DJ,mxe,cre,NJ,lre,ure,fre,_re,P4,pre,hxe,gxe,dre,fD,tO,yxe,IJ,OJ,rO,mre,LJ,MJ,IYe=p({"src/compiler/utilities.ts"(){Ba(),AJ=[],Ov="tslib",K5=160,PJ=1e6,uD=dQe(),Kte=(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))(Kte||{}),ere=/^(\/\/\/\s*<reference\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,txe=/^(\/\/\/\s*<reference\s+types\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,rxe=/^(\/\/\/\s*<reference\s+lib\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,tre=/^(\/\/\/\s*<amd-dependency\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,nxe=/^\/\/\/\s*<amd-module\s+.*?\/>/,ixe=/^(\/\/\/\s*<reference\s+no-default-lib\s*=\s*)(('[^']*')|("[^"]*"))\s*\/>/,rre=(e=>(e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound",e))(rre||{}),nre=(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))(nre||{}),ire=(e=>(e[e.Left=0]="Left",e[e.Right=1]="Right",e))(ire||{}),sre=(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))(sre||{}),sxe=/\$\{/g,axe=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,oxe=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,cxe=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,lxe=new Map(Object.entries({" ":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"})),are=/[^\u0000-\u007F]/g,uxe=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,fxe=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,_xe=new Map(Object.entries({'"':"&quot;","'":"&apos;"})),A4=[""," "],WT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",pxe=`\r
`,dxe=`
`,Ru={getNodeConstructor:()=>Ete,getTokenConstructor:()=>uYe,getIdentifierConstructor:()=>fYe,getPrivateIdentifierConstructor:()=>Ete,getSourceFileConstructor:()=>Ete,getSymbolConstructor:()=>oYe,getTypeConstructor:()=>cYe,getSignatureConstructor:()=>lYe,getSourceMapSourceConstructor:()=>_Ye},ore=[],DJ=/[^\w\s\/]/g,mxe=[42,63],cre=["node_modules","bower_components","jspm_packages"],NJ=`(?!(${cre.join("|")})(/|$))`,lre={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(/${NJ}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>Mte(e,lre.singleAsteriskRegexFragment)},ure={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(/${NJ}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>Mte(e,ure.singleAsteriskRegexFragment)},fre={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:e=>Mte(e,fre.singleAsteriskRegexFragment)},_re={files:lre,directories:ure,exclude:fre},P4=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]],pre=$n(P4),hxe=[...P4,[".json"]],gxe=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx"],dre=[[".js",".jsx"],[".mjs"],[".cjs"]],fD=$n(dre),tO=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],yxe=[...tO,[".json"]],IJ=[".d.ts",".d.cts",".d.mts"],OJ=[".ts",".cts",".mts",".tsx"],rO=[".mts",".d.mts",".mjs",".cts",".d.cts",".cjs"],mre=(e=>(e[e.Minimal=0]="Minimal",e[e.Index=1]="Index",e[e.JsExtension=2]="JsExtension",e[e.TsExtension=3]="TsExtension",e))(mre||{}),LJ=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"],MJ={files:ft,directories:ft}}});function vxe(){let e,t,n,s,l;return{createBaseSourceFileNode:f,createBaseIdentifierNode:d,createBasePrivateIdentifierNode:g,createBaseTokenNode:h,createBaseNode:k};function f(T){return new(l||(l=Ru.getSourceFileConstructor()))(T,-1,-1)}function d(T){return new(n||(n=Ru.getIdentifierConstructor()))(T,-1,-1)}function g(T){return new(s||(s=Ru.getPrivateIdentifierConstructor()))(T,-1,-1)}function h(T){return new(t||(t=Ru.getTokenConstructor()))(T,-1,-1)}function k(T){return new(e||(e=Ru.getNodeConstructor()))(T,-1,-1)}}var OYe=p({"src/compiler/factory/baseNodeFactory.ts"(){Ba()}});function bxe(e){let t,n;return{getParenthesizeLeftSideOfBinaryForOperator:s,getParenthesizeRightSideOfBinaryForOperator:l,parenthesizeLeftSideOfBinary:k,parenthesizeRightSideOfBinary:T,parenthesizeExpressionOfComputedPropertyName:C,parenthesizeConditionOfConditionalExpression:D,parenthesizeBranchOfConditionalExpression:O,parenthesizeExpressionOfExportDefault:M,parenthesizeExpressionOfNew:U,parenthesizeLeftSideOfAccess:B,parenthesizeOperandOfPostfixUnary:H,parenthesizeOperandOfPrefixUnary:Y,parenthesizeExpressionsOfCommaDelimitedList:Z,parenthesizeExpressionForDisallowedComma:fe,parenthesizeExpressionOfExpressionStatement:Q,parenthesizeConciseBodyOfArrowFunction:he,parenthesizeCheckTypeOfConditionalType:W,parenthesizeExtendsTypeOfConditionalType:ye,parenthesizeConstituentTypesOfUnionType:Ce,parenthesizeConstituentTypeOfUnionType:de,parenthesizeConstituentTypesOfIntersectionType:ce,parenthesizeConstituentTypeOfIntersectionType:K,parenthesizeOperandOfTypeOperator:le,parenthesizeOperandOfReadonlyTypeOperator:xe,parenthesizeNonArrayTypeOfPostfixType:we,parenthesizeElementTypesOfTupleType:Ie,parenthesizeElementTypeOfTupleType:ue,parenthesizeTypeOfOptionalType:Ge,parenthesizeTypeArguments:Me,parenthesizeLeadingTypeArgument:qe};function s(ze){t||(t=new Map);let st=t.get(ze);return st||(st=et=>k(ze,et),t.set(ze,st)),st}function l(ze){n||(n=new Map);let st=n.get(ze);return st||(st=et=>T(ze,void 0,et),n.set(ze,st)),st}function f(ze,st,et,je){const _t=E5(225,ze),Lt=Zee(225,ze),Dt=Xd(st);if(!et&&st.kind===218&&_t>3)return!0;const Xt=Zj(Dt);switch(wc(Xt,_t)){case-1:return!(!et&&Lt===1&&st.kind===228);case 1:return!1;case 0:if(et)return Lt===1;if(Bn(Dt)&&Dt.operatorToken.kind===ze){if(d(ze))return!1;if(ze===40){const Bt=je?g(je):0;if(hP(Bt)&&Bt===g(Dt))return!1}}return Yee(Dt)===0}}function d(ze){return ze===42||ze===52||ze===51||ze===53||ze===28}function g(ze){if(ze=Xd(ze),hP(ze.kind))return ze.kind;if(ze.kind===225&&ze.operatorToken.kind===40){if(ze.cachedLiteralKind!==void 0)return ze.cachedLiteralKind;const st=g(ze.left),et=hP(st)&&st===g(ze.right)?st:0;return ze.cachedLiteralKind=et,et}return 0}function h(ze,st,et,je){return Xd(st).kind===216?st:f(ze,st,et,je)?e.createParenthesizedExpression(st):st}function k(ze,st){return h(ze,st,!0)}function T(ze,st,et){return h(ze,et,!1,st)}function C(ze){return ND(ze)?e.createParenthesizedExpression(ze):ze}function D(ze){const st=E5(226,58),et=Xd(ze),je=Zj(et);return wc(je,st)!==1?e.createParenthesizedExpression(ze):ze}function O(ze){const st=Xd(ze);return ND(st)?e.createParenthesizedExpression(ze):ze}function M(ze){const st=Xd(ze);let et=ND(st);if(!et)switch(XP(st,!1).kind){case 230:case 217:et=!0}return et?e.createParenthesizedExpression(ze):ze}function U(ze){const st=XP(ze,!0);switch(st.kind){case 212:return e.createParenthesizedExpression(ze);case 213:return st.arguments?ze:e.createParenthesizedExpression(ze)}return B(ze)}function B(ze,st){const et=Xd(ze);return L_(et)&&(et.kind!==213||et.arguments)&&(st||!Tf(et))?ze:wt(e.createParenthesizedExpression(ze),ze)}function H(ze){return L_(ze)?ze:wt(e.createParenthesizedExpression(ze),ze)}function Y(ze){return QK(ze)?ze:wt(e.createParenthesizedExpression(ze),ze)}function Z(ze){const st=$s(ze,fe);return wt(e.createNodeArray(st,ze.hasTrailingComma),ze)}function fe(ze){const st=Xd(ze),et=Zj(st),je=E5(225,28);return et>je?ze:wt(e.createParenthesizedExpression(ze),ze)}function Q(ze){const st=Xd(ze);if(Ra(st)){const je=st.expression,_t=Xd(je).kind;if(_t===217||_t===218){const Lt=e.updateCallExpression(st,wt(e.createParenthesizedExpression(je),je),st.typeArguments,st.arguments);return e.restoreOuterExpressions(ze,Lt,8)}}const et=XP(st,!1).kind;return et===209||et===217?wt(e.createParenthesizedExpression(ze),ze):ze}function he(ze){return!Pa(ze)&&(ND(ze)||XP(ze,!1).kind===209)?wt(e.createParenthesizedExpression(ze),ze):ze}function W(ze){switch(ze.kind){case 183:case 184:case 193:return e.createParenthesizedType(ze)}return ze}function ye(ze){switch(ze.kind){case 193:return e.createParenthesizedType(ze)}return ze}function de(ze){switch(ze.kind){case 191:case 192:return e.createParenthesizedType(ze)}return W(ze)}function Ce(ze){return e.createNodeArray($s(ze,de))}function K(ze){switch(ze.kind){case 191:case 192:return e.createParenthesizedType(ze)}return de(ze)}function ce(ze){return e.createNodeArray($s(ze,K))}function le(ze){switch(ze.kind){case 192:return e.createParenthesizedType(ze)}return K(ze)}function xe(ze){switch(ze.kind){case 197:return e.createParenthesizedType(ze)}return le(ze)}function we(ze){switch(ze.kind){case 194:case 197:case 185:return e.createParenthesizedType(ze)}return le(ze)}function Ie(ze){return e.createNodeArray($s(ze,ue))}function ue(ze){return ut(ze)?e.createParenthesizedType(ze):ze}function ut(ze){return J4(ze)?ze.postfix:bD(ze)||ry(ze)||yD(ze)||Nw(ze)?ut(ze.type):M4(ze)?ut(ze.falseType):Aw(ze)||yO(ze)?ut(To(ze.types)):Pw(ze)?!!ze.typeParameter.constraint&&ut(ze.typeParameter.constraint):!1}function Ge(ze){return ut(ze)?e.createParenthesizedType(ze):we(ze)}function qe(ze){return y2e(ze)&&ze.typeParameters?e.createParenthesizedType(ze):ze}function Ke(ze,st){return st===0?qe(ze):ze}function Me(ze){if(Ne(ze))return e.createNodeArray($s(ze,Ke))}}var hre,LYe=p({"src/compiler/factory/parenthesizerRules.ts"(){Ba(),hre={getParenthesizeLeftSideOfBinaryForOperator:e=>Kc,getParenthesizeRightSideOfBinaryForOperator:e=>Kc,parenthesizeLeftSideOfBinary:(e,t)=>t,parenthesizeRightSideOfBinary:(e,t,n)=>n,parenthesizeExpressionOfComputedPropertyName:Kc,parenthesizeConditionOfConditionalExpression:Kc,parenthesizeBranchOfConditionalExpression:Kc,parenthesizeExpressionOfExportDefault:Kc,parenthesizeExpressionOfNew:e=>Ua(e,L_),parenthesizeLeftSideOfAccess:e=>Ua(e,L_),parenthesizeOperandOfPostfixUnary:e=>Ua(e,L_),parenthesizeOperandOfPrefixUnary:e=>Ua(e,QK),parenthesizeExpressionsOfCommaDelimitedList:e=>Ua(e,wT),parenthesizeExpressionForDisallowedComma:Kc,parenthesizeExpressionOfExpressionStatement:Kc,parenthesizeConciseBodyOfArrowFunction:Kc,parenthesizeCheckTypeOfConditionalType:Kc,parenthesizeExtendsTypeOfConditionalType:Kc,parenthesizeConstituentTypesOfUnionType:e=>Ua(e,wT),parenthesizeConstituentTypeOfUnionType:Kc,parenthesizeConstituentTypesOfIntersectionType:e=>Ua(e,wT),parenthesizeConstituentTypeOfIntersectionType:Kc,parenthesizeOperandOfTypeOperator:Kc,parenthesizeOperandOfReadonlyTypeOperator:Kc,parenthesizeNonArrayTypeOfPostfixType:Kc,parenthesizeElementTypesOfTupleType:e=>Ua(e,wT),parenthesizeElementTypeOfTupleType:Kc,parenthesizeTypeOfOptionalType:Kc,parenthesizeTypeArguments:e=>e&&Ua(e,wT),parenthesizeLeadingTypeArgument:Kc}}});function Txe(e){return{convertToFunctionBlock:t,convertToFunctionExpression:n,convertToArrayAssignmentElement:s,convertToObjectAssignmentElement:l,convertToAssignmentPattern:f,convertToObjectAssignmentPattern:d,convertToArrayAssignmentPattern:g,convertToAssignmentElementTarget:h};function t(k,T){if(Pa(k))return k;const C=e.createReturnStatement(k);wt(C,k);const D=e.createBlock([C],T);return wt(D,k),D}function n(k){if(!k.body)return R.fail("Cannot convert a FunctionDeclaration without a body");const T=e.createFunctionExpression(xx(k),k.asteriskToken,k.name,k.typeParameters,k.parameters,k.type,k.body);return oi(T,k),wt(T,k),cO(k)&&Cre(T,!0),T}function s(k){if(Lo(k)){if(k.dotDotDotToken)return R.assertNode(k.name,He),oi(wt(e.createSpreadElement(k.name),k),k);const T=h(k.name);return k.initializer?oi(wt(e.createAssignment(T,k.initializer),k),k):T}return Ua(k,Ct)}function l(k){if(Lo(k)){if(k.dotDotDotToken)return R.assertNode(k.name,He),oi(wt(e.createSpreadAssignment(k.name),k),k);if(k.propertyName){const T=h(k.name);return oi(wt(e.createPropertyAssignment(k.propertyName,k.initializer?e.createAssignment(T,k.initializer):T),k),k)}return R.assertNode(k.name,He),oi(wt(e.createShorthandPropertyAssignment(k.name,k.initializer),k),k)}return Ua(k,n1)}function f(k){switch(k.kind){case 206:case 208:return g(k);case 205:case 209:return d(k)}}function d(k){return Om(k)?oi(wt(e.createObjectLiteralExpression(qt(k.elements,l)),k),k):Ua(k,jo)}function g(k){return Ow(k)?oi(wt(e.createArrayLiteralExpression(qt(k.elements,s)),k),k):Ua(k,Hf)}function h(k){return Fa(k)?f(k):Ua(k,Ct)}}var gre,MYe=p({"src/compiler/factory/nodeConverters.ts"(){Ba(),gre={convertToFunctionBlock:Ta,convertToFunctionExpression:Ta,convertToArrayAssignmentElement:Ta,convertToObjectAssignmentElement:Ta,convertToAssignmentPattern:Ta,convertToObjectAssignmentPattern:Ta,convertToArrayAssignmentPattern:Ta,convertToAssignmentElementTarget:Ta}}});function FYe(e){Sre.push(e)}function nO(e,t){const n=e&8?RYe:BYe,s=tp(()=>e&1?hre:bxe(H)),l=tp(()=>e&2?gre:Txe(H)),f=qh(w=>(F,q)=>nt(F,w,q)),d=qh(w=>F=>cy(w,F)),g=qh(w=>F=>yg(F,w)),h=qh(w=>()=>pp(w)),k=qh(w=>F=>rb(w,F)),T=qh(w=>(F,q)=>Jk(w,F,q)),C=qh(w=>(F,q)=>x2(w,F,q)),D=qh(w=>(F,q)=>AA(w,F,q)),O=qh(w=>(F,q)=>Td(w,F,q)),M=qh(w=>(F,q,ge)=>m0(w,F,q,ge)),U=qh(w=>(F,q,ge)=>D2(w,F,q,ge)),B=qh(w=>(F,q,ge,Ze)=>rl(w,F,q,ge,Ze)),H={get parenthesizer(){return s()},get converters(){return l()},baseFactory:t,flags:e,createNodeArray:Y,createNumericLiteral:he,createBigIntLiteral:W,createStringLiteral:de,createStringLiteralFromNode:Ce,createRegularExpressionLiteral:K,createLiteralLikeNode:ce,createIdentifier:we,createTempVariable:Ie,createLoopVariable:ue,createUniqueName:ut,getGeneratedNameForNode:Ge,createPrivateIdentifier:Ke,createUniquePrivateName:ze,getGeneratedPrivateNameForNode:st,createToken:je,createSuper:_t,createThis:Lt,createNull:Dt,createTrue:Xt,createFalse:Ye,createModifier:Bt,createModifiersFromModifierFlags:vr,createQualifiedName:Ar,updateQualifiedName:Ht,createComputedPropertyName:tn,updateComputedPropertyName:hn,createTypeParameterDeclaration:Br,updateTypeParameterDeclaration:Cn,createParameterDeclaration:ci,updateParameterDeclaration:Ji,createDecorator:ws,updateDecorator:ui,createPropertySignature:Pt,updatePropertySignature:Dr,createPropertyDeclaration:Qr,updatePropertyDeclaration:_n,createMethodSignature:Nn,updateMethodSignature:ks,createMethodDeclaration:ls,updateMethodDeclaration:Yr,createConstructorDeclaration:pt,updateConstructorDeclaration:Nt,createGetAccessorDeclaration:Ut,updateGetAccessorDeclaration:rr,createSetAccessorDeclaration:at,updateSetAccessorDeclaration:xt,createCallSignature:mt,updateCallSignature:_r,createConstructSignature:Fe,updateConstructSignature:Gt,createIndexSignature:zt,updateIndexSignature:Lr,createClassStaticBlockDeclaration:rn,updateClassStaticBlockDeclaration:qr,createTemplateLiteralTypeSpan:ii,updateTemplateLiteralTypeSpan:Gn,createKeywordTypeNode:Rn,createTypePredicateNode:L,updateTypePredicateNode:Se,createTypeReferenceNode:pe,updateTypeReferenceNode:ke,createFunctionTypeNode:ve,updateFunctionTypeNode:Te,createConstructorTypeNode:vt,updateConstructorTypeNode:Vt,createTypeQueryNode:bi,updateTypeQueryNode:Vi,createTypeLiteralNode:rs,updateTypeLiteralNode:qs,createArrayTypeNode:Ys,updateArrayTypeNode:Oi,createTupleTypeNode:Js,updateTupleTypeNode:Es,createNamedTupleMember:Li,updateNamedTupleMember:Zs,createOptionalTypeNode:Hc,updateOptionalTypeNode:rc,createRestTypeNode:nn,updateRestTypeNode:ta,createUnionTypeNode:Rc,updateUnionTypeNode:Dl,createIntersectionTypeNode:Nl,updateIntersectionTypeNode:ku,createConditionalTypeNode:la,updateConditionalTypeNode:Ns,createInferTypeNode:Wl,updateInferTypeNode:Gc,createImportTypeNode:Vu,updateImportTypeNode:pc,createParenthesizedType:hl,updateParenthesizedType:Sc,createThisTypeNode:Jc,createTypeOperatorNode:br,updateTypeOperatorNode:Bl,createIndexedAccessTypeNode:ff,updateIndexedAccessTypeNode:Cu,createMappedTypeNode:be,updateMappedTypeNode:ie,createLiteralTypeNode:Je,updateLiteralTypeNode:Et,createTemplateLiteralType:Af,updateTemplateLiteralType:Zl,createObjectBindingPattern:Rt,updateObjectBindingPattern:In,createArrayBindingPattern:Wn,updateArrayBindingPattern:hi,createBindingElement:di,updateBindingElement:Us,createArrayLiteralExpression:Va,updateArrayLiteralExpression:tl,createObjectLiteralExpression:ic,updateObjectLiteralExpression:sc,createPropertyAccessExpression:e&4?(w,F)=>An(cl(w,F),262144):cl,updatePropertyAccessExpression:Mo,createPropertyAccessChain:e&4?(w,F,q)=>An(hc(w,F,q),262144):hc,updatePropertyAccessChain:Ku,createElementAccessExpression:wu,updateElementAccessExpression:lp,createElementAccessChain:x_,updateElementAccessChain:De,createCallExpression:sn,updateCallExpression:Zi,createCallChain:fa,updateCallChain:_e,createNewExpression:bt,updateNewExpression:Yt,createTaggedTemplateExpression:Zt,updateTaggedTemplateExpression:Cr,createTypeAssertion:an,updateTypeAssertion:ti,createParenthesizedExpression:ki,updateParenthesizedExpression:ds,createFunctionExpression:sa,updateFunctionExpression:Ka,createArrowFunction:xc,updateArrowFunction:Nc,createDeleteExpression:k_,updateDeleteExpression:yd,createTypeOfExpression:zl,updateTypeOfExpression:Rp,createVoidExpression:f_,updateVoidExpression:up,createAwaitExpression:Pf,updateAwaitExpression:zm,createPrefixUnaryExpression:cy,updatePrefixUnaryExpression:gg,createPostfixUnaryExpression:yg,updatePostfixUnaryExpression:X,createBinaryExpression:nt,updateBinaryExpression:On,createConditionalExpression:pa,updateConditionalExpression:ns,createTemplateExpression:zs,updateTemplateExpression:ba,createTemplateHead:xh,createTemplateMiddle:Vm,createTemplateTail:fm,createNoSubstitutionTemplateLiteral:Re,createTemplateLiteralLikeNode:z_,createYieldExpression:lt,updateYieldExpression:St,createSpreadElement:dr,updateSpreadElement:$r,createClassExpression:Wr,updateClassExpression:Hr,createOmittedExpression:dn,createExpressionWithTypeArguments:$i,updateExpressionWithTypeArguments:As,createAsExpression:Ln,updateAsExpression:si,createNonNullExpression:zn,updateNonNullExpression:ya,createSatisfiesExpression:gl,updateSatisfiesExpression:hu,createNonNullChain:V_,updateNonNullChain:vg,createMetaProperty:bg,updateMetaProperty:vd,createTemplateSpan:C1,updateTemplateSpan:Gv,createSemicolonClassElement:Ek,createBlock:w1,updateBlock:Ak,createVariableStatement:pS,updateVariableStatement:h2,createEmptyStatement:dS,createExpressionStatement:Xv,updateExpressionStatement:hE,createIfStatement:g2,updateIfStatement:gE,createDoStatement:mS,updateDoStatement:yE,createWhileStatement:Pk,updateWhileStatement:hS,createForStatement:Qv,updateForStatement:Yv,createForInStatement:Zv,updateForInStatement:Dk,createForOfStatement:E1,updateForOfStatement:Do,createContinueStatement:gS,updateContinueStatement:vE,createBreakStatement:c0,updateBreakStatement:ly,createReturnStatement:kh,updateReturnStatement:Zp,createWithStatement:__,updateWithStatement:C_,createSwitchStatement:w_,updateSwitchStatement:uy,createLabeledStatement:Nk,updateLabeledStatement:bE,createThrowStatement:yS,updateThrowStatement:Ik,createTryStatement:y2,updateTryStatement:TE,createDebuggerStatement:v2,createVariableDeclaration:vS,updateVariableDeclaration:SE,createVariableDeclarationList:l0,updateVariableDeclarationList:Ok,createFunctionDeclaration:rt,updateFunctionDeclaration:Tg,createClassDeclaration:A1,updateClassDeclaration:b2,createInterfaceDeclaration:u0,updateInterfaceDeclaration:T2,createTypeAliasDeclaration:yl,updateTypeAliasDeclaration:f0,createEnumDeclaration:No,updateEnumDeclaration:$_,createModuleDeclaration:bS,updateModuleDeclaration:Df,createModuleBlock:_y,updateModuleBlock:q_,createCaseBlock:P1,updateCaseBlock:TS,createNamespaceExportDeclaration:SS,updateNamespaceExportDeclaration:xE,createImportEqualsDeclaration:Lk,updateImportEqualsDeclaration:Mk,createImportDeclaration:ms,updateImportDeclaration:mi,createImportClause:fp,updateImportClause:Eu,createAssertClause:D1,updateAssertClause:_0,createAssertEntry:S2,updateAssertEntry:kE,createImportTypeAssertionContainer:ll,updateImportTypeAssertionContainer:xS,createNamespaceImport:kS,updateNamespaceImport:Fk,createNamespaceExport:CS,updateNamespaceExport:_m,createNamedImports:Rk,updateNamedImports:wA,createImportSpecifier:Kv,updateImportSpecifier:Bk,createExportAssignment:_p,updateExportAssignment:p0,createExportDeclaration:W_,updateExportDeclaration:eb,createNamedExports:py,updateNamedExports:tb,createExportSpecifier:jk,updateExportSpecifier:$m,createMissingDeclaration:EA,createExternalModuleReference:qm,updateExternalModuleReference:Wm,get createJSDocAllType(){return h(318)},get createJSDocUnknownType(){return h(319)},get createJSDocNonNullableType(){return C(321)},get updateJSDocNonNullableType(){return D(321)},get createJSDocNullableType(){return C(320)},get updateJSDocNullableType(){return D(320)},get createJSDocOptionalType(){return k(322)},get updateJSDocOptionalType(){return T(322)},get createJSDocVariadicType(){return k(324)},get updateJSDocVariadicType(){return T(324)},get createJSDocNamepathType(){return k(325)},get updateJSDocNamepathType(){return T(325)},createJSDocFunctionType:nc,updateJSDocFunctionType:wS,createJSDocTypeLiteral:nb,updateJSDocTypeLiteral:Uk,createJSDocTypeExpression:ib,updateJSDocTypeExpression:zk,createJSDocSignature:wE,updateJSDocSignature:Vk,createJSDocTemplateTag:d0,updateJSDocTemplateTag:ES,createJSDocTypedefTag:Hm,updateJSDocTypedefTag:xn,createJSDocParameterTag:k2,updateJSDocParameterTag:C2,createJSDocPropertyTag:Hl,updateJSDocPropertyTag:wh,createJSDocCallbackTag:jd,updateJSDocCallbackTag:w2,createJSDocOverloadTag:AS,updateJSDocOverloadTag:dy,createJSDocAugmentsTag:E2,updateJSDocAugmentsTag:A2,createJSDocImplementsTag:Sg,updateJSDocImplementsTag:PS,createJSDocSeeTag:Jd,updateJSDocSeeTag:N1,createJSDocNameReference:Qc,updateJSDocNameReference:ef,createJSDocMemberName:xg,updateJSDocMemberName:p_,createJSDocLink:bd,updateJSDocLink:P2,createJSDocLinkCode:_f,updateJSDocLinkCode:$k,createJSDocLinkPlain:I1,updateJSDocLinkPlain:O1,get createJSDocTypeTag(){return U(350)},get updateJSDocTypeTag(){return B(350)},get createJSDocReturnTag(){return U(348)},get updateJSDocReturnTag(){return B(348)},get createJSDocThisTag(){return U(349)},get updateJSDocThisTag(){return B(349)},get createJSDocAuthorTag(){return O(336)},get updateJSDocAuthorTag(){return M(336)},get createJSDocClassTag(){return O(338)},get updateJSDocClassTag(){return M(338)},get createJSDocPublicTag(){return O(339)},get updateJSDocPublicTag(){return M(339)},get createJSDocPrivateTag(){return O(340)},get updateJSDocPrivateTag(){return M(340)},get createJSDocProtectedTag(){return O(341)},get updateJSDocProtectedTag(){return M(341)},get createJSDocReadonlyTag(){return O(342)},get updateJSDocReadonlyTag(){return M(342)},get createJSDocOverrideTag(){return O(343)},get updateJSDocOverrideTag(){return M(343)},get createJSDocDeprecatedTag(){return O(337)},get updateJSDocDeprecatedTag(){return M(337)},get createJSDocThrowsTag(){return U(355)},get updateJSDocThrowsTag(){return B(355)},get createJSDocSatisfiesTag(){return U(356)},get updateJSDocSatisfiesTag(){return B(356)},createJSDocEnumTag:eu,updateJSDocEnumTag:EE,createJSDocUnknownTag:sb,updateJSDocUnknownTag:DS,createJSDocText:cu,updateJSDocText:h0,createJSDocComment:N2,updateJSDocComment:Gm,createJsxElement:dp,updateJsxElement:NS,createJsxSelfClosingElement:ab,updateJsxSelfClosingElement:AE,createJsxOpeningElement:my,updateJsxOpeningElement:g0,createJsxClosingElement:y0,updateJsxClosingElement:PA,createJsxFragment:jp,createJsxText:v0,updateJsxText:Jp,createJsxOpeningFragment:kg,createJsxJsxClosingFragment:qk,updateJsxFragment:PE,createJsxAttribute:ob,updateJsxAttribute:Fo,createJsxAttributes:Yn,updateJsxAttributes:Up,createJsxSpreadAttribute:E_,updateJsxSpreadAttribute:IS,createJsxExpression:L1,updateJsxExpression:DA,createJsxNamespacedName:cb,updateJsxNamespacedName:I2,createCaseClause:Eh,updateCaseClause:Ud,createDefaultClause:M1,updateDefaultClause:lb,createHeritageClause:Cg,updateHeritageClause:hy,createCatchClause:ub,updateCatchClause:Ol,createPropertyAssignment:$u,updatePropertyAssignment:NA,createShorthandPropertyAssignment:Ah,updateShorthandPropertyAssignment:O2,createSpreadAssignment:L2,updateSpreadAssignment:pf,createEnumMember:ul,updateEnumMember:IA,createSourceFile:OS,updateSourceFile:M2,createRedirectedSourceFile:gy,createBundle:FS,updateBundle:pm,createUnparsedSource:Xm,createUnparsedPrologue:RS,createUnparsedPrepend:OA,createUnparsedTextLike:b0,createUnparsedSyntheticReference:I,createInputFiles:me,createSyntheticExpression:Xe,createSyntaxList:Tr,createNotEmittedStatement:jt,createPartiallyEmittedExpression:is,updatePartiallyEmittedExpression:Di,createCommaListExpression:Da,updateCommaListExpression:H_,createSyntheticReferenceExpression:G_,updateSyntheticReferenceExpression:d_,cloneNode:BS,get createComma(){return f(28)},get createAssignment(){return f(64)},get createLogicalOr(){return f(57)},get createLogicalAnd(){return f(56)},get createBitwiseOr(){return f(52)},get createBitwiseXor(){return f(53)},get createBitwiseAnd(){return f(51)},get createStrictEquality(){return f(37)},get createStrictInequality(){return f(38)},get createEquality(){return f(35)},get createInequality(){return f(36)},get createLessThan(){return f(30)},get createLessThanEquals(){return f(33)},get createGreaterThan(){return f(32)},get createGreaterThanEquals(){return f(34)},get createLeftShift(){return f(48)},get createRightShift(){return f(49)},get createUnsignedRightShift(){return f(50)},get createAdd(){return f(40)},get createSubtract(){return f(41)},get createMultiply(){return f(42)},get createDivide(){return f(44)},get createModulo(){return f(45)},get createExponent(){return f(43)},get createPrefixPlus(){return d(40)},get createPrefixMinus(){return d(41)},get createPrefixIncrement(){return d(46)},get createPrefixDecrement(){return d(47)},get createBitwiseNot(){return d(55)},get createLogicalNot(){return d(54)},get createPostfixIncrement(){return g(46)},get createPostfixDecrement(){return g(47)},createImmediatelyInvokedFunctionExpression:Gk,createImmediatelyInvokedArrowFunction:T0,createVoidZero:xd,createExportDefault:yy,createExternalModuleExport:zp,createTypeCheck:S0,createMethodCall:_b,createGlobalMethodCall:Ll,createFunctionBindCall:wg,createFunctionCallCall:jS,createFunctionApplyCall:tM,createArraySliceCall:rM,createArrayConcatCall:qo,createObjectDefinePropertyCall:Ro,createObjectGetOwnPropertyDescriptorCall:DE,createReflectGetCall:ne,createReflectSetCall:Ae,createPropertyDescriptor:Mt,createCallBinding:Gi,createAssignmentTargetWrapper:Qs,inlineExpressions:gc,getInternalName:Xa,getLocalName:df,getExportName:zd,getDeclarationName:pb,getNamespaceMemberName:vy,getExternalModuleOrNamespaceExportName:db,restoreOuterExpressions:fi,restoreEnclosingLabel:Hi,createUseStrictPrologue:Xk,copyPrologue:mb,copyStandardPrologue:Qk,copyCustomPrologue:NE,ensureUseStrict:H8,liftToBlock:G8,mergeLexicalEnvironment:B1,updateModifiers:X8};return te(Sre,w=>w(H)),H;function Y(w,F){if(w===void 0||w===ft)w=[];else if(wT(w)){if(F===void 0||w.hasTrailingComma===F)return w.transformFlags===void 0&&Sxe(w),R.attachNodeArrayDebugInfo(w),w;const Ze=w.slice();return Ze.pos=w.pos,Ze.end=w.end,Ze.hasTrailingComma=F,Ze.transformFlags=w.transformFlags,R.attachNodeArrayDebugInfo(Ze),Ze}const q=w.length,ge=q>=1&&q<=4?w.slice():w;return ge.pos=-1,ge.end=-1,ge.hasTrailingComma=!!F,ge.transformFlags=0,Sxe(ge),R.attachNodeArrayDebugInfo(ge),ge}function Z(w){return t.createBaseNode(w)}function fe(w){const F=Z(w);return F.symbol=void 0,F.localSymbol=void 0,F}function Q(w,F){return w!==F&&(w.typeArguments=F.typeArguments),n(w,F)}function he(w,F=0){const q=fe(9);return q.text=typeof w=="number"?w+"":w,q.numericLiteralFlags=F,F&384&&(q.transformFlags|=1024),q}function W(w){const F=et(10);return F.text=typeof w=="string"?w:$T(w)+"n",F.transformFlags|=32,F}function ye(w,F){const q=fe(11);return q.text=w,q.singleQuote=F,q}function de(w,F,q){const ge=ye(w,F);return ge.hasExtendedUnicodeEscape=q,q&&(ge.transformFlags|=1024),ge}function Ce(w){const F=ye(em(w),void 0);return F.textSourceNode=w,F}function K(w){const F=et(14);return F.text=w,F}function ce(w,F){switch(w){case 9:return he(F,0);case 10:return W(F);case 11:return de(F,void 0);case 12:return v0(F,!1);case 13:return v0(F,!0);case 14:return K(F);case 15:return z_(w,F,void 0,0)}}function le(w){const F=t.createBaseIdentifierNode(80);return F.escapedText=w,F.jsDoc=void 0,F.flowNode=void 0,F.symbol=void 0,F}function xe(w,F,q,ge){const Ze=le($c(w));return fO(Ze,{flags:F,id:sO,prefix:q,suffix:ge}),sO++,Ze}function we(w,F,q){F===void 0&&w&&(F=Sx(w)),F===80&&(F=void 0);const ge=le($c(w));return q&&(ge.flags|=128),ge.escapedText==="await"&&(ge.transformFlags|=67108864),ge.flags&128&&(ge.transformFlags|=1024),ge}function Ie(w,F,q,ge){let Ze=1;F&&(Ze|=8);const or=xe("",Ze,q,ge);return w&&w(or),or}function ue(w){let F=2;return w&&(F|=8),xe("",F,void 0,void 0)}function ut(w,F=0,q,ge){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"),xe(w,3|F,q,ge)}function Ge(w,F=0,q,ge){R.assert(!(F&7),"Argument out of range: flags");const Ze=w?qy(w)?ek(!1,q,w,ge,Zn):`generated@${Jo(w)}`:"";(q||ge)&&(F|=16);const or=xe(Ze,4|F,q,ge);return or.original=w,or}function qe(w){const F=t.createBasePrivateIdentifierNode(81);return F.escapedText=w,F.transformFlags|=16777216,F}function Ke(w){return Xs(w,"#")||R.fail("First character of private identifier must be #: "+w),qe($c(w))}function Me(w,F,q,ge){const Ze=qe($c(w));return fO(Ze,{flags:F,id:sO,prefix:q,suffix:ge}),sO++,Ze}function ze(w,F,q){w&&!Xs(w,"#")&&R.fail("First character of private identifier must be #: "+w);const ge=8|(w?3:1);return Me(w??"",ge,F,q)}function st(w,F,q){const ge=qy(w)?ek(!0,F,w,q,Zn):`#generated@${Jo(w)}`,or=Me(ge,4|(F||q?16:0),F,q);return or.original=w,or}function et(w){return t.createBaseTokenNode(w)}function je(w){R.assert(w>=0&&w<=164,"Invalid token"),R.assert(w<=15||w>=18,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),R.assert(w<=9||w>=15,"Invalid token. Use 'createLiteralLikeNode' to create literals."),R.assert(w!==80,"Invalid token. Use 'createIdentifier' to create identifiers");const F=et(w);let q=0;switch(w){case 134:q=384;break;case 125:case 123:case 124:case 148:case 128:case 138:case 87:case 133:case 150:case 162:case 146:case 151:case 103:case 147:case 163:case 154:case 136:case 155:case 116:case 159:case 157:q=1;break;case 108:q=134218752,F.flowNode=void 0;break;case 126:q=1024;break;case 129:q=16777216;break;case 110:q=16384,F.flowNode=void 0;break}return q&&(F.transformFlags|=q),F}function _t(){return je(108)}function Lt(){return je(110)}function Dt(){return je(106)}function Xt(){return je(112)}function Ye(){return je(97)}function Bt(w){return je(w)}function vr(w){const F=[];return w&1&&F.push(Bt(95)),w&2&&F.push(Bt(138)),w&1024&&F.push(Bt(90)),w&2048&&F.push(Bt(87)),w&4&&F.push(Bt(125)),w&8&&F.push(Bt(123)),w&16&&F.push(Bt(124)),w&256&&F.push(Bt(128)),w&32&&F.push(Bt(126)),w&16384&&F.push(Bt(163)),w&64&&F.push(Bt(148)),w&128&&F.push(Bt(129)),w&512&&F.push(Bt(134)),w&32768&&F.push(Bt(103)),w&65536&&F.push(Bt(147)),F.length?F:void 0}function Ar(w,F){const q=Z(165);return q.left=w,q.right=Ml(F),q.transformFlags|=Fn(q.left)|_D(q.right),q.flowNode=void 0,q}function Ht(w,F,q){return w.left!==F||w.right!==q?n(Ar(F,q),w):w}function tn(w){const F=Z(166);return F.expression=s().parenthesizeExpressionOfComputedPropertyName(w),F.transformFlags|=Fn(F.expression)|1024|131072,F}function hn(w,F){return w.expression!==F?n(tn(F),w):w}function Br(w,F,q,ge){const Ze=fe(167);return Ze.modifiers=da(w),Ze.name=Ml(F),Ze.constraint=q,Ze.default=ge,Ze.transformFlags=1,Ze.expression=void 0,Ze.jsDoc=void 0,Ze}function Cn(w,F,q,ge,Ze){return w.modifiers!==F||w.name!==q||w.constraint!==ge||w.default!==Ze?n(Br(F,q,ge,Ze),w):w}function ci(w,F,q,ge,Ze,or){const wn=fe(168);return wn.modifiers=da(w),wn.dotDotDotToken=F,wn.name=Ml(q),wn.questionToken=ge,wn.type=Ze,wn.initializer=J1(or),JT(wn.name)?wn.transformFlags=1:wn.transformFlags=go(wn.modifiers)|Fn(wn.dotDotDotToken)|u1(wn.name)|Fn(wn.questionToken)|Fn(wn.initializer)|(wn.questionToken??wn.type?1:0)|(wn.dotDotDotToken??wn.initializer?1024:0)|(ng(wn.modifiers)&16476?8192:0),wn.jsDoc=void 0,wn}function Ji(w,F,q,ge,Ze,or,wn){return w.modifiers!==F||w.dotDotDotToken!==q||w.name!==ge||w.questionToken!==Ze||w.type!==or||w.initializer!==wn?n(ci(F,q,ge,Ze,or,wn),w):w}function ws(w){const F=Z(169);return F.expression=s().parenthesizeLeftSideOfAccess(w,!1),F.transformFlags|=Fn(F.expression)|1|8192|33554432,F}function ui(w,F){return w.expression!==F?n(ws(F),w):w}function Pt(w,F,q,ge){const Ze=fe(170);return Ze.modifiers=da(w),Ze.name=Ml(F),Ze.type=ge,Ze.questionToken=q,Ze.transformFlags=1,Ze.initializer=void 0,Ze.jsDoc=void 0,Ze}function Dr(w,F,q,ge,Ze){return w.modifiers!==F||w.name!==q||w.questionToken!==ge||w.type!==Ze?Kt(Pt(F,q,ge,Ze),w):w}function Kt(w,F){return w!==F&&(w.initializer=F.initializer),n(w,F)}function Qr(w,F,q,ge,Ze){const or=fe(171);or.modifiers=da(w),or.name=Ml(F),or.questionToken=q&&Lv(q)?q:void 0,or.exclamationToken=q&&hO(q)?q:void 0,or.type=ge,or.initializer=J1(Ze);const wn=or.flags&16777216||ng(or.modifiers)&2;return or.transformFlags=go(or.modifiers)|u1(or.name)|Fn(or.initializer)|(wn||or.questionToken||or.exclamationToken||or.type?1:0)|(Ho(or.name)||ng(or.modifiers)&32&&or.initializer?8192:0)|16777216,or.jsDoc=void 0,or}function _n(w,F,q,ge,Ze,or){return w.modifiers!==F||w.name!==q||w.questionToken!==(ge!==void 0&&Lv(ge)?ge:void 0)||w.exclamationToken!==(ge!==void 0&&hO(ge)?ge:void 0)||w.type!==Ze||w.initializer!==or?n(Qr(F,q,ge,Ze,or),w):w}function Nn(w,F,q,ge,Ze,or){const wn=fe(172);return wn.modifiers=da(w),wn.name=Ml(F),wn.questionToken=q,wn.typeParameters=da(ge),wn.parameters=da(Ze),wn.type=or,wn.transformFlags=1,wn.jsDoc=void 0,wn.locals=void 0,wn.nextContainer=void 0,wn.typeArguments=void 0,wn}function ks(w,F,q,ge,Ze,or,wn){return w.modifiers!==F||w.name!==q||w.questionToken!==ge||w.typeParameters!==Ze||w.parameters!==or||w.type!==wn?Q(Nn(F,q,ge,Ze,or,wn),w):w}function ls(w,F,q,ge,Ze,or,wn,Rs){const dc=fe(173);if(dc.modifiers=da(w),dc.asteriskToken=F,dc.name=Ml(q),dc.questionToken=ge,dc.exclamationToken=void 0,dc.typeParameters=da(Ze),dc.parameters=Y(or),dc.type=wn,dc.body=Rs,!dc.body)dc.transformFlags=1;else{const Kp=ng(dc.modifiers)&512,x0=!!dc.asteriskToken,k0=Kp&&x0;dc.transformFlags=go(dc.modifiers)|Fn(dc.asteriskToken)|u1(dc.name)|Fn(dc.questionToken)|go(dc.typeParameters)|go(dc.parameters)|Fn(dc.type)|Fn(dc.body)&-67108865|(k0?128:Kp?256:x0?2048:0)|(dc.questionToken||dc.typeParameters||dc.type?1:0)|1024}return dc.typeArguments=void 0,dc.jsDoc=void 0,dc.locals=void 0,dc.nextContainer=void 0,dc.flowNode=void 0,dc.endFlowNode=void 0,dc.returnFlowNode=void 0,dc}function Yr(w,F,q,ge,Ze,or,wn,Rs,dc){return w.modifiers!==F||w.asteriskToken!==q||w.name!==ge||w.questionToken!==Ze||w.typeParameters!==or||w.parameters!==wn||w.type!==Rs||w.body!==dc?Er(ls(F,q,ge,Ze,or,wn,Rs,dc),w):w}function Er(w,F){return w!==F&&(w.exclamationToken=F.exclamationToken),n(w,F)}function rn(w){const F=fe(174);return F.body=w,F.transformFlags=Fn(w)|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 qr(w,F){return w.body!==F?xi(rn(F),w):w}function xi(w,F){return w!==F&&(w.modifiers=F.modifiers),n(w,F)}function pt(w,F,q){const ge=fe(175);return ge.modifiers=da(w),ge.parameters=Y(F),ge.body=q,ge.transformFlags=go(ge.modifiers)|go(ge.parameters)|Fn(ge.body)&-67108865|1024,ge.typeParameters=void 0,ge.type=void 0,ge.typeArguments=void 0,ge.jsDoc=void 0,ge.locals=void 0,ge.nextContainer=void 0,ge.endFlowNode=void 0,ge.returnFlowNode=void 0,ge}function Nt(w,F,q,ge){return w.modifiers!==F||w.parameters!==q||w.body!==ge?dt(pt(F,q,ge),w):w}function dt(w,F){return w!==F&&(w.typeParameters=F.typeParameters,w.type=F.type),Q(w,F)}function Ut(w,F,q,ge,Ze){const or=fe(176);return or.modifiers=da(w),or.name=Ml(F),or.parameters=Y(q),or.type=ge,or.body=Ze,or.body?or.transformFlags=go(or.modifiers)|u1(or.name)|go(or.parameters)|Fn(or.type)|Fn(or.body)&-67108865|(or.type?1:0):or.transformFlags=1,or.typeArguments=void 0,or.typeParameters=void 0,or.jsDoc=void 0,or.locals=void 0,or.nextContainer=void 0,or.flowNode=void 0,or.endFlowNode=void 0,or.returnFlowNode=void 0,or}function rr(w,F,q,ge,Ze,or){return w.modifiers!==F||w.name!==q||w.parameters!==ge||w.type!==Ze||w.body!==or?se(Ut(F,q,ge,Ze,or),w):w}function se(w,F){return w!==F&&(w.typeParameters=F.typeParameters),Q(w,F)}function at(w,F,q,ge){const Ze=fe(177);return Ze.modifiers=da(w),Ze.name=Ml(F),Ze.parameters=Y(q),Ze.body=ge,Ze.body?Ze.transformFlags=go(Ze.modifiers)|u1(Ze.name)|go(Ze.parameters)|Fn(Ze.body)&-67108865|(Ze.type?1:0):Ze.transformFlags=1,Ze.typeArguments=void 0,Ze.typeParameters=void 0,Ze.type=void 0,Ze.jsDoc=void 0,Ze.locals=void 0,Ze.nextContainer=void 0,Ze.flowNode=void 0,Ze.endFlowNode=void 0,Ze.returnFlowNode=void 0,Ze}function xt(w,F,q,ge,Ze){return w.modifiers!==F||w.name!==q||w.parameters!==ge||w.body!==Ze?ae(at(F,q,ge,Ze),w):w}function ae(w,F){return w!==F&&(w.typeParameters=F.typeParameters,w.type=F.type),Q(w,F)}function mt(w,F,q){const ge=fe(178);return ge.typeParameters=da(w),ge.parameters=da(F),ge.type=q,ge.transformFlags=1,ge.jsDoc=void 0,ge.locals=void 0,ge.nextContainer=void 0,ge.typeArguments=void 0,ge}function _r(w,F,q,ge){return w.typeParameters!==F||w.parameters!==q||w.type!==ge?Q(mt(F,q,ge),w):w}function Fe(w,F,q){const ge=fe(179);return ge.typeParameters=da(w),ge.parameters=da(F),ge.type=q,ge.transformFlags=1,ge.jsDoc=void 0,ge.locals=void 0,ge.nextContainer=void 0,ge.typeArguments=void 0,ge}function Gt(w,F,q,ge){return w.typeParameters!==F||w.parameters!==q||w.type!==ge?Q(Fe(F,q,ge),w):w}function zt(w,F,q){const ge=fe(180);return ge.modifiers=da(w),ge.parameters=da(F),ge.type=q,ge.transformFlags=1,ge.jsDoc=void 0,ge.locals=void 0,ge.nextContainer=void 0,ge.typeArguments=void 0,ge}function Lr(w,F,q,ge){return w.parameters!==q||w.type!==ge||w.modifiers!==F?Q(zt(F,q,ge),w):w}function ii(w,F){const q=Z(203);return q.type=w,q.literal=F,q.transformFlags=1,q}function Gn(w,F,q){return w.type!==F||w.literal!==q?n(ii(F,q),w):w}function Rn(w){return je(w)}function L(w,F,q){const ge=Z(181);return ge.assertsModifier=w,ge.parameterName=Ml(F),ge.type=q,ge.transformFlags=1,ge}function Se(w,F,q,ge){return w.assertsModifier!==F||w.parameterName!==q||w.type!==ge?n(L(F,q,ge),w):w}function pe(w,F){const q=Z(182);return q.typeName=Ml(w),q.typeArguments=F&&s().parenthesizeTypeArguments(Y(F)),q.transformFlags=1,q}function ke(w,F,q){return w.typeName!==F||w.typeArguments!==q?n(pe(F,q),w):w}function ve(w,F,q){const ge=fe(183);return ge.typeParameters=da(w),ge.parameters=da(F),ge.type=q,ge.transformFlags=1,ge.modifiers=void 0,ge.jsDoc=void 0,ge.locals=void 0,ge.nextContainer=void 0,ge.typeArguments=void 0,ge}function Te(w,F,q,ge){return w.typeParameters!==F||w.parameters!==q||w.type!==ge?ee(ve(F,q,ge),w):w}function ee(w,F){return w!==F&&(w.modifiers=F.modifiers),Q(w,F)}function vt(...w){return w.length===4?Qt(...w):w.length===3?ht(...w):R.fail("Incorrect number of arguments specified.")}function Qt(w,F,q,ge){const Ze=fe(184);return Ze.modifiers=da(w),Ze.typeParameters=da(F),Ze.parameters=da(q),Ze.type=ge,Ze.transformFlags=1,Ze.jsDoc=void 0,Ze.locals=void 0,Ze.nextContainer=void 0,Ze.typeArguments=void 0,Ze}function ht(w,F,q){return Qt(void 0,w,F,q)}function Vt(...w){return w.length===5?Nr(...w):w.length===4?Pn(...w):R.fail("Incorrect number of arguments specified.")}function Nr(w,F,q,ge,Ze){return w.modifiers!==F||w.typeParameters!==q||w.parameters!==ge||w.type!==Ze?Q(vt(F,q,ge,Ze),w):w}function Pn(w,F,q,ge){return Nr(w,w.modifiers,F,q,ge)}function bi(w,F){const q=Z(185);return q.exprName=w,q.typeArguments=F&&s().parenthesizeTypeArguments(F),q.transformFlags=1,q}function Vi(w,F,q){return w.exprName!==F||w.typeArguments!==q?n(bi(F,q),w):w}function rs(w){const F=fe(186);return F.members=Y(w),F.transformFlags=1,F}function qs(w,F){return w.members!==F?n(rs(F),w):w}function Ys(w){const F=Z(187);return F.elementType=s().parenthesizeNonArrayTypeOfPostfixType(w),F.transformFlags=1,F}function Oi(w,F){return w.elementType!==F?n(Ys(F),w):w}function Js(w){const F=Z(188);return F.elements=Y(s().parenthesizeElementTypesOfTupleType(w)),F.transformFlags=1,F}function Es(w,F){return w.elements!==F?n(Js(F),w):w}function Li(w,F,q,ge){const Ze=fe(201);return Ze.dotDotDotToken=w,Ze.name=F,Ze.questionToken=q,Ze.type=ge,Ze.transformFlags=1,Ze.jsDoc=void 0,Ze}function Zs(w,F,q,ge,Ze){return w.dotDotDotToken!==F||w.name!==q||w.questionToken!==ge||w.type!==Ze?n(Li(F,q,ge,Ze),w):w}function Hc(w){const F=Z(189);return F.type=s().parenthesizeTypeOfOptionalType(w),F.transformFlags=1,F}function rc(w,F){return w.type!==F?n(Hc(F),w):w}function nn(w){const F=Z(190);return F.type=w,F.transformFlags=1,F}function ta(w,F){return w.type!==F?n(nn(F),w):w}function Za(w,F,q){const ge=Z(w);return ge.types=H.createNodeArray(q(F)),ge.transformFlags=1,ge}function ga(w,F,q){return w.types!==F?n(Za(w.kind,F,q),w):w}function Rc(w){return Za(191,w,s().parenthesizeConstituentTypesOfUnionType)}function Dl(w,F){return ga(w,F,s().parenthesizeConstituentTypesOfUnionType)}function Nl(w){return Za(192,w,s().parenthesizeConstituentTypesOfIntersectionType)}function ku(w,F){return ga(w,F,s().parenthesizeConstituentTypesOfIntersectionType)}function la(w,F,q,ge){const Ze=Z(193);return Ze.checkType=s().parenthesizeCheckTypeOfConditionalType(w),Ze.extendsType=s().parenthesizeExtendsTypeOfConditionalType(F),Ze.trueType=q,Ze.falseType=ge,Ze.transformFlags=1,Ze.locals=void 0,Ze.nextContainer=void 0,Ze}function Ns(w,F,q,ge,Ze){return w.checkType!==F||w.extendsType!==q||w.trueType!==ge||w.falseType!==Ze?n(la(F,q,ge,Ze),w):w}function Wl(w){const F=Z(194);return F.typeParameter=w,F.transformFlags=1,F}function Gc(w,F){return w.typeParameter!==F?n(Wl(F),w):w}function Af(w,F){const q=Z(202);return q.head=w,q.templateSpans=Y(F),q.transformFlags=1,q}function Zl(w,F,q){return w.head!==F||w.templateSpans!==q?n(Af(F,q),w):w}function Vu(w,F,q,ge,Ze=!1){const or=Z(204);return or.argument=w,or.assertions=F,or.qualifier=q,or.typeArguments=ge&&s().parenthesizeTypeArguments(ge),or.isTypeOf=Ze,or.transformFlags=1,or}function pc(w,F,q,ge,Ze,or=w.isTypeOf){return w.argument!==F||w.assertions!==q||w.qualifier!==ge||w.typeArguments!==Ze||w.isTypeOf!==or?n(Vu(F,q,ge,Ze,or),w):w}function hl(w){const F=Z(195);return F.type=w,F.transformFlags=1,F}function Sc(w,F){return w.type!==F?n(hl(F),w):w}function Jc(){const w=Z(196);return w.transformFlags=1,w}function br(w,F){const q=Z(197);return q.operator=w,q.type=w===148?s().parenthesizeOperandOfReadonlyTypeOperator(F):s().parenthesizeOperandOfTypeOperator(F),q.transformFlags=1,q}function Bl(w,F){return w.type!==F?n(br(w.operator,F),w):w}function ff(w,F){const q=Z(198);return q.objectType=s().parenthesizeNonArrayTypeOfPostfixType(w),q.indexType=F,q.transformFlags=1,q}function Cu(w,F,q){return w.objectType!==F||w.indexType!==q?n(ff(F,q),w):w}function be(w,F,q,ge,Ze,or){const wn=fe(199);return wn.readonlyToken=w,wn.typeParameter=F,wn.nameType=q,wn.questionToken=ge,wn.type=Ze,wn.members=or&&Y(or),wn.transformFlags=1,wn.locals=void 0,wn.nextContainer=void 0,wn}function ie(w,F,q,ge,Ze,or,wn){return w.readonlyToken!==F||w.typeParameter!==q||w.nameType!==ge||w.questionToken!==Ze||w.type!==or||w.members!==wn?n(be(F,q,ge,Ze,or,wn),w):w}function Je(w){const F=Z(200);return F.literal=w,F.transformFlags=1,F}function Et(w,F){return w.literal!==F?n(Je(F),w):w}function Rt(w){const F=Z(205);return F.elements=Y(w),F.transformFlags|=go(F.elements)|1024|524288,F.transformFlags&32768&&(F.transformFlags|=65664),F}function In(w,F){return w.elements!==F?n(Rt(F),w):w}function Wn(w){const F=Z(206);return F.elements=Y(w),F.transformFlags|=go(F.elements)|1024|524288,F}function hi(w,F){return w.elements!==F?n(Wn(F),w):w}function di(w,F,q,ge){const Ze=fe(207);return Ze.dotDotDotToken=w,Ze.propertyName=Ml(F),Ze.name=Ml(q),Ze.initializer=J1(ge),Ze.transformFlags|=Fn(Ze.dotDotDotToken)|u1(Ze.propertyName)|u1(Ze.name)|Fn(Ze.initializer)|(Ze.dotDotDotToken?32768:0)|1024,Ze.flowNode=void 0,Ze}function Us(w,F,q,ge,Ze){return w.propertyName!==q||w.dotDotDotToken!==F||w.name!==ge||w.initializer!==Ze?n(di(F,q,ge,Ze),w):w}function Va(w,F){const q=Z(208),ge=w&&Bc(w),Ze=Y(w,ge&&bu(ge)?!0:void 0);return q.elements=s().parenthesizeExpressionsOfCommaDelimitedList(Ze),q.multiLine=F,q.transformFlags|=go(q.elements),q}function tl(w,F){return w.elements!==F?n(Va(F,w.multiLine),w):w}function ic(w,F){const q=fe(209);return q.properties=Y(w),q.multiLine=F,q.transformFlags|=go(q.properties),q.jsDoc=void 0,q}function sc(w,F){return w.properties!==F?n(ic(F,w.multiLine),w):w}function mu(w,F,q){const ge=fe(210);return ge.expression=w,ge.questionDotToken=F,ge.name=q,ge.transformFlags=Fn(ge.expression)|Fn(ge.questionDotToken)|(He(ge.name)?_D(ge.name):Fn(ge.name)|536870912),ge.jsDoc=void 0,ge.flowNode=void 0,ge}function cl(w,F){const q=mu(s().parenthesizeLeftSideOfAccess(w,!1),void 0,Ml(F));return hD(w)&&(q.transformFlags|=384),q}function Mo(w,F,q){return ZB(w)?Ku(w,F,w.questionDotToken,Ua(q,He)):w.expression!==F||w.name!==q?n(cl(F,q),w):w}function hc(w,F,q){const ge=mu(s().parenthesizeLeftSideOfAccess(w,!0),F,Ml(q));return ge.flags|=32,ge.transformFlags|=32,ge}function Ku(w,F,q,ge){return R.assert(!!(w.flags&32),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),w.expression!==F||w.questionDotToken!==q||w.name!==ge?n(hc(F,q,ge),w):w}function Xc(w,F,q){const ge=fe(211);return ge.expression=w,ge.questionDotToken=F,ge.argumentExpression=q,ge.transformFlags|=Fn(ge.expression)|Fn(ge.questionDotToken)|Fn(ge.argumentExpression),ge.jsDoc=void 0,ge.flowNode=void 0,ge}function wu(w,F){const q=Xc(s().parenthesizeLeftSideOfAccess(w,!1),void 0,j1(F));return hD(w)&&(q.transformFlags|=384),q}function lp(w,F,q){return jK(w)?De(w,F,w.questionDotToken,q):w.expression!==F||w.argumentExpression!==q?n(wu(F,q),w):w}function x_(w,F,q){const ge=Xc(s().parenthesizeLeftSideOfAccess(w,!0),F,j1(q));return ge.flags|=32,ge.transformFlags|=32,ge}function De(w,F,q,ge){return R.assert(!!(w.flags&32),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),w.expression!==F||w.questionDotToken!==q||w.argumentExpression!==ge?n(x_(F,q,ge),w):w}function er(w,F,q,ge){const Ze=fe(212);return Ze.expression=w,Ze.questionDotToken=F,Ze.typeArguments=q,Ze.arguments=ge,Ze.transformFlags|=Fn(Ze.expression)|Fn(Ze.questionDotToken)|go(Ze.typeArguments)|go(Ze.arguments),Ze.typeArguments&&(Ze.transformFlags|=1),v_(Ze.expression)&&(Ze.transformFlags|=16384),Ze}function sn(w,F,q){const ge=er(s().parenthesizeLeftSideOfAccess(w,!1),void 0,da(F),s().parenthesizeExpressionsOfCommaDelimitedList(Y(q)));return gD(ge.expression)&&(ge.transformFlags|=8388608),ge}function Zi(w,F,q,ge){return kx(w)?_e(w,F,w.questionDotToken,q,ge):w.expression!==F||w.typeArguments!==q||w.arguments!==ge?n(sn(F,q,ge),w):w}function fa(w,F,q,ge){const Ze=er(s().parenthesizeLeftSideOfAccess(w,!0),F,da(q),s().parenthesizeExpressionsOfCommaDelimitedList(Y(ge)));return Ze.flags|=32,Ze.transformFlags|=32,Ze}function _e(w,F,q,ge,Ze){return R.assert(!!(w.flags&32),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),w.expression!==F||w.questionDotToken!==q||w.typeArguments!==ge||w.arguments!==Ze?n(fa(F,q,ge,Ze),w):w}function bt(w,F,q){const ge=fe(213);return ge.expression=s().parenthesizeExpressionOfNew(w),ge.typeArguments=da(F),ge.arguments=q?s().parenthesizeExpressionsOfCommaDelimitedList(q):void 0,ge.transformFlags|=Fn(ge.expression)|go(ge.typeArguments)|go(ge.arguments)|32,ge.typeArguments&&(ge.transformFlags|=1),ge}function Yt(w,F,q,ge){return w.expression!==F||w.typeArguments!==q||w.arguments!==ge?n(bt(F,q,ge),w):w}function Zt(w,F,q){const ge=Z(214);return ge.tag=s().parenthesizeLeftSideOfAccess(w,!1),ge.typeArguments=da(F),ge.template=q,ge.transformFlags|=Fn(ge.tag)|go(ge.typeArguments)|Fn(ge.template)|1024,ge.typeArguments&&(ge.transformFlags|=1),ete(ge.template)&&(ge.transformFlags|=128),ge}function Cr(w,F,q,ge){return w.tag!==F||w.typeArguments!==q||w.template!==ge?n(Zt(F,q,ge),w):w}function an(w,F){const q=Z(215);return q.expression=s().parenthesizeOperandOfPrefixUnary(F),q.type=w,q.transformFlags|=Fn(q.expression)|Fn(q.type)|1,q}function ti(w,F,q){return w.type!==F||w.expression!==q?n(an(F,q),w):w}function ki(w){const F=Z(216);return F.expression=w,F.transformFlags=Fn(F.expression),F.jsDoc=void 0,F}function ds(w,F){return w.expression!==F?n(ki(F),w):w}function sa(w,F,q,ge,Ze,or,wn){const Rs=fe(217);Rs.modifiers=da(w),Rs.asteriskToken=F,Rs.name=Ml(q),Rs.typeParameters=da(ge),Rs.parameters=Y(Ze),Rs.type=or,Rs.body=wn;const dc=ng(Rs.modifiers)&512,Kp=!!Rs.asteriskToken,x0=dc&&Kp;return Rs.transformFlags=go(Rs.modifiers)|Fn(Rs.asteriskToken)|u1(Rs.name)|go(Rs.typeParameters)|go(Rs.parameters)|Fn(Rs.type)|Fn(Rs.body)&-67108865|(x0?128:dc?256:Kp?2048:0)|(Rs.typeParameters||Rs.type?1:0)|4194304,Rs.typeArguments=void 0,Rs.jsDoc=void 0,Rs.locals=void 0,Rs.nextContainer=void 0,Rs.flowNode=void 0,Rs.endFlowNode=void 0,Rs.returnFlowNode=void 0,Rs}function Ka(w,F,q,ge,Ze,or,wn,Rs){return w.name!==ge||w.modifiers!==F||w.asteriskToken!==q||w.typeParameters!==Ze||w.parameters!==or||w.type!==wn||w.body!==Rs?Q(sa(F,q,ge,Ze,or,wn,Rs),w):w}function xc(w,F,q,ge,Ze,or){const wn=fe(218);wn.modifiers=da(w),wn.typeParameters=da(F),wn.parameters=Y(q),wn.type=ge,wn.equalsGreaterThanToken=Ze??je(39),wn.body=s().parenthesizeConciseBodyOfArrowFunction(or);const Rs=ng(wn.modifiers)&512;return wn.transformFlags=go(wn.modifiers)|go(wn.typeParameters)|go(wn.parameters)|Fn(wn.type)|Fn(wn.equalsGreaterThanToken)|Fn(wn.body)&-67108865|(wn.typeParameters||wn.type?1:0)|(Rs?16640:0)|1024,wn.typeArguments=void 0,wn.jsDoc=void 0,wn.locals=void 0,wn.nextContainer=void 0,wn.flowNode=void 0,wn.endFlowNode=void 0,wn.returnFlowNode=void 0,wn}function Nc(w,F,q,ge,Ze,or,wn){return w.modifiers!==F||w.typeParameters!==q||w.parameters!==ge||w.type!==Ze||w.equalsGreaterThanToken!==or||w.body!==wn?Q(xc(F,q,ge,Ze,or,wn),w):w}function k_(w){const F=Z(219);return F.expression=s().parenthesizeOperandOfPrefixUnary(w),F.transformFlags|=Fn(F.expression),F}function yd(w,F){return w.expression!==F?n(k_(F),w):w}function zl(w){const F=Z(220);return F.expression=s().parenthesizeOperandOfPrefixUnary(w),F.transformFlags|=Fn(F.expression),F}function Rp(w,F){return w.expression!==F?n(zl(F),w):w}function f_(w){const F=Z(221);return F.expression=s().parenthesizeOperandOfPrefixUnary(w),F.transformFlags|=Fn(F.expression),F}function up(w,F){return w.expression!==F?n(f_(F),w):w}function Pf(w){const F=Z(222);return F.expression=s().parenthesizeOperandOfPrefixUnary(w),F.transformFlags|=Fn(F.expression)|256|128|2097152,F}function zm(w,F){return w.expression!==F?n(Pf(F),w):w}function cy(w,F){const q=Z(223);return q.operator=w,q.operand=s().parenthesizeOperandOfPrefixUnary(F),q.transformFlags|=Fn(q.operand),(w===46||w===47)&&He(q.operand)&&!il(q.operand)&&!m1(q.operand)&&(q.transformFlags|=268435456),q}function gg(w,F){return w.operand!==F?n(cy(w.operator,F),w):w}function yg(w,F){const q=Z(224);return q.operator=F,q.operand=s().parenthesizeOperandOfPostfixUnary(w),q.transformFlags|=Fn(q.operand),He(q.operand)&&!il(q.operand)&&!m1(q.operand)&&(q.transformFlags|=268435456),q}function X(w,F){return w.operand!==F?n(yg(F,w.operator),w):w}function nt(w,F,q){const ge=fe(225),Ze=B2(F),or=Ze.kind;return ge.left=s().parenthesizeLeftSideOfBinary(or,w),ge.operatorToken=Ze,ge.right=s().parenthesizeRightSideOfBinary(or,ge.left,q),ge.transformFlags|=Fn(ge.left)|Fn(ge.operatorToken)|Fn(ge.right),or===61?ge.transformFlags|=32:or===64?jo(ge.left)?ge.transformFlags|=5248|nr(ge.left):Hf(ge.left)&&(ge.transformFlags|=5120|nr(ge.left)):or===43||or===68?ge.transformFlags|=512:JP(or)&&(ge.transformFlags|=16),or===103&&fs(ge.left)&&(ge.transformFlags|=536870912),ge.jsDoc=void 0,ge}function nr(w){return MO(w)?65536:0}function On(w,F,q,ge){return w.left!==F||w.operatorToken!==q||w.right!==ge?n(nt(F,q,ge),w):w}function pa(w,F,q,ge,Ze){const or=Z(226);return or.condition=s().parenthesizeConditionOfConditionalExpression(w),or.questionToken=F??je(58),or.whenTrue=s().parenthesizeBranchOfConditionalExpression(q),or.colonToken=ge??je(59),or.whenFalse=s().parenthesizeBranchOfConditionalExpression(Ze),or.transformFlags|=Fn(or.condition)|Fn(or.questionToken)|Fn(or.whenTrue)|Fn(or.colonToken)|Fn(or.whenFalse),or}function ns(w,F,q,ge,Ze,or){return w.condition!==F||w.questionToken!==q||w.whenTrue!==ge||w.colonToken!==Ze||w.whenFalse!==or?n(pa(F,q,ge,Ze,or),w):w}function zs(w,F){const q=Z(227);return q.head=w,q.templateSpans=Y(F),q.transformFlags|=Fn(q.head)|go(q.templateSpans)|1024,q}function ba(w,F,q){return w.head!==F||w.templateSpans!==q?n(zs(F,q),w):w}function Ic(w,F,q,ge=0){R.assert(!(ge&-7177),"Unsupported template flags.");let Ze;if(q!==void 0&&q!==F&&(Ze=jYe(w,q),typeof Ze=="object"))return R.fail("Invalid raw text");if(F===void 0){if(Ze===void 0)return R.fail("Arguments 'text' and 'rawText' may not both be undefined.");F=Ze}else Ze!==void 0&&R.assert(F===Ze,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return F}function Po(w){let F=1024;return w&&(F|=128),F}function Kl(w,F,q,ge){const Ze=et(w);return Ze.text=F,Ze.rawText=q,Ze.templateFlags=ge&7176,Ze.transformFlags=Po(Ze.templateFlags),Ze}function Bp(w,F,q,ge){const Ze=fe(w);return Ze.text=F,Ze.rawText=q,Ze.templateFlags=ge&7176,Ze.transformFlags=Po(Ze.templateFlags),Ze}function z_(w,F,q,ge){return w===15?Bp(w,F,q,ge):Kl(w,F,q,ge)}function xh(w,F,q){return w=Ic(16,w,F,q),z_(16,w,F,q)}function Vm(w,F,q){return w=Ic(16,w,F,q),z_(17,w,F,q)}function fm(w,F,q){return w=Ic(16,w,F,q),z_(18,w,F,q)}function Re(w,F,q){return w=Ic(16,w,F,q),Bp(15,w,F,q)}function lt(w,F){R.assert(!w||!!F,"A `YieldExpression` with an asteriskToken must have an expression.");const q=Z(228);return q.expression=F&&s().parenthesizeExpressionForDisallowedComma(F),q.asteriskToken=w,q.transformFlags|=Fn(q.expression)|Fn(q.asteriskToken)|1024|128|1048576,q}function St(w,F,q){return w.expression!==q||w.asteriskToken!==F?n(lt(F,q),w):w}function dr(w){const F=Z(229);return F.expression=s().parenthesizeExpressionForDisallowedComma(w),F.transformFlags|=Fn(F.expression)|1024|32768,F}function $r(w,F){return w.expression!==F?n(dr(F),w):w}function Wr(w,F,q,ge,Ze){const or=fe(230);return or.modifiers=da(w),or.name=Ml(F),or.typeParameters=da(q),or.heritageClauses=da(ge),or.members=Y(Ze),or.transformFlags|=go(or.modifiers)|u1(or.name)|go(or.typeParameters)|go(or.heritageClauses)|go(or.members)|(or.typeParameters?1:0)|1024,or.jsDoc=void 0,or}function Hr(w,F,q,ge,Ze,or){return w.modifiers!==F||w.name!==q||w.typeParameters!==ge||w.heritageClauses!==Ze||w.members!==or?n(Wr(F,q,ge,Ze,or),w):w}function dn(){return Z(231)}function $i(w,F){const q=Z(232);return q.expression=s().parenthesizeLeftSideOfAccess(w,!1),q.typeArguments=F&&s().parenthesizeTypeArguments(F),q.transformFlags|=Fn(q.expression)|go(q.typeArguments)|1024,q}function As(w,F,q){return w.expression!==F||w.typeArguments!==q?n($i(F,q),w):w}function Ln(w,F){const q=Z(233);return q.expression=w,q.type=F,q.transformFlags|=Fn(q.expression)|Fn(q.type)|1,q}function si(w,F,q){return w.expression!==F||w.type!==q?n(Ln(F,q),w):w}function zn(w){const F=Z(234);return F.expression=s().parenthesizeLeftSideOfAccess(w,!1),F.transformFlags|=Fn(F.expression)|1,F}function ya(w,F){return ej(w)?vg(w,F):w.expression!==F?n(zn(F),w):w}function gl(w,F){const q=Z(237);return q.expression=w,q.type=F,q.transformFlags|=Fn(q.expression)|Fn(q.type)|1,q}function hu(w,F,q){return w.expression!==F||w.type!==q?n(gl(F,q),w):w}function V_(w){const F=Z(234);return F.flags|=32,F.expression=s().parenthesizeLeftSideOfAccess(w,!0),F.transformFlags|=Fn(F.expression)|1,F}function vg(w,F){return R.assert(!!(w.flags&32),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),w.expression!==F?n(V_(F),w):w}function bg(w,F){const q=Z(235);switch(q.keywordToken=w,q.name=F,q.transformFlags|=Fn(q.name),w){case 105:q.transformFlags|=1024;break;case 102:q.transformFlags|=32;break;default:return R.assertNever(w)}return q.flowNode=void 0,q}function vd(w,F){return w.name!==F?n(bg(w.keywordToken,F),w):w}function C1(w,F){const q=Z(238);return q.expression=w,q.literal=F,q.transformFlags|=Fn(q.expression)|Fn(q.literal)|1024,q}function Gv(w,F,q){return w.expression!==F||w.literal!==q?n(C1(F,q),w):w}function Ek(){const w=Z(239);return w.transformFlags|=1024,w}function w1(w,F){const q=Z(240);return q.statements=Y(w),q.multiLine=F,q.transformFlags|=go(q.statements),q.jsDoc=void 0,q.locals=void 0,q.nextContainer=void 0,q}function Ak(w,F){return w.statements!==F?n(w1(F,w.multiLine),w):w}function pS(w,F){const q=Z(242);return q.modifiers=da(w),q.declarationList=ka(F)?l0(F):F,q.transformFlags|=go(q.modifiers)|Fn(q.declarationList),ng(q.modifiers)&2&&(q.transformFlags=1),q.jsDoc=void 0,q.flowNode=void 0,q}function h2(w,F,q){return w.modifiers!==F||w.declarationList!==q?n(pS(F,q),w):w}function dS(){const w=Z(241);return w.jsDoc=void 0,w}function Xv(w){const F=Z(243);return F.expression=s().parenthesizeExpressionOfExpressionStatement(w),F.transformFlags|=Fn(F.expression),F.jsDoc=void 0,F.flowNode=void 0,F}function hE(w,F){return w.expression!==F?n(Xv(F),w):w}function g2(w,F,q){const ge=Z(244);return ge.expression=w,ge.thenStatement=U1(F),ge.elseStatement=U1(q),ge.transformFlags|=Fn(ge.expression)|Fn(ge.thenStatement)|Fn(ge.elseStatement),ge.jsDoc=void 0,ge.flowNode=void 0,ge}function gE(w,F,q,ge){return w.expression!==F||w.thenStatement!==q||w.elseStatement!==ge?n(g2(F,q,ge),w):w}function mS(w,F){const q=Z(245);return q.statement=U1(w),q.expression=F,q.transformFlags|=Fn(q.statement)|Fn(q.expression),q.jsDoc=void 0,q.flowNode=void 0,q}function yE(w,F,q){return w.statement!==F||w.expression!==q?n(mS(F,q),w):w}function Pk(w,F){const q=Z(246);return q.expression=w,q.statement=U1(F),q.transformFlags|=Fn(q.expression)|Fn(q.statement),q.jsDoc=void 0,q.flowNode=void 0,q}function hS(w,F,q){return w.expression!==F||w.statement!==q?n(Pk(F,q),w):w}function Qv(w,F,q,ge){const Ze=Z(247);return Ze.initializer=w,Ze.condition=F,Ze.incrementor=q,Ze.statement=U1(ge),Ze.transformFlags|=Fn(Ze.initializer)|Fn(Ze.condition)|Fn(Ze.incrementor)|Fn(Ze.statement),Ze.jsDoc=void 0,Ze.locals=void 0,Ze.nextContainer=void 0,Ze.flowNode=void 0,Ze}function Yv(w,F,q,ge,Ze){return w.initializer!==F||w.condition!==q||w.incrementor!==ge||w.statement!==Ze?n(Qv(F,q,ge,Ze),w):w}function Zv(w,F,q){const ge=Z(248);return ge.initializer=w,ge.expression=F,ge.statement=U1(q),ge.transformFlags|=Fn(ge.initializer)|Fn(ge.expression)|Fn(ge.statement),ge.jsDoc=void 0,ge.locals=void 0,ge.nextContainer=void 0,ge.flowNode=void 0,ge}function Dk(w,F,q,ge){return w.initializer!==F||w.expression!==q||w.statement!==ge?n(Zv(F,q,ge),w):w}function E1(w,F,q,ge){const Ze=Z(249);return Ze.awaitModifier=w,Ze.initializer=F,Ze.expression=s().parenthesizeExpressionForDisallowedComma(q),Ze.statement=U1(ge),Ze.transformFlags|=Fn(Ze.awaitModifier)|Fn(Ze.initializer)|Fn(Ze.expression)|Fn(Ze.statement)|1024,w&&(Ze.transformFlags|=128),Ze.jsDoc=void 0,Ze.locals=void 0,Ze.nextContainer=void 0,Ze.flowNode=void 0,Ze}function Do(w,F,q,ge,Ze){return w.awaitModifier!==F||w.initializer!==q||w.expression!==ge||w.statement!==Ze?n(E1(F,q,ge,Ze),w):w}function gS(w){const F=Z(250);return F.label=Ml(w),F.transformFlags|=Fn(F.label)|4194304,F.jsDoc=void 0,F.flowNode=void 0,F}function vE(w,F){return w.label!==F?n(gS(F),w):w}function c0(w){const F=Z(251);return F.label=Ml(w),F.transformFlags|=Fn(F.label)|4194304,F.jsDoc=void 0,F.flowNode=void 0,F}function ly(w,F){return w.label!==F?n(c0(F),w):w}function kh(w){const F=Z(252);return F.expression=w,F.transformFlags|=Fn(F.expression)|128|4194304,F.jsDoc=void 0,F.flowNode=void 0,F}function Zp(w,F){return w.expression!==F?n(kh(F),w):w}function __(w,F){const q=Z(253);return q.expression=w,q.statement=U1(F),q.transformFlags|=Fn(q.expression)|Fn(q.statement),q.jsDoc=void 0,q.flowNode=void 0,q}function C_(w,F,q){return w.expression!==F||w.statement!==q?n(__(F,q),w):w}function w_(w,F){const q=Z(254);return q.expression=s().parenthesizeExpressionForDisallowedComma(w),q.caseBlock=F,q.transformFlags|=Fn(q.expression)|Fn(q.caseBlock),q.jsDoc=void 0,q.flowNode=void 0,q.possiblyExhaustive=!1,q}function uy(w,F,q){return w.expression!==F||w.caseBlock!==q?n(w_(F,q),w):w}function Nk(w,F){const q=Z(255);return q.label=Ml(w),q.statement=U1(F),q.transformFlags|=Fn(q.label)|Fn(q.statement),q.jsDoc=void 0,q.flowNode=void 0,q}function bE(w,F,q){return w.label!==F||w.statement!==q?n(Nk(F,q),w):w}function yS(w){const F=Z(256);return F.expression=w,F.transformFlags|=Fn(F.expression),F.jsDoc=void 0,F.flowNode=void 0,F}function Ik(w,F){return w.expression!==F?n(yS(F),w):w}function y2(w,F,q){const ge=Z(257);return ge.tryBlock=w,ge.catchClause=F,ge.finallyBlock=q,ge.transformFlags|=Fn(ge.tryBlock)|Fn(ge.catchClause)|Fn(ge.finallyBlock),ge.jsDoc=void 0,ge.flowNode=void 0,ge}function TE(w,F,q,ge){return w.tryBlock!==F||w.catchClause!==q||w.finallyBlock!==ge?n(y2(F,q,ge),w):w}function v2(){const w=Z(258);return w.jsDoc=void 0,w.flowNode=void 0,w}function vS(w,F,q,ge){const Ze=fe(259);return Ze.name=Ml(w),Ze.exclamationToken=F,Ze.type=q,Ze.initializer=J1(ge),Ze.transformFlags|=u1(Ze.name)|Fn(Ze.initializer)|(Ze.exclamationToken??Ze.type?1:0),Ze.jsDoc=void 0,Ze}function SE(w,F,q,ge,Ze){return w.name!==F||w.type!==ge||w.exclamationToken!==q||w.initializer!==Ze?n(vS(F,q,ge,Ze),w):w}function l0(w,F=0){const q=Z(260);return q.flags|=F&3,q.declarations=Y(w),q.transformFlags|=go(q.declarations)|4194304,F&3&&(q.transformFlags|=263168),q}function Ok(w,F){return w.declarations!==F?n(l0(F,w.flags),w):w}function rt(w,F,q,ge,Ze,or,wn){const Rs=fe(261);if(Rs.modifiers=da(w),Rs.asteriskToken=F,Rs.name=Ml(q),Rs.typeParameters=da(ge),Rs.parameters=Y(Ze),Rs.type=or,Rs.body=wn,!Rs.body||ng(Rs.modifiers)&2)Rs.transformFlags=1;else{const dc=ng(Rs.modifiers)&512,Kp=!!Rs.asteriskToken,x0=dc&&Kp;Rs.transformFlags=go(Rs.modifiers)|Fn(Rs.asteriskToken)|u1(Rs.name)|go(Rs.typeParameters)|go(Rs.parameters)|Fn(Rs.type)|Fn(Rs.body)&-67108865|(x0?128:dc?256:Kp?2048:0)|(Rs.typeParameters||Rs.type?1:0)|4194304}return Rs.typeArguments=void 0,Rs.jsDoc=void 0,Rs.locals=void 0,Rs.nextContainer=void 0,Rs.endFlowNode=void 0,Rs.returnFlowNode=void 0,Rs}function Tg(w,F,q,ge,Ze,or,wn,Rs){return w.modifiers!==F||w.asteriskToken!==q||w.name!==ge||w.typeParameters!==Ze||w.parameters!==or||w.type!==wn||w.body!==Rs?fy(rt(F,q,ge,Ze,or,wn,Rs),w):w}function fy(w,F){return w!==F&&w.modifiers===F.modifiers&&(w.modifiers=F.modifiers),Q(w,F)}function A1(w,F,q,ge,Ze){const or=fe(262);return or.modifiers=da(w),or.name=Ml(F),or.typeParameters=da(q),or.heritageClauses=da(ge),or.members=Y(Ze),ng(or.modifiers)&2?or.transformFlags=1:(or.transformFlags|=go(or.modifiers)|u1(or.name)|go(or.typeParameters)|go(or.heritageClauses)|go(or.members)|(or.typeParameters?1:0)|1024,or.transformFlags&8192&&(or.transformFlags|=1)),or.jsDoc=void 0,or}function b2(w,F,q,ge,Ze,or){return w.modifiers!==F||w.name!==q||w.typeParameters!==ge||w.heritageClauses!==Ze||w.members!==or?n(A1(F,q,ge,Ze,or),w):w}function u0(w,F,q,ge,Ze){const or=fe(263);return or.modifiers=da(w),or.name=Ml(F),or.typeParameters=da(q),or.heritageClauses=da(ge),or.members=Y(Ze),or.transformFlags=1,or.jsDoc=void 0,or}function T2(w,F,q,ge,Ze,or){return w.modifiers!==F||w.name!==q||w.typeParameters!==ge||w.heritageClauses!==Ze||w.members!==or?n(u0(F,q,ge,Ze,or),w):w}function yl(w,F,q,ge){const Ze=fe(264);return Ze.modifiers=da(w),Ze.name=Ml(F),Ze.typeParameters=da(q),Ze.type=ge,Ze.transformFlags=1,Ze.jsDoc=void 0,Ze.locals=void 0,Ze.nextContainer=void 0,Ze}function f0(w,F,q,ge,Ze){return w.modifiers!==F||w.name!==q||w.typeParameters!==ge||w.type!==Ze?n(yl(F,q,ge,Ze),w):w}function No(w,F,q){const ge=fe(265);return ge.modifiers=da(w),ge.name=Ml(F),ge.members=Y(q),ge.transformFlags|=go(ge.modifiers)|Fn(ge.name)|go(ge.members)|1,ge.transformFlags&=-67108865,ge.jsDoc=void 0,ge}function $_(w,F,q,ge){return w.modifiers!==F||w.name!==q||w.members!==ge?n(No(F,q,ge),w):w}function bS(w,F,q,ge=0){const Ze=fe(266);return Ze.modifiers=da(w),Ze.flags|=ge&1044,Ze.name=F,Ze.body=q,ng(Ze.modifiers)&2?Ze.transformFlags=1:Ze.transformFlags|=go(Ze.modifiers)|Fn(Ze.name)|Fn(Ze.body)|1,Ze.transformFlags&=-67108865,Ze.jsDoc=void 0,Ze.locals=void 0,Ze.nextContainer=void 0,Ze}function Df(w,F,q,ge){return w.modifiers!==F||w.name!==q||w.body!==ge?n(bS(F,q,ge,w.flags),w):w}function _y(w){const F=Z(267);return F.statements=Y(w),F.transformFlags|=go(F.statements),F.jsDoc=void 0,F}function q_(w,F){return w.statements!==F?n(_y(F),w):w}function P1(w){const F=Z(268);return F.clauses=Y(w),F.transformFlags|=go(F.clauses),F.locals=void 0,F.nextContainer=void 0,F}function TS(w,F){return w.clauses!==F?n(P1(F),w):w}function SS(w){const F=fe(269);return F.name=Ml(w),F.transformFlags|=_D(F.name)|1,F.modifiers=void 0,F.jsDoc=void 0,F}function xE(w,F){return w.name!==F?Ch(SS(F),w):w}function Ch(w,F){return w!==F&&(w.modifiers=F.modifiers),n(w,F)}function Lk(w,F,q,ge){const Ze=fe(270);return Ze.modifiers=da(w),Ze.name=Ml(q),Ze.isTypeOnly=F,Ze.moduleReference=ge,Ze.transformFlags|=go(Ze.modifiers)|_D(Ze.name)|Fn(Ze.moduleReference),fg(Ze.moduleReference)||(Ze.transformFlags|=1),Ze.transformFlags&=-67108865,Ze.jsDoc=void 0,Ze}function Mk(w,F,q,ge,Ze){return w.modifiers!==F||w.isTypeOnly!==q||w.name!==ge||w.moduleReference!==Ze?n(Lk(F,q,ge,Ze),w):w}function ms(w,F,q,ge){const Ze=Z(271);return Ze.modifiers=da(w),Ze.importClause=F,Ze.moduleSpecifier=q,Ze.assertClause=ge,Ze.transformFlags|=Fn(Ze.importClause)|Fn(Ze.moduleSpecifier),Ze.transformFlags&=-67108865,Ze.jsDoc=void 0,Ze}function mi(w,F,q,ge,Ze){return w.modifiers!==F||w.importClause!==q||w.moduleSpecifier!==ge||w.assertClause!==Ze?n(ms(F,q,ge,Ze),w):w}function fp(w,F,q){const ge=fe(272);return ge.isTypeOnly=w,ge.name=F,ge.namedBindings=q,ge.transformFlags|=Fn(ge.name)|Fn(ge.namedBindings),w&&(ge.transformFlags|=1),ge.transformFlags&=-67108865,ge}function Eu(w,F,q,ge){return w.isTypeOnly!==F||w.name!==q||w.namedBindings!==ge?n(fp(F,q,ge),w):w}function D1(w,F){const q=Z(299);return q.elements=Y(w),q.multiLine=F,q.transformFlags|=4,q}function _0(w,F,q){return w.elements!==F||w.multiLine!==q?n(D1(F,q),w):w}function S2(w,F){const q=Z(300);return q.name=w,q.value=F,q.transformFlags|=4,q}function kE(w,F,q){return w.name!==F||w.value!==q?n(S2(F,q),w):w}function ll(w,F){const q=Z(301);return q.assertClause=w,q.multiLine=F,q}function xS(w,F,q){return w.assertClause!==F||w.multiLine!==q?n(ll(F,q),w):w}function kS(w){const F=fe(273);return F.name=w,F.transformFlags|=Fn(F.name),F.transformFlags&=-67108865,F}function Fk(w,F){return w.name!==F?n(kS(F),w):w}function CS(w){const F=fe(279);return F.name=w,F.transformFlags|=Fn(F.name)|32,F.transformFlags&=-67108865,F}function _m(w,F){return w.name!==F?n(CS(F),w):w}function Rk(w){const F=Z(274);return F.elements=Y(w),F.transformFlags|=go(F.elements),F.transformFlags&=-67108865,F}function wA(w,F){return w.elements!==F?n(Rk(F),w):w}function Kv(w,F,q){const ge=fe(275);return ge.isTypeOnly=w,ge.propertyName=F,ge.name=q,ge.transformFlags|=Fn(ge.propertyName)|Fn(ge.name),ge.transformFlags&=-67108865,ge}function Bk(w,F,q,ge){return w.isTypeOnly!==F||w.propertyName!==q||w.name!==ge?n(Kv(F,q,ge),w):w}function _p(w,F,q){const ge=fe(276);return ge.modifiers=da(w),ge.isExportEquals=F,ge.expression=F?s().parenthesizeRightSideOfBinary(64,void 0,q):s().parenthesizeExpressionOfExportDefault(q),ge.transformFlags|=go(ge.modifiers)|Fn(ge.expression),ge.transformFlags&=-67108865,ge.jsDoc=void 0,ge}function p0(w,F,q){return w.modifiers!==F||w.expression!==q?n(_p(F,w.isExportEquals,q),w):w}function W_(w,F,q,ge,Ze){const or=fe(277);return or.modifiers=da(w),or.isTypeOnly=F,or.exportClause=q,or.moduleSpecifier=ge,or.assertClause=Ze,or.transformFlags|=go(or.modifiers)|Fn(or.exportClause)|Fn(or.moduleSpecifier),or.transformFlags&=-67108865,or.jsDoc=void 0,or}function eb(w,F,q,ge,Ze,or){return w.modifiers!==F||w.isTypeOnly!==q||w.exportClause!==ge||w.moduleSpecifier!==Ze||w.assertClause!==or?CE(W_(F,q,ge,Ze,or),w):w}function CE(w,F){return w!==F&&w.modifiers===F.modifiers&&(w.modifiers=F.modifiers),n(w,F)}function py(w){const F=Z(278);return F.elements=Y(w),F.transformFlags|=go(F.elements),F.transformFlags&=-67108865,F}function tb(w,F){return w.elements!==F?n(py(F),w):w}function jk(w,F,q){const ge=Z(280);return ge.isTypeOnly=w,ge.propertyName=Ml(F),ge.name=Ml(q),ge.transformFlags|=Fn(ge.propertyName)|Fn(ge.name),ge.transformFlags&=-67108865,ge.jsDoc=void 0,ge}function $m(w,F,q,ge){return w.isTypeOnly!==F||w.propertyName!==q||w.name!==ge?n(jk(F,q,ge),w):w}function EA(){const w=fe(281);return w.jsDoc=void 0,w}function qm(w){const F=Z(282);return F.expression=w,F.transformFlags|=Fn(F.expression),F.transformFlags&=-67108865,F}function Wm(w,F){return w.expression!==F?n(qm(F),w):w}function pp(w){return Z(w)}function x2(w,F,q=!1){const ge=rb(w,q?F&&s().parenthesizeNonArrayTypeOfPostfixType(F):F);return ge.postfix=q,ge}function rb(w,F){const q=Z(w);return q.type=F,q}function AA(w,F,q){return F.type!==q?n(x2(w,q,F.postfix),F):F}function Jk(w,F,q){return F.type!==q?n(rb(w,q),F):F}function nc(w,F){const q=fe(323);return q.parameters=da(w),q.type=F,q.transformFlags=go(q.parameters)|(q.type?1:0),q.jsDoc=void 0,q.locals=void 0,q.nextContainer=void 0,q.typeArguments=void 0,q}function wS(w,F,q){return w.parameters!==F||w.type!==q?n(nc(F,q),w):w}function nb(w,F=!1){const q=fe(328);return q.jsDocPropertyTags=da(w),q.isArrayType=F,q}function Uk(w,F,q){return w.jsDocPropertyTags!==F||w.isArrayType!==q?n(nb(F,q),w):w}function ib(w){const F=Z(315);return F.type=w,F}function zk(w,F){return w.type!==F?n(ib(F),w):w}function wE(w,F,q){const ge=fe(329);return ge.typeParameters=da(w),ge.parameters=Y(F),ge.type=q,ge.jsDoc=void 0,ge.locals=void 0,ge.nextContainer=void 0,ge}function Vk(w,F,q,ge){return w.typeParameters!==F||w.parameters!==q||w.type!==ge?n(wE(F,q,ge),w):w}function gn(w){const F=FJ(w.kind);return w.tagName.escapedText===$c(F)?w.tagName:we(F)}function Il(w,F,q){const ge=Z(w);return ge.tagName=F,ge.comment=q,ge}function Ws(w,F,q){const ge=fe(w);return ge.tagName=F,ge.comment=q,ge}function d0(w,F,q,ge){const Ze=Il(351,w??we("template"),ge);return Ze.constraint=F,Ze.typeParameters=Y(q),Ze}function ES(w,F=gn(w),q,ge,Ze){return w.tagName!==F||w.constraint!==q||w.typeParameters!==ge||w.comment!==Ze?n(d0(F,q,ge,Ze),w):w}function Hm(w,F,q,ge){const Ze=Ws(352,w??we("typedef"),ge);return Ze.typeExpression=F,Ze.fullName=q,Ze.name=lne(q),Ze.locals=void 0,Ze.nextContainer=void 0,Ze}function xn(w,F=gn(w),q,ge,Ze){return w.tagName!==F||w.typeExpression!==q||w.fullName!==ge||w.comment!==Ze?n(Hm(F,q,ge,Ze),w):w}function k2(w,F,q,ge,Ze,or){const wn=Ws(347,w??we("param"),or);return wn.typeExpression=ge,wn.name=F,wn.isNameFirst=!!Ze,wn.isBracketed=q,wn}function C2(w,F=gn(w),q,ge,Ze,or,wn){return w.tagName!==F||w.name!==q||w.isBracketed!==ge||w.typeExpression!==Ze||w.isNameFirst!==or||w.comment!==wn?n(k2(F,q,ge,Ze,or,wn),w):w}function Hl(w,F,q,ge,Ze,or){const wn=Ws(354,w??we("prop"),or);return wn.typeExpression=ge,wn.name=F,wn.isNameFirst=!!Ze,wn.isBracketed=q,wn}function wh(w,F=gn(w),q,ge,Ze,or,wn){return w.tagName!==F||w.name!==q||w.isBracketed!==ge||w.typeExpression!==Ze||w.isNameFirst!==or||w.comment!==wn?n(Hl(F,q,ge,Ze,or,wn),w):w}function jd(w,F,q,ge){const Ze=Ws(344,w??we("callback"),ge);return Ze.typeExpression=F,Ze.fullName=q,Ze.name=lne(q),Ze.locals=void 0,Ze.nextContainer=void 0,Ze}function w2(w,F=gn(w),q,ge,Ze){return w.tagName!==F||w.typeExpression!==q||w.fullName!==ge||w.comment!==Ze?n(jd(F,q,ge,Ze),w):w}function AS(w,F,q){const ge=Il(345,w??we("overload"),q);return ge.typeExpression=F,ge}function dy(w,F=gn(w),q,ge){return w.tagName!==F||w.typeExpression!==q||w.comment!==ge?n(AS(F,q,ge),w):w}function E2(w,F,q){const ge=Il(334,w??we("augments"),q);return ge.class=F,ge}function A2(w,F=gn(w),q,ge){return w.tagName!==F||w.class!==q||w.comment!==ge?n(E2(F,q,ge),w):w}function Sg(w,F,q){const ge=Il(335,w??we("implements"),q);return ge.class=F,ge}function Jd(w,F,q){const ge=Il(353,w??we("see"),q);return ge.name=F,ge}function N1(w,F,q,ge){return w.tagName!==F||w.name!==q||w.comment!==ge?n(Jd(F,q,ge),w):w}function Qc(w){const F=Z(316);return F.name=w,F}function ef(w,F){return w.name!==F?n(Qc(F),w):w}function xg(w,F){const q=Z(317);return q.left=w,q.right=F,q.transformFlags|=Fn(q.left)|Fn(q.right),q}function p_(w,F,q){return w.left!==F||w.right!==q?n(xg(F,q),w):w}function bd(w,F){const q=Z(330);return q.name=w,q.text=F,q}function P2(w,F,q){return w.name!==F?n(bd(F,q),w):w}function _f(w,F){const q=Z(331);return q.name=w,q.text=F,q}function $k(w,F,q){return w.name!==F?n(_f(F,q),w):w}function I1(w,F){const q=Z(332);return q.name=w,q.text=F,q}function O1(w,F,q){return w.name!==F?n(I1(F,q),w):w}function PS(w,F=gn(w),q,ge){return w.tagName!==F||w.class!==q||w.comment!==ge?n(Sg(F,q,ge),w):w}function Td(w,F,q){return Il(w,F??we(FJ(w)),q)}function m0(w,F,q=gn(F),ge){return F.tagName!==q||F.comment!==ge?n(Td(w,q,ge),F):F}function D2(w,F,q,ge){const Ze=Il(w,F??we(FJ(w)),ge);return Ze.typeExpression=q,Ze}function rl(w,F,q=gn(F),ge,Ze){return F.tagName!==q||F.typeExpression!==ge||F.comment!==Ze?n(D2(w,q,ge,Ze),F):F}function sb(w,F){return Il(333,w,F)}function DS(w,F,q){return w.tagName!==F||w.comment!==q?n(sb(F,q),w):w}function eu(w,F,q){const ge=Ws(346,w??we(FJ(346)),q);return ge.typeExpression=F,ge.locals=void 0,ge.nextContainer=void 0,ge}function EE(w,F=gn(w),q,ge){return w.tagName!==F||w.typeExpression!==q||w.comment!==ge?n(eu(F,q,ge),w):w}function cu(w){const F=Z(327);return F.text=w,F}function h0(w,F){return w.text!==F?n(cu(F),w):w}function N2(w,F){const q=Z(326);return q.comment=w,q.tags=da(F),q}function Gm(w,F,q){return w.comment!==F||w.tags!==q?n(N2(F,q),w):w}function dp(w,F,q){const ge=Z(283);return ge.openingElement=w,ge.children=Y(F),ge.closingElement=q,ge.transformFlags|=Fn(ge.openingElement)|go(ge.children)|Fn(ge.closingElement)|2,ge}function NS(w,F,q,ge){return w.openingElement!==F||w.children!==q||w.closingElement!==ge?n(dp(F,q,ge),w):w}function ab(w,F,q){const ge=Z(284);return ge.tagName=w,ge.typeArguments=da(F),ge.attributes=q,ge.transformFlags|=Fn(ge.tagName)|go(ge.typeArguments)|Fn(ge.attributes)|2,ge.typeArguments&&(ge.transformFlags|=1),ge}function AE(w,F,q,ge){return w.tagName!==F||w.typeArguments!==q||w.attributes!==ge?n(ab(F,q,ge),w):w}function my(w,F,q){const ge=Z(285);return ge.tagName=w,ge.typeArguments=da(F),ge.attributes=q,ge.transformFlags|=Fn(ge.tagName)|go(ge.typeArguments)|Fn(ge.attributes)|2,F&&(ge.transformFlags|=1),ge}function g0(w,F,q,ge){return w.tagName!==F||w.typeArguments!==q||w.attributes!==ge?n(my(F,q,ge),w):w}function y0(w){const F=Z(286);return F.tagName=w,F.transformFlags|=Fn(F.tagName)|2,F}function PA(w,F){return w.tagName!==F?n(y0(F),w):w}function jp(w,F,q){const ge=Z(287);return ge.openingFragment=w,ge.children=Y(F),ge.closingFragment=q,ge.transformFlags|=Fn(ge.openingFragment)|go(ge.children)|Fn(ge.closingFragment)|2,ge}function PE(w,F,q,ge){return w.openingFragment!==F||w.children!==q||w.closingFragment!==ge?n(jp(F,q,ge),w):w}function v0(w,F){const q=Z(12);return q.text=w,q.containsOnlyTriviaWhiteSpaces=!!F,q.transformFlags|=2,q}function Jp(w,F,q){return w.text!==F||w.containsOnlyTriviaWhiteSpaces!==q?n(v0(F,q),w):w}function kg(){const w=Z(288);return w.transformFlags|=2,w}function qk(){const w=Z(289);return w.transformFlags|=2,w}function ob(w,F){const q=fe(290);return q.name=w,q.initializer=F,q.transformFlags|=Fn(q.name)|Fn(q.initializer)|2,q}function Fo(w,F,q){return w.name!==F||w.initializer!==q?n(ob(F,q),w):w}function Yn(w){const F=fe(291);return F.properties=Y(w),F.transformFlags|=go(F.properties)|2,F}function Up(w,F){return w.properties!==F?n(Yn(F),w):w}function E_(w){const F=Z(292);return F.expression=w,F.transformFlags|=Fn(F.expression)|2,F}function IS(w,F){return w.expression!==F?n(E_(F),w):w}function L1(w,F){const q=Z(293);return q.dotDotDotToken=w,q.expression=F,q.transformFlags|=Fn(q.dotDotDotToken)|Fn(q.expression)|2,q}function DA(w,F){return w.expression!==F?n(L1(w.dotDotDotToken,F),w):w}function cb(w,F){const q=Z(294);return q.namespace=w,q.name=F,q.transformFlags|=Fn(q.namespace)|Fn(q.name)|2,q}function I2(w,F,q){return w.namespace!==F||w.name!==q?n(cb(F,q),w):w}function Eh(w,F){const q=Z(295);return q.expression=s().parenthesizeExpressionForDisallowedComma(w),q.statements=Y(F),q.transformFlags|=Fn(q.expression)|go(q.statements),q.jsDoc=void 0,q}function Ud(w,F,q){return w.expression!==F||w.statements!==q?n(Eh(F,q),w):w}function M1(w){const F=Z(296);return F.statements=Y(w),F.transformFlags=go(F.statements),F}function lb(w,F){return w.statements!==F?n(M1(F),w):w}function Cg(w,F){const q=Z(297);switch(q.token=w,q.types=Y(F),q.transformFlags|=go(q.types),w){case 96:q.transformFlags|=1024;break;case 119:q.transformFlags|=1;break;default:return R.assertNever(w)}return q}function hy(w,F){return w.types!==F?n(Cg(w.token,F),w):w}function ub(w,F){const q=Z(298);return q.variableDeclaration=Q8(w),q.block=F,q.transformFlags|=Fn(q.variableDeclaration)|Fn(q.block)|(w?0:64),q.locals=void 0,q.nextContainer=void 0,q}function Ol(w,F,q){return w.variableDeclaration!==F||w.block!==q?n(ub(F,q),w):w}function $u(w,F){const q=fe(302);return q.name=Ml(w),q.initializer=s().parenthesizeExpressionForDisallowedComma(F),q.transformFlags|=u1(q.name)|Fn(q.initializer),q.modifiers=void 0,q.questionToken=void 0,q.exclamationToken=void 0,q.jsDoc=void 0,q}function NA(w,F,q){return w.name!==F||w.initializer!==q?Sd($u(F,q),w):w}function Sd(w,F){return w!==F&&(w.modifiers=F.modifiers,w.questionToken=F.questionToken,w.exclamationToken=F.exclamationToken),n(w,F)}function Ah(w,F){const q=fe(303);return q.name=Ml(w),q.objectAssignmentInitializer=F&&s().parenthesizeExpressionForDisallowedComma(F),q.transformFlags|=_D(q.name)|Fn(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 O2(w,F,q){return w.name!==F||w.objectAssignmentInitializer!==q?Wk(Ah(F,q),w):w}function Wk(w,F){return w!==F&&(w.modifiers=F.modifiers,w.questionToken=F.questionToken,w.exclamationToken=F.exclamationToken,w.equalsToken=F.equalsToken),n(w,F)}function L2(w){const F=fe(304);return F.expression=s().parenthesizeExpressionForDisallowedComma(w),F.transformFlags|=Fn(F.expression)|128|65536,F.jsDoc=void 0,F}function pf(w,F){return w.expression!==F?n(L2(F),w):w}function ul(w,F){const q=fe(305);return q.name=Ml(w),q.initializer=F&&s().parenthesizeExpressionForDisallowedComma(F),q.transformFlags|=Fn(q.name)|Fn(q.initializer)|1,q.jsDoc=void 0,q}function IA(w,F,q){return w.name!==F||w.initializer!==q?n(ul(F,q),w):w}function OS(w,F,q){const ge=t.createBaseSourceFileNode(311);return ge.statements=Y(w),ge.endOfFileToken=F,ge.flags|=q,ge.text="",ge.fileName="",ge.path="",ge.resolvedPath="",ge.originalFileName="",ge.languageVersion=0,ge.languageVariant=0,ge.scriptKind=0,ge.isDeclarationFile=!1,ge.hasNoDefaultLib=!1,ge.transformFlags|=go(ge.statements)|Fn(ge.endOfFileToken),ge.locals=void 0,ge.nextContainer=void 0,ge.endFlowNode=void 0,ge.nodeCount=0,ge.identifierCount=0,ge.symbolCount=0,ge.parseDiagnostics=void 0,ge.bindDiagnostics=void 0,ge.bindSuggestionDiagnostics=void 0,ge.lineMap=void 0,ge.externalModuleIndicator=void 0,ge.setExternalModuleIndicator=void 0,ge.pragmas=void 0,ge.checkJsDirective=void 0,ge.referencedFiles=void 0,ge.typeReferenceDirectives=void 0,ge.libReferenceDirectives=void 0,ge.amdDependencies=void 0,ge.commentDirectives=void 0,ge.identifiers=void 0,ge.packageJsonLocations=void 0,ge.packageJsonScope=void 0,ge.imports=void 0,ge.moduleAugmentations=void 0,ge.ambientModuleNames=void 0,ge.resolvedModules=void 0,ge.classifiableNames=void 0,ge.impliedNodeFormat=void 0,ge}function gy(w){const F=Object.create(w.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=w,F}function F1(w){const F=gy(w.redirectInfo);return F.flags|=w.flags&-9,F.fileName=w.fileName,F.path=w.path,F.resolvedPath=w.resolvedPath,F.originalFileName=w.originalFileName,F.packageJsonLocations=w.packageJsonLocations,F.packageJsonScope=w.packageJsonScope,F.emitNode=void 0,F}function LS(w){const F=t.createBaseSourceFileNode(311);F.flags|=w.flags&-9;for(const q in w)if(!(uc(F,q)||!uc(w,q))){if(q==="emitNode"){F.emitNode=void 0;continue}F[q]=w[q]}return F}function Hk(w){const F=w.redirectInfo?F1(w):LS(w);return oi(F,w),F}function MS(w,F,q,ge,Ze,or,wn){const Rs=Hk(w);return Rs.statements=Y(F),Rs.isDeclarationFile=q,Rs.referencedFiles=ge,Rs.typeReferenceDirectives=Ze,Rs.hasNoDefaultLib=or,Rs.libReferenceDirectives=wn,Rs.transformFlags=go(Rs.statements)|Fn(Rs.endOfFileToken),Rs}function M2(w,F,q=w.isDeclarationFile,ge=w.referencedFiles,Ze=w.typeReferenceDirectives,or=w.hasNoDefaultLib,wn=w.libReferenceDirectives){return w.statements!==F||w.isDeclarationFile!==q||w.referencedFiles!==ge||w.typeReferenceDirectives!==Ze||w.hasNoDefaultLib!==or||w.libReferenceDirectives!==wn?n(MS(w,F,q,ge,Ze,or,wn),w):w}function FS(w,F=ft){const q=Z(312);return q.prepends=F,q.sourceFiles=w,q.syntheticFileReferences=void 0,q.syntheticTypeReferences=void 0,q.syntheticLibReferences=void 0,q.hasNoDefaultLib=void 0,q}function pm(w,F,q=ft){return w.sourceFiles!==F||w.prepends!==q?n(FS(F,q),w):w}function Xm(w,F,q){const ge=Z(313);return ge.prologues=w,ge.syntheticReferences=F,ge.texts=q,ge.fileName="",ge.text="",ge.referencedFiles=ft,ge.libReferenceDirectives=ft,ge.getLineAndCharacterOfPosition=Ze=>Vc(ge,Ze),ge}function R1(w,F){const q=Z(w);return q.data=F,q}function RS(w){return R1(306,w)}function OA(w,F){const q=R1(307,w);return q.texts=F,q}function b0(w,F){return R1(F?309:308,w)}function I(w){const F=Z(310);return F.data=w.data,F.section=w,F}function me(){const w=Z(314);return w.javascriptText="",w.declarationText="",w}function Xe(w,F=!1,q){const ge=Z(236);return ge.type=w,ge.isSpread=F,ge.tupleNameSource=q,ge}function Tr(w){const F=Z(357);return F._children=w,F}function jt(w){const F=Z(358);return F.original=w,wt(F,w),F}function is(w,F){const q=Z(359);return q.expression=w,q.original=F,q.transformFlags|=Fn(q.expression)|1,wt(q,F),q}function Di(w,F){return w.expression!==F?n(is(F,w.original),w):w}function Ts(w){if(Ec(w)&&!fP(w)&&!w.original&&!w.emitNode&&!w.id){if(xD(w))return w.elements;if(Bn(w)&&jxe(w.operatorToken))return[w.left,w.right]}return w}function Da(w){const F=Z(360);return F.elements=Y(Dn(w,Ts)),F.transformFlags|=go(F.elements),F}function H_(w,F){return w.elements!==F?n(Da(F),w):w}function G_(w,F){const q=Z(361);return q.expression=w,q.thisArg=F,q.transformFlags|=Fn(q.expression)|Fn(q.thisArg),q}function d_(w,F,q){return w.expression!==F||w.thisArg!==q?n(G_(F,q),w):w}function F2(w){const F=le(w.escapedText);return F.flags|=w.flags&-9,F.transformFlags=w.transformFlags,oi(F,w),fO(F,{...w.emitNode.autoGenerate}),F}function m_(w){const F=le(w.escapedText);F.flags|=w.flags&-9,F.jsDoc=w.jsDoc,F.flowNode=w.flowNode,F.symbol=w.symbol,F.transformFlags=w.transformFlags,oi(F,w);const q=qx(w);return q&&_1(F,q),F}function R2(w){const F=qe(w.escapedText);return F.flags|=w.flags&-9,F.transformFlags=w.transformFlags,oi(F,w),fO(F,{...w.emitNode.autoGenerate}),F}function fb(w){const F=qe(w.escapedText);return F.flags|=w.flags&-9,F.transformFlags=w.transformFlags,oi(F,w),F}function BS(w){if(w===void 0)return w;if(Cs(w))return Hk(w);if(il(w))return F2(w);if(He(w))return m_(w);if(KC(w))return R2(w);if(fs(w))return fb(w);const F=jI(w.kind)?t.createBaseNode(w.kind):t.createBaseTokenNode(w.kind);F.flags|=w.flags&-9,F.transformFlags=w.transformFlags,oi(F,w);for(const q in w)uc(F,q)||!uc(w,q)||(F[q]=w[q]);return F}function Gk(w,F,q){return sn(sa(void 0,void 0,void 0,void 0,F?[F]:[],void 0,w1(w,!0)),void 0,q?[q]:[])}function T0(w,F,q){return sn(xc(void 0,void 0,F?[F]:[],void 0,void 0,w1(w,!0)),void 0,q?[q]:[])}function xd(){return f_(he("0"))}function yy(w){return _p(void 0,!1,w)}function zp(w){return W_(void 0,!1,py([jk(!1,void 0,w)]))}function S0(w,F){return F==="undefined"?H.createStrictEquality(w,xd()):H.createStrictEquality(zl(w),de(F))}function _b(w,F,q){return kx(w)?fa(hc(w,void 0,F),void 0,void 0,q):sn(cl(w,F),void 0,q)}function wg(w,F,q){return _b(w,"bind",[F,...q])}function jS(w,F,q){return _b(w,"call",[F,...q])}function tM(w,F,q){return _b(w,"apply",[F,q])}function Ll(w,F,q){return _b(we(w),F,q)}function rM(w,F){return _b(w,"slice",F===void 0?[]:[j1(F)])}function qo(w,F){return _b(w,"concat",F)}function Ro(w,F,q){return Ll("Object","defineProperty",[w,j1(F),q])}function DE(w,F){return Ll("Object","getOwnPropertyDescriptor",[w,j1(F)])}function ne(w,F,q){return Ll("Reflect","get",q?[w,F,q]:[w,F])}function Ae(w,F,q,ge){return Ll("Reflect","set",ge?[w,F,q,ge]:[w,F,q])}function tt(w,F,q){return q?(w.push($u(F,q)),!0):!1}function Mt(w,F){const q=[];tt(q,"enumerable",j1(w.enumerable)),tt(q,"configurable",j1(w.configurable));let ge=tt(q,"writable",j1(w.writable));ge=tt(q,"value",w.value)||ge;let Ze=tt(q,"get",w.get);return Ze=tt(q,"set",w.set)||Ze,R.assert(!(ge&&Ze),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),ic(q,!F)}function ar(w,F){switch(w.kind){case 216:return ds(w,F);case 215:return ti(w,w.type,F);case 233:return si(w,F,w.type);case 237:return hu(w,F,w.type);case 234:return ya(w,F);case 359:return Di(w,F)}}function Ur(w){return j_(w)&&Ec(w)&&Ec(t2(w))&&Ec(cg(w))&&!Ne(D4(w))&&!Ne(uO(w))}function fi(w,F,q=15){return w&&AU(w,q)&&!Ur(w)?ar(w,fi(w.expression,F)):F}function Hi(w,F,q){if(!F)return w;const ge=bE(F,F.label,GT(F.statement)?Hi(w,F.statement):w);return q&&q(F),ge}function ss(w,F){const q=Tc(w);switch(q.kind){case 80:return F;case 110:case 9:case 10:case 11:return!1;case 208:return q.elements.length!==0;case 209:return q.properties.length>0;default:return!0}}function Gi(w,F,q,ge=!1){const Ze=lf(w,15);let or,wn;return v_(Ze)?(or=Lt(),wn=Ze):hD(Ze)?(or=Lt(),wn=q!==void 0&&q<2?wt(we("_super"),Ze):Ze):xo(Ze)&8192?(or=xd(),wn=s().parenthesizeLeftSideOfAccess(Ze,!1)):ai(Ze)?ss(Ze.expression,ge)?(or=Ie(F),wn=cl(wt(H.createAssignment(or,Ze.expression),Ze.expression),Ze.name),wt(wn,Ze)):(or=Ze.expression,wn=Ze):Pc(Ze)?ss(Ze.expression,ge)?(or=Ie(F),wn=wu(wt(H.createAssignment(or,Ze.expression),Ze.expression),Ze.argumentExpression),wt(wn,Ze)):(or=Ze.expression,wn=Ze):(or=xd(),wn=s().parenthesizeLeftSideOfAccess(w,!1)),{target:wn,thisArg:or}}function Qs(w,F){return cl(ki(ic([at(void 0,"value",[ci(void 0,void 0,w,void 0,void 0,void 0)],w1([Xv(F)]))])),"value")}function gc(w){return w.length>10?Da(w):Uf(w,H.createComma)}function Uo(w,F,q,ge=0,Ze){const or=Ze?w&&XB(w):ia(w);if(or&&He(or)&&!il(or)){const wn=ko(wt(BS(or),or),or.parent);return ge|=xo(or),q||(ge|=96),F||(ge|=3072),ge&&An(wn,ge),wn}return Ge(w)}function Xa(w,F,q){return Uo(w,F,q,98304)}function df(w,F,q,ge){return Uo(w,F,q,32768,ge)}function zd(w,F,q){return Uo(w,F,q,16384)}function pb(w,F,q){return Uo(w,F,q)}function vy(w,F,q,ge){const Ze=cl(w,Ec(F)?F:BS(F));wt(Ze,F);let or=0;return ge||(or|=96),q||(or|=3072),or&&An(Ze,or),Ze}function db(w,F,q,ge){return w&&gi(F,1)?vy(w,Uo(F),q,ge):zd(F,q,ge)}function mb(w,F,q,ge){const Ze=Qk(w,F,0,q);return NE(w,F,Ze,ge)}function hb(w){return yo(w.expression)&&w.expression.text==="use strict"}function Xk(){return Qf(Xv(de("use strict")))}function Qk(w,F,q=0,ge){R.assert(F.length===0,"Prologue directives should be at the first statement in the target statements array");let Ze=!1;const or=w.length;for(;q<or;){const wn=w[q];if(Yd(wn))hb(wn)&&(Ze=!0),F.push(wn);else break;q++}return ge&&!Ze&&F.push(Xk()),q}function NE(w,F,q,ge,Ze=jb){const or=w.length;for(;q!==void 0&&q<or;){const wn=w[q];if(xo(wn)&2097152&&Ze(wn))zr(F,ge?ct(wn,ge,Vs):wn);else break;q++}return q}function H8(w){return ane(w)?w:wt(Y([Xk(),...w]),w)}function G8(w){return R.assert(ot(w,D2e),"Cannot lift nodes to a Block."),$h(w)||w1(w)}function kd(w,F,q){let ge=q;for(;ge<w.length&&F(w[ge]);)ge++;return ge}function B1(w,F){if(!Ne(F))return w;const q=kd(w,Yd,0),ge=kd(w,wj,q),Ze=kd(w,Ej,ge),or=kd(F,Yd,0),wn=kd(F,wj,or),Rs=kd(F,Ej,wn),dc=kd(F,Cj,Rs);R.assert(dc===F.length,"Expected declarations to be valid standard or custom prologues");const Kp=wT(w)?w.slice():w;if(dc>Rs&&Kp.splice(Ze,0,...F.slice(Rs,dc)),Rs>wn&&Kp.splice(ge,0,...F.slice(wn,Rs)),wn>or&&Kp.splice(q,0,...F.slice(or,wn)),or>0)if(q===0)Kp.splice(0,0,...F.slice(0,or));else{const x0=new Map;for(let k0=0;k0<q;k0++){const gb=w[k0];x0.set(gb.expression.text,!0)}for(let k0=or-1;k0>=0;k0--){const gb=F[k0];x0.has(gb.expression.text)||Kp.unshift(gb)}}return wT(w)?wt(Y(Kp,w.hasTrailingComma),w):w}function X8(w,F){let q;return typeof F=="number"?q=vr(F):q=F,qc(w)?Cn(w,q,w.name,w.constraint,w.default):ea(w)?Ji(w,q,w.dotDotDotToken,w.name,w.questionToken,w.type,w.initializer):yD(w)?Nr(w,q,w.typeParameters,w.parameters,w.type):Gp(w)?Dr(w,q,w.name,w.questionToken,w.type):Ia(w)?_n(w,q,w.name,w.questionToken??w.exclamationToken,w.type,w.initializer):ty(w)?ks(w,q,w.name,w.questionToken,w.typeParameters,w.parameters,w.type):ql(w)?Yr(w,q,w.asteriskToken,w.name,w.questionToken,w.typeParameters,w.parameters,w.type,w.body):El(w)?Nt(w,q,w.parameters,w.body):nm(w)?rr(w,q,w.name,w.parameters,w.type,w.body):md(w)?xt(w,q,w.name,w.parameters,w.body):Wx(w)?Lr(w,q,w.parameters,w.type):_c(w)?Ka(w,q,w.asteriskToken,w.name,w.typeParameters,w.parameters,w.type,w.body):Dc(w)?Nc(w,q,w.typeParameters,w.parameters,w.type,w.equalsGreaterThanToken,w.body):Gf(w)?Hr(w,q,w.name,w.typeParameters,w.heritageClauses,w.members):Yl(w)?h2(w,q,w.declarationList):au(w)?Tg(w,q,w.asteriskToken,w.name,w.typeParameters,w.parameters,w.type,w.body):Su(w)?b2(w,q,w.name,w.typeParameters,w.heritageClauses,w.members):Xf(w)?T2(w,q,w.name,w.typeParameters,w.heritageClauses,w.members):Mm(w)?f0(w,q,w.name,w.typeParameters,w.type):s2(w)?$_(w,q,w.name,w.members):Al(w)?Df(w,q,w.name,w.body):cf(w)?Mk(w,q,w.isTypeOnly,w.name,w.moduleReference):ju(w)?mi(w,q,w.importClause,w.moduleSpecifier,w.assertClause):Pl(w)?p0(w,q,w.expression):Ju(w)?eb(w,q,w.isTypeOnly,w.exportClause,w.moduleSpecifier,w.assertClause):R.assertNever(w)}function da(w){return w?Y(w):void 0}function Ml(w){return typeof w=="string"?we(w):w}function j1(w){return typeof w=="string"?de(w):typeof w=="number"?he(w):typeof w=="boolean"?w?Xt():Ye():w}function J1(w){return w&&s().parenthesizeExpressionForDisallowedComma(w)}function B2(w){return typeof w=="number"?je(w):w}function U1(w){return w&&$re(w)?wt(oi(dS(),w),w):w}function Q8(w){return typeof w=="string"||w&&!bs(w)?vS(w,void 0,void 0,void 0):w}}function RYe(e,t){return e!==t&&wt(e,t),e}function BYe(e,t){return e!==t&&(oi(e,t),wt(e,t)),e}function FJ(e){switch(e){case 350:return"type";case 348:return"returns";case 349:return"this";case 346:return"enum";case 336:return"author";case 338:return"class";case 339:return"public";case 340:return"private";case 341:return"protected";case 342:return"readonly";case 343:return"override";case 351:return"template";case 352:return"typedef";case 347:return"param";case 354:return"prop";case 344:return"callback";case 345:return"overload";case 334:return"augments";case 335:return"implements";default:return R.fail(`Unsupported kind: ${R.formatSyntaxKind(e)}`)}}function jYe(e,t){switch(e0||(e0=e1(99,!1,0)),e){case 15:e0.setText("`"+t+"`");break;case 16:e0.setText("`"+t+"${");break;case 17:e0.setText("}"+t+"${");break;case 18:e0.setText("}"+t+"`");break}let n=e0.scan();if(n===20&&(n=e0.reScanTemplateToken(!1)),e0.isUnterminated())return e0.setText(void 0),xre;let s;switch(n){case 15:case 16:case 17:case 18:s=e0.getTokenValue();break}return s===void 0||e0.scan()!==1?(e0.setText(void 0),xre):(e0.setText(void 0),s)}function u1(e){return e&&He(e)?_D(e):Fn(e)}function _D(e){return Fn(e)&-67108865}function JYe(e,t){return t|e.transformFlags&134234112}function Fn(e){if(!e)return 0;const t=e.transformFlags&~xxe(e.kind);return bf(e)&&sl(e.name)?JYe(e.name,t):t}function go(e){return e?e.transformFlags:0}function Sxe(e){let t=0;for(const n of e)t|=Fn(n);e.transformFlags=t}function xxe(e){if(e>=181&&e<=204)return-2;switch(e){case 212:case 213:case 208:return-2147450880;case 266:return-1941676032;case 168:return-2147483648;case 218:return-2072174592;case 217:case 261:return-1937940480;case 260:return-2146893824;case 262:case 230:return-2147344384;case 175:return-1937948672;case 171:return-2013249536;case 173:case 176:case 177:return-2005057536;case 133:case 150:case 162:case 146:case 154:case 151:case 136:case 155:case 116:case 167:case 170:case 172:case 178:case 179:case 180:case 263:case 264:return-2;case 209:return-2147278848;case 298:return-2147418112;case 205:case 206:return-2147450880;case 215:case 237:case 233:case 359:case 216:case 108:return-2147483648;case 210:case 211:return-2147483648;default:return-2147483648}}function iO(e){return e.flags|=8,e}function yre(e,t,n){let s,l,f,d,g,h,k,T,C,D;Wa(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,T=()=>t==="js"?e.javascriptText:e.declarationText,C=()=>t==="js"?e.javascriptMapText:e.declarationMapText,g=()=>T().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,D=e.oldFileOfCurrentEmit));const O=D?zYe(R.checkDefined(l)):UYe(l,s,g);return O.fileName=f,O.sourceMapPath=h,O.oldFileOfCurrentEmit=D,T&&C?(Object.defineProperty(O,"text",{get:T}),Object.defineProperty(O,"sourceMapText",{get:C})):(R.assert(!D),O.text=d??"",O.sourceMapText=k),O}function UYe(e,t,n){let s,l,f,d,g,h,k,T;for(const D of e?e.sections:ft)switch(D.kind){case"prologue":s=zr(s,wt(V.createUnparsedPrologue(D.data),D));break;case"emitHelpers":l=zr(l,Dre().get(D.data));break;case"no-default-lib":T=!0;break;case"reference":f=zr(f,{pos:-1,end:-1,fileName:D.data});break;case"type":d=zr(d,{pos:-1,end:-1,fileName:D.data});break;case"type-import":d=zr(d,{pos:-1,end:-1,fileName:D.data,resolutionMode:99});break;case"type-require":d=zr(d,{pos:-1,end:-1,fileName:D.data,resolutionMode:1});break;case"lib":g=zr(g,{pos:-1,end:-1,fileName:D.data});break;case"prepend":let O;for(const M of D.texts)(!t||M.kind!=="internal")&&(O=zr(O,wt(V.createUnparsedTextLike(M.data,M.kind==="internal"),M)));h=Pi(h,O),k=zr(k,V.createUnparsedPrepend(D.data,O??ft));break;case"internal":if(t){k||(k=[]);break}case"text":k=zr(k,wt(V.createUnparsedTextLike(D.data,D.kind==="internal"),D));break;default:R.assertNever(D)}if(!k){const D=V.createUnparsedTextLike(void 0,!1);iD(D,0,typeof n=="function"?n():n),k=[D]}const C=_g.createUnparsedSource(s??ft,void 0,k);return k4(s,C),k4(k,C),k4(h,C),C.hasNoDefaultLib=T,C.helpers=l,C.referencedFiles=f||ft,C.typeReferenceDirectives=d,C.libReferenceDirectives=g||ft,C}function zYe(e){let t,n;for(const l of e.sections)switch(l.kind){case"internal":case"text":t=zr(t,wt(V.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=zr(n,wt(V.createUnparsedSyntheticReference(l),l));break;case"prologue":case"emitHelpers":case"prepend":break;default:R.assertNever(l)}const s=V.createUnparsedSource(ft,n,t??ft);return k4(n,s),k4(t,s),s.helpers=qt(e.sources&&e.sources.helpers,l=>Dre().get(l)),s}function VYe(e,t,n,s,l,f){return Wa(e)?bre(void 0,e,n,s,void 0,t,l,f):vre(e,t,n,s,l,f)}function vre(e,t,n,s,l,f,d,g){const h=_g.createInputFiles();h.javascriptPath=t,h.javascriptMapPath=n,h.declarationPath=s,h.declarationMapPath=l,h.buildInfoPath=f;const k=new Map,T=M=>{if(M===void 0)return;let U=k.get(M);return U===void 0&&(U=e(M),k.set(M,U!==void 0?U:!1)),U!==!1?U:void 0},C=M=>{const U=T(M);return U!==void 0?U:`/* Input file ${M} was missing */\r
`};let D;return Object.defineProperties(h,{javascriptText:{get:()=>C(t)},javascriptMapText:{get:()=>T(n)},declarationText:{get:()=>C(R.checkDefined(s))},declarationMapText:{get:()=>T(l)},buildInfo:{get:()=>{if(D===void 0&&f)if(d!=null&&d.getBuildInfo)D=d.getBuildInfo(f,g.configFilePath)??!1;else{const M=T(f);D=M!==void 0?Nz(f,M)??!1:!1}return D||void 0}}}),h}function bre(e,t,n,s,l,f,d,g,h,k,T){const C=_g.createInputFiles();return C.javascriptPath=e,C.javascriptText=t,C.javascriptMapPath=n,C.javascriptMapText=s,C.declarationPath=l,C.declarationText=f,C.declarationMapPath=d,C.declarationMapText=g,C.buildInfoPath=h,C.buildInfo=k,C.oldFileOfCurrentEmit=T,C}function $Ye(e,t,n){return new(Cxe||(Cxe=Ru.getSourceMapSourceConstructor()))(e,t,n)}function oi(e,t){if(e.original=t,t){const n=t.emitNode;n&&(e.emitNode=qYe(n,e.emitNode))}return e}function qYe(e,t){const{flags:n,internalFlags:s,leadingComments:l,trailingComments:f,commentRange:d,sourceMapRange:g,tokenSourceMapRanges:h,constantValue:k,helpers:T,startsOnNewLine:C,snippetElement:D}=e;if(t||(t={}),l&&(t.leadingComments=Pi(l.slice(),t.leadingComments)),f&&(t.trailingComments=Pi(f.slice(),t.trailingComments)),n&&(t.flags=n),s&&(t.internalFlags=s&-9),d&&(t.commentRange=d),g&&(t.sourceMapRange=g),h&&(t.tokenSourceMapRanges=WYe(h,t.tokenSourceMapRanges)),k!==void 0&&(t.constantValue=k),T)for(const O of T)t.helpers=n_(t.helpers,O);return C!==void 0&&(t.startsOnNewLine=C),D!==void 0&&(t.snippetElement=D),t}function WYe(e,t){t||(t=[]);for(const n in e)t[n]=e[n];return t}var sO,Tre,Sre,e0,xre,pD,kxe,V,Cxe,HYe=p({"src/compiler/factory/nodeFactory.ts"(){Ba(),sO=0,Tre=(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))(Tre||{}),Sre=[],xre={},pD=vxe(),kxe={createBaseSourceFileNode:e=>iO(pD.createBaseSourceFileNode(e)),createBaseIdentifierNode:e=>iO(pD.createBaseIdentifierNode(e)),createBasePrivateIdentifierNode:e=>iO(pD.createBasePrivateIdentifierNode(e)),createBaseTokenNode:e=>iO(pD.createBaseTokenNode(e)),createBaseNode:e=>iO(pD.createBaseNode(e))},V=nO(4,kxe)}});function c_(e){if(e.emitNode)R.assert(!(e.emitNode.internalFlags&8),"Invalid attempt to mutate an immutable node.");else{if(fP(e)){if(e.kind===311)return e.emitNode={annotatedNodes:[e]};const t=pn(Gs(pn(e)))??R.fail("Could not determine parsed source file.");c_(t).annotatedNodes.push(e)}e.emitNode={}}return e.emitNode}function kre(e){var t,n;const s=(n=(t=pn(Gs(e)))==null?void 0:t.emitNode)==null?void 0:n.annotatedNodes;if(s)for(const l of s)l.emitNode=void 0}function aO(e){const t=c_(e);return t.flags|=3072,t.leadingComments=void 0,t.trailingComments=void 0,e}function An(e,t){return c_(e).flags=t,e}function og(e,t){const n=c_(e);return n.flags=n.flags|t,e}function oO(e,t){return c_(e).internalFlags=t,e}function Tw(e,t){const n=c_(e);return n.internalFlags=n.internalFlags|t,e}function t2(e){var t;return((t=e.emitNode)==null?void 0:t.sourceMapRange)??e}function $o(e,t){return c_(e).sourceMapRange=t,e}function GYe(e,t){var n,s;return(s=(n=e.emitNode)==null?void 0:n.tokenSourceMapRanges)==null?void 0:s[t]}function wxe(e,t,n){const s=c_(e),l=s.tokenSourceMapRanges??(s.tokenSourceMapRanges=[]);return l[t]=n,e}function cO(e){var t;return(t=e.emitNode)==null?void 0:t.startsOnNewLine}function Cre(e,t){return c_(e).startsOnNewLine=t,e}function cg(e){var t;return((t=e.emitNode)==null?void 0:t.commentRange)??e}function Bu(e,t){return c_(e).commentRange=t,e}function D4(e){var t;return(t=e.emitNode)==null?void 0:t.leadingComments}function r2(e,t){return c_(e).leadingComments=t,e}function lO(e,t,n,s){return r2(e,zr(D4(e),{kind:t,pos:-1,end:-1,hasTrailingNewLine:s,text:n}))}function uO(e){var t;return(t=e.emitNode)==null?void 0:t.trailingComments}function Sw(e,t){return c_(e).trailingComments=t,e}function RJ(e,t,n,s){return Sw(e,zr(uO(e),{kind:t,pos:-1,end:-1,hasTrailingNewLine:s,text:n}))}function Exe(e,t){r2(e,D4(t)),Sw(e,uO(t));const n=c_(t);return n.leadingComments=void 0,n.trailingComments=void 0,e}function Axe(e){var t;return(t=e.emitNode)==null?void 0:t.constantValue}function Pxe(e,t){const n=c_(e);return n.constantValue=t,e}function xw(e,t){const n=c_(e);return n.helpers=zr(n.helpers,t),e}function f1(e,t){if(Ne(t)){const n=c_(e);for(const s of t)n.helpers=n_(n.helpers,s)}return e}function XYe(e,t){var n;const s=(n=e.emitNode)==null?void 0:n.helpers;return s?pB(s,t):!1}function BJ(e){var t;return(t=e.emitNode)==null?void 0:t.helpers}function Dxe(e,t,n){const s=e.emitNode,l=s&&s.helpers;if(!Ne(l))return;const f=c_(t);let d=0;for(let g=0;g<l.length;g++){const h=l[g];n(h)?(d++,f.helpers=n_(f.helpers,h)):d>0&&(l[g-d]=h)}d>0&&(l.length-=d)}function wre(e){var t;return(t=e.emitNode)==null?void 0:t.snippetElement}function Ere(e,t){const n=c_(e);return n.snippetElement=t,e}function Are(e){return c_(e).internalFlags|=4,e}function Nxe(e,t){const n=c_(e);return n.typeNode=t,e}function Ixe(e){var t;return(t=e.emitNode)==null?void 0:t.typeNode}function _1(e,t){return c_(e).identifierTypeArguments=t,e}function qx(e){var t;return(t=e.emitNode)==null?void 0:t.identifierTypeArguments}function fO(e,t){return c_(e).autoGenerate=t,e}function QYe(e){var t;return(t=e.emitNode)==null?void 0:t.autoGenerate}function Oxe(e,t){return c_(e).generatedImportReference=t,e}function Lxe(e){var t;return(t=e.emitNode)==null?void 0:t.generatedImportReference}var YYe=p({"src/compiler/factory/emitNode.ts"(){Ba()}});function Mxe(e){const t=e.factory,n=tp(()=>oO(t.createTrue(),8)),s=tp(()=>oO(t.createFalse(),8));return{getUnscopedHelperName:l,createDecorateHelper:f,createMetadataHelper:d,createParamHelper:g,createESDecorateHelper:U,createRunInitializersHelper:B,createAssignHelper:H,createAwaitHelper:Y,createAsyncGeneratorHelper:Z,createAsyncDelegatorHelper:fe,createAsyncValuesHelper:Q,createRestHelper:he,createAwaiterHelper:W,createExtendsHelper:ye,createTemplateObjectHelper:de,createSpreadArrayHelper:Ce,createPropKeyHelper:K,createSetFunctionNameHelper:ce,createValuesHelper:le,createReadHelper:xe,createGeneratorHelper:we,createCreateBindingHelper:Ie,createImportStarHelper:ue,createImportStarCallbackHelper:ut,createImportDefaultHelper:Ge,createExportStarHelper:qe,createClassPrivateFieldGetHelper:Ke,createClassPrivateFieldSetHelper:Me,createClassPrivateFieldInHelper:ze};function l(st){return An(t.createIdentifier(st),8196)}function f(st,et,je,_t){e.requestEmitHelper(jJ);const Lt=[];return Lt.push(t.createArrayLiteralExpression(st,!0)),Lt.push(et),je&&(Lt.push(je),_t&&Lt.push(_t)),t.createCallExpression(l("__decorate"),void 0,Lt)}function d(st,et){return e.requestEmitHelper(JJ),t.createCallExpression(l("__metadata"),void 0,[t.createStringLiteral(st),et])}function g(st,et,je){return e.requestEmitHelper(UJ),wt(t.createCallExpression(l("__param"),void 0,[t.createNumericLiteral(et+""),st]),je)}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 et=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,et))}function T(st){const et=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(et,t.createIdentifier("value")))])))}function C(st){const et=st.computed?st.name:He(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(et,103,t.createIdentifier("obj"))))}function D(st,et){const je=[];return je.push(C(st)),et.get&&je.push(k(st)),et.set&&je.push(T(st)),t.createObjectLiteralExpression(je)}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"),D(st.name,st.access))])}function M(st){return st.kind==="class"?h(st):O(st)}function U(st,et,je,_t,Lt,Dt){return e.requestEmitHelper(zJ),t.createCallExpression(l("__esDecorate"),void 0,[st??t.createNull(),et??t.createNull(),je,M(_t),Lt,Dt])}function B(st,et,je){return e.requestEmitHelper(VJ),t.createCallExpression(l("__runInitializers"),void 0,je?[st,et,je]:[st,et])}function H(st){return Eo(e.getCompilerOptions())>=2?t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"assign"),void 0,st):(e.requestEmitHelper($J),t.createCallExpression(l("__assign"),void 0,st))}function Y(st){return e.requestEmitHelper(kw),t.createCallExpression(l("__await"),void 0,[st])}function Z(st,et){return e.requestEmitHelper(kw),e.requestEmitHelper(qJ),(st.emitNode||(st.emitNode={})).flags|=1572864,t.createCallExpression(l("__asyncGenerator"),void 0,[et?t.createThis():t.createVoidZero(),t.createIdentifier("arguments"),st])}function fe(st){return e.requestEmitHelper(kw),e.requestEmitHelper(WJ),t.createCallExpression(l("__asyncDelegator"),void 0,[st])}function Q(st){return e.requestEmitHelper(HJ),t.createCallExpression(l("__asyncValues"),void 0,[st])}function he(st,et,je,_t){e.requestEmitHelper(GJ);const Lt=[];let Dt=0;for(let Xt=0;Xt<et.length-1;Xt++){const Ye=cne(et[Xt]);if(Ye)if(Ho(Ye)){R.assertIsDefined(je,"Encountered computed property name but 'computedTempVariables' argument was not provided.");const Bt=je[Dt];Dt++,Lt.push(t.createConditionalExpression(t.createTypeCheck(Bt,"symbol"),void 0,Bt,void 0,t.createAdd(Bt,t.createStringLiteral(""))))}else Lt.push(t.createStringLiteralFromNode(Ye))}return t.createCallExpression(l("__rest"),void 0,[st,wt(t.createArrayLiteralExpression(Lt),_t)])}function W(st,et,je,_t){e.requestEmitHelper(XJ);const Lt=t.createFunctionExpression(void 0,t.createToken(42),void 0,void 0,[],void 0,_t);return(Lt.emitNode||(Lt.emitNode={})).flags|=1572864,t.createCallExpression(l("__awaiter"),void 0,[st?t.createThis():t.createVoidZero(),et?t.createIdentifier("arguments"):t.createVoidZero(),je?AO(t,je):t.createVoidZero(),Lt])}function ye(st){return e.requestEmitHelper(QJ),t.createCallExpression(l("__extends"),void 0,[st,t.createUniqueName("_super",48)])}function de(st,et){return e.requestEmitHelper(YJ),t.createCallExpression(l("__makeTemplateObject"),void 0,[st,et])}function Ce(st,et,je){return e.requestEmitHelper(KJ),t.createCallExpression(l("__spreadArray"),void 0,[st,et,je?n():s()])}function K(st){return e.requestEmitHelper(eU),t.createCallExpression(l("__propKey"),void 0,[st])}function ce(st,et,je){return e.requestEmitHelper(tU),e.factory.createCallExpression(l("__setFunctionName"),void 0,je?[st,et,e.factory.createStringLiteral(je)]:[st,et])}function le(st){return e.requestEmitHelper(rU),t.createCallExpression(l("__values"),void 0,[st])}function xe(st,et){return e.requestEmitHelper(ZJ),t.createCallExpression(l("__read"),void 0,et!==void 0?[st,t.createNumericLiteral(et+"")]:[st])}function we(st){return e.requestEmitHelper(nU),t.createCallExpression(l("__generator"),void 0,[t.createThis(),st])}function Ie(st,et,je){return e.requestEmitHelper(N4),t.createCallExpression(l("__createBinding"),void 0,[t.createIdentifier("exports"),st,et,...je?[je]:[]])}function ue(st){return e.requestEmitHelper(_O),t.createCallExpression(l("__importStar"),void 0,[st])}function ut(){return e.requestEmitHelper(_O),l("__importStar")}function Ge(st){return e.requestEmitHelper(sU),t.createCallExpression(l("__importDefault"),void 0,[st])}function qe(st,et=t.createIdentifier("exports")){return e.requestEmitHelper(aU),e.requestEmitHelper(N4),t.createCallExpression(l("__exportStar"),void 0,[st,et])}function Ke(st,et,je,_t){e.requestEmitHelper(oU);let Lt;return _t?Lt=[st,et,t.createStringLiteral(je),_t]:Lt=[st,et,t.createStringLiteral(je)],t.createCallExpression(l("__classPrivateFieldGet"),void 0,Lt)}function Me(st,et,je,_t,Lt){e.requestEmitHelper(cU);let Dt;return Lt?Dt=[st,et,je,t.createStringLiteral(_t),Lt]:Dt=[st,et,je,t.createStringLiteral(_t)],t.createCallExpression(l("__classPrivateFieldSet"),void 0,Dt)}function ze(st,et){return e.requestEmitHelper(lU),t.createCallExpression(l("__classPrivateFieldIn"),void 0,[st,et])}}function Fxe(e,t){return e===t||e.priority===t.priority?0:e.priority===void 0?1:t.priority===void 0?-1:wc(e.priority,t.priority)}function Pre(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 Dre(){return Rxe||(Rxe=gT([jJ,JJ,UJ,zJ,VJ,$J,kw,qJ,WJ,HJ,GJ,XJ,QJ,YJ,KJ,rU,ZJ,eU,tU,nU,_O,sU,aU,oU,cU,lU,N4,iU],e=>e.name))}function dD(e,t){return Ra(e)&&He(e.expression)&&(xo(e.expression)&8192)!==0&&e.expression.escapedText===t}var Nre,jJ,JJ,UJ,zJ,VJ,$J,kw,qJ,WJ,HJ,GJ,XJ,QJ,YJ,ZJ,KJ,eU,tU,rU,nU,N4,iU,_O,sU,aU,oU,cU,lU,Rxe,pO,dO,ZYe=p({"src/compiler/factory/emitHelpers.ts"(){Ba(),Nre=(e=>(e.Field="f",e.Method="m",e.Accessor="a",e))(Nre||{}),jJ={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;
};`},JJ={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);
};`},UJ={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); }
};`},zJ={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.unshift(_);
}
else if (_ = accept(result)) {
if (kind === "field") initializers.unshift(_);
else descriptor[key] = _;
}
}
if (target) Object.defineProperty(target, contextIn.name, descriptor);
done = true;
};`},VJ={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;
};`},$J={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);
};`},kw={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); }`},qJ={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:!1,dependencies:[kw],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]); }
};`},WJ={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:!1,dependencies:[kw],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; }
};`},HJ={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); }
};`},GJ={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;
};`},XJ={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());
});
};`},QJ={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 __());
};
})();`},YJ={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;
};`},ZJ={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));
};`},eU={name:"typescript:propKey",importName:"__propKey",scoped:!1,text:`
var __propKey = (this && this.__propKey) || function (x) {
return typeof x === "symbol" ? x : "".concat(x);
};`},tU={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 });
};`},rU={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.");
};`},nU={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 };
}
};`},N4={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];
}));`},iU={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;
});`},_O={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:!1,dependencies:[N4,iU],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;
};`},sU={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:!1,text:`
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};`},aU={name:"typescript:export-star",importName:"__exportStar",scoped:!1,dependencies:[N4],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);
};`},oU={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);
};`},cU={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;
};`},lU={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);
};`},pO={name:"typescript:async-super",scoped:!0,text:Pre`
const ${"_superIndex"} = name => super[name];`},dO={name:"typescript:advanced-async-super",scoped:!0,text:Pre`
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 Hp(e){return e.kind===9}function uU(e){return e.kind===10}function yo(e){return e.kind===11}function Cw(e){return e.kind===12}function Ire(e){return e.kind===14}function ww(e){return e.kind===15}function I4(e){return e.kind===16}function Bxe(e){return e.kind===17}function Ore(e){return e.kind===18}function fU(e){return e.kind===26}function jxe(e){return e.kind===28}function Lre(e){return e.kind===40}function Mre(e){return e.kind===41}function mO(e){return e.kind===42}function hO(e){return e.kind===54}function Lv(e){return e.kind===58}function Jxe(e){return e.kind===59}function _U(e){return e.kind===29}function Uxe(e){return e.kind===39}function He(e){return e.kind===80}function fs(e){return e.kind===81}function pU(e){return e.kind===95}function zxe(e){return e.kind===90}function mD(e){return e.kind===134}function Vxe(e){return e.kind===131}function Fre(e){return e.kind===135}function $xe(e){return e.kind===148}function Ew(e){return e.kind===126}function qxe(e){return e.kind===128}function Wxe(e){return e.kind===163}function Hxe(e){return e.kind===129}function hD(e){return e.kind===108}function gD(e){return e.kind===102}function Gxe(e){return e.kind===84}function B_(e){return e.kind===165}function Ho(e){return e.kind===166}function qc(e){return e.kind===167}function ea(e){return e.kind===168}function xf(e){return e.kind===169}function Gp(e){return e.kind===170}function Ia(e){return e.kind===171}function ty(e){return e.kind===172}function ql(e){return e.kind===173}function al(e){return e.kind===174}function El(e){return e.kind===175}function nm(e){return e.kind===176}function md(e){return e.kind===177}function O4(e){return e.kind===178}function gO(e){return e.kind===179}function Wx(e){return e.kind===180}function dU(e){return e.kind===181}function Im(e){return e.kind===182}function ry(e){return e.kind===183}function yD(e){return e.kind===184}function vD(e){return e.kind===185}function Ip(e){return e.kind===186}function Rre(e){return e.kind===187}function L4(e){return e.kind===188}function bD(e){return e.kind===201}function Bre(e){return e.kind===189}function jre(e){return e.kind===190}function Aw(e){return e.kind===191}function yO(e){return e.kind===192}function M4(e){return e.kind===193}function Pw(e){return e.kind===194}function Dw(e){return e.kind===195}function mU(e){return e.kind===196}function Nw(e){return e.kind===197}function Iw(e){return e.kind===198}function TD(e){return e.kind===199}function n2(e){return e.kind===200}function t0(e){return e.kind===204}function Xxe(e){return e.kind===203}function KYe(e){return e.kind===202}function Om(e){return e.kind===205}function Ow(e){return e.kind===206}function Lo(e){return e.kind===207}function Hf(e){return e.kind===208}function jo(e){return e.kind===209}function ai(e){return e.kind===210}function Pc(e){return e.kind===211}function Ra(e){return e.kind===212}function HT(e){return e.kind===213}function Hx(e){return e.kind===214}function Qxe(e){return e.kind===215}function j_(e){return e.kind===216}function _c(e){return e.kind===217}function Dc(e){return e.kind===218}function Yxe(e){return e.kind===219}function F4(e){return e.kind===220}function Lw(e){return e.kind===221}function R4(e){return e.kind===222}function i2(e){return e.kind===223}function Jre(e){return e.kind===224}function Bn(e){return e.kind===225}function B4(e){return e.kind===226}function hU(e){return e.kind===227}function gU(e){return e.kind===228}function lg(e){return e.kind===229}function Gf(e){return e.kind===230}function bu(e){return e.kind===231}function p1(e){return e.kind===232}function vO(e){return e.kind===233}function eZe(e){return e.kind===237}function Mw(e){return e.kind===234}function SD(e){return e.kind===235}function tZe(e){return e.kind===236}function yU(e){return e.kind===359}function xD(e){return e.kind===360}function kD(e){return e.kind===238}function Zxe(e){return e.kind===239}function Pa(e){return e.kind===240}function Yl(e){return e.kind===242}function Ure(e){return e.kind===241}function of(e){return e.kind===243}function Gx(e){return e.kind===244}function rZe(e){return e.kind===245}function nZe(e){return e.kind===246}function Xx(e){return e.kind===247}function zre(e){return e.kind===248}function bO(e){return e.kind===249}function iZe(e){return e.kind===250}function sZe(e){return e.kind===251}function Lm(e){return e.kind===252}function Kxe(e){return e.kind===253}function TO(e){return e.kind===254}function GT(e){return e.kind===255}function Vre(e){return e.kind===256}function SO(e){return e.kind===257}function aZe(e){return e.kind===258}function bs(e){return e.kind===259}function Tu(e){return e.kind===260}function au(e){return e.kind===261}function Su(e){return e.kind===262}function Xf(e){return e.kind===263}function Mm(e){return e.kind===264}function s2(e){return e.kind===265}function Al(e){return e.kind===266}function yh(e){return e.kind===267}function CD(e){return e.kind===268}function xO(e){return e.kind===269}function cf(e){return e.kind===270}function ju(e){return e.kind===271}function ug(e){return e.kind===272}function eke(e){return e.kind===301}function vU(e){return e.kind===299}function tke(e){return e.kind===300}function Mv(e){return e.kind===273}function ny(e){return e.kind===279}function d1(e){return e.kind===274}function J_(e){return e.kind===275}function Pl(e){return e.kind===276}function Ju(e){return e.kind===277}function im(e){return e.kind===278}function T_(e){return e.kind===280}function oZe(e){return e.kind===281}function $re(e){return e.kind===358}function Fw(e){return e.kind===361}function fg(e){return e.kind===282}function iy(e){return e.kind===283}function Qx(e){return e.kind===284}function vh(e){return e.kind===285}function XT(e){return e.kind===286}function QT(e){return e.kind===287}function Rw(e){return e.kind===288}function rke(e){return e.kind===289}function bh(e){return e.kind===290}function YT(e){return e.kind===291}function Bw(e){return e.kind===292}function wD(e){return e.kind===293}function Th(e){return e.kind===294}function ED(e){return e.kind===295}function kO(e){return e.kind===296}function sp(e){return e.kind===297}function j4(e){return e.kind===298}function pu(e){return e.kind===302}function hd(e){return e.kind===303}function ZT(e){return e.kind===304}function KT(e){return e.kind===305}function nke(e){return e.kind===307}function Cs(e){return e.kind===311}function qre(e){return e.kind===312}function Yx(e){return e.kind===313}function Zx(e){return e.kind===315}function AD(e){return e.kind===316}function a2(e){return e.kind===317}function ike(e){return e.kind===330}function ske(e){return e.kind===331}function cZe(e){return e.kind===332}function ake(e){return e.kind===318}function oke(e){return e.kind===319}function J4(e){return e.kind===320}function bU(e){return e.kind===321}function Wre(e){return e.kind===322}function U4(e){return e.kind===323}function TU(e){return e.kind===324}function lZe(e){return e.kind===325}function sm(e){return e.kind===326}function z4(e){return e.kind===328}function o2(e){return e.kind===329}function V4(e){return e.kind===334}function uZe(e){return e.kind===336}function cke(e){return e.kind===338}function Hre(e){return e.kind===344}function Gre(e){return e.kind===339}function Xre(e){return e.kind===340}function Qre(e){return e.kind===341}function Yre(e){return e.kind===342}function SU(e){return e.kind===343}function PD(e){return e.kind===345}function Zre(e){return e.kind===337}function fZe(e){return e.kind===353}function CO(e){return e.kind===346}function Fm(e){return e.kind===347}function xU(e){return e.kind===348}function lke(e){return e.kind===349}function DD(e){return e.kind===350}function Rm(e){return e.kind===351}function wO(e){return e.kind===352}function _Ze(e){return e.kind===333}function uke(e){return e.kind===354}function Kre(e){return e.kind===335}function kU(e){return e.kind===356}function pZe(e){return e.kind===355}function $4(e){return e.kind===357}var dZe=p({"src/compiler/factory/nodeTests.ts"(){Ba()}});function EO(e){return e.createExportDeclaration(void 0,!1,e.createNamedExports([]),void 0)}function Kx(e,t,n,s){if(Ho(n))return wt(e.createElementAccessExpression(t,n.expression),s);{const l=wt(qy(n)?e.createPropertyAccessExpression(t,n):e.createElementAccessExpression(t,n),n);return og(l,128),l}}function ene(e,t){const n=_g.createIdentifier(e||"React");return ko(n,Gs(t)),n}function tne(e,t,n){if(B_(t)){const s=tne(e,t.left,n),l=e.createIdentifier(Zn(t.right));return l.escapedText=t.right.escapedText,e.createPropertyAccessExpression(s,l)}else return ene(Zn(t),n)}function rne(e,t,n,s){return t?tne(e,t,s):e.createPropertyAccessExpression(ene(n,s),"createElement")}function mZe(e,t,n,s){return t?tne(e,t,s):e.createPropertyAccessExpression(ene(n,s),"Fragment")}function fke(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)Qf(g),d.push(g);else d.push(l[0]);return wt(e.createCallExpression(t,void 0,d),f)}function _ke(e,t,n,s,l,f,d){const h=[mZe(e,n,s,f),e.createNull()];if(l&&l.length>0)if(l.length>1)for(const k of l)Qf(k),h.push(k);else h.push(l[0]);return wt(e.createCallExpression(rne(e,t,s,f),void 0,h),d)}function nne(e,t,n){if(Tu(t)){const s=Oo(t.declarations),l=e.updateVariableDeclaration(s,s.name,void 0,void 0,n);return wt(e.createVariableStatement(void 0,e.updateVariableDeclarationList(t,[l])),t)}else{const s=wt(e.createAssignment(t,n),t);return wt(e.createExpressionStatement(s),t)}}function hZe(e,t,n){return Pa(t)?e.updateBlock(t,wt(e.createNodeArray([n,...t.statements]),t.statements)):e.createBlock(e.createNodeArray([t,n]),!0)}function AO(e,t){if(B_(t)){const n=AO(e,t.left),s=ko(wt(e.cloneNode(t.right),t.right),t.right.parent);return wt(e.createPropertyAccessExpression(n,s),t)}else return ko(wt(e.cloneNode(t),t),t.parent)}function ine(e,t){return He(t)?e.createStringLiteralFromNode(t):Ho(t)?ko(wt(e.cloneNode(t.expression),t.expression),t.expression.parent):ko(wt(e.cloneNode(t),t),t.parent)}function gZe(e,t,n,s,l){const{firstAccessor:f,getAccessor:d,setAccessor:g}=jx(t,n);if(n===f)return wt(e.createObjectDefinePropertyCall(s,ine(e,n.name),e.createPropertyDescriptor({enumerable:e.createFalse(),configurable:!0,get:d&&wt(oi(e.createFunctionExpression(xx(d),void 0,void 0,void 0,d.parameters,void 0,d.body),d),d),set:g&&wt(oi(e.createFunctionExpression(xx(g),void 0,void 0,void 0,g.parameters,void 0,g.body),g),g)},!l)),f)}function yZe(e,t,n){return oi(wt(e.createAssignment(Kx(e,n,t.name,t.name),t.initializer),t),t)}function vZe(e,t,n){return oi(wt(e.createAssignment(Kx(e,n,t.name,t.name),e.cloneNode(t.name)),t),t)}function bZe(e,t,n){return oi(wt(e.createAssignment(Kx(e,n,t.name,t.name),oi(wt(e.createFunctionExpression(xx(t),t.asteriskToken,void 0,void 0,t.parameters,void 0,t.body),t),t)),t),t)}function pke(e,t,n,s){switch(n.name&&fs(n.name)&&R.failBadSyntaxKind(n.name,"Private identifiers are not allowed in object literals."),n.kind){case 176:case 177:return gZe(e,t.properties,n,s,!!t.multiLine);case 302:return yZe(e,n,s);case 303:return vZe(e,n,s);case 173:return bZe(e,n,s)}}function CU(e,t,n,s,l){const f=t.operator;R.assert(f===46||f===47,"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),wt(n,t.operand);let g=i2(t)?e.createPrefixUnaryExpression(f,d):e.createPostfixUnaryExpression(d,f);return wt(g,t),l&&(g=e.createAssignment(l,g),wt(g,t)),n=e.createComma(n,g),wt(n,t),Jre(t)&&(n=e.createComma(n,d),wt(n,t)),n}function sne(e){return(xo(e)&65536)!==0}function m1(e){return(xo(e)&32768)!==0}function wU(e){return(xo(e)&16384)!==0}function dke(e){return yo(e.expression)&&e.expression.text==="use strict"}function ane(e){for(const t of e)if(Yd(t)){if(dke(t))return t}else break}function mke(e){const t=Hu(e);return t!==void 0&&Yd(t)&&dke(t)}function PO(e){return e.kind===225&&e.operatorToken.kind===28}function ND(e){return PO(e)||xD(e)}function ID(e){return j_(e)&&Mn(e)&&!!kT(e)}function EU(e){const t=bv(e);return R.assertIsDefined(t),t}function AU(e,t=15){switch(e.kind){case 216:return t&16&&ID(e)?!1:(t&1)!==0;case 215:case 233:case 232:case 237:return(t&2)!==0;case 234:return(t&4)!==0;case 359:return(t&8)!==0}return!1}function lf(e,t=15){for(;AU(e,t);)e=e.expression;return e}function hke(e,t=15){let n=e.parent;for(;AU(n,t);)n=n.parent,R.assert(n);return n}function TZe(e){return lf(e,6)}function Qf(e){return Cre(e,!0)}function DO(e){const t=el(e,Cs),n=t&&t.emitNode;return n&&n.externalHelpersModuleName}function gke(e){const t=el(e,Cs),n=t&&t.emitNode;return!!n&&(!!n.externalHelpersModuleName||!!n.externalHelpers)}function one(e,t,n,s,l,f,d){if(s.importHelpers&&nw(n,s)){let g;const h=Zu(s);if(h>=5&&h<=99||n.impliedNodeFormat===99){const k=BJ(n);if(k){const T=[];for(const C of k)if(!C.scoped){const D=C.importName;D&&Sp(T,D)}if(Ne(T)){T.sort(zf),g=e.createNamedImports(qt(T,O=>yj(n,O)?e.createImportSpecifier(!1,void 0,e.createIdentifier(O)):e.createImportSpecifier(!1,e.createIdentifier(O),t.getUnscopedHelperName(O))));const C=el(n,Cs),D=c_(C);D.externalHelpers=!0}}}else{const k=yke(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(Ov),void 0);return Tw(k,2),k}}}function yke(e,t,n,s,l){if(n.importHelpers&&nw(t,n)){const f=DO(t);if(f)return f;const d=Zu(n);let g=(s||sg(n)&&l)&&d!==4&&(d<5||t.impliedNodeFormat===1);if(!g){const h=BJ(t);if(h){for(const k of h)if(!k.scoped){g=!0;break}}}if(g){const h=el(t,Cs),k=c_(h);return k.externalHelpersModuleName||(k.externalHelpersModuleName=e.createUniqueName(Ov))}}}function q4(e,t,n){const s=o4(t);if(s&&!ow(t)&&!bj(t)){const l=s.name;return il(l)?l:e.createIdentifier(PT(n,l)||Zn(l))}if(t.kind===271&&t.importClause||t.kind===277&&t.moduleSpecifier)return e.getGeneratedNameForNode(t)}function jw(e,t,n,s,l,f){const d=a4(t);if(d&&yo(d))return xZe(t,s,e,l,f)||SZe(e,d,n)||e.cloneNode(d)}function SZe(e,t,n){const s=n.renamedDependencies&&n.renamedDependencies.get(t.text);return s?e.createStringLiteral(s):void 0}function NO(e,t,n,s){if(t){if(t.moduleName)return e.createStringLiteral(t.moduleName);if(!t.isDeclarationFile&&Ac(s))return e.createStringLiteral(nte(n,t.fileName))}}function xZe(e,t,n,s,l){return NO(n,s.getExternalModuleFileFromDeclaration(e),t,l)}function IO(e){if(JI(e))return e.initializer;if(pu(e)){const t=e.initializer;return o_(t,!0)?t.right:void 0}if(hd(e))return e.objectAssignmentInitializer;if(o_(e,!0))return e.right;if(lg(e))return IO(e.expression)}function Fv(e){if(JI(e))return e.name;if(n1(e)){switch(e.kind){case 302:return Fv(e.initializer);case 303:return e.name;case 304:return Fv(e.expression)}return}return o_(e,!0)?Fv(e.left):lg(e)?Fv(e.expression):e}function PU(e){switch(e.kind){case 168:case 207:return e.dotDotDotToken;case 229:case 304:return e}}function cne(e){const t=DU(e);return R.assert(!!t||ZT(e),"Invalid property name for binding element."),t}function DU(e){switch(e.kind){case 207:if(e.propertyName){const n=e.propertyName;return fs(n)?R.failBadSyntaxKind(n):Ho(n)&&vke(n.expression)?n.expression:n}break;case 302:if(e.name){const n=e.name;return fs(n)?R.failBadSyntaxKind(n):Ho(n)&&vke(n.expression)?n.expression:n}break;case 304:return e.name&&fs(e.name)?R.failBadSyntaxKind(e.name):e.name}const t=Fv(e);if(t&&sl(t))return t}function vke(e){const t=e.kind;return t===11||t===9}function W4(e){switch(e.kind){case 205:case 206:case 208:return e.elements;case 209:return e.properties}}function lne(e){if(e){let t=e;for(;;){if(He(t)||!t.body)return He(t)?t:t.name;t=t.body}}}function kZe(e){const t=e.kind;return t===175||t===177}function bke(e){const t=e.kind;return t===175||t===176||t===177}function une(e){const t=e.kind;return t===302||t===303||t===261||t===175||t===180||t===174||t===281||t===242||t===263||t===264||t===265||t===266||t===270||t===271||t===269||t===277||t===276}function Tke(e){const t=e.kind;return t===174||t===302||t===303||t===281||t===269}function Ske(e){return Lv(e)||hO(e)}function xke(e){return He(e)||mU(e)}function kke(e){return $xe(e)||Lre(e)||Mre(e)}function Cke(e){return Lv(e)||Lre(e)||Mre(e)}function wke(e){return He(e)||yo(e)}function CZe(e){const t=e.kind;return t===106||t===112||t===97||Cx(e)||i2(e)}function wZe(e){return e===43}function EZe(e){return e===42||e===44||e===45}function AZe(e){return wZe(e)||EZe(e)}function PZe(e){return e===40||e===41}function DZe(e){return PZe(e)||AZe(e)}function NZe(e){return e===48||e===49||e===50}function IZe(e){return NZe(e)||DZe(e)}function OZe(e){return e===30||e===33||e===32||e===34||e===104||e===103}function LZe(e){return OZe(e)||IZe(e)}function MZe(e){return e===35||e===37||e===36||e===38}function FZe(e){return MZe(e)||LZe(e)}function RZe(e){return e===51||e===52||e===53}function BZe(e){return RZe(e)||FZe(e)}function jZe(e){return e===56||e===57}function JZe(e){return jZe(e)||BZe(e)}function UZe(e){return e===61||JZe(e)||o1(e)}function zZe(e){return UZe(e)||e===28}function Eke(e){return zZe(e.kind)}function NU(e,t,n,s,l,f){const d=new Oke(e,t,n,s,l,f);return g;function g(h,k){const T={value:void 0},C=[LU.enter],D=[h],O=[void 0];let M=0;for(;C[M]!==LU.done;)M=C[M](d,M,C,D,O,T,k);return R.assertEqual(M,0),T.value}}function Ake(e){return e===95||e===90}function OO(e){const t=e.kind;return Ake(t)}function VZe(e){const t=e.kind;return r1(t)&&!Ake(t)}function Pke(e,t){if(t!==void 0)return t.length===0?t:wt(e.createNodeArray([],t.hasTrailingComma),t)}function IU(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(qy(l)&&(d===void 0||d.flags&4&&d.id!==s))break;f=l.original}return l}return e}function H4(e,t){return typeof e=="object"?ek(!1,e.prefix,e.node,e.suffix,t):typeof e=="string"?e.length>0&&e.charCodeAt(0)===35?e.slice(1):e:""}function $Ze(e,t){return typeof e=="string"?e:qZe(e,R.checkDefined(t))}function qZe(e,t){return KC(e)?t(e).slice(1):il(e)?t(e):fs(e)?e.escapedText.slice(1):Zn(e)}function ek(e,t,n,s,l){return t=H4(t,l),s=H4(s,l),n=$Ze(n,l),`${e?"#":""}${t}${n}${s}`}function fne(e,t,n,s){return e.updatePropertyDeclaration(t,n,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage"),void 0,void 0,s)}function Dke(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 Nke(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 OU(e){let t=e.expression;for(;;){if(t=lf(t),xD(t)){t=To(t.elements);continue}if(PO(t)){t=t.right;continue}if(o_(t,!0)&&il(t.left))return t;break}}function WZe(e){return j_(e)&&Ec(e)&&!e.emitNode}function LO(e,t){if(WZe(e))LO(e.expression,t);else if(PO(e))LO(e.left,t),LO(e.right,t);else if(xD(e))for(const n of e.elements)LO(n,t);else t.push(e)}function Ike(e){const t=[];return LO(e,t),t}function MO(e){if(e.transformFlags&65536)return!0;if(e.transformFlags&128)for(const t of W4(e)){const n=Fv(t);if(n&&yP(n)&&(n.transformFlags&65536||n.transformFlags&128&&MO(n)))return!0}return!1}var LU,Oke,HZe=p({"src/compiler/factory/utilities.ts"(){Ba(),(e=>{function t(T,C,D,O,M,U,B){const H=C>0?M[C-1]:void 0;return R.assertEqual(D[C],t),M[C]=T.onEnter(O[C],H,B),D[C]=g(T,t),C}e.enter=t;function n(T,C,D,O,M,U,B){R.assertEqual(D[C],n),R.assertIsDefined(T.onLeft),D[C]=g(T,n);const H=T.onLeft(O[C].left,M[C],O[C]);return H?(k(C,O,H),h(C,D,O,M,H)):C}e.left=n;function s(T,C,D,O,M,U,B){return R.assertEqual(D[C],s),R.assertIsDefined(T.onOperator),D[C]=g(T,s),T.onOperator(O[C].operatorToken,M[C],O[C]),C}e.operator=s;function l(T,C,D,O,M,U,B){R.assertEqual(D[C],l),R.assertIsDefined(T.onRight),D[C]=g(T,l);const H=T.onRight(O[C].right,M[C],O[C]);return H?(k(C,O,H),h(C,D,O,M,H)):C}e.right=l;function f(T,C,D,O,M,U,B){R.assertEqual(D[C],f),D[C]=g(T,f);const H=T.onExit(O[C],M[C]);if(C>0){if(C--,T.foldState){const Y=D[C]===f?"right":"left";M[C]=T.foldState(M[C],H,Y)}}else U.value=H;return C}e.exit=f;function d(T,C,D,O,M,U,B){return R.assertEqual(D[C],d),C}e.done=d;function g(T,C){switch(C){case t:if(T.onLeft)return n;case n:if(T.onOperator)return s;case s:if(T.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(T,C,D,O,M){return T++,C[T]=t,D[T]=M,O[T]=void 0,T}function k(T,C,D){if(R.shouldAssert(2))for(;T>=0;)R.assert(C[T]!==D,"Circular traversal detected."),T--}})(LU||(LU={})),Oke=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 wt(e,t){return t?ag(e,t.pos,t.end):e}function am(e){const t=e.kind;return t===167||t===168||t===170||t===171||t===172||t===173||t===175||t===176||t===177||t===180||t===184||t===217||t===218||t===230||t===242||t===261||t===262||t===263||t===264||t===265||t===266||t===270||t===271||t===276||t===277}function Jw(e){const t=e.kind;return t===168||t===171||t===173||t===176||t===177||t===230||t===262}var GZe=p({"src/compiler/factory/utilitiesPublic.ts"(){Ba()}});function ur(e,t){return t&&e(t)}function ts(e,t,n){if(n){if(t)return t(n);for(const s of n){const l=e(s);if(l)return l}}}function _ne(e,t){return e.charCodeAt(t+1)===42&&e.charCodeAt(t+2)===42&&e.charCodeAt(t+3)!==47}function FO(e){return te(e.statements,XZe)||QZe(e)}function XZe(e){return am(e)&&YZe(e,95)||cf(e)&&fg(e.moduleReference)||ju(e)||Pl(e)||Ju(e)?e:void 0}function QZe(e){return e.flags&4194304?Lke(e):void 0}function Lke(e){return ZZe(e)?e:_a(e,Lke)}function YZe(e,t){return Ne(e.modifiers,n=>n.kind===t)}function ZZe(e){return SD(e)&&e.keywordToken===102&&e.name.escapedText==="meta"}function Mke(e,t,n){return ts(t,n,e.typeParameters)||ts(t,n,e.parameters)||ur(t,e.type)}function Fke(e,t,n){return ts(t,n,e.types)}function Rke(e,t,n){return ur(t,e.type)}function Bke(e,t,n){return ts(t,n,e.elements)}function jke(e,t,n){return ur(t,e.expression)||ur(t,e.questionDotToken)||ts(t,n,e.typeArguments)||ts(t,n,e.arguments)}function Jke(e,t,n){return ts(t,n,e.statements)}function Uke(e,t,n){return ur(t,e.label)}function zke(e,t,n){return ts(t,n,e.modifiers)||ur(t,e.name)||ts(t,n,e.typeParameters)||ts(t,n,e.heritageClauses)||ts(t,n,e.members)}function Vke(e,t,n){return ts(t,n,e.elements)}function $ke(e,t,n){return ur(t,e.propertyName)||ur(t,e.name)}function qke(e,t,n){return ur(t,e.tagName)||ts(t,n,e.typeArguments)||ur(t,e.attributes)}function G4(e,t,n){return ur(t,e.type)}function Wke(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:ts(t,n,e.comment))}function X4(e,t,n){return ur(t,e.tagName)||ur(t,e.typeExpression)||(typeof e.comment=="string"?void 0:ts(t,n,e.comment))}function pne(e,t,n){return ur(t,e.name)}function Uw(e,t,n){return ur(t,e.tagName)||(typeof e.comment=="string"?void 0:ts(t,n,e.comment))}function KZe(e,t,n){return ur(t,e.expression)}function _a(e,t,n){if(e===void 0||e.kind<=164)return;const s=rCe[e.kind];return s===void 0?void 0:s(e,t,n)}function OD(e,t,n){const s=Hke(e),l=[];for(;l.length<s.length;)l.push(e);for(;s.length!==0;){const f=s.pop(),d=l.pop();if(ka(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>=165)for(const h of Hke(f))s.push(h),l.push(f)}}}function Hke(e){const t=[];return _a(e,n,n),t;function n(s){t.unshift(s)}}function Gke(e){e.externalModuleIndicator=FO(e)}function RO(e,t,n,s=!1,l){var f,d,g,h;(f=qi)==null||f.push(qi.Phase.Parse,"createSourceFile",{path:e},!0),vc("beforeParse");let k;(d=uh)==null||d.logStartParseSourceFile(e);const{languageVersion:T,setExternalModuleIndicator:C,impliedNodeFormat:D}=typeof n=="object"?n:{languageVersion:n};if(T===100)k=Rv.parseSourceFile(e,t,T,void 0,s,6,fc);else{const O=D===void 0?C:M=>(M.impliedNodeFormat=D,(C||Gke)(M));k=Rv.parseSourceFile(e,t,T,void 0,s,l,O)}return(g=uh)==null||g.logStopParseSourceFile(),vc("afterParse"),xp("Parse","beforeParse","afterParse"),(h=qi)==null||h.pop(),k}function zw(e,t){return Rv.parseIsolatedEntityName(e,t)}function BO(e,t){return Rv.parseJsonText(e,t)}function Ul(e){return e.externalModuleIndicator!==void 0}function dne(e,t,n,s=!1){const l=MU.updateSourceFile(e,t,n,s);return l.flags|=e.flags&6291456,l}function Xke(e,t,n){const s=Rv.JSDocParser.parseIsolatedJSDocComment(e,t,n);return s&&s.jsDoc&&Rv.fixupParentReferences(s.jsDoc),s}function eKe(e,t,n){return Rv.JSDocParser.parseJSDocTypeExpressionForTests(e,t,n)}function S_(e){return $l(e,IJ)||Vl(e,".ts")&&rf(Xu(e),".d.")}function tKe(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 mne(e,t){const n=[];for(const s of Vg(t,0)||ft){const l=t.substring(s.pos,s.end);nKe(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 hne(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;te(oI(n),g=>{const{types:h,lib:k,path:T,["resolution-mode"]:C}=g.arguments;if(g.arguments["no-default-lib"])e.hasNoDefaultLib=!0;else if(h){const D=tKe(C,h.pos,h.end,t);f.push({pos:h.pos,end:h.end,fileName:h.value,...D?{resolutionMode:D}:{}})}else k?d.push({pos:k.pos,end:k.end,fileName:k.value}):T?l.push({pos:T.pos,end:T.end,fileName:T.value}):t(g.range.pos,g.range.end-g.range.pos,v.Invalid_reference_directive_syntax)});break}case"amd-dependency":{e.amdDependencies=qt(oI(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":{te(oI(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 rKe(e){if(FU.has(e))return FU.get(e);const t=new RegExp(`(\\s${e}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return FU.set(e,t),t}function nKe(e,t,n){const s=t.kind===2&&nCe.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 T=rKe(h.name).exec(n);if(!T&&!h.optional)return;if(T){const C=T[2]||T[3];if(h.captureSpan){const D=t.pos+T.index+T[1].length+1;g[h.name]={value:C,pos:D,end:D+C.length}}else g[h.name]=C}}e.push({name:f,args:{arguments:g,range:t}})}else e.push({name:f,args:{arguments:{},range:t}});return}const l=t.kind===2&&iCe.exec(n);if(l)return Qke(e,t,2,l);if(t.kind===3){const f=/@(\S+)(\s+.*)?$/gim;let d;for(;d=f.exec(n);)Qke(e,t,4,d)}}function Qke(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=iKe(f,d);g!=="fail"&&e.push({name:l,args:{arguments:g,range:t}})}function iKe(e,t){if(!t)return{};if(!e.args)return{};const n=vT(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 c2(e,t){return e.kind!==t.kind?!1:e.kind===80?e.escapedText===t.escapedText:e.kind===110?!0:e.kind===294?e.namespace.escapedText===t.namespace.escapedText&&e.name.escapedText===t.name.escapedText:e.name.escapedText===t.name.escapedText&&c2(e.expression,t.expression)}var Yke,Zke,Kke,eCe,tCe,gne,_g,rCe,Rv,MU,FU,nCe,iCe,sKe=p({"src/compiler/parser.ts"(){Ba(),TT(),gne={createBaseSourceFileNode:e=>new(tCe||(tCe=Ru.getSourceFileConstructor()))(e,-1,-1),createBaseIdentifierNode:e=>new(Kke||(Kke=Ru.getIdentifierConstructor()))(e,-1,-1),createBasePrivateIdentifierNode:e=>new(eCe||(eCe=Ru.getPrivateIdentifierConstructor()))(e,-1,-1),createBaseTokenNode:e=>new(Zke||(Zke=Ru.getTokenConstructor()))(e,-1,-1),createBaseNode:e=>new(Yke||(Yke=Ru.getNodeConstructor()))(e,-1,-1)},_g=nO(1,gne),rCe={[165]:function(t,n,s){return ur(n,t.left)||ur(n,t.right)},[167]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.name)||ur(n,t.constraint)||ur(n,t.default)||ur(n,t.expression)},[303]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.name)||ur(n,t.questionToken)||ur(n,t.exclamationToken)||ur(n,t.equalsToken)||ur(n,t.objectAssignmentInitializer)},[304]:function(t,n,s){return ur(n,t.expression)},[168]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.dotDotDotToken)||ur(n,t.name)||ur(n,t.questionToken)||ur(n,t.type)||ur(n,t.initializer)},[171]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.name)||ur(n,t.questionToken)||ur(n,t.exclamationToken)||ur(n,t.type)||ur(n,t.initializer)},[170]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.name)||ur(n,t.questionToken)||ur(n,t.type)||ur(n,t.initializer)},[302]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.name)||ur(n,t.questionToken)||ur(n,t.exclamationToken)||ur(n,t.initializer)},[259]:function(t,n,s){return ur(n,t.name)||ur(n,t.exclamationToken)||ur(n,t.type)||ur(n,t.initializer)},[207]:function(t,n,s){return ur(n,t.dotDotDotToken)||ur(n,t.propertyName)||ur(n,t.name)||ur(n,t.initializer)},[180]:function(t,n,s){return ts(n,s,t.modifiers)||ts(n,s,t.typeParameters)||ts(n,s,t.parameters)||ur(n,t.type)},[184]:function(t,n,s){return ts(n,s,t.modifiers)||ts(n,s,t.typeParameters)||ts(n,s,t.parameters)||ur(n,t.type)},[183]:function(t,n,s){return ts(n,s,t.modifiers)||ts(n,s,t.typeParameters)||ts(n,s,t.parameters)||ur(n,t.type)},[178]:Mke,[179]:Mke,[173]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.asteriskToken)||ur(n,t.name)||ur(n,t.questionToken)||ur(n,t.exclamationToken)||ts(n,s,t.typeParameters)||ts(n,s,t.parameters)||ur(n,t.type)||ur(n,t.body)},[172]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.name)||ur(n,t.questionToken)||ts(n,s,t.typeParameters)||ts(n,s,t.parameters)||ur(n,t.type)},[175]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.name)||ts(n,s,t.typeParameters)||ts(n,s,t.parameters)||ur(n,t.type)||ur(n,t.body)},[176]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.name)||ts(n,s,t.typeParameters)||ts(n,s,t.parameters)||ur(n,t.type)||ur(n,t.body)},[177]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.name)||ts(n,s,t.typeParameters)||ts(n,s,t.parameters)||ur(n,t.type)||ur(n,t.body)},[261]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.asteriskToken)||ur(n,t.name)||ts(n,s,t.typeParameters)||ts(n,s,t.parameters)||ur(n,t.type)||ur(n,t.body)},[217]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.asteriskToken)||ur(n,t.name)||ts(n,s,t.typeParameters)||ts(n,s,t.parameters)||ur(n,t.type)||ur(n,t.body)},[218]:function(t,n,s){return ts(n,s,t.modifiers)||ts(n,s,t.typeParameters)||ts(n,s,t.parameters)||ur(n,t.type)||ur(n,t.equalsGreaterThanToken)||ur(n,t.body)},[174]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.body)},[182]:function(t,n,s){return ur(n,t.typeName)||ts(n,s,t.typeArguments)},[181]:function(t,n,s){return ur(n,t.assertsModifier)||ur(n,t.parameterName)||ur(n,t.type)},[185]:function(t,n,s){return ur(n,t.exprName)||ts(n,s,t.typeArguments)},[186]:function(t,n,s){return ts(n,s,t.members)},[187]:function(t,n,s){return ur(n,t.elementType)},[188]:function(t,n,s){return ts(n,s,t.elements)},[191]:Fke,[192]:Fke,[193]:function(t,n,s){return ur(n,t.checkType)||ur(n,t.extendsType)||ur(n,t.trueType)||ur(n,t.falseType)},[194]:function(t,n,s){return ur(n,t.typeParameter)},[204]:function(t,n,s){return ur(n,t.argument)||ur(n,t.assertions)||ur(n,t.qualifier)||ts(n,s,t.typeArguments)},[301]:function(t,n,s){return ur(n,t.assertClause)},[195]:Rke,[197]:Rke,[198]:function(t,n,s){return ur(n,t.objectType)||ur(n,t.indexType)},[199]: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)||ts(n,s,t.members)},[200]:function(t,n,s){return ur(n,t.literal)},[201]:function(t,n,s){return ur(n,t.dotDotDotToken)||ur(n,t.name)||ur(n,t.questionToken)||ur(n,t.type)},[205]:Bke,[206]:Bke,[208]:function(t,n,s){return ts(n,s,t.elements)},[209]:function(t,n,s){return ts(n,s,t.properties)},[210]:function(t,n,s){return ur(n,t.expression)||ur(n,t.questionDotToken)||ur(n,t.name)},[211]:function(t,n,s){return ur(n,t.expression)||ur(n,t.questionDotToken)||ur(n,t.argumentExpression)},[212]:jke,[213]:jke,[214]:function(t,n,s){return ur(n,t.tag)||ur(n,t.questionDotToken)||ts(n,s,t.typeArguments)||ur(n,t.template)},[215]:function(t,n,s){return ur(n,t.type)||ur(n,t.expression)},[216]:function(t,n,s){return ur(n,t.expression)},[219]:function(t,n,s){return ur(n,t.expression)},[220]:function(t,n,s){return ur(n,t.expression)},[221]:function(t,n,s){return ur(n,t.expression)},[223]:function(t,n,s){return ur(n,t.operand)},[228]:function(t,n,s){return ur(n,t.asteriskToken)||ur(n,t.expression)},[222]:function(t,n,s){return ur(n,t.expression)},[224]:function(t,n,s){return ur(n,t.operand)},[225]:function(t,n,s){return ur(n,t.left)||ur(n,t.operatorToken)||ur(n,t.right)},[233]:function(t,n,s){return ur(n,t.expression)||ur(n,t.type)},[234]:function(t,n,s){return ur(n,t.expression)},[237]:function(t,n,s){return ur(n,t.expression)||ur(n,t.type)},[235]:function(t,n,s){return ur(n,t.name)},[226]: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)},[229]:function(t,n,s){return ur(n,t.expression)},[240]:Jke,[267]:Jke,[311]:function(t,n,s){return ts(n,s,t.statements)||ur(n,t.endOfFileToken)},[242]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.declarationList)},[260]:function(t,n,s){return ts(n,s,t.declarations)},[243]:function(t,n,s){return ur(n,t.expression)},[244]:function(t,n,s){return ur(n,t.expression)||ur(n,t.thenStatement)||ur(n,t.elseStatement)},[245]:function(t,n,s){return ur(n,t.statement)||ur(n,t.expression)},[246]:function(t,n,s){return ur(n,t.expression)||ur(n,t.statement)},[247]:function(t,n,s){return ur(n,t.initializer)||ur(n,t.condition)||ur(n,t.incrementor)||ur(n,t.statement)},[248]:function(t,n,s){return ur(n,t.initializer)||ur(n,t.expression)||ur(n,t.statement)},[249]:function(t,n,s){return ur(n,t.awaitModifier)||ur(n,t.initializer)||ur(n,t.expression)||ur(n,t.statement)},[250]:Uke,[251]:Uke,[252]:function(t,n,s){return ur(n,t.expression)},[253]:function(t,n,s){return ur(n,t.expression)||ur(n,t.statement)},[254]:function(t,n,s){return ur(n,t.expression)||ur(n,t.caseBlock)},[268]:function(t,n,s){return ts(n,s,t.clauses)},[295]:function(t,n,s){return ur(n,t.expression)||ts(n,s,t.statements)},[296]:function(t,n,s){return ts(n,s,t.statements)},[255]:function(t,n,s){return ur(n,t.label)||ur(n,t.statement)},[256]:function(t,n,s){return ur(n,t.expression)},[257]:function(t,n,s){return ur(n,t.tryBlock)||ur(n,t.catchClause)||ur(n,t.finallyBlock)},[298]:function(t,n,s){return ur(n,t.variableDeclaration)||ur(n,t.block)},[169]:function(t,n,s){return ur(n,t.expression)},[262]:zke,[230]:zke,[263]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.name)||ts(n,s,t.typeParameters)||ts(n,s,t.heritageClauses)||ts(n,s,t.members)},[264]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.name)||ts(n,s,t.typeParameters)||ur(n,t.type)},[265]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.name)||ts(n,s,t.members)},[305]:function(t,n,s){return ur(n,t.name)||ur(n,t.initializer)},[266]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.name)||ur(n,t.body)},[270]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.name)||ur(n,t.moduleReference)},[271]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.importClause)||ur(n,t.moduleSpecifier)||ur(n,t.assertClause)},[272]:function(t,n,s){return ur(n,t.name)||ur(n,t.namedBindings)},[299]:function(t,n,s){return ts(n,s,t.elements)},[300]:function(t,n,s){return ur(n,t.name)||ur(n,t.value)},[269]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.name)},[273]:function(t,n,s){return ur(n,t.name)},[279]:function(t,n,s){return ur(n,t.name)},[274]:Vke,[278]:Vke,[277]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.exportClause)||ur(n,t.moduleSpecifier)||ur(n,t.assertClause)},[275]:$ke,[280]:$ke,[276]:function(t,n,s){return ts(n,s,t.modifiers)||ur(n,t.expression)},[227]:function(t,n,s){return ur(n,t.head)||ts(n,s,t.templateSpans)},[238]:function(t,n,s){return ur(n,t.expression)||ur(n,t.literal)},[202]:function(t,n,s){return ur(n,t.head)||ts(n,s,t.templateSpans)},[203]:function(t,n,s){return ur(n,t.type)||ur(n,t.literal)},[166]:function(t,n,s){return ur(n,t.expression)},[297]:function(t,n,s){return ts(n,s,t.types)},[232]:function(t,n,s){return ur(n,t.expression)||ts(n,s,t.typeArguments)},[282]:function(t,n,s){return ur(n,t.expression)},[281]:function(t,n,s){return ts(n,s,t.modifiers)},[360]:function(t,n,s){return ts(n,s,t.elements)},[283]:function(t,n,s){return ur(n,t.openingElement)||ts(n,s,t.children)||ur(n,t.closingElement)},[287]:function(t,n,s){return ur(n,t.openingFragment)||ts(n,s,t.children)||ur(n,t.closingFragment)},[284]:qke,[285]:qke,[291]:function(t,n,s){return ts(n,s,t.properties)},[290]:function(t,n,s){return ur(n,t.name)||ur(n,t.initializer)},[292]:function(t,n,s){return ur(n,t.expression)},[293]:function(t,n,s){return ur(n,t.dotDotDotToken)||ur(n,t.expression)},[286]:function(t,n,s){return ur(n,t.tagName)},[294]:function(t,n,s){return ur(n,t.namespace)||ur(n,t.name)},[189]:G4,[190]:G4,[315]:G4,[321]:G4,[320]:G4,[322]:G4,[324]:G4,[323]:function(t,n,s){return ts(n,s,t.parameters)||ur(n,t.type)},[326]:function(t,n,s){return(typeof t.comment=="string"?void 0:ts(n,s,t.comment))||ts(n,s,t.tags)},[353]:function(t,n,s){return ur(n,t.tagName)||ur(n,t.name)||(typeof t.comment=="string"?void 0:ts(n,s,t.comment))},[316]:function(t,n,s){return ur(n,t.name)},[317]:function(t,n,s){return ur(n,t.left)||ur(n,t.right)},[347]:Wke,[354]:Wke,[336]:function(t,n,s){return ur(n,t.tagName)||(typeof t.comment=="string"?void 0:ts(n,s,t.comment))},[335]:function(t,n,s){return ur(n,t.tagName)||ur(n,t.class)||(typeof t.comment=="string"?void 0:ts(n,s,t.comment))},[334]:function(t,n,s){return ur(n,t.tagName)||ur(n,t.class)||(typeof t.comment=="string"?void 0:ts(n,s,t.comment))},[351]:function(t,n,s){return ur(n,t.tagName)||ur(n,t.constraint)||ts(n,s,t.typeParameters)||(typeof t.comment=="string"?void 0:ts(n,s,t.comment))},[352]:function(t,n,s){return ur(n,t.tagName)||(t.typeExpression&&t.typeExpression.kind===315?ur(n,t.typeExpression)||ur(n,t.fullName)||(typeof t.comment=="string"?void 0:ts(n,s,t.comment)):ur(n,t.fullName)||ur(n,t.typeExpression)||(typeof t.comment=="string"?void 0:ts(n,s,t.comment)))},[344]:function(t,n,s){return ur(n,t.tagName)||ur(n,t.fullName)||ur(n,t.typeExpression)||(typeof t.comment=="string"?void 0:ts(n,s,t.comment))},[348]:X4,[350]:X4,[349]:X4,[346]:X4,[356]:X4,[355]:X4,[345]:X4,[329]:function(t,n,s){return te(t.typeParameters,n)||te(t.parameters,n)||ur(n,t.type)},[330]:pne,[331]:pne,[332]:pne,[328]:function(t,n,s){return te(t.jsDocPropertyTags,n)},[333]:Uw,[338]:Uw,[339]:Uw,[340]:Uw,[341]:Uw,[342]:Uw,[337]:Uw,[343]:Uw,[359]:KZe},(e=>{var t=e1(99,!0),n=20480,s,l,f,d,g;function h(ne){return Ye++,ne}var k={createBaseSourceFileNode:ne=>h(new g(ne,0,0)),createBaseIdentifierNode:ne=>h(new f(ne,0,0)),createBasePrivateIdentifierNode:ne=>h(new d(ne,0,0)),createBaseTokenNode:ne=>h(new l(ne,0,0)),createBaseNode:ne=>h(new s(ne,0,0))},T=nO(11,k),{createNodeArray:C,createNumericLiteral:D,createStringLiteral:O,createLiteralLikeNode:M,createIdentifier:U,createPrivateIdentifier:B,createToken:H,createArrayLiteralExpression:Y,createObjectLiteralExpression:Z,createPropertyAccessExpression:fe,createPropertyAccessChain:Q,createElementAccessExpression:he,createElementAccessChain:W,createCallExpression:ye,createCallChain:de,createNewExpression:Ce,createParenthesizedExpression:K,createBlock:ce,createVariableStatement:le,createExpressionStatement:xe,createIfStatement:we,createWhileStatement:Ie,createForStatement:ue,createForOfStatement:ut,createVariableDeclaration:Ge,createVariableDeclarationList:qe}=T,Ke,Me,ze,st,et,je,_t,Lt,Dt,Xt,Ye,Bt,vr,Ar,Ht,tn,hn=!0,Br=!1;function Cn(ne,Ae,tt,Mt,ar=!1,Ur,fi){var Hi;if(Ur=TJ(ne,Ur),Ur===6){const Gi=Ji(ne,Ae,tt,Mt,ar);return zO(Gi,(Hi=Gi.statements[0])==null?void 0:Hi.expression,Gi.parseDiagnostics,!1,void 0),Gi.referencedFiles=ft,Gi.typeReferenceDirectives=ft,Gi.libReferenceDirectives=ft,Gi.amdDependencies=ft,Gi.hasNoDefaultLib=!1,Gi.pragmas=gB,Gi}ws(ne,Ae,tt,Mt,Ur);const ss=Pt(tt,ar,Ur,fi||Gke);return ui(),ss}e.parseSourceFile=Cn;function ci(ne,Ae){ws("",ne,Ae,void 0,1),ht();const tt=zm(!0),Mt=ee()===1&&!_t.length;return ui(),Mt?tt:void 0}e.parseIsolatedEntityName=ci;function Ji(ne,Ae,tt=2,Mt,ar=!1){ws(ne,Ae,tt,Mt,6),Me=tn,ht();const Ur=ve();let fi,Hi;if(ee()===1)fi=Jc([],Ur,Ur),Hi=Zl();else{let Qs;for(;ee()!==1;){let Xa;switch(ee()){case 23:Xa=A2();break;case 112:case 97:case 106:Xa=Zl();break;case 41:Li(()=>ht()===9&&ht()!==59)?Xa=_m():Xa=Jd();break;case 9:case 11:if(Li(()=>ht()!==59)){Xa=zs();break}default:Xa=Jd();break}Qs&&ka(Qs)?Qs.push(Xa):Qs?Qs=[Qs,Xa]:(Qs=Xa,ee()!==1&&Rn(v.Unexpected_token))}const gc=ka(Qs)?br(Y(Qs),Ur):R.checkDefined(Qs),Uo=xe(gc);br(Uo,Ur),fi=Jc([Uo],Ur),Hi=Gc(1,v.Unexpected_token)}const ss=ks(ne,2,6,!1,fi,Hi,Me,fc);ar&&Nn(ss),ss.nodeCount=Ye,ss.identifierCount=vr,ss.identifiers=Bt,ss.parseDiagnostics=yw(_t,ss),Lt&&(ss.jsDocDiagnostics=yw(Lt,ss));const Gi=ss;return ui(),Gi}e.parseJsonText=Ji;function ws(ne,Ae,tt,Mt,ar){switch(s=Ru.getNodeConstructor(),l=Ru.getTokenConstructor(),f=Ru.getIdentifierConstructor(),d=Ru.getPrivateIdentifierConstructor(),g=Ru.getSourceFileConstructor(),Ke=So(ne),ze=Ae,st=tt,Dt=Mt,et=ar,je=j5(ar),_t=[],Ar=0,Bt=new Map,vr=0,Ye=0,Me=0,hn=!0,et){case 1:case 2:tn=262144;break;case 6:tn=67371008;break;default:tn=0;break}Br=!1,t.setText(ze),t.setOnError(ke),t.setScriptTarget(st),t.setLanguageVariant(je)}function ui(){t.clearCommentDirectives(),t.setText(""),t.setOnError(void 0),ze=void 0,st=void 0,Dt=void 0,et=void 0,je=void 0,Me=0,_t=void 0,Lt=void 0,Ar=0,Bt=void 0,Ht=void 0,hn=!0}function Pt(ne,Ae,tt,Mt){const ar=S_(Ke);ar&&(tn|=16777216),Me=tn,ht();const Ur=_e(0,jp);R.assert(ee()===1);const fi=Qr(Zl()),Hi=ks(Ke,ne,tt,ar,Ur,fi,Me,Mt);return mne(Hi,ze),hne(Hi,ss),Hi.commentDirectives=t.getCommentDirectives(),Hi.nodeCount=Ye,Hi.identifierCount=vr,Hi.identifiers=Bt,Hi.parseDiagnostics=yw(_t,Hi),Lt&&(Hi.jsDocDiagnostics=yw(Lt,Hi)),Ae&&Nn(Hi),Hi;function ss(Gi,Qs,gc){_t.push(T4(Ke,Gi,Qs,gc))}}function Dr(ne,Ae){return Ae?Qr(ne):ne}let Kt=!1;function Qr(ne){R.assert(!ne.jsDoc);const Ae=lr(Aee(ne,ze),tt=>DE.parseJSDocComment(ne,tt.pos,tt.end-tt.pos));return Ae.length&&(ne.jsDoc=Ae),Kt&&(Kt=!1,ne.flags|=268435456),ne}function _n(ne){const Ae=Dt,tt=MU.createSyntaxCursor(ne);Dt={currentNode:Qs};const Mt=[],ar=_t;_t=[];let Ur=0,fi=ss(ne.statements,0);for(;fi!==-1;){const gc=ne.statements[Ur],Uo=ne.statements[fi];Pi(Mt,ne.statements,Ur,fi),Ur=Gi(ne.statements,fi);const Xa=ir(ar,zd=>zd.start>=gc.pos),df=Xa>=0?ir(ar,zd=>zd.start>=Uo.pos,Xa):-1;Xa>=0&&Pi(_t,ar,Xa,df>=0?df:void 0),Es(()=>{const zd=tn;for(tn|=32768,t.resetTokenState(Uo.pos),ht();ee()!==1;){const pb=t.getTokenFullStart(),vy=bt(0,jp);if(Mt.push(vy),pb===t.getTokenFullStart()&&ht(),Ur>=0){const db=ne.statements[Ur];if(vy.end===db.pos)break;vy.end>db.pos&&(Ur=Gi(ne.statements,Ur+1))}}tn=zd},2),fi=Ur>=0?ss(ne.statements,Ur):-1}if(Ur>=0){const gc=ne.statements[Ur];Pi(Mt,ne.statements,Ur);const Uo=ir(ar,Xa=>Xa.start>=gc.pos);Uo>=0&&Pi(_t,ar,Uo)}return Dt=Ae,T.updateSourceFile(ne,wt(C(Mt),ne.statements));function Hi(gc){return!(gc.flags&32768)&&!!(gc.transformFlags&67108864)}function ss(gc,Uo){for(let Xa=Uo;Xa<gc.length;Xa++)if(Hi(gc[Xa]))return Xa;return-1}function Gi(gc,Uo){for(let Xa=Uo;Xa<gc.length;Xa++)if(!Hi(gc[Xa]))return Xa;return-1}function Qs(gc){const Uo=tt.currentNode(gc);return hn&&Uo&&Hi(Uo)&&(Uo.intersectsChange=!0),Uo}}function Nn(ne){Iv(ne,!0)}e.fixupParentReferences=Nn;function ks(ne,Ae,tt,Mt,ar,Ur,fi,Hi){let ss=T.createSourceFile(ar,Ur,fi);return iD(ss,0,ze.length),Gi(ss),!Mt&&Ul(ss)&&ss.transformFlags&67108864&&(ss=_n(ss),Gi(ss)),ss;function Gi(Qs){Qs.text=ze,Qs.bindDiagnostics=[],Qs.bindSuggestionDiagnostics=void 0,Qs.languageVersion=Ae,Qs.fileName=ne,Qs.languageVariant=j5(tt),Qs.isDeclarationFile=Mt,Qs.scriptKind=tt,Hi(Qs),Qs.setExternalModuleIndicator=Hi}}function ls(ne,Ae){ne?tn|=Ae:tn&=~Ae}function Yr(ne){ls(ne,4096)}function Er(ne){ls(ne,8192)}function rn(ne){ls(ne,16384)}function qr(ne){ls(ne,32768)}function xi(ne,Ae){const tt=ne&tn;if(tt){ls(!1,tt);const Mt=Ae();return ls(!0,tt),Mt}return Ae()}function pt(ne,Ae){const tt=ne&~tn;if(tt){ls(!0,tt);const Mt=Ae();return ls(!1,tt),Mt}return Ae()}function Nt(ne){return xi(4096,ne)}function dt(ne){return pt(4096,ne)}function Ut(ne){return xi(65536,ne)}function rr(ne){return pt(65536,ne)}function se(ne){return pt(8192,ne)}function at(ne){return pt(16384,ne)}function xt(ne){return pt(32768,ne)}function ae(ne){return xi(32768,ne)}function mt(ne){return pt(40960,ne)}function _r(ne){return xi(40960,ne)}function Fe(ne){return(tn&ne)!==0}function Gt(){return Fe(8192)}function zt(){return Fe(4096)}function Lr(){return Fe(65536)}function ii(){return Fe(16384)}function Gn(){return Fe(32768)}function Rn(ne,...Ae){return Se(t.getTokenStart(),t.getTokenEnd(),ne,...Ae)}function L(ne,Ae,tt,...Mt){const ar=Bc(_t);let Ur;return(!ar||ne!==ar.start)&&(Ur=T4(Ke,ne,Ae,tt,...Mt),_t.push(Ur)),Br=!0,Ur}function Se(ne,Ae,tt,...Mt){return L(ne,Ae-ne,tt,...Mt)}function pe(ne,Ae,...tt){Se(ne.pos,ne.end,Ae,...tt)}function ke(ne,Ae,tt){L(t.getTokenEnd(),Ae,ne,tt)}function ve(){return t.getTokenFullStart()}function Te(){return t.hasPrecedingJSDocComment()}function ee(){return Xt}function vt(){return Xt=t.scan()}function Qt(ne){return ht(),ne()}function ht(){return b_(Xt)&&(t.hasUnicodeEscape()||t.hasExtendedUnicodeEscape())&&Se(t.getTokenStart(),t.getTokenEnd(),v.Keywords_cannot_contain_escape_characters),vt()}function Vt(){return Xt=t.scanJsDocToken()}function Nr(ne){return Xt=t.scanJSDocCommentTextToken(ne)}function Pn(){return Xt=t.reScanGreaterToken()}function bi(){return Xt=t.reScanSlashToken()}function Vi(ne){return Xt=t.reScanTemplateToken(ne)}function rs(){return Xt=t.reScanLessThanToken()}function qs(){return Xt=t.reScanHashToken()}function Ys(){return Xt=t.scanJsxIdentifier()}function Oi(){return Xt=t.scanJsxToken()}function Js(){return Xt=t.scanJsxAttributeValue()}function Es(ne,Ae){const tt=Xt,Mt=_t.length,ar=Br,Ur=tn,fi=Ae!==0?t.lookAhead(ne):t.tryScan(ne);return R.assert(Ur===tn),(!fi||Ae!==0)&&(Xt=tt,Ae!==2&&(_t.length=Mt),Br=ar),fi}function Li(ne){return Es(ne,1)}function Zs(ne){return Es(ne,0)}function Hc(){return ee()===80?!0:ee()>118}function rc(){return ee()===80?!0:ee()===127&&Gt()||ee()===135&&Gn()?!1:ee()>118}function nn(ne,Ae,tt=!0){return ee()===ne?(tt&&ht(),!0):(Ae?Rn(Ae):Rn(v._0_expected,io(ne)),!1)}const ta=Object.keys(OI).filter(ne=>ne.length>2);function Za(ne){if(Hx(ne)){Se(fo(ze,ne.template.pos),ne.template.end,v.Module_declaration_names_may_only_use_or_quoted_strings);return}const Ae=He(ne)?Zn(ne):void 0;if(!Ae||!od(Ae,st)){Rn(v._0_expected,io(27));return}const tt=fo(ze,ne.pos);switch(Ae){case"const":case"let":case"var":Se(tt,ne.end,v.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":ga(v.Interface_name_cannot_be_0,v.Interface_must_be_given_a_name,19);return;case"is":Se(tt,t.getTokenStart(),v.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":ga(v.Namespace_name_cannot_be_0,v.Namespace_must_be_given_a_name,19);return;case"type":ga(v.Type_alias_name_cannot_be_0,v.Type_alias_must_be_given_a_name,64);return}const Mt=Z3(Ae,ta,ar=>ar)??Rc(Ae);if(Mt){Se(tt,ne.end,v.Unknown_keyword_or_identifier_Did_you_mean_0,Mt);return}ee()!==0&&Se(tt,ne.end,v.Unexpected_keyword_or_identifier)}function ga(ne,Ae,tt){ee()===tt?Rn(Ae):Rn(ne,t.getTokenValue())}function Rc(ne){for(const Ae of ta)if(ne.length>Ae.length+2&&Xs(ne,Ae))return`${Ae} ${ne.slice(Ae.length)}`}function Dl(ne,Ae,tt){if(ee()===60&&!t.hasPrecedingLineBreak()){Rn(v.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(ee()===21){Rn(v.Cannot_start_a_function_call_in_a_type_annotation),ht();return}if(Ae&&!pc()){tt?Rn(v._0_expected,io(27)):Rn(v.Expected_for_property_initializer);return}if(!hl()){if(tt){Rn(v._0_expected,io(27));return}Za(ne)}}function Nl(ne){return ee()===ne?(Vt(),!0):(R.assert(Hj(ne)),Rn(v._0_expected,io(ne)),!1)}function ku(ne,Ae,tt,Mt){if(ee()===Ae){ht();return}const ar=Rn(v._0_expected,io(Ae));tt&&ar&&ho(ar,T4(Ke,Mt,1,v.The_parser_expected_to_find_a_1_to_match_the_0_token_here,io(ne),io(Ae)))}function la(ne){return ee()===ne?(ht(),!0):!1}function Ns(ne){if(ee()===ne)return Zl()}function Wl(ne){if(ee()===ne)return Vu()}function Gc(ne,Ae,tt){return Ns(ne)||Bl(ne,!1,Ae||v._0_expected,tt||io(ne))}function Af(ne){const Ae=Wl(ne);return Ae||(R.assert(Hj(ne)),Bl(ne,!1,v._0_expected,io(ne)))}function Zl(){const ne=ve(),Ae=ee();return ht(),br(H(Ae),ne)}function Vu(){const ne=ve(),Ae=ee();return Vt(),br(H(Ae),ne)}function pc(){return ee()===27?!0:ee()===20||ee()===1||t.hasPrecedingLineBreak()}function hl(){return pc()?(ee()===27&&ht(),!0):!1}function Sc(){return hl()||nn(27)}function Jc(ne,Ae,tt,Mt){const ar=C(ne,Mt);return ag(ar,Ae,tt??t.getTokenFullStart()),ar}function br(ne,Ae,tt){return ag(ne,Ae,tt??t.getTokenFullStart()),tn&&(ne.flags|=tn),Br&&(Br=!1,ne.flags|=131072),ne}function Bl(ne,Ae,tt,...Mt){Ae?L(t.getTokenFullStart(),0,tt,...Mt):tt&&Rn(tt,...Mt);const ar=ve(),Ur=ne===80?U("",void 0):Sv(ne)?T.createTemplateLiteralLikeNode(ne,"","",void 0):ne===9?D("",void 0):ne===11?O("",void 0):ne===281?T.createMissingDeclaration():H(ne);return br(Ur,ar)}function ff(ne){let Ae=Bt.get(ne);return Ae===void 0&&Bt.set(ne,Ae=ne),Ae}function Cu(ne,Ae,tt){if(ne){vr++;const Hi=ve(),ss=ee(),Gi=ff(t.getTokenValue()),Qs=t.hasExtendedUnicodeEscape();return vt(),br(U(Gi,ss,Qs),Hi)}if(ee()===81)return Rn(tt||v.Private_identifiers_are_not_allowed_outside_class_bodies),Cu(!0);if(ee()===0&&t.tryScan(()=>t.reScanInvalidIdentifier()===80))return Cu(!0);vr++;const Mt=ee()===1,ar=t.isReservedWord(),Ur=t.getTokenText(),fi=ar?v.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:v.Identifier_expected;return Bl(80,Mt,Ae||fi,Ur)}function be(ne){return Cu(Hc(),void 0,ne)}function ie(ne,Ae){return Cu(rc(),ne,Ae)}function Je(ne){return Cu(i_(ee()),ne)}function Et(){return i_(ee())||ee()===11||ee()===9}function Rt(){return i_(ee())||ee()===11}function In(ne){if(ee()===11||ee()===9){const Ae=zs();return Ae.text=ff(Ae.text),Ae}return ne&&ee()===23?hi():ee()===81?di():Je()}function Wn(){return In(!0)}function hi(){const ne=ve();nn(23);const Ae=Nt(Df);return nn(24),br(T.createComputedPropertyName(Ae),ne)}function di(){const ne=ve(),Ae=B(ff(t.getTokenValue()));return ht(),br(Ae,ne)}function Us(ne){return ee()===ne&&Zs(tl)}function Va(){return ht(),t.hasPrecedingLineBreak()?!1:cl()}function tl(){switch(ee()){case 87:return ht()===94;case 95:return ht(),ee()===90?Li(Mo):ee()===156?Li(sc):ic();case 90:return Mo();case 126:case 139:case 153:return ht(),cl();default:return Va()}}function ic(){return ee()===60||ee()!==42&&ee()!==130&&ee()!==19&&cl()}function sc(){return ht(),ic()}function mu(){return r1(ee())&&Zs(tl)}function cl(){return ee()===23||ee()===19||ee()===42||ee()===26||Et()}function Mo(){return ht(),ee()===86||ee()===100||ee()===120||ee()===60||ee()===128&&Li(dp)||ee()===134&&Li(NS)}function hc(ne,Ae){if(Yt(ne))return!0;switch(ne){case 0:case 1:case 3:return!(ee()===27&&Ae)&&g0();case 2:return ee()===84||ee()===90;case 4:return Li(h2);case 5:return Li(NA)||ee()===27&&!Ae;case 6:return ee()===23||Et();case 12:switch(ee()){case 23:case 42:case 26:case 25:return!0;default:return Et()}case 18:return Et();case 9:return ee()===23||ee()===26||Et();case 24:return Rt();case 7:return ee()===19?Li(Ku):Ae?rc()&&!x_():No()&&!x_();case 8:return IS();case 10:return ee()===28||ee()===26||IS();case 19:return ee()===103||ee()===87||rc();case 15:switch(ee()){case 28:case 25:return!0}case 11:return ee()===26||$_();case 16:return Ln(!1);case 17:return Ln(!0);case 20:case 21:return ee()===28||uy();case 22:return R1();case 23:return i_(ee());case 13:return i_(ee())||ee()===19;case 14:return!0;case 25:return!0;case 26:return R.fail("ParsingContext.Count used as a context");default:R.assertNever(ne,"Non-exhaustive case in 'isListElement'.")}}function Ku(){if(R.assert(ee()===19),ht()===20){const ne=ht();return ne===28||ne===19||ne===96||ne===119}return!0}function Xc(){return ht(),rc()}function wu(){return ht(),i_(ee())}function lp(){return ht(),xbe(ee())}function x_(){return ee()===119||ee()===96?Li(De):!1}function De(){return ht(),$_()}function er(){return ht(),uy()}function sn(ne){if(ee()===1)return!0;switch(ne){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return ee()===20;case 3:return ee()===20||ee()===84||ee()===90;case 7:return ee()===19||ee()===96||ee()===119;case 8:return Zi();case 19:return ee()===32||ee()===21||ee()===19||ee()===96||ee()===119;case 11:return ee()===22||ee()===27;case 15:case 21:case 10:return ee()===24;case 17:case 16:case 18:return ee()===22||ee()===24;case 20:return ee()!==28;case 22:return ee()===19||ee()===20;case 13:return ee()===32||ee()===44;case 14:return ee()===30&&Li(H_);default:return!1}}function Zi(){return!!(pc()||kE(ee())||ee()===39)}function fa(){R.assert(Ar,"Missing parsing context");for(let ne=0;ne<26;ne++)if(Ar&1<<ne&&(hc(ne,!0)||sn(ne)))return!0;return!1}function _e(ne,Ae){const tt=Ar;Ar|=1<<ne;const Mt=[],ar=ve();for(;!sn(ne);){if(hc(ne,!1)){Mt.push(bt(ne,Ae));continue}if(k_(ne))break}return Ar=tt,Jc(Mt,ar)}function bt(ne,Ae){const tt=Yt(ne);return tt?Zt(tt):Ae()}function Yt(ne,Ae){var tt;if(!Dt||!Cr(ne)||Br)return;const Mt=Dt.currentNode(Ae??t.getTokenFullStart());if(!(pl(Mt)||Mt.intersectsChange||G6(Mt)||(Mt.flags&50720768)!==tn)&&an(Mt,ne))return y5(Mt)&&((tt=Mt.jsDoc)!=null&&tt.jsDocCache)&&(Mt.jsDoc.jsDocCache=void 0),Mt}function Zt(ne){return t.resetTokenState(ne.end),ht(),ne}function Cr(ne){switch(ne){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 an(ne,Ae){switch(Ae){case 5:return ti(ne);case 2:return ki(ne);case 0:case 1:case 3:return ds(ne);case 6:return sa(ne);case 4:return Ka(ne);case 8:return xc(ne);case 17:case 16:return Nc(ne)}return!1}function ti(ne){if(ne)switch(ne.kind){case 175:case 180:case 176:case 177:case 171:case 239:return!0;case 173:const Ae=ne;return!(Ae.name.kind===80&&Ae.name.escapedText==="constructor")}return!1}function ki(ne){if(ne)switch(ne.kind){case 295:case 296:return!0}return!1}function ds(ne){if(ne)switch(ne.kind){case 261:case 242:case 240:case 244:case 243:case 256:case 252:case 254:case 251:case 250:case 248:case 249:case 247:case 246:case 253:case 241:case 257:case 255:case 245:case 258:case 271:case 270:case 277:case 276:case 266:case 262:case 263:case 265:case 264:return!0}return!1}function sa(ne){return ne.kind===305}function Ka(ne){if(ne)switch(ne.kind){case 179:case 172:case 180:case 170:case 178:return!0}return!1}function xc(ne){return ne.kind!==259?!1:ne.initializer===void 0}function Nc(ne){return ne.kind!==168?!1:ne.initializer===void 0}function k_(ne){return yd(ne),fa()?!0:(ht(),!1)}function yd(ne){switch(ne){case 0:return ee()===90?Rn(v._0_expected,io(95)):Rn(v.Declaration_or_statement_expected);case 1:return Rn(v.Declaration_or_statement_expected);case 2:return Rn(v.case_or_default_expected);case 3:return Rn(v.Statement_expected);case 18:case 4:return Rn(v.Property_or_signature_expected);case 5:return Rn(v.Unexpected_token_A_constructor_method_accessor_or_property_was_expected);case 6:return Rn(v.Enum_member_expected);case 7:return Rn(v.Expression_expected);case 8:return b_(ee())?Rn(v._0_is_not_allowed_as_a_variable_declaration_name,io(ee())):Rn(v.Variable_declaration_expected);case 9:return Rn(v.Property_destructuring_pattern_expected);case 10:return Rn(v.Array_element_destructuring_pattern_expected);case 11:return Rn(v.Argument_expression_expected);case 12:return Rn(v.Property_assignment_expected);case 15:return Rn(v.Expression_or_comma_expected);case 17:return Rn(v.Parameter_declaration_expected);case 16:return b_(ee())?Rn(v._0_is_not_allowed_as_a_parameter_name,io(ee())):Rn(v.Parameter_declaration_expected);case 19:return Rn(v.Type_parameter_declaration_expected);case 20:return Rn(v.Type_argument_expected);case 21:return Rn(v.Type_expected);case 22:return Rn(v.Unexpected_token_expected);case 23:return Rn(v.Identifier_expected);case 13:return Rn(v.Identifier_expected);case 14:return Rn(v.Identifier_expected);case 24:return Rn(v.Identifier_or_string_literal_expected);case 25:return Rn(v.Identifier_expected);case 26:return R.fail("ParsingContext.Count used as a context");default:R.assertNever(ne)}}function zl(ne,Ae,tt){const Mt=Ar;Ar|=1<<ne;const ar=[],Ur=ve();let fi=-1;for(;;){if(hc(ne,!1)){const Hi=t.getTokenFullStart(),ss=bt(ne,Ae);if(!ss){Ar=Mt;return}if(ar.push(ss),fi=t.getTokenStart(),la(28))continue;if(fi=-1,sn(ne))break;nn(28,Rp(ne)),tt&&ee()===27&&!t.hasPrecedingLineBreak()&&ht(),Hi===t.getTokenFullStart()&&ht();continue}if(sn(ne)||k_(ne))break}return Ar=Mt,Jc(ar,Ur,void 0,fi>=0)}function Rp(ne){return ne===6?v.An_enum_member_name_must_be_followed_by_a_or:void 0}function f_(){const ne=Jc([],ve());return ne.isMissingList=!0,ne}function up(ne){return!!ne.isMissingList}function Pf(ne,Ae,tt,Mt){if(nn(tt)){const ar=zl(ne,Ae);return nn(Mt),ar}return f_()}function zm(ne,Ae){const tt=ve();let Mt=ne?Je(Ae):ie(Ae);for(;la(25)&&ee()!==30;)Mt=br(T.createQualifiedName(Mt,gg(ne,!1)),tt);return Mt}function cy(ne,Ae){return br(T.createQualifiedName(ne,Ae),ne.pos)}function gg(ne,Ae){if(t.hasPrecedingLineBreak()&&i_(ee())&&Li(Gm))return Bl(80,!0,v.Identifier_expected);if(ee()===81){const tt=di();return Ae?tt:Bl(80,!0,v.Identifier_expected)}return ne?Je():ie()}function yg(ne){const Ae=ve(),tt=[];let Mt;do Mt=ns(ne),tt.push(Mt);while(Mt.literal.kind===17);return Jc(tt,Ae)}function X(ne){const Ae=ve();return br(T.createTemplateExpression(ba(ne),yg(ne)),Ae)}function nt(){const ne=ve();return br(T.createTemplateLiteralType(ba(!1),nr()),ne)}function nr(){const ne=ve(),Ae=[];let tt;do tt=On(),Ae.push(tt);while(tt.literal.kind===17);return Jc(Ae,ne)}function On(){const ne=ve();return br(T.createTemplateLiteralTypeSpan(yl(),pa(!1)),ne)}function pa(ne){return ee()===20?(Vi(ne),Ic()):Gc(18,v._0_expected,io(20))}function ns(ne){const Ae=ve();return br(T.createTemplateSpan(Nt(Df),pa(ne)),Ae)}function zs(){return Kl(ee())}function ba(ne){!ne&&t.getTokenFlags()&26656&&Vi(!1);const Ae=Kl(ee());return R.assert(Ae.kind===16,"Template head has wrong token kind"),Ae}function Ic(){const ne=Kl(ee());return R.assert(ne.kind===17||ne.kind===18,"Template fragment has wrong token kind"),ne}function Po(ne){const Ae=ne===15||ne===18,tt=t.getTokenText();return tt.substring(1,tt.length-(t.isUnterminated()?0:Ae?1:2))}function Kl(ne){const Ae=ve(),tt=Sv(ne)?T.createTemplateLiteralLikeNode(ne,t.getTokenValue(),Po(ne),t.getTokenFlags()&7176):ne===9?D(t.getTokenValue(),t.getNumericLiteralFlags()):ne===11?O(t.getTokenValue(),void 0,t.hasExtendedUnicodeEscape()):hP(ne)?M(ne,t.getTokenValue()):R.fail();return t.hasExtendedUnicodeEscape()&&(tt.hasExtendedUnicodeEscape=!0),t.isUnterminated()&&(tt.isUnterminated=!0),ht(),br(tt,Ae)}function Bp(){return zm(!0,v.Type_expected)}function z_(){if(!t.hasPrecedingLineBreak()&&rs()===30)return Pf(20,yl,30,32)}function xh(){const ne=ve();return br(T.createTypeReferenceNode(Bp(),z_()),ne)}function Vm(ne){switch(ne.kind){case 182:return pl(ne.typeName);case 183:case 184:{const{parameters:Ae,type:tt}=ne;return up(Ae)||Vm(tt)}case 195:return Vm(ne.type);default:return!1}}function fm(ne){return ht(),br(T.createTypePredicateNode(void 0,ne,yl()),ne.pos)}function Re(){const ne=ve();return ht(),br(T.createThisTypeNode(),ne)}function lt(){const ne=ve();return ht(),br(T.createJSDocAllType(),ne)}function St(){const ne=ve();return ht(),br(T.createJSDocNonNullableType(w_(),!1),ne)}function dr(){const ne=ve();return ht(),ee()===28||ee()===20||ee()===22||ee()===32||ee()===64||ee()===52?br(T.createJSDocUnknownType(),ne):br(T.createJSDocNullableType(yl(),!1),ne)}function $r(){const ne=ve(),Ae=Te();if(Li(Ts)){ht();const tt=vd(36),Mt=V_(59,!1);return Dr(br(T.createJSDocFunctionType(tt,Mt),ne),Ae)}return br(T.createTypeReferenceNode(Je(),void 0),ne)}function Wr(){const ne=ve();let Ae;return(ee()===110||ee()===105)&&(Ae=Je(),nn(59)),br(T.createParameterDeclaration(void 0,void 0,Ae,void 0,Hr(),void 0),ne)}function Hr(){t.setInJSDocType(!0);const ne=ve();if(la(144)){const Mt=T.createJSDocNamepathType(void 0);e:for(;;)switch(ee()){case 20:case 1:case 28:case 5:break e;default:Vt()}return t.setInJSDocType(!1),br(Mt,ne)}const Ae=la(26);let tt=b2();return t.setInJSDocType(!1),Ae&&(tt=br(T.createJSDocVariadicType(tt),ne)),ee()===64?(ht(),br(T.createJSDocOptionalType(tt),ne)):tt}function dn(){const ne=ve();nn(114);const Ae=zm(!0),tt=t.hasPrecedingLineBreak()?void 0:Xm();return br(T.createTypeQueryNode(Ae,tt),ne)}function $i(){const ne=ve(),Ae=pf(!1,!0),tt=ie();let Mt,ar;la(96)&&(uy()||!$_()?Mt=yl():ar=p0());const Ur=la(64)?yl():void 0,fi=T.createTypeParameterDeclaration(Ae,tt,Mt,Ur);return fi.expression=ar,br(fi,ne)}function As(){if(ee()===30)return Pf(19,$i,30,32)}function Ln(ne){return ee()===26||IS()||r1(ee())||ee()===60||uy(!ne)}function si(ne){const Ae=L1(v.Private_identifiers_cannot_be_used_as_parameters);return HI(Ae)===0&&!Ne(ne)&&r1(ee())&&ht(),Ae}function zn(){return Hc()||ee()===23||ee()===19}function ya(ne){return hu(ne)}function gl(ne){return hu(ne,!1)}function hu(ne,Ae=!0){const tt=ve(),Mt=Te(),ar=ne?xt(()=>pf(!0)):ae(()=>pf(!0));if(ee()===110){const ss=T.createParameterDeclaration(ar,void 0,Cu(!0),void 0,f0(),void 0),Gi=Hu(ar);return Gi&&pe(Gi,v.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),Dr(br(ss,tt),Mt)}const Ur=hn;hn=!1;const fi=Ns(26);if(!Ae&&!zn())return;const Hi=Dr(br(T.createParameterDeclaration(ar,fi,si(ar),Ns(58),f0(),_y()),tt),Mt);return hn=Ur,Hi}function V_(ne,Ae){if(vg(ne,Ae))return Ut(b2)}function vg(ne,Ae){return ne===39?(nn(ne),!0):la(59)?!0:Ae&&ee()===39?(Rn(v._0_expected,io(59)),ht(),!0):!1}function bg(ne,Ae){const tt=Gt(),Mt=Gn();Er(!!(ne&1)),qr(!!(ne&2));const ar=ne&32?zl(17,Wr):zl(16,()=>Ae?ya(Mt):gl(Mt));return Er(tt),qr(Mt),ar}function vd(ne){if(!nn(21))return f_();const Ae=bg(ne,!0);return nn(22),Ae}function C1(){la(28)||Sc()}function Gv(ne){const Ae=ve(),tt=Te();ne===179&&nn(105);const Mt=As(),ar=vd(4),Ur=V_(59,!0);C1();const fi=ne===178?T.createCallSignature(Mt,ar,Ur):T.createConstructSignature(Mt,ar,Ur);return Dr(br(fi,Ae),tt)}function Ek(){return ee()===23&&Li(w1)}function w1(){if(ht(),ee()===26||ee()===24)return!0;if(r1(ee())){if(ht(),rc())return!0}else if(rc())ht();else return!1;return ee()===59||ee()===28?!0:ee()!==58?!1:(ht(),ee()===59||ee()===28||ee()===24)}function Ak(ne,Ae,tt){const Mt=Pf(16,()=>ya(!1),23,24),ar=f0();C1();const Ur=T.createIndexSignature(tt,Mt,ar);return Dr(br(Ur,ne),Ae)}function pS(ne,Ae,tt){const Mt=Wn(),ar=Ns(58);let Ur;if(ee()===21||ee()===30){const fi=As(),Hi=vd(4),ss=V_(59,!0);Ur=T.createMethodSignature(tt,Mt,ar,fi,Hi,ss)}else{const fi=f0();Ur=T.createPropertySignature(tt,Mt,ar,fi),ee()===64&&(Ur.initializer=_y())}return C1(),Dr(br(Ur,ne),Ae)}function h2(){if(ee()===21||ee()===30||ee()===139||ee()===153)return!0;let ne=!1;for(;r1(ee());)ne=!0,ht();return ee()===23?!0:(Et()&&(ne=!0,ht()),ne?ee()===21||ee()===30||ee()===58||ee()===59||ee()===28||pc():!1)}function dS(){if(ee()===21||ee()===30)return Gv(178);if(ee()===105&&Li(Xv))return Gv(179);const ne=ve(),Ae=Te(),tt=pf(!1);return Us(139)?$u(ne,Ae,tt,176,4):Us(153)?$u(ne,Ae,tt,177,4):Ek()?Ak(ne,Ae,tt):pS(ne,Ae,tt)}function Xv(){return ht(),ee()===21||ee()===30}function hE(){return ht()===25}function g2(){switch(ht()){case 21:case 30:case 25:return!0}return!1}function gE(){const ne=ve();return br(T.createTypeLiteralNode(mS()),ne)}function mS(){let ne;return nn(19)?(ne=_e(4,dS),nn(20)):ne=f_(),ne}function yE(){return ht(),ee()===40||ee()===41?ht()===148:(ee()===148&&ht(),ee()===23&&Xc()&&ht()===103)}function Pk(){const ne=ve(),Ae=Je();nn(103);const tt=yl();return br(T.createTypeParameterDeclaration(void 0,Ae,tt,void 0),ne)}function hS(){const ne=ve();nn(19);let Ae;(ee()===148||ee()===40||ee()===41)&&(Ae=Zl(),Ae.kind!==148&&nn(148)),nn(23);const tt=Pk(),Mt=la(130)?yl():void 0;nn(24);let ar;(ee()===58||ee()===40||ee()===41)&&(ar=Zl(),ar.kind!==58&&nn(58));const Ur=f0();Sc();const fi=_e(4,dS);return nn(20),br(T.createMappedTypeNode(Ae,tt,Mt,ar,Ur,fi),ne)}function Qv(){const ne=ve();if(la(26))return br(T.createRestTypeNode(yl()),ne);const Ae=yl();if(J4(Ae)&&Ae.pos===Ae.type.pos){const tt=T.createOptionalTypeNode(Ae.type);return wt(tt,Ae),tt.flags=Ae.flags,tt}return Ae}function Yv(){return ht()===59||ee()===58&&ht()===59}function Zv(){return ee()===26?i_(ht())&&Yv():i_(ee())&&Yv()}function Dk(){if(Li(Zv)){const ne=ve(),Ae=Te(),tt=Ns(26),Mt=Je(),ar=Ns(58);nn(59);const Ur=Qv(),fi=T.createNamedTupleMember(tt,Mt,ar,Ur);return Dr(br(fi,ne),Ae)}return Qv()}function E1(){const ne=ve();return br(T.createTupleTypeNode(Pf(21,Dk,23,24)),ne)}function Do(){const ne=ve();nn(21);const Ae=yl();return nn(22),br(T.createParenthesizedType(Ae),ne)}function gS(){let ne;if(ee()===128){const Ae=ve();ht();const tt=br(H(128),Ae);ne=Jc([tt],Ae)}return ne}function vE(){const ne=ve(),Ae=Te(),tt=gS(),Mt=la(105);R.assert(!tt||Mt,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");const ar=As(),Ur=vd(4),fi=V_(39,!1),Hi=Mt?T.createConstructorTypeNode(tt,ar,Ur,fi):T.createFunctionTypeNode(ar,Ur,fi);return Dr(br(Hi,ne),Ae)}function c0(){const ne=Zl();return ee()===25?void 0:ne}function ly(ne){const Ae=ve();ne&&ht();let tt=ee()===112||ee()===97||ee()===106?Zl():Kl(ee());return ne&&(tt=br(T.createPrefixUnaryExpression(41,tt),Ae)),br(T.createLiteralTypeNode(tt),Ae)}function kh(){return ht(),ee()===102}function Zp(){const ne=ve(),Ae=t.getTokenStart();nn(19);const tt=t.hasPrecedingLineBreak();nn(132),nn(59);const Mt=m_(!0);if(!nn(20)){const ar=Bc(_t);ar&&ar.code===v._0_expected.code&&ho(ar,T4(Ke,Ae,1,v.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return br(T.createImportTypeAssertionContainer(Mt,tt),ne)}function __(){Me|=2097152;const ne=ve(),Ae=la(114);nn(102),nn(21);const tt=yl();let Mt;la(28)&&(Mt=Zp()),nn(22);const ar=la(25)?Bp():void 0,Ur=z_();return br(T.createImportTypeNode(tt,Mt,ar,Ur,Ae),ne)}function C_(){return ht(),ee()===9||ee()===10}function w_(){switch(ee()){case 133:case 159:case 154:case 150:case 162:case 155:case 136:case 157:case 146:case 151:return Zs(c0)||xh();case 67:t.reScanAsteriskEqualsToken();case 42:return lt();case 61:t.reScanQuestionToken();case 58:return dr();case 100:return $r();case 54:return St();case 15:case 11:case 9:case 10:case 112:case 97:case 106:return ly();case 41:return Li(C_)?ly(!0):xh();case 116:return Zl();case 110:{const ne=Re();return ee()===142&&!t.hasPrecedingLineBreak()?fm(ne):ne}case 114:return Li(kh)?__():dn();case 19:return Li(yE)?hS():gE();case 23:return E1();case 21:return Do();case 102:return __();case 131:return Li(Gm)?T2():xh();case 16:return nt();default:return xh()}}function uy(ne){switch(ee()){case 133:case 159:case 154:case 150:case 162:case 136:case 148:case 155:case 158:case 116:case 157:case 106:case 110:case 114:case 146:case 19:case 23:case 30:case 52:case 51:case 105:case 11:case 9:case 10:case 112:case 97:case 151:case 42:case 58:case 54:case 26:case 140:case 102:case 131:case 15:case 16:return!0;case 100:return!ne;case 41:return!ne&&Li(C_);case 21:return!ne&&Li(Nk);default:return rc()}}function Nk(){return ht(),ee()===22||Ln(!1)||uy()}function bE(){const ne=ve();let Ae=w_();for(;!t.hasPrecedingLineBreak();)switch(ee()){case 54:ht(),Ae=br(T.createJSDocNonNullableType(Ae,!0),ne);break;case 58:if(Li(er))return Ae;ht(),Ae=br(T.createJSDocNullableType(Ae,!0),ne);break;case 23:if(nn(23),uy()){const tt=yl();nn(24),Ae=br(T.createIndexedAccessTypeNode(Ae,tt),ne)}else nn(24),Ae=br(T.createArrayTypeNode(Ae),ne);break;default:return Ae}return Ae}function yS(ne){const Ae=ve();return nn(ne),br(T.createTypeOperatorNode(ne,v2()),Ae)}function Ik(){if(la(96)){const ne=rr(yl);if(Lr()||ee()!==58)return ne}}function y2(){const ne=ve(),Ae=ie(),tt=Zs(Ik),Mt=T.createTypeParameterDeclaration(void 0,Ae,tt);return br(Mt,ne)}function TE(){const ne=ve();return nn(140),br(T.createInferTypeNode(y2()),ne)}function v2(){const ne=ee();switch(ne){case 143:case 158:case 148:return yS(ne);case 140:return TE()}return Ut(bE)}function vS(ne){if(Tg()){const Ae=vE();let tt;return ry(Ae)?tt=ne?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:tt=ne?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,pe(Ae,tt),Ae}}function SE(ne,Ae,tt){const Mt=ve(),ar=ne===52,Ur=la(ne);let fi=Ur&&vS(ar)||Ae();if(ee()===ne||Ur){const Hi=[fi];for(;la(ne);)Hi.push(vS(ar)||Ae());fi=br(tt(Jc(Hi,Mt)),Mt)}return fi}function l0(){return SE(51,v2,T.createIntersectionTypeNode)}function Ok(){return SE(52,l0,T.createUnionTypeNode)}function rt(){return ht(),ee()===105}function Tg(){return ee()===30||ee()===21&&Li(A1)?!0:ee()===105||ee()===128&&Li(rt)}function fy(){if(r1(ee())&&pf(!1),rc()||ee()===110)return ht(),!0;if(ee()===23||ee()===19){const ne=_t.length;return L1(),ne===_t.length}return!1}function A1(){return ht(),!!(ee()===22||ee()===26||fy()&&(ee()===59||ee()===28||ee()===58||ee()===64||ee()===22&&(ht(),ee()===39)))}function b2(){const ne=ve(),Ae=rc()&&Zs(u0),tt=yl();return Ae?br(T.createTypePredicateNode(void 0,Ae,tt),ne):tt}function u0(){const ne=ie();if(ee()===142&&!t.hasPrecedingLineBreak())return ht(),ne}function T2(){const ne=ve(),Ae=Gc(131),tt=ee()===110?Re():ie(),Mt=la(142)?yl():void 0;return br(T.createTypePredicateNode(Ae,tt,Mt),ne)}function yl(){if(tn&40960)return xi(40960,yl);if(Tg())return vE();const ne=ve(),Ae=Ok();if(!Lr()&&!t.hasPrecedingLineBreak()&&la(96)){const tt=rr(yl);nn(58);const Mt=Ut(yl);nn(59);const ar=Ut(yl);return br(T.createConditionalTypeNode(Ae,tt,Mt,ar),ne)}return Ae}function f0(){return la(59)?yl():void 0}function No(){switch(ee()){case 110:case 108:case 106:case 112:case 97:case 9:case 10:case 11:case 15:case 16:case 21:case 23:case 19:case 100:case 86:case 105:case 44:case 69:case 80:return!0;case 102:return Li(g2);default:return rc()}}function $_(){if(No())return!0;switch(ee()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 46:case 47:case 30:case 135:case 127:case 81:case 60:return!0;default:return xS()?!0:rc()}}function bS(){return ee()!==19&&ee()!==100&&ee()!==86&&ee()!==60&&$_()}function Df(){const ne=ii();ne&&rn(!1);const Ae=ve();let tt=q_(!0),Mt;for(;Mt=Ns(28);)tt=Fk(tt,Mt,q_(!0),Ae);return ne&&rn(!0),tt}function _y(){return la(64)?q_(!0):void 0}function q_(ne){if(P1())return SS();const Ae=Ch(ne)||mi(ne);if(Ae)return Ae;const tt=ve(),Mt=S2(0);return Mt.kind===80&&ee()===39?xE(tt,Mt,ne,void 0):L_(Mt)&&o1(Pn())?Fk(Mt,Zl(),q_(ne),tt):_0(Mt,tt,ne)}function P1(){return ee()===127?Gt()?!0:Li(ab):!1}function TS(){return ht(),!t.hasPrecedingLineBreak()&&rc()}function SS(){const ne=ve();return ht(),!t.hasPrecedingLineBreak()&&(ee()===42||$_())?br(T.createYieldExpression(Ns(42),q_(!0)),ne):br(T.createYieldExpression(void 0,void 0),ne)}function xE(ne,Ae,tt,Mt){R.assert(ee()===39,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");const ar=T.createParameterDeclaration(void 0,void 0,Ae,void 0,void 0,void 0);br(ar,Ae.pos);const Ur=Jc([ar],ar.pos,ar.end),fi=Gc(39),Hi=D1(!!Mt,tt),ss=T.createArrowFunction(Mt,void 0,Ur,void 0,fi,Hi);return Qr(br(ss,ne))}function Ch(ne){const Ae=Lk();if(Ae!==0)return Ae===1?Eu(!0,!0):Zs(()=>ms(ne))}function Lk(){return ee()===21||ee()===30||ee()===134?Li(Mk):ee()===39?1:0}function Mk(){if(ee()===134&&(ht(),t.hasPrecedingLineBreak()||ee()!==21&&ee()!==30))return 0;const ne=ee(),Ae=ht();if(ne===21){if(Ae===22)switch(ht()){case 39:case 59:case 19:return 1;default:return 0}if(Ae===23||Ae===19)return 2;if(Ae===26)return 1;if(r1(Ae)&&Ae!==134&&Li(Xc))return ht()===130?0:1;if(!rc()&&Ae!==110)return 0;switch(ht()){case 59:return 1;case 58:return ht(),ee()===59||ee()===28||ee()===64||ee()===22?1:0;case 28:case 64:case 22:return 2}return 0}else return R.assert(ne===30),!rc()&&ee()!==87?0:je===1?Li(()=>{la(87);const Mt=ht();if(Mt===96)switch(ht()){case 64:case 32:case 44:return!1;default:return!0}else if(Mt===28||Mt===64)return!0;return!1})?1:0:2}function ms(ne){const Ae=t.getTokenStart();if(Ht!=null&&Ht.has(Ae))return;const tt=Eu(!1,ne);return tt||(Ht||(Ht=new Set)).add(Ae),tt}function mi(ne){if(ee()===134&&Li(fp)===1){const Ae=ve(),tt=ul(),Mt=S2(0);return xE(Ae,Mt,ne,tt)}}function fp(){if(ee()===134){if(ht(),t.hasPrecedingLineBreak()||ee()===39)return 0;const ne=S2(0);if(!t.hasPrecedingLineBreak()&&ne.kind===80&&ee()===39)return 1}return 0}function Eu(ne,Ae){const tt=ve(),Mt=Te(),ar=ul(),Ur=Ne(ar,mD)?2:0,fi=As();let Hi;if(nn(21)){if(ne)Hi=bg(Ur,ne);else{const pb=bg(Ur,ne);if(!pb)return;Hi=pb}if(!nn(22)&&!ne)return}else{if(!ne)return;Hi=f_()}const ss=ee()===59,Gi=V_(59,!1);if(Gi&&!ne&&Vm(Gi))return;let Qs=Gi;for(;(Qs==null?void 0:Qs.kind)===195;)Qs=Qs.type;const gc=Qs&&U4(Qs);if(!ne&&ee()!==39&&(gc||ee()!==19))return;const Uo=ee(),Xa=Gc(39),df=Uo===39||Uo===19?D1(Ne(ar,mD),Ae):ie();if(!Ae&&ss&&ee()!==59)return;const zd=T.createArrowFunction(ar,fi,Hi,Gi,Xa,df);return Dr(br(zd,tt),Mt)}function D1(ne,Ae){if(ee()===19)return p_(ne?2:0);if(ee()!==27&&ee()!==100&&ee()!==86&&g0()&&!bS())return p_(16|(ne?2:0));const tt=hn;hn=!1;const Mt=ne?xt(()=>q_(Ae)):ae(()=>q_(Ae));return hn=tt,Mt}function _0(ne,Ae,tt){const Mt=Ns(58);if(!Mt)return ne;let ar;return br(T.createConditionalExpression(ne,Mt,xi(n,()=>q_(!1)),ar=Gc(59),Pd(ar)?q_(tt):Bl(80,!1,v._0_expected,io(59))),Ae)}function S2(ne){const Ae=ve(),tt=p0();return ll(ne,tt,Ae)}function kE(ne){return ne===103||ne===164}function ll(ne,Ae,tt){for(;;){Pn();const Mt=A5(ee());if(!(ee()===43?Mt>=ne:Mt>ne)||ee()===103&&zt())break;if(ee()===130||ee()===152){if(t.hasPrecedingLineBreak())break;{const Ur=ee();ht(),Ae=Ur===152?kS(Ae,yl()):CS(Ae,yl())}}else Ae=Fk(Ae,Zl(),S2(Mt),tt)}return Ae}function xS(){return zt()&&ee()===103?!1:A5(ee())>0}function kS(ne,Ae){return br(T.createSatisfiesExpression(ne,Ae),ne.pos)}function Fk(ne,Ae,tt,Mt){return br(T.createBinaryExpression(ne,Ae,tt),Mt)}function CS(ne,Ae){return br(T.createAsExpression(ne,Ae),ne.pos)}function _m(){const ne=ve();return br(T.createPrefixUnaryExpression(ee(),Qt(W_)),ne)}function Rk(){const ne=ve();return br(T.createDeleteExpression(Qt(W_)),ne)}function wA(){const ne=ve();return br(T.createTypeOfExpression(Qt(W_)),ne)}function Kv(){const ne=ve();return br(T.createVoidExpression(Qt(W_)),ne)}function Bk(){return ee()===135?Gn()?!0:Li(ab):!1}function _p(){const ne=ve();return br(T.createAwaitExpression(Qt(W_)),ne)}function p0(){if(eb()){const tt=ve(),Mt=CE();return ee()===43?ll(A5(ee()),Mt,tt):Mt}const ne=ee(),Ae=W_();if(ee()===43){const tt=fo(ze,Ae.pos),{end:Mt}=Ae;Ae.kind===215?Se(tt,Mt,v.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):(R.assert(Hj(ne)),Se(tt,Mt,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,io(ne)))}return Ae}function W_(){switch(ee()){case 40:case 41:case 55:case 54:return _m();case 91:return Rk();case 114:return wA();case 116:return Kv();case 30:return je===1?$m(!0,void 0,void 0,!0):wE();case 135:if(Bk())return _p();default:return CE()}}function eb(){switch(ee()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 135:return!1;case 30:if(je!==1)return!1;default:return!0}}function CE(){if(ee()===46||ee()===47){const Ae=ve();return br(T.createPrefixUnaryExpression(ee(),Qt(py)),Ae)}else if(je===1&&ee()===30&&Li(lp))return $m(!0);const ne=py();if(R.assert(L_(ne)),(ee()===46||ee()===47)&&!t.hasPrecedingLineBreak()){const Ae=ee();return ht(),br(T.createPostfixUnaryExpression(ne,Ae),ne.pos)}return ne}function py(){const ne=ve();let Ae;return ee()===102?Li(Xv)?(Me|=2097152,Ae=Zl()):Li(hE)?(ht(),ht(),Ae=br(T.createMetaProperty(102,Je()),ne),Me|=4194304):Ae=tb():Ae=ee()===108?jk():tb(),k2(ne,Ae)}function tb(){const ne=ve(),Ae=jd();return ES(ne,Ae,!0)}function jk(){const ne=ve();let Ae=Zl();if(ee()===30){const tt=ve(),Mt=Zs(Hl);Mt!==void 0&&(Se(tt,ve(),v.super_may_not_use_type_arguments),Hm()||(Ae=T.createExpressionWithTypeArguments(Ae,Mt)))}return ee()===21||ee()===25||ee()===23?Ae:(Gc(25,v.super_must_be_followed_by_an_argument_list_or_member_access),br(fe(Ae,gg(!0,!0)),ne))}function $m(ne,Ae,tt,Mt=!1){const ar=ve(),Ur=x2(ne);let fi;if(Ur.kind===285){let Hi=Wm(Ur),ss;const Gi=Hi[Hi.length-1];if((Gi==null?void 0:Gi.kind)===283&&!c2(Gi.openingElement.tagName,Gi.closingElement.tagName)&&c2(Ur.tagName,Gi.closingElement.tagName)){const Qs=Gi.children.end,gc=br(T.createJsxElement(Gi.openingElement,Gi.children,br(T.createJsxClosingElement(br(U(""),Qs,Qs)),Qs,Qs)),Gi.openingElement.pos,Qs);Hi=Jc([...Hi.slice(0,Hi.length-1),gc],Hi.pos,Qs),ss=Gi.closingElement}else ss=ib(Ur,ne),c2(Ur.tagName,ss.tagName)||(tt&&vh(tt)&&c2(ss.tagName,tt.tagName)?pe(Ur.tagName,v.JSX_element_0_has_no_corresponding_closing_tag,SP(ze,Ur.tagName)):pe(ss.tagName,v.Expected_corresponding_JSX_closing_tag_for_0,SP(ze,Ur.tagName)));fi=br(T.createJsxElement(Ur,Hi,ss),ar)}else Ur.kind===288?fi=br(T.createJsxFragment(Ur,Wm(Ur),zk(ne)),ar):(R.assert(Ur.kind===284),fi=Ur);if(!Mt&&ne&&ee()===30){const Hi=typeof Ae>"u"?fi.pos:Ae,ss=Zs(()=>$m(!0,Hi));if(ss){const Gi=Bl(28,!1);return iD(Gi,ss.pos,0),Se(fo(ze,Hi),ss.end,v.JSX_expressions_must_have_one_parent_element),br(T.createBinaryExpression(fi,Gi,ss),ar)}}return fi}function EA(){const ne=ve(),Ae=T.createJsxText(t.getTokenValue(),Xt===13);return Xt=t.scanJsxToken(),br(Ae,ne)}function qm(ne,Ae){switch(Ae){case 1:if(Rw(ne))pe(ne,v.JSX_fragment_has_no_corresponding_closing_tag);else{const tt=ne.tagName,Mt=Math.min(fo(ze,tt.pos),tt.end);Se(Mt,tt.end,v.JSX_element_0_has_no_corresponding_closing_tag,SP(ze,ne.tagName))}return;case 31:case 7:return;case 12:case 13:return EA();case 19:return Jk(!1);case 30:return $m(!1,void 0,ne);default:return R.assertNever(Ae)}}function Wm(ne){const Ae=[],tt=ve(),Mt=Ar;for(Ar|=1<<14;;){const ar=qm(ne,Xt=t.reScanJsxToken());if(!ar||(Ae.push(ar),vh(ne)&&(ar==null?void 0:ar.kind)===283&&!c2(ar.openingElement.tagName,ar.closingElement.tagName)&&c2(ne.tagName,ar.closingElement.tagName)))break}return Ar=Mt,Jc(Ae,tt)}function pp(){const ne=ve();return br(T.createJsxAttributes(_e(13,nc)),ne)}function x2(ne){const Ae=ve();if(nn(30),ee()===32)return Oi(),br(T.createJsxOpeningFragment(),Ae);const tt=rb(),Mt=tn&262144?void 0:Xm(),ar=pp();let Ur;return ee()===32?(Oi(),Ur=T.createJsxOpeningElement(tt,Mt,ar)):(nn(44),nn(32,void 0,!1)&&(ne?ht():Oi()),Ur=T.createJsxSelfClosingElement(tt,Mt,ar)),br(Ur,Ae)}function rb(){const ne=ve(),Ae=AA();if(Th(Ae))return Ae;let tt=Ae;for(;la(25);)tt=br(fe(tt,gg(!0,!1)),ne);return tt}function AA(){const ne=ve();Ys();const Ae=ee()===110,tt=Je();return la(59)?(Ys(),br(T.createJsxNamespacedName(tt,Je()),ne)):Ae?br(T.createToken(110),ne):tt}function Jk(ne){const Ae=ve();if(!nn(19))return;let tt,Mt;return ee()!==20&&(tt=Ns(26),Mt=Df()),ne?nn(20):nn(20,void 0,!1)&&Oi(),br(T.createJsxExpression(tt,Mt),Ae)}function nc(){if(ee()===19)return Uk();const ne=ve();return br(T.createJsxAttribute(nb(),wS()),ne)}function wS(){if(ee()===64){if(Js()===11)return zs();if(ee()===19)return Jk(!0);if(ee()===30)return $m(!0);Rn(v.or_JSX_element_expected)}}function nb(){const ne=ve();Ys();const Ae=Je();return la(59)?(Ys(),br(T.createJsxNamespacedName(Ae,Je()),ne)):Ae}function Uk(){const ne=ve();nn(19),nn(26);const Ae=Df();return nn(20),br(T.createJsxSpreadAttribute(Ae),ne)}function ib(ne,Ae){const tt=ve();nn(31);const Mt=rb();return nn(32,void 0,!1)&&(Ae||!c2(ne.tagName,Mt)?ht():Oi()),br(T.createJsxClosingElement(Mt),tt)}function zk(ne){const Ae=ve();return nn(31),nn(32,v.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(ne?ht():Oi()),br(T.createJsxJsxClosingFragment(),Ae)}function wE(){R.assert(je!==1,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.");const ne=ve();nn(30);const Ae=yl();nn(32);const tt=W_();return br(T.createTypeAssertion(Ae,tt),ne)}function Vk(){return ht(),i_(ee())||ee()===23||Hm()}function gn(){return ee()===29&&Li(Vk)}function Il(ne){if(ne.flags&32)return!0;if(Mw(ne)){let Ae=ne.expression;for(;Mw(Ae)&&!(Ae.flags&32);)Ae=Ae.expression;if(Ae.flags&32){for(;Mw(ne);)ne.flags|=32,ne=ne.expression;return!0}}return!1}function Ws(ne,Ae,tt){const Mt=gg(!0,!0),ar=tt||Il(Ae),Ur=ar?Q(Ae,tt,Mt):fe(Ae,Mt);if(ar&&fs(Ur.name)&&pe(Ur.name,v.An_optional_chain_cannot_contain_private_identifiers),p1(Ae)&&Ae.typeArguments){const fi=Ae.typeArguments.pos-1,Hi=fo(ze,Ae.typeArguments.end)+1;Se(fi,Hi,v.An_instantiation_expression_cannot_be_followed_by_a_property_access)}return br(Ur,ne)}function d0(ne,Ae,tt){let Mt;if(ee()===24)Mt=Bl(80,!0,v.An_element_access_expression_should_take_an_argument);else{const Ur=Nt(Df);ud(Ur)&&(Ur.text=ff(Ur.text)),Mt=Ur}nn(24);const ar=tt||Il(Ae)?W(Ae,tt,Mt):he(Ae,Mt);return br(ar,ne)}function ES(ne,Ae,tt){for(;;){let Mt,ar=!1;if(tt&&gn()?(Mt=Gc(29),ar=i_(ee())):ar=la(25),ar){Ae=Ws(ne,Ae,Mt);continue}if((Mt||!ii())&&la(23)){Ae=d0(ne,Ae,Mt);continue}if(Hm()){Ae=!Mt&&Ae.kind===232?xn(ne,Ae.expression,Mt,Ae.typeArguments):xn(ne,Ae,Mt,void 0);continue}if(!Mt){if(ee()===54&&!t.hasPrecedingLineBreak()){ht(),Ae=br(T.createNonNullExpression(Ae),ne);continue}const Ur=Zs(Hl);if(Ur){Ae=br(T.createExpressionWithTypeArguments(Ae,Ur),ne);continue}}return Ae}}function Hm(){return ee()===15||ee()===16}function xn(ne,Ae,tt,Mt){const ar=T.createTaggedTemplateExpression(Ae,Mt,ee()===15?(Vi(!0),zs()):X(!0));return(tt||Ae.flags&32)&&(ar.flags|=32),ar.questionDotToken=tt,br(ar,ne)}function k2(ne,Ae){for(;;){Ae=ES(ne,Ae,!0);let tt;const Mt=Ns(29);if(Mt&&(tt=Zs(Hl),Hm())){Ae=xn(ne,Ae,Mt,tt);continue}if(tt||ee()===21){!Mt&&Ae.kind===232&&(tt=Ae.typeArguments,Ae=Ae.expression);const ar=C2(),Ur=Mt||Il(Ae)?de(Ae,Mt,tt,ar):ye(Ae,tt,ar);Ae=br(Ur,ne);continue}if(Mt){const ar=Bl(80,!1,v.Identifier_expected);Ae=br(Q(Ae,Mt,ar),ne)}break}return Ae}function C2(){nn(21);const ne=zl(11,E2);return nn(22),ne}function Hl(){if(tn&262144||rs()!==30)return;ht();const ne=zl(20,yl);if(Pn()===32)return ht(),ne&&wh()?ne:void 0}function wh(){switch(ee()){case 21:case 15:case 16:return!0;case 30:case 32:case 40:case 41:return!1}return t.hasPrecedingLineBreak()||xS()||!$_()}function jd(){switch(ee()){case 15:t.getTokenFlags()&26656&&Vi(!1);case 9:case 10:case 11:return zs();case 110:case 108:case 106:case 112:case 97:return Zl();case 21:return w2();case 23:return A2();case 19:return Jd();case 134:if(!Li(NS))break;return N1();case 60:return OS();case 86:return gy();case 100:return N1();case 105:return ef();case 44:case 69:if(bi()===14)return zs();break;case 16:return X(!1);case 81:return di()}return ie(v.Expression_expected)}function w2(){const ne=ve(),Ae=Te();nn(21);const tt=Nt(Df);return nn(22),Dr(br(K(tt),ne),Ae)}function AS(){const ne=ve();nn(26);const Ae=q_(!0);return br(T.createSpreadElement(Ae),ne)}function dy(){return ee()===26?AS():ee()===28?br(T.createOmittedExpression(),ve()):q_(!0)}function E2(){return xi(n,dy)}function A2(){const ne=ve(),Ae=t.getTokenStart(),tt=nn(23),Mt=t.hasPrecedingLineBreak(),ar=zl(15,dy);return ku(23,24,tt,Ae),br(Y(ar,Mt),ne)}function Sg(){const ne=ve(),Ae=Te();if(Ns(26)){const Qs=q_(!0);return Dr(br(T.createSpreadAssignment(Qs),ne),Ae)}const tt=pf(!0);if(Us(139))return $u(ne,Ae,tt,176,0);if(Us(153))return $u(ne,Ae,tt,177,0);const Mt=Ns(42),ar=rc(),Ur=Wn(),fi=Ns(58),Hi=Ns(54);if(Mt||ee()===21||ee()===30)return hy(ne,Ae,tt,Mt,Ur,fi,Hi);let ss;if(ar&&ee()!==59){const Qs=Ns(64),gc=Qs?Nt(()=>q_(!0)):void 0;ss=T.createShorthandPropertyAssignment(Ur,gc),ss.equalsToken=Qs}else{nn(59);const Qs=Nt(()=>q_(!0));ss=T.createPropertyAssignment(Ur,Qs)}return ss.modifiers=tt,ss.questionToken=fi,ss.exclamationToken=Hi,Dr(br(ss,ne),Ae)}function Jd(){const ne=ve(),Ae=t.getTokenStart(),tt=nn(19),Mt=t.hasPrecedingLineBreak(),ar=zl(12,Sg,!0);return ku(19,20,tt,Ae),br(Z(ar,Mt),ne)}function N1(){const ne=ii();rn(!1);const Ae=ve(),tt=Te(),Mt=pf(!1);nn(100);const ar=Ns(42),Ur=ar?1:0,fi=Ne(Mt,mD)?2:0,Hi=Ur&&fi?mt(Qc):Ur?se(Qc):fi?xt(Qc):Qc(),ss=As(),Gi=vd(Ur|fi),Qs=V_(59,!1),gc=p_(Ur|fi);rn(ne);const Uo=T.createFunctionExpression(Mt,ar,Hi,ss,Gi,Qs,gc);return Dr(br(Uo,Ae),tt)}function Qc(){return Hc()?be():void 0}function ef(){const ne=ve();if(nn(105),la(25)){const Ur=Je();return br(T.createMetaProperty(105,Ur),ne)}const Ae=ve();let tt=ES(Ae,jd(),!1),Mt;tt.kind===232&&(Mt=tt.typeArguments,tt=tt.expression),ee()===29&&Rn(v.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,SP(ze,tt));const ar=ee()===21?C2():void 0;return br(Ce(tt,Mt,ar),ne)}function xg(ne,Ae){const tt=ve(),Mt=Te(),ar=t.getTokenStart(),Ur=nn(19,Ae);if(Ur||ne){const fi=t.hasPrecedingLineBreak(),Hi=_e(1,jp);ku(19,20,Ur,ar);const ss=Dr(br(ce(Hi,fi),tt),Mt);return ee()===64&&(Rn(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),ht()),ss}else{const fi=f_();return Dr(br(ce(fi,void 0),tt),Mt)}}function p_(ne,Ae){const tt=Gt();Er(!!(ne&1));const Mt=Gn();qr(!!(ne&2));const ar=hn;hn=!1;const Ur=ii();Ur&&rn(!1);const fi=xg(!!(ne&16),Ae);return Ur&&rn(!0),hn=ar,Er(tt),qr(Mt),fi}function bd(){const ne=ve(),Ae=Te();return nn(27),Dr(br(T.createEmptyStatement(),ne),Ae)}function P2(){const ne=ve(),Ae=Te();nn(101);const tt=t.getTokenStart(),Mt=nn(21),ar=Nt(Df);ku(21,22,Mt,tt);const Ur=jp(),fi=la(93)?jp():void 0;return Dr(br(we(ar,Ur,fi),ne),Ae)}function _f(){const ne=ve(),Ae=Te();nn(92);const tt=jp();nn(117);const Mt=t.getTokenStart(),ar=nn(21),Ur=Nt(Df);return ku(21,22,ar,Mt),la(27),Dr(br(T.createDoStatement(tt,Ur),ne),Ae)}function $k(){const ne=ve(),Ae=Te();nn(117);const tt=t.getTokenStart(),Mt=nn(21),ar=Nt(Df);ku(21,22,Mt,tt);const Ur=jp();return Dr(br(Ie(ar,Ur),ne),Ae)}function I1(){const ne=ve(),Ae=Te();nn(99);const tt=Ns(135);nn(21);let Mt;ee()!==27&&(ee()===115||ee()===121||ee()===87?Mt=I2(!0):Mt=dt(Df));let ar;if(tt?nn(164):la(164)){const Ur=Nt(()=>q_(!0));nn(22),ar=ut(tt,Mt,Ur,jp())}else if(la(103)){const Ur=Nt(Df);nn(22),ar=T.createForInStatement(Mt,Ur,jp())}else{nn(27);const Ur=ee()!==27&&ee()!==22?Nt(Df):void 0;nn(27);const fi=ee()!==22?Nt(Df):void 0;nn(22),ar=ue(Mt,Ur,fi,jp())}return Dr(br(ar,ne),Ae)}function O1(ne){const Ae=ve(),tt=Te();nn(ne===251?83:88);const Mt=pc()?void 0:ie();Sc();const ar=ne===251?T.createBreakStatement(Mt):T.createContinueStatement(Mt);return Dr(br(ar,Ae),tt)}function PS(){const ne=ve(),Ae=Te();nn(107);const tt=pc()?void 0:Nt(Df);return Sc(),Dr(br(T.createReturnStatement(tt),ne),Ae)}function Td(){const ne=ve(),Ae=Te();nn(118);const tt=t.getTokenStart(),Mt=nn(21),ar=Nt(Df);ku(21,22,Mt,tt);const Ur=pt(33554432,jp);return Dr(br(T.createWithStatement(ar,Ur),ne),Ae)}function m0(){const ne=ve(),Ae=Te();nn(84);const tt=Nt(Df);nn(59);const Mt=_e(3,jp);return Dr(br(T.createCaseClause(tt,Mt),ne),Ae)}function D2(){const ne=ve();nn(90),nn(59);const Ae=_e(3,jp);return br(T.createDefaultClause(Ae),ne)}function rl(){return ee()===84?m0():D2()}function sb(){const ne=ve();nn(19);const Ae=_e(2,rl);return nn(20),br(T.createCaseBlock(Ae),ne)}function DS(){const ne=ve(),Ae=Te();nn(109),nn(21);const tt=Nt(Df);nn(22);const Mt=sb();return Dr(br(T.createSwitchStatement(tt,Mt),ne),Ae)}function eu(){const ne=ve(),Ae=Te();nn(111);let tt=t.hasPrecedingLineBreak()?void 0:Nt(Df);return tt===void 0&&(vr++,tt=br(U(""),ve())),hl()||Za(tt),Dr(br(T.createThrowStatement(tt),ne),Ae)}function EE(){const ne=ve(),Ae=Te();nn(113);const tt=xg(!1),Mt=ee()===85?cu():void 0;let ar;return(!Mt||ee()===98)&&(nn(98,v.catch_or_finally_expected),ar=xg(!1)),Dr(br(T.createTryStatement(tt,Mt,ar),ne),Ae)}function cu(){const ne=ve();nn(85);let Ae;la(21)?(Ae=cb(),nn(22)):Ae=void 0;const tt=xg(!1);return br(T.createCatchClause(Ae,tt),ne)}function h0(){const ne=ve(),Ae=Te();return nn(89),Sc(),Dr(br(T.createDebuggerStatement(),ne),Ae)}function N2(){const ne=ve();let Ae=Te(),tt;const Mt=ee()===21,ar=Nt(Df);return He(ar)&&la(59)?tt=T.createLabeledStatement(ar,jp()):(hl()||Za(ar),tt=xe(ar),Mt&&(Ae=!1)),Dr(br(tt,ne),Ae)}function Gm(){return ht(),i_(ee())&&!t.hasPrecedingLineBreak()}function dp(){return ht(),ee()===86&&!t.hasPrecedingLineBreak()}function NS(){return ht(),ee()===100&&!t.hasPrecedingLineBreak()}function ab(){return ht(),(i_(ee())||ee()===9||ee()===10||ee()===11)&&!t.hasPrecedingLineBreak()}function AE(){for(;;)switch(ee()){case 115:case 121:case 87:case 100:case 86:case 94:return!0;case 120:case 156:return TS();case 144:case 145:return qk();case 128:case 129:case 134:case 138:case 123:case 124:case 125:case 148:if(ht(),t.hasPrecedingLineBreak())return!1;continue;case 161:return ht(),ee()===19||ee()===80||ee()===95;case 102:return ht(),ee()===11||ee()===42||ee()===19||i_(ee());case 95:let ne=ht();if(ne===156&&(ne=Li(ht)),ne===64||ne===42||ne===19||ne===90||ne===130||ne===60)return!0;continue;case 126:ht();continue;default:return!1}}function my(){return Li(AE)}function g0(){switch(ee()){case 60:case 27:case 19:case 115:case 121:case 100:case 86:case 94:case 101:case 92:case 117:case 99:case 88:case 83:case 107:case 118:case 109:case 111:case 113:case 89:case 85:case 98:return!0;case 102:return my()||Li(g2);case 87:case 95:return my();case 134:case 138:case 120:case 144:case 145:case 156:case 161:return!0;case 129:case 125:case 123:case 124:case 126:case 148:return my()||!Li(Gm);default:return $_()}}function y0(){return ht(),Hc()||ee()===19||ee()===23}function PA(){return Li(y0)}function jp(){switch(ee()){case 27:return bd();case 19:return xg(!1);case 115:return Ud(ve(),Te(),void 0);case 121:if(PA())return Ud(ve(),Te(),void 0);break;case 100:return M1(ve(),Te(),void 0);case 86:return F1(ve(),Te(),void 0);case 101:return P2();case 92:return _f();case 117:return $k();case 99:return I1();case 88:return O1(250);case 83:return O1(251);case 107:return PS();case 118:return Td();case 109:return DS();case 111:return eu();case 113:case 85:case 98:return EE();case 89:return h0();case 60:return v0();case 134:case 120:case 156:case 144:case 145:case 138:case 87:case 94:case 95:case 102:case 123:case 124:case 125:case 128:case 129:case 126:case 148:case 161:if(my())return v0();break}return N2()}function PE(ne){return ne.kind===138}function v0(){const ne=ve(),Ae=Te(),tt=pf(!0);if(Ne(tt,PE)){const ar=Jp(ne);if(ar)return ar;for(const Ur of tt)Ur.flags|=16777216;return pt(16777216,()=>kg(ne,Ae,tt))}else return kg(ne,Ae,tt)}function Jp(ne){return pt(16777216,()=>{const Ae=Yt(Ar,ne);if(Ae)return Zt(Ae)})}function kg(ne,Ae,tt){switch(ee()){case 115:case 121:case 87:return Ud(ne,Ae,tt);case 100:return M1(ne,Ae,tt);case 86:return F1(ne,Ae,tt);case 120:return OA(ne,Ae,tt);case 156:return b0(ne,Ae,tt);case 94:return me(ne,Ae,tt);case 161:case 144:case 145:return is(ne,Ae,tt);case 102:return d_(ne,Ae,tt);case 95:switch(ht(),ee()){case 90:case 64:return rM(ne,Ae,tt);case 130:return G_(ne,Ae,tt);default:return Ll(ne,Ae,tt)}default:if(tt){const Mt=Bl(281,!0,v.Declaration_expected);return nD(Mt,ne),Mt.modifiers=tt,Mt}return}}function qk(){return ht(),!t.hasPrecedingLineBreak()&&(rc()||ee()===11)}function ob(ne,Ae){if(ee()!==19){if(ne&4){C1();return}if(pc()){Sc();return}}return p_(ne,Ae)}function Fo(){const ne=ve();if(ee()===28)return br(T.createOmittedExpression(),ne);const Ae=Ns(26),tt=L1(),Mt=_y();return br(T.createBindingElement(Ae,void 0,tt,Mt),ne)}function Yn(){const ne=ve(),Ae=Ns(26),tt=Hc();let Mt=Wn(),ar;tt&&ee()!==59?(ar=Mt,Mt=void 0):(nn(59),ar=L1());const Ur=_y();return br(T.createBindingElement(Ae,Mt,ar,Ur),ne)}function Up(){const ne=ve();nn(19);const Ae=zl(9,Yn);return nn(20),br(T.createObjectBindingPattern(Ae),ne)}function E_(){const ne=ve();nn(23);const Ae=zl(10,Fo);return nn(24),br(T.createArrayBindingPattern(Ae),ne)}function IS(){return ee()===19||ee()===23||ee()===81||Hc()}function L1(ne){return ee()===23?E_():ee()===19?Up():be(ne)}function DA(){return cb(!0)}function cb(ne){const Ae=ve(),tt=Te(),Mt=L1(v.Private_identifiers_are_not_allowed_in_variable_declarations);let ar;ne&&Mt.kind===80&&ee()===54&&!t.hasPrecedingLineBreak()&&(ar=Zl());const Ur=f0(),fi=kE(ee())?void 0:_y(),Hi=Ge(Mt,ar,Ur,fi);return Dr(br(Hi,Ae),tt)}function I2(ne){const Ae=ve();let tt=0;switch(ee()){case 115:break;case 121:tt|=1;break;case 87:tt|=2;break;default:R.fail()}ht();let Mt;if(ee()===164&&Li(Eh))Mt=f_();else{const ar=zt();Yr(ne),Mt=zl(8,ne?cb:DA),Yr(ar)}return br(qe(Mt,tt),Ae)}function Eh(){return Xc()&&ht()===22}function Ud(ne,Ae,tt){const Mt=I2(!1);Sc();const ar=le(tt,Mt);return Dr(br(ar,ne),Ae)}function M1(ne,Ae,tt){const Mt=Gn(),ar=ng(tt);nn(100);const Ur=Ns(42),fi=ar&1024?Qc():be(),Hi=Ur?1:0,ss=ar&512?2:0,Gi=As();ar&1&&qr(!0);const Qs=vd(Hi|ss),gc=V_(59,!1),Uo=ob(Hi|ss,v.or_expected);qr(Mt);const Xa=T.createFunctionDeclaration(tt,Ur,fi,Gi,Qs,gc,Uo);return Dr(br(Xa,ne),Ae)}function lb(){if(ee()===137)return nn(137);if(ee()===11&&Li(ht)===21)return Zs(()=>{const ne=zs();return ne.text==="constructor"?ne:void 0})}function Cg(ne,Ae,tt){return Zs(()=>{if(lb()){const Mt=As(),ar=vd(0),Ur=V_(59,!1),fi=ob(0,v.or_expected),Hi=T.createConstructorDeclaration(tt,ar,fi);return Hi.typeParameters=Mt,Hi.type=Ur,Dr(br(Hi,ne),Ae)}})}function hy(ne,Ae,tt,Mt,ar,Ur,fi,Hi){const ss=Mt?1:0,Gi=Ne(tt,mD)?2:0,Qs=As(),gc=vd(ss|Gi),Uo=V_(59,!1),Xa=ob(ss|Gi,Hi),df=T.createMethodDeclaration(tt,Mt,ar,Ur,Qs,gc,Uo,Xa);return df.exclamationToken=fi,Dr(br(df,ne),Ae)}function ub(ne,Ae,tt,Mt,ar){const Ur=!ar&&!t.hasPrecedingLineBreak()?Ns(54):void 0,fi=f0(),Hi=xi(45056,_y);Dl(Mt,fi,Hi);const ss=T.createPropertyDeclaration(tt,Mt,ar||Ur,fi,Hi);return Dr(br(ss,ne),Ae)}function Ol(ne,Ae,tt){const Mt=Ns(42),ar=Wn(),Ur=Ns(58);return Mt||ee()===21||ee()===30?hy(ne,Ae,tt,Mt,ar,Ur,void 0,v.or_expected):ub(ne,Ae,tt,ar,Ur)}function $u(ne,Ae,tt,Mt,ar){const Ur=Wn(),fi=As(),Hi=vd(0),ss=V_(59,!1),Gi=ob(ar),Qs=Mt===176?T.createGetAccessorDeclaration(tt,Ur,Hi,ss,Gi):T.createSetAccessorDeclaration(tt,Ur,Hi,Gi);return Qs.typeParameters=fi,md(Qs)&&(Qs.type=ss),Dr(br(Qs,ne),Ae)}function NA(){let ne;if(ee()===60)return!0;for(;r1(ee());){if(ne=ee(),WK(ne))return!0;ht()}if(ee()===42||(Et()&&(ne=ee(),ht()),ee()===23))return!0;if(ne!==void 0){if(!b_(ne)||ne===153||ne===139)return!0;switch(ee()){case 21:case 30:case 54:case 59:case 64:case 58:return!0;default:return pc()}}return!1}function Sd(ne,Ae,tt){Gc(126);const Mt=Ah(),ar=Dr(br(T.createClassStaticBlockDeclaration(Mt),ne),Ae);return ar.modifiers=tt,ar}function Ah(){const ne=Gt(),Ae=Gn();Er(!1),qr(!0);const tt=xg(!1);return Er(ne),qr(Ae),tt}function O2(){if(Gn()&&ee()===135){const ne=ve(),Ae=ie(v.Expression_expected);ht();const tt=ES(ne,Ae,!0);return k2(ne,tt)}return py()}function Wk(){const ne=ve();if(!la(60))return;const Ae=at(O2);return br(T.createDecorator(Ae),ne)}function L2(ne,Ae,tt){const Mt=ve(),ar=ee();if(ee()===87&&Ae){if(!Zs(Va))return}else{if(tt&&ee()===126&&Li(Da))return;if(ne&&ee()===126)return;if(!mu())return}return br(H(ar),Mt)}function pf(ne,Ae,tt){const Mt=ve();let ar,Ur,fi,Hi=!1,ss=!1,Gi=!1;if(ne&&ee()===60)for(;Ur=Wk();)ar=zr(ar,Ur);for(;fi=L2(Hi,Ae,tt);)fi.kind===126&&(Hi=!0),ar=zr(ar,fi),ss=!0;if(ss&&ne&&ee()===60)for(;Ur=Wk();)ar=zr(ar,Ur),Gi=!0;if(Gi)for(;fi=L2(Hi,Ae,tt);)fi.kind===126&&(Hi=!0),ar=zr(ar,fi);return ar&&Jc(ar,Mt)}function ul(){let ne;if(ee()===134){const Ae=ve();ht();const tt=br(H(134),Ae);ne=Jc([tt],Ae)}return ne}function IA(){const ne=ve(),Ae=Te();if(ee()===27)return ht(),Dr(br(T.createSemicolonClassElement(),ne),Ae);const tt=pf(!0,!0,!0);if(ee()===126&&Li(Da))return Sd(ne,Ae,tt);if(Us(139))return $u(ne,Ae,tt,176,0);if(Us(153))return $u(ne,Ae,tt,177,0);if(ee()===137||ee()===11){const Mt=Cg(ne,Ae,tt);if(Mt)return Mt}if(Ek())return Ak(ne,Ae,tt);if(i_(ee())||ee()===11||ee()===9||ee()===42||ee()===23)if(Ne(tt,PE)){for(const ar of tt)ar.flags|=16777216;return pt(16777216,()=>Ol(ne,Ae,tt))}else return Ol(ne,Ae,tt);if(tt){const Mt=Bl(80,!0,v.Declaration_expected);return ub(ne,Ae,tt,Mt,void 0)}return R.fail("Should not have attempted to parse class member declaration.")}function OS(){const ne=ve(),Ae=Te(),tt=pf(!0);if(ee()===86)return LS(ne,Ae,tt,230);const Mt=Bl(281,!0,v.Expression_expected);return nD(Mt,ne),Mt.modifiers=tt,Mt}function gy(){return LS(ve(),Te(),void 0,230)}function F1(ne,Ae,tt){return LS(ne,Ae,tt,262)}function LS(ne,Ae,tt,Mt){const ar=Gn();nn(86);const Ur=Hk(),fi=As();Ne(tt,pU)&&qr(!0);const Hi=M2();let ss;nn(19)?(ss=RS(),nn(20)):ss=f_(),qr(ar);const Gi=Mt===262?T.createClassDeclaration(tt,Ur,fi,Hi,ss):T.createClassExpression(tt,Ur,fi,Hi,ss);return Dr(br(Gi,ne),Ae)}function Hk(){return Hc()&&!MS()?Cu(Hc()):void 0}function MS(){return ee()===119&&Li(wu)}function M2(){if(R1())return _e(22,FS)}function FS(){const ne=ve(),Ae=ee();R.assert(Ae===96||Ae===119),ht();const tt=zl(7,pm);return br(T.createHeritageClause(Ae,tt),ne)}function pm(){const ne=ve(),Ae=py();if(Ae.kind===232)return Ae;const tt=Xm();return br(T.createExpressionWithTypeArguments(Ae,tt),ne)}function Xm(){return ee()===30?Pf(20,yl,30,32):void 0}function R1(){return ee()===96||ee()===119}function RS(){return _e(5,IA)}function OA(ne,Ae,tt){nn(120);const Mt=ie(),ar=As(),Ur=M2(),fi=mS(),Hi=T.createInterfaceDeclaration(tt,Mt,ar,Ur,fi);return Dr(br(Hi,ne),Ae)}function b0(ne,Ae,tt){nn(156);const Mt=ie(),ar=As();nn(64);const Ur=ee()===141&&Zs(c0)||yl();Sc();const fi=T.createTypeAliasDeclaration(tt,Mt,ar,Ur);return Dr(br(fi,ne),Ae)}function I(){const ne=ve(),Ae=Te(),tt=Wn(),Mt=Nt(_y);return Dr(br(T.createEnumMember(tt,Mt),ne),Ae)}function me(ne,Ae,tt){nn(94);const Mt=ie();let ar;nn(19)?(ar=_r(()=>zl(6,I)),nn(20)):ar=f_();const Ur=T.createEnumDeclaration(tt,Mt,ar);return Dr(br(Ur,ne),Ae)}function Xe(){const ne=ve();let Ae;return nn(19)?(Ae=_e(1,jp),nn(20)):Ae=f_(),br(T.createModuleBlock(Ae),ne)}function Tr(ne,Ae,tt,Mt){const ar=Mt&16,Ur=ie(),fi=la(25)?Tr(ve(),!1,void 0,4|ar):Xe(),Hi=T.createModuleDeclaration(tt,Ur,fi,Mt);return Dr(br(Hi,ne),Ae)}function jt(ne,Ae,tt){let Mt=0,ar;ee()===161?(ar=ie(),Mt|=1024):(ar=zs(),ar.text=ff(ar.text));let Ur;ee()===19?Ur=Xe():Sc();const fi=T.createModuleDeclaration(tt,ar,Ur,Mt);return Dr(br(fi,ne),Ae)}function is(ne,Ae,tt){let Mt=0;if(ee()===161)return jt(ne,Ae,tt);if(la(145))Mt|=16;else if(nn(144),ee()===11)return jt(ne,Ae,tt);return Tr(ne,Ae,tt,Mt)}function Di(){return ee()===149&&Li(Ts)}function Ts(){return ht()===21}function Da(){return ht()===19}function H_(){return ht()===44}function G_(ne,Ae,tt){nn(130),nn(145);const Mt=ie();Sc();const ar=T.createNamespaceExportDeclaration(Mt);return ar.modifiers=tt,Dr(br(ar,ne),Ae)}function d_(ne,Ae,tt){nn(102);const Mt=t.getTokenFullStart();let ar;rc()&&(ar=ie());let Ur=!1;if(ee()!==160&&(ar==null?void 0:ar.escapedText)==="type"&&(rc()||R2())&&(Ur=!0,ar=rc()?ie():void 0),ar&&!fb())return BS(ne,Ae,tt,ar,Ur);let fi;(ar||ee()===42||ee()===19)&&(fi=Gk(ar,Mt,Ur),nn(160));const Hi=yy();let ss;ee()===132&&!t.hasPrecedingLineBreak()&&(ss=m_()),Sc();const Gi=T.createImportDeclaration(tt,fi,Hi,ss);return Dr(br(Gi,ne),Ae)}function F2(){const ne=ve(),Ae=i_(ee())?Je():Kl(11);nn(59);const tt=q_(!0);return br(T.createAssertEntry(Ae,tt),ne)}function m_(ne){const Ae=ve();ne||nn(132);const tt=t.getTokenStart();if(nn(19)){const Mt=t.hasPrecedingLineBreak(),ar=zl(24,F2,!0);if(!nn(20)){const Ur=Bc(_t);Ur&&Ur.code===v._0_expected.code&&ho(Ur,T4(Ke,tt,1,v.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return br(T.createAssertClause(ar,Mt),Ae)}else{const Mt=Jc([],ve(),void 0,!1);return br(T.createAssertClause(Mt,!1),Ae)}}function R2(){return ee()===42||ee()===19}function fb(){return ee()===28||ee()===160}function BS(ne,Ae,tt,Mt,ar){nn(64);const Ur=T0();Sc();const fi=T.createImportEqualsDeclaration(tt,ar,Mt,Ur);return Dr(br(fi,ne),Ae)}function Gk(ne,Ae,tt){let Mt;return(!ne||la(28))&&(Mt=ee()===42?zp():S0(274)),br(T.createImportClause(tt,ne,Mt),Ae)}function T0(){return Di()?xd():zm(!1)}function xd(){const ne=ve();nn(149),nn(21);const Ae=yy();return nn(22),br(T.createExternalModuleReference(Ae),ne)}function yy(){if(ee()===11){const ne=zs();return ne.text=ff(ne.text),ne}else return Df()}function zp(){const ne=ve();nn(42),nn(130);const Ae=ie();return br(T.createNamespaceImport(Ae),ne)}function S0(ne){const Ae=ve(),tt=ne===274?T.createNamedImports(Pf(23,wg,19,20)):T.createNamedExports(Pf(23,_b,19,20));return br(tt,Ae)}function _b(){const ne=Te();return Dr(jS(280),ne)}function wg(){return jS(275)}function jS(ne){const Ae=ve();let tt=b_(ee())&&!rc(),Mt=t.getTokenStart(),ar=t.getTokenEnd(),Ur=!1,fi,Hi=!0,ss=Je();if(ss.escapedText==="type")if(ee()===130){const gc=Je();if(ee()===130){const Uo=Je();i_(ee())?(Ur=!0,fi=gc,ss=Qs(),Hi=!1):(fi=ss,ss=Uo,Hi=!1)}else i_(ee())?(fi=ss,Hi=!1,ss=Qs()):(Ur=!0,ss=gc)}else i_(ee())&&(Ur=!0,ss=Qs());Hi&&ee()===130&&(fi=ss,nn(130),ss=Qs()),ne===275&&tt&&Se(Mt,ar,v.Identifier_expected);const Gi=ne===275?T.createImportSpecifier(Ur,fi,ss):T.createExportSpecifier(Ur,fi,ss);return br(Gi,Ae);function Qs(){return tt=b_(ee())&&!rc(),Mt=t.getTokenStart(),ar=t.getTokenEnd(),Je()}}function tM(ne){return br(T.createNamespaceExport(Je()),ne)}function Ll(ne,Ae,tt){const Mt=Gn();qr(!0);let ar,Ur,fi;const Hi=la(156),ss=ve();la(42)?(la(130)&&(ar=tM(ss)),nn(160),Ur=yy()):(ar=S0(278),(ee()===160||ee()===11&&!t.hasPrecedingLineBreak())&&(nn(160),Ur=yy())),Ur&&ee()===132&&!t.hasPrecedingLineBreak()&&(fi=m_()),Sc(),qr(Mt);const Gi=T.createExportDeclaration(tt,Hi,ar,Ur,fi);return Dr(br(Gi,ne),Ae)}function rM(ne,Ae,tt){const Mt=Gn();qr(!0);let ar;la(64)?ar=!0:nn(90);const Ur=q_(!0);Sc(),qr(Mt);const fi=T.createExportAssignment(tt,ar,Ur);return Dr(br(fi,ne),Ae)}let qo;(ne=>{ne[ne.SourceElements=0]="SourceElements",ne[ne.BlockStatements=1]="BlockStatements",ne[ne.SwitchClauses=2]="SwitchClauses",ne[ne.SwitchClauseStatements=3]="SwitchClauseStatements",ne[ne.TypeMembers=4]="TypeMembers",ne[ne.ClassMembers=5]="ClassMembers",ne[ne.EnumMembers=6]="EnumMembers",ne[ne.HeritageClauseElement=7]="HeritageClauseElement",ne[ne.VariableDeclarations=8]="VariableDeclarations",ne[ne.ObjectBindingElements=9]="ObjectBindingElements",ne[ne.ArrayBindingElements=10]="ArrayBindingElements",ne[ne.ArgumentExpressions=11]="ArgumentExpressions",ne[ne.ObjectLiteralMembers=12]="ObjectLiteralMembers",ne[ne.JsxAttributes=13]="JsxAttributes",ne[ne.JsxChildren=14]="JsxChildren",ne[ne.ArrayLiteralMembers=15]="ArrayLiteralMembers",ne[ne.Parameters=16]="Parameters",ne[ne.JSDocParameters=17]="JSDocParameters",ne[ne.RestProperties=18]="RestProperties",ne[ne.TypeParameters=19]="TypeParameters",ne[ne.TypeArguments=20]="TypeArguments",ne[ne.TupleElementTypes=21]="TupleElementTypes",ne[ne.HeritageClauses=22]="HeritageClauses",ne[ne.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",ne[ne.AssertEntries=24]="AssertEntries",ne[ne.JSDocComment=25]="JSDocComment",ne[ne.Count=26]="Count"})(qo||(qo={}));let Ro;(ne=>{ne[ne.False=0]="False",ne[ne.True=1]="True",ne[ne.Unknown=2]="Unknown"})(Ro||(Ro={}));let DE;(ne=>{function Ae(Gi,Qs,gc){ws("file.js",Gi,99,void 0,1),t.setText(Gi,Qs,gc),Xt=t.scan();const Uo=tt(),Xa=ks("file.js",99,1,!1,[],H(1),0,fc),df=yw(_t,Xa);return Lt&&(Xa.jsDocDiagnostics=yw(Lt,Xa)),ui(),Uo?{jsDocTypeExpression:Uo,diagnostics:df}:void 0}ne.parseJSDocTypeExpressionForTests=Ae;function tt(Gi){const Qs=ve(),gc=(Gi?la:nn)(19),Uo=pt(8388608,Hr);(!Gi||gc)&&Nl(20);const Xa=T.createJSDocTypeExpression(Uo);return Nn(Xa),br(Xa,Qs)}ne.parseJSDocTypeExpression=tt;function Mt(){const Gi=ve(),Qs=la(19),gc=ve();let Uo=zm(!1);for(;ee()===81;)qs(),Vt(),Uo=br(T.createJSDocMemberName(Uo,ie()),gc);Qs&&Nl(20);const Xa=T.createJSDocNameReference(Uo);return Nn(Xa),br(Xa,Gi)}ne.parseJSDocNameReference=Mt;function ar(Gi,Qs,gc){ws("",Gi,99,void 0,1);const Uo=pt(8388608,()=>ss(Qs,gc)),df=yw(_t,{languageVariant:0,text:Gi});return ui(),Uo?{jsDoc:Uo,diagnostics:df}:void 0}ne.parseIsolatedJSDocComment=ar;function Ur(Gi,Qs,gc){const Uo=Xt,Xa=_t.length,df=Br,zd=pt(8388608,()=>ss(Qs,gc));return ko(zd,Gi),tn&262144&&(Lt||(Lt=[]),Lt.push(..._t)),Xt=Uo,_t.length=Xa,Br=df,zd}ne.parseJSDocComment=Ur;let fi;(Gi=>{Gi[Gi.BeginningOfLine=0]="BeginningOfLine",Gi[Gi.SawAsterisk=1]="SawAsterisk",Gi[Gi.SavingComments=2]="SavingComments",Gi[Gi.SavingBackticks=3]="SavingBackticks"})(fi||(fi={}));let Hi;(Gi=>{Gi[Gi.Property=1]="Property",Gi[Gi.Parameter=2]="Parameter",Gi[Gi.CallbackParameter=4]="CallbackParameter"})(Hi||(Hi={}));function ss(Gi=0,Qs){const gc=Ar;Ar|=1<<25;const Uo=ze,Xa=Qs===void 0?Uo.length:Gi+Qs;if(Qs=Xa-Gi,R.assert(Gi>=0),R.assert(Gi<=Xa),R.assert(Xa<=Uo.length),!_ne(Uo,Gi))return;let df,zd,pb,vy,db,mb=[];const hb=[],Xk=t.scanRange(Gi+3,Qs-5,Qk);return Ar=gc,Xk;function Qk(){let Gr=1,_i,Kn=Gi-(Uo.lastIndexOf(`
`,Gi)+1)+4;function Ki(oc){_i||(_i=Kn),mb.push(oc),Kn+=oc.length}for(Vt();j2(5););j2(4)&&(Gr=0,Kn=0);e:for(;;){switch(ee()){case 60:H8(mb),db||(db=ve()),Q8(X8(Kn)),Gr=0,_i=void 0;break;case 4:mb.push(t.getTokenText()),Gr=0,Kn=0;break;case 42:const oc=t.getTokenText();Gr===1?(Gr=2,Ki(oc)):(R.assert(Gr===0),Gr=1,Kn+=oc.length);break;case 5:R.assert(Gr!==2,"whitespace shouldn't come from the scanner while saving top-level comment text");const Nf=t.getTokenText();_i!==void 0&&Kn+Nf.length>_i&&mb.push(Nf.slice(_i-Kn)),Kn+=Nf.length;break;case 1:break e;case 82:Gr=2,Ki(t.getTokenValue());break;case 19:Gr=2;const by=t.getTokenFullStart(),Vd=t.getTokenEnd()-1,dm=j1(Vd);if(dm){vy||NE(mb),hb.push(br(T.createJSDocText(mb.join("")),vy??Gi,by)),hb.push(dm),mb=[],vy=t.getTokenEnd();break}default:Gr=2,Ki(t.getTokenText());break}Gr===2?Nr(!1):Vt()}const as=$C(mb.join(""));hb.length&&as.length&&hb.push(br(T.createJSDocText(as),vy??Gi,db)),hb.length&&df&&R.assertIsDefined(db,"having parsed tags implies that the end of the comment span should be set");const ma=df&&Jc(df,zd,pb);return br(T.createJSDocComment(hb.length?Jc(hb,Gi,db):as.length?as:void 0,ma),Gi,Xa)}function NE(Gr){for(;Gr.length&&(Gr[0]===`
`||Gr[0]==="\r");)Gr.shift()}function H8(Gr){for(;Gr.length;){const _i=$C(Gr[Gr.length-1]);if(_i==="")Gr.pop();else if(_i.length<Gr[Gr.length-1].length){Gr[Gr.length-1]=_i;break}else break}}function G8(){for(;;){if(Vt(),ee()===1)return!0;if(!(ee()===5||ee()===4))return!1}}function kd(){if(!((ee()===5||ee()===4)&&Li(G8)))for(;ee()===5||ee()===4;)Vt()}function B1(){if((ee()===5||ee()===4)&&Li(G8))return"";let Gr=t.hasPrecedingLineBreak(),_i=!1,Kn="";for(;Gr&&ee()===42||ee()===5||ee()===4;)Kn+=t.getTokenText(),ee()===4?(Gr=!0,_i=!0,Kn=""):ee()===42&&(Gr=!1),Vt();return _i?Kn:""}function X8(Gr){R.assert(ee()===60);const _i=t.getTokenStart();Vt();const Kn=V1(void 0),Ki=B1();let as;switch(Kn.escapedText){case"author":as=Kp(_i,Kn,Gr,Ki);break;case"implements":as=k0(_i,Kn,Gr,Ki);break;case"augments":case"extends":as=gb(_i,Kn,Gr,Ki);break;case"class":case"constructor":as=Yk(_i,T.createJSDocClassTag,Kn,Gr,Ki);break;case"public":as=Yk(_i,T.createJSDocPublicTag,Kn,Gr,Ki);break;case"private":as=Yk(_i,T.createJSDocPrivateTag,Kn,Gr,Ki);break;case"protected":as=Yk(_i,T.createJSDocProtectedTag,Kn,Gr,Ki);break;case"readonly":as=Yk(_i,T.createJSDocReadonlyTag,Kn,Gr,Ki);break;case"override":as=Yk(_i,T.createJSDocOverrideTag,Kn,Gr,Ki);break;case"deprecated":Kt=!0,as=Yk(_i,T.createJSDocDeprecatedTag,Kn,Gr,Ki);break;case"this":as=epe(_i,Kn,Gr,Ki);break;case"enum":as=LA(_i,Kn,Gr,Ki);break;case"arg":case"argument":case"param":return ge(_i,Kn,2,Gr);case"return":case"returns":as=or(_i,Kn,Gr,Ki);break;case"template":as=rH(_i,Kn,Gr,Ki);break;case"type":as=wn(_i,Kn,Gr,Ki);break;case"typedef":as=eH(_i,Kn,Gr,Ki);break;case"callback":as=yb(_i,Kn,Gr,Ki);break;case"overload":as=vb(_i,Kn,Gr,Ki);break;case"satisfies":as=Z_e(_i,Kn,Gr,Ki);break;case"see":as=Rs(_i,Kn,Gr,Ki);break;case"exception":case"throws":as=dc(_i,Kn,Gr,Ki);break;default:as=U1(_i,Kn,Gr,Ki);break}return as}function da(Gr,_i,Kn,Ki){return Ki||(Kn+=_i-Gr),Ml(Kn,Ki.slice(Kn))}function Ml(Gr,_i){const Kn=ve();let Ki=[];const as=[];let ma,oc=0,Nf;function by(C0){Nf||(Nf=Gr),Ki.push(C0),Gr+=C0.length}_i!==void 0&&(_i!==""&&by(_i),oc=1);let Vd=ee();e:for(;;){switch(Vd){case 4:oc=0,Ki.push(t.getTokenText()),Gr=0;break;case 60:t.resetTokenState(t.getTokenEnd()-1);break e;case 1:break e;case 5:R.assert(oc!==2&&oc!==3,"whitespace shouldn't come from the scanner while saving comment text");const C0=t.getTokenText();Nf!==void 0&&Gr+C0.length>Nf&&(Ki.push(C0.slice(Nf-Gr)),oc=2),Gr+=C0.length;break;case 19:oc=2;const h_=t.getTokenFullStart(),Zk=t.getTokenEnd()-1,Kk=j1(Zk);Kk?(as.push(br(T.createJSDocText(Ki.join("")),ma??Kn,h_)),as.push(Kk),Ki=[],ma=t.getTokenEnd()):by(t.getTokenText());break;case 62:oc===3?oc=2:oc=3,by(t.getTokenText());break;case 82:oc!==3&&(oc=2),by(t.getTokenValue());break;case 42:if(oc===0){oc=1,Gr+=1;break}default:oc!==3&&(oc=2),by(t.getTokenText());break}oc===2||oc===3?Vd=Nr(oc===3):Vd=Vt()}NE(Ki);const dm=$C(Ki.join(""));if(as.length)return dm.length&&as.push(br(T.createJSDocText(dm),ma??Kn)),Jc(as,Kn,t.getTokenEnd());if(dm.length)return dm}function j1(Gr){const _i=Zs(J1);if(!_i)return;Vt(),kd();const Kn=ve();let Ki=i_(ee())?zm(!0):void 0;if(Ki)for(;ee()===81;)qs(),Vt(),Ki=br(T.createJSDocMemberName(Ki,ie()),Kn);const as=[];for(;ee()!==20&&ee()!==4&&ee()!==1;)as.push(t.getTokenText()),Vt();const ma=_i==="link"?T.createJSDocLink:_i==="linkcode"?T.createJSDocLinkCode:T.createJSDocLinkPlain;return br(ma(Ki,as.join("")),Gr,t.getTokenEnd())}function J1(){if(B1(),ee()===19&&Vt()===60&&i_(Vt())){const Gr=t.getTokenValue();if(B2(Gr))return Gr}}function B2(Gr){return Gr==="link"||Gr==="linkcode"||Gr==="linkplain"}function U1(Gr,_i,Kn,Ki){return br(T.createJSDocUnknownTag(_i,da(Gr,ve(),Kn,Ki)),Gr)}function Q8(Gr){Gr&&(df?df.push(Gr):(df=[Gr],zd=Gr.pos),pb=Gr.end)}function w(){return B1(),ee()===19?tt():void 0}function F(){const Gr=j2(23);Gr&&kd();const _i=j2(62),Kn=sM();return _i&&Af(62),Gr&&(kd(),Ns(64)&&Df(),nn(24)),{name:Kn,isBracketed:Gr}}function q(Gr){switch(Gr.kind){case 151:return!0;case 187:return q(Gr.elementType);default:return Im(Gr)&&He(Gr.typeName)&&Gr.typeName.escapedText==="Object"&&!Gr.typeArguments}}function ge(Gr,_i,Kn,Ki){let as=w(),ma=!as;B1();const{name:oc,isBracketed:Nf}=F(),by=B1();ma&&!Li(J1)&&(as=w());const Vd=da(Gr,ve(),Ki,by),dm=Kn!==4&&Ze(as,oc,Kn,Ki);dm&&(as=dm,ma=!0);const C0=Kn===1?T.createJSDocPropertyTag(_i,oc,Nf,as,ma,Vd):T.createJSDocParameterTag(_i,oc,Nf,as,ma,Vd);return br(C0,Gr)}function Ze(Gr,_i,Kn,Ki){if(Gr&&q(Gr.type)){const as=ve();let ma,oc;for(;ma=Zs(()=>MA(Kn,Ki,_i));)ma.kind===347||ma.kind===354?oc=zr(oc,ma):ma.kind===351&&pe(ma.tagName,v.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);if(oc){const Nf=br(T.createJSDocTypeLiteral(oc,Gr.type.kind===187),as);return br(T.createJSDocTypeExpression(Nf),as)}}}function or(Gr,_i,Kn,Ki){Ne(df,xU)&&Se(_i.pos,t.getTokenStart(),v._0_tag_already_specified,xs(_i.escapedText));const as=w();return br(T.createJSDocReturnTag(_i,as,da(Gr,ve(),Kn,Ki)),Gr)}function wn(Gr,_i,Kn,Ki){Ne(df,DD)&&Se(_i.pos,t.getTokenStart(),v._0_tag_already_specified,xs(_i.escapedText));const as=tt(!0),ma=Kn!==void 0&&Ki!==void 0?da(Gr,ve(),Kn,Ki):void 0;return br(T.createJSDocTypeTag(_i,as,ma),Gr)}function Rs(Gr,_i,Kn,Ki){const ma=ee()===23||Li(()=>Vt()===60&&i_(Vt())&&B2(t.getTokenValue()))?void 0:Mt(),oc=Kn!==void 0&&Ki!==void 0?da(Gr,ve(),Kn,Ki):void 0;return br(T.createJSDocSeeTag(_i,ma,oc),Gr)}function dc(Gr,_i,Kn,Ki){const as=w(),ma=da(Gr,ve(),Kn,Ki);return br(T.createJSDocThrowsTag(_i,as,ma),Gr)}function Kp(Gr,_i,Kn,Ki){const as=ve(),ma=x0();let oc=t.getTokenFullStart();const Nf=da(Gr,oc,Kn,Ki);Nf||(oc=t.getTokenFullStart());const by=typeof Nf!="string"?Jc(wr([br(ma,as,oc)],Nf),as):ma.text+Nf;return br(T.createJSDocAuthorTag(_i,by),Gr)}function x0(){const Gr=[];let _i=!1,Kn=t.getToken();for(;Kn!==1&&Kn!==4;){if(Kn===30)_i=!0;else{if(Kn===60&&!_i)break;if(Kn===32&&_i){Gr.push(t.getTokenText()),t.resetTokenState(t.getTokenEnd());break}}Gr.push(t.getTokenText()),Kn=Vt()}return T.createJSDocText(Gr.join(""))}function k0(Gr,_i,Kn,Ki){const as=nM();return br(T.createJSDocImplementsTag(_i,as,da(Gr,ve(),Kn,Ki)),Gr)}function gb(Gr,_i,Kn,Ki){const as=nM();return br(T.createJSDocAugmentsTag(_i,as,da(Gr,ve(),Kn,Ki)),Gr)}function Z_e(Gr,_i,Kn,Ki){const as=tt(!1),ma=Kn!==void 0&&Ki!==void 0?da(Gr,ve(),Kn,Ki):void 0;return br(T.createJSDocSatisfiesTag(_i,as,ma),Gr)}function nM(){const Gr=la(19),_i=ve(),Kn=K_e();t.setInJSDocType(!0);const Ki=Xm();t.setInJSDocType(!1);const as=T.createExpressionWithTypeArguments(Kn,Ki),ma=br(as,_i);return Gr&&nn(20),ma}function K_e(){const Gr=ve();let _i=V1();for(;la(25);){const Kn=V1();_i=br(fe(_i,Kn),Gr)}return _i}function Yk(Gr,_i,Kn,Ki,as){return br(_i(Kn,da(Gr,ve(),Ki,as)),Gr)}function epe(Gr,_i,Kn,Ki){const as=tt(!0);return kd(),br(T.createJSDocThisTag(_i,as,da(Gr,ve(),Kn,Ki)),Gr)}function LA(Gr,_i,Kn,Ki){const as=tt(!0);return kd(),br(T.createJSDocEnumTag(_i,as,da(Gr,ve(),Kn,Ki)),Gr)}function eH(Gr,_i,Kn,Ki){let as=w();B1();const ma=iM();kd();let oc=Ml(Kn),Nf;if(!as||q(as.type)){let Vd,dm,C0,h_=!1;for(;(Vd=Zs(()=>OE(Kn)))&&Vd.kind!==351;)if(h_=!0,Vd.kind===350)if(dm){const Zk=Rn(v.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);Zk&&ho(Zk,T4(Ke,0,0,v.The_tag_was_first_specified_here));break}else dm=Vd;else C0=zr(C0,Vd);if(h_){const Zk=as&&as.type.kind===187,Kk=T.createJSDocTypeLiteral(C0,Zk);as=dm&&dm.typeExpression&&!q(dm.typeExpression.type)?dm.typeExpression:br(Kk,Gr),Nf=as.end}}Nf=Nf||oc!==void 0?ve():(ma??as??_i).end,oc||(oc=da(Gr,Nf,Kn,Ki));const by=T.createJSDocTypedefTag(_i,as,ma,oc);return br(by,Gr,Nf)}function iM(Gr){const _i=t.getTokenStart();if(!i_(ee()))return;const Kn=V1();if(la(25)){const Ki=iM(!0),as=T.createModuleDeclaration(void 0,Kn,Ki,Gr?4:void 0);return br(as,_i)}return Gr&&(Kn.flags|=2048),Kn}function Y8(Gr){const _i=ve();let Kn,Ki;for(;Kn=Zs(()=>MA(4,Gr));){if(Kn.kind===351){pe(Kn.tagName,v.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);break}Ki=zr(Ki,Kn)}return Jc(Ki||[],_i)}function bn(Gr,_i){const Kn=Y8(_i),Ki=Zs(()=>{if(j2(60)){const as=X8(_i);if(as&&as.kind===348)return as}});return br(T.createJSDocSignature(void 0,Kn,Ki),Gr)}function yb(Gr,_i,Kn,Ki){const as=iM();kd();let ma=Ml(Kn);const oc=bn(Gr,Kn);ma||(ma=da(Gr,ve(),Kn,Ki));const Nf=ma!==void 0?ve():oc.end;return br(T.createJSDocCallbackTag(_i,oc,as,ma),Gr,Nf)}function vb(Gr,_i,Kn,Ki){kd();let as=Ml(Kn);const ma=bn(Gr,Kn);as||(as=da(Gr,ve(),Kn,Ki));const oc=as!==void 0?ve():ma.end;return br(T.createJSDocOverloadTag(_i,ma,as),Gr,oc)}function IE(Gr,_i){for(;!He(Gr)||!He(_i);)if(!He(Gr)&&!He(_i)&&Gr.right.escapedText===_i.right.escapedText)Gr=Gr.left,_i=_i.left;else return!1;return Gr.escapedText===_i.escapedText}function OE(Gr){return MA(1,Gr)}function MA(Gr,_i,Kn){let Ki=!0,as=!1;for(;;)switch(Vt()){case 60:if(Ki){const ma=FA(Gr,_i);return ma&&(ma.kind===347||ma.kind===354)&&Gr!==4&&Kn&&(He(ma.name)||!IE(Kn,ma.name.left))?!1:ma}as=!1;break;case 4:Ki=!0,as=!1;break;case 42:as&&(Ki=!1),as=!0;break;case 80:Ki=!1;break;case 1:return!1}}function FA(Gr,_i){R.assert(ee()===60);const Kn=t.getTokenFullStart();Vt();const Ki=V1(),as=B1();let ma;switch(Ki.escapedText){case"type":return Gr===1&&wn(Kn,Ki);case"prop":case"property":ma=1;break;case"arg":case"argument":case"param":ma=6;break;case"template":return rH(Kn,Ki,_i,as);default:return!1}return Gr&ma?ge(Kn,Ki,Gr,_i):!1}function tH(){const Gr=ve(),_i=j2(23);_i&&kd();const Kn=V1(v.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);let Ki;if(_i&&(kd(),nn(64),Ki=pt(8388608,Hr),nn(24)),!pl(Kn))return br(T.createTypeParameterDeclaration(void 0,Kn,void 0,Ki),Gr)}function z1(){const Gr=ve(),_i=[];do{kd();const Kn=tH();Kn!==void 0&&_i.push(Kn),B1()}while(j2(28));return Jc(_i,Gr)}function rH(Gr,_i,Kn,Ki){const as=ee()===19?tt():void 0,ma=z1();return br(T.createJSDocTemplateTag(_i,as,ma,da(Gr,ve(),Kn,Ki)),Gr)}function j2(Gr){return ee()===Gr?(Vt(),!0):!1}function sM(){let Gr=V1();for(la(23)&&nn(24);la(25);){const _i=V1();la(23)&&nn(24),Gr=cy(Gr,_i)}return Gr}function V1(Gr){if(!i_(ee()))return Bl(80,!Gr,Gr||v.Identifier_expected);vr++;const _i=t.getTokenStart(),Kn=t.getTokenEnd(),Ki=ee(),as=ff(t.getTokenValue()),ma=br(U(as,Ki),_i,Kn);return Vt(),ma}}})(DE=e.JSDocParser||(e.JSDocParser={}))})(Rv||(Rv={})),(e=>{function t(O,M,U,B){if(B=B||R.shouldAssert(2),T(O,M,U,B),qbe(U))return O;if(O.statements.length===0)return Rv.parseSourceFile(O.fileName,M,O.languageVersion,void 0,!0,O.scriptKind,O.setExternalModuleIndicator);const H=O;R.assert(!H.hasBeenIncrementallyParsed),H.hasBeenIncrementallyParsed=!0,Rv.fixupParentReferences(H);const Y=O.text,Z=C(O),fe=h(O,U);T(O,M,fe,B),R.assert(fe.span.start<=U.span.start),R.assert(af(fe.span)===af(U.span)),R.assert(af(uP(fe))===af(uP(U)));const Q=uP(fe).length-fe.span.length;g(H,fe.span.start,af(fe.span),af(uP(fe)),Q,Y,M,B);const he=Rv.parseSourceFile(O.fileName,M,O.languageVersion,Z,!0,O.scriptKind,O.setExternalModuleIndicator);return he.commentDirectives=n(O.commentDirectives,he.commentDirectives,fe.span.start,af(fe.span),Q,Y,M,B),he.impliedNodeFormat=O.impliedNodeFormat,he}e.updateSourceFile=t;function n(O,M,U,B,H,Y,Z,fe){if(!O)return M;let Q,he=!1;for(const ye of O){const{range:de,type:Ce}=ye;if(de.end<U)Q=zr(Q,ye);else if(de.pos>B){W();const K={range:{pos:de.pos+H,end:de.end+H},type:Ce};Q=zr(Q,K),fe&&R.assert(Y.substring(de.pos,de.end)===Z.substring(K.range.pos,K.range.end))}}return W(),Q;function W(){he||(he=!0,Q?M&&Q.push(...M):Q=M)}}function s(O,M,U,B,H,Y){M?fe(O):Z(O);return;function Z(Q){let he="";if(Y&&l(Q)&&(he=B.substring(Q.pos,Q.end)),Q._children&&(Q._children=void 0),ag(Q,Q.pos+U,Q.end+U),Y&&l(Q)&&R.assert(he===H.substring(Q.pos,Q.end)),_a(Q,Z,fe),Ap(Q))for(const W of Q.jsDoc)Z(W);d(Q,Y)}function fe(Q){Q._children=void 0,ag(Q,Q.pos+U,Q.end+U);for(const he of Q)Z(he)}}function l(O){switch(O.kind){case 11:case 9:case 80:return!0}return!1}function f(O,M,U,B,H){R.assert(O.end>=M,"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 Y=Math.min(O.pos,B),Z=O.end>=U?O.end+H:Math.min(O.end,B);R.assert(Y<=Z),O.parent&&(R.assertGreaterThanOrEqual(Y,O.parent.pos),R.assertLessThanOrEqual(Z,O.parent.end)),ag(O,Y,Z)}function d(O,M){if(M){let U=O.pos;const B=H=>{R.assert(H.pos>=U),U=H.end};if(Ap(O))for(const H of O.jsDoc)B(H);_a(O,B),R.assert(U<=O.end)}}function g(O,M,U,B,H,Y,Z,fe){Q(O);return;function Q(W){if(R.assert(W.pos<=W.end),W.pos>U){s(W,!1,H,Y,Z,fe);return}const ye=W.end;if(ye>=M){if(W.intersectsChange=!0,W._children=void 0,f(W,M,U,B,H),_a(W,Q,he),Ap(W))for(const de of W.jsDoc)Q(de);d(W,fe);return}R.assert(ye<M)}function he(W){if(R.assert(W.pos<=W.end),W.pos>U){s(W,!0,H,Y,Z,fe);return}const ye=W.end;if(ye>=M){W.intersectsChange=!0,W._children=void 0,f(W,M,U,B,H);for(const de of W)Q(de);return}R.assert(ye<M)}}function h(O,M){let B=M.span.start;for(let Z=0;B>0&&Z<=1;Z++){const fe=k(O,B);R.assert(fe.pos<=B);const Q=fe.pos;B=Math.max(0,Q-1)}const H=nu(B,af(M.span)),Y=M.newLength+(M.span.start-B);return MI(H,Y)}function k(O,M){let U=O,B;if(_a(O,Y),B){const Z=H(B);Z.pos>U.pos&&(U=Z)}return U;function H(Z){for(;;){const fe=kte(Z);if(fe)Z=fe;else return Z}}function Y(Z){if(!pl(Z))if(Z.pos<=M){if(Z.pos>=U.pos&&(U=Z),M<Z.end)return _a(Z,Y),!0;R.assert(Z.end<=M),B=Z}else return R.assert(Z.pos>M),!0}}function T(O,M,U,B){const H=O.text;if(U&&(R.assert(H.length-U.span.length+U.newLength===M.length),B||R.shouldAssert(3))){const Y=H.substr(0,U.span.start),Z=M.substr(0,U.span.start);R.assert(Y===Z);const fe=H.substring(af(U.span),H.length),Q=M.substring(af(uP(U)),M.length);R.assert(fe===Q)}}function C(O){let M=O.statements,U=0;R.assert(U<M.length);let B=M[U],H=-1;return{currentNode(Z){return Z!==H&&(B&&B.end===Z&&U<M.length-1&&(U++,B=M[U]),(!B||B.pos!==Z)&&Y(Z)),H=Z,R.assert(!B||B.pos===Z),B}};function Y(Z){M=void 0,U=-1,B=void 0,_a(O,fe,Q);return;function fe(he){return Z>=he.pos&&Z<he.end?(_a(he,fe,Q),!0):!1}function Q(he){if(Z>=he.pos&&Z<he.end)for(let W=0;W<he.length;W++){const ye=he[W];if(ye){if(ye.pos===Z)return M=he,U=W,B=ye,!0;if(ye.pos<Z&&Z<ye.end)return _a(ye,fe,Q),!0}}return!1}}}e.createSyntaxCursor=C;let D;(O=>{O[O.Value=-1]="Value"})(D||(D={}))})(MU||(MU={})),FU=new Map,nCe=/^\/\/\/\s*<(\S+)\s.*?\/>/im,iCe=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im}});function RU(e){const t=new Map,n=new Map;return te(e,s=>{t.set(s.name.toLowerCase(),s),s.shortName&&n.set(s.shortName,s.name)}),{optionsNameMap:t,shortOptionNames:n}}function Q4(){return BCe||(BCe=RU(r0))}function sCe(e){return aCe(e,Cl)}function aCe(e,t){const n=oo(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 BU(e,t,n){return ICe(e,vT(t||""),n)}function oCe(e,t="",n){if(t=vT(t),Xs(t,"-"))return;if(e.type==="listOrElement"&&!rf(t,","))return tk(e,t,n);if(t==="")return[];const s=t.split(",");switch(e.element.type){case"number":return lr(s,l=>tk(e.element,parseInt(l),n));case"string":return lr(s,l=>tk(e.element,l||"",n));case"boolean":case"object":return R.fail(`List of ${e.element.type} is not yet supported.`);default:return lr(s,l=>BU(e.element,l,n))}}function cCe(e){return e.name}function yne(e,t,n,s,l){var f;if((f=t.alternateMode)!=null&&f.getOptionsNameMap().optionsNameMap.has(e.toLowerCase()))return Bv(l,s,t.alternateMode.diagnostic,e);const d=Z3(e,t.optionDeclarations,cCe);return d?Bv(l,s,t.unknownDidYouMeanDiagnostic,n||e,d.name):Bv(l,s,t.unknownOptionDiagnostic,n||e)}function vne(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 T=0;for(;T<k.length;){const C=k[T];if(T++,C.charCodeAt(0)===64)h(C.slice(1));else if(C.charCodeAt(0)===45){const D=C.slice(C.charCodeAt(1)===45?2:1),O=Tne(e.getOptionsNameMap,D,!0);if(O)T=lCe(k,T,e,O,s,d);else{const M=Tne(ZO.getOptionsNameMap,D,!0);M?T=lCe(k,T,ZO,M,l||(l={}),d):d.push(yne(D,e,C))}}else f.push(C)}}function h(k){const T=UO(k,n||(O=>Gu.readFile(O)));if(!Wa(T)){d.push(T);return}const C=[];let D=0;for(;;){for(;D<T.length&&T.charCodeAt(D)<=32;)D++;if(D>=T.length)break;const O=D;if(T.charCodeAt(O)===34){for(D++;D<T.length&&T.charCodeAt(D)!==34;)D++;D<T.length?(C.push(T.substring(O+1,D)),D++):d.push(Cl(v.Unterminated_quoted_string_in_response_file_0,k))}else{for(;T.charCodeAt(D)>32;)D++;C.push(T.substring(O,D))}}g(C)}}function lCe(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]=tk(s,!1,f),t++):(d==="true"&&t++,f.push(Cl(v.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,s.name))):(f.push(Cl(v.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,s.name)),d&&!Xs(d,"-")&&t++)}else if(!e[t]&&s.type!=="boolean"&&f.push(Cl(n.optionTypeMismatchDiagnostic,s.name,JU(s))),e[t]!=="null")switch(s.type){case"number":l[s.name]=tk(s,parseInt(e[t]),f),t++;break;case"boolean":const d=e[t];l[s.name]=tk(s,d!=="false",f),(d==="false"||d==="true")&&t++;break;case"string":l[s.name]=tk(s,e[t]||"",f),t++;break;case"list":const g=oCe(s,e[t],f);l[s.name]=g||[],g&&t++;break;case"listOrElement":R.fail("listOrElement not supported here");break;default:l[s.name]=BU(s,e[t],f),t++;break}else l[s.name]=void 0,t++;return t}function aKe(e,t){return vne(YO,e,t)}function bne(e,t){return Tne(Q4,e,t)}function Tne(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 uCe(){return JCe||(JCe=RU(HU))}function oKe(e){const{options:t,watchOptions:n,fileNames:s,errors:l}=vne(zCe,e),f=t;return s.length===0&&s.push("."),f.clean&&f.force&&l.push(Cl(v.Options_0_and_1_cannot_be_combined,"clean","force")),f.clean&&f.verbose&&l.push(Cl(v.Options_0_and_1_cannot_be_combined,"clean","verbose")),f.clean&&f.watch&&l.push(Cl(v.Options_0_and_1_cannot_be_combined,"clean","watch")),f.watch&&f.dry&&l.push(Cl(v.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:f,watchOptions:n,projects:s,errors:l}}function cKe(e,...t){return Cl.apply(void 0,arguments).messageText}function jO(e,t,n,s,l,f){const d=UO(e,k=>n.readFile(k));if(!Wa(d)){n.onUnRecoverableConfigFileDiagnostic(d);return}const g=BO(e,d),h=n.getCurrentDirectory();return g.path=bc(e,h,nf(n.useCaseSensitiveFileNames)),g.resolvedPath=g.path,g.originalFileName=g.fileName,VO(g,n,ua(cs(e),h),t,ua(e,h),void 0,f,s,l)}function JO(e,t){const n=UO(e,t);return Wa(n)?Sne(e,n):{config:{},error:n}}function Sne(e,t){const n=BO(e,t);return{config:hCe(n,n.parseDiagnostics,void 0),error:n.parseDiagnostics.length?n.parseDiagnostics[0]:void 0}}function fCe(e,t){const n=UO(e,t);return Wa(n)?BO(e,n):{fileName:e,parseDiagnostics:[n]}}function UO(e,t){let n;try{n=t(e)}catch(s){return Cl(v.Cannot_read_file_0_Colon_1,e,s.message)}return n===void 0?Cl(v.Cannot_read_file_0,e):n}function jU(e){return gT(e,cCe)}function _Ce(){return VCe||(VCe=RU(GO))}function pCe(){return $Ce||($Ce=jU(r0))}function dCe(){return qCe||(qCe=jU(GO))}function mCe(){return WCe||(WCe=jU(GU))}function lKe(){return Wne===void 0&&(Wne={name:void 0,type:"object",elementOptions:jU([Vne,$ne,qne,FD,{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},WO])}),Wne}function hCe(e,t,n){var s;const l=(s=e.statements[0])==null?void 0:s.expression;if(l&&l.kind!==209){if(t.push(Dd(e,l,v.The_root_value_of_a_0_file_must_be_an_object,Xu(e.fileName)==="jsconfig.json"?"jsconfig.json":"tsconfig.json")),Hf(l)){const f=Ve(l.elements,jo);if(f)return zO(e,f,t,!0,n)}return{}}return zO(e,l,t,!0,n)}function gCe(e,t){var n;return zO(e,(n=e.statements[0])==null?void 0:n.expression,t,!0,void 0)}function zO(e,t,n,s,l){if(!t)return s?{}:void 0;return g(t,l==null?void 0:l.rootOptions);function f(k,T){var C;const D=s?{}:void 0;for(const O of k.properties){if(O.kind!==302){n.push(Dd(e,O,v.Property_assignment_expected));continue}O.questionToken&&n.push(Dd(e,O.questionToken,v.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),h(O.name)||n.push(Dd(e,O.name,v.String_literal_with_double_quotes_expected));const M=QI(O.name)?void 0:Q6(O.name),U=M&&xs(M),B=U?(C=T==null?void 0:T.elementOptions)==null?void 0:C.get(U):void 0,H=g(O.initializer,B);typeof U<"u"&&(s&&(D[U]=H),l==null||l.onPropertySet(U,H,O,T,B))}return D}function d(k,T){if(!s){k.forEach(C=>g(C,T));return}return gr(k.map(C=>g(C,T)),C=>C!==void 0)}function g(k,T){switch(k.kind){case 112:return!0;case 97:return!1;case 106:return null;case 11:return h(k)||n.push(Dd(e,k,v.String_literal_with_double_quotes_expected)),k.text;case 9:return Number(k.text);case 223:if(k.operator!==41||k.operand.kind!==9)break;return-Number(k.operand.text);case 209:return f(k,T);case 208:return d(k.elements,T&&T.element)}T?n.push(Dd(e,k,v.Compiler_option_0_requires_a_value_of_type_1,T.name,JU(T))):n.push(Dd(e,k,v.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal))}function h(k){return yo(k)&&Uj(k,e)}}function JU(e){return e.type==="listOrElement"?`${JU(e.element)} or Array`:e.type==="list"?"Array":Wa(e.type)?e.type:"string"}function yCe(e,t){if(e){if(LD(t))return!e.disallowNullOrUndefined;if(e.type==="list")return ka(t);if(e.type==="listOrElement")return ka(t)||yCe(e.element,t);const n=Wa(e.type)?e.type:"string";return typeof t===n}return!1}function uKe(e,t,n){var s,l,f;const d=nf(n.useCaseSensitiveFileNames),g=qt(gr(e.fileNames,(l=(s=e.options.configFile)==null?void 0:s.configFileSpecs)!=null&&l.validatedIncludeSpecs?_Ke(t,e.options.configFile.configFileSpecs.validatedIncludeSpecs,e.options.configFile.configFileSpecs.validatedExcludeSpecs,n):jb),C=>CI(ua(t,n.getCurrentDirectory()),ua(C,n.getCurrentDirectory()),d)),h=Cne(e.options,{configFilePath:ua(t,n.getCurrentDirectory()),useCaseSensitiveFileNames:n.useCaseSensitiveFileNames}),k=e.watchOptions&&pKe(e.watchOptions);return{compilerOptions:{...xne(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&&xne(k),references:qt(e.projectReferences,C=>({...C,path:C.originalPath?C.originalPath:"",originalPath:void 0})),files:G(g)?g:void 0,...(f=e.options.configFile)!=null&&f.configFileSpecs?{include:fKe(e.options.configFile.configFileSpecs.validatedIncludeSpecs),exclude:e.options.configFile.configFileSpecs.validatedExcludeSpecs}:{},compileOnSave:e.compileOnSave?!0:void 0}}function xne(e){return{...oo(e.entries()).reduce((t,n)=>({...t,[n[0]]:n[1]}),{})}}function fKe(e){if(G(e)){if(G(e)!==1)return e;if(e[0]!==QU)return e}}function _Ke(e,t,n,s){if(!t)return jb;const l=ZP(e,n,t,s.useCaseSensitiveFileNames,s.getCurrentDirectory()),f=l.excludePattern&&Nv(l.excludePattern,s.useCaseSensitiveFileNames),d=l.includeFilePattern&&Nv(l.includeFilePattern,s.useCaseSensitiveFileNames);return d?f?g=>!(d.test(g)&&!f.test(g)):g=>!d.test(g):f?g=>f.test(g):jb}function vCe(e){switch(e.type){case"string":case"number":case"boolean":case"object":return;case"list":case"listOrElement":return vCe(e.element);default:return e.type}}function kne(e,t){return rp(t,(n,s)=>{if(n===e)return s})}function Cne(e,t){return bCe(e,Q4(),t)}function pKe(e){return bCe(e,_Ce())}function bCe(e,{optionsNameMap:t},n){const s=new Map,l=n&&nf(n.useCaseSensitiveFileNames);for(const f in e)if(uc(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=vCe(g);h?g.type==="list"?s.set(f,d.map(k=>kne(k,h))):s.set(f,kne(d,h)):n&&g.isFilePath?s.set(f,CI(n.configFilePath,ua(d,cs(n.configFilePath)),l)):s.set(f,d)}}return s}function dKe(e,t){const n=TCe(e);return l();function s(f){return Array(f+1).join(" ")}function l(){const f=[],d=s(2);return $U.forEach(g=>{if(!n.has(g.name))return;const h=n.get(g.name),k=Ine(g);h!==k?f.push(`${d}${g.name}: ${h}`):uc(XU,g.name)&&f.push(`${d}${g.name}: ${k}`)}),f.join(t)+t}}function TCe(e){const t=lB(e,XU);return Cne(t)}function mKe(e,t,n){const s=TCe(e);return d();function l(g){return Array(g+1).join(" ")}function f({category:g,name:h,isCommandLineOnly:k}){const T=[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&&(!T.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 r0)if(f(O)){let M=g.get(O.category);M||g.set(O.category,M=[]),M.push(O)}let h=0,k=0;const T=[];g.forEach((O,M)=>{T.length!==0&&T.push({value:""}),T.push({value:`/* ${so(M)} */`});for(const U of O){let B;s.has(U.name)?B=`"${U.name}": ${JSON.stringify(s.get(U.name))}${(k+=1)===s.size?"":","}`:B=`// "${U.name}": ${JSON.stringify(Ine(U))},`,T.push({value:B,description:`/* ${U.description&&so(U.description)||U.name} */`}),h=Math.max(B.length,h)}});const C=l(2),D=[];D.push("{"),D.push(`${C}"compilerOptions": {`),D.push(`${C}${C}/* ${so(v.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file)} */`),D.push("");for(const O of T){const{value:M,description:U=""}=O;D.push(M&&`${C}${C}${M}${U&&l(h-M.length+2)+U}`)}if(t.length){D.push(`${C}},`),D.push(`${C}"files": [`);for(let O=0;O<t.length;O++)D.push(`${C}${C}${JSON.stringify(t[O])}${O===t.length-1?"":","}`);D.push(`${C}]`)}else D.push(`${C}}`);return D.push("}"),D.join(n)+n}}function wne(e,t){const n={},s=Q4().optionsNameMap;for(const l in e)uc(e,l)&&(n[l]=hKe(s.get(l.toLowerCase()),e[l],t));return n.configFilePath&&(n.configFilePath=t(n.configFilePath)),n}function hKe(e,t,n){if(e&&!LD(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 gKe(e,t,n,s,l,f,d,g,h){return xCe(e,void 0,t,n,s,h,l,f,d,g)}function VO(e,t,n,s,l,f,d,g,h){var k,T;(k=qi)==null||k.push(qi.Phase.Parse,"parseJsonSourceFileConfigFileContent",{path:e.fileName});const C=xCe(void 0,e,t,n,s,h,l,f,d,g);return(T=qi)==null||T.pop(),C}function Ene(e,t){t&&Object.defineProperty(e,"configFile",{enumerable:!1,writable:!1,value:t})}function LD(e){return e==null}function SCe(e,t){return cs(ua(e,t))}function xCe(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 T=[],C=wCe(e,t,n,s,d,g,T,k),{raw:D}=C,O=lB(l,C.options||{}),M=f&&C.watchOptions?lB(f,C.watchOptions):C.watchOptions||f;O.configFilePath=d&&Qu(d);const U=H();t&&(t.configFileSpecs=U),Ene(O,t);const B=So(d?SCe(d,s):s);return{options:O,watchOptions:M,fileNames:Y(B),projectReferences:Z(B),typeAcquisition:C.typeAcquisition||UU(),raw:D,errors:T,wildcardDirectories:AKe(U,B,n.useCaseSensitiveFileNames),compileOnSave:!!D.compileOnSave};function H(){const ye=he("references",Ie=>typeof Ie=="object","object"),de=fe(Q("files"));if(de){const Ie=ye==="no-prop"||ka(ye)&&ye.length===0,ue=uc(D,"extends");if(de.length===0&&Ie&&!ue)if(t){const ut=d||"tsconfig.json",Ge=v.The_files_list_in_config_file_0_is_empty,qe=ZI(t,"files",Me=>Me.initializer),Ke=Bv(t,qe,Ge,ut);T.push(Ke)}else W(v.The_files_list_in_config_file_0_is_empty,d||"tsconfig.json")}let Ce=fe(Q("include"));const K=Q("exclude");let ce=!1,le=fe(K);if(K==="no-prop"&&D.compilerOptions){const Ie=D.compilerOptions.outDir,ue=D.compilerOptions.declarationDir;(Ie||ue)&&(le=[Ie,ue].filter(ut=>!!ut))}de===void 0&&Ce===void 0&&(Ce=[QU],ce=!0);let xe,we;return Ce&&(xe=RCe(Ce,T,!0,t,"include")),le&&(we=RCe(le,T,!1,t,"exclude")),{filesSpecs:de,includeSpecs:Ce,excludeSpecs:le,validatedFilesSpec:gr(de,Wa),validatedIncludeSpecs:xe,validatedExcludeSpecs:we,pathPatterns:void 0,isDefaultIncludeSpec:ce}}function Y(ye){const de=qO(U,ye,O,n,h);return CCe(de,$O(D),g)&&T.push(kCe(U,d)),de}function Z(ye){let de;const Ce=he("references",K=>typeof K=="object","object");if(ka(Ce))for(const K of Ce)typeof K.path!="string"?W(v.Compiler_option_0_requires_a_value_of_type_1,"reference.path","string"):(de||(de=[])).push({path:ua(K.path,ye),originalPath:K.path,prepend:K.prepend,circular:K.circular});return de}function fe(ye){return ka(ye)?ye:void 0}function Q(ye){return he(ye,Wa,"string")}function he(ye,de,Ce){if(uc(D,ye)&&!LD(D[ye]))if(ka(D[ye])){const K=D[ye];return!t&&!ot(K,de)&&T.push(Cl(v.Compiler_option_0_requires_a_value_of_type_1,ye,Ce)),K}else return W(v.Compiler_option_0_requires_a_value_of_type_1,ye,"Array"),"not-array";return"no-prop"}function W(ye,...de){t||T.push(Cl(ye,...de))}}function yKe(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 kCe({includeSpecs:e,excludeSpecs:t},n){return Cl(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 CCe(e,t,n){return e.length===0&&t&&(!n||n.length===0)}function $O(e){return!uc(e,"files")&&!uc(e,"references")}function Ane(e,t,n,s,l){const f=s.length;return CCe(e,l)?s.push(kCe(n,t)):ji(s,d=>!yKe(d)),f!==s.length}function vKe(e){return!!e.options}function wCe(e,t,n,s,l,f,d,g){var h;s=Qu(s);const k=ua(l||"",s);if(f.indexOf(k)>=0)return d.push(Cl(v.Circularity_detected_while_resolving_configuration_Colon_0,[...f,k].join(" -> "))),{raw:e||gCe(t,d)};const T=e?bKe(e,n,s,l,d):TKe(t,n,s,l,d);if((h=T.options)!=null&&h.paths&&(T.options.pathsBasePath=s),T.extendedConfigPath){f=f.concat([k]);const D={options:{}};Wa(T.extendedConfigPath)?C(D,T.extendedConfigPath):T.extendedConfigPath.forEach(O=>C(D,O)),!T.raw.include&&D.include&&(T.raw.include=D.include),!T.raw.exclude&&D.exclude&&(T.raw.exclude=D.exclude),!T.raw.files&&D.files&&(T.raw.files=D.files),T.raw.compileOnSave===void 0&&D.compileOnSave&&(T.raw.compileOnSave=D.compileOnSave),t&&D.extendedSourceFiles&&(t.extendedSourceFiles=oo(D.extendedSourceFiles.keys())),T.options=sI(D.options,T.options),T.watchOptions=T.watchOptions&&D.watchOptions?sI(D.watchOptions,T.watchOptions):T.watchOptions||D.watchOptions}return T;function C(D,O){const M=SKe(t,O,n,f,d,g,D);if(M&&vKe(M)){const U=M.raw;let B;const H=Y=>{U[Y]&&(D[Y]=qt(U[Y],Z=>fh(Z)?Z:vs(B||(B=sP(cs(O),s,nf(n.useCaseSensitiveFileNames))),Z)))};H("include"),H("exclude"),H("files"),U.compileOnSave!==void 0&&(D.compileOnSave=U.compileOnSave),sI(D.options,M.options),D.watchOptions=D.watchOptions&&M.watchOptions?sI({},D.watchOptions,M.watchOptions):D.watchOptions||M.watchOptions}}}function bKe(e,t,n,s,l){uc(e,"excludes")&&l.push(Cl(v.Unknown_option_excludes_Did_you_mean_exclude));const f=DCe(e.compilerOptions,n,l,s),d=NCe(e.typeAcquisition,n,l,s),g=wKe(e.watchOptions,n,l);e.compileOnSave=xKe(e,n,l);const h=e.extends||e.extends===""?ECe(e.extends,t,n,s,l):void 0;return{raw:e,options:f,watchOptions:g,typeAcquisition:d,extendedConfigPath:h}}function ECe(e,t,n,s,l,f,d,g){let h;const k=s?SCe(s,n):n;if(Wa(e))h=ACe(e,t,k,l,d,g);else if(ka(e)){h=[];for(let T=0;T<e.length;T++){const C=e[T];Wa(C)?h=zr(h,ACe(C,t,k,l,d==null?void 0:d.elements[T],g)):Vw(FD.element,e,n,l,f,d==null?void 0:d.elements[T],g)}}else Vw(FD,e,n,l,f,d,g);return h}function TKe(e,t,n,s,l){const f=PCe(s);let d,g,h,k;const T=lKe(),C=hCe(e,l,{rootOptions:T,onPropertySet:D});return d||(d=UU(s)),k&&C&&C.compilerOptions===void 0&&l.push(Dd(e,k[0],v._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file,Q6(k[0]))),{raw:C,options:f,watchOptions:g,typeAcquisition:d,extendedConfigPath:h};function D(O,M,U,B,H){if(H&&H!==FD&&(M=Vw(H,M,n,l,U,U.initializer,e)),B!=null&&B.name)if(H){let Y;B===Vne?Y=f:B===$ne?Y=g??(g={}):B===qne?Y=d??(d=UU(s)):R.fail("Unknown option"),Y[H.name]=M}else O&&(B!=null&&B.extraKeyDiagnostics)&&(B.elementOptions?l.push(yne(O,B.extraKeyDiagnostics,void 0,U.name,e)):l.push(Dd(e,U.name,B.extraKeyDiagnostics.unknownOptionDiagnostic,O)));else B===T&&(H===FD?h=ECe(M,t,n,s,l,U,U.initializer,e):H||(O==="excludes"&&l.push(Dd(e,U.name,v.Unknown_option_excludes_Did_you_mean_exclude)),Ve($U,Y=>Y.name===O)&&(k=zr(k,U.name))))}}function ACe(e,t,n,s,l,f){if(e=Qu(e),fh(e)||Xs(e,"./")||Xs(e,"../")){let g=ua(e,n);if(!t.fileExists(g)&&!Sl(g,".json")&&(g=`${g}.json`,!t.fileExists(g))){s.push(Bv(f,l,v.File_0_not_found,e));return}return g}const d=cwe(e,vs(n,"tsconfig.json"),t);if(d.resolvedModule)return d.resolvedModule.resolvedFileName;e===""?s.push(Bv(f,l,v.Compiler_option_0_cannot_be_given_an_empty_string,"extends")):s.push(Bv(f,l,v.File_0_not_found,e))}function SKe(e,t,n,s,l,f,d){const g=n.useCaseSensitiveFileNames?t:wm(t);let h,k,T;if(f&&(h=f.get(g))?{extendedResult:k,extendedConfig:T}=h:(k=fCe(t,C=>n.readFile(C)),k.parseDiagnostics.length||(T=wCe(void 0,k,n,cs(t),Xu(t),s,l,f)),f&&f.set(g,{extendedResult:k,extendedConfig:T})),e&&((d.extendedSourceFiles??(d.extendedSourceFiles=new Set)).add(k.fileName),k.extendedSourceFiles))for(const C of k.extendedSourceFiles)d.extendedSourceFiles.add(C);if(k.parseDiagnostics.length){l.push(...k.parseDiagnostics);return}return T}function xKe(e,t,n){if(!uc(e,WO.name))return!1;const s=Vw(WO,e.compileOnSave,t,n);return typeof s=="boolean"&&s}function kKe(e,t,n){const s=[];return{options:DCe(e,t,s,n),errors:s}}function CKe(e,t,n){const s=[];return{options:NCe(e,t,s,n),errors:s}}function PCe(e){return e&&Xu(e)==="jsconfig.json"?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function DCe(e,t,n,s){const l=PCe(s);return Pne(pCe(),e,t,l,YO,n),s&&(l.configFilePath=Qu(s)),l}function UU(e){return{enable:!!e&&Xu(e)==="jsconfig.json",include:[],exclude:[]}}function NCe(e,t,n,s){const l=UU(s);return Pne(mCe(),e,t,l,zne,n),l}function wKe(e,t,n){return Pne(dCe(),e,t,void 0,ZO,n)}function Pne(e,t,n,s,l,f){if(t){for(const d in t){const g=e.get(d);g?(s||(s={}))[g.name]=Vw(g,t[d],n,f):f.push(yne(d,l))}return s}}function Bv(e,t,n,...s){return e&&t?Dd(e,t,n,...s):Cl(n,...s)}function Vw(e,t,n,s,l,f,d){if(e.isCommandLineOnly){s.push(Bv(d,l==null?void 0:l.name,v.Option_0_can_only_be_specified_on_command_line,e.name));return}if(yCe(e,t)){const g=e.type;if(g==="list"&&ka(t))return OCe(e,t,n,s,l,f,d);if(g==="listOrElement")return ka(t)?OCe(e,t,n,s,l,f,d):Vw(e.element,t,n,s,l,f,d);if(!Wa(e.type))return ICe(e,t,s,f,d);const h=tk(e,t,s,f,d);return LD(h)?h:EKe(e,n,h)}else s.push(Bv(d,f,v.Compiler_option_0_requires_a_value_of_type_1,e.name,JU(e)))}function EKe(e,t,n){return e.isFilePath&&(n=ua(n,t),n===""&&(n=".")),n}function tk(e,t,n,s,l){var f;if(LD(t))return;const d=(f=e.extraValidation)==null?void 0:f.call(e,t);if(!d)return t;n.push(Bv(l,s,...d))}function ICe(e,t,n,s,l){if(LD(t))return;const f=t.toLowerCase(),d=e.type.get(f);if(d!==void 0)return tk(e,d,n,s,l);n.push(aCe(e,(g,...h)=>Bv(l,s,g,...h)))}function OCe(e,t,n,s,l,f,d){return gr(qt(t,(g,h)=>Vw(e.element,g,n,s,l,f==null?void 0:f.elements[h],d)),g=>e.listPreserveFalsyValues?!0:!!g)}function qO(e,t,n,s,l=ft){t=So(t);const f=nf(s.useCaseSensitiveFileNames),d=new Map,g=new Map,h=new Map,{validatedFilesSpec:k,validatedIncludeSpecs:T,validatedExcludeSpecs:C}=e,D=KP(n,l),O=$5(n,D);if(k)for(const H of k){const Y=ua(H,t);d.set(f(Y),Y)}let M;if(T&&T.length>0)for(const H of s.readDirectory(t,$n(O),C,T,void 0)){if(Vl(H,".json")){if(!M){const fe=T.filter(he=>Sl(he,".json")),Q=qt(bJ(fe,t,"files"),he=>`^${he}$`);M=Q?Q.map(he=>Nv(he,s.useCaseSensitiveFileNames)):ft}if(ir(M,fe=>fe.test(H))!==-1){const fe=f(H);!d.has(fe)&&!h.has(fe)&&h.set(fe,H)}continue}if(DKe(H,d,g,D,f))continue;NKe(H,g,D,f);const Y=f(H);!d.has(Y)&&!g.has(Y)&&g.set(Y,H)}const U=oo(d.values()),B=oo(g.values());return U.concat(B,oo(h.values()))}function LCe(e,t,n,s,l){const{validatedFilesSpec:f,validatedIncludeSpecs:d,validatedExcludeSpecs:g}=t;if(!G(d)||!G(g))return!1;n=So(n);const h=nf(s);if(f){for(const k of f)if(h(ua(k,n))===e)return!1}return FCe(e,g,s,l,n)}function MCe(e){const t=Xs(e,"**/")?0:e.indexOf("/**/");return t===-1?!1:(Sl(e,"/..")?e.length:e.lastIndexOf("/../"))>t}function zU(e,t,n,s){return FCe(e,gr(t,l=>!MCe(l)),n,s)}function FCe(e,t,n,s,l){const f=YP(t,vs(So(s),l),"exclude"),d=f&&Nv(f,n);return d?d.test(e)?!0:!N6(e)&&d.test(Vf(e)):!1}function RCe(e,t,n,s,l){return e.filter(d=>{if(!Wa(d))return!1;const g=Dne(d,n);return g!==void 0&&t.push(f(...g)),g===void 0});function f(d,g){const h=Nj(s,l,g);return Bv(s,h,d,g)}}function Dne(e,t){if(R.assert(typeof e=="string"),t&&HCe.test(e))return[v.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e];if(MCe(e))return[v.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e]}function AKe({validatedIncludeSpecs:e,validatedExcludeSpecs:t},n,s){const l=YP(t,n,"exclude"),f=l&&new RegExp(l,s?"":"i"),d={};if(e!==void 0){const g=[];for(const h of e){const k=So(vs(n,h));if(f&&f.test(k))continue;const T=PKe(k,s);if(T){const{key:C,flags:D}=T,O=d[C];(O===void 0||O<D)&&(d[C]=D,D===1&&g.push(C))}}for(const h in d)if(uc(d,h))for(const k of g)h!==k&&gv(k,h,n,!s)&&delete d[h]}return d}function PKe(e,t){const n=GCe.exec(e);if(n){const s=e.indexOf("?"),l=e.indexOf("*"),f=e.lastIndexOf(zc);return{key:t?n[0]:wm(n[0]),flags:s!==-1&&s<f||l!==-1&&l<f?1:0}}if(Ote(e.substring(e.lastIndexOf(zc)+1)))return{key:ST(t?e:wm(e)),flags:1}}function DKe(e,t,n,s,l){const f=te(s,d=>$l(e,d)?d:void 0);if(!f)return!1;for(const d of f){if(Vl(e,d))return!1;const g=l(VT(e,d));if(t.has(g)||n.has(g)){if(d===".d.ts"&&(Vl(e,".js")||Vl(e,".jsx")))continue;return!0}}return!1}function NKe(e,t,n,s){const l=te(n,f=>$l(e,f)?f:void 0);if(l)for(let f=l.length-1;f>=0;f--){const d=l[f];if(Vl(e,d))return;const g=s(VT(e,d));t.delete(g)}}function IKe(e){const t={};for(const n in e)if(uc(e,n)){const s=bne(n);s!==void 0&&(t[n]=Nne(e[n],s))}return t}function Nne(e,t){if(e===void 0)return e;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(!ka(e))return Nne(e,t.element);case"list":const n=t.element;return ka(e)?lr(e,s=>Nne(s,n)):"";default:return rp(t.type,(s,l)=>{if(s===e)return l})}}function Ine(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 Ine(e.element);case"object":return{};default:const n=cB(e.type.keys());return n!==void 0?n:R.fail("Expected 'option.type' to have entries.")}}var WO,One,MD,Lne,HO,VU,GO,XO,QO,Mne,$U,r0,Fne,Rne,Bne,qU,WU,jne,Jne,Une,HU,GU,BCe,jCe,XU,YO,JCe,UCe,zCe,zne,VCe,ZO,$Ce,qCe,WCe,FD,Vne,$ne,qne,Wne,QU,HCe,GCe,OKe=p({"src/compiler/commandLineParser.ts"(){Ba(),WO={name:"compileOnSave",type:"boolean",defaultValueDescription:!1},One=new Map(Object.entries({preserve:1,"react-native":3,react:2,"react-jsx":4,"react-jsxdev":5})),MD=new Map(qa(One.entries(),([e,t])=>[""+t,e])),Lne=[["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"]],HO=Lne.map(e=>e[0]),VU=new Map(Lne),GO=[{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:Dne},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:Dne},category:v.Watch_and_Build_Modes,description:v.Remove_a_list_of_files_from_the_watch_mode_s_processing}],XO=[{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}],QO={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},Mne={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},$U=[{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},QO,Mne,{name:"lib",type:"list",element:{name:"lib",type:VU,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:One,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,affectsBuildInfo:!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}],r0=[...XO,...$U],Fne=r0.filter(e=>!!e.affectsSemanticDiagnostics),Rne=r0.filter(e=>!!e.affectsEmit),Bne=r0.filter(e=>!!e.affectsDeclarationPath),qU=r0.filter(e=>!!e.affectsModuleResolution),WU=r0.filter(e=>!!e.affectsSourceFile||!!e.affectsModuleResolution||!!e.affectsBindDiagnostics),jne=r0.filter(e=>!!e.affectsProgramStructure),Jne=r0.filter(e=>uc(e,"transpileOptionValue")),Une=[{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}],HU=[...XO,...Une],GU=[{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}],jCe={diagnostic:v.Compiler_option_0_may_only_be_used_with_build,getOptionsNameMap:uCe},XU={module:1,target:3,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0},YO={alternateMode:jCe,getOptionsNameMap:Q4,optionDeclarations:r0,unknownOptionDiagnostic:v.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:v.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:v.Compiler_option_0_expects_an_argument},UCe={diagnostic:v.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:Q4},zCe={alternateMode:UCe,getOptionsNameMap:uCe,optionDeclarations:HU,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},zne={optionDeclarations:GU,unknownOptionDiagnostic:v.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:v.Unknown_type_acquisition_option_0_Did_you_mean_1},ZO={getOptionsNameMap:_Ce,optionDeclarations:GO,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},FD={name:"extends",type:"listOrElement",element:{name:"extends",type:"string"},category:v.File_Management,disallowNullOrUndefined:!0},Vne={name:"compilerOptions",type:"object",elementOptions:pCe(),extraKeyDiagnostics:YO},$ne={name:"watchOptions",type:"object",elementOptions:dCe(),extraKeyDiagnostics:ZO},qne={name:"typeAcquisition",type:"object",elementOptions:mCe(),extraKeyDiagnostics:zne},QU="**/*",HCe=/(^|\/)\*\*\/?$/,GCe=/^[^*?]*(?=\/[^/]*[*?])/}});function Fs(e){e.trace(Ate.apply(void 0,arguments))}function n0(e,t){return!!e.traceResolution&&t.trace!==void 0}function rk(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+zc.length),version:s.version})}return t&&{path:t.path,extension:t.ext,packageId:n,resolvedUsingTsExtension:t.resolvedUsingTsExtension}}function YU(e){return rk(void 0,e)}function XCe(e){if(e)return R.assert(e.packageId===void 0),{path:e.path,ext:e.extension,resolvedUsingTsExtension:e.resolvedUsingTsExtension}}function Hne(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 Gne(e){if(e)return R.assert(xJ(e.extension)),{fileName:e.path,packageId:e.packageId}}function QCe(e,t,n,s,l,f,d,g){if(!d.resultFromCache&&!d.compilerOptions.preserveSymlinks&&t&&n&&!t.originalPath&&!Lu(e)){const{resolvedFileName:h,originalPath:k}=KCe(t.path,d.host,d.traceEnabled);k&&(t={...t,path:h,originalPath:k})}return YCe(t,n,s,l,f,d.resultFromCache,g)}function YCe(e,t,n,s,l,f,d){return f?(f.failedLookupLocations=Y4(f.failedLookupLocations,n),f.affectingLocations=Y4(f.affectingLocations,s),f.resolutionDiagnostics=Y4(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:RD(n),affectingLocations:RD(s),resolutionDiagnostics:RD(l),node10Result:d}}function RD(e){return e.length?e:void 0}function Y4(e,t){return t!=null&&t.length?e!=null&&e.length?(e.push(...t),e):t:e}function ZCe(e,t,n,s){if(!uc(e,t)){s.traceEnabled&&Fs(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&&Fs(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 ZU(e,t,n,s){const l=ZCe(e,t,"string",s);if(l===void 0)return;if(!l){s.traceEnabled&&Fs(s.host,v.package_json_had_a_falsy_0_field,t);return}const f=So(vs(n,l));return s.traceEnabled&&Fs(s.host,v.package_json_has_0_field_1_that_references_2,t,l,f),f}function LKe(e,t,n){return ZU(e,"typings",t,n)||ZU(e,"types",t,n)}function MKe(e,t,n){return ZU(e,"tsconfig",t,n)}function FKe(e,t,n){return ZU(e,"main",t,n)}function RKe(e,t){const n=ZCe(e,"typesVersions","object",t);if(n!==void 0)return t.traceEnabled&&Fs(t.host,v.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),n}function BKe(e,t){const n=RKe(e,t);if(n===void 0)return;if(t.traceEnabled)for(const d in n)uc(n,d)&&!tP.tryParse(d)&&Fs(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&&Fs(t.host,v.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,A);return}const{version:l,paths:f}=s;if(typeof f!="object"){t.traceEnabled&&Fs(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){uie||(uie=new Em(N));for(const t in e){if(!uc(e,t))continue;const n=tP.tryParse(t);if(n!==void 0&&n.test(uie))return{version:t,paths:e[t]}}}function KO(e,t){if(e.typeRoots)return e.typeRoots;let n;if(e.configFilePath?n=cs(e.configFilePath):t.getCurrentDirectory&&(n=t.getCurrentDirectory()),n!==void 0)return jKe(n)}function jKe(e){let t;return zy(So(e),n=>{const s=vs(n,Cwe);(t??(t=[])).push(s)}),t}function JKe(e,t,n){const s=typeof n.useCaseSensitiveFileNames=="function"?n.useCaseSensitiveFileNames():n.useCaseSensitiveFileNames;return Tx(e,t,!s)===0}function KCe(e,t,n){const s=eet(e,t,n),l=JKe(e,s,t);return{resolvedFileName:l?e:s,originalPath:l?void 0:e}}function ewe(e,t,n){const s=Sl(e,"/node_modules/@types")||Sl(e,"/node_modules/@types/")?bwe(t,n):t;return vs(e,s)}function Xne(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=n0(n,s);l&&(n=l.commandLine.options);const h=t?cs(t):void 0;let k=h?f==null?void 0:f.getFromDirectoryCache(e,d,h,l):void 0;if(!k&&h&&!Lu(e)&&(k=f==null?void 0:f.getFromNonRelativeNameCache(e,d,h,l)),k)return g&&(Fs(s,v.Resolving_type_reference_directive_0_containing_file_1,e,t),l&&Fs(s,v.Using_compiler_options_of_project_reference_redirect_0,l.sourceFile.fileName),Fs(s,v.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,e,h),fe(k)),k;const T=KO(n,s);g&&(t===void 0?T===void 0?Fs(s,v.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,e):Fs(s,v.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,e,T):T===void 0?Fs(s,v.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,e,t):Fs(s,v.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,e,t,T),l&&Fs(s,v.Using_compiler_options_of_project_reference_redirect_0,l.sourceFile.fileName));const C=[],D=[];let O=Qne(n);d===99&&(wl(n)===3||wl(n)===99)&&(O|=32);const M=O&8?Z4(n,!!(O&32)):[],U=[],B={compilerOptions:n,host:s,traceEnabled:g,failedLookupLocations:C,affectingLocations:D,packageJsonInfoCache:f,features:O,conditions:M,requestContainingDirectory:h,reportDiagnostic:W=>void U.push(W),isConfigLookup:!1,candidateIsFromPackageJsonField:!1};let H=Q(),Y=!0;H||(H=he(),Y=!1);let Z;if(H){const{fileName:W,packageId:ye}=H;let de=W,Ce;n.preserveSymlinks||({resolvedFileName:de,originalPath:Ce}=KCe(W,s,g)),Z={primary:Y,resolvedFileName:de,originalPath:Ce,packageId:ye,isExternalLibraryImport:eA(W)}}return k={resolvedTypeReferenceDirective:Z,failedLookupLocations:RD(C),affectingLocations:RD(D),resolutionDiagnostics:RD(U)},h&&(f==null||f.getOrCreateCacheForDirectory(h,l).set(e,d,k),Lu(e)||f==null||f.getOrCreateCacheForNonRelativeName(e,d,l).set(h,k)),g&&fe(k),k;function fe(W){var ye;(ye=W.resolvedTypeReferenceDirective)!=null&&ye.resolvedFileName?W.resolvedTypeReferenceDirective.packageId?Fs(s,v.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,e,W.resolvedTypeReferenceDirective.resolvedFileName,wv(W.resolvedTypeReferenceDirective.packageId),W.resolvedTypeReferenceDirective.primary):Fs(s,v.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,e,W.resolvedTypeReferenceDirective.resolvedFileName,W.resolvedTypeReferenceDirective.primary):Fs(s,v.Type_reference_directive_0_was_not_resolved,e)}function Q(){if(T&&T.length)return g&&Fs(s,v.Resolving_with_primary_search_path_0,T.join(", ")),$e(T,W=>{const ye=ewe(W,e,B),de=Pm(W,s);if(!de&&g&&Fs(s,v.Directory_0_does_not_exist_skipping_all_lookups_in_it,W),n.typeRoots){const Ce=$w(4,ye,!de,B);if(Ce){const K=e9(Ce.path),ce=K?eS(K,!1,B):void 0;return Gne(rk(ce,Ce))}}return Gne(iie(4,ye,!de,B))});g&&Fs(s,v.Root_directory_cannot_be_determined_skipping_primary_search_paths)}function he(){const W=t&&cs(t);if(W!==void 0){let ye;if(!n.typeRoots||!Sl(t,C9))if(g&&Fs(s,v.Looking_up_in_node_modules_folder_initial_location_0,W),Lu(e)){const{path:de}=lwe(W,e);ye=nz(4,de,!1,B,!0)}else{const de=hwe(4,e,W,B,void 0,void 0);ye=de&&de.value}else g&&Fs(s,v.Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder);return Gne(ye)}else g&&Fs(s,v.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}}function Qne(e){let t=0;switch(wl(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 Z4(e,t){const n=t||wl(e)===100?["import"]:["require"];return e.noDtsResolution||n.push("types"),wl(e)!==100&&n.push("node"),wr(n,e.customConditions)}function UKe(e,t,n,s,l){const f=iz(l==null?void 0:l.getPackageJsonInfoCache(),s,n);return zy(t,d=>{if(Xu(d)!=="node_modules"){const g=vs(d,"node_modules"),h=vs(g,e);return eS(h,!1,f)}})}function ez(e,t){if(e.types)return e.types;const n=[];if(t.directoryExists&&t.getDirectories){const s=KO(e,t);if(s){for(const l of s)if(t.directoryExists(l))for(const f of t.getDirectories(l)){const d=So(f),g=vs(l,d,"package.json");if(!(t.fileExists(g)&&VP(g,t).typings===null)){const k=Xu(d);k.charCodeAt(0)!==46&&n.push(k)}}}}return n}function Yne(e){var t;if(e===null||typeof e!="object")return""+e;if(ka(e))return`[${(t=e.map(s=>Yne(s)))==null?void 0:t.join(",")}]`;let n="{";for(const s in e)uc(e,s)&&(n+=`${s}: ${Yne(e[s])}`);return n+"}"}function Zne(e,t){return t.map(n=>Yne(hJ(e,n))).join("|")+(e.pathsBasePath?`|${e.pathsBasePath}`:void 0)}function Kne(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(C){return C?h(C.commandLine.options,!1):l}function d(C){return C?h(C.commandLine.options,!0):l}function g(C){e!==C&&(e?l=h(C,!0):t.set(C,l),e=C)}function h(C,D){let O=t.get(C);if(O)return O;const M=T(C);if(O=s.get(M),!O){if(e){const U=T(e);U===M?O=l:s.has(U)||s.set(U,l)}D&&(O??(O=new Map)),O&&s.set(M,O)}return O&&t.set(C,O),O}function k(){const C=e&&n.get(e);l.clear(),t.clear(),n.clear(),s.clear(),e&&(C&&n.set(e,C),t.set(e,l))}function T(C){let D=n.get(C);return D||n.set(C,D=Zne(C,qU)),D}}function zKe(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(bc(h,e,t))}function l(h,k){(n||(n=new Map)).set(bc(h,e,t),k)}function f(){n=void 0}function d(){const h=n==null?void 0:n.entries();return h?oo(h):[]}function g(){return n}}function twe(e,t,n,s){const l=e.getOrCreateMapOfCacheRedirects(t);let f=l.get(n);return f||(f=s(),l.set(n,f)),f}function VKe(e,t,n){const s=Kne(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 T=bc(h,e,t);return twe(s,k,T,()=>nk())}function g(h,k,T,C){var D,O;const M=bc(T,e,t);return(O=(D=s.getMapOfCacheRedirects(C))==null?void 0:D.get(M))==null?void 0:O.get(h,k)}}function BD(e,t){return t===void 0?e:`${t}|${e}`}function nk(){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=BD(l,f);return t.set(d,[l,f]),d}}function eie(e,t,n,s){R.assert(t.length===n.length);const l=nk();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 $Ke(e){return e.resolvedModule&&(e.resolvedModule.originalPath||e.resolvedModule.resolvedFileName)}function qKe(e){return e.resolvedTypeReferenceDirective&&(e.resolvedTypeReferenceDirective.originalPath||e.resolvedTypeReferenceDirective.resolvedFileName)}function WKe(e,t,n,s){const l=Kne(n);return{getFromNonRelativeNameCache:g,getOrCreateCacheForNonRelativeName:h,clear:f,update:d};function f(){l.clear()}function d(T){l.update(T)}function g(T,C,D,O){var M,U;return R.assert(!Lu(T)),(U=(M=l.getMapOfCacheRedirects(O))==null?void 0:M.get(BD(T,C)))==null?void 0:U.get(D)}function h(T,C,D){return R.assert(!Lu(T)),twe(l,D,BD(T,C),k)}function k(){const T=new Map;return{get:C,set:D};function C(M){return T.get(bc(M,e,t))}function D(M,U){const B=bc(M,e,t);if(T.has(B))return;T.set(B,U);const H=s(U),Y=H&&O(B,H);let Z=B;for(;Z!==Y;){const fe=cs(Z);if(fe===Z||T.has(fe))break;T.set(fe,U),Z=fe}}function O(M,U){const B=bc(cs(U),e,t);let H=0;const Y=Math.min(M.length,B.length);for(;H<Y&&M.charCodeAt(H)===B.charCodeAt(H);)H++;if(H===M.length&&(B.length===H||B[H]===zc))return M;const Z=Hh(M);if(H<Z)return;const fe=M.lastIndexOf(zc,H-1);if(fe!==-1)return M.substr(0,Math.max(fe,Z))}}}function rwe(e,t,n,s,l){const f=VKe(e,t,n),d=WKe(e,t,n,l);return s??(s=zKe(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(T){f.update(T),d.update(T)}}function K4(e,t,n,s){const l=rwe(e,t,n,s,$Ke);return l.getOrCreateCacheForModuleName=(f,d,g)=>l.getOrCreateCacheForNonRelativeName(f,d,g),l}function tz(e,t,n,s){return rwe(e,t,n,s,qKe)}function tie(e){return{moduleResolution:2,traceResolution:e.traceResolution}}function rz(e,t,n,s,l){return jD(e,t,tie(n),s,l)}function HKe(e,t,n,s){const l=cs(t);return n.getFromDirectoryCache(e,s,l,void 0)}function jD(e,t,n,s,l,f,d){var g,h,k;const T=n0(n,s);f&&(n=f.commandLine.options),T&&(Fs(s,v.Resolving_module_0_from_1,e,t),f&&Fs(s,v.Using_compiler_options_of_project_reference_redirect_0,f.sourceFile.fileName));const C=cs(t);let D=l==null?void 0:l.getFromDirectoryCache(e,d,C,f);if(D)T&&Fs(s,v.Resolution_for_module_0_was_found_in_cache_from_location_1,e,C);else{let O=n.moduleResolution;if(O===void 0){switch(Zu(n)){case 1:O=2;break;case 100:O=3;break;case 199:O=99;break;default:O=1;break}T&&Fs(s,v.Module_resolution_kind_is_not_specified_using_0,mI[O])}else T&&Fs(s,v.Explicitly_specified_module_resolution_kind_Colon_0,mI[O]);switch((g=uh)==null||g.logStartResolveModule(e),O){case 3:D=YKe(e,t,n,s,l,f,d);break;case 99:D=ZKe(e,t,n,s,l,f,d);break;case 2:D=owe(e,t,n,s,l,f);break;case 1:D=Swe(e,t,n,s,l,f);break;case 100:D=awe(e,t,n,s,l,f);break;default:return R.fail(`Unexpected moduleResolution: ${O}`)}D&&D.resolvedModule&&((h=uh)==null||h.logInfoEvent(`Module "${e}" resolved to "${D.resolvedModule.resolvedFileName}"`)),(k=uh)==null||k.logStopResolveModule(D&&D.resolvedModule?""+D.resolvedModule.resolvedFileName:"null"),l==null||l.getOrCreateCacheForDirectory(C,f).set(e,d,D),Lu(e)||l==null||l.getOrCreateCacheForNonRelativeName(e,d,f).set(C,D)}return T&&(D.resolvedModule?D.resolvedModule.packageId?Fs(s,v.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,e,D.resolvedModule.resolvedFileName,wv(D.resolvedModule.packageId)):Fs(s,v.Module_name_0_was_successfully_resolved_to_1,e,D.resolvedModule.resolvedFileName):Fs(s,v.Module_name_0_was_not_resolved,e)),D}function nwe(e,t,n,s,l){const f=GKe(e,t,s,l);return f?f.value:Lu(t)?XKe(e,t,n,s,l):QKe(e,t,s,l)}function GKe(e,t,n,s){var l;const{baseUrl:f,paths:d,configFile:g}=s.compilerOptions;if(d&&!kp(t)){s.traceEnabled&&(f&&Fs(s.host,v.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,f,t),Fs(s.host,v.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,t));const h=tJ(s.compilerOptions,s.host),k=g!=null&&g.configFileSpecs?(l=g.configFileSpecs).pathPatterns||(l.pathPatterns=SJ(d)):void 0;return lie(e,t,h,d,k,n,!1,s)}}function XKe(e,t,n,s,l){if(!l.compilerOptions.rootDirs)return;l.traceEnabled&&Fs(l.host,v.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,t);const f=So(vs(n,t));let d,g;for(const h of l.compilerOptions.rootDirs){let k=So(h);Sl(k,zc)||(k+=zc);const T=Xs(f,k)&&(g===void 0||g.length<k.length);l.traceEnabled&&Fs(l.host,v.Checking_if_0_is_the_longest_matching_prefix_for_1_2,k,f,T),T&&(g=k,d=h)}if(g){l.traceEnabled&&Fs(l.host,v.Longest_matching_prefix_for_0_is_1,f,g);const h=f.substr(g.length);l.traceEnabled&&Fs(l.host,v.Loading_0_from_the_root_dir_1_candidate_location_2,h,g,f);const k=s(e,f,!Pm(n,l.host),l);if(k)return k;l.traceEnabled&&Fs(l.host,v.Trying_other_entries_in_rootDirs);for(const T of l.compilerOptions.rootDirs){if(T===d)continue;const C=vs(So(T),h);l.traceEnabled&&Fs(l.host,v.Loading_0_from_the_root_dir_1_candidate_location_2,h,T,C);const D=cs(C),O=s(e,C,!Pm(D,l.host),l);if(O)return O}l.traceEnabled&&Fs(l.host,v.Module_resolution_using_rootDirs_has_failed)}}function QKe(e,t,n,s){const{baseUrl:l}=s.compilerOptions;if(!l)return;s.traceEnabled&&Fs(s.host,v.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,l,t);const f=So(vs(l,t));return s.traceEnabled&&Fs(s.host,v.Resolving_module_name_0_relative_to_base_url_1_2,t,l,f),n(e,f,!Pm(cs(f),s.host),s)}function iwe(e,t,n){const{resolvedModule:s,failedLookupLocations:l}=KKe(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 YKe(e,t,n,s,l,f,d){return swe(30,e,t,n,s,l,f,d)}function ZKe(e,t,n,s,l,f,d){return swe(30,e,t,n,s,l,f,d)}function swe(e,t,n,s,l,f,d,g){const h=cs(n),k=g===99?32:0;let T=s.noDtsResolution?3:7;return Ux(s)&&(T|=8),JD(e|k,t,h,s,l,f,T,!1,d)}function KKe(e,t,n){return JD(0,e,t,{moduleResolution:2,allowJs:!0},n,void 0,2,!1,void 0)}function awe(e,t,n,s,l,f){const d=cs(t);let g=n.noDtsResolution?3:7;return Ux(n)&&(g|=8),JD(Qne(n),e,d,n,s,l,g,!1,f)}function owe(e,t,n,s,l,f,d){let g;return d?g=8:n.noDtsResolution?(g=3,Ux(n)&&(g|=8)):g=Ux(n)?15:7,JD(0,e,cs(t),n,s,l,g,!!d,f)}function cwe(e,t,n){return JD(30,e,cs(t),{moduleResolution:99},n,void 0,8,!0,void 0)}function JD(e,t,n,s,l,f,d,g,h){var k,T,C,D;const O=n0(s,l),M=[],U=[],B=Z4(s,!!(e&32)),H=[],Y={compilerOptions:s,host:l,traceEnabled:O,failedLookupLocations:M,affectingLocations:U,packageJsonInfoCache:f,features:e,conditions:B,requestContainingDirectory:n,reportDiagnostic:he=>void H.push(he),isConfigLookup:g,candidateIsFromPackageJsonField:!1};O&&bw(wl(s))&&Fs(l,v.Resolving_in_0_mode_with_conditions_1,e&32?"ESM":"CJS",B.map(he=>`'${he}'`).join(", "));let Z;if(wl(s)===2){const he=d&5,W=d&-6;Z=he&&Q(he,Y)||W&&Q(W,Y)||void 0}else Z=Q(d,Y);let fe;if((k=Z==null?void 0:Z.value)!=null&&k.isExternalLibraryImport&&!g&&d&5&&e&8&&!Lu(t)&&!sie(5,Z.value.resolved.extension)&&B.indexOf("import")>-1){tS(Y,v.Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update);const he={...Y,features:Y.features&-9,reportDiagnostic:fc},W=Q(d&5,he);(T=W==null?void 0:W.value)!=null&&T.isExternalLibraryImport&&(fe=W.value.resolved.path)}return QCe(t,(C=Z==null?void 0:Z.value)==null?void 0:C.resolved,(D=Z==null?void 0:Z.value)==null?void 0:D.isExternalLibraryImport,M,U,H,Y,fe);function Q(he,W){const de=nwe(he,t,n,(Ce,K,ce,le)=>nz(Ce,K,ce,le,!0),W);if(de)return Op({resolved:de,isExternalLibraryImport:eA(de.path)});if(Lu(t)){const{path:Ce,parts:K}=lwe(n,t),ce=nz(he,Ce,!1,W,!0);return ce&&Op({resolved:ce,isExternalLibraryImport:kt(K,"node_modules")})}else{let Ce;if(e&2&&Xs(t,"#")&&(Ce=aet(he,t,n,W,f,h)),!Ce&&e&4&&(Ce=set(he,t,n,W,f,h)),!Ce){if(t.indexOf(":")>-1){O&&Fs(l,v.Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1,t,Hne(he));return}O&&Fs(l,v.Loading_module_0_from_node_modules_folder_target_file_types_Colon_1,t,Hne(he)),Ce=hwe(he,t,n,W,f,h)}return he&4&&(Ce??(Ce=xwe(t,W))),Ce&&{value:Ce.value&&{resolved:Ce.value,isExternalLibraryImport:!0}}}}}function lwe(e,t){const n=vs(e,t),s=Ou(n),l=Bc(s);return{path:l==="."||l===".."?Vf(So(n)):So(n),parts:s}}function eet(e,t,n){if(!t.realpath)return e;const s=So(t.realpath(e));return n&&Fs(t,v.Resolving_real_path_for_0_result_1,e,s),R.assert(t.fileExists(s),`${e} linked to nonexistent file ${s}`),s}function nz(e,t,n,s,l){if(s.traceEnabled&&Fs(s.host,v.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1,t,Hne(e)),!K0(t)){if(!n){const d=cs(t);Pm(d,s.host)||(s.traceEnabled&&Fs(s.host,v.Directory_0_does_not_exist_skipping_all_lookups_in_it,d),n=!0)}const f=$w(e,t,n,s);if(f){const d=l?e9(f.path):void 0,g=d?eS(d,!1,s):void 0;return rk(g,f)}}if(n||Pm(t,s.host)||(s.traceEnabled&&Fs(s.host,v.Directory_0_does_not_exist_skipping_all_lookups_in_it,t),n=!0),!(s.features&32))return iie(e,t,n,s,l)}function eA(e){return rf(e,h1)}function e9(e,t){const n=So(e),s=n.lastIndexOf(h1);if(s===-1)return;const l=s+h1.length;let f=uwe(n,l,t);return n.charCodeAt(l)===64&&(f=uwe(n,f,t)),n.slice(0,f)}function uwe(e,t,n){const s=e.indexOf(zc,t+1);return s===-1?n?e.length:t:s}function rie(e,t,n,s){return YU($w(e,t,n,s))}function $w(e,t,n,s){const l=fwe(e,t,n,s);if(l)return l;if(!(s.features&32)){const f=_we(t,e,"",n,s);if(f)return f}}function fwe(e,t,n,s){if(Xu(t).indexOf(".")===-1)return;let f=R_(t);f===t&&(f=t.substring(0,t.lastIndexOf(".")));const d=t.substring(f.length);return s.traceEnabled&&Fs(s.host,v.File_name_0_has_a_1_extension_stripping_it,t,d),_we(f,e,d,n,s)}function nie(e,t,n,s){return e&1&&$l(t,OJ)||e&4&&$l(t,IJ)?t9(t,n,s)!==void 0?{path:t,ext:sJ(t),resolvedUsingTsExtension:void 0}:void 0:s.isConfigLookup&&e===8&&Vl(t,".json")?t9(t,n,s)!==void 0?{path:t,ext:".json",resolvedUsingTsExtension:void 0}:void 0:fwe(e,t,n,s)}function _we(e,t,n,s,l){if(!s){const d=cs(e);d&&(s=!Pm(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=t9(e+d,s,l);return h===void 0?void 0:{path:h,ext:d,resolvedUsingTsExtension:!l.candidateIsFromPackageJsonField&&g}}}function t9(e,t,n){var s;if(!((s=n.compilerOptions.moduleSuffixes)!=null&&s.length))return pwe(e,t,n);const l=Kg(e)??"",f=l?W5(e,l):e;return te(n.compilerOptions.moduleSuffixes,d=>pwe(f+d+l,t,n))}function pwe(e,t,n){var s;if(!t){if(n.host.fileExists(e))return n.traceEnabled&&Fs(n.host,v.File_0_exists_use_it_as_a_name_resolution_result,e),e;n.traceEnabled&&Fs(n.host,v.File_0_does_not_exist,e)}(s=n.failedLookupLocations)==null||s.push(e)}function iie(e,t,n,s,l=!0){const f=l?eS(t,n,s):void 0,d=f&&f.contents.packageJsonContent,g=f&&r9(f,s);return rk(f,az(e,t,n,s,d,g))}function tet(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=Qne(t),h=iz(s==null?void 0:s.getPackageJsonInfoCache(),n,t);h.conditions=Z4(t),h.requestContainingDirectory=e.packageDirectory;const k=az(d,e.packageDirectory,!1,h,e.contents.packageJsonContent,r9(e,h));if(f=zr(f,k==null?void 0:k.path),g&8&&e.contents.packageJsonContent.exports){const T=Ds([Z4(t,!0),Z4(t,!1)],Oc);for(const C of T){const D={...h,failedLookupLocations:[],conditions:C},O=ret(e,e.contents.packageJsonContent.exports,D,d);if(O)for(const M of O)f=n_(f,M.path)}}return e.contents.resolvedEntrypoints=f||!1}function ret(e,t,n,s){let l;if(ka(t))for(const d of t)f(d);else if(typeof t=="object"&&t!==null&&oz(t))for(const d in t)f(t[d]);else f(t);return l;function f(d){var g,h;if(typeof d=="string"&&Xs(d,"./")&&d.indexOf("*")===-1){const k=Ou(d).slice(2);if(k.indexOf("..")>=0||k.indexOf(".")>=0||k.indexOf("node_modules")>=0)return!1;const T=vs(e.packageDirectory,d),C=ua(T,(h=(g=n.host).getCurrentDirectory)==null?void 0:h.call(g)),D=nie(s,C,!1,n);if(D)return l=n_(l,D,(O,M)=>O.path===M.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 te(Jy(d),k=>{if(k==="default"||kt(n.conditions,k)||n9(n.conditions,k))return f(d[k]),!0})}}function iz(e,t,n){return{host:t,compilerOptions:n,traceEnabled:n0(n,t),failedLookupLocations:void 0,affectingLocations:void 0,packageJsonInfoCache:e,features:0,conditions:ft,requestContainingDirectory:void 0,reportDiagnostic:fc,isConfigLookup:!1,candidateIsFromPackageJsonField:!1}}function sz(e,t){const n=Ou(e);for(n.pop();n.length>0;){const s=eS(mv(n),!1,t);if(s)return s;n.pop()}}function r9(e,t){return e.contents.versionPaths===void 0&&(e.contents.versionPaths=BKe(e.contents.packageJsonContent,t)||!1),e.contents.versionPaths||void 0}function eS(e,t,n){var s,l,f,d,g,h,k,T;const{host:C,traceEnabled:D}=n,O=vs(e,"package.json");if(t){(s=n.failedLookupLocations)==null||s.push(O);return}const M=(l=n.packageJsonInfoCache)==null?void 0:l.getPackageJsonInfo(O);if(M!==void 0){if(typeof M!="boolean")return D&&Fs(C,v.File_0_exists_according_to_earlier_cached_lookups,O),(f=n.affectingLocations)==null||f.push(O),M.packageDirectory===e?M:{packageDirectory:e,contents:M.contents};M&&D&&Fs(C,v.File_0_does_not_exist_according_to_earlier_cached_lookups,O),(d=n.failedLookupLocations)==null||d.push(O);return}const U=Pm(e,C);if(U&&C.fileExists(O)){const B=VP(O,C);D&&Fs(C,v.Found_package_json_at_0,O);const H={packageDirectory:e,contents:{packageJsonContent:B,versionPaths:void 0,resolvedEntrypoints:void 0}};return(g=n.packageJsonInfoCache)==null||g.setPackageJsonInfo(O,H),(h=n.affectingLocations)==null||h.push(O),H}else U&&D&&Fs(C,v.File_0_does_not_exist,O),(k=n.packageJsonInfoCache)==null||k.setPackageJsonInfo(O,U),(T=n.failedLookupLocations)==null||T.push(O)}function az(e,t,n,s,l,f){let d;l&&(s.isConfigLookup?d=MKe(l,t,s):d=e&4&&LKe(l,t,s)||e&7&&FKe(l,t,s)||void 0);const g=(D,O,M,U)=>{const B=t9(O,M,U);if(B){const Q=net(D,B);if(Q)return YU(Q);U.traceEnabled&&Fs(U.host,v.File_0_has_an_unsupported_extension_so_skipping_it,B)}const H=D===4?5:D,Y=U.features,Z=U.candidateIsFromPackageJsonField;U.candidateIsFromPackageJsonField=!0,(l==null?void 0:l.type)!=="module"&&(U.features&=-33);const fe=nz(H,O,M,U,!1);return U.features=Y,U.candidateIsFromPackageJsonField=Z,fe},h=d?!Pm(cs(d),s.host):void 0,k=n||!Pm(t,s.host),T=vs(t,s.isConfigLookup?"tsconfig":"index");if(f&&(!d||gv(t,d))){const D=Gh(t,d||T,!1);s.traceEnabled&&Fs(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,N,D);const O=lie(e,D,t,f.paths,void 0,g,h||k,s);if(O)return XCe(O.value)}const C=d&&XCe(g(e,d,h,s));if(C)return C;if(!(s.features&32))return $w(e,T,k,s)}function net(e,t,n){const s=Kg(t);return s!==void 0&&sie(e,s)?{path:t,ext:s,resolvedUsingTsExtension:n}:void 0}function sie(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 aie(e){let t=e.indexOf(zc);return e[0]==="@"&&(t=e.indexOf(zc,t+1)),t===-1?{packageName:e,rest:""}:{packageName:e.slice(0,t),rest:e.slice(t+1)}}function oz(e){return ot(Jy(e),t=>Xs(t,"."))}function iet(e){return!Ne(Jy(e),t=>Xs(t,"."))}function set(e,t,n,s,l,f){var d,g;const h=ua(vs(n,"dummy"),(g=(d=s.host).getCurrentDirectory)==null?void 0:g.call(d)),k=sz(h,s);if(!k||!k.contents.packageJsonContent.exports||typeof k.contents.packageJsonContent.name!="string")return;const T=Ou(t),C=Ou(k.contents.packageJsonContent.name);if(!ot(C,(B,H)=>T[H]===B))return;const D=T.slice(C.length),O=G(D)?`.${zc}${D.join(zc)}`:".",M=e&5,U=e&-6;return oie(k,M,O,s,l,f)||oie(k,U,O,s,l,f)}function oie(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"&&iet(e.contents.packageJsonContent.exports)?d=e.contents.packageJsonContent.exports:uc(e.contents.packageJsonContent.exports,".")&&(d=e.contents.packageJsonContent.exports["."]),d)return mwe(t,s,l,f,n,e,!1)(d,"",!1,".")}else if(oz(e.contents.packageJsonContent.exports)){if(typeof e.contents.packageJsonContent.exports!="object")return s.traceEnabled&&Fs(s.host,v.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,n,e.packageDirectory),Op(void 0);const d=dwe(t,s,l,f,n,e.contents.packageJsonContent.exports,e,!1);if(d)return d}return s.traceEnabled&&Fs(s.host,v.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,n,e.packageDirectory),Op(void 0)}}function aet(e,t,n,s,l,f){var d,g;if(t==="#"||Xs(t,"#/"))return s.traceEnabled&&Fs(s.host,v.Invalid_import_specifier_0_has_no_possible_resolutions,t),Op(void 0);const h=ua(vs(n,"dummy"),(g=(d=s.host).getCurrentDirectory)==null?void 0:g.call(d)),k=sz(h,s);if(!k)return s.traceEnabled&&Fs(s.host,v.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,h),Op(void 0);if(!k.contents.packageJsonContent.imports)return s.traceEnabled&&Fs(s.host,v.package_json_scope_0_has_no_imports_defined,k.packageDirectory),Op(void 0);const T=dwe(e,s,l,f,t,k.contents.packageJsonContent.imports,k,!0);return T||(s.traceEnabled&&Fs(s.host,v.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,t,k.packageDirectory),Op(void 0))}function cie(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 dwe(e,t,n,s,l,f,d,g){const h=mwe(e,t,n,s,l,d,g);if(!Sl(l,zc)&&l.indexOf("*")===-1&&uc(f,l)){const C=f[l];return h(C,"",!1,l)}const k=gx(gr(Jy(f),C=>C.indexOf("*")!==-1||Sl(C,"/")),cie);for(const C of k)if(t.features&16&&T(C,l)){const D=f[C],O=C.indexOf("*"),M=l.substring(C.substring(0,O).length,l.length-(C.length-1-O));return h(D,M,!0,C)}else if(Sl(C,"*")&&Xs(l,C.substring(0,C.length-1))){const D=f[C],O=l.substring(C.length-1);return h(D,O,!0,C)}else if(Xs(l,C)){const D=f[C],O=l.substring(C.length);return h(D,O,!1,C)}function T(C,D){if(Sl(C,"*"))return!1;const O=C.indexOf("*");return O===-1?!1:Xs(D,C.substring(0,O))&&Sl(D,C.substring(O+1))}}function mwe(e,t,n,s,l,f,d){return g;function g(h,k,T,C){if(typeof h=="string"){if(!T&&k.length>0&&!Sl(h,"/"))return t.traceEnabled&&Fs(t.host,v.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,f.packageDirectory,l),Op(void 0);if(!Xs(h,"./")){if(d&&!Xs(h,"../")&&!Xs(h,"/")&&!fh(h)){const he=T?h.replace(/\*/g,k):h+k;tS(t,v.Using_0_subpath_1_with_target_2,"imports",C,he),tS(t,v.Resolving_module_0_from_1,he,f.packageDirectory+"/");const W=JD(t.features,he,f.packageDirectory+"/",t.compilerOptions,t.host,n,e,!1,s);return Op(W.resolvedModule?{path:W.resolvedModule.resolvedFileName,extension:W.resolvedModule.extension,packageId:W.resolvedModule.packageId,originalPath:W.resolvedModule.originalPath,resolvedUsingTsExtension:W.resolvedModule.resolvedUsingTsExtension}:void 0)}return t.traceEnabled&&Fs(t.host,v.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,f.packageDirectory,l),Op(void 0)}const H=(kp(h)?Ou(h).slice(1):Ou(h)).slice(1);if(H.indexOf("..")>=0||H.indexOf(".")>=0||H.indexOf("node_modules")>=0)return t.traceEnabled&&Fs(t.host,v.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,f.packageDirectory,l),Op(void 0);const Y=vs(f.packageDirectory,h),Z=Ou(k);if(Z.indexOf("..")>=0||Z.indexOf(".")>=0||Z.indexOf("node_modules")>=0)return t.traceEnabled&&Fs(t.host,v.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,f.packageDirectory,l),Op(void 0);t.traceEnabled&&Fs(t.host,v.Using_0_subpath_1_with_target_2,d?"imports":"exports",C,T?h.replace(/\*/g,k):h+k);const fe=D(T?Y.replace(/\*/g,k):Y+k),Q=U(fe,k,vs(f.packageDirectory,"package.json"),d);return Q||Op(rk(f,nie(e,fe,!1,t)))}else if(typeof h=="object"&&h!==null)if(Array.isArray(h)){if(!G(h))return t.traceEnabled&&Fs(t.host,v.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,f.packageDirectory,l),Op(void 0);for(const B of h){const H=g(B,k,T,C);if(H)return H}}else{tS(t,v.Entering_conditional_exports);for(const B of Jy(h))if(B==="default"||t.conditions.indexOf(B)>=0||n9(t.conditions,B)){tS(t,v.Matched_0_condition_1,d?"imports":"exports",B);const H=h[B],Y=g(H,k,T,C);if(Y)return tS(t,v.Resolved_under_condition_0,B),tS(t,v.Exiting_conditional_exports),Y;tS(t,v.Failed_to_resolve_under_condition_0,B)}else tS(t,v.Saw_non_matching_condition_0,B);tS(t,v.Exiting_conditional_exports);return}else if(h===null)return t.traceEnabled&&Fs(t.host,v.package_json_scope_0_explicitly_maps_specifier_1_to_null,f.packageDirectory,l),Op(void 0);return t.traceEnabled&&Fs(t.host,v.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,f.packageDirectory,l),Op(void 0);function D(B){var H,Y;return B===void 0?B:ua(B,(Y=(H=t.host).getCurrentDirectory)==null?void 0:Y.call(H))}function O(B,H){return Vf(vs(B,H))}function M(){return t.host.useCaseSensitiveFileNames?typeof t.host.useCaseSensitiveFileNames=="boolean"?t.host.useCaseSensitiveFileNames:t.host.useCaseSensitiveFileNames():!0}function U(B,H,Y,Z){var fe,Q,he,W;if(!t.isConfigLookup&&(t.compilerOptions.declarationDir||t.compilerOptions.outDir)&&B.indexOf("/node_modules/")===-1&&(!t.compilerOptions.configFile||gv(f.packageDirectory,D(t.compilerOptions.configFile.fileName),!M()))){const de=a1({useCaseSensitiveFileNames:M}),Ce=[];if(t.compilerOptions.rootDir||t.compilerOptions.composite&&t.compilerOptions.configFilePath){const K=D(m9(t.compilerOptions,()=>[],((Q=(fe=t.host).getCurrentDirectory)==null?void 0:Q.call(fe))||"",de));Ce.push(K)}else if(t.requestContainingDirectory){const K=D(vs(t.requestContainingDirectory,"index.ts")),ce=D(m9(t.compilerOptions,()=>[K,D(Y)],((W=(he=t.host).getCurrentDirectory)==null?void 0:W.call(he))||"",de));Ce.push(ce);let le=Vf(ce);for(;le&&le.length>1;){const xe=Ou(le);xe.pop();const we=mv(xe);Ce.unshift(we),le=Vf(we)}}Ce.length>1&&t.reportDiagnostic(Cl(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,H===""?".":H,Y));for(const K of Ce){const ce=ye(K);for(const le of ce)if(gv(le,B,!M())){const xe=B.slice(le.length+1),we=vs(K,xe),Ie=[".mjs",".cjs",".js",".json",".d.mts",".d.cts",".d.ts"];for(const ue of Ie)if(Vl(we,ue)){const ut=VTe(we);for(const Ge of ut){if(!sie(e,Ge))continue;const qe=bK(we,Ge,ue,!M());if(t.host.fileExists(qe))return Op(rk(f,nie(e,qe,!1,t)))}}}}}return;function ye(de){var Ce,K;const ce=t.compilerOptions.configFile?((K=(Ce=t.host).getCurrentDirectory)==null?void 0:K.call(Ce))||"":de,le=[];return t.compilerOptions.declarationDir&&le.push(D(O(ce,t.compilerOptions.declarationDir))),t.compilerOptions.outDir&&t.compilerOptions.outDir!==t.compilerOptions.declarationDir&&le.push(D(O(ce,t.compilerOptions.outDir))),le}}}}function n9(e,t){if(e.indexOf("types")===-1||!Xs(t,"types@"))return!1;const n=tP.tryParse(t.substring(6));return n?n.test(N):!1}function hwe(e,t,n,s,l,f){return gwe(e,t,n,s,!1,l,f)}function oet(e,t,n){return gwe(4,e,t,n,!0,void 0,void 0)}function gwe(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 C=T(h);if(C)return C}if(k&&!l)return T(k);function T(C){return zy(Qu(n),D=>{if(Xu(D)!=="node_modules"){const O=Twe(f,t,g,D,d,s);return O||Op(ywe(C,t,D,s,l,f,d))}})}}function ywe(e,t,n,s,l,f,d){const g=vs(n,"node_modules"),h=Pm(g,s.host);if(!h&&s.traceEnabled&&Fs(s.host,v.Directory_0_does_not_exist_skipping_all_lookups_in_it,g),!l){const k=vwe(e,t,g,h,s,f,d);if(k)return k}if(e&4){const k=vs(g,"@types");let T=h;return h&&!Pm(k,s.host)&&(s.traceEnabled&&Fs(s.host,v.Directory_0_does_not_exist_skipping_all_lookups_in_it,k),T=!1),vwe(4,bwe(t,s),k,T,s,f,d)}}function vwe(e,t,n,s,l,f,d){var g,h;const k=So(vs(n,t)),{packageName:T,rest:C}=aie(t),D=vs(n,T);let O,M=eS(k,!s,l);if(C!==""&&M&&(!(l.features&8)||!uc(((g=O=eS(D,!s,l))==null?void 0:g.contents.packageJsonContent)??ft,"exports"))){const H=$w(e,k,!s,l);if(H)return YU(H);const Y=az(e,k,!s,l,M.contents.packageJsonContent,r9(M,l));return rk(M,Y)}const U=(H,Y,Z,fe)=>{let Q=(C||!(fe.features&32))&&$w(H,Y,Z,fe)||az(H,Y,Z,fe,M&&M.contents.packageJsonContent,M&&r9(M,fe));return!Q&&M&&(M.contents.packageJsonContent.exports===void 0||M.contents.packageJsonContent.exports===null)&&fe.features&32&&(Q=$w(H,vs(Y,"index.js"),Z,fe)),rk(M,Q)};if(C!==""&&(M=O??eS(D,!s,l)),M&&M.contents.packageJsonContent.exports&&l.features&8)return(h=oie(M,e,vs(".",C),l,f,d))==null?void 0:h.value;const B=C!==""&&M?r9(M,l):void 0;if(B){l.traceEnabled&&Fs(l.host,v.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,B.version,N,C);const H=s&&Pm(D,l.host),Y=lie(e,C,D,B.paths,void 0,U,!H,l);if(Y)return Y.value}return U(e,k,!s,l)}function lie(e,t,n,s,l,f,d,g){l||(l=SJ(s));const h=jte(l,t);if(h){const k=Wa(h)?void 0:jve(h,t),T=Wa(h)?h:Bve(h);return g.traceEnabled&&Fs(g.host,v.Module_name_0_matched_pattern_1,t,T),{value:te(s[T],D=>{const O=k?D.replace("*",k):D,M=So(vs(n,O));g.traceEnabled&&Fs(g.host,v.Trying_substitution_0_candidate_module_location_Colon_1,D,O);const U=Kg(D);if(U!==void 0){const B=t9(M,d,g);if(B!==void 0)return YU({path:B,ext:U,resolvedUsingTsExtension:void 0})}return f(e,M,d||!Pm(cs(M),g.host),g)})}}}function bwe(e,t){const n=UD(e);return t.traceEnabled&&n!==e&&Fs(t.host,v.Scoped_package_detected_looking_in_0,n),n}function cz(e){return`@types/${UD(e)}`}function UD(e){if(Xs(e,"@")){const t=e.replace(zc,uz);if(t!==e)return t.slice(1)}return e}function i9(e){const t=K3(e,"@types/");return t!==e?lz(t):e}function lz(e){return rf(e,uz)?"@"+e.replace(uz,zc):e}function Twe(e,t,n,s,l,f){const d=e&&e.getFromNonRelativeNameCache(t,n,s,l);if(d)return f.traceEnabled&&Fs(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 Swe(e,t,n,s,l,f){const d=n0(n,s),g=[],h=[],k=cs(t),T=[],C={compilerOptions:n,host:s,traceEnabled:d,failedLookupLocations:g,affectingLocations:h,packageJsonInfoCache:l,features:0,conditions:[],requestContainingDirectory:k,reportDiagnostic:M=>void T.push(M),isConfigLookup:!1,candidateIsFromPackageJsonField:!1},D=O(5)||O(2|(n.resolveJsonModule?8:0));return QCe(e,D&&D.value,(D==null?void 0:D.value)&&eA(D.value.path),g,h,T,C);function O(M){const U=nwe(M,e,k,rie,C);if(U)return{value:U};if(Lu(e)){const B=So(vs(k,e));return Op(rie(M,B,!1,C))}else{const B=zy(k,H=>{const Y=Twe(l,e,void 0,H,f,C);if(Y)return Y;const Z=So(vs(H,e));return Op(rie(M,Z,!1,C))});if(B)return B;if(M&5){let H=oet(e,k,C);return M&4&&(H??(H=xwe(e,C))),H}}}}function xwe(e,t){if(t.compilerOptions.typeRoots)for(const n of t.compilerOptions.typeRoots){const s=ewe(n,e,t),l=Pm(n,t.host);!l&&t.traceEnabled&&Fs(t.host,v.Directory_0_does_not_exist_skipping_all_lookups_in_it,n);const f=$w(4,s,!l,t);if(f){const g=e9(f.path),h=g?eS(g,!1,t):void 0;return Op(rk(h,f))}const d=iie(4,s,!l,t);if(d)return Op(d)}}function tA(e,t){return!!e.allowImportingTsExtensions||t&&S_(t)}function kwe(e,t,n,s,l,f){const d=n0(n,s);d&&Fs(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=[],T={compilerOptions:n,host:s,traceEnabled:d,failedLookupLocations:g,affectingLocations:h,packageJsonInfoCache:f,features:0,conditions:[],requestContainingDirectory:void 0,reportDiagnostic:D=>void k.push(D),isConfigLookup:!1,candidateIsFromPackageJsonField:!1},C=ywe(4,e,l,T,!1,void 0,void 0);return YCe(C,!0,g,h,k,T.resultFromCache)}function Op(e){return e!==void 0?{value:e}:void 0}function tS(e,t,...n){e.traceEnabled&&Fs(e.host,t,...n)}var uie,Cwe,fie,h1,uz,cet=p({"src/compiler/moduleNameResolver.ts"(){Ba(),Cwe=vs("node_modules","@types"),fie=(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))(fie||{}),h1="/node_modules/",uz="__"}});function i0(e,t){return e.body&&!e.body.parent&&(ko(e.body,e),Iv(e.body,!1)),e.body?_ie(e.body,t):1}function _ie(e,t=new Map){const n=Jo(e);if(t.has(n))return t.get(n)||0;t.set(n,void 0);const s=uet(e,t);return t.set(n,s),s}function uet(e,t){switch(e.kind){case 263:case 264:return 0;case 265:if(IT(e))return 2;break;case 271:case 270:if(!gi(e,1))return 0;break;case 277:const n=e;if(!n.moduleSpecifier&&n.exportClause&&n.exportClause.kind===278){let s=0;for(const l of n.exportClause.elements){const f=fet(l,t);if(f>s&&(s=f),s===1)return s}return s}break;case 267:{let s=0;return _a(e,l=>{const f=_ie(l,t);switch(f){case 0:return;case 2:s=2;return;case 1:return s=1,!0;default:R.assertNever(f)}}),s}case 266:return i0(e,t);case 80:if(e.flags&2048)return 0}return 1}function fet(e,t){const n=e.propertyName||e.name;let s=e.parent;for(;s;){if(Pa(s)||yh(s)||Cs(s)){const l=s.statements;let f;for(const d of l)if(FI(d,n)){d.parent||(ko(d,s),Iv(d,!1));const g=_ie(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 ik(e){return R.attachFlowNodeDebugInfo(e),e}function wwe(e,t){var n,s;vc("beforeBind"),(n=uh)==null||n.logStartBindFile(""+e.fileName),Pwe(e,t),(s=uh)==null||s.logStopBindFile(),vc("afterBind"),xp("Bind","beforeBind","afterBind")}function _et(){var e,t,n,s,l,f,d,g,h,k,T,C,D,O,M,U,B,H,Y,Z,fe,Q,he=!1,W=0,ye,de,Ce={flags:1},K={flags:1},ce=L();return xe;function le(X,nt,...nr){return Dd(pn(X)||e,X,nt,...nr)}function xe(X,nt){var nr,On;e=X,t=nt,n=Eo(t),Q=we(e,nt),de=new Set,W=0,ye=Ru.getSymbolConstructor(),R.attachFlowNodeDebugInfo(Ce),R.attachFlowNodeDebugInfo(K),e.locals||((nr=qi)==null||nr.push(qi.Phase.Bind,"bindSourceFile",{path:e.path},!0),Rt(e),(On=qi)==null||On.pop(),e.symbolCount=W,e.classifiableNames=de,Nl()),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,T=void 0,C=void 0,D=void 0,O=void 0,M=void 0,U=void 0,B=void 0,Y=void 0,Z=!1,he=!1,fe=0}function we(X,nt){return Md(nt,"alwaysStrict")&&!X.isDeclarationFile?!0:!!X.externalModuleIndicator}function Ie(X,nt){return W++,new ye(X,nt)}function ue(X,nt,nr){X.flags|=nr,nt.symbol=X,X.declarations=n_(X.declarations,nt),nr&1955&&!X.exports&&(X.exports=za()),nr&6240&&!X.members&&(X.members=za()),X.constEnumOnlyModule&&X.flags&304&&(X.constEnumOnlyModule=!1),nr&111551&&_5(X,nt)}function ut(X){if(X.kind===276)return X.isExportEquals?"export=":"default";const nt=ia(X);if(nt){if($f(X)){const nr=em(nt);return dh(X)?"__global":`"${nr}"`}if(nt.kind===166){const nr=nt.expression;if(ud(nr))return $c(nr.text);if(Qj(nr))return io(nr.operator)+nr.operand.text;R.fail("Only computed properties with literal names have declaration names")}if(fs(nt)){const nr=_u(X);if(!nr)return;const On=nr.symbol;return C5(On,nt.escapedText)}return Th(nt)?E4(nt):Kd(nt)?OP(nt):void 0}switch(X.kind){case 175:return"__constructor";case 183:case 178:case 329:return"__call";case 184:case 179:return"__new";case 180:return"__index";case 277:return"__export";case 311:return"export=";case 225:if(dl(X)===2)return"export=";R.fail("Unknown binary declaration kind");break;case 323:return c4(X)?"__new":"__call";case 168:return R.assert(X.parent.kind===323,"Impossible parameter parent kind",()=>`parent is: ${R.formatSyntaxKind(X.parent.kind)}, expected JSDocFunctionType`),"arg"+X.parent.parameters.indexOf(X)}}function Ge(X){return bf(X)?ac(X.name):xs(R.checkDefined(ut(X)))}function qe(X,nt,nr,On,pa,ns,zs){R.assert(zs||!s1(nr));const ba=gi(nr,1024)||T_(nr)&&nr.name.escapedText==="default",Ic=zs?"__computed":ba&&nt?"default":ut(nr);let Po;if(Ic===void 0)Po=Ie(0,"__missing");else if(Po=X.get(Ic),On&2885600&&de.add(Ic),!Po)X.set(Ic,Po=Ie(0,Ic)),ns&&(Po.isReplaceableByMethod=!0);else{if(ns&&!Po.isReplaceableByMethod)return Po;if(Po.flags&pa){if(Po.isReplaceableByMethod)X.set(Ic,Po=Ie(0,Ic));else if(!(On&3&&Po.flags&67108864)){bf(nr)&&ko(nr.name,nr);let Kl=Po.flags&2?v.Cannot_redeclare_block_scoped_variable_0:v.Duplicate_identifier_0,Bp=!0;(Po.flags&384||On&384)&&(Kl=v.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,Bp=!1);let z_=!1;G(Po.declarations)&&(ba||Po.declarations&&Po.declarations.length&&nr.kind===276&&!nr.isExportEquals)&&(Kl=v.A_module_cannot_have_multiple_default_exports,Bp=!1,z_=!0);const xh=[];Mm(nr)&&pl(nr.type)&&gi(nr,1)&&Po.flags&2887656&&xh.push(le(nr,v.Did_you_mean_0,`export type { ${xs(nr.name.escapedText)} }`));const Vm=ia(nr)||nr;te(Po.declarations,(Re,lt)=>{const St=ia(Re)||Re,dr=Bp?le(St,Kl,Ge(Re)):le(St,Kl);e.bindDiagnostics.push(z_?ho(dr,le(Vm,lt===0?v.Another_export_default_is_here:v.and_here)):dr),z_&&xh.push(le(St,v.The_first_export_default_is_here))});const fm=Bp?le(Vm,Kl,Ge(nr)):le(Vm,Kl);e.bindDiagnostics.push(ho(fm,...xh)),Po=Ie(0,Ic)}}}return ue(Po,nr,On),Po.parent?R.assert(Po.parent===nt,"Existing symbol parent should match new one"):Po.parent=nt,Po}function Ke(X,nt,nr){const On=!!(t1(X)&1)||Me(X);if(nt&2097152)return X.kind===280||X.kind===270&&On?qe(l.symbol.exports,l.symbol,X,nt,nr):(R.assertNode(l,Qh),qe(l.locals,void 0,X,nt,nr));if(Id(X)&&R.assert(Mn(X)),!$f(X)&&(On||l.flags&64)){if(!Qh(l)||!l.locals||gi(X,1024)&&!ut(X))return qe(l.symbol.exports,l.symbol,X,nt,nr);const pa=nt&111551?1048576:0,ns=qe(l.locals,void 0,X,pa,nr);return ns.exportSymbol=qe(l.symbol.exports,l.symbol,X,nt,nr),X.localSymbol=ns,ns}else return R.assertNode(l,Qh),qe(l.locals,void 0,X,nt,nr)}function Me(X){if(X.parent&&Al(X)&&(X=X.parent),!Id(X))return!1;if(!CO(X)&&X.fullName)return!0;const nt=ia(X);return nt?!!(F5(nt.parent)&&ti(nt.parent)||Sf(nt.parent)&&t1(nt.parent)&1):!1}function ze(X,nt){const nr=l,On=f,pa=d;if(nt&1?(X.kind!==218&&(f=l),l=d=X,nt&32&&(l.locals=za(),Ys(l))):nt&2&&(d=X,nt&32&&(d.locals=void 0)),nt&4){const ns=T,zs=C,ba=D,Ic=O,Po=B,Kl=Y,Bp=Z,z_=nt&16&&!gi(X,512)&&!X.asteriskToken&&!!Ox(X)||X.kind===174;z_||(T=ik({flags:2}),nt&144&&(T.node=X)),O=z_||X.kind===175||Mn(X)&&(X.kind===261||X.kind===217)?Ht():void 0,B=void 0,C=void 0,D=void 0,Y=void 0,Z=!1,_t(X),X.flags&=-2817,!(T.flags&1)&&nt&8&&Pd(X.body)&&(X.flags|=256,Z&&(X.flags|=512),X.endFlowNode=T),X.kind===311&&(X.flags|=fe,X.endFlowNode=T),O&&(Cn(O,T),T=Pt(O),(X.kind===175||X.kind===174||Mn(X)&&(X.kind===261||X.kind===217))&&(X.returnFlowNode=T)),z_||(T=ns),C=zs,D=ba,O=Ic,B=Po,Y=Kl,Z=Bp}else nt&64?(k=!1,_t(X),R.assertNotNode(X,He),X.flags=k?X.flags|128:X.flags&-129):_t(X);l=nr,f=On,d=pa}function st(X){et(X,nt=>nt.kind===261?Rt(nt):void 0),et(X,nt=>nt.kind!==261?Rt(nt):void 0)}function et(X,nt=Rt){X!==void 0&&te(X,nt)}function je(X){_a(X,Rt,et)}function _t(X){const nt=he;if(he=!1,yg(X)){je(X),In(X),he=nt;return}switch(X.kind>=242&&X.kind<=258&&!t.allowUnreachableCode&&(X.flowNode=T),X.kind){case 246:Er(X);break;case 245:rn(X);break;case 247:qr(X);break;case 248:case 249:xi(X);break;case 244:pt(X);break;case 252:case 256:Nt(X);break;case 251:case 250:rr(X);break;case 257:se(X);break;case 254:at(X);break;case 268:xt(X);break;case 295:ae(X);break;case 243:mt(X);break;case 255:Fe(X);break;case 223:ii(X);break;case 224:Gn(X);break;case 225:if(c1(X)){he=nt,Rn(X);return}ce(X);break;case 219:Se(X);break;case 226:pe(X);break;case 259:ve(X);break;case 210:case 211:rs(X);break;case 212:qs(X);break;case 234:Vi(X);break;case 352:case 344:case 346:Qt(X);break;case 311:{st(X.statements),Rt(X.endOfFileToken);break}case 240:case 267:st(X.statements);break;case 207:Te(X);break;case 168:ee(X);break;case 209:case 208:case 302:case 229:he=nt;default:je(X);break}In(X),he=nt}function Lt(X){switch(X.kind){case 80:case 81:case 110:case 210:case 211:return Xt(X);case 212:return Ye(X);case 216:case 234:return Lt(X.expression);case 225:return vr(X);case 223:return X.operator===54&&Lt(X.operand);case 220:return Lt(X.expression)}return!1}function Dt(X){return UP(X)||(ai(X)||Mw(X)||j_(X))&&Dt(X.expression)||Bn(X)&&X.operatorToken.kind===28&&Dt(X.right)||Pc(X)&&(ud(X.argumentExpression)||kl(X.argumentExpression))&&Dt(X.expression)||o_(X)&&Dt(X.left)}function Xt(X){return Dt(X)||Tf(X)&&Xt(X.expression)}function Ye(X){if(X.arguments){for(const nt of X.arguments)if(Xt(nt))return!0}return!!(X.expression.kind===210&&Xt(X.expression.expression))}function Bt(X,nt){return F4(X)&&Ar(X.expression)&&Yo(nt)}function vr(X){switch(X.operatorToken.kind){case 64:case 76:case 77:case 78:return Xt(X.left);case 35:case 36:case 37:case 38:return Ar(X.left)||Ar(X.right)||Bt(X.right,X.left)||Bt(X.left,X.right);case 104:return Ar(X.left);case 103:return Lt(X.right);case 28:return Lt(X.right)}return!1}function Ar(X){switch(X.kind){case 216:return Ar(X.expression);case 225:switch(X.operatorToken.kind){case 64:return Ar(X.left);case 28:return Ar(X.right)}}return Xt(X)}function Ht(){return ik({flags:4,antecedents:void 0})}function tn(){return ik({flags:8,antecedents:void 0})}function hn(X,nt,nr){return ik({flags:1024,target:X,antecedents:nt,antecedent:nr})}function Br(X){X.flags|=X.flags&2048?4096:2048}function Cn(X,nt){!(nt.flags&1)&&!kt(X.antecedents,nt)&&((X.antecedents||(X.antecedents=[])).push(nt),Br(nt))}function ci(X,nt,nr){return nt.flags&1?nt:nr?(nr.kind===112&&X&64||nr.kind===97&&X&32)&&!KB(nr)&&!JK(nr.parent)?Ce:Lt(nr)?(Br(nt),ik({flags:X,antecedent:nt,node:nr})):nt:X&32?nt:Ce}function Ji(X,nt,nr,On){return Br(X),ik({flags:128,antecedent:X,switchStatement:nt,clauseStart:nr,clauseEnd:On})}function ws(X,nt,nr){Br(nt);const On=ik({flags:X,antecedent:nt,node:nr});return B&&Cn(B,On),On}function ui(X,nt){return Br(X),ik({flags:512,antecedent:X,node:nt})}function Pt(X){const nt=X.antecedents;return nt?nt.length===1?nt[0]:X:Ce}function Dr(X){const nt=X.parent;switch(nt.kind){case 244:case 246:case 245:return nt.expression===X;case 247:case 226:return nt.condition===X}return!1}function Kt(X){for(;;)if(X.kind===216)X=X.expression;else if(X.kind===223&&X.operator===54)X=X.operand;else return L5(X)}function Qr(X){return dte(Tc(X))}function _n(X){for(;j_(X.parent)||i2(X.parent)&&X.parent.operator===54;)X=X.parent;return!Dr(X)&&!Kt(X.parent)&&!(Tf(X.parent)&&X.parent.expression===X)}function Nn(X,nt,nr,On){const pa=M,ns=U;M=nr,U=On,X(nt),M=pa,U=ns}function ks(X,nt,nr){Nn(Rt,X,nt,nr),(!X||!Qr(X)&&!Kt(X)&&!(Tf(X)&&dP(X)))&&(Cn(nt,ci(32,T,X)),Cn(nr,ci(64,T,X)))}function ls(X,nt,nr){const On=C,pa=D;C=nt,D=nr,Rt(X),C=On,D=pa}function Yr(X,nt){let nr=Y;for(;nr&&X.parent.kind===255;)nr.continueTarget=nt,nr=nr.next,X=X.parent;return nt}function Er(X){const nt=Yr(X,tn()),nr=Ht(),On=Ht();Cn(nt,T),T=nt,ks(X.expression,nr,On),T=Pt(nr),ls(X.statement,On,nt),Cn(nt,T),T=Pt(On)}function rn(X){const nt=tn(),nr=Yr(X,Ht()),On=Ht();Cn(nt,T),T=nt,ls(X.statement,On,nr),Cn(nr,T),T=Pt(nr),ks(X.expression,nt,On),T=Pt(On)}function qr(X){const nt=Yr(X,tn()),nr=Ht(),On=Ht();Rt(X.initializer),Cn(nt,T),T=nt,ks(X.condition,nr,On),T=Pt(nr),ls(X.statement,On,nt),Rt(X.incrementor),Cn(nt,T),T=Pt(On)}function xi(X){const nt=Yr(X,tn()),nr=Ht();Rt(X.expression),Cn(nt,T),T=nt,X.kind===249&&Rt(X.awaitModifier),Cn(nr,T),Rt(X.initializer),X.initializer.kind!==260&&zt(X.initializer),ls(X.statement,nr,nt),Cn(nt,T),T=Pt(nr)}function pt(X){const nt=Ht(),nr=Ht(),On=Ht();ks(X.expression,nt,nr),T=Pt(nt),Rt(X.thenStatement),Cn(On,T),T=Pt(nr),Rt(X.elseStatement),Cn(On,T),T=Pt(On)}function Nt(X){Rt(X.expression),X.kind===252&&(Z=!0,O&&Cn(O,T)),T=Ce}function dt(X){for(let nt=Y;nt;nt=nt.next)if(nt.name===X)return nt}function Ut(X,nt,nr){const On=X.kind===251?nt:nr;On&&(Cn(On,T),T=Ce)}function rr(X){if(Rt(X.label),X.label){const nt=dt(X.label.escapedText);nt&&(nt.referenced=!0,Ut(X,nt.breakTarget,nt.continueTarget))}else Ut(X,C,D)}function se(X){const nt=O,nr=B,On=Ht(),pa=Ht();let ns=Ht();if(X.finallyBlock&&(O=pa),Cn(ns,T),B=ns,Rt(X.tryBlock),Cn(On,T),X.catchClause&&(T=Pt(ns),ns=Ht(),Cn(ns,T),B=ns,Rt(X.catchClause),Cn(On,T)),O=nt,B=nr,X.finallyBlock){const zs=Ht();zs.antecedents=wr(wr(On.antecedents,ns.antecedents),pa.antecedents),T=zs,Rt(X.finallyBlock),T.flags&1?T=Ce:(O&&pa.antecedents&&Cn(O,hn(zs,pa.antecedents,T)),B&&ns.antecedents&&Cn(B,hn(zs,ns.antecedents,T)),T=On.antecedents?hn(zs,On.antecedents,T):Ce)}else T=Pt(On)}function at(X){const nt=Ht();Rt(X.expression);const nr=C,On=H;C=nt,H=T,Rt(X.caseBlock),Cn(nt,T);const pa=te(X.caseBlock.clauses,ns=>ns.kind===296);X.possiblyExhaustive=!pa&&!nt.antecedents,pa||Cn(nt,Ji(H,X,0,0)),C=nr,H=On,T=Pt(nt)}function xt(X){const nt=X.clauses,nr=Lt(X.parent.expression);let On=Ce;for(let pa=0;pa<nt.length;pa++){const ns=pa;for(;!nt[pa].statements.length&&pa+1<nt.length;)Rt(nt[pa]),pa++;const zs=Ht();Cn(zs,nr?Ji(H,X.parent,ns,pa+1):H),Cn(zs,On),T=Pt(zs);const ba=nt[pa];Rt(ba),On=T,!(T.flags&1)&&pa!==nt.length-1&&t.noFallthroughCasesInSwitch&&(ba.fallthroughFlowNode=T)}}function ae(X){const nt=T;T=H,Rt(X.expression),T=nt,et(X.statements)}function mt(X){Rt(X.expression),_r(X.expression)}function _r(X){if(X.kind===212){const nt=X;nt.expression.kind!==108&&UP(nt.expression)&&(T=ui(T,nt))}}function Fe(X){const nt=Ht();Y={next:Y,name:X.label.escapedText,breakTarget:nt,continueTarget:void 0,referenced:!1},Rt(X.label),Rt(X.statement),!Y.referenced&&!t.allowUnusedLabels&&ie(OSe(t),X.label,v.Unused_label),Y=Y.next,Cn(nt,T),T=Pt(nt)}function Gt(X){X.kind===225&&X.operatorToken.kind===64?zt(X.left):zt(X)}function zt(X){if(Dt(X))T=ws(16,T,X);else if(X.kind===208)for(const nt of X.elements)nt.kind===229?zt(nt.expression):Gt(nt);else if(X.kind===209)for(const nt of X.properties)nt.kind===302?Gt(nt.initializer):nt.kind===303?zt(nt.name):nt.kind===304&&zt(nt.expression)}function Lr(X,nt,nr){const On=Ht();X.operatorToken.kind===56||X.operatorToken.kind===77?ks(X.left,On,nr):ks(X.left,nt,On),T=Pt(On),Rt(X.operatorToken),JP(X.operatorToken.kind)?(Nn(Rt,X.right,nt,nr),zt(X.left),Cn(nt,ci(32,T,X)),Cn(nr,ci(64,T,X))):ks(X.right,nt,nr)}function ii(X){if(X.operator===54){const nt=M;M=U,U=nt,je(X),U=M,M=nt}else je(X),(X.operator===46||X.operator===47)&&zt(X.operand)}function Gn(X){je(X),(X.operator===46||X.operator===47)&&zt(X.operand)}function Rn(X){he?(he=!1,Rt(X.operatorToken),Rt(X.right),he=!0,Rt(X.left)):(he=!0,Rt(X.left),he=!1,Rt(X.operatorToken),Rt(X.right)),zt(X.left)}function L(){return NU(X,nt,nr,On,pa,void 0);function X(zs,ba){if(ba){ba.stackIndex++,ko(zs,s);const Po=Q;di(zs);const Kl=s;s=zs,ba.skip=!1,ba.inStrictModeStack[ba.stackIndex]=Po,ba.parentStack[ba.stackIndex]=Kl}else ba={stackIndex:0,skip:!1,inStrictModeStack:[void 0],parentStack:[void 0]};const Ic=zs.operatorToken.kind;if(O5(Ic)||JP(Ic)){if(_n(zs)){const Po=Ht();Lr(zs,Po,Po),T=Pt(Po)}else Lr(zs,M,U);ba.skip=!0}return ba}function nt(zs,ba,Ic){if(!ba.skip){const Po=ns(zs);return Ic.operatorToken.kind===28&&_r(zs),Po}}function nr(zs,ba,Ic){ba.skip||Rt(zs)}function On(zs,ba,Ic){if(!ba.skip){const Po=ns(zs);return Ic.operatorToken.kind===28&&_r(zs),Po}}function pa(zs,ba){if(!ba.skip){const Kl=zs.operatorToken.kind;if(o1(Kl)&&!Qg(zs)&&(zt(zs.left),Kl===64&&zs.left.kind===211)){const Bp=zs.left;Ar(Bp.expression)&&(T=ws(256,T,zs))}}const Ic=ba.inStrictModeStack[ba.stackIndex],Po=ba.parentStack[ba.stackIndex];Ic!==void 0&&(Q=Ic),Po!==void 0&&(s=Po),ba.skip=!1,ba.stackIndex--}function ns(zs){if(zs&&Bn(zs)&&!c1(zs))return zs;Rt(zs)}}function Se(X){je(X),X.expression.kind===210&&zt(X.expression)}function pe(X){const nt=Ht(),nr=Ht(),On=Ht();ks(X.condition,nt,nr),T=Pt(nt),Rt(X.questionToken),Rt(X.whenTrue),Cn(On,T),T=Pt(nr),Rt(X.colonToken),Rt(X.whenFalse),Cn(On,T),T=Pt(On)}function ke(X){const nt=bu(X)?void 0:X.name;if(Fa(nt))for(const nr of nt.elements)ke(nr);else T=ws(16,T,X)}function ve(X){je(X),(X.initializer||V6(X.parent.parent))&&ke(X)}function Te(X){Rt(X.dotDotDotToken),Rt(X.propertyName),vt(X.initializer),Rt(X.name)}function ee(X){et(X.modifiers),Rt(X.dotDotDotToken),Rt(X.questionToken),Rt(X.type),vt(X.initializer),Rt(X.name)}function vt(X){if(!X)return;const nt=T;if(Rt(X),nt===Ce||nt===T)return;const nr=Ht();Cn(nr,nt),Cn(nr,T),T=Pt(nr)}function Qt(X){Rt(X.tagName),X.kind!==346&&X.fullName&&(ko(X.fullName,X),Iv(X.fullName,!1)),typeof X.comment!="string"&&et(X.comment)}function ht(X){je(X);const nt=Qb(X);nt&&nt.kind!==173&&ue(nt.symbol,nt,32)}function Vt(X,nt,nr){Nn(Rt,X,nt,nr),(!Tf(X)||dP(X))&&(Cn(nt,ci(32,T,X)),Cn(nr,ci(64,T,X)))}function Nr(X){switch(X.kind){case 210:Rt(X.questionDotToken),Rt(X.name);break;case 211:Rt(X.questionDotToken),Rt(X.argumentExpression);break;case 212:Rt(X.questionDotToken),et(X.typeArguments),et(X.arguments);break}}function Pn(X,nt,nr){const On=pP(X)?Ht():void 0;Vt(X.expression,On||nt,nr),On&&(T=Pt(On)),Nn(Nr,X,nt,nr),dP(X)&&(Cn(nt,ci(32,T,X)),Cn(nr,ci(64,T,X)))}function bi(X){if(_n(X)){const nt=Ht();Pn(X,nt,nt),T=Pt(nt)}else Pn(X,M,U)}function Vi(X){Tf(X)?bi(X):je(X)}function rs(X){Tf(X)?bi(X):je(X)}function qs(X){if(Tf(X))bi(X);else{const nt=Tc(X.expression);nt.kind===217||nt.kind===218?(et(X.typeArguments),et(X.arguments),Rt(X.expression)):(je(X),X.expression.kind===108&&(T=ui(T,X)))}if(X.expression.kind===210){const nt=X.expression;He(nt.name)&&Ar(nt.expression)&&Xee(nt.name)&&(T=ws(256,T,X))}}function Ys(X){g&&(g.nextContainer=X),g=X}function Oi(X,nt,nr){switch(l.kind){case 266:return Ke(X,nt,nr);case 311:return Es(X,nt,nr);case 230:case 262:return Js(X,nt,nr);case 265:return qe(l.symbol.exports,l.symbol,X,nt,nr);case 186:case 328:case 209:case 263:case 291:return qe(l.symbol.members,l.symbol,X,nt,nr);case 183:case 184:case 178:case 179:case 329:case 180:case 173:case 172:case 175:case 176:case 177:case 261:case 217:case 218:case 323:case 174:case 264:case 199:return l.locals&&R.assertNode(l,Qh),qe(l.locals,void 0,X,nt,nr)}}function Js(X,nt,nr){return Aa(X)?qe(l.symbol.exports,l.symbol,X,nt,nr):qe(l.symbol.members,l.symbol,X,nt,nr)}function Es(X,nt,nr){return Ul(e)?Ke(X,nt,nr):qe(e.locals,void 0,X,nt,nr)}function Li(X){const nt=Cs(X)?X:wi(X.body,yh);return!!nt&&nt.statements.some(nr=>Ju(nr)||Pl(nr))}function Zs(X){X.flags&16777216&&!Li(X)?X.flags|=64:X.flags&=-65}function Hc(X){if(Zs(X),$f(X))if(gi(X,1)&&be(X,v.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),gee(X))rc(X);else{let nt;if(X.name.kind===11){const{text:On}=X.name;nt=S4(On),nt===void 0&&be(X.name,v.Pattern_0_can_have_at_most_one_Asterisk_character,On)}const nr=Oi(X,512,110735);e.patternAmbientModules=zr(e.patternAmbientModules,nt&&!Wa(nt)?{pattern:nt,symbol:nr}:void 0)}else{const nt=rc(X);if(nt!==0){const{symbol:nr}=X;nr.constEnumOnlyModule=!(nr.flags&304)&&nt===2&&nr.constEnumOnlyModule!==!1}}}function rc(X){const nt=i0(X),nr=nt!==0;return Oi(X,nr?512:1024,nr?110735:0),nt}function nn(X){const nt=Ie(131072,ut(X));ue(nt,X,131072);const nr=Ie(2048,"__type");ue(nr,X,2048),nr.members=za(),nr.members.set(nt.escapedName,nt)}function ta(X){return Rc(X,4096,"__object")}function Za(X){return Rc(X,4096,"__jsxAttributes")}function ga(X,nt,nr){return Oi(X,nt,nr)}function Rc(X,nt,nr){const On=Ie(nt,nr);return nt&106508&&(On.parent=l.symbol),ue(On,X,nt),On}function Dl(X,nt,nr){switch(d.kind){case 266:Ke(X,nt,nr);break;case 311:if(Pp(l)){Ke(X,nt,nr);break}default:R.assertNode(d,Qh),d.locals||(d.locals=za(),Ys(d)),qe(d.locals,void 0,X,nt,nr)}}function Nl(){if(!h)return;const X=l,nt=g,nr=d,On=s,pa=T;for(const ns of h){const zs=ns.parent.parent;l=mn(zs.parent,Ic=>!!(Awe(Ic)&1))||e,d=Kh(zs)||e,T=ik({flags:2}),s=ns,Rt(ns.typeExpression);const ba=ia(ns);if((CO(ns)||!ns.fullName)&&ba&&F5(ba.parent)){const Ic=ti(ba.parent);if(Ic){Cr(e.symbol,ba.parent,Ic,!!mn(ba,Kl=>ai(Kl)&&Kl.name.escapedText==="prototype"),!1);const Po=l;switch(u5(ba.parent)){case 1:case 2:Pp(e)?l=e:l=void 0;break;case 4:l=ba.parent.expression;break;case 3:l=ba.parent.expression.name;break;case 5:l=rS(e,ba.parent.expression)?e:ai(ba.parent.expression)?ba.parent.expression.name:ba.parent.expression;break;case 0:return R.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}l&&Ke(ns,524288,788968),l=Po}}else CO(ns)||!ns.fullName||ns.fullName.kind===80?(s=ns.parent,Dl(ns,524288,788968)):Rt(ns.fullName)}l=X,g=nt,d=nr,s=On,T=pa}function ku(X){if(!e.parseDiagnostics.length&&!(X.flags&16777216)&&!(X.flags&8388608)&&!OTe(X)){const nt=qb(X);if(nt===void 0)return;Q&&nt>=119&&nt<=127?e.bindDiagnostics.push(le(X,la(X),ac(X))):nt===135?Ul(e)&&Oj(X)?e.bindDiagnostics.push(le(X,v.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,ac(X))):X.flags&32768&&e.bindDiagnostics.push(le(X,v.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,ac(X))):nt===127&&X.flags&8192&&e.bindDiagnostics.push(le(X,v.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,ac(X)))}}function la(X){return _u(X)?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 Ns(X){X.escapedText==="#constructor"&&(e.parseDiagnostics.length||e.bindDiagnostics.push(le(X,v.constructor_is_a_reserved_word,ac(X))))}function Wl(X){Q&&L_(X.left)&&o1(X.operatorToken.kind)&&Vu(X,X.left)}function Gc(X){Q&&X.variableDeclaration&&Vu(X,X.variableDeclaration.name)}function Af(X){if(Q&&X.expression.kind===80){const nt=NT(e,X.expression);e.bindDiagnostics.push(vu(e,nt.start,nt.length,v.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function Zl(X){return He(X)&&(X.escapedText==="eval"||X.escapedText==="arguments")}function Vu(X,nt){if(nt&&nt.kind===80){const nr=nt;if(Zl(nr)){const On=NT(e,nt);e.bindDiagnostics.push(vu(e,On.start,On.length,pc(X),Zn(nr)))}}}function pc(X){return _u(X)?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 hl(X){Q&&Vu(X,X.name)}function Sc(X){return _u(X)?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 Jc(X){if(n<2&&d.kind!==311&&d.kind!==266&&!J6(d)){const nt=NT(e,X);e.bindDiagnostics.push(vu(e,nt.start,nt.length,Sc(X)))}}function br(X){Q&&Vu(X,X.operand)}function Bl(X){Q&&(X.operator===46||X.operator===47)&&Vu(X,X.operand)}function ff(X){Q&&be(X,v.with_statements_are_not_allowed_in_strict_mode)}function Cu(X){Q&&Eo(t)>=2&&(P2e(X.statement)||Yl(X.statement))&&be(X.label,v.A_label_is_not_allowed_here)}function be(X,nt,...nr){const On=eg(e,X.pos);e.bindDiagnostics.push(vu(e,On.start,On.length,nt,...nr))}function ie(X,nt,nr){Je(X,nt,nt,nr)}function Je(X,nt,nr,On){Et(X,{pos:Dx(nt,e),end:nr.end},On)}function Et(X,nt,nr){const On=vu(e,nt.pos,nt.end-nt.pos,nr);X?e.bindDiagnostics.push(On):e.bindSuggestionDiagnostics=zr(e.bindSuggestionDiagnostics,{...On,category:2})}function Rt(X){if(!X)return;ko(X,s),qi&&(X.tracingPath=e.path);const nt=Q;if(di(X),X.kind>164){const nr=s;s=X;const On=Awe(X);On===0?_t(X):ze(X,On),s=nr}else{const nr=s;X.kind===1&&(s=X),In(X),s=nr}Q=nt}function In(X){if(Ap(X))if(Mn(X))for(const nt of X.jsDoc)Rt(nt);else for(const nt of X.jsDoc)ko(nt,X),Iv(nt,!1)}function Wn(X){if(!Q)for(const nt of X){if(!Yd(nt))return;if(hi(nt)){Q=!0;return}}}function hi(X){const nt=PT(e,X.expression);return nt==='"use strict"'||nt==="'use strict'"}function di(X){switch(X.kind){case 80:if(X.flags&2048){let zs=X.parent;for(;zs&&!Id(zs);)zs=zs.parent;Dl(zs,524288,788968);break}case 110:return T&&(Ct(X)||s.kind===303)&&(X.flowNode=T),ku(X);case 165:T&&Bj(X)&&(X.flowNode=T);break;case 235:case 108:X.flowNode=T;break;case 81:return Ns(X);case 210:case 211:const nt=X;T&&Dt(nt)&&(nt.flowNode=T),STe(nt)&&sn(nt),Mn(nt)&&e.commonJsModuleIndicator&&Xg(nt)&&!s9(d,"module")&&qe(e.locals,void 0,nt.expression,134217729,111550);break;case 225:switch(dl(X)){case 1:Xc(X);break;case 2:wu(X);break;case 3:_e(X.left,X);break;case 6:Zi(X);break;case 4:x_(X);break;case 5:const zs=X.left.expression;if(Mn(X)&&He(zs)){const ba=s9(d,zs.escapedText);if(Lj(ba==null?void 0:ba.valueDeclaration)){x_(X);break}}Yt(X);break;case 0:break;default:R.fail("Unknown binary expression special property assignment kind")}return Wl(X);case 298:return Gc(X);case 219:return Af(X);case 224:return br(X);case 223:return Bl(X);case 253:return ff(X);case 255:return Cu(X);case 196:k=!0;return;case 181:break;case 167:return cy(X);case 168:return Rp(X);case 259:return zl(X);case 207:return X.flowNode=T,zl(X);case 171:case 170:return Us(X);case 302:case 303:return Pf(X,4,0);case 305:return Pf(X,8,900095);case 178:case 179:case 180:return Oi(X,131072,0);case 173:case 172:return Pf(X,8192|(X.questionToken?16777216:0),Zd(X)?0:103359);case 261:return f_(X);case 175:return Oi(X,16384,0);case 176:return Pf(X,32768,46015);case 177:return Pf(X,65536,78783);case 183:case 323:case 329:case 184:return nn(X);case 186:case 328:case 199:return Va(X);case 338:return ht(X);case 209:return ta(X);case 217:case 218:return up(X);case 212:switch(dl(X)){case 7:return bt(X);case 8:return Ku(X);case 9:return fa(X);case 0:break;default:return R.fail("Unknown call expression assignment declaration kind")}Mn(X)&&Nc(X);break;case 230:case 262:return Q=!0,k_(X);case 263:return Dl(X,64,788872);case 264:return Dl(X,524288,788968);case 265:return yd(X);case 266:return Hc(X);case 291:return Za(X);case 290:return ga(X,4,0);case 270:case 273:case 275:case 280:return Oi(X,2097152,2097152);case 269:return mu(X);case 272:return Mo(X);case 277:return cl(X);case 276:return sc(X);case 311:return Wn(X.statements),tl();case 240:if(!J6(X.parent))return;case 267:return Wn(X.statements);case 347:if(X.parent.kind===329)return Rp(X);if(X.parent.kind!==328)break;case 354:const pa=X,ns=pa.isBracketed||pa.typeExpression&&pa.typeExpression.type.kind===322?16777220:4;return Oi(pa,ns,0);case 352:case 344:case 346:return(h||(h=[])).push(X);case 345:return Rt(X.typeExpression)}}function Us(X){const nt=Ep(X),nr=nt?98304:4,On=nt?13247:0;return Pf(X,nr|(X.questionToken?16777216:0),On)}function Va(X){return Rc(X,2048,"__type")}function tl(){if(Zs(e),Ul(e))ic();else if(Nd(e)){ic();const X=e.symbol;qe(e.symbol.exports,e.symbol,e,4,67108863),e.symbol=X}}function ic(){Rc(e,512,`"${R_(e.fileName)}"`)}function sc(X){if(!l.symbol||!l.symbol.exports)Rc(X,111551,ut(X));else{const nt=u4(X)?2097152:4,nr=qe(l.symbol.exports,l.symbol,X,nt,67108863);X.isExportEquals&&_5(nr,X)}}function mu(X){Ne(X.modifiers)&&e.bindDiagnostics.push(le(X,v.Modifiers_cannot_appear_here));const nt=Cs(X.parent)?Ul(X.parent)?X.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;nt?e.bindDiagnostics.push(le(X,nt)):(e.symbol.globalExports=e.symbol.globalExports||za(),qe(e.symbol.globalExports,e.symbol,X,2097152,2097152))}function cl(X){!l.symbol||!l.symbol.exports?Rc(X,8388608,ut(X)):X.exportClause?ny(X.exportClause)&&(ko(X.exportClause,X),qe(l.symbol.exports,l.symbol,X.exportClause,2097152,2097152)):qe(l.symbol.exports,l.symbol,X,8388608,0)}function Mo(X){X.name&&Oi(X,2097152,2097152)}function hc(X){return e.externalModuleIndicator&&e.externalModuleIndicator!==!0?!1:(e.commonJsModuleIndicator||(e.commonJsModuleIndicator=X,e.externalModuleIndicator||ic()),!0)}function Ku(X){if(!hc(X))return;const nt=xc(X.arguments[0],void 0,(nr,On)=>(On&&ue(On,nr,67110400),On));nt&&qe(nt.exports,nt,X,1048580,0)}function Xc(X){if(!hc(X))return;const nt=xc(X.left.expression,void 0,(nr,On)=>(On&&ue(On,nr,67110400),On));if(nt){const On=x5(X.right)&&(Lx(X.left.expression)||Xg(X.left.expression))?2097152:1048580;ko(X.left,X),qe(nt.exports,nt,X.left,On,0)}}function wu(X){if(!hc(X))return;const nt=o5(X.right);if(gte(nt)||l===e&&rS(e,nt))return;if(jo(nt)&&ot(nt.properties,hd)){te(nt.properties,lp);return}const nr=u4(X)?2097152:1049092,On=qe(e.symbol.exports,e.symbol,X,nr|67108864,0);_5(On,X)}function lp(X){qe(e.symbol.exports,e.symbol,X,69206016,0)}function x_(X){if(R.assert(Mn(X)),Bn(X)&&ai(X.left)&&fs(X.left.name)||ai(X)&&fs(X.name))return;const nr=y_(X,!1,!1);switch(nr.kind){case 261:case 217:let On=nr.symbol;if(Bn(nr.parent)&&nr.parent.operatorToken.kind===64){const zs=nr.parent.left;Mx(zs)&&Kb(zs.expression)&&(On=Ka(zs.expression.expression,f))}On&&On.valueDeclaration&&(On.members=On.members||za(),s1(X)?De(X,On,On.members):qe(On.members,On,X,67108868,0),ue(On,On.valueDeclaration,32));break;case 175:case 171:case 173:case 176:case 177:case 174:const pa=nr.parent,ns=Aa(nr)?pa.symbol.exports:pa.symbol.members;s1(X)?De(X,pa.symbol,ns):qe(ns,pa.symbol,X,67108868,0,!0);break;case 311:if(s1(X))break;nr.commonJsModuleIndicator?qe(nr.symbol.exports,nr.symbol,X,1048580,0):Oi(X,1,111550);break;case 266:break;default:R.failBadSyntaxKind(nr)}}function De(X,nt,nr){qe(nr,nt,X,4,0,!0,!0),er(X,nt)}function er(X,nt){nt&&(nt.assignmentDeclarationMembers||(nt.assignmentDeclarationMembers=new Map)).set(Jo(X),X)}function sn(X){X.expression.kind===110?x_(X):Mx(X)&&X.parent.parent.kind===311&&(Kb(X.expression)?_e(X,X.parent):Zt(X))}function Zi(X){ko(X.left,X),ko(X.right,X),ki(X.left.expression,X.left,!1,!0)}function fa(X){const nt=Ka(X.arguments[0].expression);nt&&nt.valueDeclaration&&ue(nt,nt.valueDeclaration,32),an(X,nt,!0)}function _e(X,nt){const nr=X.expression,On=nr.expression;ko(On,nr),ko(nr,X),ko(X,nt),ki(On,X,!0,!0)}function bt(X){let nt=Ka(X.arguments[0]);const nr=X.parent.parent.kind===311;nt=Cr(nt,X.arguments[0],nr,!1,!1),an(X,nt,!1)}function Yt(X){var nt;const nr=Ka(X.left.expression,l)||Ka(X.left.expression,d);if(!Mn(X)&&!xTe(nr))return;const On=GP(X.left);if(!(He(On)&&((nt=s9(l,On.escapedText))==null?void 0:nt.flags)&2097152))if(ko(X.left,X),ko(X.right,X),He(X.left.expression)&&l===e&&rS(e,X.left.expression))Xc(X);else if(s1(X)){Rc(X,67108868,"__computed");const pa=Cr(nr,X.left.expression,ti(X.left),!1,!1);er(X,pa)}else Zt(Ua(X.left,aw))}function Zt(X){R.assert(!He(X)),ko(X.expression,X),ki(X.expression,X,!1,!1)}function Cr(X,nt,nr,On,pa){return(X==null?void 0:X.flags)&2097152||(nr&&!On&&(X=xc(nt,X,(ba,Ic,Po)=>{if(Ic)return ue(Ic,ba,67110400),Ic;{const Kl=Po?Po.exports:e.jsGlobalAugmentations||(e.jsGlobalAugmentations=za());return qe(Kl,Po,ba,67110400,110735)}})),pa&&X&&X.valueDeclaration&&ue(X,X.valueDeclaration,32)),X}function an(X,nt,nr){if(!nt||!ds(nt))return;const On=nr?nt.members||(nt.members=za()):nt.exports||(nt.exports=za());let pa=0,ns=0;Lc(iw(X))?(pa=8192,ns=103359):Ra(X)&&sw(X)&&(Ne(X.arguments[2].properties,zs=>{const ba=ia(zs);return!!ba&&He(ba)&&Zn(ba)==="set"})&&(pa|=65540,ns|=78783),Ne(X.arguments[2].properties,zs=>{const ba=ia(zs);return!!ba&&He(ba)&&Zn(ba)==="get"})&&(pa|=32772,ns|=46015)),pa===0&&(pa=4,ns=0),qe(On,nt,X,pa|67108864,ns&-67108865)}function ti(X){return Bn(X.parent)?sa(X.parent).parent.kind===311:X.parent.parent.kind===311}function ki(X,nt,nr,On){let pa=Ka(X,l)||Ka(X,d);const ns=ti(nt);pa=Cr(pa,nt.expression,ns,nr,On),an(nt,pa,nr)}function ds(X){if(X.flags&1072)return!0;const nt=X.valueDeclaration;if(nt&&Ra(nt))return!!iw(nt);let nr=nt?bs(nt)?nt.initializer:Bn(nt)?nt.right:ai(nt)&&Bn(nt.parent)?nt.parent.right:void 0:void 0;if(nr=nr&&o5(nr),nr){const On=Kb(bs(nt)?nt.name:Bn(nt)?nt.left:nt);return!!Xb(Bn(nr)&&(nr.operatorToken.kind===57||nr.operatorToken.kind===61)?nr.right:nr,On)}return!1}function sa(X){for(;Bn(X.parent);)X=X.parent;return X.parent}function Ka(X,nt=l){if(He(X))return s9(nt,X.escapedText);{const nr=Ka(X.expression);return nr&&nr.exports&&nr.exports.get(Qy(X))}}function xc(X,nt,nr){if(rS(e,X))return e.symbol;if(He(X))return nr(X,Ka(X),nt);{const On=xc(X.expression,nt,nr),pa=l5(X);return fs(pa)&&R.fail("unexpected PrivateIdentifier"),nr(pa,On&&On.exports&&On.exports.get(Qy(X)),On)}}function Nc(X){!e.commonJsModuleIndicator&&M_(X,!1)&&hc(X)}function k_(X){if(X.kind===262)Dl(X,32,899503);else{const pa=X.name?X.name.escapedText:"__class";Rc(X,32,pa),X.name&&de.add(X.name.escapedText)}const{symbol:nt}=X,nr=Ie(4194308,"prototype"),On=nt.exports.get(nr.escapedName);On&&(X.name&&ko(X.name,X),e.bindDiagnostics.push(le(On.declarations[0],v.Duplicate_identifier_0,xl(nr)))),nt.exports.set(nr.escapedName,nr),nr.parent=nt}function yd(X){return IT(X)?Dl(X,128,899967):Dl(X,256,899327)}function zl(X){if(Q&&Vu(X,X.name),!Fa(X.name)){const nt=X.kind===259?X:X.parent.parent;Mn(X)&&mJ(t)&&MT(nt)&&!kT(X)&&!(t1(X)&1)?Oi(X,2097152,2097152):dee(X)?Dl(X,2,111551):Rx(X)?Oi(X,1,111551):Oi(X,1,111550)}}function Rp(X){if(!(X.kind===347&&l.kind!==329)&&(Q&&!(X.flags&16777216)&&Vu(X,X.name),Fa(X.name)?Rc(X,1,"__"+X.parent.parameters.indexOf(X)):Oi(X,1,111551),Cp(X,X.parent))){const nt=X.parent.parent;qe(nt.symbol.members,nt.symbol,X,4|(X.questionToken?16777216:0),0)}}function f_(X){!e.isDeclarationFile&&!(X.flags&16777216)&&p4(X)&&(fe|=2048),hl(X),Q?(Jc(X),Dl(X,16,110991)):Oi(X,16,110991)}function up(X){!e.isDeclarationFile&&!(X.flags&16777216)&&p4(X)&&(fe|=2048),T&&(X.flowNode=T),hl(X);const nt=X.name?X.name.escapedText:"__function";return Rc(X,16,nt)}function Pf(X,nt,nr){return!e.isDeclarationFile&&!(X.flags&16777216)&&p4(X)&&(fe|=2048),T&&Dj(X)&&(X.flowNode=T),s1(X)?Rc(X,nt,"__computed"):Oi(X,nt,nr)}function zm(X){const nt=mn(X,nr=>nr.parent&&M4(nr.parent)&&nr.parent.extendsType===nr);return nt&&nt.parent}function cy(X){if(Rm(X.parent)){const nt=Wj(X.parent);nt?(R.assertNode(nt,Qh),nt.locals??(nt.locals=za()),qe(nt.locals,void 0,X,262144,526824)):Oi(X,262144,526824)}else if(X.parent.kind===194){const nt=zm(X.parent);nt?(R.assertNode(nt,Qh),nt.locals??(nt.locals=za()),qe(nt.locals,void 0,X,262144,526824)):Rc(X,262144,ut(X))}else Oi(X,262144,526824)}function gg(X){const nt=i0(X);return nt===1||nt===2&&zx(t)}function yg(X){if(!(T.flags&1))return!1;if(T===Ce&&(qI(X)&&X.kind!==241||X.kind===262||X.kind===266&&gg(X))&&(T=K,!t.allowUnreachableCode)){const nr=ISe(t)&&!(X.flags&16777216)&&(!Yl(X)||!!(ph(X.declarationList)&3)||X.declarationList.declarations.some(On=>!!On.initializer));pet(X,(On,pa)=>Je(nr,On,pa,v.Unreachable_code_detected))}return!0}}function pet(e,t){if(Vs(e)&&Ewe(e)&&Pa(e.parent)){const{statements:n}=e.parent,s=Jte(n,e);Mr(s,Ewe,(l,f)=>t(s[l],s[f-1]))}else t(e,e)}function Ewe(e){return!au(e)&&!det(e)&&!s2(e)&&!(Yl(e)&&!(ph(e)&3)&&e.declarationList.declarations.some(t=>!t.initializer))}function det(e){switch(e.kind){case 263:case 264:return!0;case 266:return i0(e)!==1;case 265:return gi(e,2048);default:return!1}}function rS(e,t){let n=0;const s=YY();for(s.enqueue(t);!s.isEmpty()&&n<100;){if(n++,t=s.dequeue(),Lx(t)||Xg(t))return!0;if(He(t)){const l=s9(e,t.escapedText);if(l&&l.valueDeclaration&&bs(l.valueDeclaration)&&l.valueDeclaration.initializer){const f=l.valueDeclaration.initializer;s.enqueue(f),o_(f,!0)&&(s.enqueue(f.left),s.enqueue(f.right))}}}return!1}function Awe(e){switch(e.kind){case 230:case 262:case 265:case 209:case 186:case 328:case 291:return 1;case 263:return 65;case 266:case 264:case 199:case 180:return 33;case 311:return 37;case 176:case 177:case 173:if(Dj(e))return 173;case 175:case 261:case 172:case 178:case 329:case 323:case 183:case 179:case 184:case 174:return 45;case 217:case 218:return 61;case 267:return 4;case 171:return e.initializer?4:0;case 298:case 247:case 248:case 249:case 268:return 34;case 240:return Sa(e.parent)||al(e.parent)?0:34}return 0}function s9(e,t){var n,s,l,f;const d=(s=(n=wi(e,Qh))==null?void 0:n.locals)==null?void 0:s.get(t);if(d)return d.exportSymbol??d;if(Cs(e)&&e.jsGlobalAugmentations&&e.jsGlobalAugmentations.has(t))return e.jsGlobalAugmentations.get(t);if(Xh(e))return(f=(l=e.symbol)==null?void 0:l.exports)==null?void 0:f.get(t)}var pie,Pwe,met=p({"src/compiler/binder.ts"(){Ba(),TT(),pie=(e=>(e[e.NonInstantiated=0]="NonInstantiated",e[e.Instantiated=1]="Instantiated",e[e.ConstEnumOnly=2]="ConstEnumOnly",e))(pie||{}),Pwe=_et()}});function Dwe(e,t,n,s,l,f,d,g,h,k){return T;function T(C=()=>!0){const D=[],O=[];return{walkType:de=>{try{return M(de),{visitedTypes:UC(D),visitedSymbols:UC(O)}}finally{us(D),us(O)}},walkSymbol:de=>{try{return ye(de),{visitedTypes:UC(D),visitedSymbols:UC(O)}}finally{us(D),us(O)}}};function M(de){if(!(!de||D[de.id]||(D[de.id]=de,ye(de.symbol)))){if(de.flags&524288){const K=de,ce=K.objectFlags;ce&4&&U(de),ce&32&&fe(de),ce&3&&he(de),ce&24&&W(K)}de.flags&262144&&B(de),de.flags&3145728&&H(de),de.flags&4194304&&Y(de),de.flags&8388608&&Z(de)}}function U(de){M(de.target),te(k(de),M)}function B(de){M(g(de))}function H(de){te(de.types,M)}function Y(de){M(de.type)}function Z(de){M(de.objectType),M(de.indexType),M(de.constraint)}function fe(de){M(de.typeParameter),M(de.constraintType),M(de.templateType),M(de.modifiersType)}function Q(de){const Ce=t(de);Ce&&M(Ce.type),te(de.typeParameters,M);for(const K of de.parameters)ye(K);M(e(de)),M(n(de))}function he(de){W(de),te(de.typeParameters,M),te(s(de),M),M(de.thisType)}function W(de){const Ce=l(de);for(const K of Ce.indexInfos)M(K.keyType),M(K.type);for(const K of Ce.callSignatures)Q(K);for(const K of Ce.constructSignatures)Q(K);for(const K of Ce.properties)ye(K)}function ye(de){if(!de)return!1;const Ce=vo(de);if(O[Ce])return!1;if(O[Ce]=de,!C(de))return!0;const K=f(de);return M(K),de.exports&&de.exports.forEach(ye),te(de.declarations,ce=>{if(ce.type&&ce.type.kind===185){const le=ce.type,xe=d(h(le.exprName));ye(xe)}}),!1}}}var het=p({"src/compiler/symbolWalker.ts"(){Ba()}});function fz({importModuleSpecifierPreference:e,importModuleSpecifierEnding:t},n,s,l){const f=d();return{relativePreference:l!==void 0?Lu(l)?0:1:e==="relative"?0:e==="non-relative"?1:e==="project-relative"?3:2,getAllowedEndingsInPreferredOrder:g=>{if((g??s.impliedNodeFormat)===99)return tA(n,s.fileName)?[3,2]:[2];if(wl(n)===1)return f===2?[2,1]:[1,2];const h=tA(n,s.fileName);switch(f){case 2:return h?[2,3,0,1]:[2,0,1];case 3:return[3,0,2,1];case 1:return h?[1,0,3,2]:[1,0,2];case 0:return h?[0,1,3,2]:[0,1,2];default:R.assertNever(f)}}};function d(){if(l!==void 0){if(zT(l))return 2;if(Sl(l,"/index"))return 1}return Bte(t,s.impliedNodeFormat,n,s)}}function get(e,t,n,s,l,f,d={}){const g=Nwe(e,t,n,s,l,fz({},e,t,f),{},d);if(g!==f)return g}function a9(e,t,n,s,l,f={}){return Nwe(e,t,n,s,l,fz({},e,t),{},f)}function yet(e,t,n,s,l,f={}){const d=die(t.path,s),g=jwe(t.path,n,s,l,f);return $e(g,h=>mie(h,d,t,s,e,l,!0,f.overrideImportMode))}function Nwe(e,t,n,s,l,f,d,g={}){const h=die(n,l),k=jwe(n,s,l,d,g);return $e(k,T=>mie(T,h,t,l,e,d,void 0,g.overrideImportMode))||Mwe(s,h,e,l,g.overrideImportMode||t.impliedNodeFormat,f)}function vet(e,t,n,s,l={}){return Iwe(e,t,n,s,l)[0]}function Iwe(e,t,n,s,l={}){var f;const d=hj(e);if(!d)return ft;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 Owe(e,t,n,s,l,f,d={}){return Lwe(e,t,n,s,l,f,d).moduleSpecifiers}function Lwe(e,t,n,s,l,f,d={}){let g=!1;const h=Tet(e,t);if(h)return{moduleSpecifiers:[h],computedWithoutCache:g};let[k,T,C,D]=Iwe(e,s,l,f,d);if(k)return{moduleSpecifiers:k,computedWithoutCache:g};if(!T)return{moduleSpecifiers:ft,computedWithoutCache:g};g=!0,C||(C=Jwe(s.path,T.originalFileName,l));const O=bet(C,n,s,l,f,d);return D==null||D.set(s.path,T.path,f,d,C,O),{moduleSpecifiers:O,computedWithoutCache:g}}function bet(e,t,n,s,l,f={}){const d=die(n.path,s),g=fz(l,t,n),h=te(e,M=>te(s.getFileIncludeReasons().get(bc(M.path,s.getCurrentDirectory(),d.getCanonicalFileName)),U=>{if(U.kind!==3||U.file!==n.path||n.impliedNodeFormat&&n.impliedNodeFormat!==fse(n,U.index))return;const B=zz(n,U.index).text;return g.relativePreference!==1||!kp(B)?B:void 0}));if(h)return[h];const k=Ne(e,M=>M.isInNodeModules);let T,C,D,O;for(const M of e){const U=M.isInNodeModules?mie(M,d,n,s,t,l,void 0,f.overrideImportMode):void 0;if(T=zr(T,U),U&&M.isRedirect)return T;if(!U){const B=Mwe(M.path,d,t,s,f.overrideImportMode||n.impliedNodeFormat,g,M.isRedirect);if(!B)continue;M.isRedirect?D=zr(D,B):yK(B)?C=zr(C,B):(!k||M.isInNodeModules)&&(O=zr(O,B))}}return C!=null&&C.length?C:D!=null&&D.length?D:T!=null&&T.length?T:R.checkDefined(O)}function die(e,t){const n=nf(t.useCaseSensitiveFileNames?t.useCaseSensitiveFileNames():!0),s=cs(e);return{getCanonicalFileName:n,importingSourceFileName:e,sourceDirectory:s}}function Mwe(e,t,n,s,l,{getAllowedEndingsInPreferredOrder:f,relativePreference:d},g){const{baseUrl:h,paths:k,rootDirs:T}=n;if(g&&!k)return;const{sourceDirectory:C,getCanonicalFileName:D}=t,O=f(l),M=T&&xet(T,e,C,D,O,n)||zD(xT(Gh(C,e,D)),O,n);if(!h&&!k||d===0)return g?void 0:M;const U=ua(tJ(n,s)||h,s.getCurrentDirectory()),B=$we(e,U,D);if(!B)return g?void 0:M;const H=k&&Uwe(B,k,O,s,n);if(g)return H;const Y=H===void 0&&h!==void 0?zD(B,O,n):H;if(!Y)return M;if(d===1&&!kp(Y))return Y;if(d===3&&!kp(Y)){const Z=n.configFilePath?bc(cs(n.configFilePath),s.getCurrentDirectory(),t.getCanonicalFileName):t.getCanonicalFileName(s.getCurrentDirectory()),fe=bc(e,Z,D),Q=Xs(C,Z),he=Xs(fe,Z);if(Q&&!he||!Q&&he)return Y;const W=Rwe(s,cs(fe));return Rwe(s,C)!==W?Y:M}return qwe(Y)||o9(M)<o9(Y)?M:Y}function o9(e){let t=0;for(let n=Xs(e,"./")?2:0;n<e.length;n++)e.charCodeAt(n)===47&&t++;return t}function Fwe(e,t){return yT(t.isRedirect,e.isRedirect)||q5(e.path,t.path)}function Rwe(e,t){return e.getNearestAncestorDirectoryWithPackageJson?e.getNearestAncestorDirectoryWithPackageJson(t):!!zy(t,n=>e.fileExists(vs(n,"package.json"))?!0:void 0)}function Bwe(e,t,n,s,l){var f;const d=a1(n),g=n.getCurrentDirectory(),h=n.isSourceOfProjectReferenceRedirect(t)?n.getProjectReferenceRedirect(t):void 0,k=bc(t,g,d),T=n.redirectTargetsMap.get(k)||ft,D=[...h?[h]:ft,t,...T].map(H=>ua(H,g));let O=!ot(D,sD);if(!s){const H=te(D,Y=>!(O&&sD(Y))&&l(Y,h===Y));if(H)return H}const M=(f=n.getSymlinkCache)==null?void 0:f.call(n).getSymlinkedDirectoriesByRealpath(),U=ua(t,g);return M&&zy(cs(U),H=>{const Y=M.get(Vf(bc(H,g,d)));if(Y)return SK(e,H,d)?!1:te(D,Z=>{if(!SK(Z,H,d))return;const fe=Gh(H,Z,d);for(const Q of Y){const he=hv(Q,fe),W=l(he,Z===h);if(O=!0,W)return W}})})||(s?te(D,H=>O&&sD(H)?void 0:l(H,H===h)):void 0)}function jwe(e,t,n,s,l={}){var f;const d=bc(t,n.getCurrentDirectory(),a1(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=Jwe(e,t,n);return g&&g.setModulePaths(e,d,s,l,h),h}function Jwe(e,t,n){const s=a1(n),l=new Map;Bwe(e,t,n,!0,(d,g)=>{const h=eA(d);l.set(d,{path:s(d),isRedirect:g,isInNodeModules:h})});const f=[];for(let d=cs(e);l.size!==0;){const g=Vf(d);let h;l.forEach(({path:T,isRedirect:C,isInNodeModules:D},O)=>{Xs(T,g)&&((h||(h=[])).push({path:O,isRedirect:C,isInNodeModules:D}),l.delete(O))}),h&&(h.length>1&&h.sort(Fwe),f.push(...h));const k=cs(d);if(k===d)break;d=k}if(l.size){const d=oo(l.values());d.length>1&&d.sort(Fwe),f.push(...d)}return f}function Tet(e,t){var n;const s=(n=e.declarations)==null?void 0:n.find(d=>hee(d)&&(!DT(d)||!Lu(em(d.name))));if(s)return s.name.text;const f=lr(e.declarations,d=>{var g,h,k,T;if(!Al(d))return;const C=U(d);if(!((g=C==null?void 0:C.parent)!=null&&g.parent&&yh(C.parent)&&$f(C.parent.parent)&&Cs(C.parent.parent.parent)))return;const D=(T=(k=(h=C.parent.parent.symbol.exports)==null?void 0:h.get("export="))==null?void 0:k.valueDeclaration)==null?void 0:T.expression;if(!D)return;const O=t.getSymbolAtLocation(D);if(!O)return;if(((O==null?void 0:O.flags)&2097152?t.getAliasedSymbol(O):O)===d.symbol)return C.parent.parent;function U(B){for(;B.flags&4;)B=B.parent;return B}})[0];if(f)return f.name.text}function Uwe(e,t,n,s,l){for(const d in t)for(const g of t[d]){const h=So(g),k=h.indexOf("*"),T=n.map(C=>({ending:C,value:zD(e,[C],l)}));if(Kg(h)&&T.push({ending:void 0,value:e}),k!==-1){const C=h.substring(0,k),D=h.substring(k+1);for(const{ending:O,value:M}of T)if(M.length>=C.length+D.length&&Xs(M,C)&&Sl(M,D)&&f({ending:O,value:M})){const U=M.substring(C.length,M.length-D.length);return kp(U)?void 0:d.replace("*",U)}}else if(Ne(T,C=>C.ending!==0&&h===C.value)||Ne(T,C=>C.ending===0&&h===C.value&&f(C)))return d}function f({ending:d,value:g}){return d!==0||g===zD(e,[d],l,s)}}function _z(e,t,n,s,l,f,d=0){if(typeof l=="string"){const g=ua(vs(n,l),void 0),h=eD(t)?R_(t)+pz(t,e):void 0;switch(d){case 0:if(Tx(t,g)===0||h&&Tx(h,g)===0)return{moduleFileToTry:s};break;case 1:if(gv(g,t)){const D=Gh(g,t,!1);return{moduleFileToTry:ua(vs(vs(s,l),D),void 0)}}break;case 2:const k=g.indexOf("*"),T=g.slice(0,k),C=g.slice(k+1);if(Xs(t,T)&&Sl(t,C)){const D=t.slice(T.length,t.length-C.length);return{moduleFileToTry:s.replace("*",D)}}if(h&&Xs(h,T)&&Sl(h,C)){const D=h.slice(T.length,h.length-C.length);return{moduleFileToTry:s.replace("*",D)}}break}}else{if(Array.isArray(l))return te(l,g=>_z(e,t,n,s,g,f));if(typeof l=="object"&&l!==null){if(oz(l))return te(Jy(l),g=>{const h=ua(vs(s,g),void 0),k=Sl(g,"/")?1:rf(g,"*")?2:0;return _z(e,t,n,h,l[g],f,k)});for(const g of Jy(l))if(g==="default"||f.indexOf(g)>=0||n9(f,g)){const h=l[g],k=_z(e,t,n,s,h,f);if(k)return k}}}}function xet(e,t,n,s,l,f){const d=zwe(t,e,s);if(d===void 0)return;const g=zwe(n,e,s),h=ln(g,T=>qt(d,C=>xT(Gh(T,C,s)))),k=ZY(h,q5);if(k)return zD(k,l,f)}function mie({path:e,isRedirect:t},{getCanonicalFileName:n,sourceDirectory:s},l,f,d,g,h,k){if(!f.fileExists||!f.readFile)return;const T=Hte(e);if(!T)return;const D=fz(g,d,l).getAllowedEndingsInPreferredOrder();let O=e,M=!1;if(!h){let fe=T.packageRootIndex,Q;for(;;){const{moduleFileToTry:he,packageRootPath:W,blockedByExports:ye,verbatimFromExports:de}=Z(fe);if(wl(d)!==1){if(ye)return;if(de)return he}if(W){O=W,M=!0;break}if(Q||(Q=he),fe=e.indexOf(zc,fe+1),fe===-1){O=zD(Q,D,d,f);break}}}if(t&&!M)return;const U=f.getGlobalTypingsCacheLocation&&f.getGlobalTypingsCacheLocation(),B=n(O.substring(0,T.topLevelNodeModulesIndex));if(!(Xs(s,B)||U&&Xs(n(U),B)))return;const H=O.substring(T.topLevelPackageNameIndex+1),Y=i9(H);return wl(d)===1&&Y===H?void 0:Y;function Z(fe){var Q,he;const W=e.substring(0,fe),ye=vs(W,"package.json");let de=e,Ce=!1;const K=(he=(Q=f.getPackageJsonInfoCache)==null?void 0:Q.call(f))==null?void 0:he.getPackageJsonInfo(ye);if(typeof K=="object"||K===void 0&&f.fileExists(ye)){const ce=(K==null?void 0:K.contents.packageJsonContent)||JSON.parse(f.readFile(ye)),le=k||l.impliedNodeFormat;if(Dte(d)){const Ie=W.substring(T.topLevelPackageNameIndex+1),ue=i9(Ie),ut=Z4(d,le===99),Ge=ce.exports?_z(d,e,W,ue,ce.exports,ut):void 0;if(Ge)return{...eD(Ge.moduleFileToTry)?{moduleFileToTry:R_(Ge.moduleFileToTry)+pz(Ge.moduleFileToTry,d)}:Ge,verbatimFromExports:!0};if(ce.exports)return{moduleFileToTry:e,blockedByExports:!0}}const xe=ce.typesVersions?KU(ce.typesVersions):void 0;if(xe){const Ie=e.slice(W.length+1),ue=Uwe(Ie,xe.paths,D,f,d);ue===void 0?Ce=!0:de=vs(W,ue)}const we=ce.typings||ce.types||ce.main||"index.js";if(Wa(we)&&!(Ce&&jte(SJ(xe.paths),we))){const Ie=bc(we,W,n),ue=n(de);if(R_(Ie)===R_(ue))return{packageRootPath:W,moduleFileToTry:de};if(ce.type!=="module"&&!$l(ue,rO)&&Xs(ue,Ie)&&cs(ue)===ST(Ie)&&R_(Xu(ue))==="index")return{packageRootPath:W,moduleFileToTry:de}}}else{const ce=n(de.substring(T.packageRootIndex+1));if(ce==="index.d.ts"||ce==="index.js"||ce==="index.ts"||ce==="index.tsx")return{moduleFileToTry:de,packageRootPath:W}}return{moduleFileToTry:de}}}function ket(e,t){if(!e.fileExists)return;const n=$n(KP({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 zwe(e,t,n){return lr(t,s=>{const l=$we(e,s,n);return l!==void 0&&qwe(l)?void 0:l})}function zD(e,t,n,s){if($l(e,[".json",".mjs",".cjs"]))return e;const l=R_(e);if(e===l)return e;const f=t.indexOf(2),d=t.indexOf(3);if($l(e,[".mts",".cts"])&&d!==-1&&d<f)return e;if($l(e,[".d.mts",".mts",".d.cts",".cts"]))return l+hie(e,n);if(!$l(e,[".d.ts"])&&$l(e,[".ts"])&&rf(e,".d."))return Vwe(e);switch(t[0]){case 0:const g=P6(l,"/index");return s&&g!==l&&ket(s,g)?l:g;case 1:return l;case 2:return l+hie(e,n);case 3:if(S_(e)){const h=t.findIndex(k=>k===0||k===1);return h!==-1&&h<f?l:l+hie(e,n)}return e;default:return R.assertNever(t[0])}}function Vwe(e){const t=Xu(e);if(!Sl(e,".ts")||!rf(t,".d.")||$l(t,[".d.ts"]))return;const n=W5(e,".ts"),s=n.substring(n.lastIndexOf("."));return n.substring(0,n.indexOf(".d."))+s}function hie(e,t){return pz(e,t)??R.fail(`Extension ${Vx(e)} is unsupported:: FileName:: ${e}`)}function pz(e,t){const n=Kg(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 $we(e,t,n){const s=QC(t,e,t,n,!1);return fh(s)?void 0:s}function qwe(e){return Xs(e,"..")}var Wwe=p({"src/compiler/moduleSpecifiers.ts"(){Ba()}}),nS={};S(nS,{countPathComponents:()=>o9,forEachFileNameOfModule:()=>Bwe,getModuleSpecifier:()=>a9,getModuleSpecifiers:()=>Owe,getModuleSpecifiersWithCacheInfo:()=>Lwe,getNodeModulesPackageName:()=>yet,tryGetJSExtensionForFile:()=>pz,tryGetModuleSpecifiersFromCache:()=>vet,tryGetRealFileNameForNonJsDeclarationFileName:()=>Vwe,updateModuleSpecifier:()=>get});var gie=p({"src/compiler/_namespaces/ts.moduleSpecifiers.ts"(){Wwe()}});function Cet(){this.flags=0}function Jo(e){return e.id||(e.id=Tie,Tie++),e.id}function vo(e){return e.id||(e.id=bie,bie++),e.id}function yie(e,t){const n=i0(e);return n===1||t&&n===2}function Hwe(e){var t=[],n=r=>{t.push(r)},s,l=new Set,f,d,g=Ru.getSymbolConstructor(),h=Ru.getTypeConstructor(),k=Ru.getSignatureConstructor(),T=0,C=0,D=0,O=0,M=0,U=0,B,H,Y=!1,Z=za(),fe=[1],Q=e.getCompilerOptions(),he=Eo(Q),W=Zu(Q),ye=!!Q.experimentalDecorators,de=V5(Q),Ce=vw(Q),K=Md(Q,"strictNullChecks"),ce=Md(Q,"strictFunctionTypes"),le=Md(Q,"strictBindCallApply"),xe=Md(Q,"strictPropertyInitialization"),we=Md(Q,"noImplicitAny"),Ie=Md(Q,"noImplicitThis"),ue=Md(Q,"useUnknownInCatchVariables"),ut=!!Q.keyofStringsOnly,Ge=ut?1:0,qe=Q.suppressExcessPropertyErrors?0:8192,Ke=Q.exactOptionalPropertyTypes,Me=ZSt(),ze=Dwt(),st=G_(),et=za(),je=No(4,"undefined");je.declarations=[];var _t=No(1536,"globalThis",8);_t.exports=et,_t.declarations=[],et.set(_t.escapedName,_t);var Lt=No(4,"arguments"),Dt=No(4,"require"),Xt=Q.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules",Ye=!Q.verbatimModuleSyntax||!!Q.importsNotUsedAsValues,Bt;const vr={getNodeCount:()=>Uf(e.getSourceFiles(),(r,c)=>r+c.nodeCount,0),getIdentifierCount:()=>Uf(e.getSourceFiles(),(r,c)=>r+c.identifierCount,0),getSymbolCount:()=>Uf(e.getSourceFiles(),(r,c)=>r+c.symbolCount,C),getTypeCount:()=>T,getInstantiationCount:()=>D,getRelationCacheSizes:()=>({assignable:__.size,identity:w_.size,subtype:kh.size,strictSubtype:Zp.size}),isUndefinedSymbol:r=>r===je,isArgumentsSymbol:r=>r===Lt,isUnknownSymbol:r=>r===qr,getMergedSymbol:Fo,getDiagnostics:TBe,getGlobalDiagnostics:WCt,getRecursionIdentity:PM,getUnmatchedProperties:Dde,getTypeOfSymbolAtLocation:(r,c)=>{const _=Gs(c);return _?Wbt(r,_):se},getTypeOfSymbol:bn,getSymbolsOfParameterPropertyDeclaration:(r,c)=>{const _=Gs(r,ea);return _===void 0?R.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):(R.assert(Cp(_,_.parent)),D1(_,$c(c)))},getDeclaredTypeOfSymbol:yc,getPropertiesOfType:zo,getPropertyOfType:(r,c)=>$a(r,$c(c)),getPrivateIdentifierPropertyOfType:(r,c,_)=>{const m=Gs(_);if(!m)return;const b=$c(c),x=sG(b,m);return x?pme(r,x):void 0},getTypeOfPropertyOfType:(r,c)=>Ll(r,$c(c)),getIndexInfoOfType:(r,c)=>Pg(r,c===0?L:Se),getIndexInfosOfType:Lf,getIndexInfosOfIndexSymbol:Epe,getSignaturesOfType:Ca,getIndexTypeOfType:(r,c)=>E0(r,c===0?L:Se),getIndexType:r=>Km(r),getBaseTypes:ma,getBaseTypeOfLiteralType:tv,getWidenedType:hp,getTypeFromTypeNode:r=>{const c=Gs(r,ys);return c?Bi(c):se},getParameterType:Tm,getParameterIdentifierNameAtPosition:mSt,getPromisedTypeOfPromise:FN,getAwaitedType:r=>tx(r),getReturnTypeOfSignature:Vo,isNullableType:iG,getNullableType:OH,getNonNullableType:Ay,getNonOptionalType:Tde,getTypeArguments:cc,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 _=Gs(r);return _?HCt(_,c):[]},getSymbolAtLocation:r=>{const c=Gs(r);return c?Wd(c,!0):void 0},getIndexInfosAtLocation:r=>{const c=Gs(r);return c?twt(c):void 0},getShorthandAssignmentValueSymbol:r=>{const c=Gs(r);return c?rwt(c):void 0},getExportSpecifierLocalTargetSymbol:r=>{const c=Gs(r,T_);return c?nwt(c):void 0},getExportSymbolOfSymbol(r){return Fo(r.exportSymbol||r)},getTypeAtLocation:r=>{const c=Gs(r);return c?cC(c):se},getTypeOfAssignmentPattern:r=>{const c=Gs(r,yP);return c&&IG(c)||se},getPropertySymbolOfDestructuringAssignment:r=>{const c=Gs(r,He);return c?iwt(c):void 0},signatureToString:(r,c,_,m)=>Tr(r,Gs(c),_,m),typeToString:(r,c,_)=>jt(r,Gs(c),_),symbolToString:(r,c,_,m)=>Xe(r,Gs(c),_,m),typePredicateToString:(r,c,_)=>d_(r,Gs(c),_),writeSignature:(r,c,_,m,b)=>Tr(r,Gs(c),_,m,b),writeType:(r,c,_,m)=>jt(r,Gs(c),_,m),writeSymbol:(r,c,_,m,b)=>Xe(r,Gs(c),_,m,b),writeTypePredicate:(r,c,_,m)=>d_(r,Gs(c),_,m),getAugmentedPropertiesOfType:mhe,getRootSymbols:ABe,getSymbolOfExpando:pG,getContextualType:(r,c)=>{const _=Gs(r,Ct);if(_)return c&4?Ht(_,()=>g_(_,c)):g_(_,c)},getContextualTypeForObjectLiteralElement:r=>{const c=Gs(r,n1);return c?Zde(c,void 0):void 0},getContextualTypeForArgumentAtIndex:(r,c)=>{const _=Gs(r,Ex);return _&&Yde(_,c)},getContextualTypeForJsxAttribute:r=>{const c=Gs(r,lj);return c&&HMe(c,void 0)},isContextSensitive:ed,getTypeOfPropertyOfContextualType:K2,getFullyQualifiedName:Td,getResolvedSignature:(r,c,_)=>tn(r,c,_,0),getResolvedSignatureForStringLiteralCompletions:(r,c,_)=>Ht(c,()=>tn(r,_,void 0,32)),getResolvedSignatureForSignatureHelp:(r,c,_)=>Ar(r,()=>tn(r,c,_,16)),getExpandedParameters:KOe,hasEffectiveRestParameter:Oh,containsArgumentsReference:xpe,getConstantValue:r=>{const c=Gs(r,OBe);return c?hhe(c):void 0},isValidPropertyAccess:(r,c)=>{const _=Gs(r,b2e);return!!_&&wTt(_,$c(c))},isValidPropertyAccessForCompletions:(r,c,_)=>{const m=Gs(r,ai);return!!m&&xFe(m,c,_)},getSignatureFromDeclaration:r=>{const c=Gs(r,Sa);return c?Zm(c):void 0},isImplementationOfOverload:r=>{const c=Gs(r,Sa);return c?NBe(c):void 0},getImmediateAliasedSymbol:nme,getAliasedSymbol:ef,getEmitResolver:vS,getExportsOfModule:g0,getExportsAndPropertiesOfModule:y0,forEachExportAndPropertyOfModule:PA,getSymbolWalker:Dwe(h0t,Cd,Vo,ma,hm,bn,$d,If,Np,cc),getAmbientModules:vEt,getJsxIntrinsicTagNamesAt:sTt,isOptionalParameter:r=>{const c=Gs(r,ea);return c?rN(c):!1},tryGetMemberInModuleExports:(r,c)=>jp($c(r),c),tryGetMemberInModuleExportsAndProperties:(r,c)=>PE($c(r),c),tryFindAmbientModule:r=>Spe(r,!0),tryFindAmbientModuleWithoutAugmentations:r=>Spe(r,!1),getApparentType:Zf,getUnionType:Ti,isTypeAssignableTo:lo,createAnonymousType:ul,createSignature:Ag,createSymbol:No,createIndexInfo:Nh,getAnyType:()=>dt,getStringType:()=>L,getStringLiteralType:X_,getNumberType:()=>Se,getNumberLiteralType:vm,getBigIntType:()=>pe,createPromiseType:eF,createArrayType:mf,getElementTypeOfArrayType:hde,getBooleanType:()=>vt,getFalseType:r=>r?ke:ve,getTrueType:r=>r?Te:ee,getVoidType:()=>ht,getUndefinedType:()=>Fe,getNullType:()=>Gn,getESSymbolType:()=>Qt,getNeverType:()=>Vt,getOptionalType:()=>ii,getPromiseType:()=>gM(!1),getPromiseLikeType:()=>j9e(!1),getAsyncIterableType:()=>{const r=uH(!1);if(r!==Ns)return r},isSymbolAccessible:Xm,isArrayType:rd,isTupleType:uo,isArrayLikeType:ev,isEmptyAnonymousObjectType:Ey,isTypeInvalidDueToUnionDiscriminant:Zyt,getExactOptionalProperties:Svt,getAllPossiblePropertiesOfTypes:Kyt,getSuggestedSymbolForNonexistentProperty:hme,getSuggestionForNonexistentProperty:gme,getSuggestedSymbolForNonexistentJSXAttribute:TFe,getSuggestedSymbolForNonexistentSymbol:(r,c,_)=>yme(r,$c(c),_),getSuggestionForNonexistentSymbol:(r,c,_)=>STt(r,$c(c),_),getSuggestedSymbolForNonexistentModule:oG,getSuggestionForNonexistentExport:xTt,getSuggestedSymbolForNonexistentClassMember:bFe,getBaseConstraintOfType:Of,getDefaultFromTypeParameter:r=>r&&r.flags&262144?zS(r):void 0,resolveName(r,c,_,m){return ll(c,$c(r),_,void 0,void 0,!1,m)},getJsxNamespace:r=>xs(y2(r)),getJsxFragmentFactory:r=>{const c=yhe(r);return c&&xs(Np(c).escapedText)},getAccessibleSymbolChain:F1,getTypePredicateOfSignature:Cd,resolveExternalModuleName:r=>{const c=Gs(r,Ct);return c&&cu(c,c,!0)},resolveExternalModuleSymbol:dp,tryGetThisTypeAt:(r,c,_)=>{const m=Gs(r);return m&&Hde(m,c,_)},getTypeArgumentConstraint:r=>{const c=Gs(r,ys);return c&&Dxt(c)},getSuggestionDiagnostics:(r,c)=>{const _=Gs(r,Cs)||R.fail("Could not determine parsed source file.");if(tD(_,Q,e))return ft;let m;try{return s=c,phe(_),R.assert(!!(mi(_).flags&1)),m=Pi(m,gS.getDiagnostics(_.fileName)),BRe(bBe(_),(b,x,P)=>{!G6(b)&&!vBe(x,!!(b.flags&16777216))&&(m||(m=[])).push({...P,category:2})}),m||ft}finally{s=void 0}},runWithCancellationToken:(r,c)=>{try{return s=r,c(vr)}finally{s=void 0}},getLocalTypeParametersOfClassOrInterfaceOrTypeAlias:z1,isDeclarationVisible:xd,isPropertyAccessible:bme,getTypeOnlyAliasDeclaration:_f,getMemberOverrideModifierStatus:oCt,isTypeParameterPossiblyReferenced:xM,typeHasCallOrConstructSignatures:OG};function Ar(r,c){const _=mn(r,Ex),m=_&&mi(_).resolvedSignature;_&&(mi(_).resolvedSignature=void 0);const b=c();return _&&(mi(_).resolvedSignature=m),b}function Ht(r,c){const _=mn(r,Ex);if(_){let b=r;do mi(b).skipDirectInference=!0,b=b.parent;while(b&&b!==_)}Y=!0;const m=Ar(r,c);if(Y=!1,_){let b=r;do mi(b).skipDirectInference=void 0,b=b.parent;while(b&&b!==_)}return m}function tn(r,c,_,m){const b=Gs(r,Ex);Bt=_;const x=b?KA(b,c,m):void 0;return Bt=void 0,x}var hn=new Map,Br=new Map,Cn=new Map,ci=new Map,Ji=new Map,ws=new Map,ui=new Map,Pt=new Map,Dr=new Map,Kt=new Map,Qr=new Map,_n=new Map,Nn=new Map,ks=new Map,ls=new Map,Yr=[],Er=new Map,rn=new Set,qr=No(4,"unknown"),xi=No(0,"__resolving__"),pt=new Map,Nt=new Map,dt=Ol(1,"any"),Ut=Ol(1,"any",262144),rr=Ol(1,"any"),se=Ol(1,"error"),at=Ol(1,"unresolved"),xt=Ol(1,"any",65536),ae=Ol(1,"intrinsic"),mt=Ol(2,"unknown"),_r=Ol(2,"unknown"),Fe=Ol(32768,"undefined"),Gt=K?Fe:Ol(32768,"undefined",65536),zt=Ol(32768,"undefined"),Lr=Ke?zt:Fe,ii=Ol(32768,"undefined"),Gn=Ol(65536,"null"),Rn=K?Gn:Ol(65536,"null",65536),L=Ol(4,"string"),Se=Ol(8,"number"),pe=Ol(64,"bigint"),ke=Ol(512,"false"),ve=Ol(512,"false"),Te=Ol(512,"true"),ee=Ol(512,"true");Te.regularType=ee,Te.freshType=Te,ee.regularType=ee,ee.freshType=Te,ke.regularType=ve,ke.freshType=ke,ve.regularType=ve,ve.freshType=ke;var vt=Ti([ve,ee]),Qt=Ol(4096,"symbol"),ht=Ol(16384,"void"),Vt=Ol(131072,"never"),Nr=Ol(131072,"never",262144),Pn=Ol(131072,"never"),bi=Ol(131072,"never"),Vi=Ol(67108864,"object"),rs=Ti([L,Se]),qs=Ti([L,Se,Qt]),Ys=ut?L:qs,Oi=Ti([Se,pe]),Js=Ti([L,Se,vt,pe,Gn,Fe]),Es=$S(["",""],[Se]),Li=SM(r=>r.flags&262144?X1t(r):r,()=>"(restrictive mapper)"),Zs=SM(r=>r.flags&262144?rr:r,()=>"(permissive mapper)"),Hc=Ol(131072,"never"),rc=SM(r=>r.flags&262144?Hc:r,()=>"(unique literal mapper)"),nn,ta=SM(r=>(nn&&(r===Vu||r===pc||r===hl)&&nn(!0),r),()=>"(unmeasurable reporter)"),Za=SM(r=>(nn&&(r===Vu||r===pc||r===hl)&&nn(!1),r),()=>"(unreliable reporter)"),ga=ul(void 0,Z,ft,ft,ft),Rc=ul(void 0,Z,ft,ft,ft);Rc.objectFlags|=2048;var Dl=No(2048,"__type");Dl.members=za();var Nl=ul(Dl,Z,ft,ft,ft),ku=ul(void 0,Z,ft,ft,ft),la=K?Ti([Fe,Gn,ku]):mt,Ns=ul(void 0,Z,ft,ft,ft);Ns.instantiations=new Map;var Wl=ul(void 0,Z,ft,ft,ft);Wl.objectFlags|=262144;var Gc=ul(void 0,Z,ft,ft,ft),Af=ul(void 0,Z,ft,ft,ft),Zl=ul(void 0,Z,ft,ft,ft),Vu=Sd(),pc=Sd();pc.constraint=Vu;var hl=Sd(),Sc=Sd(),Jc=Sd();Jc.constraint=Sc;var br=dM(1,"<<unresolved>>",0,dt),Bl=Ag(void 0,void 0,void 0,ft,dt,void 0,0,0),ff=Ag(void 0,void 0,void 0,ft,se,void 0,0,0),Cu=Ag(void 0,void 0,void 0,ft,dt,void 0,0,0),be=Ag(void 0,void 0,void 0,ft,Nr,void 0,0,0),ie=Nh(Se,L,!0),Je=new Map,Et={get yieldType(){return R.fail("Not supported")},get returnType(){return R.fail("Not supported")},get nextType(){return R.fail("Not supported")}},Rt=F0(dt,dt,dt),In=F0(dt,dt,mt),Wn=F0(Vt,dt,Fe),hi={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:N0t,getGlobalIterableType:uH,getGlobalIterableIteratorType:I0t,getGlobalGeneratorType:O0t,resolveIterationType:(r,c)=>tx(r,c,v.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member),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},di={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:L0t,getGlobalIterableType:Mpe,getGlobalIterableIteratorType:M0t,getGlobalGeneratorType:F0t,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},Us,Va=new Map,tl=!1,ic,sc,mu,cl,Mo,hc,Ku,Xc,wu,lp,x_,De,er,sn,Zi,fa,_e,bt,Yt,Zt,Cr,an,ti,ki,ds,sa,Ka,xc,Nc,k_,yd,zl,Rp,f_,up,Pf,zm,cy,gg,yg,X,nt,nr,On,pa,ns,zs,ba,Ic,Po,Kl,Bp,z_,xh,Vm=new Map,fm=0,Re=0,lt=0,St=!1,dr=0,$r,Wr,Hr,dn=[],$i=[],As=[],Ln=0,si=[],zn=[],ya=0,gl=X_(""),hu=vm(0),V_=mH({negative:!1,base10Value:"0"}),vg=[],bg=[],vd=[],C1=0,Gv=!1,Ek=0,w1=10,Ak=[],pS=[],h2=[],dS=[],Xv=[],hE=[],g2=[],gE=[],mS=[],yE=[],Pk=[],hS=[],Qv=[],Yv=[],Zv=[],Dk=[],E1=[],Do=d4(),gS=d4(),vE=NA(),c0,ly,kh=new Map,Zp=new Map,__=new Map,C_=new Map,w_=new Map,uy=new Map,Nk=za();Nk.set(je.escapedName,je);var bE=[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",Q.jsx===1?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]];return Nwt(),vr;function yS(r){return r?ls.get(r):void 0}function Ik(r,c){return r&&ls.set(r,c),c}function y2(r){if(r){const c=pn(r);if(c)if(Rw(r)){if(c.localJsxFragmentNamespace)return c.localJsxFragmentNamespace;const _=c.pragmas.get("jsxfrag");if(_){const b=ka(_)?_[0]:_;if(c.localJsxFragmentFactory=zw(b.arguments.factory,he),ct(c.localJsxFragmentFactory,v2,wp),c.localJsxFragmentFactory)return c.localJsxFragmentNamespace=Np(c.localJsxFragmentFactory).escapedText}const m=yhe(r);if(m)return c.localJsxFragmentFactory=m,c.localJsxFragmentNamespace=Np(m).escapedText}else{const _=TE(c);if(_)return c.localJsxNamespace=_}}return c0||(c0="React",Q.jsxFactory?(ly=zw(Q.jsxFactory,he),ct(ly,v2),ly&&(c0=Np(ly).escapedText)):Q.reactNamespace&&(c0=$c(Q.reactNamespace))),ly||(ly=V.createQualifiedName(V.createIdentifier(xs(c0)),"createElement")),c0}function TE(r){if(r.localJsxNamespace)return r.localJsxNamespace;const c=r.pragmas.get("jsx");if(c){const _=ka(c)?c[0]:c;if(r.localJsxFactory=zw(_.arguments.factory,he),ct(r.localJsxFactory,v2,wp),r.localJsxFactory)return r.localJsxNamespace=Np(r.localJsxFactory).escapedText}}function v2(r){return ag(r,-1,-1),Kr(r,v2,s0)}function vS(r,c){return TBe(r,c),ze}function SE(r,c,..._){const m=r?ei(r,c,..._):Cl(c,..._),b=Do.lookup(m);return b||(Do.add(m),m)}function l0(r,c,_,...m){const b=rt(c,_,...m);return b.skippedOn=r,b}function Ok(r,c,..._){return r?ei(r,c,..._):Cl(c,..._)}function rt(r,c,..._){const m=Ok(r,c,..._);return Do.add(m),m}function Tg(r,c){r?Do.add(c):gS.add({...c,category:2})}function fy(r,c,_,...m){if(c.pos<0||c.end<0){if(!r)return;const b=pn(c);Tg(r,"message"in _?vu(b,0,0,_,...m):Cee(b,_));return}Tg(r,"message"in _?ei(c,_,...m):Hy(pn(c),c,_))}function A1(r,c,_,...m){const b=rt(r,_,...m);if(c){const x=ei(r,v.Did_you_forget_to_use_await);ho(b,x)}return b}function b2(r,c){const _=Array.isArray(r)?te(r,MK):MK(r);return _&&ho(c,ei(_,v.The_declaration_was_marked_as_deprecated_here)),gS.add(c),c}function u0(r){const c=E_(r);return c&&G(r.declarations)>1?c.flags&64?Ne(r.declarations,T2):ot(r.declarations,T2):!!r.valueDeclaration&&T2(r.valueDeclaration)||G(r.declarations)&&ot(r.declarations,T2)}function T2(r){return!!(ph(r)&268435456)}function yl(r,c,_){const m=ei(r,v._0_is_deprecated,_);return b2(c,m)}function f0(r,c,_,m){const b=_?ei(r,v.The_signature_0_of_1_is_deprecated,m,_):ei(r,v._0_is_deprecated,m);return b2(c,b)}function No(r,c,_){C++;const m=new g(r|33554432,c);return m.links=new kie,m.links.checkFlags=_||0,m}function $_(r,c){const _=No(1,r);return _.links.type=c,_}function bS(r,c){const _=No(4,r);return _.links.type=c,_}function Df(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 _y(r,c){c.mergeId||(c.mergeId=Sie,Sie++),Ak[c.mergeId]=r}function q_(r){const c=No(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)),_y(c,r),c}function P1(r,c,_=!1){if(!(r.flags&Df(c.flags))||(c.flags|r.flags)&67108864){if(c===r)return r;if(!(r.flags&33554432)){const b=Qc(r);if(b===qr)return c;r=q_(b)}c.flags&512&&r.flags&512&&r.constEnumOnlyModule&&!c.constEnumOnlyModule&&(r.constEnumOnlyModule=!1),r.flags|=c.flags,c.valueDeclaration&&_5(r,c.valueDeclaration),Pi(r.declarations,c.declarations),c.members&&(r.members||(r.members=za()),Ch(r.members,c.members,_)),c.exports&&(r.exports||(r.exports=za()),Ch(r.exports,c.exports,_)),_||_y(r,c)}else if(r.flags&1024)r!==_t&&rt(c.declarations&&ia(c.declarations[0]),v.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,Xe(r));else{const b=!!(r.flags&384||c.flags&384),x=!!(r.flags&2||c.flags&2),P=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&&pn(c.declarations[0]),$=r.declarations&&pn(r.declarations[0]),re=gj(J,Q.checkJs),oe=gj($,Q.checkJs),Ee=Xe(c);if(J&&$&&Us&&!b&&J!==$){const Le=Tx(J.path,$.path)===-1?J:$,We=Le===J?$:J,gt=ni(Us,`${Le.path}|${We.path}`,()=>({firstFile:Le,secondFile:We,conflictingSymbols:new Map})),$t=ni(gt.conflictingSymbols,Ee,()=>({isBlockScoped:x,firstFileLocations:[],secondFileLocations:[]}));re||m($t.firstFileLocations,c),oe||m($t.secondFileLocations,r)}else re||TS(c,P,Ee,r),oe||TS(r,P,Ee,c)}return r;function m(b,x){if(x.declarations)for(const P of x.declarations)Sp(b,P)}}function TS(r,c,_,m){te(r.declarations,b=>{SS(b,c,_,m.declarations)})}function SS(r,c,_,m){const b=(Xb(r,!1)?Ree(r):ia(r))||r,x=SE(b,c,_);for(const P of m||ft){const J=(Xb(P,!1)?Ree(P):ia(P))||P;if(J===b)continue;x.relatedInformation=x.relatedInformation||[];const $=ei(J,v._0_was_also_declared_here,_),re=ei(J,v.and_here);G(x.relatedInformation)>=5||Ne(x.relatedInformation,oe=>QP(oe,re)===0||QP(oe,$)===0)||ho(x,G(x.relatedInformation)?re:$)}}function xE(r,c){if(!(r!=null&&r.size))return c;if(!(c!=null&&c.size))return r;const _=za();return Ch(_,r),Ch(_,c),_}function Ch(r,c,_=!1){c.forEach((m,b)=>{const x=r.get(b);r.set(b,x?P1(x,m,_):Fo(m))})}function Lk(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(dh(b))Ch(et,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 P=h0(r,r,x,!0);if(!P)return;if(P=dp(P),P.flags&1920)if(Ne(sc,J=>P===J.symbol)){const J=P1(b.symbol,P,!0);mu||(mu=new Map),mu.set(r.text,J)}else{if((_=P.exports)!=null&&_.get("__export")&&((m=b.symbol.exports)!=null&&m.size)){const J=npe(P,"resolvedExports");for(const[$,re]of oo(b.symbol.exports.entries()))J.has($)&&!P.exports.has($)&&P1(J.get($),re)}P1(P,b.symbol)}else rt(r,v.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,r.text)}}function Mk(r,c,_){c.forEach((b,x)=>{const P=r.get(x);P?te(P.declarations,m(xs(x),_)):r.set(x,b)});function m(b,x){return P=>Do.add(ei(P,x,b))}}function ms(r){if(r.flags&33554432)return r.links;const c=vo(r);return pS[c]??(pS[c]=new kie)}function mi(r){const c=Jo(r);return h2[c]||(h2[c]=new Cet)}function fp(r){return r.kind===311&&!Pp(r)}function Eu(r,c,_){if(_){const m=Fo(r.get(c));if(m&&(R.assert((ml(m)&1)===0,"Should never get an instantiated symbol here."),m.flags&_||m.flags&2097152&&p_(m)&_))return m}}function D1(r,c){const _=r.parent,m=r.parent.parent,b=Eu(_.locals,c,111551),x=Eu($1(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 _0(r,c){const _=pn(r),m=pn(c),b=Kh(r);if(_!==m){if(W&&(_.externalModuleIndicator||m.externalModuleIndicator)||!Ac(Q)||HA(c)||r.flags&16777216||P(c,r))return!0;const $=e.getSourceFiles();return $.indexOf(_)<=$.indexOf(m)}if(r.pos<=c.pos&&!(Ia(r)&&e5(c.parent)&&!r.initializer&&!r.exclamationToken)){if(r.kind===207){const $=Yb(c,207);return $?mn($,Lo)!==mn(r,Lo)||r.pos<$.pos:_0(Yb(r,259),c)}else{if(r.kind===259)return!x(r,c);if(Su(r))return!mn(c,$=>Ho($)&&$.parent.parent===r);if(Ia(r))return!J(r,c,!1);if(Cp(r,r.parent))return!(Eo(Q)===99&&de&&_u(r)===_u(c)&&P(c,r))}return!0}if(c.parent.kind===280||c.parent.kind===276&&c.parent.isExportEquals||c.kind===276&&c.isExportEquals||c.flags&8388608||HA(c)||Bde(c))return!0;if(P(c,r))return Eo(Q)>=9&&de&&_u(r)&&(Ia(r)||Cp(r,r.parent))?!J(r,c,!0):!0;return!1;function x($,re){switch($.parent.parent.kind){case 242:case 247:case 249:if(qm(re,$,b))return!0;break}const oe=$.parent.parent;return V6(oe)&&qm(re,oe.expression,b)}function P($,re){return!!mn($,oe=>{if(oe===b)return"quit";if(Sa(oe))return!0;if(al(oe))return re.pos<$.pos;const Ee=wi(oe.parent,Ia);if(Ee&&Ee.initializer===oe){if(Aa(oe.parent)){if(re.kind===173)return!0;if(Ia(re)&&_u($)===_u(re)){const We=re.name;if(He(We)||fs(We)){const gt=bn(Yn(re)),$t=gr(re.parent.members,al);if(pCt(We,gt,$t,re.parent.pos,oe.pos))return!0}}}else if(!(re.kind===171&&!Aa(re))||_u($)!==_u(re))return!0}return!1})}function J($,re,oe){return re.end>$.end?!1:mn(re,Le=>{if(Le===$)return"quit";switch(Le.kind){case 218:return!0;case 171:return oe&&(Ia($)&&Le.parent===$.parent||Cp($,$.parent)&&Le.parent===$.parent.parent)?"quit":!0;case 240:switch(Le.parent.kind){case 176:case 173:case 177:return!0;default:return!1}default:return!1}})===void 0}}function S2(r,c,_){const m=Eo(Q),b=c;if(ea(_)&&b.body&&r.valueDeclaration&&r.valueDeclaration.pos>=b.body.pos&&r.valueDeclaration.end<=b.body.end&&m>=2){const J=mi(b);return J.declarationRequiresScopeChange===void 0&&(J.declarationRequiresScopeChange=te(b.parameters,x)||!1),!J.declarationRequiresScopeChange}return!1;function x(J){return P(J.name)||!!J.initializer&&P(J.initializer)}function P(J){switch(J.kind){case 218:case 217:case 261:case 175:return!1;case 173:case 176:case 177:case 302:return P(J.name);case 171:return su(J)?m<99||!de:P(J.name);default:return JK(J)||Tf(J)?m<7:Lo(J)&&J.dotDotDotToken&&Om(J.parent)?m<4:ys(J)?!1:_a(J,P)||!1}}}function kE(r){return Ax(r)&&Wy(r.type)||DD(r)&&Wy(r.typeExpression)}function ll(r,c,_,m,b,x,P=!1,J=!0){return xS(r,c,_,m,b,x,P,J,Eu)}function xS(r,c,_,m,b,x,P,J,$){var re,oe,Ee;const Le=r;let We,gt,$t,Vr,Zr,Tn=!1;const xr=r;let Sr,Jn=!1;e:for(;r;){if(c==="const"&&kE(r))return;if(Al(r)&&gt&&r.name===gt&&(gt=r,r=r.parent),Qh(r)&&r.locals&&!fp(r)&&(We=$(r.locals,c,_))){let Xr=!0;if(Sa(r)&&gt&&gt!==r.body?(_&We.flags&788968&&gt.kind!==326&&(Xr=We.flags&262144?gt===r.type||gt.kind===168||gt.kind===347||gt.kind===348||gt.kind===167:!1),_&We.flags&3&&(S2(We,r,gt)?Xr=!1:We.flags&1&&(Xr=gt.kind===168||gt===r.type&&!!mn(We.valueDeclaration,ea)))):r.kind===193&&(Xr=gt===r.trueType),Xr)break e;We=void 0}switch(Tn=Tn||Fk(r,gt),r.kind){case 311:if(!Pp(r))break;Jn=!0;case 266:const Xr=((re=Yn(r))==null?void 0:re.exports)||Z;if(r.kind===311||Al(r)&&r.flags&16777216&&!dh(r)){if(We=Xr.get("default")){const Mi=y4(We);if(Mi&&We.flags&_&&Mi.escapedName===c)break e;We=void 0}const yi=Xr.get(c);if(yi&&yi.flags===2097152&&(_l(yi,280)||_l(yi,279)))break}if(c!=="default"&&(We=$(Xr,c,_&2623475)))if(Cs(r)&&r.commonJsModuleIndicator&&!((oe=We.declarations)!=null&&oe.some(Id)))We=void 0;else break e;break;case 265:if(We=$(((Ee=Yn(r))==null?void 0:Ee.exports)||Z,c,_&8)){m&&Nm(Q)&&!(r.flags&16777216)&&pn(r)!==pn(We.valueDeclaration)&&rt(xr,v.Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead,xs(c),Xt,`${xs(Up(r).escapedName)}.${xs(c)}`);break e}break;case 171:if(!Aa(r)){const yi=lb(r.parent);yi&&yi.locals&&$(yi.locals,c,_&111551)&&(R.assertNode(r,Ia),Vr=r)}break;case 262:case 230:case 263:if(We=$(Yn(r).members||Z,c,_&788968)){if(!Rk(We,r)){We=void 0;break}if(gt&&Aa(gt)){m&&rt(xr,v.Static_members_cannot_reference_class_type_parameters);return}break e}if(Gf(r)&&_&32){const yi=r.name;if(yi&&c===yi.escapedText){We=r.symbol;break e}}break;case 232:if(gt===r.expression&&r.parent.token===96){const yi=r.parent.parent;if(Ri(yi)&&(We=$(Yn(yi).members,c,_&788968))){m&&rt(xr,v.Base_class_expressions_cannot_reference_class_type_parameters);return}}break;case 166:if(Sr=r.parent.parent,(Ri(Sr)||Sr.kind===263)&&(We=$(Yn(Sr).members,c,_&788968))){m&&rt(xr,v.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return}break;case 218:if(Eo(Q)>=2)break;case 173:case 175:case 176:case 177:case 261:if(_&3&&c==="arguments"){We=Lt;break e}break;case 217:if(_&3&&c==="arguments"){We=Lt;break e}if(_&16){const yi=r.name;if(yi&&c===yi.escapedText){We=r.symbol;break e}}break;case 169:r.parent&&r.parent.kind===168&&(r=r.parent),r.parent&&(Mu(r.parent)||r.parent.kind===262)&&(r=r.parent);break;case 352:case 344:case 346:const un=DP(r);un&&(r=un.parent);break;case 168:gt&&(gt===r.initializer||gt===r.name&&Fa(gt))&&(Zr||(Zr=r));break;case 207:gt&&(gt===r.initializer||gt===r.name&&Fa(gt))&&Rx(r)&&!Zr&&(Zr=r);break;case 194:if(_&262144){const yi=r.typeParameter.name;if(yi&&c===yi.escapedText){We=r.typeParameter.symbol;break e}}break;case 280:gt&&gt===r.propertyName&&r.parent.parent.moduleSpecifier&&(r=r.parent.parent.parent);break}CS(r)&&($t=r),gt=r,r=Rm(r)?Wj(r)||r.parent:(Fm(r)||xU(r))&&Qb(r)||r.parent}if(x&&We&&(!$t||We!==$t.symbol)&&(We.isReferenced|=_),!We){if(gt&&(R.assertNode(gt,Cs),gt.commonJsModuleIndicator&&c==="exports"&&_&gt.symbol.flags))return gt.symbol;P||(We=$(et,c,_))}if(!We&&Le&&Mn(Le)&&Le.parent&&M_(Le.parent,!1))return Dt;function Pr(){return Vr&&!(de&&Eo(Q)>=9)?(rt(xr,xr&&Vr.type&&qB(Vr.type,xr.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,ac(Vr.name),_m(b)),!0):!1}if(We){if(m&&Pr())return}else{m&&n(()=>{if(!xr||xr.parent.kind!==330&&!wA(xr,c,b)&&!Pr()&&!Kv(xr)&&!_p(xr,c,_)&&!eb(xr,c)&&!$m(xr,c,_)&&!CE(xr,c,_)&&!p0(xr,c,_)){let Xr,un;if(b&&(un=bTt(b),un&&rt(xr,m,_m(b),un)),!un&&J&&Ek<w1&&(Xr=yme(Le,c,_),(Xr==null?void 0:Xr.valueDeclaration)&&$f(Xr.valueDeclaration)&&dh(Xr.valueDeclaration)&&(Xr=void 0),Xr)){const Mi=Xe(Xr),Ks=mme(Le,Xr,!1),La=_===1920||b&&typeof b!="string"&&Ec(b)?v.Cannot_find_namespace_0_Did_you_mean_1:Ks?v.Could_not_find_name_0_Did_you_mean_1:v.Cannot_find_name_0_Did_you_mean_1,lu=Ok(xr,La,_m(b),Mi);Tg(!Ks,lu),Xr.valueDeclaration&&ho(lu,ei(Xr.valueDeclaration,v._0_is_declared_here,Mi))}!Xr&&!un&&b&&rt(xr,m,_m(b)),Ek++}});return}return m&&n(()=>{if(xr&&(_&2||(_&32||_&384)&&(_&111551)===111551)){const Xr=Ud(We);(Xr.flags&2||Xr.flags&32||Xr.flags&384)&&EA(Xr,xr)}if(We&&Jn&&(_&111551)===111551&&!(Le.flags&8388608)){const Xr=Fo(We);G(Xr.declarations)&&ot(Xr.declarations,un=>xO(un)||Cs(un)&&!!un.symbol.globalExports)&&fy(!Q.allowUmdGlobalAccess,xr,v._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,xs(c))}if(We&&Zr&&!Tn&&(_&111551)===111551){const Xr=Fo(nH(We)),un=tg(Zr);Xr===Yn(Zr)?rt(xr,v.Parameter_0_cannot_reference_itself,ac(Zr.name)):Xr.valueDeclaration&&Xr.valueDeclaration.pos>Zr.pos&&un.parent.locals&&$(un.parent.locals,Xr.escapedName,_)===Xr&&rt(xr,v.Parameter_0_cannot_reference_identifier_1_declared_after_it,ac(Zr.name),ac(xr))}if(We&&xr&&_&111551&&We.flags&2097152&&!(We.flags&111551)&&!$x(xr)){const Xr=_f(We,111551);if(Xr){const un=Xr.kind===280||Xr.kind===277||Xr.kind===279?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,yi=xs(c);kS(rt(xr,un,yi),Xr,yi)}}}),We}function kS(r,c,_){return c?ho(r,ei(c,c.kind===280||c.kind===277||c.kind===279?v._0_was_exported_here:v._0_was_imported_here,_)):r}function Fk(r,c){return r.kind!==218&&r.kind!==217?vD(r)||(Lc(r)||r.kind===171&&!Aa(r))&&(!c||c!==r.name):c&&c===r.name?!1:r.asteriskToken||gi(r,512)?!0:!Ox(r)}function CS(r){switch(r.kind){case 261:case 262:case 263:case 265:case 264:case 266:return!0;default:return!1}}function _m(r){return Wa(r)?xs(r):ac(r)}function Rk(r,c){if(r.declarations){for(const _ of r.declarations)if(_.kind===167&&(Rm(_.parent)?uw(_.parent):_.parent)===c)return!(Rm(_.parent)&&Ve(_.parent.parent.tags,Id))}return!1}function wA(r,c,_){if(!He(r)||r.escapedText!==c||SBe(r)||HA(r))return!1;const m=y_(r,!1,!1);let b=m;for(;b;){if(Ri(b.parent)){const x=Yn(b.parent);if(!x)break;const P=bn(x);if($a(P,c))return rt(r,v.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,_m(_),Xe(x)),!0;if(b===m&&!Aa(b)){const J=yc(x).thisType;if($a(J,c))return rt(r,v.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,_m(_)),!0}}b=b.parent}return!1}function Kv(r){const c=Bk(r);return c&&rl(c,64,!0)?(rt(r,v.Cannot_extend_an_interface_0_Did_you_mean_implements,iu(c)),!0):!1}function Bk(r){switch(r.kind){case 80:case 210:return r.parent?Bk(r.parent):void 0;case 232:if(kl(r.expression))return r.expression;default:return}}function _p(r,c,_){const m=1920|(Mn(r)?111551:0);if(_===m){const b=Qc(ll(r,c,788968&~m,void 0,void 0,!1)),x=r.parent;if(b){if(B_(x)){R.assert(x.left===r,"Should only be resolving left side of qualified name as a namespace");const P=x.right.escapedText;if($a(yc(b),P))return rt(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,xs(c),xs(P)),!0}return rt(r,v._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,xs(c)),!0}}return!1}function p0(r,c,_){if(_&788584){const m=Qc(ll(r,c,111127,void 0,void 0,!1));if(m&&!(m.flags&1920))return rt(r,v._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,xs(c)),!0}return!1}function W_(r){return r==="any"||r==="string"||r==="number"||r==="boolean"||r==="never"||r==="unknown"}function eb(r,c){return W_(c)&&r.parent.kind===280?(rt(r,v.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,c),!0):!1}function CE(r,c,_){if(_&111551){if(W_(c))return py(r)?rt(r,v.An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_classes,xs(c)):rt(r,v._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,xs(c)),!0;const m=Qc(ll(r,c,788544,void 0,void 0,!1)),b=m&&p_(m);if(m&&b!==void 0&&!(b&111551)){const x=xs(c);return jk(c)?rt(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):tb(r,m)?rt(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"):rt(r,v._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,x),!0}}return!1}function py(r){const c=r.parent.parent,_=c.parent;if(c&&_){const m=sp(c)&&c.token===96,b=Xf(_);return m&&b}return!1}function tb(r,c){const _=mn(r.parent,m=>Ho(m)||Gp(m)?!1:Ip(m)||"quit");if(_&&_.members.length===1){const m=yc(c);return!!(m.flags&1048576)&&nF(m,384,!0)}return!1}function jk(r){switch(r){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}function $m(r,c,_){if(_&111127){if(Qc(ll(r,c,1024,void 0,void 0,!1)))return rt(r,v.Cannot_use_namespace_0_as_a_value,xs(c)),!0}else if(_&788544&&Qc(ll(r,c,1536,void 0,void 0,!1)))return rt(r,v.Cannot_use_namespace_0_as_a_type,xs(c)),!0;return!1}function EA(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=>dee(b)||Ri(b)||b.kind===265);if(m===void 0)return R.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!(m.flags&16777216)&&!_0(m,c)){let b;const x=ac(ia(m));r.flags&2?b=rt(c,v.Block_scoped_variable_0_used_before_its_declaration,x):r.flags&32?b=rt(c,v.Class_0_used_before_its_declaration,x):r.flags&256&&(b=rt(c,v.Enum_0_used_before_its_declaration,x)),b&&ho(b,ei(m,v._0_is_declared_here,x))}}function qm(r,c,_){return!!c&&!!mn(r,m=>m===c||(m===_||Sa(m)&&(!Ox(m)||p4(m))?"quit":!1))}function Wm(r){switch(r.kind){case 270:return r;case 272:return r.parent;case 273:return r.parent.parent;case 275:return r.parent.parent.parent;default:return}}function pp(r){return r.declarations&&Ft(r.declarations,x2)}function x2(r){return r.kind===270||r.kind===269||r.kind===272&&!!r.name||r.kind===273||r.kind===279||r.kind===275||r.kind===280||r.kind===276&&u4(r)||Bn(r)&&dl(r)===2&&u4(r)||jc(r)&&Bn(r.parent)&&r.parent.left===r&&r.parent.operatorToken.kind===64&&rb(r.parent.right)||r.kind===303||r.kind===302&&rb(r.initializer)||r.kind===259&&MT(r)||r.kind===207&&MT(r.parent.parent)}function rb(r){return x5(r)||_c(r)&&rh(r)}function AA(r,c){const _=w2(r);if(_){const b=GP(_.expression).arguments[0];return He(_.name)?Qc($a(g9e(b),_.name.escapedText)):void 0}if(bs(r)||r.moduleReference.kind===282){const b=cu(r,Oee(r)||AP(r)),x=dp(b);return bd(r,b,x,!1),x}const m=PS(r.moduleReference,c);return Jk(r,m),m}function Jk(r,c){if(bd(r,void 0,c,!1)&&!r.isTypeOnly){const _=_f(Yn(r)),m=_.kind===280||_.kind===277,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,P=_.kind===277?"*":xs(_.name.escapedText);ho(rt(r.moduleReference,b),ei(_,x,P))}}function nc(r,c,_,m){const b=r.exports.get("export="),x=b?$a(bn(b),c,!0):r.exports.get(c),P=Qc(x,m);return bd(_,x,P,!1),P}function wS(r){return Pl(r)&&!r.isExportEquals||gi(r,1024)||T_(r)}function nb(r){return Yo(r)?cm(pn(r),r):void 0}function Uk(r,c){return r===99&&c===1}function ib(r){return nb(r)===99&&Sl(r.text,".json")}function zk(r,c,_,m){const b=r&&nb(m);if(r&&b!==void 0){const x=Uk(b,r.impliedNodeFormat);if(b===99||x)return x}if(!Ce)return!1;if(!r||r.isDeclarationFile){const x=nc(c,"default",void 0,!0);return!(x&&Ne(x.declarations,wS)||nc(c,$c("__esModule"),void 0,_))}return qf(r)?typeof r.externalModuleIndicator!="object"&&!nc(c,$c("__esModule"),void 0,_):my(c)}function wE(r,c){const _=cu(r,r.parent.moduleSpecifier);if(_)return Vk(_,r,c)}function Vk(r,c,_){var m;let b;xP(r)?b=r:b=nc(r,"default",c,_);const x=(m=r.declarations)==null?void 0:m.find(Cs),P=gn(c);if(!P)return b;const J=ib(P),$=zk(x,r,_,P);if(!b&&!$&&!J)if(my(r)&&!Ce){const re=W>=5?"allowSyntheticDefaultImports":"esModuleInterop",Ee=r.exports.get("export=").valueDeclaration,Le=rt(c.name,v.Module_0_can_only_be_default_imported_using_the_1_flag,Xe(r),re);Ee&&ho(Le,ei(Ee,v.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,re))}else ug(c)?Il(r,c):C2(r,r,c,ZC(c)&&c.propertyName||c.name);else if($||J){const re=dp(r,_)||Qc(r,_);return bd(c,r,re,!1),re}return bd(c,b,void 0,!1),b}function gn(r){switch(r.kind){case 272:return r.parent.moduleSpecifier;case 270:return fg(r.moduleReference)?r.moduleReference.expression:void 0;case 273:return r.parent.parent.moduleSpecifier;case 275:return r.parent.parent.parent.moduleSpecifier;case 280:return r.parent.parent.moduleSpecifier;default:return R.assertNever(r)}}function Il(r,c){var _,m,b;if((_=r.exports)!=null&&_.has(c.symbol.escapedName))rt(c.name,v.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,Xe(r),Xe(c.symbol));else{const x=rt(c.name,v.Module_0_has_no_default_export,Xe(r)),P=(m=r.exports)==null?void 0:m.get("__export");if(P){const J=(b=P.declarations)==null?void 0:b.find($=>{var re,oe;return!!(Ju($)&&$.moduleSpecifier&&((oe=(re=cu($,$.moduleSpecifier))==null?void 0:re.exports)!=null&&oe.has("default")))});J&&ho(x,ei(J,v.export_Asterisk_does_not_re_export_a_default))}}}function Ws(r,c){const _=r.parent.parent.moduleSpecifier,m=cu(r,_),b=ab(m,_,c,!1);return bd(r,m,b,!1),b}function d0(r,c){const _=r.parent.moduleSpecifier,m=_&&cu(r,_),b=_&&ab(m,_,c,!1);return bd(r,m,b,!1),b}function ES(r,c){if(r===qr&&c===qr)return qr;if(r.flags&790504)return r;const _=No(r.flags|c.flags,r.escapedName);return R.assert(r.declarations||c.declarations),_.declarations=Ds(wr(r.declarations,c.declarations),Ub),_.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 Hm(r,c,_,m){var b;if(r.flags&1536){const x=Jp(r).get(c.escapedText),P=Qc(x,m),J=(b=ms(r).typeOnlyExportStarMap)==null?void 0:b.get(c.escapedText);return bd(_,x,P,!1,J,c.escapedText),P}}function xn(r,c){if(r.flags&3){const _=r.valueDeclaration.type;if(_)return Qc($a(Bi(_),c))}}function k2(r,c,_=!1){var m;const b=Oee(r)||r.moduleSpecifier,x=cu(r,b),P=!ai(c)&&c.propertyName||c.name;if(!He(P))return;const J=P.escapedText==="default"&&Ce,$=ab(x,b,!1,J);if($&&P.escapedText){if(xP(x))return x;let re;x&&x.exports&&x.exports.get("export=")?re=$a(bn($),P.escapedText,!0):re=xn($,P.escapedText),re=Qc(re,_);let oe=Hm($,P,c,_);if(oe===void 0&&P.escapedText==="default"){const Le=(m=x.declarations)==null?void 0:m.find(Cs);(ib(b)||zk(Le,x,_,b))&&(oe=dp(x,_)||Qc(x,_))}const Ee=oe&&re&&oe!==re?ES(re,oe):oe||re;return Ee||C2(x,$,r,P),Ee}}function C2(r,c,_,m){var b;const x=Td(r,_),P=ac(m),J=oG(m,c);if(J!==void 0){const $=Xe(J),re=rt(m,v._0_has_no_exported_member_named_1_Did_you_mean_2,x,P,$);J.valueDeclaration&&ho(re,ei(J.valueDeclaration,v._0_is_declared_here,$))}else(b=r.exports)!=null&&b.has("default")?rt(m,v.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,x,P):Hl(_,m,P,r,x)}function Hl(r,c,_,m,b){var x,P;const J=(P=(x=wi(m.valueDeclaration,Qh))==null?void 0:x.locals)==null?void 0:P.get(c.escapedText),$=m.exports;if(J){const re=$==null?void 0:$.get("export=");if(re)Eh(re,J)?wh(r,c,_,b):rt(c,v.Module_0_has_no_exported_member_1,b,_);else{const oe=$?Ve(Tpe($),Le=>!!Eh(Le,J)):void 0,Ee=oe?rt(c,v.Module_0_declares_1_locally_but_it_is_exported_as_2,b,_,Xe(oe)):rt(c,v.Module_0_declares_1_locally_but_it_is_not_exported,b,_);J.declarations&&ho(Ee,...qt(J.declarations,(Le,We)=>ei(Le,We===0?v._0_is_declared_here:v.and_here,_)))}}else rt(c,v.Module_0_has_no_exported_member_1,b,_)}function wh(r,c,_,m){if(W>=5){const b=sg(Q)?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;rt(c,b,_)}else if(Mn(r)){const b=sg(Q)?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;rt(c,b,_)}else{const b=sg(Q)?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;rt(c,b,_,_,m)}}function jd(r,c){if(J_(r)&&Zn(r.propertyName||r.name)==="default"){const P=gn(r),J=P&&cu(r,P);if(J)return Vk(J,r,c)}const _=Lo(r)?tg(r):r.parent.parent.parent,m=w2(_),b=k2(_,m||r,c),x=r.propertyName||r.name;return m&&b&&He(x)?Qc($a(bn(b),x.escapedText),c):(bd(r,void 0,b,!1),b)}function w2(r){if(bs(r)&&r.initializer&&ai(r.initializer))return r.initializer}function AS(r,c){if(Xh(r.parent)){const _=dp(r.parent.symbol,c);return bd(r,void 0,_,!1),_}}function dy(r,c,_){if(Zn(r.propertyName||r.name)==="default"){const b=gn(r),x=b&&cu(r,b);if(x)return Vk(x,r,!!_)}const m=r.parent.parent.moduleSpecifier?k2(r.parent.parent,r,_):rl(r.propertyName||r.name,c,!1,_);return bd(r,void 0,m,!1),m}function E2(r,c){const _=Pl(r)?r.expression:r.right,m=A2(_,c);return bd(r,void 0,m,!1),m}function A2(r,c){if(Gf(r))return jl(r).symbol;if(!wp(r)&&!kl(r))return;const _=rl(r,901119,!0,c);return _||(jl(r),mi(r).resolvedSymbol)}function Sg(r,c){if(Bn(r.parent)&&r.parent.left===r&&r.parent.operatorToken.kind===64)return A2(r.parent.right,c)}function Jd(r,c=!1){switch(r.kind){case 270:case 259:return AA(r,c);case 272:return wE(r,c);case 273:return Ws(r,c);case 279:return d0(r,c);case 275:case 207:return jd(r,c);case 280:return dy(r,901119,c);case 276:case 225:return E2(r,c);case 269:return AS(r,c);case 303:return rl(r.name,901119,!0,c);case 302:return A2(r.initializer,c);case 211:case 210:return Sg(r,c);default:return R.fail()}}function N1(r,c=901119){return r?(r.flags&(2097152|c))===2097152||!!(r.flags&2097152&&r.flags&67108864):!1}function Qc(r,c){return!c&&N1(r)?ef(r):r}function ef(r){R.assert((r.flags&2097152)!==0,"Should only get Alias here.");const c=ms(r);if(c.aliasTarget)c.aliasTarget===xi&&(c.aliasTarget=qr);else{c.aliasTarget=xi;const _=pp(r);if(!_)return R.fail();const m=Jd(_);c.aliasTarget===xi?c.aliasTarget=m||qr:rt(_,v.Circular_definition_of_import_alias_0,Xe(r))}return c.aliasTarget}function xg(r){if(ms(r).aliasTarget!==xi)return ef(r)}function p_(r){let c=r.flags,_;for(;r.flags&2097152;){const m=ef(r);if(m===qr)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 bd(r,c,_,m,b,x){if(!r||ai(r))return!1;const P=Yn(r);if(ET(r)){const $=ms(P);return $.typeOnlyDeclaration=r,!0}if(b){const $=ms(P);return $.typeOnlyDeclaration=b,P.escapedName!==x&&($.typeOnlyExportStarName=x),!0}const J=ms(P);return P2(J,c,m)||P2(J,_,m)}function P2(r,c,_){var m;if(c&&(r.typeOnlyDeclaration===void 0||_&&r.typeOnlyDeclaration===!1)){const b=((m=c.exports)==null?void 0:m.get("export="))??c,x=b.declarations&&Ve(b.declarations,ET);r.typeOnlyDeclaration=x??ms(b).typeOnlyDeclaration??!1}return!!r.typeOnlyDeclaration}function _f(r,c){if(!(r.flags&2097152))return;const _=ms(r);if(c===void 0)return _.typeOnlyDeclaration||void 0;if(_.typeOnlyDeclaration){const m=_.typeOnlyDeclaration.kind===277?Qc(kg(_.typeOnlyDeclaration.symbol.parent).get(_.typeOnlyExportStarName||r.escapedName)):ef(_.typeOnlyDeclaration.symbol);return p_(m)&c?_.typeOnlyDeclaration:void 0}}function $k(r){if(!Ye)return;const c=Yn(r),_=ef(c);_&&(_===qr||p_(_)&111551&&!UN(_)&&!_f(c,111551))&&I1(c)}function I1(r){R.assert(Ye);const c=ms(r);if(!c.referenced){c.referenced=!0;const _=pp(r);if(!_)return R.fail();i4(_)&&p_(Qc(r))&111551&&jl(_.moduleReference)}}function O1(r){const c=ms(r);c.constEnumReferenced||(c.constEnumReferenced=!0)}function PS(r,c){return r.kind===80&&zP(r)&&(r=r.parent),r.kind===80||r.parent.kind===165?rl(r,1920,!1,c):(R.assert(r.parent.kind===270),rl(r,901119,!1,c))}function Td(r,c){return r.parent?Td(r.parent,c)+"."+Xe(r):Xe(r,c,void 0,36)}function m0(r){for(;B_(r.parent);)r=r.parent;return r}function D2(r){let c=Np(r),_=ll(c,c.escapedText,111551,void 0,c,!0);if(_){for(;B_(c.parent);){const m=bn(_);if(_=$a(m,c.parent.right.escapedText),!_)return;c=c.parent}return _}}function rl(r,c,_,m,b){if(pl(r))return;const x=1920|(Mn(r)?c&111551:0);let P;if(r.kind===80){const J=c===x||Ec(r)?v.Cannot_find_namespace_0:oMe(Np(r)),$=Mn(r)&&!Ec(r)?sb(r,c):void 0;if(P=Fo(ll(b||r,r.escapedText,c,_||$?void 0:J,r,!0,!1)),!P)return Fo($)}else if(r.kind===165||r.kind===210){const J=r.kind===165?r.left:r.expression,$=r.kind===165?r.right:r.name;let re=rl(J,x,_,!1,b);if(!re||pl($))return;if(re===qr)return re;if(re.valueDeclaration&&Mn(re.valueDeclaration)&&wl(Q)!==100&&bs(re.valueDeclaration)&&re.valueDeclaration.initializer&&$Fe(re.valueDeclaration.initializer)){const oe=re.valueDeclaration.initializer.arguments[0],Ee=cu(oe,oe);if(Ee){const Le=dp(Ee);Le&&(re=Le)}}if(P=Fo(Eu(Jp(re),$.escapedText,c)),!P&&re.flags&2097152&&(P=Fo(Eu(Jp(ef(re)),$.escapedText,c))),!P){if(!_){const oe=Td(re),Ee=ac($),Le=oG($,re);if(Le){rt($,v._0_has_no_exported_member_named_1_Did_you_mean_2,oe,Ee,Xe(Le));return}const We=B_(r)&&m0(r);if(cl&&c&788968&&We&&!F4(We.parent)&&D2(We)){rt(We,v._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,np(We));return}if(c&1920&&B_(r.parent)){const $t=Fo(Eu(Jp(re),$.escapedText,788968));if($t){rt(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,Xe($t),xs(r.parent.right.escapedText));return}}rt($,v.Namespace_0_has_no_exported_member_1,oe,Ee)}return}}else R.assertNever(r,"Unknown entity name kind.");return R.assert((ml(P)&1)===0,"Should never get an instantiated symbol here."),!Ec(r)&&wp(r)&&(P.flags&2097152||r.parent.kind===276)&&bd(qee(r),P,void 0,!0),P.flags&c||m?P:ef(P)}function sb(r,c){if(cH(r.parent)){const _=DS(r.parent);if(_)return ll(_,r.escapedText,c,void 0,r,!0)}}function DS(r){if(mn(r,b=>$6(b)||b.flags&8388608?Id(b):"quit"))return;const _=uw(r);if(_&&of(_)&&f5(_.expression)){const b=Yn(_.expression.left);if(b)return eu(b)}if(_&&_c(_)&&f5(_.parent)&&of(_.parent.parent)){const b=Yn(_.parent.left);if(b)return eu(b)}if(_&&(Zd(_)||pu(_))&&Bn(_.parent.parent)&&dl(_.parent.parent)===6){const b=Yn(_.parent.parent.left);if(b)return eu(b)}const m=lw(r);if(m&&Sa(m)){const b=Yn(m);return b&&b.valueDeclaration}}function eu(r){const c=r.parent.valueDeclaration;return c?(PP(c)?iw(c):Px(c)?a5(c):void 0)||c:void 0}function EE(r){const c=r.valueDeclaration;if(!c||!Mn(c)||r.flags&524288||Xb(c,!1))return;const _=bs(c)?a5(c):iw(c);if(_){const m=Up(_);if(m)return Ame(m,r)}}function cu(r,c,_){const b=wl(Q)===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 h0(r,c,_?void 0:b)}function h0(r,c,_,m=!1){return Yo(c)?N2(r,c.text,_,c,m):void 0}function N2(r,c,_,m,b=!1){var x,P,J,$,re,oe,Ee,Le,We;if(Xs(c,"@types/")){const Xr=v.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,un=K3(c,"@types/");rt(m,Xr,un,c)}const gt=Spe(c,!0);if(gt)return gt;const $t=pn(r),Vr=Yo(r)?r:((x=mn(r,Dp))==null?void 0:x.arguments[0])||((P=mn(r,ju))==null?void 0:P.moduleSpecifier)||((J=mn(r,Gb))==null?void 0:J.moduleReference.expression)||(($=mn(r,Ju))==null?void 0:$.moduleSpecifier)||((re=Al(r)?r:r.parent&&Al(r.parent)&&r.parent.name===r?r.parent:void 0)==null?void 0:re.name)||((oe=Hb(r)?r:void 0)==null?void 0:oe.argument.literal),Zr=Vr&&Yo(Vr)?cm($t,Vr):$t.impliedNodeFormat,Tn=wl(Q),xr=H6($t,c,Zr),Sr=xr&&vse(Q,xr,$t),Jn=xr&&(!Sr||Sr===v.Module_0_was_resolved_to_1_but_jsx_is_not_set)&&e.getSourceFile(xr.resolvedFileName);if(Jn){if(Sr&&rt(m,Sr,c,xr.resolvedFileName),xr.resolvedUsingTsExtension&&S_(c)){const Xr=((Ee=mn(r,ju))==null?void 0:Ee.importClause)||mn(r,Wh(cf,Ju));(Xr&&!Xr.isTypeOnly||mn(r,Dp))&&rt(m,v.A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead,Pr(R.checkDefined(sJ(c))))}else if(xr.resolvedUsingTsExtension&&!tA(Q,$t.fileName)){const Xr=R.checkDefined(sJ(c));rt(m,v.An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled,Xr)}if(Jn.symbol){if(xr.isExternalLibraryImport&&!H5(xr.extension)&&Gm(!1,m,$t,Zr,xr,c),Tn===3||Tn===99){const Xr=$t.impliedNodeFormat===1&&!mn(r,Dp)||!!mn(r,cf),un=mn(r,Mi=>t0(Mi)||Ju(Mi)||ju(Mi)),yi=un&&t0(un)?(Le=un.assertions)==null?void 0:Le.assertClause:un==null?void 0:un.assertClause;if(Xr&&Jn.impliedNodeFormat===99&&!qw(yi))if(mn(r,cf))rt(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 Mi;const Ks=Kg($t.fileName);if(Ks===".ts"||Ks===".js"||Ks===".tsx"||Ks===".jsx"){const La=$t.packageJsonScope,lu=Ks===".ts"?".mts":Ks===".js"?".mjs":void 0;La&&!La.contents.packageJsonContent.type?lu?Mi=ca(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,lu,vs(La.packageDirectory,"package.json")):Mi=ca(void 0,v.To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0,vs(La.packageDirectory,"package.json")):lu?Mi=ca(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,lu):Mi=ca(void 0,v.To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module)}Do.add(Hy(pn(m),m,ca(Mi,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(Jn.symbol)}_&&rt(m,v.File_0_is_not_a_module,Jn.fileName);return}if(sc){const Xr=eZ(sc,un=>un.pattern,c);if(Xr){const un=mu&&mu.get(c);return Fo(un||Xr.symbol)}}if(xr&&!H5(xr.extension)&&Sr===void 0||Sr===v.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(b){const Xr=v.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;rt(m,Xr,c,xr.resolvedFileName)}else Gm(we&&!!_,m,$t,Zr,xr,c);return}if(_){if(xr){const Xr=e.getProjectReferenceRedirect(xr.resolvedFileName);if(Xr){rt(m,v.Output_file_0_has_not_been_built_from_source_file_1,Xr,xr.resolvedFileName);return}}if(Sr)rt(m,Sr,c,xr.resolvedFileName);else{const Xr=kp(c)&&!N6(c),un=Tn===3||Tn===99;if(!Ux(Q)&&Vl(c,".json")&&Tn!==1&&pJ(Q))rt(m,v.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,c);else if(Zr===99&&un&&Xr){const yi=ua(c,cs($t.path)),Mi=(We=bE.find(([Ks,La])=>e.fileExists(yi+Ks)))==null?void 0:We[1];Mi?rt(m,v.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0,c+Mi):rt(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 rt(m,_,c)}}return;function Pr(Xr){const un=W5(c,Xr);if(_J(W)||Zr===99){const yi=S_(c)&&tA(Q);return un+(Xr===".mts"||Xr===".d.mts"?yi?".mts":".mjs":Xr===".cts"||Xr===".d.mts"?yi?".cts":".cjs":yi?".ts":".js")}return un}}function Gm(r,c,_,m,{packageId:b,resolvedFileName:x},P){let J;!Lu(P)&&b&&(J=cee(_,e,P,m,b.name)),fy(r,c,ca(J,v.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,P,x))}function dp(r,c){if(r!=null&&r.exports){const _=Qc(r.exports.get("export="),c),m=NS(Fo(_),Fo(r));return Fo(m)||r}}function NS(r,c){if(!r||r===qr||r===c||c.exports.size===1||r.flags&2097152)return r;const _=ms(r);if(_.cjsExportMerged)return _.cjsExportMerged;const m=r.flags&33554432?r:q_(r);return m.flags=m.flags|512,m.exports===void 0&&(m.exports=za()),c.exports.forEach((b,x)=>{x!=="export="&&m.exports.set(x,m.exports.has(x)?P1(m.exports.get(x),b):b)}),m===r&&(ms(m).resolvedExports=void 0,ms(m).resolvedMembers=void 0),ms(m).cjsExportMerged=m,_.cjsExportMerged=m}function ab(r,c,_,m){var b;const x=dp(r,_);if(!_&&x){if(!m&&!(x.flags&1539)&&!_l(x,311)){const J=W>=5?"allowSyntheticDefaultImports":"esModuleInterop";return rt(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 P=c.parent;if(ju(P)&&o4(P)||Dp(P)){const J=Dp(P)?P.arguments[0]:P.moduleSpecifier,$=bn(x),re=zFe($,x,r,J);if(re)return AE(x,re,P);const oe=(b=r==null?void 0:r.declarations)==null?void 0:b.find(Cs),Ee=oe&&Uk(nb(J),oe.impliedNodeFormat);if(sg(Q)||Ee){let Le=_M($,0);if((!Le||!Le.length)&&(Le=_M($,1)),Le&&Le.length||$a($,"default",!0)||Ee){const We=$.flags&3670016?VFe($,x,r,J):Pme(x,x.parent);return AE(x,We,P)}}}}return x}function AE(r,c,_){const m=No(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=hm(c);return m.links.type=ul(m,b.members,ft,ft,b.indexInfos),m}function my(r){return r.exports.get("export=")!==void 0}function g0(r){return Tpe(kg(r))}function y0(r){const c=g0(r),_=dp(r);if(_!==r){const m=bn(_);v0(m)&&Pi(c,zo(m))}return c}function PA(r,c){kg(r).forEach((b,x)=>{Ah(x)||c(b,x)});const m=dp(r);if(m!==r){const b=bn(m);v0(b)&&Yyt(b,(x,P)=>{c(x,P)})}}function jp(r,c){const _=kg(c);if(_)return _.get(r)}function PE(r,c){const _=jp(r,c);if(_)return _;const m=dp(c);if(m===c)return;const b=bn(m);return v0(b)?$a(b,r):void 0}function v0(r){return!(r.flags&402784252||vi(r)&1||rd(r)||uo(r))}function Jp(r){return r.flags&6256?npe(r,"resolvedExports"):r.flags&1536?kg(r):r.exports||Z}function kg(r){const c=ms(r);if(!c.resolvedExports){const{exports:_,typeOnlyExportStarMap:m}=ob(r);c.resolvedExports=_,c.typeOnlyExportStarMap=m}return c.resolvedExports}function qk(r,c,_,m){c&&c.forEach((b,x)=>{if(x==="default")return;const P=r.get(x);if(!P)r.set(x,b),_&&m&&_.set(x,{specifierText:iu(m.moduleSpecifier)});else if(_&&m&&P&&Qc(P)!==Qc(b)){const J=_.get(x);J.exportsWithDuplicate?J.exportsWithDuplicate.push(m):J.exportsWithDuplicate=[m]}})}function ob(r){const c=[];let _;const m=new Set;r=dp(r);const b=x(r)||Z;return _&&m.forEach(P=>_.delete(P)),{exports:b,typeOnlyExportStarMap:_};function x(P,J,$){if(!$&&(P!=null&&P.exports)&&P.exports.forEach((Ee,Le)=>m.add(Le)),!(P&&P.exports&&Sp(c,P)))return;const re=new Map(P.exports),oe=P.exports.get("__export");if(oe){const Ee=za(),Le=new Map;if(oe.declarations)for(const We of oe.declarations){const gt=cu(We,We.moduleSpecifier),$t=x(gt,We,$||We.isTypeOnly);qk(Ee,$t,Le,We)}Le.forEach(({exportsWithDuplicate:We},gt)=>{if(!(gt==="export="||!(We&&We.length)||re.has(gt)))for(const $t of We)Do.add(ei($t,v.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,Le.get(gt).specifierText,xs(gt)))}),qk(re,Ee)}return J!=null&&J.isTypeOnly&&(_??(_=new Map),re.forEach((Ee,Le)=>_.set(Le,J))),re}}function Fo(r){let c;return r&&r.mergeId&&(c=Ak[r.mergeId])?c:r}function Yn(r){return Fo(r.symbol&&nH(r.symbol))}function Up(r){return Xh(r)?Yn(r):void 0}function E_(r){return Fo(r.parent&&nH(r.parent))}function IS(r,c){const _=pn(c),m=Jo(_),b=ms(r);let x;if(b.extendedContainersByFile&&(x=b.extendedContainersByFile.get(m)))return x;if(_&&_.imports){for(const J of _.imports){if(Ec(J))continue;const $=cu(c,J,!0);!$||!I2($,r)||(x=zr(x,$))}if(G(x))return(b.extendedContainersByFile||(b.extendedContainersByFile=new Map)).set(m,x),x}if(b.extendedContainers)return b.extendedContainers;const P=e.getSourceFiles();for(const J of P){if(!Ul(J))continue;const $=Yn(J);I2($,r)&&(x=zr(x,$))}return b.extendedContainers=x||ft}function L1(r,c,_){const m=E_(r);if(m&&!(r.flags&262144)){const P=lr(m.declarations,x),J=c&&IS(r,c),$=DA(m,_);if(c&&m.flags&gy(_)&&F1(m,c,1920,!1))return zr(wr(wr([m],P),J),$);const re=!(m.flags&gy(_))&&m.flags&788968&&yc(m).flags&524288&&_===111551?OS(c,Ee=>rp(Ee,Le=>{if(Le.flags&gy(_)&&bn(Le)===yc(m))return Le})):void 0;let oe=re?[re,...P,m]:[...P,m];return oe=zr(oe,$),oe=Pi(oe,J),oe}const b=lr(r.declarations,P=>{if(!$f(P)&&P.parent){if(b0(P.parent))return Yn(P.parent);if(yh(P.parent)&&P.parent.parent&&dp(Yn(P.parent.parent))===r)return Yn(P.parent.parent)}if(Gf(P)&&Bn(P.parent)&&P.parent.operatorToken.kind===64&&jc(P.parent.left)&&kl(P.parent.left.expression))return Xg(P.parent.left)||Lx(P.parent.left.expression)?Yn(pn(P)):(jl(P.parent.left.expression),mi(P.parent.left.expression).resolvedSymbol)});if(!G(b))return;return lr(b,P=>I2(P,r)?P:void 0);function x(P){return m&&cb(P,m)}}function DA(r,c){const _=!!G(r.declarations)&&Oo(r.declarations);if(c&111551&&_&&_.parent&&bs(_.parent)&&(jo(_)&&_===_.parent.initializer||Ip(_)&&_===_.parent.type))return Yn(_.parent)}function cb(r,c){const _=RS(r),m=_&&_.exports&&_.exports.get("export=");return m&&Eh(m,c)?_:void 0}function I2(r,c){if(r===E_(c))return c;const _=r.exports&&r.exports.get("export=");if(_&&Eh(_,c))return r;const m=Jp(r),b=m.get(c.escapedName);return b&&Eh(b,c)?b:rp(m,x=>{if(Eh(x,c))return x})}function Eh(r,c){if(Fo(Qc(Fo(r)))===Fo(Qc(Fo(c))))return r}function Ud(r){return Fo(r&&(r.flags&1048576)!==0&&r.exportSymbol||r)}function M1(r,c){return!!(r.flags&111551||r.flags&2097152&&p_(r)&111551&&(c||!_f(r)))}function lb(r){const c=r.members;for(const _ of c)if(_.kind===175&&Pd(_.body))return _}function Cg(r){var c;const _=new h(vr,r);return T++,_.id=T,(c=qi)==null||c.recordType(_),_}function hy(r,c){const _=Cg(r);return _.symbol=c,_}function ub(r){return new h(vr,r)}function Ol(r,c,_=0){const m=Cg(r);return m.intrinsicName=c,m.objectFlags=_,m}function $u(r,c){const _=hy(524288,c);return _.objectFlags=r,_.members=void 0,_.properties=void 0,_.callSignatures=void 0,_.constructSignatures=void 0,_.indexInfos=void 0,_}function NA(){return Ti(oo(hz.keys(),X_))}function Sd(r){return hy(262144,r)}function Ah(r){return r.charCodeAt(0)===95&&r.charCodeAt(1)===95&&r.charCodeAt(2)!==95&&r.charCodeAt(2)!==64&&r.charCodeAt(2)!==35}function O2(r){let c;return r.forEach((_,m)=>{Wk(_,m)&&(c||(c=[])).push(_)}),c||ft}function Wk(r,c){return!Ah(c)&&M1(r)}function L2(r){const c=O2(r),_=wpe(r);return _?wr(c,[_]):c}function pf(r,c,_,m,b){const x=r;return x.members=c,x.properties=ft,x.callSignatures=_,x.constructSignatures=m,x.indexInfos=b,c!==Z&&(x.properties=O2(c)),x}function ul(r,c,_,m,b){return pf($u(16,r),c,_,m,b)}function IA(r){if(r.constructSignatures.length===0)return r;if(r.objectTypeWithoutAbstractConstructSignatures)return r.objectTypeWithoutAbstractConstructSignatures;const c=gr(r.constructSignatures,m=>!(m.flags&4));if(r.constructSignatures===c)return r;const _=ul(r.symbol,r.members,r.callSignatures,Ne(c)?c:ft,r.indexInfos);return r.objectTypeWithoutAbstractConstructSignatures=_,_.objectTypeWithoutAbstractConstructSignatures=_,_}function OS(r,c){let _;for(let m=r;m;m=m.parent){if(Qh(m)&&m.locals&&!fp(m)&&(_=c(m.locals,void 0,!0,m)))return _;switch(m.kind){case 311:if(!Pp(m))break;case 266:const b=Yn(m);if(_=c((b==null?void 0:b.exports)||Z,void 0,!0,m))return _;break;case 262:case 230:case 263:let x;if((Yn(m).members||Z).forEach((P,J)=>{P.flags&788968&&(x||(x=za())).set(J,P)}),x&&(_=c(x,void 0,!1,m)))return _;break}}return c(et,void 0,!0)}function gy(r){return r===111551?111551:1920}function F1(r,c,_,m,b=new Map){if(!(r&&!Hk(r)))return;const x=ms(r),P=x.accessibleChainCache||(x.accessibleChainCache=new Map),J=OS(c,(Zr,Tn,xr,Sr)=>Sr),$=`${m?0:1}|${J&&Jo(J)}|${_}`;if(P.has($))return P.get($);const re=vo(r);let oe=b.get(re);oe||b.set(re,oe=[]);const Ee=OS(c,Le);return P.set($,Ee),Ee;function Le(Zr,Tn,xr){if(!Sp(oe,Zr))return;const Sr=$t(Zr,Tn,xr);return oe.pop(),Sr}function We(Zr,Tn){return!LS(Zr,c,Tn)||!!F1(Zr.parent,c,gy(Tn),m,b)}function gt(Zr,Tn,xr){return(r===(Tn||Zr)||Fo(r)===Fo(Tn||Zr))&&!Ne(Zr.declarations,b0)&&(xr||We(Fo(Zr),_))}function $t(Zr,Tn,xr){return gt(Zr.get(r.escapedName),void 0,Tn)?[r]:rp(Zr,Jn=>{if(Jn.flags&2097152&&Jn.escapedName!=="export="&&Jn.escapedName!=="default"&&!(lJ(Jn)&&c&&Ul(pn(c)))&&(!m||Ne(Jn.declarations,Gb))&&(!xr||!Ne(Jn.declarations,yTe))&&(Tn||!_l(Jn,280))){const Pr=ef(Jn),Xr=Vr(Jn,Pr,Tn);if(Xr)return Xr}if(Jn.escapedName===r.escapedName&&Jn.exportSymbol&&gt(Fo(Jn.exportSymbol),void 0,Tn))return[r]})||(Zr===et?Vr(_t,_t,Tn):void 0)}function Vr(Zr,Tn,xr){if(gt(Zr,Tn,xr))return[Zr];const Sr=Jp(Tn),Jn=Sr&&Le(Sr,!0);if(Jn&&We(Zr,gy(_)))return[Zr].concat(Jn)}}function LS(r,c,_){let m=!1;return OS(c,b=>{let x=Fo(b.get(r.escapedName));if(!x)return!1;if(x===r)return!0;const P=x.flags&2097152&&!_l(x,280);return x=P?ef(x):x,(P?p_(x):x.flags)&_?(m=!0,!0):!1}),m}function Hk(r){if(r.declarations&&r.declarations.length){for(const c of r.declarations)switch(c.kind){case 171:case 173:case 176:case 177:continue;default:return!1}return!0}return!1}function MS(r,c){return R1(r,c,788968,!1,!0).accessibility===0}function M2(r,c){return R1(r,c,111551,!1,!0).accessibility===0}function FS(r,c,_){return R1(r,c,_,!1,!1).accessibility===0}function pm(r,c,_,m,b,x){if(!G(r))return;let P,J=!1;for(const $ of r){const re=F1($,c,m,!1);if(re){P=$;const Le=I(re[0],b);if(Le)return Le}if(x&&Ne($.declarations,b0)){if(b){J=!0;continue}return{accessibility:0}}const oe=L1($,c,m),Ee=pm(oe,c,_,_===$?gy(m):m,b,x);if(Ee)return Ee}if(J)return{accessibility:0};if(P)return{accessibility:1,errorSymbolName:Xe(_,c,m),errorModuleName:P!==_?Xe(P,c,1920):void 0}}function Xm(r,c,_,m){return R1(r,c,_,m,!0)}function R1(r,c,_,m,b){if(r&&c){const x=pm([r],c,r,_,m,b);if(x)return x;const P=te(r.declarations,RS);if(P){const J=RS(c);if(P!==J)return{accessibility:2,errorSymbolName:Xe(r,c,_),errorModuleName:Xe(P),errorNode:Mn(c)?c:void 0}}return{accessibility:1,errorSymbolName:Xe(r,c,_)}}return{accessibility:0}}function RS(r){const c=mn(r,OA);return c&&Yn(c)}function OA(r){return $f(r)||r.kind===311&&Pp(r)}function b0(r){return Tj(r)||r.kind===311&&Pp(r)}function I(r,c){let _;if(!ot(gr(r.declarations,x=>x.kind!==80),m))return;return{accessibility:0,aliasesToMakeVisible:_};function m(x){var P,J;if(!xd(x)){const $=Wm(x);if($&&!gi($,1)&&xd($.parent))return b(x,$);if(bs(x)&&Yl(x.parent.parent)&&!gi(x.parent.parent,1)&&xd(x.parent.parent.parent))return b(x,x.parent.parent);if(Sj(x)&&!gi(x,1)&&xd(x.parent))return b(x,x);if(Lo(x)){if(r.flags&2097152&&Mn(x)&&((P=x.parent)!=null&&P.parent)&&bs(x.parent.parent)&&((J=x.parent.parent.parent)!=null&&J.parent)&&Yl(x.parent.parent.parent.parent)&&!gi(x.parent.parent.parent.parent,1)&&x.parent.parent.parent.parent.parent&&xd(x.parent.parent.parent.parent.parent))return b(x,x.parent.parent.parent.parent);if(r.flags&2){const re=mn(x,Yl);return gi(re,1)?!0:xd(re.parent)?b(x,re):!1}}return!1}return!0}function b(x,P){return c&&(mi(x).isVisible=!0,_=n_(_,P)),!0}}function me(r,c){let _;r.parent.kind===185||r.parent.kind===232&&!Gg(r.parent)||r.parent.kind===166?_=1160127:r.kind===165||r.kind===210||r.parent.kind===270?_=1920:_=788968;const m=Np(r),b=ll(c,m.escapedText,_,void 0,void 0,!1);return b&&b.flags&262144&&_&788968?{accessibility:0}:!b&&JT(m)&&Xm(Yn(y_(m,!1,!1)),m,_,!1).accessibility===0?{accessibility:0}:b&&I(b,!0)||{accessibility:1,errorSymbolName:iu(m),errorNode:m}}function Xe(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 P=m&4?st.symbolToNode:st.symbolToEntityName;return b?J(b).getText():bP(J);function J($){const re=P(r,_,c,x),oe=(c==null?void 0:c.kind)===311?tse():oS(),Ee=c&&pn(c);return oe.writeNode(4,re,Ee,$),$}}function Tr(r,c,_=0,m,b){return b?x(b).getText():bP(x);function x(P){let J;_&262144?J=m===1?184:183:J=m===1?179:178;const $=st.signatureToSignatureDeclaration(r,J,c,Da(_)|70221824|512),re=g9(),oe=c&&pn(c);return re.writeNode(4,$,oe,rte(P)),P}}function jt(r,c,_=1064960,m=N5("")){const b=Q.noErrorTruncation||_&1,x=st.typeToTypeNode(r,c,Da(_)|70221824|(b?1:0));if(x===void 0)return R.fail("should always get typenode");const P=r!==at?oS():ese(),J=c&&pn(c);P.writeNode(4,x,J,m);const $=m.getText(),re=b?PJ*2:K5*2;return re&&$&&$.length>=re?$.substr(0,re-3)+"...":$}function is(r,c){let _=Ts(r.symbol)?jt(r,r.symbol.valueDeclaration):jt(r),m=Ts(c.symbol)?jt(c,c.symbol.valueDeclaration):jt(c);return _===m&&(_=Di(r),m=Di(c)),[_,m]}function Di(r){return jt(r,void 0,64)}function Ts(r){return r&&!!r.valueDeclaration&&Ct(r.valueDeclaration)&&!ed(r.valueDeclaration)}function Da(r=0){return r&848330091}function H_(r){return!!r.symbol&&!!(r.symbol.flags&32)&&(r===h_(r.symbol)||!!(r.flags&524288)&&!!(vi(r)&16777216))}function G_(){return{typeToTypeNode:(Tt,Pe,vn,fn)=>c(Pe,vn,fn,Xn=>m(Tt,Xn)),indexInfoToIndexSignatureDeclaration:(Tt,Pe,vn,fn)=>c(Pe,vn,fn,Xn=>oe(Tt,Xn,void 0)),signatureToSignatureDeclaration:(Tt,Pe,vn,fn,Xn)=>c(vn,fn,Xn,qn=>Ee(Tt,Pe,qn)),symbolToEntityName:(Tt,Pe,vn,fn,Xn)=>c(vn,fn,Xn,qn=>Ks(Tt,qn,Pe,!1)),symbolToExpression:(Tt,Pe,vn,fn,Xn)=>c(vn,fn,Xn,qn=>La(Tt,qn,Pe)),symbolToTypeParameterDeclarations:(Tt,Pe,vn,fn)=>c(Pe,vn,fn,Xn=>xr(Tt,Xn)),symbolToParameterDeclaration:(Tt,Pe,vn,fn)=>c(Pe,vn,fn,Xn=>$t(Tt,Xn)),typeParameterToDeclaration:(Tt,Pe,vn,fn)=>c(Pe,vn,fn,Xn=>gt(Tt,Xn)),symbolTableToDeclarationStatements:(Tt,Pe,vn,fn,Xn)=>c(Pe,vn,fn,qn=>e_(Tt,qn,Xn)),symbolToNode:(Tt,Pe,vn,fn,Xn)=>c(vn,fn,Xn,qn=>r(Tt,qn,Pe))};function r(Tt,Pe,vn){if(Pe.flags&1073741824){if(Tt.valueDeclaration){const Xn=ia(Tt.valueDeclaration);if(Xn&&Ho(Xn))return Xn}const fn=ms(Tt).nameType;if(fn&&fn.flags&9216)return Pe.enclosingDeclaration=fn.symbol.valueDeclaration,V.createComputedPropertyName(La(fn.symbol,Pe,vn))}return La(Tt,Pe,vn)}function c(Tt,Pe,vn,fn){R.assert(Tt===void 0||(Tt.flags&8)===0);const Xn=vn!=null&&vn.trackSymbol?vn.moduleResolverHost:Pe&134217728?Eet(e):void 0,qn={enclosingDeclaration:Tt,flags:Pe||0,tracker:void 0,encounteredError:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0};qn.tracker=new u9(qn,vn,Xn);const aa=fn(qn);return qn.truncating&&qn.flags&1&&qn.tracker.reportTruncationError(),qn.encounteredError?void 0:aa}function _(Tt){return Tt.truncating?Tt.truncating:Tt.truncating=Tt.approximateLength>(Tt.flags&1?PJ:K5)}function m(Tt,Pe){const vn=Pe.flags,fn=b(Tt,Pe);return Pe.flags=vn,fn}function b(Tt,Pe){var vn,fn;s&&s.throwIfCancellationRequested&&s.throwIfCancellationRequested();const Xn=Pe.flags&8388608;if(Pe.flags&=-8388609,!Tt){if(!(Pe.flags&262144)){Pe.encounteredError=!0;return}return Pe.approximateLength+=3,V.createKeywordTypeNode(133)}if(Pe.flags&536870912||(Tt=gm(Tt)),Tt.flags&1)return Tt.aliasSymbol?V.createTypeReferenceNode(Xr(Tt.aliasSymbol),$(Tt.aliasTypeArguments,Pe)):Tt===at?lO(V.createKeywordTypeNode(133),3,"unresolved"):(Pe.approximateLength+=3,V.createKeywordTypeNode(Tt===ae?141:133));if(Tt.flags&2)return V.createKeywordTypeNode(159);if(Tt.flags&4)return Pe.approximateLength+=6,V.createKeywordTypeNode(154);if(Tt.flags&8)return Pe.approximateLength+=6,V.createKeywordTypeNode(150);if(Tt.flags&64)return Pe.approximateLength+=6,V.createKeywordTypeNode(162);if(Tt.flags&16&&!Tt.aliasSymbol)return Pe.approximateLength+=7,V.createKeywordTypeNode(136);if(Tt.flags&1056){if(Tt.symbol.flags&8){const Rr=E_(Tt.symbol),Hn=un(Rr,Pe,788968);if(yc(Rr)===Tt)return Hn;const Ni=xl(Tt.symbol);return od(Ni,0)?Yi(Hn,V.createTypeReferenceNode(Ni,void 0)):t0(Hn)?(Hn.isTypeOf=!0,V.createIndexedAccessTypeNode(Hn,V.createLiteralTypeNode(V.createStringLiteral(Ni)))):Im(Hn)?V.createIndexedAccessTypeNode(V.createTypeQueryNode(Hn.typeName),V.createLiteralTypeNode(V.createStringLiteral(Ni))):R.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}return un(Tt.symbol,Pe,788968)}if(Tt.flags&128)return Pe.approximateLength+=Tt.value.length+2,V.createLiteralTypeNode(An(V.createStringLiteral(Tt.value,!!(Pe.flags&268435456)),16777216));if(Tt.flags&256){const Rr=Tt.value;return Pe.approximateLength+=(""+Rr).length,V.createLiteralTypeNode(Rr<0?V.createPrefixUnaryExpression(41,V.createNumericLiteral(-Rr)):V.createNumericLiteral(Rr))}if(Tt.flags&2048)return Pe.approximateLength+=$T(Tt.value).length+1,V.createLiteralTypeNode(V.createBigIntLiteral(Tt.value));if(Tt.flags&512)return Pe.approximateLength+=Tt.intrinsicName.length,V.createLiteralTypeNode(Tt.intrinsicName==="true"?V.createTrue():V.createFalse());if(Tt.flags&8192){if(!(Pe.flags&1048576)){if(M2(Tt.symbol,Pe.enclosingDeclaration))return Pe.approximateLength+=6,un(Tt.symbol,Pe,111551);Pe.tracker.reportInaccessibleUniqueSymbolError&&Pe.tracker.reportInaccessibleUniqueSymbolError()}return Pe.approximateLength+=13,V.createTypeOperatorNode(158,V.createKeywordTypeNode(155))}if(Tt.flags&16384)return Pe.approximateLength+=4,V.createKeywordTypeNode(116);if(Tt.flags&32768)return Pe.approximateLength+=9,V.createKeywordTypeNode(157);if(Tt.flags&65536)return Pe.approximateLength+=4,V.createLiteralTypeNode(V.createNull());if(Tt.flags&131072)return Pe.approximateLength+=5,V.createKeywordTypeNode(146);if(Tt.flags&4096)return Pe.approximateLength+=6,V.createKeywordTypeNode(155);if(Tt.flags&67108864)return Pe.approximateLength+=6,V.createKeywordTypeNode(151);if(oD(Tt))return Pe.flags&4194304&&(!Pe.encounteredError&&!(Pe.flags&32768)&&(Pe.encounteredError=!0),(fn=(vn=Pe.tracker).reportInaccessibleThisError)==null||fn.call(vn)),Pe.approximateLength+=4,V.createThisTypeNode();if(!Xn&&Tt.aliasSymbol&&(Pe.flags&16384||MS(Tt.aliasSymbol,Pe.enclosingDeclaration))){const Rr=$(Tt.aliasTypeArguments,Pe);return Ah(Tt.aliasSymbol.escapedName)&&!(Tt.aliasSymbol.flags&32)?V.createTypeReferenceNode(V.createIdentifier(""),Rr):G(Rr)===1&&Tt.aliasSymbol===Xc.symbol?V.createArrayTypeNode(Rr[0]):un(Tt.aliasSymbol,Pe,788968,Rr)}const qn=vi(Tt);if(qn&4)return R.assert(!!(Tt.flags&524288)),Tt.node?fr(Tt,kn):kn(Tt);if(Tt.flags&262144||qn&3){if(Tt.flags&262144&&kt(Pe.inferTypeParameters,Tt)){Pe.approximateLength+=xl(Tt.symbol).length+6;let Hn;const Ni=If(Tt);if(Ni){const Ss=S9e(Tt,!0);Ss&&Cy(Ni,Ss)||(Pe.approximateLength+=9,Hn=Ni&&m(Ni,Pe))}return V.createInferTypeNode(We(Tt,Pe,Hn))}if(Pe.flags&4&&Tt.flags&262144&&!MS(Tt.symbol,Pe.enclosingDeclaration)){const Hn=Mi(Tt,Pe);return Pe.approximateLength+=Zn(Hn).length,V.createTypeReferenceNode(V.createIdentifier(Zn(Hn)),void 0)}if(Tt.symbol)return un(Tt.symbol,Pe,788968);const Rr=(Tt===Sc||Tt===Jc)&&H&&H.symbol?(Tt===Jc?"sub-":"super-")+xl(H.symbol):"?";return V.createTypeReferenceNode(V.createIdentifier(Rr),void 0)}if(Tt.flags&1048576&&Tt.origin&&(Tt=Tt.origin),Tt.flags&3145728){const Rr=Tt.flags&1048576?F2(Tt.types):Tt.types;if(G(Rr)===1)return m(Rr[0],Pe);const Hn=$(Rr,Pe,!0);if(Hn&&Hn.length>0)return Tt.flags&1048576?V.createUnionTypeNode(Hn):V.createIntersectionTypeNode(Hn);!Pe.encounteredError&&!(Pe.flags&262144)&&(Pe.encounteredError=!0);return}if(qn&48)return R.assert(!!(Tt.flags&524288)),mr(Tt);if(Tt.flags&4194304){const Rr=Tt.type;Pe.approximateLength+=6;const Hn=m(Rr,Pe);return V.createTypeOperatorNode(143,Hn)}if(Tt.flags&134217728){const Rr=Tt.texts,Hn=Tt.types,Ni=V.createTemplateHead(Rr[0]),Ss=V.createNodeArray(qt(Hn,(Ma,fl)=>V.createTemplateLiteralTypeSpan(m(Ma,Pe),(fl<Hn.length-1?V.createTemplateMiddle:V.createTemplateTail)(Rr[fl+1]))));return Pe.approximateLength+=2,V.createTemplateLiteralType(Ni,Ss)}if(Tt.flags&268435456){const Rr=m(Tt.type,Pe);return un(Tt.symbol,Pe,788968,[Rr])}if(Tt.flags&8388608){const Rr=m(Tt.objectType,Pe),Hn=m(Tt.indexType,Pe);return Pe.approximateLength+=2,V.createIndexedAccessTypeNode(Rr,Hn)}if(Tt.flags&16777216)return fr(Tt,Rr=>aa(Rr));if(Tt.flags&33554432)return m(Tt.baseType,Pe);return R.fail("Should be unreachable.");function aa(Rr){const Hn=m(Rr.checkType,Pe);if(Pe.approximateLength+=15,Pe.flags&4&&Rr.root.isDistributive&&!(Rr.checkType.flags&262144)){const Ko=Sd(No(262144,"T")),hf=Mi(Ko,Pe),it=V.createTypeReferenceNode(hf);Pe.approximateLength+=37;const It=nC(Rr.root.checkType,Ko,Rr.mapper),hr=Pe.inferTypeParameters;Pe.inferTypeParameters=Rr.root.inferTypeParameters;const on=m(Ps(Rr.root.extendsType,It),Pe);Pe.inferTypeParameters=hr;const Vn=Qi(Ps(Bi(Rr.root.node.trueType),It)),Or=Qi(Ps(Bi(Rr.root.node.falseType),It));return V.createConditionalTypeNode(Hn,V.createInferTypeNode(V.createTypeParameterDeclaration(void 0,V.cloneNode(it.typeName))),V.createConditionalTypeNode(V.createTypeReferenceNode(V.cloneNode(hf)),m(Rr.checkType,Pe),V.createConditionalTypeNode(it,on,Vn,Or),V.createKeywordTypeNode(146)),V.createKeywordTypeNode(146))}const Ni=Pe.inferTypeParameters;Pe.inferTypeParameters=Rr.root.inferTypeParameters;const Ss=m(Rr.extendsType,Pe);Pe.inferTypeParameters=Ni;const Ma=Qi(Tb(Rr)),fl=Qi(Sb(Rr));return V.createConditionalTypeNode(Hn,Ss,Ma,fl)}function Qi(Rr){var Hn,Ni,Ss;return Rr.flags&1048576?(Hn=Pe.visitedTypes)!=null&&Hn.has(Mf(Rr))?(Pe.flags&131072||(Pe.encounteredError=!0,(Ss=(Ni=Pe.tracker)==null?void 0:Ni.reportCyclicStructureError)==null||Ss.call(Ni)),x(Pe)):fr(Rr,Ma=>m(Ma,Pe)):m(Rr,Pe)}function Qn(Rr){return!!TH(Rr)}function At(Rr){return!!Rr.target&&Qn(Rr.target)&&!Qn(Rr)}function tr(Rr){R.assert(!!(Rr.flags&524288));const Hn=Rr.declaration.readonlyToken?V.createToken(Rr.declaration.readonlyToken.kind):void 0,Ni=Rr.declaration.questionToken?V.createToken(Rr.declaration.questionToken.kind):void 0;let Ss,Ma;if(uM(Rr)){if(At(Rr)&&Pe.flags&4){const hr=Sd(No(262144,"T")),on=Mi(hr,Pe);Ma=V.createTypeReferenceNode(on)}Ss=V.createTypeOperatorNode(143,Ma||m(eN(Rr),Pe))}else Ss=m(Ym(Rr),Pe);const fl=We(mm(Rr),Pe,Ss),Ko=Rr.declaration.nameType?m(w0(Rr),Pe):void 0,hf=m(WS(Ty(Rr),!!(Ph(Rr)&4)),Pe),it=V.createMappedTypeNode(Hn,fl,Ko,Ni,hf,void 0);Pe.approximateLength+=10;const It=An(it,1);if(At(Rr)&&Pe.flags&4){const hr=Ps(If(Bi(Rr.declaration.typeParameter.constraint.type))||mt,Rr.mapper);return V.createConditionalTypeNode(m(eN(Rr),Pe),V.createInferTypeNode(V.createTypeParameterDeclaration(void 0,V.cloneNode(Ma.typeName),hr.flags&2?void 0:m(hr,Pe))),It,V.createKeywordTypeNode(146))}return It}function mr(Rr){var Hn,Ni;const Ss=Rr.id,Ma=Rr.symbol;if(Ma){const Ko=H_(Rr)?788968:111551;if(rh(Ma.valueDeclaration))return un(Ma,Pe,Ko);if(Ma.flags&32&&!k0(Ma)&&!(Ma.valueDeclaration&&Ri(Ma.valueDeclaration)&&Pe.flags&2048&&(!Su(Ma.valueDeclaration)||Xm(Ma,Pe.enclosingDeclaration,Ko,!1).accessibility!==0))||Ma.flags&896||fl())return un(Ma,Pe,Ko);if((Hn=Pe.visitedTypes)!=null&&Hn.has(Ss)){const hf=R2(Rr);return hf?un(hf,Pe,788968):x(Pe)}else return fr(Rr,jr)}else{if(!!(vi(Rr)&8388608)){const hf=Rr;if(vD(hf.node)){const it=bo(Pe,hf.node);if(it)return it}return(Ni=Pe.visitedTypes)!=null&&Ni.has(Ss)?x(Pe):fr(Rr,jr)}return jr(Rr)}function fl(){var Ko;const hf=!!(Ma.flags&8192)&&Ne(Ma.declarations,It=>Aa(It)),it=!!(Ma.flags&16)&&(Ma.parent||te(Ma.declarations,It=>It.parent.kind===311||It.parent.kind===267));if(hf||it)return(!!(Pe.flags&4096)||((Ko=Pe.visitedTypes)==null?void 0:Ko.has(Ss)))&&(!(Pe.flags&8)||M2(Ma,Pe.enclosingDeclaration))}}function fr(Rr,Hn){var Ni,Ss;const Ma=Rr.id,fl=vi(Rr)&16&&Rr.symbol&&Rr.symbol.flags&32,Ko=vi(Rr)&4&&Rr.node?"N"+Jo(Rr.node):Rr.flags&16777216?"N"+Jo(Rr.root.node):Rr.symbol?(fl?"+":"")+vo(Rr.symbol):void 0;Pe.visitedTypes||(Pe.visitedTypes=new Set),Ko&&!Pe.symbolDepth&&(Pe.symbolDepth=new Map);const hf=Pe.enclosingDeclaration&&mi(Pe.enclosingDeclaration),it=`${Mf(Rr)}|${Pe.flags}`;hf&&(hf.serializedTypes||(hf.serializedTypes=new Map));const It=(Ni=hf==null?void 0:hf.serializedTypes)==null?void 0:Ni.get(it);if(It)return It.truncating&&(Pe.truncating=!0),Pe.approximateLength+=It.addedLength,Un(It.node);let hr;if(Ko){if(hr=Pe.symbolDepth.get(Ko)||0,hr>10)return x(Pe);Pe.symbolDepth.set(Ko,hr+1)}Pe.visitedTypes.add(Ma);const on=Pe.approximateLength,Vn=Hn(Rr),Or=Pe.approximateLength-on;return!Pe.reportedDiagnostic&&!Pe.encounteredError&&((Ss=hf==null?void 0:hf.serializedTypes)==null||Ss.set(it,{node:Vn,truncating:Pe.truncating,addedLength:Or})),Pe.visitedTypes.delete(Ma),Ko&&Pe.symbolDepth.set(Ko,hr),Vn;function Un(Xi){return!Ec(Xi)&&Gs(Xi)===Xi?Xi:wt(V.cloneNode(Kr(Xi,Un,s0,Ci)),Xi)}function Ci(Xi,ra,Ea,ja,Fi){return Xi&&Xi.length===0?wt(V.createNodeArray(void 0,Xi.hasTrailingComma),Xi):cn(Xi,ra,Ea,ja,Fi)}}function jr(Rr){if(Vp(Rr)||Rr.containsError)return tr(Rr);const Hn=hm(Rr);if(!Hn.properties.length&&!Hn.indexInfos.length){if(!Hn.callSignatures.length&&!Hn.constructSignatures.length)return Pe.approximateLength+=2,An(V.createTypeLiteralNode(void 0),1);if(Hn.callSignatures.length===1&&!Hn.constructSignatures.length){const Ko=Hn.callSignatures[0];return Ee(Ko,183,Pe)}if(Hn.constructSignatures.length===1&&!Hn.callSignatures.length){const Ko=Hn.constructSignatures[0];return Ee(Ko,184,Pe)}}const Ni=gr(Hn.constructSignatures,Ko=>!!(Ko.flags&4));if(Ne(Ni)){const Ko=qt(Ni,VS);return Hn.callSignatures.length+(Hn.constructSignatures.length-Ni.length)+Hn.indexInfos.length+(Pe.flags&2048?Sn(Hn.properties,it=>!(it.flags&4194304)):G(Hn.properties))&&Ko.push(IA(Hn)),m(co(Ko),Pe)}const Ss=Pe.flags;Pe.flags|=4194304;const Ma=wa(Hn);Pe.flags=Ss;const fl=V.createTypeLiteralNode(Ma);return Pe.approximateLength+=2,An(fl,Pe.flags&1024?0:1),fl}function kn(Rr){let Hn=cc(Rr);if(Rr.target===Xc||Rr.target===wu){if(Pe.flags&2){const Ma=m(Hn[0],Pe);return V.createTypeReferenceNode(Rr.target===Xc?"Array":"ReadonlyArray",[Ma])}const Ni=m(Hn[0],Pe),Ss=V.createArrayTypeNode(Ni);return Rr.target===Xc?Ss:V.createTypeOperatorNode(148,Ss)}else if(Rr.target.objectFlags&8){if(Hn=$s(Hn,(Ni,Ss)=>WS(Ni,!!(Rr.target.elementFlags[Ss]&2))),Hn.length>0){const Ni=xy(Rr),Ss=$(Hn.slice(0,Ni),Pe);if(Ss){if(Rr.target.labeledElementDeclarations)for(let fl=0;fl<Ss.length;fl++){const Ko=Rr.target.elementFlags[fl];Ss[fl]=V.createNamedTupleMember(Ko&12?V.createToken(26):void 0,V.createIdentifier(xs(mG(Rr.target.labeledElementDeclarations[fl]))),Ko&2?V.createToken(58):void 0,Ko&4?V.createArrayTypeNode(Ss[fl]):Ss[fl])}else for(let fl=0;fl<Math.min(Ni,Ss.length);fl++){const Ko=Rr.target.elementFlags[fl];Ss[fl]=Ko&12?V.createRestTypeNode(Ko&4?V.createArrayTypeNode(Ss[fl]):Ss[fl]):Ko&2?V.createOptionalTypeNode(Ss[fl]):Ss[fl]}const Ma=An(V.createTupleTypeNode(Ss),1);return Rr.target.readonly?V.createTypeOperatorNode(148,Ma):Ma}}if(Pe.encounteredError||Pe.flags&524288){const Ni=An(V.createTupleTypeNode([]),1);return Rr.target.readonly?V.createTypeOperatorNode(148,Ni):Ni}Pe.encounteredError=!0;return}else{if(Pe.flags&2048&&Rr.symbol.valueDeclaration&&Ri(Rr.symbol.valueDeclaration)&&!M2(Rr.symbol,Pe.enclosingDeclaration))return mr(Rr);{const Ni=Rr.target.outerTypeParameters;let Ss=0,Ma;if(Ni){const it=Ni.length;for(;Ss<it;){const It=Ss,hr=x9e(Ni[Ss]);do Ss++;while(Ss<it&&x9e(Ni[Ss])===hr);if(!WY(Ni,Hn,It,Ss)){const on=$(Hn.slice(It,Ss),Pe),Vn=Pe.flags;Pe.flags|=16;const Or=un(hr,Pe,788968,on);Pe.flags=Vn,Ma=Ma?Yi(Ma,Or):Or}}}let fl;if(Hn.length>0){const it=(Rr.target.typeParameters||ft).length;fl=$(Hn.slice(Ss,it),Pe)}const Ko=Pe.flags;Pe.flags|=16;const hf=un(Rr.symbol,Pe,788968,fl);return Pe.flags=Ko,Ma?Yi(Ma,hf):hf}}}function Yi(Rr,Hn){if(t0(Rr)){let Ni=Rr.typeArguments,Ss=Rr.qualifier;Ss&&(He(Ss)?Ni!==qx(Ss)&&(Ss=_1(V.cloneNode(Ss),Ni)):Ni!==qx(Ss.right)&&(Ss=V.updateQualifiedName(Ss,Ss.left,_1(V.cloneNode(Ss.right),Ni)))),Ni=Hn.typeArguments;const Ma=hs(Hn);for(const fl of Ma)Ss=Ss?V.createQualifiedName(Ss,fl):fl;return V.updateImportTypeNode(Rr,Rr.argument,Rr.assertions,Ss,Ni,Rr.isTypeOf)}else{let Ni=Rr.typeArguments,Ss=Rr.typeName;He(Ss)?Ni!==qx(Ss)&&(Ss=_1(V.cloneNode(Ss),Ni)):Ni!==qx(Ss.right)&&(Ss=V.updateQualifiedName(Ss,Ss.left,_1(V.cloneNode(Ss.right),Ni))),Ni=Hn.typeArguments;const Ma=hs(Hn);for(const fl of Ma)Ss=V.createQualifiedName(Ss,fl);return V.updateTypeReferenceNode(Rr,Ss,Ni)}}function hs(Rr){let Hn=Rr.typeName;const Ni=[];for(;!He(Hn);)Ni.unshift(Hn.right),Hn=Hn.left;return Ni.unshift(Hn),Ni}function wa(Rr){if(_(Pe))return[V.createPropertySignature(void 0,"...",void 0,void 0)];const Hn=[];for(const Ma of Rr.callSignatures)Hn.push(Ee(Ma,178,Pe));for(const Ma of Rr.constructSignatures)Ma.flags&4||Hn.push(Ee(Ma,179,Pe));for(const Ma of Rr.indexInfos)Hn.push(oe(Ma,Pe,Rr.objectFlags&1024?x(Pe):void 0));const Ni=Rr.properties;if(!Ni)return Hn;let Ss=0;for(const Ma of Ni){if(Ss++,Pe.flags&2048){if(Ma.flags&4194304)continue;pd(Ma)&24&&Pe.tracker.reportPrivateInBaseOfClassExpression&&Pe.tracker.reportPrivateInBaseOfClassExpression(xs(Ma.escapedName))}if(_(Pe)&&Ss+2<Ni.length-1){Hn.push(V.createPropertySignature(void 0,`... ${Ni.length-Ss} more ...`,void 0,void 0)),J(Ni[Ni.length-1],Pe,Hn);break}J(Ma,Pe,Hn)}return Hn.length?Hn:void 0}}function x(Tt){return Tt.approximateLength+=3,Tt.flags&1?V.createKeywordTypeNode(133):V.createTypeReferenceNode(V.createIdentifier("..."),void 0)}function P(Tt,Pe){var vn;return!!(ml(Tt)&8192)&&(kt(Pe.reverseMappedStack,Tt)||((vn=Pe.reverseMappedStack)==null?void 0:vn[0])&&!(vi(To(Pe.reverseMappedStack).links.propertyType)&16))}function J(Tt,Pe,vn){var fn;const Xn=!!(ml(Tt)&8192),qn=P(Tt,Pe)?dt:yb(Tt),aa=Pe.enclosingDeclaration;if(Pe.enclosingDeclaration=void 0,Pe.tracker.canTrackSymbol&&Z8(Tt.escapedName))if(Tt.declarations){const tr=Oo(Tt.declarations);if(oM(tr))if(Bn(tr)){const mr=ia(tr);mr&&Pc(mr)&&F5(mr.argumentExpression)&&Vr(mr.argumentExpression,aa,Pe)}else Vr(tr.name.expression,aa,Pe)}else Pe.tracker.reportNonSerializableProperty(Xe(Tt));Pe.enclosingDeclaration=Tt.valueDeclaration||((fn=Tt.declarations)==null?void 0:fn[0])||aa;const Qi=$p(Tt,Pe);Pe.enclosingDeclaration=aa,Pe.approximateLength+=xl(Tt).length+1;const Qn=Tt.flags&16777216?V.createToken(58):void 0;if(Tt.flags&8208&&!q1(qn).length&&!Sm(Tt)){const tr=Ca(tu(qn,mr=>!(mr.flags&32768)),0);for(const mr of tr){const fr=Ee(mr,172,Pe,{name:Qi,questionToken:Qn});vn.push(At(fr))}}else{let tr;P(Tt,Pe)?tr=x(Pe):(Xn&&(Pe.reverseMappedStack||(Pe.reverseMappedStack=[]),Pe.reverseMappedStack.push(Tt)),tr=qn?Ls(Pe,qn,Tt,aa):V.createKeywordTypeNode(133),Xn&&Pe.reverseMappedStack.pop());const mr=Sm(Tt)?[V.createToken(148)]:void 0;mr&&(Pe.approximateLength+=9);const fr=V.createPropertySignature(mr,Qi,Qn,tr);vn.push(At(fr))}function At(tr){var mr;if(Ne(Tt.declarations,fr=>fr.kind===354)){const fr=(mr=Tt.declarations)==null?void 0:mr.find(kn=>kn.kind===354),jr=BI(fr.comment);jr&&r2(tr,[{kind:3,text:`*
* `+jr.replace(/\n/g,`
* `)+`
`,pos:-1,end:-1,hasTrailingNewLine:!0}])}else Tt.valueDeclaration&&Bu(tr,Tt.valueDeclaration);return tr}}function $(Tt,Pe,vn){if(Ne(Tt)){if(_(Pe))if(vn){if(Tt.length>2)return[m(Tt[0],Pe),V.createTypeReferenceNode(`... ${Tt.length-2} more ...`,void 0),m(Tt[Tt.length-1],Pe)]}else return[V.createTypeReferenceNode("...",void 0)];const Xn=!(Pe.flags&64)?sd():void 0,qn=[];let aa=0;for(const Qi of Tt){if(aa++,_(Pe)&&aa+2<Tt.length-1){qn.push(V.createTypeReferenceNode(`... ${Tt.length-aa} more ...`,void 0));const At=m(Tt[Tt.length-1],Pe);At&&qn.push(At);break}Pe.approximateLength+=2;const Qn=m(Qi,Pe);Qn&&(qn.push(Qn),Xn&&WSe(Qn)&&Xn.add(Qn.typeName.escapedText,[Qi,qn.length-1]))}if(Xn){const Qi=Pe.flags;Pe.flags|=64,Xn.forEach(Qn=>{if(!HSe(Qn,([At],[tr])=>re(At,tr)))for(const[At,tr]of Qn)qn[tr]=m(At,Pe)}),Pe.flags=Qi}return qn}}function re(Tt,Pe){return Tt===Pe||!!Tt.symbol&&Tt.symbol===Pe.symbol||!!Tt.aliasSymbol&&Tt.aliasSymbol===Pe.aliasSymbol}function oe(Tt,Pe,vn){const fn=rTe(Tt)||"x",Xn=m(Tt.keyType,Pe),qn=V.createParameterDeclaration(void 0,void 0,fn,void 0,Xn,void 0);return vn||(vn=m(Tt.type||dt,Pe)),!Tt.type&&!(Pe.flags&2097152)&&(Pe.encounteredError=!0),Pe.approximateLength+=fn.length+4,V.createIndexSignature(Tt.isReadonly?[V.createToken(148)]:void 0,[qn],vn)}function Ee(Tt,Pe,vn,fn){const Xn=vn.flags&256;Xn&&(vn.flags&=-257),vn.approximateLength+=3;let qn,aa;vn.flags&32&&Tt.target&&Tt.mapper&&Tt.target.typeParameters?aa=Tt.target.typeParameters.map(Yi=>m(Ps(Yi,Tt.mapper),vn)):qn=Tt.typeParameters&&Tt.typeParameters.map(Yi=>gt(Yi,vn));const Qi=KOe(Tt,!0)[0];let Qn;if(vn.enclosingDeclaration&&Tt.declaration&&Tt.declaration!==vn.enclosingDeclaration&&!Mn(Tt.declaration)&&Ne(Qi)){const Yi=mi(vn.enclosingDeclaration).fakeScopeForSignatureDeclaration?vn.enclosingDeclaration:void 0;R.assertOptionalNode(Yi,Pa);const hs=(Yi==null?void 0:Yi.locals)??za();let wa;for(const Rr of Qi)hs.has(Rr.escapedName)||(wa=zr(wa,Rr.escapedName),hs.set(Rr.escapedName,Rr));if(wa){let Rr=function(){te(wa,Hn=>hs.delete(Hn))};if(Yi)Qn=Rr;else{const Hn=_g.createBlock(ft);mi(Hn).fakeScopeForSignatureDeclaration=!0,Hn.locals=hs;const Ni=vn.enclosingDeclaration;ko(Hn,Ni),vn.enclosingDeclaration=Hn,Qn=()=>{vn.enclosingDeclaration=Ni,Rr()}}}}const At=(Ne(Qi,Yi=>Yi!==Qi[Qi.length-1]&&!!(ml(Yi)&32768))?Tt.parameters:Qi).map(Yi=>$t(Yi,vn,Pe===175,fn==null?void 0:fn.privateSymbolVisitor,fn==null?void 0:fn.bundledImports)),tr=vn.flags&33554432?void 0:Le(Tt,vn);tr&&At.unshift(tr);let mr;const fr=Cd(Tt);if(fr){const Yi=fr.kind===2||fr.kind===3?V.createToken(131):void 0,hs=fr.kind===1||fr.kind===3?An(V.createIdentifier(fr.parameterName),16777216):V.createThisTypeNode(),wa=fr.type&&m(fr.type,vn);mr=V.createTypePredicateNode(Yi,hs,wa)}else{const Yi=Vo(Tt);Yi&&!(Xn&&qo(Yi))?mr=lc(vn,Yi,Tt,fn==null?void 0:fn.privateSymbolVisitor,fn==null?void 0:fn.bundledImports):Xn||(mr=V.createKeywordTypeNode(133))}let jr=fn==null?void 0:fn.modifiers;if(Pe===184&&Tt.flags&4){const Yi=ng(jr);jr=V.createModifiersFromModifierFlags(Yi|256)}const kn=Pe===178?V.createCallSignature(qn,At,mr):Pe===179?V.createConstructSignature(qn,At,mr):Pe===172?V.createMethodSignature(jr,(fn==null?void 0:fn.name)??V.createIdentifier(""),fn==null?void 0:fn.questionToken,qn,At,mr):Pe===173?V.createMethodDeclaration(jr,void 0,(fn==null?void 0:fn.name)??V.createIdentifier(""),void 0,qn,At,mr,void 0):Pe===175?V.createConstructorDeclaration(jr,At,void 0):Pe===176?V.createGetAccessorDeclaration(jr,(fn==null?void 0:fn.name)??V.createIdentifier(""),At,mr,void 0):Pe===177?V.createSetAccessorDeclaration(jr,(fn==null?void 0:fn.name)??V.createIdentifier(""),At,void 0):Pe===180?V.createIndexSignature(jr,At,mr):Pe===323?V.createJSDocFunctionType(At,mr):Pe===183?V.createFunctionTypeNode(qn,At,mr??V.createTypeReferenceNode(V.createIdentifier(""))):Pe===184?V.createConstructorTypeNode(jr,qn,At,mr??V.createTypeReferenceNode(V.createIdentifier(""))):Pe===261?V.createFunctionDeclaration(jr,void 0,fn!=null&&fn.name?Ua(fn.name,He):V.createIdentifier(""),qn,At,mr,void 0):Pe===217?V.createFunctionExpression(jr,void 0,fn!=null&&fn.name?Ua(fn.name,He):V.createIdentifier(""),qn,At,mr,V.createBlock([])):Pe===218?V.createArrowFunction(jr,qn,At,mr,void 0,V.createBlock([])):R.assertNever(Pe);return aa&&(kn.typeArguments=V.createNodeArray(aa)),Qn==null||Qn(),kn}function Le(Tt,Pe){if(Tt.thisParameter)return $t(Tt.thisParameter,Pe);if(Tt.declaration&&Mn(Tt.declaration)){const vn=QB(Tt.declaration);if(vn&&vn.typeExpression)return V.createParameterDeclaration(void 0,void 0,"this",void 0,m(Bi(vn.typeExpression),Pe))}}function We(Tt,Pe,vn){const fn=Pe.flags;Pe.flags&=-513;const Xn=V.createModifiersFromModifierFlags(pde(Tt)),qn=Mi(Tt,Pe),aa=zS(Tt),Qi=aa&&m(aa,Pe);return Pe.flags=fn,V.createTypeParameterDeclaration(Xn,qn,vn,Qi)}function gt(Tt,Pe,vn=If(Tt)){const fn=vn&&m(vn,Pe);return We(Tt,Pe,fn)}function $t(Tt,Pe,vn,fn,Xn){let qn=_l(Tt,168);!qn&&!Yh(Tt)&&(qn=_l(Tt,347));let aa=bn(Tt);qn&&IBe(qn)&&(aa=I0(aa));const Qi=Ls(Pe,aa,Tt,Pe.enclosingDeclaration,fn,Xn),Qn=!(Pe.flags&8192)&&vn&&qn&&am(qn)?qt(xx(qn),V.cloneNode):void 0,tr=qn&&Hg(qn)||ml(Tt)&32768?V.createToken(26):void 0,mr=qn&&qn.name?qn.name.kind===80?An(V.cloneNode(qn.name),16777216):qn.name.kind===165?An(V.cloneNode(qn.name.right),16777216):Yi(qn.name):xl(Tt),jr=qn&&rN(qn)||ml(Tt)&16384?V.createToken(58):void 0,kn=V.createParameterDeclaration(Qn,tr,mr,jr,Qi,void 0);return Pe.approximateLength+=xl(Tt).length+3,kn;function Yi(hs){return wa(hs);function wa(Rr){Pe.tracker.canTrackSymbol&&Ho(Rr)&&rpe(Rr)&&Vr(Rr.expression,Pe.enclosingDeclaration,Pe);let Hn=Kr(Rr,wa,s0,void 0,wa);return Lo(Hn)&&(Hn=V.updateBindingElement(Hn,Hn.dotDotDotToken,Hn.propertyName,Hn.name,void 0)),Ec(Hn)||(Hn=V.cloneNode(Hn)),An(Hn,16777217)}}}function Vr(Tt,Pe,vn){if(!vn.tracker.canTrackSymbol)return;const fn=Np(Tt),Xn=ll(fn,fn.escapedText,1160127,void 0,void 0,!0);Xn&&vn.tracker.trackSymbol(Xn,Pe,111551)}function Zr(Tt,Pe,vn,fn){return Pe.tracker.trackSymbol(Tt,Pe.enclosingDeclaration,vn),Tn(Tt,Pe,vn,fn)}function Tn(Tt,Pe,vn,fn){let Xn;return!(Tt.flags&262144)&&(Pe.enclosingDeclaration||Pe.flags&64)&&!(Pe.flags&134217728)?(Xn=R.checkDefined(aa(Tt,vn,!0)),R.assert(Xn&&Xn.length>0)):Xn=[Tt],Xn;function aa(Qi,Qn,At){let tr=F1(Qi,Pe.enclosingDeclaration,Qn,!!(Pe.flags&128)),mr;if(!tr||LS(tr[0],Pe.enclosingDeclaration,tr.length===1?Qn:gy(Qn))){const jr=L1(tr?tr[0]:Qi,Pe.enclosingDeclaration,Qn);if(G(jr)){mr=jr.map(hs=>Ne(hs.declarations,b0)?Pr(hs,Pe):void 0);const kn=jr.map((hs,wa)=>wa);kn.sort(fr);const Yi=kn.map(hs=>jr[hs]);for(const hs of Yi){const wa=aa(hs,gy(Qn),!1);if(wa){if(hs.exports&&hs.exports.get("export=")&&Eh(hs.exports.get("export="),Qi)){tr=wa;break}tr=wa.concat(tr||[I2(hs,Qi)||Qi]);break}}}}if(tr)return tr;if(At||!(Qi.flags&6144))return!At&&!fn&&te(Qi.declarations,b0)?void 0:[Qi];function fr(jr,kn){const Yi=mr[jr],hs=mr[kn];if(Yi&&hs){const wa=kp(hs);return kp(Yi)===wa?o9(Yi)-o9(hs):wa?-1:1}return 0}}}function xr(Tt,Pe){let vn;return YE(Tt).flags&524384&&(vn=V.createNodeArray(qt(z1(Tt),Xn=>gt(Xn,Pe)))),vn}function Sr(Tt,Pe,vn){var fn;R.assert(Tt&&0<=Pe&&Pe<Tt.length);const Xn=Tt[Pe],qn=vo(Xn);if((fn=vn.typeParameterSymbolList)!=null&&fn.has(qn))return;(vn.typeParameterSymbolList||(vn.typeParameterSymbolList=new Set)).add(qn);let aa;if(vn.flags&512&&Pe<Tt.length-1){const Qi=Xn,Qn=Tt[Pe+1];if(ml(Qn)&1){const At=rH(Qi.flags&2097152?ef(Qi):Qi);aa=$(qt(At,tr=>xb(tr,Qn.links.mapper)),vn)}else aa=xr(Xn,vn)}return aa}function Jn(Tt){return Iw(Tt.objectType)?Jn(Tt.objectType):Tt}function Pr(Tt,Pe,vn){let fn=_l(Tt,311);if(!fn){const At=$e(Tt.declarations,tr=>cb(tr,Tt));At&&(fn=_l(At,311))}if(fn&&fn.moduleName!==void 0)return fn.moduleName;if(!fn){if(Pe.tracker.trackReferencedAmbientModule){const At=gr(Tt.declarations,$f);if(G(At))for(const tr of At)Pe.tracker.trackReferencedAmbientModule(tr,Tt)}if(dz.test(Tt.escapedName))return Tt.escapedName.substring(1,Tt.escapedName.length-1)}if(!Pe.enclosingDeclaration||!Pe.tracker.moduleResolverHost)return dz.test(Tt.escapedName)?Tt.escapedName.substring(1,Tt.escapedName.length-1):pn(yee(Tt)).fileName;const Xn=pn(el(Pe.enclosingDeclaration)),qn=vn||(Xn==null?void 0:Xn.impliedNodeFormat),aa=BD(Xn.path,qn),Qi=ms(Tt);let Qn=Qi.specifierCache&&Qi.specifierCache.get(aa);if(!Qn){const At=!!Ac(Q),{moduleResolverHost:tr}=Pe.tracker,mr=At?{...Q,baseUrl:tr.getCommonSourceDirectory()}:Q;Qn=Oo(Owe(Tt,vr,mr,Xn,tr,{importModuleSpecifierPreference:At?"non-relative":"project-relative",importModuleSpecifierEnding:At?"minimal":qn===99?"js":void 0},{overrideImportMode:vn})),Qi.specifierCache??(Qi.specifierCache=new Map),Qi.specifierCache.set(aa,Qn)}return Qn}function Xr(Tt){const Pe=V.createIdentifier(xs(Tt.escapedName));return Tt.parent?V.createQualifiedName(Xr(Tt.parent),Pe):Pe}function un(Tt,Pe,vn,fn){var Xn,qn,aa,Qi;const Qn=Zr(Tt,Pe,vn,!(Pe.flags&16384)),At=vn===111551;if(Ne(Qn[0].declarations,b0)){const fr=Qn.length>1?mr(Qn,Qn.length-1,1):void 0,jr=fn||Sr(Qn,0,Pe),kn=pn(el(Pe.enclosingDeclaration)),Yi=hj(Qn[0]);let hs,wa;if((wl(Q)===3||wl(Q)===99)&&(Yi==null?void 0:Yi.impliedNodeFormat)===99&&Yi.impliedNodeFormat!==(kn==null?void 0:kn.impliedNodeFormat)&&(hs=Pr(Qn[0],Pe,99),wa=V.createImportTypeAssertionContainer(V.createAssertClause(V.createNodeArray([V.createAssertEntry(V.createStringLiteral("resolution-mode"),V.createStringLiteral("import"))]))),(qn=(Xn=Pe.tracker).reportImportTypeNodeResolutionModeOverride)==null||qn.call(Xn)),hs||(hs=Pr(Qn[0],Pe)),!(Pe.flags&67108864)&&wl(Q)!==1&&hs.indexOf("/node_modules/")>=0){const Hn=hs;if(wl(Q)===3||wl(Q)===99){const Ni=(kn==null?void 0:kn.impliedNodeFormat)===99?1:99;hs=Pr(Qn[0],Pe,Ni),hs.indexOf("/node_modules/")>=0?hs=Hn:(wa=V.createImportTypeAssertionContainer(V.createAssertClause(V.createNodeArray([V.createAssertEntry(V.createStringLiteral("resolution-mode"),V.createStringLiteral(Ni===99?"import":"require"))]))),(Qi=(aa=Pe.tracker).reportImportTypeNodeResolutionModeOverride)==null||Qi.call(aa))}wa||(Pe.encounteredError=!0,Pe.tracker.reportLikelyUnsafeImportRequiredError&&Pe.tracker.reportLikelyUnsafeImportRequiredError(Hn))}const Rr=V.createLiteralTypeNode(V.createStringLiteral(hs));if(Pe.tracker.trackExternalModuleSymbolOfImportTypeNode&&Pe.tracker.trackExternalModuleSymbolOfImportTypeNode(Qn[0]),Pe.approximateLength+=hs.length+10,!fr||wp(fr)){if(fr){const Hn=He(fr)?fr:fr.right;_1(Hn,void 0)}return V.createImportTypeNode(Rr,wa,fr,jr,At)}else{const Hn=Jn(fr),Ni=Hn.objectType.typeName;return V.createIndexedAccessTypeNode(V.createImportTypeNode(Rr,wa,Ni,jr,At),Hn.indexType)}}const tr=mr(Qn,Qn.length-1,0);if(Iw(tr))return tr;if(At)return V.createTypeQueryNode(tr);{const fr=He(tr)?tr:tr.right,jr=qx(fr);return _1(fr,void 0),V.createTypeReferenceNode(tr,jr)}function mr(fr,jr,kn){const Yi=jr===fr.length-1?fn:Sr(fr,jr,Pe),hs=fr[jr],wa=fr[jr-1];let Rr;if(jr===0)Pe.flags|=16777216,Rr=T0(hs,Pe),Pe.approximateLength+=(Rr?Rr.length:0)+1,Pe.flags^=16777216;else if(wa&&Jp(wa)){const Ni=Jp(wa);rp(Ni,(Ss,Ma)=>{if(Eh(Ss,hs)&&!Z8(Ma)&&Ma!=="export=")return Rr=xs(Ma),!0})}if(Rr===void 0){const Ni=$e(hs.declarations,ia);if(Ni&&Ho(Ni)&&wp(Ni.expression)){const Ss=mr(fr,jr-1,kn);return wp(Ss)?V.createIndexedAccessTypeNode(V.createParenthesizedType(V.createTypeQueryNode(Ss)),V.createTypeQueryNode(Ni.expression)):Ss}Rr=T0(hs,Pe)}if(Pe.approximateLength+=Rr.length+1,!(Pe.flags&16)&&wa&&$1(wa)&&$1(wa).get(hs.escapedName)&&Eh($1(wa).get(hs.escapedName),hs)){const Ni=mr(fr,jr-1,kn);return Iw(Ni)?V.createIndexedAccessTypeNode(Ni,V.createLiteralTypeNode(V.createStringLiteral(Rr))):V.createIndexedAccessTypeNode(V.createTypeReferenceNode(Ni,Yi),V.createLiteralTypeNode(V.createStringLiteral(Rr)))}const Hn=An(V.createIdentifier(Rr),16777216);if(Yi&&_1(Hn,V.createNodeArray(Yi)),Hn.symbol=hs,jr>kn){const Ni=mr(fr,jr-1,kn);return wp(Ni)?V.createQualifiedName(Ni,Hn):R.fail("Impossible construct - an export of an indexed access cannot be reachable")}return Hn}}function yi(Tt,Pe,vn){const fn=ll(Pe.enclosingDeclaration,Tt,788968,void 0,Tt,!1);return fn?!(fn.flags&262144&&fn===vn.symbol):!1}function Mi(Tt,Pe){var vn,fn;if(Pe.flags&4&&Pe.typeParameterNames){const qn=Pe.typeParameterNames.get(Mf(Tt));if(qn)return qn}let Xn=Ks(Tt.symbol,Pe,788968,!0);if(!(Xn.kind&80))return V.createIdentifier("(Missing type parameter)");if(Pe.flags&4){const qn=Xn.escapedText;let aa=((vn=Pe.typeParameterNamesByTextNextNameCount)==null?void 0:vn.get(qn))||0,Qi=qn;for(;(fn=Pe.typeParameterNamesByText)!=null&&fn.has(Qi)||yi(Qi,Pe,Tt);)aa++,Qi=`${qn}_${aa}`;if(Qi!==qn){const Qn=qx(Xn);Xn=V.createIdentifier(Qi),_1(Xn,Qn)}(Pe.typeParameterNamesByTextNextNameCount||(Pe.typeParameterNamesByTextNextNameCount=new Map)).set(qn,aa),(Pe.typeParameterNames||(Pe.typeParameterNames=new Map)).set(Mf(Tt),Xn),(Pe.typeParameterNamesByText||(Pe.typeParameterNamesByText=new Set)).add(qn)}return Xn}function Ks(Tt,Pe,vn,fn){const Xn=Zr(Tt,Pe,vn);return fn&&Xn.length!==1&&!Pe.encounteredError&&!(Pe.flags&65536)&&(Pe.encounteredError=!0),qn(Xn,Xn.length-1);function qn(aa,Qi){const Qn=Sr(aa,Qi,Pe),At=aa[Qi];Qi===0&&(Pe.flags|=16777216);const tr=T0(At,Pe);Qi===0&&(Pe.flags^=16777216);const mr=An(V.createIdentifier(tr),16777216);return Qn&&_1(mr,V.createNodeArray(Qn)),mr.symbol=At,Qi>0?V.createQualifiedName(qn(aa,Qi-1),mr):mr}}function La(Tt,Pe,vn){const fn=Zr(Tt,Pe,vn);return Xn(fn,fn.length-1);function Xn(qn,aa){const Qi=Sr(qn,aa,Pe),Qn=qn[aa];aa===0&&(Pe.flags|=16777216);let At=T0(Qn,Pe);aa===0&&(Pe.flags^=16777216);let tr=At.charCodeAt(0);if(i5(tr)&&Ne(Qn.declarations,b0))return V.createStringLiteral(Pr(Qn,Pe));if(aa===0||Gte(At,he)){const mr=An(V.createIdentifier(At),16777216);return Qi&&_1(mr,V.createNodeArray(Qi)),mr.symbol=Qn,aa>0?V.createPropertyAccessExpression(Xn(qn,aa-1),mr):mr}else{tr===91&&(At=At.substring(1,At.length-1),tr=At.charCodeAt(0));let mr;if(i5(tr)&&!(Qn.flags&8)?mr=V.createStringLiteral(tm(At).replace(/\\./g,fr=>fr.substring(1)),tr===39):""+ +At===At&&(mr=V.createNumericLiteral(+At)),!mr){const fr=An(V.createIdentifier(At),16777216);Qi&&_1(fr,V.createNodeArray(Qi)),fr.symbol=Qn,mr=fr}return V.createElementAccessExpression(Xn(qn,aa-1),mr)}}}function lu(Tt){const Pe=ia(Tt);return!!Pe&&yo(Pe)}function nd(Tt){const Pe=ia(Tt);return!!(Pe&&yo(Pe)&&(Pe.singleQuote||!Ec(Pe)&&Xs(iu(Pe,!1),"'")))}function $p(Tt,Pe){const vn=!!G(Tt.declarations)&&ot(Tt.declarations,lu),fn=!!G(Tt.declarations)&&ot(Tt.declarations,nd),Xn=Ms(Tt,Pe,fn,vn);if(Xn)return Xn;const qn=xs(Tt.escapedName);return wJ(qn,Eo(Q),fn,vn)}function Ms(Tt,Pe,vn,fn){const Xn=ms(Tt).nameType;if(Xn){if(Xn.flags&384){const qn=""+Xn.value;return!od(qn,Eo(Q))&&(fn||!ey(qn))?V.createStringLiteral(qn,!!vn):ey(qn)&&Xs(qn,"-")?V.createComputedPropertyName(V.createNumericLiteral(+qn)):wJ(qn,Eo(Q))}if(Xn.flags&8192)return V.createComputedPropertyName(La(Xn.symbol,Pe,111551))}}function en(Tt){const Pe={...Tt};return Pe.typeParameterNames&&(Pe.typeParameterNames=new Map(Pe.typeParameterNames)),Pe.typeParameterNamesByText&&(Pe.typeParameterNamesByText=new Set(Pe.typeParameterNamesByText)),Pe.typeParameterSymbolList&&(Pe.typeParameterSymbolList=new Set(Pe.typeParameterSymbolList)),Pe.tracker=new u9(Pe,Pe.tracker.inner,Pe.tracker.moduleResolverHost),Pe}function En(Tt,Pe){return Tt.declarations&&Ve(Tt.declarations,vn=>!!Yu(vn)&&(!Pe||!!mn(vn,fn=>fn===Pe)))}function Is(Tt,Pe){return!(vi(Pe)&4)||!Im(Tt)||G(Tt.typeArguments)>=Dh(Pe.target.typeParameters)}function va(Tt){return mi(Tt).fakeScopeForSignatureDeclaration?Tt.parent:Tt}function Ls(Tt,Pe,vn,fn,Xn,qn){if(!Ro(Pe)&&fn){const Qn=En(vn,va(fn));if(Qn&&!Lc(Qn)&&!nm(Qn)){const At=Yu(Qn);if(Ao(At,Qn,Pe)&&Is(At,Pe)){const tr=bo(Tt,At,Xn,qn);if(tr)return tr}}}const aa=Tt.flags;Pe.flags&8192&&Pe.symbol===vn&&(!Tt.enclosingDeclaration||Ne(vn.declarations,Qn=>pn(Qn)===pn(Tt.enclosingDeclaration)))&&(Tt.flags|=1048576);const Qi=m(Pe,Tt);return Tt.flags=aa,Qi}function Ao(Tt,Pe,vn){const fn=Bi(Tt);return fn===vn?!0:ea(Pe)&&Pe.questionToken?Ed(vn,524288)===fn:!1}function lc(Tt,Pe,vn,fn,Xn){if(!Ro(Pe)&&Tt.enclosingDeclaration){const qn=vn.declaration&&Am(vn.declaration),aa=va(Tt.enclosingDeclaration);if(mn(qn,Qi=>Qi===aa)&&qn){const Qi=Bi(qn);if((Qi.flags&262144&&Qi.isThisType?Ps(Qi,vn.mapper):Qi)===Pe&&Is(qn,Pe)){const At=bo(Tt,qn,fn,Xn);if(At)return At}}}return m(Pe,Tt)}function Fl(Tt,Pe,vn){let fn=!1;const Xn=Np(Tt);if(Mn(Tt)&&(Lx(Xn)||Xg(Xn.parent)||B_(Xn.parent)&&Bee(Xn.parent.left)&&Lx(Xn.parent.right)))return fn=!0,{introducesError:fn,node:Tt};const qn=rl(Xn,67108863,!0,!0);if(qn&&(Xm(qn,Pe.enclosingDeclaration,67108863,!1).accessibility!==0?fn=!0:(Pe.tracker.trackSymbol(qn,Pe.enclosingDeclaration,67108863),vn==null||vn(qn)),He(Tt))){const aa=yc(qn),Qi=qn.flags&262144&&!MS(aa.symbol,Pe.enclosingDeclaration)?Mi(aa,Pe):V.cloneNode(Tt);return Qi.symbol=qn,{introducesError:fn,node:An(oi(Qi,Tt),16777216)}}return{introducesError:fn,node:Tt}}function bo(Tt,Pe,vn,fn){s&&s.throwIfCancellationRequested&&s.throwIfCancellationRequested();let Xn=!1;const qn=pn(Pe),aa=ct(Pe,Qi,ys);if(Xn)return;return aa===Pe?wt(V.cloneNode(Pe),Pe):aa;function Qi(Qn){if(ake(Qn)||Qn.kind===325)return V.createKeywordTypeNode(133);if(oke(Qn))return V.createKeywordTypeNode(159);if(J4(Qn))return V.createUnionTypeNode([ct(Qn.type,Qi,ys),V.createLiteralTypeNode(V.createNull())]);if(Wre(Qn))return V.createUnionTypeNode([ct(Qn.type,Qi,ys),V.createKeywordTypeNode(157)]);if(bU(Qn))return ct(Qn.type,Qi);if(TU(Qn))return V.createArrayTypeNode(ct(Qn.type,Qi,ys));if(z4(Qn))return V.createTypeLiteralNode(qt(Qn.jsDocPropertyTags,fr=>{const jr=He(fr.name)?fr.name:fr.name.right,kn=Ll(Bi(Qn),jr.escapedText),Yi=kn&&fr.typeExpression&&Bi(fr.typeExpression.type)!==kn?m(kn,Tt):void 0;return V.createPropertySignature(void 0,jr,fr.isBracketed||fr.typeExpression&&Wre(fr.typeExpression.type)?V.createToken(58):void 0,Yi||fr.typeExpression&&ct(fr.typeExpression.type,Qi,ys)||V.createKeywordTypeNode(133))}));if(Im(Qn)&&He(Qn.typeName)&&Qn.typeName.escapedText==="")return oi(V.createKeywordTypeNode(133),Qn);if((p1(Qn)||Im(Qn))&&Jj(Qn))return V.createTypeLiteralNode([V.createIndexSignature(void 0,[V.createParameterDeclaration(void 0,void 0,"x",void 0,ct(Qn.typeArguments[0],Qi,ys))],ct(Qn.typeArguments[1],Qi,ys))]);if(U4(Qn))if(c4(Qn)){let fr;return V.createConstructorTypeNode(void 0,cn(Qn.typeParameters,Qi,qc),lr(Qn.parameters,(jr,kn)=>jr.name&&He(jr.name)&&jr.name.escapedText==="new"?(fr=jr.type,void 0):V.createParameterDeclaration(void 0,At(jr),tr(jr,kn),jr.questionToken,ct(jr.type,Qi,ys),void 0)),ct(fr||Qn.type,Qi,ys)||V.createKeywordTypeNode(133))}else return V.createFunctionTypeNode(cn(Qn.typeParameters,Qi,qc),qt(Qn.parameters,(fr,jr)=>V.createParameterDeclaration(void 0,At(fr),tr(fr,jr),fr.questionToken,ct(fr.type,Qi,ys),void 0)),ct(Qn.type,Qi,ys)||V.createKeywordTypeNode(133));if(Im(Qn)&&n5(Qn)&&(!Is(Qn,Bi(Qn))||D9e(Qn)||qr===UE(Qn,788968,!0)))return oi(m(Bi(Qn),Tt),Qn);if(Hb(Qn)){const fr=mi(Qn).resolvedSymbol;return n5(Qn)&&fr&&(!Qn.isTypeOf&&!(fr.flags&788968)||!(G(Qn.typeArguments)>=Dh(z1(fr))))?oi(m(Bi(Qn),Tt),Qn):V.updateImportTypeNode(Qn,V.updateLiteralTypeNode(Qn.argument,mr(Qn,Qn.argument.literal)),Qn.assertions,Qn.qualifier,cn(Qn.typeArguments,Qi,ys),Qn.isTypeOf)}if(wp(Qn)||kl(Qn)){const{introducesError:fr,node:jr}=Fl(Qn,Tt,vn);if(Xn=Xn||fr,jr!==Qn)return jr}return qn&&L4(Qn)&&Vc(qn,Qn.pos).line===Vc(qn,Qn.end).line&&An(Qn,1),Kr(Qn,Qi,s0);function At(fr){return fr.dotDotDotToken||(fr.type&&TU(fr.type)?V.createToken(26):void 0)}function tr(fr,jr){return fr.name&&He(fr.name)&&fr.name.escapedText==="this"?"this":At(fr)?"args":`arg${jr}`}function mr(fr,jr){if(fn){if(Tt.tracker&&Tt.tracker.moduleResolverHost){const kn=vhe(fr);if(kn){const hs={getCanonicalFileName:nf(!!e.useCaseSensitiveFileNames),getCurrentDirectory:()=>Tt.tracker.moduleResolverHost.getCurrentDirectory(),getCommonSourceDirectory:()=>Tt.tracker.moduleResolverHost.getCommonSourceDirectory()},wa=eJ(hs,kn);return V.createStringLiteral(wa)}}}else if(Tt.tracker&&Tt.tracker.trackExternalModuleSymbolOfImportTypeNode){const kn=h0(jr,jr,void 0);kn&&Tt.tracker.trackExternalModuleSymbolOfImportTypeNode(kn)}return jr}}}function e_(Tt,Pe,vn){const fn=xm(V.createPropertyDeclaration,173,!0),Xn=xm((Jt,ri,Ai,Ei)=>V.createPropertySignature(Jt,ri,Ai,Ei),172,!1),qn=Pe.enclosingDeclaration;let aa=[];const Qi=new Set,Qn=[],At=Pe;Pe={...At,usedSymbolNames:new Set(At.usedSymbolNames),remappedSymbolNames:new Map,tracker:void 0};const tr={...At.tracker.inner,trackSymbol:(Jt,ri,Ai)=>{var Ei;if(Xm(Jt,ri,Ai,!1).accessibility===0){const Wo=Tn(Jt,Pe,Ai);Jt.flags&4||Ko(Wo[0])}else if((Ei=At.tracker.inner)!=null&&Ei.trackSymbol)return At.tracker.inner.trackSymbol(Jt,ri,Ai);return!1}};Pe.tracker=new u9(Pe,tr,At.tracker.moduleResolverHost),rp(Tt,(Jt,ri)=>{const Ai=xs(ri);Q_(Jt,Ai)});let mr=!vn;const fr=Tt.get("export=");return fr&&Tt.size>1&&fr.flags&2097152&&(Tt=za(),Tt.set("export=",fr)),Ss(Tt),Rr(aa);function jr(Jt){return!!Jt&&Jt.kind===80}function kn(Jt){return Yl(Jt)?gr(qt(Jt.declarationList.declarations,ia),jr):gr([ia(Jt)],jr)}function Yi(Jt){const ri=Ve(Jt,Pl),Ai=ir(Jt,Al);let Ei=Ai!==-1?Jt[Ai]:void 0;if(Ei&&ri&&ri.isExportEquals&&He(ri.expression)&&He(Ei.name)&&Zn(Ei.name)===Zn(ri.expression)&&Ei.body&&yh(Ei.body)){const Ui=gr(Jt,js=>!!(Wf(js)&1)),Wo=Ei.name;let Ja=Ei.body;if(G(Ui)&&(Ei=V.updateModuleDeclaration(Ei,Ei.modifiers,Ei.name,Ja=V.updateModuleBlock(Ja,V.createNodeArray([...Ei.body.statements,V.createExportDeclaration(void 0,!1,V.createNamedExports(qt(ln(Ui,js=>kn(js)),js=>V.createExportSpecifier(!1,void 0,js))),void 0)]))),Jt=[...Jt.slice(0,Ai),Ei,...Jt.slice(Ai+1)]),!Ve(Jt,js=>js!==Ei&&FI(js,Wo))){aa=[];const js=!Ne(Ja.statements,Qa=>gi(Qa,1)||Pl(Qa)||Ju(Qa));te(Ja.statements,Qa=>{it(Qa,js?1:0)}),Jt=[...gr(Jt,Qa=>Qa!==Ei&&Qa!==ri),...aa]}}return Jt}function hs(Jt){const ri=gr(Jt,Ei=>Ju(Ei)&&!Ei.moduleSpecifier&&!!Ei.exportClause&&im(Ei.exportClause));G(ri)>1&&(Jt=[...gr(Jt,Ui=>!Ju(Ui)||!!Ui.moduleSpecifier||!Ui.exportClause),V.createExportDeclaration(void 0,!1,V.createNamedExports(ln(ri,Ui=>Ua(Ui.exportClause,im).elements)),void 0)]);const Ai=gr(Jt,Ei=>Ju(Ei)&&!!Ei.moduleSpecifier&&!!Ei.exportClause&&im(Ei.exportClause));if(G(Ai)>1){const Ei=Y3(Ai,Ui=>yo(Ui.moduleSpecifier)?">"+Ui.moduleSpecifier.text:">");if(Ei.length!==Ai.length)for(const Ui of Ei)Ui.length>1&&(Jt=[...gr(Jt,Wo=>Ui.indexOf(Wo)===-1),V.createExportDeclaration(void 0,!1,V.createNamedExports(ln(Ui,Wo=>Ua(Wo.exportClause,im).elements)),Ui[0].moduleSpecifier)])}return Jt}function wa(Jt){const ri=ir(Jt,Ai=>Ju(Ai)&&!Ai.moduleSpecifier&&!Ai.assertClause&&!!Ai.exportClause&&im(Ai.exportClause));if(ri>=0){const Ai=Jt[ri],Ei=lr(Ai.exportClause.elements,Ui=>{if(!Ui.propertyName){const Wo=Wi(Jt),Ja=gr(Wo,js=>FI(Jt[js],Ui.name));if(G(Ja)&&ot(Ja,js=>X5(Jt[js]))){for(const js of Ja)Jt[js]=Hn(Jt[js]);return}}return Ui});G(Ei)?Jt[ri]=V.updateExportDeclaration(Ai,Ai.modifiers,Ai.isTypeOnly,V.updateNamedExports(Ai.exportClause,Ei),Ai.moduleSpecifier,Ai.assertClause):zb(Jt,ri)}return Jt}function Rr(Jt){return Jt=Yi(Jt),Jt=hs(Jt),Jt=wa(Jt),qn&&(Cs(qn)&&Pp(qn)||Al(qn))&&(!Ne(Jt,$I)||!E2e(Jt)&&Ne(Jt,aj))&&Jt.push(EO(V)),Jt}function Hn(Jt){const ri=(Wf(Jt)|1)&-3;return V.updateModifiers(Jt,ri)}function Ni(Jt){const ri=Wf(Jt)&-2;return V.updateModifiers(Jt,ri)}function Ss(Jt,ri,Ai){ri||Qn.push(new Map),Jt.forEach(Ei=>{Ma(Ei,!1,!!Ai)}),ri||(Qn[Qn.length-1].forEach(Ei=>{Ma(Ei,!0,!!Ai)}),Qn.pop())}function Ma(Jt,ri,Ai){const Ei=Fo(Jt);if(Qi.has(vo(Ei)))return;if(Qi.add(vo(Ei)),!ri||G(Jt.declarations)&&Ne(Jt.declarations,Wo=>!!mn(Wo,Ja=>Ja===qn))){const Wo=Pe;Pe=en(Pe),fl(Jt,ri,Ai),Pe.reportedDiagnostic&&(At.reportedDiagnostic=Pe.reportedDiagnostic),Pe=Wo}}function fl(Jt,ri,Ai){var Ei,Ui,Wo,Ja;const js=xs(Jt.escapedName),Qa=Jt.escapedName==="default";if(ri&&!(Pe.flags&131072)&&fw(js)&&!Qa){Pe.encounteredError=!0;return}let Io=Qa&&!!(Jt.flags&-113||Jt.flags&16&&G(zo(bn(Jt))))&&!(Jt.flags&2097152),vl=!Io&&!ri&&fw(js)&&!Qa;(Io||vl)&&(ri=!0);const Du=(ri?0:1)|(Qa&&!Io?1024:0),N_=Jt.flags&1536&&Jt.flags&7&&Jt.escapedName!=="export=",yf=N_&&gf(bn(Jt),Jt);if((Jt.flags&8208||yf)&&Ci(bn(Jt),Jt,Q_(Jt,js),Du),Jt.flags&524288&&It(Jt,js,Du),Jt.flags&98311&&Jt.escapedName!=="export="&&!(Jt.flags&4194304)&&!(Jt.flags&32)&&!(Jt.flags&8192)&&!yf)if(Ai)ec(Jt)&&(vl=!1,Io=!1);else{const Cc=bn(Jt),bl=Q_(Jt,js);if(!(Jt.flags&16)&&gf(Cc,Jt))Ci(Cc,Jt,bl,Du);else{const R0=Jt.flags&2?XA(Jt)?2:1:(Ei=Jt.parent)!=null&&Ei.valueDeclaration&&Cs((Ui=Jt.parent)==null?void 0:Ui.valueDeclaration)?2:void 0,Lg=Io||!(Jt.flags&4)?bl:t6(bl,Jt);let Mg=Jt.declarations&&Ve(Jt.declarations,iv=>bs(iv));Mg&&Tu(Mg.parent)&&Mg.parent.declarations.length===1&&(Mg=Mg.parent.parent);const fC=(Wo=Jt.declarations)==null?void 0:Wo.find(ai);if(fC&&Bn(fC.parent)&&He(fC.parent.right)&&((Ja=Cc.symbol)!=null&&Ja.valueDeclaration)&&Cs(Cc.symbol.valueDeclaration)){const iv=bl===fC.parent.right.escapedText?void 0:fC.parent.right;it(V.createExportDeclaration(void 0,!1,V.createNamedExports([V.createExportSpecifier(!1,iv,bl)])),0),Pe.tracker.trackSymbol(Cc.symbol,Pe.enclosingDeclaration,111551)}else{const iv=wt(V.createVariableStatement(void 0,V.createVariableDeclarationList([V.createVariableDeclaration(Lg,void 0,Ls(Pe,Cc,Jt,qn,Ko,vn))],R0)),Mg);it(iv,Lg!==bl?Du&-2:Du),Lg!==bl&&!ri&&(it(V.createExportDeclaration(void 0,!1,V.createNamedExports([V.createExportSpecifier(!1,Lg,bl)])),0),vl=!1,Io=!1)}}}if(Jt.flags&384&&Un(Jt,js,Du),Jt.flags&32&&(Jt.flags&4&&Jt.valueDeclaration&&Bn(Jt.valueDeclaration.parent)&&Gf(Jt.valueDeclaration.parent.right)?to(Jt,Q_(Jt,js),Du):Fi(Jt,Q_(Jt,js),Du)),(Jt.flags&1536&&(!N_||Vn(Jt))||yf)&&Or(Jt,js,Du),Jt.flags&64&&!(Jt.flags&32)&&hr(Jt,js,Du),Jt.flags&2097152&&to(Jt,Q_(Jt,js),Du),Jt.flags&4&&Jt.escapedName==="export="&&ec(Jt),Jt.flags&8388608&&Jt.declarations)for(const Cc of Jt.declarations){const bl=cu(Cc,Cc.moduleSpecifier);bl&&it(V.createExportDeclaration(void 0,Cc.isTypeOnly,void 0,V.createStringLiteral(Pr(bl,Pe))),0)}Io?it(V.createExportAssignment(void 0,!1,V.createIdentifier(Q_(Jt,js))),0):vl&&it(V.createExportDeclaration(void 0,!1,V.createNamedExports([V.createExportSpecifier(!1,Q_(Jt,js),js)])),0)}function Ko(Jt){if(Ne(Jt.declarations,Rx))return;R.assertIsDefined(Qn[Qn.length-1]),t6(xs(Jt.escapedName),Jt);const ri=!!(Jt.flags&2097152)&&!Ne(Jt.declarations,Ai=>!!mn(Ai,Ju)||ny(Ai)||cf(Ai)&&!fg(Ai.moduleReference));Qn[ri?0:Qn.length-1].set(vo(Jt),Jt)}function hf(Jt){return Cs(Jt)&&(Pp(Jt)||Nd(Jt))||$f(Jt)&&!dh(Jt)}function it(Jt,ri){if(am(Jt)){let Ai=0;const Ei=Pe.enclosingDeclaration&&(Id(Pe.enclosingDeclaration)?pn(Pe.enclosingDeclaration):Pe.enclosingDeclaration);ri&1&&Ei&&(hf(Ei)||Al(Ei))&&X5(Jt)&&(Ai|=1),mr&&!(Ai&1)&&(!Ei||!(Ei.flags&16777216))&&(s2(Jt)||Yl(Jt)||au(Jt)||Su(Jt)||Al(Jt))&&(Ai|=2),ri&1024&&(Su(Jt)||Xf(Jt)||au(Jt))&&(Ai|=1024),Ai&&(Jt=V.updateModifiers(Jt,Ai|Wf(Jt)))}aa.push(Jt)}function It(Jt,ri,Ai){var Ei;const Ui=Zk(Jt),Wo=ms(Jt).typeParameters,Ja=qt(Wo,N_=>gt(N_,Pe)),js=(Ei=Jt.declarations)==null?void 0:Ei.find(Id),Qa=BI(js?js.comment||js.parent.comment:void 0),Io=Pe.flags;Pe.flags|=8388608;const vl=Pe.enclosingDeclaration;Pe.enclosingDeclaration=js;const Du=js&&js.typeExpression&&Zx(js.typeExpression)&&bo(Pe,js.typeExpression.type,Ko,vn)||m(Ui,Pe);it(r2(V.createTypeAliasDeclaration(void 0,Q_(Jt,ri),Ja,Du),Qa?[{kind:3,text:`*
* `+Qa.replace(/\n/g,`
* `)+`
`,pos:-1,end:-1,hasTrailingNewLine:!0}]:[]),Ai),Pe.flags=Io,Pe.enclosingDeclaration=vl}function hr(Jt,ri,Ai){const Ei=h_(Jt),Ui=z1(Jt),Wo=qt(Ui,yf=>gt(yf,Pe)),Ja=ma(Ei),js=G(Ja)?co(Ja):void 0,Qa=ln(zo(Ei),yf=>Og(yf,js)),Io=Ab(0,Ei,js,178),vl=Ab(1,Ei,js,179),Du=uC(Ei,js),N_=G(Ja)?[V.createHeritageClause(96,lr(Ja,yf=>Lh(yf,111551)))]:void 0;it(V.createInterfaceDeclaration(void 0,Q_(Jt,ri),Wo,N_,[...Du,...vl,...Io,...Qa]),Ai)}function on(Jt){const ri=Jp(Jt);return ri?gr(oo(ri.values()),Ai=>Ea(Ai)&&od(Ai.escapedName,99)):[]}function Vn(Jt){return ot(on(Jt),ri=>!(p_(Qc(ri))&111551))}function Or(Jt,ri,Ai){const Ei=on(Jt),Ui=aI(Ei,js=>js.parent&&js.parent===Jt?"real":"merged"),Wo=Ui.get("real")||ft,Ja=Ui.get("merged")||ft;if(G(Wo)){const js=Q_(Jt,ri);ra(Wo,js,Ai,!!(Jt.flags&67108880))}if(G(Ja)){const js=pn(Pe.enclosingDeclaration),Qa=Q_(Jt,ri),Io=V.createModuleBlock([V.createExportDeclaration(void 0,!1,V.createNamedExports(lr(gr(Ja,vl=>vl.escapedName!=="export="),vl=>{var Du,N_;const yf=xs(vl.escapedName),Cc=Q_(vl,yf),bl=vl.declarations&&pp(vl);if(js&&(bl?js!==pn(bl):!Ne(vl.declarations,Mg=>pn(Mg)===js))){(N_=(Du=Pe.tracker)==null?void 0:Du.reportNonlocalAugmentation)==null||N_.call(Du,js,Jt,vl);return}const R0=bl&&Jd(bl,!0);Ko(R0||vl);const Lg=R0?Q_(R0,xs(R0.escapedName)):Cc;return V.createExportSpecifier(!1,yf===Lg?void 0:Lg,yf)})))]);it(V.createModuleDeclaration(void 0,V.createIdentifier(Qa),Io,16),0)}}function Un(Jt,ri,Ai){it(V.createEnumDeclaration(V.createModifiersFromModifierFlags(Jme(Jt)?2048:0),Q_(Jt,ri),qt(gr(zo(bn(Jt)),Ei=>!!(Ei.flags&8)),Ei=>{const Ui=Ei.declarations&&Ei.declarations[0]&&KT(Ei.declarations[0])?hhe(Ei.declarations[0]):void 0;return V.createEnumMember(xs(Ei.escapedName),Ui===void 0?void 0:typeof Ui=="string"?V.createStringLiteral(Ui):V.createNumericLiteral(Ui))})),Ai)}function Ci(Jt,ri,Ai,Ei){const Ui=Ca(Jt,0);for(const Wo of Ui){const Ja=Ee(Wo,261,Pe,{name:V.createIdentifier(Ai),privateSymbolVisitor:Ko,bundledImports:vn});it(wt(Ja,Xi(Wo)),Ei)}if(!(ri.flags&1536&&ri.exports&&ri.exports.size)){const Wo=gr(zo(Jt),Ea);ra(Wo,Ai,Ei,!0)}}function Xi(Jt){if(Jt.declaration&&Jt.declaration.parent){if(Bn(Jt.declaration.parent)&&dl(Jt.declaration.parent)===5)return Jt.declaration.parent;if(bs(Jt.declaration.parent)&&Jt.declaration.parent.parent)return Jt.declaration.parent.parent}return Jt.declaration}function ra(Jt,ri,Ai,Ei){if(G(Jt)){const Wo=aI(Jt,Cc=>!G(Cc.declarations)||Ne(Cc.declarations,bl=>pn(bl)===pn(Pe.enclosingDeclaration))?"local":"remote").get("local")||ft;let Ja=_g.createModuleDeclaration(void 0,V.createIdentifier(ri),V.createModuleBlock([]),16);ko(Ja,qn),Ja.locals=za(Jt),Ja.symbol=Jt[0].parent;const js=aa;aa=[];const Qa=mr;mr=!1;const Io={...Pe,enclosingDeclaration:Ja},vl=Pe;Pe=Io,Ss(za(Wo),Ei,!0),Pe=vl,mr=Qa;const Du=aa;aa=js;const N_=qt(Du,Cc=>Pl(Cc)&&!Cc.isExportEquals&&He(Cc.expression)?V.createExportDeclaration(void 0,!1,V.createNamedExports([V.createExportSpecifier(!1,Cc.expression,V.createIdentifier("default"))])):Cc),yf=ot(N_,Cc=>gi(Cc,1))?qt(N_,Ni):N_;Ja=V.updateModuleDeclaration(Ja,Ja.modifiers,Ja.name,V.createModuleBlock(yf)),it(Ja,Ai)}}function Ea(Jt){return!!(Jt.flags&2887656)||!(Jt.flags&4194304||Jt.escapedName==="prototype"||Jt.valueDeclaration&&Aa(Jt.valueDeclaration)&&Ri(Jt.valueDeclaration.parent))}function ja(Jt){const ri=lr(Jt,Ai=>{const Ei=Pe.enclosingDeclaration;Pe.enclosingDeclaration=Ai;let Ui=Ai.expression;if(kl(Ui)){if(He(Ui)&&Zn(Ui)==="")return Wo(void 0);let Ja;if({introducesError:Ja,node:Ui}=Fl(Ui,Pe,Ko),Ja)return Wo(void 0)}return Wo(V.createExpressionWithTypeArguments(Ui,qt(Ai.typeArguments,Ja=>bo(Pe,Ja,Ko,vn)||m(Bi(Ja),Pe))));function Wo(Ja){return Pe.enclosingDeclaration=Ei,Ja}});if(ri.length===Jt.length)return ri}function Fi(Jt,ri,Ai){var Ei,Ui;const Wo=(Ei=Jt.declarations)==null?void 0:Ei.find(Ri),Ja=Pe.enclosingDeclaration;Pe.enclosingDeclaration=Wo||Ja;const js=z1(Jt),Qa=qt(js,ih=>gt(ih,Pe)),Io=mp(h_(Jt)),vl=ma(Io),Du=Wo&&f4(Wo),N_=Du&&ja(Du)||lr(Ki(Io),e6),yf=bn(Jt),Cc=!!((Ui=yf.symbol)!=null&&Ui.valueDeclaration)&&Ri(yf.symbol.valueDeclaration),bl=Cc?Kn(yf):dt,R0=[...G(vl)?[V.createHeritageClause(96,qt(vl,ih=>u3(ih,bl,ri)))]:[],...G(N_)?[V.createHeritageClause(119,N_)]:[]],Lg=uCt(Io,vl,zo(Io)),Mg=gr(Lg,ih=>{const f3=ih.valueDeclaration;return!!f3&&!(bf(f3)&&fs(f3.name))}),iv=Ne(Lg,ih=>{const f3=ih.valueDeclaration;return!!f3&&bf(f3)&&fs(f3.name)})?[V.createPropertyDeclaration(void 0,V.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:ft,whe=ln(Mg,ih=>fn(ih,!1,vl[0])),Ehe=ln(gr(zo(yf),ih=>!(ih.flags&4194304)&&ih.escapedName!=="prototype"&&!Ea(ih)),ih=>fn(ih,!0,bl)),AEt=!Cc&&!!Jt.valueDeclaration&&Mn(Jt.valueDeclaration)&&!Ne(Ca(yf,1))?[V.createConstructorDeclaration(V.createModifiersFromModifierFlags(8),[],void 0)]:Ab(1,yf,bl,175),PEt=uC(Io,vl[0]);Pe.enclosingDeclaration=Ja,it(wt(V.createClassDeclaration(void 0,ri,Qa,R0,[...PEt,...Ehe,...AEt,...whe,...iv]),Jt.declarations&&gr(Jt.declarations,ih=>Su(ih)||Gf(ih))[0]),Ai)}function oa(Jt){return $e(Jt,ri=>{if(J_(ri)||T_(ri))return Zn(ri.propertyName||ri.name);if(Bn(ri)||Pl(ri)){const Ai=Pl(ri)?ri.expression:ri.right;if(ai(Ai))return Zn(Ai.name)}if(x2(ri)){const Ai=ia(ri);if(Ai&&He(Ai))return Zn(Ai)}})}function to(Jt,ri,Ai){var Ei,Ui,Wo,Ja,js;const Qa=pp(Jt);if(!Qa)return R.fail();const Io=Fo(Jd(Qa,!0));if(!Io)return;let vl=xP(Io)&&oa(Jt.declarations)||xs(Io.escapedName);vl==="export="&&Ce&&(vl="default");const Du=Q_(Io,vl);switch(Ko(Io),Qa.kind){case 207:if(((Ui=(Ei=Qa.parent)==null?void 0:Ei.parent)==null?void 0:Ui.kind)===259){const Cc=Pr(Io.parent||Io,Pe),{propertyName:bl}=Qa;it(V.createImportDeclaration(void 0,V.createImportClause(!1,void 0,V.createNamedImports([V.createImportSpecifier(!1,bl&&He(bl)?V.createIdentifier(Zn(bl)):void 0,V.createIdentifier(ri))])),V.createStringLiteral(Cc),void 0),0);break}R.failBadSyntaxKind(((Wo=Qa.parent)==null?void 0:Wo.parent)||Qa,"Unhandled binding element grandparent kind in declaration serialization");break;case 303:((js=(Ja=Qa.parent)==null?void 0:Ja.parent)==null?void 0:js.kind)===225&&ro(xs(Jt.escapedName),Du);break;case 259:if(ai(Qa.initializer)){const Cc=Qa.initializer,bl=V.createUniqueName(ri),R0=Pr(Io.parent||Io,Pe);it(V.createImportEqualsDeclaration(void 0,!1,bl,V.createExternalModuleReference(V.createStringLiteral(R0))),0),it(V.createImportEqualsDeclaration(void 0,!1,V.createIdentifier(ri),V.createQualifiedName(bl,Cc.name)),Ai);break}case 270:if(Io.escapedName==="export="&&Ne(Io.declarations,Cc=>Cs(Cc)&&Nd(Cc))){ec(Jt);break}const N_=!(Io.flags&512)&&!bs(Qa);it(V.createImportEqualsDeclaration(void 0,!1,V.createIdentifier(ri),N_?Ks(Io,Pe,67108863,!1):V.createExternalModuleReference(V.createStringLiteral(Pr(Io,Pe)))),N_?Ai:0);break;case 269:it(V.createNamespaceExportDeclaration(Zn(Qa.name)),0);break;case 272:{const Cc=Pr(Io.parent||Io,Pe),bl=vn?V.createStringLiteral(Cc):Qa.parent.moduleSpecifier;it(V.createImportDeclaration(void 0,V.createImportClause(!1,V.createIdentifier(ri),void 0),bl,Qa.parent.assertClause),0);break}case 273:{const Cc=Pr(Io.parent||Io,Pe),bl=vn?V.createStringLiteral(Cc):Qa.parent.parent.moduleSpecifier;it(V.createImportDeclaration(void 0,V.createImportClause(!1,void 0,V.createNamespaceImport(V.createIdentifier(ri))),bl,Qa.parent.parent.assertClause),0);break}case 279:it(V.createExportDeclaration(void 0,!1,V.createNamespaceExport(V.createIdentifier(ri)),V.createStringLiteral(Pr(Io,Pe))),0);break;case 275:{const Cc=Pr(Io.parent||Io,Pe),bl=vn?V.createStringLiteral(Cc):Qa.parent.parent.parent.moduleSpecifier;it(V.createImportDeclaration(void 0,V.createImportClause(!1,void 0,V.createNamedImports([V.createImportSpecifier(!1,ri!==vl?V.createIdentifier(vl):void 0,V.createIdentifier(ri))])),bl,Qa.parent.parent.parent.assertClause),0);break}case 280:const yf=Qa.parent.parent.moduleSpecifier;ro(xs(Jt.escapedName),yf?vl:Du,yf&&Yo(yf)?V.createStringLiteral(yf.text):void 0);break;case 276:ec(Jt);break;case 225:case 210:case 211:Jt.escapedName==="default"||Jt.escapedName==="export="?ec(Jt):ro(ri,Du);break;default:return R.failBadSyntaxKind(Qa,"Unhandled alias declaration kind in symbol serializer!")}}function ro(Jt,ri,Ai){it(V.createExportDeclaration(void 0,!1,V.createNamedExports([V.createExportSpecifier(!1,Jt!==ri?ri:void 0,Jt)]),Ai),0)}function ec(Jt){var ri;if(Jt.flags&4194304)return!1;const Ai=xs(Jt.escapedName),Ei=Ai==="export=",Wo=Ei||Ai==="default",Ja=Jt.declarations&&pp(Jt),js=Ja&&Jd(Ja,!0);if(js&&G(js.declarations)&&Ne(js.declarations,Qa=>pn(Qa)===pn(qn))){const Qa=Ja&&(Pl(Ja)||Bn(Ja)?Wee(Ja):LTe(Ja)),Io=Qa&&kl(Qa)?CCt(Qa):void 0,vl=Io&&rl(Io,67108863,!0,!0,qn);(vl||js)&&Ko(vl||js);const Du=Pe.tracker.disableTrackSymbol;if(Pe.tracker.disableTrackSymbol=!0,Wo)aa.push(V.createExportAssignment(void 0,Ei,La(js,Pe,67108863)));else if(Io===Qa&&Io)ro(Ai,Zn(Io));else if(Qa&&Gf(Qa))ro(Ai,Q_(js,xl(js)));else{const N_=t6(Ai,Jt);it(V.createImportEqualsDeclaration(void 0,!1,V.createIdentifier(N_),Ks(js,Pe,67108863,!1)),0),ro(Ai,N_)}return Pe.tracker.disableTrackSymbol=Du,!0}else{const Qa=t6(Ai,Jt),Io=hp(bn(Fo(Jt)));if(gf(Io,Jt))Ci(Io,Jt,Qa,Wo?0:1);else{const vl=V.createVariableStatement(void 0,V.createVariableDeclarationList([V.createVariableDeclaration(Qa,void 0,Ls(Pe,Io,Jt,qn,Ko,vn))],((ri=Pe.enclosingDeclaration)==null?void 0:ri.kind)===266?1:2));it(vl,js&&js.flags&4&&js.escapedName==="export="?2:Ai===Qa?1:0)}return Wo?(aa.push(V.createExportAssignment(void 0,Ei,V.createIdentifier(Qa))),!0):Ai!==Qa?(ro(Ai,Qa),!0):!1}}function gf(Jt,ri){const Ai=pn(Pe.enclosingDeclaration);return vi(Jt)&48&&!G(Lf(Jt))&&!H_(Jt)&&!!(G(gr(zo(Jt),Ea))||G(Ca(Jt,0)))&&!G(Ca(Jt,1))&&!En(ri,qn)&&!(Jt.symbol&&Ne(Jt.symbol.declarations,Ei=>pn(Ei)!==Ai))&&!Ne(zo(Jt),Ei=>Z8(Ei.escapedName))&&!Ne(zo(Jt),Ei=>Ne(Ei.declarations,Ui=>pn(Ui)!==Ai))&&ot(zo(Jt),Ei=>od(xl(Ei),he))}function xm(Jt,ri,Ai){return function(Ui,Wo,Ja){var js,Qa,Io,vl,Du;const N_=pd(Ui),yf=!!(N_&8);if(Wo&&Ui.flags&2887656)return[];if(Ui.flags&4194304||Ui.escapedName==="constructor"||Ja&&$a(Ja,Ui.escapedName)&&Sm($a(Ja,Ui.escapedName))===Sm(Ui)&&(Ui.flags&16777216)===($a(Ja,Ui.escapedName).flags&16777216)&&Cy(bn(Ui),Ll(Ja,Ui.escapedName)))return[];const Cc=N_&-513|(Wo?32:0),bl=$p(Ui,Pe),R0=(js=Ui.declarations)==null?void 0:js.find(Wh(Ia,Wb,bs,Gp,Bn,ai));if(Ui.flags&98304&&Ai){const Lg=[];if(Ui.flags&65536&&Lg.push(wt(V.createSetAccessorDeclaration(V.createModifiersFromModifierFlags(Cc),bl,[V.createParameterDeclaration(void 0,void 0,"arg",void 0,yf?void 0:Ls(Pe,bn(Ui),Ui,qn,Ko,vn))],void 0),((Qa=Ui.declarations)==null?void 0:Qa.find(i1))||R0)),Ui.flags&32768){const Mg=N_&8;Lg.push(wt(V.createGetAccessorDeclaration(V.createModifiersFromModifierFlags(Cc),bl,[],Mg?void 0:Ls(Pe,bn(Ui),Ui,qn,Ko,vn),void 0),((Io=Ui.declarations)==null?void 0:Io.find(kv))||R0))}return Lg}else if(Ui.flags&98311)return wt(Jt(V.createModifiersFromModifierFlags((Sm(Ui)?64:0)|Cc),bl,Ui.flags&16777216?V.createToken(58):void 0,yf?void 0:Ls(Pe,Y8(Ui),Ui,qn,Ko,vn),void 0),((vl=Ui.declarations)==null?void 0:vl.find(Wh(Ia,bs)))||R0);if(Ui.flags&8208){const Lg=bn(Ui),Mg=Ca(Lg,0);if(Cc&8)return wt(Jt(V.createModifiersFromModifierFlags((Sm(Ui)?64:0)|Cc),bl,Ui.flags&16777216?V.createToken(58):void 0,void 0,void 0),((Du=Ui.declarations)==null?void 0:Du.find(Lc))||Mg[0]&&Mg[0].declaration||Ui.declarations&&Ui.declarations[0]);const fC=[];for(const iv of Mg){const whe=Ee(iv,ri,Pe,{name:bl,questionToken:Ui.flags&16777216?V.createToken(58):void 0,modifiers:Cc?V.createModifiersFromModifierFlags(Cc):void 0}),Ehe=iv.declaration&&f5(iv.declaration.parent)?iv.declaration.parent:iv.declaration;fC.push(wt(whe,Ehe))}return fC}return R.fail(`Unhandled class member kind! ${Ui.__debugFlags||Ui.flags}`)}}function Og(Jt,ri){return Xn(Jt,!1,ri)}function Ab(Jt,ri,Ai,Ei){const Ui=Ca(ri,Jt);if(Jt===1){if(!Ai&&ot(Ui,js=>G(js.parameters)===0))return[];if(Ai){const js=Ca(Ai,1);if(!G(js)&&ot(Ui,Qa=>G(Qa.parameters)===0))return[];if(js.length===Ui.length){let Qa=!1;for(let Io=0;Io<js.length;Io++)if(!DM(Ui[Io],js[Io],!1,!1,!0,_N)){Qa=!0;break}if(!Qa)return[]}}let Ja=0;for(const js of Ui)js.declaration&&(Ja|=mw(js.declaration,24));if(Ja)return[wt(V.createConstructorDeclaration(V.createModifiersFromModifierFlags(Ja),[],void 0),Ui[0].declaration)]}const Wo=[];for(const Ja of Ui){const js=Ee(Ja,Ei,Pe);Wo.push(wt(js,Ja.declaration))}return Wo}function uC(Jt,ri){const Ai=[];for(const Ei of Lf(Jt)){if(ri){const Ui=Pg(ri,Ei.keyType);if(Ui&&Cy(Ei.type,Ui.type))continue}Ai.push(oe(Ei,Pe,void 0))}return Ai}function u3(Jt,ri,Ai){const Ei=Lh(Jt,111551);if(Ei)return Ei;const Ui=t6(`${Ai}_base`),Wo=V.createVariableStatement(void 0,V.createVariableDeclarationList([V.createVariableDeclaration(Ui,void 0,m(ri,Pe))],2));return it(Wo,0),V.createExpressionWithTypeArguments(V.createIdentifier(Ui),void 0)}function Lh(Jt,ri){let Ai,Ei;if(Jt.target&&FS(Jt.target.symbol,qn,ri)?(Ai=qt(cc(Jt),Ui=>m(Ui,Pe)),Ei=La(Jt.target.symbol,Pe,788968)):Jt.symbol&&FS(Jt.symbol,qn,ri)&&(Ei=La(Jt.symbol,Pe,788968)),Ei)return V.createExpressionWithTypeArguments(Ei,Ai)}function e6(Jt){const ri=Lh(Jt,788968);if(ri)return ri;if(Jt.symbol)return V.createExpressionWithTypeArguments(La(Jt.symbol,Pe,788968),void 0)}function t6(Jt,ri){var Ai,Ei;const Ui=ri?vo(ri):void 0;if(Ui&&Pe.remappedSymbolNames.has(Ui))return Pe.remappedSymbolNames.get(Ui);ri&&(Jt=rx(ri,Jt));let Wo=0;const Ja=Jt;for(;(Ai=Pe.usedSymbolNames)!=null&&Ai.has(Jt);)Wo++,Jt=`${Ja}_${Wo}`;return(Ei=Pe.usedSymbolNames)==null||Ei.add(Jt),Ui&&Pe.remappedSymbolNames.set(Ui,Jt),Jt}function rx(Jt,ri){if(ri==="default"||ri==="__class"||ri==="__function"){const Ai=Pe.flags;Pe.flags|=16777216;const Ei=T0(Jt,Pe);Pe.flags=Ai,ri=Ei.length>0&&i5(Ei.charCodeAt(0))?tm(Ei):Ei}return ri==="default"?ri="_default":ri==="export="&&(ri="_exports"),ri=od(ri,he)&&!fw(ri)?ri:"_"+ri.replace(/[^a-zA-Z0-9]/g,"_"),ri}function Q_(Jt,ri){const Ai=vo(Jt);return Pe.remappedSymbolNames.has(Ai)?Pe.remappedSymbolNames.get(Ai):(ri=rx(Jt,ri),Pe.remappedSymbolNames.set(Ai,ri),ri)}}}function d_(r,c,_=16384,m){return m?b(m).getText():bP(b);function b(x){const P=V.createTypePredicateNode(r.kind===2||r.kind===3?V.createToken(131):void 0,r.kind===1||r.kind===3?V.createIdentifier(r.parameterName):V.createThisTypeNode(),r.type&&st.typeToTypeNode(r.type,c,Da(_)|70221824|512)),J=oS(),$=c&&pn(c);return J.writeNode(4,P,$,x),x}}function F2(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?vt:Kk(b);if(x.flags&1048576){const P=x.types.length;if(m+P<=r.length&&Kf(r[m+P-1])===Kf(x.types[P-1])){c.push(x),m+=P-1;continue}}}c.push(b)}}return _&65536&&c.push(Gn),_&32768&&c.push(Fe),c||r}function m_(r){return r===8?"private":r===16?"protected":"public"}function R2(r){if(r.symbol&&r.symbol.flags&2048&&r.symbol.declarations){const c=b5(r.symbol.declarations[0].parent);if(Mm(c))return Yn(c)}}function fb(r){return r&&r.parent&&r.parent.kind===267&&DT(r.parent.parent)}function BS(r){return r.kind===311||$f(r)}function Gk(r,c){const _=ms(r).nameType;if(_){if(_.flags&384){const m=""+_.value;return!od(m,Eo(Q))&&!ey(m)?`"${_w(m,34)}"`:ey(m)&&Xs(m,"-")?`[${m}]`:m}if(_.flags&8192)return`[${T0(_.symbol,c)}]`}}function T0(r,c){if(c&&r.escapedName==="default"&&!(c.flags&16384)&&(!(c.flags&16777216)||!r.declarations||c.enclosingDeclaration&&mn(r.declarations[0],BS)!==mn(c.enclosingDeclaration,BS)))return"default";if(r.declarations&&r.declarations.length){let m=$e(r.declarations,x=>ia(x)?x:void 0);const b=m&&ia(m);if(m&&b){if(Ra(m)&&sw(m))return xl(r);if(Ho(b)&&!(ml(r)&4096)){const x=ms(r).nameType;if(x&&x.flags&384){const P=Gk(r,c);if(P!==void 0)return P}}return ac(b)}if(m||(m=r.declarations[0]),m.parent&&m.parent.kind===259)return ac(m.parent.name);switch(m.kind){case 230:case 217:case 218:return c&&!c.encounteredError&&!(c.flags&131072)&&(c.encounteredError=!0),m.kind===230?"(Anonymous class)":"(Anonymous function)"}}const _=Gk(r,c);return _!==void 0?_:xl(r)}function xd(r){if(r){const _=mi(r);return _.isVisible===void 0&&(_.isVisible=!!c()),_.isVisible}return!1;function c(){switch(r.kind){case 344:case 352:case 346:return!!(r.parent&&r.parent.parent&&r.parent.parent.parent&&Cs(r.parent.parent.parent));case 207:return xd(r.parent.parent);case 259:if(Fa(r.name)&&!r.name.elements.length)return!1;case 266:case 262:case 263:case 264:case 261:case 265:case 270:if(DT(r))return!0;const _=jS(r);return!(t1(r)&1)&&!(r.kind!==270&&_.kind!==311&&_.flags&16777216)?fp(_):xd(_);case 171:case 170:case 176:case 177:case 173:case 172:if(ip(r,24))return!1;case 175:case 179:case 178:case 180:case 168:case 267:case 183:case 184:case 186:case 182:case 187:case 188:case 191:case 192:case 195:case 201:return xd(r.parent);case 272:case 273:case 275:return!1;case 167:case 311:case 269:return!0;case 276:return!1;default:return!1}}}function yy(r,c){let _;r.parent&&r.parent.kind===276?_=ll(r,r.escapedText,2998271,void 0,r,!1):r.parent.kind===280&&(_=dy(r.parent,2998271));let m,b;return _&&(b=new Set,b.add(vo(_)),x(_.declarations)),m;function x(P){te(P,J=>{const $=Wm(J)||J;if(c?mi(J).isVisible=!0:(m=m||[],Sp(m,$)),i4(J)){const re=J.moduleReference,oe=Np(re),Ee=ll(J,oe.escapedText,901119,void 0,void 0,!1);Ee&&b&&li(b,vo(Ee))&&x(Ee.declarations)}})}}function zp(r,c){const _=S0(r,c);if(_>=0){const{length:m}=vg;for(let b=_;b<m;b++)bg[b]=!1;return!1}return vg.push(r),bg.push(!0),vd.push(c),!0}function S0(r,c){for(let _=vg.length-1;_>=C1;_--){if(_b(vg[_],vd[_]))return-1;if(vg[_]===r&&vd[_]===c)return _}return-1}function _b(r,c){switch(c){case 0:return!!ms(r).type;case 5:return!!mi(r).resolvedEnumType;case 2:return!!ms(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!!ms(r).writeType;case 9:return mi(r).parameterInitializerContainsUndefined!==void 0}return R.assertNever(c)}function wg(){return vg.pop(),vd.pop(),bg.pop()}function jS(r){return mn(tg(r),c=>{switch(c.kind){case 259:case 260:case 275:case 274:case 273:case 272:return!1;default:return!0}}).parent}function tM(r){const c=yc(E_(r));return c.typeParameters?A0(c,qt(c.typeParameters,_=>dt)):c}function Ll(r,c){const _=$a(r,c);return _?bn(_):void 0}function rM(r,c){var _;return Ll(r,c)||((_=RE(r,c))==null?void 0:_.type)||mt}function qo(r){return r&&(r.flags&1)!==0}function Ro(r){return r===se||!!(r.flags&1&&r.aliasSymbol)}function DE(r,c){if(c!==0)return df(r,!1,c);const _=Yn(r);return _&&ms(_).type||df(r,!1,c)}function ne(r,c,_){if(r=tu(r,$=>!($.flags&98304)),r.flags&131072)return ga;if(r.flags&1048576)return kc(r,$=>ne($,c,_));let m=Ti(qt(c,P0));const b=[],x=[];for(const $ of zo(r)){const re=JA($,8576);!lo(re,m)&&!(pd($)&24)&&dH($)?b.push($):x.push(re)}if($2(r)||bb(m)){if(x.length&&(m=Ti([m,...x])),m.flags&131072)return r;const $=J0t();return $?JE($,[r,m]):se}const P=za();for(const $ of b)P.set($.escapedName,Zpe($,!1));const J=ul(_,P,ft,ft,Lf(r));return J.objectFlags|=4194304,J}function Ae(r){return!!(r.flags&465829888)&&Yc(Of(r)||mt,32768)}function tt(r){const c=O0(r,Ae)?kc(r,_=>_.flags&465829888?Sy(_):_):r;return Ed(c,524288)}function Mt(r,c){const _=ar(r);return _?rv(_,c):c}function ar(r){const c=Ur(r);if(c&&g5(c)&&c.flowNode){const _=fi(r);if(_){const m=wt(_g.createStringLiteral(_),r),b=L_(c)?c:_g.createParenthesizedExpression(c),x=wt(_g.createElementAccessExpression(b,m),r);return ko(m,x),ko(x,r),b!==c&&ko(b,x),x.flowNode=c.flowNode,x}}}function Ur(r){const c=r.parent.parent;switch(c.kind){case 207:case 302:return ar(c);case 208:return ar(r.parent);case 259:return c.initializer;case 225:return c.right}}function fi(r){const c=r.parent;return r.kind===207&&c.kind===205?Hi(r.propertyName||r.name):r.kind===302||r.kind===303?Hi(r.name):""+c.elements.indexOf(r)}function Hi(r){const c=P0(r);return c.flags&384?""+c.value:void 0}function ss(r){const c=r.dotDotDotToken?64:0,_=DE(r.parent.parent,c);return _&&Gi(r,_)}function Gi(r,c){if(qo(c))return c;const _=r.parent;K&&r.flags&16777216&&Rx(r)?c=Ay(c):K&&_.parent.initializer&&!(Ff(bMe(_.parent.initializer))&65536)&&(c=Ed(c,524288));let m;if(_.kind===205)if(r.dotDotDotToken){if(c=gm(c),c.flags&2||!VM(c))return rt(r,v.Rest_types_may_only_be_created_from_object_types),se;const b=[];for(const x of _.elements)x.dotDotDotToken||b.push(x.propertyName||x.name);m=ne(c,b,r.symbol)}else{const b=r.propertyName||r.name,x=P0(b),P=A_(c,x,32,b);m=Mt(r,P)}else{const b=M0(65|(r.dotDotDotToken?0:128),c,Fe,_),x=_.elements.indexOf(r);if(r.dotDotDotToken){const P=kc(c,J=>J.flags&58982400?Sy(J):J);m=qd(P,uo)?kc(P,J=>jA(J,x)):mf(b)}else if(ev(c)){const P=vm(x),J=32|(QA(r)?16:0),$=Q1(c,P,J,r.name)||se;m=Mt(r,$)}else m=b}return r.initializer?Yu(F6(r))?K&&!(Ff(IN(r,0))&16777216)?tt(m):m:zme(r,Ti([tt(m),IN(r,0)],2)):m}function Qs(r){const c=bv(r);if(c)return Bi(c)}function gc(r){const c=Tc(r,!0);return c.kind===106||c.kind===80&&$d(c)===je}function Uo(r){const c=Tc(r,!0);return c.kind===208&&c.elements.length===0}function Xa(r,c=!1,_=!0){return K&&_?I0(r,c):r}function df(r,c,_){if(bs(r)&&r.parent.parent.kind===248){const P=Km(fme(Bs(r.parent.parent.expression,_)));return P.flags&4456448?sLe(P):L}if(bs(r)&&r.parent.parent.kind===249){const P=r.parent.parent;return _F(P)||dt}if(Fa(r.parent))return ss(r);const m=Ia(r)&&!rg(r)||Gp(r)||uke(r),b=c&&Xte(r),x=F(r);if(mee(r))return x?qo(x)||x===mt?x:se:ue?mt:dt;if(x)return Xa(x,m,b);if((we||Mn(r))&&bs(r)&&!Fa(r.name)&&!(t1(r)&1)&&!(r.flags&16777216)){if(!(ph(r)&2)&&(!r.initializer||gc(r.initializer)))return Ut;if(r.initializer&&Uo(r.initializer))return fa}if(ea(r)){const P=r.parent;if(P.kind===177&&LE(P)){const re=_l(Yn(r.parent),176);if(re){const oe=Zm(re),Ee=xhe(P);return Ee&&r===Ee?(R.assert(!Ee.type),bn(oe.thisParameter)):Vo(oe)}}const J=p0t(P,r);if(J)return J;const $=r.symbol.escapedName==="this"?UMe(P):zMe(r);if($)return Xa($,!1,b)}if(Px(r)&&r.initializer){if(Mn(r)&&!ea(r)){const J=NE(r,Yn(r),a5(r));if(J)return J}const P=zme(r,IN(r,_));return Xa(P,m,b)}if(Ia(r)&&(we||Mn(r)))if(su(r)){const P=gr(r.parent.members,al),J=P.length?mb(r.symbol,P):Wf(r)&2?PH(r.symbol):void 0;return J&&Xa(J,!0,b)}else{const P=lb(r.parent),J=P?hb(r.symbol,P):Wf(r)&2?PH(r.symbol):void 0;return J&&Xa(J,!0,b)}if(bh(r))return Te;if(Fa(r.name))return J1(r.name,!1,!0)}function zd(r){if(r.valueDeclaration&&Bn(r.valueDeclaration)){const c=ms(r);return c.isConstructorDeclaredProperty===void 0&&(c.isConstructorDeclaredProperty=!1,c.isConstructorDeclaredProperty=!!vy(r)&&ot(r.declarations,_=>Bn(_)&&ZH(_)&&(_.left.kind!==211||ud(_.left.argumentExpression))&&!H8(void 0,_,r,_))),c.isConstructorDeclaredProperty}return!1}function pb(r){const c=r.valueDeclaration;return c&&Ia(c)&&!Yu(c)&&!c.initializer&&(we||Mn(c))}function vy(r){if(r.declarations)for(const c of r.declarations){const _=y_(c,!1,!1);if(_&&(_.kind===175||rh(_)))return _}}function db(r){const c=pn(r.declarations[0]),_=xs(r.escapedName),m=r.declarations.every(x=>Mn(x)&&jc(x)&&Xg(x.expression)),b=m?V.createPropertyAccessExpression(V.createPropertyAccessExpression(V.createIdentifier("module"),V.createIdentifier("exports")),_):V.createPropertyAccessExpression(V.createIdentifier("exports"),_);return m&&ko(b.expression.expression,b.expression),ko(b.expression,b),ko(b,c),b.flowNode=c.endFlowNode,rv(b,Ut,Fe)}function mb(r,c){const _=Xs(r.escapedName,"__#")?V.createPrivateIdentifier(r.escapedName.split("@")[1]):xs(r.escapedName);for(const m of c){const b=V.createPropertyAccessExpression(V.createThis(),_);ko(b.expression,b),ko(b,m),b.flowNode=m.returnFlowNode;const x=Xk(b,r);if(we&&(x===Ut||x===fa)&&rt(r.valueDeclaration,v.Member_0_implicitly_has_an_1_type,Xe(r),jt(x)),!qd(x,iG))return JN(x)}}function hb(r,c){const _=Xs(r.escapedName,"__#")?V.createPrivateIdentifier(r.escapedName.split("@")[1]):xs(r.escapedName),m=V.createPropertyAccessExpression(V.createThis(),_);ko(m.expression,m),ko(m,c),m.flowNode=c.returnFlowNode;const b=Xk(m,r);return we&&(b===Ut||b===fa)&&rt(r.valueDeclaration,v.Member_0_implicitly_has_an_1_type,Xe(r),jt(b)),qd(b,iG)?void 0:JN(b)}function Xk(r,c){const _=(c==null?void 0:c.valueDeclaration)&&(!pb(c)||Wf(c.valueDeclaration)&2)&&PH(c)||Fe;return rv(r,Ut,_)}function Qk(r,c){const _=iw(r.valueDeclaration);if(_){const J=Mn(_)?kT(_):void 0;return J&&J.typeExpression?Bi(J.typeExpression):r.valueDeclaration&&NE(r.valueDeclaration,r,_)||Q2(jl(_))}let m,b=!1,x=!1;if(zd(r)&&(m=hb(r,vy(r))),!m){let J;if(r.declarations){let $;for(const re of r.declarations){const oe=Bn(re)||Ra(re)?re:jc(re)?Bn(re.parent)?re.parent:re:void 0;if(!oe)continue;const Ee=jc(oe)?u5(oe):dl(oe);(Ee===4||Bn(oe)&&ZH(oe,Ee))&&(B1(oe)?b=!0:x=!0),Ra(oe)||($=H8($,oe,r,re)),$||(J||(J=[])).push(Bn(oe)||Ra(oe)?G8(r,c,oe,Ee):Vt)}m=$}if(!m){if(!G(J))return se;let $=b&&r.declarations?X8(J,r.declarations):void 0;if(x){const oe=PH(r);oe&&(($||($=[])).push(oe),b=!0)}const re=Ne($,oe=>!!(oe.flags&-98305))?$:J;m=Ti(re)}}const P=hp(Xa(m,!1,x&&!b));return r.valueDeclaration&&tu(P,J=>!!(J.flags&-98305))===Vt?(Cb(r.valueDeclaration,dt),dt):P}function NE(r,c,_){var m,b;if(!Mn(r)||!_||!jo(_)||_.properties.length)return;const x=za();for(;Bn(r)||ai(r);){const $=Up(r);(m=$==null?void 0:$.exports)!=null&&m.size&&Ch(x,$.exports),r=Bn(r)?r.parent:r.parent.parent}const P=Up(r);(b=P==null?void 0:P.exports)!=null&&b.size&&Ch(x,P.exports);const J=ul(c,x,ft,ft,ft);return J.objectFlags|=4096,J}function H8(r,c,_,m){var b;const x=Yu(c.parent);if(x){const P=hp(Bi(x));if(r)!Ro(r)&&!Ro(P)&&!Cy(r,P)&&VRe(void 0,r,m,P);else return P}if((b=_.parent)!=null&&b.valueDeclaration){const P=Yu(_.parent.valueDeclaration);if(P){const J=$a(Bi(P),_.escapedName);if(J)return yb(J)}}return r}function G8(r,c,_,m){if(Ra(_)){if(c)return bn(c);const P=jl(_.arguments[2]),J=Ll(P,"value");if(J)return J;const $=Ll(P,"get");if($){const oe=oC($);if(oe)return Vo(oe)}const re=Ll(P,"set");if(re){const oe=oC(re);if(oe)return Ome(oe)}return dt}if(kd(_.left,_.right))return dt;const b=m===1&&(ai(_.left)||Pc(_.left))&&(Xg(_.left.expression)||He(_.left.expression)&&Lx(_.left.expression)),x=c?bn(c):b?Kf(jl(_.right)):Q2(jl(_.right));if(x.flags&524288&&m===2&&r.escapedName==="export="){const P=hm(x),J=za();dj(P.members,J);const $=J.size;c&&!c.exports&&(c.exports=za()),(c||r).exports.forEach((oe,Ee)=>{var Le;const We=J.get(Ee);if(We&&We!==oe&&!(oe.flags&2097152))if(oe.flags&111551&&We.flags&111551){if(oe.valueDeclaration&&We.valueDeclaration&&pn(oe.valueDeclaration)!==pn(We.valueDeclaration)){const $t=xs(oe.escapedName),Vr=((Le=wi(We.valueDeclaration,bf))==null?void 0:Le.name)||We.valueDeclaration;ho(rt(oe.valueDeclaration,v.Duplicate_identifier_0,$t),ei(Vr,v._0_was_also_declared_here,$t)),ho(rt(Vr,v.Duplicate_identifier_0,$t),ei(oe.valueDeclaration,v._0_was_also_declared_here,$t))}const gt=No(oe.flags|We.flags,Ee);gt.links.type=Ti([bn(oe),bn(We)]),gt.valueDeclaration=We.valueDeclaration,gt.declarations=wr(We.declarations,oe.declarations),J.set(Ee,gt)}else J.set(Ee,P1(oe,We));else J.set(Ee,oe)});const re=ul($!==J.size?void 0:P.symbol,J,P.callSignatures,P.constructSignatures,P.indexInfos);if($===J.size&&(x.aliasSymbol&&(re.aliasSymbol=x.aliasSymbol,re.aliasTypeArguments=x.aliasTypeArguments),vi(x)&4)){re.aliasSymbol=x.symbol;const oe=cc(x);re.aliasTypeArguments=G(oe)?oe:void 0}return re.objectFlags|=vi(x)&4096,re.symbol&&re.symbol.flags&32&&x===h_(re.symbol)&&(re.objectFlags|=16777216),re}return NH(x)?(Cb(_,Zi),Zi):x}function kd(r,c){return ai(r)&&r.expression.kind===110&&OD(c,_=>qu(r,_))}function B1(r){const c=y_(r,!1,!1);return c.kind===175||c.kind===261||c.kind===217&&!f5(c.parent)}function X8(r,c){return R.assert(r.length===c.length),r.filter((_,m)=>{const b=c[m],x=Bn(b)?b:Bn(b.parent)?b.parent:void 0;return x&&B1(x)})}function da(r,c,_){if(r.initializer){const m=Fa(r.name)?J1(r.name,!0,!1):mt;return Xa(zme(r,IN(r,0,m)))}return Fa(r.name)?J1(r.name,c,_):(_&&!w(r)&&Cb(r,dt),c?xt:dt)}function Ml(r,c,_){const m=za();let b,x=131200;te(r.elements,J=>{const $=J.propertyName||J.name;if(J.dotDotDotToken){b=Nh(L,dt,!1);return}const re=P0($);if(!Eg(re)){x|=512;return}const oe=Qm(re),Ee=4|(J.initializer?16777216:0),Le=No(Ee,oe);Le.links.type=da(J,c,_),Le.links.bindingElement=J,m.set(Le.escapedName,Le)});const P=ul(void 0,m,ft,ft,b?[b]:ft);return P.objectFlags|=x,c&&(P.pattern=r,P.objectFlags|=131072),P}function j1(r,c,_){const m=r.elements,b=Bc(m),x=b&&b.kind===207&&b.dotDotDotToken?b:void 0;if(m.length===0||m.length===1&&x)return he>=2?z9e(dt):Zi;const P=qt(m,oe=>bu(oe)?dt:da(oe,c,_)),J=kr(m,oe=>!(oe===x||bu(oe)||QA(oe)),m.length-1)+1,$=qt(m,(oe,Ee)=>oe===x?4:Ee>=J?2:1);let re=ym(P,$);return c&&(re=k9e(re),re.pattern=r,re.objectFlags|=131072),re}function J1(r,c=!1,_=!1){return r.kind===205?Ml(r,c,_):j1(r,c,_)}function B2(r,c){return Q8(df(r,!0,0),r,c)}function U1(r){const c=Up(r),_=P0t(!1);return _&&c&&c===_}function Q8(r,c,_){return r?(r.flags&4096&&U1(c.parent)&&(r=Kpe(c)),_&&BH(c,r),r.flags&8192&&(Lo(c)||!c.type)&&r.symbol!==Yn(c)&&(r=Qt),hp(r)):(r=ea(c)&&c.dotDotDotToken?Zi:dt,_&&(w(c)||Cb(c,r)),r)}function w(r){const c=tg(r),_=c.kind===168?c.parent:c;return aF(_)}function F(r){const c=Yu(r);if(c)return Bi(c)}function q(r){let c=r.valueDeclaration;return c?(Lo(c)&&(c=F6(c)),ea(c)?xH(c.parent):!1):!1}function ge(r){const c=ms(r);if(!c.type){const _=Ze(r);return!c.type&&!q(r)&&(c.type=_),_}return c.type}function Ze(r){if(r.flags&4194304)return tM(r);if(r===Dt)return dt;if(r.flags&134217728&&r.valueDeclaration){const m=Yn(pn(r.valueDeclaration)),b=No(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=za();return x.set("exports",b),ul(r,x,ft,ft,ft)}R.assertIsDefined(r.valueDeclaration);const c=r.valueDeclaration;if(Cs(c)&&Nd(c))return c.statements.length?hp(Q2(Bs(c.statements[0].expression))):ga;if(Wb(c))return Kp(r);if(!zp(r,0))return r.flags&512&&!(r.flags&67108864)?gb(r):LA(r);let _;if(c.kind===276)_=Q8(F(c)||jl(c.expression),c);else if(Bn(c)||Mn(c)&&(Ra(c)||(ai(c)||Vj(c))&&Bn(c.parent)))_=Qk(r);else if(ai(c)||Pc(c)||He(c)||Yo(c)||Hp(c)||Su(c)||au(c)||ql(c)&&!Zd(c)||ty(c)||Cs(c)){if(r.flags&9136)return gb(r);_=Bn(c.parent)?Qk(r):F(c)||dt}else if(pu(c))_=F(c)||mRe(c);else if(bh(c))_=F(c)||eFe(c);else if(hd(c))_=F(c)||r3(c.name,0);else if(Zd(c))_=F(c)||hRe(c,0);else if(ea(c)||Ia(c)||Gp(c)||bs(c)||Lo(c)||tj(c))_=B2(c,!0);else if(s2(c))_=gb(r);else if(KT(c))_=nM(r);else return R.fail("Unhandled declaration kind! "+R.formatSyntaxKind(c.kind)+" for "+R.formatSymbol(r));return wg()?_:r.flags&512&&!(r.flags&67108864)?gb(r):LA(r)}function or(r){if(r)switch(r.kind){case 176:return Am(r);case 177:return HTe(r);case 171:return R.assert(rg(r)),Yu(r)}}function wn(r){const c=or(r);return c&&Bi(c)}function Rs(r){const c=xhe(r);return c&&c.symbol}function dc(r){return z2(Zm(r))}function Kp(r){const c=ms(r);if(!c.type){if(!zp(r,0))return se;const _=_l(r,176),m=_l(r,177),b=wi(_l(r,171),Ep);let x=_&&Mn(_)&&Qs(_)||wn(_)||wn(m)||wn(b)||_&&_.body&&hG(_)||b&&b.initializer&&B2(b,!0);x||(m&&!aF(m)?fy(we,m,v.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Xe(r)):_&&!aF(_)?fy(we,_,v.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Xe(r)):b&&!aF(b)&&fy(we,b,v.Member_0_implicitly_has_an_1_type,Xe(r),"any"),x=dt),wg()||(or(_)?rt(_,v._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Xe(r)):or(m)||or(b)?rt(m,v._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Xe(r)):_&&we&&rt(_,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,Xe(r)),x=dt),c.type=x}return c.type}function x0(r){const c=ms(r);if(!c.writeType){if(!zp(r,8))return se;const _=_l(r,177)??wi(_l(r,171),Ep);let m=wn(_);wg()||(or(_)&&rt(_,v._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Xe(r)),m=dt),c.writeType=m||Kp(r)}return c.writeType}function k0(r){const c=Kn(h_(r));return c.flags&8650752?c:c.flags&2097152?Ve(c.types,_=>!!(_.flags&8650752)):void 0}function gb(r){let c=ms(r);const _=c;if(!c.type){const m=r.valueDeclaration&&pG(r.valueDeclaration,!1);if(m){const b=Ame(r,m);b&&(r=b,c=b.links)}_.type=c.type=Z_e(r)}return c.type}function Z_e(r){const c=r.valueDeclaration;if(r.flags&1536&&xP(r))return dt;if(c&&(c.kind===225||jc(c)&&c.parent.kind===225))return Qk(r);if(r.flags&512&&c&&Cs(c)&&c.commonJsModuleIndicator){const m=dp(r);if(m!==r){if(!zp(r,0))return se;const b=Fo(r.exports.get("export=")),x=Qk(b,b===m?void 0:m);return wg()?x:LA(r)}}const _=$u(16,r);if(r.flags&32){const m=k0(r);return m?co([_,m]):_}else return K&&r.flags&16777216?I0(_,!0):_}function nM(r){const c=ms(r);return c.type||(c.type=$Oe(r))}function K_e(r){const c=ms(r);if(!c.type){const _=ef(r),m=r.declarations&&Jd(pp(r),!0),b=$e(m==null?void 0:m.declarations,x=>Pl(x)?F(x):void 0);c.type=m!=null&&m.declarations&&DG(m.declarations)&&r.declarations.length?db(m):DG(r.declarations)?Ut:b||(p_(_)&111551?bn(_):se)}return c.type}function Yk(r){const c=ms(r);return c.type||(c.type=Ps(bn(c.target),c.mapper))}function epe(r){const c=ms(r);return c.writeType||(c.writeType=Ps(Y8(c.target),c.mapper))}function LA(r){const c=r.valueDeclaration;return Yu(c)?(rt(r.valueDeclaration,v._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Xe(r)),se):(we&&(c.kind!==168||c.initializer)&&rt(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,Xe(r)),dt)}function eH(r){const c=ms(r);return c.type||(R.assertIsDefined(c.deferralParent),R.assertIsDefined(c.deferralConstituents),c.type=c.deferralParent.flags&1048576?Ti(c.deferralConstituents):co(c.deferralConstituents)),c.type}function iM(r){const c=ms(r);return!c.writeType&&c.deferralWriteConstituents&&(R.assertIsDefined(c.deferralParent),R.assertIsDefined(c.deferralConstituents),c.writeType=c.deferralParent.flags&1048576?Ti(c.deferralWriteConstituents):co(c.deferralWriteConstituents)),c.writeType}function Y8(r){const c=ml(r);return r.flags&4?c&2?c&65536?iM(r)||eH(r):r.links.writeType||r.links.type:bn(r):r.flags&98304?c&1?epe(r):x0(r):bn(r)}function bn(r){const c=ml(r);return c&65536?eH(r):c&1?Yk(r):c&262144?Xyt(r):c&8192?abt(r):r.flags&7?ge(r):r.flags&9136?gb(r):r.flags&8?nM(r):r.flags&98304?Kp(r):r.flags&2097152?K_e(r):se}function yb(r){return WS(bn(r),!!(r.flags&16777216))}function vb(r,c){return r!==void 0&&c!==void 0&&(vi(r)&4)!==0&&r.target===c}function IE(r){return vi(r)&4?r.target:r}function OE(r,c){return _(r);function _(m){if(vi(m)&7){const b=IE(m);return b===c||Ne(ma(b),_)}else if(m.flags&2097152)return Ne(m.types,_);return!1}}function MA(r,c){for(const _ of c)r=n_(r,JS(Yn(_)));return r}function FA(r,c){for(;;){if(r=r.parent,r&&Bn(r)){const _=dl(r);if(_===6||_===3){const m=Yn(r.left);m&&m.parent&&!mn(m.parent.valueDeclaration,b=>r===b)&&(r=m.parent.valueDeclaration)}}if(!r)return;switch(r.kind){case 262:case 230:case 263:case 178:case 179:case 172:case 183:case 184:case 323:case 261:case 173:case 217:case 218:case 264:case 351:case 352:case 346:case 344:case 199:case 193:{const m=FA(r,c);if(r.kind===199)return zr(m,JS(Yn(r.typeParameter)));if(r.kind===193)return wr(m,mLe(r));const b=MA(m,Tv(r)),x=c&&(r.kind===262||r.kind===230||r.kind===263||rh(r))&&h_(Yn(r)).thisType;return x?zr(b,x):b}case 347:const _=v5(r);_&&(r=_.valueDeclaration);break;case 326:{const m=FA(r,c);return r.tags?MA(m,ln(r.tags,b=>Rm(b)?b.typeParameters:void 0)):m}}}}function tH(r){var c;const _=r.flags&32||r.flags&16?r.valueDeclaration:(c=r.declarations)==null?void 0:c.find(m=>{if(m.kind===263)return!0;if(m.kind!==259)return!1;const b=m.initializer;return!!b&&(b.kind===217||b.kind===218)});return R.assert(!!_,"Class was missing valueDeclaration -OR- non-class had no interface declarations"),FA(_)}function z1(r){if(!r.declarations)return;let c;for(const _ of r.declarations)(_.kind===263||_.kind===262||_.kind===230||rh(_)||h5(_))&&(c=MA(c,Tv(_)));return c}function rH(r){return wr(tH(r),z1(r))}function j2(r){const c=Ca(r,1);if(c.length===1){const _=c[0];if(!_.typeParameters&&_.parameters.length===1&&kf(_)){const m=ZM(_.parameters[0]);return qo(m)||hde(m)===dt}}return!1}function sM(r){if(Ca(r,1).length>0)return!0;if(r.flags&8650752){const c=Of(r);return!!c&&j2(c)}return!1}function V1(r){const c=Ky(r.symbol);return c&&mh(c)}function Gr(r,c,_){const m=G(c),b=Mn(_);return gr(Ca(r,1),x=>(b||m>=Dh(x.typeParameters))&&m<=G(x.typeParameters))}function _i(r,c,_){const m=Gr(r,c,_),b=qt(c,Bi);return $s(m,x=>Ne(x.typeParameters)?iN(x,b,Mn(_)):x)}function Kn(r){if(!r.resolvedBaseConstructorType){const c=Ky(r.symbol),_=c&&mh(c),m=V1(r);if(!m)return r.resolvedBaseConstructorType=Fe;if(!zp(r,1))return se;const b=Bs(m.expression);if(_&&m!==_&&(R.assert(!_.typeArguments),Bs(_.expression)),b.flags&2621440&&hm(b),!wg())return rt(r.symbol.valueDeclaration,v._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Xe(r.symbol)),r.resolvedBaseConstructorType=se;if(!(b.flags&1)&&b!==Rn&&!sM(b)){const x=rt(m.expression,v.Type_0_is_not_a_constructor_function_type,jt(b));if(b.flags&262144){const P=BA(b);let J=mt;if(P){const $=Ca(P,1);$[0]&&(J=Vo($[0]))}b.symbol.declarations&&ho(x,ei(b.symbol.declarations[0],v.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,Xe(b.symbol),jt(J)))}return r.resolvedBaseConstructorType=se}r.resolvedBaseConstructorType=b}return r.resolvedBaseConstructorType}function Ki(r){let c=ft;if(r.symbol.declarations)for(const _ of r.symbol.declarations){const m=f4(_);if(m)for(const b of m){const x=Bi(b);Ro(x)||(c===ft?c=[x]:c.push(x))}}return c}function as(r,c){rt(r,v.Type_0_recursively_references_itself_as_a_base_type,jt(c,void 0,2))}function ma(r){if(!r.baseTypesResolved){if(zp(r,7)&&(r.objectFlags&8?r.resolvedBaseTypes=[oc(r)]:r.symbol.flags&96?(r.symbol.flags&32&&Nf(r),r.symbol.flags&64&&dm(r)):R.fail("type must be class or interface"),!wg()&&r.symbol.declarations))for(const c of r.symbol.declarations)(c.kind===262||c.kind===263)&&as(c,r);r.baseTypesResolved=!0}return r.resolvedBaseTypes}function oc(r){const c=$s(r.typeParameters,(_,m)=>r.elementFlags[m]&8?A_(_,Se):_);return mf(Ti(c||ft),r.readonly)}function Nf(r){r.resolvedBaseTypes=AJ;const c=Zf(Kn(r));if(!(c.flags&2621441))return r.resolvedBaseTypes=ft;const _=V1(r);let m;const b=c.symbol?yc(c.symbol):void 0;if(c.symbol&&c.symbol.flags&32&&by(b))m=C9e(_,c.symbol);else if(c.flags&1)m=c;else{const P=_i(c,_.typeArguments,_);if(!P.length)return rt(_.expression,v.No_base_constructor_has_the_specified_number_of_type_arguments),r.resolvedBaseTypes=ft;m=Vo(P[0])}if(Ro(m))return r.resolvedBaseTypes=ft;const x=gm(m);if(!Vd(x)){const P=hpe(void 0,m),J=ca(P,v.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,jt(x));return Do.add(Hy(pn(_.expression),_.expression,J)),r.resolvedBaseTypes=ft}return r===x||OE(x,r)?(rt(r.symbol.valueDeclaration,v.Type_0_recursively_references_itself_as_a_base_type,jt(r,void 0,2)),r.resolvedBaseTypes=ft):(r.resolvedBaseTypes===AJ&&(r.members=void 0),r.resolvedBaseTypes=[x])}function by(r){const c=r.outerTypeParameters;if(c){const _=c.length-1,m=cc(r);return c[_].symbol!==m[_].symbol}return!0}function Vd(r){if(r.flags&262144){const c=Of(r);if(c)return Vd(c)}return!!(r.flags&67633153&&!Vp(r)||r.flags&2097152&&ot(r.types,Vd))}function dm(r){if(r.resolvedBaseTypes=r.resolvedBaseTypes||ft,r.symbol.declarations){for(const c of r.symbol.declarations)if(c.kind===263&&IP(c))for(const _ of IP(c)){const m=gm(Bi(_));Ro(m)||(Vd(m)?r!==m&&!OE(m,r)?r.resolvedBaseTypes===ft?r.resolvedBaseTypes=[m]:r.resolvedBaseTypes.push(m):as(c,r):rt(_,v.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members))}}}function C0(r){if(!r.declarations)return!0;for(const c of r.declarations)if(c.kind===263){if(c.flags&128)return!1;const _=IP(c);if(_){for(const m of _)if(kl(m.expression)){const b=rl(m.expression,788968,!0);if(!b||!(b.flags&64)||h_(b).thisType)return!1}}}return!0}function h_(r){let c=ms(r);const _=c;if(!c.declaredType){const m=r.flags&32?1:2,b=Ame(r,r.valueDeclaration&&nSt(r.valueDeclaration));b&&(r=b,c=b.links);const x=_.declaredType=c.declaredType=$u(m,r),P=tH(r),J=z1(r);(P||J||m===1||!C0(r))&&(x.objectFlags|=4,x.typeParameters=wr(P,J),x.outerTypeParameters=P,x.localTypeParameters=J,x.instantiations=new Map,x.instantiations.set(wd(x.typeParameters),x),x.target=x,x.resolvedTypeArguments=x.typeParameters,x.thisType=Sd(r),x.thisType.isThisType=!0,x.thisType.constraint=x)}return c.declaredType}function Zk(r){var c;const _=ms(r);if(!_.declaredType){if(!zp(r,2))return se;const m=R.checkDefined((c=r.declarations)==null?void 0:c.find(h5),"Type alias symbol with no valid declaration found"),b=Id(m)?m.typeExpression:m.type;let x=b?Bi(b):se;if(wg()){const P=z1(r);P&&(_.typeParameters=P,_.instantiations=new Map,_.instantiations.set(wd(P),x))}else x=se,m.kind===346?rt(m.typeExpression.type,v.Type_alias_0_circularly_references_itself,Xe(r)):rt(bf(m)&&m.name||m,v.Type_alias_0_circularly_references_itself,Xe(r));_.declaredType=x}return _.declaredType}function Kk(r){return r.flags&1056&&r.symbol.flags&8?yc(E_(r.symbol)):r}function zOe(r){const c=ms(r);if(!c.declaredType){const _=[];if(r.declarations){for(const b of r.declarations)if(b.kind===265){for(const x of b.members)if(LE(x)){const P=Yn(x),J=FG(x),$=$E(J!==void 0?U1t(J,vo(r),P):VOe(P));ms(P).declaredType=$,_.push(Kf($))}}}const m=_.length?Ti(_,1,r,void 0):VOe(r);m.flags&1048576&&(m.flags|=1024,m.symbol=r),c.declaredType=m}return c.declaredType}function VOe(r){const c=hy(32,r),_=hy(32,r);return c.regularType=c,c.freshType=_,_.regularType=c,_.freshType=_,c}function $Oe(r){const c=ms(r);if(!c.declaredType){const _=zOe(E_(r));c.declaredType||(c.declaredType=_)}return c.declaredType}function JS(r){const c=ms(r);return c.declaredType||(c.declaredType=Sd(r))}function wyt(r){const c=ms(r);return c.declaredType||(c.declaredType=yc(ef(r)))}function yc(r){return qOe(r)||se}function qOe(r){if(r.flags&96)return h_(r);if(r.flags&524288)return Zk(r);if(r.flags&262144)return JS(r);if(r.flags&384)return zOe(r);if(r.flags&8)return $Oe(r);if(r.flags&2097152)return wyt(r)}function aM(r){switch(r.kind){case 133:case 159:case 154:case 150:case 162:case 136:case 155:case 151:case 116:case 157:case 146:case 200:return!0;case 187:return aM(r.elementType);case 182:return!r.typeArguments||r.typeArguments.every(aM)}return!1}function Eyt(r){const c=B6(r);return!c||aM(c)}function WOe(r){const c=Yu(r);return c?aM(c):!Cv(r)}function Ayt(r){const c=Am(r),_=Tv(r);return(r.kind===175||!!c&&aM(c))&&r.parameters.every(WOe)&&_.every(Eyt)}function Pyt(r){if(r.declarations&&r.declarations.length===1){const c=r.declarations[0];if(c)switch(c.kind){case 171:case 170:return WOe(c);case 173:case 172:case 175:case 176:case 177:return Ayt(c)}}return!1}function HOe(r,c,_){const m=za();for(const b of r)m.set(b.escapedName,_&&Pyt(b)?b:tde(b,c));return m}function GOe(r,c){for(const _ of c){if(XOe(_))continue;const m=r.get(_.escapedName);(!m||m.valueDeclaration&&Bn(m.valueDeclaration)&&!zd(m)&&!dTe(m.valueDeclaration))&&(r.set(_.escapedName,_),r.set(_.escapedName,_))}}function XOe(r){return!!r.valueDeclaration&&s_(r.valueDeclaration)&&Aa(r.valueDeclaration)}function tpe(r){if(!r.declaredProperties){const c=r.symbol,_=$1(c);r.declaredProperties=O2(_),r.declaredCallSignatures=ft,r.declaredConstructSignatures=ft,r.declaredIndexInfos=ft,r.declaredCallSignatures=U2(_.get("__call")),r.declaredConstructSignatures=U2(_.get("__new")),r.declaredIndexInfos=T9e(c)}return r}function Eg(r){return!!(r.flags&8576)}function rpe(r){if(!Ho(r)&&!Pc(r))return!1;const c=Ho(r)?r.expression:r.argumentExpression;return kl(c)&&Eg(Ho(r)?Dg(r):jl(c))}function Z8(r){return r.charCodeAt(0)===95&&r.charCodeAt(1)===95&&r.charCodeAt(2)===64}function oM(r){const c=ia(r);return!!c&&rpe(c)}function LE(r){return!s1(r)||oM(r)}function Dyt(r){return Yj(r)&&!rpe(r)}function Qm(r){return r.flags&8192?r.escapedName:r.flags&384?$c(""+r.value):R.fail()}function Nyt(r,c,_){R.assert(!!(ml(r)&4096),"Expected a late-bound symbol."),r.flags|=_,ms(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 QOe(r,c,_,m){R.assert(!!m.symbol,"The member is expected to have a symbol.");const b=mi(m);if(!b.resolvedSymbol){b.resolvedSymbol=m.symbol;const x=Bn(m)?m.left:m.name,P=Pc(x)?jl(x.argumentExpression):Dg(x);if(Eg(P)){const J=Qm(P),$=m.symbol.flags;let re=_.get(J);re||_.set(J,re=No(0,J,4096));const oe=c&&c.get(J);if(re.flags&Df($)||oe){const Ee=oe?wr(oe.declarations,re.declarations):re.declarations,Le=!(P.flags&8192)&&xs(J)||ac(x);te(Ee,We=>rt(ia(We)||We,v.Property_0_was_also_declared_here,Le)),rt(x||m,v.Duplicate_property_0,Le),re=No(0,J,4096)}return re.links.nameType=P,Nyt(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 npe(r,c){const _=ms(r);if(!_[c]){const m=c==="resolvedExports",b=m?r.flags&1536?ob(r).exports:r.exports:r.members;_[c]=b||Z;const x=za();for(const J of r.declarations||ft){const $=aTe(J);if($)for(const re of $)m===su(re)&&oM(re)&&QOe(r,b,x,re)}const P=r.assignmentDeclarationMembers;if(P){const J=oo(P.values());for(const $ of J){const re=dl($),oe=re===3||Bn($)&&ZH($,re)||re===9||re===6;m===!oe&&oM($)&&QOe(r,b,x,$)}}_[c]=xE(b,x)||Z}return _[c]}function $1(r){return r.flags&6256?npe(r,"resolvedMembers"):r.members||Z}function nH(r){if(r.flags&106500&&r.escapedName==="__computed"){const c=ms(r);if(!c.lateSymbol&&Ne(r.declarations,oM)){const _=Fo(r.parent);Ne(r.declarations,su)?Jp(_):$1(_)}return c.lateSymbol||(c.lateSymbol=r)}return r}function mp(r,c,_){if(vi(r)&4){const m=r.target,b=cc(r);if(G(m.typeParameters)===G(b)){const x=A0(m,wr(b,[c||m.thisType]));return _?Zf(x):x}}else if(r.flags&2097152){const m=$s(r.types,b=>mp(b,c,_));return m!==r.types?co(m):r}return _?Zf(r):r}function Iyt(r){return vi(r)&4&&G(cc(r))>xy(r)?To(cc(r)):r}function YOe(r,c,_,m){let b,x,P,J,$;WY(_,m,0,_.length)?(x=c.symbol?$1(c.symbol):za(c.declaredProperties),P=c.declaredCallSignatures,J=c.declaredConstructSignatures,$=c.declaredIndexInfos):(b=P_(_,m),x=HOe(c.declaredProperties,b,_.length===1),P=yH(c.declaredCallSignatures,b),J=yH(c.declaredConstructSignatures,b),$=TLe(c.declaredIndexInfos,b));const re=ma(c);if(re.length){c.symbol&&x===$1(c.symbol)&&(x=za(c.declaredProperties)),pf(r,x,P,J,$);const oe=Bc(m);for(const Ee of re){const Le=oe?mp(Ps(Ee,b),oe):Ee;GOe(x,zo(Le)),P=wr(P,Ca(Le,0)),J=wr(J,Ca(Le,1));const We=Le!==dt?Lf(Le):[Nh(L,dt,!1)];$=wr($,gr(We,gt=>!gpe($,gt.keyType)))}}pf(r,x,P,J,$)}function Oyt(r){YOe(r,tpe(r),ft,ft)}function Lyt(r){const c=tpe(r.target),_=wr(c.typeParameters,[c.thisType]),m=cc(r),b=m.length===_.length?m:wr(m,[r]);YOe(r,c,_,b)}function Ag(r,c,_,m,b,x,P,J){const $=new k(vr,J);return $.declaration=r,$.typeParameters=c,$.parameters=m,$.thisParameter=_,$.resolvedReturnType=b,$.resolvedTypePredicate=x,$.minArgumentCount=P,$.resolvedMinArgumentCount=void 0,$.target=void 0,$.mapper=void 0,$.compositeSignatures=void 0,$.compositeKind=void 0,$}function K8(r){const c=Ag(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 ZOe(r,c){const _=K8(r);return _.compositeSignatures=c,_.compositeKind=1048576,_.target=void 0,_.mapper=void 0,_}function Myt(r,c){if((r.flags&24)===c)return r;r.optionalCallSignatureCache||(r.optionalCallSignatureCache={});const _=c===8?"inner":"outer";return r.optionalCallSignatureCache[_]||(r.optionalCallSignatureCache[_]=Fyt(r,c))}function Fyt(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 _=K8(r);return _.flags|=c,_}function KOe(r,c){if(kf(r)){const b=r.parameters.length-1,x=bn(r.parameters[b]);if(uo(x))return[_(x,b)];if(!c&&x.flags&1048576&&ot(x.types,uo))return qt(x.types,P=>_(P,b))}return[r.parameters];function _(b,x){const P=G1(b),J=m(b),$=qt(P,(re,oe)=>{const Ee=J&&J[oe]?J[oe]:e3(r,x+oe,b),Le=b.target.elementFlags[oe],We=Le&12?32768:Le&2?16384:0,gt=No(1,Ee,We);return gt.links.type=Le&4?mf(re):re,gt});return wr(r.parameters.slice(0,x),$)}function m(b){const x=new Map;return qt(b.target.labeledElementDeclarations,P=>{const J=mG(P),$=x.get(J);return $===void 0?(x.set(J,1),J):(x.set(J,$+1),`${J}_${$}`)})}}function Ryt(r){const c=Kn(r),_=Ca(c,1),m=Ky(r.symbol),b=!!m&&gi(m,256);if(_.length===0)return[Ag(void 0,r.localTypeParameters,void 0,ft,r,void 0,0,b?4:0)];const x=V1(r),P=Mn(x),J=hM(x),$=G(J),re=[];for(const oe of _){const Ee=Dh(oe.typeParameters),Le=G(oe.typeParameters);if(P||$>=Ee&&$<=Le){const We=Le?iH(oe,W1(J,oe.typeParameters,Ee,P)):K8(oe);We.typeParameters=r.localTypeParameters,We.resolvedReturnType=r,We.flags=b?We.flags|4:We.flags&-5,re.push(We)}}return re}function ipe(r,c,_,m,b){for(const x of r)if(DM(x,c,_,m,b,_?avt:_N))return x}function Byt(r,c,_){if(c.typeParameters){if(_>0)return;for(let b=1;b<r.length;b++)if(!ipe(r[b],c,!1,!1,!1))return;return[c]}let m;for(let b=0;b<r.length;b++){const x=b===_?c:ipe(r[b],c,!0,!1,!0);if(!x)return;m=n_(m,x)}return m}function spe(r){let c,_;for(let m=0;m<r.length;m++){if(r[m].length===0)return ft;r[m].length>1&&(_=_===void 0?m:-1);for(const b of r[m])if(!c||!ipe(c,b,!1,!1,!0)){const x=Byt(r,b,m);if(x){let P=b;if(x.length>1){let J=b.thisParameter;const $=te(x,re=>re.thisParameter);if($){const re=co(lr(x,oe=>oe.thisParameter&&bn(oe.thisParameter)));J=HS($,re)}P=ZOe(b,x),P.thisParameter=J}(c||(c=[])).push(P)}}}if(!G(c)&&_!==-1){const m=r[_!==void 0?_:0];let b=m.slice();for(const x of r)if(x!==m){const P=x[0];if(R.assert(!!P,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),b=P.typeParameters&&Ne(b,J=>!!J.typeParameters&&!e9e(P.typeParameters,J.typeParameters))?void 0:qt(b,J=>Uyt(J,P)),!b)break}c=b}return c||ft}function e9e(r,c){if(G(r)!==G(c))return!1;if(!r||!c)return!0;const _=P_(c,r);for(let m=0;m<r.length;m++){const b=r[m],x=c[m];if(b!==x&&!Cy(BA(b)||mt,Ps(BA(x)||mt,_)))return!1}return!0}function jyt(r,c,_){if(!r||!c)return r||c;const m=co([bn(r),Ps(bn(c),_)]);return HS(r,m)}function Jyt(r,c,_){const m=gp(r),b=gp(c),x=m>=b?r:c,P=x===r?c:r,J=x===r?m:b,$=Oh(r)||Oh(c),re=$&&!Oh(x),oe=new Array(J+(re?1:0));for(let Ee=0;Ee<J;Ee++){let Le=KS(x,Ee);x===c&&(Le=Ps(Le,_));let We=KS(P,Ee)||mt;P===c&&(We=Ps(We,_));const gt=co([Le,We]),$t=$&&!re&&Ee===J-1,Vr=Ee>=nh(x)&&Ee>=nh(P),Zr=Ee>=m?void 0:e3(r,Ee),Tn=Ee>=b?void 0:e3(c,Ee),xr=Zr===Tn?Zr:Zr?Tn?void 0:Zr:Tn,Sr=No(1|(Vr&&!$t?16777216:0),xr||`arg${Ee}`);Sr.links.type=$t?mf(gt):gt,oe[Ee]=Sr}if(re){const Ee=No(1,"args");Ee.links.type=mf(Tm(P,J)),P===c&&(Ee.links.type=Ps(Ee.links.type,_)),oe[J]=Ee}return oe}function Uyt(r,c){const _=r.typeParameters||c.typeParameters;let m;r.typeParameters&&c.typeParameters&&(m=P_(c.typeParameters,r.typeParameters));const b=r.declaration,x=Jyt(r,c,m),P=jyt(r.thisParameter,c.thisParameter,m),J=Math.max(r.minArgumentCount,c.minArgumentCount),$=Ag(b,_,P,x,void 0,void 0,J,(r.flags|c.flags)&39);return $.compositeKind=1048576,$.compositeSignatures=wr(r.compositeKind!==2097152&&r.compositeSignatures||[r],[c]),m&&($.mapper=r.compositeKind!==2097152&&r.mapper&&r.compositeSignatures?kb(r.mapper,m):m),$}function t9e(r){const c=Lf(r[0]);if(c){const _=[];for(const m of c){const b=m.keyType;ot(r,x=>!!Pg(x,b))&&_.push(Nh(b,Ti(qt(r,x=>E0(x,b))),Ne(r,x=>Pg(x,b).isReadonly)))}return _}return ft}function zyt(r){const c=spe(qt(r.types,b=>b===Mo?[ff]:Ca(b,0))),_=spe(qt(r.types,b=>Ca(b,1))),m=t9e(r.types);pf(r,Z,c,_,m)}function cM(r,c){return r?c?co([r,c]):r:c}function r9e(r){const c=Sn(r,m=>Ca(m,1).length>0),_=qt(r,j2);if(c>0&&c===Sn(_,m=>m)){const m=_.indexOf(!0);_[m]=!1}return _}function Vyt(r,c,_,m){const b=[];for(let x=0;x<c.length;x++)x===m?b.push(r):_[x]&&b.push(Vo(Ca(c[x],1)[0]));return co(b)}function $yt(r){let c,_,m;const b=r.types,x=r9e(b),P=Sn(x,J=>J);for(let J=0;J<b.length;J++){const $=r.types[J];if(!x[J]){let re=Ca($,1);re.length&&P>0&&(re=qt(re,oe=>{const Ee=K8(oe);return Ee.resolvedReturnType=Vyt(Vo(oe),b,x,J),Ee})),_=n9e(_,re)}c=n9e(c,Ca($,0)),m=Uf(Lf($),(re,oe)=>i9e(re,oe,!1),m)}pf(r,Z,c||ft,_||ft,m||ft)}function n9e(r,c){for(const _ of c)(!r||ot(r,m=>!DM(m,_,!1,!1,!1,_N)))&&(r=zr(r,_));return r}function i9e(r,c,_){if(r)for(let m=0;m<r.length;m++){const b=r[m];if(b.keyType===c.keyType)return r[m]=Nh(b.keyType,_?Ti([b.type,c.type]):co([b.type,c.type]),_?b.isReadonly||c.isReadonly:b.isReadonly&&c.isReadonly),r}return zr(r,c)}function qyt(r){if(r.target){pf(r,Z,ft,ft,ft);const P=HOe(q1(r.target),r.mapper,!1),J=yH(Ca(r.target,0),r.mapper),$=yH(Ca(r.target,1),r.mapper),re=TLe(Lf(r.target),r.mapper);pf(r,P,J,$,re);return}const c=Fo(r.symbol);if(c.flags&2048){pf(r,Z,ft,ft,ft);const P=$1(c),J=U2(P.get("__call")),$=U2(P.get("__new")),re=T9e(c);pf(r,P,J,$,re);return}let _=Z,m;if(c.exports&&(_=Jp(c),c===_t)){const P=new Map;_.forEach(J=>{var $;!(J.flags&418)&&!(J.flags&512&&(($=J.declarations)!=null&&$.length)&&ot(J.declarations,$f))&&P.set(J.escapedName,J)}),_=P}let b;if(pf(r,_,ft,ft,ft),c.flags&32){const P=h_(c),J=Kn(P);J.flags&11272192?(_=za(L2(_)),GOe(_,zo(J))):J===dt&&(b=Nh(L,dt,!1))}const x=wpe(_);if(x?m=Epe(x):(b&&(m=zr(m,b)),c.flags&384&&(yc(c).flags&32||Ne(r.properties,P=>!!(bn(P).flags&296)))&&(m=zr(m,ie))),pf(r,_,ft,ft,m||ft),c.flags&8208&&(r.callSignatures=U2(c)),c.flags&32){const P=h_(c);let J=c.members?U2(c.members.get("__constructor")):ft;c.flags&16&&(J=Pi(J.slice(),lr(r.callSignatures,$=>rh($.declaration)?Ag($.declaration,$.typeParameters,$.thisParameter,$.parameters,P,void 0,$.minArgumentCount,$.flags&39):void 0))),J.length||(J=Ryt(P)),r.constructSignatures=J}}function Wyt(r,c,_){return Ps(r,P_([c.indexType,c.objectType],[vm(0),ym([_])]))}function Hyt(r){const c=Pg(r.source,L),_=Ph(r.mappedType),m=!(_&1),b=_&4?0:16777216,x=c?[Nh(L,JH(c.type,r.mappedType,r.constraintType),m&&c.isReadonly)]:ft,P=za();for(const J of zo(r.source)){const $=8192|(m&&Sm(J)?8:0),re=No(4|J.flags&b,J.escapedName,$);if(re.declarations=J.declarations,re.links.nameType=ms(J).nameType,re.links.propertyType=bn(J),r.constraintType.type.flags&8388608&&r.constraintType.type.objectType.flags&262144&&r.constraintType.type.indexType.flags&262144){const oe=r.constraintType.type.objectType,Ee=Wyt(r.mappedType,r.constraintType.type,oe);re.links.mappedType=Ee,re.links.constraintType=Km(oe)}else re.links.mappedType=r.mappedType,re.links.constraintType=r.constraintType;P.set(J.escapedName,re)}pf(r,P,ft,ft,x)}function lM(r){if(r.flags&4194304){const c=Zf(r.type);return N0(c)?W9e(c):Km(c)}if(r.flags&16777216){if(r.root.isDistributive){const c=r.checkType,_=lM(c);if(_!==c)return ide(r,nC(r.root.checkType,_,r.mapper))}return r}if(r.flags&1048576)return kc(r,lM,!0);if(r.flags&2097152){const c=r.types;return c.length===2&&c[0].flags&76&&c[1]===Nl?r:co($s(r.types,lM))}return r}function ape(r){return ml(r)&4096}function ope(r,c,_,m){for(const b of zo(r))m(JA(b,c));if(r.flags&1)m(L);else for(const b of Lf(r))(!_||b.keyType.flags&134217732)&&m(b.keyType)}function Gyt(r){const c=za();let _;pf(r,Z,ft,ft,ft);const m=mm(r),b=Ym(r),x=r.target||r,P=w0(x),J=!P||o9e(x),$=Ty(x),re=Zf(eN(r)),oe=Ph(r),Ee=ut?128:8576;uM(r)?ope(re,Ee,ut,Le):QS(lM(b),Le),pf(r,c,ft,ft,_||ft);function Le(gt){const $t=P?Ps(P,fN(r.mapper,m,gt)):gt;QS($t,Vr=>We(gt,Vr))}function We(gt,$t){if(Eg($t)){const Vr=Qm($t),Zr=c.get(Vr);if(Zr)Zr.links.nameType=Ti([Zr.links.nameType,$t]),Zr.links.keyType=Ti([Zr.links.keyType,gt]);else{const Tn=Eg(gt)?$a(re,Qm(gt)):void 0,xr=!!(oe&4||!(oe&8)&&Tn&&Tn.flags&16777216),Sr=!!(oe&1||!(oe&2)&&Tn&&Sm(Tn)),Jn=K&&!xr&&Tn&&Tn.flags&16777216,Pr=Tn?ape(Tn):0,Xr=No(4|(xr?16777216:0),Vr,Pr|262144|(Sr?8:0)|(Jn?524288:0));Xr.links.mappedType=r,Xr.links.nameType=$t,Xr.links.keyType=gt,Tn&&(Xr.links.syntheticOrigin=Tn,Xr.declarations=J?Tn.declarations:void 0),c.set(Vr,Xr)}}else if(sH($t)||$t.flags&33){const Vr=$t.flags&5?L:$t.flags&40?Se:$t,Zr=Ps($,fN(r.mapper,m,gt)),Tn=Nh(Vr,Zr,!!(oe&1));_=i9e(_,Tn,!0)}}}function Xyt(r){if(!r.links.type){const c=r.links.mappedType;if(!zp(r,0))return c.containsError=!0,se;const _=Ty(c.target||c),m=fN(c.mapper,mm(c),r.links.keyType),b=Ps(_,m);let x=K&&r.flags&16777216&&!Yc(b,49152)?I0(b,!0):r.links.checkFlags&524288?MH(b):b;wg()||(rt(B,v.Type_of_property_0_circularly_references_itself_in_mapped_type_1,Xe(r),jt(c)),x=se),r.links.type=x}return r.links.type}function mm(r){return r.typeParameter||(r.typeParameter=JS(Yn(r.declaration.typeParameter)))}function Ym(r){return r.constraintType||(r.constraintType=If(mm(r))||se)}function w0(r){return r.declaration.nameType?r.nameType||(r.nameType=Ps(Bi(r.declaration.nameType),r.mapper)):void 0}function Ty(r){return r.templateType||(r.templateType=r.declaration.type?Ps(Xa(Bi(r.declaration.type),!0,!!(Ph(r)&4)),r.mapper):se)}function s9e(r){return B6(r.declaration.typeParameter)}function uM(r){const c=s9e(r);return c.kind===197&&c.operator===143}function eN(r){if(!r.modifiersType)if(uM(r))r.modifiersType=Ps(Bi(s9e(r).type),r.mapper);else{const c=Gpe(r.declaration),_=Ym(c),m=_&&_.flags&262144?If(_):_;r.modifiersType=m&&m.flags&4194304?Ps(m.type,r.mapper):mt}return r.modifiersType}function Ph(r){const c=r.declaration;return(c.readonlyToken?c.readonlyToken.kind===41?2:1:0)|(c.questionToken?c.questionToken.kind===41?8:4:0)}function a9e(r){const c=Ph(r);return c&8?-1:c&4?1:0}function cpe(r){const c=a9e(r),_=eN(r);return c||(Vp(_)?a9e(_):0)}function Qyt(r){return!!(vi(r)&32&&Ph(r)&4)}function Vp(r){if(vi(r)&32){const c=Ym(r);if(bb(c))return!0;const _=w0(r);if(_&&bb(Ps(_,H2(mm(r),c))))return!0}return!1}function o9e(r){const c=w0(r);return!!c&&lo(c,mm(r))}function hm(r){return r.members||(r.flags&524288?r.objectFlags&4?Lyt(r):r.objectFlags&3?Oyt(r):r.objectFlags&1024?Hyt(r):r.objectFlags&16?qyt(r):r.objectFlags&32?Gyt(r):R.fail("Unhandled object type "+R.formatObjectFlags(r.objectFlags)):r.flags&1048576?zyt(r):r.flags&2097152?$yt(r):R.fail("Unhandled type "+R.formatTypeFlags(r.flags))),r}function q1(r){return r.flags&524288?hm(r).properties:ft}function J2(r,c){if(r.flags&524288){const m=hm(r).members.get(c);if(m&&M1(m))return m}}function fM(r){if(!r.resolvedProperties){const c=za();for(const _ of r.types){for(const m of zo(_))if(!c.has(m.escapedName)){const b=dpe(r,m.escapedName);b&&c.set(m.escapedName,b)}if(r.flags&1048576&&Lf(_).length===0)break}r.resolvedProperties=O2(c)}return r.resolvedProperties}function zo(r){return r=RA(r),r.flags&3145728?fM(r):q1(r)}function Yyt(r,c){r=RA(r),r.flags&3670016&&hm(r).members.forEach((_,m)=>{Wk(_,m)&&c(_,m)})}function Zyt(r,c){return c.properties.some(m=>{const b=m.name&&(Th(m.name)?X_(Z5(m.name)):P0(m.name)),x=b&&Eg(b)?Qm(b):void 0,P=x===void 0?void 0:Ll(r,x);return!!P&&mN(P)&&!lo(cC(m),P)})}function Kyt(r){const c=Ti(r);if(!(c.flags&1048576))return mhe(c);const _=za();for(const m of r)for(const{escapedName:b}of mhe(m))if(!_.has(b)){const x=_9e(c,b);x&&_.set(b,x)}return oo(_.values())}function US(r){return r.flags&262144?If(r):r.flags&8388608?e0t(r):r.flags&16777216?u9e(r):Of(r)}function If(r){return tN(r)?BA(r):void 0}function ME(r){var c;return!!(r&&(r.flags&262144&&Ne((c=r.symbol)==null?void 0:c.declarations,_=>gi(_,2048))||r.flags&1048576&&Ne(r.types,ME)||r.flags&8388608&&ME(r.objectType)||r.flags&16777216&&ME(u9e(r))||r.flags&33554432&&ME(r.baseType)||N0(r)&&ir(G1(r),(_,m)=>!!(r.target.elementFlags[m]&8)&&ME(_))>=0))}function e0t(r){return tN(r)?t0t(r):void 0}function lpe(r){const c=ky(r,!1);return c!==r?c:US(r)}function t0t(r){if(ppe(r)||Vp(r.objectType))return _H(r.objectType,r.indexType);const c=lpe(r.indexType);if(c&&c!==r.indexType){const m=Q1(r.objectType,c,r.accessFlags);if(m)return m}const _=lpe(r.objectType);if(_&&_!==r.objectType)return Q1(_,r.indexType,r.accessFlags)}function upe(r){if(!r.resolvedDefaultConstraint){const c=M1t(r),_=Sb(r);r.resolvedDefaultConstraint=qo(c)?_:qo(_)?c:Ti([c,_])}return r.resolvedDefaultConstraint}function c9e(r){if(r.resolvedConstraintOfDistributive!==void 0)return r.resolvedConstraintOfDistributive||void 0;if(r.root.isDistributive&&r.restrictiveInstantiation!==r){const c=ky(r.checkType,!1),_=c===r.checkType?US(c):c;if(_&&_!==r.checkType){const m=ide(r,nC(r.root.checkType,_,r.mapper));if(!(m.flags&131072))return r.resolvedConstraintOfDistributive=m,m}}r.resolvedConstraintOfDistributive=!1}function l9e(r){return c9e(r)||upe(r)}function u9e(r){return tN(r)?l9e(r):void 0}function r0t(r,c){let _,m=!1;for(const b of r)if(b.flags&465829888){let x=US(b);for(;x&&x.flags&21233664;)x=US(x);x&&(_=zr(_,x),c&&(_=zr(_,b)))}else(b.flags&469892092||Ey(b))&&(m=!0);if(_&&(c||m)){if(m)for(const b of r)(b.flags&469892092||Ey(b))&&(_=zr(_,b));return wM(co(_),!1)}}function Of(r){if(r.flags&464781312||N0(r)){const c=fpe(r);return c!==Gc&&c!==Af?c:void 0}return r.flags&4194304?Ys:void 0}function Sy(r){return Of(r)||r}function tN(r){return fpe(r)!==Af}function fpe(r){if(r.resolvedBaseConstraint)return r.resolvedBaseConstraint;const c=[];return r.resolvedBaseConstraint=mp(_(r),Iyt(r));function _(x){if(!x.immediateBaseConstraint){if(!zp(x,4))return Af;let P;const J=PM(x);if((c.length<10||c.length<50&&!kt(c,J))&&(c.push(J),P=b(ky(x,!1)),c.pop()),!wg()){if(x.flags&262144){const $=Ape(x);if($){const re=rt($,v.Type_parameter_0_has_a_circular_constraint,jt(x));B&&!FT($,B)&&!FT(B,$)&&ho(re,ei(B,v.Circularity_originates_in_type_at_this_location))}}P=Af}x.immediateBaseConstraint=P||Gc}return x.immediateBaseConstraint}function m(x){const P=_(x);return P!==Gc&&P!==Af?P:void 0}function b(x){if(x.flags&262144){const P=BA(x);return x.isThisType||!P?P:m(P)}if(x.flags&3145728){const P=x.types,J=[];let $=!1;for(const re of P){const oe=m(re);oe?(oe!==re&&($=!0),J.push(oe)):$=!0}return $?x.flags&1048576&&J.length===P.length?Ti(J):x.flags&2097152&&J.length?co(J):void 0:x}if(x.flags&4194304)return Ys;if(x.flags&134217728){const P=x.types,J=lr(P,m);return J.length===P.length?$S(x.texts,J):L}if(x.flags&268435456){const P=m(x.type);return P&&P!==x.type?tC(x.symbol,P):L}if(x.flags&8388608){if(ppe(x))return m(_H(x.objectType,x.indexType));const P=m(x.objectType),J=m(x.indexType),$=P&&J&&Q1(P,J,x.accessFlags);return $&&m($)}if(x.flags&16777216){const P=l9e(x);return P&&m(P)}if(x.flags&33554432)return m(Npe(x));if(N0(x)){const P=qt(G1(x),(J,$)=>{const re=x.target.elementFlags[$]&8&&m(J)||J;return re&&qd(re,oe=>X2(oe)&&!N0(oe))?re:J});return ym(P,x.target.elementFlags,x.target.readonly,x.target.labeledElementDeclarations)}return x}}function n0t(r){return r.resolvedApparentType||(r.resolvedApparentType=mp(r,r,!0))}function _pe(r){if(r.default)r.default===Zl&&(r.default=Af);else if(r.target){const c=_pe(r.target);r.default=c?Ps(c,r.mapper):Gc}else{r.default=Zl;const c=r.symbol&&te(r.symbol.declarations,m=>qc(m)&&m.default),_=c?Bi(c):Gc;r.default===Zl&&(r.default=_)}return r.default}function zS(r){const c=_pe(r);return c!==Gc&&c!==Af?c:void 0}function i0t(r){return _pe(r)!==Af}function f9e(r){return!!(r.symbol&&te(r.symbol.declarations,c=>qc(c)&&c.default))}function s0t(r){return r.resolvedApparentType||(r.resolvedApparentType=a0t(r))}function a0t(r){const c=TH(r);if(c&&!r.declaration.nameType){const _=If(c);if(_&&qd(_,X2))return Ps(r,nC(c,_,r.mapper))}return r}function ppe(r){let c;return!!(r.flags&8388608&&vi(c=r.objectType)&32&&!Vp(c)&&bb(r.indexType)&&!(Ph(c)&8)&&!c.declaration.nameType)}function Zf(r){const c=r.flags&465829888?Of(r)||mt:r;return vi(c)&32?s0t(c):c.flags&2097152?n0t(c):c.flags&402653316?lp:c.flags&296?x_:c.flags&2112?U0t():c.flags&528?De:c.flags&12288?B9e():c.flags&67108864?ga:c.flags&4194304?Ys:c.flags&2&&!K?ga:c}function RA(r){return gm(Zf(gm(r)))}function _9e(r,c,_){var m,b,x;let P,J,$;const re=r.flags&1048576;let oe,Ee=4,Le=re?0:8,We=!1;for(const Xr of r.types){const un=Zf(Xr);if(!(Ro(un)||un.flags&131072)){const yi=$a(un,c,_),Mi=yi?pd(yi):0;if(yi){if(yi.flags&106500&&(oe??(oe=re?0:16777216),re?oe|=yi.flags&16777216:oe&=yi.flags),!P)P=yi;else if(yi!==P)if((YE(yi)||yi)===(YE(P)||P)&&mde(P,yi,(La,lu)=>La===lu?-1:0)===-1)We=!!P.parent&&!!G(z1(P.parent));else{J||(J=new Map,J.set(vo(P),P));const La=vo(yi);J.has(La)||J.set(La,yi)}re&&Sm(yi)?Le|=8:!re&&!Sm(yi)&&(Le&=-9),Le|=(Mi&24?0:256)|(Mi&16?512:0)|(Mi&8?1024:0)|(Mi&32?2048:0),lme(yi)||(Ee=2)}else if(re){const Ks=!Z8(c)&&RE(un,c);Ks?(Le|=32|(Ks.isReadonly?8:0),$=zr($,uo(un)?NM(un)||Fe:Ks.type)):wb(un)&&!(vi(un)&2097152)?(Le|=32,$=zr($,Fe)):Le|=16}}}if(!P||re&&(J||Le&48)&&Le&1536&&!(J&&o0t(J.values())))return;if(!J&&!(Le&16)&&!$)if(We){const Xr=(m=wi(P,Yh))==null?void 0:m.links,un=HS(P,Xr==null?void 0:Xr.type);return un.parent=(x=(b=P.valueDeclaration)==null?void 0:b.symbol)==null?void 0:x.parent,un.links.containingType=r,un.links.mapper=Xr==null?void 0:Xr.mapper,un}else return P;const gt=J?oo(J.values()):[P];let $t,Vr,Zr;const Tn=[];let xr,Sr,Jn=!1;for(const Xr of gt){Sr?Xr.valueDeclaration&&Xr.valueDeclaration!==Sr&&(Jn=!0):Sr=Xr.valueDeclaration,$t=Pi($t,Xr.declarations);const un=bn(Xr);Vr||(Vr=un,Zr=ms(Xr).nameType);const yi=Y8(Xr);xr||yi!==un?xr=zr(xr||Tn.slice(),yi):un!==Vr&&(Le|=64),(mN(un)||zE(un))&&(Le|=128),un.flags&131072&&un!==Hc&&(Le|=131072),Tn.push(un)}Pi(Tn,$);const Pr=No(4|(oe??0),c,Ee|Le);return Pr.links.containingType=r,!Jn&&Sr&&(Pr.valueDeclaration=Sr,Sr.symbol.parent&&(Pr.parent=Sr.symbol.parent)),Pr.declarations=$t,Pr.links.nameType=Zr,Tn.length>2?(Pr.links.checkFlags|=65536,Pr.links.deferralParent=r,Pr.links.deferralConstituents=Tn,Pr.links.deferralWriteConstituents=xr):(Pr.links.type=re?Ti(Tn):co(Tn),xr&&(Pr.links.writeType=re?Ti(xr):co(xr))),Pr}function p9e(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=_9e(r,c,_),x&&(_?r.propertyCacheWithoutObjectFunctionPropertyAugment||(r.propertyCacheWithoutObjectFunctionPropertyAugment=za()):r.propertyCache||(r.propertyCache=za())).set(c,x)),x}function o0t(r){let c;for(const _ of r){if(!_.declarations)return;if(!c){c=new Set(_.declarations);continue}if(c.forEach(m=>{kt(_.declarations,m)||c.delete(m)}),c.size===0)return}return c}function dpe(r,c,_){const m=p9e(r,c,_);return m&&!(ml(m)&16)?m:void 0}function gm(r){return r.flags&1048576&&r.objectFlags&16777216?r.resolvedReducedType||(r.resolvedReducedType=c0t(r)):r.flags&2097152?(r.objectFlags&16777216||(r.objectFlags|=16777216|(Ne(fM(r),l0t)?33554432:0)),r.objectFlags&33554432?Vt:r):r}function c0t(r){const c=$s(r.types,gm);if(c===r.types)return r;const _=Ti(c);return _.flags&1048576&&(_.resolvedReducedType=_),_}function l0t(r){return d9e(r)||m9e(r)}function d9e(r){return!(r.flags&16777216)&&(ml(r)&131264)===192&&!!(bn(r).flags&131072)}function m9e(r){return!r.valueDeclaration&&!!(ml(r)&1024)}function mpe(r){return!!(r.flags&1048576&&r.objectFlags&16777216&&Ne(r.types,mpe)||r.flags&2097152&&u0t(r))}function u0t(r){const c=r.uniqueLiteralFilledInstantiation||(r.uniqueLiteralFilledInstantiation=Ps(r,rc));return gm(c)!==c}function hpe(r,c){if(c.flags&2097152&&vi(c)&33554432){const _=Ve(fM(c),d9e);if(_)return ca(r,v.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,jt(c,void 0,536870912),Xe(_));const m=Ve(fM(c),m9e);if(m)return ca(r,v.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,jt(c,void 0,536870912),Xe(m))}return r}function $a(r,c,_,m){if(r=RA(r),r.flags&524288){const b=hm(r),x=b.members.get(c);if(x&&M1(x,m))return x;if(_)return;const P=b===Wl?Mo:b.callSignatures.length?hc:b.constructSignatures.length?Ku:void 0;if(P){const J=J2(P,c);if(J)return J}return J2(cl,c)}if(r.flags&3145728)return dpe(r,c,_)}function _M(r,c){if(r.flags&3670016){const _=hm(r);return c===0?_.callSignatures:_.constructSignatures}return ft}function Ca(r,c){return _M(RA(r),c)}function gpe(r,c){return Ve(r,_=>_.keyType===c)}function ype(r,c){let _,m,b;for(const x of r)x.keyType===L?_=x:FE(c,x.keyType)&&(m?(b||(b=[m])).push(x):m=x);return b?Nh(mt,co(qt(b,x=>x.type)),Uf(b,(x,P)=>x&&P.isReadonly,!0)):m||(_&&FE(c,L)?_:void 0)}function FE(r,c){return lo(r,c)||c===L&&lo(r,Se)||c===Se&&(r===Es||!!(r.flags&128)&&ey(r.value))}function vpe(r){return r.flags&3670016?hm(r).indexInfos:ft}function Lf(r){return vpe(RA(r))}function Pg(r,c){return gpe(Lf(r),c)}function E0(r,c){var _;return(_=Pg(r,c))==null?void 0:_.type}function bpe(r,c){return Lf(r).filter(_=>FE(c,_.keyType))}function pM(r,c){return ype(Lf(r),c)}function RE(r,c){return pM(r,Z8(c)?Qt:X_(xs(c)))}function h9e(r){var c;let _;for(const m of Tv(r))_=n_(_,JS(m.symbol));return _!=null&&_.length?_:au(r)?(c=nN(r))==null?void 0:c.typeParameters:void 0}function Tpe(r){const c=[];return r.forEach((_,m)=>{Ah(m)||c.push(_)}),c}function Spe(r,c){if(Lu(r))return;const _=Eu(et,'"'+r+'"',512);return _&&c?Fo(_):_}function rN(r){if(cw(r)||Q5(r)||Y5(r))return!0;if(r.initializer){const _=Zm(r.parent),m=r.parent.parameters.indexOf(r);return R.assert(m>=0),m>=nh(_,3)}const c=Ox(r.parent);return c?!r.type&&!r.dotDotDotToken&&r.parent.parameters.indexOf(r)>=c.arguments.length:!1}function f0t(r){return Ia(r)&&!rg(r)&&r.questionToken}function dM(r,c,_,m){return{kind:r,parameterName:c,parameterIndex:_,type:m}}function Dh(r){let c=0;if(r)for(let _=0;_<r.length;_++)f9e(r[_])||(c=_+1);return c}function W1(r,c,_,m){const b=G(c);if(!b)return[];const x=G(r);if(m||x>=_&&x<=b){const P=r?r.slice():[];for(let $=x;$<b;$++)P[$]=se;const J=Fde(m);for(let $=x;$<b;$++){let re=zS(c[$]);m&&re&&(Cy(re,mt)||Cy(re,ga))&&(re=dt),P[$]=re?Ps(re,P_(c,P)):J}return P.length=c.length,P}return r&&r.slice()}function Zm(r){const c=mi(r);if(!c.resolvedSignature){const _=[];let m=0,b=0,x,P=!1;const J=Ox(r),$=c4(r);!J&&Mn(r)&&DTe(r)&&!t2e(r)&&!bv(r)&&(m|=32);for(let We=$?1:0;We<r.parameters.length;We++){const gt=r.parameters[We];let $t=gt.symbol;const Vr=Fm(gt)?gt.typeExpression&&gt.typeExpression.type:gt.type;$t&&$t.flags&4&&!Fa(gt.name)&&($t=ll(gt,$t.escapedName,111551,void 0,void 0,!1)),We===0&&$t.escapedName==="this"?(P=!0,x=gt.symbol):_.push($t),Vr&&Vr.kind===200&&(m|=2),Q5(gt)||gt.initializer||gt.questionToken||Hg(gt)||J&&_.length>J.arguments.length&&!Vr||Y5(gt)||(b=_.length)}if((r.kind===176||r.kind===177)&&LE(r)&&(!P||!x)){const We=r.kind===176?177:176,gt=_l(Yn(r),We);gt&&(x=Rs(gt))}if(Mn(r)){const We=QB(r);We&&We.typeExpression&&(x=HS(No(1,"this"),Bi(We.typeExpression)))}const oe=o2(r)?lw(r):r,Ee=oe&&El(oe)?h_(Fo(oe.parent.symbol)):void 0,Le=Ee?Ee.localTypeParameters:h9e(r);(ree(r)||Mn(r)&&_0t(r,_))&&(m|=1),(yD(r)&&gi(r,256)||El(r)&&gi(r.parent,256))&&(m|=4),c.resolvedSignature=Ag(r,Le,x,_,void 0,void 0,b,m)}return c.resolvedSignature}function _0t(r,c){if(o2(r)||!xpe(r))return!1;const _=Bc(r.parameters),m=_?R6(_):CT(r).filter(Fm),b=$e(m,P=>P.typeExpression&&TU(P.typeExpression.type)?P.typeExpression.type:void 0),x=No(3,"args",32768);return b?x.links.type=mf(Bi(b.type)):(x.links.checkFlags|=65536,x.links.deferralParent=Vt,x.links.deferralConstituents=[Zi],x.links.deferralWriteConstituents=[Zi]),b&&c.pop(),c.push(x),!0}function nN(r){if(!(Mn(r)&&Lc(r)))return;const c=kT(r);return(c==null?void 0:c.typeExpression)&&oC(Bi(c.typeExpression))}function p0t(r,c){const _=nN(r);if(!_)return;const m=r.parameters.indexOf(c);return c.dotDotDotToken?AN(_,m):Tm(_,m)}function d0t(r){const c=nN(r);return c&&Vo(c)}function xpe(r){const c=mi(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 80:return m.escapedText===Lt.escapedName&&zN(m)===Lt;case 171:case 173:case 176:case 177:return m.name.kind===166&&_(m.name);case 210:case 211:return _(m.expression);case 302:return _(m.initializer);default:return!Qee(m)&&!Gg(m)&&!!_a(m,_)}}}function U2(r){if(!r||!r.declarations)return ft;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 P of x.tags)if(PD(P)){const J=P.typeExpression;J.type===void 0&&!El(m)&&Cb(J,dt),c.push(Zm(J)),b=!0}}if(b)continue}c.push(!C4(m)&&!Zd(m)&&nN(m)||Zm(m))}}return c}function g9e(r){const c=cu(r,r);if(c){const _=dp(c);if(_)return bn(_)}return dt}function z2(r){if(r.thisParameter)return bn(r.thisParameter)}function Cd(r){if(!r.resolvedTypePredicate){if(r.target){const c=Cd(r.target);r.resolvedTypePredicate=c?Q1t(c,r.mapper):br}else if(r.compositeSignatures)r.resolvedTypePredicate=l1t(r.compositeSignatures,r.compositeKind)||br;else{const c=r.declaration&&Am(r.declaration);let _;if(!c){const m=nN(r.declaration);m&&r!==m&&(_=Cd(m))}r.resolvedTypePredicate=c&&dU(c)?m0t(c,r):_||br}R.assert(!!r.resolvedTypePredicate)}return r.resolvedTypePredicate===br?void 0:r.resolvedTypePredicate}function m0t(r,c){const _=r.parameterName,m=r.type&&Bi(r.type);return _.kind===196?dM(r.assertsModifier?2:0,void 0,void 0,m):dM(r.assertsModifier?3:1,_.escapedText,ir(c.parameters,b=>b.escapedName===_.escapedText),m)}function y9e(r,c,_){return c!==2097152?Ti(r,_):co(r)}function Vo(r){if(!r.resolvedReturnType){if(!zp(r,3))return se;let c=r.target?Ps(Vo(r.target),r.mapper):r.compositeSignatures?Ps(y9e(qt(r.compositeSignatures,Vo),r.compositeKind,2),r.mapper):BE(r.declaration)||(pl(r.declaration.body)?dt:hG(r.declaration));if(r.flags&8?c=QLe(c):r.flags&16&&(c=I0(c)),!wg()){if(r.declaration){const _=Am(r.declaration);if(_)rt(_,v.Return_type_annotation_circularly_references_itself);else if(we){const m=r.declaration,b=ia(m);b?rt(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,ac(b)):rt(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=dt}r.resolvedReturnType=c}return r.resolvedReturnType}function BE(r){if(r.kind===175)return h_(Fo(r.parent.symbol));const c=Am(r);if(o2(r)){const _=DP(r);if(_&&El(_.parent)&&!c)return h_(Fo(_.parent.parent.symbol))}if(c4(r))return Bi(r.parameters[0].type);if(c)return Bi(c);if(r.kind===176&&LE(r)){const _=Mn(r)&&Qs(r);if(_)return _;const m=_l(Yn(r),177),b=wn(m);if(b)return b}return d0t(r)}function kpe(r){return!r.resolvedReturnType&&S0(r,3)>=0}function h0t(r){return v9e(r)||dt}function v9e(r){if(kf(r)){const c=bn(r.parameters[r.parameters.length-1]),_=uo(c)?NM(c):c;return _&&E0(_,Se)}}function iN(r,c,_,m){const b=Cpe(r,W1(c,r.typeParameters,Dh(r.typeParameters),_));if(m){const x=EFe(Vo(b));if(x){const P=K8(x);P.typeParameters=m;const J=K8(b);return J.resolvedReturnType=VS(P),J}}return b}function Cpe(r,c){const _=r.instantiations||(r.instantiations=new Map),m=wd(c);let b=_.get(m);return b||_.set(m,b=iH(r,c)),b}function iH(r,c){return qE(r,g0t(r,c),!0)}function g0t(r,c){return P_(r.typeParameters,c)}function sN(r){return r.typeParameters?r.erasedSignatureCache||(r.erasedSignatureCache=y0t(r)):r}function y0t(r){return qE(r,SLe(r.typeParameters),!0)}function v0t(r){return r.typeParameters?r.canonicalSignatureCache||(r.canonicalSignatureCache=b0t(r)):r}function b0t(r){return iN(r,qt(r.typeParameters,c=>c.target&&!If(c.target)?c.target:c),Mn(r.declaration))}function T0t(r){const c=r.typeParameters;if(c){if(r.baseSignatureCache)return r.baseSignatureCache;const _=SLe(c),m=P_(c,qt(c,x=>If(x)||mt));let b=qt(c,x=>Ps(x,m)||mt);for(let x=0;x<c.length-1;x++)b=D0(b,m);return b=D0(b,_),r.baseSignatureCache=qE(r,P_(c,b),!0)}return r}function VS(r){var c;if(!r.isolatedSignatureType){const _=(c=r.declaration)==null?void 0:c.kind,m=_===void 0||_===175||_===179||_===184,b=$u(16);b.members=Z,b.properties=ft,b.callSignatures=m?ft:[r],b.constructSignatures=m?[r]:ft,b.indexInfos=ft,r.isolatedSignatureType=b}return r.isolatedSignatureType}function b9e(r){return r.members?wpe(r.members):void 0}function wpe(r){return r.get("__index")}function Nh(r,c,_,m){return{keyType:r,type:c,isReadonly:_,declaration:m}}function T9e(r){const c=b9e(r);return c?Epe(c):ft}function Epe(r){if(r.declarations){const c=[];for(const _ of r.declarations)if(_.parameters.length===1){const m=_.parameters[0];m.type&&QS(Bi(m.type),b=>{sH(b)&&!gpe(c,b)&&c.push(Nh(b,_.type?Bi(_.type):dt,ip(_,64),_))})}return c}return ft}function sH(r){return!!(r.flags&4108)||zE(r)||!!(r.flags&2097152)&&!UA(r)&&Ne(r.types,sH)}function Ape(r){return lr(gr(r.symbol&&r.symbol.declarations,qc),B6)[0]}function S9e(r,c){var _;let m;if((_=r.symbol)!=null&&_.declarations){for(const b of r.symbol.declarations)if(b.parent.kind===194){const[x=b.parent,P]=ITe(b.parent.parent);if(P.kind===182&&!c){const J=P,$=Hme(J);if($){const re=J.typeArguments.indexOf(x);if(re<$.length){const oe=If($[re]);if(oe){const Ee=ede($,$.map((We,gt)=>()=>Axt(J,$,gt))),Le=Ps(oe,Ee);Le!==r&&(m=zr(m,Le))}}}}else if(P.kind===168&&P.dotDotDotToken||P.kind===190||P.kind===201&&P.dotDotDotToken)m=zr(m,mf(mt));else if(P.kind===203)m=zr(m,L);else if(P.kind===167&&P.parent.kind===199)m=zr(m,Ys);else if(P.kind===199&&P.type&&Tc(P.type)===b.parent&&P.parent.kind===193&&P.parent.extendsType===P&&P.parent.checkType.kind===199&&P.parent.checkType.type){const J=P.parent.checkType,$=Bi(J.type);m=zr(m,Ps($,H2(JS(Yn(J.typeParameter)),J.typeParameter.constraint?Bi(J.typeParameter.constraint):Ys)))}}}return m&&co(m)}function BA(r){if(!r.constraint)if(r.target){const c=If(r.target);r.constraint=c?Ps(c,r.mapper):Gc}else{const c=Ape(r);if(!c)r.constraint=S9e(r)||Gc;else{let _=Bi(c);_.flags&1&&!Ro(_)&&(_=c.parent.parent.kind===199?Ys:mt),r.constraint=_}}return r.constraint===Gc?void 0:r.constraint}function x9e(r){const c=_l(r.symbol,167),_=Rm(c.parent)?Wj(c.parent):c.parent;return _&&Up(_)}function wd(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 eC(r,c){return r?`@${vo(r)}`+(c?`:${wd(c)}`:""):""}function mM(r,c){let _=0;for(const m of r)(c===void 0||!(m.flags&c))&&(_|=vi(m));return _&458752}function jE(r,c){return Ne(c)&&r===Ns?mt:A0(r,c)}function A0(r,c){const _=wd(c);let m=r.instantiations.get(_);return m||(m=$u(4,r.symbol),r.instantiations.set(_,m),m.objectFlags|=c?mM(c):0,m.target=r,m.resolvedTypeArguments=c),m}function k9e(r){const c=hy(r.flags,r.symbol);return c.objectFlags=r.objectFlags,c.target=r.target,c.resolvedTypeArguments=r.resolvedTypeArguments,c}function Ppe(r,c,_,m,b){if(!m){m=rC(c);const P=VE(m);b=_?D0(P,_):P}const x=$u(4,r.symbol);return x.target=r,x.node=c,x.mapper=_,x.aliasSymbol=m,x.aliasTypeArguments=b,x}function cc(r){var c,_;if(!r.resolvedTypeArguments){if(!zp(r,6))return((c=r.target.localTypeParameters)==null?void 0:c.map(()=>se))||ft;const m=r.node,b=m?m.kind===182?wr(r.target.outerTypeParameters,vG(m,r.target.localTypeParameters)):m.kind===187?[Bi(m.elementType)]:qt(m.elements,Bi):ft;wg()?r.resolvedTypeArguments=r.mapper?D0(b,r.mapper):b:(r.resolvedTypeArguments=((_=r.target.localTypeParameters)==null?void 0:_.map(()=>se))||ft,rt(r.node||B,r.target.symbol?v.Type_arguments_for_0_circularly_reference_themselves:v.Tuple_type_arguments_circularly_reference_themselves,r.target.symbol&&Xe(r.target.symbol)))}return r.resolvedTypeArguments}function xy(r){return G(r.target.typeParameters)}function C9e(r,c){const _=yc(Fo(c)),m=_.localTypeParameters;if(m){const b=G(r.typeArguments),x=Dh(m),P=Mn(r);if(!(!we&&P)&&(b<x||b>m.length)){const re=P&&p1(r)&&!V4(r.parent),oe=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,Ee=jt(_,void 0,2);if(rt(r,oe,Ee,x,m.length),!P)return se}if(r.kind===182&&$9e(r,G(r.typeArguments)!==m.length))return Ppe(_,r,void 0);const $=wr(_.outerTypeParameters,W1(hM(r),m,x,P));return A0(_,$)}return V2(r,c)?_:se}function JE(r,c,_,m){const b=yc(r);if(b===ae&&l9.has(r.escapedName)&&c&&c.length===1)return tC(r,c[0]);const x=ms(r),P=x.typeParameters,J=wd(c)+eC(_,m);let $=x.instantiations.get(J);return $||x.instantiations.set(J,$=CLe(b,P_(P,W1(c,P,Dh(P),Mn(r.valueDeclaration))),_,m)),$}function S0t(r,c){if(ml(c)&1048576){const b=hM(r),x=eC(c,b);let P=Nt.get(x);return P||(P=Ol(1,"error"),P.aliasSymbol=c,P.aliasTypeArguments=b,Nt.set(x,P)),P}const _=yc(c),m=ms(c).typeParameters;if(m){const b=G(r.typeArguments),x=Dh(m);if(b<x||b>m.length)return rt(r,x===m.length?v.Generic_type_0_requires_1_type_argument_s:v.Generic_type_0_requires_between_1_and_2_type_arguments,Xe(c),x,m.length),se;const P=rC(r);let J=P&&(w9e(c)||!w9e(P))?P:void 0,$;if(J)$=VE(J);else if(pj(r)){const re=UE(r,2097152,!0);if(re&&re!==qr){const oe=ef(re);oe&&oe.flags&524288&&(J=oe,$=hM(r)||(m?[]:void 0))}}return JE(c,hM(r),J,$)}return V2(r,c)?_:se}function w9e(r){var c;const _=(c=r.declarations)==null?void 0:c.find(h5);return!!(_&&Wp(_))}function x0t(r){switch(r.kind){case 182:return r.typeName;case 232:const c=r.expression;if(kl(c))return c}}function E9e(r){return r.parent?`${E9e(r.parent)}.${r.escapedName}`:r.escapedName}function aH(r){const _=(r.kind===165?r.right:r.kind===210?r.name:r).escapedText;if(_){const m=r.kind===165?aH(r.left):r.kind===210?aH(r.expression):void 0,b=m?`${E9e(m)}.${_}`:_;let x=pt.get(b);return x||(pt.set(b,x=No(524288,_,1048576)),x.parent=m,x.links.declaredType=at),x}return qr}function UE(r,c,_){const m=x0t(r);if(!m)return qr;const b=rl(m,c,_);return b&&b!==qr?b:_?qr:aH(m)}function oH(r,c){if(c===qr)return se;if(c=EE(c)||c,c.flags&96)return C9e(r,c);if(c.flags&524288)return S0t(r,c);const _=qOe(c);if(_)return V2(r,c)?Kf(_):se;if(c.flags&111551&&cH(r)){const m=k0t(r,c);return m||(UE(r,788968),bn(c))}return se}function k0t(r,c){const _=mi(r);if(!_.resolvedJSDocType){const m=bn(c);let b=m;if(c.valueDeclaration){const x=r.kind===204&&r.qualifier;m.symbol&&m.symbol!==c&&x&&(b=oH(r,m.symbol))}_.resolvedJSDocType=b}return _.resolvedJSDocType}function Dpe(r,c){if(c.flags&3||c===r||r.flags&1)return r;const _=`${Mf(r)}>${Mf(c)}`,m=_n.get(_);if(m)return m;const b=Cg(33554432);return b.baseType=r,b.constraint=c,_n.set(_,b),b}function Npe(r){return co([r.constraint,r.baseType])}function A9e(r){return r.kind===188&&r.elements.length===1}function P9e(r,c,_){return A9e(c)&&A9e(_)?P9e(r,c.elements[0],_.elements[0]):Y1(Bi(c))===Y1(r)?Bi(_):void 0}function C0t(r,c){let _,m=!0;for(;c&&!Vs(c)&&c.kind!==326;){const b=c.parent;if(b.kind===168&&(m=!m),(m||r.flags&8650752)&&b.kind===193&&c===b.trueType){const x=P9e(r,b.checkType,b.extendsType);x&&(_=zr(_,x))}else if(r.flags&262144&&b.kind===199&&c===b.type){const x=Bi(b);if(mm(x)===Y1(r)){const P=TH(x);if(P){const J=If(P);J&&qd(J,X2)&&(_=zr(_,Ti([Se,Es])))}}}c=b}return _?Dpe(r,co(_)):r}function cH(r){return!!(r.flags&8388608)&&(r.kind===182||r.kind===204)}function V2(r,c){return r.typeArguments?(rt(r,v.Type_0_is_not_generic,c?Xe(c):r.typeName?ac(r.typeName):c9),!1):!0}function D9e(r){if(He(r.typeName)){const c=r.typeArguments;switch(r.typeName.escapedText){case"String":return V2(r),L;case"Number":return V2(r),Se;case"Boolean":return V2(r),vt;case"Void":return V2(r),ht;case"Undefined":return V2(r),Fe;case"Null":return V2(r),Gn;case"Function":case"function":return V2(r),Mo;case"array":return(!c||!c.length)&&!we?Zi:void 0;case"promise":return(!c||!c.length)&&!we?eF(dt):void 0;case"Object":if(c&&c.length===2){if(Jj(r)){const _=Bi(c[0]),m=Bi(c[1]),b=_===L||_===Se?[Nh(_,m,!1)]:ft;return ul(void 0,Z,ft,ft,b)}return dt}return V2(r),we?void 0:dt}}}function w0t(r){const c=Bi(r.type);return K?OH(c,65536):c}function Ipe(r){const c=mi(r);if(!c.resolvedType){if(Wy(r)&&Ax(r.parent))return c.resolvedSymbol=qr,c.resolvedType=jl(r.parent.expression);let _,m;const b=788968;cH(r)&&(m=D9e(r),m||(_=UE(r,b,!0),_===qr?_=UE(r,b|111551):UE(r,b),m=oH(r,_))),m||(_=UE(r,b),m=oH(r,_)),c.resolvedSymbol=_,c.resolvedType=m}return c.resolvedType}function hM(r){return qt(r.typeArguments,Bi)}function N9e(r){const c=mi(r);if(!c.resolvedType){const _=HFe(r);c.resolvedType=Kf(hp(_))}return c.resolvedType}function I9e(r,c){function _(b){const x=b.declarations;if(x)for(const P of x)switch(P.kind){case 262:case 263:case 265:return P}}if(!r)return c?Ns:ga;const m=yc(r);return m.flags&524288?G(m.typeParameters)!==c?(rt(_(r),v.Global_type_0_must_have_1_type_parameter_s,xl(r),c),c?Ns:ga):m:(rt(_(r),v.Global_type_0_must_be_a_class_or_interface_type,xl(r)),c?Ns:ga)}function Ope(r,c){return aN(r,111551,c?v.Cannot_find_global_value_0:void 0)}function O9e(r,c){return aN(r,788968,c?v.Cannot_find_global_type_0:void 0)}function lH(r,c,_){const m=aN(r,788968,_?v.Cannot_find_global_type_0:void 0);if(m&&(yc(m),G(ms(m).typeParameters)!==c)){const b=m.declarations&&Ve(m.declarations,Mm);rt(b,v.Global_type_0_must_have_1_type_parameter_s,xl(m),c);return}return m}function aN(r,c,_){return ll(void 0,r,c,_,r,!1,!1,!1)}function Gl(r,c,_){const m=O9e(r,_);return m||_?I9e(m,c):void 0}function E0t(){return an||(an=Gl("TypedPropertyDescriptor",1,!0)||Ns)}function A0t(){return zm||(zm=Gl("TemplateStringsArray",0,!0)||ga)}function L9e(){return cy||(cy=Gl("ImportMeta",0,!0)||ga)}function M9e(){if(!gg){const r=No(0,"ImportMetaExpression"),c=L9e(),_=No(4,"meta",8);_.parent=r,_.links.type=c;const m=za([_]);r.members=m,gg=ul(r,m,ft,ft,ft)}return gg}function F9e(r){return yg||(yg=Gl("ImportCallOptions",0,r))||ga}function R9e(r){return Yt||(Yt=Ope("Symbol",r))}function P0t(r){return Zt||(Zt=O9e("SymbolConstructor",r))}function B9e(){return Cr||(Cr=Gl("Symbol",0,!1))||ga}function gM(r){return ti||(ti=Gl("Promise",1,r))||Ns}function j9e(r){return ki||(ki=Gl("PromiseLike",1,r))||Ns}function Lpe(r){return ds||(ds=Ope("Promise",r))}function D0t(r){return sa||(sa=Gl("PromiseConstructorLike",0,r))||ga}function uH(r){return Rp||(Rp=Gl("AsyncIterable",1,r))||Ns}function N0t(r){return f_||(f_=Gl("AsyncIterator",3,r))||Ns}function I0t(r){return up||(up=Gl("AsyncIterableIterator",1,r))||Ns}function O0t(r){return Pf||(Pf=Gl("AsyncGenerator",3,r))||Ns}function Mpe(r){return Ka||(Ka=Gl("Iterable",1,r))||Ns}function L0t(r){return xc||(xc=Gl("Iterator",3,r))||Ns}function M0t(r){return Nc||(Nc=Gl("IterableIterator",1,r))||Ns}function F0t(r){return k_||(k_=Gl("Generator",3,r))||Ns}function R0t(r){return yd||(yd=Gl("IteratorYieldResult",1,r))||Ns}function B0t(r){return zl||(zl=Gl("IteratorReturnResult",1,r))||Ns}function J9e(r,c=0){const _=aN(r,788968,void 0);return _&&I9e(_,c)}function j0t(){return X||(X=lH("Extract",2,!0)||qr),X===qr?void 0:X}function J0t(){return nt||(nt=lH("Omit",2,!0)||qr),nt===qr?void 0:nt}function Fpe(r){return nr||(nr=lH("Awaited",1,r)||(r?qr:void 0)),nr===qr?void 0:nr}function U0t(){return On||(On=Gl("BigInt",0,!1))||ga}function z0t(r){return zs??(zs=Gl("ClassDecoratorContext",1,r))??Ns}function V0t(r){return ba??(ba=Gl("ClassMethodDecoratorContext",2,r))??Ns}function $0t(r){return Ic??(Ic=Gl("ClassGetterDecoratorContext",2,r))??Ns}function q0t(r){return Po??(Po=Gl("ClassSetterDecoratorContext",2,r))??Ns}function W0t(r){return Kl??(Kl=Gl("ClassAccessorDecoratorContext",2,r))??Ns}function H0t(r){return Bp??(Bp=Gl("ClassAccessorDecoratorTarget",2,r))??Ns}function G0t(r){return z_??(z_=Gl("ClassAccessorDecoratorResult",2,r))??Ns}function X0t(r){return xh??(xh=Gl("ClassFieldDecoratorContext",2,r))??Ns}function Q0t(){return pa||(pa=Ope("NaN",!1))}function Y0t(){return ns||(ns=lH("Record",2,!0)||qr),ns===qr?void 0:ns}function oN(r,c){return r!==Ns?A0(r,c):ga}function U9e(r){return oN(E0t(),[r])}function z9e(r){return oN(Mpe(!0),[r])}function mf(r,c){return oN(c?wu:Xc,[r])}function Rpe(r){switch(r.kind){case 189:return 2;case 190:return V9e(r);case 201:return r.questionToken?2:r.dotDotDotToken?V9e(r):1;default:return 1}}function V9e(r){return TM(r.type)?4:8}function Z0t(r){const c=e1t(r.parent);if(TM(r))return c?wu:Xc;const m=qt(r.elements,Rpe),b=Ne(r.elements,x=>x.kind!==201);return Bpe(m,c,b?void 0:r.elements)}function $9e(r,c){return!!rC(r)||q9e(r)&&(r.kind===187?H1(r.elementType):r.kind===188?Ne(r.elements,H1):c||Ne(r.typeArguments,H1))}function q9e(r){const c=r.parent;switch(c.kind){case 195:case 201:case 182:case 191:case 192:case 198:case 193:case 197:case 187:case 188:return q9e(c);case 264:return!0}return!1}function H1(r){switch(r.kind){case 182:return cH(r)||!!(UE(r,788968).flags&524288);case 185:return!0;case 197:return r.operator!==158&&H1(r.type);case 195:case 189:case 201:case 322:case 320:case 321:case 315:return H1(r.type);case 190:return r.type.kind!==187||H1(r.type.elementType);case 191:case 192:return Ne(r.types,H1);case 198:return H1(r.objectType)||H1(r.indexType);case 193:return H1(r.checkType)||H1(r.extendsType)||H1(r.trueType)||H1(r.falseType)}return!1}function K0t(r){const c=mi(r);if(!c.resolvedType){const _=Z0t(r);if(_===Ns)c.resolvedType=ga;else if(!(r.kind===188&&Ne(r.elements,m=>!!(Rpe(m)&8)))&&$9e(r))c.resolvedType=r.kind===188&&r.elements.length===0?_:Ppe(_,r,void 0);else{const m=r.kind===187?[Bi(r.elementType)]:qt(r.elements,Bi);c.resolvedType=jpe(_,m)}}return c.resolvedType}function e1t(r){return Nw(r)&&r.operator===148}function ym(r,c,_=!1,m){const b=Bpe(c||qt(r,x=>1),_,m);return b===Ns?ga:r.length?jpe(b,r):b}function Bpe(r,c,_){if(r.length===1&&r[0]&4)return c?wu:Xc;const m=qt(r,x=>x&1?"#":x&2?"?":x&4?".":"*").join()+(c?"R":"")+(_&&_.length?","+qt(_,Jo).join(","):"");let b=hn.get(m);return b||hn.set(m,b=t1t(r,c,_)),b}function t1t(r,c,_){const m=r.length,b=Sn(r,Ee=>!!(Ee&9));let x;const P=[];let J=0;if(m){x=new Array(m);for(let Ee=0;Ee<m;Ee++){const Le=x[Ee]=Sd(),We=r[Ee];if(J|=We,!(J&12)){const gt=No(4|(We&2?16777216:0),""+Ee,c?8:0);gt.links.tupleLabelDeclaration=_==null?void 0:_[Ee],gt.links.type=Le,P.push(gt)}}}const $=P.length,re=No(4,"length",c?8:0);if(J&12)re.links.type=Se;else{const Ee=[];for(let Le=b;Le<=m;Le++)Ee.push(vm(Le));re.links.type=Ti(Ee)}P.push(re);const oe=$u(12);return oe.typeParameters=x,oe.outerTypeParameters=void 0,oe.localTypeParameters=x,oe.instantiations=new Map,oe.instantiations.set(wd(oe.typeParameters),oe),oe.target=oe,oe.resolvedTypeArguments=oe.typeParameters,oe.thisType=Sd(),oe.thisType.isThisType=!0,oe.thisType.constraint=oe,oe.declaredProperties=P,oe.declaredCallSignatures=ft,oe.declaredConstructSignatures=ft,oe.declaredIndexInfos=ft,oe.elementFlags=r,oe.minLength=b,oe.fixedLength=$,oe.hasRestElement=!!(J&12),oe.combinedFlags=J,oe.readonly=c,oe.labeledElementDeclarations=_,oe}function jpe(r,c){return r.objectFlags&8?Jpe(r,c):A0(r,c)}function Jpe(r,c){var _,m,b;if(!(r.combinedFlags&14))return A0(r,c);if(r.combinedFlags&8){const We=ir(c,(gt,$t)=>!!(r.elementFlags[$t]&8&&gt.flags&1179648));if(We>=0)return yM(qt(c,(gt,$t)=>r.elementFlags[$t]&8?gt:mt))?kc(c[We],gt=>Jpe(r,GY(c,We,gt))):se}const x=[],P=[];let J=[],$=-1,re=-1,oe=-1;for(let We=0;We<c.length;We++){const gt=c[We],$t=r.elementFlags[We];if($t&8)if(gt.flags&58982400||Vp(gt))Le(gt,8,(_=r.labeledElementDeclarations)==null?void 0:_[We]);else if(uo(gt)){const Vr=G1(gt);if(Vr.length+x.length>=1e4)return rt(B,Gg(B)?v.Type_produces_a_tuple_type_that_is_too_large_to_represent:v.Expression_produces_a_tuple_type_that_is_too_large_to_represent),se;te(Vr,(Zr,Tn)=>{var xr;return Le(Zr,gt.target.elementFlags[Tn],(xr=gt.target.labeledElementDeclarations)==null?void 0:xr[Tn])})}else Le(ev(gt)&&E0(gt,Se)||se,4,(m=r.labeledElementDeclarations)==null?void 0:m[We]);else Le(gt,$t,(b=r.labeledElementDeclarations)==null?void 0:b[We])}for(let We=0;We<$;We++)P[We]&2&&(P[We]=1);re>=0&&re<oe&&(x[re]=Ti($s(x.slice(re,oe+1),(We,gt)=>P[re+gt]&8?A_(We,Se):We)),x.splice(re+1,oe-re),P.splice(re+1,oe-re),J==null||J.splice(re+1,oe-re));const Ee=Bpe(P,r.readonly,J);return Ee===Ns?ga:P.length?A0(Ee,x):Ee;function Le(We,gt,$t){gt&1&&($=P.length),gt&4&&re<0&&(re=P.length),gt&6&&(oe=P.length),x.push(gt&2?Xa(We,!0):We),P.push(gt),J&&$t?J.push($t):J=void 0}}function jA(r,c,_=0){const m=r.target,b=xy(r)-_;return c>m.fixedLength?Uvt(r)||ym(ft):ym(cc(r).slice(c,b),m.elementFlags.slice(c,b),!1,m.labeledElementDeclarations&&m.labeledElementDeclarations.slice(c,b))}function W9e(r){return Ti(zr(Cve(r.target.fixedLength,c=>X_(""+c)),Km(r.target.readonly?wu:Xc)))}function r1t(r,c){const _=ir(r.elementFlags,m=>!(m&c));return _>=0?_:r.elementFlags.length}function cN(r,c){return r.elementFlags.length-kr(r.elementFlags,_=>!(_&c))-1}function G1(r){const c=cc(r),_=xy(r);return c.length===_?c:c.slice(0,_)}function n1t(r){return Xa(Bi(r.type),!0)}function Mf(r){return r.id}function X1(r,c){return dv(r,c,Mf,wc)>=0}function Upe(r,c){const _=dv(r,c,Mf,wc);return _<0?(r.splice(~_,0,c),!0):!1}function i1t(r,c,_){const m=_.flags;if(!(m&131072))if(c|=m&473694207,m&465829888&&(c|=33554432),_===rr&&(c|=8388608),!K&&m&98304)vi(_)&65536||(c|=4194304);else{const b=r.length,x=b&&_.id>r[b-1].id?~b:dv(r,_,Mf,wc);x<0&&r.splice(~x,0,_)}return c}function H9e(r,c,_){let m;for(const b of _)b!==m&&(c=b.flags&1048576?H9e(r,c|(c1t(b)?1048576:0),b.types):i1t(r,c,b),m=b);return c}function s1t(r,c){var _;if(r.length<2)return r;const m=wd(r),b=Nn.get(m);if(b)return b;const x=c&&Ne(r,re=>!!(re.flags&524288)&&!Vp(re)&&cde(hm(re))),P=r.length;let J=P,$=0;for(;J>0;){J--;const re=r[J];if(x||re.flags&469499904){if(re.flags&262144&&Sy(re).flags&1048576){eh(re,Ti(qt(r,Le=>Le===re?Vt:Le)),Zp)&&zb(r,J);continue}const oe=re.flags&61603840?Ve(zo(re),Le=>bm(bn(Le))):void 0,Ee=oe&&Kf(bn(oe));for(const Le of r)if(re!==Le){if($===1e5&&$/(P-J)*P>1e6){(_=qi)==null||_.instant(qi.Phase.CheckTypes,"removeSubtypes_DepthLimit",{typeIds:r.map(gt=>gt.id)}),rt(B,v.Expression_produces_a_union_type_that_is_too_complex_to_represent);return}if($++,oe&&Le.flags&61603840){const We=Ll(Le,oe.escapedName);if(We&&bm(We)&&Kf(We)!==Ee)continue}if(eh(re,Le,Zp)&&(!(vi(IE(re))&1)||!(vi(IE(Le))&1)||G2(re,Le))){zb(r,J);break}}}}return Nn.set(m,r),r}function a1t(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||W2(b)&&X1(r,b.regularType))&&zb(r,m)}}function o1t(r){const c=gr(r,_=>!!(_.flags&134217728)&&zE(_));if(c.length){let _=r.length;for(;_>0;){_--;const m=r[_];m.flags&128&&Ne(c,b=>Ode(m,b))&&zb(r,_)}}}function c1t(r){return!!(r.flags&1048576&&(r.aliasSymbol||r.origin))}function G9e(r,c){for(const _ of c)if(_.flags&1048576){const m=_.origin;_.aliasSymbol||m&&!(m.flags&1048576)?Sp(r,_):m&&m.flags&1048576&&G9e(r,m.types)}}function zpe(r,c){const _=ub(r);return _.types=c,_}function Ti(r,c=1,_,m,b){if(r.length===0)return Vt;if(r.length===1)return r[0];if(r.length===2&&!b&&(r[0].flags&1048576||r[1].flags&1048576)){const x=c===0?"N":c===2?"S":"L",P=r[0].id<r[1].id?0:1,J=r[P].id+x+r[1-P].id+eC(_,m);let $=Cn.get(J);return $||($=X9e(r,c,_,m,void 0),Cn.set(J,$)),$}return X9e(r,c,_,m,b)}function X9e(r,c,_,m,b){let x=[];const P=H9e(x,0,r);if(c!==0){if(P&3)return P&1?P&8388608?rr:dt:P&65536||X1(x,mt)?mt:_r;if(P&32768&&x.length>=2&&x[0]===Fe&&x[1]===zt&&zb(x,1),(P&402664352||P&16384&&P&32768)&&a1t(x,P,!!(c&2)),P&128&&P&134217728&&o1t(x),c===2&&(x=s1t(x,!!(P&524288)),!x))return se;if(x.length===0)return P&65536?P&4194304?Gn:Rn:P&32768?P&4194304?Fe:Gt:Vt}if(!b&&P&1048576){const $=[];G9e($,r);const re=[];for(const Ee of x)Ne($,Le=>X1(Le.types,Ee))||re.push(Ee);if(!_&&$.length===1&&re.length===0)return $[0];if(Uf($,(Ee,Le)=>Ee+Le.types.length,0)+re.length===x.length){for(const Ee of $)Upe(re,Ee);b=zpe(1048576,re)}}const J=(P&36323331?0:32768)|(P&2097152?16777216:0);return $pe(x,J,_,m,b)}function l1t(r,c){let _;const m=[];for(const x of r){const P=Cd(x);if(P){if(P.kind!==0&&P.kind!==1||_&&!Vpe(_,P))return;_=P,m.push(P.type)}else{const J=c!==2097152?Vo(x):void 0;if(J!==ke&&J!==ve)return}}if(!_)return;const b=y9e(m,c);return dM(_.kind,_.parameterName,_.parameterIndex,b)}function Vpe(r,c){return r.kind===c.kind&&r.parameterIndex===c.parameterIndex}function $pe(r,c,_,m,b){if(r.length===0)return Vt;if(r.length===1)return r[0];const P=(b?b.flags&1048576?`|${wd(b.types)}`:b.flags&2097152?`&${wd(b.types)}`:`#${b.type.id}|${wd(r)}`:wd(r))+eC(_,m);let J=Br.get(P);return J||(J=Cg(1048576),J.objectFlags=c|mM(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"),Br.set(P,J)),J}function u1t(r){const c=mi(r);if(!c.resolvedType){const _=rC(r);c.resolvedType=Ti(qt(r.types,Bi),1,_,VE(_))}return c.resolvedType}function f1t(r,c,_){const m=_.flags;return m&2097152?Q9e(r,c,_.types):(Ey(_)?c&16777216||(c|=16777216,r.set(_.id.toString(),_)):(m&3?_===rr&&(c|=8388608):(K||!(m&98304))&&(_===zt&&(c|=262144,_=Fe),r.has(_.id.toString())||(_.flags&109472&&c&109472&&(c|=67108864),r.set(_.id.toString(),_))),c|=m&473694207),c)}function Q9e(r,c,_){for(const m of _)c=f1t(r,c,Kf(m));return c}function _1t(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||Ey(m)&&c&470302716)&&zb(r,_)}}function p1t(r,c){for(const _ of r)if(!X1(_.types,c)){const m=c.flags&128?L:c.flags&288?Se:c.flags&2048?pe:c.flags&8192?Qt:void 0;if(!m||!X1(_.types,m))return!1}return!0}function d1t(r){let c=r.length;const _=gr(r,m=>!!(m.flags&128));for(;c>0;){c--;const m=r[c];if(m.flags&134217728){for(const b of _)if(Z1(b,m)){zb(r,c);break}else if(zE(m))return!0}}return!1}function Y9e(r,c){for(let _=0;_<r.length;_++)r[_]=tu(r[_],m=>!(m.flags&c))}function m1t(r){let c;const _=ir(r,P=>!!(vi(P)&32768));if(_<0)return!1;let m=_+1;for(;m<r.length;){const P=r[m];vi(P)&32768?((c||(c=[r[_]])).push(P),zb(r,m)):m++}if(!c)return!1;const b=[],x=[];for(const P of c)for(const J of P.types)Upe(b,J)&&p1t(c,J)&&Upe(x,J);return r[_]=$pe(x,32768),!0}function h1t(r,c,_){const m=Cg(2097152);return m.objectFlags=mM(r,98304),m.types=r,m.aliasSymbol=c,m.aliasTypeArguments=_,m}function co(r,c,_,m){const b=new Map,x=Q9e(b,0,r),P=oo(b.values());if(x&131072)return kt(P,Nr)?Nr:Vt;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&&d1t(P))return Vt;if(x&1)return x&8388608?rr:dt;if(!K&&x&98304)return x&16777216?Vt:x&32768?Fe:Gn;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||_1t(P,x)),x&262144&&(P[P.indexOf(Fe)]=zt),P.length===0)return mt;if(P.length===1)return P[0];const J=wd(P)+eC(c,_);let $=ci.get(J);if(!$){if(x&1048576)if(m1t(P))$=co(P,c,_);else if(ot(P,re=>!!(re.flags&1048576&&re.types[0].flags&32768))){const re=Ne(P,gN)?zt:Fe;Y9e(P,32768),$=Ti([co(P),re],1,c,_)}else if(ot(P,re=>!!(re.flags&1048576&&(re.types[0].flags&65536||re.types[1].flags&65536))))Y9e(P,65536),$=Ti([co(P),Gn],1,c,_);else{if(!yM(P))return se;const re=g1t(P),oe=Ne(re,Ee=>!!(Ee.flags&2097152))&&qpe(re)>qpe(P)?zpe(2097152,P):void 0;$=Ti(re,1,c,_,oe)}else $=h1t(P,c,_);ci.set(J,$)}return $}function Z9e(r){return Uf(r,(c,_)=>_.flags&1048576?c*_.types.length:_.flags&131072?0:c,1)}function yM(r){var c;const _=Z9e(r);return _>=1e5?((c=qi)==null||c.instant(qi.Phase.CheckTypes,"checkCrossProductUnion_DepthLimit",{typeIds:r.map(m=>m.id),size:_}),rt(B,v.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1):!0}function g1t(r){const c=Z9e(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 P=co(b);P.flags&131072||_.push(P)}return _}function K9e(r){return!(r.flags&3145728)||r.aliasSymbol?1:r.flags&1048576&&r.origin?K9e(r.origin):qpe(r.types)}function qpe(r){return Uf(r,(c,_)=>c+K9e(_),0)}function eLe(r,c){return!!(r.flags&76)&&c===Nl}function y1t(r){const c=mi(r);if(!c.resolvedType){const _=rC(r),m=qt(r.types,Bi),b=m.length===2&&(eLe(m[0],m[1])||eLe(m[1],m[0]));c.resolvedType=co(m,_,VE(_),b)}return c.resolvedType}function tLe(r,c){const _=Cg(4194304);return _.type=r,_.indexFlags=c,_}function v1t(r){const c=ub(4194304);return c.type=r,c}function rLe(r,c){return c&1?r.resolvedStringIndexType||(r.resolvedStringIndexType=tLe(r,1)):r.resolvedIndexType||(r.resolvedIndexType=tLe(r,0))}function b1t(r,c){const _=mm(r),m=Ym(r),b=w0(r.target||r);if(!b&&!(c&2))return m;const x=[];if(uM(r)){if(bb(m))return rLe(r,c);{const $=Zf(eN(r));ope($,8576,!!(c&1),J)}}else QS(lM(m),J);bb(m)&&QS(m,J);const P=c&2?tu(Ti(x),$=>!($.flags&5)):Ti(x);if(P.flags&1048576&&m.flags&1048576&&wd(P.types)===wd(m.types))return m;return P;function J($){const re=b?Ps(b,fN(r.mapper,_,$)):$;x.push(re===L?rs:re)}}function T1t(r){const c=mm(r);return _(w0(r)||c);function _(m){return m.flags&470810623?!0:m.flags&16777216?m.root.isDistributive&&m.checkType===c:m.flags&137363456?ot(m.types,_):m.flags&8388608?_(m.objectType)&&_(m.indexType):m.flags&33554432?_(m.baseType)&&_(m.constraint):m.flags&268435456?_(m.type):!1}}function P0(r){if(fs(r))return Vt;if(Hp(r))return Kf(Bs(r));if(Ho(r))return Kf(Dg(r));const c=Zb(r);return c!==void 0?X_(xs(c)):Ct(r)?Kf(Bs(r)):Vt}function JA(r,c,_){if(_||!(pd(r)&24)){let m=ms(nH(r)).nameType;if(!m){const b=ia(r.valueDeclaration);m=r.escapedName==="default"?X_("default"):b&&P0(b)||(w5(r)?void 0:X_(xl(r)))}if(m&&m.flags&c)return m}return Vt}function nLe(r,c){return!!(r.flags&c||r.flags&2097152&&Ne(r.types,_=>nLe(_,c)))}function S1t(r,c,_){const m=_&&(vi(r)&7||r.aliasSymbol)?v1t(r):void 0,b=qt(zo(r),P=>JA(P,c)),x=qt(Lf(r),P=>P!==ie&&nLe(P.keyType,c)?P.keyType===L&&c&8?rs:P.keyType:Vt);return Ti(wr(b,x),1,void 0,void 0,m)}function iLe(r,c=0){return!!(r.flags&58982400||N0(r)||Vp(r)&&!T1t(r)||r.flags&1048576&&!(c&4)&&mpe(r)||r.flags&2097152&&Yc(r,465829888)&&Ne(r.types,Ey))}function Km(r,c=Ge){return r=gm(r),iLe(r,c)?rLe(r,c):r.flags&1048576?co(qt(r.types,_=>Km(_,c))):r.flags&2097152?Ti(qt(r.types,_=>Km(_,c))):vi(r)&32?b1t(r,c):r===rr?rr:r.flags&2?Vt:r.flags&131073?Ys:S1t(r,(c&2?128:402653316)|(c&1?0:12584),c===Ge)}function sLe(r){if(ut)return r;const c=j0t();return c?JE(c,[r,L]):L}function x1t(r){const c=sLe(Km(r));return c.flags&131072?L:c}function k1t(r){const c=mi(r);if(!c.resolvedType)switch(r.operator){case 143:c.resolvedType=Km(Bi(r.type));break;case 158:c.resolvedType=r.type.kind===155?Kpe(b5(r.parent)):se;break;case 148:c.resolvedType=Bi(r.type);break;default:R.assertNever(r.operator)}return c.resolvedType}function C1t(r){const c=mi(r);return c.resolvedType||(c.resolvedType=$S([r.head.text,...qt(r.templateSpans,_=>_.literal.text)],qt(r.templateSpans,_=>Bi(_.type)))),c.resolvedType}function $S(r,c){const _=ir(c,re=>!!(re.flags&1179648));if(_>=0)return yM(c)?kc(c[_],re=>$S(r,GY(c,_,re))):se;if(kt(c,rr))return rr;const m=[],b=[];let x=r[0];if(!$(r,c))return L;if(m.length===0)return X_(x);if(b.push(x),ot(b,re=>re==="")){if(ot(m,re=>!!(re.flags&4)))return L;if(m.length===1&&zE(m[0]))return m[0]}const P=`${wd(m)}|${qt(b,re=>re.length).join(",")}|${b.join("")}`;let J=Kt.get(P);return J||Kt.set(P,J=E1t(b,m)),J;function $(re,oe){for(let Ee=0;Ee<oe.length;Ee++){const Le=oe[Ee];if(Le.flags&101248)x+=w1t(Le)||"",x+=re[Ee+1];else if(Le.flags&134217728){if(x+=Le.texts[0],!$(Le.texts,Le.types))return!1;x+=re[Ee+1]}else if(bb(Le)||vM(Le))m.push(Le),b.push(x),x=re[Ee+1];else return!1}return!0}}function w1t(r){return r.flags&128?r.value:r.flags&256?""+r.value:r.flags&2048?$T(r.value):r.flags&98816?r.intrinsicName:void 0}function E1t(r,c){const _=Cg(134217728);return _.objectFlags=mM(c,98304),_.texts=r,_.types=c,_}function tC(r,c){return c.flags&1179648?kc(c,_=>tC(r,_)):c.flags&128?X_(aLe(r,c.value)):c.flags&134217728?$S(...A1t(r,c.texts,c.types)):c.flags&268435456&&r===c.symbol?c:c.flags&268435461||bb(c)?oLe(r,c):vM(c)?oLe(r,$S(["",""],[c])):c}function aLe(r,c){switch(l9.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 A1t(r,c,_){switch(l9.get(r.escapedName)){case 0:return[c.map(m=>m.toUpperCase()),_.map(m=>tC(r,m))];case 1:return[c.map(m=>m.toLowerCase()),_.map(m=>tC(r,m))];case 2:return[c[0]===""?c:[c[0].charAt(0).toUpperCase()+c[0].slice(1),...c.slice(1)],c[0]===""?[tC(r,_[0]),..._.slice(1)]:_];case 3:return[c[0]===""?c:[c[0].charAt(0).toLowerCase()+c[0].slice(1),...c.slice(1)],c[0]===""?[tC(r,_[0]),..._.slice(1)]:_]}return[c,_]}function oLe(r,c){const _=`${vo(r)},${Mf(c)}`;let m=Qr.get(_);return m||Qr.set(_,m=P1t(r,c)),m}function P1t(r,c){const _=hy(268435456,r);return _.type=c,_}function D1t(r,c,_,m,b){const x=Cg(8388608);return x.objectType=r,x.indexType=c,x.accessFlags=_,x.aliasSymbol=m,x.aliasTypeArguments=b,x}function lN(r){if(we)return!1;if(vi(r)&4096)return!0;if(r.flags&1048576)return ot(r.types,lN);if(r.flags&2097152)return Ne(r.types,lN);if(r.flags&465829888){const c=fpe(r);return c!==r&&lN(c)}return!1}function fH(r,c){return Eg(r)?Qm(r):c&&sl(c)?Zb(c):void 0}function Wpe(r,c){if(c.flags&8208){const _=mn(r.parent,m=>!jc(m))||r.parent;return Ex(_)?Wg(_)&&He(r)&&dMe(_,r):ot(c.declarations,m=>!Sa(m)||!!(ph(m)&268435456))}return!0}function cLe(r,c,_,m,b,x){const P=b&&b.kind===211?b:void 0,J=b&&fs(b)?void 0:fH(_,b);if(J!==void 0){if(x&256)return K2(c,J)||dt;const re=$a(c,J);if(re){if(x&64&&b&&re.declarations&&u0(re)&&Wpe(b,re)){const Ee=(P==null?void 0:P.argumentExpression)??(Iw(b)?b.indexType:b);yl(Ee,re.declarations,J)}if(P){if(GM(re,P,SFe(P.expression,c.symbol)),lRe(P,re,Fx(P))){rt(P.argumentExpression,v.Cannot_assign_to_0_because_it_is_a_read_only_property,Xe(re));return}if(x&8&&(mi(b).resolvedSymbol=re),mFe(P,re))return Ut}const oe=bn(re);return P&&Fx(P)!==1?rv(P,oe):b&&Iw(b)&&gN(oe)?Ti([oe,Fe]):oe}if(qd(c,uo)&&ey(J)){const oe=+J;if(b&&qd(c,Ee=>!Ee.target.hasRestElement)&&!(x&16)){const Ee=Hpe(b);if(uo(c)){if(oe<0)return rt(Ee,v.A_tuple_type_cannot_be_indexed_with_a_negative_value),Fe;rt(Ee,v.Tuple_type_0_of_length_1_has_no_element_at_index_2,jt(c),xy(c),xs(J))}else rt(Ee,v.Property_0_does_not_exist_on_type_1,xs(J),jt(c))}if(oe>=0)return $(Pg(c,Se)),kc(c,Ee=>{const Le=NM(Ee)||Fe;return x&1?Ti([Le,zt]):Le})}}if(!(_.flags&98304)&&Au(_,402665900)){if(c.flags&131073)return c;const re=pM(c,_)||Pg(c,L);if(re){if(x&2&&re.keyType!==Se){P&&rt(P,v.Type_0_cannot_be_used_to_index_type_1,jt(_),jt(r));return}if(b&&re.keyType===L&&!Au(_,12)){const oe=Hpe(b);return rt(oe,v.Type_0_cannot_be_used_as_an_index_type,jt(_)),x&1?Ti([re.type,zt]):re.type}return $(re),x&1&&!(c.symbol&&c.symbol.flags&384&&_.symbol&&_.flags&1024&&E_(_.symbol)===c.symbol)?Ti([re.type,zt]):re.type}if(_.flags&131072)return Vt;if(lN(c))return dt;if(P&&!jme(c)){if(wb(c)){if(we&&_.flags&384)return Do.add(ei(P,v.Property_0_does_not_exist_on_type_1,_.value,jt(c))),Fe;if(_.flags&12){const oe=qt(c.properties,Ee=>bn(Ee));return Ti(zr(oe,Fe))}}if(c.symbol===_t&&J!==void 0&&_t.exports.has(J)&&_t.exports.get(J).flags&418)rt(P,v.Property_0_does_not_exist_on_type_1,xs(J),jt(c));else if(we&&!Q.suppressImplicitAnyIndexErrors&&!(x&128))if(J!==void 0&&vFe(J,c)){const oe=jt(c);rt(P,v.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,J,oe,oe+"["+iu(P.argumentExpression)+"]")}else if(E0(c,Se))rt(P.argumentExpression,v.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{let oe;if(J!==void 0&&(oe=gme(J,c)))oe!==void 0&&rt(P.argumentExpression,v.Property_0_does_not_exist_on_type_1_Did_you_mean_2,J,jt(c),oe);else{const Ee=kTt(c,P,_);if(Ee!==void 0)rt(P,v.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,jt(c),Ee);else{let Le;if(_.flags&1024)Le=ca(void 0,v.Property_0_does_not_exist_on_type_1,"["+jt(_)+"]",jt(c));else if(_.flags&8192){const We=Td(_.symbol,P);Le=ca(void 0,v.Property_0_does_not_exist_on_type_1,"["+We+"]",jt(c))}else _.flags&128||_.flags&256?Le=ca(void 0,v.Property_0_does_not_exist_on_type_1,_.value,jt(c)):_.flags&12&&(Le=ca(void 0,v.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,jt(_),jt(c)));Le=ca(Le,v.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,jt(m),jt(c)),Do.add(Hy(pn(P),P,Le))}}}return}}if(lN(c))return dt;if(b){const re=Hpe(b);_.flags&384?rt(re,v.Property_0_does_not_exist_on_type_1,""+_.value,jt(c)):_.flags&12?rt(re,v.Type_0_has_no_matching_index_signature_for_type_1,jt(c),jt(_)):rt(re,v.Type_0_cannot_be_used_as_an_index_type,jt(_))}if(qo(_))return _;return;function $(re){re&&re.isReadonly&&P&&(Qg(P)||$ee(P))&&rt(P,v.Index_signature_in_type_0_only_permits_reading,jt(c))}}function Hpe(r){return r.kind===211?r.argumentExpression:r.kind===198?r.indexType:r.kind===166?r.expression:r}function vM(r){return r.flags&2097152?Ne(r.types,c=>!!(c.flags&101248)||vM(c)):!!(r.flags&77)||zE(r)}function zE(r){return!!(r.flags&134217728)&&ot(r.types,vM)||!!(r.flags&268435456)&&vM(r.type)}function UA(r){return!!uN(r)}function $2(r){return!!(uN(r)&4194304)}function bb(r){return!!(uN(r)&8388608)}function uN(r){return r.flags&137363456?(r.objectFlags&2097152||(r.objectFlags|=2097152|Uf(r.types,(c,_)=>c|uN(_),0)),r.objectFlags&12582912):r.flags&33554432?(r.objectFlags&2097152||(r.objectFlags|=2097152|uN(r.baseType)|uN(r.constraint)),r.objectFlags&12582912):(r.flags&58982400||Vp(r)||N0(r)?4194304:0)|(r.flags&331612160&&!zE(r)?8388608:0)}function ky(r,c){return r.flags&8388608?I1t(r,c):r.flags&16777216?O1t(r,c):r}function lLe(r,c,_){if(r.flags&1048576||r.flags&2097152&&!iLe(r)){const m=qt(r.types,b=>ky(A_(b,c),_));return r.flags&2097152||_?co(m):Ti(m)}}function N1t(r,c,_){if(c.flags&1048576){const m=qt(c.types,b=>ky(A_(r,b),_));return _?co(m):Ti(m)}}function I1t(r,c){const _=c?"simplifiedForWriting":"simplifiedForReading";if(r[_])return r[_]===Af?r:r[_];r[_]=Af;const m=ky(r.objectType,c),b=ky(r.indexType,c),x=N1t(m,b,c);if(x)return r[_]=x;if(!(b.flags&465829888)){const P=lLe(m,b,c);if(P)return r[_]=P}if(N0(m)&&b.flags&296){const P=WA(m,b.flags&8?0:m.target.fixedLength,0,c);if(P)return r[_]=P}return Vp(m)&&(!w0(m)||o9e(m))?r[_]=kc(_H(m,r.indexType),P=>ky(P,c)):r[_]=r}function O1t(r,c){const _=r.checkType,m=r.extendsType,b=Tb(r),x=Sb(r);if(x.flags&131072&&Y1(b)===Y1(_)){if(_.flags&1||lo(qS(_),qS(m)))return ky(b,c);if(uLe(_,m))return Vt}else if(b.flags&131072&&Y1(x)===Y1(_)){if(!(_.flags&1)&&lo(qS(_),qS(m)))return Vt;if(_.flags&1||uLe(_,m))return ky(x,c)}return r}function uLe(r,c){return!!(Ti([cM(r,c),Vt]).flags&131072)}function _H(r,c){const _=P_([mm(r)],[c]),m=kb(r.mapper,_);return Ps(Ty(r.target||r),m)}function A_(r,c,_=0,m,b,x){return Q1(r,c,_,m,b,x)||(m?se:mt)}function fLe(r,c){return qd(r,_=>{if(_.flags&384){const m=Qm(_);if(ey(m)){const b=+m;return b>=0&&b<c}}return!1})}function Q1(r,c,_=0,m,b,x){if(r===rr||c===rr)return rr;if(r=gm(r),MLe(r)&&!(c.flags&98304)&&Au(c,12)&&(c=L),Q.noUncheckedIndexedAccess&&_&32&&(_|=1),bb(c)||(m&&m.kind!==198?N0(r)&&!fLe(c,r.target.fixedLength):$2(r)&&!(uo(r)&&fLe(c,r.target.fixedLength))||mpe(r))){if(r.flags&3)return r;const J=_&1,$=r.id+","+c.id+","+J+eC(b,x);let re=Dr.get($);return re||Dr.set($,re=D1t(r,c,J,b,x)),re}const P=RA(r);if(c.flags&1048576&&!(c.flags&16)){const J=[];let $=!1;for(const re of c.types){const oe=cLe(r,P,re,c,m,_|($?128:0));if(oe)J.push(oe);else if(m)$=!0;else return}return $?void 0:_&4?co(J,b,x):Ti(J,1,b,x)}return cLe(r,P,c,c,m,_|8|64)}function _Le(r){const c=mi(r);if(!c.resolvedType){const _=Bi(r.objectType),m=Bi(r.indexType),b=rC(r);c.resolvedType=A_(_,m,0,r,b,VE(b))}return c.resolvedType}function Gpe(r){const c=mi(r);if(!c.resolvedType){const _=$u(32,r.symbol);_.declaration=r,_.aliasSymbol=rC(r),_.aliasTypeArguments=VE(_.aliasSymbol),c.resolvedType=_,Ym(_)}return c.resolvedType}function Y1(r){return r.flags&33554432?Y1(r.baseType):r.flags&8388608&&(r.objectType.flags&33554432||r.indexType.flags&33554432)?A_(Y1(r.objectType),Y1(r.indexType)):r}function L1t(r){const c=If(r);return c&&($2(c)||bb(c))?bH(r):r}function pLe(r){return L4(r)&&G(r.elements)>0&&!Ne(r.elements,c=>Bre(c)||jre(c)||bD(c)&&!!(c.questionToken||c.dotDotDotToken))}function dLe(r,c){return UA(r)||c&&uo(r)&&Ne(G1(r),UA)}function Xpe(r,c,_,m){let b,x,P=0;for(;;){if(P===1e3)return rt(B,v.Type_instantiation_is_excessively_deep_and_possibly_infinite),se;const $=Ps(Y1(r.checkType),c),re=Ps(r.extendsType,c);if($===se||re===se)return se;if($===rr||re===rr)return rr;const oe=pLe(r.node.checkType)&&pLe(r.node.extendsType)&&G(r.node.checkType.elements)===G(r.node.extendsType.elements),Ee=dLe($,oe);let Le;if(r.inferTypeParameters){const gt=$s(r.inferTypeParameters,L1t),$t=gt!==r.inferTypeParameters?P_(r.inferTypeParameters,gt):void 0,Vr=yN(gt,void 0,0);if($t){const Tn=kb(c,$t);for(const xr of gt)r.inferTypeParameters.indexOf(xr)===-1&&(xr.mapper=Tn)}Ee||Py(Vr.inferences,$,Ps(re,$t),1536);const Zr=kb($t,Vr.mapper);Le=c?kb(Zr,c):Zr}const We=Le?Ps(r.extendsType,Le):re;if(!Ee&&!dLe(We,oe)){if(!(We.flags&3)&&($.flags&1||!lo(SH($),SH(We)))){$.flags&1&&(x||(x=[])).push(Ps(Bi(r.node.trueType),Le||c));const gt=Bi(r.node.falseType);if(gt.flags&16777216){const $t=gt.root;if($t.node.parent===r.node&&(!$t.isDistributive||$t.checkType===r.checkType)){r=$t;continue}if(J(gt,c))continue}b=Ps(gt,c);break}if(We.flags&3||lo(qS($),qS(We))){const gt=Bi(r.node.trueType),$t=Le||c;if(J(gt,$t))continue;b=Ps(gt,$t);break}}b=Cg(16777216),b.root=r,b.checkType=Ps(r.checkType,c),b.extendsType=Ps(r.extendsType,c),b.mapper=c,b.combinedMapper=Le,b.aliasSymbol=_||r.aliasSymbol,b.aliasTypeArguments=_?m:D0(r.aliasTypeArguments,c);break}return x?Ti(zr(x,b)):b;function J($,re){if($.flags&16777216&&re){const oe=$.root;if(oe.outerTypeParameters){const Ee=kb($.mapper,re),Le=qt(oe.outerTypeParameters,$t=>xb($t,Ee)),We=P_(oe.outerTypeParameters,Le),gt=oe.isDistributive?xb(oe.checkType,We):void 0;if(!gt||gt===oe.checkType||!(gt.flags&1179648))return r=oe,c=We,_=void 0,m=void 0,oe.aliasSymbol&&P++,!0}}return!1}}function Tb(r){return r.resolvedTrueType||(r.resolvedTrueType=Ps(Bi(r.root.node.trueType),r.mapper))}function Sb(r){return r.resolvedFalseType||(r.resolvedFalseType=Ps(Bi(r.root.node.falseType),r.mapper))}function M1t(r){return r.resolvedInferredTrueType||(r.resolvedInferredTrueType=r.combinedMapper?Ps(Bi(r.root.node.trueType),r.combinedMapper):Tb(r))}function mLe(r){let c;return r.locals&&r.locals.forEach(_=>{_.flags&262144&&(c=zr(c,yc(_)))}),c}function F1t(r){return r.isDistributive&&(xM(r.checkType,r.node.trueType)||xM(r.checkType,r.node.falseType))}function R1t(r){const c=mi(r);if(!c.resolvedType){const _=Bi(r.checkType),m=rC(r),b=VE(m),x=FA(r,!0),P=b?x:gr(x,$=>xM($,r)),J={node:r,checkType:_,extendsType:Bi(r.extendsType),isDistributive:!!(_.flags&262144),inferTypeParameters:mLe(r),outerTypeParameters:P,instantiations:void 0,aliasSymbol:m,aliasTypeArguments:b};c.resolvedType=Xpe(J,void 0),P&&(J.instantiations=new Map,J.instantiations.set(wd(P),c.resolvedType))}return c.resolvedType}function B1t(r){const c=mi(r);return c.resolvedType||(c.resolvedType=JS(Yn(r.typeParameter))),c.resolvedType}function hLe(r){return He(r)?[r]:zr(hLe(r.left),r.right)}function j1t(r){var c;const _=mi(r);if(!_.resolvedType){if(!Hb(r))return rt(r.argument,v.String_literal_expected),_.resolvedSymbol=qr,_.resolvedType=se;const m=r.isTypeOf?111551:r.flags&8388608?900095:788968,b=cu(r,r.argument.literal);if(!b)return _.resolvedSymbol=qr,_.resolvedType=se;const x=!!((c=b.exports)!=null&&c.get("export=")),P=dp(b,!1);if(pl(r.qualifier))if(P.flags&m)_.resolvedType=gLe(r,_,P,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;rt(r,J,r.argument.literal.text),_.resolvedSymbol=qr,_.resolvedType=se}else{const J=hLe(r.qualifier);let $=P,re;for(;re=J.shift();){const oe=J.length?1920:m,Ee=Fo(Qc($)),Le=r.isTypeOf||Mn(r)&&x?$a(bn(Ee),re.escapedText,!1,!0):void 0,gt=(r.isTypeOf?void 0:Eu(Jp(Ee),re.escapedText,oe))??Le;if(!gt)return rt(re,v.Namespace_0_has_no_exported_member_1,Td($),ac(re)),_.resolvedType=se;mi(re).resolvedSymbol=gt,mi(re.parent).resolvedSymbol=gt,$=gt}_.resolvedType=gLe(r,_,$,m)}}return _.resolvedType}function gLe(r,c,_,m){const b=Qc(_);return c.resolvedSymbol=b,m===111551?GFe(bn(_),r):oH(r,b)}function yLe(r){const c=mi(r);if(!c.resolvedType){const _=rC(r);if($1(r.symbol).size===0&&!_)c.resolvedType=Nl;else{let m=$u(16,r.symbol);m.aliasSymbol=_,m.aliasTypeArguments=VE(_),z4(r)&&r.isArrayType&&(m=mf(m)),c.resolvedType=m}}return c.resolvedType}function rC(r){let c=r.parent;for(;Dw(c)||Zx(c)||Nw(c)&&c.operator===148;)c=c.parent;return h5(c)?Yn(c):void 0}function VE(r){return r?z1(r):void 0}function pH(r){return!!(r.flags&524288)&&!Vp(r)}function Qpe(r){return wy(r)||!!(r.flags&474058748)}function Ype(r,c){if(!(r.flags&1048576))return r;if(ot(r.types,Qpe))return Ve(r.types,wy)||ga;const _=Ve(r.types,x=>!Qpe(x));if(!_||Ve(r.types,x=>x!==_&&!Qpe(x)))return r;return b(_);function b(x){const P=za();for(const $ of zo(x))if(!(pd($)&24)){if(dH($)){const re=$.flags&65536&&!($.flags&32768),Ee=No(16777220,$.escapedName,ape($)|(c?8:0));Ee.links.type=re?Fe:Xa(bn($),!0),Ee.declarations=$.declarations,Ee.links.nameType=ms($).nameType,Ee.links.syntheticOrigin=$,P.set($.escapedName,Ee)}}const J=ul(x.symbol,P,ft,ft,Lf(x));return J.objectFlags|=131200,J}}function q2(r,c,_,m,b){if(r.flags&1||c.flags&1)return dt;if(r.flags&2||c.flags&2)return mt;if(r.flags&131072)return c;if(c.flags&131072)return r;if(r=Ype(r,b),r.flags&1048576)return yM([r,c])?kc(r,re=>q2(re,c,_,m,b)):se;if(c=Ype(c,b),c.flags&1048576)return yM([r,c])?kc(c,re=>q2(r,re,_,m,b)):se;if(c.flags&473960444)return r;if($2(r)||$2(c)){if(wy(r))return c;if(r.flags&2097152){const re=r.types,oe=re[re.length-1];if(pH(oe)&&pH(c))return co(wr(re.slice(0,re.length-1),[q2(oe,c,_,m,b)]))}return co([r,c])}const x=za(),P=new Set,J=r===ga?Lf(c):t9e([r,c]);for(const re of zo(c))pd(re)&24?P.add(re.escapedName):dH(re)&&x.set(re.escapedName,Zpe(re,b));for(const re of zo(r))if(!(P.has(re.escapedName)||!dH(re)))if(x.has(re.escapedName)){const oe=x.get(re.escapedName),Ee=bn(oe);if(oe.flags&16777216){const Le=wr(re.declarations,oe.declarations),We=4|re.flags&16777216,gt=No(We,re.escapedName),$t=bn(re),Vr=MH($t),Zr=MH(Ee);gt.links.type=Vr===Zr?$t:Ti([$t,Zr],2),gt.links.leftSpread=re,gt.links.rightSpread=oe,gt.declarations=Le,gt.links.nameType=ms(re).nameType,x.set(re.escapedName,gt)}}else x.set(re.escapedName,Zpe(re,b));const $=ul(_,x,ft,ft,$s(J,re=>J1t(re,b)));return $.objectFlags|=2228352|m,$}function dH(r){var c;return!Ne(r.declarations,s_)&&(!(r.flags&106496)||!((c=r.declarations)!=null&&c.some(_=>Ri(_.parent))))}function Zpe(r,c){const _=r.flags&65536&&!(r.flags&32768);if(!_&&c===Sm(r))return r;const m=4|r.flags&16777216,b=No(m,r.escapedName,ape(r)|(c?8:0));return b.links.type=_?Fe:bn(r),b.declarations=r.declarations,b.links.nameType=ms(r).nameType,b.links.syntheticOrigin=r,b}function J1t(r,c){return r.isReadonly!==c?Nh(r.keyType,r.type,c,r.declaration):r}function bM(r,c,_,m){const b=hy(r,_);return b.value=c,b.regularType=m||b,b}function $E(r){if(r.flags&2976){if(!r.freshType){const c=bM(r.flags,r.value,r.symbol,r);c.freshType=c,r.freshType=c}return r.freshType}return r}function Kf(r){return r.flags&2976?r.regularType:r.flags&1048576?r.regularType||(r.regularType=kc(r,Kf)):r}function W2(r){return!!(r.flags&2976)&&r.freshType===r}function X_(r){let c;return Ji.get(r)||(Ji.set(r,c=bM(128,r)),c)}function vm(r){let c;return ws.get(r)||(ws.set(r,c=bM(256,r)),c)}function mH(r){let c;const _=$T(r);return ui.get(_)||(ui.set(_,c=bM(2048,r)),c)}function U1t(r,c,_){let m;const b=`${c}${typeof r=="string"?"@":"#"}${r}`,x=1024|(typeof r=="string"?128:256);return Pt.get(b)||(Pt.set(b,m=bM(x,r,_)),m)}function z1t(r){if(r.literal.kind===106)return Gn;const c=mi(r);return c.resolvedType||(c.resolvedType=Kf(Bs(r.literal))),c.resolvedType}function V1t(r){const c=hy(8192,r);return c.escapedName=`__@${c.symbol.escapedName}@${vo(c.symbol)}`,c}function Kpe(r){if(lTe(r)){const c=Pj(r)?Up(r.left):Up(r);if(c){const _=ms(c);return _.uniqueESSymbolType||(_.uniqueESSymbolType=V1t(c))}}return Qt}function $1t(r){const c=y_(r,!1,!1),_=c&&c.parent;if(_&&(Ri(_)||_.kind===263)&&!Aa(c)&&(!El(c)||FT(r,c.body)))return h_(Yn(_)).thisType;if(_&&jo(_)&&Bn(_.parent)&&dl(_.parent)===6)return h_(Up(_.parent.left).parent).thisType;const m=r.flags&8388608?Qb(r):void 0;return m&&_c(m)&&Bn(m.parent)&&dl(m.parent)===3?h_(Up(m.parent.left).parent).thisType:rh(c)&&FT(r,c.body)?h_(Yn(c)).thisType:(rt(r,v.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface),se)}function hH(r){const c=mi(r);return c.resolvedType||(c.resolvedType=$1t(r)),c.resolvedType}function vLe(r){return Bi(TM(r.type)||r.type)}function TM(r){switch(r.kind){case 195:return TM(r.type);case 188:if(r.elements.length===1&&(r=r.elements[0],r.kind===190||r.kind===201&&r.dotDotDotToken))return TM(r.type);break;case 187:return r.elementType}}function q1t(r){const c=mi(r);return c.resolvedType||(c.resolvedType=r.dotDotDotToken?vLe(r):Xa(Bi(r.type),!0,!!r.questionToken))}function Bi(r){return C0t(bLe(r),r)}function bLe(r){switch(r.kind){case 133:case 318:case 319:return dt;case 159:return mt;case 154:return L;case 150:return Se;case 162:return pe;case 136:return vt;case 155:return Qt;case 116:return ht;case 157:return Fe;case 106:return Gn;case 146:return Vt;case 151:return r.flags&262144&&!we?dt:Vi;case 141:return ae;case 196:case 110:return hH(r);case 200:return z1t(r);case 182:return Ipe(r);case 181:return r.assertsModifier?ht:vt;case 232:return Ipe(r);case 185:return N9e(r);case 187:case 188:return K0t(r);case 189:return n1t(r);case 191:return u1t(r);case 192:return y1t(r);case 320:return w0t(r);case 322:return Xa(Bi(r.type));case 201:return q1t(r);case 195:case 321:case 315:return Bi(r.type);case 190:return vLe(r);case 324:return JCt(r);case 183:case 184:case 186:case 328:case 323:case 329:return yLe(r);case 197:return k1t(r);case 198:return _Le(r);case 199:return Gpe(r);case 193:return R1t(r);case 194:return B1t(r);case 202:return C1t(r);case 204:return j1t(r);case 80:case 165:case 210:const c=Wd(r);return c?yc(c):se;default:return se}}function gH(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 P=m===0?[]:r.slice(0,m);for(P.push(x),m++;m<r.length;m++)P.push(_(r[m],c));return P}}return r}function D0(r,c){return gH(r,c,Ps)}function yH(r,c){return gH(r,c,qE)}function TLe(r,c){return gH(r,c,ivt)}function P_(r,c){return r.length===1?H2(r[0],c?c[0]:dt):W1t(r,c)}function xb(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]:dt;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 _=xb(r,c.mapper1);return _!==r&&c.kind===4?Ps(_,c.mapper2):xb(_,c.mapper2)}}function H2(r,c){return R.attachDebugPrototypeIfDebug({kind:0,source:r,target:c})}function W1t(r,c){return R.attachDebugPrototypeIfDebug({kind:1,sources:r,targets:c})}function SM(r,c){return R.attachDebugPrototypeIfDebug({kind:3,func:r,debugInfo:R.isDebugging?c:void 0})}function ede(r,c){return R.attachDebugPrototypeIfDebug({kind:2,sources:r,targets:c})}function vH(r,c,_){return R.attachDebugPrototypeIfDebug({kind:r,mapper1:c,mapper2:_})}function SLe(r){return P_(r,void 0)}function H1t(r,c){const _=r.inferences.slice(c);return P_(qt(_,m=>m.typeParameter),qt(_,()=>mt))}function kb(r,c){return r?vH(4,r,c):c}function G1t(r,c){return r?vH(5,r,c):c}function nC(r,c,_){return _?vH(5,H2(r,c),_):H2(r,c)}function fN(r,c,_){return r?vH(5,r,H2(c,_)):H2(c,_)}function X1t(r){return!r.constraint&&!Ape(r)||r.constraint===Gc?r:r.restrictiveInstantiation||(r.restrictiveInstantiation=Sd(r.symbol),r.restrictiveInstantiation.constraint=Gc,r.restrictiveInstantiation)}function bH(r){const c=Sd(r.symbol);return c.target=r,c}function Q1t(r,c){return dM(r.kind,r.parameterName,r.parameterIndex,Ps(r.type,c))}function qE(r,c,_){let m;if(r.typeParameters&&!_){m=qt(r.typeParameters,bH),c=kb(P_(r.typeParameters,m),c);for(const x of m)x.mapper=c}const b=Ag(r.declaration,m,r.thisParameter&&tde(r.thisParameter,c),gH(r.parameters,c,tde),void 0,void 0,r.minArgumentCount,r.flags&39);return b.target=r,b.mapper=c,b}function tde(r,c){const _=ms(r);if(_.type&&!Y2(_.type))return r;ml(r)&1&&(r=_.target,c=kb(_.mapper,c));const m=No(r.flags,r.escapedName,1|ml(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 Y1t(r,c,_,m){const b=r.objectFlags&4||r.objectFlags&8388608?r.node:r.symbol.declarations[0],x=mi(b),P=r.objectFlags&4?x.resolvedType:r.objectFlags&64?r.target:r;let J=x.outerTypeParameters;if(!J){let $=FA(b,!0);if(rh(b)){const oe=h9e(b);$=Pi($,oe)}J=$||ft;const re=r.objectFlags&8388612?[b]:r.symbol.declarations;J=(P.objectFlags&8388612||P.symbol.flags&8192||P.symbol.flags&2048)&&!P.aliasTypeArguments?gr(J,oe=>Ne(re,Ee=>xM(oe,Ee))):J,x.outerTypeParameters=J}if(J.length){const $=kb(r.mapper,c),re=qt(J,gt=>xb(gt,$)),oe=_||r.aliasSymbol,Ee=_?m:D0(r.aliasTypeArguments,c),Le=wd(re)+eC(oe,Ee);P.instantiations||(P.instantiations=new Map,P.instantiations.set(wd(J)+eC(P.aliasSymbol,P.aliasTypeArguments),P));let We=P.instantiations.get(Le);if(!We){const gt=P_(J,re);We=P.objectFlags&4?Ppe(r.target,r.node,gt,oe,Ee):P.objectFlags&32?xLe(P,gt,oe,Ee):nde(P,gt,oe,Ee),We.flags&138117121&&!(We.objectFlags&524288)&&(We.objectFlags|=524288|(Ne(re,Y2)?1048576:0)),P.instantiations.set(Le,We)}return We}return r}function Z1t(r){return!(r.parent.kind===182&&r.parent.typeArguments&&r===r.parent.typeName||r.parent.kind===204&&r.parent.typeArguments&&r===r.parent.qualifier)}function xM(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===240||b.kind===193&&_a(b.extendsType,_))return!0;return _(c)}return!0;function _(m){switch(m.kind){case 196:return!!r.isThisType;case 80:return!r.isThisType&&Gg(m)&&Z1t(m)&&bLe(m)===r;case 185:const b=m.exprName,x=Np(b);if(!JT(x)){const P=$d(x),J=r.symbol.declarations[0],$=J.kind===167?J.parent:r.isThisType?J:void 0;if(P.declarations&&$)return Ne(P.declarations,re=>FT(re,$))||Ne(m.typeArguments,_)}return!0;case 173:case 172:return!m.type&&!!m.body||Ne(m.typeParameters,_)||Ne(m.parameters,_)||!!m.type&&_(m.type)}return!!_a(m,_)}}function TH(r){const c=Ym(r);if(c.flags&4194304){const _=Y1(c.type);if(_.flags&262144)return _}}function xLe(r,c,_,m){const b=TH(r);if(b){const x=Ps(b,c);if(b!==x)return kMe(gm(x),P=>{if(P.flags&61603843&&P!==rr&&!Ro(P)){if(!r.declaration.nameType){let J;if(rd(P)||P.flags&1&&S0(b,4)<0&&(J=If(b))&&qd(J,X2))return evt(P,r,nC(b,P,c));if(N0(P))return K1t(P,r,b,c);if(uo(P))return tvt(P,r,nC(b,P,c))}return nde(r,nC(b,P,c))}return P},_,m)}return Ps(Ym(r),c)===rr?rr:nde(r,c,_,m)}function rde(r,c){return c&1?!0:c&2?!1:r}function K1t(r,c,_,m){const b=r.target.elementFlags,x=qt(G1(r),(J,$)=>{const re=b[$]&8?J:b[$]&4?mf(J):ym([J],[b[$]]);return xLe(c,nC(_,re,m))}),P=rde(r.target.readonly,Ph(c));return ym(x,qt(x,J=>8),P)}function evt(r,c,_){const m=kLe(c,Se,!0,_);return Ro(m)?se:mf(m,rde($A(r),Ph(c)))}function tvt(r,c,_){const m=r.target.elementFlags,b=qt(G1(r),($,re)=>kLe(c,X_(""+re),!!(m[re]&2),_)),x=Ph(c),P=x&4?qt(m,$=>$&1?2:$):x&8?qt(m,$=>$&2?1:$):m,J=rde(r.target.readonly,x);return kt(b,se)?se:ym(b,P,J,r.target.labeledElementDeclarations)}function kLe(r,c,_,m){const b=fN(m,mm(r),c),x=Ps(Ty(r.target||r),b),P=Ph(r);return K&&P&4&&!Yc(x,49152)?I0(x,!0):K&&P&8&&_?Ed(x,524288):x}function nde(r,c,_,m){const b=$u(r.objectFlags&-1572865|64,r.symbol);if(r.objectFlags&32){b.declaration=r.declaration;const x=mm(r),P=bH(x);b.typeParameter=P,c=kb(H2(x,P),c),P.mapper=c}return r.objectFlags&8388608&&(b.node=r.node),b.target=r,b.mapper=c,b.aliasSymbol=_||r.aliasSymbol,b.aliasTypeArguments=_?m:D0(r.aliasTypeArguments,c),b.objectFlags|=b.aliasTypeArguments?mM(b.aliasTypeArguments):0,b}function ide(r,c,_,m){const b=r.root;if(b.outerTypeParameters){const x=qt(b.outerTypeParameters,$=>xb($,c)),P=wd(x)+eC(_,m);let J=b.instantiations.get(P);if(!J){const $=P_(b.outerTypeParameters,x),re=b.checkType,oe=b.isDistributive?xb(re,$):void 0;J=oe&&re!==oe&&oe.flags&1179648?kMe(gm(oe),Ee=>Xpe(b,nC(re,Ee,$)),_,m):Xpe(b,$,_,m),b.instantiations.set(P,J)}return J}return r}function Ps(r,c){return r&&c?CLe(r,c,void 0,void 0):r}function CLe(r,c,_,m){var b;if(!Y2(r))return r;if(M===100||O>=5e6)return(b=qi)==null||b.instant(qi.Phase.CheckTypes,"instantiateType_DepthLimit",{typeId:r.id,instantiationDepth:M,instantiationCount:O}),rt(B,v.Type_instantiation_is_excessively_deep_and_possibly_infinite),se;D++,O++,M++;const x=rvt(r,c,_,m);return M--,x}function rvt(r,c,_,m){const b=r.flags;if(b&262144)return xb(r,c);if(b&524288){const x=r.objectFlags;if(x&52){if(x&4&&!r.node){const P=r.resolvedTypeArguments,J=D0(P,c);return J!==P?jpe(r.target,J):r}return x&1024?nvt(r,c):Y1t(r,c,_,m)}return r}if(b&3145728){const x=r.flags&1048576?r.origin:void 0,P=x&&x.flags&3145728?x.types:r.types,J=D0(P,c);if(J===P&&_===r.aliasSymbol)return r;const $=_||r.aliasSymbol,re=_?m:D0(r.aliasTypeArguments,c);return b&2097152||x&&x.flags&2097152?co(J,$,re):Ti(J,1,$,re)}if(b&4194304)return Km(Ps(r.type,c));if(b&134217728)return $S(r.texts,D0(r.types,c));if(b&268435456)return tC(r.symbol,Ps(r.type,c));if(b&8388608){const x=_||r.aliasSymbol,P=_?m:D0(r.aliasTypeArguments,c);return A_(Ps(r.objectType,c),Ps(r.indexType,c),r.accessFlags,void 0,x,P)}if(b&16777216)return ide(r,kb(r.mapper,c),_,m);if(b&33554432){const x=Ps(r.baseType,c),P=Ps(r.constraint,c);return x.flags&8650752&&UA(P)?Dpe(x,P):P.flags&3||lo(qS(x),qS(P))?x:x.flags&8650752?Dpe(x,P):co([P,x])}return r}function nvt(r,c){const _=Ps(r.mappedType,c);if(!(vi(_)&32))return r;const m=Ps(r.constraintType,c);if(!(m.flags&4194304))return r;const b=tMe(Ps(r.source,c),_,m);return b||r}function SH(r){return r.flags&402915327?r:r.permissiveInstantiation||(r.permissiveInstantiation=Ps(r,Zs))}function qS(r){return r.flags&402915327?r:(r.restrictiveInstantiation||(r.restrictiveInstantiation=Ps(r,Li),r.restrictiveInstantiation.restrictiveInstantiation=r.restrictiveInstantiation),r.restrictiveInstantiation)}function ivt(r,c){return Nh(r.keyType,Ps(r.type,c),r.isReadonly,r.declaration)}function ed(r){switch(R.assert(r.kind!==173||Zd(r)),r.kind){case 217:case 218:case 173:case 261:return wLe(r);case 209:return Ne(r.properties,ed);case 208:return Ne(r.elements,ed);case 226:return ed(r.whenTrue)||ed(r.whenFalse);case 225:return(r.operatorToken.kind===57||r.operatorToken.kind===61)&&(ed(r.left)||ed(r.right));case 302:return ed(r.initializer);case 216:return ed(r.expression);case 291:return Ne(r.properties,ed)||vh(r.parent)&&Ne(r.parent.parent.children,ed);case 290:{const{initializer:c}=r;return!!c&&ed(c)}case 293:{const{expression:c}=r;return!!c&&ed(c)}}return!1}function wLe(r){return CJ(r)||svt(r)}function svt(r){return r.typeParameters||Am(r)||!r.body?!1:r.body.kind!==240?ed(r.body):!!OT(r.body,c=>!!c.expression&&ed(c.expression))}function xH(r){return(C4(r)||Zd(r))&&wLe(r)}function ELe(r){if(r.flags&524288){const c=hm(r);if(c.constructSignatures.length||c.callSignatures.length){const _=$u(16,r.symbol);return _.members=c.members,_.properties=c.properties,_.callSignatures=ft,_.constructSignatures=ft,_.indexInfos=ft,_}}else if(r.flags&2097152)return co(qt(r.types,ELe));return r}function Cy(r,c){return eh(r,c,w_)}function _N(r,c){return eh(r,c,w_)?-1:0}function sde(r,c){return eh(r,c,__)?-1:0}function avt(r,c){return eh(r,c,kh)?-1:0}function Z1(r,c){return eh(r,c,kh)}function ALe(r,c){return eh(r,c,Zp)}function lo(r,c){return eh(r,c,__)}function G2(r,c){return r.flags&1048576?ot(r.types,_=>G2(_,c)):c.flags&1048576?Ne(c.types,_=>G2(r,_)):r.flags&2097152?Ne(r.types,_=>G2(_,c)):r.flags&58982400?G2(Of(r)||mt,c):Ey(c)?!!(r.flags&67633152):c===cl?!!(r.flags&67633152)&&!Ey(r):c===Mo?!!(r.flags&524288)&&Jde(r):OE(r,IE(c))||rd(c)&&!$A(c)&&G2(r,wu)}function kH(r,c){return eh(r,c,C_)}function kM(r,c){return kH(r,c)||kH(c,r)}function D_(r,c,_,m,b,x){return td(r,c,__,_,m,b,x)}function K1(r,c,_,m,b,x){return ade(r,c,__,_,m,b,x,void 0)}function ade(r,c,_,m,b,x,P,J){return eh(r,c,_)?!0:!m||!pN(b,r,c,_,x,P,J)?td(r,c,_,m,x,P,J):!1}function PLe(r){return!!(r.flags&16777216||r.flags&2097152&&Ne(r.types,PLe))}function pN(r,c,_,m,b,x,P){if(!r||PLe(_))return!1;if(!td(c,_,m,void 0)&&ovt(r,c,_,m,b,x,P))return!0;switch(r.kind){case 293:case 216:return pN(r.expression,c,_,m,b,x,P);case 225:switch(r.operatorToken.kind){case 64:case 28:return pN(r.right,c,_,m,b,x,P)}break;case 209:return mvt(r,c,_,m,x,P);case 208:return pvt(r,c,_,m,x,P);case 291:return _vt(r,c,_,m,x,P);case 218:return cvt(r,c,_,m,x,P)}return!1}function ovt(r,c,_,m,b,x,P){const J=Ca(c,0),$=Ca(c,1);for(const re of[$,J])if(Ne(re,oe=>{const Ee=Vo(oe);return!(Ee.flags&131073)&&td(Ee,_,m,void 0)})){const oe=P||{};D_(c,_,r,b,x,oe);const Ee=oe.errors[oe.errors.length-1];return ho(Ee,ei(r,re===$?v.Did_you_mean_to_use_new_with_this_expression:v.Did_you_mean_to_call_this_expression)),!0}return!1}function cvt(r,c,_,m,b,x){if(Pa(r.body)||Ne(r.parameters,_j))return!1;const P=oC(c);if(!P)return!1;const J=Ca(_,0);if(!G(J))return!1;const $=r.body,re=Vo(P),oe=Ti(qt(J,Vo));if(!td(re,oe,m,void 0)){const Ee=$&&pN($,re,oe,m,void 0,b,x);if(Ee)return Ee;const Le=x||{};if(td(re,oe,m,$,void 0,b,Le),Le.errors)return _.symbol&&G(_.symbol.declarations)&&ho(Le.errors[Le.errors.length-1],ei(_.symbol.declarations[0],v.The_expected_type_comes_from_the_return_type_of_this_signature)),!(Fu(r)&2)&&!Ll(re,"then")&&td(eF(re),oe,m,void 0)&&ho(Le.errors[Le.errors.length-1],ei(r,v.Did_you_mean_to_mark_this_function_as_async)),!0}return!1}function DLe(r,c,_){const m=Q1(c,_);if(m)return m;if(c.flags&1048576){const b=BLe(r,c);if(b)return Q1(b,_)}}function NLe(r,c){zM(r,c,!1);const _=r3(r,1);return kN(),_}function CM(r,c,_,m,b,x){let P=!1;for(const J of r){const{errorNode:$,innerExpression:re,nameType:oe,errorMessage:Ee}=J;let Le=DLe(c,_,oe);if(!Le||Le.flags&8388608)continue;let We=Q1(c,oe);if(!We)continue;const gt=fH(oe,void 0);if(!td(We,Le,m,void 0)){const $t=re&&pN(re,We,Le,m,void 0,b,x);if(P=!0,!$t){const Vr=x||{},Zr=re?NLe(re,We):We;if(Ke&&wH(Zr,Le)){const Tn=ei($,v.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,jt(Zr),jt(Le));Do.add(Tn),Vr.errors=[Tn]}else{const Tn=!!(gt&&($a(_,gt)||qr).flags&16777216),xr=!!(gt&&($a(c,gt)||qr).flags&16777216);Le=WS(Le,Tn),We=WS(We,Tn&&xr),td(Zr,Le,m,$,Ee,b,Vr)&&Zr!==We&&td(We,Le,m,$,Ee,b,Vr)}if(Vr.errors){const Tn=Vr.errors[Vr.errors.length-1],xr=Eg(oe)?Qm(oe):void 0,Sr=xr!==void 0?$a(_,xr):void 0;let Jn=!1;if(!Sr){const Pr=pM(_,oe);Pr&&Pr.declaration&&!pn(Pr.declaration).hasNoDefaultLib&&(Jn=!0,ho(Tn,ei(Pr.declaration,v.The_expected_type_comes_from_this_index_signature)))}if(!Jn&&(Sr&&G(Sr.declarations)||_.symbol&&G(_.symbol.declarations))){const Pr=Sr&&G(Sr.declarations)?Sr.declarations[0]:_.symbol.declarations[0];pn(Pr).hasNoDefaultLib||ho(Tn,ei(Pr,v.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,xr&&!(oe.flags&8192)?xs(xr):jt(oe),jt(_)))}}}}}return P}function lvt(r,c,_,m,b,x){const P=tu(_,IH),J=tu(_,oe=>!IH(oe)),$=J!==Vt?nhe(13,0,J,void 0):void 0;let re=!1;for(let oe=r.next();!oe.done;oe=r.next()){const{errorNode:Ee,innerExpression:Le,nameType:We,errorMessage:gt}=oe.value;let $t=$;const Vr=P!==Vt?DLe(c,P,We):void 0;if(Vr&&!(Vr.flags&8388608)&&($t=$?Ti([$,Vr]):Vr),!$t)continue;let Zr=Q1(c,We);if(!Zr)continue;const Tn=fH(We,void 0);if(!td(Zr,$t,m,void 0)){const xr=Le&&pN(Le,Zr,$t,m,void 0,b,x);if(re=!0,!xr){const Sr=x||{},Jn=Le?NLe(Le,Zr):Zr;if(Ke&&wH(Jn,$t)){const Pr=ei(Ee,v.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,jt(Jn),jt($t));Do.add(Pr),Sr.errors=[Pr]}else{const Pr=!!(Tn&&($a(P,Tn)||qr).flags&16777216),Xr=!!(Tn&&($a(c,Tn)||qr).flags&16777216);$t=WS($t,Pr),Zr=WS(Zr,Pr&&Xr),td(Jn,$t,m,Ee,gt,b,Sr)&&Jn!==Zr&&td(Zr,$t,m,Ee,gt,b,Sr)}}}}return re}function*uvt(r){if(G(r.properties))for(const c of r.properties)Bw(c)||ime(Z5(c.name))||(yield{errorNode:c.name,innerExpression:c.initializer,nameType:X_(Z5(c.name))})}function*fvt(r,c){if(!G(r.children))return;let _=0;for(let m=0;m<r.children.length;m++){const b=r.children[m],x=vm(m-_),P=ILe(b,x,c);P?yield P:_++}}function ILe(r,c,_){switch(r.kind){case 293:return{errorNode:r,innerExpression:r.expression,nameType:c};case 12:if(r.containsOnlyTriviaWhiteSpaces)break;return{errorNode:r,innerExpression:void 0,nameType:c,errorMessage:_()};case 283:case 284:case 287:return{errorNode:r,innerExpression:r,nameType:c};default:return R.assertNever(r,"Found invalid jsx child")}}function _vt(r,c,_,m,b,x){let P=CM(uvt(r),c,_,m,b,x),J;if(vh(r.parent)&&iy(r.parent.parent)){const re=r.parent.parent,oe=$M(ZS(r)),Ee=oe===void 0?"children":xs(oe),Le=X_(Ee),We=A_(_,Le),gt=MP(re.children);if(!G(gt))return P;const $t=G(gt)>1;let Vr,Zr;if(Mpe(!1)!==Ns){const xr=z9e(dt);Vr=tu(We,Sr=>lo(Sr,xr)),Zr=tu(We,Sr=>!lo(Sr,xr))}else Vr=tu(We,IH),Zr=tu(We,xr=>!IH(xr));if($t){if(Vr!==Vt){const xr=ym(rG(re,0)),Sr=fvt(re,$);P=lvt(Sr,xr,Vr,m,b,x)||P}else if(!eh(A_(c,Le),We,m)){P=!0;const xr=rt(re.openingElement.tagName,v.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,Ee,jt(We));x&&x.skipLogging&&(x.errors||(x.errors=[])).push(xr)}}else if(Zr!==Vt){const xr=gt[0],Sr=ILe(xr,Le,$);Sr&&(P=CM(function*(){yield Sr}(),c,_,m,b,x)||P)}else if(!eh(A_(c,Le),We,m)){P=!0;const xr=rt(re.openingElement.tagName,v.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,Ee,jt(We));x&&x.skipLogging&&(x.errors||(x.errors=[])).push(xr)}}return P;function $(){if(!J){const re=iu(r.parent.tagName),oe=$M(ZS(r)),Ee=oe===void 0?"children":xs(oe),Le=A_(_,X_(Ee)),We=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={...We,key:"!!ALREADY FORMATTED!!",message:Ate(void 0,We,re,Ee,jt(Le))}}return J}}function*OLe(r,c){const _=G(r.elements);if(_)for(let m=0;m<_;m++){if(qA(c)&&!$a(c,""+m))continue;const b=r.elements[m];if(bu(b))continue;const x=vm(m);yield{errorNode:b,innerExpression:b,nameType:x}}}function pvt(r,c,_,m,b,x){if(_.flags&402915324)return!1;if(qA(c))return CM(OLe(r,_),c,_,m,b,x);zM(r,_,!1);const P=YMe(r,1,!0);return kN(),qA(P)?CM(OLe(r,_),P,_,m,b,x):!1}function*dvt(r){if(G(r.properties))for(const c of r.properties){if(ZT(c))continue;const _=JA(Yn(c),8576);if(!(!_||_.flags&131072))switch(c.kind){case 177:case 176:case 173:case 303:yield{errorNode:c.name,innerExpression:void 0,nameType:_};break;case 302:yield{errorNode:c.name,innerExpression:c.initializer,nameType:_,errorMessage:QI(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 mvt(r,c,_,m,b,x){return _.flags&402915324?!1:CM(dvt(r),c,_,m,b,x)}function LLe(r,c,_,m,b){return td(r,c,C_,_,m,b)}function hvt(r,c,_){return ode(r,c,_?4:0,!1,void 0,void 0,sde,void 0)!==0}function CH(r){if(!r.typeParameters&&(!r.thisParameter||qo(ZM(r.thisParameter)))&&r.parameters.length===1&&kf(r)){const c=ZM(r.parameters[0]);return!!((rd(c)?cc(c)[0]:c).flags&131073&&Vo(r).flags&3)}return!1}function ode(r,c,_,m,b,x,P,J){if(r===c||!(_&16&&CH(r))&&CH(c))return-1;if(_&16&&CH(r)&&!CH(c))return 0;const $=gp(c);if(!Oh(c)&&(_&8?Oh(r)||gp(r)>$:nh(r)>$))return m&&!(_&8)&&b(v.Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1,nh(r),$),0;r.typeParameters&&r.typeParameters!==c.typeParameters&&(c=v0t(c),r=AFe(r,c,void 0,P));const oe=gp(r),Ee=DN(r),Le=DN(c);(Ee||Le)&&Ps(Ee||Le,J);const We=c.declaration?c.declaration.kind:0,gt=!(_&3)&&ce&&We!==173&&We!==172&&We!==175;let $t=-1;const Vr=z2(r);if(Vr&&Vr!==ht){const xr=z2(c);if(xr){const Sr=!gt&&P(Vr,xr,!1)||P(xr,Vr,m);if(!Sr)return m&&b(v.The_this_types_of_each_signature_are_incompatible),0;$t&=Sr}}const Zr=Ee||Le?Math.min(oe,$):Math.max(oe,$),Tn=Ee||Le?Zr-1:-1;for(let xr=0;xr<Zr;xr++){const Sr=xr===Tn?AN(r,xr):KS(r,xr),Jn=xr===Tn?AN(c,xr):KS(c,xr);if(Sr&&Jn){const Pr=_&3?void 0:oC(Ay(Sr)),Xr=_&3?void 0:oC(Ay(Jn));let yi=Pr&&Xr&&!Cd(Pr)&&!Cd(Xr)&&(Ff(Sr)&50331648)===(Ff(Jn)&50331648)?ode(Xr,Pr,_&8|(gt?2:1),m,b,x,P,J):!(_&3)&&!gt&&P(Sr,Jn,!1)||P(Jn,Sr,m);if(yi&&_&8&&xr>=nh(r)&&xr<nh(c)&&P(Sr,Jn,!1)&&(yi=0),!yi)return m&&b(v.Types_of_parameters_0_and_1_are_incompatible,xs(e3(r,xr)),xs(e3(c,xr))),0;$t&=yi}}if(!(_&4)){const xr=kpe(c)?dt:c.declaration&&rh(c.declaration)?h_(Fo(c.declaration.symbol)):Vo(c);if(xr===ht||xr===dt)return $t;const Sr=kpe(r)?dt:r.declaration&&rh(r.declaration)?h_(Fo(r.declaration.symbol)):Vo(r),Jn=Cd(c);if(Jn){const Pr=Cd(r);if(Pr)$t&=gvt(Pr,Jn,m,b,P);else if(fTe(Jn))return m&&b(v.Signature_0_must_be_a_type_predicate,Tr(r)),0}else $t&=_&1&&P(xr,Sr,!1)||P(Sr,xr,m),!$t&&m&&x&&x(Sr,xr)}return $t}function gvt(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,d_(r),d_(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,d_(r),d_(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,d_(r),d_(c)),x}function yvt(r,c){const _=sN(r),m=sN(c),b=Vo(_),x=Vo(m);return x===ht||eh(x,b,__)||eh(b,x,__)?hvt(_,m,!0):!1}function cde(r){return r!==Wl&&r.properties.length===0&&r.callSignatures.length===0&&r.constructSignatures.length===0&&r.indexInfos.length===0}function wy(r){return r.flags&524288?!Vp(r)&&cde(hm(r)):r.flags&67108864?!0:r.flags&1048576?Ne(r.types,wy):r.flags&2097152?ot(r.types,wy):!1}function Ey(r){return!!(vi(r)&16&&(r.members&&cde(r)||r.symbol&&r.symbol.flags&2048&&$1(r.symbol).size===0))}function vvt(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&&Ne(c,Ey)?67108864:0)}return!!(r.objectFlags&67108864)}return!1}function zA(r){return!!((r.flags&1048576?r.types[0]:r).flags&32768)}function MLe(r){return r.flags&524288&&!Vp(r)&&zo(r).length===0&&Lf(r).length===1&&!!Pg(r,L)||r.flags&3145728&&ot(r.types,MLe)||!1}function lde(r,c,_){const m=r.flags&8?E_(r):r,b=c.flags&8?E_(c):c;if(m===b)return!0;if(m.escapedName!==b.escapedName||!(m.flags&256)||!(b.flags&256))return!1;const x=vo(m)+","+vo(b),P=uy.get(x);if(P!==void 0&&!(!(P&4)&&P&2&&_))return!!(P&1);const J=bn(b);for(const $ of zo(bn(m)))if($.flags&8){const re=$a(J,$.escapedName);if(!re||!(re.flags&8))return _?(_(v.Property_0_is_missing_in_type_1,xl($),jt(yc(b),void 0,64)),uy.set(x,6)):uy.set(x,2),!1}return uy.set(x,1),!0}function dN(r,c,_,m){const b=r.flags,x=c.flags;return x&1||b&131072||r===rr||x&2&&!(_===Zp&&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&&lde(r.symbol,c.symbol,m)||b&1024&&x&1024&&(b&1048576&&x&1048576&&lde(r.symbol,c.symbol,m)||b&2944&&x&2944&&r.value===c.value&&lde(r.symbol,c.symbol,m))||b&32768&&(!K&&!(x&3145728)||x&49152)||b&65536&&(!K&&!(x&3145728)||x&65536)||b&524288&&x&67108864&&!(_===Zp&&Ey(r)&&!(vi(r)&8192))||(_===__||_===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)||vvt(c)))}function eh(r,c,_){if(W2(r)&&(r=r.regularType),W2(c)&&(c=c.regularType),r===c)return!0;if(_!==w_){if(_===C_&&!(c.flags&131072)&&dN(c,r,_)||dN(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(dde(r,c,0,_,!1));if(m!==void 0)return!!(m&1)}return r.flags&469499904||c.flags&469499904?td(r,c,_,void 0):!1}function FLe(r,c){return vi(r)&2048&&ime(c.escapedName)}function wM(r,c){for(;;){const _=W2(r)?r.regularType:N0(r)?Tvt(r,c):vi(r)&4?r.node?A0(r.target,cc(r)):gde(r)||r:r.flags&3145728?bvt(r,c):r.flags&33554432?c?r.baseType:Npe(r):r.flags&25165824?ky(r,c):r;if(_===r)return _;r=_}}function bvt(r,c){const _=gm(r);if(_!==r)return _;if(r.flags&2097152&&Ne(r.types,Ey)){const m=$s(r.types,b=>wM(b,c));if(m!==r.types)return co(m)}return r}function Tvt(r,c){const _=G1(r),m=$s(_,b=>b.flags&25165824?ky(b,c):b);return _!==m?Jpe(r.target,m):r}function td(r,c,_,m,b,x,P){var J;let $,re,oe,Ee,Le,We=0,gt=0,$t=0,Vr=0,Zr=!1,Tn=0,xr,Sr;R.assert(_!==w_||!m,"no error reporting in identity checking");const Jn=Ms(r,c,3,!!m,b);if(Sr&&yi(),Zr){(J=qi)==null||J.instant(qi.Phase.CheckTypes,"checkTypeRelatedTo_DepthLimit",{sourceId:r.id,targetId:c.id,depth:gt,targetDepth:$t});const it=rt(m||B,v.Excessive_stack_depth_comparing_types_0_and_1,jt(r),jt(c));P&&(P.errors||(P.errors=[])).push(it)}else if($){if(x){const hr=x();hr&&(ESe(hr,$),$=hr)}let it;if(b&&m&&!Jn&&r.symbol){const hr=ms(r.symbol);if(hr.originatingImport&&!Dp(hr.originatingImport)&&td(bn(hr.target),c,_,void 0)){const Vn=ei(hr.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);it=zr(it,Vn)}}const It=Hy(pn(m),m,$,it);re&&ho(It,...re),P&&(P.errors||(P.errors=[])).push(It),(!P||!P.skipLogging)&&Do.add(It)}return m&&P&&P.skipLogging&&Jn===0&&R.assert(!!P.errors,"missed opportunity to interact with error."),Jn!==0;function Pr(it){$=it.errorInfo,xr=it.lastSkippedInfo,Sr=it.incompatibleStack,Tn=it.overrideNextErrorInfo,re=it.relatedInfo}function Xr(){return{errorInfo:$,lastSkippedInfo:xr,incompatibleStack:Sr==null?void 0:Sr.slice(),overrideNextErrorInfo:Tn,relatedInfo:re==null?void 0:re.slice()}}function un(it,...It){Tn++,xr=void 0,(Sr||(Sr=[])).push([it,...It])}function yi(){const it=Sr||[];Sr=void 0;const It=xr;if(xr=void 0,it.length===1){Mi(...it[0]),It&&La(void 0,...It);return}let hr="";const on=[];for(;it.length;){const[Vn,...Or]=it.pop();switch(Vn.code){case v.Types_of_property_0_are_incompatible.code:{hr.indexOf("new ")===0&&(hr=`(${hr})`);const Un=""+Or[0];hr.length===0?hr=`${Un}`:od(Un,Eo(Q))?hr=`${hr}.${Un}`:Un[0]==="["&&Un[Un.length-1]==="]"?hr=`${hr}${Un}`:hr=`${hr}[${Un}]`;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(hr.length===0){let Un=Vn;Vn.code===v.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?Un=v.Call_signature_return_types_0_and_1_are_incompatible:Vn.code===v.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code&&(Un=v.Construct_signature_return_types_0_and_1_are_incompatible),on.unshift([Un,Or[0],Or[1]])}else{const Un=Vn.code===v.Construct_signature_return_types_0_and_1_are_incompatible.code||Vn.code===v.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"new ":"",Ci=Vn.code===v.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code||Vn.code===v.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"":"...";hr=`${Un}${hr}(${Ci})`}break}case v.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code:{on.unshift([v.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,Or[0],Or[1]]);break}case v.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code:{on.unshift([v.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,Or[0],Or[1],Or[2]]);break}default:return R.fail(`Unhandled Diagnostic: ${Vn.code}`)}}hr?Mi(hr[hr.length-1]===")"?v.The_types_returned_by_0_are_incompatible_between_these_types:v.The_types_of_0_are_incompatible_between_these_types,hr):on.shift();for(const[Vn,...Or]of on){const Un=Vn.elidedInCompatabilityPyramid;Vn.elidedInCompatabilityPyramid=!1,Mi(Vn,...Or),Vn.elidedInCompatabilityPyramid=Un}It&&La(void 0,...It)}function Mi(it,...It){R.assert(!!m),Sr&&yi(),!it.elidedInCompatabilityPyramid&&($=ca($,it,...It))}function Ks(it){R.assert(!!$),re?re.push(it):re=[it]}function La(it,It,hr){Sr&&yi();const[on,Vn]=is(It,hr);let Or=It,Un=on;if(mN(It)&&!ude(hr)&&(Or=tv(It),R.assert(!lo(Or,hr),"generalized source shouldn't be assignable"),Un=Di(Or)),(hr.flags&8388608&&!(It.flags&8388608)?hr.objectType.flags:hr.flags)&262144&&hr!==Sc&&hr!==Jc){const Xi=Of(hr);let ra;Xi&&(lo(Or,Xi)||(ra=lo(It,Xi)))?Mi(v._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,ra?on:Un,Vn,jt(Xi)):($=void 0,Mi(v._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,Vn,Un))}if(it)it===v.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1&&Ke&&RLe(It,hr).length&&(it=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_)it=v.Type_0_is_not_comparable_to_type_1;else if(on===Vn)it=v.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated;else if(Ke&&RLe(It,hr).length)it=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(It.flags&128&&hr.flags&1048576){const Xi=CTt(It,hr);if(Xi){Mi(v.Type_0_is_not_assignable_to_type_1_Did_you_mean_2,Un,Vn,jt(Xi));return}}it=v.Type_0_is_not_assignable_to_type_1}Mi(it,Un,Vn)}function lu(it,It){const hr=Ts(it.symbol)?jt(it,it.symbol.valueDeclaration):jt(it),on=Ts(It.symbol)?jt(It,It.symbol.valueDeclaration):jt(It);(lp===it&&L===It||x_===it&&Se===It||De===it&&vt===It||B9e()===it&&Qt===It)&&Mi(v._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,on,hr)}function nd(it,It,hr){return uo(it)?it.target.readonly&&DH(It)?(hr&&Mi(v.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,jt(it),jt(It)),!1):X2(It):$A(it)&&DH(It)?(hr&&Mi(v.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,jt(it),jt(It)),!1):uo(It)?rd(it):!0}function $p(it,It,hr){return Ms(it,It,3,hr)}function Ms(it,It,hr=3,on=!1,Vn,Or=0){if(it===It)return-1;if(it.flags&524288&&It.flags&402784252)return _===C_&&!(It.flags&131072)&&dN(It,it,_)||dN(it,It,_,on?Mi:void 0)?-1:(on&&en(it,It,it,It,Vn),0);const Un=wM(it,!1);let Ci=wM(It,!0);if(Un===Ci)return-1;if(_===w_)return Un.flags!==Ci.flags?0:Un.flags&67358815?-1:(En(Un,Ci),fn(Un,Ci,!1,0,hr));if(Un.flags&262144&&US(Un)===Ci)return-1;if(Un.flags&470302716&&Ci.flags&1048576){const Xi=Ci.types,ra=Xi.length===2&&Xi[0].flags&98304?Xi[1]:Xi.length===3&&Xi[0].flags&98304&&Xi[1].flags&98304?Xi[2]:void 0;if(ra&&!(ra.flags&98304)&&(Ci=wM(ra,!0),Un===Ci))return-1}if(_===C_&&!(Ci.flags&131072)&&dN(Ci,Un,_)||dN(Un,Ci,_,on?Mi:void 0))return-1;if(Un.flags&469499904||Ci.flags&469499904){if(!(Or&2)&&wb(Un)&&vi(Un)&8192&&va(Un,Ci,on))return on&&La(Vn,Un,It.aliasSymbol?It:Ci),0;const ra=(_!==C_||bm(Un))&&!(Or&2)&&Un.flags&405405692&&Un!==cl&&Ci.flags&2621440&&jLe(Ci)&&(zo(Un).length>0||OG(Un)),Ea=!!(vi(Un)&2048);if(ra&&!xvt(Un,Ci,Ea)){if(on){const oa=jt(it.aliasSymbol?it:Un),to=jt(It.aliasSymbol?It:Ci),ro=Ca(Un,0),ec=Ca(Un,1);ro.length>0&&Ms(Vo(ro[0]),Ci,1,!1)||ec.length>0&&Ms(Vo(ec[0]),Ci,1,!1)?Mi(v.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,oa,to):Mi(v.Type_0_has_no_properties_in_common_with_type_1,oa,to)}return 0}En(Un,Ci);const Fi=Un.flags&1048576&&Un.types.length<4&&!(Ci.flags&1048576)||Ci.flags&1048576&&Ci.types.length<4&&!(Un.flags&469499904)?Ao(Un,Ci,on,Or):fn(Un,Ci,on,Or,hr);if(Fi)return Fi}return on&&en(it,It,Un,Ci,Vn),0}function en(it,It,hr,on,Vn){var Or,Un;const Ci=!!gde(it),Xi=!!gde(It);hr=it.aliasSymbol||Ci?it:hr,on=It.aliasSymbol||Xi?It:on;let ra=Tn>0;if(ra&&Tn--,hr.flags&524288&&on.flags&524288){const Ea=$;nd(hr,on,!0),$!==Ea&&(ra=!!$)}if(hr.flags&524288&&on.flags&402784252)lu(hr,on);else if(hr.symbol&&hr.flags&524288&&cl===hr)Mi(v.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(vi(hr)&2048&&on.flags&2097152){const Ea=on.types,ja=tT(Lp.IntrinsicAttributes,m),Fi=tT(Lp.IntrinsicClassAttributes,m);if(!Ro(ja)&&!Ro(Fi)&&(kt(Ea,ja)||kt(Ea,Fi)))return}else $=hpe($,It);if(!Vn&&ra){xr=[hr,on];return}if(La(Vn,hr,on),hr.flags&262144&&((Un=(Or=hr.symbol)==null?void 0:Or.declarations)!=null&&Un[0])&&!US(hr)){const Ea=bH(hr);if(Ea.constraint=Ps(on,H2(hr,Ea)),tN(Ea)){const ja=jt(on,hr.symbol.declarations[0]);Ks(ei(hr.symbol.declarations[0],v.This_type_parameter_might_need_an_extends_0_constraint,ja))}}}function En(it,It){if(qi&&it.flags&3145728&&It.flags&3145728){const hr=it,on=It;if(hr.objectFlags&on.objectFlags&32768)return;const Vn=hr.types.length,Or=on.types.length;Vn*Or>1e6&&qi.instant(qi.Phase.CheckTypes,"traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:it.id,sourceSize:Vn,targetId:It.id,targetSize:Or,pos:m==null?void 0:m.pos,end:m==null?void 0:m.end})}}function Is(it,It){return Ti(Uf(it,(on,Vn)=>{var Or;Vn=Zf(Vn);const Un=Vn.flags&3145728?dpe(Vn,It):J2(Vn,It),Ci=Un&&bn(Un)||((Or=RE(Vn,It))==null?void 0:Or.type)||Fe;return zr(on,Ci)},void 0)||ft)}function va(it,It,hr){var on;if(!WM(It)||!we&&vi(It)&4096)return!1;const Vn=!!(vi(it)&2048);if((_===__||_===C_)&&(SN(cl,It)||!Vn&&wy(It)))return!1;let Or=It,Un;It.flags&1048576&&(Or=HBe(it,It,Ms)||wEt(It),Un=Or.flags&1048576?Or.types:[Or]);for(const Ci of zo(it))if(Ls(Ci,it.symbol)&&!FLe(it,Ci)){if(!ome(Or,Ci.escapedName,Vn)){if(hr){const Xi=tu(Or,WM);if(!m)return R.fail();if(YT(m)||a_(m)||a_(m.parent)){Ci.valueDeclaration&&bh(Ci.valueDeclaration)&&pn(m)===pn(Ci.valueDeclaration.name)&&(m=Ci.valueDeclaration.name);const ra=Xe(Ci),Ea=TFe(ra,Xi),ja=Ea?Xe(Ea):void 0;ja?Mi(v.Property_0_does_not_exist_on_type_1_Did_you_mean_2,ra,jt(Xi),ja):Mi(v.Property_0_does_not_exist_on_type_1,ra,jt(Xi))}else{const ra=((on=it.symbol)==null?void 0:on.declarations)&&Hu(it.symbol.declarations);let Ea;if(Ci.valueDeclaration&&mn(Ci.valueDeclaration,ja=>ja===ra)&&pn(ra)===pn(m)){const ja=Ci.valueDeclaration;R.assertNode(ja,n1);const Fi=ja.name;m=Fi,He(Fi)&&(Ea=gme(Fi,Xi))}Ea!==void 0?Mi(v.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,Xe(Ci),jt(Xi),Ea):Mi(v.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Xe(Ci),jt(Xi))}}return!0}if(Un&&!Ms(bn(Ci),Is(Un,Ci.escapedName),3,hr))return hr&&un(v.Types_of_property_0_are_incompatible,Xe(Ci)),!0}return!1}function Ls(it,It){return it.valueDeclaration&&It.valueDeclaration&&it.valueDeclaration.parent===It.valueDeclaration}function Ao(it,It,hr,on){if(it.flags&1048576)return _===C_?e_(it,It,hr&&!(it.flags&402784252),on):Pe(it,It,hr&&!(it.flags&402784252),on);if(It.flags&1048576)return Fl(IM(it),It,hr&&!(it.flags&402784252)&&!(It.flags&402784252));if(It.flags&2097152)return bo(it,It,hr,2);if(_===C_&&It.flags&402784252){const Vn=$s(it.types,Or=>Or.flags&465829888?Of(Or)||mt:Or);if(Vn!==it.types){if(it=co(Vn),it.flags&131072)return 0;if(!(it.flags&2097152))return Ms(it,It,1,!1)||Ms(It,it,1,!1)}}return e_(it,It,!1,1)}function lc(it,It){let hr=-1;const on=it.types;for(const Vn of on){const Or=Fl(Vn,It,!1);if(!Or)return 0;hr&=Or}return hr}function Fl(it,It,hr){const on=It.types;if(It.flags&1048576){if(X1(on,it))return-1;if(_!==C_&&vi(It)&32768&&!(it.flags&1024)&&(it.flags&2688||(_===kh||_===Zp)&&it.flags&256)){const Or=it===it.regularType?it.freshType:it.regularType,Un=it.flags&128?L:it.flags&256?Se:it.flags&2048?pe:void 0;return Un&&X1(on,Un)||Or&&X1(on,Or)?-1:0}const Vn=_Me(It,it);if(Vn){const Or=Ms(it,Vn,2,!1);if(Or)return Or}}for(const Vn of on){const Or=Ms(it,Vn,2,!1);if(Or)return Or}if(hr){const Vn=BLe(it,It,Ms);Vn&&Ms(it,Vn,2,!0)}return 0}function bo(it,It,hr,on){let Vn=-1;const Or=It.types;for(const Un of Or){const Ci=Ms(it,Un,2,hr,void 0,on);if(!Ci)return 0;Vn&=Ci}return Vn}function e_(it,It,hr,on){const Vn=it.types;if(it.flags&1048576&&X1(Vn,It))return-1;const Or=Vn.length;for(let Un=0;Un<Or;Un++){const Ci=Ms(Vn[Un],It,1,hr&&Un===Or-1,void 0,on);if(Ci)return Ci}return 0}function Tt(it,It){return it.flags&1048576&&It.flags&1048576&&!(it.types[0].flags&32768)&&It.types[0].flags&32768?GA(It,-32769):It}function Pe(it,It,hr,on){let Vn=-1;const Or=it.types,Un=Tt(it,It);for(let Ci=0;Ci<Or.length;Ci++){const Xi=Or[Ci];if(Un.flags&1048576&&Or.length>=Un.types.length&&Or.length%Un.types.length===0){const Ea=Ms(Xi,Un.types[Ci%Un.types.length],3,!1,void 0,on);if(Ea){Vn&=Ea;continue}}const ra=Ms(Xi,It,1,hr,void 0,on);if(!ra)return 0;Vn&=ra}return Vn}function vn(it=ft,It=ft,hr=ft,on,Vn){if(it.length!==It.length&&_===w_)return 0;const Or=it.length<=It.length?it.length:It.length;let Un=-1;for(let Ci=0;Ci<Or;Ci++){const Xi=Ci<hr.length?hr[Ci]:1,ra=Xi&7;if(ra!==4){const Ea=it[Ci],ja=It[Ci];let Fi=-1;if(Xi&8?Fi=_===w_?Ms(Ea,ja,3,!1):_N(Ea,ja):ra===1?Fi=Ms(Ea,ja,3,on,void 0,Vn):ra===2?Fi=Ms(ja,Ea,3,on,void 0,Vn):ra===3?(Fi=Ms(ja,Ea,3,!1),Fi||(Fi=Ms(Ea,ja,3,on,void 0,Vn))):(Fi=Ms(Ea,ja,3,on,void 0,Vn),Fi&&(Fi&=Ms(ja,Ea,3,on,void 0,Vn))),!Fi)return 0;Un&=Fi}}return Un}function fn(it,It,hr,on,Vn){var Or,Un,Ci;if(Zr)return 0;const Xi=dde(it,It,on,_,!1),ra=_.get(Xi);if(ra!==void 0&&!(hr&&ra&2&&!(ra&4))){if(nn){const ro=ra&24;ro&8&&Ps(it,Za),ro&16&&Ps(it,ta)}return ra&1?-1:0}if(!oe)oe=[],Ee=[],Le=[];else{const ro=Xi.startsWith("*")?dde(it,It,on,_,!0):void 0;for(let ec=0;ec<We;ec++)if(Xi===oe[ec]||ro&&ro===oe[ec])return 3;if(gt===100||$t===100)return Zr=!0,0}const Ea=We;oe[We]=Xi,We++;const ja=Vr;Vn&1&&(Ee[gt]=it,gt++,!(Vr&1)&&VA(it,Ee,gt)&&(Vr|=1)),Vn&2&&(Le[$t]=It,$t++,!(Vr&2)&&VA(It,Le,$t)&&(Vr|=2));let Fi,oa=0;nn&&(Fi=nn,nn=ro=>(oa|=ro?16:8,Fi(ro)));let to;if(Vr===3?((Or=qi)==null||Or.instant(qi.Phase.CheckTypes,"recursiveTypeRelatedTo_DepthLimit",{sourceId:it.id,sourceIdStack:Ee.map(ro=>ro.id),targetId:It.id,targetIdStack:Le.map(ro=>ro.id),depth:gt,targetDepth:$t}),to=3):((Un=qi)==null||Un.push(qi.Phase.CheckTypes,"structuredTypeRelatedTo",{sourceId:it.id,targetId:It.id}),to=Xn(it,It,hr,on),(Ci=qi)==null||Ci.pop()),nn&&(nn=Fi),Vn&1&&gt--,Vn&2&&$t--,Vr=ja,to){if(to===-1||gt===0&&$t===0){if(to===-1||to===3)for(let ro=Ea;ro<We;ro++)_.set(oe[ro],1|oa);We=Ea}}else _.set(Xi,(hr?4:0)|2|oa),We=Ea;return to}function Xn(it,It,hr,on){const Vn=Xr();let Or=qn(it,It,hr,on,Vn);if(_!==w_){if(!Or&&(it.flags&2097152||it.flags&262144&&It.flags&1048576)){const Un=r0t(it.flags&2097152?it.types:[it],!!(It.flags&1048576));Un&&qd(Un,Ci=>Ci!==it)&&(Or=Ms(Un,It,1,!1,void 0,on))}Or&&!(on&2)&&It.flags&2097152&&!$2(It)&&it.flags&2621440?(Or&=fr(it,It,hr,void 0,!1,0),Or&&wb(it)&&vi(it)&8192&&(Or&=Ma(it,It,!1,hr,0))):Or&&pH(It)&&!X2(It)&&it.flags&2097152&&Zf(it).flags&3670016&&!Ne(it.types,Un=>Un===It||!!(vi(Un)&262144))&&(Or&=fr(it,It,hr,void 0,!0,on))}return Or&&Pr(Vn),Or}function qn(it,It,hr,on,Vn){let Or,Un,Ci=!1,Xi=it.flags;const ra=It.flags;if(_===w_){if(Xi&3145728){let Fi=lc(it,It);return Fi&&(Fi&=lc(It,it)),Fi}if(Xi&4194304)return Ms(it.type,It.type,3,!1);if(Xi&8388608&&(Or=Ms(it.objectType,It.objectType,3,!1))&&(Or&=Ms(it.indexType,It.indexType,3,!1))||Xi&16777216&&it.root.isDistributive===It.root.isDistributive&&(Or=Ms(it.checkType,It.checkType,3,!1))&&(Or&=Ms(it.extendsType,It.extendsType,3,!1))&&(Or&=Ms(Tb(it),Tb(It),3,!1))&&(Or&=Ms(Sb(it),Sb(It),3,!1))||Xi&33554432&&(Or=Ms(it.baseType,It.baseType,3,!1))&&(Or&=Ms(it.constraint,It.constraint,3,!1)))return Or;if(!(Xi&524288))return 0}else if(Xi&3145728||ra&3145728){if(Or=Ao(it,It,hr,on))return Or;if(!(Xi&465829888||Xi&524288&&ra&1048576||Xi&2097152&&ra&467402752))return 0}if(Xi&17301504&&it.aliasSymbol&&it.aliasTypeArguments&&it.aliasSymbol===It.aliasSymbol&&!(EH(it)||EH(It))){const Fi=JLe(it.aliasSymbol);if(Fi===ft)return 1;const oa=ms(it.aliasSymbol).typeParameters,to=Dh(oa),ro=W1(it.aliasTypeArguments,oa,to,Mn(it.aliasSymbol.valueDeclaration)),ec=W1(It.aliasTypeArguments,oa,to,Mn(it.aliasSymbol.valueDeclaration)),gf=ja(ro,ec,Fi,on);if(gf!==void 0)return gf}if(HLe(it)&&!it.target.readonly&&(Or=Ms(cc(it)[0],It,1))||HLe(It)&&(It.target.readonly||DH(Of(it)||it))&&(Or=Ms(it,cc(It)[0],2)))return Or;if(ra&262144){if(vi(it)&32&&!it.declaration.nameType&&Ms(Km(It),Ym(it),3)&&!(Ph(it)&4)){const Fi=Ty(it),oa=A_(It,mm(it));if(Or=Ms(Fi,oa,3,hr))return Or}if(_===C_&&Xi&262144){let Fi=If(it);if(Fi&&tN(it))for(;Fi&&O0(Fi,oa=>!!(oa.flags&262144));){if(Or=Ms(Fi,It,1,!1))return Or;Fi=If(Fi)}return 0}}else if(ra&4194304){const Fi=It.type;if(Xi&4194304&&(Or=Ms(Fi,it.type,3,!1)))return Or;if(uo(Fi)){if(Or=Ms(it,W9e(Fi),2,hr))return Or}else{const oa=lpe(Fi);if(oa){if(Ms(it,Km(oa,It.indexFlags|4),2,hr)===-1)return-1}else if(Vp(Fi)){const to=w0(Fi),ro=Ym(Fi);let ec;if(to&&uM(Fi)){const gf=Zf(eN(Fi)),xm=[];ope(gf,8576,!1,Og=>void xm.push(Ps(to,fN(Fi.mapper,mm(Fi),Og)))),ec=Ti([...xm,to])}else ec=to||ro;if(Ms(it,ec,2,hr)===-1)return-1}}}else if(ra&8388608){if(Xi&8388608){if((Or=Ms(it.objectType,It.objectType,3,hr))&&(Ps(it.objectType,ta),Or&=Ms(it.indexType,It.indexType,3,hr)),Or)return Or;hr&&(Un=$)}if(_===__||_===C_){const Fi=It.objectType,oa=It.indexType,to=Of(Fi)||Fi,ro=Of(oa)||oa;if(!$2(to)&&!bb(ro)){const ec=4|(to!==Fi?2:0),gf=Q1(to,ro,ec);if(gf){if(hr&&Un&&Pr(Vn),Or=Ms(it,gf,2,hr,void 0,on))return Or;hr&&Un&&$&&($=Ea([Un])<=Ea([$])?Un:$)}}}hr&&(Un=void 0)}else if(Vp(It)&&_!==w_){const Fi=!!It.declaration.nameType,oa=Ty(It),to=Ph(It);if(!(to&8)){if(!Fi&&oa.flags&8388608&&oa.objectType===it&&oa.indexType===mm(It))return-1;if(!Vp(it)){const ro=Fi?w0(It):Ym(It),ec=Km(it,2),gf=to&4,xm=gf?cM(ro,ec):void 0;if(gf?!(xm.flags&131072):Ms(ro,ec,3)){const Og=Ty(It),Ab=mm(It),uC=GA(Og,-98305);if(!Fi&&uC.flags&8388608&&uC.indexType===Ab){if(Or=Ms(it,uC.objectType,2,hr))return Or}else{const u3=Fi?xm||ro:xm?co([xm,Ab]):Ab,Lh=A_(it,u3);if(Or=Ms(Lh,Og,3,hr))return Or}}Un=$,Pr(Vn)}}}else if(ra&16777216){if(VA(It,Le,$t,10))return 3;const Fi=It;if(!Fi.root.inferTypeParameters&&!F1t(Fi.root)){const oa=!lo(SH(Fi.checkType),SH(Fi.extendsType)),to=!oa&&lo(qS(Fi.checkType),qS(Fi.extendsType));if((Or=oa?-1:Ms(it,Tb(Fi),2,!1,void 0,on))&&(Or&=to?-1:Ms(it,Sb(Fi),2,!1,void 0,on),Or))return Or}}else if(ra&134217728){if(Xi&134217728){if(_===C_)return lbt(it,It)?0:-1;Ps(it,ta)}if(Ode(it,It))return-1}else if(It.flags&268435456&&!(it.flags&268435456)&&Ide(it,It))return-1;if(Xi&8650752){if(!(Xi&8388608&&ra&8388608)){const Fi=US(it)||mt;if(Or=Ms(Fi,It,1,!1,void 0,on))return Or;if(Or=Ms(mp(Fi,it),It,1,hr&&Fi!==mt&&!(ra&Xi&262144),void 0,on))return Or;if(Xi&8388608){const oa=it.indexType;if(oa.flags&4194304){const to=Of(oa.type),ro=to&&to!==Gc?Km(to):Ys,ec=A_(it.objectType,ro);if(Or=Ms(ec,It,1,!1,void 0,on))return Or}}if(ppe(it)){const oa=US(it.indexType);if(oa&&(Or=Ms(A_(it.objectType,oa),It,1,hr)))return Or}}}else if(Xi&4194304){if(Or=Ms(Ys,It,1,hr))return Or}else if(Xi&134217728&&!(ra&524288)){if(!(ra&134217728)){const Fi=Of(it);if(Fi&&Fi!==it&&(Or=Ms(Fi,It,1,hr)))return Or}}else if(Xi&268435456)if(ra&268435456){if(it.symbol!==It.symbol)return 0;if(Or=Ms(it.type,It.type,3,hr))return Or}else{const Fi=Of(it);if(Fi&&(Or=Ms(Fi,It,1,hr)))return Or}else if(Xi&16777216){if(VA(it,Ee,gt,10))return 3;if(ra&16777216){const oa=it.root.inferTypeParameters;let to=it.extendsType,ro;if(oa){const ec=yN(oa,void 0,0,$p);Py(ec.inferences,It.extendsType,to,1536),to=Ps(to,ec.mapper),ro=ec.mapper}if(Cy(to,It.extendsType)&&(Ms(it.checkType,It.checkType,3)||Ms(It.checkType,it.checkType,3))&&((Or=Ms(Ps(Tb(it),ro),Tb(It),3,hr))&&(Or&=Ms(Sb(it),Sb(It),3,hr)),Or))return Or}else{const oa=tN(it)?c9e(it):void 0;if(oa&&(Or=Ms(oa,It,1,hr)))return Or}const Fi=upe(it);if(Fi&&(Or=Ms(Fi,It,1,hr)))return Or}else{if(_!==kh&&_!==Zp&&Qyt(It)&&wy(it))return-1;if(Vp(It))return Vp(it)&&(Or=aa(it,It,hr))?Or:0;const Fi=!!(Xi&402784252);if(_!==w_)it=Zf(it),Xi=it.flags;else if(Vp(it))return 0;if(vi(it)&4&&vi(It)&4&&it.target===It.target&&!uo(it)&&!(EH(it)||EH(It))){if(NH(it))return-1;const oa=_de(it.target);if(oa===ft)return 1;const to=ja(cc(it),cc(It),oa,on);if(to!==void 0)return to}else{if($A(It)?qd(it,X2):rd(It)&&qd(it,oa=>uo(oa)&&!oa.target.readonly))return _!==w_?Ms(E0(it,Se)||dt,E0(It,Se)||dt,3,hr):0;if(N0(it)&&uo(It)&&!N0(It)){const oa=Sy(it);if(oa!==it)return Ms(oa,It,1,hr)}else if((_===kh||_===Zp)&&wy(It)&&vi(It)&8192&&!wy(it))return 0}if(Xi&2621440&&ra&524288){const oa=hr&&$===Vn.errorInfo&&!Fi;if(Or=fr(it,It,oa,void 0,!1,on),Or&&(Or&=kn(it,It,0,oa,on),Or&&(Or&=kn(it,It,1,oa,on),Or&&(Or&=Ma(it,It,Fi,oa,on)))),Ci&&Or)$=Un||$||Vn.errorInfo;else if(Or)return Or}if(Xi&2621440&&ra&1048576){const oa=GA(It,36175872);if(oa.flags&1048576){const to=Qi(it,oa);if(to)return to}}}return 0;function Ea(Fi){return Fi?Uf(Fi,(oa,to)=>oa+1+Ea(to.next),0):0}function ja(Fi,oa,to,ro){if(Or=vn(Fi,oa,to,hr,ro))return Or;if(Ne(to,gf=>!!(gf&24))){Un=void 0,Pr(Vn);return}const ec=oa&&kvt(oa,to);if(Ci=!ec,to!==ft&&!ec){if(Ci&&!(hr&&Ne(to,gf=>(gf&7)===0)))return 0;Un=$,Pr(Vn)}}}function aa(it,It,hr){if(_===C_||(_===w_?Ph(it)===Ph(It):cpe(it)<=cpe(It))){let Vn;const Or=Ym(It),Un=Ps(Ym(it),cpe(it)<0?Za:ta);if(Vn=Ms(Or,Un,3,hr)){const Ci=P_([mm(it)],[mm(It)]);if(Ps(w0(it),Ci)===Ps(w0(It),Ci))return Vn&Ms(Ps(Ty(it),Ci),Ty(It),3,hr)}}return 0}function Qi(it,It){var hr;const on=zo(it),Vn=fMe(on,It);if(!Vn)return 0;let Or=1;for(const ja of Vn)if(Or*=Rbt(yb(ja)),Or>25)return(hr=qi)==null||hr.instant(qi.Phase.CheckTypes,"typeRelatedToDiscriminatedType_DepthLimit",{sourceId:it.id,targetId:It.id,numCombinations:Or}),0;const Un=new Array(Vn.length),Ci=new Set;for(let ja=0;ja<Vn.length;ja++){const Fi=Vn[ja],oa=yb(Fi);Un[ja]=oa.flags&1048576?oa.types:[oa],Ci.add(Fi.escapedName)}const Xi=Uve(Un),ra=[];for(const ja of Xi){let Fi=!1;e:for(const oa of It.types){for(let to=0;to<Vn.length;to++){const ro=Vn[to],ec=$a(oa,ro.escapedName);if(!ec)continue e;if(ro===ec)continue;if(!tr(it,It,ro,ec,xm=>ja[to],!1,0,K||_===C_))continue e}Sp(ra,oa,Ub),Fi=!0}if(!Fi)return 0}let Ea=-1;for(const ja of ra)if(Ea&=fr(it,ja,!1,Ci,!1,0),Ea&&(Ea&=kn(it,ja,0,!1,0),Ea&&(Ea&=kn(it,ja,1,!1,0),Ea&&!(uo(it)&&uo(ja))&&(Ea&=Ma(it,ja,!1,!1,0)))),!Ea)return Ea;return Ea}function Qn(it,It){if(!It||it.length===0)return it;let hr;for(let on=0;on<it.length;on++)It.has(it[on].escapedName)?hr||(hr=it.slice(0,on)):hr&&hr.push(it[on]);return hr||it}function At(it,It,hr,on,Vn){const Or=K&&!!(ml(It)&48),Un=Xa(yb(It),!1,Or),Ci=hr(it);return Ms(Ci,Un,3,on,void 0,Vn)}function tr(it,It,hr,on,Vn,Or,Un,Ci){const Xi=pd(hr),ra=pd(on);if(Xi&8||ra&8){if(hr.valueDeclaration!==on.valueDeclaration)return Or&&(Xi&8&&ra&8?Mi(v.Types_have_separate_declarations_of_a_private_property_0,Xe(on)):Mi(v.Property_0_is_private_in_type_1_but_not_in_type_2,Xe(on),jt(Xi&8?it:It),jt(Xi&8?It:it))),0}else if(ra&16){if(!Pvt(hr,on))return Or&&Mi(v.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2,Xe(on),jt(iC(hr)||it),jt(iC(on)||It)),0}else if(Xi&16)return Or&&Mi(v.Property_0_is_protected_in_type_1_but_public_in_type_2,Xe(on),jt(it),jt(It)),0;if(_===Zp&&Sm(hr)&&!Sm(on))return 0;const Ea=At(hr,on,Vn,Or,Un);return Ea?!Ci&&hr.flags&16777216&&on.flags&106500&&!(on.flags&16777216)?(Or&&Mi(v.Property_0_is_optional_in_type_1_but_required_in_type_2,Xe(on),jt(it),jt(It)),0):Ea:(Or&&un(v.Types_of_property_0_are_incompatible,Xe(on)),0)}function mr(it,It,hr,on){let Vn=!1;if(hr.valueDeclaration&&bf(hr.valueDeclaration)&&fs(hr.valueDeclaration.name)&&it.symbol&&it.symbol.flags&32){const Un=hr.valueDeclaration.name.escapedText,Ci=C5(it.symbol,Un);if(Ci&&$a(it,Ci)){const Xi=V.getDeclarationName(it.symbol.valueDeclaration),ra=V.getDeclarationName(It.symbol.valueDeclaration);Mi(v.Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2,_m(Un),_m(Xi.escapedText===""?c9:Xi),_m(ra.escapedText===""?c9:ra));return}}const Or=oo(Dde(it,It,on,!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)&&(Vn=!0),Or.length===1){const Un=Xe(hr,void 0,0,20);Mi(v.Property_0_is_missing_in_type_1_but_required_in_type_2,Un,...is(it,It)),G(hr.declarations)&&Ks(ei(hr.declarations[0],v._0_is_declared_here,Un)),Vn&&$&&Tn++}else nd(it,It,!1)&&(Or.length>5?Mi(v.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,jt(it),jt(It),qt(Or.slice(0,4),Un=>Xe(Un)).join(", "),Or.length-4):Mi(v.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,jt(it),jt(It),qt(Or,Un=>Xe(Un)).join(", ")),Vn&&$&&Tn++)}function fr(it,It,hr,on,Vn,Or){if(_===w_)return jr(it,It,on);let Un=-1;if(uo(It)){if(X2(it)){if(!It.target.readonly&&($A(it)||uo(it)&&it.target.readonly))return 0;const ja=xy(it),Fi=xy(It),oa=uo(it)?it.target.combinedFlags&4:4,to=It.target.combinedFlags&4,ro=uo(it)?it.target.minLength:0,ec=It.target.minLength;if(!oa&&ja<ec)return hr&&Mi(v.Source_has_0_element_s_but_target_requires_1,ja,ec),0;if(!to&&Fi<ro)return hr&&Mi(v.Source_has_0_element_s_but_target_allows_only_1,ro,Fi),0;if(!to&&(oa||Fi<ja))return hr&&(ro<ec?Mi(v.Target_requires_0_element_s_but_source_may_have_fewer,ec):Mi(v.Target_allows_only_0_element_s_but_source_may_have_more,Fi)),0;const gf=cc(it),xm=cc(It),Og=r1t(It.target,11),Ab=cN(It.target,11),uC=It.target.hasRestElement;let u3=!!on;for(let Lh=0;Lh<ja;Lh++){const e6=uo(it)?it.target.elementFlags[Lh]:4,t6=ja-1-Lh,rx=uC&&Lh>=Og?Fi-1-Math.min(t6,Ab):Lh,Q_=It.target.elementFlags[rx];if(Q_&8&&!(e6&8))return hr&&Mi(v.Source_provides_no_match_for_variadic_element_at_position_0_in_target,rx),0;if(e6&8&&!(Q_&12))return hr&&Mi(v.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,Lh,rx),0;if(Q_&1&&!(e6&1))return hr&&Mi(v.Source_provides_no_match_for_required_element_at_position_0_in_target,rx),0;if(u3&&((e6&12||Q_&12)&&(u3=!1),u3&&(on!=null&&on.has(""+Lh))))continue;const Jt=WS(gf[Lh],!!(e6&Q_&2)),ri=xm[rx],Ai=e6&8&&Q_&4?mf(ri):WS(ri,!!(Q_&2)),Ei=Ms(Jt,Ai,3,hr,void 0,Or);if(!Ei)return hr&&(Fi>1||ja>1)&&(uC&&Lh>=Og&&t6>=Ab&&Og!==ja-Ab-1?un(v.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,Og,ja-Ab-1,rx):un(v.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,Lh,rx)),0;Un&=Ei}return Un}if(It.target.combinedFlags&12)return 0}const Ci=(_===kh||_===Zp)&&!wb(it)&&!NH(it)&&!uo(it),Xi=Nde(it,It,Ci,!1);if(Xi)return hr&&Yi(it,It)&&mr(it,It,Xi,Ci),0;if(wb(It)){for(const ja of Qn(zo(it),on))if(!J2(It,ja.escapedName)&&!(bn(ja).flags&32768))return hr&&Mi(v.Property_0_does_not_exist_on_type_1,Xe(ja),jt(It)),0}const ra=zo(It),Ea=uo(it)&&uo(It);for(const ja of Qn(ra,on)){const Fi=ja.escapedName;if(!(ja.flags&4194304)&&(!Ea||ey(Fi)||Fi==="length")&&(!Vn||ja.flags&16777216)){const oa=$a(it,Fi);if(oa&&oa!==ja){const to=tr(it,It,oa,ja,yb,hr,Or,_===C_);if(!to)return 0;Un&=to}}}return Un}function jr(it,It,hr){if(!(it.flags&524288&&It.flags&524288))return 0;const on=Qn(q1(it),hr),Vn=Qn(q1(It),hr);if(on.length!==Vn.length)return 0;let Or=-1;for(const Un of on){const Ci=J2(It,Un.escapedName);if(!Ci)return 0;const Xi=mde(Un,Ci,Ms);if(!Xi)return 0;Or&=Xi}return Or}function kn(it,It,hr,on,Vn){var Or,Un;if(_===w_)return Hn(it,It,hr);if(It===Wl||it===Wl)return-1;const Ci=it.symbol&&rh(it.symbol.valueDeclaration),Xi=It.symbol&&rh(It.symbol.valueDeclaration),ra=Ca(it,Ci&&hr===1?0:hr),Ea=Ca(It,Xi&&hr===1?0:hr);if(hr===1&&ra.length&&Ea.length){const ro=!!(ra[0].flags&4),ec=!!(Ea[0].flags&4);if(ro&&!ec)return on&&Mi(v.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type),0;if(!hf(ra[0],Ea[0],on))return 0}let ja=-1;const Fi=hr===1?wa:hs,oa=vi(it),to=vi(It);if(oa&64&&to&64&&it.symbol===It.symbol||oa&4&&to&4&&it.target===It.target)for(let ro=0;ro<Ea.length;ro++){const ec=Rr(ra[ro],Ea[ro],!0,on,Vn,Fi(ra[ro],Ea[ro]));if(!ec)return 0;ja&=ec}else if(ra.length===1&&Ea.length===1){const ro=_===C_||!!Q.noStrictGenericChecks,ec=Oo(ra),gf=Oo(Ea);if(ja=Rr(ec,gf,ro,on,Vn,Fi(ec,gf)),!ja&&on&&hr===1&&oa&to&&(((Or=gf.declaration)==null?void 0:Or.kind)===175||((Un=ec.declaration)==null?void 0:Un.kind)===175)){const xm=Og=>Tr(Og,void 0,262144,hr);return Mi(v.Type_0_is_not_assignable_to_type_1,xm(ec),xm(gf)),Mi(v.Types_of_construct_signatures_are_incompatible),ja}}else{e:for(const ro of Ea){const ec=Xr();let gf=on;for(const xm of ra){const Og=Rr(xm,ro,!0,gf,Vn,Fi(xm,ro));if(Og){ja&=Og,Pr(ec);continue e}gf=!1}return gf&&Mi(v.Type_0_provides_no_match_for_the_signature_1,jt(it),Tr(ro,void 0,void 0,hr)),0}}return ja}function Yi(it,It){const hr=_M(it,0),on=_M(it,1),Vn=q1(it);return(hr.length||on.length)&&!Vn.length?!!(Ca(It,0).length&&hr.length||Ca(It,1).length&&on.length):!0}function hs(it,It){return it.parameters.length===0&&It.parameters.length===0?(hr,on)=>un(v.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,jt(hr),jt(on)):(hr,on)=>un(v.Call_signature_return_types_0_and_1_are_incompatible,jt(hr),jt(on))}function wa(it,It){return it.parameters.length===0&&It.parameters.length===0?(hr,on)=>un(v.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,jt(hr),jt(on)):(hr,on)=>un(v.Construct_signature_return_types_0_and_1_are_incompatible,jt(hr),jt(on))}function Rr(it,It,hr,on,Vn,Or){const Un=_===kh?16:_===Zp?24:0;return ode(hr?sN(it):it,hr?sN(It):It,Un,on,Mi,Or,Ci,ta);function Ci(Xi,ra,Ea){return Ms(Xi,ra,3,Ea,void 0,Vn)}}function Hn(it,It,hr){const on=Ca(it,hr),Vn=Ca(It,hr);if(on.length!==Vn.length)return 0;let Or=-1;for(let Un=0;Un<on.length;Un++){const Ci=DM(on[Un],Vn[Un],!1,!1,!1,Ms);if(!Ci)return 0;Or&=Ci}return Or}function Ni(it,It,hr,on){let Vn=-1;const Or=It.keyType,Un=it.flags&2097152?fM(it):q1(it);for(const Ci of Un)if(!FLe(it,Ci)&&FE(JA(Ci,8576),Or)){const Xi=yb(Ci),ra=Ke||Xi.flags&32768||Or===Se||!(Ci.flags&16777216)?Xi:Ed(Xi,524288),Ea=Ms(ra,It.type,3,hr,void 0,on);if(!Ea)return hr&&Mi(v.Property_0_is_incompatible_with_index_signature,Xe(Ci)),0;Vn&=Ea}for(const Ci of Lf(it))if(FE(Ci.keyType,Or)){const Xi=Ss(Ci,It,hr,on);if(!Xi)return 0;Vn&=Xi}return Vn}function Ss(it,It,hr,on){const Vn=Ms(it.type,It.type,3,hr,void 0,on);return!Vn&&hr&&(it.keyType===It.keyType?Mi(v._0_index_signatures_are_incompatible,jt(it.keyType)):Mi(v._0_and_1_index_signatures_are_incompatible,jt(it.keyType),jt(It.keyType))),Vn}function Ma(it,It,hr,on,Vn){if(_===w_)return Ko(it,It);const Or=Lf(It),Un=Ne(Or,Xi=>Xi.keyType===L);let Ci=-1;for(const Xi of Or){const ra=_!==Zp&&!hr&&Un&&Xi.type.flags&1?-1:Vp(it)&&Un?Ms(Ty(it),Xi.type,3,on):fl(it,Xi,on,Vn);if(!ra)return 0;Ci&=ra}return Ci}function fl(it,It,hr,on){const Vn=pM(it,It.keyType);return Vn?Ss(Vn,It,hr,on):!(on&1)&&(_!==Zp||vi(it)&8192)&&FH(it)?Ni(it,It,hr,on):(hr&&Mi(v.Index_signature_for_type_0_is_missing_in_type_1,jt(It.keyType),jt(it)),0)}function Ko(it,It){const hr=Lf(it),on=Lf(It);if(hr.length!==on.length)return 0;for(const Vn of on){const Or=Pg(it,Vn.keyType);if(!(Or&&Ms(Or.type,Vn.type,3)&&Or.isReadonly===Vn.isReadonly))return 0}return-1}function hf(it,It,hr){if(!it.declaration||!It.declaration)return!0;const on=mw(it.declaration,24),Vn=mw(It.declaration,24);return Vn===8||Vn===16&&on!==8||Vn!==16&&!on?!0:(hr&&Mi(v.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type,m_(on),m_(Vn)),!1)}}function ude(r){if(r.flags&16)return!1;if(r.flags&3145728)return!!te(r.types,ude);if(r.flags&465829888){const c=US(r);if(c&&c!==r)return ude(c)}return bm(r)||!!(r.flags&134217728)||!!(r.flags&268435456)}function RLe(r,c){return uo(r)&&uo(c)?ft:zo(c).filter(_=>wH(Ll(r,_.escapedName),bn(_)))}function wH(r,c){return!!r&&!!c&&Yc(r,32768)&&!!gN(c)}function Svt(r){return zo(r).filter(c=>gN(bn(c)))}function BLe(r,c,_=sde){return HBe(r,c,_)||SEt(r,c)||xEt(r,c)||kEt(r,c)||CEt(r,c)}function fde(r,c,_){const m=r.types,b=m.map(P=>P.flags&402784252?0:-1);for(const[P,J]of c){let $=!1;for(let re=0;re<m.length;re++)if(b[re]){const oe=Ll(m[re],J);oe&&_(P(),oe)?$=!0:b[re]=3}for(let re=0;re<m.length;re++)b[re]===3&&(b[re]=$?0:-1)}const x=kt(b,0)?Ti(m.filter((P,J)=>b[J])):r;return x.flags&131072?r:x}function jLe(r){if(r.flags&524288){const c=hm(r);return c.callSignatures.length===0&&c.constructSignatures.length===0&&c.indexInfos.length===0&&c.properties.length>0&&ot(c.properties,_=>!!(_.flags&16777216))}return r.flags&2097152?ot(r.types,jLe):!1}function xvt(r,c,_){for(const m of zo(r))if(ome(c,m.escapedName,_))return!0;return!1}function _de(r){return r===Xc||r===wu||r.objectFlags&8?fe:ULe(r.symbol,r.typeParameters)}function JLe(r){return ULe(r,ms(r).typeParameters)}function ULe(r,c=ft){var _,m;const b=ms(r);if(!b.variances){(_=qi)==null||_.push(qi.Phase.CheckTypes,"getVariancesWorker",{arity:c.length,id:Mf(yc(r))});const x=Gv;Gv||(Gv=!0,C1=vg.length),b.variances=ft;const P=[];for(const J of c){const $=pde(J);let re=$&65536?$&32768?0:1:$&32768?2:void 0;if(re===void 0){let oe=!1,Ee=!1;const Le=nn;nn=$t=>$t?Ee=!0:oe=!0;const We=EM(r,J,Vu),gt=EM(r,J,pc);re=(lo(gt,We)?1:0)|(lo(We,gt)?2:0),re===3&&lo(EM(r,J,hl),We)&&(re=4),nn=Le,(oe||Ee)&&(oe&&(re|=8),Ee&&(re|=16))}P.push(re)}x||(Gv=!1,C1=0),b.variances=P,(m=qi)==null||m.pop({variances:P.map(R.formatVariance)})}return b.variances}function EM(r,c,_){const m=H2(c,_),b=yc(r);if(Ro(b))return b;const x=r.flags&524288?JE(r,D0(ms(r).typeParameters,m)):A0(b,D0(b.typeParameters,m));return rn.add(Mf(x)),x}function EH(r){return rn.has(Mf(r))}function pde(r){var c;return Uf((c=r.symbol)==null?void 0:c.declarations,(_,m)=>_|Wf(m),0)&100352}function kvt(r,c){for(let _=0;_<c.length;_++)if((c[_]&7)===1&&r[_].flags&16384)return!0;return!1}function Cvt(r){return r.flags&262144&&!If(r)}function wvt(r){return!!(vi(r)&4)&&!r.node}function AH(r){return wvt(r)&&Ne(cc(r),c=>!!(c.flags&262144)||AH(c))}function Evt(r,c,_,m){const b=[];let x="";const P=$(r,0),J=$(c,0);return`${x}${P},${J}${_}`;function $(re,oe=0){let Ee=""+re.target.id;for(const Le of cc(re)){if(Le.flags&262144){if(m||Cvt(Le)){let We=b.indexOf(Le);We<0&&(We=b.length,b.push(Le)),Ee+="="+We;continue}x="*"}else if(oe<4&&AH(Le)){Ee+="<"+$(Le,oe+1)+">";continue}Ee+="-"+Le.id}return Ee}}function dde(r,c,_,m,b){if(m===w_&&r.id>c.id){const P=r;r=c,c=P}const x=_?":"+_:"";return AH(r)&&AH(c)?Evt(r,c,x,b):`${r.id},${c.id}${x}`}function AM(r,c){if(ml(r)&6){for(const _ of r.links.containingType.types){const m=$a(_,r.escapedName),b=m&&AM(m,c);if(b)return b}return}return c(r)}function iC(r){return r.parent&&r.parent.flags&32?yc(E_(r)):void 0}function PH(r){const c=iC(r),_=c&&ma(c)[0];return _&&Ll(_,r.escapedName)}function Avt(r,c){return AM(r,_=>{const m=iC(_);return m?OE(m,c):!1})}function Pvt(r,c){return!AM(c,_=>pd(_)&16?!Avt(r,iC(_)):!1)}function zLe(r,c,_){return AM(c,m=>pd(m,_)&16?!OE(r,iC(m)):!1)?void 0:r}function VA(r,c,_,m=3){if(_>=m){if(r.flags&2097152)return Ne(r.types,J=>VA(J,c,_,m));const b=PM(r);let x=0,P=0;for(let J=0;J<_;J++){const $=c[J];if($.flags&2097152?Ne($.types,re=>PM(re)===b):PM($)===b){if($.id>=P&&(x++,x>=m))return!0;P=$.id}}}return!1}function PM(r){if(r.flags&524288&&!Lde(r)){if(vi(r)&&r.node)return r.node;if(r.symbol&&!(vi(r)&16&&r.symbol.flags&32))return r.symbol;if(uo(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 Dvt(r,c){return mde(r,c,_N)!==0}function mde(r,c,_){if(r===c)return-1;const m=pd(r)&24,b=pd(c)&24;if(m!==b)return 0;if(m){if(YE(r)!==YE(c))return 0}else if((r.flags&16777216)!==(c.flags&16777216))return 0;return Sm(r)!==Sm(c)?0:_(bn(r),bn(c))}function Nvt(r,c,_){const m=gp(r),b=gp(c),x=nh(r),P=nh(c),J=Oh(r),$=Oh(c);return!!(m===b&&x===P&&J===$||_&&x<=P)}function DM(r,c,_,m,b,x){if(r===c)return-1;if(!Nvt(r,c,_)||G(r.typeParameters)!==G(c.typeParameters))return 0;if(c.typeParameters){const $=P_(r.typeParameters,c.typeParameters);for(let re=0;re<c.typeParameters.length;re++){const oe=r.typeParameters[re],Ee=c.typeParameters[re];if(!(oe===Ee||x(Ps(BA(oe),$)||mt,BA(Ee)||mt)&&x(Ps(zS(oe),$)||mt,zS(Ee)||mt)))return 0}r=qE(r,$,!0)}let P=-1;if(!m){const $=z2(r);if($){const re=z2(c);if(re){const oe=x($,re);if(!oe)return 0;P&=oe}}}const J=gp(c);for(let $=0;$<J;$++){const re=Tm(r,$),oe=Tm(c,$),Ee=x(oe,re);if(!Ee)return 0;P&=Ee}if(!b){const $=Cd(r),re=Cd(c);P&=$||re?Ivt($,re,x):x(Vo(r),Vo(c))}return P}function Ivt(r,c,_){return r&&c&&Vpe(r,c)?r.type===c.type?-1:r.type&&c.type?_(r.type,c.type):0:0}function Ovt(r){let c;for(const _ of r)if(!(_.flags&131072)){const m=tv(_);if(c??(c=m),m===_||m!==c)return!1}return!0}function VLe(r){return Uf(r,(c,_)=>c|(_.flags&1048576?VLe(_.types):_.flags),0)}function Lvt(r){if(r.length===1)return r[0];const c=K?$s(r,m=>tu(m,b=>!(b.flags&98304))):r,_=Ovt(c)?Ti(c):Uf(c,(m,b)=>Z1(m,b)?b:m);return c===r?_:OH(_,VLe(r)&98304)}function Mvt(r){return Uf(r,(c,_)=>Z1(_,c)?_:c)}function rd(r){return!!(vi(r)&4)&&(r.target===Xc||r.target===wu)}function $A(r){return!!(vi(r)&4)&&r.target===wu}function X2(r){return rd(r)||uo(r)}function DH(r){return rd(r)&&!$A(r)||uo(r)&&!r.target.readonly}function hde(r){return rd(r)?cc(r)[0]:void 0}function ev(r){return rd(r)||!(r.flags&98304)&&lo(r,_e)}function gde(r){if(!(vi(r)&4)||!(vi(r.target)&3))return;if(vi(r)&33554432)return vi(r)&67108864?r.cachedEquivalentBaseType:void 0;r.objectFlags|=33554432;const c=r.target;if(vi(c)&1){const b=V1(c);if(b&&b.expression.kind!==80&&b.expression.kind!==210)return}const _=ma(c);if(_.length!==1||$1(r.symbol).size)return;let m=G(c.typeParameters)?Ps(_[0],P_(c.typeParameters,cc(r).slice(0,c.typeParameters.length))):_[0];return G(cc(r))>G(c.typeParameters)&&(m=mp(m,To(cc(r)))),r.objectFlags|=67108864,r.cachedEquivalentBaseType=m}function $Le(r){return K?r===Pn:r===Gt}function NH(r){const c=hde(r);return!!c&&$Le(c)}function qA(r){return uo(r)||!!$a(r,"0")}function IH(r){return ev(r)||qA(r)}function Fvt(r,c){const _=Ll(r,""+c);if(_)return _;if(qd(r,uo))return kc(r,m=>{const b=m,x=NM(b);return x?Q.noUncheckedIndexedAccess&&c>=b.target.fixedLength+cN(b.target,3)?Ti([x,Fe]):x:Fe})}function Rvt(r){return!(r.flags&240544)}function bm(r){return!!(r.flags&109472)}function qLe(r){const c=Sy(r);return c.flags&2097152?Ne(c.types,bm):bm(c)}function Bvt(r){return r.flags&2097152&&Ve(r.types,bm)||r}function mN(r){return r.flags&16?!0:r.flags&1048576?r.flags&1024?!0:ot(r.types,bm):bm(r)}function tv(r){return r.flags&1056?Kk(r):r.flags&402653312?L:r.flags&256?Se:r.flags&2048?pe:r.flags&512?vt:r.flags&1048576?jvt(r):r}function jvt(r){const c=`B${Mf(r)}`;return yS(c)??Ik(c,kc(r,tv))}function yde(r){return r.flags&402653312?L:r.flags&288?Se:r.flags&2048?pe:r.flags&512?vt:r.flags&1048576?kc(r,yde):r}function Q2(r){return r.flags&1056&&W2(r)?Kk(r):r.flags&128&&W2(r)?L:r.flags&256&&W2(r)?Se:r.flags&2048&&W2(r)?pe:r.flags&512&&W2(r)?vt:r.flags&1048576?kc(r,Q2):r}function WLe(r){return r.flags&8192?Qt:r.flags&1048576?kc(r,WLe):r}function vde(r,c){return yG(r,c)||(r=WLe(Q2(r))),Kf(r)}function Jvt(r,c,_){if(r&&bm(r)){const m=c?_?FN(c):c:void 0;r=vde(r,m)}return r}function bde(r,c,_,m){if(r&&bm(r)){const b=c?rT(_,c,m):void 0;r=vde(r,b)}return r}function uo(r){return!!(vi(r)&4&&r.target.objectFlags&8)}function N0(r){return uo(r)&&!!(r.target.combinedFlags&8)}function HLe(r){return N0(r)&&r.target.elementFlags.length===1}function NM(r){return WA(r,r.target.fixedLength)}function Uvt(r){const c=NM(r);return c&&mf(c)}function WA(r,c,_=0,m=!1,b=!1){const x=xy(r)-_;if(c<x){const P=cc(r),J=[];for(let $=c;$<x;$++){const re=P[$];J.push(r.target.elementFlags[$]&8?A_(re,Se):re)}return m?co(J):Ti(J,b?0:1)}}function zvt(r,c){return xy(r)===xy(c)&&ot(r.target.elementFlags,(_,m)=>(_&12)===(c.target.elementFlags[m]&12))}function GLe({value:r}){return r.base10Value==="0"}function XLe(r){return tu(r,c=>!!(Ff(c)&4194304))}function Vvt(r){return kc(r,$vt)}function $vt(r){return r.flags&4?gl:r.flags&8?hu:r.flags&64?V_:r===ve||r===ke||r.flags&114691||r.flags&128&&r.value===""||r.flags&256&&r.value===0||r.flags&2048&&GLe(r)?r:Vt}function OH(r,c){const _=c&~r.flags&98304;return _===0?r:Ti(_===32768?[r,Fe]:_===65536?[r,Gn]:[r,Fe,Gn])}function I0(r,c=!1){R.assert(K);const _=c?Lr:Fe;return r===_||r.flags&1048576&&r.types[0]===_?r:Ti([r,_])}function qvt(r){return bt||(bt=aN("NonNullable",524288,void 0)||qr),bt!==qr?JE(bt,[r]):co([r,ga])}function Ay(r){return K?XS(r,2097152):r}function QLe(r){return K?Ti([r,ii]):r}function Tde(r){return K?$H(r,ii):r}function LH(r,c,_){return _?dP(c)?I0(r):QLe(r):r}function hN(r,c){return KB(c)?Ay(r):Tf(c)?Tde(r):r}function WS(r,c){return Ke&&c?$H(r,zt):r}function gN(r){return r===zt||!!(r.flags&1048576)&&r.types[0]===zt}function MH(r){return Ke?$H(r,zt):Ed(r,524288)}function Wvt(r,c){return(r.flags&524)!==0&&(c.flags&28)!==0}function FH(r){const c=vi(r);return r.flags&2097152?ot(r.types,FH):!!(r.symbol&&r.symbol.flags&7040&&!(r.symbol.flags&32)&&!OG(r))||!!(c&4194304)||!!(c&1024&&FH(r.source))}function HS(r,c){const _=No(r.flags,r.escapedName,ml(r)&8);_.declarations=r.declarations,_.parent=r.parent,_.links.type=c,_.links.target=r,r.valueDeclaration&&(_.valueDeclaration=r.valueDeclaration);const m=ms(r).nameType;return m&&(_.links.nameType=m),_}function Hvt(r,c){const _=za();for(const m of q1(r)){const b=bn(m),x=c(b);_.set(m.escapedName,x===b?m:HS(m,x))}return _}function IM(r){if(!(wb(r)&&vi(r)&8192))return r;const c=r.regularType;if(c)return c;const _=r,m=Hvt(r,IM),b=ul(_.symbol,m,_.callSignatures,_.constructSignatures,_.indexInfos);return b.flags=_.flags,b.objectFlags|=_.objectFlags&-8193,r.regularType=b,b}function YLe(r,c,_){return{parent:r,propertyName:c,siblings:_,resolvedProperties:void 0}}function ZLe(r){if(!r.siblings){const c=[];for(const _ of ZLe(r.parent))if(wb(_)){const m=J2(_,r.propertyName);m&&QS(bn(m),b=>{c.push(b)})}r.siblings=c}return r.siblings}function Gvt(r){if(!r.resolvedProperties){const c=new Map;for(const _ of ZLe(r))if(wb(_)&&!(vi(_)&2097152))for(const m of zo(_))c.set(m.escapedName,m);r.resolvedProperties=oo(c.values())}return r.resolvedProperties}function Xvt(r,c){if(!(r.flags&4))return r;const _=bn(r),m=c&&YLe(c,r.escapedName,void 0),b=Sde(_,m);return b===_?r:HS(r,b)}function Qvt(r){const c=Er.get(r.escapedName);if(c)return c;const _=HS(r,Lr);return _.flags|=16777216,Er.set(r.escapedName,_),_}function Yvt(r,c){const _=za();for(const b of q1(r))_.set(b.escapedName,Xvt(b,c));if(c)for(const b of Gvt(c))_.has(b.escapedName)||_.set(b.escapedName,Qvt(b));const m=ul(r.symbol,_,ft,ft,$s(Lf(r),b=>Nh(b.keyType,hp(b.type),b.isReadonly)));return m.objectFlags|=vi(r)&266240,m}function hp(r){return Sde(r,void 0)}function Sde(r,c){if(vi(r)&196608){if(c===void 0&&r.widened)return r.widened;let _;if(r.flags&98305)_=dt;else if(wb(r))_=Yvt(r,c);else if(r.flags&1048576){const m=c||YLe(void 0,void 0,r.types),b=$s(r.types,x=>x.flags&98304?x:Sde(x,m));_=Ti(b,Ne(b,wy)?2:1)}else r.flags&2097152?_=co($s(r.types,hp)):X2(r)&&(_=A0(r.target,$s(cc(r),hp)));return _&&c===void 0&&(r.widened=_),_||r}return r}function RH(r){let c=!1;if(vi(r)&65536){if(r.flags&1048576)if(Ne(r.types,wy))c=!0;else for(const _ of r.types)RH(_)&&(c=!0);if(X2(r))for(const _ of cc(r))RH(_)&&(c=!0);if(wb(r))for(const _ of q1(r)){const m=bn(_);vi(m)&65536&&(RH(m)||rt(_.valueDeclaration,v.Object_literal_s_property_0_implicitly_has_an_1_type,Xe(_),jt(hp(m))),c=!0)}}return c}function Cb(r,c,_){const m=jt(hp(c));if(Mn(r)&&!G5(pn(r),Q))return;let b;switch(r.kind){case 225:case 171:case 170:b=we?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 168:const x=r;if(He(x.name)){const P=qb(x.name);if((O4(x.parent)||ty(x.parent)||ry(x.parent))&&x.parent.parameters.indexOf(x)>-1&&(ll(x,x.name.escapedText,788968,void 0,x.name.escapedText,!0)||P&&Cte(P))){const J="arg"+x.parent.parameters.indexOf(x),$=ac(x.name)+(x.dotDotDotToken?"[]":"");fy(we,r,v.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,J,$);return}}b=r.dotDotDotToken?we?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:we?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 207:if(b=v.Binding_element_0_implicitly_has_an_1_type,!we)return;break;case 323:rt(r,v.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,m);return;case 329:we&&PD(r.parent)&&rt(r.parent.tagName,v.This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation,m);return;case 261:case 173:case 172:case 176:case 177:case 217:case 218:if(we&&!r.name){_===3?rt(r,v.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,m):rt(r,v.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,m);return}b=we?_===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 199:we&&rt(r,v.Mapped_object_type_implicitly_has_an_any_template_type);return;default:b=we?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}fy(we,r,b,ac(ia(r)),m)}function BH(r,c,_){n(()=>{we&&vi(c)&65536&&(!_||!tme(r))&&(RH(c)||Cb(r,c,_))})}function xde(r,c,_){const m=gp(r),b=gp(c),x=PN(r),P=PN(c),J=P?b-1:b,$=x?J:Math.min(m,J),re=z2(r);if(re){const oe=z2(c);oe&&_(re,oe)}for(let oe=0;oe<$;oe++)_(Tm(r,oe),Tm(c,oe));P&&_(AN(r,$),P)}function kde(r,c,_){const m=Cd(r),b=Cd(c);m&&b&&Vpe(m,b)&&m.type&&b.type?_(m.type,b.type):_(Vo(r),Vo(c))}function yN(r,c,_,m){return Cde(r.map(Ede),c,_,m||sde)}function Zvt(r,c=0){return r&&Cde(qt(r.inferences,KLe),r.signature,r.flags|c,r.compareTypes)}function Cde(r,c,_,m){const b={inferences:r,signature:c,flags:_,compareTypes:m,mapper:Za,nonFixingMapper:Za};return b.mapper=Kvt(b),b.nonFixingMapper=ebt(b),b}function Kvt(r){return ede(qt(r.inferences,c=>c.typeParameter),qt(r.inferences,(c,_)=>()=>(c.isFixed||(tbt(r),jH(r.inferences),c.isFixed=!0),Mde(r,_))))}function ebt(r){return ede(qt(r.inferences,c=>c.typeParameter),qt(r.inferences,(c,_)=>()=>Mde(r,_)))}function jH(r){for(const c of r)c.isFixed||(c.inferredType=void 0)}function wde(r,c,_){(r.intraExpressionInferenceSites??(r.intraExpressionInferenceSites=[])).push({node:c,type:_})}function tbt(r){if(r.intraExpressionInferenceSites){for(const{node:c,type:_}of r.intraExpressionInferenceSites){const m=c.kind===173?WMe(c,2):g_(c,2);m&&Py(r.inferences,_,m)}r.intraExpressionInferenceSites=void 0}}function Ede(r){return{typeParameter:r,candidates:void 0,contraCandidates:void 0,inferredType:void 0,priority:void 0,topLevel:!0,isFixed:!1,impliedArity:void 0}}function KLe(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 rbt(r){const c=gr(r.inferences,QE);return c.length?Cde(qt(c,KLe),r.signature,r.flags,r.compareTypes):void 0}function Ade(r){return r&&r.mapper}function Y2(r){const c=vi(r);if(c&524288)return!!(c&1048576);const _=!!(r.flags&465829888||r.flags&524288&&!eMe(r)&&(c&4&&(r.node||Ne(cc(r),Y2))||c&16&&r.symbol&&r.symbol.flags&14384&&r.symbol.declarations||c&12583968)||r.flags&137363456&&!(r.flags&1024)&&!eMe(r)&&Ne(r.types,Y2));return r.flags&138117121&&(r.objectFlags|=524288|(_?1048576:0)),_}function eMe(r){if(r.aliasSymbol&&!r.aliasTypeArguments){const c=_l(r.aliasSymbol,264);return!!(c&&mn(c.parent,_=>_.kind===311?!0:_.kind===266?!1:"quit"))}return!1}function vN(r,c,_=0){return!!(r===c||r.flags&3145728&&Ne(r.types,m=>vN(m,c,_))||_<3&&r.flags&16777216&&(vN(Tb(r),c,_+1)||vN(Sb(r),c,_+1)))}function nbt(r,c){const _=Cd(r);return _?!!_.type&&vN(_.type,c):vN(Vo(r),c)}function ibt(r){const c=za();QS(r,m=>{if(!(m.flags&128))return;const b=$c(m.value),x=No(4,b);x.links.type=dt,m.symbol&&(x.declarations=m.symbol.declarations,x.valueDeclaration=m.symbol.valueDeclaration),c.set(b,x)});const _=r.flags&4?[Nh(L,ga,!1)]:ft;return ul(void 0,c,ft,ft,_)}function tMe(r,c,_){if(tl)return;const m=r.id+","+c.id+","+_.id;if(Va.has(m))return Va.get(m);tl=!0;const b=sbt(r,c,_);return tl=!1,Va.set(m,b),b}function Pde(r){return!(vi(r)&262144)||wb(r)&&Ne(zo(r),c=>Pde(bn(c)))||uo(r)&&Ne(G1(r),Pde)}function sbt(r,c,_){if(!(Pg(r,L)||zo(r).length!==0&&Pde(r)))return;if(rd(r))return mf(JH(cc(r)[0],c,_),$A(r));if(uo(r)){const b=qt(G1(r),P=>JH(P,c,_)),x=Ph(c)&4?$s(r.target.elementFlags,P=>P&2?1:P):r.target.elementFlags;return ym(b,x,r.target.readonly,r.target.labeledElementDeclarations)}const m=$u(1040,void 0);return m.source=r,m.mappedType=c,m.constraintType=_,m}function abt(r){const c=ms(r);return c.type||(c.type=JH(r.links.propertyType,r.links.mappedType,r.links.constraintType)),c.type}function JH(r,c,_){const m=A_(_.type,mm(c)),b=Ty(c),x=Ede(m);return Py([x],r,b),rMe(x)||mt}function*Dde(r,c,_,m){const b=zo(c);for(const x of b)if(!XOe(x)&&(_||!(x.flags&16777216||ml(x)&48))){const P=$a(r,x.escapedName);if(!P)yield x;else if(m){const J=bn(x);if(J.flags&109472){const $=bn(P);$.flags&1||Kf($)===Kf(J)||(yield x)}}}}function Nde(r,c,_,m){return cB(Dde(r,c,_,m))}function obt(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 cbt(r,c){return uo(r)&&uo(c)?obt(r,c):!!Nde(r,c,!1,!0)&&!!Nde(c,r,!1,!1)}function rMe(r){return r.candidates?Ti(r.candidates,2):r.contraCandidates?co(r.contraCandidates):void 0}function UH(r){return!!mi(r).skipDirectInference}function nMe(r){return!!(r.symbol&&Ne(r.symbol.declarations,UH))}function lbt(r,c){const _=r.texts[0],m=c.texts[0],b=r.texts[r.texts.length-1],x=c.texts[c.texts.length-1],P=Math.min(_.length,m.length),J=Math.min(b.length,x.length);return _.slice(0,P)!==m.slice(0,P)||b.slice(b.length-J)!==x.slice(x.length-J)}function iMe(r,c){if(r==="")return!1;const _=+r;return isFinite(_)&&(!c||""+_===r)}function ubt(r){return mH($te(r))}function Ide(r,c){if(c.flags&1)return!0;if(c.flags&134217732)return lo(r,c);if(c.flags&268435456){const _=[];for(;c.flags&268435456;)_.unshift(c.symbol),c=c.type;return Uf(_,(b,x)=>tC(x,b),r)===r&&Ide(r,c)}return!1}function fbt(r,c){if(r===c||c.flags&5)return!0;if(r.flags&128){const _=r.value;return!!(c.flags&8&&iMe(_,!1)||c.flags&64&&kJ(_,!1)||c.flags&98816&&_===c.intrinsicName||c.flags&268435456&&Ide(X_(_),c))}if(r.flags&134217728){const _=r.texts;return _.length===2&&_[0]===""&&_[1]===""&&lo(r.types[0],c)}return lo(r,c)}function sMe(r,c){return r.flags&128?aMe([r.value],ft,c):r.flags&134217728?Wt(r.texts,c.texts)?qt(r.types,_bt):aMe(r.texts,r.types,c):void 0}function Ode(r,c){const _=sMe(r,c);return!!_&&ot(_,(m,b)=>fbt(m,c.types[b]))}function _bt(r){return r.flags&402653317?r:$S(["",""],[r])}function aMe(r,c,_){const m=r.length-1,b=r[0],x=r[m],P=_.texts,J=P.length-1,$=P[0],re=P[J];if(m===0&&b.length<$.length+re.length||!b.startsWith($)||!x.endsWith(re))return;const oe=x.slice(0,x.length-re.length),Ee=[];let Le=0,We=$.length;for(let Vr=1;Vr<J;Vr++){const Zr=P[Vr];if(Zr.length>0){let Tn=Le,xr=We;for(;xr=gt(Tn).indexOf(Zr,xr),!(xr>=0);){if(Tn++,Tn===r.length)return;xr=0}$t(Tn,xr),We+=Zr.length}else if(We<gt(Le).length)$t(Le,We+1);else if(Le<m)$t(Le+1,0);else return}return $t(m,gt(m).length),Ee;function gt(Vr){return Vr<m?r[Vr]:oe}function $t(Vr,Zr){const Tn=Vr===Le?X_(gt(Vr).slice(We,Zr)):$S([r[Le].slice(We),...r.slice(Le+1,Vr),gt(Vr).slice(0,Zr)],c.slice(Le,Vr));Ee.push(Tn),Le=Vr,We=Zr}}function Py(r,c,_,m=0,b=!1){let x=!1,P,J=2048,$=!0,re,oe,Ee,Le=0;We(c,_);function We(en,En){if(Y2(En)){if(en===rr){const Is=P;P=en,We(En,En),P=Is;return}if(en.aliasSymbol&&en.aliasSymbol===En.aliasSymbol){if(en.aliasTypeArguments){const Is=ms(en.aliasSymbol).typeParameters,va=Dh(Is),Ls=W1(en.aliasTypeArguments,Is,va,Mn(en.aliasSymbol.valueDeclaration)),Ao=W1(En.aliasTypeArguments,Is,va,Mn(en.aliasSymbol.valueDeclaration));xr(Ls,Ao,JLe(en.aliasSymbol))}return}if(en===En&&en.flags&3145728){for(const Is of en.types)We(Is,Is);return}if(En.flags&1048576){const[Is,va]=Tn(en.flags&1048576?en.types:[en],En.types,pbt),[Ls,Ao]=Tn(Is,va,dbt);if(Ao.length===0)return;if(En=Ti(Ao),Ls.length===0){gt(en,En,1);return}en=Ti(Ls)}else if(En.flags&2097152&&!ot(En.types,pH)){if(!(en.flags&1048576)){const[Is,va]=Tn(en.flags&2097152?en.types:[en],En.types,Cy);if(Is.length===0||va.length===0)return;en=co(Is),En=co(va)}}else En.flags&41943040&&(En=Y1(En));if(En.flags&8650752){if(nMe(en))return;const Is=Pr(En);if(Is){if(vi(en)&262144||en===xt)return;if(!Is.isFixed){if((Is.priority===void 0||m<Is.priority)&&(Is.candidates=void 0,Is.contraCandidates=void 0,Is.topLevel=!0,Is.priority=m),m===Is.priority){const Ls=P||en;b&&!x?kt(Is.contraCandidates,Ls)||(Is.contraCandidates=zr(Is.contraCandidates,Ls),jH(r)):kt(Is.candidates,Ls)||(Is.candidates=zr(Is.candidates,Ls),jH(r))}!(m&128)&&En.flags&262144&&Is.topLevel&&!vN(_,En)&&(Is.topLevel=!1,jH(r))}J=Math.min(J,m);return}const va=ky(En,!1);if(va!==En)We(en,va);else if(En.flags&8388608){const Ls=ky(En.indexType,!1);if(Ls.flags&465829888){const Ao=lLe(ky(En.objectType,!1),Ls,!1);Ao&&Ao!==En&&We(en,Ao)}}}if(vi(en)&4&&vi(En)&4&&(en.target===En.target||rd(en)&&rd(En))&&!(en.node&&En.node))xr(cc(en),cc(En),_de(en.target));else if(en.flags&4194304&&En.flags&4194304)Sr(en.type,En.type);else if((mN(en)||en.flags&4)&&En.flags&4194304){const Is=ibt(en);$t(Is,En.type,256)}else if(en.flags&8388608&&En.flags&8388608)We(en.objectType,En.objectType),We(en.indexType,En.indexType);else if(en.flags&268435456&&En.flags&268435456)en.symbol===En.symbol&&We(en.type,En.type);else if(en.flags&33554432)We(en.baseType,En),gt(Npe(en),En,4);else if(En.flags&16777216)Zr(en,En,Mi);else if(En.flags&3145728)un(en,En.types,En.flags);else if(en.flags&1048576){const Is=en.types;for(const va of Is)We(va,En)}else if(En.flags&134217728)Ks(en,En);else{if(en=gm(en),!(m&512&&en.flags&467927040)){const Is=Zf(en);if(Is!==en&&$&&!(Is.flags&2621440))return $=!1,We(Is,En);en=Is}en.flags&2621440&&Zr(en,En,La)}}}function gt(en,En,Is){const va=m;m|=Is,We(en,En),m=va}function $t(en,En,Is){const va=m;m|=Is,Sr(en,En),m=va}function Vr(en,En,Is,va){const Ls=m;m|=va,un(en,En,Is),m=Ls}function Zr(en,En,Is){const va=en.id+","+En.id,Ls=re&&re.get(va);if(Ls!==void 0){J=Math.min(J,Ls);return}(re||(re=new Map)).set(va,-1);const Ao=J;J=2048;const lc=Le;(oe??(oe=[])).push(en),(Ee??(Ee=[])).push(En),VA(en,oe,oe.length,2)&&(Le|=1),VA(En,Ee,Ee.length,2)&&(Le|=2),Le!==3?Is(en,En):J=-1,Ee.pop(),oe.pop(),Le=lc,re.set(va,J),J=Math.min(J,Ao)}function Tn(en,En,Is){let va,Ls;for(const Ao of En)for(const lc of en)Is(lc,Ao)&&(We(lc,Ao),va=n_(va,lc),Ls=n_(Ls,Ao));return[va?gr(en,Ao=>!kt(va,Ao)):en,Ls?gr(En,Ao=>!kt(Ls,Ao)):En]}function xr(en,En,Is){const va=en.length<En.length?en.length:En.length;for(let Ls=0;Ls<va;Ls++)Ls<Is.length&&(Is[Ls]&7)===2?Sr(en[Ls],En[Ls]):We(en[Ls],En[Ls])}function Sr(en,En){b=!b,We(en,En),b=!b}function Jn(en,En){ce||m&1024?Sr(en,En):We(en,En)}function Pr(en){if(en.flags&8650752){for(const En of r)if(en===En.typeParameter)return En}}function Xr(en){let En;for(const Is of en){const va=Is.flags&2097152&&Ve(Is.types,Ls=>!!Pr(Ls));if(!va||En&&va!==En)return;En=va}return En}function un(en,En,Is){let va=0;if(Is&1048576){let Ls;const Ao=en.flags&1048576?en.types:[en],lc=new Array(Ao.length);let Fl=!1;for(const bo of En)if(Pr(bo))Ls=bo,va++;else for(let e_=0;e_<Ao.length;e_++){const Tt=J;J=2048,We(Ao[e_],bo),J===m&&(lc[e_]=!0),Fl=Fl||J===-1,J=Math.min(J,Tt)}if(va===0){const bo=Xr(En);bo&&gt(en,bo,1);return}if(va===1&&!Fl){const bo=ln(Ao,(e_,Tt)=>lc[Tt]?void 0:e_);if(bo.length){We(Ti(bo),Ls);return}}}else for(const Ls of En)Pr(Ls)?va++:We(en,Ls);if(Is&2097152?va===1:va>0)for(const Ls of En)Pr(Ls)&&gt(en,Ls,1)}function yi(en,En,Is){if(Is.flags&1048576){let va=!1;for(const Ls of Is.types)va=yi(en,En,Ls)||va;return va}if(Is.flags&4194304){const va=Pr(Is.type);if(va&&!va.isFixed&&!nMe(en)){const Ls=tMe(en,En,Is);Ls&&gt(Ls,va.typeParameter,vi(en)&262144?16:8)}return!0}if(Is.flags&262144){gt(Km(en,en.pattern?2:0),Is,32);const va=US(Is);if(va&&yi(en,En,va))return!0;const Ls=qt(zo(en),bn),Ao=qt(Lf(en),lc=>lc!==ie?lc.type:Vt);return We(Ti(wr(Ls,Ao)),Ty(En)),!0}return!1}function Mi(en,En){if(en.flags&16777216)We(en.checkType,En.checkType),We(en.extendsType,En.extendsType),We(Tb(en),Tb(En)),We(Sb(en),Sb(En));else{const Is=[Tb(En),Sb(En)];Vr(en,Is,En.flags,b?64:0)}}function Ks(en,En){const Is=sMe(en,En),va=En.types;if(Is||ot(En.texts,Ls=>Ls.length===0))for(let Ls=0;Ls<va.length;Ls++){const Ao=Is?Is[Ls]:Vt,lc=va[Ls];if(Ao.flags&128&&lc.flags&8650752){const Fl=Pr(lc),bo=Fl?Of(Fl.typeParameter):void 0;if(bo&&!qo(bo)){const e_=bo.flags&1048576?bo.types:[bo];let Tt=Uf(e_,(Pe,vn)=>Pe|vn.flags,0);if(!(Tt&4)){const Pe=Ao.value;Tt&296&&!iMe(Pe,!0)&&(Tt&=-297),Tt&2112&&!kJ(Pe,!0)&&(Tt&=-2113);const vn=Uf(e_,(fn,Xn)=>Xn.flags&Tt?fn.flags&4?fn:Xn.flags&4?Ao:fn.flags&134217728?fn:Xn.flags&134217728&&Ode(Ao,Xn)?Ao:fn.flags&268435456?fn:Xn.flags&268435456&&Pe===aLe(Xn.symbol,Pe)?Ao:fn.flags&128?fn:Xn.flags&128&&Xn.value===Pe?Xn:fn.flags&8?fn:Xn.flags&8?vm(+Pe):fn.flags&32?fn:Xn.flags&32?vm(+Pe):fn.flags&256?fn:Xn.flags&256&&Xn.value===+Pe?Xn:fn.flags&64?fn:Xn.flags&64?ubt(Pe):fn.flags&2048?fn:Xn.flags&2048&&$T(Xn.value)===Pe?Xn:fn.flags&16?fn:Xn.flags&16?Pe==="true"?Te:Pe==="false"?ke:vt:fn.flags&512?fn:Xn.flags&512&&Xn.intrinsicName===Pe?Xn:fn.flags&32768?fn:Xn.flags&32768&&Xn.intrinsicName===Pe?Xn:fn.flags&65536?fn:Xn.flags&65536&&Xn.intrinsicName===Pe?Xn:fn:fn,Vt);if(!(vn.flags&131072)){We(vn,lc);continue}}}}We(Ao,lc)}}function La(en,En){var Is,va;if(vi(en)&4&&vi(En)&4&&(en.target===En.target||rd(en)&&rd(En))){xr(cc(en),cc(En),_de(en.target));return}if(Vp(en)&&Vp(En)){We(Ym(en),Ym(En)),We(Ty(en),Ty(En));const Ls=w0(en),Ao=w0(En);Ls&&Ao&&We(Ls,Ao)}if(vi(En)&32&&!En.declaration.nameType){const Ls=Ym(En);if(yi(en,En,Ls))return}if(!cbt(en,En)){if(X2(en)){if(uo(En)){const Ls=xy(en),Ao=xy(En),lc=cc(En),Fl=En.target.elementFlags;if(uo(en)&&zvt(en,En)){for(let Tt=0;Tt<Ao;Tt++)We(cc(en)[Tt],lc[Tt]);return}const bo=uo(en)?Math.min(en.target.fixedLength,En.target.fixedLength):0,e_=Math.min(uo(en)?cN(en.target,3):0,En.target.hasRestElement?cN(En.target,3):0);for(let Tt=0;Tt<bo;Tt++)We(cc(en)[Tt],lc[Tt]);if(!uo(en)||Ls-bo-e_===1&&en.target.elementFlags[bo]&4){const Tt=cc(en)[bo];for(let Pe=bo;Pe<Ao-e_;Pe++)We(Fl[Pe]&8?mf(Tt):Tt,lc[Pe])}else{const Tt=Ao-bo-e_;if(Tt===2){if(Fl[bo]&Fl[bo+1]&8){const Pe=Pr(lc[bo]);Pe&&Pe.impliedArity!==void 0&&(We(jA(en,bo,e_+Ls-Pe.impliedArity),lc[bo]),We(jA(en,bo+Pe.impliedArity,e_),lc[bo+1]))}else if(Fl[bo]&8&&Fl[bo+1]&4){const Pe=(Is=Pr(lc[bo]))==null?void 0:Is.typeParameter,vn=Pe&&Of(Pe);if(vn&&uo(vn)&&!vn.target.hasRestElement){const fn=vn.target.fixedLength;We(jA(en,bo,Ls-(bo+fn)),lc[bo]),We(WA(en,bo+fn,e_),lc[bo+1])}}else if(Fl[bo]&4&&Fl[bo+1]&8){const Pe=(va=Pr(lc[bo+1]))==null?void 0:va.typeParameter,vn=Pe&&Of(Pe);if(vn&&uo(vn)&&!vn.target.hasRestElement){const fn=vn.target.fixedLength,Xn=Ls-cN(En.target,3),qn=Xn-fn,aa=ym(cc(en).slice(qn,Xn),en.target.elementFlags.slice(qn,Xn),!1,en.target.labeledElementDeclarations&&en.target.labeledElementDeclarations.slice(qn,Xn));We(WA(en,bo,e_+fn),lc[bo]),We(aa,lc[bo+1])}}}else if(Tt===1&&Fl[bo]&8){const Pe=En.target.elementFlags[Ao-1]&2,vn=jA(en,bo,e_);gt(vn,lc[bo],Pe?2:0)}else if(Tt===1&&Fl[bo]&4){const Pe=WA(en,bo,e_);Pe&&We(Pe,lc[bo])}}for(let Tt=0;Tt<e_;Tt++)We(cc(en)[Ls-Tt-1],lc[Ao-Tt-1]);return}if(rd(En)){Ms(en,En);return}}lu(en,En),nd(en,En,0),nd(en,En,1),Ms(en,En)}}function lu(en,En){const Is=q1(En);for(const va of Is){const Ls=$a(en,va.escapedName);Ls&&!Ne(Ls.declarations,UH)&&We(bn(Ls),bn(va))}}function nd(en,En,Is){const va=Ca(en,Is),Ls=Ca(En,Is),Ao=va.length,lc=Ls.length,Fl=Ao<lc?Ao:lc;for(let bo=0;bo<Fl;bo++)$p(T0t(va[Ao-Fl+bo]),sN(Ls[lc-Fl+bo]))}function $p(en,En){if(!(en.flags&64)){const Is=x,va=En.declaration?En.declaration.kind:0;x=x||va===173||va===172||va===175,xde(en,En,Jn),x=Is}kde(en,En,We)}function Ms(en,En){const Is=vi(en)&vi(En)&32?8:0,va=Lf(En);if(FH(en))for(const Ls of va){const Ao=[];for(const lc of zo(en))if(FE(JA(lc,8576),Ls.keyType)){const Fl=bn(lc);Ao.push(lc.flags&16777216?MH(Fl):Fl)}for(const lc of Lf(en))FE(lc.keyType,Ls.keyType)&&Ao.push(lc.type);Ao.length&&gt(Ti(Ao),Ls.type,Is)}for(const Ls of va){const Ao=pM(en,Ls.keyType);Ao&&gt(Ao.type,Ls.type,Is)}}}function pbt(r,c){return c===zt?r===c:Cy(r,c)||!!(c.flags&4&&r.flags&128||c.flags&8&&r.flags&256)}function dbt(r,c){return!!(r.flags&524288&&c.flags&524288&&r.symbol&&r.symbol===c.symbol||r.aliasSymbol&&r.aliasTypeArguments&&r.aliasSymbol===c.aliasSymbol)}function mbt(r){const c=If(r);return!!c&&Yc(c.flags&16777216?upe(c):c,406978556)}function wb(r){return!!(vi(r)&128)}function Lde(r){return!!(vi(r)&16512)}function hbt(r){if(r.length>1){const c=gr(r,Lde);if(c.length){const _=Ti(c,2);return wr(gr(r,m=>!Lde(m)),[_])}}return r}function gbt(r){return r.priority&416?co(r.contraCandidates):Mvt(r.contraCandidates)}function ybt(r,c){const _=hbt(r.candidates),m=mbt(r.typeParameter)||ME(r.typeParameter),b=!m&&r.topLevel&&(r.isFixed||!nbt(c,r.typeParameter)),x=m?$s(_,Kf):b?$s(_,Q2):_,P=r.priority&416?Ti(x,2):Lvt(x);return hp(P)}function Mde(r,c){const _=r.inferences[c];if(!_.inferredType){let m,b;if(r.signature){const P=_.candidates?ybt(_,r.signature):void 0,J=_.contraCandidates?gbt(_):void 0;if(P||J){const $=P&&(!J||!(P.flags&131072)&&Ne(_.contraCandidates,re=>Z1(P,re))&&ot(r.inferences,re=>re!==_&&If(re.typeParameter)!==_.typeParameter||ot(re.candidates,oe=>Z1(oe,P))));m=$?P:J,b=$?J:P}else if(r.flags&1)m=Nr;else{const $=zS(_.typeParameter);$&&(m=Ps($,G1t(H1t(r,c),r.nonFixingMapper)))}}else m=rMe(_);_.inferredType=m||Fde(!!(r.flags&2));const x=If(_.typeParameter);if(x){const P=Ps(x,r.nonFixingMapper);(!m||!r.compareTypes(m,mp(P,m)))&&(_.inferredType=b&&r.compareTypes(b,mp(P,b))?b:P)}}return _.inferredType}function Fde(r){return r?dt:mt}function Rde(r){const c=[];for(let _=0;_<r.inferences.length;_++)c.push(Mde(r,_));return c}function oMe(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 Q.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 Q.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 Q.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(Ra(r.parent))return v.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function;default:return r.parent.kind===303?v.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:v.Cannot_find_name_0}}function $d(r){const c=mi(r);return c.resolvedSymbol||(c.resolvedSymbol=!pl(r)&&ll(r,r.escapedText,1160127,oMe(r),r,!cJ(r),!1)||qr),c.resolvedSymbol}function HA(r){return!!mn(r,c=>c.kind===185?!0:c.kind===80||c.kind===165?!1:"quit")}function Bde(r){return!!(r.flags&16777216||mn(r,c=>Xf(c)||Mm(c)||Ip(c)))}function zH(r,c,_,m){switch(r.kind){case 80:if(!dw(r)){const P=$d(r);return P!==qr?`${m?Jo(m):"-1"}|${Mf(c)}|${Mf(_)}|${vo(P)}`:void 0}case 110:return`0|${m?Jo(m):"-1"}|${Mf(c)}|${Mf(_)}`;case 234:case 216:return zH(r.expression,c,_,m);case 165:const b=zH(r.left,c,_,m);return b&&b+"."+r.right.escapedText;case 210:case 211:const x=GS(r);if(x!==void 0){const P=zH(r.expression,c,_,m);return P&&P+"."+x}break;case 205:case 206:case 261:case 217:case 218:case 173:return`${Jo(r)}#${Mf(c)}`}}function qu(r,c){switch(c.kind){case 216:case 234:return qu(r,c.expression);case 225:return o_(c)&&qu(r,c.left)||Bn(c)&&c.operatorToken.kind===28&&qu(r,c.right)}switch(r.kind){case 235:return c.kind===235&&r.keywordToken===c.keywordToken&&r.name.escapedText===c.name.escapedText;case 80:case 81:return dw(r)?c.kind===110:c.kind===80&&$d(r)===$d(c)||(bs(c)||Lo(c))&&Ud($d(r))===Yn(c);case 110:return c.kind===110;case 108:return c.kind===108;case 234:case 216:return qu(r.expression,c);case 210:case 211:const _=GS(r),m=jc(c)?GS(c):void 0;return _!==void 0&&m!==void 0&&m===_&&qu(r.expression,c.expression);case 165:return jc(c)&&r.right.escapedText===GS(c)&&qu(r.left,c.expression);case 225:return Bn(r)&&r.operatorToken.kind===28&&qu(r.right,c)}return!1}function GS(r){if(ai(r))return r.name.escapedText;if(Pc(r))return vbt(r);if(Lo(r)){const c=fi(r);return c?$c(c):void 0}if(ea(r))return""+r.parent.parameters.indexOf(r)}function cMe(r){return r.flags&8192?r.escapedName:r.flags&384?$c(""+r.value):void 0}function vbt(r){return ud(r.argumentExpression)?$c(r.argumentExpression.text):kl(r.argumentExpression)?lMe(r.argumentExpression):void 0}function lMe(r){const c=rl(r,111551,!0);if(!c||!(XA(c)||c.flags&8))return;const _=c.valueDeclaration;if(_===void 0)return;const m=F(_);if(m){const b=cMe(m);if(b!==void 0)return b}if(Px(_)&&_0(_,r)){const b=s5(_);if(b)return cMe(Rf(b));if(KT(_))return Q6(_.name)}}function uMe(r,c){for(;jc(r);)if(r=r.expression,qu(r,c))return!0;return!1}function sC(r,c){for(;Tf(r);)if(r=r.expression,qu(r,c))return!0;return!1}function bN(r,c){if(r&&r.flags&1048576){const _=p9e(r,c);if(_&&ml(_)&2)return _.links.isDiscriminantProperty===void 0&&(_.links.isDiscriminantProperty=(_.links.checkFlags&192)===192&&!UA(bn(_))),!!_.links.isDiscriminantProperty}return!1}function fMe(r,c){let _;for(const m of r)if(bN(c,m.escapedName)){if(_){_.push(m);continue}_=[m]}return _}function bbt(r,c){const _=new Map;let m=0;for(const b of r)if(b.flags&61603840){const x=Ll(b,c);if(x){if(!mN(x))return;let P=!1;QS(x,J=>{const $=Mf(Kf(J)),re=_.get($);re?re!==mt&&(_.set($,mt),P=!0):_.set($,b)}),P||m++}}return m>=10&&m*2>=r.length?_:void 0}function OM(r){const c=r.types;if(!(c.length<10||vi(r)&32768||Sn(c,_=>!!(_.flags&59506688))<10)){if(r.keyPropertyName===void 0){const _=te(c,b=>b.flags&59506688?te(zo(b),x=>bm(bn(x))?x.escapedName:void 0):void 0),m=_&&bbt(c,_);r.keyPropertyName=m?_:"",r.constituentMap=m}return r.keyPropertyName.length?r.keyPropertyName:void 0}}function LM(r,c){var _;const m=(_=r.constituentMap)==null?void 0:_.get(Mf(Kf(c)));return m!==mt?m:void 0}function _Me(r,c){const _=OM(r),m=_&&Ll(c,_);return m&&LM(r,m)}function Tbt(r,c){const _=OM(r),m=_&&Ve(c.properties,x=>x.symbol&&x.kind===302&&x.symbol.escapedName===_&&UM(x.initializer)),b=m&&sF(m.initializer);return b&&LM(r,b)}function pMe(r,c){return qu(r,c)||uMe(r,c)}function dMe(r,c){if(r.arguments){for(const _ of r.arguments)if(pMe(c,_))return!0}return!!(r.expression.kind===210&&pMe(c,r.expression.expression))}function jde(r){return(!r.id||r.id<0)&&(r.id=xie,xie++),r.id}function Sbt(r,c){if(!(r.flags&1048576))return lo(r,c);for(const _ of r.types)if(lo(_,c))return!0;return!1}function xbt(r,c){if(r===c)return r;if(c.flags&131072)return c;const _=`A${Mf(r)},${Mf(c)}`;return yS(_)??Ik(_,kbt(r,c))}function kbt(r,c){const _=tu(r,b=>Sbt(c,b)),m=c.flags&512&&W2(c)?kc(_,$E):_;return lo(c,m)?m:r}function Jde(r){const c=hm(r);return!!(c.callSignatures.length||c.constructSignatures.length||c.members.get("bind")&&Z1(r,Mo))}function Ff(r){r.flags&467927040&&(r=Of(r)||mt);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 _=GLe(r);return K?_?12122884:7928580:_?12581636:16775940}return c&16?K?16316168:16774920:c&528?K?r===ke||r===ve?12121864:7927560:r===ke||r===ve?12580616:16774920:c&524288?vi(r)&16&&wy(r)?K?83427327:83886079:Jde(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?Uf(r.types,(_,m)=>_|Ff(m),0):c&2097152?Cbt(r):83886079}function Cbt(r){const c=Yc(r,402784252);let _=0,m=134217727;for(const b of r.types)if(!(c&&b.flags&524288)){const x=Ff(b);_|=x,m&=x}return _&8256|m&134209471}function Ed(r,c){return tu(r,_=>(Ff(_)&c)!==0)}function XS(r,c){const _=mMe(Ed(K&&r.flags&2?la:r,c));if(K)switch(c){case 524288:return kc(_,m=>Ff(m)&65536?co([m,Ff(m)&131072&&!Yc(_,65536)?Ti([ga,Gn]):ga]):m);case 1048576:return kc(_,m=>Ff(m)&131072?co([m,Ff(m)&65536&&!Yc(_,32768)?Ti([ga,Fe]):ga]):m);case 2097152:case 4194304:return kc(_,m=>Ff(m)&262144?qvt(m):m)}return _}function mMe(r){return r===la?mt:r}function Ude(r,c){return c?Ti([tt(r),Rf(c)]):r}function hMe(r,c){var _;const m=P0(c);if(!Eg(m))return se;const b=Qm(m);return Ll(r,b)||TN((_=RE(r,b))==null?void 0:_.type)||se}function gMe(r,c){return qd(r,qA)&&Fvt(r,c)||TN(M0(65,r,Fe,void 0))||se}function TN(r){return r&&(Q.noUncheckedIndexedAccess?Ti([r,zt]):r)}function yMe(r){return mf(M0(65,r,Fe,void 0)||se)}function wbt(r){return r.parent.kind===208&&zde(r.parent)||r.parent.kind===302&&zde(r.parent.parent)?Ude(MM(r),r.right):Rf(r.right)}function zde(r){return r.parent.kind===225&&r.parent.left===r||r.parent.kind===249&&r.parent.initializer===r}function Ebt(r,c){return gMe(MM(r),r.elements.indexOf(c))}function Abt(r){return yMe(MM(r.parent))}function vMe(r){return hMe(MM(r.parent),r.name)}function Pbt(r){return Ude(vMe(r),r.objectAssignmentInitializer)}function MM(r){const{parent:c}=r;switch(c.kind){case 248:return L;case 249:return _F(c)||se;case 225:return wbt(c);case 219:return Fe;case 208:return Ebt(c,r);case 229:return Abt(c);case 302:return vMe(c);case 303:return Pbt(c)}return se}function Dbt(r){const c=r.parent,_=TMe(c.parent),m=c.kind===205?hMe(_,r.propertyName||r.name):r.dotDotDotToken?yMe(_):gMe(_,c.elements.indexOf(r));return Ude(m,r.initializer)}function bMe(r){return mi(r).resolvedType||Rf(r)}function Nbt(r){return r.initializer?bMe(r.initializer):r.parent.parent.kind===248?L:r.parent.parent.kind===249&&_F(r.parent.parent)||se}function TMe(r){return r.kind===259?Nbt(r):Dbt(r)}function Ibt(r){return r.kind===259&&r.initializer&&Uo(r.initializer)||r.kind!==207&&r.parent.kind===225&&Uo(r.parent.right)}function Z2(r){switch(r.kind){case 216:return Z2(r.expression);case 225:switch(r.operatorToken.kind){case 64:case 76:case 77:case 78:return Z2(r.left);case 28:return Z2(r.right)}}return r}function SMe(r){const{parent:c}=r;return c.kind===216||c.kind===225&&c.operatorToken.kind===64&&c.left===r||c.kind===225&&c.operatorToken.kind===28&&c.right===r?SMe(c):r}function Obt(r){return r.kind===295?Kf(Rf(r.expression)):Vt}function VH(r){const c=mi(r);if(!c.switchTypes){c.switchTypes=[];for(const _ of r.caseBlock.clauses)c.switchTypes.push(Obt(_))}return c.switchTypes}function xMe(r){if(Ne(r.caseBlock.clauses,_=>_.kind===295&&!Yo(_.expression)))return;const c=[];for(const _ of r.caseBlock.clauses){const m=_.kind===295?_.expression.text:void 0;c.push(m&&!kt(c,m)?m:void 0)}return c}function Lbt(r,c){return r.flags&1048576?!te(r.types,_=>!kt(c,_)):kt(c,r)}function SN(r,c){return!!(r===c||r.flags&131072||c.flags&1048576&&Mbt(r,c))}function Mbt(r,c){if(r.flags&1048576){for(const _ of r.types)if(!X1(c.types,_))return!1;return!0}return r.flags&1056&&Kk(r)===c?!0:X1(c.types,r)}function QS(r,c){return r.flags&1048576?te(r.types,c):c(r)}function O0(r,c){return r.flags&1048576?Ne(r.types,c):c(r)}function qd(r,c){return r.flags&1048576?ot(r.types,c):c(r)}function Fbt(r,c){return r.flags&3145728?ot(r.types,c):c(r)}function tu(r,c){if(r.flags&1048576){const _=r.types,m=gr(_,c);if(m===_)return r;const b=r.origin;let x;if(b&&b.flags&1048576){const P=b.types,J=gr(P,$=>!!($.flags&1048576)||c($));if(P.length-J.length===_.length-m.length){if(J.length===1)return J[0];x=zpe(1048576,J)}}return $pe(m,r.objectFlags&16809984,void 0,void 0,x)}return r.flags&131072||c(r)?r:Vt}function $H(r,c){return tu(r,_=>_!==c)}function Rbt(r){return r.flags&1048576?r.types.length:1}function kc(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,P=!1;for(const J of b){const $=J.flags&1048576?kc(J,c,_):c(J);P||(P=J!==$),$&&(x?x.push($):x=[$])}return P?x&&Ti(x,_?0:1):r}function kMe(r,c,_,m){return r.flags&1048576&&_?Ti(qt(r.types,c),1,_,m):kc(r,c)}function GA(r,c){return tu(r,_=>(_.flags&c)!==0)}function CMe(r,c){return Yc(r,134217804)&&Yc(c,402655616)?kc(r,_=>_.flags&4?GA(c,402653316):zE(_)&&!Yc(c,402653188)?GA(c,128):_.flags&8?GA(c,264):_.flags&64?GA(c,2112):_):r}function WE(r){return r.flags===0}function YS(r){return r.flags===0?r.type:r}function HE(r,c){return c?{flags:0,type:r.flags&131072?Nr:r}:r}function Bbt(r){const c=$u(256);return c.elementType=r,c}function Vde(r){return Yr[r.id]||(Yr[r.id]=Bbt(r))}function wMe(r,c){const _=IM(tv(sF(c)));return SN(_,r.elementType)?r:Vde(Ti([r.elementType,_]))}function jbt(r){return r.flags&131072?fa:mf(r.flags&1048576?Ti(r.types,2):r)}function Jbt(r){return r.finalArrayType||(r.finalArrayType=jbt(r.elementType))}function FM(r){return vi(r)&256?Jbt(r):r}function Ubt(r){return vi(r)&256?r.elementType:Vt}function zbt(r){let c=!1;for(const _ of r)if(!(_.flags&131072)){if(!(vi(_)&256))return!1;c=!0}return c}function EMe(r){const c=SMe(r),_=c.parent,m=ai(_)&&(_.name.escapedText==="length"||_.parent.kind===212&&He(_.name)&&Xee(_.name)),b=_.kind===211&&_.expression===c&&_.parent.kind===225&&_.parent.operatorToken.kind===64&&_.parent.left===_&&!Qg(_.parent)&&Au(Rf(_.argumentExpression),296);return m||b}function Vbt(r){return(bs(r)||Ia(r)||Gp(r)||ea(r))&&!!(Yu(r)||Mn(r)&&Cv(r)&&r.initializer&&C4(r.initializer)&&Am(r.initializer))}function qH(r,c){if(r=Qc(r),r.flags&8752)return bn(r);if(r.flags&7){if(ml(r)&262144){const m=r.links.syntheticOrigin;if(m&&qH(m))return bn(r)}const _=r.valueDeclaration;if(_){if(Vbt(_))return bn(r);if(bs(_)&&_.parent.parent.kind===249){const m=_.parent.parent,b=RM(m.expression,void 0);if(b){const x=m.awaitModifier?15:13;return M0(x,b,Fe,void 0)}}c&&ho(c,ei(_,v._0_needs_an_explicit_type_annotation,Xe(r)))}}}function RM(r,c){if(!(r.flags&33554432))switch(r.kind){case 80:const _=Ud($d(r));return qH(_,c);case 110:return c2t(r);case 108:return Gde(r);case 210:{const m=RM(r.expression,c);if(m){const b=r.name;let x;if(fs(b)){if(!m.symbol)return;x=$a(m,C5(m.symbol,b.escapedText))}else x=$a(m,b.escapedText);return x&&qH(x,c)}return}case 216:return RM(r.expression,c)}}function WH(r){const c=mi(r);let _=c.effectsSignature;if(_===void 0){let m;r.parent.kind===243?m=RM(r.expression,void 0):r.expression.kind!==108&&(Tf(r)?m=th(hN(Bs(r.expression),r.expression),r.expression):m=YA(r.expression));const b=Ca(m&&Zf(m)||mt,0),x=b.length===1&&!b[0].typeParameters?b[0]:Ne(b,AMe)?KA(r):void 0;_=c.effectsSignature=x&&AMe(x)?x:ff}return _===ff?void 0:_}function AMe(r){return!!(Cd(r)||r.declaration&&(BE(r.declaration)||mt).flags&131072)}function $bt(r,c){if(r.kind===1||r.kind===3)return c.arguments[r.parameterIndex];const _=Tc(c.expression);return jc(_)?Tc(_.expression):void 0}function qbt(r){const c=mn(r,HK),_=pn(r),m=eg(_,c.statements.pos);Do.add(vu(_,m.start,m.length,v.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis))}function BM(r){const c=HH(r,!1);return $r=r,Wr=c,c}function jM(r){const c=Tc(r,!0);return c.kind===97||c.kind===225&&(c.operatorToken.kind===56&&(jM(c.left)||jM(c.right))||c.operatorToken.kind===57&&jM(c.left)&&jM(c.right))}function HH(r,c){for(;;){if(r===$r)return Wr;const _=r.flags;if(_&4096){if(!c){const m=jde(r),b=yE[m];return b!==void 0?b:yE[m]=HH(r,!0)}c=!1}if(_&368)r=r.antecedent;else if(_&512){const m=WH(r.node);if(m){const b=Cd(m);if(b&&b.kind===3&&!b.type){const x=r.node.arguments[b.parameterIndex];if(x&&jM(x))return!1}if(Vo(m).flags&131072)return!1}r=r.antecedent}else{if(_&4)return Ne(r.antecedents,m=>HH(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&&sRe(r.switchStatement))return!1;r=r.antecedent}else if(_&1024){$r=void 0;const m=r.target,b=m.antecedents;m.antecedents=r.antecedents;const x=HH(r.antecedent,!1);return m.antecedents=b,x}else return!(_&1)}}}function GH(r,c){for(;;){const _=r.flags;if(_&4096){if(!c){const m=jde(r),b=Pk[m];return b!==void 0?b:Pk[m]=GH(r,!0)}c=!1}if(_&496)r=r.antecedent;else if(_&512){if(r.node.expression.kind===108)return!0;r=r.antecedent}else{if(_&4)return ot(r.antecedents,m=>GH(m,!1));if(_&8)r=r.antecedents[0];else if(_&1024){const m=r.target,b=m.antecedents;m.antecedents=r.antecedents;const x=GH(r.antecedent,!1);return m.antecedents=b,x}else return!!(_&1)}}}function PMe(r){switch(r.kind){case 80:if(!dw(r)){const c=$d(r);return XA(c)||Wte(c)&&!XH(c)}break;case 210:case 211:return PMe(r.expression)&&Sm(mi(r).resolvedSymbol||qr)}return!1}function rv(r,c,_=c,m,b=(x=>(x=wi(r,g5))==null?void 0:x.flowNode)()){let x,P=!1,J=0;if(St)return se;if(!b)return c;dr++;const $=lt,re=YS(Le(b));lt=$;const oe=vi(re)&256&&EMe(r)?fa:FM(re);if(oe===bi||r.parent&&r.parent.kind===234&&!(oe.flags&131072)&&Ed(oe,2097152).flags&131072)return c;return oe===_r?mt:oe;function Ee(){return P?x:(P=!0,x=zH(r,c,_,m))}function Le(At){var tr;if(J===2e3)return(tr=qi)==null||tr.instant(qi.Phase.CheckTypes,"getTypeAtFlowNode_DepthLimit",{flowId:At.id}),St=!0,qbt(r),se;J++;let mr;for(;;){const fr=At.flags;if(fr&4096){for(let kn=$;kn<lt;kn++)if(gE[kn]===At)return J--,mS[kn];mr=At}let jr;if(fr&16){if(jr=gt(At),!jr){At=At.antecedent;continue}}else if(fr&512){if(jr=Vr(At),!jr){At=At.antecedent;continue}}else if(fr&96)jr=Tn(At);else if(fr&128)jr=xr(At);else if(fr&12){if(At.antecedents.length===1){At=At.antecedents[0];continue}jr=fr&4?Sr(At):Jn(At)}else if(fr&256){if(jr=Zr(At),!jr){At=At.antecedent;continue}}else if(fr&1024){const kn=At.target,Yi=kn.antecedents;kn.antecedents=At.antecedents,jr=Le(At.antecedent),kn.antecedents=Yi}else if(fr&2){const kn=At.node;if(kn&&kn!==m&&r.kind!==210&&r.kind!==211&&r.kind!==110){At=kn.flowNode;continue}jr=_}else jr=JN(c);return mr&&(gE[lt]=mr,mS[lt]=jr,lt++),J--,jr}}function We(At){const tr=At.node;return $de(tr.kind===259||tr.kind===207?TMe(tr):MM(tr),r)}function gt(At){const tr=At.node;if(qu(r,tr)){if(!BM(At))return bi;if(Fx(tr)===2){const mr=Le(At.antecedent);return HE(tv(YS(mr)),WE(mr))}if(c===Ut||c===fa){if(Ibt(tr))return Vde(Vt);const mr=Q2(We(At));return lo(mr,c)?mr:Zi}return c.flags&1048576?xbt(c,We(At)):c}if(uMe(r,tr)){if(!BM(At))return bi;if(bs(tr)&&(Mn(tr)||Gy(tr))){const mr=a5(tr);if(mr&&(mr.kind===217||mr.kind===218))return Le(At.antecedent)}return c}if(bs(tr)&&tr.parent.parent.kind===248&&(qu(r,tr.parent.parent.expression)||sC(tr.parent.parent.expression,r)))return fme(FM(YS(Le(At.antecedent))))}function $t(At,tr){const mr=Tc(tr,!0);if(mr.kind===97)return bi;if(mr.kind===225){if(mr.operatorToken.kind===56)return $t($t(At,mr.left),mr.right);if(mr.operatorToken.kind===57)return Ti([$t(At,mr.left),$t(At,mr.right)])}return Qi(At,mr,!0)}function Vr(At){const tr=WH(At.node);if(tr){const mr=Cd(tr);if(mr&&(mr.kind===2||mr.kind===3)){const fr=Le(At.antecedent),jr=FM(YS(fr)),kn=mr.type?aa(jr,mr,At.node,!0):mr.kind===3&&mr.parameterIndex>=0&&mr.parameterIndex<At.node.arguments.length?$t(jr,At.node.arguments[mr.parameterIndex]):jr;return kn===jr?fr:HE(kn,WE(fr))}if(Vo(tr).flags&131072)return bi}}function Zr(At){if(c===Ut||c===fa){const tr=At.node,mr=tr.kind===212?tr.expression.expression:tr.left.expression;if(qu(r,Z2(mr))){const fr=Le(At.antecedent),jr=YS(fr);if(vi(jr)&256){let kn=jr;if(tr.kind===212)for(const Yi of tr.arguments)kn=wMe(kn,Yi);else{const Yi=sF(tr.left.argumentExpression);Au(Yi,296)&&(kn=wMe(kn,tr.right))}return kn===jr?fr:HE(kn,WE(fr))}return fr}}}function Tn(At){const tr=Le(At.antecedent),mr=YS(tr);if(mr.flags&131072)return tr;const fr=(At.flags&32)!==0,jr=FM(mr),kn=Qi(jr,At.node,fr);return kn===jr?tr:HE(kn,WE(tr))}function xr(At){const tr=At.switchStatement.expression,mr=Le(At.antecedent);let fr=YS(mr);if(qu(r,tr))fr=Ao(fr,At.switchStatement,At.clauseStart,At.clauseEnd);else if(tr.kind===220&&qu(r,tr.expression))fr=bo(fr,At.switchStatement,At.clauseStart,At.clauseEnd);else{K&&(sC(tr,r)?fr=Ls(fr,At.switchStatement,At.clauseStart,At.clauseEnd,kn=>!(kn.flags&163840)):tr.kind===220&&sC(tr.expression,r)&&(fr=Ls(fr,At.switchStatement,At.clauseStart,At.clauseEnd,kn=>!(kn.flags&131072||kn.flags&128&&kn.value==="undefined"))));const jr=un(tr,fr);jr&&(fr=Ks(fr,jr,At.switchStatement,At.clauseStart,At.clauseEnd))}return HE(fr,WE(mr))}function Sr(At){const tr=[];let mr=!1,fr=!1,jr;for(const kn of At.antecedents){if(!jr&&kn.flags&128&&kn.clauseStart===kn.clauseEnd){jr=kn;continue}const Yi=Le(kn),hs=YS(Yi);if(hs===c&&c===_)return hs;Sp(tr,hs),SN(hs,_)||(mr=!0),WE(Yi)&&(fr=!0)}if(jr){const kn=Le(jr),Yi=YS(kn);if(!(Yi.flags&131072)&&!kt(tr,Yi)&&!sRe(jr.switchStatement)){if(Yi===c&&c===_)return Yi;tr.push(Yi),SN(Yi,_)||(mr=!0),WE(kn)&&(fr=!0)}}return HE(Pr(tr,mr?2:1),fr)}function Jn(At){const tr=jde(At),mr=dS[tr]||(dS[tr]=new Map),fr=Ee();if(!fr)return c;const jr=mr.get(fr);if(jr)return jr;for(let Rr=fm;Rr<Re;Rr++)if(Xv[Rr]===At&&hE[Rr]===fr&&g2[Rr].length)return HE(Pr(g2[Rr],1),!0);const kn=[];let Yi=!1,hs;for(const Rr of At.antecedents){let Hn;if(!hs)Hn=hs=Le(Rr);else{Xv[Re]=At,hE[Re]=fr,g2[Re]=kn,Re++;const Ss=Hr;Hr=void 0,Hn=Le(Rr),Hr=Ss,Re--;const Ma=mr.get(fr);if(Ma)return Ma}const Ni=YS(Hn);if(Sp(kn,Ni),SN(Ni,_)||(Yi=!0),Ni===c)break}const wa=Pr(kn,Yi?2:1);return WE(hs)?HE(wa,!0):(mr.set(fr,wa),wa)}function Pr(At,tr){if(zbt(At))return Vde(Ti(qt(At,Ubt)));const mr=mMe(Ti($s(At,FM),tr));return mr!==c&&mr.flags&c.flags&1048576&&Wt(mr.types,c.types)?c:mr}function Xr(At){if(Fa(r)||C4(r)||Zd(r)){if(He(At)){const mr=$d(At).valueDeclaration;if(mr&&(Lo(mr)||ea(mr))&&r===mr.parent&&!mr.initializer&&!mr.dotDotDotToken)return mr}}else if(jc(At)){if(qu(r,At.expression))return At}else if(He(At)){const tr=$d(At);if(XA(tr)){const mr=tr.valueDeclaration;if(bs(mr)&&!mr.type&&mr.initializer&&jc(mr.initializer)&&qu(r,mr.initializer.expression))return mr.initializer;if(Lo(mr)&&!mr.initializer){const fr=mr.parent.parent;if(bs(fr)&&!fr.type&&fr.initializer&&(He(fr.initializer)||jc(fr.initializer))&&qu(r,fr.initializer))return mr}}}}function un(At,tr){const mr=c.flags&1048576?c:tr;if(mr.flags&1048576){const fr=Xr(At);if(fr){const jr=GS(fr);if(jr&&bN(mr,jr))return fr}}}function yi(At,tr,mr){const fr=GS(tr);if(fr===void 0)return At;const jr=Tf(tr),kn=K&&(jr||KSe(tr))&&Yc(At,98304);let Yi=Ll(kn?Ed(At,2097152):At,fr);if(!Yi)return At;Yi=kn&&jr?I0(Yi):Yi;const hs=mr(Yi);return tu(At,wa=>{const Rr=rM(wa,fr);return!(Rr.flags&131072)&&!(hs.flags&131072)&&kM(hs,Rr)})}function Mi(At,tr,mr,fr,jr){if((mr===37||mr===38)&&At.flags&1048576){const kn=OM(At);if(kn&&kn===GS(tr)){const Yi=LM(At,Rf(fr));if(Yi)return mr===(jr?37:38)?Yi:bm(Ll(Yi,kn)||mt)?$H(At,Yi):At}}return yi(At,tr,kn=>En(kn,mr,fr,jr))}function Ks(At,tr,mr,fr,jr){if(fr<jr&&At.flags&1048576&&OM(At)===GS(tr)){const kn=VH(mr).slice(fr,jr),Yi=Ti(qt(kn,hs=>LM(At,hs)||mt));if(Yi!==mt)return Yi}return yi(At,tr,kn=>Ao(kn,mr,fr,jr))}function La(At,tr,mr){if(qu(r,tr))return XS(At,mr?4194304:8388608);K&&mr&&sC(tr,r)&&(At=XS(At,2097152));const fr=un(tr,At);return fr?yi(At,fr,jr=>Ed(jr,mr?4194304:8388608)):At}function lu(At,tr,mr){const fr=$a(At,tr);return fr?!!(fr.flags&16777216||ml(fr)&48)||mr:!!RE(At,tr)||!mr}function nd(At,tr,mr){const fr=Qm(tr);if(O0(At,kn=>lu(kn,fr,!0)))return tu(At,kn=>lu(kn,fr,mr));if(mr){const kn=Y0t();if(kn)return co([At,JE(kn,[tr,mt])])}return At}function $p(At,tr,mr){switch(tr.operatorToken.kind){case 64:case 76:case 77:case 78:return La(Qi(At,tr.right,mr),tr.left,mr);case 35:case 36:case 37:case 38:const fr=tr.operatorToken.kind,jr=Z2(tr.left),kn=Z2(tr.right);if(jr.kind===220&&Yo(kn))return Is(At,jr,fr,kn,mr);if(kn.kind===220&&Yo(jr))return Is(At,kn,fr,jr,mr);if(qu(r,jr))return En(At,fr,kn,mr);if(qu(r,kn))return En(At,fr,jr,mr);K&&(sC(jr,r)?At=en(At,fr,kn,mr):sC(kn,r)&&(At=en(At,fr,jr,mr)));const Yi=un(jr,At);if(Yi)return Mi(At,Yi,fr,kn,mr);const hs=un(kn,At);if(hs)return Mi(At,hs,fr,jr,mr);if(e_(jr))return Tt(At,fr,kn,mr);if(e_(kn))return Tt(At,fr,jr,mr);break;case 104:return Pe(At,tr,mr);case 103:if(fs(tr.left))return Ms(At,tr,mr);const wa=Z2(tr.right),Rr=Rf(tr.left);if(Rr.flags&8576){if(gN(At)&&jc(r)&&qu(r.expression,wa)&&GS(r)===Qm(Rr))return Ed(At,mr?524288:65536);if(qu(r,wa))return nd(At,Rr,mr)}break;case 28:return Qi(At,tr.right,mr);case 56:return mr?Qi(Qi(At,tr.left,!0),tr.right,!0):Ti([Qi(At,tr.left,!1),Qi(At,tr.right,!1)]);case 57:return mr?Ti([Qi(At,tr.left,!0),Qi(At,tr.right,!0)]):Qi(Qi(At,tr.left,!1),tr.right,!1)}return At}function Ms(At,tr,mr){const fr=Z2(tr.right);if(!qu(r,fr))return At;R.assertNode(tr.left,fs);const jr=aG(tr.left);if(jr===void 0)return At;const kn=jr.parent,Yi=su(R.checkDefined(jr.valueDeclaration,"should always have a declaration"))?bn(kn):yc(kn);return fn(At,Yi,mr,!0)}function en(At,tr,mr,fr){const jr=tr===35||tr===37,kn=tr===35||tr===36?98304:32768,Yi=Rf(mr);return jr!==fr&&qd(Yi,wa=>!!(wa.flags&kn))||jr===fr&&qd(Yi,wa=>!(wa.flags&(3|kn)))?XS(At,2097152):At}function En(At,tr,mr,fr){if(At.flags&1)return At;(tr===36||tr===38)&&(fr=!fr);const jr=Rf(mr),kn=tr===35||tr===36;if(jr.flags&98304){if(!K)return At;const Yi=kn?fr?262144:2097152:jr.flags&65536?fr?131072:1048576:fr?65536:524288;return XS(At,Yi)}if(fr){if(!kn&&(At.flags&2||O0(At,Ey))){if(jr.flags&469893116||Ey(jr))return jr;if(jr.flags&524288)return Vi}const Yi=tu(At,hs=>kM(hs,jr)||kn&&Wvt(hs,jr));return CMe(Yi,jr)}return bm(jr)?tu(At,Yi=>!(qLe(Yi)&&kM(Yi,jr))):At}function Is(At,tr,mr,fr,jr){(mr===36||mr===38)&&(jr=!jr);const kn=Z2(tr.expression);if(!qu(r,kn)){K&&sC(kn,r)&&jr===(fr.text!=="undefined")&&(At=XS(At,2097152));const Yi=un(kn,At);return Yi?yi(At,Yi,hs=>va(hs,fr,jr)):At}return va(At,fr,jr)}function va(At,tr,mr){return mr?lc(At,tr.text):XS(At,hz.get(tr.text)||32768)}function Ls(At,tr,mr,fr,jr){return mr!==fr&&ot(VH(tr).slice(mr,fr),jr)?Ed(At,2097152):At}function Ao(At,tr,mr,fr){const jr=VH(tr);if(!jr.length)return At;const kn=jr.slice(mr,fr),Yi=mr===fr||kt(kn,Vt);if(At.flags&2&&!Yi){let Hn;for(let Ni=0;Ni<kn.length;Ni+=1){const Ss=kn[Ni];if(Ss.flags&469893116)Hn!==void 0&&Hn.push(Ss);else if(Ss.flags&524288)Hn===void 0&&(Hn=kn.slice(0,Ni)),Hn.push(Vi);else return At}return Ti(Hn===void 0?kn:Hn)}const hs=Ti(kn),wa=hs.flags&131072?Vt:CMe(tu(At,Hn=>kM(hs,Hn)),hs);if(!Yi)return wa;const Rr=tu(At,Hn=>!(qLe(Hn)&&kt(jr,Kf(Bvt(Hn)))));return wa.flags&131072?Rr:Ti([wa,Rr])}function lc(At,tr){switch(tr){case"string":return Fl(At,L,1);case"number":return Fl(At,Se,2);case"bigint":return Fl(At,pe,4);case"boolean":return Fl(At,vt,8);case"symbol":return Fl(At,Qt,16);case"object":return At.flags&1?At:Ti([Fl(At,Vi,32),Fl(At,Gn,131072)]);case"function":return At.flags&1?At:Fl(At,Mo,64);case"undefined":return Fl(At,Fe,65536)}return Fl(At,Vi,128)}function Fl(At,tr,mr){return kc(At,fr=>eh(fr,tr,Zp)?Ff(fr)&mr?fr:Vt:Z1(tr,fr)?tr:Ff(fr)&mr?co([fr,tr]):Vt)}function bo(At,tr,mr,fr){const jr=xMe(tr);if(!jr)return At;const kn=ir(tr.caseBlock.clauses,wa=>wa.kind===296);if(mr===fr||kn>=mr&&kn<fr){const wa=iRe(mr,fr,jr);return tu(At,Rr=>(Ff(Rr)&wa)===wa)}const hs=jr.slice(mr,fr);return Ti(qt(hs,wa=>wa?lc(At,wa):Vt))}function e_(At){return(ai(At)&&Zn(At.name)==="constructor"||Pc(At)&&Yo(At.argumentExpression)&&At.argumentExpression.text==="constructor")&&qu(r,At.expression)}function Tt(At,tr,mr,fr){if(fr?tr!==35&&tr!==37:tr!==36&&tr!==38)return At;const jr=Rf(mr);if(!ghe(jr)&&!sM(jr))return At;const kn=$a(jr,"prototype");if(!kn)return At;const Yi=bn(kn),hs=qo(Yi)?void 0:Yi;if(!hs||hs===cl||hs===Mo)return At;if(qo(At))return hs;return tu(At,Rr=>wa(Rr,hs));function wa(Rr,Hn){return Rr.flags&524288&&vi(Rr)&1||Hn.flags&524288&&vi(Hn)&1?Rr.symbol===Hn.symbol:Z1(Rr,Hn)}}function Pe(At,tr,mr){const fr=Z2(tr.left);if(!qu(r,fr))return mr&&K&&sC(fr,r)?XS(At,2097152):At;const jr=Rf(tr.right);if(!G2(jr,Mo))return At;const kn=kc(jr,vn);return qo(At)&&(kn===cl||kn===Mo)||!mr&&!(kn.flags&524288&&!Ey(kn))?At:fn(At,kn,mr,!0)}function vn(At){const tr=Ll(At,"prototype");if(tr&&!qo(tr))return tr;const mr=Ca(At,1);return mr.length?Ti(qt(mr,fr=>Vo(sN(fr)))):ga}function fn(At,tr,mr,fr){const jr=At.flags&1048576?`N${Mf(At)},${Mf(tr)},${(mr?1:0)|(fr?2:0)}`:void 0;return yS(jr)??Ik(jr,Xn(At,tr,mr,fr))}function Xn(At,tr,mr,fr){if(!mr){if(fr)return tu(At,wa=>!G2(wa,tr));const hs=fn(At,tr,!0,!1);return tu(At,wa=>!SN(wa,hs))}if(At.flags&3)return tr;const jr=fr?G2:Z1,kn=At.flags&1048576?OM(At):void 0,Yi=kc(tr,hs=>{const wa=kn&&Ll(hs,kn),Rr=wa&&LM(At,wa),Hn=kc(Rr||At,fr?Ni=>G2(Ni,hs)?Ni:G2(hs,Ni)?hs:Vt:Ni=>ALe(Ni,hs)?Ni:ALe(hs,Ni)?hs:Z1(Ni,hs)?Ni:Z1(hs,Ni)?hs:Vt);return Hn.flags&131072?kc(At,Ni=>Yc(Ni,465829888)&&jr(hs,Of(Ni)||mt)?co([Ni,hs]):Vt):Hn});return Yi.flags&131072?Z1(tr,At)?tr:lo(At,tr)?At:lo(tr,At)?tr:co([At,tr]):Yi}function qn(At,tr,mr){if(dMe(tr,r)){const fr=mr||!kx(tr)?WH(tr):void 0,jr=fr&&Cd(fr);if(jr&&(jr.kind===0||jr.kind===1))return aa(At,jr,tr,mr)}if(gN(At)&&jc(r)&&ai(tr.expression)){const fr=tr.expression;if(qu(r.expression,Z2(fr.expression))&&He(fr.name)&&fr.name.escapedText==="hasOwnProperty"&&tr.arguments.length===1){const jr=tr.arguments[0];if(Yo(jr)&&GS(r)===$c(jr.text))return Ed(At,mr?524288:65536)}}return At}function aa(At,tr,mr,fr){if(tr.type&&!(qo(At)&&(tr.type===cl||tr.type===Mo))){const jr=$bt(tr,mr);if(jr){if(qu(r,jr))return fn(At,tr.type,fr,!1);K&&fr&&sC(jr,r)&&!(Ff(tr.type)&65536)&&(At=XS(At,2097152));const kn=un(jr,At);if(kn)return yi(At,kn,Yi=>fn(Yi,tr.type,fr,!1))}}return At}function Qi(At,tr,mr){if(KB(tr)||Bn(tr.parent)&&(tr.parent.operatorToken.kind===61||tr.parent.operatorToken.kind===78)&&tr.parent.left===tr)return Qn(At,tr,mr);switch(tr.kind){case 80:if(!qu(r,tr)&&U<5){const fr=$d(tr);if(XA(fr)){const jr=fr.valueDeclaration;if(jr&&bs(jr)&&!jr.type&&jr.initializer&&PMe(r)){U++;const kn=Qi(At,jr.initializer,mr);return U--,kn}}}case 110:case 108:case 210:case 211:return La(At,tr,mr);case 212:return qn(At,tr,mr);case 216:case 234:return Qi(At,tr.expression,mr);case 225:return $p(At,tr,mr);case 223:if(tr.operator===54)return Qi(At,tr.operand,!mr);break}return At}function Qn(At,tr,mr){if(qu(r,tr))return XS(At,mr?2097152:262144);const fr=un(tr,At);return fr?yi(At,fr,jr=>Ed(jr,mr?2097152:262144)):At}}function Wbt(r,c){if(r=Ud(r),(c.kind===80||c.kind===81)&&(zP(c)&&(c=c.parent),Xy(c)&&(!Qg(c)||HP(c)))){const _=Rf(c);if(Ud(mi(c).resolvedSymbol)===r)return _}return Yy(c)&&i1(c.parent)&&or(c.parent)?x0(c.parent.symbol):yb(r)}function xN(r){return mn(r.parent,c=>Sa(c)&&!Ox(c)||c.kind===267||c.kind===311||c.kind===171)}function XH(r){if(!r.valueDeclaration)return!1;const c=tg(r.valueDeclaration).parent,_=mi(c);return _.flags&524288||(_.flags|=524288,Hbt(c)||DMe(c)),r.isAssigned||!1}function Hbt(r){return!!mn(r.parent,c=>(Sa(c)||j4(c))&&!!(mi(c).flags&524288))}function DMe(r){if(r.kind===80){if(Qg(r)){const c=$d(r);Wte(c)&&(c.isAssigned=!0)}}else _a(r,DMe)}function XA(r){return r.flags&3&&(cme(r)&2)!==0}function Gbt(r){const c=mi(r);if(c.parameterInitializerContainsUndefined===void 0){if(!zp(r,9))return LA(r.symbol),!0;const _=!!(Ff(IN(r,0))&16777216);if(!wg())return LA(r.symbol),!0;c.parameterInitializerContainsUndefined=_}return c.parameterInitializerContainsUndefined}function Xbt(r,c){return K&&c.kind===168&&c.initializer&&Ff(r)&16777216&&!Gbt(c)?Ed(r,524288):r}function Qbt(r,c){const _=c.parent;return _.kind===210||_.kind===165||_.kind===212&&_.expression===c||_.kind===211&&_.expression===c&&!(O0(r,IMe)&&bb(Rf(_.argumentExpression)))}function NMe(r){return r.flags&2097152?Ne(r.types,NMe):!!(r.flags&465829888&&Sy(r).flags&1146880)}function IMe(r){return r.flags&2097152?Ne(r.types,IMe):!!(r.flags&465829888&&!Yc(Sy(r),98304))}function Ybt(r,c){const _=(He(r)||ai(r)||Pc(r))&&!((vh(r.parent)||Qx(r.parent))&&r.parent.tagName===r)&&(c&&c&64?g_(r,8):g_(r,void 0));return _&&!UA(_)}function $de(r,c,_){return!(_&&_&2)&&O0(r,NMe)&&(Qbt(r,c)||Ybt(c,_))?kc(r,Sy):r}function OMe(r){return!!mn(r,c=>{const _=c.parent;return _===void 0?"quit":Pl(_)?_.expression===c&&kl(c):T_(_)?_.name===c||_.propertyName===c:!1})}function QH(r,c){if(Ye&&N1(r,111551)&&!HA(c)&&!_f(r,111551)){const _=ef(r);p_(_)&1160127&&(Nm(Q)||zx(Q)&&OMe(c)||!UN(Ud(_))?I1(r):O1(r))}}function Zbt(r,c){var _;const m=bn(r),b=r.valueDeclaration;if(b){if(Lo(b)&&!b.initializer&&!b.dotDotDotToken&&b.parent.elements.length>=2){const x=b.parent.parent;if(x.kind===259&&ph(b)&2||x.kind===168){const P=mi(x);if(!(P.flags&16777216)){P.flags|=16777216;const J=DE(x,0),$=J&&kc(J,Sy);if(P.flags&=-16777217,$&&$.flags&1048576&&!(x.kind===168&&XH(r))){const re=b.parent,oe=rv(re,$,$,void 0,c.flowNode);return oe.flags&131072?Vt:Gi(b,oe)}}}}if(ea(b)&&!b.type&&!b.initializer&&!b.dotDotDotToken){const x=b.parent;if(x.parameters.length>=2&&xH(x)){const P=CN(x);if(P&&P.parameters.length===1&&kf(P)){const J=RA(Ps(bn(P.parameters[0]),(_=eT(x))==null?void 0:_.nonFixingMapper));if(J.flags&1048576&&qd(J,uo)&&!XH(r)){const $=rv(x,J,J,void 0,c.flowNode),re=x.parameters.indexOf(b)-(BT(x)?1:0);return A_($,vm(re))}}}}}return m}function Kbt(r,c){if(dw(r))return JM(r);const _=$d(r);if(_===qr)return se;if(_===Lt){if(gFe(r))return rt(r,v.arguments_cannot_be_referenced_in_property_initializers),se;const Sr=Wp(r);return he<2&&(Sr.kind===218?rt(r,v.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression):gi(Sr,512)&&rt(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)),mi(Sr).flags|=512,bn(_)}t2t(r)&&QH(_,r);const m=Ud(_),b=fhe(m,r);u0(b)&&Wpe(r,b)&&b.declarations&&yl(r,b.declarations,r.escapedText);let x=m.valueDeclaration;if(x&&m.flags&32){if(x.kind===262&&r4(ye,x)){let Sr=_u(r);for(;Sr!==void 0;){if(Sr===x&&Sr.name!==r){mi(x).flags|=1048576,mi(r).flags|=2097152;break}Sr=_u(Sr)}}else if(x.kind===230){let Sr=y_(r,!1,!1);for(;Sr.kind!==311;){if(Sr.parent===x){(Ia(Sr)&&Aa(Sr)||al(Sr))&&(mi(x).flags|=1048576,mi(r).flags|=2097152);break}Sr=y_(Sr,!1,!1)}}}i2t(r,_);let P=Zbt(m,r);const J=Fx(r);if(J){if(!(m.flags&3)&&!(Mn(r)&&m.flags&512)){const Sr=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 rt(r,Sr,Xe(_)),se}if(Sm(m))return m.flags&3?rt(r,v.Cannot_assign_to_0_because_it_is_a_constant,Xe(_)):rt(r,v.Cannot_assign_to_0_because_it_is_a_read_only_property,Xe(_)),se}const $=m.flags&2097152;if(m.flags&3){if(J===1)return P}else if($)x=pp(_);else return P;if(!x)return P;P=$de(P,r,c);const re=tg(x).kind===168,oe=xN(x);let Ee=xN(r);const Le=Ee!==oe,We=r.parent&&r.parent.parent&&ZT(r.parent)&&zde(r.parent.parent),gt=_.flags&134217728,$t=P===Ut||P===fa,Vr=$t&&r.parent.kind===234;for(;Ee!==oe&&(Ee.kind===217||Ee.kind===218||Dj(Ee))&&(XA(m)&&P!==fa||re&&!XH(m));)Ee=xN(Ee);const Zr=re||$||Le||We||gt||e2t(r,x)||P!==Ut&&P!==fa&&(!K||(P.flags&16387)!==0||HA(r)||Bde(r)||r.parent.kind===280)||r.parent.kind===234||x.kind===259&&x.exclamationToken||x.flags&16777216,Tn=Vr?Fe:Zr?re?Xbt(P,x):P:$t?Fe:I0(P),xr=Vr?Ay(rv(r,P,Tn,Ee)):rv(r,P,Tn,Ee);if(!EMe(r)&&(P===Ut||P===fa)){if(xr===Ut||xr===fa)return we&&(rt(ia(x),v.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,Xe(_),jt(xr)),rt(r,v.Variable_0_implicitly_has_an_1_type,Xe(_),jt(xr))),JN(xr)}else if(!Zr&&!zA(P)&&zA(xr))return rt(r,v.Variable_0_is_used_before_being_assigned,Xe(_)),P;return J?tv(xr):xr}function e2t(r,c){if(Lo(c)){const _=mn(r,Lo);return _&&tg(_)===tg(c)}}function t2t(r){var c;const _=r.parent;if(_){if(ai(_)&&_.expression===r||T_(_)&&_.isTypeOnly)return!1;const m=(c=_.parent)==null?void 0:c.parent;if(m&&Ju(m)&&m.isTypeOnly)return!1}return!0}function r2t(r,c){return!!mn(r,_=>_===c?"quit":Sa(_)||_.parent&&Ia(_.parent)&&!su(_.parent)&&_.parent.initializer===_)}function n2t(r,c){return mn(r,_=>_===c?"quit":_===c.initializer||_===c.condition||_===c.incrementor||_===c.statement)}function qde(r){return mn(r,c=>!c||Qee(c)?"quit":xv(c,!1))}function i2t(r,c){if(he>=2||!(c.flags&34)||!c.valueDeclaration||Cs(c.valueDeclaration)||c.valueDeclaration.parent.kind===298)return;const _=Kh(c.valueDeclaration),m=r2t(r,_),b=qde(_);if(b){if(m){let x=!0;if(Xx(_)){const P=Yb(c.valueDeclaration,260);if(P&&P.parent===_){const J=n2t(r.parent,_);if(J){const $=mi(J);$.flags|=8192;const re=$.capturedBlockScopeBindings||($.capturedBlockScopeBindings=[]);Sp(re,c),J===_.initializer&&(x=!1)}}}x&&(mi(b).flags|=4096)}if(Xx(_)){const x=Yb(c.valueDeclaration,260);x&&x.parent===_&&a2t(r,_)&&(mi(c.valueDeclaration).flags|=262144)}mi(c.valueDeclaration).flags|=32768}m&&(mi(c.valueDeclaration).flags|=16384)}function s2t(r,c){const _=mi(r);return!!_&&kt(_.capturedBlockScopeBindings,Yn(c))}function a2t(r,c){let _=r;for(;_.parent.kind===216;)_=_.parent;let m=!1;if(Qg(_))m=!0;else if(_.parent.kind===223||_.parent.kind===224){const b=_.parent;m=b.operator===46||b.operator===47}return m?!!mn(_,b=>b===c?"quit":b===c.statement):!1}function Wde(r,c){if(mi(r).flags|=2,c.kind===171||c.kind===175){const _=c.parent;mi(_).flags|=4}else mi(c).flags|=4}function LMe(r){return Z6(r)?r:Sa(r)?void 0:_a(r,LMe)}function MMe(r){const c=Yn(r),_=yc(c);return Kn(_)===Rn}function FMe(r,c,_){const m=c.parent;RT(m)&&!MMe(m)&&g5(r)&&r.flowNode&&!GH(r.flowNode,!1)&&rt(r,_)}function o2t(r,c){Ia(c)&&su(c)&&ye&&c.initializer&&qB(c.initializer,r.pos)&&_d(c.parent)&&rt(r,v.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}function JM(r){const c=HA(r);let _=y_(r,!0,!0),m=!1,b=!1;for(_.kind===175&&FMe(r,_,v.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class);;){if(_.kind===218&&(_=y_(_,!1,!b),m=!0),_.kind===166){_=y_(_,!m,!1),b=!0;continue}break}if(o2t(r,_),b)rt(r,v.this_cannot_be_referenced_in_a_computed_property_name);else switch(_.kind){case 266:rt(r,v.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 265:rt(r,v.this_cannot_be_referenced_in_current_location);break;case 175:RMe(r,_)&&rt(r,v.this_cannot_be_referenced_in_constructor_arguments);break}!c&&m&&he<2&&Wde(r,_);const x=Hde(r,!0,_);if(Ie){const P=bn(_t);if(x===P&&m)rt(r,v.The_containing_arrow_function_captures_the_global_value_of_this);else if(!x){const J=rt(r,v.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!Cs(_)){const $=Hde(_);$&&$!==P&&ho(J,ei(_,v.An_outer_value_of_this_is_shadowed_by_this_container))}}}return x||dt}function Hde(r,c=!0,_=y_(r,!1,!1)){const m=Mn(r);if(Sa(_)&&(!Qde(r)||BT(_))){let b=dc(_)||m&&u2t(_);if(!b){const x=l2t(_);if(m&&x){const P=Bs(x).symbol;P&&P.members&&P.flags&16&&(b=yc(P).thisType)}else rh(_)&&(b=yc(Fo(_.symbol)).thisType);b||(b=UMe(_))}if(b)return rv(r,b)}if(Ri(_.parent)){const b=Yn(_.parent),x=Aa(_)?bn(b):yc(b).thisType;return rv(r,x)}if(Cs(_))if(_.commonJsModuleIndicator){const b=Yn(_);return b&&bn(b)}else{if(_.externalModuleIndicator)return Fe;if(c)return bn(_t)}}function c2t(r){const c=y_(r,!1,!1);if(Sa(c)){const _=Zm(c);if(_.thisParameter)return qH(_.thisParameter)}if(Ri(c.parent)){const _=Yn(c.parent);return Aa(c)?bn(_):yc(_).thisType}}function l2t(r){if(r.kind===217&&Bn(r.parent)&&dl(r.parent)===3)return r.parent.left.expression.expression;if(r.kind===173&&r.parent.kind===209&&Bn(r.parent.parent)&&dl(r.parent.parent)===6)return r.parent.parent.left.expression;if(r.kind===217&&r.parent.kind===302&&r.parent.parent.kind===209&&Bn(r.parent.parent.parent)&&dl(r.parent.parent.parent)===6)return r.parent.parent.parent.left.expression;if(r.kind===217&&pu(r.parent)&&He(r.parent.name)&&(r.parent.name.escapedText==="value"||r.parent.name.escapedText==="get"||r.parent.name.escapedText==="set")&&jo(r.parent.parent)&&Ra(r.parent.parent.parent)&&r.parent.parent.parent.arguments[2]===r.parent.parent&&dl(r.parent.parent.parent)===9)return r.parent.parent.parent.arguments[0].expression;if(ql(r)&&He(r.name)&&(r.name.escapedText==="value"||r.name.escapedText==="get"||r.name.escapedText==="set")&&jo(r.parent)&&Ra(r.parent.parent)&&r.parent.parent.arguments[2]===r.parent&&dl(r.parent.parent)===9)return r.parent.parent.arguments[0].expression}function u2t(r){const c=bv(r);if(c&&c.kind===323){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 _=QB(r);if(_&&_.typeExpression)return Bi(_.typeExpression)}function RMe(r,c){return!!mn(r,_=>Lc(_)?"quit":_.kind===168&&_.parent===c)}function Gde(r){const c=r.parent.kind===212&&r.parent.expression===r,_=KI(r,!0);let m=_,b=!1,x=!1;if(!c){for(;m&&m.kind===218;)gi(m,512)&&(x=!0),m=KI(m,!0),b=he<2;m&&gi(m,512)&&(x=!0)}let P=0;if(!m||!oe(m)){const Ee=mn(r,Le=>Le===m?"quit":Le.kind===166);return Ee&&Ee.kind===166?rt(r,v.super_cannot_be_referenced_in_a_computed_property_name):c?rt(r,v.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):!m||!m.parent||!(Ri(m.parent)||m.parent.kind===209)?rt(r,v.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions):rt(r,v.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class),se}if(!c&&_.kind===175&&FMe(r,m,v.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),Aa(m)||c?(P=32,!c&&he>=2&&he<=8&&(Ia(m)||al(m))&&tTe(r.parent,Ee=>{(!Cs(Ee)||Pp(Ee))&&(mi(Ee).flags|=8388608)})):P=16,mi(r).flags|=P,m.kind===173&&x&&(v_(r.parent)&&Qg(r.parent)?mi(m).flags|=256:mi(m).flags|=128),b&&Wde(r.parent,m),m.parent.kind===209)return he<2?(rt(r,v.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),se):dt;const J=m.parent;if(!RT(J))return rt(r,v.super_can_only_be_referenced_in_a_derived_class),se;const $=yc(Yn(J)),re=$&&ma($)[0];if(!re)return se;if(m.kind===175&&RMe(r,m))return rt(r,v.super_cannot_be_referenced_in_constructor_arguments),se;return P===32?Kn($):mp(re,$.thisType);function oe(Ee){return c?Ee.kind===175:Ri(Ee.parent)||Ee.parent.kind===209?Aa(Ee)?Ee.kind===173||Ee.kind===172||Ee.kind===176||Ee.kind===177||Ee.kind===171||Ee.kind===174:Ee.kind===173||Ee.kind===172||Ee.kind===176||Ee.kind===177||Ee.kind===171||Ee.kind===170||Ee.kind===175:!1}}function BMe(r){return(r.kind===173||r.kind===176||r.kind===177)&&r.parent.kind===209?r.parent:r.kind===217&&r.parent.kind===302?r.parent.parent:void 0}function jMe(r){return vi(r)&4&&r.target===sn?cc(r)[0]:void 0}function JMe(r){return kc(r,c=>c.flags&2097152?te(c.types,jMe):jMe(c))}function UMe(r){if(r.kind===218)return;if(xH(r)){const _=CN(r);if(_){const m=_.thisParameter;if(m)return bn(m)}}const c=Mn(r);if(Ie||c){const _=BMe(r);if(_){const b=Eb(_,void 0);let x=_,P=b;for(;P;){const J=JMe(P);if(J)return Ps(J,Ade(eT(_)));if(x.parent.kind!==302)break;x=x.parent.parent,P=Eb(x,void 0)}return hp(b?Ay(b):jl(_))}const m=Av(r.parent);if(m.kind===225&&m.operatorToken.kind===64){const b=m.left;if(jc(b)){const{expression:x}=b;if(c&&He(x)){const P=pn(m);if(P.commonJsModuleIndicator&&$d(x)===P.symbol)return}return hp(jl(x))}}}}function zMe(r){const c=r.parent;if(!xH(c))return;const _=Ox(c);if(_&&_.arguments){const b=Cme(_),x=c.parameters.indexOf(r);if(r.dotDotDotToken)return xme(b,x,b.length,dt,void 0,0);const P=mi(_),J=P.resolvedSignature;P.resolvedSignature=Bl;const $=x<b.length?Q2(Bs(b[x])):r.initializer?void 0:Gt;return P.resolvedSignature=J,$}const m=CN(c);if(m){const b=c.parameters.indexOf(r)-(BT(c)?1:0);return r.dotDotDotToken&&Bc(c.parameters)===r?AN(m,b):KS(m,b)}}function Xde(r,c){const _=Yu(r)||(Mn(r)?EJ(r):void 0);if(_)return Bi(_);switch(r.kind){case 168:return zMe(r);case 207:return f2t(r,c);case 171:if(Aa(r))return _2t(r,c)}}function f2t(r,c){const _=r.parent.parent,m=r.propertyName||r.name,b=Xde(_,c)||_.kind!==207&&_.initializer&&IN(_,r.dotDotDotToken?64:0);if(!b||Fa(m)||QI(m))return;if(_.name.kind===206){const P=X6(r.parent.elements,r);return P<0?void 0:Kde(b,P)}const x=P0(m);if(Eg(x)){const P=Qm(x);return Ll(b,P)}}function _2t(r,c){const _=Ct(r.parent)&&g_(r.parent,c);if(_)return K2(_,Yn(r).escapedName)}function p2t(r,c){const _=r.parent;if(Cv(_)&&r===_.initializer){const m=Xde(_,c);if(m)return m;if(!(c&8)&&Fa(_.name)&&_.name.elements.length>0)return J1(_.name,!0,!1)}}function d2t(r,c){const _=Wp(r);if(_){let m=YH(_,c);if(m){const b=Fu(_);if(b&1){const x=(b&2)!==0;m.flags&1048576&&(m=tu(m,J=>!!rT(1,J,x)));const P=rT(1,m,(b&2)!==0);if(!P)return;m=P}if(b&2){const x=kc(m,L0);return x&&Ti([x,tRe(x)])}return m}}}function m2t(r,c){const _=g_(r,c);if(_){const m=L0(_);return m&&Ti([m,tRe(m)])}}function h2t(r,c){const _=Wp(r);if(_){const m=Fu(_);let b=YH(_,c);if(b){const x=(m&2)!==0;return!r.asteriskToken&&b.flags&1048576&&(b=tu(b,P=>!!rT(1,P,x))),r.asteriskToken?b:rT(0,b,x)}}}function Qde(r){let c=!1;for(;r.parent&&!Sa(r.parent);){if(ea(r.parent)&&(c||r.parent.initializer===r))return!0;Lo(r.parent)&&r.parent.initializer===r&&(c=!0),r=r.parent}return!1}function VMe(r,c){const _=!!(Fu(c)&2),m=YH(c,void 0);if(m)return rT(r,m,_)||void 0}function YH(r,c){const _=BE(r);if(_)return _;const m=tme(r);if(m&&!kpe(m))return Vo(m);const b=Ox(r);if(b)return g_(b,c)}function $Me(r,c){const m=Cme(r).indexOf(c);return m===-1?void 0:Yde(r,m)}function Yde(r,c){if(Dp(r))return c===0?L:c===1?F9e(!1):dt;const _=mi(r).resolvedSignature===Cu?Cu:KA(r);if(a_(r)&&c===0)return tG(_,r);const m=_.parameters.length-1;return kf(_)&&c>=m?A_(bn(_.parameters[m]),vm(c-m),256):Tm(_,c)}function g2t(r){const c=Fme(r);return c?VS(c):void 0}function y2t(r,c){if(r.parent.kind===214)return $Me(r.parent,c)}function v2t(r,c){const _=r.parent,{left:m,operatorToken:b,right:x}=_;switch(b.kind){case 64:case 77:case 76:case 78:return r===x?T2t(_):void 0;case 57:case 61:const P=g_(_,c);return r===x&&(P&&P.pattern||!P&&!TTe(_))?Rf(m):P;case 56:case 28:return r===x?g_(_,c):void 0;default:return}}function b2t(r){if(Xh(r)&&r.symbol)return r.symbol;if(He(r))return $d(r);if(ai(r)){const _=Rf(r.expression);return fs(r.name)?c(_,r.name):$a(_,r.name.escapedText)}if(Pc(r)){const _=jl(r.argumentExpression);if(!Eg(_))return;const m=Rf(r.expression);return $a(m,Qm(_))}return;function c(_,m){const b=sG(m.escapedText,m);return b&&pme(_,b)}}function T2t(r){var c,_;const m=dl(r);switch(m){case 0:case 4:const b=b2t(r.left),x=b&&b.valueDeclaration;if(x&&(Ia(x)||Gp(x))){const $=Yu(x);return $&&Ps(Bi($),ms(b).mapper)||(Ia(x)?x.initializer&&Rf(r.left):void 0)}return m===0?Rf(r.left):qMe(r);case 5:if(ZH(r,m))return qMe(r);if(!Xh(r.left)||!r.left.symbol)return Rf(r.left);{const $=r.left.symbol.valueDeclaration;if(!$)return;const re=Ua(r.left,jc),oe=Yu($);if(oe)return Bi(oe);if(He(re.expression)){const Ee=re.expression,Le=ll(Ee,Ee.escapedText,111551,void 0,Ee.escapedText,!0);if(Le){const We=Le.valueDeclaration&&Yu(Le.valueDeclaration);if(We){const gt=Qy(re);if(gt!==void 0)return K2(Bi(We),gt)}return}}return Mn($)||$===r.left?void 0:Rf(r.left)}case 1:case 6:case 3:case 2:let P;m!==2&&(P=Xh(r.left)?(c=r.left.symbol)==null?void 0:c.valueDeclaration:void 0),P||(P=(_=r.symbol)==null?void 0:_.valueDeclaration);const J=P&&Yu(P);return J?Bi(J):void 0;case 7:case 8:case 9:return R.fail("Does not apply");default:return R.assertNever(m)}}function ZH(r,c=dl(r)){if(c===4)return!0;if(!Mn(r)||c!==5||!He(r.left.expression))return!1;const _=r.left.expression.escapedText,m=ll(r.left,_,111551,void 0,void 0,!0,!0);return Lj(m==null?void 0:m.valueDeclaration)}function qMe(r){if(!r.symbol)return Rf(r.left);if(r.symbol.valueDeclaration){const b=Yu(r.symbol.valueDeclaration);if(b){const x=Bi(b);if(x)return x}}const c=Ua(r.left,jc);if(!Zd(y_(c.expression,!1,!1)))return;const _=JM(c.expression),m=Qy(c);return m!==void 0&&K2(_,m)||void 0}function S2t(r){return!!(ml(r)&262144&&!r.links.type&&S0(r,0)>=0)}function K2(r,c,_){return kc(r,m=>{var b;if(Vp(m)&&!m.declaration.nameType){const x=Ym(m),P=Of(x)||x,J=_||X_(xs(c));if(lo(J,P))return _H(m,J)}else if(m.flags&3670016){const x=$a(m,c);if(x)return S2t(x)?void 0:bn(x);if(uo(m)&&ey(c)&&+c>=0){const P=WA(m,m.target.fixedLength,0,!1,!0);if(P)return P}return(b=ype(vpe(m),_||X_(xs(c))))==null?void 0:b.type}},!0)}function WMe(r,c){if(R.assert(Zd(r)),!(r.flags&33554432))return Zde(r,c)}function Zde(r,c){const _=r.parent,m=pu(r)&&Xde(r,c);if(m)return m;const b=Eb(_,c);if(b){if(LE(r)){const x=Yn(r);return K2(b,x.escapedName,ms(x).nameType)}if(s1(r)){const x=ia(r);if(x&&Ho(x)){const P=Bs(x.expression),J=Eg(P)&&K2(b,Qm(P));if(J)return J}}if(r.name){const x=P0(r.name);return kc(b,P=>{var J;return(J=ype(vpe(P),x))==null?void 0:J.type},!0)}}}function x2t(r){let c,_;for(let m=0;m<r.length;m++)lg(r[m])&&(c??(c=m),_=m);return{first:c,last:_}}function Kde(r,c,_,m,b){return r&&kc(r,x=>{if(uo(x)){if((m===void 0||c<m)&&c<x.target.fixedLength)return cc(x)[c];const P=_!==void 0&&(b===void 0||c>b)?_-c:0,J=P>0&&x.target.hasRestElement?cN(x.target,3):0;return P>0&&P<=J?cc(x)[xy(x)-P]:WA(x,m===void 0?x.target.fixedLength:Math.min(x.target.fixedLength,m),_===void 0||b===void 0?J:Math.min(J,_-b),!1,!0)}return(!m||c<m)&&K2(x,""+c)||rhe(1,x,Fe,void 0,!1)},!0)}function k2t(r,c){const _=r.parent;return r===_.whenTrue||r===_.whenFalse?g_(_,c):void 0}function C2t(r,c,_){const m=Eb(r.openingElement.attributes,_),b=$M(ZS(r));if(!(m&&!qo(m)&&b&&b!==""))return;const x=MP(r.children),P=x.indexOf(c),J=K2(m,b);return J&&(x.length===1?J:kc(J,$=>ev($)?A_($,vm(P)):$,!0))}function w2t(r,c){const _=r.parent;return lj(_)?g_(r,c):iy(_)?C2t(_,r,c):void 0}function HMe(r,c){if(bh(r)){const _=Eb(r.parent,c);return!_||qo(_)?void 0:K2(_,cD(r.name))}else return g_(r.parent,c)}function UM(r){switch(r.kind){case 11:case 9:case 10:case 15:case 112:case 97:case 106:case 80:case 157:return!0;case 210:case 216:return UM(r.expression);case 293:return!r.expression||UM(r.expression)}return!1}function E2t(r,c){return Tbt(c,r)||fde(c,wr(qt(gr(r.properties,_=>!!_.symbol&&_.kind===302&&UM(_.initializer)&&bN(c,_.symbol.escapedName)),_=>[()=>sF(_.initializer),_.symbol.escapedName]),qt(gr(zo(c),_=>{var m;return!!(_.flags&16777216)&&!!((m=r==null?void 0:r.symbol)!=null&&m.members)&&!r.symbol.members.has(_.escapedName)&&bN(c,_.escapedName)}),_=>[()=>Fe,_.escapedName])),lo)}function A2t(r,c){const _=$M(ZS(r));return fde(c,wr(qt(gr(r.properties,m=>!!m.symbol&&m.kind===290&&bN(c,m.symbol.escapedName)&&(!m.initializer||UM(m.initializer))),m=>[m.initializer?()=>sF(m.initializer):()=>Te,m.symbol.escapedName]),qt(gr(zo(c),m=>{var b;if(!(m.flags&16777216)||!((b=r==null?void 0:r.symbol)!=null&&b.members))return!1;const x=r.parent.parent;return m.escapedName===_&&iy(x)&&MP(x.children).length?!1:!r.symbol.members.has(m.escapedName)&&bN(c,m.escapedName)}),m=>[()=>Fe,m.escapedName])),lo)}function Eb(r,c){const _=Zd(r)?WMe(r,c):g_(r,c),m=KH(_,r,c);if(m&&!(c&&c&2&&m.flags&8650752)){const b=kc(m,x=>vi(x)&32?x:Zf(x),!0);return b.flags&1048576&&jo(r)?E2t(r,b):b.flags&1048576&&YT(r)?A2t(r,b):b}}function KH(r,c,_){if(r&&Yc(r,465829888)){const m=eT(c);if(m&&_&1&&Ne(m.inferences,cxt))return eG(r,m.nonFixingMapper);if(m!=null&&m.returnMapper){const b=eG(r,m.returnMapper);return b.flags&1048576&&X1(b.types,ve)&&X1(b.types,ee)?tu(b,x=>x!==ve&&x!==ee):b}}return r}function eG(r,c){return r.flags&465829888?Ps(r,c):r.flags&1048576?Ti(qt(r.types,_=>eG(_,c)),0):r.flags&2097152?co(qt(r.types,_=>eG(_,c))):r}function g_(r,c){var _;if(r.flags&33554432)return;const m=XMe(r,!c);if(m>=0)return $i[m];const{parent:b}=r;switch(b.kind){case 259:case 168:case 171:case 170:case 207:return p2t(r,c);case 218:case 252:return d2t(r,c);case 228:return h2t(b,c);case 222:return m2t(b,c);case 212:case 213:return $Me(b,r);case 169:return g2t(b);case 215:case 233:return Wy(b.type)?g_(b,c):Bi(b.type);case 225:return v2t(r,c);case 302:case 303:return Zde(b,c);case 304:return g_(b.parent,c);case 208:{const x=b,P=Eb(x,c),J=X6(x.elements,r),$=(_=mi(x)).spreadIndices??(_.spreadIndices=x2t(x.elements));return Kde(P,J,x.elements.length,$.first,$.last)}case 226:return k2t(r,c);case 238:return R.assert(b.parent.kind===227),y2t(b.parent,r);case 216:{if(Mn(b)){if(Qte(b))return Bi(Yte(b));const x=kT(b);if(x&&!Wy(x.typeExpression.type))return Bi(x.typeExpression.type)}return g_(b,c)}case 234:return g_(b,c);case 237:return Bi(b.type);case 276:return F(b);case 293:return w2t(b,c);case 290:case 292:return HMe(b,c);case 285:case 284:return N2t(b,c)}}function GMe(r){zM(r,g_(r,void 0),!0)}function zM(r,c,_){dn[Ln]=r,$i[Ln]=c,As[Ln]=_,Ln++}function kN(){Ln--}function XMe(r,c){for(let _=Ln-1;_>=0;_--)if(r===dn[_]&&(c||!As[_]))return _;return-1}function P2t(r,c){si[ya]=r,zn[ya]=c,ya++}function D2t(){ya--}function eT(r){for(let c=ya-1;c>=0;c--)if(FT(r,si[c]))return zn[c]}function N2t(r,c){if(vh(r)&&c!==4){const _=XMe(r.parent,!c);if(_>=0)return $i[_]}return Yde(r,0)}function tG(r,c){return NFe(c)!==0?I2t(r,c):M2t(r,c)}function I2t(r,c){let _=Lme(r,mt);_=QMe(c,ZS(c),_);const m=tT(Lp.IntrinsicAttributes,c);return Ro(m)||(_=cM(m,_)),_}function O2t(r,c){if(r.compositeSignatures){const m=[];for(const b of r.compositeSignatures){const x=Vo(b);if(qo(x))return x;const P=Ll(x,c);if(!P)return;m.push(P)}return co(m)}const _=Vo(r);return qo(_)?_:Ll(_,c)}function L2t(r){if(aC(r.tagName)){const _=sFe(r),m=_G(r,_);return VS(m)}const c=jl(r.tagName);if(c.flags&128){const _=iFe(c,r);if(!_)return se;const m=_G(r,_);return VS(m)}return c}function QMe(r,c,_){const m=eTt(c);if(m){const b=L2t(r),x=cFe(m,Mn(r),b,_);if(x)return x}return _}function M2t(r,c){const _=ZS(c),m=rTt(_);let b=m===void 0?Lme(r,mt):m===""?Vo(r):O2t(r,m);if(!b)return m&&G(c.attributes.properties)&&rt(c,v.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,xs(m)),mt;if(b=QMe(c,_,b),qo(b))return b;{let x=b;const P=tT(Lp.IntrinsicClassAttributes,c);if(!Ro(P)){const $=z1(P.symbol),re=Vo(r);let oe;if($){const Ee=W1([re],$,Dh($),Mn(c));oe=Ps(P,P_($,Ee))}else oe=P;x=cM(oe,x)}const J=tT(Lp.IntrinsicAttributes,c);return Ro(J)||(x=cM(J,x)),x}}function F2t(r){return Md(Q,"noImplicitAny")?Uf(r,(c,_)=>c===_||!c?c:e9e(c.typeParameters,_.typeParameters)?j2t(c,_):void 0):void 0}function R2t(r,c,_){if(!r||!c)return r||c;const m=Ti([bn(r),Ps(bn(c),_)]);return HS(r,m)}function B2t(r,c,_){const m=gp(r),b=gp(c),x=m>=b?r:c,P=x===r?c:r,J=x===r?m:b,$=Oh(r)||Oh(c),re=$&&!Oh(x),oe=new Array(J+(re?1:0));for(let Ee=0;Ee<J;Ee++){let Le=KS(x,Ee);x===c&&(Le=Ps(Le,_));let We=KS(P,Ee)||mt;P===c&&(We=Ps(We,_));const gt=Ti([Le,We]),$t=$&&!re&&Ee===J-1,Vr=Ee>=nh(x)&&Ee>=nh(P),Zr=Ee>=m?void 0:e3(r,Ee),Tn=Ee>=b?void 0:e3(c,Ee),xr=Zr===Tn?Zr:Zr?Tn?void 0:Zr:Tn,Sr=No(1|(Vr&&!$t?16777216:0),xr||`arg${Ee}`);Sr.links.type=$t?mf(gt):gt,oe[Ee]=Sr}if(re){const Ee=No(1,"args");Ee.links.type=mf(Tm(P,J)),P===c&&(Ee.links.type=Ps(Ee.links.type,_)),oe[J]=Ee}return oe}function j2t(r,c){const _=r.typeParameters||c.typeParameters;let m;r.typeParameters&&c.typeParameters&&(m=P_(c.typeParameters,r.typeParameters));const b=r.declaration,x=B2t(r,c,m),P=R2t(r.thisParameter,c.thisParameter,m),J=Math.max(r.minArgumentCount,c.minArgumentCount),$=Ag(b,_,P,x,void 0,void 0,J,(r.flags|c.flags)&39);return $.compositeKind=2097152,$.compositeSignatures=wr(r.compositeKind===2097152&&r.compositeSignatures||[r],[c]),m&&($.mapper=r.compositeKind===2097152&&r.mapper&&r.compositeSignatures?kb(r.mapper,m):m),$}function eme(r,c){const _=Ca(r,0),m=gr(_,b=>!J2t(b,c));return m.length===1?m[0]:F2t(m)}function J2t(r,c){let _=0;for(;_<c.parameters.length;_++){const m=c.parameters[_];if(m.initializer||m.questionToken||m.dotDotDotToken||Y5(m))break}return c.parameters.length&&jT(c.parameters[0])&&_--,!Oh(r)&&gp(r)<_}function tme(r){return C4(r)||Zd(r)?CN(r):void 0}function CN(r){R.assert(r.kind!==173||Zd(r));const c=nN(r);if(c)return c;const _=Eb(r,1);if(!_)return;if(!(_.flags&1048576))return eme(_,r);let m;const b=_.types;for(const x of b){const P=eme(x,r);if(P)if(!m)m=[P];else if(DM(m[0],P,!1,!0,!0,_N))m.push(P);else return}if(m)return m.length===1?m[0]:ZOe(m[0],m)}function U2t(r,c){he<2&&ru(r,Q.downlevelIteration?1536:1024);const _=Bs(r.expression,c);return M0(33,_,Fe,r.expression)}function z2t(r){return r.isSpread?A_(r.type,Se):r.type}function QA(r){return r.kind===207&&!!r.initializer||r.kind===225&&r.operatorToken.kind===64}function YMe(r,c,_){const m=r.elements,b=m.length,x=[],P=[];GMe(r);const J=Qg(r),$=lg(r.parent)&&Wg(r.parent.parent),re=$||t3(r),oe=Eb(r,void 0),Ee=$||!!oe&&O0(oe,qA);let Le=!1;for(let We=0;We<b;We++){const gt=m[We];if(gt.kind===229){he<2&&ru(gt,Q.downlevelIteration?1536:1024);const $t=Bs(gt.expression,c,_);if(ev($t))x.push($t),P.push(8);else if(J){const Vr=E0($t,Se)||rhe(65,$t,Fe,void 0,!1)||mt;x.push(Vr),P.push(4)}else x.push(M0(33,$t,Fe,gt.expression)),P.push(4)}else if(Ke&&gt.kind===231)Le=!0,x.push(Lr),P.push(2);else{const $t=r3(gt,c,_);if(x.push(Xa($t,!0,Le)),P.push(Le?2:1),Ee&&c&&c&2&&!(c&4)&&ed(gt)){const Vr=eT(r);R.assert(Vr),wde(Vr,gt,$t)}}}return kN(),J?ym(x,P):ZMe(_||re||Ee?ym(x,P,re):mf(x.length?Ti($s(x,(We,gt)=>P[gt]&8?Q1(We,Se)||dt:We),2):K?Pn:Gt,re))}function ZMe(r){if(!(vi(r)&4))return r;let c=r.literalType;return c||(c=r.literalType=k9e(r),c.objectFlags|=147456),c}function V2t(r){switch(r.kind){case 166:return $2t(r);case 80:return ey(r.escapedText);case 9:case 11:return ey(r.text);default:return!1}}function $2t(r){return Au(Dg(r),296)}function Dg(r){const c=mi(r.expression);if(!c.resolvedType){if((Ip(r.parent.parent)||Ri(r.parent.parent)||Xf(r.parent.parent))&&Bn(r.expression)&&r.expression.operatorToken.kind===103&&r.parent.kind!==176&&r.parent.kind!==177)return c.resolvedType=se;if(c.resolvedType=Bs(r.expression),Ia(r.parent)&&!su(r.parent)&&Gf(r.parent.parent)){const _=Kh(r.parent.parent),m=qde(_);m&&(mi(m).flags|=4096,mi(r).flags|=32768,mi(r.parent.parent).flags|=32768)}(c.resolvedType.flags&98304||!Au(c.resolvedType,402665900)&&!lo(c.resolvedType,qs))&&rt(r,v.A_computed_property_name_must_be_of_type_string_number_symbol_or_any)}return c.resolvedType}function q2t(r){var c;const _=(c=r.declarations)==null?void 0:c[0];return ey(r.escapedName)||_&&bf(_)&&V2t(_.name)}function KMe(r){var c;const _=(c=r.declarations)==null?void 0:c[0];return w5(r)||_&&bf(_)&&Ho(_.name)&&Au(Dg(_.name),4096)}function rme(r,c,_,m){const b=[];for(let P=c;P<_.length;P++){const J=_[P];(m===L&&!KMe(J)||m===Se&&q2t(J)||m===Qt&&KMe(J))&&b.push(bn(_[P]))}const x=b.length?Ti(b,2):Fe;return Nh(m,x,t3(r))}function nme(r){R.assert((r.flags&2097152)!==0,"Should only get Alias here.");const c=ms(r);if(!c.immediateTarget){const _=pp(r);if(!_)return R.fail();c.immediateTarget=Jd(_,!0)}return c.immediateTarget}function W2t(r,c=0){var _;const m=Qg(r);Qwt(r,m);const b=K?za():void 0;let x=za(),P=[],J=ga;GMe(r);const $=Eb(r,void 0),re=$&&$.pattern&&($.pattern.kind===205||$.pattern.kind===209),oe=t3(r),Ee=oe?8:0,Le=Mn(r)&&!jj(r),We=Le?FK(r):void 0,gt=!$&&Le&&!We;let $t=qe,Vr=!1,Zr=!1,Tn=!1,xr=!1;for(const Pr of r.properties)Pr.name&&Ho(Pr.name)&&Dg(Pr.name);let Sr=0;for(const Pr of r.properties){let Xr=Yn(Pr);const un=Pr.name&&Pr.name.kind===166?Dg(Pr.name):void 0;if(Pr.kind===302||Pr.kind===303||Zd(Pr)){let yi=Pr.kind===302?mRe(Pr,c):Pr.kind===303?r3(!m&&Pr.objectAssignmentInitializer?Pr.objectAssignmentInitializer:Pr.name,c):hRe(Pr,c);if(Le){const La=Qs(Pr);La?(D_(yi,La,Pr),yi=La):We&&We.typeExpression&&D_(yi,Bi(We.typeExpression),Pr)}$t|=vi(yi)&458752;const Mi=un&&Eg(un)?un:void 0,Ks=Mi?No(4|Xr.flags,Qm(Mi),Ee|4096):No(4|Xr.flags,Xr.escapedName,Ee);if(Mi&&(Ks.links.nameType=Mi),m)(Pr.kind===302&&QA(Pr.initializer)||Pr.kind===303&&Pr.objectAssignmentInitializer)&&(Ks.flags|=16777216);else if(re&&!(vi($)&512)){const La=$a($,Xr.escapedName);La?Ks.flags|=La.flags&16777216:!Q.suppressExcessPropertyErrors&&!Pg($,L)&&rt(Pr.name,v.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Xe(Xr),jt($))}if(Ks.declarations=Xr.declarations,Ks.parent=Xr.parent,Xr.valueDeclaration&&(Ks.valueDeclaration=Xr.valueDeclaration),Ks.links.type=yi,Ks.links.target=Xr,Xr=Ks,b==null||b.set(Ks.escapedName,Ks),$&&c&2&&!(c&4)&&(Pr.kind===302||Pr.kind===173)&&ed(Pr)){const La=eT(r);R.assert(La);const lu=Pr.kind===302?Pr.initializer:Pr;wde(La,lu,yi)}}else if(Pr.kind===304){he<2&&ru(Pr,2),P.length>0&&(J=q2(J,Jn(),r.symbol,$t,oe),P=[],x=za(),Zr=!1,Tn=!1,xr=!1);const yi=gm(Bs(Pr.expression,c&2));if(VM(yi)){const Mi=Ype(yi,oe);if(b&&tFe(Mi,b,Pr),Sr=P.length,Ro(J))continue;J=q2(J,Mi,r.symbol,$t,oe)}else rt(Pr,v.Spread_types_may_only_be_created_from_object_types),J=se;continue}else R.assert(Pr.kind===176||Pr.kind===177),ZE(Pr);un&&!(un.flags&8576)?lo(un,qs)&&(lo(un,Se)?Tn=!0:lo(un,Qt)?xr=!0:Zr=!0,m&&(Vr=!0)):x.set(Xr.escapedName,Xr),P.push(Xr)}if(kN(),re){const Pr=mn($.pattern.parent,un=>un.kind===259||un.kind===225||un.kind===168);if(mn(r,un=>un===Pr||un.kind===304).kind!==304)for(const un of zo($))!x.get(un.escapedName)&&!$a(J,un.escapedName)&&(un.flags&16777216||rt(un.valueDeclaration||((_=wi(un,Yh))==null?void 0:_.links.bindingElement),v.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value),x.set(un.escapedName,un),P.push(un))}if(Ro(J))return se;if(J!==ga)return P.length>0&&(J=q2(J,Jn(),r.symbol,$t,oe),P=[],x=za(),Zr=!1,Tn=!1),kc(J,Pr=>Pr===ga?Jn():Pr);return Jn();function Jn(){const Pr=[];Zr&&Pr.push(rme(r,Sr,P,L)),Tn&&Pr.push(rme(r,Sr,P,Se)),xr&&Pr.push(rme(r,Sr,P,Qt));const Xr=ul(r.symbol,x,ft,ft,Pr);return Xr.objectFlags|=$t|128|131072,gt&&(Xr.objectFlags|=4096),Vr&&(Xr.objectFlags|=512),m&&(Xr.pattern=r),Xr}}function VM(r){const c=XLe(kc(r,Sy));return!!(c.flags&126615553||c.flags&3145728&&ot(c.types,VM))}function H2t(r){ame(r)}function G2t(r,c){return ZE(r),qM(r)||dt}function X2t(r){ame(r.openingElement),aC(r.closingElement.tagName)?nG(r.closingElement):Bs(r.closingElement.tagName),rG(r)}function Q2t(r,c){return ZE(r),qM(r)||dt}function Y2t(r){ame(r.openingFragment);const c=pn(r);return gJ(Q)&&(Q.jsxFactory||c.pragmas.has("jsx"))&&!Q.jsxFragmentFactory&&!c.pragmas.has("jsxfrag")&&rt(r,Q.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),rG(r),qM(r)||dt}function ime(r){return rf(r,"-")}function aC(r){return He(r)&&m4(r.escapedText)||Th(r)}function eFe(r,c){return r.initializer?r3(r.initializer,c):Te}function Z2t(r,c=0){const _=r.attributes,m=g_(_,0),b=K?za():void 0;let x=za(),P=Rc,J=!1,$,re=!1,oe=2048;const Ee=$M(ZS(r));for(const gt of _.properties){const $t=gt.symbol;if(bh(gt)){const Vr=eFe(gt,c);oe|=vi(Vr)&458752;const Zr=No(4|$t.flags,$t.escapedName);if(Zr.declarations=$t.declarations,Zr.parent=$t.parent,$t.valueDeclaration&&(Zr.valueDeclaration=$t.valueDeclaration),Zr.links.type=Vr,Zr.links.target=$t,x.set(Zr.escapedName,Zr),b==null||b.set(Zr.escapedName,Zr),cD(gt.name)===Ee&&(re=!0),m){const Tn=$a(m,$t.escapedName);Tn&&Tn.declarations&&u0(Tn)&&He(gt.name)&&yl(gt.name,Tn.declarations,gt.name.escapedText)}if(m&&c&2&&!(c&4)&&ed(gt)){const Tn=eT(_);R.assert(Tn);const xr=gt.initializer.expression;wde(Tn,xr,Vr)}}else{R.assert(gt.kind===292),x.size>0&&(P=q2(P,We(),_.symbol,oe,!1),x=za());const Vr=gm(Bs(gt.expression,c&2));qo(Vr)&&(J=!0),VM(Vr)?(P=q2(P,Vr,_.symbol,oe,!1),b&&tFe(Vr,b,gt)):(rt(gt.expression,v.Spread_types_may_only_be_created_from_object_types),$=$?co([$,Vr]):Vr)}}J||x.size>0&&(P=q2(P,We(),_.symbol,oe,!1));const Le=r.parent.kind===283?r.parent:void 0;if(Le&&Le.openingElement===r&&Le.children.length>0){const gt=rG(Le,c);if(!J&&Ee&&Ee!==""){re&&rt(_,v._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,xs(Ee));const $t=Eb(r.attributes,void 0),Vr=$t&&K2($t,Ee),Zr=No(4,Ee);Zr.links.type=gt.length===1?gt[0]:Vr&&O0(Vr,qA)?ym(gt):mf(Ti(gt)),Zr.valueDeclaration=V.createPropertySignature(void 0,xs(Ee),void 0,void 0),ko(Zr.valueDeclaration,_),Zr.valueDeclaration.symbol=Zr;const Tn=za();Tn.set(Ee,Zr),P=q2(P,ul(_.symbol,Tn,ft,ft,ft),_.symbol,oe,!1)}}if(J)return dt;if($&&P!==Rc)return co([$,P]);return $||(P===Rc?We():P);function We(){oe|=qe;const gt=ul(_.symbol,x,ft,ft,ft);return gt.objectFlags|=oe|128|131072,gt}}function rG(r,c){const _=[];for(const m of r.children)if(m.kind===12)m.containsOnlyTriviaWhiteSpaces||_.push(L);else{if(m.kind===293&&!m.expression)continue;_.push(r3(m,c))}return _}function tFe(r,c,_){for(const m of zo(r))if(!(m.flags&16777216)){const b=c.get(m.escapedName);if(b){const x=rt(b.valueDeclaration,v._0_is_specified_more_than_once_so_this_usage_will_be_overwritten,xs(b.escapedName));ho(x,ei(_,v.This_spread_always_overwrites_this_property))}}}function K2t(r,c){return Z2t(r.parent,c)}function tT(r,c){const _=ZS(c),m=_&&Jp(_),b=m&&Eu(m,r,788968);return b?yc(b):se}function nG(r){const c=mi(r);if(!c.resolvedSymbol){const _=tT(Lp.IntrinsicElements,r);if(Ro(_))return we&&rt(r,v.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,xs(Lp.IntrinsicElements)),c.resolvedSymbol=qr;{if(!He(r.tagName)&&!Th(r.tagName))return R.fail();const m=$a(_,Th(r.tagName)?E4(r.tagName):r.tagName.escapedText);return m?(c.jsxFlags|=1,c.resolvedSymbol=m):E0(_,L)?(c.jsxFlags|=2,c.resolvedSymbol=_.symbol):(rt(r,v.Property_0_does_not_exist_on_type_1,Zte(r.tagName),"JSX."+Lp.IntrinsicElements),c.resolvedSymbol=qr)}}return c.resolvedSymbol}function sme(r){const c=r&&pn(r),_=c&&mi(c);if(_&&_.jsxImplicitImportContainer===!1)return;if(_&&_.jsxImplicitImportContainer)return _.jsxImplicitImportContainer;const m=vJ(yJ(Q,c),Q);if(!m)return;const x=wl(Q)===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,P=N2(r,m,x,r),J=P&&P!==qr?Fo(Qc(P)):void 0;return _&&(_.jsxImplicitImportContainer=J||!1),J}function ZS(r){const c=r&&mi(r);if(c&&c.jsxNamespace)return c.jsxNamespace;if(!c||c.jsxNamespace!==!1){let m=sme(r);if(!m||m===qr){const b=y2(r);m=ll(r,b,1920,void 0,b,!1)}if(m){const b=Qc(Eu(Jp(Qc(m)),Lp.JSX,1920));if(b&&b!==qr)return c&&(c.jsxNamespace=b),b}c&&(c.jsxNamespace=!1)}const _=Qc(aN(Lp.JSX,1920,void 0));if(_!==qr)return _}function rFe(r,c){const _=c&&Eu(c.exports,r,788968),m=_&&yc(_),b=m&&zo(m);if(b){if(b.length===0)return"";if(b.length===1)return b[0].escapedName;b.length>1&&_.declarations&&rt(_.declarations[0],v.The_global_type_JSX_0_may_not_have_more_than_one_property,xs(r))}}function eTt(r){return r&&Eu(r.exports,Lp.LibraryManagedAttributes,788968)}function tTt(r){return r&&Eu(r.exports,Lp.ElementType,788968)}function rTt(r){return rFe(Lp.ElementAttributesPropertyNameContainer,r)}function $M(r){return rFe(Lp.ElementChildrenAttributeNameContainer,r)}function nFe(r,c){if(r.flags&4)return[Bl];if(r.flags&128){const b=iFe(r,c);return b?[_G(c,b)]:(rt(c,v.Property_0_does_not_exist_on_type_1,r.value,"JSX."+Lp.IntrinsicElements),ft)}const _=Zf(r);let m=Ca(_,1);return m.length===0&&(m=Ca(_,0)),m.length===0&&_.flags&1048576&&(m=spe(qt(_.types,b=>nFe(b,c)))),m}function iFe(r,c){const _=tT(Lp.IntrinsicElements,c);if(!Ro(_)){const m=r.value,b=$a(_,$c(m));if(b)return bn(b);const x=E0(_,L);return x||void 0}return dt}function nTt(r,c,_){if(r===1){const b=oFe(_);b&&td(c,b,__,_.tagName,v.Its_return_type_0_is_not_a_valid_JSX_element,m)}else if(r===0){const b=aFe(_);b&&td(c,b,__,_.tagName,v.Its_instance_type_0_is_not_a_valid_JSX_element,m)}else{const b=oFe(_),x=aFe(_);if(!b||!x)return;const P=Ti([b,x]);td(c,P,__,_.tagName,v.Its_element_type_0_is_not_a_valid_JSX_element,m)}function m(){const b=iu(_.tagName);return ca(void 0,v._0_cannot_be_used_as_a_JSX_component,b)}}function sFe(r){R.assert(aC(r.tagName));const c=mi(r);if(!c.resolvedJsxElementAttributesType){const _=nG(r);return c.jsxFlags&1?c.resolvedJsxElementAttributesType=bn(_)||se:c.jsxFlags&2?c.resolvedJsxElementAttributesType=E0(tT(Lp.IntrinsicElements,r),L)||se:c.resolvedJsxElementAttributesType=se}return c.resolvedJsxElementAttributesType}function aFe(r){const c=tT(Lp.ElementClass,r);if(!Ro(c))return c}function qM(r){return tT(Lp.Element,r)}function oFe(r){const c=qM(r);if(c)return Ti([c,Gn])}function iTt(r){const c=ZS(r);if(!c)return;const _=tTt(c);if(!_)return;const m=cFe(_,Mn(r));if(!(!m||Ro(m)))return m}function cFe(r,c,..._){const m=yc(r);if(r.flags&524288){const b=ms(r).typeParameters;if(G(b)>=_.length){const x=W1(_,b,_.length,c);return G(x)===0?m:JE(r,x)}}if(G(m.typeParameters)>=_.length){const b=W1(_,m.typeParameters,_.length,c);return A0(m,b)}}function sTt(r){const c=tT(Lp.IntrinsicElements,r);return c?zo(c):ft}function aTt(r){(Q.jsx||0)===0&&rt(r,v.Cannot_use_JSX_unless_the_jsx_flag_is_provided),qM(r)===void 0&&we&&rt(r,v.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}function ame(r){const c=a_(r);if(c&&Ywt(r),aTt(r),!sme(r)){const _=Do&&Q.jsx===2?v.Cannot_find_name_0:void 0,m=y2(r),b=c?r.tagName:r;let x;if(Rw(r)&&m==="null"||(x=ll(b,m,111551,_,m,!0)),x&&(x.isReferenced=67108863,Ye&&x.flags&2097152&&!_f(x)&&I1(x)),Rw(r)){const P=pn(r),J=TE(P);J&&ll(b,J,111551,_,J,!0)}}if(c){const _=r,m=KA(_);dG(m,r);const b=iTt(_);if(b!==void 0){const x=_.tagName,P=aC(x)?X_(Zte(x)):Bs(x);td(P,b,__,x,v.Its_type_0_is_not_a_valid_JSX_element_type,()=>{const J=iu(x);return ca(void 0,v._0_cannot_be_used_as_a_JSX_component,J)})}else nTt(NFe(_),Vo(m),_)}}function ome(r,c,_){if(r.flags&524288){if(J2(r,c)||RE(r,c)||Z8(c)&&Pg(r,L)||_&&ime(c))return!0}else if(r.flags&3145728&&WM(r)){for(const m of r.types)if(ome(m,c,_))return!0}return!1}function WM(r){return!!(r.flags&524288&&!(vi(r)&512)||r.flags&67108864||r.flags&1048576&&Ne(r.types,WM)||r.flags&2097152&&ot(r.types,WM))}function oTt(r,c){if(Kwt(r),r.expression){const _=Bs(r.expression,c);return r.dotDotDotToken&&_!==dt&&!rd(_)&&rt(r,v.JSX_spread_child_must_be_an_array_type),_}else return se}function cme(r){return r.valueDeclaration?ph(r.valueDeclaration):0}function lme(r){if(r.flags&8192||ml(r)&4)return!0;if(Mn(r.valueDeclaration)){const c=r.valueDeclaration.parent;return c&&Bn(c)&&dl(c)===3}}function ume(r,c,_,m,b,x=!0){const P=x?r.kind===165?r.right:r.kind===204?r:r.kind===207&&r.propertyName?r.propertyName:r.name:void 0;return lFe(r,c,_,m,b,P)}function lFe(r,c,_,m,b,x){const P=pd(b,_);if(c){if(he<2&&uFe(b))return x&&rt(x,v.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(P&256)return x&&rt(x,v.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,Xe(b),jt(iC(b))),!1}if(P&256&&uFe(b)&&(e5(r)||gTe(r)||Om(r.parent)&&Lj(r.parent.parent))){const $=Ky(E_(b));if($&&QCt(r))return x&&rt(x,v.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,Xe(b),em($.name)),!1}if(!(P&24))return!0;if(P&8){const $=Ky(E_(b));return dhe(r,$)?!0:(x&&rt(x,v.Property_0_is_private_and_only_accessible_within_class_1,Xe(b),jt(iC(b))),!1)}if(c)return!0;let J=xBe(r,$=>{const re=yc(Yn($));return zLe(re,b,_)});return!J&&(J=cTt(r),J=J&&zLe(J,b,_),P&32||!J)?(x&&rt(x,v.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,Xe(b),jt(iC(b)||m)),!1):P&32?!0:(m.flags&262144&&(m=m.isThisType?If(m):Of(m)),!m||!OE(m,J)?(x&&rt(x,v.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,Xe(b),jt(J),jt(m)),!1):!0)}function cTt(r){const c=lTt(r);let _=(c==null?void 0:c.type)&&Bi(c.type);if(_&&_.flags&262144&&(_=If(_)),_&&vi(_)&7)return IE(_)}function lTt(r){const c=y_(r,!1,!1);return c&&Sa(c)?BT(c):void 0}function uFe(r){return!!AM(r,c=>!(c.flags&8192))}function YA(r){return th(Bs(r),r)}function iG(r){return!!(Ff(r)&50331648)}function fme(r){return iG(r)?Ay(r):r}function uTt(r,c){const _=kl(r)?np(r):void 0;if(r.kind===106){rt(r,v.The_value_0_cannot_be_used_here,"null");return}if(_!==void 0&&_.length<100){if(He(r)&&_==="undefined"){rt(r,v.The_value_0_cannot_be_used_here,"undefined");return}rt(r,c&16777216?c&33554432?v._0_is_possibly_null_or_undefined:v._0_is_possibly_undefined:v._0_is_possibly_null,_)}else rt(r,c&16777216?c&33554432?v.Object_is_possibly_null_or_undefined:v.Object_is_possibly_undefined:v.Object_is_possibly_null)}function fTt(r,c){rt(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 fFe(r,c,_){if(K&&r.flags&2){if(kl(c)){const b=np(c);if(b.length<100)return rt(c,v._0_is_of_type_unknown,b),se}return rt(c,v.Object_is_of_type_unknown),se}const m=Ff(r);if(m&50331648){_(c,m);const b=Ay(r);return b.flags&229376?se:b}return r}function th(r,c){return fFe(r,c,uTt)}function _Fe(r,c){const _=th(r,c);if(_.flags&16384){if(kl(c)){const m=np(c);if(He(c)&&m==="undefined")return rt(c,v.The_value_0_cannot_be_used_here,m),_;if(m.length<100)return rt(c,v._0_is_possibly_undefined,m),_}rt(c,v.Object_is_possibly_undefined)}return _}function _me(r,c,_){return r.flags&32?_Tt(r,c):dme(r,r.expression,YA(r.expression),r.name,c,_)}function _Tt(r,c){const _=Bs(r.expression),m=hN(_,r.expression);return LH(dme(r,r.expression,th(m,r.expression),r.name,c),r,m!==_)}function pFe(r,c){const _=Bj(r)&&JT(r.left)?th(JM(r.left),r.left):YA(r.left);return dme(r,r.left,_,r.right,c)}function dFe(r){for(;r.parent.kind===216;)r=r.parent;return Wg(r.parent)&&r.parent.expression===r}function sG(r,c){for(let _=_u(c);_;_=_u(_)){const{symbol:m}=_,b=C5(m,r),x=m.members&&m.members.get(b)||m.exports&&m.exports.get(b);if(x)return x}}function pTt(r){if(!_u(r))return Fr(r,v.Private_identifiers_are_not_allowed_outside_class_bodies);if(!zre(r.parent)){if(!Xy(r))return Fr(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=Bn(r.parent)&&r.parent.operatorToken.kind===103;if(!aG(r)&&!c)return Fr(r,v.Cannot_find_name_0,Zn(r))}return!1}function dTt(r){pTt(r);const c=aG(r);return c&&GM(c,void 0,!1),dt}function aG(r){if(!Xy(r))return;const c=mi(r);return c.resolvedSymbol===void 0&&(c.resolvedSymbol=sG(r.escapedText,r)),c.resolvedSymbol}function pme(r,c){return $a(r,c.escapedName)}function mTt(r,c,_){let m;const b=zo(r);b&&te(b,P=>{const J=P.valueDeclaration;if(J&&bf(J)&&fs(J.name)&&J.name.escapedText===c.escapedText)return m=P,!0});const x=_m(c);if(m){const P=R.checkDefined(m.valueDeclaration),J=R.checkDefined(_u(P));if(_!=null&&_.valueDeclaration){const $=_.valueDeclaration,re=_u($);if(R.assert(!!re),mn(re,oe=>J===oe)){const oe=rt(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,jt(r));return ho(oe,ei($,v.The_shadowing_declaration_of_0_is_defined_here,x),ei(P,v.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,x)),!0}}return rt(c,v.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,x,_m(J.name||c9)),!0}return!1}function mFe(r,c){return(zd(c)||e5(r)&&pb(c))&&y_(r,!0,!1)===vy(c)}function dme(r,c,_,m,b,x){const P=mi(c).resolvedSymbol,J=Fx(r),$=Zf(J!==0||dFe(r)?hp(_):_),re=qo($)||$===Nr;let oe;if(fs(m)){he<99&&(J!==0&&ru(r,1048576),J!==1&&ru(r,524288));const Le=sG(m.escapedText,m);if(J&&Le&&Le.valueDeclaration&&ql(Le.valueDeclaration)&&Fr(m,v.Cannot_assign_to_private_method_0_Private_methods_are_not_writable,Zn(m)),re){if(Le)return Ro($)?se:$;if(!_u(m))return Fr(m,v.Private_identifiers_are_not_allowed_outside_class_bodies),dt}if(oe=Le?pme(_,Le):void 0,!oe&&mTt(_,m,Le))return se;oe&&oe.flags&65536&&!(oe.flags&32768)&&J!==1&&rt(r,v.Private_accessor_was_defined_without_a_getter)}else{if(re)return He(c)&&P&&QH(P,r),Ro($)?se:$;oe=$a($,m.escapedText,!1,r.kind===165)}He(c)&&P&&(Nm(Q)||!(oe&&(UN(oe)||oe.flags&8&&r.parent.kind===305))||zx(Q)&&OMe(r))&&QH(P,r);let Ee;if(oe){const Le=fhe(oe,m);if(u0(Le)&&Wpe(r,Le)&&Le.declarations&&yl(m,Le.declarations,m.escapedText),hTt(oe,r,m),GM(oe,r,SFe(c,P)),mi(r).resolvedSymbol=oe,ume(r,c.kind===108,HP(r),$,oe),lRe(r,oe,J))return rt(m,v.Cannot_assign_to_0_because_it_is_a_read_only_property,Zn(m)),se;Ee=mFe(r,oe)?Ut:x||cJ(r)?Y8(oe):bn(oe)}else{const Le=!fs(m)&&(J===0||!$2(_)||oD(_))?RE($,m.escapedText):void 0;if(!(Le&&Le.type)){const We=mme(r,_.symbol,!0);return!We&&lN(_)?dt:_.symbol===_t?(_t.exports.has(m.escapedText)&&_t.exports.get(m.escapedText).flags&418?rt(m,v.Property_0_does_not_exist_on_type_1,xs(m.escapedText),jt(_)):we&&rt(m,v.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,jt(_)),dt):(m.escapedText&&!Kv(r)&&yFe(m,oD(_)?$:_,We),se)}Le.isReadonly&&(Qg(r)||$ee(r))&&rt(r,v.Index_signature_in_type_0_only_permits_reading,jt($)),Ee=Q.noUncheckedIndexedAccess&&!Qg(r)?Ti([Le.type,zt]):Le.type,Q.noPropertyAccessFromIndexSignature&&ai(r)&&rt(m,v.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,xs(m.escapedText)),Le.declaration&&ph(Le.declaration)&268435456&&yl(m,[Le.declaration],m.escapedText)}return hFe(r,oe,Ee,m,b)}function mme(r,c,_){const m=pn(r);if(m&&Q.checkJs===void 0&&m.checkJsDirective===void 0&&(m.scriptKind===1||m.scriptKind===2)){const b=te(c==null?void 0:c.declarations,pn);return!(m!==b&&b&&fp(b))&&!(_&&c&&c.flags&32)&&!(r&&_&&ai(r)&&r.expression.kind===110)}return!1}function hFe(r,c,_,m,b){const x=Fx(r);if(x===1)return WS(_,!!(c&&c.flags&16777216));if(c&&!(c.flags&98311)&&!(c.flags&8192&&_.flags&1048576)&&!DG(c.declarations))return _;if(_===Ut)return Xk(r,c);_=$de(_,r,b);let P=!1;if(K&&xe&&jc(r)&&r.expression.kind===110){const $=c&&c.valueDeclaration;if($&&fBe($)&&!Aa($)){const re=xN(r);re.kind===175&&re.parent===$.parent&&!($.flags&16777216)&&(P=!0)}}else K&&c&&c.valueDeclaration&&ai(c.valueDeclaration)&&u5(c.valueDeclaration)&&xN(r)===xN(c.valueDeclaration)&&(P=!0);const J=rv(r,_,P?I0(_):_);return P&&!zA(_)&&zA(J)?(rt(m,v.Property_0_is_used_before_being_assigned,Xe(c)),_):x?tv(J):J}function hTt(r,c,_){const{valueDeclaration:m}=r;if(!m||pn(c).isDeclarationFile)return;let b;const x=Zn(_);gFe(c)&&!f0t(m)&&!(jc(c)&&jc(c.expression))&&!_0(m,_)&&!(ql(m)&&t1(m)&32)&&(Q.useDefineForClassFields||!gTt(r))?b=rt(_,v.Property_0_is_used_before_its_initialization,x):m.kind===262&&c.parent.kind!==182&&!(m.flags&16777216)&&!_0(m,_)&&(b=rt(_,v.Class_0_used_before_its_declaration,x)),b&&ho(b,ei(m,v._0_is_declared_here,x))}function gFe(r){return!!mn(r,c=>{switch(c.kind){case 171:return!0;case 302:case 173:case 176:case 177:case 304:case 166:case 238:case 293:case 290:case 291:case 292:case 285:case 232:case 297:return!1;case 218:case 243:return Pa(c.parent)&&al(c.parent.parent)?!0:"quit";default:return Xy(c)?!1:"quit"}})}function gTt(r){if(!(r.parent.flags&32))return!1;let c=bn(r.parent);for(;;){if(c=c.symbol&&yTt(c),!c)return!1;const _=$a(c,r.escapedName);if(_&&_.valueDeclaration)return!0}}function yTt(r){const c=ma(r);if(c.length!==0)return co(c)}function yFe(r,c,_){let m,b;if(!fs(r)&&c.flags&1048576&&!(c.flags&402784252)){for(const P of c.types)if(!$a(P,r.escapedText)&&!RE(P,r.escapedText)){m=ca(m,v.Property_0_does_not_exist_on_type_1,ac(r),jt(P));break}}if(vFe(r.escapedText,c)){const P=ac(r),J=jt(c);m=ca(m,v.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,P,J,J+"."+P)}else{const P=FN(c);if(P&&$a(P,r.escapedText))m=ca(m,v.Property_0_does_not_exist_on_type_1,ac(r),jt(c)),b=ei(r,v.Did_you_forget_to_use_await);else{const J=ac(r),$=jt(c),re=TTt(J,c);if(re!==void 0)m=ca(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 oe=hme(r,c);if(oe!==void 0){const Ee=xl(oe),Le=_?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=ca(m,Le,J,$,Ee),b=oe.valueDeclaration&&ei(oe.valueDeclaration,v._0_is_declared_here,Ee)}else{const Ee=vTt(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=ca(hpe(m,c),Ee,J,$)}}}}const x=Hy(pn(r),r,m);b&&ho(x,b),Tg(!_||m.code!==v.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,x)}function vTt(r){return Q.lib&&!Q.lib.includes("dom")&&Fbt(r,c=>c.symbol&&/^(EventTarget|Node|((HTML[a-zA-Z]*)?Element))$/.test(xs(c.symbol.escapedName)))&&wy(r)}function vFe(r,c){const _=c.symbol&&$a(bn(c.symbol),r);return _!==void 0&&!!_.valueDeclaration&&Aa(_.valueDeclaration)}function bTt(r){const c=_m(r),m=pee().get(c);return m&&kve(m.keys())}function TTt(r,c){const _=Zf(c).symbol;if(!_)return;const m=xl(_),x=pee().get(m);if(x){for(const[P,J]of x)if(kt(J,r))return P}}function bFe(r,c){return HM(r,zo(c),106500)}function hme(r,c){let _=zo(c);if(typeof r!="string"){const m=r.parent;ai(m)&&(_=gr(_,b=>xFe(m,c,b))),r=Zn(r)}return HM(r,_,111551)}function TFe(r,c){const _=Wa(r)?r:Zn(r),m=zo(c);return(_==="for"?Ve(m,x=>xl(x)==="htmlFor"):_==="class"?Ve(m,x=>xl(x)==="className"):void 0)??HM(_,m,111551)}function gme(r,c){const _=hme(r,c);return _&&xl(_)}function yme(r,c,_){return R.assert(c!==void 0,"outername should always be defined"),xS(r,c,_,void 0,c,!1,!1,!0,(b,x,P)=>{R.assertEqual(c,x,"name should equal outerName");const J=Eu(b,x,P);if(J)return J;let $;return b===et?$=lr(["string","number","boolean","object","bigint","symbol"],oe=>b.has(oe.charAt(0).toUpperCase()+oe.slice(1))?No(524288,oe):void 0).concat(oo(b.values())):$=oo(b.values()),HM(xs(x),$,P)})}function STt(r,c,_){const m=yme(r,c,_);return m&&xl(m)}function oG(r,c){return c.exports&&HM(Zn(r),g0(c),2623475)}function xTt(r,c){const _=oG(r,c);return _&&xl(_)}function kTt(r,c,_){function m(P){const J=J2(r,P);if(J){const $=oC(bn(J));return!!$&&nh($)>=1&&lo(_,Tm($,0))}return!1}const b=Qg(c)?"set":"get";if(!m(b))return;let x=R5(c.expression);return x===void 0?x=b:x+="."+b,x}function CTt(r,c){const _=c.types.filter(m=>!!(m.flags&128));return Z3(r.value,_,m=>m.value)}function HM(r,c,_){return Z3(r,c,m);function m(b){const x=xl(b);if(!Xs(x,'"')){if(b.flags&_)return x;if(b.flags&2097152){const P=xg(b);if(P&&P.flags&_)return x}}}}function GM(r,c,_){const m=r&&r.flags&106500&&r.valueDeclaration;if(!m)return;const b=ip(m,8),x=r.valueDeclaration&&bf(r.valueDeclaration)&&fs(r.valueDeclaration.name);if(!(!b&&!x)&&!(c&&cJ(c)&&!(r.flags&65536))){if(_){const P=mn(c,Lc);if(P&&P.symbol===r)return}(ml(r)&1?ms(r).target:r).isReferenced=67108863}}function SFe(r,c){return r.kind===110||!!c&&kl(r)&&c===$d(Np(r))}function wTt(r,c){switch(r.kind){case 210:return vme(r,r.expression.kind===108,c,hp(Bs(r.expression)));case 165:return vme(r,!1,c,hp(Bs(r.left)));case 204:return vme(r,!1,c,Bi(r))}}function xFe(r,c,_){return bme(r,r.kind===210&&r.expression.kind===108,!1,c,_)}function vme(r,c,_,m){if(qo(m))return!0;const b=$a(m,_);return!!b&&bme(r,c,!1,m,b)}function bme(r,c,_,m,b){if(qo(m))return!0;if(b.valueDeclaration&&s_(b.valueDeclaration)){const x=_u(b.valueDeclaration);return!Tf(r)&&!!mn(r,P=>P===x)}return lFe(r,c,_,m,b)}function ETt(r){const c=r.initializer;if(c.kind===260){const _=c.declarations[0];if(_&&!Fa(_.name))return Yn(_)}else if(c.kind===80)return $d(c)}function ATt(r){return Lf(r).length===1&&!!Pg(r,Se)}function PTt(r){const c=Tc(r);if(c.kind===80){const _=$d(c);if(_.flags&3){let m=r,b=r.parent;for(;b;){if(b.kind===248&&m===b.statement&&ETt(b)===_&&ATt(Rf(b.expression)))return!0;m=b,b=b.parent}}}return!1}function DTt(r,c){return r.flags&32?NTt(r,c):kFe(r,YA(r.expression),c)}function NTt(r,c){const _=Bs(r.expression),m=hN(_,r.expression);return LH(kFe(r,th(m,r.expression),c),r,m!==_)}function kFe(r,c,_){const m=Fx(r)!==0||dFe(r)?hp(c):c,b=r.argumentExpression,x=Bs(b);if(Ro(m)||m===Nr)return m;if(jme(m)&&!Yo(b))return rt(b,v.A_const_enum_member_can_only_be_accessed_using_a_string_literal),se;const P=PTt(b)?Se:x,J=Qg(r)?4|($2(m)&&!oD(m)?2:0):32,$=Q1(m,P,J,r)||se;return PRe(hFe(r,mi(r).resolvedSymbol,$,b,_),r)}function CFe(r){return Wg(r)||Hx(r)||a_(r)}function GE(r){return CFe(r)&&te(r.typeArguments,eo),r.kind===214?Bs(r.template):a_(r)?Bs(r.attributes):r.kind!==169&&te(r.arguments,c=>{Bs(c)}),Bl}function Ih(r){return GE(r),ff}function ITt(r,c,_){let m,b,x=0,P,J=-1,$;R.assert(!c.length);for(const re of r){const oe=re.declaration&&Yn(re.declaration),Ee=re.declaration&&re.declaration.parent;!b||oe===b?m&&Ee===m?P=P+1:(m=Ee,P=x):(P=x=c.length,m=Ee),b=oe,vie(re)?(J++,$=J,x++):$=P,c.splice($,0,_?Myt(re,_):re)}}function cG(r){return!!r&&(r.kind===229||r.kind===236&&r.isSpread)}function lG(r){return ir(r,cG)}function wFe(r){return!!(r.flags&16384)}function OTt(r){return!!(r.flags&49155)}function uG(r,c,_,m=!1){let b,x=!1,P=gp(_),J=nh(_);if(r.kind===214)if(b=c.length,r.template.kind===227){const $=To(r.template.templateSpans);x=pl($.literal)||!!$.literal.isUnterminated}else{const $=r.template;R.assert($.kind===15),x=!!$.isUnterminated}else if(r.kind===169)b=OFe(r,_);else if(a_(r)){if(x=r.attributes.end===r.end,x)return!0;b=J===0?c.length:1,P=c.length===0?P:1,J=Math.min(J,1)}else if(r.arguments){b=m?c.length+1:c.length,x=r.arguments.end===r.end;const $=lG(c);if($>=0)return $>=nh(_)&&(Oh(_)||$<gp(_))}else return R.assert(r.kind===213),nh(_)===0;if(!Oh(_)&&b>P)return!1;if(x||b>=J)return!0;for(let $=b;$<J;$++){const re=Tm(_,$);if(tu(re,Mn(r)&&!K?OTt:wFe).flags&131072)return!1}return!0}function Tme(r,c){const _=G(r.typeParameters),m=Dh(r.typeParameters);return!Ne(c)||c.length>=m&&c.length<=_}function oC(r){return wN(r,0,!1)}function EFe(r){return wN(r,0,!1)||wN(r,1,!1)}function wN(r,c,_){if(r.flags&524288){const m=hm(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 AFe(r,c,_,m){const b=yN(r.typeParameters,r,0,m),x=PN(c),P=_&&(x&&x.flags&262144?_.nonFixingMapper:_.mapper),J=P?qE(c,P):c;return xde(J,r,($,re)=>{Py(b.inferences,$,re)}),_||kde(c,r,($,re)=>{Py(b.inferences,$,re,128)}),iN(r,Rde(b),Mn(c.declaration))}function LTt(r,c,_,m){const b=tG(c,r),x=XE(r.attributes,b,m,_);return Py(m.inferences,x,b),Rde(m)}function PFe(r){if(!r)return ht;const c=Bs(r);return pP(r.parent)?Ay(c):Tf(r.parent)?Tde(c):c}function Sme(r,c,_,m,b){if(a_(r))return LTt(r,c,m,b);if(r.kind!==169){const $=ot(c.typeParameters,oe=>!!zS(oe)),re=g_(r,$?8:0);if(re){const oe=Vo(c);if(Y2(oe)){const Ee=eT(r);if(!(!$&&g_(r,8)!==re)){const $t=Ade(Zvt(Ee,1)),Vr=Ps(re,$t),Zr=oC(Vr),Tn=Zr&&Zr.typeParameters?VS(Cpe(Zr,Zr.typeParameters)):Vr;Py(b.inferences,Tn,oe,128)}const We=yN(c.typeParameters,c,b.flags),gt=Ps(re,Ee&&Ee.returnMapper);Py(We.inferences,gt,oe),b.returnMapper=Ne(We.inferences,QE)?Ade(rbt(We)):void 0}}}const x=DN(c),P=x?Math.min(gp(c)-1,_.length):_.length;if(x&&x.flags&262144){const $=Ve(b.inferences,re=>re.typeParameter===x);$&&($.impliedArity=ir(_,cG,P)<0?_.length-P:void 0)}const J=z2(c);if(J&&Y2(J)){const $=IFe(r);Py(b.inferences,PFe($),J)}for(let $=0;$<P;$++){const re=_[$];if(re.kind!==231&&!(m&32&&UH(re))){const oe=Tm(c,$);if(Y2(oe)){const Ee=XE(re,oe,b,m);Py(b.inferences,Ee,oe)}}}if(x&&Y2(x)){const $=xme(_,P,_.length,x,b,m);Py(b.inferences,$,x)}return Rde(b)}function DFe(r){return r.flags&1048576?kc(r,DFe):r.flags&1||DH(Of(r)||r)?r:uo(r)?ym(G1(r),r.target.elementFlags,!1,r.target.labeledElementDeclarations):ym([r],[8])}function xme(r,c,_,m,b,x){const P=ME(m);if(c>=_-1){const oe=r[_-1];if(cG(oe)){const Ee=oe.kind===236?oe.type:XE(oe.expression,m,b,x);return ev(Ee)?DFe(Ee):mf(M0(33,Ee,Fe,oe.kind===229?oe.expression:oe),P)}}const J=[],$=[],re=[];for(let oe=c;oe<_;oe++){const Ee=r[oe];if(cG(Ee)){const Le=Ee.kind===236?Ee.type:Bs(Ee.expression);ev(Le)?(J.push(Le),$.push(8)):(J.push(M0(33,Le,Fe,Ee.kind===229?Ee.expression:Ee)),$.push(4))}else{const Le=uo(m)?Kde(m,oe-c,_-c)||mt:A_(m,vm(oe-c),256),We=XE(Ee,Le,b,x),gt=P||Yc(Le,406978556);J.push(gt?Kf(We):Q2(We)),$.push(1)}Ee.kind===236&&Ee.tupleNameSource&&re.push(Ee.tupleNameSource)}return ym(J,$,P,G(re)===G(J)?re:void 0)}function kme(r,c,_,m){const b=Mn(r.declaration),x=r.typeParameters,P=W1(qt(c,Bi),x,Dh(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=If(x[$]);if(re){const oe=_&&m?()=>ca(void 0,v.Type_0_does_not_satisfy_the_constraint_1):void 0,Ee=m||v.Type_0_does_not_satisfy_the_constraint_1;J||(J=P_(x,P));const Le=P[$];if(!D_(Le,mp(Ps(re,J),Le),_?c[$]:void 0,Ee,oe))return}}return P}function NFe(r){if(aC(r.tagName))return 2;const c=Zf(Bs(r.tagName));return G(Ca(c,1))?0:G(Ca(c,0))?1:2}function MTt(r,c,_,m,b,x,P){const J=tG(c,r),$=XE(r.attributes,J,void 0,m);return re()&&ade($,J,_,b?r.tagName:void 0,r.attributes,void 0,x,P);function re(){var oe;if(sme(r))return!0;const Ee=(vh(r)||Qx(r))&&!(aC(r.tagName)||Th(r.tagName))?Bs(r.tagName):void 0;if(!Ee)return!0;const Le=Ca(Ee,0);if(!G(Le))return!0;const We=LBe(r);if(!We)return!0;const gt=rl(We,111551,!0,!1,r);if(!gt)return!0;const $t=bn(gt),Vr=Ca($t,0);if(!G(Vr))return!0;let Zr=!1,Tn=0;for(const Sr of Vr){const Jn=Tm(Sr,0),Pr=Ca(Jn,0);if(G(Pr))for(const Xr of Pr){if(Zr=!0,Oh(Xr))return!0;const un=gp(Xr);un>Tn&&(Tn=un)}}if(!Zr)return!0;let xr=1/0;for(const Sr of Le){const Jn=nh(Sr);Jn<xr&&(xr=Jn)}if(xr<=Tn)return!0;if(b){const Sr=ei(r.tagName,v.Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3,np(r.tagName),xr,np(We),Tn),Jn=(oe=Wd(r.tagName))==null?void 0:oe.valueDeclaration;Jn&&ho(Sr,ei(Jn,v._0_is_declared_here,np(r.tagName))),P&&P.skipLogging&&(P.errors||(P.errors=[])).push(Sr),P.skipLogging||Do.add(Sr)}return!1}}function XM(r,c,_,m,b,x,P){const J={errors:void 0,skipLogging:!0};if(a_(r))return MTt(r,_,m,b,x,P,J)?void 0:(R.assert(!x||!!J.errors,"jsx should have errors when reporting errors"),J.errors||ft);const $=z2(_);if($&&$!==ht&&!(HT(r)||Ra(r)&&v_(r.expression))){const We=IFe(r),gt=PFe(We),$t=x?We||r:void 0,Vr=v.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1;if(!td(gt,$,m,$t,Vr,P,J))return R.assert(!x||!!J.errors,"this parameter should have errors when reporting errors"),J.errors||ft}const re=v.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1,oe=DN(_),Ee=oe?Math.min(gp(_)-1,c.length):c.length;for(let We=0;We<Ee;We++){const gt=c[We];if(gt.kind!==231){const $t=Tm(_,We),Vr=XE(gt,$t,void 0,b),Zr=b&4?IM(Vr):Vr;if(!ade(Zr,$t,m,x?gt:void 0,gt,re,P,J))return R.assert(!x||!!J.errors,"parameter should have errors when reporting errors"),Le(gt,Zr,$t),J.errors||ft}}if(oe){const We=xme(c,Ee,c.length,oe,void 0,b),gt=c.length-Ee,$t=x?gt===0?r:gt===1?c[Ee]:ag(QM(r,We),c[Ee].pos,c[c.length-1].end):void 0;if(!td(We,oe,m,$t,re,void 0,J))return R.assert(!x||!!J.errors,"rest parameter should have errors when reporting errors"),Le($t,We,oe),J.errors||ft}return;function Le(We,gt,$t){if(We&&x&&J.errors&&J.errors.length){if(MN($t))return;const Vr=MN(gt);Vr&&eh(Vr,$t,m)&&ho(J.errors[0],ei(We,v.Did_you_forget_to_use_await))}}}function IFe(r){const c=r.kind===212?r.expression:r.kind===214?r.tag:void 0;if(c){const _=lf(c);if(jc(_))return _.expression}}function QM(r,c,_,m){const b=_g.createSyntheticExpression(c,_,m);return wt(b,r),ko(b,r),b}function Cme(r){if(r.kind===214){const m=r.template,b=[QM(m,A0t())];return m.kind===227&&te(m.templateSpans,x=>{b.push(x.expression)}),b}if(r.kind===169)return FTt(r);if(a_(r))return r.attributes.properties.length>0||vh(r)&&r.parent.children.length>0?[r.attributes]:ft;const c=r.arguments||ft,_=lG(c);if(_>=0){const m=c.slice(0,_);for(let b=_;b<c.length;b++){const x=c[b],P=x.kind===229&&(Re?Bs(x.expression):jl(x.expression));P&&uo(P)?te(G1(P),(J,$)=>{var re;const oe=P.target.elementFlags[$],Ee=QM(x,oe&4?mf(J):J,!!(oe&12),(re=P.target.labeledElementDeclarations)==null?void 0:re[$]);m.push(Ee)}):m.push(x)}return m}return c}function FTt(r){const c=r.expression,_=Fme(r);if(_){const m=[];for(const b of _.parameters){const x=bn(b);m.push(QM(c,x))}return m}return R.fail()}function OFe(r,c){return Q.experimentalDecorators?RTt(r,c):2}function RTt(r,c){switch(r.parent.kind){case 262:case 230:return 1;case 171:return rg(r.parent)?3:2;case 173:case 176:case 177:return he===0||c.parameters.length<=2?2:3;case 168:return 3;default:return R.fail()}}function LFe(r,c){let _,m;const b=pn(r);if(ai(r.expression)){const x=NT(b,r.expression.name);_=x.start,m=c?x.length:r.end-_}else{const x=NT(b,r.expression);_=x.start,m=c?x.length:r.end-_}return{start:_,length:m,sourceFile:b}}function EN(r,c,..._){if(Ra(r)){const{sourceFile:m,start:b,length:x}=LFe(r);return"message"in c?vu(m,b,x,c,..._):Cee(m,c)}else return"message"in c?ei(r,c,..._):Hy(pn(r),r,c)}function BTt(r){if(!Ra(r)||!He(r.expression))return!1;const c=ll(r.expression,r.expression.escapedText,111551,void 0,void 0,!1),_=c==null?void 0:c.valueDeclaration;if(!_||!ea(_)||!C4(_.parent)||!HT(_.parent.parent)||!He(_.parent.parent.expression))return!1;const m=Lpe(!1);return m?Wd(_.parent.parent.expression,!0)===m:!1}function MFe(r,c,_,m){var b;const x=lG(_);if(x>-1)return ei(_[x],v.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);let P=Number.POSITIVE_INFINITY,J=Number.NEGATIVE_INFINITY,$=Number.NEGATIVE_INFINITY,re=Number.POSITIVE_INFINITY,oe;for(const $t of c){const Vr=nh($t),Zr=gp($t);Vr<P&&(P=Vr,oe=$t),J=Math.max(J,Zr),Vr<_.length&&Vr>$&&($=Vr),_.length<Zr&&Zr<re&&(re=Zr)}const Ee=Ne(c,Oh),Le=Ee?P:P<J?P+"-"+J:P,We=!Ee&&Le===1&&_.length===0&&BTt(r);if(We&&Mn(r))return EN(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 gt=xf(r)?Ee?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:Ee?v.Expected_at_least_0_arguments_but_got_1:We?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(P<_.length&&_.length<J){if(m){let $t=ca(void 0,v.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,_.length,$,re);return $t=ca($t,m),EN(r,$t)}return EN(r,v.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,_.length,$,re)}else if(_.length<P){let $t;if(m){let Zr=ca(void 0,gt,Le,_.length);Zr=ca(Zr,m),$t=EN(r,Zr)}else $t=EN(r,gt,Le,_.length);const Vr=(b=oe==null?void 0:oe.declaration)==null?void 0:b.parameters[oe.thisParameter?_.length+1:_.length];if(Vr){const Zr=Fa(Vr.name)?[v.An_argument_matching_this_binding_pattern_was_not_provided]:Hg(Vr)?[v.Arguments_for_the_rest_parameter_0_were_not_provided,Zn(Np(Vr.name))]:[v.An_argument_for_0_was_not_provided,Vr.name?Zn(Np(Vr.name)):_.length],Tn=ei(Vr,...Zr);return ho($t,Tn)}return $t}else{const $t=V.createNodeArray(_.slice(J)),Vr=Oo($t).pos;let Zr=To($t).end;if(Zr===Vr&&Zr++,ag($t,Vr,Zr),m){let Tn=ca(void 0,gt,Le,_.length);return Tn=ca(Tn,m),YI(pn(r),$t,Tn)}return Y6(pn(r),$t,gt,Le,_.length)}}function jTt(r,c,_,m){const b=_.length;if(c.length===1){const J=c[0],$=Dh(J.typeParameters),re=G(J.typeParameters);if(m){let oe=ca(void 0,v.Expected_0_type_arguments_but_got_1,$<re?$+"-"+re:$,b);return oe=ca(oe,m),YI(pn(r),_,oe)}return Y6(pn(r),_,v.Expected_0_type_arguments_but_got_1,$<re?$+"-"+re:$,b)}let x=-1/0,P=1/0;for(const J of c){const $=Dh(J.typeParameters),re=G(J.typeParameters);$>b?P=Math.min(P,$):re<b&&(x=Math.max(x,re))}if(x!==-1/0&&P!==1/0){if(m){let J=ca(void 0,v.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,b,x,P);return J=ca(J,m),YI(pn(r),_,J)}return Y6(pn(r),_,v.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,b,x,P)}if(m){let J=ca(void 0,v.Expected_0_type_arguments_but_got_1,x===-1/0?P:x,b);return J=ca(J,m),YI(pn(r),_,J)}return Y6(pn(r),_,v.Expected_0_type_arguments_but_got_1,x===-1/0?P:x,b)}function ZA(r,c,_,m,b,x){const P=r.kind===214,J=r.kind===169,$=a_(r),re=!Y&&!_;let oe;!J&&!Z6(r)&&(oe=r.typeArguments,(P||$||r.expression.kind!==108)&&te(oe,eo));const Ee=_||[];if(ITt(c,Ee,b),!Ee.length)return re&&Do.add(EN(r,v.Call_target_does_not_contain_any_signatures)),Ih(r);const Le=Cme(r),We=Ee.length===1&&!Ee[0].typeParameters;let gt=!J&&!We&&Ne(Le,ed)?4:0;gt|=m&32;let $t,Vr,Zr,Tn;const xr=!!(m&16)&&r.kind===212&&r.arguments.hasTrailingComma;if(Ee.length>1&&(Tn=Jn(Ee,kh,We,xr)),Tn||(Tn=Jn(Ee,__,We,xr)),Tn)return Tn;if(Tn=JTt(r,Ee,Le,!!_,m),mi(r).resolvedSignature=Tn,re)if($t)if($t.length===1||$t.length>3){const Pr=$t[$t.length-1];let Xr;$t.length>3&&(Xr=ca(Xr,v.The_last_overload_gave_the_following_error),Xr=ca(Xr,v.No_overload_matches_this_call)),x&&(Xr=ca(Xr,x));const un=XM(r,Le,Pr,__,0,!0,()=>Xr);if(un)for(const yi of un)Pr.declaration&&$t.length>3&&ho(yi,ei(Pr.declaration,v.The_last_overload_is_declared_here)),Sr(Pr,yi),Do.add(yi);else R.fail("No error for last overload signature")}else{const Pr=[];let Xr=0,un=Number.MAX_VALUE,yi=0,Mi=0;for(const $p of $t){const en=XM(r,Le,$p,__,0,!0,()=>ca(void 0,v.Overload_0_of_1_2_gave_the_following_error,Mi+1,Ee.length,Tr($p)));en?(en.length<=un&&(un=en.length,yi=Mi),Xr=Math.max(Xr,en.length),Pr.push(en)):R.fail("No error for 3 or fewer overload signatures"),Mi++}const Ks=Xr>1?Pr[yi]:$n(Pr);R.assert(Ks.length>0,"No errors reported for 3 or fewer overload signatures");let La=ca(qt(Ks,nTe),v.No_overload_matches_this_call);x&&(La=ca(La,x));const lu=[...ln(Ks,$p=>$p.relatedInformation)];let nd;if(ot(Ks,$p=>$p.start===Ks[0].start&&$p.length===Ks[0].length&&$p.file===Ks[0].file)){const{file:$p,start:Ms,length:en}=Ks[0];nd={file:$p,start:Ms,length:en,code:La.code,category:La.category,messageText:La,relatedInformation:lu}}else nd=Hy(pn(r),r,La,lu);Sr($t[0],nd),Do.add(nd)}else if(Vr)Do.add(MFe(r,[Vr],Le,x));else if(Zr)kme(Zr,r.typeArguments,!0,x);else{const Pr=gr(c,Xr=>Tme(Xr,oe));Pr.length===0?Do.add(jTt(r,c,oe,x)):Do.add(MFe(r,Pr,Le,x))}return Tn;function Sr(Pr,Xr){var un,yi;const Mi=$t,Ks=Vr,La=Zr,lu=((yi=(un=Pr.declaration)==null?void 0:un.symbol)==null?void 0:yi.declarations)||ft,$p=lu.length>1?Ve(lu,Ms=>Lc(Ms)&&Pd(Ms.body)):void 0;if($p){const Ms=Zm($p),en=!Ms.typeParameters;Jn([Ms],__,en)&&ho(Xr,ei($p,v.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}$t=Mi,Vr=Ks,Zr=La}function Jn(Pr,Xr,un,yi=!1){if($t=void 0,Vr=void 0,Zr=void 0,un){const Mi=Pr[0];if(Ne(oe)||!uG(r,Le,Mi,yi))return;if(XM(r,Le,Mi,Xr,0,!1,void 0)){$t=[Mi];return}return Mi}for(let Mi=0;Mi<Pr.length;Mi++){const Ks=Pr[Mi];if(!Tme(Ks,oe)||!uG(r,Le,Ks,yi))continue;let La,lu;if(Ks.typeParameters){let nd;if(Ne(oe)){if(nd=kme(Ks,oe,!1),!nd){Zr=Ks;continue}}else lu=yN(Ks.typeParameters,Ks,Mn(r)?2:0),nd=Sme(r,Ks,Le,gt|8,lu),gt|=lu.flags&4?8:0;if(La=iN(Ks,nd,Mn(Ks.declaration),lu&&lu.inferredTypeParameters),DN(Ks)&&!uG(r,Le,La,yi)){Vr=La;continue}}else La=Ks;if(XM(r,Le,La,Xr,gt,!1,void 0)){($t||($t=[])).push(La);continue}if(gt){if(gt=m&32,lu){const nd=Sme(r,Ks,Le,gt,lu);if(La=iN(Ks,nd,Mn(Ks.declaration),lu.inferredTypeParameters),DN(Ks)&&!uG(r,Le,La,yi)){Vr=La;continue}}if(XM(r,Le,La,Xr,gt,!1,void 0)){($t||($t=[])).push(La);continue}}return Pr[Mi]=La,La}}}function JTt(r,c,_,m,b){return R.assert(c.length>0),ZE(r),m||c.length===1||c.some(x=>!!x.typeParameters)?VTt(r,c,_,b):UTt(c)}function UTt(r){const c=lr(r,$=>$.thisParameter);let _;c.length&&(_=FFe(c,c.map(ZM)));const{min:m,max:b}=$Se(r,zTt),x=[];for(let $=0;$<b;$++){const re=lr(r,oe=>kf(oe)?$<oe.parameters.length-1?oe.parameters[$]:To(oe.parameters):$<oe.parameters.length?oe.parameters[$]:void 0);R.assert(re.length!==0),x.push(FFe(re,lr(r,oe=>KS(oe,$))))}const P=lr(r,$=>kf($)?To($.parameters):void 0);let J=0;if(P.length!==0){const $=mf(Ti(lr(r,v9e),2));x.push(RFe(P,$)),J|=1}return r.some(vie)&&(J|=2),Ag(r[0].declaration,void 0,_,x,co(r.map(Vo)),void 0,m,J)}function zTt(r){const c=r.parameters.length;return kf(r)?c-1:c}function FFe(r,c){return RFe(r,Ti(c,2))}function RFe(r,c){return HS(Oo(r),c)}function VTt(r,c,_,m){const b=WTt(c,Bt===void 0?_.length:Bt),x=c[b],{typeParameters:P}=x;if(!P)return x;const J=CFe(r)?r.typeArguments:void 0,$=J?iH(x,$Tt(J,P,Mn(r))):qTt(r,P,x,_,m);return c[b]=$,$}function $Tt(r,c,_){const m=r.map(cC);for(;m.length>c.length;)m.pop();for(;m.length<c.length;)m.push(zS(c[m.length])||If(c[m.length])||Fde(_));return m}function qTt(r,c,_,m,b){const x=yN(c,_,Mn(r)?2:0),P=Sme(r,_,m,b|4|8,x);return iH(_,P)}function WTt(r,c){let _=-1,m=-1;for(let b=0;b<r.length;b++){const x=r[b],P=gp(x);if(Oh(x)||P>=c)return b;P>m&&(m=P,_=b)}return _}function HTt(r,c,_){if(r.expression.kind===108){const $=Gde(r.expression);if(qo($)){for(const re of r.arguments)Bs(re);return Bl}if(!Ro($)){const re=mh(_u(r));if(re){const oe=_i($,re.typeArguments,re);return ZA(r,oe,c,_,0)}}return GE(r)}let m,b=Bs(r.expression);if(kx(r)){const $=hN(b,r.expression);m=$===b?0:dP(r)?16:8,b=$}else m=0;if(b=fFe(b,r.expression,fTt),b===Nr)return be;const x=Zf(b);if(Ro(x))return Ih(r);const P=Ca(x,0),J=Ca(x,1).length;if(fG(b,x,P.length,J))return!Ro(b)&&r.typeArguments&&rt(r,v.Untyped_function_calls_may_not_accept_type_arguments),GE(r);if(!P.length){if(J)rt(r,v.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,jt(b));else{let $;if(r.arguments.length===1){const re=pn(r).text;sf(re.charCodeAt(fo(re,r.expression.end,!0)-1))&&($=ei(r.expression,v.Are_you_missing_a_semicolon))}Eme(r.expression,x,0,$)}return Ih(r)}return _&8&&!r.typeArguments&&P.some(GTt)?(yRe(r,_),Cu):P.some($=>Mn($.declaration)&&!!LK($.declaration))?(rt(r,v.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,jt(b)),Ih(r)):ZA(r,P,c,_,m)}function GTt(r){return!!(r.typeParameters&&ghe(Vo(r)))}function fG(r,c,_,m){return qo(r)||qo(c)&&!!(r.flags&262144)||!_&&!m&&!(c.flags&1048576)&&!(gm(c).flags&131072)&&lo(r,Mo)}function XTt(r,c,_){if(r.arguments&&he<1){const P=lG(r.arguments);P>=0&&rt(r.arguments[P],v.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}let m=YA(r.expression);if(m===Nr)return be;if(m=Zf(m),Ro(m))return Ih(r);if(qo(m))return r.typeArguments&&rt(r,v.Untyped_function_calls_may_not_accept_type_arguments),GE(r);const b=Ca(m,1);if(b.length){if(!QTt(r,b[0]))return Ih(r);if(BFe(b,J=>!!(J.flags&4)))return rt(r,v.Cannot_create_an_instance_of_an_abstract_class),Ih(r);const P=m.symbol&&Ky(m.symbol);return P&&gi(P,256)?(rt(r,v.Cannot_create_an_instance_of_an_abstract_class),Ih(r)):ZA(r,b,c,_,0)}const x=Ca(m,0);if(x.length){const P=ZA(r,x,c,_,0);return we||(P.declaration&&!rh(P.declaration)&&Vo(P)!==ht&&rt(r,v.Only_a_void_function_can_be_called_with_the_new_keyword),z2(P)===ht&&rt(r,v.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),P}return Eme(r.expression,m,1),Ih(r)}function BFe(r,c){return ka(r)?Ne(r,_=>BFe(_,c)):r.compositeKind===1048576?Ne(r.compositeSignatures,c):c(r)}function wme(r,c){const _=ma(c);if(!G(_))return!1;const m=_[0];if(m.flags&2097152){const b=m.types,x=r9e(b);let P=0;for(const J of m.types){if(!x[P]&&vi(J)&3&&(J.symbol===r||wme(r,J)))return!0;P++}return!1}return m.symbol===r?!0:wme(r,m)}function QTt(r,c){if(!c||!c.declaration)return!0;const _=c.declaration,m=mw(_,24);if(!m||_.kind!==175)return!0;const b=Ky(_.parent.symbol),x=yc(_.parent.symbol);if(!dhe(r,b)){const P=_u(r);if(P&&m&16){const J=cC(P);if(wme(_.parent.symbol,J))return!0}return m&8&&rt(r,v.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,jt(x)),m&16&&rt(r,v.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,jt(x)),!1}return!0}function jFe(r,c,_){let m;const b=_===0,x=tx(c),P=x&&Ca(x,_).length>0;if(c.flags&1048576){const $=c.types;let re=!1;for(const oe of $)if(Ca(oe,_).length!==0){if(re=!0,m)break}else if(m||(m=ca(m,b?v.Type_0_has_no_call_signatures:v.Type_0_has_no_construct_signatures,jt(oe)),m=ca(m,b?v.Not_all_constituents_of_type_0_are_callable:v.Not_all_constituents_of_type_0_are_constructable,jt(c))),re)break;re||(m=ca(void 0,b?v.No_constituent_of_type_0_is_callable:v.No_constituent_of_type_0_is_constructable,jt(c))),m||(m=ca(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,jt(c)))}else m=ca(m,b?v.Type_0_has_no_call_signatures:v.Type_0_has_no_construct_signatures,jt(c));let J=b?v.This_expression_is_not_callable:v.This_expression_is_not_constructable;if(Ra(r.parent)&&r.parent.arguments.length===0){const{resolvedSymbol:$}=mi(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:ca(m,J),relatedMessage:P?v.Did_you_forget_to_use_await:void 0}}function Eme(r,c,_,m){const{messageChain:b,relatedMessage:x}=jFe(r,c,_),P=Hy(pn(r),r,b);if(x&&ho(P,ei(r,x)),Ra(r.parent)){const{start:J,length:$}=LFe(r.parent,!0);P.start=J,P.length=$}Do.add(P),JFe(c,_,m?ho(P,m):P)}function JFe(r,c,_){if(!r.symbol)return;const m=ms(r.symbol).originatingImport;if(m&&!Dp(m)){const b=Ca(bn(ms(r.symbol).target),c);if(!b||!b.length)return;ho(_,ei(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 YTt(r,c,_){const m=Bs(r.tag),b=Zf(m);if(Ro(b))return Ih(r);const x=Ca(b,0),P=Ca(b,1).length;if(fG(m,b,x.length,P))return GE(r);if(!x.length){if(Hf(r.parent)){const J=ei(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),Ih(r)}return Eme(r.tag,b,0),Ih(r)}return ZA(r,x,c,_,0)}function ZTt(r){switch(r.parent.kind){case 262:case 230:return v.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 168:return v.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 171:return v.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 173:case 176:case 177:return v.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;default:return R.fail()}}function KTt(r,c,_){const m=Bs(r.expression),b=Zf(m);if(Ro(b))return Ih(r);const x=Ca(b,0),P=Ca(b,1).length;if(fG(m,b,x.length,P))return GE(r);if(tSt(r,x)&&!j_(r.expression)){const $=iu(r.expression,!1);return rt(r,v._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,$),Ih(r)}const J=ZTt(r);if(!x.length){const $=jFe(r.expression,b,0),re=ca($.messageChain,J),oe=Hy(pn(r.expression),r.expression,re);return $.relatedMessage&&ho(oe,ei(r.expression,$.relatedMessage)),Do.add(oe),JFe(b,0,oe),Ih(r)}return ZA(r,x,c,_,0,J)}function _G(r,c){const _=ZS(r),m=_&&Jp(_),b=m&&Eu(m,Lp.Element,788968),x=b&&st.symbolToEntityName(b,788968,r),P=V.createFunctionTypeNode(void 0,[V.createParameterDeclaration(void 0,void 0,"props",void 0,st.typeToTypeNode(c,r))],x?V.createTypeReferenceNode(x,void 0):V.createKeywordTypeNode(133)),J=No(1,"props");return J.links.type=c,Ag(P,void 0,void 0,[J],b?yc(b):se,void 0,1,0)}function eSt(r,c,_){if(aC(r.tagName)){const P=sFe(r),J=_G(r,P);return K1(XE(r.attributes,tG(J,r),void 0,0),P,r.tagName,r.attributes),G(r.typeArguments)&&(te(r.typeArguments,eo),Do.add(Y6(pn(r),r.typeArguments,v.Expected_0_type_arguments_but_got_1,0,G(r.typeArguments)))),J}const m=Bs(r.tagName),b=Zf(m);if(Ro(b))return Ih(r);const x=nFe(m,r);return fG(m,b,x.length,0)?GE(r):x.length===0?(rt(r.tagName,v.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,iu(r.tagName)),Ih(r)):ZA(r,x,c,_,0)}function tSt(r,c){return c.length&&ot(c,_=>_.minArgumentCount===0&&!kf(_)&&_.parameters.length<OFe(r,_))}function rSt(r,c,_){switch(r.kind){case 212:return HTt(r,c,_);case 213:return XTt(r,c,_);case 214:return YTt(r,c,_);case 169:return KTt(r,c,_);case 285:case 284:return eSt(r,c,_)}R.assertNever(r,"Branch in 'resolveSignature' should be unreachable.")}function KA(r,c,_){const m=mi(r),b=m.resolvedSignature;if(b&&b!==Cu&&!c)return b;m.resolvedSignature=Cu;let x=rSt(r,c,_||0);return x!==Cu&&(m.resolvedSignature!==Cu&&(x=m.resolvedSignature),m.resolvedSignature=fm===Re?x:b),x}function rh(r){var c;if(!r||!Mn(r))return!1;const _=au(r)||_c(r)?r:(bs(r)||pu(r))&&r.initializer&&_c(r.initializer)?r.initializer:void 0;if(_){if(LK(r))return!0;if(pu(Av(_.parent)))return!1;const m=Yn(_);return!!((c=m==null?void 0:m.members)!=null&&c.size)}return!1}function Ame(r,c){var _,m;if(c){const b=ms(c);if(!b.inferredClassSymbol||!b.inferredClassSymbol.has(vo(r))){const x=Yh(r)?r:q_(r);return x.exports=x.exports||za(),x.members=x.members||za(),x.flags|=c.flags&32,(_=c.exports)!=null&&_.size&&Ch(x.exports,c.exports),(m=c.members)!=null&&m.size&&Ch(x.members,c.members),(b.inferredClassSymbol||(b.inferredClassSymbol=new Map)).set(vo(x),x),x}return b.inferredClassSymbol.get(vo(r))}}function nSt(r){var c;const _=r&&pG(r,!0),m=(c=_==null?void 0:_.exports)==null?void 0:c.get("prototype"),b=(m==null?void 0:m.valueDeclaration)&&iSt(m.valueDeclaration);return b?Yn(b):void 0}function pG(r,c){if(!r.parent)return;let _,m;if(bs(r.parent)&&r.parent.initializer===r){if(!Mn(r)&&!(Gy(r.parent)&&Lc(r)))return;_=r.parent.name,m=r.parent}else if(Bn(r.parent)){const b=r.parent,x=r.parent.operatorToken.kind;if(x===64&&(c||b.right===r))_=b.left,m=_;else if((x===57||x===61)&&(bs(b.parent)&&b.parent.initializer===b?(_=b.parent.name,m=b.parent):Bn(b.parent)&&b.parent.operatorToken.kind===64&&(c||b.parent.right===b)&&(_=b.parent.left,m=_),!_||!aw(_)||!s4(_,b.left)))return}else c&&au(r)&&(_=r.name,m=r);if(!(!m||!_||!c&&!Xb(r,Kb(_))))return Up(m)}function iSt(r){if(!r.parent)return!1;let c=r.parent;for(;c&&c.kind===210;)c=c.parent;if(c&&Bn(c)&&Kb(c.left)&&c.operatorToken.kind===64){const _=jee(c);return jo(_)&&_}}function sSt(r,c){var _,m,b;gF(r,r.typeArguments);const x=KA(r,void 0,c);if(x===Cu)return Nr;if(dG(x,r),r.expression.kind===108)return ht;if(r.kind===213){const J=x.declaration;if(J&&J.kind!==175&&J.kind!==179&&J.kind!==184&&!(o2(J)&&((m=(_=DP(J))==null?void 0:_.parent)==null?void 0:m.kind)===175)&&!c4(J)&&!rh(J))return we&&rt(r,v.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),dt}if(Mn(r)&&mJ(Q)&&$Fe(r))return g9e(r.arguments[0]);const P=Vo(x);if(P.flags&12288&&UFe(r))return Kpe(Av(r.parent));if(r.kind===212&&!r.questionDotToken&&r.parent.kind===243&&P.flags&16384&&Cd(x)){if(!UP(r.expression))rt(r.expression,v.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name);else if(!WH(r)){const J=rt(r.expression,v.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation);RM(r.expression,J)}}if(Mn(r)){const J=pG(r,!1);if((b=J==null?void 0:J.exports)!=null&&b.size){const $=ul(J,J.exports,ft,ft,ft);return $.objectFlags|=4096,co([P,$])}}return P}function dG(r,c){if(r.declaration&&r.declaration.flags&268435456){const _=YM(c),m=R5(Mj(c));f0(_,r.declaration,m,Tr(r))}}function YM(r){switch(r=Tc(r),r.kind){case 212:case 169:case 213:return YM(r.expression);case 214:return YM(r.tag);case 285:case 284:return YM(r.tagName);case 211:return r.argumentExpression;case 210:return r.name;case 182:const c=r;return B_(c.typeName)?c.typeName.right:c;default:return r}}function UFe(r){if(!Ra(r))return!1;let c=r.expression;if(ai(c)&&c.name.escapedText==="for"&&(c=c.expression),!He(c)||c.escapedText!=="Symbol")return!1;const _=R9e(!1);return _?_===ll(c,"Symbol",111551,void 0,void 0,!1):!1}function aSt(r){if(TEt(r),r.arguments.length===0)return tF(r,dt);const c=r.arguments[0],_=jl(c),m=r.arguments.length>1?jl(r.arguments[1]):void 0;for(let x=2;x<r.arguments.length;++x)jl(r.arguments[x]);if((_.flags&32768||_.flags&65536||!lo(_,L))&&rt(c,v.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0,jt(_)),m){const x=F9e(!0);x!==ga&&D_(m,OH(x,32768),r.arguments[1])}const b=cu(r,c);if(b){const x=ab(b,c,!0,!1);if(x)return tF(r,zFe(bn(x),x,b,c)||VFe(bn(x),x,b,c))}return tF(r,dt)}function Pme(r,c,_){const m=za(),b=No(2097152,"default");return b.parent=c,b.links.nameType=X_("default"),b.links.aliasTarget=Qc(r),m.set("default",b),ul(_,m,ft,ft,ft)}function zFe(r,c,_,m){if(ib(m)&&r&&!Ro(r)){const x=r;if(!x.defaultOnlyType){const P=Pme(c,_);x.defaultOnlyType=P}return x.defaultOnlyType}}function VFe(r,c,_,m){var b;if(Ce&&r&&!Ro(r)){const x=r;if(!x.syntheticType){const P=(b=_.declarations)==null?void 0:b.find(Cs);if(zk(P,_,!1,m)){const $=No(2048,"__type"),re=Pme(c,_,$);$.links.type=re,x.syntheticType=VM(r)?q2(r,re,$,0,!1):re}else x.syntheticType=r}return x.syntheticType}return r}function $Fe(r){if(!M_(r,!0))return!1;if(!He(r.expression))return R.fail();const c=ll(r.expression,r.expression.escapedText,111551,void 0,void 0,!0);if(c===Dt)return!0;if(c.flags&2097152)return!1;const _=c.flags&16?261:c.flags&3?259:0;if(_!==0){const m=_l(c,_);return!!m&&!!(m.flags&16777216)}return!1}function oSt(r){Hwt(r)||gF(r,r.typeArguments),he<2&&ru(r,262144);const c=KA(r);return dG(c,r),Vo(c)}function cSt(r,c){if(r.kind===215){const _=pn(r);_&&$l(_.fileName,[".cts",".mts"])&&Fr(r,v.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead)}return qFe(r,c)}function Dme(r){switch(r.kind){case 11:case 15:case 9:case 10:case 112:case 97:case 208:case 209:case 227:return!0;case 216:return Dme(r.expression);case 223:const c=r.operator,_=r.operand;return c===41&&(_.kind===9||_.kind===10)||c===40&&_.kind===9;case 210:case 211:const m=Tc(r.expression),b=kl(m)?rl(m,111551,!0):void 0;return!!(b&&b.flags&384)}return!1}function qFe(r,c){const{type:_,expression:m}=WFe(r),b=Bs(m,c);if(Wy(_))return Dme(m)||rt(m,v.A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals),Kf(b);const x=mi(r);return x.assertionExpressionType=b,eo(_),ZE(r),Bi(_)}function WFe(r){let c,_;switch(r.kind){case 233:case 215:c=r.type,_=r.expression;break;case 216:c=EU(r),_=r.expression;break}return{type:c,expression:_}}function lSt(r){const{type:c}=WFe(r),_=j_(r)?c:r,m=mi(r);R.assertIsDefined(m.assertionExpressionType);const b=IM(tv(m.assertionExpressionType)),x=Bi(c);Ro(x)||n(()=>{const P=hp(b);kH(x,P)||LLe(b,x,_,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)})}function uSt(r){const c=Bs(r.expression),_=hN(c,r.expression);return LH(Ay(_),r,_!==c)}function fSt(r){return r.flags&32?uSt(r):Ay(Bs(r.expression))}function HFe(r){if(RBe(r),te(r.typeArguments,eo),r.kind===232){const _=Av(r.parent);_.kind===225&&_.operatorToken.kind===104&&FT(r,_.right)&&rt(r,v.The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression)}const c=r.kind===232?Bs(r.expression):JT(r.exprName)?JM(r.exprName):Bs(r.exprName);return GFe(c,r)}function GFe(r,c){const _=c.typeArguments;if(r===Nr||Ro(r)||!Ne(_))return r;let m=!1,b;const x=J(r),P=m?b:r;return P&&Do.add(Y6(pn(c),_,v.Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable,jt(P))),x;function J(re){let oe=!1,Ee=!1;const Le=We(re);return m||(m=Ee),oe&&!Ee&&(b??(b=re)),Le;function We(gt){if(gt.flags&524288){const $t=hm(gt),Vr=$($t.callSignatures),Zr=$($t.constructSignatures);if(oe||(oe=$t.callSignatures.length!==0||$t.constructSignatures.length!==0),Ee||(Ee=Vr.length!==0||Zr.length!==0),Vr!==$t.callSignatures||Zr!==$t.constructSignatures){const Tn=ul(void 0,$t.members,Vr,Zr,$t.indexInfos);return Tn.objectFlags|=8388608,Tn.node=c,Tn}}else if(gt.flags&58982400){const $t=Of(gt);if($t){const Vr=We($t);if(Vr!==$t)return Vr}}else{if(gt.flags&1048576)return kc(gt,J);if(gt.flags&2097152)return co($s(gt.types,We))}return gt}}function $(re){const oe=gr(re,Ee=>!!Ee.typeParameters&&Tme(Ee,_));return $s(oe,Ee=>{const Le=kme(Ee,_,!0);return Le?iN(Ee,Le,Mn(Ee.declaration)):Ee})}}function _St(r){return eo(r.type),Nme(r.expression,r.type)}function Nme(r,c,_){const m=Bs(r,_),b=Bi(c);if(Ro(b))return b;const x=mn(c.parent,P=>P.kind===237||P.kind===356);return K1(m,b,x,r,v.Type_0_does_not_satisfy_the_expected_type_1),m}function pSt(r){return lEt(r),r.keywordToken===105?Ime(r):r.keywordToken===102?dSt(r):R.assertNever(r.keywordToken)}function XFe(r){switch(r.keywordToken){case 102:return M9e();case 105:const c=Ime(r);return Ro(c)?se:NSt(c);default:R.assertNever(r.keywordToken)}}function Ime(r){const c=hTe(r);if(c)if(c.kind===175){const _=Yn(c.parent);return bn(_)}else{const _=Yn(c);return bn(_)}else return rt(r,v.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),se}function dSt(r){W===100||W===199?pn(r).impliedNodeFormat!==99&&rt(r,v.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output):W<6&&W!==4&&rt(r,v.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext);const c=pn(r);return R.assert(!!(c.flags&4194304),"Containing file is missing import meta node flag."),r.name.escapedText==="meta"?L9e():se}function ZM(r){const c=bn(r);if(K){const _=r.valueDeclaration;if(_&&Cv(_))return I0(c)}return c}function mG(r){return R.assert(He(r.name)),r.name.escapedText}function e3(r,c,_){const m=r.parameters.length-(kf(r)?1:0);if(c<m)return r.parameters[c].escapedName;const b=r.parameters[m]||qr,x=_||bn(b);if(uo(x)){const P=x.target.labeledElementDeclarations,J=c-m;return P&&mG(P[J])||b.escapedName+"_"+J}return b.escapedName}function mSt(r,c){var _;if(((_=r.declaration)==null?void 0:_.kind)===323)return;const m=r.parameters.length-(kf(r)?1:0);if(c<m){const P=r.parameters[c];return QFe(P)?[P.escapedName,!1]:void 0}const b=r.parameters[m]||qr;if(!QFe(b))return;const x=bn(b);if(uo(x)){const P=x.target.labeledElementDeclarations,J=c-m,$=P==null?void 0:P[J],re=!!($!=null&&$.dotDotDotToken);return $?[mG($),re]:void 0}if(c===m)return[b.escapedName,!0]}function QFe(r){return r.valueDeclaration&&ea(r.valueDeclaration)&&He(r.valueDeclaration.name)}function YFe(r){return r.kind===201||ea(r)&&r.name&&He(r.name)}function hSt(r,c){const _=r.parameters.length-(kf(r)?1:0);if(c<_){const x=r.parameters[c].valueDeclaration;return x&&YFe(x)?x:void 0}const m=r.parameters[_]||qr,b=bn(m);if(uo(b)){const x=b.target.labeledElementDeclarations,P=c-_;return x&&x[P]}return m.valueDeclaration&&YFe(m.valueDeclaration)?m.valueDeclaration:void 0}function Tm(r,c){return KS(r,c)||dt}function KS(r,c){const _=r.parameters.length-(kf(r)?1:0);if(c<_)return ZM(r.parameters[c]);if(kf(r)){const m=bn(r.parameters[_]),b=c-_;if(!uo(m)||m.target.hasRestElement||b<m.target.fixedLength)return A_(m,vm(b))}}function AN(r,c){const _=gp(r),m=nh(r),b=PN(r);if(b&&c>=_-1)return c===_-1?b:mf(A_(b,Se));const x=[],P=[],J=[];for(let $=c;$<_;$++){!b||$<_-1?(x.push(Tm(r,$)),P.push($<m?1:2)):(x.push(b),P.push(8));const re=hSt(r,$);re&&J.push(re)}return ym(x,P,!1,G(J)===G(x)?J:void 0)}function gp(r){const c=r.parameters.length;if(kf(r)){const _=bn(r.parameters[c-1]);if(uo(_))return c+_.target.fixedLength-(_.target.hasRestElement?0:1)}return c}function nh(r,c){const _=c&1,m=c&2;if(m||r.resolvedMinArgumentCount===void 0){let b;if(kf(r)){const x=bn(r.parameters[r.parameters.length-1]);if(uo(x)){const P=ir(x.target.elementFlags,$=>!($&1)),J=P<0?x.target.fixedLength:P;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 P=Tm(r,x);if(tu(P,wFe).flags&131072)break;b=x}r.resolvedMinArgumentCount=b}return r.resolvedMinArgumentCount}function Oh(r){if(kf(r)){const c=bn(r.parameters[r.parameters.length-1]);return!uo(c)||c.target.hasRestElement}return!1}function PN(r){if(kf(r)){const c=bn(r.parameters[r.parameters.length-1]);if(!uo(c))return c;if(c.target.hasRestElement)return jA(c,c.target.fixedLength)}}function DN(r){const c=PN(r);return c&&!rd(c)&&!qo(c)?c:void 0}function Ome(r){return Lme(r,Vt)}function Lme(r,c){return r.parameters.length>0?Tm(r,0):c}function ZFe(r,c,_){const m=r.parameters.length-(kf(r)?1:0);for(let b=0;b<m;b++){const x=r.parameters[b].valueDeclaration;if(x.type){const P=Yu(x);P&&Py(_.inferences,Bi(P),Tm(c,b))}}}function gSt(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=HS(c.thisParameter,void 0)),KM(r.thisParameter,bn(c.thisParameter)))}const _=r.parameters.length-(kf(r)?1:0);for(let m=0;m<_;m++){const b=r.parameters[m];if(!Yu(b.valueDeclaration)){const x=KS(c,m);KM(b,x)}}if(kf(r)){const m=To(r.parameters);if(m.valueDeclaration?!Yu(m.valueDeclaration):ml(m)&65536){const b=AN(c,_);KM(m,b)}}}function ySt(r){r.thisParameter&&KM(r.thisParameter);for(const c of r.parameters)KM(c)}function KM(r,c){const _=ms(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?B2(m,!0):bn(r)),m&&m.name.kind!==80&&(_.type===mt&&(_.type=J1(m.name)),KFe(m.name,_.type))}}function KFe(r,c){for(const _ of r.elements)if(!bu(_)){const m=Gi(_,c);_.name.kind===80?ms(Yn(_)).type=m:KFe(_.name,m)}}function vSt(r){return jE(z0t(!0),[r])}function bSt(r,c){return jE(V0t(!0),[r,c])}function TSt(r,c){return jE($0t(!0),[r,c])}function SSt(r,c){return jE(q0t(!0),[r,c])}function xSt(r,c){return jE(W0t(!0),[r,c])}function kSt(r,c){return jE(X0t(!0),[r,c])}function CSt(r,c,_){const m=`${c?"p":"P"}${_?"s":"S"}${r.id}`;let b=ks.get(m);if(!b){const x=za();x.set("name",bS("name",r)),x.set("private",bS("private",c?Te:ke)),x.set("static",bS("static",_?Te:ke)),b=ul(void 0,x,ft,ft,ft),ks.set(m,b)}return b}function eRe(r,c,_){const m=su(r),b=fs(r.name),x=b?X_(Zn(r.name)):P0(r.name),P=ql(r)?bSt(c,_):nm(r)?TSt(c,_):md(r)?SSt(c,_):Ep(r)?xSt(c,_):Ia(r)?kSt(c,_):R.failBadSyntaxKind(r),J=CSt(x,b,m);return co([P,J])}function wSt(r,c){return jE(H0t(!0),[r,c])}function ESt(r,c){return jE(G0t(!0),[r,c])}function ASt(r,c){const _=$_("this",r),m=$_("value",c);return Xme(void 0,_,[m],c,void 0,1)}function Mme(r,c,_){const m=$_("target",r),b=$_("context",c),x=Ti([_,ht]);return BN(void 0,void 0,[m,b],x)}function PSt(r){const{parent:c}=r,_=mi(c);if(!_.decoratorSignature)switch(_.decoratorSignature=Bl,c.kind){case 262:case 230:{const b=bn(Yn(c)),x=vSt(b);_.decoratorSignature=Mme(b,x,b);break}case 173:case 176:case 177:{const m=c;if(!Ri(m.parent))break;const b=ql(m)?VS(Zm(m)):cC(m),x=su(m)?bn(Yn(m.parent)):h_(Yn(m.parent)),P=nm(m)?IRe(b):md(m)?ORe(b):b,J=eRe(m,x,b),$=nm(m)?IRe(b):md(m)?ORe(b):b;_.decoratorSignature=Mme(P,J,$);break}case 171:{const m=c;if(!Ri(m.parent))break;const b=cC(m),x=su(m)?bn(Yn(m.parent)):h_(Yn(m.parent)),P=rg(m)?wSt(x,b):Fe,J=eRe(m,x,b),$=rg(m)?ESt(x,b):ASt(x,b);_.decoratorSignature=Mme(P,J,$);break}}return _.decoratorSignature===Bl?void 0:_.decoratorSignature}function DSt(r){const{parent:c}=r,_=mi(c);if(!_.decoratorSignature)switch(_.decoratorSignature=Bl,c.kind){case 262:case 230:{const b=bn(Yn(c)),x=$_("target",b);_.decoratorSignature=BN(void 0,void 0,[x],Ti([b,ht]));break}case 168:{const m=c;if(!El(m.parent)&&!(ql(m.parent)||md(m.parent)&&Ri(m.parent.parent))||BT(m.parent)===m)break;const b=BT(m.parent)?m.parent.parameters.indexOf(m)-1:m.parent.parameters.indexOf(m);R.assert(b>=0);const x=El(m.parent)?bn(Yn(m.parent.parent)):wBe(m.parent),P=El(m.parent)?Fe:EBe(m.parent),J=vm(b),$=$_("target",x),re=$_("propertyKey",P),oe=$_("parameterIndex",J);_.decoratorSignature=BN(void 0,void 0,[$,re,oe],ht);break}case 173:case 176:case 177:case 171:{const m=c;if(!Ri(m.parent))break;const b=wBe(m),x=$_("target",b),P=EBe(m),J=$_("propertyKey",P),$=Ia(m)?ht:U9e(cC(m));if(he!==0&&(!Ia(c)||rg(c))){const oe=U9e(cC(m)),Ee=$_("descriptor",oe);_.decoratorSignature=BN(void 0,void 0,[x,J,Ee],Ti([$,ht]))}else _.decoratorSignature=BN(void 0,void 0,[x,J],Ti([$,ht]));break}}return _.decoratorSignature===Bl?void 0:_.decoratorSignature}function Fme(r){return ye?DSt(r):PSt(r)}function eF(r){const c=gM(!0);return c!==Ns?(r=L0(n3(r))||mt,A0(c,[r])):mt}function tRe(r){const c=j9e(!0);return c!==Ns?(r=L0(n3(r))||mt,A0(c,[r])):mt}function tF(r,c){const _=eF(c);return _===mt?(rt(r,Dp(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),se):(Lpe(!0)||rt(r,Dp(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 NSt(r){const c=No(0,"NewTargetExpression"),_=No(4,"target",8);_.parent=c,_.links.type=r;const m=za([_]);return c.members=m,ul(c,m,ft,ft,ft)}function hG(r,c){if(!r.body)return se;const _=Fu(r),m=(_&2)!==0,b=(_&1)!==0;let x,P,J,$=ht;if(r.body.kind!==240)x=jl(r.body,c&&c&-9),m&&(x=n3(RN(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=oRe(r,c);re?re.length>0&&(x=Ti(re,2)):$=Vt;const{yieldTypes:oe,nextTypes:Ee}=ISt(r,c);P=Ne(oe)?Ti(oe,2):void 0,J=Ne(Ee)?co(Ee):void 0}else{const re=oRe(r,c);if(!re)return _&2?tF(r,Vt):Vt;if(re.length===0){const oe=YH(r,void 0),Ee=oe&&(pF(oe,_)||ht).flags&32768?Fe:ht;return _&2?tF(r,Ee):Ee}x=Ti(re,2)}if(x||P||J){if(P&&BH(r,P,3),x&&BH(r,x,1),J&&BH(r,J,2),x&&bm(x)||P&&bm(P)||J&&bm(J)){const re=tme(r),oe=re?re===Zm(r)?b?void 0:x:KH(Vo(re),r,void 0):void 0;b?(P=bde(P,oe,0,m),x=bde(x,oe,1,m),J=bde(J,oe,2,m)):x=Jvt(x,oe,m)}P&&(P=hp(P)),x&&(x=hp(x)),J&&(J=hp(J))}return b?rRe(P||Vt,x||$,J||VMe(2,r)||mt,m):m?eF(x||$):x||$}function rRe(r,c,_,m){const b=m?hi:di,x=b.getGlobalGeneratorType(!1);if(r=b.resolveIterationType(r,void 0)||mt,c=b.resolveIterationType(c,void 0)||mt,_=b.resolveIterationType(_,void 0)||mt,x===Ns){const P=b.getGlobalIterableIteratorType(!1),J=P!==Ns?GRe(P,b):void 0,$=J?J.returnType:dt,re=J?J.nextType:Fe;return lo(c,$)&&lo(re,_)?P!==Ns?oN(P,[r]):(b.getGlobalIterableIteratorType(!0),ga):(b.getGlobalGeneratorType(!0),ga)}return oN(x,[r,c,_])}function ISt(r,c){const _=[],m=[],b=(Fu(r)&2)!==0;return sTe(r.body,x=>{const P=x.expression?Bs(x.expression,c):Gt;Sp(_,nRe(x,P,dt,b));let J;if(x.asteriskToken){const $=wG(P,b?19:17,x.expression);J=$&&$.nextType}else J=g_(x,void 0);J&&Sp(m,J)}),{yieldTypes:_,nextTypes:m}}function nRe(r,c,_,m){const b=r.expression||r,x=r.asteriskToken?M0(m?19:17,c,_,b):c;return m?tx(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 iRe(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?hz.get(x)||32768:0}return m}function sRe(r){const c=mi(r);if(c.isExhaustive===void 0){c.isExhaustive=0;const _=OSt(r);c.isExhaustive===0&&(c.isExhaustive=_)}else c.isExhaustive===0&&(c.isExhaustive=!1);return c.isExhaustive}function OSt(r){if(r.expression.kind===220){const m=xMe(r);if(!m)return!1;const b=Sy(jl(r.expression.expression)),x=iRe(0,0,m);return b.flags&3?(556800&x)===556800:!O0(b,P=>(Ff(P)&x)===x)}const c=jl(r.expression);if(!mN(c))return!1;const _=VH(r);return!_.length||Ne(_,Rvt)?!1:Lbt(kc(c,Kf),_)}function aRe(r){return r.endFlowNode&&BM(r.endFlowNode)}function oRe(r,c){const _=Fu(r),m=[];let b=aRe(r),x=!1;if(OT(r.body,P=>{const J=P.expression;if(J){if(J.kind===212&&J.expression.kind===80&&jl(J.expression).symbol===r.symbol){x=!0;return}let $=jl(J,c&&c&-9);_&2&&($=n3(RN($,!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),Sp(m,$)}else b=!0}),!(m.length===0&&!b&&(x||LSt(r))))return K&&m.length&&b&&!(rh(r)&&m.some(P=>P.symbol===r.symbol))&&Sp(m,Fe),m}function LSt(r){switch(r.kind){case 217:case 218:return!0;case 173:return r.parent.kind===209;default:return!1}}function Rme(r,c){n(_);return;function _(){const m=Fu(r),b=c&&pF(c,m);if(b&&(Yc(b,16384)||b.flags&32769)||r.kind===172||pl(r.body)||r.body.kind!==240||!aRe(r))return;const x=r.flags&512,P=Am(r)||r;if(b&&b.flags&131072)rt(P,v.A_function_returning_never_cannot_have_a_reachable_end_point);else if(b&&!x)rt(P,v.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value);else if(b&&K&&!lo(Fe,b))rt(P,v.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(Q.noImplicitReturns){if(!b){if(!x)return;const J=Vo(Zm(r));if(tBe(r,J))return}rt(P,v.Not_all_code_paths_return_a_value)}}}function cRe(r,c){if(R.assert(r.kind!==173||Zd(r)),ZE(r),_c(r)&&s3(r,r.name),c&&c&4&&ed(r)){if(!Am(r)&&!CJ(r)){const m=CN(r);if(m&&Y2(Vo(m))){const b=mi(r);if(b.contextFreeType)return b.contextFreeType;const x=hG(r,c),P=Ag(void 0,void 0,void 0,ft,x,void 0,0,64),J=ul(r.symbol,Z,[P],ft,ft);return J.objectFlags|=262144,b.contextFreeType=J}}return Wl}return!RG(r)&&r.kind===217&&The(r),MSt(r,c),bn(Yn(r))}function MSt(r,c){const _=mi(r);if(!(_.flags&64)){const m=CN(r);if(!(_.flags&64)){_.flags|=64;const b=Hu(Ca(bn(Yn(r)),0));if(!b)return;if(ed(r))if(m){const x=eT(r);let P;if(c&&c&2){ZFe(b,m,x);const J=PN(m);J&&J.flags&262144&&(P=qE(m,x.nonFixingMapper))}P||(P=x?qE(m,x.mapper):m),gSt(b,P)}else ySt(b);else if(m&&!r.typeParameters&&m.parameters.length>r.parameters.length){const x=eT(r);c&&c&2&&ZFe(b,m,x)}if(m&&!BE(r)&&!b.resolvedReturnType){const x=hG(r,c);b.resolvedReturnType||(b.resolvedReturnType=x)}ON(r)}}}function FSt(r){R.assert(r.kind!==173||Zd(r));const c=Fu(r),_=BE(r);if(Rme(r,_),r.body)if(Am(r)||Vo(Zm(r)),r.body.kind===240)eo(r.body);else{const m=Bs(r.body),b=_&&pF(_,c);if(b)if((c&3)===2){const x=RN(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);K1(x,b,r.body,r.body)}else K1(m,b,r.body,r.body)}}function gG(r,c,_,m=!1){if(!lo(c,Oi)){const b=m&&MN(c);return A1(r,!!b&&lo(b,Oi),_),!1}return!0}function RSt(r){if(!Ra(r)||!sw(r))return!1;const c=jl(r.arguments[2]);if(Ll(c,"value")){const b=$a(c,"writable"),x=b&&bn(b);if(!x||x===ke||x===ve)return!0;if(b&&b.valueDeclaration&&pu(b.valueDeclaration)){const P=b.valueDeclaration.initializer,J=Bs(P);if(J===ke||J===ve)return!0}return!1}return!$a(c,"set")}function Sm(r){return!!(ml(r)&8||r.flags&4&&pd(r)&64||r.flags&3&&cme(r)&2||r.flags&98304&&!(r.flags&65536)||r.flags&8||Ne(r.declarations,RSt))}function lRe(r,c,_){var m,b;if(_===0)return!1;if(Sm(c)){if(c.flags&4&&jc(r)&&r.expression.kind===110){const x=Wp(r);if(!(x&&(x.kind===175||rh(x))))return!0;if(c.valueDeclaration){const P=Bn(c.valueDeclaration),J=x.parent===c.valueDeclaration.parent,$=x===c.valueDeclaration.parent,re=P&&((m=c.parent)==null?void 0:m.valueDeclaration)===x.parent,oe=P&&((b=c.parent)==null?void 0:b.valueDeclaration)===x;return!(J||$||re||oe)}}return!0}if(jc(r)){const x=Tc(r.expression);if(x.kind===80){const P=mi(x).resolvedSymbol;if(P.flags&2097152){const J=pp(P);return!!J&&J.kind===273}}}return!1}function NN(r,c,_){const m=lf(r,7);return m.kind!==80&&!jc(m)?(rt(r,c),!1):m.flags&32?(rt(r,_),!1):!0}function BSt(r){Bs(r.expression);const c=Tc(r.expression);if(!jc(c))return rt(c,v.The_operand_of_a_delete_operator_must_be_a_property_reference),vt;ai(c)&&fs(c.name)&&rt(c,v.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);const _=mi(c),m=Ud(_.resolvedSymbol);return m&&(Sm(m)&&rt(c,v.The_operand_of_a_delete_operator_cannot_be_a_read_only_property),jSt(c,m)),vt}function jSt(r,c){const _=bn(c);K&&!(_.flags&131075)&&!(Ke?c.flags&16777216:Ff(_)&16777216)&&rt(r,v.The_operand_of_a_delete_operator_must_be_optional)}function JSt(r){return Bs(r.expression),vE}function USt(r){return Bs(r.expression),Gt}function zSt(r){const c=Ij(r);if(c&&al(c))rt(r,v.Await_expression_cannot_be_used_inside_a_class_static_block);else if(!(r.flags&32768))if(Oj(r)){const _=pn(r);if(!nT(_)){let m;if(!nw(_,Q)){m??(m=eg(_,r.pos));const b=vu(_,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(W){case 100:case 199:if(_.impliedNodeFormat===1){m??(m=eg(_,r.pos)),Do.add(vu(_,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(he>=4)break;default:m??(m=eg(_,r.pos)),Do.add(vu(_,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 _=pn(r);if(!nT(_)){const m=eg(_,r.pos),b=vu(_,m.start,m.length,v.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules);if(c&&c.kind!==175&&!(Fu(c)&2)){const x=ei(c,v.Did_you_mean_to_mark_this_function_as_async);ho(b,x)}Do.add(b)}}Qde(r)&&rt(r,v.await_expressions_cannot_be_used_in_a_parameter_initializer)}function VSt(r){n(()=>zSt(r));const c=Bs(r.expression),_=RN(c,!0,r,v.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return _===c&&!Ro(_)&&!(c.flags&3)&&Tg(!1,ei(r,v.await_has_no_effect_on_the_type_of_this_expression)),_}function $St(r){const c=Bs(r.operand);if(c===Nr)return Nr;switch(r.operand.kind){case 9:switch(r.operator){case 41:return $E(vm(-r.operand.text));case 40:return $E(vm(+r.operand.text))}break;case 10:if(r.operator===41)return $E(mH({negative:!0,base10Value:rD(r.operand.text)}))}switch(r.operator){case 40:case 41:case 55:return th(c,r.operand),rF(c,12288)&&rt(r.operand,v.The_0_operator_cannot_be_applied_to_type_symbol,io(r.operator)),r.operator===40?(rF(c,2112)&&rt(r.operand,v.Operator_0_cannot_be_applied_to_type_1,io(r.operator),jt(tv(c))),Se):Bme(c);case 54:the(c,r.operand);const _=Ff(c)&12582912;return _===4194304?ke:_===8388608?Te:vt;case 46:case 47:return gG(r.operand,th(c,r.operand),v.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&NN(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),Bme(c)}return se}function qSt(r){const c=Bs(r.operand);return c===Nr?Nr:(gG(r.operand,th(c,r.operand),v.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&NN(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),Bme(c))}function Bme(r){return Yc(r,2112)?Au(r,3)||Yc(r,296)?Oi:pe:Se}function rF(r,c){if(Yc(r,c))return!0;const _=Sy(r);return!!_&&Yc(_,c)}function Yc(r,c){if(r.flags&c)return!0;if(r.flags&3145728){const _=r.types;for(const m of _)if(Yc(m,c))return!0}return!1}function Au(r,c,_){return r.flags&c?!0:_&&r.flags&114691?!1:!!(c&296)&&lo(r,Se)||!!(c&2112)&&lo(r,pe)||!!(c&402653316)&&lo(r,L)||!!(c&528)&&lo(r,vt)||!!(c&16384)&&lo(r,ht)||!!(c&131072)&&lo(r,Vt)||!!(c&65536)&&lo(r,Gn)||!!(c&32768)&&lo(r,Fe)||!!(c&4096)&&lo(r,Qt)||!!(c&67108864)&&lo(r,Vi)}function nF(r,c,_){return r.flags&1048576?ot(r.types,m=>nF(m,c,_)):Au(r,c,_)}function jme(r){return!!(vi(r)&16)&&!!r.symbol&&Jme(r.symbol)}function Jme(r){return(r.flags&128)!==0}function WSt(r,c,_,m){return _===Nr||m===Nr?Nr:(!qo(_)&&nF(_,402784252)&&rt(r,v.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),qo(m)||OG(m)||Z1(m,Mo)||rt(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),vt)}function HSt(r){return O0(r,c=>c===ku||!!(c.flags&2097152)&&Ey(Sy(c)))}function GSt(r,c,_,m){if(_===Nr||m===Nr)return Nr;if(fs(r)){if(he<99&&ru(r,2097152),!mi(r).resolvedSymbol&&_u(r)){const b=mme(r,m.symbol,!0);yFe(r,m,b)}}else D_(th(_,r),qs,r);return D_(th(m,c),Vi,c)&&HSt(m)&&rt(c,v.Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator,jt(m)),vt}function XSt(r,c,_){const m=r.properties;if(K&&m.length===0)return th(c,r);for(let b=0;b<m.length;b++)uRe(r,c,b,m,_);return c}function uRe(r,c,_,m,b=!1){const x=r.properties,P=x[_];if(P.kind===302||P.kind===303){const J=P.name,$=P0(J);if(Eg($)){const Ee=Qm($),Le=$a(c,Ee);Le&&(GM(Le,P,b),ume(P,!1,!0,c,Le))}const re=A_(c,$,32,J),oe=Mt(P,re);return ex(P.kind===303?P:P.initializer,oe)}else if(P.kind===304)if(_<x.length-1)rt(P,v.A_rest_element_must_be_last_in_a_destructuring_pattern);else{he<99&&ru(P,4);const J=[];if(m)for(const re of m)ZT(re)||J.push(re.name);const $=ne(c,J,c.symbol);return lC(m,v.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),ex(P.expression,$)}else rt(P,v.Property_assignment_expected)}function QSt(r,c,_){const m=r.elements;he<2&&Q.downlevelIteration&&ru(r,512);const b=M0(193,c,Fe,r)||se;let x=Q.noUncheckedIndexedAccess?void 0:b;for(let P=0;P<m.length;P++){let J=b;r.elements[P].kind===229&&(J=x=x??(M0(65,c,Fe,r)||se)),fRe(r,c,P,J,_)}return c}function fRe(r,c,_,m,b){const x=r.elements,P=x[_];if(P.kind!==231){if(P.kind!==229){const J=vm(_);if(ev(c)){const $=32|(QA(P)?16:0),re=Q1(c,J,$,QM(P,J))||se,oe=QA(P)?Ed(re,524288):re,Ee=Mt(P,oe);return ex(P,Ee,b)}return ex(P,m,b)}if(_<x.length-1)rt(P,v.A_rest_element_must_be_last_in_a_destructuring_pattern);else{const J=P.expression;if(J.kind===225&&J.operatorToken.kind===64)rt(J.operatorToken,v.A_rest_element_cannot_have_an_initializer);else{lC(r.elements,v.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);const $=qd(c,uo)?kc(c,re=>jA(re,_)):mf(m);return ex(J,$,b)}}}}function ex(r,c,_,m){let b;if(r.kind===303){const x=r;x.objectAssignmentInitializer&&(K&&!(Ff(Bs(x.objectAssignmentInitializer))&16777216)&&(c=Ed(c,524288)),ext(x.name,x.equalsToken,x.objectAssignmentInitializer,_)),b=r.name}else b=r;return b.kind===225&&b.operatorToken.kind===64&&(Me(b,_),b=b.left,K&&(c=Ed(c,524288))),b.kind===209?XSt(b,c,m):b.kind===208?QSt(b,c,_):YSt(b,c,_)}function YSt(r,c,_){const m=Bs(r,_),b=r.parent.kind===304?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===304?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 NN(r,b,x)&&K1(c,m,r,r),j6(r)&&ru(r.parent,1048576),c}function iF(r){switch(r=Tc(r),r.kind){case 80:case 11:case 14:case 214:case 227:case 15:case 9:case 10:case 112:case 97:case 106:case 157:case 217:case 230:case 218:case 208:case 209:case 220:case 234:case 284:case 283:return!0;case 226:return iF(r.whenTrue)&&iF(r.whenFalse);case 225:return o1(r.operatorToken.kind)?!1:iF(r.left)&&iF(r.right);case 223:case 224:switch(r.operator){case 54:case 40:case 41:case 55:return!0}return!1;case 221:case 215:case 233:default:return!1}}function Ume(r,c){return(c.flags&98304)!==0||kH(r,c)}function ZSt(){const r=NU(c,_,m,b,x,P);return(Le,We)=>{const gt=r(Le,We);return R.assertIsDefined(gt),gt};function c(Le,We,gt){return We?(We.stackIndex++,We.skip=!1,re(We,void 0),Ee(We,void 0)):We={checkMode:gt,skip:!1,stackIndex:0,typeStack:[void 0,void 0]},Mn(Le)&&iw(Le)?(We.skip=!0,Ee(We,Bs(Le.right,gt)),We):(KSt(Le),Le.operatorToken.kind===64&&(Le.left.kind===209||Le.left.kind===208)&&(We.skip=!0,Ee(We,ex(Le.left,Bs(Le.right,gt),gt,Le.right.kind===110))),We)}function _(Le,We,gt){if(!We.skip)return J(We,Le)}function m(Le,We,gt){if(!We.skip){const $t=oe(We);R.assertIsDefined($t),re(We,$t),Ee(We,void 0);const Vr=Le.kind;if(O5(Vr)){let Zr=gt.parent;for(;Zr.kind===216||L5(Zr);)Zr=Zr.parent;(Vr===56||Gx(Zr))&&ehe(gt.left,$t,Gx(Zr)?Zr.thenStatement:void 0),the($t,gt.left)}}}function b(Le,We,gt){if(!We.skip)return J(We,Le)}function x(Le,We){let gt;if(We.skip)gt=oe(We);else{const $t=$(We);R.assertIsDefined($t);const Vr=oe(We);R.assertIsDefined(Vr),gt=_Re(Le.left,Le.operatorToken,Le.right,$t,Vr,Le)}return We.skip=!1,re(We,void 0),Ee(We,void 0),We.stackIndex--,gt}function P(Le,We,gt){return Ee(Le,We),Le}function J(Le,We){if(Bn(We))return We;Ee(Le,Bs(We,Le.checkMode))}function $(Le){return Le.typeStack[Le.stackIndex]}function re(Le,We){Le.typeStack[Le.stackIndex]=We}function oe(Le){return Le.typeStack[Le.stackIndex+1]}function Ee(Le,We){Le.typeStack[Le.stackIndex+1]=We}}function KSt(r){const{left:c,operatorToken:_,right:m}=r;_.kind===61&&(Bn(c)&&(c.operatorToken.kind===57||c.operatorToken.kind===56)&&Fr(c,v._0_and_1_operations_cannot_be_mixed_without_parentheses,io(c.operatorToken.kind),io(_.kind)),Bn(m)&&(m.operatorToken.kind===57||m.operatorToken.kind===56)&&Fr(m,v._0_and_1_operations_cannot_be_mixed_without_parentheses,io(m.operatorToken.kind),io(_.kind)))}function ext(r,c,_,m,b){const x=c.kind;if(x===64&&(r.kind===209||r.kind===208))return ex(r,Bs(_,m),m,_.kind===110);let P;O5(x)?P=a3(r,m):P=Bs(r,m);const J=Bs(_,m);return _Re(r,c,_,P,J,b)}function _Re(r,c,_,m,b,x){const P=c.kind;switch(P){case 42:case 43:case 67:case 68:case 44:case 69:case 45:case 70:case 41:case 66:case 48:case 71:case 49:case 72:case 50:case 73:case 52:case 75:case 53:case 79:case 51:case 74:if(m===Nr||b===Nr)return Nr;m=th(m,r),b=th(b,_);let xr;if(m.flags&528&&b.flags&528&&(xr=Ee(c.kind))!==void 0)return rt(x||c,v.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,io(c.kind),io(xr)),Se;{const Pr=gG(r,m,v.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0),Xr=gG(_,b,v.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0);let un;if(Au(m,3)&&Au(b,3)||!(Yc(m,2112)||Yc(b,2112)))un=Se;else if(J(m,b)){switch(P){case 50:case 73:$t();break;case 43:case 68:he<3&&rt(x,v.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later)}un=pe}else $t(J),un=se;return Pr&&Xr&&Le(un),un}case 40:case 65:if(m===Nr||b===Nr)return Nr;!Au(m,402653316)&&!Au(b,402653316)&&(m=th(m,r),b=th(b,_));let Sr;return Au(m,296,!0)&&Au(b,296,!0)?Sr=Se:Au(m,2112,!0)&&Au(b,2112,!0)?Sr=pe:Au(m,402653316,!0)||Au(b,402653316,!0)?Sr=L:(qo(m)||qo(b))&&(Sr=Ro(m)||Ro(b)?se:dt),Sr&&!oe(P)?Sr:Sr?(P===65&&Le(Sr),Sr):($t((Xr,un)=>Au(Xr,402655727)&&Au(un,402655727)),dt);case 30:case 32:case 33:case 34:return oe(P)&&(m=yde(th(m,r)),b=yde(th(b,_)),gt((Pr,Xr)=>{if(qo(Pr)||qo(Xr))return!0;const un=lo(Pr,Oi),yi=lo(Xr,Oi);return un&&yi||!un&&!yi&&kM(Pr,Xr)})),vt;case 35:case 36:case 37:case 38:if($K(r)||$K(_)){const Pr=P===35||P===37;rt(x,v.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value,Pr?"false":"true")}return Zr(x,P,r,_),gt((Pr,Xr)=>Ume(Pr,Xr)||Ume(Xr,Pr)),vt;case 104:return WSt(r,_,m,b);case 103:return GSt(r,_,m,b);case 56:case 77:{const Pr=Ff(m)&4194304?Ti([Vvt(K?m:tv(b)),b]):m;return P===77&&Le(b),Pr}case 57:case 76:{const Pr=Ff(m)&8388608?Ti([Ay(XLe(m)),b],2):m;return P===76&&Le(b),Pr}case 61:case 78:{const Pr=Ff(m)&262144?Ti([Ay(m),b],2):m;return P===78&&Le(b),Pr}case 64:const Jn=Bn(r.parent)?dl(r.parent):0;return $(Jn,b),We(Jn)?((!(b.flags&524288)||Jn!==2&&Jn!==6&&!wy(b)&&!Jde(b)&&!(vi(b)&1))&&Le(b),m):(Le(b),b);case 28:if(!Q.allowUnreachableCode&&iF(r)&&!re(r.parent)){const Pr=pn(r),Xr=Pr.text,un=fo(Xr,r.pos);Pr.parseDiagnostics.some(Mi=>Mi.code!==v.JSX_expressions_must_have_one_parent_element.code?!1:DK(Mi,un))||rt(r,v.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)}return b;default:return R.fail()}function J(xr,Sr){return Au(xr,2112)&&Au(Sr,2112)}function $(xr,Sr){if(xr===2)for(const Jn of q1(Sr)){const Pr=bn(Jn);if(Pr.symbol&&Pr.symbol.flags&32){const Xr=Jn.escapedName,un=ll(Jn.valueDeclaration,Xr,788968,void 0,Xr,!1);un!=null&&un.declarations&&un.declarations.some(wO)&&(TS(un,v.Duplicate_identifier_0,xs(Xr),Jn),TS(Jn,v.Duplicate_identifier_0,xs(Xr),un))}}}function re(xr){return xr.parent.kind===216&&Hp(xr.left)&&xr.left.text==="0"&&(Ra(xr.parent.parent)&&xr.parent.parent.expression===xr.parent||xr.parent.parent.kind===214)&&(jc(xr.right)||He(xr.right)&&xr.right.escapedText==="eval")}function oe(xr){const Sr=rF(m,12288)?r:rF(b,12288)?_:void 0;return Sr?(rt(Sr,v.The_0_operator_cannot_be_applied_to_type_symbol,io(xr)),!1):!0}function Ee(xr){switch(xr){case 52:case 75:return 57;case 53:case 79:return 38;case 51:case 74:return 56;default:return}}function Le(xr){o1(P)&&n(Sr);function Sr(){let Jn=m;if(VD(c.kind)&&r.kind===210&&(Jn=_me(r,void 0,!0)),NN(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 Pr;if(Ke&&ai(r)&&Yc(xr,32768)){const Xr=Ll(Rf(r.expression),r.name.escapedText);wH(xr,Xr)&&(Pr=v.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target)}K1(xr,Jn,r,_,Pr)}}}function We(xr){var Sr;switch(xr){case 2:return!0;case 1:case 5:case 6:case 3:case 4:const Jn=Up(r),Pr=iw(_);return!!Pr&&jo(Pr)&&!!((Sr=Jn==null?void 0:Jn.exports)!=null&&Sr.size);default:return!1}}function gt(xr){return xr(m,b)?!1:($t(xr),!0)}function $t(xr){let Sr=!1;const Jn=x||c;if(xr){const Mi=L0(m),Ks=L0(b);Sr=!(Mi===m&&Ks===b)&&!!(Mi&&Ks)&&xr(Mi,Ks)}let Pr=m,Xr=b;!Sr&&xr&&([Pr,Xr]=txt(m,b,xr));const[un,yi]=is(Pr,Xr);Vr(Jn,Sr,un,yi)||A1(Jn,Sr,v.Operator_0_cannot_be_applied_to_types_1_and_2,io(c.kind),un,yi)}function Vr(xr,Sr,Jn,Pr){switch(c.kind){case 37:case 35:case 38:case 36:return A1(xr,Sr,v.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap,Jn,Pr);default:return}}function Zr(xr,Sr,Jn,Pr){const Xr=Tn(Tc(Jn)),un=Tn(Tc(Pr));if(Xr||un){const yi=rt(xr,v.This_condition_will_always_return_0,io(Sr===37||Sr===35?97:112));if(Xr&&un)return;const Mi=Sr===38||Sr===36?io(54):"",Ks=Xr?Pr:Jn,La=Tc(Ks);ho(yi,ei(Ks,v.Did_you_mean_0,`${Mi}Number.isNaN(${kl(La)?np(La):"..."})`))}}function Tn(xr){if(He(xr)&&xr.escapedText==="NaN"){const Sr=Q0t();return!!Sr&&Sr===$d(xr)}return!1}}function txt(r,c,_){let m=r,b=c;const x=tv(r),P=tv(c);return _(x,P)||(m=x,b=P),[m,b]}function rxt(r){n(Le);const c=Wp(r);if(!c)return dt;const _=Fu(c);if(!(_&1))return dt;const m=(_&2)!==0;r.asteriskToken&&(m&&he<99&&ru(r,26624),!m&&he<2&&Q.downlevelIteration&&ru(r,256));const b=BE(c),x=b&&eBe(b,m),P=x&&x.yieldType||dt,J=x&&x.nextType||dt,$=m?tx(J)||dt:J,re=r.expression?Bs(r.expression):Gt,oe=nRe(r,re,$,m);if(b&&oe&&K1(oe,P,r.expression||r,r.expression),r.asteriskToken)return nhe(m?19:17,1,re,r.expression)||dt;if(b)return rT(2,b,m)||dt;let Ee=VMe(2,c);return Ee||(Ee=dt,n(()=>{if(we&&!XSe(r)){const We=g_(r,void 0);(!We||qo(We))&&rt(r,v.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation)}})),Ee;function Le(){r.flags&8192||Pu(r,v.A_yield_expression_is_only_allowed_in_a_generator_body),Qde(r)&&rt(r,v.yield_expressions_cannot_be_used_in_a_parameter_initializer)}}function nxt(r,c){const _=a3(r.condition);ehe(r.condition,_,r.whenTrue);const m=Bs(r.whenTrue,c),b=Bs(r.whenFalse,c);return Ti([m,b],2)}function pRe(r){const c=r.parent;return j_(c)&&pRe(c)||Pc(c)&&c.argumentExpression===r}function ixt(r){const c=[r.head.text],_=[];for(const m of r.templateSpans){const b=Bs(m.expression);rF(b,12288)&&rt(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(lo(b,Js)?b:L)}return t3(r)||pRe(r)||O0(g_(r,void 0)||mt,sxt)?$S(c,_):L}function sxt(r){return!!(r.flags&134217856||r.flags&58982400&&Yc(Of(r)||mt,402653316))}function axt(r){return YT(r)&&!Qx(r.parent)?r.parent.parent:r}function XE(r,c,_,m){const b=axt(r);zM(b,c,!1),P2t(b,_);const x=Bs(r,m|1|(_?2:0));_&&_.intraExpressionInferenceSites&&(_.intraExpressionInferenceSites=void 0);const P=Yc(x,2944)&&yG(x,KH(c,r,void 0))?Kf(x):x;return D2t(),kN(),P}function jl(r,c){if(c)return Bs(r,c);const _=mi(r);if(!_.resolvedType){const m=fm,b=Hr;fm=Re,Hr=void 0,_.resolvedType=Bs(r,c),Hr=b,fm=m}return _.resolvedType}function dRe(r){return r=Tc(r,!0),r.kind===215||r.kind===233||ID(r)}function IN(r,c,_){const m=s5(r);if(Mn(r)){const x=EJ(r);if(x)return Nme(m,x,c)}const b=$me(m)||(_?XE(m,_,void 0,c||0):jl(m,c));return ea(r)&&r.name.kind===206&&uo(b)&&!b.target.hasRestElement&&xy(b)<r.name.elements.length?oxt(b,r.name):b}function oxt(r,c){const _=c.elements,m=G1(r).slice(),b=r.target.elementFlags.slice();for(let x=xy(r);x<_.length;x++){const P=_[x];(x<_.length-1||!(P.kind===207&&P.dotDotDotToken))&&(m.push(!bu(P)&&QA(P)?da(P,!1,!1):dt),b.push(2),!bu(P)&&!QA(P)&&Cb(P,dt))}return ym(m,b,r.target.readonly)}function zme(r,c){const _=ph(r)&2||kj(r)?c:Q2(c);if(Mn(r)){if($Le(_))return Cb(r,dt),dt;if(NH(_))return Cb(r,Zi),Zi}return _}function yG(r,c){if(c){if(c.flags&3145728){const _=c.types;return Ne(_,m=>yG(r,m))}if(c.flags&58982400){const _=Of(c)||mt;return Yc(_,4)&&Yc(r,128)||Yc(_,8)&&Yc(r,256)||Yc(_,64)&&Yc(r,2048)||Yc(_,4096)&&Yc(r,8192)||yG(r,_)}return!!(c.flags&406847616&&Yc(r,128)||c.flags&256&&Yc(r,256)||c.flags&2048&&Yc(r,2048)||c.flags&512&&Yc(r,512)||c.flags&8192&&Yc(r,8192))}return!1}function t3(r){const c=r.parent;return Ax(c)&&Wy(c.type)||ID(c)&&Wy(EU(c))||Dme(r)&&ME(g_(r,0))||(j_(c)||Hf(c)||lg(c))&&t3(c)||(pu(c)||hd(c)||kD(c))&&t3(c.parent)}function r3(r,c,_){const m=Bs(r,c,_);return t3(r)||cTe(r)?Kf(m):dRe(r)?m:vde(m,KH(g_(r,void 0),r,void 0))}function mRe(r,c){return r.name.kind===166&&Dg(r.name),r3(r.initializer,c)}function hRe(r,c){JBe(r),r.name.kind===166&&Dg(r.name);const _=cRe(r,c);return gRe(r,_,c)}function gRe(r,c,_){if(_&&_&10){const m=wN(c,0,!0),b=wN(c,1,!0),x=m||b;if(x&&x.typeParameters){const P=Eb(r,2);if(P){const J=wN(Ay(P),m?0:1,!1);if(J&&!J.typeParameters){if(_&8)return yRe(r,_),Wl;const $=eT(r),re=$.signature&&Vo($.signature),oe=re&&EFe(re);if(oe&&!oe.typeParameters&&!ot($.inferences,QE)){const Ee=fxt($,x.typeParameters),Le=Cpe(x,Ee),We=qt($.inferences,gt=>Ede(gt.typeParameter));if(xde(Le,J,(gt,$t)=>{Py(We,gt,$t,0,!0)}),Ne(We,QE)&&(kde(Le,J,(gt,$t)=>{Py(We,gt,$t)}),!lxt($.inferences,We)))return uxt($.inferences,We),$.inferredTypeParameters=wr($.inferredTypeParameters,Ee),VS(Le)}return VS(AFe(x,J,$))}}}}return c}function yRe(r,c){if(c&2){const _=eT(r);_.flags|=4}}function QE(r){return!!(r.candidates||r.contraCandidates)}function cxt(r){return!!(r.candidates||r.contraCandidates||f9e(r.typeParameter))}function lxt(r,c){for(let _=0;_<r.length;_++)if(QE(r[_])&&QE(c[_]))return!0;return!1}function uxt(r,c){for(let _=0;_<r.length;_++)!QE(r[_])&&QE(c[_])&&(r[_]=c[_])}function fxt(r,c){const _=[];let m,b;for(const x of c){const P=x.symbol.escapedName;if(Vme(r.inferredTypeParameters,P)||Vme(_,P)){const J=_xt(wr(r.inferredTypeParameters,_),P),$=No(262144,J),re=Sd($);re.target=x,m=zr(m,x),b=zr(b,re),_.push(re)}else _.push(x)}if(b){const x=P_(m,b);for(const P of b)P.mapper=x}return _}function Vme(r,c){return Ne(r,_=>_.symbol.escapedName===c)}function _xt(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(!Vme(r,x))return x}}function vRe(r){const c=oC(r);if(c&&!c.typeParameters)return Vo(c)}function pxt(r){const c=Bs(r.expression),_=hN(c,r.expression),m=vRe(c);return m&&LH(m,r,_!==c)}function Rf(r){const c=$me(r);if(c)return c;if(r.flags&134217728&&Hr){const b=Hr[Jo(r)];if(b)return b}const _=dr,m=Bs(r);if(dr!==_){const b=Hr||(Hr=[]);b[Jo(r)]=m,GSe(r,r.flags|134217728)}return m}function $me(r){let c=Tc(r,!0);if(ID(c)){const _=EU(c);if(!Wy(_))return Bi(_)}if(c=Tc(r),R4(c)){const _=$me(c.expression);return _?tx(_):void 0}if(Ra(c)&&c.expression.kind!==108&&!M_(c,!0)&&!UFe(c))return kx(c)?pxt(c):vRe(YA(c.expression));if(Ax(c)&&!Wy(c.type))return Bi(c.type);if(Cx(r)||m2e(r))return Bs(r)}function sF(r){const c=mi(r);if(c.contextFreeType)return c.contextFreeType;zM(r,dt,!1);const _=c.contextFreeType=Bs(r,4);return kN(),_}function Bs(r,c,_){var m,b;(m=qi)==null||m.push(qi.Phase.Check,"checkExpression",{kind:r.kind,pos:r.pos,end:r.end,path:r.tracingPath});const x=B;B=r,O=0;const P=hxt(r,c,_),J=gRe(r,P,c);return jme(J)&&dxt(r,J),B=x,(b=qi)==null||b.pop(),J}function dxt(r,c){r.parent.kind===210&&r.parent.expression===r||r.parent.kind===211&&r.parent.expression===r||(r.kind===80||r.kind===165)&&NG(r)||r.parent.kind===185&&r.parent.exprName===r||r.parent.kind===280||rt(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),Nm(Q)&&(R.assert(!!(c.symbol.flags&128)),c.symbol.valueDeclaration.flags&16777216&&rt(r,v.Cannot_access_ambient_const_enums_when_0_is_enabled,Xt))}function mxt(r,c){if(Ap(r)){if(Qte(r))return Nme(r.expression,Yte(r),c);if(ID(r))return qFe(r,c)}return Bs(r.expression,c)}function hxt(r,c,_){const m=r.kind;if(s)switch(m){case 230:case 217:case 218:s.throwIfCancellationRequested()}switch(m){case 80:return Kbt(r,c);case 81:return dTt(r);case 110:return JM(r);case 108:return Gde(r);case 106:return Rn;case 15:case 11:return UH(r)?dt:$E(X_(r.text));case 9:return Che(r),$E(vm(+r.text));case 10:return gEt(r),$E(mH({negative:!1,base10Value:rD(r.text)}));case 112:return Te;case 97:return ke;case 227:return ixt(r);case 14:return er;case 208:return YMe(r,c,_);case 209:return W2t(r,c);case 210:return _me(r,c);case 165:return pFe(r,c);case 211:return DTt(r,c);case 212:if(r.expression.kind===102)return aSt(r);case 213:return sSt(r,c);case 214:return oSt(r);case 216:return mxt(r,c);case 230:return rCt(r);case 217:case 218:return cRe(r,c);case 220:return JSt(r);case 215:case 233:return cSt(r,c);case 234:return fSt(r);case 232:return HFe(r);case 237:return _St(r);case 235:return pSt(r);case 219:return BSt(r);case 221:return USt(r);case 222:return VSt(r);case 223:return $St(r);case 224:return qSt(r);case 225:return Me(r,c);case 226:return nxt(r,c);case 229:return U2t(r,c);case 231:return Gt;case 228:return rxt(r);case 236:return z2t(r);case 293:return oTt(r,c);case 283:return Q2t(r);case 284:return G2t(r);case 287:return Y2t(r);case 291:return K2t(r,c);case 285:R.fail("Shouldn't ever directly check a JsxOpeningElement")}return se}function bRe(r){Ig(r),r.expression&&Pu(r.expression,v.Type_expected),eo(r.constraint),eo(r.default);const c=JS(Yn(r));Of(c),i0t(c)||rt(r.default,v.Type_parameter_0_has_a_circular_default,jt(c));const _=If(c),m=zS(c);_&&m&&D_(m,mp(Ps(_,H2(c,m)),m),r.default,v.Type_0_does_not_satisfy_the_constraint_1),ZE(r),n(()=>o3(r.name,v.Type_parameter_name_cannot_be_0))}function gxt(r){var c,_;if(Xf(r.parent)||Ri(r.parent)||Mm(r.parent)){const m=JS(Yn(r)),b=pde(m)&98304;if(b){const x=Yn(r.parent);if(Mm(r.parent)&&!(vi(yc(x))&48))rt(r,v.Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types);else if(b===32768||b===65536){(c=qi)==null||c.push(qi.Phase.CheckTypes,"checkTypeParameterDeferred",{parent:Mf(yc(x)),id:Mf(m)});const P=EM(x,m,b===65536?Jc:Sc),J=EM(x,m,b===65536?Sc:Jc),$=m;H=m,D_(P,J,r,v.Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation),H=$,(_=qi)==null||_.pop()}}}}function TRe(r){Ig(r),fF(r);const c=Wp(r);gi(r,16476)&&(c.kind===175&&Pd(c.body)||rt(r,v.A_parameter_property_is_only_allowed_in_a_constructor_implementation),c.kind===175&&He(r.name)&&r.name.escapedText==="constructor"&&rt(r.name,v.constructor_cannot_be_used_as_a_parameter_property_name)),!r.initializer&&Xte(r)&&Fa(r.name)&&c.body&&rt(r,v.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),r.name&&He(r.name)&&(r.name.escapedText==="this"||r.name.escapedText==="new")&&(c.parameters.indexOf(r)!==0&&rt(r,v.A_0_parameter_must_be_the_first_parameter,r.name.escapedText),(c.kind===175||c.kind===179||c.kind===184)&&rt(r,v.A_constructor_cannot_have_a_this_parameter),c.kind===218&&rt(r,v.An_arrow_function_cannot_have_a_this_parameter),(c.kind===176||c.kind===177)&&rt(r,v.get_and_set_accessors_cannot_declare_this_parameters)),r.dotDotDotToken&&!Fa(r.name)&&!lo(gm(bn(r.symbol)),_e)&&rt(r,v.A_rest_parameter_must_be_of_an_array_type)}function yxt(r){const c=vxt(r);if(!c){rt(r,v.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}const _=Zm(c),m=Cd(_);if(!m)return;eo(r.type);const{parameterName:b}=r;if(m.kind===0||m.kind===2)hH(b);else if(m.parameterIndex>=0){if(kf(_)&&m.parameterIndex===_.parameters.length-1)rt(b,v.A_type_predicate_cannot_reference_a_rest_parameter);else if(m.type){const x=()=>ca(void 0,v.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type);D_(m.type,bn(_.parameters[m.parameterIndex]),r.type,void 0,x)}}else if(b){let x=!1;for(const{name:P}of c.parameters)if(Fa(P)&&SRe(P,b,m.parameterName)){x=!0;break}x||rt(r.parameterName,v.Cannot_find_parameter_0,m.parameterName)}}function vxt(r){switch(r.parent.kind){case 218:case 178:case 261:case 217:case 183:case 173:case 172:const c=r.parent;if(r===c.type)return c}}function SRe(r,c,_){for(const m of r.elements){if(bu(m))continue;const b=m.name;if(b.kind===80&&b.escapedText===_)return rt(c,v.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,_),!0;if((b.kind===206||b.kind===205)&&SRe(b,c,_))return!0}}function ON(r){r.kind===180?qwt(r):(r.kind===183||r.kind===261||r.kind===184||r.kind===178||r.kind===175||r.kind===179)&&RG(r);const c=Fu(r);c&4||((c&3)===3&&he<99&&ru(r,6144),(c&3)===2&&he<4&&ru(r,64),c&3&&he<2&&ru(r,128)),dF(Tv(r)),Kkt(r),te(r.parameters,TRe),r.type&&eo(r.type),n(_);function _(){hkt(r);const m=Am(r);if(we&&!m)switch(r.kind){case 179:rt(r,v.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 178:rt(r,v.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break}if(m){const b=Fu(r);if((b&5)===1){const x=Bi(m);if(x===ht)rt(m,v.A_generator_cannot_have_a_void_type_annotation);else{const P=rT(0,x,(b&2)!==0)||dt,J=rT(1,x,(b&2)!==0)||P,$=rT(2,x,(b&2)!==0)||mt,re=rRe(P,J,$,!!(b&2));D_(re,x,m)}}else(b&3)===2&&Qxt(r,m)}r.kind!==180&&r.kind!==323&&nv(r)}}function bxt(r){const c=new Map,_=new Map,m=new Map;for(const x of r.members)if(x.kind===175)for(const P of x.parameters)Cp(P,x)&&!Fa(P.name)&&b(c,P.name,P.name.escapedText,3);else{const P=Aa(x),J=x.name;if(!J)continue;const $=fs(J),re=$&&P?16:0,oe=$?m:P?_:c,Ee=J&&Zb(J);if(Ee)switch(x.kind){case 176:b(oe,J,Ee,1|re);break;case 177:b(oe,J,Ee,2|re);break;case 171:b(oe,J,Ee,3|re);break;case 173:b(oe,J,Ee,8|re);break}}function b(x,P,J,$){const re=x.get(J);if(re)if((re&16)!==($&16))rt(P,v.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name,iu(P));else{const oe=!!(re&8),Ee=!!($&8);oe||Ee?oe!==Ee&&rt(P,v.Duplicate_identifier_0,iu(P)):re&$&-17?rt(P,v.Duplicate_identifier_0,iu(P)):x.set(J,re|$)}else x.set(J,$)}}function Txt(r){for(const c of r.members){const _=c.name;if(Aa(c)&&_){const b=Zb(_);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,P=T0(Yn(r));rt(_,x,b,P);break}}}}function xRe(r){const c=new Map;for(const _ of r.members)if(_.kind===170){let m;const b=_.name;switch(b.kind){case 11:case 9:m=b.text;break;case 80:m=Zn(b);break;default:continue}c.get(m)?(rt(ia(_.symbol.valueDeclaration),v.Duplicate_identifier_0,m),rt(_.name,v.Duplicate_identifier_0,m)):c.set(m,!0)}}function qme(r){if(r.kind===263){const _=Yn(r);if(_.declarations&&_.declarations.length>0&&_.declarations[0]!==r)return}const c=b9e(Yn(r));if(c!=null&&c.declarations){const _=new Map;for(const m of c.declarations)m.parameters.length===1&&m.parameters[0].type&&QS(Bi(m.parameters[0].type),b=>{const x=_.get(Mf(b));x?x.declarations.push(m):_.set(Mf(b),{type:b,declarations:[m]})});_.forEach(m=>{if(m.declarations.length>1)for(const b of m.declarations)rt(b,v.Duplicate_index_signature_for_type_0,jt(m.type))})}}function kRe(r){!Ig(r)&&!pEt(r)&&BG(r.name),fF(r),Wme(r),gi(r,256)&&r.kind===171&&r.initializer&&rt(r,v.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract,ac(r.name))}function Sxt(r){return fs(r.name)&&rt(r,v.Private_identifiers_are_not_allowed_outside_class_bodies),kRe(r)}function xxt(r){JBe(r)||BG(r.name),ql(r)&&r.asteriskToken&&He(r.name)&&Zn(r.name)==="constructor"&&rt(r.name,v.Class_constructor_may_not_be_a_generator),RRe(r),gi(r,256)&&r.kind===173&&r.body&&rt(r,v.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,ac(r.name)),fs(r.name)&&!_u(r)&&rt(r,v.Private_identifiers_are_not_allowed_outside_class_bodies),Wme(r)}function Wme(r){if(fs(r.name)&&he<99){for(let c=Kh(r);c;c=Kh(c))mi(c).flags|=4194304;if(Gf(r.parent)){const c=qde(r.parent);c&&(mi(r.name).flags|=32768,mi(c).flags|=4096)}}}function kxt(r){Ig(r),_a(r,eo)}function Cxt(r){ON(r),fEt(r)||_Et(r),eo(r.body);const c=Yn(r),_=_l(c,r.kind);if(r===_&&TG(c),pl(r.body))return;n(b);return;function m(x){return s_(x)?!0:x.kind===171&&!Aa(x)&&!!x.initializer}function b(){const x=r.parent;if(RT(x)){Wde(r.parent,x);const P=MMe(x),J=LMe(r.body);if(J){if(P&&rt(J,v.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null),(Eo(Q)!==99||!de)&&(Ne(r.parent.members,m)||Ne(r.parameters,re=>gi(re,16476))))if(!wxt(J,r.body))rt(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 oe of r.body.statements){if(of(oe)&&Z6(lf(oe.expression))){re=oe;break}if(CRe(oe))break}re===void 0&&rt(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 P||rt(r,v.Constructors_for_derived_classes_must_contain_a_super_call)}}}function wxt(r,c){const _=Av(r.parent);return of(_)&&_.parent===c}function CRe(r){return r.kind===108||r.kind===110?!0:mTe(r)?!1:!!_a(r,CRe)}function wRe(r){He(r.name)&&Zn(r.name)==="constructor"&&Ri(r.parent)&&rt(r.name,v.Class_constructor_may_not_be_an_accessor),n(c),eo(r.body),Wme(r);function c(){if(!RG(r)&&!eEt(r)&&BG(r.name),oF(r),ON(r),r.kind===176&&!(r.flags&16777216)&&Pd(r.body)&&r.flags&256&&(r.flags&512||rt(r.name,v.A_get_accessor_must_return_a_value)),r.name.kind===166&&Dg(r.name),LE(r)){const m=Yn(r),b=_l(m,176),x=_l(m,177);if(b&&x&&!(KE(b)&1)){mi(b).flags|=1;const P=Wf(b),J=Wf(x);(P&256)!==(J&256)&&(rt(b.name,v.Accessors_must_both_be_abstract_or_non_abstract),rt(x.name,v.Accessors_must_both_be_abstract_or_non_abstract)),(P&16&&!(J&24)||P&8&&!(J&8))&&(rt(b.name,v.A_get_accessor_must_be_at_least_as_accessible_as_the_setter),rt(x.name,v.A_get_accessor_must_be_at_least_as_accessible_as_the_setter))}}const _=Kp(Yn(r));r.kind===176&&Rme(r,_)}}function Ext(r){oF(r)}function Axt(r,c,_){return r.typeArguments&&_<r.typeArguments.length?Bi(r.typeArguments[_]):vG(r,c)[_]}function vG(r,c){return W1(qt(r.typeArguments,Bi),c,Dh(c),Mn(r))}function ERe(r,c){let _,m,b=!0;for(let x=0;x<c.length;x++){const P=If(c[x]);P&&(_||(_=vG(r,c),m=P_(c,_)),b=b&&D_(_[x],Ps(P,m),r.typeArguments[x],v.Type_0_does_not_satisfy_the_constraint_1))}return b}function Pxt(r,c){if(!Ro(r))return c.flags&524288&&ms(c).typeParameters||(vi(r)&4?r.target.localTypeParameters:void 0)}function Hme(r){const c=Bi(r);if(!Ro(c)){const _=mi(r).resolvedSymbol;if(_)return Pxt(c,_)}}function Gme(r){if(gF(r,r.typeArguments),r.kind===182&&!Mn(r)&&!n5(r)&&r.typeArguments&&r.typeName.end!==r.typeArguments.pos){const c=pn(r);iTe(c,r.typeName.end)===25&&iT(r,fo(c.text,r.typeName.end),1,v.JSDoc_types_can_only_be_used_inside_documentation_comments)}te(r.typeArguments,eo),ARe(r)}function ARe(r){const c=Bi(r);if(!Ro(c)){r.typeArguments&&n(()=>{const m=Hme(r);m&&ERe(r,m)});const _=mi(r).resolvedSymbol;_&&Ne(_.declarations,m=>w4(m)&&!!(m.flags&268435456))&&yl(YM(r),_.declarations,_.escapedName)}}function Dxt(r){const c=wi(r.parent,pj);if(!c)return;const _=Hme(c);if(!_)return;const m=If(_[c.typeArguments.indexOf(r)]);return m&&Ps(m,P_(_,vG(c,_)))}function Nxt(r){N9e(r)}function Ixt(r){te(r.members,eo),n(c);function c(){const _=yLe(r);EG(_,_.symbol),qme(r),xRe(r)}}function Oxt(r){eo(r.elementType)}function Lxt(r){const c=r.elements;let _=!1,m=!1;const b=Ne(c,bD);for(const x of c){if(x.kind!==201&&b){Fr(x,v.Tuple_members_must_all_have_names_or_all_not_have_names);break}const P=Rpe(x);if(P&8){const J=Bi(x.type);if(!ev(J)){rt(x,v.A_rest_element_type_must_be_an_array_type);break}(rd(J)||uo(J)&&J.target.combinedFlags&4)&&(m=!0)}else if(P&4){if(m){Fr(x,v.A_rest_element_cannot_follow_another_rest_element);break}m=!0}else if(P&2){if(m){Fr(x,v.An_optional_element_cannot_follow_a_rest_element);break}_=!0}else if(_){Fr(x,v.A_required_element_cannot_follow_an_optional_element);break}}te(r.elements,eo),Bi(r)}function Mxt(r){te(r.types,eo),Bi(r)}function PRe(r,c){if(!(r.flags&8388608))return r;const _=r.objectType,m=r.indexType;if(lo(m,Km(_,0)))return c.kind===211&&Qg(c)&&vi(_)&32&&Ph(_)&1&&rt(c,v.Index_signature_in_type_0_only_permits_reading,jt(_)),r;const b=Zf(_);if(Pg(b,Se)&&Au(m,296))return r;if($2(_)){const x=fH(m,c);if(x){const P=QS(b,J=>$a(J,x));if(P&&pd(P)&24)return rt(c,v.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter,xs(x)),se}}return rt(c,v.Type_0_cannot_be_used_to_index_type_1,jt(m),jt(_)),se}function Fxt(r){eo(r.objectType),eo(r.indexType),PRe(_Le(r),r)}function Rxt(r){Bxt(r),eo(r.typeParameter),eo(r.nameType),eo(r.type),r.type||Cb(r,dt);const c=Gpe(r),_=w0(c);if(_)D_(_,Ys,r.nameType);else{const m=Ym(c);D_(m,Ys,B6(r.typeParameter))}}function Bxt(r){var c;if((c=r.members)!=null&&c.length)return Fr(r.members[0],v.A_mapped_type_may_not_declare_properties_or_methods)}function jxt(r){hH(r)}function Jxt(r){rEt(r),eo(r.type)}function Uxt(r){_a(r,eo)}function zxt(r){mn(r,_=>_.parent&&_.parent.kind===193&&_.parent.extendsType===_)||Fr(r,v.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type),eo(r.typeParameter);const c=Yn(r.typeParameter);if(c.declarations&&c.declarations.length>1){const _=ms(c);if(!_.typeParametersChecked){_.typeParametersChecked=!0;const m=JS(c),b=L2e(c,167);if(!iBe(b,[m],x=>[x])){const x=Xe(c);for(const P of b)rt(P.name,v.All_declarations_of_0_must_have_identical_constraints,x)}}}nv(r)}function Vxt(r){for(const c of r.templateSpans){eo(c.type);const _=Bi(c.type);D_(_,Js,c.type)}Bi(r)}function $xt(r){eo(r.argument),r.assertions&&qw(r.assertions.assertClause,Fr)&&(D5()||Fr(r.assertions.assertClause,v.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next),wl(Q)!==3&&wl(Q)!==99&&Fr(r.assertions.assertClause,v.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext)),ARe(r)}function qxt(r){r.dotDotDotToken&&r.questionToken&&Fr(r,v.A_tuple_member_cannot_be_both_optional_and_rest),r.type.kind===189&&Fr(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===190&&Fr(r.type,v.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type),eo(r.type),Bi(r)}function aF(r){return(ip(r,8)||s_(r))&&!!(r.flags&16777216)}function bG(r,c){let _=t1(r);return r.parent.kind!==263&&r.parent.kind!==262&&r.parent.kind!==230&&r.flags&16777216&&(!(_&2)&&!(yh(r.parent)&&Al(r.parent.parent)&&dh(r.parent.parent))&&(_|=1),_|=2),_&c}function TG(r){n(()=>Wxt(r))}function Wxt(r){function c(Sr,Jn){return Jn!==void 0&&Jn.parent===Sr[0].parent?Jn:Sr[0]}function _(Sr,Jn,Pr,Xr,un){if((Xr^un)!==0){const Mi=bG(c(Sr,Jn),Pr);te(Sr,Ks=>{const La=bG(Ks,Pr)^Mi;La&1?rt(ia(Ks),v.Overload_signatures_must_all_be_exported_or_non_exported):La&2?rt(ia(Ks),v.Overload_signatures_must_all_be_ambient_or_non_ambient):La&24?rt(ia(Ks)||Ks,v.Overload_signatures_must_all_be_public_private_or_protected):La&256&&rt(ia(Ks),v.Overload_signatures_must_all_be_abstract_or_non_abstract)})}}function m(Sr,Jn,Pr,Xr){if(Pr!==Xr){const un=cw(c(Sr,Jn));te(Sr,yi=>{cw(yi)!==un&&rt(ia(yi),v.Overload_signatures_must_all_be_optional_or_required)})}}const b=283;let x=0,P=b,J=!1,$=!0,re=!1,oe,Ee,Le;const We=r.declarations,gt=(r.flags&16384)!==0;function $t(Sr){if(Sr.name&&pl(Sr.name))return;let Jn=!1;const Pr=_a(Sr.parent,un=>{if(Jn)return un;Jn=un===Sr});if(Pr&&Pr.pos===Sr.end&&Pr.kind===Sr.kind){const un=Pr.name||Pr,yi=Pr.name;if(Sr.name&&yi&&(fs(Sr.name)&&fs(yi)&&Sr.name.escapedText===yi.escapedText||Ho(Sr.name)&&Ho(yi)&&Cy(Dg(Sr.name),Dg(yi))||Kd(Sr.name)&&Kd(yi)&&OP(Sr.name)===OP(yi))){if((Sr.kind===173||Sr.kind===172)&&Aa(Sr)!==Aa(Pr)){const Ks=Aa(Sr)?v.Function_overload_must_be_static:v.Function_overload_must_not_be_static;rt(un,Ks)}return}if(Pd(Pr.body)){rt(un,v.Function_implementation_name_must_be_0,ac(Sr.name));return}}const Xr=Sr.name||Sr;gt?rt(Xr,v.Constructor_implementation_is_missing):gi(Sr,256)?rt(Xr,v.All_declarations_of_an_abstract_method_must_be_consecutive):rt(Xr,v.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}let Vr=!1,Zr=!1,Tn=!1;const xr=[];if(We)for(const Sr of We){const Jn=Sr,Pr=Jn.flags&16777216,Xr=Jn.parent&&(Jn.parent.kind===263||Jn.parent.kind===186)||Pr;if(Xr&&(Le=void 0),(Jn.kind===262||Jn.kind===230)&&!Pr&&(Tn=!0),Jn.kind===261||Jn.kind===173||Jn.kind===172||Jn.kind===175){xr.push(Jn);const un=bG(Jn,b);x|=un,P&=un,J=J||cw(Jn),$=$&&cw(Jn);const yi=Pd(Jn.body);yi&&oe?gt?Zr=!0:Vr=!0:(Le==null?void 0:Le.parent)===Jn.parent&&Le.end!==Jn.pos&&$t(Le),yi?oe||(oe=Jn):re=!0,Le=Jn,Xr||(Ee=Jn)}if(Mn(Sr)&&Sa(Sr)&&Sr.jsDoc){for(const un of Sr.jsDoc)if(un.tags)for(const yi of un.tags)PD(yi)&&(re=!0)}}if(Zr&&te(xr,Sr=>{rt(Sr,v.Multiple_constructor_implementations_are_not_allowed)}),Vr&&te(xr,Sr=>{rt(ia(Sr)||Sr,v.Duplicate_function_implementation)}),Tn&&!gt&&r.flags&16&&We){const Sr=gr(We,Jn=>Jn.kind===262).map(Jn=>ei(Jn,v.Consider_adding_a_declare_modifier_to_this_class));te(We,Jn=>{const Pr=Jn.kind===262?v.Class_declaration_cannot_implement_overload_list_for_0:Jn.kind===261?v.Function_with_bodies_can_only_merge_with_classes_that_are_ambient:void 0;Pr&&ho(rt(ia(Jn)||Jn,Pr,xl(r)),...Sr)})}if(Ee&&!Ee.body&&!gi(Ee,256)&&!Ee.questionToken&&$t(Ee),re&&(We&&(_(We,oe,b,x,P),m(We,oe,J,$)),oe)){const Sr=U2(r),Jn=Zm(oe);for(const Pr of Sr)if(!yvt(Jn,Pr)){const Xr=Pr.declaration&&o2(Pr.declaration)?Pr.declaration.parent.tagName:Pr.declaration;ho(rt(Xr,v.This_overload_signature_is_not_compatible_with_its_implementation_signature),ei(oe,v.The_implementation_signature_is_declared_here));break}}}function LN(r){n(()=>Hxt(r))}function Hxt(r){let c=r.localSymbol;if(!c&&(c=Yn(r),!c.exportSymbol)||_l(c,r.kind)!==r)return;let _=0,m=0,b=0;for(const re of c.declarations){const oe=$(re),Ee=bG(re,1025);Ee&1?Ee&1024?b|=oe:_|=oe:m|=oe}const x=_|m,P=_&m,J=b&x;if(P||J)for(const re of c.declarations){const oe=$(re),Ee=ia(re);oe&J?rt(Ee,v.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,ac(Ee)):oe&P&&rt(Ee,v.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,ac(Ee))}function $(re){let oe=re;switch(oe.kind){case 263:case 264:case 352:case 344:case 346:return 2;case 266:return $f(oe)||i0(oe)!==0?5:4;case 262:case 265:case 305:return 3;case 311:return 7;case 276:case 225:const Ee=oe,Le=Pl(Ee)?Ee.expression:Ee.right;if(!kl(Le))return 1;oe=Le;case 270:case 273:case 272:let We=0;const gt=ef(Yn(oe));return te(gt.declarations,$t=>{We|=$($t)}),We;case 259:case 207:case 261:case 275:case 80:return 1;case 172:case 170:return 2;default:return R.failBadSyntaxKind(oe)}}}function MN(r,c,_,...m){const b=FN(r,c);return b&&tx(b,c,_,...m)}function FN(r,c,_){if(qo(r))return;const m=r;if(m.promisedTypeOfPromise)return m.promisedTypeOfPromise;if(vb(r,gM(!1)))return m.promisedTypeOfPromise=cc(r)[0];if(nF(Sy(r),402915324))return;const b=Ll(r,"then");if(qo(b))return;const x=b?Ca(b,0):ft;if(x.length===0){c&&rt(c,v.A_promise_must_have_a_then_method);return}let P,J;for(const oe of x){const Ee=z2(oe);Ee&&Ee!==ht&&!eh(r,Ee,kh)?P=Ee:J=zr(J,oe)}if(!J){R.assertIsDefined(P),_&&(_.value=P),c&&rt(c,v.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,jt(r),jt(P));return}const $=Ed(Ti(qt(J,Ome)),2097152);if(qo($))return;const re=Ca($,0);if(re.length===0){c&&rt(c,v.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback);return}return m.promisedTypeOfPromise=Ti(qt(re,Ome),2)}function RN(r,c,_,m,...b){return(c?tx(r,_,m,...b):L0(r,_,m,...b))||se}function DRe(r){if(nF(Sy(r),402915324))return!1;const c=Ll(r,"then");return!!c&&Ca(Ed(c,2097152),0).length>0}function SG(r){var c;if(r.flags&16777216){const _=Fpe(!1);return!!_&&r.aliasSymbol===_&&((c=r.aliasTypeArguments)==null?void 0:c.length)===1}return!1}function n3(r){return r.flags&1048576?kc(r,n3):SG(r)?r.aliasTypeArguments[0]:r}function NRe(r){if(qo(r)||SG(r))return!1;if($2(r)){const c=Of(r);if(c?c.flags&3||wy(c)||O0(c,DRe):Yc(r,8650752))return!0}return!1}function Gxt(r){const c=Fpe(!0);if(c)return JE(c,[n3(r)])}function Xxt(r){if(NRe(r)){const c=Gxt(r);if(c)return c}return R.assert(SG(r)||FN(r)===void 0,"type provided should not be a non-generic 'promise'-like."),r}function tx(r,c,_,...m){const b=L0(r,c,_,...m);return b&&Xxt(b)}function L0(r,c,_,...m){if(qo(r)||SG(r))return r;const b=r;if(b.awaitedTypeOfType)return b.awaitedTypeOfType;if(r.flags&1048576){if(E1.lastIndexOf(r.id)>=0){c&&rt(c,v.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}const J=c?re=>L0(re,c,_,...m):L0;E1.push(r.id);const $=kc(r,J);return E1.pop(),b.awaitedTypeOfType=$}if(NRe(r))return b.awaitedTypeOfType=r;const x={value:void 0},P=FN(r,void 0,x);if(P){if(r.id===P.id||E1.lastIndexOf(P.id)>=0){c&&rt(c,v.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}E1.push(r.id);const J=L0(P,c,_,...m);return E1.pop(),J?b.awaitedTypeOfType=J:void 0}if(DRe(r)){if(c){R.assertIsDefined(_);let J;x.value&&(J=ca(J,v.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,jt(r),jt(x.value))),J=ca(J,_,...m),Do.add(Hy(pn(c),c,J))}return}return b.awaitedTypeOfType=r}function Qxt(r,c){const _=Bi(c);if(he>=2){if(Ro(_))return;const m=gM(!0);if(m!==Ns&&!vb(_,m)){rt(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,jt(L0(_)||ht));return}}else{if(Zxt(c),Ro(_))return;const m=t5(c);if(m===void 0){rt(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,jt(_));return}const b=rl(m,111551,!0),x=b?bn(b):se;if(Ro(x)){m.kind===80&&m.escapedText==="Promise"&&IE(_)===gM(!1)?rt(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):rt(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,np(m));return}const P=D0t(!0);if(P===ga){rt(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,np(m));return}if(!D_(x,P,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&&Np(m),$=Eu(r.locals,J.escapedText,111551);if($){rt($.valueDeclaration,v.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,Zn(J),np(m));return}}RN(_,!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 Yxt(r){const c=KA(r);dG(c,r);const _=Vo(c);if(_.flags&1)return;const m=Fme(r);if(!(m!=null&&m.resolvedReturnType))return;let b;const x=m.resolvedReturnType;switch(r.parent.kind){case 262:case 230:b=v.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;case 171:if(!ye){b=v.Decorator_function_return_type_0_is_not_assignable_to_type_1;break}case 168:b=v.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any;break;case 173:case 176:case 177:b=v.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;default:return R.failBadSyntaxKind(r.parent)}D_(_,x,r.expression,b)}function BN(r,c,_,m,b,x=_.length,P=0){const J=V.createFunctionTypeNode(void 0,ft,V.createKeywordTypeNode(133));return Ag(J,r,c,_,m,b,x,P)}function Xme(r,c,_,m,b,x,P){const J=BN(r,c,_,m,b,x,P);return VS(J)}function IRe(r){return Xme(void 0,void 0,ft,r)}function ORe(r){const c=$_("value",r);return Xme(void 0,void 0,[c],ht)}function Zxt(r){LRe(r&&t5(r),!1)}function LRe(r,c){if(!r)return;const _=Np(r),m=(r.kind===80?788968:1920)|2097152,b=ll(_,_.escapedText,m,void 0,void 0,!0);if(b&&b.flags&2097152){if(Ye&&M1(b)&&!UN(ef(b))&&!_f(b))I1(b);else if(c&&Nm(Q)&&Zu(Q)>=5&&!M1(b)&&!Ne(b.declarations,ET)){const x=rt(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),P=Ve(b.declarations||ft,x2);P&&ho(x,ei(P,v._0_was_imported_here,Zn(_)))}}}function i3(r){const c=Qme(r);c&&wp(c)&&LRe(c,!0)}function Qme(r){if(r)switch(r.kind){case 192:case 191:return MRe(r.types);case 193:return MRe([r.trueType,r.falseType]);case 195:case 201:return Qme(r.type);case 182:return r.typeName}}function MRe(r){let c;for(let _ of r){for(;_.kind===195||_.kind===201;)_=_.type;if(_.kind===146||!K&&(_.kind===200&&_.literal.kind===106||_.kind===157))continue;const m=Qme(_);if(!m)return;if(c){if(!He(c)||!He(m)||c.escapedText!==m.escapedText)return}else c=m}return c}function xG(r){const c=Yu(r);return Hg(r)?Pee(c):c}function oF(r){if(!Jw(r)||!_d(r)||!r.modifiers||!Fj(ye,r,r.parent,r.parent.parent))return;const c=Ve(r.modifiers,xf);if(c){if(ye?(ru(c,8),r.kind===168&&ru(c,32)):he<99&&(ru(c,8),Su(r)?r.name?sBe(r)&&ru(c,8388608):ru(c,8388608):Gf(r)||(fs(r.name)&&(ql(r)||Wb(r)||Ep(r))&&ru(c,8388608),Ho(r.name)&&ru(c,16777216))),Q.emitDecoratorMetadata)switch(ru(c,16),r.kind){case 262:const _=Yg(r);if(_)for(const P of _.parameters)i3(xG(P));break;case 176:case 177:const m=r.kind===176?177:176,b=_l(Yn(r),m);i3(or(r)||b&&or(b));break;case 173:for(const P of r.parameters)i3(xG(P));i3(Am(r));break;case 171:i3(Yu(r));break;case 168:i3(xG(r));const x=r.parent;for(const P of x.parameters)i3(xG(P));break}for(const _ of r.modifiers)xf(_)&&Yxt(_)}}function Kxt(r){n(c);function c(){RRe(r),The(r),s3(r,r.name)}}function ekt(r){r.typeExpression||rt(r.name,v.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),r.name&&o3(r.name,v.Type_alias_name_cannot_be_0),eo(r.typeExpression),dF(Tv(r))}function tkt(r){eo(r.constraint);for(const c of r.typeParameters)eo(c)}function rkt(r){eo(r.typeExpression)}function nkt(r){eo(r.typeExpression);const c=lw(r);if(c){const _=BK(c,kU);if(G(_)>1)for(let m=1;m<G(_);m++){const b=_[m].tagName;rt(b,v._0_tag_already_specified,Zn(b))}}}function ikt(r){r.name&&hF(r.name,!0)}function skt(r){eo(r.typeExpression)}function akt(r){eo(r.typeExpression)}function okt(r){n(c),ON(r);function c(){!r.type&&!c4(r)&&Cb(r,dt)}}function ckt(r){const c=lw(r);(!c||!Su(c)&&!Gf(c))&&rt(c,v.JSDoc_0_is_not_attached_to_a_class,Zn(r.tagName))}function lkt(r){const c=lw(r);if(!c||!Su(c)&&!Gf(c)){rt(c,v.JSDoc_0_is_not_attached_to_a_class,Zn(r.tagName));return}const _=CT(c).filter(V4);R.assert(_.length>0),_.length>1&&rt(_[1],v.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);const m=FRe(r.class.expression),b=RT(c);if(b){const x=FRe(b.expression);x&&m.escapedText!==x.escapedText&&rt(m,v.JSDoc_0_1_does_not_match_the_extends_2_clause,Zn(r.tagName),Zn(m),Zn(x))}}function ukt(r){const c=uw(r);c&&s_(c)&&rt(r,v.An_accessibility_modifier_cannot_be_used_with_a_private_identifier)}function FRe(r){switch(r.kind){case 80:return r;case 210:return r.name;default:return}}function RRe(r){var c;oF(r),ON(r);const _=Fu(r);if(r.name&&r.name.kind===166&&Dg(r.name),LE(r)){const x=Yn(r),P=r.localSymbol||x,J=(c=P.declarations)==null?void 0:c.find($=>$.kind===r.kind&&!($.flags&262144));r===J&&TG(P),x.parent&&TG(x)}const m=r.kind===172?void 0:r.body;if(eo(m),Rme(r,BE(r)),n(b),Mn(r)){const x=kT(r);x&&x.typeExpression&&!eme(Bi(x.typeExpression),r)&&rt(x.typeExpression.type,v.The_type_of_a_function_declaration_must_match_the_function_s_signature)}function b(){Am(r)||(pl(m)&&!aF(r)&&Cb(r,dt),_&1&&Pd(m)&&Vo(Zm(r)))}}function nv(r){n(c);function c(){const _=pn(r);let m=Vm.get(_.path);m||(m=[],Vm.set(_.path,m)),m.push(r)}}function BRe(r,c){for(const _ of r)switch(_.kind){case 262:case 230:fkt(_,c),Yme(_,c);break;case 311:case 266:case 240:case 268:case 247:case 248:case 249:URe(_,c);break;case 175:case 217:case 261:case 218:case 173:case 176:case 177:_.body&&URe(_,c),Yme(_,c);break;case 172:case 178:case 179:case 183:case 184:case 264:case 263:Yme(_,c);break;case 194:_kt(_,c);break;default:R.assertNever(_,"Node should not have been registered for unused identifiers check")}}function jRe(r,c,_){const m=ia(r)||r,b=w4(r)?v._0_is_declared_but_never_used:v._0_is_declared_but_its_value_is_never_read;_(r,0,ei(m,b,c))}function cF(r){return He(r)&&Zn(r).charCodeAt(0)===95}function fkt(r,c){for(const _ of r.members)switch(_.kind){case 173:case 171:case 176:case 177:if(_.kind===177&&_.symbol.flags&32768)break;const m=Yn(_);!m.isReferenced&&(ip(_,8)||bf(_)&&fs(_.name))&&!(_.flags&16777216)&&c(_,0,ei(_.name,v._0_is_declared_but_its_value_is_never_read,Xe(m)));break;case 175:for(const b of _.parameters)!b.symbol.isReferenced&&gi(b,8)&&c(b,0,ei(b.name,v.Property_0_is_declared_but_its_value_is_never_read,xl(b.symbol)));break;case 180:case 239:case 174:break;default:R.fail("Unexpected class member")}}function _kt(r,c){const{typeParameter:_}=r;Zme(_)&&c(r,1,ei(r,v._0_is_declared_but_its_value_is_never_read,Zn(_.name)))}function Yme(r,c){const _=Yn(r).declarations;if(!_||To(_)!==r)return;const m=Tv(r),b=new Set;for(const x of m){if(!Zme(x))continue;const P=Zn(x.name),{parent:J}=x;if(J.kind!==194&&J.typeParameters.every(Zme)){if(li(b,J)){const $=pn(J),re=Rm(J)?Ute(J):zte($,J.typeParameters),Ee=J.typeParameters.length===1?[v._0_is_declared_but_its_value_is_never_read,P]:[v.All_type_parameters_are_unused];c(x,1,vu($,re.pos,re.end-re.pos,...Ee))}}else c(x,1,ei(x,v._0_is_declared_but_its_value_is_never_read,P))}}function Zme(r){return!(Fo(r.symbol).isReferenced&262144)&&!cF(r.name)}function lF(r,c,_,m){const b=String(m(c)),x=r.get(b);x?x[1].push(_):r.set(b,[c,[_]])}function JRe(r){return wi(tg(r),ea)}function pkt(r){return Lo(r)?Om(r.parent)?!!(r.propertyName&&cF(r.name)):cF(r.name):$f(r)||(bs(r)&&V6(r.parent.parent)||zRe(r))&&cF(r.name)}function URe(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 P of x.declarations)if(!pkt(P))if(zRe(P))lF(_,mkt(P),P,Jo);else if(Lo(P)&&Om(P.parent)){const J=To(P.parent.elements);(P===J||!To(P.parent.elements).dotDotDotToken)&&lF(m,P.parent,P,Jo)}else if(bs(P))lF(b,P.parent,P,Jo);else{const J=x.valueDeclaration&&JRe(x.valueDeclaration),$=x.valueDeclaration&&ia(x.valueDeclaration);J&&$?!Cp(J,J.parent)&&!jT(J)&&!cF($)&&(Lo(P)&&Ow(P.parent)?lF(m,P.parent,P,Jo):c(J,1,ei($,v._0_is_declared_but_its_value_is_never_read,xl(x)))):jRe(P,xl(x),c)}}}),_.forEach(([x,P])=>{const J=x.parent;if((x.name?1:0)+(x.namedBindings?x.namedBindings.kind===273?1:x.namedBindings.elements.length:0)===P.length)c(J,0,P.length===1?ei(J,v._0_is_declared_but_its_value_is_never_read,Zn(Oo(P).name)):ei(J,v.All_imports_in_import_declaration_are_unused));else for(const re of P)jRe(re,Zn(re.name),c)}),m.forEach(([x,P])=>{const J=JRe(x.parent)?1:0;if(x.elements.length===P.length)P.length===1&&x.parent.kind===259&&x.parent.parent.kind===260?lF(b,x.parent.parent,x.parent,Jo):c(x,J,P.length===1?ei(x,v._0_is_declared_but_its_value_is_never_read,uF(Oo(P).name)):ei(x,v.All_destructured_elements_are_unused));else for(const $ of P)c($,J,ei($,v._0_is_declared_but_its_value_is_never_read,uF($.name)))}),b.forEach(([x,P])=>{if(x.declarations.length===P.length)c(x,0,P.length===1?ei(Oo(P).name,v._0_is_declared_but_its_value_is_never_read,uF(Oo(P).name)):ei(x.parent.kind===242?x.parent:x,v.All_variables_are_unused));else for(const J of P)c(J,0,ei(J,v._0_is_declared_but_its_value_is_never_read,uF(J.name)))})}function dkt(){var r;for(const c of Dk)if(!((r=Yn(c))!=null&&r.isReferenced)){const _=F6(c);R.assert(Rx(_),"Only parameter declaration should be checked here");const m=ei(c.name,v._0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation,ac(c.name),ac(c.propertyName));_.type||ho(m,vu(pn(_),_.end,1,v.We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here,ac(c.propertyName))),Do.add(m)}}function uF(r){switch(r.kind){case 80:return Zn(r);case 206:case 205:return uF(Ua(Oo(r.elements),Lo).name);default:return R.assertNever(r)}}function zRe(r){return r.kind===272||r.kind===275||r.kind===273}function mkt(r){return r.kind===272?r:r.kind===273?r.parent:r.parent.parent}function kG(r){if(r.kind===240&&Dy(r),HK(r)){const c=St;te(r.statements,eo),St=c}else te(r.statements,eo);r.locals&&nv(r)}function hkt(r){he>=2||!ree(r)||r.flags&16777216||pl(r.body)||te(r.parameters,c=>{c.name&&!Fa(c.name)&&c.name.escapedText===Lt.escapedName&&l0("noEmit",c,v.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)})}function jN(r,c,_){if((c==null?void 0:c.escapedText)!==_||r.kind===171||r.kind===170||r.kind===173||r.kind===172||r.kind===176||r.kind===177||r.kind===302||r.flags&16777216||(ug(r)||cf(r)||J_(r))&&ET(r))return!1;const m=tg(r);return!(ea(m)&&pl(m.parent.body))}function gkt(r){mn(r,c=>KE(c)&4?(r.kind!==80?rt(ia(r),v.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):rt(r,v.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0):!1)}function ykt(r){mn(r,c=>KE(c)&8?(r.kind!==80?rt(ia(r),v.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):rt(r,v.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0):!1)}function vkt(r,c){if(W>=5&&!(W>=100&&pn(r).impliedNodeFormat===1)||!c||!jN(r,c,"require")&&!jN(r,c,"exports")||Al(r)&&i0(r)!==1)return;const _=jS(r);_.kind===311&&Pp(_)&&l0("noEmit",c,v.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,ac(c),ac(c))}function bkt(r,c){if(!c||he>=4||!jN(r,c,"Promise")||Al(r)&&i0(r)!==1)return;const _=jS(r);_.kind===311&&Pp(_)&&_.flags&2048&&l0("noEmit",c,v.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,ac(c),ac(c))}function Tkt(r,c){he<=8&&(jN(r,c,"WeakMap")||jN(r,c,"WeakSet"))&&Yv.push(r)}function Skt(r){const c=Kh(r);KE(c)&4194304&&(R.assert(bf(r)&&He(r.name)&&typeof r.name.escapedText=="string","The target of a WeakMap/WeakSet collision check should be an identifier"),l0("noEmit",r,v.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,r.name.escapedText))}function xkt(r,c){c&&he>=2&&he<=8&&jN(r,c,"Reflect")&&Zv.push(r)}function kkt(r){let c=!1;if(Gf(r)){for(const _ of r.members)if(KE(_)&8388608){c=!0;break}}else if(_c(r))KE(r)&8388608&&(c=!0);else{const _=Kh(r);_&&KE(_)&8388608&&(c=!0)}c&&(R.assert(bf(r)&&He(r.name),"The target of a Reflect collision check should be an identifier"),l0("noEmit",r,v.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,ac(r.name),"Reflect"))}function s3(r,c){c&&(vkt(r,c),bkt(r,c),Tkt(r,c),xkt(r,c),Ri(r)?(o3(c,v.Class_name_cannot_be_0),r.flags&16777216||Zkt(c)):s2(r)&&o3(c,v.Enum_name_cannot_be_0))}function Ckt(r){if(ph(r)&3||Rx(r)||r.kind===259&&!r.initializer)return;const c=Yn(r);if(c.flags&1){if(!He(r.name))return R.fail();const _=ll(r,r.name.escapedText,3,void 0,void 0,!1);if(_&&_!==c&&_.flags&2&&cme(_)&3){const m=Yb(_.valueDeclaration,260),b=m.parent.kind===242&&m.parent.parent?m.parent.parent:void 0;if(!(b&&(b.kind===240&&Sa(b.parent)||b.kind===267||b.kind===266||b.kind===311))){const P=Xe(_);rt(r,v.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,P,P)}}}}function JN(r){return r===Ut?dt:r===fa?Zi:r}function fF(r){var c;if(oF(r),Lo(r)||eo(r.type),!r.name)return;if(r.name.kind===166&&(Dg(r.name),Px(r)&&r.initializer&&jl(r.initializer)),Lo(r)){if(r.propertyName&&He(r.name)&&Rx(r)&&pl(Wp(r).body)){Dk.push(r);return}Om(r.parent)&&r.dotDotDotToken&&he<5&&ru(r,4),r.propertyName&&r.propertyName.kind===166&&Dg(r.propertyName);const b=r.parent.parent,x=r.dotDotDotToken?64:0,P=DE(b,x),J=r.propertyName||r.name;if(P&&!Fa(J)){const $=P0(J);if(Eg($)){const re=Qm($),oe=$a(P,re);oe&&(GM(oe,void 0,!1),ume(r,!!b.initializer&&b.initializer.kind===108,!1,P,oe))}}}if(Fa(r.name)&&(r.name.kind===206&&he<2&&Q.downlevelIteration&&ru(r,512),te(r.name.elements,eo)),ea(r)&&r.initializer&&pl(Wp(r).body)){rt(r,v.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);return}if(Fa(r.name)){if(Bde(r))return;const b=Px(r)&&r.initializer&&r.parent.parent.kind!==248,x=!Ne(r.name.elements,hB(bu));if(b||x){const P=B2(r);if(b){const J=jl(r.initializer);K&&x?_Fe(J,r):K1(J,B2(r),r,r.initializer)}x&&(Ow(r.name)?M0(65,P,Fe,r):K&&_Fe(P,r))}return}const _=Yn(r);if(_.flags&2097152&&(MT(r)||vTe(r))){AG(r);return}const m=JN(bn(_));if(r===_.valueDeclaration){const b=Px(r)&&s5(r);b&&!(Mn(r)&&jo(b)&&(b.properties.length===0||Kb(r.name))&&((c=_.exports)!=null&&c.size))&&r.parent.parent.kind!==248&&K1(jl(b),m,r,b,void 0),_.declarations&&_.declarations.length>1&&Ne(_.declarations,x=>x!==r&&e4(x)&&!$Re(x,r))&&rt(r.name,v.All_declarations_of_0_must_have_identical_modifiers,ac(r.name))}else{const b=JN(B2(r));!Ro(m)&&!Ro(b)&&!Cy(m,b)&&!(_.flags&67108864)&&VRe(_.valueDeclaration,m,r,b),Px(r)&&r.initializer&&K1(jl(r.initializer),b,r,r.initializer,void 0),_.valueDeclaration&&!$Re(r,_.valueDeclaration)&&rt(r.name,v.All_declarations_of_0_must_have_identical_modifiers,ac(r.name))}r.kind!==171&&r.kind!==170&&(LN(r),(r.kind===259||r.kind===207)&&Ckt(r),s3(r,r.name))}function VRe(r,c,_,m){const b=ia(_),x=_.kind===171||_.kind===170?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,P=ac(b),J=rt(b,x,P,jt(c),jt(m));r&&ho(J,ei(r,v._0_was_also_declared_here,P))}function $Re(r,c){if(r.kind===168&&c.kind===259||r.kind===259&&c.kind===168)return!0;if(cw(r)!==cw(c))return!1;const _=888;return mw(r,_)===mw(c,_)}function Kme(r){var c,_;(c=qi)==null||c.push(qi.Phase.Check,"checkVariableDeclaration",{kind:r.kind,pos:r.pos,end:r.end,path:r.tracingPath}),oEt(r),fF(r),(_=qi)==null||_.pop()}function wkt(r){return iEt(r),fF(r)}function Ekt(r){!Ig(r)&&!khe(r.declarationList)&&cEt(r),te(r.declarationList.declarations,eo)}function Akt(r){Dy(r),Bs(r.expression)}function Pkt(r){Dy(r);const c=a3(r.expression);ehe(r.expression,c,r.thenStatement),eo(r.thenStatement),r.thenStatement.kind===241&&rt(r.thenStatement,v.The_body_of_an_if_statement_cannot_be_the_empty_statement),eo(r.elseStatement)}function ehe(r,c,_){if(!K)return;m(r,_);function m(x,P){for(x=Tc(x),b(x,P);Bn(x)&&(x.operatorToken.kind===57||x.operatorToken.kind===61);)x=Tc(x.left),b(x,P)}function b(x,P){const J=L5(x)?Tc(x.right):x;if(Xg(J))return;if(L5(J)){m(J,P);return}const $=J===x?c:a3(J),re=ai(J)&&dRe(J.expression);if(!(Ff($)&4194304)||re)return;const oe=Ca($,0),Ee=!!MN($);if(oe.length===0&&!Ee)return;const Le=He(J)?J:ai(J)?J.name:void 0,We=Le&&Wd(Le);if(!We&&!Ee)return;We&&Bn(x.parent)&&Nkt(x.parent,We)||We&&P&&Dkt(x,P,Le,We)||(Ee?A1(J,!0,v.This_condition_will_always_return_true_since_this_0_is_always_defined,Di($)):rt(J,v.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead))}}function Dkt(r,c,_,m){return!!_a(c,function b(x){if(He(x)){const P=Wd(x);if(P&&P===m){if(He(r)||He(_)&&Bn(_.parent))return!0;let J=_.parent,$=x.parent;for(;J&&$;){if(He(J)&&He($)||J.kind===110&&$.kind===110)return Wd(J)===Wd($);if(ai(J)&&ai($)){if(Wd(J.name)!==Wd($.name))return!1;$=$.expression,J=J.expression}else if(Ra(J)&&Ra($))$=$.expression,J=J.expression;else return!1}}}return _a(x,b)})}function Nkt(r,c){for(;Bn(r)&&r.operatorToken.kind===56;){if(_a(r.right,function m(b){if(He(b)){const x=Wd(b);if(x&&x===c)return!0}return _a(b,m)}))return!0;r=r.parent}return!1}function Ikt(r){Dy(r),eo(r.statement),a3(r.expression)}function Okt(r){Dy(r),a3(r.expression),eo(r.statement)}function the(r,c){return r.flags&16384&&rt(c,v.An_expression_of_type_void_cannot_be_tested_for_truthiness),r}function a3(r,c){return the(Bs(r,c),r)}function Lkt(r){Dy(r)||r.initializer&&r.initializer.kind===260&&khe(r.initializer),r.initializer&&(r.initializer.kind===260?te(r.initializer.declarations,Kme):Bs(r.initializer)),r.condition&&a3(r.condition),r.incrementor&&Bs(r.incrementor),eo(r.statement),r.locals&&nv(r)}function Mkt(r){jBe(r);const c=Ij(r);if(r.awaitModifier?c&&al(c)?Fr(r.awaitModifier,v.For_await_loops_cannot_be_used_inside_a_class_static_block):(Fu(c)&6)===2&&he<99&&ru(r,16384):Q.downlevelIteration&&he<2&&ru(r,256),r.initializer.kind===260)qRe(r);else{const _=r.initializer,m=_F(r);if(_.kind===208||_.kind===209)ex(_,m||se);else{const b=Bs(_);NN(_,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&&K1(m,b,_,r.expression)}}eo(r.statement),r.locals&&nv(r)}function Fkt(r){jBe(r);const c=fme(Bs(r.expression));if(r.initializer.kind===260){const _=r.initializer.declarations[0];_&&Fa(_.name)&&rt(_.name,v.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),qRe(r)}else{const _=r.initializer,m=Bs(_);_.kind===208||_.kind===209?rt(_,v.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):lo(x1t(c),m)?NN(_,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):rt(_,v.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}(c===Vt||!Au(c,126091264))&&rt(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,jt(c)),eo(r.statement),r.locals&&nv(r)}function qRe(r){const c=r.initializer;if(c.declarations.length>=1){const _=c.declarations[0];Kme(_)}}function _F(r){const c=r.awaitModifier?15:13;return M0(c,YA(r.expression),Fe,r.expression)}function M0(r,c,_,m){return qo(c)?c:rhe(r,c,_,m,!0)||dt}function rhe(r,c,_,m,b){const x=(r&2)!==0;if(c===Vt){ohe(m,c,x);return}const P=he>=2,J=!P&&Q.downlevelIteration,$=Q.noUncheckedIndexedAccess&&!!(r&128);if(P||J||x){const gt=wG(c,r,P?m:void 0);if(b&&gt){const $t=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;$t&&D_(_,gt.nextType,m,$t)}if(gt||P)return $?TN(gt&&gt.yieldType):gt&&gt.yieldType}let re=c,oe=!1,Ee=!1;if(r&4){if(re.flags&1048576){const gt=c.types,$t=gr(gt,Vr=>!(Vr.flags&402653316));$t!==gt&&(re=Ti($t,2))}else re.flags&402653316&&(re=Vt);if(Ee=re!==c,Ee&&(he<1&&m&&(rt(m,v.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),oe=!0),re.flags&131072))return $?TN(L):L}if(!ev(re)){if(m&&!oe){const gt=!!(r&4)&&!Ee,[$t,Vr]=We(gt,J);A1(m,Vr&&!!MN(re),$t,jt(re))}return Ee?$?TN(L):L:void 0}const Le=E0(re,Se);if(Ee&&Le)return Le.flags&402653316&&!Q.noUncheckedIndexedAccess?L:Ti($?[Le,L,Fe]:[Le,L],2);return r&128?TN(Le):Le;function We(gt,$t){var Vr;return $t?gt?[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]:nhe(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]:Rkt((Vr=c.symbol)==null?void 0:Vr.escapedName)?[v.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0]:gt?[v.Type_0_is_not_an_array_type_or_a_string_type,!0]:[v.Type_0_is_not_an_array_type,!0]}}function Rkt(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 nhe(r,c,_,m){if(qo(_))return;const b=wG(_,r,m);return b&&b[Qwe(c)]}function F0(r=Vt,c=Vt,_=mt){if(r.flags&67359327&&c.flags&180227&&_.flags&180227){const m=wd([r,c,_]);let b=Je.get(m);return b||(b={yieldType:r,returnType:c,nextType:_},Je.set(m,b)),b}return{yieldType:r,returnType:c,nextType:_}}function WRe(r){let c,_,m;for(const b of r)if(!(b===void 0||b===Et)){if(b===Rt)return Rt;c=zr(c,b.yieldType),_=zr(_,b.returnType),m=zr(m,b.nextType)}return c||_||m?F0(c&&Ti(c),_&&Ti(_),m&&co(m)):Et}function CG(r,c){return r[c]}function Ng(r,c,_){return r[c]=_}function wG(r,c,_){var m,b;if(qo(r))return Rt;if(!(r.flags&1048576)){const re=_?{errors:void 0}:void 0,oe=HRe(r,c,_,re);if(oe===Et){if(_){const Ee=ohe(_,r,!!(c&2));re!=null&&re.errors&&ho(Ee,...re.errors)}return}else if((m=re==null?void 0:re.errors)!=null&&m.length)for(const Ee of re.errors)Do.add(Ee);return oe}const x=c&2?"iterationTypesOfAsyncIterable":"iterationTypesOfIterable",P=CG(r,x);if(P)return P===Et?void 0:P;let J;for(const re of r.types){const oe=_?{errors:void 0}:void 0,Ee=HRe(re,c,_,oe);if(Ee===Et){if(_){const Le=ohe(_,r,!!(c&2));oe!=null&&oe.errors&&ho(Le,...oe.errors)}Ng(r,x,Et);return}else if((b=oe==null?void 0:oe.errors)!=null&&b.length)for(const Le of oe.errors)Do.add(Le);J=zr(J,Ee)}const $=J?WRe(J):Et;return Ng(r,x,$),$===Et?void 0:$}function ihe(r,c){if(r===Et)return Et;if(r===Rt)return Rt;const{yieldType:_,returnType:m,nextType:b}=r;return c&&Fpe(!0),F0(tx(_,c)||dt,tx(m,c)||dt,b)}function HRe(r,c,_,m){if(qo(r))return Rt;let b=!1;if(c&2){const x=she(r,hi)||XRe(r,hi);if(x)if(x===Et&&_)b=!0;else return c&8?ihe(x,_):x}if(c&1){let x=she(r,di)||XRe(r,di);if(x)if(x===Et&&_)b=!0;else if(c&2){if(x!==Et)return x=ihe(x,_),b?x:Ng(r,"iterationTypesOfAsyncIterable",x)}else return x}if(c&2){const x=ahe(r,hi,_,m,b);if(x!==Et)return x}if(c&1){let x=ahe(r,di,_,m,b);if(x!==Et)return c&2?(x=ihe(x,_),b?x:Ng(r,"iterationTypesOfAsyncIterable",x)):x}return Et}function she(r,c){return CG(r,c.iterableCacheKey)}function GRe(r,c){const _=she(r,c)||ahe(r,c,void 0,void 0,!1);return _===Et?Wn:_}function XRe(r,c){let _;if(vb(r,_=c.getGlobalIterableType(!1))||vb(r,_=c.getGlobalIterableIteratorType(!1))){const[m]=cc(r),{returnType:b,nextType:x}=GRe(_,c);return Ng(r,c.iterableCacheKey,F0(c.resolveIterationType(m,void 0)||m,c.resolveIterationType(b,void 0)||b,x))}if(vb(r,c.getGlobalGeneratorType(!1))){const[m,b,x]=cc(r);return Ng(r,c.iterableCacheKey,F0(c.resolveIterationType(m,void 0)||m,c.resolveIterationType(b,void 0)||b,x))}}function Bkt(r){const c=R9e(!1),_=c&&Ll(bn(c),$c(r));return _&&Eg(_)?Qm(_):`__@${r}`}function ahe(r,c,_,m,b){const x=$a(r,Bkt(c.iteratorSymbolName)),P=x&&!(x.flags&16777216)?bn(x):void 0;if(qo(P))return b?Rt:Ng(r,c.iterableCacheKey,Rt);const J=P?Ca(P,0):void 0;if(!Ne(J))return b?Et:Ng(r,c.iterableCacheKey,Et);const $=co(qt(J,Vo)),re=QRe($,c,_,m,b)??Et;return b?re:Ng(r,c.iterableCacheKey,re)}function ohe(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=!!MN(c)||!_&&bO(r.parent)&&r.parent.expression===r&&uH(!1)!==Ns&&lo(c,uH(!1));return A1(r,b,m,jt(c))}function jkt(r,c,_,m){return QRe(r,c,_,m,!1)}function QRe(r,c,_,m,b){if(qo(r))return Rt;let x=YRe(r,c)||Jkt(r,c);return x===Et&&_&&(x=void 0,b=!0),x??(x=KRe(r,c,_,m,b)),x===Et?void 0:x}function YRe(r,c){return CG(r,c.iteratorCacheKey)}function Jkt(r,c){const _=c.getGlobalIterableIteratorType(!1);if(vb(r,_)){const[m]=cc(r),b=YRe(_,c)||KRe(_,c,void 0,void 0,!1),{returnType:x,nextType:P}=b===Et?Wn:b;return Ng(r,c.iteratorCacheKey,F0(m,x,P))}if(vb(r,c.getGlobalIteratorType(!1))||vb(r,c.getGlobalGeneratorType(!1))){const[m,b,x]=cc(r);return Ng(r,c.iteratorCacheKey,F0(m,b,x))}}function ZRe(r,c){const _=Ll(r,"done")||ke;return lo(c===0?ke:Te,_)}function Ukt(r){return ZRe(r,0)}function zkt(r){return ZRe(r,1)}function Vkt(r){if(qo(r))return Rt;const c=CG(r,"iterationTypesOfIteratorResult");if(c)return c;if(vb(r,R0t(!1))){const P=cc(r)[0];return Ng(r,"iterationTypesOfIteratorResult",F0(P,void 0,void 0))}if(vb(r,B0t(!1))){const P=cc(r)[0];return Ng(r,"iterationTypesOfIteratorResult",F0(void 0,P,void 0))}const _=tu(r,Ukt),m=_!==Vt?Ll(_,"value"):void 0,b=tu(r,zkt),x=b!==Vt?Ll(b,"value"):void 0;return!m&&!x?Ng(r,"iterationTypesOfIteratorResult",Et):Ng(r,"iterationTypesOfIteratorResult",F0(m,x||ht,void 0))}function che(r,c,_,m,b){var x,P,J,$;const re=$a(r,_);if(!re&&_!=="next")return;const oe=re&&!(_==="next"&&re.flags&16777216)?_==="next"?bn(re):Ed(bn(re),2097152):void 0;if(qo(oe))return _==="next"?Rt:In;const Ee=oe?Ca(oe,0):ft;if(Ee.length===0){if(m){const Sr=_==="next"?c.mustHaveANextMethodDiagnostic:c.mustBeAMethodDiagnostic;b?(b.errors??(b.errors=[]),b.errors.push(ei(m,Sr,_))):rt(m,Sr,_)}return _==="next"?Et:void 0}if(oe!=null&&oe.symbol&&Ee.length===1){const Sr=c.getGlobalGeneratorType(!1),Jn=c.getGlobalIteratorType(!1),Pr=((P=(x=Sr.symbol)==null?void 0:x.members)==null?void 0:P.get(_))===oe.symbol,Xr=!Pr&&(($=(J=Jn.symbol)==null?void 0:J.members)==null?void 0:$.get(_))===oe.symbol;if(Pr||Xr){const un=Pr?Sr:Jn,{mapper:yi}=oe;return F0(xb(un.typeParameters[0],yi),xb(un.typeParameters[1],yi),_==="next"?xb(un.typeParameters[2],yi):void 0)}}let Le,We;for(const Sr of Ee)_!=="throw"&&Ne(Sr.parameters)&&(Le=zr(Le,Tm(Sr,0))),We=zr(We,Vo(Sr));let gt,$t;if(_!=="throw"){const Sr=Le?Ti(Le):mt;if(_==="next")$t=Sr;else if(_==="return"){const Jn=c.resolveIterationType(Sr,m)||dt;gt=zr(gt,Jn)}}let Vr;const Zr=We?co(We):Vt,Tn=c.resolveIterationType(Zr,m)||dt,xr=Vkt(Tn);return xr===Et?(m&&(b?(b.errors??(b.errors=[]),b.errors.push(ei(m,c.mustHaveAValueDiagnostic,_))):rt(m,c.mustHaveAValueDiagnostic,_)),Vr=dt,gt=zr(gt,dt)):(Vr=xr.yieldType,gt=zr(gt,xr.returnType)),F0(Vr,Ti(gt),$t)}function KRe(r,c,_,m,b){const x=WRe([che(r,c,"next",_,m),che(r,c,"return",_,m),che(r,c,"throw",_,m)]);return b?x:Ng(r,c.iteratorCacheKey,x)}function rT(r,c,_){if(qo(c))return;const m=eBe(c,_);return m&&m[Qwe(r)]}function eBe(r,c){if(qo(r))return Rt;const _=c?2:1,m=c?hi:di;return wG(r,_,void 0)||jkt(r,m,void 0,void 0)}function $kt(r){Dy(r)||nEt(r)}function pF(r,c){const _=!!(c&1),m=!!(c&2);if(_){const b=rT(1,r,m);return b?m?L0(n3(b)):b:se}return m?L0(r)||se:r}function tBe(r,c){const _=pF(c,Fu(r));return!!(_&&(Yc(_,16384)||_.flags&32769))}function qkt(r){if(Dy(r))return;const c=Ij(r);if(c&&al(c)){Pu(r,v.A_return_statement_cannot_be_used_inside_a_class_static_block);return}if(!c){Pu(r,v.A_return_statement_can_only_be_used_within_a_function_body);return}const _=Zm(c),m=Vo(_),b=Fu(c);if(K||r.expression||m.flags&131072){const x=r.expression?jl(r.expression):Fe;if(c.kind===177)r.expression&&rt(r,v.Setters_cannot_return_a_value);else if(c.kind===175)r.expression&&!K1(x,m,r,r.expression)&&rt(r,v.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);else if(BE(c)){const P=pF(m,b)??m,J=b&2?RN(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):x;P&&K1(J,P,r,r.expression)}}else c.kind!==175&&Q.noImplicitReturns&&!tBe(c,m)&&rt(r,v.Not_all_code_paths_return_a_value)}function Wkt(r){Dy(r)||r.flags&32768&&Pu(r,v.with_statements_are_not_allowed_in_an_async_function_block),Bs(r.expression);const c=pn(r);if(!nT(c)){const _=eg(c,r.pos).start,m=r.statement.pos;iT(c,_,m-_,v.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)}}function Hkt(r){Dy(r);let c,_=!1;const m=Bs(r.expression);te(r.caseBlock.clauses,b=>{b.kind===296&&!_&&(c===void 0?c=b:(Fr(b,v.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),_=!0)),b.kind===295&&n(x(b)),te(b.statements,eo),Q.noFallthroughCasesInSwitch&&b.fallthroughFlowNode&&BM(b.fallthroughFlowNode)&&rt(b,v.Fallthrough_case_in_switch);function x(P){return()=>{const J=Bs(P.expression);Ume(m,J)||LLe(J,m,P.expression,void 0)}}}),r.caseBlock.locals&&nv(r.caseBlock)}function Gkt(r){Dy(r)||mn(r.parent,c=>Sa(c)?"quit":c.kind===255&&c.label.escapedText===r.label.escapedText?(Fr(r.label,v.Duplicate_label_0,iu(r.label)),!0):!1),eo(r.statement)}function Xkt(r){Dy(r)||He(r.expression)&&!r.expression.escapedText&&yEt(r,v.Line_break_not_permitted_here),r.expression&&Bs(r.expression)}function Qkt(r){Dy(r),kG(r.tryBlock);const c=r.catchClause;if(c){if(c.variableDeclaration){const _=c.variableDeclaration;fF(_);const m=Yu(_);if(m){const b=Bi(m);b&&!(b.flags&3)&&Pu(m,v.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified)}else if(_.initializer)Pu(_.initializer,v.Catch_clause_variable_cannot_have_an_initializer);else{const b=c.block.locals;b&&rw(c.locals,x=>{const P=b.get(x);P!=null&&P.valueDeclaration&&P.flags&2&&Fr(P.valueDeclaration,v.Cannot_redeclare_identifier_0_in_catch_clause,xs(x))})}}kG(c.block)}r.finallyBlock&&kG(r.finallyBlock)}function EG(r,c,_){const m=Lf(r);if(m.length===0)return;for(const x of q1(r))_&&x.flags&4194304||rBe(r,x,JA(x,8576,!0),yb(x));const b=c.valueDeclaration;if(b&&Ri(b)){for(const x of b.members)if(!Aa(x)&&!LE(x)){const P=Yn(x);rBe(r,P,Rf(x.name.expression),yb(P))}}if(m.length>1)for(const x of m)Ykt(r,x)}function rBe(r,c,_,m){const b=c.valueDeclaration,x=ia(b);if(x&&fs(x))return;const P=bpe(r,_),J=vi(r)&2?_l(r.symbol,263):void 0,$=b&&b.kind===225||x&&x.kind===166?b:void 0,re=E_(c)===r.symbol?b:void 0;for(const oe of P){const Ee=oe.declaration&&E_(Yn(oe.declaration))===r.symbol?oe.declaration:void 0,Le=re||Ee||(J&&!Ne(ma(r),We=>!!J2(We,c.escapedName)&&!!E0(We,oe.keyType))?J:void 0);if(Le&&!lo(m,oe.type)){const We=Ok(Le,v.Property_0_of_type_1_is_not_assignable_to_2_index_type_3,Xe(c),jt(m),jt(oe.keyType),jt(oe.type));$&&Le!==$&&ho(We,ei($,v._0_is_declared_here,Xe(c))),Do.add(We)}}}function Ykt(r,c){const _=c.declaration,m=bpe(r,c.keyType),b=vi(r)&2?_l(r.symbol,263):void 0,x=_&&E_(Yn(_))===r.symbol?_:void 0;for(const P of m){if(P===c)continue;const J=P.declaration&&E_(Yn(P.declaration))===r.symbol?P.declaration:void 0,$=x||J||(b&&!Ne(ma(r),re=>!!Pg(re,c.keyType)&&!!E0(re,P.keyType))?b:void 0);$&&!lo(c.type,P.type)&&rt($,v._0_index_type_1_is_not_assignable_to_2_index_type_3,jt(c.keyType),jt(c.type),jt(P.keyType),jt(P.type))}}function o3(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":rt(r,c,r.escapedText)}}function Zkt(r){he>=1&&r.escapedText==="Object"&&(W<5||pn(r).impliedNodeFormat===1)&&rt(r,v.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,OB[W])}function Kkt(r){const c=gr(CT(r),Fm);if(!G(c))return;const _=Mn(r),m=new Set,b=new Set;if(te(r.parameters,({name:P},J)=>{He(P)&&m.add(P.escapedText),Fa(P)&&b.add(J)}),xpe(r)){const P=c.length-1,J=c[P];_&&J&&He(J.name)&&J.typeExpression&&J.typeExpression.type&&!m.has(J.name.escapedText)&&!b.has(P)&&!rd(Bi(J.typeExpression.type))&&rt(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,Zn(J.name))}else te(c,({name:P,isNameFirst:J},$)=>{b.has($)||He(P)&&m.has(P.escapedText)||(B_(P)?_&&rt(P,v.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,np(P),np(P.left)):J||fy(_,P,v.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,Zn(P)))})}function dF(r){let c=!1;if(r)for(let m=0;m<r.length;m++){const b=r[m];bRe(b),n(_(b,m))}function _(m,b){return()=>{m.default?(c=!0,eCt(m.default,r,b)):c&&rt(m,v.Required_type_parameters_may_not_follow_optional_type_parameters);for(let x=0;x<b;x++)r[x].symbol===m.symbol&&rt(m.name,v.Duplicate_identifier_0,ac(m.name))}}}function eCt(r,c,_){m(r);function m(b){if(b.kind===182){const x=Ipe(b);if(x.flags&262144)for(let P=_;P<c.length;P++)x.symbol===Yn(c[P])&&rt(b,v.Type_parameter_defaults_can_only_reference_previously_declared_type_parameters)}_a(b,m)}}function nBe(r){if(r.declarations&&r.declarations.length===1)return;const c=ms(r);if(!c.typeParametersChecked){c.typeParametersChecked=!0;const _=cCt(r);if(!_||_.length<=1)return;const m=yc(r);if(!iBe(_,m.localTypeParameters,Tv)){const b=Xe(r);for(const x of _)rt(x.name,v.All_declarations_of_0_must_have_identical_type_parameters,b)}}}function iBe(r,c,_){const m=G(c),b=Dh(c);for(const x of r){const P=_(x),J=P.length;if(J<b||J>m)return!1;for(let $=0;$<J;$++){const re=P[$],oe=c[$];if(re.name.escapedText!==oe.symbol.escapedName)return!1;const Ee=B6(re),Le=Ee&&Bi(Ee),We=If(oe);if(Le&&We&&!Cy(Le,We))return!1;const gt=re.default&&Bi(re.default),$t=zS(oe);if(gt&&$t&&!Cy(gt,$t))return!1}}return!0}function sBe(r){const c=!ye&&he<99&&LT(!1,r),_=he<=9,m=!de||he<9;if(c||_)for(const b of r.members){if(c&&Nee(!1,b,r))return Hu(vv(r))??r;if(_){if(al(b))return b;if(Aa(b)&&(s_(b)||m&&_9(b)))return b}}}function tCt(r){if(r.name)return;const c=hke(r);if(!Gee(c))return;const _=!ye&&he<99;let m;_&&LT(!1,r)?m=Hu(vv(r))??r:m=sBe(r),m&&(ru(m,8388608),(pu(c)||Ia(c)||Lo(c))&&Ho(c.name)&&ru(m,16777216))}function rCt(r){return aBe(r),ZE(r),tCt(r),bn(Yn(r))}function nCt(r){te(r.members,eo),nv(r)}function iCt(r){const c=Ve(r.modifiers,xf);ye&&c&&Ne(r.members,_=>su(_)&&s_(_))&&Fr(c,v.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator),!r.name&&!gi(r,1024)&&Pu(r,v.A_class_declaration_without_the_default_modifier_must_have_a_name),aBe(r),te(r.members,eo),nv(r)}function aBe(r){zwt(r),oF(r),s3(r,r.name),dF(Tv(r)),LN(r);const c=Yn(r),_=yc(c),m=mp(_),b=bn(c);nBe(c),TG(c),bxt(r),!!(r.flags&16777216)||Txt(r);const P=mh(r);if(P){te(P.typeArguments,eo),he<2&&ru(P.parent,1);const re=RT(r);re&&re!==P&&Bs(re.expression);const oe=ma(_);oe.length&&n(()=>{const Ee=oe[0],Le=Kn(_),We=Zf(Le);if(aCt(We,P),eo(P.expression),Ne(P.typeArguments)){te(P.typeArguments,eo);for(const $t of Gr(We,P.typeArguments,P))if(!ERe(P,$t.typeParameters))break}const gt=mp(Ee,_.thisType);if(D_(m,gt,void 0)?D_(b,ELe(We),r.name||r,v.Class_static_side_0_incorrectly_extends_base_class_static_side_1):lBe(r,m,gt,v.Class_0_incorrectly_extends_base_class_1),Le.flags&8650752&&(j2(b)?Ca(Le,1).some(Vr=>Vr.flags&4)&&!gi(r,256)&&rt(r.name||r,v.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract):rt(r.name||r,v.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any)),!(We.symbol&&We.symbol.flags&32)&&!(Le.flags&8650752)){const $t=_i(We,P.typeArguments,P);te($t,Vr=>!rh(Vr.declaration)&&!Cy(Vo(Vr),Ee))&&rt(P.expression,v.Base_constructors_must_all_have_the_same_return_type)}lCt(_,Ee)})}sCt(r,_,m,b);const J=f4(r);if(J)for(const re of J)(!kl(re.expression)||Tf(re.expression))&&rt(re.expression,v.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments),Gme(re),n($(re));n(()=>{EG(_,c),EG(b,c,!0),qme(r),_Ct(r)});function $(re){return()=>{const oe=gm(Bi(re));if(!Ro(oe))if(Vd(oe)){const Ee=oe.symbol&&oe.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,Le=mp(oe,_.thisType);D_(m,Le,void 0)||lBe(r,m,Le,Ee)}else rt(re,v.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members)}}}function sCt(r,c,_,m){const x=mh(r)&&ma(c),P=x!=null&&x.length?mp(Oo(x),c.thisType):void 0,J=Kn(c);for(const $ of r.members)fte($)||(El($)&&te($.parameters,re=>{Cp(re,$)&&oBe(r,m,J,P,c,_,re,!0)}),oBe(r,m,J,P,c,_,$,!1))}function oBe(r,c,_,m,b,x,P,J,$=!0){const re=P.name&&Wd(P.name)||Wd(P);return re?cBe(r,c,_,m,b,x,ute(P),UT(P),Aa(P),J,xl(re),$?P:void 0):0}function cBe(r,c,_,m,b,x,P,J,$,re,oe,Ee){const Le=Mn(r),We=!!(r.flags&16777216);if(m&&(P||Q.noImplicitOverride)){const gt=$c(oe),$t=$?c:x,Vr=$?_:m,Zr=$a($t,gt),Tn=$a(Vr,gt),xr=jt(m);if(Zr&&!Tn&&P){if(Ee){const Sr=bFe(oe,Vr);Sr?rt(Ee,Le?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,xr,Xe(Sr)):rt(Ee,Le?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,xr)}return 2}else if(Zr&&(Tn!=null&&Tn.declarations)&&Q.noImplicitOverride&&!We){const Sr=Ne(Tn.declarations,UT);if(P)return 0;if(Sr){if(J&&Sr)return Ee&&rt(Ee,v.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0,xr),1}else{if(Ee){const Jn=re?Le?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:Le?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;rt(Ee,Jn,xr)}return 1}}}else if(P){if(Ee){const gt=jt(b);rt(Ee,Le?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,gt)}return 2}return 0}function lBe(r,c,_,m){let b=!1;for(const x of r.members){if(Aa(x))continue;const P=x.name&&Wd(x.name)||Wd(x);if(P){const J=$a(c,P.escapedName),$=$a(_,P.escapedName);if(J&&$){const re=()=>ca(void 0,v.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,Xe(P),jt(c),jt(_));D_(bn(J),bn($),x.name||x,void 0,re)||(b=!0)}}}b||D_(c,_,r.name||r,m)}function aCt(r,c){const _=Ca(r,1);if(_.length){const m=_[0].declaration;if(m&&ip(m,8)){const b=Ky(r.symbol);dhe(c,b)||rt(c,v.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,Td(r.symbol))}}}function oCt(r,c,_){if(!c.name)return 0;const m=Yn(r),b=yc(m),x=mp(b),P=bn(m),$=mh(r)&&ma(b),re=$!=null&&$.length?mp(Oo($),b.thisType):void 0,oe=Kn(b),Ee=c.parent?ute(c):gi(c,16384);return cBe(r,P,oe,re,b,x,Ee,UT(c),Aa(c),!1,xl(_))}function YE(r){return ml(r)&1?r.links.target:r}function cCt(r){return gr(r.declarations,c=>c.kind===262||c.kind===263)}function lCt(r,c){var _,m,b,x;const P=zo(c);let J;e:for(const $ of P){const re=YE($);if(re.flags&4194304)continue;const oe=J2(r,re.escapedName);if(!oe)continue;const Ee=YE(oe),Le=pd(re);if(R.assert(!!Ee,"derived should point to something, even if it is the base class' declaration."),Ee===re){const We=Ky(r.symbol);if(Le&256&&(!We||!gi(We,256))){for(const gt of ma(r)){if(gt===c)continue;const $t=J2(gt,re.escapedName),Vr=$t&&YE($t);if(Vr&&Vr!==re)continue e}J||(J=rt(We,v.Non_abstract_class_0_does_not_implement_all_abstract_members_of_1,jt(r),jt(c))),We.kind===230?ho(J,ei($.valueDeclaration??($.declarations&&Oo($.declarations))??We,v.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,Xe($),jt(c))):ho(J,ei($.valueDeclaration??($.declarations&&Oo($.declarations))??We,v.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,jt(r),Xe($),jt(c)))}}else{const We=pd(Ee);if(Le&8||We&8)continue;let gt;const $t=re.flags&98308,Vr=Ee.flags&98308;if($t&&Vr){if((ml(re)&6?(_=re.declarations)!=null&&_.some(xr=>uBe(xr,Le)):(m=re.declarations)!=null&&m.every(xr=>uBe(xr,Le)))||ml(re)&262144||Ee.valueDeclaration&&Bn(Ee.valueDeclaration))continue;const Zr=$t!==4&&Vr===4;if(Zr||$t===4&&Vr!==4){const xr=Zr?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;rt(ia(Ee.valueDeclaration)||Ee.valueDeclaration,xr,Xe(re),jt(c),jt(r))}else if(de){const xr=(b=Ee.declarations)==null?void 0:b.find(Sr=>Sr.kind===171&&!Sr.initializer);if(xr&&!(Ee.flags&33554432)&&!(Le&256)&&!(We&256)&&!((x=Ee.declarations)!=null&&x.some(Sr=>!!(Sr.flags&16777216)))){const Sr=lb(Ky(r.symbol)),Jn=xr.name;if(xr.exclamationToken||!Sr||!He(Jn)||!K||!_Be(Jn,r,Sr)){const Pr=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;rt(ia(Ee.valueDeclaration)||Ee.valueDeclaration,Pr,Xe(re),jt(c))}}}continue}else if(lme(re)){if(lme(Ee)||Ee.flags&4)continue;R.assert(!!(Ee.flags&98304)),gt=v.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor}else re.flags&98304?gt=v.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:gt=v.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;rt(ia(Ee.valueDeclaration)||Ee.valueDeclaration,gt,jt(c),Xe(re),jt(r))}}}function uBe(r,c){return c&256&&(!Ia(r)||!r.initializer)||Xf(r.parent)}function uCt(r,c,_){if(!G(c))return _;const m=new Map;te(_,b=>{m.set(b.escapedName,b)});for(const b of c){const x=zo(mp(b,r.thisType));for(const P of x){const J=m.get(P.escapedName);J&&P.parent===J.parent&&m.delete(P.escapedName)}}return oo(m.values())}function fCt(r,c){const _=ma(r);if(_.length<2)return!0;const m=new Map;te(tpe(r).declaredProperties,x=>{m.set(x.escapedName,{prop:x,containingType:r})});let b=!0;for(const x of _){const P=zo(mp(x,r.thisType));for(const J of P){const $=m.get(J.escapedName);if(!$)m.set(J.escapedName,{prop:J,containingType:x});else if($.containingType!==r&&!Dvt($.prop,J)){b=!1;const oe=jt($.containingType),Ee=jt(x);let Le=ca(void 0,v.Named_property_0_of_types_1_and_2_are_not_identical,Xe(J),oe,Ee);Le=ca(Le,v.Interface_0_cannot_simultaneously_extend_types_1_and_2,jt(r),oe,Ee),Do.add(Hy(pn(c),c,Le))}}}return b}function _Ct(r){if(!K||!xe||r.flags&16777216)return;const c=lb(r);for(const _ of r.members)if(!(Wf(_)&2)&&!Aa(_)&&fBe(_)){const m=_.name;if(He(m)||fs(m)||Ho(m)){const b=bn(Yn(_));b.flags&3||zA(b)||(!c||!_Be(m,b,c))&&rt(_.name,v.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,ac(m))}}}function fBe(r){return r.kind===171&&!UT(r)&&!r.exclamationToken&&!r.initializer}function pCt(r,c,_,m,b){for(const x of _)if(x.pos>=m&&x.pos<=b){const P=V.createPropertyAccessExpression(V.createThis(),r);ko(P.expression,P),ko(P,x),P.flowNode=x.returnFlowNode;const J=rv(P,c,I0(c));if(!zA(J))return!0}return!1}function _Be(r,c,_){const m=Ho(r)?V.createElementAccessExpression(V.createThis(),r.expression):V.createPropertyAccessExpression(V.createThis(),r);ko(m.expression,m),ko(m,_),m.flowNode=_.returnFlowNode;const b=rv(m,c,I0(c));return!zA(b)}function dCt(r){Ig(r)||Xwt(r),dF(r.typeParameters),n(()=>{o3(r.name,v.Interface_name_cannot_be_0),LN(r);const c=Yn(r);nBe(c);const _=_l(c,263);if(r===_){const m=yc(c),b=mp(m);if(fCt(m,r.name)){for(const x of ma(m))D_(b,mp(x,m.thisType),r.name,v.Interface_0_incorrectly_extends_interface_1);EG(m,c)}}xRe(r)}),te(IP(r),c=>{(!kl(c.expression)||Tf(c.expression))&&rt(c.expression,v.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments),Gme(c)}),te(r.members,eo),n(()=>{qme(r),nv(r)})}function mCt(r){Ig(r),o3(r.name,v.Type_alias_name_cannot_be_0),LN(r),dF(r.typeParameters),r.type.kind===141?(!l9.has(r.name.escapedText)||G(r.typeParameters)!==1)&&rt(r.type,v.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types):(eo(r.type),nv(r))}function pBe(r){const c=mi(r);if(!(c.flags&1024)){c.flags|=1024;let _=0;for(const m of r.members){const b=hCt(m,_);mi(m).enumMemberValue=b,_=typeof b=="number"?b+1:void 0}}}function hCt(r,c){if(QI(r.name))rt(r.name,v.Computed_property_names_are_not_allowed_in_enums);else{const _=Q6(r.name);ey(_)&&!aD(_)&&rt(r.name,v.An_enum_member_cannot_have_a_numeric_name)}if(r.initializer)return gCt(r);if(!(r.parent.flags&16777216&&!IT(r.parent))){if(c!==void 0)return c;rt(r.name,v.Enum_member_must_have_initializer)}}function gCt(r){const c=IT(r.parent),_=r.initializer,m=c3(_,r);return m!==void 0?c&&typeof m=="number"&&!isFinite(m)&&rt(_,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?rt(_,v.const_enum_member_initializers_must_be_constant_expressions):r.parent.flags&16777216?rt(_,v.In_ambient_enum_declarations_member_initializer_must_be_constant_expression):D_(Bs(_),Se,_,v.Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values),m}function c3(r,c){switch(r.kind){case 223:const _=c3(r.operand,c);if(typeof _=="number")switch(r.operator){case 40:return _;case 41:return-_;case 55:return~_}break;case 225:const m=c3(r.left,c),b=c3(r.right,c);if(typeof m=="number"&&typeof b=="number")switch(r.operatorToken.kind){case 52:return m|b;case 51:return m&b;case 49:return m>>b;case 50:return m>>>b;case 48:return m<<b;case 53:return m^b;case 42:return m*b;case 44:return m/b;case 40:return m+b;case 41:return m-b;case 45:return m%b;case 43:return m**b}else if((typeof m=="string"||typeof m=="number")&&(typeof b=="string"||typeof b=="number")&&r.operatorToken.kind===40)return""+m+b;break;case 11:case 15:return r.text;case 227:return yCt(r,c);case 9:return Che(r),+r.text;case 216:return c3(r.expression,c);case 80:if(aD(r.escapedText))return+r.escapedText;case 210:if(kl(r)){const P=rl(r,111551,!0);if(P){if(P.flags&8)return dBe(r,P,c);if(XA(P)){const J=P.valueDeclaration;if(J&&!J.type&&J.initializer&&J!==c&&_0(J,c))return c3(J.initializer,J)}}}break;case 211:const x=r.expression;if(kl(x)&&Yo(r.argumentExpression)){const P=rl(x,111551,!0);if(P&&P.flags&384){const J=$c(r.argumentExpression.text),$=P.exports.get(J);if($)return dBe(r,$,c)}}break}}function dBe(r,c,_){const m=c.valueDeclaration;if(!m||m===_){rt(r,v.Property_0_is_used_before_being_assigned,Xe(c));return}return _0(m,_)?FG(m):(rt(r,v.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums),0)}function yCt(r,c){let _=r.head.text;for(const m of r.templateSpans){const b=c3(m.expression,c);if(b===void 0)return;_+=b,_+=m.literal.text}return _}function vCt(r){n(()=>bCt(r))}function bCt(r){Ig(r),s3(r,r.name),LN(r),r.members.forEach(TCt),pBe(r);const c=Yn(r),_=_l(c,r.kind);if(r===_){if(c.declarations&&c.declarations.length>1){const b=IT(r);te(c.declarations,x=>{s2(x)&&IT(x)!==b&&rt(ia(x),v.Enum_declarations_must_all_be_const_or_non_const)})}let m=!1;te(c.declarations,b=>{if(b.kind!==265)return!1;const x=b;if(!x.members.length)return!1;const P=x.members[0];P.initializer||(m?rt(P.name,v.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):m=!0)})}}function TCt(r){fs(r.name)&&rt(r,v.An_enum_member_cannot_be_named_with_a_private_identifier),r.initializer&&Bs(r.initializer)}function SCt(r){const c=r.declarations;if(c){for(const _ of c)if((_.kind===262||_.kind===261&&Pd(_.body))&&!(_.flags&16777216))return _}}function xCt(r,c){const _=Kh(r),m=Kh(c);return fp(_)?fp(m):fp(m)?!1:_===m}function kCt(r){r.body&&(eo(r.body),dh(r)||nv(r)),n(c);function c(){var _,m;const b=dh(r),x=r.flags&16777216;b&&!x&&rt(r.name,v.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context);const P=$f(r),J=P?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(mF(r,J))return;Ig(r)||!x&&r.name.kind===11&&Fr(r.name,v.Only_ambient_modules_can_use_quoted_names),He(r.name)&&s3(r,r.name),LN(r);const $=Yn(r);if($.flags&512&&!x&&yie(r,zx(Q))){if(Nm(Q)&&!pn(r).externalModuleIndicator&&rt(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,Xt),((_=$.declarations)==null?void 0:_.length)>1){const re=SCt($);re&&(pn(r)!==pn(re)?rt(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&&rt(r.name,v.A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged));const oe=_l($,262);oe&&xCt(r,oe)&&(mi(r).flags|=2048)}if(Q.verbatimModuleSyntax&&r.parent.kind===311&&(W===1||r.parent.impliedNodeFormat===1)){const re=(m=r.modifiers)==null?void 0:m.find(oe=>oe.kind===95);re&&rt(re,v.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled)}}if(P)if(DT(r)){if((b||Yn(r).flags&33554432)&&r.body)for(const oe of r.body.statements)lhe(oe,b)}else fp(r.parent)?b?rt(r.name,v.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):Lu(em(r.name))&&rt(r.name,v.Ambient_module_declaration_cannot_specify_relative_module_name):b?rt(r.name,v.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):rt(r.name,v.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces)}}function lhe(r,c){switch(r.kind){case 242:for(const m of r.declarationList.declarations)lhe(m,c);break;case 276:case 277:Pu(r,v.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 270:case 271:Pu(r,v.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 207:case 259:const _=r.name;if(Fa(_)){for(const m of _.elements)lhe(m,c);break}case 262:case 265:case 261:case 263:case 266:case 264:if(c)return;break}}function CCt(r){switch(r.kind){case 80:return r;case 165:do r=r.left;while(r.kind!==80);return r;case 210:do{if(Xg(r.expression)&&!fs(r.name))return r.name;r=r.expression}while(r.kind!==80);return r}}function uhe(r){const c=a4(r);if(!c||pl(c))return!1;if(!yo(c))return rt(c,v.String_literal_expected),!1;const _=r.parent.kind===267&&$f(r.parent.parent);if(r.parent.kind!==311&&!_)return rt(c,r.kind===277?v.Export_declarations_are_not_permitted_in_a_namespace:v.Import_declarations_in_a_namespace_cannot_reference_a_module),!1;if(_&&Lu(c.text)&&!fb(r))return rt(r,v.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name),!1;if(!cf(r)&&r.assertClause){let m=!1;for(const b of r.assertClause.elements)yo(b.value)||(m=!0,rt(b.value,v.Import_assertion_values_must_be_string_literal_expressions));return!m}return!0}function AG(r){var c,_,m,b;let x=Yn(r);const P=ef(x);if(P!==qr){if(x=Fo(x.exportSymbol||x),Mn(r)&&!(P.flags&111551)&&!ET(r)){const re=ZC(r)?r.propertyName||r.name:bf(r)?r.name:r;if(R.assert(r.kind!==279),r.kind===280){const oe=rt(re,v.Types_cannot_appear_in_export_declarations_in_JavaScript_files),Ee=(_=(c=pn(r).symbol)==null?void 0:c.exports)==null?void 0:_.get((r.propertyName||r.name).escapedText);if(Ee===P){const Le=(m=Ee.declarations)==null?void 0:m.find($6);Le&&ho(oe,ei(Le,v._0_is_automatically_exported_here,xs(Ee.escapedName)))}}else{R.assert(r.kind!==259);const oe=mn(r,Wh(ju,cf)),Ee=(oe&&((b=p5(oe))==null?void 0:b.text))??"...",Le=xs(He(re)?re.escapedText:x.escapedName);rt(re,v._0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation,Le,`import("${Ee}").${Le}`)}return}const J=p_(P),$=(x.flags&1160127?111551:0)|(x.flags&788968?788968:0)|(x.flags&1920?1920:0);if(J&$){const re=r.kind===280?v.Export_declaration_conflicts_with_exported_declaration_of_0:v.Import_declaration_conflicts_with_local_declaration_of_0;rt(r,re,Xe(x))}if(Nm(Q)&&!ET(r)&&!(r.flags&16777216)){const re=_f(x),oe=!(J&111551);if(oe||re)switch(r.kind){case 272:case 275:case 270:{if(Q.preserveValueImports||Q.verbatimModuleSyntax){R.assertIsDefined(r.name,"An ImportClause with a symbol should have a name");const Ee=Q.verbatimModuleSyntax&&i4(r)?v.An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:oe?Q.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:Q.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,Le=Zn(r.kind===275&&r.propertyName||r.name);kS(rt(r,Ee,Le),oe?void 0:re,Le)}oe&&r.kind===270&&ip(r,1)&&rt(r,v.Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled,Xt);break}case 280:if(Q.verbatimModuleSyntax||pn(re)!==pn(r)){const Ee=Zn(r.propertyName||r.name),Le=oe?rt(r,v.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type,Xt):rt(r,v._0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled,Ee,Xt);kS(Le,oe?void 0:re,Ee);break}}Q.verbatimModuleSyntax&&r.kind!==270&&!Mn(r)&&(W===1||pn(r).impliedNodeFormat===1)&&rt(r,v.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled)}if(J_(r)){const re=fhe(x,r);u0(re)&&re.declarations&&yl(r,re.declarations,re.escapedName)}}}function fhe(r,c){if(!(r.flags&2097152)||u0(r)||!pp(r))return r;const _=ef(r);if(_===qr)return _;for(;r.flags&2097152;){const m=nme(r);if(m){if(m===_)break;if(m.declarations&&G(m.declarations))if(u0(m)){yl(c,m.declarations,m.escapedName);break}else{if(r===_)break;r=m}}else break}return _}function PG(r){s3(r,r.name),AG(r),r.kind===275&&Zn(r.propertyName||r.name)==="default"&&sg(Q)&&W!==4&&(W<5||pn(r).impliedNodeFormat===1)&&ru(r,131072)}function mBe(r){var c;if(r.assertClause){const _=_se(r),m=qw(r.assertClause,_?Fr:void 0);if(_&&m)return D5()||Fr(r.assertClause,v.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next),wl(Q)!==3&&wl(Q)!==99?Fr(r.assertClause,v.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext):void 0;if((W===199&&r.moduleSpecifier&&nb(r.moduleSpecifier))!==99&&W!==99)return Fr(r.assertClause,W===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(ju(r)?(c=r.importClause)!=null&&c.isTypeOnly:r.isTypeOnly)return Fr(r.assertClause,v.Import_assertions_cannot_be_used_with_type_only_imports_or_exports);if(m)return Fr(r.assertClause,v.resolution_mode_can_only_be_set_for_type_only_imports)}}function wCt(r){if(!mF(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(!Ig(r)&&iJ(r)&&Pu(r,v.An_import_declaration_cannot_have_modifiers),uhe(r)){const c=r.importClause;c&&!bEt(c)&&(c.name&&PG(c),c.namedBindings&&(c.namedBindings.kind===273?(PG(c.namedBindings),W!==4&&(W<5||pn(r).impliedNodeFormat===1)&&sg(Q)&&ru(r,65536)):cu(r,r.moduleSpecifier)&&te(c.namedBindings.elements,PG)))}mBe(r)}}function ECt(r){if(!mF(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)&&(Ig(r),i4(r)||uhe(r)))if(PG(r),gi(r,1)&&$k(r),r.moduleReference.kind!==282){const c=ef(Yn(r));if(c!==qr){const _=p_(c);if(_&111551){const m=Np(r.moduleReference);rl(m,112575).flags&1920||rt(m,v.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,ac(m))}_&788968&&o3(r.name,v.Import_name_cannot_be_0)}r.isTypeOnly&&Fr(r,v.An_import_alias_cannot_use_import_type)}else W>=5&&pn(r).impliedNodeFormat===void 0&&!r.isTypeOnly&&!(r.flags&16777216)&&Fr(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 ACt(r){if(!mF(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(!Ig(r)&&eSe(r)&&Pu(r,v.An_export_declaration_cannot_have_modifiers),r.moduleSpecifier&&r.exportClause&&im(r.exportClause)&&G(r.exportClause.elements)&&he===0&&ru(r,4194304),PCt(r),!r.moduleSpecifier||uhe(r))if(r.exportClause&&!ny(r.exportClause)){te(r.exportClause.elements,MCt);const c=r.parent.kind===267&&$f(r.parent.parent),_=!c&&r.parent.kind===267&&!r.moduleSpecifier&&r.flags&16777216;r.parent.kind!==311&&!c&&!_&&rt(r,v.Export_declarations_are_not_permitted_in_a_namespace)}else{const c=cu(r,r.moduleSpecifier);c&&my(c)?rt(r.moduleSpecifier,v.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,Xe(c)):r.exportClause&&AG(r.exportClause),W!==4&&(W<5||pn(r).impliedNodeFormat===1)&&(r.exportClause?sg(Q)&&ru(r,65536):ru(r,32768))}mBe(r)}}function PCt(r){var c;return r.isTypeOnly&&((c=r.exportClause)==null?void 0:c.kind)===278?WBe(r.exportClause):!1}function mF(r,c){const _=r.parent.kind===311||r.parent.kind===267||r.parent.kind===266;return _||Pu(r,c),!_}function DCt(r){return qj(r,c=>!!Yn(c).isReferenced)}function NCt(r){return qj(r,c=>!!ms(Yn(c)).constEnumReferenced)}function ICt(r){return ju(r)&&r.importClause&&!r.importClause.isTypeOnly&&DCt(r.importClause)&&!MG(r.importClause,!0)&&!NCt(r.importClause)}function OCt(r){return cf(r)&&fg(r.moduleReference)&&!r.isTypeOnly&&Yn(r).isReferenced&&!MG(r,!1)&&!ms(Yn(r)).constEnumReferenced}function LCt(r){if(Ye)for(const c of r.statements)(ICt(c)||OCt(c))&&rt(c,v.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error)}function MCt(r){if(AG(r),rm(Q)&&yy(r.propertyName||r.name,!0),r.parent.parent.moduleSpecifier)sg(Q)&&W!==4&&(W<5||pn(r).impliedNodeFormat===1)&&Zn(r.propertyName||r.name)==="default"&&ru(r,131072);else{const c=r.propertyName||r.name,_=ll(c,c.escapedText,2998271,void 0,void 0,!0);if(_&&(_===je||_===_t||_.declarations&&fp(jS(_.declarations[0]))))rt(c,v.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,Zn(c));else{!r.isTypeOnly&&!r.parent.parent.isTypeOnly&&$k(r);const m=_&&(_.flags&2097152?ef(_):_);(!m||p_(m)&111551)&&jl(r.propertyName||r.name)}}}function FCt(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(mF(r,c))return;const _=r.parent.kind===311?r.parent:r.parent.parent;if(_.kind===266&&!$f(_)){r.isExportEquals?rt(r,v.An_export_assignment_cannot_be_used_in_a_namespace):rt(r,v.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);return}!Ig(r)&&iJ(r)&&Pu(r,v.An_export_assignment_cannot_have_modifiers);const m=Yu(r);m&&D_(jl(r.expression),Bi(m),r.expression);const b=!r.isExportEquals&&!(r.flags&16777216)&&Q.verbatimModuleSyntax&&(W===1||pn(r).impliedNodeFormat===1);if(r.expression.kind===80){const x=r.expression,P=Ud(rl(x,67108863,!0,!0,r));P?(QH(P,x),p_(P)&111551?(jl(x),!b&&!(r.flags&16777216)&&Q.verbatimModuleSyntax&&_f(P,111551)&&rt(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,Zn(x))):!b&&!(r.flags&16777216)&&Q.verbatimModuleSyntax&&rt(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,Zn(x))):jl(x),rm(Q)&&yy(x,!0)}else jl(r.expression);b&&rt(r,v.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled),hBe(_),r.flags&16777216&&!kl(r.expression)&&Fr(r.expression,v.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),r.isExportEquals&&(W>=5&&(r.flags&16777216&&pn(r).impliedNodeFormat===99||!(r.flags&16777216)&&pn(r).impliedNodeFormat!==1)?Fr(r,v.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):W===4&&!(r.flags&16777216)&&Fr(r,v.Export_assignment_is_not_supported_when_module_flag_is_system))}function RCt(r){return rp(r.exports,(c,_)=>_!=="export=")}function hBe(r){const c=Yn(r),_=ms(c);if(!_.exportsChecked){const m=c.exports.get("export=");if(m&&RCt(c)){const x=pp(m)||m.valueDeclaration;x&&!fb(x)&&!Mn(x)&&rt(x,v.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}const b=kg(c);b&&b.forEach(({declarations:x,flags:P},J)=>{if(J==="__export"||P&1920)return;const $=Sn(x,mB(Ywe,hB(Xf)));if(!(P&524288&&$<=2)&&$>1&&!DG(x))for(const re of x)Gwe(re)&&Do.add(ei(re,v.Cannot_redeclare_exported_variable_0,xs(J)))}),_.exportsChecked=!0}}function DG(r){return r&&r.length>1&&r.every(c=>Mn(c)&&jc(c)&&(Lx(c.expression)||Xg(c.expression)))}function eo(r){if(r){const c=B;B=r,O=0,BCt(r),B=c}}function BCt(r){y5(r)&&te(r.jsDoc,({comment:_,tags:m})=>{gBe(_),te(m,b=>{gBe(b.comment),Mn(r)&&eo(b)})});const c=r.kind;if(s)switch(c){case 266:case 262:case 263:case 261:s.throwIfCancellationRequested()}switch(c>=242&&c<=258&&g5(r)&&r.flowNode&&!BM(r.flowNode)&&fy(Q.allowUnreachableCode===!1,r,v.Unreachable_code_detected),c){case 167:return bRe(r);case 168:return TRe(r);case 171:return kRe(r);case 170:return Sxt(r);case 184:case 183:case 178:case 179:case 180:return ON(r);case 173:case 172:return xxt(r);case 174:return kxt(r);case 175:return Cxt(r);case 176:case 177:return wRe(r);case 182:return Gme(r);case 181:return yxt(r);case 185:return Nxt(r);case 186:return Ixt(r);case 187:return Oxt(r);case 188:return Lxt(r);case 191:case 192:return Mxt(r);case 195:case 189:case 190:return eo(r.type);case 196:return jxt(r);case 197:return Jxt(r);case 193:return Uxt(r);case 194:return zxt(r);case 202:return Vxt(r);case 204:return $xt(r);case 201:return qxt(r);case 334:return lkt(r);case 335:return ckt(r);case 352:case 344:case 346:return ekt(r);case 351:return tkt(r);case 350:return rkt(r);case 330:case 331:case 332:return ikt(r);case 347:return skt(r);case 354:return akt(r);case 323:okt(r);case 321:case 320:case 318:case 319:case 328:yBe(r),_a(r,eo);return;case 324:jCt(r);return;case 315:return eo(r.type);case 339:case 341:case 340:return ukt(r);case 356:return nkt(r);case 198:return Fxt(r);case 199:return Rxt(r);case 261:return Kxt(r);case 240:case 267:return kG(r);case 242:return Ekt(r);case 243:return Akt(r);case 244:return Pkt(r);case 245:return Ikt(r);case 246:return Okt(r);case 247:return Lkt(r);case 248:return Fkt(r);case 249:return Mkt(r);case 250:case 251:return $kt(r);case 252:return qkt(r);case 253:return Wkt(r);case 254:return Hkt(r);case 255:return Gkt(r);case 256:return Xkt(r);case 257:return Qkt(r);case 259:return Kme(r);case 207:return wkt(r);case 262:return iCt(r);case 263:return dCt(r);case 264:return mCt(r);case 265:return vCt(r);case 266:return kCt(r);case 271:return wCt(r);case 270:return ECt(r);case 277:return ACt(r);case 276:return FCt(r);case 241:case 258:Dy(r);return;case 281:return Ext(r)}}function gBe(r){ka(r)&&te(r,c=>{tw(c)&&eo(c)})}function yBe(r){if(!Mn(r))if(bU(r)||J4(r)){const c=io(bU(r)?54:58),_=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);Fr(r,_,c,jt(J4(r)&&!(b===Vt||b===ht)?Ti(zr([b,Fe],r.postfix?void 0:Gn)):b))}else Fr(r,v.JSDoc_types_can_only_be_used_inside_documentation_comments)}function jCt(r){yBe(r),eo(r.type);const{parent:c}=r;if(ea(c)&&U4(c.parent)){To(c.parent.parameters)!==c&&rt(r,v.A_rest_parameter_must_be_last_in_a_parameter_list);return}Zx(c)||rt(r,v.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);const _=r.parent.parent;if(!Fm(_)){rt(r,v.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}const m=v5(_);if(!m)return;const b=Qb(_);(!b||To(b.parameters).symbol!==m)&&rt(r,v.A_rest_parameter_must_be_last_in_a_parameter_list)}function JCt(r){const c=Bi(r.type),{parent:_}=r,m=r.parent.parent;if(Zx(r.parent)&&Fm(m)){const b=Qb(m),x=Hre(m.parent.parent);if(b||x){const P=Bc(x?m.parent.parent.typeExpression.parameters:b.parameters),J=v5(m);if(!P||J&&P.symbol===J&&Hg(P))return mf(c)}}return ea(_)&&U4(_.parent)?mf(c):Xa(c)}function ZE(r){const c=pn(r),_=mi(c);_.flags&1?R.assert(!_.deferredNodes,"A type-checked file should have no deferred nodes."):(_.deferredNodes||(_.deferredNodes=new Set),_.deferredNodes.add(r))}function UCt(r){const c=mi(r);c.deferredNodes&&c.deferredNodes.forEach(zCt),c.deferredNodes=void 0}function zCt(r){var c,_;(c=qi)==null||c.push(qi.Phase.Check,"checkDeferredNode",{kind:r.kind,pos:r.pos,end:r.end,path:r.tracingPath});const m=B;switch(B=r,O=0,r.kind){case 212:case 213:case 214:case 169:case 285:GE(r);break;case 217:case 218:case 173:case 172:FSt(r);break;case 176:case 177:wRe(r);break;case 230:nCt(r);break;case 167:gxt(r);break;case 284:H2t(r);break;case 283:X2t(r);break;case 215:case 233:case 216:lSt(r)}B=m,(_=qi)==null||_.pop()}function VCt(r){var c,_;(c=qi)==null||c.push(qi.Phase.Check,"checkSourceFile",{path:r.path},!0),vc("beforeCheck"),$Ct(r),vc("afterCheck"),xp("Check","beforeCheck","afterCheck"),(_=qi)==null||_.pop()}function vBe(r,c){if(c)return!1;switch(r){case 0:return!!Q.noUnusedLocals;case 1:return!!Q.noUnusedParameters;default:return R.assertNever(r)}}function bBe(r){return Vm.get(r.path)||ft}function $Ct(r){const c=mi(r);if(!(c.flags&1)){if(tD(r,Q,e))return;hEt(r),us(hS),us(Qv),us(Yv),us(Zv),us(Dk),te(r.statements,eo),eo(r.endOfFileToken),UCt(r),Pp(r)&&nv(r),n(()=>{!r.isDeclarationFile&&(Q.noUnusedLocals||Q.noUnusedParameters)&&BRe(bBe(r),(_,m,b)=>{!G6(_)&&vBe(m,!!(_.flags&16777216))&&Do.add(b)}),r.isDeclarationFile||dkt()}),Q.importsNotUsedAsValues===2&&!r.isDeclarationFile&&Ul(r)&&LCt(r),Pp(r)&&hBe(r),hS.length&&(te(hS,gkt),us(hS)),Qv.length&&(te(Qv,ykt),us(Qv)),Yv.length&&(te(Yv,Skt),us(Yv)),Zv.length&&(te(Zv,kkt),us(Zv)),c.flags|=1}}function TBe(r,c){try{return s=c,qCt(r)}finally{s=void 0}}function _he(){for(const r of t)r();t=[]}function phe(r){_he();const c=n;n=_=>_(),VCt(r),n=c}function qCt(r){if(r){_he();const c=Do.getGlobalDiagnostics(),_=c.length;phe(r);const m=Do.getDiagnostics(r.fileName),b=Do.getGlobalDiagnostics();if(b!==c){const x=O_(c,b,QP);return wr(x,m)}else if(_===0&&b.length>0)return wr(b,m);return m}return te(e.getSourceFiles(),phe),Do.getDiagnostics()}function WCt(){return _he(),Do.getGlobalDiagnostics()}function HCt(r,c){if(r.flags&33554432)return[];const _=za();let m=!1;return b(),_.delete("this"),Tpe(_);function b(){for(;r;){switch(Qh(r)&&r.locals&&!fp(r)&&P(r.locals,c),r.kind){case 311:if(!Ul(r))break;case 266:J(Yn(r).exports,c&2623475);break;case 265:P(Yn(r).exports,c&8);break;case 230:r.name&&x(r.symbol,c);case 262:case 263:m||P($1(Yn(r)),c&788968);break;case 217:r.name&&x(r.symbol,c);break}uTe(r)&&x(Lt,c),m=Aa(r),r=r.parent}P(et,c)}function x($,re){if(WP($)&re){const oe=$.escapedName;_.has(oe)||_.set(oe,$)}}function P($,re){re&&$.forEach(oe=>{x(oe,re)})}function J($,re){re&&$.forEach(oe=>{!_l(oe,280)&&!_l(oe,279)&&x(oe,re)})}}function GCt(r){return r.kind===80&&w4(r.parent)&&ia(r.parent)===r}function SBe(r){for(;r.parent.kind===165;)r=r.parent;return r.parent.kind===182}function XCt(r){for(;r.parent.kind===210;)r=r.parent;return r.parent.kind===232}function xBe(r,c){let _,m=_u(r);for(;m&&!(_=c(m));)m=_u(m);return _}function QCt(r){return!!mn(r,c=>El(c)&&Pd(c.body)||Ia(c)?!0:Ri(c)||Lc(c)?"quit":!1)}function dhe(r,c){return!!xBe(r,_=>_===c)}function YCt(r){for(;r.parent.kind===165;)r=r.parent;if(r.parent.kind===270)return r.parent.moduleReference===r?r.parent:void 0;if(r.parent.kind===276)return r.parent.expression===r?r.parent:void 0}function NG(r){return YCt(r)!==void 0}function ZCt(r){switch(dl(r.parent.parent)){case 1:case 3:return Up(r.parent);case 4:case 2:case 5:return Yn(r.parent.parent)}}function KCt(r){let c=r.parent;for(;B_(c);)r=c,c=c.parent;if(c&&c.kind===204&&c.qualifier===r)return c}function ewt(r){if(r.expression.kind===110){const c=y_(r,!1,!1);if(Sa(c)){const _=BMe(c);if(_){const m=Eb(_,void 0),b=m&&JMe(m);return b&&!qo(b)}}}}function kBe(r){if(Yy(r))return Up(r.parent);if(Mn(r)&&r.parent.kind===210&&r.parent===r.parent.parent.left&&!fs(r)&&!a2(r)&&!ewt(r.parent)){const c=ZCt(r);if(c)return c}if(r.parent.kind===276&&kl(r)){const c=rl(r,2998271,!0);if(c&&c!==qr)return c}else if(wp(r)&&NG(r)){const c=Yb(r,270);return R.assert(c!==void 0),PS(r,!0)}if(wp(r)){const c=KCt(r);if(c){Bi(c);const _=mi(r).resolvedSymbol;return _===qr?void 0:_}}for(;cSe(r);)r=r.parent;if(XCt(r)){let c=0;r.parent.kind===232?(c=Gg(r)?788968:111551,M5(r.parent)&&(c|=111551)):c=1920,c|=2097152;const _=kl(r)?rl(r,c,!0):void 0;if(_)return _}if(r.parent.kind===347)return v5(r.parent);if(r.parent.kind===167&&r.parent.parent.kind===351){R.assert(!Mn(r));const c=ATe(r.parent);return c&&c.symbol}if(Xy(r)){if(pl(r))return;const c=mn(r,Wh(tw,AD,a2)),_=c?901119:111551;if(r.kind===80){if(n4(r)&&aC(r)){const b=nG(r.parent);return b===qr?void 0:b}const m=rl(r,_,!0,!0,Qb(r));if(!m&&c){const b=mn(r,Wh(Ri,Xf));if(b)return hF(r,!0,Yn(b))}if(m&&c){const b=uw(r);if(b&&KT(b)&&b===m.valueDeclaration)return rl(r,_,!0,!0,pn(b))||m}return m}else{if(fs(r))return aG(r);if(r.kind===210||r.kind===165){const m=mi(r);if(m.resolvedSymbol)return m.resolvedSymbol;if(r.kind===210){if(_me(r,0),!m.resolvedSymbol){const b=jl(r.expression),x=bpe(b,P0(r.name));if(x.length&&b.members){const J=hm(b).members.get("__index");if(x===Lf(b))m.resolvedSymbol=J;else if(J){const $=ms(J),re=lr(x,Ee=>Ee.declaration),oe=qt(re,Jo).join(",");if($.filteredIndexSymbolCache||($.filteredIndexSymbolCache=new Map),$.filteredIndexSymbolCache.has(oe))m.resolvedSymbol=$.filteredIndexSymbolCache.get(oe);else{const Ee=No(131072,"__index");Ee.declarations=lr(x,Le=>Le.declaration),Ee.parent=b.aliasSymbol?b.aliasSymbol:b.symbol?b.symbol:Wd(Ee.declarations[0].parent),$.filteredIndexSymbolCache.set(oe,Ee),m.resolvedSymbol=$.filteredIndexSymbolCache.get(oe)}}}}}else pFe(r,0);return!m.resolvedSymbol&&c&&B_(r)?hF(r):m.resolvedSymbol}else if(a2(r))return hF(r)}}else if(SBe(r)){const c=r.parent.kind===182?788968:1920,_=rl(r,c,!1,!0);return _&&_!==qr?_:aH(r)}if(r.parent.kind===181)return rl(r,1)}function hF(r,c,_){if(wp(r)){let P=rl(r,901119,c,!0,Qb(r));if(!P&&He(r)&&_&&(P=Fo(Eu(Jp(_),r.escapedText,901119))),P)return P}const m=He(r)?_:hF(r.left,c,_),b=He(r)?r.escapedText:r.right.escapedText;if(m){const x=m.flags&111551&&$a(bn(m),"prototype"),P=x?bn(x):yc(m);return $a(P,b)}}function Wd(r,c){if(Cs(r))return Ul(r)?Fo(r.symbol):void 0;const{parent:_}=r,m=_.parent;if(!(r.flags&33554432)){if(Xwe(r)){const b=Yn(_);return ZC(r.parent)&&r.parent.propertyName===r?nme(b):b}else if(S5(r))return Yn(_.parent);if(r.kind===80){if(NG(r))return kBe(r);if(_.kind===207&&m.kind===205&&r===_.propertyName){const b=cC(m),x=$a(b,r.escapedText);if(x)return x}else if(SD(_)&&_.name===r)return _.keywordToken===105&&Zn(r)==="target"?Ime(_).symbol:_.keywordToken===102&&Zn(r)==="meta"?M9e().members.get("meta"):void 0}switch(r.kind){case 80:case 81:case 210:case 165:if(!dw(r))return kBe(r);case 110:const b=y_(r,!1,!1);if(Sa(b)){const J=Zm(b);if(J.thisParameter)return J.thisParameter}if(Rj(r))return Bs(r).symbol;case 196:return hH(r).symbol;case 108:return Bs(r).symbol;case 137:const x=r.parent;return x&&x.kind===175?x.parent.symbol:void 0;case 11:case 15:if(Gb(r.parent.parent)&&AP(r.parent.parent)===r||(r.parent.kind===271||r.parent.kind===277)&&r.parent.moduleSpecifier===r||Mn(r)&&wl(Q)!==100&&M_(r.parent,!1)||Dp(r.parent)||n2(r.parent)&&Hb(r.parent.parent)&&r.parent.parent.argument===r.parent)return cu(r,r,c);if(Ra(_)&&sw(_)&&_.arguments[1]===r)return Yn(_);case 9:const P=Pc(_)?_.argumentExpression===r?Rf(_.expression):void 0:n2(_)&&Iw(m)?Bi(m.objectType):void 0;return P&&$a(P,$c(r.text));case 90:case 100:case 39:case 86:return Up(r.parent);case 204:return Hb(r)?Wd(r.argument.literal,c):void 0;case 95:return Pl(r.parent)?R.checkDefined(r.parent.symbol):void 0;case 102:case 105:return SD(r.parent)?XFe(r.parent).symbol:void 0;case 235:return Bs(r).symbol;case 294:if(n4(r)&&aC(r)){const J=nG(r.parent);return J===qr?void 0:J}default:return}}}function twt(r){if(He(r)&&ai(r.parent)&&r.parent.name===r){const c=P0(r),_=Rf(r.parent.expression),m=_.flags&1048576?_.types:[_];return ln(m,b=>gr(Lf(b),x=>FE(c,x.keyType)))}}function rwt(r){if(r&&r.kind===303)return rl(r.name,2208703)}function nwt(r){return T_(r)?r.parent.parent.moduleSpecifier?k2(r.parent.parent,r):rl(r.propertyName||r.name,2998271):rl(r,2998271)}function cC(r){if(Cs(r)&&!Ul(r)||r.flags&33554432)return se;const c=hte(r),_=c&&h_(Yn(c.class));if(Gg(r)){const m=Bi(r);return _?mp(m,_.thisType):m}if(Xy(r))return CBe(r);if(_&&!c.isImplements){const m=Hu(ma(_));return m?mp(m,_.thisType):se}if(w4(r)){const m=Yn(r);return yc(m)}if(GCt(r)){const m=Wd(r);return m?yc(m):se}if(Lo(r))return df(r,!0,0)||se;if(Sf(r)){const m=Yn(r);return m?bn(m):se}if(Xwe(r)){const m=Wd(r);return m?bn(m):se}if(Fa(r))return df(r.parent,!0,0)||se;if(NG(r)){const m=Wd(r);if(m){const b=yc(m);return Ro(b)?bn(m):b}}return SD(r.parent)&&r.parent.keywordToken===r.kind?XFe(r.parent):se}function IG(r){if(R.assert(r.kind===209||r.kind===208),r.parent.kind===249){const b=_F(r.parent);return ex(r,b||se)}if(r.parent.kind===225){const b=Rf(r.parent.right);return ex(r,b||se)}if(r.parent.kind===302){const b=Ua(r.parent.parent,jo),x=IG(b)||se,P=X6(b.properties,r.parent);return uRe(b,x,P)}const c=Ua(r.parent,Hf),_=IG(c)||se,m=M0(65,_,Fe,r.parent)||se;return fRe(c,_,c.elements.indexOf(r),m)}function iwt(r){const c=IG(Ua(r.parent.parent,yP));return c&&$a(c,r.escapedText)}function CBe(r){return zP(r)&&(r=r.parent),Kf(Rf(r))}function wBe(r){const c=Up(r.parent);return Aa(r)?bn(c):yc(c)}function EBe(r){const c=r.name;switch(c.kind){case 80:return X_(Zn(c));case 9:case 11:return X_(c.text);case 166:const _=Dg(c);return Au(_,12288)?_:L;default:return R.fail("Unsupported property name.")}}function mhe(r){r=Zf(r);const c=za(zo(r)),_=Ca(r,0).length?hc:Ca(r,1).length?Ku:void 0;return _&&te(zo(_),m=>{c.has(m.escapedName)||c.set(m.escapedName,m)}),O2(c)}function OG(r){return Ca(r,0).length!==0||Ca(r,1).length!==0}function ABe(r){const c=swt(r);return c?ln(c,ABe):[r]}function swt(r){if(ml(r)&6)return lr(ms(r).containingType.types,c=>$a(c,r.escapedName));if(r.flags&33554432){const{links:{leftSpread:c,rightSpread:_,syntheticOrigin:m}}=r;return c?[c,_]:m?[m]:yx(awt(r))}}function awt(r){let c,_=r;for(;_=ms(_).target;)c=_;return c}function owt(r){if(il(r))return!1;const c=Gs(r,He);if(!c)return!1;const _=c.parent;return _?!((ai(_)||pu(_))&&_.name===c)&&zN(c)===Lt:!1}function cwt(r){let c=cu(r.parent,r);if(!c||xP(c))return!0;const _=my(c);c=dp(c);const m=ms(c);return m.exportsSomeValue===void 0&&(m.exportsSomeValue=_?!!(c.flags&111551):rp(kg(c),b)),m.exportsSomeValue;function b(x){return x=Qc(x),x&&!!(p_(x)&111551)}}function lwt(r){return cj(r.parent)&&r===r.parent.name}function uwt(r,c){var _;const m=Gs(r,He);if(m){let b=zN(m,lwt(m));if(b){if(b.flags&1048576){const P=Fo(b.exportSymbol);if(!c&&P.flags&944&&!(P.flags&3))return;b=P}const x=E_(b);if(x){if(x.flags&512&&((_=x.valueDeclaration)==null?void 0:_.kind)===311){const P=x.valueDeclaration,J=pn(m);return P!==J?void 0:P}return mn(m.parent,P=>cj(P)&&Yn(P)===x)}}}}function fwt(r){const c=Lxe(r);if(c)return c;const _=Gs(r,He);if(_){const m=kwt(_);if(N1(m,111551)&&!_f(m,111551))return pp(m)}}function _wt(r){return r.valueDeclaration&&Lo(r.valueDeclaration)&&F6(r.valueDeclaration).parent.kind===298}function PBe(r){if(r.flags&418&&r.valueDeclaration&&!Cs(r.valueDeclaration)){const c=ms(r);if(c.isDeclarationWithCollidingName===void 0){const _=Kh(r.valueDeclaration);if(z2e(_)||_wt(r)){const m=mi(r.valueDeclaration);if(ll(_.parent,r.escapedName,111551,void 0,void 0,!1))c.isDeclarationWithCollidingName=!0;else if(m.flags&16384){const b=m.flags&32768,x=xv(_,!1),P=_.kind===240&&xv(_.parent,!1);c.isDeclarationWithCollidingName=!Z2e(_)&&(!b||!x&&!P)}else c.isDeclarationWithCollidingName=!1}}return c.isDeclarationWithCollidingName}return!1}function pwt(r){if(!il(r)){const c=Gs(r,He);if(c){const _=zN(c);if(_&&PBe(_))return _.valueDeclaration}}}function dwt(r){const c=Gs(r,Sf);if(c){const _=Yn(c);if(_)return PBe(_)}return!1}function DBe(r){switch(R.assert(Ye),r.kind){case 270:return LG(Yn(r));case 272:case 273:case 275:case 280:const c=Yn(r);return!!c&&LG(c)&&!_f(c,111551);case 277:const _=r.exportClause;return!!_&&(ny(_)||Ne(_.elements,DBe));case 276:return r.expression&&r.expression.kind===80?LG(Yn(r)):!0}return!1}function mwt(r){const c=Gs(r,cf);return c===void 0||c.parent.kind!==311||!i4(c)?!1:LG(Yn(c))&&c.moduleReference&&!pl(c.moduleReference)}function LG(r){if(!r)return!1;const c=Ud(ef(r));return c===qr?!0:!!((p_(c)??-1)&111551)&&(zx(Q)||!UN(c))}function UN(r){return Jme(r)||!!r.constEnumOnlyModule}function MG(r,c){if(R.assert(Ye),x2(r)){const _=Yn(r),m=_&&ms(_);if(m!=null&&m.referenced)return!0;const b=ms(_).aliasTarget;if(b&&Wf(r)&1&&p_(b)&111551&&(zx(Q)||!UN(b)))return!0}return c?!!_a(r,_=>MG(_,c)):!1}function NBe(r){if(Pd(r.body)){if(kv(r)||i1(r))return!1;const c=Yn(r),_=U2(c);return _.length>1||_.length===1&&_[0].declaration!==r}return!1}function IBe(r){return!!K&&!rN(r)&&!Fm(r)&&!!r.initializer&&!gi(r,16476)}function hwt(r){return K&&rN(r)&&!r.initializer&&gi(r,16476)}function gwt(r){const c=Gs(r,au);if(!c)return!1;const _=Yn(c);return!_||!(_.flags&16)?!1:!!rp(Jp(_),m=>m.flags&111551&&m.valueDeclaration&&ai(m.valueDeclaration))}function ywt(r){const c=Gs(r,au);if(!c)return ft;const _=Yn(c);return _&&zo(bn(_))||ft}function KE(r){var c;const _=r.id||0;return _<0||_>=h2.length?0:((c=h2[_])==null?void 0:c.flags)||0}function FG(r){return pBe(r.parent),mi(r).enumMemberValue}function OBe(r){switch(r.kind){case 305:case 210:case 211:return!0}return!1}function hhe(r){if(r.kind===305)return FG(r);const c=mi(r).resolvedSymbol;if(c&&c.flags&8){const _=c.valueDeclaration;if(IT(_.parent))return FG(_)}}function ghe(r){return!!(r.flags&524288)&&Ca(r,0).length>0}function vwt(r,c){var _;const m=Gs(r,wp);if(!m||c&&(c=Gs(c),!c))return 0;let b=!1;if(B_(m)){const re=rl(Np(m),111551,!0,!0,c);b=!!((_=re==null?void 0:re.declarations)!=null&&_.every(ET))}const x=rl(m,111551,!0,!0,c),P=x&&x.flags&2097152?ef(x):x;b||(b=!!(x&&_f(x,111551)));const J=rl(m,788968,!0,!1,c);if(P&&P===J){const re=Lpe(!1);if(re&&P===re)return 9;const oe=bn(P);if(oe&&sM(oe))return b?10:1}if(!J)return b?11:0;const $=yc(J);return Ro($)?b?11:0:$.flags&3?11:Au($,245760)?2:Au($,528)?6:Au($,296)?3:Au($,2112)?4:Au($,402653316)?5:uo($)?7:Au($,12288)?8:ghe($)?10:rd($)?7:11}function bwt(r,c,_,m,b){const x=Gs(r,oTe);if(!x)return V.createToken(133);const P=Yn(x);let J=P&&!(P.flags&133120)?Q2(bn(P)):se;return J.flags&8192&&J.symbol===P&&(_|=1048576),b&&(J=I0(J)),st.typeToTypeNode(J,c,_|1024,m)}function Twt(r,c,_,m){const b=Gs(r,Sa);if(!b)return V.createToken(133);const x=Zm(b);return st.typeToTypeNode(Vo(x),c,_|1024,m)}function Swt(r,c,_,m){const b=Gs(r,Ct);if(!b)return V.createToken(133);const x=hp(CBe(b));return st.typeToTypeNode(x,c,_|1024,m)}function xwt(r){return et.has($c(r))}function zN(r,c){const _=mi(r).resolvedSymbol;if(_)return _;let m=r;if(c){const b=r.parent;Sf(b)&&r===b.name&&(m=jS(b))}return ll(m,r.escapedText,3257279,void 0,void 0,!0)}function kwt(r){const c=mi(r).resolvedSymbol;return c&&c!==qr?c:ll(r,r.escapedText,3257279,void 0,void 0,!0,void 0,void 0)}function Cwt(r){if(!il(r)){const c=Gs(r,He);if(c){const _=zN(c);if(_)return Ud(_).valueDeclaration}}}function wwt(r){if(!il(r)){const c=Gs(r,He);if(c){const _=zN(c);if(_)return gr(Ud(_).declarations,m=>{switch(m.kind){case 259:case 168:case 207:case 171:case 302:case 303:case 305:case 209:case 261:case 217:case 218:case 262:case 230:case 265:case 173:case 176:case 177:case 266:return!0}return!1})}}}function Ewt(r){return kj(r)||bs(r)&&Gy(r)?W2(bn(Yn(r))):!1}function Awt(r,c,_){const m=r.flags&1056?st.symbolToExpression(r.symbol,111551,c,void 0,_):r===Te?V.createTrue():r===ke&&V.createFalse();if(m)return m;const b=r.value;return typeof b=="object"?V.createBigIntLiteral(b):typeof b=="number"?V.createNumericLiteral(b):V.createStringLiteral(b)}function Pwt(r,c){const _=bn(Yn(r));return Awt(_,r,c)}function LBe(r){return r?(y2(r),pn(r).localJsxFactory||ly):ly}function yhe(r){if(r){const c=pn(r);if(c){if(c.localJsxFragmentFactory)return c.localJsxFragmentFactory;const _=c.pragmas.get("jsxfrag"),m=ka(_)?_[0]:_;if(m)return c.localJsxFragmentFactory=zw(m.arguments.factory,he),c.localJsxFragmentFactory}}if(Q.jsxFragmentFactory)return zw(Q.jsxFragmentFactory,he)}function Dwt(){const r=e.getResolvedTypeReferenceDirectives();let c;return r&&(c=new Map,r.forEach(({resolvedTypeReferenceDirective:$},re,oe)=>{if(!($!=null&&$.resolvedFileName))return;const Ee=e.getSourceFile($.resolvedFileName);Ee&&J(Ee,re,oe)})),{getReferencedExportContainer:uwt,getReferencedImportDeclaration:fwt,getReferencedDeclarationWithCollidingName:pwt,isDeclarationWithCollidingName:dwt,isValueAliasDeclaration:$=>{const re=Gs($);return re&&Ye?DBe(re):!0},hasGlobalName:xwt,isReferencedAliasDeclaration:($,re)=>{const oe=Gs($);return oe&&Ye?MG(oe,re):!0},getNodeCheckFlags:$=>{const re=Gs($);return re?KE(re):0},isTopLevelValueImportEqualsWithEntityName:mwt,isDeclarationVisible:xd,isImplementationOfOverload:NBe,isRequiredInitializedParameter:IBe,isOptionalUninitializedParameterProperty:hwt,isExpandoFunctionDeclaration:gwt,getPropertiesOfContainerFunction:ywt,createTypeOfDeclaration:bwt,createReturnTypeOfSignatureDeclaration:Twt,createTypeOfExpression:Swt,createLiteralConstValue:Pwt,isSymbolAccessible:Xm,isEntityNameVisible:me,getConstantValue:$=>{const re=Gs($,OBe);return re?hhe(re):void 0},collectLinkedAliases:yy,getReferencedValueDeclaration:Cwt,getReferencedValueDeclarations:wwt,getTypeReferenceSerializationKind:vwt,isOptionalParameter:rN,moduleExportsSomeValue:cwt,isArgumentsLocalBinding:owt,getExternalModuleFileFromDeclaration:$=>{const re=Gs($,eTe);return re&&vhe(re)},getTypeReferenceDirectivesForEntityName:b,getTypeReferenceDirectivesForSymbol:x,isLiteralConstDeclaration:Ewt,isLateBound:$=>{const re=Gs($,Sf),oe=re&&Yn(re);return!!(oe&&ml(oe)&4096)},getJsxFactoryEntity:LBe,getJsxFragmentFactoryEntity:yhe,getAllAccessorDeclarations($){$=Gs($,YB);const re=$.kind===177?176:177,oe=_l(Yn($),re),Ee=oe&&oe.pos<$.pos?oe:$,Le=oe&&oe.pos<$.pos?$:oe,We=$.kind===177?$:oe,gt=$.kind===176?$:oe;return{firstAccessor:Ee,secondAccessor:Le,setAccessor:We,getAccessor:gt}},getSymbolOfExternalModuleSpecifier:$=>h0($,$,void 0),isBindingCapturedByNode:($,re)=>{const oe=Gs($),Ee=Gs(re);return!!oe&&!!Ee&&(bs(Ee)||Lo(Ee))&&s2t(oe,Ee)},getDeclarationStatementsForSourceFile:($,re,oe,Ee)=>{const Le=Gs($);R.assert(Le&&Le.kind===311,"Non-sourcefile node passed into getDeclarationsForSourceFile");const We=Yn($);return We?We.exports?st.symbolTableToDeclarationStatements(We.exports,$,re,oe,Ee):[]:$.locals?st.symbolTableToDeclarationStatements($.locals,$,re,oe,Ee):[]},isImportRequiredByAugmentation:_};function _($){const re=pn($);if(!re.symbol)return!1;const oe=vhe($);if(!oe||oe===re)return!1;const Ee=kg(re.symbol);for(const Le of oo(Ee.values()))if(Le.mergeId){const We=Fo(Le);if(We.declarations){for(const gt of We.declarations)if(pn(gt)===oe)return!0}}return!1}function m($){return $.parent&&$.parent.kind===232&&$.parent.parent&&$.parent.parent.kind===297}function b($){if(!c)return;let re;$.parent.kind===166?re=1160127:(re=790504,($.kind===80&&HA($)||$.kind===210&&!m($))&&(re=1160127));const oe=rl($,re,!0);return oe&&oe!==qr?x(oe,re):void 0}function x($,re){if(!c||!P($))return;let oe;for(const Ee of $.declarations)if(Ee.symbol&&Ee.symbol.flags&re){const Le=pn(Ee),We=c.get(Le.path);if(We)(oe||(oe=[])).push(We);else return}return oe}function P($){if(!$.declarations)return!1;let re=$;for(;;){const oe=E_(re);if(oe)re=oe;else break}if(re.valueDeclaration&&re.valueDeclaration.kind===311&&re.flags&512)return!1;for(const oe of $.declarations){const Ee=pn(oe);if(c.has(Ee.path))return!0}return!1}function J($,re,oe){if(!c.has($.path)){c.set($.path,[re,oe]);for(const{fileName:Ee,resolutionMode:Le}of $.referencedFiles){const We=Mz(Ee,$.fileName),gt=e.getSourceFile(We);gt&&J(gt,re,Le||$.impliedNodeFormat)}}}}function vhe(r){const c=r.kind===266?wi(r.name,yo):a4(r),_=h0(c,c,void 0);if(_)return _l(_,311)}function Nwt(){for(const c of e.getSourceFiles())wwe(c,Q);Us=new Map;let r;for(const c of e.getSourceFiles())if(!c.redirectInfo){if(!Pp(c)){const _=c.locals.get("globalThis");if(_!=null&&_.declarations)for(const m of _.declarations)Do.add(ei(m,v.Declaration_name_conflicts_with_built_in_global_identifier_0,"globalThis"));Ch(et,c.locals)}c.jsGlobalAugmentations&&Ch(et,c.jsGlobalAugmentations),c.patternAmbientModules&&c.patternAmbientModules.length&&(sc=wr(sc,c.patternAmbientModules)),c.moduleAugmentations.length&&(r||(r=[])).push(c.moduleAugmentations),c.symbol&&c.symbol.globalExports&&c.symbol.globalExports.forEach((m,b)=>{et.has(b)||et.set(b,m)})}if(r)for(const c of r)for(const _ of c)dh(_.parent)&&Lk(_);if(Mk(et,Nk,v.Declaration_name_conflicts_with_built_in_global_identifier_0),ms(je).type=Gt,ms(Lt).type=Gl("IArguments",0,!0),ms(qr).type=se,ms(_t).type=$u(16,_t),Xc=Gl("Array",1,!0),cl=Gl("Object",0,!0),Mo=Gl("Function",0,!0),hc=le&&Gl("CallableFunction",0,!0)||Mo,Ku=le&&Gl("NewableFunction",0,!0)||Mo,lp=Gl("String",0,!0),x_=Gl("Number",0,!0),De=Gl("Boolean",0,!0),er=Gl("RegExp",0,!0),Zi=mf(dt),fa=mf(Ut),fa===ga&&(fa=ul(void 0,Z,ft,ft,ft)),wu=J9e("ReadonlyArray",1)||Xc,_e=wu?oN(wu,[dt]):Zi,sn=J9e("ThisType",1),r)for(const c of r)for(const _ of c)dh(_.parent)||Lk(_);Us.forEach(({firstFile:c,secondFile:_,conflictingSymbols:m})=>{if(m.size<8)m.forEach(({isBlockScoped:b,firstFileLocations:x,secondFileLocations:P},J)=>{const $=b?v.Cannot_redeclare_block_scoped_variable_0:v.Duplicate_identifier_0;for(const re of x)SS(re,$,J,P);for(const re of P)SS(re,$,J,x)});else{const b=oo(m.keys()).join(", ");Do.add(ho(ei(c,v.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,b),ei(_,v.Conflicts_are_in_this_file))),Do.add(ho(ei(_,v.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,b),ei(c,v.Conflicts_are_in_this_file)))}}),Us=void 0}function ru(r,c){if((f&c)!==c&&Q.importHelpers){const _=pn(r);if(nw(_,Q)&&!(r.flags&16777216)){const m=Owt(_,r);if(m!==qr){const b=c&~f;for(let x=1;x<=16777216;x<<=1)if(b&x)for(const P of Iwt(x)){if(l.has(P))continue;l.add(P);const J=Qc(Eu(kg(m),$c(P),111551));J?x&524288?Ne(U2(J),$=>gp($)>3)||rt(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,Ov,P,4):x&1048576?Ne(U2(J),$=>gp($)>4)||rt(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,Ov,P,5):x&1024&&(Ne(U2(J),$=>gp($)>2)||rt(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,Ov,P,3)):rt(r,v.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,Ov,P)}}f|=c}}}function Iwt(r){switch(r){case 1:return["__extends"];case 2:return["__assign"];case 4:return["__rest"];case 8:return ye?["__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 Owt(r,c){return d||(d=N2(r,Ov,v.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,c)||qr),d}function Ig(r){const c=Fwt(r)||Lwt(r);if(c!==void 0)return c;if(ea(r)&&jT(r))return Pu(r,v.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters);let _,m,b,x,P,J=0,$=!1,re=!1;for(const oe of r.modifiers)if(xf(oe)){if(Fj(ye,r,r.parent,r.parent.parent)){if(ye&&(r.kind===176||r.kind===177)){const Ee=jx(r.parent.members,r);if(_d(Ee.firstAccessor)&&r===Ee.secondAccessor)return Pu(r,v.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}}else return r.kind===173&&!Pd(r.body)?Pu(r,v.A_decorator_can_only_decorate_a_method_implementation_not_an_overload):Pu(r,v.Decorators_are_not_valid_here);if(J&-132098)return Fr(oe,v.Decorators_are_not_valid_here);if(re&&J&126975){R.assertIsDefined(P);const Ee=pn(oe);return nT(Ee)?!1:(ho(rt(oe,v.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),ei(P,v.Decorator_used_before_export_here)),!0)}J|=131072,J&126975?J&1&&($=!0):re=!0,P??(P=oe)}else{if(oe.kind!==148){if(r.kind===170||r.kind===172)return Fr(oe,v._0_modifier_cannot_appear_on_a_type_member,io(oe.kind));if(r.kind===180&&(oe.kind!==126||!Ri(r.parent)))return Fr(oe,v._0_modifier_cannot_appear_on_an_index_signature,io(oe.kind))}if(oe.kind!==103&&oe.kind!==147&&oe.kind!==87&&r.kind===167)return Fr(oe,v._0_modifier_cannot_appear_on_a_type_parameter,io(oe.kind));switch(oe.kind){case 87:if(r.kind!==265&&r.kind!==167)return Fr(r,v.A_class_member_cannot_have_the_0_keyword,io(87));const Ee=r.parent;if(r.kind===167&&!(Lc(Ee)||Ri(Ee)||ry(Ee)||yD(Ee)||O4(Ee)||gO(Ee)||ty(Ee)))return Fr(oe,v._0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class,io(oe.kind));break;case 163:if(J&16384)return Fr(oe,v._0_modifier_already_seen,"override");if(J&2)return Fr(oe,v._0_modifier_cannot_be_used_with_1_modifier,"override","declare");if(J&64)return Fr(oe,v._0_modifier_must_precede_1_modifier,"override","readonly");if(J&128)return Fr(oe,v._0_modifier_must_precede_1_modifier,"override","accessor");if(J&512)return Fr(oe,v._0_modifier_must_precede_1_modifier,"override","async");J|=16384,x=oe;break;case 125:case 124:case 123:const Le=m_(hw(oe.kind));if(J&28)return Fr(oe,v.Accessibility_modifier_already_seen);if(J&16384)return Fr(oe,v._0_modifier_must_precede_1_modifier,Le,"override");if(J&32)return Fr(oe,v._0_modifier_must_precede_1_modifier,Le,"static");if(J&128)return Fr(oe,v._0_modifier_must_precede_1_modifier,Le,"accessor");if(J&64)return Fr(oe,v._0_modifier_must_precede_1_modifier,Le,"readonly");if(J&512)return Fr(oe,v._0_modifier_must_precede_1_modifier,Le,"async");if(r.parent.kind===267||r.parent.kind===311)return Fr(oe,v._0_modifier_cannot_appear_on_a_module_or_namespace_element,Le);if(J&256)return oe.kind===123?Fr(oe,v._0_modifier_cannot_be_used_with_1_modifier,Le,"abstract"):Fr(oe,v._0_modifier_must_precede_1_modifier,Le,"abstract");if(s_(r))return Fr(oe,v.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);J|=hw(oe.kind);break;case 126:if(J&32)return Fr(oe,v._0_modifier_already_seen,"static");if(J&64)return Fr(oe,v._0_modifier_must_precede_1_modifier,"static","readonly");if(J&512)return Fr(oe,v._0_modifier_must_precede_1_modifier,"static","async");if(J&128)return Fr(oe,v._0_modifier_must_precede_1_modifier,"static","accessor");if(r.parent.kind===267||r.parent.kind===311)return Fr(oe,v._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(r.kind===168)return Fr(oe,v._0_modifier_cannot_appear_on_a_parameter,"static");if(J&256)return Fr(oe,v._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(J&16384)return Fr(oe,v._0_modifier_must_precede_1_modifier,"static","override");J|=32,_=oe;break;case 129:if(J&128)return Fr(oe,v._0_modifier_already_seen,"accessor");if(J&64)return Fr(oe,v._0_modifier_cannot_be_used_with_1_modifier,"accessor","readonly");if(J&2)return Fr(oe,v._0_modifier_cannot_be_used_with_1_modifier,"accessor","declare");if(r.kind!==171)return Fr(oe,v.accessor_modifier_can_only_appear_on_a_property_declaration);J|=128;break;case 148:if(J&64)return Fr(oe,v._0_modifier_already_seen,"readonly");if(r.kind!==171&&r.kind!==170&&r.kind!==180&&r.kind!==168)return Fr(oe,v.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);if(J&128)return Fr(oe,v._0_modifier_cannot_be_used_with_1_modifier,"readonly","accessor");J|=64;break;case 95:if(Q.verbatimModuleSyntax&&!(r.flags&16777216)&&r.kind!==264&&r.kind!==263&&r.kind!==266&&r.parent.kind===311&&(W===1||pn(r).impliedNodeFormat===1))return Fr(oe,v.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(J&1)return Fr(oe,v._0_modifier_already_seen,"export");if(J&2)return Fr(oe,v._0_modifier_must_precede_1_modifier,"export","declare");if(J&256)return Fr(oe,v._0_modifier_must_precede_1_modifier,"export","abstract");if(J&512)return Fr(oe,v._0_modifier_must_precede_1_modifier,"export","async");if(Ri(r.parent))return Fr(oe,v._0_modifier_cannot_appear_on_class_elements_of_this_kind,"export");if(r.kind===168)return Fr(oe,v._0_modifier_cannot_appear_on_a_parameter,"export");J|=1;break;case 90:const We=r.parent.kind===311?r.parent:r.parent.parent;if(We.kind===266&&!$f(We))return Fr(oe,v.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);if(J&1){if($)return Fr(P,v.Decorators_are_not_valid_here)}else return Fr(oe,v._0_modifier_must_precede_1_modifier,"export","default");J|=1024;break;case 138:if(J&2)return Fr(oe,v._0_modifier_already_seen,"declare");if(J&512)return Fr(oe,v._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(J&16384)return Fr(oe,v._0_modifier_cannot_be_used_in_an_ambient_context,"override");if(Ri(r.parent)&&!Ia(r))return Fr(oe,v._0_modifier_cannot_appear_on_class_elements_of_this_kind,"declare");if(r.kind===168)return Fr(oe,v._0_modifier_cannot_appear_on_a_parameter,"declare");if(r.parent.flags&16777216&&r.parent.kind===267)return Fr(oe,v.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(s_(r))return Fr(oe,v._0_modifier_cannot_be_used_with_a_private_identifier,"declare");if(J&128)return Fr(oe,v._0_modifier_cannot_be_used_with_1_modifier,"declare","accessor");J|=2,m=oe;break;case 128:if(J&256)return Fr(oe,v._0_modifier_already_seen,"abstract");if(r.kind!==262&&r.kind!==184){if(r.kind!==173&&r.kind!==171&&r.kind!==176&&r.kind!==177)return Fr(oe,v.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(!(r.parent.kind===262&&gi(r.parent,256))){const Vr=r.kind===171?v.Abstract_properties_can_only_appear_within_an_abstract_class:v.Abstract_methods_can_only_appear_within_an_abstract_class;return Fr(oe,Vr)}if(J&32)return Fr(oe,v._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(J&8)return Fr(oe,v._0_modifier_cannot_be_used_with_1_modifier,"private","abstract");if(J&512&&b)return Fr(b,v._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");if(J&16384)return Fr(oe,v._0_modifier_must_precede_1_modifier,"abstract","override");if(J&128)return Fr(oe,v._0_modifier_must_precede_1_modifier,"abstract","accessor")}if(bf(r)&&r.name.kind===81)return Fr(oe,v._0_modifier_cannot_be_used_with_a_private_identifier,"abstract");J|=256;break;case 134:if(J&512)return Fr(oe,v._0_modifier_already_seen,"async");if(J&2||r.parent.flags&16777216)return Fr(oe,v._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(r.kind===168)return Fr(oe,v._0_modifier_cannot_appear_on_a_parameter,"async");if(J&256)return Fr(oe,v._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");J|=512,b=oe;break;case 103:case 147:const gt=oe.kind===103?32768:65536,$t=oe.kind===103?"in":"out";if(r.kind!==167||!(Xf(r.parent)||Ri(r.parent)||Mm(r.parent)))return Fr(oe,v._0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias,$t);if(J&gt)return Fr(oe,v._0_modifier_already_seen,$t);if(gt&32768&&J&65536)return Fr(oe,v._0_modifier_must_precede_1_modifier,"in","out");J|=gt;break}}return r.kind===175?J&32?Fr(_,v._0_modifier_cannot_appear_on_a_constructor_declaration,"static"):J&16384?Fr(x,v._0_modifier_cannot_appear_on_a_constructor_declaration,"override"):J&512?Fr(b,v._0_modifier_cannot_appear_on_a_constructor_declaration,"async"):!1:(r.kind===271||r.kind===270)&&J&2?Fr(m,v.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare"):r.kind===168&&J&16476&&Fa(r.name)?Fr(r,v.A_parameter_property_may_not_be_declared_using_a_binding_pattern):r.kind===168&&J&16476&&r.dotDotDotToken?Fr(r,v.A_parameter_property_cannot_be_declared_using_a_rest_parameter):J&512?Bwt(r,b):!1}function Lwt(r){if(!r.modifiers)return!1;const c=Mwt(r);return c&&Pu(c,v.Modifiers_cannot_appear_here)}function bhe(r,c){const _=Ve(r.modifiers,Ha);return _&&_.kind!==c?_:void 0}function Mwt(r){switch(r.kind){case 176:case 177:case 175:case 171:case 170:case 173:case 172:case 180:case 266:case 271:case 270:case 277:case 276:case 217:case 218:case 168:case 167:return;case 174:case 302:case 303:case 269:case 281:return Ve(r.modifiers,Ha);default:if(r.parent.kind===267||r.parent.kind===311)return;switch(r.kind){case 261:return bhe(r,134);case 262:case 184:return bhe(r,128);case 230:case 263:case 242:case 264:return Ve(r.modifiers,Ha);case 265:return bhe(r,87);default:R.assertNever(r)}}}function Fwt(r){const c=Rwt(r);return c&&Pu(c,v.Decorators_are_not_valid_here)}function Rwt(r){return une(r)?Ve(r.modifiers,xf):void 0}function Bwt(r,c){switch(r.kind){case 173:case 261:case 217:case 218:return!1}return Fr(c,v._0_modifier_cannot_be_used_here,"async")}function lC(r,c=v.Trailing_comma_not_allowed){return r&&r.hasTrailingComma?iT(r[0],r.end-1,1,c):!1}function MBe(r,c){if(r&&r.length===0){const _=r.pos-1,m=fo(c.text,r.end)+1;return iT(c,_,m-_,v.Type_parameter_list_cannot_be_empty)}return!1}function jwt(r){let c=!1;const _=r.length;for(let m=0;m<_;m++){const b=r[m];if(b.dotDotDotToken){if(m!==_-1)return Fr(b.dotDotDotToken,v.A_rest_parameter_must_be_last_in_a_parameter_list);if(b.flags&16777216||lC(r,v.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),b.questionToken)return Fr(b.questionToken,v.A_rest_parameter_cannot_be_optional);if(b.initializer)return Fr(b.name,v.A_rest_parameter_cannot_have_an_initializer)}else if(rN(b)){if(c=!0,b.questionToken&&b.initializer)return Fr(b.name,v.Parameter_cannot_have_question_mark_and_initializer)}else if(c&&!b.initializer)return Fr(b.name,v.A_required_parameter_cannot_follow_an_optional_parameter)}}function Jwt(r){return gr(r,c=>!!c.initializer||Fa(c.name)||Hg(c))}function Uwt(r){if(he>=3){const c=r.body&&Pa(r.body)&&ane(r.body.statements);if(c){const _=Jwt(r.parameters);if(G(_)){te(_,b=>{ho(rt(b,v.This_parameter_is_not_allowed_with_use_strict_directive),ei(c,v.use_strict_directive_used_here))});const m=_.map((b,x)=>x===0?ei(b,v.Non_simple_parameter_declared_here):ei(b,v.and_here));return ho(rt(c,v.use_strict_directive_cannot_be_used_with_non_simple_parameter_list),...m),!0}}}return!1}function RG(r){const c=pn(r);return Ig(r)||MBe(r.typeParameters,c)||jwt(r.parameters)||Vwt(r,c)||Lc(r)&&Uwt(r)}function zwt(r){const c=pn(r);return Gwt(r)||MBe(r.typeParameters,c)}function Vwt(r,c){if(!Dc(r))return!1;r.typeParameters&&!(G(r.typeParameters)>1||r.typeParameters.hasTrailingComma||r.typeParameters[0].constraint)&&c&&$l(c.fileName,[".mts",".cts"])&&Fr(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=Vc(c,_.pos).line,b=Vc(c,_.end).line;return m!==b&&Fr(_,v.Line_terminator_not_permitted_before_arrow)}function $wt(r){const c=r.parameters[0];if(r.parameters.length!==1)return Fr(c?c.name:r,v.An_index_signature_must_have_exactly_one_parameter);if(lC(r.parameters,v.An_index_signature_cannot_have_a_trailing_comma),c.dotDotDotToken)return Fr(c.dotDotDotToken,v.An_index_signature_cannot_have_a_rest_parameter);if(iJ(c))return Fr(c.name,v.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(c.questionToken)return Fr(c.questionToken,v.An_index_signature_parameter_cannot_have_a_question_mark);if(c.initializer)return Fr(c.name,v.An_index_signature_parameter_cannot_have_an_initializer);if(!c.type)return Fr(c.name,v.An_index_signature_parameter_must_have_a_type_annotation);const _=Bi(c.type);return O0(_,m=>!!(m.flags&8576))||UA(_)?Fr(c.name,v.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead):qd(_,sH)?r.type?!1:Fr(r,v.An_index_signature_must_have_a_type_annotation):Fr(c.name,v.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}function qwt(r){return Ig(r)||$wt(r)}function Wwt(r,c){if(c&&c.length===0){const _=pn(r),m=c.pos-1,b=fo(_.text,c.end)+1;return iT(_,m,b-m,v.Type_argument_list_cannot_be_empty)}return!1}function gF(r,c){return lC(c)||Wwt(r,c)}function Hwt(r){return r.questionDotToken||r.flags&32?Fr(r.template,v.Tagged_template_expressions_are_not_permitted_in_an_optional_chain):!1}function FBe(r){const c=r.types;if(lC(c))return!0;if(c&&c.length===0){const _=io(r.token);return iT(r,c.pos,0,v._0_list_cannot_be_empty,_)}return Ne(c,RBe)}function RBe(r){return p1(r)&&gD(r.expression)&&r.typeArguments?Fr(r,v.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments):gF(r,r.typeArguments)}function Gwt(r){let c=!1,_=!1;if(!Ig(r)&&r.heritageClauses)for(const m of r.heritageClauses){if(m.token===96){if(c)return Pu(m,v.extends_clause_already_seen);if(_)return Pu(m,v.extends_clause_must_precede_implements_clause);if(m.types.length>1)return Pu(m.types[1],v.Classes_can_only_extend_a_single_class);c=!0}else{if(R.assert(m.token===119),_)return Pu(m,v.implements_clause_already_seen);_=!0}FBe(m)}}function Xwt(r){let c=!1;if(r.heritageClauses)for(const _ of r.heritageClauses){if(_.token===96){if(c)return Pu(_,v.extends_clause_already_seen);c=!0}else return R.assert(_.token===119),Pu(_,v.Interface_declaration_cannot_have_implements_clause);FBe(_)}return!1}function BG(r){if(r.kind!==166)return!1;const c=r;return c.expression.kind===225&&c.expression.operatorToken.kind===28?Fr(c.expression,v.A_comma_expression_is_not_allowed_in_a_computed_property_name):!1}function The(r){if(r.asteriskToken){if(R.assert(r.kind===261||r.kind===217||r.kind===173),r.flags&16777216)return Fr(r.asteriskToken,v.Generators_are_not_allowed_in_an_ambient_context);if(!r.body)return Fr(r.asteriskToken,v.An_overload_signature_cannot_be_declared_as_a_generator)}}function She(r,c){return!!r&&Fr(r,c)}function BBe(r,c){return!!r&&Fr(r,c)}function Qwt(r,c){const _=new Map;for(const m of r.properties){if(m.kind===304){if(c){const P=Tc(m.expression);if(Hf(P)||jo(P))return Fr(m.expression,v.A_rest_element_cannot_contain_a_binding_pattern)}continue}const b=m.name;if(b.kind===166&&BG(b),m.kind===303&&!c&&m.objectAssignmentInitializer&&Fr(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===81&&Fr(b,v.Private_identifiers_are_not_allowed_outside_class_bodies),am(m)&&m.modifiers)for(const P of m.modifiers)Ha(P)&&(P.kind!==134||m.kind!==173)&&Fr(P,v._0_modifier_cannot_be_used_here,iu(P));else if(Tke(m)&&m.modifiers)for(const P of m.modifiers)Ha(P)&&Fr(P,v._0_modifier_cannot_be_used_here,iu(P));let x;switch(m.kind){case 303:case 302:BBe(m.exclamationToken,v.A_definite_assignment_assertion_is_not_permitted_in_this_context),She(m.questionToken,v.An_object_member_cannot_be_declared_optional),b.kind===9&&Che(b),x=4;break;case 173:x=8;break;case 176:x=1;break;case 177:x=2;break;default:R.assertNever(m,"Unexpected syntax kind:"+m.kind)}if(!c){const P=EEt(b);if(P===void 0)continue;const J=_.get(P);if(!J)_.set(P,x);else if(x&8&&J&8)Fr(b,v.Duplicate_identifier_0,iu(b));else if(x&4&&J&4)Fr(b,v.An_object_literal_cannot_have_multiple_properties_with_the_same_name,iu(b));else if(x&3&&J&3)if(J!==3&&x!==J)_.set(P,x|J);else return Fr(b,v.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);else return Fr(b,v.An_object_literal_cannot_have_property_and_accessor_with_the_same_name)}}}function Ywt(r){Zwt(r.tagName),gF(r,r.typeArguments);const c=new Map;for(const _ of r.attributes.properties){if(_.kind===292)continue;const{name:m,initializer:b}=_,x=cD(m);if(!c.get(x))c.set(x,!0);else return Fr(m,v.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(b&&b.kind===293&&!b.expression)return Fr(b,v.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}function Zwt(r){if(ai(r)&&Th(r.expression))return Fr(r.expression,v.JSX_property_access_expressions_cannot_include_JSX_namespace_names);if(Th(r)&&gJ(Q)&&!m4(r.namespace.escapedText))return Fr(r,v.React_components_cannot_include_JSX_namespace_names)}function Kwt(r){if(r.expression&&ND(r.expression))return Fr(r.expression,v.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array)}function jBe(r){if(Dy(r))return!0;if(r.kind===249&&r.awaitModifier&&!(r.flags&32768)){const c=pn(r);if(Oj(r)){if(!nT(c))switch(nw(c,Q)||Do.add(ei(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)),W){case 100:case 199:if(c.impliedNodeFormat===1){Do.add(ei(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(he>=4)break;default:Do.add(ei(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(!nT(c)){const _=ei(r.awaitModifier,v.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules),m=Wp(r);if(m&&m.kind!==175){R.assert((Fu(m)&2)===0,"Enclosing function should never be an async function.");const b=ei(m,v.Did_you_mean_to_mark_this_function_as_async);ho(_,b)}return Do.add(_),!0}return!1}if(bO(r)&&!(r.flags&32768)&&He(r.initializer)&&r.initializer.escapedText==="async")return Fr(r.initializer,v.The_left_hand_side_of_a_for_of_statement_may_not_be_async),!1;if(r.initializer.kind===260){const c=r.initializer;if(!khe(c)){const _=c.declarations;if(!_.length)return!1;if(_.length>1){const b=r.kind===248?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 Pu(c.declarations[1],b)}const m=_[0];if(m.initializer){const b=r.kind===248?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 Fr(m.name,b)}if(m.type){const b=r.kind===248?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 Fr(m,b)}}}return!1}function eEt(r){if(!(r.flags&16777216)&&r.parent.kind!==186&&r.parent.kind!==263){if(he<1)return Fr(r.name,v.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(he<2&&fs(r.name))return Fr(r.name,v.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(r.body===void 0&&!gi(r,256))return iT(r,r.end-1,1,v._0_expected,"{")}if(r.body){if(gi(r,256))return Fr(r,v.An_abstract_accessor_cannot_have_an_implementation);if(r.parent.kind===186||r.parent.kind===263)return Fr(r.body,v.An_implementation_cannot_be_declared_in_ambient_contexts)}if(r.typeParameters)return Fr(r.name,v.An_accessor_cannot_have_type_parameters);if(!tEt(r))return Fr(r.name,r.kind===176?v.A_get_accessor_cannot_have_parameters:v.A_set_accessor_must_have_exactly_one_parameter);if(r.kind===177){if(r.type)return Fr(r.name,v.A_set_accessor_cannot_have_a_return_type_annotation);const c=R.checkDefined(BP(r),"Return value does not match parameter count assertion.");if(c.dotDotDotToken)return Fr(c.dotDotDotToken,v.A_set_accessor_cannot_have_rest_parameter);if(c.questionToken)return Fr(c.questionToken,v.A_set_accessor_cannot_have_an_optional_parameter);if(c.initializer)return Fr(r.name,v.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}function tEt(r){return xhe(r)||r.parameters.length===(r.kind===176?0:1)}function xhe(r){if(r.parameters.length===(r.kind===176?1:2))return BT(r)}function rEt(r){if(r.operator===158){if(r.type.kind!==155)return Fr(r.type,v._0_expected,io(155));let c=b5(r.parent);if(Mn(c)&&Zx(c)){const _=uw(c);_&&(c=l4(_)||_)}switch(c.kind){case 259:const _=c;if(_.name.kind!==80)return Fr(r,v.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!Aj(_))return Fr(r,v.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(_.parent.flags&2))return Fr(c.name,v.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 171:if(!Aa(c)||!jP(c))return Fr(c.name,v.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 170:if(!gi(c,64))return Fr(c.name,v.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:return Fr(r,v.unique_symbol_types_are_not_allowed_here)}}else if(r.operator===148&&r.type.kind!==187&&r.type.kind!==188)return Pu(r,v.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,io(155))}function l3(r,c){if(Dyt(r))return Fr(r,c)}function JBe(r){if(RG(r))return!0;if(r.kind===173){if(r.parent.kind===209){if(r.modifiers&&!(r.modifiers.length===1&&Oo(r.modifiers).kind===134))return Pu(r,v.Modifiers_cannot_appear_here);if(She(r.questionToken,v.An_object_member_cannot_be_declared_optional))return!0;if(BBe(r.exclamationToken,v.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(r.body===void 0)return iT(r,r.end-1,1,v._0_expected,"{")}if(The(r))return!0}if(Ri(r.parent)){if(he<2&&fs(r.name))return Fr(r.name,v.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(r.flags&16777216)return l3(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===173&&!r.body)return l3(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===263)return l3(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===186)return l3(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 nEt(r){let c=r;for(;c;){if(J6(c))return Fr(r,v.Jump_target_cannot_cross_function_boundary);switch(c.kind){case 255:if(r.label&&c.label.escapedText===r.label.escapedText)return r.kind===250&&!xv(c.statement,!0)?Fr(r,v.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement):!1;break;case 254:if(r.kind===251&&!r.label)return!1;break;default:if(xv(c,!1)&&!r.label)return!1;break}c=c.parent}if(r.label){const _=r.kind===251?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 Fr(r,_)}else{const _=r.kind===251?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 Fr(r,_)}}function iEt(r){if(r.dotDotDotToken){const c=r.parent.elements;if(r!==To(c))return Fr(r,v.A_rest_element_must_be_last_in_a_destructuring_pattern);if(lC(c,v.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),r.propertyName)return Fr(r.name,v.A_rest_element_cannot_have_a_property_name)}if(r.dotDotDotToken&&r.initializer)return iT(r,r.initializer.pos-1,1,v.A_rest_element_cannot_have_an_initializer)}function UBe(r){return ud(r)||r.kind===223&&r.operator===41&&r.operand.kind===9}function sEt(r){return r.kind===10||r.kind===223&&r.operator===41&&r.operand.kind===10}function aEt(r){if((ai(r)||Pc(r)&&UBe(r.argumentExpression))&&kl(r.expression))return!!(jl(r).flags&1056)}function zBe(r){const c=r.initializer;if(c){const _=!(UBe(c)||aEt(c)||c.kind===112||c.kind===97||sEt(c));if((kj(r)||bs(r)&&Gy(r))&&!r.type){if(_)return Fr(c,v.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}else return Fr(c,v.Initializers_are_not_allowed_in_ambient_contexts)}}function oEt(r){if(r.parent.parent.kind!==248&&r.parent.parent.kind!==249){if(r.flags&16777216)zBe(r);else if(!r.initializer){if(Fa(r.name)&&!Fa(r.parent))return Fr(r,v.A_destructuring_declaration_must_have_an_initializer);if(Gy(r))return Fr(r,v.const_declarations_must_be_initialized)}}if(r.exclamationToken&&(r.parent.parent.kind!==242||!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 Fr(r.exclamationToken,_)}return(W<5||pn(r).impliedNodeFormat===1)&&W!==4&&!(r.parent.parent.flags&16777216)&&gi(r.parent.parent,1)&&VBe(r.name),(CP(r)||Gy(r))&&$Be(r.name)}function VBe(r){if(r.kind===80){if(Zn(r)==="__esModule")return uEt("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(!bu(_))return VBe(_.name)}return!1}function $Be(r){if(r.kind===80){if(r.escapedText==="let")return Fr(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)bu(_)||$Be(_.name)}return!1}function khe(r){const c=r.declarations;return lC(r.declarations)?!0:r.declarations.length?!1:iT(r,c.pos,c.end-c.pos,v.Variable_declaration_list_cannot_be_empty)}function qBe(r){switch(r.kind){case 244:case 245:case 246:case 253:case 247:case 248:case 249:return!1;case 255:return qBe(r.parent)}return!0}function cEt(r){if(!qBe(r.parent)){if(CP(r.declarationList))return Fr(r,v.let_declarations_can_only_be_declared_inside_a_block);if(Gy(r.declarationList))return Fr(r,v.const_declarations_can_only_be_declared_inside_a_block)}}function lEt(r){const c=r.name.escapedText;switch(r.keywordToken){case 105:if(c!=="target")return Fr(r.name,v._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,xs(r.name.escapedText),io(r.keywordToken),"target");break;case 102:if(c!=="meta")return Fr(r.name,v._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,xs(r.name.escapedText),io(r.keywordToken),"meta");break}}function nT(r){return r.parseDiagnostics.length>0}function Pu(r,c,..._){const m=pn(r);if(!nT(m)){const b=eg(m,r.pos);return Do.add(vu(m,b.start,b.length,c,..._)),!0}return!1}function iT(r,c,_,m,...b){const x=pn(r);return nT(x)?!1:(Do.add(vu(x,c,_,m,...b)),!0)}function uEt(r,c,_,...m){const b=pn(c);return nT(b)?!1:(l0(r,c,_,...m),!0)}function Fr(r,c,..._){const m=pn(r);return nT(m)?!1:(Do.add(ei(r,c,..._)),!0)}function fEt(r){const c=Mn(r)?nJ(r):void 0,_=r.typeParameters||c&&Hu(c);if(_){const m=_.pos===_.end?_.pos:fo(pn(r).text,_.pos);return iT(r,m,_.end-m,v.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function _Et(r){const c=r.type||Am(r);if(c)return Fr(c,v.Type_annotation_cannot_appear_on_a_constructor_declaration)}function pEt(r){if(Ho(r.name)&&Bn(r.name.expression)&&r.name.expression.operatorToken.kind===103)return Fr(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 Fr(r.name,v.Classes_may_not_have_a_field_named_constructor);if(l3(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(he<2&&fs(r.name))return Fr(r.name,v.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(he<2&&Ep(r))return Fr(r.name,v.Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(Ep(r)&&She(r.questionToken,v.An_accessor_property_cannot_be_declared_optional))return!0}else if(r.parent.kind===263){if(l3(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,Gp),r.initializer)return Fr(r.initializer,v.An_interface_property_cannot_have_an_initializer)}else if(Ip(r.parent)){if(l3(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,Gp),r.initializer)return Fr(r.initializer,v.A_type_literal_property_cannot_have_an_initializer)}if(r.flags&16777216&&zBe(r),Ia(r)&&r.exclamationToken&&(!Ri(r.parent)||!r.type||r.initializer||r.flags&16777216||Aa(r)||UT(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 Fr(r.exclamationToken,c)}}function dEt(r){return r.kind===263||r.kind===264||r.kind===271||r.kind===270||r.kind===277||r.kind===276||r.kind===269||gi(r,1027)?!1:Pu(r,v.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function mEt(r){for(const c of r.statements)if((Sf(c)||c.kind===242)&&dEt(c))return!0;return!1}function hEt(r){return!!(r.flags&16777216)&&mEt(r)}function Dy(r){if(r.flags&16777216){if(!mi(r).hasReportedStatementInAmbientContext&&(Sa(r.parent)||Wb(r.parent)))return mi(r).hasReportedStatementInAmbientContext=Pu(r,v.An_implementation_cannot_be_declared_in_ambient_contexts);if(r.parent.kind===240||r.parent.kind===267||r.parent.kind===311){const _=mi(r.parent);if(!_.hasReportedStatementInAmbientContext)return _.hasReportedStatementInAmbientContext=Pu(r,v.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function Che(r){const c=iu(r).indexOf(".")!==-1,_=r.numericLiteralFlags&16;c||_||+r.text<=9007199254740991||Tg(!1,ei(r,v.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}function gEt(r){return!!(!(n2(r.parent)||i2(r.parent)&&n2(r.parent.parent))&&he<7&&Fr(r,v.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))}function yEt(r,c,..._){const m=pn(r);if(!nT(m)){const b=eg(m,r.pos);return Do.add(vu(m,af(b),0,c,..._)),!0}return!1}function vEt(){return ic||(ic=[],et.forEach((r,c)=>{dz.test(c)&&ic.push(r)})),ic}function bEt(r){var c;return r.isTypeOnly&&r.name&&r.namedBindings?Fr(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)===274?WBe(r.namedBindings):!1}function WBe(r){return!!te(r.elements,c=>{if(c.isTypeOnly)return Pu(c,c.kind===275?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 TEt(r){if(Q.verbatimModuleSyntax&&W===1)return Fr(r,v.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(W===5)return Fr(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 Fr(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(W!==99&&W!==199&&W!==100&&(lC(c),c.length>1)){const m=c[1];return Fr(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 Fr(r,v.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments);const _=Ve(c,lg);return _?Fr(_,v.Argument_of_dynamic_import_cannot_be_spread_element):!1}function SEt(r,c){const _=vi(r);if(_&20&&c.flags&1048576)return Ve(c.types,m=>{if(m.flags&524288){const b=_&vi(m);if(b&4)return r.target===m.target;if(b&16)return!!r.aliasSymbol&&r.aliasSymbol===m.aliasSymbol}return!1})}function xEt(r,c){if(vi(r)&128&&O0(c,ev))return Ve(c.types,_=>!ev(_))}function kEt(r,c){let _=0;if(Ca(r,_).length>0||(_=1,Ca(r,_).length>0))return Ve(c.types,b=>Ca(b,_).length>0)}function CEt(r,c){let _;if(!(r.flags&406978556)){let m=0;for(const b of c.types)if(!(b.flags&406978556)){const x=co([Km(r),Km(b)]);if(x.flags&4194304)return b;if(bm(x)||x.flags&1048576){const P=x.flags&1048576?Sn(x.types,bm):1;P>=m&&(_=b,m=P)}}}return _}function wEt(r){if(Yc(r,67108864)){const c=tu(r,_=>!(_.flags&402784252));if(!(c.flags&131072))return c}return r}function HBe(r,c,_){if(c.flags&1048576&&r.flags&2621440){const m=_Me(c,r);if(m)return m;const b=zo(r);if(b){const x=fMe(b,c);if(x){const P=fde(c,qt(x,J=>[()=>bn(J),J.escapedName]),_);if(P!==c)return P}}}}function EEt(r){const c=Zb(r);return c||(Ho(r)&&kl(r.expression)?lMe(r.expression):void 0)}}function wet(e){return!Wb(e)}function Gwe(e){return e.kind!==261&&e.kind!==173||!!e.body}function Xwe(e){switch(e.parent.kind){case 275:case 280:return He(e);default:return Yy(e)}}function Qwe(e){switch(e){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function kf(e){return!!(e.flags&1)}function vie(e){return!!(e.flags&2)}function Eet(e){return{getCommonSourceDirectory:e.getCommonSourceDirectory?()=>e.getCommonSourceDirectory():()=>"",getCurrentDirectory:()=>e.getCurrentDirectory(),getSymlinkCache:no(e,e.getSymlinkCache),getPackageJsonInfoCache:()=>{var t;return(t=e.getPackageJsonInfoCache)==null?void 0:t.call(e)},useCaseSensitiveFileNames:no(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 dz,c9,bie,Tie,Sie,xie,mz,hz,gz,yz,Ywe,l9,kie,Lp,u9,Aet=p({"src/compiler/checker.ts"(){Ba(),gie(),TT(),dz=/^".+"$/,c9="(anonymous)",bie=1,Tie=1,Sie=1,xie=1,mz=(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))(mz||{}),hz=new Map(Object.entries({string:256,number:512,bigint:1024,boolean:2048,symbol:4096,undefined:524288,object:8192,function:16384})),gz=(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))(gz||{}),yz=(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))(yz||{}),Ywe=mB(Gwe,wet),l9=new Map(Object.entries({Uppercase:0,Lowercase:1,Capitalize:2,Uncapitalize:3})),kie=class{},(e=>{e.JSX="JSX",e.IntrinsicElements="IntrinsicElements",e.ElementClass="ElementClass",e.ElementAttributesPropertyNameContainer="ElementAttributesProperty",e.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",e.Element="Element",e.ElementType="ElementType",e.IntrinsicAttributes="IntrinsicAttributes",e.IntrinsicClassAttributes="IntrinsicClassAttributes",e.LibraryManagedAttributes="LibraryManagedAttributes"})(Lp||(Lp={})),u9=class{constructor(e,t,n){this.moduleResolverHost=void 0,this.inner=void 0,this.disableTrackSymbol=!1;for(var s;t instanceof u9;)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 ct(e,t,n,s){if(e===void 0)return e;const l=t(e);let f;if(l!==void 0)return ka(l)?f=(s||Oet)(l):f=l,R.assertNode(f,n),f}function cn(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=Zwe(e,t,n,s,l);if(k!==e){const T=V.createNodeArray(k,d);return ag(T,g,h),T}return e}function Cie(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),Zwe(e,t,n,s,l)}function Zwe(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(ka(k))for(const T of k)R.assertNode(T,n),f.push(T);else R.assertNode(k,n),f.push(k)}return f||(R.assertEachNode(e,n),e)}function vz(e,t,n,s,l,f=cn){return n.startLexicalEnvironment(),e=f(e,t,Vs,s),l&&(e=n.factory.ensureUseStrict(e)),V.mergeLexicalEnvironment(e,n.endLexicalEnvironment())}function Rl(e,t,n,s=cn){let l;return n.startLexicalEnvironment(),e&&(n.setLexicalEnvironmentFlags(1,!0),l=s(e,t,ea),n.getLexicalEnvironmentFlags()&2&&Eo(n.getCompilerOptions())>=2&&(l=Pet(l,n)),n.setLexicalEnvironmentFlags(1,!1)),n.suspendLexicalEnvironment(),l}function Pet(e,t){let n;for(let s=0;s<e.length;s++){const l=e[s],f=Det(l,t);(n||f!==l)&&(n||(n=e.slice(0,s)),n[s]=f)}return n?wt(t.factory.createNodeArray(n,e.hasTrailingComma),e):e}function Det(e,t){return e.dotDotDotToken?e:Fa(e.name)?Net(e,t):e.initializer?Iet(e,e.name,e.initializer,t):e}function Net(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 Iet(e,t,n,s){const l=s.factory;return s.addInitializationStatement(l.createIfStatement(l.createTypeCheck(l.cloneNode(t),"undefined"),An(wt(l.createBlock([l.createExpressionStatement(An(wt(l.createAssignment(An(l.cloneNode(t),96),An(n,96|xo(n)|3072)),e),3072))]),e),3905))),l.updateParameterDeclaration(e,e.modifiers,e.dotDotDotToken,e.name,e.questionToken,e.type,void 0)}function Xp(e,t,n,s=ct){n.resumeLexicalEnvironment();const l=s(e,t,oj),f=n.endLexicalEnvironment();if(Ne(f)){if(!l)return n.factory.createBlock(f);const d=n.factory.converters.convertToFunctionBlock(l),g=V.mergeLexicalEnvironment(d.statements,f);return n.factory.updateBlock(d,g)}return l}function l_(e,t,n,s=ct){n.startBlockScope();const l=s(e,t,Vs,n.factory.liftToBlock);R.assert(l);const f=n.endBlockScope();return Ne(f)?Pa(l)?(f.push(...l.statements),n.factory.updateBlock(l,f)):(f.push(l),n.factory.createBlock(f)):l}function f9(e,t,n=t){if(n===t||e.length<=1)return cn(e,t,Ct);let s=0;const l=e.length;return cn(e,f=>{const d=s<l-1;return s++,d?n(f):t(f)},Ct)}function Kr(e,t,n,s=cn,l,f=ct){if(e===void 0)return;const d=Kwe[e.kind];return d===void 0?e:d(e,t,n,s,f,l)}function Oet(e){return R.assert(e.length<=1,"Too many nodes written to output."),$h(e)}var Kwe,Let=p({"src/compiler/visitorPublic.ts"(){Ba(),Kwe={[165]:function(t,n,s,l,f,d){return s.factory.updateQualifiedName(t,R.checkDefined(f(t.left,n,wp)),R.checkDefined(f(t.right,n,He)))},[166]:function(t,n,s,l,f,d){return s.factory.updateComputedPropertyName(t,R.checkDefined(f(t.expression,n,Ct)))},[167]:function(t,n,s,l,f,d){return s.factory.updateTypeParameterDeclaration(t,l(t.modifiers,n,Ha),R.checkDefined(f(t.name,n,He)),f(t.constraint,n,ys),f(t.default,n,ys))},[168]:function(t,n,s,l,f,d){return s.factory.updateParameterDeclaration(t,l(t.modifiers,n,Mc),d?f(t.dotDotDotToken,d,fU):t.dotDotDotToken,R.checkDefined(f(t.name,n,qg)),d?f(t.questionToken,d,Lv):t.questionToken,f(t.type,n,ys),f(t.initializer,n,Ct))},[169]:function(t,n,s,l,f,d){return s.factory.updateDecorator(t,R.checkDefined(f(t.expression,n,Ct)))},[170]:function(t,n,s,l,f,d){return s.factory.updatePropertySignature(t,l(t.modifiers,n,Ha),R.checkDefined(f(t.name,n,sl)),d?f(t.questionToken,d,Lv):t.questionToken,f(t.type,n,ys))},[171]:function(t,n,s,l,f,d){return s.factory.updatePropertyDeclaration(t,l(t.modifiers,n,Mc),R.checkDefined(f(t.name,n,sl)),d?f(t.questionToken??t.exclamationToken,d,Ske):t.questionToken??t.exclamationToken,f(t.type,n,ys),f(t.initializer,n,Ct))},[172]:function(t,n,s,l,f,d){return s.factory.updateMethodSignature(t,l(t.modifiers,n,Ha),R.checkDefined(f(t.name,n,sl)),d?f(t.questionToken,d,Lv):t.questionToken,l(t.typeParameters,n,qc),l(t.parameters,n,ea),f(t.type,n,ys))},[173]:function(t,n,s,l,f,d){return s.factory.updateMethodDeclaration(t,l(t.modifiers,n,Mc),d?f(t.asteriskToken,d,mO):t.asteriskToken,R.checkDefined(f(t.name,n,sl)),d?f(t.questionToken,d,Lv):t.questionToken,l(t.typeParameters,n,qc),Rl(t.parameters,n,s,l),f(t.type,n,ys),Xp(t.body,n,s,f))},[175]:function(t,n,s,l,f,d){return s.factory.updateConstructorDeclaration(t,l(t.modifiers,n,Mc),Rl(t.parameters,n,s,l),Xp(t.body,n,s,f))},[176]:function(t,n,s,l,f,d){return s.factory.updateGetAccessorDeclaration(t,l(t.modifiers,n,Mc),R.checkDefined(f(t.name,n,sl)),Rl(t.parameters,n,s,l),f(t.type,n,ys),Xp(t.body,n,s,f))},[177]:function(t,n,s,l,f,d){return s.factory.updateSetAccessorDeclaration(t,l(t.modifiers,n,Mc),R.checkDefined(f(t.name,n,sl)),Rl(t.parameters,n,s,l),Xp(t.body,n,s,f))},[174]:function(t,n,s,l,f,d){return s.startLexicalEnvironment(),s.suspendLexicalEnvironment(),s.factory.updateClassStaticBlockDeclaration(t,Xp(t.body,n,s,f))},[178]:function(t,n,s,l,f,d){return s.factory.updateCallSignature(t,l(t.typeParameters,n,qc),l(t.parameters,n,ea),f(t.type,n,ys))},[179]:function(t,n,s,l,f,d){return s.factory.updateConstructSignature(t,l(t.typeParameters,n,qc),l(t.parameters,n,ea),f(t.type,n,ys))},[180]:function(t,n,s,l,f,d){return s.factory.updateIndexSignature(t,l(t.modifiers,n,Mc),l(t.parameters,n,ea),R.checkDefined(f(t.type,n,ys)))},[181]:function(t,n,s,l,f,d){return s.factory.updateTypePredicateNode(t,f(t.assertsModifier,n,Vxe),R.checkDefined(f(t.parameterName,n,xke)),f(t.type,n,ys))},[182]:function(t,n,s,l,f,d){return s.factory.updateTypeReferenceNode(t,R.checkDefined(f(t.typeName,n,wp)),l(t.typeArguments,n,ys))},[183]:function(t,n,s,l,f,d){return s.factory.updateFunctionTypeNode(t,l(t.typeParameters,n,qc),l(t.parameters,n,ea),R.checkDefined(f(t.type,n,ys)))},[184]:function(t,n,s,l,f,d){return s.factory.updateConstructorTypeNode(t,l(t.modifiers,n,Ha),l(t.typeParameters,n,qc),l(t.parameters,n,ea),R.checkDefined(f(t.type,n,ys)))},[185]:function(t,n,s,l,f,d){return s.factory.updateTypeQueryNode(t,R.checkDefined(f(t.exprName,n,wp)),l(t.typeArguments,n,ys))},[186]:function(t,n,s,l,f,d){return s.factory.updateTypeLiteralNode(t,l(t.members,n,wx))},[187]:function(t,n,s,l,f,d){return s.factory.updateArrayTypeNode(t,R.checkDefined(f(t.elementType,n,ys)))},[188]:function(t,n,s,l,f,d){return s.factory.updateTupleTypeNode(t,l(t.elements,n,ys))},[189]:function(t,n,s,l,f,d){return s.factory.updateOptionalTypeNode(t,R.checkDefined(f(t.type,n,ys)))},[190]:function(t,n,s,l,f,d){return s.factory.updateRestTypeNode(t,R.checkDefined(f(t.type,n,ys)))},[191]:function(t,n,s,l,f,d){return s.factory.updateUnionTypeNode(t,l(t.types,n,ys))},[192]:function(t,n,s,l,f,d){return s.factory.updateIntersectionTypeNode(t,l(t.types,n,ys))},[193]:function(t,n,s,l,f,d){return s.factory.updateConditionalTypeNode(t,R.checkDefined(f(t.checkType,n,ys)),R.checkDefined(f(t.extendsType,n,ys)),R.checkDefined(f(t.trueType,n,ys)),R.checkDefined(f(t.falseType,n,ys)))},[194]:function(t,n,s,l,f,d){return s.factory.updateInferTypeNode(t,R.checkDefined(f(t.typeParameter,n,qc)))},[204]:function(t,n,s,l,f,d){return s.factory.updateImportTypeNode(t,R.checkDefined(f(t.argument,n,ys)),f(t.assertions,n,eke),f(t.qualifier,n,wp),l(t.typeArguments,n,ys),t.isTypeOf)},[301]:function(t,n,s,l,f,d){return s.factory.updateImportTypeAssertionContainer(t,R.checkDefined(f(t.assertClause,n,vU)),t.multiLine)},[201]:function(t,n,s,l,f,d){return s.factory.updateNamedTupleMember(t,d?f(t.dotDotDotToken,d,fU):t.dotDotDotToken,R.checkDefined(f(t.name,n,He)),d?f(t.questionToken,d,Lv):t.questionToken,R.checkDefined(f(t.type,n,ys)))},[195]:function(t,n,s,l,f,d){return s.factory.updateParenthesizedType(t,R.checkDefined(f(t.type,n,ys)))},[197]:function(t,n,s,l,f,d){return s.factory.updateTypeOperatorNode(t,R.checkDefined(f(t.type,n,ys)))},[198]:function(t,n,s,l,f,d){return s.factory.updateIndexedAccessTypeNode(t,R.checkDefined(f(t.objectType,n,ys)),R.checkDefined(f(t.indexType,n,ys)))},[199]:function(t,n,s,l,f,d){return s.factory.updateMappedTypeNode(t,d?f(t.readonlyToken,d,kke):t.readonlyToken,R.checkDefined(f(t.typeParameter,n,qc)),f(t.nameType,n,ys),d?f(t.questionToken,d,Cke):t.questionToken,f(t.type,n,ys),l(t.members,n,wx))},[200]:function(t,n,s,l,f,d){return s.factory.updateLiteralTypeNode(t,R.checkDefined(f(t.literal,n,C2e)))},[202]:function(t,n,s,l,f,d){return s.factory.updateTemplateLiteralType(t,R.checkDefined(f(t.head,n,I4)),l(t.templateSpans,n,Xxe))},[203]:function(t,n,s,l,f,d){return s.factory.updateTemplateLiteralTypeSpan(t,R.checkDefined(f(t.type,n,ys)),R.checkDefined(f(t.literal,n,rj)))},[205]:function(t,n,s,l,f,d){return s.factory.updateObjectBindingPattern(t,l(t.elements,n,Lo))},[206]:function(t,n,s,l,f,d){return s.factory.updateArrayBindingPattern(t,l(t.elements,n,sj))},[207]:function(t,n,s,l,f,d){return s.factory.updateBindingElement(t,d?f(t.dotDotDotToken,d,fU):t.dotDotDotToken,f(t.propertyName,n,sl),R.checkDefined(f(t.name,n,qg)),f(t.initializer,n,Ct))},[208]:function(t,n,s,l,f,d){return s.factory.updateArrayLiteralExpression(t,l(t.elements,n,Ct))},[209]:function(t,n,s,l,f,d){return s.factory.updateObjectLiteralExpression(t,l(t.properties,n,n1))},[210]:function(t,n,s,l,f,d){return ZB(t)?s.factory.updatePropertyAccessChain(t,R.checkDefined(f(t.expression,n,Ct)),d?f(t.questionDotToken,d,_U):t.questionDotToken,R.checkDefined(f(t.name,n,qy))):s.factory.updatePropertyAccessExpression(t,R.checkDefined(f(t.expression,n,Ct)),R.checkDefined(f(t.name,n,qy)))},[211]:function(t,n,s,l,f,d){return jK(t)?s.factory.updateElementAccessChain(t,R.checkDefined(f(t.expression,n,Ct)),d?f(t.questionDotToken,d,_U):t.questionDotToken,R.checkDefined(f(t.argumentExpression,n,Ct))):s.factory.updateElementAccessExpression(t,R.checkDefined(f(t.expression,n,Ct)),R.checkDefined(f(t.argumentExpression,n,Ct)))},[212]:function(t,n,s,l,f,d){return kx(t)?s.factory.updateCallChain(t,R.checkDefined(f(t.expression,n,Ct)),d?f(t.questionDotToken,d,_U):t.questionDotToken,l(t.typeArguments,n,ys),l(t.arguments,n,Ct)):s.factory.updateCallExpression(t,R.checkDefined(f(t.expression,n,Ct)),l(t.typeArguments,n,ys),l(t.arguments,n,Ct))},[213]:function(t,n,s,l,f,d){return s.factory.updateNewExpression(t,R.checkDefined(f(t.expression,n,Ct)),l(t.typeArguments,n,ys),l(t.arguments,n,Ct))},[214]:function(t,n,s,l,f,d){return s.factory.updateTaggedTemplateExpression(t,R.checkDefined(f(t.tag,n,Ct)),l(t.typeArguments,n,ys),R.checkDefined(f(t.template,n,z6)))},[215]:function(t,n,s,l,f,d){return s.factory.updateTypeAssertion(t,R.checkDefined(f(t.type,n,ys)),R.checkDefined(f(t.expression,n,Ct)))},[216]:function(t,n,s,l,f,d){return s.factory.updateParenthesizedExpression(t,R.checkDefined(f(t.expression,n,Ct)))},[217]:function(t,n,s,l,f,d){return s.factory.updateFunctionExpression(t,l(t.modifiers,n,Ha),d?f(t.asteriskToken,d,mO):t.asteriskToken,f(t.name,n,He),l(t.typeParameters,n,qc),Rl(t.parameters,n,s,l),f(t.type,n,ys),Xp(t.body,n,s,f))},[218]:function(t,n,s,l,f,d){return s.factory.updateArrowFunction(t,l(t.modifiers,n,Ha),l(t.typeParameters,n,qc),Rl(t.parameters,n,s,l),f(t.type,n,ys),d?R.checkDefined(f(t.equalsGreaterThanToken,d,Uxe)):t.equalsGreaterThanToken,Xp(t.body,n,s,f))},[219]:function(t,n,s,l,f,d){return s.factory.updateDeleteExpression(t,R.checkDefined(f(t.expression,n,Ct)))},[220]:function(t,n,s,l,f,d){return s.factory.updateTypeOfExpression(t,R.checkDefined(f(t.expression,n,Ct)))},[221]:function(t,n,s,l,f,d){return s.factory.updateVoidExpression(t,R.checkDefined(f(t.expression,n,Ct)))},[222]:function(t,n,s,l,f,d){return s.factory.updateAwaitExpression(t,R.checkDefined(f(t.expression,n,Ct)))},[223]:function(t,n,s,l,f,d){return s.factory.updatePrefixUnaryExpression(t,R.checkDefined(f(t.operand,n,Ct)))},[224]:function(t,n,s,l,f,d){return s.factory.updatePostfixUnaryExpression(t,R.checkDefined(f(t.operand,n,Ct)))},[225]:function(t,n,s,l,f,d){return s.factory.updateBinaryExpression(t,R.checkDefined(f(t.left,n,Ct)),d?R.checkDefined(f(t.operatorToken,d,Eke)):t.operatorToken,R.checkDefined(f(t.right,n,Ct)))},[226]:function(t,n,s,l,f,d){return s.factory.updateConditionalExpression(t,R.checkDefined(f(t.condition,n,Ct)),d?R.checkDefined(f(t.questionToken,d,Lv)):t.questionToken,R.checkDefined(f(t.whenTrue,n,Ct)),d?R.checkDefined(f(t.colonToken,d,Jxe)):t.colonToken,R.checkDefined(f(t.whenFalse,n,Ct)))},[227]:function(t,n,s,l,f,d){return s.factory.updateTemplateExpression(t,R.checkDefined(f(t.head,n,I4)),l(t.templateSpans,n,kD))},[228]:function(t,n,s,l,f,d){return s.factory.updateYieldExpression(t,d?f(t.asteriskToken,d,mO):t.asteriskToken,f(t.expression,n,Ct))},[229]:function(t,n,s,l,f,d){return s.factory.updateSpreadElement(t,R.checkDefined(f(t.expression,n,Ct)))},[230]:function(t,n,s,l,f,d){return s.factory.updateClassExpression(t,l(t.modifiers,n,Mc),f(t.name,n,He),l(t.typeParameters,n,qc),l(t.heritageClauses,n,sp),l(t.members,n,Mu))},[232]:function(t,n,s,l,f,d){return s.factory.updateExpressionWithTypeArguments(t,R.checkDefined(f(t.expression,n,Ct)),l(t.typeArguments,n,ys))},[233]:function(t,n,s,l,f,d){return s.factory.updateAsExpression(t,R.checkDefined(f(t.expression,n,Ct)),R.checkDefined(f(t.type,n,ys)))},[237]:function(t,n,s,l,f,d){return s.factory.updateSatisfiesExpression(t,R.checkDefined(f(t.expression,n,Ct)),R.checkDefined(f(t.type,n,ys)))},[234]:function(t,n,s,l,f,d){return Tf(t)?s.factory.updateNonNullChain(t,R.checkDefined(f(t.expression,n,Ct))):s.factory.updateNonNullExpression(t,R.checkDefined(f(t.expression,n,Ct)))},[235]:function(t,n,s,l,f,d){return s.factory.updateMetaProperty(t,R.checkDefined(f(t.name,n,He)))},[238]:function(t,n,s,l,f,d){return s.factory.updateTemplateSpan(t,R.checkDefined(f(t.expression,n,Ct)),R.checkDefined(f(t.literal,n,rj)))},[240]:function(t,n,s,l,f,d){return s.factory.updateBlock(t,l(t.statements,n,Vs))},[242]:function(t,n,s,l,f,d){return s.factory.updateVariableStatement(t,l(t.modifiers,n,Mc),R.checkDefined(f(t.declarationList,n,Tu)))},[243]:function(t,n,s,l,f,d){return s.factory.updateExpressionStatement(t,R.checkDefined(f(t.expression,n,Ct)))},[244]:function(t,n,s,l,f,d){return s.factory.updateIfStatement(t,R.checkDefined(f(t.expression,n,Ct)),R.checkDefined(f(t.thenStatement,n,Vs,s.factory.liftToBlock)),f(t.elseStatement,n,Vs,s.factory.liftToBlock))},[245]:function(t,n,s,l,f,d){return s.factory.updateDoStatement(t,l_(t.statement,n,s,f),R.checkDefined(f(t.expression,n,Ct)))},[246]:function(t,n,s,l,f,d){return s.factory.updateWhileStatement(t,R.checkDefined(f(t.expression,n,Ct)),l_(t.statement,n,s,f))},[247]:function(t,n,s,l,f,d){return s.factory.updateForStatement(t,f(t.initializer,n,ld),f(t.condition,n,Ct),f(t.incrementor,n,Ct),l_(t.statement,n,s,f))},[248]:function(t,n,s,l,f,d){return s.factory.updateForInStatement(t,R.checkDefined(f(t.initializer,n,ld)),R.checkDefined(f(t.expression,n,Ct)),l_(t.statement,n,s,f))},[249]:function(t,n,s,l,f,d){return s.factory.updateForOfStatement(t,d?f(t.awaitModifier,d,Fre):t.awaitModifier,R.checkDefined(f(t.initializer,n,ld)),R.checkDefined(f(t.expression,n,Ct)),l_(t.statement,n,s,f))},[250]:function(t,n,s,l,f,d){return s.factory.updateContinueStatement(t,f(t.label,n,He))},[251]:function(t,n,s,l,f,d){return s.factory.updateBreakStatement(t,f(t.label,n,He))},[252]:function(t,n,s,l,f,d){return s.factory.updateReturnStatement(t,f(t.expression,n,Ct))},[253]:function(t,n,s,l,f,d){return s.factory.updateWithStatement(t,R.checkDefined(f(t.expression,n,Ct)),R.checkDefined(f(t.statement,n,Vs,s.factory.liftToBlock)))},[254]:function(t,n,s,l,f,d){return s.factory.updateSwitchStatement(t,R.checkDefined(f(t.expression,n,Ct)),R.checkDefined(f(t.caseBlock,n,CD)))},[255]:function(t,n,s,l,f,d){return s.factory.updateLabeledStatement(t,R.checkDefined(f(t.label,n,He)),R.checkDefined(f(t.statement,n,Vs,s.factory.liftToBlock)))},[256]:function(t,n,s,l,f,d){return s.factory.updateThrowStatement(t,R.checkDefined(f(t.expression,n,Ct)))},[257]:function(t,n,s,l,f,d){return s.factory.updateTryStatement(t,R.checkDefined(f(t.tryBlock,n,Pa)),f(t.catchClause,n,j4),f(t.finallyBlock,n,Pa))},[259]:function(t,n,s,l,f,d){return s.factory.updateVariableDeclaration(t,R.checkDefined(f(t.name,n,qg)),d?f(t.exclamationToken,d,hO):t.exclamationToken,f(t.type,n,ys),f(t.initializer,n,Ct))},[260]:function(t,n,s,l,f,d){return s.factory.updateVariableDeclarationList(t,l(t.declarations,n,bs))},[261]:function(t,n,s,l,f,d){return s.factory.updateFunctionDeclaration(t,l(t.modifiers,n,Ha),d?f(t.asteriskToken,d,mO):t.asteriskToken,f(t.name,n,He),l(t.typeParameters,n,qc),Rl(t.parameters,n,s,l),f(t.type,n,ys),Xp(t.body,n,s,f))},[262]:function(t,n,s,l,f,d){return s.factory.updateClassDeclaration(t,l(t.modifiers,n,Mc),f(t.name,n,He),l(t.typeParameters,n,qc),l(t.heritageClauses,n,sp),l(t.members,n,Mu))},[263]:function(t,n,s,l,f,d){return s.factory.updateInterfaceDeclaration(t,l(t.modifiers,n,Mc),R.checkDefined(f(t.name,n,He)),l(t.typeParameters,n,qc),l(t.heritageClauses,n,sp),l(t.members,n,wx))},[264]:function(t,n,s,l,f,d){return s.factory.updateTypeAliasDeclaration(t,l(t.modifiers,n,Mc),R.checkDefined(f(t.name,n,He)),l(t.typeParameters,n,qc),R.checkDefined(f(t.type,n,ys)))},[265]:function(t,n,s,l,f,d){return s.factory.updateEnumDeclaration(t,l(t.modifiers,n,Mc),R.checkDefined(f(t.name,n,He)),l(t.members,n,KT))},[266]:function(t,n,s,l,f,d){return s.factory.updateModuleDeclaration(t,l(t.modifiers,n,Mc),R.checkDefined(f(t.name,n,wke)),f(t.body,n,A2e))},[267]:function(t,n,s,l,f,d){return s.factory.updateModuleBlock(t,l(t.statements,n,Vs))},[268]:function(t,n,s,l,f,d){return s.factory.updateCaseBlock(t,l(t.clauses,n,uj))},[269]:function(t,n,s,l,f,d){return s.factory.updateNamespaceExportDeclaration(t,R.checkDefined(f(t.name,n,He)))},[270]:function(t,n,s,l,f,d){return s.factory.updateImportEqualsDeclaration(t,l(t.modifiers,n,Mc),t.isTypeOnly,R.checkDefined(f(t.name,n,He)),R.checkDefined(f(t.moduleReference,n,N2e)))},[271]:function(t,n,s,l,f,d){return s.factory.updateImportDeclaration(t,l(t.modifiers,n,Mc),f(t.importClause,n,ug),R.checkDefined(f(t.moduleSpecifier,n,Ct)),f(t.assertClause,n,vU))},[299]:function(t,n,s,l,f,d){return s.factory.updateAssertClause(t,l(t.elements,n,tke),t.multiLine)},[300]:function(t,n,s,l,f,d){return s.factory.updateAssertEntry(t,R.checkDefined(f(t.name,n,d2e)),R.checkDefined(f(t.value,n,Ct)))},[272]:function(t,n,s,l,f,d){return s.factory.updateImportClause(t,t.isTypeOnly,f(t.name,n,He),f(t.namedBindings,n,ZK))},[273]:function(t,n,s,l,f,d){return s.factory.updateNamespaceImport(t,R.checkDefined(f(t.name,n,He)))},[279]:function(t,n,s,l,f,d){return s.factory.updateNamespaceExport(t,R.checkDefined(f(t.name,n,He)))},[274]:function(t,n,s,l,f,d){return s.factory.updateNamedImports(t,l(t.elements,n,J_))},[275]:function(t,n,s,l,f,d){return s.factory.updateImportSpecifier(t,t.isTypeOnly,f(t.propertyName,n,He),R.checkDefined(f(t.name,n,He)))},[276]:function(t,n,s,l,f,d){return s.factory.updateExportAssignment(t,l(t.modifiers,n,Mc),R.checkDefined(f(t.expression,n,Ct)))},[277]:function(t,n,s,l,f,d){return s.factory.updateExportDeclaration(t,l(t.modifiers,n,Mc),t.isTypeOnly,f(t.exportClause,n,UK),f(t.moduleSpecifier,n,Ct),f(t.assertClause,n,vU))},[278]:function(t,n,s,l,f,d){return s.factory.updateNamedExports(t,l(t.elements,n,T_))},[280]:function(t,n,s,l,f,d){return s.factory.updateExportSpecifier(t,t.isTypeOnly,f(t.propertyName,n,He),R.checkDefined(f(t.name,n,He)))},[282]:function(t,n,s,l,f,d){return s.factory.updateExternalModuleReference(t,R.checkDefined(f(t.expression,n,Ct)))},[283]:function(t,n,s,l,f,d){return s.factory.updateJsxElement(t,R.checkDefined(f(t.openingElement,n,vh)),l(t.children,n,WI),R.checkDefined(f(t.closingElement,n,XT)))},[284]:function(t,n,s,l,f,d){return s.factory.updateJsxSelfClosingElement(t,R.checkDefined(f(t.tagName,n,vP)),l(t.typeArguments,n,ys),R.checkDefined(f(t.attributes,n,YT)))},[285]:function(t,n,s,l,f,d){return s.factory.updateJsxOpeningElement(t,R.checkDefined(f(t.tagName,n,vP)),l(t.typeArguments,n,ys),R.checkDefined(f(t.attributes,n,YT)))},[286]:function(t,n,s,l,f,d){return s.factory.updateJsxClosingElement(t,R.checkDefined(f(t.tagName,n,vP)))},[294]:function(t,n,s,l,f,d){return s.factory.updateJsxNamespacedName(t,R.checkDefined(f(t.namespace,n,He)),R.checkDefined(f(t.name,n,He)))},[287]:function(t,n,s,l,f,d){return s.factory.updateJsxFragment(t,R.checkDefined(f(t.openingFragment,n,Rw)),l(t.children,n,WI),R.checkDefined(f(t.closingFragment,n,rke)))},[290]:function(t,n,s,l,f,d){return s.factory.updateJsxAttribute(t,R.checkDefined(f(t.name,n,exe)),f(t.initializer,n,I2e))},[291]:function(t,n,s,l,f,d){return s.factory.updateJsxAttributes(t,l(t.properties,n,lj))},[292]:function(t,n,s,l,f,d){return s.factory.updateJsxSpreadAttribute(t,R.checkDefined(f(t.expression,n,Ct)))},[293]:function(t,n,s,l,f,d){return s.factory.updateJsxExpression(t,f(t.expression,n,Ct))},[295]:function(t,n,s,l,f,d){return s.factory.updateCaseClause(t,R.checkDefined(f(t.expression,n,Ct)),l(t.statements,n,Vs))},[296]:function(t,n,s,l,f,d){return s.factory.updateDefaultClause(t,l(t.statements,n,Vs))},[297]:function(t,n,s,l,f,d){return s.factory.updateHeritageClause(t,l(t.types,n,p1))},[298]:function(t,n,s,l,f,d){return s.factory.updateCatchClause(t,f(t.variableDeclaration,n,bs),R.checkDefined(f(t.block,n,Pa)))},[302]:function(t,n,s,l,f,d){return s.factory.updatePropertyAssignment(t,R.checkDefined(f(t.name,n,sl)),R.checkDefined(f(t.initializer,n,Ct)))},[303]:function(t,n,s,l,f,d){return s.factory.updateShorthandPropertyAssignment(t,R.checkDefined(f(t.name,n,He)),f(t.objectAssignmentInitializer,n,Ct))},[304]:function(t,n,s,l,f,d){return s.factory.updateSpreadAssignment(t,R.checkDefined(f(t.expression,n,Ct)))},[305]:function(t,n,s,l,f,d){return s.factory.updateEnumMember(t,R.checkDefined(f(t.name,n,sl)),f(t.initializer,n,Ct))},[311]:function(t,n,s,l,f,d){return s.factory.updateSourceFile(t,vz(t.statements,n,s))},[359]:function(t,n,s,l,f,d){return s.factory.updatePartiallyEmittedExpression(t,R.checkDefined(f(t.expression,n,Ct)))},[360]:function(t,n,s,l,f,d){return s.factory.updateCommaListExpression(t,l(t.elements,n,Ct))}}}});function eEe(e,t,n,s,l){var{enter:f,exit:d}=l.extendedDiagnostics?bB("Source Map","beforeSourcemap","afterSourcemap"):TB,g=[],h=[],k=new Map,T,C=[],D,O=[],M="",U=0,B=0,H=0,Y=0,Z=0,fe=0,Q=!1,he=0,W=0,ye=0,de=0,Ce=0,K=0,ce=!1,le=!1,xe=!1;return{getSources:()=>g,addSource:we,setSourceContent:Ie,addName:ue,addMapping:qe,appendSourceMap:Ke,toJSON:je,toString:()=>JSON.stringify(je())};function we(Lt){f();const Dt=QC(s,Lt,e.getCurrentDirectory(),e.getCanonicalFileName,!0);let Xt=k.get(Dt);return Xt===void 0&&(Xt=h.length,h.push(Dt),g.push(Lt),k.set(Dt,Xt)),d(),Xt}function Ie(Lt,Dt){if(f(),Dt!==null){for(T||(T=[]);T.length<Lt;)T.push(null);T[Lt]=Dt}d()}function ue(Lt){f(),D||(D=new Map);let Dt=D.get(Lt);return Dt===void 0&&(Dt=C.length,C.push(Lt),D.set(Lt,Dt)),d(),Dt}function ut(Lt,Dt){return!ce||he!==Lt||W!==Dt}function Ge(Lt,Dt,Xt){return Lt!==void 0&&Dt!==void 0&&Xt!==void 0&&ye===Lt&&(de>Dt||de===Dt&&Ce>Xt)}function qe(Lt,Dt,Xt,Ye,Bt,vr){R.assert(Lt>=he,"generatedLine cannot backtrack"),R.assert(Dt>=0,"generatedCharacter cannot be negative"),R.assert(Xt===void 0||Xt>=0,"sourceIndex cannot be negative"),R.assert(Ye===void 0||Ye>=0,"sourceLine cannot be negative"),R.assert(Bt===void 0||Bt>=0,"sourceCharacter cannot be negative"),f(),(ut(Lt,Dt)||Ge(Xt,Ye,Bt))&&(st(),he=Lt,W=Dt,le=!1,xe=!1,ce=!0),Xt!==void 0&&Ye!==void 0&&Bt!==void 0&&(ye=Xt,de=Ye,Ce=Bt,le=!0,vr!==void 0&&(K=vr,xe=!0)),d()}function Ke(Lt,Dt,Xt,Ye,Bt,vr){R.assert(Lt>=he,"generatedLine cannot backtrack"),R.assert(Dt>=0,"generatedCharacter cannot be negative"),f();const Ar=[];let Ht;const tn=Eie(Xt.mappings);for(const hn of tn){if(vr&&(hn.generatedLine>vr.line||hn.generatedLine===vr.line&&hn.generatedCharacter>vr.character))break;if(Bt&&(hn.generatedLine<Bt.line||Bt.line===hn.generatedLine&&hn.generatedCharacter<Bt.character))continue;let Br,Cn,ci,Ji;if(hn.sourceIndex!==void 0){if(Br=Ar[hn.sourceIndex],Br===void 0){const Kt=Xt.sources[hn.sourceIndex],Qr=Xt.sourceRoot?vs(Xt.sourceRoot,Kt):Kt,_n=vs(cs(Ye),Qr);Ar[hn.sourceIndex]=Br=we(_n),Xt.sourcesContent&&typeof Xt.sourcesContent[hn.sourceIndex]=="string"&&Ie(Br,Xt.sourcesContent[hn.sourceIndex])}Cn=hn.sourceLine,ci=hn.sourceCharacter,Xt.names&&hn.nameIndex!==void 0&&(Ht||(Ht=[]),Ji=Ht[hn.nameIndex],Ji===void 0&&(Ht[hn.nameIndex]=Ji=ue(Xt.names[hn.nameIndex])))}const ws=hn.generatedLine-(Bt?Bt.line:0),ui=ws+Lt,Pt=Bt&&Bt.line===hn.generatedLine?hn.generatedCharacter-Bt.character:hn.generatedCharacter,Dr=ws===0?Pt+Dt:Pt;qe(ui,Dr,Br,Cn,ci,Ji)}d()}function Me(){return!Q||U!==he||B!==W||H!==ye||Y!==de||Z!==Ce||fe!==K}function ze(Lt){O.push(Lt),O.length>=1024&&et()}function st(){if(!(!ce||!Me())){if(f(),U<he){do ze(59),U++;while(U<he);B=0}else R.assertEqual(U,he,"generatedLine cannot backtrack"),Q&&ze(44);_t(W-B),B=W,le&&(_t(ye-H),H=ye,_t(de-Y),Y=de,_t(Ce-Z),Z=Ce,xe&&(_t(K-fe),fe=K)),Q=!0,d()}}function et(){O.length>0&&(M+=String.fromCharCode.apply(void 0,O),O.length=0)}function je(){return st(),et(),{version:3,file:t,sourceRoot:n,sources:h,names:C,mappings:M,sourcesContent:T}}function _t(Lt){Lt<0?Lt=(-Lt<<1)+1:Lt=Lt<<1;do{let Dt=Lt&31;Lt=Lt>>5,Lt>0&&(Dt=Dt|32),ze(Ret(Dt))}while(Lt>0)}}function tEe(e,t){return{getLineCount:()=>t.length,getLineText:n=>e.substring(t[n],t[n+1])}}function rEe(e){for(let t=e.getLineCount()-1;t>=0;t--){const n=e.getLineText(t),s=bz.exec(n);if(s)return $C(s[1]);if(!n.match(Tz))break}}function Met(e){return typeof e=="string"||e===null}function nEe(e){return e!==null&&typeof e=="object"&&e.version===3&&typeof e.file=="string"&&typeof e.mappings=="string"&&ka(e.sources)&&ot(e.sources,Wa)&&(e.sourceRoot===void 0||e.sourceRoot===null||typeof e.sourceRoot=="string")&&(e.sourcesContent===void 0||e.sourcesContent===null||ka(e.sourcesContent)&&ot(e.sourcesContent,Met))&&(e.names===void 0||e.names===null||ka(e.names)&&ot(e.names,Wa))}function wie(e){try{const t=JSON.parse(e);if(nEe(t))return t}catch{}}function Eie(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 T(!0,!0)},next(){for(;!t&&n<e.length;){const H=e.charCodeAt(n);if(H===59){s++,l=0,n++;continue}if(H===44){n++;continue}let Y=!1,Z=!1;if(l+=B(),M())return C();if(l<0)return O("Invalid generatedCharacter found");if(!U()){if(Y=!0,f+=B(),M())return C();if(f<0)return O("Invalid sourceIndex found");if(U())return O("Unsupported Format: No entries after sourceIndex");if(d+=B(),M())return C();if(d<0)return O("Invalid sourceLine found");if(U())return O("Unsupported Format: No entries after sourceLine");if(g+=B(),M())return C();if(g<0)return O("Invalid sourceCharacter found");if(!U()){if(Z=!0,h+=B(),M())return C();if(h<0)return O("Invalid nameIndex found");if(!U())return O("Unsupported Error Format: Entries after nameIndex")}}return{value:T(Y,Z),done:t}}return C()},[Symbol.iterator](){return this}};function T(H,Y){return{generatedLine:s,generatedCharacter:l,sourceIndex:H?f:void 0,sourceLine:H?d:void 0,sourceCharacter:H?g:void 0,nameIndex:Y?h:void 0}}function C(){return t=!0,{value:void 0,done:!0}}function D(H){k===void 0&&(k=H)}function O(H){return D(H),C()}function M(){return k!==void 0}function U(){return n===e.length||e.charCodeAt(n)===44||e.charCodeAt(n)===59}function B(){let H=!0,Y=0,Z=0;for(;H;n++){if(n>=e.length)return D("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;const fe=Bet(e.charCodeAt(n));if(fe===-1)return D("Invalid character in VLQ"),-1;H=(fe&32)!==0,Z=Z|(fe&31)<<Y,Y+=5}return Z&1?(Z=Z>>1,Z=-Z):Z=Z>>1,Z}}function Fet(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 iEe(e){return e.sourceIndex!==void 0&&e.sourceLine!==void 0&&e.sourceCharacter!==void 0}function Ret(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 Bet(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 sEe(e){return e.sourceIndex!==void 0&&e.sourcePosition!==void 0}function aEe(e,t){return e.generatedPosition===t.generatedPosition&&e.sourceIndex===t.sourceIndex&&e.sourcePosition===t.sourcePosition}function jet(e,t){return R.assert(e.sourceIndex===t.sourceIndex),wc(e.sourcePosition,t.sourcePosition)}function Jet(e,t){return wc(e.generatedPosition,t.generatedPosition)}function Uet(e){return e.sourcePosition}function zet(e){return e.generatedPosition}function oEe(e,t,n){const s=cs(n),l=t.sourceRoot?ua(t.sourceRoot,s):s,f=ua(t.file,s),d=e.getSourceFileLike(f),g=t.sources.map(Y=>ua(Y,l)),h=new Map(g.map((Y,Z)=>[e.getCanonicalFileName(Y),Z]));let k,T,C;return{getSourcePosition:H,getGeneratedPosition:B};function D(Y){const Z=d!==void 0?PI(d,Y.generatedLine,Y.generatedCharacter,!0):-1;let fe,Q;if(iEe(Y)){const he=e.getSourceFileLike(g[Y.sourceIndex]);fe=t.sources[Y.sourceIndex],Q=he!==void 0?PI(he,Y.sourceLine,Y.sourceCharacter,!0):-1}return{generatedPosition:Z,source:fe,sourceIndex:Y.sourceIndex,sourcePosition:Q,nameIndex:Y.nameIndex}}function O(){if(k===void 0){const Y=Eie(t.mappings),Z=oo(Y,D);Y.error!==void 0?(e.log&&e.log(`Encountered error while decoding sourcemap: ${Y.error}`),k=ft):k=Z}return k}function M(Y){if(C===void 0){const Z=[];for(const fe of O()){if(!sEe(fe))continue;let Q=Z[fe.sourceIndex];Q||(Z[fe.sourceIndex]=Q=[]),Q.push(fe)}C=Z.map(fe=>mo(fe,jet,aEe))}return C[Y]}function U(){if(T===void 0){const Y=[];for(const Z of O())Y.push(Z);T=mo(Y,Jet,aEe)}return T}function B(Y){const Z=h.get(e.getCanonicalFileName(Y.fileName));if(Z===void 0)return Y;const fe=M(Z);if(!Ne(fe))return Y;let Q=JC(fe,Y.pos,Uet,wc);Q<0&&(Q=~Q);const he=fe[Q];return he===void 0||he.sourceIndex!==Z?Y:{fileName:f,pos:he.generatedPosition}}function H(Y){const Z=U();if(!Ne(Z))return Y;let fe=JC(Z,Y.pos,zet,wc);fe<0&&(fe=~fe);const Q=Z[fe];return Q===void 0||!sEe(Q)?Y:{fileName:g[Q.sourceIndex],pos:Q.sourcePosition}}}var Aie,bz,Tz,Sz,Vet=p({"src/compiler/sourcemap.ts"(){Ba(),TT(),Aie=/\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,bz=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,Tz=/^\s*(\/\/[@#] .*)?$/,Sz={getSourcePosition:Kc,getGeneratedPosition:Kc}}});function Cf(e){return e=el(e),e?Jo(e):0}function $et(e){return!e||!d1(e)?!1:Ne(e.elements,cEe)}function cEe(e){return e.propertyName!==void 0&&e.propertyName.escapedText==="default"}function om(e,t){return n;function n(l){return l.kind===311?t(l):s(l)}function s(l){return e.factory.createBundle(qt(l.sourceFiles,t),l.prepends)}}function lEe(e){return!!o4(e)}function xz(e){if(o4(e))return!0;const t=e.importClause&&e.importClause.namedBindings;if(!t||!d1(t))return!1;let n=0;for(const s of t.elements)cEe(s)&&n++;return n>0&&n!==t.elements.length||!!(t.elements.length-n)&&ow(e)}function Pie(e){return!xz(e)&&(ow(e)||!!e.importClause&&d1(e.importClause.namedBindings)&&$et(e.importClause.namedBindings))}function Die(e,t,n,s){const l=[],f=sd(),d=[],g=new Map;let h,k=!1,T,C=!1,D=!1,O=!1;for(const B of t.statements)switch(B.kind){case 271:l.push(B),!D&&xz(B)&&(D=!0),!O&&Pie(B)&&(O=!0);break;case 270:B.moduleReference.kind===282&&l.push(B);break;case 277:if(B.moduleSpecifier)if(!B.exportClause)l.push(B),C=!0;else if(l.push(B),im(B.exportClause))U(B);else{const H=B.exportClause.name;g.get(Zn(H))||(rA(d,Cf(B),H),g.set(Zn(H),!0),h=zr(h,H)),D=!0}else U(B);break;case 276:B.isExportEquals&&!T&&(T=B);break;case 242:if(gi(B,1))for(const H of B.declarationList.declarations)h=uEe(H,g,h,d);break;case 261:if(gi(B,1))if(gi(B,1024))k||(rA(d,Cf(B),e.factory.getDeclarationName(B)),k=!0);else{const H=B.name;g.get(Zn(H))||(rA(d,Cf(B),H),g.set(Zn(H),!0),h=zr(h,H))}break;case 262:if(gi(B,1))if(gi(B,1024))k||(rA(d,Cf(B),e.factory.getDeclarationName(B)),k=!0);else{const H=B.name;H&&!g.get(Zn(H))&&(rA(d,Cf(B),H),g.set(Zn(H),!0),h=zr(h,H))}break}const M=one(e.factory,e.getEmitHelperFactory(),t,s,C,D,O);return M&&l.unshift(M),{externalImports:l,exportSpecifiers:f,exportEquals:T,hasExportStarsToExportValues:C,exportedBindings:d,exportedNames:h,externalHelpersImportDeclaration:M};function U(B){for(const H of Ua(B.exportClause,im).elements)if(!g.get(Zn(H.name))){const Y=H.propertyName||H.name;B.moduleSpecifier||f.add(Zn(Y),H);const Z=n.getReferencedImportDeclaration(Y)||n.getReferencedValueDeclaration(Y);Z&&rA(d,Cf(Z),H.name),g.set(Zn(H.name),!0),h=zr(h,H.name)}}}function uEe(e,t,n,s){if(Fa(e.name))for(const l of e.name.elements)bu(l)||(n=uEe(l,t,n,s));else if(!il(e.name)){const l=Zn(e.name);t.get(l)||(t.set(l,!0),n=zr(n,e.name),m1(e.name)&&rA(s,Cf(e),e.name))}return n}function rA(e,t,n){let s=e[t];return s?s.push(n):e[t]=s=[n],s}function iS(e){return Yo(e)||e.kind===9||b_(e.kind)||He(e)}function Sh(e){return!He(e)&&iS(e)}function VD(e){return e>=65&&e<=79}function $D(e){switch(e){case 65:return 40;case 66:return 41;case 67:return 42;case 68:return 43;case 69:return 44;case 70:return 45;case 71:return 48;case 72:return 49;case 73:return 50;case 74:return 51;case 75:return 52;case 79:return 53;case 76:return 57;case 77:return 56;case 78:return 61}}function Nie(e){if(!of(e))return;const t=Tc(e.expression);return Z6(t)?t:void 0}function kz(e,t){for(let n=t;n<e.length;n+=1){const s=e[n];if(Nie(s))return n}return-1}function Iie(e,t,n){return gr(e.members,s=>Wet(s,t,n))}function qet(e){return Het(e)||al(e)}function Cz(e){return gr(e.members,qet)}function Wet(e,t,n){return Ia(e)&&(!!e.initializer||!t)&&su(e)===n}function Het(e){return Ia(e)&&su(e)}function _9(e){return e.kind===171&&e.initializer!==void 0}function fEe(e){return!Aa(e)&&(U6(e)||Ep(e))&&fs(e.name)}function Oie(e){let t;if(e){const n=e.parameters,s=n.length>0&&jT(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||_d(g))&&(t||(t=new Array(f)),t[d]=vv(g))}}return t}function Lie(e){const t=vv(e),n=Oie(Yg(e));if(!(!Ne(t)&&!Ne(n)))return{decorators:t,parameters:n}}function wz(e,t,n){switch(e.kind){case 176:case 177:return n?Get(e,t):_Ee(e);case 173:return _Ee(e);case 171:return Xet(e);default:return}}function Get(e,t){if(!e.body)return;const{firstAccessor:n,secondAccessor:s,getAccessor:l,setAccessor:f}=jx(t.members,e),d=_d(n)?n:s&&_d(s)?s:void 0;if(!d||e!==d)return;const g=vv(d),h=Oie(f);if(!(!Ne(g)&&!Ne(h)))return{decorators:g,parameters:h,getDecorators:l&&vv(l),setDecorators:f&&vv(f)}}function _Ee(e){if(!e.body)return;const t=vv(e),n=Oie(e);if(!(!Ne(t)&&!Ne(n)))return{decorators:t,parameters:n}}function Xet(e){const t=vv(e);if(Ne(t))return{decorators:t}}function pEe(e,t){for(;e;){const n=t(e);if(n!==void 0)return n;e=e.previous}}function dEe(e){return{data:e}}function Mie(e,t){var n,s;return KC(t)?(n=e==null?void 0:e.generatedIdentifiers)==null?void 0:n.get(IU(t)):(s=e==null?void 0:e.identifiers)==null?void 0:s.get(t.escapedText)}function sk(e,t,n){KC(t)?(e.generatedIdentifiers??(e.generatedIdentifiers=new Map),e.generatedIdentifiers.set(IU(t),n)):(e.identifiers??(e.identifiers=new Map),e.identifiers.set(t.escapedText,n))}function mEe(e,t){return pEe(e,n=>Mie(n.privateEnv,t))}var Qet=p({"src/compiler/transformers/utilities.ts"(){Ba()}});function ak(e,t,n,s,l,f){let d=e,g;if(c1(e))for(g=e.right;lSe(e.left)||gte(e.left);)if(c1(g))d=e=g,g=e.right;else return R.checkDefined(ct(g,t,Ct));let h;const k={context:n,level:s,downlevelIteration:!!n.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:T,emitBindingOrAssignment:C,createArrayBindingOrAssignmentPattern:D=>itt(n.factory,D),createObjectBindingOrAssignmentPattern:D=>att(n.factory,D),createArrayBindingOrAssignmentElement:ctt,visitor:t};if(g&&(g=ct(g,t,Ct),R.assert(g),He(g)&&Fie(e,g.escapedText)||Rie(e)?g=ok(k,g,!1,d):l?g=ok(k,g,!0,d):Ec(e)&&(d=g)),nA(k,e,g,d,c1(e)),g&&l){if(!Ne(h))return g;h.push(g)}return n.factory.inlineExpressions(h)||n.factory.createOmittedExpression();function T(D){h=zr(h,D)}function C(D,O,M,U){R.assertNode(D,f?He:Ct);const B=f?f(D,O,M):wt(n.factory.createAssignment(R.checkDefined(ct(D,t,Ct)),O),M);B.original=U,T(B)}}function Fie(e,t){const n=Fv(e);return UI(n)?Yet(n,t):He(n)?n.escapedText===t:!1}function Yet(e,t){const n=W4(e);for(const s of n)if(Fie(s,t))return!0;return!1}function Rie(e){const t=DU(e);if(t&&Ho(t)&&!Cx(t.expression))return!0;const n=Fv(e);return!!n&&UI(n)&&Zet(n)}function Zet(e){return!!te(W4(e),Rie)}function sS(e,t,n,s,l,f=!1,d){let g;const h=[],k=[],T={context:n,level:s,downlevelIteration:!!n.getCompilerOptions().downlevelIteration,hoistTempVariables:f,emitExpression:C,emitBindingOrAssignment:D,createArrayBindingOrAssignmentPattern:O=>ntt(n.factory,O),createObjectBindingOrAssignmentPattern:O=>stt(n.factory,O),createArrayBindingOrAssignmentElement:O=>ott(n.factory,O),visitor:t};if(bs(e)){let O=IO(e);O&&(He(O)&&Fie(e,O.escapedText)||Rie(e))&&(O=ok(T,R.checkDefined(ct(O,T.visitor,Ct)),!1,O),e=n.factory.updateVariableDeclaration(e,e.name,void 0,void 0,O))}if(nA(T,e,l,e,d),g){const O=n.factory.createTempVariable(void 0);if(f){const M=n.factory.inlineExpressions(g);g=void 0,D(O,M,void 0,void 0)}else{n.hoistVariableDeclaration(O);const M=To(h);M.pendingExpressions=zr(M.pendingExpressions,n.factory.createAssignment(O,M.value)),Pi(M.pendingExpressions,g),M.value=O}}for(const{pendingExpressions:O,name:M,value:U,location:B,original:H}of h){const Y=n.factory.createVariableDeclaration(M,void 0,void 0,O?n.factory.inlineExpressions(zr(O,U)):U);Y.original=H,wt(Y,B),k.push(Y)}return k;function C(O){g=zr(g,O)}function D(O,M,U,B){R.assertNode(O,qg),g&&(M=n.factory.inlineExpressions(zr(g,M)),g=void 0),h.push({pendingExpressions:g,name:O,value:M,location:U,original:B})}}function nA(e,t,n,s,l){const f=Fv(t);if(!l){const d=ct(IO(t),e.visitor,Ct);d?n?(n=ttt(e,n,d,s),!Sh(d)&&UI(f)&&(n=ok(e,n,!0,s))):n=d:n||(n=e.context.factory.createVoidZero())}GK(f)?Ket(e,t,f,n,s):XK(f)?ett(e,t,f,n,s):e.emitBindingOrAssignment(f,n,s,t)}function Ket(e,t,n,s,l){const f=W4(n),d=f.length;if(d!==1){const k=!JI(t)||d!==0;s=ok(e,s,k,l)}let g,h;for(let k=0;k<d;k++){const T=f[k];if(PU(T)){if(k===d-1){g&&(e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(g),s,l,n),g=void 0);const C=e.context.getEmitHelperFactory().createRestHelper(s,f,h,n);nA(e,T,C,T)}}else{const C=cne(T);if(e.level>=1&&!(T.transformFlags&98304)&&!(Fv(T).transformFlags&98304)&&!Ho(C))g=zr(g,ct(T,e.visitor,v2e));else{g&&(e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(g),s,l,n),g=void 0);const D=rtt(e,s,C);Ho(C)&&(h=zr(h,D.argumentExpression)),nA(e,T,D,T)}}}g&&e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(g),s,l,n)}function ett(e,t,n,s,l){const f=W4(n),d=f.length;if(e.level<1&&e.downlevelIteration)s=ok(e,wt(e.context.getEmitHelperFactory().createReadHelper(s,d>0&&PU(f[d-1])?void 0:d),l),!1,l);else if(d!==1&&(e.level<1||d===0)||ot(f,bu)){const k=!JI(t)||d!==0;s=ok(e,s,k,l)}let g,h;for(let k=0;k<d;k++){const T=f[k];if(e.level>=1)if(T.transformFlags&65536||e.hasTransformedPriorElement&&!hEe(T)){e.hasTransformedPriorElement=!0;const C=e.context.factory.createTempVariable(void 0);e.hoistTempVariables&&e.context.hoistVariableDeclaration(C),h=zr(h,[C,T]),g=zr(g,e.createArrayBindingOrAssignmentElement(C))}else g=zr(g,T);else{if(bu(T))continue;if(PU(T)){if(k===d-1){const C=e.context.factory.createArraySliceCall(s,k);nA(e,T,C,T)}}else{const C=e.context.factory.createElementAccessExpression(s,k);nA(e,T,C,T)}}}if(g&&e.emitBindingOrAssignment(e.createArrayBindingOrAssignmentPattern(g),s,l,n),h)for(const[k,T]of h)nA(e,T,k,T)}function hEe(e){const t=Fv(e);if(!t||bu(t))return!0;const n=DU(e);if(n&&!Kd(n))return!1;const s=IO(e);return s&&!Sh(s)?!1:UI(t)?ot(W4(t),hEe):He(t)}function ttt(e,t,n,s){return t=ok(e,t,!0,s),e.context.factory.createConditionalExpression(e.context.factory.createTypeCheck(t,"undefined"),void 0,n,void 0,t)}function rtt(e,t,n){const{factory:s}=e.context;if(Ho(n)){const l=ok(e,R.checkDefined(ct(n.expression,e.visitor,Ct)),!1,n);return e.context.factory.createElementAccessExpression(t,l)}else if(ud(n)){const l=s.cloneNode(n);return e.context.factory.createElementAccessExpression(t,l)}else{const l=e.context.factory.createIdentifier(Zn(n));return e.context.factory.createPropertyAccessExpression(t,l)}}function ok(e,t,n,s){if(He(t)&&n)return t;{const l=e.context.factory.createTempVariable(void 0);return e.hoistTempVariables?(e.context.hoistVariableDeclaration(l),e.emitExpression(wt(e.context.factory.createAssignment(l,t),s))):e.emitBindingOrAssignment(l,t,s,void 0),l}}function ntt(e,t){return R.assertEachNode(t,sj),e.createArrayBindingPattern(t)}function itt(e,t){return R.assertEachNode(t,VI),e.createArrayLiteralExpression(qt(t,e.converters.convertToArrayAssignmentElement))}function stt(e,t){return R.assertEachNode(t,Lo),e.createObjectBindingPattern(t)}function att(e,t){return R.assertEachNode(t,zI),e.createObjectLiteralExpression(qt(t,e.converters.convertToObjectAssignmentElement))}function ott(e,t){return e.createBindingElement(void 0,void 0,t)}function ctt(e){return e}var Bie,ltt=p({"src/compiler/transformers/destructuring.ts"(){Ba(),Bie=(e=>(e[e.All=0]="All",e[e.ObjectRest=1]="ObjectRest",e))(Bie||{})}});function jie(e,t,n,s,l,f){const d=ct(t.tag,n,Ct);R.assert(d);const g=[void 0],h=[],k=[],T=t.template;if(f===0&&!ete(T))return Kr(t,n,e);const{factory:C}=e;if(ww(T))h.push(Jie(C,T)),k.push(Uie(C,T,s));else{h.push(Jie(C,T.head)),k.push(Uie(C,T.head,s));for(const O of T.templateSpans)h.push(Jie(C,O.literal)),k.push(Uie(C,O.literal,s)),g.push(R.checkDefined(ct(O.expression,n,Ct)))}const D=e.getEmitHelperFactory().createTemplateObjectHelper(C.createArrayLiteralExpression(h),C.createArrayLiteralExpression(k));if(Ul(s)){const O=C.createUniqueName("templateObject");l(O),g[0]=C.createLogicalOr(O,C.createAssignment(O,D))}else g[0]=D;return C.createCallExpression(d,void 0,g)}function Jie(e,t){return t.templateFlags&26656?e.createVoidZero():e.createStringLiteral(t.text)}function Uie(e,t,n){let s=t.rawText;if(s===void 0){R.assertIsDefined(n,"Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform."),s=PT(n,t);const l=t.kind===15||t.kind===18;s=s.substring(1,s.length-(l?1:2))}return s=s.replace(/\r\n?/g,`
`),wt(e.createStringLiteral(s),t)}var zie,utt=p({"src/compiler/transformers/taggedTemplate.ts"(){Ba(),zie=(e=>(e[e.LiftRestriction=0]="LiftRestriction",e[e.All=1]="All",e))(zie||{})}});function gEe(e){const{factory:t,getEmitHelperFactory:n,startLexicalEnvironment:s,resumeLexicalEnvironment:l,endLexicalEnvironment:f,hoistVariableDeclaration:d}=e,g=e.getEmitResolver(),h=e.getCompilerOptions(),k=Eo(h),T=Zu(h),C=!!h.experimentalDecorators,D=h.emitDecoratorMetadata?bEe(e):void 0,O=e.onEmitNode,M=e.onSubstituteNode;e.onEmitNode=Af,e.onSubstituteNode=Zl,e.enableSubstitution(210),e.enableSubstitution(211);let U,B,H,Y,Z,fe,Q,he;return W;function W(ie){return ie.kind===312?ye(ie):de(ie)}function ye(ie){return t.createBundle(ie.sourceFiles.map(de),lr(ie.prepends,Je=>Je.kind===314?yre(Je,"js"):Je))}function de(ie){if(ie.isDeclarationFile)return ie;U=ie;const Je=Ce(ie,_t);return f1(Je,e.readEmitHelpers()),U=void 0,Je}function Ce(ie,Je){const Et=Y,Rt=Z,In=fe;K(ie);const Wn=Je(ie);return Y!==Et&&(Z=Rt),Y=Et,fe=In,Wn}function K(ie){switch(ie.kind){case 311:case 268:case 267:case 240:Y=ie,Z=void 0;break;case 262:case 261:if(gi(ie,2))break;ie.name?ke(ie):R.assert(ie.kind===262||gi(ie,1024));break}}function ce(ie){return Ce(ie,le)}function le(ie){return ie.transformFlags&1?je(ie):ie}function xe(ie){return Ce(ie,we)}function we(ie){switch(ie.kind){case 271:case 270:case 276:case 277:return Ie(ie);default:return le(ie)}}function Ie(ie){if(Gs(ie)!==ie)return ie.transformFlags&1?Kr(ie,ce,e):ie;switch(ie.kind){case 271:return Vt(ie);case 270:return Li(ie);case 276:return Vi(ie);case 277:return rs(ie);default:R.fail("Unhandled ellided statement")}}function ue(ie){return Ce(ie,ut)}function ut(ie){if(!(ie.kind===277||ie.kind===271||ie.kind===272||ie.kind===270&&ie.moduleReference.kind===282))return ie.transformFlags&1||gi(ie,1)?je(ie):ie}function Ge(ie){return Je=>Ce(Je,Et=>qe(Et,ie))}function qe(ie,Je){switch(ie.kind){case 175:return Nn(ie);case 171:return _n(ie,Je);case 176:return rn(ie,Je);case 177:return qr(ie,Je);case 173:return Yr(ie,Je);case 174:return Kr(ie,ce,e);case 239:return ie;case 180:return;default:return R.failBadSyntaxKind(ie)}}function Ke(ie){return Je=>Ce(Je,Et=>Me(Et,ie))}function Me(ie,Je){switch(ie.kind){case 302:case 303:case 304:return ce(ie);case 176:return rn(ie,Je);case 177:return qr(ie,Je);case 173:return Yr(ie,Je);default:return R.failBadSyntaxKind(ie)}}function ze(ie){return xf(ie)?void 0:ce(ie)}function st(ie){return Ha(ie)?void 0:ce(ie)}function et(ie){if(!xf(ie)&&!(hw(ie.kind)&117086)&&!(B&&ie.kind===95))return ie}function je(ie){if(Vs(ie)&&gi(ie,2))return t.createNotEmittedStatement(ie);switch(ie.kind){case 95:case 90:return B?void 0:ie;case 125:case 123:case 124:case 128:case 163:case 87:case 138:case 148:case 103:case 147:case 187:case 188:case 189:case 190:case 186:case 181:case 167:case 133:case 159:case 136:case 154:case 150:case 146:case 116:case 155:case 184:case 183:case 185:case 182:case 191:case 192:case 193:case 195:case 196:case 197:case 198:case 199:case 200:case 180:return;case 264:return t.createNotEmittedStatement(ie);case 269:return;case 263:return t.createNotEmittedStatement(ie);case 262:return Bt(ie);case 230:return vr(ie);case 297:return Dr(ie);case 232:return Kt(ie);case 209:return Lt(ie);case 175:case 171:case 173:case 176:case 177:case 174:return R.fail("Class and object literal elements must be visited with their respective visitors");case 261:return xi(ie);case 217:return pt(ie);case 218:return Nt(ie);case 168:return dt(ie);case 216:return at(ie);case 215:case 233:return xt(ie);case 237:return mt(ie);case 212:return _r(ie);case 213:return Fe(ie);case 214:return Gt(ie);case 234:return ae(ie);case 265:return Gn(ie);case 242:return Ut(ie);case 259:return se(ie);case 266:return vt(ie);case 270:return Li(ie);case 284:return zt(ie);case 285:return Lr(ie);default:return Kr(ie,ce,e)}}function _t(ie){const Je=Md(h,"alwaysStrict")&&!(Ul(ie)&&T>=5)&&!Nd(ie);return t.updateSourceFile(ie,vz(ie.statements,xe,e,0,Je))}function Lt(ie){return t.updateObjectLiteralExpression(ie,cn(ie.properties,Ke(ie),n1))}function Dt(ie){let Je=0;Ne(Iie(ie,!0,!0))&&(Je|=1);const Et=mh(ie);return Et&&lf(Et.expression).kind!==106&&(Je|=64),LT(C,ie)&&(Je|=2),EP(C,ie)&&(Je|=4),Zs(ie)?Je|=8:nn(ie)?Je|=32:rc(ie)&&(Je|=16),Je}function Xt(ie){return!!(ie.transformFlags&8192)}function Ye(ie){return _d(ie)||Ne(ie.typeParameters)||Ne(ie.heritageClauses,Xt)||Ne(ie.members,Xt)}function Bt(ie){const Je=Dt(ie),Et=k<=1&&!!(Je&7);if(!Ye(ie)&&!LT(C,ie)&&!Zs(ie))return t.updateClassDeclaration(ie,cn(ie.modifiers,et,Ha),ie.name,void 0,cn(ie.heritageClauses,ce,sp),cn(ie.members,Ge(ie),Mu));Et&&e.startLexicalEnvironment();const Rt=Et||Je&8;let In=Rt?cn(ie.modifiers,st,Mc):cn(ie.modifiers,ce,Mc);Je&2&&(In=Ht(In,ie));const hi=Rt&&!ie.name||Je&4||Je&1?ie.name??t.getGeneratedNameForNode(ie):ie.name,di=t.updateClassDeclaration(ie,In,hi,void 0,cn(ie.heritageClauses,ce,sp),Ar(ie));let Us=xo(ie);Je&1&&(Us|=64),An(di,Us);let Va;if(Et){const tl=[di],ic=vte(fo(U.text,ie.members.end),20),sc=t.getInternalName(ie),mu=t.createPartiallyEmittedExpression(sc);x4(mu,ic.end),An(mu,3072);const cl=t.createReturnStatement(mu);nD(cl,ic.pos),An(cl,3840),tl.push(cl),Zh(tl,e.endLexicalEnvironment());const Mo=t.createImmediatelyInvokedArrowFunction(tl);oO(Mo,1);const hc=Je&16?t.createModifiersFromModifierFlags(1):void 0,Ku=t.createVariableStatement(hc,t.createVariableDeclarationList([t.createVariableDeclaration(t.getLocalName(ie,!1,!1),void 0,void 0,Mo)],1));oi(Ku,ie),Bu(Ku,ie),$o(Ku,Dv(ie)),Qf(Ku),Va=Ku}else Va=di;if(Rt){if(Je&8)return[Va,ta(ie)];if(Je&32)return[Va,t.createExportDefault(t.getLocalName(ie,!1,!0))];if(Je&16&&!Et)return[Va,t.createExternalModuleExport(t.getLocalName(ie,!1,!0))]}return Va}function vr(ie){let Je=cn(ie.modifiers,st,Mc);return LT(C,ie)&&(Je=Ht(Je,ie)),t.updateClassExpression(ie,Je,ie.name,void 0,cn(ie.heritageClauses,ce,sp),Ar(ie))}function Ar(ie){const Je=cn(ie.members,Ge(ie),Mu);let Et;const Rt=Yg(ie),In=Rt&&gr(Rt.parameters,Wn=>Cp(Wn,Rt));if(In)for(const Wn of In){const hi=t.createPropertyDeclaration(void 0,Wn.name,void 0,void 0,void 0);oi(hi,Wn),Et=zr(Et,hi)}return Et?(Et=Pi(Et,Je),wt(t.createNodeArray(Et),ie.members)):Je}function Ht(ie,Je){const Et=hn(Je,Je);if(Ne(Et)){const Rt=[];Pi(Rt,uI(ie,OO)),Pi(Rt,gr(ie,xf)),Pi(Rt,Et),Pi(Rt,gr(Vve(ie,OO),Ha)),ie=wt(t.createNodeArray(Rt),ie)}return ie}function tn(ie,Je,Et){if(Ri(Et)&&Nee(C,Je,Et)){const Rt=hn(Je,Et);if(Ne(Rt)){const In=[];Pi(In,gr(ie,xf)),Pi(In,Rt),Pi(In,gr(ie,Ha)),ie=wt(t.createNodeArray(In),ie)}}return ie}function hn(ie,Je){if(C)return yEe?Cn(ie,Je):Br(ie,Je)}function Br(ie,Je){if(D){let Et;if(ci(ie)){const Rt=n().createMetadataHelper("design:type",D.serializeTypeOfNode({currentLexicalScope:Y,currentNameScope:Je},ie));Et=zr(Et,t.createDecorator(Rt))}if(ws(ie)){const Rt=n().createMetadataHelper("design:paramtypes",D.serializeParameterTypesOfNode({currentLexicalScope:Y,currentNameScope:Je},ie,Je));Et=zr(Et,t.createDecorator(Rt))}if(Ji(ie)){const Rt=n().createMetadataHelper("design:returntype",D.serializeReturnTypeOfNode({currentLexicalScope:Y,currentNameScope:Je},ie));Et=zr(Et,t.createDecorator(Rt))}return Et}}function Cn(ie,Je){if(D){let Et;if(ci(ie)){const Rt=t.createPropertyAssignment("type",t.createArrowFunction(void 0,void 0,[],void 0,t.createToken(39),D.serializeTypeOfNode({currentLexicalScope:Y,currentNameScope:Je},ie)));Et=zr(Et,Rt)}if(ws(ie)){const Rt=t.createPropertyAssignment("paramTypes",t.createArrowFunction(void 0,void 0,[],void 0,t.createToken(39),D.serializeParameterTypesOfNode({currentLexicalScope:Y,currentNameScope:Je},ie,Je)));Et=zr(Et,Rt)}if(Ji(ie)){const Rt=t.createPropertyAssignment("returnType",t.createArrowFunction(void 0,void 0,[],void 0,t.createToken(39),D.serializeReturnTypeOfNode({currentLexicalScope:Y,currentNameScope:Je},ie)));Et=zr(Et,Rt)}if(Et){const Rt=n().createMetadataHelper("design:typeinfo",t.createObjectLiteralExpression(Et,!0));return[t.createDecorator(Rt)]}}}function ci(ie){const Je=ie.kind;return Je===173||Je===176||Je===177||Je===171}function Ji(ie){return ie.kind===173}function ws(ie){switch(ie.kind){case 262:case 230:return Yg(ie)!==void 0;case 173:case 176:case 177:return!0}return!1}function ui(ie,Je){const Et=ie.name;return fs(Et)?t.createIdentifier(""):Ho(Et)?Je&&!Sh(Et.expression)?t.getGeneratedNameForNode(Et):Et.expression:He(Et)?t.createStringLiteral(Zn(Et)):t.cloneNode(Et)}function Pt(ie){const Je=ie.name;if(Ho(Je)&&(!su(ie)&&fe||_d(ie)&&C)){const Et=ct(Je.expression,ce,Ct);R.assert(Et);const Rt=Xd(Et);if(!Sh(Rt)){const In=t.getGeneratedNameForNode(Je);return d(In),t.updateComputedPropertyName(Je,t.createAssignment(In,Et))}}return R.checkDefined(ct(Je,ce,sl))}function Dr(ie){if(ie.token!==119)return Kr(ie,ce,e)}function Kt(ie){return t.updateExpressionWithTypeArguments(ie,R.checkDefined(ct(ie.expression,ce,L_)),void 0)}function Qr(ie){return!pl(ie.body)}function _n(ie,Je){const Et=ie.flags&16777216||gi(ie,256);if(Et&&!(C&&_d(ie)))return;let Rt=Ri(Je)?Et?cn(ie.modifiers,st,Mc):cn(ie.modifiers,ce,Mc):cn(ie.modifiers,ze,Mc);return Rt=tn(Rt,ie,Je),Et?t.updatePropertyDeclaration(ie,wr(Rt,t.createModifiersFromModifierFlags(2)),R.checkDefined(ct(ie.name,ce,sl)),void 0,void 0,void 0):t.updatePropertyDeclaration(ie,Rt,Pt(ie),void 0,void 0,ct(ie.initializer,ce,Ct))}function Nn(ie){if(Qr(ie))return t.updateConstructorDeclaration(ie,void 0,Rl(ie.parameters,ce,e),ks(ie.body,ie))}function ks(ie,Je){const Et=Je&&gr(Je.parameters,Va=>Cp(Va,Je));if(!Ne(Et))return Xp(ie,ce,e);let Rt=[];l();const In=t.copyPrologue(ie.statements,Rt,!1,ce),Wn=kz(ie.statements,In);Wn>=0&&Pi(Rt,cn(ie.statements,ce,Vs,In,Wn+1-In));const hi=lr(Et,ls);Wn>=0?Pi(Rt,hi):Rt=[...Rt.slice(0,In),...hi,...Rt.slice(In)];const di=Wn>=0?Wn+1:In;Pi(Rt,cn(ie.statements,ce,Vs,di)),Rt=t.mergeLexicalEnvironment(Rt,f());const Us=t.createBlock(wt(t.createNodeArray(Rt),ie.statements),!0);return wt(Us,ie),oi(Us,ie),Us}function ls(ie){const Je=ie.name;if(!He(Je))return;const Et=ko(wt(t.cloneNode(Je),Je),Je.parent);An(Et,3168);const Rt=ko(wt(t.cloneNode(Je),Je),Je.parent);return An(Rt,3072),Qf(aO(wt(oi(t.createExpressionStatement(t.createAssignment(wt(t.createPropertyAccessExpression(t.createThis(),Et),ie.name),Rt)),ie),e2(ie,-1))))}function Yr(ie,Je){if(!(ie.transformFlags&1))return ie;if(!Qr(ie))return;let Et=Ri(Je)?cn(ie.modifiers,ce,Mc):cn(ie.modifiers,ze,Mc);return Et=tn(Et,ie,Je),t.updateMethodDeclaration(ie,Et,ie.asteriskToken,Pt(ie),void 0,void 0,Rl(ie.parameters,ce,e),void 0,Xp(ie.body,ce,e))}function Er(ie){return!(pl(ie.body)&&gi(ie,256))}function rn(ie,Je){if(!(ie.transformFlags&1))return ie;if(!Er(ie))return;let Et=Ri(Je)?cn(ie.modifiers,ce,Mc):cn(ie.modifiers,ze,Mc);return Et=tn(Et,ie,Je),t.updateGetAccessorDeclaration(ie,Et,Pt(ie),Rl(ie.parameters,ce,e),void 0,Xp(ie.body,ce,e)||t.createBlock([]))}function qr(ie,Je){if(!(ie.transformFlags&1))return ie;if(!Er(ie))return;let Et=Ri(Je)?cn(ie.modifiers,ce,Mc):cn(ie.modifiers,ze,Mc);return Et=tn(Et,ie,Je),t.updateSetAccessorDeclaration(ie,Et,Pt(ie),Rl(ie.parameters,ce,e),Xp(ie.body,ce,e)||t.createBlock([]))}function xi(ie){if(!Qr(ie))return t.createNotEmittedStatement(ie);const Je=t.updateFunctionDeclaration(ie,cn(ie.modifiers,et,Ha),ie.asteriskToken,ie.name,void 0,Rl(ie.parameters,ce,e),void 0,Xp(ie.body,ce,e)||t.createBlock([]));if(Zs(ie)){const Et=[Je];return Za(Et,ie),Et}return Je}function pt(ie){return Qr(ie)?t.updateFunctionExpression(ie,cn(ie.modifiers,et,Ha),ie.asteriskToken,ie.name,void 0,Rl(ie.parameters,ce,e),void 0,Xp(ie.body,ce,e)||t.createBlock([])):t.createOmittedExpression()}function Nt(ie){return t.updateArrowFunction(ie,cn(ie.modifiers,et,Ha),void 0,Rl(ie.parameters,ce,e),void 0,ie.equalsGreaterThanToken,Xp(ie.body,ce,e))}function dt(ie){if(jT(ie))return;const Je=t.updateParameterDeclaration(ie,cn(ie.modifiers,Et=>xf(Et)?ce(Et):void 0,Mc),ie.dotDotDotToken,R.checkDefined(ct(ie.name,ce,qg)),void 0,void 0,ct(ie.initializer,ce,Ct));return Je!==ie&&(Bu(Je,ie),wt(Je,hh(ie)),$o(Je,hh(ie)),An(Je.name,64)),Je}function Ut(ie){if(Zs(ie)){const Je=qP(ie.declarationList);return Je.length===0?void 0:wt(t.createExpressionStatement(t.inlineExpressions(qt(Je,rr))),ie)}else return Kr(ie,ce,e)}function rr(ie){const Je=ie.name;return Fa(Je)?ak(ie,ce,e,0,!1,Rc):wt(t.createAssignment(Dl(Je),R.checkDefined(ct(ie.initializer,ce,Ct))),ie)}function se(ie){const Je=t.updateVariableDeclaration(ie,R.checkDefined(ct(ie.name,ce,qg)),void 0,void 0,ct(ie.initializer,ce,Ct));return ie.type&&Nxe(Je.name,ie.type),Je}function at(ie){const Je=lf(ie.expression,-7);if(Ax(Je)){const Et=ct(ie.expression,ce,Ct);return R.assert(Et),t.createPartiallyEmittedExpression(Et,ie)}return Kr(ie,ce,e)}function xt(ie){const Je=ct(ie.expression,ce,Ct);return R.assert(Je),t.createPartiallyEmittedExpression(Je,ie)}function ae(ie){const Je=ct(ie.expression,ce,L_);return R.assert(Je),t.createPartiallyEmittedExpression(Je,ie)}function mt(ie){const Je=ct(ie.expression,ce,Ct);return R.assert(Je),t.createPartiallyEmittedExpression(Je,ie)}function _r(ie){return t.updateCallExpression(ie,R.checkDefined(ct(ie.expression,ce,Ct)),void 0,cn(ie.arguments,ce,Ct))}function Fe(ie){return t.updateNewExpression(ie,R.checkDefined(ct(ie.expression,ce,Ct)),void 0,cn(ie.arguments,ce,Ct))}function Gt(ie){return t.updateTaggedTemplateExpression(ie,R.checkDefined(ct(ie.tag,ce,Ct)),void 0,R.checkDefined(ct(ie.template,ce,z6)))}function zt(ie){return t.updateJsxSelfClosingElement(ie,R.checkDefined(ct(ie.tagName,ce,vP)),void 0,R.checkDefined(ct(ie.attributes,ce,YT)))}function Lr(ie){return t.updateJsxOpeningElement(ie,R.checkDefined(ct(ie.tagName,ce,vP)),void 0,R.checkDefined(ct(ie.attributes,ce,YT)))}function ii(ie){return!IT(ie)||zx(h)}function Gn(ie){if(!ii(ie))return t.createNotEmittedStatement(ie);const Je=[];let Et=4;const Rt=ee(Je,ie);Rt&&(T!==4||Y!==U)&&(Et|=1024);const In=Nl(ie),Wn=ku(ie),hi=Zs(ie)?t.getExternalModuleOrNamespaceExportName(H,ie,!1,!0):t.getDeclarationName(ie,!1,!0);let di=t.createLogicalOr(hi,t.createAssignment(hi,t.createObjectLiteralExpression()));if(Zs(ie)){const Va=t.getLocalName(ie,!1,!0);di=t.createAssignment(Va,di)}const Us=t.createExpressionStatement(t.createCallExpression(t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,In)],void 0,Rn(ie,Wn)),void 0,[di]));return oi(Us,ie),Rt&&(r2(Us,void 0),Sw(Us,void 0)),wt(Us,ie),og(Us,Et),Je.push(Us),Je}function Rn(ie,Je){const Et=H;H=Je;const Rt=[];s();const In=qt(ie.members,L);return Zh(Rt,f()),Pi(Rt,In),H=Et,t.createBlock(wt(t.createNodeArray(Rt),ie.members),!0)}function L(ie){const Je=ui(ie,!1),Et=Se(ie),Rt=t.createAssignment(t.createElementAccessExpression(H,Je),Et),In=Et.kind===11?Rt:t.createAssignment(t.createElementAccessExpression(H,Rt),Je);return wt(t.createExpressionStatement(wt(In,ie)),ie)}function Se(ie){const Je=g.getConstantValue(ie);return Je!==void 0?typeof Je=="string"?t.createStringLiteral(Je):t.createNumericLiteral(Je):(la(),ie.initializer?R.checkDefined(ct(ie.initializer,ce,Ct)):t.createVoidZero())}function pe(ie){const Je=Gs(ie,Al);return Je?yie(Je,zx(h)):!0}function ke(ie){Z||(Z=new Map);const Je=Te(ie);Z.has(Je)||Z.set(Je,ie)}function ve(ie){if(Z){const Je=Te(ie);return Z.get(Je)===ie}return!0}function Te(ie){return R.assertNode(ie.name,He),ie.name.escapedText}function ee(ie,Je){const Et=t.createVariableDeclaration(t.getLocalName(Je,!1,!0)),Rt=Y.kind===311?0:1,In=t.createVariableStatement(cn(Je.modifiers,et,Ha),t.createVariableDeclarationList([Et],Rt));return oi(Et,Je),r2(Et,void 0),Sw(Et,void 0),oi(In,Je),ke(Je),ve(Je)?(Je.kind===265?$o(In.declarationList,Je):$o(In,Je),Bu(In,Je),og(In,2048),ie.push(In),!0):!1}function vt(ie){if(!pe(ie))return t.createNotEmittedStatement(ie);R.assertNode(ie.name,He,"A TypeScript namespace should have an Identifier name."),Ns();const Je=[];let Et=4;const Rt=ee(Je,ie);Rt&&(T!==4||Y!==U)&&(Et|=1024);const In=Nl(ie),Wn=ku(ie),hi=Zs(ie)?t.getExternalModuleOrNamespaceExportName(H,ie,!1,!0):t.getDeclarationName(ie,!1,!0);let di=t.createLogicalOr(hi,t.createAssignment(hi,t.createObjectLiteralExpression()));if(Zs(ie)){const Va=t.getLocalName(ie,!1,!0);di=t.createAssignment(Va,di)}const Us=t.createExpressionStatement(t.createCallExpression(t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,In)],void 0,Qt(ie,Wn)),void 0,[di]));return oi(Us,ie),Rt&&(r2(Us,void 0),Sw(Us,void 0)),wt(Us,ie),og(Us,Et),Je.push(Us),Je}function Qt(ie,Je){const Et=H,Rt=B,In=Z;H=Je,B=ie,Z=void 0;const Wn=[];s();let hi,di;if(ie.body)if(ie.body.kind===267)Ce(ie.body,Va=>Pi(Wn,cn(Va.statements,ue,Vs))),hi=ie.body.statements,di=ie.body;else{const Va=vt(ie.body);Va&&(ka(Va)?Pi(Wn,Va):Wn.push(Va));const tl=ht(ie).body;hi=e2(tl.statements,-1)}Zh(Wn,f()),H=Et,B=Rt,Z=In;const Us=t.createBlock(wt(t.createNodeArray(Wn),hi),!0);return wt(Us,di),(!ie.body||ie.body.kind!==267)&&An(Us,xo(Us)|3072),Us}function ht(ie){if(ie.body.kind===266)return ht(ie.body)||ie.body}function Vt(ie){if(!ie.importClause)return ie;if(ie.importClause.isTypeOnly)return;const Je=ct(ie.importClause,Nr,ug);return Je||h.importsNotUsedAsValues===1||h.importsNotUsedAsValues===2?t.updateImportDeclaration(ie,void 0,Je,ie.moduleSpecifier,ie.assertClause):void 0}function Nr(ie){R.assert(!ie.isTypeOnly);const Je=be(ie)?ie.name:void 0,Et=ct(ie.namedBindings,Pn,ZK);return Je||Et?t.updateImportClause(ie,!1,Je,Et):void 0}function Pn(ie){if(ie.kind===273)return be(ie)?ie:void 0;{const Je=h.verbatimModuleSyntax||h.preserveValueImports&&(h.importsNotUsedAsValues===1||h.importsNotUsedAsValues===2),Et=cn(ie.elements,bi,J_);return Je||Ne(Et)?t.updateNamedImports(ie,Et):void 0}}function bi(ie){return!ie.isTypeOnly&&be(ie)?ie:void 0}function Vi(ie){return h.verbatimModuleSyntax||g.isValueAliasDeclaration(ie)?Kr(ie,ce,e):void 0}function rs(ie){if(ie.isTypeOnly)return;if(!ie.exportClause||ny(ie.exportClause))return ie;const Je=h.verbatimModuleSyntax||!!ie.moduleSpecifier&&(h.importsNotUsedAsValues===1||h.importsNotUsedAsValues===2),Et=ct(ie.exportClause,Rt=>Oi(Rt,Je),UK);return Et?t.updateExportDeclaration(ie,void 0,ie.isTypeOnly,Et,ie.moduleSpecifier,ie.assertClause):void 0}function qs(ie,Je){const Et=cn(ie.elements,Js,T_);return Je||Ne(Et)?t.updateNamedExports(ie,Et):void 0}function Ys(ie){return t.updateNamespaceExport(ie,R.checkDefined(ct(ie.name,ce,He)))}function Oi(ie,Je){return ny(ie)?Ys(ie):qs(ie,Je)}function Js(ie){return!ie.isTypeOnly&&(h.verbatimModuleSyntax||g.isValueAliasDeclaration(ie))?ie:void 0}function Es(ie){return be(ie)||!Ul(U)&&g.isTopLevelValueImportEqualsWithEntityName(ie)}function Li(ie){if(ie.isTypeOnly)return;if(Gb(ie)){const Et=be(ie);return!Et&&h.importsNotUsedAsValues===1?oi(wt(t.createImportDeclaration(void 0,void 0,ie.moduleReference.expression,void 0),ie),ie):Et?Kr(ie,ce,e):void 0}if(!Es(ie))return;const Je=AO(t,ie.moduleReference);return An(Je,7168),rc(ie)||!Zs(ie)?oi(wt(t.createVariableStatement(cn(ie.modifiers,et,Ha),t.createVariableDeclarationList([oi(t.createVariableDeclaration(ie.name,void 0,void 0,Je),ie)])),ie),ie):oi(ga(ie.name,Je,ie),ie)}function Zs(ie){return B!==void 0&&gi(ie,1)}function Hc(ie){return B===void 0&&gi(ie,1)}function rc(ie){return Hc(ie)&&!gi(ie,1024)}function nn(ie){return Hc(ie)&&gi(ie,1024)}function ta(ie){const Je=t.createAssignment(t.getExternalModuleOrNamespaceExportName(H,ie,!1,!0),t.getLocalName(ie));$o(Je,Od(ie.name?ie.name.pos:ie.pos,ie.end));const Et=t.createExpressionStatement(Je);return $o(Et,Od(-1,ie.end)),Et}function Za(ie,Je){ie.push(ta(Je))}function ga(ie,Je,Et){return wt(t.createExpressionStatement(t.createAssignment(t.getNamespaceMemberName(H,ie,!1,!0),Je)),Et)}function Rc(ie,Je,Et){return wt(t.createAssignment(Dl(ie),Je),Et)}function Dl(ie){return t.getNamespaceMemberName(H,ie,!1,!0)}function Nl(ie){const Je=t.getGeneratedNameForNode(ie);return $o(Je,ie.name),Je}function ku(ie){return t.getGeneratedNameForNode(ie)}function la(){Q&8||(Q|=8,e.enableSubstitution(80))}function Ns(){Q&2||(Q|=2,e.enableSubstitution(80),e.enableSubstitution(303),e.enableEmitNotification(266))}function Wl(ie){return el(ie).kind===266}function Gc(ie){return el(ie).kind===265}function Af(ie,Je,Et){const Rt=he,In=U;Cs(Je)&&(U=Je),Q&2&&Wl(Je)&&(he|=2),Q&8&&Gc(Je)&&(he|=8),O(ie,Je,Et),he=Rt,U=In}function Zl(ie,Je){return Je=M(ie,Je),ie===1?pc(Je):hd(Je)?Vu(Je):Je}function Vu(ie){if(Q&2){const Je=ie.name,Et=Sc(Je);if(Et){if(ie.objectAssignmentInitializer){const Rt=t.createAssignment(Et,ie.objectAssignmentInitializer);return wt(t.createPropertyAssignment(Je,Rt),ie)}return wt(t.createPropertyAssignment(Je,Et),ie)}}return ie}function pc(ie){switch(ie.kind){case 80:return hl(ie);case 210:return Jc(ie);case 211:return br(ie)}return ie}function hl(ie){return Sc(ie)||ie}function Sc(ie){if(Q&he&&!il(ie)&&!m1(ie)){const Je=g.getReferencedExportContainer(ie,!1);if(Je&&Je.kind!==311&&(he&2&&Je.kind===266||he&8&&Je.kind===265))return wt(t.createPropertyAccessExpression(t.getGeneratedNameForNode(Je),ie),ie)}}function Jc(ie){return ff(ie)}function br(ie){return ff(ie)}function Bl(ie){return ie.replace(/\*\//g,"*_/")}function ff(ie){const Je=Cu(ie);if(Je!==void 0){Pxe(ie,Je);const Et=typeof Je=="string"?t.createStringLiteral(Je):t.createNumericLiteral(Je);if(!h.removeComments){const Rt=el(ie,jc);RJ(Et,3,` ${Bl(iu(Rt))} `)}return Et}return ie}function Cu(ie){if(!Nm(h))return ai(ie)||Pc(ie)?g.getConstantValue(ie):void 0}function be(ie){return h.verbatimModuleSyntax||Mn(ie)||(h.preserveValueImports?g.isValueAliasDeclaration(ie):g.isReferencedAliasDeclaration(ie))}}var yEe,ftt=p({"src/compiler/transformers/ts.ts"(){Ba(),yEe=!1}});function vEe(e){const{factory:t,getEmitHelperFactory:n,hoistVariableDeclaration:s,endLexicalEnvironment:l,startLexicalEnvironment:f,resumeLexicalEnvironment:d,addBlockScopedVariable:g}=e,h=e.getEmitResolver(),k=e.getCompilerOptions(),T=Eo(k),C=V5(k),D=!!k.experimentalDecorators,O=!C,M=C&&T<9,U=O||M,B=T<9,H=T<99?-1:C?0:3,Y=T<9,Z=Y&&T>=2,fe=U||B||H===-1,Q=e.onSubstituteNode;e.onSubstituteNode=Jc;const he=e.onEmitNode;e.onEmitNode=Sc;let W=!1,ye,de,Ce,K,ce;const le=new Map;let xe,we,Ie=!1,ue=!1;return om(e,ut);function ut(be){if(be.isDeclarationFile||(ce=void 0,W=!!(Qd(be)&32),!fe&&!W))return be;const ie=Kr(be,qe,e);return f1(ie,e.readEmitHelpers()),ie}function Ge(be){switch(be.kind){case 129:return Nn()?void 0:be;default:return wi(be,Ha)}}function qe(be){if(!(be.transformFlags&16777216)&&!(be.transformFlags&134234112))return be;switch(be.kind){case 129:return R.fail("Use `modifierVisitor` instead.");case 262:return Gn(be);case 230:return L(be,void 0);case 174:case 171:return R.fail("Use `classElementVisitor` instead.");case 302:return Ye(be);case 242:return Bt(be);case 259:return Ar(be);case 168:return Ht(be);case 207:return tn(be);case 276:return hn(be);case 81:return Dt(be);case 210:return Er(be);case 211:return rn(be);case 223:case 224:return qr(be,!1);case 225:return at(be,!1);case 216:return ae(be,!1,void 0);case 212:return dt(be);case 243:return pt(be);case 214:return Ut(be);case 247:return xi(be);case 261:case 217:case 175:case 173:case 176:case 177:return ui(void 0,Ke,be);default:return Ke(be)}}function Ke(be){return Kr(be,qe,e)}function Me(be,ie){switch(be.kind){case 359:return mt(be,!1,ie);case 216:return ae(be,!1,ie);case 230:return L(be,ie);default:return qe(be)}}function ze(be){switch(be.kind){case 223:case 224:return qr(be,!0);case 225:return at(be,!0);case 360:return xt(be,!0);case 216:return ae(be,!0,void 0);default:return qe(be)}}function st(be){switch(be.kind){case 297:return Kr(be,st,e);case 232:return Lr(be);default:return qe(be)}}function et(be){switch(be.kind){case 209:case 208:return hl(be);default:return qe(be)}}function je(be){switch(be.kind){case 175:return ci(be);case 176:case 177:case 173:return ui(void 0,ws,be);case 171:return ui(void 0,ks,be);case 174:return pe(be);case 166:return Cn(be);case 239:return be;default:return Mc(be)?Ge(be):qe(be)}}function _t(be){switch(be.kind){case 166:return Cn(be);default:return qe(be)}}function Lt(be){switch(be.kind){case 171:return _n(be);case 176:case 177:return je(be);default:R.assertMissingNode(be,"Expected node to either be a PropertyDeclaration, GetAccessorDeclaration, or SetAccessorDeclaration");break}}function Dt(be){return!B||Vs(be.parent)?be:oi(t.createIdentifier(""),be)}function Xt(be){const ie=Nl(be.left);if(ie){const Je=ct(be.right,qe,Ct);return oi(n().createClassPrivateFieldInHelper(ie.brandCheckIdentifier,Je),be)}return Kr(be,qe,e)}function Ye(be){if(fd(be,se)){const{referencedName:ie,name:Je}=_r(be.name),Et=ct(be.initializer,Rt=>Me(Rt,ie),Ct);return t.updatePropertyAssignment(be,Je,Et)}return Kr(be,qe,e)}function Bt(be){const ie=K;K=[];const Je=Kr(be,qe,e),Et=Ne(K)?[Je,...K]:Je;return K=ie,Et}function vr(be,ie){const Je=el(ie,Ri);return Je&&!Je.name&&gi(Je,1024)?t.createStringLiteral("default"):t.createStringLiteralFromNode(be)}function Ar(be){if(fd(be,se)){const ie=vr(be.name,be.initializer),Je=ct(be.name,qe,qg),Et=ct(be.initializer,Rt=>Me(Rt,ie),Ct);return t.updateVariableDeclaration(be,Je,void 0,void 0,Et)}return Kr(be,qe,e)}function Ht(be){if(fd(be,se)){const ie=vr(be.name,be.initializer),Je=ct(be.name,qe,qg),Et=ct(be.initializer,Rt=>Me(Rt,ie),Ct);return t.updateParameterDeclaration(be,void 0,void 0,Je,void 0,void 0,Et)}return Kr(be,qe,e)}function tn(be){if(fd(be,se)){const ie=vr(be.name,be.initializer),Je=ct(be.propertyName,qe,sl),Et=ct(be.name,qe,qg),Rt=ct(be.initializer,In=>Me(In,ie),Ct);return t.updateBindingElement(be,void 0,Je,Et,Rt)}return Kr(be,qe,e)}function hn(be){if(fd(be,se)){const ie=t.createStringLiteral(be.isExportEquals?"":"default"),Je=cn(be.modifiers,Ge,Ha),Et=ct(be.expression,Rt=>Me(Rt,ie),Ct);return t.updateExportAssignment(be,Je,Et)}return Kr(be,qe,e)}function Br(be){return Ne(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 Cn(be){const ie=ct(be.expression,qe,Ct);return t.updateComputedPropertyName(be,Br(ie))}function ci(be){return xe?Te(be,xe):Ke(be)}function Ji(be){return!!(B||su(be)&&Qd(be)&32)}function ws(be){if(R.assert(!_d(be)),!s_(be)||!Ji(be))return Kr(be,je,e);const ie=Nl(be.name);if(R.assert(ie,"Undeclared private name for property declaration."),!ie.isValid)return be;const Je=Pt(be);Je&&Li().push(t.createAssignment(Je,t.createFunctionExpression(gr(be.modifiers,Et=>Ha(Et)&&!Ew(Et)&&!Hxe(Et)),be.asteriskToken,Je,void 0,Rl(be.parameters,qe,e),void 0,Xp(be.body,qe,e))))}function ui(be,ie,Je){const Et=we;we=be;const Rt=ie(Je);return we=Et,Rt}function Pt(be){R.assert(fs(be.name));const ie=Nl(be.name);if(R.assert(ie,"Undeclared private name for property declaration."),ie.kind==="m")return ie.methodName;if(ie.kind==="a"){if(kv(be))return ie.getterName;if(i1(be))return ie.setterName}}function Dr(be){const ie=cg(be),Je=t2(be),Et=be.name;let Rt=Et,In=Et;if(Ho(Et)&&!Sh(Et.expression)){const Va=OU(Et);if(Va)Rt=t.updateComputedPropertyName(Et,ct(Et.expression,qe,Ct)),In=t.updateComputedPropertyName(Et,Va.left);else{const tl=t.createTempVariable(s);$o(tl,Et.expression);const ic=ct(Et.expression,qe,Ct),sc=t.createAssignment(tl,ic);$o(sc,Et.expression),Rt=t.updateComputedPropertyName(Et,sc),In=t.updateComputedPropertyName(Et,tl)}}const Wn=cn(be.modifiers,Ge,Ha),hi=fne(t,be,Wn,be.initializer);oi(hi,be),An(hi,3072),$o(hi,Je);const di=Dke(t,be,Wn,Rt);oi(di,be),Bu(di,ie),$o(di,Je);const Us=Nke(t,be,Wn,In);return oi(Us,be),An(Us,3072),$o(Us,Je),Cie([hi,di,Us],Lt,Mu)}function Kt(be){if(Ji(be)){const ie=Nl(be.name);if(R.assert(ie,"Undeclared private name for property declaration."),!ie.isValid)return be;if(ie.isStatic&&!B){const Je=Qt(be,t.createThis());if(Je)return t.createClassStaticBlockDeclaration(t.createBlock([Je],!0))}return}if(O&&!Aa(be)&&(ce!=null&&ce.data)&&ce.data.facts&16)return t.updatePropertyDeclaration(be,cn(be.modifiers,qe,Mc),be.name,void 0,void 0,void 0);if(fd(be,se)){const{referencedName:ie,name:Je}=_r(be.name);return t.updatePropertyDeclaration(be,cn(be.modifiers,Ge,Ha),Je,void 0,void 0,ct(be.initializer,Et=>Me(Et,ie),Ct))}return t.updatePropertyDeclaration(be,cn(be.modifiers,Ge,Ha),ct(be.name,_t,sl),void 0,void 0,ct(be.initializer,qe,Ct))}function Qr(be){if(U&&!Ep(be)){const ie=qs(be.name,!!be.initializer||C,fd(be,se));if(ie&&Li().push(...Ike(ie)),Aa(be)&&!B){const Je=Qt(be,t.createThis());if(Je){const Et=t.createClassStaticBlockDeclaration(t.createBlock([Je]));return oi(Et,be),Bu(Et,be),Bu(Je,{pos:-1,end:-1}),r2(Je,void 0),Sw(Je,void 0),Et}}return}return t.updatePropertyDeclaration(be,cn(be.modifiers,Ge,Ha),ct(be.name,_t,sl),void 0,void 0,ct(be.initializer,qe,Ct))}function _n(be){return R.assert(!_d(be),"Decorators should already have been transformed and elided."),s_(be)?Kt(be):Qr(be)}function Nn(){return H===-1||H===3&&!!(ce!=null&&ce.data)&&!!(ce.data.facts&16)}function ks(be){return Ep(be)&&(Nn()||su(be)&&Qd(be)&32)?Dr(be):_n(be)}function ls(be,ie){return Yr(be,ct(ie,qe,Ct))}function Yr(be,ie){switch(Bu(ie,e2(ie,-1)),be.kind){case"a":return n().createClassPrivateFieldGetHelper(ie,be.brandCheckIdentifier,be.kind,be.getterName);case"m":return n().createClassPrivateFieldGetHelper(ie,be.brandCheckIdentifier,be.kind,be.methodName);case"f":return n().createClassPrivateFieldGetHelper(ie,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 Er(be){if(fs(be.name)){const ie=Nl(be.name);if(ie)return wt(oi(ls(ie,be.expression),be),be)}if(Z&&v_(be)&&He(be.name)&&we&&(ce!=null&&ce.data)){const{classConstructor:ie,superClassReference:Je,facts:Et}=ce.data;if(Et&1)return rs(be);if(ie&&Je){const Rt=t.createReflectGetCall(Je,t.createStringLiteralFromNode(be.name),ie);return oi(Rt,be.expression),wt(Rt,be.expression),Rt}}return Kr(be,qe,e)}function rn(be){if(Z&&v_(be)&&we&&(ce!=null&&ce.data)){const{classConstructor:ie,superClassReference:Je,facts:Et}=ce.data;if(Et&1)return rs(be);if(ie&&Je){const Rt=t.createReflectGetCall(Je,ct(be.argumentExpression,qe,Ct),ie);return oi(Rt,be.expression),wt(Rt,be.expression),Rt}}return Kr(be,qe,e)}function qr(be,ie){if(be.operator===46||be.operator===47){const Je=Tc(be.operand);if(j6(Je)){let Et;if(Et=Nl(Je.name)){const Rt=ct(Je.expression,qe,Ct),{readExpression:In,initializeExpression:Wn}=Nt(Rt);let hi=ls(Et,In);const di=i2(be)||ie?void 0:t.createTempVariable(s);return hi=CU(t,be,hi,s,di),hi=Fe(Et,Wn||In,hi,64),oi(hi,be),wt(hi,be),di&&(hi=t.createComma(hi,di),wt(hi,be)),hi}}else if(Z&&v_(Je)&&we&&(ce!=null&&ce.data)){const{classConstructor:Et,superClassReference:Rt,facts:In}=ce.data;if(In&1){const Wn=rs(Je);return i2(be)?t.updatePrefixUnaryExpression(be,Wn):t.updatePostfixUnaryExpression(be,Wn)}if(Et&&Rt){let Wn,hi;if(ai(Je)?He(Je.name)&&(hi=Wn=t.createStringLiteralFromNode(Je.name)):Sh(Je.argumentExpression)?hi=Wn=Je.argumentExpression:(hi=t.createTempVariable(s),Wn=t.createAssignment(hi,ct(Je.argumentExpression,qe,Ct))),Wn&&hi){let di=t.createReflectGetCall(Rt,hi,Et);wt(di,Je);const Us=ie?void 0:t.createTempVariable(s);return di=CU(t,be,di,s,Us),di=t.createReflectSetCall(Rt,Wn,di,Et),oi(di,be),wt(di,be),Us&&(di=t.createComma(di,Us),wt(di,be)),di}}}}return Kr(be,qe,e)}function xi(be){return t.updateForStatement(be,ct(be.initializer,ze,ld),ct(be.condition,qe,Ct),ct(be.incrementor,ze,Ct),l_(be.statement,qe,e))}function pt(be){return t.updateExpressionStatement(be,ct(be.expression,ze,Ct))}function Nt(be){const ie=Ec(be)?be:t.cloneNode(be);if(Sh(be))return{readExpression:ie,initializeExpression:void 0};const Je=t.createTempVariable(s),Et=t.createAssignment(Je,ie);return{readExpression:Je,initializeExpression:Et}}function dt(be){var ie;if(j6(be.expression)&&Nl(be.expression.name)){const{thisArg:Je,target:Et}=t.createCallBinding(be.expression,s,T);return kx(be)?t.updateCallChain(be,t.createPropertyAccessChain(ct(Et,qe,Ct),be.questionDotToken,"call"),void 0,void 0,[ct(Je,qe,Ct),...cn(be.arguments,qe,Ct)]):t.updateCallExpression(be,t.createPropertyAccessExpression(ct(Et,qe,Ct),"call"),void 0,[ct(Je,qe,Ct),...cn(be.arguments,qe,Ct)])}if(Z&&v_(be.expression)&&we&&((ie=ce==null?void 0:ce.data)!=null&&ie.classConstructor)){const Je=t.createFunctionCallCall(ct(be.expression,qe,Ct),ce.data.classConstructor,cn(be.arguments,qe,Ct));return oi(Je,be),wt(Je,be),Je}return Kr(be,qe,e)}function Ut(be){var ie;if(j6(be.tag)&&Nl(be.tag.name)){const{thisArg:Je,target:Et}=t.createCallBinding(be.tag,s,T);return t.updateTaggedTemplateExpression(be,t.createCallExpression(t.createPropertyAccessExpression(ct(Et,qe,Ct),"bind"),void 0,[ct(Je,qe,Ct)]),void 0,ct(be.template,qe,z6))}if(Z&&v_(be.tag)&&we&&((ie=ce==null?void 0:ce.data)!=null&&ie.classConstructor)){const Je=t.createFunctionBindCall(ct(be.tag,qe,Ct),ce.data.classConstructor,[]);return oi(Je,be),wt(Je,be),t.updateTaggedTemplateExpression(be,Je,void 0,ct(be.template,qe,z6))}return Kr(be,qe,e)}function rr(be){if(ce&&le.set(el(be),ce),B){f();let ie=ui(be,Et=>cn(Et,qe,Vs),be.body.statements);ie=t.mergeLexicalEnvironment(ie,l());const Je=t.createImmediatelyInvokedArrowFunction(ie);return oi(Je,be),wt(Je,be),og(Je,4),Je}}function se(be){if(Gf(be)&&!be.name){const ie=Cz(be),Je=Ve(ie,al);if(Je){for(const Rt of Je.body.statements)if(of(Rt)&&dD(Rt.expression,"___setFunctionName"))return!1}return(B||!!Qd(be))&&Ne(ie,Rt=>al(Rt)||s_(Rt)||U&&_9(Rt))}return!1}function at(be,ie){if(c1(be)){const Je=Ce;Ce=void 0,be=t.updateBinaryExpression(be,ct(be.left,et,Ct),be.operatorToken,ct(be.right,qe,Ct));const Et=Ne(Ce)?t.inlineExpressions(Ql([...Ce,be])):be;return Ce=Je,Et}if(o_(be)){if(fd(be,se)){const Et=vr(be.left,be.right),Rt=ct(be.left,qe,Ct),In=ct(be.right,Wn=>Me(Wn,Et),Ct);return t.updateBinaryExpression(be,Rt,be.operatorToken,In)}const Je=lf(be.left,9);if(j6(Je)){const Et=Nl(Je.name);if(Et)return wt(oi(Fe(Et,Je.expression,be.right,be.operatorToken.kind),be),be)}else if(Z&&v_(be.left)&&we&&(ce!=null&&ce.data)){const{classConstructor:Et,superClassReference:Rt,facts:In}=ce.data;if(In&1)return t.updateBinaryExpression(be,rs(be.left),be.operatorToken,ct(be.right,qe,Ct));if(Et&&Rt){let Wn=Pc(be.left)?ct(be.left.argumentExpression,qe,Ct):He(be.left.name)?t.createStringLiteralFromNode(be.left.name):void 0;if(Wn){let hi=ct(be.right,qe,Ct);if(VD(be.operatorToken.kind)){let Us=Wn;Sh(Wn)||(Us=t.createTempVariable(s),Wn=t.createAssignment(Us,Wn));const Va=t.createReflectGetCall(Rt,Us,Et);oi(Va,be.left),wt(Va,be.left),hi=t.createBinaryExpression(Va,$D(be.operatorToken.kind),hi),wt(hi,be)}const di=ie?void 0:t.createTempVariable(s);return di&&(hi=t.createAssignment(di,hi),wt(di,be)),hi=t.createReflectSetCall(Rt,Wn,hi,Et),oi(hi,be),wt(hi,be),di&&(hi=t.createComma(hi,di),wt(hi,be)),hi}}}}return htt(be)?Xt(be):Kr(be,qe,e)}function xt(be,ie){const Je=ie?f9(be.elements,ze):f9(be.elements,qe,ze);return t.updateCommaListExpression(be,Je)}function ae(be,ie,Je){const Et=ie?ze:Je?In=>Me(In,Je):qe,Rt=ct(be.expression,Et,Ct);return t.updateParenthesizedExpression(be,Rt)}function mt(be,ie,Je){const Et=ie?ze:Je?In=>Me(In,Je):qe,Rt=ct(be.expression,Et,Ct);return t.updatePartiallyEmittedExpression(be,Rt)}function _r(be){if(Kd(be)||fs(be)){const In=t.createStringLiteralFromNode(be),Wn=ct(be,qe,sl);return{referencedName:In,name:Wn}}if(Kd(be.expression)&&!He(be.expression)){const In=t.createStringLiteralFromNode(be.expression),Wn=ct(be,qe,sl);return{referencedName:In,name:Wn}}const ie=t.createTempVariable(s),Je=n().createPropKeyHelper(ct(be.expression,qe,Ct)),Et=t.createAssignment(ie,Je),Rt=t.updateComputedPropertyName(be,Br(Et));return{referencedName:ie,name:Rt}}function Fe(be,ie,Je,Et){if(ie=ct(ie,qe,Ct),Je=ct(Je,qe,Ct),VD(Et)){const{readExpression:Rt,initializeExpression:In}=Nt(ie);ie=In||Rt,Je=t.createBinaryExpression(Yr(be,Rt),$D(Et),Je)}switch(Bu(ie,e2(ie,-1)),be.kind){case"a":return n().createClassPrivateFieldSetHelper(ie,be.brandCheckIdentifier,Je,be.kind,be.setterName);case"m":return n().createClassPrivateFieldSetHelper(ie,be.brandCheckIdentifier,Je,be.kind,void 0);case"f":return n().createClassPrivateFieldSetHelper(ie,be.brandCheckIdentifier,Je,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 Gt(be){return gr(be.members,fEe)}function zt(be){let ie=0;const Je=el(be);Su(Je)&&LT(D,Je)&&(ie|=1);let Et=!1,Rt=!1,In=!1,Wn=!1;for(const di of be.members)Aa(di)?(di.name&&(fs(di.name)||Ep(di))&&B&&(ie|=2),(Ia(di)||al(di))&&(Y&&di.transformFlags&16384&&(ie|=8,ie&1||(ie|=2)),Z&&di.transformFlags&134217728&&(ie&1||(ie|=6)))):UT(el(di))||(Ep(di)?(Wn=!0,In||(In=s_(di))):s_(di)?In=!0:Ia(di)&&(Et=!0,Rt||(Rt=!!di.initializer)));return(M&&Et||O&&Rt||B&&In||B&&Wn&&H===-1)&&(ie|=16),ie}function Lr(be){var ie;if((((ie=ce==null?void 0:ce.data)==null?void 0:ie.facts)||0)&4){const Et=t.createTempVariable(s,!0);return Js().superClassReference=Et,t.updateExpressionWithTypeArguments(be,t.createAssignment(Et,ct(be.expression,qe,Ct)),void 0)}return Kr(be,qe,e)}function ii(be,ie,Je){const Et=xe,Rt=Ce,In=ce;xe=be,Ce=void 0,Ys();const Wn=Qd(be)&32;if(B||Wn){const Us=ia(be);Us&&He(Us)&&(Es().data.className=Us)}if(B){const Us=Gt(be);Ne(Us)&&(Es().data.weakSetName=Rc("instances",Us[0].name))}const hi=zt(be);hi&&(Js().facts=hi),hi&8&&bi();const di=Je(be,hi,ie);return Oi(),R.assert(ce===In),xe=Et,Ce=Rt,di}function Gn(be){return ii(be,void 0,Rn)}function Rn(be,ie){var Je,Et;let Rt;if(ie&2){if(B&&((Je=be.emitNode)!=null&&Je.classThis))Js().classConstructor=be.emitNode.classThis,Rt=t.createAssignment(be.emitNode.classThis,t.getInternalName(be));else{const sc=t.createTempVariable(s,!0);Js().classConstructor=t.cloneNode(sc),Rt=t.createAssignment(sc,t.getInternalName(be))}(Et=be.emitNode)!=null&&Et.classThis&&(Js().classThis=be.emitNode.classThis)}const In=gi(be,1),Wn=gi(be,1024);let hi=cn(be.modifiers,Ge,Ha);const di=cn(be.heritageClauses,st,sp),{members:Us,prologue:Va}=ke(be),tl=[];if(Rt&&Li().unshift(Rt),Ne(Ce)&&tl.push(t.createExpressionStatement(t.inlineExpressions(Ce))),O||B||Qd(be)&32){const sc=Cz(be);Ne(sc)&&vt(tl,sc,t.getInternalName(be))}tl.length>0&&In&&Wn&&(hi=cn(hi,sc=>OO(sc)?void 0:sc,Ha),tl.push(t.createExportAssignment(void 0,!1,t.getLocalName(be,!1,!0))));const ic=t.updateClassDeclaration(be,hi,be.name,void 0,di,Us);return tl.unshift(ic),Va&&tl.unshift(t.createExpressionStatement(Va)),tl}function L(be,ie){return ii(be,ie,Se)}function Se(be,ie,Je){var Et,Rt,In,Wn;const hi=!!(ie&1),di=Cz(be),Us=h.getNodeCheckFlags(be)&1048576;let Va;function tl(){var Xc;if(B&&((Xc=be.emitNode)!=null&&Xc.classThis))return Js().classConstructor=be.emitNode.classThis;const wu=h.getNodeCheckFlags(be),lp=wu&1048576,x_=wu&32768,De=t.createTempVariable(x_?g:s,!!lp);return Js().classConstructor=t.cloneNode(De),De}(Et=be.emitNode)!=null&&Et.classThis&&(Js().classThis=be.emitNode.classThis),ie&2&&(Va??(Va=tl()));const ic=cn(be.modifiers,Ge,Ha),sc=cn(be.heritageClauses,st,sp),{members:mu,prologue:cl}=ke(be);let Mo=t.updateClassExpression(be,ic,be.name,void 0,sc,mu);const hc=[];if(cl&&hc.push(cl),(B||Qd(be)&32)&&Ne(di,Xc=>al(Xc)||s_(Xc)||U&&_9(Xc))||Ne(Ce)||Je)if(hi){if(R.assertIsDefined(K,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),Ne(Ce)&&Pi(K,qt(Ce,t.createExpressionStatement)),Je)if(B){const Xc=n().createSetFunctionNameHelper(Va??((Rt=be.emitNode)==null?void 0:Rt.classThis)??t.getInternalName(be),Je);K.push(t.createExpressionStatement(Xc))}else{const Xc=n().createSetFunctionNameHelper(t.createThis(),Je);Mo=t.updateClassExpression(Mo,Mo.modifiers,Mo.name,Mo.typeParameters,Mo.heritageClauses,[t.createClassStaticBlockDeclaration(t.createBlock([t.createExpressionStatement(Xc)])),...Mo.members])}Ne(di)&&vt(K,di,((In=be.emitNode)==null?void 0:In.classThis)??t.getInternalName(be)),Va?hc.push(t.createAssignment(Va,Mo)):B&&((Wn=be.emitNode)!=null&&Wn.classThis)?hc.push(t.createAssignment(be.emitNode.classThis,Mo)):hc.push(Mo)}else{if(Va??(Va=tl()),Us){Pn();const Xc=t.cloneNode(Va);Xc.emitNode.autoGenerate.flags&=-9,de[Cf(be)]=Xc}hc.push(t.createAssignment(Va,Mo)),Pi(hc,Ce),Je&&hc.push(n().createSetFunctionNameHelper(Va,Je)),Pi(hc,ht(di,Va)),hc.push(t.cloneNode(Va))}else hc.push(Mo);return hc.length>1&&(og(Mo,131072),hc.forEach(Qf)),t.inlineExpressions(hc)}function pe(be){if(!B)return Kr(be,qe,e)}function ke(be){const ie=!!(Qd(be)&32);if(B||W){for(const Wn of be.members)if(s_(Wn))if(Ji(Wn))ga(Wn,Wn.name,Zs);else{const hi=Es();sk(hi,Wn.name,{kind:"untransformed"})}if(B&&Ne(Gt(be))&&ve(),Nn()){for(const Wn of be.members)if(Ep(Wn)){const hi=t.getGeneratedPrivateNameForNode(Wn.name,void 0,"_accessor_storage");if(B||ie&&su(Wn))ga(Wn,hi,Hc);else{const di=Es();sk(di,hi,{kind:"untransformed"})}}}}let Je=cn(be.members,je,Mu),Et;Ne(Je,El)||(Et=Te(void 0,be));let Rt,In;if(!B&&Ne(Ce)){let Wn=t.createExpressionStatement(t.inlineExpressions(Ce));if(Wn.transformFlags&134234112){const di=t.createTempVariable(s),Us=t.createArrowFunction(void 0,void 0,[],void 0,void 0,t.createBlock([Wn]));Rt=t.createAssignment(di,Us),Wn=t.createExpressionStatement(t.createCallExpression(di,void 0,[]))}const hi=t.createBlock([Wn]);In=t.createClassStaticBlockDeclaration(hi),Ce=void 0}if(Et||In){let Wn;Wn=zr(Wn,Et),Wn=zr(Wn,In),Wn=Pi(Wn,Je),Je=wt(t.createNodeArray(Wn),be.members)}return{members:Je,prologue:Rt}}function ve(){const{weakSetName:be}=Es().data;R.assert(be,"weakSetName should be set in private identifier environment"),Li().push(t.createAssignment(be,t.createNewExpression(t.createIdentifier("WeakSet"),void 0,[])))}function Te(be,ie){if(be=ct(be,qe,El),!(ce!=null&&ce.data)||!(ce.data.facts&16))return be;const Je=mh(ie),Et=!!(Je&&lf(Je.expression).kind!==106),Rt=Rl(be?be.parameters:void 0,qe,e),In=ee(ie,be,Et);return In?be?(R.assert(Rt),t.updateConstructorDeclaration(be,void 0,Rt,In)):Qf(oi(wt(t.createConstructorDeclaration(void 0,Rt??[],In),be||ie),be)):be}function ee(be,ie,Je){var Et;const Rt=Iie(be,!1,!1);let In=Rt;C||(In=gr(In,Mo=>!!Mo.initializer||fs(Mo.name)||rg(Mo)));const Wn=Gt(be),hi=Ne(In)||Ne(Wn);if(!ie&&!hi)return Xp(void 0,qe,e);d();const di=!ie&&Je;let Us=0,Va=0,tl=-1,ic=[];(Et=ie==null?void 0:ie.body)!=null&&Et.statements&&(Va=t.copyPrologue(ie.body.statements,ic,!1,qe),tl=kz(ie.body.statements,Va),tl>=0?(Us=tl+1,ic=[...ic.slice(0,Va),...cn(ie.body.statements,qe,Vs,Va,Us-Va),...ic.slice(Va)]):Va>=0&&(Us=Va)),di&&ic.push(t.createExpressionStatement(t.createCallExpression(t.createSuper(),void 0,[t.createSpreadElement(t.createIdentifier("arguments"))])));let sc=0;if(ie!=null&&ie.body){for(let Mo=Us;Mo<ie.body.statements.length;Mo++){const hc=ie.body.statements[Mo];if(Cp(el(hc),ie))sc++;else break}sc>0&&(Us+=sc)}const mu=t.createThis();if(Vi(ic,Wn,mu),ie){const Mo=gr(Rt,Ku=>Cp(el(Ku),ie)),hc=gr(In,Ku=>!Cp(el(Ku),ie));vt(ic,Mo,mu),vt(ic,hc,mu)}else vt(ic,In,mu);if(ie&&Pi(ic,cn(ie.body.statements,qe,Vs,Us)),ic=t.mergeLexicalEnvironment(ic,l()),ic.length===0&&!ie)return;const cl=ie!=null&&ie.body&&ie.body.statements.length>=ic.length?ie.body.multiLine??ic.length>0:ic.length>0;return wt(t.createBlock(wt(t.createNodeArray(ic),ie?ie.body.statements:be.members),cl),ie?ie.body:void 0)}function vt(be,ie,Je){for(const Et of ie){if(Aa(Et)&&!B)continue;const Rt=Qt(Et,Je);Rt&&be.push(Rt)}}function Qt(be,ie){const Je=al(be)?rr(be):Vt(be,ie);if(!Je)return;const Et=t.createExpressionStatement(Je);oi(Et,be),og(Et,xo(be)&3072),Bu(Et,be);const Rt=el(be);return ea(Rt)?($o(Et,Rt),aO(Et)):$o(Et,hh(be)),r2(Je,void 0),Sw(Je,void 0),rg(Rt)&&og(Et,3072),Et}function ht(be,ie){const Je=[];for(const Et of be){const Rt=al(Et)?rr(Et):Vt(Et,ie);Rt&&(Qf(Rt),oi(Rt,Et),og(Rt,xo(Et)&3072),$o(Rt,hh(Et)),Bu(Rt,Et),Je.push(Rt))}return Je}function Vt(be,ie){var Je;const Et=we,Rt=Nr(be,ie);return Rt&&su(be)&&((Je=ce==null?void 0:ce.data)!=null&&Je.facts)&&(oi(Rt,be),og(Rt,4),$o(Rt,t2(be.name)),le.set(el(be),ce)),we=Et,Rt}function Nr(be,ie){const Je=!C;let Et;fd(be,se)&&(Kd(be.name)||fs(be.name)?Et=t.createStringLiteralFromNode(be.name):Kd(be.name.expression)&&!He(be.name.expression)?Et=t.createStringLiteralFromNode(be.name.expression):Et=t.getGeneratedNameForNode(be.name));const Rt=rg(be)?t.getGeneratedPrivateNameForNode(be.name):Ho(be.name)&&!Sh(be.name.expression)?t.updateComputedPropertyName(be.name,t.getGeneratedNameForNode(be.name)):be.name;su(be)&&(we=be);const In=Et?di=>Me(di,Et):qe;if(fs(Rt)&&Ji(be)){const di=Nl(Rt);if(di)return di.kind==="f"?di.isStatic?_tt(t,di.variableName,ct(be.initializer,In,Ct)):ptt(t,ie,ct(be.initializer,In,Ct),di.brandCheckIdentifier):void 0;R.fail("Undeclared private name for property declaration.")}if((fs(Rt)||su(be))&&!be.initializer)return;const Wn=el(be);if(gi(Wn,256))return;let hi=ct(be.initializer,In,Ct);if(Cp(Wn,Wn.parent)&&He(Rt)){const di=t.cloneNode(Rt);hi?(j_(hi)&&PO(hi.expression)&&dD(hi.expression.left,"___runInitializers")&&Lw(hi.expression.right)&&Hp(hi.expression.right.expression)&&(hi=hi.expression.left),hi=t.inlineExpressions([hi,di])):hi=di,An(Rt,3168),$o(di,Wn.name),An(di,3072)}else hi??(hi=t.createVoidZero());if(Je||fs(Rt)){const di=Kx(t,ie,Rt,Rt);return og(di,1024),t.createAssignment(di,hi)}else{const di=Ho(Rt)?Rt.expression:He(Rt)?t.createStringLiteral(xs(Rt.escapedText)):Rt,Us=t.createPropertyDescriptor({value:hi,configurable:!0,writable:!0,enumerable:!0});return t.createObjectDefinePropertyCall(ie,di,Us)}}function Pn(){ye&1||(ye|=1,e.enableSubstitution(80),de=[])}function bi(){ye&2||(ye|=2,e.enableSubstitution(110),e.enableEmitNotification(261),e.enableEmitNotification(217),e.enableEmitNotification(175),e.enableEmitNotification(176),e.enableEmitNotification(177),e.enableEmitNotification(173),e.enableEmitNotification(171),e.enableEmitNotification(166))}function Vi(be,ie,Je){if(!B||!Ne(ie))return;const{weakSetName:Et}=Es().data;R.assert(Et,"weakSetName should be set in private identifier environment"),be.push(t.createExpressionStatement(dtt(t,Je,Et)))}function rs(be){return ai(be)?t.updatePropertyAccessExpression(be,t.createVoidZero(),be.name):t.updateElementAccessExpression(be,t.createVoidZero(),ct(be.argumentExpression,qe,Ct))}function qs(be,ie,Je){if(Ho(be)){const Et=OU(be);let Rt=ct(be.expression,qe,Ct);const In=Xd(Rt),Wn=Sh(In);if(!(!!Et||o_(In)&&il(In.left))&&!Wn&&ie){const di=t.getGeneratedNameForNode(be);return h.getNodeCheckFlags(be)&32768?g(di):s(di),Je&&(Rt=n().createPropKeyHelper(Rt)),t.createAssignment(di,Rt)}return Wn||He(In)?void 0:Rt}}function Ys(){ce={previous:ce,data:void 0}}function Oi(){ce=ce==null?void 0:ce.previous}function Js(){return R.assert(ce),ce.data??(ce.data={facts:0,classConstructor:void 0,classThis:void 0,superClassReference:void 0})}function Es(){return R.assert(ce),ce.privateEnv??(ce.privateEnv=dEe({className:void 0,weakSetName:void 0}))}function Li(){return Ce??(Ce=[])}function Zs(be,ie,Je,Et,Rt,In,Wn){Ep(be)?Za(be,ie,Je,Et,Rt,In):Ia(be)?Hc(be,ie,Je,Et,Rt,In):ql(be)?rc(be,ie,Je,Et,Rt,In):nm(be)?nn(be,ie,Je,Et,Rt,In,Wn):md(be)&&ta(be,ie,Je,Et,Rt,In,Wn)}function Hc(be,ie,Je,Et,Rt,In,Wn){if(Rt){const hi=R.checkDefined(Je.classThis??Je.classConstructor,"classConstructor should be set in private identifier environment"),di=Dl(ie);sk(Et,ie,{kind:"f",isStatic:!0,brandCheckIdentifier:hi,variableName:di,isValid:In})}else{const hi=Dl(ie);sk(Et,ie,{kind:"f",isStatic:!1,brandCheckIdentifier:hi,isValid:In}),Li().push(t.createAssignment(hi,t.createNewExpression(t.createIdentifier("WeakMap"),void 0,[])))}}function rc(be,ie,Je,Et,Rt,In,Wn){const hi=Dl(ie),di=Rt?R.checkDefined(Je.classThis??Je.classConstructor,"classConstructor should be set in private identifier environment"):R.checkDefined(Et.data.weakSetName,"weakSetName should be set in private identifier environment");sk(Et,ie,{kind:"m",methodName:hi,brandCheckIdentifier:di,isStatic:Rt,isValid:In})}function nn(be,ie,Je,Et,Rt,In,Wn){const hi=Dl(ie,"_get"),di=Rt?R.checkDefined(Je.classThis??Je.classConstructor,"classConstructor should be set in private identifier environment"):R.checkDefined(Et.data.weakSetName,"weakSetName should be set in private identifier environment");(Wn==null?void 0:Wn.kind)==="a"&&Wn.isStatic===Rt&&!Wn.getterName?Wn.getterName=hi:sk(Et,ie,{kind:"a",getterName:hi,setterName:void 0,brandCheckIdentifier:di,isStatic:Rt,isValid:In})}function ta(be,ie,Je,Et,Rt,In,Wn){const hi=Dl(ie,"_set"),di=Rt?R.checkDefined(Je.classThis??Je.classConstructor,"classConstructor should be set in private identifier environment"):R.checkDefined(Et.data.weakSetName,"weakSetName should be set in private identifier environment");(Wn==null?void 0:Wn.kind)==="a"&&Wn.isStatic===Rt&&!Wn.setterName?Wn.setterName=hi:sk(Et,ie,{kind:"a",getterName:void 0,setterName:hi,brandCheckIdentifier:di,isStatic:Rt,isValid:In})}function Za(be,ie,Je,Et,Rt,In,Wn){const hi=Dl(ie,"_get"),di=Dl(ie,"_set"),Us=Rt?R.checkDefined(Je.classThis??Je.classConstructor,"classConstructor should be set in private identifier environment"):R.checkDefined(Et.data.weakSetName,"weakSetName should be set in private identifier environment");sk(Et,ie,{kind:"a",getterName:hi,setterName:di,brandCheckIdentifier:Us,isStatic:Rt,isValid:In})}function ga(be,ie,Je){const Et=Js(),Rt=Es(),In=Mie(Rt,ie),Wn=su(be),hi=!mtt(ie)&&In===void 0;Je(be,ie,Et,Rt,Wn,hi,In)}function Rc(be,ie,Je){const{className:Et}=Es().data,Rt=Et?{prefix:"_",node:Et,suffix:"_"}:"_",In=typeof be=="object"?t.getGeneratedNameForNode(be,24,Rt,Je):typeof be=="string"?t.createUniqueName(be,16,Rt,Je):t.createTempVariable(void 0,!0,Rt,Je);return h.getNodeCheckFlags(ie)&32768?g(In):s(In),In}function Dl(be,ie){const Je=kP(be);return Rc((Je==null?void 0:Je.substring(1))??be,be,ie)}function Nl(be){const ie=mEe(ce,be);return(ie==null?void 0:ie.kind)==="untransformed"?void 0:ie}function ku(be){const ie=t.getGeneratedNameForNode(be),Je=Nl(be.name);if(!Je)return Kr(be,qe,e);let Et=be.expression;return(e5(be)||v_(be)||!iS(be.expression))&&(Et=t.createTempVariable(s,!0),Li().push(t.createBinaryExpression(Et,64,ct(be.expression,qe,Ct)))),t.createAssignmentTargetWrapper(ie,Fe(Je,Et,ie,64))}function la(be){if(jo(be)||Hf(be))return hl(be);if(j6(be))return ku(be);if(Z&&v_(be)&&we&&(ce!=null&&ce.data)){const{classConstructor:ie,superClassReference:Je,facts:Et}=ce.data;if(Et&1)return rs(be);if(ie&&Je){const Rt=Pc(be)?ct(be.argumentExpression,qe,Ct):He(be.name)?t.createStringLiteralFromNode(be.name):void 0;if(Rt){const In=t.createTempVariable(void 0);return t.createAssignmentTargetWrapper(In,t.createReflectSetCall(Je,Rt,In,ie))}}}return Kr(be,qe,e)}function Ns(be){if(fd(be,se)){const ie=la(be.left),Je=vr(be.left,be.right),Et=ct(be.right,Rt=>Me(Rt,Je),Ct);return t.updateBinaryExpression(be,ie,be.operatorToken,Et)}if(o_(be,!0)){const ie=la(be.left),Je=ct(be.right,qe,Ct);return t.updateBinaryExpression(be,ie,be.operatorToken,Je)}return la(be)}function Wl(be){if(L_(be.expression)){const ie=la(be.expression);return t.updateSpreadElement(be,ie)}return Kr(be,qe,e)}function Gc(be){if(VI(be)){if(lg(be))return Wl(be);if(!bu(be))return Ns(be)}return Kr(be,qe,e)}function Af(be){const ie=ct(be.name,qe,sl);if(o_(be.initializer,!0)){const Je=Ns(be.initializer);return t.updatePropertyAssignment(be,ie,Je)}if(L_(be.initializer)){const Je=la(be.initializer);return t.updatePropertyAssignment(be,ie,Je)}return Kr(be,qe,e)}function Zl(be){if(fd(be,se)){const ie=vr(be.name,be.objectAssignmentInitializer),Je=ct(be.objectAssignmentInitializer,Et=>Me(Et,ie),Ct);return t.updateShorthandPropertyAssignment(be,be.name,Je)}return Kr(be,qe,e)}function Vu(be){if(L_(be.expression)){const ie=la(be.expression);return t.updateSpreadAssignment(be,ie)}return Kr(be,qe,e)}function pc(be){return R.assertNode(be,zI),ZT(be)?Vu(be):hd(be)?Zl(be):pu(be)?Af(be):Kr(be,qe,e)}function hl(be){return Hf(be)?t.updateArrayLiteralExpression(be,cn(be.elements,Gc,Ct)):t.updateObjectLiteralExpression(be,cn(be.properties,pc,n1))}function Sc(be,ie,Je){const Et=el(ie),Rt=le.get(Et);if(Rt){const In=ce,Wn=ue;ce=Rt,ue=Ie,Ie=!al(Et)||!(Qd(Et)&32),he(be,ie,Je),Ie=ue,ue=Wn,ce=In;return}switch(ie.kind){case 217:if(Dc(Et)||xo(ie)&524288)break;case 261:case 175:case 176:case 177:case 173:case 171:{const In=ce,Wn=ue;ce=void 0,ue=Ie,Ie=!1,he(be,ie,Je),Ie=ue,ue=Wn,ce=In;return}case 166:{const In=ce,Wn=Ie;ce=ce==null?void 0:ce.previous,Ie=ue,he(be,ie,Je),Ie=Wn,ce=In;return}}he(be,ie,Je)}function Jc(be,ie){return ie=Q(be,ie),be===1?br(ie):ie}function br(be){switch(be.kind){case 80:return ff(be);case 110:return Bl(be)}return be}function Bl(be){if(ye&2&&(ce!=null&&ce.data)){const{facts:ie,classConstructor:Je,classThis:Et}=ce.data;if(ie&1&&D)return t.createParenthesizedExpression(t.createVoidZero());const Rt=Ie?Et??Je:Je;if(Rt)return wt(oi(t.cloneNode(Rt),be),be)}return be}function ff(be){return Cu(be)||be}function Cu(be){if(ye&1&&h.getNodeCheckFlags(be)&2097152){const ie=h.getReferencedValueDeclaration(be);if(ie){const Je=de[ie.id];if(Je){const Et=t.cloneNode(Je);return $o(Et,be),Bu(Et,be),Et}}}}}function _tt(e,t,n){return e.createAssignment(t,e.createObjectLiteralExpression([e.createPropertyAssignment("value",n||e.createVoidZero())]))}function ptt(e,t,n,s){return e.createCallExpression(e.createPropertyAccessExpression(s,"set"),void 0,[t,n||e.createVoidZero()])}function dtt(e,t,n){return e.createCallExpression(e.createPropertyAccessExpression(n,"add"),void 0,[t])}function mtt(e){return!KC(e)&&e.escapedText==="#constructor"}function htt(e){return fs(e.left)&&e.operatorToken.kind===103}var gtt=p({"src/compiler/transformers/classFields.ts"(){Ba()}});function bEe(e){const{factory:t,hoistVariableDeclaration:n}=e,s=e.getEmitResolver(),l=e.getCompilerOptions(),f=Eo(l),d=Md(l,"strictNullChecks");let g,h;return{serializeTypeNode:(Ce,K)=>k(Ce,U,K),serializeTypeOfNode:(Ce,K)=>k(Ce,C,K),serializeParameterTypesOfNode:(Ce,K,ce)=>k(Ce,D,K,ce),serializeReturnTypeOfNode:(Ce,K)=>k(Ce,M,K)};function k(Ce,K,ce,le){const xe=g,we=h;g=Ce.currentLexicalScope,h=Ce.currentNameScope;const Ie=le===void 0?K(ce):K(ce,le);return g=xe,h=we,Ie}function T(Ce){const K=s.getAllAccessorDeclarations(Ce);return K.setAccessor&&qTe(K.setAccessor)||K.getAccessor&&Am(K.getAccessor)}function C(Ce){switch(Ce.kind){case 171:case 168:return U(Ce.type);case 177:case 176:return U(T(Ce));case 262:case 230:case 173:return t.createIdentifier("Function");default:return t.createVoidZero()}}function D(Ce,K){const ce=Ri(Ce)?Yg(Ce):Sa(Ce)&&Pd(Ce.body)?Ce:void 0,le=[];if(ce){const xe=O(ce,K),we=xe.length;for(let Ie=0;Ie<we;Ie++){const ue=xe[Ie];Ie===0&&He(ue.name)&&ue.name.escapedText==="this"||(ue.dotDotDotToken?le.push(U(Pee(ue.type))):le.push(C(ue)))}}return t.createArrayLiteralExpression(le)}function O(Ce,K){if(K&&Ce.kind===176){const{setAccessor:ce}=jx(K.members,Ce);if(ce)return ce.parameters}return Ce.parameters}function M(Ce){return Sa(Ce)&&Ce.type?U(Ce.type):p4(Ce)?t.createIdentifier("Promise"):t.createVoidZero()}function U(Ce){if(Ce===void 0)return t.createIdentifier("Object");switch(Ce=Vee(Ce),Ce.kind){case 116:case 157:case 146:return t.createVoidZero();case 183:case 184:return t.createIdentifier("Function");case 187:case 188:return t.createIdentifier("Array");case 181:return Ce.assertsModifier?t.createVoidZero():t.createIdentifier("Boolean");case 136:return t.createIdentifier("Boolean");case 202:case 154:return t.createIdentifier("String");case 151:return t.createIdentifier("Object");case 200:return B(Ce.literal);case 150:return t.createIdentifier("Number");case 162:return de("BigInt",7);case 155:return de("Symbol",2);case 182:return Z(Ce);case 192:return H(Ce.types,!0);case 191:return H(Ce.types,!1);case 193:return H([Ce.trueType,Ce.falseType],!1);case 197:if(Ce.operator===148)return U(Ce.type);break;case 185:case 198:case 199:case 186:case 133:case 159:case 196:case 204:break;case 318:case 319:case 323:case 324:case 325:break;case 320:case 321:case 322:return U(Ce.type);default:return R.failBadSyntaxKind(Ce)}return t.createIdentifier("Object")}function B(Ce){switch(Ce.kind){case 11:case 15:return t.createIdentifier("String");case 223:{const K=Ce.operand;switch(K.kind){case 9:case 10:return B(K);default:return R.failBadSyntaxKind(K)}}case 9:return t.createIdentifier("Number");case 10:return de("BigInt",7);case 112:case 97:return t.createIdentifier("Boolean");case 106:return t.createVoidZero();default:return R.failBadSyntaxKind(Ce)}}function H(Ce,K){let ce;for(let le of Ce){if(le=Vee(le),le.kind===146){if(K)return t.createVoidZero();continue}if(le.kind===159){if(!K)return t.createIdentifier("Object");continue}if(le.kind===133)return t.createIdentifier("Object");if(!d&&(n2(le)&&le.literal.kind===106||le.kind===157))continue;const xe=U(le);if(He(xe)&&xe.escapedText==="Object")return xe;if(ce){if(!Y(ce,xe))return t.createIdentifier("Object")}else ce=xe}return ce??t.createVoidZero()}function Y(Ce,K){return il(Ce)?il(K):He(Ce)?He(K)&&Ce.escapedText===K.escapedText:ai(Ce)?ai(K)&&Y(Ce.expression,K.expression)&&Y(Ce.name,K.name):Lw(Ce)?Lw(K)&&Hp(Ce.expression)&&Ce.expression.text==="0"&&Hp(K.expression)&&K.expression.text==="0":yo(Ce)?yo(K)&&Ce.text===K.text:F4(Ce)?F4(K)&&Y(Ce.expression,K.expression):j_(Ce)?j_(K)&&Y(Ce.expression,K.expression):B4(Ce)?B4(K)&&Y(Ce.condition,K.condition)&&Y(Ce.whenTrue,K.whenTrue)&&Y(Ce.whenFalse,K.whenFalse):Bn(Ce)?Bn(K)&&Ce.operatorToken.kind===K.operatorToken.kind&&Y(Ce.left,K.left)&&Y(Ce.right,K.right):!1}function Z(Ce){const K=s.getTypeReferenceSerializationKind(Ce.typeName,h??g);switch(K){case 0:if(mn(Ce,xe=>xe.parent&&M4(xe.parent)&&(xe.parent.trueType===xe||xe.parent.falseType===xe)))return t.createIdentifier("Object");const ce=Q(Ce.typeName),le=t.createTempVariable(n);return t.createConditionalExpression(t.createTypeCheck(t.createAssignment(le,ce),"function"),void 0,le,void 0,t.createIdentifier("Object"));case 1:return he(Ce.typeName);case 2:return t.createVoidZero();case 4:return de("BigInt",7);case 6:return t.createIdentifier("Boolean");case 3:return t.createIdentifier("Number");case 5:return t.createIdentifier("String");case 7:return t.createIdentifier("Array");case 8:return de("Symbol",2);case 10:return t.createIdentifier("Function");case 9:return t.createIdentifier("Promise");case 11:return t.createIdentifier("Object");default:return R.assertNever(K)}}function fe(Ce,K){return t.createLogicalAnd(t.createStrictInequality(t.createTypeOfExpression(Ce),t.createStringLiteral("undefined")),K)}function Q(Ce){if(Ce.kind===80){const le=he(Ce);return fe(le,le)}if(Ce.left.kind===80)return fe(he(Ce.left),he(Ce));const K=Q(Ce.left),ce=t.createTempVariable(n);return t.createLogicalAnd(t.createLogicalAnd(K.left,t.createStrictInequality(t.createAssignment(ce,K.right),t.createVoidZero())),t.createPropertyAccessExpression(ce,Ce.right))}function he(Ce){switch(Ce.kind){case 80:const K=ko(wt(_g.cloneNode(Ce),Ce),Ce.parent);return K.original=void 0,ko(K,Gs(g)),K;case 165:return W(Ce)}}function W(Ce){return t.createPropertyAccessExpression(he(Ce.left),Ce.right)}function ye(Ce){return t.createConditionalExpression(t.createTypeCheck(t.createIdentifier(Ce),"function"),void 0,t.createIdentifier(Ce),void 0,t.createIdentifier("Object"))}function de(Ce,K){return f<K?ye(Ce):t.createIdentifier(Ce)}}var ytt=p({"src/compiler/transformers/typeSerializer.ts"(){Ba()}});function TEe(e){const{factory:t,getEmitHelperFactory:n,hoistVariableDeclaration:s}=e,l=e.getEmitResolver(),f=e.getCompilerOptions(),d=Eo(f),g=e.onSubstituteNode;e.onSubstituteNode=_t;let h;return om(e,k);function k(Ye){const Bt=Kr(Ye,C,e);return f1(Bt,e.readEmitHelpers()),Bt}function T(Ye){return xf(Ye)?void 0:Ye}function C(Ye){if(!(Ye.transformFlags&33554432))return Ye;switch(Ye.kind){case 169:return;case 262:return D(Ye);case 230:return Z(Ye);case 175:return fe(Ye);case 173:return he(Ye);case 177:return ye(Ye);case 176:return W(Ye);case 171:return de(Ye);case 168:return Ce(Ye);default:return Kr(Ye,C,e)}}function D(Ye){if(!(LT(!0,Ye)||EP(!0,Ye)))return Kr(Ye,C,e);const Bt=LT(!0,Ye)?Y(Ye,Ye.name):H(Ye,Ye.name);return Ug(Bt)}function O(Ye){return!!(Ye.transformFlags&536870912)}function M(Ye){return Ne(Ye,O)}function U(Ye){for(const Bt of Ye.members){if(!Jw(Bt))continue;const vr=wz(Bt,Ye,!0);if(Ne(vr==null?void 0:vr.decorators,O)||Ne(vr==null?void 0:vr.parameters,M))return!0}return!1}function B(Ye,Bt){let vr=[];return le(vr,Ye,!1),le(vr,Ye,!0),U(Ye)&&(Bt=wt(t.createNodeArray([...Bt,t.createClassStaticBlockDeclaration(t.createBlock(vr,!0))]),Bt),vr=void 0),{decorationStatements:vr,members:Bt}}function H(Ye,Bt){const vr=cn(Ye.modifiers,T,Ha),Ar=cn(Ye.heritageClauses,C,sp);let Ht=cn(Ye.members,C,Mu),tn=[];({members:Ht,decorationStatements:tn}=B(Ye,Ht));const hn=t.updateClassDeclaration(Ye,vr,Bt,void 0,Ar,Ht);return Pi([hn],tn)}function Y(Ye,Bt){const vr=gi(Ye,1),Ar=gi(Ye,1024),Ht=cn(Ye.modifiers,_n=>OO(_n)||xf(_n)?void 0:_n,Mc),tn=hh(Ye),hn=st(Ye),Br=d<2?t.getInternalName(Ye,!1,!0):t.getLocalName(Ye,!1,!0),Cn=cn(Ye.heritageClauses,C,sp);let ci=cn(Ye.members,C,Mu),Ji=[];({members:ci,decorationStatements:Ji}=B(Ye,ci));const ws=d>=9&&!!hn&&Ne(ci,_n=>Ia(_n)&&gi(_n,32)||al(_n));ws&&(ci=wt(t.createNodeArray([t.createClassStaticBlockDeclaration(t.createBlock([t.createExpressionStatement(t.createAssignment(hn,t.createThis()))])),...ci]),ci));const ui=t.createClassExpression(Ht,Bt&&il(Bt)?void 0:Bt,void 0,Cn,ci);oi(ui,Ye),wt(ui,tn);const Pt=t.createVariableDeclaration(Br,void 0,void 0,hn&&!ws?t.createAssignment(hn,ui):ui);oi(Pt,Ye);let Dr;vr&&!Ar&&(Dr=t.createModifiersFromModifierFlags(1));const Kt=t.createVariableStatement(Dr,t.createVariableDeclarationList([Pt],1));oi(Kt,Ye),wt(Kt,tn),Bu(Kt,Ye);const Qr=[Kt];return Pi(Qr,Ji),ut(Qr,Ye),vr&&Ar&&Qr.push(t.createExportAssignment(void 0,!1,Br)),Qr}function Z(Ye){return t.updateClassExpression(Ye,cn(Ye.modifiers,T,Ha),Ye.name,void 0,cn(Ye.heritageClauses,C,sp),cn(Ye.members,C,Mu))}function fe(Ye){return t.updateConstructorDeclaration(Ye,cn(Ye.modifiers,T,Ha),cn(Ye.parameters,C,ea),ct(Ye.body,C,Pa))}function Q(Ye,Bt){return Ye!==Bt&&(Bu(Ye,Bt),$o(Ye,hh(Bt))),Ye}function he(Ye){return Q(t.updateMethodDeclaration(Ye,cn(Ye.modifiers,T,Ha),Ye.asteriskToken,R.checkDefined(ct(Ye.name,C,sl)),void 0,void 0,cn(Ye.parameters,C,ea),void 0,ct(Ye.body,C,Pa)),Ye)}function W(Ye){return Q(t.updateGetAccessorDeclaration(Ye,cn(Ye.modifiers,T,Ha),R.checkDefined(ct(Ye.name,C,sl)),cn(Ye.parameters,C,ea),void 0,ct(Ye.body,C,Pa)),Ye)}function ye(Ye){return Q(t.updateSetAccessorDeclaration(Ye,cn(Ye.modifiers,T,Ha),R.checkDefined(ct(Ye.name,C,sl)),cn(Ye.parameters,C,ea),ct(Ye.body,C,Pa)),Ye)}function de(Ye){if(!(Ye.flags&16777216||gi(Ye,2)))return Q(t.updatePropertyDeclaration(Ye,cn(Ye.modifiers,T,Ha),R.checkDefined(ct(Ye.name,C,sl)),void 0,void 0,ct(Ye.initializer,C,Ct)),Ye)}function Ce(Ye){const Bt=t.updateParameterDeclaration(Ye,Pke(t,Ye.modifiers),Ye.dotDotDotToken,R.checkDefined(ct(Ye.name,C,qg)),void 0,void 0,ct(Ye.initializer,C,Ct));return Bt!==Ye&&(Bu(Bt,Ye),wt(Bt,hh(Ye)),$o(Bt,hh(Ye)),An(Bt.name,64)),Bt}function K(Ye){return dD(Ye.expression,"___metadata")}function ce(Ye){if(!Ye)return;const{false:Bt,true:vr}=Ave(Ye.decorators,K),Ar=[];return Pi(Ar,qt(Bt,qe)),Pi(Ar,ln(Ye.parameters,Ke)),Pi(Ar,qt(vr,qe)),Ar}function le(Ye,Bt,vr){Pi(Ye,qt(Ie(Bt,vr),Ar=>t.createExpressionStatement(Ar)))}function xe(Ye,Bt,vr){return r5(!0,Ye,vr)&&Bt===Aa(Ye)}function we(Ye,Bt){return gr(Ye.members,vr=>xe(vr,Bt,Ye))}function Ie(Ye,Bt){const vr=we(Ye,Bt);let Ar;for(const Ht of vr)Ar=zr(Ar,ue(Ye,Ht));return Ar}function ue(Ye,Bt){const vr=wz(Bt,Ye,!0),Ar=ce(vr);if(!Ar)return;const Ht=je(Ye,Bt),tn=Me(Bt,!gi(Bt,2)),hn=d>0?Ia(Bt)&&!rg(Bt)?t.createVoidZero():t.createNull():void 0,Br=n().createDecorateHelper(Ar,Ht,tn,hn);return An(Br,3072),$o(Br,hh(Bt)),Br}function ut(Ye,Bt){const vr=Ge(Bt);vr&&Ye.push(oi(t.createExpressionStatement(vr),Bt))}function Ge(Ye){const Bt=Lie(Ye),vr=ce(Bt);if(!vr)return;const Ar=h&&h[Cf(Ye)],Ht=d<2?t.getInternalName(Ye,!1,!0):t.getDeclarationName(Ye,!1,!0),tn=n().createDecorateHelper(vr,Ht),hn=t.createAssignment(Ht,Ar?t.createAssignment(Ar,tn):tn);return An(hn,3072),$o(hn,hh(Ye)),hn}function qe(Ye){return R.checkDefined(ct(Ye.expression,C,Ct))}function Ke(Ye,Bt){let vr;if(Ye){vr=[];for(const Ar of Ye){const Ht=n().createParamHelper(qe(Ar),Bt);wt(Ht,Ar.expression),An(Ht,3072),vr.push(Ht)}}return vr}function Me(Ye,Bt){const vr=Ye.name;return fs(vr)?t.createIdentifier(""):Ho(vr)?Bt&&!Sh(vr.expression)?t.getGeneratedNameForNode(vr):vr.expression:He(vr)?t.createStringLiteral(Zn(vr)):t.cloneNode(vr)}function ze(){h||(e.enableSubstitution(80),h=[])}function st(Ye){if(l.getNodeCheckFlags(Ye)&1048576){ze();const Bt=t.createUniqueName(Ye.name&&!il(Ye.name)?Zn(Ye.name):"default");return h[Cf(Ye)]=Bt,s(Bt),Bt}}function et(Ye){return t.createPropertyAccessExpression(t.getDeclarationName(Ye),"prototype")}function je(Ye,Bt){return Aa(Bt)?t.getDeclarationName(Ye):et(Ye)}function _t(Ye,Bt){return Bt=g(Ye,Bt),Ye===1?Lt(Bt):Bt}function Lt(Ye){switch(Ye.kind){case 80:return Dt(Ye)}return Ye}function Dt(Ye){return Xt(Ye)??Ye}function Xt(Ye){if(h&&l.getNodeCheckFlags(Ye)&2097152){const Bt=l.getReferencedValueDeclaration(Ye);if(Bt){const vr=h[Bt.id];if(vr){const Ar=t.cloneNode(vr);return $o(Ar,Ye),Bu(Ar,Ye),Ar}}}}}var vtt=p({"src/compiler/transformers/legacyDecorators.ts"(){Ba()}});function SEe(e){const{factory:t,getEmitHelperFactory:n,startLexicalEnvironment:s,endLexicalEnvironment:l,hoistVariableDeclaration:f}=e,d=e.getCompilerOptions(),g=Eo(d);let h,k,T,C,D,O;return om(e,M);function M(L){h=void 0,O=!1;const Se=Kr(L,de,e);return f1(Se,e.readEmitHelpers()),O&&(Tw(Se,32),O=!1),Se}function U(){switch(k=void 0,T=void 0,C=void 0,h==null?void 0:h.kind){case"class":k=h.classInfo;break;case"class-element":k=h.next.classInfo,T=h.classThis,C=h.classSuper;break;case"name":const L=h.next.next.next;(L==null?void 0:L.kind)==="class-element"&&(k=L.next.classInfo,T=L.classThis,C=L.classSuper);break}}function B(L){h={kind:"class",next:h,classInfo:L,savedPendingExpressions:D},D=void 0,U()}function H(){R.assert((h==null?void 0:h.kind)==="class","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class' but got '${h==null?void 0:h.kind}' instead.`),D=h.savedPendingExpressions,h=h.next,U()}function Y(L){var Se,pe;R.assert((h==null?void 0:h.kind)==="class","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class' but got '${h==null?void 0:h.kind}' instead.`),h={kind:"class-element",next:h},(al(L)||Ia(L)&&su(L))&&(h.classThis=(Se=h.next.classInfo)==null?void 0:Se.classThis,h.classSuper=(pe=h.next.classInfo)==null?void 0:pe.classSuper),U()}function Z(){var L;R.assert((h==null?void 0:h.kind)==="class-element","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class-element' but got '${h==null?void 0:h.kind}' instead.`),R.assert(((L=h.next)==null?void 0:L.kind)==="class","Incorrect value for top.next.kind.",()=>{var Se;return`Expected top.next.kind to be 'class' but got '${(Se=h.next)==null?void 0:Se.kind}' instead.`}),h=h.next,U()}function fe(){R.assert((h==null?void 0:h.kind)==="class-element","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class-element' but got '${h==null?void 0:h.kind}' instead.`),h={kind:"name",next:h},U()}function Q(){R.assert((h==null?void 0:h.kind)==="name","Incorrect value for top.kind.",()=>`Expected top.kind to be 'name' but got '${h==null?void 0:h.kind}' instead.`),h=h.next,U()}function he(){(h==null?void 0:h.kind)==="other"?(R.assert(!D),h.depth++):(h={kind:"other",next:h,depth:0,savedPendingExpressions:D},D=void 0,U())}function W(){R.assert((h==null?void 0:h.kind)==="other","Incorrect value for top.kind.",()=>`Expected top.kind to be 'other' but got '${h==null?void 0:h.kind}' instead.`),h.depth>0?(R.assert(!D),h.depth--):(D=h.savedPendingExpressions,h=h.next,U())}function ye(L){return!!(L.transformFlags&33554432)||!!T&&!!(L.transformFlags&16384)||!!T&&!!C&&!!(L.transformFlags&134217728)}function de(L){if(!ye(L))return L;switch(L.kind){case 169:return R.fail("Use `modifierVisitor` instead.");case 262:return Me(L);case 230:return ze(L,void 0);case 175:case 171:case 174:return R.fail("Not supported outside of a class. Use 'classElementVisitor' instead.");case 168:return Br(L);case 225:return ws(L,!1);case 302:return _n(L);case 259:return Nn(L);case 207:return ks(L);case 276:return Ut(L);case 110:return vr(L);case 247:return ci(L);case 243:return Ji(L);case 360:return Pt(L,!1);case 216:return rr(L,!1,void 0);case 359:return se(L,!1,void 0);case 212:return Ar(L);case 214:return Ht(L);case 223:case 224:return ui(L,!1);case 210:return tn(L);case 211:return hn(L);case 166:return Qr(L);case 173:case 177:case 176:case 217:case 261:{he();const Se=Kr(L,Ce,e);return W(),Se}default:return Kr(L,Ce,e)}}function Ce(L){switch(L.kind){case 169:return;default:return de(L)}}function K(L){switch(L.kind){case 169:return;default:return L}}function ce(L){switch(L.kind){case 175:return et(L);case 173:return Lt(L);case 176:return Dt(L);case 177:return Xt(L);case 171:return Bt(L);case 174:return Ye(L);default:return de(L)}}function le(L,Se){switch(L.kind){case 359:return se(L,!1,Se);case 216:return rr(L,!1,Se);case 230:return ze(L,Se);default:return de(L)}}function xe(L){switch(L.kind){case 223:case 224:return ui(L,!0);case 225:return ws(L,!0);case 360:return Pt(L,!0);case 216:return rr(L,!0,void 0);default:return de(L)}}function we(L){let Se=L.name&&He(L.name)&&!il(L.name)?Zn(L.name):L.name&&fs(L.name)&&!il(L.name)?Zn(L.name).slice(1):L.name&&yo(L.name)&&od(L.name.text,99)?L.name.text:Ri(L)?"class":"member";return kv(L)&&(Se=`get_${Se}`),i1(L)&&(Se=`set_${Se}`),L.name&&fs(L.name)&&(Se=`private_${Se}`),Aa(L)&&(Se=`static_${Se}`),"_"+Se}function Ie(L,Se){return t.createUniqueName(`${we(L)}_${Se}`,24)}function ue(L,Se){return t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(L,void 0,void 0,Se)],1))}function ut(L){let Se,pe,ke=!1,ve=!1,Te=!1;for(const ee of L.members)if(g2e(ee)&&r5(!1,ee,L)&&(su(ee)?pe??(pe=t.createUniqueName("_staticExtraInitializers",16)):Se??(Se=t.createUniqueName("_instanceExtraInitializers",16))),al(ee)?ke=!0:Ia(ee)&&(su(ee)?ke||(ke=!!ee.initializer||_d(ee)):ve||(ve=!bee(ee))),(s_(ee)||Ep(ee))&&su(ee)&&(Te=!0),pe&&Se&&ke&&ve&&Te)break;return{class:L,instanceExtraInitializersName:Se,staticExtraInitializersName:pe,hasStaticInitializers:ke,hasNonAmbientInstanceFields:ve,hasStaticPrivateClassElements:Te}}function Ge(L){for(const Se of L.members)if((al(Se)||Ia(Se)&&su(Se))&&Se.transformFlags&134217728)return!0;return!1}function qe(L,Se){var pe;s();const ke=t.getLocalName(L,!1,!1,!0),ve=ut(L),Te=[];let ee,vt,Qt,ht,Vt=!1;const Nr=xt(Lie(L));if(Nr&&(ve.classDecoratorsName=t.createUniqueName("_classDecorators",16),ve.classDescriptorName=t.createUniqueName("_classDescriptor",16),ve.classExtraInitializersName=t.createUniqueName("_classExtraInitializers",16),ve.classThis=t.createUniqueName("_classThis",16),Te.push(ue(ve.classDecoratorsName,t.createArrayLiteralExpression(Nr)),ue(ve.classDescriptorName),ue(ve.classExtraInitializersName,t.createArrayLiteralExpression()),ue(ve.classThis)),ve.hasStaticPrivateClassElements&&(Vt=!0,O=!0)),Nr&&Ge(L)){const Oi=k5(L.heritageClauses,96),Js=Oi&&Hu(Oi.types),Es=Js&&ct(Js.expression,de,Ct);if(Es){ve.classSuper=t.createUniqueName("_classSuper",16);const Li=lf(Es),Zs=Gf(Li)&&!Li.name||_c(Li)&&!Li.name||Dc(Li)?t.createComma(t.createNumericLiteral(0),Es):Es;Te.push(ue(ve.classSuper,Zs));const Hc=t.updateExpressionWithTypeArguments(Js,ve.classSuper,void 0),rc=t.updateHeritageClause(Oi,[Hc]);ht=t.createNodeArray([rc])}}else ht=cn(L.heritageClauses,de,sp);const Pn=ve.classThis??t.createThis();if(!((pe=el(L,Ri))!=null&&pe.name)&&(Nr||!yo(Se)||!Iee(Se))){const Oi=n().createSetFunctionNameHelper(t.createThis(),Se);ee=zr(ee,t.createExpressionStatement(Oi))}B(ve);let Vi=cn(L.members,ce,Mu);if(D){let Oi;for(let Js of D){Js=ct(Js,function Li(Zs){if(!(Zs.transformFlags&16384))return Zs;switch(Zs.kind){case 110:return Oi||(Oi=t.createUniqueName("_outerThis",16),Te.unshift(ue(Oi,t.createThis()))),Oi;default:return Kr(Zs,Li,e)}},Ct);const Es=t.createExpressionStatement(Js);ee=zr(ee,Es)}D=void 0}if(H(),ve.instanceExtraInitializersName&&!Yg(L)){const Oi=st(L,ve);if(Oi){const Js=mh(L),Es=!!(Js&&lf(Js.expression).kind!==106),Li=[];if(Es){const Hc=t.createSpreadElement(t.createIdentifier("arguments")),rc=t.createCallExpression(t.createSuper(),void 0,[Hc]);Li.push(t.createExpressionStatement(rc))}Pi(Li,Oi);const Zs=t.createBlock(Li,!0);Qt=t.createConstructorDeclaration(void 0,[],Zs)}}if(ve.staticExtraInitializersName&&Te.push(ue(ve.staticExtraInitializersName,t.createArrayLiteralExpression())),ve.instanceExtraInitializersName&&Te.push(ue(ve.instanceExtraInitializersName,t.createArrayLiteralExpression())),ve.memberInfos&&rp(ve.memberInfos,(Oi,Js)=>{Aa(Js)&&(Te.push(ue(Oi.memberDecoratorsName)),Oi.memberInitializersName&&Te.push(ue(Oi.memberInitializersName,t.createArrayLiteralExpression())),Oi.memberDescriptorName&&Te.push(ue(Oi.memberDescriptorName)))}),ve.memberInfos&&rp(ve.memberInfos,(Oi,Js)=>{Aa(Js)||(Te.push(ue(Oi.memberDecoratorsName)),Oi.memberInitializersName&&Te.push(ue(Oi.memberInitializersName,t.createArrayLiteralExpression())),Oi.memberDescriptorName&&Te.push(ue(Oi.memberDescriptorName)))}),ee=Pi(ee,ve.staticNonFieldDecorationStatements),ee=Pi(ee,ve.nonStaticNonFieldDecorationStatements),ee=Pi(ee,ve.staticFieldDecorationStatements),ee=Pi(ee,ve.nonStaticFieldDecorationStatements),ve.classDescriptorName&&ve.classDecoratorsName&&ve.classExtraInitializersName&&ve.classThis){ee??(ee=[]);const Oi=t.createPropertyAssignment("value",t.createThis()),Js=t.createObjectLiteralExpression([Oi]),Es=t.createAssignment(ve.classDescriptorName,Js),Li=t.createPropertyAccessExpression(t.createThis(),"name"),Zs=n().createESDecorateHelper(t.createNull(),Es,ve.classDecoratorsName,{kind:"class",name:Li},t.createNull(),ve.classExtraInitializersName),Hc=t.createExpressionStatement(Zs);$o(Hc,Dv(L)),ee.push(Hc);const rc=t.createPropertyAccessExpression(ve.classDescriptorName,"value"),nn=t.createAssignment(ve.classThis,rc),ta=t.createAssignment(ke,nn);ee.push(t.createExpressionStatement(ta))}if(ve.staticExtraInitializersName){const Oi=n().createRunInitializersHelper(Pn,ve.staticExtraInitializersName),Js=t.createExpressionStatement(Oi);$o(Js,L.name??Dv(L)),ee=zr(ee,Js)}if(ve.classExtraInitializersName){const Oi=n().createRunInitializersHelper(Pn,ve.classExtraInitializersName),Js=t.createExpressionStatement(Oi);$o(Js,L.name??Dv(L)),vt=zr(vt,Js)}ee&&vt&&!ve.hasStaticInitializers&&(Pi(ee,vt),vt=void 0);let rs=Vi;if(ee){const Oi=t.createBlock(ee,!0),Js=t.createClassStaticBlockDeclaration(Oi);Vt&&oO(Js,32),rs=[Js,...rs]}if(Qt&&(rs=[...rs,Qt]),vt){const Oi=t.createBlock(vt,!0),Js=t.createClassStaticBlockDeclaration(Oi);rs=[...rs,Js]}rs!==Vi&&(Vi=wt(t.createNodeArray(rs),Vi));const qs=l();let Ys;if(Nr){Ys=t.createClassExpression(void 0,void 0,void 0,ht,Vi);const Oi=t.createVariableDeclaration(ke,void 0,void 0,Ys),Js=t.createVariableDeclarationList([Oi]),Es=ve.classThis?t.createAssignment(ke,ve.classThis):ke;Te.push(t.createVariableStatement(void 0,Js),t.createReturnStatement(Es))}else Ys=t.createClassExpression(void 0,L.name,void 0,ht,Vi),Te.push(t.createReturnStatement(Ys));if(Vt){Tw(Ys,32);for(const Oi of Ys.members)(s_(Oi)||Ep(Oi))&&su(Oi)&&Tw(Oi,32)}return oi(Ys,L),c_(Ys).classThis=ve.classThis,t.createImmediatelyInvokedArrowFunction(t.mergeLexicalEnvironment(Te,qs))}function Ke(L){return LT(!1,L)||EP(!1,L)}function Me(L){if(Ke(L))if(gi(L,1)&&gi(L,1024)){const Se=el(L,Ri)??L,pe=Se.name?t.createStringLiteralFromNode(Se.name):t.createStringLiteral("default"),ke=qe(L,pe),ve=t.createExportDefault(ke);return oi(ve,L),Bu(ve,cg(L)),$o(ve,Dv(L)),ve}else{R.assertIsDefined(L.name,"A class declaration that is not a default export must have a name.");const Se=qe(L,t.createStringLiteralFromNode(L.name)),pe=cn(L.modifiers,K,Ha),ke=g<=2?t.getInternalName(L,!1,!0):t.getLocalName(L,!1,!0),ve=t.createVariableDeclaration(ke,void 0,void 0,Se);oi(ve,L);const Te=t.createVariableDeclarationList([ve],1),ee=t.createVariableStatement(pe,Te);return oi(ee,L),Bu(ee,cg(L)),ee}else{const Se=cn(L.modifiers,K,Ha),pe=cn(L.heritageClauses,de,sp);B(void 0);const ke=cn(L.members,ce,Mu);return H(),t.updateClassDeclaration(L,Se,L.name,void 0,pe,ke)}}function ze(L,Se){if(Ke(L)){const pe=L.name?t.createStringLiteralFromNode(L.name):Se??t.createStringLiteral(""),ke=qe(L,pe);return oi(ke,L),ke}else{const pe=cn(L.modifiers,K,Ha),ke=cn(L.heritageClauses,de,sp);B(void 0);const ve=cn(L.members,ce,Mu);return H(),t.updateClassExpression(L,pe,L.name,void 0,ke,ve)}}function st(L,Se){if(Se.instanceExtraInitializersName&&!Se.hasNonAmbientInstanceFields){const pe=[];return pe.push(t.createExpressionStatement(n().createRunInitializersHelper(t.createThis(),Se.instanceExtraInitializersName))),pe}}function et(L){Y(L);const Se=cn(L.modifiers,K,Ha),pe=cn(L.parameters,de,ea);let ke;if(L.body&&k){const ve=st(k.class,k);if(ve){const Te=[],ee=t.copyPrologue(L.body.statements,Te,!1,de),vt=kz(L.body.statements,ee);vt>=0?(Pi(Te,cn(L.body.statements,de,Vs,ee,vt+1-ee)),Pi(Te,ve),Pi(Te,cn(L.body.statements,de,Vs,vt+1))):(Pi(Te,ve),Pi(Te,cn(L.body.statements,de,Vs))),ke=t.createBlock(Te,!0),oi(ke,L.body),wt(ke,L.body)}}return ke??(ke=ct(L.body,de,Pa)),Z(),t.updateConstructorDeclaration(L,Se,pe,ke)}function je(L,Se){return L!==Se&&(Bu(L,Se),$o(L,Dv(Se))),L}function _t(L,Se,pe,ke){let ve,Te,ee,vt,Qt;if(!pe){const Nr=cn(L.modifiers,K,Ha);return fe(),Se?{referencedName:ve,name:Te}=Dr(L.name):Te=Kt(L.name),Q(),{modifiers:Nr,referencedName:ve,name:Te,initializersName:ee,descriptorName:Qt,thisArg:vt}}const ht=xt(wz(L,pe.class,!1)),Vt=cn(L.modifiers,K,Ha);if(ht){const Nr=Ie(L,"decorators"),Pn=t.createArrayLiteralExpression(ht),bi=t.createAssignment(Nr,Pn),Vi={memberDecoratorsName:Nr};pe.memberInfos??(pe.memberInfos=new Map),pe.memberInfos.set(L,Vi),D??(D=[]),D.push(bi);const rs=U6(L)||Ep(L)?Aa(L)?pe.staticNonFieldDecorationStatements??(pe.staticNonFieldDecorationStatements=[]):pe.nonStaticNonFieldDecorationStatements??(pe.nonStaticNonFieldDecorationStatements=[]):Ia(L)&&!Ep(L)?Aa(L)?pe.staticFieldDecorationStatements??(pe.staticFieldDecorationStatements=[]):pe.nonStaticFieldDecorationStatements??(pe.nonStaticFieldDecorationStatements=[]):R.fail(),qs=nm(L)?"getter":md(L)?"setter":ql(L)?"method":Ep(L)?"accessor":Ia(L)?"field":R.fail();let Ys;if(He(L.name)||fs(L.name))Ys={computed:!1,name:L.name};else if(Kd(L.name))Ys={computed:!0,name:t.createStringLiteralFromNode(L.name)};else{const Es=L.name.expression;Kd(Es)&&!He(Es)?Ys={computed:!0,name:t.createStringLiteralFromNode(Es)}:(fe(),{referencedName:ve,name:Te}=Dr(L.name),Ys={computed:!0,name:ve},Q())}const Oi={kind:qs,name:Ys,static:Aa(L),private:fs(L.name),access:{get:Ia(L)||nm(L)||ql(L),set:Ia(L)||md(L)}},Js=Aa(L)?pe.staticExtraInitializersName??(pe.staticExtraInitializersName=t.createUniqueName("_staticExtraInitializers",16)):pe.instanceExtraInitializersName??(pe.instanceExtraInitializersName=t.createUniqueName("_instanceExtraInitializers",16));if(U6(L)){let Es;s_(L)&&ke&&(Es=ke(L,cn(Vt,Hc=>wi(Hc,mD),Ha)),Vi.memberDescriptorName=Qt=Ie(L,"descriptor"),Es=t.createAssignment(Qt,Es));const Li=n().createESDecorateHelper(t.createThis(),Es??t.createNull(),Nr,Oi,t.createNull(),Js),Zs=t.createExpressionStatement(Li);$o(Zs,Dv(L)),rs.push(Zs)}else if(Ia(L)){ee=Vi.memberInitializersName??(Vi.memberInitializersName=Ie(L,"initializers")),Aa(L)&&(vt=pe.classThis);let Es;s_(L)&&rg(L)&&ke&&(Es=ke(L,void 0),Vi.memberDescriptorName=Qt=Ie(L,"descriptor"),Es=t.createAssignment(Qt,Es));const Li=n().createESDecorateHelper(Ep(L)?t.createThis():t.createNull(),Es??t.createNull(),Nr,Oi,ee,Js),Zs=t.createExpressionStatement(Li);$o(Zs,Dv(L)),rs.push(Zs)}}return Te===void 0&&(fe(),Se?{referencedName:ve,name:Te}=Dr(L.name):Te=Kt(L.name),Q()),!Ne(Vt)&&(ql(L)||Ia(L))&&An(Te,1024),{modifiers:Vt,referencedName:ve,name:Te,initializersName:ee,descriptorName:Qt,thisArg:vt}}function Lt(L){Y(L);const{modifiers:Se,name:pe,descriptorName:ke}=_t(L,!1,k,_r);if(ke)return Z(),je(Lr(Se,pe,ke),L);{const ve=cn(L.parameters,de,ea),Te=ct(L.body,de,Pa);return Z(),je(t.updateMethodDeclaration(L,Se,L.asteriskToken,pe,void 0,void 0,ve,void 0,Te),L)}}function Dt(L){Y(L);const{modifiers:Se,name:pe,descriptorName:ke}=_t(L,!1,k,Fe);if(ke)return Z(),je(ii(Se,pe,ke),L);{const ve=cn(L.parameters,de,ea),Te=ct(L.body,de,Pa);return Z(),je(t.updateGetAccessorDeclaration(L,Se,pe,ve,void 0,Te),L)}}function Xt(L){Y(L);const{modifiers:Se,name:pe,descriptorName:ke}=_t(L,!1,k,Gt);if(ke)return Z(),je(Gn(Se,pe,ke),L);{const ve=cn(L.parameters,de,ea),Te=ct(L.body,de,Pa);return Z(),je(t.updateSetAccessorDeclaration(L,Se,pe,ve,Te),L)}}function Ye(L){Y(L),k&&(k.hasStaticInitializers=!0);const Se=Kr(L,de,e);return Z(),Se}function Bt(L){Y(L),R.assert(!bee(L),"Not yet implemented.");const Se=fd(L,Cn),{modifiers:pe,name:ke,referencedName:ve,initializersName:Te,descriptorName:ee,thisArg:vt}=_t(L,Se,k,rg(L)?zt:void 0);s();let Qt=ve?ct(L.initializer,Vt=>le(Vt,ve),Ct):ct(L.initializer,de,Ct);Te&&(Qt=n().createRunInitializersHelper(vt??t.createThis(),Te,Qt??t.createVoidZero())),!Aa(L)&&(k!=null&&k.instanceExtraInitializersName)&&!(k!=null&&k.hasInjectedInstanceInitializers)&&(k.hasInjectedInstanceInitializers=!0,Qt??(Qt=t.createVoidZero()),Qt=t.createParenthesizedExpression(t.createComma(n().createRunInitializersHelper(t.createThis(),k.instanceExtraInitializersName),Qt))),Aa(L)&&k&&Qt&&(k.hasStaticInitializers=!0);const ht=l();if(Ne(ht)&&(Qt=t.createImmediatelyInvokedArrowFunction([...ht,t.createReturnStatement(Qt)])),Z(),rg(L)&&ee){const Vt=cg(L),Nr=t2(L),Pn=L.name;let bi=Pn,Vi=Pn;if(Ho(Pn)&&!Sh(Pn.expression)){const Js=OU(Pn);if(Js)bi=t.updateComputedPropertyName(Pn,ct(Pn.expression,de,Ct)),Vi=t.updateComputedPropertyName(Pn,Js.left);else{const Es=t.createTempVariable(f);$o(Es,Pn.expression);const Li=ct(Pn.expression,de,Ct),Zs=t.createAssignment(Es,Li);$o(Zs,Pn.expression),bi=t.updateComputedPropertyName(Pn,Zs),Vi=t.updateComputedPropertyName(Pn,Es)}}const rs=cn(pe,Js=>Js.kind!==129?Js:void 0,Ha),qs=fne(t,L,rs,Qt);oi(qs,L),An(qs,3072),$o(qs,Nr),$o(qs.name,L.name);const Ys=ii(rs,bi,ee);oi(Ys,L),Bu(Ys,Vt),$o(Ys,Nr);const Oi=Gn(rs,Vi,ee);return oi(Oi,L),An(Oi,3072),$o(Oi,Nr),[qs,Ys,Oi]}return je(t.updatePropertyDeclaration(L,pe,ke,void 0,void 0,Qt),L)}function vr(L){return T??L}function Ar(L){if(v_(L.expression)&&T){const Se=ct(L.expression,de,Ct),pe=cn(L.arguments,de,Ct),ke=t.createFunctionCallCall(Se,T,pe);return oi(ke,L),wt(ke,L),ke}return Kr(L,de,e)}function Ht(L){if(v_(L.tag)&&T){const Se=ct(L.tag,de,Ct),pe=t.createFunctionBindCall(Se,T,[]);oi(pe,L),wt(pe,L);const ke=ct(L.template,de,z6);return t.updateTaggedTemplateExpression(L,pe,void 0,ke)}return Kr(L,de,e)}function tn(L){if(v_(L)&&He(L.name)&&T&&C){const Se=t.createStringLiteralFromNode(L.name),pe=t.createReflectGetCall(C,Se,T);return oi(pe,L.expression),wt(pe,L.expression),pe}return Kr(L,de,e)}function hn(L){if(v_(L)&&T&&C){const Se=ct(L.argumentExpression,de,Ct),pe=t.createReflectGetCall(C,Se,T);return oi(pe,L.expression),wt(pe,L.expression),pe}return Kr(L,de,e)}function Br(L){let Se;if(fd(L,Cn)){const pe=Rn(L.name,L.initializer),ke=ct(L.name,de,qg),ve=ct(L.initializer,Te=>le(Te,pe),Ct);Se=t.updateParameterDeclaration(L,void 0,void 0,ke,void 0,void 0,ve)}else Se=t.updateParameterDeclaration(L,void 0,L.dotDotDotToken,ct(L.name,de,qg),void 0,void 0,ct(L.initializer,de,Ct));return Se!==L&&(Bu(Se,L),wt(Se,hh(L)),$o(Se,hh(L)),An(Se.name,64)),Se}function Cn(L){return Gf(L)&&!L.name&&Ke(L)}function ci(L){return t.updateForStatement(L,ct(L.initializer,xe,ld),ct(L.condition,de,Ct),ct(L.incrementor,xe,Ct),l_(L.statement,de,e))}function Ji(L){return Kr(L,xe,e)}function ws(L,Se){if(c1(L)){const pe=dt(L.left),ke=ct(L.right,de,Ct);return t.updateBinaryExpression(L,pe,L.operatorToken,ke)}if(o_(L)){if(fd(L,Cn)){const pe=Rn(L.left,L.right),ke=ct(L.left,de,Ct),ve=ct(L.right,Te=>le(Te,pe),Ct);return t.updateBinaryExpression(L,ke,L.operatorToken,ve)}if(v_(L.left)&&T&&C){let pe=Pc(L.left)?ct(L.left.argumentExpression,de,Ct):He(L.left.name)?t.createStringLiteralFromNode(L.left.name):void 0;if(pe){let ke=ct(L.right,de,Ct);if(VD(L.operatorToken.kind)){let Te=pe;Sh(pe)||(Te=t.createTempVariable(f),pe=t.createAssignment(Te,pe));const ee=t.createReflectGetCall(C,Te,T);oi(ee,L.left),wt(ee,L.left),ke=t.createBinaryExpression(ee,$D(L.operatorToken.kind),ke),wt(ke,L)}const ve=Se?void 0:t.createTempVariable(f);return ve&&(ke=t.createAssignment(ve,ke),wt(ve,L)),ke=t.createReflectSetCall(C,pe,ke,T),oi(ke,L),wt(ke,L),ve&&(ke=t.createComma(ke,ve),wt(ke,L)),ke}}}if(L.operatorToken.kind===28){const pe=ct(L.left,xe,Ct),ke=ct(L.right,Se?xe:de,Ct);return t.updateBinaryExpression(L,pe,L.operatorToken,ke)}return Kr(L,de,e)}function ui(L,Se){if(L.operator===46||L.operator===47){const pe=Tc(L.operand);if(v_(pe)&&T&&C){let ke=Pc(pe)?ct(pe.argumentExpression,de,Ct):He(pe.name)?t.createStringLiteralFromNode(pe.name):void 0;if(ke){let ve=ke;Sh(ke)||(ve=t.createTempVariable(f),ke=t.createAssignment(ve,ke));let Te=t.createReflectGetCall(C,ve,T);oi(Te,L),wt(Te,L);const ee=Se?void 0:t.createTempVariable(f);return Te=CU(t,L,Te,f,ee),Te=t.createReflectSetCall(C,ke,Te,T),oi(Te,L),wt(Te,L),ee&&(Te=t.createComma(Te,ee),wt(Te,L)),Te}}}return Kr(L,de,e)}function Pt(L,Se){const pe=Se?f9(L.elements,xe):f9(L.elements,de,xe);return t.updateCommaListExpression(L,pe)}function Dr(L){if(Kd(L)||fs(L)){const Te=t.createStringLiteralFromNode(L),ee=ct(L,de,sl);return{referencedName:Te,name:ee}}if(Kd(L.expression)&&!He(L.expression)){const Te=t.createStringLiteralFromNode(L.expression),ee=ct(L,de,sl);return{referencedName:Te,name:ee}}const Se=t.getGeneratedNameForNode(L);f(Se);const pe=n().createPropKeyHelper(ct(L.expression,de,Ct)),ke=t.createAssignment(Se,pe),ve=t.updateComputedPropertyName(L,at(ke));return{referencedName:Se,name:ve}}function Kt(L){return Ho(L)?Qr(L):ct(L,de,sl)}function Qr(L){let Se=ct(L.expression,de,Ct);return Sh(Se)||(Se=at(Se)),t.updateComputedPropertyName(L,Se)}function _n(L){if(fd(L,Cn)){const{referencedName:Se,name:pe}=Dr(L.name),ke=ct(L.initializer,ve=>le(ve,Se),Ct);return t.updatePropertyAssignment(L,pe,ke)}return Kr(L,de,e)}function Nn(L){if(fd(L,Cn)){const Se=Rn(L.name,L.initializer),pe=ct(L.name,de,qg),ke=ct(L.initializer,ve=>le(ve,Se),Ct);return t.updateVariableDeclaration(L,pe,void 0,void 0,ke)}return Kr(L,de,e)}function ks(L){if(fd(L,Cn)){const Se=Rn(L.name,L.initializer),pe=ct(L.propertyName,de,sl),ke=ct(L.name,de,qg),ve=ct(L.initializer,Te=>le(Te,Se),Ct);return t.updateBindingElement(L,void 0,pe,ke,ve)}return Kr(L,de,e)}function ls(L){if(jo(L)||Hf(L))return dt(L);if(v_(L)&&T&&C){const Se=Pc(L)?ct(L.argumentExpression,de,Ct):He(L.name)?t.createStringLiteralFromNode(L.name):void 0;if(Se){const pe=t.createTempVariable(void 0),ke=t.createAssignmentTargetWrapper(pe,t.createReflectSetCall(C,Se,pe,T));return oi(ke,L),wt(ke,L),ke}}return Kr(L,de,e)}function Yr(L){if(o_(L,!0)){const Se=ls(L.left);let pe;if(fd(L,Cn)){const ke=Rn(L.left,L.right);pe=ct(L.right,ve=>le(ve,ke),Ct)}else pe=ct(L.right,de,Ct);return t.updateBinaryExpression(L,Se,L.operatorToken,pe)}else return ls(L)}function Er(L){if(L_(L.expression)){const Se=ls(L.expression);return t.updateSpreadElement(L,Se)}return Kr(L,de,e)}function rn(L){return R.assertNode(L,VI),lg(L)?Er(L):bu(L)?Kr(L,de,e):Yr(L)}function qr(L){const Se=ct(L.name,de,sl);if(o_(L.initializer,!0)){const pe=Yr(L.initializer);return t.updatePropertyAssignment(L,Se,pe)}if(L_(L.initializer)){const pe=ls(L.initializer);return t.updatePropertyAssignment(L,Se,pe)}return Kr(L,de,e)}function xi(L){if(fd(L,Cn)){const Se=Rn(L.name,L.objectAssignmentInitializer),pe=ct(L.name,de,He),ke=ct(L.objectAssignmentInitializer,ve=>le(ve,Se),Ct);return t.updateShorthandPropertyAssignment(L,pe,ke)}return Kr(L,de,e)}function pt(L){if(L_(L.expression)){const Se=ls(L.expression);return t.updateSpreadAssignment(L,Se)}return Kr(L,de,e)}function Nt(L){return R.assertNode(L,zI),ZT(L)?pt(L):hd(L)?xi(L):pu(L)?qr(L):Kr(L,de,e)}function dt(L){if(Hf(L)){const Se=cn(L.elements,rn,Ct);return t.updateArrayLiteralExpression(L,Se)}else{const Se=cn(L.properties,Nt,n1);return t.updateObjectLiteralExpression(L,Se)}}function Ut(L){if(fd(L,Cn)){const Se=t.createStringLiteral(L.isExportEquals?"":"default"),pe=cn(L.modifiers,K,Ha),ke=ct(L.expression,ve=>le(ve,Se),Ct);return t.updateExportAssignment(L,pe,ke)}return Kr(L,de,e)}function rr(L,Se,pe){const ke=Se?xe:pe?Te=>le(Te,pe):de,ve=ct(L.expression,ke,Ct);return t.updateParenthesizedExpression(L,ve)}function se(L,Se,pe){const ke=Se?xe:pe?Te=>le(Te,pe):de,ve=ct(L.expression,ke,Ct);return t.updatePartiallyEmittedExpression(L,ve)}function at(L){return Ne(D)&&(j_(L)?(D.push(L.expression),L=t.updateParenthesizedExpression(L,t.inlineExpressions(D))):(D.push(L),L=t.inlineExpressions(D)),D=void 0),L}function xt(L){if(!L)return;const Se=[];return Pi(Se,qt(L.decorators,ae)),Se}function ae(L){const Se=ct(L.expression,de,Ct);return An(Se,3072),Se}function mt(L,Se,pe,ke,ve,Te,ee){const vt=t.createFunctionExpression(pe,ke,void 0,void 0,Te,void 0,ee??t.createBlock([]));oi(vt,L),$o(vt,Dv(L)),An(vt,3072);const Qt=ve==="get"||ve==="set"?ve:void 0,ht=t.createStringLiteralFromNode(Se,void 0),Vt=n().createSetFunctionNameHelper(vt,ht,Qt),Nr=t.createPropertyAssignment(t.createIdentifier(ve),Vt);return oi(Nr,L),$o(Nr,Dv(L)),An(Nr,3072),Nr}function _r(L,Se){return t.createObjectLiteralExpression([mt(L,L.name,Se,L.asteriskToken,"value",cn(L.parameters,de,ea),ct(L.body,de,Pa))])}function Fe(L,Se){return t.createObjectLiteralExpression([mt(L,L.name,Se,void 0,"get",[],ct(L.body,de,Pa))])}function Gt(L,Se){return t.createObjectLiteralExpression([mt(L,L.name,Se,void 0,"set",cn(L.parameters,de,ea),ct(L.body,de,Pa))])}function zt(L,Se){return t.createObjectLiteralExpression([mt(L,L.name,Se,void 0,"get",[],t.createBlock([t.createReturnStatement(t.createPropertyAccessExpression(t.createThis(),t.getGeneratedPrivateNameForNode(L.name)))])),mt(L,L.name,Se,void 0,"set",[t.createParameterDeclaration(void 0,void 0,"value")],t.createBlock([t.createExpressionStatement(t.createAssignment(t.createPropertyAccessExpression(t.createThis(),t.getGeneratedPrivateNameForNode(L.name)),t.createIdentifier("value")))]))])}function Lr(L,Se,pe){return L=cn(L,ke=>Ew(ke)?ke:void 0,Ha),t.createGetAccessorDeclaration(L,Se,[],void 0,t.createBlock([t.createReturnStatement(t.createPropertyAccessExpression(pe,t.createIdentifier("value")))]))}function ii(L,Se,pe){return L=cn(L,ke=>Ew(ke)?ke:void 0,Ha),t.createGetAccessorDeclaration(L,Se,[],void 0,t.createBlock([t.createReturnStatement(t.createFunctionCallCall(t.createPropertyAccessExpression(pe,t.createIdentifier("get")),t.createThis(),[]))]))}function Gn(L,Se,pe){return L=cn(L,ke=>Ew(ke)?ke:void 0,Ha),t.createSetAccessorDeclaration(L,Se,[t.createParameterDeclaration(void 0,void 0,"value")],t.createBlock([t.createReturnStatement(t.createFunctionCallCall(t.createPropertyAccessExpression(pe,t.createIdentifier("set")),t.createThis(),[t.createIdentifier("value")]))]))}function Rn(L,Se){const pe=el(Se,Ri);return pe&&!pe.name&&gi(pe,1024)?t.createStringLiteral("default"):t.createStringLiteralFromNode(L)}}var btt=p({"src/compiler/transformers/esDecorators.ts"(){Ba()}});function xEe(e){const{factory:t,getEmitHelperFactory:n,resumeLexicalEnvironment:s,endLexicalEnvironment:l,hoistVariableDeclaration:f}=e,d=e.getEmitResolver(),g=e.getCompilerOptions(),h=Eo(g);let k,T=0,C,D,O;const M=[];let U=0;const B=e.onEmitNode,H=e.onSubstituteNode;return e.onEmitNode=tn,e.onSubstituteNode=hn,om(e,Y);function Y(Pt){if(Pt.isDeclarationFile)return Pt;Z(1,!1),Z(2,!vee(Pt,g));const Dr=Kr(Pt,de,e);return f1(Dr,e.readEmitHelpers()),Dr}function Z(Pt,Dr){U=Dr?U|Pt:U&~Pt}function fe(Pt){return(U&Pt)!==0}function Q(){return!fe(1)}function he(){return fe(2)}function W(Pt,Dr,Kt){const Qr=Pt&~U;if(Qr){Z(Qr,!0);const _n=Dr(Kt);return Z(Qr,!1),_n}return Dr(Kt)}function ye(Pt){return Kr(Pt,de,e)}function de(Pt){if(!(Pt.transformFlags&256))return Pt;switch(Pt.kind){case 134:return;case 222:return Ie(Pt);case 173:return W(3,ut,Pt);case 261:return W(3,Ke,Pt);case 217:return W(3,Me,Pt);case 218:return W(1,ze,Pt);case 210:return D&&ai(Pt)&&Pt.expression.kind===108&&D.add(Pt.name.escapedText),Kr(Pt,de,e);case 211:return D&&Pt.expression.kind===108&&(O=!0),Kr(Pt,de,e);case 176:return W(3,Ge,Pt);case 177:return W(3,qe,Pt);case 175:return W(3,ue,Pt);case 262:case 230:return W(3,ye,Pt);default:return Kr(Pt,de,e)}}function Ce(Pt){if(PTe(Pt))switch(Pt.kind){case 242:return ce(Pt);case 247:return we(Pt);case 248:return le(Pt);case 249:return xe(Pt);case 298:return K(Pt);case 240:case 254:case 268:case 295:case 296:case 257:case 245:case 246:case 244:case 253:case 255:return Kr(Pt,Ce,e);default:return R.assertNever(Pt,"Unhandled node.")}return de(Pt)}function K(Pt){const Dr=new Set;st(Pt.variableDeclaration,Dr);let Kt;if(Dr.forEach((Qr,_n)=>{C.has(_n)&&(Kt||(Kt=new Set(C)),Kt.delete(_n))}),Kt){const Qr=C;C=Kt;const _n=Kr(Pt,Ce,e);return C=Qr,_n}else return Kr(Pt,Ce,e)}function ce(Pt){if(et(Pt.declarationList)){const Dr=je(Pt.declarationList,!1);return Dr?t.createExpressionStatement(Dr):void 0}return Kr(Pt,de,e)}function le(Pt){return t.updateForInStatement(Pt,et(Pt.initializer)?je(Pt.initializer,!0):R.checkDefined(ct(Pt.initializer,de,ld)),R.checkDefined(ct(Pt.expression,de,Ct)),l_(Pt.statement,Ce,e))}function xe(Pt){return t.updateForOfStatement(Pt,ct(Pt.awaitModifier,de,Fre),et(Pt.initializer)?je(Pt.initializer,!0):R.checkDefined(ct(Pt.initializer,de,ld)),R.checkDefined(ct(Pt.expression,de,Ct)),l_(Pt.statement,Ce,e))}function we(Pt){const Dr=Pt.initializer;return t.updateForStatement(Pt,et(Dr)?je(Dr,!1):ct(Pt.initializer,de,ld),ct(Pt.condition,de,Ct),ct(Pt.incrementor,de,Ct),l_(Pt.statement,Ce,e))}function Ie(Pt){return Q()?Kr(Pt,de,e):oi(wt(t.createYieldExpression(void 0,ct(Pt.expression,de,Ct)),Pt),Pt)}function ue(Pt){return t.updateConstructorDeclaration(Pt,cn(Pt.modifiers,de,Ha),Rl(Pt.parameters,de,e),Ye(Pt))}function ut(Pt){return t.updateMethodDeclaration(Pt,cn(Pt.modifiers,de,Mc),Pt.asteriskToken,Pt.name,void 0,void 0,Rl(Pt.parameters,de,e),void 0,Fu(Pt)&2?Bt(Pt):Ye(Pt))}function Ge(Pt){return t.updateGetAccessorDeclaration(Pt,cn(Pt.modifiers,de,Mc),Pt.name,Rl(Pt.parameters,de,e),void 0,Ye(Pt))}function qe(Pt){return t.updateSetAccessorDeclaration(Pt,cn(Pt.modifiers,de,Mc),Pt.name,Rl(Pt.parameters,de,e),Ye(Pt))}function Ke(Pt){return t.updateFunctionDeclaration(Pt,cn(Pt.modifiers,de,Mc),Pt.asteriskToken,Pt.name,void 0,Rl(Pt.parameters,de,e),void 0,Fu(Pt)&2?Bt(Pt):Xp(Pt.body,de,e))}function Me(Pt){return t.updateFunctionExpression(Pt,cn(Pt.modifiers,de,Ha),Pt.asteriskToken,Pt.name,void 0,Rl(Pt.parameters,de,e),void 0,Fu(Pt)&2?Bt(Pt):Xp(Pt.body,de,e))}function ze(Pt){return t.updateArrowFunction(Pt,cn(Pt.modifiers,de,Ha),void 0,Rl(Pt.parameters,de,e),void 0,Pt.equalsGreaterThanToken,Fu(Pt)&2?Bt(Pt):Xp(Pt.body,de,e))}function st({name:Pt},Dr){if(He(Pt))Dr.add(Pt.escapedText);else for(const Kt of Pt.elements)bu(Kt)||st(Kt,Dr)}function et(Pt){return!!Pt&&Tu(Pt)&&!(Pt.flags&3)&&Pt.declarations.some(Xt)}function je(Pt,Dr){_t(Pt);const Kt=qP(Pt);return Kt.length===0?Dr?ct(t.converters.convertToAssignmentElementTarget(Pt.declarations[0].name),de,Ct):void 0:t.inlineExpressions(qt(Kt,Dt))}function _t(Pt){te(Pt.declarations,Lt)}function Lt({name:Pt}){if(He(Pt))f(Pt);else for(const Dr of Pt.elements)bu(Dr)||Lt(Dr)}function Dt(Pt){const Dr=$o(t.createAssignment(t.converters.convertToAssignmentElementTarget(Pt.name),Pt.initializer),Pt);return R.checkDefined(ct(Dr,de,Ct))}function Xt({name:Pt}){if(He(Pt))return C.has(Pt.escapedText);for(const Dr of Pt.elements)if(!bu(Dr)&&Xt(Dr))return!0;return!1}function Ye(Pt){R.assertIsDefined(Pt.body);const Dr=D,Kt=O;D=new Set,O=!1;let Qr=Xp(Pt.body,de,e);const _n=el(Pt,Lc);if(h>=2&&d.getNodeCheckFlags(Pt)&384&&(Fu(_n)&3)!==3){if(Ht(),D.size){const ks=Ez(t,d,Pt,D);M[Jo(ks)]=!0;const ls=Qr.statements.slice();Zh(ls,[ks]),Qr=t.updateBlock(Qr,ls)}O&&(d.getNodeCheckFlags(Pt)&256?xw(Qr,dO):d.getNodeCheckFlags(Pt)&128&&xw(Qr,pO))}return D=Dr,O=Kt,Qr}function Bt(Pt){s();const Kt=el(Pt,Sa).type,Qr=h<2?Ar(Kt):void 0,_n=Pt.kind===218,Nn=(d.getNodeCheckFlags(Pt)&512)!==0,ks=C;C=new Set;for(const rn of Pt.parameters)st(rn,C);const ls=D,Yr=O;_n||(D=new Set,O=!1);let Er;if(_n){const rn=n().createAwaiterHelper(he(),Nn,Qr,vr(Pt.body)),qr=l();if(Ne(qr)){const xi=t.converters.convertToFunctionBlock(rn);Er=t.updateBlock(xi,wt(t.createNodeArray(wr(qr,xi.statements)),xi.statements))}else Er=rn}else{const rn=[],qr=t.copyPrologue(Pt.body.statements,rn,!1,de);rn.push(t.createReturnStatement(n().createAwaiterHelper(he(),Nn,Qr,vr(Pt.body,qr)))),Zh(rn,l());const xi=h>=2&&d.getNodeCheckFlags(Pt)&384;if(xi&&(Ht(),D.size)){const Nt=Ez(t,d,Pt,D);M[Jo(Nt)]=!0,Zh(rn,[Nt])}const pt=t.createBlock(rn,!0);wt(pt,Pt.body),xi&&O&&(d.getNodeCheckFlags(Pt)&256?xw(pt,dO):d.getNodeCheckFlags(Pt)&128&&xw(pt,pO)),Er=pt}return C=ks,_n||(D=ls,O=Yr),Er}function vr(Pt,Dr){return Pa(Pt)?t.updateBlock(Pt,cn(Pt.statements,Ce,Vs,Dr)):t.converters.convertToFunctionBlock(R.checkDefined(ct(Pt,Ce,oj)))}function Ar(Pt){const Dr=Pt&&t5(Pt);if(Dr&&wp(Dr)){const Kt=d.getTypeReferenceSerializationKind(Dr);if(Kt===1||Kt===0)return Dr}}function Ht(){k&1||(k|=1,e.enableSubstitution(212),e.enableSubstitution(210),e.enableSubstitution(211),e.enableEmitNotification(262),e.enableEmitNotification(173),e.enableEmitNotification(176),e.enableEmitNotification(177),e.enableEmitNotification(175),e.enableEmitNotification(242))}function tn(Pt,Dr,Kt){if(k&1&&ws(Dr)){const Qr=d.getNodeCheckFlags(Dr)&384;if(Qr!==T){const _n=T;T=Qr,B(Pt,Dr,Kt),T=_n;return}}else if(k&&M[Jo(Dr)]){const Qr=T;T=0,B(Pt,Dr,Kt),T=Qr;return}B(Pt,Dr,Kt)}function hn(Pt,Dr){return Dr=H(Pt,Dr),Pt===1&&T?Br(Dr):Dr}function Br(Pt){switch(Pt.kind){case 210:return Cn(Pt);case 211:return ci(Pt);case 212:return Ji(Pt)}return Pt}function Cn(Pt){return Pt.expression.kind===108?wt(t.createPropertyAccessExpression(t.createUniqueName("_super",48),Pt.name),Pt):Pt}function ci(Pt){return Pt.expression.kind===108?ui(Pt.argumentExpression,Pt):Pt}function Ji(Pt){const Dr=Pt.expression;if(v_(Dr)){const Kt=ai(Dr)?Cn(Dr):ci(Dr);return t.createCallExpression(t.createPropertyAccessExpression(Kt,"call"),void 0,[t.createThis(),...Pt.arguments])}return Pt}function ws(Pt){const Dr=Pt.kind;return Dr===262||Dr===175||Dr===173||Dr===176||Dr===177}function ui(Pt,Dr){return T&256?wt(t.createPropertyAccessExpression(t.createCallExpression(t.createUniqueName("_superIndex",48),void 0,[Pt]),"value"),Dr):wt(t.createCallExpression(t.createUniqueName("_superIndex",48),void 0,[Pt]),Dr)}}function Ez(e,t,n,s){const l=(t.getNodeCheckFlags(n)&256)!==0,f=[];return s.forEach((d,g)=>{const h=xs(g),k=[];k.push(e.createPropertyAssignment("get",e.createArrowFunction(void 0,void 0,[],void 0,void 0,An(e.createPropertyAccessExpression(An(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(An(e.createPropertyAccessExpression(An(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 Ttt=p({"src/compiler/transformers/es2017.ts"(){Ba()}});function kEe(e){const{factory:t,getEmitHelperFactory:n,resumeLexicalEnvironment:s,endLexicalEnvironment:l,hoistVariableDeclaration:f}=e,d=e.getEmitResolver(),g=e.getCompilerOptions(),h=Eo(g),k=e.onEmitNode;e.onEmitNode=rn;const T=e.onSubstituteNode;e.onSubstituteNode=qr;let C=!1,D,O,M,U=0,B=0,H,Y,Z,fe;const Q=[];return om(e,Ce);function he(se,at){return B!==(B&~se|at)}function W(se,at){const xt=B;return B=(B&~se|at)&3,xt}function ye(se){B=se}function de(se){Y=zr(Y,t.createVariableDeclaration(se))}function Ce(se){if(se.isDeclarationFile)return se;H=se;const at=et(se);return f1(at,e.readEmitHelpers()),H=void 0,Y=void 0,at}function K(se){return Ie(se,!1)}function ce(se){return Ie(se,!0)}function le(se){if(se.kind!==134)return se}function xe(se,at,xt,ae){if(he(xt,ae)){const mt=W(xt,ae),_r=se(at);return ye(mt),_r}return se(at)}function we(se){return Kr(se,K,e)}function Ie(se,at){if(!(se.transformFlags&128))return se;switch(se.kind){case 222:return ue(se);case 228:return ut(se);case 252:return Ge(se);case 255:return qe(se);case 209:return Me(se);case 225:return _t(se,at);case 360:return Lt(se,at);case 298:return Dt(se);case 242:return Xt(se);case 259:return Ye(se);case 245:case 246:case 248:return xe(we,se,0,2);case 249:return Ht(se,void 0);case 247:return xe(vr,se,0,2);case 221:return Ar(se);case 175:return xe(ui,se,2,1);case 173:return xe(Kt,se,2,1);case 176:return xe(Pt,se,2,1);case 177:return xe(Dr,se,2,1);case 261:return xe(Qr,se,2,1);case 217:return xe(Nn,se,2,1);case 218:return xe(_n,se,2,0);case 168:return Ji(se);case 243:return ze(se);case 216:return st(se,at);case 214:return je(se);case 210:return Z&&ai(se)&&se.expression.kind===108&&Z.add(se.name.escapedText),Kr(se,K,e);case 211:return Z&&se.expression.kind===108&&(fe=!0),Kr(se,K,e);case 262:case 230:return xe(we,se,2,1);default:return Kr(se,K,e)}}function ue(se){return O&2&&O&1?oi(wt(t.createYieldExpression(void 0,n().createAwaitHelper(ct(se.expression,K,Ct))),se),se):Kr(se,K,e)}function ut(se){if(O&2&&O&1){if(se.asteriskToken){const at=ct(R.checkDefined(se.expression),K,Ct);return oi(wt(t.createYieldExpression(void 0,n().createAwaitHelper(t.updateYieldExpression(se,se.asteriskToken,wt(n().createAsyncDelegatorHelper(wt(n().createAsyncValuesHelper(at),at)),at)))),se),se)}return oi(wt(t.createYieldExpression(void 0,Br(se.expression?ct(se.expression,K,Ct):t.createVoidZero())),se),se)}return Kr(se,K,e)}function Ge(se){return O&2&&O&1?t.updateReturnStatement(se,Br(se.expression?ct(se.expression,K,Ct):t.createVoidZero())):Kr(se,K,e)}function qe(se){if(O&2){const at=Dee(se);return at.kind===249&&at.awaitModifier?Ht(at,se):t.restoreEnclosingLabel(ct(at,K,Vs,t.liftToBlock),se)}return Kr(se,K,e)}function Ke(se){let at;const xt=[];for(const ae of se)if(ae.kind===304){at&&(xt.push(t.createObjectLiteralExpression(at)),at=void 0);const mt=ae.expression;xt.push(ct(mt,K,Ct))}else at=zr(at,ae.kind===302?t.createPropertyAssignment(ae.name,ct(ae.initializer,K,Ct)):ct(ae,K,n1));return at&&xt.push(t.createObjectLiteralExpression(at)),xt}function Me(se){if(se.transformFlags&65536){const at=Ke(se.properties);at.length&&at[0].kind!==209&&at.unshift(t.createObjectLiteralExpression());let xt=at[0];if(at.length>1){for(let ae=1;ae<at.length;ae++)xt=n().createAssignHelper([xt,at[ae]]);return xt}else return n().createAssignHelper(at)}return Kr(se,K,e)}function ze(se){return Kr(se,ce,e)}function st(se,at){return Kr(se,at?ce:K,e)}function et(se){const at=W(2,vee(se,g)?0:1);C=!1;const xt=Kr(se,K,e),ae=wr(xt.statements,Y&&[t.createVariableStatement(void 0,t.createVariableDeclarationList(Y))]),mt=t.updateSourceFile(xt,wt(t.createNodeArray(ae),se.statements));return ye(at),mt}function je(se){return jie(e,se,K,H,de,0)}function _t(se,at){return c1(se)&&MO(se.left)?ak(se,K,e,1,!at):se.operatorToken.kind===28?t.updateBinaryExpression(se,ct(se.left,ce,Ct),se.operatorToken,ct(se.right,at?ce:K,Ct)):Kr(se,K,e)}function Lt(se,at){if(at)return Kr(se,ce,e);let xt;for(let mt=0;mt<se.elements.length;mt++){const _r=se.elements[mt],Fe=ct(_r,mt<se.elements.length-1?ce:K,Ct);(xt||Fe!==_r)&&(xt||(xt=se.elements.slice(0,mt)),xt.push(Fe))}const ae=xt?wt(t.createNodeArray(xt),se.elements):se.elements;return t.updateCommaListExpression(se,ae)}function Dt(se){if(se.variableDeclaration&&Fa(se.variableDeclaration.name)&&se.variableDeclaration.name.transformFlags&65536){const at=t.getGeneratedNameForNode(se.variableDeclaration.name),xt=t.updateVariableDeclaration(se.variableDeclaration,se.variableDeclaration.name,void 0,void 0,at),ae=sS(xt,K,e,1);let mt=ct(se.block,K,Pa);return Ne(ae)&&(mt=t.updateBlock(mt,[t.createVariableStatement(void 0,ae),...mt.statements])),t.updateCatchClause(se,t.updateVariableDeclaration(se.variableDeclaration,at,void 0,void 0,void 0),mt)}return Kr(se,K,e)}function Xt(se){if(gi(se,1)){const at=C;C=!0;const xt=Kr(se,K,e);return C=at,xt}return Kr(se,K,e)}function Ye(se){if(C){const at=C;C=!1;const xt=Bt(se,!0);return C=at,xt}return Bt(se,!1)}function Bt(se,at){return Fa(se.name)&&se.name.transformFlags&65536?sS(se,K,e,1,void 0,at):Kr(se,K,e)}function vr(se){return t.updateForStatement(se,ct(se.initializer,ce,ld),ct(se.condition,K,Ct),ct(se.incrementor,ce,Ct),l_(se.statement,K,e))}function Ar(se){return Kr(se,ce,e)}function Ht(se,at){const xt=W(0,2);(se.initializer.transformFlags&65536||yP(se.initializer)&&MO(se.initializer))&&(se=tn(se));const ae=se.awaitModifier?Cn(se,at,xt):t.restoreEnclosingLabel(Kr(se,K,e),at);return ye(xt),ae}function tn(se){const at=Tc(se.initializer);if(Tu(at)||yP(at)){let xt,ae;const mt=t.createTempVariable(void 0),_r=[nne(t,at,mt)];return Pa(se.statement)?(Pi(_r,se.statement.statements),xt=se.statement,ae=se.statement.statements):se.statement&&(zr(_r,se.statement),xt=se.statement,ae=se.statement),t.updateForOfStatement(se,se.awaitModifier,wt(t.createVariableDeclarationList([wt(t.createVariableDeclaration(mt),se.initializer)],1),se.initializer),se.expression,wt(t.createBlock(wt(t.createNodeArray(_r),ae),!0),xt))}return se}function hn(se,at,xt){const ae=t.createTempVariable(f),mt=t.createAssignment(ae,at),_r=t.createExpressionStatement(mt);$o(_r,se.expression);const Fe=t.createAssignment(xt,t.createFalse()),Gt=t.createExpressionStatement(Fe);$o(Gt,se.expression);const zt=[_r,Gt],Lr=nne(t,se.initializer,ae);zt.push(ct(Lr,K,Vs));let ii,Gn;const Rn=l_(se.statement,K,e);return Pa(Rn)?(Pi(zt,Rn.statements),ii=Rn,Gn=Rn.statements):zt.push(Rn),wt(t.createBlock(wt(t.createNodeArray(zt),Gn),!0),ii)}function Br(se){return O&1?t.createYieldExpression(void 0,n().createAwaitHelper(se)):t.createAwaitExpression(se)}function Cn(se,at,xt){const ae=ct(se.expression,K,Ct),mt=He(ae)?t.getGeneratedNameForNode(ae):t.createTempVariable(void 0),_r=He(ae)?t.getGeneratedNameForNode(mt):t.createTempVariable(void 0),Fe=t.createTempVariable(void 0),Gt=t.createTempVariable(f),zt=t.createUniqueName("e"),Lr=t.getGeneratedNameForNode(zt),ii=t.createTempVariable(void 0),Gn=wt(n().createAsyncValuesHelper(ae),se.expression),Rn=t.createCallExpression(t.createPropertyAccessExpression(mt,"next"),void 0,[]),L=t.createPropertyAccessExpression(_r,"done"),Se=t.createPropertyAccessExpression(_r,"value"),pe=t.createFunctionCallCall(ii,mt,[]);f(zt),f(ii);const ke=xt&2?t.inlineExpressions([t.createAssignment(zt,t.createVoidZero()),Gn]):Gn,ve=An(wt(t.createForStatement(An(wt(t.createVariableDeclarationList([t.createVariableDeclaration(Fe,void 0,void 0,t.createTrue()),wt(t.createVariableDeclaration(mt,void 0,void 0,ke),se.expression),t.createVariableDeclaration(_r)]),se.expression),4194304),t.inlineExpressions([t.createAssignment(_r,Br(Rn)),t.createAssignment(Gt,L),t.createLogicalNot(Gt)]),t.createAssignment(Fe,t.createTrue()),hn(se,Se,Fe)),se),512);return oi(ve,se),t.createTryStatement(t.createBlock([t.restoreEnclosingLabel(ve,at)]),t.createCatchClause(t.createVariableDeclaration(Lr),An(t.createBlock([t.createExpressionStatement(t.createAssignment(zt,t.createObjectLiteralExpression([t.createPropertyAssignment("error",Lr)])))]),1)),t.createBlock([t.createTryStatement(t.createBlock([An(t.createIfStatement(t.createLogicalAnd(t.createLogicalAnd(t.createLogicalNot(Fe),t.createLogicalNot(Gt)),t.createAssignment(ii,t.createPropertyAccessExpression(mt,"return"))),t.createExpressionStatement(Br(pe))),1)]),void 0,An(t.createBlock([An(t.createIfStatement(zt,t.createThrowStatement(t.createPropertyAccessExpression(zt,"error"))),1)]),1))]))}function ci(se){return R.assertNode(se,ea),Ji(se)}function Ji(se){return M!=null&&M.has(se)?t.updateParameterDeclaration(se,void 0,se.dotDotDotToken,Fa(se.name)?t.getGeneratedNameForNode(se):se.name,void 0,void 0,void 0):se.transformFlags&65536?t.updateParameterDeclaration(se,void 0,se.dotDotDotToken,t.getGeneratedNameForNode(se),void 0,void 0,ct(se.initializer,K,Ct)):Kr(se,K,e)}function ws(se){let at;for(const xt of se.parameters)at?at.add(xt):xt.transformFlags&65536&&(at=new Set);return at}function ui(se){const at=O,xt=M;O=Fu(se),M=ws(se);const ae=t.updateConstructorDeclaration(se,se.modifiers,Rl(se.parameters,ci,e),ls(se));return O=at,M=xt,ae}function Pt(se){const at=O,xt=M;O=Fu(se),M=ws(se);const ae=t.updateGetAccessorDeclaration(se,se.modifiers,ct(se.name,K,sl),Rl(se.parameters,ci,e),void 0,ls(se));return O=at,M=xt,ae}function Dr(se){const at=O,xt=M;O=Fu(se),M=ws(se);const ae=t.updateSetAccessorDeclaration(se,se.modifiers,ct(se.name,K,sl),Rl(se.parameters,ci,e),ls(se));return O=at,M=xt,ae}function Kt(se){const at=O,xt=M;O=Fu(se),M=ws(se);const ae=t.updateMethodDeclaration(se,O&1?cn(se.modifiers,le,Mc):se.modifiers,O&2?void 0:se.asteriskToken,ct(se.name,K,sl),ct(void 0,K,Lv),void 0,Rl(se.parameters,ci,e),void 0,O&2&&O&1?ks(se):ls(se));return O=at,M=xt,ae}function Qr(se){const at=O,xt=M;O=Fu(se),M=ws(se);const ae=t.updateFunctionDeclaration(se,O&1?cn(se.modifiers,le,Ha):se.modifiers,O&2?void 0:se.asteriskToken,se.name,void 0,Rl(se.parameters,ci,e),void 0,O&2&&O&1?ks(se):ls(se));return O=at,M=xt,ae}function _n(se){const at=O,xt=M;O=Fu(se),M=ws(se);const ae=t.updateArrowFunction(se,se.modifiers,void 0,Rl(se.parameters,ci,e),void 0,se.equalsGreaterThanToken,ls(se));return O=at,M=xt,ae}function Nn(se){const at=O,xt=M;O=Fu(se),M=ws(se);const ae=t.updateFunctionExpression(se,O&1?cn(se.modifiers,le,Ha):se.modifiers,O&2?void 0:se.asteriskToken,se.name,void 0,Rl(se.parameters,ci,e),void 0,O&2&&O&1?ks(se):ls(se));return O=at,M=xt,ae}function ks(se){s();const at=[],xt=t.copyPrologue(se.body.statements,at,!1,K);Yr(at,se);const ae=Z,mt=fe;Z=new Set,fe=!1;const _r=t.createReturnStatement(n().createAsyncGeneratorHelper(t.createFunctionExpression(void 0,t.createToken(42),se.name&&t.getGeneratedNameForNode(se.name),void 0,[],void 0,t.updateBlock(se.body,vz(se.body.statements,K,e,xt))),!!(B&1))),Fe=h>=2&&d.getNodeCheckFlags(se)&384;if(Fe){Er();const zt=Ez(t,d,se,Z);Q[Jo(zt)]=!0,Zh(at,[zt])}at.push(_r),Zh(at,l());const Gt=t.updateBlock(se.body,at);return Fe&&fe&&(d.getNodeCheckFlags(se)&256?xw(Gt,dO):d.getNodeCheckFlags(se)&128&&xw(Gt,pO)),Z=ae,fe=mt,Gt}function ls(se){s();let at=0;const xt=[],ae=ct(se.body,K,oj)??t.createBlock([]);Pa(ae)&&(at=t.copyPrologue(ae.statements,xt,!1,K)),Pi(xt,Yr(void 0,se));const mt=l();if(at>0||Ne(xt)||Ne(mt)){const _r=t.converters.convertToFunctionBlock(ae,!0);return Zh(xt,mt),Pi(xt,_r.statements.slice(at)),t.updateBlock(_r,wt(t.createNodeArray(xt),_r.statements))}return ae}function Yr(se,at){let xt=!1;for(const ae of at.parameters)if(xt){if(Fa(ae.name)){if(ae.name.elements.length>0){const mt=sS(ae,K,e,0,t.getGeneratedNameForNode(ae));if(Ne(mt)){const _r=t.createVariableDeclarationList(mt),Fe=t.createVariableStatement(void 0,_r);An(Fe,2097152),se=zr(se,Fe)}}else if(ae.initializer){const mt=t.getGeneratedNameForNode(ae),_r=ct(ae.initializer,K,Ct),Fe=t.createAssignment(mt,_r),Gt=t.createExpressionStatement(Fe);An(Gt,2097152),se=zr(se,Gt)}}else if(ae.initializer){const mt=t.cloneNode(ae.name);wt(mt,ae.name),An(mt,96);const _r=ct(ae.initializer,K,Ct);og(_r,3168);const Fe=t.createAssignment(mt,_r);wt(Fe,ae),An(Fe,3072);const Gt=t.createBlock([t.createExpressionStatement(Fe)]);wt(Gt,ae),An(Gt,3905);const zt=t.createTypeCheck(t.cloneNode(ae.name),"undefined"),Lr=t.createIfStatement(zt,Gt);Qf(Lr),wt(Lr,ae),An(Lr,2101056),se=zr(se,Lr)}}else if(ae.transformFlags&65536){xt=!0;const mt=sS(ae,K,e,1,t.getGeneratedNameForNode(ae),!1,!0);if(Ne(mt)){const _r=t.createVariableDeclarationList(mt),Fe=t.createVariableStatement(void 0,_r);An(Fe,2097152),se=zr(se,Fe)}}return se}function Er(){D&1||(D|=1,e.enableSubstitution(212),e.enableSubstitution(210),e.enableSubstitution(211),e.enableEmitNotification(262),e.enableEmitNotification(173),e.enableEmitNotification(176),e.enableEmitNotification(177),e.enableEmitNotification(175),e.enableEmitNotification(242))}function rn(se,at,xt){if(D&1&&Ut(at)){const ae=d.getNodeCheckFlags(at)&384;if(ae!==U){const mt=U;U=ae,k(se,at,xt),U=mt;return}}else if(D&&Q[Jo(at)]){const ae=U;U=0,k(se,at,xt),U=ae;return}k(se,at,xt)}function qr(se,at){return at=T(se,at),se===1&&U?xi(at):at}function xi(se){switch(se.kind){case 210:return pt(se);case 211:return Nt(se);case 212:return dt(se)}return se}function pt(se){return se.expression.kind===108?wt(t.createPropertyAccessExpression(t.createUniqueName("_super",48),se.name),se):se}function Nt(se){return se.expression.kind===108?rr(se.argumentExpression,se):se}function dt(se){const at=se.expression;if(v_(at)){const xt=ai(at)?pt(at):Nt(at);return t.createCallExpression(t.createPropertyAccessExpression(xt,"call"),void 0,[t.createThis(),...se.arguments])}return se}function Ut(se){const at=se.kind;return at===262||at===175||at===173||at===176||at===177}function rr(se,at){return U&256?wt(t.createPropertyAccessExpression(t.createCallExpression(t.createIdentifier("_superIndex"),void 0,[se]),"value"),at):wt(t.createCallExpression(t.createIdentifier("_superIndex"),void 0,[se]),at)}}var Stt=p({"src/compiler/transformers/es2018.ts"(){Ba()}});function CEe(e){const t=e.factory;return om(e,n);function n(f){return f.isDeclarationFile?f:Kr(f,s,e)}function s(f){if(!(f.transformFlags&64))return f;switch(f.kind){case 298:return l(f);default:return Kr(f,s,e)}}function l(f){return f.variableDeclaration?Kr(f,s,e):t.updateCatchClause(f,t.createVariableDeclaration(t.createTempVariable(void 0)),ct(f.block,s,Pa))}}var xtt=p({"src/compiler/transformers/es2019.ts"(){Ba()}});function wEe(e){const{factory:t,hoistVariableDeclaration:n}=e;return om(e,s);function s(M){return M.isDeclarationFile?M:Kr(M,l,e)}function l(M){if(!(M.transformFlags&32))return M;switch(M.kind){case 212:{const U=h(M,!1);return R.assertNotNode(U,Fw),U}case 210:case 211:if(Tf(M)){const U=T(M,!1,!1);return R.assertNotNode(U,Fw),U}return Kr(M,l,e);case 225:return M.operatorToken.kind===61?D(M):Kr(M,l,e);case 219:return O(M);default:return Kr(M,l,e)}}function f(M){R.assertNotNode(M,ej);const U=[M];for(;!M.questionDotToken&&!Hx(M);)M=Ua(Xd(M.expression),Tf),R.assertNotNode(M,ej),U.unshift(M);return{expression:M.expression,chain:U}}function d(M,U,B){const H=k(M.expression,U,B);return Fw(H)?t.createSyntheticReferenceExpression(t.updateParenthesizedExpression(M,H.expression),H.thisArg):t.updateParenthesizedExpression(M,H)}function g(M,U,B){if(Tf(M))return T(M,U,B);let H=ct(M.expression,l,Ct);R.assertNotNode(H,Fw);let Y;return U&&(iS(H)?Y=H:(Y=t.createTempVariable(n),H=t.createAssignment(Y,H))),H=M.kind===210?t.updatePropertyAccessExpression(M,H,ct(M.name,l,He)):t.updateElementAccessExpression(M,H,ct(M.argumentExpression,l,Ct)),Y?t.createSyntheticReferenceExpression(H,Y):H}function h(M,U){if(Tf(M))return T(M,U,!1);if(j_(M.expression)&&Tf(Tc(M.expression))){const B=d(M.expression,!0,!1),H=cn(M.arguments,l,Ct);return Fw(B)?wt(t.createFunctionCallCall(B.expression,B.thisArg,H),M):t.updateCallExpression(M,B,void 0,H)}return Kr(M,l,e)}function k(M,U,B){switch(M.kind){case 216:return d(M,U,B);case 210:case 211:return g(M,U,B);case 212:return h(M,U);default:return ct(M,l,Ct)}}function T(M,U,B){const{expression:H,chain:Y}=f(M),Z=k(Xd(H),kx(Y[0]),!1);let fe=Fw(Z)?Z.thisArg:void 0,Q=Fw(Z)?Z.expression:Z,he=t.restoreOuterExpressions(H,Q,8);iS(Q)||(Q=t.createTempVariable(n),he=t.createAssignment(Q,he));let W=Q,ye;for(let Ce=0;Ce<Y.length;Ce++){const K=Y[Ce];switch(K.kind){case 210:case 211:Ce===Y.length-1&&U&&(iS(W)?ye=W:(ye=t.createTempVariable(n),W=t.createAssignment(ye,W))),W=K.kind===210?t.createPropertyAccessExpression(W,ct(K.name,l,He)):t.createElementAccessExpression(W,ct(K.argumentExpression,l,Ct));break;case 212:Ce===0&&fe?(il(fe)||(fe=t.cloneNode(fe),og(fe,3072)),W=t.createFunctionCallCall(W,fe.kind===108?t.createThis():fe,cn(K.arguments,l,Ct))):W=t.createCallExpression(W,void 0,cn(K.arguments,l,Ct));break}oi(W,K)}const de=B?t.createConditionalExpression(C(he,Q,!0),void 0,t.createTrue(),void 0,t.createDeleteExpression(W)):t.createConditionalExpression(C(he,Q,!0),void 0,t.createVoidZero(),void 0,W);return wt(de,M),ye?t.createSyntheticReferenceExpression(de,ye):de}function C(M,U,B){return t.createBinaryExpression(t.createBinaryExpression(M,t.createToken(B?37:38),t.createNull()),t.createToken(B?57:56),t.createBinaryExpression(U,t.createToken(B?37:38),t.createVoidZero()))}function D(M){let U=ct(M.left,l,Ct),B=U;return iS(U)||(B=t.createTempVariable(n),U=t.createAssignment(B,U)),wt(t.createConditionalExpression(C(U,B),void 0,B,void 0,ct(M.right,l,Ct)),M)}function O(M){return Tf(Tc(M.expression))?oi(k(M.expression,!1,!0),M):t.updateDeleteExpression(M,ct(M.expression,l,Ct))}}var ktt=p({"src/compiler/transformers/es2020.ts"(){Ba()}});function EEe(e){const{hoistVariableDeclaration:t,factory:n}=e;return om(e,s);function s(d){return d.isDeclarationFile?d:Kr(d,l,e)}function l(d){return d.transformFlags&16?dte(d)?f(d):Kr(d,l,e):d}function f(d){const g=d.operatorToken,h=$D(g.kind);let k=Tc(ct(d.left,l,L_)),T=k;const C=Tc(ct(d.right,l,Ct));if(jc(k)){const D=iS(k.expression),O=D?k.expression:n.createTempVariable(t),M=D?k.expression:n.createAssignment(O,k.expression);if(ai(k))T=n.createPropertyAccessExpression(O,k.name),k=n.createPropertyAccessExpression(M,k.name);else{const U=iS(k.argumentExpression),B=U?k.argumentExpression:n.createTempVariable(t);T=n.createElementAccessExpression(O,B),k=n.createElementAccessExpression(M,U?k.argumentExpression:n.createAssignment(B,k.argumentExpression))}}return n.createBinaryExpression(k,h,n.createParenthesizedExpression(n.createAssignment(T,C)))}}var Ctt=p({"src/compiler/transformers/es2021.ts"(){Ba()}});function AEe(e){return om(e,t);function t(s){return s.isDeclarationFile?s:Kr(s,n,e)}function n(s){if(!(s.transformFlags&4))return s;switch(s.kind){default:return Kr(s,n,e)}}}var wtt=p({"src/compiler/transformers/esnext.ts"(){Ba()}});function PEe(e){const{factory:t,getEmitHelperFactory:n}=e,s=e.getCompilerOptions();let l,f;return om(e,C);function d(){if(f.filenameDeclaration)return f.filenameDeclaration.name;const je=t.createVariableDeclaration(t.createUniqueName("_jsxFileName",48),void 0,void 0,t.createStringLiteral(l.fileName));return f.filenameDeclaration=je,f.filenameDeclaration.name}function g(je){return s.jsx===5?"jsxDEV":je?"jsxs":"jsx"}function h(je){const _t=g(je);return T(_t)}function k(){return T("Fragment")}function T(je){var _t,Lt;const Dt=je==="createElement"?f.importSpecifier:vJ(f.importSpecifier,s),Xt=(Lt=(_t=f.utilizedImplicitRuntimeImports)==null?void 0:_t.get(Dt))==null?void 0:Lt.get(je);if(Xt)return Xt.name;f.utilizedImplicitRuntimeImports||(f.utilizedImplicitRuntimeImports=new Map);let Ye=f.utilizedImplicitRuntimeImports.get(Dt);Ye||(Ye=new Map,f.utilizedImplicitRuntimeImports.set(Dt,Ye));const Bt=t.createUniqueName(`_${je}`,112),vr=t.createImportSpecifier(!1,t.createIdentifier(je),Bt);return Oxe(Bt,vr),Ye.set(je,vr),Bt}function C(je){if(je.isDeclarationFile)return je;l=je,f={},f.importSpecifier=yJ(s,je);let _t=Kr(je,D,e);f1(_t,e.readEmitHelpers());let Lt=_t.statements;if(f.filenameDeclaration&&(Lt=AT(Lt.slice(),t.createVariableStatement(void 0,t.createVariableDeclarationList([f.filenameDeclaration],2)))),f.utilizedImplicitRuntimeImports){for(const[Dt,Xt]of oo(f.utilizedImplicitRuntimeImports.entries()))if(Ul(je)){const Ye=t.createImportDeclaration(void 0,t.createImportClause(!1,void 0,t.createNamedImports(oo(Xt.values()))),t.createStringLiteral(Dt),void 0);Iv(Ye,!1),Lt=AT(Lt.slice(),Ye)}else if(Pp(je)){const Ye=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.createObjectBindingPattern(oo(Xt.values(),Bt=>t.createBindingElement(void 0,Bt.propertyName,Bt.name))),void 0,void 0,t.createCallExpression(t.createIdentifier("require"),void 0,[t.createStringLiteral(Dt)]))],2));Iv(Ye,!1),Lt=AT(Lt.slice(),Ye)}}return Lt!==_t.statements&&(_t=t.updateSourceFile(_t,Lt)),f=void 0,_t}function D(je){return je.transformFlags&2?O(je):je}function O(je){switch(je.kind){case 283:return Y(je,!1);case 284:return Z(je,!1);case 287:return fe(je,!1);case 293:return et(je);default:return Kr(je,D,e)}}function M(je){switch(je.kind){case 12:return ut(je);case 293:return et(je);case 283:return Y(je,!0);case 284:return Z(je,!0);case 287:return fe(je,!0);default:return R.failBadSyntaxKind(je)}}function U(je){return je.properties.some(_t=>pu(_t)&&(He(_t.name)&&Zn(_t.name)==="__proto__"||yo(_t.name)&&_t.name.text==="__proto__"))}function B(je){let _t=!1;for(const Lt of je.attributes.properties)if(Bw(Lt)&&(!jo(Lt.expression)||Lt.expression.properties.some(ZT)))_t=!0;else if(_t&&bh(Lt)&&He(Lt.name)&&Lt.name.escapedText==="key")return!0;return!1}function H(je){return f.importSpecifier===void 0||B(je)}function Y(je,_t){return(H(je.openingElement)?de:W)(je.openingElement,je.children,_t,je)}function Z(je,_t){return(H(je)?de:W)(je,void 0,_t,je)}function fe(je,_t){return(f.importSpecifier===void 0?K:Ce)(je.openingFragment,je.children,_t,je)}function Q(je){const _t=he(je);return _t&&t.createObjectLiteralExpression([_t])}function he(je){const _t=MP(je);if(G(_t)===1&&!_t[0].dotDotDotToken){const Dt=M(_t[0]);return Dt&&t.createPropertyAssignment("children",Dt)}const Lt=lr(je,M);return G(Lt)?t.createPropertyAssignment("children",t.createArrayLiteralExpression(Lt)):void 0}function W(je,_t,Lt,Dt){const Xt=ze(je),Ye=_t&&_t.length?he(_t):void 0,Bt=Ve(je.attributes.properties,Ht=>!!Ht.name&&He(Ht.name)&&Ht.name.escapedText==="key"),vr=Bt?gr(je.attributes.properties,Ht=>Ht!==Bt):je.attributes.properties,Ar=G(vr)?le(vr,Ye):t.createObjectLiteralExpression(Ye?[Ye]:ft);return ye(Xt,Ar,Bt,_t||ft,Lt,Dt)}function ye(je,_t,Lt,Dt,Xt,Ye){var Bt;const vr=MP(Dt),Ar=G(vr)>1||!!((Bt=vr[0])!=null&&Bt.dotDotDotToken),Ht=[je,_t];if(Lt&&Ht.push(ue(Lt.initializer)),s.jsx===5){const hn=el(l);if(hn&&Cs(hn)){Lt===void 0&&Ht.push(t.createVoidZero()),Ht.push(Ar?t.createTrue():t.createFalse());const Br=Vc(hn,Ye.pos);Ht.push(t.createObjectLiteralExpression([t.createPropertyAssignment("fileName",d()),t.createPropertyAssignment("lineNumber",t.createNumericLiteral(Br.line+1)),t.createPropertyAssignment("columnNumber",t.createNumericLiteral(Br.character+1))])),Ht.push(t.createThis())}}const tn=wt(t.createCallExpression(h(Ar),void 0,Ht),Ye);return Xt&&Qf(tn),tn}function de(je,_t,Lt,Dt){const Xt=ze(je),Ye=je.attributes.properties,Bt=G(Ye)?le(Ye):t.createNull(),vr=f.importSpecifier===void 0?rne(t,e.getEmitResolver().getJsxFactoryEntity(l),s.reactNamespace,je):T("createElement"),Ar=fke(t,vr,Xt,Bt,lr(_t,M),Dt);return Lt&&Qf(Ar),Ar}function Ce(je,_t,Lt,Dt){let Xt;if(_t&&_t.length){const Ye=Q(_t);Ye&&(Xt=Ye)}return ye(k(),Xt||t.createObjectLiteralExpression([]),void 0,_t,Lt,Dt)}function K(je,_t,Lt,Dt){const Xt=_ke(t,e.getEmitResolver().getJsxFactoryEntity(l),e.getEmitResolver().getJsxFragmentFactoryEntity(l),s.reactNamespace,lr(_t,M),je,Dt);return Lt&&Qf(Xt),Xt}function ce(je){return jo(je.expression)&&!U(je.expression)?je.expression.properties:t.createSpreadAssignment(R.checkDefined(ct(je.expression,D,Ct)))}function le(je,_t){const Lt=Eo(s);return Lt&&Lt>=5?t.createObjectLiteralExpression(xe(je,_t)):we(je,_t)}function xe(je,_t){const Lt=$n(na(je,Bw,(Dt,Xt)=>$n(qt(Dt,Ye=>Xt?ce(Ye):Ie(Ye)))));return _t&&Lt.push(_t),Lt}function we(je,_t){const Lt=[];let Dt=[];for(const Ye of je){if(Bw(Ye)){if(jo(Ye.expression)&&!U(Ye.expression)){for(const Bt of Ye.expression.properties){if(ZT(Bt)){Xt(),Lt.push(Bt.expression);continue}Dt.push(Bt)}continue}Xt(),Lt.push(Ye.expression);continue}Dt.push(Ie(Ye))}return _t&&Dt.push(_t),Xt(),Lt.length&&!jo(Lt[0])&&Lt.unshift(t.createObjectLiteralExpression()),$h(Lt)||n().createAssignHelper(Lt);function Xt(){Dt.length&&(Lt.push(t.createObjectLiteralExpression(Dt)),Dt=[])}}function Ie(je){const _t=st(je),Lt=ue(je.initializer);return t.createPropertyAssignment(_t,Lt)}function ue(je){if(je===void 0)return t.createTrue();if(je.kind===11){const _t=je.singleQuote!==void 0?je.singleQuote:!Uj(je,l),Lt=t.createStringLiteral(Me(je.text)||je.text,_t);return wt(Lt,je)}return je.kind===293?je.expression===void 0?t.createTrue():R.checkDefined(ct(je.expression,D,Ct)):iy(je)?Y(je,!1):Qx(je)?Z(je,!1):QT(je)?fe(je,!1):R.failBadSyntaxKind(je)}function ut(je){const _t=Ge(je.text);return _t===void 0?void 0:t.createStringLiteral(_t)}function Ge(je){let _t,Lt=0,Dt=-1;for(let Xt=0;Xt<je.length;Xt++){const Ye=je.charCodeAt(Xt);sf(Ye)?(Lt!==-1&&Dt!==-1&&(_t=qe(_t,je.substr(Lt,Dt-Lt+1))),Lt=-1):_h(Ye)||(Dt=Xt,Lt===-1&&(Lt=Xt))}return Lt!==-1?qe(_t,je.substr(Lt)):_t}function qe(je,_t){const Lt=Ke(_t);return je===void 0?Lt:je+" "+Lt}function Ke(je){return je.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g,(_t,Lt,Dt,Xt,Ye,Bt,vr)=>{if(Ye)return L6(parseInt(Ye,10));if(Bt)return L6(parseInt(Bt,16));{const Ar=DEe.get(vr);return Ar?L6(Ar):_t}})}function Me(je){const _t=Ke(je);return _t===je?void 0:_t}function ze(je){if(je.kind===283)return ze(je.openingElement);{const _t=je.tagName;return He(_t)&&m4(_t.escapedText)?t.createStringLiteral(Zn(_t)):Th(_t)?t.createStringLiteral(Zn(_t.namespace)+":"+Zn(_t.name)):AO(t,_t)}}function st(je){const _t=je.name;if(He(_t)){const Lt=Zn(_t);return/^[A-Za-z_]\w*$/.test(Lt)?_t:t.createStringLiteral(Lt)}return t.createStringLiteral(Zn(_t.namespace)+":"+Zn(_t.name))}function et(je){const _t=ct(je.expression,D,Ct);return je.dotDotDotToken?t.createSpreadElement(_t):_t}}var DEe,Ett=p({"src/compiler/transformers/jsx.ts"(){Ba(),DEe=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 NEe(e){const{factory:t,hoistVariableDeclaration:n}=e;return om(e,s);function s(h){return h.isDeclarationFile?h:Kr(h,l,e)}function l(h){if(!(h.transformFlags&512))return h;switch(h.kind){case 225:return f(h);default:return Kr(h,l,e)}}function f(h){switch(h.operatorToken.kind){case 68:return d(h);case 43:return g(h);default:return Kr(h,l,e)}}function d(h){let k,T;const C=ct(h.left,l,Ct),D=ct(h.right,l,Ct);if(Pc(C)){const O=t.createTempVariable(n),M=t.createTempVariable(n);k=wt(t.createElementAccessExpression(wt(t.createAssignment(O,C.expression),C.expression),wt(t.createAssignment(M,C.argumentExpression),C.argumentExpression)),C),T=wt(t.createElementAccessExpression(O,M),C)}else if(ai(C)){const O=t.createTempVariable(n);k=wt(t.createPropertyAccessExpression(wt(t.createAssignment(O,C.expression),C.expression),C.name),C),T=wt(t.createPropertyAccessExpression(O,C.name),C)}else k=C,T=C;return wt(t.createAssignment(k,wt(t.createGlobalMethodCall("Math","pow",[T,D]),h)),h)}function g(h){const k=ct(h.left,l,Ct),T=ct(h.right,l,Ct);return wt(t.createGlobalMethodCall("Math","pow",[k,T]),h)}}var Att=p({"src/compiler/transformers/es2016.ts"(){Ba()}});function IEe(e,t){return{kind:e,expression:t}}function OEe(e){const{factory:t,getEmitHelperFactory:n,startLexicalEnvironment:s,resumeLexicalEnvironment:l,endLexicalEnvironment:f,hoistVariableDeclaration:d}=e,g=e.getCompilerOptions(),h=e.getEmitResolver(),k=e.onSubstituteNode,T=e.onEmitNode;e.onEmitNode=Mo,e.onSubstituteNode=Xc;let C,D,O,M;function U(_e){M=zr(M,t.createVariableDeclaration(_e))}let B,H;return om(e,Y);function Y(_e){if(_e.isDeclarationFile)return _e;C=_e,D=_e.text;const bt=le(_e);return f1(bt,e.readEmitHelpers()),C=void 0,D=void 0,M=void 0,O=0,bt}function Z(_e,bt){const Yt=O;return O=(O&~_e|bt)&32767,Yt}function fe(_e,bt,Yt){O=(O&~bt|Yt)&-32768|_e}function Q(_e){return(O&8192)!==0&&_e.kind===252&&!_e.expression}function he(_e){return _e.transformFlags&4194304&&(Lm(_e)||Gx(_e)||Kxe(_e)||TO(_e)||CD(_e)||ED(_e)||kO(_e)||SO(_e)||j4(_e)||GT(_e)||xv(_e,!1)||Pa(_e))}function W(_e){return(_e.transformFlags&1024)!==0||B!==void 0||O&8192&&he(_e)||xv(_e,!1)&&Pn(_e)||(Qd(_e)&1)!==0}function ye(_e){return W(_e)?ce(_e,!1):_e}function de(_e){return W(_e)?ce(_e,!0):_e}function Ce(_e){if(W(_e)){const bt=el(_e);if(Ia(bt)&&su(bt)){const Yt=Z(32670,16449),Zt=ce(_e,!1);return fe(Yt,98304,0),Zt}return ce(_e,!1)}return _e}function K(_e){return _e.kind===108?mu(!0):ye(_e)}function ce(_e,bt){switch(_e.kind){case 126:return;case 262:return Me(_e);case 230:return ze(_e);case 168:return Ht(_e);case 261:return Er(_e);case 218:return ls(_e);case 217:return Yr(_e);case 259:return _r(_e);case 80:return qe(_e);case 260:return at(_e);case 254:return xe(_e);case 268:return we(_e);case 240:return xi(_e,!1);case 251:case 250:return Ke(_e);case 255:return zt(_e);case 245:case 246:return Gn(_e,void 0);case 247:return Rn(_e,void 0);case 248:return Se(_e,void 0);case 249:return pe(_e,void 0);case 243:return pt(_e);case 209:return vt(_e);case 298:return Zl(_e);case 303:return Sc(_e);case 166:return Jc(_e);case 208:return Bl(_e);case 212:return ff(_e);case 213:return Je(_e);case 216:return Nt(_e,bt);case 225:return dt(_e,bt);case 360:return Ut(_e,bt);case 15:case 16:case 17:case 18:return Us(_e);case 11:return Va(_e);case 9:return tl(_e);case 214:return ic(_e);case 227:return sc(_e);case 228:return br(_e);case 229:return di(_e);case 108:return mu(!1);case 110:return ut(_e);case 235:return cl(_e);case 173:return pc(_e);case 176:case 177:return hl(_e);case 242:return se(_e);case 252:return ue(_e);case 221:return Ge(_e);default:return Kr(_e,ye,e)}}function le(_e){const bt=Z(8064,64),Yt=[],Zt=[];s();const Cr=t.copyPrologue(_e.statements,Yt,!1,ye);return Pi(Zt,cn(_e.statements,ye,Vs,Cr)),M&&Zt.push(t.createVariableStatement(void 0,t.createVariableDeclarationList(M))),t.mergeLexicalEnvironment(Yt,f()),ws(Yt,_e),fe(bt,0,0),t.updateSourceFile(_e,wt(t.createNodeArray(wr(Yt,Zt)),_e.statements))}function xe(_e){if(B!==void 0){const bt=B.allowedNonLabeledJumps;B.allowedNonLabeledJumps|=2;const Yt=Kr(_e,ye,e);return B.allowedNonLabeledJumps=bt,Yt}return Kr(_e,ye,e)}function we(_e){const bt=Z(7104,0),Yt=Kr(_e,ye,e);return fe(bt,0,0),Yt}function Ie(_e){return oi(t.createReturnStatement(t.createUniqueName("_this",48)),_e)}function ue(_e){return B?(B.nonLocalJumps|=8,Q(_e)&&(_e=Ie(_e)),t.createReturnStatement(t.createObjectLiteralExpression([t.createPropertyAssignment(t.createIdentifier("value"),_e.expression?R.checkDefined(ct(_e.expression,ye,Ct)):t.createVoidZero())]))):Q(_e)?Ie(_e):Kr(_e,ye,e)}function ut(_e){return O&2&&!(O&16384)&&(O|=65536),B?O&2?(B.containsLexicalThis=!0,_e):B.thisName||(B.thisName=t.createUniqueName("this")):_e}function Ge(_e){return Kr(_e,de,e)}function qe(_e){return B&&h.isArgumentsLocalBinding(_e)?B.argumentsName||(B.argumentsName=t.createUniqueName("arguments")):_e.flags&128?oi(wt(t.createIdentifier(xs(_e.escapedText)),_e),_e):_e}function Ke(_e){if(B){const bt=_e.kind===251?2:4;if(!(_e.label&&B.labels&&B.labels.get(Zn(_e.label))||!_e.label&&B.allowedNonLabeledJumps&bt)){let Zt;const Cr=_e.label;Cr?_e.kind===251?(Zt=`break-${Cr.escapedText}`,Nl(B,!0,Zn(Cr),Zt)):(Zt=`continue-${Cr.escapedText}`,Nl(B,!1,Zn(Cr),Zt)):_e.kind===251?(B.nonLocalJumps|=2,Zt="break"):(B.nonLocalJumps|=4,Zt="continue");let an=t.createStringLiteral(Zt);if(B.loopOutParameters.length){const ti=B.loopOutParameters;let ki;for(let ds=0;ds<ti.length;ds++){const sa=Za(ti[ds],1);ds===0?ki=sa:ki=t.createBinaryExpression(ki,28,sa)}an=t.createBinaryExpression(ki,28,an)}return t.createReturnStatement(an)}}return Kr(_e,ye,e)}function Me(_e){const bt=t.createVariableDeclaration(t.getLocalName(_e,!0),void 0,void 0,st(_e));oi(bt,_e);const Yt=[],Zt=t.createVariableStatement(void 0,t.createVariableDeclarationList([bt]));if(oi(Zt,_e),wt(Zt,_e),Qf(Zt),Yt.push(Zt),gi(_e,1)){const Cr=gi(_e,1024)?t.createExportDefault(t.getLocalName(_e)):t.createExternalModuleExport(t.getLocalName(_e));oi(Cr,Zt),Yt.push(Cr)}return Ug(Yt)}function ze(_e){return st(_e)}function st(_e){_e.name&&hc();const bt=RT(_e),Yt=t.createFunctionExpression(void 0,void 0,void 0,void 0,bt?[t.createParameterDeclaration(void 0,void 0,t.createUniqueName("_super",48))]:[],void 0,et(_e,bt));An(Yt,xo(_e)&131072|1048576);const Zt=t.createPartiallyEmittedExpression(Yt);x4(Zt,_e.end),An(Zt,3072);const Cr=t.createPartiallyEmittedExpression(Zt);x4(Cr,fo(D,_e.pos)),An(Cr,3072);const an=t.createParenthesizedExpression(t.createCallExpression(Cr,void 0,bt?[R.checkDefined(ct(bt.expression,ye,Ct))]:[]));return lO(an,3,"* @class "),an}function et(_e,bt){const Yt=[],Zt=t.getInternalName(_e),Cr=Xj(Zt)?t.getGeneratedNameForNode(Zt):Zt;s(),je(Yt,_e,bt),_t(Yt,_e,Cr,bt),Kt(Yt,_e);const an=vte(fo(D,_e.members.end),20),ti=t.createPartiallyEmittedExpression(Cr);x4(ti,an.end),An(ti,3072);const ki=t.createReturnStatement(ti);nD(ki,an.pos),An(ki,3840),Yt.push(ki),Zh(Yt,f());const ds=t.createBlock(wt(t.createNodeArray(Yt),_e.members),!0);return An(ds,3072),ds}function je(_e,bt,Yt){Yt&&_e.push(wt(t.createExpressionStatement(n().createExtendsHelper(t.getInternalName(bt))),Yt))}function _t(_e,bt,Yt,Zt){const Cr=B;B=void 0;const an=Z(32662,73),ti=Yg(bt),ki=fa(ti,Zt!==void 0),ds=t.createFunctionDeclaration(void 0,void 0,Yt,void 0,Lt(ti,ki),void 0,Xt(ti,bt,Zt,ki));wt(ds,ti||bt),Zt&&An(ds,16),_e.push(ds),fe(an,98304,0),B=Cr}function Lt(_e,bt){return Rl(_e&&!bt?_e.parameters:void 0,ye,e)||[]}function Dt(_e,bt){const Yt=[];l(),t.mergeLexicalEnvironment(Yt,f()),bt&&Yt.push(t.createReturnStatement(Ar()));const Zt=t.createNodeArray(Yt);wt(Zt,_e.members);const Cr=t.createBlock(Zt,!0);return wt(Cr,_e),An(Cr,3072),Cr}function Xt(_e,bt,Yt,Zt){const Cr=!!Yt&&lf(Yt.expression).kind!==106;if(!_e)return Dt(bt,Cr);const an=[],ti=[];l();const ki=uI(_e.body.statements,Yd),{superCall:ds,superStatementIndex:sa}=Ye(_e.body.statements,ki),Ka=sa===-1?ki.length:sa+1;let xc=Ka;Zt||(xc=t.copyStandardPrologue(_e.body.statements,an,xc,!1)),Zt||(xc=t.copyCustomPrologue(_e.body.statements,ti,xc,ye,void 0));let Nc;if(Zt?Nc=Ar():ds&&(Nc=be(ds)),Nc&&(O|=8192),hn(an,_e),Ji(an,_e,Zt),Pi(ti,cn(_e.body.statements,ye,Vs,xc)),t.mergeLexicalEnvironment(an,f()),Dr(an,_e,!1),Cr||Nc)if(Nc&&Ka===_e.body.statements.length&&!(_e.body.transformFlags&16384)){const yd=Ua(Ua(Nc,Bn).left,Ra),zl=t.createReturnStatement(Nc);Bu(zl,cg(yd)),An(yd,3072),ti.push(zl)}else sa<=ki.length?Pt(ti,_e,Nc||vr()):(Pt(an,_e,vr()),Nc&&ui(ti,Nc)),Bt(_e.body)||ti.push(t.createReturnStatement(t.createUniqueName("_this",48)));else ws(an,_e);const k_=t.createBlock(wt(t.createNodeArray([...ki,...an,...sa<=ki.length?ft:cn(_e.body.statements,ye,Vs,ki.length,sa-ki.length),...ti]),_e.body.statements),!0);return wt(k_,_e.body),k_}function Ye(_e,bt){for(let Yt=bt.length;Yt<_e.length;Yt+=1){const Zt=Nie(_e[Yt]);if(Zt)return{superCall:Zt,superStatementIndex:Yt}}return{superStatementIndex:-1}}function Bt(_e){if(_e.kind===252)return!0;if(_e.kind===244){const bt=_e;if(bt.elseStatement)return Bt(bt.thenStatement)&&Bt(bt.elseStatement)}else if(_e.kind===240){const bt=Bc(_e.statements);if(bt&&Bt(bt))return!0}return!1}function vr(){return An(t.createThis(),8)}function Ar(){return t.createLogicalOr(t.createLogicalAnd(t.createStrictInequality(t.createUniqueName("_super",48),t.createNull()),t.createFunctionApplyCall(t.createUniqueName("_super",48),vr(),t.createIdentifier("arguments"))),vr())}function Ht(_e){if(!_e.dotDotDotToken)return Fa(_e.name)?oi(wt(t.createParameterDeclaration(void 0,void 0,t.getGeneratedNameForNode(_e),void 0,void 0,void 0),_e),_e):_e.initializer?oi(wt(t.createParameterDeclaration(void 0,void 0,_e.name,void 0,void 0,void 0),_e),_e):_e}function tn(_e){return _e.initializer!==void 0||Fa(_e.name)}function hn(_e,bt){if(!Ne(bt.parameters,tn))return!1;let Yt=!1;for(const Zt of bt.parameters){const{name:Cr,initializer:an,dotDotDotToken:ti}=Zt;ti||(Fa(Cr)?Yt=Br(_e,Zt,Cr,an)||Yt:an&&(Cn(_e,Zt,Cr,an),Yt=!0))}return Yt}function Br(_e,bt,Yt,Zt){return Yt.elements.length>0?(AT(_e,An(t.createVariableStatement(void 0,t.createVariableDeclarationList(sS(bt,ye,e,0,t.getGeneratedNameForNode(bt)))),2097152)),!0):Zt?(AT(_e,An(t.createExpressionStatement(t.createAssignment(t.getGeneratedNameForNode(bt),R.checkDefined(ct(Zt,ye,Ct)))),2097152)),!0):!1}function Cn(_e,bt,Yt,Zt){Zt=R.checkDefined(ct(Zt,ye,Ct));const Cr=t.createIfStatement(t.createTypeCheck(t.cloneNode(Yt),"undefined"),An(wt(t.createBlock([t.createExpressionStatement(An(wt(t.createAssignment(An(ko(wt(t.cloneNode(Yt),Yt),Yt.parent),96),An(Zt,96|xo(Zt)|3072)),bt),3072))]),bt),3905));Qf(Cr),wt(Cr,bt),An(Cr,2101056),AT(_e,Cr)}function ci(_e,bt){return!!(_e&&_e.dotDotDotToken&&!bt)}function Ji(_e,bt,Yt){const Zt=[],Cr=Bc(bt.parameters);if(!ci(Cr,Yt))return!1;const an=Cr.name.kind===80?ko(wt(t.cloneNode(Cr.name),Cr.name),Cr.name.parent):t.createTempVariable(void 0);An(an,96);const ti=Cr.name.kind===80?t.cloneNode(Cr.name):an,ki=bt.parameters.length-1,ds=t.createLoopVariable();Zt.push(An(wt(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(an,void 0,void 0,t.createArrayLiteralExpression([]))])),Cr),2097152));const sa=t.createForStatement(wt(t.createVariableDeclarationList([t.createVariableDeclaration(ds,void 0,void 0,t.createNumericLiteral(ki))]),Cr),wt(t.createLessThan(ds,t.createPropertyAccessExpression(t.createIdentifier("arguments"),"length")),Cr),wt(t.createPostfixIncrement(ds),Cr),t.createBlock([Qf(wt(t.createExpressionStatement(t.createAssignment(t.createElementAccessExpression(ti,ki===0?ds:t.createSubtract(ds,t.createNumericLiteral(ki))),t.createElementAccessExpression(t.createIdentifier("arguments"),ds))),Cr))]));return An(sa,2097152),Qf(sa),Zt.push(sa),Cr.name.kind!==80&&Zt.push(An(wt(t.createVariableStatement(void 0,t.createVariableDeclarationList(sS(Cr,ye,e,0,ti))),Cr),2097152)),uee(_e,Zt),!0}function ws(_e,bt){return O&65536&&bt.kind!==218?(Pt(_e,bt,t.createThis()),!0):!1}function ui(_e,bt){Ku();const Yt=t.createExpressionStatement(t.createBinaryExpression(t.createThis(),64,bt));AT(_e,Yt),Bu(Yt,el(bt).parent)}function Pt(_e,bt,Yt){Ku();const Zt=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.createUniqueName("_this",48),void 0,void 0,Yt)]));An(Zt,2100224),$o(Zt,bt),AT(_e,Zt)}function Dr(_e,bt,Yt){if(O&32768){let Zt;switch(bt.kind){case 218:return _e;case 173:case 176:case 177:Zt=t.createVoidZero();break;case 175:Zt=t.createPropertyAccessExpression(An(t.createThis(),8),"constructor");break;case 261:case 217:Zt=t.createConditionalExpression(t.createLogicalAnd(An(t.createThis(),8),t.createBinaryExpression(An(t.createThis(),8),104,t.getLocalName(bt))),void 0,t.createPropertyAccessExpression(An(t.createThis(),8),"constructor"),void 0,t.createVoidZero());break;default:return R.failBadSyntaxKind(bt)}const Cr=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.createUniqueName("_newTarget",48),void 0,void 0,Zt)]));An(Cr,2100224),Yt&&(_e=_e.slice()),AT(_e,Cr)}return _e}function Kt(_e,bt){for(const Yt of bt.members)switch(Yt.kind){case 239:_e.push(Qr(Yt));break;case 173:_e.push(_n(Zi(bt,Yt),Yt,bt));break;case 176:case 177:const Zt=jx(bt.members,Yt);Yt===Zt.firstAccessor&&_e.push(Nn(Zi(bt,Yt),Zt,bt));break;case 175:case 174:break;default:R.failBadSyntaxKind(Yt,C&&C.fileName);break}}function Qr(_e){return wt(t.createEmptyStatement(),_e)}function _n(_e,bt,Yt){const Zt=cg(bt),Cr=t2(bt),an=rn(bt,bt,void 0,Yt),ti=ct(bt.name,ye,sl);R.assert(ti);let ki;if(!fs(ti)&&V5(e.getCompilerOptions())){const sa=Ho(ti)?ti.expression:He(ti)?t.createStringLiteral(xs(ti.escapedText)):ti;ki=t.createObjectDefinePropertyCall(_e,sa,t.createPropertyDescriptor({value:an,enumerable:!1,writable:!0,configurable:!0}))}else{const sa=Kx(t,_e,ti,bt.name);ki=t.createAssignment(sa,an)}An(an,3072),$o(an,Cr);const ds=wt(t.createExpressionStatement(ki),bt);return oi(ds,bt),Bu(ds,Zt),An(ds,96),ds}function Nn(_e,bt,Yt){const Zt=t.createExpressionStatement(ks(_e,bt,Yt,!1));return An(Zt,3072),$o(Zt,t2(bt.firstAccessor)),Zt}function ks(_e,{firstAccessor:bt,getAccessor:Yt,setAccessor:Zt},Cr,an){const ti=ko(wt(t.cloneNode(_e),_e),_e.parent);An(ti,3136),$o(ti,bt.name);const ki=ct(bt.name,ye,sl);if(R.assert(ki),fs(ki))return R.failBadSyntaxKind(ki,"Encountered unhandled private identifier while transforming ES2015.");const ds=ine(t,ki);An(ds,3104),$o(ds,bt.name);const sa=[];if(Yt){const xc=rn(Yt,void 0,void 0,Cr);$o(xc,t2(Yt)),An(xc,1024);const Nc=t.createPropertyAssignment("get",xc);Bu(Nc,cg(Yt)),sa.push(Nc)}if(Zt){const xc=rn(Zt,void 0,void 0,Cr);$o(xc,t2(Zt)),An(xc,1024);const Nc=t.createPropertyAssignment("set",xc);Bu(Nc,cg(Zt)),sa.push(Nc)}sa.push(t.createPropertyAssignment("enumerable",Yt||Zt?t.createFalse():t.createTrue()),t.createPropertyAssignment("configurable",t.createTrue()));const Ka=t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"defineProperty"),void 0,[ti,ds,t.createObjectLiteralExpression(sa,!0)]);return an&&Qf(Ka),Ka}function ls(_e){_e.transformFlags&16384&&!(O&16384)&&(O|=65536);const bt=B;B=void 0;const Yt=Z(15232,66),Zt=t.createFunctionExpression(void 0,void 0,void 0,void 0,Rl(_e.parameters,ye,e),void 0,qr(_e));return wt(Zt,_e),oi(Zt,_e),An(Zt,16),fe(Yt,0,0),B=bt,Zt}function Yr(_e){const bt=xo(_e)&524288?Z(32662,69):Z(32670,65),Yt=B;B=void 0;const Zt=Rl(_e.parameters,ye,e),Cr=qr(_e),an=O&32768?t.getLocalName(_e):_e.name;return fe(bt,98304,0),B=Yt,t.updateFunctionExpression(_e,void 0,_e.asteriskToken,an,void 0,Zt,void 0,Cr)}function Er(_e){const bt=B;B=void 0;const Yt=Z(32670,65),Zt=Rl(_e.parameters,ye,e),Cr=qr(_e),an=O&32768?t.getLocalName(_e):_e.name;return fe(Yt,98304,0),B=bt,t.updateFunctionDeclaration(_e,cn(_e.modifiers,ye,Ha),_e.asteriskToken,an,void 0,Zt,void 0,Cr)}function rn(_e,bt,Yt,Zt){const Cr=B;B=void 0;const an=Zt&&Ri(Zt)&&!Aa(_e)?Z(32670,73):Z(32670,65),ti=Rl(_e.parameters,ye,e),ki=qr(_e);return O&32768&&!Yt&&(_e.kind===261||_e.kind===217)&&(Yt=t.getGeneratedNameForNode(_e)),fe(an,98304,0),B=Cr,oi(wt(t.createFunctionExpression(void 0,_e.asteriskToken,Yt,void 0,ti,void 0,ki),bt),_e)}function qr(_e){let bt=!1,Yt=!1,Zt,Cr;const an=[],ti=[],ki=_e.body;let ds;if(l(),Pa(ki)&&(ds=t.copyStandardPrologue(ki.statements,an,0,!1),ds=t.copyCustomPrologue(ki.statements,ti,ds,ye,wj),ds=t.copyCustomPrologue(ki.statements,ti,ds,ye,Ej)),bt=hn(ti,_e)||bt,bt=Ji(ti,_e,!1)||bt,Pa(ki))ds=t.copyCustomPrologue(ki.statements,ti,ds,ye),Zt=ki.statements,Pi(ti,cn(ki.statements,ye,Vs,ds)),!bt&&ki.multiLine&&(bt=!0);else{R.assert(_e.kind===218),Zt=aJ(ki,-1);const Ka=_e.equalsGreaterThanToken;!Ec(Ka)&&!Ec(ki)&&(B5(Ka,ki,C)?Yt=!0:bt=!0);const xc=ct(ki,ye,Ct),Nc=t.createReturnStatement(xc);wt(Nc,ki),Exe(Nc,ki),An(Nc,2880),ti.push(Nc),Cr=ki}if(t.mergeLexicalEnvironment(an,f()),Dr(an,_e,!1),ws(an,_e),Ne(an)&&(bt=!0),ti.unshift(...an),Pa(ki)&&Oc(ti,ki.statements))return ki;const sa=t.createBlock(wt(t.createNodeArray(ti),Zt),bt);return wt(sa,_e.body),!bt&&Yt&&An(sa,1),Cr&&wxe(sa,20,Cr),oi(sa,_e.body),sa}function xi(_e,bt){if(bt)return Kr(_e,ye,e);const Yt=O&256?Z(7104,512):Z(6976,128),Zt=Kr(_e,ye,e);return fe(Yt,0,0),Zt}function pt(_e){return Kr(_e,de,e)}function Nt(_e,bt){return Kr(_e,bt?de:ye,e)}function dt(_e,bt){return c1(_e)?ak(_e,ye,e,0,!bt):_e.operatorToken.kind===28?t.updateBinaryExpression(_e,R.checkDefined(ct(_e.left,de,Ct)),_e.operatorToken,R.checkDefined(ct(_e.right,bt?de:ye,Ct))):Kr(_e,ye,e)}function Ut(_e,bt){if(bt)return Kr(_e,de,e);let Yt;for(let Cr=0;Cr<_e.elements.length;Cr++){const an=_e.elements[Cr],ti=ct(an,Cr<_e.elements.length-1?de:ye,Ct);(Yt||ti!==an)&&(Yt||(Yt=_e.elements.slice(0,Cr)),R.assert(ti),Yt.push(ti))}const Zt=Yt?wt(t.createNodeArray(Yt),_e.elements):_e.elements;return t.updateCommaListExpression(_e,Zt)}function rr(_e){return _e.declarationList.declarations.length===1&&!!_e.declarationList.declarations[0].initializer&&!!(Qd(_e.declarationList.declarations[0].initializer)&1)}function se(_e){const bt=Z(0,gi(_e,1)?32:0);let Yt;if(B&&!(_e.declarationList.flags&3)&&!rr(_e)){let Zt;for(const Cr of _e.declarationList.declarations)if(Vi(B,Cr),Cr.initializer){let an;Fa(Cr.name)?an=ak(Cr,ye,e,0):(an=t.createBinaryExpression(Cr.name,64,R.checkDefined(ct(Cr.initializer,ye,Ct))),wt(an,Cr)),Zt=zr(Zt,an)}Zt?Yt=wt(t.createExpressionStatement(t.inlineExpressions(Zt)),_e):Yt=void 0}else Yt=Kr(_e,ye,e);return fe(bt,0,0),Yt}function at(_e){if(_e.flags&3||_e.transformFlags&524288){_e.flags&3&&hc();const bt=cn(_e.declarations,_e.flags&1?mt:_r,bs),Yt=t.createVariableDeclarationList(bt);return oi(Yt,_e),wt(Yt,_e),Bu(Yt,_e),_e.transformFlags&524288&&(Fa(_e.declarations[0].name)||Fa(To(_e.declarations).name))&&$o(Yt,xt(bt)),Yt}return Kr(_e,ye,e)}function xt(_e){let bt=-1,Yt=-1;for(const Zt of _e)bt=bt===-1?Zt.pos:Zt.pos===-1?bt:Math.min(bt,Zt.pos),Yt=Math.max(Yt,Zt.end);return Od(bt,Yt)}function ae(_e){const bt=h.getNodeCheckFlags(_e),Yt=bt&16384,Zt=bt&32768;return!((O&64)!==0||Yt&&Zt&&(O&512)!==0)&&(O&4096)===0&&(!h.isDeclarationWithCollidingName(_e)||Zt&&!Yt&&(O&6144)===0)}function mt(_e){const bt=_e.name;return Fa(bt)?_r(_e):!_e.initializer&&ae(_e)?t.updateVariableDeclaration(_e,_e.name,void 0,void 0,t.createVoidZero()):Kr(_e,ye,e)}function _r(_e){const bt=Z(32,0);let Yt;return Fa(_e.name)?Yt=sS(_e,ye,e,0,void 0,(bt&32)!==0):Yt=Kr(_e,ye,e),fe(bt,0,0),Yt}function Fe(_e){B.labels.set(Zn(_e.label),!0)}function Gt(_e){B.labels.set(Zn(_e.label),!1)}function zt(_e){B&&!B.labels&&(B.labels=new Map);const bt=Dee(_e,B&&Fe);return xv(bt,!1)?Lr(bt,_e):t.restoreEnclosingLabel(R.checkDefined(ct(bt,ye,Vs,t.liftToBlock)),_e,B&&Gt)}function Lr(_e,bt){switch(_e.kind){case 245:case 246:return Gn(_e,bt);case 247:return Rn(_e,bt);case 248:return Se(_e,bt);case 249:return pe(_e,bt)}}function ii(_e,bt,Yt,Zt,Cr){const an=Z(_e,bt),ti=rs(Yt,Zt,an,Cr);return fe(an,0,0),ti}function Gn(_e,bt){return ii(0,1280,_e,bt)}function Rn(_e,bt){return ii(5056,3328,_e,bt)}function L(_e){return t.updateForStatement(_e,ct(_e.initializer,de,ld),ct(_e.condition,ye,Ct),ct(_e.incrementor,de,Ct),R.checkDefined(ct(_e.statement,ye,Vs,t.liftToBlock)))}function Se(_e,bt){return ii(3008,5376,_e,bt)}function pe(_e,bt){return ii(3008,5376,_e,bt,g.downlevelIteration?ee:Te)}function ke(_e,bt,Yt){const Zt=[],Cr=_e.initializer;if(Tu(Cr)){_e.initializer.flags&3&&hc();const an=Hu(Cr.declarations);if(an&&Fa(an.name)){const ti=sS(an,ye,e,0,bt),ki=wt(t.createVariableDeclarationList(ti),_e.initializer);oi(ki,_e.initializer),$o(ki,Od(ti[0].pos,To(ti).end)),Zt.push(t.createVariableStatement(void 0,ki))}else Zt.push(wt(t.createVariableStatement(void 0,oi(wt(t.createVariableDeclarationList([t.createVariableDeclaration(an?an.name:t.createTempVariable(void 0),void 0,void 0,bt)]),e2(Cr,-1)),Cr)),aJ(Cr,-1)))}else{const an=t.createAssignment(Cr,bt);c1(an)?Zt.push(t.createExpressionStatement(dt(an,!0))):(x4(an,Cr.end),Zt.push(wt(t.createExpressionStatement(R.checkDefined(ct(an,ye,Ct))),aJ(Cr,-1))))}if(Yt)return ve(Pi(Zt,Yt));{const an=ct(_e.statement,ye,Vs,t.liftToBlock);return R.assert(an),Pa(an)?t.updateBlock(an,wt(t.createNodeArray(wr(Zt,an.statements)),an.statements)):(Zt.push(an),ve(Zt))}}function ve(_e){return An(t.createBlock(t.createNodeArray(_e),!0),864)}function Te(_e,bt,Yt){const Zt=ct(_e.expression,ye,Ct);R.assert(Zt);const Cr=t.createLoopVariable(),an=He(Zt)?t.getGeneratedNameForNode(Zt):t.createTempVariable(void 0);An(Zt,96|xo(Zt));const ti=wt(t.createForStatement(An(wt(t.createVariableDeclarationList([wt(t.createVariableDeclaration(Cr,void 0,void 0,t.createNumericLiteral(0)),e2(_e.expression,-1)),wt(t.createVariableDeclaration(an,void 0,void 0,Zt),_e.expression)]),_e.expression),4194304),wt(t.createLessThan(Cr,t.createPropertyAccessExpression(an,"length")),_e.expression),wt(t.createPostfixIncrement(Cr),_e.expression),ke(_e,t.createElementAccessExpression(an,Cr),Yt)),_e);return An(ti,512),wt(ti,_e),t.restoreEnclosingLabel(ti,bt,B&&Gt)}function ee(_e,bt,Yt,Zt){const Cr=ct(_e.expression,ye,Ct);R.assert(Cr);const an=He(Cr)?t.getGeneratedNameForNode(Cr):t.createTempVariable(void 0),ti=He(Cr)?t.getGeneratedNameForNode(an):t.createTempVariable(void 0),ki=t.createUniqueName("e"),ds=t.getGeneratedNameForNode(ki),sa=t.createTempVariable(void 0),Ka=wt(n().createValuesHelper(Cr),_e.expression),xc=t.createCallExpression(t.createPropertyAccessExpression(an,"next"),void 0,[]);d(ki),d(sa);const Nc=Zt&1024?t.inlineExpressions([t.createAssignment(ki,t.createVoidZero()),Ka]):Ka,k_=An(wt(t.createForStatement(An(wt(t.createVariableDeclarationList([wt(t.createVariableDeclaration(an,void 0,void 0,Nc),_e.expression),t.createVariableDeclaration(ti,void 0,void 0,xc)]),_e.expression),4194304),t.createLogicalNot(t.createPropertyAccessExpression(ti,"done")),t.createAssignment(ti,xc),ke(_e,t.createPropertyAccessExpression(ti,"value"),Yt)),_e),512);return t.createTryStatement(t.createBlock([t.restoreEnclosingLabel(k_,bt,B&&Gt)]),t.createCatchClause(t.createVariableDeclaration(ds),An(t.createBlock([t.createExpressionStatement(t.createAssignment(ki,t.createObjectLiteralExpression([t.createPropertyAssignment("error",ds)])))]),1)),t.createBlock([t.createTryStatement(t.createBlock([An(t.createIfStatement(t.createLogicalAnd(t.createLogicalAnd(ti,t.createLogicalNot(t.createPropertyAccessExpression(ti,"done"))),t.createAssignment(sa,t.createPropertyAccessExpression(an,"return"))),t.createExpressionStatement(t.createFunctionCallCall(sa,an,[]))),1)]),void 0,An(t.createBlock([An(t.createIfStatement(ki,t.createThrowStatement(t.createPropertyAccessExpression(ki,"error"))),1)]),1))]))}function vt(_e){const bt=_e.properties;let Yt=-1,Zt=!1;for(let ki=0;ki<bt.length;ki++){const ds=bt[ki];if(ds.transformFlags&1048576&&O&4||(Zt=R.checkDefined(ds.name).kind===166)){Yt=ki;break}}if(Yt<0)return Kr(_e,ye,e);const Cr=t.createTempVariable(d),an=[],ti=t.createAssignment(Cr,An(t.createObjectLiteralExpression(cn(bt,ye,n1,0,Yt),_e.multiLine),Zt?131072:0));return _e.multiLine&&Qf(ti),an.push(ti),Ns(an,_e,Cr,Yt),an.push(_e.multiLine?Qf(ko(wt(t.cloneNode(Cr),Cr),Cr.parent)):Cr),t.inlineExpressions(an)}function Qt(_e){return(h.getNodeCheckFlags(_e)&8192)!==0}function ht(_e){return Xx(_e)&&!!_e.initializer&&Qt(_e.initializer)}function Vt(_e){return Xx(_e)&&!!_e.condition&&Qt(_e.condition)}function Nr(_e){return Xx(_e)&&!!_e.incrementor&&Qt(_e.incrementor)}function Pn(_e){return bi(_e)||ht(_e)}function bi(_e){return(h.getNodeCheckFlags(_e)&4096)!==0}function Vi(_e,bt){_e.hoistedLocalVariables||(_e.hoistedLocalVariables=[]),Yt(bt.name);function Yt(Zt){if(Zt.kind===80)_e.hoistedLocalVariables.push(Zt);else for(const Cr of Zt.elements)bu(Cr)||Yt(Cr.name)}}function rs(_e,bt,Yt,Zt){if(!Pn(_e)){let Ka;B&&(Ka=B.allowedNonLabeledJumps,B.allowedNonLabeledJumps=6);const xc=Zt?Zt(_e,bt,void 0,Yt):t.restoreEnclosingLabel(Xx(_e)?L(_e):Kr(_e,ye,e),bt,B&&Gt);return B&&(B.allowedNonLabeledJumps=Ka),xc}const Cr=Zs(_e),an=[],ti=B;B=Cr;const ki=ht(_e)?nn(_e,Cr):void 0,ds=bi(_e)?ta(_e,Cr,ti):void 0;B=ti,ki&&an.push(ki.functionDeclaration),ds&&an.push(ds.functionDeclaration),Hc(an,Cr,ti),ki&&an.push(Rc(ki.functionName,ki.containsYield));let sa;if(ds)if(Zt)sa=Zt(_e,bt,ds.part,Yt);else{const Ka=qs(_e,ki,t.createBlock(ds.part,!0));sa=t.restoreEnclosingLabel(Ka,bt,B&&Gt)}else{const Ka=qs(_e,ki,R.checkDefined(ct(_e.statement,ye,Vs,t.liftToBlock)));sa=t.restoreEnclosingLabel(Ka,bt,B&&Gt)}return an.push(sa),an}function qs(_e,bt,Yt){switch(_e.kind){case 247:return Ys(_e,bt,Yt);case 248:return Js(_e,Yt);case 249:return Oi(_e,Yt);case 245:return Es(_e,Yt);case 246:return Li(_e,Yt);default:return R.failBadSyntaxKind(_e,"IterationStatement expected")}}function Ys(_e,bt,Yt){const Zt=_e.condition&&Qt(_e.condition),Cr=Zt||_e.incrementor&&Qt(_e.incrementor);return t.updateForStatement(_e,ct(bt?bt.part:_e.initializer,de,ld),ct(Zt?void 0:_e.condition,ye,Ct),ct(Cr?void 0:_e.incrementor,de,Ct),Yt)}function Oi(_e,bt){return t.updateForOfStatement(_e,void 0,R.checkDefined(ct(_e.initializer,ye,ld)),R.checkDefined(ct(_e.expression,ye,Ct)),bt)}function Js(_e,bt){return t.updateForInStatement(_e,R.checkDefined(ct(_e.initializer,ye,ld)),R.checkDefined(ct(_e.expression,ye,Ct)),bt)}function Es(_e,bt){return t.updateDoStatement(_e,bt,R.checkDefined(ct(_e.expression,ye,Ct)))}function Li(_e,bt){return t.updateWhileStatement(_e,R.checkDefined(ct(_e.expression,ye,Ct)),bt)}function Zs(_e){let bt;switch(_e.kind){case 247:case 248:case 249:const an=_e.initializer;an&&an.kind===260&&(bt=an);break}const Yt=[],Zt=[];if(bt&&ph(bt)&3){const an=ht(_e)||Vt(_e)||Nr(_e);for(const ti of bt.declarations)la(_e,ti,Yt,Zt,an)}const Cr={loopParameters:Yt,loopOutParameters:Zt};return B&&(B.argumentsName&&(Cr.argumentsName=B.argumentsName),B.thisName&&(Cr.thisName=B.thisName),B.hoistedLocalVariables&&(Cr.hoistedLocalVariables=B.hoistedLocalVariables)),Cr}function Hc(_e,bt,Yt){let Zt;if(bt.argumentsName&&(Yt?Yt.argumentsName=bt.argumentsName:(Zt||(Zt=[])).push(t.createVariableDeclaration(bt.argumentsName,void 0,void 0,t.createIdentifier("arguments")))),bt.thisName&&(Yt?Yt.thisName=bt.thisName:(Zt||(Zt=[])).push(t.createVariableDeclaration(bt.thisName,void 0,void 0,t.createIdentifier("this")))),bt.hoistedLocalVariables)if(Yt)Yt.hoistedLocalVariables=bt.hoistedLocalVariables;else{Zt||(Zt=[]);for(const Cr of bt.hoistedLocalVariables)Zt.push(t.createVariableDeclaration(Cr))}if(bt.loopOutParameters.length){Zt||(Zt=[]);for(const Cr of bt.loopOutParameters)Zt.push(t.createVariableDeclaration(Cr.outParamName))}bt.conditionVariable&&(Zt||(Zt=[]),Zt.push(t.createVariableDeclaration(bt.conditionVariable,void 0,void 0,t.createFalse()))),Zt&&_e.push(t.createVariableStatement(void 0,t.createVariableDeclarationList(Zt)))}function rc(_e){return t.createVariableDeclaration(_e.originalName,void 0,void 0,_e.outParamName)}function nn(_e,bt){const Yt=t.createUniqueName("_loop_init"),Zt=(_e.initializer.transformFlags&1048576)!==0;let Cr=0;bt.containsLexicalThis&&(Cr|=16),Zt&&O&4&&(Cr|=524288);const an=[];an.push(t.createVariableStatement(void 0,_e.initializer)),ga(bt.loopOutParameters,2,1,an);const ti=t.createVariableStatement(void 0,An(t.createVariableDeclarationList([t.createVariableDeclaration(Yt,void 0,void 0,An(t.createFunctionExpression(void 0,Zt?t.createToken(42):void 0,void 0,void 0,void 0,void 0,R.checkDefined(ct(t.createBlock(an,!0),ye,Pa))),Cr))]),4194304)),ki=t.createVariableDeclarationList(qt(bt.loopOutParameters,rc));return{functionName:Yt,containsYield:Zt,functionDeclaration:ti,part:ki}}function ta(_e,bt,Yt){const Zt=t.createUniqueName("_loop");s();const Cr=ct(_e.statement,ye,Vs,t.liftToBlock),an=f(),ti=[];(Vt(_e)||Nr(_e))&&(bt.conditionVariable=t.createUniqueName("inc"),_e.incrementor?ti.push(t.createIfStatement(bt.conditionVariable,t.createExpressionStatement(R.checkDefined(ct(_e.incrementor,ye,Ct))),t.createExpressionStatement(t.createAssignment(bt.conditionVariable,t.createTrue())))):ti.push(t.createIfStatement(t.createLogicalNot(bt.conditionVariable),t.createExpressionStatement(t.createAssignment(bt.conditionVariable,t.createTrue())))),Vt(_e)&&ti.push(t.createIfStatement(t.createPrefixUnaryExpression(54,R.checkDefined(ct(_e.condition,ye,Ct))),R.checkDefined(ct(t.createBreakStatement(),ye,Vs))))),R.assert(Cr),Pa(Cr)?Pi(ti,Cr.statements):ti.push(Cr),ga(bt.loopOutParameters,1,1,ti),Zh(ti,an);const ki=t.createBlock(ti,!0);Pa(Cr)&&oi(ki,Cr);const ds=(_e.statement.transformFlags&1048576)!==0;let sa=1048576;bt.containsLexicalThis&&(sa|=16),ds&&O&4&&(sa|=524288);const Ka=t.createVariableStatement(void 0,An(t.createVariableDeclarationList([t.createVariableDeclaration(Zt,void 0,void 0,An(t.createFunctionExpression(void 0,ds?t.createToken(42):void 0,void 0,void 0,bt.loopParameters,void 0,ki),sa))]),4194304)),xc=Dl(Zt,bt,Yt,ds);return{functionName:Zt,containsYield:ds,functionDeclaration:Ka,part:xc}}function Za(_e,bt){const Yt=bt===0?_e.outParamName:_e.originalName,Zt=bt===0?_e.originalName:_e.outParamName;return t.createBinaryExpression(Zt,64,Yt)}function ga(_e,bt,Yt,Zt){for(const Cr of _e)Cr.flags&bt&&Zt.push(t.createExpressionStatement(Za(Cr,Yt)))}function Rc(_e,bt){const Yt=t.createCallExpression(_e,void 0,[]),Zt=bt?t.createYieldExpression(t.createToken(42),An(Yt,8388608)):Yt;return t.createExpressionStatement(Zt)}function Dl(_e,bt,Yt,Zt){const Cr=[],an=!(bt.nonLocalJumps&-5)&&!bt.labeledNonLocalBreaks&&!bt.labeledNonLocalContinues,ti=t.createCallExpression(_e,void 0,qt(bt.loopParameters,ds=>ds.name)),ki=Zt?t.createYieldExpression(t.createToken(42),An(ti,8388608)):ti;if(an)Cr.push(t.createExpressionStatement(ki)),ga(bt.loopOutParameters,1,0,Cr);else{const ds=t.createUniqueName("state"),sa=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(ds,void 0,void 0,ki)]));if(Cr.push(sa),ga(bt.loopOutParameters,1,0,Cr),bt.nonLocalJumps&8){let Ka;Yt?(Yt.nonLocalJumps|=8,Ka=t.createReturnStatement(ds)):Ka=t.createReturnStatement(t.createPropertyAccessExpression(ds,"value")),Cr.push(t.createIfStatement(t.createTypeCheck(ds,"object"),Ka))}if(bt.nonLocalJumps&2&&Cr.push(t.createIfStatement(t.createStrictEquality(ds,t.createStringLiteral("break")),t.createBreakStatement())),bt.labeledNonLocalBreaks||bt.labeledNonLocalContinues){const Ka=[];ku(bt.labeledNonLocalBreaks,!0,ds,Yt,Ka),ku(bt.labeledNonLocalContinues,!1,ds,Yt,Ka),Cr.push(t.createSwitchStatement(ds,t.createCaseBlock(Ka)))}}return Cr}function Nl(_e,bt,Yt,Zt){bt?(_e.labeledNonLocalBreaks||(_e.labeledNonLocalBreaks=new Map),_e.labeledNonLocalBreaks.set(Yt,Zt)):(_e.labeledNonLocalContinues||(_e.labeledNonLocalContinues=new Map),_e.labeledNonLocalContinues.set(Yt,Zt))}function ku(_e,bt,Yt,Zt,Cr){_e&&_e.forEach((an,ti)=>{const ki=[];if(!Zt||Zt.labels&&Zt.labels.get(ti)){const ds=t.createIdentifier(ti);ki.push(bt?t.createBreakStatement(ds):t.createContinueStatement(ds))}else Nl(Zt,bt,ti,an),ki.push(t.createReturnStatement(Yt));Cr.push(t.createCaseClause(t.createStringLiteral(an),ki))})}function la(_e,bt,Yt,Zt,Cr){const an=bt.name;if(Fa(an))for(const ti of an.elements)bu(ti)||la(_e,ti,Yt,Zt,Cr);else{Yt.push(t.createParameterDeclaration(void 0,void 0,an));const ti=h.getNodeCheckFlags(bt);if(ti&262144||Cr){const ki=t.createUniqueName("out_"+Zn(an));let ds=0;ti&262144&&(ds|=1),Xx(_e)&&(_e.initializer&&h.isBindingCapturedByNode(_e.initializer,bt)&&(ds|=2),(_e.condition&&h.isBindingCapturedByNode(_e.condition,bt)||_e.incrementor&&h.isBindingCapturedByNode(_e.incrementor,bt))&&(ds|=1)),Zt.push({flags:ds,originalName:an,outParamName:ki})}}}function Ns(_e,bt,Yt,Zt){const Cr=bt.properties,an=Cr.length;for(let ti=Zt;ti<an;ti++){const ki=Cr[ti];switch(ki.kind){case 176:case 177:const ds=jx(bt.properties,ki);ki===ds.firstAccessor&&_e.push(ks(Yt,ds,bt,!!bt.multiLine));break;case 173:_e.push(Af(ki,Yt,bt,bt.multiLine));break;case 302:_e.push(Wl(ki,Yt,bt.multiLine));break;case 303:_e.push(Gc(ki,Yt,bt.multiLine));break;default:R.failBadSyntaxKind(bt);break}}}function Wl(_e,bt,Yt){const Zt=t.createAssignment(Kx(t,bt,R.checkDefined(ct(_e.name,ye,sl))),R.checkDefined(ct(_e.initializer,ye,Ct)));return wt(Zt,_e),Yt&&Qf(Zt),Zt}function Gc(_e,bt,Yt){const Zt=t.createAssignment(Kx(t,bt,R.checkDefined(ct(_e.name,ye,sl))),t.cloneNode(_e.name));return wt(Zt,_e),Yt&&Qf(Zt),Zt}function Af(_e,bt,Yt,Zt){const Cr=t.createAssignment(Kx(t,bt,R.checkDefined(ct(_e.name,ye,sl))),rn(_e,_e,void 0,Yt));return wt(Cr,_e),Zt&&Qf(Cr),Cr}function Zl(_e){const bt=Z(7104,0);let Yt;if(R.assert(!!_e.variableDeclaration,"Catch clause variable should always be present when downleveling ES2015."),Fa(_e.variableDeclaration.name)){const Zt=t.createTempVariable(void 0),Cr=t.createVariableDeclaration(Zt);wt(Cr,_e.variableDeclaration);const an=sS(_e.variableDeclaration,ye,e,0,Zt),ti=t.createVariableDeclarationList(an);wt(ti,_e.variableDeclaration);const ki=t.createVariableStatement(void 0,ti);Yt=t.updateCatchClause(_e,Cr,Vu(_e.block,ki))}else Yt=Kr(_e,ye,e);return fe(bt,0,0),Yt}function Vu(_e,bt){const Yt=cn(_e.statements,ye,Vs);return t.updateBlock(_e,[bt,...Yt])}function pc(_e){R.assert(!Ho(_e.name));const bt=rn(_e,e2(_e,-1),void 0,void 0);return An(bt,1024|xo(bt)),wt(t.createPropertyAssignment(_e.name,bt),_e)}function hl(_e){R.assert(!Ho(_e.name));const bt=B;B=void 0;const Yt=Z(32670,65);let Zt;const Cr=Rl(_e.parameters,ye,e),an=qr(_e);return _e.kind===176?Zt=t.updateGetAccessorDeclaration(_e,_e.modifiers,_e.name,Cr,_e.type,an):Zt=t.updateSetAccessorDeclaration(_e,_e.modifiers,_e.name,Cr,an),fe(Yt,98304,0),B=bt,Zt}function Sc(_e){return wt(t.createPropertyAssignment(_e.name,qe(t.cloneNode(_e.name))),_e)}function Jc(_e){return Kr(_e,ye,e)}function br(_e){return Kr(_e,ye,e)}function Bl(_e){return Ne(_e.elements,lg)?Et(_e.elements,!1,!!_e.multiLine,!!_e.elements.hasTrailingComma):Kr(_e,ye,e)}function ff(_e){if(Qd(_e)&1)return Cu(_e);const bt=lf(_e.expression);return bt.kind===108||v_(bt)||Ne(_e.arguments,lg)?ie(_e,!0):t.updateCallExpression(_e,R.checkDefined(ct(_e.expression,K,Ct)),void 0,cn(_e.arguments,ye,Ct))}function Cu(_e){const bt=Ua(Ua(lf(_e.expression),Dc).body,Pa),Yt=up=>Yl(up)&&!!Oo(up.declarationList.declarations).initializer,Zt=B;B=void 0;const Cr=cn(bt.statements,Ce,Vs);B=Zt;const an=gr(Cr,Yt),ti=gr(Cr,up=>!Yt(up)),ds=Ua(Oo(an),Yl).declarationList.declarations[0],sa=lf(ds.initializer);let Ka=wi(sa,o_);!Ka&&Bn(sa)&&sa.operatorToken.kind===28&&(Ka=wi(sa.left,o_));const xc=Ua(Ka?lf(Ka.right):sa,Ra),Nc=Ua(lf(xc.expression),_c),k_=Nc.body.statements;let yd=0,zl=-1;const Rp=[];if(Ka){const up=wi(k_[yd],of);up&&(Rp.push(up),yd++),Rp.push(k_[yd]),yd++,Rp.push(t.createExpressionStatement(t.createAssignment(Ka.left,Ua(ds.name,He))))}for(;!Lm(Y0(k_,zl));)zl--;Pi(Rp,k_,yd,zl),zl<-1&&Pi(Rp,k_,zl+1);const f_=wi(Y0(k_,zl),Lm);for(const up of ti)Lm(up)&&(f_!=null&&f_.expression)&&!He(f_.expression)?Rp.push(f_):Rp.push(up);return Pi(Rp,an,1),t.restoreOuterExpressions(_e.expression,t.restoreOuterExpressions(ds.initializer,t.restoreOuterExpressions(Ka&&Ka.right,t.updateCallExpression(xc,t.restoreOuterExpressions(xc.expression,t.updateFunctionExpression(Nc,void 0,void 0,void 0,void 0,Nc.parameters,void 0,t.updateBlock(Nc.body,Rp))),void 0,xc.arguments))))}function be(_e){return ie(_e,!1)}function ie(_e,bt){if(_e.transformFlags&32768||_e.expression.kind===108||v_(lf(_e.expression))){const{target:Yt,thisArg:Zt}=t.createCallBinding(_e.expression,d);_e.expression.kind===108&&An(Zt,8);let Cr;if(_e.transformFlags&32768?Cr=t.createFunctionApplyCall(R.checkDefined(ct(Yt,K,Ct)),_e.expression.kind===108?Zt:R.checkDefined(ct(Zt,ye,Ct)),Et(_e.arguments,!0,!1,!1)):Cr=wt(t.createFunctionCallCall(R.checkDefined(ct(Yt,K,Ct)),_e.expression.kind===108?Zt:R.checkDefined(ct(Zt,ye,Ct)),cn(_e.arguments,ye,Ct)),_e),_e.expression.kind===108){const an=t.createLogicalOr(Cr,vr());Cr=bt?t.createAssignment(t.createUniqueName("_this",48),an):an}return oi(Cr,_e)}return Kr(_e,ye,e)}function Je(_e){if(Ne(_e.arguments,lg)){const{target:bt,thisArg:Yt}=t.createCallBinding(t.createPropertyAccessExpression(_e.expression,"bind"),d);return t.createNewExpression(t.createFunctionApplyCall(R.checkDefined(ct(bt,ye,Ct)),Yt,Et(t.createNodeArray([t.createVoidZero(),..._e.arguments]),!0,!1,!1)),void 0,[])}return Kr(_e,ye,e)}function Et(_e,bt,Yt,Zt){const Cr=_e.length,an=$n(na(_e,Rt,(sa,Ka,xc,Nc)=>Ka(sa,Yt,Zt&&Nc===Cr)));if(an.length===1){const sa=an[0];if(bt&&!g.downlevelIteration||qte(sa.expression)||dD(sa.expression,"___spreadArray"))return sa.expression}const ti=n(),ki=an[0].kind!==0;let ds=ki?t.createArrayLiteralExpression():an[0].expression;for(let sa=ki?0:1;sa<an.length;sa++){const Ka=an[sa];ds=ti.createSpreadArrayHelper(ds,Ka.expression,Ka.kind===1&&!bt)}return ds}function Rt(_e){return lg(_e)?In:hi}function In(_e){return qt(_e,Wn)}function Wn(_e){R.assertNode(_e,lg);let bt=ct(_e.expression,ye,Ct);R.assert(bt);const Yt=dD(bt,"___read");let Zt=Yt||qte(bt)?2:1;return g.downlevelIteration&&Zt===1&&!Hf(bt)&&!Yt&&(bt=n().createReadHelper(bt,void 0),Zt=2),IEe(Zt,bt)}function hi(_e,bt,Yt){const Zt=t.createArrayLiteralExpression(cn(t.createNodeArray(_e,Yt),ye,Ct),bt);return IEe(0,Zt)}function di(_e){return ct(_e.expression,ye,Ct)}function Us(_e){return wt(t.createStringLiteral(_e.text),_e)}function Va(_e){return _e.hasExtendedUnicodeEscape?wt(t.createStringLiteral(_e.text),_e):_e}function tl(_e){return _e.numericLiteralFlags&384?wt(t.createNumericLiteral(_e.text),_e):_e}function ic(_e){return jie(e,_e,ye,C,U,1)}function sc(_e){let bt=t.createStringLiteral(_e.head.text);for(const Yt of _e.templateSpans){const Zt=[R.checkDefined(ct(Yt.expression,ye,Ct))];Yt.literal.text.length>0&&Zt.push(t.createStringLiteral(Yt.literal.text)),bt=t.createCallExpression(t.createPropertyAccessExpression(bt,"concat"),void 0,Zt)}return wt(bt,_e)}function mu(_e){return O&8&&!_e?t.createPropertyAccessExpression(t.createUniqueName("_super",48),"prototype"):t.createUniqueName("_super",48)}function cl(_e){return _e.keywordToken===105&&_e.name.escapedText==="target"?(O|=32768,t.createUniqueName("_newTarget",48)):_e}function Mo(_e,bt,Yt){if(H&1&&Sa(bt)){const Zt=Z(32670,xo(bt)&16?81:65);T(_e,bt,Yt),fe(Zt,0,0);return}T(_e,bt,Yt)}function hc(){H&2||(H|=2,e.enableSubstitution(80))}function Ku(){H&1||(H|=1,e.enableSubstitution(110),e.enableEmitNotification(175),e.enableEmitNotification(173),e.enableEmitNotification(176),e.enableEmitNotification(177),e.enableEmitNotification(218),e.enableEmitNotification(217),e.enableEmitNotification(261))}function Xc(_e,bt){return bt=k(_e,bt),_e===1?x_(bt):He(bt)?wu(bt):bt}function wu(_e){if(H&2&&!sne(_e)){const bt=Gs(_e,He);if(bt&&lp(bt))return wt(t.getGeneratedNameForNode(bt),_e)}return _e}function lp(_e){switch(_e.parent.kind){case 207:case 262:case 265:case 259:return _e.parent.name===_e&&h.isDeclarationWithCollidingName(_e.parent)}return!1}function x_(_e){switch(_e.kind){case 80:return De(_e);case 110:return sn(_e)}return _e}function De(_e){if(H&2&&!sne(_e)){const bt=h.getReferencedDeclarationWithCollidingName(_e);if(bt&&!(Ri(bt)&&er(bt,_e)))return wt(t.getGeneratedNameForNode(ia(bt)),_e)}return _e}function er(_e,bt){let Yt=Gs(bt);if(!Yt||Yt===_e||Yt.end<=_e.pos||Yt.pos>=_e.end)return!1;const Zt=Kh(_e);for(;Yt;){if(Yt===Zt||Yt===_e)return!1;if(Mu(Yt)&&Yt.parent===_e)return!0;Yt=Yt.parent}return!1}function sn(_e){return H&1&&O&16?wt(t.createUniqueName("_this",48),_e):_e}function Zi(_e,bt){return Aa(bt)?t.getInternalName(_e):t.createPropertyAccessExpression(t.getInternalName(_e),"prototype")}function fa(_e,bt){if(!_e||!bt||Ne(_e.parameters))return!1;const Yt=Hu(_e.body.statements);if(!Yt||!Ec(Yt)||Yt.kind!==243)return!1;const Zt=Yt.expression;if(!Ec(Zt)||Zt.kind!==212)return!1;const Cr=Zt.expression;if(!Ec(Cr)||Cr.kind!==108)return!1;const an=$h(Zt.arguments);if(!an||!Ec(an)||an.kind!==229)return!1;const ti=an.expression;return He(ti)&&ti.escapedText==="arguments"}}var Ptt=p({"src/compiler/transformers/es2015.ts"(){Ba()}});function LEe(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(285),e.enableEmitNotification(286),e.enableEmitNotification(284),l=[]);const f=e.onSubstituteNode;return e.onSubstituteNode=h,e.enableSubstitution(210),e.enableSubstitution(302),om(e,d);function d(D){return D}function g(D,O,M){switch(O.kind){case 285:case 286:case 284:const U=O.tagName;l[Cf(U)]=!0;break}s(D,O,M)}function h(D,O){return O.id&&l&&l[O.id]?f(D,O):(O=f(D,O),ai(O)?k(O):pu(O)?T(O):O)}function k(D){if(fs(D.name))return D;const O=C(D.name);return O?wt(t.createElementAccessExpression(D.expression,O),D):D}function T(D){const O=He(D.name)&&C(D.name);return O?t.updatePropertyAssignment(D,O,D.initializer):D}function C(D){const O=qb(D);if(O!==void 0&&O>=83&&O<=118)return wt(t.createStringLiteralFromNode(D),D)}}var Dtt=p({"src/compiler/transformers/es5.ts"(){Ba()}});function Ntt(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 MEe(e){const{factory:t,getEmitHelperFactory:n,resumeLexicalEnvironment:s,endLexicalEnvironment:l,hoistFunctionDeclaration:f,hoistVariableDeclaration:d}=e,g=e.getCompilerOptions(),h=Eo(g),k=e.getEmitResolver(),T=e.onSubstituteNode;e.onSubstituteNode=pe;let C,D,O,M,U,B,H,Y,Z,fe,Q=1,he,W,ye,de,Ce=0,K=0,ce,le,xe,we,Ie,ue,ut,Ge;return om(e,qe);function qe(De){if(De.isDeclarationFile||!(De.transformFlags&2048))return De;const er=Kr(De,Ke,e);return f1(er,e.readEmitHelpers()),er}function Ke(De){const er=De.transformFlags;return M?Me(De):O?ze(De):Lc(De)&&De.asteriskToken?et(De):er&2048?Kr(De,Ke,e):De}function Me(De){switch(De.kind){case 245:return qr(De);case 246:return pt(De);case 254:return zt(De);case 255:return ii(De);default:return ze(De)}}function ze(De){switch(De.kind){case 261:return je(De);case 217:return _t(De);case 176:case 177:return Lt(De);case 242:return Xt(De);case 247:return dt(De);case 248:return rr(De);case 251:return ae(De);case 250:return at(De);case 252:return _r(De);default:return De.transformFlags&1048576?st(De):De.transformFlags&4196352?Kr(De,Ke,e):De}}function st(De){switch(De.kind){case 225:return Ye(De);case 360:return Ht(De);case 226:return hn(De);case 228:return Br(De);case 208:return Cn(De);case 209:return Ji(De);case 211:return ws(De);case 212:return ui(De);case 213:return Pt(De);default:return Kr(De,Ke,e)}}function et(De){switch(De.kind){case 261:return je(De);case 217:return _t(De);default:return R.failBadSyntaxKind(De)}}function je(De){if(De.asteriskToken)De=oi(wt(t.createFunctionDeclaration(De.modifiers,void 0,De.name,void 0,Rl(De.parameters,Ke,e),void 0,Dt(De.body)),De),De);else{const er=O,sn=M;O=!1,M=!1,De=Kr(De,Ke,e),O=er,M=sn}if(O){f(De);return}else return De}function _t(De){if(De.asteriskToken)De=oi(wt(t.createFunctionExpression(void 0,void 0,De.name,void 0,Rl(De.parameters,Ke,e),void 0,Dt(De.body)),De),De);else{const er=O,sn=M;O=!1,M=!1,De=Kr(De,Ke,e),O=er,M=sn}return De}function Lt(De){const er=O,sn=M;return O=!1,M=!1,De=Kr(De,Ke,e),O=er,M=sn,De}function Dt(De){const er=[],sn=O,Zi=M,fa=U,_e=B,bt=H,Yt=Y,Zt=Z,Cr=fe,an=Q,ti=he,ki=W,ds=ye,sa=de;O=!0,M=!1,U=void 0,B=void 0,H=void 0,Y=void 0,Z=void 0,fe=void 0,Q=1,he=void 0,W=void 0,ye=void 0,de=t.createTempVariable(void 0),s();const Ka=t.copyPrologue(De.statements,er,!1,Ke);Dr(De.statements,Ka);const xc=Et();return Zh(er,l()),er.push(t.createReturnStatement(xc)),O=sn,M=Zi,U=fa,B=_e,H=bt,Y=Yt,Z=Zt,fe=Cr,Q=an,he=ti,W=ki,ye=ds,de=sa,wt(t.createBlock(er,De.multiLine),De)}function Xt(De){if(De.transformFlags&1048576){ls(De.declarationList);return}else{if(xo(De)&2097152)return De;for(const sn of De.declarationList.declarations)d(sn.name);const er=qP(De.declarationList);return er.length===0?void 0:$o(t.createExpressionStatement(t.inlineExpressions(qt(er,Yr))),De)}}function Ye(De){const er=Yee(De);switch(er){case 0:return vr(De);case 1:return Bt(De);default:return R.assertNever(er)}}function Bt(De){const{left:er,right:sn}=De;if(L(sn)){let Zi;switch(er.kind){case 210:Zi=t.updatePropertyAccessExpression(er,Te(R.checkDefined(ct(er.expression,Ke,L_))),er.name);break;case 211:Zi=t.updateElementAccessExpression(er,Te(R.checkDefined(ct(er.expression,Ke,L_))),Te(R.checkDefined(ct(er.argumentExpression,Ke,Ct))));break;default:Zi=R.checkDefined(ct(er,Ke,Ct));break}const fa=De.operatorToken.kind;return VD(fa)?wt(t.createAssignment(Zi,wt(t.createBinaryExpression(Te(Zi),$D(fa),R.checkDefined(ct(sn,Ke,Ct))),De)),De):t.updateBinaryExpression(De,Zi,De.operatorToken,R.checkDefined(ct(sn,Ke,Ct)))}return Kr(De,Ke,e)}function vr(De){return L(De.right)?aSe(De.operatorToken.kind)?tn(De):De.operatorToken.kind===28?Ar(De):t.updateBinaryExpression(De,Te(R.checkDefined(ct(De.left,Ke,Ct))),De.operatorToken,R.checkDefined(ct(De.right,Ke,Ct))):Kr(De,Ke,e)}function Ar(De){let er=[];return sn(De.left),sn(De.right),t.inlineExpressions(er);function sn(Zi){Bn(Zi)&&Zi.operatorToken.kind===28?(sn(Zi.left),sn(Zi.right)):(L(Zi)&&er.length>0&&(Je(1,[t.createExpressionStatement(t.inlineExpressions(er))]),er=[]),er.push(R.checkDefined(ct(Zi,Ke,Ct))))}}function Ht(De){let er=[];for(const sn of De.elements)Bn(sn)&&sn.operatorToken.kind===28?er.push(Ar(sn)):(L(sn)&&er.length>0&&(Je(1,[t.createExpressionStatement(t.inlineExpressions(er))]),er=[]),er.push(R.checkDefined(ct(sn,Ke,Ct))));return t.inlineExpressions(er)}function tn(De){const er=vt(),sn=ee();return hl(sn,R.checkDefined(ct(De.left,Ke,Ct)),De.left),De.operatorToken.kind===56?br(er,sn,De.left):Jc(er,sn,De.left),hl(sn,R.checkDefined(ct(De.right,Ke,Ct)),De.right),Qt(er),sn}function hn(De){if(L(De.whenTrue)||L(De.whenFalse)){const er=vt(),sn=vt(),Zi=ee();return br(er,R.checkDefined(ct(De.condition,Ke,Ct)),De.condition),hl(Zi,R.checkDefined(ct(De.whenTrue,Ke,Ct)),De.whenTrue),Sc(sn),Qt(er),hl(Zi,R.checkDefined(ct(De.whenFalse,Ke,Ct)),De.whenFalse),Qt(sn),Zi}return Kr(De,Ke,e)}function Br(De){const er=vt(),sn=ct(De.expression,Ke,Ct);if(De.asteriskToken){const Zi=xo(De.expression)&8388608?sn:wt(n().createValuesHelper(sn),De);Bl(Zi,De)}else ff(sn,De);return Qt(er),Zl(De)}function Cn(De){return ci(De.elements,void 0,void 0,De.multiLine)}function ci(De,er,sn,Zi){const fa=Se(De);let _e;if(fa>0){_e=ee();const Zt=cn(De,Ke,Ct,0,fa);hl(_e,t.createArrayLiteralExpression(er?[er,...Zt]:Zt)),er=void 0}const bt=Uf(De,Yt,[],fa);return _e?t.createArrayConcatCall(_e,[t.createArrayLiteralExpression(bt,Zi)]):wt(t.createArrayLiteralExpression(er?[er,...bt]:bt,Zi),sn);function Yt(Zt,Cr){if(L(Cr)&&Zt.length>0){const an=_e!==void 0;_e||(_e=ee()),hl(_e,an?t.createArrayConcatCall(_e,[t.createArrayLiteralExpression(Zt,Zi)]):t.createArrayLiteralExpression(er?[er,...Zt]:Zt,Zi)),er=void 0,Zt=[]}return Zt.push(R.checkDefined(ct(Cr,Ke,Ct))),Zt}}function Ji(De){const er=De.properties,sn=De.multiLine,Zi=Se(er),fa=ee();hl(fa,t.createObjectLiteralExpression(cn(er,Ke,n1,0,Zi),sn));const _e=Uf(er,bt,[],Zi);return _e.push(sn?Qf(ko(wt(t.cloneNode(fa),fa),fa.parent)):fa),t.inlineExpressions(_e);function bt(Yt,Zt){L(Zt)&&Yt.length>0&&(pc(t.createExpressionStatement(t.inlineExpressions(Yt))),Yt=[]);const Cr=pke(t,De,Zt,fa),an=ct(Cr,Ke,Ct);return an&&(sn&&Qf(an),Yt.push(an)),Yt}}function ws(De){return L(De.argumentExpression)?t.updateElementAccessExpression(De,Te(R.checkDefined(ct(De.expression,Ke,L_))),R.checkDefined(ct(De.argumentExpression,Ke,Ct))):Kr(De,Ke,e)}function ui(De){if(!Dp(De)&&te(De.arguments,L)){const{target:er,thisArg:sn}=t.createCallBinding(De.expression,d,h,!0);return oi(wt(t.createFunctionApplyCall(Te(R.checkDefined(ct(er,Ke,L_))),sn,ci(De.arguments)),De),De)}return Kr(De,Ke,e)}function Pt(De){if(te(De.arguments,L)){const{target:er,thisArg:sn}=t.createCallBinding(t.createPropertyAccessExpression(De.expression,"bind"),d);return oi(wt(t.createNewExpression(t.createFunctionApplyCall(Te(R.checkDefined(ct(er,Ke,Ct))),sn,ci(De.arguments,t.createVoidZero())),void 0,[]),De),De)}return Kr(De,Ke,e)}function Dr(De,er=0){const sn=De.length;for(let Zi=er;Zi<sn;Zi++)Qr(De[Zi])}function Kt(De){Pa(De)?Dr(De.statements):Qr(De)}function Qr(De){const er=M;M||(M=L(De)),_n(De),M=er}function _n(De){switch(De.kind){case 240:return Nn(De);case 243:return ks(De);case 244:return Er(De);case 245:return rn(De);case 246:return xi(De);case 247:return Nt(De);case 248:return Ut(De);case 250:return se(De);case 251:return xt(De);case 252:return mt(De);case 253:return Fe(De);case 254:return Gt(De);case 255:return Lr(De);case 256:return Gn(De);case 257:return Rn(De);default:return pc(ct(De,Ke,Vs))}}function Nn(De){L(De)?Dr(De.statements):pc(ct(De,Ke,Vs))}function ks(De){pc(ct(De,Ke,Vs))}function ls(De){for(const _e of De.declarations){const bt=t.cloneNode(_e.name);Bu(bt,_e.name),d(bt)}const er=qP(De),sn=er.length;let Zi=0,fa=[];for(;Zi<sn;){for(let _e=Zi;_e<sn;_e++){const bt=er[_e];if(L(bt.initializer)&&fa.length>0)break;fa.push(Yr(bt))}fa.length&&(pc(t.createExpressionStatement(t.inlineExpressions(fa))),Zi+=fa.length,fa=[])}}function Yr(De){return $o(t.createAssignment($o(t.cloneNode(De.name),De.name),R.checkDefined(ct(De.initializer,Ke,Ct))),De)}function Er(De){if(L(De))if(L(De.thenStatement)||L(De.elseStatement)){const er=vt(),sn=De.elseStatement?vt():void 0;br(De.elseStatement?sn:er,R.checkDefined(ct(De.expression,Ke,Ct)),De.expression),Kt(De.thenStatement),De.elseStatement&&(Sc(er),Qt(sn),Kt(De.elseStatement)),Qt(er)}else pc(ct(De,Ke,Vs));else pc(ct(De,Ke,Vs))}function rn(De){if(L(De)){const er=vt(),sn=vt();Es(er),Qt(sn),Kt(De.statement),Qt(er),Jc(sn,R.checkDefined(ct(De.expression,Ke,Ct))),Li()}else pc(ct(De,Ke,Vs))}function qr(De){return M?(Js(),De=Kr(De,Ke,e),Li(),De):Kr(De,Ke,e)}function xi(De){if(L(De)){const er=vt(),sn=Es(er);Qt(er),br(sn,R.checkDefined(ct(De.expression,Ke,Ct))),Kt(De.statement),Sc(er),Li()}else pc(ct(De,Ke,Vs))}function pt(De){return M?(Js(),De=Kr(De,Ke,e),Li(),De):Kr(De,Ke,e)}function Nt(De){if(L(De)){const er=vt(),sn=vt(),Zi=Es(sn);if(De.initializer){const fa=De.initializer;Tu(fa)?ls(fa):pc(wt(t.createExpressionStatement(R.checkDefined(ct(fa,Ke,Ct))),fa))}Qt(er),De.condition&&br(Zi,R.checkDefined(ct(De.condition,Ke,Ct))),Kt(De.statement),Qt(sn),De.incrementor&&pc(wt(t.createExpressionStatement(R.checkDefined(ct(De.incrementor,Ke,Ct))),De.incrementor)),Sc(er),Li()}else pc(ct(De,Ke,Vs))}function dt(De){M&&Js();const er=De.initializer;if(er&&Tu(er)){for(const Zi of er.declarations)d(Zi.name);const sn=qP(er);De=t.updateForStatement(De,sn.length>0?t.inlineExpressions(qt(sn,Yr)):void 0,ct(De.condition,Ke,Ct),ct(De.incrementor,Ke,Ct),l_(De.statement,Ke,e))}else De=Kr(De,Ke,e);return M&&Li(),De}function Ut(De){if(L(De)){const er=ee(),sn=ee(),Zi=ee(),fa=t.createLoopVariable(),_e=De.initializer;d(fa),hl(er,R.checkDefined(ct(De.expression,Ke,Ct))),hl(sn,t.createArrayLiteralExpression()),pc(t.createForInStatement(Zi,er,t.createExpressionStatement(t.createCallExpression(t.createPropertyAccessExpression(sn,"push"),void 0,[Zi])))),hl(fa,t.createNumericLiteral(0));const bt=vt(),Yt=vt(),Zt=Es(Yt);Qt(bt),br(Zt,t.createLessThan(fa,t.createPropertyAccessExpression(sn,"length"))),hl(Zi,t.createElementAccessExpression(sn,fa)),br(Yt,t.createBinaryExpression(Zi,103,er));let Cr;if(Tu(_e)){for(const an of _e.declarations)d(an.name);Cr=t.cloneNode(_e.declarations[0].name)}else Cr=R.checkDefined(ct(_e,Ke,Ct)),R.assert(L_(Cr));hl(Cr,Zi),Kt(De.statement),Qt(Yt),pc(t.createExpressionStatement(t.createPostfixIncrement(fa))),Sc(bt),Li()}else pc(ct(De,Ke,Vs))}function rr(De){M&&Js();const er=De.initializer;if(Tu(er)){for(const sn of er.declarations)d(sn.name);De=t.updateForInStatement(De,er.declarations[0].name,R.checkDefined(ct(De.expression,Ke,Ct)),R.checkDefined(ct(De.statement,Ke,Vs,t.liftToBlock)))}else De=Kr(De,Ke,e);return M&&Li(),De}function se(De){const er=la(De.label?Zn(De.label):void 0);er>0?Sc(er,De):pc(De)}function at(De){if(M){const er=la(De.label&&Zn(De.label));if(er>0)return Gc(er,De)}return Kr(De,Ke,e)}function xt(De){const er=ku(De.label?Zn(De.label):void 0);er>0?Sc(er,De):pc(De)}function ae(De){if(M){const er=ku(De.label&&Zn(De.label));if(er>0)return Gc(er,De)}return Kr(De,Ke,e)}function mt(De){Cu(ct(De.expression,Ke,Ct),De)}function _r(De){return Af(ct(De.expression,Ke,Ct),De)}function Fe(De){L(De)?(bi(Te(R.checkDefined(ct(De.expression,Ke,Ct)))),Kt(De.statement),Vi()):pc(ct(De,Ke,Vs))}function Gt(De){if(L(De.caseBlock)){const er=De.caseBlock,sn=er.clauses.length,Zi=Hc(),fa=Te(R.checkDefined(ct(De.expression,Ke,Ct))),_e=[];let bt=-1;for(let Cr=0;Cr<sn;Cr++){const an=er.clauses[Cr];_e.push(vt()),an.kind===296&&bt===-1&&(bt=Cr)}let Yt=0,Zt=[];for(;Yt<sn;){let Cr=0;for(let an=Yt;an<sn;an++){const ti=er.clauses[an];if(ti.kind===295){if(L(ti.expression)&&Zt.length>0)break;Zt.push(t.createCaseClause(R.checkDefined(ct(ti.expression,Ke,Ct)),[Gc(_e[an],ti.expression)]))}else Cr++}Zt.length&&(pc(t.createSwitchStatement(fa,t.createCaseBlock(Zt))),Yt+=Zt.length,Zt=[]),Cr>0&&(Yt+=Cr,Cr=0)}bt>=0?Sc(_e[bt]):Sc(Zi);for(let Cr=0;Cr<sn;Cr++)Qt(_e[Cr]),Dr(er.clauses[Cr].statements);rc()}else pc(ct(De,Ke,Vs))}function zt(De){return M&&Zs(),De=Kr(De,Ke,e),M&&rc(),De}function Lr(De){L(De)?(ta(Zn(De.label)),Kt(De.statement),Za()):pc(ct(De,Ke,Vs))}function ii(De){return M&&nn(Zn(De.label)),De=Kr(De,Ke,e),M&&Za(),De}function Gn(De){be(R.checkDefined(ct(De.expression??t.createVoidZero(),Ke,Ct)),De)}function Rn(De){L(De)?(rs(),Kt(De.tryBlock),De.catchClause&&(qs(De.catchClause.variableDeclaration),Kt(De.catchClause.block)),De.finallyBlock&&(Ys(),Kt(De.finallyBlock)),Oi()):pc(Kr(De,Ke,e))}function L(De){return!!De&&(De.transformFlags&1048576)!==0}function Se(De){const er=De.length;for(let sn=0;sn<er;sn++)if(L(De[sn]))return sn;return-1}function pe(De,er){return er=T(De,er),De===1?ke(er):er}function ke(De){return He(De)?ve(De):De}function ve(De){if(!il(De)&&C&&C.has(Zn(De))){const er=el(De);if(He(er)&&er.parent){const sn=k.getReferencedValueDeclaration(er);if(sn){const Zi=D[Cf(sn)];if(Zi){const fa=ko(wt(t.cloneNode(Zi),Zi),Zi.parent);return $o(fa,De),Bu(fa,De),fa}}}}return De}function Te(De){if(il(De)||xo(De)&8192)return De;const er=t.createTempVariable(d);return hl(er,De,De),er}function ee(De){const er=De?t.createUniqueName(De):t.createTempVariable(void 0);return d(er),er}function vt(){Z||(Z=[]);const De=Q;return Q++,Z[De]=-1,De}function Qt(De){R.assert(Z!==void 0,"No labels were defined."),Z[De]=he?he.length:0}function ht(De){U||(U=[],H=[],B=[],Y=[]);const er=H.length;return H[er]=0,B[er]=he?he.length:0,U[er]=De,Y.push(De),er}function Vt(){const De=Nr();if(De===void 0)return R.fail("beginBlock was never called.");const er=H.length;return H[er]=1,B[er]=he?he.length:0,U[er]=De,Y.pop(),De}function Nr(){return Bc(Y)}function Pn(){const De=Nr();return De&&De.kind}function bi(De){const er=vt(),sn=vt();Qt(er),ht({kind:1,expression:De,startLabel:er,endLabel:sn})}function Vi(){R.assert(Pn()===1);const De=Vt();Qt(De.endLabel)}function rs(){const De=vt(),er=vt();return Qt(De),ht({kind:0,state:0,startLabel:De,endLabel:er}),Vu(),er}function qs(De){R.assert(Pn()===0);let er;if(il(De.name))er=De.name,d(De.name);else{const _e=Zn(De.name);er=ee(_e),C||(C=new Map,D=[],e.enableSubstitution(80)),C.set(_e,!0),D[Cf(De)]=er}const sn=Nr();R.assert(sn.state<1);const Zi=sn.endLabel;Sc(Zi);const fa=vt();Qt(fa),sn.state=1,sn.catchVariable=er,sn.catchLabel=fa,hl(er,t.createCallExpression(t.createPropertyAccessExpression(de,"sent"),void 0,[])),Vu()}function Ys(){R.assert(Pn()===0);const De=Nr();R.assert(De.state<2);const er=De.endLabel;Sc(er);const sn=vt();Qt(sn),De.state=2,De.finallyLabel=sn}function Oi(){R.assert(Pn()===0);const De=Vt();De.state<2?Sc(De.endLabel):ie(),Qt(De.endLabel),Vu(),De.state=3}function Js(){ht({kind:3,isScript:!0,breakLabel:-1,continueLabel:-1})}function Es(De){const er=vt();return ht({kind:3,isScript:!1,breakLabel:er,continueLabel:De}),er}function Li(){R.assert(Pn()===3);const De=Vt(),er=De.breakLabel;De.isScript||Qt(er)}function Zs(){ht({kind:2,isScript:!0,breakLabel:-1})}function Hc(){const De=vt();return ht({kind:2,isScript:!1,breakLabel:De}),De}function rc(){R.assert(Pn()===2);const De=Vt(),er=De.breakLabel;De.isScript||Qt(er)}function nn(De){ht({kind:4,isScript:!0,labelText:De,breakLabel:-1})}function ta(De){const er=vt();ht({kind:4,isScript:!1,labelText:De,breakLabel:er})}function Za(){R.assert(Pn()===4);const De=Vt();De.isScript||Qt(De.breakLabel)}function ga(De){return De.kind===2||De.kind===3}function Rc(De){return De.kind===4}function Dl(De){return De.kind===3}function Nl(De,er){for(let sn=er;sn>=0;sn--){const Zi=Y[sn];if(Rc(Zi)){if(Zi.labelText===De)return!0}else break}return!1}function ku(De){if(Y)if(De)for(let er=Y.length-1;er>=0;er--){const sn=Y[er];if(Rc(sn)&&sn.labelText===De)return sn.breakLabel;if(ga(sn)&&Nl(De,er-1))return sn.breakLabel}else for(let er=Y.length-1;er>=0;er--){const sn=Y[er];if(ga(sn))return sn.breakLabel}return 0}function la(De){if(Y)if(De)for(let er=Y.length-1;er>=0;er--){const sn=Y[er];if(Dl(sn)&&Nl(De,er-1))return sn.continueLabel}else for(let er=Y.length-1;er>=0;er--){const sn=Y[er];if(Dl(sn))return sn.continueLabel}return 0}function Ns(De){if(De!==void 0&&De>0){fe===void 0&&(fe=[]);const er=t.createNumericLiteral(-1);return fe[De]===void 0?fe[De]=[er]:fe[De].push(er),er}return t.createOmittedExpression()}function Wl(De){const er=t.createNumericLiteral(De);return RJ(er,3,Ntt(De)),er}function Gc(De,er){return R.assertLessThan(0,De,"Invalid label"),wt(t.createReturnStatement(t.createArrayLiteralExpression([Wl(3),Ns(De)])),er)}function Af(De,er){return wt(t.createReturnStatement(t.createArrayLiteralExpression(De?[Wl(2),De]:[Wl(2)])),er)}function Zl(De){return wt(t.createCallExpression(t.createPropertyAccessExpression(de,"sent"),void 0,[]),De)}function Vu(){Je(0)}function pc(De){De?Je(1,[De]):Vu()}function hl(De,er,sn){Je(2,[De,er],sn)}function Sc(De,er){Je(3,[De],er)}function Jc(De,er,sn){Je(4,[De,er],sn)}function br(De,er,sn){Je(5,[De,er],sn)}function Bl(De,er){Je(7,[De],er)}function ff(De,er){Je(6,[De],er)}function Cu(De,er){Je(8,[De],er)}function be(De,er){Je(9,[De],er)}function ie(){Je(10)}function Je(De,er,sn){he===void 0&&(he=[],W=[],ye=[]),Z===void 0&&Qt(vt());const Zi=he.length;he[Zi]=De,W[Zi]=er,ye[Zi]=sn}function Et(){Ce=0,K=0,ce=void 0,le=!1,xe=!1,we=void 0,Ie=void 0,ue=void 0,ut=void 0,Ge=void 0;const De=Rt();return n().createGeneratorHelper(An(t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,de)],void 0,t.createBlock(De,De.length>0)),1048576))}function Rt(){if(he){for(let De=0;De<he.length;De++)ic(De);Wn(he.length)}else Wn(0);if(we){const De=t.createPropertyAccessExpression(de,"label"),er=t.createSwitchStatement(De,t.createCaseBlock(we));return[Qf(er)]}return Ie||[]}function In(){Ie&&(di(!le),le=!1,xe=!1,K++)}function Wn(De){hi(De)&&(Us(De),Ge=void 0,Mo(void 0,void 0)),Ie&&we&&di(!1),Va()}function hi(De){if(!xe)return!0;if(!Z||!fe)return!1;for(let er=0;er<Z.length;er++)if(Z[er]===De&&fe[er])return!0;return!1}function di(De){if(we||(we=[]),Ie){if(Ge)for(let er=Ge.length-1;er>=0;er--){const sn=Ge[er];Ie=[t.createWithStatement(sn.expression,t.createBlock(Ie))]}if(ut){const{startLabel:er,catchLabel:sn,finallyLabel:Zi,endLabel:fa}=ut;Ie.unshift(t.createExpressionStatement(t.createCallExpression(t.createPropertyAccessExpression(t.createPropertyAccessExpression(de,"trys"),"push"),void 0,[t.createArrayLiteralExpression([Ns(er),Ns(sn),Ns(Zi),Ns(fa)])]))),ut=void 0}De&&Ie.push(t.createExpressionStatement(t.createAssignment(t.createPropertyAccessExpression(de,"label"),t.createNumericLiteral(K+1))))}we.push(t.createCaseClause(t.createNumericLiteral(K),Ie||[])),Ie=void 0}function Us(De){if(Z)for(let er=0;er<Z.length;er++)Z[er]===De&&(In(),ce===void 0&&(ce=[]),ce[K]===void 0?ce[K]=[er]:ce[K].push(er))}function Va(){if(fe!==void 0&&ce!==void 0)for(let De=0;De<ce.length;De++){const er=ce[De];if(er!==void 0)for(const sn of er){const Zi=fe[sn];if(Zi!==void 0)for(const fa of Zi)fa.text=String(De)}}}function tl(De){if(U)for(;Ce<H.length&&B[Ce]<=De;Ce++){const er=U[Ce],sn=H[Ce];switch(er.kind){case 0:sn===0?(ue||(ue=[]),Ie||(Ie=[]),ue.push(ut),ut=er):sn===1&&(ut=ue.pop());break;case 1:sn===0?(Ge||(Ge=[]),Ge.push(er)):sn===1&&Ge.pop();break}}}function ic(De){if(Us(De),tl(De),le)return;le=!1,xe=!1;const er=he[De];if(er===0)return;if(er===10)return x_();const sn=W[De];if(er===1)return sc(sn[0]);const Zi=ye[De];switch(er){case 2:return mu(sn[0],sn[1],Zi);case 3:return hc(sn[0],Zi);case 4:return Ku(sn[0],sn[1],Zi);case 5:return Xc(sn[0],sn[1],Zi);case 6:return wu(sn[0],Zi);case 7:return lp(sn[0],Zi);case 8:return Mo(sn[0],Zi);case 9:return cl(sn[0],Zi)}}function sc(De){De&&(Ie?Ie.push(De):Ie=[De])}function mu(De,er,sn){sc(wt(t.createExpressionStatement(t.createAssignment(De,er)),sn))}function cl(De,er){le=!0,xe=!0,sc(wt(t.createThrowStatement(De),er))}function Mo(De,er){le=!0,xe=!0,sc(An(wt(t.createReturnStatement(t.createArrayLiteralExpression(De?[Wl(2),De]:[Wl(2)])),er),768))}function hc(De,er){le=!0,sc(An(wt(t.createReturnStatement(t.createArrayLiteralExpression([Wl(3),Ns(De)])),er),768))}function Ku(De,er,sn){sc(An(t.createIfStatement(er,An(wt(t.createReturnStatement(t.createArrayLiteralExpression([Wl(3),Ns(De)])),sn),768)),1))}function Xc(De,er,sn){sc(An(t.createIfStatement(t.createLogicalNot(er),An(wt(t.createReturnStatement(t.createArrayLiteralExpression([Wl(3),Ns(De)])),sn),768)),1))}function wu(De,er){le=!0,sc(An(wt(t.createReturnStatement(t.createArrayLiteralExpression(De?[Wl(4),De]:[Wl(4)])),er),768))}function lp(De,er){le=!0,sc(An(wt(t.createReturnStatement(t.createArrayLiteralExpression([Wl(5),De])),er),768))}function x_(){le=!0,sc(t.createReturnStatement(t.createArrayLiteralExpression([Wl(7)])))}}var Itt=p({"src/compiler/transformers/generators.ts"(){Ba()}});function Vie(e){function t(L){switch(L){case 2:return he;case 3:return W;default:return Q}}const{factory:n,getEmitHelperFactory:s,startLexicalEnvironment:l,endLexicalEnvironment:f,hoistVariableDeclaration:d}=e,g=e.getCompilerOptions(),h=e.getEmitResolver(),k=e.getEmitHost(),T=Eo(g),C=Zu(g),D=e.onSubstituteNode,O=e.onEmitNode;e.onSubstituteNode=_r,e.onEmitNode=mt,e.enableSubstitution(212),e.enableSubstitution(214),e.enableSubstitution(80),e.enableSubstitution(225),e.enableSubstitution(303),e.enableEmitNotification(311);const M=[];let U,B;const H=[];let Y;return om(e,Z);function Z(L){if(L.isDeclarationFile||!(nw(L,g)||L.transformFlags&8388608||Nd(L)&&pJ(g)&&Ac(g)))return L;U=L,B=Die(e,L,h,g),M[Cf(L)]=B;const pe=t(C)(L);return U=void 0,B=void 0,Y=!1,pe}function fe(){return!!(!B.exportEquals&&Ul(U))}function Q(L){l();const Se=[],pe=Md(g,"alwaysStrict")||!g.noImplicitUseStrict&&Ul(U),ke=n.copyPrologue(L.statements,Se,pe&&!Nd(L),ce);if(fe()&&zr(Se,se()),G(B.exportedNames))for(let ee=0;ee<B.exportedNames.length;ee+=50)zr(Se,n.createExpressionStatement(Uf(B.exportedNames.slice(ee,ee+50),(vt,Qt)=>n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("exports"),n.createIdentifier(Zn(Qt))),vt),n.createVoidZero())));zr(Se,ct(B.externalHelpersImportDeclaration,ce,Vs)),Pi(Se,cn(L.statements,ce,Vs,ke)),K(Se,!1),Zh(Se,f());const ve=n.updateSourceFile(L,wt(n.createNodeArray(Se),L.statements));return f1(ve,e.readEmitHelpers()),ve}function he(L){const Se=n.createIdentifier("define"),pe=NO(n,L,k,g),ke=Nd(L)&&L,{aliasedModuleNames:ve,unaliasedModuleNames:Te,importAliasNames:ee}=ye(L,!0),vt=n.updateSourceFile(L,wt(n.createNodeArray([n.createExpressionStatement(n.createCallExpression(Se,void 0,[...pe?[pe]:[],n.createArrayLiteralExpression(ke?ft:[n.createStringLiteral("require"),n.createStringLiteral("exports"),...ve,...Te]),ke?ke.statements.length?ke.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"),...ee],void 0,Ce(L))]))]),L.statements));return f1(vt,e.readEmitHelpers()),vt}function W(L){const{aliasedModuleNames:Se,unaliasedModuleNames:pe,importAliasNames:ke}=ye(L,!1),ve=NO(n,L,k,g),Te=n.createFunctionExpression(void 0,void 0,void 0,void 0,[n.createParameterDeclaration(void 0,void 0,"factory")],void 0,wt(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")]))]),An(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,[...ve?[ve]:[],n.createArrayLiteralExpression([n.createStringLiteral("require"),n.createStringLiteral("exports"),...Se,...pe]),n.createIdentifier("factory")]))])))],!0),void 0)),ee=n.updateSourceFile(L,wt(n.createNodeArray([n.createExpressionStatement(n.createCallExpression(Te,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"),...ke],void 0,Ce(L))]))]),L.statements));return f1(ee,e.readEmitHelpers()),ee}function ye(L,Se){const pe=[],ke=[],ve=[];for(const Te of L.amdDependencies)Te.name?(pe.push(n.createStringLiteral(Te.path)),ve.push(n.createParameterDeclaration(void 0,void 0,Te.name))):ke.push(n.createStringLiteral(Te.path));for(const Te of B.externalImports){const ee=jw(n,Te,U,k,h,g),vt=q4(n,Te,U);ee&&(Se&&vt?(An(vt,8),pe.push(ee),ve.push(n.createParameterDeclaration(void 0,void 0,vt))):ke.push(ee))}return{aliasedModuleNames:pe,unaliasedModuleNames:ke,importAliasNames:ve}}function de(L){if(cf(L)||Ju(L)||!jw(n,L,U,k,h,g))return;const Se=q4(n,L,U),pe=ui(L,Se);if(pe!==Se)return n.createExpressionStatement(n.createAssignment(Se,pe))}function Ce(L){l();const Se=[],pe=n.copyPrologue(L.statements,Se,!g.noImplicitUseStrict,ce);fe()&&zr(Se,se()),G(B.exportedNames)&&zr(Se,n.createExpressionStatement(Uf(B.exportedNames,(ve,Te)=>n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("exports"),n.createIdentifier(Zn(Te))),ve),n.createVoidZero()))),zr(Se,ct(B.externalHelpersImportDeclaration,ce,Vs)),C===2&&Pi(Se,lr(B.externalImports,de)),Pi(Se,cn(L.statements,ce,Vs,pe)),K(Se,!0),Zh(Se,f());const ke=n.createBlock(Se,!0);return Y&&xw(ke,FEe),ke}function K(L,Se){if(B.exportEquals){const pe=ct(B.exportEquals.expression,we,Ct);if(pe)if(Se){const ke=n.createReturnStatement(pe);wt(ke,B.exportEquals),An(ke,3840),L.push(ke)}else{const ke=n.createExpressionStatement(n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("module"),"exports"),pe));wt(ke,B.exportEquals),An(ke,3072),L.push(ke)}}}function ce(L){switch(L.kind){case 271:return Pt(L);case 270:return Kt(L);case 277:return Qr(L);case 276:return _n(L);case 261:return Nn(L);case 262:return ks(L);default:return le(L)}}function le(L){switch(L.kind){case 242:return ls(L);case 261:return Nn(L);case 262:return ks(L);case 247:return Ge(L,!0);case 248:return qe(L);case 249:return Ke(L);case 245:return Me(L);case 246:return ze(L);case 255:return st(L);case 253:return et(L);case 244:return je(L);case 254:return _t(L);case 268:return Lt(L);case 295:return Dt(L);case 296:return Xt(L);case 257:return Ye(L);case 298:return Bt(L);case 240:return vr(L);default:return we(L)}}function xe(L,Se){if(!(L.transformFlags&276828160))return L;switch(L.kind){case 247:return Ge(L,!1);case 243:return Ar(L);case 216:return Ht(L,Se);case 359:return tn(L,Se);case 212:if(Dp(L)&&U.impliedNodeFormat===void 0)return Br(L);break;case 225:if(c1(L))return ut(L,Se);break;case 223:case 224:return hn(L,Se)}return Kr(L,we,e)}function we(L){return xe(L,!1)}function Ie(L){return xe(L,!0)}function ue(L){if(jo(L))for(const Se of L.properties)switch(Se.kind){case 302:if(ue(Se.initializer))return!0;break;case 303:if(ue(Se.name))return!0;break;case 304:if(ue(Se.expression))return!0;break;case 173:case 176:case 177:return!1;default:R.assertNever(Se,"Unhandled object member kind")}else if(Hf(L)){for(const Se of L.elements)if(lg(Se)){if(ue(Se.expression))return!0}else if(ue(Se))return!0}else if(He(L))return G(Rn(L))>(wU(L)?1:0);return!1}function ut(L,Se){return ue(L.left)?ak(L,we,e,0,!Se,Yr):Kr(L,we,e)}function Ge(L,Se){if(Se&&L.initializer&&Tu(L.initializer)&&!(L.initializer.flags&3)){const pe=pt(void 0,L.initializer,!1);if(pe){const ke=[],ve=ct(L.initializer,Ie,Tu),Te=n.createVariableStatement(void 0,ve);ke.push(Te),Pi(ke,pe);const ee=ct(L.condition,we,Ct),vt=ct(L.incrementor,Ie,Ct),Qt=l_(L.statement,Se?le:we,e);return ke.push(n.updateForStatement(L,void 0,ee,vt,Qt)),ke}}return n.updateForStatement(L,ct(L.initializer,Ie,ld),ct(L.condition,we,Ct),ct(L.incrementor,Ie,Ct),l_(L.statement,Se?le:we,e))}function qe(L){if(Tu(L.initializer)&&!(L.initializer.flags&3)){const Se=pt(void 0,L.initializer,!0);if(Ne(Se)){const pe=ct(L.initializer,Ie,ld),ke=ct(L.expression,we,Ct),ve=l_(L.statement,le,e),Te=Pa(ve)?n.updateBlock(ve,[...Se,...ve.statements]):n.createBlock([...Se,ve],!0);return n.updateForInStatement(L,pe,ke,Te)}}return n.updateForInStatement(L,ct(L.initializer,Ie,ld),ct(L.expression,we,Ct),l_(L.statement,le,e))}function Ke(L){if(Tu(L.initializer)&&!(L.initializer.flags&3)){const Se=pt(void 0,L.initializer,!0),pe=ct(L.initializer,Ie,ld),ke=ct(L.expression,we,Ct);let ve=l_(L.statement,le,e);return Ne(Se)&&(ve=Pa(ve)?n.updateBlock(ve,[...Se,...ve.statements]):n.createBlock([...Se,ve],!0)),n.updateForOfStatement(L,L.awaitModifier,pe,ke,ve)}return n.updateForOfStatement(L,L.awaitModifier,ct(L.initializer,Ie,ld),ct(L.expression,we,Ct),l_(L.statement,le,e))}function Me(L){return n.updateDoStatement(L,l_(L.statement,le,e),ct(L.expression,we,Ct))}function ze(L){return n.updateWhileStatement(L,ct(L.expression,we,Ct),l_(L.statement,le,e))}function st(L){return n.updateLabeledStatement(L,L.label,R.checkDefined(ct(L.statement,le,Vs,n.liftToBlock)))}function et(L){return n.updateWithStatement(L,ct(L.expression,we,Ct),R.checkDefined(ct(L.statement,le,Vs,n.liftToBlock)))}function je(L){return n.updateIfStatement(L,ct(L.expression,we,Ct),R.checkDefined(ct(L.thenStatement,le,Vs,n.liftToBlock)),ct(L.elseStatement,le,Vs,n.liftToBlock))}function _t(L){return n.updateSwitchStatement(L,ct(L.expression,we,Ct),R.checkDefined(ct(L.caseBlock,le,CD)))}function Lt(L){return n.updateCaseBlock(L,cn(L.clauses,le,uj))}function Dt(L){return n.updateCaseClause(L,ct(L.expression,we,Ct),cn(L.statements,le,Vs))}function Xt(L){return Kr(L,le,e)}function Ye(L){return Kr(L,le,e)}function Bt(L){return n.updateCatchClause(L,L.variableDeclaration,R.checkDefined(ct(L.block,le,Pa)))}function vr(L){return L=Kr(L,le,e),L}function Ar(L){return n.updateExpressionStatement(L,ct(L.expression,Ie,Ct))}function Ht(L,Se){return n.updateParenthesizedExpression(L,ct(L.expression,Se?Ie:we,Ct))}function tn(L,Se){return n.updatePartiallyEmittedExpression(L,ct(L.expression,Se?Ie:we,Ct))}function hn(L,Se){if((L.operator===46||L.operator===47)&&He(L.operand)&&!il(L.operand)&&!m1(L.operand)&&!Tte(L.operand)){const pe=Rn(L.operand);if(pe){let ke,ve=ct(L.operand,we,Ct);i2(L)?ve=n.updatePrefixUnaryExpression(L,ve):(ve=n.updatePostfixUnaryExpression(L,ve),Se||(ke=n.createTempVariable(d),ve=n.createAssignment(ke,ve),wt(ve,L)),ve=n.createComma(ve,n.cloneNode(L.operand)),wt(ve,L));for(const Te of pe)H[Jo(ve)]=!0,ve=xt(Te,ve),wt(ve,L);return ke&&(H[Jo(ve)]=!0,ve=n.createComma(ve,ke),wt(ve,L)),ve}}return Kr(L,we,e)}function Br(L){if(C===0&&T>=7)return Kr(L,we,e);const Se=jw(n,L,U,k,h,g),pe=ct(Hu(L.arguments),we,Ct),ke=Se&&(!pe||!yo(pe)||pe.text!==Se.text)?Se:pe,ve=!!(L.transformFlags&16384);switch(g.module){case 2:return ci(ke,ve);case 3:return Cn(ke??n.createVoidZero(),ve);case 1:default:return Ji(ke)}}function Cn(L,Se){if(Y=!0,iS(L)){const pe=il(L)?L:yo(L)?n.createStringLiteralFromNode(L):An(wt(n.cloneNode(L),L),3072);return n.createConditionalExpression(n.createIdentifier("__syncRequire"),void 0,Ji(L),void 0,ci(pe,Se))}else{const pe=n.createTempVariable(d);return n.createComma(n.createAssignment(pe,L),n.createConditionalExpression(n.createIdentifier("__syncRequire"),void 0,Ji(pe,!0),void 0,ci(pe,Se)))}}function ci(L,Se){const pe=n.createUniqueName("resolve"),ke=n.createUniqueName("reject"),ve=[n.createParameterDeclaration(void 0,void 0,pe),n.createParameterDeclaration(void 0,void 0,ke)],Te=n.createBlock([n.createExpressionStatement(n.createCallExpression(n.createIdentifier("require"),void 0,[n.createArrayLiteralExpression([L||n.createOmittedExpression()]),pe,ke]))]);let ee;T>=2?ee=n.createArrowFunction(void 0,void 0,ve,void 0,void 0,Te):(ee=n.createFunctionExpression(void 0,void 0,void 0,void 0,ve,void 0,Te),Se&&An(ee,16));const vt=n.createNewExpression(n.createIdentifier("Promise"),void 0,[ee]);return sg(g)?n.createCallExpression(n.createPropertyAccessExpression(vt,n.createIdentifier("then")),void 0,[s().createImportStarCallbackHelper()]):vt}function Ji(L,Se){const pe=L&&!Sh(L)&&!Se,ke=n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Promise"),"resolve"),void 0,pe?T>=2?[n.createTemplateExpression(n.createTemplateHead(""),[n.createTemplateSpan(L,n.createTemplateTail(""))])]:[n.createCallExpression(n.createPropertyAccessExpression(n.createStringLiteral(""),"concat"),void 0,[L])]:[]);let ve=n.createCallExpression(n.createIdentifier("require"),void 0,pe?[n.createIdentifier("s")]:L?[L]:[]);sg(g)&&(ve=s().createImportStarHelper(ve));const Te=pe?[n.createParameterDeclaration(void 0,void 0,"s")]:[];let ee;return T>=2?ee=n.createArrowFunction(void 0,void 0,Te,void 0,void 0,ve):ee=n.createFunctionExpression(void 0,void 0,void 0,void 0,Te,void 0,n.createBlock([n.createReturnStatement(ve)])),n.createCallExpression(n.createPropertyAccessExpression(ke,"then"),void 0,[ee])}function ws(L,Se){return!sg(g)||Qd(L)&2?Se:lEe(L)?s().createImportStarHelper(Se):Se}function ui(L,Se){return!sg(g)||Qd(L)&2?Se:xz(L)?s().createImportStarHelper(Se):Pie(L)?s().createImportDefaultHelper(Se):Se}function Pt(L){let Se;const pe=o4(L);if(C!==2)if(L.importClause){const ke=[];pe&&!ow(L)?ke.push(n.createVariableDeclaration(n.cloneNode(pe.name),void 0,void 0,ui(L,Dr(L)))):(ke.push(n.createVariableDeclaration(n.getGeneratedNameForNode(L),void 0,void 0,ui(L,Dr(L)))),pe&&ow(L)&&ke.push(n.createVariableDeclaration(n.cloneNode(pe.name),void 0,void 0,n.getGeneratedNameForNode(L)))),Se=zr(Se,oi(wt(n.createVariableStatement(void 0,n.createVariableDeclarationList(ke,T>=2?2:0)),L),L))}else return oi(wt(n.createExpressionStatement(Dr(L)),L),L);else pe&&ow(L)&&(Se=zr(Se,n.createVariableStatement(void 0,n.createVariableDeclarationList([oi(wt(n.createVariableDeclaration(n.cloneNode(pe.name),void 0,void 0,n.getGeneratedNameForNode(L)),L),L)],T>=2?2:0))));return Se=rn(Se,L),Ug(Se)}function Dr(L){const Se=jw(n,L,U,k,h,g),pe=[];return Se&&pe.push(Se),n.createCallExpression(n.createIdentifier("require"),void 0,pe)}function Kt(L){R.assert(Gb(L),"import= for internal module references should be handled in an earlier transformer.");let Se;return C!==2?gi(L,1)?Se=zr(Se,oi(wt(n.createExpressionStatement(xt(L.name,Dr(L))),L),L)):Se=zr(Se,oi(wt(n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(n.cloneNode(L.name),void 0,void 0,Dr(L))],T>=2?2:0)),L),L)):gi(L,1)&&(Se=zr(Se,oi(wt(n.createExpressionStatement(xt(n.getExportName(L),n.getLocalName(L))),L),L))),Se=qr(Se,L),Ug(Se)}function Qr(L){if(!L.moduleSpecifier)return;const Se=n.getGeneratedNameForNode(L);if(L.exportClause&&im(L.exportClause)){const pe=[];C!==2&&pe.push(oi(wt(n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(Se,void 0,void 0,Dr(L))])),L),L));for(const ke of L.exportClause.elements)if(T===0)pe.push(oi(wt(n.createExpressionStatement(s().createCreateBindingHelper(Se,n.createStringLiteralFromNode(ke.propertyName||ke.name),ke.propertyName?n.createStringLiteralFromNode(ke.name):void 0)),ke),ke));else{const ve=!!sg(g)&&!(Qd(L)&2)&&Zn(ke.propertyName||ke.name)==="default",Te=n.createPropertyAccessExpression(ve?s().createImportDefaultHelper(Se):Se,ke.propertyName||ke.name);pe.push(oi(wt(n.createExpressionStatement(xt(n.getExportName(ke),Te,void 0,!0)),ke),ke))}return Ug(pe)}else if(L.exportClause){const pe=[];return pe.push(oi(wt(n.createExpressionStatement(xt(n.cloneNode(L.exportClause.name),ws(L,C!==2?Dr(L):bj(L)?Se:n.createIdentifier(Zn(L.exportClause.name))))),L),L)),Ug(pe)}else return oi(wt(n.createExpressionStatement(s().createExportStarHelper(C!==2?Dr(L):Se)),L),L)}function _n(L){if(!L.isExportEquals)return at(n.createIdentifier("default"),ct(L.expression,we,Ct),L,!0)}function Nn(L){let Se;return gi(L,1)?Se=zr(Se,oi(wt(n.createFunctionDeclaration(cn(L.modifiers,ae,Ha),L.asteriskToken,n.getDeclarationName(L,!0,!0),void 0,cn(L.parameters,we,ea),void 0,Kr(L.body,we,e)),L),L)):Se=zr(Se,Kr(L,we,e)),Se=dt(Se,L),Ug(Se)}function ks(L){let Se;return gi(L,1)?Se=zr(Se,oi(wt(n.createClassDeclaration(cn(L.modifiers,ae,Mc),n.getDeclarationName(L,!0,!0),void 0,cn(L.heritageClauses,we,sp),cn(L.members,we,Mu)),L),L)):Se=zr(Se,Kr(L,we,e)),Se=dt(Se,L),Ug(Se)}function ls(L){let Se,pe,ke;if(gi(L,1)){let ve,Te=!1;for(const ee of L.declarationList.declarations)if(He(ee.name)&&m1(ee.name))if(ve||(ve=cn(L.modifiers,ae,Ha)),ee.initializer){const vt=n.updateVariableDeclaration(ee,ee.name,void 0,void 0,xt(ee.name,ct(ee.initializer,we,Ct)));pe=zr(pe,vt)}else pe=zr(pe,ee);else if(ee.initializer)if(!Fa(ee.name)&&(Dc(ee.initializer)||_c(ee.initializer)||Gf(ee.initializer))){const vt=n.createAssignment(wt(n.createPropertyAccessExpression(n.createIdentifier("exports"),ee.name),ee.name),n.createIdentifier(em(ee.name))),Qt=n.createVariableDeclaration(ee.name,ee.exclamationToken,ee.type,ct(ee.initializer,we,Ct));pe=zr(pe,Qt),ke=zr(ke,vt),Te=!0}else ke=zr(ke,Er(ee));if(pe&&(Se=zr(Se,n.updateVariableStatement(L,ve,n.updateVariableDeclarationList(L.declarationList,pe)))),ke){const ee=oi(wt(n.createExpressionStatement(n.inlineExpressions(ke)),L),L);Te&&aO(ee),Se=zr(Se,ee)}}else Se=zr(Se,Kr(L,we,e));return Se=xi(Se,L),Ug(Se)}function Yr(L,Se,pe){const ke=Rn(L);if(ke){let ve=wU(L)?Se:n.createAssignment(L,Se);for(const Te of ke)An(ve,8),ve=xt(Te,ve,pe);return ve}return n.createAssignment(L,Se)}function Er(L){return Fa(L.name)?ak(ct(L,we,Ste),we,e,0,!1,Yr):n.createAssignment(wt(n.createPropertyAccessExpression(n.createIdentifier("exports"),L.name),L.name),L.initializer?ct(L.initializer,we,Ct):n.createVoidZero())}function rn(L,Se){if(B.exportEquals)return L;const pe=Se.importClause;if(!pe)return L;pe.name&&(L=Ut(L,pe));const ke=pe.namedBindings;if(ke)switch(ke.kind){case 273:L=Ut(L,ke);break;case 274:for(const ve of ke.elements)L=Ut(L,ve,!0);break}return L}function qr(L,Se){return B.exportEquals?L:Ut(L,Se)}function xi(L,Se){return pt(L,Se.declarationList,!1)}function pt(L,Se,pe){if(B.exportEquals)return L;for(const ke of Se.declarations)L=Nt(L,ke,pe);return L}function Nt(L,Se,pe){if(B.exportEquals)return L;if(Fa(Se.name))for(const ke of Se.name.elements)bu(ke)||(L=Nt(L,ke,pe));else!il(Se.name)&&(!bs(Se)||Se.initializer||pe)&&(L=Ut(L,Se));return L}function dt(L,Se){if(B.exportEquals)return L;if(gi(Se,1)){const pe=gi(Se,1024)?n.createIdentifier("default"):n.getDeclarationName(Se);L=rr(L,pe,n.getLocalName(Se),Se)}return Se.name&&(L=Ut(L,Se)),L}function Ut(L,Se,pe){const ke=n.getDeclarationName(Se),ve=B.exportSpecifiers.get(Zn(ke));if(ve)for(const Te of ve)L=rr(L,Te.name,ke,Te.name,void 0,pe);return L}function rr(L,Se,pe,ke,ve,Te){return L=zr(L,at(Se,pe,ke,ve,Te)),L}function se(){let L;return T===0?L=n.createExpressionStatement(xt(n.createIdentifier("__esModule"),n.createTrue())):L=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())])])),An(L,2097152),L}function at(L,Se,pe,ke,ve){const Te=wt(n.createExpressionStatement(xt(L,Se,void 0,ve)),pe);return Qf(Te),ke||An(Te,3072),Te}function xt(L,Se,pe,ke){return wt(ke&&T!==0?n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Object"),"defineProperty"),void 0,[n.createIdentifier("exports"),n.createStringLiteralFromNode(L),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(Se)])))])]):n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("exports"),n.cloneNode(L)),Se),pe)}function ae(L){switch(L.kind){case 95:case 90:return}return L}function mt(L,Se,pe){Se.kind===311?(U=Se,B=M[Cf(U)],O(L,Se,pe),U=void 0,B=void 0):O(L,Se,pe)}function _r(L,Se){return Se=D(L,Se),Se.id&&H[Se.id]?Se:L===1?Gt(Se):hd(Se)?Fe(Se):Se}function Fe(L){const Se=L.name,pe=ii(Se);if(pe!==Se){if(L.objectAssignmentInitializer){const ke=n.createAssignment(pe,L.objectAssignmentInitializer);return wt(n.createPropertyAssignment(Se,ke),L)}return wt(n.createPropertyAssignment(Se,pe),L)}return L}function Gt(L){switch(L.kind){case 80:return ii(L);case 212:return zt(L);case 214:return Lr(L);case 225:return Gn(L)}return L}function zt(L){if(He(L.expression)){const Se=ii(L.expression);if(H[Jo(Se)]=!0,!He(Se)&&!(xo(L.expression)&8192))return Tw(n.updateCallExpression(L,Se,void 0,L.arguments),16)}return L}function Lr(L){if(He(L.tag)){const Se=ii(L.tag);if(H[Jo(Se)]=!0,!He(Se)&&!(xo(L.tag)&8192))return Tw(n.updateTaggedTemplateExpression(L,Se,void 0,L.template),16)}return L}function ii(L){var Se,pe;if(xo(L)&8192){const ke=DO(U);return ke?n.createPropertyAccessExpression(ke,L):L}else if(!(il(L)&&!(L.emitNode.autoGenerate.flags&64))&&!m1(L)){const ke=h.getReferencedExportContainer(L,wU(L));if(ke&&ke.kind===311)return wt(n.createPropertyAccessExpression(n.createIdentifier("exports"),n.cloneNode(L)),L);const ve=h.getReferencedImportDeclaration(L);if(ve){if(ug(ve))return wt(n.createPropertyAccessExpression(n.getGeneratedNameForNode(ve.parent),n.createIdentifier("default")),L);if(J_(ve)){const Te=ve.propertyName||ve.name;return wt(n.createPropertyAccessExpression(n.getGeneratedNameForNode(((pe=(Se=ve.parent)==null?void 0:Se.parent)==null?void 0:pe.parent)||ve),n.cloneNode(Te)),L)}}}return L}function Gn(L){if(o1(L.operatorToken.kind)&&He(L.left)&&!il(L.left)&&!m1(L.left)){const Se=Rn(L.left);if(Se){let pe=L;for(const ke of Se)H[Jo(pe)]=!0,pe=xt(ke,pe,L);return pe}}return L}function Rn(L){if(!il(L)){const Se=h.getReferencedImportDeclaration(L);if(Se)return B==null?void 0:B.exportedBindings[Cf(Se)];const pe=new Set,ke=h.getReferencedValueDeclarations(L);if(ke){for(const ve of ke){const Te=B==null?void 0:B.exportedBindings[Cf(ve)];if(Te)for(const ee of Te)pe.add(ee)}if(pe.size)return oo(pe)}}}}var FEe,Ott=p({"src/compiler/transformers/module/module.ts"(){Ba(),FEe={name:"typescript:dynamicimport-sync-require",scoped:!0,text:`
var __syncRequire = typeof module === "object" && typeof module.exports === "object";`}}});function REe(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=xt,e.onEmitNode=at,e.enableSubstitution(80),e.enableSubstitution(303),e.enableSubstitution(225),e.enableSubstitution(235),e.enableEmitNotification(311);const T=[],C=[],D=[],O=[];let M,U,B,H,Y,Z,fe;return om(e,Q);function Q(L){if(L.isDeclarationFile||!(nw(L,f)||L.transformFlags&8388608))return L;const Se=Cf(L);M=L,Z=L,U=T[Se]=Die(e,L,d,f),B=t.createUniqueName("exports"),C[Se]=B,H=O[Se]=t.createUniqueName("context");const pe=he(U.externalImports),ke=W(L,pe),ve=t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,B),t.createParameterDeclaration(void 0,void 0,H)],void 0,ke),Te=NO(t,L,g,f),ee=t.createArrayLiteralExpression(qt(pe,Qt=>Qt.name)),vt=An(t.updateSourceFile(L,wt(t.createNodeArray([t.createExpressionStatement(t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("System"),"register"),void 0,Te?[Te,ee,ve]:[ee,ve]))]),L.statements)),2048);return Ac(f)||Dxe(vt,ke,Qt=>!Qt.scoped),fe&&(D[Se]=fe,fe=void 0),M=void 0,U=void 0,B=void 0,H=void 0,Y=void 0,Z=void 0,vt}function he(L){const Se=new Map,pe=[];for(const ke of L){const ve=jw(t,ke,M,g,d,f);if(ve){const Te=ve.text,ee=Se.get(Te);ee!==void 0?pe[ee].externalImports.push(ke):(Se.set(Te,pe.length),pe.push({name:ve,externalImports:[ke]}))}}return pe}function W(L,Se){const pe=[];n();const ke=Md(f,"alwaysStrict")||!f.noImplicitUseStrict&&Ul(M),ve=t.copyPrologue(L.statements,pe,ke,K);pe.push(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration("__moduleName",void 0,void 0,t.createLogicalAnd(H,t.createPropertyAccessExpression(H,"id")))]))),ct(U.externalHelpersImportDeclaration,K,Vs);const Te=cn(L.statements,K,Vs,ve);Pi(pe,Y),Zh(pe,s());const ee=ye(pe),vt=L.transformFlags&2097152?t.createModifiersFromModifierFlags(512):void 0,Qt=t.createObjectLiteralExpression([t.createPropertyAssignment("setters",Ce(ee,Se)),t.createPropertyAssignment("execute",t.createFunctionExpression(vt,void 0,void 0,void 0,[],void 0,t.createBlock(Te,!0)))],!0);return pe.push(t.createReturnStatement(Qt)),t.createBlock(pe,!0)}function ye(L){if(!U.hasExportStarsToExportValues)return;if(!U.exportedNames&&U.exportSpecifiers.size===0){let ve=!1;for(const Te of U.externalImports)if(Te.kind===277&&Te.exportClause){ve=!0;break}if(!ve){const Te=de(void 0);return L.push(Te),Te.name}}const Se=[];if(U.exportedNames)for(const ve of U.exportedNames)ve.escapedText!=="default"&&Se.push(t.createPropertyAssignment(t.createStringLiteralFromNode(ve),t.createTrue()));const pe=t.createUniqueName("exportedNames");L.push(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(pe,void 0,void 0,t.createObjectLiteralExpression(Se,!0))])));const ke=de(pe);return L.push(ke),ke.name}function de(L){const Se=t.createUniqueName("exportStar"),pe=t.createIdentifier("m"),ke=t.createIdentifier("n"),ve=t.createIdentifier("exports");let Te=t.createStrictInequality(ke,t.createStringLiteral("default"));return L&&(Te=t.createLogicalAnd(Te,t.createLogicalNot(t.createCallExpression(t.createPropertyAccessExpression(L,"hasOwnProperty"),void 0,[ke])))),t.createFunctionDeclaration(void 0,void 0,Se,void 0,[t.createParameterDeclaration(void 0,void 0,pe)],void 0,t.createBlock([t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(ve,void 0,void 0,t.createObjectLiteralExpression([]))])),t.createForInStatement(t.createVariableDeclarationList([t.createVariableDeclaration(ke)]),pe,t.createBlock([An(t.createIfStatement(Te,t.createExpressionStatement(t.createAssignment(t.createElementAccessExpression(ve,ke),t.createElementAccessExpression(pe,ke)))),1)])),t.createExpressionStatement(t.createCallExpression(B,void 0,[ve]))],!0))}function Ce(L,Se){const pe=[];for(const ke of Se){const ve=te(ke.externalImports,vt=>q4(t,vt,M)),Te=ve?t.getGeneratedNameForNode(ve):t.createUniqueName(""),ee=[];for(const vt of ke.externalImports){const Qt=q4(t,vt,M);switch(vt.kind){case 271:if(!vt.importClause)break;case 270:R.assert(Qt!==void 0),ee.push(t.createExpressionStatement(t.createAssignment(Qt,Te))),gi(vt,1)&&ee.push(t.createExpressionStatement(t.createCallExpression(B,void 0,[t.createStringLiteral(Zn(Qt)),Te])));break;case 277:if(R.assert(Qt!==void 0),vt.exportClause)if(im(vt.exportClause)){const ht=[];for(const Vt of vt.exportClause.elements)ht.push(t.createPropertyAssignment(t.createStringLiteral(Zn(Vt.name)),t.createElementAccessExpression(Te,t.createStringLiteral(Zn(Vt.propertyName||Vt.name)))));ee.push(t.createExpressionStatement(t.createCallExpression(B,void 0,[t.createObjectLiteralExpression(ht,!0)])))}else ee.push(t.createExpressionStatement(t.createCallExpression(B,void 0,[t.createStringLiteral(Zn(vt.exportClause.name)),Te])));else ee.push(t.createExpressionStatement(t.createCallExpression(L,void 0,[Te])));break}}pe.push(t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,Te)],void 0,t.createBlock(ee,!0)))}return t.createArrayLiteralExpression(pe,!0)}function K(L){switch(L.kind){case 271:return ce(L);case 270:return xe(L);case 277:return le(L);case 276:return we(L);default:return Ar(L)}}function ce(L){let Se;return L.importClause&&l(q4(t,L,M)),Ug(et(Se,L))}function le(L){R.assertIsDefined(L)}function xe(L){R.assert(Gb(L),"import= for internal module references should be handled in an earlier transformer.");let Se;return l(q4(t,L,M)),Ug(je(Se,L))}function we(L){if(L.isExportEquals)return;const Se=ct(L.expression,Er,Ct);return Bt(t.createIdentifier("default"),Se,!0)}function Ie(L){gi(L,1)?Y=zr(Y,t.updateFunctionDeclaration(L,cn(L.modifiers,se,Mc),L.asteriskToken,t.getDeclarationName(L,!0,!0),void 0,cn(L.parameters,Er,ea),void 0,ct(L.body,Er,Pa))):Y=zr(Y,Kr(L,Er,e)),Y=Dt(Y,L)}function ue(L){let Se;const pe=t.getLocalName(L);return l(pe),Se=zr(Se,wt(t.createExpressionStatement(t.createAssignment(pe,wt(t.createClassExpression(cn(L.modifiers,se,Mc),L.name,void 0,cn(L.heritageClauses,Er,sp),cn(L.members,Er,Mu)),L))),L)),Se=Dt(Se,L),Ug(Se)}function ut(L){if(!qe(L.declarationList))return ct(L,Er,Vs);let Se;const pe=gi(L,1);for(const ve of L.declarationList.declarations)ve.initializer?Se=zr(Se,Ke(ve,pe)):Ge(ve);let ke;return Se&&(ke=zr(ke,wt(t.createExpressionStatement(t.inlineExpressions(Se)),L))),ke=_t(ke,L,!1),Ug(ke)}function Ge(L){if(Fa(L.name))for(const Se of L.name.elements)bu(Se)||Ge(Se);else l(t.cloneNode(L.name))}function qe(L){return(xo(L)&4194304)===0&&(Z.kind===311||(el(L).flags&3)===0)}function Ke(L,Se){const pe=Se?Me:ze;return Fa(L.name)?ak(L,Er,e,0,!1,pe):L.initializer?pe(L.name,ct(L.initializer,Er,Ct)):L.name}function Me(L,Se,pe){return st(L,Se,pe,!0)}function ze(L,Se,pe){return st(L,Se,pe,!1)}function st(L,Se,pe,ke){return l(t.cloneNode(L)),ke?vr(L,Gn(wt(t.createAssignment(L,Se),pe))):Gn(wt(t.createAssignment(L,Se),pe))}function et(L,Se){if(U.exportEquals)return L;const pe=Se.importClause;if(!pe)return L;pe.name&&(L=Xt(L,pe));const ke=pe.namedBindings;if(ke)switch(ke.kind){case 273:L=Xt(L,ke);break;case 274:for(const ve of ke.elements)L=Xt(L,ve);break}return L}function je(L,Se){return U.exportEquals?L:Xt(L,Se)}function _t(L,Se,pe){if(U.exportEquals)return L;for(const ke of Se.declarationList.declarations)(ke.initializer||pe)&&(L=Lt(L,ke,pe));return L}function Lt(L,Se,pe){if(U.exportEquals)return L;if(Fa(Se.name))for(const ke of Se.name.elements)bu(ke)||(L=Lt(L,ke,pe));else if(!il(Se.name)){let ke;pe&&(L=Ye(L,Se.name,t.getLocalName(Se)),ke=Zn(Se.name)),L=Xt(L,Se,ke)}return L}function Dt(L,Se){if(U.exportEquals)return L;let pe;if(gi(Se,1)){const ke=gi(Se,1024)?t.createStringLiteral("default"):Se.name;L=Ye(L,ke,t.getLocalName(Se)),pe=em(ke)}return Se.name&&(L=Xt(L,Se,pe)),L}function Xt(L,Se,pe){if(U.exportEquals)return L;const ke=t.getDeclarationName(Se),ve=U.exportSpecifiers.get(Zn(ke));if(ve)for(const Te of ve)Te.name.escapedText!==pe&&(L=Ye(L,Te.name,ke));return L}function Ye(L,Se,pe,ke){return L=zr(L,Bt(Se,pe,ke)),L}function Bt(L,Se,pe){const ke=t.createExpressionStatement(vr(L,Se));return Qf(ke),pe||An(ke,3072),ke}function vr(L,Se){const pe=He(L)?t.createStringLiteralFromNode(L):L;return An(Se,xo(Se)|3072),Bu(t.createCallExpression(B,void 0,[pe,Se]),Se)}function Ar(L){switch(L.kind){case 242:return ut(L);case 261:return Ie(L);case 262:return ue(L);case 247:return Ht(L,!0);case 248:return tn(L);case 249:return hn(L);case 245:return ci(L);case 246:return Ji(L);case 255:return ws(L);case 253:return ui(L);case 244:return Pt(L);case 254:return Dr(L);case 268:return Kt(L);case 295:return Qr(L);case 296:return _n(L);case 257:return Nn(L);case 298:return ks(L);case 240:return ls(L);default:return Er(L)}}function Ht(L,Se){const pe=Z;return Z=L,L=t.updateForStatement(L,ct(L.initializer,Se?Cn:rn,ld),ct(L.condition,Er,Ct),ct(L.incrementor,rn,Ct),l_(L.statement,Se?Ar:Er,e)),Z=pe,L}function tn(L){const Se=Z;return Z=L,L=t.updateForInStatement(L,Cn(L.initializer),ct(L.expression,Er,Ct),l_(L.statement,Ar,e)),Z=Se,L}function hn(L){const Se=Z;return Z=L,L=t.updateForOfStatement(L,L.awaitModifier,Cn(L.initializer),ct(L.expression,Er,Ct),l_(L.statement,Ar,e)),Z=Se,L}function Br(L){return Tu(L)&&qe(L)}function Cn(L){if(Br(L)){let Se;for(const pe of L.declarations)Se=zr(Se,Ke(pe,!1)),pe.initializer||Ge(pe);return Se?t.inlineExpressions(Se):t.createOmittedExpression()}else return ct(L,rn,ld)}function ci(L){return t.updateDoStatement(L,l_(L.statement,Ar,e),ct(L.expression,Er,Ct))}function Ji(L){return t.updateWhileStatement(L,ct(L.expression,Er,Ct),l_(L.statement,Ar,e))}function ws(L){return t.updateLabeledStatement(L,L.label,R.checkDefined(ct(L.statement,Ar,Vs,t.liftToBlock)))}function ui(L){return t.updateWithStatement(L,ct(L.expression,Er,Ct),R.checkDefined(ct(L.statement,Ar,Vs,t.liftToBlock)))}function Pt(L){return t.updateIfStatement(L,ct(L.expression,Er,Ct),R.checkDefined(ct(L.thenStatement,Ar,Vs,t.liftToBlock)),ct(L.elseStatement,Ar,Vs,t.liftToBlock))}function Dr(L){return t.updateSwitchStatement(L,ct(L.expression,Er,Ct),R.checkDefined(ct(L.caseBlock,Ar,CD)))}function Kt(L){const Se=Z;return Z=L,L=t.updateCaseBlock(L,cn(L.clauses,Ar,uj)),Z=Se,L}function Qr(L){return t.updateCaseClause(L,ct(L.expression,Er,Ct),cn(L.statements,Ar,Vs))}function _n(L){return Kr(L,Ar,e)}function Nn(L){return Kr(L,Ar,e)}function ks(L){const Se=Z;return Z=L,L=t.updateCatchClause(L,L.variableDeclaration,R.checkDefined(ct(L.block,Ar,Pa))),Z=Se,L}function ls(L){const Se=Z;return Z=L,L=Kr(L,Ar,e),Z=Se,L}function Yr(L,Se){if(!(L.transformFlags&276828160))return L;switch(L.kind){case 247:return Ht(L,!1);case 243:return qr(L);case 216:return xi(L,Se);case 359:return pt(L,Se);case 225:if(c1(L))return dt(L,Se);break;case 212:if(Dp(L))return Nt(L);break;case 223:case 224:return rr(L,Se)}return Kr(L,Er,e)}function Er(L){return Yr(L,!1)}function rn(L){return Yr(L,!0)}function qr(L){return t.updateExpressionStatement(L,ct(L.expression,rn,Ct))}function xi(L,Se){return t.updateParenthesizedExpression(L,ct(L.expression,Se?rn:Er,Ct))}function pt(L,Se){return t.updatePartiallyEmittedExpression(L,ct(L.expression,Se?rn:Er,Ct))}function Nt(L){const Se=jw(t,L,M,g,d,f),pe=ct(Hu(L.arguments),Er,Ct),ke=Se&&(!pe||!yo(pe)||pe.text!==Se.text)?Se:pe;return t.createCallExpression(t.createPropertyAccessExpression(H,t.createIdentifier("import")),void 0,ke?[ke]:[])}function dt(L,Se){return Ut(L.left)?ak(L,Er,e,0,!Se):Kr(L,Er,e)}function Ut(L){if(o_(L,!0))return Ut(L.left);if(lg(L))return Ut(L.expression);if(jo(L))return Ne(L.properties,Ut);if(Hf(L))return Ne(L.elements,Ut);if(hd(L))return Ut(L.name);if(pu(L))return Ut(L.initializer);if(He(L)){const Se=d.getReferencedExportContainer(L);return Se!==void 0&&Se.kind===311}else return!1}function rr(L,Se){if((L.operator===46||L.operator===47)&&He(L.operand)&&!il(L.operand)&&!m1(L.operand)&&!Tte(L.operand)){const pe=Lr(L.operand);if(pe){let ke,ve=ct(L.operand,Er,Ct);i2(L)?ve=t.updatePrefixUnaryExpression(L,ve):(ve=t.updatePostfixUnaryExpression(L,ve),Se||(ke=t.createTempVariable(l),ve=t.createAssignment(ke,ve),wt(ve,L)),ve=t.createComma(ve,t.cloneNode(L.operand)),wt(ve,L));for(const Te of pe)ve=vr(Te,Gn(ve));return ke&&(ve=t.createComma(ve,ke),wt(ve,L)),ve}}return Kr(L,Er,e)}function se(L){switch(L.kind){case 95:case 90:return}return L}function at(L,Se,pe){if(Se.kind===311){const ke=Cf(Se);M=Se,U=T[ke],B=C[ke],fe=D[ke],H=O[ke],fe&&delete D[ke],k(L,Se,pe),M=void 0,U=void 0,B=void 0,H=void 0,fe=void 0}else k(L,Se,pe)}function xt(L,Se){return Se=h(L,Se),Rn(Se)?Se:L===1?_r(Se):L===4?ae(Se):Se}function ae(L){switch(L.kind){case 303:return mt(L)}return L}function mt(L){var Se,pe;const ke=L.name;if(!il(ke)&&!m1(ke)){const ve=d.getReferencedImportDeclaration(ke);if(ve){if(ug(ve))return wt(t.createPropertyAssignment(t.cloneNode(ke),t.createPropertyAccessExpression(t.getGeneratedNameForNode(ve.parent),t.createIdentifier("default"))),L);if(J_(ve))return wt(t.createPropertyAssignment(t.cloneNode(ke),t.createPropertyAccessExpression(t.getGeneratedNameForNode(((pe=(Se=ve.parent)==null?void 0:Se.parent)==null?void 0:pe.parent)||ve),t.cloneNode(ve.propertyName||ve.name))),L)}}return L}function _r(L){switch(L.kind){case 80:return Fe(L);case 225:return Gt(L);case 235:return zt(L)}return L}function Fe(L){var Se,pe;if(xo(L)&8192){const ke=DO(M);return ke?t.createPropertyAccessExpression(ke,L):L}if(!il(L)&&!m1(L)){const ke=d.getReferencedImportDeclaration(L);if(ke){if(ug(ke))return wt(t.createPropertyAccessExpression(t.getGeneratedNameForNode(ke.parent),t.createIdentifier("default")),L);if(J_(ke))return wt(t.createPropertyAccessExpression(t.getGeneratedNameForNode(((pe=(Se=ke.parent)==null?void 0:Se.parent)==null?void 0:pe.parent)||ke),t.cloneNode(ke.propertyName||ke.name)),L)}}return L}function Gt(L){if(o1(L.operatorToken.kind)&&He(L.left)&&!il(L.left)&&!m1(L.left)){const Se=Lr(L.left);if(Se){let pe=L;for(const ke of Se)pe=vr(ke,Gn(pe));return pe}}return L}function zt(L){return K6(L)?t.createPropertyAccessExpression(H,t.createIdentifier("meta")):L}function Lr(L){let Se;const pe=ii(L);if(pe){const ke=d.getReferencedExportContainer(L,!1);ke&&ke.kind===311&&(Se=zr(Se,t.getDeclarationName(pe))),Se=Pi(Se,U==null?void 0:U.exportedBindings[Cf(pe)])}return Se}function ii(L){if(!il(L)){const Se=d.getReferencedImportDeclaration(L);if(Se)return Se;const pe=d.getReferencedValueDeclaration(L);if(pe&&(U!=null&&U.exportedBindings[Cf(pe)]))return pe;const ke=d.getReferencedValueDeclarations(L);if(ke){for(const ve of ke)if(ve!==pe&&(U!=null&&U.exportedBindings[Cf(ve)]))return ve}return pe}}function Gn(L){return fe===void 0&&(fe=[]),fe[Jo(L)]=!0,L}function Rn(L){return fe&&L.id&&fe[L.id]}}var Ltt=p({"src/compiler/transformers/module/system.ts"(){Ba()}});function $ie(e){const{factory:t,getEmitHelperFactory:n}=e,s=e.getEmitHost(),l=e.getEmitResolver(),f=e.getCompilerOptions(),d=Eo(f),g=e.onEmitNode,h=e.onSubstituteNode;e.onEmitNode=fe,e.onSubstituteNode=Q,e.enableEmitNotification(311),e.enableSubstitution(80);let k,T,C;return om(e,D);function D(W){if(W.isDeclarationFile)return W;if(Ul(W)||Nm(f)){T=W,C=void 0;let ye=O(W);return T=void 0,C&&(ye=t.updateSourceFile(ye,wt(t.createNodeArray(uee(ye.statements.slice(),C)),ye.statements))),!Ul(W)||Ne(ye.statements,$I)?ye:t.updateSourceFile(ye,wt(t.createNodeArray([...ye.statements,EO(t)]),ye.statements))}return W}function O(W){const ye=one(t,n(),W,f);if(ye){const de=[],Ce=t.copyPrologue(W.statements,de);return zr(de,ye),Pi(de,cn(W.statements,M,Vs,Ce)),t.updateSourceFile(W,wt(t.createNodeArray(de),W.statements))}else return Kr(W,M,e)}function M(W){switch(W.kind){case 270:return Zu(f)>=100?B(W):void 0;case 276:return Y(W);case 277:return Z(W)}return W}function U(W){const ye=jw(t,W,R.checkDefined(T),s,l,f),de=[];if(ye&&de.push(ye),!C){const K=t.createUniqueName("_createRequire",48),ce=t.createImportDeclaration(void 0,t.createImportClause(!1,void 0,t.createNamedImports([t.createImportSpecifier(!1,t.createIdentifier("createRequire"),K)])),t.createStringLiteral("module")),le=t.createUniqueName("__require",48),xe=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(le,void 0,void 0,t.createCallExpression(t.cloneNode(K),void 0,[t.createPropertyAccessExpression(t.createMetaProperty(102,t.createIdentifier("meta")),t.createIdentifier("url"))]))],d>=2?2:0));C=[ce,xe]}const Ce=C[1].declarationList.declarations[0].name;return R.assertNode(Ce,He),t.createCallExpression(t.cloneNode(Ce),void 0,de)}function B(W){R.assert(Gb(W),"import= for internal module references should be handled in an earlier transformer.");let ye;return ye=zr(ye,oi(wt(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.cloneNode(W.name),void 0,void 0,U(W))],d>=2?2:0)),W),W)),ye=H(ye,W),Ug(ye)}function H(W,ye){return gi(ye,1)&&(W=zr(W,t.createExportDeclaration(void 0,ye.isTypeOnly,t.createNamedExports([t.createExportSpecifier(!1,void 0,Zn(ye.name))])))),W}function Y(W){return W.isExportEquals?void 0:W}function Z(W){if(f.module!==void 0&&f.module>5||!W.exportClause||!ny(W.exportClause)||!W.moduleSpecifier)return W;const ye=W.exportClause.name,de=t.getGeneratedNameForNode(ye),Ce=t.createImportDeclaration(void 0,t.createImportClause(!1,void 0,t.createNamespaceImport(de)),W.moduleSpecifier,W.assertClause);oi(Ce,W.exportClause);const K=bj(W)?t.createExportDefault(de):t.createExportDeclaration(void 0,!1,t.createNamedExports([t.createExportSpecifier(!1,de,ye)]));return oi(K,W),[Ce,K]}function fe(W,ye,de){Cs(ye)?((Ul(ye)||Nm(f))&&f.importHelpers&&(k=new Map),g(W,ye,de),k=void 0):g(W,ye,de)}function Q(W,ye){return ye=h(W,ye),k&&He(ye)&&xo(ye)&8192?he(ye):ye}function he(W){const ye=Zn(W);let de=k.get(ye);return de||k.set(ye,de=t.createUniqueName(ye,48)),de}}var Mtt=p({"src/compiler/transformers/module/esnextAnd2015.ts"(){Ba()}});function BEe(e){const t=e.onSubstituteNode,n=e.onEmitNode,s=$ie(e),l=e.onSubstituteNode,f=e.onEmitNode;e.onSubstituteNode=t,e.onEmitNode=n;const d=Vie(e),g=e.onSubstituteNode,h=e.onEmitNode;e.onSubstituteNode=T,e.onEmitNode=C,e.enableSubstitution(311),e.enableEmitNotification(311);let k;return M;function T(B,H){return Cs(H)?(k=H,t(B,H)):k?k.impliedNodeFormat===99?l(B,H):g(B,H):t(B,H)}function C(B,H,Y){return Cs(H)&&(k=H),k?k.impliedNodeFormat===99?f(B,H,Y):h(B,H,Y):n(B,H,Y)}function D(B){return B.impliedNodeFormat===99?s:d}function O(B){if(B.isDeclarationFile)return B;k=B;const H=D(B)(B);return k=void 0,R.assert(Cs(H)),H}function M(B){return B.kind===311?O(B):U(B)}function U(B){return e.factory.createBundle(qt(B.sourceFiles,O),B.prepends)}}var Ftt=p({"src/compiler/transformers/module/node.ts"(){Ba()}});function Az(e){return bs(e)||Ia(e)||Gp(e)||Lo(e)||i1(e)||kv(e)||gO(e)||O4(e)||ql(e)||ty(e)||au(e)||ea(e)||qc(e)||p1(e)||cf(e)||Mm(e)||El(e)||Wx(e)||ai(e)||Pc(e)||Bn(e)||Id(e)}function jEe(e){if(i1(e)||kv(e))return t;return ty(e)||ql(e)?s:g1(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 Aa(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===262?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 Aa(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===262?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 g1(e){if(bs(e)||Ia(e)||Gp(e)||ai(e)||Pc(e)||Bn(e)||Lo(e)||El(e))return n;return i1(e)||kv(e)?s:gO(e)||O4(e)||ql(e)||ty(e)||au(e)||Wx(e)?l:ea(e)?Cp(e,e.parent)&&gi(e.parent,8)?n:f:qc(e)?g:p1(e)?h:cf(e)?k:Mm(e)||Id(e)?T:R.assertNever(e,`Attempted to set a declaration diagnostic context for unhandled node kind: ${R.formatSyntaxKind(e.kind)}`);function t(C){if(e.kind===259||e.kind===207)return C.errorModuleName?C.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===171||e.kind===210||e.kind===211||e.kind===225||e.kind===170||e.kind===168&&gi(e.parent,8))return Aa(e)?C.errorModuleName?C.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===262||e.kind===168?C.errorModuleName?C.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:C.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(C){const D=t(C);return D!==void 0?{diagnosticMessage:D,errorNode:e,typeName:e.name}:void 0}function s(C){let D;return e.kind===177?Aa(e)?D=C.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:D=C.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:Aa(e)?D=C.errorModuleName?C.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:D=C.errorModuleName?C.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:D,errorNode:e.name,typeName:e.name}}function l(C){let D;switch(e.kind){case 179:D=C.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 178:D=C.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 180:D=C.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 173:case 172:Aa(e)?D=C.errorModuleName?C.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===262?D=C.errorModuleName?C.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:D=C.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 261:D=C.errorModuleName?C.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:D,errorNode:e.name||e}}function f(C){const D=d(C);return D!==void 0?{diagnosticMessage:D,errorNode:e,typeName:e.name}:void 0}function d(C){switch(e.parent.kind){case 175:return C.errorModuleName?C.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 179:case 184:return C.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 178:return C.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 180:return C.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 173:case 172:return Aa(e.parent)?C.errorModuleName?C.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===262?C.errorModuleName?C.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:C.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 261:case 183:return C.errorModuleName?C.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 177:case 176:return C.errorModuleName?C.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 C;switch(e.parent.kind){case 262:C=v.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 263:C=v.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 199:C=v.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 184:case 179:C=v.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 178:C=v.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 173:case 172:Aa(e.parent)?C=v.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:e.parent.parent.kind===262?C=v.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:C=v.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 183:case 261:C=v.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 194:C=v.Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1;break;case 264:C=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:C,errorNode:e,typeName:e.name}}function h(){let C;return Su(e.parent.parent)?C=sp(e.parent)&&e.parent.token===119?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:C=v.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,{diagnosticMessage:C,errorNode:e,typeName:ia(e.parent.parent)}}function k(){return{diagnosticMessage:v.Import_declaration_0_is_using_private_name_1,errorNode:e,typeName:e.name}}function T(C){return{diagnosticMessage:C.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:Id(e)?R.checkDefined(e.typeExpression):e.type,typeName:Id(e)?ia(e):e.name}}}var Rtt=p({"src/compiler/transformers/declarations/diagnostics.ts"(){Ba()}});function JEe(e,t,n){const s=e.getCompilerOptions();return d9(t,e,V,s,n?[n]:gr(e.getSourceFiles(),Lee),[Wie],!1).diagnostics}function UEe(e,t){const n=t.text.substring(e.pos,e.end);return rf(n,"@internal")}function qie(e,t){const n=Gs(e);if(n&&n.kind===168){const l=n.parent.parameters.indexOf(n),f=l>0?n.parent.parameters[l-1]:void 0,d=t.text,g=f?wr(Vb(d,fo(d,f.end+1,!1,!0)),Vg(d,e.pos)):Vb(d,fo(d,e.pos,!1,!0));return g&&g.length&&UEe(To(g),t)}const s=n&&Eee(n,t);return!!te(s,l=>UEe(l,t))}function Wie(e){const t=()=>R.fail("Diagnostic emitted without context");let n=t,s=!0,l=!1,f=!1,d=!1,g=!1,h,k,T,C,D,O;const{factory:M}=e,U=e.getEmitHost(),B={trackSymbol:we,reportInaccessibleThisError:qe,reportInaccessibleUniqueSymbolError:ut,reportCyclicStructureError:Ge,reportPrivateInBaseOfClassExpression:Ie,reportLikelyUnsafeImportRequiredError:Ke,reportTruncationError:Me,moduleResolverHost:U,trackReferencedAmbientModule:ce,trackExternalModuleSymbolOfImportTypeNode:xe,reportNonlocalAugmentation:ze,reportNonSerializableProperty:st,reportImportTypeNodeResolutionModeOverride:et};let H,Y,Z,fe,Q,he;const W=e.getEmitResolver(),ye=e.getCompilerOptions(),{noResolve:de,stripInternal:Ce}=ye;return _t;function K(ae){if(ae){k=k||new Set;for(const mt of ae)k.add(mt)}}function ce(ae,mt){const _r=W.getTypeReferenceDirectivesForSymbol(mt,67108863);if(G(_r))return K(_r);const Fe=pn(ae);fe.set(Cf(Fe),Fe)}function le(ae){if(ae.accessibility===0){if(ae&&ae.aliasesToMakeVisible)if(!T)T=ae.aliasesToMakeVisible;else for(const mt of ae.aliasesToMakeVisible)Sp(T,mt)}else{const mt=n(ae);if(mt)return mt.typeName?e.addDiagnostic(ei(ae.errorNode||mt.errorNode,mt.diagnosticMessage,iu(mt.typeName),ae.errorSymbolName,ae.errorModuleName)):e.addDiagnostic(ei(ae.errorNode||mt.errorNode,mt.diagnosticMessage,ae.errorSymbolName,ae.errorModuleName)),!0}return!1}function xe(ae){l||(O||(O=[])).push(ae)}function we(ae,mt,_r){if(ae.flags&262144)return!1;const Fe=le(W.isSymbolAccessible(ae,mt,_r,!0));return K(W.getTypeReferenceDirectivesForSymbol(ae,_r)),Fe}function Ie(ae){(H||Y)&&e.addDiagnostic(ei(H||Y,v.Property_0_of_exported_class_expression_may_not_be_private_or_protected,ae))}function ue(){return H?ac(H):Y&&ia(Y)?ac(ia(Y)):Y&&Pl(Y)?Y.isExportEquals?"export=":"default":"(Missing)"}function ut(){(H||Y)&&e.addDiagnostic(ei(H||Y,v.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,ue(),"unique symbol"))}function Ge(){(H||Y)&&e.addDiagnostic(ei(H||Y,v.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,ue()))}function qe(){(H||Y)&&e.addDiagnostic(ei(H||Y,v.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,ue(),"this"))}function Ke(ae){(H||Y)&&e.addDiagnostic(ei(H||Y,v.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,ue(),ae))}function Me(){(H||Y)&&e.addDiagnostic(ei(H||Y,v.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed))}function ze(ae,mt,_r){var Fe;const Gt=(Fe=mt.declarations)==null?void 0:Fe.find(Lr=>pn(Lr)===ae),zt=gr(_r.declarations,Lr=>pn(Lr)!==ae);if(Gt&&zt)for(const Lr of zt)e.addDiagnostic(ho(ei(Lr,v.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),ei(Gt,v.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))}function st(ae){(H||Y)&&e.addDiagnostic(ei(H||Y,v.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized,ae))}function et(){!D5()&&(H||Y)&&e.addDiagnostic(ei(H||Y,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 je(ae,mt){const _r=n;n=Gt=>Gt.errorNode&&Az(Gt.errorNode)?g1(Gt.errorNode)(Gt):{diagnosticMessage:Gt.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:Gt.errorNode||ae};const Fe=W.getDeclarationStatementsForSourceFile(ae,aS,B,mt);return n=_r,Fe}function _t(ae){if(ae.kind===311&&ae.isDeclarationFile)return ae;if(ae.kind===312){l=!0,fe=new Map,Q=new Map;let L=!1;const Se=M.createBundle(qt(ae.sourceFiles,ve=>{if(ve.isDeclarationFile)return;if(L=L||ve.hasNoDefaultLib,Z=ve,h=ve,T=void 0,D=!1,C=new Map,n=t,d=!1,g=!1,Lt(ve,fe),Dt(ve,Q),Pp(ve)||Nd(ve)){f=!1,s=!1;const ee=qf(ve)?M.createNodeArray(je(ve,!0)):cn(ve.statements,ls,Vs);return M.updateSourceFile(ve,[M.createModuleDeclaration([M.createModifier(138)],M.createStringLiteral(eJ(e.getEmitHost(),ve)),M.createModuleBlock(wt(M.createNodeArray(_n(ee)),ve.statements)))],!0,[],[],!1,[])}s=!0;const Te=qf(ve)?M.createNodeArray(je(ve)):cn(ve.statements,ls,Vs);return M.updateSourceFile(ve,_n(Te),!0,[],[],!1,[])}),lr(ae.prepends,ve=>{if(ve.kind===314){const Te=yre(ve,"dts",Ce);return L=L||!!Te.hasNoDefaultLib,Lt(Te,fe),K(qt(Te.typeReferenceDirectives,ee=>[ee.fileName,ee.resolutionMode])),Dt(Te,Q),Te}return ve}));Se.syntheticFileReferences=[],Se.syntheticTypeReferences=ii(),Se.syntheticLibReferences=Lr(),Se.hasNoDefaultLib=L;const pe=cs(Qu(HD(ae,U,!0).declarationFilePath)),ke=Rn(Se.syntheticFileReferences,pe);return fe.forEach(ke),Se}s=!0,d=!1,g=!1,h=ae,Z=ae,n=t,l=!1,f=!1,D=!1,T=void 0,C=new Map,k=void 0,fe=Lt(Z,new Map),Q=Dt(Z,new Map);const mt=[],_r=cs(Qu(HD(ae,U,!0).declarationFilePath)),Fe=Rn(mt,_r);let Gt;if(qf(Z))Gt=M.createNodeArray(je(ae)),fe.forEach(Fe),he=gr(Gt,Nx);else{const L=cn(ae.statements,ls,Vs);Gt=wt(M.createNodeArray(_n(L)),ae.statements),fe.forEach(Fe),he=gr(Gt,Nx),Ul(ae)&&(!f||d&&!g)&&(Gt=wt(M.createNodeArray([...Gt,EO(M)]),Gt))}const zt=M.updateSourceFile(ae,Gt,!0,mt,ii(),ae.hasNoDefaultLib,Lr());return zt.exportedModulesFromDeclarationEmit=O,zt;function Lr(){return oo(Q.keys(),L=>({fileName:L,pos:-1,end:-1}))}function ii(){return k?lr(oo(k.keys()),Gn):[]}function Gn([L,Se]){if(he){for(const pe of he)if(cf(pe)&&fg(pe.moduleReference)){const ke=pe.moduleReference.expression;if(Yo(ke)&&ke.text===L)return}else if(ju(pe)&&yo(pe.moduleSpecifier)&&pe.moduleSpecifier.text===L)return}return{fileName:L,pos:-1,end:-1,...Se?{resolutionMode:Se}:void 0}}function Rn(L,Se){return pe=>{let ke;if(pe.isDeclarationFile)ke=pe.fileName;else{if(l&&kt(ae.sourceFiles,pe))return;const ve=HD(pe,U,!0);ke=ve.declarationFilePath||ve.jsFilePath||pe.fileName}if(ke){const ve=a9(ye,Z,bc(Se,U.getCurrentDirectory(),U.getCanonicalFileName),bc(ke,U.getCurrentDirectory(),U.getCanonicalFileName),U);if(!kp(ve)){K([[ve,void 0]]);return}let Te=QC(Se,ke,U.getCurrentDirectory(),U.getCanonicalFileName,!1);if(Xs(Te,"./")&&N6(Te)&&(Te=Te.substring(2)),Xs(Te,"node_modules/")||eA(Te))return;L.push({pos:-1,end:-1,fileName:Te})}}}}function Lt(ae,mt){return de||!Yx(ae)&&qf(ae)||te(ae.referencedFiles,_r=>{const Fe=U.getSourceFileFromReference(ae,_r);Fe&&mt.set(Cf(Fe),Fe)}),mt}function Dt(ae,mt){return te(ae.libReferenceDirectives,_r=>{U.getLibFileFromReference(_r)&&mt.set(wm(_r.fileName),!0)}),mt}function Xt(ae){if(ae.kind===80)return ae;return ae.kind===206?M.updateArrayBindingPattern(ae,cn(ae.elements,mt,sj)):M.updateObjectBindingPattern(ae,cn(ae.elements,mt,Lo));function mt(_r){return _r.kind===231?_r:_r.propertyName&&He(_r.propertyName)&&He(_r.name)&&!_r.symbol.isReferenced&&!Xj(_r.propertyName)?M.updateBindingElement(_r,_r.dotDotDotToken,void 0,_r.propertyName,Bt(_r)?_r.initializer:void 0):M.updateBindingElement(_r,_r.dotDotDotToken,_r.propertyName,Xt(_r.name),Bt(_r)?_r.initializer:void 0)}}function Ye(ae,mt,_r){let Fe;D||(Fe=n,n=g1(ae));const Gt=M.updateParameterDeclaration(ae,jtt(M,ae,mt),ae.dotDotDotToken,Xt(ae.name),W.isOptionalParameter(ae)?ae.questionToken||M.createToken(58):void 0,Ar(ae,_r||ae.type,!0),vr(ae));return D||(n=Fe),Gt}function Bt(ae){return Jtt(ae)&&W.isLiteralConstDeclaration(Gs(ae))}function vr(ae){if(Bt(ae))return W.createLiteralConstValue(Gs(ae),B)}function Ar(ae,mt,_r){if(!_r&&ip(ae,8)||Bt(ae))return;const Fe=ae.kind===168&&(W.isRequiredInitializedParameter(ae)||W.isOptionalUninitializedParameterProperty(ae));if(mt&&!Fe)return ct(mt,Nn,ys);if(!Gs(ae))return mt?ct(mt,Nn,ys):M.createKeywordTypeNode(133);if(ae.kind===177)return M.createKeywordTypeNode(133);H=ae.name;let Gt;if(D||(Gt=n,n=g1(ae)),ae.kind===259||ae.kind===207)return zt(W.createTypeOfDeclaration(ae,h,aS,B));if(ae.kind===168||ae.kind===171||ae.kind===170)return Gp(ae)||!ae.initializer?zt(W.createTypeOfDeclaration(ae,h,aS,B,Fe)):zt(W.createTypeOfDeclaration(ae,h,aS,B,Fe)||W.createTypeOfExpression(ae.initializer,h,aS,B));return zt(W.createReturnTypeOfSignatureDeclaration(ae,h,aS,B));function zt(Lr){return H=void 0,D||(n=Gt),Lr||M.createKeywordTypeNode(133)}}function Ht(ae){switch(ae=Gs(ae),ae.kind){case 261:case 266:case 263:case 262:case 264:case 265:return!W.isDeclarationVisible(ae);case 259:return!hn(ae);case 270:case 271:case 277:case 276:return!1;case 174:return!0}return!1}function tn(ae){var mt;if(ae.body)return!0;const _r=(mt=ae.symbol.declarations)==null?void 0:mt.filter(Fe=>au(Fe)&&!Fe.body);return!_r||_r.indexOf(ae)===_r.length-1}function hn(ae){return bu(ae)?!1:Fa(ae.name)?Ne(ae.name.elements,hn):W.isDeclarationVisible(ae)}function Br(ae,mt,_r){if(ip(ae,8))return M.createNodeArray();const Fe=qt(mt,Gt=>Ye(Gt,_r));return Fe?M.createNodeArray(Fe,mt.hasTrailingComma):M.createNodeArray()}function Cn(ae,mt){let _r;if(!mt){const Fe=BT(ae);Fe&&(_r=[Ye(Fe)])}if(md(ae)){let Fe;if(!mt){const Gt=BP(ae);if(Gt){const zt=at(ae,W.getAllAccessorDeclarations(ae));Fe=Ye(Gt,void 0,zt)}}Fe||(Fe=M.createParameterDeclaration(void 0,void 0,"value")),_r=zr(_r,Fe)}return M.createNodeArray(_r||ft)}function ci(ae,mt){return ip(ae,8)?void 0:cn(mt,Nn,qc)}function Ji(ae){return Cs(ae)||Mm(ae)||Al(ae)||Su(ae)||Xf(ae)||Sa(ae)||Wx(ae)||TD(ae)}function ws(ae,mt){const _r=W.isEntityNameVisible(ae,mt);le(_r),K(W.getTypeReferenceDirectivesForEntityName(ae))}function ui(ae,mt){return Ap(ae)&&Ap(mt)&&(ae.jsDoc=mt.jsDoc),Bu(ae,cg(mt))}function Pt(ae,mt){if(mt){if(f=f||ae.kind!==266&&ae.kind!==204,Yo(mt))if(l){const _r=JTe(e.getEmitHost(),W,ae);if(_r)return M.createStringLiteral(_r)}else{const _r=W.getSymbolOfExternalModuleSpecifier(mt);_r&&(O||(O=[])).push(_r)}return mt}}function Dr(ae){if(W.isDeclarationVisible(ae))if(ae.moduleReference.kind===282){const mt=AP(ae);return M.updateImportEqualsDeclaration(ae,ae.modifiers,ae.isTypeOnly,ae.name,M.updateExternalModuleReference(ae.moduleReference,Pt(ae,mt)))}else{const mt=n;return n=g1(ae),ws(ae.moduleReference,h),n=mt,ae}}function Kt(ae){if(!ae.importClause)return M.updateImportDeclaration(ae,ae.modifiers,ae.importClause,Pt(ae,ae.moduleSpecifier),Qr(ae.assertClause));const mt=ae.importClause&&ae.importClause.name&&W.isDeclarationVisible(ae.importClause)?ae.importClause.name:void 0;if(!ae.importClause.namedBindings)return mt&&M.updateImportDeclaration(ae,ae.modifiers,M.updateImportClause(ae.importClause,ae.importClause.isTypeOnly,mt,void 0),Pt(ae,ae.moduleSpecifier),Qr(ae.assertClause));if(ae.importClause.namedBindings.kind===273){const Fe=W.isDeclarationVisible(ae.importClause.namedBindings)?ae.importClause.namedBindings:void 0;return mt||Fe?M.updateImportDeclaration(ae,ae.modifiers,M.updateImportClause(ae.importClause,ae.importClause.isTypeOnly,mt,Fe),Pt(ae,ae.moduleSpecifier),Qr(ae.assertClause)):void 0}const _r=lr(ae.importClause.namedBindings.elements,Fe=>W.isDeclarationVisible(Fe)?Fe:void 0);if(_r&&_r.length||mt)return M.updateImportDeclaration(ae,ae.modifiers,M.updateImportClause(ae.importClause,ae.importClause.isTypeOnly,mt,_r&&_r.length?M.updateNamedImports(ae.importClause.namedBindings,_r):void 0),Pt(ae,ae.moduleSpecifier),Qr(ae.assertClause));if(W.isImportRequiredByAugmentation(ae))return M.updateImportDeclaration(ae,ae.modifiers,void 0,Pt(ae,ae.moduleSpecifier),Qr(ae.assertClause))}function Qr(ae){if(qw(ae)!==void 0)return D5()||e.addDiagnostic(ei(ae,v.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next)),ae}function _n(ae){for(;G(T);){const _r=T.shift();if(!Sj(_r))return R.fail(`Late replaced statement was found which is not handled by the declaration transformer!: ${R.formatSyntaxKind(_r.kind)}`);const Fe=s;s=_r.parent&&Cs(_r.parent)&&!(Ul(_r.parent)&&l);const Gt=Er(_r);s=Fe,C.set(Cf(_r),Gt)}return cn(ae,mt,Vs);function mt(_r){if(Sj(_r)){const Fe=Cf(_r);if(C.has(Fe)){const Gt=C.get(Fe);return C.delete(Fe),Gt&&((ka(Gt)?Ne(Gt,aj):aj(Gt))&&(d=!0),Cs(_r.parent)&&(ka(Gt)?Ne(Gt,$I):$I(Gt))&&(f=!0)),Gt}}return _r}}function Nn(ae){if(Nt(ae)||Sf(ae)&&(Ht(ae)||s1(ae)&&!W.isLateBound(Gs(ae)))||Sa(ae)&&W.isImplementationOfOverload(ae)||Zxe(ae))return;let mt;Ji(ae)&&(mt=h,h=ae);const _r=n,Fe=Az(ae),Gt=D;let zt=(ae.kind===186||ae.kind===199)&&ae.parent.kind!==264;if((ql(ae)||ty(ae))&&ip(ae,8))return ae.symbol&&ae.symbol.declarations&&ae.symbol.declarations[0]!==ae?void 0:Lr(M.createPropertyDeclaration(rr(ae),ae.name,void 0,void 0,void 0));if(Fe&&!D&&(n=g1(ae)),vD(ae)&&ws(ae.exprName,h),zt&&(D=!0),ztt(ae))switch(ae.kind){case 232:{(wp(ae.expression)||kl(ae.expression))&&ws(ae.expression,h);const ii=Kr(ae,Nn,e);return Lr(M.updateExpressionWithTypeArguments(ii,ii.expression,ii.typeArguments))}case 182:{ws(ae.typeName,h);const ii=Kr(ae,Nn,e);return Lr(M.updateTypeReferenceNode(ii,ii.typeName,ii.typeArguments))}case 179:return Lr(M.updateConstructSignature(ae,ci(ae,ae.typeParameters),Br(ae,ae.parameters),Ar(ae,ae.type)));case 175:{const ii=M.createConstructorDeclaration(rr(ae),Br(ae,ae.parameters,0),void 0);return Lr(ii)}case 173:{if(fs(ae.name))return Lr(void 0);const ii=M.createMethodDeclaration(rr(ae),void 0,ae.name,ae.questionToken,ci(ae,ae.typeParameters),Br(ae,ae.parameters),Ar(ae,ae.type),void 0);return Lr(ii)}case 176:{if(fs(ae.name))return Lr(void 0);const ii=at(ae,W.getAllAccessorDeclarations(ae));return Lr(M.updateGetAccessorDeclaration(ae,rr(ae),ae.name,Cn(ae,ip(ae,8)),Ar(ae,ii),void 0))}case 177:return fs(ae.name)?Lr(void 0):Lr(M.updateSetAccessorDeclaration(ae,rr(ae),ae.name,Cn(ae,ip(ae,8)),void 0));case 171:return fs(ae.name)?Lr(void 0):Lr(M.updatePropertyDeclaration(ae,rr(ae),ae.name,ae.questionToken,Ar(ae,ae.type),vr(ae)));case 170:return fs(ae.name)?Lr(void 0):Lr(M.updatePropertySignature(ae,rr(ae),ae.name,ae.questionToken,Ar(ae,ae.type)));case 172:return fs(ae.name)?Lr(void 0):Lr(M.updateMethodSignature(ae,rr(ae),ae.name,ae.questionToken,ci(ae,ae.typeParameters),Br(ae,ae.parameters),Ar(ae,ae.type)));case 178:return Lr(M.updateCallSignature(ae,ci(ae,ae.typeParameters),Br(ae,ae.parameters),Ar(ae,ae.type)));case 180:return Lr(M.updateIndexSignature(ae,rr(ae),Br(ae,ae.parameters),ct(ae.type,Nn,ys)||M.createKeywordTypeNode(133)));case 259:return Fa(ae.name)?qr(ae.name):(zt=!0,D=!0,Lr(M.updateVariableDeclaration(ae,ae.name,void 0,Ar(ae,ae.type),vr(ae))));case 167:return ks(ae)&&(ae.default||ae.constraint)?Lr(M.updateTypeParameterDeclaration(ae,ae.modifiers,ae.name,void 0,void 0)):Lr(Kr(ae,Nn,e));case 193:{const ii=ct(ae.checkType,Nn,ys),Gn=ct(ae.extendsType,Nn,ys),Rn=h;h=ae.trueType;const L=ct(ae.trueType,Nn,ys);h=Rn;const Se=ct(ae.falseType,Nn,ys);return R.assert(ii),R.assert(Gn),R.assert(L),R.assert(Se),Lr(M.updateConditionalTypeNode(ae,ii,Gn,L,Se))}case 183:return Lr(M.updateFunctionTypeNode(ae,cn(ae.typeParameters,Nn,qc),Br(ae,ae.parameters),R.checkDefined(ct(ae.type,Nn,ys))));case 184:return Lr(M.updateConstructorTypeNode(ae,rr(ae),cn(ae.typeParameters,Nn,qc),Br(ae,ae.parameters),R.checkDefined(ct(ae.type,Nn,ys))));case 204:return Hb(ae)?Lr(M.updateImportTypeNode(ae,M.updateLiteralTypeNode(ae.argument,Pt(ae,ae.argument.literal)),ae.assertions,ae.qualifier,cn(ae.typeArguments,Nn,ys),ae.isTypeOf)):Lr(ae);default:R.assertNever(ae,`Attempted to process unhandled node kind: ${R.formatSyntaxKind(ae.kind)}`)}return L4(ae)&&Vc(Z,ae.pos).line===Vc(Z,ae.end).line&&An(ae,1),Lr(Kr(ae,Nn,e));function Lr(ii){return ii&&Fe&&s1(ae)&&pt(ae),Ji(ae)&&(h=mt),Fe&&!D&&(n=_r),zt&&(D=Gt),ii===ae?ii:ii&&oi(ui(ii,ae),ae)}}function ks(ae){return ae.parent.kind===173&&ip(ae.parent,8)}function ls(ae){if(!Utt(ae)||Nt(ae))return;switch(ae.kind){case 277:return Cs(ae.parent)&&(f=!0),g=!0,M.updateExportDeclaration(ae,ae.modifiers,ae.isTypeOnly,ae.exportClause,Pt(ae,ae.moduleSpecifier),qw(ae.assertClause)?ae.assertClause:void 0);case 276:{if(Cs(ae.parent)&&(f=!0),g=!0,ae.expression.kind===80)return ae;{const _r=M.createUniqueName("_default",16);n=()=>({diagnosticMessage:v.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:ae}),Y=ae;const Fe=M.createVariableDeclaration(_r,void 0,W.createTypeOfExpression(ae.expression,ae,aS,B),void 0);Y=void 0;const Gt=M.createVariableStatement(s?[M.createModifier(138)]:[],M.createVariableDeclarationList([Fe],2));return ui(Gt,ae),aO(ae),[Gt,M.updateExportAssignment(ae,ae.modifiers,_r)]}}}const mt=Er(ae);return C.set(Cf(ae),mt),ae}function Yr(ae){if(cf(ae)||ip(ae,1024)||!am(ae))return ae;const mt=M.createModifiersFromModifierFlags(Wf(ae)&258046);return M.updateModifiers(ae,mt)}function Er(ae){if(T)for(;pB(T,ae););if(Nt(ae))return;switch(ae.kind){case 270:return Dr(ae);case 271:return Kt(ae)}if(Sf(ae)&&Ht(ae)||Sa(ae)&&W.isImplementationOfOverload(ae))return;let mt;Ji(ae)&&(mt=h,h=ae);const _r=Az(ae),Fe=n;_r&&(n=g1(ae));const Gt=s;switch(ae.kind){case 264:{s=!1;const Lr=zt(M.updateTypeAliasDeclaration(ae,rr(ae),ae.name,cn(ae.typeParameters,Nn,qc),R.checkDefined(ct(ae.type,Nn,ys))));return s=Gt,Lr}case 263:return zt(M.updateInterfaceDeclaration(ae,rr(ae),ae.name,ci(ae,ae.typeParameters),xt(ae.heritageClauses),cn(ae.members,Nn,wx)));case 261:{const Lr=zt(M.updateFunctionDeclaration(ae,rr(ae),void 0,ae.name,ci(ae,ae.typeParameters),Br(ae,ae.parameters),Ar(ae,ae.type),void 0));if(Lr&&W.isExpandoFunctionDeclaration(ae)&&tn(ae)){const ii=W.getPropertiesOfContainerFunction(ae),Gn=_g.createModuleDeclaration(void 0,Lr.name||M.createIdentifier("_default"),M.createModuleBlock([]),16);ko(Gn,h),Gn.locals=za(ii),Gn.symbol=ii[0].parent;const Rn=[];let L=lr(ii,ee=>{if(!ee.valueDeclaration||!(ai(ee.valueDeclaration)||Pc(ee.valueDeclaration)||Bn(ee.valueDeclaration)))return;const vt=xs(ee.escapedName);if(!od(vt,99))return;n=g1(ee.valueDeclaration);const Qt=W.createTypeOfDeclaration(ee.valueDeclaration,Gn,aS,B);n=Fe;const ht=fw(vt),Vt=ht?M.getGeneratedNameForNode(ee.valueDeclaration):M.createIdentifier(vt);ht&&Rn.push([Vt,vt]);const Nr=M.createVariableDeclaration(Vt,void 0,Qt,void 0);return M.createVariableStatement(ht?void 0:[M.createToken(95)],M.createVariableDeclarationList([Nr]))});Rn.length?L.push(M.createExportDeclaration(void 0,!1,M.createNamedExports(qt(Rn,([ee,vt])=>M.createExportSpecifier(!1,ee,vt))))):L=lr(L,ee=>M.updateModifiers(ee,0));const Se=M.createModuleDeclaration(rr(ae),ae.name,M.createModuleBlock(L),16);if(!ip(Lr,1024))return[Lr,Se];const pe=M.createModifiersFromModifierFlags(Wf(Lr)&-1026|2),ke=M.updateFunctionDeclaration(Lr,pe,void 0,Lr.name,Lr.typeParameters,Lr.parameters,Lr.type,void 0),ve=M.updateModuleDeclaration(Se,pe,Se.name,Se.body),Te=M.createExportAssignment(void 0,!1,Se.name);return Cs(ae.parent)&&(f=!0),g=!0,[ke,ve,Te]}else return Lr}case 266:{s=!1;const Lr=ae.body;if(Lr&&Lr.kind===267){const ii=d,Gn=g;g=!1,d=!1;const Rn=cn(Lr.statements,ls,Vs);let L=_n(Rn);ae.flags&16777216&&(d=!1),!dh(ae)&&!Ut(L)&&!g&&(d?L=M.createNodeArray([...L,EO(M)]):L=cn(L,Yr,Vs));const Se=M.updateModuleBlock(Lr,L);s=Gt,d=ii,g=Gn;const pe=rr(ae);return zt(M.updateModuleDeclaration(ae,pe,DT(ae)?Pt(ae,ae.name):ae.name,Se))}else{s=Gt;const ii=rr(ae);s=!1,ct(Lr,ls);const Gn=Cf(Lr),Rn=C.get(Gn);return C.delete(Gn),zt(M.updateModuleDeclaration(ae,ii,ae.name,Rn))}}case 262:{H=ae.name,Y=ae;const Lr=M.createNodeArray(rr(ae)),ii=ci(ae,ae.typeParameters),Gn=Yg(ae);let Rn;if(Gn){const Te=n;Rn=Ql(ln(Gn.parameters,ee=>{if(!gi(ee,16476)||Nt(ee))return;if(n=g1(ee),ee.name.kind===80)return ui(M.createPropertyDeclaration(rr(ee),ee.name,ee.questionToken,Ar(ee,ee.type),vr(ee)),ee);return vt(ee.name);function vt(Qt){let ht;for(const Vt of Qt.elements)bu(Vt)||(Fa(Vt.name)&&(ht=wr(ht,vt(Vt.name))),ht=ht||[],ht.push(M.createPropertyDeclaration(rr(ee),Vt.name,void 0,Ar(Vt,void 0),void 0)));return ht}})),n=Te}const Se=Ne(ae.members,Te=>!!Te.name&&fs(Te.name))?[M.createPropertyDeclaration(void 0,M.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:void 0,pe=wr(wr(Se,Rn),cn(ae.members,Nn,Mu)),ke=M.createNodeArray(pe),ve=mh(ae);if(ve&&!kl(ve.expression)&&ve.expression.kind!==106){const Te=ae.name?xs(ae.name.escapedText):"default",ee=M.createUniqueName(`${Te}_base`,16);n=()=>({diagnosticMessage:v.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:ve,typeName:ae.name});const vt=M.createVariableDeclaration(ee,void 0,W.createTypeOfExpression(ve.expression,ae,aS,B),void 0),Qt=M.createVariableStatement(s?[M.createModifier(138)]:[],M.createVariableDeclarationList([vt],2)),ht=M.createNodeArray(qt(ae.heritageClauses,Vt=>{if(Vt.token===96){const Nr=n;n=g1(Vt.types[0]);const Pn=M.updateHeritageClause(Vt,qt(Vt.types,bi=>M.updateExpressionWithTypeArguments(bi,ee,cn(bi.typeArguments,Nn,ys))));return n=Nr,Pn}return M.updateHeritageClause(Vt,cn(M.createNodeArray(gr(Vt.types,Nr=>kl(Nr.expression)||Nr.expression.kind===106)),Nn,p1))}));return[Qt,zt(M.updateClassDeclaration(ae,Lr,ae.name,ii,ht,ke))]}else{const Te=xt(ae.heritageClauses);return zt(M.updateClassDeclaration(ae,Lr,ae.name,ii,Te,ke))}}case 242:return zt(rn(ae));case 265:return zt(M.updateEnumDeclaration(ae,M.createNodeArray(rr(ae)),ae.name,M.createNodeArray(lr(ae.members,Lr=>{if(Nt(Lr))return;const ii=W.getConstantValue(Lr);return ui(M.updateEnumMember(Lr,Lr.name,ii!==void 0?typeof ii=="string"?M.createStringLiteral(ii):M.createNumericLiteral(ii):void 0),Lr)}))))}return R.assertNever(ae,`Unhandled top-level node in declaration emit: ${R.formatSyntaxKind(ae.kind)}`);function zt(Lr){return Ji(ae)&&(h=mt),_r&&(n=Fe),ae.kind===266&&(s=Gt),Lr===ae?Lr:(Y=void 0,H=void 0,Lr&&oi(ui(Lr,ae),ae))}}function rn(ae){if(!te(ae.declarationList.declarations,hn))return;const mt=cn(ae.declarationList.declarations,Nn,bs);if(G(mt))return M.updateVariableStatement(ae,M.createNodeArray(rr(ae)),M.updateVariableDeclarationList(ae.declarationList,mt))}function qr(ae){return $n(lr(ae.elements,mt=>xi(mt)))}function xi(ae){if(ae.kind!==231&&ae.name)return hn(ae)?Fa(ae.name)?qr(ae.name):M.createVariableDeclaration(ae.name,void 0,Ar(ae,void 0),void 0):void 0}function pt(ae){let mt;D||(mt=n,n=jEe(ae)),H=ae.name,R.assert(W.isLateBound(Gs(ae)));const Fe=ae.name.expression;ws(Fe,h),D||(n=mt),H=void 0}function Nt(ae){return!!Ce&&!!ae&&qie(ae,Z)}function dt(ae){return Pl(ae)||Ju(ae)}function Ut(ae){return Ne(ae,dt)}function rr(ae){const mt=Wf(ae),_r=se(ae);return mt===_r?Cie(ae.modifiers,Fe=>wi(Fe,Ha),Ha):M.createModifiersFromModifierFlags(_r)}function se(ae){let mt=241147,_r=s&&!Btt(ae)?2:0;const Fe=ae.parent.kind===311;return(!Fe||l&&Fe&&Ul(ae.parent))&&(mt^=2,_r=0),zEe(ae,mt,_r)}function at(ae,mt){let _r=Hie(ae);return!_r&&ae!==mt.firstAccessor&&(_r=Hie(mt.firstAccessor),n=g1(mt.firstAccessor)),!_r&&mt.secondAccessor&&ae!==mt.secondAccessor&&(_r=Hie(mt.secondAccessor),n=g1(mt.secondAccessor)),_r}function xt(ae){return M.createNodeArray(gr(qt(ae,mt=>M.updateHeritageClause(mt,cn(M.createNodeArray(gr(mt.types,_r=>kl(_r.expression)||mt.token===96&&_r.expression.kind===106)),Nn,p1))),mt=>mt.types&&!!mt.types.length))}}function Btt(e){return e.kind===263}function jtt(e,t,n,s){return e.createModifiersFromModifierFlags(zEe(t,n,s))}function zEe(e,t=258043,n=0){let s=Wf(e)&t|n;return s&1024&&!(s&1)&&(s^=1),s&1024&&s&2&&(s^=2),s}function Hie(e){if(e)return e.kind===176?e.type:e.parameters.length>0?e.parameters[0].type:void 0}function Jtt(e){switch(e.kind){case 171:case 170:return!ip(e,8);case 168:case 259:return!0}return!1}function Utt(e){switch(e.kind){case 261:case 266:case 270:case 263:case 262:case 264:case 265:case 242:case 271:case 277:case 276:return!0}return!1}function ztt(e){switch(e.kind){case 179:case 175:case 173:case 176:case 177:case 171:case 170:case 172:case 178:case 180:case 259:case 167:case 232:case 182:case 193:case 183:case 184:case 204:return!0}return!1}var aS,Vtt=p({"src/compiler/transformers/declarations.ts"(){Ba(),gie(),aS=531469}});function $tt(e){switch(e){case 99:case 7:case 6:case 5:return $ie;case 4:return REe;case 100:case 199:return BEe;default:return Vie}}function Gie(e,t,n){return{scriptTransformers:qtt(e,t,n),declarationTransformers:Wtt(t)}}function qtt(e,t,n){if(n)return ft;const s=Eo(e),l=Zu(e),f=V5(e),d=[];return Pi(d,t&&qt(t.before,$Ee)),d.push(gEe),e.experimentalDecorators?d.push(TEe):(s<99||!f)&&d.push(SEe),d.push(vEe),gJ(e)&&d.push(PEe),s<99&&d.push(AEe),s<8&&d.push(EEe),s<7&&d.push(wEe),s<6&&d.push(CEe),s<5&&d.push(kEe),s<4&&d.push(xEe),s<3&&d.push(NEe),s<2&&(d.push(OEe),d.push(MEe)),d.push($tt(l)),s<1&&d.push(LEe),Pi(d,t&&qt(t.after,$Ee)),d}function Wtt(e){const t=[];return t.push(Wie),Pi(t,e&&qt(e.afterDeclarations,Gtt)),t}function Htt(e){return t=>qre(t)?e.transformBundle(t):e.transformSourceFile(t)}function VEe(e,t){return n=>{const s=e(n);return typeof s=="function"?t(n,s):Htt(s)}}function $Ee(e){return VEe(e,om)}function Gtt(e){return VEe(e,(t,n)=>n)}function qD(e,t){return t}function p9(e,t,n){n(e,t)}function d9(e,t,n,s,l,f,d){var g,h;const k=new Array(362);let T,C,D,O=0,M=[],U=[],B=[],H=[],Y=0,Z=!1,fe=[],Q=0,he,W,ye=qD,de=p9,Ce=0;const K=[],ce={factory:n,getCompilerOptions:()=>s,getEmitResolver:()=>e,getEmitHost:()=>t,getEmitHelperFactory:tp(()=>Mxe(ce)),startLexicalEnvironment:je,suspendLexicalEnvironment:_t,resumeLexicalEnvironment:Lt,endLexicalEnvironment:Dt,setLexicalEnvironmentFlags:Xt,getLexicalEnvironmentFlags:Ye,hoistVariableDeclaration:ze,hoistFunctionDeclaration:st,addInitializationStatement:et,startBlockScope:Bt,endBlockScope:vr,addBlockScopedVariable:Ar,requestEmitHelper:Ht,readEmitHelpers:tn,enableSubstitution:ue,enableEmitNotification:qe,isSubstitutionEnabled:ut,isEmitNotificationEnabled:Ke,get onSubstituteNode(){return ye},set onSubstituteNode(Br){R.assert(Ce<1,"Cannot modify transformation hooks after initialization has completed."),R.assert(Br!==void 0,"Value must not be 'undefined'"),ye=Br},get onEmitNode(){return de},set onEmitNode(Br){R.assert(Ce<1,"Cannot modify transformation hooks after initialization has completed."),R.assert(Br!==void 0,"Value must not be 'undefined'"),de=Br},addDiagnostic(Br){K.push(Br)}};for(const Br of l)kre(pn(Gs(Br)));vc("beforeTransform");const le=f.map(Br=>Br(ce)),xe=Br=>{for(const Cn of le)Br=Cn(Br);return Br};Ce=1;const we=[];for(const Br of l)(g=qi)==null||g.push(qi.Phase.Emit,"transformNodes",Br.kind===311?{path:Br.path}:{kind:Br.kind,pos:Br.pos,end:Br.end}),we.push((d?xe:Ie)(Br)),(h=qi)==null||h.pop();return Ce=2,vc("afterTransform"),xp("transformTime","beforeTransform","afterTransform"),{transformed:we,substituteNode:Ge,emitNodeWithNotification:Me,isEmitNotificationEnabled:Ke,dispose:hn,diagnostics:K};function Ie(Br){return Br&&(!Cs(Br)||!Br.isDeclarationFile)?xe(Br):Br}function ue(Br){R.assert(Ce<2,"Cannot modify the transformation context after transformation has completed."),k[Br]|=1}function ut(Br){return(k[Br.kind]&1)!==0&&(xo(Br)&8)===0}function Ge(Br,Cn){return R.assert(Ce<3,"Cannot substitute a node after the result is disposed."),Cn&&ut(Cn)&&ye(Br,Cn)||Cn}function qe(Br){R.assert(Ce<2,"Cannot modify the transformation context after transformation has completed."),k[Br]|=2}function Ke(Br){return(k[Br.kind]&2)!==0||(xo(Br)&4)!==0}function Me(Br,Cn,ci){R.assert(Ce<3,"Cannot invoke TransformationResult callbacks after the result is disposed."),Cn&&(Ke(Cn)?de(Br,Cn,ci):ci(Br,Cn))}function ze(Br){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 Cn=An(n.createVariableDeclaration(Br),128);T?T.push(Cn):T=[Cn],O&1&&(O|=2)}function st(Br){R.assert(Ce>0,"Cannot modify the lexical environment during initialization."),R.assert(Ce<2,"Cannot modify the lexical environment after transformation has completed."),An(Br,2097152),C?C.push(Br):C=[Br]}function et(Br){R.assert(Ce>0,"Cannot modify the lexical environment during initialization."),R.assert(Ce<2,"Cannot modify the lexical environment after transformation has completed."),An(Br,2097152),D?D.push(Br):D=[Br]}function je(){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."),M[Y]=T,U[Y]=C,B[Y]=D,H[Y]=O,Y++,T=void 0,C=void 0,D=void 0,O=0}function _t(){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 Lt(){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 Dt(){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 Br;if(T||C||D){if(C&&(Br=[...C]),T){const Cn=n.createVariableStatement(void 0,n.createVariableDeclarationList(T));An(Cn,2097152),Br?Br.push(Cn):Br=[Cn]}D&&(Br?Br=[...Br,...D]:Br=[...D])}return Y--,T=M[Y],C=U[Y],D=B[Y],O=H[Y],Y===0&&(M=[],U=[],B=[],H=[]),Br}function Xt(Br,Cn){O=Cn?O|Br:O&~Br}function Ye(){return O}function Bt(){R.assert(Ce>0,"Cannot start a block scope during initialization."),R.assert(Ce<2,"Cannot start a block scope after transformation has completed."),fe[Q]=he,Q++,he=void 0}function vr(){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 Br=Ne(he)?[n.createVariableStatement(void 0,n.createVariableDeclarationList(he.map(Cn=>n.createVariableDeclaration(Cn)),1))]:void 0;return Q--,he=fe[Q],Q===0&&(fe=[]),Br}function Ar(Br){R.assert(Q>0,"Cannot add a block scoped variable outside of an iteration body."),(he||(he=[])).push(Br)}function Ht(Br){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(!Br.scoped,"Cannot request a scoped emit helper."),Br.dependencies)for(const Cn of Br.dependencies)Ht(Cn);W=zr(W,Br)}function tn(){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 Br=W;return W=void 0,Br}function hn(){if(Ce<3){for(const Br of l)kre(pn(Gs(Br)));T=void 0,M=void 0,C=void 0,U=void 0,ye=void 0,de=void 0,W=void 0,Ce=3}}}var Xie,s0,Xtt=p({"src/compiler/transformer.ts"(){Ba(),TT(),Xie={scriptTransformers:ft,declarationTransformers:ft},s0={factory:V,getCompilerOptions:()=>({}),getEmitResolver:Ta,getEmitHost:Ta,getEmitHelperFactory:Ta,startLexicalEnvironment:fc,resumeLexicalEnvironment:fc,suspendLexicalEnvironment:fc,endLexicalEnvironment:Jb,setLexicalEnvironmentFlags:fc,getLexicalEnvironmentFlags:()=>0,hoistVariableDeclaration:fc,hoistFunctionDeclaration:fc,addInitializationStatement:fc,startBlockScope:fc,endBlockScope:Jb,addBlockScopedVariable:fc,requestEmitHelper:fc,readEmitHelpers:Ta,enableSubstitution:fc,enableEmitNotification:fc,isSubstitutionEnabled:Ta,isEmitNotificationEnabled:Ta,onSubstituteNode:qD,onEmitNode:p9,addDiagnostic:fc}}});function qEe(e){return Vl(e,".tsbuildinfo")}function Qie(e,t,n,s=!1,l,f){const d=ka(n)?n:ate(e,n,s),g=e.getCompilerOptions();if(Ac(g)){const h=e.getPrependNodes();if(d.length||h.length){const k=V.createBundle(d,h),T=t(HD(k,e,s),k);if(T)return T}}else{if(!l)for(const h of d){const k=t(HD(h,e,s),h);if(k)return k}if(f){const h=y1(g);if(h)return t({buildInfoPath:h},void 0)}}}function y1(e){const t=e.configFilePath;if(!U5(e))return;if(e.tsBuildInfoFile)return e.tsBuildInfoFile;const n=Ac(e);let s;if(n)s=R_(n);else{if(!t)return;const l=R_(t);s=e.outDir?e.rootDir?hv(e.outDir,Gh(e.rootDir,l,!0)):vs(e.outDir,Xu(l)):l}return s+".tsbuildinfo"}function WD(e,t){const n=Ac(e),s=e.emitDeclarationOnly?void 0:n,l=s&&WEe(s,e),f=t||rm(e)?R_(n)+".d.ts":void 0,d=f&&dJ(e)?f+".map":void 0,g=y1(e);return{jsFilePath:s,sourceMapFilePath:l,declarationFilePath:f,declarationMapPath:d,buildInfoPath:g}}function HD(e,t,n){const s=t.getCompilerOptions();if(e.kind===312)return WD(s,n);{const l=UTe(e.fileName,t,Yie(e.fileName,s)),f=Nd(e),d=f&&Tx(e.fileName,l,t.getCurrentDirectory(),!t.useCaseSensitiveFileNames())===0,g=s.emitDeclarationOnly||d?void 0:l,h=!g||Nd(e)?void 0:WEe(g,s),k=n||rm(s)&&!f?zTe(e.fileName,t):void 0,T=k&&dJ(s)?k+".map":void 0;return{jsFilePath:g,sourceMapFilePath:h,declarationFilePath:k,declarationMapPath:T,buildInfoPath:void 0}}}function WEe(e,t){return t.sourceMap&&!t.inlineSourceMap?e+".map":void 0}function Yie(e,t){return Vl(e,".json")?".json":t.jsx===1&&$l(e,[".jsx",".tsx"])?".jsx":$l(e,[".mts",".mjs"])?".mjs":$l(e,[".cts",".cjs"])?".cjs":".js"}function HEe(e,t,n,s,l){return s?hv(s,Gh(l?l():XD(t,n),e,n)):e}function GD(e,t,n,s){return VT(HEe(e,t,n,t.options.declarationDir||t.options.outDir,s),ste(e))}function GEe(e,t,n,s){if(t.options.emitDeclarationOnly)return;const l=Vl(e,".json"),f=VT(HEe(e,t,n,t.options.outDir,s),Yie(e,t.options));return!l||Tx(e,f,R.checkDefined(t.options.configFilePath),n)!==0?f:void 0}function XEe(){let e;return{addOutput:t,getOutputs:n};function t(s){s&&(e||(e=[])).push(s)}function n(){return e||ft}}function QEe(e,t){const{jsFilePath:n,sourceMapFilePath:s,declarationFilePath:l,declarationMapPath:f,buildInfoPath:d}=WD(e.options,!1);t(n),t(s),t(l),t(f),t(d)}function YEe(e,t,n,s,l){if(S_(t))return;const f=GEe(t,e,n,l);if(s(f),!Vl(t,".json")&&(f&&e.options.sourceMap&&s(`${f}.map`),rm(e.options))){const d=GD(t,e,n,l);s(d),e.options.declarationMap&&s(`${d}.map`)}}function m9(e,t,n,s,l){let f;return e.rootDir?(f=ua(e.rootDir,n),l==null||l(e.rootDir)):e.composite&&e.configFilePath?(f=cs(Qu(e.configFilePath)),l==null||l(f)):f=a6e(t(),n,s),f&&f[f.length-1]!==zc&&(f+=zc),f}function XD({options:e,fileNames:t},n){return m9(e,()=>gr(t,s=>!(e.noEmitForJsFiles&&$l(s,fD))&&!S_(s)),cs(Qu(R.checkDefined(e.configFilePath))),nf(!n))}function Pz(e,t){const{addOutput:n,getOutputs:s}=XEe();if(Ac(e.options))QEe(e,n);else{const l=tp(()=>XD(e,t));for(const f of e.fileNames)YEe(e,f,t,n,l);n(y1(e.options))}return s()}function Qtt(e,t,n){t=So(t),R.assert(kt(e.fileNames,t),"Expected fileName to be present in command line");const{addOutput:s,getOutputs:l}=XEe();return Ac(e.options)?QEe(e,s):YEe(e,t,n,s),l()}function Zie(e,t){if(Ac(e.options)){const{jsFilePath:l,declarationFilePath:f}=WD(e.options,!1);return R.checkDefined(l||f,`project ${e.options.configFilePath} expected to have at least one output`)}const n=tp(()=>XD(e,t));for(const l of e.fileNames){if(S_(l))continue;const f=GEe(l,e,t,n);if(f)return f;if(!Vl(l,".json")&&rm(e.options))return GD(l,e,t,n)}const s=y1(e.options);return s||R.fail(`project ${e.options.configFilePath} expected to have at least one output`)}function Dz(e,t,n,{scriptTransformers:s,declarationTransformers:l},f,d,g){var h=t.getCompilerOptions(),k=h.sourceMap||h.inlineSourceMap||dJ(h)?[]:void 0,T=h.listEmittedFiles?[]:void 0,C=d4(),D=l1(h),O=N5(D),{enter:M,exit:U}=bB("printTime","beforePrint","afterPrint"),B,H=!1;return M(),Qie(t,Y,ate(t,n,g),g,d,!n),U(),{emitSkipped:H,diagnostics:C.getDiagnostics(),emittedFiles:T,sourceMaps:k};function Y({jsFilePath:ce,sourceMapFilePath:le,declarationFilePath:xe,declarationMapPath:we,buildInfoPath:Ie},ue){var ut,Ge,qe,Ke,Me,ze;let st;Ie&&ue&&qre(ue)&&(st=cs(ua(Ie,t.getCurrentDirectory())),B={commonSourceDirectory:et(t.getCommonSourceDirectory()),sourceFiles:ue.sourceFiles.map(je=>et(ua(je.fileName,t.getCurrentDirectory())))}),(ut=qi)==null||ut.push(qi.Phase.Emit,"emitJsFileOrBundle",{jsFilePath:ce}),fe(ue,ce,le,et),(Ge=qi)==null||Ge.pop(),(qe=qi)==null||qe.push(qi.Phase.Emit,"emitDeclarationFileOrBundle",{declarationFilePath:xe}),Q(ue,xe,we,et),(Ke=qi)==null||Ke.pop(),(Me=qi)==null||Me.push(qi.Phase.Emit,"emitBuildInfo",{buildInfoPath:Ie}),Z(B,Ie),(ze=qi)==null||ze.pop(),!H&&T&&(f||(ce&&T.push(ce),le&&T.push(le),Ie&&T.push(Ie)),f!==0&&(xe&&T.push(xe),we&&T.push(we)));function et(je){return xT(Gh(st,je,t.getCanonicalFileName))}}function Z(ce,le){if(!le||n||H)return;if(t.isEmitBlocked(le)){H=!0;return}const xe=t.getBuildInfo(ce)||h9(void 0,ce);FP(t,C,le,ZEe(xe),!1,void 0,{buildInfo:xe})}function fe(ce,le,xe,we){if(!ce||f||!le)return;if(t.isEmitBlocked(le)||h.noEmit){H=!0;return}const Ie=d9(e,t,V,h,[ce],s,!1),ue={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:!!B,relativeToBuildInfo:we},ut=l2(ue,{hasGlobalName:e.hasGlobalName,onEmitNode:Ie.emitNodeWithNotification,isEmitNotificationEnabled:Ie.isEmitNotificationEnabled,substituteNode:Ie.substituteNode});R.assert(Ie.transformed.length===1,"Should only see one output from the transform"),W(le,xe,Ie,ut,h),Ie.dispose(),B&&(B.js=ut.bundleFileInfo)}function Q(ce,le,xe,we){if(!ce||f===0)return;if(!le){(f||h.emitDeclarationOnly)&&(H=!0);return}const Ie=Cs(ce)?[ce]:ce.sourceFiles,ue=g?Ie:gr(Ie,Lee),ut=Ac(h)?[V.createBundle(ue,Cs(ce)?void 0:ce.prepends)]:ue;f&&!rm(h)&&ue.forEach(he);const Ge=d9(e,t,V,h,ut,l,!1);if(G(Ge.diagnostics))for(const ze of Ge.diagnostics)C.add(ze);const qe={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:!!B,recordInternalSection:!!B,relativeToBuildInfo:we},Ke=l2(qe,{hasGlobalName:e.hasGlobalName,onEmitNode:Ge.emitNodeWithNotification,isEmitNotificationEnabled:Ge.isEmitNotificationEnabled,substituteNode:Ge.substituteNode}),Me=!!Ge.diagnostics&&!!Ge.diagnostics.length||!!t.isEmitBlocked(le)||!!h.noEmit;H=H||Me,(!Me||g)&&(R.assert(Ge.transformed.length===1,"Should only see one output from the decl transform"),W(le,xe,Ge,Ke,{sourceMap:qe.sourceMap,sourceRoot:h.sourceRoot,mapRoot:h.mapRoot,extendedDiagnostics:h.extendedDiagnostics})),Ge.dispose(),B&&(B.dts=Ke.bundleFileInfo)}function he(ce){if(Pl(ce)){ce.expression.kind===80&&e.collectLinkedAliases(ce.expression,!0);return}else if(T_(ce)){e.collectLinkedAliases(ce.propertyName||ce.name,!0);return}_a(ce,he)}function W(ce,le,xe,we,Ie){const ue=xe.transformed[0],ut=ue.kind===312?ue:void 0,Ge=ue.kind===311?ue:void 0,qe=ut?ut.sourceFiles:[Ge];let Ke;ye(Ie,ue)&&(Ke=eEe(t,Xu(Qu(ce)),de(Ie),Ce(Ie,ce,Ge),Ie)),ut?we.writeBundle(ut,O,Ke):we.writeFile(Ge,O,Ke);let Me;if(Ke){k&&k.push({inputSourceFileNames:Ke.getSources(),sourceMap:Ke.toJSON()});const st=K(Ie,Ke,ce,le,Ge);if(st&&(O.isAtStartOfLine()||O.rawWrite(D),Me=O.getTextPos(),O.writeComment(`//# sourceMappingURL=${st}`)),le){const et=Ke.toString();FP(t,C,le,et,!1,qe),we.bundleFileInfo&&(we.bundleFileInfo.mapHash=lk(et,t))}}else O.writeLine();const ze=O.getText();FP(t,C,ce,ze,!!h.emitBOM,qe,{sourceMapUrlPos:Me,diagnostics:xe.diagnostics}),we.bundleFileInfo&&(we.bundleFileInfo.hash=lk(ze,t)),O.clear()}function ye(ce,le){return(ce.sourceMap||ce.inlineSourceMap)&&(le.kind!==311||!Vl(le.fileName,".json"))}function de(ce){const le=Qu(ce.sourceRoot||"");return le&&Vf(le)}function Ce(ce,le,xe){if(ce.sourceRoot)return t.getCommonSourceDirectory();if(ce.mapRoot){let we=Qu(ce.mapRoot);return xe&&(we=cs(rJ(xe.fileName,t,we))),Hh(we)===0&&(we=vs(t.getCommonSourceDirectory(),we)),we}return cs(So(le))}function K(ce,le,xe,we,Ie){if(ce.inlineSourceMap){const ut=le.toString();return`data:application/json;base64,${fSe(Gu,ut)}`}const ue=Xu(Qu(R.checkDefined(we)));if(ce.mapRoot){let ut=Qu(ce.mapRoot);return Ie&&(ut=cs(rJ(Ie.fileName,t,ut))),Hh(ut)===0?(ut=vs(t.getCommonSourceDirectory(),ut),encodeURI(QC(cs(So(xe)),vs(ut,ue),t.getCurrentDirectory(),t.getCanonicalFileName,!0))):encodeURI(vs(ut,ue))}return encodeURI(ue)}}function h9(e,t){return{bundle:t,program:e,version:N}}function ZEe(e){return JSON.stringify(e)}function Nz(e,t){return yte(e,t)}function Ytt(e,t,n){var s;const l=R.checkDefined(e.js),f=((s=l.sources)==null?void 0:s.prologues)&&gT(l.sources.prologues,d=>d.file);return e.sourceFiles.map((d,g)=>{const h=f==null?void 0:f.get(g),k=h==null?void 0:h.directives.map(D=>{const O=wt(V.createStringLiteral(D.expression.text),D.expression),M=wt(V.createExpressionStatement(O),D);return ko(O,M),M}),T=V.createToken(1),C=V.createSourceFile(k??[],T,0);return C.fileName=Gh(n.getCurrentDirectory(),ua(d,t),!n.useCaseSensitiveFileNames()),C.text=(h==null?void 0:h.text)??"",iD(C,0,(h==null?void 0:h.text.length)??0),k4(C.statements,C),iD(T,C.end,0),ko(T,C),C})}function KEe(e,t,n,s){var l,f;(l=qi)==null||l.push(qi.Phase.Emit,"emitUsingBuildInfo",{},!0),vc("beforeEmit");const d=Ztt(e,t,n,s);return vc("afterEmit"),xp("Emit","beforeEmit","afterEmit"),(f=qi)==null||f.pop(),d}function Ztt(e,t,n,s){const{buildInfoPath:l,jsFilePath:f,sourceMapFilePath:d,declarationFilePath:g,declarationMapPath:h}=WD(e.options,!1),k=t.getBuildInfo(l,e.options.configFilePath);if(!k||!k.bundle||!k.bundle.js||g&&!k.bundle.dts)return l;const T=t.readFile(R.checkDefined(f));if(!T||lk(T,t)!==k.bundle.js.hash)return f;const C=d&&t.readFile(d);if(d&&!C||e.options.inlineSourceMap)return d||"inline sourcemap decoding";if(d&&lk(C,t)!==k.bundle.js.mapHash)return d;const D=g&&t.readFile(g);if(g&&!D||g&&lk(D,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&&lk(O,t)!==k.bundle.dts.mapHash)return h;const M=cs(ua(l,t.getCurrentDirectory())),U=bre(f,T,d,C,g,D,h,O,l,k,!0),B=[],H=yse(e.projectReferences,n,he=>t.readFile(he),t),Y=Ytt(k.bundle,M,t);let Z,fe;const Q={getPrependNodes:tp(()=>[...H,U]),getCanonicalFileName:t.getCanonicalFileName,getCommonSourceDirectory:()=>ua(k.bundle.commonSourceDirectory,M),getCompilerOptions:()=>e.options,getCurrentDirectory:()=>t.getCurrentDirectory(),getSourceFile:Jb,getSourceFileByPath:Jb,getSourceFiles:()=>Y,getLibFileFromReference:Ta,isSourceFileFromExternalLibrary:Q0,getResolvedProjectReferenceToRedirect:Jb,getProjectReferenceRedirect:Jb,isSourceOfProjectReferenceRedirect:Q0,writeFile:(he,W,ye,de,Ce,K)=>{switch(he){case f:if(T===W)return;break;case d:if(C===W)return;break;case l:break;case g:if(D===W)return;Z=W,fe=K;break;case h:if(O===W)return;break;default:R.fail(`Unexpected path: ${he}`)}B.push({name:he,text:W,writeByteOrderMark:ye,data:K})},isEmitBlocked:Q0,readFile:he=>t.readFile(he),fileExists:he=>t.fileExists(he),useCaseSensitiveFileNames:()=>t.useCaseSensitiveFileNames(),getBuildInfo:he=>{const W=k.program;W&&Z!==void 0&&e.options.composite&&(W.outSignature=lk(Z,t,fe));const{js:ye,dts:de,sourceFiles:Ce}=k.bundle;return he.js.sources=ye.sources,de&&(he.dts.sources=de.sources),he.sourceFiles=Ce,h9(W,he)},getSourceFileFromReference:Jb,redirectTargetsMap:sd(),getFileIncludeReasons:Ta,createHash:no(t,t.createHash)};return Dz(Iz,Q,void 0,Gie(e.options,s)),B}function l2(e={},t={}){var{hasGlobalName:n,onEmitNode:s=p9,isEmitNotificationEnabled:l,substituteNode:f=qD,onBeforeEmitNode:d,onAfterEmitNode:g,onBeforeEmitNodeArray:h,onAfterEmitNodeArray:k,onBeforeEmitToken:T,onAfterEmitToken:C}=t,D=!!e.extendedDiagnostics,O=l1(e),M=Zu(e),U=new Map,B,H,Y,Z,fe,Q,he,W,ye,de,Ce,K,ce,le,xe,we=e.preserveSourceNewlines,Ie,ue,ut,Ge=wE,qe,Ke=e.writeBundleFileInfo?{sections:[]}:void 0,Me=Ke?R.checkDefined(e.relativeToBuildInfo):void 0,ze=e.recordInternalSection,st=0,et="text",je=!0,_t,Lt,Dt=-1,Xt,Ye=-1,Bt=-1,vr=-1,Ar=-1,Ht,tn,hn=!1,Br=!!e.removeComments,Cn,ci,{enter:Ji,exit:ws}=abe(D,"commentTime","beforeComment","afterComment"),ui=V.parenthesizer,Pt={select:I=>I===0?ui.parenthesizeLeadingTypeArgument:void 0},Dr=zl();return mt(),{printNode:Kt,printList:Qr,printFile:Nn,printBundle:_n,writeNode:ls,writeList:Yr,writeFile:Ut,writeBundle:Nt,bundleFileInfo:Ke};function Kt(I,me,Xe){switch(I){case 0:R.assert(Cs(me),"Expected a SourceFile node.");break;case 2:R.assert(He(me),"Expected an Identifier node.");break;case 1:R.assert(Ct(me),"Expected an Expression node.");break}switch(me.kind){case 311:return Nn(me);case 312:return _n(me);case 313:return ks(me)}return ls(I,me,Xe,rr()),se()}function Qr(I,me,Xe){return Yr(I,me,Xe,rr()),se()}function _n(I){return Nt(I,rr(),void 0),se()}function Nn(I){return Ut(I,rr(),void 0),se()}function ks(I){return dt(I,rr()),se()}function ls(I,me,Xe,Tr){const jt=ue;ae(Tr,void 0),at(I,me,Xe),mt(),ue=jt}function Yr(I,me,Xe,Tr){const jt=ue;ae(Tr,void 0),Xe&&xt(Xe),nc(void 0,me,I),mt(),ue=jt}function Er(){return ue.getTextPosWithWriteLine?ue.getTextPosWithWriteLine():ue.getTextPos()}function rn(I,me,Xe){const Tr=Bc(Ke.sections);Tr&&Tr.kind===Xe?Tr.end=me:Ke.sections.push({pos:I,end:me,kind:Xe})}function qr(I){if(ze&&Ke&&B&&(Sf(I)||Yl(I))&&qie(I,B)&&et!=="internal"){const me=et;return pt(ue.getTextPos()),st=Er(),et="internal",me}}function xi(I){I&&(pt(ue.getTextPos()),st=Er(),et=I)}function pt(I){return st<I?(rn(st,I,et),!0):!1}function Nt(I,me,Xe){qe=!1;const Tr=ue;ae(me,Xe),Kv(I),Rk(I),Vt(I),S2(I);for(const jt of I.prepends){Hl();const is=ue.getTextPos(),Di=Ke&&Ke.sections;if(Di&&(Ke.sections=[]),at(4,jt,void 0),Ke){const Ts=Ke.sections;Ke.sections=Di,jt.oldFileOfCurrentEmit?Ke.sections.push(...Ts):(Ts.forEach(Da=>R.assert(TSe(Da))),Ke.sections.push({pos:is,end:ue.getTextPos(),kind:"prepend",data:Me(jt.fileName),texts:Ts}))}}st=Er();for(const jt of I.sourceFiles)at(0,jt,jt);if(Ke&&I.sourceFiles.length){const jt=ue.getTextPos();if(pt(jt)){const is=wA(I);is&&(Ke.sources||(Ke.sources={}),Ke.sources.prologues=is);const Di=ht(I);Di&&(Ke.sources||(Ke.sources={}),Ke.sources.helpers=Di)}}mt(),ue=Tr}function dt(I,me){const Xe=ue;ae(me,void 0),at(4,I,void 0),mt(),ue=Xe}function Ut(I,me,Xe){qe=!0;const Tr=ue;ae(me,Xe),Kv(I),Rk(I),at(0,I,I),mt(),ue=Tr}function rr(){return ut||(ut=N5(O))}function se(){const I=ut.getText();return ut.clear(),I}function at(I,me,Xe){Xe&&xt(Xe),Rn(I,me,void 0)}function xt(I){B=I,Ht=void 0,tn=void 0,I&&RS(I)}function ae(I,me){I&&e.omitTrailingSemicolon&&(I=rte(I)),ue=I,_t=me,je=!ue||!_t}function mt(){H=[],Y=[],Z=[],fe=new Set,Q=[],he=new Map,W=[],ye=0,de=[],Ce=0,K=[],ce=void 0,le=[],xe=void 0,B=void 0,Ht=void 0,tn=void 0,ae(void 0,void 0)}function _r(){return Ht||(Ht=Vy(R.checkDefined(B)))}function Fe(I,me){if(I===void 0)return;const Xe=qr(I);Rn(4,I,me),xi(Xe)}function Gt(I){I!==void 0&&Rn(2,I,void 0)}function zt(I,me){I!==void 0&&Rn(1,I,me)}function Lr(I){Rn(yo(I)?6:4,I)}function ii(I){we&&Qd(I)&4&&(we=!1)}function Gn(I){we=I}function Rn(I,me,Xe){ci=Xe,pe(0,I,me)(I,me),ci=void 0}function L(I){return!Br&&!Cs(I)}function Se(I){return!je&&!Cs(I)&&!jj(I)&&!Yx(I)&&!nke(I)}function pe(I,me,Xe){switch(I){case 0:if(s!==p9&&(!l||l(Xe)))return ve;case 1:if(f!==qD&&(Cn=f(me,Xe)||Xe)!==Xe)return ci&&(Cn=ci(Cn)),Qt;case 2:if(L(Xe))return Fo;case 3:if(Se(Xe))return Hk;case 4:return Te;default:return R.assertNever(I)}}function ke(I,me,Xe){return pe(I+1,me,Xe)}function ve(I,me){const Xe=ke(0,I,me);s(I,me,Xe)}function Te(I,me){if(d==null||d(me),we){const Xe=we;ii(me),ee(I,me),Gn(Xe)}else ee(I,me);g==null||g(me),ci=void 0}function ee(I,me,Xe=!0){if(Xe){const Tr=wre(me);if(Tr)return Oi(I,me,Tr)}if(I===0)return _0(Ua(me,Cs));if(I===2)return Li(Ua(me,He));if(I===6)return bi(Ua(me,yo),!0);if(I===3)return vt(Ua(me,qc));if(I===5)return R.assertNode(me,Ure),zs(!0);if(I===4){switch(me.kind){case 16:case 17:case 18:return bi(me,!1);case 80:return Li(me);case 81:return Zs(me);case 165:return Hc(me);case 166:return nn(me);case 167:return ta(me);case 168:return Za(me);case 169:return ga(me);case 170:return Rc(me);case 171:return Dl(me);case 172:return Nl(me);case 173:return ku(me);case 174:return la(me);case 175:return Ns(me);case 176:case 177:return Wl(me);case 178:return Gc(me);case 179:return Af(me);case 180:return Zl(me);case 181:return hl(me);case 182:return Sc(me);case 183:return Jc(me);case 184:return be(me);case 185:return ie(me);case 186:return Je(me);case 187:return Et(me);case 188:return In(me);case 189:return hi(me);case 191:return di(me);case 192:return Us(me);case 193:return Va(me);case 194:return tl(me);case 195:return ic(me);case 232:return cy(me);case 196:return sc();case 197:return mu(me);case 198:return cl(me);case 199:return Mo(me);case 200:return hc(me);case 201:return Wn(me);case 202:return Ku(me);case 203:return Vu(me);case 204:return Xc(me);case 205:return wu(me);case 206:return lp(me);case 207:return x_(me);case 238:return nr(me);case 239:return pc();case 240:return On(me);case 242:return ns(me);case 241:return zs(!1);case 243:return ba(me);case 244:return Ic(me);case 245:return Kl(me);case 246:return Bp(me);case 247:return z_(me);case 248:return xh(me);case 249:return Vm(me);case 250:return Re(me);case 251:return lt(me);case 252:return dn(me);case 253:return $i(me);case 254:return As(me);case 255:return Ln(me);case 256:return si(me);case 257:return zn(me);case 258:return ya(me);case 259:return gl(me);case 260:return hu(me);case 261:return V_(me);case 262:return Ak(me);case 263:return h2(me);case 264:return dS(me);case 265:return Xv(me);case 266:return hE(me);case 267:return g2(me);case 268:return gE(me);case 269:return vE(me);case 270:return mS(me);case 271:return Pk(me);case 272:return hS(me);case 273:return Qv(me);case 279:return c0(me);case 274:return Yv(me);case 275:return Zv(me);case 276:return Dk(me);case 277:return E1(me);case 278:return ly(me);case 280:return kh(me);case 299:return Do(me);case 300:return gS(me);case 281:return;case 282:return C_(me);case 12:return yS(me);case 285:case 288:return bE(me);case 286:case 289:return Ik(me);case 290:return TE(me);case 291:return y2(me);case 292:return v2(me);case 293:return Ok(me);case 294:return rt(me);case 295:return fy(me);case 296:return A1(me);case 297:return u0(me);case 298:return T2(me);case 302:return yl(me);case 303:return f0(me);case 304:return No(me);case 305:return $_(me);case 306:return rs(me);case 313:case 307:return Vi(me);case 308:case 309:return qs(me);case 310:return Ys(me);case 311:return _0(me);case 312:return R.fail("Bundles should be printed using printBundle");case 314:return R.fail("InputFiles should not be printed");case 315:return D1(me);case 316:return q_(me);case 318:return gn("*");case 319:return gn("?");case 320:return Bl(me);case 321:return ff(me);case 322:return Cu(me);case 323:return br(me);case 190:case 324:return Rt(me);case 325:return;case 326:return bS(me);case 328:return Mk(me);case 329:return ms(me);case 333:case 338:case 343:return Lk(me);case 334:case 335:return P1(me);case 336:case 337:return;case 339:case 340:case 341:case 342:return;case 344:return xE(me);case 345:return Ch(me);case 347:case 354:return mi(me);case 346:case 348:case 349:case 350:case 355:case 356:return Df(me);case 351:return TS(me);case 352:return SS(me);case 353:return _y(me);case 358:return}if(Ct(me)&&(I=1,f!==qD)){const Tr=f(I,me)||me;Tr!==me&&(me=Tr,ci&&(me=ci(me)))}}if(I===1)switch(me.kind){case 9:case 10:return Pn(me);case 11:case 14:case 15:return bi(me,!1);case 80:return Li(me);case 81:return Zs(me);case 208:return De(me);case 209:return er(me);case 210:return sn(me);case 211:return fa(me);case 212:return _e(me);case 213:return bt(me);case 214:return Yt(me);case 215:return Zt(me);case 216:return Cr(me);case 217:return an(me);case 218:return ti(me);case 219:return ds(me);case 220:return sa(me);case 221:return Ka(me);case 222:return xc(me);case 223:return Nc(me);case 224:return yd(me);case 225:return Dr(me);case 226:return Rp(me);case 227:return f_(me);case 228:return up(me);case 229:return Pf(me);case 230:return zm(me);case 231:return;case 233:return gg(me);case 234:return yg(me);case 232:return cy(me);case 237:return X(me);case 235:return nt(me);case 236:return R.fail("SyntheticExpression should never be printed.");case 281:return;case 283:return w_(me);case 284:return uy(me);case 287:return Nk(me);case 357:return R.fail("SyntaxList should not be printed");case 358:return;case 359:return kS(me);case 360:return Fk(me);case 361:return R.fail("SyntheticReferenceExpression should not be printed")}if(b_(me.kind))return AS(me,Ws);if(VK(me.kind))return AS(me,gn);R.fail(`Unhandled SyntaxKind: ${R.formatSyntaxKind(me.kind)}.`)}function vt(I){Fe(I.name),xn(),Ws("in"),xn(),Fe(I.constraint)}function Qt(I,me){const Xe=ke(1,I,me);R.assertIsDefined(Cn),me=Cn,Cn=void 0,Xe(I,me)}function ht(I){let me;if(M===0||e.noEmitHelpers)return;const Xe=new Map;for(const Tr of I.sourceFiles){const jt=DO(Tr)!==void 0,is=Nr(Tr);if(is)for(const Di of is)!Di.scoped&&!jt&&!Xe.get(Di.name)&&(Xe.set(Di.name,!0),(me||(me=[])).push(Di.name))}return me}function Vt(I){let me=!1;const Xe=I.kind===312?I:void 0;if(Xe&&M===0)return;const Tr=Xe?Xe.prepends.length:0,jt=Xe?Xe.sourceFiles.length+Tr:1;for(let is=0;is<jt;is++){const Di=Xe?is<Tr?Xe.prepends[is]:Xe.sourceFiles[is-Tr]:I,Ts=Cs(Di)?Di:Yx(Di)?void 0:B,Da=e.noEmitHelpers||!!Ts&&gke(Ts),H_=(Cs(Di)||Yx(Di))&&!qe,G_=Yx(Di)?Di.helpers:Nr(Di);if(G_)for(const d_ of G_){if(d_.scoped){if(Xe)continue}else{if(Da)continue;if(H_){if(U.get(d_.name))continue;U.set(d_.name,!0)}}const F2=Er();typeof d_.text=="string"?A2(d_.text):A2(d_.text(PA)),Ke&&Ke.sections.push({pos:F2,end:ue.getTextPos(),kind:"emitHelpers",data:d_.name}),me=!0}}return me}function Nr(I){const me=BJ(I);return me&&G0(me,Fxe)}function Pn(I){bi(I,!1)}function bi(I,me){const Xe=PS(I,e.neverAsciiEscape,me);(e.sourceMap||e.inlineSourceMap)&&(I.kind===11||Sv(I.kind))?ib(Xe):zk(Xe)}function Vi(I){for(const me of I.texts)Hl(),Fe(me)}function rs(I){ue.rawWrite(I.parent.text.substring(I.pos,I.end))}function qs(I){const me=Er();rs(I),Ke&&rn(me,ue.getTextPos(),I.kind===308?"text":"internal")}function Ys(I){const me=Er();if(rs(I),Ke){const Xe=XY(I.section);Xe.pos=me,Xe.end=ue.getTextPos(),Ke.sections.push(Xe)}}function Oi(I,me,Xe){switch(Xe.kind){case 1:Js(I,me,Xe);break;case 0:Es(I,me,Xe);break}}function Js(I,me,Xe){C2(`\${${Xe.order}:`),ee(I,me,!1),C2("}")}function Es(I,me,Xe){R.assert(me.kind===241,`A tab stop cannot be attached to a node of kind ${R.formatSyntaxKind(me.kind)}.`),R.assert(I!==5,"A tab stop cannot be attached to an embedded statement."),C2(`$${Xe.order}`)}function Li(I){(I.symbol?Vk:Ge)(O1(I,!1),I.symbol),nc(I,qx(I),53776)}function Zs(I){Ge(O1(I,!1))}function Hc(I){rc(I.left),gn("."),Fe(I.right)}function rc(I){I.kind===80?zt(I):Fe(I)}function nn(I){const me=ye,Xe=xe;sb(),gn("["),zt(I.expression,ui.parenthesizeExpressionOfComputedPropertyName),gn("]"),rl(me,Xe)}function ta(I){p0(I,I.modifiers),Fe(I.name),I.constraint&&(xn(),Ws("extends"),xn(),Fe(I.constraint)),I.default&&(xn(),d0("="),xn(),Fe(I.default))}function Za(I){_p(I,I.modifiers,!0),Fe(I.dotDotDotToken),Bk(I.name,ES),Fe(I.questionToken),I.parent&&I.parent.kind===323&&!I.name?Fe(I.type):W_(I.type),eb(I.initializer,I.type?I.type.end:I.questionToken?I.questionToken.end:I.name?I.name.end:I.modifiers?I.modifiers.end:I.pos,I,ui.parenthesizeExpressionForDisallowedComma)}function ga(I){gn("@"),zt(I.expression,ui.parenthesizeLeftSideOfAccess)}function Rc(I){p0(I,I.modifiers),Bk(I.name,k2),Fe(I.questionToken),W_(I.type),Il()}function Dl(I){_p(I,I.modifiers,!0),Fe(I.name),Fe(I.questionToken),Fe(I.exclamationToken),W_(I.type),eb(I.initializer,I.type?I.type.end:I.questionToken?I.questionToken.end:I.name.end,I),Il()}function Nl(I){Td(I),p0(I,I.modifiers),Fe(I.name),Fe(I.questionToken),Wm(I,I.typeParameters),pp(I,I.parameters),W_(I.type),Il(),m0(I)}function ku(I){_p(I,I.modifiers,!0),Fe(I.asteriskToken),Fe(I.name),Fe(I.questionToken),bg(I,vd)}function la(I){Ws("static"),Gv(I.body)}function Ns(I){_p(I,I.modifiers,!1),Ws("constructor"),bg(I,vd)}function Wl(I){const me=_p(I,I.modifiers,!0),Xe=I.kind===176?139:153;St(Xe,me,Ws,I),xn(),Fe(I.name),bg(I,vd)}function Gc(I){Td(I),Wm(I,I.typeParameters),pp(I,I.parameters),W_(I.type),Il(),m0(I)}function Af(I){Td(I),Ws("new"),xn(),Wm(I,I.typeParameters),pp(I,I.parameters),W_(I.type),Il(),m0(I)}function Zl(I){_p(I,I.modifiers,!1),AA(I,I.parameters),W_(I.type),Il()}function Vu(I){Fe(I.type),Fe(I.literal)}function pc(){Il()}function hl(I){I.assertsModifier&&(Fe(I.assertsModifier),xn()),Fe(I.parameterName),I.type&&(xn(),Ws("is"),xn(),Fe(I.type))}function Sc(I){Fe(I.typeName),qm(I,I.typeArguments)}function Jc(I){Td(I),Wm(I,I.typeParameters),rb(I,I.parameters),xn(),gn("=>"),xn(),Fe(I.type),m0(I)}function br(I){Ws("function"),pp(I,I.parameters),gn(":"),Fe(I.type)}function Bl(I){gn("?"),Fe(I.type)}function ff(I){gn("!"),Fe(I.type)}function Cu(I){Fe(I.type),gn("=")}function be(I){Td(I),p0(I,I.modifiers),Ws("new"),xn(),Wm(I,I.typeParameters),pp(I,I.parameters),xn(),gn("=>"),xn(),Fe(I.type),m0(I)}function ie(I){Ws("typeof"),xn(),Fe(I.exprName),qm(I,I.typeArguments)}function Je(I){rl(0,void 0),gn("{");const me=xo(I)&1?768:32897;nc(I,I.members,me|524288),gn("}"),sb()}function Et(I){Fe(I.elementType,ui.parenthesizeNonArrayTypeOfPostfixType),gn("["),gn("]")}function Rt(I){gn("..."),Fe(I.type)}function In(I){St(23,I.pos,gn,I);const me=xo(I)&1?528:657;nc(I,I.elements,me|524288,ui.parenthesizeElementTypeOfTupleType),St(24,I.elements.end,gn,I)}function Wn(I){Fe(I.dotDotDotToken),Fe(I.name),Fe(I.questionToken),St(59,I.name.end,gn,I),xn(),Fe(I.type)}function hi(I){Fe(I.type,ui.parenthesizeTypeOfOptionalType),gn("?")}function di(I){nc(I,I.types,516,ui.parenthesizeConstituentTypeOfUnionType)}function Us(I){nc(I,I.types,520,ui.parenthesizeConstituentTypeOfIntersectionType)}function Va(I){Fe(I.checkType,ui.parenthesizeCheckTypeOfConditionalType),xn(),Ws("extends"),xn(),Fe(I.extendsType,ui.parenthesizeExtendsTypeOfConditionalType),xn(),gn("?"),xn(),Fe(I.trueType),xn(),gn(":"),xn(),Fe(I.falseType)}function tl(I){Ws("infer"),xn(),Fe(I.typeParameter)}function ic(I){gn("("),Fe(I.type),gn(")")}function sc(){Ws("this")}function mu(I){dy(I.operator,Ws),xn();const me=I.operator===148?ui.parenthesizeOperandOfReadonlyTypeOperator:ui.parenthesizeOperandOfTypeOperator;Fe(I.type,me)}function cl(I){Fe(I.objectType,ui.parenthesizeNonArrayTypeOfPostfixType),gn("["),Fe(I.indexType),gn("]")}function Mo(I){const me=xo(I);gn("{"),me&1?xn():(Hl(),wh()),I.readonlyToken&&(Fe(I.readonlyToken),I.readonlyToken.kind!==148&&Ws("readonly"),xn()),gn("["),Rn(3,I.typeParameter),I.nameType&&(xn(),Ws("as"),xn(),Fe(I.nameType)),gn("]"),I.questionToken&&(Fe(I.questionToken),I.questionToken.kind!==58&&gn("?")),gn(":"),xn(),Fe(I.type),Il(),me&1?xn():(Hl(),jd()),nc(I,I.members,2),gn("}")}function hc(I){zt(I.literal)}function Ku(I){Fe(I.head),nc(I,I.templateSpans,262144)}function Xc(I){if(I.isTypeOf&&(Ws("typeof"),xn()),Ws("import"),gn("("),Fe(I.argument),I.assertions){gn(","),xn(),gn("{"),xn(),Ws("assert"),gn(":"),xn();const me=I.assertions.assertClause.elements;nc(I.assertions.assertClause,me,526226),xn(),gn("}")}gn(")"),I.qualifier&&(gn("."),Fe(I.qualifier)),qm(I,I.typeArguments)}function wu(I){gn("{"),nc(I,I.elements,525136),gn("}")}function lp(I){gn("["),nc(I,I.elements,524880),gn("]")}function x_(I){Fe(I.dotDotDotToken),I.propertyName&&(Fe(I.propertyName),gn(":"),xn()),Fe(I.name),eb(I.initializer,I.name.end,I,ui.parenthesizeExpressionForDisallowedComma)}function De(I){const me=I.elements,Xe=I.multiLine?65536:0;wS(I,me,8914|Xe,ui.parenthesizeExpressionForDisallowedComma)}function er(I){rl(0,void 0),te(I.properties,EE);const me=xo(I)&131072;me&&wh();const Xe=I.multiLine?65536:0,Tr=B&&B.languageVersion>=1&&!Nd(B)?64:0;nc(I,I.properties,526226|Tr|Xe),me&&jd(),sb()}function sn(I){zt(I.expression,ui.parenthesizeLeftSideOfAccess);const me=I.questionDotToken||ag(V.createToken(25),I.expression.end,I.name.pos),Xe=_f(I,I.expression,me),Tr=_f(I,me,I.name);Sg(Xe,!1),me.kind!==29&&Zi(I.expression)&&!ue.hasTrailingComment()&&!ue.hasTrailingWhitespace()&&gn("."),I.questionDotToken?Fe(me):St(me.kind,I.expression.end,gn,I),Sg(Tr,!1),Fe(I.name),Jd(Xe,Tr)}function Zi(I){if(I=Xd(I),Hp(I)){const me=PS(I,!0,!1);return!(I.numericLiteralFlags&448)&&!rf(me,io(25))&&!rf(me,String.fromCharCode(69))&&!rf(me,String.fromCharCode(101))}else if(jc(I)){const me=Axe(I);return typeof me=="number"&&isFinite(me)&&Math.floor(me)===me}}function fa(I){zt(I.expression,ui.parenthesizeLeftSideOfAccess),Fe(I.questionDotToken),St(23,I.expression.end,gn,I),zt(I.argumentExpression),St(24,I.argumentExpression.end,gn,I)}function _e(I){const me=Qd(I)&16;me&&(gn("("),ib("0"),gn(","),xn()),zt(I.expression,ui.parenthesizeLeftSideOfAccess),me&&gn(")"),Fe(I.questionDotToken),qm(I,I.typeArguments),wS(I,I.arguments,2576,ui.parenthesizeExpressionForDisallowedComma)}function bt(I){St(105,I.pos,Ws,I),xn(),zt(I.expression,ui.parenthesizeExpressionOfNew),qm(I,I.typeArguments),wS(I,I.arguments,18960,ui.parenthesizeExpressionForDisallowedComma)}function Yt(I){const me=Qd(I)&16;me&&(gn("("),ib("0"),gn(","),xn()),zt(I.tag,ui.parenthesizeLeftSideOfAccess),me&&gn(")"),qm(I,I.typeArguments),xn(),zt(I.template)}function Zt(I){gn("<"),Fe(I.type),gn(">"),zt(I.expression,ui.parenthesizeOperandOfPrefixUnary)}function Cr(I){const me=St(21,I.pos,gn,I),Xe=p_(I.expression,I);zt(I.expression,void 0),bd(I.expression,I),Jd(Xe),St(22,I.expression?I.expression.end:me,gn,I)}function an(I){cu(I.name),vg(I)}function ti(I){p0(I,I.modifiers),bg(I,ki)}function ki(I){Wm(I,I.typeParameters),rb(I,I.parameters),W_(I.type),xn(),Fe(I.equalsGreaterThanToken)}function ds(I){St(91,I.pos,Ws,I),xn(),zt(I.expression,ui.parenthesizeOperandOfPrefixUnary)}function sa(I){St(114,I.pos,Ws,I),xn(),zt(I.expression,ui.parenthesizeOperandOfPrefixUnary)}function Ka(I){St(116,I.pos,Ws,I),xn(),zt(I.expression,ui.parenthesizeOperandOfPrefixUnary)}function xc(I){St(135,I.pos,Ws,I),xn(),zt(I.expression,ui.parenthesizeOperandOfPrefixUnary)}function Nc(I){dy(I.operator,d0),k_(I)&&xn(),zt(I.operand,ui.parenthesizeOperandOfPrefixUnary)}function k_(I){const me=I.operand;return me.kind===223&&(I.operator===40&&(me.operator===40||me.operator===46)||I.operator===41&&(me.operator===41||me.operator===47))}function yd(I){zt(I.operand,ui.parenthesizeOperandOfPostfixUnary),dy(I.operator,d0)}function zl(){return NU(I,me,Xe,Tr,jt,void 0);function I(Di,Ts){if(Ts){Ts.stackIndex++,Ts.preserveSourceNewlinesStack[Ts.stackIndex]=we,Ts.containerPosStack[Ts.stackIndex]=Bt,Ts.containerEndStack[Ts.stackIndex]=vr,Ts.declarationListContainerEndStack[Ts.stackIndex]=Ar;const Da=Ts.shouldEmitCommentsStack[Ts.stackIndex]=L(Di),H_=Ts.shouldEmitSourceMapsStack[Ts.stackIndex]=Se(Di);d==null||d(Di),Da&&Yn(Di),H_&&MS(Di),ii(Di)}else Ts={stackIndex:0,preserveSourceNewlinesStack:[void 0],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[!1],shouldEmitSourceMapsStack:[!1]};return Ts}function me(Di,Ts,Da){return is(Di,Da,"left")}function Xe(Di,Ts,Da){const H_=Di.kind!==28,G_=_f(Da,Da.left,Di),d_=_f(Da,Di,Da.right);Sg(G_,H_),$u(Di.pos),AS(Di,Di.kind===103?Ws:d0),Ah(Di.end,!0),Sg(d_,!0)}function Tr(Di,Ts,Da){return is(Di,Da,"right")}function jt(Di,Ts){const Da=_f(Di,Di.left,Di.operatorToken),H_=_f(Di,Di.operatorToken,Di.right);if(Jd(Da,H_),Ts.stackIndex>0){const G_=Ts.preserveSourceNewlinesStack[Ts.stackIndex],d_=Ts.containerPosStack[Ts.stackIndex],F2=Ts.containerEndStack[Ts.stackIndex],m_=Ts.declarationListContainerEndStack[Ts.stackIndex],R2=Ts.shouldEmitCommentsStack[Ts.stackIndex],fb=Ts.shouldEmitSourceMapsStack[Ts.stackIndex];Gn(G_),fb&&M2(Di),R2&&Up(Di,d_,F2,m_),g==null||g(Di),Ts.stackIndex--}}function is(Di,Ts,Da){const H_=Da==="left"?ui.getParenthesizeLeftSideOfBinaryForOperator(Ts.operatorToken.kind):ui.getParenthesizeRightSideOfBinaryForOperator(Ts.operatorToken.kind);let G_=pe(0,1,Di);if(G_===Qt&&(R.assertIsDefined(Cn),Di=H_(Ua(Cn,Ct)),G_=ke(1,1,Di),Cn=void 0),(G_===Fo||G_===Hk||G_===Te)&&Bn(Di))return Di;ci=H_,G_(1,Di)}}function Rp(I){const me=_f(I,I.condition,I.questionToken),Xe=_f(I,I.questionToken,I.whenTrue),Tr=_f(I,I.whenTrue,I.colonToken),jt=_f(I,I.colonToken,I.whenFalse);zt(I.condition,ui.parenthesizeConditionOfConditionalExpression),Sg(me,!0),Fe(I.questionToken),Sg(Xe,!0),zt(I.whenTrue,ui.parenthesizeBranchOfConditionalExpression),Jd(me,Xe),Sg(Tr,!0),Fe(I.colonToken),Sg(jt,!0),zt(I.whenFalse,ui.parenthesizeBranchOfConditionalExpression),Jd(Tr,jt)}function f_(I){Fe(I.head),nc(I,I.templateSpans,262144)}function up(I){St(127,I.pos,Ws,I),Fe(I.asteriskToken),tb(I.expression&&Wr(I.expression),Hr)}function Pf(I){St(26,I.pos,gn,I),zt(I.expression,ui.parenthesizeExpressionForDisallowedComma)}function zm(I){cu(I.name),pS(I)}function cy(I){zt(I.expression,ui.parenthesizeLeftSideOfAccess),qm(I,I.typeArguments)}function gg(I){zt(I.expression,void 0),I.type&&(xn(),Ws("as"),xn(),Fe(I.type))}function yg(I){zt(I.expression,ui.parenthesizeLeftSideOfAccess),d0("!")}function X(I){zt(I.expression,void 0),I.type&&(xn(),Ws("satisfies"),xn(),Fe(I.type))}function nt(I){w2(I.keywordToken,I.pos,gn),gn("."),Fe(I.name)}function nr(I){zt(I.expression),Fe(I.literal)}function On(I){pa(I,!I.multiLine&&$k(I))}function pa(I,me){St(19,I.pos,gn,I);const Xe=me||xo(I)&1?768:129;nc(I,I.statements,Xe),St(20,I.statements.end,gn,I,!!(Xe&1))}function ns(I){_p(I,I.modifiers,!1),Fe(I.declarationList),Il()}function zs(I){I?gn(";"):Il()}function ba(I){zt(I.expression,ui.parenthesizeExpressionOfExpressionStatement),(!B||!Nd(B)||Ec(I.expression))&&Il()}function Ic(I){const me=St(101,I.pos,Ws,I);xn(),St(21,me,gn,I),zt(I.expression),St(22,I.expression.end,gn,I),$m(I,I.thenStatement),I.elseStatement&&(E2(I,I.thenStatement,I.elseStatement),St(93,I.thenStatement.end,Ws,I),I.elseStatement.kind===244?(xn(),Fe(I.elseStatement)):$m(I,I.elseStatement))}function Po(I,me){const Xe=St(117,me,Ws,I);xn(),St(21,Xe,gn,I),zt(I.expression),St(22,I.expression.end,gn,I)}function Kl(I){St(92,I.pos,Ws,I),$m(I,I.statement),Pa(I.statement)&&!we?xn():E2(I,I.statement,I.expression),Po(I,I.statement.end),Il()}function Bp(I){Po(I,I.pos),$m(I,I.statement)}function z_(I){const me=St(99,I.pos,Ws,I);xn();let Xe=St(21,me,gn,I);fm(I.initializer),Xe=St(27,I.initializer?I.initializer.end:Xe,gn,I),tb(I.condition),Xe=St(27,I.condition?I.condition.end:Xe,gn,I),tb(I.incrementor),St(22,I.incrementor?I.incrementor.end:Xe,gn,I),$m(I,I.statement)}function xh(I){const me=St(99,I.pos,Ws,I);xn(),St(21,me,gn,I),fm(I.initializer),xn(),St(103,I.initializer.end,Ws,I),xn(),zt(I.expression),St(22,I.expression.end,gn,I),$m(I,I.statement)}function Vm(I){const me=St(99,I.pos,Ws,I);xn(),jk(I.awaitModifier),St(21,me,gn,I),fm(I.initializer),xn(),St(164,I.initializer.end,Ws,I),xn(),zt(I.expression),St(22,I.expression.end,gn,I),$m(I,I.statement)}function fm(I){I!==void 0&&(I.kind===260?Fe(I):zt(I))}function Re(I){St(88,I.pos,Ws,I),py(I.label),Il()}function lt(I){St(83,I.pos,Ws,I),py(I.label),Il()}function St(I,me,Xe,Tr,jt){const is=Gs(Tr),Di=is&&is.kind===Tr.kind,Ts=me;if(Di&&B&&(me=fo(B.text,me)),Di&&Tr.pos!==Ts){const Da=jt&&B&&!Ld(Ts,me,B);Da&&wh(),$u(Ts),Da&&jd()}if(me=dy(I,Xe,me),Di&&Tr.end!==me){const Da=Tr.kind===293;Ah(me,!Da,Da)}return me}function dr(I){return I.kind===2||!!I.hasTrailingNewLine}function $r(I){return B?Ne(Vg(B.text,I.pos),dr)||Ne(D4(I),dr)?!0:yU(I)?I.pos!==I.expression.pos&&Ne(Vb(B.text,I.expression.pos),dr)?!0:$r(I.expression):!1:!1}function Wr(I){if(!Br&&yU(I)&&$r(I)){const me=Gs(I);if(me&&j_(me)){const Xe=V.createParenthesizedExpression(I.expression);return oi(Xe,I),wt(Xe,me),Xe}return V.createParenthesizedExpression(I)}return I}function Hr(I){return Wr(ui.parenthesizeExpressionForDisallowedComma(I))}function dn(I){St(107,I.pos,Ws,I),tb(I.expression&&Wr(I.expression),Wr),Il()}function $i(I){const me=St(118,I.pos,Ws,I);xn(),St(21,me,gn,I),zt(I.expression),St(22,I.expression.end,gn,I),$m(I,I.statement)}function As(I){const me=St(109,I.pos,Ws,I);xn(),St(21,me,gn,I),zt(I.expression),St(22,I.expression.end,gn,I),xn(),Fe(I.caseBlock)}function Ln(I){Fe(I.label),St(59,I.label.end,gn,I),xn(),Fe(I.statement)}function si(I){St(111,I.pos,Ws,I),tb(Wr(I.expression),Wr),Il()}function zn(I){St(113,I.pos,Ws,I),xn(),Fe(I.tryBlock),I.catchClause&&(E2(I,I.tryBlock,I.catchClause),Fe(I.catchClause)),I.finallyBlock&&(E2(I,I.catchClause||I.tryBlock,I.finallyBlock),St(98,(I.catchClause||I.tryBlock).end,Ws,I),xn(),Fe(I.finallyBlock))}function ya(I){w2(89,I.pos,Ws),Il()}function gl(I){var me,Xe,Tr;Fe(I.name),Fe(I.exclamationToken),W_(I.type),eb(I.initializer,((me=I.type)==null?void 0:me.end)??((Tr=(Xe=I.name.emitNode)==null?void 0:Xe.typeNode)==null?void 0:Tr.end)??I.name.end,I,ui.parenthesizeExpressionForDisallowedComma)}function hu(I){Ws(CP(I)?"let":Gy(I)?"const":"var"),xn(),nc(I,I.declarations,528)}function V_(I){vg(I)}function vg(I){_p(I,I.modifiers,!1),Ws("function"),Fe(I.asteriskToken),xn(),Gt(I.name),bg(I,vd)}function bg(I,me){const Xe=I.body;if(Xe)if(Pa(Xe)){const Tr=xo(I)&131072;Tr&&wh(),Td(I),te(I.parameters,eu),eu(I.body),me(I),Gv(Xe),m0(I),Tr&&jd()}else me(I),xn(),zt(Xe,ui.parenthesizeConciseBodyOfArrowFunction);else me(I),Il()}function vd(I){Wm(I,I.typeParameters),pp(I,I.parameters),W_(I.type)}function C1(I){if(xo(I)&1)return!0;if(I.multiLine||!Ec(I)&&B&&!Jx(I,B)||N1(I,Hu(I.statements),2)||ef(I,Bc(I.statements),2,I.statements))return!1;let me;for(const Xe of I.statements){if(Qc(me,Xe,2)>0)return!1;me=Xe}return!0}function Gv(I){d==null||d(I),xn(),gn("{"),wh();const me=C1(I)?Ek:w1;Eh(I,I.statements,me),jd(),w2(20,I.statements.end,gn,I),g==null||g(I)}function Ek(I){w1(I,!0)}function w1(I,me){const Xe=CS(I.statements),Tr=ue.getTextPos();Vt(I),Xe===0&&Tr===ue.getTextPos()&&me?(jd(),nc(I,I.statements,768),wh()):nc(I,I.statements,1,void 0,Xe)}function Ak(I){pS(I)}function pS(I){rl(0,void 0),te(I.members,EE),_p(I,I.modifiers,!0),St(86,hh(I).pos,Ws,I),I.name&&(xn(),Gt(I.name));const me=xo(I)&131072;me&&wh(),Wm(I,I.typeParameters),nc(I,I.heritageClauses,0),xn(),gn("{"),nc(I,I.members,129),gn("}"),me&&jd(),sb()}function h2(I){rl(0,void 0),_p(I,I.modifiers,!1),Ws("interface"),xn(),Fe(I.name),Wm(I,I.typeParameters),nc(I,I.heritageClauses,512),xn(),gn("{"),nc(I,I.members,129),gn("}"),sb()}function dS(I){_p(I,I.modifiers,!1),Ws("type"),xn(),Fe(I.name),Wm(I,I.typeParameters),xn(),gn("="),xn(),Fe(I.type),Il()}function Xv(I){_p(I,I.modifiers,!1),Ws("enum"),xn(),Fe(I.name),xn(),gn("{"),nc(I,I.members,145),gn("}")}function hE(I){_p(I,I.modifiers,!1),~I.flags&1024&&(Ws(I.flags&16?"namespace":"module"),xn()),Fe(I.name);let me=I.body;if(!me)return Il();for(;me&&Al(me);)gn("."),Fe(me.name),me=me.body;xn(),Fe(me)}function g2(I){Td(I),te(I.statements,eu),pa(I,$k(I)),m0(I)}function gE(I){St(19,I.pos,gn,I),nc(I,I.clauses,129),St(20,I.clauses.end,gn,I,!0)}function mS(I){_p(I,I.modifiers,!1),St(102,I.modifiers?I.modifiers.end:I.pos,Ws,I),xn(),I.isTypeOnly&&(St(156,I.pos,Ws,I),xn()),Fe(I.name),xn(),St(64,I.name.end,gn,I),xn(),yE(I.moduleReference),Il()}function yE(I){I.kind===80?zt(I):Fe(I)}function Pk(I){_p(I,I.modifiers,!1),St(102,I.modifiers?I.modifiers.end:I.pos,Ws,I),xn(),I.importClause&&(Fe(I.importClause),xn(),St(160,I.importClause.end,Ws,I),xn()),zt(I.moduleSpecifier),I.assertClause&&py(I.assertClause),Il()}function hS(I){I.isTypeOnly&&(St(156,I.pos,Ws,I),xn()),Fe(I.name),I.name&&I.namedBindings&&(St(28,I.name.end,gn,I),xn()),Fe(I.namedBindings)}function Qv(I){const me=St(42,I.pos,gn,I);xn(),St(130,me,Ws,I),xn(),Fe(I.name)}function Yv(I){Zp(I)}function Zv(I){__(I)}function Dk(I){const me=St(95,I.pos,Ws,I);xn(),I.isExportEquals?St(64,me,d0,I):St(90,me,Ws,I),xn(),zt(I.expression,I.isExportEquals?ui.getParenthesizeRightSideOfBinaryForOperator(64):ui.parenthesizeExpressionOfExportDefault),Il()}function E1(I){_p(I,I.modifiers,!1);let me=St(95,I.pos,Ws,I);if(xn(),I.isTypeOnly&&(me=St(156,me,Ws,I),xn()),I.exportClause?Fe(I.exportClause):me=St(42,me,gn,I),I.moduleSpecifier){xn();const Xe=I.exportClause?I.exportClause.end:me;St(160,Xe,Ws,I),xn(),zt(I.moduleSpecifier)}I.assertClause&&py(I.assertClause),Il()}function Do(I){St(132,I.pos,Ws,I),xn();const me=I.elements;nc(I,me,526226)}function gS(I){Fe(I.name),gn(":"),xn();const me=I.value;if(!(xo(me)&1024)){const Xe=cg(me);Ah(Xe.pos)}Fe(me)}function vE(I){let me=St(95,I.pos,Ws,I);xn(),me=St(130,me,Ws,I),xn(),me=St(145,me,Ws,I),xn(),Fe(I.name),Il()}function c0(I){const me=St(42,I.pos,gn,I);xn(),St(130,me,Ws,I),xn(),Fe(I.name)}function ly(I){Zp(I)}function kh(I){__(I)}function Zp(I){gn("{"),nc(I,I.elements,525136),gn("}")}function __(I){I.isTypeOnly&&(Ws("type"),xn()),I.propertyName&&(Fe(I.propertyName),xn(),St(130,I.propertyName.end,Ws,I),xn()),Fe(I.name)}function C_(I){Ws("require"),gn("("),zt(I.expression),gn(")")}function w_(I){Fe(I.openingElement),nc(I,I.children,262144),Fe(I.closingElement)}function uy(I){gn("<"),Tg(I.tagName),qm(I,I.typeArguments),xn(),Fe(I.attributes),gn("/>")}function Nk(I){Fe(I.openingFragment),nc(I,I.children,262144),Fe(I.closingFragment)}function bE(I){if(gn("<"),vh(I)){const me=p_(I.tagName,I);Tg(I.tagName),qm(I,I.typeArguments),I.attributes.properties&&I.attributes.properties.length>0&&xn(),Fe(I.attributes),bd(I.attributes,I),Jd(me)}gn(">")}function yS(I){ue.writeLiteral(I.text)}function Ik(I){gn("</"),XT(I)&&Tg(I.tagName),gn(">")}function y2(I){nc(I,I.properties,262656)}function TE(I){Fe(I.name),CE("=",gn,I.initializer,Lr)}function v2(I){gn("{..."),zt(I.expression),gn("}")}function vS(I){let me=!1;return II((B==null?void 0:B.text)||"",I+1,()=>me=!0),me}function SE(I){let me=!1;return NI((B==null?void 0:B.text)||"",I+1,()=>me=!0),me}function l0(I){return vS(I)||SE(I)}function Ok(I){var me;if(I.expression||!Br&&!Ec(I)&&l0(I.pos)){const Xe=B&&!Ec(I)&&Vc(B,I.pos).line!==Vc(B,I.end).line;Xe&&ue.increaseIndent();const Tr=St(19,I.pos,gn,I);Fe(I.dotDotDotToken),zt(I.expression),St(20,((me=I.expression)==null?void 0:me.end)||Tr,gn,I),Xe&&ue.decreaseIndent()}}function rt(I){Gt(I.namespace),gn(":"),Gt(I.name)}function Tg(I){I.kind===80?zt(I):Fe(I)}function fy(I){St(84,I.pos,Ws,I),xn(),zt(I.expression,ui.parenthesizeExpressionForDisallowedComma),b2(I,I.statements,I.expression.end)}function A1(I){const me=St(90,I.pos,Ws,I);b2(I,I.statements,me)}function b2(I,me,Xe){const Tr=me.length===1&&(!B||Ec(I)||Ec(me[0])||oJ(I,me[0],B));let jt=163969;Tr?(w2(59,Xe,gn,I),xn(),jt&=-130):St(59,Xe,gn,I),nc(I,me,jt)}function u0(I){xn(),dy(I.token,Ws),xn(),nc(I,I.types,528)}function T2(I){const me=St(85,I.pos,Ws,I);xn(),I.variableDeclaration&&(St(21,me,gn,I),Fe(I.variableDeclaration),St(22,I.variableDeclaration.end,gn,I),xn()),Fe(I.block)}function yl(I){Fe(I.name),gn(":"),xn();const me=I.initializer;if(!(xo(me)&1024)){const Xe=cg(me);Ah(Xe.pos)}zt(me,ui.parenthesizeExpressionForDisallowedComma)}function f0(I){Fe(I.name),I.objectAssignmentInitializer&&(xn(),gn("="),xn(),zt(I.objectAssignmentInitializer,ui.parenthesizeExpressionForDisallowedComma))}function No(I){I.expression&&(St(26,I.pos,gn,I),zt(I.expression,ui.parenthesizeExpressionForDisallowedComma))}function $_(I){Fe(I.name),eb(I.initializer,I.name.end,I,ui.parenthesizeExpressionForDisallowedComma)}function bS(I){if(Ge("/**"),I.comment){const me=BI(I.comment);if(me){const Xe=me.split(/\r\n?|\n/g);for(const Tr of Xe)Hl(),xn(),gn("*"),xn(),Ge(Tr)}}I.tags&&(I.tags.length===1&&I.tags[0].kind===350&&!I.comment?(xn(),Fe(I.tags[0])):nc(I,I.tags,33)),xn(),Ge("*/")}function Df(I){fp(I.tagName),D1(I.typeExpression),Eu(I.comment)}function _y(I){fp(I.tagName),Fe(I.name),Eu(I.comment)}function q_(I){xn(),gn("{"),Fe(I.name),gn("}")}function P1(I){fp(I.tagName),xn(),gn("{"),Fe(I.class),gn("}"),Eu(I.comment)}function TS(I){fp(I.tagName),D1(I.constraint),xn(),nc(I,I.typeParameters,528),Eu(I.comment)}function SS(I){fp(I.tagName),I.typeExpression&&(I.typeExpression.kind===315?D1(I.typeExpression):(xn(),gn("{"),Ge("Object"),I.typeExpression.isArrayType&&(gn("["),gn("]")),gn("}"))),I.fullName&&(xn(),Fe(I.fullName)),Eu(I.comment),I.typeExpression&&I.typeExpression.kind===328&&Mk(I.typeExpression)}function xE(I){fp(I.tagName),I.name&&(xn(),Fe(I.name)),Eu(I.comment),ms(I.typeExpression)}function Ch(I){Eu(I.comment),ms(I.typeExpression)}function Lk(I){fp(I.tagName),Eu(I.comment)}function Mk(I){nc(I,V.createNodeArray(I.jsDocPropertyTags),33)}function ms(I){I.typeParameters&&nc(I,V.createNodeArray(I.typeParameters),33),I.parameters&&nc(I,V.createNodeArray(I.parameters),33),I.type&&(Hl(),xn(),gn("*"),xn(),Fe(I.type))}function mi(I){fp(I.tagName),D1(I.typeExpression),xn(),I.isBracketed&&gn("["),Fe(I.name),I.isBracketed&&gn("]"),Eu(I.comment)}function fp(I){gn("@"),Fe(I)}function Eu(I){const me=BI(I);me&&(xn(),Ge(me))}function D1(I){I&&(xn(),gn("{"),Fe(I.type),gn("}"))}function _0(I){Hl();const me=I.statements;if(me.length===0||!Yd(me[0])||Ec(me[0])){Eh(I,me,xS);return}xS(I)}function S2(I){ll(!!I.hasNoDefaultLib,I.syntheticFileReferences||[],I.syntheticTypeReferences||[],I.syntheticLibReferences||[]);for(const me of I.prepends)if(Yx(me)&&me.syntheticReferences)for(const Xe of me.syntheticReferences)Fe(Xe),Hl()}function kE(I){I.isDeclarationFile&&ll(I.hasNoDefaultLib,I.referencedFiles,I.typeReferenceDirectives,I.libReferenceDirectives)}function ll(I,me,Xe,Tr){if(I){const jt=ue.getTextPos();Hm('/// <reference no-default-lib="true"/>'),Ke&&Ke.sections.push({pos:jt,end:ue.getTextPos(),kind:"no-default-lib"}),Hl()}if(B&&B.moduleName&&(Hm(`/// <amd-module name="${B.moduleName}" />`),Hl()),B&&B.amdDependencies)for(const jt of B.amdDependencies)jt.name?Hm(`/// <amd-dependency name="${jt.name}" path="${jt.path}" />`):Hm(`/// <amd-dependency path="${jt.path}" />`),Hl();for(const jt of me){const is=ue.getTextPos();Hm(`/// <reference path="${jt.fileName}" />`),Ke&&Ke.sections.push({pos:is,end:ue.getTextPos(),kind:"reference",data:jt.fileName}),Hl()}for(const jt of Xe){const is=ue.getTextPos(),Di=jt.resolutionMode&&jt.resolutionMode!==(B==null?void 0:B.impliedNodeFormat)?`resolution-mode="${jt.resolutionMode===99?"import":"require"}"`:"";Hm(`/// <reference types="${jt.fileName}" ${Di}/>`),Ke&&Ke.sections.push({pos:is,end:ue.getTextPos(),kind:jt.resolutionMode?jt.resolutionMode===99?"type-import":"type-require":"type",data:jt.fileName}),Hl()}for(const jt of Tr){const is=ue.getTextPos();Hm(`/// <reference lib="${jt.fileName}" />`),Ke&&Ke.sections.push({pos:is,end:ue.getTextPos(),kind:"lib",data:jt.fileName}),Hl()}}function xS(I){const me=I.statements;Td(I),te(I.statements,eu),Vt(I);const Xe=ir(me,Tr=>!Yd(Tr));kE(I),nc(I,me,1,void 0,Xe===-1?me.length:Xe),m0(I)}function kS(I){const me=xo(I);!(me&1024)&&I.pos!==I.expression.pos&&Ah(I.expression.pos),zt(I.expression),!(me&2048)&&I.end!==I.expression.end&&$u(I.expression.end)}function Fk(I){wS(I,I.elements,528,void 0)}function CS(I,me,Xe,Tr){let jt=!!me;for(let is=0;is<I.length;is++){const Di=I[is];if(Yd(Di)){if(Xe?!Xe.has(Di.expression.text):!0){jt&&(jt=!1,xt(me)),Hl();const Da=ue.getTextPos();Fe(Di),Tr&&Ke&&Ke.sections.push({pos:Da,end:ue.getTextPos(),kind:"prologue",data:Di.expression.text}),Xe&&Xe.add(Di.expression.text)}}else return is}return I.length}function _m(I,me){for(const Xe of I)if(!me.has(Xe.data)){Hl();const Tr=ue.getTextPos();Fe(Xe),Ke&&Ke.sections.push({pos:Tr,end:ue.getTextPos(),kind:"prologue",data:Xe.data}),me&&me.add(Xe.data)}}function Rk(I){if(Cs(I))CS(I.statements,I);else{const me=new Set;for(const Xe of I.prepends)_m(Xe.prologues,me);for(const Xe of I.sourceFiles)CS(Xe.statements,Xe,me,!0);xt(void 0)}}function wA(I){const me=new Set;let Xe;for(let Tr=0;Tr<I.sourceFiles.length;Tr++){const jt=I.sourceFiles[Tr];let is,Di=0;for(const Ts of jt.statements){if(!Yd(Ts))break;me.has(Ts.expression.text)||(me.add(Ts.expression.text),(is||(is=[])).push({pos:Ts.pos,end:Ts.end,expression:{pos:Ts.expression.pos,end:Ts.expression.end,text:Ts.expression.text}}),Di=Di<Ts.end?Ts.end:Di)}is&&(Xe||(Xe=[])).push({file:Tr,text:jt.text.substring(0,Di),directives:is})}return Xe}function Kv(I){if(Cs(I)||Yx(I)){const me=zB(I.text);if(me)return Hm(me),Hl(),!0}else{for(const me of I.prepends)if(R.assertNode(me,Yx),Kv(me))return!0;for(const me of I.sourceFiles)if(Kv(me))return!0}}function Bk(I,me){if(!I)return;const Xe=Ge;Ge=me,Fe(I),Ge=Xe}function _p(I,me,Xe){if(me!=null&&me.length){if(ot(me,Ha))return p0(I,me);if(ot(me,xf))return Xe?EA(I,me):I.pos;h==null||h(me);let Tr,jt,is=0,Di=0,Ts;for(;is<me.length;){for(;Di<me.length;){if(Ts=me[Di],jt=xf(Ts)?"decorators":"modifiers",Tr===void 0)Tr=jt;else if(jt!==Tr)break;Di++}const Da={pos:-1,end:-1};is===0&&(Da.pos=me.pos),Di===me.length-1&&(Da.end=me.end),(Tr==="modifiers"||Xe)&&Uk(Fe,I,me,Tr==="modifiers"?2359808:2146305,void 0,is,Di-is,!1,Da),is=Di,Tr=jt,Di++}if(k==null||k(me),Ts&&!gh(Ts.end))return Ts.end}return I.pos}function p0(I,me){nc(I,me,2359808);const Xe=Bc(me);return Xe&&!gh(Xe.end)?Xe.end:I.pos}function W_(I){I&&(gn(":"),xn(),Fe(I))}function eb(I,me,Xe,Tr){I&&(xn(),St(64,me,d0,Xe),xn(),zt(I,Tr))}function CE(I,me,Xe,Tr){Xe&&(me(I),Tr(Xe))}function py(I){I&&(xn(),Fe(I))}function tb(I,me){I&&(xn(),zt(I,me))}function jk(I){I&&(Fe(I),xn())}function $m(I,me){Pa(me)||xo(I)&1||we&&!N1(I,me,0)?(xn(),Fe(me)):(Hl(),wh(),Ure(me)?Rn(5,me):Fe(me),jd())}function EA(I,me){nc(I,me,2146305);const Xe=Bc(me);return Xe&&!gh(Xe.end)?Xe.end:I.pos}function qm(I,me){nc(I,me,53776,Pt)}function Wm(I,me){if(Sa(I)&&I.typeArguments)return qm(I,I.typeArguments);nc(I,me,53776)}function pp(I,me){nc(I,me,2576)}function x2(I,me){const Xe=$h(me);return Xe&&Xe.pos===I.pos&&Dc(I)&&!I.type&&!Ne(I.modifiers)&&!Ne(I.typeParameters)&&!Ne(Xe.modifiers)&&!Xe.dotDotDotToken&&!Xe.questionToken&&!Xe.type&&!Xe.initializer&&He(Xe.name)}function rb(I,me){x2(I,me)?nc(I,me,528):pp(I,me)}function AA(I,me){nc(I,me,8848)}function Jk(I){switch(I&60){case 0:break;case 16:gn(",");break;case 4:xn(),gn("|");break;case 32:xn(),gn("*"),xn();break;case 8:xn(),gn("&");break}}function nc(I,me,Xe,Tr,jt,is){nb(Fe,I,me,Xe|(I&&xo(I)&2?65536:0),Tr,jt,is)}function wS(I,me,Xe,Tr,jt,is){nb(zt,I,me,Xe,Tr,jt,is)}function nb(I,me,Xe,Tr,jt,is=0,Di=Xe?Xe.length-is:0){if(Xe===void 0&&Tr&16384)return;const Da=Xe===void 0||is>=Xe.length||Di===0;if(Da&&Tr&32768){h==null||h(Xe),k==null||k(Xe);return}Tr&15360&&(gn(ert(Tr)),Da&&Xe&&Ah(Xe.pos,!0)),h==null||h(Xe),Da?Tr&1&&!(we&&(!me||B&&Jx(me,B)))?Hl():Tr&256&&!(Tr&524288)&&xn():Uk(I,me,Xe,Tr,jt,is,Di,Xe.hasTrailingComma,Xe),k==null||k(Xe),Tr&15360&&(Da&&Xe&&$u(Xe.end),gn(trt(Tr)))}function Uk(I,me,Xe,Tr,jt,is,Di,Ts,Da){const H_=(Tr&262144)===0;let G_=H_;const d_=N1(me,Xe[is],Tr);d_?(Hl(d_),G_=!1):Tr&256&&xn(),Tr&128&&wh();const F2=srt(I,jt);let m_,R2,fb=!1;for(let yy=0;yy<Di;yy++){const zp=Xe[is+yy];if(Tr&32)Hl(),Jk(Tr);else if(m_){Tr&60&&m_.end!==(me?me.end:-1)&&(xo(m_)&2048||$u(m_.end)),Jk(Tr),xi(R2);const S0=Qc(m_,zp,Tr);S0>0?(Tr&131||(wh(),fb=!0),Hl(S0),G_=!1):m_&&Tr&512&&xn()}if(R2=qr(zp),G_){const S0=cg(zp);Ah(S0.pos)}else G_=H_;Ie=zp.pos,F2(zp,I,jt,yy),fb&&(jd(),fb=!1),m_=zp}const BS=m_?xo(m_):0,Gk=Br||!!(BS&2048),T0=Ts&&Tr&64&&Tr&16;T0&&(m_&&!Gk?St(28,m_.end,gn,m_):gn(",")),m_&&(me?me.end:-1)!==m_.end&&Tr&60&&!Gk&&$u(T0&&(Da!=null&&Da.end)?Da.end:m_.end),Tr&128&&jd(),xi(R2);const xd=ef(me,Xe[is+Di-1],Tr,Da);xd?Hl(xd):Tr&2097408&&xn()}function ib(I){ue.writeLiteral(I)}function zk(I){ue.writeStringLiteral(I)}function wE(I){ue.write(I)}function Vk(I,me){ue.writeSymbol(I,me)}function gn(I){ue.writePunctuation(I)}function Il(){ue.writeTrailingSemicolon(";")}function Ws(I){ue.writeKeyword(I)}function d0(I){ue.writeOperator(I)}function ES(I){ue.writeParameter(I)}function Hm(I){ue.writeComment(I)}function xn(){ue.writeSpace(" ")}function k2(I){ue.writeProperty(I)}function C2(I){ue.nonEscapingWrite?ue.nonEscapingWrite(I):ue.write(I)}function Hl(I=1){for(let me=0;me<I;me++)ue.writeLine(me>0)}function wh(){ue.increaseIndent()}function jd(){ue.decreaseIndent()}function w2(I,me,Xe,Tr){return je?dy(I,Xe,me):R1(Tr,I,Xe,me,dy)}function AS(I,me){T&&T(I),me(io(I.kind)),C&&C(I)}function dy(I,me,Xe){const Tr=io(I);return me(Tr),Xe<0?Xe:Xe+Tr.length}function E2(I,me,Xe){if(xo(I)&1)xn();else if(we){const Tr=_f(I,me,Xe);Tr?Hl(Tr):xn()}else Hl()}function A2(I){const me=I.split(/\r\n?|\n/g),Xe=O2e(me);for(const Tr of me){const jt=Xe?Tr.slice(Xe):Tr;jt.length&&(Hl(),Ge(jt))}}function Sg(I,me){I?(wh(),Hl(I)):me&&xn()}function Jd(I,me){I&&jd(),me&&jd()}function N1(I,me,Xe){if(Xe&2||we){if(Xe&65536)return 1;if(me===void 0)return!I||B&&Jx(I,B)?0:1;if(me.pos===Ie||me.kind===12)return 0;if(B&&I&&!gh(I.pos)&&!Ec(me)&&(!me.parent||el(me.parent)===el(I)))return we?xg(Tr=>hSe(me.pos,I.pos,B,Tr)):oJ(I,me,B)?0:1;if(P2(me,Xe))return 1}return Xe&1?1:0}function Qc(I,me,Xe){if(Xe&2||we){if(I===void 0||me===void 0||me.kind===12)return 0;if(B&&!Ec(I)&&!Ec(me))return we&&M1(I,me)?xg(Tr=>bte(I,me,B,Tr)):!we&&Ud(I,me)?B5(I,me,B)?0:1:Xe&65536?1:0;if(P2(I,Xe)||P2(me,Xe))return 1}else if(cO(me))return 1;return Xe&1?1:0}function ef(I,me,Xe,Tr){if(Xe&2||we){if(Xe&65536)return 1;if(me===void 0)return!I||B&&Jx(I,B)?0:1;if(B&&I&&!gh(I.pos)&&!Ec(me)&&(!me.parent||me.parent===I)){if(we){const jt=Tr&&!gh(Tr.end)?Tr.end:me.end;return xg(is=>gSe(jt,I.end,B,is))}return pSe(I,me,B)?0:1}if(P2(me,Xe))return 1}return Xe&1&&!(Xe&131072)?1:0}function xg(I){R.assert(!!we);const me=I(!0);return me===0?I(!1):me}function p_(I,me){const Xe=we&&N1(me,I,0);return Xe&&Sg(Xe,!1),!!Xe}function bd(I,me){const Xe=we&&ef(me,I,0,void 0);Xe&&Hl(Xe)}function P2(I,me){if(Ec(I)){const Xe=cO(I);return Xe===void 0?(me&65536)!==0:Xe}return(me&65536)!==0}function _f(I,me,Xe){return xo(I)&262144?0:(I=I1(I),me=I1(me),Xe=I1(Xe),cO(Xe)?1:B&&!Ec(I)&&!Ec(me)&&!Ec(Xe)?we?xg(Tr=>bte(me,Xe,B,Tr)):B5(me,Xe,B)?0:1:0)}function $k(I){return I.statements.length===0&&(!B||B5(I,I,B))}function I1(I){for(;I.kind===216&&Ec(I);)I=I.expression;return I}function O1(I,me){if(il(I)||KC(I))return h0(I);if(yo(I)&&I.textSourceNode)return O1(I.textSourceNode,me);const Xe=B,Tr=!!Xe&&!!I.parent&&!Ec(I);if(qy(I)){if(!Tr||pn(I)!==el(Xe))return Zn(I)}else if(Th(I)){if(!Tr||pn(I)!==el(Xe))return lD(I)}else if(R.assertNode(I,Cx),!Tr)return I.text;return PT(Xe,I,me)}function PS(I,me,Xe){if(I.kind===11&&I.textSourceNode){const jt=I.textSourceNode;if(He(jt)||fs(jt)||Hp(jt)||Th(jt)){const is=Hp(jt)?jt.text:O1(jt);return Xe?`"${tte(is)}"`:me||xo(I)&16777216?`"${_w(is)}"`:`"${P5(is)}"`}else return PS(jt,me,Xe)}const Tr=(me?1:0)|(Xe?2:0)|(e.terminateUnterminatedLiterals?4:0)|(e.target&&e.target===99?8:0);return G2e(I,B,Tr)}function Td(I){I&&xo(I)&1048576||(de.push(Ce),Ce=0,Q.push(he),he=void 0,K.push(ce))}function m0(I){I&&xo(I)&1048576||(Ce=de.pop(),he=Q.pop(),ce=K.pop())}function D2(I){(!ce||ce===Bc(K))&&(ce=new Set),ce.add(I)}function rl(I,me){W.push(ye),ye=I,le.push(ce),xe=me}function sb(){ye=W.pop(),xe=le.pop()}function DS(I){(!xe||xe===Bc(le))&&(xe=new Set),xe.add(I)}function eu(I){if(I)switch(I.kind){case 240:te(I.statements,eu);break;case 255:case 253:case 245:case 246:eu(I.statement);break;case 244:eu(I.thenStatement),eu(I.elseStatement);break;case 247:case 249:case 248:eu(I.initializer),eu(I.statement);break;case 254:eu(I.caseBlock);break;case 268:te(I.clauses,eu);break;case 295:case 296:te(I.statements,eu);break;case 257:eu(I.tryBlock),eu(I.catchClause),eu(I.finallyBlock);break;case 298:eu(I.variableDeclaration),eu(I.block);break;case 242:eu(I.declarationList);break;case 260:te(I.declarations,eu);break;case 259:case 168:case 207:case 262:cu(I.name);break;case 261:cu(I.name),xo(I)&1048576&&(te(I.parameters,eu),eu(I.body));break;case 205:case 206:te(I.elements,eu);break;case 271:eu(I.importClause);break;case 272:cu(I.name),eu(I.namedBindings);break;case 273:cu(I.name);break;case 279:cu(I.name);break;case 274:te(I.elements,eu);break;case 275:cu(I.propertyName||I.name);break}}function EE(I){if(I)switch(I.kind){case 302:case 303:case 171:case 173:case 176:case 177:cu(I.name);break}}function cu(I){I&&(il(I)||KC(I)?h0(I):Fa(I)&&eu(I))}function h0(I){const me=I.emitNode.autoGenerate;if((me.flags&7)===4)return N2(IU(I),fs(I),me.flags,me.prefix,me.suffix);{const Xe=me.id;return Z[Xe]||(Z[Xe]=ob(I))}}function N2(I,me,Xe,Tr,jt){const is=Jo(I),Di=me?Y:H;return Di[is]||(Di[is]=qk(I,me,Xe??0,H4(Tr,h0),H4(jt)))}function Gm(I,me){return NS(I)&&!dp(I,me)&&!fe.has(I)}function dp(I,me){return me?!!(xe!=null&&xe.has(I)):!!(ce!=null&&ce.has(I))}function NS(I,me){return B?yj(B,I,n):!0}function ab(I,me){for(let Xe=me;Xe&&FT(Xe,me);Xe=Xe.nextContainer)if(Qh(Xe)&&Xe.locals){const Tr=Xe.locals.get($c(I));if(Tr&&Tr.flags&3257279)return!1}return!0}function AE(I){switch(I){case"":return Ce;case"#":return ye;default:return(he==null?void 0:he.get(I))??0}}function my(I,me){switch(I){case"":Ce=me;break;case"#":ye=me;break;default:he??(he=new Map),he.set(I,me);break}}function g0(I,me,Xe,Tr,jt){Tr.length>0&&Tr.charCodeAt(0)===35&&(Tr=Tr.slice(1));const is=ek(Xe,Tr,"",jt);let Di=AE(is);if(I&&!(Di&I)){const Da=ek(Xe,Tr,I===268435456?"_i":"_n",jt);if(Gm(Da,Xe))return Di|=I,Xe?DS(Da):me&&D2(Da),my(is,Di),Da}for(;;){const Ts=Di&268435455;if(Di++,Ts!==8&&Ts!==13){const Da=Ts<26?"_"+String.fromCharCode(97+Ts):"_"+(Ts-26),H_=ek(Xe,Tr,Da,jt);if(Gm(H_,Xe))return Xe?DS(H_):me&&D2(H_),my(is,Di),H_}}}function y0(I,me=Gm,Xe,Tr,jt,is,Di){if(I.length>0&&I.charCodeAt(0)===35&&(I=I.slice(1)),is.length>0&&is.charCodeAt(0)===35&&(is=is.slice(1)),Xe){const Da=ek(jt,is,I,Di);if(me(Da,jt))return jt?DS(Da):Tr?D2(Da):fe.add(Da),Da}I.charCodeAt(I.length-1)!==95&&(I+="_");let Ts=1;for(;;){const Da=ek(jt,is,I+Ts,Di);if(me(Da,jt))return jt?DS(Da):Tr?D2(Da):fe.add(Da),Da;Ts++}}function PA(I){return y0(I,NS,!0,!1,!1,"","")}function jp(I){const me=O1(I.name);return ab(me,wi(I,Qh))?me:y0(me,Gm,!1,!1,!1,"","")}function PE(I){const me=a4(I),Xe=yo(me)?Q2e(me.text):"module";return y0(Xe,Gm,!1,!1,!1,"","")}function v0(){return y0("default",Gm,!1,!1,!1,"","")}function Jp(){return y0("class",Gm,!1,!1,!1,"","")}function kg(I,me,Xe,Tr){return He(I.name)?N2(I.name,me):g0(0,!1,me,Xe,Tr)}function qk(I,me,Xe,Tr,jt){switch(I.kind){case 80:case 81:return y0(O1(I),Gm,!!(Xe&16),!!(Xe&8),me,Tr,jt);case 266:case 265:return R.assert(!Tr&&!jt&&!me),jp(I);case 271:case 277:return R.assert(!Tr&&!jt&&!me),PE(I);case 261:case 262:{R.assert(!Tr&&!jt&&!me);const is=I.name;return is&&!il(is)?qk(is,!1,Xe,Tr,jt):v0()}case 276:return R.assert(!Tr&&!jt&&!me),v0();case 230:return R.assert(!Tr&&!jt&&!me),Jp();case 173:case 176:case 177:return kg(I,me,Tr,jt);case 166:return g0(0,!0,me,Tr,jt);default:return g0(0,!1,me,Tr,jt)}}function ob(I){const me=I.emitNode.autoGenerate,Xe=H4(me.prefix,h0),Tr=H4(me.suffix);switch(me.flags&7){case 1:return g0(0,!!(me.flags&8),fs(I),Xe,Tr);case 2:return R.assertNode(I,He),g0(268435456,!!(me.flags&8),!1,Xe,Tr);case 3:return y0(Zn(I),me.flags&32?NS:Gm,!!(me.flags&16),!!(me.flags&8),fs(I),Xe,Tr)}return R.fail(`Unsupported GeneratedIdentifierKind: ${R.formatEnum(me.flags&7,EB,!0)}.`)}function Fo(I,me){const Xe=ke(2,I,me),Tr=Bt,jt=vr,is=Ar;Yn(me),Xe(I,me),Up(me,Tr,jt,is)}function Yn(I){const me=xo(I),Xe=cg(I);E_(I,me,Xe.pos,Xe.end),me&4096&&(Br=!0)}function Up(I,me,Xe,Tr){const jt=xo(I),is=cg(I);jt&4096&&(Br=!1),IS(I,jt,is.pos,is.end,me,Xe,Tr);const Di=Ixe(I);Di&&IS(I,jt,Di.pos,Di.end,me,Xe,Tr)}function E_(I,me,Xe,Tr){Ji(),hn=!1;const jt=Xe<0||(me&1024)!==0||I.kind===12,is=Tr<0||(me&2048)!==0||I.kind===12;(Xe>0||Tr>0)&&Xe!==Tr&&(jt||lb(Xe,I.kind!==358),(!jt||Xe>=0&&me&1024)&&(Bt=Xe),(!is||Tr>=0&&me&2048)&&(vr=Tr,I.kind===260&&(Ar=Tr))),te(D4(I),L1),ws()}function IS(I,me,Xe,Tr,jt,is,Di){Ji();const Ts=Tr<0||(me&2048)!==0||I.kind===12;te(uO(I),DA),(Xe>0||Tr>0)&&Xe!==Tr&&(Bt=jt,vr=is,Ar=Di,!Ts&&I.kind!==358&&NA(Tr)),ws()}function L1(I){(I.hasLeadingNewline||I.kind===2)&&ue.writeLine(),cb(I),I.hasTrailingNewLine||I.kind===2?ue.writeLine():ue.writeSpace(" ")}function DA(I){ue.isAtStartOfLine()||ue.writeSpace(" "),cb(I),I.hasTrailingNewLine&&ue.writeLine()}function cb(I){const me=I2(I),Xe=I.kind===3?AI(me):void 0;g4(me,Xe,ue,0,me.length,O)}function I2(I){return I.kind===3?`/*${I.text}*/`:`//${I.text}`}function Eh(I,me,Xe){Ji();const{pos:Tr,end:jt}=me,is=xo(I),Di=Tr<0||(is&1024)!==0,Ts=Br||jt<0||(is&2048)!==0;Di||OS(me),ws(),is&4096&&!Br?(Br=!0,Xe(I),Br=!1):Xe(I),Ji(),Ts||(lb(me.end,!0),hn&&!ue.isAtStartOfLine()&&ue.writeLine()),ws()}function Ud(I,me){return I=el(I),I.parent&&I.parent===el(me).parent}function M1(I,me){if(me.pos<I.end)return!1;I=el(I),me=el(me);const Xe=I.parent;if(!Xe||Xe!==me.parent)return!1;const Tr=QSe(I),jt=Tr==null?void 0:Tr.indexOf(I);return jt!==void 0&&jt>-1&&Tr.indexOf(me)===jt+1}function lb(I,me){hn=!1,me?I===0&&(B!=null&&B.isDeclarationFile)?L2(I,hy):L2(I,Ol):I===0&&L2(I,Cg)}function Cg(I,me,Xe,Tr,jt){F1(I,me)&&Ol(I,me,Xe,Tr,jt)}function hy(I,me,Xe,Tr,jt){F1(I,me)||Ol(I,me,Xe,Tr,jt)}function ub(I,me){return e.onlyPrintJsDocStyle?_ne(I,me)||vj(I,me):!0}function Ol(I,me,Xe,Tr,jt){!B||!ub(B.text,I)||(hn||(QTe(_r(),ue,jt,I),hn=!0),pm(I),g4(B.text,_r(),ue,I,me,O),pm(me),Tr?ue.writeLine():Xe===3&&ue.writeSpace(" "))}function $u(I){Br||I===-1||lb(I,!0)}function NA(I){pf(I,Sd)}function Sd(I,me,Xe,Tr){!B||!ub(B.text,I)||(ue.isAtStartOfLine()||ue.writeSpace(" "),pm(I),g4(B.text,_r(),ue,I,me,O),pm(me),Tr&&ue.writeLine())}function Ah(I,me,Xe){Br||(Ji(),pf(I,me?Sd:Xe?O2:Wk),ws())}function O2(I,me,Xe){B&&(pm(I),g4(B.text,_r(),ue,I,me,O),pm(me),Xe===2&&ue.writeLine())}function Wk(I,me,Xe,Tr){B&&(pm(I),g4(B.text,_r(),ue,I,me,O),pm(me),Tr?ue.writeLine():ue.writeSpace(" "))}function L2(I,me){B&&(Bt===-1||I!==Bt)&&(ul(I)?IA(me):NI(B.text,I,me,I))}function pf(I,me){B&&(vr===-1||I!==vr&&I!==Ar)&&II(B.text,I,me)}function ul(I){return tn!==void 0&&To(tn).nodePos===I}function IA(I){if(!B)return;const me=To(tn).detachedCommentEndPos;tn.length-1?tn.pop():tn=void 0,NI(B.text,me,I,me)}function OS(I){const me=B&&ZTe(B.text,_r(),ue,gy,I,O,Br);me&&(tn?tn.push(me):tn=[me])}function gy(I,me,Xe,Tr,jt,is){!B||!ub(B.text,Tr)||(pm(Tr),g4(I,me,Xe,Tr,jt,is),pm(jt))}function F1(I,me){return!!B&&fee(B.text,I,me)}function LS(I){return I.parsedSourceMap===void 0&&I.sourceMapText!==void 0&&(I.parsedSourceMap=wie(I.sourceMapText)||!1),I.parsedSourceMap||void 0}function Hk(I,me){const Xe=ke(3,I,me);MS(me),Xe(I,me),M2(me)}function MS(I){const me=xo(I),Xe=t2(I);if(zK(I)){R.assertIsDefined(I.parent,"UnparsedNodes must have parent pointers");const Tr=LS(I.parent);Tr&&_t&&_t.appendSourceMap(ue.getLine(),ue.getColumn(),Tr,I.parent.sourceMapPath,I.parent.getLineAndCharacterOfPosition(I.pos),I.parent.getLineAndCharacterOfPosition(I.end))}else{const Tr=Xe.source||Lt;I.kind!==358&&!(me&32)&&Xe.pos>=0&&Xm(Xe.source||Lt,FS(Tr,Xe.pos)),me&128&&(je=!0)}}function M2(I){const me=xo(I),Xe=t2(I);zK(I)||(me&128&&(je=!1),I.kind!==358&&!(me&64)&&Xe.end>=0&&Xm(Xe.source||Lt,Xe.end))}function FS(I,me){return I.skipTrivia?I.skipTrivia(me):fo(I.text,me)}function pm(I){if(je||gh(I)||b0(Lt))return;const{line:me,character:Xe}=Vc(Lt,I);_t.addMapping(ue.getLine(),ue.getColumn(),Dt,me,Xe,void 0)}function Xm(I,me){if(I!==Lt){const Xe=Lt,Tr=Dt;RS(I),pm(me),OA(Xe,Tr)}else pm(me)}function R1(I,me,Xe,Tr,jt){if(je||I&&jj(I))return jt(me,Xe,Tr);const is=I&&I.emitNode,Di=is&&is.flags||0,Ts=is&&is.tokenSourceMapRanges&&is.tokenSourceMapRanges[me],Da=Ts&&Ts.source||Lt;return Tr=FS(Da,Ts?Ts.pos:Tr),!(Di&256)&&Tr>=0&&Xm(Da,Tr),Tr=jt(me,Xe,Tr),Ts&&(Tr=Ts.end),!(Di&512)&&Tr>=0&&Xm(Da,Tr),Tr}function RS(I){if(!je){if(Lt=I,I===Xt){Dt=Ye;return}b0(I)||(Dt=_t.addSource(I.fileName),e.inlineSources&&_t.setSourceContent(Dt,I.text),Xt=I,Ye=Dt)}}function OA(I,me){Lt=I,Dt=me}function b0(I){return Vl(I.fileName,".json")}}function Ktt(){const e=[];return e[1024]=["{","}"],e[2048]=["(",")"],e[4096]=["<",">"],e[8192]=["[","]"],e}function ert(e){return Kie[e&15360][0]}function trt(e){return Kie[e&15360][1]}function rrt(e,t,n,s){t(e)}function nrt(e,t,n,s){t(e,n.select(s))}function irt(e,t,n,s){t(e,n)}function srt(e,t){return e.length===1?rrt:typeof t=="object"?nrt:irt}var Kie,Iz,ese,oS,tse,g9,art=p({"src/compiler/emitter.ts"(){Ba(),Ba(),TT(),Kie=Ktt(),Iz={hasGlobalName:Ta,getReferencedExportContainer:Ta,getReferencedImportDeclaration:Ta,getReferencedDeclarationWithCollidingName:Ta,isDeclarationWithCollidingName:Ta,isValueAliasDeclaration:Ta,isReferencedAliasDeclaration:Ta,isTopLevelValueImportEqualsWithEntityName:Ta,getNodeCheckFlags:Ta,isDeclarationVisible:Ta,isLateBound:e=>!1,collectLinkedAliases:Ta,isImplementationOfOverload:Ta,isRequiredInitializedParameter:Ta,isOptionalUninitializedParameterProperty:Ta,isExpandoFunctionDeclaration:Ta,getPropertiesOfContainerFunction:Ta,createTypeOfDeclaration:Ta,createReturnTypeOfSignatureDeclaration:Ta,createTypeOfExpression:Ta,createLiteralConstValue:Ta,isSymbolAccessible:Ta,isEntityNameVisible:Ta,getConstantValue:Ta,getReferencedValueDeclaration:Ta,getReferencedValueDeclarations:Ta,getTypeReferenceSerializationKind:Ta,isOptionalParameter:Ta,moduleExportsSomeValue:Ta,isArgumentsLocalBinding:Ta,getExternalModuleFileFromDeclaration:Ta,getTypeReferenceDirectivesForEntityName:Ta,getTypeReferenceDirectivesForSymbol:Ta,isLiteralConstDeclaration:Ta,getJsxFactoryEntity:Ta,getJsxFragmentFactoryEntity:Ta,getAllAccessorDeclarations:Ta,getSymbolOfExternalModuleSpecifier:Ta,isBindingCapturedByNode:Ta,getDeclarationStatementsForSourceFile:Ta,isImportRequiredByAugmentation:Ta},ese=tp(()=>l2({})),oS=tp(()=>l2({removeComments:!0})),tse=tp(()=>l2({removeComments:!0,neverAsciiEscape:!0})),g9=tp(()=>l2({removeComments:!0,omitTrailingSemicolon:!0}))}});function e6e(e,t,n){if(!e.getDirectories||!e.readDirectory)return;const s=new Map,l=nf(n);return{useCaseSensitiveFileNames:n,fileExists:O,readFile:(W,ye)=>e.readFile(W,ye),directoryExists:e.directoryExists&&M,getDirectories:B,readDirectory:H,createDirectory:e.createDirectory&&U,writeFile:e.writeFile&&D,addOrDeleteFileOrDirectory:Z,addOrDeleteFile:fe,clearCache:he,realpath:e.realpath&&Y};function f(W){return bc(W,t,l)}function d(W){return s.get(Vf(W))}function g(W){const ye=d(cs(W));return ye&&(ye.sortedAndCanonicalizedFiles||(ye.sortedAndCanonicalizedFiles=ye.files.map(l).sort(),ye.sortedAndCanonicalizedDirectories=ye.directories.map(l).sort()),ye)}function h(W){return Xu(So(W))}function k(W,ye){var de;if(!e.realpath||Vf(f(e.realpath(W)))===ye){const Ce={files:qt(e.readDirectory(W,void 0,void 0,["*.*"]),h)||[],directories:e.getDirectories(W)||[]};return s.set(Vf(ye),Ce),Ce}if((de=e.directoryExists)!=null&&de.call(e,W))return s.set(ye,!1),!1}function T(W,ye){ye=Vf(ye);const de=d(ye);if(de)return de;try{return k(W,ye)}catch{R.assert(!s.has(Vf(ye)));return}}function C(W,ye){return dv(W,ye,Kc,zf)>=0}function D(W,ye,de){const Ce=f(W),K=g(Ce);return K&&Q(K,h(W),!0),e.writeFile(W,ye,de)}function O(W){const ye=f(W),de=g(ye);return de&&C(de.sortedAndCanonicalizedFiles,l(h(W)))||e.fileExists(W)}function M(W){const ye=f(W);return s.has(Vf(ye))||e.directoryExists(W)}function U(W){const ye=f(W),de=g(ye);if(de){const Ce=h(W),K=l(Ce),ce=de.sortedAndCanonicalizedDirectories;ha(ce,K,zf)&&de.directories.push(Ce)}e.createDirectory(W)}function B(W){const ye=f(W),de=T(W,ye);return de?de.directories.slice():e.getDirectories(W)}function H(W,ye,de,Ce,K){const ce=f(W),le=T(W,ce);let xe;if(le!==void 0)return Fte(W,ye,de,Ce,n,t,K,we,Y);return e.readDirectory(W,ye,de,Ce,K);function we(ue){const ut=f(ue);if(ut===ce)return le||Ie(ue,ut);const Ge=T(ue,ut);return Ge!==void 0?Ge||Ie(ue,ut):MJ}function Ie(ue,ut){if(xe&&ut===ce)return xe;const Ge={files:qt(e.readDirectory(ue,void 0,void 0,["*.*"]),h)||ft,directories:e.getDirectories(ue)||ft};return ut===ce&&(xe=Ge),Ge}}function Y(W){return e.realpath?e.realpath(W):W}function Z(W,ye){if(d(ye)!==void 0){he();return}const Ce=g(ye);if(!Ce)return;if(!e.directoryExists){he();return}const K=h(W),ce={fileExists:e.fileExists(ye),directoryExists:e.directoryExists(ye)};return ce.directoryExists||C(Ce.sortedAndCanonicalizedDirectories,l(K))?he():Q(Ce,K,ce.fileExists),ce}function fe(W,ye,de){if(de===1)return;const Ce=g(ye);Ce&&Q(Ce,h(W),de===0)}function Q(W,ye,de){const Ce=W.sortedAndCanonicalizedFiles,K=l(ye);if(de)ha(Ce,K,zf)&&W.files.push(ye);else{const ce=dv(Ce,K,Kc,zf);if(ce>=0){Ce.splice(ce,1);const le=W.files.findIndex(xe=>l(xe)===K);W.files.splice(le,1)}}}function he(){s.clear()}}function rse(e,t,n,s,l){var f;const d=gT(((f=t==null?void 0:t.configFile)==null?void 0:f.extendedSourceFiles)||ft,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 T=n.get(h);!T||T.projects.size!==0||(T.watcher.close(),n.delete(h))}})})}function t6e(e,t){t.forEach(n=>{n.projects.delete(e)&&n.close()})}function nse(e,t,n){e.delete(t)&&e.forEach(({extendedResult:s},l)=>{var f;(f=s.extendedSourceFiles)!=null&&f.some(d=>n(d)===t)&&nse(e,l,n)})}function ort(e,t,n){const s=new Map(e);b4(t,s,{createNewValue:n,onDeleteValue:ig})}function r6e(e,t,n){const s=e.getMissingFilePaths(),l=gT(s,Kc,jb);b4(t,l,{createNewValue:n,onDeleteValue:ig})}function Oz(e,t,n){b4(e,t,{createNewValue:s,onDeleteValue:pg,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 Lz({watchedDirPath:e,fileOrDirectory:t,fileOrDirectoryPath:n,configFileName:s,options:l,program:f,extraFileExtensions:d,currentDirectory:g,useCaseSensitiveFileNames:h,writeLog:k,toPath:T}){const C=Bse(n);if(!C)return k(`Project: ${s} Detected ignored path: ${t}`),!0;if(n=C,n===e)return!1;if(N6(n)&&!USe(t,l,d))return k(`Project: ${s} Detected file add/remove of non supported extension: ${t}`),!0;if(LCe(t,l.configFile.configFileSpecs,ua(cs(s),g),h,g))return k(`Project: ${s} Detected excluded file: ${t}`),!0;if(!f||Ac(l)||l.outDir)return!1;if(S_(n)){if(l.declarationDir)return!1}else if(!$l(n,fD))return!1;const D=R_(n),O=ka(f)?void 0:crt(f)?f.getProgramOrUndefined():f,M=!O&&!ka(f)?f:void 0;if(U(D+".ts")||U(D+".tsx"))return k(`Project: ${s} Detected output file: ${t}`),!0;return!1;function U(B){return O?!!O.getSourceFileByPath(B):M?M.getState().fileInfos.has(B):!!Ve(f,H=>T(H)===B)}}function crt(e){return!!e.getState}function n6e(e,t){return e?e.isEmittedFile(t):!1}function i6e(e,t,n,s){dbe(t===2?n:fc);const l={watchFile:(U,B,H,Y)=>e.watchFile(U,B,H,Y),watchDirectory:(U,B,H,Y)=>e.watchDirectory(U,B,(H&1)!==0,Y)},f=t!==0?{watchFile:O("watchFile"),watchDirectory:O("watchDirectory")}:void 0,d=t===2?{watchFile:C,watchDirectory:D}:f||l,g=t===2?T:A9;return{watchFile:h("watchFile"),watchDirectory:h("watchDirectory")};function h(U){return(B,H,Y,Z,fe,Q)=>{var he;return zU(B,U==="watchFile"?Z==null?void 0:Z.excludeFiles:Z==null?void 0:Z.excludeDirectories,k(),((he=e.getCurrentDirectory)==null?void 0:he.call(e))||"")?g(B,Y,Z,fe,Q):d[U].call(void 0,B,H,Y,Z,fe,Q)}}function k(){return typeof e.useCaseSensitiveFileNames=="boolean"?e.useCaseSensitiveFileNames:e.useCaseSensitiveFileNames()}function T(U,B,H,Y,Z){return n(`ExcludeWatcher:: Added:: ${M(U,B,H,Y,Z,s)}`),{close:()=>n(`ExcludeWatcher:: Close:: ${M(U,B,H,Y,Z,s)}`)}}function C(U,B,H,Y,Z,fe){n(`FileWatcher:: Added:: ${M(U,H,Y,Z,fe,s)}`);const Q=f.watchFile(U,B,H,Y,Z,fe);return{close:()=>{n(`FileWatcher:: Close:: ${M(U,H,Y,Z,fe,s)}`),Q.close()}}}function D(U,B,H,Y,Z,fe){const Q=`DirectoryWatcher:: Added:: ${M(U,H,Y,Z,fe,s)}`;n(Q);const he=Uc(),W=f.watchDirectory(U,B,H,Y,Z,fe),ye=Uc()-he;return n(`Elapsed:: ${ye}ms ${Q}`),{close:()=>{const de=`DirectoryWatcher:: Close:: ${M(U,H,Y,Z,fe,s)}`;n(de);const Ce=Uc();W.close();const K=Uc()-Ce;n(`Elapsed:: ${K}ms ${de}`)}}}function O(U){return(B,H,Y,Z,fe,Q)=>l[U].call(void 0,B,(...he)=>{const W=`${U==="watchFile"?"FileWatcher":"DirectoryWatcher"}:: Triggered with ${he[0]} ${he[1]!==void 0?he[1]:""}:: ${M(B,Y,Z,fe,Q,s)}`;n(W);const ye=Uc();H.call(void 0,...he);const de=Uc()-ye;n(`Elapsed:: ${de}ms ${W}`)},Y,Z,fe,Q)}function M(U,B,H,Y,Z,fe){return`WatchInfo: ${U} ${B} ${JSON.stringify(H)} ${fe?fe(Y,Z):Z===void 0?Y:`${Y} ${Z}`}`}}function y9(e){const t=e==null?void 0:e.fallbackPolling;return{watchFile:t!==void 0?t:1}}function pg(e){e.watcher.close()}var ise,sse,lrt=p({"src/compiler/watchUtilities.ts"(){Ba(),ise=(e=>(e[e.None=0]="None",e[e.Partial=1]="Partial",e[e.Full=2]="Full",e))(ise||{}),sse=(e=>(e[e.None=0]="None",e[e.TriggerOnly=1]="TriggerOnly",e[e.Verbose=2]="Verbose",e))(sse||{})}});function s6e(e,t,n="tsconfig.json"){return zy(e,s=>{const l=vs(s,n);return t(l)?l:void 0})}function Mz(e,t){const n=cs(t),s=fh(e)?e:vs(n,e);return So(s)}function a6e(e,t,n){let s;return te(e,f=>{const d=kI(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?mv(s):t}function o6e(e,t){return cse(e,t)}function ase(e,t,n){return(s,l,f)=>{let d;try{vc("beforeIORead"),d=e(s,t().charset),vc("afterIORead"),xp("I/O Read","beforeIORead","afterIORead")}catch(g){f&&f(g.message),d=""}return d!==void 0?RO(s,d,l,n):void 0}}function ose(e,t,n){return(s,l,f,d)=>{try{vc("beforeIOWrite"),cte(s,l,f,e,t,n),vc("afterIOWrite"),xp("I/O Write","beforeIOWrite","afterIOWrite")}catch(g){d&&d(g.message)}}}function cse(e,t,n=Gu){const s=new Map,l=nf(n.useCaseSensitiveFileNames);function f(T){return s.has(T)?!0:(k.directoryExists||n.directoryExists)(T)?(s.set(T,!0),!0):!1}function d(){return cs(So(n.getExecutingFilePath()))}const g=l1(e),h=n.realpath&&(T=>n.realpath(T)),k={getSourceFile:ase(T=>k.readFile(T),()=>e,t),getDefaultLibLocation:d,getDefaultLibFileName:T=>vs(d(),$B(T)),writeFile:ose((T,C,D)=>n.writeFile(T,C,D),T=>(k.createDirectory||n.createDirectory)(T),T=>f(T)),getCurrentDirectory:tp(()=>n.getCurrentDirectory()),useCaseSensitiveFileNames:()=>n.useCaseSensitiveFileNames,getCanonicalFileName:l,getNewLine:()=>g,fileExists:T=>n.fileExists(T),readFile:T=>n.readFile(T),trace:T=>n.write(T+g),directoryExists:T=>n.directoryExists(T),getEnvironmentVariable:T=>n.getEnvironmentVariable?n.getEnvironmentVariable(T):"",getDirectories:T=>n.getDirectories(T),realpath:h,readDirectory:(T,C,D,O,M)=>n.readDirectory(T,C,D,O,M),createDirectory:T=>n.createDirectory(T),createHash:no(n,n.createHash)};return k}function v9(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,T=new Map,C=new Map,D=U=>{const B=t(U),H=h.get(B);return H!==void 0?H!==!1?H:void 0:O(B,U)},O=(U,B)=>{const H=s.call(e,B);return h.set(U,H!==void 0?H:!1),H};e.readFile=U=>{const B=t(U),H=h.get(B);return H!==void 0?H!==!1?H:void 0:!Vl(U,".json")&&!qEe(U)?s.call(e,U):O(B,U)};const M=n?(U,B,H,Y)=>{const Z=t(U),fe=typeof B=="object"?B.impliedNodeFormat:void 0,Q=C.get(fe),he=Q==null?void 0:Q.get(Z);if(he)return he;const W=n(U,B,H,Y);return W&&(S_(U)||Vl(U,".json"))&&C.set(fe,(Q||new Map).set(Z,W)),W}:void 0;return e.fileExists=U=>{const B=t(U),H=k.get(B);if(H!==void 0)return H;const Y=l.call(e,U);return k.set(B,!!Y),Y},g&&(e.writeFile=(U,B,...H)=>{const Y=t(U);k.delete(Y);const Z=h.get(Y);Z!==void 0&&Z!==B?(h.delete(Y),C.forEach(fe=>fe.delete(Y))):M&&C.forEach(fe=>{const Q=fe.get(Y);Q&&Q.text!==B&&fe.delete(Y)}),g.call(e,U,B,...H)}),f&&(e.directoryExists=U=>{const B=t(U),H=T.get(B);if(H!==void 0)return H;const Y=f.call(e,U);return T.set(B,!!Y),Y},d&&(e.createDirectory=U=>{const B=t(U);T.delete(B),d.call(e,U)})),{originalReadFile:s,originalFileExists:l,originalDirectoryExists:f,originalCreateDirectory:d,originalWriteFile:g,getSourceFileWithCache:M,readFileWithCache:D}}function urt(e,t,n){let s;return s=Pi(s,e.getConfigFileParsingDiagnostics()),s=Pi(s,e.getOptionsDiagnostics(n)),s=Pi(s,e.getSyntacticDiagnostics(t,n)),s=Pi(s,e.getGlobalDiagnostics(n)),s=Pi(s,e.getSemanticDiagnostics(t,n)),rm(e.getCompilerOptions())&&(s=Pi(s,e.getDeclarationDiagnostics(t,n))),M6(s||ft)}function frt(e,t){let n="";for(const s of e)n+=lse(s,t);return n}function lse(e,t){const n=`${SB(e)} TS${e.code}: ${jv(e.messageText,t.getNewLine())}${t.getNewLine()}`;if(e.file){const{line:s,character:l}=Vc(e.file,e.start),f=e.file.fileName;return`${sP(f,t.getCurrentDirectory(),g=>t.getCanonicalFileName(g))}(${s+1},${l+1}): `+n}return n}function c6e(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 cS(e,t){return t+e+Tse}function l6e(e,t,n,s,l,f){const{line:d,character:g}=Vc(e,t),{line:h,character:k}=Vc(e,t+n),T=Vc(e,e.text.length).line,C=h-d>=4;let D=(h+1+"").length;C&&(D=Math.max(Sse.length,D));let O="";for(let M=d;M<=h;M++){O+=f.getNewLine(),C&&d+1<M&&M<h-1&&(O+=s+cS(vx(Sse,D),Vz)+$z+f.getNewLine(),M=h-1);const U=PI(e,M,0),B=M<T?PI(e,M+1,0):e.text.length;let H=e.text.slice(U,B);if(H=$C(H),H=H.replace(/\t/g," "),O+=s+cS(vx(M+1+"",D),Vz)+$z,O+=H+f.getNewLine(),O+=s+cS(vx("",D),Vz)+$z,O+=l,M===d){const Y=M===h?k:void 0;O+=H.slice(0,g).replace(/\S/g," "),O+=H.slice(g,Y).replace(/./g,"~")}else M===h?O+=H.slice(0,k).replace(/./g,"~"):O+=H.replace(/./g,"~");O+=Tse}return O}function use(e,t,n,s=cS){const{line:l,character:f}=Vc(e,t),d=n?sP(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 u6e(e,t){let n="";for(const s of e){if(s.file){const{file:l,start:f}=s;n+=use(l,f,t),n+=" - "}if(n+=cS(SB(s),c6e(s.category)),n+=cS(` TS${s.code}: `,"\x1B[90m"),n+=jv(s.messageText,t.getNewLine()),s.file&&s.code!==v.File_appears_to_be_binary.code&&(n+=t.getNewLine(),n+=l6e(s.file,s.start,s.length,"",c6e(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+=m6e+use(l,f,t),n+=l6e(l,f,d,xse,"\x1B[96m",t)),n+=t.getNewLine(),n+=xse+jv(g,t.getNewLine())}n+=t.getNewLine()}return n}function jv(e,t,n=0){if(Wa(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+=jv(l,t,n);return s}function b9(e,t){return(Wa(e)?t:e.resolutionMode)||t}function fse(e,t){if(e.impliedNodeFormat!==void 0)return cm(e,zz(e,t))}function _se(e){var t;return Ju(e)?e.isTypeOnly:!!((t=e.importClause)!=null&&t.isTypeOnly)}function cm(e,t){var n,s;if(e.impliedNodeFormat===void 0)return;if((ju(t.parent)||Ju(t.parent))&&_se(t.parent)){const d=qw(t.parent.assertClause);if(d)return d}if(t.parent.parent&&t0(t.parent.parent)){const f=qw((n=t.parent.parent.assertions)==null?void 0:n.assertClause);if(f)return f}if(e.impliedNodeFormat!==99)return Dp(Av(t.parent))?99:1;const l=(s=Av(t.parent))==null?void 0:s.parent;return l&&cf(l)?1:99}function qw(e,t){if(!e)return;if(G(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(Yo(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(Yo(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 pse(e){return e.text}function dse(e,t,n,s,l){return{nameAndMode:ZD,resolve:(f,d)=>jD(f,e,n,s,l,t,d)}}function Fz(e){return Wa(e)?e:wm(e.fileName)}function Rz(e,t,n,s,l){return{nameAndMode:k9,resolve:(f,d)=>Xne(f,e,n,s,t,l,d)}}function T9(e,t,n,s,l,f,d,g){if(e.length===0)return ft;const h=[],k=new Map,T=g(t,n,s,f,d);for(const C of e){const D=T.nameAndMode.getName(C),O=T.nameAndMode.getMode(C,l),M=BD(D,O);let U=k.get(M);U||k.set(M,U=T.resolve(D,O)),h.push(U)}return h}function f6e(e,t){return S9(void 0,e,(n,s)=>n&&t(n,s))}function S9(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 te(g,(k,T)=>{if(k&&(l!=null&&l.has(k.sourceFile.path)))return;const C=n(k,h,T);return C||!k?C:((l||(l=new Set)).add(k.sourceFile.path),f(k.commandLine.projectReferences,k.references,k))})}}function Bz(e,t,n){const s=e.configFilePath?cs(e.configFilePath):t;return vs(s,`__lib_node_modules_lookup_${n}__.ts`)}function _6e(e){const t=e.split(".");let n=t[1],s=2;for(;t[s]&&t[s]!=="d";)n+=(s===2?"/":"-")+t[s],s++;return"@typescript/lib-"+n}function p6e(e){const t=wm(e.fileName),n=VU.get(t);return{libName:t,libFileName:n}}function u2(e){switch(e==null?void 0:e.kind){case 3:case 4:case 5:case 7:return!0;default:return!1}}function iA(e){return e.pos!==void 0}function QD(e,t){var n,s,l,f,d,g;const h=R.checkDefined(e(t.file)),{kind:k,index:T}=t;let C,D,O,M;switch(k){case 3:const U=zz(h,T);if(O=(l=(s=(n=h.resolvedModules)==null?void 0:n.get(U.text,fse(h,T)))==null?void 0:s.resolvedModule)==null?void 0:l.packageId,U.pos===-1)return{file:h,packageId:O,text:U.text};C=fo(h.text,U.pos),D=U.end;break;case 4:({pos:C,end:D}=h.referencedFiles[T]);break;case 5:({pos:C,end:D,resolutionMode:M}=h.typeReferenceDirectives[T]),O=(g=(d=(f=h.resolvedTypeReferenceDirectiveNames)==null?void 0:f.get(wm(h.typeReferenceDirectives[T].fileName),M||h.impliedNodeFormat))==null?void 0:d.resolvedTypeReferenceDirective)==null?void 0:g.packageId;break;case 7:({pos:C,end:D}=h.libReferenceDirectives[T]);break;default:return R.assertNever(k)}return{file:h,pos:C,end:D,packageId:O}}function mse(e,t,n,s,l,f,d,g,h,k){if(!e||g!=null&&g()||!Oc(e.getRootFileNames(),t))return!1;let T;if(!Oc(e.getProjectReferences(),k,M)||e.getSourceFiles().some(D)||e.getMissingFilePaths().some(l))return!1;const C=e.getCompilerOptions();if(!xte(C,n)||e.resolvedLibReferences&&rp(e.resolvedLibReferences,(B,H)=>d(H)))return!1;if(C.configFile&&n.configFile)return C.configFile.text===n.configFile.text;return!0;function D(B){return!O(B)||f(B.path)}function O(B){return B.version===s(B.resolvedPath,B.fileName)}function M(B,H,Y){return oee(B,H)&&U(e.getResolvedProjectReferences()[Y],B)}function U(B,H){if(B){if(kt(T,B))return!0;const Z=YD(H),fe=h(Z);return!fe||B.commandLine.options.configFile!==fe.options.configFile||!Oc(B.commandLine.fileNames,fe.fileNames)?!1:((T||(T=[])).push(B),!te(B.references,(Q,he)=>!U(Q,B.commandLine.projectReferences[he])))}const Y=YD(H);return!h(Y)}}function ck(e){return e.options.configFile?[...e.options.configFile.parseDiagnostics,...e.errors]:e.errors}function x9(e,t,n,s){const l=hse(e,t,n,s);return typeof l=="object"?l.impliedNodeFormat:l}function hse(e,t,n,s){switch(wl(s)){case 3:case 99:return $l(e,[".d.mts",".mts",".mjs"])?99:$l(e,[".d.cts",".cts",".cjs"])?1:$l(e,[".d.ts",".ts",".tsx",".js",".jsx"])?l():void 0;default:return}function l(){const f=iz(t,n,s),d=[];f.failedLookupLocations=d,f.affectingLocations=d;const g=sz(e,f);return{impliedNodeFormat:(g==null?void 0:g.contents.packageJsonContent.type)==="module"?99:1,packageJsonLocations:d,packageJsonScope:g}}}function _rt(e,t){return e?W6(e.getCompilerOptions(),t,WU):!1}function prt(e,t,n,s,l,f){return{rootNames:e,options:t,host:n,oldProgram:s,configFileParsingDiagnostics:l,typeScriptVersion:f}}function jz(e,t,n,s,l){var f,d,g,h,k,T,C,D,O,M,U,B,H,Y,Z,fe;const Q=ka(e)?prt(e,t,n,s,l):e,{rootNames:he,options:W,configFileParsingDiagnostics:ye,projectReferences:de,typeScriptVersion:Ce}=Q;let{oldProgram:K}=Q;const ce=tp(()=>zs("ignoreDeprecations",v.Invalid_value_for_ignoreDeprecations));let le,xe,we,Ie,ue,ut,Ge;const qe=new Map;let Ke=sd();const Me={},ze={};let st=nk(),et,je,_t,Lt,Dt,Xt;const Ye=typeof W.maxNodeModuleJsDepth=="number"?W.maxNodeModuleJsDepth:0;let Bt=0;const vr=new Map,Ar=new Map;(f=qi)==null||f.push(qi.Phase.Program,"createProgram",{configFilePath:W.configFilePath,rootDir:W.rootDir},!0),vc("beforeProgram");const Ht=Q.host||o6e(W),tn=Uz(Ht);let hn=W.noLib;const Br=tp(()=>Ht.getDefaultLibFileName(W)),Cn=Ht.getDefaultLibLocation?Ht.getDefaultLibLocation():cs(Br()),ci=d4(),Ji=Ht.getCurrentDirectory(),ws=KP(W),ui=$5(W,ws),Pt=new Map;let Dr,Kt,Qr;const _n=Ht.hasInvalidatedResolutions||Q0;Ht.resolveModuleNameLiterals?(Qr=Ht.resolveModuleNameLiterals.bind(Ht),Kt=(d=Ht.getModuleResolutionCache)==null?void 0:d.call(Ht)):Ht.resolveModuleNames?(Qr=(Re,lt,St,dr,$r,Wr)=>Ht.resolveModuleNames(Re.map(pse),lt,Wr==null?void 0:Wr.map(pse),St,dr,$r).map(Hr=>Hr?Hr.extension!==void 0?{resolvedModule:Hr}:{resolvedModule:{...Hr,extension:Vx(Hr.resolvedFileName)}}:kse),Kt=(g=Ht.getModuleResolutionCache)==null?void 0:g.call(Ht)):(Kt=K4(Ji,sa,W),Qr=(Re,lt,St,dr,$r)=>T9(Re,lt,St,dr,$r,Ht,Kt,dse));let Nn;if(Ht.resolveTypeReferenceDirectiveReferences)Nn=Ht.resolveTypeReferenceDirectiveReferences.bind(Ht);else if(Ht.resolveTypeReferenceDirectives)Nn=(Re,lt,St,dr,$r)=>Ht.resolveTypeReferenceDirectives(Re.map(Fz),lt,St,dr,$r==null?void 0:$r.impliedNodeFormat).map(Wr=>({resolvedTypeReferenceDirective:Wr}));else{const Re=tz(Ji,sa,void 0,Kt==null?void 0:Kt.getPackageJsonInfoCache());Nn=(lt,St,dr,$r,Wr)=>T9(lt,St,dr,$r,Wr,Ht,Re,Rz)}const ks=Ht.hasInvalidatedLibResolutions||Q0;let ls;if(Ht.resolveLibrary)ls=Ht.resolveLibrary.bind(Ht);else{const Re=K4(Ji,sa,W,Kt==null?void 0:Kt.getPackageJsonInfoCache());ls=(lt,St,dr)=>rz(lt,St,dr,Ht,Re)}const Yr=new Map;let Er=new Map,rn=sd(),qr=!1;const xi=new Map;let pt;const Nt=Ht.useCaseSensitiveFileNames()?new Map:void 0;let dt,Ut,rr,se;const at=!!((h=Ht.useSourceOfProjectReferenceRedirect)!=null&&h.call(Ht))&&!W.disableSourceOfProjectReferenceRedirect,{onProgramCreateComplete:xt,fileExists:ae,directoryExists:mt}=drt({compilerHost:Ht,getSymlinkCache:fm,useSourceOfProjectReferenceRedirect:at,toPath:vt,getResolvedProjectReferences:Ys,getSourceOfProjectReferenceRedirect:fa,forEachResolvedProjectReference:Zi}),_r=Ht.readFile.bind(Ht);(k=qi)==null||k.push(qi.Phase.Program,"shouldProgramCreateNewSourceFiles",{hasOldProgram:!!K});const Fe=_rt(K,W);(T=qi)==null||T.pop();let Gt;if((C=qi)==null||C.push(qi.Phase.Program,"tryReuseStructureFromOldProgram",{}),Gt=bi(),(D=qi)==null||D.pop(),Gt!==2){if(le=[],xe=[],de&&(dt||(dt=de.map(Nc)),he.length&&(dt==null||dt.forEach((Re,lt)=>{if(!Re)return;const St=Ac(Re.commandLine.options);if(at){if(St||Zu(Re.commandLine.options)===0)for(const dr of Re.commandLine.fileNames)mu(dr,{kind:1,index:lt})}else if(St)mu(VT(St,".d.ts"),{kind:2,index:lt});else if(Zu(Re.commandLine.options)===0){const dr=tp(()=>XD(Re.commandLine,!Ht.useCaseSensitiveFileNames()));for(const $r of Re.commandLine.fileNames)!S_($r)&&!Vl($r,".json")&&mu(GD($r,Re.commandLine,!Ht.useCaseSensitiveFileNames(),dr),{kind:2,index:lt})}}))),(O=qi)==null||O.push(qi.Phase.Program,"processRootFiles",{count:he.length}),te(he,(Re,lt)=>In(Re,!1,!1,{kind:0,index:lt})),(M=qi)==null||M.pop(),je??(je=he.length?ez(W,Ht):ft),_t=nk(),je.length){(U=qi)==null||U.push(qi.Phase.Program,"processTypeReferences",{count:je.length});const Re=W.configFilePath?cs(W.configFilePath):Ji,lt=vs(Re,C9),St=Nr(je,lt);for(let dr=0;dr<je.length;dr++)_t.set(je[dr],void 0,St[dr]),Cr(je[dr],void 0,St[dr],{kind:8,typeReference:je[dr],packageId:(H=(B=St[dr])==null?void 0:B.resolvedTypeReferenceDirective)==null?void 0:H.packageId});(Y=qi)==null||Y.pop()}if(he.length&&!hn){const Re=Br();!W.lib&&Re?In(Re,!0,!1,{kind:6}):te(W.lib,(lt,St)=>{In(ti(lt),!0,!1,{kind:6,index:St})})}pt=oo(zi(xi.entries(),([Re,lt])=>lt===void 0?Re:void 0)),we=G0(le,Te).concat(xe),le=void 0,xe=void 0}if(R.assert(!!pt),K&&Ht.onReleaseOldSourceFile){const Re=K.getSourceFiles();for(const lt of Re){const St=Za(lt.resolvedPath);(Fe||!St||St.impliedNodeFormat!==lt.impliedNodeFormat||lt.resolvedPath===lt.path&&St.resolvedPath!==lt.path)&&Ht.onReleaseOldSourceFile(lt,K.getCompilerOptions(),!!Za(lt.path))}Ht.getParsedCommandLine||K.forEachResolvedProjectReference(lt=>{bt(lt.sourceFile.path)||Ht.onReleaseOldSourceFile(lt.sourceFile,K.getCompilerOptions(),!1)})}K&&Ht.onReleaseParsedCommandLine&&S9(K.getProjectReferences(),K.getResolvedProjectReferences(),(Re,lt,St)=>{const dr=(lt==null?void 0:lt.commandLine.projectReferences[St])||K.getProjectReferences()[St],$r=YD(dr);Ut!=null&&Ut.has(vt($r))||Ht.onReleaseParsedCommandLine($r,Re,K.getCompilerOptions())}),K=void 0,Dt=void 0;const zt={getRootFileNames:()=>he,getSourceFile:ta,getSourceFileByPath:Za,getSourceFiles:()=>we,getMissingFilePaths:()=>pt,getModuleResolutionCache:()=>Kt,getFilesByNameMap:()=>xi,getCompilerOptions:()=>W,getSyntacticDiagnostics:Rc,getOptionsDiagnostics:ie,getGlobalDiagnostics:Et,getSemanticDiagnostics:Dl,getCachedSemanticDiagnostics:Nl,getSuggestionDiagnostics:Sc,getDeclarationDiagnostics:Ns,getBindAndCheckDiagnostics:ku,getProgramDiagnostics:la,getTypeChecker:Zs,getClassifiableNames:ht,getCommonSourceDirectory:Qt,emit:Hc,getCurrentDirectory:()=>Ji,getNodeCount:()=>Zs().getNodeCount(),getIdentifierCount:()=>Zs().getIdentifierCount(),getSymbolCount:()=>Zs().getSymbolCount(),getTypeCount:()=>Zs().getTypeCount(),getInstantiationCount:()=>Zs().getInstantiationCount(),getRelationCacheSizes:()=>Zs().getRelationCacheSizes(),getFileProcessingDiagnostics:()=>et,getResolvedTypeReferenceDirectives:()=>st,getAutomaticTypeDirectiveNames:()=>je,getAutomaticTypeDirectiveResolutions:()=>_t,isSourceFileFromExternalLibrary:Es,isSourceFileDefaultLibrary:Li,getSourceFileFromReference:tl,getLibFileFromReference:Va,sourceFileToPackageName:Er,redirectTargetsMap:rn,usesUriStyleNodeCoreModules:qr,resolvedLibReferences:Lt,getCurrentPackagesMap:()=>Xt,typesPackageExists:ii,packageBundlesTypes:Gn,isEmittedFile:xh,getConfigFileParsingDiagnostics:Rt,getProjectReferences:Oi,getResolvedProjectReferences:Ys,getProjectReferenceRedirect:x_,getResolvedProjectReferenceToRedirect:sn,getResolvedProjectReferenceByPath:bt,forEachResolvedProjectReference:Zi,isSourceOfProjectReferenceRedirect:_e,emitBuildInfo:qs,fileExists:ae,readFile:_r,directoryExists:mt,getSymlinkCache:fm,realpath:(Z=Ht.realpath)==null?void 0:Z.bind(Ht),useCaseSensitiveFileNames:()=>Ht.useCaseSensitiveFileNames(),getCanonicalFileName:sa,getFileIncludeReasons:()=>Ke,structureIsReused:Gt,writeFile:rs};return xt(),et==null||et.forEach(Re=>{switch(Re.kind){case 1:return ci.add(up(Re.file&&Za(Re.file),Re.fileProcessingReason,Re.diagnostic,Re.args||ft));case 0:const{file:lt,pos:St,end:dr}=QD(Za,Re.reason);return ci.add(vu(lt,R.checkDefined(St),R.checkDefined(dr)-St,Re.diagnostic,...Re.args||ft));case 2:return Re.diagnostics.forEach($r=>ci.add($r));default:R.assertNever(Re)}}),k_(),vc("afterProgram"),xp("Program","beforeProgram","afterProgram"),(fe=qi)==null||fe.pop(),zt;function Lr(){return Xt||(Xt=new Map,we.forEach(Re=>{Re.resolvedModules&&Re.resolvedModules.forEach(({resolvedModule:lt})=>{lt!=null&&lt.packageId&&Xt.set(lt.packageId.name,lt.extension===".d.ts"||!!Xt.get(lt.packageId.name))})}),Xt)}function ii(Re){return Lr().has(cz(Re))}function Gn(Re){return!!Lr().get(Re)}function Rn(Re){var lt;(lt=Re.resolutionDiagnostics)!=null&&lt.length&&(et??(et=[])).push({kind:2,diagnostics:Re.resolutionDiagnostics})}function L(Re,lt,St,dr){if(Ht.resolveModuleNameLiterals||!Ht.resolveModuleNames)return Rn(St);if(!Kt||Lu(lt))return;const $r=ua(Re.originalFileName,Ji),Wr=cs($r),Hr=ke(Re),dn=Kt.getFromNonRelativeNameCache(lt,dr,Wr,Hr);dn&&Rn(dn)}function Se(Re,lt,St){var dr,$r;if(!Re.length)return ft;const Wr=ua(lt.originalFileName,Ji),Hr=ke(lt);(dr=qi)==null||dr.push(qi.Phase.Program,"resolveModuleNamesWorker",{containingFileName:Wr}),vc("beforeResolveModule");const dn=Qr(Re,Wr,Hr,W,lt,St);return vc("afterResolveModule"),xp("ResolveModule","beforeResolveModule","afterResolveModule"),($r=qi)==null||$r.pop(),dn}function pe(Re,lt,St){var dr,$r;if(!Re.length)return[];const Wr=Wa(lt)?void 0:lt,Hr=Wa(lt)?lt:ua(lt.originalFileName,Ji),dn=Wr&&ke(Wr);(dr=qi)==null||dr.push(qi.Phase.Program,"resolveTypeReferenceDirectiveNamesWorker",{containingFileName:Hr}),vc("beforeResolveTypeReference");const $i=Nn(Re,Hr,dn,W,Wr,St);return vc("afterResolveTypeReference"),xp("ResolveTypeReference","beforeResolveTypeReference","afterResolveTypeReference"),($r=qi)==null||$r.pop(),$i}function ke(Re){const lt=sn(Re.originalFileName);if(lt||!S_(Re.originalFileName))return lt;const St=ve(Re.path);if(St)return St;if(!Ht.realpath||!W.preserveSymlinks||!rf(Re.originalFileName,h1))return;const dr=vt(Ht.realpath(Re.originalFileName));return dr===Re.path?void 0:ve(dr)}function ve(Re){const lt=fa(Re);if(Wa(lt))return sn(lt);if(lt)return Zi(St=>{const dr=Ac(St.commandLine.options);if(dr)return vt(dr)===Re?St:void 0})}function Te(Re,lt){return wc(ee(Re),ee(lt))}function ee(Re){if(gv(Cn,Re.fileName,!1)){const lt=Xu(Re.fileName);if(lt==="lib.d.ts"||lt==="lib.es6.d.ts")return 0;const St=P6(K3(lt,"lib."),".d.ts"),dr=HO.indexOf(St);if(dr!==-1)return dr+1}return HO.length+2}function vt(Re){return bc(Re,Ji,sa)}function Qt(){if(ue===void 0){const Re=gr(we,lt=>pw(lt,zt));ue=m9(W,()=>lr(Re,lt=>lt.isDeclarationFile?void 0:lt.fileName),Ji,sa,lt=>xc(Re,lt))}return ue}function ht(){var Re;if(!Ge){Zs(),Ge=new Set;for(const lt of we)(Re=lt.classifiableNames)==null||Re.forEach(St=>Ge.add(St))}return Ge}function Vt(Re,lt){var St;if(Gt===0&&!lt.ambientModuleNames.length)return Se(Re,lt,void 0);const dr=K&&K.getSourceFile(lt.fileName);if(dr!==lt&&lt.resolvedModules){const si=[];for(const zn of Re){const ya=lt.resolvedModules.get(zn.text,cm(lt,zn));si.push(ya)}return si}let $r,Wr,Hr;const dn=kse;for(let si=0;si<Re.length;si++){const zn=Re[si];if(lt===dr&&!_n(dr.path)){const gl=cm(lt,zn),hu=(St=dr.resolvedModules)==null?void 0:St.get(zn.text,gl);if(hu!=null&&hu.resolvedModule){n0(W,Ht)&&Fs(Ht,hu.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,zn.text,ua(lt.originalFileName,Ji),hu.resolvedModule.resolvedFileName,hu.resolvedModule.packageId&&wv(hu.resolvedModule.packageId)),(Wr??(Wr=new Array(Re.length)))[si]=hu,(Hr??(Hr=[])).push(zn);continue}}let ya=!1;kt(lt.ambientModuleNames,zn.text)?(ya=!0,n0(W,Ht)&&Fs(Ht,v.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1,zn.text,ua(lt.originalFileName,Ji))):ya=Ln(zn),ya?(Wr||(Wr=new Array(Re.length)))[si]=dn:($r??($r=[])).push(zn)}const $i=$r&&$r.length?Se($r,lt,Hr):ft;if(!Wr)return R.assert($i.length===Re.length),$i;let As=0;for(let si=0;si<Wr.length;si++)Wr[si]||(Wr[si]=$i[As],As++);return R.assert(As===$i.length),Wr;function Ln(si){const zn=H6(dr,si.text,cm(lt,si)),ya=zn&&K.getSourceFile(zn.resolvedFileName);if(zn&&ya)return!1;const gl=qe.get(si.text);return gl?(n0(W,Ht)&&Fs(Ht,v.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,si.text,gl),!0):!1}}function Nr(Re,lt){var St;if(Gt===0)return pe(Re,lt,void 0);const dr=Wa(lt)?void 0:K&&K.getSourceFile(lt.fileName);if(!Wa(lt)&&dr!==lt&&lt.resolvedTypeReferenceDirectiveNames){const si=[];for(const zn of Re){const ya=lt.resolvedTypeReferenceDirectiveNames.get(Fz(zn),b9(zn,lt.impliedNodeFormat));si.push(ya)}return si}let $r,Wr,Hr;const dn=Wa(lt)?void 0:lt,$i=Wa(lt)?!_n(vt(lt)):lt===dr&&!_n(dr.path);for(let si=0;si<Re.length;si++){const zn=Re[si];if($i){const ya=Fz(zn),gl=b9(zn,dn==null?void 0:dn.impliedNodeFormat),hu=(St=Wa(lt)?K==null?void 0:K.getAutomaticTypeDirectiveResolutions():dr==null?void 0:dr.resolvedTypeReferenceDirectiveNames)==null?void 0:St.get(ya,gl);if(hu!=null&&hu.resolvedTypeReferenceDirective){n0(W,Ht)&&Fs(Ht,hu.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,ya,Wa(lt)?lt:ua(lt.originalFileName,Ji),hu.resolvedTypeReferenceDirective.resolvedFileName,hu.resolvedTypeReferenceDirective.packageId&&wv(hu.resolvedTypeReferenceDirective.packageId)),(Wr??(Wr=new Array(Re.length)))[si]=hu,(Hr??(Hr=[])).push(zn);continue}}($r??($r=[])).push(zn)}if(!$r)return Wr||ft;const As=pe($r,lt,Hr);if(!Wr)return R.assert(As.length===Re.length),As;let Ln=0;for(let si=0;si<Wr.length;si++)Wr[si]||(Wr[si]=As[Ln],Ln++);return R.assert(Ln===As.length),Wr}function Pn(){return!S9(K.getProjectReferences(),K.getResolvedProjectReferences(),(Re,lt,St)=>{const dr=(lt?lt.commandLine.projectReferences:de)[St],$r=Nc(dr);return Re?!$r||$r.sourceFile!==Re.sourceFile||!Oc(Re.commandLine.fileNames,$r.commandLine.fileNames):$r!==void 0},(Re,lt)=>{const St=lt?bt(lt.sourceFile.path).commandLine.projectReferences:de;return!Oc(Re,St,oee)})}function bi(){var Re;if(!K)return 0;const lt=K.getCompilerOptions();if(aee(lt,W))return 0;const St=K.getRootFileNames();if(!Oc(St,he)||!Pn())return 0;de&&(dt=de.map(Nc));const dr=[],$r=[];if(Gt=2,K.getMissingFilePaths().some(Ln=>Ht.fileExists(Ln)))return 0;const Wr=K.getSourceFiles();let Hr;(Ln=>{Ln[Ln.Exists=0]="Exists",Ln[Ln.Modified=1]="Modified"})(Hr||(Hr={}));const dn=new Map;for(const Ln of Wr){const si=Ku(Ln.fileName,Kt,Ht,W);let zn=Ht.getSourceFileByPath?Ht.getSourceFileByPath(Ln.fileName,Ln.resolvedPath,si,void 0,Fe||si.impliedNodeFormat!==Ln.impliedNodeFormat):Ht.getSourceFile(Ln.fileName,si,void 0,Fe||si.impliedNodeFormat!==Ln.impliedNodeFormat);if(!zn)return 0;zn.packageJsonLocations=(Re=si.packageJsonLocations)!=null&&Re.length?si.packageJsonLocations:void 0,zn.packageJsonScope=si.packageJsonScope,R.assert(!zn.redirectInfo,"Host should not return a redirect source file from `getSourceFile`");let ya;if(Ln.redirectInfo){if(zn!==Ln.redirectInfo.unredirected)return 0;ya=!1,zn=Ln}else if(K.redirectTargetsMap.has(Ln.path)){if(zn!==Ln)return 0;ya=!1}else ya=zn!==Ln;zn.path=Ln.path,zn.originalFileName=Ln.originalFileName,zn.resolvedPath=Ln.resolvedPath,zn.fileName=Ln.fileName;const gl=K.sourceFileToPackageName.get(Ln.path);if(gl!==void 0){const hu=dn.get(gl),V_=ya?1:0;if(hu!==void 0&&V_===1||hu===1)return 0;dn.set(gl,V_)}ya?(Ln.impliedNodeFormat!==zn.impliedNodeFormat?Gt=1:Oc(Ln.libReferenceDirectives,zn.libReferenceDirectives,Wn)?Ln.hasNoDefaultLib!==zn.hasNoDefaultLib?Gt=1:Oc(Ln.referencedFiles,zn.referencedFiles,Wn)?(Us(zn),Oc(Ln.imports,zn.imports,hi)&&Oc(Ln.moduleAugmentations,zn.moduleAugmentations,hi)?(Ln.flags&6291456)!==(zn.flags&6291456)?Gt=1:Oc(Ln.typeReferenceDirectives,zn.typeReferenceDirectives,Wn)||(Gt=1):Gt=1):Gt=1:Gt=1,$r.push({oldFile:Ln,newFile:zn})):_n(Ln.path)&&(Gt=1,$r.push({oldFile:Ln,newFile:zn})),dr.push(zn)}if(Gt!==2)return Gt;const $i=$r.map(Ln=>Ln.oldFile);for(const Ln of Wr)if(!kt($i,Ln))for(const si of Ln.ambientModuleNames)qe.set(si,Ln.fileName);for(const{oldFile:Ln,newFile:si}of $r){const zn=d6e(si),ya=Vt(zn,si);lee(zn,si,ya,Ln.resolvedModules,J2e,ZD)?(Gt=1,si.resolvedModules=eie(si,zn,ya,ZD)):si.resolvedModules=Ln.resolvedModules;const hu=si.typeReferenceDirectives,V_=Nr(hu,si);lee(hu,si,V_,Ln.resolvedTypeReferenceDirectiveNames,U2e,k9)?(Gt=1,si.resolvedTypeReferenceDirectiveNames=eie(si,hu,V_,k9)):si.resolvedTypeReferenceDirectiveNames=Ln.resolvedTypeReferenceDirectiveNames}if(Gt!==2)return Gt;if(F2e(lt,W)||K.resolvedLibReferences&&rp(K.resolvedLibReferences,(Ln,si)=>ki(si).actual!==Ln.actual))return 1;if(Ht.hasChangedAutomaticTypeDirectiveNames){if(Ht.hasChangedAutomaticTypeDirectiveNames())return 1}else if(je=ez(W,Ht),!Oc(K.getAutomaticTypeDirectiveNames(),je))return 1;pt=K.getMissingFilePaths(),R.assert(dr.length===K.getSourceFiles().length);for(const Ln of dr)xi.set(Ln.path,Ln);return K.getFilesByNameMap().forEach((Ln,si)=>{if(!Ln){xi.set(si,Ln);return}if(Ln.path===si){K.isSourceFileFromExternalLibrary(Ln)&&Ar.set(Ln.path,!0);return}xi.set(si,xi.get(Ln.path))}),we=dr,Ke=K.getFileIncludeReasons(),et=K.getFileProcessingDiagnostics(),st=K.getResolvedTypeReferenceDirectives(),je=K.getAutomaticTypeDirectiveNames(),_t=K.getAutomaticTypeDirectiveResolutions(),Er=K.sourceFileToPackageName,rn=K.redirectTargetsMap,qr=K.usesUriStyleNodeCoreModules,Lt=K.resolvedLibReferences,Xt=K.getCurrentPackagesMap(),2}function Vi(Re){return{getPrependNodes:Js,getCanonicalFileName:sa,getCommonSourceDirectory:zt.getCommonSourceDirectory,getCompilerOptions:zt.getCompilerOptions,getCurrentDirectory:()=>Ji,getSourceFile:zt.getSourceFile,getSourceFileByPath:zt.getSourceFileByPath,getSourceFiles:zt.getSourceFiles,getLibFileFromReference:zt.getLibFileFromReference,isSourceFileFromExternalLibrary:Es,getResolvedProjectReferenceToRedirect:sn,getProjectReferenceRedirect:x_,isSourceOfProjectReferenceRedirect:_e,getSymlinkCache:fm,writeFile:Re||rs,isEmitBlocked:rc,readFile:lt=>Ht.readFile(lt),fileExists:lt=>{const St=vt(lt);return Za(St)?!0:kt(pt,St)?!1:Ht.fileExists(lt)},useCaseSensitiveFileNames:()=>Ht.useCaseSensitiveFileNames(),getBuildInfo:lt=>{var St;return(St=zt.getBuildInfo)==null?void 0:St.call(zt,lt)},getSourceFileFromReference:(lt,St)=>zt.getSourceFileFromReference(lt,St),redirectTargetsMap:rn,getFileIncludeReasons:zt.getFileIncludeReasons,createHash:no(Ht,Ht.createHash)}}function rs(Re,lt,St,dr,$r,Wr){Ht.writeFile(Re,lt,St,dr,$r,Wr)}function qs(Re){var lt,St;R.assert(!Ac(W)),(lt=qi)==null||lt.push(qi.Phase.Emit,"emitBuildInfo",{},!0),vc("beforeEmit");const dr=Dz(Iz,Vi(Re),void 0,Xie,!1,!0);return vc("afterEmit"),xp("Emit","beforeEmit","afterEmit"),(St=qi)==null||St.pop(),dr}function Ys(){return dt}function Oi(){return de}function Js(){return yse(de,(Re,lt)=>{var St;return(St=dt[lt])==null?void 0:St.commandLine},Re=>{const lt=vt(Re),St=Za(lt);return St?St.text:xi.has(lt)?void 0:Ht.readFile(lt)},Ht)}function Es(Re){return!!Ar.get(Re.path)}function Li(Re){if(!Re.isDeclarationFile)return!1;if(Re.hasNoDefaultLib)return!0;if(!W.noLib)return!1;const lt=Ht.useCaseSensitiveFileNames()?VC:zC;return W.lib?Ne(W.lib,St=>lt(Re.fileName,Lt.get(St).actual)):lt(Re.fileName,Br())}function Zs(){return ut||(ut=Hwe(zt))}function Hc(Re,lt,St,dr,$r,Wr){var Hr,dn;(Hr=qi)==null||Hr.push(qi.Phase.Emit,"emit",{path:Re==null?void 0:Re.path},!0);const $i=Gc(()=>nn(zt,Re,lt,St,dr,$r,Wr));return(dn=qi)==null||dn.pop(),$i}function rc(Re){return Pt.has(vt(Re))}function nn(Re,lt,St,dr,$r,Wr,Hr){if(!Hr){const As=gse(Re,lt,St,dr);if(As)return As}const dn=Zs().getEmitResolver(Ac(W)?void 0:lt,dr);vc("beforeEmit");const $i=Dz(dn,Vi(St),lt,Gie(W,Wr,$r),$r,!1,Hr);return vc("afterEmit"),xp("Emit","beforeEmit","afterEmit"),$i}function ta(Re){return Za(vt(Re))}function Za(Re){return xi.get(Re)||void 0}function ga(Re,lt,St){return M6(Re?lt(Re,St):ln(zt.getSourceFiles(),dr=>(St&&St.throwIfCancellationRequested(),lt(dr,St))))}function Rc(Re,lt){return ga(Re,Wl,lt)}function Dl(Re,lt){return ga(Re,Af,lt)}function Nl(Re){var lt;return Re?(lt=Me.perFile)==null?void 0:lt.get(Re.path):Me.allDiagnostics}function ku(Re,lt){return Zl(Re,lt)}function la(Re){var lt;if(tD(Re,W,zt))return ft;const St=ci.getDiagnostics(Re.fileName);return(lt=Re.commentDirectives)!=null&&lt.length?hl(Re,Re.commentDirectives,St).diagnostics:St}function Ns(Re,lt){const St=zt.getCompilerOptions();return!Re||Ac(St)?Bl(Re,lt):ga(Re,be,lt)}function Wl(Re){return qf(Re)?(Re.additionalSyntacticDiagnostics||(Re.additionalSyntacticDiagnostics=br(Re)),wr(Re.additionalSyntacticDiagnostics,Re.parseDiagnostics)):Re.parseDiagnostics}function Gc(Re){try{return Re()}catch(lt){throw lt instanceof nP&&(ut=void 0),lt}}function Af(Re,lt){return wr(Jz(Zl(Re,lt),W),la(Re))}function Zl(Re,lt){return Cu(Re,lt,Me,Vu)}function Vu(Re,lt){return Gc(()=>{if(tD(Re,W,zt))return ft;const St=Zs();R.assert(!!Re.bindDiagnostics);const $r=(Re.scriptKind===1||Re.scriptKind===2)&&G5(Re,W),Wr=gj(Re,W.checkJs),dn=!(!!Re.checkJsDirective&&Re.checkJsDirective.enabled===!1)&&(Re.scriptKind===3||Re.scriptKind===4||Re.scriptKind===5||Wr||$r||Re.scriptKind===7);let $i=dn?Re.bindDiagnostics:ft,As=dn?St.getDiagnostics(Re,lt):ft;return Wr&&($i=gr($i,Ln=>qz.has(Ln.code)),As=gr(As,Ln=>qz.has(Ln.code))),pc(Re,dn&&!Wr,$i,As,$r?Re.jsDocDiagnostics:void 0)})}function pc(Re,lt,...St){var dr;const $r=$n(St);if(!lt||!((dr=Re.commentDirectives)!=null&&dr.length))return $r;const{diagnostics:Wr,directives:Hr}=hl(Re,Re.commentDirectives,$r);for(const dn of Hr.getUnusedExpectations())Wr.push(wee(Re,dn.range,v.Unused_ts_expect_error_directive));return Wr}function hl(Re,lt,St){const dr=H2e(Re,lt);return{diagnostics:St.filter(Wr=>Jc(Wr,dr)===-1),directives:dr}}function Sc(Re,lt){return Gc(()=>Zs().getSuggestionDiagnostics(Re,lt))}function Jc(Re,lt){const{file:St,start:dr}=Re;if(!St)return-1;const $r=Vy(St);let Wr=DI($r,dr).line-1;for(;Wr>=0;){if(lt.markUsed(Wr))return Wr;const Hr=St.text.slice($r[Wr],$r[Wr+1]).trim();if(Hr!==""&&!/^(\s*)\/\/(.*)$/.test(Hr))return-1;Wr--}return-1}function br(Re){return Gc(()=>{const lt=[];return St(Re,Re),OD(Re,St,dr),lt;function St(dn,$i){switch($i.kind){case 168:case 171:case 173:if($i.questionToken===dn)return lt.push(Hr(dn,v.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 172:case 175:case 176:case 177:case 217:case 261:case 218:case 259:if($i.type===dn)return lt.push(Hr(dn,v.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(dn.kind){case 272:if(dn.isTypeOnly)return lt.push(Hr($i,v._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 277:if(dn.isTypeOnly)return lt.push(Hr(dn,v._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 275:case 280:if(dn.isTypeOnly)return lt.push(Hr(dn,v._0_declarations_can_only_be_used_in_TypeScript_files,J_(dn)?"import...type":"export...type")),"skip";break;case 270:return lt.push(Hr(dn,v.import_can_only_be_used_in_TypeScript_files)),"skip";case 276:if(dn.isExportEquals)return lt.push(Hr(dn,v.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 297:if(dn.token===119)return lt.push(Hr(dn,v.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 263:const Ln=io(120);return R.assertIsDefined(Ln),lt.push(Hr(dn,v._0_declarations_can_only_be_used_in_TypeScript_files,Ln)),"skip";case 266:const si=dn.flags&16?io(145):io(144);return R.assertIsDefined(si),lt.push(Hr(dn,v._0_declarations_can_only_be_used_in_TypeScript_files,si)),"skip";case 264:return lt.push(Hr(dn,v.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 265:const zn=R.checkDefined(io(94));return lt.push(Hr(dn,v._0_declarations_can_only_be_used_in_TypeScript_files,zn)),"skip";case 234:return lt.push(Hr(dn,v.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 233:return lt.push(Hr(dn.type,v.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 237:return lt.push(Hr(dn.type,v.Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 215:R.fail()}}function dr(dn,$i){if(une($i)){const As=Ve($i.modifiers,xf);As&&lt.push(Hr(As,v.Decorators_are_not_valid_here))}else if(Jw($i)&&$i.modifiers){const As=ir($i.modifiers,xf);if(As>=0){if(ea($i)&&!W.experimentalDecorators)lt.push(Hr($i.modifiers[As],v.Decorators_are_not_valid_here));else if(Su($i)){const Ln=ir($i.modifiers,pU);if(Ln>=0){const si=ir($i.modifiers,zxe);if(As>Ln&&si>=0&&As<si)lt.push(Hr($i.modifiers[As],v.Decorators_are_not_valid_here));else if(Ln>=0&&As<Ln){const zn=ir($i.modifiers,xf,Ln);zn>=0&&lt.push(ho(Hr($i.modifiers[zn],v.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),Hr($i.modifiers[As],v.Decorator_used_before_export_here)))}}}}}switch($i.kind){case 262:case 230:case 173:case 175:case 176:case 177:case 217:case 261:case 218:if(dn===$i.typeParameters)return lt.push(Wr(dn,v.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 242:if(dn===$i.modifiers)return $r($i.modifiers,$i.kind===242),"skip";break;case 171:if(dn===$i.modifiers){for(const As of dn)Ha(As)&&As.kind!==126&&As.kind!==129&&lt.push(Hr(As,v.The_0_modifier_can_only_be_used_in_TypeScript_files,io(As.kind)));return"skip"}break;case 168:if(dn===$i.modifiers&&Ne(dn,Ha))return lt.push(Wr(dn,v.Parameter_modifiers_can_only_be_used_in_TypeScript_files)),"skip";break;case 212:case 213:case 232:case 284:case 285:case 214:if(dn===$i.typeArguments)return lt.push(Wr(dn,v.Type_arguments_can_only_be_used_in_TypeScript_files)),"skip";break}}function $r(dn,$i){for(const As of dn)switch(As.kind){case 87:if($i)continue;case 125:case 123:case 124:case 148:case 138:case 128:case 163:case 103:case 147:lt.push(Hr(As,v.The_0_modifier_can_only_be_used_in_TypeScript_files,io(As.kind)));break;case 126:case 95:case 90:case 129:}}function Wr(dn,$i,...As){const Ln=dn.pos;return vu(Re,Ln,dn.end-Ln,$i,...As)}function Hr(dn,$i,...As){return Dd(Re,dn,$i,...As)}})}function Bl(Re,lt){return Cu(Re,lt,ze,ff)}function ff(Re,lt){return Gc(()=>{const St=Zs().getEmitResolver(Re,lt);return JEe(Vi(fc),St,Re)||ft})}function Cu(Re,lt,St,dr){var $r;const Wr=Re?($r=St.perFile)==null?void 0:$r.get(Re.path):St.allDiagnostics;if(Wr)return Wr;const Hr=dr(Re,lt);return Re?(St.perFile||(St.perFile=new Map)).set(Re.path,Hr):St.allDiagnostics=Hr,Hr}function be(Re,lt){return Re.isDeclarationFile?[]:Bl(Re,lt)}function ie(){return M6(wr(ci.getGlobalDiagnostics(),Je()))}function Je(){if(!W.configFile)return ft;let Re=ci.getDiagnostics(W.configFile.fileName);return Zi(lt=>{Re=wr(Re,ci.getDiagnostics(lt.sourceFile.fileName))}),Re}function Et(){return he.length?M6(Zs().getGlobalDiagnostics().slice()):ft}function Rt(){return ye||ft}function In(Re,lt,St,dr){sc(So(Re),lt,St,void 0,dr)}function Wn(Re,lt){return Re.fileName===lt.fileName}function hi(Re,lt){return Re.kind===80?lt.kind===80&&Re.escapedText===lt.escapedText:lt.kind===11&&Re.text===lt.text}function di(Re,lt){const St=V.createStringLiteral(Re),dr=V.createImportDeclaration(void 0,void 0,St,void 0);return Tw(dr,2),ko(St,dr),ko(dr,lt),St.flags&=-9,dr.flags&=-9,St}function Us(Re){if(Re.imports)return;const lt=qf(Re),St=Ul(Re);let dr,$r,Wr;if((Nm(W)||St)&&!Re.isDeclarationFile){W.importHelpers&&(dr=[di(Ov,Re)]);const Ln=vJ(yJ(W,Re),W);Ln&&(dr||(dr=[])).push(di(Ln,Re))}for(const Ln of Re.statements)dn(Ln,!1);const Hr=lt&&mJ(W);(Re.flags&2097152||Hr)&&$i(Re),Re.imports=dr||ft,Re.moduleAugmentations=$r||ft,Re.ambientModuleNames=Wr||ft;return;function dn(Ln,si){if(XI(Ln)){const zn=a4(Ln);zn&&yo(zn)&&zn.text&&(!si||!Lu(zn.text))&&(Iv(Ln,!1),dr=zr(dr,zn),!qr&&Bt===0&&!Re.isDeclarationFile&&(qr=Xs(zn.text,"node:")))}else if(Al(Ln)&&$f(Ln)&&(si||gi(Ln,2)||Re.isDeclarationFile)){Ln.name.parent=Ln;const zn=em(Ln.name);if(St||si&&!Lu(zn))($r||($r=[])).push(Ln.name);else if(!si){Re.isDeclarationFile&&(Wr||(Wr=[])).push(zn);const ya=Ln.body;if(ya)for(const gl of ya.statements)dn(gl,!0)}}}function $i(Ln){const si=/import|require/g;for(;si.exec(Ln.text)!==null;){const zn=As(Ln,si.lastIndex);Hr&&M_(zn,!0)||Dp(zn)&&zn.arguments.length>=1&&Yo(zn.arguments[0])?(Iv(zn,!1),dr=zr(dr,zn.arguments[0])):Hb(zn)&&(Iv(zn,!1),dr=zr(dr,zn.argument.literal))}}function As(Ln,si){let zn=Ln;const ya=gl=>{if(gl.pos<=si&&(si<gl.end||si===gl.end&&gl.kind===1))return gl};for(;;){const gl=lt&&Ap(zn)&&te(zn.jsDoc,ya)||_a(zn,ya);if(!gl)return zn;zn=gl}}}function Va(Re){var lt;const{libFileName:St}=p6e(Re),dr=St&&((lt=Lt==null?void 0:Lt.get(St))==null?void 0:lt.actual);return dr!==void 0?ta(dr):void 0}function tl(Re,lt){return ic(Mz(lt.fileName,Re.fileName),ta)}function ic(Re,lt,St,dr){if(N6(Re)){const $r=Ht.getCanonicalFileName(Re);if(!W.allowNonTsExtensions&&!te($n(ui),Hr=>Vl($r,Hr))){St&&(zT($r)?St(v.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option,Re):St(v.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1,Re,"'"+$n(ws).join("', '")+"'"));return}const Wr=lt(Re);if(St)if(Wr)u2(dr)&&$r===Ht.getCanonicalFileName(Za(dr.file).fileName)&&St(v.A_file_cannot_have_a_reference_to_itself);else{const Hr=x_(Re);Hr?St(v.Output_file_0_has_not_been_built_from_source_file_1,Hr,Re):St(v.File_0_not_found,Re)}return Wr}else{const $r=W.allowNonTsExtensions&&lt(Re);if($r)return $r;if(St&&W.allowNonTsExtensions){St(v.File_0_not_found,Re);return}const Wr=te(ws[0],Hr=>lt(Re+Hr));return St&&!Wr&&St(v.Could_not_resolve_the_path_0_with_the_extensions_Colon_1,Re,"'"+$n(ws).join("', '")+"'"),Wr}}function sc(Re,lt,St,dr,$r){ic(Re,Wr=>hc(Wr,lt,St,$r,dr),(Wr,...Hr)=>Pf(void 0,$r,Wr,Hr),$r)}function mu(Re,lt){return sc(Re,!1,!1,void 0,lt)}function cl(Re,lt,St){!u2(St)&&Ne(Ke.get(lt.path),u2)?Pf(lt,St,v.Already_included_file_name_0_differs_from_file_name_1_only_in_casing,[lt.fileName,Re]):Pf(lt,St,v.File_name_0_differs_from_already_included_file_name_1_only_in_casing,[Re,lt.fileName])}function Mo(Re,lt,St,dr,$r,Wr,Hr){var dn;const $i=_g.createRedirectedSourceFile({redirectTarget:Re,unredirected:lt});return $i.fileName=St,$i.path=dr,$i.resolvedPath=$r,$i.originalFileName=Wr,$i.packageJsonLocations=(dn=Hr.packageJsonLocations)!=null&&dn.length?Hr.packageJsonLocations:void 0,$i.packageJsonScope=Hr.packageJsonScope,Ar.set(dr,Bt>0),$i}function hc(Re,lt,St,dr,$r){var Wr,Hr;(Wr=qi)==null||Wr.push(qi.Phase.Program,"findSourceFile",{fileName:Re,isDefaultLib:lt||void 0,fileIncludeKind:AB[dr.kind]});const dn=Xc(Re,lt,St,dr,$r);return(Hr=qi)==null||Hr.pop(),dn}function Ku(Re,lt,St,dr){const $r=hse(ua(Re,Ji),lt==null?void 0:lt.getPackageJsonInfoCache(),St,dr),Wr=Eo(dr),Hr=J5(dr);return typeof $r=="object"?{...$r,languageVersion:Wr,setExternalModuleIndicator:Hr}:{languageVersion:Wr,impliedNodeFormat:$r,setExternalModuleIndicator:Hr}}function Xc(Re,lt,St,dr,$r){var Wr,Hr;const dn=vt(Re);if(at){let zn=fa(dn);if(!zn&&Ht.realpath&&W.preserveSymlinks&&S_(Re)&&rf(Re,h1)){const ya=vt(Ht.realpath(Re));ya!==dn&&(zn=fa(ya))}if(zn){const ya=Wa(zn)?hc(zn,lt,St,dr,$r):void 0;return ya&&lp(ya,dn,void 0),ya}}const $i=Re;if(xi.has(dn)){const zn=xi.get(dn);if(wu(zn||void 0,dr),zn&&W.forceConsistentCasingInFileNames!==!1){const ya=zn.fileName;vt(ya)!==vt(Re)&&(Re=x_(Re)||Re);const hu=vK(ya,Ji),V_=vK(Re,Ji);hu!==V_&&cl(Re,zn,dr)}return zn&&Ar.get(zn.path)&&Bt===0?(Ar.set(zn.path,!1),W.noResolve||(Yt(zn,lt),Zt(zn)),W.noLib||ds(zn),vr.set(zn.path,!1),Ka(zn)):zn&&vr.get(zn.path)&&Bt<Ye&&(vr.set(zn.path,!1),Ka(zn)),zn||void 0}let As;if(u2(dr)&&!at){const zn=De(Re);if(zn){if(Ac(zn.commandLine.options))return;const ya=er(zn,Re);Re=ya,As=vt(ya)}}const Ln=Ku(Re,Kt,Ht,W),si=Ht.getSourceFile(Re,Ln,zn=>Pf(void 0,dr,v.Cannot_read_file_0_Colon_1,[Re,zn]),Fe||((Wr=K==null?void 0:K.getSourceFileByPath(vt(Re)))==null?void 0:Wr.impliedNodeFormat)!==Ln.impliedNodeFormat);if($r){const zn=wv($r),ya=Yr.get(zn);if(ya){const gl=Mo(ya,si,Re,dn,vt(Re),$i,Ln);return rn.add(ya.path,Re),lp(gl,dn,As),wu(gl,dr),Er.set(dn,mj($r)),xe.push(gl),gl}else si&&(Yr.set(zn,si),Er.set(dn,mj($r)))}if(lp(si,dn,As),si){if(Ar.set(dn,Bt>0),si.fileName=Re,si.path=dn,si.resolvedPath=vt(Re),si.originalFileName=$i,si.packageJsonLocations=(Hr=Ln.packageJsonLocations)!=null&&Hr.length?Ln.packageJsonLocations:void 0,si.packageJsonScope=Ln.packageJsonScope,wu(si,dr),Ht.useCaseSensitiveFileNames()){const zn=wm(dn),ya=Nt.get(zn);ya?cl(Re,ya,dr):Nt.set(zn,si)}hn=hn||si.hasNoDefaultLib&&!St,W.noResolve||(Yt(si,lt),Zt(si)),W.noLib||ds(si),Ka(si),lt?le.push(si):xe.push(si)}return si}function wu(Re,lt){Re&&Ke.add(Re.path,lt)}function lp(Re,lt,St){St?(xi.set(St,Re),xi.set(lt,Re||!1)):xi.set(lt,Re)}function x_(Re){const lt=De(Re);return lt&&er(lt,Re)}function De(Re){if(!(!dt||!dt.length||S_(Re)||Vl(Re,".json")))return sn(Re)}function er(Re,lt){const St=Ac(Re.commandLine.options);return St?VT(St,".d.ts"):GD(lt,Re.commandLine,!Ht.useCaseSensitiveFileNames())}function sn(Re){rr===void 0&&(rr=new Map,Zi(St=>{vt(W.configFilePath)!==St.sourceFile.path&&St.commandLine.fileNames.forEach(dr=>rr.set(vt(dr),St.sourceFile.path))}));const lt=rr.get(vt(Re));return lt&&bt(lt)}function Zi(Re){return f6e(dt,Re)}function fa(Re){if(S_(Re))return se===void 0&&(se=new Map,Zi(lt=>{const St=Ac(lt.commandLine.options);if(St){const dr=VT(St,".d.ts");se.set(vt(dr),!0)}else{const dr=tp(()=>XD(lt.commandLine,!Ht.useCaseSensitiveFileNames()));te(lt.commandLine.fileNames,$r=>{if(!S_($r)&&!Vl($r,".json")){const Wr=GD($r,lt.commandLine,!Ht.useCaseSensitiveFileNames(),dr);se.set(vt(Wr),$r)}})}})),se.get(Re)}function _e(Re){return at&&!!sn(Re)}function bt(Re){if(Ut)return Ut.get(Re)||void 0}function Yt(Re,lt){te(Re.referencedFiles,(St,dr)=>{sc(Mz(St.fileName,Re.fileName),lt,!1,void 0,{kind:4,file:Re.path,index:dr})})}function Zt(Re){const lt=Re.typeReferenceDirectives;if(!lt.length){Re.resolvedTypeReferenceDirectiveNames=void 0;return}const St=Nr(lt,Re);for(let dr=0;dr<lt.length;dr++){const $r=Re.typeReferenceDirectives[dr],Wr=St[dr],Hr=wm($r.fileName);j2e(Re,Hr,Wr,b9($r,Re.impliedNodeFormat));const dn=$r.resolutionMode||Re.impliedNodeFormat;dn&&wl(W)!==3&&wl(W)!==99&&(et??(et=[])).push({kind:2,diagnostics:[wee(Re,$r,v.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext)]}),Cr(Hr,dn,Wr,{kind:5,file:Re.path,index:dr})}}function Cr(Re,lt,St,dr){var $r,Wr;($r=qi)==null||$r.push(qi.Phase.Program,"processTypeReferenceDirective",{directive:Re,hasResolved:!!St.resolvedTypeReferenceDirective,refKind:dr.kind,refPath:u2(dr)?dr.file:void 0}),an(Re,lt,St,dr),(Wr=qi)==null||Wr.pop()}function an(Re,lt,St,dr){var $r;Rn(St);const Wr=($r=st.get(Re,lt))==null?void 0:$r.resolvedTypeReferenceDirective;if(Wr&&Wr.primary)return;let Hr=!0;const{resolvedTypeReferenceDirective:dn}=St;if(dn){if(dn.isExternalLibraryImport&&Bt++,dn.primary)sc(dn.resolvedFileName,!1,!1,dn.packageId,dr);else if(Wr){if(dn.resolvedFileName!==Wr.resolvedFileName){const $i=Ht.readFile(dn.resolvedFileName),As=ta(Wr.resolvedFileName);$i!==As.text&&Pf(As,dr,v.Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict,[Re,dn.resolvedFileName,Wr.resolvedFileName])}Hr=!1}else sc(dn.resolvedFileName,!1,!1,dn.packageId,dr);dn.isExternalLibraryImport&&Bt--}else Pf(void 0,dr,v.Cannot_find_type_definition_file_for_0,[Re]);Hr&&st.set(Re,lt,St)}function ti(Re){const lt=Lt==null?void 0:Lt.get(Re);if(lt)return lt.actual;const St=ki(Re);return(Lt??(Lt=new Map)).set(Re,St),St.actual}function ki(Re){var lt,St,dr,$r,Wr;const Hr=Dt==null?void 0:Dt.get(Re);if(Hr)return Hr;if(Gt!==0&&K&&!ks(Re)){const si=(lt=K.resolvedLibReferences)==null?void 0:lt.get(Re);if(si){if(si.resolution&&n0(W,Ht)){const zn=_6e(Re),ya=Bz(W,Ji,Re);Fs(Ht,si.resolution.resolvedModule?si.resolution.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:v.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved,zn,ua(ya,Ji),(St=si.resolution.resolvedModule)==null?void 0:St.resolvedFileName,((dr=si.resolution.resolvedModule)==null?void 0:dr.packageId)&&wv(si.resolution.resolvedModule.packageId))}return(Dt??(Dt=new Map)).set(Re,si),si}}const dn=_6e(Re),$i=Bz(W,Ji,Re);($r=qi)==null||$r.push(qi.Phase.Program,"resolveLibrary",{resolveFrom:$i}),vc("beforeResolveLibrary");const As=ls(dn,$i,W,Re);vc("afterResolveLibrary"),xp("ResolveLibrary","beforeResolveLibrary","afterResolveLibrary"),(Wr=qi)==null||Wr.pop();const Ln={resolution:As,actual:As.resolvedModule?As.resolvedModule.resolvedFileName:vs(Cn,Re)};return(Dt??(Dt=new Map)).set(Re,Ln),Ln}function ds(Re){te(Re.libReferenceDirectives,(lt,St)=>{const{libName:dr,libFileName:$r}=p6e(lt);if($r)In(ti($r),!0,!0,{kind:7,file:Re.path,index:St});else{const Wr=P6(K3(dr,"lib."),".d.ts"),Hr=Z3(Wr,HO,Kc),dn=Hr?v.Cannot_find_lib_definition_for_0_Did_you_mean_1:v.Cannot_find_lib_definition_for_0,$i=Hr?[dr,Hr]:[dr];(et||(et=[])).push({kind:0,reason:{kind:7,file:Re.path,index:St},diagnostic:dn,args:$i})}})}function sa(Re){return Ht.getCanonicalFileName(Re)}function Ka(Re){var lt;if(Us(Re),Re.imports.length||Re.moduleAugmentations.length){const St=d6e(Re),dr=Vt(St,Re);R.assert(dr.length===St.length);const $r=(at?(lt=ke(Re))==null?void 0:lt.commandLine.options:void 0)||W;for(let Wr=0;Wr<St.length;Wr++){const Hr=dr[Wr].resolvedModule,dn=St[Wr].text,$i=cm(Re,St[Wr]);if(B2e(Re,dn,dr[Wr],$i),L(Re,dn,dr[Wr],$i),!Hr)continue;const As=Hr.isExternalLibraryImport,Ln=!H5(Hr.extension),si=As&&Ln,zn=Hr.resolvedFileName;As&&Bt++;const ya=si&&Bt>Ye,gl=zn&&!vse($r,Hr,Re)&&!$r.noResolve&&Wr<Re.imports.length&&!ya&&!(Ln&&!z5($r))&&(Mn(Re.imports[Wr])||!(Re.imports[Wr].flags&8388608));ya?vr.set(Re.path,!0):gl&&hc(zn,!1,!1,{kind:3,file:Re.path,index:Wr},Hr.packageId),As&&Bt--}}else Re.resolvedModules=void 0}function xc(Re,lt){let St=!0;const dr=Ht.getCanonicalFileName(ua(lt,Ji));for(const $r of Re)$r.isDeclarationFile||Ht.getCanonicalFileName(ua($r.fileName,Ji)).indexOf(dr)!==0&&(zm($r,v.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files,[$r.fileName,lt]),St=!1);return St}function Nc(Re){Ut||(Ut=new Map);const lt=YD(Re),St=vt(lt),dr=Ut.get(St);if(dr!==void 0)return dr||void 0;let $r,Wr;if(Ht.getParsedCommandLine){if($r=Ht.getParsedCommandLine(lt),!$r){lp(void 0,St,void 0),Ut.set(St,!1);return}Wr=R.checkDefined($r.options.configFile),R.assert(!Wr.path||Wr.path===St),lp(Wr,St,void 0)}else{const dn=ua(cs(lt),Ji);if(Wr=Ht.getSourceFile(lt,100),lp(Wr,St,void 0),Wr===void 0){Ut.set(St,!1);return}$r=VO(Wr,tn,dn,void 0,lt)}Wr.fileName=lt,Wr.path=St,Wr.resolvedPath=St,Wr.originalFileName=lt;const Hr={commandLine:$r,sourceFile:Wr};return Ut.set(St,Hr),$r.projectReferences&&(Hr.references=$r.projectReferences.map(Nc)),Hr}function k_(){W.strictPropertyInitialization&&!Md(W,"strictNullChecks")&&ns(v.Option_0_cannot_be_specified_without_specifying_option_1,"strictPropertyInitialization","strictNullChecks"),W.exactOptionalPropertyTypes&&!Md(W,"strictNullChecks")&&ns(v.Option_0_cannot_be_specified_without_specifying_option_1,"exactOptionalPropertyTypes","strictNullChecks"),(W.isolatedModules||W.verbatimModuleSyntax)&&(W.out&&ns(v.Option_0_cannot_be_specified_with_option_1,"out",W.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules"),W.outFile&&ns(v.Option_0_cannot_be_specified_with_option_1,"outFile",W.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules")),W.inlineSourceMap&&(W.sourceMap&&ns(v.Option_0_cannot_be_specified_with_option_1,"sourceMap","inlineSourceMap"),W.mapRoot&&ns(v.Option_0_cannot_be_specified_with_option_1,"mapRoot","inlineSourceMap")),W.composite&&(W.declaration===!1&&ns(v.Composite_projects_may_not_disable_declaration_emit,"declaration"),W.incremental===!1&&ns(v.Composite_projects_may_not_disable_incremental_compilation,"declaration"));const Re=Ac(W);if(W.tsBuildInfoFile?U5(W)||ns(v.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"tsBuildInfoFile","incremental","composite"):W.incremental&&!Re&&!W.configFilePath&&ci.add(Cl(v.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified)),Rp(),gg(),W.composite){const Hr=new Set(he.map(vt));for(const dn of we)pw(dn,zt)&&!Hr.has(dn.path)&&zm(dn,v.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern,[dn.fileName,W.configFilePath||""])}if(W.paths){for(const Hr in W.paths)if(uc(W.paths,Hr))if(Nte(Hr)||X(!0,Hr,v.Pattern_0_can_have_at_most_one_Asterisk_character,Hr),ka(W.paths[Hr])){const dn=W.paths[Hr].length;dn===0&&X(!1,Hr,v.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array,Hr);for(let $i=0;$i<dn;$i++){const As=W.paths[Hr][$i],Ln=typeof As;Ln==="string"?(Nte(As)||yg(Hr,$i,v.Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character,As,Hr),!W.baseUrl&&!kp(As)&&!iP(As)&&yg(Hr,$i,v.Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash)):yg(Hr,$i,v.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2,As,Hr,Ln)}}else X(!1,Hr,v.Substitutions_for_pattern_0_should_be_an_array,Hr)}!W.sourceMap&&!W.inlineSourceMap&&(W.inlineSources&&ns(v.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"inlineSources"),W.sourceRoot&&ns(v.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"sourceRoot")),W.out&&W.outFile&&ns(v.Option_0_cannot_be_specified_with_option_1,"out","outFile"),W.mapRoot&&!(W.sourceMap||W.declarationMap)&&ns(v.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"mapRoot","sourceMap","declarationMap"),W.declarationDir&&(rm(W)||ns(v.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationDir","declaration","composite"),Re&&ns(v.Option_0_cannot_be_specified_with_option_1,"declarationDir",W.out?"out":"outFile")),W.declarationMap&&!rm(W)&&ns(v.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationMap","declaration","composite"),W.lib&&W.noLib&&ns(v.Option_0_cannot_be_specified_with_option_1,"lib","noLib"),W.noImplicitUseStrict&&Md(W,"alwaysStrict")&&ns(v.Option_0_cannot_be_specified_with_option_1,"noImplicitUseStrict","alwaysStrict");const lt=Eo(W),St=Ve(we,Hr=>Ul(Hr)&&!Hr.isDeclarationFile);if(W.isolatedModules||W.verbatimModuleSyntax)W.module===0&&lt<2&&W.isolatedModules&&ns(v.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,"isolatedModules","target"),W.preserveConstEnums===!1&&ns(v.Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled,W.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules","preserveConstEnums");else if(St&&lt<2&&W.module===0){const Hr=NT(St,typeof St.externalModuleIndicator=="boolean"?St:St.externalModuleIndicator);ci.add(vu(St,Hr.start,Hr.length,v.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none))}if(Re&&!W.emitDeclarationOnly){if(W.module&&!(W.module===2||W.module===4))ns(v.Only_amd_and_system_modules_are_supported_alongside_0,W.out?"out":"outFile","module");else if(W.module===void 0&&St){const Hr=NT(St,typeof St.externalModuleIndicator=="boolean"?St:St.externalModuleIndicator);ci.add(vu(St,Hr.start,Hr.length,v.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,W.out?"out":"outFile"))}}if(Ux(W)&&(wl(W)===1?ns(v.Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic,"resolveJsonModule"):pJ(W)||ns(v.Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext,"resolveJsonModule","module")),W.outDir||W.rootDir||W.sourceRoot||W.mapRoot){const Hr=Qt();W.outDir&&Hr===""&&we.some(dn=>Hh(dn.fileName)>1)&&ns(v.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}W.useDefineForClassFields&&lt===0&&ns(v.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields"),W.checkJs&&!z5(W)&&ci.add(Cl(v.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),W.emitDeclarationOnly&&(rm(W)||ns(v.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),W.noEmit&&ns(v.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")),W.emitDecoratorMetadata&&!W.experimentalDecorators&&ns(v.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),W.jsxFactory?(W.reactNamespace&&ns(v.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),(W.jsx===4||W.jsx===5)&&ns(v.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",MD.get(""+W.jsx)),zw(W.jsxFactory,lt)||zs("jsxFactory",v.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,W.jsxFactory)):W.reactNamespace&&!od(W.reactNamespace,lt)&&zs("reactNamespace",v.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,W.reactNamespace),W.jsxFragmentFactory&&(W.jsxFactory||ns(v.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),(W.jsx===4||W.jsx===5)&&ns(v.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",MD.get(""+W.jsx)),zw(W.jsxFragmentFactory,lt)||zs("jsxFragmentFactory",v.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,W.jsxFragmentFactory)),W.reactNamespace&&(W.jsx===4||W.jsx===5)&&ns(v.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",MD.get(""+W.jsx)),W.jsxImportSource&&W.jsx===2&&ns(v.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",MD.get(""+W.jsx)),W.preserveValueImports&&Zu(W)<5&&ns(v.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later,"preserveValueImports");const dr=Zu(W);W.verbatimModuleSyntax&&((dr===2||dr===3||dr===4)&&ns(v.Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System,"verbatimModuleSyntax"),W.preserveValueImports&&Bp("preserveValueImports","verbatimModuleSyntax"),W.importsNotUsedAsValues&&Bp("importsNotUsedAsValues","verbatimModuleSyntax")),W.allowImportingTsExtensions&&!(W.noEmit||W.emitDeclarationOnly)&&zs("allowImportingTsExtensions",v.Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set);const $r=wl(W);if(W.resolvePackageJsonExports&&!bw($r)&&ns(v.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonExports"),W.resolvePackageJsonImports&&!bw($r)&&ns(v.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonImports"),W.customConditions&&!bw($r)&&ns(v.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"customConditions"),$r===100&&!_J(dr)&&zs("moduleResolution",v.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later,"bundler"),!W.noEmit&&!W.suppressOutputPathCheck){const Hr=Vi(),dn=new Set;Qie(Hr,$i=>{W.emitDeclarationOnly||Wr($i.jsFilePath,dn),Wr($i.declarationFilePath,dn)})}function Wr(Hr,dn){if(Hr){const $i=vt(Hr);if(xi.has($i)){let Ln;W.configFilePath||(Ln=ca(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)),Ln=ca(Ln,v.Cannot_write_file_0_because_it_would_overwrite_input_file,Hr),z_(Hr,uJ(Ln))}const As=Ht.useCaseSensitiveFileNames()?$i:wm($i);dn.has(As)?z_(Hr,Cl(v.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,Hr)):dn.add(As)}}}function yd(){const Re=W.ignoreDeprecations;if(Re){if(Re==="5.0")return new Em(Re);ce()}return Em.zero}function zl(Re,lt,St,dr){const $r=new Em(Re),Wr=new Em(lt),Hr=new Em(Ce||A),dn=yd(),$i=Wr.compareTo(Hr)!==1,As=!$i&&dn.compareTo($r)===-1;($i||As)&&dr((Ln,si,zn)=>{$i?si===void 0?St(Ln,si,zn,v.Option_0_has_been_removed_Please_remove_it_from_your_configuration,Ln):St(Ln,si,zn,v.Option_0_1_has_been_removed_Please_remove_it_from_your_configuration,Ln,si):si===void 0?St(Ln,si,zn,v.Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error,Ln,lt,Re):St(Ln,si,zn,v.Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error,Ln,si,lt,Re)})}function Rp(){function Re(lt,St,dr,$r,...Wr){if(dr){const Hr=ca(void 0,v.Use_0_instead,dr),dn=ca(Hr,$r,...Wr);Ic(!St,lt,void 0,dn)}else Ic(!St,lt,void 0,$r,...Wr)}zl("5.0","5.5",Re,lt=>{W.target===0&&lt("target","ES3"),W.noImplicitUseStrict&&lt("noImplicitUseStrict"),W.keyofStringsOnly&&lt("keyofStringsOnly"),W.suppressExcessPropertyErrors&&lt("suppressExcessPropertyErrors"),W.suppressImplicitAnyIndexErrors&&lt("suppressImplicitAnyIndexErrors"),W.noStrictGenericChecks&&lt("noStrictGenericChecks"),W.charset&&lt("charset"),W.out&&lt("out",void 0,"outFile"),W.importsNotUsedAsValues&&lt("importsNotUsedAsValues",void 0,"verbatimModuleSyntax"),W.preserveValueImports&&lt("preserveValueImports",void 0,"verbatimModuleSyntax")})}function f_(Re,lt,St){function dr($r,Wr,Hr,dn,...$i){ba(lt,St,dn,...$i)}zl("5.0","5.5",dr,$r=>{Re.prepend&&$r("prepend")})}function up(Re,lt,St,dr){var $r;let Wr,Hr,dn=u2(lt)?lt:void 0;Re&&(($r=Ke.get(Re.path))==null||$r.forEach(zn)),lt&&zn(lt),dn&&(Wr==null?void 0:Wr.length)===1&&(Wr=void 0);const $i=dn&&QD(Za,dn),As=Wr&&ca(Wr,v.The_file_is_in_the_program_because_Colon),Ln=Re&&$se(Re),si=ca(Ln?As?[As,...Ln]:Ln:As,St,...dr||ft);return $i&&iA($i)?xj($i.file,$i.pos,$i.end-$i.pos,si,Hr):uJ(si,Hr);function zn(ya){(Wr||(Wr=[])).push(Hse(zt,ya)),!dn&&u2(ya)?dn=ya:dn!==ya&&(Hr=zr(Hr,cy(ya))),ya===lt&&(lt=void 0)}}function Pf(Re,lt,St,dr){(et||(et=[])).push({kind:1,file:Re&&Re.path,fileProcessingReason:lt,diagnostic:St,args:dr})}function zm(Re,lt,St){ci.add(up(Re,void 0,lt,St))}function cy(Re){if(u2(Re)){const dr=QD(Za,Re);let $r;switch(Re.kind){case 3:$r=v.File_is_included_via_import_here;break;case 4:$r=v.File_is_included_via_reference_here;break;case 5:$r=v.File_is_included_via_type_library_reference_here;break;case 7:$r=v.File_is_included_via_library_reference_here;break;default:R.assertNever(Re)}return iA(dr)?vu(dr.file,dr.pos,dr.end-dr.pos,$r):void 0}if(!W.configFile)return;let lt,St;switch(Re.kind){case 0:if(!W.configFile.configFileSpecs)return;const dr=ua(he[Re.index],Ji),$r=qse(zt,dr);if($r){lt=Nj(W.configFile,"files",$r),St=v.File_is_matched_by_files_list_specified_here;break}const Wr=Wse(zt,dr);if(!Wr||!Wa(Wr))return;lt=Nj(W.configFile,"include",Wr),St=v.File_is_matched_by_include_pattern_specified_here;break;case 1:case 2:const Hr=R.checkDefined(dt==null?void 0:dt[Re.index]),dn=S9(de,dt,(zn,ya,gl)=>zn===Hr?{sourceFile:(ya==null?void 0:ya.sourceFile)||W.configFile,index:gl}:void 0);if(!dn)return;const{sourceFile:$i,index:As}=dn,Ln=ZI($i,"references",zn=>Hf(zn.initializer)?zn.initializer:void 0);return Ln&&Ln.elements.length>As?Dd($i,Ln.elements[As],Re.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(!W.types)return;lt=pa("types",Re.typeReference),St=v.File_is_entry_point_of_type_library_specified_here;break;case 6:if(Re.index!==void 0){lt=pa("lib",W.lib[Re.index]),St=v.File_is_library_specified_here;break}const si=rp(QO.type,(zn,ya)=>zn===Eo(W)?ya:void 0);lt=si?On("target",si):void 0,St=v.File_is_default_library_for_target_specified_here;break;default:R.assertNever(Re)}return lt&&Dd(W.configFile,lt,St)}function gg(){const Re=W.suppressOutputPathCheck?void 0:y1(W);S9(de,dt,(lt,St,dr)=>{const $r=(St?St.commandLine.projectReferences:de)[dr],Wr=St&&St.sourceFile;if(f_($r,Wr,dr),!lt){ba(Wr,dr,v.File_0_not_found,$r.path);return}const Hr=lt.commandLine.options;if((!Hr.composite||Hr.noEmit)&&(St?St.commandLine.fileNames:he).length&&(Hr.composite||ba(Wr,dr,v.Referenced_project_0_must_have_setting_composite_Colon_true,$r.path),Hr.noEmit&&ba(Wr,dr,v.Referenced_project_0_may_not_disable_emit,$r.path)),$r.prepend){const dn=Ac(Hr);dn?Ht.fileExists(dn)||ba(Wr,dr,v.Output_file_0_from_project_1_does_not_exist,dn,$r.path):ba(Wr,dr,v.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,$r.path)}!St&&Re&&Re===y1(Hr)&&(ba(Wr,dr,v.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,Re,$r.path),Pt.set(vt(Re),!0))})}function yg(Re,lt,St,...dr){let $r=!0;nr(Wr=>{jo(Wr.initializer)&&t4(Wr.initializer,Re,Hr=>{const dn=Hr.initializer;Hf(dn)&&dn.elements.length>lt&&(ci.add(Dd(W.configFile,dn.elements[lt],St,...dr)),$r=!1)})}),$r&&ci.add(Cl(St,...dr))}function X(Re,lt,St,...dr){let $r=!0;nr(Wr=>{jo(Wr.initializer)&&Kl(Wr.initializer,Re,lt,void 0,St,...dr)&&($r=!1)}),$r&&ci.add(Cl(St,...dr))}function nt(Re,lt){return t4(Po(),Re,lt)}function nr(Re){return nt("paths",Re)}function On(Re,lt){return nt(Re,St=>yo(St.initializer)&&St.initializer.text===lt?St.initializer:void 0)}function pa(Re,lt){const St=Po();return St&&_Te(St,Re,lt)}function ns(Re,lt,St,dr){Ic(!0,lt,St,Re,lt,St,dr)}function zs(Re,lt,...St){Ic(!1,Re,void 0,lt,...St)}function ba(Re,lt,St,...dr){const $r=ZI(Re||W.configFile,"references",Wr=>Hf(Wr.initializer)?Wr.initializer:void 0);$r&&$r.elements.length>lt?ci.add(Dd(Re||W.configFile,$r.elements[lt],St,...dr)):ci.add(Cl(St,...dr))}function Ic(Re,lt,St,dr,...$r){const Wr=Po();(!Wr||!Kl(Wr,Re,lt,St,dr,...$r))&&("messageText"in dr?ci.add(uJ(dr)):ci.add(Cl(dr,...$r)))}function Po(){return Dr===void 0&&(Dr=t4(wP(W.configFile),"compilerOptions",Re=>jo(Re.initializer)?Re.initializer:void 0)||!1),Dr||void 0}function Kl(Re,lt,St,dr,$r,...Wr){let Hr=!1;return t4(Re,St,dn=>{"messageText"in $r?ci.add(Hy(W.configFile,lt?dn.name:dn.initializer,$r)):ci.add(Dd(W.configFile,lt?dn.name:dn.initializer,$r,...Wr)),Hr=!0},dr),Hr}function Bp(Re,lt){const St=Po();St?Kl(St,!0,Re,void 0,v.Option_0_is_redundant_and_cannot_be_specified_with_option_1,Re,lt):ns(v.Option_0_is_redundant_and_cannot_be_specified_with_option_1,Re,lt)}function z_(Re,lt){Pt.set(vt(Re),!0),ci.add(lt)}function xh(Re){if(W.noEmit)return!1;const lt=vt(Re);if(Za(lt))return!1;const St=Ac(W);if(St)return Vm(lt,St)||Vm(lt,R_(St)+".d.ts");if(W.declarationDir&&gv(W.declarationDir,lt,Ji,!Ht.useCaseSensitiveFileNames()))return!0;if(W.outDir)return gv(W.outDir,lt,Ji,!Ht.useCaseSensitiveFileNames());if($l(lt,fD)||S_(lt)){const dr=R_(lt);return!!Za(dr+".ts")||!!Za(dr+".tsx")}return!1}function Vm(Re,lt){return Tx(Re,lt,Ji,!Ht.useCaseSensitiveFileNames())===0}function fm(){return Ht.getSymlinkCache?Ht.getSymlinkCache():(Ie||(Ie=RSe(Ji,sa)),we&&_t&&!Ie.hasProcessedResolutions()&&Ie.setSymlinksFromResolutions(we,_t),Ie)}}function drt(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:fc,fileExists:h};e.compilerHost.fileExists=h;let d;return s&&(d=e.compilerHost.directoryExists=O=>s.call(e.compilerHost,O)?(C(O),!0):e.getResolvedProjectReferences()?(t||(t=new Set,e.forEachResolvedProjectReference(M=>{const U=Ac(M.commandLine.options);if(U)t.add(cs(e.toPath(U)));else{const B=M.commandLine.options.declarationDir||M.commandLine.options.outDir;B&&t.add(e.toPath(B))}})),D(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 M;return((M=e.getSymlinkCache().getSymlinkedFiles())==null?void 0:M.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:D(O,!0)}function k(O){const M=e.getSourceOfProjectReferenceRedirect(e.toPath(O));return M!==void 0?Wa(M)?n.call(e.compilerHost,M):!0:void 0}function T(O){const M=e.toPath(O),U=`${M}${zc}`;return rw(t,B=>M===B||Xs(B,U)||Xs(M,`${B}/`))}function C(O){var M;if(!e.getResolvedProjectReferences()||sD(O)||!f||!rf(O,h1))return;const U=e.getSymlinkCache(),B=Vf(e.toPath(O));if((M=U.getSymlinkedDirectories())!=null&&M.has(B))return;const H=So(f.call(e.compilerHost,O));let Y;if(H===O||(Y=Vf(e.toPath(H)))===B){U.setSymlinkedDirectory(B,!1);return}U.setSymlinkedDirectory(O,{real:Vf(H),realPath:Y})}function D(O,M){var U;const B=M?Q=>k(Q):Q=>T(Q),H=B(O);if(H!==void 0)return H;const Y=e.getSymlinkCache(),Z=Y.getSymlinkedDirectories();if(!Z)return!1;const fe=e.toPath(O);return rf(fe,h1)?M&&((U=Y.getSymlinkedFiles())!=null&&U.has(fe))?!0:Be(Z.entries(),([Q,he])=>{if(!he||!Xs(fe,Q))return;const W=B(fe.replace(Q,he.realPath));if(M&&W){const ye=ua(O,e.compilerHost.getCurrentDirectory());Y.setSymlinkedFile(fe,`${he.real}${ye.replace(new RegExp(Q,"i"),"")}`)}return W})||!1:!1}}function gse(e,t,n,s){const l=e.getCompilerOptions();if(l.noEmit)return e.getSemanticDiagnostics(t,s),t||Ac(l)?Wz: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&&rm(e.getCompilerOptions())&&(f=e.getDeclarationDiagnostics(void 0,s)),!f.length)return;let d;if(!t&&!Ac(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 Jz(e,t){return gr(e,n=>!n.skippedOn||!t[n.skippedOn])}function Uz(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||Jb,trace:e.trace?n=>e.trace(n):void 0}}function yse(e,t,n,s){if(!e)return ft;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(!Ac(g.options))continue;const{jsFilePath:k,sourceMapFilePath:T,declarationFilePath:C,declarationMapPath:D,buildInfoPath:O}=WD(g.options,!0),M=vre(n,k,T,C,D,O,s,g.options);(l||(l=[])).push(M)}}return l||ft}function YD(e){return eae(e.path)}function vse(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 z5(e)||!Md(e,"noImplicitAny")?void 0:v.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type}function f(){return Ux(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 d6e({imports:e,moduleAugmentations:t}){const n=e.map(s=>s);for(const s of t)s.kind===11&&n.push(s);return n}function zz({imports:e,moduleAugmentations:t},n){if(n<e.length)return e[n];let s=e.length;for(const l of t)if(l.kind===11){if(n===s)return l;s++}R.fail("should never ask for module name at index higher than possible module name")}var bse,Vz,$z,Tse,Sse,m6e,xse,kse,ZD,k9,C9,qz,Wz,mrt=p({"src/compiler/program.ts"(){Ba(),TT(),bse=(e=>(e.Grey="\x1B[90m",e.Red="\x1B[91m",e.Yellow="\x1B[93m",e.Blue="\x1B[94m",e.Cyan="\x1B[96m",e))(bse||{}),Vz="\x1B[7m",$z=" ",Tse="\x1B[0m",Sse="...",m6e=" ",xse=" ",kse={resolvedModule:void 0,resolvedTypeReferenceDirective:void 0},ZD={getName:pse,getMode:(e,t)=>cm(t,e)},k9={getName:Fz,getMode:(e,t)=>b9(e,t==null?void 0:t.impliedNodeFormat)},C9="__inferred type names__.ts",qz=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.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]),Wz={diagnostics:ft,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0}}}),hrt=p({"src/compiler/builderStatePublic.ts"(){}});function h6e(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(T,C,D){d.push({name:T,writeByteOrderMark:D,text:C})}}var dg,grt=p({"src/compiler/builderState.ts"(){Ba(),(e=>{function t(){function K(ce,le,xe){const we={getKeys:Ie=>le.get(Ie),getValues:Ie=>ce.get(Ie),keys:()=>ce.keys(),deleteKey:Ie=>{(xe||(xe=new Set)).add(Ie);const ue=ce.get(Ie);return ue?(ue.forEach(ut=>s(le,ut,Ie)),ce.delete(Ie),!0):!1},set:(Ie,ue)=>{xe==null||xe.delete(Ie);const ut=ce.get(Ie);return ce.set(Ie,ue),ut==null||ut.forEach(Ge=>{ue.has(Ge)||s(le,Ge,Ie)}),ue.forEach(Ge=>{ut!=null&&ut.has(Ge)||n(le,Ge,Ie)}),we}};return we}return K(new Map,new Map,void 0)}e.createManyToManyPathMap=t;function n(K,ce,le){let xe=K.get(ce);xe||(xe=new Set,K.set(ce,xe)),xe.add(le)}function s(K,ce,le){const xe=K.get(ce);return xe!=null&&xe.delete(le)?(xe.size||K.delete(ce),!0):!1}function l(K){return lr(K.declarations,ce=>{var le;return(le=pn(ce))==null?void 0:le.resolvedPath})}function f(K,ce){const le=K.getSymbolAtLocation(ce);return le&&l(le)}function d(K,ce,le,xe){return bc(K.getProjectReferenceRedirect(ce)||ce,le,xe)}function g(K,ce,le){let xe;if(ce.imports&&ce.imports.length>0){const ut=K.getTypeChecker();for(const Ge of ce.imports){const qe=f(ut,Ge);qe==null||qe.forEach(ue)}}const we=cs(ce.resolvedPath);if(ce.referencedFiles&&ce.referencedFiles.length>0)for(const ut of ce.referencedFiles){const Ge=d(K,ut.fileName,we,le);ue(Ge)}if(ce.resolvedTypeReferenceDirectiveNames&&ce.resolvedTypeReferenceDirectiveNames.forEach(({resolvedTypeReferenceDirective:ut})=>{if(!ut)return;const Ge=ut.resolvedFileName,qe=d(K,Ge,we,le);ue(qe)}),ce.moduleAugmentations.length){const ut=K.getTypeChecker();for(const Ge of ce.moduleAugmentations){if(!yo(Ge))continue;const qe=ut.getSymbolAtLocation(Ge);qe&&Ie(qe)}}for(const ut of K.getTypeChecker().getAmbientModules())ut.declarations&&ut.declarations.length>1&&Ie(ut);return xe;function Ie(ut){if(ut.declarations)for(const Ge of ut.declarations){const qe=pn(Ge);qe&&qe!==ce&&ue(qe.resolvedPath)}}function ue(ut){(xe||(xe=new Set)).add(ut)}}function h(K,ce){return ce&&!ce.referencedMap==!K}e.canReuseOldState=h;function k(K,ce,le){var xe,we,Ie;const ue=new Map,ut=K.getCompilerOptions(),Ge=Ac(ut),qe=ut.module!==0&&!Ge?t():void 0,Ke=qe?t():void 0,Me=h(qe,ce);K.getTypeChecker();for(const ze of K.getSourceFiles()){const st=R.checkDefined(ze.version,"Program intended to be used with Builder should have source files with versions set"),et=Me?(xe=ce.oldSignatures)==null?void 0:xe.get(ze.resolvedPath):void 0,je=et===void 0?Me?(we=ce.fileInfos.get(ze.resolvedPath))==null?void 0:we.signature:void 0:et||void 0;if(qe){const _t=g(K,ze,K.getCanonicalFileName);if(_t&&qe.set(ze.resolvedPath,_t),Me){const Lt=(Ie=ce.oldExportedModulesMap)==null?void 0:Ie.get(ze.resolvedPath),Dt=Lt===void 0?ce.exportedModulesMap.getValues(ze.resolvedPath):Lt||void 0;Dt&&Ke.set(ze.resolvedPath,Dt)}}ue.set(ze.resolvedPath,{version:st,signature:je,affectsGlobalScope:Ge?void 0:W(ze)||void 0,impliedFormat:ze.impliedNodeFormat})}return{fileInfos:ue,referencedMap:qe,exportedModulesMap:Ke,useFileVersionAsSignature:!le&&!Me}}e.create=k;function T(K){K.allFilesExcludingDefaultLibraryFile=void 0,K.allFileNames=void 0}e.releaseCache=T;function C(K,ce,le,xe,we){var Ie,ue;const ut=D(K,ce,le,xe,we);return(Ie=K.oldSignatures)==null||Ie.clear(),(ue=K.oldExportedModulesMap)==null||ue.clear(),ut}e.getFilesAffectedBy=C;function D(K,ce,le,xe,we){const Ie=ce.getSourceFileByPath(le);return Ie?U(K,ce,Ie,xe,we)?(K.referencedMap?Ce:de)(K,ce,Ie,xe,we):[Ie]:ft}e.getFilesAffectedByWithOldState=D;function O(K,ce,le){K.fileInfos.get(le).signature=ce,(K.hasCalledUpdateShapeSignature||(K.hasCalledUpdateShapeSignature=new Set)).add(le)}e.updateSignatureOfFile=O;function M(K,ce,le,xe,we){K.emit(ce,(Ie,ue,ut,Ge,qe,Ke)=>{R.assert(S_(Ie),`File extension for signature expected to be dts: Got:: ${Ie}`),we(Dse(K,ce,ue,xe,Ke),qe)},le,!0,void 0,!0)}e.computeDtsSignature=M;function U(K,ce,le,xe,we,Ie=K.useFileVersionAsSignature){var ue;if((ue=K.hasCalledUpdateShapeSignature)!=null&&ue.has(le.resolvedPath))return!1;const ut=K.fileInfos.get(le.resolvedPath),Ge=ut.signature;let qe;if(!le.isDeclarationFile&&!Ie&&M(ce,le,xe,we,(Ke,Me)=>{qe=Ke,qe!==Ge&&B(K,le,Me[0].exportedModulesFromDeclarationEmit)}),qe===void 0&&(qe=le.version,K.exportedModulesMap&&qe!==Ge)){(K.oldExportedModulesMap||(K.oldExportedModulesMap=new Map)).set(le.resolvedPath,K.exportedModulesMap.getValues(le.resolvedPath)||!1);const Ke=K.referencedMap?K.referencedMap.getValues(le.resolvedPath):void 0;Ke?K.exportedModulesMap.set(le.resolvedPath,Ke):K.exportedModulesMap.deleteKey(le.resolvedPath)}return(K.oldSignatures||(K.oldSignatures=new Map)).set(le.resolvedPath,Ge||!1),(K.hasCalledUpdateShapeSignature||(K.hasCalledUpdateShapeSignature=new Set)).add(le.resolvedPath),ut.signature=qe,qe!==Ge}e.updateShapeSignature=U;function B(K,ce,le){if(!K.exportedModulesMap)return;(K.oldExportedModulesMap||(K.oldExportedModulesMap=new Map)).set(ce.resolvedPath,K.exportedModulesMap.getValues(ce.resolvedPath)||!1);const xe=H(le);xe?K.exportedModulesMap.set(ce.resolvedPath,xe):K.exportedModulesMap.deleteKey(ce.resolvedPath)}e.updateExportedModules=B;function H(K){let ce;return K==null||K.forEach(le=>l(le).forEach(xe=>(ce??(ce=new Set)).add(xe))),ce}e.getExportedModules=H;function Y(K,ce,le){const xe=ce.getCompilerOptions();if(Ac(xe)||!K.referencedMap||W(le))return Z(K,ce);const we=new Set,Ie=[le.resolvedPath];for(;Ie.length;){const ue=Ie.pop();if(!we.has(ue)){we.add(ue);const ut=K.referencedMap.getValues(ue);if(ut)for(const Ge of ut.keys())Ie.push(Ge)}}return oo(zi(we.keys(),ue=>{var ut;return((ut=ce.getSourceFileByPath(ue))==null?void 0:ut.fileName)??ue}))}e.getAllDependencies=Y;function Z(K,ce){if(!K.allFileNames){const le=ce.getSourceFiles();K.allFileNames=le===ft?ft:le.map(xe=>xe.fileName)}return K.allFileNames}function fe(K,ce){const le=K.referencedMap.getKeys(ce);return le?oo(le.keys()):[]}e.getReferencedByPaths=fe;function Q(K){for(const ce of K.statements)if(!Tj(ce))return!1;return!0}function he(K){return Ne(K.moduleAugmentations,ce=>dh(ce.parent))}function W(K){return he(K)||!Pp(K)&&!Nd(K)&&!Q(K)}function ye(K,ce,le){if(K.allFilesExcludingDefaultLibraryFile)return K.allFilesExcludingDefaultLibraryFile;let xe;le&&we(le);for(const Ie of ce.getSourceFiles())Ie!==le&&we(Ie);return K.allFilesExcludingDefaultLibraryFile=xe||ft,K.allFilesExcludingDefaultLibraryFile;function we(Ie){ce.isSourceFileDefaultLibrary(Ie)||(xe||(xe=[])).push(Ie)}}e.getAllFilesExcludingDefaultLibraryFile=ye;function de(K,ce,le){const xe=ce.getCompilerOptions();return xe&&Ac(xe)?[le]:ye(K,ce,le)}function Ce(K,ce,le,xe,we){if(W(le))return ye(K,ce,le);const Ie=ce.getCompilerOptions();if(Ie&&(Nm(Ie)||Ac(Ie)))return[le];const ue=new Map;ue.set(le.resolvedPath,le);const ut=fe(K,le.resolvedPath);for(;ut.length>0;){const Ge=ut.pop();if(!ue.has(Ge)){const qe=ce.getSourceFileByPath(Ge);ue.set(Ge,qe),qe&&U(K,ce,qe,xe,we)&&ut.push(...fe(K,qe.resolvedPath))}}return oo(zi(ue.values(),Ge=>Ge))}})(dg||(dg={}))}});function Jv(e){let t=1;return e.sourceMap&&(t=t|2),e.inlineSourceMap&&(t=t|4),rm(e)&&(t=t|8),e.declarationMap&&(t=t|16),e.emitDeclarationOnly&&(t=t&24),t}function sA(e,t){const n=t&&(X0(t)?t:Jv(t)),s=X0(e)?e:Jv(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 yrt(e,t){return e===t||e!==void 0&&t!==void 0&&e.size===t.size&&!rw(e,n=>!t.has(n))}function vrt(e,t){var n,s;const l=dg.create(e,t,!1);l.program=e;const f=e.getCompilerOptions();l.compilerOptions=f;const d=Ac(f);d?f.composite&&(t!=null&&t.outSignature)&&d===Ac(t==null?void 0:t.compilerOptions)&&(l.outSignature=t.outSignature&&y6e(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=dg.canReuseOldState(l.referencedMap,t),h=g?t.compilerOptions:void 0,k=g&&t.semanticDiagnosticsPerFile&&!!l.semanticDiagnosticsPerFile&&!LSe(f,h),T=f.composite&&(t==null?void 0:t.emitSignatures)&&!d&&!FSe(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 C=l.referencedMap,D=g?t.referencedMap:void 0,O=k&&!f.skipLibCheck==!h.skipLibCheck,M=O&&!f.skipDefaultLibCheck==!h.skipDefaultLibCheck;if(l.fileInfos.forEach((U,B)=>{let H,Y;if(!g||!(H=t.fileInfos.get(B))||H.version!==U.version||H.impliedFormat!==U.impliedFormat||!yrt(Y=C&&C.getValues(B),D&&D.getValues(B))||Y&&rw(Y,Z=>!l.fileInfos.has(Z)&&t.fileInfos.has(Z)))g6e(l,B);else if(k){const Z=e.getSourceFileByPath(B);if(Z.isDeclarationFile&&!O||Z.hasNoDefaultLib&&!M)return;const fe=t.semanticDiagnosticsPerFile.get(B);fe&&(l.semanticDiagnosticsPerFile.set(B,t.hasReusableDiagnostic?Trt(fe,e):brt(fe,e)),l.semanticDiagnosticsFromOldState||(l.semanticDiagnosticsFromOldState=new Set),l.semanticDiagnosticsFromOldState.add(B))}if(T){const Z=t.emitSignatures.get(B);Z&&(l.emitSignatures??(l.emitSignatures=new Map)).set(B,y6e(f,t.compilerOptions,Z))}}),g&&rp(t.fileInfos,(U,B)=>l.fileInfos.has(B)?!1:d||U.affectsGlobalScope?!0:(l.buildInfoEmitPending=!0,!1)))dg.getAllFilesExcludingDefaultLibraryFile(l,e,void 0).forEach(U=>g6e(l,U.resolvedPath));else if(h){const U=MSe(f,h)?Jv(f):sA(f,h);U!==0&&(d?l.programEmitPending=l.programEmitPending?l.programEmitPending|U:U:(e.getSourceFiles().forEach(B=>{l.changedFilesSet.has(B.resolvedPath)||Ise(l,B.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),Ne(e.getProjectReferences(),U=>!!U.prepend)&&(l.programEmitPending=Jv(f))),l}function g6e(e,t){e.changedFilesSet.add(t),e.buildInfoEmitPending=!0,e.programEmitPending=void 0}function y6e(e,t,n){return!!e.declarationMap==!!t.declarationMap?n:Wa(n)?[n]:n[0]}function brt(e,t){return e.length?$s(e,n=>{if(Wa(n.messageText))return n;const s=Cse(n.messageText,n.file,t,l=>{var f;return(f=l.repopulateInfo)==null?void 0:f.call(l)});return s===n.messageText?n:{...n,messageText:s}}):e}function Cse(e,t,n,s){const l=s(e);if(l)return{...cee(t,n,l.moduleReference,l.mode,l.packageName||l.moduleReference),next:v6e(e.next,t,n,s)};const f=v6e(e.next,t,n,s);return f===e.next?e:{...e,next:f}}function v6e(e,t,n,s){return $s(e,l=>Cse(l,t,n,s))}function Trt(e,t){if(!e.length)return ft;let n;return e.map(l=>{const f=b6e(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=>b6e(g,t,s)):[]:void 0,f});function s(l){return n??(n=cs(ua(y1(t.getCompilerOptions()),t.getCurrentDirectory()))),bc(l,n,t.getCanonicalFileName)}}function b6e(e,t,n){const{file:s}=e,l=s?t.getSourceFileByPath(n(s)):void 0;return{...e,file:l,messageText:Wa(e.messageText)?e.messageText:Cse(e.messageText,l,t,f=>f.info)}}function Srt(e){dg.releaseCache(e),e.program=void 0}function xrt(e){const t=Ac(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 krt(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 T6e(e,t){R.assert(!t||!e.affectedFiles||e.affectedFiles[e.affectedFilesIndex-1]!==t||!e.semanticDiagnosticsPerFile.has(t.resolvedPath))}function S6e(e,t,n){for(var s,l;;){const{affectedFiles:f}=e;if(f){const k=e.seenAffectedFiles;let T=e.affectedFilesIndex;for(;T<f.length;){const C=f[T];if(!k.has(C.resolvedPath))return e.affectedFilesIndex=T,Ise(e,C.resolvedPath,Jv(e.compilerOptions)),Ert(e,C,t,n),C;T++}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(Ac(h))return R.assert(!e.semanticDiagnosticsPerFile),g;e.affectedFiles=dg.getFilesAffectedByWithOldState(e,g,d.value,t,n),e.currentChangedFilePath=d.value,e.affectedFilesIndex=0,e.seenAffectedFiles||(e.seenAffectedFiles=new Set)}}function Crt(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 wrt(e,t){var n;if((n=e.affectedFilesPendingEmit)!=null&&n.size)return rp(e.affectedFilesPendingEmit,(s,l)=>{var f;const d=e.program.getSourceFileByPath(l);if(!d||!pw(d,e.program)){e.affectedFilesPendingEmit.delete(l);return}const g=(f=e.seenEmittedFiles)==null?void 0:f.get(d.resolvedPath);let h=sA(s,g);if(t&&(h=h&24),h)return{affectedFile:d,emitKind:h}})}function x6e(e){if(!e.cleanedDiagnosticsOfLibFiles){e.cleanedDiagnosticsOfLibFiles=!0;const t=R.checkDefined(e.program),n=t.getCompilerOptions();te(t.getSourceFiles(),s=>t.isSourceFileDefaultLibrary(s)&&!tD(s,n,t)&&wse(e,s.resolvedPath))}}function Ert(e,t,n,s){if(wse(e,t.resolvedPath),e.allFilesExcludingDefaultLibraryFile===e.affectedFiles){x6e(e),dg.updateShapeSignature(e,R.checkDefined(e.program),t,n,s);return}e.compilerOptions.assumeChangesOnlyAffectDirectDependencies||Art(e,t,n,s)}function Hz(e,t,n,s){if(wse(e,t),!e.changedFilesSet.has(t)){const l=R.checkDefined(e.program),f=l.getSourceFileByPath(t);f&&(dg.updateShapeSignature(e,l,f,n,s,!0),rm(e.compilerOptions)&&Ise(e,t,e.compilerOptions.declarationMap?24:8))}}function wse(e,t){return e.semanticDiagnosticsFromOldState?(e.semanticDiagnosticsFromOldState.delete(t),e.semanticDiagnosticsPerFile.delete(t),!e.semanticDiagnosticsFromOldState.size):!0}function k6e(e,t){const n=R.checkDefined(e.oldSignatures).get(t)||void 0;return R.checkDefined(e.fileInfos.get(t)).signature!==n}function Ese(e,t,n,s){var l;return(l=e.fileInfos.get(t))!=null&&l.affectsGlobalScope?(dg.getAllFilesExcludingDefaultLibraryFile(e,e.program,void 0).forEach(f=>Hz(e,f.resolvedPath,n,s)),x6e(e),!0):!1}function Art(e,t,n,s){var l;if(!e.exportedModulesMap||!e.changedFilesSet.has(t.resolvedPath)||!k6e(e,t.resolvedPath))return;if(Nm(e.compilerOptions)){const d=new Map;d.set(t.resolvedPath,!0);const g=dg.getReferencedByPaths(e,t.resolvedPath);for(;g.length>0;){const h=g.pop();if(!d.has(h)){if(d.set(h,!0),Ese(e,h,n,s))return;if(Hz(e,h,n,s),k6e(e,h)){const k=R.checkDefined(e.program).getSourceFileByPath(h);g.push(...dg.getReferencedByPaths(e,k.resolvedPath))}}}}const f=new Set;(l=e.exportedModulesMap.getKeys(t.resolvedPath))==null||l.forEach(d=>{if(Ese(e,d,n,s))return!0;const g=e.referencedMap.getKeys(d);return g&&rw(g,h=>C6e(e,h,f,n,s))})}function C6e(e,t,n,s,l){var f,d;if(li(n,t)){if(Ese(e,t,s,l))return!0;Hz(e,t,s,l),(f=e.exportedModulesMap.getKeys(t))==null||f.forEach(g=>C6e(e,g,n,s,l)),(d=e.referencedMap.getKeys(t))==null||d.forEach(g=>!n.has(g)&&Hz(e,g,s,l))}}function Ase(e,t,n){return wr(Prt(e,t,n),R.checkDefined(e.program).getProgramDiagnostics(t))}function Prt(e,t,n){const s=t.resolvedPath;if(e.semanticDiagnosticsPerFile){const f=e.semanticDiagnosticsPerFile.get(s);if(f)return Jz(f,e.compilerOptions)}const l=R.checkDefined(e.program).getBindAndCheckDiagnostics(t,n);return e.semanticDiagnosticsPerFile&&e.semanticDiagnosticsPerFile.set(s,l),Jz(l,e.compilerOptions)}function w6e(e){return!!Ac(e.options||{})}function Drt(e,t){var n,s,l;const f=R.checkDefined(e.program).getCurrentDirectory(),d=cs(ua(y1(e.compilerOptions),f)),g=e.latestChangedDtsFile?Q(e.latestChangedDtsFile):void 0,h=[],k=new Map,T=[];if(Ac(e.compilerOptions)){const K=oo(e.fileInfos.entries(),([ue,ut])=>{const Ge=W(ue);return de(ue,Ge),ut.impliedFormat?{version:ut.version,impliedFormat:ut.impliedFormat,signature:void 0,affectsGlobalScope:void 0}:ut.version}),ce={fileNames:h,fileInfos:K,root:T,options:Ce(e.compilerOptions),outSignature:e.outSignature,latestChangedDtsFile:g,pendingEmit:e.programEmitPending?e.programEmitPending===Jv(e.compilerOptions)?!1:e.programEmitPending:void 0},{js:le,dts:xe,commonSourceDirectory:we,sourceFiles:Ie}=t;return e.bundle=t={commonSourceDirectory:we,sourceFiles:Ie,js:le||(e.compilerOptions.emitDeclarationOnly||(n=e.bundle)==null?void 0:n.js),dts:xe||(rm(e.compilerOptions)?(s=e.bundle)==null?void 0:s.dts:void 0)},h9(ce,t)}let C,D,O;const M=oo(e.fileInfos.entries(),([K,ce])=>{var le,xe;const we=W(K);de(K,we),R.assert(h[we-1]===he(K));const Ie=(le=e.oldSignatures)==null?void 0:le.get(K),ue=Ie!==void 0?Ie||void 0:ce.signature;if(e.compilerOptions.composite){const ut=e.program.getSourceFileByPath(K);if(!Nd(ut)&&pw(ut,e.program)){const Ge=(xe=e.emitSignatures)==null?void 0:xe.get(K);Ge!==ue&&(O||(O=[])).push(Ge===void 0?we:[we,!Wa(Ge)&&Ge[0]===ue?ft:Ge])}}return ce.version===ue?ce.affectsGlobalScope||ce.impliedFormat?{version:ce.version,signature:void 0,affectsGlobalScope:ce.affectsGlobalScope,impliedFormat:ce.impliedFormat}:ce.version:ue!==void 0?Ie===void 0?ce:{version:ce.version,signature:ue,affectsGlobalScope:ce.affectsGlobalScope,impliedFormat:ce.impliedFormat}:{version:ce.version,signature:!1,affectsGlobalScope:ce.affectsGlobalScope,impliedFormat:ce.impliedFormat}});let U;e.referencedMap&&(U=oo(e.referencedMap.keys()).sort(zf).map(K=>[W(K),ye(e.referencedMap.getValues(K))]));let B;e.exportedModulesMap&&(B=lr(oo(e.exportedModulesMap.keys()).sort(zf),K=>{var ce;const le=(ce=e.oldExportedModulesMap)==null?void 0:ce.get(K);if(le===void 0)return[W(K),ye(e.exportedModulesMap.getValues(K))];if(le)return[W(K),ye(le)]}));let H;if(e.semanticDiagnosticsPerFile)for(const K of oo(e.semanticDiagnosticsPerFile.keys()).sort(zf)){const ce=e.semanticDiagnosticsPerFile.get(K);(H||(H=[])).push(ce.length?[W(K),Irt(ce,he)]:W(K))}let Y;if((l=e.affectedFilesPendingEmit)!=null&&l.size){const K=Jv(e.compilerOptions),ce=new Set;for(const le of oo(e.affectedFilesPendingEmit.keys()).sort(zf))if(li(ce,le)){const xe=e.program.getSourceFileByPath(le);if(!xe||!pw(xe,e.program))continue;const we=W(le),Ie=e.affectedFilesPendingEmit.get(le);(Y||(Y=[])).push(Ie===K?we:Ie===8?[we]:[we,Ie])}}let Z;if(e.changedFilesSet.size)for(const K of oo(e.changedFilesSet.keys()).sort(zf))(Z||(Z=[])).push(W(K));const fe={fileNames:h,fileInfos:M,root:T,options:Ce(e.compilerOptions),fileIdsList:C,referencedMap:U,exportedModulesMap:B,semanticDiagnosticsPerFile:H,affectedFilesPendingEmit:Y,changeFileSet:Z,emitSignatures:O,latestChangedDtsFile:g};return h9(fe,t);function Q(K){return he(ua(K,f))}function he(K){return xT(Gh(d,K,e.program.getCanonicalFileName))}function W(K){let ce=k.get(K);return ce===void 0&&(h.push(he(K)),k.set(K,ce=h.length)),ce}function ye(K){const ce=oo(K.keys(),W).sort(wc),le=ce.join();let xe=D==null?void 0:D.get(le);return xe===void 0&&((C||(C=[])).push(ce),(D||(D=new Map)).set(le,xe=C.length)),xe}function de(K,ce){const le=e.program.getSourceFile(K);if(!e.program.getFileIncludeReasons().get(le.path).some(ue=>ue.kind===0))return;if(!T.length)return T.push(ce);const xe=T[T.length-1],we=ka(xe);if(we&&xe[1]===ce-1)return xe[1]=ce;if(we||T.length===1||xe!==ce-1)return T.push(ce);const Ie=T[T.length-2];return!X0(Ie)||Ie!==xe-1?T.push(ce):(T[T.length-2]=[Ie,ce],T.length=T.length-1)}function Ce(K){let ce;const{optionsNameMap:le}=Q4();for(const xe of Jy(K).sort(zf)){const we=le.get(xe.toLowerCase());we!=null&&we.affectsBuildInfo&&((ce||(ce={}))[xe]=Nrt(we,K[xe],Q))}return ce}}function Nrt(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 Irt(e,t){return R.assert(!!e.length),e.map(n=>{const s=E6e(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=>E6e(f,t)):[]:void 0,s})}function E6e(e,t){const{file:n}=e;return{...e,file:n?t(n.resolvedPath):void 0,messageText:Wa(e.messageText)?e.messageText:Pse(e.messageText)}}function Pse(e){if(e.repopulateInfo)return{info:e.repopulateInfo(),next:A6e(e.next)};const t=A6e(e.next);return t===e.next?e:{...e,next:t}}function A6e(e){return e&&(te(e,(t,n)=>{const s=Pse(t);if(t===s)return;const l=n>0?e.slice(0,n-1):[];l.push(s);for(let f=n+1;f<e.length;f++)l.push(Pse(e[f]));return l})||e)}function Gz(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()):ka(e)?(h=s,g=jz({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||ft}}function P6e(e,t){return(t==null?void 0:t.sourceMapUrlPos)!==void 0?e.substring(0,t.sourceMapUrlPos):e}function Dse(e,t,n,s,l){var f;n=P6e(n,l);let d;return(f=l==null?void 0:l.diagnostics)!=null&&f.length&&(n+=l.diagnostics.map(k=>`${h(k)}${dI[k.category]}${k.code}: ${g(k.messageText)}`).join(`
`)),(s.createHash??gI)(n);function g(k){return Wa(k)?k:k===void 0?"":k.next?k.messageText+k.next.map(g).join(`
`):k.messageText}function h(k){return k.file.resolvedPath===t.resolvedPath?`(${k.start},${k.length})`:(d===void 0&&(d=cs(t.resolvedPath)),`${xT(Gh(d,k.file.resolvedPath,e.getCanonicalFileName))}(${k.start},${k.length})`)}}function lk(e,t,n){return(t.createHash??gI)(P6e(e,n))}function Nse(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=vrt(t,f);t.getBuildInfo=U=>Drt(d,U),t=void 0,s=void 0,f=void 0;const g=()=>d,h=Lse(g,l);return h.getState=g,h.saveEmitState=()=>xrt(d),h.restoreEmitState=U=>krt(d,U),h.hasChangedEmitSignature=()=>!!d.hasChangedEmitSignature,h.getAllDependencies=U=>dg.getAllDependencies(d,R.checkDefined(d.program),U),h.getSemanticDiagnostics=M,h.emit=D,h.releaseProgram=()=>Srt(d),e===0?h.getSemanticDiagnosticsOfNextAffectedFile=O:e===1?(h.getSemanticDiagnosticsOfNextAffectedFile=O,h.emitNextAffectedFile=T,h.emitBuildInfo=k):Ta(),h;function k(U,B){if(d.buildInfoEmitPending){const H=R.checkDefined(d.program).emitBuildInfo(U||no(n,n.writeFile),B);return d.buildInfoEmitPending=!1,H}return Wz}function T(U,B,H,Y){var Z,fe,Q;let he=S6e(d,B,n);const W=Jv(d.compilerOptions);let ye=H?W&24:W;if(!he)if(Ac(d.compilerOptions)){if(!d.programEmitPending||(ye=d.programEmitPending,H&&(ye=ye&24),!ye))return;he=d.program}else{const K=wrt(d,H);if(!K){if(!d.buildInfoEmitPending)return;const ce=d.program,le=ce.emitBuildInfo(U||no(n,n.writeFile),B);return d.buildInfoEmitPending=!1,{result:le,affected:ce}}({affectedFile:he,emitKind:ye}=K)}let de;ye&7&&(de=0),ye&24&&(de=de===void 0?1:void 0),he===d.program&&(d.programEmitPending=d.changedFilesSet.size?sA(W,ye):d.programEmitPending?sA(d.programEmitPending,ye):void 0);const Ce=d.program.emit(he===d.program?void 0:he,C(U,Y),B,de,Y);if(he!==d.program){const K=he;d.seenAffectedFiles.add(K.resolvedPath),d.affectedFilesIndex!==void 0&&d.affectedFilesIndex++,d.buildInfoEmitPending=!0;const ce=((Z=d.seenEmittedFiles)==null?void 0:Z.get(K.resolvedPath))||0;(d.seenEmittedFiles??(d.seenEmittedFiles=new Map)).set(K.resolvedPath,ye|ce);const le=((fe=d.affectedFilesPendingEmit)==null?void 0:fe.get(K.resolvedPath))||W,xe=sA(le,ye|ce);xe?(d.affectedFilesPendingEmit??(d.affectedFilesPendingEmit=new Map)).set(K.resolvedPath,xe):(Q=d.affectedFilesPendingEmit)==null||Q.delete(K.resolvedPath)}else d.changedFilesSet.clear();return{result:Ce,affected:he}}function C(U,B){return rm(d.compilerOptions)?(H,Y,Z,fe,Q,he)=>{var W,ye,de,Ce;if(S_(H))if(Ac(d.compilerOptions)){if(d.compilerOptions.composite){const ce=K(d.outSignature,void 0);if(!ce)return;d.outSignature=ce}}else{R.assert((Q==null?void 0:Q.length)===1);let ce;if(!B){const le=Q[0],xe=d.fileInfos.get(le.resolvedPath);if(xe.signature===le.version){const we=Dse(d.program,le,Y,n,he);(W=he==null?void 0:he.diagnostics)!=null&&W.length||(ce=we),we!==le.version&&(n.storeFilesChangingSignatureDuringEmit&&(d.filesChangingSignature??(d.filesChangingSignature=new Set)).add(le.resolvedPath),d.exportedModulesMap&&dg.updateExportedModules(d,le,le.exportedModulesFromDeclarationEmit),d.affectedFiles?(((ye=d.oldSignatures)==null?void 0:ye.get(le.resolvedPath))===void 0&&(d.oldSignatures??(d.oldSignatures=new Map)).set(le.resolvedPath,xe.signature||!1),xe.signature=we):(xe.signature=we,(de=d.oldExportedModulesMap)==null||de.clear()))}}if(d.compilerOptions.composite){const le=Q[0].resolvedPath;if(ce=K((Ce=d.emitSignatures)==null?void 0:Ce.get(le),ce),!ce)return;(d.emitSignatures??(d.emitSignatures=new Map)).set(le,ce)}}U?U(H,Y,Z,fe,Q,he):n.writeFile?n.writeFile(H,Y,Z,fe,Q,he):d.program.writeFile(H,Y,Z,fe,Q,he);function K(ce,le){const xe=!ce||Wa(ce)?ce:ce[0];if(le??(le=lk(Y,n,he)),le===xe){if(ce===xe)return;he?he.differsOnlyInMap=!0:he={differsOnlyInMap:!0}}else d.hasChangedEmitSignature=!0,d.latestChangedDtsFile=H;return le}}:U||no(n,n.writeFile)}function D(U,B,H,Y,Z){e===1&&T6e(d,U);const fe=gse(h,U,B,H);if(fe)return fe;if(!U)if(e===1){let Q=[],he=!1,W,ye=[],de;for(;de=T(B,H,Y,Z);)he=he||de.result.emitSkipped,W=Pi(W,de.result.diagnostics),ye=Pi(ye,de.result.emittedFiles),Q=Pi(Q,de.result.sourceMaps);return{emitSkipped:he,diagnostics:W||ft,emittedFiles:ye,sourceMaps:Q}}else Crt(d,Y);return R.checkDefined(d.program).emit(U,C(B,Z),H,Y,Z)}function O(U,B){for(;;){const H=S6e(d,U,n);let Y;if(H)if(H!==d.program){const Z=H;if((!B||!B(Z))&&(Y=Ase(d,Z,U)),d.seenAffectedFiles.add(Z.resolvedPath),d.affectedFilesIndex++,d.buildInfoEmitPending=!0,!Y)continue}else Y=d.program.getSemanticDiagnostics(void 0,U),d.changedFilesSet.clear(),d.programEmitPending=Jv(d.compilerOptions);else return;return{result:Y,affected:H}}}function M(U,B){T6e(d,U);const H=R.checkDefined(d.program).getCompilerOptions();if(Ac(H))return R.assert(!d.semanticDiagnosticsPerFile),R.checkDefined(d.program).getSemanticDiagnostics(U,B);if(U)return Ase(d,U,B);for(;O(B););let Y;for(const Z of R.checkDefined(d.program).getSourceFiles())Y=Pi(Y,Ase(d,Z,B));return Y||ft}}function Ise(e,t,n){var s;const l=((s=e.affectedFilesPendingEmit)==null?void 0:s.get(t))||0;(e.affectedFilesPendingEmit??(e.affectedFilesPendingEmit=new Map)).set(t,l|n)}function D6e(e){return Wa(e)?{version:e,signature:e,affectsGlobalScope:void 0,impliedFormat:void 0}:Wa(e.signature)?e:{version:e.version,signature:e.signature===!1?void 0:e.version,affectsGlobalScope:e.affectsGlobalScope,impliedFormat:e.impliedFormat}}function N6e(e,t){return X0(e)?t:e[1]||8}function I6e(e,t){return e||Jv(t||{})}function O6e(e,t,n){var s,l,f,d;const g=e.program,h=cs(ua(t,n.getCurrentDirectory())),k=nf(n.useCaseSensitiveFileNames());let T;const C=(s=g.fileNames)==null?void 0:s.map(M);let D;const O=g.latestChangedDtsFile?U(g.latestChangedDtsFile):void 0;if(w6e(g)){const Z=new Map;g.fileInfos.forEach((fe,Q)=>{const he=B(Q+1);Z.set(he,Wa(fe)?{version:fe,signature:void 0,affectsGlobalScope:void 0,impliedFormat:void 0}:fe)}),T={fileInfos:Z,compilerOptions:g.options?wne(g.options,U):{},latestChangedDtsFile:O,outSignature:g.outSignature,programEmitPending:g.pendingEmit===void 0?void 0:I6e(g.pendingEmit,g.options),bundle:e.bundle}}else{D=(l=g.fileIdsList)==null?void 0:l.map(he=>new Set(he.map(B)));const Z=new Map,fe=(f=g.options)!=null&&f.composite&&!Ac(g.options)?new Map:void 0;g.fileInfos.forEach((he,W)=>{const ye=B(W+1),de=D6e(he);Z.set(ye,de),fe&&de.signature&&fe.set(ye,de.signature)}),(d=g.emitSignatures)==null||d.forEach(he=>{if(X0(he))fe.delete(B(he));else{const W=B(he[0]);fe.set(W,!Wa(he[1])&&!he[1].length?[fe.get(W)]:he[1])}});const Q=g.affectedFilesPendingEmit?Jv(g.options||{}):void 0;T={fileInfos:Z,compilerOptions:g.options?wne(g.options,U):{},referencedMap:Y(g.referencedMap),exportedModulesMap:Y(g.exportedModulesMap),semanticDiagnosticsPerFile:g.semanticDiagnosticsPerFile&&gT(g.semanticDiagnosticsPerFile,he=>B(X0(he)?he:he[0]),he=>X0(he)?ft:he[1]),hasReusableDiagnostic:!0,affectedFilesPendingEmit:g.affectedFilesPendingEmit&&gT(g.affectedFilesPendingEmit,he=>B(X0(he)?he:he[0]),he=>N6e(he,Q)),changedFilesSet:new Set(qt(g.changeFileSet,B)),latestChangedDtsFile:O,emitSignatures:fe!=null&&fe.size?fe:void 0}}return{getState:()=>T,saveEmitState:fc,restoreEmitState:fc,getProgram:Ta,getProgramOrUndefined:Jb,releaseProgram:fc,getCompilerOptions:()=>T.compilerOptions,getSourceFile:Ta,getSourceFiles:Ta,getOptionsDiagnostics:Ta,getGlobalDiagnostics:Ta,getConfigFileParsingDiagnostics:Ta,getSyntacticDiagnostics:Ta,getDeclarationDiagnostics:Ta,getSemanticDiagnostics:Ta,emit:Ta,getAllDependencies:Ta,getCurrentDirectory:Ta,emitNextAffectedFile:Ta,getSemanticDiagnosticsOfNextAffectedFile:Ta,emitBuildInfo:Ta,close:fc,hasChangedEmitSignature:Q0};function M(Z){return bc(Z,h,k)}function U(Z){return ua(Z,h)}function B(Z){return C[Z-1]}function H(Z){return D[Z-1]}function Y(Z){if(!Z)return;const fe=dg.createManyToManyPathMap();return Z.forEach(([Q,he])=>fe.set(B(Q),H(he))),fe}}function Ose(e,t,n){const s=cs(ua(t,n.getCurrentDirectory())),l=nf(n.useCaseSensitiveFileNames()),f=new Map;let d=0;const g=[];return e.fileInfos.forEach((h,k)=>{const T=bc(e.fileNames[k],s,l),C=Wa(h)?h:h.version;if(f.set(T,C),d<e.root.length){const D=e.root[d],O=k+1;ka(D)?D[0]<=O&&O<=D[1]&&(g.push(T),D[1]===O&&d++):D===O&&(g.push(T),d++)}}),{fileInfos:f,roots:g}}function Lse(e,t){return{getState:Ta,saveEmitState:fc,restoreEmitState:fc,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:Ta,getCurrentDirectory:()=>n().getCurrentDirectory(),close:fc};function n(){return R.checkDefined(e().program)}}var Mse,Fse,Ort=p({"src/compiler/builder.ts"(){Ba(),Mse=(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))(Mse||{}),Fse=(e=>(e[e.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",e[e.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram",e))(Fse||{})}});function Lrt(e,t,n,s,l,f){return Nse(0,Gz(e,t,n,s,l,f))}function Rse(e,t,n,s,l,f){return Nse(1,Gz(e,t,n,s,l,f))}function Mrt(e,t,n,s,l,f){const{newProgram:d,configFileParsingDiagnostics:g}=Gz(e,t,n,s,l,f);return Lse(()=>({program:d,compilerOptions:d.getCompilerOptions()}),g)}var Frt=p({"src/compiler/builderPublic.ts"(){Ba()}});function Bse(e){return Sl(e,"/node_modules/.staging")?P6(e,"/.staging"):Ne(SI,t=>rf(e,t))?void 0:e}function jse(e,t){if(t<=1)return 1;let n=1,s=e[0].search(/[a-zA-Z]:/)===0;if(e[0]!==zc&&!s&&e[1].search(/[a-zA-Z]\$$/)===0){if(t===2)return 2;n=2,s=!0}return s&&!e[n].match(/^users$/i)?n:n+2}function L6e(e,t){if(t===void 0&&(t=e.length),t<=2)return!1;const n=jse(e,t);return t>n+1}function M6e(e){return R6e(cs(e))}function F6e(e,t){if(t.length<t.length)return!1;for(let n=0;n<e.length;n++)if(t[n]!==e[n])return!1;return!0}function R6e(e){return L6e(Ou(e))}function B6e(e){return R6e(e)}function Jse(e,t,n,s,l,f){const d=Ou(t);e=fh(e)?So(e):ua(e,f());const g=Ou(e),h=jse(d,d.length);if(d.length<=h+1)return;const k=d.indexOf("node_modules");if(!(k!==-1&&k+1<=h+1))return F6e(l,d)?d.length>l.length+1?Use(g,d,Math.max(l.length+1,h+1)):{dir:n,dirPath:s,nonRecursive:!0}:j6e(g,d,d.length-1,h,k,l)}function j6e(e,t,n,s,l,f){if(l!==-1)return Use(e,t,l+1);let d=!0,g=n;for(let h=0;h<n;h++)if(t[h]!==f[h]){d=!1,g=Math.max(h+1,s+1);break}return Use(e,t,g,d)}function Use(e,t,n,s){return{dir:mv(e,n),dirPath:mv(t,n),nonRecursive:s}}function J6e(e,t,n,s,l,f){const d=Ou(t);if(F6e(s,d))return n;e=fh(e)?So(e):ua(e,l());const g=j6e(Ou(e),d,d.length,jse(d,d.length),d.indexOf("node_modules"),s);return g&&f(g.dirPath)?g.dirPath:void 0}function U6e(e,t){const n=ua(e,t());return gK(n)?n:ST(n)}function Rrt(e){return e.split(zc).length-(K0(e)?1:0)}function z6e(e,t,n){let s,l,f;const d=sd(),g=new Set,h=new Set,k=new Map,T=new Map;let C=!1,D,O,M,U,B,H=!1;const Y=tp(()=>e.getCurrentDirectory()),Z=e.getCachedDirectoryStructureHost(),fe=new Map,Q=K4(Y(),e.getCanonicalFileName,e.getCompilationSettings()),he=new Map,W=tz(Y(),e.getCanonicalFileName,e.getCompilationSettings(),Q.getPackageJsonInfoCache()),ye=new Map,de=K4(Y(),e.getCanonicalFileName,tie(e.getCompilationSettings()),Q.getPackageJsonInfoCache()),Ce=new Map,K=new Map,ce=U6e(t,Y),le=e.toPath(ce),xe=Ou(le),we=new Map;return{getModuleResolutionCache:()=>Q,startRecordingFilesWithChangedResolutions:qe,finishRecordingFilesWithChangedResolutions:Ke,startCachingPerDirectoryResolution:st,finishCachingPerDirectoryResolution:je,resolveModuleNameLiterals:Ye,resolveTypeReferenceDirectiveReferences:Xt,resolveLibrary:Bt,resolveSingleModuleNameWithoutWatching:vr,removeResolutionsFromProjectReferenceRedirects:Qr,removeResolutionsOfFile:_n,hasChangedAutomaticTypeDirectiveNames:()=>C,invalidateResolutionOfFile:ks,invalidateResolutionsOfFailedLookupLocations:rn,setFilesWithInvalidatedNonRelativeUnresolvedImports:ls,createHasInvalidatedResolutions:ze,isFileWithInvalidatedNonRelativeUnresolvedImports:Me,updateTypeRootsWatch:Ut,closeTypeRootsWatch:Nt,clear:ut,onChangesAffectModuleResolution:Ge};function Ie(se){return se.resolvedModule}function ue(se){return se.resolvedTypeReferenceDirective}function ut(){dd(Ce,pg),dd(K,pg),d.clear(),Nt(),fe.clear(),he.clear(),k.clear(),g.clear(),h.clear(),M=void 0,U=void 0,B=void 0,O=void 0,D=void 0,H=!1,Q.clear(),W.clear(),Q.update(e.getCompilationSettings()),W.update(e.getCompilationSettings()),de.clear(),T.clear(),ye.clear(),C=!1}function Ge(){H=!0,Q.clearAllExceptPackageJsonInfoCache(),W.clearAllExceptPackageJsonInfoCache(),Q.update(e.getCompilationSettings()),W.update(e.getCompilationSettings())}function qe(){s=[]}function Ke(){const se=s;return s=void 0,se}function Me(se){if(!f)return!1;const at=f.get(se);return!!at&&!!at.length}function ze(se,at){rn();const xt=l;return l=void 0,{hasInvalidatedResolutions:ae=>se(ae)||H||!!(xt!=null&&xt.has(ae))||Me(ae),hasInvalidatedLibResolutions:ae=>{var mt;return at(ae)||!!((mt=ye==null?void 0:ye.get(ae))!=null&&mt.isInvalidated)}}}function st(){Q.clearAllExceptPackageJsonInfoCache(),W.clearAllExceptPackageJsonInfoCache(),de.clearAllExceptPackageJsonInfoCache(),d.forEach(ci),d.clear()}function et(se){ye.forEach((at,xt)=>{var ae;(ae=se==null?void 0:se.resolvedLibReferences)!=null&&ae.has(xt)||(ui(at,e.toPath(Bz(se.getCompilerOptions(),Y(),xt)),Ie),ye.delete(xt))})}function je(se,at){f=void 0,H=!1,d.forEach(ci),d.clear(),se!==at&&(et(se),se==null||se.getSourceFiles().forEach(xt=>{var ae;const mt=Pp(xt)?((ae=xt.packageJsonLocations)==null?void 0:ae.length)??0:0,_r=T.get(xt.path)??ft;for(let Fe=_r.length;Fe<mt;Fe++)Cn(xt.packageJsonLocations[Fe],!1);if(_r.length>mt)for(let Fe=mt;Fe<_r.length;Fe++)K.get(_r[Fe]).files--;mt?T.set(xt.path,xt.packageJsonLocations):T.delete(xt.path)}),T.forEach((xt,ae)=>{se!=null&&se.getSourceFileByPath(ae)||(xt.forEach(mt=>K.get(mt).files--),T.delete(ae))})),Ce.forEach((xt,ae)=>{xt.refCount===0&&(Ce.delete(ae),xt.watcher.close())}),K.forEach((xt,ae)=>{xt.files===0&&xt.resolutions===0&&(K.delete(ae),xt.watcher.close())}),C=!1}function _t(se,at,xt,ae,mt){var _r;const Fe=((_r=e.getCompilerHost)==null?void 0:_r.call(e))||e,Gt=jD(se,at,xt,Fe,Q,ae,mt);if(!e.getGlobalCache)return Gt;const zt=e.getGlobalCache();if(zt!==void 0&&!Lu(se)&&!(Gt.resolvedModule&&xJ(Gt.resolvedModule.extension))){const{resolvedModule:Lr,failedLookupLocations:ii,affectingLocations:Gn,resolutionDiagnostics:Rn}=kwe(R.checkDefined(e.globalCacheResolutionModuleName)(se),e.projectName,xt,Fe,zt,Q);if(Lr)return Gt.resolvedModule=Lr,Gt.failedLookupLocations=Y4(Gt.failedLookupLocations,ii),Gt.affectingLocations=Y4(Gt.affectingLocations,Gn),Gt.resolutionDiagnostics=Y4(Gt.resolutionDiagnostics,Rn),Gt}return Gt}function Lt(se,at,xt){return{nameAndMode:ZD,resolve:(ae,mt)=>_t(ae,se,xt,at,mt)}}function Dt({entries:se,containingFile:at,containingSourceFile:xt,redirectedReference:ae,options:mt,perFileCache:_r,reusedNames:Fe,loader:Gt,getResolutionWithResolvedFileName:zt,deferWatchingNonRelativeResolution:Lr,shouldRetryResolution:ii,logChanges:Gn}){var Rn;const L=e.toPath(at),Se=_r.get(L)||_r.set(L,nk()).get(L),pe=[],ke=Gn&&Me(L),ve=e.getCurrentProgram(),Te=ve&&ve.getResolvedProjectReferenceToRedirect(at),ee=Te?!ae||ae.sourceFile.path!==Te.sourceFile.path:!!ae,vt=nk();for(const ht of se){const Vt=Gt.nameAndMode.getName(ht),Nr=Gt.nameAndMode.getMode(ht,xt);let Pn=Se.get(Vt,Nr);if(!vt.has(Vt,Nr)&&(H||ee||!Pn||Pn.isInvalidated||ke&&!Lu(Vt)&&ii(Pn))){const bi=Pn;Pn=Gt.resolve(Vt,Nr),e.onDiscoveredSymlink&&Brt(Pn)&&e.onDiscoveredSymlink(),Se.set(Vt,Nr,Pn),Ht(Vt,Pn,L,zt,Lr),bi&&ui(bi,L,zt),Gn&&s&&!Qt(bi,Pn)&&(s.push(L),Gn=!1)}else{const bi=((Rn=e.getCompilerHost)==null?void 0:Rn.call(e))||e;if(n0(mt,bi)&&!vt.has(Vt,Nr)){const Vi=zt(Pn);Fs(bi,_r===fe?Vi!=null&&Vi.resolvedFileName?Vi.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:Vi!=null&&Vi.resolvedFileName?Vi.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,Vt,at,Vi==null?void 0:Vi.resolvedFileName,(Vi==null?void 0:Vi.packageId)&&wv(Vi.packageId))}}R.assert(Pn!==void 0&&!Pn.isInvalidated),vt.set(Vt,Nr,!0),pe.push(Pn)}return Fe==null||Fe.forEach(ht=>vt.set(Gt.nameAndMode.getName(ht),Gt.nameAndMode.getMode(ht,xt),!0)),Se.size()!==vt.size()&&Se.forEach((ht,Vt,Nr)=>{vt.has(Vt,Nr)||(ui(ht,L,zt),Se.delete(Vt,Nr))}),pe;function Qt(ht,Vt){if(ht===Vt)return!0;if(!ht||!Vt)return!1;const Nr=zt(ht),Pn=zt(Vt);return Nr===Pn?!0:!Nr||!Pn?!1:Nr.resolvedFileName===Pn.resolvedFileName}}function Xt(se,at,xt,ae,mt,_r){var Fe;return Dt({entries:se,containingFile:at,containingSourceFile:mt,redirectedReference:xt,options:ae,reusedNames:_r,perFileCache:he,loader:Rz(at,xt,ae,((Fe=e.getCompilerHost)==null?void 0:Fe.call(e))||e,W),getResolutionWithResolvedFileName:ue,shouldRetryResolution:Gt=>Gt.resolvedTypeReferenceDirective===void 0,deferWatchingNonRelativeResolution:!1})}function Ye(se,at,xt,ae,mt,_r){return Dt({entries:se,containingFile:at,containingSourceFile:mt,redirectedReference:xt,options:ae,reusedNames:_r,perFileCache:fe,loader:Lt(at,xt,ae),getResolutionWithResolvedFileName:Ie,shouldRetryResolution:Fe=>!Fe.resolvedModule||!H5(Fe.resolvedModule.extension),logChanges:n,deferWatchingNonRelativeResolution:!0})}function Bt(se,at,xt,ae){var mt;const _r=((mt=e.getCompilerHost)==null?void 0:mt.call(e))||e;let Fe=ye==null?void 0:ye.get(ae);if(!Fe||Fe.isInvalidated){const Gt=Fe;Fe=rz(se,at,xt,_r,de);const zt=e.toPath(at);Ht(se,Fe,zt,Ie,!1),ye.set(ae,Fe),Gt&&ui(Gt,zt,Ie)}else if(n0(xt,_r)){const Gt=Ie(Fe);Fs(_r,Gt!=null&&Gt.resolvedFileName?Gt.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,se,at,Gt==null?void 0:Gt.resolvedFileName,(Gt==null?void 0:Gt.packageId)&&wv(Gt.packageId))}return Fe}function vr(se,at){const xt=e.toPath(at),ae=fe.get(xt),mt=ae==null?void 0:ae.get(se,void 0);return mt&&!mt.isInvalidated?mt:_t(se,at,e.getCompilationSettings())}function Ar(se){return Sl(se,"/node_modules/@types")}function Ht(se,at,xt,ae,mt){var _r;if(at.refCount)at.refCount++,R.assertIsDefined(at.files);else{at.refCount=1,R.assert(!((_r=at.files)!=null&&_r.size)),!mt||Lu(se)?hn(at):d.add(se,at);const Fe=ae(at);if(Fe&&Fe.resolvedFileName){const Gt=e.toPath(Fe.resolvedFileName);let zt=k.get(Gt);zt||k.set(Gt,zt=new Set),zt.add(at)}}(at.files??(at.files=new Set)).add(xt)}function tn(se,at){const xt=e.toPath(se),ae=Jse(se,xt,ce,le,xe,Y);if(ae){const{dir:mt,dirPath:_r,nonRecursive:Fe}=ae;_r===le?(R.assert(Fe),at=!0):Ji(mt,_r,Fe)}return at}function hn(se){R.assert(!!se.refCount);const{failedLookupLocations:at,affectingLocations:xt,node10Result:ae}=se;if(!(at!=null&&at.length)&&!(xt!=null&&xt.length)&&!ae)return;(at!=null&&at.length||ae)&&g.add(se);let mt=!1;if(at)for(const _r of at)mt=tn(_r,mt);ae&&(mt=tn(ae,mt)),mt&&Ji(ce,le,!0),Br(se,!(at!=null&&at.length)&&!ae)}function Br(se,at){R.assert(!!se.refCount);const{affectingLocations:xt}=se;if(xt!=null&&xt.length){at&&h.add(se);for(const ae of xt)Cn(ae,!0)}}function Cn(se,at){const xt=K.get(se);if(xt){at?xt.resolutions++:xt.files++;return}let ae=se;if(e.realpath&&(ae=e.realpath(se),se!==ae)){const Gt=K.get(ae);if(Gt){at?Gt.resolutions++:Gt.files++,Gt.paths.add(se),K.set(se,Gt);return}}const mt=new Set;mt.add(ae);let _r=B6e(e.toPath(ae))?e.watchAffectingFileLocation(ae,(Gt,zt)=>{Z==null||Z.addOrDeleteFile(Gt,e.toPath(ae),zt);const Lr=Q.getPackageJsonInfoCache().getInternalMap();mt.forEach(ii=>{Fe.resolutions&&(O??(O=new Set)).add(ii),Fe.files&&(D??(D=new Set)).add(ii),Lr==null||Lr.delete(e.toPath(ii))}),e.scheduleInvalidateResolutionsOfFailedLookupLocations()}):Hw;const Fe={watcher:_r!==Hw?{close:()=>{_r.close(),_r=Hw}}:_r,resolutions:at?1:0,files:at?0:1,paths:mt};K.set(ae,Fe),se!==ae&&(K.set(se,Fe),mt.add(se))}function ci(se,at){const xt=e.getCurrentProgram();!xt||!xt.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(at)?se.forEach(hn):se.forEach(ae=>Br(ae,!0))}function Ji(se,at,xt){const ae=Ce.get(at);ae?(R.assert(!!xt==!!ae.nonRecursive),ae.refCount++):Ce.set(at,{watcher:Dr(se,at,xt),refCount:1,nonRecursive:xt})}function ws(se,at){const xt=e.toPath(se),ae=Jse(se,xt,ce,le,xe,Y);if(ae){const{dirPath:mt}=ae;mt===le?at=!0:Pt(mt)}return at}function ui(se,at,xt){if(R.checkDefined(se.files).delete(at),se.refCount--,se.refCount)return;const ae=xt(se);if(ae&&ae.resolvedFileName){const Gt=e.toPath(ae.resolvedFileName),zt=k.get(Gt);zt!=null&&zt.delete(se)&&!zt.size&&k.delete(Gt)}const{failedLookupLocations:mt,affectingLocations:_r,node10Result:Fe}=se;if(g.delete(se)){let Gt=!1;if(mt)for(const zt of mt)Gt=ws(zt,Gt);Fe&&(Gt=ws(Fe,Gt)),Gt&&Pt(le)}else _r!=null&&_r.length&&h.delete(se);if(_r)for(const Gt of _r){const zt=K.get(Gt);zt.resolutions--}}function Pt(se){const at=Ce.get(se);at.refCount--}function Dr(se,at,xt){return e.watchDirectoryOfFailedLookupLocation(se,ae=>{const mt=e.toPath(ae);Z&&Z.addOrDeleteFileOrDirectory(ae,mt),Yr(mt,at===mt)},xt?0:1)}function Kt(se,at,xt){const ae=se.get(at);ae&&(ae.forEach(mt=>ui(mt,at,xt)),se.delete(at))}function Qr(se){if(!Vl(se,".json"))return;const at=e.getCurrentProgram();if(!at)return;const xt=at.getResolvedProjectReferenceByPath(se);xt&&xt.commandLine.fileNames.forEach(ae=>_n(e.toPath(ae)))}function _n(se){Kt(fe,se,Ie),Kt(he,se,ue)}function Nn(se,at){if(!se)return!1;let xt=!1;return se.forEach(ae=>{if(!(ae.isInvalidated||!at(ae))){ae.isInvalidated=xt=!0;for(const mt of R.checkDefined(ae.files))(l??(l=new Set)).add(mt),C=C||Sl(mt,C9)}}),xt}function ks(se){_n(se);const at=C;Nn(k.get(se),jb)&&C&&!at&&e.onChangedAutomaticTypeDirectiveNames()}function ls(se){R.assert(f===se||f===void 0),f=se}function Yr(se,at){if(at)(B||(B=new Set)).add(se);else{const xt=Bse(se);if(!xt||(se=xt,e.fileIsOpen(se)))return!1;const ae=cs(se);if(Ar(se)||kK(se)||Ar(ae)||kK(ae))(M||(M=new Set)).add(se),(U||(U=new Set)).add(se);else{if(n6e(e.getCurrentProgram(),se)||Vl(se,".map"))return!1;(M||(M=new Set)).add(se);const mt=e9(se,!0);mt&&(U||(U=new Set)).add(mt)}}e.scheduleInvalidateResolutionsOfFailedLookupLocations()}function Er(){const se=Q.getPackageJsonInfoCache().getInternalMap();se&&(M||U||B)&&se.forEach((at,xt)=>xi(xt)?se.delete(xt):void 0)}function rn(){var se;if(H)return D=void 0,Er(),(M||U||B||O)&&Nn(ye,qr),M=void 0,U=void 0,B=void 0,O=void 0,!0;let at=!1;return D&&((se=e.getCurrentProgram())==null||se.getSourceFiles().forEach(xt=>{Ne(xt.packageJsonLocations,ae=>D.has(ae))&&((l??(l=new Set)).add(xt.path),at=!0)}),D=void 0),!M&&!U&&!B&&!O||(at=Nn(g,qr)||at,Er(),M=void 0,U=void 0,B=void 0,at=Nn(h,pt)||at,O=void 0),at}function qr(se){var at;return pt(se)?!0:!M&&!U&&!B?!1:((at=se.failedLookupLocations)==null?void 0:at.some(xt=>xi(e.toPath(xt))))||!!se.node10Result&&xi(e.toPath(se.node10Result))}function xi(se){return(M==null?void 0:M.has(se))||Be((U==null?void 0:U.keys())||[],at=>Xs(se,at)?!0:void 0)||Be((B==null?void 0:B.keys())||[],at=>se.length>at.length&&Xs(se,at)&&(gK(at)||se[at.length]===zc)?!0:void 0)}function pt(se){var at;return!!O&&((at=se.affectingLocations)==null?void 0:at.some(xt=>O.has(xt)))}function Nt(){dd(we,ig)}function dt(se,at){return rr(se)?e.watchTypeRootsDirectory(at,xt=>{const ae=e.toPath(xt);Z&&Z.addOrDeleteFileOrDirectory(xt,ae),C=!0,e.onChangedAutomaticTypeDirectiveNames();const mt=J6e(at,se,le,xe,Y,_r=>Ce.has(_r));mt&&Yr(ae,mt===ae)},1):Hw}function Ut(){const se=e.getCompilationSettings();if(se.types){Nt();return}const at=KO(se,{getCurrentDirectory:Y});at?b4(we,gT(at,xt=>e.toPath(xt)),{createNewValue:dt,onDeleteValue:ig}):Nt()}function rr(se){return e.getCompilationSettings().typeRoots?!0:M6e(e.toPath(se))}}function Brt(e){var t,n;return!!((t=e.resolvedModule)!=null&&t.originalPath||(n=e.resolvedTypeReferenceDirective)!=null&&n.originalPath)}var jrt=p({"src/compiler/resolutionCache.ts"(){Ba()}});function w9(e,t){const n=e===Gu&&Zse?Zse:{getCurrentDirectory:()=>e.getCurrentDirectory(),getNewLine:()=>e.newLine,getCanonicalFileName:nf(e.useCaseSensitiveFileNames)};if(!t)return l=>e.write(lse(l,n));const s=new Array(1);return l=>{s[0]=l,e.write(u6e(s,n)+n.getNewLine()),s[0]=void 0}}function V6e(e,t,n){return e.clearScreen&&!n.preserveWatchOutput&&!n.extendedDiagnostics&&!n.diagnostics&&kt(eV,t.code)?(e.clearScreen(),!0):!1}function Jrt(e,t){return kt(eV,e.code)?t+t:t}function E9(e){return e.now?e.now().toLocaleTimeString("en-US",{timeZone:"UTC"}).replace(" "," "):new Date().toLocaleTimeString()}function $6e(e,t){return t?(n,s,l)=>{V6e(e,n,l);let f=`[${cS(E9(e),"\x1B[90m")}] `;f+=`${jv(n.messageText,e.newLine)}${s+s}`,e.write(f)}:(n,s,l)=>{let f="";V6e(e,n,l)||(f+=s),f+=`${E9(e)} - `,f+=`${jv(n.messageText,e.newLine)}${Jrt(n,s)}`,e.write(f)}}function Urt(e,t,n,s,l,f){const d=l;d.onUnRecoverableConfigFileDiagnostic=h=>Y6e(l,f,h);const g=jO(e,t,d,n,s);return d.onUnRecoverableConfigFileDiagnostic=void 0,g}function Xz(e){return Sn(e,t=>t.category===1)}function Qz(e){return gr(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=Ve(e,l=>l.file!==void 0&&l.file.fileName===n);if(s!==void 0){const{line:l}=Vc(s.file,s.start);return{fileName:n,line:l+1}}})}function zse(e){return e===1?v.Found_1_error_Watching_for_file_changes:v.Found_0_errors_Watching_for_file_changes}function q6e(e,t){const n=cS(":"+e.line,"\x1B[90m");return iP(e.fileName)&&iP(t)?Gh(t,e.fileName,!1)+n:e.fileName+n}function W6e(e,t,n,s){if(e===0)return"";const l=t.filter(T=>T!==void 0),f=l.map(T=>`${T.fileName}:${T.line}`).filter((T,C,D)=>D.indexOf(T)===C),d=l[0]&&q6e(l[0],s.getCurrentDirectory());let g;e===1?g=t[0]!==void 0?[v.Found_1_error_in_0,d]:[v.Found_1_error]:g=f.length===0?[v.Found_0_errors,e]:f.length===1?[v.Found_0_errors_in_the_same_file_starting_at_Colon_1,e,d]:[v.Found_0_errors_in_1_files,e,f.length];const h=Cl(...g),k=f.length>1?zrt(l,s):"";return`${n}${jv(h.messageText,n)}${n}${n}${k}`}function zrt(e,t){const n=e.filter((C,D,O)=>D===O.findIndex(M=>(M==null?void 0:M.fileName)===(C==null?void 0:C.fileName)));if(n.length===0)return"";const s=C=>Math.log(C)*Math.LOG10E+1,l=n.map(C=>[C,Sn(e,D=>D.fileName===C.fileName)]),f=l.reduce((C,D)=>Math.max(C,D[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 T="";return T+=" ".repeat(k)+d+`
`,l.forEach(C=>{const[D,O]=C,M=Math.log(O)*Math.LOG10E+1|0,U=M<h?" ".repeat(h-M):"",B=q6e(D,t.getCurrentDirectory());T+=`${U}${O} ${B}
`}),T}function H6e(e){return!!e.getState}function Vse(e,t){const n=e.getCompilerOptions();n.explainFiles?G6e(H6e(e)?e.getProgram():e,t):(n.listFiles||n.listFilesOnly)&&te(e.getSourceFiles(),s=>{t(s.fileName)})}function G6e(e,t){var n,s;const l=e.getFileIncludeReasons(),f=d=>sP(d,e.getCurrentDirectory(),e.getCanonicalFileName);for(const d of e.getSourceFiles())t(`${Ww(d,f)}`),(n=l.get(d.path))==null||n.forEach(g=>t(` ${Hse(e,g,f).messageText}`)),(s=$se(d,f))==null||s.forEach(g=>t(` ${g.messageText}`))}function $se(e,t){var n;let s;if(e.path!==e.resolvedPath&&(s??(s=[])).push(ca(void 0,v.File_is_output_of_project_reference_source_0,Ww(e.originalFileName,t))),e.redirectInfo&&(s??(s=[])).push(ca(void 0,v.File_redirects_to_file_0,Ww(e.redirectInfo.redirectTarget,t))),Pp(e))switch(e.impliedNodeFormat){case 99:e.packageJsonScope&&(s??(s=[])).push(ca(void 0,v.File_is_ECMAScript_module_because_0_has_field_type_with_value_module,Ww(To(e.packageJsonLocations),t)));break;case 1:e.packageJsonScope?(s??(s=[])).push(ca(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,Ww(To(e.packageJsonLocations),t))):(n=e.packageJsonLocations)!=null&&n.length&&(s??(s=[])).push(ca(void 0,v.File_is_CommonJS_module_because_package_json_was_not_found));break}return s}function qse(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=cs(ua(s.fileName,e.getCurrentDirectory()));return Ve(s.configFileSpecs.validatedFilesSpec,d=>e.getCanonicalFileName(ua(d,f))===l)}function Wse(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=Vl(t,".json"),d=cs(ua(l.fileName,e.getCurrentDirectory())),g=e.useCaseSensitiveFileNames();return Ve((s=l==null?void 0:l.configFileSpecs)==null?void 0:s.validatedIncludeSpecs,h=>{if(f&&!Sl(h,".json"))return!1;const k=Lte(h,d,"files");return!!k&&Nv(`(${k})$`,g).test(t)})}function Hse(e,t,n){var s,l;const f=e.getCompilerOptions();if(u2(t)){const d=QD(k=>e.getSourceFileByPath(k),t),g=iA(d)?d.file.text.substring(d.pos,d.end):`"${d.text}"`;let h;switch(R.assert(iA(d)||t.kind===3,"Only synthetic references are imports"),t.kind){case 3:iA(d)?h=d.packageId?v.Imported_via_0_from_file_1_with_packageId_2:v.Imported_via_0_from_file_1:d.text===Ov?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 ca(void 0,h,g,Ww(d.file,n),d.packageId&&wv(d.packageId))}switch(t.kind){case 0:if(!((s=f.configFile)!=null&&s.configFileSpecs))return ca(void 0,v.Root_file_specified_for_compilation);const d=ua(e.getRootFileNames()[t.index],e.getCurrentDirectory());if(qse(e,d))return ca(void 0,v.Part_of_files_list_in_tsconfig_json);const h=Wse(e,d);return Wa(h)?ca(void 0,v.Matched_by_include_pattern_0_in_1,h,Ww(f.configFile,n)):ca(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,T=R.checkDefined((l=e.getResolvedProjectReferences())==null?void 0:l[t.index]);return ca(void 0,Ac(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,Ww(T.sourceFile.fileName,n),f.outFile?"--outFile":"--out");case 8:{const C=f.types?t.packageId?[v.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1,t.typeReference,wv(t.packageId)]:[v.Entry_point_of_type_library_0_specified_in_compilerOptions,t.typeReference]:t.packageId?[v.Entry_point_for_implicit_type_library_0_with_packageId_1,t.typeReference,wv(t.packageId)]:[v.Entry_point_for_implicit_type_library_0,t.typeReference];return ca(void 0,...C)}case 6:{if(t.index!==void 0)return ca(void 0,v.Library_0_specified_in_compilerOptions,f.lib[t.index]);const C=rp(QO.type,(O,M)=>O===Eo(f)?M:void 0),D=C?[v.Default_library_for_target_0,C]:[v.Default_library];return ca(void 0,...D)}default:R.assertNever(t)}}function Ww(e,t){const n=Wa(e)?e:e.fileName;return t?t(n):n}function Yz(e,t,n,s,l,f,d,g){const h=!!e.getCompilerOptions().listFilesOnly,k=e.getConfigFileParsingDiagnostics().slice(),T=k.length;Pi(k,e.getSyntacticDiagnostics(void 0,f)),k.length===T&&(Pi(k,e.getOptionsDiagnostics(f)),h||(Pi(k,e.getGlobalDiagnostics(f)),k.length===T&&Pi(k,e.getSemanticDiagnostics(void 0,f))));const C=h?{emitSkipped:!0,diagnostics:ft}:e.emit(void 0,l,f,d,g),{emittedFiles:D,diagnostics:O}=C;Pi(k,O);const M=M6(k);if(M.forEach(t),n){const U=e.getCurrentDirectory();te(D,B=>{const H=ua(B,U);n(`TSFILE: ${H}`)}),Vse(e,n)}return s&&s(Xz(M),Qz(M)),{emitResult:C,diagnostics:M}}function X6e(e,t,n,s,l,f,d,g){const{emitResult:h,diagnostics:k}=Yz(e,t,n,s,l,f,d,g);return h.emitSkipped&&k.length>0?1:k.length>0?2:0}function Gse(e=Gu,t){return{onWatchStatusChange:t||$6e(e),watchFile:no(e,e.watchFile)||A9,watchDirectory:no(e,e.watchDirectory)||A9,setTimeout:no(e,e.setTimeout)||fc,clearTimeout:no(e,e.clearTimeout)||fc}}function Xse(e,t){const n=e.trace?t.extendedDiagnostics?2:t.diagnostics?1:0:0,s=n!==0?f=>e.trace(f):fc,l=i6e(e,n,s);return l.writeLog=s,l}function Qse(e,t,n=e){const s=e.useCaseSensitiveFileNames(),l={getSourceFile:ase((f,d)=>d?e.readFile(f,d):l.readFile(f),t,void 0),getDefaultLibLocation:no(e,e.getDefaultLibLocation),getDefaultLibFileName:f=>e.getDefaultLibFileName(f),writeFile:ose((f,d,g)=>e.writeFile(f,d,g),f=>e.createDirectory(f),f=>e.directoryExists(f)),getCurrentDirectory:tp(()=>e.getCurrentDirectory()),useCaseSensitiveFileNames:()=>s,getCanonicalFileName:nf(s),getNewLine:()=>l1(t()),fileExists:f=>e.fileExists(f),readFile:f=>e.readFile(f),trace:no(e,e.trace),directoryExists:no(n,n.directoryExists),getDirectories:no(n,n.getDirectories),realpath:no(e,e.realpath),getEnvironmentVariable:no(e,e.getEnvironmentVariable)||(()=>""),createHash:no(e,e.createHash),readDirectory:no(e,e.readDirectory),storeFilesChangingSignatureDuringEmit:e.storeFilesChangingSignatureDuringEmit};return l}function Zz(e,t){if(t.match(Aie)){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||!sf(f)){s=l;continue}break}const d=t.substring(s,n);if(d.match(bz)){t=t.substring(0,s);break}else if(!d.match(Tz))break;n=s}}return(e.createHash||gI)(t)}function Kz(e){const t=e.getSourceFile;e.getSourceFile=(...n)=>{const s=t.call(e,...n);return s&&(s.version=Zz(e,s.text)),s}}function Yse(e,t){const n=tp(()=>cs(So(e.getExecutingFilePath())));return{useCaseSensitiveFileNames:()=>e.useCaseSensitiveFileNames,getNewLine:()=>e.newLine,getCurrentDirectory:tp(()=>e.getCurrentDirectory()),getDefaultLibLocation:n,getDefaultLibFileName:s=>vs(n(),$B(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:no(e,e.realpath),getEnvironmentVariable:no(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:no(e,e.createHash),createProgram:t||Rse,storeFilesChangingSignatureDuringEmit:e.storeFilesChangingSignatureDuringEmit,now:no(e,e.now)}}function Q6e(e=Gu,t,n,s){const l=d=>e.write(d+e.newLine),f=Yse(e,t);return QY(f,Gse(e,s)),f.afterProgramCreate=d=>{const g=d.getCompilerOptions(),h=l1(g);Yz(d,n,l,k=>f.onWatchStatusChange(Cl(zse(k),k),h,g,k))},f}function Y6e(e,t,n){t(n),e.exit(1)}function Z6e({configFileName:e,optionsToExtend:t,watchOptionsToExtend:n,extraFileExtensions:s,system:l,createProgram:f,reportDiagnostic:d,reportWatchStatus:g}){const h=d||w9(l),k=Q6e(l,f,h,g);return k.onUnRecoverableConfigFileDiagnostic=T=>Y6e(l,h,T),k.configFileName=e,k.optionsToExtend=t,k.watchOptionsToExtend=n,k.extraFileExtensions=s,k}function K6e({rootFiles:e,options:t,watchOptions:n,projectReferences:s,system:l,createProgram:f,reportDiagnostic:d,reportWatchStatus:g}){const h=Q6e(l,f,d||w9(l),g);return h.rootFiles=e,h.options=t,h.watchOptions=n,h.projectReferences=s,h}function Vrt(e){const t=e.system||Gu,n=e.host||(e.host=Kse(e.options,t)),s=e4e(e),l=X6e(s,e.reportDiagnostic||w9(t),f=>n.trace&&n.trace(f),e.reportErrorSummary||e.options.pretty?(f,d)=>t.write(W6e(f,d,t.newLine,n)):void 0);return e.afterProgramEmitAndDiagnostics&&e.afterProgramEmitAndDiagnostics(s),l}var Zse,eV,Hw,A9,Fd,$rt=p({"src/compiler/watch.ts"(){Ba(),Zse=Gu?{getCurrentDirectory:()=>Gu.getCurrentDirectory(),getNewLine:()=>Gu.newLine,getCanonicalFileName:nf(Gu.useCaseSensitiveFileNames)}:void 0,eV=[v.Starting_compilation_in_watch_mode.code,v.File_change_detected_Starting_incremental_compilation.code],Hw={close:fc},A9=()=>Hw,Fd={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",TypingInstallerLocationFile:"File location for typing installer",TypingInstallerLocationDirectory:"Directory location for typing installer"}}});function tV(e,t){const n=y1(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!==N||!s.program))return O6e(s,n,t)}function Kse(e,t=Gu){const n=cse(e,void 0,t);return n.createHash=no(t,t.createHash),n.storeFilesChangingSignatureDuringEmit=t.storeFilesChangingSignatureDuringEmit,Kz(n),v9(n,s=>bc(s,n.getCurrentDirectory(),n.getCanonicalFileName)),n}function e4e({rootNames:e,options:t,configFileParsingDiagnostics:n,projectReferences:s,host:l,createProgram:f}){l=l||Kse(t),f=f||Rse;const d=tV(t,l);return f(e,t,l,d,n,s)}function qrt(e,t,n,s,l,f,d,g){return ka(e)?K6e({rootFiles:e,options:t,watchOptions:g,projectReferences:d,system:n,createProgram:s,reportDiagnostic:l,reportWatchStatus:f}):Z6e({configFileName:e,optionsToExtend:t,watchOptionsToExtend:d,extraFileExtensions:g,system:n,createProgram:s,reportDiagnostic:l,reportWatchStatus:f})}function Wrt(e){let t,n,s,l,f,d,g,h,k=e.extendedConfigCache,T=!1;const C=new Map;let D,O=!1;const M=e.useCaseSensitiveFileNames(),U=e.getCurrentDirectory(),{configFileName:B,optionsToExtend:H={},watchOptionsToExtend:Y,extraFileExtensions:Z,createProgram:fe}=e;let{rootFiles:Q,options:he,watchOptions:W,projectReferences:ye}=e,de,Ce,K=!1,ce=!1;const le=B===void 0?void 0:e6e(e,U,M),xe=le||e,we=Uz(e,xe);let Ie=Ar();B&&e.configFileParsingResult&&(qr(e.configFileParsingResult),Ie=Ar()),ui(v.Starting_compilation_in_watch_mode),B&&!e.configFileParsingResult&&(Ie=l1(H),R.assert(!Q),rn(),Ie=Ar()),R.assert(he),R.assert(Q);const{watchFile:ue,watchDirectory:ut,writeLog:Ge}=Xse(e,he),qe=nf(M);Ge(`Current directory: ${U} CaseSensitiveFileNames: ${M}`);let Ke;B&&(Ke=ue(B,Nn,2e3,W,Fd.ConfigFile));const Me=Qse(e,()=>he,xe);Kz(Me);const ze=Me.getSourceFile;Me.getSourceFile=(Fe,...Gt)=>Cn(Fe,Ht(Fe),...Gt),Me.getSourceFileByPath=Cn,Me.getNewLine=()=>Ie,Me.fileExists=Br,Me.onReleaseOldSourceFile=ws,Me.onReleaseParsedCommandLine=Nt,Me.toPath=Ht,Me.getCompilationSettings=()=>he,Me.useSourceOfProjectReferenceRedirect=no(e,e.useSourceOfProjectReferenceRedirect),Me.watchDirectoryOfFailedLookupLocation=(Fe,Gt,zt)=>ut(Fe,Gt,zt,W,Fd.FailedLookupLocations),Me.watchAffectingFileLocation=(Fe,Gt)=>ue(Fe,Gt,2e3,W,Fd.AffectingFileLocation),Me.watchTypeRootsDirectory=(Fe,Gt,zt)=>ut(Fe,Gt,zt,W,Fd.TypeRoots),Me.getCachedDirectoryStructureHost=()=>le,Me.scheduleInvalidateResolutionsOfFailedLookupLocations=Kt,Me.onInvalidatedResolution=_n,Me.onChangedAutomaticTypeDirectiveNames=_n,Me.fileIsOpen=Q0,Me.getCurrentProgram=Xt,Me.writeLog=Ge,Me.getParsedCommandLine=xi;const st=z6e(Me,B?cs(ua(B,U)):U,!1);Me.resolveModuleNameLiterals=no(e,e.resolveModuleNameLiterals),Me.resolveModuleNames=no(e,e.resolveModuleNames),!Me.resolveModuleNameLiterals&&!Me.resolveModuleNames&&(Me.resolveModuleNameLiterals=st.resolveModuleNameLiterals.bind(st)),Me.resolveTypeReferenceDirectiveReferences=no(e,e.resolveTypeReferenceDirectiveReferences),Me.resolveTypeReferenceDirectives=no(e,e.resolveTypeReferenceDirectives),!Me.resolveTypeReferenceDirectiveReferences&&!Me.resolveTypeReferenceDirectives&&(Me.resolveTypeReferenceDirectiveReferences=st.resolveTypeReferenceDirectiveReferences.bind(st)),Me.resolveLibrary=e.resolveLibrary?e.resolveLibrary.bind(e):st.resolveLibrary.bind(st),Me.getModuleResolutionCache=e.resolveModuleNameLiterals||e.resolveModuleNames?no(e,e.getModuleResolutionCache):()=>st.getModuleResolutionCache();const je=!!e.resolveModuleNameLiterals||!!e.resolveTypeReferenceDirectiveReferences||!!e.resolveModuleNames||!!e.resolveTypeReferenceDirectives?no(e,e.hasInvalidatedResolutions)||jb:Q0,_t=e.resolveLibrary?no(e,e.hasInvalidatedLibResolutions)||jb:Q0;return t=tV(he,Me),Ye(),xt(),B&&mt(Ht(B),he,W,Fd.ExtendedConfigFile),B?{getCurrentProgram:Dt,getProgram:ls,close:Lt}:{getCurrentProgram:Dt,getProgram:ls,updateRootFileNames:vr,close:Lt};function Lt(){Dr(),st.clear(),dd(C,Fe=>{Fe&&Fe.fileWatcher&&(Fe.fileWatcher.close(),Fe.fileWatcher=void 0)}),Ke&&(Ke.close(),Ke=void 0),k==null||k.clear(),k=void 0,h&&(dd(h,pg),h=void 0),l&&(dd(l,pg),l=void 0),s&&(dd(s,ig),s=void 0),g&&(dd(g,Fe=>{var Gt;(Gt=Fe.watcher)==null||Gt.close(),Fe.watcher=void 0,Fe.watchedDirectories&&dd(Fe.watchedDirectories,pg),Fe.watchedDirectories=void 0}),g=void 0)}function Dt(){return t}function Xt(){return t&&t.getProgramOrUndefined()}function Ye(){Ge("Synchronizing program"),R.assert(he),R.assert(Q),Dr();const Fe=Dt();if(O&&(Ie=Ar(),Fe&&aee(Fe.getCompilerOptions(),he))){debugger;st.onChangesAffectModuleResolution()}const{hasInvalidatedResolutions:Gt,hasInvalidatedLibResolutions:zt}=st.createHasInvalidatedResolutions(je,_t),{originalReadFile:Lr,originalFileExists:ii,originalDirectoryExists:Gn,originalCreateDirectory:Rn,originalWriteFile:L,readFileWithCache:Se}=v9(Me,Ht);return mse(Xt(),Q,he,pe=>Ji(pe,Se),pe=>Me.fileExists(pe),Gt,zt,Pt,xi,ye)?ce&&(T&&ui(v.File_change_detected_Starting_incremental_compilation),t=fe(void 0,void 0,Me,t,Ce,ye),ce=!1):(T&&ui(v.File_change_detected_Starting_incremental_compilation),Bt(Gt,zt)),T=!1,e.afterProgramCreate&&Fe!==t&&e.afterProgramCreate(t),Me.readFile=Lr,Me.fileExists=ii,Me.directoryExists=Gn,Me.createDirectory=Rn,Me.writeFile=L,t}function Bt(Fe,Gt){Ge("CreatingProgramWith::"),Ge(` roots: ${JSON.stringify(Q)}`),Ge(` options: ${JSON.stringify(he)}`),ye&&Ge(` projectReferences: ${JSON.stringify(ye)}`);const zt=O||!Xt();O=!1,ce=!1,st.startCachingPerDirectoryResolution(),Me.hasInvalidatedResolutions=Fe,Me.hasInvalidatedLibResolutions=Gt,Me.hasChangedAutomaticTypeDirectiveNames=Pt;const Lr=Xt();if(t=fe(Q,he,Me,t,Ce,ye),st.finishCachingPerDirectoryResolution(t.getProgram(),Lr),r6e(t.getProgram(),s||(s=new Map),se),zt&&st.updateTypeRootsWatch(),D){for(const ii of D)s.has(ii)||C.delete(ii);D=void 0}}function vr(Fe){R.assert(!B,"Cannot update root file names with config file watch mode"),Q=Fe,_n()}function Ar(){return l1(he||H)}function Ht(Fe){return bc(Fe,U,qe)}function tn(Fe){return typeof Fe=="boolean"}function hn(Fe){return typeof Fe.version=="boolean"}function Br(Fe){const Gt=Ht(Fe);return tn(C.get(Gt))?!1:xe.fileExists(Fe)}function Cn(Fe,Gt,zt,Lr,ii){const Gn=C.get(Gt);if(!tn(Gn)){if(Gn===void 0||ii||hn(Gn)){const Rn=ze(Fe,zt,Lr);if(Gn)Rn?(Gn.sourceFile=Rn,Gn.version=Rn.version,Gn.fileWatcher||(Gn.fileWatcher=dt(Gt,Fe,Ut,250,W,Fd.SourceFile))):(Gn.fileWatcher&&Gn.fileWatcher.close(),C.set(Gt,!1));else if(Rn){const L=dt(Gt,Fe,Ut,250,W,Fd.SourceFile);C.set(Gt,{sourceFile:Rn,version:Rn.version,fileWatcher:L})}else C.set(Gt,!1);return Rn}return Gn.sourceFile}}function ci(Fe){const Gt=C.get(Fe);Gt!==void 0&&(tn(Gt)?C.set(Fe,{version:!1}):Gt.version=!1)}function Ji(Fe,Gt){const zt=C.get(Fe);if(!zt)return;if(zt.version)return zt.version;const Lr=Gt(Fe);return Lr!==void 0?Zz(Me,Lr):void 0}function ws(Fe,Gt,zt){const Lr=C.get(Fe.resolvedPath);Lr!==void 0&&(tn(Lr)?(D||(D=[])).push(Fe.path):Lr.sourceFile===Fe&&(Lr.fileWatcher&&Lr.fileWatcher.close(),C.delete(Fe.resolvedPath),zt||st.removeResolutionsOfFile(Fe.path)))}function ui(Fe){e.onWatchStatusChange&&e.onWatchStatusChange(Cl(Fe),Ie,he||H)}function Pt(){return st.hasChangedAutomaticTypeDirectiveNames()}function Dr(){return d?(e.clearTimeout(d),d=void 0,!0):!1}function Kt(){if(!e.setTimeout||!e.clearTimeout)return st.invalidateResolutionsOfFailedLookupLocations();const Fe=Dr();Ge(`Scheduling invalidateFailedLookup${Fe?", Cancelled earlier one":""}`),d=e.setTimeout(Qr,250,"timerToInvalidateFailedLookupResolutions")}function Qr(){d=void 0,st.invalidateResolutionsOfFailedLookupLocations()&&_n()}function _n(){!e.setTimeout||!e.clearTimeout||(f&&e.clearTimeout(f),Ge("Scheduling update"),f=e.setTimeout(ks,250,"timerToUpdateProgram"))}function Nn(){R.assert(!!B),n=2,_n()}function ks(){f=void 0,T=!0,ls()}function ls(){var Fe,Gt,zt,Lr;switch(n){case 1:(Fe=uh)==null||Fe.logStartUpdateProgram("PartialConfigReload"),Yr();break;case 2:(Gt=uh)==null||Gt.logStartUpdateProgram("FullConfigReload"),Er();break;default:(zt=uh)==null||zt.logStartUpdateProgram("SynchronizeProgram"),Ye();break}return(Lr=uh)==null||Lr.logStopUpdateProgram("Done"),Dt()}function Yr(){Ge("Reloading new file names and options"),R.assert(he),R.assert(B),n=0,Q=qO(he.configFile.configFileSpecs,ua(cs(B),U),he,we,Z),Ane(Q,ua(B,U),he.configFile.configFileSpecs,Ce,K)&&(ce=!0),Ye()}function Er(){R.assert(B),Ge(`Reloading config file: ${B}`),n=0,le&&le.clearCache(),rn(),O=!0,Ye(),xt(),mt(Ht(B),he,W,Fd.ExtendedConfigFile)}function rn(){R.assert(B),qr(jO(B,H,we,k||(k=new Map),Y,Z))}function qr(Fe){Q=Fe.fileNames,he=Fe.options,W=Fe.watchOptions,ye=Fe.projectReferences,de=Fe.wildcardDirectories,Ce=ck(Fe).slice(),K=$O(Fe.raw),ce=!0}function xi(Fe){const Gt=Ht(Fe);let zt=g==null?void 0:g.get(Gt);if(zt){if(!zt.reloadLevel)return zt.parsedCommandLine;if(zt.parsedCommandLine&&zt.reloadLevel===1&&!e.getParsedCommandLine){Ge("Reloading new file names and options"),R.assert(he);const ii=qO(zt.parsedCommandLine.options.configFile.configFileSpecs,ua(cs(Fe),U),he,we);return zt.parsedCommandLine={...zt.parsedCommandLine,fileNames:ii},zt.reloadLevel=void 0,zt.parsedCommandLine}}Ge(`Loading config file: ${Fe}`);const Lr=e.getParsedCommandLine?e.getParsedCommandLine(Fe):pt(Fe);return zt?(zt.parsedCommandLine=Lr,zt.reloadLevel=void 0):(g||(g=new Map)).set(Gt,zt={parsedCommandLine:Lr}),_r(Fe,Gt,zt),Lr}function pt(Fe){const Gt=we.onUnRecoverableConfigFileDiagnostic;we.onUnRecoverableConfigFileDiagnostic=fc;const zt=jO(Fe,void 0,we,k||(k=new Map),Y);return we.onUnRecoverableConfigFileDiagnostic=Gt,zt}function Nt(Fe){var Gt;const zt=Ht(Fe),Lr=g==null?void 0:g.get(zt);Lr&&(g.delete(zt),Lr.watchedDirectories&&dd(Lr.watchedDirectories,pg),(Gt=Lr.watcher)==null||Gt.close(),t6e(zt,h))}function dt(Fe,Gt,zt,Lr,ii,Gn){return ue(Gt,(Rn,L)=>zt(Rn,L,Fe),Lr,ii,Gn)}function Ut(Fe,Gt,zt){rr(Fe,zt,Gt),Gt===2&&C.has(zt)&&st.invalidateResolutionOfFile(zt),ci(zt),_n()}function rr(Fe,Gt,zt){le&&le.addOrDeleteFile(Fe,Gt,zt)}function se(Fe){return g!=null&&g.has(Fe)?Hw:dt(Fe,Fe,at,500,W,Fd.MissingFile)}function at(Fe,Gt,zt){rr(Fe,zt,Gt),Gt===0&&s.has(zt)&&(s.get(zt).close(),s.delete(zt),ci(zt),_n())}function xt(){de?Oz(l||(l=new Map),new Map(Object.entries(de)),ae):l&&dd(l,pg)}function ae(Fe,Gt){return ut(Fe,zt=>{R.assert(B),R.assert(he);const Lr=Ht(zt);le&&le.addOrDeleteFileOrDirectory(zt,Lr),ci(Lr),!Lz({watchedDirPath:Ht(Fe),fileOrDirectory:zt,fileOrDirectoryPath:Lr,configFileName:B,extraFileExtensions:Z,options:he,program:Dt()||Q,currentDirectory:U,useCaseSensitiveFileNames:M,writeLog:Ge,toPath:Ht})&&n!==2&&(n=1,_n())},Gt,W,Fd.WildcardDirectory)}function mt(Fe,Gt,zt,Lr){rse(Fe,Gt,h||(h=new Map),(ii,Gn)=>ue(ii,(Rn,L)=>{var Se;rr(ii,Gn,L),k&&nse(k,Gn,Ht);const pe=(Se=h.get(Gn))==null?void 0:Se.projects;pe!=null&&pe.size&&pe.forEach(ke=>{if(B&&Ht(B)===ke)n=2;else{const ve=g==null?void 0:g.get(ke);ve&&(ve.reloadLevel=2),st.removeResolutionsFromProjectReferenceRedirects(ke)}_n()})},2e3,zt,Lr),Ht)}function _r(Fe,Gt,zt){var Lr,ii,Gn,Rn,L;zt.watcher||(zt.watcher=ue(Fe,(Se,pe)=>{rr(Fe,Gt,pe);const ke=g==null?void 0:g.get(Gt);ke&&(ke.reloadLevel=2),st.removeResolutionsFromProjectReferenceRedirects(Gt),_n()},2e3,((Lr=zt.parsedCommandLine)==null?void 0:Lr.watchOptions)||W,Fd.ConfigFileOfReferencedProject)),(ii=zt.parsedCommandLine)!=null&&ii.wildcardDirectories?Oz(zt.watchedDirectories||(zt.watchedDirectories=new Map),new Map(Object.entries((Gn=zt.parsedCommandLine)==null?void 0:Gn.wildcardDirectories)),(Se,pe)=>{var ke;return ut(Se,ve=>{const Te=Ht(ve);le&&le.addOrDeleteFileOrDirectory(ve,Te),ci(Te);const ee=g==null?void 0:g.get(Gt);ee!=null&&ee.parsedCommandLine&&(Lz({watchedDirPath:Ht(Se),fileOrDirectory:ve,fileOrDirectoryPath:Te,configFileName:Fe,options:ee.parsedCommandLine.options,program:ee.parsedCommandLine.fileNames,currentDirectory:U,useCaseSensitiveFileNames:M,writeLog:Ge,toPath:Ht})||ee.reloadLevel!==2&&(ee.reloadLevel=1,_n()))},pe,((ke=zt.parsedCommandLine)==null?void 0:ke.watchOptions)||W,Fd.WildcardDirectoryOfReferencedProject)}):zt.watchedDirectories&&(dd(zt.watchedDirectories,pg),zt.watchedDirectories=void 0),mt(Gt,(Rn=zt.parsedCommandLine)==null?void 0:Rn.options,((L=zt.parsedCommandLine)==null?void 0:L.watchOptions)||W,Fd.ExtendedConfigOfReferencedProject)}}var Hrt=p({"src/compiler/watchPublic.ts"(){Ba()}});function eae(e){return Vl(e,".json")?e:vs(e,"tsconfig.json")}var tae,Grt=p({"src/compiler/tsbuild.ts"(){Ba(),tae=(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))(tae||{})}});function Xrt(e,t,n){const s=e.get(t);let l;return s||(l=n(),e.set(t,l)),s||l}function rae(e,t){return Xrt(e,t,()=>new Map)}function P9(e){return e.now?e.now():new Date}function Gw(e){return!!e&&!!e.buildOrder}function rV(e){return Gw(e)?e.buildOrder:e}function t4e(e,t){return n=>{let s=t?`[${cS(E9(e),"\x1B[90m")}] `:`${E9(e)} - `;s+=`${jv(n.messageText,e.newLine)}${e.newLine+e.newLine}`,e.write(s)}}function r4e(e,t,n,s){const l=Yse(e,t);return l.getModifiedTime=e.getModifiedTime?f=>e.getModifiedTime(f):Jb,l.setModifiedTime=e.setModifiedTime?(f,d)=>e.setModifiedTime(f,d):fc,l.deleteFile=e.deleteFile?f=>e.deleteFile(f):fc,l.reportDiagnostic=n||w9(e),l.reportSolutionBuilderStatus=s||t4e(e),l.now=no(e,e.now),l}function Qrt(e=Gu,t,n,s,l){const f=r4e(e,t,n,s);return f.reportErrorSummary=l,f}function Yrt(e=Gu,t,n,s,l){const f=r4e(e,t,n,s),d=Gse(e,l);return QY(f,d),f}function Zrt(e){const t={};return XO.forEach(n=>{uc(e,n.name)&&(t[n.name]=e[n.name])}),t}function Krt(e,t,n){return C4e(!1,e,t,n)}function ent(e,t,n,s){return C4e(!0,e,t,n,s)}function tnt(e,t,n,s,l){const f=t,d=t,g=Zrt(s),h=Qse(f,()=>U.projectCompilerOptions);Kz(h),h.getParsedCommandLine=B=>uk(U,B,Bm(U,B)),h.resolveModuleNameLiterals=no(f,f.resolveModuleNameLiterals),h.resolveTypeReferenceDirectiveReferences=no(f,f.resolveTypeReferenceDirectiveReferences),h.resolveLibrary=no(f,f.resolveLibrary),h.resolveModuleNames=no(f,f.resolveModuleNames),h.resolveTypeReferenceDirectives=no(f,f.resolveTypeReferenceDirectives),h.getModuleResolutionCache=no(f,f.getModuleResolutionCache);let k,T;!h.resolveModuleNameLiterals&&!h.resolveModuleNames&&(k=K4(h.getCurrentDirectory(),h.getCanonicalFileName),h.resolveModuleNameLiterals=(B,H,Y,Z,fe)=>T9(B,H,Y,Z,fe,f,k,dse),h.getModuleResolutionCache=()=>k),!h.resolveTypeReferenceDirectiveReferences&&!h.resolveTypeReferenceDirectives&&(T=tz(h.getCurrentDirectory(),h.getCanonicalFileName,void 0,k==null?void 0:k.getPackageJsonInfoCache()),h.resolveTypeReferenceDirectiveReferences=(B,H,Y,Z,fe)=>T9(B,H,Y,Z,fe,f,T,Rz));let C;h.resolveLibrary||(C=K4(h.getCurrentDirectory(),h.getCanonicalFileName,void 0,k==null?void 0:k.getPackageJsonInfoCache()),h.resolveLibrary=(B,H,Y)=>rz(B,H,Y,f,C)),h.getBuildInfo=(B,H)=>h4e(U,B,Bm(U,H),void 0);const{watchFile:D,watchDirectory:O,writeLog:M}=Xse(d,s),U={host:f,hostWithWatch:d,parseConfigFileHost:Uz(f),write:no(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:T,libraryResolutionCache:C,buildOrder:void 0,readFileWithCache:B=>f.readFile(B),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:D,watchDirectory:O,writeLog:M};return U}function ap(e,t){return bc(t,e.compilerHost.getCurrentDirectory(),e.compilerHost.getCanonicalFileName)}function Bm(e,t){const{resolvedConfigFilePaths:n}=e,s=n.get(t);if(s!==void 0)return s;const l=ap(e,t);return n.set(t,l),l}function n4e(e){return!!e.options}function rnt(e,t){const n=e.configFileCache.get(t);return n&&n4e(n)?n:void 0}function uk(e,t,n){const{configFileCache:s}=e,l=s.get(n);if(l)return n4e(l)?l:void 0;vc("SolutionBuilder::beforeConfigFileParsing");let f;const{parseConfigFileHost:d,baseCompilerOptions:g,baseWatchOptions:h,extendedConfigCache:k,host:T}=e;let C;return T.getParsedCommandLine?(C=T.getParsedCommandLine(t),C||(f=Cl(v.File_0_not_found,t))):(d.onUnRecoverableConfigFileDiagnostic=D=>f=D,C=jO(t,g,d,k,h),d.onUnRecoverableConfigFileDiagnostic=fc),s.set(n,C||f),vc("SolutionBuilder::afterConfigFileParsing"),xp("SolutionBuilder::Config file parsing","SolutionBuilder::beforeConfigFileParsing","SolutionBuilder::afterConfigFileParsing"),C}function aA(e,t){return eae(hv(e.compilerHost.getCurrentDirectory(),t))}function i4e(e,t){const n=new Map,s=new Map,l=[];let f,d;for(const h of t)g(h);return d?{buildOrder:f||ft,circularDiagnostics:d}:f||ft;function g(h,k){const T=Bm(e,h);if(s.has(T))return;if(n.has(T)){k||(d||(d=[])).push(Cl(v.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,l.join(`\r
`)));return}n.set(T,!0),l.push(h);const C=uk(e,h,T);if(C&&C.projectReferences)for(const D of C.projectReferences){const O=aA(e,D.path);g(O,k||D.circular)}l.pop(),s.set(T,!0),(f||(f=[])).push(h)}}function D9(e){return e.buildOrder||nnt(e)}function nnt(e){const t=i4e(e,e.rootNames.map(l=>aA(e,l)));e.resolvedConfigFilePaths.clear();const n=new Map(rV(t).map(l=>[Bm(e,l),!0])),s={onDeleteValue:fc};return Zy(e.configFileCache,n,s),Zy(e.projectStatus,n,s),Zy(e.builderPrograms,n,s),Zy(e.diagnostics,n,s),Zy(e.projectPendingBuild,n,s),Zy(e.projectErrorsReported,n,s),Zy(e.buildInfoCache,n,s),Zy(e.outputTimeStamps,n,s),e.watch&&(Zy(e.allWatchedConfigFiles,n,{onDeleteValue:ig}),e.allWatchedExtendedConfigFiles.forEach(l=>{l.projects.forEach(f=>{n.has(f)||l.projects.delete(f)}),l.close()}),Zy(e.allWatchedWildcardDirectories,n,{onDeleteValue:l=>l.forEach(pg)}),Zy(e.allWatchedInputFiles,n,{onDeleteValue:l=>l.forEach(ig)}),Zy(e.allWatchedPackageJsonFiles,n,{onDeleteValue:l=>l.forEach(ig)})),e.buildOrder=t}function s4e(e,t,n){const s=t&&aA(e,t),l=D9(e);if(Gw(l))return l;if(s){const d=Bm(e,s);if(ir(l,h=>Bm(e,h)===d)===-1)return}const f=s?i4e(e,[s]):l;return R.assert(!Gw(f)),R.assert(!n||s!==void 0),R.assert(!n||f[f.length-1]===s),n?f.slice(0,f.length-1):f}function a4e(e){e.cache&&nae(e);const{compilerHost:t,host:n}=e,s=e.readFileWithCache,l=t.getSourceFile,{originalReadFile:f,originalFileExists:d,originalDirectoryExists:g,originalCreateDirectory:h,originalWriteFile:k,getSourceFileWithCache:T,readFileWithCache:C}=v9(n,D=>ap(e,D),(...D)=>l.call(t,...D));e.readFileWithCache=C,t.getSourceFile=T,e.cache={originalReadFile:f,originalFileExists:d,originalDirectoryExists:g,originalCreateDirectory:h,originalWriteFile:k,originalReadFileWithCache:s,originalGetSourceFile:l}}function nae(e){if(!e.cache)return;const{cache:t,host:n,compilerHost:s,extendedConfigCache:l,moduleResolutionCache:f,typeReferenceDirectiveResolutionCache:d,libraryResolutionCache:g}=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(),g==null||g.clear(),e.cache=void 0}function o4e(e,t){e.projectStatus.delete(t),e.diagnostics.delete(t)}function c4e({projectPendingBuild:e},t,n){const s=e.get(t);(s===void 0||s<n)&&e.set(t,n)}function l4e(e,t){if(!e.allProjectBuildPending)return;e.allProjectBuildPending=!1,e.options.watch&&mae(e,v.Starting_compilation_in_watch_mode),a4e(e),rV(D9(e)).forEach(s=>e.projectPendingBuild.set(Bm(e,s),0)),t&&t.throwIfCancellationRequested()}function u4e(e,t){return e.projectPendingBuild.delete(t),e.diagnostics.has(t)?1:0}function int(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:()=>{y4e(e,s,n),f=!1},done:()=>(f&&y4e(e,s,n),vc("SolutionBuilder::Timestamps only updates"),u4e(e,n))}}function f4e(e,t,n,s,l,f,d){let g=e===0?0:4,h,k,T;return e===0?{kind:e,project:n,projectPath:s,buildOrder:d,getCompilerOptions:()=>f.options,getCurrentDirectory:()=>t.compilerHost.getCurrentDirectory(),getBuilderProgram:()=>D(Kc),getProgram:()=>D(W=>W.getProgramOrUndefined()),getSourceFile:W=>D(ye=>ye.getSourceFile(W)),getSourceFiles:()=>O(W=>W.getSourceFiles()),getOptionsDiagnostics:W=>O(ye=>ye.getOptionsDiagnostics(W)),getGlobalDiagnostics:W=>O(ye=>ye.getGlobalDiagnostics(W)),getConfigFileParsingDiagnostics:()=>O(W=>W.getConfigFileParsingDiagnostics()),getSyntacticDiagnostics:(W,ye)=>O(de=>de.getSyntacticDiagnostics(W,ye)),getAllDependencies:W=>O(ye=>ye.getAllDependencies(W)),getSemanticDiagnostics:(W,ye)=>O(de=>de.getSemanticDiagnostics(W,ye)),getSemanticDiagnosticsOfNextAffectedFile:(W,ye)=>D(de=>de.getSemanticDiagnosticsOfNextAffectedFile&&de.getSemanticDiagnosticsOfNextAffectedFile(W,ye)),emit:(W,ye,de,Ce,K)=>{if(W||Ce)return D(ce=>{var le,xe;return ce.emit(W,ye,de,Ce,K||((xe=(le=t.host).getCustomTransformers)==null?void 0:xe.call(le,n)))});if(he(2,de),g===5)return Z(ye,de);if(g===3)return Y(ye,de,K)},done:C}:{kind:e,project:n,projectPath:s,buildOrder:d,getCompilerOptions:()=>f.options,getCurrentDirectory:()=>t.compilerHost.getCurrentDirectory(),emit:(W,ye)=>g!==4?T:Q(W,ye),done:C};function C(W,ye,de){return he(8,W,ye,de),vc(e===0?"SolutionBuilder::Projects built":"SolutionBuilder::Bundles updated"),u4e(t,s)}function D(W){return he(0),h&&W(h)}function O(W){return D(W)||ft}function M(){var W,ye;if(R.assert(h===void 0),t.options.dry){Yf(t,v.A_non_dry_build_would_build_project_0,n),k=1,g=7;return}if(t.options.verbose&&Yf(t,v.Building_project_0,n),f.fileNames.length===0){oA(t,s,ck(f)),k=0,g=7;return}const{host:de,compilerHost:Ce}=t;t.projectCompilerOptions=f.options,(W=t.moduleResolutionCache)==null||W.update(f.options),(ye=t.typeReferenceDirectiveResolutionCache)==null||ye.update(f.options),h=de.createProgram(f.fileNames,f.options,Ce,ant(t,s,f),ck(f),f.projectReferences),t.watch&&(t.lastCachedPackageJsonLookups.set(s,t.moduleResolutionCache&&qt(t.moduleResolutionCache.getPackageJsonInfoCache().entries(),([K,ce])=>[t.host.realpath&&ce?ap(t,t.host.realpath(K)):K,ce])),t.builderPrograms.set(s,h)),g++}function U(W,ye,de){W.length?{buildResult:k,step:g}=aae(t,s,h,f,W,ye,de):g++}function B(W){R.assertIsDefined(h),U([...h.getConfigFileParsingDiagnostics(),...h.getOptionsDiagnostics(W),...h.getGlobalDiagnostics(W),...h.getSyntacticDiagnostics(void 0,W)],8,"Syntactic")}function H(W){U(R.checkDefined(h).getSemanticDiagnostics(void 0,W),16,"Semantic")}function Y(W,ye,de){var Ce,K,ce;R.assertIsDefined(h),R.assert(g===3);const le=h.saveEmitState();let xe;const we=_t=>(xe||(xe=[])).push(_t),Ie=[],{emitResult:ue}=Yz(h,we,void 0,void 0,(_t,Lt,Dt,Xt,Ye,Bt)=>Ie.push({name:_t,text:Lt,writeByteOrderMark:Dt,data:Bt}),ye,!1,de||((K=(Ce=t.host).getCustomTransformers)==null?void 0:K.call(Ce,n)));if(xe)return h.restoreEmitState(le),{buildResult:k,step:g}=aae(t,s,h,f,xe,32,"Declaration file"),{emitSkipped:!0,diagnostics:ue.diagnostics};const{host:ut,compilerHost:Ge}=t,qe=(ce=h.hasChangedEmitSignature)!=null&&ce.call(h)?0:2,Ke=d4(),Me=new Map,ze=h.getCompilerOptions(),st=U5(ze);let et,je;return Ie.forEach(({name:_t,text:Lt,writeByteOrderMark:Dt,data:Xt})=>{const Ye=ap(t,_t);Me.set(ap(t,_t),_t),Xt!=null&&Xt.buildInfo&&cae(t,Xt.buildInfo,s,ze,qe);const Bt=Xt!=null&&Xt.differsOnlyInMap?XC(t.host,_t):void 0;FP(W?{writeFile:W}:Ge,Ke,_t,Lt,Dt),Xt!=null&&Xt.differsOnlyInMap?t.host.setModifiedTime(_t,Bt):!st&&t.watch&&(et||(et=oae(t,s))).set(Ye,je||(je=P9(t.host)))}),fe(Ke,Me,Ie.length?Ie[0].name:Zie(f,!ut.useCaseSensitiveFileNames()),qe),ue}function Z(W,ye){R.assertIsDefined(h),R.assert(g===5);const de=h.emitBuildInfo((Ce,K,ce,le,xe,we)=>{we!=null&&we.buildInfo&&cae(t,we.buildInfo,s,h.getCompilerOptions(),2),W?W(Ce,K,ce,le,xe,we):t.compilerHost.writeFile(Ce,K,ce,le,xe,we)},ye);return de.diagnostics.length&&(I9(t,de.diagnostics),t.diagnostics.set(s,[...t.diagnostics.get(s),...de.diagnostics]),k=64&k),de.emittedFiles&&t.write&&de.emittedFiles.forEach(Ce=>d4e(t,f,Ce)),sae(t,h,f),g=7,de}function fe(W,ye,de,Ce){const K=W.getDiagnostics();return K.length?({buildResult:k,step:g}=aae(t,s,h,f,K,64,"Emit"),K):(t.write&&ye.forEach(ce=>d4e(t,f,ce)),g4e(t,f,s,v.Updating_unchanged_output_timestamps_of_project_0,ye),t.diagnostics.delete(s),t.projectStatus.set(s,{type:1,oldestOutputFileName:de}),sae(t,h,f),g=7,k=Ce,K)}function Q(W,ye){var de,Ce,K,ce;if(R.assert(e===1),t.options.dry){Yf(t,v.A_non_dry_build_would_update_output_of_project_0,n),k=1,g=7;return}t.options.verbose&&Yf(t,v.Updating_output_of_project_0,n);const{compilerHost:le}=t;t.projectCompilerOptions=f.options,(Ce=(de=t.host).beforeEmitBundle)==null||Ce.call(de,f);const xe=KEe(f,le,qe=>{const Ke=aA(t,qe.path);return uk(t,Ke,Bm(t,Ke))},ye||((ce=(K=t.host).getCustomTransformers)==null?void 0:ce.call(K,n)));if(Wa(xe))return Yf(t,v.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,n,xu(t,xe)),g=6,T=f4e(0,t,n,s,l,f,d);R.assert(!!xe.length);const we=d4(),Ie=new Map;let ue=2;const ut=t.buildInfoCache.get(s).buildInfo||void 0;return xe.forEach(({name:qe,text:Ke,writeByteOrderMark:Me,data:ze})=>{var st,et;Ie.set(ap(t,qe),qe),ze!=null&&ze.buildInfo&&(((st=ze.buildInfo.program)==null?void 0:st.outSignature)!==((et=ut==null?void 0:ut.program)==null?void 0:et.outSignature)&&(ue&=-3),cae(t,ze.buildInfo,s,f.options,ue)),FP(W?{writeFile:W}:le,we,qe,Ke,Me)}),{emitSkipped:!1,diagnostics:fe(we,Ie,xe[0].name,ue)}}function he(W,ye,de,Ce){for(;g<=W&&g<8;){const K=g;switch(g){case 0:M();break;case 1:B(ye);break;case 2:H(ye);break;case 3:Y(de,ye,Ce);break;case 5:Z(de,ye);break;case 4:Q(de,Ce);break;case 6:R.checkDefined(T).done(ye,de,Ce),g=8;break;case 7:unt(t,n,s,l,f,d,R.checkDefined(k)),g++;break}R.assert(g>K)}}}function snt({options:e},t,n){return t.type!==3||e.force?!0:n.fileNames.length===0||!!ck(n).length||!U5(n.options)}function _4e(e,t,n){if(!e.projectPendingBuild.size||Gw(t))return;const{options:s,projectPendingBuild:l}=e;for(let f=0;f<t.length;f++){const d=t[f],g=Bm(e,d),h=e.projectPendingBuild.get(g);if(h===void 0)continue;n&&(n=!1,A4e(e,t));const k=uk(e,d,g);if(!k){w4e(e,g),l.delete(g);continue}h===2?(S4e(e,d,g,k),x4e(e,g,k),k4e(e,d,g,k),pae(e,d,g,k),dae(e,d,g,k)):h===1&&(k.fileNames=qO(k.options.configFile.configFileSpecs,cs(d),k.options,e.parseConfigFileHost),Ane(k.fileNames,d,k.options.configFile.configFileSpecs,k.errors,$O(k.raw)),pae(e,d,g,k),dae(e,d,g,k));const T=fae(e,k,g);if(!s.force){if(T.type===1){sV(e,d,T),oA(e,g,ck(k)),l.delete(g),s.dry&&Yf(e,v.Project_0_is_up_to_date,d);continue}if(T.type===2||T.type===15)return oA(e,g,ck(k)),{kind:2,status:T,project:d,projectPath:g,projectIndex:f,config:k}}if(T.type===12){sV(e,d,T),oA(e,g,ck(k)),l.delete(g),s.verbose&&Yf(e,T.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,T.upstreamProjectName);continue}if(T.type===16){sV(e,d,T),oA(e,g,ck(k)),l.delete(g);continue}return{kind:snt(e,T,k)?0:1,status:T,project:d,projectPath:g,projectIndex:f,config:k}}}function p4e(e,t,n){return sV(e,t.project,t.status),t.kind!==2?f4e(t.kind,e,t.project,t.projectPath,t.projectIndex,t.config,n):int(e,t.project,t.projectPath,t.config,n)}function iae(e,t,n){const s=_4e(e,t,n);return s&&p4e(e,s,t)}function d4e({write:e},t,n){e&&t.options.listEmittedFiles&&e(`TSFILE: ${n}`)}function ant({options:e,builderPrograms:t,compilerHost:n},s,l){if(e.force)return;const f=t.get(s);return f||tV(l.options,n)}function sae(e,t,n){t?(e.write&&Vse(t,e.write),e.host.afterProgramEmitAndDiagnostics&&e.host.afterProgramEmitAndDiagnostics(t),t.releaseProgram()):e.host.afterEmitBundle&&e.host.afterEmitBundle(n),e.projectCompilerOptions=e.baseCompilerOptions}function aae(e,t,n,s,l,f,d){const g=n&&!Ac(n.getCompilerOptions());return oA(e,t,l),e.projectStatus.set(t,{type:0,reason:`${d} errors`}),g?{buildResult:f,step:5}:(sae(e,n,s),{buildResult:f,step:7})}function nV(e){return!!e.watcher}function m4e(e,t){const n=ap(e,t),s=e.filesWatched.get(n);if(e.watch&&s){if(!nV(s))return s;if(s.modifiedTime)return s.modifiedTime}const l=XC(e.host,t);return e.watch&&(s?s.modifiedTime=l:e.filesWatched.set(n,l)),l}function iV(e,t,n,s,l,f,d){const g=ap(e,t),h=e.filesWatched.get(g);if(h&&nV(h))h.callbacks.push(n);else{const k=e.watchFile(t,(T,C,D)=>{const O=R.checkDefined(e.filesWatched.get(g));R.assert(nV(O)),O.modifiedTime=D,O.callbacks.forEach(M=>M(T,C,D))},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(nV(k)),k.callbacks.length===1?(e.filesWatched.delete(g),pg(k)):lI(k.callbacks,n)}}}function oae(e,t){if(!e.watch)return;let n=e.outputTimeStamps.get(t);return n||e.outputTimeStamps.set(t,n=new Map),n}function cae(e,t,n,s,l){const f=y1(s),d=lae(e,f,n),g=P9(e.host);d?(d.buildInfo=t,d.modifiedTime=g,l&2||(d.latestChangedDtsTime=g)):e.buildInfoCache.set(n,{path:ap(e,f),buildInfo:t,modifiedTime:g,latestChangedDtsTime:l&2?void 0:g})}function lae(e,t,n){const s=ap(e,t),l=e.buildInfoCache.get(n);return(l==null?void 0:l.path)===s?l:void 0}function h4e(e,t,n,s){const l=ap(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||Uy}),g}function uae(e,t,n,s){const l=m4e(e,t);if(n<l)return{type:6,outOfDateOutputFileName:s,newerInputFileName:t}}function ont(e,t,n){var s,l;if(!t.fileNames.length&&!$O(t.raw))return{type:16};let f;const d=!!e.options.force;if(t.projectReferences){e.projectStatus.set(n,{type:13});for(const de of t.projectReferences){const Ce=YD(de),K=Bm(e,Ce),ce=uk(e,Ce,K),le=fae(e,ce,K);if(!(le.type===13||le.type===16)){if(le.type===0||le.type===12)return{type:12,upstreamProjectName:de.path,upstreamProjectBlocked:le.type===12};if(le.type!==1)return{type:11,upstreamProjectName:de.path};d||(f||(f=[])).push({ref:de,refStatus:le,resolvedRefPath:K,resolvedConfig:ce})}}}if(d)return{type:17};const{host:g}=e,h=y1(t.options);let k,T=D4e,C,D,O;if(h){const de=lae(e,h,n);if(C=(de==null?void 0:de.modifiedTime)||XC(g,h),C===Uy)return de||e.buildInfoCache.set(n,{path:ap(e,h),buildInfo:!1,modifiedTime:C}),{type:4,missingOutputFileName:h};const Ce=h4e(e,h,n,C);if(!Ce)return{type:5,fileName:h};if((Ce.bundle||Ce.program)&&Ce.version!==N)return{type:14,version:Ce.version};if(Ce.program){if((s=Ce.program.changeFileSet)!=null&&s.length||(t.options.noEmit?Ne(Ce.program.semanticDiagnosticsPerFile,ka):(l=Ce.program.affectedFilesPendingEmit)!=null&&l.length))return{type:8,buildInfoFile:h};if(!t.options.noEmit&&sA(t.options,Ce.program.options||{}))return{type:9,buildInfoFile:h};D=Ce.program}T=C,k=h}let M,U=P4e,B=!1;const H=new Set;for(const de of t.fileNames){const Ce=m4e(e,de);if(Ce===Uy)return{type:0,reason:`${de} does not exist`};if(C&&C<Ce){let K,ce;if(D){O||(O=Ose(D,h,g)),K=O.fileInfos.get(ap(e,de));const le=K?e.readFileWithCache(de):void 0;ce=le!==void 0?Zz(g,le):void 0,K&&K===ce&&(B=!0)}if(!K||K!==ce)return{type:6,outOfDateOutputFileName:h,newerInputFileName:de}}Ce>U&&(M=de,U=Ce),D&&H.add(ap(e,de))}if(D){O||(O=Ose(D,h,g));for(const de of O.roots)if(!H.has(de))return{type:10,buildInfoFile:h,inputFile:de}}if(!h){const de=Pz(t,!g.useCaseSensitiveFileNames()),Ce=oae(e,n);for(const K of de){const ce=ap(e,K);let le=Ce==null?void 0:Ce.get(ce);if(le||(le=XC(e.host,K),Ce==null||Ce.set(ce,le)),le===Uy)return{type:4,missingOutputFileName:K};if(le<U)return{type:6,outOfDateOutputFileName:K,newerInputFileName:M};le<T&&(T=le,k=K)}}const Y=e.buildInfoCache.get(n);let Z=!1,fe=!1,Q;if(f)for(const{ref:de,refStatus:Ce,resolvedConfig:K,resolvedRefPath:ce}of f){if(fe=fe||!!de.prepend,Ce.newestInputFileTime&&Ce.newestInputFileTime<=T)continue;if(Y&&cnt(e,Y,ce))return{type:7,outOfDateOutputFileName:h,newerProjectName:de.path};const le=lnt(e,K.options,ce);if(le&&le<=T){Z=!0,Q=de.path;continue}return R.assert(k!==void 0,"Should have an oldest output filename here"),{type:7,outOfDateOutputFileName:k,newerProjectName:de.path}}const he=uae(e,t.options.configFilePath,T,k);if(he)return he;const W=te(t.options.configFile.extendedSourceFiles||ft,de=>uae(e,de,T,k));if(W)return W;const ye=te(e.lastCachedPackageJsonLookups.get(n)||ft,([de])=>uae(e,de,T,k));return ye||(fe&&Z?{type:3,outOfDateOutputFileName:k,newerProjectName:Q}:{type:Z?2:B?15:1,newestInputFileTime:U,newestInputFileName:M,oldestOutputFileName:k})}function cnt(e,t,n){return e.buildInfoCache.get(n).path===t.path}function fae(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;vc("SolutionBuilder::beforeUpToDateCheck");const l=ont(e,t,n);return vc("SolutionBuilder::afterUpToDateCheck"),xp("SolutionBuilder::Up-to-date check","SolutionBuilder::beforeUpToDateCheck","SolutionBuilder::afterUpToDateCheck"),e.projectStatus.set(n,l),l}function g4e(e,t,n,s,l){if(t.options.noEmit)return;let f;const d=y1(t.options);if(d){l!=null&&l.has(ap(e,d))||(e.options.verbose&&Yf(e,s,t.options.configFilePath),e.host.setModifiedTime(d,f=P9(e.host)),lae(e,d,n).modifiedTime=f),e.outputTimeStamps.delete(n);return}const{host:g}=e,h=Pz(t,!g.useCaseSensitiveFileNames()),k=oae(e,n),T=k?new Set:void 0;if(!l||h.length!==l.size){let C=!!e.options.verbose;for(const D of h){const O=ap(e,D);l!=null&&l.has(O)||(C&&(C=!1,Yf(e,s,t.options.configFilePath)),g.setModifiedTime(D,f||(f=P9(e.host))),k&&(k.set(O,f),T.add(O)))}}k==null||k.forEach((C,D)=>{!(l!=null&&l.has(D))&&!T.has(D)&&k.delete(D)})}function lnt(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(ua(s.buildInfo.program.latestChangedDtsFile,cs(s.path))):void 0;return s.latestChangedDtsTime=l||!1,l}function y4e(e,t,n){if(e.options.dry)return Yf(e,v.A_non_dry_build_would_update_timestamps_for_output_of_project_0,t.options.configFilePath);g4e(e,t,n,v.Updating_output_timestamps_of_project_0),e.projectStatus.set(n,{type:1,oldestOutputFileName:Zie(t,!e.host.useCaseSensitiveFileNames())})}function unt(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=Bm(e,h);if(e.projectPendingBuild.has(k))continue;const T=uk(e,h,k);if(!(!T||!T.projectReferences))for(const C of T.projectReferences){const D=aA(e,C.path);if(Bm(e,D)!==n)continue;const O=e.projectStatus.get(k);if(O)switch(O.type){case 1:if(d&2){C.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:Bm(e,aA(e,O.upstreamProjectName))===n&&o4e(e,k);break}c4e(e,k,0);break}}}function v4e(e,t,n,s,l,f){vc("SolutionBuilder::beforeBuild");const d=fnt(e,t,n,s,l,f);return vc("SolutionBuilder::afterBuild"),xp("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),d}function fnt(e,t,n,s,l,f){const d=s4e(e,t,f);if(!d)return 3;l4e(e,n);let g=!0,h=0;for(;;){const k=iae(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 nae(e),E4e(e,d),mnt(e,d),Gw(d)?4:d.some(k=>e.diagnostics.has(Bm(e,k)))?h?2:1:0}function b4e(e,t,n){vc("SolutionBuilder::beforeClean");const s=_nt(e,t,n);return vc("SolutionBuilder::afterClean"),xp("SolutionBuilder::Clean","SolutionBuilder::beforeClean","SolutionBuilder::afterClean"),s}function _nt(e,t,n){const s=s4e(e,t,n);if(!s)return 3;if(Gw(s))return I9(e,s.circularDiagnostics),4;const{options:l,host:f}=e,d=l.dry?[]:void 0;for(const g of s){const h=Bm(e,g),k=uk(e,g,h);if(k===void 0){w4e(e,h);continue}const T=Pz(k,!f.useCaseSensitiveFileNames());if(!T.length)continue;const C=new Set(k.fileNames.map(D=>ap(e,D)));for(const D of T)C.has(ap(e,D))||f.fileExists(D)&&(d?d.push(D):(f.deleteFile(D),_ae(e,h,0)))}return d&&Yf(e,v.A_non_dry_build_would_delete_the_following_files_Colon_0,d.map(g=>`\r
* ${g}`).join("")),0}function _ae(e,t,n){e.host.getParsedCommandLine&&n===1&&(n=2),n===2&&(e.configFileCache.delete(t),e.buildOrder=void 0),e.needsSummary=!0,o4e(e,t),c4e(e,t,n),a4e(e)}function N9(e,t,n){e.reportFileChangeDetected=!0,_ae(e,t,n),T4e(e,250,!0)}function T4e(e,t,n){const{hostWithWatch:s}=e;!s.setTimeout||!s.clearTimeout||(e.timerToBuildInvalidatedProject&&s.clearTimeout(e.timerToBuildInvalidatedProject),e.timerToBuildInvalidatedProject=s.setTimeout(pnt,t,"timerToBuildInvalidatedProject",e,n))}function pnt(e,t,n){vc("SolutionBuilder::beforeBuild");const s=dnt(t,n);vc("SolutionBuilder::afterBuild"),xp("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),s&&E4e(t,s)}function dnt(e,t){e.timerToBuildInvalidatedProject=void 0,e.reportFileChangeDetected&&(e.reportFileChangeDetected=!1,e.projectErrorsReported.clear(),mae(e,v.File_change_detected_Starting_incremental_compilation));let n=0;const s=D9(e),l=iae(e,s,!1);if(l)for(l.done(),n++;e.projectPendingBuild.size;){if(e.timerToBuildInvalidatedProject)return;const f=_4e(e,s,!1);if(!f)break;if(f.kind!==2&&(t||n===5)){T4e(e,100,!1);return}p4e(e,f,s).done(),f.kind!==2&&n++}return nae(e),s}function S4e(e,t,n,s){!e.watch||e.allWatchedConfigFiles.has(n)||e.allWatchedConfigFiles.set(n,iV(e,t,()=>N9(e,n,2),2e3,s==null?void 0:s.watchOptions,Fd.ConfigFile,t))}function x4e(e,t,n){rse(t,n==null?void 0:n.options,e.allWatchedExtendedConfigFiles,(s,l)=>iV(e,s,()=>{var f;return(f=e.allWatchedExtendedConfigFiles.get(l))==null?void 0:f.projects.forEach(d=>N9(e,d,2))},2e3,n==null?void 0:n.watchOptions,Fd.ExtendedConfigFile),s=>ap(e,s))}function k4e(e,t,n,s){e.watch&&Oz(rae(e.allWatchedWildcardDirectories,n),new Map(Object.entries(s.wildcardDirectories)),(l,f)=>e.watchDirectory(l,d=>{var g;Lz({watchedDirPath:ap(e,l),fileOrDirectory:d,fileOrDirectoryPath:ap(e,d),configFileName:t,currentDirectory:e.compilerHost.getCurrentDirectory(),options:s.options,program:e.builderPrograms.get(n)||((g=rnt(e,n))==null?void 0:g.fileNames),useCaseSensitiveFileNames:e.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:h=>e.writeLog(h),toPath:h=>ap(e,h)})||N9(e,n,1)},f,s==null?void 0:s.watchOptions,Fd.WildcardDirectory,t))}function pae(e,t,n,s){e.watch&&b4(rae(e.allWatchedInputFiles,n),gT(s.fileNames,l=>ap(e,l)),{createNewValue:(l,f)=>iV(e,f,()=>N9(e,n,0),250,s==null?void 0:s.watchOptions,Fd.SourceFile,t),onDeleteValue:ig})}function dae(e,t,n,s){!e.watch||!e.lastCachedPackageJsonLookups||b4(rae(e.allWatchedPackageJsonFiles,n),new Map(e.lastCachedPackageJsonLookups.get(n)),{createNewValue:(l,f)=>iV(e,l,()=>N9(e,n,0),2e3,s==null?void 0:s.watchOptions,Fd.PackageJson,t),onDeleteValue:ig})}function mnt(e,t){if(e.watchAllProjectsPending){vc("SolutionBuilder::beforeWatcherCreation"),e.watchAllProjectsPending=!1;for(const n of rV(t)){const s=Bm(e,n),l=uk(e,n,s);S4e(e,n,s,l),x4e(e,s,l),l&&(k4e(e,n,s,l),pae(e,n,s,l),dae(e,n,s,l))}vc("SolutionBuilder::afterWatcherCreation"),xp("SolutionBuilder::Watcher creation","SolutionBuilder::beforeWatcherCreation","SolutionBuilder::afterWatcherCreation")}}function hnt(e){dd(e.allWatchedConfigFiles,ig),dd(e.allWatchedExtendedConfigFiles,pg),dd(e.allWatchedWildcardDirectories,t=>dd(t,pg)),dd(e.allWatchedInputFiles,t=>dd(t,ig)),dd(e.allWatchedPackageJsonFiles,t=>dd(t,ig))}function C4e(e,t,n,s,l){const f=tnt(e,t,n,s,l);return{build:(d,g,h,k)=>v4e(f,d,g,h,k),clean:d=>b4e(f,d),buildReferences:(d,g,h,k)=>v4e(f,d,g,h,k,!0),cleanReferences:d=>b4e(f,d,!0),getNextInvalidatedProject:d=>(l4e(f,d),iae(f,D9(f),!1)),getBuildOrder:()=>D9(f),getUpToDateStatusOfProject:d=>{const g=aA(f,d),h=Bm(f,g);return fae(f,uk(f,g,h),h)},invalidateProject:(d,g)=>_ae(f,d,g||0),close:()=>hnt(f)}}function xu(e,t){return sP(t,e.compilerHost.getCurrentDirectory(),e.compilerHost.getCanonicalFileName)}function Yf(e,t,...n){e.host.reportSolutionBuilderStatus(Cl(t,...n))}function mae(e,t,...n){var s,l;(l=(s=e.hostWithWatch).onWatchStatusChange)==null||l.call(s,Cl(t,...n),e.host.getNewLine(),e.baseCompilerOptions)}function I9({host:e},t){t.forEach(n=>e.reportDiagnostic(n))}function oA(e,t,n){I9(e,n),e.projectErrorsReported.set(t,!0),n.length&&e.diagnostics.set(t,n)}function w4e(e,t){oA(e,t,[e.configFileCache.get(t)])}function E4e(e,t){if(!e.needsSummary)return;e.needsSummary=!1;const n=e.watch||!!e.host.reportErrorSummary,{diagnostics:s}=e;let l=0,f=[];Gw(t)?(A4e(e,t.buildOrder),I9(e,t.circularDiagnostics),n&&(l+=Xz(t.circularDiagnostics)),n&&(f=[...f,...Qz(t.circularDiagnostics)])):(t.forEach(d=>{const g=Bm(e,d);e.projectErrorsReported.has(g)||I9(e,s.get(g)||ft)}),n&&s.forEach(d=>l+=Xz(d)),n&&s.forEach(d=>[...f,...Qz(d)])),e.watch?mae(e,zse(l),l):e.host.reportErrorSummary&&e.host.reportErrorSummary(l,f)}function A4e(e,t){e.options.verbose&&Yf(e,v.Projects_in_this_build_Colon_0,t.map(n=>`\r
* `+xu(e,n)).join(""))}function gnt(e,t,n){switch(n.type){case 6:return Yf(e,v.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,xu(e,t),xu(e,n.outOfDateOutputFileName),xu(e,n.newerInputFileName));case 7:return Yf(e,v.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,xu(e,t),xu(e,n.outOfDateOutputFileName),xu(e,n.newerProjectName));case 4:return Yf(e,v.Project_0_is_out_of_date_because_output_file_1_does_not_exist,xu(e,t),xu(e,n.missingOutputFileName));case 5:return Yf(e,v.Project_0_is_out_of_date_because_there_was_error_reading_file_1,xu(e,t),xu(e,n.fileName));case 8:return Yf(e,v.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted,xu(e,t),xu(e,n.buildInfoFile));case 9:return Yf(e,v.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions,xu(e,t),xu(e,n.buildInfoFile));case 10:return Yf(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,xu(e,t),xu(e,n.buildInfoFile),xu(e,n.inputFile));case 1:if(n.newestInputFileTime!==void 0)return Yf(e,v.Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2,xu(e,t),xu(e,n.newestInputFileName||""),xu(e,n.oldestOutputFileName||""));break;case 3:return Yf(e,v.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,xu(e,t),xu(e,n.newerProjectName));case 2:return Yf(e,v.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,xu(e,t));case 15:return Yf(e,v.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files,xu(e,t));case 11:return Yf(e,v.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,xu(e,t),xu(e,n.upstreamProjectName));case 12:return Yf(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,xu(e,t),xu(e,n.upstreamProjectName));case 0:return Yf(e,v.Failed_to_parse_file_0_Colon_1,xu(e,t),n.reason);case 14:return Yf(e,v.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,xu(e,t),n.version,N);case 17:return Yf(e,v.Project_0_is_being_forcibly_rebuilt,xu(e,t))}}function sV(e,t,n){e.options.verbose&&gnt(e,t,n)}var P4e,D4e,hae,ynt=p({"src/compiler/tsbuildPublic.ts"(){Ba(),TT(),P4e=new Date(-864e13),D4e=new Date(864e13),hae=(e=>(e[e.Build=0]="Build",e[e.UpdateBundle=1]="UpdateBundle",e[e.UpdateOutputFileStamps=2]="UpdateOutputFileStamps",e))(hae||{})}}),Ba=p({"src/compiler/_namespaces/ts.ts"(){z(),QGe(),YGe(),oXe(),uXe(),fXe(),SXe(),ube(),OXe(),JXe(),UXe(),WXe(),pQe(),IYe(),OYe(),LYe(),MYe(),HYe(),YYe(),ZYe(),dZe(),HZe(),GZe(),sKe(),OKe(),cet(),met(),het(),Aet(),Let(),Vet(),Qet(),ltt(),utt(),ftt(),gtt(),ytt(),vtt(),btt(),Ttt(),Stt(),xtt(),ktt(),Ctt(),wtt(),Ett(),Att(),Ptt(),Dtt(),Itt(),Ott(),Ltt(),Mtt(),Ftt(),Rtt(),Vtt(),Xtt(),art(),lrt(),mrt(),hrt(),grt(),Ort(),Frt(),jrt(),$rt(),Hrt(),Grt(),ynt(),gie(),TT()}});function N4e(e,t){return new Em(iI(t,`ts${A}`)||iI(t,"latest")).compareTo(e.version)<=0}function I4e(e){return Tae.has(e)?"node":e}function vnt(e,t){const n=JO(t,s=>e.readFile(s));return new Map(Object.entries(n.config))}function bnt(e,t){var n;const s=JO(t,l=>e.readFile(l));if((n=s.config)!=null&&n.simpleMap)return new Map(Object.entries(s.config.simpleMap))}function Tnt(e,t,n,s,l,f,d,g,h,k){if(!d||!d.enable)return{cachedTypingPaths:[],newTypingNames:[],filesToWatch:[]};const T=new Map;n=lr(n,fe=>{const Q=So(fe);if(zT(Q))return Q});const C=[];d.include&&H(d.include,"Explicitly included types");const D=d.exclude||[];if(!k.types){const fe=new Set(n.map(cs));fe.add(s),fe.forEach(Q=>{Y(Q,"bower.json","bower_components",C),Y(Q,"package.json","node_modules",C)})}if(d.disableFilenameBasedTypeAcquisition||Z(n),g){const fe=Ds(g.map(I4e),VC,zf);H(fe,"Inferred typings from unresolved imports")}f.forEach((fe,Q)=>{const he=h.get(Q);T.has(Q)&&T.get(Q)===void 0&&he!==void 0&&N4e(fe,he)&&T.set(Q,fe.typingLocation)});for(const fe of D)T.delete(fe)&&t&&t(`Typing for ${fe} is in exclude list, will be ignored.`);const O=[],M=[];T.forEach((fe,Q)=>{fe!==void 0?M.push(fe):O.push(Q)});const U={cachedTypingPaths:M,newTypingNames:O,filesToWatch:C};return t&&t(`Result: ${JSON.stringify(U)}`),U;function B(fe){T.has(fe)||T.set(fe,void 0)}function H(fe,Q){t&&t(`${Q}: ${JSON.stringify(fe)}`),te(fe,B)}function Y(fe,Q,he,W){const ye=vs(fe,Q);let de,Ce;e.fileExists(ye)&&(W.push(ye),de=JO(ye,xe=>e.readFile(xe)).config,Ce=ln([de.dependencies,de.devDependencies,de.optionalDependencies,de.peerDependencies],Jy),H(Ce,`Typing names in '${ye}' dependencies`));const K=vs(fe,he);if(W.push(K),!e.directoryExists(K))return;const ce=[],le=Ce?Ce.map(xe=>vs(K,xe,Q)):e.readDirectory(K,[".json"],void 0,void 0,3).filter(xe=>{if(Xu(xe)!==Q)return!1;const we=Ou(So(xe)),Ie=we[we.length-3][0]==="@";return Ie&&wm(we[we.length-4])===he||!Ie&&wm(we[we.length-3])===he});t&&t(`Searching for typing names in ${K}; all files: ${JSON.stringify(le)}`);for(const xe of le){const we=So(xe),ue=JO(we,Ge=>e.readFile(Ge)).config;if(!ue.name)continue;const ut=ue.types||ue.typings;if(ut){const Ge=ua(ut,cs(we));e.fileExists(Ge)?(t&&t(` Package '${ue.name}' provides its own types.`),T.set(ue.name,Ge)):t&&t(` Package '${ue.name}' provides its own types but they are missing.`)}else ce.push(ue.name)}H(ce," Found package names")}function Z(fe){const Q=lr(fe,W=>{if(!zT(W))return;const ye=R_(wm(Xu(W))),de=Rve(ye);return l.get(de)});Q.length&&H(Q,"Inferred typings from file names"),Ne(fe,W=>Vl(W,".jsx"))&&(t&&t("Inferred 'react' typings due to presence of '.jsx' extension"),B("react"))}}function Snt(e){return gae(e,!0)}function gae(e,t){if(!e)return 1;if(e.length>xae)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=gae(n[1],!1);if(s!==0)return{name:n[1],isScopeName:!0,result:s};const l=gae(n[2],!1);return l!==0?{name:n[2],isScopeName:!1,result:l}:0}}return encodeURIComponent(e)!==e?5:0}function xnt(e,t){return typeof e=="object"?O4e(t,e.result,e.name,e.isScopeName):O4e(t,e,t,!1)}function O4e(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 ${xae} 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:R.assertNever(t)}}var yae,vae,bae,Tae,Sae,xae,knt=p({"src/jsTyping/jsTyping.ts"(){aV(),yae=["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"],vae=yae.map(e=>`node:${e}`),bae=[...yae,...vae],Tae=new Set(bae),Sae=(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))(Sae||{}),xae=214}}),fk={};S(fk,{NameValidationResult:()=>Sae,discoverTypings:()=>Tnt,isTypingUpToDate:()=>N4e,loadSafeList:()=>vnt,loadTypesMap:()=>bnt,nodeCoreModuleList:()=>bae,nodeCoreModules:()=>Tae,nonRelativeModuleNameForTypingCache:()=>I4e,prefixedNodeCoreModuleList:()=>vae,renderPackageNameValidationFailure:()=>xnt,validatePackageName:()=>Snt});var Cnt=p({"src/jsTyping/_namespaces/ts.JsTyping.ts"(){knt()}});function wnt(e){return Gu.args.indexOf(e)>=0}function Ent(e){const t=Gu.args.indexOf(e);return t>=0&&t<Gu.args.length-1?Gu.args[t+1]:void 0}function Ant(){const e=new Date;return`${vx(e.getHours().toString(),2,"0")}:${vx(e.getMinutes().toString(),2,"0")}:${vx(e.getSeconds().toString(),2,"0")}.${vx(e.getMilliseconds().toString(),3,"0")}`}var L4e,M4e,F4e,R4e,B4e,j4e,J4e,U4e,kae,Pnt=p({"src/jsTyping/shared.ts"(){aV(),L4e="action::set",M4e="action::invalidate",F4e="action::packageInstalled",R4e="event::typesRegistry",B4e="event::beginInstallTypes",j4e="event::endInstallTypes",J4e="event::initializationFailed",U4e="action::watchTypingLocations",(e=>{e.GlobalCacheLocation="--globalTypingsCacheLocation",e.LogFile="--logFile",e.EnableTelemetry="--enableTelemetry",e.TypingSafeListLocation="--typingSafeListLocation",e.TypesMapLocation="--typesMapLocation",e.NpmLocation="--npmLocation",e.ValidateDefaultNpmLocation="--validateDefaultNpmLocation"})(kae||(kae={}))}}),Dnt=p({"src/jsTyping/types.ts"(){}}),z4e={};S(z4e,{ActionInvalidate:()=>M4e,ActionPackageInstalled:()=>F4e,ActionSet:()=>L4e,ActionWatchTypingLocations:()=>U4e,Arguments:()=>kae,EventBeginInstallTypes:()=>B4e,EventEndInstallTypes:()=>j4e,EventInitializationFailed:()=>J4e,EventTypesRegistry:()=>R4e,findArgument:()=>Ent,hasArgument:()=>wnt,nowString:()=>Ant});var Nnt=p({"src/jsTyping/_namespaces/ts.server.ts"(){Pnt(),Dnt()}}),aV=p({"src/jsTyping/_namespaces/ts.ts"(){Ba(),Cnt(),Nnt()}});function V4e(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,indentSwitchCase:!0}}var Cae,wae,Eae,Aae,Rd,Pae,Dae,Nae,Iae,Oae,Lae,Mae,$4e,O9,Fae,Rae,Bae,jae,Jae,Uae,zae,Vae,$ae,Int=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})(Cae||(Cae={})),wae=(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))(wae||{}),Eae=(e=>(e[e.Off=0]="Off",e[e.On=1]="On",e[e.Auto=2]="Auto",e))(Eae||{}),Aae=(e=>(e[e.Semantic=0]="Semantic",e[e.PartialSemantic=1]="PartialSemantic",e[e.Syntactic=2]="Syntactic",e))(Aae||{}),Rd={},Pae=(e=>(e.Original="original",e.TwentyTwenty="2020",e))(Pae||{}),Dae=(e=>(e.All="All",e.SortAndCombine="SortAndCombine",e.RemoveUnused="RemoveUnused",e))(Dae||{}),Nae=(e=>(e[e.Invoked=1]="Invoked",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",e))(Nae||{}),Iae=(e=>(e.Type="Type",e.Parameter="Parameter",e.Enum="Enum",e))(Iae||{}),Oae=(e=>(e.none="none",e.definition="definition",e.reference="reference",e.writtenReference="writtenReference",e))(Oae||{}),Lae=(e=>(e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart",e))(Lae||{}),Mae=(e=>(e.Ignore="ignore",e.Insert="insert",e.Remove="remove",e))(Mae||{}),$4e=V4e(`
`),O9=(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))(O9||{}),Fae=(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))(Fae||{}),Rae=(e=>(e.Comment="comment",e.Region="region",e.Code="code",e.Imports="imports",e))(Rae||{}),Bae=(e=>(e[e.JavaScript=0]="JavaScript",e[e.SourceMap=1]="SourceMap",e[e.Declaration=2]="Declaration",e))(Bae||{}),jae=(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))(jae||{}),Jae=(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))(Jae||{}),Uae=(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))(Uae||{}),zae=(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))(zae||{}),Vae=(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))(Vae||{}),$ae=(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))($ae||{})}});function L9(e){switch(e.kind){case 259:return Mn(e)&&FK(e)?7:1;case 168:case 207:case 171:case 170:case 302:case 303:case 173:case 172:case 175:case 176:case 177:case 261:case 217:case 218:case 298:case 290:return 1;case 167:case 263:case 264:case 186:return 2;case 352:return e.name===void 0?3:2;case 305:case 262:return 3;case 266:return $f(e)||i0(e)===1?5:4;case 265:case 274:case 275:case 270:case 271:case 276:case 277:return 7;case 311:return 5}return 7}function _k(e){e=roe(e);const t=e.parent;return e.kind===311?1:Pl(t)||T_(t)||fg(t)||J_(t)||ug(t)||cf(t)&&e===t.name?7:oV(e)?Ont(e):Yy(e)?L9(t):wp(e)&&mn(e,Wh(AD,tw,a2))?7:Rnt(e)?2:Lnt(e)?4:qc(t)?(R.assert(Rm(t.parent)),2):n2(t)?3:1}function Ont(e){const t=e.kind===165?e:B_(e.parent)&&e.parent.right===e?e.parent:void 0;return t&&t.parent.kind===270?7:4}function oV(e){for(;e.parent.kind===165;)e=e.parent;return i4(e.parent)&&e.parent.moduleReference===e}function Lnt(e){return Mnt(e)||Fnt(e)}function Mnt(e){let t=e,n=!0;if(t.parent.kind===165){for(;t.parent&&t.parent.kind===165;)t=t.parent;n=t.right===e}return t.parent.kind===182&&!n}function Fnt(e){let t=e,n=!0;if(t.parent.kind===210){for(;t.parent&&t.parent.kind===210;)t=t.parent;n=t.name===e}if(!n&&t.parent.kind===232&&t.parent.parent.kind===297){const s=t.parent.parent.parent;return s.kind===262&&t.parent.parent.token===119||s.kind===263&&t.parent.parent.token===96}return!1}function Rnt(e){switch(zP(e)&&(e=e.parent),e.kind){case 110:return!Xy(e);case 196:return!0}switch(e.parent.kind){case 182:return!0;case 204:return!e.parent.isTypeOf;case 232:return Gg(e.parent)}return!1}function qae(e,t=!1,n=!1){return e8(e,Ra,cV,t,n)}function KD(e,t=!1,n=!1){return e8(e,HT,cV,t,n)}function Wae(e,t=!1,n=!1){return e8(e,Wg,cV,t,n)}function q4e(e,t=!1,n=!1){return e8(e,Hx,Bnt,t,n)}function W4e(e,t=!1,n=!1){return e8(e,xf,cV,t,n)}function H4e(e,t=!1,n=!1){return e8(e,a_,jnt,t,n)}function cV(e){return e.expression}function Bnt(e){return e.tag}function jnt(e){return e.tagName}function e8(e,t,n,s,l){let f=s?G4e(e):lV(e);return l&&(f=lf(f)),!!f&&!!f.parent&&t(f.parent)&&n(f.parent)===f}function lV(e){return cA(e)?e.parent:e}function G4e(e){return cA(e)||Qae(e)?e.parent:e}function uV(e,t){for(;e;){if(e.kind===255&&e.label.escapedText===t)return e.label;e=e.parent}}function M9(e,t){return ai(e.expression)?e.expression.name.text===t:!1}function F9(e){var t;return He(e)&&((t=wi(e.parent,mP))==null?void 0:t.label)===e}function Hae(e){var t;return He(e)&&((t=wi(e.parent,GT))==null?void 0:t.label)===e}function Gae(e){return Hae(e)||F9(e)}function Xae(e){var t;return((t=wi(e.parent,q6))==null?void 0:t.tagName)===e}function X4e(e){var t;return((t=wi(e.parent,B_))==null?void 0:t.right)===e}function cA(e){var t;return((t=wi(e.parent,ai))==null?void 0:t.name)===e}function Qae(e){var t;return((t=wi(e.parent,Pc))==null?void 0:t.argumentExpression)===e}function Yae(e){var t;return((t=wi(e.parent,Al))==null?void 0:t.name)===e}function Zae(e){var t;return He(e)&&((t=wi(e.parent,Sa))==null?void 0:t.name)===e}function fV(e){switch(e.parent.kind){case 171:case 170:case 302:case 305:case 173:case 172:case 176:case 177:case 266:return ia(e.parent)===e;case 211:return e.parent.argumentExpression===e;case 166:return!0;case 200:return e.parent.parent.kind===198;default:return!1}}function Q4e(e){return Gb(e.parent.parent)&&AP(e.parent.parent)===e}function pk(e){for(Id(e)&&(e=e.parent.parent);;){if(e=e.parent,!e)return;switch(e.kind){case 311:case 173:case 172:case 261:case 217:case 176:case 177:case 262:case 263:case 265:case 266:return e}}}function lS(e){switch(e.kind){case 311:return Ul(e)?"module":"script";case 266:return"module";case 262:case 230:return"class";case 263:return"interface";case 264:case 344:case 352:return"type";case 265:return"enum";case 259:return t(e);case 207:return t(tg(e));case 218:case 261:case 217:return"function";case 176:return"getter";case 177:return"setter";case 173:case 172:return"method";case 302:const{initializer:n}=e;return Sa(n)?"method":"property";case 171:case 170:case 303:case 304:return"property";case 180:return"index";case 179:return"construct";case 178:return"call";case 175:case 174:return"constructor";case 167:return"type parameter";case 305:return"enum member";case 168:return gi(e,16476)?"property":"parameter";case 270:case 275:case 280:case 273:case 279:return"alias";case 225:const s=dl(e),{right:l}=e;switch(s){case 7:case 8:case 9:case 0:return"";case 1:case 2:const d=lS(l);return d===""?"const":d;case 3:return _c(l)?"method":"property";case 4:return"property";case 5:return _c(l)?"method":"property";case 6:return"local class";default:return""}case 80:return ug(e.parent)?"alias":"";case 276:const f=lS(e.expression);return f===""?"const":f;default:return""}function t(n){return Gy(n)?"const":CP(n)?"let":"var"}}function lA(e){switch(e.kind){case 110:return!0;case 80:return lte(e)&&e.parent.kind===168;default:return!1}}function Bd(e,t){const n=Vy(t),s=t.getLineAndCharacterOfPosition(e).line;return n[s]}function Mp(e,t){return Kae(e.pos,e.end,t)}function Y4e(e,t){return B9(e,t.pos)&&B9(e,t.end)}function R9(e,t){return e.pos<=t&&t<=e.end}function B9(e,t){return e.pos<t&&t<e.end}function Kae(e,t,n){return e<=n.pos&&t>=n.end}function j9(e,t,n){return e.pos<=t&&e.end>=n}function t8(e,t,n){return _V(e.pos,e.end,t,n)}function eoe(e,t,n,s){return _V(e.getStart(t),e.end,n,s)}function _V(e,t,n,s){const l=Math.max(e,n),f=Math.min(t,s);return l<f}function toe(e,t,n){return R.assert(e.pos<=t),t<e.end||!lm(e,n)}function lm(e,t){if(e===void 0||pl(e))return!1;switch(e.kind){case 262:case 263:case 265:case 209:case 205:case 186:case 240:case 267:case 268:case 274:case 278:return pV(e,20,t);case 298:return lm(e.block,t);case 213:if(!e.arguments)return!0;case 212:case 216:case 195:return pV(e,22,t);case 183:case 184:return lm(e.type,t);case 175:case 176:case 177:case 261:case 217:case 173:case 172:case 179:case 178:case 218:return e.body?lm(e.body,t):e.type?lm(e.type,t):J9(e,22,t);case 266:return!!e.body&&lm(e.body,t);case 244:return e.elseStatement?lm(e.elseStatement,t):lm(e.thenStatement,t);case 243:return lm(e.expression,t)||J9(e,27,t);case 208:case 206:case 211:case 166:case 188:return pV(e,24,t);case 180:return e.type?lm(e.type,t):J9(e,24,t);case 295:case 296:return!1;case 247:case 248:case 249:case 246:return lm(e.statement,t);case 245:return J9(e,117,t)?pV(e,22,t):lm(e.statement,t);case 185:return lm(e.exprName,t);case 220:case 219:case 221:case 228:case 229:return lm(e.expression,t);case 214:return lm(e.template,t);case 227:const s=Bc(e.templateSpans);return lm(s,t);case 238:return Pd(e.literal);case 277:case 271:return Pd(e.moduleSpecifier);case 223:return lm(e.operand,t);case 225:return lm(e.right,t);case 226:return lm(e.whenFalse,t);default:return!0}}function pV(e,t,n){const s=e.getChildren(n);if(s.length){const l=To(s);if(l.kind===t)return!0;if(l.kind===27&&s.length!==1)return s[s.length-2].kind===t}return!1}function Z4e(e){const t=dV(e);if(!t)return;const n=t.getChildren();return{listItemIndex:X6(n,e),list:t}}function J9(e,t,n){return!!Go(e,t,n)}function Go(e,t,n){return Ve(e.getChildren(n),s=>s.kind===t)}function dV(e){const t=Ve(e.parent.getChildren(),n=>$4(n)&&Mp(n,e));return R.assert(!t||kt(t.getChildren(),e)),t}function K4e(e){return e.kind===90}function Jnt(e){return e.kind===86}function Unt(e){return e.kind===100}function znt(e){if(bf(e))return e.name;if(Su(e)){const t=e.modifiers&&Ve(e.modifiers,K4e);if(t)return t}if(Gf(e)){const t=Ve(e.getChildren(),Jnt);if(t)return t}}function Vnt(e){if(bf(e))return e.name;if(au(e)){const t=Ve(e.modifiers,K4e);if(t)return t}if(_c(e)){const t=Ve(e.getChildren(),Unt);if(t)return t}}function $nt(e){let t;return mn(e,n=>(ys(n)&&(t=n),!B_(n.parent)&&!ys(n.parent)&&!wx(n.parent))),t}function mV(e,t){if(e.flags&8388608)return;const n=OV(e,t);if(n)return n;const s=$nt(e);return s&&t.getTypeAtLocation(s)}function qnt(e,t){if(!t)switch(e.kind){case 262:case 230:return znt(e);case 261:case 217:return Vnt(e);case 175:return e}if(bf(e))return e.name}function eAe(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(d1(e.importClause.namedBindings)){const n=$h(e.importClause.namedBindings.elements);return n?n.name:void 0}else if(Mv(e.importClause.namedBindings))return e.importClause.namedBindings.name}}if(!t)return e.moduleSpecifier}function tAe(e,t){if(e.exportClause){if(im(e.exportClause))return $h(e.exportClause.elements)?e.exportClause.elements[0].name:void 0;if(ny(e.exportClause))return e.exportClause.name}if(!t)return e.moduleSpecifier}function Wnt(e){if(e.types.length===1)return e.types[0].expression}function rAe(e,t){const{parent:n}=e;if(Ha(e)&&(t||e.kind!==90)?am(n)&&kt(n.modifiers,e):e.kind===86?Su(n)||Gf(e):e.kind===100?au(n)||_c(e):e.kind===120?Xf(n):e.kind===94?s2(n):e.kind===156?Mm(n):e.kind===145||e.kind===144?Al(n):e.kind===102?cf(n):e.kind===139?nm(n):e.kind===153&&md(n)){const s=qnt(n,t);if(s)return s}if((e.kind===115||e.kind===87||e.kind===121)&&Tu(n)&&n.declarations.length===1){const s=n.declarations[0];if(He(s.name))return s.name}if(e.kind===156){if(ug(n)&&n.isTypeOnly){const s=eAe(n.parent,t);if(s)return s}if(Ju(n)&&n.isTypeOnly){const s=tAe(n,t);if(s)return s}}if(e.kind===130){if(J_(n)&&n.propertyName||T_(n)&&n.propertyName||Mv(n)||ny(n))return n.name;if(Ju(n)&&n.exportClause&&ny(n.exportClause))return n.exportClause.name}if(e.kind===102&&ju(n)){const s=eAe(n,t);if(s)return s}if(e.kind===95){if(Ju(n)){const s=tAe(n,t);if(s)return s}if(Pl(n))return lf(n.expression)}if(e.kind===149&&fg(n))return n.expression;if(e.kind===160&&(ju(n)||Ju(n))&&n.moduleSpecifier)return n.moduleSpecifier;if((e.kind===96||e.kind===119)&&sp(n)&&n.token===e.kind){const s=Wnt(n);if(s)return s}if(e.kind===96){if(qc(n)&&n.constraint&&Im(n.constraint))return n.constraint.typeName;if(M4(n)&&Im(n.extendsType))return n.extendsType.typeName}if(e.kind===140&&Pw(n))return n.typeParameter.name;if(e.kind===103&&qc(n)&&TD(n.parent))return n.name;if(e.kind===143&&Nw(n)&&n.operator===143&&Im(n.type))return n.type.typeName;if(e.kind===148&&Nw(n)&&n.operator===148&&Rre(n.type)&&Im(n.type.elementType))return n.type.elementType.typeName;if(!t){if((e.kind===105&&HT(n)||e.kind===116&&Lw(n)||e.kind===114&&F4(n)||e.kind===135&&R4(n)||e.kind===127&&gU(n)||e.kind===91&&Yxe(n))&&n.expression)return lf(n.expression);if((e.kind===103||e.kind===104)&&Bn(n)&&n.operatorToken===e)return lf(n.right);if(e.kind===130&&vO(n)&&Im(n.type))return n.type.typeName;if(e.kind===103&&zre(n)||e.kind===164&&bO(n))return lf(n.expression)}return e}function roe(e){return rAe(e,!1)}function hV(e){return rAe(e,!0)}function Qp(e,t){return r8(e,t,n=>Kd(n)||b_(n.kind)||fs(n))}function r8(e,t,n){return nAe(e,t,!1,n,!1)}function Os(e,t){return nAe(e,t,!0,void 0,!1)}function nAe(e,t,n,s,l){let f=e,d;e:for(;;){const h=f.getChildren(e),k=JC(h,t,(T,C)=>C,(T,C)=>{const D=h[T].getEnd();if(D<t)return-1;const O=n?h[T].getFullStart():h[T].getStart(e,!0);return O>t?1:g(h[T],O,D)?h[T-1]&&g(h[T-1])?1:0:s&&O===t&&h[T-1]&&h[T-1].getEnd()===t&&g(h[T-1])?1:-1});if(d)return d;if(k>=0&&h[k]){f=h[k];continue e}return f}function g(h,k,T){if(T??(T=h.getEnd()),T<t||(k??(k=n?h.getFullStart():h.getStart(e,!0)),k>t))return!1;if(t<T||t===T&&(h.kind===1||l))return!0;if(s&&T===t){const C=ou(t,e,h);if(C&&s(C))return d=C,!0}return!1}}function iAe(e,t){let n=Os(e,t);for(;U9(n);){const s=dk(n,n.parent,e);if(!s)return;n=s}return n}function gV(e,t){const n=Os(e,t);return YC(n)&&t>n.getStart(e)&&t<n.getEnd()?n:ou(t,e)}function dk(e,t,n){return s(t);function s(l){return YC(l)&&l.pos===e.end?l:$e(l.getChildren(n),f=>(f.pos<=e.pos&&f.end>e.end||f.pos===e.end)&&coe(f,n)?s(f):void 0)}}function ou(e,t,n,s){const l=f(n||t);return R.assert(!(l&&U9(l))),l;function f(d){if(sAe(d)&&d.kind!==1)return d;const g=d.getChildren(t),h=JC(g,e,(T,C)=>C,(T,C)=>e<g[T].end?!g[T-1]||e>=g[T-1].end?0:1:-1);if(h>=0&&g[h]){const T=g[h];if(e<T.end)if(T.getStart(t,!s)>=e||!coe(T,t)||U9(T)){const O=ioe(g,h,t,d.kind);return O?!s&&fj(O)&&O.getChildren(t).length?f(O):noe(O,t):void 0}else return f(T)}R.assert(n!==void 0||d.kind===311||d.kind===1||fj(d));const k=ioe(g,g.length,t,d.kind);return k&&noe(k,t)}}function sAe(e){return YC(e)&&!U9(e)}function noe(e,t){if(sAe(e))return e;const n=e.getChildren(t);if(n.length===0)return e;const s=ioe(n,n.length,t,e.kind);return s&&noe(s,t)}function ioe(e,t,n,s){for(let l=t-1;l>=0;l--){const f=e[l];if(U9(f))l===0&&(s===12||s===284)&&R.fail("`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(coe(e[l],n))return e[l]}}function mk(e,t,n=ou(t,e)){if(n&&qK(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 aAe(e,t){const n=Os(e,t);return n?!!(n.kind===12||n.kind===30&&n.parent.kind===12||n.kind===30&&n.parent.kind===293||n&&n.kind===20&&n.parent.kind===293||n.kind===30&&n.parent.kind===286):!1}function U9(e){return Cw(e)&&e.containsOnlyTriviaWhiteSpaces}function soe(e,t){const n=Os(e,t);return Sv(n.kind)&&t>n.getStart(e)}function oAe(e,t){const n=Os(e,t);return!!(Cw(n)||n.kind===19&&wD(n.parent)&&iy(n.parent.parent)||n.kind===30&&a_(n.parent)&&iy(n.parent.parent))}function yV(e,t){function n(s){for(;s;)if(s.kind>=284&&s.kind<=293||s.kind===12||s.kind===30||s.kind===32||s.kind===80||s.kind===20||s.kind===19||s.kind===44)s=s.parent;else if(s.kind===283){if(t>s.getStart(e))return!0;s=s.parent}else return!1;return!1}return n(Os(e,t))}function vV(e,t,n){const s=io(e.kind),l=io(t),f=e.getFullStart(),d=n.text.lastIndexOf(l,f);if(d===-1)return;if(n.text.lastIndexOf(s,f-1)<d){const k=ou(d+1,n);if(k&&k.kind===t)return k}const g=e.kind;let h=0;for(;;){const k=ou(e.getFullStart(),n);if(!k)return;if(e=k,e.kind===t){if(h===0)return e;h--}else e.kind===g&&h++}}function cAe(e,t,n){return t?e.getNonNullableType():n?e.getNonOptionalType():e}function z9(e,t,n){const s=ooe(e,t);return s!==void 0&&(Gg(s.called)||aoe(s.called,s.nTypeArguments,n).length!==0||z9(s.called,t,n))}function aoe(e,t,n){let s=n.getTypeAtLocation(e);return Tf(e.parent)&&(s=cAe(s,pP(e.parent),!0)),(HT(e.parent)?s.getConstructSignatures():s.getCallSignatures()).filter(f=>!!f.typeParameters&&f.typeParameters.length>=t)}function ooe(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 30:if(n=ou(n.getFullStart(),t),n&&n.kind===29&&(n=ou(n.getFullStart(),t)),!n||!He(n))return;if(!s)return Yy(n)?void 0:{called:n,nTypeArguments:l};s--;break;case 50:s=3;break;case 49:s=2;break;case 32:s++;break;case 20:if(n=vV(n,19,t),!n)return;break;case 22:if(n=vV(n,21,t),!n)return;break;case 24:if(n=vV(n,23,t),!n)return;break;case 28:l++;break;case 39:case 80:case 11:case 9:case 10:case 112:case 97:case 114:case 96:case 143:case 25:case 52:case 58:case 59:break;default:if(ys(n))break;return}n=ou(n.getFullStart(),t)}}function v1(e,t,n){return du.getRangeOfEnclosingComment(e,t,void 0,n)}function lAe(e,t){const n=Os(e,t);return!!mn(n,sm)}function coe(e,t){return e.kind===1?!!e.jsDoc:e.getWidth(t)!==0}function n8(e,t=0){const n=[],s=Sf(e)?IK(e)&~t:0;return s&8&&n.push("private"),s&16&&n.push("protected"),s&4&&n.push("public"),(s&32||al(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===276&&n.push("export"),n.length>0?n.join(","):""}function uAe(e){if(e.kind===182||e.kind===212)return e.typeArguments;if(Sa(e)||e.kind===262||e.kind===263)return e.typeParameters}function bV(e){return e===2||e===3}function loe(e){return!!(e===11||e===14||Sv(e))}function fAe(e,t,n){return!!(t.flags&4)&&e.isEmptyAnonymousObjectType(n)}function _Ae(e){if(!e.isIntersection())return!1;const{types:t,checker:n}=e;return t.length===2&&(fAe(n,t[0],t[1])||fAe(n,t[1],t[0]))}function V9(e,t,n){return Sv(e.kind)&&e.getStart(n)<t&&t<e.end||!!e.isUnterminated&&t===e.end}function uoe(e){switch(e){case 125:case 123:case 124:return!0}return!1}function pAe(e){const t=XY(e);return Ene(t,e&&e.configFile),t}function b1(e){return!!((e.kind===208||e.kind===209)&&(e.parent.kind===225&&e.parent.left===e&&e.parent.operatorToken.kind===64||e.parent.kind===249&&e.parent.initializer===e||b1(e.parent.kind===302?e.parent.parent:e.parent)))}function dAe(e,t){return hAe(e,t,!0)}function mAe(e,t){return hAe(e,t,!1)}function hAe(e,t,n){const s=v1(e,t,void 0);return!!s&&n===QAe.test(e.text.substring(s.pos,s.end))}function foe(e){if(e)switch(e.kind){case 11:case 15:return _oe(e);default:return u_(e)}}function u_(e,t,n){return nu(e.getStart(t),(n||e).getEnd())}function _oe(e){if(!e.isUnterminated)return nu(e.getStart()+1,e.getEnd()-1)}function poe(e,t){return Od(e.getStart(t),e.end)}function Uv(e){return nu(e.pos,e.end)}function TV(e){return Od(e.start,e.start+e.length)}function SV(e,t,n){return $9(yu(e,t),n)}function $9(e,t){return{span:e,newText:t}}function i8(e){return kt(GV,e)}function doe(e){return e.kind===156}function xV(e){return doe(e)||He(e)&&e.text==="type"}function q9(e){return!!(e.flags&1536)&&e.name.charCodeAt(0)===34}function Xw(){const e=[];return t=>{const n=Jo(t);return!e[n]&&(e[n]=!0)}}function kV(e){return e.getText(0,e.getLength())}function W9(e,t){let n="";for(let s=0;s<t;s++)n+=e;return n}function moe(e){return e.isTypeParameter()&&e.getConstraint()||e}function H9(e){return e.kind===166?ud(e.expression)?e.expression.text:void 0:fs(e)?Zn(e):em(e)}function gAe(e){return e.getSourceFiles().some(t=>!t.isDeclarationFile&&!e.isSourceFileFromExternalLibrary(t)&&!!(t.externalModuleIndicator||t.commonJsModuleIndicator))}function yAe(e){return e.getSourceFiles().some(t=>!t.isDeclarationFile&&!e.isSourceFileFromExternalLibrary(t)&&!!t.externalModuleIndicator)}function hoe(e){return!!e.module||Eo(e)>=2||!!e.noEmit}function hk(e,t){return{fileExists:n=>e.fileExists(n),getCurrentDirectory:()=>t.getCurrentDirectory(),readFile:no(t,t.readFile),useCaseSensitiveFileNames:no(t,t.useCaseSensitiveFileNames),getSymlinkCache:no(t,t.getSymlinkCache)||e.getSymlinkCache,getModuleSpecifierCache:no(t,t.getModuleSpecifierCache),getPackageJsonInfoCache:()=>{var n;return(n=e.getModuleResolutionCache())==null?void 0:n.getPackageJsonInfoCache()},getGlobalTypingsCacheLocation:no(t,t.getGlobalTypingsCacheLocation),redirectTargetsMap:e.redirectTargetsMap,getProjectReferenceRedirect:n=>e.getProjectReferenceRedirect(n),isSourceOfProjectReferenceRedirect:n=>e.isSourceOfProjectReferenceRedirect(n),getNearestAncestorDirectoryWithPackageJson:no(t,t.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:()=>e.getFileIncludeReasons()}}function goe(e,t){return{...hk(e,t),getCommonSourceDirectory:()=>e.getCommonSourceDirectory()}}function CV(e){return e===2||e>=3&&e<=99||e===100}function vAe(e,t,n,s){return e||t&&t.length?T1(e,t,n,s):void 0}function T1(e,t,n,s,l){return V.createImportDeclaration(void 0,e||t?V.createImportClause(!!l,e,t&&t.length?V.createNamedImports(t):void 0):void 0,typeof n=="string"?Qw(n,s):n,void 0)}function Qw(e,t){return V.createStringLiteral(e,t===0)}function yoe(e,t){return Uj(e,t)?1:0}function gd(e,t){if(t.quotePreference&&t.quotePreference!=="auto")return t.quotePreference==="single"?0:1;{const n=e.imports&&Ve(e.imports,s=>yo(s)&&!Ec(s.parent));return n?yoe(n,e):1}}function voe(e){switch(e){case 0:return"'";case 1:return'"';default:return R.assertNever(e)}}function wV(e){const t=EV(e);return t===void 0?void 0:xs(t)}function EV(e){return e.escapedName!=="default"?e.escapedName:$e(e.declarations,t=>{const n=ia(t);return n&&n.kind===80?n.escapedText:void 0})}function AV(e){return Yo(e)&&(fg(e.parent)||ju(e.parent)||M_(e.parent,!1)&&e.parent.arguments[0]===e||Dp(e.parent)&&e.parent.arguments[0]===e)}function G9(e){return Lo(e)&&Om(e.parent)&&He(e.name)&&!e.propertyName}function PV(e,t){const n=e.getTypeAtLocation(t.parent);return n&&e.getPropertyOfType(n,t.name.text)}function X9(e,t,n){if(e)for(;e.parent;){if(Cs(e.parent)||!Hnt(n,e.parent,t))return e;e=e.parent}}function Hnt(e,t,n){return DK(e,t.getStart(n))&&t.getEnd()<=af(e)}function uA(e,t){return am(e)?Ve(e.modifiers,n=>n.kind===t):void 0}function s8(e,t,n,s,l){const d=(ka(n)?n[0]:n).kind===242?Fee:Nx,g=gr(t.statements,d);let h=ka(n)?um.detectImportDeclarationSorting(n,l):3;const k=um.getOrganizeImportsComparer(l,h===2),T=ka(n)?G0(n,(C,D)=>um.compareImportsOrRequireStatements(C,D,k)):[n];if(!g.length)e.insertNodesAtTopOfFile(t,T,s);else if(g&&(h=um.detectImportDeclarationSorting(g,l))){const C=um.getOrganizeImportsComparer(l,h===2);for(const D of T){const O=um.getImportDeclarationInsertionIndex(g,D,C);if(O===0){const M=g[0]===t.statements[0]?{leadingTriviaOption:jn.LeadingTriviaOption.Exclude}:{};e.insertNodeBefore(t,g[0],D,!1,M)}else{const M=g[O-1];e.insertNodeAfter(t,M,D)}}}else{const C=Bc(g);C?e.insertNodesAfter(t,C,T):e.insertNodesAtTopOfFile(t,T,s)}}function boe(e,t){return R.assert(e.isTypeOnly),Ua(e.getChildAt(0,t),doe)}function fA(e,t){return!!e&&!!t&&e.start===t.start&&e.length===t.length}function Gnt(e,t){return e.fileName===t.fileName&&fA(e.textSpan,t.textSpan)}function Toe(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 bAe(e,t,n){for(let s=t;s<n;s++)if(!zg(e.charCodeAt(s)))return!1;return!0}function Q9(e,t,n){const s=t.tryGetSourcePosition(e);return s&&(!n||n(So(s.fileName))?s:void 0)}function Soe(e,t,n){const{fileName:s,textSpan:l}=e,f=Q9({fileName:s,pos:l.start},t,n);if(!f)return;const d=Q9({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:TAe(e,t,n),originalContextSpan:e.contextSpan}}function TAe(e,t,n){const s=e.contextSpan&&Q9({fileName:e.fileName,pos:e.contextSpan.start},t,n),l=e.contextSpan&&Q9({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 xoe(e){const t=e.declarations?Hu(e.declarations):void 0;return!!mn(t,n=>ea(n)?!0:Lo(n)||Om(n)||Ow(n)?!1:"quit")}function Xnt(){const e=K5*10;let t,n,s,l;T();const f=C=>g(C,17);return{displayParts:()=>{const C=t.length&&t[t.length-1].text;return l>e&&C&&C!=="..."&&(zg(C.charCodeAt(C.length-1))||t.push(U_(" ",16)),t.push(U_("...",15))),t},writeKeyword:C=>g(C,5),writeOperator:C=>g(C,12),writePunctuation:C=>g(C,15),writeTrailingSemicolon:C=>g(C,15),writeSpace:C=>g(C,16),writeStringLiteral:C=>g(C,8),writeParameter:C=>g(C,13),writeProperty:C=>g(C,14),writeLiteral:C=>g(C,8),writeSymbol:h,writeLine:k,write:f,writeComment:f,getText:()=>"",getTextPos:()=>0,getColumn:()=>0,getLine:()=>0,isAtStartOfLine:()=>!1,hasTrailingWhitespace:()=>!1,hasTrailingComment:()=>!1,rawWrite:Ta,getIndent:()=>s,increaseIndent:()=>{s++},decreaseIndent:()=>{s--},clear:T};function d(){if(!(l>e)&&n){const C=Kj(s);C&&(l+=C.length,t.push(U_(C,16))),n=!1}}function g(C,D){l>e||(d(),l+=C.length,t.push(U_(C,D)))}function h(C,D){l>e||(d(),l+=C.length,t.push(SAe(C,D)))}function k(){l>e||(l+=1,t.push(_A()),n=!0)}function T(){t=[],n=!0,s=0,l=0}}function SAe(e,t){return U_(e,n(t));function n(s){const l=s.flags;return l&3?xoe(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 U_(e,t){return{text:e,kind:O9[t]}}function ol(){return U_(" ",16)}function op(e){return U_(io(e),5)}function wf(e){return U_(io(e),15)}function a8(e){return U_(io(e),12)}function xAe(e){return U_(e,13)}function kAe(e){return U_(e,14)}function koe(e){const t=Sx(e);return t===void 0?Yp(e):op(t)}function Yp(e){return U_(e,17)}function CAe(e){return U_(e,0)}function wAe(e){return U_(e,18)}function DV(e){return U_(e,24)}function EAe(e,t){return{text:e,kind:O9[23],target:{fileName:pn(t).fileName,textSpan:u_(t)}}}function Coe(e){return U_(e,22)}function AAe(e,t){var n;const s=ike(e)?"link":ske(e)?"linkcode":"linkplain",l=[Coe(`{@${s} `)];if(!e.name)e.text&&l.push(DV(e.text));else{const f=t==null?void 0:t.getSymbolAtLocation(e.name),d=Ynt(e.text),g=iu(e.name)+e.text.slice(0,d),h=Qnt(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(EAe(g,k)),h&&l.push(DV(h))):l.push(DV(g+(d?"":" ")+h))}return l.push(Coe("}")),l}function Qnt(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 Ynt(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 zv(e,t){var n;return(t==null?void 0:t.newLineCharacter)||((n=e.getNewLine)==null?void 0:n.call(e))||YAe}function _A(){return U_(`
`,6)}function Vv(e){try{return e(XV),XV.displayParts()}finally{XV.clear()}}function Y9(e,t,n,s=0){return Vv(l=>{e.writeType(t,n,s|1024|16384,l)})}function o8(e,t,n,s,l=0){return Vv(f=>{e.writeSymbol(t,n,s,l|8,f)})}function woe(e,t,n,s=0){return s|=25632,Vv(l=>{e.writeSignature(t,n,s,void 0,l)})}function Znt(e,t){const n=t.getSourceFile();return Vv(s=>{g9().writeNode(4,e,n,s)})}function PAe(e){return!!e.parent&&ZC(e.parent)&&e.parent.propertyName===e}function Eoe(e,t){return TJ(e,t.getScriptKind&&t.getScriptKind(e))}function DAe(e,t){let n=e;for(;Knt(n)||Yh(n)&&n.links.target;)Yh(n)&&n.links.target?n=n.links.target:n=F_(n,t);return n}function Knt(e){return(e.flags&2097152)!==0}function NAe(e,t){return vo(F_(e,t))}function IAe(e,t){for(;zg(e.charCodeAt(t));)t+=1;return t}function NV(e,t){for(;t>-1&&_h(e.charCodeAt(t));)t-=1;return t+1}function Fc(e,t=!0){const n=e&&OAe(e);return n&&!t&&cp(n),n}function Z9(e,t,n){let s=n(e);return s?oi(s,e):s=OAe(e,n),s&&!t&&cp(s),s}function OAe(e,t){const n=t?f=>Z9(f,!0,t):Fc,l=Kr(e,n,s0,t?f=>f&&Aoe(f,!0,t):f=>f&&uS(f),n);if(l===e){const f=yo(e)?oi(V.createStringLiteralFromNode(e),e):Hp(e)?oi(V.createNumericLiteral(e.text,e.numericLiteralFlags),e):V.cloneNode(e);return wt(f,e)}return l.parent=void 0,l}function uS(e,t=!0){if(e){const n=V.createNodeArray(e.map(s=>Fc(s,t)),e.hasTrailingComma);return wt(n,e),n}return e}function Aoe(e,t,n){return V.createNodeArray(e.map(s=>Z9(s,t,n)),e.hasTrailingComma)}function cp(e){IV(e),LAe(e)}function IV(e){Poe(e,1024,tit)}function LAe(e){Poe(e,2048,kte)}function gk(e,t){const n=e.getSourceFile(),s=n.text;eit(e,s)?pA(e,t,n):eL(e,t,n),c8(e,t,n)}function eit(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 Poe(e,t,n){og(e,t);const s=n(e);s&&Poe(s,t,n)}function tit(e){return e.forEachChild(t=>t)}function yk(e,t){let n=e;for(let s=1;!yj(t,n);s++)n=`${e}_${s}`;return n}function K9(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:T}=h,C=rit(T,_w(n));if(C!==-1&&(f=k.start+l+C,!s))return f;l+=T.length-k.length}}return R.assert(s),R.assert(f>=0),f}function pA(e,t,n,s,l){NI(n.text,e.pos,Doe(t,n,s,l,lO))}function c8(e,t,n,s,l){II(n.text,e.end,Doe(t,n,s,l,RJ))}function eL(e,t,n,s,l){II(n.text,e.pos,Doe(t,n,s,l,lO))}function Doe(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 rit(e,t){if(Xs(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 Noe(e){return Bn(e)&&e.operatorToken.kind===28||jo(e)||vO(e)&&jo(e.expression)}function OV(e,t,n){const s=Av(e.parent);switch(s.kind){case 213:return t.getContextualType(s,n);case 225:{const{left:l,operatorToken:f,right:d}=s;return LV(f.kind)?t.getTypeAtLocation(e===d?l:d):t.getContextualType(e,n)}case 295:return Ooe(s,t);default:return t.getContextualType(e,n)}}function l8(e,t,n){const s=gd(e,t),l=JSON.stringify(n);return s===0?`'${tm(l).replace(/'/g,"\\'").replace(/\\"/g,'"')}'`:l}function LV(e){switch(e){case 37:case 35:case 38:case 36:return!0;default:return!1}}function MAe(e){switch(e.kind){case 11:case 15:case 227:case 214:return!0;default:return!1}}function Ioe(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()}function Ooe(e,t){return t.getTypeAtLocation(e.parent.parent.expression)}function u8(e,t,n,s){const l=n.getTypeChecker();let f=!0;const d=()=>f=!1,g=l.typeToTypeNode(e,t,1,{trackSymbol:(h,k,T)=>(f=f&&l.isSymbolAccessible(h,k,T,!1).accessibility===0,!f),reportInaccessibleThisError:d,reportPrivateInBaseOfClassExpression:d,reportInaccessibleUniqueSymbolError:d,moduleResolverHost:goe(n,s)});return f?g:void 0}function Loe(e){return e===178||e===179||e===180||e===170||e===172}function FAe(e){return e===261||e===175||e===173||e===176||e===177}function RAe(e){return e===266}function MV(e){return e===242||e===243||e===245||e===250||e===251||e===252||e===256||e===258||e===171||e===264||e===271||e===270||e===277||e===269||e===276}function nit(e,t){const n=e.getLastToken(t);if(n&&n.kind===27)return!1;if(Loe(e.kind)){if(n&&n.kind===28)return!1}else if(RAe(e.kind)){const g=To(e.getChildren(t));if(g&&yh(g))return!1}else if(FAe(e.kind)){const g=To(e.getChildren(t));if(g&&Ix(g))return!1}else if(!MV(e.kind))return!1;if(e.kind===245)return!0;const s=mn(e,g=>!g.parent),l=dk(e,s,t);if(!l||l.kind===20)return!0;const f=t.getLineAndCharacterOfPosition(e.getEnd()).line,d=t.getLineAndCharacterOfPosition(l.getStart(t)).line;return f!==d}function FV(e,t,n){const s=mn(t,l=>l.end!==e?"quit":Woe(l.kind));return!!s&&nit(s,n)}function tL(e){let t=0,n=0;const s=5;return _a(e,function l(f){if(MV(f.kind)){const d=f.getLastToken(e);(d==null?void 0:d.kind)===27?t++:n++}else if(Loe(f.kind)){const d=f.getLastToken(e);if((d==null?void 0:d.kind)===27)t++;else if(d&&d.kind!==28){const g=Vc(e,d.getStart(e)).line,h=Vc(e,eg(e,d.end).start).line;g!==h&&n++}}return t+n>=s?!0:_a(f,l)}),t===0&&n<=1?!0:t/n>1/s}function RV(e,t){return UV(e,e.getDirectories,t)||[]}function Moe(e,t,n,s,l){return UV(e,e.readDirectory,t,n,s,l)||ft}function BV(e,t){return UV(e,e.fileExists,t)}function jV(e,t){return JV(()=>Pm(t,e))||!1}function JV(e){try{return e()}catch{return}}function UV(e,t,...n){return JV(()=>t&&t.apply(e,n))}function Foe(e,t,n){const s=[];return zy(e,l=>{if(l===n)return!0;const f=vs(l,"package.json");BV(t,f)&&s.push(f)}),s}function BAe(e,t){let n;return zy(e,s=>{if(s==="node_modules"||(n=s6e(s,l=>BV(t,l),"package.json"),n))return!0}),n}function jAe(e,t){if(!t.fileExists)return[];const n=[];return zy(cs(e),s=>{const l=vs(s,"package.json");if(t.fileExists(l)){const f=JAe(l,t);f&&n.push(f)}}),n}function JAe(e,t){if(!t.readFile)return;const n=["dependencies","devDependencies","optionalDependencies","peerDependencies"],s=t.readFile(e)||"",l=iit(s),f={};if(l)for(const h of n){const k=l[h];if(!k)continue;const T=new Map;for(const C in k)T.set(C,k[C]);f[h]=T}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[T,C]of d)if(C&&k&T){const D=C.get(h);if(D!==void 0)return D}}}function f8(e,t,n){const s=(n.getPackageJsonsVisibleToFile&&n.getPackageJsonsVisibleToFile(e.fileName)||jAe(e.fileName,n)).filter(M=>M.parseable);let l,f,d;return{allowsImportingAmbientModule:h,allowsImportingSourceFile:k,allowsImportingSpecifier:T};function g(M){const U=O(M);for(const B of s)if(B.has(U)||B.has(cz(U)))return!0;return!1}function h(M,U){if(!s.length||!M.valueDeclaration)return!0;if(!f)f=new Map;else{const fe=f.get(M);if(fe!==void 0)return fe}const B=tm(M.getName());if(C(B))return f.set(M,!0),!0;const H=M.valueDeclaration.getSourceFile(),Y=D(H.fileName,U);if(typeof Y>"u")return f.set(M,!0),!0;const Z=g(Y)||g(B);return f.set(M,Z),Z}function k(M,U){if(!s.length)return!0;if(!d)d=new Map;else{const Y=d.get(M);if(Y!==void 0)return Y}const B=D(M.fileName,U);if(!B)return d.set(M,!0),!0;const H=g(B);return d.set(M,H),H}function T(M){return!s.length||C(M)||kp(M)||fh(M)?!0:g(M)}function C(M){return!!(qf(e)&&fk.nodeCoreModules.has(M)&&(l===void 0&&(l=zV(e)),l))}function D(M,U){if(!rf(M,"node_modules"))return;const B=nS.getNodeModulesPackageName(n.getCompilationSettings(),e,M,U,t);if(B&&!kp(B)&&!fh(B))return O(B)}function O(M){const U=Ou(i9(M)).slice(1);return Xs(U[0],"@")?`${U[0]}/${U[1]}`:U[0]}}function iit(e){try{return JSON.parse(e)}catch{return}}function zV(e){return Ne(e.imports,({text:t})=>fk.nodeCoreModules.has(t))}function UAe(e){return kt(Ou(e),"node_modules")}function Roe(e){return e.file!==void 0&&e.start!==void 0&&e.length!==void 0}function zAe(e,t){const n=u_(e),s=JC(t,n,Kc,uB);if(s>=0){const l=t[s];return R.assertEqual(l.file,e.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),Ua(l,Roe)}}function VAe(e,t){var n;let s=JC(t,e.start,d=>d.start,wc);for(s<0&&(s=~s);((n=t[s-1])==null?void 0:n.start)===e.start;)s--;const l=[],f=af(e);for(;;){const d=wi(t[s],Roe);if(!d||d.start>f)break;Ube(e,d)&&l.push(d),s++}return l}function Yw({startPosition:e,endPosition:t}){return nu(e,t===void 0?e:t)}function Boe(e,t){const n=Os(e,t.start);return mn(n,l=>l.getStart(e)<t.start||l.getEnd()>af(t)?"quit":Ct(l)&&fA(t,u_(l,e)))}function $Ae(e,t,n=Kc){return e?ka(e)?n(qt(e,t)):t(e,0):void 0}function joe(e){return ka(e)?Oo(e):e}function qAe(e,t){if(WAe(e)){const n=HAe(e);if(n)return n;const s=uf.moduleSymbolToValidIdentifier(Joe(e),t,!1),l=uf.moduleSymbolToValidIdentifier(Joe(e),t,!0);return s===l?s:[s,l]}return e.name}function VV(e,t,n){return WAe(e)?HAe(e)||uf.moduleSymbolToValidIdentifier(Joe(e),t,!!n):e.name}function WAe(e){return!(e.flags&33554432)&&(e.escapedName==="export="||e.escapedName==="default")}function HAe(e){return $e(e.declarations,t=>{var n,s;return Pl(t)?(n=wi(lf(t.expression),He))==null?void 0:n.text:(s=wi(ia(t),He))==null?void 0:s.text})}function Joe(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 GAe(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 Uoe(e){return e.charCodeAt(0)===95}function sit(e){return!XAe(e)}function XAe(e){const t=e.getSourceFile();return!t.externalModuleIndicator&&!t.commonJsModuleIndicator?!1:Mn(e)||!mn(e,n=>Al(n)&&dh(n))}function $V(e){return!!(IK(e)&8192)}function qV(e,t){return $e(e.imports,s=>{if(fk.nodeCoreModules.has(s.text))return Xs(s.text,"node:")})??t.usesUriStyleNodeCoreModules}function rL(e){return e===`
`?1:0}function Zw(e){return ka(e)?Zg(so(e[0]),e.slice(1)):so(e)}function WV({options:e},t){const n=!e.semicolons||e.semicolons==="ignore",s=e.semicolons==="remove"||n&&!tL(t);return{...e,semicolons:s?"remove":"ignore"}}function zoe(e){return e===2||e===3}function _8(e,t){return e.isSourceFileFromExternalLibrary(t)||e.isSourceFileDefaultLibrary(t)}function HV(e,t){const n=new Set,s=new Set,l=new Set;for(const g of t)if(!kO(g)){const h=Tc(g.expression);if(Cx(h))switch(h.kind){case 15:case 11:n.add(h.text);break;case 9:s.add(parseInt(h.text));break;case 10:const k=qSe(Sl(h.text,"n")?h.text.slice(0,-1):h.text);k&&l.add($T(k));break}else{const k=e.getSymbolAtLocation(g.expression);if(k&&k.valueDeclaration&&KT(k.valueDeclaration)){const T=e.getConstantValue(k.valueDeclaration);T!==void 0&&f(T)}}}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($T(g))}}}function Voe(e,t,n,s){var l;const f=typeof e=="string"?e:e.fileName;if(!zT(f))return!1;const d=t.getCompilerOptions(),g=Zu(d),h=typeof e=="string"?x9(bc(e,n.getCurrentDirectory(),a1(n)),(l=t.getPackageJsonInfoCache)==null?void 0:l.call(t),n,d):e.impliedNodeFormat;if(h===99)return!1;if(h===1||d.verbatimModuleSyntax&&g===1)return!0;if(d.verbatimModuleSyntax&&_J(g))return!1;if(typeof e=="object"){if(e.commonJsModuleIndicator)return!0;if(e.externalModuleIndicator)return!1}return s}var Ef,$oe,QAe,GV,qoe,XV,YAe,QV,Woe,ait=p({"src/services/utilities.ts"(){Si(),Ef=e1(99,!0),$oe=(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))($oe||{}),QAe=/^\/\/\/\s*</,GV=[133,131,162,136,97,140,143,146,106,150,151,148,154,155,114,112,116,157,158,159],qoe=(e=>(e[e.Single=0]="Single",e[e.Double=1]="Double",e))(qoe||{}),XV=Xnt(),YAe=`
`,QV="anonymous function",Woe=Wh(Loe,FAe,RAe,MV)}});function ZAe(e){let t=1;const n=sd(),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,M,U,B,H,Y,Z,fe)=>{O!==f&&(d.clear(),f=O);let Q;if(H){const Ie=Hte(H.fileName);if(Ie){const{topLevelNodeModulesIndex:ue,topLevelPackageNameIndex:ut,packageRootIndex:Ge}=Ie;if(Q=lz(i9(H.fileName.substring(ut+1,Ge))),Xs(O,H.path.substring(0,ue))){const qe=l.get(Q),Ke=H.fileName.substring(0,ut+1);if(qe){const Me=qe.indexOf(h1);ue>Me&&l.set(Q,Ke)}else l.set(Q,Ke)}}}const W=Y===1&&y4(M)||M,ye=Y===0||q9(W)?xs(U):qAe(W,void 0),de=typeof ye=="string"?ye:ye[0],Ce=typeof ye=="string"?void 0:ye[1],K=tm(B.name),ce=t++,le=F_(M,fe),xe=M.flags&33554432?void 0:M,we=B.flags&33554432?void 0:B;(!xe||!we)&&s.set(ce,[M,B]),n.add(h(de,M,Lu(K)?void 0:K,fe),{id:ce,symbolTableKey:U,symbolName:de,capitalizedSymbolName:Ce,moduleName:K,moduleFile:H,moduleFileName:H==null?void 0:H.fileName,packageName:Q,exportKind:Y,targetFlags:le.flags,isFromPackageJson:Z,symbol:xe,moduleSymbol:we})},get:(O,M)=>{if(O!==f)return;const U=n.get(M);return U==null?void 0:U.map(g)},search:(O,M,U,B)=>{if(O===f)return rp(n,(H,Y)=>{const{symbolName:Z,ambientModuleName:fe}=k(Y),Q=M&&H[0].capitalizedSymbolName||Z;if(U(Q,H[0].targetFlags)){const W=H.map(g).filter((ye,de)=>D(ye,H[de].packageName));if(W.length){const ye=B(W,Q,!!fe,Y);if(ye!==void 0)return ye}}})},releaseSymbols:()=>{s.clear()},onFileChanged:(O,M,U)=>T(O)&&T(M)?!1:f&&f!==M.path||U&&zV(O)!==zV(M)||!Oc(O.moduleAugmentations,M.moduleAugmentations)||!C(O,M)?(d.clear(),!0):(f=M.path,!1)};return R.isDebugging&&Object.defineProperty(d,"__cache",{get:()=>n}),d;function g(O){if(O.symbol&&O.moduleSymbol)return O;const{id:M,exportKind:U,targetFlags:B,isFromPackageJson:H,moduleFileName:Y}=O,[Z,fe]=s.get(M)||ft;if(Z&&fe)return{symbol:Z,moduleSymbol:fe,moduleFileName:Y,exportKind:U,targetFlags:B,isFromPackageJson:H};const Q=(H?e.getPackageJsonAutoImportProvider():e.getCurrentProgram()).getTypeChecker(),he=O.moduleSymbol||fe||R.checkDefined(O.moduleFile?Q.getMergedSymbol(O.moduleFile.symbol):Q.tryFindAmbientModule(O.moduleName)),W=O.symbol||Z||R.checkDefined(U===2?Q.resolveExternalModuleSymbol(he):Q.tryGetMemberInModuleExportsAndProperties(xs(O.symbolTableKey),he),`Could not find symbol '${O.symbolName}' by key '${O.symbolTableKey}' in module ${he.name}`);return s.set(M,[W,he]),{symbol:W,moduleSymbol:he,moduleFileName:Y,exportKind:U,targetFlags:B,isFromPackageJson:H}}function h(O,M,U,B){const H=U||"";return`${O}|${vo(F_(M,B))}|${H}`}function k(O){const M=O.substring(0,O.indexOf("|")),U=O.substring(O.lastIndexOf("|")+1);return{symbolName:M,ambientModuleName:U===""?void 0:U}}function T(O){return!O.commonJsModuleIndicator&&!O.externalModuleIndicator&&!O.moduleAugmentations&&!O.ambientModuleNames}function C(O,M){if(!Oc(O.ambientModuleNames,M.ambientModuleNames))return!1;let U=-1,B=-1;for(const H of M.ambientModuleNames){const Y=Z=>hee(Z)&&Z.name.text===H;if(U=ir(O.statements,Y,U+1),B=ir(M.statements,Y,B+1),O.statements[U]!==M.statements[B])return!1}return!0}function D(O,M){if(!M||!O.moduleFileName)return!0;const U=e.getGlobalTypingsCacheLocation();if(U&&Xs(O.moduleFileName,U))return!0;const B=l.get(M);return!B||Xs(O.moduleFileName,B)}}function Hoe(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=a1(f),T=(g=f.getGlobalTypingsCacheLocation)==null?void 0:g.call(f),C=!!nS.forEachFileNameOfModule(t.fileName,n.fileName,f,!1,D=>{const O=e.getSourceFile(D);return(O===n||!O)&&oit(t.fileName,D,k,T)});if(l){const D=C&&l.allowsImportingSourceFile(n,f);return d==null||d.setBlockedByPackageJsonDependencies(t.path,n.path,s,{},!D),D}return C}function oit(e,t,n,s){const l=zy(t,d=>Xu(d)==="node_modules"?d:void 0),f=l&&cs(n(l));return f===void 0||Xs(n(e),f)||!!s&&Xs(n(s),f)}function Goe(e,t,n,s,l){var f,d;const g=I5(t),h=n.autoImportFileExcludePatterns&&lr(n.autoImportFileExcludePatterns,T=>{const C=Lte(T,"","exclude");return C?Nv(C,g):void 0});KAe(e.getTypeChecker(),e.getSourceFiles(),h,(T,C)=>l(T,C,e,!1));const k=s&&((f=t.getPackageJsonAutoImportProvider)==null?void 0:f.call(t));if(k){const T=Uc(),C=e.getTypeChecker();KAe(k.getTypeChecker(),k.getSourceFiles(),h,(D,O)=>{(O&&!e.getSourceFile(O.fileName)||!O&&!C.resolveName(D.name,void 0,1536,!1))&&l(D,O,k,!0)}),(d=t.log)==null||d.call(t,`forEachExternalModuleToImportFrom autoImportProvider: ${Uc()-T}`)}}function KAe(e,t,n,s){var l;const f=n&&(d=>n.some(g=>g.test(d)));for(const d of e.getAmbientModules())!rf(d.name,"*")&&!(n&&((l=d.declarations)!=null&&l.every(g=>f(g.getSourceFile().fileName))))&&s(d,void 0);for(const d of t)Pp(d)&&!(f!=null&&f(d.fileName))&&s(e.getMergedSymbol(d.symbol),d)}function nL(e,t,n,s,l){var f,d,g,h,k;const T=Uc();(f=t.getPackageJsonAutoImportProvider)==null||f.call(t);const C=((d=t.getCachedExportInfoMap)==null?void 0:d.call(t))||ZAe({getCurrentProgram:()=>n,getPackageJsonAutoImportProvider:()=>{var M;return(M=t.getPackageJsonAutoImportProvider)==null?void 0:M.call(t)},getGlobalTypingsCacheLocation:()=>{var M;return(M=t.getGlobalTypingsCacheLocation)==null?void 0:M.call(t)}});if(C.isUsableByFile(e.path))return(g=t.log)==null||g.call(t,"getExportInfoMap: cache hit"),C;(h=t.log)==null||h.call(t,"getExportInfoMap: cache miss or empty; calculating new results");const D=n.getCompilerOptions();let O=0;try{Goe(n,t,s,!0,(M,U,B,H)=>{++O%100===0&&(l==null||l.throwIfCancellationRequested());const Y=new Map,Z=B.getTypeChecker(),fe=YV(M,Z,D);fe&&e3e(fe.symbol,Z)&&C.add(e.path,fe.symbol,fe.exportKind===1?"default":"export=",M,U,fe.exportKind,H,Z),Z.forEachExportAndPropertyOfModule(M,(Q,he)=>{Q!==(fe==null?void 0:fe.symbol)&&e3e(Q,Z)&&Dm(Y,he)&&C.add(e.path,Q,he,M,U,0,H,Z)})})}catch(M){throw C.clear(),M}return(k=t.log)==null||k.call(t,`getExportInfoMap: done in ${Uc()-T} ms`),C}function YV(e,t,n){const s=cit(e,t);if(!s)return;const{symbol:l,exportKind:f}=s,d=ZV(l,t,n);return d&&{symbol:l,exportKind:f,...d}}function e3e(e,t){return!t.isUndefinedSymbol(e)&&!t.isUnknownSymbol(e)&&!w5(e)&&!FTe(e)}function cit(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 ZV(e,t,n){const s=y4(e);if(s)return{resolvedSymbol:s,name:s.name};const l=lit(e);if(l!==void 0)return{resolvedSymbol:e,name:l};if(e.flags&2097152){const f=t.getImmediateAliasedSymbol(e);if(f&&f.parent)return ZV(f,t,n)}return e.escapedName!=="default"&&e.escapedName!=="export="?{resolvedSymbol:e,name:e.getName()}:{resolvedSymbol:e,name:VV(e,n.target)}}function lit(e){return e.declarations&&$e(e.declarations,t=>{var n;if(Pl(t))return(n=wi(lf(t.expression),He))==null?void 0:n.text;if(T_(t))return R.assert(t.name.text==="default","Expected the specifier to be a default export"),t.propertyName&&t.propertyName.text})}var Xoe,Qoe,uit=p({"src/services/exportInfoMap.ts"(){Si(),Xoe=(e=>(e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.Namespace=2]="Namespace",e[e.CommonJS=3]="CommonJS",e))(Xoe||{}),Qoe=(e=>(e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals",e[e.UMD=3]="UMD",e))(Qoe||{})}});function t3e(){const e=e1(99,!1);function t(s,l,f){return pit(n(s,l,f),s)}function n(s,l,f){let d=0,g=0;const h=[],{prefix:k,pushTemplate:T}=hit(l);s=k+s;const C=k.length;T&&h.push(16),e.setText(s);let D=0;const O=[];let M=0;do{d=e.scan(),_4(d)||(U(),g=d);const B=e.getTokenEnd();if(_it(e.getTokenStart(),B,C,vit(d),O),B>=s.length){const H=fit(e,d,Bc(h));H!==void 0&&(D=H)}}while(d!==1);function U(){switch(d){case 44:case 69:!o3e[g]&&e.reScanSlashToken()===14&&(d=14);break;case 30:g===80&&M++;break;case 32:M>0&&M--;break;case 133:case 154:case 150:case 136:case 155:M>0&&!f&&(d=80);break;case 16:h.push(d);break;case 19:h.length>0&&h.push(d);break;case 20:if(h.length>0){const B=Bc(h);B===16?(d=e.reScanTemplateToken(!1),d===18?h.pop():R.assertEqual(d,17,"Should have been a template middle.")):(R.assertEqual(B,19,"Should have been an open brace"),h.pop())}break;default:if(!b_(d))break;(g===25||b_(g)&&b_(d)&&!mit(g,d))&&(d=80)}}return{endOfLineState:D,spans:O}}return{getClassificationsForLine:t,getEncodedLexicalClassifications:n}}function fit(e,t,n){switch(t){case 11:{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(Sv(t)){if(!e.isUnterminated())return;switch(t){case 18:return 5;case 15:return 4;default:return R.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+t)}}return n===16?6:void 0}}function _it(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 pit(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 T=g-l;T>0&&n.push({length:T,classification:4})}n.push({length:h,classification:dit(k)}),l=g+h}const f=t.length-l;return f>0&&n.push({length:f,classification:4}),{entries:n,finalLexState:e.endOfLineState}}function dit(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 mit(e,t){if(!uoe(e))return!0;switch(t){case 139:case 153:case 137:case 126:case 129:return!0;default:return!1}}function hit(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 git(e){switch(e){case 42:case 44:case 45:case 40:case 41:case 48:case 49:case 50:case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:case 35:case 36:case 37:case 38:case 51:case 53:case 52:case 56:case 57:case 75:case 74:case 79:case 71:case 72:case 73:case 65:case 66:case 67:case 69:case 70:case 64:case 28:case 61:case 76:case 77:case 78:return!0;default:return!1}}function yit(e){switch(e){case 40:case 41:case 55:case 54:case 46:case 47:return!0;default:return!1}}function vit(e){if(b_(e))return 3;if(git(e)||yit(e))return 5;if(e>=19&&e<=79)return 10;switch(e){case 9:return 4;case 10:return 25;case 11:return 6;case 14:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 80:default:return Sv(e)?6:2}}function r3e(e,t,n,s,l){return s3e(Yoe(e,t,n,s,l))}function n3e(e,t){switch(t){case 266:case 262:case 263:case 261:case 230:case 217:case 218:e.throwIfCancellationRequested()}}function Yoe(e,t,n,s,l){const f=[];return n.forEachChild(function g(h){if(!(!h||!WB(l,h.pos,h.getFullWidth()))){if(n3e(t,h.kind),He(h)&&!pl(h)&&s.has(h.escapedText)){const k=e.getSymbolAtLocation(h),T=k&&i3e(k,_k(h),e);T&&d(h.getStart(n),h.getEnd(),T)}h.forEachChild(g)}}),{spans:f,endOfLineState:0};function d(g,h,k){const T=h-g;R.assert(T>0,`Classification had non-positive length of ${T}`),f.push(g),f.push(T),f.push(k)}}function i3e(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&&bit(e)?14:void 0:s&2097152?i3e(n.getAliasedSymbol(e),t,n):t&2?s&64?13:s&262144?15:void 0:void 0}function bit(e){return Ne(e.declarations,t=>Al(t)&&i0(t)===1)}function Tit(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 s3e(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:yu(t[s],t[s+1]),classificationType:Tit(t[s+2])});return n}function a3e(e,t,n){return s3e(Zoe(e,t,n))}function Zoe(e,t,n){const s=n.start,l=n.length,f=e1(99,!1,t.languageVariant,t.text),d=e1(99,!1,t.languageVariant,t.text),g=[];return fe(t),{spans:g,endOfLineState:0};function h(Q,he,W){g.push(Q),g.push(he),g.push(W)}function k(Q){for(f.resetTokenState(Q.pos);;){const he=f.getTokenEnd();if(!Cbe(t.text,he))return he;const W=f.scan(),ye=f.getTokenEnd(),de=ye-he;if(!_4(W))return he;switch(W){case 4:case 5:continue;case 2:case 3:T(Q,W,he,de),f.resetTokenState(ye);continue;case 7:const Ce=t.text,K=Ce.charCodeAt(he);if(K===60||K===62){h(he,de,1);continue}R.assert(K===124||K===61),U(Ce,he,ye);break;case 6:break;default:R.assertNever(W)}}}function T(Q,he,W,ye){if(he===3){const de=Xke(t.text,W,ye);if(de&&de.jsDoc){ko(de.jsDoc,Q),D(de.jsDoc);return}}else if(he===2&&O(W,ye))return;C(W,ye)}function C(Q,he){h(Q,he,1)}function D(Q){var he,W,ye,de,Ce,K,ce,le;let xe=Q.pos;if(Q.tags)for(const Ie of Q.tags){Ie.pos!==xe&&C(xe,Ie.pos-xe),h(Ie.pos,1,10),h(Ie.tagName.pos,Ie.tagName.end-Ie.tagName.pos,18),xe=Ie.tagName.end;let ue=Ie.tagName.end;switch(Ie.kind){case 347:const ut=Ie;we(ut),ue=ut.isNameFirst&&((he=ut.typeExpression)==null?void 0:he.end)||ut.name.end;break;case 354:const Ge=Ie;ue=Ge.isNameFirst&&((W=Ge.typeExpression)==null?void 0:W.end)||Ge.name.end;break;case 351:M(Ie),xe=Ie.end,ue=Ie.typeParameters.end;break;case 352:const qe=Ie;ue=((ye=qe.typeExpression)==null?void 0:ye.kind)===315&&((de=qe.fullName)==null?void 0:de.end)||((Ce=qe.typeExpression)==null?void 0:Ce.end)||ue;break;case 344:ue=Ie.typeExpression.end;break;case 350:fe(Ie.typeExpression),xe=Ie.end,ue=Ie.typeExpression.end;break;case 349:case 346:ue=Ie.typeExpression.end;break;case 348:fe(Ie.typeExpression),xe=Ie.end,ue=((K=Ie.typeExpression)==null?void 0:K.end)||ue;break;case 353:ue=((ce=Ie.name)==null?void 0:ce.end)||ue;break;case 334:case 335:ue=Ie.class.end;break;case 355:fe(Ie.typeExpression),xe=Ie.end,ue=((le=Ie.typeExpression)==null?void 0:le.end)||ue;break}typeof Ie.comment=="object"?C(Ie.comment.pos,Ie.comment.end-Ie.comment.pos):typeof Ie.comment=="string"&&C(ue,Ie.end-ue)}xe!==Q.end&&C(xe,Q.end-xe);return;function we(Ie){Ie.isNameFirst&&(C(xe,Ie.name.pos-xe),h(Ie.name.pos,Ie.name.end-Ie.name.pos,17),xe=Ie.name.end),Ie.typeExpression&&(C(xe,Ie.typeExpression.pos-xe),fe(Ie.typeExpression),xe=Ie.typeExpression.end),Ie.isNameFirst||(C(xe,Ie.name.pos-xe),h(Ie.name.pos,Ie.name.end-Ie.name.pos,17),xe=Ie.name.end)}}function O(Q,he){const W=/^(\/\/\/\s*)(<)(?:(\S+)((?:[^/]|\/[^>])*)(\/>)?)?/im,ye=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/img,de=t.text.substr(Q,he),Ce=W.exec(de);if(!Ce||!Ce[3]||!(Ce[3]in hI))return!1;let K=Q;C(K,Ce[1].length),K+=Ce[1].length,h(K,Ce[2].length,10),K+=Ce[2].length,h(K,Ce[3].length,21),K+=Ce[3].length;const ce=Ce[4];let le=K;for(;;){const we=ye.exec(ce);if(!we)break;const Ie=K+we.index+we[1].length;Ie>le&&(C(le,Ie-le),le=Ie),h(le,we[2].length,22),le+=we[2].length,we[3].length&&(C(le,we[3].length),le+=we[3].length),h(le,we[4].length,5),le+=we[4].length,we[5].length&&(C(le,we[5].length),le+=we[5].length),h(le,we[6].length,24),le+=we[6].length}K+=Ce[4].length,K>le&&C(le,K-le),Ce[5]&&(h(K,Ce[5].length,10),K+=Ce[5].length);const xe=Q+he;return K<xe&&C(K,xe-K),!0}function M(Q){for(const he of Q.getChildren())fe(he)}function U(Q,he,W){let ye;for(ye=he;ye<W&&!sf(Q.charCodeAt(ye));ye++);for(h(he,ye-he,1),d.resetTokenState(ye);d.getTokenEnd()<W;)B()}function B(){const Q=d.getTokenEnd(),he=d.scan(),W=d.getTokenEnd(),ye=Z(he);ye&&h(Q,W-Q,ye)}function H(Q){if(sm(Q)||pl(Q))return!0;const he=Y(Q);if(!YC(Q)&&Q.kind!==12&&he===void 0)return!1;const W=Q.kind===12?Q.pos:k(Q),ye=Q.end-W;if(R.assert(ye>=0),ye>0){const de=he||Z(Q.kind,Q);de&&h(W,ye,de)}return!0}function Y(Q){switch(Q.parent&&Q.parent.kind){case 285:if(Q.parent.tagName===Q)return 19;break;case 286:if(Q.parent.tagName===Q)return 20;break;case 284:if(Q.parent.tagName===Q)return 21;break;case 290:if(Q.parent.name===Q)return 22;break}}function Z(Q,he){if(b_(Q))return 3;if((Q===30||Q===32)&&he&&uAe(he.parent))return 10;if(Hee(Q)){if(he){const W=he.parent;if(Q===64&&(W.kind===259||W.kind===171||W.kind===168||W.kind===290)||W.kind===225||W.kind===223||W.kind===224||W.kind===226)return 5}return 10}else{if(Q===9)return 4;if(Q===10)return 25;if(Q===11)return he&&he.parent.kind===290?24:6;if(Q===14)return 6;if(Sv(Q))return 6;if(Q===12)return 23;if(Q===80){if(he){switch(he.parent.kind){case 262:return he.parent.name===he?11:void 0;case 167:return he.parent.name===he?15:void 0;case 263:return he.parent.name===he?13:void 0;case 265:return he.parent.name===he?12:void 0;case 266:return he.parent.name===he?14:void 0;case 168:return he.parent.name===he?JT(he)?3:17:void 0}if(Wy(he.parent))return 3}return 2}}}function fe(Q){if(Q&&HB(s,l,Q.pos,Q.getFullWidth())){n3e(e,Q.kind);for(const he of Q.getChildren(t))H(he)||fe(he)}}}var o3e,c3e=p({"src/services/classifier.ts"(){Si(),o3e=Eve([80,11,9,10,14,110,46,47,22,24,20,112,97],e=>e,()=>!0)}}),KV,Sit=p({"src/services/documentHighlights.ts"(){Si(),(e=>{function t(K,ce,le,xe,we){const Ie=Qp(le,xe);if(Ie.parent&&(vh(Ie.parent)&&Ie.parent.tagName===Ie||XT(Ie.parent))){const{openingElement:ue,closingElement:ut}=Ie.parent.parent,Ge=[ue,ut].map(({tagName:qe})=>n(qe,le));return[{fileName:le.fileName,highlightSpans:Ge}]}return s(xe,Ie,K,ce,we)||l(Ie,le)}e.getDocumentHighlights=t;function n(K,ce){return{fileName:ce.fileName,textSpan:u_(K,ce),kind:"none"}}function s(K,ce,le,xe,we){const Ie=new Set(we.map(qe=>qe.fileName)),ue=Wc.getReferenceEntriesForNode(K,ce,le,we,xe,void 0,Ie);if(!ue)return;const ut=aI(ue.map(Wc.toHighlightSpan),qe=>qe.fileName,qe=>qe.span),Ge=nf(le.useCaseSensitiveFileNames());return oo(zi(ut.entries(),([qe,Ke])=>{if(!Ie.has(qe)){if(!le.redirectTargetsMap.has(bc(qe,le.getCurrentDirectory(),Ge)))return;const Me=le.getSourceFile(qe);qe=Ve(we,st=>!!st.redirectInfo&&st.redirectInfo.redirectTarget===Me).fileName,R.assert(Ie.has(qe))}return{fileName:qe,highlightSpans:Ke}}))}function l(K,ce){const le=f(K,ce);return le&&[{fileName:ce.fileName,highlightSpans:le}]}function f(K,ce){switch(K.kind){case 101:case 93:return Gx(K.parent)?ye(K.parent,ce):void 0;case 107:return xe(K.parent,Lm,fe);case 111:return xe(K.parent,Vre,Z);case 113:case 85:case 98:const Ie=K.kind===85?K.parent.parent:K.parent;return xe(Ie,SO,Y);case 109:return xe(K.parent,TO,H);case 84:case 90:return kO(K.parent)||ED(K.parent)?xe(K.parent.parent.parent,TO,H):void 0;case 83:case 88:return xe(K.parent,mP,B);case 99:case 117:case 92:return xe(K.parent,ue=>xv(ue,!0),U);case 137:return le(El,[137]);case 139:case 153:return le(Wb,[139,153]);case 135:return xe(K.parent,R4,Q);case 134:return we(Q(K));case 127:return we(he(K));case 103:return;default:return r1(K.kind)&&(Sf(K.parent)||Yl(K.parent))?we(D(K.kind,K.parent)):void 0}function le(Ie,ue){return xe(K.parent,Ie,ut=>{var Ge;return lr((Ge=wi(ut,Xh))==null?void 0:Ge.symbol.declarations,qe=>Ie(qe)?Ve(qe.getChildren(ce),Ke=>kt(ue,Ke.kind)):void 0)})}function xe(Ie,ue,ut){return ue(Ie)?we(ut(Ie,ce)):void 0}function we(Ie){return Ie&&Ie.map(ue=>n(ue,ce))}}function d(K){return Vre(K)?[K]:SO(K)?wr(K.catchClause?d(K.catchClause):K.tryBlock&&d(K.tryBlock),K.finallyBlock&&d(K.finallyBlock)):Sa(K)?void 0:k(K,d)}function g(K){let ce=K;for(;ce.parent;){const le=ce.parent;if(Ix(le)||le.kind===311)return le;if(SO(le)&&le.tryBlock===ce&&le.catchClause)return ce;ce=le}}function h(K){return mP(K)?[K]:Sa(K)?void 0:k(K,h)}function k(K,ce){const le=[];return K.forEachChild(xe=>{const we=ce(xe);we!==void 0&&le.push(...oI(we))}),le}function T(K,ce){const le=C(ce);return!!le&&le===K}function C(K){return mn(K,ce=>{switch(ce.kind){case 254:if(K.kind===250)return!1;case 247:case 248:case 249:case 246:case 245:return!K.label||Ce(ce,K.label.escapedText);default:return Sa(ce)&&"quit"}})}function D(K,ce){return lr(O(ce,hw(K)),le=>uA(le,K))}function O(K,ce){const le=K.parent;switch(le.kind){case 267:case 311:case 240:case 295:case 296:return ce&256&&Su(K)?[...K.members,K]:le.statements;case 175:case 173:case 261:return[...le.parameters,...Ri(le.parent)?le.parent.members:[]];case 262:case 230:case 263:case 186:const xe=le.members;if(ce&92){const we=Ve(le.members,El);if(we)return[...xe,...we.parameters]}else if(ce&256)return[...xe,le];return xe;case 209:return;default:R.assertNever(le,"Invalid container kind.")}}function M(K,ce,...le){return ce&&kt(le,ce.kind)?(K.push(ce),!0):!1}function U(K){const ce=[];if(M(ce,K.getFirstToken(),99,117,92)&&K.kind===245){const le=K.getChildren();for(let xe=le.length-1;xe>=0&&!M(ce,le[xe],117);xe--);}return te(h(K.statement),le=>{T(K,le)&&M(ce,le.getFirstToken(),83,88)}),ce}function B(K){const ce=C(K);if(ce)switch(ce.kind){case 247:case 248:case 249:case 245:case 246:return U(ce);case 254:return H(ce)}}function H(K){const ce=[];return M(ce,K.getFirstToken(),109),te(K.caseBlock.clauses,le=>{M(ce,le.getFirstToken(),84,90),te(h(le),xe=>{T(K,xe)&&M(ce,xe.getFirstToken(),83)})}),ce}function Y(K,ce){const le=[];if(M(le,K.getFirstToken(),113),K.catchClause&&M(le,K.catchClause.getFirstToken(),85),K.finallyBlock){const xe=Go(K,98,ce);M(le,xe,98)}return le}function Z(K,ce){const le=g(K);if(!le)return;const xe=[];return te(d(le),we=>{xe.push(Go(we,111,ce))}),Ix(le)&&OT(le,we=>{xe.push(Go(we,107,ce))}),xe}function fe(K,ce){const le=Wp(K);if(!le)return;const xe=[];return OT(Ua(le.body,Pa),we=>{xe.push(Go(we,107,ce))}),te(d(le.body),we=>{xe.push(Go(we,111,ce))}),xe}function Q(K){const ce=Wp(K);if(!ce)return;const le=[];return ce.modifiers&&ce.modifiers.forEach(xe=>{M(le,xe,134)}),_a(ce,xe=>{W(xe,we=>{R4(we)&&M(le,we.getFirstToken(),135)})}),le}function he(K){const ce=Wp(K);if(!ce)return;const le=[];return _a(ce,xe=>{W(xe,we=>{gU(we)&&M(le,we.getFirstToken(),127)})}),le}function W(K,ce){ce(K),!Sa(K)&&!Ri(K)&&!Xf(K)&&!Al(K)&&!Mm(K)&&!ys(K)&&_a(K,le=>W(le,ce))}function ye(K,ce){const le=de(K,ce),xe=[];for(let we=0;we<le.length;we++){if(le[we].kind===93&&we<le.length-1){const Ie=le[we],ue=le[we+1];let ut=!0;for(let Ge=ue.getStart(ce)-1;Ge>=Ie.end;Ge--)if(!_h(ce.text.charCodeAt(Ge))){ut=!1;break}if(ut){xe.push({fileName:ce.fileName,textSpan:nu(Ie.getStart(),ue.end),kind:"reference"}),we++;continue}}xe.push(n(le[we],ce))}return xe}function de(K,ce){const le=[];for(;Gx(K.parent)&&K.parent.elseStatement===K;)K=K.parent;for(;;){const xe=K.getChildren(ce);M(le,xe[0],101);for(let we=xe.length-1;we>=0&&!M(le,xe[we],93);we--);if(!K.elseStatement||!Gx(K.elseStatement))break;K=K.elseStatement}return le}function Ce(K,ce){return!!mn(K.parent,le=>GT(le)?le.label.escapedText===ce:"quit")}})(KV||(KV={}))}});function e$(e){return!!e.sourceFile}function Koe(e,t){return l3e(e,t)}function l3e(e,t="",n){const s=new Map,l=nf(!!e);function f(){const B=oo(s.keys()).filter(H=>H&&H.charAt(0)==="_").map(H=>{const Y=s.get(H),Z=[];return Y.forEach((fe,Q)=>{e$(fe)?Z.push({name:Q,scriptKind:fe.sourceFile.scriptKind,refCount:fe.languageServiceRefCount}):fe.forEach((he,W)=>Z.push({name:Q,scriptKind:W,refCount:he.languageServiceRefCount}))}),Z.sort((fe,Q)=>Q.refCount-fe.refCount),{bucket:H,sourceFiles:Z}});return JSON.stringify(B,void 0,2)}function d(B){return typeof B.getCompilationSettings=="function"?B.getCompilationSettings():B}function g(B,H,Y,Z,fe,Q){const he=bc(B,t,l),W=t$(d(H));return h(B,he,H,W,Y,Z,fe,Q)}function h(B,H,Y,Z,fe,Q,he,W){return D(B,H,Y,Z,fe,Q,!0,he,W)}function k(B,H,Y,Z,fe,Q){const he=bc(B,t,l),W=t$(d(H));return T(B,he,H,W,Y,Z,fe,Q)}function T(B,H,Y,Z,fe,Q,he,W){return D(B,H,d(Y),Z,fe,Q,!1,he,W)}function C(B,H){const Y=e$(B)?B:B.get(R.checkDefined(H,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return R.assert(H===void 0||!Y||Y.sourceFile.scriptKind===H,`Script kind should match provided ScriptKind:${H} and sourceFile.scriptKind: ${Y==null?void 0:Y.sourceFile.scriptKind}, !entry: ${!Y}`),Y}function D(B,H,Y,Z,fe,Q,he,W,ye){var de,Ce,K,ce;W=TJ(B,W);const le=d(Y),xe=Y===le?void 0:Y,we=W===6?100:Eo(le),Ie=typeof ye=="object"?ye:{languageVersion:we,impliedNodeFormat:xe&&x9(H,(ce=(K=(Ce=(de=xe.getCompilerHost)==null?void 0:de.call(xe))==null?void 0:Ce.getModuleResolutionCache)==null?void 0:K.call(Ce))==null?void 0:ce.getPackageJsonInfoCache(),xe,le),setExternalModuleIndicator:J5(le)};Ie.languageVersion=we;const ue=s.size,ut=u3e(Z,Ie.impliedNodeFormat),Ge=ni(s,ut,()=>new Map);if(qi){s.size>ue&&qi.instant(qi.Phase.Session,"createdDocumentRegistryBucket",{configFilePath:le.configFilePath,key:ut});const ze=!S_(H)&&rp(s,(st,et)=>et!==ut&&st.has(H)&&et);ze&&qi.instant(qi.Phase.Session,"documentRegistryBucketOverlap",{path:H,key1:ze,key2:ut})}const qe=Ge.get(H);let Ke=qe&&C(qe,W);if(!Ke&&n){const ze=n.getDocument(ut,H);ze&&(R.assert(he),Ke={sourceFile:ze,languageServiceRefCount:0},Me())}if(Ke)Ke.sourceFile.version!==Q&&(Ke.sourceFile=ule(Ke.sourceFile,fe,Q,fe.getChangeRange(Ke.sourceFile.scriptSnapshot)),n&&n.setDocument(ut,H,Ke.sourceFile)),he&&Ke.languageServiceRefCount++;else{const ze=R$(B,fe,Ie,Q,!1,W);n&&n.setDocument(ut,H,ze),Ke={sourceFile:ze,languageServiceRefCount:1},Me()}return R.assert(Ke.languageServiceRefCount!==0),Ke.sourceFile;function Me(){if(!qe)Ge.set(H,Ke);else if(e$(qe)){const ze=new Map;ze.set(qe.sourceFile.scriptKind,qe),ze.set(W,Ke),Ge.set(H,ze)}else qe.set(W,Ke)}}function O(B,H,Y,Z){const fe=bc(B,t,l),Q=t$(H);return M(fe,Q,Y,Z)}function M(B,H,Y,Z){const fe=R.checkDefined(s.get(u3e(H,Z))),Q=fe.get(B),he=C(Q,Y);he.languageServiceRefCount--,R.assert(he.languageServiceRefCount>=0),he.languageServiceRefCount===0&&(e$(Q)?fe.delete(B):(Q.delete(Y),Q.size===1&&fe.set(B,Be(Q.values(),Kc))))}function U(B,H){return oo(s.entries(),([Y,Z])=>{const fe=Z.get(B),Q=fe&&C(fe,H);return[Y,Q&&Q.languageServiceRefCount]})}return{acquireDocument:g,acquireDocumentWithKey:h,updateDocument:k,updateDocumentWithKey:T,releaseDocument:O,releaseDocumentWithKey:M,getLanguageServiceRefCounts:U,reportStats:f,getKeyForCompilationSettings:t$}}function t$(e){return Zne(e,WU)}function u3e(e,t){return t?`${e}|${t}`:e}var xit=p({"src/services/documentRegistry.ts"(){Si()}});function f3e(e,t,n,s,l,f,d){const g=I5(s),h=nf(g),k=ece(t,n,h,d),T=ece(n,t,h,d);return jn.ChangeTracker.with({host:s,formatContext:l,preferences:f},C=>{Cit(e,C,k,t,n,s.getCurrentDirectory(),g),wit(e,C,k,T,s,h)})}function ece(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:kit(g.fileName,h,d,n):h};function f(d){if(n(d)===l)return t;const g=Ite(d,l,n);return g===void 0?void 0:t+"/"+g}}function kit(e,t,n,s){const l=CI(e,t,s);return tce(cs(n),l)}function Cit(e,t,n,s,l,f,d){const{configFile:g}=e.getCompilerOptions();if(!g)return;const h=cs(g.fileName),k=wP(g);if(!k)return;rce(k,(O,M)=>{switch(M){case"files":case"include":case"exclude":{if(T(O)||M!=="include"||!Hf(O.initializer))return;const B=lr(O.initializer.elements,Y=>yo(Y)?Y.text:void 0);if(B.length===0)return;const H=ZP(h,[],B,d,f);Nv(R.checkDefined(H.includeFilePattern),d).test(s)&&!Nv(R.checkDefined(H.includeFilePattern),d).test(l)&&t.insertNodeAfter(g,To(O.initializer.elements),V.createStringLiteral(D(l)));return}case"compilerOptions":rce(O.initializer,(U,B)=>{const H=bne(B);R.assert((H==null?void 0:H.type)!=="listOrElement"),H&&(H.isFilePath||H.type==="list"&&H.element.isFilePath)?T(U):B==="paths"&&rce(U.initializer,Y=>{if(Hf(Y.initializer))for(const Z of Y.initializer.elements)C(Z)})});return}});function T(O){const M=Hf(O.initializer)?O.initializer.elements:[O.initializer];let U=!1;for(const B of M)U=C(B)||U;return U}function C(O){if(!yo(O))return!1;const M=tce(h,O.text),U=n(M);return U!==void 0?(t.replaceRangeWithText(g,p3e(O,g),D(U)),!0):!1}function D(O){return Gh(h,O,!d)}}function wit(e,t,n,s,l,f){const d=e.getSourceFiles();for(const g of d){const h=n(g.fileName),k=h??g.fileName,T=cs(k),C=s(g.fileName),D=C||g.fileName,O=cs(D),M=h!==void 0||C!==void 0;Pit(g,t,U=>{if(!kp(U))return;const B=tce(O,U),H=n(B);return H===void 0?void 0:xT(Gh(T,H,f))},U=>{const B=e.getTypeChecker().getSymbolAtLocation(U);if(B!=null&&B.declarations&&B.declarations.some(Y=>$f(Y)))return;const H=C!==void 0?_3e(U,jD(U.text,D,e.getCompilerOptions(),l),n,d):Ait(B,U,g,e,l,n);return H!==void 0&&(H.updated||M&&kp(U.text))?nS.updateModuleSpecifier(e.getCompilerOptions(),g,f(k),H.newFileName,hk(e,l),U.text):void 0})}}function Eit(e,t){return So(vs(e,t))}function tce(e,t){return xT(Eit(e,t))}function Ait(e,t,n,s,l,f){var d;if(e){const g=Ve(e.declarations,Cs).fileName,h=f(g);return h===void 0?{newFileName:g,updated:!1}:{newFileName:h,updated:!0}}else{const g=cm(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 _3e(t,h,f,s.getSourceFiles())}}function _3e(e,t,n,s){if(!t)return;if(t.resolvedModule){const h=g(t.resolvedModule.resolvedFileName);if(h)return h}const l=te(t.failedLookupLocations,f)||kp(e.text)&&te(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&&Ve(s,T=>T.fileName===k)?d(h):void 0}function d(h){return Sl(h,"/package.json")?void 0:g(h)}function g(h){const k=n(h);return k&&{newFileName:k,updated:!0}}}function Pit(e,t,n,s){for(const l of e.referencedFiles||ft){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,p3e(l,e),f)}}function p3e(e,t){return Od(e.getStart(t)+1,e.end-1)}function rce(e,t){if(jo(e))for(const n of e.properties)pu(n)&&yo(n.name)&&t(n,n.name.text)}var Dit=p({"src/services/getEditsForFileRename.ts"(){Si()}});function iL(e,t){return{kind:e,isCaseSensitive:t}}function d3e(e){const t=new Map,n=e.trim().split(".").map(s=>Lit(s.trim()));if(!n.some(s=>!s.subWordTextChunks.length))return{getFullMatch:(s,l)=>Nit(s,l,n,t),getMatchForLastSegmentOfPattern:s=>nce(s,To(n),t),patternContainsDots:n.length>1}}function Nit(e,t,n,s){if(!nce(t,To(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=g3e(f,nce(e[g],n[d],s));return f}function m3e(e,t){let n=t.get(e);return n||t.set(e,n=T3e(e)),n}function h3e(e,t,n){const s=Mit(e,t.textLowerCase);if(s===0)return iL(t.text.length===e.length?0:1,Xs(e,t.text));if(t.isLowerCase){if(s===-1)return;const l=m3e(e,n);for(const f of l)if(ice(e,f,t.text,!0))return iL(2,ice(e,f,t.text,!1));if(t.text.length<e.length&&Kw(e.charCodeAt(s)))return iL(2,!1)}else{if(e.indexOf(t.text)>0)return iL(2,!0);if(t.characterSpans.length>0){const l=m3e(e,n),f=y3e(e,l,t,!1)?!0:y3e(e,l,t,!0)?!1:void 0;if(f!==void 0)return iL(3,f)}}}function nce(e,t,n){if(r$(t.totalTextChunk.text,f=>f!==32&&f!==42)){const f=h3e(e,t.totalTextChunk,n);if(f)return f}const s=t.subWordTextChunks;let l;for(const f of s)l=g3e(l,h3e(e,f,n));return l}function g3e(e,t){return ZY([e,t],Iit)}function Iit(e,t){return e===void 0?1:t===void 0?-1:wc(e.kind,t.kind)||yT(!e.isCaseSensitive,!t.isCaseSensitive)}function ice(e,t,n,s,l={start:0,length:n.length}){return l.length<=t.length&&k3e(0,l.length,f=>Oit(n.charCodeAt(l.start+f),e.charCodeAt(t.start+f),s))}function Oit(e,t,n){return n?sce(e)===sce(t):e===t}function y3e(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&&(!Kw(n.text.charCodeAt(l[d-1].start))||!Kw(n.text.charCodeAt(l[d].start)))||!ice(e,g,n.text,s,k))break;h=!0,g=yu(g.start+k.length,g.length-k.length)}f++}}function Lit(e){return{totalTextChunk:oce(e),subWordTextChunks:Rit(e)}}function Kw(e){if(e>=65&&e<=90)return!0;if(e<127||!jB(e,99))return!1;const t=String.fromCharCode(e);return t===t.toUpperCase()}function v3e(e){if(e>=97&&e<=122)return!0;if(e<127||!jB(e,99))return!1;const t=String.fromCharCode(e);return t===t.toLowerCase()}function Mit(e,t){const n=e.length-t.length;for(let s=0;s<=n;s++)if(r$(t,(l,f)=>sce(e.charCodeAt(f+s))===l))return s;return-1}function sce(e){return e>=65&&e<=90?97+(e-65):e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function ace(e){return e>=48&&e<=57}function Fit(e){return Kw(e)||v3e(e)||ace(e)||e===95||e===36}function Rit(e){const t=[];let n=0,s=0;for(let l=0;l<e.length;l++){const f=e.charCodeAt(l);Fit(f)?(s===0&&(n=l),s++):s>0&&(t.push(oce(e.substr(n,s))),s=0)}return s>0&&t.push(oce(e.substr(n,s))),t}function oce(e){const t=e.toLowerCase();return{text:e,textLowerCase:t,isLowerCase:e===t,characterSpans:b3e(e)}}function b3e(e){return S3e(e,!1)}function T3e(e){return S3e(e,!0)}function S3e(e,t){const n=[];let s=0;for(let l=1;l<e.length;l++){const f=ace(e.charCodeAt(l-1)),d=ace(e.charCodeAt(l)),g=jit(e,t,l),h=t&&Bit(e,l,s);(cce(e.charCodeAt(l-1))||cce(e.charCodeAt(l))||f!==d||g||h)&&(x3e(e,s,l)||n.push(yu(s,l-s)),s=l)}return x3e(e,s,e.length)||n.push(yu(s,e.length-s)),n}function cce(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 x3e(e,t,n){return r$(e,s=>cce(s)&&s!==95,t,n)}function Bit(e,t,n){return t!==n&&t+1<e.length&&Kw(e.charCodeAt(t))&&v3e(e.charCodeAt(t+1))&&r$(e,Kw,n,t)}function jit(e,t,n){const s=Kw(e.charCodeAt(n-1));return Kw(e.charCodeAt(n))&&(!t||!s)}function k3e(e,t,n){for(let s=e;s<t;s++)if(!n(s))return!1;return!0}function r$(e,t,n=0,s=e.length){return k3e(n,s,l=>t(e.charCodeAt(l),l))}var n$,Jit=p({"src/services/patternMatcher.ts"(){Si(),n$=(e=>(e[e.exact=0]="exact",e[e.prefix=1]="prefix",e[e.substring=2]="substring",e[e.camelCase=3]="camelCase",e))(n$||{})}});function C3e(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 T(){return d=g,g=Ef.scan(),g===19?h++:g===20&&h--,g}function C(){const Q=Ef.getTokenValue(),he=Ef.getTokenStart();return{fileName:Q,pos:he,end:he+Q.length}}function D(){f||(f=[]),f.push({ref:C(),depth:h})}function O(){l.push(C()),M()}function M(){h===0&&(k=!0)}function U(){let Q=Ef.getToken();return Q===138?(Q=T(),Q===144&&(Q=T(),Q===11&&D()),!0):!1}function B(){if(d===25)return!1;let Q=Ef.getToken();if(Q===102){if(Q=T(),Q===21){if(Q=T(),Q===11||Q===15)return O(),!0}else{if(Q===11)return O(),!0;if(Q===156&&Ef.lookAhead(()=>{const W=Ef.scan();return W!==160&&(W===42||W===19||W===80||b_(W))})&&(Q=T()),Q===80||b_(Q))if(Q=T(),Q===160){if(Q=T(),Q===11)return O(),!0}else if(Q===64){if(Y(!0))return!0}else if(Q===28)Q=T();else return!0;if(Q===19){for(Q=T();Q!==20&&Q!==1;)Q=T();Q===20&&(Q=T(),Q===160&&(Q=T(),Q===11&&O()))}else Q===42&&(Q=T(),Q===130&&(Q=T(),(Q===80||b_(Q))&&(Q=T(),Q===160&&(Q=T(),Q===11&&O()))))}return!0}return!1}function H(){let Q=Ef.getToken();if(Q===95){if(M(),Q=T(),Q===156&&Ef.lookAhead(()=>{const W=Ef.scan();return W===42||W===19})&&(Q=T()),Q===19){for(Q=T();Q!==20&&Q!==1;)Q=T();Q===20&&(Q=T(),Q===160&&(Q=T(),Q===11&&O()))}else if(Q===42)Q=T(),Q===160&&(Q=T(),Q===11&&O());else if(Q===102&&(Q=T(),Q===156&&Ef.lookAhead(()=>{const W=Ef.scan();return W===80||b_(W)})&&(Q=T()),(Q===80||b_(Q))&&(Q=T(),Q===64&&Y(!0))))return!0;return!0}return!1}function Y(Q,he=!1){let W=Q?T():Ef.getToken();return W===149?(W=T(),W===21&&(W=T(),(W===11||he&&W===15)&&O()),!0):!1}function Z(){let Q=Ef.getToken();if(Q===80&&Ef.getTokenValue()==="define"){if(Q=T(),Q!==21)return!0;if(Q=T(),Q===11||Q===15)if(Q=T(),Q===28)Q=T();else return!0;if(Q!==23)return!0;for(Q=T();Q!==24&&Q!==1;)(Q===11||Q===15)&&O(),Q=T();return!0}return!1}function fe(){for(Ef.setText(e),T();Ef.getToken()!==1;){if(Ef.getToken()===16){const Q=[Ef.getToken()];e:for(;G(Q);){const he=Ef.scan();switch(he){case 1:break e;case 102:B();break;case 16:Q.push(he);break;case 19:G(Q)&&Q.push(he);break;case 20:G(Q)&&(Bc(Q)===16?Ef.reScanTemplateToken(!1)===18&&Q.pop():Q.pop());break}}T()}U()||B()||H()||n&&(Y(!1,!0)||Z())||T()}Ef.setText(void 0)}if(t&&fe(),mne(s,e),hne(s,fc),k){if(f)for(const Q of f)l.push(Q.ref);return{referencedFiles:s.referencedFiles,typeReferenceDirectives:s.typeReferenceDirectives,libReferenceDirectives:s.libReferenceDirectives,importedFiles:l,isLibFile:!!s.hasNoDefaultLib,ambientExternalModules:void 0}}else{let Q;if(f)for(const he of f)he.depth===0?(Q||(Q=[]),Q.push(he.ref.fileName)):l.push(he.ref);return{referencedFiles:s.referencedFiles,typeReferenceDirectives:s.typeReferenceDirectives,libReferenceDirectives:s.libReferenceDirectives,importedFiles:l,isLibFile:!!s.hasNoDefaultLib,ambientExternalModules:Q}}}var Uit=p({"src/services/preProcess.ts"(){Si()}});function w3e(e){const t=nf(e.useCaseSensitiveFileNames()),n=e.getCurrentDirectory(),s=new Map,l=new Map;return{tryGetSourcePosition:g,tryGetGeneratedPosition:h,toLineColumnOffset:D,clearCache:O};function f(M){return bc(M,n,t)}function d(M,U){const B=f(M),H=l.get(B);if(H)return H;let Y;if(e.getDocumentPositionMapper)Y=e.getDocumentPositionMapper(M,U);else if(e.readFile){const Z=C(M);Y=Z&&E3e({getSourceFileLike:C,getCanonicalFileName:t,log:fe=>e.log(fe)},M,tEe(Z.text,Vy(Z)),fe=>!e.fileExists||e.fileExists(fe)?e.readFile(fe):void 0)}return l.set(B,Y||Sz),Y||Sz}function g(M){if(!S_(M.fileName)||!k(M.fileName))return;const B=d(M.fileName).getSourcePosition(M);return!B||B===M?void 0:g(B)||B}function h(M){if(S_(M.fileName))return;const U=k(M.fileName);if(!U)return;const B=e.getProgram();if(B.isSourceOfProjectReferenceRedirect(U.fileName))return;const H=B.getCompilerOptions(),Y=Ac(H),Z=Y?R_(Y)+".d.ts":ite(M.fileName,B.getCompilerOptions(),n,B.getCommonSourceDirectory(),t);if(Z===void 0)return;const fe=d(Z,M.fileName).getGeneratedPosition(M);return fe===M?void 0:fe}function k(M){const U=e.getProgram();if(!U)return;const B=f(M),H=U.getSourceFileByPath(B);return H&&H.resolvedPath===B?H:void 0}function T(M){const U=f(M),B=s.get(U);if(B!==void 0)return B||void 0;if(!e.readFile||e.fileExists&&!e.fileExists(U)){s.set(U,!1);return}const H=e.readFile(U),Y=H?zit(H):!1;return s.set(U,Y),Y||void 0}function C(M){return e.getSourceFileLike?e.getSourceFileLike(M):k(M)||T(M)}function D(M,U){return C(M).getLineAndCharacterOfPosition(U)}function O(){s.clear(),l.clear()}}function E3e(e,t,n,s){let l=rEe(n);if(l){const g=P3e.exec(l);if(g){if(g[1]){const h=g[1];return A3e(e,_Se(Gu,h),t)}l=void 0}}const f=[];l&&f.push(l),f.push(t+".map");const d=l&&ua(l,cs(t));for(const g of f){const h=ua(g,cs(t)),k=s(h,d);if(Wa(k))return A3e(e,k,h);if(k!==void 0)return k||void 0}}function A3e(e,t,n){const s=wie(t);if(!(!s||!s.sources||!s.file||!s.mappings)&&!(s.sourcesContent&&s.sourcesContent.some(Wa)))return oEe(e,s,n)}function zit(e,t){return{text:e,lineMap:t,getLineAndCharacterOfPosition(n){return DI(Vy(this),n)}}}var P3e,Vit=p({"src/services/sourcemaps.ts"(){Si(),P3e=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/}});function lce(e,t,n){t.getSemanticDiagnostics(e,n);const s=[],l=t.getTypeChecker();!(e.impliedNodeFormat===1||$l(e.fileName,[".cts",".cjs"]))&&e.commonJsModuleIndicator&&(yAe(t)||hoe(t.getCompilerOptions()))&&$it(e)&&s.push(ei(Git(e.commonJsModuleIndicator),v.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module));const d=qf(e);if(s$.clear(),g(e),vw(t.getCompilerOptions()))for(const h of e.imports){const k=d5(h),T=qit(k);if(!T)continue;const C=H6(e,h.text,cm(e,h)),D=C&&t.getSourceFile(C.resolvedFileName);D&&D.externalModuleIndicator&&D.externalModuleIndicator!==!0&&Pl(D.externalModuleIndicator)&&D.externalModuleIndicator.isExportEquals&&s.push(ei(T,v.Import_may_be_converted_to_a_default_import))}return Pi(s,e.bindSuggestionDiagnostics),Pi(s,t.getSuggestionDiagnostics(e,n)),s.sort((h,k)=>h.start-k.start);function g(h){if(d)Qit(h,l)&&s.push(ei(bs(h.parent)?h.parent.name:h,v.This_constructor_function_may_be_converted_to_a_class_declaration));else{if(Yl(h)&&h.parent===e&&h.declarationList.flags&2&&h.declarationList.declarations.length===1){const T=h.declarationList.declarations[0].initializer;T&&M_(T,!0)&&s.push(ei(T,v.require_call_may_be_converted_to_an_import))}const k=uf.getJSDocTypedefNode(h);k&&s.push(ei(k,v.JSDoc_typedef_may_be_converted_to_TypeScript_type)),uf.parameterShouldGetTypeFromJSDoc(h)&&s.push(ei(h.name||h,v.JSDoc_types_may_be_moved_to_TypeScript_types))}_ce(h)&&Wit(h,l,s),h.forEachChild(g)}}function $it(e){return e.statements.some(t=>{switch(t.kind){case 242:return t.declarationList.declarations.some(n=>!!n.initializer&&M_(D3e(n.initializer),!0));case 243:{const{expression:n}=t;if(!Bn(n))return M_(n,!0);const s=dl(n);return s===1||s===2}default:return!1}})}function D3e(e){return ai(e)?D3e(e.expression):e}function qit(e){switch(e.kind){case 271:const{importClause:t,moduleSpecifier:n}=e;return t&&!t.name&&t.namedBindings&&t.namedBindings.kind===273&&yo(n)?t.namedBindings.name:void 0;case 270:return e.name;default:return}}function Wit(e,t,n){Hit(e,t)&&!s$.has(L3e(e))&&n.push(ei(!e.name&&bs(e.parent)&&He(e.parent.name)?e.parent.name:e,v.This_may_be_converted_to_an_async_function))}function Hit(e,t){return!p4(e)&&e.body&&Pa(e.body)&&Xit(e.body,t)&&uce(e,t)}function uce(e,t){const n=t.getSignatureFromDeclaration(e),s=n?t.getReturnTypeOfSignature(n):void 0;return!!s&&!!t.getPromisedTypeOfPromise(s)}function Git(e){return Bn(e)?e.left:e}function Xit(e,t){return!!OT(e,n=>i$(n,t))}function i$(e,t){return Lm(e)&&!!e.expression&&fce(e.expression,t)}function fce(e,t){if(!N3e(e)||!I3e(e)||!e.arguments.every(s=>O3e(s,t)))return!1;let n=e.expression.expression;for(;N3e(n)||ai(n);)if(Ra(n)){if(!I3e(n)||!n.arguments.every(s=>O3e(s,t)))return!1;n=n.expression.expression}else n=n.expression;return!0}function N3e(e){return Ra(e)&&(M9(e,"then")||M9(e,"catch")||M9(e,"finally"))}function I3e(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||Ne(e.arguments,s=>s.kind===106||He(s)&&s.text==="undefined")}function O3e(e,t){switch(e.kind){case 261:case 217:if(Fu(e)&1)return!1;case 218:s$.set(L3e(e),!0);case 106:return!0;case 80:case 210:{const s=t.getSymbolAtLocation(e);return s?t.isUndefinedSymbol(s)||Ne(F_(s,t).declarations,l=>Sa(l)||Cv(l)&&!!l.initializer&&Sa(l.initializer)):!1}default:return!1}}function L3e(e){return`${e.pos.toString()}:${e.end.toString()}`}function Qit(e,t){var n,s,l,f;if(_c(e)){if(bs(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 au(e)?!!((f=e.symbol.members)!=null&&f.size):!1}function _ce(e){switch(e.kind){case 261:case 173:case 217:case 218:return!0;default:return!1}}var s$,Yit=p({"src/services/suggestionDiagnostics.ts"(){Si(),s$=new Map}});function M3e(e,t){const n=[],s=t.compilerOptions?pce(t.compilerOptions,n):{},l=F$();for(const D in l)uc(l,D)&&s[D]===void 0&&(s[D]=l[D]);for(const D of Jne)s.verbatimModuleSyntax&&F3e.has(D.name)||(s[D.name]=D.transpileOptionValue);s.suppressOutputPathCheck=!0,s.allowNonTsExtensions=!0;const f=l1(s),d={getSourceFile:D=>D===So(g)?h:void 0,writeFile:(D,O)=>{Vl(D,".map")?(R.assertEqual(T,void 0,"Unexpected multiple source map outputs, file:",D),T=O):(R.assertEqual(k,void 0,"Unexpected multiple outputs, file:",D),k=O)},getDefaultLibFileName:()=>"lib.d.ts",useCaseSensitiveFileNames:()=>!1,getCanonicalFileName:D=>D,getCurrentDirectory:()=>"",getNewLine:()=>f,fileExists:D=>D===g,readFile:()=>"",directoryExists:()=>!0,getDirectories:()=>[]},g=t.fileName||(t.compilerOptions&&t.compilerOptions.jsx?"module.tsx":"module.ts"),h=RO(g,e,{languageVersion:Eo(s),impliedNodeFormat:x9(bc(g,"",d.getCanonicalFileName),void 0,d,s),setExternalModuleIndicator:J5(s)});t.moduleName&&(h.moduleName=t.moduleName),t.renamedDependencies&&(h.renamedDependencies=new Map(Object.entries(t.renamedDependencies)));let k,T;const C=jz([g],s,d);return t.reportDiagnostics&&(Pi(n,C.getSyntacticDiagnostics(h)),Pi(n,C.getOptionsDiagnostics())),C.emit(void 0,void 0,void 0,void 0,t.transformers),k===void 0?R.fail("Output generation failed"):{outputText:k,diagnostics:n,sourceMapText:T}}function Zit(e,t,n,s,l){const f=M3e(e,{compilerOptions:t,fileName:n,reportDiagnostics:!!s,moduleName:l});return Pi(s,f.diagnostics),f.outputText}function pce(e,t){dce=dce||gr(r0,n=>typeof n.type=="object"&&!rp(n.type,s=>typeof s!="number")),e=pAe(e);for(const n of dce){if(!uc(e,n.name))continue;const s=e[n.name];Wa(s)?e[n.name]=BU(n,s,t):rp(n.type,l=>l===s)||t.push(sCe(n))}return e}var F3e,dce,Kit=p({"src/services/transpile.ts"(){Si(),F3e=new Set(["isolatedModules","preserveValueImports","importsNotUsedAsValues"])}});function R3e(e,t,n,s,l,f){const d=d3e(s);if(!d)return ft;const g=[];for(const h of e)n.throwIfCancellationRequested(),!(f&&h.isDeclarationFile)&&h.getNamedDeclarations().forEach((k,T)=>{est(d,T,k,t,h.fileName,g)});return g.sort(ist),(l===void 0?g:g.slice(0,l)).map(sst)}function est(e,t,n,s,l,f){const d=e.getMatchForLastSegmentOfPattern(t);if(d){for(const g of n)if(tst(g,s))if(e.patternContainsDots){const h=e.getFullMatch(nst(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 tst(e,t){switch(e.kind){case 272:case 275:case 270:const n=t.getSymbolAtLocation(e.name),s=t.getAliasedSymbol(n);return n.escapedName!==s.escapedName;default:return!0}}function rst(e,t){const n=ia(e);return!!n&&(B3e(n,t)||n.kind===166&&mce(n.expression,t))}function mce(e,t){return B3e(e,t)||ai(e)&&(t.push(e.name.text),!0)&&mce(e.expression,t)}function B3e(e,t){return Kd(e)&&(t.push(em(e)),!0)}function nst(e){const t=[],n=ia(e);if(n&&n.kind===166&&!mce(n.expression,t))return ft;t.shift();let s=pk(e);for(;s;){if(!rst(s,t))return ft;s=pk(s)}return t.reverse()}function ist(e,t){return wc(e.matchKind,t.matchKind)||cI(e.name,t.name)}function sst(e){const t=e.declaration,n=pk(t),s=n&&ia(n);return{name:e.name,kind:lS(t),kindModifiers:n8(t),matchKind:n$[e.matchKind],isCaseSensitive:e.isCaseSensitive,fileName:e.fileName,textSpan:u_(t),containerName:s?s.text:"",containerKind:s?lS(n):""}}var ast=p({"src/services/navigateTo.ts"(){Si()}}),j3e={};S(j3e,{getNavigateToItems:()=>R3e});var J3e=p({"src/services/_namespaces/ts.NavigateTo.ts"(){ast()}});function U3e(e,t){l$=t,p8=e;try{return qt(fst(q3e(e)),_st)}finally{V3e()}}function z3e(e,t){l$=t,p8=e;try{return ePe(q3e(e))}finally{V3e()}}function V3e(){p8=void 0,l$=void 0,d8=[],a0=void 0,u$=[]}function sL(e){return dA(e.getText(p8))}function a$(e){return e.node.kind}function $3e(e,t){e.children?e.children.push(t):e.children=[t]}function q3e(e){R.assert(!d8.length);const t={node:e,name:void 0,additionalNodes:void 0,parent:void 0,children:void 0,indent:0};a0=t;for(const n of e.statements)vk(n);return $v(),R.assert(!a0&&!d8.length),t}function f2(e,t){$3e(a0,hce(e,t))}function hce(e,t){return{node:e,name:t||(Sf(e)||Ct(e)?ia(e):void 0),additionalNodes:void 0,parent:a0,children:void 0,indent:a0.indent+1}}function W3e(e){eE||(eE=new Map),eE.set(e,!0)}function H3e(e){for(let t=0;t<e;t++)$v()}function G3e(e,t){const n=[];for(;!Kd(t);){const s=l5(t),l=Qy(t);t=t.expression,!(l==="prototype"||fs(s))&&n.push(s)}n.push(t);for(let s=n.length-1;s>0;s--){const l=n[s];_2(e,l)}return[n.length-1,n[0]]}function _2(e,t){const n=hce(e,t);$3e(a0,n),d8.push(a0),kce.push(eE),eE=void 0,a0=n}function $v(){a0.children&&(o$(a0.children,a0),vce(a0.children)),a0=d8.pop(),eE=kce.pop()}function qv(e,t,n){_2(e,n),vk(t),$v()}function X3e(e){e.initializer&&dst(e.initializer)?(_2(e),_a(e.initializer,vk),$v()):qv(e,e.initializer)}function gce(e){return!s1(e)||e.kind!==225&&ai(e.name.expression)&&He(e.name.expression.expression)&&Zn(e.name.expression.expression)==="Symbol"}function vk(e){if(l$.throwIfCancellationRequested(),!(!e||YC(e)))switch(e.kind){case 175:const t=e;qv(t,t.body);for(const d of t.parameters)Cp(d,t)&&f2(d);break;case 173:case 176:case 177:case 172:gce(e)&&qv(e,e.body);break;case 171:gce(e)&&X3e(e);break;case 170:gce(e)&&f2(e);break;case 272:const n=e;n.name&&f2(n.name);const{namedBindings:s}=n;if(s)if(s.kind===273)f2(s);else for(const d of s.elements)f2(d);break;case 303:qv(e,e.name);break;case 304:const{expression:l}=e;He(l)?f2(e,l):f2(e);break;case 207:case 302:case 259:{const d=e;Fa(d.name)?vk(d.name):X3e(d);break}case 261:const f=e.name;f&&He(f)&&W3e(f.text),qv(e,e.body);break;case 218:case 217:qv(e,e.body);break;case 265:_2(e);for(const d of e.members)pst(d)||f2(d);$v();break;case 262:case 230:case 263:_2(e);for(const d of e.members)vk(d);$v();break;case 266:qv(e,rPe(e).body);break;case 276:{const d=e.expression,g=jo(d)||Ra(d)?d:Dc(d)||_c(d)?d.body:void 0;g?(_2(e),vk(g),$v()):f2(e);break}case 280:case 270:case 180:case 178:case 179:case 264:f2(e);break;case 212:case 225:{const d=dl(e);switch(d){case 1:case 2:qv(e,e.right);return;case 6:case 3:{const g=e,h=g.left,k=d===3?h.expression:h;let T=0,C;He(k.expression)?(W3e(k.expression.text),C=k.expression):[T,C]=G3e(g,k.expression),d===6?jo(g.right)&&g.right.properties.length>0&&(_2(g,C),_a(g.right,vk),$v()):_c(g.right)||Dc(g.right)?qv(e,g.right,C):(_2(g,C),qv(e,g.right,h.name),$v()),H3e(T);return}case 7:case 9:{const g=e,h=d===7?g.arguments[0]:g.arguments[0].expression,k=g.arguments[1],[T,C]=G3e(e,h);_2(e,C),_2(e,wt(V.createIdentifier(k.text),k)),vk(e.arguments[2]),$v(),$v(),H3e(T);return}case 5:{const g=e,h=g.left,k=h.expression;if(He(k)&&Qy(h)!=="prototype"&&eE&&eE.has(k.text)){_c(g.right)||Dc(g.right)?qv(e,g.right,k):Mx(h)&&(_2(g,k),qv(g.left,g.right,l5(h)),$v());return}break}case 4:case 0:case 8:break;default:R.assertNever(d)}}default:Ap(e)&&te(e.jsDoc,d=>{te(d.tags,g=>{Id(g)&&f2(g)})}),_a(e,vk)}}function o$(e,t){const n=new Map;ji(e,(s,l)=>{const f=s.name||ia(s.node),d=f&&sL(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(Q3e(h,s,l,t))return!1;return g.push(s),!0}else{const h=g;return Q3e(h,s,l,t)?!1:(n.set(d,[h,s]),!0)}})}function ost(e,t,n,s){function l(g){return _c(g)||au(g)||bs(g)}const f=Bn(t.node)||Ra(t.node)?dl(t.node):0,d=Bn(e.node)||Ra(e.node)?dl(e.node):0;if(mA[f]&&mA[d]||l(e.node)&&mA[f]||l(t.node)&&mA[d]||Su(e.node)&&yce(e.node)&&mA[f]||Su(t.node)&&mA[d]||Su(e.node)&&yce(e.node)&&l(t.node)||Su(t.node)&&l(e.node)&&yce(e.node)){let g=e.additionalNodes&&Bc(e.additionalNodes)||e.node;if(!Su(e.node)&&!Su(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 T=wt(V.createConstructorDeclaration(void 0,[],void 0),k),C=hce(T);C.indent=e.indent+1,C.children=e.node===k?e.children:t.children,e.children=e.node===k?wr([C],t.children||[t]):wr(e.children||[{...e}],[C])}else(e.children||t.children)&&(e.children=wr(e.children||[{...e}],t.children||[t]),e.children&&(o$(e.children,e),vce(e.children)));g=e.node=wt(V.createClassDeclaration(void 0,e.name||V.createIdentifier("__class__"),void 0,void 0,[]),e.node)}else e.children=wr(e.children,t.children),e.children&&o$(e.children,e);const h=t.node;return s.children[n-1].node.end===g.end?wt(g,{pos:g.pos,end:h.end}):(e.additionalNodes||(e.additionalNodes=[]),e.additionalNodes.push(wt(V.createClassDeclaration(void 0,e.name||V.createIdentifier("__class__"),void 0,void 0,[]),t.node))),!0}return f!==0}function Q3e(e,t,n,s){return ost(e,t,n,s)?!0:cst(e.node,t.node,s)?(lst(e,t),!0):!1}function cst(e,t,n){if(e.kind!==t.kind||e.parent!==t.parent&&!(Y3e(e,n)&&Y3e(t,n)))return!1;switch(e.kind){case 171:case 173:case 176:case 177:return Aa(e)===Aa(t);case 266:return Z3e(e,t)&&Sce(e)===Sce(t);default:return!0}}function yce(e){return!!(e.flags&8)}function Y3e(e,t){const n=yh(e.parent)?e.parent.parent:e.parent;return n===t.node||kt(t.additionalNodes,n)}function Z3e(e,t){return!e.body||!t.body?e.body===t.body:e.body.kind===t.body.kind&&(e.body.kind!==266||Z3e(e.body,t.body))}function lst(e,t){e.additionalNodes=e.additionalNodes||[],e.additionalNodes.push(t.node),t.additionalNodes&&e.additionalNodes.push(...t.additionalNodes),e.children=wr(e.children,t.children),e.children&&(o$(e.children,e),vce(e.children))}function vce(e){e.sort(ust)}function ust(e,t){return cI(K3e(e.node),K3e(t.node))||wc(a$(e),a$(t))}function K3e(e){if(e.kind===266)return tPe(e);const t=ia(e);if(t&&sl(t)){const n=Zb(t);return n&&xs(n)}switch(e.kind){case 217:case 218:case 230:return iPe(e);default:return}}function bce(e,t){if(e.kind===266)return dA(tPe(e));if(t){const n=He(t)?t.text:Pc(t)?`[${sL(t.argumentExpression)}]`:sL(t);if(n.length>0)return dA(n)}switch(e.kind){case 311:const n=e;return Ul(n)?`"${_w(Xu(R_(So(n.fileName))))}"`:"<global>";case 276:return Pl(e)&&e.isExportEquals?"export=":"default";case 218:case 261:case 217:case 262:case 230:return Pv(e)&1024?"default":iPe(e);case 175:return"constructor";case 179:return"new()";case 178:return"()";case 180:return"[]";default:return"<unknown>"}}function fst(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(a$(l)){case 262:case 230:case 265:case 263:case 266:case 311:case 264:case 352:case 344:return!0;case 218:case 261:case 217:return f(l);default:return!1}function f(d){if(!d.node.body)return!1;switch(a$(d.parent)){case 267:case 311:case 173:case 175:return!0;default:return!1}}}}function ePe(e){return{text:bce(e.node,e.name),kind:lS(e.node),kindModifiers:nPe(e.node),spans:Tce(e),nameSpan:e.name&&xce(e.name),childItems:qt(e.children,ePe)}}function _st(e){return{text:bce(e.node,e.name),kind:lS(e.node),kindModifiers:nPe(e.node),spans:Tce(e),childItems:qt(e.children,t)||u$,indent:e.indent,bolded:!1,grayed:!1};function t(n){return{text:bce(n.node,n.name),kind:lS(n.node),kindModifiers:n8(n.node),spans:Tce(n),childItems:u$,indent:0,bolded:!1,grayed:!1}}}function Tce(e){const t=[xce(e.node)];if(e.additionalNodes)for(const n of e.additionalNodes)t.push(xce(n));return t}function tPe(e){return $f(e)?iu(e.name):Sce(e)}function Sce(e){const t=[em(e.name)];for(;e.body&&e.body.kind===266;)e=e.body,t.push(em(e.name));return t.join(".")}function rPe(e){return e.body&&Al(e.body)?rPe(e.body):e}function pst(e){return!e.name||e.name.kind===166}function xce(e){return e.kind===311?Uv(e):u_(e,p8)}function nPe(e){return e.parent&&e.parent.kind===259&&(e=e.parent),n8(e)}function iPe(e){const{parent:t}=e;if(e.name&&HI(e.name)>0)return dA(ac(e.name));if(bs(t))return dA(ac(t.name));if(Bn(t)&&t.operatorToken.kind===64)return sL(t.left).replace(aPe,"");if(pu(t))return sL(t.name);if(Pv(e)&1024)return"default";if(Ri(e))return"<class>";if(Ra(t)){let n=sPe(t.expression);if(n!==void 0){if(n=dA(n),n.length>c$)return`${n} callback`;const s=dA(lr(t.arguments,l=>Yo(l)?l.getText(p8):void 0).join(", "));return`${n}(${s}) callback`}}return"<function>"}function sPe(e){if(He(e))return e.text;if(ai(e)){const t=sPe(e.expression),n=e.name.text;return t===void 0?n:`${t}.${n}`}else return}function dst(e){switch(e.kind){case 218:case 217:case 230:return!0;default:return!1}}function dA(e){return e=e.length>c$?e.substring(0,c$)+"...":e,e.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}var aPe,c$,l$,p8,d8,a0,kce,eE,u$,mA,mst=p({"src/services/navigationBar.ts"(){Si(),aPe=/\s+/g,c$=150,d8=[],kce=[],u$=[],mA={[5]:!0,[3]:!0,[7]:!0,[9]:!0,[0]:!1,[1]:!1,[2]:!1,[8]:!1,[6]:!0,[4]:!1}}}),oPe={};S(oPe,{getNavigationBarItems:()=>U3e,getNavigationTree:()=>z3e});var cPe=p({"src/services/_namespaces/ts.NavigationBar.ts"(){mst()}});function sy(e,t){f$.set(e,t)}function hst(e,t){return oo(yr(f$.values(),n=>{var s;return e.cancellationToken&&e.cancellationToken.isCancellationRequested()||!((s=n.kinds)!=null&&s.some(l=>Wv(l,e.kind)))?void 0:n.getAvailableActions(e,t)}))}function gst(e,t,n,s){const l=f$.get(t);return l&&l.getEditsForAction(e,n,s)}var f$,lPe=p({"src/services/refactorProvider.ts"(){Si(),mg(),f$=new Map}});function uPe(e,t=!0){const{file:n,program:s}=e,l=Yw(e),f=Os(n,l.start),d=f.parent&&Pv(f.parent)&1&&t?f.parent:X9(f,n,l);if(!d||!Cs(d.parent)&&!(yh(d.parent)&&$f(d.parent.parent)))return{error:so(v.Could_not_find_export_statement)};const g=s.getTypeChecker(),h=xst(d.parent,g),k=Pv(d)||(Pl(d)&&!d.isExportEquals?1025:0),T=!!(k&1024);if(!(k&1)||!T&&h.exports.has("default"))return{error:so(v.This_file_already_has_a_default_export)};const C=D=>He(D)&&g.getSymbolAtLocation(D)?void 0:{error:so(v.Can_only_convert_named_export)};switch(d.kind){case 261:case 262:case 263:case 265:case 264:case 266:{const D=d;return D.name?C(D.name)||{exportNode:D,exportName:D.name,wasDefault:T,exportingModuleSymbol:h}:void 0}case 242:{const D=d;if(!(D.declarationList.flags&2)||D.declarationList.declarations.length!==1)return;const O=Oo(D.declarationList.declarations);return O.initializer?(R.assert(!T,"Can't have a default flag here"),C(O.name)||{exportNode:D,exportName:O.name,wasDefault:T,exportingModuleSymbol:h}):void 0}case 276:{const D=d;return D.isExportEquals?void 0:C(D.expression)||{exportNode:D,exportName:D.expression,wasDefault:T,exportingModuleSymbol:h}}default:return}}function yst(e,t,n,s,l){vst(e,n,s,t.getTypeChecker()),bst(t,n,s,l)}function vst(e,{wasDefault:t,exportNode:n,exportName:s},l,f){if(t)if(Pl(n)&&!n.isExportEquals){const d=n.expression,g=fPe(d.text,d.text);l.replaceNode(e,n,V.createExportDeclaration(void 0,!1,V.createNamedExports([g])))}else l.delete(e,R.checkDefined(uA(n,90),"Should find a default keyword in modifier list"));else{const d=R.checkDefined(uA(n,95),"Should find an export keyword in modifier list");switch(n.kind){case 261:case 262:case 263:l.insertNodeAfter(e,d,V.createToken(90));break;case 242:const g=Oo(n.declarationList.declarations);if(!Wc.Core.isSymbolReferencedInFile(s,f,e)&&!g.type){l.replaceNode(e,n,V.createExportDefault(R.checkDefined(g.initializer,"Initializer was previously known to be present")));break}case 265:case 264:case 266:l.deleteModifier(e,d),l.insertNodeAfter(e,n,V.createExportDefault(V.createIdentifier(s.text)));break;default:R.fail(`Unexpected exportNode kind ${n.kind}`)}}}function bst(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?Tst(k,h,l,n.text):Sst(k,h,l)})}function Tst(e,t,n,s){const{parent:l}=t;switch(l.kind){case 210:n.replaceNode(e,t,V.createIdentifier(s));break;case 275:case 280:{const d=l;n.replaceNode(e,d,Cce(s,d.name.text));break}case 272:{const d=l;R.assert(d.name===t,"Import clause name should match provided ref");const g=Cce(s,t.text),{namedBindings:h}=d;if(!h)n.replaceNode(e,t,V.createNamedImports([g]));else if(h.kind===273){n.deleteRange(e,{pos:t.getStart(e),end:h.getStart(e)});const k=yo(d.parent.moduleSpecifier)?yoe(d.parent.moduleSpecifier,e):1,T=T1(void 0,[Cce(s,t.text)],d.parent.moduleSpecifier,k);n.insertNodeAfter(e,d.parent,T)}else n.delete(e,t),n.insertNodeAtEndOfList(e,h.elements,g);break}case 204:const f=l;n.replaceNode(e,l,V.createImportTypeNode(f.argument,f.assertions,V.createIdentifier(s),f.typeArguments,f.isTypeOf));break;default:R.failBadSyntaxKind(l)}}function Sst(e,t,n){const s=t.parent;switch(s.kind){case 210:n.replaceNode(e,t,V.createIdentifier("default"));break;case 275:{const l=V.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 280:{n.replaceNode(e,s,fPe("default",s.name.text));break}default:R.assertNever(s,`Unexpected parent kind ${s.kind}`)}}function Cce(e,t){return V.createImportSpecifier(!1,e===t?void 0:V.createIdentifier(e),V.createIdentifier(t))}function fPe(e,t){return V.createExportSpecifier(!1,e===t?void 0:V.createIdentifier(e),V.createIdentifier(t))}function xst(e,t){if(Cs(e))return e.symbol;const n=e.parent.symbol;return n.valueDeclaration&&DT(n.valueDeclaration)?t.getMergedSymbol(n):n}var _$,aL,oL,kst=p({"src/services/refactors/convertExport.ts"(){Si(),mg(),_$="Convert export",aL={name:"Convert default export to named export",description:v.Convert_default_export_to_named_export.message,kind:"refactor.rewrite.export.named"},oL={name:"Convert named export to default export",description:v.Convert_named_export_to_default_export.message,kind:"refactor.rewrite.export.default"},sy(_$,{kinds:[aL.kind,oL.kind],getAvailableActions:function(t){const n=uPe(t,t.triggerReason==="invoked");if(!n)return ft;if(!ay(n)){const s=n.wasDefault?aL:oL;return[{name:_$,description:s.description,actions:[s]}]}return t.preferences.provideRefactorNotApplicableReason?[{name:_$,description:v.Convert_default_export_to_named_export.message,actions:[{...aL,notApplicableReason:n.error},{...oL,notApplicableReason:n.error}]}]:ft},getEditsForAction:function(t,n){R.assert(n===aL.name||n===oL.name,"Unexpected action name");const s=uPe(t);return R.assert(s&&!ay(s),"Expected applicable refactor info"),{edits:jn.ChangeTracker.with(t,f=>yst(t.file,t.program,s,f,t.cancellationToken)),renameFilename:void 0,renameLocation:void 0}}})}});function _Pe(e,t=!0){const{file:n}=e,s=Yw(e),l=Os(n,s.start),f=t?mn(l,ju):X9(l,n,s);if(!f||!ju(f))return{error:"Selection is not an import declaration."};const d=s.start+s.length,g=dk(f,f.parent,n);if(g&&d>g.getStart())return;const{importClause:h}=f;return h?h.namedBindings?h.namedBindings.kind===273?{convertTo:0,import:h.namedBindings}:pPe(e.program,h)?{convertTo:1,import:h.namedBindings}:{convertTo:2,import:h.namedBindings}:{error:so(v.Could_not_find_namespace_import_or_named_imports)}:{error:so(v.Could_not_find_import_clause)}}function pPe(e,t){return vw(e.getCompilerOptions())&&Ast(t.parent.moduleSpecifier,e.getTypeChecker())}function Cst(e,t,n,s){const l=t.getTypeChecker();s.convertTo===0?wst(e,l,n,s.import,vw(t.getCompilerOptions())):mPe(e,t,n,s.import,s.convertTo===1)}function wst(e,t,n,s,l){let f=!1;const d=[],g=new Map;Wc.Core.eachSymbolReferenceInFile(s.name,t,e,C=>{if(!T2e(C.parent))f=!0;else{const D=dPe(C.parent).text;t.resolveName(D,C,67108863,!0)&&g.set(D,!0),R.assert(Est(C.parent)===C,"Parent expression should match id"),d.push(C.parent)}});const h=new Map;for(const C of d){const D=dPe(C).text;let O=h.get(D);O===void 0&&h.set(D,O=g.has(D)?yk(D,e):D),n.replaceNode(e,C,V.createIdentifier(O))}const k=[];h.forEach((C,D)=>{k.push(V.createImportSpecifier(!1,C===D?void 0:V.createIdentifier(D),V.createIdentifier(C)))});const T=s.parent.parent;f&&!l?n.insertNodeAfter(e,T,wce(T,void 0,k)):n.replaceNode(e,T,wce(T,f?V.createIdentifier(s.name.text):void 0,k))}function dPe(e){return ai(e)?e.name:e.right}function Est(e){return ai(e)?e.expression:e.left}function mPe(e,t,n,s,l=pPe(t,s.parent)){const f=t.getTypeChecker(),d=s.parent.parent,{moduleSpecifier:g}=d,h=new Set;s.elements.forEach(M=>{const U=f.getSymbolAtLocation(M.name);U&&h.add(U)});const k=g&&yo(g)?uf.moduleSpecifierToValidIdentifier(g.text,99):"module";function T(M){return!!Wc.Core.eachSymbolReferenceInFile(M.name,f,e,U=>{const B=f.resolveName(k,U,67108863,!0);return B?h.has(B)?T_(U.parent):!0:!1})}const D=s.elements.some(T)?yk(k,e):k,O=new Set;for(const M of s.elements){const U=(M.propertyName||M.name).text;Wc.Core.eachSymbolReferenceInFile(M.name,f,e,B=>{const H=V.createPropertyAccessExpression(V.createIdentifier(D),U);hd(B.parent)?n.replaceNode(e,B.parent,V.createPropertyAssignment(B.text,H)):T_(B.parent)?O.add(M):n.replaceNode(e,B,H)})}if(n.replaceNode(e,s,l?V.createIdentifier(D):V.createNamespaceImport(V.createIdentifier(D))),O.size){const M=oo(O.values(),U=>V.createImportSpecifier(U.isTypeOnly,U.propertyName&&V.createIdentifier(U.propertyName.text),V.createIdentifier(U.name.text)));n.insertNodeAfter(e,s.parent.parent,wce(d,void 0,M))}}function Ast(e,t){const n=t.resolveExternalModuleName(e);if(!n)return!1;const s=t.resolveExternalModuleSymbol(n);return n!==s}function wce(e,t,n){return V.createImportDeclaration(void 0,V.createImportClause(!1,t,n&&n.length?V.createNamedImports(n):void 0),e.moduleSpecifier,void 0)}var p$,cL,Pst=p({"src/services/refactors/convertImport.ts"(){Si(),mg(),p$="Convert import",cL={[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"}},sy(p$,{kinds:UC(cL).map(e=>e.kind),getAvailableActions:function(t){const n=_Pe(t,t.triggerReason==="invoked");if(!n)return ft;if(!ay(n)){const s=cL[n.convertTo];return[{name:p$,description:s.description,actions:[s]}]}return t.preferences.provideRefactorNotApplicableReason?UC(cL).map(s=>({name:p$,description:s.description,actions:[{...s,notApplicableReason:n.error}]})):ft},getEditsForAction:function(t,n){R.assert(Ne(UC(cL),f=>f.name===n),"Unexpected action name");const s=_Pe(t);return R.assert(s&&!ay(s),"Expected applicable refactor info"),{edits:jn.ChangeTracker.with(t,f=>Cst(t.file,t.program,f,s)),renameFilename:void 0,renameLocation:void 0}}})}});function hPe(e,t=!0){const{file:n,startPosition:s}=e,l=qf(n),f=Os(n,s),d=TV(Yw(e)),g=d.pos===d.end&&t,h=mn(f,O=>O.parent&&ys(O)&&!p2(d,O.parent,n)&&(g||eoe(f,n,d.pos,d.end)));if(!h||!ys(h))return{error:so(v.Selection_is_not_a_valid_type_node)};const k=e.program.getTypeChecker(),T=Lst(h,l);if(T===void 0)return{error:so(v.No_type_could_be_extracted_from_this_type_node)};const C=Dst(k,h,T,n);if(!C)return{error:so(v.No_type_could_be_extracted_from_this_type_node)};const D=Ece(k,h);return{isJS:l,selection:h,enclosingNode:T,typeParameters:C,typeElements:D}}function Ece(e,t){if(t)if(yO(t)){const n=[],s=new Map;for(const l of t.types){const f=Ece(e,l);if(!f||!f.every(d=>d.name&&Dm(s,H9(d.name))))return;Pi(n,f)}return n}else{if(Dw(t))return Ece(e,t.type);if(Ip(t))return t.members}}function p2(e,t,n){return j9(e,fo(n.text,t.pos),t.end)}function Dst(e,t,n,s){const l=[];return f(t)?void 0:l;function f(d){if(Im(d)){if(He(d.typeName)){const g=d.typeName,h=e.resolveName(g.text,g,262144,!0);for(const k of(h==null?void 0:h.declarations)||ft)if(qc(k)&&k.getSourceFile()===s){if(k.name.escapedText===g.escapedText&&p2(k,t,s))return!0;if(p2(n,k,s)&&!p2(t,k,s)){Sp(l,k);break}}}}else if(Pw(d)){const g=mn(d,h=>M4(h)&&p2(h.extendsType,d,s));if(!g||!p2(t,g,s))return!0}else if(dU(d)||mU(d)){const g=mn(d.parent,Sa);if(g&&g.type&&p2(g.type,d,s)&&!p2(t,g,s))return!0}else if(vD(d)){if(He(d.exprName)){const g=e.resolveName(d.exprName.text,d.exprName,111551,!1);if(g!=null&&g.valueDeclaration&&p2(n,g.valueDeclaration,s)&&!p2(t,g.valueDeclaration,s))return!0}else if(JT(d.exprName.left)&&!p2(t,d.parent,s))return!0}return s&&L4(d)&&Vc(s,d.pos).line===Vc(s,d.end).line&&An(d,1),_a(d,f)}}function Nst(e,t,n,s){const{enclosingNode:l,selection:f,typeParameters:d}=s,g=V.createTypeAliasDeclaration(void 0,n,d.map(h=>V.updateTypeParameterDeclaration(h,h.modifiers,h.name,h.constraint,void 0)),f);e.insertNodeBefore(t,l,Are(g),!0),e.replaceNode(t,f,V.createTypeReferenceNode(n,d.map(h=>V.createTypeReferenceNode(h.name,void 0))),{leadingTriviaOption:jn.LeadingTriviaOption.Exclude,trailingTriviaOption:jn.TrailingTriviaOption.ExcludeWhitespace})}function Ist(e,t,n,s){var l;const{enclosingNode:f,selection:d,typeParameters:g,typeElements:h}=s,k=V.createInterfaceDeclaration(void 0,n,g,void 0,h);wt(k,(l=h[0])==null?void 0:l.parent),e.insertNodeBefore(t,f,Are(k),!0),e.replaceNode(t,d,V.createTypeReferenceNode(n,g.map(T=>V.createTypeReferenceNode(T.name,void 0))),{leadingTriviaOption:jn.LeadingTriviaOption.Exclude,trailingTriviaOption:jn.TrailingTriviaOption.ExcludeWhitespace})}function Ost(e,t,n,s,l){var f;const{enclosingNode:d,selection:g,typeParameters:h}=l;An(g,7168);const k=V.createJSDocTypedefTag(V.createIdentifier("typedef"),V.createJSDocTypeExpression(g),V.createIdentifier(s)),T=[];te(h,D=>{const O=B6(D),M=V.createTypeParameterDeclaration(void 0,D.name),U=V.createJSDocTemplateTag(V.createIdentifier("template"),O&&Ua(O,Zx),[M]);T.push(U)});const C=V.createJSDocComment(void 0,V.createNodeArray(wr(T,[k])));if(sm(d)){const D=d.getStart(n),O=zv(t.host,(f=t.formatContext)==null?void 0:f.options);e.insertNodeAt(n,d.getStart(n),C,{suffix:O+O+n.text.slice(NV(n.text,D-1),D)})}else e.insertNodeBefore(n,d,C,!0);e.replaceNode(n,g,V.createTypeReferenceNode(s,h.map(D=>V.createTypeReferenceNode(D.name,void 0))))}function Lst(e,t){return mn(e,Vs)||(t?mn(e,sm):void 0)}var d$,lL,uL,fL,Mst=p({"src/services/refactors/extractType.ts"(){Si(),mg(),d$="Extract type",lL={name:"Extract to type alias",description:so(v.Extract_to_type_alias),kind:"refactor.extract.type"},uL={name:"Extract to interface",description:so(v.Extract_to_interface),kind:"refactor.extract.interface"},fL={name:"Extract to typedef",description:so(v.Extract_to_typedef),kind:"refactor.extract.typedef"},sy(d$,{kinds:[lL.kind,uL.kind,fL.kind],getAvailableActions:function(t){const n=hPe(t,t.triggerReason==="invoked");return n?ay(n)?t.preferences.provideRefactorNotApplicableReason?[{name:d$,description:so(v.Extract_type),actions:[{...fL,notApplicableReason:n.error},{...lL,notApplicableReason:n.error},{...uL,notApplicableReason:n.error}]}]:ft:[{name:d$,description:so(v.Extract_type),actions:n.isJS?[fL]:zr([lL],n.typeElements&&uL)}]:ft},getEditsForAction:function(t,n){const{file:s}=t,l=hPe(t);R.assert(l&&!ay(l),"Expected to find a range to extract");const f=yk("NewType",s),d=jn.ChangeTracker.with(t,k=>{switch(n){case lL.name:return R.assert(!l.isJS,"Invalid actionName/JS combo"),Nst(k,s,f,l);case fL.name:return R.assert(l.isJS,"Invalid actionName/JS combo"),Ost(k,t,s,f,l);case uL.name:return R.assert(!l.isJS&&!!l.typeElements,"Invalid actionName/JS combo"),Ist(k,s,f,l);default:R.fail("Unexpected action name")}}),g=s.fileName,h=K9(d,g,f,!1);return{edits:d,renameFilename:g,renameLocation:h}}})}});function ay(e){return e.error!==void 0}function Wv(e,t){return t?e.substr(0,t.length)===t:!0}var Fst=p({"src/services/refactors/helpers.ts"(){}});function Rst(e,t,n,s,l,f,d){const g=t.getTypeChecker(),h=y$(e,n.all,g),k=Bce(e,t,d,l);s.createNewFile(e,k,Bst(e,h,s,n,t,l,k,f)),Ace(t,s,e.fileName,k,a1(l))}function Bst(e,t,n,s,l,f,d,g){const h=l.getTypeChecker(),k=uI(e.statements,Yd);if(e.externalModuleIndicator===void 0&&e.commonJsModuleIndicator===void 0&&t.oldImportsNeededByTargetFile.size===0)return _L(e,s.ranges,n),[...k,...s.all];const T=!Voe(d,l,f,!!e.commonJsModuleIndicator),C=gd(e,g),D=Ice(e,t.oldFileImportsFromTargetFile,d,l,f,T,C);D&&s8(n,e,D,!0,g),Pce(e,s.all,n,t.unusedImportsFromOldFile,h),_L(e,s.ranges,n),Dce(n,l,f,e,t.movedSymbols,d,C);const O=jst(e,t.oldImportsNeededByTargetFile,t.targetFileImportsFromOldFile,n,h,l,f,T,C),M=Oce(e,s.all,t.oldFileImportsFromTargetFile,T);return O.length&&M.length?[...k,...O,4,...M]:[...k,...O,...M]}function jst(e,t,n,s,l,f,d,g,h){const k=[];for(const O of e.statements)g8(O,M=>{zr(k,y8(M,h8(M),U=>t.has(l.getSymbolAtLocation(U))))});let T;const C=[],D=Xw();return n.forEach(O=>{if(O.declarations)for(const M of O.declarations){if(!v$(M))continue;const U=Fce(M);if(!U)continue;const B=g$(M);D(B)&&Rce(e,B,U,s,g),gi(M,1024)?T=U:C.push(U.text)}}),zr(k,pL(e,T,C,Xu(e.fileName),f,d,g,h)),k}var m8,m$,h$,Jst=p({"src/services/refactors/moveToNewFile.ts"(){Si(),mg(),m8="Move to a new file",m$=so(v.Move_to_a_new_file),h$={name:m8,description:m$,kind:"refactor.move.newFile"},sy(m8,{kinds:[h$.kind],getAvailableActions:function(t){const n=v8(t);return t.preferences.allowTextChangesInNewFiles&&n?[{name:m8,description:m$,actions:[h$]}]:t.preferences.provideRefactorNotApplicableReason?[{name:m8,description:m$,actions:[{...h$,notApplicableReason:so(v.Selection_is_not_a_valid_statement_or_statements)}]}]:ft},getEditsForAction:function(t,n){R.assert(n===m8,"Wrong refactor invoked");const s=R.checkDefined(v8(t));return{edits:jn.ChangeTracker.with(t,f=>Rst(t.file,t.program,s,f,t.host,t.preferences,t)),renameFilename:void 0,renameLocation:void 0}}})}});function Ust(e,t,n,s,l,f,d,g){const h=s.getTypeChecker(),k=y$(t,l.all,h);if(!d.fileExists(n))f.createNewFile(t,n,gPe(t,n,k,f,l,s,d,g)),Ace(s,f,t.fileName,n,a1(d));else{const T=R.checkDefined(s.getSourceFile(n)),C=uf.createImportAdder(T,e.program,e.preferences,e.host);gPe(t,T,k,f,l,s,d,g,C)}}function gPe(e,t,n,s,l,f,d,g,h){const k=f.getTypeChecker(),T=uI(e.statements,Yd);if(e.externalModuleIndicator===void 0&&e.commonJsModuleIndicator===void 0&&n.oldImportsNeededByTargetFile.size===0&&n.targetFileImportsFromOldFile.size===0&&typeof t=="string")return _L(e,l.ranges,s),[...T,...l.all];const C=typeof t=="string"?t:t.fileName,D=!Voe(C,f,d,!!e.commonJsModuleIndicator),O=gd(e,g),M=Ice(e,n.oldFileImportsFromTargetFile,C,f,d,D,O);M&&s8(s,e,M,!0,g),Pce(e,l.all,s,n.unusedImportsFromOldFile,k),_L(e,l.ranges,s),Dce(s,f,d,e,n.movedSymbols,C,O);const U=zst(e,C,n.oldImportsNeededByTargetFile,n.targetFileImportsFromOldFile,s,k,f,d,D,O,h),B=Oce(e,l.all,n.oldFileImportsFromTargetFile,D);return typeof t!="string"&&(t.statements.length>0?s.insertNodesAfter(t,t.statements[t.statements.length-1],B):s.insertNodesAtEndOfFile(t,B,!1),U.length>0&&s8(s,t,U,!0,g)),h&&h.writeFixes(s),U.length&&B.length?[...T,...U,4,...B]:[...T,...U,...B]}function zst(e,t,n,s,l,f,d,g,h,k,T){const C=[];if(T)n.forEach((B,H)=>{try{T.addImportFromExportedSymbol(F_(H,f),B)}catch{for(const Y of e.statements)g8(Y,Z=>{zr(C,y8(Z,V.createStringLiteral(h8(Z).text),fe=>n.has(f.getSymbolAtLocation(fe))))})}});else{const B=d.getSourceFile(t);for(const H of e.statements)g8(H,Y=>{var Z,fe;const Q=h8(Y),he=(Z=e.resolvedModules)==null?void 0:Z.get(Q.text,cm(e,Q)),W=(fe=he==null?void 0:he.resolvedModule)==null?void 0:fe.resolvedFileName;if(W&&B){const ye=a9(d.getCompilerOptions(),B,B.path,W,hk(d,g));zr(C,y8(Y,Qw(ye,k),de=>n.has(f.getSymbolAtLocation(de))))}else zr(C,y8(Y,V.createStringLiteral(h8(Y).text),ye=>n.has(f.getSymbolAtLocation(ye))))})}const D=d.getSourceFile(t);let O;const M=[],U=Xw();return s.forEach(B=>{if(B.declarations)for(const H of B.declarations){if(!v$(H))continue;const Y=Fce(H);if(!Y)continue;const Z=g$(H);U(Z)&&Rce(e,Z,Y,l,h),T&&f.isUnknownSymbol(B)?T.addImportFromExportedSymbol(F_(B,f)):gi(H,1024)?O=Y:M.push(Y.text)}}),D?zr(C,pL(D,O,M,e.fileName,d,g,h,k)):zr(C,pL(e,O,M,e.fileName,d,g,h,k))}function Ace(e,t,n,s,l){const f=e.getCompilerOptions().configFile;if(!f)return;const d=So(vs(n,"..",s)),g=CI(f.fileName,d,l),h=f.statements[0]&&wi(f.statements[0].expression,jo),k=h&&Ve(h.properties,T=>pu(T)&&yo(T.name)&&T.name.text==="files");k&&Hf(k.initializer)&&t.insertNodeInListAfter(f,To(k.initializer.elements),V.createStringLiteral(g),k.initializer.elements)}function _L(e,t,n){for(const{first:s,afterLast:l}of t)n.deleteNodeRangeExcludingEnd(e,s,l)}function Pce(e,t,n,s,l){for(const f of e.statements)kt(t,f)||g8(f,d=>Lce(e,d,n,g=>s.has(l.getSymbolAtLocation(g))))}function Dce(e,t,n,s,l,f,d){const g=t.getTypeChecker();for(const h of t.getSourceFiles())if(h!==s)for(const k of h.statements)g8(k,T=>{if(g.getSymbolAtLocation(h8(T))!==s.symbol)return;const C=B=>{const H=Lo(B.parent)?PV(g,B.parent):F_(g.getSymbolAtLocation(B),g);return!!H&&l.has(H)};Lce(h,T,e,C);const D=hv(cs(s.path),f),O=a9(t.getCompilerOptions(),h,h.path,D,hk(t,n)),M=y8(T,Qw(O,d),C);M&&e.insertNodeAfter(h,k,M);const U=Vst(T);U&&$st(e,h,g,l,O,U,T,d)})}function Vst(e){switch(e.kind){case 271:return e.importClause&&e.importClause.namedBindings&&e.importClause.namedBindings.kind===273?e.importClause.namedBindings.name:void 0;case 270:return e.name;case 259:return wi(e.name,He);default:return R.assertNever(e,`Unexpected node kind ${e.kind}`)}}function $st(e,t,n,s,l,f,d,g){const h=uf.moduleSpecifierToValidIdentifier(l,99);let k=!1;const T=[];if(Wc.Core.eachSymbolReferenceInFile(f,n,t,C=>{ai(C.parent)&&(k=k||!!n.resolveName(h,C,67108863,!0),s.has(n.getSymbolAtLocation(C.parent.name))&&T.push(C))}),T.length){const C=k?yk(h,t):h;for(const D of T)e.replaceNode(t,D,V.createIdentifier(C));e.insertNodeAfter(t,d,qst(d,h,l,g))}}function qst(e,t,n,s){const l=V.createIdentifier(t),f=Qw(n,s);switch(e.kind){case 271:return V.createImportDeclaration(void 0,V.createImportClause(!1,void 0,V.createNamespaceImport(l)),f,void 0);case 270:return V.createImportEqualsDeclaration(void 0,!1,l,V.createExternalModuleReference(f));case 259:return V.createVariableDeclaration(l,void 0,void 0,Nce(f));default:return R.assertNever(e,`Unexpected node kind ${e.kind}`)}}function Nce(e){return V.createCallExpression(V.createIdentifier("require"),void 0,[e])}function h8(e){return e.kind===271?e.moduleSpecifier:e.kind===270?e.moduleReference.expression:e.initializer.arguments[0]}function g8(e,t){if(ju(e))yo(e.moduleSpecifier)&&t(e);else if(cf(e))fg(e.moduleReference)&&Yo(e.moduleReference.expression)&&t(e);else if(Yl(e))for(const n of e.declarationList.declarations)n.initializer&&M_(n.initializer,!0)&&t(n)}function Ice(e,t,n,s,l,f,d){let g;const h=[];return t.forEach(k=>{k.escapedName==="default"?g=V.createIdentifier(wV(k)):h.push(k.name)}),pL(e,g,h,n,s,l,f,d)}function pL(e,t,n,s,l,f,d,g){const h=hv(cs(e.path),s),k=a9(l.getCompilerOptions(),e,e.path,h,hk(l,f));if(d){const T=n.map(C=>V.createImportSpecifier(!1,void 0,V.createIdentifier(C)));return vAe(t,T,k,g)}else{R.assert(!t,"No default import should exist");const T=n.map(C=>V.createBindingElement(void 0,void 0,C));return T.length?yPe(V.createObjectBindingPattern(T),void 0,Nce(Qw(k,g))):void 0}}function yPe(e,t,n,s=2){return V.createVariableStatement(void 0,V.createVariableDeclarationList([V.createVariableDeclaration(e,void 0,t,n)],s))}function Oce(e,t,n,s){return ln(t,l=>{if(Gst(l)&&!vPe(e,l,s)&&SPe(l,f=>{var d;return n.has(R.checkDefined((d=wi(f,Xh))==null?void 0:d.symbol))})){const f=Xst(Fc(l),s);if(f)return f}return Fc(l)})}function vPe(e,t,n,s){var l;return n?!of(t)&&gi(t,1)||!!(s&&e.symbol&&((l=e.symbol.exports)!=null&&l.has(s.escapedText))):!!e.symbol&&!!e.symbol.exports&&Mce(t).some(f=>e.symbol.exports.has($c(f)))}function Lce(e,t,n,s){switch(t.kind){case 271:Wst(e,t,n,s);break;case 270:s(t.name)&&n.delete(e,t);break;case 259:Hst(e,t,n,s);break;default:R.assertNever(t,`Unexpected import decl kind ${t.kind}`)}}function Wst(e,t,n,s){if(!t.importClause)return;const{name:l,namedBindings:f}=t.importClause,d=!l||s(l),g=!f||(f.kind===273?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,V.updateImportClause(t.importClause,t.importClause.isTypeOnly,l,void 0));else if(f.kind===274)for(const h of f.elements)s(h.name)&&n.delete(e,h)}}function Hst(e,t,n,s){const{name:l}=t;switch(l.kind){case 80:s(l)&&(t.initializer&&M_(t.initializer,!0)?n.delete(e,Tu(t.parent)&&G(t.parent.declarations)===1?t.parent.parent:t):n.delete(e,l));break;case 206:break;case 205:if(l.elements.every(f=>He(f.name)&&s(f.name)))n.delete(e,Tu(t.parent)&&t.parent.declarations.length===1?t.parent.parent:t);else for(const f of l.elements)He(f.name)&&s(f.name)&&n.delete(e,f.name);break}}function Gst(e){return R.assert(Cs(e.parent),"Node parent should be a SourceFile"),wPe(e)||Yl(e)}function Xst(e,t){return t?[Qst(e)]:Yst(e)}function Qst(e){const t=am(e)?wr([V.createModifier(95)],xx(e)):void 0;switch(e.kind){case 261:return V.updateFunctionDeclaration(e,t,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body);case 262:const n=Jw(e)?vv(e):void 0;return V.updateClassDeclaration(e,wr(n,t),e.name,e.typeParameters,e.heritageClauses,e.members);case 242:return V.updateVariableStatement(e,t,e.declarationList);case 266:return V.updateModuleDeclaration(e,t,e.name,e.body);case 265:return V.updateEnumDeclaration(e,t,e.name,e.members);case 264:return V.updateTypeAliasDeclaration(e,t,e.name,e.typeParameters,e.type);case 263:return V.updateInterfaceDeclaration(e,t,e.name,e.typeParameters,e.heritageClauses,e.members);case 270:return V.updateImportEqualsDeclaration(e,t,e.isTypeOnly,e.name,e.moduleReference);case 243:return R.fail();default:return R.assertNever(e,`Unexpected declaration kind ${e.kind}`)}}function Yst(e){return[e,...Mce(e).map(bPe)]}function bPe(e){return V.createExpressionStatement(V.createBinaryExpression(V.createPropertyAccessExpression(V.createIdentifier("exports"),V.createIdentifier(e)),64,V.createIdentifier(e)))}function Mce(e){switch(e.kind){case 261:case 262:return[e.name.text];case 242:return lr(e.declarationList.declarations,t=>He(t.name)?t.name.text:void 0);case 266:case 265:case 264:case 263:case 270:return ft;case 243:return R.fail("Can't export an ExpressionStatement");default:return R.assertNever(e,`Unexpected decl kind ${e.kind}`)}}function y8(e,t,n){switch(e.kind){case 271:{const s=e.importClause;if(!s)return;const l=s.name&&n(s.name)?s.name:void 0,f=s.namedBindings&&Zst(s.namedBindings,n);return l||f?V.createImportDeclaration(void 0,V.createImportClause(s.isTypeOnly,l,f),Fc(t),void 0):void 0}case 270:return n(e.name)?e:void 0;case 259:{const s=Kst(e.name,n);return s?yPe(s,e.type,Nce(t),e.parent.flags):void 0}default:return R.assertNever(e,`Unexpected import kind ${e.kind}`)}}function Zst(e,t){if(e.kind===273)return t(e.name)?e:void 0;{const n=e.elements.filter(s=>t(s.name));return n.length?V.createNamedImports(n):void 0}}function Kst(e,t){switch(e.kind){case 80:return t(e)?e:void 0;case 206:return e;case 205:{const n=e.elements.filter(s=>s.propertyName||!He(s.name)||t(s.name));return n.length?V.createObjectBindingPattern(n):void 0}}}function Fce(e){return of(e)?wi(e.expression.left.name,He):wi(e.name,He)}function g$(e){switch(e.kind){case 259:return e.parent.parent;case 207:return g$(Ua(e.parent.parent,t=>bs(t)||Lo(t)));default:return e}}function Rce(e,t,n,s,l){if(!vPe(e,t,l,n))if(l)of(t)||s.insertExportModifier(e,t);else{const f=Mce(t);f.length!==0&&s.insertNodesAfter(e,t,f.map(bPe))}}function Bce(e,t,n,s){const l=t.getTypeChecker(),f=v8(n);let d;if(f){d=y$(e,f.all,l);const g=cs(e.fileName),h=Vx(e.fileName);return vs(g,nat(iat(d.oldFileImportsFromTargetFile,d.movedSymbols),h,g,s))+h}return""}function eat(e){const{file:t}=e,n=TV(Yw(e)),{statements:s}=t,l=ir(s,g=>g.end>n.pos);if(l===-1)return;const f=s[l];if(bf(f)&&f.name&&Mp(f.name,n))return{toMove:[s[l]],afterLast:s[l+1]};if(n.pos>f.getStart(t))return;const d=ir(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 v8(e){const t=eat(e);if(t===void 0)return;const n=[],s=[],{toMove:l,afterLast:f}=t;return Mr(l,tat,(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 tat(e){return!rat(e)&&!Yd(e)}function rat(e){switch(e.kind){case 271:return!0;case 270:return!gi(e,1);case 242:return e.declarationList.declarations.every(t=>!!t.initializer&&M_(t.initializer,!0));default:return!1}}function y$(e,t,n){const s=new Set,l=new Map,f=new Set,d=Ve(t,C=>!!(C.transformFlags&2)),g=T(d);g&&l.set(g,!1);for(const C of t)SPe(C,D=>{s.add(R.checkDefined(of(D)?n.getSymbolAtLocation(D.expression.left):D.symbol,"Need a symbol here"))});for(const C of t)TPe(C,n,(D,O)=>{if(D.declarations)for(const M of D.declarations)if(xPe(M)){const U=l.get(D);l.set(D,(U===void 0||U)&&O)}else v$(M)&&sat(M)===e&&!s.has(D)&&f.add(D)});const h=new Set(l.keys()),k=new Set;for(const C of e.statements)kt(t,C)||(g&&C.transformFlags&2&&h.delete(g),TPe(C,n,D=>{s.has(D)&&k.add(D),h.delete(D)}));return{movedSymbols:s,targetFileImportsFromOldFile:f,oldFileImportsFromTargetFile:k,oldImportsNeededByTargetFile:l,unusedImportsFromOldFile:h};function T(C){if(C===void 0)return;const D=n.getJsxNamespace(C),O=n.resolveName(D,C,1920,!0);return O&&Ne(O.declarations,xPe)?O:void 0}}function nat(e,t,n,s){let l=e;for(let f=1;;f++){const d=vs(n,l+t);if(!s.fileExists(d))return l;l=`${e}.${f}`}}function iat(e,t){return rw(e,wV)||rw(t,wV)||"newFile"}function TPe(e,t,n){e.forEachChild(function s(l){if(He(l)&&!Yy(l)){const f=t.getSymbolAtLocation(l);f&&n(f,$x(l))}else l.forEachChild(s)})}function SPe(e,t){switch(e.kind){case 261:case 262:case 266:case 265:case 264:case 263:case 270:return t(e);case 242:return $e(e.declarationList.declarations,n=>CPe(n.name,t));case 243:{const{expression:n}=e;return Bn(n)&&dl(n)===1?t(e):void 0}}}function xPe(e){switch(e.kind){case 270:case 275:case 272:case 273:return!0;case 259:return kPe(e);case 207:return bs(e.parent.parent)&&kPe(e.parent.parent);default:return!1}}function kPe(e){return Cs(e.parent.parent.parent)&&!!e.initializer&&M_(e.initializer,!0)}function v$(e){return wPe(e)&&Cs(e.parent)||bs(e)&&Cs(e.parent.parent.parent)}function sat(e){return bs(e)?e.parent.parent.parent:e.parent}function CPe(e,t){switch(e.kind){case 80:return t(Ua(e.parent,n=>bs(n)||Lo(n)));case 206:case 205:return $e(e.elements,n=>bu(n)?void 0:CPe(n.name,t));default:return R.assertNever(e,`Unexpected name kind ${e.kind}`)}}function wPe(e){switch(e.kind){case 261:case 262:case 266:case 265:case 264:case 263:case 270:return!0;default:return!1}}var dL,b$,T$,aat=p({"src/services/refactors/moveToFile.ts"(){Wwe(),Si(),lPe(),dL="Move to file",b$=so(v.Move_to_file),T$={name:"Move to file",description:b$,kind:"refactor.move.file"},sy(dL,{kinds:[T$.kind],getAvailableActions:function(t,n){const s=v8(t);return n?t.preferences.allowTextChangesInNewFiles&&s?[{name:dL,description:b$,actions:[T$]}]:t.preferences.provideRefactorNotApplicableReason?[{name:dL,description:b$,actions:[{...T$,notApplicableReason:so(v.Selection_is_not_a_valid_statement_or_statements)}]}]:ft:ft},getEditsForAction:function(t,n,s){R.assert(n===dL,"Wrong refactor invoked");const l=R.checkDefined(v8(t));R.assert(s,"No interactive refactor arguments available");const f=s.targetFile;return zT(f)||eD(f)?{edits:jn.ChangeTracker.with(t,g=>Ust(t,t.file,s.targetFile,t.program,l,g,t.host,t.preferences)),renameFilename:void 0,renameLocation:void 0}:{edits:[],renameFilename:void 0,renameLocation:void 0,notApplicableReason:so(v.Cannot_move_to_file_selected_file_is_invalid)}}})}});function oat(e){const{file:t,startPosition:n,program:s}=e;return APe(t,n,s)?[{name:S$,description:jce,actions:[Jce]}]:ft}function cat(e){const{file:t,startPosition:n,program:s}=e,l=APe(t,n,s);if(!l)return;const f=s.getTypeChecker(),d=l[l.length-1];let g=d;switch(d.kind){case 172:{g=V.updateMethodSignature(d,d.modifiers,d.name,d.questionToken,d.typeParameters,k(l),d.type);break}case 173:{g=V.updateMethodDeclaration(d,d.modifiers,d.asteriskToken,d.name,d.questionToken,d.typeParameters,k(l),d.type,d.body);break}case 178:{g=V.updateCallSignature(d,d.typeParameters,k(l),d.type);break}case 175:{g=V.updateConstructorDeclaration(d,d.modifiers,k(l),d.body);break}case 179:{g=V.updateConstructSignature(d,d.typeParameters,k(l),d.type);break}case 261:{g=V.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,D=>{D.replaceNodeRange(t,l[0],l[l.length-1],g)})};function k(D){const O=D[D.length-1];return Lc(O)&&O.body&&(D=D.slice(0,D.length-1)),V.createNodeArray([V.createParameterDeclaration(void 0,V.createToken(26),"args",void 0,V.createUnionTypeNode(qt(D,T)))])}function T(D){const O=qt(D.parameters,C);return An(V.createTupleTypeNode(O),Ne(O,M=>!!G(D4(M)))?0:1)}function C(D){R.assert(He(D.name));const O=wt(V.createNamedTupleMember(D.dotDotDotToken,D.name,D.questionToken,D.type||V.createKeywordTypeNode(133)),D),M=D.symbol&&D.symbol.getDocumentationComment(f);if(M){const U=_De(M);U.length&&r2(O,[{text:`*
${U.split(`
`).map(B=>` * ${B}`).join(`
`)}
`,kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return O}}function EPe(e){switch(e.kind){case 172:case 173:case 178:case 175:case 179:case 261:return!0}return!1}function APe(e,t,n){const s=Os(e,t),l=mn(s,EPe);if(!l||Lc(l)&&l.body&&R9(l.body,t))return;const f=n.getTypeChecker(),d=l.symbol;if(!d)return;const g=d.declarations;if(G(g)<=1||!ot(g,D=>pn(D)===e)||!EPe(g[0]))return;const h=g[0].kind;if(!ot(g,D=>D.kind===h))return;const k=g;if(Ne(k,D=>!!D.typeParameters||Ne(D.parameters,O=>!!O.modifiers||!He(O.name))))return;const T=lr(k,D=>f.getSignatureFromDeclaration(D));if(G(T)!==G(g))return;const C=f.getReturnTypeOfSignature(T[0]);if(ot(T,D=>f.getReturnTypeOfSignature(D)===C))return k}var S$,jce,Jce,lat=p({"src/services/refactors/convertOverloadListToSingleSignature.ts"(){Si(),mg(),S$="Convert overload list to single signature",jce=v.Convert_overload_list_to_single_signature.message,Jce={name:S$,description:jce,kind:"refactor.rewrite.function.overloadList"},sy(S$,{kinds:[Jce.kind],getEditsForAction:cat,getAvailableActions:oat})}});function uat(e){const{file:t,startPosition:n,triggerReason:s}=e,l=PPe(t,n,s==="invoked");return l?ay(l)?e.preferences.provideRefactorNotApplicableReason?[{name:x$,description:Uce,actions:[{...mL,notApplicableReason:l.error},{...b8,notApplicableReason:l.error}]}]:ft:[{name:x$,description:Uce,actions:[l.addBraces?mL:b8]}]:ft}function fat(e,t){const{file:n,startPosition:s}=e,l=PPe(n,s);R.assert(l&&!ay(l),"Expected applicable refactor info");const{expression:f,returnStatement:d,func:g}=l;let h;if(t===mL.name){const T=V.createReturnStatement(f);h=V.createBlock([T],!0),pA(f,T,n,3,!0)}else if(t===b8.name&&d){const T=f||V.createVoidZero();h=Noe(T)?V.createParenthesizedExpression(T):T,eL(d,h,n,3,!1),pA(d,h,n,3,!1),c8(d,h,n,3,!1)}else R.fail("invalid action");return{renameFilename:void 0,renameLocation:void 0,edits:jn.ChangeTracker.with(e,T=>{T.replaceNode(n,g.body,h)})}}function PPe(e,t,n=!0,s){const l=Os(e,t),f=Wp(l);if(!f)return{error:so(v.Could_not_find_a_containing_arrow_function)};if(!Dc(f))return{error:so(v.Containing_function_is_not_an_arrow_function)};if(!(!Mp(f,l)||Mp(f.body,l)&&!n)){if(Wv(mL.kind,s)&&Ct(f.body))return{func:f,addBraces:!0,expression:f.body};if(Wv(b8.kind,s)&&Pa(f.body)&&f.body.statements.length===1){const d=Oo(f.body.statements);if(Lm(d))return{func:f,addBraces:!1,expression:d.expression,returnStatement:d}}}}var x$,Uce,mL,b8,_at=p({"src/services/refactors/addOrRemoveBracesToArrowFunction.ts"(){Si(),mg(),x$="Add or remove braces in an arrow function",Uce=v.Add_or_remove_braces_in_an_arrow_function.message,mL={name:"Add braces to arrow function",description:v.Add_braces_to_arrow_function.message,kind:"refactor.rewrite.arrow.braces.add"},b8={name:"Remove braces from arrow function",description:v.Remove_braces_from_arrow_function.message,kind:"refactor.rewrite.arrow.braces.remove"},sy(x$,{kinds:[b8.kind],getEditsForAction:fat,getAvailableActions:uat})}}),pat={},dat=p({"src/services/_namespaces/ts.refactor.addOrRemoveBracesToArrowFunction.ts"(){lat(),_at()}});function mat(e){const{file:t,startPosition:n,program:s,kind:l}=e,f=NPe(t,n,s);if(!f)return ft;const{selectedVariableDeclaration:d,func:g}=f,h=[],k=[];if(Wv(S8.kind,l)){const T=d||Dc(g)&&bs(g.parent)?void 0:so(v.Could_not_convert_to_named_function);T?k.push({...S8,notApplicableReason:T}):h.push(S8)}if(Wv(T8.kind,l)){const T=!d&&Dc(g)?void 0:so(v.Could_not_convert_to_anonymous_function);T?k.push({...T8,notApplicableReason:T}):h.push(T8)}if(Wv(x8.kind,l)){const T=_c(g)?void 0:so(v.Could_not_convert_to_arrow_function);T?k.push({...x8,notApplicableReason:T}):h.push(x8)}return[{name:zce,description:LPe,actions:h.length===0&&e.preferences.provideRefactorNotApplicableReason?k:h}]}function hat(e,t){const{file:n,startPosition:s,program:l}=e,f=NPe(n,s,l);if(!f)return;const{func:d}=f,g=[];switch(t){case T8.name:g.push(...bat(e,d));break;case S8.name:const h=vat(d);if(!h)return;g.push(...Tat(e,d,h));break;case x8.name:if(!_c(d))return;g.push(...Sat(e,d));break;default:return R.fail("invalid action")}return{renameFilename:void 0,renameLocation:void 0,edits:g}}function DPe(e){let t=!1;return e.forEachChild(function n(s){if(lA(s)){t=!0;return}!Ri(s)&&!au(s)&&!_c(s)&&_a(s,n)}),t}function NPe(e,t,n){const s=Os(e,t),l=n.getTypeChecker(),f=yat(e,l,s.parent);if(f&&!DPe(f.body)&&!l.containsArgumentsReference(f))return{selectedVariableDeclaration:!0,func:f};const d=Wp(s);if(d&&(_c(d)||Dc(d))&&!Mp(d.body,s)&&!DPe(d.body)&&!l.containsArgumentsReference(d))return _c(d)&&OPe(e,l,d)?void 0:{selectedVariableDeclaration:!1,func:d}}function gat(e){return bs(e)||Tu(e)&&e.declarations.length===1}function yat(e,t,n){if(!gat(n))return;const l=(bs(n)?n:Oo(n.declarations)).initializer;if(l&&(Dc(l)||_c(l)&&!OPe(e,t,l)))return l}function IPe(e){if(Ct(e)){const t=V.createReturnStatement(e),n=e.getSourceFile();return wt(t,e),cp(t),eL(e,t,n,void 0,!0),V.createBlock([t],!0)}else return e}function vat(e){const t=e.parent;if(!bs(t)||!Aj(t))return;const n=t.parent,s=n.parent;if(!(!Tu(n)||!Yl(s)||!He(t.name)))return{variableDeclaration:t,variableDeclarationList:n,statement:s,name:t.name}}function bat(e,t){const{file:n}=e,s=IPe(t.body),l=V.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 Tat(e,t,n){const{file:s}=e,l=IPe(t.body),{variableDeclaration:f,variableDeclarationList:d,statement:g,name:h}=n;IV(g);const k=t1(f)&1|Wf(t),T=V.createModifiersFromModifierFlags(k),C=V.createFunctionDeclaration(G(T)?T:void 0,t.asteriskToken,h,t.typeParameters,t.parameters,t.type,l);return d.declarations.length===1?jn.ChangeTracker.with(e,D=>D.replaceNode(s,g,C)):jn.ChangeTracker.with(e,D=>{D.delete(s,f),D.insertNodeAfter(s,g,C)})}function Sat(e,t){const{file:n}=e,l=t.body.statements[0];let f;xat(t.body,l)?(f=l.expression,cp(f),gk(l,f)):f=t.body;const d=V.createArrowFunction(t.modifiers,t.typeParameters,t.parameters,t.type,V.createToken(39),f);return jn.ChangeTracker.with(e,g=>g.replaceNode(n,t,d))}function xat(e,t){return e.statements.length===1&&Lm(t)&&!!t.expression}function OPe(e,t,n){return!!n.name&&Wc.Core.isSymbolReferencedInFile(n.name,t,e)}var zce,LPe,T8,S8,x8,kat=p({"src/services/refactors/convertArrowFunctionOrFunctionExpression.ts"(){Si(),mg(),zce="Convert arrow function or function expression",LPe=so(v.Convert_arrow_function_or_function_expression),T8={name:"Convert to anonymous function",description:so(v.Convert_to_anonymous_function),kind:"refactor.rewrite.function.anonymous"},S8={name:"Convert to named function",description:so(v.Convert_to_named_function),kind:"refactor.rewrite.function.named"},x8={name:"Convert to arrow function",description:so(v.Convert_to_arrow_function),kind:"refactor.rewrite.function.arrow"},sy(zce,{kinds:[T8.kind,S8.kind,x8.kind],getEditsForAction:hat,getAvailableActions:mat})}}),Cat={},wat=p({"src/services/_namespaces/ts.refactor.convertArrowFunctionOrFunctionExpression.ts"(){kat()}});function Eat(e){const{file:t,startPosition:n}=e;return qf(t)||!RPe(t,n,e.program.getTypeChecker())?ft:[{name:gL,description:Wce,actions:[Hce]}]}function Aat(e,t){R.assert(t===gL,"Unexpected action name");const{file:n,startPosition:s,program:l,cancellationToken:f,host:d}=e,g=RPe(n,s,l.getTypeChecker());if(!g||!f)return;const h=Dat(g,l,f);return h.valid?{renameFilename:void 0,renameLocation:void 0,edits:jn.ChangeTracker.with(e,T=>Pat(n,l,d,T,g,h))}:{edits:[]}}function Pat(e,t,n,s,l,f){const d=f.signature,g=qt(UPe(l,t,n),T=>Fc(T));if(d){const T=qt(UPe(d,t,n),C=>Fc(C));k(d,T)}k(l,g);const h=mo(f.functionCalls,(T,C)=>wc(T.pos,C.pos));for(const T of h)if(T.arguments&&T.arguments.length){const C=Fc(Jat(l,T.arguments),!0);s.replaceNodeRange(pn(T),Oo(T.arguments),To(T.arguments),C,{leadingTriviaOption:jn.LeadingTriviaOption.IncludeAll,trailingTriviaOption:jn.TrailingTriviaOption.Include})}function k(T,C){s.replaceNodeRangeWithNodes(e,Oo(T.parameters),To(T.parameters),C,{joiner:", ",indentation:0,leadingTriviaOption:jn.LeadingTriviaOption.IncludeAll,trailingTriviaOption:jn.TrailingTriviaOption.Include})}}function Dat(e,t,n){const s=zat(e),l=El(e)?Uat(e):[],f=Ds([...s,...l],Ub),d=t.getTypeChecker(),g=ln(f,C=>Wc.getReferenceEntriesForNode(-1,C,t,t.getSourceFiles(),n)),h=k(g);return ot(h.declarations,C=>kt(f,C))||(h.valid=!1),h;function k(C){const D={accessExpressions:[],typeUsages:[]},O={functionCalls:[],declarations:[],classReferences:D,valid:!0},M=qt(s,T),U=qt(l,T),B=El(e),H=qt(s,Y=>Vce(Y,d));for(const Y of C){if(Y.kind===Wc.EntryKind.Span){O.valid=!1;continue}if(kt(H,T(Y.node))){if(Lat(Y.node.parent)){O.signature=Y.node.parent;continue}const fe=FPe(Y);if(fe){O.functionCalls.push(fe);continue}}const Z=Vce(Y.node,d);if(Z&&kt(H,Z)){const fe=$ce(Y);if(fe){O.declarations.push(fe);continue}}if(kt(M,T(Y.node))||KD(Y.node)){if(MPe(Y))continue;const Q=$ce(Y);if(Q){O.declarations.push(Q);continue}const he=FPe(Y);if(he){O.functionCalls.push(he);continue}}if(B&&kt(U,T(Y.node))){if(MPe(Y))continue;const Q=$ce(Y);if(Q){O.declarations.push(Q);continue}const he=Nat(Y);if(he){D.accessExpressions.push(he);continue}if(Su(e.parent)){const W=Iat(Y);if(W){D.typeUsages.push(W);continue}}}O.valid=!1}return O}function T(C){const D=d.getSymbolAtLocation(C);return D&&DAe(D,d)}}function Vce(e,t){const n=CL(e);if(n){const s=t.getContextualTypeForObjectLiteralElement(n),l=s==null?void 0:s.getSymbol();if(l&&!(ml(l)&6))return l}}function MPe(e){const t=e.node;if(J_(t.parent)||ug(t.parent)||cf(t.parent)||Mv(t.parent)||T_(t.parent)||Pl(t.parent))return t}function $ce(e){if(Sf(e.node.parent))return e.node}function FPe(e){if(e.node.parent){const t=e.node,n=t.parent;switch(n.kind){case 212:case 213:const s=wi(n,Wg);if(s&&s.expression===t)return s;break;case 210:const l=wi(n,ai);if(l&&l.parent&&l.name===t){const d=wi(l.parent,Wg);if(d&&d.expression===l)return d}break;case 211:const f=wi(n,Pc);if(f&&f.parent&&f.argumentExpression===t){const d=wi(f.parent,Wg);if(d&&d.expression===f)return d}break}}}function Nat(e){if(e.node.parent){const t=e.node,n=t.parent;switch(n.kind){case 210:const s=wi(n,ai);if(s&&s.expression===t)return s;break;case 211:const l=wi(n,Pc);if(l&&l.expression===t)return l;break}}}function Iat(e){const t=e.node;if(_k(t)===2||M5(t.parent))return t}function RPe(e,t,n){const s=r8(e,t),l=pTe(s);if(!Oat(s)&&l&&Mat(l,n)&&Mp(l,s)&&!(l.body&&Mp(l.body,s)))return l}function Oat(e){const t=mn(e,$6);if(t){const n=mn(t,s=>!$6(s));return!!n&&Lc(n)}return!1}function Lat(e){return ty(e)&&(Xf(e.parent)||Ip(e.parent))}function Mat(e,t){var n;if(!Fat(e.parameters,t))return!1;switch(e.kind){case 261:return BPe(e)&&hL(e,t);case 173:if(jo(e.parent)){const s=Vce(e.name,t);return((n=s==null?void 0:s.declarations)==null?void 0:n.length)===1&&hL(e,t)}return hL(e,t);case 175:return Su(e.parent)?BPe(e.parent)&&hL(e,t):jPe(e.parent.parent)&&hL(e,t);case 217:case 218:return jPe(e.parent)}return!1}function hL(e,t){return!!e.body&&!t.isImplementationOfOverload(e)}function BPe(e){return e.name?!0:!!uA(e,90)}function Fat(e,t){return Bat(e)>=zPe&&ot(e,n=>Rat(n,t))}function Rat(e,t){if(Hg(e)){const n=t.getTypeAtLocation(e);if(!t.isArrayType(n)&&!t.isTupleType(n))return!1}return!e.modifiers&&He(e.name)}function jPe(e){return bs(e)&&Gy(e)&&He(e.name)&&!e.type}function qce(e){return e.length>0&&lA(e[0].name)}function Bat(e){return qce(e)?e.length-1:e.length}function JPe(e){return qce(e)&&(e=V.createNodeArray(e.slice(1),e.hasTrailingComma)),e}function jat(e,t){return He(t)&&em(t)===e?V.createShorthandPropertyAssignment(e):V.createPropertyAssignment(e,t)}function Jat(e,t){const n=JPe(e.parameters),s=Hg(To(n)),l=s?t.slice(0,n.length-1):t,f=qt(l,(g,h)=>{const k=k$(n[h]),T=jat(k,g);return cp(T.name),pu(T)&&cp(T.initializer),gk(g,T),T});if(s&&t.length>=n.length){const g=t.slice(n.length-1),h=V.createPropertyAssignment(k$(To(n)),V.createArrayLiteralExpression(g));f.push(h)}return V.createObjectLiteralExpression(f,!1)}function UPe(e,t,n){const s=t.getTypeChecker(),l=JPe(e.parameters),f=qt(l,T),d=V.createObjectBindingPattern(f),g=C(l);let h;ot(l,M)&&(h=V.createObjectLiteralExpression());const k=V.createParameterDeclaration(void 0,void 0,d,void 0,g,h);if(qce(e.parameters)){const U=e.parameters[0],B=V.createParameterDeclaration(void 0,void 0,U.name,void 0,U.type);return cp(B.name),gk(U.name,B.name),U.type&&(cp(B.type),gk(U.type,B.type)),V.createNodeArray([B,k])}return V.createNodeArray([k]);function T(U){const B=V.createBindingElement(void 0,void 0,k$(U),Hg(U)&&M(U)?V.createArrayLiteralExpression():U.initializer);return cp(B),U.initializer&&B.initializer&&gk(U.initializer,B.initializer),B}function C(U){const B=qt(U,D);return og(V.createTypeLiteralNode(B),1)}function D(U){let B=U.type;!B&&(U.initializer||Hg(U))&&(B=O(U));const H=V.createPropertySignature(void 0,k$(U),M(U)?V.createToken(58):U.questionToken,B);return cp(H),gk(U.name,H.name),U.type&&H.type&&gk(U.type,H.type),H}function O(U){const B=s.getTypeAtLocation(U);return u8(B,U,t,n)}function M(U){if(Hg(U)){const B=s.getTypeAtLocation(U);return!s.isTupleType(B)}return s.isOptionalParameter(U)}}function k$(e){return em(e.name)}function Uat(e){switch(e.parent.kind){case 262:const t=e.parent;return t.name?[t.name]:[R.checkDefined(uA(t,90),"Nameless class declaration should be a default export")];case 230:const s=e.parent,l=e.parent.parent,f=s.name;return f?[f,l.name]:[l.name]}}function zat(e){switch(e.kind){case 261:return e.name?[e.name]:[R.checkDefined(uA(e,90),"Nameless function declaration should be a default export")];case 173:return[e.name];case 175:const n=R.checkDefined(Go(e,137,e.getSourceFile()),"Constructor declaration should have constructor keyword");return e.parent.kind===230?[e.parent.parent.name,n]:[n];case 218:return[e.parent.name];case 217:return e.name?[e.name,e.parent.name]:[e.parent.name];default:return R.assertNever(e,`Unexpected function declaration kind ${e.kind}`)}}var gL,zPe,Wce,Hce,Vat=p({"src/services/refactors/convertParamsToDestructuredObject.ts"(){Si(),mg(),gL="Convert parameters to destructured object",zPe=1,Wce=so(v.Convert_parameters_to_destructured_object),Hce={name:gL,description:Wce,kind:"refactor.rewrite.parameters.toDestructured"},sy(gL,{kinds:[Hce.kind],getEditsForAction:Aat,getAvailableActions:Eat})}}),$at={},qat=p({"src/services/_namespaces/ts.refactor.convertParamsToDestructuredObject.ts"(){Vat()}});function Wat(e){const{file:t,startPosition:n}=e,s=VPe(t,n),l=Gce(s),f={name:C$,description:w$,actions:[]};return Bn(l)&&Xce(l).isValidConcatenation?(f.actions.push(E$),[f]):e.preferences.provideRefactorNotApplicableReason?(f.actions.push({...E$,notApplicableReason:so(v.Can_only_convert_string_concatenation)}),[f]):ft}function VPe(e,t){const n=Os(e,t),s=Gce(n);return!Xce(s).isValidConcatenation&&j_(s.parent)&&Bn(s.parent.parent)?s.parent.parent:n}function Hat(e,t){const{file:n,startPosition:s}=e,l=VPe(n,s);switch(t){case w$:return{edits:Gat(e,l)};default:return R.fail("invalid action")}}function Gat(e,t){const n=Gce(t),s=e.file,l=Yat(Xce(n),s),f=Vb(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 Xat(e){return e.operatorToken.kind!==64}function Gce(e){return mn(e.parent,n=>{switch(n.kind){case 210:case 211:return!1;case 227:case 225:return!(Bn(n.parent)&&Xat(n.parent));default:return"quit"}})||e}function Xce(e){const t=d=>{if(!Bn(d))return{nodes:[d],operators:[],validOperators:!0,hasString:yo(d)||ww(d)};const{nodes:g,operators:h,hasString:k,validOperators:T}=t(d.left);if(!(k||yo(d.right)||hU(d.right)))return{nodes:[d],operators:[],hasString:!1,validOperators:!0};const C=d.operatorToken.kind===40,D=T&&C;return g.push(d.right),h.push(d.operatorToken),{nodes:g,operators:h,hasString:!0,validOperators:D}},{nodes:n,operators:s,validOperators:l,hasString:f}=t(e);return{nodes:n,operators:s,isValidConcatenation:l&&f}}function Qat(e){return e.replace(/\\.|[$`]/g,t=>t[0]==="\\"?t:"\\"+t)}function $Pe(e){const t=I4(e)||Bxe(e)?-2:-1;return iu(e).slice(1,t)}function qPe(e,t){const n=[];let s="",l="";for(;e<t.length;){const f=t[e];if(Yo(f))s+=f.text,l+=Qat(iu(f).slice(1,-1)),n.push(e),e++;else if(hU(f)){s+=f.head.text,l+=$Pe(f.head);break}else break}return[e,s,l,n]}function Yat({nodes:e,operators:t},n){const s=HPe(t,n),l=GPe(e,n,s),[f,d,g,h]=qPe(0,e);if(f===e.length){const C=V.createNoSubstitutionTemplateLiteral(d,g);return l(h,C),C}const k=[],T=V.createTemplateHead(d,g);l(h,T);for(let C=f;C<e.length;C++){const D=Zat(e[C]);s(C,D);const[O,M,U,B]=qPe(C+1,e);C=O-1;const H=C===e.length-1;if(hU(D)){const Y=qt(D.templateSpans,(Z,fe)=>{WPe(Z);const Q=fe===D.templateSpans.length-1,he=Z.literal.text+(Q?M:""),W=$Pe(Z.literal)+(Q?U:"");return V.createTemplateSpan(Z.expression,H&&Q?V.createTemplateTail(he,W):V.createTemplateMiddle(he,W))});k.push(...Y)}else{const Y=H?V.createTemplateTail(M,U):V.createTemplateMiddle(M,U);l(B,Y),k.push(V.createTemplateSpan(D,Y))}}return V.createTemplateExpression(T,k)}function WPe(e){const t=e.getSourceFile();c8(e,e.expression,t,3,!1),eL(e.expression,e.expression,t,3,!1)}function Zat(e){return j_(e)&&(WPe(e),e=e.expression),e}var C$,w$,E$,HPe,GPe,Kat=p({"src/services/refactors/convertStringOrTemplateLiteral.ts"(){Si(),mg(),C$="Convert to template string",w$=so(v.Convert_to_template_string),E$={name:C$,description:w$,kind:"refactor.rewrite.string"},sy(C$,{kinds:[E$.kind],getEditsForAction:Hat,getAvailableActions:Wat}),HPe=(e,t)=>(n,s)=>{n<e.length&&c8(e[n],s,t,3,!1)},GPe=(e,t,n)=>(s,l)=>{for(;s.length>0;){const f=s.shift();c8(e[f],l,t,3,!1),n(f,l)}}}}),eot={},tot=p({"src/services/_namespaces/ts.refactor.convertStringOrTemplateLiteral.ts"(){Kat()}});function rot(e){const t=XPe(e,e.triggerReason==="invoked");return t?ay(t)?e.preferences.provideRefactorNotApplicableReason?[{name:yL,description:D$,actions:[{...N$,notApplicableReason:t.error}]}]:ft:[{name:yL,description:D$,actions:[N$]}]:ft}function not(e,t){const n=XPe(e);return R.assert(n&&!ay(n),"Expected applicable refactor info"),{edits:jn.ChangeTracker.with(e,l=>fot(e.file,e.program.getTypeChecker(),l,n)),renameFilename:void 0,renameLocation:void 0}}function A$(e){return Bn(e)||B4(e)}function iot(e){return of(e)||Lm(e)||Yl(e)}function P$(e){return A$(e)||iot(e)}function XPe(e,t=!0){const{file:n,program:s}=e,l=Yw(e),f=l.length===0;if(f&&!t)return;const d=Os(n,l.start),g=gV(n,l.start+l.length),h=nu(d.pos,g&&g.end>=d.pos?g.getEnd():d.getEnd()),k=f?lot(d):cot(d,h),T=k&&P$(k)?uot(k):void 0;if(!T)return{error:so(v.Could_not_find_convertible_access_expression)};const C=s.getTypeChecker();return B4(T)?sot(T,C):aot(T)}function sot(e,t){const n=e.condition,s=Yce(e.whenTrue);if(!s||t.isNullableType(t.getTypeAtLocation(s)))return{error:so(v.Could_not_find_convertible_access_expression)};if((ai(n)||He(n))&&Qce(n,s.expression))return{finalExpression:s,occurrences:[n],expression:e};if(Bn(n)){const l=QPe(s.expression,n);return l?{finalExpression:s,occurrences:l,expression:e}:{error:so(v.Could_not_find_matching_access_expressions)}}}function aot(e){if(e.operatorToken.kind!==56)return{error:so(v.Can_only_convert_logical_AND_access_chains)};const t=Yce(e.right);if(!t)return{error:so(v.Could_not_find_convertible_access_expression)};const n=QPe(t.expression,e.left);return n?{finalExpression:t,occurrences:n,expression:e}:{error:so(v.Could_not_find_matching_access_expressions)}}function QPe(e,t){const n=[];for(;Bn(t)&&t.operatorToken.kind===56;){const l=Qce(Tc(e),Tc(t.right));if(!l)break;n.push(l),e=l,t=t.left}const s=Qce(e,t);return s&&n.push(s),n.length>0?n:void 0}function Qce(e,t){if(!(!He(t)&&!ai(t)&&!Pc(t)))return oot(e,t)?t:void 0}function oot(e,t){for(;(Ra(e)||ai(e)||Pc(e))&&k8(e)!==k8(t);)e=e.expression;for(;ai(e)&&ai(t)||Pc(e)&&Pc(t);){if(k8(e)!==k8(t))return!1;e=e.expression,t=t.expression}return He(e)&&He(t)&&e.getText()===t.getText()}function k8(e){if(He(e)||ud(e))return e.getText();if(ai(e))return k8(e.name);if(Pc(e))return k8(e.argumentExpression)}function cot(e,t){for(;e.parent;){if(P$(e)&&t.length!==0&&e.end>=t.start+t.length)return e;e=e.parent}}function lot(e){for(;e.parent;){if(P$(e)&&!P$(e.parent))return e;e=e.parent}}function uot(e){if(A$(e))return e;if(Yl(e)){const t=l4(e),n=t==null?void 0:t.initializer;return n&&A$(n)?n:void 0}return e.expression&&A$(e.expression)?e.expression:void 0}function Yce(e){if(e=Tc(e),Bn(e))return Yce(e.left);if((ai(e)||Pc(e)||Ra(e))&&!Tf(e))return e}function YPe(e,t,n){if(ai(t)||Pc(t)||Ra(t)){const s=YPe(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(),Ra(t))return f?V.createCallChain(s,V.createToken(29),t.typeArguments,t.arguments):V.createCallChain(s,t.questionDotToken,t.typeArguments,t.arguments);if(ai(t))return f?V.createPropertyAccessChain(s,V.createToken(29),t.name):V.createPropertyAccessChain(s,t.questionDotToken,t.name);if(Pc(t))return f?V.createElementAccessChain(s,V.createToken(29),t.argumentExpression):V.createElementAccessChain(s,t.questionDotToken,t.argumentExpression)}return t}function fot(e,t,n,s,l){const{finalExpression:f,occurrences:d,expression:g}=s,h=d[d.length-1],k=YPe(t,f,d);k&&(ai(k)||Pc(k)||Ra(k))&&(Bn(g)?n.replaceNodeRange(e,h,f,k):B4(g)&&n.replaceNode(e,g,V.createBinaryExpression(k,V.createToken(61),g.whenFalse)))}var yL,D$,N$,_ot=p({"src/services/refactors/convertToOptionalChainExpression.ts"(){Si(),mg(),yL="Convert to optional chain expression",D$=so(v.Convert_to_optional_chain_expression),N$={name:yL,description:D$,kind:"refactor.rewrite.expression.optionalChain"},sy(yL,{kinds:[N$.kind],getEditsForAction:not,getAvailableActions:rot})}}),pot={},dot=p({"src/services/_namespaces/ts.refactor.convertToOptionalChainExpression.ts"(){_ot()}});function ZPe(e){const t=e.kind,n=Zce(e.file,Yw(e),e.triggerReason==="invoked"),s=n.targetRange;if(s===void 0){if(!n.errors||n.errors.length===0||!e.preferences.provideRefactorNotApplicableReason)return ft;const M=[];return Wv(nE.kind,t)&&M.push({name:tE,description:nE.description,actions:[{...nE,notApplicableReason:O(n.errors)}]}),Wv(rE.kind,t)&&M.push({name:tE,description:rE.description,actions:[{...rE,notApplicableReason:O(n.errors)}]}),M}const l=bot(s,e);if(l===void 0)return ft;const f=[],d=new Map;let g;const h=[],k=new Map;let T,C=0;for(const{functionExtraction:M,constantExtraction:U}of l){if(Wv(nE.kind,t)){const B=M.description;M.errors.length===0?d.has(B)||(d.set(B,!0),f.push({description:B,name:`function_scope_${C}`,kind:nE.kind})):g||(g={description:B,name:`function_scope_${C}`,notApplicableReason:O(M.errors),kind:nE.kind})}if(Wv(rE.kind,t)){const B=U.description;U.errors.length===0?k.has(B)||(k.set(B,!0),h.push({description:B,name:`constant_scope_${C}`,kind:rE.kind})):T||(T={description:B,name:`constant_scope_${C}`,notApplicableReason:O(U.errors),kind:rE.kind})}C++}const D=[];return f.length?D.push({name:tE,description:so(v.Extract_function),actions:f}):e.preferences.provideRefactorNotApplicableReason&&g&&D.push({name:tE,description:so(v.Extract_function),actions:[g]}),h.length?D.push({name:tE,description:so(v.Extract_constant),actions:h}):e.preferences.provideRefactorNotApplicableReason&&T&&D.push({name:tE,description:so(v.Extract_constant),actions:[T]}),D.length?D:ft;function O(M){let U=M[0].messageText;return typeof U!="string"&&(U=U.messageText),U}}function KPe(e,t){const s=Zce(e.file,Yw(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"),yot(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"),vot(s,e,d)}R.fail("Unrecognized action name")}function Zce(e,t,n=!0){const{length:s}=t;if(s===0&&!n)return{errors:[vu(e,t.start,s,Uu.cannotExtractEmpty)]};const l=s===0&&n,f=iAe(e,t.start),d=gV(e,af(t)),g=f&&d&&n?mot(f,d,e):t,h=l?Jot(f):X9(f,e,g),k=l?h:X9(d,e,g);let T=0,C;if(!h||!k)return{errors:[vu(e,t.start,s,Uu.cannotExtractRange)]};if(h.flags&8388608)return{errors:[vu(e,t.start,s,Uu.cannotExtractJSDoc)]};if(h.parent!==k.parent)return{errors:[vu(e,t.start,s,Uu.cannotExtractRange)]};if(h!==k){if(!tDe(h.parent))return{errors:[vu(e,t.start,s,Uu.cannotExtractRange)]};const Y=[];for(const Z of h.parent.statements){if(Z===h||Y.length){const fe=H(Z);if(fe)return{errors:fe};Y.push(Z)}if(Z===k)break}return Y.length?{targetRange:{range:Y,facts:T,thisNode:C}}:{errors:[vu(e,t.start,s,Uu.cannotExtractRange)]}}if(Lm(h)&&!h.expression)return{errors:[vu(e,t.start,s,Uu.cannotExtractRange)]};const D=M(h),O=U(D)||H(D);if(O)return{errors:O};return{targetRange:{range:hot(D),facts:T,thisNode:C}};function M(Y){if(Lm(Y)){if(Y.expression)return Y.expression}else if(Yl(Y)||Tu(Y)){const Z=Yl(Y)?Y.declarationList.declarations:Y.declarations;let fe=0,Q;for(const he of Z)he.initializer&&(fe++,Q=he.initializer);if(fe===1)return Q}else if(bs(Y)&&Y.initializer)return Y.initializer;return Y}function U(Y){if(He(of(Y)?Y.expression:Y))return[ei(Y,Uu.cannotExtractIdentifier)]}function B(Y,Z){let fe=Y;for(;fe!==Z;){if(fe.kind===171){Aa(fe)&&(T|=32);break}else if(fe.kind===168){Wp(fe).kind===175&&(T|=32);break}else fe.kind===173&&Aa(fe)&&(T|=32);fe=fe.parent}}function H(Y){let Z;if((de=>{de[de.None=0]="None",de[de.Break=1]="Break",de[de.Continue=2]="Continue",de[de.Return=4]="Return"})(Z||(Z={})),R.assert(Y.pos<=Y.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)"),R.assert(!gh(Y.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)"),!Vs(Y)&&!(Xy(Y)&&eDe(Y))&&!nle(Y))return[ei(Y,Uu.statementOrExpressionExpected)];if(Y.flags&16777216)return[ei(Y,Uu.cannotExtractAmbientBlock)];const fe=_u(Y);fe&&B(Y,fe);let Q,he=4,W;if(ye(Y),T&8){const de=y_(Y,!1,!1);(de.kind===261||de.kind===173&&de.parent.kind===209||de.kind===217)&&(T|=16)}return Q;function ye(de){if(Q)return!0;if(Sf(de)){const K=de.kind===259?de.parent.parent:de;if(gi(K,1))return(Q||(Q=[])).push(ei(de,Uu.cannotExtractExportedEntity)),!0}switch(de.kind){case 271:return(Q||(Q=[])).push(ei(de,Uu.cannotExtractImport)),!0;case 276:return(Q||(Q=[])).push(ei(de,Uu.cannotExtractExportedEntity)),!0;case 108:if(de.parent.kind===212){const K=_u(de);if(K===void 0||K.pos<t.start||K.end>=t.start+t.length)return(Q||(Q=[])).push(ei(de,Uu.cannotExtractSuper)),!0}else T|=8,C=de;break;case 218:_a(de,function K(ce){if(lA(ce))T|=8,C=de;else{if(Ri(ce)||Sa(ce)&&!Dc(ce))return!1;_a(ce,K)}});case 262:case 261:Cs(de.parent)&&de.parent.externalModuleIndicator===void 0&&(Q||(Q=[])).push(ei(de,Uu.functionWillNotBeVisibleInTheNewScope));case 230:case 217:case 173:case 175:case 176:case 177:return!1}const Ce=he;switch(de.kind){case 244:he&=-5;break;case 257:he=0;break;case 240:de.parent&&de.parent.kind===257&&de.parent.finallyBlock===de&&(he=4);break;case 296:case 295:he|=1;break;default:xv(de,!1)&&(he|=3);break}switch(de.kind){case 196:case 110:T|=8,C=de;break;case 255:{const K=de.label;(W||(W=[])).push(K.escapedText),_a(de,ye),W.pop();break}case 251:case 250:{const K=de.label;K?kt(W,K.escapedText)||(Q||(Q=[])).push(ei(de,Uu.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):he&(de.kind===251?1:2)||(Q||(Q=[])).push(ei(de,Uu.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break}case 222:T|=4;break;case 228:T|=2;break;case 252:he&4?T|=1:(Q||(Q=[])).push(ei(de,Uu.cannotExtractRangeContainingConditionalReturnStatement));break;default:_a(de,ye);break}he=Ce}}}function mot(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 hot(e){if(Vs(e))return[e];if(Xy(e))return of(e.parent)?[e.parent]:e;if(nle(e))return e}function Kce(e){return Dc(e)?YK(e.body):Lc(e)||Cs(e)||yh(e)||Ri(e)}function got(e){let t=o0(e.range)?Oo(e.range):e.range;if(e.facts&8&&!(e.facts&16)){const s=_u(t);if(s){const l=mn(t,Lc);return l?[l,s]:[s]}}const n=[];for(;;)if(t=t.parent,t.kind===168&&(t=mn(t,s=>Lc(s)).parent),Kce(t)&&(n.push(t),t.kind===311))return n}function yot(e,t,n){const{scopes:s,readsAndWrites:{target:l,usagesPerScope:f,functionErrorsPerScope:d,exposedVariableDeclarations:g}}=ele(e,t);return R.assert(!d[n].length,"The extraction went missing? How?"),t.cancellationToken.throwIfCancellationRequested(),wot(l,s[n],f[n],g,e,t)}function vot(e,t,n){const{scopes:s,readsAndWrites:{target:l,usagesPerScope:f,constantErrorsPerScope:d,exposedVariableDeclarations:g}}=ele(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=Ct(l)?l:l.statements[0].expression;return Eot(h,s[n],f[n],e.facts,t)}function bot(e,t){const{scopes:n,readsAndWrites:{functionErrorsPerScope:s,constantErrorsPerScope:l}}=ele(e,t);return n.map((d,g)=>{const h=Tot(d),k=Sot(d),T=Lc(d)?xot(d):Ri(d)?kot(d):Cot(d);let C,D;return T===1?(C=Zg(so(v.Extract_to_0_in_1_scope),[h,"global"]),D=Zg(so(v.Extract_to_0_in_1_scope),[k,"global"])):T===0?(C=Zg(so(v.Extract_to_0_in_1_scope),[h,"module"]),D=Zg(so(v.Extract_to_0_in_1_scope),[k,"module"])):(C=Zg(so(v.Extract_to_0_in_1),[h,T]),D=Zg(so(v.Extract_to_0_in_1),[k,T])),g===0&&!Ri(d)&&(D=Zg(so(v.Extract_to_0_in_enclosing_scope),[k])),{functionExtraction:{description:C,errors:s[g]},constantExtraction:{description:D,errors:l[g]}}})}function ele(e,t){const{file:n}=t,s=got(e),l=Bot(e,n),f=jot(e,s,l,n,t.program.getTypeChecker(),t.cancellationToken);return{scopes:s,readsAndWrites:f}}function Tot(e){return Lc(e)?"inner function":Ri(e)?"method":"function"}function Sot(e){return Ri(e)?"readonly field":"constant"}function xot(e){switch(e.kind){case 175:return"constructor";case 217:case 261:return e.name?`function '${e.name.text}'`:QV;case 218:return"arrow function";case 173:return`method '${e.name.getText()}'`;case 176:return`'get ${e.name.getText()}'`;case 177:return`'set ${e.name.getText()}'`;default:R.assertNever(e,`Unexpected scope kind ${e.kind}`)}}function kot(e){return e.kind===262?e.name?`class '${e.name.text}'`:"anonymous class declaration":e.name?`class expression '${e.name.text}'`:"anonymous class expression"}function Cot(e){return e.kind===267?`namespace '${e.parent.name.getText()}'`:e.externalModuleIndicator?0:1}function wot(e,t,{usages:n,typeParameterUsages:s,substitutions:l},f,d,g){const h=g.program.getTypeChecker(),k=Eo(g.program.getCompilerOptions()),T=uf.createImportAdder(g.file,g.program,g.preferences,g.host),C=t.getSourceFile(),D=yk(Ri(t)?"newMethod":"newFunction",C),O=Mn(t),M=V.createIdentifier(D);let U;const B=[],H=[];let Y;n.forEach((Me,ze)=>{let st;if(!O){let je=h.getTypeOfSymbolAtLocation(Me.symbol,Me.node);je=h.getBaseTypeOfLiteralType(je),st=uf.typeToAutoImportableTypeNode(h,T,je,t,k,1)}const et=V.createParameterDeclaration(void 0,void 0,ze,void 0,st);B.push(et),Me.usage===2&&(Y||(Y=[])).push(Me),H.push(V.createIdentifier(ze))});const fe=oo(s.values(),Me=>({type:Me,declaration:Pot(Me,g.startPosition)})).sort(Dot),Q=fe.length===0?void 0:lr(fe,({declaration:Me})=>Me),he=Q!==void 0?Q.map(Me=>V.createTypeReferenceNode(Me.name,void 0)):void 0;if(Ct(e)&&!O){const Me=h.getContextualType(e);U=h.typeToTypeNode(Me,t,1)}const{body:W,returnValueProperty:ye}=Iot(e,f,Y,l,!!(d.facts&1));cp(W);let de;const Ce=!!(d.facts&16);if(Ri(t)){const Me=O?[]:[V.createModifier(123)];d.facts&32&&Me.push(V.createModifier(126)),d.facts&4&&Me.push(V.createModifier(134)),de=V.createMethodDeclaration(Me.length?Me:void 0,d.facts&2?V.createToken(42):void 0,M,void 0,Q,B,U,W)}else Ce&&B.unshift(V.createParameterDeclaration(void 0,void 0,"this",void 0,h.typeToTypeNode(h.getTypeAtLocation(d.thisNode),t,1),void 0)),de=V.createFunctionDeclaration(d.facts&4?[V.createToken(134)]:void 0,d.facts&2?V.createToken(42):void 0,M,Q,B,U,W);const K=jn.ChangeTracker.fromContext(g),ce=(o0(d.range)?To(d.range):d.range).end,le=Mot(ce,t);le?K.insertNodeBefore(g.file,le,de,!0):K.insertNodeAtEndOfScope(g.file,t,de),T.writeFixes(K);const xe=[],we=Not(t,d,D);Ce&&H.unshift(V.createIdentifier("this"));let Ie=V.createCallExpression(Ce?V.createPropertyAccessExpression(we,"call"):we,he,H);if(d.facts&2&&(Ie=V.createYieldExpression(V.createToken(42),Ie)),d.facts&4&&(Ie=V.createAwaitExpression(Ie)),rle(e)&&(Ie=V.createJsxExpression(void 0,Ie)),f.length&&!Y)if(R.assert(!ye,"Expected no returnValueProperty"),R.assert(!(d.facts&1),"Expected RangeFacts.HasReturn flag to be unset"),f.length===1){const Me=f[0];xe.push(V.createVariableStatement(void 0,V.createVariableDeclarationList([V.createVariableDeclaration(Fc(Me.name),void 0,Fc(Me.type),Ie)],Me.parent.flags)))}else{const Me=[],ze=[];let st=f[0].parent.flags,et=!1;for(const _t of f){Me.push(V.createBindingElement(void 0,void 0,Fc(_t.name)));const Lt=h.typeToTypeNode(h.getBaseTypeOfLiteralType(h.getTypeAtLocation(_t)),t,1);ze.push(V.createPropertySignature(void 0,_t.symbol.name,void 0,Lt)),et=et||_t.type!==void 0,st=st&_t.parent.flags}const je=et?V.createTypeLiteralNode(ze):void 0;je&&An(je,1),xe.push(V.createVariableStatement(void 0,V.createVariableDeclarationList([V.createVariableDeclaration(V.createObjectBindingPattern(Me),void 0,je,Ie)],st)))}else if(f.length||Y){if(f.length)for(const ze of f){let st=ze.parent.flags;st&2&&(st=st&-3|1),xe.push(V.createVariableStatement(void 0,V.createVariableDeclarationList([V.createVariableDeclaration(ze.symbol.name,void 0,Ke(ze.type))],st)))}ye&&xe.push(V.createVariableStatement(void 0,V.createVariableDeclarationList([V.createVariableDeclaration(ye,void 0,Ke(U))],1)));const Me=tle(f,Y);ye&&Me.unshift(V.createShorthandPropertyAssignment(ye)),Me.length===1?(R.assert(!ye,"Shouldn't have returnValueProperty here"),xe.push(V.createExpressionStatement(V.createAssignment(Me[0].name,Ie))),d.facts&1&&xe.push(V.createReturnStatement())):(xe.push(V.createExpressionStatement(V.createAssignment(V.createObjectLiteralExpression(Me),Ie))),ye&&xe.push(V.createReturnStatement(V.createIdentifier(ye))))}else d.facts&1?xe.push(V.createReturnStatement(Ie)):o0(d.range)?xe.push(V.createExpressionStatement(Ie)):xe.push(Ie);o0(d.range)?K.replaceNodeRangeWithNodes(g.file,Oo(d.range),To(d.range),xe):K.replaceNodeWithNodes(g.file,d.range,xe);const ue=K.getChanges(),Ge=(o0(d.range)?Oo(d.range):d.range).getSourceFile().fileName,qe=K9(ue,Ge,D,!1);return{renameFilename:Ge,renameLocation:qe,edits:ue};function Ke(Me){if(Me===void 0)return;const ze=Fc(Me);let st=ze;for(;Dw(st);)st=st.type;return Aw(st)&&Ve(st.types,et=>et.kind===157)?ze:V.createUnionTypeNode([ze,V.createKeywordTypeNode(157)])}}function Eot(e,t,{substitutions:n},s,l){const f=l.program.getTypeChecker(),d=t.getSourceFile(),g=ai(e)&&!Ri(t)&&!f.resolveName(e.name.text,e,111551,!1)&&!fs(e.name)&&!qb(e.name)?e.name.text:yk(Ri(t)?"newProperty":"newLocal",d),h=Mn(t);let k=h||!f.isContextSensitive(e)?void 0:f.typeToTypeNode(f.getContextualType(e),t,1),T=Oot(Tc(e),n);({variableType:k,initializer:T}=U(k,T)),cp(T);const C=jn.ChangeTracker.fromContext(l);if(Ri(t)){R.assert(!h,"Cannot extract to a JS class");const B=[];B.push(V.createModifier(123)),s&32&&B.push(V.createModifier(126)),B.push(V.createModifier(148));const H=V.createPropertyDeclaration(B,g,void 0,k,T);let Y=V.createPropertyAccessExpression(s&32?V.createIdentifier(t.name.getText()):V.createThis(),V.createIdentifier(g));rle(e)&&(Y=V.createJsxExpression(void 0,Y));const Z=e.pos,fe=Fot(Z,t);C.insertNodeBefore(l.file,fe,H,!0),C.replaceNode(l.file,e,Y)}else{const B=V.createVariableDeclaration(g,void 0,k,T),H=Aot(e,t);if(H){C.insertNodeBefore(l.file,H,B);const Y=V.createIdentifier(g);C.replaceNode(l.file,e,Y)}else if(e.parent.kind===243&&t===mn(e,Kce)){const Y=V.createVariableStatement(void 0,V.createVariableDeclarationList([B],2));C.replaceNode(l.file,e.parent,Y)}else{const Y=V.createVariableStatement(void 0,V.createVariableDeclarationList([B],2)),Z=Rot(e,t);if(Z.pos===0?C.insertNodeAtTopOfFile(l.file,Y,!1):C.insertNodeBefore(l.file,Z,Y,!1),e.parent.kind===243)C.delete(l.file,e.parent);else{let fe=V.createIdentifier(g);rle(e)&&(fe=V.createJsxExpression(void 0,fe)),C.replaceNode(l.file,e,fe)}}}const D=C.getChanges(),O=e.getSourceFile().fileName,M=K9(D,O,g,!0);return{renameFilename:O,renameLocation:M,edits:D};function U(B,H){if(B===void 0)return{variableType:B,initializer:H};if(!_c(H)&&!Dc(H)||H.typeParameters)return{variableType:B,initializer:H};const Y=f.getTypeAtLocation(e),Z=$h(f.getSignaturesOfType(Y,0));if(!Z)return{variableType:B,initializer:H};if(Z.getTypeParameters())return{variableType:B,initializer:H};const fe=[];let Q=!1;for(const he of H.parameters)if(he.type)fe.push(he);else{const W=f.getTypeAtLocation(he);W===f.getAnyType()&&(Q=!0),fe.push(V.updateParameterDeclaration(he,he.modifiers,he.dotDotDotToken,he.name,he.questionToken,he.type||f.typeToTypeNode(W,t,1),he.initializer))}if(Q)return{variableType:B,initializer:H};if(B=void 0,Dc(H))H=V.updateArrowFunction(H,am(e)?xx(e):void 0,H.typeParameters,fe,H.type||f.typeToTypeNode(Z.getReturnType(),t,1),H.equalsGreaterThanToken,H.body);else{if(Z&&Z.thisParameter){const he=Hu(fe);if(!he||He(he.name)&&he.name.escapedText!=="this"){const W=f.getTypeOfSymbolAtLocation(Z.thisParameter,e);fe.splice(0,0,V.createParameterDeclaration(void 0,void 0,"this",void 0,f.typeToTypeNode(W,t,1)))}}H=V.updateFunctionExpression(H,am(e)?xx(e):void 0,H.asteriskToken,H.name,H.typeParameters,fe,H.type||f.typeToTypeNode(Z.getReturnType(),t,1),H.body)}return{variableType:B,initializer:H}}}function Aot(e,t){let n;for(;e!==void 0&&e!==t;){if(bs(e)&&e.initializer===n&&Tu(e.parent)&&e.parent.declarations.length>1)return e;n=e,e=e.parent}}function Pot(e,t){let n;const s=e.symbol;if(s&&s.declarations)for(const l of s.declarations)(n===void 0||l.pos<n.pos)&&l.pos<t&&(n=l);return n}function Dot({type:e,declaration:t},{type:n,declaration:s}){return Mve(t,s,"pos",wc)||zf(e.symbol?e.symbol.getName():"",n.symbol?n.symbol.getName():"")||wc(e.id,n.id)}function Not(e,t,n){const s=V.createIdentifier(n);if(Ri(e)){const l=t.facts&32?V.createIdentifier(e.name.text):V.createThis();return V.createPropertyAccessExpression(l,s)}else return s}function Iot(e,t,n,s,l){const f=n!==void 0||t.length>0;if(Pa(e)&&!f&&s.size===0)return{body:V.createBlock(e.statements,!0),returnValueProperty:void 0};let d,g=!1;const h=V.createNodeArray(Pa(e)?e.statements.slice(0):[Vs(e)?e:V.createReturnStatement(Tc(e))]);if(f||s.size){const T=cn(h,k,Vs).slice();if(f&&!l&&Vs(e)){const C=tle(t,n);C.length===1?T.push(V.createReturnStatement(C[0].name)):T.push(V.createReturnStatement(V.createObjectLiteralExpression(C)))}return{body:V.createBlock(T,!0),returnValueProperty:d}}else return{body:V.createBlock(h,!0),returnValueProperty:void 0};function k(T){if(!g&&Lm(T)&&f){const C=tle(t,n);return T.expression&&(d||(d="__return"),C.unshift(V.createPropertyAssignment(d,ct(T.expression,k,Ct)))),C.length===1?V.createReturnStatement(C[0].name):V.createReturnStatement(V.createObjectLiteralExpression(C))}else{const C=g;g=g||Lc(T)||Ri(T);const D=s.get(Jo(T).toString()),O=D?Fc(D):Kr(T,k,s0);return g=C,O}}}function Oot(e,t){return t.size?n(e):e;function n(s){const l=t.get(Jo(s).toString());return l?Fc(l):Kr(s,n,s0)}}function Lot(e){if(Lc(e)){const t=e.body;if(Pa(t))return t.statements}else{if(yh(e)||Cs(e))return e.statements;if(Ri(e))return e.members}return ft}function Mot(e,t){return Ve(Lot(t),n=>n.pos>=e&&Lc(n)&&!El(n))}function Fot(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&&!Ia(f)){if(s!==void 0)return f;l=!1}s=f}return s===void 0?R.fail():s}function Rot(e,t){R.assert(!Ri(t));let n;for(let s=e;s!==t;s=s.parent)Kce(s)&&(n=s);for(let s=(n||e).parent;;s=s.parent){if(tDe(s)){let l;for(const f of s.statements){if(f.pos>e.pos)break;l=f}return!l&&ED(s)?(R.assert(TO(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 tle(e,t){const n=qt(e,l=>V.createShorthandPropertyAssignment(l.symbol.name)),s=qt(t,l=>V.createShorthandPropertyAssignment(l.symbol.name));return n===void 0?s:s===void 0?n:n.concat(s)}function o0(e){return ka(e)}function Bot(e,t){return o0(e.range)?{pos:Oo(e.range).getStart(t),end:To(e.range).getEnd()}:e.range}function jot(e,t,n,s,l,f){const d=new Map,g=[],h=[],k=[],T=[],C=[],D=new Map,O=[];let M;const U=o0(e.range)?e.range.length===1&&of(e.range[0])?e.range[0].expression:void 0:e.range;let B;if(U===void 0){const le=e.range,xe=Oo(le).getStart(),we=To(le).end;B=vu(s,xe,we-xe,Uu.expressionExpected)}else l.getTypeAtLocation(U).flags&147456&&(B=ei(U,Uu.uselessConstantType));for(const le of t){g.push({usages:new Map,typeParameterUsages:new Map,substitutions:new Map}),h.push(new Map),k.push([]);const xe=[];B&&xe.push(B),Ri(le)&&Mn(le)&&xe.push(ei(le,Uu.cannotExtractToJSClass)),Dc(le)&&!Pa(le.body)&&xe.push(ei(le,Uu.cannotExtractToExpressionArrowFunction)),T.push(xe)}const H=new Map,Y=o0(e.range)?V.createBlock(e.range):e.range,Z=o0(e.range)?Oo(e.range):e.range,fe=Q(Z);if(W(Y),fe&&!o0(e.range)&&!bh(e.range)){const le=l.getContextualType(e.range);he(le)}if(d.size>0){const le=new Map;let xe=0;for(let we=Z;we!==void 0&&xe<t.length;we=we.parent)if(we===t[xe]&&(le.forEach((Ie,ue)=>{g[xe].typeParameterUsages.set(ue,Ie)}),xe++),See(we))for(const Ie of Tv(we)){const ue=l.getTypeAtLocation(Ie);d.has(ue.id.toString())&&le.set(ue.id.toString(),ue)}R.assert(xe===t.length,"Should have iterated all scopes")}if(C.length){const le=Tee(t[0],t[0].parent)?t[0]:Kh(t[0]);_a(le,Ce)}for(let le=0;le<t.length;le++){const xe=g[le];if(le>0&&(xe.usages.size>0||xe.typeParameterUsages.size>0)){const ue=o0(e.range)?e.range[0]:e.range;T[le].push(ei(ue,Uu.cannotAccessVariablesFromNestedScopes))}e.facts&16&&Ri(t[le])&&k[le].push(ei(e.thisNode,Uu.cannotExtractFunctionsContainingThisToMethod));let we=!1,Ie;if(g[le].usages.forEach(ue=>{ue.usage===2&&(we=!0,ue.symbol.flags&106500&&ue.symbol.valueDeclaration&&ip(ue.symbol.valueDeclaration,64)&&(Ie=ue.symbol.valueDeclaration))}),R.assert(o0(e.range)||O.length===0,"No variable declarations expected if something was extracted"),we&&!o0(e.range)){const ue=ei(e.range,Uu.cannotWriteInExpression);k[le].push(ue),T[le].push(ue)}else if(Ie&&le>0){const ue=ei(Ie,Uu.cannotExtractReadonlyPropertyInitializerOutsideConstructor);k[le].push(ue),T[le].push(ue)}else if(M){const ue=ei(M,Uu.cannotExtractExportedEntity);k[le].push(ue),T[le].push(ue)}}return{target:Y,usagesPerScope:g,functionErrorsPerScope:k,constantErrorsPerScope:T,exposedVariableDeclarations:O};function Q(le){return!!mn(le,xe=>See(xe)&&Tv(xe).length!==0)}function he(le){const xe=l.getSymbolWalker(()=>(f.throwIfCancellationRequested(),!0)),{visitedTypes:we}=xe.walkType(le);for(const Ie of we)Ie.isTypeParameter()&&d.set(Ie.id.toString(),Ie)}function W(le,xe=1){if(fe){const we=l.getTypeAtLocation(le);he(we)}if(Sf(le)&&le.symbol&&C.push(le),o_(le))W(le.left,2),W(le.right);else if(k2e(le))W(le.operand,2);else if(ai(le)||Pc(le))_a(le,W);else if(He(le)){if(!le.parent||B_(le.parent)&&le!==le.parent.left||ai(le.parent)&&le!==le.parent.expression)return;ye(le,xe,Gg(le))}else _a(le,W)}function ye(le,xe,we){const Ie=de(le,xe,we);if(Ie)for(let ue=0;ue<t.length;ue++){const ut=h[ue].get(Ie);ut&&g[ue].substitutions.set(Jo(le).toString(),ut)}}function de(le,xe,we){const Ie=K(le);if(!Ie)return;const ue=vo(Ie).toString(),ut=H.get(ue);if(ut&&ut>=xe)return ue;if(H.set(ue,xe),ut){for(const Ke of g)Ke.usages.get(le.text)&&Ke.usages.set(le.text,{usage:xe,symbol:Ie,node:le});return ue}const Ge=Ie.getDeclarations(),qe=Ge&&Ve(Ge,Ke=>Ke.getSourceFile()===s);if(qe&&!j9(n,qe.getStart(),qe.end)){if(e.facts&2&&xe===2){const Ke=ei(le,Uu.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators);for(const Me of k)Me.push(Ke);for(const Me of T)Me.push(Ke)}for(let Ke=0;Ke<t.length;Ke++){const Me=t[Ke];if(l.resolveName(Ie.name,Me,Ie.flags,!1)!==Ie&&!h[Ke].has(ue)){const st=ce(Ie.exportSymbol||Ie,Me,we);if(st)h[Ke].set(ue,st);else if(we){if(!(Ie.flags&262144)){const et=ei(le,Uu.typeWillNotBeVisibleInTheNewScope);k[Ke].push(et),T[Ke].push(et)}}else g[Ke].usages.set(le.text,{usage:xe,symbol:Ie,node:le})}}return ue}}function Ce(le){if(le===e.range||o0(e.range)&&e.range.indexOf(le)>=0)return;const xe=He(le)?K(le):l.getSymbolAtLocation(le);if(xe){const we=Ve(C,Ie=>Ie.symbol===xe);if(we)if(bs(we)){const Ie=we.symbol.id.toString();D.has(Ie)||(O.push(we),D.set(Ie,!0))}else M=M||we}_a(le,Ce)}function K(le){return le.parent&&hd(le.parent)&&le.parent.name===le?l.getShorthandAssignmentValueSymbol(le.parent):l.getSymbolAtLocation(le)}function ce(le,xe,we){if(!le)return;const Ie=le.getDeclarations();if(Ie&&Ie.some(ut=>ut.parent===xe))return V.createIdentifier(le.name);const ue=ce(le.parent,xe,we);if(ue!==void 0)return we?V.createQualifiedName(ue,V.createIdentifier(le.name)):V.createPropertyAccessExpression(ue,le.name)}}function Jot(e){return mn(e,t=>t.parent&&eDe(t)&&!Bn(t.parent))}function eDe(e){const{parent:t}=e;switch(t.kind){case 305:return!1}switch(e.kind){case 11:return t.kind!==271&&t.kind!==275;case 229:case 205:case 207:return!1;case 80:return t.kind!==207&&t.kind!==275&&t.kind!==280}return!0}function tDe(e){switch(e.kind){case 240:case 311:case 267:case 295:return!0;default:return!1}}function rle(e){return nle(e)||(iy(e)||Qx(e)||QT(e))&&(iy(e.parent)||QT(e.parent))}function nle(e){return yo(e)&&e.parent&&bh(e.parent)}var tE,rE,nE,Uu,ile,Uot=p({"src/services/refactors/extractSymbol.ts"(){Si(),mg(),tE="Extract Symbol",rE={name:"Extract Constant",description:so(v.Extract_constant),kind:"refactor.extract.constant"},nE={name:"Extract Function",description:so(v.Extract_function),kind:"refactor.extract.function"},sy(tE,{kinds:[rE.kind,nE.kind],getEditsForAction:KPe,getAvailableActions:ZPe}),(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")})(Uu||(Uu={})),ile=(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))(ile||{})}}),rDe={};S(rDe,{Messages:()=>Uu,RangeFacts:()=>ile,getRangeToExtract:()=>Zce,getRefactorActionsToExtractSymbol:()=>ZPe,getRefactorEditsToExtractSymbol:()=>KPe});var zot=p({"src/services/_namespaces/ts.refactor.extractSymbol.ts"(){Uot()}}),vL,I$,O$,Vot=p({"src/services/refactors/generateGetAccessorAndSetAccessor.ts"(){Si(),mg(),vL="Generate 'get' and 'set' accessors",I$=v.Generate_get_and_set_accessors.message,O$={name:vL,description:I$,kind:"refactor.rewrite.property.generateAccessors"},sy(vL,{kinds:[O$.kind],getEditsForAction:function(t,n){if(!t.endPosition)return;const s=uf.getAccessorConvertiblePropertyAtPosition(t.file,t.program,t.startPosition,t.endPosition);R.assert(s&&!ay(s),"Expected applicable refactor info");const l=uf.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=(He(d)?0:-1)+K9(l,f,d.text,ea(s.declaration));return{renameFilename:f,renameLocation:h,edits:l}},getAvailableActions(e){if(!e.endPosition)return ft;const t=uf.getAccessorConvertiblePropertyAtPosition(e.file,e.program,e.startPosition,e.endPosition,e.triggerReason==="invoked");return t?ay(t)?e.preferences.provideRefactorNotApplicableReason?[{name:vL,description:I$,actions:[{...O$,notApplicableReason:t.error}]}]:ft:[{name:vL,description:I$,actions:[O$]}]:ft}})}}),$ot={},qot=p({"src/services/_namespaces/ts.refactor.generateGetAccessorAndSetAccessor.ts"(){Vot()}});function Wot(e){const t=nDe(e);if(t&&!ay(t))return{renameFilename:void 0,renameLocation:void 0,edits:jn.ChangeTracker.with(e,s=>Got(e.file,s,t.declaration,t.returnTypeNode))}}function Hot(e){const t=nDe(e);return t?ay(t)?e.preferences.provideRefactorNotApplicableReason?[{name:bL,description:L$,actions:[{...TL,notApplicableReason:t.error}]}]:ft:[{name:bL,description:L$,actions:[TL]}]:ft}function Got(e,t,n,s){const l=Go(n,22,e),f=Dc(n)&&l===void 0,d=f?Oo(n.parameters):l;d&&(f&&(t.insertNodeBefore(e,d,V.createToken(21)),t.insertNodeAfter(e,d,V.createToken(22))),t.insertNodeAt(e,d.end,s,{prefix:": "}))}function nDe(e){if(Mn(e.file)||!Wv(TL.kind,e.kind))return;const t=Os(e.file,e.startPosition),n=mn(t,d=>Pa(d)||d.parent&&Dc(d.parent)&&(d.kind===39||d.parent.body===d)?"quit":Xot(d));if(!n||!n.body||n.type)return{error:so(v.Return_type_must_be_inferred_from_a_function)};const s=e.program.getTypeChecker(),l=Qot(s,n);if(!l)return{error:so(v.Could_not_determine_function_return_type)};const f=s.typeToTypeNode(l,n,1);if(f)return{declaration:n,returnTypeNode:f}}function Xot(e){switch(e.kind){case 261:case 217:case 218:case 173:return!0;default:return!1}}function Qot(e,t){if(e.isImplementationOfOverload(t)){const s=e.getTypeAtLocation(t).getCallSignatures();if(s.length>1)return e.getUnionType(lr(s,l=>l.getReturnType()))}const n=e.getSignatureFromDeclaration(t);if(n)return e.getReturnTypeOfSignature(n)}var bL,L$,TL,Yot=p({"src/services/refactors/inferFunctionReturnType.ts"(){Si(),mg(),bL="Infer function return type",L$=v.Infer_function_return_type.message,TL={name:bL,description:L$,kind:"refactor.rewrite.function.returnType"},sy(bL,{kinds:[TL.kind],getEditsForAction:Wot,getAvailableActions:Hot})}}),Zot={},Kot=p({"src/services/_namespaces/ts.refactor.inferFunctionReturnType.ts"(){Yot()}}),C8={};S(C8,{addExportToChanges:()=>Rce,addExports:()=>Oce,addNewFileToTsconfig:()=>Ace,addOrRemoveBracesToArrowFunction:()=>pat,convertArrowFunctionOrFunctionExpression:()=>Cat,convertParamsToDestructuredObject:()=>$at,convertStringOrTemplateLiteral:()=>eot,convertToOptionalChainExpression:()=>pot,createNewFileName:()=>Bce,createOldFileImportsFromTargetFile:()=>Ice,deleteMovedStatements:()=>_L,deleteUnusedImports:()=>Lce,deleteUnusedOldImports:()=>Pce,doChangeNamedToNamespaceOrDefault:()=>mPe,extractSymbol:()=>rDe,filterImport:()=>y8,forEachImportInStatement:()=>g8,generateGetAccessorAndSetAccessor:()=>$ot,getApplicableRefactors:()=>hst,getEditsForRefactor:()=>gst,getStatementsToMove:()=>v8,getTopLevelDeclarationStatement:()=>g$,getUsageInfo:()=>y$,inferFunctionReturnType:()=>Zot,isRefactorErrorInfo:()=>ay,isTopLevelDeclaration:()=>v$,makeImportOrRequire:()=>pL,moduleSpecifierFromImport:()=>h8,nameOfTopLevelDeclaration:()=>Fce,refactorKindBeginsWith:()=>Wv,registerRefactor:()=>sy,updateImportsInOtherFiles:()=>Dce});var mg=p({"src/services/_namespaces/ts.refactor.ts"(){lPe(),kst(),Pst(),Mst(),Fst(),Jst(),aat(),dat(),wat(),qat(),tot(),dot(),zot(),qot(),Kot()}});function iDe(e,t,n,s){const l=sle(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:yu(f[g],f[g+1]),classificationType:f[g+2]});return d}function sle(e,t,n,s){return{spans:ect(e,n,s,t),endOfLineState:0}}function ect(e,t,n,s){const l=[];return e&&t&&tct(e,t,n,(d,g,h)=>{l.push(d.getStart(t),d.getWidth(t),(g+1<<8)+h)},s),l}function tct(e,t,n,s,l){const f=e.getTypeChecker();let d=!1;function g(h){switch(h.kind){case 266:case 262:case 263:case 261:case 230:case 217:case 218:l.throwIfCancellationRequested()}if(!h||!WB(n,h.pos,h.getFullWidth())||h.getFullWidth()===0)return;const k=d;if((iy(h)||Qx(h))&&(d=!0),wD(h)&&(d=!1),He(h)&&!d&&!sct(h)&&!aD(h.escapedText)){let T=f.getSymbolAtLocation(h);if(T){T.flags&2097152&&(T=f.getAliasedSymbol(T));let C=rct(T,_k(h));if(C!==void 0){let D=0;h.parent&&(Lo(h.parent)||lle.get(h.parent.kind)===C)&&h.parent.name===h&&(D=1),C===6&&aDe(h)&&(C=9),C=nct(f,h,C);const O=T.valueDeclaration;if(O){const M=t1(O),U=ph(O);M&32&&(D|=2),M&512&&(D|=4),C!==0&&C!==2&&(M&64||U&2||T.getFlags()&8)&&(D|=8),(C===7||C===10)&&ict(O,t)&&(D|=32),e.isSourceFileDefaultLibrary(O.getSourceFile())&&(D|=16)}else T.declarations&&T.declarations.some(M=>e.isSourceFileDefaultLibrary(M.getSourceFile()))&&(D|=16);s(h,C,D)}}}_a(h,g),d=k}g(t)}function rct(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&&Lo(s)&&(s=sDe(s)),s&&lle.get(s.kind)}function nct(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)||act(t))return n===9?11:10}}return n}function ict(e,t){return Lo(e)&&(e=sDe(e)),bs(e)?(!Cs(e.parent.parent.parent)||j4(e.parent))&&e.getSourceFile()===t:au(e)?!Cs(e.parent)&&e.getSourceFile()===t:!1}function sDe(e){for(;;)if(Lo(e.parent.parent))e=e.parent.parent;else return e.parent.parent}function sct(e){const t=e.parent;return t&&(ug(t)||J_(t)||Mv(t))}function act(e){for(;aDe(e);)e=e.parent;return Ra(e.parent)&&e.parent.expression===e}function aDe(e){return B_(e.parent)&&e.parent.right===e||ai(e.parent)&&e.parent.name===e}var ale,ole,cle,lle,oDe=p({"src/services/classifier2020.ts"(){Si(),ale=(e=>(e[e.typeOffset=8]="typeOffset",e[e.modifierMask=255]="modifierMask",e))(ale||{}),ole=(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))(ole||{}),cle=(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))(cle||{}),lle=new Map([[259,7],[168,6],[171,9],[266,3],[265,1],[305,8],[262,0],[173,11],[261,10],[217,10],[172,11],[176,9],[177,9],[170,9],[263,2],[264,5],[167,4],[302,9],[303,9]])}});function cDe(e,t,n,s){const l=jI(e)?new j$(e,t,n):e===80?new U$(80,t,n):e===81?new z$(81,t,n):new ple(e,t,n);return l.parent=s,l.flags=s.flags&50720768,l}function oct(e,t){if(!jI(e.kind))return ft;const n=[];if(fj(e))return e.forEachChild(d=>{n.push(d)}),n;Ef.setText((t||e.getSourceFile()).text);let s=e.pos;const l=d=>{SL(n,s,d.pos,e),n.push(d),s=d.end},f=d=>{SL(n,s,d.pos,e),n.push(cct(d,e)),s=d.end};return te(e.jsDoc,l),s=e.pos,e.forEachChild(l,f),SL(n,s,e.end,e),Ef.setText(void 0),n}function SL(e,t,n,s){for(Ef.resetTokenState(t);t<n;){const l=Ef.scan(),f=Ef.getTokenEnd();if(f<=n){if(l===80){if(ZSe(s))continue;R.fail(`Did not expect ${R.formatSyntaxKind(s.kind)} to have an Identifier in its trivia`)}e.push(cDe(l,t,f,s))}if(t=f,l===1)break}}function cct(e,t){const n=cDe(357,e.pos,e.end,t);n._children=[];let s=e.pos;for(const l of e)SL(n._children,s,l.pos,t),n._children.push(l),s=l.end;return SL(n._children,s,e.end,t),n}function lDe(e){return CT(e).some(t=>t.tagName.text==="inheritDoc"||t.tagName.text==="inheritdoc")}function M$(e,t){if(!e)return ft;let n=m2.getJsDocTagsFromDeclarations(e,t);if(t&&(n.length===0||e.some(lDe))){const s=new Set;for(const l of e){const f=uDe(t,l,d=>{var g;if(!s.has(d))return s.add(d),l.kind===176||l.kind===177?d.getContextualJsDocTags(l,t):((g=d.declarations)==null?void 0:g.length)===1?d.getJsDocTags():void 0});f&&(n=[...f,...n])}}return n}function xL(e,t){if(!e)return ft;let n=m2.getJsDocCommentsFromDeclarations(e,t);if(t&&(n.length===0||e.some(lDe))){const s=new Set;for(const l of e){const f=uDe(t,l,d=>{if(!s.has(d))return s.add(d),l.kind===176||l.kind===177?d.getContextualDocumentationComment(l,t):d.getDocumentationComment(t)});f&&(n=n.length===0?f.slice():f.concat(_A(),n))}}return n}function uDe(e,t,n){var s;const l=((s=t.parent)==null?void 0:s.kind)===175?t.parent.parent:t.parent;if(!l)return;const f=su(t);return $e(NP(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 lct(){return{getNodeConstructor:()=>j$,getTokenConstructor:()=>ple,getIdentifierConstructor:()=>U$,getPrivateIdentifierConstructor:()=>z$,getSourceFileConstructor:()=>vDe,getSymbolConstructor:()=>hDe,getTypeConstructor:()=>gDe,getSignatureConstructor:()=>yDe,getSourceMapSourceConstructor:()=>bDe}}function kL(e){let t=!0;for(const s in e)if(uc(e,s)&&!fDe(s)){t=!1;break}if(t)return e;const n={};for(const s in e)if(uc(e,s)){const l=fDe(s)?s:s.charAt(0).toLowerCase()+s.substr(1);n[l]=e[s]}return n}function fDe(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function _De(e){return e?qt(e,t=>t.text).join(""):""}function F$(){return{target:1,jsx:1}}function pDe(){return uf.getSupportedErrorCodes()}function dDe(e,t,n){e.version=n,e.scriptSnapshot=t}function R$(e,t,n,s,l,f){const d=RO(e,kV(t),n,l,f);return dDe(d,t,s),d}function ule(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=af(s.span)!==e.text.length?e.text.substr(af(s.span)):"";if(s.newLength===0)d=g&&h?g+h:g||h;else{const T=t.getText(s.span.start,s.span.start+s.newLength);d=g&&h?g+T+h:g?g+T:T+h}const k=dne(e,d,s,l);return dDe(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 R$(e.fileName,t,f,n,!0,e.scriptKind)}function mDe(e,t=Koe(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 TDe(e);let d,g,h=0;const k=e.getCancellationToken?new xDe(e.getCancellationToken()):SDe,T=e.getCurrentDirectory();CSe((s=e.getLocalizedDiagnosticMessages)==null?void 0:s.bind(e));function C(pe){e.log&&e.log(pe)}const D=I5(e),O=nf(D),M=w3e({useCaseSensitiveFileNames:()=>D,getCurrentDirectory:()=>T,getProgram:H,fileExists:no(e,e.fileExists),readFile:no(e,e.readFile),getDocumentPositionMapper:no(e,e.getDocumentPositionMapper),getSourceFileLike:no(e,e.getSourceFileLike),log:C});function U(pe){const ke=d.getSourceFile(pe);if(!ke){const ve=new Error(`Could not find source file: '${pe}'.`);throw ve.ProgramFiles=d.getSourceFiles().map(Te=>Te.fileName),ve}return ke}function B(){var pe,ke,ve;if(R.assert(l!==2),e.getProjectVersion){const ta=e.getProjectVersion();if(ta){if(g===ta&&!((pe=e.hasChangedAutomaticTypeDirectiveNames)!=null&&pe.call(e)))return;g=ta}}const Te=e.getTypeRootsVersion?e.getTypeRootsVersion():0;h!==Te&&(C("TypeRoots version has changed; provide new program"),d=void 0,h=Te);const ee=e.getScriptFileNames().slice(),vt=e.getCompilationSettings()||F$(),Qt=e.hasInvalidatedResolutions||Q0,ht=no(e,e.hasInvalidatedLibResolutions)||Q0,Vt=no(e,e.hasChangedAutomaticTypeDirectiveNames),Nr=(ke=e.getProjectReferences)==null?void 0:ke.call(e);let Pn,bi={getSourceFile:rc,getSourceFileByPath:nn,getCancellationToken:()=>k,getCanonicalFileName:O,useCaseSensitiveFileNames:()=>D,getNewLine:()=>l1(vt),getDefaultLibFileName:ta=>e.getDefaultLibFileName(ta),writeFile:fc,getCurrentDirectory:()=>T,fileExists:ta=>e.fileExists(ta),readFile:ta=>e.readFile&&e.readFile(ta),getSymlinkCache:no(e,e.getSymlinkCache),realpath:no(e,e.realpath),directoryExists:ta=>Pm(ta,e),getDirectories:ta=>e.getDirectories?e.getDirectories(ta):[],readDirectory:(ta,Za,ga,Rc,Dl)=>(R.checkDefined(e.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),e.readDirectory(ta,Za,ga,Rc,Dl)),onReleaseOldSourceFile:Hc,onReleaseParsedCommandLine:Zs,hasInvalidatedResolutions:Qt,hasInvalidatedLibResolutions:ht,hasChangedAutomaticTypeDirectiveNames:Vt,trace:no(e,e.trace),resolveModuleNames:no(e,e.resolveModuleNames),getModuleResolutionCache:no(e,e.getModuleResolutionCache),createHash:no(e,e.createHash),resolveTypeReferenceDirectives:no(e,e.resolveTypeReferenceDirectives),resolveModuleNameLiterals:no(e,e.resolveModuleNameLiterals),resolveTypeReferenceDirectiveReferences:no(e,e.resolveTypeReferenceDirectiveReferences),resolveLibrary:no(e,e.resolveLibrary),useSourceOfProjectReferenceRedirect:no(e,e.useSourceOfProjectReferenceRedirect),getParsedCommandLine:Es};const Vi=bi.getSourceFile,{getSourceFileWithCache:rs}=v9(bi,ta=>bc(ta,T,O),(...ta)=>Vi.call(bi,...ta));bi.getSourceFile=rs,(ve=e.setCompilerHost)==null||ve.call(e,bi);const qs={useCaseSensitiveFileNames:D,fileExists:ta=>bi.fileExists(ta),readFile:ta=>bi.readFile(ta),readDirectory:(...ta)=>bi.readDirectory(...ta),trace:bi.trace,getCurrentDirectory:bi.getCurrentDirectory,onUnRecoverableConfigFileDiagnostic:fc},Ys=t.getKeyForCompilationSettings(vt);let Oi=new Set;if(mse(d,ee,vt,(ta,Za)=>e.getScriptVersion(Za),ta=>bi.fileExists(ta),Qt,ht,Vt,Es,Nr)){bi=void 0,Pn=void 0,Oi=void 0;return}d=jz({rootNames:ee,options:vt,host:bi,oldProgram:d,projectReferences:Nr}),bi=void 0,Pn=void 0,Oi=void 0,M.clearCache(),d.getTypeChecker();return;function Es(ta){const Za=bc(ta,T,O),ga=Pn==null?void 0:Pn.get(Za);if(ga!==void 0)return ga||void 0;const Rc=e.getParsedCommandLine?e.getParsedCommandLine(ta):Li(ta);return(Pn||(Pn=new Map)).set(Za,Rc||!1),Rc}function Li(ta){const Za=rc(ta,100);if(Za)return Za.path=bc(ta,T,O),Za.resolvedPath=Za.path,Za.originalFileName=Za.fileName,VO(Za,qs,ua(cs(ta),T),void 0,ua(ta,T))}function Zs(ta,Za,ga){var Rc;e.getParsedCommandLine?(Rc=e.onReleaseParsedCommandLine)==null||Rc.call(e,ta,Za,ga):Za&&Hc(Za.sourceFile,ga)}function Hc(ta,Za){const ga=t.getKeyForCompilationSettings(Za);t.releaseDocumentWithKey(ta.resolvedPath,ga,ta.scriptKind,ta.impliedNodeFormat)}function rc(ta,Za,ga,Rc){return nn(ta,bc(ta,T,O),Za,ga,Rc)}function nn(ta,Za,ga,Rc,Dl){R.assert(bi,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");const Nl=e.getScriptSnapshot(ta);if(!Nl)return;const ku=Eoe(ta,e),la=e.getScriptVersion(ta);if(!Dl){const Ns=d&&d.getSourceFileByPath(Za);if(Ns){if(ku===Ns.scriptKind||Oi.has(Ns.resolvedPath))return t.updateDocumentWithKey(ta,Za,e,Ys,Nl,la,ku,ga);t.releaseDocumentWithKey(Ns.resolvedPath,t.getKeyForCompilationSettings(d.getCompilerOptions()),Ns.scriptKind,Ns.impliedNodeFormat),Oi.add(Ns.resolvedPath)}}return t.acquireDocumentWithKey(ta,Za,e,Ys,Nl,la,ku,ga)}}function H(){if(l===2){R.assert(d===void 0);return}return B(),d}function Y(){var pe;return(pe=e.getPackageJsonAutoImportProvider)==null?void 0:pe.call(e)}function Z(pe,ke){const ve=d.getTypeChecker(),Te=ee();if(!Te)return!1;for(const Qt of pe)for(const ht of Qt.references){const Vt=vt(ht);if(R.assertIsDefined(Vt),ke.has(ht)||Wc.isDeclarationOfSymbol(Vt,Te)){ke.add(ht),ht.isDefinition=!0;const Nr=Soe(ht,M,no(e,e.fileExists));Nr&&ke.add(Nr)}else ht.isDefinition=!1}return!0;function ee(){for(const Qt of pe)for(const ht of Qt.references){if(ke.has(ht)){const Nr=vt(ht);return R.assertIsDefined(Nr),ve.getSymbolAtLocation(Nr)}const Vt=Soe(ht,M,no(e,e.fileExists));if(Vt&&ke.has(Vt)){const Nr=vt(Vt);if(Nr)return ve.getSymbolAtLocation(Nr)}}}function vt(Qt){const ht=d.getSourceFile(Qt.fileName);if(!ht)return;const Vt=Qp(ht,Qt.textSpan.start);return Wc.Core.getAdjustedNode(Vt,{use:Wc.FindReferencesUse.References})}}function fe(){d=void 0}function Q(){if(d){const pe=t.getKeyForCompilationSettings(d.getCompilerOptions());te(d.getSourceFiles(),ke=>t.releaseDocumentWithKey(ke.resolvedPath,pe,ke.scriptKind,ke.impliedNodeFormat)),d=void 0}e=void 0}function he(pe){return B(),d.getSyntacticDiagnostics(U(pe),k).slice()}function W(pe){B();const ke=U(pe),ve=d.getSemanticDiagnostics(ke,k);if(!rm(d.getCompilerOptions()))return ve.slice();const Te=d.getDeclarationDiagnostics(ke,k);return[...ve,...Te]}function ye(pe){return B(),lce(U(pe),d,k)}function de(){return B(),[...d.getOptionsDiagnostics(k),...d.getGlobalDiagnostics(k)]}function Ce(pe,ke,ve=Rd,Te){const ee={...ve,includeCompletionsForModuleExports:ve.includeCompletionsForModuleExports||ve.includeExternalModuleExports,includeCompletionsWithInsertText:ve.includeCompletionsWithInsertText||ve.includeInsertTextCompletions};return B(),fE.getCompletionsAtPosition(e,d,C,U(pe),ke,ee,ve.triggerCharacter,ve.triggerKind,k,Te&&du.getFormatContext(Te,e),ve.includeSymbol)}function K(pe,ke,ve,Te,ee,vt=Rd,Qt){return B(),fE.getCompletionEntryDetails(d,C,U(pe),ke,{name:ve,source:ee,data:Qt},e,Te&&du.getFormatContext(Te,e),vt,k)}function ce(pe,ke,ve,Te,ee=Rd){return B(),fE.getCompletionEntrySymbol(d,C,U(pe),ke,{name:ve,source:Te},e,ee)}function le(pe,ke){B();const ve=U(pe),Te=Qp(ve,ke);if(Te===ve)return;const ee=d.getTypeChecker(),vt=xe(Te),Qt=pct(vt,ee);if(!Qt||ee.isUnknownSymbol(Qt)){const bi=we(ve,vt,ke)?ee.getTypeAtLocation(vt):void 0;return bi&&{kind:"",kindModifiers:"",textSpan:u_(vt,ve),displayParts:ee.runWithCancellationToken(k,Vi=>Y9(Vi,bi,pk(vt))),documentation:bi.symbol?bi.symbol.getDocumentationComment(ee):void 0,tags:bi.symbol?bi.symbol.getJsDocTags(ee):void 0}}const{symbolKind:ht,displayParts:Vt,documentation:Nr,tags:Pn}=ee.runWithCancellationToken(k,bi=>x1.getSymbolDisplayPartsDocumentationAndSymbolKind(bi,Qt,ve,pk(vt),vt));return{kind:ht,kindModifiers:x1.getSymbolModifiers(ee,Qt),textSpan:u_(vt,ve),displayParts:Vt,documentation:Nr,tags:Pn}}function xe(pe){return HT(pe.parent)&&pe.pos===pe.parent.pos?pe.parent.expression:bD(pe.parent)&&pe.pos===pe.parent.pos||K6(pe.parent)&&pe.parent.name===pe||Th(pe.parent)?pe.parent:pe}function we(pe,ke,ve){switch(ke.kind){case 80:return!Gae(ke)&&!Xae(ke)&&!Wy(ke.parent);case 210:case 165:return!v1(pe,ve);case 110:case 196:case 108:case 201:return!0;case 235:return K6(ke);default:return!1}}function Ie(pe,ke,ve,Te){return B(),R8.getDefinitionAtPosition(d,U(pe),ke,ve,Te)}function ue(pe,ke){return B(),R8.getDefinitionAndBoundSpan(d,U(pe),ke)}function ut(pe,ke){return B(),R8.getTypeDefinitionAtPosition(d.getTypeChecker(),U(pe),ke)}function Ge(pe,ke){return B(),Wc.getImplementationsAtPosition(d,k,d.getSourceFiles(),U(pe),ke)}function qe(pe,ke,ve){const Te=So(pe);R.assert(ve.some(Qt=>So(Qt)===Te)),B();const ee=lr(ve,Qt=>d.getSourceFile(Qt)),vt=U(pe);return KV.getDocumentHighlights(d,k,vt,ke,ee)}function Ke(pe,ke,ve,Te,ee){B();const vt=U(pe),Qt=hV(Qp(vt,ke));if(UW.nodeIsEligibleForRename(Qt))if(He(Qt)&&(vh(Qt.parent)||XT(Qt.parent))&&m4(Qt.escapedText)){const{openingElement:ht,closingElement:Vt}=Qt.parent.parent;return[ht,Vt].map(Nr=>{const Pn=u_(Nr.tagName,vt);return{fileName:vt.fileName,textSpan:Pn,...Wc.toContextSpan(Pn,vt,Nr.parent)}})}else{const ht=gd(vt,ee??Rd),Vt=typeof ee=="boolean"?ee:ee==null?void 0:ee.providePrefixAndSuffixTextForRename;return ze(Qt,ke,{findInStrings:ve,findInComments:Te,providePrefixAndSuffixTextForRename:Vt,use:Wc.FindReferencesUse.Rename},(Nr,Pn,bi)=>Wc.toRenameLocation(Nr,Pn,bi,Vt||!1,ht))}}function Me(pe,ke){return B(),ze(Qp(U(pe),ke),ke,{use:Wc.FindReferencesUse.References},Wc.toReferenceEntry)}function ze(pe,ke,ve,Te){B();const ee=ve&&ve.use===Wc.FindReferencesUse.Rename?d.getSourceFiles().filter(vt=>!d.isSourceFileDefaultLibrary(vt)):d.getSourceFiles();return Wc.findReferenceOrRenameEntries(d,k,ee,pe,ke,ve,Te)}function st(pe,ke){return B(),Wc.findReferencedSymbols(d,k,d.getSourceFiles(),U(pe),ke)}function et(pe){return B(),Wc.Core.getReferencesForFileName(pe,d,d.getSourceFiles()).map(Wc.toReferenceEntry)}function je(pe,ke,ve,Te=!1){B();const ee=ve?[U(ve)]:d.getSourceFiles();return R3e(ee,d.getTypeChecker(),k,pe,ke,Te)}function _t(pe,ke,ve){B();const Te=U(pe),ee=e.getCustomTransformers&&e.getCustomTransformers();return h6e(d,Te,!!ke,k,ee,ve)}function Lt(pe,ke,{triggerReason:ve}=Rd){B();const Te=U(pe);return GL.getSignatureHelpItems(d,Te,ke,ve,k)}function Dt(pe){return f.getCurrentSourceFile(pe)}function Xt(pe,ke,ve){const Te=f.getCurrentSourceFile(pe),ee=Qp(Te,ke);if(ee===Te)return;switch(ee.kind){case 210:case 165:case 11:case 97:case 112:case 106:case 108:case 110:case 196:case 80:break;default:return}let vt=ee;for(;;)if(cA(vt)||X4e(vt))vt=vt.parent;else if(Yae(vt))if(vt.parent.parent.kind===266&&vt.parent.parent.body===vt.parent)vt=vt.parent.parent.name;else break;else break;return nu(vt.getStart(),ee.getEnd())}function Ye(pe,ke){const ve=f.getCurrentSourceFile(pe);return Tle.spanInSourceFileAtLocation(ve,ke)}function Bt(pe){return U3e(f.getCurrentSourceFile(pe),k)}function vr(pe){return z3e(f.getCurrentSourceFile(pe),k)}function Ar(pe,ke,ve){return B(),(ve||"original")==="2020"?iDe(d,k,U(pe),ke):r3e(d.getTypeChecker(),k,U(pe),d.getClassifiableNames(),ke)}function Ht(pe,ke,ve){return B(),(ve||"original")==="original"?Yoe(d.getTypeChecker(),k,U(pe),d.getClassifiableNames(),ke):sle(d,k,U(pe),ke)}function tn(pe,ke){return a3e(k,f.getCurrentSourceFile(pe),ke)}function hn(pe,ke){return Zoe(k,f.getCurrentSourceFile(pe),ke)}function Br(pe){const ke=f.getCurrentSourceFile(pe);return g_e.collectElements(ke,k)}const Cn=new Map(Object.entries({[19]:20,[21]:22,[23]:24,[32]:30}));Cn.forEach((pe,ke)=>Cn.set(pe.toString(),Number(ke)));function ci(pe,ke){const ve=f.getCurrentSourceFile(pe),Te=r8(ve,ke),ee=Te.getStart(ve)===ke?Cn.get(Te.kind.toString()):void 0,vt=ee&&Go(Te.parent,ee,ve);return vt?[u_(Te,ve),u_(vt,ve)].sort((Qt,ht)=>Qt.start-ht.start):ft}function Ji(pe,ke,ve){let Te=Uc();const ee=kL(ve),vt=f.getCurrentSourceFile(pe);C("getIndentationAtPosition: getCurrentSourceFile: "+(Uc()-Te)),Te=Uc();const Qt=du.SmartIndenter.getIndentation(ke,vt,ee);return C("getIndentationAtPosition: computeIndentation : "+(Uc()-Te)),Qt}function ws(pe,ke,ve,Te){const ee=f.getCurrentSourceFile(pe);return du.formatSelection(ke,ve,ee,du.getFormatContext(kL(Te),e))}function ui(pe,ke){return du.formatDocument(f.getCurrentSourceFile(pe),du.getFormatContext(kL(ke),e))}function Pt(pe,ke,ve,Te){const ee=f.getCurrentSourceFile(pe),vt=du.getFormatContext(kL(Te),e);if(!v1(ee,ke))switch(ve){case"{":return du.formatOnOpeningCurly(ke,ee,vt);case"}":return du.formatOnClosingCurly(ke,ee,vt);case";":return du.formatOnSemicolon(ke,ee,vt);case`
`:return du.formatOnEnter(ke,ee,vt)}return[]}function Dr(pe,ke,ve,Te,ee,vt=Rd){B();const Qt=U(pe),ht=nu(ke,ve),Vt=du.getFormatContext(ee,e);return ln(Ds(Te,Ub,wc),Nr=>(k.throwIfCancellationRequested(),uf.getFixes({errorCode:Nr,sourceFile:Qt,span:ht,program:d,host:e,cancellationToken:k,formatContext:Vt,preferences:vt})))}function Kt(pe,ke,ve,Te=Rd){B(),R.assert(pe.type==="file");const ee=U(pe.fileName),vt=du.getFormatContext(ve,e);return uf.getAllFixes({fixId:ke,sourceFile:ee,program:d,host:e,cancellationToken:k,formatContext:vt,preferences:Te})}function Qr(pe,ke,ve=Rd){B(),R.assert(pe.type==="file");const Te=U(pe.fileName),ee=du.getFormatContext(ke,e),vt=pe.mode??(pe.skipDestructiveCodeActions?"SortAndCombine":"All");return um.organizeImports(Te,ee,e,d,ve,vt)}function _n(pe,ke,ve,Te=Rd){return f3e(H(),pe,ke,e,du.getFormatContext(ve,e),Te,M)}function Nn(pe,ke){const ve=typeof pe=="string"?ke:pe;return ka(ve)?Promise.all(ve.map(Te=>ks(Te))):ks(ve)}function ks(pe){const ke=ve=>bc(ve,T,O);return R.assertEqual(pe.type,"install package"),e.installPackage?e.installPackage({fileName:ke(pe.file),packageName:pe.packageName}):Promise.reject("Host does not implement `installPackage`")}function ls(pe,ke,ve,Te){const ee=Te?du.getFormatContext(Te,e).options:void 0;return m2.getDocCommentTemplateAtPosition(zv(e,ee),f.getCurrentSourceFile(pe),ke,ve)}function Yr(pe,ke,ve){if(ve===60)return!1;const Te=f.getCurrentSourceFile(pe);if(mk(Te,ke))return!1;if(aAe(Te,ke))return ve===123;if(soe(Te,ke))return!1;switch(ve){case 39:case 34:case 96:return!v1(Te,ke)}return!0}function Er(pe,ke){const ve=f.getCurrentSourceFile(pe),Te=ou(ke,ve);if(!Te)return;const ee=Te.kind===32&&vh(Te.parent)?Te.parent.parent:Cw(Te)&&iy(Te.parent)?Te.parent:void 0;if(ee&&Ut(ee))return{newText:`</${ee.openingElement.tagName.getText(ve)}>`};const vt=Te.kind===32&&Rw(Te.parent)?Te.parent.parent:Cw(Te)&&QT(Te.parent)?Te.parent:void 0;if(vt&&rr(vt))return{newText:"</>"}}function rn(pe,ke){const ve=f.getCurrentSourceFile(pe),Te=ou(ke,ve);if(!Te||Te.parent.kind===311)return;const ee="[a-zA-Z0-9:\\-\\._$]*";if(QT(Te.parent.parent)){const vt=Te.parent.parent.openingFragment,Qt=Te.parent.parent.closingFragment;if(G6(vt)||G6(Qt))return;const ht=vt.getStart(ve)+1,Vt=Qt.getStart(ve)+2;return ke!==ht&&ke!==Vt?void 0:{ranges:[{start:ht,length:0},{start:Vt,length:0}],wordPattern:ee}}else{const vt=mn(Te.parent,rs=>!!(vh(rs)||XT(rs)));if(!vt)return;R.assert(vh(vt)||XT(vt),"tag should be opening or closing element");const Qt=vt.parent.openingElement,ht=vt.parent.closingElement,Vt=Qt.tagName.getStart(ve),Nr=Qt.tagName.end,Pn=ht.tagName.getStart(ve),bi=ht.tagName.end;return!(Vt<=ke&&ke<=Nr||Pn<=ke&&ke<=bi)||Qt.tagName.getText(ve)!==ht.tagName.getText(ve)?void 0:{ranges:[{start:Vt,length:Nr-Vt},{start:Pn,length:bi-Pn}],wordPattern:ee}}}function qr(pe,ke){return{lineStarts:pe.getLineStarts(),firstLine:pe.getLineAndCharacterOfPosition(ke.pos).line,lastLine:pe.getLineAndCharacterOfPosition(ke.end).line}}function xi(pe,ke,ve){const Te=f.getCurrentSourceFile(pe),ee=[],{lineStarts:vt,firstLine:Qt,lastLine:ht}=qr(Te,ke);let Vt=ve||!1,Nr=Number.MAX_VALUE;const Pn=new Map,bi=new RegExp(/\S/),Vi=yV(Te,vt[Qt]),rs=Vi?"{/*":"//";for(let qs=Qt;qs<=ht;qs++){const Ys=Te.text.substring(vt[qs],Te.getLineEndOfPosition(vt[qs])),Oi=bi.exec(Ys);Oi&&(Nr=Math.min(Nr,Oi.index),Pn.set(qs.toString(),Oi.index),Ys.substr(Oi.index,rs.length)!==rs&&(Vt=ve===void 0||ve))}for(let qs=Qt;qs<=ht;qs++){if(Qt!==ht&&vt[qs]===ke.end)continue;const Ys=Pn.get(qs.toString());Ys!==void 0&&(Vi?ee.push.apply(ee,pt(pe,{pos:vt[qs]+Nr,end:Te.getLineEndOfPosition(vt[qs])},Vt,Vi)):Vt?ee.push({newText:rs,span:{length:0,start:vt[qs]+Nr}}):Te.text.substr(vt[qs]+Ys,rs.length)===rs&&ee.push({newText:"",span:{length:rs.length,start:vt[qs]+Ys}}))}return ee}function pt(pe,ke,ve,Te){var ee;const vt=f.getCurrentSourceFile(pe),Qt=[],{text:ht}=vt;let Vt=!1,Nr=ve||!1;const Pn=[];let{pos:bi}=ke;const Vi=Te!==void 0?Te:yV(vt,bi),rs=Vi?"{/*":"/*",qs=Vi?"*/}":"*/",Ys=Vi?"\\{\\/\\*":"\\/\\*",Oi=Vi?"\\*\\/\\}":"\\*\\/";for(;bi<=ke.end;){const Js=ht.substr(bi,rs.length)===rs?rs.length:0,Es=v1(vt,bi+Js);if(Es)Vi&&(Es.pos--,Es.end++),Pn.push(Es.pos),Es.kind===3&&Pn.push(Es.end),Vt=!0,bi=Es.end+1;else{const Li=ht.substring(bi,ke.end).search(`(${Ys})|(${Oi})`);Nr=ve!==void 0?ve:Nr||!bAe(ht,bi,Li===-1?ke.end:bi+Li),bi=Li===-1?ke.end+1:bi+Li+qs.length}}if(Nr||!Vt){((ee=v1(vt,ke.pos))==null?void 0:ee.kind)!==2&&ha(Pn,ke.pos,wc),ha(Pn,ke.end,wc);const Js=Pn[0];ht.substr(Js,rs.length)!==rs&&Qt.push({newText:rs,span:{length:0,start:Js}});for(let Es=1;Es<Pn.length-1;Es++)ht.substr(Pn[Es]-qs.length,qs.length)!==qs&&Qt.push({newText:qs,span:{length:0,start:Pn[Es]}}),ht.substr(Pn[Es],rs.length)!==rs&&Qt.push({newText:rs,span:{length:0,start:Pn[Es]}});Qt.length%2!==0&&Qt.push({newText:qs,span:{length:0,start:Pn[Pn.length-1]}})}else for(const Js of Pn){const Es=Js-qs.length>0?Js-qs.length:0,Li=ht.substr(Es,qs.length)===qs?qs.length:0;Qt.push({newText:"",span:{length:rs.length,start:Js-Li}})}return Qt}function Nt(pe,ke){const ve=f.getCurrentSourceFile(pe),{firstLine:Te,lastLine:ee}=qr(ve,ke);return Te===ee&&ke.pos!==ke.end?pt(pe,ke,!0):xi(pe,ke,!0)}function dt(pe,ke){const ve=f.getCurrentSourceFile(pe),Te=[],{pos:ee}=ke;let{end:vt}=ke;ee===vt&&(vt+=yV(ve,ee)?2:1);for(let Qt=ee;Qt<=vt;Qt++){const ht=v1(ve,Qt);if(ht){switch(ht.kind){case 2:Te.push.apply(Te,xi(pe,{end:ht.end,pos:ht.pos+1},!1));break;case 3:Te.push.apply(Te,pt(pe,{end:ht.end,pos:ht.pos+1},!1))}Qt=ht.end+1}}return Te}function Ut({openingElement:pe,closingElement:ke,parent:ve}){return!c2(pe.tagName,ke.tagName)||iy(ve)&&c2(pe.tagName,ve.openingElement.tagName)&&Ut(ve)}function rr({closingFragment:pe,parent:ke}){return!!(pe.flags&131072)||QT(ke)&&rr(ke)}function se(pe,ke,ve){const Te=f.getCurrentSourceFile(pe),ee=du.getRangeOfEnclosingComment(Te,ke);return ee&&(!ve||ee.kind===3)?Uv(ee):void 0}function at(pe,ke){B();const ve=U(pe);k.throwIfCancellationRequested();const Te=ve.text,ee=[];if(ke.length>0&&!Vt(ve.fileName)){const Nr=Qt();let Pn;for(;Pn=Nr.exec(Te);){k.throwIfCancellationRequested();const bi=3;R.assert(Pn.length===ke.length+bi);const Vi=Pn[1],rs=Pn.index+Vi.length;if(!v1(ve,rs))continue;let qs;for(let Oi=0;Oi<ke.length;Oi++)Pn[Oi+bi]&&(qs=ke[Oi]);if(qs===void 0)return R.fail();if(ht(Te.charCodeAt(rs+qs.text.length)))continue;const Ys=Pn[2];ee.push({descriptor:qs,message:Ys,position:rs})}}return ee;function vt(Nr){return Nr.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Qt(){const Nr=/(?:\/\/+\s*)/.source,Pn=/(?:\/\*+\s*)/.source,Vi="("+/(?:^(?:\s|\*)*)/.source+"|"+Nr+"|"+Pn+")",rs="(?:"+qt(ke,Es=>"("+vt(Es.text)+")").join("|")+")",qs=/(?:$|\*\/)/.source,Ys=/(?:.*?)/.source,Oi="("+rs+Ys+")",Js=Vi+Oi+qs;return new RegExp(Js,"gim")}function ht(Nr){return Nr>=97&&Nr<=122||Nr>=65&&Nr<=90||Nr>=48&&Nr<=57}function Vt(Nr){return rf(Nr,"/node_modules/")}}function xt(pe,ke,ve){return B(),UW.getRenameInfo(d,U(pe),ke,ve||{})}function ae(pe,ke,ve,Te,ee,vt){const[Qt,ht]=typeof ke=="number"?[ke,void 0]:[ke.pos,ke.end];return{file:pe,startPosition:Qt,endPosition:ht,program:H(),host:e,formatContext:du.getFormatContext(Te,e),cancellationToken:k,preferences:ve,triggerReason:ee,kind:vt}}function mt(pe,ke,ve){return{file:pe,program:H(),host:e,span:ke,preferences:ve,cancellationToken:k}}function _r(pe,ke){return S_e.getSmartSelectionRange(ke,f.getCurrentSourceFile(pe))}function Fe(pe,ke,ve=Rd,Te,ee,vt){B();const Qt=U(pe);return C8.getApplicableRefactors(ae(Qt,ke,ve,Rd,Te,ee),vt)}function Gt(pe,ke,ve=Rd){B();const Te=U(pe),ee=R.checkDefined(d.getSourceFiles()),vt=Vx(pe),Qt=lr(ee,Vt=>!(d!=null&&d.isSourceFileFromExternalLibrary(Te))&&!(Te===U(Vt.fileName)||vt===".ts"&&Vx(Vt.fileName)===".d.ts"||vt===".d.ts"&&Xs(Xu(Vt.fileName),"lib.")&&Vx(Vt.fileName)===".d.ts")&&vt===Vx(Vt.fileName)?Vt.fileName:void 0);return{newFileName:Bce(Te,d,ae(Te,ke,ve,Rd),e),files:Qt}}function zt(pe,ke,ve,Te,ee,vt=Rd,Qt){B();const ht=U(pe);return C8.getEditsForRefactor(ae(ht,ve,vt,ke),Te,ee,Qt)}function Lr(pe,ke){return ke===0?{line:0,character:0}:M.toLineColumnOffset(pe,ke)}function ii(pe,ke){B();const ve=sE.resolveCallHierarchyDeclaration(d,Qp(U(pe),ke));return ve&&$Ae(ve,Te=>sE.createCallHierarchyItem(d,Te))}function Gn(pe,ke){B();const ve=U(pe),Te=joe(sE.resolveCallHierarchyDeclaration(d,ke===0?ve:Qp(ve,ke)));return Te?sE.getIncomingCalls(d,Te,k):[]}function Rn(pe,ke){B();const ve=U(pe),Te=joe(sE.resolveCallHierarchyDeclaration(d,ke===0?ve:Qp(ve,ke)));return Te?sE.getOutgoingCalls(d,Te):[]}function L(pe,ke,ve=Rd){B();const Te=U(pe);return o_e.provideInlayHints(mt(Te,ke,ve))}const Se={dispose:Q,cleanupSemanticCache:fe,getSyntacticDiagnostics:he,getSemanticDiagnostics:W,getSuggestionDiagnostics:ye,getCompilerOptionsDiagnostics:de,getSyntacticClassifications:tn,getSemanticClassifications:Ar,getEncodedSyntacticClassifications:hn,getEncodedSemanticClassifications:Ht,getCompletionsAtPosition:Ce,getCompletionEntryDetails:K,getCompletionEntrySymbol:ce,getSignatureHelpItems:Lt,getQuickInfoAtPosition:le,getDefinitionAtPosition:Ie,getDefinitionAndBoundSpan:ue,getImplementationAtPosition:Ge,getTypeDefinitionAtPosition:ut,getReferencesAtPosition:Me,findReferences:st,getFileReferences:et,getDocumentHighlights:qe,getNameOrDottedNameSpan:Xt,getBreakpointStatementAtPosition:Ye,getNavigateToItems:je,getRenameInfo:xt,getSmartSelectionRange:_r,findRenameLocations:Ke,getNavigationBarItems:Bt,getNavigationTree:vr,getOutliningSpans:Br,getTodoComments:at,getBraceMatchingAtPosition:ci,getIndentationAtPosition:Ji,getFormattingEditsForRange:ws,getFormattingEditsForDocument:ui,getFormattingEditsAfterKeystroke:Pt,getDocCommentTemplateAtPosition:ls,isValidBraceCompletionAtPosition:Yr,getJsxClosingTagAtPosition:Er,getLinkedEditingRangeAtPosition:rn,getSpanOfEnclosingComment:se,getCodeFixesAtPosition:Dr,getCombinedCodeFix:Kt,applyCodeActionCommand:Nn,organizeImports:Qr,getEditsForFileRename:_n,getEmitOutput:_t,getNonBoundSourceFile:Dt,getProgram:H,getCurrentProgram:()=>d,getAutoImportProvider:Y,updateIsDefinitionOfReferencedSymbols:Z,getApplicableRefactors:Fe,getEditsForRefactor:zt,getMoveToRefactoringFileSuggestions:Gt,toLineColumnOffset:Lr,getSourceMapper:()=>M,clearSourceMapperCache:()=>M.clearCache(),prepareCallHierarchy:ii,provideCallHierarchyIncomingCalls:Gn,provideCallHierarchyOutgoingCalls:Rn,toggleLineComment:xi,toggleMultilineComment:pt,commentSelection:Nt,uncommentSelection:dt,provideInlayHints:L,getSupportedCodeFixes:pDe};switch(l){case 0:break;case 1:mle.forEach(pe=>Se[pe]=()=>{throw new Error(`LanguageService Operation: ${pe} not allowed in LanguageServiceMode.PartialSemantic`)});break;case 2:kDe.forEach(pe=>Se[pe]=()=>{throw new Error(`LanguageService Operation: ${pe} not allowed in LanguageServiceMode.Syntactic`)});break;default:R.assertNever(l)}return Se}function fle(e){return e.nameTable||uct(e),e.nameTable}function uct(e){const t=e.nameTable=new Map;e.forEachChild(function n(s){if(He(s)&&!Xae(s)&&s.escapedText||ud(s)&&fct(s)){const l=OP(s);t.set(l,t.get(l)===void 0?s.pos:-1)}else if(fs(s)){const l=s.escapedText;t.set(l,t.get(l)===void 0?s.pos:-1)}if(_a(s,n),Ap(s))for(const l of s.jsDoc)_a(l,n)})}function fct(e){return Yy(e)||e.parent.kind===282||dct(e)||S5(e)}function CL(e){const t=_ct(e);return t&&(jo(t.parent)||YT(t.parent))?t:void 0}function _ct(e){switch(e.kind){case 11:case 15:case 9:if(e.parent.kind===166)return tee(e.parent.parent)?e.parent.parent:void 0;case 80:return tee(e.parent)&&(e.parent.parent.kind===209||e.parent.parent.kind===291)&&e.parent.name===e?e.parent:void 0}}function pct(e,t){const n=CL(e);if(n){const s=t.getContextualType(n.parent),l=s&&B$(n,t,s,!1);if(l&&l.length===1)return Oo(l)}return t.getSymbolAtLocation(e)}function B$(e,t,n,s){const l=H9(e.name);if(!l)return ft;if(!n.isUnion()){const d=n.getProperty(l);return d?[d]:ft}const f=lr(n.types,d=>(jo(e.parent)||YT(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?lr(n.types,d=>d.getProperty(l)):f}function dct(e){return e&&e.parent&&e.parent.kind===211&&e.parent.argumentExpression===e}function mct(e){if(Gu)return vs(cs(So(Gu.getExecutingFilePath())),$B(e));throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ")}var _le,j$,J$,hDe,ple,U$,z$,gDe,yDe,vDe,bDe,TDe,SDe,xDe,dle,mle,kDe,hct=p({"src/services/services.ts"(){Si(),J3e(),cPe(),mg(),c3e(),oDe(),_le="0.8",j$=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(!gh(this.pos)&&!gh(this.end),e||"Node must have a real position for this operation")}getSourceFile(){return pn(this)}getStart(e,t){return this.assertHasRealPosition(),Dx(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=oct(this,e))}getFirstToken(e){this.assertHasRealPosition();const t=this.getChildren(e);if(!t.length)return;const n=Ve(t,s=>s.kind<315||s.kind>356);return n.kind<165?n:n.getFirstToken(e)}getLastToken(e){this.assertHasRealPosition();const t=this.getChildren(e),n=Bc(t);if(n)return n.kind<165?n:n.getLastToken(e)}forEachChild(e,t){return _a(this,e,t)}},J$=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 pn(this)}getStart(e,t){return Dx(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||ft}getFirstToken(){}getLastToken(){}forEachChild(){}},hDe=class{constructor(e,t){this.id=0,this.mergeId=0,this.flags=e,this.escapedName=t}getFlags(){return this.flags}get name(){return xl(this)}getEscapedName(){return this.escapedName}getName(){return this.name}getDeclarations(){return this.declarations}getDocumentationComment(e){if(!this.documentationComment)if(this.documentationComment=ft,!this.declarations&&Yh(this)&&this.links.target&&Yh(this.links.target)&&this.links.target.links.tupleLabelDeclaration){const t=this.links.target.links.tupleLabelDeclaration;this.documentationComment=xL([t],e)}else this.documentationComment=xL(this.declarations,e);return this.documentationComment}getContextualDocumentationComment(e,t){if(e){if(kv(e)&&(this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=xL(gr(this.declarations,kv),t)),G(this.contextualGetAccessorDocumentationComment)))return this.contextualGetAccessorDocumentationComment;if(i1(e)&&(this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=xL(gr(this.declarations,i1),t)),G(this.contextualSetAccessorDocumentationComment)))return this.contextualSetAccessorDocumentationComment}return this.getDocumentationComment(t)}getJsDocTags(e){return this.tags===void 0&&(this.tags=M$(this.declarations,e)),this.tags}getContextualJsDocTags(e,t){if(e){if(kv(e)&&(this.contextualGetAccessorTags||(this.contextualGetAccessorTags=M$(gr(this.declarations,kv),t)),G(this.contextualGetAccessorTags)))return this.contextualGetAccessorTags;if(i1(e)&&(this.contextualSetAccessorTags||(this.contextualSetAccessorTags=M$(gr(this.declarations,i1),t)),G(this.contextualSetAccessorTags)))return this.contextualSetAccessorTags}return this.getJsDocTags(t)}},ple=class extends J${constructor(e,t,n){super(t,n),this.kind=e}},U$=class extends J${constructor(e,t,n){super(t,n),this.kind=80}get text(){return Zn(this)}},U$.prototype.kind=80,z$=class extends J${constructor(e,t,n){super(t,n),this.kind=81}get text(){return Zn(this)}},z$.prototype.kind=81,gDe=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!!(vi(this)&3)}isClass(){return!!(vi(this)&1)}isIndexType(){return!!(this.flags&4194304)}get typeArguments(){if(vi(this)&4)return this.checker.getTypeArguments(this)}},yDe=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()&&oD(t.type)){const n=t.type.getConstraint();if(n)return this.checker.getIndexType(n)}return t}getDocumentationComment(){return this.documentationComment||(this.documentationComment=xL(yx(this.declaration),this.checker))}getJsDocTags(){return this.jsDocTags||(this.jsDocTags=M$(yx(this.declaration),this.checker))}},vDe=class extends j${constructor(e,t,n){super(e,t,n),this.kind=311}update(e,t){return dne(this,e,t)}getLineAndCharacterOfPosition(e){return Vc(this,e)}getLineStarts(){return Vy(this)}getPositionOfLineAndCharacter(e,t,n){return wK(Vy(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=sd();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=XB(f);return d&&(Ho(d)&&ai(d.expression)?d.expression.name.text:sl(d)?H9(d):void 0)}function l(f){switch(f.kind){case 261:case 217:case 173:case 172:const d=f,g=s(d);if(g){const T=n(g),C=Bc(T);C&&d.parent===C.parent&&d.symbol===C.symbol?d.body&&!C.body&&(T[T.length-1]=d):T.push(d)}_a(f,l);break;case 262:case 230:case 263:case 264:case 265:case 266:case 270:case 280:case 275:case 272:case 273:case 176:case 177:case 186:t(f),_a(f,l);break;case 168:if(!gi(f,16476))break;case 259:case 207:{const T=f;if(Fa(T.name)){_a(T.name,l);break}T.initializer&&l(T.initializer)}case 305:case 171:case 170:t(f);break;case 277:const h=f;h.exportClause&&(im(h.exportClause)?te(h.exportClause.elements,l):l(h.exportClause.name));break;case 271:const k=f.importClause;k&&(k.name&&t(k.name),k.namedBindings&&(k.namedBindings.kind===273?t(k.namedBindings):te(k.namedBindings.elements,l)));break;case 225:dl(f)!==0&&t(f);default:_a(f,l)}}}},bDe=class{constructor(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n}getLineAndCharacterOfPosition(e){return Vc(this,e)}},TDe=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 T=Eoe(e,this.host),C=this.host.getScriptVersion(e);let D;if(this.currentFileName!==e){const O={languageVersion:99,impliedNodeFormat:x9(bc(e,this.host.getCurrentDirectory(),((s=(n=(t=this.host).getCompilerHost)==null?void 0:n.call(t))==null?void 0:s.getCanonicalFileName)||a1(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:J5(this.host.getCompilationSettings())};D=R$(e,k,O,C,!0,T)}else if(this.currentFileVersion!==C){const O=k.getChangeRange(this.currentFileScriptSnapshot);D=ule(this.currentSourceFile,k,C,O)}return D&&(this.currentFileVersion=C,this.currentFileName=e,this.currentFileScriptSnapshot=k,this.currentSourceFile=D),this.currentSourceFile}},SDe={isCancellationRequested:Q0,throwIfCancellationRequested:fc},xDe=class{constructor(e){this.cancellationToken=e}isCancellationRequested(){return this.cancellationToken.isCancellationRequested()}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw(e=qi)==null||e.instant(qi.Phase.Session,"cancellationThrown",{kind:"CancellationTokenObject"}),new nP}},dle=class{constructor(e,t=20){this.hostCancellationToken=e,this.throttleWaitMilliseconds=t,this.lastCancellationCheckTime=0}isCancellationRequested(){const e=Uc();return Math.abs(e-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds?(this.lastCancellationCheckTime=e,this.hostCancellationToken.isCancellationRequested()):!1}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw(e=qi)==null||e.instant(qi.Phase.Session,"cancellationThrown",{kind:"ThrottledCancellationToken"}),new nP}},mle=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes"],kDe=[...mle,"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],xSe(lct())}});function gct(e,t,n){const s=[];n=pce(n,s);const l=ka(e)?e:[e],f=d9(void 0,void 0,V,n,l,t,!0);return f.diagnostics=wr(f.diagnostics,s),f}var yct=p({"src/services/transform.ts"(){Si()}});function V$(e,t){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+t.message)}function vct(e,t,n,s){let l;s&&(e.log(t),l=Uc());const f=n();if(s){const d=Uc();if(e.log(`${t} completed in ${d-l} msec`),Wa(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 hle(e,t,n,s){return CDe(e,t,!0,n,s)}function CDe(e,t,n,s,l){try{const f=vct(e,t,s,l);return n?JSON.stringify({result:f}):f}catch(f){return f instanceof nP?JSON.stringify({canceled:!0}):(V$(e,f),f.description=t,JSON.stringify({error:f}))}}function gle(e,t){return e.map(n=>bct(n,t))}function bct(e,t){return{message:jv(e.messageText,t),start:e.start,length:e.length,category:SB(e),code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function yle(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}var $$,wDe,vle,ble,q$,EDe,ADe,PDe,DDe,Tct=p({"src/services/shims.ts"(){Si(),$$=function(){return this}(),wDe=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 MI(yu(s.span.start,s.span.length),s.newLength)}dispose(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()}},vle=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=iI(s,l);return f?{resolvedFileName:f,extension:Vx(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=>iI(s,Wa(l)?l:wm(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 wDe(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 dle(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=ZP(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)}},ble=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=ZP(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))}},q$=class{constructor(e){this.factory=e,e.registerShim(this)}dispose(e){this.factory.unregisterShim(this)}},EDe=class extends q${constructor(e,t,n){super(e),this.host=t,this.languageService=n,this.logPerformance=!1,this.logger=this.host}forwardJSONCall(e,t){return hle(this.logger,e,t,this.logPerformance)}dispose(e){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,$$&&$$.CollectGarbage&&($$.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=zv(this.host,void 0);return gle(e,t)}getSyntacticClassifications(e,t,n){return this.forwardJSONCall(`getSyntacticClassifications('${e}', ${t}, ${n})`,()=>this.languageService.getSyntacticClassifications(e,yu(t,n)))}getSemanticClassifications(e,t,n){return this.forwardJSONCall(`getSemanticClassifications('${e}', ${t}, ${n})`,()=>this.languageService.getSemanticClassifications(e,yu(t,n)))}getEncodedSyntacticClassifications(e,t,n){return this.forwardJSONCall(`getEncodedSyntacticClassifications('${e}', ${t}, ${n})`,()=>yle(this.languageService.getEncodedSyntacticClassifications(e,yu(t,n))))}getEncodedSemanticClassifications(e,t,n){return this.forwardJSONCall(`getEncodedSemanticClassifications('${e}', ${t}, ${n})`,()=>yle(this.languageService.getEncodedSemanticClassifications(e,yu(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})`,()=>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))}getDocumentHighlights(e,t,n){return this.forwardJSONCall(`getDocumentHighlights('${e}', ${t})`,()=>{const s=this.languageService.getDocumentHighlights(e,t,JSON.parse(n)),l=wm(Qu(e));return gr(s,f=>wm(Qu(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 CDe(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))}},ADe=class extends q${constructor(e,t){super(e),this.logger=t,this.logPerformance=!1,this.classifier=t3e()}getEncodedLexicalClassifications(e,t,n=!1){return hle(this.logger,"getEncodedLexicalClassifications",()=>yle(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}},PDe=class extends q${constructor(e,t,n){super(e),this.logger=t,this.host=n,this.logPerformance=!1}forwardJSONCall(e,t){return hle(this.logger,e,t,this.logPerformance)}resolveModuleName(e,t,n){return this.forwardJSONCall(`resolveModuleName('${e}')`,()=>{const s=JSON.parse(n),l=jD(t,Qu(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=Xne(t,Qu(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=C3e(kV(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 ez(t,this.host)})}convertFileReferences(e){if(!e)return;const t=[];for(const n of e)t.push({path:Qu(n.fileName),position:n.pos,length:n.end-n.pos});return t}getTSConfigFileInfo(e,t){return this.forwardJSONCall(`getTSConfigFileInfo('${e}')`,()=>{const n=BO(e,kV(t)),s=Qu(e),l=VO(n,this.host,cs(s),{},s);return{options:l.options,typeAcquisition:l.typeAcquisition,files:l.fileNames,raw:l.raw,errors:gle([...n.parseDiagnostics,...l.errors],`\r
`)}})}getDefaultCompilationSettings(){return this.forwardJSONCall("getDefaultCompilationSettings()",()=>F$())}discoverTypings(e){const t=nf(!1);return this.forwardJSONCall("discoverTypings()",()=>{const n=JSON.parse(e);return this.safeList===void 0&&(this.safeList=fk.loadSafeList(this.host,bc(n.safeListPath,n.safeListPath,t))),fk.discoverTypings(this.host,s=>this.logger.log(s),n.fileNames,bc(n.projectRootPath,n.projectRootPath,t),this.safeList,n.packageNameToTypingLocation,n.typeAcquisition,n.unresolvedImports,n.typesRegistry,Rd)})}},DDe=class{constructor(){this._shims=[]}getServicesVersion(){return _le}createLanguageServiceShim(e){try{this.documentRegistry===void 0&&(this.documentRegistry=Koe(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory()));const t=new vle(e),n=mDe(t,this.documentRegistry,!1);return new EDe(this,e,n)}catch(t){throw V$(e,t),t}}createClassifierShim(e){try{return new ADe(this,e)}catch(t){throw V$(e,t),t}}createCoreServicesShim(e){try{const t=new ble(e);return new PDe(this,e,t)}catch(t){throw V$(e,t),t}}close(){us(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 Sct(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 C=ou(n.pos,e);if(!C||e.getLineAndCharacterOfPosition(C.getEnd()).line!==s)return;n=C}if(n.flags&16777216)return;return T(n);function l(C,D){const O=Jw(C)?Ft(C.modifiers,xf):void 0,M=O?fo(e.text,O.end):C.getStart(e);return nu(M,(D||C).getEnd())}function f(C,D){return l(C,dk(D,D.parent,e))}function d(C,D){return C&&s===e.getLineAndCharacterOfPosition(C.getStart(e)).line?T(C):T(D)}function g(C,D,O){if(C){const M=C.indexOf(D);if(M>=0){let U=M,B=M+1;for(;U>0&&O(C[U-1]);)U--;for(;B<C.length&&O(C[B]);)B++;return nu(fo(e.text,C[U].pos),C[B-1].end)}}return l(D)}function h(C){return T(ou(C.pos,e))}function k(C){return T(dk(C,C.parent,e))}function T(C){if(C){const{parent:ue}=C;switch(C.kind){case 242:return O(C.declarationList.declarations[0]);case 259:case 171:case 170:return O(C);case 168:return U(C);case 261:case 173:case 172:case 176:case 177:case 175:case 217:case 218:return H(C);case 240:if(Ix(C))return Y(C);case 267:return Z(C);case 298:return Z(C.block);case 243:return l(C.expression);case 252:return l(C.getChildAt(0),C.expression);case 246:return f(C,C.expression);case 245:return T(C.statement);case 258:return l(C.getChildAt(0));case 244:return f(C,C.expression);case 255:return T(C.statement);case 251:case 250:return l(C.getChildAt(0),C.label);case 247:return Q(C);case 248:return f(C,C.expression);case 249:return fe(C);case 254:return f(C,C.expression);case 295:case 296:return T(C.statements[0]);case 257:return Z(C.tryBlock);case 256:return l(C,C.expression);case 276:return l(C,C.expression);case 270:return l(C,C.moduleReference);case 271:return l(C,C.moduleSpecifier);case 277:return l(C,C.moduleSpecifier);case 266:if(i0(C)!==1)return;case 262:case 265:case 305:case 207:return l(C);case 253:return T(C.statement);case 169:return g(ue.modifiers,C,xf);case 205:case 206:return he(C);case 263:case 264:return;case 27:case 1:return d(ou(C.pos,e));case 28:return h(C);case 19:return ye(C);case 20:return de(C);case 24:return Ce(C);case 21:return K(C);case 22:return ce(C);case 59:return le(C);case 32:case 30:return xe(C);case 117:return we(C);case 93:case 85:case 98:return k(C);case 164:return Ie(C);default:if(b1(C))return W(C);if((C.kind===80||C.kind===229||C.kind===302||C.kind===303)&&b1(ue))return l(C);if(C.kind===225){const{left:ut,operatorToken:Ge}=C;if(b1(ut))return W(ut);if(Ge.kind===64&&b1(C.parent))return l(C);if(Ge.kind===28)return T(ut)}if(Xy(C))switch(ue.kind){case 245:return h(C);case 169:return T(C.parent);case 247:case 249:return l(C);case 225:if(C.parent.operatorToken.kind===28)return l(C);break;case 218:if(C.parent.body===C)return l(C);break}switch(C.parent.kind){case 302:if(C.parent.name===C&&!b1(C.parent.parent))return T(C.parent.initializer);break;case 215:if(C.parent.type===C)return k(C.parent.type);break;case 259:case 168:{const{initializer:ut,type:Ge}=C.parent;if(ut===C||Ge===C||o1(C.kind))return h(C);break}case 225:{const{left:ut}=C.parent;if(b1(ut)&&C!==ut)return h(C);break}default:if(Sa(C.parent)&&C.parent.type===C)return h(C)}return T(C.parent)}}function D(ue){return Tu(ue.parent)&&ue.parent.declarations[0]===ue?l(ou(ue.pos,e,ue.parent),ue):l(ue)}function O(ue){if(ue.parent.parent.kind===248)return T(ue.parent.parent);const ut=ue.parent;if(Fa(ue.name))return he(ue.name);if(Px(ue)&&ue.initializer||gi(ue,1)||ut.parent.kind===249)return D(ue);if(Tu(ue.parent)&&ue.parent.declarations[0]!==ue)return T(ou(ue.pos,e,ue.parent))}function M(ue){return!!ue.initializer||ue.dotDotDotToken!==void 0||gi(ue,12)}function U(ue){if(Fa(ue.name))return he(ue.name);if(M(ue))return l(ue);{const ut=ue.parent,Ge=ut.parameters.indexOf(ue);return R.assert(Ge!==-1),Ge!==0?U(ut.parameters[Ge-1]):T(ut.body)}}function B(ue){return gi(ue,1)||ue.parent.kind===262&&ue.kind!==175}function H(ue){if(ue.body)return B(ue)?l(ue):T(ue.body)}function Y(ue){const ut=ue.statements.length?ue.statements[0]:ue.getLastToken();return B(ue.parent)?d(ue.parent,ut):T(ut)}function Z(ue){switch(ue.parent.kind){case 266:if(i0(ue.parent)!==1)return;case 246:case 244:case 248:return d(ue.parent,ue.statements[0]);case 247:case 249:return d(ou(ue.pos,e,ue.parent),ue.statements[0])}return T(ue.statements[0])}function fe(ue){if(ue.initializer.kind===260){const ut=ue.initializer;if(ut.declarations.length>0)return T(ut.declarations[0])}else return T(ue.initializer)}function Q(ue){if(ue.initializer)return fe(ue);if(ue.condition)return l(ue.condition);if(ue.incrementor)return l(ue.incrementor)}function he(ue){const ut=te(ue.elements,Ge=>Ge.kind!==231?Ge:void 0);return ut?T(ut):ue.parent.kind===207?l(ue.parent):D(ue.parent)}function W(ue){R.assert(ue.kind!==206&&ue.kind!==205);const ut=ue.kind===208?ue.elements:ue.properties,Ge=te(ut,qe=>qe.kind!==231?qe:void 0);return Ge?T(Ge):l(ue.parent.kind===225?ue.parent:ue)}function ye(ue){switch(ue.parent.kind){case 265:const ut=ue.parent;return d(ou(ue.pos,e,ue.parent),ut.members.length?ut.members[0]:ut.getLastToken(e));case 262:const Ge=ue.parent;return d(ou(ue.pos,e,ue.parent),Ge.members.length?Ge.members[0]:Ge.getLastToken(e));case 268:return d(ue.parent.parent,ue.parent.clauses[0])}return T(ue.parent)}function de(ue){switch(ue.parent.kind){case 267:if(i0(ue.parent.parent)!==1)return;case 265:case 262:return l(ue);case 240:if(Ix(ue.parent))return l(ue);case 298:return T(Bc(ue.parent.statements));case 268:const ut=ue.parent,Ge=Bc(ut.clauses);return Ge?T(Bc(Ge.statements)):void 0;case 205:const qe=ue.parent;return T(Bc(qe.elements)||qe);default:if(b1(ue.parent)){const Ke=ue.parent;return l(Bc(Ke.properties)||Ke)}return T(ue.parent)}}function Ce(ue){switch(ue.parent.kind){case 206:const ut=ue.parent;return l(Bc(ut.elements)||ut);default:if(b1(ue.parent)){const Ge=ue.parent;return l(Bc(Ge.elements)||Ge)}return T(ue.parent)}}function K(ue){return ue.parent.kind===245||ue.parent.kind===212||ue.parent.kind===213?h(ue):ue.parent.kind===216?k(ue):T(ue.parent)}function ce(ue){switch(ue.parent.kind){case 217:case 261:case 218:case 173:case 172:case 176:case 177:case 175:case 246:case 245:case 247:case 249:case 212:case 213:case 216:return h(ue);default:return T(ue.parent)}}function le(ue){return Sa(ue.parent)||ue.parent.kind===302||ue.parent.kind===168?h(ue):T(ue.parent)}function xe(ue){return ue.parent.kind===215?k(ue):T(ue.parent)}function we(ue){return ue.parent.kind===245?f(ue,ue.parent.expression):T(ue.parent)}function Ie(ue){return ue.parent.kind===249?k(ue):T(ue.parent)}}}var xct=p({"src/services/breakpoints.ts"(){Si()}}),Tle={};S(Tle,{spanInSourceFileAtLocation:()=>Sct});var kct=p({"src/services/_namespaces/ts.BreakpointResolver.ts"(){xct()}});function Cct(e){return(_c(e)||Gf(e))&&bf(e)}function w8(e){return(_c(e)||Dc(e)||Gf(e))&&bs(e.parent)&&e===e.parent.initializer&&He(e.parent.name)&&!!(ph(e.parent)&2)}function NDe(e){return Cs(e)||Al(e)||au(e)||_c(e)||Su(e)||Gf(e)||al(e)||ql(e)||ty(e)||nm(e)||md(e)}function iE(e){return Cs(e)||Al(e)&&He(e.name)||au(e)||Su(e)||al(e)||ql(e)||ty(e)||nm(e)||md(e)||Cct(e)||w8(e)}function IDe(e){return Cs(e)?e:bf(e)?e.name:w8(e)?e.parent.name:R.checkDefined(e.modifiers&&Ve(e.modifiers,ODe))}function ODe(e){return e.kind===90}function LDe(e,t){const n=IDe(t);return n&&e.getSymbolAtLocation(n)}function wct(e,t){if(Cs(t))return{text:t.fileName,pos:0,end:0};if((au(t)||Su(t))&&!bf(t)){const l=t.modifiers&&Ve(t.modifiers,ODe);if(l)return{text:"default",pos:l.getStart(),end:l.getEnd()}}if(al(t)){const l=t.getSourceFile(),f=fo(l.text,hh(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=w8(t)?t.parent.name:R.checkDefined(ia(t),"Expected call hierarchy item to have a name");let s=He(n)?Zn(n):ud(n)?n.text:Ho(n)&&ud(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=g9();s=bP(f=>l.writeNode(4,t,t.getSourceFile(),f))}return{text:s,pos:n.getStart(),end:n.getEnd()}}function Ect(e){var t,n;if(w8(e))return yh(e.parent.parent.parent.parent)&&He(e.parent.parent.parent.parent.parent.name)?e.parent.parent.parent.parent.parent.name.getText():void 0;switch(e.kind){case 176:case 177:case 173:return e.parent.kind===209?(t=OK(e.parent))==null?void 0:t.getText():(n=ia(e.parent))==null?void 0:n.getText();case 261:case 262:case 266:if(yh(e.parent)&&He(e.parent.parent.name))return e.parent.parent.name.getText()}}function MDe(e,t){if(t.body)return t;if(El(t))return Yg(t.parent);if(au(t)||ql(t)){const n=LDe(e,t);return n&&n.valueDeclaration&&Lc(n.valueDeclaration)&&n.valueDeclaration.body?n.valueDeclaration:void 0}return t}function FDe(e,t){const n=LDe(e,t);let s;if(n&&n.declarations){const l=Wi(n.declarations),f=qt(n.declarations,h=>({file:h.getSourceFile().fileName,pos:h.pos}));l.sort((h,k)=>zf(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)iE(h)&&((!g||g.parent!==h.parent||g.end!==h.pos)&&(s=zr(s,h)),g=h)}return s}function W$(e,t){return al(t)?t:Lc(t)?MDe(e,t)??FDe(e,t)??t:FDe(e,t)??t}function RDe(e,t){const n=e.getTypeChecker();let s=!1;for(;;){if(iE(t))return W$(n,t);if(NDe(t)){const l=mn(t,iE);return l&&W$(n,l)}if(Yy(t)){if(iE(t.parent))return W$(n,t.parent);if(NDe(t.parent)){const l=mn(t.parent,iE);return l&&W$(n,l)}return bs(t.parent)&&t.parent.initializer&&w8(t.parent.initializer)?t.parent.initializer:void 0}if(El(t))return iE(t.parent)?t.parent:void 0;if(t.kind===126&&al(t.parent)){t=t.parent;continue}if(bs(t)&&t.initializer&&w8(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 Sle(e,t){const n=t.getSourceFile(),s=wct(e,t),l=Ect(t),f=lS(t),d=n8(t),g=nu(fo(n.text,t.getFullStart(),!1,!0),t.getEnd()),h=nu(s.pos,s.end);return{file:n.fileName,kind:f,kindModifiers:d,name:s.text,containerName:l,span:g,selectionSpan:h}}function Act(e){return e!==void 0}function Pct(e){if(e.kind===Wc.EntryKind.Node){const{node:t}=e;if(Wae(t,!0,!0)||q4e(t,!0,!0)||W4e(t,!0,!0)||H4e(t,!0,!0)||cA(t)||Qae(t)){const n=t.getSourceFile();return{declaration:mn(t,iE)||n,range:poe(t,n)}}}}function BDe(e){return Jo(e.declaration)}function Dct(e,t){return{from:e,fromSpans:t}}function Nct(e,t){return Dct(Sle(e,t[0].declaration),qt(t,n=>Uv(n.range)))}function Ict(e,t,n){if(Cs(t)||Al(t)||al(t))return[];const s=IDe(t),l=gr(Wc.findReferenceOrRenameEntries(e,n,e.getSourceFiles(),s,0,{use:Wc.FindReferencesUse.References},Pct),Act);return l?Y3(l,BDe,f=>Nct(e,f)):[]}function Oct(e,t){function n(l){const f=Hx(l)?l.tag:a_(l)?l.tagName:jc(l)||al(l)?l:l.expression,d=RDe(e,f);if(d){const g=poe(f,l.getSourceFile());if(ka(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(iE(l)){if(Ri(l))for(const f of l.members)f.name&&Ho(f.name)&&s(f.name.expression);return}switch(l.kind){case 80:case 270:case 271:case 277:case 263:case 264:return;case 174:n(l);return;case 215:case 233:s(l.expression);return;case 259:case 168:s(l.name),s(l.initializer);return;case 212:n(l),s(l.expression),te(l.arguments,s);return;case 213:n(l),s(l.expression),te(l.arguments,s);return;case 214:n(l),s(l.tag),s(l.template);return;case 285:case 284:n(l),s(l.tagName),s(l.attributes);return;case 169:n(l),s(l.expression);return;case 210:case 211:n(l),_a(l,s);break;case 237:s(l.expression);return}Gg(l)||_a(l,s)}}return s}function Lct(e,t){te(e.statements,t)}function Mct(e,t){!gi(e,2)&&e.body&&yh(e.body)&&te(e.body.statements,t)}function Fct(e,t,n){const s=MDe(e,t);s&&(te(s.parameters,n),n(s.body))}function Rct(e,t){t(e.body)}function Bct(e,t){te(e.modifiers,t);const n=RT(e);n&&t(n.expression);for(const s of e.members)am(s)&&te(s.modifiers,t),Ia(s)?t(s.initializer):El(s)&&s.body?(te(s.parameters,t),t(s.body)):al(s)&&t(s)}function jct(e,t){const n=[],s=Oct(e,n);switch(t.kind){case 311:Lct(t,s);break;case 266:Mct(t,s);break;case 261:case 217:case 218:case 173:case 176:case 177:Fct(e.getTypeChecker(),t,s);break;case 262:case 230:Bct(t,s);break;case 174:Rct(t,s);break;default:R.assertNever(t)}return n}function Jct(e,t){return{to:e,fromSpans:t}}function Uct(e,t){return Jct(Sle(e,t[0].declaration),qt(t,n=>Uv(n.range)))}function zct(e,t){return t.flags&16777216||ty(t)?[]:Y3(jct(e,t),BDe,n=>Uct(e,n))}var Vct=p({"src/services/callHierarchy.ts"(){Si()}}),sE={};S(sE,{createCallHierarchyItem:()=>Sle,getIncomingCalls:()=>Ict,getOutgoingCalls:()=>zct,resolveCallHierarchyDeclaration:()=>RDe});var $ct=p({"src/services/_namespaces/ts.CallHierarchy.ts"(){Vct()}}),jDe={};S(jDe,{TokenEncodingConsts:()=>ale,TokenModifier:()=>cle,TokenType:()=>ole,getEncodedSemanticClassifications:()=>sle,getSemanticClassifications:()=>iDe});var qct=p({"src/services/_namespaces/ts.classifier.v2020.ts"(){oDe()}}),JDe={};S(JDe,{v2020:()=>jDe});var Wct=p({"src/services/_namespaces/ts.classifier.ts"(){qct()}});function jm(e,t,n){return kle(e,Zw(n),t,void 0,void 0)}function Oa(e,t,n,s,l,f){return kle(e,Zw(n),t,s,Zw(l),f)}function xle(e,t,n,s,l,f){return kle(e,Zw(n),t,s,l&&Zw(l),f)}function kle(e,t,n,s,l,f){return{fixName:e,description:t,changes:n,fixId:s,fixAllDescription:l,commands:f?[f]:void 0}}function Ga(e){for(const t of e.errorCodes)Cle=void 0,H$.add(String(t),e);if(e.fixIds)for(const t of e.fixIds)R.assert(!G$.has(t)),G$.set(t,e)}function Hct(){return Cle??(Cle=oo(H$.keys()))}function Gct(e,t){const{errorCodes:n}=e;let s=0;for(const f of t)if(kt(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 Xct(e){const t=zDe(e),n=H$.get(String(e.errorCode));return ln(n,s=>qt(s.getCodeActions(e),Gct(s,t)))}function Qct(e){return G$.get(Ua(e.fixId,Wa)).getAllCodeActions(e)}function aE(e,t){return{changes:e,commands:t}}function UDe(e,t){return{fileName:e,textChanges:t}}function Zo(e,t,n){const s=[],l=jn.ChangeTracker.with(e,f=>oE(e,t,d=>n(f,d,s)));return aE(l,s.length===0?void 0:s)}function oE(e,t,n){for(const s of zDe(e))kt(t,s.code)&&n(s)}function zDe({program:e,sourceFile:t,cancellationToken:n}){return[...e.getSemanticDiagnostics(t,n),...e.getSyntacticDiagnostics(t,n),...lce(t,e,n)]}var H$,G$,Cle,Yct=p({"src/services/codeFixProvider.ts"(){Si(),H$=sd(),G$=new Map}});function VDe(e,t,n){const s=vO(n)?V.createAsExpression(n.expression,V.createKeywordTypeNode(159)):V.createTypeAssertion(V.createKeywordTypeNode(159),n.expression);e.replaceNode(t,n.expression,s)}function $De(e,t){if(!Mn(e))return mn(Os(e,t),n=>vO(n)||Qxe(n))}var X$,wle,Zct=p({"src/services/codefixes/addConvertToUnknownForNonOverlappingTypes.ts"(){Si(),Ya(),X$="addConvertToUnknownForNonOverlappingTypes",wle=[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],Ga({errorCodes:wle,getCodeActions:function(t){const n=$De(t.sourceFile,t.span.start);if(n===void 0)return;const s=jn.ChangeTracker.with(t,l=>VDe(l,t.sourceFile,n));return[Oa(X$,s,v.Add_unknown_conversion_for_non_overlapping_types,X$,v.Add_unknown_to_all_conversions_of_non_overlapping_types)]},fixIds:[X$],getAllCodeActions:e=>Zo(e,wle,(t,n)=>{const s=$De(n.file,n.start);s&&VDe(t,n.file,s)})})}}),Kct=p({"src/services/codefixes/addEmptyExportDeclaration.ts"(){Si(),Ya(),Ga({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=V.createExportDeclaration(void 0,!1,V.createNamedExports([]),void 0);l.insertNodeAtEndOfScope(n,n,f)});return[jm("addEmptyExportDeclaration",s,v.Add_export_to_make_this_file_into_a_module)]}})}});function qDe(e,t,n,s){const l=n(f=>elt(f,e.sourceFile,t,s));return Oa(Q$,l,v.Add_async_modifier_to_containing_function,Q$,v.Add_all_missing_async_modifiers)}function elt(e,t,n,s){if(s&&s.has(Jo(n)))return;s==null||s.add(Jo(n));const l=V.updateModifiers(Fc(n,!0),V.createNodeArray(V.createModifiersFromModifierFlags(Pv(n)|512)));e.replaceNode(t,n,l)}function WDe(e,t){if(!t)return;const n=Os(e,t.start);return mn(n,l=>l.getStart(e)<t.start||l.getEnd()>af(t)?"quit":(Dc(l)||ql(l)||_c(l)||au(l))&&fA(t,u_(l,e)))}function tlt(e,t){return({start:n,length:s,relatedInformation:l,code:f})=>X0(n)&&X0(s)&&fA({start:n,length:s},e)&&f===t&&!!l&&Ne(l,d=>d.code===v.Did_you_mean_to_mark_this_function_as_async.code)}var Q$,Ele,rlt=p({"src/services/codefixes/addMissingAsync.ts"(){Si(),Ya(),Q$="addMissingAsync",Ele=[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],Ga({fixIds:[Q$],errorCodes:Ele,getCodeActions:function(t){const{sourceFile:n,errorCode:s,cancellationToken:l,program:f,span:d}=t,g=Ve(f.getTypeChecker().getDiagnostics(n,l),tlt(d,s)),h=g&&g.relatedInformation&&Ve(g.relatedInformation,C=>C.code===v.Did_you_mean_to_mark_this_function_as_async.code),k=WDe(n,h);return k?[qDe(t,k,C=>jn.ChangeTracker.with(t,C))]:void 0},getAllCodeActions:e=>{const{sourceFile:t}=e,n=new Set;return Zo(e,Ele,(s,l)=>{const f=l.relatedInformation&&Ve(l.relatedInformation,h=>h.code===v.Did_you_mean_to_mark_this_function_as_async.code),d=WDe(t,f);return d?qDe(e,d,h=>(h(s),[]),n):void 0})}})}});function HDe(e,t,n,s,l){const f=Boe(e,n);return f&&nlt(e,t,n,s,l)&&QDe(f)?f:void 0}function GDe(e,t,n,s,l,f){const{sourceFile:d,program:g,cancellationToken:h}=e,k=ilt(t,d,h,g,s);if(k){const T=l(C=>{te(k.initializers,({expression:D})=>Ale(C,n,d,s,D,f)),f&&k.needsSecondPassForFixAll&&Ale(C,n,d,s,t,f)});return jm("addMissingAwaitToInitializer",T,k.initializers.length===1?[v.Add_await_to_initializer_for_0,k.initializers[0].declarationSymbol.name]:v.Add_await_to_initializers)}}function XDe(e,t,n,s,l,f){const d=l(g=>Ale(g,n,e.sourceFile,s,t,f));return Oa(Y$,d,v.Add_await,Y$,v.Fix_all_expressions_possibly_missing_await)}function nlt(e,t,n,s,l){const d=l.getTypeChecker().getDiagnostics(e,s);return Ne(d,({start:g,length:h,relatedInformation:k,code:T})=>X0(g)&&X0(h)&&fA({start:g,length:h},n)&&T===t&&!!k&&Ne(k,C=>C.code===v.Did_you_forget_to_use_await.code))}function ilt(e,t,n,s,l){const f=slt(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 T=wi(k.valueDeclaration,bs),C=T&&wi(T.name,He),D=Yb(T,242);if(!T||!D||T.type||!T.initializer||D.getSourceFile()!==t||gi(D,1)||!C||!QDe(T.initializer)){d=!1;continue}const O=s.getSemanticDiagnostics(t,n);if(Wc.Core.eachSymbolReferenceInFile(C,l,t,U=>h!==U&&!alt(U,O,t,l))){d=!1;continue}(g||(g=[])).push({expression:T.initializer,declarationSymbol:k})}return g&&{initializers:g,needsSecondPassForFixAll:!d}}function slt(e,t){if(ai(e.parent)&&He(e.parent.expression))return{identifiers:[e.parent.expression],isCompleteFix:!0};if(He(e))return{identifiers:[e],isCompleteFix:!0};if(Bn(e)){let n,s=!0;for(const l of[e.left,e.right]){const f=t.getTypeAtLocation(l);if(t.getPromisedTypeOfPromise(f)){if(!He(l)){s=!1;continue}(n||(n=[])).push(l)}}return n&&{identifiers:n,isCompleteFix:s}}}function alt(e,t,n,s){const l=ai(e.parent)?e.parent.name:Bn(e.parent)?e.parent:e,f=Ve(t,d=>d.start===l.getStart(n)&&d.start+d.length===l.getEnd());return f&&kt(Z$,f.code)||s.getTypeAtLocation(l).flags&1}function QDe(e){return e.kind&32768||!!mn(e,t=>t.parent&&Dc(t.parent)&&t.parent.body===t||Pa(t)&&(t.parent.kind===261||t.parent.kind===217||t.parent.kind===218||t.parent.kind===173))}function Ale(e,t,n,s,l,f){if(bO(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,V.updateForOfStatement(h,V.createToken(135),h.initializer,h.expression,h.statement));return}}if(Bn(l))for(const d of[l.left,l.right]){if(f&&He(d)){const k=s.getSymbolAtLocation(d);if(k&&f.has(vo(k)))continue}const g=s.getTypeAtLocation(d),h=s.getPromisedTypeOfPromise(g)?V.createAwaitExpression(d):d;e.replaceNode(n,d,h)}else if(t===Ple&&ai(l.parent)){if(f&&He(l.parent.expression)){const d=s.getSymbolAtLocation(l.parent.expression);if(d&&f.has(vo(d)))return}e.replaceNode(n,l.parent.expression,V.createParenthesizedExpression(V.createAwaitExpression(l.parent.expression))),YDe(e,l.parent.expression,n)}else if(kt(Dle,t)&&Wg(l.parent)){if(f&&He(l)){const d=s.getSymbolAtLocation(l);if(d&&f.has(vo(d)))return}e.replaceNode(n,l,V.createParenthesizedExpression(V.createAwaitExpression(l))),YDe(e,l,n)}else{if(f&&bs(l.parent)&&He(l.parent.name)){const d=s.getSymbolAtLocation(l.parent.name);if(d&&!li(f,vo(d)))return}e.replaceNode(n,l,V.createAwaitExpression(l))}}function YDe(e,t,n){const s=ou(t.pos,n);s&&FV(s.end,s.parent,n)&&e.insertText(n,t.getStart(n),";")}var Y$,Ple,Dle,Z$,olt=p({"src/services/codefixes/addMissingAwait.ts"(){Si(),Ya(),Y$="addMissingAwait",Ple=v.Property_0_does_not_exist_on_type_1.code,Dle=[v.This_expression_is_not_callable.code,v.This_expression_is_not_constructable.code],Z$=[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,Ple,...Dle],Ga({fixIds:[Y$],errorCodes:Z$,getCodeActions:function(t){const{sourceFile:n,errorCode:s,span:l,cancellationToken:f,program:d}=t,g=HDe(n,s,l,f,d);if(!g)return;const h=t.program.getTypeChecker(),k=T=>jn.ChangeTracker.with(t,T);return Ql([GDe(t,g,s,h,k),XDe(t,g,s,h,k)])},getAllCodeActions:e=>{const{sourceFile:t,program:n,cancellationToken:s}=e,l=e.program.getTypeChecker(),f=new Set;return Zo(e,Z$,(d,g)=>{const h=HDe(t,g.code,g,s,n);if(!h)return;const k=T=>(T(d),[]);return GDe(e,h,g.code,l,k,f)||XDe(e,h,g.code,l,k,f)})}})}});function ZDe(e,t,n,s,l){const f=Os(t,n),d=mn(f,k=>V6(k.parent)?k.parent.initializer===k:clt(k)?!1:"quit");if(d)return K$(e,d,t,l);const g=f.parent;if(Bn(g)&&g.operatorToken.kind===64&&of(g.parent))return K$(e,f,t,l);if(Hf(g)){const k=s.getTypeChecker();return ot(g.elements,T=>llt(T,k))?K$(e,g,t,l):void 0}const h=mn(f,k=>of(k.parent)?!0:ult(k)?!1:"quit");if(h){const k=s.getTypeChecker();return KDe(h,k)?K$(e,h,t,l):void 0}}function K$(e,t,n,s){(!s||li(s,t))&&e.insertModifierBefore(n,87,t)}function clt(e){switch(e.kind){case 80:case 208:case 209:case 302:case 303:return!0;default:return!1}}function llt(e,t){const n=He(e)?e:o_(e,!0)&&He(e.left)?e.left:void 0;return!!n&&!t.getSymbolAtLocation(n)}function ult(e){switch(e.kind){case 80:case 225:case 28:return!0;default:return!1}}function KDe(e,t){return Bn(e)?e.operatorToken.kind===28?ot([e.left,e.right],n=>KDe(n,t)):e.operatorToken.kind===64&&He(e.left)&&!t.getSymbolAtLocation(e.left):!1}var eq,Nle,flt=p({"src/services/codefixes/addMissingConst.ts"(){Si(),Ya(),eq="addMissingConst",Nle=[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],Ga({errorCodes:Nle,getCodeActions:function(t){const n=jn.ChangeTracker.with(t,s=>ZDe(s,t.sourceFile,t.span.start,t.program));if(n.length>0)return[Oa(eq,n,v.Add_const_to_unresolved_variable,eq,v.Add_const_to_all_unresolved_variables)]},fixIds:[eq],getAllCodeActions:e=>{const t=new Set;return Zo(e,Nle,(n,s)=>ZDe(n,s.file,s.start,e.program,t))}})}});function e8e(e,t,n,s){const l=Os(t,n);if(!He(l))return;const f=l.parent;f.kind===171&&(!s||li(s,f))&&e.insertModifierBefore(t,138,f)}var tq,Ile,_lt=p({"src/services/codefixes/addMissingDeclareProperty.ts"(){Si(),Ya(),tq="addMissingDeclareProperty",Ile=[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],Ga({errorCodes:Ile,getCodeActions:function(t){const n=jn.ChangeTracker.with(t,s=>e8e(s,t.sourceFile,t.span.start));if(n.length>0)return[Oa(tq,n,v.Prefix_with_declare,tq,v.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[tq],getAllCodeActions:e=>{const t=new Set;return Zo(e,Ile,(n,s)=>e8e(n,s.file,s.start,t))}})}});function t8e(e,t,n){const s=Os(t,n),l=mn(s,xf);R.assert(!!l,"Expected position to be owned by a decorator.");const f=V.createCallExpression(l.expression,void 0,void 0);e.replaceNode(t,l.expression,f)}var rq,Ole,plt=p({"src/services/codefixes/addMissingInvocationForDecorator.ts"(){Si(),Ya(),rq="addMissingInvocationForDecorator",Ole=[v._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code],Ga({errorCodes:Ole,getCodeActions:function(t){const n=jn.ChangeTracker.with(t,s=>t8e(s,t.sourceFile,t.span.start));return[Oa(rq,n,v.Call_decorator_expression,rq,v.Add_to_all_uncalled_decorators)]},fixIds:[rq],getAllCodeActions:e=>Zo(e,Ole,(t,n)=>t8e(t,n.file,n.start))})}});function r8e(e,t,n){const s=Os(t,n),l=s.parent;if(!ea(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=V.createTypeReferenceNode(l.name,void 0),g=V.createParameterDeclaration(l.modifiers,l.dotDotDotToken,"arg"+f,l.questionToken,l.dotDotDotToken?V.createArrayTypeNode(d):d,l.initializer);e.replaceNode(t,l,g)}var nq,Lle,dlt=p({"src/services/codefixes/addNameToNamelessParameter.ts"(){Si(),Ya(),nq="addNameToNamelessParameter",Lle=[v.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code],Ga({errorCodes:Lle,getCodeActions:function(t){const n=jn.ChangeTracker.with(t,s=>r8e(s,t.sourceFile,t.span.start));return[Oa(nq,n,v.Add_parameter_name,nq,v.Add_names_to_all_parameters_without_names)]},fixIds:[nq],getAllCodeActions:e=>Zo(e,Lle,(t,n)=>r8e(t,n.file,n.start))})}});function mlt(e,t,n){var s,l;const f=n8e(Boe(e,t),n);if(!f)return ft;const{source:d,target:g}=f,h=hlt(d,g,n)?n.getTypeAtLocation(g.expression):n.getTypeAtLocation(g);return(l=(s=h.symbol)==null?void 0:s.declarations)!=null&&l.some(k=>pn(k).fileName.match(/\.d\.ts$/))?ft:n.getExactOptionalProperties(h)}function hlt(e,t,n){return ai(t)&&!!n.getExactOptionalProperties(n.getTypeAtLocation(t.expression)).length&&n.getTypeAtLocation(e)===n.getUndefinedType()}function n8e(e,t){var n;if(e){if(Bn(e.parent)&&e.parent.operatorToken.kind===64)return{source:e.parent.right,target:e.parent.left};if(bs(e.parent)&&e.parent.initializer)return{source:e.parent.initializer,target:e.parent.name};if(Ra(e.parent)){const s=t.getSymbolAtLocation(e.parent.expression);if(!(s!=null&&s.valueDeclaration)||!ew(s.valueDeclaration.kind)||!Ct(e))return;const l=e.parent.arguments.indexOf(e);if(l===-1)return;const f=s.valueDeclaration.parameters[l].name;if(He(f))return{source:e,target:f}}else if(pu(e.parent)&&He(e.parent.name)||hd(e.parent)){const s=n8e(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:pu(e.parent)?e.parent.initializer:e.parent.name,target:f}:void 0}}else return}function glt(e,t){for(const n of t){const s=n.valueDeclaration;if(s&&(Gp(s)||Ia(s))&&s.type){const l=V.createUnionTypeNode([...s.type.kind===191?s.type.types:[s.type],V.createTypeReferenceNode("undefined")]);e.replaceNode(s.getSourceFile(),s.type,l)}}}var Mle,i8e,ylt=p({"src/services/codefixes/addOptionalPropertyUndefined.ts"(){Si(),Ya(),Mle="addOptionalPropertyUndefined",i8e=[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],Ga({errorCodes:i8e,getCodeActions(e){const t=e.program.getTypeChecker(),n=mlt(e.sourceFile,e.span,t);if(!n.length)return;const s=jn.ChangeTracker.with(e,l=>glt(l,n));return[jm(Mle,s,v.Add_undefined_to_optional_property_type)]},fixIds:[Mle]})}});function s8e(e,t){const n=Os(e,t);return wi(ea(n.parent)?n.parent.parent:n.parent,a8e)}function a8e(e){return vlt(e)&&o8e(e)}function o8e(e){return Lc(e)?e.parameters.some(o8e)||!e.type&&!!RI(e):!e.type&&!!bv(e)}function c8e(e,t,n){if(Lc(n)&&(RI(n)||n.parameters.some(s=>!!bv(s)))){if(!n.typeParameters){const l=nJ(n);l.length&&e.insertTypeParameters(t,n,l)}const s=Dc(n)&&!Go(n,21,t);s&&e.insertNodeBefore(t,Oo(n.parameters),V.createToken(21));for(const l of n.parameters)if(!l.type){const f=bv(l);f&&e.tryInsertTypeAnnotation(t,l,ct(f,d2,ys))}if(s&&e.insertNodeAfter(t,To(n.parameters),V.createToken(22)),!n.type){const l=RI(n);l&&e.tryInsertTypeAnnotation(t,n,ct(l,d2,ys))}}else{const s=R.checkDefined(bv(n),"A JSDocType for this declaration should exist");R.assert(!n.type,"The JSDocType decl should have a type"),e.tryInsertTypeAnnotation(t,n,ct(s,d2,ys))}}function vlt(e){return Lc(e)||e.kind===259||e.kind===170||e.kind===171}function d2(e){switch(e.kind){case 318:case 319:return V.createTypeReferenceNode("any",ft);case 322:return Tlt(e);case 321:return d2(e.type);case 320:return Slt(e);case 324:return xlt(e);case 323:return klt(e);case 182:return wlt(e);case 328:return blt(e);default:const t=Kr(e,d2,s0);return An(t,1),t}}function blt(e){const t=V.createTypeLiteralNode(qt(e.jsDocPropertyTags,n=>V.createPropertySignature(void 0,He(n.name)?n.name:n.name.right,Q5(n)?V.createToken(58):void 0,n.typeExpression&&ct(n.typeExpression.type,d2,ys)||V.createKeywordTypeNode(133))));return An(t,1),t}function Tlt(e){return V.createUnionTypeNode([ct(e.type,d2,ys),V.createTypeReferenceNode("undefined",ft)])}function Slt(e){return V.createUnionTypeNode([ct(e.type,d2,ys),V.createTypeReferenceNode("null",ft)])}function xlt(e){return V.createArrayTypeNode(ct(e.type,d2,ys))}function klt(e){return V.createFunctionTypeNode(ft,e.parameters.map(Clt),e.type??V.createKeywordTypeNode(133))}function Clt(e){const t=e.parent.parameters.indexOf(e),n=e.type.kind===324&&t===e.parent.parameters.length-1,s=e.name||(n?"rest":"arg"+t),l=n?V.createToken(26):e.dotDotDotToken;return V.createParameterDeclaration(e.modifiers,l,s,e.questionToken,ct(e.type,d2,ys),e.initializer)}function wlt(e){let t=e.typeName,n=e.typeArguments;if(He(e.typeName)){if(Jj(e))return Elt(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=V.createIdentifier(s),(s==="Array"||s==="Promise")&&!e.typeArguments?n=V.createNodeArray([V.createTypeReferenceNode("any",ft)]):n=cn(e.typeArguments,d2,ys)}return V.createTypeReferenceNode(t,n)}function Elt(e){const t=V.createParameterDeclaration(void 0,void 0,e.typeArguments[0].kind===150?"n":"s",void 0,V.createTypeReferenceNode(e.typeArguments[0].kind===150?"number":"string",[]),void 0),n=V.createTypeLiteralNode([V.createIndexSignature(void 0,[t],e.typeArguments[1])]);return An(n,1),n}var iq,Fle,Alt=p({"src/services/codefixes/annotateWithTypeFromJSDoc.ts"(){Si(),Ya(),iq="annotateWithTypeFromJSDoc",Fle=[v.JSDoc_types_may_be_moved_to_TypeScript_types.code],Ga({errorCodes:Fle,getCodeActions(e){const t=s8e(e.sourceFile,e.span.start);if(!t)return;const n=jn.ChangeTracker.with(e,s=>c8e(s,e.sourceFile,t));return[Oa(iq,n,v.Annotate_with_type_from_JSDoc,iq,v.Annotate_everything_with_types_from_JSDoc)]},fixIds:[iq],getAllCodeActions:e=>Zo(e,Fle,(t,n)=>{const s=s8e(n.file,n.start);s&&c8e(t,n.file,s)})})}});function l8e(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(au(g)||_c(g))e.replaceNode(t,g,T(g));else if(bs(g)){const C=k(g);if(!C)return;const D=g.parent.parent;Tu(g.parent)&&g.parent.declarations.length>1?(e.delete(t,g),e.insertNodeAfter(t,D,C)):e.replaceNode(t,D,C)}function h(C){const D=[];return C.exports&&C.exports.forEach(U=>{if(U.name==="prototype"&&U.declarations){const B=U.declarations[0];if(U.declarations.length===1&&ai(B)&&Bn(B.parent)&&B.parent.operatorToken.kind===64&&jo(B.parent.right)){const H=B.parent.right;M(H.symbol,void 0,D)}}else M(U,[V.createToken(126)],D)}),C.members&&C.members.forEach((U,B)=>{var H,Y,Z,fe;if(B==="constructor"&&U.valueDeclaration){const Q=(fe=(Z=(Y=(H=C.exports)==null?void 0:H.get("prototype"))==null?void 0:Y.declarations)==null?void 0:Z[0])==null?void 0:fe.parent;Q&&Bn(Q)&&jo(Q.right)&&Ne(Q.right.properties,aq)||e.delete(t,U.valueDeclaration.parent);return}M(U,void 0,D)}),D;function O(U,B){return jc(U)?ai(U)&&aq(U)?!0:Sa(B):ot(U.properties,H=>!!(ql(H)||YB(H)||pu(H)&&_c(H.initializer)&&H.name||aq(H)))}function M(U,B,H){if(!(U.flags&8192)&&!(U.flags&4096))return;const Y=U.valueDeclaration,Z=Y.parent,fe=Z.right;if(!O(Y,fe)||Ne(H,de=>{const Ce=ia(de);return!!(Ce&&He(Ce)&&Zn(Ce)===xl(U))}))return;const Q=Z.parent&&Z.parent.kind===243?Z.parent:Z;if(e.delete(t,Q),!fe){H.push(V.createPropertyDeclaration(B,U.name,void 0,void 0,void 0));return}if(jc(Y)&&(_c(fe)||Dc(fe))){const de=gd(t,l),Ce=Plt(Y,f,de);Ce&&he(H,fe,Ce);return}else if(jo(fe)){te(fe.properties,de=>{(ql(de)||YB(de))&&H.push(de),pu(de)&&_c(de.initializer)&&he(H,de.initializer,de.name),aq(de)});return}else{if(qf(t)||!ai(Y))return;const de=V.createPropertyDeclaration(B,Y.name,void 0,void 0,fe);pA(Z.parent,de,t),H.push(de);return}function he(de,Ce,K){return _c(Ce)?W(de,Ce,K):ye(de,Ce,K)}function W(de,Ce,K){const ce=wr(B,sq(Ce,134)),le=V.createMethodDeclaration(ce,void 0,K,void 0,void 0,Ce.parameters,void 0,Ce.body);pA(Z,le,t),de.push(le)}function ye(de,Ce,K){const ce=Ce.body;let le;ce.kind===240?le=ce:le=V.createBlock([V.createReturnStatement(ce)]);const xe=wr(B,sq(Ce,134)),we=V.createMethodDeclaration(xe,void 0,K,void 0,void 0,Ce.parameters,void 0,le);pA(Z,we,t),de.push(we)}}}function k(C){const D=C.initializer;if(!D||!_c(D)||!He(C.name))return;const O=h(C.symbol);D.body&&O.unshift(V.createConstructorDeclaration(void 0,D.parameters,D.body));const M=sq(C.parent.parent,95);return V.createClassDeclaration(M,C.name,void 0,void 0,O)}function T(C){const D=h(d);C.body&&D.unshift(V.createConstructorDeclaration(void 0,C.parameters,C.body));const O=sq(C,95);return V.createClassDeclaration(O,C.name,void 0,void 0,D)}}function sq(e,t){return am(e)?gr(e.modifiers,n=>n.kind===t):void 0}function aq(e){return e.name?!!(He(e.name)&&e.name.text==="constructor"):!1}function Plt(e,t,n){if(ai(e))return e.name;const s=e.argumentExpression;if(Hp(s))return s;if(Yo(s))return od(s.text,Eo(t))?V.createIdentifier(s.text):ww(s)?V.createStringLiteral(s.text,n===0):s}var oq,Rle,Dlt=p({"src/services/codefixes/convertFunctionToEs6Class.ts"(){Si(),Ya(),oq="convertFunctionToEs6Class",Rle=[v.This_constructor_function_may_be_converted_to_a_class_declaration.code],Ga({errorCodes:Rle,getCodeActions(e){const t=jn.ChangeTracker.with(e,n=>l8e(n,e.sourceFile,e.span.start,e.program.getTypeChecker(),e.preferences,e.program.getCompilerOptions()));return[Oa(oq,t,v.Convert_function_to_an_ES2015_class,oq,v.Convert_all_constructor_functions_to_classes)]},fixIds:[oq],getAllCodeActions:e=>Zo(e,Rle,(t,n)=>l8e(t,n.file,n.start,e.program.getTypeChecker(),e.preferences,e.program.getCompilerOptions()))})}});function u8e(e,t,n,s){const l=Os(t,n);let f;if(He(l)&&bs(l.parent)&&l.parent.initializer&&Lc(l.parent.initializer)?f=l.parent.initializer:f=wi(Wp(Os(t,n)),_ce),!f)return;const d=new Map,g=Mn(f),h=Ilt(f,s),k=Olt(f,s,d);if(!uce(k,s))return;const T=k.body&&Pa(k.body)?Nlt(k.body,s):ft,C={checker:s,synthNamesMap:d,setOfExpressionsToReturn:h,isInJSFile:g};if(!T.length)return;const D=fo(t.text,hh(f).pos);e.insertModifierAt(t,D,134,{suffix:" "});for(const O of T)if(_a(O,function M(U){if(Ra(U)){const B=cE(U,U,C,!1);if(bk())return!0;e.replaceNodeWithNodes(t,O,B)}else if(!Sa(U)&&(_a(U,M),bk()))return!0}),bk())return}function Nlt(e,t){const n=[];return OT(e,s=>{i$(s,t)&&n.push(s)}),n}function Ilt(e,t){if(!e.body)return new Set;const n=new Set;return _a(e.body,function s(l){E8(l,t,"then")?(n.add(Jo(l)),te(l.arguments,s)):E8(l,t,"catch")||E8(l,t,"finally")?(n.add(Jo(l)),_a(l,s)):_8e(l,t)?n.add(Jo(l)):_a(l,s)}),n}function E8(e,t,n){if(!Ra(e))return!1;const l=M9(e,n)&&t.getTypeAtLocation(e);return!!(l&&t.getPromisedTypeOfPromise(l))}function f8e(e,t){return(vi(e)&4)!==0&&e.target===t}function cq(e,t,n){if(e.expression.name.escapedText==="finally")return;const s=n.getTypeAtLocation(e.expression.expression);if(f8e(s,n.getPromiseType())||f8e(s,n.getPromiseLikeType()))if(e.expression.name.escapedText==="then"){if(t===Y0(e.arguments,0))return Y0(e.typeArguments,0);if(t===Y0(e.arguments,1))return Y0(e.typeArguments,1)}else return Y0(e.typeArguments,0)}function _8e(e,t){return Ct(e)?!!t.getPromisedTypeOfPromise(t.getTypeAtLocation(e)):!1}function Olt(e,t,n){const s=new Map,l=sd();return _a(e,function f(d){if(!He(d)){_a(d,f);return}const g=t.getSymbolAtLocation(d);if(g){const h=t.getTypeAtLocation(d),k=y8e(h,t),T=vo(g).toString();if(k&&!ea(d.parent)&&!Lc(d.parent)&&!n.has(T)){const C=Hu(k.parameters),D=(C==null?void 0:C.valueDeclaration)&&ea(C.valueDeclaration)&&wi(C.valueDeclaration.name,He)||V.createUniqueName("result",16),O=p8e(D,l);n.set(T,O),l.add(D.text,g)}else if(d.parent&&(ea(d.parent)||bs(d.parent)||Lo(d.parent))){const C=d.text,D=l.get(C);if(D&&D.some(O=>O!==g)){const O=p8e(d,l);s.set(T,O.identifier),n.set(T,O),l.add(C,g)}else{const O=Fc(d);n.set(T,hA(O)),l.add(C,g)}}}}),Z9(e,!0,f=>{if(Lo(f)&&He(f.name)&&Om(f.parent)){const d=t.getSymbolAtLocation(f.name),g=d&&s.get(String(vo(d)));if(g&&g.text!==(f.name||f.propertyName).getText())return V.createBindingElement(f.dotDotDotToken,f.propertyName||f.name,g,f.initializer)}else if(He(f)){const d=t.getSymbolAtLocation(f),g=d&&s.get(String(vo(d)));if(g)return V.createIdentifier(g.text)}})}function p8e(e,t){const n=(t.get(e.text)||ft).length,s=n===0?e:V.createIdentifier(e.text+"_"+n);return hA(s)}function bk(){return!EL}function Hv(){return EL=!1,ft}function cE(e,t,n,s,l){if(E8(t,n.checker,"then"))return Flt(t,Y0(t.arguments,0),Y0(t.arguments,1),n,s,l);if(E8(t,n.checker,"catch"))return h8e(t,Y0(t.arguments,0),n,s,l);if(E8(t,n.checker,"finally"))return Mlt(t,Y0(t.arguments,0),n,s,l);if(ai(t))return cE(e,t.expression,n,s,l);const f=n.checker.getTypeAtLocation(t);return f&&n.checker.getPromisedTypeOfPromise(f)?(R.assertNode(el(t).parent,ai),Rlt(e,t,n,s,l)):Hv()}function lq({checker:e},t){if(t.kind===106)return!0;if(He(t)&&!il(t)&&Zn(t)==="undefined"){const n=e.getSymbolAtLocation(t);return!n||e.isUndefinedSymbol(n)}return!1}function Llt(e){const t=V.createUniqueName(e.identifier.text,16);return hA(t)}function d8e(e,t,n){let s;return n&&!P8(e,t)&&(A8(n)?(s=n,t.synthNamesMap.forEach((l,f)=>{if(l.identifier.text===n.identifier.text){const d=Llt(n);t.synthNamesMap.set(f,d)}})):s=hA(V.createUniqueName("result",16),n.types),Ule(s)),s}function m8e(e,t,n,s,l){const f=[];let d;if(s&&!P8(e,t)){d=Fc(Ule(s));const g=s.types,h=t.checker.getUnionType(g,2),k=t.isInJSFile?void 0:t.checker.typeToTypeNode(h,void 0,void 0),T=[V.createVariableDeclaration(d,void 0,k)],C=V.createVariableStatement(void 0,V.createVariableDeclarationList(T,1));f.push(C)}return f.push(n),l&&d&&Jlt(l)&&f.push(V.createVariableStatement(void 0,V.createVariableDeclarationList([V.createVariableDeclaration(Fc(S8e(l)),void 0,void 0,d)],2))),f}function Mlt(e,t,n,s,l){if(!t||lq(n,t))return cE(e,e.expression.expression,n,s,l);const f=d8e(e,n,l),d=cE(e,e.expression.expression,n,!0,f);if(bk())return Hv();const g=jle(t,s,void 0,void 0,e,n);if(bk())return Hv();const h=V.createBlock(d),k=V.createBlock(g),T=V.createTryStatement(h,void 0,k);return m8e(e,n,T,f,l)}function h8e(e,t,n,s,l){if(!t||lq(n,t))return cE(e,e.expression.expression,n,s,l);const f=b8e(t,n),d=d8e(e,n,l),g=cE(e,e.expression.expression,n,!0,d);if(bk())return Hv();const h=jle(t,s,d,f,e,n);if(bk())return Hv();const k=V.createBlock(g),T=V.createCatchClause(f&&Fc(wL(f)),V.createBlock(h)),C=V.createTryStatement(k,T,void 0);return m8e(e,n,C,d,l)}function Flt(e,t,n,s,l,f){if(!t||lq(s,t))return h8e(e,n,s,l,f);if(n&&!lq(s,n))return Hv();const d=b8e(t,s),g=cE(e.expression.expression,e.expression.expression,s,!0,d);if(bk())return Hv();const h=jle(t,l,f,d,e,s);return bk()?Hv():wr(g,h)}function Rlt(e,t,n,s,l){if(P8(e,n)){let f=Fc(t);return s&&(f=V.createAwaitExpression(f)),[V.createReturnStatement(f)]}return uq(l,V.createAwaitExpression(t),void 0)}function uq(e,t,n){return!e||T8e(e)?[V.createExpressionStatement(t)]:A8(e)&&e.hasBeenDeclared?[V.createExpressionStatement(V.createAssignment(Fc(Jle(e)),t))]:[V.createVariableStatement(void 0,V.createVariableDeclarationList([V.createVariableDeclaration(Fc(wL(e)),void 0,n,t)],2))]}function Ble(e,t){if(t&&e){const n=V.createUniqueName("result",16);return[...uq(hA(n),e,t),V.createReturnStatement(n)]}return[V.createReturnStatement(e)]}function jle(e,t,n,s,l,f){var d;switch(e.kind){case 106:break;case 210:case 80:if(!s)break;const g=V.createCallExpression(Fc(e),void 0,A8(s)?[Jle(s)]:[]);if(P8(l,f))return Ble(g,cq(l,e,f.checker));const h=f.checker.getTypeAtLocation(e),k=f.checker.getSignaturesOfType(h,0);if(!k.length)return Hv();const T=k[0].getReturnType(),C=uq(n,V.createAwaitExpression(g),cq(l,e,f.checker));return n&&n.types.push(f.checker.getAwaitedType(T)||T),C;case 217:case 218:{const D=e.body,O=(d=y8e(f.checker.getTypeAtLocation(e),f.checker))==null?void 0:d.getReturnType();if(Pa(D)){let M=[],U=!1;for(const B of D.statements)if(Lm(B))if(U=!0,i$(B,f.checker))M=M.concat(v8e(f,B,t,n));else{const H=O&&B.expression?g8e(f.checker,O,B.expression):B.expression;M.push(...Ble(H,cq(l,e,f.checker)))}else{if(t&&OT(B,jb))return Hv();M.push(B)}return P8(l,f)?M.map(B=>Fc(B)):Blt(M,n,f,U)}else{const M=fce(D,f.checker)?v8e(f,V.createReturnStatement(D),t,n):ft;if(M.length>0)return M;if(O){const U=g8e(f.checker,O,D);if(P8(l,f))return Ble(U,cq(l,e,f.checker));{const B=uq(n,U,void 0);return n&&n.types.push(f.checker.getAwaitedType(O)||O),B}}else return Hv()}}default:return Hv()}return ft}function g8e(e,t,n){const s=Fc(n);return e.getPromisedTypeOfPromise(t)?V.createAwaitExpression(s):s}function y8e(e,t){const n=t.getSignaturesOfType(e,0);return Bc(n)}function Blt(e,t,n,s){const l=[];for(const f of e)if(Lm(f)){if(f.expression){const d=_8e(f.expression,n.checker)?V.createAwaitExpression(f.expression):f.expression;t===void 0?l.push(V.createExpressionStatement(d)):A8(t)&&t.hasBeenDeclared?l.push(V.createExpressionStatement(V.createAssignment(Jle(t),d))):l.push(V.createVariableStatement(void 0,V.createVariableDeclarationList([V.createVariableDeclaration(wL(t),void 0,void 0,d)],2)))}}else l.push(Fc(f));return!s&&t!==void 0&&l.push(V.createVariableStatement(void 0,V.createVariableDeclarationList([V.createVariableDeclaration(wL(t),void 0,void 0,V.createIdentifier("undefined"))],2))),l}function v8e(e,t,n,s){let l=[];return _a(t,function f(d){if(Ra(d)){const g=cE(d,d,e,n,s);if(l=l.concat(g),l.length>0)return}else Sa(d)||_a(d,f)}),l}function b8e(e,t){const n=[];let s;if(Lc(e)){if(e.parameters.length>0){const h=e.parameters[0].name;s=l(h)}}else He(e)?s=f(e):ai(e)&&He(e.name)&&(s=f(e.name));if(!s||"identifier"in s&&s.identifier.text==="undefined")return;return s;function l(h){if(He(h))return f(h);const k=ln(h.elements,T=>bu(T)?[]:[l(T.name)]);return jlt(h,k)}function f(h){const k=g(h),T=d(k);return T&&t.synthNamesMap.get(vo(T).toString())||hA(h,n)}function d(h){var k;return((k=wi(h,Xh))==null?void 0:k.symbol)??t.checker.getSymbolAtLocation(h)}function g(h){return h.original?h.original:h}}function T8e(e){return e?A8(e)?!e.identifier.text:ot(e.elements,T8e):!0}function hA(e,t=[]){return{kind:0,identifier:e,types:t,hasBeenDeclared:!1,hasBeenReferenced:!1}}function jlt(e,t=ft,n=[]){return{kind:1,bindingPattern:e,elements:t,types:n}}function Jle(e){return e.hasBeenReferenced=!0,e.identifier}function wL(e){return A8(e)?Ule(e):S8e(e)}function S8e(e){for(const t of e.elements)wL(t);return e.bindingPattern}function Ule(e){return e.hasBeenDeclared=!0,e.identifier}function A8(e){return e.kind===0}function Jlt(e){return e.kind===1}function P8(e,t){return!!e.original&&t.setOfExpressionsToReturn.has(Jo(e.original))}var fq,zle,EL,Ult=p({"src/services/codefixes/convertToAsyncFunction.ts"(){Si(),Ya(),fq="convertToAsyncFunction",zle=[v.This_may_be_converted_to_an_async_function.code],EL=!0,Ga({errorCodes:zle,getCodeActions(e){EL=!0;const t=jn.ChangeTracker.with(e,n=>u8e(n,e.sourceFile,e.span.start,e.program.getTypeChecker()));return EL?[Oa(fq,t,v.Convert_to_async_function,fq,v.Convert_all_to_async_functions)]:[]},fixIds:[fq],getAllCodeActions:e=>Zo(e,zle,(t,n)=>u8e(t,n.file,n.start,e.program.getTypeChecker()))})}});function zlt(e,t,n,s){for(const l of e.imports){const f=H6(e,l.text,cm(e,l));if(!f||f.resolvedFileName!==t.fileName)continue;const d=d5(l);switch(d.kind){case 270:n.replaceNode(e,d,T1(d.name,void 0,l,s));break;case 212:M_(d,!1)&&n.replaceNode(e,d,V.createPropertyAccessExpression(Fc(d),"default"));break}}}function Vlt(e,t,n,s,l){const f={original:rut(e),additional:new Set},d=$lt(e,t,f);qlt(e,d,n);let g=!1,h;for(const k of gr(e.statements,Yl)){const T=k8e(e,k,n,t,f,s,l);T&&dj(T,h??(h=new Map))}for(const k of gr(e.statements,T=>!Yl(T))){const T=Wlt(e,k,t,n,f,s,d,h,l);g=g||T}return h==null||h.forEach((k,T)=>{n.replaceNode(e,T,k)}),g}function $lt(e,t,n){const s=new Map;return x8e(e,l=>{const{text:f}=l.name;!s.has(f)&&(Xj(l.name)||t.resolveName(f,l,111551,!0))&&s.set(f,_q(`_${f}`,n))}),s}function qlt(e,t,n){x8e(e,(s,l)=>{if(l)return;const{text:f}=s.name;n.replaceNode(e,s,V.createIdentifier(t.get(f)||f))})}function x8e(e,t){e.forEachChild(function n(s){if(ai(s)&&rS(e,s.expression)&&He(s.name)){const{parent:l}=s;t(s,Bn(l)&&l.left===s&&l.operatorToken.kind===64)}s.forEachChild(n)})}function Wlt(e,t,n,s,l,f,d,g,h){switch(t.kind){case 242:return k8e(e,t,s,n,l,f,h),!1;case 243:{const{expression:k}=t;switch(k.kind){case 212:return M_(k,!0)&&s.replaceNode(e,t,T1(void 0,void 0,k.arguments[0],h)),!1;case 225:{const{operatorToken:T}=k;return T.kind===64&&Glt(e,n,k,s,d,g)}}}default:return!1}}function k8e(e,t,n,s,l,f,d){const{declarationList:g}=t;let h=!1;const k=qt(g.declarations,T=>{const{name:C,initializer:D}=T;if(D){if(rS(e,D))return h=!0,gA([]);if(M_(D,!0))return h=!0,eut(C,D.arguments[0],s,l,f,d);if(ai(D)&&M_(D.expression,!0))return h=!0,Hlt(C,D.name.text,D.expression.arguments[0],l,d)}return gA([V.createVariableStatement(void 0,V.createVariableDeclarationList([T],g.flags))])});if(h){n.replaceNodeWithNodes(e,t,ln(k,C=>C.newImports));let T;return te(k,C=>{C.useSitesToUnqualify&&dj(C.useSitesToUnqualify,T??(T=new Map))}),T}}function Hlt(e,t,n,s,l){switch(e.kind){case 205:case 206:{const f=_q(t,s);return gA([A8e(f,t,n,l),pq(void 0,e,V.createIdentifier(f))])}case 80:return gA([A8e(e.text,t,n,l)]);default:return R.assertNever(e,`Convert to ES module got invalid syntax form ${e.kind}`)}}function Glt(e,t,n,s,l,f){const{left:d,right:g}=n;if(!ai(d))return!1;if(rS(e,d))if(rS(e,g))s.delete(e,n.parent);else{const h=jo(g)?Xlt(g,f):M_(g,!0)?Ylt(g.arguments[0],t):void 0;return h?(s.replaceNodeWithNodes(e,n.parent,h[0]),h[1]):(s.replaceRangeWithText(e,Od(d.getStart(e),g.pos),"export default"),!0)}else rS(e,d.expression)&&Qlt(e,n,s,l);return!1}function Xlt(e,t){const n=Ir(e.properties,s=>{switch(s.kind){case 176:case 177:case 303:case 304:return;case 302:return He(s.name)?Klt(s.name.text,s.initializer,t):void 0;case 173:return He(s.name)?E8e(s.name.text,[V.createToken(95)],s,t):void 0;default:R.assertNever(s,`Convert to ES6 got invalid prop kind ${s.kind}`)}});return n&&[n,!1]}function Qlt(e,t,n,s){const{text:l}=t.left.name,f=s.get(l);if(f!==void 0){const d=[pq(void 0,f,t.right),qle([V.createExportSpecifier(!1,f,l)])];n.replaceNodeWithNodes(e,t.parent,d)}else Zlt(t,e,n)}function Ylt(e,t){const n=e.text,s=t.getSymbolAtLocation(e),l=s?s.exports:gB;return l.has("export=")?[[Vle(n)],!0]:l.has("default")?l.size>1?[[C8e(n),Vle(n)],!0]:[[Vle(n)],!0]:[[C8e(n)],!1]}function C8e(e){return qle(void 0,e)}function Vle(e){return qle([V.createExportSpecifier(!1,void 0,"default")],e)}function Zlt({left:e,right:t,parent:n},s,l){const f=e.name.text;if((_c(t)||Dc(t)||Gf(t))&&(!t.name||t.name.text===f)){l.replaceRange(s,{pos:e.getStart(s),end:t.getStart(s)},V.createToken(95),{suffix:" "}),t.name||l.insertName(s,t,f);const d=Go(n,27,s);d&&l.delete(s,d)}else l.replaceNodeRangeWithNodes(s,e.expression,Go(e,25,s),[V.createToken(95),V.createToken(87)],{joiner:" ",suffix:" "})}function Klt(e,t,n){const s=[V.createToken(95)];switch(t.kind){case 217:{const{name:f}=t;if(f&&f.text!==e)return l()}case 218:return E8e(e,s,t,n);case 230:return iut(e,s,t,n);default:return l()}function l(){return pq(s,V.createIdentifier(e),$le(t,n))}}function $le(e,t){if(!t||!Ne(oo(t.keys()),s=>Mp(e,s)))return e;return ka(e)?Aoe(e,!0,n):Z9(e,!0,n);function n(s){if(s.kind===210){const l=t.get(s);return t.delete(s),l}}}function eut(e,t,n,s,l,f){switch(e.kind){case 205:{const d=Ir(e.elements,g=>g.dotDotDotToken||g.initializer||g.propertyName&&!He(g.propertyName)||!He(g.name)?void 0:P8e(g.propertyName&&g.propertyName.text,g.name.text));if(d)return gA([T1(void 0,d,t,f)])}case 206:{const d=_q(nue(t.text,l),s);return gA([T1(V.createIdentifier(d),void 0,t,f),pq(void 0,Fc(e),V.createIdentifier(d))])}case 80:return tut(e,t,n,s,f);default:return R.assertNever(e,`Convert to ES module got invalid name kind ${e.kind}`)}}function tut(e,t,n,s,l){const f=n.getSymbolAtLocation(e),d=new Map;let g=!1,h;for(const T of s.original.get(e.text)){if(n.getSymbolAtLocation(T)!==f||T===e)continue;const{parent:C}=T;if(ai(C)){const{name:{text:D}}=C;if(D==="default"){g=!0;const O=T.getText();(h??(h=new Map)).set(C,V.createIdentifier(O))}else{R.assert(C.expression===T,"Didn't expect expression === use");let O=d.get(D);O===void 0&&(O=_q(D,s),d.set(D,O)),(h??(h=new Map)).set(C,V.createIdentifier(O))}}else g=!0}const k=d.size===0?void 0:oo(qa(d.entries(),([T,C])=>V.createImportSpecifier(!1,T===C?void 0:V.createIdentifier(T),V.createIdentifier(C))));return k||(g=!0),gA([T1(g?Fc(e):void 0,k,t,l)],h)}function _q(e,t){for(;t.original.has(e)||t.additional.has(e);)e=`_${e}`;return t.additional.add(e),e}function rut(e){const t=sd();return w8e(e,n=>t.add(n.text,n)),t}function w8e(e,t){He(e)&&nut(e)&&t(e),e.forEachChild(n=>w8e(n,t))}function nut(e){const{parent:t}=e;switch(t.kind){case 210:return t.name!==e;case 207:return t.propertyName!==e;case 275:return t.propertyName!==e;default:return!0}}function E8e(e,t,n,s){return V.createFunctionDeclaration(wr(t,uS(n.modifiers)),Fc(n.asteriskToken),e,uS(n.typeParameters),uS(n.parameters),Fc(n.type),V.converters.convertToFunctionBlock($le(n.body,s)))}function iut(e,t,n,s){return V.createClassDeclaration(wr(t,uS(n.modifiers)),e,uS(n.typeParameters),uS(n.heritageClauses),$le(n.members,s))}function A8e(e,t,n,s){return t==="default"?T1(V.createIdentifier(e),void 0,n,s):T1(void 0,[P8e(t,e)],n,s)}function P8e(e,t){return V.createImportSpecifier(!1,e!==void 0&&e!==t?V.createIdentifier(e):void 0,V.createIdentifier(t))}function pq(e,t,n){return V.createVariableStatement(e,V.createVariableDeclarationList([V.createVariableDeclaration(t,void 0,void 0,n)],2))}function qle(e,t){return V.createExportDeclaration(void 0,!1,e&&V.createNamedExports(e),t===void 0?void 0:V.createStringLiteral(t))}function gA(e,t){return{newImports:e,useSitesToUnqualify:t}}var sut=p({"src/services/codefixes/convertToEsModule.ts"(){Si(),Ya(),Ga({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(Vlt(t,n.getTypeChecker(),f,Eo(n.getCompilerOptions()),gd(t,s)))for(const g of n.getSourceFiles())zlt(g,t,f,gd(g,s))});return[jm("convertToEsModule",l,v.Convert_to_ES_module)]}})}});function D8e(e,t){const n=mn(Os(e,t),B_);return R.assert(!!n,"Expected position to be owned by a qualified name."),He(n.left)?n:void 0}function N8e(e,t,n){const s=n.right.text,l=V.createIndexedAccessTypeNode(V.createTypeReferenceNode(n.left,void 0),V.createLiteralTypeNode(V.createStringLiteral(s)));e.replaceNode(t,n,l)}var dq,Wle,aut=p({"src/services/codefixes/correctQualifiedNameToIndexedAccessType.ts"(){Si(),Ya(),dq="correctQualifiedNameToIndexedAccessType",Wle=[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],Ga({errorCodes:Wle,getCodeActions(e){const t=D8e(e.sourceFile,e.span.start);if(!t)return;const n=jn.ChangeTracker.with(e,l=>N8e(l,e.sourceFile,t)),s=`${t.left.text}["${t.right.text}"]`;return[Oa(dq,n,[v.Rewrite_as_the_indexed_access_type_0,s],dq,v.Rewrite_all_as_indexed_access_types)]},fixIds:[dq],getAllCodeActions:e=>Zo(e,Wle,(t,n)=>{const s=D8e(n.file,n.start);s&&N8e(t,n.file,s)})})}});function I8e(e,t){return wi(Os(t,e.start).parent,T_)}function O8e(e,t,n){if(!t)return;const s=t.parent,l=s.parent,f=out(t,n);if(f.length===s.elements.length)e.insertModifierBefore(n.sourceFile,156,s);else{const d=V.updateExportDeclaration(l,l.modifiers,!1,V.updateNamedExports(s,gr(s.elements,h=>!kt(f,h))),l.moduleSpecifier,void 0),g=V.createExportDeclaration(void 0,!0,V.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 out(e,t){const n=e.parent;if(n.elements.length===1)return n.elements;const s=VAe(u_(n),t.program.getSemanticDiagnostics(t.sourceFile,t.cancellationToken));return gr(n.elements,l=>{var f;return l===e||((f=zAe(l,s))==null?void 0:f.code)===mq[0]})}var mq,hq,cut=p({"src/services/codefixes/convertToTypeOnlyExport.ts"(){Si(),Ya(),mq=[v.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type.code],hq="convertToTypeOnlyExport",Ga({errorCodes:mq,getCodeActions:function(t){const n=jn.ChangeTracker.with(t,s=>O8e(s,I8e(t.span,t.sourceFile),t));if(n.length)return[Oa(hq,n,v.Convert_to_type_only_export,hq,v.Convert_all_re_exported_types_to_type_only_exports)]},fixIds:[hq],getAllCodeActions:function(t){const n=new Map;return Zo(t,mq,(s,l)=>{const f=I8e(l,t.sourceFile);f&&Dm(n,Jo(f.parent.parent))&&O8e(s,f,t)})}})}});function L8e(e,t){const{parent:n}=Os(e,t);return J_(n)||ju(n)&&n.importClause?n:void 0}function M8e(e,t,n){if(J_(n))e.replaceNode(t,n,V.updateImportSpecifier(n,!0,n.propertyName,n.name));else{const s=n.importClause;if(s.name&&s.namedBindings)e.replaceNodeWithNodes(t,n,[V.createImportDeclaration(uS(n.modifiers,!0),V.createImportClause(!0,Fc(s.name,!0),void 0),Fc(n.moduleSpecifier,!0),Fc(n.assertClause,!0)),V.createImportDeclaration(uS(n.modifiers,!0),V.createImportClause(!0,void 0,Fc(s.namedBindings,!0)),Fc(n.moduleSpecifier,!0),Fc(n.assertClause,!0))]);else{const l=V.updateImportDeclaration(n,n.modifiers,V.updateImportClause(s,!0,s.name,s.namedBindings),n.moduleSpecifier,n.assertClause);e.replaceNode(t,n,l)}}}var Hle,gq,lut=p({"src/services/codefixes/convertToTypeOnlyImport.ts"(){Si(),Ya(),Hle=[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],gq="convertToTypeOnlyImport",Ga({errorCodes:Hle,getCodeActions:function(t){const n=L8e(t.sourceFile,t.span.start);if(n){const s=jn.ChangeTracker.with(t,l=>M8e(l,t.sourceFile,n));return[Oa(gq,s,v.Convert_to_type_only_import,gq,v.Convert_all_imports_not_used_as_a_value_to_type_only_imports)]}},fixIds:[gq],getAllCodeActions:function(t){return Zo(t,Hle,(n,s)=>{const l=L8e(s.file,s.start);l&&M8e(n,s.file,l)})}})}});function F8e(e,t,n){wO(t)&&uut(e,t,n)}function uut(e,t,n){if(!t)return;const s=fut(t);if(!s)return;const l=t.parent;e.replaceNode(n,l,s)}function fut(e){var t;const{typeExpression:n}=e;if(!n)return;const s=(t=e.name)==null?void 0:t.getText();if(s){if(n.kind===328)return _ut(s,n);if(n.kind===315)return put(s,n)}}function _ut(e,t){const n=R8e(t);return Ne(n)?V.createInterfaceDeclaration(void 0,e,void 0,void 0,n):void 0}function put(e,t){const n=Fc(t.type);return n?V.createTypeAliasDeclaration(void 0,V.createIdentifier(e),void 0,n):void 0}function R8e(e){const t=e.jsDocPropertyTags;return Ne(t)?lr(t,l=>{var f;const d=dut(l),g=(f=l.typeExpression)==null?void 0:f.type,h=l.isBracketed;let k;if(g&&z4(g)){const T=R8e(g);k=V.createTypeLiteralNode(T)}else g&&(k=Fc(g));if(k&&d){const T=h?V.createToken(58):void 0;return V.createPropertySignature(void 0,d,T,k)}}):void 0}function dut(e){return e.name.kind===80?e.name.text:e.name.right.text}function mut(e){if(Ap(e))return te(e.jsDoc,t=>{var n;return(n=t.tags)==null?void 0:n.find(wO)})}var yq,Gle,hut=p({"src/services/codefixes/convertTypedefToType.ts"(){Si(),Ya(),yq="convertTypedefToType",Gle=[v.JSDoc_typedef_may_be_converted_to_TypeScript_type.code],Ga({fixIds:[yq],errorCodes:Gle,getCodeActions(e){const t=Os(e.sourceFile,e.span.start);if(!t)return;const n=jn.ChangeTracker.with(e,s=>F8e(s,t,e.sourceFile));if(n.length>0)return[Oa(yq,n,v.Convert_typedef_to_TypeScript_type,yq,v.Convert_all_typedef_to_TypeScript_types)]},getAllCodeActions:e=>Zo(e,Gle,(t,n)=>{const s=Os(n.file,n.start);s&&F8e(t,s,n.file)})})}});function B8e(e,t){const n=Os(e,t);if(He(n)){const s=Ua(n.parent.parent,Gp),l=n.getText(e);return{container:Ua(s.parent,Ip),typeNode:s.type,constraint:l,name:l==="K"?"P":"K"}}}function j8e(e,t,{container:n,typeNode:s,constraint:l,name:f}){e.replaceNode(t,n,V.createMappedTypeNode(void 0,V.createTypeParameterDeclaration(void 0,f,V.createTypeReferenceNode(l)),void 0,void 0,s,void 0))}var vq,Xle,gut=p({"src/services/codefixes/convertLiteralTypeToMappedType.ts"(){Si(),Ya(),vq="convertLiteralTypeToMappedType",Xle=[v._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code],Ga({errorCodes:Xle,getCodeActions:function(t){const{sourceFile:n,span:s}=t,l=B8e(n,s.start);if(!l)return;const{name:f,constraint:d}=l,g=jn.ChangeTracker.with(t,h=>j8e(h,n,l));return[Oa(vq,g,[v.Convert_0_to_1_in_0,d,f],vq,v.Convert_all_type_literals_to_mapped_type)]},fixIds:[vq],getAllCodeActions:e=>Zo(e,Xle,(t,n)=>{const s=B8e(n.file,n.start);s&&j8e(t,n.file,s)})})}});function J8e(e,t){return R.checkDefined(_u(Os(e,t)),"There should be a containing class")}function U8e(e){return!e.valueDeclaration||!(Wf(e.valueDeclaration)&8)}function z8e(e,t,n,s,l,f){const d=e.program.getTypeChecker(),g=yut(s,d),h=d.getTypeAtLocation(t),T=d.getPropertiesOfType(h).filter(mB(U8e,B=>!g.has(B.escapedName))),C=d.getTypeAtLocation(s),D=Ve(s.members,B=>El(B));C.getNumberIndexType()||M(h,1),C.getStringIndexType()||M(h,0);const O=Tk(n,e.program,f,e.host);tfe(s,T,n,e,f,O,B=>U(n,s,B)),O.writeFixes(l);function M(B,H){const Y=d.getIndexInfoOfType(B,H);Y&&U(n,s,d.indexInfoToIndexSignatureDeclaration(Y,s,void 0,lE(e)))}function U(B,H,Y){D?l.insertNodeAfter(B,D,Y):l.insertMemberAtStart(B,H,Y)}}function yut(e,t){const n=mh(e);if(!n)return za();const s=t.getTypeAtLocation(n),l=t.getPropertiesOfType(s);return za(l.filter(U8e))}var Qle,bq,vut=p({"src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts"(){Si(),Ya(),Qle=[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],bq="fixClassIncorrectlyImplementsInterface",Ga({errorCodes:Qle,getCodeActions(e){const{sourceFile:t,span:n}=e,s=J8e(t,n.start);return lr(f4(s),l=>{const f=jn.ChangeTracker.with(e,d=>z8e(e,l,t,s,d,e.preferences));return f.length===0?void 0:Oa(bq,f,[v.Implement_interface_0,l.getText(t)],bq,v.Implement_all_unimplemented_interfaces)})},fixIds:[bq],getAllCodeActions(e){const t=new Map;return Zo(e,Qle,(n,s)=>{const l=J8e(s.file,s.start);if(Dm(t,Jo(l)))for(const f of f4(l))z8e(e,f,s.file,l,n,e.preferences)})}})}});function Tk(e,t,n,s,l){return V8e(e,t,!1,n,s,l)}function V8e(e,t,n,s,l,f){const d=t.getCompilerOptions(),g=[],h=[],k=new Map,T=new Map;return{addImportFromDiagnostic:C,addImportFromExportedSymbol:D,writeFixes:M,hasFixes:U};function C(B,H){const Y=X8e(H,B.code,B.start,n);!Y||!Y.length||O(Oo(Y))}function D(B,H){const Y=R.checkDefined(B.parent),Z=VV(B,Eo(d)),fe=t.getTypeChecker(),Q=fe.getMergedSymbol(F_(B,fe)),he=W8e(e,Q,Z,Y,!1,t,l,s,f),W=Sq(e,t),ye=$8e(e,R.checkDefined(he),t,void 0,!!H,W,l,s);ye&&O({fix:ye,symbolName:Z,errorIdentifierText:void 0})}function O(B){var H,Y;const{fix:Z,symbolName:fe}=B;switch(Z.kind){case 0:g.push(Z);break;case 1:h.push(Z);break;case 2:{const{importClauseOrBindingPattern:ye,importKind:de,addAsTypeOnly:Ce}=Z,K=String(Jo(ye));let ce=k.get(K);if(ce||k.set(K,ce={importClauseOrBindingPattern:ye,defaultImport:void 0,namedImports:new Map}),de===0){const le=ce==null?void 0:ce.namedImports.get(fe);ce.namedImports.set(fe,Q(le,Ce))}else R.assert(ce.defaultImport===void 0||ce.defaultImport.name===fe,"(Add to Existing) Default import should be missing or match symbolName"),ce.defaultImport={name:fe,addAsTypeOnly:Q((H=ce.defaultImport)==null?void 0:H.addAsTypeOnly,Ce)};break}case 3:{const{moduleSpecifier:ye,importKind:de,useRequire:Ce,addAsTypeOnly:K}=Z,ce=he(ye,de,Ce,K);switch(R.assert(ce.useRequire===Ce,"(Add new) Tried to add an `import` and a `require` for the same module"),de){case 1:R.assert(ce.defaultImport===void 0||ce.defaultImport.name===fe,"(Add new) Default import should be missing or match symbolName"),ce.defaultImport={name:fe,addAsTypeOnly:Q((Y=ce.defaultImport)==null?void 0:Y.addAsTypeOnly,K)};break;case 0:const le=(ce.namedImports||(ce.namedImports=new Map)).get(fe);ce.namedImports.set(fe,Q(le,K));break;case 3:case 2:R.assert(ce.namespaceLikeImport===void 0||ce.namespaceLikeImport.name===fe,"Namespacelike import shoudl be missing or match symbolName"),ce.namespaceLikeImport={importKind:de,name:fe,addAsTypeOnly:K};break}break}case 4:break;default:R.assertNever(Z,`fix wasn't never - got kind ${Z.kind}`)}function Q(ye,de){return Math.max(ye??0,de)}function he(ye,de,Ce,K){const ce=W(ye,!0),le=W(ye,!1),xe=T.get(ce),we=T.get(le),Ie={defaultImport:void 0,namedImports:void 0,namespaceLikeImport:void 0,useRequire:Ce};return de===1&&K===2?xe||(T.set(ce,Ie),Ie):K===1&&(xe||we)?xe||we:we||(T.set(le,Ie),Ie)}function W(ye,de){return`${de?1:0}|${ye}`}}function M(B){const H=gd(e,s);for(const Z of g)tue(B,e,Z);for(const Z of h)rNe(B,e,Z,H);k.forEach(({importClauseOrBindingPattern:Z,defaultImport:fe,namedImports:Q})=>{tNe(B,e,Z,fe,oo(Q.entries(),([he,W])=>({addAsTypeOnly:W,name:he})),s)});let Y;T.forEach(({useRequire:Z,defaultImport:fe,namedImports:Q,namespaceLikeImport:he},W)=>{const ye=W.slice(2),Ce=(Z?sNe:iNe)(ye,H,fe,Q&&oo(Q.entries(),([K,ce])=>({addAsTypeOnly:ce,name:K})),he,d);Y=Vh(Y,Ce)}),Y&&s8(B,e,Y,!0,s)}function U(){return g.length>0||h.length>0||k.size>0||T.size>0}}function but(e,t,n,s){const l=f8(e,s,n),f=H8e(t.getTypeChecker(),e,t.getCompilerOptions());return{getModuleSpecifierForBestExportInfo:d};function d(g,h,k,T){const{fixes:C,computedWithoutCacheCount:D}=Tq(g,h,k,!1,t,e,n,s,f,T),O=Q8e(C,e,t,l,n);return O&&{...O,computedWithoutCacheCount:D}}}function Tut(e,t,n,s,l,f,d,g,h,k,T,C){const D=g.getCompilerOptions();let O;n?(O=nL(s,d,g,T,C).get(s.path,n),R.assertIsDefined(O,"Some exportInfo should match the specified exportMapKey")):(O=yK(tm(t.name))?[xut(e,l,t,g,d)]:W8e(s,e,l,t,f,g,d,T,C),R.assertIsDefined(O,"Some exportInfo should match the specified symbol / moduleSymbol"));const M=Sq(s,g),U=$x(Os(s,k)),B=R.checkDefined($8e(s,O,g,k,U,M,d,T));return{moduleSpecifier:B.moduleSpecifier,codeAction:q8e(eue({host:d,formatContext:h,preferences:T},s,l,B,!1,D,T))}}function Sut(e,t,n,s,l,f){const d=n.getCompilerOptions(),g=HY(Kle(e,n.getTypeChecker(),t,d)),h=K8e(e,t,g,n),k=g!==t.text;return h&&q8e(eue({host:s,formatContext:l,preferences:f},e,g,h,k,d,f))}function $8e(e,t,n,s,l,f,d,g){const h=f8(e,g,d);return Q8e(Tq(t,s,l,f,n,e,d,g).fixes,e,n,h,d)}function q8e({description:e,changes:t,commands:n}){return{description:e,changes:t,commands:n}}function W8e(e,t,n,s,l,f,d,g,h){const k=G8e(f,d);return nL(e,d,f,g,h).search(e.path,l,T=>T===n,T=>{if(F_(T[0].symbol,k(T[0].isFromPackageJson))===t&&T.some(C=>C.moduleSymbol===s||C.symbol.parent===s))return T})}function xut(e,t,n,s,l){var f,d;const g=s.getCompilerOptions(),h=T(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&&T(k,!0),"Could not find symbol in specified module for code actions");function T(C,D){const O=YV(n,C,g);if(O&&F_(O.symbol,C)===e)return{symbol:O.symbol,moduleSymbol:n,moduleFileName:void 0,exportKind:O.exportKind,targetFlags:F_(e,C).flags,isFromPackageJson:D};const M=C.tryGetMemberInModuleExportsAndProperties(t,n);if(M&&F_(M,C)===e)return{symbol:M,moduleSymbol:n,moduleFileName:void 0,exportKind:0,targetFlags:F_(e,C).flags,isFromPackageJson:D}}}function Tq(e,t,n,s,l,f,d,g,h=H8e(l.getTypeChecker(),f,l.getCompilerOptions()),k){const T=l.getTypeChecker(),C=ln(e,h.getImportsForExportInfo),D=t!==void 0&&kut(C,t),O=wut(C,n,T,l.getCompilerOptions());if(O)return{computedWithoutCacheCount:0,fixes:[...D?[D]:ft,O]};const{fixes:M,computedWithoutCacheCount:U=0}=Aut(e,C,l,f,t,n,s,d,g,k);return{computedWithoutCacheCount:U,fixes:[...D?[D]:ft,...M]}}function kut(e,t){return $e(e,({declaration:n,importKind:s})=>{var l;if(s!==0)return;const f=Cut(n),d=f&&((l=p5(n))==null?void 0:l.text);if(d)return{kind:0,namespacePrefix:f,usagePosition:t,moduleSpecifier:d}})}function Cut(e){var t,n,s;switch(e.kind){case 259:return(t=wi(e.name,He))==null?void 0:t.text;case 270:return e.name.text;case 271:return(s=wi((n=e.importClause)==null?void 0:n.namedBindings,Mv))==null?void 0:s.name.text;default:return R.assertNever(e)}}function Yle(e,t,n,s,l,f){return e?t&&f.importsNotUsedAsValues===2||Pte(f)&&(!(s&111551)||l.getTypeOnlyAliasDeclaration(n))?2:1:4}function wut(e,t,n,s){let l;for(const d of e){const g=f(d);if(!g)continue;const h=nj(g.importClauseOrBindingPattern);if(g.addAsTypeOnly!==4&&h||g.addAsTypeOnly===4&&!h)return g;l??(l=g)}return l;function f({declaration:d,importKind:g,symbol:h,targetFlags:k}){if(g===3||g===2||d.kind===270)return;if(d.kind===259)return(g===0||g===1)&&d.name.kind===205?{kind:2,importClauseOrBindingPattern:d.name,importKind:g,moduleSpecifier:d.initializer.arguments[0].text,addAsTypeOnly:4}:void 0;const{importClause:T}=d;if(!T||!Yo(d.moduleSpecifier))return;const{name:C,namedBindings:D}=T;if(T.isTypeOnly&&!(g===0&&D))return;const O=Yle(t,!1,h,k,n,s);if(!(g===1&&(C||O===2&&D))&&!(g===0&&(D==null?void 0:D.kind)===273))return{kind:2,importClauseOrBindingPattern:T,importKind:g,moduleSpecifier:d.moduleSpecifier.text,addAsTypeOnly:O}}}function H8e(e,t,n){let s;for(const l of t.imports){const f=d5(l);if(Mee(f.parent)){const d=e.resolveExternalModuleName(l);d&&(s||(s=sd())).add(vo(d),f.parent)}else if(f.kind===271||f.kind===270){const d=e.getSymbolAtLocation(l);d&&(s||(s=sd())).add(vo(d),f)}}return{getImportsForExportInfo:({moduleSymbol:l,exportKind:f,targetFlags:d,symbol:g})=>{if(!(d&111551)&&qf(t))return ft;const h=s==null?void 0:s.get(vo(l));if(!h)return ft;const k=Zle(t,f,n);return h.map(T=>({declaration:T,importKind:k,symbol:g,targetFlags:d}))}}}function Sq(e,t){if(!qf(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 Zu(n)<5;for(const s of t.getSourceFiles())if(!(s===e||!qf(s)||t.isSourceFileFromExternalLibrary(s))){if(s.commonJsModuleIndicator&&!s.externalModuleIndicator)return!0;if(s.externalModuleIndicator&&!s.commonJsModuleIndicator)return!1}return!0}function G8e(e,t){return qh(n=>n?t.getPackageJsonAutoImportProvider().getTypeChecker():e.getTypeChecker())}function Eut(e,t,n,s,l,f,d,g,h){const k=qf(t),T=e.getCompilerOptions(),C=hk(e,d),D=G8e(e,d),O=wl(T),M=CV(O),U=h?Y=>({moduleSpecifiers:nS.tryGetModuleSpecifiersFromCache(Y,t,C,g),computedWithoutCache:!1}):(Y,Z)=>nS.getModuleSpecifiersWithCacheInfo(Y,Z,T,t,C,g);let B=0;const H=ln(f,(Y,Z)=>{const fe=D(Y.isFromPackageJson),{computedWithoutCache:Q,moduleSpecifiers:he}=U(Y.moduleSymbol,fe),W=!!(Y.targetFlags&111551),ye=Yle(s,!0,Y.symbol,Y.targetFlags,fe,T);return B+=Q?1:0,lr(he,de=>{var Ce;if(M&&eA(de))return;if(!W&&k&&n!==void 0)return{kind:1,moduleSpecifier:de,usagePosition:n,exportInfo:Y,isReExport:Z>0};const K=Zle(t,Y.exportKind,T);let ce;if(n!==void 0&&K===3&&Y.exportKind===0){const le=fe.resolveExternalModuleSymbol(Y.moduleSymbol);let xe;le!==Y.moduleSymbol&&(xe=(Ce=ZV(le,fe,T))==null?void 0:Ce.name),xe||(xe=rue(Y.moduleSymbol,Eo(T),!1)),ce={namespacePrefix:xe,usagePosition:n}}return{kind:3,moduleSpecifier:de,importKind:K,useRequire:l,addAsTypeOnly:ye,exportInfo:Y,isReExport:Z>0,qualification:ce}})});return{computedWithoutCacheCount:B,fixes:H}}function Aut(e,t,n,s,l,f,d,g,h,k){const T=$e(t,C=>Put(C,f,d,n.getTypeChecker(),n.getCompilerOptions()));return T?{fixes:[T]}:Eut(n,s,l,f,d,e,g,h,k)}function Put({declaration:e,importKind:t,symbol:n,targetFlags:s},l,f,d,g){var h;const k=(h=p5(e))==null?void 0:h.text;if(k){const T=f?4:Yle(l,!0,n,s,d,g);return{kind:3,moduleSpecifier:k,importKind:t,addAsTypeOnly:T,useRequire:f}}}function X8e(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=Out(e,l);else if(He(l))if(t===v._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code){const g=HY(Kle(e.sourceFile,e.program.getTypeChecker(),l,e.program.getCompilerOptions())),h=K8e(e.sourceFile,l,g,e.program);return h&&[{fix:h,symbolName:g,errorIdentifierText:l.text}]}else f=Fut(e,l,s);else return;const d=f8(e.sourceFile,e.preferences,e.host);return f&&Dut(f,e.sourceFile,e.program,d,e.host)}function Dut(e,t,n,s,l){const f=d=>bc(d,l.getCurrentDirectory(),a1(l));return gx(e,(d,g)=>yT(!!d.isJsxNamespaceFix,!!g.isJsxNamespaceFix)||wc(d.fix.kind,g.fix.kind)||Y8e(d.fix,g.fix,t,n,s.allowsImportingSpecifier,f))}function Q8e(e,t,n,s,l){if(Ne(e))return e[0].kind===0||e[0].kind===2?e[0]:e.reduce((f,d)=>Y8e(d,f,t,n,s.allowsImportingSpecifier,g=>bc(g,l.getCurrentDirectory(),a1(l)))===-1?d:f)}function Y8e(e,t,n,s,l,f){return e.kind!==0&&t.kind!==0?yT(l(t.moduleSpecifier),l(e.moduleSpecifier))||Iut(e.moduleSpecifier,t.moduleSpecifier,n,s)||yT(Z8e(e,n,s.getCompilerOptions(),f),Z8e(t,n,s.getCompilerOptions(),f))||q5(e.moduleSpecifier,t.moduleSpecifier):0}function Z8e(e,t,n,s){var l;if(e.isReExport&&((l=e.exportInfo)!=null&&l.moduleFileName)&&wl(n)===2&&Nut(e.exportInfo.moduleFileName)){const f=s(cs(e.exportInfo.moduleFileName));return Xs(t.path,f)}return!1}function Nut(e){return Xu(e,[".js",".jsx",".d.ts",".ts",".tsx"],!0)==="index"}function Iut(e,t,n,s){return Xs(e,"node:")&&!Xs(t,"node:")?qV(n,s)?-1:1:Xs(t,"node:")&&!Xs(e,"node:")?qV(n,s)?1:-1:0}function Out({sourceFile:e,program:t,host:n,preferences:s},l){const f=t.getTypeChecker(),d=Lut(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}],T=Sq(e,t);return Tq(k,void 0,!1,T,t,e,n,s).fixes.map(D=>{var O;return{fix:D,symbolName:h,errorIdentifierText:(O=wi(l,He))==null?void 0:O.text}})}function Lut(e,t){const n=He(e)?t.getSymbolAtLocation(e):void 0;if(lJ(n))return n;const{parent:s}=e;if(a_(s)&&s.tagName===e||Rw(s)){const l=t.resolveName(t.getJsxNamespace(s),a_(s)?e:s,111551,!1);if(lJ(l))return l}}function Zle(e,t,n,s){if(n.verbatimModuleSyntax&&(Zu(n)===1||e.impliedNodeFormat===1))return 3;switch(t){case 0:return 0;case 1:return 1;case 2:return jut(e,n,!!s);case 3:return Mut(e,n,!!s);default:return R.assertNever(t)}}function Mut(e,t,n){if(vw(t))return 1;const s=Zu(t);switch(s){case 2:case 1:case 3:return Mn(e)&&(Ul(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 Fut({sourceFile:e,program:t,cancellationToken:n,host:s,preferences:l},f,d){const g=t.getTypeChecker(),h=t.getCompilerOptions();return ln(Kle(e,g,f,h),k=>{if(k==="default")return;const T=$x(f),C=Sq(e,t),D=But(k,n4(f),_k(f),n,e,t,d,s,l);return oo(yr(D.values(),O=>Tq(O,f.getStart(e),T,C,t,e,s,l).fixes),O=>({fix:O,symbolName:k,errorIdentifierText:f.text,isJsxNamespaceFix:k!==f.text}))})}function K8e(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||pn(d)!==e))return{kind:4,typeOnlyAliasDeclaration:d}}function Kle(e,t,n,s){const l=n.parent;if((a_(l)||XT(l))&&l.tagName===n&&zoe(s.jsx)){const f=t.getJsxNamespace(e);if(Rut(f,n,t))return!m4(n.text)&&!t.resolveName(n.text,n,111551,!1)?[n.text,f]:[f]}return[n.text]}function Rut(e,t,n){if(m4(t.text))return!0;const s=n.resolveName(e,t,111551,!0);return!s||Ne(s.declarations,ET)&&!(s.flags&111551)}function But(e,t,n,s,l,f,d,g,h){var k;const T=sd(),C=f8(l,h,g),D=(k=g.getModuleSpecifierCache)==null?void 0:k.call(g),O=qh(U=>hk(U?g.getPackageJsonAutoImportProvider():f,g));function M(U,B,H,Y,Z,fe){const Q=O(fe);if(B&&Hoe(Z,l,B,h,C,Q,D)||!B&&C.allowsImportingAmbientModule(U,Q)){const he=Z.getTypeChecker();T.add(NAe(H,he).toString(),{symbol:H,moduleSymbol:U,moduleFileName:B==null?void 0:B.fileName,exportKind:Y,targetFlags:F_(H,he).flags,isFromPackageJson:fe})}}return Goe(f,g,h,d,(U,B,H,Y)=>{const Z=H.getTypeChecker();s.throwIfCancellationRequested();const fe=H.getCompilerOptions(),Q=YV(U,Z,fe);Q&&(Q.name===e||rue(U,Eo(fe),t)===e)&&oNe(Q.resolvedSymbol,n)&&M(U,B,Q.symbol,Q.exportKind,H,Y);const he=Z.tryGetMemberInModuleExportsAndProperties(e,U);he&&oNe(he,n)&&M(U,B,he,0,H,Y)}),T}function jut(e,t,n){const s=vw(t),l=Mn(e);if(!l&&Zu(t)>=5)return s?1:2;if(l)return Ul(e)||n?s?1:2:3;for(const f of e.statements)if(cf(f)&&!pl(f.moduleReference))return 3;return s?1:3}function eue(e,t,n,s,l,f,d){let g;const h=jn.ChangeTracker.with(e,k=>{g=Jut(k,t,n,s,l,f,d)});return Oa(iue,h,g,sue,v.Add_all_missing_imports)}function Jut(e,t,n,s,l,f,d){const g=gd(t,d);switch(s.kind){case 0:return tue(e,t,s),[v.Change_0_to_1,n,`${s.namespacePrefix}.${n}`];case 1:return rNe(e,t,s,g),[v.Change_0_to_1,n,nNe(s.moduleSpecifier,g)+n];case 2:{const{importClauseOrBindingPattern:h,importKind:k,addAsTypeOnly:T,moduleSpecifier:C}=s;tNe(e,t,h,k===1?{name:n,addAsTypeOnly:T}:void 0,k===0?[{name:n,addAsTypeOnly:T}]:ft,d);const D=tm(C);return l?[v.Import_0_from_1,n,D]:[v.Update_import_from_0,D]}case 3:{const{importKind:h,moduleSpecifier:k,addAsTypeOnly:T,useRequire:C,qualification:D}=s,O=C?sNe:iNe,M=h===1?{name:n,addAsTypeOnly:T}:void 0,U=h===0?[{name:n,addAsTypeOnly:T}]:void 0,B=h===2||h===3?{importKind:h,name:(D==null?void 0:D.namespacePrefix)||n,addAsTypeOnly:T}:void 0;return s8(e,t,O(k,g,M,U,B,f),!0,d),D&&tue(e,t,D),l?[v.Import_0_from_1,n,k]:[v.Add_import_from_0,k]}case 4:{const{typeOnlyAliasDeclaration:h}=s,k=Uut(e,h,f,t,d);return k.kind===275?[v.Remove_type_from_import_of_0_from_1,n,eNe(k.parent.parent)]:[v.Remove_type_from_import_declaration_from_0,eNe(k)]}default:return R.assertNever(s,`Unexpected fix kind ${s.kind}`)}}function eNe(e){var t,n;return e.kind===270?((n=wi((t=wi(e.moduleReference,fg))==null?void 0:t.expression,Yo))==null?void 0:n.text)||e.moduleReference.getText():Ua(e.parent.moduleSpecifier,yo).text}function Uut(e,t,n,s,l){const f=Pte(n);switch(t.kind){case 275:if(t.isTypeOnly){const g=um.detectImportSpecifierSorting(t.parent.elements,l);if(t.parent.elements.length>1&&g){e.delete(s,t);const h=V.updateImportSpecifier(t,!1,t.propertyName,t.name),k=um.getOrganizeImportsComparer(l,g===2),T=um.getImportSpecifierInsertionIndex(t.parent.elements,h,k);e.insertImportSpecifierAtIndex(s,h,t.parent,T)}else e.deleteRange(s,t.getFirstToken());return t}else return R.assert(t.parent.parent.isTypeOnly),d(t.parent.parent),t.parent.parent;case 272:return d(t),t;case 273:return d(t.parent),t.parent;case 270:return e.deleteRange(s,t.getChildAt(1)),t;default:R.failBadSyntaxKind(t)}function d(g){if(e.delete(s,boe(g,s)),f){const h=wi(g.namedBindings,d1);if(h&&h.elements.length>1){um.detectImportSpecifierSorting(h.elements,l)&&t.kind===275&&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,156,k)}}}}function tNe(e,t,n,s,l,f){var d;if(n.kind===205){s&&k(n,s.name,"default");for(const T of l)k(n,T.name,void 0);return}const g=n.isTypeOnly&&Ne([s,...l],T=>(T==null?void 0:T.addAsTypeOnly)===4),h=n.namedBindings&&((d=wi(n.namedBindings,d1))==null?void 0:d.elements);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),V.createIdentifier(s.name),{suffix:", "})),l.length){let T;if(typeof f.organizeImportsIgnoreCase=="boolean")T=f.organizeImportsIgnoreCase;else if(h){const M=um.detectImportSpecifierSorting(h,f);M!==3&&(T=M===2)}T===void 0&&(T=um.detectSorting(t,f)===2);const C=um.getOrganizeImportsComparer(f,T),D=G0(l.map(M=>V.createImportSpecifier((!n.isTypeOnly||g)&&AL(M),void 0,V.createIdentifier(M.name))),(M,U)=>um.compareImportOrExportSpecifiers(M,U,C)),O=(h==null?void 0:h.length)&&um.detectImportSpecifierSorting(h,f);if(O&&!(T&&O===1))for(const M of D){const U=g&&!M.isTypeOnly?0:um.getImportSpecifierInsertionIndex(h,M,C);e.insertImportSpecifierAtIndex(t,M,n.namedBindings,U)}else if(h!=null&&h.length)for(const M of D)e.insertNodeInListAfter(t,To(h),M,h);else if(D.length){const M=V.createNamedImports(D);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(g&&(e.delete(t,boe(n,t)),h))for(const T of h)e.insertModifierBefore(t,156,T);function k(T,C,D){const O=V.createBindingElement(void 0,D,C);T.elements.length?e.insertNodeInListAfter(t,To(T.elements),O):e.replaceNode(t,T,V.createObjectBindingPattern([O]))}}function tue(e,t,{namespacePrefix:n,usagePosition:s}){e.insertText(t,s,n+".")}function rNe(e,t,{moduleSpecifier:n,usagePosition:s},l){e.insertText(t,s,nNe(n,l))}function nNe(e,t){const n=voe(t);return`import(${n}${e}${n}).`}function AL({addAsTypeOnly:e}){return e===2}function iNe(e,t,n,s,l,f){const d=Qw(e,t);let g;if(n!==void 0||s!=null&&s.length){const h=(!n||AL(n))&&ot(s,AL)||f.verbatimModuleSyntax&&(n==null?void 0:n.addAsTypeOnly)!==4&&!Ne(s,k=>k.addAsTypeOnly===4);g=Vh(g,T1(n&&V.createIdentifier(n.name),s==null?void 0:s.map(({addAsTypeOnly:k,name:T})=>V.createImportSpecifier(!h&&k===2,void 0,V.createIdentifier(T))),e,t,h))}if(l){const h=l.importKind===3?V.createImportEqualsDeclaration(void 0,AL(l),V.createIdentifier(l.name),V.createExternalModuleReference(d)):V.createImportDeclaration(void 0,V.createImportClause(AL(l),void 0,V.createNamespaceImport(V.createIdentifier(l.name))),d,void 0);g=Vh(g,h)}return R.checkDefined(g)}function sNe(e,t,n,s,l){const f=Qw(e,t);let d;if(n||s!=null&&s.length){const g=(s==null?void 0:s.map(({name:k})=>V.createBindingElement(void 0,void 0,k)))||[];n&&g.unshift(V.createBindingElement(void 0,"default",n.name));const h=aNe(V.createObjectBindingPattern(g),f);d=Vh(d,h)}if(l){const g=aNe(l.name,f);d=Vh(d,g)}return R.checkDefined(d)}function aNe(e,t){return V.createVariableStatement(void 0,V.createVariableDeclarationList([V.createVariableDeclaration(typeof e=="string"?V.createIdentifier(e):e,void 0,void 0,V.createCallExpression(V.createIdentifier("require"),void 0,[t]))],2))}function oNe({declarations:e},t){return Ne(e,n=>!!(L9(n)&t))}function rue(e,t,n){return nue(R_(tm(e.name)),t,n)}function nue(e,t,n){const s=Xu(P6(e,"/index"));let l="",f=!0;const d=s.charCodeAt(0);$g(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=$b(h,t);if(k){let T=String.fromCharCode(h);f||(T=T.toUpperCase()),l+=T}f=k}return fw(l)?`_${l}`:l||"_"}var iue,sue,aue,zut=p({"src/services/codefixes/importFixes.ts"(){Si(),Ya(),iue="import",sue="fixMissingImport",aue=[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],Ga({errorCodes:aue,getCodeActions(e){const{errorCode:t,preferences:n,sourceFile:s,span:l,program:f}=e,d=X8e(e,t,l.start,!0);if(d)return d.map(({fix:g,symbolName:h,errorIdentifierText:k})=>eue(e,s,h,g,h!==k,f.getCompilerOptions(),n))},fixIds:[sue],getAllCodeActions:e=>{const{sourceFile:t,program:n,preferences:s,host:l,cancellationToken:f}=e,d=V8e(t,n,!0,s,l,f);return oE(e,aue,g=>d.addImportFromDiagnostic(g,e)),aE(jn.ChangeTracker.with(e,d.writeFixes))}})}});function cNe(e,t,n){const s=Ve(e.getSemanticDiagnostics(t),d=>d.start===n.start&&d.length===n.length);if(s===void 0||s.relatedInformation===void 0)return;const l=Ve(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=cfe(l.file,yu(l.start,l.length));if(f!==void 0&&(He(f)&&qc(f.parent)&&(f=f.parent),qc(f))){if(TD(f.parent))return;const d=Os(t,n.start),g=e.getTypeChecker();return{constraint:$ut(g,d)||Vut(l.messageText),declaration:f,token:d}}}function lNe(e,t,n,s,l,f){const{declaration:d,constraint:g}=f,h=t.getTypeChecker();if(Wa(g))e.insertText(l,d.name.end,` extends ${g}`);else{const k=Eo(t.getCompilerOptions()),T=lE({program:t,host:s}),C=Tk(l,t,n,s),D=sW(h,C,g,void 0,k,void 0,T);D&&(e.replaceNode(l,d,V.updateTypeParameterDeclaration(d,void 0,d.name,D,d.default)),C.writeFixes(e))}}function Vut(e){const[t,n]=jv(e,`
`,0).match(/`extends (.*)`/)||[];return n}function $ut(e,t){return ys(t.parent)?e.getTypeArgumentConstraint(t.parent):(Ct(t)?e.getContextualType(t):void 0)||e.getTypeAtLocation(t)}var xq,oue,qut=p({"src/services/codefixes/fixAddMissingConstraint.ts"(){Si(),Ya(),xq="addMissingConstraint",oue=[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],Ga({errorCodes:oue,getCodeActions(e){const{sourceFile:t,span:n,program:s,preferences:l,host:f}=e,d=cNe(s,t,n);if(d===void 0)return;const g=jn.ChangeTracker.with(e,h=>lNe(h,s,l,f,t,d));return[Oa(xq,g,v.Add_extends_constraint,xq,v.Add_extends_constraint_to_all_type_parameters)]},fixIds:[xq],getAllCodeActions:e=>{const{program:t,preferences:n,host:s}=e,l=new Map;return aE(jn.ChangeTracker.with(e,f=>{oE(e,oue,d=>{const g=cNe(t,d.file,yu(d.start,d.length));if(g&&Dm(l,Jo(g.declaration)))return lNe(f,t,n,s,d.file,g)})}))}})}});function uNe(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 Wut(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 Hut(e,t.sourceFile,s);default:R.fail("Unexpected error code: "+n)}}function Wut(e,t,n){const s=_Ne(t,n);if(qf(t)){e.addJSDocTags(t,s,[V.createJSDocOverrideTag(V.createIdentifier("override"))]);return}const l=s.modifiers||ft,f=Ve(l,Ew),d=Ve(l,qxe),g=Ve(l,C=>uoe(C.kind)),h=Ft(l,xf),k=d?d.end:f?f.end:g?g.end:h?fo(t.text,h.end):s.getStart(t),T=g||f||d?{prefix:" "}:{suffix:" "};e.insertModifierAt(t,k,163,T)}function Hut(e,t,n){const s=_Ne(t,n);if(qf(t)){e.filterJSDocTags(t,s,hB(SU));return}const l=Ve(s.modifiers,Wxe);R.assertIsDefined(l),e.deleteModifier(t,l)}function fNe(e){switch(e.kind){case 175:case 171:case 173:case 176:case 177:return!0;case 168:return Cp(e,e.parent);default:return!1}}function _Ne(e,t){const n=Os(e,t),s=mn(n,l=>Ri(l)?"quit":fNe(l));return R.assert(s&&fNe(s)),s}var cue,yA,D8,lue,uue,Gut=p({"src/services/codefixes/fixOverrideModifier.ts"(){Si(),Ya(),cue="fixOverrideModifier",yA="fixAddOverrideModifier",D8="fixRemoveOverrideModifier",lue=[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],uue={[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:yA,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:yA,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:D8,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:D8,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:yA,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:yA,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:yA,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:D8,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:D8,fixAllDescriptions:v.Remove_all_unnecessary_override_modifiers}},Ga({errorCodes:lue,getCodeActions:function(t){const{errorCode:n,span:s}=t,l=uue[n];if(!l)return ft;const{descriptions:f,fixId:d,fixAllDescriptions:g}=l,h=jn.ChangeTracker.with(t,k=>uNe(k,t,n,s.start));return[xle(cue,h,f,d,g)]},fixIds:[cue,yA,D8],getAllCodeActions:e=>Zo(e,lue,(t,n)=>{const{code:s,start:l}=n,f=uue[s];!f||f.fixId!==e.fixId||uNe(t,e,s,l)})})}});function pNe(e,t,n,s){const l=gd(t,s),f=V.createStringLiteral(n.name.text,l===0);e.replaceNode(t,n,ZB(n)?V.createElementAccessChain(n.expression,n.questionDotToken,f):V.createElementAccessExpression(n.expression,f))}function dNe(e,t){return Ua(Os(e,t).parent,ai)}var kq,fue,Xut=p({"src/services/codefixes/fixNoPropertyAccessFromIndexSignature.ts"(){Si(),Ya(),kq="fixNoPropertyAccessFromIndexSignature",fue=[v.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0.code],Ga({errorCodes:fue,fixIds:[kq],getCodeActions(e){const{sourceFile:t,span:n,preferences:s}=e,l=dNe(t,n.start),f=jn.ChangeTracker.with(e,d=>pNe(d,e.sourceFile,l,s));return[Oa(kq,f,[v.Use_element_access_for_0,l.name.text],kq,v.Use_element_access_for_all_undeclared_properties)]},getAllCodeActions:e=>Zo(e,fue,(t,n)=>pNe(t,n.file,dNe(n.file,n.start),e.preferences))})}});function mNe(e,t,n,s){const l=Os(t,n);if(!lA(l))return;const f=y_(l,!1,!1);if(!(!au(f)&&!_c(f))&&!Cs(y_(f,!1,!1))){const d=R.checkDefined(Go(f,100,t)),{name:g}=f,h=R.checkDefined(f.body);return _c(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:QV]):(e.replaceNode(t,d,V.createToken(87)),e.insertText(t,g.end," = "),e.insertText(t,h.pos," =>"),[v.Convert_function_declaration_0_to_arrow_function,g.text])}}var Cq,_ue,Qut=p({"src/services/codefixes/fixImplicitThis.ts"(){Si(),Ya(),Cq="fixImplicitThis",_ue=[v.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],Ga({errorCodes:_ue,getCodeActions:function(t){const{sourceFile:n,program:s,span:l}=t;let f;const d=jn.ChangeTracker.with(t,g=>{f=mNe(g,n,l.start,s.getTypeChecker())});return f?[Oa(Cq,d,f,Cq,v.Fix_all_implicit_this_errors)]:ft},fixIds:[Cq],getAllCodeActions:e=>Zo(e,_ue,(t,n)=>{mNe(t,n.file,n.start,e.program.getTypeChecker())})})}});function hNe(e,t,n){var s;const l=Os(e,t);if(He(l)){const f=mn(l,ju);if(f===void 0)return;const d=yo(f.moduleSpecifier)?f.moduleSpecifier.text:void 0;if(d===void 0)return;const g=H6(e,d,void 0);if(g===void 0)return;const h=n.getSourceFile(g.resolvedFileName);if(h===void 0||_8(n,h))return;const k=h.symbol,T=(s=wi(k.valueDeclaration,Qh))==null?void 0:s.locals;if(T===void 0)return;const C=T.get(l.escapedText);if(C===void 0)return;const D=Zut(C);return D===void 0?void 0:{exportName:{node:l,isTypeOnly:w4(D)},node:D,moduleSourceFile:h,moduleSpecifier:d}}}function Yut(e,t,{exportName:n,node:s,moduleSourceFile:l}){const f=wq(l,n.isTypeOnly);f?gNe(e,t,l,f,[n]):X5(s)?e.insertExportModifier(l,s):yNe(e,t,l,[n])}function pue(e,t,n,s,l){G(s)&&(l?gNe(e,t,n,l,s):yNe(e,t,n,s))}function wq(e,t){const n=s=>Ju(s)&&(t&&s.isTypeOnly||!s.isTypeOnly);return Ft(e.statements,n)}function gNe(e,t,n,s,l){const f=s.exportClause&&im(s.exportClause)?s.exportClause.elements:V.createNodeArray([]),d=!s.isTypeOnly&&!!(Nm(t.getCompilerOptions())||Ve(f,g=>g.isTypeOnly));e.replaceNode(n,s,V.updateExportDeclaration(s,s.modifiers,s.isTypeOnly,V.createNamedExports(V.createNodeArray([...f,...vNe(l,d)],f.hasTrailingComma)),s.moduleSpecifier,s.assertClause))}function yNe(e,t,n,s){e.insertNodeAtEndOfScope(n,n,V.createExportDeclaration(void 0,!1,V.createNamedExports(vNe(s,Nm(t.getCompilerOptions()))),void 0,void 0))}function vNe(e,t){return V.createNodeArray(qt(e,n=>V.createExportSpecifier(t&&n.isTypeOnly,void 0,n.node)))}function Zut(e){if(e.valueDeclaration===void 0)return Hu(e.declarations);const t=e.valueDeclaration,n=bs(t)?wi(t.parent.parent,Yl):void 0;return n&&G(n.declarationList.declarations)===1?n:t}var Eq,due,Kut=p({"src/services/codefixes/fixImportNonExportedMember.ts"(){Si(),Ya(),Eq="fixImportNonExportedMember",due=[v.Module_0_declares_1_locally_but_it_is_not_exported.code],Ga({errorCodes:due,fixIds:[Eq],getCodeActions(e){const{sourceFile:t,span:n,program:s}=e,l=hNe(t,n.start,s);if(l===void 0)return;const f=jn.ChangeTracker.with(e,d=>Yut(d,s,l));return[Oa(Eq,f,[v.Export_0_from_module_1,l.exportName.node.text,l.moduleSpecifier],Eq,v.Export_all_referenced_locals)]},getAllCodeActions(e){const{program:t}=e;return aE(jn.ChangeTracker.with(e,n=>{const s=new Map;oE(e,due,l=>{const f=hNe(l.file,l.start,t);if(f===void 0)return;const{exportName:d,node:g,moduleSourceFile:h}=f;if(wq(h,d.isTypeOnly)===void 0&&X5(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=wq(f,!0);d&&d.isTypeOnly?(pue(n,t,f,l.typeOnlyExports,d),pue(n,t,f,l.exports,wq(f,!1))):pue(n,t,f,[...l.exports,...l.typeOnlyExports],d)})}))}})}});function eft(e,t){const n=Os(e,t);return mn(n,s=>s.kind===201)}function tft(e,t,n){if(!n)return;let s=n.type,l=!1,f=!1;for(;s.kind===189||s.kind===190||s.kind===195;)s.kind===189?l=!0:s.kind===190&&(f=!0),s=s.type;const d=V.updateNamedTupleMember(n,n.dotDotDotToken||(f?V.createToken(26):void 0),n.name,n.questionToken||(l?V.createToken(58):void 0),s);d!==n&&e.replaceNode(t,n,d)}var Aq,bNe,rft=p({"src/services/codefixes/fixIncorrectNamedTupleSyntax.ts"(){Si(),Ya(),Aq="fixIncorrectNamedTupleSyntax",bNe=[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],Ga({errorCodes:bNe,getCodeActions:function(t){const{sourceFile:n,span:s}=t,l=eft(n,s.start),f=jn.ChangeTracker.with(t,d=>tft(d,n,l));return[Oa(Aq,f,v.Move_labeled_tuple_element_modifiers_to_labels,Aq,v.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[Aq]})}});function TNe(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)&&!bh(f))return;const d=n.program.getTypeChecker();let g;if(ai(f)&&f.name===l){R.assert(qy(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(Bn(f)&&f.operatorToken.kind===103&&f.left===l&&fs(l)){const h=d.getTypeAtLocation(f.right);g=d.getSuggestedSymbolForNonexistentProperty(l,h)}else if(B_(f)&&f.right===l){const h=d.getSymbolAtLocation(f.left);h&&h.flags&1536&&(g=d.getSuggestedSymbolForNonexistentModule(f.right,h))}else if(J_(f)&&f.name===l){R.assertNode(l,He,"Expected an identifier for spelling (import)");const h=mn(l,ju),k=ift(e,n,h);k&&k.symbol&&(g=d.getSuggestedSymbolForNonexistentModule(l,k.symbol))}else if(bh(f)&&f.name===l){R.assertNode(l,He,"Expected an identifier for JSX attribute");const h=mn(l,a_),k=d.getContextualTypeForArgumentAtIndex(h,0);g=d.getSuggestedSymbolForNonexistentJSXAttribute(l,k)}else if(gi(f,16384)&&Mu(f)&&f.name===l){const h=mn(l,Ri),k=h?mh(h):void 0,T=k?d.getTypeAtLocation(k):void 0;T&&(g=d.getSuggestedSymbolForNonexistentClassMember(iu(l),T))}else{const h=_k(l),k=iu(l);R.assert(k!==void 0,"name should be defined"),g=d.getSuggestedSymbolForNonexistentSymbol(l,k,nft(h))}return g===void 0?void 0:{node:l,suggestedSymbol:g}}function SNe(e,t,n,s,l){const f=xl(s);if(!od(f,l)&&ai(n.parent)){const d=s.valueDeclaration;d&&bf(d)&&fs(d.name)?e.replaceNode(t,n,V.createIdentifier(f)):e.replaceNode(t,n.parent,V.createElementAccessExpression(n.parent.expression,V.createStringLiteral(f)))}else e.replaceNode(t,n,V.createIdentifier(f))}function nft(e){let t=0;return e&4&&(t|=1920),e&2&&(t|=788968),e&1&&(t|=111551),t}function ift(e,t,n){if(!n||!Yo(n.moduleSpecifier))return;const s=H6(e,n.moduleSpecifier.text,cm(e,n.moduleSpecifier));if(s)return t.program.getSourceFile(s.resolvedFileName)}var mue,hue,sft=p({"src/services/codefixes/fixSpelling.ts"(){Si(),Ya(),mue="fixSpelling",hue=[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],Ga({errorCodes:hue,getCodeActions(e){const{sourceFile:t,errorCode:n}=e,s=TNe(t,e.span.start,e,n);if(!s)return;const{node:l,suggestedSymbol:f}=s,d=Eo(e.host.getCompilationSettings()),g=jn.ChangeTracker.with(e,h=>SNe(h,t,l,f,d));return[Oa("spelling",g,[v.Change_spelling_to_0,xl(f)],mue,v.Fix_all_detected_spelling_errors)]},fixIds:[mue],getAllCodeActions:e=>Zo(e,hue,(t,n)=>{const s=TNe(n.file,n.start,e,n.code),l=Eo(e.host.getCompilationSettings());s&&SNe(t,e.sourceFile,s.node,s.suggestedSymbol,l)})})}});function xNe(e,t,n){const s=e.createSymbol(4,t.escapedText);s.links.type=e.getTypeAtLocation(n);const l=za([s]);return e.createAnonymousType(void 0,l,[],[],[])}function gue(e,t,n,s){if(!t.body||!Pa(t.body)||G(t.body.statements)!==1)return;const l=Oo(t.body.statements);if(of(l)&&yue(e,t,e.getTypeAtLocation(l.expression),n,s))return{declaration:t,kind:0,expression:l.expression,statement:l,commentSource:l.expression};if(GT(l)&&of(l.statement)){const f=V.createObjectLiteralExpression([V.createPropertyAssignment(l.label,l.statement.expression)]),d=xNe(e,l.label,l.statement.expression);if(yue(e,t,d,n,s))return Dc(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(Pa(l)&&G(l.statements)===1){const f=Oo(l.statements);if(GT(f)&&of(f.statement)){const d=V.createObjectLiteralExpression([V.createPropertyAssignment(f.label,f.statement.expression)]),g=xNe(e,f.label,f.statement.expression);if(yue(e,t,g,n,s))return{declaration:t,kind:0,expression:d,statement:l,commentSource:f}}}}function yue(e,t,n,s,l){if(l){const f=e.getSignatureFromDeclaration(t);if(f){gi(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,za(),[d],[],[])}else n=e.getAnyType()}return e.isTypeAssignableTo(n,s)}function kNe(e,t,n,s){const l=Os(t,n);if(!l.parent)return;const f=mn(l.parent,Lc);switch(s){case v.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value.code:return!f||!f.body||!f.type||!Mp(f.type,l)?void 0:gue(e,f,e.getTypeFromTypeNode(f.type),!1);case v.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!f||!Ra(f.parent)||!f.body)return;const d=f.parent.arguments.indexOf(f),g=e.getContextualTypeForArgumentAtIndex(f.parent,d);return g?gue(e,f,g,!0):void 0;case v.Type_0_is_not_assignable_to_type_1.code:if(!Yy(l)||!e4(l.parent)&&!bh(l.parent))return;const h=aft(l.parent);return!h||!Lc(h)||!h.body?void 0:gue(e,h,e.getTypeAtLocation(l.parent),!0)}}function aft(e){switch(e.kind){case 259:case 168:case 207:case 171:case 302:return e.initializer;case 290:return e.initializer&&(wD(e.initializer)?e.initializer.expression:void 0);case 303:case 170:case 305:case 354:case 347:return}}function CNe(e,t,n,s){cp(n);const l=tL(t);e.replaceNode(t,s,V.createReturnStatement(n),{leadingTriviaOption:jn.LeadingTriviaOption.Exclude,trailingTriviaOption:jn.TrailingTriviaOption.Exclude,suffix:l?";":void 0})}function wNe(e,t,n,s,l,f){const d=f||Noe(s)?V.createParenthesizedExpression(s):s;cp(l),gk(l,d),e.replaceNode(t,n.body,d)}function ENe(e,t,n,s){e.replaceNode(t,n.body,V.createParenthesizedExpression(s))}function oft(e,t,n){const s=jn.ChangeTracker.with(e,l=>CNe(l,e.sourceFile,t,n));return Oa(Pq,s,v.Add_a_return_statement,Dq,v.Add_all_missing_return_statement)}function cft(e,t,n,s){const l=jn.ChangeTracker.with(e,f=>wNe(f,e.sourceFile,t,n,s,!1));return Oa(Pq,l,v.Remove_braces_from_arrow_function_body,Nq,v.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}function lft(e,t,n){const s=jn.ChangeTracker.with(e,l=>ENe(l,e.sourceFile,t,n));return Oa(Pq,s,v.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,Iq,v.Wrap_all_object_literal_with_parentheses)}var Pq,Dq,Nq,Iq,vue,uft=p({"src/services/codefixes/returnValueCorrect.ts"(){Si(),Ya(),Pq="returnValueCorrect",Dq="fixAddReturnStatement",Nq="fixRemoveBracesFromArrowFunctionBody",Iq="fixWrapTheBlockWithParen",vue=[v.A_function_whose_declared_type_is_neither_undefined_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],Ga({errorCodes:vue,fixIds:[Dq,Nq,Iq],getCodeActions:function(t){const{program:n,sourceFile:s,span:{start:l},errorCode:f}=t,d=kNe(n.getTypeChecker(),s,l,f);if(d)return d.kind===0?zr([oft(t,d.expression,d.statement)],Dc(d.declaration)?cft(t,d.declaration,d.expression,d.commentSource):void 0):[lft(t,d.declaration,d.expression)]},getAllCodeActions:e=>Zo(e,vue,(t,n)=>{const s=kNe(e.program.getTypeChecker(),n.file,n.start,n.code);if(s)switch(e.fixId){case Dq:CNe(t,n.file,s.expression,s.statement);break;case Nq:if(!Dc(s.declaration))return;wNe(t,n.file,s.declaration,s.expression,s.commentSource,!1);break;case Iq:if(!Dc(s.declaration))return;ENe(t,n.file,s.declaration,s.expression);break;default:R.fail(JSON.stringify(e.fixId))}})})}});function ANe(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===19&&jo(g)&&Ra(g.parent)))return;const O=ir(g.parent.arguments,H=>H===g);if(O<0)return;const M=s.getResolvedSignature(g.parent);if(!(M&&M.declaration&&M.parameters[O]))return;const U=M.parameters[O].valueDeclaration;if(!(U&&ea(U)&&He(U.name)))return;const B=oo(s.getUnmatchedProperties(s.getTypeAtLocation(g),s.getParameterType(M,O),!1,!1));return G(B)?{kind:3,token:U.name,properties:B,parentDeclaration:g}:void 0}if(!qy(d))return;if(He(d)&&Cv(g)&&g.initializer&&jo(g.initializer)){const O=s.getContextualType(d)||s.getTypeAtLocation(d),M=oo(s.getUnmatchedProperties(s.getTypeAtLocation(g.initializer),O,!1,!1));return G(M)?{kind:3,token:d,properties:M,parentDeclaration:g.initializer}:void 0}if(He(d)&&a_(d.parent)){const O=Eo(l.getCompilerOptions()),M=gft(s,O,d.parent);return G(M)?{kind:4,token:d,attributes:M,parentDeclaration:d.parent}:void 0}if(He(d)){const O=(f=s.getContextualType(d))==null?void 0:f.getNonNullableType();if(O&&vi(O)&16){const M=Hu(s.getSignaturesOfType(O,0));return M===void 0?void 0:{kind:5,token:d,signature:M,sourceFile:e,parentDeclaration:jNe(d)}}if(Ra(g)&&g.expression===d)return{kind:2,token:d,call:g,sourceFile:e,modifierFlags:0,parentDeclaration:jNe(d)}}if(!ai(g))return;const h=moe(s.getTypeAtLocation(g.expression)),k=h.symbol;if(!k||!k.declarations)return;if(He(d)&&Ra(g.parent)){const O=Ve(k.declarations,Al),M=O==null?void 0:O.getSourceFile();if(O&&M&&!_8(l,M))return{kind:2,token:d,call:g.parent,sourceFile:e,modifierFlags:1,parentDeclaration:O};const U=Ve(k.declarations,Cs);if(e.commonJsModuleIndicator)return;if(U&&!_8(l,U))return{kind:2,token:d,call:g.parent,sourceFile:U,modifierFlags:1,parentDeclaration:U}}const T=Ve(k.declarations,Ri);if(!T&&fs(d))return;const C=T||Ve(k.declarations,O=>Xf(O)||Ip(O));if(C&&!_8(l,C.getSourceFile())){const O=!Ip(C)&&(h.target||h)!==s.getDeclaredTypeOfSymbol(k);if(O&&(fs(d)||Xf(C)))return;const M=C.getSourceFile(),U=Ip(C)?0:(O?32:0)|(Uoe(d.text)?8:0),B=qf(M),H=wi(g.parent,Ra);return{kind:0,token:d,call:H,modifierFlags:U,parentDeclaration:C,declSourceFile:M,isJSFile:B}}const D=Ve(k.declarations,s2);if(D&&!(h.flags&1056)&&!fs(d)&&!_8(l,D.getSourceFile()))return{kind:1,token:d,parentDeclaration:D}}function fft(e,t){return t.isJSFile?yx(_ft(e,t)):pft(e,t)}function _ft(e,{parentDeclaration:t,declSourceFile:n,modifierFlags:s,token:l}){if(Xf(t)||Ip(t))return;const f=jn.ChangeTracker.with(e,g=>PNe(g,n,t,l,!!(s&32)));if(f.length===0)return;const d=s&32?v.Initialize_static_property_0:fs(l)?v.Declare_a_private_field_named_0:v.Initialize_property_0_in_the_constructor;return Oa(S1,f,[d,l.text],S1,v.Add_all_missing_members)}function PNe(e,t,n,s,l){const f=s.text;if(l){if(n.kind===230)return;const d=n.name.getText(),g=DNe(V.createIdentifier(d),f);e.insertNodeAfter(t,n,g)}else if(fs(s)){const d=V.createPropertyDeclaration(void 0,f,void 0,void 0,void 0),g=ONe(n);g?e.insertNodeAfter(t,g,d):e.insertMemberAtStart(t,n,d)}else{const d=Yg(n);if(!d)return;const g=DNe(V.createThis(),f);e.insertNodeAtConstructorEnd(t,d,g)}}function DNe(e,t){return V.createExpressionStatement(V.createAssignment(V.createPropertyAccessExpression(e,t),Sk()))}function pft(e,{parentDeclaration:t,declSourceFile:n,modifierFlags:s,token:l}){const f=l.text,d=s&32,g=NNe(e.program.getTypeChecker(),t,l),h=T=>jn.ChangeTracker.with(e,C=>INe(C,n,t,f,g,T)),k=[Oa(S1,h(s&32),[d?v.Declare_static_property_0:v.Declare_property_0,f],S1,v.Add_all_missing_members)];return d||fs(l)||(s&8&&k.unshift(jm(S1,h(8),[v.Declare_private_property_0,f])),k.push(dft(e,n,t,l.text,g))),k}function NNe(e,t,n){let s;if(n.parent.parent.kind===225){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||V.createKeywordTypeNode(133)}function INe(e,t,n,s,l,f){const d=f?V.createNodeArray(V.createModifiersFromModifierFlags(f)):void 0,g=Ri(n)?V.createPropertyDeclaration(d,s,void 0,l,void 0):V.createPropertySignature(void 0,s,void 0,l),h=ONe(n);h?e.insertNodeAfter(t,h,g):e.insertMemberAtStart(t,n,g)}function ONe(e){let t;for(const n of e.members){if(!Ia(n))break;t=n}return t}function dft(e,t,n,s,l){const f=V.createKeywordTypeNode(154),d=V.createParameterDeclaration(void 0,void 0,"x",void 0,f,void 0),g=V.createIndexSignature(void 0,[d],l),h=jn.ChangeTracker.with(e,k=>k.insertMemberAtStart(t,n,g));return jm(S1,h,[v.Add_index_signature_for_property_0,s])}function mft(e,t){const{parentDeclaration:n,declSourceFile:s,modifierFlags:l,token:f,call:d}=t;if(d===void 0||fs(f))return;const g=f.text,h=T=>jn.ChangeTracker.with(e,C=>LNe(e,C,d,f,T,n,s)),k=[Oa(S1,h(l&32),[l&32?v.Declare_static_method_0:v.Declare_method_0,g],S1,v.Add_all_missing_members)];return l&8&&k.unshift(jm(S1,h(8),[v.Declare_private_method_0,g])),k}function LNe(e,t,n,s,l,f,d){const g=Tk(d,e.program,e.preferences,e.host),h=Ri(f)?173:172,k=rfe(h,e,g,n,s,l,f),T=yft(f,n);T?t.insertNodeAfter(d,T,k):t.insertMemberAtStart(d,f,k),g.writeFixes(t)}function MNe(e,t,{token:n,parentDeclaration:s}){const l=Ne(s.members,d=>{const g=t.getTypeAtLocation(d);return!!(g&&g.flags&402653316)}),f=V.createEnumMember(n,l?V.createStringLiteral(n.text):void 0);e.replaceNode(s.getSourceFile(),s,V.updateEnumDeclaration(s,s.modifiers,s.name,wr(s.members,yx(f))),{leadingTriviaOption:jn.LeadingTriviaOption.IncludeAll,trailingTriviaOption:jn.TrailingTriviaOption.Exclude})}function FNe(e,t,n){const s=gd(t.sourceFile,t.preferences),l=Tk(t.sourceFile,t.program,t.preferences,t.host),f=n.kind===2?rfe(261,t,l,n.call,Zn(n.token),n.modifierFlags,n.parentDeclaration):iW(261,t,s,n.signature,ML(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."),Lm(n.parentDeclaration)?e.insertNodeBefore(n.sourceFile,n.parentDeclaration,f,!0):e.insertNodeAtEndOfScope(n.sourceFile,n.parentDeclaration,f),l.writeFixes(e)}function RNe(e,t,n){const s=Tk(t.sourceFile,t.program,t.preferences,t.host),l=gd(t.sourceFile,t.preferences),f=t.program.getTypeChecker(),d=n.parentDeclaration.attributes,g=Ne(d.properties,Bw),h=qt(n.attributes,C=>{const D=Oq(t,f,s,l,f.getTypeOfSymbol(C),n.parentDeclaration),O=V.createIdentifier(C.name),M=V.createJsxAttribute(O,V.createJsxExpression(void 0,D));return ko(O,M),M}),k=V.createJsxAttributes(g?[...h,...d.properties]:[...d.properties,...h]),T={prefix:d.pos===d.end?" ":void 0};e.replaceNode(t.sourceFile,d,k,T),s.writeFixes(e)}function BNe(e,t,n){const s=Tk(t.sourceFile,t.program,t.preferences,t.host),l=gd(t.sourceFile,t.preferences),f=Eo(t.program.getCompilerOptions()),d=t.program.getTypeChecker(),g=qt(n.properties,k=>{const T=Oq(t,d,s,l,d.getTypeOfSymbol(k),n.parentDeclaration);return V.createPropertyAssignment(vft(k,f,l,d),T)}),h={leadingTriviaOption:jn.LeadingTriviaOption.Exclude,trailingTriviaOption:jn.TrailingTriviaOption.Exclude,indentation:n.indentation};e.replaceNode(t.sourceFile,n.parentDeclaration,V.createObjectLiteralExpression([...n.parentDeclaration.properties,...g],!0),h),s.writeFixes(e)}function Oq(e,t,n,s,l,f){if(l.flags&3)return Sk();if(l.flags&134217732)return V.createStringLiteral("",s===0);if(l.flags&8)return V.createNumericLiteral(0);if(l.flags&64)return V.createBigIntLiteral("0n");if(l.flags&16)return V.createFalse();if(l.flags&1056){const d=l.symbol.exports?cB(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?V.createNumericLiteral(0):V.createPropertyAccessExpression(g,t.symbolToString(d))}if(l.flags&256)return V.createNumericLiteral(l.value);if(l.flags&2048)return V.createBigIntLiteral(l.value);if(l.flags&128)return V.createStringLiteral(l.value,s===0);if(l.flags&512)return l===t.getFalseType()||l===t.getFalseType(!0)?V.createFalse():V.createTrue();if(l.flags&65536)return V.createNull();if(l.flags&1048576)return $e(l.types,g=>Oq(e,t,n,s,g,f))??Sk();if(t.isArrayLikeType(l))return V.createArrayLiteralExpression();if(hft(l)){const d=qt(t.getPropertiesOfType(l),g=>{const h=Oq(e,t,n,s,t.getTypeOfSymbol(g),f);return V.createPropertyAssignment(g.name,h)});return V.createObjectLiteralExpression(d,!0)}if(vi(l)&16){if(Ve(l.symbol.declarations||ft,Wh(ry,ty,ql))===void 0)return Sk();const g=t.getSignaturesOfType(l,0);return g===void 0?Sk():iW(217,e,s,g[0],ML(v.Function_not_implemented.message,s),void 0,void 0,void 0,f,n)??Sk()}if(vi(l)&1){const d=Ky(l.symbol);if(d===void 0||UT(d))return Sk();const g=Yg(d);return g&&G(g.parameters)?Sk():V.createNewExpression(V.createIdentifier(l.symbol.name),void 0,void 0)}return Sk()}function Sk(){return V.createIdentifier("undefined")}function hft(e){return e.flags&524288&&(vi(e)&128||e.symbol&&wi($h(e.symbol.declarations),Ip))}function gft(e,t,n){const s=e.getContextualType(n.attributes);if(s===void 0)return ft;const l=s.getProperties();if(!G(l))return ft;const f=new Set;for(const d of n.attributes.properties)if(bh(d)&&f.add(cD(d.name)),Bw(d)){const g=e.getTypeAtLocation(d.expression);for(const h of g.getProperties())f.add(h.escapedName)}return gr(l,d=>od(d.name,t,1)&&!(d.flags&16777216||ml(d)&48||f.has(d.escapedName)))}function yft(e,t){if(Ip(e))return;const n=mn(t,s=>ql(s)||El(s));return n&&n.parent===e?n:void 0}function vft(e,t,n,s){if(Yh(e)){const l=s.symbolToNode(e,111551,void 0,1073741824);if(l&&Ho(l))return l}return wJ(e.name,t,n===0)}function jNe(e){if(mn(e,wD)){const t=mn(e.parent,Lm);if(t)return t}return pn(e)}var S1,PL,DL,NL,bue,bft=p({"src/services/codefixes/fixAddMissingMember.ts"(){Si(),Ya(),S1="fixMissingMember",PL="fixMissingProperties",DL="fixMissingAttributes",NL="fixMissingFunctionDeclaration",bue=[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],Ga({errorCodes:bue,getCodeActions(e){const t=e.program.getTypeChecker(),n=ANe(e.sourceFile,e.span.start,e.errorCode,t,e.program);if(n){if(n.kind===3){const s=jn.ChangeTracker.with(e,l=>BNe(l,e,n));return[Oa(PL,s,v.Add_missing_properties,PL,v.Add_all_missing_properties)]}if(n.kind===4){const s=jn.ChangeTracker.with(e,l=>RNe(l,e,n));return[Oa(DL,s,v.Add_missing_attributes,DL,v.Add_all_missing_attributes)]}if(n.kind===2||n.kind===5){const s=jn.ChangeTracker.with(e,l=>FNe(l,e,n));return[Oa(NL,s,[v.Add_missing_function_declaration_0,n.token.text],NL,v.Add_all_missing_function_declarations)]}if(n.kind===1){const s=jn.ChangeTracker.with(e,l=>MNe(l,e.program.getTypeChecker(),n));return[Oa(S1,s,[v.Add_missing_enum_member_0,n.token.text],S1,v.Add_all_missing_members)]}return wr(mft(e,n),fft(e,n))}},fixIds:[S1,NL,PL,DL],getAllCodeActions:e=>{const{program:t,fixId:n}=e,s=t.getTypeChecker(),l=new Map,f=new Map;return aE(jn.ChangeTracker.with(e,d=>{oE(e,bue,g=>{const h=ANe(g.file,g.start,g.code,s,e.program);if(!(!h||!Dm(l,Jo(h.parentDeclaration)+"#"+h.token.text))){if(n===NL&&(h.kind===2||h.kind===5))FNe(d,e,h);else if(n===PL&&h.kind===3)BNe(d,e,h);else if(n===DL&&h.kind===4)RNe(d,e,h);else if(h.kind===1&&MNe(d,s,h),h.kind===0){const{parentDeclaration:k,token:T}=h,C=ni(f,k,()=>[]);C.some(D=>D.token.text===T.text)||C.push(h)}}}),f.forEach((g,h)=>{const k=Ip(h)?void 0:ufe(h,s);for(const T of g){if(k!=null&&k.some(H=>{const Y=f.get(H);return!!Y&&Y.some(({token:Z})=>Z.text===T.token.text)}))continue;const{parentDeclaration:C,declSourceFile:D,modifierFlags:O,token:M,call:U,isJSFile:B}=T;if(U&&!fs(M))LNe(e,d,U,M,O&32,C,D);else if(B&&!Xf(C)&&!Ip(C))PNe(d,D,C,M,!!(O&32));else{const H=NNe(s,C,M);INe(d,D,C,M.text,H,O&32)}}})}))}})}});function JNe(e,t,n){const s=Ua(Tft(t,n),Ra),l=V.createNewExpression(s.expression,s.typeArguments,s.arguments);e.replaceNode(t,s,l)}function Tft(e,t){let n=Os(e,t.start);const s=af(t);for(;n.end<s;)n=n.parent;return n}var Lq,Tue,Sft=p({"src/services/codefixes/fixAddMissingNewOperator.ts"(){Si(),Ya(),Lq="addMissingNewOperator",Tue=[v.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new.code],Ga({errorCodes:Tue,getCodeActions(e){const{sourceFile:t,span:n}=e,s=jn.ChangeTracker.with(e,l=>JNe(l,t,n));return[Oa(Lq,s,v.Add_missing_new_operator_to_call,Lq,v.Add_missing_new_operator_to_all_calls)]},fixIds:[Lq],getAllCodeActions:e=>Zo(e,Tue,(t,n)=>JNe(t,e.sourceFile,n))})}});function UNe(e,t){return{type:"install package",file:e,packageName:t}}function zNe(e,t){const n=wi(Os(e,t),yo);if(!n)return;const s=n.text,{packageName:l}=aie(s);return Lu(l)?void 0:l}function VNe(e,t,n){var s;return n===Sue?fk.nodeCoreModules.has(e)?"@types/node":void 0:(s=t.isKnownTypesPackageName)!=null&&s.call(t,e)?cz(e):void 0}var $Ne,Mq,Sue,xue,xft=p({"src/services/codefixes/fixCannotFindModule.ts"(){Si(),Ya(),$Ne="fixCannotFindModule",Mq="installTypesPackage",Sue=v.Cannot_find_module_0_or_its_corresponding_type_declarations.code,xue=[Sue,v.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code],Ga({errorCodes:xue,getCodeActions:function(t){const{host:n,sourceFile:s,span:{start:l}}=t,f=zNe(s,l);if(f===void 0)return;const d=VNe(f,n,t.errorCode);return d===void 0?[]:[Oa($Ne,[],[v.Install_0,d],Mq,v.Install_all_missing_types_packages,UNe(s.fileName,d))]},fixIds:[Mq],getAllCodeActions:e=>Zo(e,xue,(t,n,s)=>{const l=zNe(n.file,n.start);if(l!==void 0)switch(e.fixId){case Mq:{const f=VNe(l,e.host,n.code);f&&s.push(UNe(n.file.fileName,f));break}default:R.fail(`Bad fixId: ${e.fixId}`)}})})}});function qNe(e,t){const n=Os(e,t);return Ua(n.parent,Ri)}function WNe(e,t,n,s,l){const f=mh(e),d=n.program.getTypeChecker(),g=d.getTypeAtLocation(f),h=d.getPropertiesOfType(g).filter(kft),k=Tk(t,n.program,l,n.host);tfe(e,h,t,n,l,k,T=>s.insertMemberAtStart(t,e,T)),k.writeFixes(s)}function kft(e){const t=Pv(Oo(e.getDeclarations()));return!(t&8)&&!!(t&256)}var kue,Fq,Cft=p({"src/services/codefixes/fixClassDoesntImplementInheritedAbstractMember.ts"(){Si(),Ya(),kue=[v.Non_abstract_class_0_does_not_implement_all_abstract_members_of_1.code],Fq="fixClassDoesntImplementInheritedAbstractMember",Ga({errorCodes:kue,getCodeActions:function(t){const{sourceFile:n,span:s}=t,l=jn.ChangeTracker.with(t,f=>WNe(qNe(n,s.start),n,t,f,t.preferences));return l.length===0?void 0:[Oa(Fq,l,v.Implement_inherited_abstract_class,Fq,v.Implement_all_inherited_abstract_classes)]},fixIds:[Fq],getAllCodeActions:function(t){const n=new Map;return Zo(t,kue,(s,l)=>{const f=qNe(l.file,l.start);Dm(n,Jo(f))&&WNe(f,t.sourceFile,t,s,t.preferences)})}})}});function HNe(e,t,n,s){e.insertNodeAtConstructorStart(t,n,s),e.delete(t,s)}function GNe(e,t){const n=Os(e,t);if(n.kind!==110)return;const s=Wp(n),l=XNe(s.body);return l&&!l.expression.arguments.some(f=>ai(f)&&f.expression===n)?{constructor:s,superCall:l}:void 0}function XNe(e){return of(e)&&Z6(e.expression)?e:Sa(e)?void 0:_a(e,XNe)}var Rq,Cue,wft=p({"src/services/codefixes/fixClassSuperMustPrecedeThisAccess.ts"(){Si(),Ya(),Rq="classSuperMustPrecedeThisAccess",Cue=[v.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code],Ga({errorCodes:Cue,getCodeActions(e){const{sourceFile:t,span:n}=e,s=GNe(t,n.start);if(!s)return;const{constructor:l,superCall:f}=s,d=jn.ChangeTracker.with(e,g=>HNe(g,t,l,f));return[Oa(Rq,d,v.Make_super_call_the_first_statement_in_the_constructor,Rq,v.Make_all_super_calls_the_first_statement_in_their_constructor)]},fixIds:[Rq],getAllCodeActions(e){const{sourceFile:t}=e,n=new Map;return Zo(e,Cue,(s,l)=>{const f=GNe(l.file,l.start);if(!f)return;const{constructor:d,superCall:g}=f;Dm(n,Jo(d.parent))&&HNe(s,t,d,g)})}})}});function QNe(e,t){const n=Os(e,t);return R.assert(El(n.parent),"token should be at the constructor declaration"),n.parent}function YNe(e,t,n){const s=V.createExpressionStatement(V.createCallExpression(V.createSuper(),void 0,ft));e.insertNodeAtConstructorStart(t,n,s)}var Bq,wue,Eft=p({"src/services/codefixes/fixConstructorForDerivedNeedSuperCall.ts"(){Si(),Ya(),Bq="constructorForDerivedNeedSuperCall",wue=[v.Constructors_for_derived_classes_must_contain_a_super_call.code],Ga({errorCodes:wue,getCodeActions(e){const{sourceFile:t,span:n}=e,s=QNe(t,n.start),l=jn.ChangeTracker.with(e,f=>YNe(f,t,s));return[Oa(Bq,l,v.Add_missing_super_call,Bq,v.Add_all_missing_super_calls)]},fixIds:[Bq],getAllCodeActions:e=>Zo(e,wue,(t,n)=>YNe(t,e.sourceFile,QNe(n.file,n.start)))})}});function ZNe(e,t){afe(e,t,"jsx",V.createStringLiteral("react"))}var Eue,Aue,Aft=p({"src/services/codefixes/fixEnableJsxFlag.ts"(){Si(),Ya(),Eue="fixEnableJsxFlag",Aue=[v.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code],Ga({errorCodes:Aue,getCodeActions:function(t){const{configFile:n}=t.program.getCompilerOptions();if(n===void 0)return;const s=jn.ChangeTracker.with(t,l=>ZNe(l,n));return[jm(Eue,s,v.Enable_the_jsx_flag_in_your_configuration_file)]},fixIds:[Eue],getAllCodeActions:e=>Zo(e,Aue,t=>{const{configFile:n}=e.program.getCompilerOptions();n!==void 0&&ZNe(t,n)})})}});function KNe(e,t,n){const s=Ve(e.getSemanticDiagnostics(t),d=>d.start===n.start&&d.length===n.length);if(s===void 0||s.relatedInformation===void 0)return;const l=Ve(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=cfe(l.file,yu(l.start,l.length));if(f!==void 0&&Ct(f)&&Bn(f.parent))return{suggestion:Pft(l.messageText),expression:f.parent,arg:f}}function e7e(e,t,n,s){const l=V.createCallExpression(V.createPropertyAccessExpression(V.createIdentifier("Number"),V.createIdentifier("isNaN")),void 0,[n]),f=s.operatorToken.kind;e.replaceNode(t,s,f===38||f===36?V.createPrefixUnaryExpression(54,l):l)}function Pft(e){const[t,n]=jv(e,`
`,0).match(/\'(.*)\'/)||[];return n}var jq,Pue,Dft=p({"src/services/codefixes/fixNaNEquality.ts"(){Si(),Ya(),jq="fixNaNEquality",Pue=[v.This_condition_will_always_return_0.code],Ga({errorCodes:Pue,getCodeActions(e){const{sourceFile:t,span:n,program:s}=e,l=KNe(s,t,n);if(l===void 0)return;const{suggestion:f,expression:d,arg:g}=l,h=jn.ChangeTracker.with(e,k=>e7e(k,t,g,d));return[Oa(jq,h,[v.Use_0,f],jq,v.Use_Number_isNaN_in_all_conditions)]},fixIds:[jq],getAllCodeActions:e=>Zo(e,Pue,(t,n)=>{const s=KNe(e.program,n.file,yu(n.start,n.length));s&&e7e(t,n.file,s.arg,s.expression)})})}}),Nft=p({"src/services/codefixes/fixModuleAndTargetOptions.ts"(){Si(),Ya(),Ga({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=Zu(n);if(f>=5&&f<99){const k=jn.ChangeTracker.with(t,T=>{afe(T,s,"module",V.createStringLiteral("esnext"))});l.push(jm("fixModuleOption",k,[v.Set_the_module_option_in_your_configuration_file_to_0,"esnext"]))}const g=Eo(n);if(g<4||g>99){const k=jn.ChangeTracker.with(t,T=>{if(!wP(s))return;const D=[["target",V.createStringLiteral("es2017")]];f===1&&D.push(["module",V.createStringLiteral("commonjs")]),sfe(T,s,D)});l.push(jm("fixTargetOption",k,[v.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return l.length?l:void 0}})}});function t7e(e,t,n){e.replaceNode(t,n,V.createPropertyAssignment(n.name,n.objectAssignmentInitializer))}function r7e(e,t){return Ua(Os(e,t).parent,hd)}var Jq,Due,Ift=p({"src/services/codefixes/fixPropertyAssignment.ts"(){Si(),Ya(),Jq="fixPropertyAssignment",Due=[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],Ga({errorCodes:Due,fixIds:[Jq],getCodeActions(e){const{sourceFile:t,span:n}=e,s=r7e(t,n.start),l=jn.ChangeTracker.with(e,f=>t7e(f,e.sourceFile,s));return[Oa(Jq,l,[v.Change_0_to_1,"=",":"],Jq,[v.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:e=>Zo(e,Due,(t,n)=>t7e(t,n.file,r7e(n.file,n.start)))})}});function n7e(e,t){const n=Os(e,t),s=_u(n).heritageClauses,l=s[0].getFirstToken();return l.kind===96?{extendsToken:l,heritageClauses:s}:void 0}function i7e(e,t,n,s){if(e.replaceNode(t,n,V.createToken(119)),s.length===2&&s[0].token===96&&s[1].token===119){const l=s[1].getFirstToken(),f=l.getFullStart();e.replaceRange(t,{pos:f,end:f},V.createToken(28));const d=t.text;let g=l.end;for(;g<d.length&&_h(d.charCodeAt(g));)g++;e.deleteRange(t,{pos:l.getStart(),end:g})}}var Uq,Nue,Oft=p({"src/services/codefixes/fixExtendsInterfaceBecomesImplements.ts"(){Si(),Ya(),Uq="extendsInterfaceBecomesImplements",Nue=[v.Cannot_extend_an_interface_0_Did_you_mean_implements.code],Ga({errorCodes:Nue,getCodeActions(e){const{sourceFile:t}=e,n=n7e(t,e.span.start);if(!n)return;const{extendsToken:s,heritageClauses:l}=n,f=jn.ChangeTracker.with(e,d=>i7e(d,t,s,l));return[Oa(Uq,f,v.Change_extends_to_implements,Uq,v.Change_all_extended_interfaces_to_implements)]},fixIds:[Uq],getAllCodeActions:e=>Zo(e,Nue,(t,n)=>{const s=n7e(n.file,n.start);s&&i7e(t,n.file,s.extendsToken,s.heritageClauses)})})}});function s7e(e,t,n){const s=Os(e,t);if(He(s)||fs(s))return{node:s,className:n===Iue?_u(s).name.text:void 0}}function a7e(e,t,{node:n,className:s}){cp(n),e.replaceNode(t,n,V.createPropertyAccessExpression(s?V.createIdentifier(s):V.createThis(),n))}var zq,Iue,Oue,Lft=p({"src/services/codefixes/fixForgottenThisPropertyAccess.ts"(){Si(),Ya(),zq="forgottenThisPropertyAccess",Iue=v.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,Oue=[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,Iue],Ga({errorCodes:Oue,getCodeActions(e){const{sourceFile:t}=e,n=s7e(t,e.span.start,e.errorCode);if(!n)return;const s=jn.ChangeTracker.with(e,l=>a7e(l,t,n));return[Oa(zq,s,[v.Add_0_to_unresolved_variable,n.className||"this"],zq,v.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]},fixIds:[zq],getAllCodeActions:e=>Zo(e,Oue,(t,n)=>{const s=s7e(n.file,n.start,n.code);s&&a7e(t,e.sourceFile,s)})})}});function Mft(e){return uc(Fue,e)}function Lue(e,t,n,s,l){const f=n.getText()[s];if(!Mft(f))return;const d=l?Fue[f]:`{${l8(n,t,f)}}`;e.replaceRangeWithText(n,{pos:s,end:s+1},d)}var Vq,IL,Mue,Fue,Fft=p({"src/services/codefixes/fixInvalidJsxCharacters.ts"(){Si(),Ya(),Vq="fixInvalidJsxCharacters_expression",IL="fixInvalidJsxCharacters_htmlEntity",Mue=[v.Unexpected_token_Did_you_mean_or_gt.code,v.Unexpected_token_Did_you_mean_or_rbrace.code],Ga({errorCodes:Mue,fixIds:[Vq,IL],getCodeActions(e){const{sourceFile:t,preferences:n,span:s}=e,l=jn.ChangeTracker.with(e,d=>Lue(d,n,t,s.start,!1)),f=jn.ChangeTracker.with(e,d=>Lue(d,n,t,s.start,!0));return[Oa(Vq,l,v.Wrap_invalid_character_in_an_expression_container,Vq,v.Wrap_all_invalid_characters_in_an_expression_container),Oa(IL,f,v.Convert_invalid_character_to_its_html_entity_code,IL,v.Convert_all_invalid_characters_to_HTML_entity_code)]},getAllCodeActions(e){return Zo(e,Mue,(t,n)=>Lue(t,e.preferences,n.file,n.start,e.fixId===IL))}}),Fue={">":"&gt;","}":"&rbrace;"}}});function Rft(e,{name:t,jsDocHost:n,jsDocParameterTag:s}){const l=jn.ChangeTracker.with(e,f=>f.filterJSDocTags(e.sourceFile,n,d=>d!==s));return Oa(OL,l,[v.Delete_unused_param_tag_0,t.getText(e.sourceFile)],OL,v.Delete_all_unused_param_tags)}function Bft(e,{name:t,jsDocHost:n,signature:s,jsDocParameterTag:l}){if(!G(s.parameters))return;const f=e.sourceFile,d=CT(s),g=new Set;for(const C of d)Fm(C)&&He(C.name)&&g.add(C.name.escapedText);const h=$e(s.parameters,C=>He(C.name)&&!g.has(C.name.escapedText)?C.name.getText(f):void 0);if(h===void 0)return;const k=V.updateJSDocParameterTag(l,l.tagName,V.createIdentifier(h),l.isBracketed,l.typeExpression,l.isNameFirst,l.comment),T=jn.ChangeTracker.with(e,C=>C.replaceJSDocComment(f,n,qt(d,D=>D===l?k:D)));return jm(Rue,T,[v.Rename_param_tag_name_0_to_1,t.getText(f),h])}function o7e(e,t){const n=Os(e,t);if(n.parent&&Fm(n.parent)&&He(n.parent.name)){const s=n.parent,l=uw(s),f=Qb(s);if(l&&f)return{jsDocHost:l,signature:f,name:n.parent.name,jsDocParameterTag:s}}}var OL,Rue,Bue,jft=p({"src/services/codefixes/fixUnmatchedParameter.ts"(){Si(),Ya(),OL="deleteUnmatchedParameter",Rue="renameUnmatchedParameter",Bue=[v.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code],Ga({fixIds:[OL,Rue],errorCodes:Bue,getCodeActions:function(t){const{sourceFile:n,span:s}=t,l=[],f=o7e(n,s.start);if(f)return zr(l,Rft(t,f)),zr(l,Bft(t,f)),l},getAllCodeActions:function(t){const n=new Map;return aE(jn.ChangeTracker.with(t,s=>{oE(t,Bue,({file:l,start:f})=>{const d=o7e(l,f);d&&n.set(d.signature,zr(n.get(d.signature),d.jsDocParameterTag))}),n.forEach((l,f)=>{if(t.fixId===OL){const d=new Set(l);s.filterJSDocTags(f.getSourceFile(),f,g=>!d.has(g))}})}))}})}});function Jft(e,t,n){const s=wi(Os(e,n),He);if(!s||s.parent.kind!==182)return;const f=t.getTypeChecker().getSymbolAtLocation(s);return Ve((f==null?void 0:f.declarations)||ft,Wh(ug,J_,cf))}function Uft(e,t,n,s){if(n.kind===270){e.insertModifierBefore(t,156,n.name);return}const l=n.kind===272?n:n.parent.parent;if(l.name&&l.namedBindings)return;const f=s.getTypeChecker();qj(l,g=>{if(F_(g.symbol,f).flags&111551)return!0})||e.insertModifierBefore(t,156,l)}function zft(e,t,n,s){C8.doChangeNamedToNamespaceOrDefault(t,s,e,n.parent)}var $q,c7e,Vft=p({"src/services/codefixes/fixUnreferenceableDecoratorMetadata.ts"(){Si(),Ya(),$q="fixUnreferenceableDecoratorMetadata",c7e=[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],Ga({errorCodes:c7e,getCodeActions:e=>{const t=Jft(e.sourceFile,e.program,e.span.start);if(!t)return;const n=jn.ChangeTracker.with(e,f=>t.kind===275&&zft(f,e.sourceFile,t,e.program)),s=jn.ChangeTracker.with(e,f=>Uft(f,e.sourceFile,t,e.program));let l;return n.length&&(l=zr(l,jm($q,n,v.Convert_named_imports_to_namespace_import))),s.length&&(l=zr(l,jm($q,s,v.Convert_to_type_only_import))),l},fixIds:[$q]})}});function l7e(e,t,n){e.replaceNode(t,n.parent,V.createKeywordTypeNode(159))}function N8(e,t){return Oa(I8,e,t,Hq,v.Delete_all_unused_declarations)}function u7e(e,t,n){e.delete(t,R.checkDefined(Ua(n.parent,xee).typeParameters,"The type parameter to delete should exist"))}function jue(e){return e.kind===102||e.kind===80&&(e.parent.kind===275||e.parent.kind===272)}function f7e(e){return e.kind===102?wi(e.parent,ju):void 0}function _7e(e,t){return Tu(t.parent)&&Oo(t.parent.getChildren(e))===t}function p7e(e,t,n){e.delete(t,n.parent.kind===242?n.parent:n)}function $ft(e,t,n){te(n.elements,s=>e.delete(t,s))}function qft(e,t,n,{parent:s}){if(bs(s)&&s.initializer&&Ex(s.initializer))if(Tu(s.parent)&&G(s.parent.declarations)>1){const l=s.parent.parent,f=l.getStart(n),d=l.end;t.delete(n,s),t.insertNodeAt(n,d,s.initializer,{prefix:zv(e.host,e.formatContext.options)+n.text.slice(NV(n.text,f-1),f),suffix:tL(n)?";":""})}else t.replaceNode(n,s.parent,s.initializer);else t.delete(n,s)}function d7e(e,t,n,s){t!==v.Property_0_is_declared_but_its_value_is_never_read.code&&(s.kind===140&&(s=Ua(s.parent,Pw).typeParameter.name),He(s)&&Wft(s)&&(e.replaceNode(n,s,V.createIdentifier(`_${s.text}`)),ea(s.parent)&&R6(s.parent).forEach(l=>{He(l.name)&&e.replaceNode(n,l.name,V.createIdentifier(`_${l.name.text}`))})))}function Wft(e){switch(e.parent.kind){case 168:case 167:return!0;case 259:switch(e.parent.parent.parent.kind){case 249:case 248:return!0}}return!1}function qq(e,t,n,s,l,f,d,g){Hft(t,n,e,s,l,f,d,g),He(t)&&Wc.Core.eachSymbolReferenceInFile(t,s,e,h=>{ai(h.parent)&&h.parent.name===h&&(h=h.parent),!g&&Yft(h)&&n.delete(e,h.parent.parent)})}function Hft(e,t,n,s,l,f,d,g){const{parent:h}=e;if(ea(h))Gft(t,n,h,s,l,f,d,g);else if(!(g&&He(e)&&Wc.Core.isSymbolReferencedInFile(e,s,n))){const k=ug(h)?e:Ho(h)?h.parent:h;R.assert(k!==n,"should not delete whole source file"),t.delete(n,k)}}function Gft(e,t,n,s,l,f,d,g=!1){if(Xft(s,t,n,l,f,d,g))if(n.modifiers&&n.modifiers.length>0&&(!He(n.name)||Wc.Core.isSymbolReferencedInFile(n.name,s,t)))for(const h of n.modifiers)Ha(h)&&e.deleteModifier(t,h);else!n.initializer&&m7e(n,s,l)&&e.delete(t,n)}function m7e(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 Xft(e,t,n,s,l,f,d){const{parent:g}=n;switch(g.kind){case 173:case 175:const h=g.parameters.indexOf(n),k=ql(g)?g.name:g,T=Wc.Core.getReferencedSymbolsForNode(g.pos,k,l,s,f);if(T){for(const C of T)for(const D of C.references)if(D.kind===Wc.EntryKind.Node){const O=hD(D.node)&&Ra(D.node.parent)&&D.node.parent.arguments.length>h,M=ai(D.node.parent)&&hD(D.node.parent.expression)&&Ra(D.node.parent.parent)&&D.node.parent.parent.arguments.length>h,U=(ql(D.node.parent)||ty(D.node.parent))&&D.node.parent!==n.parent&&D.node.parent.parameters.length>h;if(O||M||U)return!1}}return!0;case 261:return g.name&&Qft(e,t,g.name)?h7e(g,n,d):!0;case 217:case 218:return h7e(g,n,d);case 177:return!1;case 176:return!0;default:return R.failBadSyntaxKind(g)}}function Qft(e,t,n){return!!Wc.Core.eachSymbolReferenceInFile(n,e,t,s=>He(s)&&Ra(s.parent)&&s.parent.arguments.indexOf(s)>=0)}function h7e(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=>He(f.name)&&!f.symbol.isReferenced):l===s.length-1}function Yft(e){return(Bn(e.parent)&&e.parent.left===e||(Jre(e.parent)||i2(e.parent))&&e.parent.operand===e)&&of(e.parent.parent)}var I8,Wq,Hq,LL,Gq,Jue,Zft=p({"src/services/codefixes/fixUnusedIdentifier.ts"(){Si(),Ya(),I8="unusedIdentifier",Wq="unusedIdentifier_prefix",Hq="unusedIdentifier_delete",LL="unusedIdentifier_deleteImports",Gq="unusedIdentifier_infer",Jue=[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],Ga({errorCodes:Jue,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(Rm(g))return[N8(jn.ChangeTracker.with(e,C=>C.delete(n,g)),v.Remove_template_tag)];if(g.kind===30){const C=jn.ChangeTracker.with(e,D=>u7e(D,n,g));return[N8(C,v.Remove_type_parameters)]}const h=f7e(g);if(h){const C=jn.ChangeTracker.with(e,D=>D.delete(n,h));return[Oa(I8,C,[v.Remove_import_from_0,vSe(h)],LL,v.Delete_all_unused_imports)]}else if(jue(g)){const C=jn.ChangeTracker.with(e,D=>qq(n,g,D,f,d,s,l,!1));if(C.length)return[Oa(I8,C,[v.Remove_unused_declaration_for_Colon_0,g.getText(n)],LL,v.Delete_all_unused_imports)]}if(Om(g.parent)||Ow(g.parent)){if(ea(g.parent.parent)){const C=g.parent.elements,D=[C.length>1?v.Remove_unused_declarations_for_Colon_0:v.Remove_unused_declaration_for_Colon_0,qt(C,O=>O.getText(n)).join(", ")];return[N8(jn.ChangeTracker.with(e,O=>$ft(O,n,g.parent)),D)]}return[N8(jn.ChangeTracker.with(e,C=>qft(e,C,n,g.parent)),v.Remove_unused_destructuring_declaration)]}if(_7e(n,g))return[N8(jn.ChangeTracker.with(e,C=>p7e(C,n,g.parent)),v.Remove_variable_statement)];const k=[];if(g.kind===140){const C=jn.ChangeTracker.with(e,O=>l7e(O,n,g)),D=Ua(g.parent,Pw).typeParameter.name.text;k.push(Oa(I8,C,[v.Replace_infer_0_with_unknown,D],Gq,v.Replace_all_unused_infer_with_unknown))}else{const C=jn.ChangeTracker.with(e,D=>qq(n,g,D,f,d,s,l,!1));if(C.length){const D=Ho(g.parent)?g.parent:g;k.push(N8(C,[v.Remove_unused_declaration_for_Colon_0,D.getText(n)]))}}const T=jn.ChangeTracker.with(e,C=>d7e(C,t,n,g));return T.length&&k.push(Oa(I8,T,[v.Prefix_0_with_an_underscore,g.getText(n)],Wq,v.Prefix_all_unused_declarations_with_where_possible)),k},fixIds:[Wq,Hq,LL,Gq],getAllCodeActions:e=>{const{sourceFile:t,program:n,cancellationToken:s}=e,l=n.getTypeChecker(),f=n.getSourceFiles();return Zo(e,Jue,(d,g)=>{const h=Os(t,g.start);switch(e.fixId){case Wq:d7e(d,g.code,t,h);break;case LL:{const k=f7e(h);k?d.delete(t,k):jue(h)&&qq(t,h,d,l,f,n,s,!0);break}case Hq:{if(h.kind===140||jue(h))break;if(Rm(h))d.delete(t,h);else if(h.kind===30)u7e(d,t,h);else if(Om(h.parent)){if(h.parent.parent.initializer)break;(!ea(h.parent.parent)||m7e(h.parent.parent,l,f))&&d.delete(t,h.parent.parent)}else{if(Ow(h.parent.parent)&&h.parent.parent.parent.initializer)break;_7e(t,h)?p7e(d,t,h.parent):qq(t,h,d,l,f,n,s,!0)}break}case Gq:h.kind===140&&l7e(d,t,h);break;default:R.fail(JSON.stringify(e.fixId))}})}})}});function g7e(e,t,n,s,l){const f=Os(t,n),d=mn(f,Vs);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=(Pa(d.parent)?d.parent:d).parent;if(!Pa(d.parent)||d===Oo(d.parent.statements))switch(g.kind){case 244:if(g.elseStatement){if(Pa(d.parent))break;e.replaceNode(t,d,V.createBlock(ft));return}case 246:case 247:e.delete(t,g);return}if(Pa(d.parent)){const h=n+s,k=R.checkDefined(Kft(Jte(d.parent.statements,d),T=>T.pos<h),"Some statement should be last");e.deleteNodeRange(t,d,k)}else e.delete(t,d)}function Kft(e,t){let n;for(const s of e){if(!t(s))break;n=s}return n}var Xq,Uue,e_t=p({"src/services/codefixes/fixUnreachableCode.ts"(){Si(),Ya(),Xq="fixUnreachableCode",Uue=[v.Unreachable_code_detected.code],Ga({errorCodes:Uue,getCodeActions(e){if(e.program.getSyntacticDiagnostics(e.sourceFile,e.cancellationToken).length)return;const n=jn.ChangeTracker.with(e,s=>g7e(s,e.sourceFile,e.span.start,e.span.length,e.errorCode));return[Oa(Xq,n,v.Remove_unreachable_code,Xq,v.Remove_all_unreachable_code)]},fixIds:[Xq],getAllCodeActions:e=>Zo(e,Uue,(t,n)=>g7e(t,n.file,n.start,n.length,n.code))})}});function y7e(e,t,n){const s=Os(t,n),l=Ua(s.parent,GT),f=s.getStart(t),d=l.statement.getStart(t),g=Ld(f,d,t)?d:fo(t.text,Go(l,59,t).end,!0);e.deleteRange(t,{pos:f,end:g})}var Qq,zue,t_t=p({"src/services/codefixes/fixUnusedLabel.ts"(){Si(),Ya(),Qq="fixUnusedLabel",zue=[v.Unused_label.code],Ga({errorCodes:zue,getCodeActions(e){const t=jn.ChangeTracker.with(e,n=>y7e(n,e.sourceFile,e.span.start));return[Oa(Qq,t,v.Remove_unused_label,Qq,v.Remove_all_unused_labels)]},fixIds:[Qq],getAllCodeActions:e=>Zo(e,zue,(t,n)=>y7e(t,n.file,n.start))})}});function v7e(e,t,n,s,l){e.replaceNode(t,n,l.typeToTypeNode(s,n,void 0))}function b7e(e,t,n){const s=mn(Os(e,t),r_t),l=s&&s.type;return l&&{typeNode:l,type:n_t(n,l)}}function r_t(e){switch(e.kind){case 233:case 178:case 179:case 261:case 176:case 180:case 199:case 173:case 172:case 168:case 171:case 170:case 177:case 264:case 215:case 259:return!0;default:return!1}}function n_t(e,t){if(J4(t)){const n=e.getTypeFromTypeNode(t.type);return n===e.getNeverType()||n===e.getVoidType()?n:e.getUnionType(zr([n,e.getUndefinedType()],t.postfix?void 0:e.getNullType()))}return e.getTypeFromTypeNode(t)}var Vue,Yq,$ue,i_t=p({"src/services/codefixes/fixJSDocTypes.ts"(){Si(),Ya(),Vue="fixJSDocTypes_plain",Yq="fixJSDocTypes_nullable",$ue=[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],Ga({errorCodes:$ue,getCodeActions(e){const{sourceFile:t}=e,n=e.program.getTypeChecker(),s=b7e(t,e.span.start,n);if(!s)return;const{typeNode:l,type:f}=s,d=l.getText(t),g=[h(f,Vue,v.Change_all_jsdoc_style_types_to_TypeScript)];return l.kind===320&&g.push(h(f,Yq,v.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)),g;function h(k,T,C){const D=jn.ChangeTracker.with(e,O=>v7e(O,t,l,k,n));return Oa("jdocTypes",D,[v.Change_0_to_1,d,n.typeToString(k)],T,C)}},fixIds:[Vue,Yq],getAllCodeActions(e){const{fixId:t,program:n,sourceFile:s}=e,l=n.getTypeChecker();return Zo(e,$ue,(f,d)=>{const g=b7e(d.file,d.start,l);if(!g)return;const{typeNode:h,type:k}=g,T=h.kind===320&&t===Yq?l.getNullableType(k,32768):k;v7e(f,s,h,T,l)})}})}});function T7e(e,t,n){e.replaceNodeWithText(t,n,`${n.text}()`)}function S7e(e,t){const n=Os(e,t);if(ai(n.parent)){let s=n.parent;for(;ai(s.parent);)s=s.parent;return s.name}if(He(n))return n}var Zq,que,s_t=p({"src/services/codefixes/fixMissingCallParentheses.ts"(){Si(),Ya(),Zq="fixMissingCallParentheses",que=[v.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead.code],Ga({errorCodes:que,fixIds:[Zq],getCodeActions(e){const{sourceFile:t,span:n}=e,s=S7e(t,n.start);if(!s)return;const l=jn.ChangeTracker.with(e,f=>T7e(f,e.sourceFile,s));return[Oa(Zq,l,v.Add_missing_call_parentheses,Zq,v.Add_all_missing_call_parentheses)]},getAllCodeActions:e=>Zo(e,que,(t,n)=>{const s=S7e(n.file,n.start);s&&T7e(t,n.file,s)})})}});function a_t(e){if(e.type)return e.type;if(bs(e.parent)&&e.parent.type&&ry(e.parent.type))return e.parent.type.type}function x7e(e,t){const n=Os(e,t),s=Wp(n);if(!s)return;let l;switch(s.kind){case 173:l=s.name;break;case 261:case 217:l=Go(s,100,e);break;case 218:const f=s.typeParameters?30:21;l=Go(s,f,e)||Oo(s.parameters);break;default:return}return l&&{insertBefore:l,returnType:a_t(s)}}function k7e(e,t,{insertBefore:n,returnType:s}){if(s){const l=t5(s);(!l||l.kind!==80||l.text!=="Promise")&&e.replaceNode(t,s,V.createTypeReferenceNode("Promise",V.createNodeArray([s])))}e.insertModifierBefore(t,134,n)}var Kq,Wue,o_t=p({"src/services/codefixes/fixAwaitInSyncFunction.ts"(){Si(),Ya(),Kq="fixAwaitInSyncFunction",Wue=[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],Ga({errorCodes:Wue,getCodeActions(e){const{sourceFile:t,span:n}=e,s=x7e(t,n.start);if(!s)return;const l=jn.ChangeTracker.with(e,f=>k7e(f,t,s));return[Oa(Kq,l,v.Add_async_modifier_to_containing_function,Kq,v.Add_all_missing_async_modifiers)]},fixIds:[Kq],getAllCodeActions:function(t){const n=new Map;return Zo(t,Wue,(s,l)=>{const f=x7e(l.file,l.start);!f||!Dm(n,Jo(f.insertBefore))||k7e(s,t.sourceFile,f)})}})}});function C7e(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(Wb(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 T=$h(ufe(k,g));if(!T)return[];const C=xs(Q6(h.name)),D=g.getPropertyOfType(g.getTypeAtLocation(T),C);if(!D||!D.valueDeclaration)return[];f=D.valueDeclaration.pos,d=D.valueDeclaration.end,e=pn(D.valueDeclaration)}else R.fail("fixPropertyOverrideAccessor codefix got unexpected error code "+s);return J7e(e,l.program,f,d,l,v.Generate_get_and_set_accessors.message)}var Hue,eW,c_t=p({"src/services/codefixes/fixPropertyOverrideAccessor.ts"(){Si(),Ya(),Hue=[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],eW="fixPropertyOverrideAccessor",Ga({errorCodes:Hue,getCodeActions(e){const t=C7e(e.sourceFile,e.span.start,e.span.length,e.errorCode,e);if(t)return[Oa(eW,t,v.Generate_get_and_set_accessors,eW,v.Generate_get_and_set_accessors_for_all_overriding_properties)]},fixIds:[eW],getAllCodeActions:e=>Zo(e,Hue,(t,n)=>{const s=C7e(n.file,n.start,n.length,n.code,e);if(s)for(const l of s)t.pushRaw(e.sourceFile,l)})})}});function l_t(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 md(Wp(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 u_t(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 w7e(e,t,n,s,l,f,d,g,h){if(!gP(n.kind)&&n.kind!==80&&n.kind!==26&&n.kind!==110)return;const{parent:k}=n,T=Tk(t,l,h,g);switch(s=u_t(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(bs(k)&&d(k)||Ia(k)||Gp(k))return E7e(e,T,t,k,l,g,f),T.writeFixes(e),k;if(ai(k)){const O=O8(k.name,l,f),M=u8(O,k,l,g);if(M){const U=V.createJSDocTypeTag(void 0,V.createJSDocTypeExpression(M),void 0);e.addJSDocTags(t,Ua(k.parent.parent,of),[U])}return T.writeFixes(e),k}return;case v.Variable_0_implicitly_has_an_1_type.code:{const O=l.getTypeChecker().getSymbolAtLocation(n);return O&&O.valueDeclaration&&bs(O.valueDeclaration)&&d(O.valueDeclaration)?(E7e(e,T,pn(O.valueDeclaration),O.valueDeclaration,l,g,f),T.writeFixes(e),O.valueDeclaration):void 0}}const C=Wp(n);if(C===void 0)return;let D;switch(s){case v.Parameter_0_implicitly_has_an_1_type.code:if(md(C)){A7e(e,T,t,C,l,g,f),D=C;break}case v.Rest_parameter_0_implicitly_has_an_any_type.code:if(d(C)){const O=Ua(k,ea);f_t(e,T,t,O,C,l,g,f),D=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:nm(C)&&He(C.name)&&(tW(e,T,t,C,O8(C.name,l,f),l,g),D=C);break;case v.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:md(C)&&(A7e(e,T,t,C,l,g,f),D=C);break;case v.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:jn.isThisTypeAnnotatable(C)&&d(C)&&(__t(e,t,C,l,g,f),D=C);break;default:return R.fail(String(s))}return T.writeFixes(e),D}function E7e(e,t,n,s,l,f,d){He(s.name)&&tW(e,t,n,s,O8(s.name,l,d),l,f)}function f_t(e,t,n,s,l,f,d,g){if(!He(s.name))return;const h=m_t(l,n,f,g);if(R.assert(l.parameters.length===h.length,"Parameter count and inference count should match"),Mn(l))P7e(e,n,h,f,d);else{const k=Dc(l)&&!Go(l,21,n);k&&e.insertNodeBefore(n,Oo(l.parameters),V.createToken(21));for(const{declaration:T,type:C}of h)T&&!T.type&&!T.initializer&&tW(e,t,n,T,C,f,d);k&&e.insertNodeAfter(n,To(l.parameters),V.createToken(22))}}function __t(e,t,n,s,l,f){const d=D7e(n,t,s,f);if(!d||!d.length)return;const g=Xue(s,d,f).thisParameter(),h=u8(g,n,s,l);h&&(Mn(n)?p_t(e,t,n,h):e.tryInsertThisTypeAnnotation(t,n,h))}function p_t(e,t,n,s){e.addJSDocTags(t,n,[V.createJSDocThisTag(void 0,V.createJSDocTypeExpression(s))])}function A7e(e,t,n,s,l,f,d){const g=Hu(s.parameters);if(g&&He(s.name)&&He(g.name)){let h=O8(s.name,l,d);h===l.getTypeChecker().getAnyType()&&(h=O8(g.name,l,d)),Mn(s)?P7e(e,n,[{declaration:g,type:h}],l,f):tW(e,t,n,g,h,l,f)}}function tW(e,t,n,s,l,f,d){const g=u8(l,s,f,d);if(g)if(Mn(n)&&s.kind!==170){const h=bs(s)?wi(s.parent.parent,Yl):s;if(!h)return;const k=V.createJSDocTypeExpression(g),T=nm(s)?V.createJSDocReturnTag(void 0,k,void 0):V.createJSDocTypeTag(void 0,k,void 0);e.addJSDocTags(n,h,[T])}else d_t(g,s,n,e,t,Eo(f.getCompilerOptions()))||e.tryInsertTypeAnnotation(n,s,g)}function d_t(e,t,n,s,l,f){const d=xk(e,f);return d&&s.tryInsertTypeAnnotation(n,t,d.typeNode)?(te(d.symbols,g=>l.addImportFromExportedSymbol(g,!0)),!0):!1}function P7e(e,t,n,s,l){const f=n.length&&n[0].declaration.parent;if(!f)return;const d=lr(n,g=>{const h=g.declaration;if(h.initializer||bv(h)||!He(h.name))return;const k=g.type&&u8(g.type,h,s,l);if(k){const T=V.cloneNode(h.name);return An(T,7168),{name:V.cloneNode(h.name),param:h,isOptional:!!g.isOptional,typeNode:k}}});if(d.length)if(Dc(f)||_c(f)){const g=Dc(f)&&!Go(f,21,t);g&&e.insertNodeBefore(t,Oo(f.parameters),V.createToken(21)),te(d,({typeNode:h,param:k})=>{const T=V.createJSDocTypeTag(void 0,V.createJSDocTypeExpression(h)),C=V.createJSDocComment(void 0,[T]);e.insertNodeAt(t,k.getStart(t),C,{suffix:" "})}),g&&e.insertNodeAfter(t,To(f.parameters),V.createToken(22))}else{const g=qt(d,({name:h,typeNode:k,isOptional:T})=>V.createJSDocParameterTag(void 0,h,!!T,V.createJSDocTypeExpression(k),!1,void 0));e.addJSDocTags(t,f,g)}}function Gue(e,t,n){return lr(Wc.getReferenceEntriesForNode(-1,e,t,t.getSourceFiles(),n),s=>s.kind!==Wc.EntryKind.Span?wi(s.node,He):void 0)}function O8(e,t,n){const s=Gue(e,t,n);return Xue(t,s,n).single()}function m_t(e,t,n,s){const l=D7e(e,t,n,s);return l&&Xue(n,l,s).parameters(e)||e.parameters.map(f=>({declaration:f,type:He(f.name)?O8(f.name,n,s):n.getTypeChecker().getAnyType()}))}function D7e(e,t,n,s){let l;switch(e.kind){case 175:l=Go(e,137,t);break;case 218:case 217:const f=e.parent;l=(bs(f)||Ia(f))&&He(f.name)?f.name:e.name;break;case 261:case 173:case 172:l=e.name;break}if(l)return Gue(l,n,s)}function Xue(e,t,n){const s=e.getTypeChecker(),l={string:()=>s.getStringType(),number:()=>s.getNumberType(),Array:Me=>s.createArrayType(Me),Promise:Me=>s.createPromiseType(Me)},f=[s.getStringType(),s.getNumberType(),s.createArrayType(s.getAnyType()),s.createPromiseType(s.getAnyType())];return{single:h,parameters:k,thisParameter:T};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(Me){const ze=new Map;for(const et of Me)et.properties&&et.properties.forEach((je,_t)=>{ze.has(_t)||ze.set(_t,[]),ze.get(_t).push(je)});const st=new Map;return ze.forEach((et,je)=>{st.set(je,g(et))}),{isNumber:Me.some(et=>et.isNumber),isString:Me.some(et=>et.isString),isNumberOrString:Me.some(et=>et.isNumberOrString),candidateTypes:ln(Me,et=>et.candidateTypes),properties:st,calls:ln(Me,et=>et.calls),constructs:ln(Me,et=>et.constructs),numberIndex:te(Me,et=>et.numberIndex),stringIndex:te(Me,et=>et.stringIndex),candidateThisTypes:ln(Me,et=>et.candidateThisTypes),inferredTypes:void 0}}function h(){return de(C(t))}function k(Me){if(t.length===0||!Me.parameters)return;const ze=d();for(const et of t)n.throwIfCancellationRequested(),D(et,ze);const st=[...ze.constructs||[],...ze.calls||[]];return Me.parameters.map((et,je)=>{const _t=[],Lt=Hg(et);let Dt=!1;for(const Ye of st)if(Ye.argumentTypes.length<=je)Dt=Mn(Me),_t.push(s.getUndefinedType());else if(Lt)for(let Bt=je;Bt<Ye.argumentTypes.length;Bt++)_t.push(s.getBaseTypeOfLiteralType(Ye.argumentTypes[Bt]));else _t.push(s.getBaseTypeOfLiteralType(Ye.argumentTypes[je]));if(He(et.name)){const Ye=C(Gue(et.name,e,n));_t.push(...Lt?lr(Ye,s.getElementTypeOfArrayType):Ye)}const Xt=de(_t);return{type:Lt?s.createArrayType(Xt):Xt,isOptional:Dt&&!Lt,declaration:et}})}function T(){const Me=d();for(const ze of t)n.throwIfCancellationRequested(),D(ze,Me);return de(Me.candidateThisTypes||ft)}function C(Me){const ze=d();for(const st of Me)n.throwIfCancellationRequested(),D(st,ze);return K(ze)}function D(Me,ze){for(;zP(Me);)Me=Me.parent;switch(Me.parent.kind){case 243:M(Me,ze);break;case 224:ze.isNumber=!0;break;case 223:U(Me.parent,ze);break;case 225:B(Me,Me.parent,ze);break;case 295:case 296:H(Me.parent,ze);break;case 212:case 213:Me.parent.expression===Me?Y(Me.parent,ze):O(Me,ze);break;case 210:Z(Me.parent,ze);break;case 211:fe(Me.parent,Me,ze);break;case 302:case 303:Q(Me.parent,ze);break;case 171:he(Me.parent,ze);break;case 259:{const{name:st,initializer:et}=Me.parent;if(Me===st){et&&qe(ze,s.getTypeAtLocation(et));break}}default:return O(Me,ze)}}function O(Me,ze){Xy(Me)&&qe(ze,s.getContextualType(Me))}function M(Me,ze){qe(ze,Ra(Me)?s.getVoidType():s.getAnyType())}function U(Me,ze){switch(Me.operator){case 46:case 47:case 41:case 55:ze.isNumber=!0;break;case 40:ze.isNumberOrString=!0;break}}function B(Me,ze,st){switch(ze.operatorToken.kind){case 43:case 42:case 44:case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 66:case 68:case 67:case 69:case 70:case 74:case 75:case 79:case 71:case 73:case 72:case 41:case 30:case 33:case 32:case 34:const et=s.getTypeAtLocation(ze.left===Me?ze.right:ze.left);et.flags&1056?qe(st,et):st.isNumber=!0;break;case 65:case 40:const je=s.getTypeAtLocation(ze.left===Me?ze.right:ze.left);je.flags&1056?qe(st,je):je.flags&296?st.isNumber=!0:je.flags&402653316?st.isString=!0:je.flags&1||(st.isNumberOrString=!0);break;case 64:case 35:case 37:case 38:case 36:case 77:case 78:case 76:qe(st,s.getTypeAtLocation(ze.left===Me?ze.right:ze.left));break;case 103:Me===ze.left&&(st.isString=!0);break;case 57:case 61:Me===ze.left&&(Me.parent.parent.kind===259||o_(Me.parent.parent,!0))&&qe(st,s.getTypeAtLocation(ze.right));break}}function H(Me,ze){qe(ze,s.getTypeAtLocation(Me.parent.parent.expression))}function Y(Me,ze){const st={argumentTypes:[],return_:d()};if(Me.arguments)for(const et of Me.arguments)st.argumentTypes.push(s.getTypeAtLocation(et));D(Me,st.return_),Me.kind===212?(ze.calls||(ze.calls=[])).push(st):(ze.constructs||(ze.constructs=[])).push(st)}function Z(Me,ze){const st=$c(Me.name.text);ze.properties||(ze.properties=new Map);const et=ze.properties.get(st)||d();D(Me,et),ze.properties.set(st,et)}function fe(Me,ze,st){if(ze===Me.argumentExpression){st.isNumberOrString=!0;return}else{const et=s.getTypeAtLocation(Me.argumentExpression),je=d();D(Me,je),et.flags&296?st.numberIndex=je:st.stringIndex=je}}function Q(Me,ze){const st=bs(Me.parent.parent)?Me.parent.parent:Me.parent;Ke(ze,s.getTypeAtLocation(st))}function he(Me,ze){Ke(ze,s.getTypeAtLocation(Me.parent))}function W(Me,ze){const st=[];for(const et of Me)for(const{high:je,low:_t}of ze)je(et)&&(R.assert(!_t(et),"Priority can't have both low and high"),st.push(_t));return Me.filter(et=>st.every(je=>!je(et)))}function ye(Me){return de(K(Me))}function de(Me){if(!Me.length)return s.getAnyType();const ze=s.getUnionType([s.getStringType(),s.getNumberType()]);let et=W(Me,[{high:_t=>_t===s.getStringType()||_t===s.getNumberType(),low:_t=>_t===ze},{high:_t=>!(_t.flags&16385),low:_t=>!!(_t.flags&16385)},{high:_t=>!(_t.flags&114689)&&!(vi(_t)&16),low:_t=>!!(vi(_t)&16)}]);const je=et.filter(_t=>vi(_t)&16);return je.length&&(et=et.filter(_t=>!(vi(_t)&16)),et.push(Ce(je))),s.getWidenedType(s.getUnionType(et.map(s.getBaseTypeOfLiteralType),2))}function Ce(Me){if(Me.length===1)return Me[0];const ze=[],st=[],et=[],je=[];let _t=!1,Lt=!1;const Dt=sd();for(const Bt of Me){for(const Ht of s.getPropertiesOfType(Bt))Dt.add(Ht.escapedName,Ht.valueDeclaration?s.getTypeOfSymbolAtLocation(Ht,Ht.valueDeclaration):s.getAnyType());ze.push(...s.getSignaturesOfType(Bt,0)),st.push(...s.getSignaturesOfType(Bt,1));const vr=s.getIndexInfoOfType(Bt,0);vr&&(et.push(vr.type),_t=_t||vr.isReadonly);const Ar=s.getIndexInfoOfType(Bt,1);Ar&&(je.push(Ar.type),Lt=Lt||Ar.isReadonly)}const Xt=sr(Dt,(Bt,vr)=>{const Ar=vr.length<Me.length?16777216:0,Ht=s.createSymbol(4|Ar,Bt);return Ht.links.type=s.getUnionType(vr),[Bt,Ht]}),Ye=[];return et.length&&Ye.push(s.createIndexInfo(s.getStringType(),s.getUnionType(et),_t)),je.length&&Ye.push(s.createIndexInfo(s.getNumberType(),s.getUnionType(je),Lt)),s.createAnonymousType(Me[0].symbol,Xt,ze,st,Ye)}function K(Me){var ze,st,et;const je=[];Me.isNumber&&je.push(s.getNumberType()),Me.isString&&je.push(s.getStringType()),Me.isNumberOrString&&je.push(s.getUnionType([s.getStringType(),s.getNumberType()])),Me.numberIndex&&je.push(s.createArrayType(ye(Me.numberIndex))),((ze=Me.properties)!=null&&ze.size||(st=Me.constructs)!=null&&st.length||Me.stringIndex)&&je.push(ce(Me));const _t=(Me.candidateTypes||[]).map(Dt=>s.getBaseTypeOfLiteralType(Dt)),Lt=(et=Me.calls)!=null&&et.length?ce(Me):void 0;return Lt&&_t?je.push(s.getUnionType([Lt,..._t],2)):(Lt&&je.push(Lt),G(_t)&&je.push(..._t)),je.push(...le(Me)),je}function ce(Me){const ze=new Map;Me.properties&&Me.properties.forEach((_t,Lt)=>{const Dt=s.createSymbol(4,Lt);Dt.links.type=ye(_t),ze.set(Lt,Dt)});const st=Me.calls?[Ge(Me.calls)]:[],et=Me.constructs?[Ge(Me.constructs)]:[],je=Me.stringIndex?[s.createIndexInfo(s.getStringType(),ye(Me.stringIndex),!1)]:[];return s.createAnonymousType(void 0,ze,st,et,je)}function le(Me){if(!Me.properties||!Me.properties.size)return[];const ze=f.filter(st=>xe(st,Me));return 0<ze.length&&ze.length<3?ze.map(st=>we(st,Me)):[]}function xe(Me,ze){return ze.properties?!rp(ze.properties,(st,et)=>{const je=s.getTypeOfPropertyOfType(Me,et);return je?st.calls?!s.getSignaturesOfType(je,0).length||!s.isTypeAssignableTo(je,ut(st.calls)):!s.isTypeAssignableTo(je,ye(st)):!0}):!1}function we(Me,ze){if(!(vi(Me)&4)||!ze.properties)return Me;const st=Me.target,et=$h(st.typeParameters);if(!et)return Me;const je=[];return ze.properties.forEach((_t,Lt)=>{const Dt=s.getTypeOfPropertyOfType(st,Lt);R.assert(!!Dt,"generic should have all the properties of its reference."),je.push(...Ie(Dt,ye(_t),et))}),l[Me.symbol.escapedName](de(je))}function Ie(Me,ze,st){if(Me===st)return[ze];if(Me.flags&3145728)return ln(Me.types,_t=>Ie(_t,ze,st));if(vi(Me)&4&&vi(ze)&4){const _t=s.getTypeArguments(Me),Lt=s.getTypeArguments(ze),Dt=[];if(_t&&Lt)for(let Xt=0;Xt<_t.length;Xt++)Lt[Xt]&&Dt.push(...Ie(_t[Xt],Lt[Xt],st));return Dt}const et=s.getSignaturesOfType(Me,0),je=s.getSignaturesOfType(ze,0);return et.length===1&&je.length===1?ue(et[0],je[0],st):[]}function ue(Me,ze,st){var et;const je=[];for(let Dt=0;Dt<Me.parameters.length;Dt++){const Xt=Me.parameters[Dt],Ye=ze.parameters[Dt],Bt=Me.declaration&&Hg(Me.declaration.parameters[Dt]);if(!Ye)break;let vr=Xt.valueDeclaration?s.getTypeOfSymbolAtLocation(Xt,Xt.valueDeclaration):s.getAnyType();const Ar=Bt&&s.getElementTypeOfArrayType(vr);Ar&&(vr=Ar);const Ht=((et=wi(Ye,Yh))==null?void 0:et.links.type)||(Ye.valueDeclaration?s.getTypeOfSymbolAtLocation(Ye,Ye.valueDeclaration):s.getAnyType());je.push(...Ie(vr,Ht,st))}const _t=s.getReturnTypeOfSignature(Me),Lt=s.getReturnTypeOfSignature(ze);return je.push(...Ie(_t,Lt,st)),je}function ut(Me){return s.createAnonymousType(void 0,za(),[Ge(Me)],ft,ft)}function Ge(Me){const ze=[],st=Math.max(...Me.map(je=>je.argumentTypes.length));for(let je=0;je<st;je++){const _t=s.createSymbol(1,$c(`arg${je}`));_t.links.type=de(Me.map(Lt=>Lt.argumentTypes[je]||s.getUndefinedType())),Me.some(Lt=>Lt.argumentTypes[je]===void 0)&&(_t.flags|=16777216),ze.push(_t)}const et=ye(g(Me.map(je=>je.return_)));return s.createSignature(void 0,void 0,void 0,ze,et,void 0,st,0)}function qe(Me,ze){ze&&!(ze.flags&1)&&!(ze.flags&131072)&&(Me.candidateTypes||(Me.candidateTypes=[])).push(ze)}function Ke(Me,ze){ze&&!(ze.flags&1)&&!(ze.flags&131072)&&(Me.candidateThisTypes||(Me.candidateThisTypes=[])).push(ze)}}var rW,Que,h_t=p({"src/services/codefixes/inferFromUsage.ts"(){Si(),Ya(),rW="inferFromUsage",Que=[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],Ga({errorCodes:Que,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 T=jn.ChangeTracker.with(e,D=>{k=w7e(D,t,h,l,n,f,jb,d,g)}),C=k&&ia(k);return!C||T.length===0?void 0:[Oa(rW,T,[l_t(l,h),iu(C)],rW,v.Infer_all_types_from_usage)]},fixIds:[rW],getAllCodeActions(e){const{sourceFile:t,program:n,cancellationToken:s,host:l,preferences:f}=e,d=Xw();return Zo(e,Que,(g,h)=>{w7e(g,t,Os(h.file,h.start),h.code,n,s,d,l,f)})}})}});function N7e(e,t,n){if(Mn(e))return;const s=Os(e,n),l=mn(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 I7e(e,t,n,s){e.replaceNode(t,n,V.createTypeReferenceNode("Promise",[s]))}var nW,Yue,g_t=p({"src/services/codefixes/fixReturnTypeInAsyncFunction.ts"(){Si(),Ya(),nW="fixReturnTypeInAsyncFunction",Yue=[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],Ga({errorCodes:Yue,fixIds:[nW],getCodeActions:function(t){const{sourceFile:n,program:s,span:l}=t,f=s.getTypeChecker(),d=N7e(n,s.getTypeChecker(),l.start);if(!d)return;const{returnTypeNode:g,returnType:h,promisedTypeNode:k,promisedType:T}=d,C=jn.ChangeTracker.with(t,D=>I7e(D,n,g,k));return[Oa(nW,C,[v.Replace_0_with_Promise_1,f.typeToString(h),f.typeToString(T)],nW,v.Fix_all_incorrect_return_type_of_an_async_functions)]},getAllCodeActions:e=>Zo(e,Yue,(t,n)=>{const s=N7e(n.file,e.program.getTypeChecker(),n.start);s&&I7e(t,n.file,s.returnTypeNode,s.promisedTypeNode)})})}});function O7e(e,t,n,s){const{line:l}=Vc(t,n);(!s||li(s,l))&&e.insertCommentBeforeLine(t,l,n," @ts-ignore")}var Zue,Kue,efe,y_t=p({"src/services/codefixes/disableJsDiagnostics.ts"(){Si(),Ya(),Zue="disableJsDiagnostics",Kue="disableJsDiagnostics",efe=lr(Object.keys(v),e=>{const t=v[e];return t.category===1?t.code:void 0}),Ga({errorCodes:efe,getCodeActions:function(t){const{sourceFile:n,program:s,span:l,host:f,formatContext:d}=t;if(!Mn(n)||!G5(n,s.getCompilerOptions()))return;const g=n.checkJsDirective?"":zv(f,d.options),h=[jm(Zue,[UDe(n.fileName,[$9(n.checkJsDirective?nu(n.checkJsDirective.pos,n.checkJsDirective.end):yu(0,0),`// @ts-nocheck${g}`)])],v.Disable_checking_for_this_file)];return jn.isValidLocationToAddComment(n,l.start)&&h.unshift(Oa(Zue,jn.ChangeTracker.with(t,k=>O7e(k,n,l.start)),v.Ignore_this_error_message,Kue,v.Add_ts_ignore_to_all_error_messages)),h},fixIds:[Kue],getAllCodeActions:e=>{const t=new Set;return Zo(e,efe,(n,s)=>{jn.isValidLocationToAddComment(s.file,s.start)&&O7e(n,s.file,s.start,t)})}})}});function tfe(e,t,n,s,l,f,d){const g=e.symbol.members;for(const h of t)g.has(h.escapedName)||L7e(h,e,n,s,l,f,d,void 0)}function lE(e){return{trackSymbol:()=>!1,moduleResolverHost:goe(e.program,e.host)}}function L7e(e,t,n,s,l,f,d,g,h=3,k=!1){const T=e.getDeclarations(),C=T==null?void 0:T[0],D=s.program.getTypeChecker(),O=Eo(s.program.getCompilerOptions()),M=(C==null?void 0:C.kind)??170,U=Fc(ia(C),!1),B=C?Wf(C):0;let H=B&4?4:B&16?16:0;C&&Ep(C)&&(H|=128);const Y=ye(),Z=D.getWidenedType(D.getTypeOfSymbolAtLocation(e,t)),fe=!!(e.flags&16777216),Q=!!(t.flags&16777216)||k,he=gd(n,l);switch(M){case 170:case 171:const le=he===0?268435456:void 0;let xe=D.typeToTypeNode(Z,t,le,lE(s));if(f){const Ie=xk(xe,O);Ie&&(xe=Ie.typeNode,uE(f,Ie.symbols))}d(V.createPropertyDeclaration(Y,C?Ce(U):e.getName(),fe&&h&2?V.createToken(58):void 0,xe,void 0));break;case 176:case 177:{R.assertIsDefined(T);let Ie=D.typeToTypeNode(Z,t,void 0,lE(s));const ue=jx(T,C),ut=ue.secondAccessor?[ue.firstAccessor,ue.secondAccessor]:[ue.firstAccessor];if(f){const Ge=xk(Ie,O);Ge&&(Ie=Ge.typeNode,uE(f,Ge.symbols))}for(const Ge of ut)if(nm(Ge))d(V.createGetAccessorDeclaration(Y,Ce(U),ft,ce(Ie),K(g,he,Q)));else{R.assertNode(Ge,md,"The counterpart to a getter should be a setter");const qe=BP(Ge),Ke=qe&&He(qe.name)?Zn(qe.name):void 0;d(V.createSetAccessorDeclaration(Y,Ce(U),nfe(1,[Ke],[ce(Ie)],1,!1),K(g,he,Q)))}break}case 172:case 173:R.assertIsDefined(T);const we=Z.isUnion()?ln(Z.types,Ie=>Ie.getCallSignatures()):Z.getCallSignatures();if(!Ne(we))break;if(T.length===1){R.assert(we.length===1,"One declaration implies one signature");const Ie=we[0];W(he,Ie,Y,Ce(U),K(g,he,Q));break}for(const Ie of we)W(he,Ie,Y,Ce(U));if(!Q)if(T.length>we.length){const Ie=D.getSignatureFromDeclaration(T[T.length-1]);W(he,Ie,Y,Ce(U),K(g,he))}else R.assert(T.length===we.length,"Declarations and signatures should match count"),d(T_t(D,s,t,we,Ce(U),fe&&!!(h&1),Y,he,g));break}function W(le,xe,we,Ie,ue){const ut=iW(173,s,le,xe,ue,Ie,we,fe&&!!(h&1),t,f);ut&&d(ut)}function ye(){let le;return H&&(le=Vh(le,V.createModifiersFromModifierFlags(H))),de()&&(le=zr(le,V.createToken(163))),le&&V.createNodeArray(le)}function de(){return!!(s.program.getCompilerOptions().noImplicitOverride&&C&&UT(C))}function Ce(le){return He(le)&&le.escapedText==="constructor"?V.createComputedPropertyName(V.createStringLiteral(Zn(le),he===0)):Fc(le,!1)}function K(le,xe,we){return we?void 0:Fc(le,!1)||ife(xe)}function ce(le){return Fc(le,!1)}}function iW(e,t,n,s,l,f,d,g,h,k){const T=t.program,C=T.getTypeChecker(),D=Eo(T.getCompilerOptions()),O=Mn(h),M=524545|(n===0?268435456:0),U=C.signatureToSignatureDeclaration(s,e,h,M,lE(t));if(!U)return;let B=O?void 0:U.typeParameters,H=U.parameters,Y=O?void 0:U.type;if(k){if(B){const he=$s(B,W=>{let ye=W.constraint,de=W.default;if(ye){const Ce=xk(ye,D);Ce&&(ye=Ce.typeNode,uE(k,Ce.symbols))}if(de){const Ce=xk(de,D);Ce&&(de=Ce.typeNode,uE(k,Ce.symbols))}return V.updateTypeParameterDeclaration(W,W.modifiers,W.name,ye,de)});B!==he&&(B=wt(V.createNodeArray(he,B.hasTrailingComma),B))}const Q=$s(H,he=>{let W=O?void 0:he.type;if(W){const ye=xk(W,D);ye&&(W=ye.typeNode,uE(k,ye.symbols))}return V.updateParameterDeclaration(he,he.modifiers,he.dotDotDotToken,he.name,O?void 0:he.questionToken,W,he.initializer)});if(H!==Q&&(H=wt(V.createNodeArray(Q,H.hasTrailingComma),H)),Y){const he=xk(Y,D);he&&(Y=he.typeNode,uE(k,he.symbols))}}const Z=g?V.createToken(58):void 0,fe=U.asteriskToken;if(_c(U))return V.updateFunctionExpression(U,d,U.asteriskToken,wi(f,He),B,H,Y,l??U.body);if(Dc(U))return V.updateArrowFunction(U,d,B,H,Y,U.equalsGreaterThanToken,l??U.body);if(ql(U))return V.updateMethodDeclaration(U,d,fe,f??V.createIdentifier(""),Z,B,H,Y,l);if(au(U))return V.updateFunctionDeclaration(U,d,U.asteriskToken,wi(f,He),B,H,Y,l??U.body)}function rfe(e,t,n,s,l,f,d){const g=gd(t.sourceFile,t.preferences),h=Eo(t.program.getCompilerOptions()),k=lE(t),T=t.program.getTypeChecker(),C=Mn(d),{typeArguments:D,arguments:O,parent:M}=s,U=C?void 0:T.getContextualType(s),B=qt(O,de=>He(de)?de.text:ai(de)&&He(de.name)?de.name.text:void 0),H=C?[]:qt(O,de=>T.getTypeAtLocation(de)),{argumentTypeNodes:Y,argumentTypeParameters:Z}=R7e(T,n,H,d,h,void 0,k),fe=f?V.createNodeArray(V.createModifiersFromModifierFlags(f)):void 0,Q=gU(M)?V.createToken(42):void 0,he=C?void 0:v_t(T,Z,D),W=nfe(O.length,B,Y,void 0,C),ye=C||U===void 0?void 0:T.typeToTypeNode(U,d,void 0,k);switch(e){case 173:return V.createMethodDeclaration(fe,Q,l,void 0,he,W,ye,ife(g));case 172:return V.createMethodSignature(fe,l,void 0,he,W,ye===void 0?V.createKeywordTypeNode(159):ye);case 261:return V.createFunctionDeclaration(fe,Q,l,he,W,ye,ML(v.Function_not_implemented.message,g));default:R.fail("Unexpected kind")}}function v_t(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(M7e(g))}return oo(s.values(),f=>{var d;return V.createTypeParameterDeclaration(void 0,f,(d=l.get(f))==null?void 0:d.constraint)})}function M7e(e){return 84+e<=90?String.fromCharCode(84+e):`T${e}`}function sW(e,t,n,s,l,f,d){let g=e.typeToTypeNode(n,s,f,d);if(g&&t0(g)){const h=xk(g,l);h&&(uE(t,h.symbols),g=h.typeNode)}return Fc(g)}function F7e(e){return e.isUnionOrIntersection()?e.types.some(F7e):e.flags&262144}function R7e(e,t,n,s,l,f,d){const g=[],h=new Map;for(let k=0;k<n.length;k+=1){const T=n[k];if(T.isUnionOrIntersection()&&T.types.some(F7e)){const U=M7e(k);g.push(V.createTypeReferenceNode(U)),h.set(U,void 0);continue}const C=e.getBaseTypeOfLiteralType(T),D=sW(e,t,C,s,l,f,d);if(!D)continue;g.push(D);const O=B7e(T),M=T.isTypeParameter()&&T.constraint&&!b_t(T.constraint)?sW(e,t,T.constraint,s,l,f,d):void 0;O&&h.set(O,{argumentType:T,constraint:M})}return{argumentTypeNodes:g,argumentTypeParameters:oo(h.entries())}}function b_t(e){return e.flags&524288&&e.objectFlags===16}function B7e(e){var t;if(e.flags&3145728)for(const n of e.types){const s=B7e(n);if(s)return s}return e.flags&262144?(t=e.getSymbol())==null?void 0:t.getName():void 0}function nfe(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 T=V.createParameterDeclaration(void 0,void 0,h+(k||""),s!==void 0&&g>=s?V.createToken(58):void 0,l?void 0:(n==null?void 0:n[g])||V.createKeywordTypeNode(159),void 0);f.push(T)}return f}function T_t(e,t,n,s,l,f,d,g,h){let k=s[0],T=s[0].minArgumentCount,C=!1;for(const U of s)T=Math.min(U.minArgumentCount,T),kf(U)&&(C=!0),U.parameters.length>=k.parameters.length&&(!kf(U)||kf(k))&&(k=U);const D=k.parameters.length-(kf(k)?1:0),O=k.parameters.map(U=>U.name),M=nfe(D,O,void 0,T,!1);if(C){const U=V.createParameterDeclaration(void 0,V.createToken(26),O[D]||"rest",D>=T?V.createToken(58):void 0,V.createArrayTypeNode(V.createKeywordTypeNode(159)),void 0);M.push(U)}return x_t(d,l,f,void 0,M,S_t(s,e,t,n),g,h)}function S_t(e,t,n,s){if(G(e)){const l=t.getUnionType(qt(e,t.getReturnTypeOfSignature));return t.typeToTypeNode(l,s,1,lE(n))}}function x_t(e,t,n,s,l,f,d,g){return V.createMethodDeclaration(e,void 0,t,n?V.createToken(58):void 0,s,l,f,g||ife(d))}function ife(e){return ML(v.Method_not_implemented.message,e)}function ML(e,t){return V.createBlock([V.createThrowStatement(V.createNewExpression(V.createIdentifier("Error"),void 0,[V.createStringLiteral(e,t===0)]))],!0)}function sfe(e,t,n){const s=wP(t);if(!s)return;const l=ofe(s,"compilerOptions");if(l===void 0){e.insertNodeAtObjectStart(t,s,aW("compilerOptions",V.createObjectLiteralExpression(n.map(([d,g])=>aW(d,g)),!0)));return}const f=l.initializer;if(jo(f))for(const[d,g]of n){const h=ofe(f,d);h===void 0?e.insertNodeAtObjectStart(t,f,aW(d,g)):e.replaceNode(t,h.initializer,g)}}function afe(e,t,n,s){sfe(e,t,[[n,s]])}function aW(e,t){return V.createPropertyAssignment(V.createStringLiteral(e),t)}function ofe(e,t){return Ve(e.properties,n=>pu(n)&&!!n.name&&yo(n.name)&&n.name.text===t)}function xk(e,t){let n;const s=ct(e,l,ys);if(n&&s)return{typeNode:s,symbols:n};function l(f){if(Hb(f)&&f.qualifier){const d=Np(f.qualifier),g=VV(d.symbol,t),h=g!==d.text?j7e(f.qualifier,V.createIdentifier(g)):f.qualifier;n=zr(n,d.symbol);const k=cn(f.typeArguments,l,ys);return V.createTypeReferenceNode(h,k)}return Kr(f,l,s0)}}function j7e(e,t){return e.kind===80?t:V.createQualifiedName(j7e(e.left,t),e.right)}function uE(e,t){t.forEach(n=>e.addImportFromExportedSymbol(n,!0))}function cfe(e,t){const n=af(t);let s=Os(e,t.start);for(;s.end<n;)s=s.parent;return s}var lfe,k_t=p({"src/services/codefixes/helpers.ts"(){Si(),lfe=(e=>(e[e.Method=1]="Method",e[e.Property=2]="Property",e[e.All=3]="All",e))(lfe||{})}});function J7e(e,t,n,s,l,f){const d=V7e(e,t,n,s);if(!d||C8.isRefactorErrorInfo(d))return;const g=jn.ChangeTracker.fromContext(l),{isStatic:h,isReadonly:k,fieldName:T,accessorName:C,originalName:D,type:O,container:M,declaration:U}=d;cp(T),cp(C),cp(U),cp(M);let B,H;if(Ri(M)){const Z=Wf(U);if(qf(e)){const fe=V.createModifiersFromModifierFlags(Z);B=fe,H=fe}else B=V.createModifiersFromModifierFlags(E_t(Z)),H=V.createModifiersFromModifierFlags(A_t(Z));Jw(U)&&(H=wr(vv(U),H))}O_t(g,e,U,O,T,H);const Y=P_t(T,C,O,B,h,M);if(cp(Y),$7e(g,e,Y,U,M),k){const Z=Yg(M);Z&&L_t(g,e,Z,T.text,D)}else{const Z=D_t(T,C,O,B,h,M);cp(Z),$7e(g,e,Z,U,M)}return g.getChanges()}function C_t(e){return He(e)||yo(e)}function w_t(e){return Cp(e,e.parent)||Ia(e)||pu(e)}function U7e(e,t){return He(t)?V.createIdentifier(e):V.createStringLiteral(e)}function z7e(e,t,n){const s=t?n.name:V.createThis();return He(e)?V.createPropertyAccessExpression(s,e):V.createElementAccessExpression(s,V.createStringLiteralFromNode(e))}function E_t(e){return e&=-65,e&=-9,e&16||(e|=4),e}function A_t(e){return e&=-5,e&=-17,e|=8,e}function V7e(e,t,n,s,l=!0){const f=Os(e,n),d=n===s&&l,g=mn(f.parent,w_t),h=124;if(!g||!(eoe(g.name,e,n,s)||d))return{error:so(v.Could_not_find_property_for_which_to_generate_accessor)};if(!C_t(g.name))return{error:so(v.Name_is_not_valid)};if((Wf(g)&126975|h)!==h)return{error:so(v.Can_only_convert_property_with_modifier)};const k=g.name.text,T=Uoe(k),C=U7e(T?k:yk(`_${k}`,e),g.name),D=U7e(T?yk(k.substring(1),e):k,g.name);return{isStatic:su(g),isReadonly:jP(g),type:M_t(g,t),container:g.kind===168?g.parent.parent:g.parent,originalName:g.name.text,declaration:g,fieldName:C,accessorName:D,renameAccessor:T}}function P_t(e,t,n,s,l,f){return V.createGetAccessorDeclaration(s,t,[],n,V.createBlock([V.createReturnStatement(z7e(e,l,f))],!0))}function D_t(e,t,n,s,l,f){return V.createSetAccessorDeclaration(s,t,[V.createParameterDeclaration(void 0,void 0,V.createIdentifier("value"),void 0,n)],V.createBlock([V.createExpressionStatement(V.createAssignment(z7e(e,l,f),V.createIdentifier("value")))],!0))}function N_t(e,t,n,s,l,f){const d=V.updatePropertyDeclaration(n,f,l,n.questionToken||n.exclamationToken,s,n.initializer);e.replaceNode(t,n,d)}function I_t(e,t,n,s){let l=V.updatePropertyAssignment(n,s,n.initializer);(l.modifiers||l.questionToken||l.exclamationToken)&&(l===n&&(l=V.cloneNode(l)),l.modifiers=void 0,l.questionToken=void 0,l.exclamationToken=void 0),e.replacePropertyAssignment(t,n,l)}function O_t(e,t,n,s,l,f){Ia(n)?N_t(e,t,n,s,l,f):pu(n)?I_t(e,t,n,l):e.replaceNode(t,n,V.updateParameterDeclaration(n,f,n.dotDotDotToken,Ua(l,He),n.questionToken,n.type,n.initializer))}function $7e(e,t,n,s,l){Cp(s,s.parent)?e.insertMemberAtStart(t,l,n):pu(s)?e.insertNodeAfterComma(t,s,n):e.insertNodeAfter(t,s,n)}function L_t(e,t,n,s,l){n.body&&n.body.forEachChild(function f(d){Pc(d)&&d.expression.kind===110&&yo(d.argumentExpression)&&d.argumentExpression.text===l&&HP(d)&&e.replaceNode(t,d.argumentExpression,V.createStringLiteral(s)),ai(d)&&d.expression.kind===110&&d.name.text===l&&HP(d)&&e.replaceNode(t,d.name,V.createIdentifier(s)),!Sa(d)&&!Ri(d)&&d.forEachChild(f)})}function M_t(e,t){const n=WTe(e);if(Ia(e)&&n&&e.questionToken){const s=t.getTypeChecker(),l=s.getTypeFromTypeNode(n);if(!s.isTypeAssignableTo(s.getUndefinedType(),l)){const f=Aw(n)?n.types:[n];return V.createUnionTypeNode([...f,V.createKeywordTypeNode(157)])}}return n}function ufe(e,t){const n=[];for(;e;){const s=RT(e),l=s&&t.getSymbolAtLocation(s.expression);if(!l)break;const f=l.flags&2097152?t.getAliasedSymbol(l):l,d=f.declarations&&Ve(f.declarations,Ri);if(!d)break;n.push(d),e=d}return n}var F_t=p({"src/services/codefixes/generateAccessors.ts"(){Si()}});function R_t(e,t){const n=pn(t),s=o4(t),l=e.program.getCompilerOptions(),f=[];return f.push(q7e(e,n,t,T1(s.name,void 0,t.moduleSpecifier,gd(n,e.preferences)))),Zu(l)===1&&f.push(q7e(e,n,t,V.createImportEqualsDeclaration(void 0,!1,s.name,V.createExternalModuleReference(t.moduleSpecifier)))),f}function q7e(e,t,n,s){const l=jn.ChangeTracker.with(e,f=>f.replaceNode(t,n,s));return jm(ffe,l,[v.Replace_import_with_0,l[0].textChanges[0].newText])}function B_t(e){const t=e.sourceFile,n=v.This_expression_is_not_callable.code===e.errorCode?212:213,s=mn(Os(t,e.span.start),f=>f.kind===n);if(!s)return[];const l=s.expression;return W7e(e,l)}function j_t(e){const t=e.sourceFile,n=mn(Os(t,e.span.start),s=>s.getStart()===e.span.start&&s.getEnd()===e.span.start+e.span.length);return n?W7e(e,n):[]}function W7e(e,t){const n=e.program.getTypeChecker().getTypeAtLocation(t);if(!(n.symbol&&Yh(n.symbol)&&n.symbol.links.originatingImport))return[];const s=[],l=n.symbol.links.originatingImport;if(Dp(l)||Pi(s,R_t(e,l)),Ct(t)&&!(bf(t.parent)&&t.parent.name===t)){const f=e.sourceFile,d=jn.ChangeTracker.with(e,g=>g.replaceNode(f,t,V.createPropertyAccessExpression(t,"default"),{}));s.push(jm(ffe,d,v.Use_synthetic_default_member))}return s}var ffe,J_t=p({"src/services/codefixes/fixInvalidImportSyntax.ts"(){Si(),Ya(),ffe="invalidImportSyntax",Ga({errorCodes:[v.This_expression_is_not_callable.code,v.This_expression_is_not_constructable.code],getCodeActions:B_t}),Ga({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:j_t})}});function H7e(e,t){const n=Os(e,t);if(He(n)&&Ia(n.parent)){const s=Yu(n.parent);if(s)return{type:s,prop:n.parent,isJs:Mn(n.parent)}}}function U_t(e,t){if(t.isJs)return;const n=jn.ChangeTracker.with(e,s=>G7e(s,e.sourceFile,t.prop));return Oa(oW,n,[v.Add_definite_assignment_assertion_to_property_0,t.prop.getText()],cW,v.Add_definite_assignment_assertions_to_all_uninitialized_properties)}function G7e(e,t,n){cp(n);const s=V.updatePropertyDeclaration(n,n.modifiers,n.name,V.createToken(54),n.type,n.initializer);e.replaceNode(t,n,s)}function z_t(e,t){const n=jn.ChangeTracker.with(e,s=>X7e(s,e.sourceFile,t));return Oa(oW,n,[v.Add_undefined_type_to_property_0,t.prop.name.getText()],lW,v.Add_undefined_type_to_all_uninitialized_properties)}function X7e(e,t,n){const s=V.createKeywordTypeNode(157),l=Aw(n.type)?n.type.types.concat(s):[n.type,s],f=V.createUnionTypeNode(l);n.isJs?e.addJSDocTags(t,n.prop,[V.createJSDocTypeTag(void 0,V.createJSDocTypeExpression(f))]):e.replaceNode(t,n.type,f)}function V_t(e,t){if(t.isJs)return;const n=e.program.getTypeChecker(),s=Y7e(n,t.prop);if(!s)return;const l=jn.ChangeTracker.with(e,f=>Q7e(f,e.sourceFile,t.prop,s));return Oa(oW,l,[v.Add_initializer_to_property_0,t.prop.name.getText()],uW,v.Add_initializers_to_all_uninitialized_properties)}function Q7e(e,t,n,s){cp(n);const l=V.updatePropertyDeclaration(n,n.modifiers,n.name,n.questionToken,n.type,s);e.replaceNode(t,n,l)}function Y7e(e,t){return Z7e(e,e.getTypeFromTypeNode(t.type))}function Z7e(e,t){if(t.flags&512)return t===e.getFalseType()||t===e.getFalseType(!0)?V.createFalse():V.createTrue();if(t.isStringLiteral())return V.createStringLiteral(t.value);if(t.isNumberLiteral())return V.createNumericLiteral(t.value);if(t.flags&2048)return V.createBigIntLiteral(t.value);if(t.isUnion())return $e(t.types,n=>Z7e(e,n));if(t.isClass()){const n=Ky(t.symbol);if(!n||gi(n,256))return;const s=Yg(n);return s&&s.parameters.length?void 0:V.createNewExpression(V.createIdentifier(t.symbol.name),void 0,void 0)}else if(e.isArrayLikeType(t))return V.createArrayLiteralExpression()}var oW,cW,lW,uW,_fe,$_t=p({"src/services/codefixes/fixStrictClassInitialization.ts"(){Si(),Ya(),oW="strictClassInitialization",cW="addMissingPropertyDefiniteAssignmentAssertions",lW="addMissingPropertyUndefinedType",uW="addMissingPropertyInitializer",_fe=[v.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code],Ga({errorCodes:_fe,getCodeActions:function(t){const n=H7e(t.sourceFile,t.span.start);if(!n)return;const s=[];return zr(s,z_t(t,n)),zr(s,U_t(t,n)),zr(s,V_t(t,n)),s},fixIds:[cW,lW,uW],getAllCodeActions:e=>Zo(e,_fe,(t,n)=>{const s=H7e(n.file,n.start);if(s)switch(e.fixId){case cW:G7e(t,n.file,s.prop);break;case lW:X7e(t,n.file,s);break;case uW:const l=e.program.getTypeChecker(),f=Y7e(l,s.prop);if(!f)return;Q7e(t,n.file,s.prop,f);break;default:R.fail(JSON.stringify(e.fixId))}})})}});function K7e(e,t,n){const{allowSyntheticDefaults:s,defaultImportName:l,namedImports:f,statement:d,required:g}=n;e.replaceNode(t,d,l&&!s?V.createImportEqualsDeclaration(void 0,!1,l,V.createExternalModuleReference(g)):V.createImportDeclaration(void 0,V.createImportClause(!1,l,f),g,void 0))}function eIe(e,t,n){const{parent:s}=Os(e,n);M_(s,!0)||R.failBadSyntaxKind(s);const l=Ua(s.parent,bs),f=wi(l.name,He),d=Om(l.name)?q_t(l.name):void 0;if(f||d)return{allowSyntheticDefaults:vw(t.getCompilerOptions()),defaultImportName:f,namedImports:d,statement:Ua(l.parent.parent,Yl),required:Oo(s.arguments)}}function q_t(e){const t=[];for(const n of e.elements){if(!He(n.name)||n.initializer)return;t.push(V.createImportSpecifier(!1,wi(n.propertyName,He),n.name))}if(t.length)return V.createNamedImports(t)}var fW,pfe,W_t=p({"src/services/codefixes/requireInTs.ts"(){Si(),Ya(),fW="requireInTs",pfe=[v.require_call_may_be_converted_to_an_import.code],Ga({errorCodes:pfe,getCodeActions(e){const t=eIe(e.sourceFile,e.program,e.span.start);if(!t)return;const n=jn.ChangeTracker.with(e,s=>K7e(s,e.sourceFile,t));return[Oa(fW,n,v.Convert_require_to_import,fW,v.Convert_all_require_to_import)]},fixIds:[fW],getAllCodeActions:e=>Zo(e,pfe,(t,n)=>{const s=eIe(n.file,e.program,n.start);s&&K7e(t,e.sourceFile,s)})})}});function tIe(e,t){const n=Os(e,t);if(!He(n))return;const{parent:s}=n;if(cf(s)&&fg(s.moduleReference))return{importNode:s,name:n,moduleSpecifier:s.moduleReference.expression};if(Mv(s)){const l=s.parent.parent;return{importNode:l,name:n,moduleSpecifier:l.moduleSpecifier}}}function rIe(e,t,n,s){e.replaceNode(t,n.importNode,T1(n.name,void 0,n.moduleSpecifier,gd(t,s)))}var _W,dfe,H_t=p({"src/services/codefixes/useDefaultImport.ts"(){Si(),Ya(),_W="useDefaultImport",dfe=[v.Import_may_be_converted_to_a_default_import.code],Ga({errorCodes:dfe,getCodeActions(e){const{sourceFile:t,span:{start:n}}=e,s=tIe(t,n);if(!s)return;const l=jn.ChangeTracker.with(e,f=>rIe(f,t,s,e.preferences));return[Oa(_W,l,v.Convert_to_default_import,_W,v.Convert_all_to_default_imports)]},fixIds:[_W],getAllCodeActions:e=>Zo(e,dfe,(t,n)=>{const s=tIe(n.file,n.start);s&&rIe(t,n.file,s,e.preferences)})})}});function nIe(e,t,n){const s=wi(Os(t,n.start),Hp);if(!s)return;const l=s.getText(t)+"n";e.replaceNode(t,s,V.createBigIntLiteral(l))}var pW,mfe,G_t=p({"src/services/codefixes/useBigintLiteral.ts"(){Si(),Ya(),pW="useBigintLiteral",mfe=[v.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code],Ga({errorCodes:mfe,getCodeActions:function(t){const n=jn.ChangeTracker.with(t,s=>nIe(s,t.sourceFile,t.span));if(n.length>0)return[Oa(pW,n,v.Convert_to_a_bigint_numeric_literal,pW,v.Convert_all_to_bigint_numeric_literals)]},fixIds:[pW],getAllCodeActions:e=>Zo(e,mfe,(t,n)=>nIe(t,n.file,n))})}});function iIe(e,t){const n=Os(e,t);return R.assert(n.kind===102,"This token should be an ImportKeyword"),R.assert(n.parent.kind===204,"Token parent should be an ImportType"),n.parent}function sIe(e,t,n){const s=V.updateImportTypeNode(n,n.argument,n.assertions,n.qualifier,n.typeArguments,!0);e.replaceNode(t,n,s)}var aIe,dW,hfe,X_t=p({"src/services/codefixes/fixAddModuleReferTypeMissingTypeof.ts"(){Si(),Ya(),aIe="fixAddModuleReferTypeMissingTypeof",dW=aIe,hfe=[v.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code],Ga({errorCodes:hfe,getCodeActions:function(t){const{sourceFile:n,span:s}=t,l=iIe(n,s.start),f=jn.ChangeTracker.with(t,d=>sIe(d,n,l));return[Oa(dW,f,v.Add_missing_typeof,dW,v.Add_missing_typeof)]},fixIds:[dW],getAllCodeActions:e=>Zo(e,hfe,(t,n)=>sIe(t,e.sourceFile,iIe(n.file,n.start)))})}});function oIe(e,t){let l=Os(e,t).parent.parent;if(!(!Bn(l)&&(l=l.parent,!Bn(l)))&&pl(l.operatorToken))return l}function cIe(e,t,n){const s=Q_t(n);s&&e.replaceNode(t,n,V.createJsxFragment(V.createJsxOpeningFragment(),s,V.createJsxJsxClosingFragment()))}function Q_t(e){const t=[];let n=e;for(;;)if(Bn(n)&&pl(n.operatorToken)&&n.operatorToken.kind===28){if(t.push(n.left),WI(n.right))return t.push(n.right),t;if(Bn(n.right)){n=n.right;continue}else return}else return}var mW,gfe,Y_t=p({"src/services/codefixes/wrapJsxInFragment.ts"(){Si(),Ya(),mW="wrapJsxInFragment",gfe=[v.JSX_expressions_must_have_one_parent_element.code],Ga({errorCodes:gfe,getCodeActions:function(t){const{sourceFile:n,span:s}=t,l=oIe(n,s.start);if(!l)return;const f=jn.ChangeTracker.with(t,d=>cIe(d,n,l));return[Oa(mW,f,v.Wrap_in_JSX_fragment,mW,v.Wrap_all_unparented_JSX_in_JSX_fragment)]},fixIds:[mW],getAllCodeActions:e=>Zo(e,gfe,(t,n)=>{const s=oIe(e.sourceFile,n.start);s&&cIe(t,e.sourceFile,s)})})}});function lIe(e,t){const n=Os(e,t),s=wi(n.parent.parent,Wx);if(!s)return;const l=Xf(s.parent)?s.parent:wi(s.parent.parent,Mm);if(l)return{indexSignature:s,container:l}}function Z_t(e,t){return V.createTypeAliasDeclaration(e.modifiers,e.name,e.typeParameters,t)}function uIe(e,t,{indexSignature:n,container:s}){const f=(Xf(s)?s.members:s.type.members).filter(T=>!Wx(T)),d=Oo(n.parameters),g=V.createTypeParameterDeclaration(void 0,Ua(d.name,He),d.type),h=V.createMappedTypeNode(jP(n)?V.createModifier(148):void 0,g,void 0,n.questionToken,n.type,void 0),k=V.createIntersectionTypeNode([...NP(s),h,...f.length?[V.createTypeLiteralNode(f)]:ft]);e.replaceNode(t,s,Z_t(s,k))}var hW,yfe,K_t=p({"src/services/codefixes/convertToMappedObjectType.ts"(){Si(),Ya(),hW="fixConvertToMappedObjectType",yfe=[v.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code],Ga({errorCodes:yfe,getCodeActions:function(t){const{sourceFile:n,span:s}=t,l=lIe(n,s.start);if(!l)return;const f=jn.ChangeTracker.with(t,g=>uIe(g,n,l)),d=Zn(l.container.name);return[Oa(hW,f,[v.Convert_0_to_mapped_object_type,d],hW,[v.Convert_0_to_mapped_object_type,d])]},fixIds:[hW],getAllCodeActions:e=>Zo(e,yfe,(t,n)=>{const s=lIe(n.file,n.start);s&&uIe(t,n.file,s)})})}}),vfe,fIe,ept=p({"src/services/codefixes/removeAccidentalCallParentheses.ts"(){Si(),Ya(),vfe="removeAccidentalCallParentheses",fIe=[v.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code],Ga({errorCodes:fIe,getCodeActions(e){const t=mn(Os(e.sourceFile,e.span.start),Ra);if(!t)return;const n=jn.ChangeTracker.with(e,s=>{s.deleteRange(e.sourceFile,{pos:t.expression.end,end:t.end})});return[jm(vfe,n,v.Remove_parentheses)]},fixIds:[vfe]})}});function _Ie(e,t,n){const s=wi(Os(t,n.start),g=>g.kind===135),l=s&&wi(s.parent,R4);if(!l)return;let f=l;if(j_(l.parent)){const g=XP(l.expression,!1);if(He(g)){const h=ou(l.parent.pos,t);h&&h.kind!==105&&(f=l.parent)}}e.replaceNode(t,f,l.expression)}var gW,bfe,tpt=p({"src/services/codefixes/removeUnnecessaryAwait.ts"(){Si(),Ya(),gW="removeUnnecessaryAwait",bfe=[v.await_has_no_effect_on_the_type_of_this_expression.code],Ga({errorCodes:bfe,getCodeActions:function(t){const n=jn.ChangeTracker.with(t,s=>_Ie(s,t.sourceFile,t.span));if(n.length>0)return[Oa(gW,n,v.Remove_unnecessary_await,gW,v.Remove_all_unnecessary_uses_of_await)]},fixIds:[gW],getAllCodeActions:e=>Zo(e,bfe,(t,n)=>_Ie(t,n.file,n))})}});function pIe(e,t){return mn(Os(e,t.start),ju)}function dIe(e,t,n){if(!t)return;const s=R.checkDefined(t.importClause);e.replaceNode(n.sourceFile,t,V.updateImportDeclaration(t,t.modifiers,V.updateImportClause(s,s.isTypeOnly,s.name,void 0),t.moduleSpecifier,t.assertClause)),e.insertNodeAfter(n.sourceFile,t,V.createImportDeclaration(void 0,V.updateImportClause(s,s.isTypeOnly,void 0,s.namedBindings),t.moduleSpecifier,t.assertClause))}var Tfe,yW,rpt=p({"src/services/codefixes/splitTypeOnlyImport.ts"(){Si(),Ya(),Tfe=[v.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],yW="splitTypeOnlyImport",Ga({errorCodes:Tfe,fixIds:[yW],getCodeActions:function(t){const n=jn.ChangeTracker.with(t,s=>dIe(s,pIe(t.sourceFile,t.span),t));if(n.length)return[Oa(yW,n,v.Split_into_two_separate_import_declarations,yW,v.Split_all_invalid_type_only_imports)]},getAllCodeActions:e=>Zo(e,Tfe,(t,n)=>{dIe(t,pIe(e.sourceFile,n),e)})})}});function mIe(e,t,n){var s;const f=n.getTypeChecker().getSymbolAtLocation(Os(e,t));if(f===void 0)return;const d=wi((s=f==null?void 0:f.valueDeclaration)==null?void 0:s.parent,Tu);if(d===void 0)return;const g=Go(d,87,e);if(g!==void 0)return{symbol:f,token:g}}function hIe(e,t,n){e.replaceNode(t,n,V.createToken(121))}var vW,Sfe,npt=p({"src/services/codefixes/convertConstToLet.ts"(){Si(),Ya(),vW="fixConvertConstToLet",Sfe=[v.Cannot_assign_to_0_because_it_is_a_constant.code],Ga({errorCodes:Sfe,getCodeActions:function(t){const{sourceFile:n,span:s,program:l}=t,f=mIe(n,s.start,l);if(f===void 0)return;const d=jn.ChangeTracker.with(t,g=>hIe(g,n,f.token));return[xle(vW,d,v.Convert_const_to_let,vW,v.Convert_all_const_to_let)]},getAllCodeActions:e=>{const{program:t}=e,n=new Map;return aE(jn.ChangeTracker.with(e,s=>{oE(e,Sfe,l=>{const f=mIe(l.file,l.start,t);if(f&&Dm(n,vo(f.symbol)))return hIe(s,l.file,f.token)})}))},fixIds:[vW]})}});function gIe(e,t,n){const s=Os(e,t);return s.kind===27&&s.parent&&(jo(s.parent)||Hf(s.parent))?{node:s}:void 0}function yIe(e,t,{node:n}){const s=V.createToken(28);e.replaceNode(t,n,s)}var bW,vIe,xfe,ipt=p({"src/services/codefixes/fixExpectedComma.ts"(){Si(),Ya(),bW="fixExpectedComma",vIe=v._0_expected.code,xfe=[vIe],Ga({errorCodes:xfe,getCodeActions(e){const{sourceFile:t}=e,n=gIe(t,e.span.start,e.errorCode);if(!n)return;const s=jn.ChangeTracker.with(e,l=>yIe(l,t,n));return[Oa(bW,s,[v.Change_0_to_1,";",","],bW,[v.Change_0_to_1,";",","])]},fixIds:[bW],getAllCodeActions:e=>Zo(e,xfe,(t,n)=>{const s=gIe(n.file,n.start,n.code);s&&yIe(t,e.sourceFile,s)})})}});function bIe(e,t,n,s,l){const f=Os(t,n.start);if(!He(f)||!Ra(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||!ea(h)||!HT(h.parent.parent)||l!=null&&l.has(h))return;l==null||l.add(h);const k=spt(h.parent.parent);if(Ne(k)){const T=k[0],C=!Aw(T)&&!Dw(T)&&Dw(V.createUnionTypeNode([T,V.createKeywordTypeNode(116)]).types[0]);C&&e.insertText(t,T.pos,"("),e.insertText(t,T.end,C?") | void":" | void")}else{const T=d.getResolvedSignature(f.parent),C=T==null?void 0:T.parameters[0],D=C&&d.getTypeOfSymbolAtLocation(C,h.parent.parent);Mn(h)?(!D||D.flags&3)&&(e.insertText(t,h.parent.parent.end,")"),e.insertText(t,fo(t.text,h.parent.parent.pos),"/** @type {Promise<void>} */(")):(!D||D.flags&2)&&e.insertText(t,h.parent.parent.expression.end,"<void>")}}function spt(e){var t;if(Mn(e)){if(j_(e.parent)){const n=(t=kT(e.parent))==null?void 0:t.typeExpression.type;if(n&&Im(n)&&He(n.typeName)&&Zn(n.typeName)==="Promise")return n.typeArguments}}else return e.typeArguments}var TIe,kfe,Cfe,apt=p({"src/services/codefixes/fixAddVoidToPromise.ts"(){Si(),Ya(),TIe="addVoidToPromise",kfe="addVoidToPromise",Cfe=[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],Ga({errorCodes:Cfe,fixIds:[kfe],getCodeActions(e){const t=jn.ChangeTracker.with(e,n=>bIe(n,e.sourceFile,e.span,e.program));if(t.length>0)return[Oa(TIe,t,v.Add_void_to_Promise_resolved_without_a_value,kfe,v.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions(e){return Zo(e,Cfe,(t,n)=>bIe(t,n.file,n,e.program,new Set))}})}}),uf={};S(uf,{PreserveOptionalFlags:()=>lfe,addNewNodeForMemberSymbol:()=>L7e,codeFixAll:()=>Zo,createCodeFixAction:()=>Oa,createCodeFixActionMaybeFixAll:()=>xle,createCodeFixActionWithoutFixAll:()=>jm,createCombinedCodeActions:()=>aE,createFileTextChanges:()=>UDe,createImportAdder:()=>Tk,createImportSpecifierResolver:()=>but,createJsonPropertyAssignment:()=>aW,createMissingMemberNodes:()=>tfe,createSignatureDeclarationFromCallExpression:()=>rfe,createSignatureDeclarationFromSignature:()=>iW,createStubbedBody:()=>ML,eachDiagnostic:()=>oE,findAncestorMatchingSpan:()=>cfe,findJsonProperty:()=>ofe,generateAccessorFromProperty:()=>J7e,getAccessorConvertiblePropertyAtPosition:()=>V7e,getAllFixes:()=>Qct,getAllSupers:()=>ufe,getArgumentTypesAndTypeParameters:()=>R7e,getFixes:()=>Xct,getImportCompletionAction:()=>Tut,getImportKind:()=>Zle,getJSDocTypedefNode:()=>mut,getNoopSymbolTrackerWithResolver:()=>lE,getPromoteTypeOnlyCompletionAction:()=>Sut,getSupportedErrorCodes:()=>Hct,importFixName:()=>iue,importSymbols:()=>uE,moduleSpecifierToValidIdentifier:()=>nue,moduleSymbolToValidIdentifier:()=>rue,parameterShouldGetTypeFromJSDoc:()=>a8e,registerCodeFix:()=>Ga,setJsonCompilerOptionValue:()=>afe,setJsonCompilerOptionValues:()=>sfe,tryGetAutoImportableReferenceFromTypeNode:()=>xk,typeToAutoImportableTypeNode:()=>sW});var Ya=p({"src/services/_namespaces/ts.codefix.ts"(){Yct(),Zct(),Kct(),rlt(),olt(),flt(),_lt(),plt(),dlt(),ylt(),Alt(),Dlt(),Ult(),sut(),aut(),cut(),lut(),hut(),gut(),vut(),zut(),qut(),Gut(),Xut(),Qut(),Kut(),rft(),sft(),uft(),bft(),Sft(),xft(),Cft(),wft(),Eft(),Aft(),Dft(),Nft(),Ift(),Oft(),Lft(),Fft(),jft(),Vft(),Zft(),e_t(),t_t(),i_t(),s_t(),o_t(),c_t(),h_t(),g_t(),y_t(),k_t(),F_t(),J_t(),$_t(),W_t(),H_t(),G_t(),X_t(),Y_t(),K_t(),ept(),tpt(),rpt(),npt(),ipt(),apt()}});function opt(e){return!!(e.kind&1)}function cpt(e){return!!(e.kind&2)}function FL(e){return!!(e&&e.kind&4)}function vA(e){return!!(e&&e.kind===32)}function lpt(e){return FL(e)||vA(e)||wfe(e)}function upt(e){return(FL(e)||vA(e))&&!!e.isFromPackageJson}function fpt(e){return!!(e.kind&8)}function _pt(e){return!!(e.kind&16)}function SIe(e){return!!(e&&e.kind&64)}function xIe(e){return!!(e&&e.kind&128)}function ppt(e){return!!(e&&e.kind&256)}function wfe(e){return!!(e&&e.kind&512)}function kIe(e,t,n,s,l,f,d,g,h){var k,T,C;const D=Uc(),O=d||bw(wl(s.getCompilerOptions()));let M=!1,U=0,B=0,H=0,Y=0;const Z=h({tryResolve:Q,skippedAny:()=>M,resolvedAny:()=>B>0,resolvedBeyondLimit:()=>B>DW}),fe=Y?` (${(H/Y*100).toFixed(1)}% hit rate)`:"";return(k=t.log)==null||k.call(t,`${e}: resolved ${B} module specifiers, plus ${U} ambient and ${H} from cache${fe}`),(T=t.log)==null||T.call(t,`${e}: response is ${M?"incomplete":"complete"}`),(C=t.log)==null||C.call(t,`${e}: ${Uc()-D}`),Z;function Q(he,W){if(W){const K=n.getModuleSpecifierForBestExportInfo(he,l,g);return K&&U++,K||"failed"}const ye=O||f.allowIncompleteCompletions&&B<DW,de=!ye&&f.allowIncompleteCompletions&&Y<Ffe,Ce=ye||de?n.getModuleSpecifierForBestExportInfo(he,l,g,de):void 0;return(!ye&&!de||de&&!Ce)&&(M=!0),B+=(Ce==null?void 0:Ce.computedWithoutCacheCount)||0,H+=he.length-((Ce==null?void 0:Ce.computedWithoutCacheCount)||0),de&&Y++,Ce||(O?"failed":"skipped")}}function dpt(e,t,n,s,l,f,d,g,h,k,T=!1){var C;const{previousToken:D}=kW(l,s);if(d&&!mk(s,l,D)&&!Xpt(s,d,D,l))return;if(d===" ")return f.includeCompletionsForImportStatements&&f.includeCompletionsWithInsertText?{isGlobalCompletion:!0,isMemberCompletion:!1,isNewIdentifierLocation:!0,isIncomplete:!0,entries:[]}:void 0;const O=t.getCompilerOptions(),M=t.getTypeChecker(),U=f.allowIncompleteCompletions?(C=e.getIncompleteCompletionsCache)==null?void 0:C.call(e):void 0;if(U&&g===3&&D&&He(D)){const Y=mpt(U,s,D,t,e,f,h,l);if(Y)return Y}else U==null||U.clear();const B=IW.getStringLiteralCompletions(s,l,D,O,e,t,n,f,T);if(B)return B;if(D&&mP(D.parent)&&(D.kind===83||D.kind===88||D.kind===80))return Lpt(D.parent);const H=FIe(t,n,s,O,l,f,void 0,e,k,h);if(H)switch(H.kind){case 0:const Y=bpt(s,e,t,O,n,H,f,k,l,T);return Y!=null&&Y.isIncomplete&&(U==null||U.set(Y)),Y;case 1:return Efe([...m2.getJSDocTagNameCompletions(),...wIe(s,l,M,O,f,!0)]);case 2:return Efe([...m2.getJSDocTagCompletions(),...wIe(s,l,M,O,f,!1)]);case 3:return Efe(m2.getJSDocParameterNameCompletions(H.tag));case 4:return ypt(H.keywordCompletions,H.isNewIdentifierLocation);default:return R.assertNever(H)}}function RL(e,t){var n,s;let l=cI(e.sortText,t.sortText);return l===0&&(l=cI(e.name,t.name)),l===0&&((n=e.data)!=null&&n.moduleSpecifier)&&((s=t.data)!=null&&s.moduleSpecifier)&&(l=q5(e.data.moduleSpecifier,t.data.moduleSpecifier)),l===0?-1:l}function CIe(e){return!!(e!=null&&e.moduleSpecifier)}function mpt(e,t,n,s,l,f,d,g){const h=e.get();if(!h)return;const k=Qp(t,g),T=n.text.toLowerCase(),C=nL(t,l,s,f,d),D=kIe("continuePreviousIncompleteResponse",l,uf.createImportSpecifierResolver(t,s,l,f),s,n.getStart(),f,!1,$x(n),O=>{const M=lr(h.entries,U=>{var B;if(!U.hasAction||!U.source||!U.data||CIe(U.data))return U;if(!XIe(U.name,T))return;const{origin:H}=R.checkDefined(RIe(U.name,U.data,s,l)),Y=C.get(t.path,U.data.exportMapKey),Z=Y&&O.tryResolve(Y,!Lu(tm(H.moduleSymbol.name)));if(Z==="skipped")return U;if(!Z||Z==="failed"){(B=l.log)==null||B.call(l,`Unexpected failure resolving auto import for '${U.name}' from '${U.source}'`);return}const fe={...H,kind:32,moduleSpecifier:Z.moduleSpecifier};return U.data=OIe(fe),U.source=Pfe(fe),U.sourceDisplay=[Yp(fe.moduleSpecifier)],U});return O.skippedAny()||(h.isIncomplete=void 0),M});return h.entries=D,h.flags=(h.flags||0)|4,h.optionalReplacementSpan=PIe(k),h}function Efe(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:e}}function wIe(e,t,n,s,l,f){const d=Os(e,t);if(!q6(d)&&!sm(d))return[];const g=sm(d)?d:d.parent;if(!sm(g))return[];const h=g.parent;if(!Sa(h))return[];const k=qf(e),T=l.includeCompletionsWithSnippetText||void 0,C=Sn(g.tags,D=>Fm(D)&&D.getEnd()<=t);return lr(h.parameters,D=>{if(!R6(D).length){if(He(D.name)){const O={tabstop:1},M=D.name.text;let U=L8(M,D.initializer,D.dotDotDotToken,k,!1,!1,n,s,l),B=T?L8(M,D.initializer,D.dotDotDotToken,k,!1,!0,n,s,l,O):void 0;return f&&(U=U.slice(1),B&&(B=B.slice(1))),{name:U,kind:"parameter",sortText:zu.LocationPriority,insertText:T?B:void 0,isSnippet:T}}else if(D.parent.parameters.indexOf(D)===C){const O=`param${C}`,M=EIe(O,D.name,D.initializer,D.dotDotDotToken,k,!1,n,s,l),U=T?EIe(O,D.name,D.initializer,D.dotDotDotToken,k,!0,n,s,l):void 0;let B=M.join(l1(s)+"* "),H=U==null?void 0:U.join(l1(s)+"* ");return f&&(B=B.slice(1),H&&(H=H.slice(1))),{name:B,kind:"parameter",sortText:zu.LocationPriority,insertText:T?H:void 0,isSnippet:T}}}})}function EIe(e,t,n,s,l,f,d,g,h){if(!l)return[L8(e,n,s,l,!1,f,d,g,h,{tabstop:1})];return k(e,t,n,s,{tabstop:1});function k(C,D,O,M,U){if(Om(D)&&!M){const H={tabstop:U.tabstop},Y=L8(C,O,M,l,!0,f,d,g,h,H);let Z=[];for(const fe of D.elements){const Q=T(C,fe,H);if(Q)Z.push(...Q);else{Z=void 0;break}}if(Z)return U.tabstop=H.tabstop,[Y,...Z]}return[L8(C,O,M,l,!1,f,d,g,h,U)]}function T(C,D,O){if(!D.propertyName&&He(D.name)||He(D.name)){const M=D.propertyName?kP(D.propertyName):D.name.text;if(!M)return;const U=`${C}.${M}`;return[L8(U,D.initializer,D.dotDotDotToken,l,!1,f,d,g,h,O)]}else if(D.propertyName){const M=kP(D.propertyName);return M&&k(`${C}.${M}`,D.name,D.initializer,D.dotDotDotToken,O)}}}function L8(e,t,n,s,l,f,d,g,h,k){if(f&&R.assertIsDefined(k),t&&(e=hpt(e,t)),f&&(e=qT(e)),s){let T="*";if(l)R.assert(!n,"Cannot annotate a rest parameter with type 'Object'."),T="Object";else{if(t){const O=d.getTypeAtLocation(t.parent);if(!(O.flags&16385)){const M=t.getSourceFile(),B=gd(M,h)===0?268435456:0,H=d.typeToTypeNode(O,mn(t,Sa),B);if(H){const Y=f?xW({removeComments:!0,module:g.module,target:g.target}):l2({removeComments:!0,module:g.module,target:g.target});An(H,1),T=Y.printNode(4,H,M)}}}f&&T==="*"&&(T=`\${${k.tabstop++}:${T}}`)}const C=!l&&n?"...":"",D=f?`\${${k.tabstop++}}`:"";return`@param {${C}${T}} ${e} ${D}`}else{const T=f?`\${${k.tabstop++}}`:"";return`@param ${e} ${T}`}}function hpt(e,t){const n=t.getText().trim();return n.includes(`
`)||n.length>80?`[${e}]`:`[${e}=${n}]`}function gpt(e){return{name:io(e),kind:"keyword",kindModifiers:"",sortText:zu.GlobalsOrKeywords}}function ypt(e,t){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:t,entries:e.slice()}}function AIe(e,t,n){return{kind:4,keywordCompletions:BIe(e,t),isNewIdentifierLocation:n}}function vpt(e){switch(e){case 156:return 8;default:R.fail("Unknown mapping from SyntaxKind to KeywordCompletionFilters")}}function PIe(e){return(e==null?void 0:e.kind)===80?u_(e):void 0}function bpt(e,t,n,s,l,f,d,g,h,k){const{symbols:T,contextToken:C,completionKind:D,isInSnippetScope:O,isNewIdentifierLocation:M,location:U,propertyAccessToConvert:B,keywordFilters:H,symbolToOriginInfoMap:Y,recommendedCompletion:Z,isJsxInitializer:fe,isTypeOnlyLocation:Q,isJsxIdentifierExpected:he,isRightOfOpenTag:W,isRightOfDotOrQuestionDot:ye,importStatementCompletion:de,insideJsDocTagTypeExpression:Ce,symbolToSortTextMap:K,hasUnresolvedAutoImports:ce}=f;let le=f.literals;const xe=n.getTypeChecker();if(j5(e.scriptKind)===1){const qe=Spt(U,e);if(qe)return qe}const we=mn(C,ED);if(we&&(Gxe(C)||FT(C,we.expression))){const qe=HV(xe,we.parent.clauses);le=le.filter(Ke=>!qe.hasValue(Ke)),T.forEach((Ke,Me)=>{if(Ke.valueDeclaration&&KT(Ke.valueDeclaration)){const ze=xe.getConstantValue(Ke.valueDeclaration);ze!==void 0&&qe.hasValue(ze)&&(Y[Me]={kind:256})}})}const Ie=ao(),ue=DIe(e,s);if(ue&&!M&&(!T||T.length===0)&&H===0)return;const ut=Dfe(T,Ie,void 0,C,U,h,e,t,n,Eo(s),l,D,d,s,g,Q,B,he,fe,de,Z,Y,K,he,W,k);if(H!==0)for(const qe of BIe(H,!Ce&&qf(e)))(Q&&i8(Sx(qe.name))||!ut.has(qe.name))&&(ut.add(qe.name),ha(Ie,qe,RL,!0));for(const qe of $pt(C,h))ut.has(qe.name)||(ut.add(qe.name),ha(Ie,qe,RL,!0));for(const qe of le){const Ke=kpt(e,d,qe);ut.add(Ke.name),ha(Ie,Ke,RL,!0)}ue||xpt(e,U.pos,ut,Eo(s),Ie);let Ge;if(d.includeCompletionsWithInsertText&&C&&!W&&!ye&&(Ge=mn(C,CD))){const qe=NIe(Ge,e,d,s,t,n,g);qe&&Ie.push(qe.entry)}return{flags:f.flags,isGlobalCompletion:O,isIncomplete:d.allowIncompleteCompletions&&ce?!0:void 0,isMemberCompletion:Tpt(D),isNewIdentifierLocation:M,optionalReplacementSpan:PIe(U),entries:Ie}}function DIe(e,t){return!qf(e)||!!G5(e,t)}function NIe(e,t,n,s,l,f,d){const g=e.clauses,h=f.getTypeChecker(),k=h.getTypeAtLocation(e.parent.expression);if(k&&k.isUnion()&&ot(k.types,T=>T.isLiteral())){const T=HV(h,g),C=Eo(s),D=gd(t,n),O=uf.createImportAdder(t,f,n,l),M=[];for(const Q of k.types)if(Q.flags&1024){R.assert(Q.symbol,"An enum member type should have a symbol"),R.assert(Q.symbol.parent,"An enum member type should have a parent symbol (the enum symbol)");const he=Q.symbol.valueDeclaration&&h.getConstantValue(Q.symbol.valueDeclaration);if(he!==void 0){if(T.hasValue(he))continue;T.addValue(he)}const W=uf.typeToAutoImportableTypeNode(h,O,Q,e,C);if(!W)return;const ye=TW(W,C,D);if(!ye)return;M.push(ye)}else if(!T.hasValue(Q.value))switch(typeof Q.value){case"object":M.push(Q.value.negative?V.createPrefixUnaryExpression(41,V.createBigIntLiteral({negative:!1,base10Value:Q.value.base10Value})):V.createBigIntLiteral(Q.value));break;case"number":M.push(Q.value<0?V.createPrefixUnaryExpression(41,V.createNumericLiteral(-Q.value)):V.createNumericLiteral(Q.value));break;case"string":M.push(V.createStringLiteral(Q.value,D===0));break}if(M.length===0)return;const U=qt(M,Q=>V.createCaseClause(Q,[])),B=zv(l,d==null?void 0:d.options),H=xW({removeComments:!0,module:s.module,target:s.target,newLine:rL(B)}),Y=d?Q=>H.printAndFormatNode(4,Q,t,d):Q=>H.printNode(4,Q,t),Z=qt(U,(Q,he)=>n.includeCompletionsWithSnippetText?`${Y(Q)}$${he+1}`:`${Y(Q)}`).join(B);return{entry:{name:`${H.printNode(4,U[0],t)} ...`,kind:"",sortText:zu.GlobalsOrKeywords,insertText:Z,hasAction:O.hasFixes()||void 0,source:"SwitchCases/",isSnippet:n.includeCompletionsWithSnippetText?!0:void 0},importAdder:O}}}function TW(e,t,n){switch(e.kind){case 182:const s=e.typeName;return SW(s,t,n);case 198:const l=TW(e.objectType,t,n),f=TW(e.indexType,t,n);return l&&f&&V.createElementAccessExpression(l,f);case 200:const d=e.literal;switch(d.kind){case 11:return V.createStringLiteral(d.text,n===0);case 9:return V.createNumericLiteral(d.text,d.numericLiteralFlags)}return;case 195:const g=TW(e.type,t,n);return g&&(He(g)?g:V.createParenthesizedExpression(g));case 185:return SW(e.exprName,t,n);case 204:R.fail("We should not get an import type after calling 'codefix.typeToAutoImportableTypeNode'.")}}function SW(e,t,n){if(He(e))return e;const s=xs(e.right.escapedText);return Gte(s,t)?V.createPropertyAccessExpression(SW(e.left,t,n),s):V.createElementAccessExpression(SW(e.left,t,n),V.createStringLiteral(s,n===0))}function Tpt(e){switch(e){case 0:case 3:case 2:return!0;default:return!1}}function Spt(e,t){const n=mn(e,s=>{switch(s.kind){case 286:return!0;case 44:case 32:case 80:case 210:return!1;default:return"quit"}});if(n){const s=!!Go(n,32,t),d=n.parent.openingElement.tagName.getText(t)+(s?"":">"),g=u_(n.tagName),h={name:d,kind:"class",kindModifiers:void 0,sortText:zu.LocationPriority};return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:g,entries:[h]}}}function xpt(e,t,n,s,l){fle(e).forEach((f,d)=>{if(f===t)return;const g=xs(d);!n.has(g)&&od(g,s)&&(n.add(g),ha(l,{name:g,kind:"warning",kindModifiers:"",sortText:zu.JavascriptIdentifiers,isFromUncheckedFile:!0},RL))})}function Afe(e,t,n){return typeof n=="object"?$T(n)+"n":Wa(n)?l8(e,t,n):JSON.stringify(n)}function kpt(e,t,n){return{name:Afe(e,t,n),kind:"string",kindModifiers:"",sortText:zu.LocationPriority}}function Cpt(e,t,n,s,l,f,d,g,h,k,T,C,D,O,M,U,B,H,Y,Z,fe,Q,he,W){let ye,de=foe(n),Ce,K,ce=Pfe(C),le,xe,we;const Ie=h.getTypeChecker(),ue=C&&_pt(C),ut=C&&cpt(C)||T;if(C&&opt(C))ye=T?`this${ue?"?.":""}[${LIe(d,Y,k)}]`:`this${ue?"?.":"."}${k}`;else if((ut||ue)&&O){ye=ut?T?`[${LIe(d,Y,k)}]`:`[${k}]`:k,(ue||O.questionDotToken)&&(ye=`?.${ye}`);const Ge=Go(O,25,d)||Go(O,29,d);if(!Ge)return;const qe=Xs(k,O.name.text)?O.name.end:Ge.end;de=nu(Ge.getStart(d),qe)}if(M&&(ye===void 0&&(ye=k),ye=`{${ye}}`,typeof M!="boolean"&&(de=u_(M,d))),C&&fpt(C)&&O){ye===void 0&&(ye=k);const Ge=ou(O.pos,d);let qe="";Ge&&FV(Ge.end,Ge.parent,d)&&(qe=";"),qe+=`(await ${O.expression.getText()})`,ye=T?`${qe}${ye}`:`${qe}${ue?"?.":"."}${ye}`;const Me=wi(O.parent,R4)?O.parent:O.expression;de=nu(Me.getStart(d),O.end)}if(vA(C)&&(le=[Yp(C.moduleSpecifier)],U&&({insertText:ye,replacementSpan:de}=Ipt(k,U,C,B,d,H,Y),K=Y.includeCompletionsWithSnippetText?!0:void 0)),(C==null?void 0:C.kind)===64&&(xe=!0),Y.includeCompletionsWithClassMemberSnippets&&Y.includeCompletionsWithInsertText&&Z===3&&wpt(e,l,d)){let Ge;({insertText:ye,isSnippet:K,importAdder:Ge,replacementSpan:de}=IIe(g,h,H,Y,k,e,l,f,s,fe)),t=zu.ClassMemberSnippets,Ge!=null&&Ge.hasFixes()&&(xe=!0,ce="ClassMemberSnippet/")}if(C&&xIe(C)&&({insertText:ye,isSnippet:K,labelDetails:we}=C,Y.useLabelDetailsInCompletionEntries||(k=k+we.detail,we=void 0),ce="ObjectLiteralMethodSnippet/",t=zu.SortBelow(t)),Q&&!he&&Y.includeCompletionsWithSnippetText&&Y.jsxAttributeCompletionStyle&&Y.jsxAttributeCompletionStyle!=="none"&&!(bh(l.parent)&&l.parent.initializer)){let Ge=Y.jsxAttributeCompletionStyle==="braces";const qe=Ie.getTypeOfSymbolAtLocation(e,l);Y.jsxAttributeCompletionStyle==="auto"&&!(qe.flags&528)&&!(qe.flags&1048576&&Ve(qe.types,Ke=>!!(Ke.flags&528)))&&(qe.flags&402653316||qe.flags&1048576&&ot(qe.types,Ke=>!!(Ke.flags&402686084||_Ae(Ke)))?(ye=`${qT(k)}=${l8(d,Y,"$1")}`,K=!0):Ge=!0),Ge&&(ye=`${qT(k)}={$1}`,K=!0)}if(!(ye!==void 0&&!Y.includeCompletionsWithInsertText))return(FL(C)||vA(C))&&(Ce=OIe(C),xe=!U),{name:k,kind:x1.getSymbolKind(Ie,e,l),kindModifiers:x1.getSymbolModifiers(Ie,e),sortText:t,source:ce,hasAction:xe?!0:void 0,isRecommended:Opt(e,D,Ie)||void 0,insertText:ye,replacementSpan:de,sourceDisplay:le,labelDetails:we,isSnippet:K,isPackageJsonImport:upt(C)||void 0,isImportStatementCompletion:!!U||void 0,data:Ce,...W?{symbol:e}:void 0}}function wpt(e,t,n){if(Mn(t))return!1;const s=106500;return!!(e.flags&s)&&(Ri(t)||t.parent&&t.parent.parent&&Mu(t.parent)&&t===t.parent.name&&t.parent.getLastToken(n)===t.parent.name&&Ri(t.parent.parent)||t.parent&&$4(t)&&Ri(t.parent))}function IIe(e,t,n,s,l,f,d,g,h,k){const T=mn(d,Ri);if(!T)return{insertText:l};let C,D,O=l;const M=t.getTypeChecker(),U=d.getSourceFile(),B=xW({removeComments:!0,module:n.module,target:n.target,omitTrailingSemicolon:!1,newLine:rL(zv(e,k==null?void 0:k.options))}),H=uf.createImportAdder(U,t,s,e);let Y;if(s.includeCompletionsWithSnippetText){C=!0;const ye=V.createEmptyStatement();Y=V.createBlock([ye],!0),Ere(ye,{kind:0,order:0})}else Y=V.createBlock([],!0);let Z=0;const{modifiers:fe,span:Q}=Ept(h,U,g),he=!!(fe&256),W=[];return uf.addNewNodeForMemberSymbol(f,T,U,{program:t,host:e},s,H,ye=>{let de=0;he&&(de|=256),Mu(ye)&&M.getMemberOverrideModifierStatus(T,ye,f)===1&&(de|=16384),W.length||(Z=ye.modifierFlagsCache|de|fe),ye=V.updateModifiers(ye,Z),W.push(ye)},Y,uf.PreserveOptionalFlags.Property,he),W.length&&(D=Q,k?O=B.printAndFormatSnippetList(131073,V.createNodeArray(W),U,k):O=B.printSnippetList(131073,V.createNodeArray(W),U)),{insertText:O,isSnippet:C,importAdder:H,replacementSpan:D}}function Ept(e,t,n){if(!e||Vc(t,n).line>Vc(t,e.getEnd()).line)return{modifiers:0};let s=0,l,f;return(f=Apt(e))&&(s|=hw(f),l=u_(e)),Ia(e.parent)&&(s|=ng(e.parent.modifiers)&126975,l=u_(e.parent)),{modifiers:s,span:l}}function Apt(e){if(Ha(e))return e.kind;if(He(e)){const t=qb(e);if(t&&r1(t))return t}}function Ppt(e,t,n,s,l,f,d,g){const h=d.includeCompletionsWithSnippetText||void 0;let k=t;const T=n.getSourceFile(),C=Dpt(e,n,T,s,l,d);if(!C)return;const D=xW({removeComments:!0,module:f.module,target:f.target,omitTrailingSemicolon:!1,newLine:rL(zv(l,g==null?void 0:g.options))});g?k=D.printAndFormatSnippetList(80,V.createNodeArray([C],!0),T,g):k=D.printSnippetList(80,V.createNodeArray([C],!0),T);const O=l2({removeComments:!0,module:f.module,target:f.target,omitTrailingSemicolon:!0}),M=V.createMethodSignature(void 0,"",C.questionToken,C.typeParameters,C.parameters,C.type),U={detail:O.printNode(4,M,T)};return{isSnippet:h,insertText:k,labelDetails:U}}function Dpt(e,t,n,s,l,f){const d=e.getDeclarations();if(!(d&&d.length))return;const g=s.getTypeChecker(),h=d[0],k=Fc(ia(h),!1),T=g.getWidenedType(g.getTypeOfSymbolAtLocation(e,t)),D=33554432|(gd(n,f)===0?268435456:0);switch(h.kind){case 170:case 171:case 172:case 173:{let O=T.flags&1048576&&T.types.length<10?g.getUnionType(T.types,2):T;if(O.flags&1048576){const Y=gr(O.types,Z=>g.getSignaturesOfType(Z,0).length>0);if(Y.length===1)O=Y[0];else return}if(g.getSignaturesOfType(O,0).length!==1)return;const U=g.typeToTypeNode(O,t,D,uf.getNoopSymbolTrackerWithResolver({program:s,host:l}));if(!U||!ry(U))return;let B;if(f.includeCompletionsWithSnippetText){const Y=V.createEmptyStatement();B=V.createBlock([Y],!0),Ere(Y,{kind:0,order:0})}else B=V.createBlock([],!0);const H=U.parameters.map(Y=>V.createParameterDeclaration(void 0,Y.dotDotDotToken,Y.name,void 0,void 0,Y.initializer));return V.createMethodDeclaration(void 0,void 0,k,void 0,void 0,H,void 0,B)}default:return}}function xW(e){let t;const n=jn.createWriter(l1(e)),s=l2(e,n),l={...n,write:D=>f(D,()=>n.write(D)),nonEscapingWrite:n.write,writeLiteral:D=>f(D,()=>n.writeLiteral(D)),writeStringLiteral:D=>f(D,()=>n.writeStringLiteral(D)),writeSymbol:(D,O)=>f(D,()=>n.writeSymbol(D,O)),writeParameter:D=>f(D,()=>n.writeParameter(D)),writeComment:D=>f(D,()=>n.writeComment(D)),writeProperty:D=>f(D,()=>n.writeProperty(D))};return{printSnippetList:d,printAndFormatSnippetList:h,printNode:k,printAndFormatNode:C};function f(D,O){const M=qT(D);if(M!==D){const U=n.getTextPos();O();const B=n.getTextPos();t=zr(t||(t=[]),{newText:M,span:{start:U,length:B-U}})}else O()}function d(D,O,M){const U=g(D,O,M);return t?jn.applyChanges(U,t):U}function g(D,O,M){return t=void 0,l.clear(),s.writeList(D,O,M,l),l.getText()}function h(D,O,M,U){const B={text:g(D,O,M),getLineAndCharacterOfPosition(fe){return Vc(this,fe)}},H=WV(U,M),Y=ln(O,fe=>{const Q=jn.assignPositionsToNode(fe);return du.formatNodeGivenIndentation(Q,B,M.languageVariant,0,0,{...U,options:H})}),Z=t?G0(wr(Y,t),(fe,Q)=>uB(fe.span,Q.span)):Y;return jn.applyChanges(B.text,Z)}function k(D,O,M){const U=T(D,O,M);return t?jn.applyChanges(U,t):U}function T(D,O,M){return t=void 0,l.clear(),s.writeNode(D,O,M,l),l.getText()}function C(D,O,M,U){const B={text:T(D,O,M),getLineAndCharacterOfPosition(Q){return Vc(this,Q)}},H=WV(U,M),Y=jn.assignPositionsToNode(O),Z=du.formatNodeGivenIndentation(Y,B,M.languageVariant,0,0,{...U,options:H}),fe=t?G0(wr(Z,t),(Q,he)=>uB(Q.span,he.span)):Z;return jn.applyChanges(B.text,fe)}}function OIe(e){const t=e.fileName?void 0:tm(e.moduleSymbol.name),n=e.isFromPackageJson?!0:void 0;return vA(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:tm(e.moduleSymbol.name),isPackageJsonImport:e.isFromPackageJson?!0:void 0}}function Npt(e,t,n){const s=e.exportName==="default",l=!!e.isPackageJsonImport;return CIe(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 Ipt(e,t,n,s,l,f,d){const g=t.replacementSpan,h=qT(l8(l,d,n.moduleSpecifier)),k=n.isDefaultExport?1:n.exportName==="export="?2:0,T=d.includeCompletionsWithSnippetText?"$1":"",C=uf.getImportKind(l,k,f,!0),D=t.couldBeTypeOnlyImportSpecifier,O=t.isTopLevelTypeOnly?` ${io(156)} `:" ",M=D?`${io(156)} `:"",U=s?";":"";switch(C){case 3:return{replacementSpan:g,insertText:`import${O}${qT(e)}${T} = require(${h})${U}`};case 1:return{replacementSpan:g,insertText:`import${O}${qT(e)}${T} from ${h}${U}`};case 2:return{replacementSpan:g,insertText:`import${O}* as ${qT(e)} from ${h}${U}`};case 0:return{replacementSpan:g,insertText:`import${O}{ ${M}${qT(e)}${T} } from ${h}${U}`}}}function LIe(e,t,n){return/^\d+$/.test(n)?n:l8(e,t,n)}function Opt(e,t,n){return e===t||!!(e.flags&1048576)&&n.getExportSymbolOfSymbol(e)===t}function Pfe(e){if(FL(e))return tm(e.moduleSymbol.name);if(vA(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 Dfe(e,t,n,s,l,f,d,g,h,k,T,C,D,O,M,U,B,H,Y,Z,fe,Q,he,W,ye,de=!1){const Ce=Uc(),K=edt(s),ce=tL(d),le=h.getTypeChecker(),xe=new Map;for(let Ie=0;Ie<e.length;Ie++){const ue=e[Ie],ut=Q==null?void 0:Q[Ie],Ge=CW(ue,k,ut,C,!!H);if(!Ge||xe.get(Ge.name)&&(!ut||!xIe(ut))||C===1&&he&&!we(ue,he))continue;const{name:qe,needsConvertPropertyAccess:Ke}=Ge,Me=(he==null?void 0:he[vo(ue)])??zu.LocationPriority,ze=rdt(ue,le)?zu.Deprecated(Me):Me,st=Cpt(ue,ze,n,s,l,f,d,g,h,qe,Ke,ut,fe,B,Y,Z,ce,O,D,C,M,W,ye,de);if(!st)continue;const et=(!ut||SIe(ut))&&!(ue.parent===void 0&&!Ne(ue.declarations,je=>je.getSourceFile()===l.getSourceFile()));xe.set(qe,et),ha(t,st,RL,!0)}return T("getCompletionsAtPosition: getCompletionEntriesFromSymbols: "+(Uc()-Ce)),{has:Ie=>xe.has(Ie),add:Ie=>xe.set(Ie,!0)};function we(Ie,ue){var ut;let Ge=Ie.flags;if(!Cs(l)){if(Pl(l.parent))return!0;if(wi(K,bs)&&Ie.valueDeclaration===K)return!1;const qe=Ie.valueDeclaration??((ut=Ie.declarations)==null?void 0:ut[0]);if(K&&qe&&(qc(K)&&qc(qe)||ea(K)&&ea(qe))){const Me=qe.pos,ze=ea(K)?K.parent.parameters:Pw(K.parent)?void 0:K.parent.typeParameters;if(Me>=K.pos&&ze&&Me<ze.end)return!1}const Ke=F_(Ie,le);if(d.externalModuleIndicator&&!O.allowUmdGlobalAccess&&ue[vo(Ie)]===zu.GlobalsOrKeywords&&(ue[vo(Ke)]===zu.AutoImportSuggestions||ue[vo(Ke)]===zu.LocationPriority))return!1;if(Ge|=WP(Ke),oV(l))return!!(Ge&1920);if(U)return Mfe(Ie,le)}return!!(Ge&111551)}}function Lpt(e){const t=Mpt(e);if(t.length)return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:t}}function Mpt(e){const t=[],n=new Map;let s=e;for(;s&&!Sa(s);){if(GT(s)){const l=s.label.text;n.has(l)||(n.set(l,!0),t.push({name:l,kindModifiers:"",kind:"label",sortText:zu.LocationPriority}))}s=s.parent}return t}function MIe(e,t,n,s,l,f,d){if(l.source==="SwitchCases/")return{type:"cases"};if(l.data){const Z=RIe(l.name,l.data,e,f);if(Z){const{contextToken:fe,previousToken:Q}=kW(s,n);return{type:"symbol",symbol:Z.symbol,location:Qp(n,s),previousToken:Q,contextToken:fe,isJsxInitializer:!1,isTypeOnlyLocation:!1,origin:Z.origin}}}const g=e.getCompilerOptions(),h=FIe(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:T,location:C,completionKind:D,symbolToOriginInfoMap:O,contextToken:M,previousToken:U,isJsxInitializer:B,isTypeOnlyLocation:H}=h,Y=Ve(T,Z=>Afe(n,d,Z)===l.name);return Y!==void 0?{type:"literal",literal:Y}:$e(k,(Z,fe)=>{const Q=O[fe],he=CW(Z,Eo(g),Q,D,h.isJsxIdentifierExpected);return he&&he.name===l.name&&(l.source==="ClassMemberSnippet/"&&Z.flags&106500||l.source==="ObjectLiteralMethodSnippet/"&&Z.flags&8196||Pfe(Q)===l.source)?{type:"symbol",symbol:Z,location:C,origin:Q,contextToken:M,previousToken:U,isJsxInitializer:B,isTypeOnlyLocation:H}:void 0})||{type:"none"}}function Fpt(e,t,n,s,l,f,d,g,h){const k=e.getTypeChecker(),T=e.getCompilerOptions(),{name:C,source:D,data:O}=l,{previousToken:M,contextToken:U}=kW(s,n);if(mk(n,s,M))return IW.getStringLiteralCompletionDetails(C,n,s,M,k,T,f,h,g);const B=MIe(e,t,n,s,l,f,g);switch(B.type){case"request":{const{request:H}=B;switch(H.kind){case 1:return m2.getJSDocTagNameCompletionDetails(C);case 2:return m2.getJSDocTagCompletionDetails(C);case 3:return m2.getJSDocParameterNameCompletionDetails(C);case 4:return Ne(H.keywordCompletions,Y=>Y.name===C)?Nfe(C,"keyword",5):void 0;default:return R.assertNever(H)}}case"symbol":{const{symbol:H,location:Y,contextToken:Z,origin:fe,previousToken:Q}=B,{codeActions:he,sourceDisplay:W}=Rpt(C,Y,Z,fe,H,e,f,T,n,s,Q,d,g,O,D,h),ye=wfe(fe)?fe.symbolName:H.name;return Ife(H,ye,k,n,Y,h,he,W)}case"literal":{const{literal:H}=B;return Nfe(Afe(n,g,H),"string",typeof H=="string"?8:7)}case"cases":{const{entry:H,importAdder:Y}=NIe(U.parent,n,g,e.getCompilerOptions(),f,e,void 0);if(Y.hasFixes()){const Z=jn.ChangeTracker.with({host:f,formatContext:d,preferences:g},Y.writeFixes);return{name:H.name,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0,codeActions:[{changes:Z,description:Zw([v.Includes_imports_of_types_referenced_by_0,C])}]}}return{name:H.name,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0}}case"none":return Jfe().some(H=>H.name===C)?Nfe(C,"keyword",5):void 0;default:R.assertNever(B)}}function Nfe(e,t,n){return BL(e,"",t,[U_(e,n)])}function Ife(e,t,n,s,l,f,d,g){const{displayParts:h,documentation:k,symbolKind:T,tags:C}=n.runWithCancellationToken(f,D=>x1.getSymbolDisplayPartsDocumentationAndSymbolKind(D,e,s,l,l,7));return BL(t,x1.getSymbolModifiers(n,e),T,h,k,C,d,g)}function BL(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 Rpt(e,t,n,s,l,f,d,g,h,k,T,C,D,O,M,U){if(O!=null&&O.moduleSpecifier&&T&&qIe(n||T).replacementSpan)return{codeActions:void 0,sourceDisplay:[Yp(O.moduleSpecifier)]};if(M==="ClassMemberSnippet/"){const{importAdder:he}=IIe(d,f,g,D,e,l,t,k,n,C);if(he)return{sourceDisplay:void 0,codeActions:[{changes:jn.ChangeTracker.with({host:d,formatContext:C,preferences:D},he.writeFixes),description:Zw([v.Includes_imports_of_types_referenced_by_0,e])}]}}if(SIe(s)){const he=uf.getPromoteTypeOnlyCompletionAction(h,s.declaration.name,f,d,C,D);return R.assertIsDefined(he,"Expected to have a code action for promoting type-only alias"),{codeActions:[he],sourceDisplay:void 0}}if(!s||!(FL(s)||vA(s)))return{codeActions:void 0,sourceDisplay:void 0};const B=s.isFromPackageJson?d.getPackageJsonAutoImportProvider().getTypeChecker():f.getTypeChecker(),{moduleSymbol:H}=s,Y=B.getMergedSymbol(F_(l.exportSymbol||l,B)),Z=(n==null?void 0:n.kind)===30&&a_(n.parent),{moduleSpecifier:fe,codeAction:Q}=uf.getImportCompletionAction(Y,H,O==null?void 0:O.exportMapKey,h,e,Z,d,f,C,T&&He(T)?T.getStart(h):k,D,U);return R.assert(!(O!=null&&O.moduleSpecifier)||fe===O.moduleSpecifier),{sourceDisplay:[Yp(fe)],codeActions:[Q]}}function Bpt(e,t,n,s,l,f,d){const g=MIe(e,t,n,s,l,f,d);return g.type==="symbol"?g.symbol:void 0}function jpt(e,t,n){return $e(t&&(t.isUnion()?t.types:[t]),s=>{const l=s&&s.symbol;return l&&l.flags&424&&!ySe(l)?Ofe(l,e,n):void 0})}function Jpt(e,t,n,s){const{parent:l}=e;switch(e.kind){case 80:return OV(e,s);case 64:switch(l.kind){case 259:return s.getContextualType(l.initializer);case 225:return s.getTypeAtLocation(l.left);case 290:return s.getContextualTypeForJsxAttribute(l);default:return}case 105:return s.getContextualType(l);case 84:const f=wi(l,ED);return f?Ooe(f,s):void 0;case 19:return wD(l)&&!iy(l.parent)&&!QT(l.parent)?s.getContextualTypeForJsxAttribute(l.parent):void 0;default:const d=GL.getArgumentInfoForCompletions(e,t,n);return d?s.getContextualTypeForArgumentAtIndex(d.invocation,d.argumentIndex+(e.kind===28?1:0)):LV(e.kind)&&Bn(l)&&LV(l.operatorToken.kind)?s.getTypeAtLocation(l.left):s.getContextualType(e,4)||s.getContextualType(e)}}function Ofe(e,t,n){const s=n.getAccessibleSymbolChain(e,t,67108863,!1);return s?Oo(s):e.parent&&(Upt(e.parent)?e:Ofe(e.parent,t,n))}function Upt(e){var t;return!!((t=e.declarations)!=null&&t.some(n=>n.kind===311))}function FIe(e,t,n,s,l,f,d,g,h,k){const T=e.getTypeChecker(),C=DIe(n,s);let D=Uc(),O=Os(n,l);t("getCompletionData: Get current token: "+(Uc()-D)),D=Uc();const M=v1(n,l,O);t("getCompletionData: Is inside comment: "+(Uc()-D));let U=!1,B=!1;if(M){if(lAe(n,l)){if(n.text.charCodeAt(l-1)===64)return{kind:1};{const ee=Bd(l,n);if(!/[^\*|\s(/)]/.test(n.text.substring(ee,l)))return{kind:2}}}const Te=qpt(O,l);if(Te){if(Te.tagName.pos<=l&&l<=Te.tagName.end)return{kind:1};const ee=Ar(Te);if(ee&&(O=Os(n,l),(!O||!Yy(O)&&(O.parent.kind!==354||O.parent.name!==O))&&(U=ve(ee))),!U&&Fm(Te)&&(pl(Te.name)||Te.name.pos<=l&&l<=Te.name.end))return{kind:3,tag:Te}}if(!U){t("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.");return}}D=Uc();const H=!U&&qf(n),Y=kW(l,n),Z=Y.previousToken;let fe=Y.contextToken;t("getCompletionData: Get previous token: "+(Uc()-D));let Q=O,he,W=!1,ye=!1,de=!1,Ce=!1,K=!1,ce=!1,le,xe=Qp(n,l),we=0,Ie=!1,ue=0;if(fe){const Te=qIe(fe);if(Te.keywordCompletion){if(Te.isKeywordOnlyCompletion)return{kind:4,keywordCompletions:[gpt(Te.keywordCompletion)],isNewIdentifierLocation:Te.isNewIdentifierLocation};we=vpt(Te.keywordCompletion)}if(Te.replacementSpan&&f.includeCompletionsForImportStatements&&f.includeCompletionsWithInsertText&&(ue|=2,le=Te,Ie=Te.isNewIdentifierLocation),!Te.replacementSpan&&rn(fe))return t("Returning an empty list because completion was requested in an invalid position."),we?AIe(we,H,xi()):void 0;let ee=fe.parent;if(fe.kind===25||fe.kind===29)switch(W=fe.kind===25,ye=fe.kind===29,ee.kind){case 210:he=ee,Q=he.expression;const vt=GP(he);if(pl(vt)||(Ra(Q)||Sa(Q))&&Q.end===fe.pos&&Q.getChildCount(n)&&To(Q.getChildren(n)).kind!==22)return;break;case 165:Q=ee.left;break;case 266:Q=ee.name;break;case 204:Q=ee;break;case 235:Q=ee.getFirstToken(n),R.assert(Q.kind===102||Q.kind===105);break;default:return}else if(!le){if(ee&&ee.kind===210&&(fe=ee,ee=ee.parent),O.parent===xe)switch(O.kind){case 32:(O.parent.kind===283||O.parent.kind===285)&&(xe=O);break;case 44:O.parent.kind===284&&(xe=O);break}switch(ee.kind){case 286:fe.kind===44&&(Ce=!0,xe=fe);break;case 225:if(!$Ie(ee))break;case 284:case 283:case 285:ce=!0,fe.kind===30&&(de=!0,xe=fe);break;case 293:case 292:(Z.kind===20||Z.kind===80&&Z.parent.kind===290)&&(ce=!0);break;case 290:if(ee.initializer===Z&&Z.end<l){ce=!0;break}switch(Z.kind){case 64:K=!0;break;case 80:ce=!0,ee!==Z.parent&&!ee.initializer&&Go(ee,64,n)&&(K=Z)}break}}}const ut=Uc();let Ge=5,qe=!1,Ke=!1,Me=[],ze;const st=[],et=[],je=new Map,_t=Kt(),Lt=qh(Te=>hk(Te?g.getPackageJsonAutoImportProvider():e,g));if(W||ye)Ht();else if(de)Me=T.getJsxIntrinsicTagNamesAt(xe),R.assertEachIsDefined(Me,"getJsxIntrinsicTagNames() should all be defined"),Cn(),Ge=1,we=0;else if(Ce){const Te=fe.parent.parent.openingElement.tagName,ee=T.getSymbolAtLocation(Te);ee&&(Me=[ee]),Ge=1,we=0}else if(!Cn())return we?AIe(we,H,Ie):void 0;t("getCompletionData: Semantic work: "+(Uc()-ut));const Dt=Z&&Jpt(Z,l,n,T),Ye=!wi(Z,Yo)&&!ce?lr(Dt&&(Dt.isUnion()?Dt.types:[Dt]),Te=>Te.isLiteral()&&!(Te.flags&1024)?Te.value:void 0):[],Bt=Z&&Dt&&jpt(Z,Dt,T);return{kind:0,symbols:Me,completionKind:Ge,isInSnippetScope:B,propertyAccessToConvert:he,isNewIdentifierLocation:Ie,location:xe,keywordFilters:we,literals:Ye,symbolToOriginInfoMap:st,recommendedCompletion:Bt,previousToken:Z,contextToken:fe,isJsxInitializer:K,insideJsDocTagTypeExpression:U,symbolToSortTextMap:et,isTypeOnlyLocation:_t,isJsxIdentifierExpected:ce,isRightOfOpenTag:de,isRightOfDotOrQuestionDot:W||ye,importStatementCompletion:le,hasUnresolvedAutoImports:Ke,flags:ue};function vr(Te){switch(Te.kind){case 347:case 354:case 348:case 350:case 352:case 355:case 356:return!0;case 351:return!!Te.constraint;default:return!1}}function Ar(Te){if(vr(Te)){const ee=Rm(Te)?Te.constraint:Te.typeExpression;return ee&&ee.kind===315?ee:void 0}if(V4(Te)||Kre(Te))return Te.class}function Ht(){Ge=2;const Te=Hb(Q),ee=Te&&!Q.isTypeOf||Gg(Q.parent)||z9(fe,n,T),vt=oV(Q);if(wp(Q)||Te||ai(Q)){const Qt=Al(Q.parent);Qt&&(Ie=!0);let ht=T.getSymbolAtLocation(Q);if(ht&&(ht=F_(ht,T),ht.flags&1920)){const Vt=T.getExportsOfModule(ht);R.assertEachIsDefined(Vt,"getExportsOfModule() should all be defined");const Nr=Vi=>T.isValidPropertyAccess(Te?Q:Q.parent,Vi.name),Pn=Vi=>Mfe(Vi,T),bi=Qt?Vi=>{var rs;return!!(Vi.flags&1920)&&!((rs=Vi.declarations)!=null&&rs.every(qs=>qs.parent===Q.parent))}:vt?Vi=>Pn(Vi)||Nr(Vi):ee||U?Pn:Nr;for(const Vi of Vt)bi(Vi)&&Me.push(Vi);if(!ee&&!U&&ht.declarations&&ht.declarations.some(Vi=>Vi.kind!==311&&Vi.kind!==266&&Vi.kind!==265)){let Vi=T.getTypeOfSymbolAtLocation(ht,Q).getNonOptionalType(),rs=!1;if(Vi.isNullableType()){const qs=W&&!ye&&f.includeAutomaticOptionalChainCompletions!==!1;(qs||ye)&&(Vi=Vi.getNonNullableType(),qs&&(rs=!0))}tn(Vi,!!(Q.flags&32768),rs)}return}}if(!ee){T.tryGetThisTypeAt(Q,!1);let Qt=T.getTypeAtLocation(Q).getNonOptionalType(),ht=!1;if(Qt.isNullableType()){const Vt=W&&!ye&&f.includeAutomaticOptionalChainCompletions!==!1;(Vt||ye)&&(Qt=Qt.getNonNullableType(),Vt&&(ht=!0))}tn(Qt,!!(Q.flags&32768),ht)}}function tn(Te,ee,vt){Ie=!!Te.getStringIndexType(),ye&&Ne(Te.getCallSignatures())&&(Ie=!0);const Qt=Q.kind===204?Q:Q.parent;if(C)for(const ht of Te.getApparentProperties())T.isValidPropertyAccessForCompletions(Qt,Te,ht)&&hn(ht,!1,vt);else Me.push(...gr(AW(Te,T),ht=>T.isValidPropertyAccessForCompletions(Qt,Te,ht)));if(ee&&f.includeCompletionsWithInsertText){const ht=T.getPromisedTypeOfPromise(Te);if(ht)for(const Vt of ht.getApparentProperties())T.isValidPropertyAccessForCompletions(Qt,ht,Vt)&&hn(Vt,!0,vt)}}function hn(Te,ee,vt){var Qt;const ht=$e(Te.declarations,bi=>wi(ia(bi),Ho));if(ht){const bi=Br(ht.expression),Vi=bi&&T.getSymbolAtLocation(bi),rs=Vi&&Ofe(Vi,fe,T);if(rs&&Dm(je,vo(rs))){const qs=Me.length;Me.push(rs);const Ys=rs.parent;if(!Ys||!q9(Ys)||T.tryGetMemberInModuleExportsAndProperties(rs.name,Ys)!==rs)st[qs]={kind:Pn(2)};else{const Oi=Lu(tm(Ys.name))?(Qt=hj(Ys))==null?void 0:Qt.fileName:void 0,{moduleSpecifier:Js}=(ze||(ze=uf.createImportSpecifierResolver(n,e,g,f))).getModuleSpecifierForBestExportInfo([{exportKind:0,moduleFileName:Oi,isFromPackageJson:!1,moduleSymbol:Ys,symbol:rs,targetFlags:F_(rs,T).flags}],l,$x(xe))||{};if(Js){const Es={kind:Pn(6),moduleSymbol:Ys,isDefaultExport:!1,symbolName:rs.name,exportName:rs.name,fileName:Oi,moduleSpecifier:Js};st[qs]=Es}}}else f.includeCompletionsWithInsertText&&(Nr(Te),Vt(Te),Me.push(Te))}else Nr(Te),Vt(Te),Me.push(Te);function Vt(bi){Ypt(bi)&&(et[vo(bi)]=zu.LocalDeclarationPriority)}function Nr(bi){f.includeCompletionsWithInsertText&&(ee&&Dm(je,vo(bi))?st[Me.length]={kind:Pn(8)}:vt&&(st[Me.length]={kind:16}))}function Pn(bi){return vt?bi|16:bi}}function Br(Te){return He(Te)?Te:ai(Te)?Br(Te.expression):void 0}function Cn(){return(Nt()||dt()||ws()||Ut()||rr()||ci()||se()||Ji()||(ui(),1))===1}function ci(){return xt(fe)?(Ge=5,Ie=!0,we=4,1):0}function Ji(){const Te=mt(fe),ee=Te&&T.getContextualType(Te.attributes);if(!ee)return 0;const vt=Te&&T.getContextualType(Te.attributes,4);return Me=wr(Me,ke(EW(ee,vt,Te.attributes,T),Te.attributes.properties)),Rn(),Ge=3,Ie=!1,1}function ws(){return le?(Ie=!0,Nn(),1):0}function ui(){we=ae(fe)?5:1,Ge=1,Ie=xi(),Z!==fe&&R.assert(!!Z,"Expected 'contextToken' to be defined when different from 'previousToken'.");const Te=Z!==fe?Z.getStart():l,ee=Er(fe,Te,n)||n;B=Dr(ee);const vt=(_t?0:111551)|788968|1920|2097152,Qt=Z&&!$x(Z);Me=wr(Me,T.getSymbolsInScope(ee,vt)),R.assertEachIsDefined(Me,"getSymbolsInScope() should all be defined");for(let ht=0;ht<Me.length;ht++){const Vt=Me[ht];if(!T.isArgumentsSymbol(Vt)&&!Ne(Vt.declarations,Nr=>Nr.getSourceFile()===n)&&(et[vo(Vt)]=zu.GlobalsOrKeywords),Qt&&!(Vt.flags&111551)){const Nr=Vt.declarations&&Ve(Vt.declarations,nj);if(Nr){const Pn={kind:64,declaration:Nr};st[ht]=Pn}}}if(f.includeCompletionsWithInsertText&&ee.kind!==311){const ht=T.tryGetThisTypeAt(ee,!1,Ri(ee.parent)?ee:void 0);if(ht&&!Qpt(ht,n,T))for(const Vt of AW(ht,T))st[Me.length]={kind:1},Me.push(Vt),et[vo(Vt)]=zu.SuggestedClassMembers}Nn(),_t&&(we=fe&&Ax(fe.parent)?6:7)}function Pt(){return le?!0:qe||!f.includeCompletionsForModuleExports?!1:n.externalModuleIndicator||n.commonJsModuleIndicator||hoe(e.getCompilerOptions())?!0:gAe(e)}function Dr(Te){switch(Te.kind){case 311:case 227:case 293:case 240:return!0;default:return Vs(Te)}}function Kt(){return U||!!le&&ET(xe.parent)||!Qr(fe)&&(z9(fe,n,T)||Gg(xe)||_n(fe))}function Qr(Te){return Te&&(Te.kind===114&&(Te.parent.kind===185||F4(Te.parent))||Te.kind===131&&Te.parent.kind===181)}function _n(Te){if(Te){const ee=Te.parent.kind;switch(Te.kind){case 59:return ee===171||ee===170||ee===168||ee===259||ew(ee);case 64:return ee===264;case 130:return ee===233;case 30:return ee===182||ee===215;case 96:return ee===167;case 152:return ee===237}}return!1}function Nn(){var Te,ee;if(!Pt()||(R.assert(!(d!=null&&d.data),"Should not run 'collectAutoImports' when faster path is available via `data`"),d&&!d.source))return;ue|=1;const Qt=Z===fe&&le?"":Z&&He(Z)?Z.text.toLowerCase():"",ht=(Te=g.getModuleSpecifierCache)==null?void 0:Te.call(g),Vt=nL(n,g,e,f,k),Nr=(ee=g.getPackageJsonAutoImportProvider)==null?void 0:ee.call(g),Pn=d?void 0:f8(n,f,g);kIe("collectAutoImports",g,ze||(ze=uf.createImportSpecifierResolver(n,e,g,f)),e,l,f,!!le,$x(xe),Vi=>{Vt.search(n.path,de,(rs,qs)=>{if(!od(rs,Eo(g.getCompilationSettings()))||!d&&fw(rs)||!_t&&!le&&!(qs&111551)||_t&&!(qs&790504))return!1;const Ys=rs.charCodeAt(0);return de&&(Ys<65||Ys>90)?!1:d?!0:XIe(rs,Qt)},(rs,qs,Ys,Oi)=>{if(d&&!Ne(rs,rc=>d.source===tm(rc.moduleSymbol.name))||(rs=gr(rs,bi),!rs.length))return;const Js=Vi.tryResolve(rs,Ys)||{};if(Js==="failed")return;let Es=rs[0],Li;Js!=="skipped"&&({exportInfo:Es=rs[0],moduleSpecifier:Li}=Js);const Zs=Es.exportKind===1,Hc=Zs&&y4(Es.symbol)||Es.symbol;ks(Hc,{kind:Li?32:4,moduleSpecifier:Li,symbolName:qs,exportMapKey:Oi,exportName:Es.exportKind===2?"export=":Es.symbol.name,fileName:Es.moduleFileName,isDefaultExport:Zs,moduleSymbol:Es.moduleSymbol,isFromPackageJson:Es.isFromPackageJson})}),Ke=Vi.skippedAny(),ue|=Vi.resolvedAny()?8:0,ue|=Vi.resolvedBeyondLimit()?16:0});function bi(Vi){const rs=wi(Vi.moduleSymbol.valueDeclaration,Cs);if(!rs){const qs=tm(Vi.moduleSymbol.name);return fk.nodeCoreModules.has(qs)&&Xs(qs,"node:")!==qV(n,e)?!1:Pn?Pn.allowsImportingAmbientModule(Vi.moduleSymbol,Lt(Vi.isFromPackageJson)):!0}return Hoe(Vi.isFromPackageJson?Nr:e,n,rs,f,Pn,Lt(Vi.isFromPackageJson),ht)}}function ks(Te,ee){const vt=vo(Te);et[vt]!==zu.GlobalsOrKeywords&&(st[Me.length]=ee,et[vt]=le?zu.LocationPriority:zu.AutoImportSuggestions,Me.push(Te))}function ls(Te,ee){Mn(xe)||Te.forEach(vt=>{if(!Yr(vt))return;const Qt=CW(vt,Eo(s),void 0,0,!1);if(!Qt)return;const{name:ht}=Qt,Vt=Ppt(vt,ht,ee,e,g,s,f,h);if(!Vt)return;const Nr={kind:128,...Vt};ue|=32,st[Me.length]=Nr,Me.push(vt)})}function Yr(Te){return!!(Te.flags&8196)}function Er(Te,ee,vt){let Qt=Te;for(;Qt&&!toe(Qt,ee,vt);)Qt=Qt.parent;return Qt}function rn(Te){const ee=Uc(),vt=pt(Te)||_r(Te)||zt(Te)||qr(Te)||uU(Te);return t("getCompletionsAtPosition: isCompletionListBlocker: "+(Uc()-ee)),vt}function qr(Te){if(Te.kind===12)return!0;if(Te.kind===32&&Te.parent){if(xe===Te.parent&&(xe.kind===285||xe.kind===284))return!1;if(Te.parent.kind===285)return xe.parent.kind!==285;if(Te.parent.kind===286||Te.parent.kind===284)return!!Te.parent.parent&&Te.parent.parent.kind===283}return!1}function xi(){if(fe){const Te=fe.parent.kind,ee=wW(fe);switch(ee){case 28:return Te===212||Te===175||Te===213||Te===208||Te===225||Te===183||Te===209;case 21:return Te===212||Te===175||Te===213||Te===216||Te===195;case 23:return Te===208||Te===180||Te===166;case 144:case 145:case 102:return!0;case 25:return Te===266;case 19:return Te===262||Te===209;case 64:return Te===259||Te===225;case 16:return Te===227;case 17:return Te===238;case 134:return Te===173||Te===303;case 42:return Te===173}if(jL(ee))return!0}return!1}function pt(Te){return(Ire(Te)||qK(Te))&&(B9(Te,l)||l===Te.end&&(!!Te.isUnterminated||Ire(Te)))}function Nt(){const Te=Gpt(fe);if(!Te)return 0;const vt=(yO(Te.parent)?Te.parent:void 0)||Te,Qt=VIe(vt,T);if(!Qt)return 0;const ht=T.getTypeFromTypeNode(vt),Vt=AW(Qt,T),Nr=AW(ht,T),Pn=new Set;return Nr.forEach(bi=>Pn.add(bi.escapedName)),Me=wr(Me,gr(Vt,bi=>!Pn.has(bi.escapedName))),Ge=0,Ie=!0,1}function dt(){const Te=Me.length,ee=zpt(fe);if(!ee)return 0;Ge=0;let vt,Qt;if(ee.kind===209){const ht=Zpt(ee,T);if(ht===void 0)return ee.flags&33554432?2:(qe=!0,0);const Vt=T.getContextualType(ee,4),Nr=(Vt||ht).getStringIndexType(),Pn=(Vt||ht).getNumberIndexType();if(Ie=!!Nr||!!Pn,vt=EW(ht,Vt,ee,T),Qt=ee.properties,vt.length===0&&!Pn)return qe=!0,0}else{R.assert(ee.kind===205),Ie=!1;const ht=tg(ee.parent);if(!e4(ht))return R.fail("Root declaration is not variable-like.");let Vt=Cv(ht)||!!Yu(ht)||ht.parent.parent.kind===249;if(!Vt&&ht.kind===168&&(Ct(ht.parent)?Vt=!!T.getContextualType(ht.parent):(ht.parent.kind===173||ht.parent.kind===177)&&(Vt=Ct(ht.parent.parent)&&!!T.getContextualType(ht.parent.parent))),Vt){const Nr=T.getTypeAtLocation(ee);if(!Nr)return 2;vt=T.getPropertiesOfType(Nr).filter(Pn=>T.isPropertyAccessible(ee,!1,!1,Nr,Pn)),Qt=ee.elements}}if(vt&&vt.length>0){const ht=ii(vt,R.checkDefined(Qt));Me=wr(Me,ht),Rn(),ee.kind===209&&f.includeCompletionsWithObjectLiteralMethodSnippets&&f.includeCompletionsWithInsertText&&(Se(Te),ls(ht,ee))}return 1}function Ut(){if(!fe)return 0;const Te=fe.kind===19||fe.kind===28?wi(fe.parent,wte):xV(fe)?wi(fe.parent.parent,wte):void 0;if(!Te)return 0;xV(fe)||(we=8);const{moduleSpecifier:ee}=Te.kind===274?Te.parent.parent:Te.parent;if(!ee)return Ie=!0,Te.kind===274?2:0;const vt=T.getSymbolAtLocation(ee);if(!vt)return Ie=!0,2;Ge=3,Ie=!1;const Qt=T.getExportsAndPropertiesOfModule(vt),ht=new Set(Te.elements.filter(Nr=>!ve(Nr)).map(Nr=>(Nr.propertyName||Nr.name).escapedText)),Vt=Qt.filter(Nr=>Nr.escapedName!=="default"&&!ht.has(Nr.escapedName));return Me=wr(Me,Vt),Vt.length||(we=0),1}function rr(){var Te;const ee=fe&&(fe.kind===19||fe.kind===28)?wi(fe.parent,im):void 0;if(!ee)return 0;const vt=mn(ee,Wh(Cs,Al));return Ge=5,Ie=!1,(Te=vt.locals)==null||Te.forEach((Qt,ht)=>{var Vt,Nr;Me.push(Qt),(Nr=(Vt=vt.symbol)==null?void 0:Vt.exports)!=null&&Nr.has(ht)&&(et[vo(Qt)]=zu.OptionalMember)}),1}function se(){const Te=Hpt(n,fe,xe,l);if(!Te)return 0;if(Ge=3,Ie=!0,we=fe.kind===42?0:Ri(Te)?2:3,!Ri(Te))return 1;const ee=fe.kind===27?fe.parent.parent:fe.parent;let vt=Mu(ee)?Wf(ee):0;if(fe.kind===80&&!ve(fe))switch(fe.getText()){case"private":vt=vt|8;break;case"static":vt=vt|32;break;case"override":vt=vt|16384;break}if(al(ee)&&(vt|=32),!(vt&8)){const Qt=Ri(Te)&&vt&16384?yx(mh(Te)):NP(Te),ht=ln(Qt,Vt=>{const Nr=T.getTypeAtLocation(Vt);return vt&32?(Nr==null?void 0:Nr.symbol)&&T.getPropertiesOfType(T.getTypeOfSymbolAtLocation(Nr.symbol,Te)):Nr&&T.getPropertiesOfType(Nr)});Me=wr(Me,pe(ht,Te.members,vt)),te(Me,(Vt,Nr)=>{const Pn=Vt==null?void 0:Vt.valueDeclaration;if(Pn&&Mu(Pn)&&Pn.name&&Ho(Pn.name)){const bi={kind:512,symbolName:T.symbolToString(Vt)};st[Nr]=bi}})}return 1}function at(Te){return!!Te.parent&&ea(Te.parent)&&El(Te.parent.parent)&&(gP(Te.kind)||Yy(Te))}function xt(Te){if(Te){const ee=Te.parent;switch(Te.kind){case 21:case 28:return El(Te.parent)?Te.parent:void 0;default:if(at(Te))return ee.parent}}}function ae(Te){if(Te){let ee;const vt=mn(Te.parent,Qt=>Ri(Qt)?"quit":Lc(Qt)&&ee===Qt.body?!0:(ee=Qt,!1));return vt&&vt}}function mt(Te){if(Te){const ee=Te.parent;switch(Te.kind){case 32:case 31:case 44:case 80:case 210:case 291:case 290:case 292:if(ee&&(ee.kind===284||ee.kind===285)){if(Te.kind===32){const vt=ou(Te.pos,n,void 0);if(!ee.typeArguments||vt&&vt.kind===44)break}return ee}else if(ee.kind===290)return ee.parent.parent;break;case 11:if(ee&&(ee.kind===290||ee.kind===292))return ee.parent.parent;break;case 20:if(ee&&ee.kind===293&&ee.parent&&ee.parent.kind===290)return ee.parent.parent.parent;if(ee&&ee.kind===292)return ee.parent.parent;break}}}function _r(Te){const ee=Te.parent,vt=ee.kind;switch(Te.kind){case 28:return vt===259||Lr(Te)||vt===242||vt===265||Gt(vt)||vt===263||vt===206||vt===264||Ri(ee)&&!!ee.typeParameters&&ee.typeParameters.end>=Te.pos;case 25:return vt===206;case 59:return vt===207;case 23:return vt===206;case 21:return vt===298||Gt(vt);case 19:return vt===265;case 30:return vt===262||vt===230||vt===263||vt===264||ew(vt);case 126:return vt===171&&!Ri(ee.parent);case 26:return vt===168||!!ee.parent&&ee.parent.kind===206;case 125:case 123:case 124:return vt===168&&!El(ee.parent);case 130:return vt===275||vt===280||vt===273;case 139:case 153:return!PW(Te);case 80:if(vt===275&&Te===ee.name&&Te.text==="type")return!1;break;case 86:case 94:case 120:case 100:case 115:case 102:case 121:case 87:case 140:return!0;case 156:return vt!==275;case 42:return Sa(Te.parent)&&!ql(Te.parent)}if(jL(wW(Te))&&PW(Te)||at(Te)&&(!He(Te)||gP(wW(Te))||ve(Te)))return!1;switch(wW(Te)){case 128:case 86:case 87:case 138:case 94:case 100:case 120:case 121:case 123:case 124:case 125:case 126:case 115:return!0;case 134:return Ia(Te.parent)}if(mn(Te.parent,Ri)&&Te===Z&&Fe(Te,l))return!1;const ht=Yb(Te.parent,171);if(ht&&Te!==Z&&Ri(Z.parent.parent)&&l<=Z.end){if(Fe(Te,Z.end))return!1;if(Te.kind!==64&&(_9(ht)||_j(ht)))return!0}return Yy(Te)&&!hd(Te.parent)&&!bh(Te.parent)&&!((Ri(Te.parent)||Xf(Te.parent)||qc(Te.parent))&&(Te!==Z||l>Z.end))}function Fe(Te,ee){return Te.kind!==64&&(Te.kind===27||!Ld(Te.end,ee,n))}function Gt(Te){return ew(Te)&&Te!==175}function zt(Te){if(Te.kind===9){const ee=Te.getFullText();return ee.charAt(ee.length-1)==="."}return!1}function Lr(Te){return Te.parent.kind===260&&!z9(Te,n,T)}function ii(Te,ee){if(ee.length===0)return Te;const vt=new Set,Qt=new Set;for(const Vt of ee){if(Vt.kind!==302&&Vt.kind!==303&&Vt.kind!==207&&Vt.kind!==173&&Vt.kind!==176&&Vt.kind!==177&&Vt.kind!==304||ve(Vt))continue;let Nr;if(ZT(Vt))Gn(Vt,vt);else if(Lo(Vt)&&Vt.propertyName)Vt.propertyName.kind===80&&(Nr=Vt.propertyName.escapedText);else{const Pn=ia(Vt);Nr=Pn&&Kd(Pn)?OP(Pn):void 0}Nr!==void 0&&Qt.add(Nr)}const ht=Te.filter(Vt=>!Qt.has(Vt.escapedName));return L(vt,ht),ht}function Gn(Te,ee){const vt=Te.expression,Qt=T.getSymbolAtLocation(vt),ht=Qt&&T.getTypeOfSymbolAtLocation(Qt,vt),Vt=ht&&ht.properties;Vt&&Vt.forEach(Nr=>{ee.add(Nr.name)})}function Rn(){Me.forEach(Te=>{if(Te.flags&16777216){const ee=vo(Te);et[ee]=et[ee]??zu.OptionalMember}})}function L(Te,ee){if(Te.size!==0)for(const vt of ee)Te.has(vt.name)&&(et[vo(vt)]=zu.MemberDeclaredBySpreadAssignment)}function Se(Te){for(let ee=Te;ee<Me.length;ee++){const vt=Me[ee],Qt=vo(vt),ht=st==null?void 0:st[ee],Vt=Eo(s),Nr=CW(vt,Vt,ht,0,!1);if(Nr){const Pn=et[Qt]??zu.LocationPriority,{name:bi}=Nr;et[Qt]=zu.ObjectLiteralProperty(Pn,bi)}}}function pe(Te,ee,vt){const Qt=new Set;for(const ht of ee){if(ht.kind!==171&&ht.kind!==173&&ht.kind!==176&&ht.kind!==177||ve(ht)||ip(ht,8)||Aa(ht)!==!!(vt&32))continue;const Vt=Zb(ht.name);Vt&&Qt.add(Vt)}return Te.filter(ht=>!Qt.has(ht.escapedName)&&!!ht.declarations&&!(pd(ht)&8)&&!(ht.valueDeclaration&&s_(ht.valueDeclaration)))}function ke(Te,ee){const vt=new Set,Qt=new Set;for(const Vt of ee)ve(Vt)||(Vt.kind===290?vt.add(cD(Vt.name)):Bw(Vt)&&Gn(Vt,Qt));const ht=Te.filter(Vt=>!vt.has(Vt.escapedName));return L(Qt,ht),ht}function ve(Te){return Te.getStart(n)<=l&&l<=Te.getEnd()}}function zpt(e){if(e){const{parent:t}=e;switch(e.kind){case 19:case 28:if(jo(t)||Om(t))return t;break;case 42:return ql(t)?wi(t.parent,jo):void 0;case 134:return wi(t.parent,jo);case 80:return e.text==="async"&&hd(e.parent)?e.parent.parent:void 0}}}function kW(e,t){const n=ou(e,t);return n&&e<=n.end&&(qy(n)||b_(n.kind))?{contextToken:ou(n.getFullStart(),t,void 0),previousToken:n}:{contextToken:n,previousToken:n}}function RIe(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"&&y4(g)||g,{symbol:g,origin:Npt(t,e,d)}):void 0}function CW(e,t,n,s,l){if(ppt(n))return;const f=lpt(n)?n.symbolName:e.name;if(f===void 0||e.flags&1536&&i5(f.charCodeAt(0))||w5(e))return;const d={name:f,needsConvertPropertyAccess:!1};if(od(f,t,l?1:0)||e.valueDeclaration&&s_(e.valueDeclaration))return d;switch(s){case 3:return wfe(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 BIe(e,t){if(!t)return jIe(e);const n=e+8+1;return JL[n]||(JL[n]=jIe(e).filter(s=>!Vpt(Sx(s.name))))}function jIe(e){return JL[e]||(JL[e]=Jfe().filter(t=>{const n=Sx(t.name);switch(e){case 0:return!1;case 1:return UIe(n)||n===138||n===144||n===156||n===145||n===128||i8(n)&&n!==157;case 5:return UIe(n);case 2:return jL(n);case 3:return JIe(n);case 4:return gP(n);case 6:return i8(n)||n===87;case 7:return i8(n);case 8:return n===156;default:return R.assertNever(e)}}))}function Vpt(e){switch(e){case 128:case 133:case 162:case 136:case 138:case 94:case 161:case 119:case 140:case 120:case 142:case 143:case 144:case 145:case 146:case 150:case 151:case 163:case 123:case 124:case 125:case 148:case 154:case 155:case 156:case 158:case 159:return!0;default:return!1}}function JIe(e){return e===148}function jL(e){switch(e){case 128:case 129:case 137:case 139:case 153:case 134:case 138:case 163:return!0;default:return WK(e)}}function UIe(e){return e===134||e===135||e===130||e===152||e===156||!Gj(e)&&!jL(e)}function wW(e){return He(e)?qb(e)??0:e.kind}function $pt(e,t){const n=[];if(e){const s=e.getSourceFile(),l=e.parent,f=s.getLineAndCharacterOfPosition(e.end).line,d=s.getLineAndCharacterOfPosition(t).line;(ju(l)||Ju(l)&&l.moduleSpecifier)&&e===l.moduleSpecifier&&f===d&&n.push({name:io(132),kind:"keyword",kindModifiers:"",sortText:zu.GlobalsOrKeywords})}return n}function qpt(e,t){return mn(e,n=>q6(n)&&R9(n,t)?!0:sm(n)?"quit":!1)}function EW(e,t,n,s){const l=t&&t!==e,f=l&&!(t.flags&3)?s.getUnionType([e,t]):e,d=Wpt(f,n,s);return f.isClass()&&zIe(d)?[]:l?gr(d,g):d;function g(h){return G(h.declarations)?Ne(h.declarations,k=>k.parent!==n):!0}}function Wpt(e,t,n){return e.isUnion()?n.getAllPossiblePropertiesOfTypes(gr(e.types,s=>!(s.flags&402784252||n.isArrayLikeType(s)||n.isTypeInvalidDueToUnionDiscriminant(s,t)||n.typeHasCallOrConstructSignatures(s)||s.isClass()&&zIe(s.getApparentProperties())))):e.getApparentProperties()}function zIe(e){return Ne(e,t=>!!(pd(t)&24))}function AW(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 Hpt(e,t,n,s){switch(n.kind){case 357:return wi(n.parent,gw);case 1:const l=wi(Bc(Ua(n.parent,Cs).statements),gw);if(l&&!Go(l,20,e))return l;break;case 80:{if(qb(n)||Ia(n.parent)&&n.parent.initializer===n)return;if(PW(n))return mn(n,gw)}}if(t){if(n.kind===137||He(t)&&Ia(t.parent)&&Ri(n))return mn(t,Ri);switch(t.kind){case 64:return;case 27:case 20:return PW(n)&&n.parent.name===n?n.parent.parent:wi(n,gw);case 19:case 28:return wi(t.parent,gw);default:if(gw(n)){if(Vc(e,t.getEnd()).line!==Vc(e,s).line)return n;const l=Ri(t.parent.parent)?jL:JIe;return l(t.kind)||t.kind===42||He(t)&&l(qb(t)??0)?t.parent.parent:void 0}return}}}function Gpt(e){if(!e)return;const t=e.parent;switch(e.kind){case 19:if(Ip(t))return t;break;case 27:case 28:case 80:if(t.kind===170&&Ip(t.parent))return t.parent;break}}function VIe(e,t){if(!e)return;if(ys(e)&&pj(e.parent))return t.getTypeArgumentConstraint(e);const n=VIe(e.parent,t);if(n)switch(e.kind){case 170:return t.getTypeOfPropertyOfContextualType(n,e.symbol.escapedName);case 192:case 186:case 191:return n}}function PW(e){return e.parent&&ij(e.parent)&&gw(e.parent.parent)}function Xpt(e,t,n,s){switch(t){case".":case"@":return!0;case'"':case"'":case"`":return!!n&&MAe(n)&&s===n.getStart(e)+1;case"#":return!!n&&fs(n)&&!!_u(n);case"<":return!!n&&n.kind===30&&(!Bn(n.parent)||$Ie(n.parent));case"/":return!!n&&(Yo(n)?!!m5(n):n.kind===44&&XT(n.parent));case" ":return!!n&&gD(n)&&n.parent.kind===311;default:return R.assertNever(t)}}function $Ie({left:e}){return pl(e)}function Qpt(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 Ypt(e){return!!(e.valueDeclaration&&Wf(e.valueDeclaration)&32&&Ri(e.valueDeclaration.parent))}function Zpt(e,t){const n=t.getContextualType(e);if(n)return n;const s=Av(e.parent);if(Bn(s)&&s.operatorToken.kind===64&&e===s.left)return t.getTypeAtLocation(s);if(Ct(s))return t.getContextualType(s)}function qIe(e){var t,n,s;let l,f=!1;const d=g();return{isKeywordOnlyCompletion:f,keywordCompletion:l,isNewIdentifierLocation:!!(d||l===156),isTopLevelTypeOnly:!!((n=(t=wi(d,ju))==null?void 0:t.importClause)!=null&&n.isTypeOnly)||!!((s=wi(d,cf))!=null&&s.isTypeOnly),couldBeTypeOnlyImportSpecifier:!!d&&HIe(d,e),replacementSpan:Kpt(d)};function g(){const h=e.parent;if(cf(h))return l=e.kind===156?void 0:156,Lfe(h.moduleReference)?h:void 0;if(HIe(h,e)&&GIe(h.parent))return h;if(d1(h)||Mv(h)){if(!h.parent.isTypeOnly&&(e.kind===19||e.kind===102||e.kind===28)&&(l=156),GIe(h))if(e.kind===20||e.kind===80)f=!0,l=160;else return h.parent.parent;return}if(gD(e)&&Cs(h))return l=156,e;if(gD(e)&&ju(h))return l=156,Lfe(h.moduleSpecifier)?h:void 0}}function Kpt(e){var t;if(!e)return;const n=mn(e,Wh(ju,cf))??e,s=n.getSourceFile();if(Jx(n,s))return u_(n,s);R.assert(n.kind!==102&&n.kind!==275);const l=n.kind===271?WIe((t=n.importClause)==null?void 0:t.namedBindings)??n.moduleSpecifier:n.moduleReference,f={pos:n.getFirstToken().getStart(),end:l.pos};if(Jx(f,s))return Uv(f)}function WIe(e){var t;return Ve((t=wi(e,d1))==null?void 0:t.elements,n=>{var s;return!n.propertyName&&fw(n.name.text)&&((s=ou(n.name.pos,e.getSourceFile(),e))==null?void 0:s.kind)!==28})}function HIe(e,t){return J_(e)&&(e.isTypeOnly||t===e.name&&xV(t))}function GIe(e){if(!Lfe(e.parent.parent.moduleSpecifier)||e.parent.name)return!1;if(d1(e)){const t=WIe(e);return(t?e.elements.indexOf(t):e.elements.length)<2}return!0}function Lfe(e){var t;return pl(e)?!0:!((t=wi(fg(e)?e.expression:e,Yo))!=null&&t.text)}function edt(e){return e?mn(e,n=>Ix(n)||tdt(n)||Fa(n)?"quit":bs(n)||(ea(n)||qc(n))&&!Wx(n.parent)):void 0}function tdt(e){return e.parent&&Dc(e.parent)&&(e.parent.body===e||e.kind===39)}function Mfe(e,t,n=new Map){return s(e)||s(F_(e.exportSymbol||e,t));function s(l){return!!(l.flags&788968)||t.isUnknownSymbol(l)||!!(l.flags&1536)&&Dm(n,vo(l))&&t.getExportsOfModule(l).some(f=>Mfe(f,t,n))}}function rdt(e,t){const n=F_(e,t).declarations;return!!G(n)&&ot(n,$V)}function XIe(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===ndt(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 ndt(e){return 97<=e&&e<=122?e-32:e}var DW,Ffe,zu,Rfe,Bfe,jfe,JL,Jfe,idt=p({"src/services/completions.ts"(){Si(),Hfe(),DW=100,Ffe=1e3,zu={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"}},Rfe=(e=>(e.ThisProperty="ThisProperty/",e.ClassMemberSnippet="ClassMemberSnippet/",e.TypeOnlyAlias="TypeOnlyAlias/",e.ObjectLiteralMethodSnippet="ObjectLiteralMethodSnippet/",e.SwitchCases="SwitchCases/",e))(Rfe||{}),Bfe=(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))(Bfe||{}),jfe=(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))(jfe||{}),JL=[],Jfe=tp(()=>{const e=[];for(let t=83;t<=164;t++)e.push({name:io(t),kind:"keyword",kindModifiers:"",sortText:zu.GlobalsOrKeywords});return e})}});function Ufe(){const e=new Map;function t(n){const s=e.get(n.name);(!s||Wfe[s.kind]<Wfe[n.kind])&&e.set(n.name,n)}return{add:t,has:e.has.bind(e),values:e.values.bind(e)}}function sdt(e,t,n,s,l,f,d,g,h){if(dAe(e,t)){const k=Tdt(e,t,s,l);return k&&QIe(k)}if(mk(e,t,n)){if(!n||!Yo(n))return;const k=ZIe(e,n,t,f.getTypeChecker(),s,l,g);return adt(k,n,e,l,f,d,s,g,t,h)}}function adt(e,t,n,s,l,f,d,g,h,k){if(e===void 0)return;const T=_oe(t);switch(e.kind){case 0:return QIe(e.paths);case 1:{const C=ao();return Dfe(e.symbols,C,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:T,entries:C}}case 2:{const C=e.types.map(D=>({name:D.value,kindModifiers:"",kind:"string",sortText:zu.LocationPriority,replacementSpan:foe(t)}));return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:e.isNewIdentifier,optionalReplacementSpan:T,entries:C}}default:return R.assertNever(e)}}function odt(e,t,n,s,l,f,d,g,h){if(!s||!Yo(s))return;const k=ZIe(t,s,n,l,f,d,h);return k&&cdt(e,s,k,t,l,g)}function cdt(e,t,n,s,l,f){switch(n.kind){case 0:{const d=Ve(n.paths,g=>g.name===e);return d&&BL(e,YIe(d.extension),d.kind,[Yp(e)])}case 1:{const d=Ve(n.symbols,g=>g.name===e);return d&&Ife(d,d.name,l,s,t,f)}case 2:return Ve(n.types,d=>d.value===e)?BL(e,"","string",[Yp(e)]):void 0;default:return R.assertNever(n)}}function QIe(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:e.map(({name:l,kind:f,span:d,extension:g})=>({name:l,kind:f,kindModifiers:YIe(g),sortText:zu.LocationPriority,replacementSpan:d}))}}function YIe(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 ZIe(e,t,n,s,l,f,d){const g=zfe(t.parent);switch(g.kind){case 200:{const O=zfe(g.parent);return O.kind===204?{kind:0,paths:t5e(e,t,l,f,s,d)}:h(O)}case 302:return jo(g.parent)&&g.name===t?fdt(s,g.parent):k()||k(0);case 211:{const{expression:O,argumentExpression:M}=g;return t===Tc(M)?KIe(s.getTypeAtLocation(O)):void 0}case 212:case 213:case 290:if(!Cdt(t)&&!Dp(g)){const O=GL.getArgumentInfoForCompletions(g.kind===290?g.parent:t,n,e);return O&&udt(O.invocation,t,O,s)||k()}case 271:case 277:case 282:return{kind:0,paths:t5e(e,t,l,f,s,d)};case 295:const T=HV(s,g.parent.clauses),C=k();return C?{kind:2,types:C.types.filter(O=>!T.hasValue(O.value)),isNewIdentifier:!1}:void 0;default:return k()||k(0)}function h(T){switch(T.kind){case 232:case 182:{const O=mn(g,M=>M.parent===T);return O?{kind:2,types:NW(s.getTypeArgumentConstraint(O)),isNewIdentifier:!1}:void 0}case 198:const{indexType:C,objectType:D}=T;return R9(C,n)?KIe(s.getTypeFromTypeNode(D)):void 0;case 191:{const O=h(zfe(T.parent));if(!O)return;const M=ldt(T,g);return O.kind===1?{kind:1,symbols:O.symbols.filter(U=>!kt(M,U.name)),hasIndexSignature:O.hasIndexSignature}:{kind:2,types:O.types.filter(U=>!kt(M,U.value)),isNewIdentifier:!1}}default:return}}function k(T=4){const C=NW(OV(t,s,T));if(C.length)return{kind:2,types:C,isNewIdentifier:!1}}}function zfe(e){switch(e.kind){case 195:return b5(e);case 216:return Av(e);default:return e}}function ldt(e,t){return lr(e.types,n=>n!==t&&n2(n)&&yo(n.literal)?n.literal.text:void 0)}function udt(e,t,n,s){let l=!1;const f=new Map,d=[],g=a_(e)?R.checkDefined(mn(t.parent,bh)):t;s.getResolvedSignatureForStringLiteralCompletions(e,g,d);const h=ln(d,k=>{if(!kf(k)&&n.argumentCount>k.parameters.length)return;let T=k.getTypeParameterAtPosition(n.argumentIndex);if(a_(e)){const C=s.getTypeOfPropertyOfType(T,Z5(g.name));C&&(T=C)}return l=l||!!(T.flags&4),NW(T,f)});return G(h)?{kind:2,types:h,isNewIdentifier:l}:void 0}function KIe(e){return e&&{kind:1,symbols:gr(e.getApparentProperties(),t=>!(t.valueDeclaration&&s_(t.valueDeclaration))),hasIndexSignature:Ioe(e)}}function fdt(e,t){const n=e.getContextualType(t);if(!n)return;const s=e.getContextualType(t,4);return{kind:1,symbols:EW(n,s,t,e),hasIndexSignature:Ioe(n)}}function NW(e,t=new Map){return e?(e=moe(e),e.isUnion()?ln(e.types,n=>NW(n,t)):e.isStringLiteral()&&!(e.flags&1024)&&Dm(t,e.value)?[e]:ft):ft}function bA(e,t,n){return{name:e,kind:t,extension:n}}function Vfe(e){return bA(e,"directory",void 0)}function e5e(e,t,n){const s=xdt(e,t),l=e.length===0?void 0:yu(t,e.length);return n.map(({name:f,kind:d,extension:g})=>Math.max(f.indexOf(zc),f.indexOf(wI))!==-1?{name:f,kind:d,extension:g,span:l}:{name:f,kind:d,extension:g,span:s})}function t5e(e,t,n,s,l,f){return e5e(t.text,t.getStart(e)+1,_dt(e,t,n,s,l,f))}function _dt(e,t,n,s,l,f){const d=Qu(t.text),g=Yo(t)?cm(e,t):void 0,h=e.path,k=cs(h),T=$fe(n,1,e,l,f,g);return kdt(d)||!n.baseUrl&&!n.paths&&(fh(d)||vbe(d))?pdt(d,k,n,s,h,T):gdt(d,k,g,n,s,T,l)}function $fe(e,t,n,s,l,f){return{extensionsToSearch:$n(ddt(e,s)),referenceKind:t,importingSourceFile:n,endingPreference:l==null?void 0:l.importModuleSpecifierEnding,resolutionMode:f}}function pdt(e,t,n,s,l,f){return n.rootDirs?hdt(n.rootDirs,e,t,f,n,s,l):oo(M8(e,t,f,s,!1,l).values())}function ddt(e,t){const n=t?lr(t.getAmbientModules(),f=>{const d=f.name.slice(1,-1);if(!(!d.startsWith("*.")||d.includes("/")))return d.slice(1)}):[],s=[...KP(e),n],l=wl(e);return CV(l)?$5(e,s):s}function mdt(e,t,n,s){e=e.map(f=>So(fh(f)?f:vs(t,f)));const l=$e(e,f=>gv(f,n,t,s)?n.substr(f.length):void 0);return Ds([...e.map(f=>vs(f,l)),n],VC,zf)}function hdt(e,t,n,s,l,f,d){const g=l.project||f.getCurrentDirectory(),h=!(f.useCaseSensitiveFileNames&&f.useCaseSensitiveFileNames()),k=mdt(e,g,n,h);return ln(k,T=>oo(M8(t,T,s,f,!0,d).values()))}function M8(e,t,n,s,l,f,d=Ufe()){var g;e===void 0&&(e=""),e=Qu(e),K0(e)||(e=cs(e)),e===""&&(e="."+zc),e=Vf(e);const h=hv(t,e),k=K0(h)?h:cs(h);if(!l){const O=BAe(k,s);if(O){const U=VP(O,s).typesVersions;if(typeof U=="object"){const B=(g=KU(U))==null?void 0:g.paths;if(B){const H=cs(O),Y=h.slice(Vf(H).length);if(n5e(d,Y,H,n,s,B))return d}}}}const T=!(s.useCaseSensitiveFileNames&&s.useCaseSensitiveFileNames());if(!jV(s,k))return d;const C=Moe(s,k,n.extensionsToSearch,void 0,["./*"]);if(C)for(let O of C){if(O=So(O),f&&Tx(O,f,t,T)===0)continue;const{name:M,extension:U}=r5e(Xu(O),s.getCompilationSettings(),n);d.add(bA(M,"script",U))}const D=RV(s,k);if(D)for(const O of D){const M=Xu(So(O));M!=="@types"&&d.add(Vfe(M))}return d}function r5e(e,t,n){const s=nS.tryGetRealFileNameForNonJsDeclarationFileName(e);if(s)return{name:s,extension:Kg(s)};if(n.referenceKind===0)return{name:e,extension:Kg(e)};const l=Bte(n.endingPreference,n.resolutionMode,t,n.importingSourceFile);if(l===3){if($l(e,OJ))return{name:e,extension:Kg(e)};const d=nS.tryGetJSExtensionForFile(e,t);return d?{name:VT(e,d),extension:d}:{name:e,extension:Kg(e)}}if((l===0||l===1)&&$l(e,[".js",".jsx",".ts",".tsx",".d.ts"]))return{name:R_(e),extension:Kg(e)};const f=nS.tryGetJSExtensionForFile(e,t);return f?{name:VT(e,f),extension:f}:{name:e,extension:Kg(e)}}function n5e(e,t,n,s,l,f){const d=h=>f[h],g=(h,k)=>{const T=S4(h),C=S4(k),D=typeof T=="object"?T.prefix.length:h.length,O=typeof C=="object"?C.prefix.length:k.length;return wc(O,D)};return i5e(e,t,n,s,l,Jy(f),d,g)}function i5e(e,t,n,s,l,f,d,g){let h=[],k;for(const T of f){if(T===".")continue;const C=T.replace(/^\.\//,""),D=d(T);if(D){const O=S4(C);if(!O)continue;const M=typeof O=="object"&&dB(O,t);M&&(k===void 0||g(T,k)===-1)&&(k=T,h=h.filter(B=>!B.matchedPattern)),(typeof O=="string"||k===void 0||g(T,k)!==1)&&h.push({matchedPattern:M,results:ydt(C,D,t,n,s,l).map(({name:B,kind:H,extension:Y})=>bA(B,H,Y))})}}return h.forEach(T=>T.results.forEach(C=>e.add(C))),k!==void 0}function gdt(e,t,n,s,l,f,d){const{baseUrl:g,paths:h}=s,k=Ufe(),T=wl(s);if(g){const D=So(vs(l.getCurrentDirectory(),g));M8(e,D,f,l,!1,void 0,k)}if(h){const D=tJ(s,l);n5e(k,e,D,f,l,h)}const C=a5e(e);for(const D of bdt(e,C,d))k.add(bA(D,"external module name",void 0));if(l5e(l,s,t,C,f,k),CV(T)){let D=!1;if(C===void 0)for(const O of Sdt(l,t)){const M=bA(O,"external module name",void 0);k.has(M.name)||(D=!0,k.add(M))}if(!D){let O=M=>{const U=vs(M,"node_modules");jV(l,U)&&M8(e,U,f,l,!1,void 0,k)};if(C&&Dte(s)){const M=O;O=U=>{const B=Ou(e);B.shift();let H=B.shift();if(!H)return M(U);if(Xs(H,"@")){const fe=B.shift();if(!fe)return M(U);H=vs(H,fe)}const Y=vs(U,"node_modules",H),Z=vs(Y,"package.json");if(BV(l,Z)){const Q=VP(Z,l).exports;if(Q){if(typeof Q!="object"||Q===null)return;const he=Jy(Q),W=B.join("/")+(B.length&&K0(e)?"/":""),ye=n===99?["node","import","types"]:["node","require","types"];i5e(k,W,Y,f,l,he,de=>yx(s5e(Q[de],ye)),cie);return}}return M(U)}}zy(t,O)}}return oo(k.values())}function s5e(e,t){if(typeof e=="string")return e;if(e&&typeof e=="object"&&!ka(e)){for(const n in e)if(n==="default"||t.indexOf(n)>-1||n9(t,n)){const s=e[n];return s5e(s,t)}}}function a5e(e){return qfe(e)?K0(e)?e:cs(e):void 0}function ydt(e,t,n,s,l,f){if(!Sl(e,"*"))return rf(e,"*")?ft:h(e,"script");const d=e.slice(0,e.length-1),g=tZ(n,d);if(g===void 0)return e[e.length-2]==="/"?h(d,"directory"):ln(t,T=>{var C;return(C=o5e("",s,T,l,f))==null?void 0:C.map(({name:D,...O})=>({name:d+D,...O}))});return ln(t,k=>o5e(g,s,k,l,f));function h(k,T){return Xs(k,n)?[{name:ST(k),kind:T,extension:void 0}]:ft}}function o5e(e,t,n,s,l){if(!l.readDirectory)return;const f=S4(n);if(f===void 0||Wa(f))return;const d=hv(f.prefix),g=K0(f.prefix)?d:cs(d),h=K0(f.prefix)?"":Xu(d),k=qfe(e),T=k?K0(e)?e:cs(e):void 0,C=k?vs(g,h+T):g,D=So(f.suffix),O=So(vs(t,C)),M=k?O:Vf(O)+h,U=D?"**/*"+D:"./*",B=lr(Moe(l,O,s.extensionsToSearch,void 0,[U]),Z=>{const fe=Y(Z);if(fe){if(qfe(fe))return Vfe(Ou(c5e(fe))[1]);const{name:Q,extension:he}=r5e(fe,l.getCompilationSettings(),s);return bA(Q,"script",he)}}),H=D?ft:lr(RV(l,O),Z=>Z==="node_modules"?void 0:Vfe(Z));return[...B,...H];function Y(Z){const fe=vdt(So(Z),M,D);return fe===void 0?void 0:c5e(fe)}}function vdt(e,t,n){return Xs(e,t)&&Sl(e,n)?e.slice(t.length,e.length-n.length):void 0}function c5e(e){return e[0]===zc?e.slice(1):e}function bdt(e,t,n){const l=n.getAmbientModules().map(f=>tm(f.name)).filter(f=>Xs(f,e)&&f.indexOf("*")<0);if(t!==void 0){const f=Vf(t);return l.map(d=>K3(d,f))}return l}function Tdt(e,t,n,s){const l=Os(e,t),f=Vg(e.text,l.pos),d=f&&Ve(f,M=>t>=M.pos&&t<=M.end);if(!d)return;const g=e.text.slice(d.pos,t),h=u5e.exec(g);if(!h)return;const[,k,T,C]=h,D=cs(e.path),O=T==="path"?M8(C,D,$fe(n,0,e),s,!0,e.path):T==="types"?l5e(s,n,D,a5e(C),$fe(n,1,e)):R.fail();return e5e(C,d.pos+k.length,oo(O.values()))}function l5e(e,t,n,s,l,f=Ufe()){const d=new Map,g=JV(()=>KO(t,e))||ft;for(const k of g)h(k);for(const k of Foe(n,e)){const T=vs(cs(k),"node_modules/@types");h(T)}return f;function h(k){if(jV(e,k))for(const T of RV(e,k)){const C=lz(T);if(!(t.types&&!kt(t.types,C)))if(s===void 0)d.has(C)||(f.add(bA(C,"external module name",void 0)),d.set(C,!0));else{const D=vs(k,T),O=Ite(s,C,a1(e));O!==void 0&&M8(O,D,l,e,!1,void 0,f)}}}}function Sdt(e,t){if(!e.readFile||!e.fileExists)return ft;const n=[];for(const s of Foe(t,e)){const l=VP(s,e);for(const f of f5e){const d=l[f];if(d)for(const g in d)uc(d,g)&&!Xs(g,"@types/")&&n.push(g)}}return n}function xdt(e,t){const n=Math.max(e.lastIndexOf(zc),e.lastIndexOf(wI)),s=n!==-1?n+1:0,l=e.length-s;return l===0||od(e.substr(s,l),99)?void 0:yu(t+s,l)}function kdt(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 qfe(e){return rf(e,zc)}function Cdt(e){return Ra(e.parent)&&Hu(e.parent.arguments)===e&&He(e.parent.expression)&&e.parent.expression.escapedText==="require"}var Wfe,u5e,f5e,wdt=p({"src/services/stringCompletions.ts"(){Si(),Hfe(),Wfe={directory:0,script:1,["external module name"]:2},u5e=/^(\/\/\/\s*<reference\s+(path|types)\s*=\s*(?:'|"))([^\3"]*)$/,f5e=["dependencies","devDependencies","peerDependencies","optionalDependencies"]}}),IW={};S(IW,{getStringLiteralCompletionDetails:()=>odt,getStringLiteralCompletions:()=>sdt});var Edt=p({"src/services/_namespaces/ts.Completions.StringCompletions.ts"(){wdt()}}),fE={};S(fE,{CompletionKind:()=>jfe,CompletionSource:()=>Rfe,SortText:()=>zu,StringCompletions:()=>IW,SymbolOriginInfoKind:()=>Bfe,createCompletionDetails:()=>BL,createCompletionDetailsForSymbol:()=>Ife,getCompletionEntriesFromSymbols:()=>Dfe,getCompletionEntryDetails:()=>Fpt,getCompletionEntrySymbol:()=>Bpt,getCompletionsAtPosition:()=>dpt,getPropertiesForObjectExpression:()=>EW,moduleSpecifierResolutionCacheAttemptLimit:()=>Ffe,moduleSpecifierResolutionLimit:()=>DW});var Hfe=p({"src/services/_namespaces/ts.Completions.ts"(){idt(),Edt()}});function Gfe(e,t,n,s){const l=Ndt(e,n,s);return(f,d,g)=>{const{directImports:h,indirectUsers:k}=Adt(e,t,l,d,n,s);return{indirectUsers:k,...Pdt(h,f,d.exportKind,n,g)}}}function Adt(e,t,n,{exportingModuleSymbol:s,exportKind:l},f,d){const g=Xw(),h=Xw(),k=[],T=!!s.globalExports,C=T?void 0:[];return O(s),{directImports:k,indirectUsers:D()};function D(){if(T)return e;if(s.declarations)for(const Z of s.declarations)DT(Z)&&t.has(Z.getSourceFile().fileName)&&H(Z);return C.map(pn)}function O(Z){const fe=Y(Z);if(fe){for(const Q of fe)if(g(Q))switch(d&&d.throwIfCancellationRequested(),Q.kind){case 212:if(Dp(Q)){M(Q);break}if(!T){const W=Q.parent;if(l===2&&W.kind===259){const{name:ye}=W;if(ye.kind===80){k.push(ye);break}}}break;case 80:break;case 270:B(Q,Q.name,gi(Q,1),!1);break;case 271:k.push(Q);const he=Q.importClause&&Q.importClause.namedBindings;he&&he.kind===273?B(Q,he.name,!1,!0):!T&&ow(Q)&&H(UL(Q));break;case 277:Q.exportClause?Q.exportClause.kind===279?H(UL(Q),!0):k.push(Q):O(Fdt(Q,f));break;case 204:!T&&Q.isTypeOf&&!Q.qualifier&&U(Q)&&H(Q.getSourceFile(),!0),k.push(Q);break;default:R.failBadSyntaxKind(Q,"Unexpected import kind.")}}}function M(Z){const fe=mn(Z,OW)||Z.getSourceFile();H(fe,!!U(Z,!0))}function U(Z,fe=!1){return mn(Z,Q=>fe&&OW(Q)?"quit":am(Q)&&Ne(Q.modifiers,pU))}function B(Z,fe,Q,he){if(l===2)he||k.push(Z);else if(!T){const W=UL(Z);R.assert(W.kind===311||W.kind===266),Q||Ddt(W,fe,f)?H(W,!0):H(W)}}function H(Z,fe=!1){if(R.assert(!T),!h(Z)||(C.push(Z),!fe))return;const he=f.getMergedSymbol(Z.symbol);if(!he)return;R.assert(!!(he.flags&1536));const W=Y(he);if(W)for(const ye of W)t0(ye)||H(UL(ye),!0)}function Y(Z){return n.get(vo(Z).toString())}}function Pdt(e,t,n,s,l){const f=[],d=[];function g(D,O){f.push([D,O])}if(e)for(const D of e)h(D);return{importSearches:f,singleReferences:d};function h(D){if(D.kind===270){Qfe(D)&&k(D.name);return}if(D.kind===80){k(D);return}if(D.kind===204){if(D.qualifier){const U=Np(D.qualifier);U.escapedText===xl(t)&&d.push(U)}else n===2&&d.push(D.argument.literal);return}if(D.moduleSpecifier.kind!==11)return;if(D.kind===277){D.exportClause&&im(D.exportClause)&&T(D.exportClause);return}const{name:O,namedBindings:M}=D.importClause||{name:void 0,namedBindings:void 0};if(M)switch(M.kind){case 273:k(M.name);break;case 274:(n===0||n===1)&&T(M);break;default:R.assertNever(M)}if(O&&(n===1||n===2)&&(!l||O.escapedText===EV(t))){const U=s.getSymbolAtLocation(O);g(O,U)}}function k(D){n===2&&(!l||C(D.escapedText))&&g(D,s.getSymbolAtLocation(D))}function T(D){if(D)for(const O of D.elements){const{name:M,propertyName:U}=O;if(C((U||M).escapedText))if(U)d.push(U),(!l||M.escapedText===t.escapedName)&&g(M,s.getSymbolAtLocation(M));else{const B=O.kind===280&&O.propertyName?s.getExportSpecifierLocalTargetSymbol(O):s.getSymbolAtLocation(M);g(M,B)}}}function C(D){return D===t.escapedName||n!==0&&D==="default"}}function Ddt(e,t,n){const s=n.getSymbolAtLocation(t);return!!p5e(e,l=>{if(!Ju(l))return;const{exportClause:f,moduleSpecifier:d}=l;return!d&&f&&im(f)&&f.elements.some(g=>n.getExportSpecifierLocalTargetSymbol(g)===s)})}function _5e(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)===311){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})}}d5e(d,(h,k)=>{f.getSymbolAtLocation(k)===n&&l.push(Ec(h)?{kind:"implicit",literal:k,referencingFile:d}:{kind:"import",literal:k})})}return l}function Ndt(e,t,n){const s=new Map;for(const l of e)n&&n.throwIfCancellationRequested(),d5e(l,(f,d)=>{const g=t.getSymbolAtLocation(d);if(g){const h=vo(g).toString();let k=s.get(h);k||s.set(h,k=[]),k.push(f)}});return s}function p5e(e,t){return te(e.kind===311?e.statements:e.body.statements,n=>t(n)||OW(n)&&te(n.body&&n.body.statements,t))}function d5e(e,t){if(e.externalModuleIndicator||e.imports!==void 0)for(const n of e.imports)t(d5(n),n);else p5e(e,n=>{switch(n.kind){case 277:case 271:{const s=n;s.moduleSpecifier&&yo(s.moduleSpecifier)&&t(s,s.moduleSpecifier);break}case 270:{const s=n;Qfe(s)&&t(s,s.moduleReference.expression);break}}})}function m5e(e,t,n,s){return s?l():l()||f();function l(){var h;const{parent:k}=e,T=k.parent;if(t.exportSymbol)return k.kind===210?(h=t.declarations)!=null&&h.some(O=>O===k)&&Bn(T)?D(T,!1):void 0:d(t.exportSymbol,g(k));{const O=Odt(k,e);if(O&&gi(O,1))return cf(O)&&O.moduleReference===e?s?void 0:{kind:0,symbol:n.getSymbolAtLocation(O.name)}:d(t,g(O));if(ny(k))return d(t,0);if(Pl(k))return C(k);if(Pl(T))return C(T);if(Bn(k))return D(k,!0);if(Bn(T))return D(T,!0);if(wO(k)||Hre(k))return d(t,0)}function C(O){if(!O.symbol.parent)return;const M=O.isExportEquals?2:1;return{kind:1,symbol:t,exportInfo:{exportingModuleSymbol:O.symbol.parent,exportKind:M}}}function D(O,M){let U;switch(dl(O)){case 1:U=0;break;case 2:U=2;break;default:return}const B=M?n.getSymbolAtLocation(bSe(Ua(O.left,jc))):t;return B&&d(B,U)}}function f(){if(!Ldt(e))return;let k=n.getImmediateAliasedSymbol(t);if(!k||(k=Mdt(k,n),k.escapedName==="export="&&(k=Idt(k,n),k===void 0)))return;const T=EV(k);if(T===void 0||T==="default"||T===t.escapedName)return{kind:0,symbol:k}}function d(h,k){const T=Xfe(h,k,n);return T&&{kind:1,symbol:h,exportInfo:T}}function g(h){return gi(h,1024)?1:0}}function Idt(e,t){var n,s;if(e.flags&2097152)return t.getImmediateAliasedSymbol(e);const l=R.checkDefined(e.valueDeclaration);if(Pl(l))return(n=wi(l.expression,Xh))==null?void 0:n.symbol;if(Bn(l))return(s=wi(l.right,Xh))==null?void 0:s.symbol;if(Cs(l))return l.symbol}function Odt(e,t){const n=bs(e)?e:Lo(e)?F6(e):void 0;return n?e.name!==t||j4(n.parent)?void 0:Yl(n.parent.parent)?n.parent.parent:void 0:e}function Ldt(e){const{parent:t}=e;switch(t.kind){case 270:return t.name===e&&Qfe(t);case 275:return!t.propertyName;case 272:case 273:return R.assert(t.name===e),!0;case 207:return Mn(e)&&MT(t.parent.parent);default:return!1}}function Xfe(e,t,n){const s=e.parent;if(!s)return;const l=n.getMergedSymbol(s);return q9(l)?{exportingModuleSymbol:l,exportKind:t}:void 0}function Mdt(e,t){if(e.declarations)for(const n of e.declarations){if(T_(n)&&!n.propertyName&&!n.parent.parent.moduleSpecifier)return t.getExportSpecifierLocalTargetSymbol(n)||e;if(ai(n)&&Xg(n.expression)&&!fs(n.name))return t.getSymbolAtLocation(n);if(hd(n)&&Bn(n.parent.parent)&&dl(n.parent.parent)===2)return t.getExportSpecifierLocalTargetSymbol(n.name)}return e}function Fdt(e,t){return t.getMergedSymbol(UL(e).symbol)}function UL(e){if(e.kind===212)return e.getSourceFile();const{parent:t}=e;return t.kind===311?t:(R.assert(t.kind===267),Ua(t.parent,OW))}function OW(e){return e.kind===266&&e.name.kind===11}function Qfe(e){return e.moduleReference.kind===282&&e.moduleReference.expression.kind===11}var Yfe,Zfe,Rdt=p({"src/services/importTracker.ts"(){Si(),Yfe=(e=>(e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals",e))(Yfe||{}),Zfe=(e=>(e[e.Import=0]="Import",e[e.Export=1]="Export",e))(Zfe||{})}});function hg(e,t=1){return{kind:t,node:e.name||e,context:Bdt(e)}}function h5e(e){return e&&e.kind===void 0}function Bdt(e){if(Sf(e))return fS(e);if(e.parent){if(!Sf(e.parent)&&!Pl(e.parent)){if(Mn(e)){const n=Bn(e.parent)?e.parent:jc(e.parent)&&Bn(e.parent.parent)&&e.parent.parent.left===e.parent?e.parent.parent:void 0;if(n&&dl(n)!==0)return fS(n)}if(vh(e.parent)||XT(e.parent))return e.parent.parent;if(Qx(e.parent)||GT(e.parent)||mP(e.parent))return e.parent;if(Yo(e)){const n=m5(e);if(n){const s=mn(n,l=>Sf(l)||Vs(l)||q6(l));return Sf(s)?fS(s):s}}const t=mn(e,Ho);return t?fS(t.parent):void 0}if(e.parent.name===e||El(e.parent)||Pl(e.parent)||(ZC(e.parent)||Lo(e.parent))&&e.parent.propertyName===e||e.kind===90&&gi(e.parent,1025))return fS(e.parent)}}function fS(e){if(e)switch(e.kind){case 259:return!Tu(e.parent)||e.parent.declarations.length!==1?e:Yl(e.parent.parent)?e.parent.parent:V6(e.parent.parent)?fS(e.parent.parent):e.parent;case 207:return fS(e.parent.parent);case 275:return e.parent.parent.parent;case 280:case 273:return e.parent.parent;case 272:case 279:return e.parent;case 225:return of(e.parent)?e.parent:e;case 249:case 248:return{start:e.initializer,end:e.expression};case 302:case 303:return b1(e.parent)?fS(mn(e.parent,t=>Bn(t)||V6(t))):e;default:return e}}function Kfe(e,t,n){if(!n)return;const s=h5e(n)?VL(n.start,t,n.end):VL(n,t);return s.start!==e.start||s.length!==e.length?{contextSpan:s}:void 0}function jdt(e,t,n,s,l){const f=Qp(s,l),d={use:1},g=kk.getReferencedSymbolsForNode(l,f,e,n,t,d),h=e.getTypeChecker(),k=kk.getAdjustedNode(f,d),T=Jdt(k)?h.getSymbolAtLocation(k):void 0;return!g||!g.length?void 0:lr(g,({definition:C,references:D})=>C&&{definition:h.runWithCancellationToken(t,O=>Vdt(C,O,f)),references:D.map(O=>qdt(O,T))})}function Jdt(e){return e.kind===90||!!T5(e)||S5(e)||e.kind===137&&El(e.parent)}function Udt(e,t,n,s,l){const f=Qp(s,l);let d;const g=g5e(e,t,n,f,l);if(f.parent.kind===210||f.parent.kind===207||f.parent.kind===211||f.kind===108)d=g&&[...g];else if(g){const k=YY(g),T=new Map;for(;!k.isEmpty();){const C=k.dequeue();if(!Dm(T,Jo(C.node)))continue;d=zr(d,C);const D=g5e(e,t,n,C.node,C.node.pos);D&&k.enqueue(...D)}}const h=e.getTypeChecker();return qt(d,k=>Hdt(k,h))}function g5e(e,t,n,s,l){if(s.kind===311)return;const f=e.getTypeChecker();if(s.parent.kind===303){const d=[];return kk.getReferenceEntriesForShorthandPropertyAssignment(s,f,g=>d.push(hg(g))),d}else if(s.kind===108||v_(s.parent)){const d=f.getSymbolAtLocation(s);return d.valueDeclaration&&[hg(d.valueDeclaration)]}else return y5e(l,s,e,n,t,{implementations:!0,use:1})}function zdt(e,t,n,s,l,f,d){return qt(v5e(kk.getReferencedSymbolsForNode(l,s,e,n,t,f)),g=>d(g,s,e.getTypeChecker()))}function y5e(e,t,n,s,l,f={},d=new Set(s.map(g=>g.fileName))){return v5e(kk.getReferencedSymbolsForNode(e,t,n,s,l,f,d))}function v5e(e){return e&&ln(e,t=>t.references)}function Vdt(e,t,n){const s=(()=>{switch(e.type){case 0:{const{symbol:T}=e,{displayParts:C,kind:D}=b5e(T,t,n),O=C.map(B=>B.text).join(""),M=T.declarations&&Hu(T.declarations),U=M?ia(M)||M:n;return{...zL(U),name:O,kind:D,displayParts:C,context:fS(M)}}case 1:{const{node:T}=e;return{...zL(T),name:T.text,kind:"label",displayParts:[U_(T.text,17)]}}case 2:{const{node:T}=e,C=io(T.kind);return{...zL(T),name:C,kind:"keyword",displayParts:[{text:C,kind:"keyword"}]}}case 3:{const{node:T}=e,C=t.getSymbolAtLocation(T),D=C&&x1.getSymbolDisplayPartsDocumentationAndSymbolKind(t,C,T.getSourceFile(),pk(T),T).displayParts||[Yp("this")];return{...zL(T),name:"this",kind:"var",displayParts:D}}case 4:{const{node:T}=e;return{...zL(T),name:T.text,kind:"var",displayParts:[U_(iu(T),8)]}}case 5:return{textSpan:Uv(e.reference),sourceFile:e.file,name:e.reference.fileName,kind:"string",displayParts:[U_(`"${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,...Kfe(f,l,k)}}function zL(e){const t=e.getSourceFile();return{sourceFile:t,textSpan:VL(Ho(e)?e.expression:e,t)}}function b5e(e,t,n){const s=kk.getIntersectingMeaningFromDeclarations(n,e),l=e.declarations&&Hu(e.declarations)||n,{displayParts:f,symbolKind:d}=x1.getSymbolDisplayPartsDocumentationAndSymbolKind(t,e,l.getSourceFile(),l,l,s);return{displayParts:f,kind:d}}function $dt(e,t,n,s,l){return{...LW(e),...s&&Wdt(e,t,n,l)}}function qdt(e,t){const n=T5e(e);return t?{...n,isDefinition:e.kind!==0&&x5e(e.node,t)}:n}function T5e(e){const t=LW(e);if(e.kind===0)return{...t,isWriteAccess:!1};const{kind:n,node:s}=e;return{...t,isWriteAccess:S5e(s),isInString:n===2?!0:void 0}}function LW(e){if(e.kind===0)return{textSpan:e.textSpan,fileName:e.fileName};{const t=e.node.getSourceFile(),n=VL(e.node,t);return{textSpan:n,fileName:t.fileName,...Kfe(n,t,e.context)}}}function Wdt(e,t,n,s){if(e.kind!==0&&He(t)){const{node:l,kind:f}=e,d=l.parent,g=t.text,h=hd(d);if(h||G9(d)&&d.name===l&&d.dotDotDotToken===void 0){const k={prefixText:g+": "},T={suffixText:": "+g};if(f===3)return k;if(f===4)return T;if(h){const C=d.parent;return jo(C)&&Bn(C.parent)&&Xg(C.parent.left)?k:T}else return k}else if(J_(d)&&!d.propertyName){const k=T_(t.parent)?n.getExportSpecifierLocalTargetSymbol(t.parent):n.getSymbolAtLocation(t);return kt(k.declarations,d)?{prefixText:g+" as "}:Rd}else if(T_(d)&&!d.propertyName)return t===e.node||n.getSymbolAtLocation(t)===n.getSymbolAtLocation(e.node)?{prefixText:g+" as "}:{suffixText:" as "+g}}if(e.kind!==0&&Hp(e.node)&&jc(e.node.parent)){const l=voe(s);return{prefixText:l,suffixText:l}}return Rd}function Hdt(e,t){const n=LW(e);if(e.kind!==0){const{node:s}=e;return{...n,...Gdt(s,t)}}else return{...n,kind:"",displayParts:[]}}function Gdt(e,t){const n=t.getSymbolAtLocation(Sf(e)&&e.name?e.name:e);return n?b5e(n,t,e):e.kind===209?{kind:"interface",displayParts:[wf(21),Yp("object literal"),wf(22)]}:e.kind===230?{kind:"local class",displayParts:[wf(21),Yp("anonymous local class"),wf(22)]}:{kind:lS(e),displayParts:[]}}function Xdt(e){const t=LW(e);if(e.kind===0)return{fileName:t.fileName,span:{textSpan:t.textSpan,kind:"reference"}};const n=S5e(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 VL(e,t,n){let s=e.getStart(t),l=(n||e).getEnd();return Yo(e)&&l-s>2&&(R.assert(n===void 0),s+=1,l-=1),nu(s,l)}function e_e(e){return e.kind===0?e.textSpan:VL(e.node,e.node.getSourceFile())}function S5e(e){const t=T5(e);return!!t&&Qdt(t)||e.kind===90||HP(e)}function x5e(e,t){var n;if(!t)return!1;const s=T5(e)||(e.kind===90?e.parent:S5(e)||e.kind===137&&El(e.parent)?e.parent.parent:void 0),l=s&&Bn(s)?s.left:void 0;return!!(s&&((n=t.declarations)!=null&&n.some(f=>f===s||f===l)))}function Qdt(e){if(e.flags&16777216)return!0;switch(e.kind){case 225:case 207:case 262:case 230:case 90:case 265:case 305:case 280:case 272:case 270:case 275:case 263:case 344:case 352:case 290:case 266:case 269:case 273:case 279:case 168:case 303:case 264:case 167:return!0;case 302:return!b1(e.parent);case 261:case 217:case 175:case 173:case 176:case 177:return!!e.body;case 259:case 171:return!!e.initializer||j4(e.parent);case 172:case 170:case 354:case 347:return!1;default:return R.failBadSyntaxKind(e)}}var t_e,r_e,n_e,kk,Ydt=p({"src/services/findAllReferences.ts"(){Si(),k5e(),t_e=(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))(t_e||{}),r_e=(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))(r_e||{}),n_e=(e=>(e[e.Other=0]="Other",e[e.References=1]="References",e[e.Rename=2]="Rename",e))(n_e||{}),(e=>{function t(pt,Nt,dt,Ut,rr,se={},at=new Set(Ut.map(xt=>xt.fileName))){var xt,ae,mt;if(Nt=n(Nt,se),Cs(Nt)){const Gn=R8.getReferenceAtPosition(Nt,pt,dt);if(!(Gn!=null&&Gn.file))return;const Rn=dt.getTypeChecker().getMergedSymbol(Gn.file.symbol);if(Rn)return k(dt,Rn,!1,Ut,at);const L=dt.getFileIncludeReasons();return L?[{definition:{type:5,reference:Gn.reference,file:Nt},references:l(Gn.file,L,dt)||ft}]:void 0}if(!se.implementations){const Gn=C(Nt,Ut,rr);if(Gn)return Gn}const _r=dt.getTypeChecker(),Fe=_r.getSymbolAtLocation(El(Nt)&&Nt.parent.name||Nt);if(!Fe){if(!se.implementations&&Yo(Nt)){if(AV(Nt)){const Gn=dt.getFileIncludeReasons(),Rn=(mt=(ae=(xt=Nt.getSourceFile().resolvedModules)==null?void 0:xt.get(Nt.text,cm(Nt.getSourceFile(),Nt)))==null?void 0:ae.resolvedModule)==null?void 0:mt.resolvedFileName,L=Rn?dt.getSourceFile(Rn):void 0;if(L)return[{definition:{type:4,node:Nt},references:l(L,Gn,dt)||ft}]}return Pt(Nt,Ut,_r,rr)}return}if(Fe.escapedName==="export=")return k(dt,Fe.parent,!1,Ut,at);const Gt=d(Fe,dt,Ut,rr,se,at);if(Gt&&!(Fe.flags&33554432))return Gt;const zt=f(Nt,Fe,_r),Lr=zt&&d(zt,dt,Ut,rr,se,at),ii=D(Fe,Nt,Ut,at,_r,rr,se);return g(dt,Gt,ii,Lr)}e.getReferencedSymbolsForNode=t;function n(pt,Nt){return Nt.use===1?pt=roe(pt):Nt.use===2&&(pt=hV(pt)),pt}e.getAdjustedNode=n;function s(pt,Nt,dt,Ut=new Set(dt.map(rr=>rr.fileName))){var rr,se;const at=(rr=Nt.getSourceFile(pt))==null?void 0:rr.symbol;if(at)return((se=k(Nt,at,!1,dt,Ut)[0])==null?void 0:se.references)||ft;const xt=Nt.getFileIncludeReasons(),ae=Nt.getSourceFile(pt);return ae&&xt&&l(ae,xt,Nt)||ft}e.getReferencesForFileName=s;function l(pt,Nt,dt){let Ut;const rr=Nt.get(pt.path)||ft;for(const se of rr)if(u2(se)){const at=dt.getSourceFileByPath(se.file),xt=QD(dt.getSourceFileByPath,se);iA(xt)&&(Ut=zr(Ut,{kind:0,fileName:at.fileName,textSpan:Uv(xt)}))}return Ut}function f(pt,Nt,dt){if(pt.parent&&xO(pt.parent)){const Ut=dt.getAliasedSymbol(Nt),rr=dt.getMergedSymbol(Ut);if(Ut!==rr)return rr}}function d(pt,Nt,dt,Ut,rr,se){const at=pt.flags&1536&&pt.declarations&&Ve(pt.declarations,Cs);if(!at)return;const xt=pt.exports.get("export="),ae=k(Nt,pt,!!xt,dt,se);if(!xt||!se.has(at.fileName))return ae;const mt=Nt.getTypeChecker();return pt=F_(xt,mt),g(Nt,ae,D(pt,void 0,dt,se,mt,Ut,rr))}function g(pt,...Nt){let dt;for(const Ut of Nt)if(!(!Ut||!Ut.length)){if(!dt){dt=Ut;continue}for(const rr of Ut){if(!rr.definition||rr.definition.type!==0){dt.push(rr);continue}const se=rr.definition.symbol,at=ir(dt,ae=>!!ae.definition&&ae.definition.type===0&&ae.definition.symbol===se);if(at===-1){dt.push(rr);continue}const xt=dt[at];dt[at]={definition:xt.definition,references:xt.references.concat(rr.references).sort((ae,mt)=>{const _r=h(pt,ae),Fe=h(pt,mt);if(_r!==Fe)return wc(_r,Fe);const Gt=e_e(ae),zt=e_e(mt);return Gt.start!==zt.start?wc(Gt.start,zt.start):wc(Gt.length,zt.length)})}}}return dt}function h(pt,Nt){const dt=Nt.kind===0?pt.getSourceFile(Nt.fileName):Nt.node.getSourceFile();return pt.getSourceFiles().indexOf(dt)}function k(pt,Nt,dt,Ut,rr){R.assert(!!Nt.valueDeclaration);const se=lr(_5e(pt,Ut,Nt),xt=>{if(xt.kind==="import"){const ae=xt.literal.parent;if(n2(ae)){const mt=Ua(ae.parent,t0);if(dt&&!mt.qualifier)return}return hg(xt.literal)}else if(xt.kind==="implicit"){const ae=xt.literal.text!==Ov&&OD(xt.referencingFile,mt=>mt.transformFlags&2?iy(mt)||Qx(mt)||QT(mt)?mt:void 0:"skip")||xt.referencingFile.statements[0]||xt.referencingFile;return hg(ae)}else return{kind:0,fileName:xt.referencingFile.fileName,textSpan:Uv(xt.ref)}});if(Nt.declarations)for(const xt of Nt.declarations)switch(xt.kind){case 311:break;case 266:rr.has(xt.getSourceFile().fileName)&&se.push(hg(xt.name));break;default:R.assert(!!(Nt.flags&33554432),"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.")}const at=Nt.exports.get("export=");if(at!=null&&at.declarations)for(const xt of at.declarations){const ae=xt.getSourceFile();if(rr.has(ae.fileName)){const mt=Bn(xt)&&ai(xt.left)?xt.left.expression:Pl(xt)?R.checkDefined(Go(xt,95,ae)):ia(xt)||xt;se.push(hg(mt))}}return se.length?[{definition:{type:0,symbol:Nt},references:se}]:ft}function T(pt){return pt.kind===148&&Nw(pt.parent)&&pt.parent.operator===148}function C(pt,Nt,dt){if(i8(pt.kind))return pt.kind===116&&Lw(pt.parent)||pt.kind===148&&!T(pt)?void 0:Ge(Nt,pt.kind,dt,pt.kind===148?T:void 0);if(K6(pt.parent)&&pt.parent.name===pt)return ut(Nt,dt);if(Ew(pt)&&al(pt.parent))return[{definition:{type:2,node:pt},references:[hg(pt)]}];if(F9(pt)){const Ut=uV(pt.parent,pt.text);return Ut&&Ie(Ut.parent,Ut)}else if(Hae(pt))return Ie(pt.parent,pt);if(lA(pt))return ui(pt,Nt,dt);if(pt.kind===108)return Ji(pt)}function D(pt,Nt,dt,Ut,rr,se,at){const xt=Nt&&U(pt,Nt,rr,!xi(at))||pt,ae=Nt?ks(Nt,xt):7,mt=[],_r=new Y(dt,Ut,Nt?M(Nt):0,rr,se,ae,at,mt),Fe=!xi(at)||!xt.declarations?void 0:Ve(xt.declarations,T_);if(Fe)st(Fe.name,xt,Fe,_r.createSearch(Nt,pt,void 0),_r,!0,!0);else if(Nt&&Nt.kind===90&&xt.escapedName==="default"&&xt.parent)Dt(Nt,xt,_r),Z(Nt,xt,{exportingModuleSymbol:xt.parent,exportKind:1},_r);else{const Gt=_r.createSearch(Nt,xt,void 0,{allSearchSymbols:Nt?Dr(xt,Nt,rr,at.use===2,!!at.providePrefixAndSuffixTextForRename,!!at.implementations):[xt]});O(xt,_r,Gt)}return mt}function O(pt,Nt,dt){const Ut=de(pt);if(Ut)Ke(Ut,Ut.getSourceFile(),dt,Nt,!(Cs(Ut)&&!kt(Nt.sourceFiles,Ut)));else for(const rr of Nt.sourceFiles)Nt.cancellationToken.throwIfCancellationRequested(),W(rr,dt,Nt)}function M(pt){switch(pt.kind){case 175:case 137:return 1;case 80:if(Ri(pt.parent))return R.assert(pt.parent.name===pt),2;default:return 0}}function U(pt,Nt,dt,Ut){const{parent:rr}=Nt;return T_(rr)&&Ut?et(Nt,pt,rr,dt):$e(pt.declarations,se=>{if(!se.parent){if(pt.flags&33554432)return;R.fail(`Unexpected symbol at ${R.formatSyntaxKind(Nt.kind)}: ${R.formatSymbol(pt)}`)}return Ip(se.parent)&&Aw(se.parent.parent)?dt.getPropertyOfType(dt.getTypeFromTypeNode(se.parent.parent),pt.name):void 0})}let B;(pt=>{pt[pt.None=0]="None",pt[pt.Constructor=1]="Constructor",pt[pt.Class=2]="Class"})(B||(B={}));function H(pt){if(!(pt.flags&33555968))return;const Nt=pt.declarations&&Ve(pt.declarations,dt=>!Cs(dt)&&!Al(dt));return Nt&&Nt.symbol}class Y{constructor(Nt,dt,Ut,rr,se,at,xt,ae){this.sourceFiles=Nt,this.sourceFilesSet=dt,this.specialSearchKind=Ut,this.checker=rr,this.cancellationToken=se,this.searchMeaning=at,this.options=xt,this.result=ae,this.inheritsFromCache=new Map,this.markSeenContainingTypeReference=Xw(),this.markSeenReExportRHS=Xw(),this.symbolIdToReferences=[],this.sourceFileToSeenSymbols=[]}includesSourceFile(Nt){return this.sourceFilesSet.has(Nt.fileName)}getImportSearches(Nt,dt){return this.importTracker||(this.importTracker=Gfe(this.sourceFiles,this.sourceFilesSet,this.checker,this.cancellationToken)),this.importTracker(Nt,dt,this.options.use===2)}createSearch(Nt,dt,Ut,rr={}){const{text:se=tm(xl(y4(dt)||H(dt)||dt)),allSearchSymbols:at=[dt]}=rr,xt=$c(se),ae=this.options.implementations&&Nt?qr(Nt,dt,this.checker):void 0;return{symbol:dt,comingFrom:Ut,text:se,escapedText:xt,parents:ae,allSearchSymbols:at,includes:mt=>kt(at,mt)}}referenceAdder(Nt){const dt=vo(Nt);let Ut=this.symbolIdToReferences[dt];return Ut||(Ut=this.symbolIdToReferences[dt]=[],this.result.push({definition:{type:0,symbol:Nt},references:Ut})),(rr,se)=>Ut.push(hg(rr,se))}addStringOrCommentReference(Nt,dt){this.result.push({definition:void 0,references:[{kind:0,fileName:Nt,textSpan:dt}]})}markSearchedSymbols(Nt,dt){const Ut=Jo(Nt),rr=this.sourceFileToSeenSymbols[Ut]||(this.sourceFileToSeenSymbols[Ut]=new Set);let se=!1;for(const at of dt)se=li(rr,vo(at))||se;return se}}function Z(pt,Nt,dt,Ut){const{importSearches:rr,singleReferences:se,indirectUsers:at}=Ut.getImportSearches(Nt,dt);if(se.length){const xt=Ut.referenceAdder(Nt);for(const ae of se)Q(ae,Ut)&&xt(ae)}for(const[xt,ae]of rr)qe(xt.getSourceFile(),Ut.createSearch(xt,ae,1),Ut);if(at.length){let xt;switch(dt.exportKind){case 0:xt=Ut.createSearch(pt,Nt,1);break;case 1:xt=Ut.options.use===2?void 0:Ut.createSearch(pt,Nt,1,{text:"default"});break}if(xt)for(const ae of at)W(ae,xt,Ut)}}function fe(pt,Nt,dt,Ut,rr,se,at,xt){const ae=Gfe(pt,new Set(pt.map(Gt=>Gt.fileName)),Nt,dt),{importSearches:mt,indirectUsers:_r,singleReferences:Fe}=ae(Ut,{exportKind:at?1:0,exportingModuleSymbol:rr},!1);for(const[Gt]of mt)xt(Gt);for(const Gt of Fe)He(Gt)&&t0(Gt.parent)&&xt(Gt);for(const Gt of _r)for(const zt of xe(Gt,at?"default":se)){const Lr=Nt.getSymbolAtLocation(zt),ii=Ne(Lr==null?void 0:Lr.declarations,Gn=>!!wi(Gn,Pl));He(zt)&&!ZC(zt.parent)&&(Lr===Ut||ii)&&xt(zt)}}e.eachExportReference=fe;function Q(pt,Nt){return Me(pt,Nt)?Nt.options.use!==2?!0:He(pt)?!(ZC(pt.parent)&&pt.escapedText==="default"):!1:!1}function he(pt,Nt){if(pt.declarations)for(const dt of pt.declarations){const Ut=dt.getSourceFile();qe(Ut,Nt.createSearch(dt,pt,0),Nt,Nt.includesSourceFile(Ut))}}function W(pt,Nt,dt){fle(pt).get(Nt.escapedText)!==void 0&&qe(pt,Nt,dt)}function ye(pt,Nt){return b1(pt.parent.parent)?Nt.getPropertySymbolOfDestructuringAssignment(pt):void 0}function de(pt){const{declarations:Nt,flags:dt,parent:Ut,valueDeclaration:rr}=pt;if(rr&&(rr.kind===217||rr.kind===230))return rr;if(!Nt)return;if(dt&8196){const xt=Ve(Nt,ae=>ip(ae,8)||s_(ae));return xt?Yb(xt,262):void 0}if(Nt.some(G9))return;const se=Ut&&!(pt.flags&262144);if(se&&!(q9(Ut)&&!Ut.globalExports))return;let at;for(const xt of Nt){const ae=pk(xt);if(at&&at!==ae||!ae||ae.kind===311&&!Pp(ae))return;if(at=ae,_c(at)){let mt;for(;mt=zee(at);)at=mt}}return se?at.getSourceFile():at}function Ce(pt,Nt,dt,Ut=dt){return K(pt,Nt,dt,()=>!0,Ut)||!1}e.isSymbolReferencedInFile=Ce;function K(pt,Nt,dt,Ut,rr=dt){const se=Cp(pt.parent,pt.parent.parent)?Oo(Nt.getSymbolsOfParameterPropertyDeclaration(pt.parent,pt.text)):Nt.getSymbolAtLocation(pt);if(se)for(const at of xe(dt,se.name,rr)){if(!He(at)||at===pt||at.escapedText!==pt.escapedText)continue;const xt=Nt.getSymbolAtLocation(at);if(xt===se||Nt.getShorthandAssignmentValueSymbol(at.parent)===se||T_(at.parent)&&et(at,xt,at.parent,Nt)===se){const ae=Ut(at);if(ae)return ae}}}e.eachSymbolReferenceInFile=K;function ce(pt,Nt){return gr(xe(Nt,pt),rr=>!!T5(rr)).reduce((rr,se)=>{const at=Ut(se);return!Ne(rr.declarationNames)||at===rr.depth?(rr.declarationNames.push(se),rr.depth=at):at<rr.depth&&(rr.declarationNames=[se],rr.depth=at),rr},{depth:1/0,declarationNames:[]}).declarationNames;function Ut(rr){let se=0;for(;rr;)rr=pk(rr),se++;return se}}e.getTopMostDeclarationNamesInFile=ce;function le(pt,Nt,dt,Ut){if(!pt.name||!He(pt.name))return!1;const rr=R.checkDefined(dt.getSymbolAtLocation(pt.name));for(const se of Nt)for(const at of xe(se,rr.name)){if(!He(at)||at===pt.name||at.escapedText!==pt.name.escapedText)continue;const xt=lV(at),ae=Ra(xt.parent)&&xt.parent.expression===xt?xt.parent:void 0,mt=dt.getSymbolAtLocation(at);if(mt&&dt.getRootSymbols(mt).some(_r=>_r===rr)&&Ut(at,ae))return!0}return!1}e.someSignatureUsage=le;function xe(pt,Nt,dt=pt){return we(pt,Nt,dt).map(Ut=>Qp(pt,Ut))}function we(pt,Nt,dt=pt){const Ut=[];if(!Nt||!Nt.length)return Ut;const rr=pt.text,se=rr.length,at=Nt.length;let xt=rr.indexOf(Nt,dt.pos);for(;xt>=0&&!(xt>dt.end);){const ae=xt+at;(xt===0||!$b(rr.charCodeAt(xt-1),99))&&(ae===se||!$b(rr.charCodeAt(ae),99))&&Ut.push(xt),xt=rr.indexOf(Nt,xt+at+1)}return Ut}function Ie(pt,Nt){const dt=pt.getSourceFile(),Ut=Nt.text,rr=lr(xe(dt,Ut,pt),se=>se===Nt||F9(se)&&uV(se,Ut)===Nt?hg(se):void 0);return[{definition:{type:1,node:Nt},references:rr}]}function ue(pt,Nt){switch(pt.kind){case 81:if(a2(pt.parent))return!0;case 80:return pt.text.length===Nt.length;case 15:case 11:{const dt=pt;return(fV(dt)||Yae(pt)||Q4e(pt)||Ra(pt.parent)&&sw(pt.parent)&&pt.parent.arguments[1]===pt)&&dt.text.length===Nt.length}case 9:return fV(pt)&&pt.text.length===Nt.length;case 90:return Nt.length===7;default:return!1}}function ut(pt,Nt){const dt=ln(pt,Ut=>(Nt.throwIfCancellationRequested(),lr(xe(Ut,"meta",Ut),rr=>{const se=rr.parent;if(K6(se))return hg(se)})));return dt.length?[{definition:{type:2,node:dt[0].node},references:dt}]:void 0}function Ge(pt,Nt,dt,Ut){const rr=ln(pt,se=>(dt.throwIfCancellationRequested(),lr(xe(se,io(Nt),se),at=>{if(at.kind===Nt&&(!Ut||Ut(at)))return hg(at)})));return rr.length?[{definition:{type:2,node:rr[0].node},references:rr}]:void 0}function qe(pt,Nt,dt,Ut=!0){return dt.cancellationToken.throwIfCancellationRequested(),Ke(pt,pt,Nt,dt,Ut)}function Ke(pt,Nt,dt,Ut,rr){if(Ut.markSearchedSymbols(Nt,dt.allSearchSymbols))for(const se of we(Nt,dt.text,pt))ze(Nt,se,dt,Ut,rr)}function Me(pt,Nt){return!!(_k(pt)&Nt.searchMeaning)}function ze(pt,Nt,dt,Ut,rr){const se=Qp(pt,Nt);if(!ue(se,dt.text)){!Ut.options.implementations&&(Ut.options.findInStrings&&mk(pt,Nt)||Ut.options.findInComments&&mAe(pt,Nt))&&Ut.addStringOrCommentReference(pt.fileName,yu(Nt,dt.text.length));return}if(!Me(se,Ut))return;let at=Ut.checker.getSymbolAtLocation(se);if(!at)return;const xt=se.parent;if(J_(xt)&&xt.propertyName===se)return;if(T_(xt)){R.assert(se.kind===80),st(se,at,xt,dt,Ut,rr);return}const ae=Nn(dt,at,se,Ut);if(!ae){Lt(at,dt,Ut);return}switch(Ut.specialSearchKind){case 0:rr&&Dt(se,ae,Ut);break;case 1:Xt(se,pt,dt,Ut);break;case 2:Ye(se,dt,Ut);break;default:R.assertNever(Ut.specialSearchKind)}Mn(se)&&Lo(se.parent)&&MT(se.parent.parent.parent)&&(at=se.parent.symbol,!at)||_t(se,at,dt,Ut)}function st(pt,Nt,dt,Ut,rr,se,at){R.assert(!at||!!rr.options.providePrefixAndSuffixTextForRename,"If alwaysGetReferences is true, then prefix/suffix text must be enabled");const{parent:xt,propertyName:ae,name:mt}=dt,_r=xt.parent,Fe=et(pt,Nt,dt,rr.checker);if(!at&&!Ut.includes(Fe))return;if(ae?pt===ae?(_r.moduleSpecifier||Gt(),se&&rr.options.use!==2&&rr.markSeenReExportRHS(mt)&&Dt(mt,R.checkDefined(dt.symbol),rr)):rr.markSeenReExportRHS(pt)&&Gt():rr.options.use===2&&mt.escapedText==="default"||Gt(),!xi(rr.options)||at){const Lr=pt.escapedText==="default"||dt.name.escapedText==="default"?1:0,ii=R.checkDefined(dt.symbol),Gn=Xfe(ii,Lr,rr.checker);Gn&&Z(pt,ii,Gn,rr)}if(Ut.comingFrom!==1&&_r.moduleSpecifier&&!ae&&!xi(rr.options)){const zt=rr.checker.getExportSpecifierLocalTargetSymbol(dt);zt&&he(zt,rr)}function Gt(){se&&Dt(pt,Fe,rr)}}function et(pt,Nt,dt,Ut){return je(pt,dt)&&Ut.getExportSpecifierLocalTargetSymbol(dt)||Nt}function je(pt,Nt){const{parent:dt,propertyName:Ut,name:rr}=Nt;return R.assert(Ut===pt||rr===pt),Ut?Ut===pt:!dt.parent.moduleSpecifier}function _t(pt,Nt,dt,Ut){const rr=m5e(pt,Nt,Ut.checker,dt.comingFrom===1);if(!rr)return;const{symbol:se}=rr;rr.kind===0?xi(Ut.options)||he(se,Ut):Z(pt,se,rr.exportInfo,Ut)}function Lt({flags:pt,valueDeclaration:Nt},dt,Ut){const rr=Ut.checker.getShorthandAssignmentValueSymbol(Nt),se=Nt&&ia(Nt);!(pt&33554432)&&se&&dt.includes(rr)&&Dt(se,rr,Ut)}function Dt(pt,Nt,dt){const{kind:Ut,symbol:rr}="kind"in Nt?Nt:{kind:void 0,symbol:Nt};if(dt.options.use===2&&pt.kind===90)return;const se=dt.referenceAdder(rr);dt.options.implementations?hn(pt,se,dt):se(pt,Ut)}function Xt(pt,Nt,dt,Ut){KD(pt)&&Dt(pt,dt.symbol,Ut);const rr=()=>Ut.referenceAdder(dt.symbol);if(Ri(pt.parent))R.assert(pt.kind===90||pt.parent.name===pt),Bt(dt.symbol,Nt,rr());else{const se=rn(pt);se&&(Ar(se,rr()),tn(se,Ut))}}function Ye(pt,Nt,dt){Dt(pt,Nt.symbol,dt);const Ut=pt.parent;if(dt.options.use===2||!Ri(Ut))return;R.assert(Ut.name===pt);const rr=dt.referenceAdder(Nt.symbol);for(const se of Ut.members)U6(se)&&Aa(se)&&se.body&&se.body.forEachChild(function at(xt){xt.kind===110?rr(xt):!Sa(xt)&&!Ri(xt)&&xt.forEachChild(at)})}function Bt(pt,Nt,dt){const Ut=vr(pt);if(Ut&&Ut.declarations)for(const rr of Ut.declarations){const se=Go(rr,137,Nt);R.assert(rr.kind===175&&!!se),dt(se)}pt.exports&&pt.exports.forEach(rr=>{const se=rr.valueDeclaration;if(se&&se.kind===173){const at=se.body;at&&Er(at,110,xt=>{KD(xt)&&dt(xt)})}})}function vr(pt){return pt.members&&pt.members.get("__constructor")}function Ar(pt,Nt){const dt=vr(pt.symbol);if(dt&&dt.declarations)for(const Ut of dt.declarations){R.assert(Ut.kind===175);const rr=Ut.body;rr&&Er(rr,108,se=>{qae(se)&&Nt(se)})}}function Ht(pt){return!!vr(pt.symbol)}function tn(pt,Nt){if(Ht(pt))return;const dt=pt.symbol,Ut=Nt.createSearch(void 0,dt,void 0);O(dt,Nt,Ut)}function hn(pt,Nt,dt){if(Yy(pt)&&ls(pt.parent)){Nt(pt);return}if(pt.kind!==80)return;pt.parent.kind===303&&Yr(pt,dt.checker,Nt);const Ut=Br(pt);if(Ut){Nt(Ut);return}const rr=mn(pt,xt=>!B_(xt.parent)&&!ys(xt.parent)&&!wx(xt.parent)),se=rr.parent;if(_j(se)&&se.type===rr&&dt.markSeenContainingTypeReference(se))if(Cv(se))at(se.initializer);else if(Sa(se)&&se.body){const xt=se.body;xt.kind===240?OT(xt,ae=>{ae.expression&&at(ae.expression)}):at(xt)}else Ax(se)&&at(se.expression);function at(xt){Cn(xt)&&Nt(xt)}}function Br(pt){return He(pt)||ai(pt)?Br(pt.parent):p1(pt)?wi(pt.parent.parent,Ri):void 0}function Cn(pt){switch(pt.kind){case 216:return Cn(pt.expression);case 218:case 217:case 209:case 230:case 208:return!0;default:return!1}}function ci(pt,Nt,dt,Ut){if(pt===Nt)return!0;const rr=vo(pt)+","+vo(Nt),se=dt.get(rr);if(se!==void 0)return se;dt.set(rr,!1);const at=!!pt.declarations&&pt.declarations.some(xt=>NP(xt).some(ae=>{const mt=Ut.getTypeAtLocation(ae);return!!mt&&!!mt.symbol&&ci(mt.symbol,Nt,dt,Ut)}));return dt.set(rr,at),at}function Ji(pt){let Nt=KI(pt,!1);if(!Nt)return;let dt=32;switch(Nt.kind){case 171:case 170:case 173:case 172:case 175:case 176:case 177:dt&=Pv(Nt),Nt=Nt.parent;break;default:return}const Ut=Nt.getSourceFile(),rr=lr(xe(Ut,"super",Nt),se=>{if(se.kind!==108)return;const at=KI(se,!1);return at&&Aa(at)===!!dt&&at.parent.symbol===Nt.symbol?hg(se):void 0});return[{definition:{type:0,symbol:Nt.symbol},references:rr}]}function ws(pt){return pt.kind===80&&pt.parent.kind===168&&pt.parent.name===pt}function ui(pt,Nt,dt){let Ut=y_(pt,!1,!1),rr=32;switch(Ut.kind){case 173:case 172:if(Zd(Ut)){rr&=Pv(Ut),Ut=Ut.parent;break}case 171:case 170:case 175:case 176:case 177:rr&=Pv(Ut),Ut=Ut.parent;break;case 311:if(Ul(Ut)||ws(pt))return;case 261:case 217:break;default:return}const se=ln(Ut.kind===311?Nt:[Ut.getSourceFile()],xt=>(dt.throwIfCancellationRequested(),xe(xt,"this",Cs(Ut)?xt:Ut).filter(ae=>{if(!lA(ae))return!1;const mt=y_(ae,!1,!1);if(!Xh(mt))return!1;switch(Ut.kind){case 217:case 261:return Ut.symbol===mt.symbol;case 173:case 172:return Zd(Ut)&&Ut.symbol===mt.symbol;case 230:case 262:case 209:return mt.parent&&Xh(mt.parent)&&Ut.symbol===mt.parent.symbol&&Aa(mt)===!!rr;case 311:return mt.kind===311&&!Ul(mt)&&!ws(ae)}}))).map(xt=>hg(xt));return[{definition:{type:3,node:$e(se,xt=>ea(xt.node.parent)?xt.node:void 0)||pt},references:se}]}function Pt(pt,Nt,dt,Ut){const rr=mV(pt,dt),se=ln(Nt,at=>(Ut.throwIfCancellationRequested(),lr(xe(at,pt.text),xt=>{if(Yo(xt)&&xt.text===pt.text)if(rr){const ae=mV(xt,dt);if(rr!==dt.getStringType()&&rr===ae)return hg(xt,2)}else return ww(xt)&&!Jx(xt,at)?void 0:hg(xt,2)})));return[{definition:{type:4,node:pt},references:se}]}function Dr(pt,Nt,dt,Ut,rr,se){const at=[];return Kt(pt,Nt,dt,Ut,!(Ut&&rr),(xt,ae,mt)=>{mt&&_n(pt)!==_n(mt)&&(mt=void 0),at.push(mt||ae||xt)},()=>!se),at}function Kt(pt,Nt,dt,Ut,rr,se,at){const xt=CL(Nt);if(xt){const Lr=dt.getShorthandAssignmentValueSymbol(Nt.parent);if(Lr&&Ut)return se(Lr,void 0,void 0,3);const ii=dt.getContextualType(xt.parent),Gn=ii&&$e(B$(xt,dt,ii,!0),pe=>Gt(pe,4));if(Gn)return Gn;const Rn=ye(Nt,dt),L=Rn&&se(Rn,void 0,void 0,4);if(L)return L;const Se=Lr&&se(Lr,void 0,void 0,3);if(Se)return Se}const ae=f(Nt,pt,dt);if(ae){const Lr=se(ae,void 0,void 0,1);if(Lr)return Lr}const mt=Gt(pt);if(mt)return mt;if(pt.valueDeclaration&&Cp(pt.valueDeclaration,pt.valueDeclaration.parent)){const Lr=dt.getSymbolsOfParameterPropertyDeclaration(Ua(pt.valueDeclaration,ea),pt.name);return R.assert(Lr.length===2&&!!(Lr[0].flags&1)&&!!(Lr[1].flags&4)),Gt(pt.flags&1?Lr[1]:Lr[0])}const _r=_l(pt,280);if(!Ut||_r&&!_r.propertyName){const Lr=_r&&dt.getExportSpecifierLocalTargetSymbol(_r);if(Lr){const ii=se(Lr,void 0,void 0,1);if(ii)return ii}}if(!Ut){let Lr;return rr?Lr=G9(Nt.parent)?PV(dt,Nt.parent):void 0:Lr=zt(pt,dt),Lr&&Gt(Lr,4)}if(R.assert(Ut),rr){const Lr=zt(pt,dt);return Lr&&Gt(Lr,4)}function Gt(Lr,ii){return $e(dt.getRootSymbols(Lr),Gn=>se(Lr,Gn,void 0,ii)||(Gn.parent&&Gn.parent.flags&96&&at(Gn)?Qr(Gn.parent,Gn.name,dt,Rn=>se(Lr,Gn,Rn,ii)):void 0))}function zt(Lr,ii){const Gn=_l(Lr,207);if(Gn&&G9(Gn))return PV(ii,Gn)}}function Qr(pt,Nt,dt,Ut){const rr=new Map;return se(pt);function se(at){if(!(!(at.flags&96)||!Dm(rr,vo(at))))return $e(at.declarations,xt=>$e(NP(xt),ae=>{const mt=dt.getTypeAtLocation(ae),_r=mt&&mt.symbol&&dt.getPropertyOfType(mt,Nt);return mt&&_r&&($e(dt.getRootSymbols(_r),Ut)||se(mt.symbol))}))}}function _n(pt){return pt.valueDeclaration?!!(Wf(pt.valueDeclaration)&32):!1}function Nn(pt,Nt,dt,Ut){const{checker:rr}=Ut;return Kt(Nt,dt,rr,!1,Ut.options.use!==2||!!Ut.options.providePrefixAndSuffixTextForRename,(se,at,xt,ae)=>(xt&&_n(Nt)!==_n(xt)&&(xt=void 0),pt.includes(xt||at||se)?{symbol:at&&!(ml(se)&6)?at:se,kind:ae}:void 0),se=>!(pt.parents&&!pt.parents.some(at=>ci(se.parent,at,Ut.inheritsFromCache,rr))))}function ks(pt,Nt){let dt=_k(pt);const{declarations:Ut}=Nt;if(Ut){let rr;do{rr=dt;for(const se of Ut){const at=L9(se);at&dt&&(dt|=at)}}while(dt!==rr)}return dt}e.getIntersectingMeaningFromDeclarations=ks;function ls(pt){return pt.flags&16777216?!(Xf(pt)||Mm(pt)):e4(pt)?Cv(pt):Lc(pt)?!!pt.body:Ri(pt)||cj(pt)}function Yr(pt,Nt,dt){const Ut=Nt.getSymbolAtLocation(pt),rr=Nt.getShorthandAssignmentValueSymbol(Ut.valueDeclaration);if(rr)for(const se of rr.getDeclarations())L9(se)&1&&dt(se)}e.getReferenceEntriesForShorthandPropertyAssignment=Yr;function Er(pt,Nt,dt){_a(pt,Ut=>{Ut.kind===Nt&&dt(Ut),Er(Ut,Nt,dt)})}function rn(pt){return mte(lV(pt).parent)}function qr(pt,Nt,dt){const Ut=cA(pt)?pt.parent:void 0,rr=Ut&&dt.getTypeAtLocation(Ut.expression),se=lr(rr&&(rr.isUnionOrIntersection()?rr.types:rr.symbol===Nt.parent?void 0:[rr]),at=>at.symbol&&at.symbol.flags&96?at.symbol:void 0);return se.length===0?void 0:se}function xi(pt){return pt.use===2&&pt.providePrefixAndSuffixTextForRename}})(kk||(kk={}))}}),Wc={};S(Wc,{Core:()=>kk,DefinitionKind:()=>t_e,EntryKind:()=>r_e,ExportKind:()=>Yfe,FindReferencesUse:()=>n_e,ImportExport:()=>Zfe,createImportTracker:()=>Gfe,findModuleReferences:()=>_5e,findReferenceOrRenameEntries:()=>zdt,findReferencedSymbols:()=>jdt,getContextNode:()=>fS,getExportInfo:()=>Xfe,getImplementationsAtPosition:()=>Udt,getImportOrExportSymbol:()=>m5e,getReferenceEntriesForNode:()=>y5e,getTextSpanOfEntry:()=>e_e,isContextWithStartAndEndNode:()=>h5e,isDeclarationOfSymbol:()=>x5e,nodeEntry:()=>hg,toContextSpan:()=>Kfe,toHighlightSpan:()=>Xdt,toReferenceEntry:()=>T5e,toRenameLocation:()=>$dt});var k5e=p({"src/services/_namespaces/ts.FindAllReferences.ts"(){Rdt(),Ydt()}});function C5e(e,t,n,s,l){var f,d;const g=E5e(t,n,e),h=g&&[amt(g.reference.fileName,g.fileName,g.unverified)]||ft;if(g!=null&&g.file)return h;const k=Qp(t,n);if(k===t)return;const{parent:T}=k,C=e.getTypeChecker();if(k.kind===163||He(k)&&SU(T)&&T.tagName===k)return Kdt(C,k)||ft;if(F9(k)){const H=uV(k.parent,k.text);return H?[s_e(C,H,"label",k.text,void 0)]:void 0}if(k.kind===107){const H=mn(k.parent,Y=>al(Y)?"quit":Lc(Y));return H?[$L(C,H)]:void 0}if(k.kind===135){const H=mn(k,Z=>Lc(Z));return H&&Ne(H.modifiers,Z=>Z.kind===134)?[$L(C,H)]:void 0}if(k.kind===127){const H=mn(k,Z=>Lc(Z));return H&&H.asteriskToken?[$L(C,H)]:void 0}if(Ew(k)&&al(k.parent)){const H=k.parent.parent,{symbol:Y,failedAliasResolution:Z}=MW(H,C,l),fe=gr(H.members,al),Q=Y?C.symbolToString(Y,H):"",he=k.getSourceFile();return qt(fe,W=>{let{pos:ye}=hh(W);return ye=fo(he.text,ye),s_e(C,W,"constructor","static {}",Q,!1,Z,{start:ye,length:6})})}let{symbol:D,failedAliasResolution:O}=MW(k,C,l),M=k;if(s&&O){const H=te([k,...(D==null?void 0:D.declarations)||ft],Z=>mn(Z,K2e)),Y=H&&p5(H);Y&&({symbol:D,failedAliasResolution:O}=MW(Y,C,l),M=Y)}if(!D&&AV(M)){const H=(d=(f=t.resolvedModules)==null?void 0:f.get(M.text,cm(t,M)))==null?void 0:d.resolvedModule;if(H)return[{name:M.text,fileName:H.resolvedFileName,containerName:void 0,containerKind:void 0,kind:"script",textSpan:yu(0,0),failedAliasResolution:O,isAmbient:S_(H.resolvedFileName),unverified:M!==k}]}if(!D)return wr(h,nmt(k,C));if(s&&ot(D.declarations,H=>H.getSourceFile().fileName===t.fileName))return;const U=cmt(C,k);if(U&&!(a_(k.parent)&&lmt(U))){const H=$L(C,U,O);if(C.getRootSymbols(D).some(Y=>Zdt(Y,U)))return[H];{const Y=TA(C,D,k,O,U)||ft;return k.kind===108?[H,...Y]:[...Y,H]}}if(k.parent.kind===303){const H=C.getShorthandAssignmentValueSymbol(D.valueDeclaration),Y=H!=null&&H.declarations?H.declarations.map(Z=>F8(Z,C,H,k,!1,O)):ft;return wr(Y,w5e(C,k))}if(sl(k)&&Lo(T)&&Om(T.parent)&&k===(T.propertyName||T.name)){const H=H9(k),Y=C.getTypeAtLocation(T.parent);return H===void 0?ft:ln(Y.isUnion()?Y.types:[Y],Z=>{const fe=Z.getProperty(H);return fe&&TA(C,fe,k)})}const B=w5e(C,k);return wr(h,B.length?B:TA(C,D,k,O))}function Zdt(e,t){var n;return e===t.symbol||e===t.symbol.parent||o_(t.parent)||!Ex(t.parent)&&e===((n=wi(t.parent,Xh))==null?void 0:n.symbol)}function w5e(e,t){const n=CL(t);if(n){const s=n&&e.getContextualType(n.parent);if(s)return ln(B$(n,e,s,!1),l=>TA(e,l,t))}return ft}function Kdt(e,t){const n=mn(t,Mu);if(!(n&&n.name))return;const s=mn(n,Ri);if(!s)return;const l=mh(s);if(!l)return;const f=Tc(l.expression),d=Gf(f)?f.symbol:e.getSymbolAtLocation(f);if(!d)return;const g=xs(Q6(n.name)),h=su(n)?e.getPropertyOfType(e.getTypeOfSymbol(d),g):e.getPropertyOfType(e.getDeclaredTypeOfSymbol(d),g);if(h)return TA(e,h,t)}function E5e(e,t,n){var s,l,f,d;const g=SA(e.referencedFiles,t);if(g){const T=n.getSourceFileFromReference(e,g);return T&&{reference:g,fileName:T.fileName,file:T,unverified:!1}}const h=SA(e.typeReferenceDirectives,t);if(h){const T=(s=n.getResolvedTypeReferenceDirectives().get(h.fileName,h.resolutionMode||e.impliedNodeFormat))==null?void 0:s.resolvedTypeReferenceDirective,C=T&&n.getSourceFile(T.resolvedFileName);return C&&{reference:h,fileName:C.fileName,file:C,unverified:!1}}const k=SA(e.libReferenceDirectives,t);if(k){const T=n.getLibFileFromReference(k);return T&&{reference:k,fileName:T.fileName,file:T,unverified:!1}}if((l=e.resolvedModules)!=null&&l.size()){const T=r8(e,t);if(AV(T)&&Lu(T.text)&&e.resolvedModules.has(T.text,cm(e,T))){const C=(d=(f=e.resolvedModules.get(T.text,cm(e,T)))==null?void 0:f.resolvedModule)==null?void 0:d.resolvedFileName,D=C||hv(cs(e.fileName),T.text);return{file:n.getSourceFile(D),fileName:D,reference:{pos:T.getStart(),end:T.getEnd(),fileName:T.text},unverified:!C}}}}function emt(e,t,n){const s=Qp(t,n);if(s===t)return;if(K6(s.parent)&&s.parent.name===s)return i_e(e.getTypeAtLocation(s.parent),e,s.parent,!1);const{symbol:l,failedAliasResolution:f}=MW(s,e,!1);if(!l)return;const d=e.getTypeOfSymbolAtLocation(l,s),g=tmt(l,d,e),h=g&&i_e(g,e,s,f),k=h&&h.length!==0?h:i_e(d,e,s,f);return k.length?k:!(l.flags&111551)&&l.flags&788968?TA(e,F_(l,e),s,f):void 0}function i_e(e,t,n,s){return ln(e.isUnion()&&!(e.flags&32)?e.types:[e],l=>l.symbol&&TA(t,l.symbol,n,s))}function tmt(e,t,n){if(t.symbol===e||e.valueDeclaration&&t.symbol&&bs(e.valueDeclaration)&&e.valueDeclaration.initializer===t.symbol.valueDeclaration){const s=t.getCallSignatures();if(s.length===1)return n.getReturnTypeOfSignature(Oo(s))}}function rmt(e,t,n){const s=C5e(e,t,n);if(!s||s.length===0)return;const l=SA(t.referencedFiles,n)||SA(t.typeReferenceDirectives,n)||SA(t.libReferenceDirectives,n);if(l)return{definitions:s,textSpan:Uv(l)};const f=Qp(t,n),d=yu(f.getStart(),f.getWidth());return{definitions:s,textSpan:d}}function nmt(e,t){return lr(t.getIndexInfosAtLocation(e),n=>n.declaration&&$L(t,n.declaration))}function MW(e,t,n){const s=t.getSymbolAtLocation(e);let l=!1;if(s!=null&&s.declarations&&s.flags&2097152&&!n&&imt(e,s.declarations[0])){const f=t.getAliasedSymbol(s);if(f.declarations)return{symbol:f};l=!0}return{symbol:s,failedAliasResolution:l}}function imt(e,t){return e.kind!==80?!1:e.parent===t?!0:t.kind!==273}function smt(e){if(!PP(e))return!1;const t=mn(e,n=>o_(n)?!0:PP(n)?!1:"quit");return!!t&&dl(t)===5}function TA(e,t,n,s,l){const f=gr(t.declarations,C=>C!==l),d=gr(f,C=>!smt(C)),g=Ne(d)?d:f;return h()||k()||qt(g,C=>F8(C,e,t,n,!1,s));function h(){if(t.flags&32&&!(t.flags&19)&&(KD(n)||n.kind===137)){const C=Ve(f,Ri)||R.fail("Expected declaration to have at least one class-like declaration");return T(C.members,!0)}}function k(){return Wae(n)||Zae(n)?T(f,!1):void 0}function T(C,D){if(!C)return;const O=C.filter(D?El:Sa),M=O.filter(U=>!!U.body);return O.length?M.length!==0?M.map(U=>F8(U,e,t,n)):[F8(To(O),e,t,n,!1,s)]:void 0}}function F8(e,t,n,s,l,f){const d=t.symbolToString(n),g=x1.getSymbolKind(t,n,s),h=n.parent?t.symbolToString(n.parent,s):"";return s_e(t,e,g,d,h,l,f)}function s_e(e,t,n,s,l,f,d,g){const h=t.getSourceFile();if(!g){const k=ia(t)||t;g=u_(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:!a_e(e,t),isAmbient:!!(t.flags&16777216),unverified:f,failedAliasResolution:d}}function a_e(e,t){if(e.isDeclarationVisible(t))return!0;if(!t.parent)return!1;if(Cv(t.parent)&&t.parent.initializer===t)return a_e(e,t.parent);switch(t.kind){case 171:case 176:case 177:case 173:if(ip(t,8))return!1;case 175:case 302:case 303:case 209:case 230:case 218:case 217:return a_e(e,t.parent);default:return!1}}function $L(e,t,n){return F8(t,e,t.symbol,t,!1,n)}function SA(e,t){return Ve(e,n=>qB(n,t))}function amt(e,t,n){return{fileName:t,textSpan:nu(0,0),kind:"script",name:e,containerName:void 0,containerKind:void 0,unverified:n}}function omt(e){const t=mn(e,s=>!cA(s)),n=t==null?void 0:t.parent;return n&&Ex(n)&&Mj(n)===t?n:void 0}function cmt(e,t){const n=omt(t),s=n&&e.getResolvedSignature(n);return wi(s&&s.declaration,l=>Sa(l)&&!ry(l))}function lmt(e){switch(e.kind){case 175:case 184:case 179:return!0;default:return!1}}var umt=p({"src/services/goToDefinition.ts"(){Si()}}),R8={};S(R8,{createDefinitionInfo:()=>F8,findReferenceInPosition:()=>SA,getDefinitionAndBoundSpan:()=>rmt,getDefinitionAtPosition:()=>C5e,getReferenceAtPosition:()=>E5e,getTypeDefinitionAtPosition:()=>emt});var fmt=p({"src/services/_namespaces/ts.GoToDefinition.ts"(){umt()}});function _mt(e){return e.includeInlayParameterNameHints==="literals"||e.includeInlayParameterNameHints==="all"}function pmt(e){return e.includeInlayParameterNameHints==="literals"}function dmt(e){const{file:t,program:n,span:s,cancellationToken:l,preferences:f}=e,d=t.text,g=n.getCompilerOptions(),h=n.getTypeChecker(),k=[];return T(t),k;function T(xe){if(!(!xe||xe.getFullWidth()===0)){switch(xe.kind){case 266:case 262:case 263:case 261:case 230:case 217:case 173:case 218:l.throwIfCancellationRequested()}if(WB(s,xe.pos,xe.getFullWidth())&&!(ys(xe)&&!p1(xe)))return f.includeInlayVariableTypeHints&&bs(xe)||f.includeInlayPropertyDeclarationTypeHints&&Ia(xe)?H(xe):f.includeInlayEnumMemberValueHints&&KT(xe)?U(xe):_mt(f)&&(Ra(xe)||HT(xe))?Y(xe):(f.includeInlayFunctionParameterTypeHints&&Lc(xe)&&CJ(xe)&&ye(xe),f.includeInlayFunctionLikeReturnTypeHints&&C(xe)&&he(xe)),_a(xe,T)}}function C(xe){return Dc(xe)||_c(xe)||au(xe)||ql(xe)||nm(xe)}function D(xe,we,Ie){k.push({text:`${Ie?"...":""}${Ce(xe,FW)}:`,position:we,kind:"Parameter",whitespaceAfter:!0})}function O(xe,we){k.push({text:`: ${Ce(xe,FW)}`,position:we,kind:"Type",whitespaceBefore:!0})}function M(xe,we){k.push({text:`= ${Ce(xe,FW)}`,position:we,kind:"Enum",whitespaceBefore:!0})}function U(xe){if(xe.initializer)return;const we=h.getConstantValue(xe);we!==void 0&&M(we.toString(),xe.end)}function B(xe){return xe.symbol&&xe.symbol.flags&1536}function H(xe){if(!xe.initializer||Fa(xe.name)||bs(xe)&&!le(xe)||Yu(xe))return;const Ie=h.getTypeAtLocation(xe);if(B(Ie))return;const ue=K(Ie);if(ue){if(f.includeInlayVariableTypeHintsWhenTypeMatchesName===!1&&zC(xe.name.getText(),ue))return;O(ue,xe.name.end)}}function Y(xe){const we=xe.arguments;if(!we||!we.length)return;const Ie=[],ue=h.getResolvedSignatureForSignatureHelp(xe,Ie);if(!(!ue||!Ie.length))for(let ut=0;ut<we.length;++ut){const Ge=we[ut],qe=Tc(Ge);if(pmt(f)&&!Q(qe))continue;const Ke=h.getParameterIdentifierNameAtPosition(ue,ut);if(Ke){const[Me,ze]=Ke;if(!(f.includeInlayParameterNameHintsWhenArgumentMatchesName||!Z(qe,Me))&&!ze)continue;const et=xs(Me);if(fe(qe,et))continue;D(et,Ge.getStart(),ze)}}}function Z(xe,we){return He(xe)?xe.text===we:ai(xe)?xe.name.text===we:!1}function fe(xe,we){if(!od(we,g.target,j5(t.scriptKind)))return!1;const Ie=Vg(d,xe.pos);if(!(Ie!=null&&Ie.length))return!1;const ue=A5e(we);return Ne(Ie,ut=>ue.test(d.substring(ut.pos,ut.end)))}function Q(xe){switch(xe.kind){case 223:{const we=xe.operand;return Cx(we)||He(we)&&aD(we.escapedText)}case 112:case 97:case 106:case 15:case 227:return!0;case 80:{const we=xe.escapedText;return ce(we)||aD(we)}}return Cx(xe)}function he(xe){if(Dc(xe)&&!Go(xe,21,t)||Am(xe)||!xe.body)return;const Ie=h.getSignatureFromDeclaration(xe);if(!Ie)return;const ue=h.getReturnTypeOfSignature(Ie);if(B(ue))return;const ut=K(ue);ut&&O(ut,W(xe))}function W(xe){const we=Go(xe,22,t);return we?we.end:xe.parameters.end}function ye(xe){const we=h.getSignatureFromDeclaration(xe);if(we)for(let Ie=0;Ie<xe.parameters.length&&Ie<we.parameters.length;++Ie){const ue=xe.parameters[Ie];if(!le(ue)||Yu(ue))continue;const Ge=de(we.parameters[Ie]);Ge&&O(Ge,ue.questionToken?ue.questionToken.end:ue.name.end)}}function de(xe){const we=xe.valueDeclaration;if(!we||!ea(we))return;const Ie=h.getTypeOfSymbolAtLocation(xe,we);if(!B(Ie))return K(Ie)}function Ce(xe,we){return xe.length>we?xe.substr(0,we-3)+"...":xe}function K(xe){const Ie=oS();return bP(ue=>{const ut=h.typeToTypeNode(xe,void 0,71286784);R.assertIsDefined(ut,"should always get typenode"),Ie.writeNode(4,ut,t,ue)})}function ce(xe){return xe==="undefined"}function le(xe){if((Rx(xe)||bs(xe)&&Gy(xe))&&xe.initializer){const we=Tc(xe.initializer);return!(Q(we)||HT(we)||jo(we)||Ax(we))}return!0}}var FW,A5e,mmt=p({"src/services/inlayHints.ts"(){Si(),FW=30,A5e=e=>new RegExp(`^\\s?/\\*\\*?\\s?${e}\\s?\\*\\/\\s?$`)}}),o_e={};S(o_e,{provideInlayHints:()=>dmt});var hmt=p({"src/services/_namespaces/ts.InlayHints.ts"(){mmt()}});function gmt(e,t){const n=[];return Toe(e,s=>{for(const l of vmt(s)){const f=sm(l)&&l.tags&&Ve(l.tags,g=>g.kind===333&&(g.tagName.escapedText==="inheritDoc"||g.tagName.escapedText==="inheritdoc"));if(l.comment===void 0&&!f||sm(l)&&s.kind!==352&&s.kind!==344&&l.tags&&l.tags.some(g=>g.kind===352||g.kind===344)&&!l.tags.some(g=>g.kind===347||g.kind===348))continue;let d=l.comment?_E(l.comment,t):[];f&&f.comment&&(d=d.concat(_E(f.comment,t))),kt(n,d,ymt)||n.push(d)}}),$n(yt(n,[_A()]))}function ymt(e,t){return Wt(e,t,(n,s)=>n.kind===s.kind&&n.text===s.text)}function vmt(e){switch(e.kind){case 347:case 354:return[e];case 344:case 352:return[e,e.parent];default:return Uee(e)}}function bmt(e,t){const n=[];return Toe(e,s=>{const l=CT(s);if(!(l.some(f=>f.kind===352||f.kind===344)&&!l.some(f=>f.kind===347||f.kind===348)))for(const f of l)n.push({name:f.tagName.text,text:Tmt(f,t)})}),n}function _E(e,t){return typeof e=="string"?[Yp(e)]:ln(e,n=>n.kind===327?[Yp(n.text)]:AAe(n,t))}function Tmt(e,t){const{comment:n,kind:s}=e,l=Smt(s);switch(s){case 355:const g=e.typeExpression;return g?f(g):n===void 0?void 0:_E(n,t);case 335:return f(e.class);case 334:return f(e.class);case 351:const h=e,k=[];if(h.constraint&&k.push(Yp(h.constraint.getText())),G(h.typeParameters)){G(k)&&k.push(ol());const C=h.typeParameters[h.typeParameters.length-1];te(h.typeParameters,D=>{k.push(l(D.getText())),C!==D&&k.push(wf(28),ol())})}return n&&k.push(ol(),..._E(n,t)),k;case 350:case 356:return f(e.typeExpression);case 352:case 344:case 354:case 347:case 353:const{name:T}=e;return T?f(T):n===void 0?void 0:_E(n,t);default:return n===void 0?void 0:_E(n,t)}function f(g){return d(g.getText())}function d(g){return n?g.match(/^https?$/)?[Yp(g),..._E(n,t)]:[l(g),ol(),..._E(n,t)]:[Yp(g)]}}function Smt(e){switch(e){case 347:return xAe;case 354:return kAe;case 351:return wAe;case 352:case 344:return CAe;default:return Yp}}function xmt(){return D5e||(D5e=qt(l_e,e=>({name:e,kind:"keyword",kindModifiers:"",sortText:fE.SortText.LocationPriority})))}function kmt(){return N5e||(N5e=qt(l_e,e=>({name:`@${e}`,kind:"keyword",kindModifiers:"",sortText:fE.SortText.LocationPriority})))}function P5e(e){return{name:e,kind:"",kindModifiers:"",displayParts:[Yp(e)],documentation:ft,tags:void 0,codeActions:void 0}}function Cmt(e){if(!He(e.name))return ft;const t=e.name.text,n=e.parent,s=n.parent;return Sa(s)?lr(s.parameters,l=>{if(!He(l.name))return;const f=l.name.text;if(!(n.tags.some(d=>d!==e&&Fm(d)&&He(d.name)&&d.name.escapedText===f)||t!==void 0&&!Xs(f,t)))return{name:f,kind:"parameter",kindModifiers:"",sortText:fE.SortText.LocationPriority}}):[]}function wmt(e){return{name:e,kind:"parameter",kindModifiers:"",displayParts:[Yp(e)],documentation:ft,tags:void 0,codeActions:void 0}}function Emt(e,t,n,s){const l=Os(t,n),f=mn(l,sm);if(f&&(f.comment!==void 0||G(f.tags)))return;const d=l.getStart(t);if(!f&&d<n)return;const g=Nmt(l,s);if(!g)return;const{commentOwner:h,parameters:k,hasReturn:T}=g,C=Ap(h)&&h.jsDoc?h.jsDoc:void 0,D=Bc(C);if(h.getStart(t)<n||D&&f&&D!==f)return;const O=Amt(t,n),M=zT(t.fileName),U=(k?Pmt(k||[],M,O,e):"")+(T?Dmt(O,e):""),B="/**",H=" */",Y=(C||[]).some(Z=>!!Z.tags);if(U&&!Y){const Z=B+e+O+" * ",fe=d===n?e+O:"";return{newText:Z+e+U+O+H+fe,caretOffset:Z.length}}return{newText:B+H,caretOffset:3}}function Amt(e,t){const{text:n}=e,s=Bd(t,e);let l=s;for(;l<=t&&_h(n.charCodeAt(l));l++);return n.slice(s,l)}function Pmt(e,t,n,s){return e.map(({name:l,dotDotDotToken:f},d)=>{const g=l.kind===80?l.text:"param"+d;return`${n} * @param ${t?f?"{...any} ":"{any} ":""}${g}${s}`}).join("")}function Dmt(e,t){return`${e} * @returns${t}`}function Nmt(e,t){return R2e(e,n=>c_e(n,t))}function c_e(e,t){switch(e.kind){case 261:case 217:case 173:case 175:case 172:case 218:const n=e;return{commentOwner:e,parameters:n.parameters,hasReturn:qL(n,t)};case 302:return c_e(e.initializer,t);case 262:case 263:case 265:case 305:case 264:return{commentOwner:e};case 170:{const l=e;return l.type&&ry(l.type)?{commentOwner:e,parameters:l.type.parameters,hasReturn:qL(l.type,t)}:{commentOwner:e}}case 242:{const f=e.declarationList.declarations,d=f.length===1&&f[0].initializer?Imt(f[0].initializer):void 0;return d?{commentOwner:e,parameters:d.parameters,hasReturn:qL(d,t)}:{commentOwner:e}}case 311:return"quit";case 266:return e.parent.kind===266?void 0:{commentOwner:e};case 243:return c_e(e.expression,t);case 225:{const l=e;return dl(l)===0?"quit":Sa(l.right)?{commentOwner:e,parameters:l.right.parameters,hasReturn:qL(l.right,t)}:{commentOwner:e}}case 171:const s=e.initializer;if(s&&(_c(s)||Dc(s)))return{commentOwner:e,parameters:s.parameters,hasReturn:qL(s,t)}}}function qL(e,t){return!!(t!=null&&t.generateReturnInDocTemplate)&&(ry(e)||Dc(e)&&Ct(e.body)||Lc(e)&&e.body&&Pa(e.body)&&!!OT(e.body,n=>n))}function Imt(e){for(;e.kind===216;)e=e.expression;switch(e.kind){case 217:case 218:return e;case 230:return Ve(e.members,El)}}var l_e,D5e,N5e,I5e,Omt=p({"src/services/jsDoc.ts"(){Si(),l_e=["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"],I5e=P5e}}),m2={};S(m2,{getDocCommentTemplateAtPosition:()=>Emt,getJSDocParameterNameCompletionDetails:()=>wmt,getJSDocParameterNameCompletions:()=>Cmt,getJSDocTagCompletionDetails:()=>P5e,getJSDocTagCompletions:()=>kmt,getJSDocTagNameCompletionDetails:()=>I5e,getJSDocTagNameCompletions:()=>xmt,getJsDocCommentsFromDeclarations:()=>gmt,getJsDocTagsFromDeclarations:()=>bmt});var Lmt=p({"src/services/_namespaces/ts.JsDoc.ts"(){Omt()}});function Mmt(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",T=RW(e,e.statements.filter(ju)),C=Zmt(l,g?()=>M5e(T,l)===2:void 0),D=M=>(k&&(M=Rmt(M,e,s)),h&&(M=O5e(M,C,e)),g&&(M=G0(M,(U,B)=>d_e(U,B,C))),M);T.forEach(M=>O(M,D)),f!=="RemoveUnused"&&Kmt(e).forEach(M=>O(M,U=>u_e(U,C)));for(const M of e.statements.filter($f)){if(!M.body)continue;if(RW(e,M.body.statements.filter(ju)).forEach(B=>O(B,D)),f!=="RemoveUnused"){const B=M.body.statements.filter(Ju);O(B,H=>u_e(H,C))}}return d.getChanges();function O(M,U){if(G(M)===0)return;IV(M[0]);const B=h?Y3(M,Z=>WL(Z.moduleSpecifier)):[M],H=g?G0(B,(Z,fe)=>__e(Z[0].moduleSpecifier,fe[0].moduleSpecifier,C)):B,Y=ln(H,Z=>WL(Z[0].moduleSpecifier)||Z[0].moduleSpecifier===void 0?U(Z):Z);if(Y.length===0)d.deleteNodes(e,M,{leadingTriviaOption:jn.LeadingTriviaOption.Exclude,trailingTriviaOption:jn.TrailingTriviaOption.Include},!0);else{const Z={leadingTriviaOption:jn.LeadingTriviaOption.Exclude,trailingTriviaOption:jn.TrailingTriviaOption.Include,suffix:zv(n,t.options)};d.replaceNodeWithNodes(e,M[0],Y,Z);const fe=d.nodeHasTrailingComment(e,M[0],Z);d.deleteNodes(e,M.slice(1),{trailingTriviaOption:jn.TrailingTriviaOption.Include},fe)}}}function RW(e,t){const n=e1(e.languageVersion,!1,e.languageVariant),s=[];let l=0;for(const f of t)s[l]&&Fmt(e,f,n)&&l++,s[l]||(s[l]=[]),s[l].push(f);return s}function Fmt(e,t,n){const s=t.getFullStart(),l=t.getStart();n.setText(e.text,s,l-s);let f=0;for(;n.getTokenStart()<l;)if(n.scan()===4&&(f++,f>=2))return!0;return!1}function Rmt(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 T of e){const{importClause:C,moduleSpecifier:D}=T;if(!C){h.push(T);continue}let{name:O,namedBindings:M}=C;if(O&&!k(O)&&(O=void 0),M)if(Mv(M))k(M.name)||(M=void 0);else{const U=M.elements.filter(B=>k(B.name));U.length<M.elements.length&&(M=U.length?V.updateNamedImports(M,U):void 0)}O||M?h.push(B8(T,O,M)):Bmt(t,D)&&(t.isDeclarationFile?h.push(V.createImportDeclaration(T.modifiers,void 0,D,void 0)):h.push(T))}return h;function k(T){return g&&(T.text===f||d&&T.text===d)&&zoe(l.jsx)||Wc.Core.isSymbolReferencedInFile(T,s,t)}}function Bmt(e,t){const n=yo(t)&&t.text;return Wa(n)&&Ne(e.moduleAugmentations,s=>yo(s)&&s.text===n)}function WL(e){return e!==void 0&&Yo(e)?e.text:void 0}function jmt(e,t,n){const s=BW(t);return O5e(e,s,n)}function O5e(e,t,n){if(e.length===0)return e;const{importWithoutClause:s,typeOnlyImports:l,regularImports:f}=Jmt(e),d=[];s&&d.push(s);for(const g of[f,l]){const h=g===l,{defaultImports:k,namespaceImports:T,namedImports:C}=g;if(!h&&k.length===1&&T.length===1&&C.length===0){const fe=k[0];d.push(B8(fe,fe.importClause.name,T[0].importClause.namedBindings));continue}const D=G0(T,(fe,Q)=>t(fe.importClause.namedBindings.name.text,Q.importClause.namedBindings.name.text));for(const fe of D)d.push(B8(fe,void 0,fe.importClause.namedBindings));const O=Hu(k),M=Hu(C),U=O??M;if(!U)continue;let B;const H=[];if(k.length===1)B=k[0].importClause.name;else for(const fe of k)H.push(V.createImportSpecifier(!1,V.createIdentifier("default"),fe.importClause.name));H.push(...Gmt(C));const Y=V.createNodeArray(L5e(H,t),M==null?void 0:M.importClause.namedBindings.elements.hasTrailingComma),Z=Y.length===0?B?void 0:V.createNamedImports(ft):M?V.updateNamedImports(M.importClause.namedBindings,Y):V.createNamedImports(Y);n&&Z&&(M!=null&&M.importClause.namedBindings)&&!Jx(M.importClause.namedBindings,n)&&An(Z,2),h&&B&&Z?(d.push(B8(U,B,void 0)),d.push(B8(M??U,void 0,Z))):d.push(B8(U,B,Z))}return d}function Jmt(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&&(Mv(g)?f.namespaceImports.push(l):f.namedImports.push(l))}return{importWithoutClause:t,typeOnlyImports:n,regularImports:s}}function Umt(e,t){const n=BW(t);return u_e(e,n)}function u_e(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(...ln(g,C=>C.exportClause&&im(C.exportClause)?C.exportClause.elements:ft));const k=L5e(h,t),T=g[0];f.push(V.updateExportDeclaration(T,T.modifiers,T.isTypeOnly,T.exportClause&&(im(T.exportClause)?V.updateNamedExports(T.exportClause,k):V.updateNamespaceExport(T.exportClause,T.exportClause.name)),T.moduleSpecifier,T.assertClause))}return f;function d(g){let h;const k=[],T=[];for(const C of g)C.exportClause===void 0?h=h||C:C.isTypeOnly?T.push(C):k.push(C);return{exportWithoutClause:h,namedExports:k,typeOnlyExports:T}}}function B8(e,t,n){return V.updateImportDeclaration(e,e.modifiers,V.updateImportClause(e.importClause,e.importClause.isTypeOnly,t,n),e.moduleSpecifier,e.assertClause)}function L5e(e,t){return G0(e,(n,s)=>f_e(n,s,t))}function f_e(e,t,n){return yT(e.isTypeOnly,t.isTypeOnly)||n(e.name.text,t.name.text)}function zmt(e,t,n){const s=BW(!!n);return __e(e,t,s)}function __e(e,t,n){const s=e===void 0?void 0:WL(e),l=t===void 0?void 0:WL(t);return yT(s===void 0,l===void 0)||yT(Lu(s),Lu(l))||n(s,l)}function p_e(e){var t;switch(e.kind){case 270:return(t=wi(e.moduleReference,fg))==null?void 0:t.expression;case 271:return e.moduleSpecifier;case 242:return e.declarationList.declarations[0].initializer.arguments[0]}}function Vmt(e,t){return M5e(RW(e,e.statements.filter(ju)),t)}function M5e(e,t){const n=pE(t,!1),s=pE(t,!0);let l=3,f=!1;for(const d of e){if(d.length>1){const h=Zc(d,k=>{var T;return((T=wi(k.moduleSpecifier,yo))==null?void 0:T.text)??""},n,s);if(h&&(l&=h,f=!0),!l)return l}const g=Ve(d,h=>{var k,T;return((T=wi((k=h.importClause)==null?void 0:k.namedBindings,d1))==null?void 0:T.elements.length)>1});if(g){const h=m_e(g.importClause.namedBindings.elements,t);if(h&&(l&=h,f=!0),!l)return l}if(l!==3)return l}return f?0:l}function $mt(e,t){const n=pE(t,!1),s=pE(t,!0);return Zc(e,l=>WL(p_e(l))||"",n,s)}function qmt(e,t,n){const s=dv(e,t,Kc,(l,f)=>d_e(l,f,n));return s<0?~s:s}function Wmt(e,t,n){const s=dv(e,t,Kc,(l,f)=>f_e(l,f,n));return s<0?~s:s}function d_e(e,t,n){return __e(p_e(e),p_e(t),n)||Hmt(e,t)}function Hmt(e,t){return wc(F5e(e),F5e(t))}function F5e(e){var t;switch(e.kind){case 271:return e.importClause?e.importClause.isTypeOnly?1:((t=e.importClause.namedBindings)==null?void 0:t.kind)===273?2:e.importClause.name?3:4:0;case 270:return 5;case 242:return 6}}function Gmt(e){return ln(e,t=>qt(Xmt(t),n=>n.name&&n.propertyName&&n.name.escapedText===n.propertyName.escapedText?V.updateImportSpecifier(n,n.isTypeOnly,void 0,n.name):n))}function Xmt(e){var t;return(t=e.importClause)!=null&&t.namedBindings&&d1(e.importClause.namedBindings)?e.importClause.namedBindings.elements:void 0}function BW(e){return e?Ive:zf}function Qmt(e,t){const n=Ymt(t),s=t.organizeImportsCaseFirst??!1,l=t.organizeImportsNumericCollation??!1,f=t.organizeImportsAccentCollation??!0,d=e?f?"accent":"base":f?"variant":"case";return new Intl.Collator(n,{usage:"sort",caseFirst:s||"false",sensitivity:d,numeric:l}).compare}function Ymt(e){let t=e.organizeImportsLocale;t==="auto"&&(t=Ove()),t===void 0&&(t="en");const n=Intl.Collator.supportedLocalesOf(t);return n.length?n[0]:"en"}function pE(e,t){return(e.organizeImportsCollation??"ordinal")==="unicode"?Qmt(t,e):BW(t)}function Zmt(e,t){const n=typeof e.organizeImportsIgnoreCase=="boolean"?e.organizeImportsIgnoreCase:(t==null?void 0:t())??!1;return pE(e,n)}function Kmt(e){const t=[],n=e.statements,s=G(n);let l=0,f=0;for(;l<s;)if(Ju(n[l])){t[f]===void 0&&(t[f]=[]);const d=n[l];if(d.moduleSpecifier)t[f].push(d),l++;else{for(;l<s&&Ju(n[l]);)t[f].push(n[l++]);f++}}else l++;return ln(t,d=>RW(e,d))}var R5e,m_e,eht=p({"src/services/organizeImports.ts"(){Si(),R5e=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){this._lastPreferences!==t&&(this._lastPreferences=t,this._cache=void 0),this._cache??(this._cache=new WeakMap),this._cache.set(e,n)}},m_e=Dve((e,t)=>{if(!tc(e,(l,f)=>yT(l.isTypeOnly,f.isTypeOnly)))return 0;const n=pE(t,!1),s=pE(t,!0);return Zc(e,l=>l.name.text,n,s)},new R5e)}}),um={};S(um,{coalesceExports:()=>Umt,coalesceImports:()=>jmt,compareImportOrExportSpecifiers:()=>f_e,compareImportsOrRequireStatements:()=>d_e,compareModuleSpecifiers:()=>zmt,detectImportDeclarationSorting:()=>$mt,detectImportSpecifierSorting:()=>m_e,detectSorting:()=>Vmt,getImportDeclarationInsertionIndex:()=>qmt,getImportSpecifierInsertionIndex:()=>Wmt,getOrganizeImportsComparer:()=>pE,organizeImports:()=>Mmt});var tht=p({"src/services/_namespaces/ts.OrganizeImports.ts"(){eht()}});function rht(e,t){const n=[];return nht(e,t,n),iht(e,n),n.sort((s,l)=>s.textSpan.start-l.textSpan.start)}function nht(e,t,n){let s=40,l=0;const f=[...e.statements,e.endOfFileToken],d=f.length;for(;l<d;){for(;l<d&&!Nx(f[l]);)g(f[l]),l++;if(l===d)break;const h=l;for(;l<d&&Nx(f[l]);)g(f[l]),l++;const k=l-1;k!==h&&n.push(HL(Go(f[h],102,e).getStart(e),f[k].getEnd(),"imports"))}function g(h){var k;if(s===0)return;t.throwIfCancellationRequested(),(Sf(h)||Yl(h)||Lm(h)||Wg(h)||h.kind===1)&&j5e(h,e,t,n),Sa(h)&&Bn(h.parent)&&ai(h.parent.left)&&j5e(h.parent.left,e,t,n),(Pa(h)||yh(h))&&h_e(h.statements.end,e,t,n),(Ri(h)||Xf(h))&&h_e(h.members.end,e,t,n);const T=sht(h,e);T&&n.push(T),s--,Ra(h)?(s++,g(h.expression),s--,h.arguments.forEach(g),(k=h.typeArguments)==null||k.forEach(g)):Gx(h)&&h.elseStatement&&Gx(h.elseStatement)?(g(h.expression),g(h.thenStatement),s++,g(h.elseStatement),s--):h.forEachChild(g),s++}}function iht(e,t){const n=[],s=e.getLineStarts();for(const l of s){const f=e.getLineEndOfPosition(l),d=e.text.substring(l,f),g=B5e(d);if(!(!g||v1(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=nu(e.text.indexOf("//",l),f);n.push(Ck(h,"region",h,!1,g[2]||"#region"))}}}function B5e(e){return e=eP(e),Xs(e,"//")?(e=vT(e.slice(2)),J5e.exec(e)):null}function h_e(e,t,n,s){const l=Vg(t.text,e);if(!l)return;let f=-1,d=-1,g=0;const h=t.getFullText();for(const{kind:T,pos:C,end:D}of l)switch(n.throwIfCancellationRequested(),T){case 2:const O=h.slice(C,D);if(B5e(O)){k(),g=0;break}g===0&&(f=C),d=D,g++;break;case 3:k(),s.push(HL(C,D,"comment")),g=0;break;default:R.assertNever(T)}k();function k(){g>1&&s.push(HL(f,d,"comment"))}}function j5e(e,t,n,s){Cw(e)||h_e(e.pos,t,n,s)}function HL(e,t,n){return Ck(nu(e,t),n)}function sht(e,t){switch(e.kind){case 240:if(Sa(e.parent))return aht(e.parent,e,t);switch(e.parent.kind){case 245:case 248:case 249:case 247:case 244:case 246:case 253:case 298:return T(e.parent);case 257:const O=e.parent;if(O.tryBlock===e)return T(e.parent);if(O.finallyBlock===e){const M=Go(O,98,t);if(M)return T(M)}default:return Ck(u_(e,t),"code")}case 267:return T(e.parent);case 262:case 230:case 263:case 265:case 268:case 186:case 205:return T(e);case 188:return T(e,!1,!L4(e.parent),23);case 295:case 296:return C(e.statements);case 209:return k(e);case 208:return k(e,23);case 283:return f(e);case 287:return d(e);case 284:case 285:return g(e.attributes);case 227:case 15:return h(e);case 206:return T(e,!1,!Lo(e.parent),23);case 218:return l(e);case 212:return s(e);case 216:return D(e);case 274:case 278:case 299:return n(e)}function n(O){if(!O.elements.length)return;const M=Go(O,19,t),U=Go(O,20,t);if(!(!M||!U||Ld(M.pos,U.pos,t)))return jW(M,U,O,t,!1,!1)}function s(O){if(!O.arguments.length)return;const M=Go(O,21,t),U=Go(O,22,t);if(!(!M||!U||Ld(M.pos,U.pos,t)))return jW(M,U,O,t,!1,!0)}function l(O){if(Pa(O.body)||j_(O.body)||Ld(O.body.getFullStart(),O.body.getEnd(),t))return;const M=nu(O.body.getFullStart(),O.body.getEnd());return Ck(M,"code",u_(O))}function f(O){const M=nu(O.openingElement.getStart(t),O.closingElement.getEnd()),U=O.openingElement.tagName.getText(t),B="<"+U+">...</"+U+">";return Ck(M,"code",M,!1,B)}function d(O){const M=nu(O.openingFragment.getStart(t),O.closingFragment.getEnd());return Ck(M,"code",M,!1,"<>...</>")}function g(O){if(O.properties.length!==0)return HL(O.getStart(t),O.getEnd(),"code")}function h(O){if(!(O.kind===15&&O.text.length===0))return HL(O.getStart(t),O.getEnd(),"code")}function k(O,M=19){return T(O,!1,!Hf(O.parent)&&!Ra(O.parent),M)}function T(O,M=!1,U=!0,B=19,H=B===19?20:24){const Y=Go(e,B,t),Z=Go(e,H,t);return Y&&Z&&jW(Y,Z,O,t,M,U)}function C(O){return O.length?Ck(Uv(O),"code"):void 0}function D(O){if(Ld(O.getStart(),O.getEnd(),t))return;const M=nu(O.getStart(),O.getEnd());return Ck(M,"code",u_(O))}}function aht(e,t,n){const s=oht(e,t,n),l=Go(t,20,n);return s&&l&&jW(s,l,e,n,e.kind!==218)}function jW(e,t,n,s,l=!1,f=!0){const d=nu(f?e.getFullStart():e.getStart(s),t.getEnd());return Ck(d,"code",u_(n,s),l)}function Ck(e,t,n=e,s=!1,l="..."){return{textSpan:e,kind:t,hintSpan:n,bannerText:l,autoCollapse:s}}function oht(e,t,n){if(mSe(e.parameters,n)){const s=Go(e,21,n);if(s)return s}return Go(t,19,n)}var J5e,cht=p({"src/services/outliningElementsCollector.ts"(){Si(),J5e=/^#(end)?region(?:\s+(.*))?(?:\r)?$/}}),g_e={};S(g_e,{collectElements:()=>rht});var lht=p({"src/services/_namespaces/ts.OutliningElementsCollector.ts"(){cht()}});function uht(e,t,n,s){const l=hV(Qp(t,n));if(z5e(l)){const f=fht(l,e.getTypeChecker(),t,e,s);if(f)return f}return JW(v.You_cannot_rename_this_element)}function fht(e,t,n,s,l){const f=t.getSymbolAtLocation(e);if(!f){if(Yo(e)){const D=mV(e,t);if(D&&(D.flags&128||D.flags&1048576&&ot(D.types,O=>!!(O.flags&128))))return y_e(e.text,e.text,"string","",e,n)}else if(Gae(e)){const D=iu(e);return y_e(D,D,"label","",e,n)}return}const{declarations:d}=f;if(!d||d.length===0)return;if(d.some(D=>_ht(s,D)))return JW(v.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(He(e)&&e.escapedText==="default"&&f.parent&&f.parent.flags&1536)return;if(Yo(e)&&m5(e))return l.allowRenameOfImportPath?dht(e,n,f):void 0;const g=pht(n,f,t,l);if(g)return JW(g);const h=x1.getSymbolKind(t,f,e),k=PAe(e)||ud(e)&&e.parent.kind===166?tm(em(e)):void 0,T=k||t.symbolToString(f),C=k||t.getFullyQualifiedName(f);return y_e(T,C,h,x1.getSymbolModifiers(t,f),e,n)}function _ht(e,t){const n=t.getSourceFile();return e.isSourceFileDefaultLibrary(n)&&Vl(n.fileName,".d.ts")}function pht(e,t,n,s){if(!s.providePrefixAndSuffixTextForRename&&t.flags&2097152){const d=t.declarations&&Ve(t.declarations,g=>J_(g));d&&!d.propertyName&&(t=n.getAliasedSymbol(t))}const{declarations:l}=t;if(!l)return;const f=U5e(e.path);if(f===void 0)return Ne(l,d=>UAe(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=U5e(d.getSourceFile().path);if(g){const h=Math.min(f.length,g.length);for(let k=0;k<=h;k++)if(zf(f[k],g[k])!==0)return v.You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder}}}function U5e(e){const t=Ou(e),n=t.lastIndexOf("node_modules");if(n!==-1)return t.slice(0,n+2)}function dht(e,t,n){if(!Lu(e.text))return JW(v.You_cannot_rename_a_module_via_a_global_import);const s=n.declarations&&Ve(n.declarations,Cs);if(!s)return;const l=Sl(e.text,"/index")||Sl(e.text,"/index.js")?void 0:Fve(R_(s.fileName),"/index"),f=l===void 0?s.fileName:l,d=l===void 0?"module":"directory",g=e.text.lastIndexOf("/")+1,h=yu(e.getStart(t)+1+g,e.text.length-g);return{canRename:!0,fileToRename:f,kind:d,displayName:f,fullDisplayName:f,kindModifiers:"",triggerSpan:h}}function y_e(e,t,n,s,l,f){return{canRename:!0,fileToRename:void 0,kind:n,displayName:e,fullDisplayName:t,kindModifiers:s,triggerSpan:mht(l,f)}}function JW(e){return{canRename:!1,localizedErrorMessage:so(e)}}function mht(e,t){let n=e.getStart(t),s=e.getWidth(t);return Yo(e)&&(n+=1,s-=2),yu(n,s)}function z5e(e){switch(e.kind){case 80:case 81:case 11:case 15:case 110:return!0;case 9:return fV(e);default:return!1}}var hht=p({"src/services/rename.ts"(){Si()}}),UW={};S(UW,{getRenameInfo:()=>uht,nodeIsEligibleForRename:()=>z5e});var ght=p({"src/services/_namespaces/ts.Rename.ts"(){hht()}});function yht(e,t,n,s,l){const f=e.getTypeChecker(),d=gV(t,n);if(!d)return;const g=!!s&&s.kind==="characterTyped";if(g&&(mk(t,n,d)||v1(t,n)))return;const h=!!s&&s.kind==="invoked",k=Lht(d,n,t,f,h);if(!k)return;l.throwIfCancellationRequested();const T=vht(k,f,t,d,g);return l.throwIfCancellationRequested(),T?f.runWithCancellationToken(l,C=>T.kind===0?X5e(T.candidates,T.resolvedSignature,k,t,C):Fht(T.symbol,k,t,C)):qf(t)?Tht(k,e,l):void 0}function vht({invocation:e,argumentCount:t},n,s,l,f){switch(e.kind){case 0:{if(f&&!bht(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&&!V5e(l,s,He(d)?d.parent:d))return;const g=aoe(d,t,n);if(g.length!==0)return{kind:0,candidates:g,resolvedSignature:Oo(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 bht(e,t,n){if(!Wg(t))return!1;const s=t.getChildren(n);switch(e.kind){case 21:return kt(s,e);case 28:{const l=dV(e);return!!l&&kt(s,l)}case 30:return V5e(e,n,t.expression);default:return!1}}function Tht(e,t,n){if(e.invocation.kind===2)return;const s=H5e(e.invocation),l=ai(s)?s.name.text:void 0,f=t.getTypeChecker();return l===void 0?void 0:$e(t.getSourceFiles(),d=>$e(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,T=>X5e(k,k[0],e,d,T,!0))}))}function V5e(e,t,n){const s=e.getFullStart();let l=e.parent;for(;l;){const f=ou(s,t,l,!0);if(f)return Mp(n,f);l=l.parent}return R.fail("Could not find preceding token")}function Sht(e,t,n){const s=q5e(e,t,n);return!s||s.isTypeParameterList||s.invocation.kind!==0?void 0:{invocation:s.invocation.node,argumentCount:s.argumentCount,argumentIndex:s.argumentIndex}}function $5e(e,t,n){const s=xht(e,n);if(!s)return;const{list:l,argumentIndex:f}=s,d=Dht(l,mk(n,t,e));f!==0&&R.assertLessThan(f,d);const g=Iht(l,n);return{list:l,argumentIndex:f,argumentCount:d,argumentsSpan:g}}function xht(e,t){if(e.kind===30||e.kind===21)return{list:Mht(e.parent,e,t),argumentIndex:0};{const n=dV(e);return n&&{list:n,argumentIndex:Pht(n,e)}}}function q5e(e,t,n){const{parent:s}=e;if(Wg(s)){const l=s,f=$5e(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(ww(e)&&Hx(s))return V9(e,t,n)?b_e(s,0,n):void 0;if(I4(e)&&s.parent.kind===214){const l=s,f=l.parent;R.assert(l.kind===227);const d=V9(e,t,n)?0:1;return b_e(f,d,n)}else if(kD(s)&&Hx(s.parent.parent)){const l=s,f=s.parent.parent;if(Ore(e)&&!V9(e,t,n))return;const d=l.parent.templateSpans.indexOf(l),g=Nht(d,e,t,n);return b_e(f,g,n)}else if(a_(s)){const l=s.attributes.pos,f=fo(n.text,s.attributes.end,!1);return{isTypeParameterList:!1,invocation:{kind:0,node:s},argumentsSpan:yu(l,f-l),argumentIndex:0,argumentCount:1}}else{const l=ooe(e,n);if(l){const{called:f,nTypeArguments:d}=l,g={kind:1,called:f},h=nu(f.getStart(n),e.end);return{isTypeParameterList:!0,invocation:g,argumentsSpan:h,argumentIndex:d,argumentCount:d+1}}return}}}function kht(e,t,n,s){return Cht(e,t,n,s)||q5e(e,t,n)}function W5e(e){return Bn(e.parent)?W5e(e.parent):e}function v_e(e){return Bn(e.left)?v_e(e.left)+1:2}function Cht(e,t,n,s){const l=wht(e);if(l===void 0)return;const f=Eht(l,n,t,s);if(f===void 0)return;const{contextualType:d,argumentIndex:g,argumentCount:h,argumentsSpan:k}=f,T=d.getNonNullableType(),C=T.symbol;if(C===void 0)return;const D=Bc(T.getCallSignatures());return D===void 0?void 0:{isTypeParameterList:!1,invocation:{kind:2,signature:D,node:e,symbol:Aht(C)},argumentsSpan:k,argumentIndex:g,argumentCount:h}}function wht(e){switch(e.kind){case 21:case 28:return e;default:return mn(e.parent,t=>ea(t)?!0:Lo(t)||Om(t)||Ow(t)?!1:"quit")}}function Eht(e,t,n,s){const{parent:l}=e;switch(l.kind){case 216:case 173:case 217:case 218:const f=$5e(e,n,t);if(!f)return;const{argumentIndex:d,argumentCount:g,argumentsSpan:h}=f,k=ql(l)?s.getContextualTypeForObjectLiteralElement(l):s.getContextualType(l);return k&&{contextualType:k,argumentIndex:d,argumentCount:g,argumentsSpan:h};case 225:{const T=W5e(l),C=s.getContextualType(T),D=e.kind===21?0:v_e(l)-1,O=v_e(T);return C&&{contextualType:C,argumentIndex:D,argumentCount:O,argumentsSpan:u_(l)}}default:return}}function Aht(e){return e.name==="__type"&&$e(e.declarations,t=>{var n;return ry(t)?(n=wi(t.parent,Xh))==null?void 0:n.symbol:void 0})||e}function Pht(e,t){let n=0;for(const s of e.getChildren()){if(s===t)break;s.kind!==28&&n++}return n}function Dht(e,t){const n=e.getChildren();let s=Sn(n,l=>l.kind!==28);return!t&&n.length>0&&To(n).kind===28&&s++,s}function Nht(e,t,n,s){return R.assert(n>=t.getStart(),"Assumed 'position' could not occur before node."),_2e(t)?V9(t,n,s)?0:e+2:e+1}function b_e(e,t,n){const s=ww(e.template)?1:e.template.templateSpans.length+1;return t!==0&&R.assertLessThan(t,s),{isTypeParameterList:!1,invocation:{kind:0,node:e},argumentsSpan:Oht(e,n),argumentIndex:t,argumentCount:s}}function Iht(e,t){const n=e.getFullStart(),s=fo(t.text,e.getEnd(),!1);return yu(n,s-n)}function Oht(e,t){const n=e.template,s=n.getStart();let l=n.getEnd();return n.kind===227&&To(n.templateSpans).literal.getFullWidth()===0&&(l=fo(t.text,l,!1)),yu(s,l-s)}function Lht(e,t,n,s,l){for(let f=e;!Cs(f)&&(l||!Pa(f));f=f.parent){R.assert(Mp(f.parent,f),"Not a subspan",()=>`Child: ${R.formatSyntaxKind(f.kind)}, parent: ${R.formatSyntaxKind(f.parent.kind)}`);const d=kht(f,t,n,s);if(d)return d}}function Mht(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 H5e(e){return e.kind===0?Mj(e.node):e.called}function G5e(e){return e.kind===0?e.node:e.kind===1?e.called:e.node}function X5e(e,t,{isTypeParameterList:n,argumentCount:s,argumentsSpan:l,invocation:f,argumentIndex:d},g,h,k){var T;const C=G5e(f),D=f.kind===2?f.symbol:h.getSymbolAtLocation(H5e(f))||k&&((T=t.declaration)==null?void 0:T.symbol),O=D?o8(h,D,k?g:void 0,void 0):ft,M=qt(e,Z=>Bht(Z,O,n,h,C,g));d!==0&&R.assertLessThan(d,s);let U=0,B=0;for(let Z=0;Z<M.length;Z++){const fe=M[Z];if(e[Z]===t&&(U=B,fe.length>1)){let Q=0;for(const he of fe){if(he.isVariadic||he.parameters.length>=s){U=B+Q;break}Q++}}B+=fe.length}R.assert(U!==-1);const H={items:yn(M,Kc),applicableSpan:l,selectedItemIndex:U,argumentIndex:d,argumentCount:s},Y=H.items[U];if(Y.isVariadic){const Z=ir(Y.parameters,fe=>!!fe.isRest);-1<Z&&Z<Y.parameters.length-1?H.argumentIndex=Y.parameters.length:H.argumentIndex=Math.min(H.argumentIndex,Y.parameters.length-1)}return H}function Fht(e,{argumentCount:t,argumentsSpan:n,invocation:s,argumentIndex:l},f,d){const g=d.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(e);return g?{items:[Rht(e,g,d,G5e(s),f)],applicableSpan:n,selectedItemIndex:0,argumentIndex:l,argumentCount:t}:void 0}function Rht(e,t,n,s,l){const f=o8(n,e),d=oS(),g=t.map(C=>Q5e(C,n,s,l,d)),h=e.getDocumentationComment(n),k=e.getJsDocTags(n);return{isVariadic:!1,prefixDisplayParts:[...f,wf(30)],suffixDisplayParts:[wf(32)],separatorDisplayParts:T_e,parameters:g,documentation:h,tags:k}}function Bht(e,t,n,s,l,f){const d=(n?Jht:Uht)(e,s,l,f);return qt(d,({isVariadic:g,parameters:h,prefix:k,suffix:T})=>{const C=[...t,...k],D=[...T,...jht(e,l,s)],O=e.getDocumentationComment(s),M=e.getJsDocTags();return{isVariadic:g,prefixDisplayParts:C,suffixDisplayParts:D,separatorDisplayParts:T_e,parameters:h,documentation:O,tags:M}})}function jht(e,t,n){return Vv(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 Jht(e,t,n,s){const l=(e.target||e).typeParameters,f=oS(),d=(l||ft).map(h=>Q5e(h,t,n,s,f)),g=e.thisParameter?[t.symbolToParameterDeclaration(e.thisParameter,n,j8)]:[];return t.getExpandedParameters(e).map(h=>{const k=V.createNodeArray([...g,...qt(h,C=>t.symbolToParameterDeclaration(C,n,j8))]),T=Vv(C=>{f.writeList(2576,k,s,C)});return{isVariadic:!1,parameters:d,prefix:[wf(30)],suffix:[wf(32),...T]}})}function Uht(e,t,n,s){const l=oS(),f=Vv(h=>{if(e.typeParameters&&e.typeParameters.length){const k=V.createNodeArray(e.typeParameters.map(T=>t.typeParameterToDeclaration(T,n,j8)));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=wi(h[h.length-1],Yh))==null?void 0:k.links.checkFlags)&32768)}:h=>!1;return d.map(h=>({isVariadic:g(h),parameters:h.map(k=>zht(k,t,n,s,l)),prefix:[...f,wf(21)],suffix:[wf(22)]}))}function zht(e,t,n,s,l){const f=Vv(h=>{const k=t.symbolToParameterDeclaration(e,n,j8);l.writeNode(4,k,s,h)}),d=t.isOptionalParameter(e.valueDeclaration),g=Yh(e)&&!!(e.links.checkFlags&32768);return{name:e.name,documentation:e.getDocumentationComment(t),displayParts:f,isOptional:d,isRest:g}}function Q5e(e,t,n,s,l){const f=Vv(d=>{const g=t.typeParameterToDeclaration(e,n,j8);l.writeNode(4,g,s,d)});return{name:e.symbol.name,documentation:e.symbol.getDocumentationComment(t),displayParts:f,isOptional:!1,isRest:!1}}var j8,T_e,Vht=p({"src/services/signatureHelp.ts"(){Si(),j8=70246400,T_e=[wf(28),ol()]}}),GL={};S(GL,{getArgumentInfoForCompletions:()=>Sht,getSignatureHelpItems:()=>yht});var $ht=p({"src/services/_namespaces/ts.SignatureHelp.ts"(){Vht()}});function qht(e,t){var n,s;let l={textSpan:nu(t.getFullStart(),t.getEnd())},f=t;e:for(;;){const h=Hht(f);if(!h.length)break;for(let k=0;k<h.length;k++){const T=h[k-1],C=h[k],D=h[k+1];if(Dx(C,t,!0)>e)break e;const O=$h(Vb(t.text,C.end));if(O&&O.kind===2&&g(O.pos,O.end),Wht(t,e,C)){if(YK(C)&&Lc(f)&&!Ld(C.getStart(t),C.getEnd(),t)&&d(C.getStart(t),C.getEnd()),Pa(C)||kD(C)||I4(C)||Ore(C)||T&&I4(T)||Tu(C)&&Yl(f)||$4(C)&&Tu(f)||bs(C)&&$4(f)&&h.length===1||Zx(C)||o2(C)||z4(C)){f=C;break}if(kD(f)&&D&&rj(D)){const H=C.getFullStart()-2,Y=D.getStart()+1;d(H,Y)}const M=$4(C)&&Ght(T)&&Xht(D)&&!Ld(T.getStart(),D.getStart(),t);let U=M?T.getEnd():C.getStart();const B=M?D.getStart():Qht(t,C);if(Ap(C)&&((n=C.jsDoc)!=null&&n.length)&&d(Oo(C.jsDoc).getStart(),B),$4(C)){const H=C.getChildren()[0];H&&Ap(H)&&((s=H.jsDoc)!=null&&s.length)&&H.getStart()!==C.pos&&(U=Math.min(U,Oo(H.jsDoc).getStart()))}d(U,B),(yo(C)||z6(C))&&d(U+1,B-1),f=C;break}if(k===h.length-1)break e}}return l;function d(h,k){if(h!==k){const T=nu(h,k);(!l||!fA(T,l.textSpan)&&Vbe(T,e))&&(l={textSpan:T,...l&&{parent:l}})}}function g(h,k){d(h,k);let T=h;for(;t.text.charCodeAt(T)===47;)T++;d(T,k)}}function Wht(e,t,n){return R.assert(n.pos<=t),t<n.end?!0:n.getEnd()===t?Qp(e,t).pos<n.end:!1}function Hht(e){var t;if(Cs(e))return J8(e.getChildAt(0).getChildren(),Y5e);if(TD(e)){const[n,...s]=e.getChildren(),l=R.checkDefined(s.pop());R.assertEqual(n.kind,19),R.assertEqual(l.kind,20);const f=J8(s,g=>g===e.readonlyToken||g.kind===148||g===e.questionToken||g.kind===58),d=J8(f,({kind:g})=>g===23||g===167||g===24);return[n,U8(zW(d,({kind:g})=>g===59)),l]}if(Gp(e)){const n=J8(e.getChildren(),d=>d===e.name||kt(e.modifiers,d)),s=((t=n[0])==null?void 0:t.kind)===326?n[0]:void 0,l=s?n.slice(1):n,f=zW(l,({kind:d})=>d===59);return s?[s,U8(f)]:f}if(ea(e)){const n=J8(e.getChildren(),l=>l===e.dotDotDotToken||l===e.name),s=J8(n,l=>l===n[0]||l===e.questionToken);return zW(s,({kind:l})=>l===64)}return Lo(e)?zW(e.getChildren(),({kind:n})=>n===64):e.getChildren()}function J8(e,t){const n=[];let s;for(const l of e)t(l)?(s=s||[],s.push(l)):(s&&(n.push(U8(s)),s=void 0),n.push(l));return s&&n.push(U8(s)),n}function zW(e,t,n=!0){if(e.length<2)return e;const s=ir(e,t);if(s===-1)return e;const l=e.slice(0,s),f=e[s],d=To(e),g=n&&d.kind===27,h=e.slice(s+1,g?e.length-1:void 0),k=Ql([l.length?U8(l):void 0,f,h.length?U8(h):void 0]);return g?k.concat(d):k}function U8(e){return R.assertGreaterThanOrEqual(e.length,1),ag(_g.createSyntaxList(e),e[0].pos,To(e).end)}function Ght(e){const t=e&&e.kind;return t===19||t===23||t===21||t===285}function Xht(e){const t=e&&e.kind;return t===20||t===24||t===22||t===286}function Qht(e,t){switch(t.kind){case 347:case 344:case 354:case 352:case 349:return e.getLineEndOfPosition(t.getStart());default:return t.getEnd()}}var Y5e,Yht=p({"src/services/smartSelection.ts"(){Si(),Y5e=Wh(ju,cf)}}),S_e={};S(S_e,{getSmartSelectionRange:()=>qht});var Zht=p({"src/services/_namespaces/ts.SmartSelectionRange.ts"(){Yht()}});function Z5e(e,t,n){const s=K5e(e,t,n);if(s!=="")return s;const l=WP(t);return l&32?_l(t,230)?"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 K5e(e,t,n){const s=e.getRootSymbols(t);if(s.length===1&&Oo(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===110&&Ct(n)||dw(n))return"parameter";const l=WP(t);if(l&3)return xoe(t)?"parameter":t.valueDeclaration&&Gy(t.valueDeclaration)?"const":te(t.declarations,CP)?"let":rOe(t)?"local var":"var";if(l&16)return rOe(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=te(e.getRootSymbols(t),d=>{if(d.getFlags()&98311)return"property"});return f||(e.getTypeOfSymbolAtLocation(t,n).getCallSignatures().length?"method":"property")}return"property"}return""}function eOe(e){if(e.declarations&&e.declarations.length){const[t,...n]=e.declarations,s=G(n)&&$V(t)&&Ne(n,f=>!$V(f))?8192:0,l=n8(t,s);if(l)return l.split(",")}return[]}function Kht(e,t){if(!t)return"";const n=new Set(eOe(t));if(t.flags&2097152){const s=e.getAliasedSymbol(t);s!==t&&te(eOe(s),l=>{n.add(l)})}return t.flags&16777216&&n.add("optional"),n.size>0?oo(n.values()).join(","):""}function tOe(e,t,n,s,l,f=_k(l),d){var g;const h=[];let k=[],T=[];const C=WP(t);let D=f&1?K5e(e,t,l):"",O=!1;const M=l.kind===110&&Rj(l)||dw(l);let U,B,H,Y=!1;if(l.kind===110&&!M)return{displayParts:[op(110)],documentation:[],symbolKind:"primitive type",tags:void 0};if(D!==""||C&32||C&2097152){if(D==="getter"||D==="setter"){const xe=Ve(t.declarations,we=>we.name===l);if(xe)switch(xe.kind){case 176:D="getter";break;case 177:D="setter";break;case 171:D="accessor";break;default:R.assertNever(xe)}else D="property"}let ce;if(U=M?e.getTypeAtLocation(l):e.getTypeOfSymbolAtLocation(t,l),l.parent&&l.parent.kind===210){const xe=l.parent.name;(xe===l||xe&&xe.getFullWidth()===0)&&(l=l.parent)}let le;if(Wg(l)?le=l:(qae(l)||KD(l)||l.parent&&(a_(l.parent)||Hx(l.parent))&&Sa(t.valueDeclaration))&&(le=l.parent),le){ce=e.getResolvedSignature(le);const xe=le.kind===213||Ra(le)&&le.expression.kind===108,we=xe?U.getConstructSignatures():U.getCallSignatures();if(ce&&!kt(we,ce.target)&&!kt(we,ce)&&(ce=we.length?we[0]:void 0),ce){switch(xe&&C&32?(D="constructor",ye(U.symbol,D)):C&2097152?(D="alias",de(D),h.push(ol()),xe&&(ce.flags&4&&(h.push(op(128)),h.push(ol())),h.push(op(105)),h.push(ol())),W(t)):ye(t,D),D){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":h.push(wf(59)),h.push(ol()),!(vi(U)&16)&&U.symbol&&(Pi(h,o8(e,U.symbol,s,void 0,5)),h.push(_A())),xe&&(ce.flags&4&&(h.push(op(128)),h.push(ol())),h.push(op(105)),h.push(ol())),Ce(ce,we,262144);break;default:Ce(ce,we)}O=!0,Y=we.length>1}}else if(Zae(l)&&!(C&98304)||l.kind===137&&l.parent.kind===175){const xe=l.parent;if(t.declarations&&Ve(t.declarations,Ie=>Ie===(l.kind===137?xe.parent:xe))){const Ie=xe.kind===175?U.getNonNullableType().getConstructSignatures():U.getNonNullableType().getCallSignatures();e.isImplementationOfOverload(xe)?ce=Ie[0]:ce=e.getSignatureFromDeclaration(xe),xe.kind===175?(D="constructor",ye(U.symbol,D)):ye(xe.kind===178&&!(U.symbol.flags&2048||U.symbol.flags&4096)?U.symbol:t,D),ce&&Ce(ce,Ie),O=!0,Y=Ie.length>1}}}if(C&32&&!O&&!M&&(Q(),_l(t,230)?de("local class"):h.push(op(86)),h.push(ol()),W(t),K(t,n)),C&64&&f&2&&(fe(),h.push(op(120)),h.push(ol()),W(t),K(t,n)),C&524288&&f&2&&(fe(),h.push(op(156)),h.push(ol()),W(t),K(t,n),h.push(ol()),h.push(a8(64)),h.push(ol()),Pi(h,Y9(e,l.parent&&Wy(l.parent)?e.getTypeAtLocation(l.parent):e.getDeclaredTypeOfSymbol(t),s,8388608))),C&384&&(fe(),Ne(t.declarations,ce=>s2(ce)&&IT(ce))&&(h.push(op(87)),h.push(ol())),h.push(op(94)),h.push(ol()),W(t)),C&1536&&!M){fe();const ce=_l(t,266),le=ce&&ce.name&&ce.name.kind===80;h.push(op(le?145:144)),h.push(ol()),W(t)}if(C&262144&&f&2)if(fe(),h.push(wf(21)),h.push(Yp("type parameter")),h.push(wf(22)),h.push(ol()),W(t),t.parent)he(),W(t.parent,s),K(t.parent,s);else{const ce=_l(t,167);if(ce===void 0)return R.fail();const le=ce.parent;if(le)if(Sa(le)){he();const xe=e.getSignatureFromDeclaration(le);le.kind===179?(h.push(op(105)),h.push(ol())):le.kind!==178&&le.name&&W(le.symbol),Pi(h,woe(e,xe,n,32))}else Mm(le)&&(he(),h.push(op(156)),h.push(ol()),W(le.symbol),K(le.symbol,n))}if(C&8){D="enum member",ye(t,"enum member");const ce=(g=t.declarations)==null?void 0:g[0];if((ce==null?void 0:ce.kind)===305){const le=e.getConstantValue(ce);le!==void 0&&(h.push(ol()),h.push(a8(64)),h.push(ol()),h.push(U_(X2e(le),typeof le=="number"?7:8)))}}if(t.flags&2097152){if(fe(),!O||k.length===0&&T.length===0){const ce=e.getAliasedSymbol(t);if(ce!==t&&ce.declarations&&ce.declarations.length>0){const le=ce.declarations[0],xe=ia(le);if(xe&&!O){const we=Tj(le)&&gi(le,2),Ie=t.name!=="default"&&!we,ue=tOe(e,ce,pn(le),le,xe,f,Ie?t:ce);h.push(...ue.displayParts),h.push(_A()),B=ue.documentation,H=ue.tags}else B=ce.getContextualDocumentationComment(le,e),H=ce.getJsDocTags(e)}}if(t.declarations)switch(t.declarations[0].kind){case 269:h.push(op(95)),h.push(ol()),h.push(op(145));break;case 276:h.push(op(95)),h.push(ol()),h.push(op(t.declarations[0].isExportEquals?64:90));break;case 280:h.push(op(95));break;default:h.push(op(102))}h.push(ol()),W(t),te(t.declarations,ce=>{if(ce.kind===270){const le=ce;if(Gb(le))h.push(ol()),h.push(a8(64)),h.push(ol()),h.push(op(149)),h.push(wf(21)),h.push(U_(iu(AP(le)),8)),h.push(wf(22));else{const xe=e.getSymbolAtLocation(le.moduleReference);xe&&(h.push(ol()),h.push(a8(64)),h.push(ol()),W(xe,s))}return!0}})}if(!O)if(D!==""){if(U){if(M?(fe(),h.push(op(110))):ye(t,D),D==="property"||D==="accessor"||D==="getter"||D==="setter"||D==="JSX attribute"||C&3||D==="local var"||D==="index"||M){if(h.push(wf(59)),h.push(ol()),U.symbol&&U.symbol.flags&262144&&D!=="index"){const ce=Vv(le=>{const xe=e.typeParameterToDeclaration(U,s,x_e);Z().writeNode(4,xe,pn(Gs(s)),le)});Pi(h,ce)}else Pi(h,Y9(e,U,s));if(Yh(t)&&t.links.target&&Yh(t.links.target)&&t.links.target.links.tupleLabelDeclaration){const ce=t.links.target.links.tupleLabelDeclaration;R.assertNode(ce.name,He),h.push(ol()),h.push(wf(21)),h.push(Yp(Zn(ce.name))),h.push(wf(22))}}else if(C&16||C&8192||C&16384||C&131072||C&98304||D==="method"){const ce=U.getNonNullableType().getCallSignatures();ce.length&&(Ce(ce[0],ce),Y=ce.length>1)}}}else D=Z5e(e,t,l);if(k.length===0&&!Y&&(k=t.getContextualDocumentationComment(s,e)),k.length===0&&C&4&&t.parent&&t.declarations&&te(t.parent.declarations,ce=>ce.kind===311))for(const ce of t.declarations){if(!ce.parent||ce.parent.kind!==225)continue;const le=e.getSymbolAtLocation(ce.parent.right);if(le&&(k=le.getDocumentationComment(e),T=le.getJsDocTags(e),k.length>0))break}if(k.length===0&&He(l)&&t.valueDeclaration&&Lo(t.valueDeclaration)){const ce=t.valueDeclaration,le=ce.parent;if(He(ce.name)&&Om(le)){const xe=em(ce.name),we=e.getTypeAtLocation(le);k=$e(we.isUnion()?we.types:[we],Ie=>{const ue=Ie.getProperty(xe);return ue?ue.getDocumentationComment(e):void 0})||ft}}return T.length===0&&!Y&&(T=t.getContextualJsDocTags(s,e)),k.length===0&&B&&(k=B),T.length===0&&H&&(T=H),{displayParts:h,documentation:k,symbolKind:D,tags:T.length===0?void 0:T};function Z(){return oS()}function fe(){h.length&&h.push(_A()),Q()}function Q(){d&&(de("alias"),h.push(ol()))}function he(){h.push(ol()),h.push(op(103)),h.push(ol())}function W(ce,le){let xe;d&&ce===t&&(ce=d),D==="index"&&(xe=e.getIndexInfosOfIndexSymbol(ce));let we=[];ce.flags&131072&&xe?(ce.parent&&(we=o8(e,ce.parent)),we.push(wf(23)),xe.forEach((Ie,ue)=>{we.push(...Y9(e,Ie.keyType)),ue!==xe.length-1&&(we.push(ol()),we.push(wf(52)),we.push(ol()))}),we.push(wf(24))):we=o8(e,ce,le||n,void 0,7),Pi(h,we),t.flags&16777216&&h.push(wf(58))}function ye(ce,le){fe(),le&&(de(le),ce&&!Ne(ce.declarations,xe=>Dc(xe)||(_c(xe)||Gf(xe))&&!xe.name)&&(h.push(ol()),W(ce)))}function de(ce){switch(ce){case"var":case"function":case"let":case"const":case"constructor":h.push(koe(ce));return;default:h.push(wf(21)),h.push(koe(ce)),h.push(wf(22));return}}function Ce(ce,le,xe=0){Pi(h,woe(e,ce,s,xe|32)),le.length>1&&(h.push(ol()),h.push(wf(21)),h.push(a8(40)),h.push(U_((le.length-1).toString(),7)),h.push(ol()),h.push(Yp(le.length===2?"overload":"overloads")),h.push(wf(22))),k=ce.getDocumentationComment(e),T=ce.getJsDocTags(),le.length>1&&k.length===0&&T.length===0&&(k=le[0].getDocumentationComment(e),T=le[0].getJsDocTags().filter(we=>we.name!=="deprecated"))}function K(ce,le){const xe=Vv(we=>{const Ie=e.symbolToTypeParameterDeclarations(ce,le,x_e);Z().writeList(53776,Ie,pn(Gs(le)),we)});Pi(h,xe)}}function rOe(e){return e.parent?!1:te(e.declarations,t=>{if(t.kind===217)return!0;if(t.kind!==259&&t.kind!==261)return!1;for(let n=t.parent;!Ix(n);n=n.parent)if(n.kind===311||n.kind===267)return!1;return!0})}var x_e,egt=p({"src/services/symbolDisplay.ts"(){Si(),x_e=70246400}}),x1={};S(x1,{getSymbolDisplayPartsDocumentationAndSymbolKind:()=>tOe,getSymbolKind:()=>Z5e,getSymbolModifiers:()=>Kht});var tgt=p({"src/services/_namespaces/ts.SymbolDisplay.ts"(){egt()}});function nOe(e){const t=e.__pos;return R.assert(typeof t=="number"),t}function k_e(e,t){R.assert(typeof t=="number"),e.__pos=t}function iOe(e){const t=e.__end;return R.assert(typeof t=="number"),t}function C_e(e,t){R.assert(typeof t=="number"),e.__end=t}function sOe(e,t){return fo(e,t,!1,!0)}function rgt(e,t){let n=t;for(;n<e.length;){const s=e.charCodeAt(n);if(_h(s)){n++;continue}return s===47}return!1}function z8(e,t,n,s){return{pos:wk(e,t,s),end:dE(e,n,s)}}function wk(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),M=Bd(O,e);return R9(t,M)?M:O}if(d===2){const O=Aee(t,e.text);if(O!=null&&O.length)return Bd(O[0].pos,e)}const g=t.getFullStart(),h=t.getStart(e);if(g===h)return h;const k=Bd(g,e);if(Bd(h,e)===k)return d===1?g:h;if(s){const O=((l=Vg(e.text,g))==null?void 0:l[0])||((f=Vb(e.text,g))==null?void 0:f[0]);if(O)return fo(e.text,O.end,!0,!0)}const C=g>0?1:0;let D=Ev(RP(e,k)+C,e);return D=sOe(e.text,D),Ev(RP(e,D),e)}function w_e(e,t,n){const{end:s}=t,{trailingTriviaOption:l}=n;if(l===2){const f=Vb(e.text,s);if(f){const d=RP(e,t.end);for(const g of f){if(g.kind===2||RP(e,g.pos)>d)break;if(RP(e,g.end)>d)return fo(e.text,g.end,!0,!0)}}}}function dE(e,t,n){var s;const{end:l}=t,{trailingTriviaOption:f}=n;if(f===0)return l;if(f===1){const h=wr(Vb(e.text,l),Vg(e.text,l)),k=(s=h==null?void 0:h[h.length-1])==null?void 0:s.end;return k||l}const d=w_e(e,t,n);if(d)return d;const g=fo(e.text,l,!0);return g!==l&&(f===2||sf(e.text.charCodeAt(g-1)))?g:l}function VW(e,t){return!!t&&!!e.parent&&(t.kind===28||t.kind===27&&e.parent.kind===209)}function ngt(e){return _c(e)||au(e)}function igt(e){if(e.kind!==218)return e;const t=e.parent.kind===171?e.parent:e.parent.parent;return t.jsDoc=e.jsDoc,t}function sgt(e,t){if(e.kind===t.kind)switch(e.kind){case 347:{const n=e,s=t;return He(n.name)&&He(s.name)&&n.name.escapedText===s.name.escapedText?V.createJSDocParameterTag(void 0,s.name,!1,s.typeExpression,s.isNameFirst,n.comment):void 0}case 348:return V.createJSDocReturnTag(void 0,t.typeExpression,e.comment);case 350:return V.createJSDocTypeTag(void 0,t.typeExpression,e.comment)}}function E_e(e,t){return fo(e.text,wk(e,t,{leadingTriviaOption:1}),!1,!0)}function agt(e,t,n,s){const l=E_e(e,s);if(n===void 0||Ld(dE(e,t,{}),l,e))return l;const f=ou(s.getStart(e),e);if(VW(t,f)){const d=ou(t.getStart(e),e);if(VW(n,d)){const g=fo(e.text,f.getEnd(),!0,!0);if(Ld(d.getStart(e),f.getStart(e),e))return sf(e.text.charCodeAt(g-1))?g-1:g;if(sf(e.text.charCodeAt(g)))return g}}return l}function ogt(e,t){const n=Go(e,19,t),s=Go(e,20,t);return[n==null?void 0:n.end,s==null?void 0:s.end]}function $W(e){return jo(e)?e.properties:e.members}function A_e(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(af(s))}`}return e}function cgt(e){return fo(e,0)===e.length}function qW(e){const t=Kr(e,qW,cOe,lgt,qW),n=Ec(t)?t:Object.create(t);return ag(n,nOe(e),iOe(e)),n}function lgt(e,t,n,s,l){const f=cn(e,t,n,s,l);if(!f)return f;R.assert(e);const d=f===e?V.createNodeArray(f.slice(0)):f;return ag(d,nOe(e),iOe(e)),d}function aOe(e){let t=0;const n=N5(e),s=ue=>{ue&&k_e(ue,t)},l=ue=>{ue&&C_e(ue,t)},f=ue=>{ue&&k_e(ue,t)},d=ue=>{ue&&C_e(ue,t)},g=ue=>{ue&&k_e(ue,t)},h=ue=>{ue&&C_e(ue,t)};function k(ue,ut){if(ut||!cgt(ue)){t=n.getTextPos();let Ge=0;for(;zg(ue.charCodeAt(ue.length-Ge-1));)Ge++;t-=Ge}}function T(ue){n.write(ue),k(ue,!1)}function C(ue){n.writeComment(ue)}function D(ue){n.writeKeyword(ue),k(ue,!1)}function O(ue){n.writeOperator(ue),k(ue,!1)}function M(ue){n.writePunctuation(ue),k(ue,!1)}function U(ue){n.writeTrailingSemicolon(ue),k(ue,!1)}function B(ue){n.writeParameter(ue),k(ue,!1)}function H(ue){n.writeProperty(ue),k(ue,!1)}function Y(ue){n.writeSpace(ue),k(ue,!1)}function Z(ue){n.writeStringLiteral(ue),k(ue,!1)}function fe(ue,ut){n.writeSymbol(ue,ut),k(ue,!1)}function Q(ue){n.writeLine(ue)}function he(){n.increaseIndent()}function W(){n.decreaseIndent()}function ye(){return n.getText()}function de(ue){n.rawWrite(ue),k(ue,!1)}function Ce(ue){n.writeLiteral(ue),k(ue,!0)}function K(){return n.getTextPos()}function ce(){return n.getLine()}function le(){return n.getColumn()}function xe(){return n.getIndent()}function we(){return n.isAtStartOfLine()}function Ie(){n.clear(),t=0}return{onBeforeEmitNode:s,onAfterEmitNode:l,onBeforeEmitNodeArray:f,onAfterEmitNodeArray:d,onBeforeEmitToken:g,onAfterEmitToken:h,write:T,writeComment:C,writeKeyword:D,writeOperator:O,writePunctuation:M,writeTrailingSemicolon:U,writeParameter:B,writeProperty:H,writeSpace:Y,writeStringLiteral:Z,writeSymbol:fe,writeLine:Q,increaseIndent:he,decreaseIndent:W,getText:ye,rawWrite:de,writeLiteral:Ce,getTextPos:K,getLine:ce,getColumn:le,getIndent:xe,isAtStartOfLine:we,hasTrailingComment:()=>n.hasTrailingComment(),hasTrailingWhitespace:()=>n.hasTrailingWhitespace(),clear:Ie}}function ugt(e){let t;for(const k of e.statements)if(Yd(k))t=k;else break;let n=0;const s=e.text;if(t)return n=t.end,h(),n;const l=zB(s);l!==void 0&&(n=l.length,h());const f=Vg(s,n);if(!f)return n;let d,g;for(const k of f){if(k.kind===3){if(vj(s,k.pos)){d={range:k,pinnedOrTripleSlash:!0};continue}}else if(fee(s,k.pos,k.end)){d={range:k,pinnedOrTripleSlash:!0};continue}if(d){if(d.pinnedOrTripleSlash)break;const T=e.getLineAndCharacterOfPosition(k.pos).line,C=e.getLineAndCharacterOfPosition(d.range.end).line;if(T>=C+2)break}if(e.statements.length){g===void 0&&(g=e.getLineAndCharacterOfPosition(e.statements[0].getStart()).line);const T=e.getLineAndCharacterOfPosition(k.end).line;if(g<T+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);sf(k)&&(n++,n<s.length&&k===13&&s.charCodeAt(n)===10&&n++)}}}function oOe(e,t){return!v1(e,t)&&!mk(e,t)&&!soe(e,t)&&!oAe(e,t)}function fgt(e,t){return(Gp(e)||Ia(e))&&ij(t)&&t.name.kind===166||qI(e)&&qI(t)}function oy(e,t,n,s={leadingTriviaOption:1}){const l=wk(t,n,s),f=dE(t,n,s);e.deleteRange(t,{pos:l,end:f})}function V8(e,t,n,s){const l=R.checkDefined(du.SmartIndenter.getContainingList(s,n)),f=X6(l,s);if(R.assert(f!==-1),l.length===1){oy(e,n,s);return}R.assert(!t.has(s),"Deleting a node twice"),t.add(s),e.deleteRange(n,{pos:E_e(n,s),end:f===l.length-1?dE(n,s,{}):agt(n,s,l[f-1],l[f+1])})}var P_e,D_e,xA,WW,HW,cOe,N_e,_gt=p({"src/services/textChanges.ts"(){Si(),P_e=(e=>(e[e.Exclude=0]="Exclude",e[e.IncludeAll=1]="IncludeAll",e[e.JSDoc=2]="JSDoc",e[e.StartLine=3]="StartLine",e))(P_e||{}),D_e=(e=>(e[e.Exclude=0]="Exclude",e[e.ExcludeWhitespace=1]="ExcludeWhitespace",e[e.Include=2]="Include",e))(D_e||{}),xA={leadingTriviaOption:0,trailingTriviaOption:0},WW=class{constructor(e,t){this.newLineCharacter=e,this.formatContext=t,this.changes=[],this.classesWithNodesInsertedAtStart=new Map,this.deletedNodes=[]}static fromContext(e){return new WW(zv(e.host,e.formatContext.options),e.formatContext)}static with(e,t){const n=WW.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:TV(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,z8(e,t,t,n))}deleteNodes(e,t,n={leadingTriviaOption:1},s){for(const l of t){const f=wk(e,l,n,s),d=dE(e,l,n);this.deleteRange(e,{pos:f,end:d}),s=!!w_e(e,l,n)}}deleteModifier(e,t){this.deleteRange(e,{pos:t.getStart(e),end:fo(e.text,t.end,!0)})}deleteNodeRange(e,t,n,s={leadingTriviaOption:1}){const l=wk(e,t,s),f=dE(e,n,s);this.deleteRange(e,{pos:l,end:f})}deleteNodeRangeExcludingEnd(e,t,n,s={leadingTriviaOption:1}){const l=wk(e,t,s),f=n===void 0?e.text.length:wk(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=xA){this.replaceRange(e,z8(e,t,t,s),n,s)}replaceNodeRange(e,t,n,s,l=xA){this.replaceRange(e,z8(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=xA){this.replaceRangeWithNodes(e,z8(e,t,t,s),n,s)}replaceNodeWithText(e,t,n){this.replaceRangeWithText(e,z8(e,t,t,xA),n)}replaceNodeRangeWithNodes(e,t,n,s,l=xA){this.replaceRangeWithNodes(e,z8(e,t,n,l),s,l)}nodeHasTrailingComment(e,t,n=xA){return!!w_e(e,t,n)}nextCommaToken(e,t){const n=dk(t,t.parent,e);return n&&n.kind===28?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,Od(t),n,s)}insertNodesAt(e,t,n,s={}){this.replaceRangeWithNodes(e,Od(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=ugt(e),l={prefix:s===0?void 0:this.newLineCharacter,suffix:(sf(e.text.charCodeAt(s))?"":this.newLineCharacter)+(n?this.newLineCharacter:"")};ka(t)?this.insertNodesAt(e,s,t,l):this.insertNodeAt(e,s,t,l)}insertNodesAtEndOfFile(e,t,n){this.insertAtEndOfFile(e,t,n)}insertAtEndOfFile(e,t,n){const s=e.end+1,l={prefix:this.newLineCharacter,suffix:this.newLineCharacter+(n?this.newLineCharacter:"")};this.insertNodesAt(e,s,t,l)}insertStatementsInNewFile(e,t,n){this.newFileChanges||(this.newFileChanges=sd()),this.newFileChanges.add(e,{oldFile:n,statements:t})}insertFirstParameter(e,t,n){const s=Hu(t);s?this.insertNodeBefore(e,s,n):this.insertNodeAt(e,t.pos,n)}insertNodeBefore(e,t,n,s=!1,l={}){this.insertNodeAt(e,wk(e,t,l),n,this.getOptionsForInsertNodeBefore(t,n,s))}insertModifierAt(e,t,n,s={}){this.insertNodeAt(e,t,V.createToken(n),s)}insertModifierBefore(e,t,n){return this.insertModifierAt(e,n.getStart(e),t,{suffix:" "})}insertCommentBeforeLine(e,t,n,s){const l=Ev(t,e),f=IAe(e.text,l),d=oOe(e,f),g=r8(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:Bd(d.getStart(e),e),end:dE(e,d,{})});const l=NV(e.text,s-1),f=e.text.slice(l,s);this.insertNodeAt(e,s,n,{suffix:this.newLineCharacter+f})}createJSDocText(e,t){const n=ln(t.jsDoc,l=>Wa(l.comment)?V.createJSDocText(l.comment):l.comment),s=$h(t.jsDoc);return s&&Ld(s.pos,s.end,e)&&G(n)===0?void 0:V.createNodeArray(yt(n,V.createJSDocText(`
`)))}replaceJSDocComment(e,t,n){this.insertJsdocCommentBefore(e,igt(t),V.createJSDocComment(this.createJSDocText(e,t),V.createNodeArray(n)))}addJSDocTags(e,t,n){const s=yn(t.jsDoc,f=>f.tags),l=n.filter(f=>!s.some((d,g)=>{const h=sgt(d,f);return h&&(s[g]=h),!!h}));this.replaceJSDocComment(e,t,[...s,...l])}filterJSDocTags(e,t,n){this.replaceJSDocComment(e,t,gr(yn(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,Od(t),n)}tryInsertTypeAnnotation(e,t,n){let s;if(Sa(t)){if(s=Go(t,22,e),!s){if(!Dc(t))return!1;s=Oo(t.parameters)}}else s=(t.kind===259?t.exclamationToken:t.questionToken)??t.name;return this.insertNodeAt(e,s.end,n,{prefix:": "}),!0}tryInsertThisTypeAnnotation(e,t,n){const s=Go(t,21,e).getStart(e)+1,l=t.parameters.length?", ":"";this.insertNodeAt(e,s,n,{prefix:"this: ",suffix:l})}insertTypeParameters(e,t,n){const s=(Go(t,21,e)||Oo(t.parameters)).getStart(e);this.insertNodesAt(e,s,n,{prefix:"<",suffix:">",joiner:", "})}getOptionsForInsertNodeBefore(e,t,n){return Vs(e)||Mu(e)?{suffix:n?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:bs(e)?{suffix:", "}:ea(e)?ea(t)?{suffix:", "}:{}:yo(e)&&ju(e.parent)||d1(e)?{suffix:", "}:J_(e)?{suffix:","+(n?this.newLineCharacter:" ")}:R.failBadSyntaxKind(e)}insertNodeAtConstructorStart(e,t,n){const s=Hu(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=Ve(t.body.statements,l=>of(l)&&Z6(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=Bc(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,V.createBlock(n,!0))}insertNodeAtEndOfScope(e,t,n){const s=wk(e,t.getLastToken(),{});this.insertNodeAt(e,s,n,{prefix:sf(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){const s=this.guessIndentationFromExistingMembers(e,t)??this.computeIndentationForNewMember(e,t);this.insertNodeAt(e,$W(t).pos,n,this.getInsertNodeAtStartInsertOptions(e,t,s))}guessIndentationFromExistingMembers(e,t){let n,s=t;for(const l of $W(t)){if(oJ(s,l,e))return;const f=l.getStart(e),d=du.SmartIndenter.findFirstNonWhitespaceColumn(Bd(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){const n=t.getStart(e);return du.SmartIndenter.findFirstNonWhitespaceColumn(Bd(n,e),n,e,this.formatContext.options)+(this.formatContext.options.indentSize??4)}getInsertNodeAtStartInsertOptions(e,t,n){const l=$W(t).length===0,f=Dm(this.classesWithNodesInsertedAtStart,Jo(t),{node:t,sourceFile:e}),d=jo(t)&&(!Nd(e)||!l),g=jo(t)&&Nd(e)&&l&&!f;return{indentation:n,prefix:(g?",":"")+this.newLineCharacter,suffix:d?",":Xf(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,Oo(n));this.insertNodesAt(e,s,n,this.getInsertNodeAfterOptions(e,t))}insertNodeAfterWorker(e,t,n){return fgt(t,n)&&e.text.charCodeAt(t.end-1)!==59&&this.replaceRange(e,Od(t.end),V.createToken(27)),dE(e,t,{})}getInsertNodeAfterOptions(e,t){const n=this.getInsertNodeAfterOptionsWorker(t);return{...n,prefix:t.end===e.end&&Vs(t)?n.prefix?`
${n.prefix}`:`
`:n.prefix}}getInsertNodeAfterOptionsWorker(e){switch(e.kind){case 262:case 266:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 259:case 11:case 80:return{prefix:", "};case 302:return{suffix:","+this.newLineCharacter};case 95:return{prefix:" "};case 168:return{};default:return R.assert(Vs(e)||ij(e)),{suffix:this.newLineCharacter}}}insertName(e,t,n){if(R.assert(!t.name),t.kind===218){const s=Go(t,39,e),l=Go(t,21,e);l?(this.insertNodesAt(e,l.getStart(e),[V.createToken(100),V.createIdentifier(n)],{joiner:" "}),oy(this,e,s)):(this.insertText(e,Oo(t.parameters).getStart(e),`function ${n}(`),this.replaceRange(e,s,V.createToken(22))),t.body.kind!==240&&(this.insertNodesAt(e,t.body.getStart(e),[V.createToken(19),V.createToken(107)],{joiner:" ",suffix:" "}),this.insertNodesAt(e,t.body.end,[V.createToken(27),V.createToken(20)],{joiner:" "}))}else{const s=Go(t,t.kind===217?100:86,e).end;this.insertNodeAt(e,s,V.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,!Ld(n.elements[0].getStart(),n.parent.parent.getStart(),e))}insertNodeInListAfter(e,t,n,s=du.SmartIndenter.getContainingList(t,e)){if(!s){R.fail("node is not a list element");return}const l=X6(s,t);if(l<0)return;const f=t.getEnd();if(l!==s.length-1){const d=Os(e,t.end);if(d&&VW(t,d)){const g=s[l+1],h=sOe(e.text,g.getFullStart()),k=`${io(d.kind)}${e.text.substring(d.end,h)}`;this.insertNodesAt(e,h,[n],{suffix:k})}}else{const d=t.getStart(e),g=Bd(d,e);let h,k=!1;if(s.length===1)h=28;else{const T=ou(t.pos,e);h=VW(t,T)?T.kind:28,k=Bd(s[l-1].getStart(e),e)!==g}if(rgt(e.text,t.end)&&(k=!0),k){this.replaceRange(e,Od(f),V.createToken(h));const T=du.SmartIndenter.findFirstNonWhitespaceColumn(g,d,e,this.formatContext.options);let C=fo(e.text,f,!0,!1);for(;C!==f&&sf(e.text.charCodeAt(C-1));)C--;this.replaceRange(e,Od(C),n,{indentation:T,prefix:this.newLineCharacter})}else this.replaceRange(e,Od(f),n,{prefix:`${io(h)} `})}}parenthesizeExpression(e,t){this.replaceRange(e,Ute(t),V.createParenthesizedExpression(t))}finishClassesWithNodesInsertedAtStart(){this.classesWithNodesInsertedAtStart.forEach(({node:e,sourceFile:t})=>{const[n,s]=ogt(e,t);if(n!==void 0&&s!==void 0){const l=$W(e).length===0,f=Ld(n,s,t);l&&f&&n!==s-1&&this.deleteRange(t,Od(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&&Y4e(s.node,n))||(ka(n)?this.deleteRange(t,zte(t,n)):N_e.deleteDeclaration(this,e,t,n));e.forEach(t=>{const n=t.getSourceFile(),s=du.SmartIndenter.getContainingList(t,n);if(t!==To(s))return;const l=kr(s,f=>!e.has(f),s.length-2);l!==-1&&this.deleteRange(n,{pos:s[l].end,end:E_e(n,s[l+1])})})}getChanges(e){this.finishDeleteDeclarations(),this.finishClassesWithNodesInsertedAtStart();const t=HW.getTextChangesFromChanges(this.changes,this.newLineCharacter,this.formatContext,e);return this.newFileChanges&&this.newFileChanges.forEach((n,s)=>{t.push(HW.newFileChanges(s,n,this.newLineCharacter,this.formatContext))}),t}createNewFile(e,t,n){this.insertStatementsInNewFile(t,n,e)}},(e=>{function t(g,h,k,T){return lr(Y3(g,C=>C.sourceFile.path),C=>{const D=C[0].sourceFile,O=G0(C,(U,B)=>U.range.pos-B.range.pos||U.range.end-B.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 M=lr(O,U=>{const B=Uv(U.range),H=U.kind===1?pn(el(U.node))??U.sourceFile:U.kind===2?pn(el(U.nodes[0]))??U.sourceFile:U.sourceFile,Y=l(U,H,D,h,k,T);if(!(B.length===Y.length&&GAe(H.text,Y,B.start)))return $9(B,Y)});return M.length>0?{fileName:D.fileName,textChanges:M}:void 0})}e.getTextChangesFromChanges=t;function n(g,h,k,T){const C=s(Rte(g),h,k,T);return{fileName:g,textChanges:[$9(yu(0,0),C)],isNewFile:!0}}e.newFileChanges=n;function s(g,h,k,T){const C=ln(h,M=>M.statements.map(U=>U===4?"":d(U,M.oldFile,k).text)).join(k),D=RO("any file name",C,99,!0,g),O=du.formatDocument(D,T);return A_e(C,O)+k}e.newFileChangesWorker=s;function l(g,h,k,T,C,D){var O;if(g.kind===0)return"";if(g.kind===3)return g.text;const{options:M={},range:{pos:U}}=g,B=Z=>f(Z,h,k,U,M,T,C,D),H=g.kind===2?g.nodes.map(Z=>P6(B(Z),T)).join(((O=g.options)==null?void 0:O.joiner)||T):B(g.node),Y=M.indentation!==void 0||Bd(U,h)===U?H:H.replace(/^\s+/,"");return(M.prefix||"")+Y+(!M.suffix||Sl(Y,M.suffix)?"":M.suffix)}function f(g,h,k,T,{indentation:C,prefix:D,delta:O},M,U,B){const{node:H,text:Y}=d(g,h,M);B&&B(H,Y);const Z=WV(U,h),fe=C!==void 0?C:du.SmartIndenter.getIndentation(T,k,Z,D===M||Bd(T,h)===T);O===void 0&&(O=du.SmartIndenter.shouldIndentChildNode(Z,g)&&Z.indentSize||0);const Q={text:Y,getLineAndCharacterOfPosition(W){return Vc(this,W)}},he=du.formatNodeGivenIndentation(H,Q,h.languageVariant,fe,O,{...U,options:Z});return A_e(Y,he)}function d(g,h,k){const T=aOe(k),C=rL(k);return l2({newLine:C,neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},T).writeNode(4,g,h,T),{text:T.getText(),node:qW(g)}}e.getNonformattedText=d})(HW||(HW={})),cOe={...s0,factory:nO(s0.factory.flags|1,s0.factory.baseFactory)},(e=>{function t(f,d,g,h){switch(h.kind){case 168:{const O=h.parent;Dc(O)&&O.parameters.length===1&&!Go(O,21,g)?f.replaceNodeWithText(g,h,"()"):V8(f,d,g,h);break}case 271:case 270:const k=g.imports.length&&h===Oo(g.imports).parent||h===Ve(g.statements,Nx);oy(f,g,h,{leadingTriviaOption:k?0:Ap(h)?2:3});break;case 207:const T=h.parent;T.kind===206&&h!==To(T.elements)?oy(f,g,h):V8(f,d,g,h);break;case 259:l(f,d,g,h);break;case 167:V8(f,d,g,h);break;case 275:const D=h.parent;D.elements.length===1?s(f,g,D):V8(f,d,g,h);break;case 273:s(f,g,h);break;case 27:oy(f,g,h,{trailingTriviaOption:0});break;case 100:oy(f,g,h,{leadingTriviaOption:0});break;case 262:case 261:oy(f,g,h,{leadingTriviaOption:Ap(h)?2:3});break;default:h.parent?ug(h.parent)&&h.parent.name===h?n(f,g,h.parent):Ra(h.parent)&&kt(h.parent.arguments,h)?V8(f,d,g,h):oy(f,g,h):oy(f,g,h)}}e.deleteDeclaration=t;function n(f,d,g){if(!g.namedBindings)oy(f,d,g.parent);else{const h=g.name.getStart(d),k=Os(d,g.name.end);if(k&&k.kind===28){const T=fo(d.text,k.end,!1,!0);f.deleteRange(d,{pos:h,end:T})}else oy(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=Yb(g,271);oy(f,d,h)}}function l(f,d,g,h){const{parent:k}=h;if(k.kind===298){f.deleteNodeRange(g,Go(k,21,g),Go(k,22,g));return}if(k.declarations.length!==1){V8(f,d,g,h);return}const T=k.parent;switch(T.kind){case 249:case 248:f.replaceNode(g,h,V.createObjectLiteralExpression());break;case 247:oy(f,g,k);break;case 242:oy(f,g,T,{leadingTriviaOption:Ap(T)?2:3});break;default:R.assertNever(T)}}})(N_e||(N_e={}))}}),jn={};S(jn,{ChangeTracker:()=>WW,LeadingTriviaOption:()=>P_e,TrailingTriviaOption:()=>D_e,applyChanges:()=>A_e,assignPositionsToNode:()=>qW,createWriter:()=>aOe,deleteNode:()=>oy,isThisTypeAnnotatable:()=>ngt,isValidLocationToAddComment:()=>oOe});var pgt=p({"src/services/_namespaces/ts.textChanges.ts"(){_gt()}}),I_e,O_e,dgt=p({"src/services/formatting/formattingContext.ts"(){Si(),I_e=(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))(I_e||{}),O_e=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=Go(e,19,this.sourceFile),n=Go(e,20,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 L_e(e,t,n,s,l){const f=t===1?uOe:lOe;f.setText(e),f.resetTokenState(n);let d=!0,g,h,k,T,C;const D=l({advance:O,readTokenInfo:Q,readEOFTokenRange:W,isOnToken:ye,isOnEOF:de,getCurrentLeadingTrivia:()=>g,lastTrailingTriviaWasNewLine:()=>d,skipToEndOf:K,skipToStartOf:ce,getTokenFullStart:()=>(C==null?void 0:C.token.pos)??f.getTokenStart(),getStartPos:()=>(C==null?void 0:C.token.pos)??f.getTokenStart()});return C=void 0,f.setText(void 0),D;function O(){C=void 0,f.getTokenFullStart()!==n?d=!!h&&To(h).kind===4:f.scan(),g=void 0,h=void 0;let xe=f.getTokenFullStart();for(;xe<s;){const we=f.getToken();if(!_4(we))break;f.scan();const Ie={pos:xe,end:f.getTokenFullStart(),kind:we};xe=f.getTokenFullStart(),g=zr(g,Ie)}k=f.getTokenFullStart()}function M(le){switch(le.kind){case 34:case 72:case 73:case 50:case 49:return!0}return!1}function U(le){if(le.parent)switch(le.parent.kind){case 290:case 285:case 286:case 284:return b_(le.kind)||le.kind===80}return!1}function B(le){return Cw(le)||iy(le)&&(C==null?void 0:C.token.kind)===12}function H(le){return le.kind===14}function Y(le){return le.kind===17||le.kind===18}function Z(le){return le.parent&&bh(le.parent)&&le.parent.initializer===le}function fe(le){return le===44||le===69}function Q(le){R.assert(ye());const xe=M(le)?1:H(le)?2:Y(le)?3:U(le)?4:B(le)?5:Z(le)?6:0;if(C&&xe===T)return Ce(C,le);f.getTokenFullStart()!==k&&(R.assert(C!==void 0),f.resetTokenState(k),f.scan());let we=he(le,xe);const Ie=YW(f.getTokenFullStart(),f.getTokenEnd(),we);for(h&&(h=void 0);f.getTokenFullStart()<s&&(we=f.scan(),!!_4(we));){const ue=YW(f.getTokenFullStart(),f.getTokenEnd(),we);if(h||(h=[]),h.push(ue),we===4){f.scan();break}}return C={leadingTrivia:g,trailingTrivia:h,token:Ie},Ce(C,le)}function he(le,xe){const we=f.getToken();switch(T=0,xe){case 1:if(we===32){T=1;const Ie=f.reScanGreaterToken();return R.assert(le.kind===Ie),Ie}break;case 2:if(fe(we)){T=2;const Ie=f.reScanSlashToken();return R.assert(le.kind===Ie),Ie}break;case 3:if(we===20)return T=3,f.reScanTemplateToken(!1);break;case 4:return T=4,f.scanJsxIdentifier();case 5:return T=5,f.reScanJsxToken(!1);case 6:return T=6,f.reScanJsxAttributeValue();case 0:break;default:R.assertNever(xe)}return we}function W(){return R.assert(de()),YW(f.getTokenFullStart(),f.getTokenEnd(),1)}function ye(){const le=C?C.token.kind:f.getToken();return le!==1&&!_4(le)}function de(){return(C?C.token.kind:f.getToken())===1}function Ce(le,xe){return YC(xe)&&le.token.kind!==xe.kind&&(le.token.kind=xe.kind),le}function K(le){f.resetTokenState(le.end),k=f.getTokenFullStart(),T=void 0,C=void 0,d=!1,g=void 0,h=void 0}function ce(le){f.resetTokenState(le.pos),k=f.getTokenFullStart(),T=void 0,C=void 0,d=!1,g=void 0,h=void 0}}var lOe,uOe,mgt=p({"src/services/formatting/formattingScanner.ts"(){Si(),W8(),lOe=e1(99,!1,0),uOe=e1(99,!1,1)}}),XL,M_e,F_e,hgt=p({"src/services/formatting/rule.ts"(){Si(),XL=ft,M_e=(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))(M_e||{}),F_e=(e=>(e[e.None=0]="None",e[e.CanDeleteNewLines=1]="CanDeleteNewLines",e))(F_e||{})}});function fOe(){const e=[];for(let he=0;he<=164;he++)he!==1&&e.push(he);function t(...he){return{tokens:e.filter(W=>!he.some(ye=>ye===W)),isSpecific:!1}}const n={tokens:e,isSpecific:!1},s=kA([...e,3]),l=kA([...e,1]),f=pOe(83,164),d=pOe(30,79),g=[103,104,164,130,142,152],h=[46,47,55,54],k=[9,10,80,21,23,19,110,105],T=[80,21,110,105],C=[80,22,24,105],D=[80,21,110,105],O=[80,22,24,105],M=[2,3],U=[80,...GV],B=s,H=kA([80,3,86,95,102]),Y=kA([22,3,92,113,98,93]),Z=[pi("IgnoreBeforeComment",n,M,XL,1),pi("IgnoreAfterLineComment",2,n,XL,1),pi("NotSpaceBeforeColon",n,59,[_s,QL,hOe],16),pi("SpaceAfterColon",59,n,[_s,QL],4),pi("NoSpaceBeforeQuestionMark",n,58,[_s,QL,hOe],16),pi("SpaceAfterQuestionMarkInConditionalOperator",58,n,[_s,ygt],4),pi("NoSpaceAfterQuestionMark",58,n,[_s],16),pi("NoSpaceBeforeDot",n,[25,29],[_s,Vgt],16),pi("NoSpaceAfterDot",[25,29],n,[_s],16),pi("NoSpaceBetweenImportParenInImportType",102,21,[_s,Pgt],16),pi("NoSpaceAfterUnaryPrefixOperator",h,k,[_s,QL],16),pi("NoSpaceAfterUnaryPreincrementOperator",46,T,[_s],16),pi("NoSpaceAfterUnaryPredecrementOperator",47,D,[_s],16),pi("NoSpaceBeforeUnaryPostincrementOperator",C,46,[_s,NOe],16),pi("NoSpaceBeforeUnaryPostdecrementOperator",O,47,[_s,NOe],16),pi("SpaceAfterPostincrementWhenFollowedByAdd",46,40,[_s,k1],4),pi("SpaceAfterAddWhenFollowedByUnaryPlus",40,40,[_s,k1],4),pi("SpaceAfterAddWhenFollowedByPreincrement",40,46,[_s,k1],4),pi("SpaceAfterPostdecrementWhenFollowedBySubtract",47,41,[_s,k1],4),pi("SpaceAfterSubtractWhenFollowedByUnaryMinus",41,41,[_s,k1],4),pi("SpaceAfterSubtractWhenFollowedByPredecrement",41,47,[_s,k1],4),pi("NoSpaceAfterCloseBrace",20,[28,27],[_s],16),pi("NewLineBeforeCloseBraceInBlockContext",s,20,[yOe],8),pi("SpaceAfterCloseBrace",20,t(22),[_s,Tgt],4),pi("SpaceBetweenCloseBraceAndElse",20,93,[_s],4),pi("SpaceBetweenCloseBraceAndWhile",20,117,[_s],4),pi("NoSpaceBetweenEmptyBraceBrackets",19,20,[_s,kOe],16),pi("SpaceAfterConditionalClosingParen",22,23,[YL],4),pi("NoSpaceBetweenFunctionKeywordAndStar",100,42,[TOe],16),pi("SpaceAfterStarInGeneratorDeclaration",42,80,[TOe],4),pi("SpaceAfterFunctionInFuncDecl",100,n,[_S],4),pi("NewLineAfterOpenBraceInBlockContext",19,n,[yOe],8),pi("SpaceAfterGetSetInMember",[139,153],80,[_S],4),pi("NoSpaceBetweenYieldKeywordAndStar",127,42,[_s,DOe],16),pi("SpaceBetweenYieldOrYieldStarAndOperand",[127,42],n,[_s,DOe],4),pi("NoSpaceBetweenReturnAndSemicolon",107,27,[_s],16),pi("SpaceAfterCertainKeywords",[115,111,105,91,107,114,135],n,[_s],4),pi("SpaceAfterLetConstInVariableDeclaration",[121,87],n,[_s,Ogt],4),pi("NoSpaceBeforeOpenParenInFuncCall",n,21,[_s,kgt,Cgt],16),pi("SpaceBeforeBinaryKeywordOperator",n,g,[_s,k1],4),pi("SpaceAfterBinaryKeywordOperator",g,n,[_s,k1],4),pi("SpaceAfterVoidOperator",116,n,[_s,Bgt],4),pi("SpaceBetweenAsyncAndOpenParen",134,21,[Agt,_s],4),pi("SpaceBetweenAsyncAndFunctionKeyword",134,[100,80],[_s],4),pi("NoSpaceBetweenTagAndTemplateString",[80,22],[15,16],[_s],16),pi("SpaceBeforeJsxAttribute",n,80,[Dgt,_s],4),pi("SpaceBeforeSlashInJsxOpeningElement",n,44,[EOe,_s],4),pi("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",44,32,[EOe,_s],16),pi("NoSpaceBeforeEqualInJsxAttribute",n,64,[wOe,_s],16),pi("NoSpaceAfterEqualInJsxAttribute",64,n,[wOe,_s],16),pi("NoSpaceAfterModuleImport",[144,149],21,[_s],16),pi("SpaceAfterCertainTypeScriptKeywords",[128,129,86,138,90,94,95,96,139,119,102,120,144,145,123,125,124,148,153,126,156,160,143,140],n,[_s],4),pi("SpaceBeforeCertainTypeScriptKeywords",n,[96,119,160],[_s],4),pi("SpaceAfterModuleName",11,19,[Lgt],4),pi("SpaceBeforeArrow",n,39,[_s],4),pi("SpaceAfterArrow",39,n,[_s],4),pi("NoSpaceAfterEllipsis",26,80,[_s],16),pi("NoSpaceAfterOptionalParameters",58,[22,28],[_s,QL],16),pi("NoSpaceBetweenEmptyInterfaceBraceBrackets",19,20,[_s,Mgt],16),pi("NoSpaceBeforeOpenAngularBracket",U,30,[_s,ZL],16),pi("NoSpaceBetweenCloseParenAndAngularBracket",22,30,[_s,ZL],16),pi("NoSpaceAfterOpenAngularBracket",30,n,[_s,ZL],16),pi("NoSpaceBeforeCloseAngularBracket",n,32,[_s,ZL],16),pi("NoSpaceAfterCloseAngularBracket",32,[21,23,32,28],[_s,ZL,bgt,Rgt],16),pi("SpaceBeforeAt",[22,80],60,[_s],4),pi("NoSpaceAfterAt",60,n,[_s],16),pi("SpaceAfterDecorator",n,[128,80,95,90,86,126,125,123,124,139,153,23,42],[Igt],4),pi("NoSpaceBeforeNonNullAssertionOperator",n,54,[_s,jgt],16),pi("NoSpaceAfterNewKeywordOnConstructorSignature",105,21,[_s,Fgt],16),pi("SpaceLessThanAndNonJSXTypeAnnotation",30,30,[_s],4)],fe=[pi("SpaceAfterConstructor",137,21,[Fp("insertSpaceAfterConstructor"),_s],4),pi("NoSpaceAfterConstructor",137,21,[Jm("insertSpaceAfterConstructor"),_s],16),pi("SpaceAfterComma",28,n,[Fp("insertSpaceAfterCommaDelimiter"),_s,V_e,wgt,Egt],4),pi("NoSpaceAfterComma",28,n,[Jm("insertSpaceAfterCommaDelimiter"),_s,V_e],16),pi("SpaceAfterAnonymousFunctionKeyword",[100,42],21,[Fp("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),_S],4),pi("NoSpaceAfterAnonymousFunctionKeyword",[100,42],21,[Jm("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),_S],16),pi("SpaceAfterKeywordInControl",f,21,[Fp("insertSpaceAfterKeywordsInControlFlowStatements"),YL],4),pi("NoSpaceAfterKeywordInControl",f,21,[Jm("insertSpaceAfterKeywordsInControlFlowStatements"),YL],16),pi("SpaceAfterOpenParen",21,n,[Fp("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),_s],4),pi("SpaceBeforeCloseParen",n,22,[Fp("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),_s],4),pi("SpaceBetweenOpenParens",21,21,[Fp("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),_s],4),pi("NoSpaceBetweenParens",21,22,[_s],16),pi("NoSpaceAfterOpenParen",21,n,[Jm("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),_s],16),pi("NoSpaceBeforeCloseParen",n,22,[Jm("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),_s],16),pi("SpaceAfterOpenBracket",23,n,[Fp("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),_s],4),pi("SpaceBeforeCloseBracket",n,24,[Fp("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),_s],4),pi("NoSpaceBetweenBrackets",23,24,[_s],16),pi("NoSpaceAfterOpenBracket",23,n,[Jm("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),_s],16),pi("NoSpaceBeforeCloseBracket",n,24,[Jm("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),_s],16),pi("SpaceAfterOpenBrace",19,n,[mOe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),gOe],4),pi("SpaceBeforeCloseBrace",n,20,[mOe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),gOe],4),pi("NoSpaceBetweenEmptyBraceBrackets",19,20,[_s,kOe],16),pi("NoSpaceAfterOpenBrace",19,n,[R_e("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),_s],16),pi("NoSpaceBeforeCloseBrace",n,20,[R_e("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),_s],16),pi("SpaceBetweenEmptyBraceBrackets",19,20,[Fp("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces")],4),pi("NoSpaceBetweenEmptyBraceBrackets",19,20,[R_e("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces"),_s],16),pi("SpaceAfterTemplateHeadAndMiddle",[16,17],n,[Fp("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),COe],4,1),pi("SpaceBeforeTemplateMiddleAndTail",n,[17,18],[Fp("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),_s],4),pi("NoSpaceAfterTemplateHeadAndMiddle",[16,17],n,[Jm("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),COe],16,1),pi("NoSpaceBeforeTemplateMiddleAndTail",n,[17,18],[Jm("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),_s],16),pi("SpaceAfterOpenBraceInJsxExpression",19,n,[Fp("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),_s,XW],4),pi("SpaceBeforeCloseBraceInJsxExpression",n,20,[Fp("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),_s,XW],4),pi("NoSpaceAfterOpenBraceInJsxExpression",19,n,[Jm("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),_s,XW],16),pi("NoSpaceBeforeCloseBraceInJsxExpression",n,20,[Jm("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),_s,XW],16),pi("SpaceAfterSemicolonInFor",27,n,[Fp("insertSpaceAfterSemicolonInForStatements"),_s,j_e],4),pi("NoSpaceAfterSemicolonInFor",27,n,[Jm("insertSpaceAfterSemicolonInForStatements"),_s,j_e],16),pi("SpaceBeforeBinaryOperator",n,d,[Fp("insertSpaceBeforeAndAfterBinaryOperators"),_s,k1],4),pi("SpaceAfterBinaryOperator",d,n,[Fp("insertSpaceBeforeAndAfterBinaryOperators"),_s,k1],4),pi("NoSpaceBeforeBinaryOperator",n,d,[Jm("insertSpaceBeforeAndAfterBinaryOperators"),_s,k1],16),pi("NoSpaceAfterBinaryOperator",d,n,[Jm("insertSpaceBeforeAndAfterBinaryOperators"),_s,k1],16),pi("SpaceBeforeOpenParenInFuncDecl",n,21,[Fp("insertSpaceBeforeFunctionParenthesis"),_s,_S],4),pi("NoSpaceBeforeOpenParenInFuncDecl",n,21,[Jm("insertSpaceBeforeFunctionParenthesis"),_s,_S],16),pi("NewLineBeforeOpenBraceInControl",Y,19,[Fp("placeOpenBraceOnNewLineForControlBlocks"),YL,z_e],8,1),pi("NewLineBeforeOpenBraceInFunction",B,19,[Fp("placeOpenBraceOnNewLineForFunctions"),_S,z_e],8,1),pi("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",H,19,[Fp("placeOpenBraceOnNewLineForFunctions"),SOe,z_e],8,1),pi("SpaceAfterTypeAssertion",32,n,[Fp("insertSpaceAfterTypeAssertion"),_s,q_e],4),pi("NoSpaceAfterTypeAssertion",32,n,[Jm("insertSpaceAfterTypeAssertion"),_s,q_e],16),pi("SpaceBeforeTypeAnnotation",n,[58,59],[Fp("insertSpaceBeforeTypeAnnotation"),_s,J_e],4),pi("NoSpaceBeforeTypeAnnotation",n,[58,59],[Jm("insertSpaceBeforeTypeAnnotation"),_s,J_e],16),pi("NoOptionalSemicolon",27,l,[dOe("semicolons","remove"),Ugt],32),pi("OptionalSemicolon",n,l,[dOe("semicolons","insert"),zgt],64)],Q=[pi("NoSpaceBeforeSemicolon",n,27,[_s],16),pi("SpaceBeforeOpenBraceInControl",Y,19,[B_e("placeOpenBraceOnNewLineForControlBlocks"),YL,$_e,U_e],4,1),pi("SpaceBeforeOpenBraceInFunction",B,19,[B_e("placeOpenBraceOnNewLineForFunctions"),_S,GW,$_e,U_e],4,1),pi("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",H,19,[B_e("placeOpenBraceOnNewLineForFunctions"),SOe,$_e,U_e],4,1),pi("NoSpaceBeforeComma",n,28,[_s],16),pi("NoSpaceBeforeOpenBracket",t(134,84),23,[_s],16),pi("NoSpaceAfterCloseBracket",24,n,[_s,Ngt],16),pi("SpaceAfterSemicolon",27,n,[_s],4),pi("SpaceBetweenForAndAwaitKeyword",99,135,[_s],4),pi("SpaceBetweenStatements",[22,92,93,84],n,[_s,V_e,ggt],4),pi("SpaceAfterTryCatchFinally",[113,85,98],19,[_s],4)];return[...Z,...fe,...Q]}function pi(e,t,n,s,l,f=0){return{leftTokenRange:_Oe(t),rightTokenRange:_Oe(n),rule:{debugName:e,context:s,action:l,flags:f}}}function kA(e){return{tokens:e,isSpecific:!0}}function _Oe(e){return typeof e=="number"?kA([e]):ka(e)?kA(e):e}function pOe(e,t,n=[]){const s=[];for(let l=e;l<=t;l++)kt(n,l)||s.push(l);return kA(s)}function dOe(e,t){return n=>n.options&&n.options[e]===t}function Fp(e){return t=>t.options&&uc(t.options,e)&&!!t.options[e]}function R_e(e){return t=>t.options&&uc(t.options,e)&&!t.options[e]}function Jm(e){return t=>!t.options||!uc(t.options,e)||!t.options[e]}function B_e(e){return t=>!t.options||!uc(t.options,e)||!t.options[e]||t.TokensAreOnSameLine()}function mOe(e){return t=>!t.options||!uc(t.options,e)||!!t.options[e]}function j_e(e){return e.contextNode.kind===247}function ggt(e){return!j_e(e)}function k1(e){switch(e.contextNode.kind){case 225:return e.contextNode.operatorToken.kind!==28;case 226:case 193:case 233:case 280:case 275:case 181:case 191:case 192:case 237:return!0;case 207:case 264:case 270:case 276:case 259:case 168:case 305:case 171:case 170:return e.currentTokenSpan.kind===64||e.nextTokenSpan.kind===64;case 248:case 167:return e.currentTokenSpan.kind===103||e.nextTokenSpan.kind===103||e.currentTokenSpan.kind===64||e.nextTokenSpan.kind===64;case 249:return e.currentTokenSpan.kind===164||e.nextTokenSpan.kind===164}return!1}function QL(e){return!k1(e)}function hOe(e){return!J_e(e)}function J_e(e){const t=e.contextNode.kind;return t===171||t===170||t===168||t===259||ew(t)}function ygt(e){return e.contextNode.kind===226||e.contextNode.kind===193}function U_e(e){return e.TokensAreOnSameLine()||GW(e)}function gOe(e){return e.contextNode.kind===205||e.contextNode.kind===199||vgt(e)}function z_e(e){return GW(e)&&!(e.NextNodeAllOnSameLine()||e.NextNodeBlockIsOnOneLine())}function yOe(e){return vOe(e)&&!(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function vgt(e){return vOe(e)&&(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function vOe(e){return bOe(e.contextNode)}function GW(e){return bOe(e.nextTokenParent)}function bOe(e){if(xOe(e))return!0;switch(e.kind){case 240:case 268:case 209:case 267:return!0}return!1}function _S(e){switch(e.contextNode.kind){case 261:case 173:case 172:case 176:case 177:case 178:case 217:case 175:case 218:case 263:return!0}return!1}function bgt(e){return!_S(e)}function TOe(e){return e.contextNode.kind===261||e.contextNode.kind===217}function SOe(e){return xOe(e.contextNode)}function xOe(e){switch(e.kind){case 262:case 230:case 263:case 265:case 186:case 266:case 277:case 278:case 271:case 274:return!0}return!1}function Tgt(e){switch(e.currentTokenParent.kind){case 262:case 266:case 265:case 298:case 267:case 254:return!0;case 240:{const t=e.currentTokenParent.parent;if(!t||t.kind!==218&&t.kind!==217)return!0}}return!1}function YL(e){switch(e.contextNode.kind){case 244:case 254:case 247:case 248:case 249:case 246:case 257:case 245:case 253:case 298:return!0;default:return!1}}function kOe(e){return e.contextNode.kind===209}function Sgt(e){return e.contextNode.kind===212}function xgt(e){return e.contextNode.kind===213}function kgt(e){return Sgt(e)||xgt(e)}function Cgt(e){return e.currentTokenSpan.kind!==28}function wgt(e){return e.nextTokenSpan.kind!==24}function Egt(e){return e.nextTokenSpan.kind!==22}function Agt(e){return e.contextNode.kind===218}function Pgt(e){return e.contextNode.kind===204}function _s(e){return e.TokensAreOnSameLine()&&e.contextNode.kind!==12}function COe(e){return e.contextNode.kind!==12}function V_e(e){return e.contextNode.kind!==283&&e.contextNode.kind!==287}function XW(e){return e.contextNode.kind===293||e.contextNode.kind===292}function Dgt(e){return e.nextTokenParent.kind===290}function wOe(e){return e.contextNode.kind===290}function EOe(e){return e.contextNode.kind===284}function Ngt(e){return!_S(e)&&!GW(e)}function Igt(e){return e.TokensAreOnSameLine()&&_d(e.contextNode)&&AOe(e.currentTokenParent)&&!AOe(e.nextTokenParent)}function AOe(e){for(;e&&Ct(e);)e=e.parent;return e&&e.kind===169}function Ogt(e){return e.currentTokenParent.kind===260&&e.currentTokenParent.getStart(e.sourceFile)===e.currentTokenSpan.pos}function $_e(e){return e.formattingRequestKind!==2}function Lgt(e){return e.contextNode.kind===266}function Mgt(e){return e.contextNode.kind===186}function Fgt(e){return e.contextNode.kind===179}function POe(e,t){if(e.kind!==30&&e.kind!==32)return!1;switch(t.kind){case 182:case 215:case 264:case 262:case 230:case 263:case 261:case 217:case 218:case 173:case 172:case 178:case 179:case 212:case 213:case 232:return!0;default:return!1}}function ZL(e){return POe(e.currentTokenSpan,e.currentTokenParent)||POe(e.nextTokenSpan,e.nextTokenParent)}function q_e(e){return e.contextNode.kind===215}function Rgt(e){return!q_e(e)}function Bgt(e){return e.currentTokenSpan.kind===116&&e.currentTokenParent.kind===221}function DOe(e){return e.contextNode.kind===228&&e.contextNode.expression!==void 0}function jgt(e){return e.contextNode.kind===234}function NOe(e){return!Jgt(e)}function Jgt(e){switch(e.contextNode.kind){case 244:case 247:case 248:case 249:case 245:case 246:return!0;default:return!1}}function Ugt(e){let t=e.nextTokenSpan.kind,n=e.nextTokenSpan.pos;if(_4(t)){const f=e.nextTokenParent===e.currentTokenParent?dk(e.currentTokenParent,mn(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===20||t===1:t===239||t===27?!1:e.contextNode.kind===263||e.contextNode.kind===264?!Gp(e.currentTokenParent)||!!e.currentTokenParent.type||t!==21:Ia(e.currentTokenParent)?!e.currentTokenParent.initializer:e.currentTokenParent.kind!==247&&e.currentTokenParent.kind!==241&&e.currentTokenParent.kind!==239&&t!==23&&t!==21&&t!==40&&t!==41&&t!==44&&t!==14&&t!==28&&t!==227&&t!==16&&t!==15&&t!==25}function zgt(e){return FV(e.currentTokenSpan.end,e.currentTokenParent,e.sourceFile)}function Vgt(e){return!ai(e.contextNode)||!Hp(e.contextNode.expression)||e.contextNode.expression.getText().indexOf(".")!==-1}var $gt=p({"src/services/formatting/rules.ts"(){Si(),W8()}});function qgt(e,t){return{options:e,getRules:Wgt(),host:t}}function Wgt(){return W_e===void 0&&(W_e=Ggt(fOe())),W_e}function Hgt(e){let t=0;return e&1&&(t|=28),e&2&&(t|=96),e&28&&(t|=28),e&96&&(t|=96),t}function Ggt(e){const t=Xgt(e);return n=>{const s=t[IOe(n.currentTokenSpan.kind,n.nextTokenSpan.kind)];if(s){const l=[];let f=0;for(const d of s){const g=~Hgt(f);d.action&g&&ot(d.context,h=>h(n))&&(l.push(d),f|=d.action)}if(l.length)return l}}}function Xgt(e){const t=new Array(QW*QW),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=IOe(f,d);let h=t[g];h===void 0&&(h=t[g]=[]),Qgt(h,s.rule,l,n,g)}}return t}function IOe(e,t){return R.assert(e<=164&&t<=164,"Must compute formatting context from tokens"),e*QW+t}function Qgt(e,t,n,s,l){const f=t.action&3?n?0:CA.StopRulesAny:t.context!==XL?n?CA.ContextRulesSpecific:CA.ContextRulesAny:n?CA.NoContextRulesSpecific:CA.NoContextRulesAny,d=s[l]||0;e.splice(Ygt(d,f),0,t),s[l]=Zgt(d,f)}function Ygt(e,t){let n=0;for(let s=0;s<=t;s+=mE)n+=e&KL,e>>=mE;return n}function Zgt(e,t){const n=(e>>t&KL)+1;return R.assert((n&KL)===n,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),e&~(KL<<t)|n<<t}var W_e,mE,KL,QW,CA,Kgt=p({"src/services/formatting/rulesMap.ts"(){Si(),W8(),mE=5,KL=31,QW=164+1,CA=(e=>(e[e.StopRulesSpecific=0]="StopRulesSpecific",e[e.StopRulesAny=mE*1]="StopRulesAny",e[e.ContextRulesSpecific=mE*2]="ContextRulesSpecific",e[e.ContextRulesAny=mE*3]="ContextRulesAny",e[e.NoContextRulesSpecific=mE*4]="NoContextRulesSpecific",e[e.NoContextRulesAny=mE*5]="NoContextRulesAny",e))(CA||{})}});function YW(e,t,n){const s={pos:e,end:t,kind:n};return R.isDebugging&&Object.defineProperty(s,"__debugKind",{get:()=>R.formatSyntaxKind(n)}),s}function eyt(e,t,n){const s=t.getLineAndCharacterOfPosition(e).line;if(s===0)return[];let l=GI(s,t);for(;_h(t.text.charCodeAt(l));)l--;sf(t.text.charCodeAt(l))&&l--;const f={pos:Ev(s-1,t),end:l+1};return eM(f,t,n,2)}function tyt(e,t,n){const s=H_e(e,27,t);return OOe(G_e(s),t,n,3)}function ryt(e,t,n){const s=H_e(e,19,t);if(!s)return[];const l=s.parent,f=G_e(l),d={pos:Bd(f.getStart(t),t),end:e};return eM(d,t,n,4)}function nyt(e,t,n){const s=H_e(e,20,t);return OOe(G_e(s),t,n,5)}function iyt(e,t){const n={pos:0,end:e.text.length};return eM(n,e,t,0)}function syt(e,t,n,s){const l={pos:Bd(e,n),end:t};return eM(l,n,s,1)}function H_e(e,t,n){const s=ou(e,n);return s&&s.kind===t&&e===s.getEnd()?s:void 0}function G_e(e){let t=e;for(;t&&t.parent&&t.parent.end===e.end&&!ayt(t.parent,t);)t=t.parent;return t}function ayt(e,t){switch(e.kind){case 262:case 263:return Mp(e.members,t);case 266:const n=e.body;return!!n&&n.kind===267&&Mp(n.statements,t);case 311:case 240:case 267:return Mp(e.statements,t);case 298:return Mp(e.block.statements,t)}return!1}function oyt(e,t){return n(t);function n(s){const l=_a(s,f=>Kae(f.getStart(t),f.end,e)&&f);if(l){const f=n(l);if(f)return f}return s}}function cyt(e,t){if(!e.length)return l;const n=e.filter(f=>t8(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(_V(f.pos,f.end,d.start,d.start+d.length))return!0;s++}};function l(){return!1}}function lyt(e,t,n){const s=e.getStart(n);if(s===t.pos&&e.end===t.end)return s;const l=ou(t.pos,n);return!l||l.end>=t.pos?e.pos:l.end}function uyt(e,t,n){let s=-1,l;for(;e;){const f=n.getLineAndCharacterOfPosition(e.getStart(n)).line;if(s!==-1&&f!==s)break;if(Um.shouldIndentChildNode(t,e,l,n))return t.indentSize;s=f,l=e,e=e.parent}return 0}function fyt(e,t,n,s,l,f){const d={pos:e.pos,end:e.end};return L_e(t.text,n,d.pos,d.end,g=>LOe(d,e,s,l,g,f,1,h=>!1,t))}function OOe(e,t,n,s){if(!e)return[];const l={pos:Bd(e.getStart(t),t),end:e.end};return eM(l,t,n,s)}function eM(e,t,n,s){const l=oyt(e,t);return L_e(t.text,t.languageVariant,lyt(l,e,t),e.end,f=>LOe(e,l,Um.getIndentationForNode(l,e,t,n.options),uyt(l,n.options,t),f,n,s,cyt(t.parseDiagnostics,e),t))}function LOe(e,t,n,s,l,{options:f,getRules:d,host:g},h,k,T){var C;const D=new O_e(T,h,f);let O,M,U,B,H,Y=-1;const Z=[];if(l.advance(),l.isOnToken()){const et=T.getLineAndCharacterOfPosition(t.getStart(T)).line;let je=et;_d(t)&&(je=T.getLineAndCharacterOfPosition(_ee(t,T)).line),ye(t,t,et,je,n,s)}if(!l.isOnToken()){const et=Um.nodeWillIndentChild(f,t,void 0,T,!1)?n+f.indentSize:n,je=l.getCurrentLeadingTrivia();je&&(de(je,et,!1,_t=>K(_t,T.getLineAndCharacterOfPosition(_t.pos),t,t,void 0)),f.trimTrailingWhitespace!==!1&&Ge(je))}if(M&&l.getTokenFullStart()>=e.end){const et=l.isOnEOF()?l.readEOFTokenRange():l.isOnToken()?l.readTokenInfo(t).token:void 0;if(et&&et.pos===O){const je=((C=ou(et.end,T,t))==null?void 0:C.parent)||U;ce(et,T.getLineAndCharacterOfPosition(et.pos).line,je,M,B,U,je,void 0)}}return Z;function fe(et,je,_t,Lt,Dt){if(t8(Lt,et,je)||j9(Lt,et,je)){if(Dt!==-1)return Dt}else{const Xt=T.getLineAndCharacterOfPosition(et).line,Ye=Bd(et,T),Bt=Um.findFirstNonWhitespaceColumn(Ye,et,T,f);if(Xt!==_t||et===Bt){const vr=Um.getBaseIndentation(f);return vr>Bt?vr:Bt}}return-1}function Q(et,je,_t,Lt,Dt,Xt){const Ye=Um.shouldIndentChildNode(f,et)?f.indentSize:0;return Xt===je?{indentation:je===H?Y:Dt.getIndentation(),delta:Math.min(f.indentSize,Dt.getDelta(et)+Ye)}:_t===-1?et.kind===21&&je===H?{indentation:Y,delta:Dt.getDelta(et)}:Um.childStartsOnTheSameLineWithElseInIfStatement(Lt,et,je,T)||Um.childIsUnindentedBranchOfConditionalExpression(Lt,et,je,T)||Um.argumentStartsOnSameLineAsPreviousArgument(Lt,et,je,T)?{indentation:Dt.getIndentation(),delta:Ye}:{indentation:Dt.getIndentation()+Dt.getDelta(et),delta:Ye}:{indentation:_t,delta:Ye}}function he(et){if(am(et)){const je=Ve(et.modifiers,Ha,ir(et.modifiers,xf));if(je)return je.kind}switch(et.kind){case 262:return 86;case 263:return 120;case 261:return 100;case 265:return 265;case 176:return 139;case 177:return 153;case 173:if(et.asteriskToken)return 42;case 171:case 168:const je=ia(et);if(je)return je.kind}}function W(et,je,_t,Lt){return{getIndentationForComment:(Ye,Bt,vr)=>{switch(Ye){case 20:case 24:case 22:return _t+Xt(vr)}return Bt!==-1?Bt:_t},getIndentationForToken:(Ye,Bt,vr,Ar)=>!Ar&&Dt(Ye,Bt,vr)?_t+Xt(vr):_t,getIndentation:()=>_t,getDelta:Xt,recomputeIndentation:(Ye,Bt)=>{Um.shouldIndentChildNode(f,Bt,et,T)&&(_t+=Ye?f.indentSize:-f.indentSize,Lt=Um.shouldIndentChildNode(f,et)?f.indentSize:0)}};function Dt(Ye,Bt,vr){switch(Bt){case 19:case 20:case 22:case 93:case 117:case 60:return!1;case 44:case 32:switch(vr.kind){case 285:case 286:case 284:return!1}break;case 23:case 24:if(vr.kind!==199)return!1;break}return je!==Ye&&!(_d(et)&&Bt===he(et))}function Xt(Ye){return Um.nodeWillIndentChild(f,et,Ye,T,!0)?Lt:0}}function ye(et,je,_t,Lt,Dt,Xt){if(!t8(e,et.getStart(T),et.getEnd()))return;const Ye=W(et,_t,Dt,Xt);let Bt=je;for(_a(et,tn=>{vr(tn,-1,et,Ye,_t,Lt,!1)},tn=>{Ar(tn,et,_t,Ye)});l.isOnToken()&&l.getTokenFullStart()<e.end;){const tn=l.readTokenInfo(et);if(tn.token.end>Math.min(et.end,e.end))break;Ht(tn,et,Ye,et)}function vr(tn,hn,Br,Cn,ci,Ji,ws,ui){if(R.assert(!Ec(tn)),pl(tn)||V2e(Br,tn))return hn;const Pt=tn.getStart(T),Dr=T.getLineAndCharacterOfPosition(Pt).line;let Kt=Dr;_d(tn)&&(Kt=T.getLineAndCharacterOfPosition(_ee(tn,T)).line);let Qr=-1;if(ws&&Mp(e,Br)&&(Qr=fe(Pt,tn.end,ci,e,hn),Qr!==-1&&(hn=Qr)),!t8(e,tn.pos,tn.end))return tn.end<e.pos&&l.skipToEndOf(tn),hn;if(tn.getFullWidth()===0)return hn;for(;l.isOnToken()&&l.getTokenFullStart()<e.end;){const ks=l.readTokenInfo(et);if(ks.token.end>e.end)return hn;if(ks.token.end>Pt){ks.token.pos>Pt&&l.skipToStartOf(tn);break}Ht(ks,et,Cn,et)}if(!l.isOnToken()||l.getTokenFullStart()>=e.end)return hn;if(YC(tn)){const ks=l.readTokenInfo(tn);if(tn.kind!==12)return R.assert(ks.token.end===tn.end,"Token end is child end"),Ht(ks,et,Cn,tn),hn}const _n=tn.kind===169?Dr:Ji,Nn=Q(tn,Dr,Qr,et,Cn,_n);return ye(tn,Bt,Dr,Kt,Nn.indentation,Nn.delta),Bt=et,ui&&Br.kind===208&&hn===-1&&(hn=Nn.indentation),hn}function Ar(tn,hn,Br,Cn){R.assert(wT(tn)),R.assert(!Ec(tn));const ci=_yt(hn,tn);let Ji=Cn,ws=Br;if(!t8(e,tn.pos,tn.end)){tn.end<e.pos&&l.skipToEndOf(tn);return}if(ci!==0)for(;l.isOnToken()&&l.getTokenFullStart()<e.end;){const Dr=l.readTokenInfo(hn);if(Dr.token.end>tn.pos)break;if(Dr.token.kind===ci){ws=T.getLineAndCharacterOfPosition(Dr.token.pos).line,Ht(Dr,hn,Cn,hn);let Kt;if(Y!==-1)Kt=Y;else{const Qr=Bd(Dr.token.pos,T);Kt=Um.findFirstNonWhitespaceColumn(Qr,Dr.token.pos,T,f)}Ji=W(hn,Br,Kt,f.indentSize)}else Ht(Dr,hn,Cn,hn)}let ui=-1;for(let Dr=0;Dr<tn.length;Dr++){const Kt=tn[Dr];ui=vr(Kt,ui,et,Ji,ws,ws,!0,Dr===0)}const Pt=pyt(ci);if(Pt!==0&&l.isOnToken()&&l.getTokenFullStart()<e.end){let Dr=l.readTokenInfo(hn);Dr.token.kind===28&&(Ht(Dr,hn,Ji,hn),Dr=l.isOnToken()?l.readTokenInfo(hn):void 0),Dr&&Dr.token.kind===Pt&&Mp(hn,Dr.token)&&Ht(Dr,hn,Ji,hn,!0)}}function Ht(tn,hn,Br,Cn,ci){R.assert(Mp(hn,tn.token));const Ji=l.lastTrailingTriviaWasNewLine();let ws=!1;tn.leadingTrivia&&Ce(tn.leadingTrivia,hn,Bt,Br);let ui=0;const Pt=Mp(e,tn.token),Dr=T.getLineAndCharacterOfPosition(tn.token.pos);if(Pt){const Kt=k(tn.token),Qr=M;if(ui=K(tn.token,Dr,hn,Bt,Br),!Kt)if(ui===0){const _n=Qr&&T.getLineAndCharacterOfPosition(Qr.end).line;ws=Ji&&Dr.line!==_n}else ws=ui===1}if(tn.trailingTrivia&&(O=To(tn.trailingTrivia).end,Ce(tn.trailingTrivia,hn,Bt,Br)),ws){const Kt=Pt&&!k(tn.token)?Br.getIndentationForToken(Dr.line,tn.token.kind,Cn,!!ci):-1;let Qr=!0;if(tn.leadingTrivia){const _n=Br.getIndentationForComment(tn.token.kind,Kt,Cn);Qr=de(tn.leadingTrivia,_n,Qr,Nn=>le(Nn.pos,_n,!1))}Kt!==-1&&Qr&&(le(tn.token.pos,Kt,ui===1),H=Dr.line,Y=Kt)}l.advance(),Bt=hn}}function de(et,je,_t,Lt){for(const Dt of et){const Xt=Mp(e,Dt);switch(Dt.kind){case 3:Xt&&Ie(Dt,je,!_t),_t=!1;break;case 2:_t&&Xt&&Lt(Dt),_t=!1;break;case 4:_t=!0;break}}return _t}function Ce(et,je,_t,Lt){for(const Dt of et)if(bV(Dt.kind)&&Mp(e,Dt)){const Xt=T.getLineAndCharacterOfPosition(Dt.pos);K(Dt,Xt,je,_t,Lt)}}function K(et,je,_t,Lt,Dt){const Xt=k(et);let Ye=0;if(!Xt)if(M)Ye=ce(et,je.line,_t,M,B,U,Lt,Dt);else{const Bt=T.getLineAndCharacterOfPosition(e.pos);ue(Bt.line,je.line)}return M=et,O=et.end,U=_t,B=je.line,Ye}function ce(et,je,_t,Lt,Dt,Xt,Ye,Bt){D.updateContext(Lt,Xt,et,_t,Ye);const vr=d(D);let Ar=D.options.trimTrailingWhitespace!==!1,Ht=0;return vr?Oe(vr,tn=>{if(Ht=st(tn,Lt,Dt,et,je),Bt)switch(Ht){case 2:_t.getStart(T)===et.pos&&Bt.recomputeIndentation(!1,Ye);break;case 1:_t.getStart(T)===et.pos&&Bt.recomputeIndentation(!0,Ye);break;default:R.assert(Ht===0)}Ar=Ar&&!(tn.action&16)&&tn.flags!==1}):Ar=Ar&&et.kind!==1,je!==Dt&&Ar&&ue(Dt,je,Lt),Ht}function le(et,je,_t){const Lt=X_e(je,f);if(_t)Me(et,0,Lt);else{const Dt=T.getLineAndCharacterOfPosition(et),Xt=Ev(Dt.line,T);(je!==xe(Xt,Dt.character)||we(Lt,Xt))&&Me(Xt,Dt.character,Lt)}}function xe(et,je){let _t=0;for(let Lt=0;Lt<je;Lt++)T.text.charCodeAt(et+Lt)===9?_t+=f.tabSize-_t%f.tabSize:_t++;return _t}function we(et,je){return et!==T.text.substr(je,et.length)}function Ie(et,je,_t,Lt=!0){let Dt=T.getLineAndCharacterOfPosition(et.pos).line;const Xt=T.getLineAndCharacterOfPosition(et.end).line;if(Dt===Xt){_t||le(et.pos,je,!1);return}const Ye=[];let Bt=et.pos;for(let hn=Dt;hn<Xt;hn++){const Br=GI(hn,T);Ye.push({pos:Bt,end:Br}),Bt=Ev(hn+1,T)}if(Lt&&Ye.push({pos:Bt,end:et.end}),Ye.length===0)return;const vr=Ev(Dt,T),Ar=Um.findFirstNonWhitespaceCharacterAndColumn(vr,Ye[0].pos,T,f);let Ht=0;_t&&(Ht=1,Dt++);const tn=je-Ar.column;for(let hn=Ht;hn<Ye.length;hn++,Dt++){const Br=Ev(Dt,T),Cn=hn===0?Ar:Um.findFirstNonWhitespaceCharacterAndColumn(Ye[hn].pos,Ye[hn].end,T,f),ci=Cn.column+tn;if(ci>0){const Ji=X_e(ci,f);Me(Br,Cn.character,Ji)}else Ke(Br,Cn.character)}}function ue(et,je,_t){for(let Lt=et;Lt<je;Lt++){const Dt=Ev(Lt,T),Xt=GI(Lt,T);if(_t&&(bV(_t.kind)||loe(_t.kind))&&_t.pos<=Xt&&_t.end>Xt)continue;const Ye=ut(Dt,Xt);Ye!==-1&&(R.assert(Ye===Dt||!_h(T.text.charCodeAt(Ye-1))),Ke(Ye,Xt+1-Ye))}}function ut(et,je){let _t=je;for(;_t>=et&&_h(T.text.charCodeAt(_t));)_t--;return _t!==je?_t+1:-1}function Ge(et){let je=M?M.end:e.pos;for(const _t of et)bV(_t.kind)&&(je<_t.pos&&qe(je,_t.pos-1,M),je=_t.end+1);je<e.end&&qe(je,e.end,M)}function qe(et,je,_t){const Lt=T.getLineAndCharacterOfPosition(et).line,Dt=T.getLineAndCharacterOfPosition(je).line;ue(Lt,Dt+1,_t)}function Ke(et,je){je&&Z.push(SV(et,je,""))}function Me(et,je,_t){(je||_t)&&Z.push(SV(et,je,_t))}function ze(et,je){je&&Z.push(SV(et,0,je))}function st(et,je,_t,Lt,Dt){const Xt=Dt!==_t;switch(et.action){case 1:return 0;case 16:if(je.end!==Lt.pos)return Ke(je.end,Lt.pos-je.end),Xt?2:0;break;case 32:Ke(je.pos,je.end-je.pos);break;case 8:if(et.flags!==1&&_t!==Dt)return 0;if(Dt-_t!==1)return Me(je.end,Lt.pos-je.end,zv(g,f)),Xt?0:1;break;case 4:if(et.flags!==1&&_t!==Dt)return 0;if(Lt.pos-je.end!==1||T.text.charCodeAt(je.end)!==32)return Me(je.end,Lt.pos-je.end," "),Xt?2:0;break;case 64:ze(je.end,";")}return 0}}function MOe(e,t,n,s=Os(e,t)){const l=mn(s,sm);if(l&&(s=l.parent),s.getStart(e)<=t&&t<s.getEnd())return;n=n===null?void 0:n===void 0?ou(t,e):n;const d=n&&Vb(e.text,n.end),g=Eee(s,e),h=wr(d,g);return h&&Ve(h,k=>B9(k,t)||t===k.end&&(k.kind===2||t===e.getFullWidth()))}function _yt(e,t){switch(e.kind){case 175:case 261:case 217:case 173:case 172:case 218:case 178:case 179:case 183:case 184:case 176:case 177:if(e.typeParameters===t)return 30;if(e.parameters===t)return 21;break;case 212:case 213:if(e.typeArguments===t)return 30;if(e.arguments===t)return 21;break;case 262:case 230:case 263:case 264:if(e.typeParameters===t)return 30;break;case 182:case 214:case 185:case 232:case 204:if(e.typeArguments===t)return 30;break;case 186:return 19}return 0}function pyt(e){switch(e){case 21:return 22;case 30:return 32;case 19:return 20}return 0}function X_e(e,t){if((!ZW||ZW.tabSize!==t.tabSize||ZW.indentSize!==t.indentSize)&&(ZW={tabSize:t.tabSize,indentSize:t.indentSize},$8=q8=void 0),t.convertTabsToSpaces){let s;const l=Math.floor(e/t.indentSize),f=e%t.indentSize;return q8||(q8=[]),q8[l]===void 0?(s=W9(" ",t.indentSize*l),q8[l]=s):s=q8[l],f?s+W9(" ",f):s}else{const s=Math.floor(e/t.tabSize),l=e-s*t.tabSize;let f;return $8||($8=[]),$8[s]===void 0?$8[s]=f=W9(" ",s):f=$8[s],l?f+W9(" ",l):f}}var ZW,$8,q8,dyt=p({"src/services/formatting/formatting.ts"(){Si(),W8()}}),Um,myt=p({"src/services/formatting/smartIndenter.ts"(){Si(),W8(),(e=>{let t;(ue=>{ue[ue.Unknown=-1]="Unknown"})(t||(t={}));function n(ue,ut,Ge,qe=!1){if(ue>ut.text.length)return g(Ge);if(Ge.indentStyle===0)return 0;const Ke=ou(ue,ut,void 0,!0),Me=MOe(ut,ue,Ke||null);if(Me&&Me.kind===3)return s(ut,ue,Ge,Me);if(!Ke)return g(Ge);if(loe(Ke.kind)&&Ke.getStart(ut)<=ue&&ue<Ke.end)return 0;const st=ut.getLineAndCharacterOfPosition(ue).line,et=Os(ut,ue),je=et.kind===19&&et.parent.kind===209;if(Ge.indentStyle===1||je)return l(ut,ue,Ge);if(Ke.kind===28&&Ke.parent.kind!==225){const Lt=T(Ke,ut,Ge);if(Lt!==-1)return Lt}const _t=fe(ue,Ke.parent,ut);if(_t&&!Mp(_t,Ke)){const Dt=[217,218].indexOf(et.parent.kind)!==-1?0:Ge.indentSize;return W(_t,ut,Ge)+Dt}return f(ut,ue,Ke,st,qe,Ge)}e.getIndentation=n;function s(ue,ut,Ge,qe){const Ke=Vc(ue,ut).line-1,Me=Vc(ue,qe.pos).line;if(R.assert(Me>=0),Ke<=Me)return ce(Ev(Me,ue),ut,ue,Ge);const ze=Ev(Ke,ue),{column:st,character:et}=K(ze,ut,ue,Ge);return st===0?st:ue.text.charCodeAt(ze+et)===42?st-1:st}function l(ue,ut,Ge){let qe=ut;for(;qe>0;){const Me=ue.text.charCodeAt(qe);if(!zg(Me))break;qe--}const Ke=Bd(qe,ue);return ce(Ke,qe,ue,Ge)}function f(ue,ut,Ge,qe,Ke,Me){let ze,st=Ge;for(;st;){if(toe(st,ut,ue)&&we(Me,st,ze,ue,!0)){const je=M(st,ue),_t=O(Ge,st,qe,ue),Lt=_t!==0?Ke&&_t===2?Me.indentSize:0:qe!==je.line?Me.indentSize:0;return h(st,je,void 0,Lt,ue,!0,Me)}const et=ye(st,ue,Me,!0);if(et!==-1)return et;ze=st,st=st.parent}return g(Me)}function d(ue,ut,Ge,qe){const Ke=Ge.getLineAndCharacterOfPosition(ue.getStart(Ge));return h(ue,Ke,ut,0,Ge,!1,qe)}e.getIndentationForNode=d;function g(ue){return ue.baseIndentSize||0}e.getBaseIndentation=g;function h(ue,ut,Ge,qe,Ke,Me,ze){var st;let et=ue.parent;for(;et;){let je=!0;if(Ge){const Xt=ue.getStart(Ke);je=Xt<Ge.pos||Xt>Ge.end}const _t=k(et,ue,Ke),Lt=_t.line===ut.line||B(et,ue,ut.line,Ke);if(je){const Xt=(st=Z(ue,Ke))==null?void 0:st[0],Ye=!!Xt&&M(Xt,Ke).line>_t.line;let Bt=ye(ue,Ke,ze,Ye);if(Bt!==-1||(Bt=C(ue,et,ut,Lt,Ke,ze),Bt!==-1))return Bt+qe}we(ze,et,ue,Ke,Me)&&!Lt&&(qe+=ze.indentSize);const Dt=U(et,ue,ut.line,Ke);ue=et,et=ue.parent,ut=Dt?Ke.getLineAndCharacterOfPosition(ue.getStart(Ke)):_t}return qe+g(ze)}function k(ue,ut,Ge){const qe=Z(ut,Ge),Ke=qe?qe.pos:ue.getStart(Ge);return Ge.getLineAndCharacterOfPosition(Ke)}function T(ue,ut,Ge){const qe=Z4e(ue);return qe&&qe.listItemIndex>0?de(qe.list.getChildren(),qe.listItemIndex-1,ut,Ge):-1}function C(ue,ut,Ge,qe,Ke,Me){return(Sf(ue)||qI(ue))&&(ut.kind===311||!qe)?Ce(Ge,Ke,Me):-1}let D;(ue=>{ue[ue.Unknown=0]="Unknown",ue[ue.OpenBrace=1]="OpenBrace",ue[ue.CloseBrace=2]="CloseBrace"})(D||(D={}));function O(ue,ut,Ge,qe){const Ke=dk(ue,ut,qe);if(!Ke)return 0;if(Ke.kind===19)return 1;if(Ke.kind===20){const Me=M(Ke,qe).line;return Ge===Me?2:0}return 0}function M(ue,ut){return ut.getLineAndCharacterOfPosition(ue.getStart(ut))}function U(ue,ut,Ge,qe){if(!(Ra(ue)&&kt(ue.arguments,ut)))return!1;const Ke=ue.expression.getEnd();return Vc(qe,Ke).line===Ge}e.isArgumentAndStartLineOverlapsExpressionBeingCalled=U;function B(ue,ut,Ge,qe){if(ue.kind===244&&ue.elseStatement===ut){const Ke=Go(ue,93,qe);return R.assert(Ke!==void 0),M(Ke,qe).line===Ge}return!1}e.childStartsOnTheSameLineWithElseInIfStatement=B;function H(ue,ut,Ge,qe){if(B4(ue)&&(ut===ue.whenTrue||ut===ue.whenFalse)){const Ke=Vc(qe,ue.condition.end).line;if(ut===ue.whenTrue)return Ge===Ke;{const Me=M(ue.whenTrue,qe).line,ze=Vc(qe,ue.whenTrue.end).line;return Ke===Me&&ze===Ge}}return!1}e.childIsUnindentedBranchOfConditionalExpression=H;function Y(ue,ut,Ge,qe){if(Wg(ue)){if(!ue.arguments)return!1;const Ke=Ve(ue.arguments,et=>et.pos===ut.pos);if(!Ke)return!1;const Me=ue.arguments.indexOf(Ke);if(Me===0)return!1;const ze=ue.arguments[Me-1],st=Vc(qe,ze.getEnd()).line;if(Ge===st)return!0}return!1}e.argumentStartsOnSameLineAsPreviousArgument=Y;function Z(ue,ut){return ue.parent&&Q(ue.getStart(ut),ue.getEnd(),ue.parent,ut)}e.getContainingList=Z;function fe(ue,ut,Ge){return ut&&Q(ue,ue,ut,Ge)}function Q(ue,ut,Ge,qe){switch(Ge.kind){case 182:return Ke(Ge.typeArguments);case 209:return Ke(Ge.properties);case 208:return Ke(Ge.elements);case 186:return Ke(Ge.members);case 261:case 217:case 218:case 173:case 172:case 178:case 175:case 184:case 179:return Ke(Ge.typeParameters)||Ke(Ge.parameters);case 176:return Ke(Ge.parameters);case 262:case 230:case 263:case 264:case 351:return Ke(Ge.typeParameters);case 213:case 212:return Ke(Ge.typeArguments)||Ke(Ge.arguments);case 260:return Ke(Ge.declarations);case 274:case 278:return Ke(Ge.elements);case 205:case 206:return Ke(Ge.elements)}function Ke(Me){return Me&&j9(he(Ge,Me,qe),ue,ut)?Me:void 0}}function he(ue,ut,Ge){const qe=ue.getChildren(Ge);for(let Ke=1;Ke<qe.length-1;Ke++)if(qe[Ke].pos===ut.pos&&qe[Ke].end===ut.end)return{pos:qe[Ke-1].end,end:qe[Ke+1].getStart(Ge)};return ut}function W(ue,ut,Ge){return ue?Ce(ut.getLineAndCharacterOfPosition(ue.pos),ut,Ge):-1}function ye(ue,ut,Ge,qe){if(ue.parent&&ue.parent.kind===260)return-1;const Ke=Z(ue,ut);if(Ke){const Me=Ke.indexOf(ue);if(Me!==-1){const ze=de(Ke,Me,ut,Ge);if(ze!==-1)return ze}return W(Ke,ut,Ge)+(qe?Ge.indentSize:0)}return-1}function de(ue,ut,Ge,qe){R.assert(ut>=0&&ut<ue.length);const Ke=ue[ut];let Me=M(Ke,Ge);for(let ze=ut-1;ze>=0;ze--){if(ue[ze].kind===28)continue;if(Ge.getLineAndCharacterOfPosition(ue[ze].end).line!==Me.line)return Ce(Me,Ge,qe);Me=M(ue[ze],Ge)}return-1}function Ce(ue,ut,Ge){const qe=ut.getPositionOfLineAndCharacter(ue.line,0);return ce(qe,qe+ue.character,ut,Ge)}function K(ue,ut,Ge,qe){let Ke=0,Me=0;for(let ze=ue;ze<ut;ze++){const st=Ge.text.charCodeAt(ze);if(!_h(st))break;st===9?Me+=qe.tabSize+Me%qe.tabSize:Me++,Ke++}return{column:Me,character:Ke}}e.findFirstNonWhitespaceCharacterAndColumn=K;function ce(ue,ut,Ge,qe){return K(ue,ut,Ge,qe).column}e.findFirstNonWhitespaceColumn=ce;function le(ue,ut,Ge,qe,Ke){const Me=Ge?Ge.kind:0;switch(ut.kind){case 243:case 262:case 230:case 263:case 265:case 264:case 208:case 240:case 267:case 209:case 186:case 199:case 188:case 216:case 210:case 212:case 213:case 242:case 276:case 252:case 226:case 206:case 205:case 285:case 288:case 284:case 293:case 172:case 178:case 179:case 168:case 183:case 184:case 195:case 214:case 222:case 278:case 274:case 280:case 275:case 171:case 295:case 296:return!0;case 268:return ue.indentSwitchCase??!0;case 259:case 302:case 225:if(!ue.indentMultiLineObjectLiteralBeginningOnBlankLine&&qe&&Me===209)return Ie(qe,Ge);if(ut.kind===225&&qe&&Ge&&Me===283){const ze=qe.getLineAndCharacterOfPosition(fo(qe.text,ut.pos)).line,st=qe.getLineAndCharacterOfPosition(fo(qe.text,Ge.pos)).line;return ze!==st}if(ut.kind!==225)return!0;break;case 245:case 246:case 248:case 249:case 247:case 244:case 261:case 217:case 173:case 175:case 176:case 177:return Me!==240;case 218:return qe&&Me===216?Ie(qe,Ge):Me!==240;case 277:return Me!==278;case 271:return Me!==272||!!Ge.namedBindings&&Ge.namedBindings.kind!==274;case 283:return Me!==286;case 287:return Me!==289;case 192:case 191:if(Me===186||Me===188)return!1;break}return Ke}e.nodeWillIndentChild=le;function xe(ue,ut){switch(ue){case 252:case 256:case 250:case 251:return ut.kind!==240;default:return!1}}function we(ue,ut,Ge,qe,Ke=!1){return le(ue,ut,Ge,qe,!1)&&!(Ke&&Ge&&xe(Ge.kind,ut))}e.shouldIndentChildNode=we;function Ie(ue,ut){const Ge=fo(ue.text,ut.pos),qe=ue.getLineAndCharacterOfPosition(Ge).line,Ke=ue.getLineAndCharacterOfPosition(ut.end).line;return qe===Ke}})(Um||(Um={}))}}),du={};S(du,{FormattingContext:()=>O_e,FormattingRequestKind:()=>I_e,RuleAction:()=>M_e,RuleFlags:()=>F_e,SmartIndenter:()=>Um,anyContext:()=>XL,createTextRangeWithKind:()=>YW,formatDocument:()=>iyt,formatNodeGivenIndentation:()=>fyt,formatOnClosingCurly:()=>nyt,formatOnEnter:()=>eyt,formatOnOpeningCurly:()=>ryt,formatOnSemicolon:()=>tyt,formatSelection:()=>syt,getAllRules:()=>fOe,getFormatContext:()=>qgt,getFormattingScanner:()=>L_e,getIndentationString:()=>X_e,getRangeOfEnclosingComment:()=>MOe});var W8=p({"src/services/_namespaces/ts.formatting.ts"(){dgt(),mgt(),hgt(),$gt(),Kgt(),dyt(),myt()}}),Si=p({"src/services/_namespaces/ts.ts"(){Ba(),aV(),Int(),ait(),uit(),c3e(),Sit(),xit(),Dit(),Jit(),Uit(),Vit(),Yit(),Kit(),hct(),yct(),Tct(),kct(),$ct(),Wct(),Ya(),Hfe(),k5e(),fmt(),hmt(),Lmt(),J3e(),cPe(),tht(),lht(),mg(),ght(),$ht(),Zht(),tgt(),pgt(),W8()}});function hyt(){return BOe??(BOe=new Em(N))}function FOe(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?` ${Zg(l,[e],0)}`:"",f}function gyt(e,t,n,s){const l=FOe(e,!0,t,n,s);return()=>{throw new TypeError(l)}}function yyt(e,t,n,s){let l=!1;return()=>{ROe&&!l&&(R.log.warn(FOe(e,!1,t,n,s)),l=!0)}}function vyt(e,t={}){const n=typeof t.typeScriptVersion=="string"?new Em(t.typeScriptVersion):t.typeScriptVersion??hyt(),s=typeof t.errorAfter=="string"?new Em(t.errorAfter):t.errorAfter,l=typeof t.warnAfter=="string"?new Em(t.warnAfter):t.warnAfter,f=typeof t.since=="string"?new Em(t.since):t.since??l,d=t.error||s&&n.compareTo(s)>=0,g=!l||n.compareTo(l)>=0;return d?gyt(e,s,f,t.message):g?yyt(e,s,f,t.message):fc}function byt(e,t){return function(){return e(),t.apply(this,arguments)}}function Q_e(e,t){const n=vyt((t==null?void 0:t.name)??R.getFunctionName(e),t);return byt(n,e)}var ROe,BOe,jOe=p({"src/deprecatedCompat/deprecate.ts"(){KW(),ROe=!0}});function Y_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)&&uc(t,`${g}`)&&(t[g]=Q_e(t[g],{...s[g],name:e}))}const l=Tyt(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 Tyt(e,t){return n=>{for(let s=0;uc(e,`${s}`)&&uc(t,`${s}`);s++){const l=t[s];if(l(n))return s}}}function Syt(e){return{overload:t=>({bind:n=>({finish:()=>Y_e(e,t,n),deprecate:s=>({finish:()=>Y_e(e,t,n,s)})})})}}var xyt=p({"src/deprecatedCompat/deprecations.ts"(){KW(),jOe()}}),kyt=p({"src/deprecatedCompat/5.0/identifierProperties.ts"(){KW(),jOe(),SSe(e=>{const t=e.getIdentifierConstructor();uc(t.prototype,"originalKeywordKind")||Object.defineProperty(t.prototype,"originalKeywordKind",{get:Q_e(function(){return qb(this)},{name:"originalKeywordKind",since:"5.0",warnAfter:"5.1",errorAfter:"5.2",message:"Use 'identifierToKeywordKind(identifier)' instead."})}),uc(t.prototype,"isInJSDocNamespace")||Object.defineProperty(t.prototype,"isInJSDocNamespace",{get:Q_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."})})})}}),KW=p({"src/deprecatedCompat/_namespaces/ts.ts"(){Ba(),xyt(),kyt()}}),JOe={};S(JOe,{ANONYMOUS:()=>QV,AccessFlags:()=>MZ,AssertionLevel:()=>sZ,AssignmentDeclarationKind:()=>$Z,AssignmentKind:()=>rre,Associativity:()=>ire,BreakpointResolver:()=>Tle,BuilderFileEmit:()=>Mse,BuilderProgramKind:()=>Fse,BuilderState:()=>dg,BundleFileSectionKind:()=>lK,CallHierarchy:()=>sE,CharacterCodes:()=>rK,CheckFlags:()=>DZ,CheckMode:()=>gz,ClassificationType:()=>$ae,ClassificationTypeNames:()=>Vae,CommentDirectiveType:()=>dZ,Comparison:()=>j,CompletionInfoFlags:()=>Fae,CompletionTriggerKind:()=>Nae,Completions:()=>fE,ConfigFileProgramReloadLevel:()=>ise,ContextFlags:()=>TZ,CoreServicesShimHostAdapter:()=>ble,Debug:()=>R,DiagnosticCategory:()=>dI,Diagnostics:()=>v,DocumentHighlights:()=>KV,ElementFlags:()=>LZ,EmitFlags:()=>FB,EmitHint:()=>aK,EmitOnly:()=>hZ,EndOfLineState:()=>jae,EnumKind:()=>PZ,ExitStatus:()=>yZ,ExportKind:()=>Qoe,Extension:()=>nK,ExternalEmitHelpers:()=>sK,FileIncludeKind:()=>AB,FilePreprocessingDiagnosticsKind:()=>mZ,FileSystemEntryKind:()=>mK,FileWatcherEventKind:()=>pK,FindAllReferences:()=>Wc,FlattenLevel:()=>Bie,FlowFlags:()=>pI,ForegroundColorEscapeSequences:()=>bse,FunctionFlags:()=>nre,GeneratedIdentifierFlags:()=>EB,GetLiteralTextFlags:()=>Kte,GoToDefinition:()=>R8,HighlightSpanKind:()=>Oae,ImportKind:()=>Xoe,ImportsNotUsedAsValues:()=>QZ,IndentStyle:()=>Lae,IndexFlags:()=>FZ,IndexKind:()=>jZ,InferenceFlags:()=>zZ,InferencePriority:()=>UZ,InlayHintKind:()=>Iae,InlayHints:()=>o_e,InternalEmitFlags:()=>iK,InternalSymbolName:()=>NZ,InvalidatedProjectKind:()=>hae,JsDoc:()=>m2,JsTyping:()=>fk,JsxEmit:()=>XZ,JsxFlags:()=>_Z,JsxReferenceKind:()=>RZ,LanguageServiceMode:()=>Aae,LanguageServiceShimHostAdapter:()=>vle,LanguageVariant:()=>eK,LexicalEnvironmentFlags:()=>cK,ListFormat:()=>uK,LogLevel:()=>oZ,MemberOverrideStatus:()=>vZ,ModifierFlags:()=>CB,ModuleDetectionKind:()=>qZ,ModuleInstanceState:()=>pie,ModuleKind:()=>OB,ModuleResolutionKind:()=>mI,ModuleSpecifierEnding:()=>mre,NavigateTo:()=>j3e,NavigationBar:()=>oPe,NewLineKind:()=>YZ,NodeBuilderFlags:()=>SZ,NodeCheckFlags:()=>IZ,NodeFactoryFlags:()=>Tre,NodeFlags:()=>kB,NodeResolutionFeatures:()=>fie,ObjectFlags:()=>NB,OperationCanceledException:()=>nP,OperatorPrecedence:()=>sre,OrganizeImports:()=>um,OrganizeImportsMode:()=>Dae,OuterExpressionKinds:()=>oK,OutliningElementsCollector:()=>g_e,OutliningSpanKind:()=>Rae,OutputFileType:()=>Bae,PackageJsonAutoImportPreference:()=>Eae,PackageJsonDependencyGroup:()=>wae,PatternMatchKind:()=>n$,PollingInterval:()=>RB,PollingWatchKind:()=>GZ,PragmaKindFlags:()=>fK,PrivateIdentifierKind:()=>Nre,ProcessLevel:()=>zie,QuotePreference:()=>qoe,RelationComparisonResult:()=>wB,Rename:()=>UW,ScriptElementKind:()=>Uae,ScriptElementKindModifier:()=>zae,ScriptKind:()=>ZZ,ScriptSnapshot:()=>Cae,ScriptTarget:()=>KZ,SemanticClassificationFormat:()=>Pae,SemanticMeaning:()=>$oe,SemicolonPreference:()=>Mae,SignatureCheckMode:()=>yz,SignatureFlags:()=>IB,SignatureHelp:()=>GL,SignatureKind:()=>BZ,SmartSelectionRange:()=>S_e,SnippetKind:()=>MB,SortKind:()=>nZ,StructureIsReused:()=>gZ,SymbolAccessibility:()=>CZ,SymbolDisplay:()=>x1,SymbolDisplayPartKind:()=>O9,SymbolFlags:()=>PB,SymbolFormatFlags:()=>kZ,SyntaxKind:()=>xB,SyntheticSymbolKind:()=>wZ,Ternary:()=>VZ,ThrottledCancellationToken:()=>dle,TokenClass:()=>Jae,TokenFlags:()=>pZ,TransformFlags:()=>LB,TypeFacts:()=>mz,TypeFlags:()=>DB,TypeFormatFlags:()=>xZ,TypeMapKind:()=>JZ,TypePredicateKind:()=>EZ,TypeReferenceSerializationKind:()=>AZ,TypeScriptServicesFactory:()=>DDe,UnionReduction:()=>bZ,UpToDateStatusType:()=>tae,VarianceFlags:()=>OZ,Version:()=>Em,VersionRange:()=>tP,WatchDirectoryFlags:()=>tK,WatchDirectoryKind:()=>HZ,WatchFileKind:()=>WZ,WatchLogLevel:()=>sse,WatchType:()=>Fd,accessPrivateIdentifier:()=>mEe,addEmitFlags:()=>og,addEmitHelper:()=>xw,addEmitHelpers:()=>f1,addInternalEmitFlags:()=>Tw,addNodeFactoryPatcher:()=>FYe,addObjectAllocatorPatcher:()=>SSe,addRange:()=>Pi,addRelatedInfo:()=>ho,addSyntheticLeadingComment:()=>lO,addSyntheticTrailingComment:()=>RJ,addToSeen:()=>Dm,advancedAsyncSuperHelper:()=>dO,affectsDeclarationPathOptionDeclarations:()=>Bne,affectsEmitOptionDeclarations:()=>Rne,allKeysStartWithDot:()=>oz,altDirectorySeparator:()=>wI,and:()=>mB,append:()=>zr,appendIfUnique:()=>n_,arrayFrom:()=>oo,arrayIsEqualTo:()=>Oc,arrayIsHomogeneous:()=>HSe,arrayIsSorted:()=>tc,arrayOf:()=>Cve,arrayReverseIterator:()=>BGe,arrayToMap:()=>gT,arrayToMultiMap:()=>aI,arrayToNumericMap:()=>Eve,arraysEqual:()=>Wt,assertType:()=>HGe,assign:()=>sI,assignHelper:()=>$J,asyncDelegator:()=>WJ,asyncGeneratorHelper:()=>qJ,asyncSuperHelper:()=>pO,asyncValues:()=>HJ,attachFileToDiagnostics:()=>yw,awaitHelper:()=>kw,awaiterHelper:()=>XJ,base64decode:()=>_Se,base64encode:()=>fSe,binarySearch:()=>dv,binarySearchKey:()=>JC,bindSourceFile:()=>wwe,breakIntoCharacterSpans:()=>b3e,breakIntoWordSpans:()=>T3e,buildLinkParts:()=>AAe,buildOpts:()=>HU,buildOverload:()=>Syt,bundlerModuleNameResolver:()=>awe,canBeConvertedToAsync:()=>_ce,canHaveDecorators:()=>Jw,canHaveExportModifier:()=>X5,canHaveFlowNode:()=>g5,canHaveIllegalDecorators:()=>une,canHaveIllegalModifiers:()=>Tke,canHaveIllegalType:()=>kZe,canHaveIllegalTypeParameters:()=>bke,canHaveJSDoc:()=>y5,canHaveLocals:()=>Qh,canHaveModifiers:()=>am,canHaveSymbol:()=>Xh,canJsonReportNoInputFiles:()=>$O,canProduceDiagnostics:()=>Az,canUsePropertyAccess:()=>Gte,canWatchAffectingLocation:()=>B6e,canWatchAtTypes:()=>M6e,canWatchDirectoryOrFile:()=>L6e,cartesianProduct:()=>Uve,cast:()=>Ua,chainBundle:()=>om,chainDiagnosticMessages:()=>ca,changeAnyExtension:()=>bK,changeCompilerHostLikeToUseCache:()=>v9,changeExtension:()=>VT,changesAffectModuleResolution:()=>aee,changesAffectingProgramStructure:()=>F2e,childIsDecorated:()=>EP,classElementOrClassElementParameterIsDecorated:()=>Nee,classOrConstructorParameterIsDecorated:()=>LT,classPrivateFieldGetHelper:()=>oU,classPrivateFieldInHelper:()=>lU,classPrivateFieldSetHelper:()=>cU,classicNameResolver:()=>Swe,classifier:()=>JDe,cleanExtendedConfigCache:()=>nse,clear:()=>us,clearMap:()=>dd,clearSharedExtendedConfigFileWatcher:()=>t6e,climbPastPropertyAccess:()=>lV,climbPastPropertyOrElementAccess:()=>G4e,clone:()=>XY,cloneCompilerOptions:()=>pAe,closeFileWatcher:()=>ig,closeFileWatcherOf:()=>pg,codefix:()=>uf,collapseTextChangeRangesAcrossMultipleVersions:()=>XXe,collectExternalModuleInfo:()=>Die,combine:()=>Vh,combinePaths:()=>vs,commentPragmas:()=>hI,commonOptionsWithBuild:()=>XO,commonPackageFolders:()=>cre,compact:()=>Ql,compareBooleans:()=>yT,compareDataObjects:()=>xte,compareDiagnostics:()=>QP,compareDiagnosticsSkipRelatedInformation:()=>fJ,compareEmitHelpers:()=>Fxe,compareNumberOfDirectorySeparators:()=>q5,comparePaths:()=>Tx,comparePathsCaseInsensitive:()=>jXe,comparePathsCaseSensitive:()=>BXe,comparePatternKeys:()=>cie,compareProperties:()=>Mve,compareStringsCaseInsensitive:()=>fB,compareStringsCaseInsensitiveEslintCompatible:()=>Ive,compareStringsCaseSensitive:()=>zf,compareStringsCaseSensitiveUI:()=>cI,compareTextSpans:()=>uB,compareValues:()=>wc,compileOnSaveCommandLineOption:()=>WO,compilerOptionsAffectDeclarationPath:()=>FSe,compilerOptionsAffectEmit:()=>MSe,compilerOptionsAffectSemanticDiagnostics:()=>LSe,compilerOptionsDidYouMeanDiagnostics:()=>YO,compilerOptionsIndicateEsModules:()=>hoe,compose:()=>$Ge,computeCommonSourceDirectoryOfFilenames:()=>a6e,computeLineAndCharacterOfPosition:()=>DI,computeLineOfPosition:()=>oP,computeLineStarts:()=>AI,computePositionOfLineAndCharacter:()=>wK,computeSignature:()=>lk,computeSignatureWithDiagnostics:()=>Dse,computeSuggestionDiagnostics:()=>lce,concatenate:()=>wr,concatenateDiagnosticMessageChains:()=>ESe,consumesNodeCoreModules:()=>zV,contains:()=>kt,containsIgnoredPath:()=>sD,containsObjectRestOrSpread:()=>MO,containsParseError:()=>G6,containsPath:()=>gv,convertCompilerOptionsForTelemetry:()=>IKe,convertCompilerOptionsFromJson:()=>kKe,convertJsonOption:()=>Vw,convertToBase64:()=>uSe,convertToJson:()=>zO,convertToObject:()=>gCe,convertToOptionsWithAbsolutePaths:()=>wne,convertToRelativePath:()=>sP,convertToTSConfig:()=>uKe,convertTypeAcquisitionFromJson:()=>CKe,copyComments:()=>gk,copyEntries:()=>dj,copyLeadingComments:()=>pA,copyProperties:()=>QY,copyTrailingAsLeadingComments:()=>eL,copyTrailingComments:()=>c8,couldStartTrivia:()=>Cbe,countWhere:()=>Sn,createAbstractBuilder:()=>Mrt,createAccessorPropertyBackingField:()=>fne,createAccessorPropertyGetRedirector:()=>Dke,createAccessorPropertySetRedirector:()=>Nke,createBaseNodeFactory:()=>vxe,createBinaryExpressionTrampoline:()=>NU,createBindingHelper:()=>N4,createBuildInfo:()=>h9,createBuilderProgram:()=>Nse,createBuilderProgramUsingProgramBuildInfo:()=>O6e,createBuilderStatusReporter:()=>t4e,createCacheWithRedirects:()=>Kne,createCacheableExportInfoMap:()=>ZAe,createCachedDirectoryStructureHost:()=>e6e,createClassifier:()=>t3e,createCommentDirectivesMap:()=>H2e,createCompilerDiagnostic:()=>Cl,createCompilerDiagnosticForInvalidCustomType:()=>sCe,createCompilerDiagnosticFromMessageChain:()=>uJ,createCompilerHost:()=>o6e,createCompilerHostFromProgramHost:()=>Qse,createCompilerHostWorker:()=>cse,createDetachedDiagnostic:()=>T4,createDiagnosticCollection:()=>d4,createDiagnosticForFileFromMessageChain:()=>Cee,createDiagnosticForNode:()=>ei,createDiagnosticForNodeArray:()=>Y6,createDiagnosticForNodeArrayFromMessageChain:()=>YI,createDiagnosticForNodeFromMessageChain:()=>Hy,createDiagnosticForNodeInSourceFile:()=>Dd,createDiagnosticForRange:()=>wee,createDiagnosticMessageChainFromDiagnostic:()=>nTe,createDiagnosticReporter:()=>w9,createDocumentPositionMapper:()=>oEe,createDocumentRegistry:()=>Koe,createDocumentRegistryInternal:()=>l3e,createEmitAndSemanticDiagnosticsBuilderProgram:()=>Rse,createEmitHelperFactory:()=>Mxe,createEmptyExports:()=>EO,createExpressionForJsxElement:()=>fke,createExpressionForJsxFragment:()=>_ke,createExpressionForObjectLiteralElementLike:()=>pke,createExpressionForPropertyName:()=>ine,createExpressionFromEntityName:()=>AO,createExternalHelpersImportDeclarationIfNeeded:()=>one,createFileDiagnostic:()=>vu,createFileDiagnosticFromMessageChain:()=>xj,createForOfBindingStatement:()=>nne,createGetCanonicalFileName:()=>nf,createGetSourceFile:()=>ase,createGetSymbolAccessibilityDiagnosticForNode:()=>g1,createGetSymbolAccessibilityDiagnosticForNodeName:()=>jEe,createGetSymbolWalker:()=>Dwe,createIncrementalCompilerHost:()=>Kse,createIncrementalProgram:()=>e4e,createInputFiles:()=>VYe,createInputFilesWithFilePaths:()=>vre,createInputFilesWithFileTexts:()=>bre,createJsxFactoryExpression:()=>rne,createLanguageService:()=>mDe,createLanguageServiceSourceFile:()=>R$,createMemberAccessForPropertyName:()=>Kx,createModeAwareCache:()=>nk,createModeAwareCacheKey:()=>BD,createModuleNotFoundChain:()=>cee,createModuleResolutionCache:()=>K4,createModuleResolutionLoader:()=>dse,createModuleSpecifierResolutionHost:()=>hk,createMultiMap:()=>sd,createNodeConverters:()=>Txe,createNodeFactory:()=>nO,createOptionNameMap:()=>RU,createOverload:()=>Y_e,createPackageJsonImportFilter:()=>f8,createPackageJsonInfo:()=>JAe,createParenthesizerRules:()=>bxe,createPatternMatcher:()=>d3e,createPrependNodes:()=>yse,createPrinter:()=>l2,createPrinterWithDefaults:()=>ese,createPrinterWithRemoveComments:()=>oS,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>tse,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>g9,createProgram:()=>jz,createProgramHost:()=>Yse,createPropertyNameNodeForIdentifierOrLiteral:()=>wJ,createQueue:()=>YY,createRange:()=>Od,createRedirectedBuilderProgram:()=>Lse,createResolutionCache:()=>z6e,createRuntimeTypeSerializer:()=>bEe,createScanner:()=>e1,createSemanticDiagnosticsBuilderProgram:()=>Lrt,createSet:()=>zGe,createSolutionBuilder:()=>Krt,createSolutionBuilderHost:()=>Qrt,createSolutionBuilderWithWatch:()=>ent,createSolutionBuilderWithWatchHost:()=>Yrt,createSortedArray:()=>ao,createSourceFile:()=>RO,createSourceMapGenerator:()=>eEe,createSourceMapSource:()=>$Ye,createSuperAccessVariableStatement:()=>Ez,createSymbolTable:()=>za,createSymlinkCache:()=>RSe,createSystemWatchFunctions:()=>gbe,createTextChange:()=>$9,createTextChangeFromStartLength:()=>SV,createTextChangeRange:()=>MI,createTextRangeFromNode:()=>poe,createTextRangeFromSpan:()=>TV,createTextSpan:()=>yu,createTextSpanFromBounds:()=>nu,createTextSpanFromNode:()=>u_,createTextSpanFromRange:()=>Uv,createTextSpanFromStringLiteralLikeContent:()=>_oe,createTextWriter:()=>N5,createTokenRange:()=>vte,createTypeChecker:()=>Hwe,createTypeReferenceDirectiveResolutionCache:()=>tz,createTypeReferenceResolutionLoader:()=>Rz,createUnparsedSourceFile:()=>yre,createWatchCompilerHost:()=>qrt,createWatchCompilerHostOfConfigFile:()=>Z6e,createWatchCompilerHostOfFilesAndCompilerOptions:()=>K6e,createWatchFactory:()=>Xse,createWatchHost:()=>Gse,createWatchProgram:()=>Wrt,createWatchStatusReporter:()=>$6e,createWriteFileMeasuringIO:()=>ose,declarationNameToString:()=>ac,decodeMappings:()=>Eie,decodedTextSpanIntersectsWith:()=>HB,decorateHelper:()=>jJ,deduplicate:()=>Ds,defaultIncludeSpec:()=>QU,defaultInitCompilerOptions:()=>XU,defaultMaximumTruncationLength:()=>K5,detectSortCaseSensitivity:()=>Zc,diagnosticCategoryName:()=>SB,diagnosticToString:()=>Zw,directoryProbablyExists:()=>Pm,directorySeparator:()=>zc,displayPart:()=>U_,displayPartsToString:()=>_De,disposeEmitNodes:()=>kre,documentSpansEqual:()=>Gnt,dumpTracingLegend:()=>lbe,elementAt:()=>Y0,elideNodes:()=>Pke,emitComments:()=>YTe,emitDetachedComments:()=>ZTe,emitFiles:()=>Dz,emitFilesAndReportErrors:()=>Yz,emitFilesAndReportErrorsAndGetExitStatus:()=>X6e,emitModuleKindIsNonNodeESM:()=>_J,emitNewLineBeforeLeadingCommentOfPosition:()=>QTe,emitNewLineBeforeLeadingComments:()=>GTe,emitNewLineBeforeLeadingCommentsOfPosition:()=>XTe,emitSkippedWithNoDiagnostics:()=>Wz,emitUsingBuildInfo:()=>KEe,emptyArray:()=>ft,emptyFileSystemEntries:()=>MJ,emptyMap:()=>gB,emptyOptions:()=>Rd,emptySet:()=>$ve,endsWith:()=>Sl,ensurePathIsNonModuleName:()=>xT,ensureScriptKind:()=>TJ,ensureTrailingDirectorySeparator:()=>Vf,entityNameToString:()=>np,enumerateInsertsAndDeletes:()=>Jve,equalOwnProperties:()=>wve,equateStringsCaseInsensitive:()=>zC,equateStringsCaseSensitive:()=>VC,equateValues:()=>Ub,esDecorateHelper:()=>zJ,escapeJsxAttributeString:()=>tte,escapeLeadingUnderscores:()=>$c,escapeNonAsciiString:()=>P5,escapeSnippetText:()=>qT,escapeString:()=>_w,every:()=>ot,expandPreOrPostfixIncrementOrDecrementExpression:()=>CU,explainFiles:()=>G6e,explainIfFileIsRedirectAndImpliedFormat:()=>$se,exportAssignmentIsAlias:()=>u4,exportStarHelper:()=>aU,expressionResultIsUnused:()=>XSe,extend:()=>lB,extendsHelper:()=>QJ,extensionFromPath:()=>Vx,extensionIsTS:()=>xJ,extensionsNotSupportingExtensionlessResolution:()=>rO,externalHelpersModuleNameText:()=>Ov,factory:()=>V,fileExtensionIs:()=>Vl,fileExtensionIsOneOf:()=>$l,fileIncludeReasonToDiagnostics:()=>Hse,fileShouldUseJavaScriptRequire:()=>Voe,filter:()=>gr,filterMutate:()=>ji,filterSemanticDiagnostics:()=>Jz,find:()=>Ve,findAncestor:()=>mn,findBestPatternMatch:()=>eZ,findChildOfKind:()=>Go,findComputedPropertyNameCacheAssignment:()=>OU,findConfigFile:()=>s6e,findContainingList:()=>dV,findDiagnosticForNode:()=>zAe,findFirstNonJsxWhitespaceToken:()=>iAe,findIndex:()=>ir,findLast:()=>Ft,findLastIndex:()=>kr,findListItemInfo:()=>Z4e,findMap:()=>Ot,findModifier:()=>uA,findNextToken:()=>dk,findPackageJson:()=>BAe,findPackageJsons:()=>Foe,findPrecedingMatchingToken:()=>vV,findPrecedingToken:()=>ou,findSuperStatementIndex:()=>kz,findTokenOnLeftOfPosition:()=>gV,findUseStrictPrologue:()=>ane,first:()=>Oo,firstDefined:()=>$e,firstDefinedIterator:()=>Be,firstIterator:()=>kve,firstOrOnly:()=>joe,firstOrUndefined:()=>Hu,firstOrUndefinedIterator:()=>cB,fixupCompilerOptions:()=>pce,flatMap:()=>ln,flatMapIterator:()=>yr,flatMapToMutable:()=>yn,flatten:()=>$n,flattenCommaList:()=>Ike,flattenDestructuringAssignment:()=>ak,flattenDestructuringBinding:()=>sS,flattenDiagnosticMessageText:()=>jv,forEach:()=>te,forEachAncestor:()=>R2e,forEachAncestorDirectory:()=>zy,forEachChild:()=>_a,forEachChildRecursively:()=>OD,forEachEmittedFile:()=>Qie,forEachEnclosingBlockScopeContainer:()=>tTe,forEachEntry:()=>rp,forEachExternalModuleToImportFrom:()=>Goe,forEachImportClauseDeclaration:()=>qj,forEachKey:()=>rw,forEachLeadingCommentRange:()=>NI,forEachNameInAccessChainWalkingLeft:()=>aYe,forEachPropertyAssignment:()=>t4,forEachResolvedProjectReference:()=>f6e,forEachReturnStatement:()=>OT,forEachRight:()=>Oe,forEachTrailingCommentRange:()=>II,forEachTsConfigPropArray:()=>ZI,forEachUnique:()=>Toe,forEachYieldExpression:()=>sTe,forSomeAncestorDirectory:()=>sYe,formatColorAndReset:()=>cS,formatDiagnostic:()=>lse,formatDiagnostics:()=>frt,formatDiagnosticsWithColorAndContext:()=>u6e,formatGeneratedName:()=>ek,formatGeneratedNamePart:()=>H4,formatLocation:()=>use,formatMessage:()=>Ate,formatStringFromArgs:()=>Zg,formatting:()=>du,fullTripleSlashAMDReferencePathRegEx:()=>tre,fullTripleSlashReferencePathRegEx:()=>ere,generateDjb2Hash:()=>gI,generateTSConfig:()=>mKe,generatorHelper:()=>nU,getAdjustedReferenceLocation:()=>roe,getAdjustedRenameLocation:()=>hV,getAliasDeclarationFromName:()=>qee,getAllAccessorDeclarations:()=>jx,getAllDecoratorsOfClass:()=>Lie,getAllDecoratorsOfClassElement:()=>wz,getAllJSDocTags:()=>BK,getAllJSDocTagsOfKind:()=>iQe,getAllKeys:()=>jGe,getAllProjectOutputs:()=>Pz,getAllSuperTypeNodes:()=>NP,getAllUnscopedEmitHelpers:()=>Dre,getAllowJSCompilerOption:()=>z5,getAllowSyntheticDefaultImports:()=>vw,getAncestor:()=>Yb,getAnyExtensionFromPath:()=>BB,getAreDeclarationMapsEnabled:()=>dJ,getAssignedExpandoInitializer:()=>iw,getAssignedName:()=>OK,getAssignmentDeclarationKind:()=>dl,getAssignmentDeclarationPropertyAccessKind:()=>u5,getAssignmentTargetKind:()=>Fx,getAutomaticTypeDirectiveNames:()=>ez,getBaseFileName:()=>Xu,getBinaryOperatorPrecedence:()=>A5,getBuildInfo:()=>Nz,getBuildInfoFileVersionMap:()=>Ose,getBuildInfoText:()=>ZEe,getBuildOrderFromAnyBuildOrder:()=>rV,getBuilderCreationParameters:()=>Gz,getBuilderFileEmit:()=>Jv,getCheckFlags:()=>ml,getClassExtendsHeritageElement:()=>RT,getClassLikeDeclarationOfSymbol:()=>Ky,getCombinedLocalAndExportSymbolFlags:()=>WP,getCombinedModifierFlags:()=>t1,getCombinedNodeFlags:()=>ph,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>IK,getCommentRange:()=>cg,getCommonSourceDirectory:()=>m9,getCommonSourceDirectoryOfConfig:()=>XD,getCompilerOptionValue:()=>hJ,getCompilerOptionsDiffValue:()=>dKe,getConditions:()=>Z4,getConfigFileParsingDiagnostics:()=>ck,getConstantValue:()=>Axe,getContainerNode:()=>pk,getContainingClass:()=>_u,getContainingClassStaticBlock:()=>dTe,getContainingFunction:()=>Wp,getContainingFunctionDeclaration:()=>pTe,getContainingFunctionOrClassStaticBlock:()=>Ij,getContainingNodeArray:()=>QSe,getContainingObjectLiteralElement:()=>CL,getContextualTypeFromParent:()=>OV,getContextualTypeFromParentOrAncestorTypeNode:()=>mV,getCurrentTime:()=>P9,getDeclarationDiagnostics:()=>JEe,getDeclarationEmitExtensionForPath:()=>ste,getDeclarationEmitOutputFilePath:()=>zTe,getDeclarationEmitOutputFilePathWorker:()=>ite,getDeclarationFromName:()=>T5,getDeclarationModifierFlagsFromSymbol:()=>pd,getDeclarationOfKind:()=>_l,getDeclarationsOfKind:()=>L2e,getDeclaredExpandoInitializer:()=>a5,getDecorators:()=>vv,getDefaultCompilerOptions:()=>F$,getDefaultExportInfoWorker:()=>ZV,getDefaultFormatCodeSettings:()=>V4e,getDefaultLibFileName:()=>$B,getDefaultLibFilePath:()=>mct,getDefaultLikeExportInfo:()=>YV,getDiagnosticText:()=>cKe,getDiagnosticsWithinSpan:()=>VAe,getDirectoryPath:()=>cs,getDirectoryToWatchFailedLookupLocation:()=>Jse,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>J6e,getDocumentPositionMapper:()=>E3e,getESModuleInterop:()=>sg,getEditsForFileRename:()=>f3e,getEffectiveBaseTypeNode:()=>mh,getEffectiveConstraintOfTypeParameter:()=>B6,getEffectiveContainerForJSDocTemplateTag:()=>Wj,getEffectiveImplementsTypeNodes:()=>f4,getEffectiveInitializer:()=>s5,getEffectiveJSDocHost:()=>lw,getEffectiveModifierFlags:()=>Wf,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>rSe,getEffectiveModifierFlagsNoCache:()=>iSe,getEffectiveReturnTypeNode:()=>Am,getEffectiveSetAccessorTypeAnnotationNode:()=>HTe,getEffectiveTypeAnnotationNode:()=>Yu,getEffectiveTypeParameterDeclarations:()=>Tv,getEffectiveTypeRoots:()=>KO,getElementOrPropertyAccessArgumentExpressionOrName:()=>$j,getElementOrPropertyAccessName:()=>Qy,getElementsOfBindingOrAssignmentPattern:()=>W4,getEmitDeclarations:()=>rm,getEmitFlags:()=>xo,getEmitHelpers:()=>BJ,getEmitModuleDetectionKind:()=>NSe,getEmitModuleKind:()=>Zu,getEmitModuleResolutionKind:()=>wl,getEmitScriptTarget:()=>Eo,getEnclosingBlockScopeContainer:()=>Kh,getEncodedSemanticClassifications:()=>Yoe,getEncodedSyntacticClassifications:()=>Zoe,getEndLinePosition:()=>GI,getEntityNameFromTypeNode:()=>t5,getEntrypointsFromPackageJsonInfo:()=>tet,getErrorCountForSummary:()=>Xz,getErrorSpanForNode:()=>NT,getErrorSummaryText:()=>W6e,getEscapedTextOfIdentifierOrLiteral:()=>OP,getEscapedTextOfJsxAttributeName:()=>cD,getEscapedTextOfJsxNamespacedName:()=>E4,getExpandoInitializer:()=>Xb,getExportAssignmentExpression:()=>Wee,getExportInfoMap:()=>nL,getExportNeedsImportStarHelper:()=>lEe,getExpressionAssociativity:()=>Yee,getExpressionPrecedence:()=>Zj,getExternalHelpersModuleName:()=>DO,getExternalModuleImportEqualsDeclarationExpression:()=>AP,getExternalModuleName:()=>a4,getExternalModuleNameFromDeclaration:()=>JTe,getExternalModuleNameFromPath:()=>nte,getExternalModuleNameLiteral:()=>jw,getExternalModuleRequireArgument:()=>Oee,getFallbackOptions:()=>y9,getFileEmitOutput:()=>h6e,getFileMatcherPatterns:()=>ZP,getFileNamesFromConfigSpecs:()=>qO,getFileWatcherEventKind:()=>pbe,getFilesInErrorForSummary:()=>Qz,getFirstConstructorWithBody:()=>Yg,getFirstIdentifier:()=>Np,getFirstNonSpaceCharacterPosition:()=>IAe,getFirstProjectOutput:()=>Zie,getFixableErrorSpanExpression:()=>Boe,getFormatCodeSettingsForWriting:()=>WV,getFullWidth:()=>HI,getFunctionFlags:()=>Fu,getHeritageClause:()=>k5,getHostSignatureFromJSDoc:()=>Qb,getIdentifierAutoGenerate:()=>QYe,getIdentifierGeneratedImportReference:()=>Lxe,getIdentifierTypeArguments:()=>qx,getImmediatelyInvokedFunctionExpression:()=>Ox,getImpliedNodeFormatForFile:()=>x9,getImpliedNodeFormatForFileWorker:()=>hse,getImportNeedsImportDefaultHelper:()=>Pie,getImportNeedsImportStarHelper:()=>xz,getIndentSize:()=>h4,getIndentString:()=>Kj,getInferredLibraryNameResolveFrom:()=>Bz,getInitializedVariables:()=>qP,getInitializerOfBinaryExpression:()=>jee,getInitializerOfBindingOrAssignmentElement:()=>IO,getInterfaceBaseTypeNodes:()=>IP,getInternalEmitFlags:()=>Qd,getInvokedExpression:()=>Mj,getIsolatedModules:()=>Nm,getJSDocAugmentsTag:()=>r2e,getJSDocClassTag:()=>LK,getJSDocCommentRanges:()=>Aee,getJSDocCommentsAndTags:()=>Uee,getJSDocDeprecatedTag:()=>MK,getJSDocDeprecatedTagNoCache:()=>l2e,getJSDocEnumTag:()=>FK,getJSDocHost:()=>uw,getJSDocImplementsTags:()=>n2e,getJSDocOverrideTagNoCache:()=>c2e,getJSDocParameterTags:()=>R6,getJSDocParameterTagsNoCache:()=>Ybe,getJSDocPrivateTag:()=>KXe,getJSDocPrivateTagNoCache:()=>s2e,getJSDocProtectedTag:()=>eQe,getJSDocProtectedTagNoCache:()=>a2e,getJSDocPublicTag:()=>ZXe,getJSDocPublicTagNoCache:()=>i2e,getJSDocReadonlyTag:()=>tQe,getJSDocReadonlyTagNoCache:()=>o2e,getJSDocReturnTag:()=>u2e,getJSDocReturnType:()=>RI,getJSDocRoot:()=>DP,getJSDocSatisfiesExpressionType:()=>Yte,getJSDocSatisfiesTag:()=>RK,getJSDocTags:()=>CT,getJSDocTagsNoCache:()=>nQe,getJSDocTemplateTag:()=>rQe,getJSDocThisTag:()=>QB,getJSDocType:()=>bv,getJSDocTypeAliasName:()=>lne,getJSDocTypeAssertionType:()=>EU,getJSDocTypeParameterDeclarations:()=>nJ,getJSDocTypeParameterTags:()=>Kbe,getJSDocTypeParameterTagsNoCache:()=>e2e,getJSDocTypeTag:()=>kT,getJSXImplicitImportBase:()=>yJ,getJSXRuntimeImport:()=>vJ,getJSXTransformEnabled:()=>gJ,getKeyForCompilerOptions:()=>Zne,getLanguageVariant:()=>j5,getLastChild:()=>kte,getLeadingCommentRanges:()=>Vg,getLeadingCommentRangesOfNode:()=>Eee,getLeftmostAccessExpression:()=>GP,getLeftmostExpression:()=>XP,getLineAndCharacterOfPosition:()=>Vc,getLineInfo:()=>tEe,getLineOfLocalPosition:()=>RP,getLineOfLocalPositionFromLineMap:()=>Bx,getLineStartPositionForPosition:()=>Bd,getLineStarts:()=>Vy,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>gSe,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>hSe,getLinesBetweenPositions:()=>cP,getLinesBetweenRangeEndAndRangeStart:()=>bte,getLinesBetweenRangeEndPositions:()=>tYe,getLiteralText:()=>G2e,getLocalNameForExternalImport:()=>q4,getLocalSymbolForExportDefault:()=>y4,getLocaleSpecificMessage:()=>so,getLocaleTimeString:()=>E9,getMappedContextSpan:()=>TAe,getMappedDocumentSpan:()=>Soe,getMappedLocation:()=>Q9,getMatchedFileSpec:()=>qse,getMatchedIncludeSpec:()=>Wse,getMeaningFromDeclaration:()=>L9,getMeaningFromLocation:()=>_k,getMembersOfDeclaration:()=>aTe,getModeForFileReference:()=>b9,getModeForResolutionAtIndex:()=>fse,getModeForUsageLocation:()=>cm,getModifiedTime:()=>XC,getModifiers:()=>xx,getModuleInstanceState:()=>i0,getModuleNameStringLiteralAt:()=>zz,getModuleSpecifierEndingPreference:()=>Bte,getModuleSpecifierResolverHost:()=>goe,getNameForExportedSymbol:()=>VV,getNameFromIndexInfo:()=>rTe,getNameFromPropertyName:()=>H9,getNameOfAccessExpression:()=>bSe,getNameOfCompilerOptionValue:()=>kne,getNameOfDeclaration:()=>ia,getNameOfExpando:()=>Ree,getNameOfJSDocTypedef:()=>Xbe,getNameOrArgument:()=>l5,getNameTable:()=>fle,getNamesForExportedSymbol:()=>qAe,getNamespaceDeclarationNode:()=>o4,getNewLineCharacter:()=>l1,getNewLineKind:()=>rL,getNewLineOrDefaultFromHost:()=>zv,getNewTargetContainer:()=>hTe,getNextJSDocCommentLocation:()=>zee,getNodeForGeneratedName:()=>IU,getNodeId:()=>Jo,getNodeKind:()=>lS,getNodeModifiers:()=>n8,getNodeModulePathParts:()=>Hte,getNonAssignedNameOfDeclaration:()=>XB,getNonAssignmentOperatorForCompoundAssignment:()=>$D,getNonAugmentationDeclaration:()=>yee,getNonDecoratorTokenPosOfNode:()=>_ee,getNormalizedAbsolutePath:()=>ua,getNormalizedAbsolutePathWithoutRoot:()=>vK,getNormalizedPathComponents:()=>kI,getObjectFlags:()=>vi,getOperator:()=>Kee,getOperatorAssociativity:()=>Zee,getOperatorPrecedence:()=>E5,getOptionFromName:()=>bne,getOptionsForLibraryResolution:()=>tie,getOptionsNameMap:()=>Q4,getOrCreateEmitNode:()=>c_,getOrCreateExternalHelpersModuleNameIfNeeded:()=>yke,getOrUpdate:()=>ni,getOriginalNode:()=>el,getOriginalNodeId:()=>Cf,getOriginalSourceFile:()=>zQe,getOutputDeclarationFileName:()=>GD,getOutputExtension:()=>Yie,getOutputFileNames:()=>Qtt,getOutputPathsFor:()=>HD,getOutputPathsForBundle:()=>WD,getOwnEmitOutputFilePath:()=>UTe,getOwnKeys:()=>Jy,getOwnValues:()=>UC,getPackageJsonInfo:()=>eS,getPackageJsonTypesVersionsPaths:()=>KU,getPackageJsonsVisibleToFile:()=>jAe,getPackageNameFromTypesPackageName:()=>i9,getPackageScopeForPath:()=>sz,getParameterSymbolFromJSDoc:()=>v5,getParameterTypeNode:()=>NYe,getParentNodeInSpan:()=>X9,getParseTreeNode:()=>Gs,getParsedCommandLineOfConfigFile:()=>jO,getPathComponents:()=>Ou,getPathComponentsRelativeTo:()=>xK,getPathFromPathComponents:()=>mv,getPathUpdater:()=>ece,getPathsBasePath:()=>tJ,getPatternFromSpec:()=>Lte,getPendingEmitKind:()=>sA,getPositionOfLineAndCharacter:()=>PI,getPossibleGenericSignatures:()=>aoe,getPossibleOriginalInputExtensionForExtension:()=>VTe,getPossibleTypeArgumentsInfo:()=>ooe,getPreEmitDiagnostics:()=>urt,getPrecedingNonSpaceCharacterPosition:()=>NV,getPrivateIdentifier:()=>Mie,getProperties:()=>Iie,getProperty:()=>iI,getPropertyArrayElementValue:()=>_Te,getPropertyAssignmentAliasLikeExpression:()=>LTe,getPropertyNameForPropertyNameNode:()=>Zb,getPropertyNameForUniqueESSymbol:()=>JQe,getPropertyNameOfBindingOrAssignmentElement:()=>cne,getPropertySymbolFromBindingElement:()=>PV,getPropertySymbolsFromContextualType:()=>B$,getQuoteFromPreference:()=>voe,getQuotePreference:()=>gd,getRangesWhere:()=>Mr,getRefactorContextSpan:()=>Yw,getReferencedFileLocation:()=>QD,getRegexFromPattern:()=>Nv,getRegularExpressionForWildcard:()=>YP,getRegularExpressionsForWildcards:()=>bJ,getRelativePathFromDirectory:()=>Gh,getRelativePathFromFile:()=>CI,getRelativePathToDirectoryOrUrl:()=>QC,getRenameLocation:()=>K9,getReplacementSpanForContextToken:()=>foe,getResolutionDiagnostic:()=>vse,getResolutionModeOverrideForClause:()=>qw,getResolveJsonModule:()=>Ux,getResolvePackageJsonExports:()=>Dte,getResolvePackageJsonImports:()=>gYe,getResolvedExternalModuleName:()=>eJ,getResolvedModule:()=>H6,getResolvedTypeReferenceDirective:()=>mQe,getRestIndicatorOfBindingOrAssignmentElement:()=>PU,getRestParameterElementType:()=>Pee,getRightMostAssignedExpression:()=>o5,getRootDeclaration:()=>tg,getRootDirectoryOfResolutionCache:()=>U6e,getRootLength:()=>Hh,getRootPathSplitLength:()=>Rrt,getScriptKind:()=>Eoe,getScriptKindFromFileName:()=>Rte,getScriptTargetFeatures:()=>pee,getSelectedEffectiveModifierFlags:()=>mw,getSelectedSyntacticModifierFlags:()=>tSe,getSemanticClassifications:()=>r3e,getSemanticJsxChildren:()=>MP,getSetAccessorTypeAnnotationNode:()=>qTe,getSetAccessorValueParameter:()=>BP,getSetExternalModuleIndicator:()=>J5,getShebang:()=>zB,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>Jee,getSingleVariableOfVariableStatement:()=>l4,getSnapshotText:()=>kV,getSnippetElement:()=>wre,getSourceFileOfModule:()=>hj,getSourceFileOfNode:()=>pn,getSourceFilePathInNewDir:()=>rJ,getSourceFilePathInNewDirWorker:()=>ote,getSourceFileVersionAsHashFromText:()=>Zz,getSourceFilesToEmit:()=>ate,getSourceMapRange:()=>t2,getSourceMapper:()=>w3e,getSourceTextOfNodeFromSourceFile:()=>PT,getSpanOfTokenAtPosition:()=>eg,getSpellingSuggestion:()=>Z3,getStartPositionOfLine:()=>Ev,getStartPositionOfRange:()=>$P,getStartsOnNewLine:()=>cO,getStaticPropertiesAndClassStaticBlock:()=>Cz,getStrictOptionValue:()=>Md,getStringComparer:()=>_B,getSuperCallFromStatement:()=>Nie,getSuperContainer:()=>KI,getSupportedCodeFixes:()=>pDe,getSupportedExtensions:()=>KP,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>$5,getSwitchedType:()=>Ooe,getSymbolId:()=>vo,getSymbolNameForPrivateIdentifier:()=>C5,getSymbolTarget:()=>DAe,getSyntacticClassifications:()=>a3e,getSyntacticModifierFlags:()=>Pv,getSyntacticModifierFlagsNoCache:()=>pte,getSynthesizedDeepClone:()=>Fc,getSynthesizedDeepCloneWithReplacements:()=>Z9,getSynthesizedDeepClones:()=>uS,getSynthesizedDeepClonesWithReplacements:()=>Aoe,getSyntheticLeadingComments:()=>D4,getSyntheticTrailingComments:()=>uO,getTargetLabel:()=>uV,getTargetOfBindingOrAssignmentElement:()=>Fv,getTemporaryModuleResolutionState:()=>iz,getTextOfConstantValue:()=>X2e,getTextOfIdentifierOrLiteral:()=>em,getTextOfJSDocComment:()=>BI,getTextOfJsxAttributeName:()=>Z5,getTextOfJsxNamespacedName:()=>lD,getTextOfNode:()=>iu,getTextOfNodeFromSourceText:()=>SP,getTextOfPropertyName:()=>Q6,getThisContainer:()=>y_,getThisParameter:()=>BT,getTokenAtPosition:()=>Os,getTokenPosOfNode:()=>Dx,getTokenSourceMapRange:()=>GYe,getTouchingPropertyName:()=>Qp,getTouchingToken:()=>r8,getTrailingCommentRanges:()=>Vb,getTrailingSemicolonDeferringWriter:()=>rte,getTransformFlagsSubtreeExclusions:()=>xxe,getTransformers:()=>Gie,getTsBuildInfoEmitOutputFilePath:()=>y1,getTsConfigObjectLiteralExpression:()=>wP,getTsConfigPropArrayElementValue:()=>Nj,getTypeAnnotationNode:()=>WTe,getTypeArgumentOrTypeParameterList:()=>uAe,getTypeKeywordOfTypeOnlyImport:()=>boe,getTypeNode:()=>Ixe,getTypeNodeIfAccessible:()=>u8,getTypeParameterFromJsDoc:()=>ATe,getTypeParameterOwner:()=>QXe,getTypesPackageName:()=>cz,getUILocale:()=>Ove,getUniqueName:()=>yk,getUniqueSymbolId:()=>NAe,getUseDefineForClassFields:()=>V5,getWatchErrorSummaryDiagnosticMessage:()=>zse,getWatchFactory:()=>i6e,group:()=>Y3,groupBy:()=>Ave,guessIndentation:()=>O2e,handleNoEmitOptions:()=>gse,hasAbstractModifier:()=>UT,hasAccessorModifier:()=>rg,hasAmbientModifier:()=>fte,hasChangesInResolutions:()=>lee,hasChildOfKind:()=>J9,hasContextSensitiveParameters:()=>CJ,hasDecorators:()=>_d,hasDocComment:()=>lAe,hasDynamicName:()=>s1,hasEffectiveModifier:()=>ip,hasEffectiveModifiers:()=>iJ,hasEffectiveReadonlyModifier:()=>jP,hasExtension:()=>N6,hasIndexSignature:()=>Ioe,hasInitializer:()=>Cv,hasInvalidEscape:()=>ete,hasJSDocNodes:()=>Ap,hasJSDocParameterTags:()=>t2e,hasJSFileExtension:()=>zT,hasJsonModuleEmitEnabled:()=>pJ,hasOnlyExpressionInitializer:()=>Px,hasOverrideModifier:()=>ute,hasPossibleExternalModuleReference:()=>eTe,hasProperty:()=>uc,hasPropertyAccessExpressionWithName:()=>M9,hasQuestionToken:()=>cw,hasRecordedExternalHelpers:()=>gke,hasRestParameter:()=>ree,hasScopeMarker:()=>E2e,hasStaticModifier:()=>su,hasSyntacticModifier:()=>gi,hasSyntacticModifiers:()=>eSe,hasTSFileExtension:()=>eD,hasTabstop:()=>ZSe,hasTrailingDirectorySeparator:()=>K0,hasType:()=>_j,hasTypeArguments:()=>FQe,hasZeroOrOneAsteriskCharacter:()=>Nte,helperString:()=>Pre,hostGetCanonicalFileName:()=>a1,hostUsesCaseSensitiveFileNames:()=>I5,idText:()=>Zn,identifierIsThisKeyword:()=>lte,identifierToKeywordKind:()=>qb,identity:()=>Kc,identitySourceMapConsumer:()=>Sz,ignoreSourceNewlines:()=>Are,ignoredPaths:()=>SI,importDefaultHelper:()=>sU,importFromModuleSpecifier:()=>d5,importNameElisionDisabled:()=>Pte,importStarHelper:()=>_O,indexOfAnyCharCode:()=>pr,indexOfNode:()=>X6,indicesOf:()=>Wi,inferredTypesContainingFile:()=>C9,insertImports:()=>s8,insertLeadingStatement:()=>hZe,insertSorted:()=>ha,insertStatementAfterCustomPrologue:()=>AT,insertStatementAfterStandardPrologue:()=>vQe,insertStatementsAfterCustomPrologue:()=>uee,insertStatementsAfterStandardPrologue:()=>Zh,intersperse:()=>yt,intrinsicTagNameToString:()=>Zte,introducesArgumentsExoticObject:()=>uTe,inverseJsxOptionMap:()=>MD,isAbstractConstructorSymbol:()=>ySe,isAbstractModifier:()=>qxe,isAccessExpression:()=>jc,isAccessibilityModifier:()=>uoe,isAccessor:()=>Wb,isAccessorModifier:()=>Hxe,isAliasSymbolDeclaration:()=>RQe,isAliasableExpression:()=>x5,isAmbientModule:()=>$f,isAmbientPropertyDeclaration:()=>bee,isAnonymousFunctionDefinition:()=>LP,isAnyDirectorySeparator:()=>hK,isAnyImportOrBareOrAccessedRequire:()=>K2e,isAnyImportOrReExport:()=>XI,isAnyImportSyntax:()=>Nx,isAnySupportedFileExtension:()=>wYe,isApplicableVersionedTypesKey:()=>n9,isArgumentExpressionOfElementAccess:()=>Qae,isArray:()=>ka,isArrayBindingElement:()=>sj,isArrayBindingOrAssignmentElement:()=>VI,isArrayBindingOrAssignmentPattern:()=>XK,isArrayBindingPattern:()=>Ow,isArrayLiteralExpression:()=>Hf,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>b1,isArrayTypeNode:()=>Rre,isArrowFunction:()=>Dc,isAsExpression:()=>vO,isAssertClause:()=>vU,isAssertEntry:()=>tke,isAssertionExpression:()=>Ax,isAssertionKey:()=>d2e,isAssertsKeyword:()=>Vxe,isAssignmentDeclaration:()=>PP,isAssignmentExpression:()=>o_,isAssignmentOperator:()=>o1,isAssignmentPattern:()=>yP,isAssignmentTarget:()=>Qg,isAsteriskToken:()=>mO,isAsyncFunction:()=>p4,isAsyncModifier:()=>mD,isAutoAccessorPropertyDeclaration:()=>Ep,isAwaitExpression:()=>R4,isAwaitKeyword:()=>Fre,isBigIntLiteral:()=>uU,isBinaryExpression:()=>Bn,isBinaryOperatorToken:()=>Eke,isBindableObjectDefinePropertyCall:()=>sw,isBindableStaticAccessExpression:()=>Mx,isBindableStaticElementAccessExpression:()=>Vj,isBindableStaticNameExpression:()=>aw,isBindingElement:()=>Lo,isBindingElementOfBareOrAccessedRequire:()=>vTe,isBindingName:()=>qg,isBindingOrAssignmentElement:()=>v2e,isBindingOrAssignmentPattern:()=>UI,isBindingPattern:()=>Fa,isBlock:()=>Pa,isBlockOrCatchScoped:()=>dee,isBlockScope:()=>Tee,isBlockScopedContainerTopLevel:()=>Z2e,isBooleanLiteral:()=>m2e,isBreakOrContinueStatement:()=>mP,isBreakStatement:()=>sZe,isBuildInfoFile:()=>qEe,isBuilderProgram:()=>H6e,isBundle:()=>qre,isBundleFileTextLike:()=>TSe,isCallChain:()=>kx,isCallExpression:()=>Ra,isCallExpressionTarget:()=>qae,isCallLikeExpression:()=>Ex,isCallOrNewExpression:()=>Wg,isCallOrNewExpressionTarget:()=>Wae,isCallSignatureDeclaration:()=>O4,isCallToHelper:()=>dD,isCaseBlock:()=>CD,isCaseClause:()=>ED,isCaseKeyword:()=>Gxe,isCaseOrDefaultClause:()=>uj,isCatchClause:()=>j4,isCatchClauseVariableDeclaration:()=>YSe,isCatchClauseVariableDeclarationOrBindingElement:()=>mee,isCheckJsEnabledForFile:()=>G5,isChildOfNodeWithKind:()=>EQe,isCircularBuildOrder:()=>Gw,isClassDeclaration:()=>Su,isClassElement:()=>Mu,isClassExpression:()=>Gf,isClassLike:()=>Ri,isClassMemberModifier:()=>WK,isClassOrTypeElement:()=>ij,isClassStaticBlockDeclaration:()=>al,isCollapsedRange:()=>eYe,isColonToken:()=>Jxe,isCommaExpression:()=>PO,isCommaListExpression:()=>xD,isCommaSequence:()=>ND,isCommaToken:()=>jxe,isComment:()=>bV,isCommonJsExportPropertyAssignment:()=>Pj,isCommonJsExportedExpression:()=>cTe,isCompoundAssignment:()=>VD,isComputedNonLiteralName:()=>QI,isComputedPropertyName:()=>Ho,isConciseBody:()=>oj,isConditionalExpression:()=>B4,isConditionalTypeNode:()=>M4,isConstTypeReference:()=>Wy,isConstructSignatureDeclaration:()=>gO,isConstructorDeclaration:()=>El,isConstructorTypeNode:()=>yD,isContextualKeyword:()=>Gj,isContinueStatement:()=>iZe,isCustomPrologue:()=>Cj,isDebuggerStatement:()=>aZe,isDeclaration:()=>Sf,isDeclarationBindingElement:()=>JI,isDeclarationFileName:()=>S_,isDeclarationName:()=>Yy,isDeclarationNameOfEnumOrNamespace:()=>Tte,isDeclarationReadonly:()=>kj,isDeclarationStatement:()=>P2e,isDeclarationWithTypeParameterChildren:()=>xee,isDeclarationWithTypeParameters:()=>See,isDecorator:()=>xf,isDecoratorTarget:()=>W4e,isDefaultClause:()=>kO,isDefaultImport:()=>ow,isDefaultModifier:()=>zxe,isDefaultedExpandoInitializer:()=>TTe,isDeleteExpression:()=>Yxe,isDeleteTarget:()=>$ee,isDeprecatedDeclaration:()=>$V,isDestructuringAssignment:()=>c1,isDiagnosticWithLocation:()=>Roe,isDiskPathRoot:()=>gK,isDoStatement:()=>rZe,isDotDotDotToken:()=>fU,isDottedName:()=>UP,isDynamicName:()=>Yj,isESSymbolIdentifier:()=>UQe,isEffectiveExternalModule:()=>nw,isEffectiveModuleDeclaration:()=>Y2e,isEffectiveStrictModeSourceFile:()=>vee,isElementAccessChain:()=>jK,isElementAccessExpression:()=>Pc,isEmittedFileOfProgram:()=>n6e,isEmptyArrayLiteral:()=>lSe,isEmptyBindingElement:()=>Hbe,isEmptyBindingPattern:()=>Wbe,isEmptyObjectLiteral:()=>gte,isEmptyStatement:()=>Ure,isEmptyStringLiteral:()=>Iee,isEntityName:()=>wp,isEntityNameExpression:()=>kl,isEnumConst:()=>IT,isEnumDeclaration:()=>s2,isEnumMember:()=>KT,isEqualityOperatorKind:()=>LV,isEqualsGreaterThanToken:()=>Uxe,isExclamationToken:()=>hO,isExcludedFile:()=>LCe,isExclusivelyTypeOnlyImportOrExport:()=>_se,isExportAssignment:()=>Pl,isExportDeclaration:()=>Ju,isExportModifier:()=>pU,isExportName:()=>wU,isExportNamespaceAsDefaultDeclaration:()=>bj,isExportOrDefaultModifier:()=>OO,isExportSpecifier:()=>T_,isExportsIdentifier:()=>Lx,isExportsOrModuleExportsOrAlias:()=>rS,isExpression:()=>Ct,isExpressionNode:()=>Xy,isExpressionOfExternalModuleImportEqualsDeclaration:()=>Q4e,isExpressionOfOptionalChainRoot:()=>KB,isExpressionStatement:()=>of,isExpressionWithTypeArguments:()=>p1,isExpressionWithTypeArgumentsInClassExtendsClause:()=>M5,isExternalModule:()=>Ul,isExternalModuleAugmentation:()=>DT,isExternalModuleImportEqualsDeclaration:()=>Gb,isExternalModuleIndicator:()=>$I,isExternalModuleNameRelative:()=>Lu,isExternalModuleReference:()=>fg,isExternalModuleSymbol:()=>q9,isExternalOrCommonJsModule:()=>Pp,isFileLevelUniqueName:()=>yj,isFileProbablyExternalModule:()=>FO,isFirstDeclarationOfSymbolParameter:()=>xoe,isFixablePromiseHandler:()=>fce,isForInOrOfStatement:()=>V6,isForInStatement:()=>zre,isForInitializer:()=>ld,isForOfStatement:()=>bO,isForStatement:()=>Xx,isFunctionBlock:()=>Ix,isFunctionBody:()=>YK,isFunctionDeclaration:()=>au,isFunctionExpression:()=>_c,isFunctionExpressionOrArrowFunction:()=>C4,isFunctionLike:()=>Sa,isFunctionLikeDeclaration:()=>Lc,isFunctionLikeKind:()=>ew,isFunctionLikeOrClassStaticBlockDeclaration:()=>J6,isFunctionOrConstructorTypeNode:()=>y2e,isFunctionOrModuleBlock:()=>HK,isFunctionSymbol:()=>xTe,isFunctionTypeNode:()=>ry,isFutureReservedKeyword:()=>BQe,isGeneratedIdentifier:()=>il,isGeneratedPrivateIdentifier:()=>KC,isGetAccessor:()=>kv,isGetAccessorDeclaration:()=>nm,isGetOrSetAccessorDeclaration:()=>YB,isGlobalDeclaration:()=>sit,isGlobalScopeAugmentation:()=>dh,isGrammarError:()=>V2e,isHeritageClause:()=>sp,isHoistedFunction:()=>wj,isHoistedVariableStatement:()=>Ej,isIdentifier:()=>He,isIdentifierANonContextualKeyword:()=>Xj,isIdentifierName:()=>OTe,isIdentifierOrThisTypeNode:()=>xke,isIdentifierPart:()=>$b,isIdentifierStart:()=>$g,isIdentifierText:()=>od,isIdentifierTypePredicate:()=>fTe,isIdentifierTypeReference:()=>WSe,isIfStatement:()=>Gx,isIgnoredFileFromWildCardWatching:()=>Lz,isImplicitGlob:()=>Ote,isImportCall:()=>Dp,isImportClause:()=>ug,isImportDeclaration:()=>ju,isImportEqualsDeclaration:()=>cf,isImportKeyword:()=>gD,isImportMeta:()=>K6,isImportOrExportSpecifier:()=>ZC,isImportOrExportSpecifierName:()=>PAe,isImportSpecifier:()=>J_,isImportTypeAssertionContainer:()=>eke,isImportTypeNode:()=>t0,isImportableFile:()=>Hoe,isInComment:()=>v1,isInExpressionContext:()=>Rj,isInJSDoc:()=>n5,isInJSFile:()=>Mn,isInJSXText:()=>oAe,isInJsonFile:()=>jj,isInNonReferenceComment:()=>mAe,isInReferenceComment:()=>dAe,isInRightSideOfInternalImportEqualsDeclaration:()=>oV,isInString:()=>mk,isInTemplateString:()=>soe,isInTopLevelContext:()=>Oj,isIncrementalCompilation:()=>U5,isIndexSignatureDeclaration:()=>Wx,isIndexedAccessTypeNode:()=>Iw,isInferTypeNode:()=>Pw,isInfinityOrNaNString:()=>aD,isInitializedProperty:()=>_9,isInitializedVariable:()=>Ste,isInsideJsxElement:()=>yV,isInsideJsxElementOrAttribute:()=>aAe,isInsideNodeModules:()=>UAe,isInsideTemplateLiteral:()=>V9,isInstantiatedModule:()=>yie,isInterfaceDeclaration:()=>Xf,isInternalDeclaration:()=>qie,isInternalModuleImportEqualsDeclaration:()=>i4,isInternalName:()=>sne,isIntersectionTypeNode:()=>yO,isIntrinsicJsxName:()=>m4,isIterationStatement:()=>xv,isJSDoc:()=>sm,isJSDocAllType:()=>ake,isJSDocAugmentsTag:()=>V4,isJSDocAuthorTag:()=>uZe,isJSDocCallbackTag:()=>Hre,isJSDocClassTag:()=>cke,isJSDocCommentContainingNode:()=>fj,isJSDocConstructSignature:()=>c4,isJSDocDeprecatedTag:()=>Zre,isJSDocEnumTag:()=>CO,isJSDocFunctionType:()=>U4,isJSDocImplementsTag:()=>Kre,isJSDocIndexSignature:()=>Jj,isJSDocLikeText:()=>_ne,isJSDocLink:()=>ike,isJSDocLinkCode:()=>ske,isJSDocLinkLike:()=>tw,isJSDocLinkPlain:()=>cZe,isJSDocMemberName:()=>a2,isJSDocNameReference:()=>AD,isJSDocNamepathType:()=>lZe,isJSDocNamespaceBody:()=>uQe,isJSDocNode:()=>$6,isJSDocNonNullableType:()=>bU,isJSDocNullableType:()=>J4,isJSDocOptionalParameter:()=>Y5,isJSDocOptionalType:()=>Wre,isJSDocOverloadTag:()=>PD,isJSDocOverrideTag:()=>SU,isJSDocParameterTag:()=>Fm,isJSDocPrivateTag:()=>Xre,isJSDocPropertyLikeTag:()=>tj,isJSDocPropertyTag:()=>uke,isJSDocProtectedTag:()=>Qre,isJSDocPublicTag:()=>Gre,isJSDocReadonlyTag:()=>Yre,isJSDocReturnTag:()=>xU,isJSDocSatisfiesExpression:()=>Qte,isJSDocSatisfiesTag:()=>kU,isJSDocSeeTag:()=>fZe,isJSDocSignature:()=>o2,isJSDocTag:()=>q6,isJSDocTemplateTag:()=>Rm,isJSDocThisTag:()=>lke,isJSDocThrowsTag:()=>pZe,isJSDocTypeAlias:()=>Id,isJSDocTypeAssertion:()=>ID,isJSDocTypeExpression:()=>Zx,isJSDocTypeLiteral:()=>z4,isJSDocTypeTag:()=>DD,isJSDocTypedefTag:()=>wO,isJSDocUnknownTag:()=>_Ze,isJSDocUnknownType:()=>oke,isJSDocVariadicType:()=>TU,isJSXTagName:()=>n4,isJsonEqual:()=>Vte,isJsonSourceFile:()=>Nd,isJsxAttribute:()=>bh,isJsxAttributeLike:()=>lj,isJsxAttributeName:()=>exe,isJsxAttributes:()=>YT,isJsxChild:()=>WI,isJsxClosingElement:()=>XT,isJsxClosingFragment:()=>rke,isJsxElement:()=>iy,isJsxExpression:()=>wD,isJsxFragment:()=>QT,isJsxNamespacedName:()=>Th,isJsxOpeningElement:()=>vh,isJsxOpeningFragment:()=>Rw,isJsxOpeningLikeElement:()=>a_,isJsxOpeningLikeElementTagName:()=>H4e,isJsxSelfClosingElement:()=>Qx,isJsxSpreadAttribute:()=>Bw,isJsxTagNameExpression:()=>vP,isJsxText:()=>Cw,isJumpStatementTarget:()=>F9,isKeyword:()=>b_,isKeywordOrPunctuation:()=>Hj,isKnownSymbol:()=>w5,isLabelName:()=>Gae,isLabelOfLabeledStatement:()=>Hae,isLabeledStatement:()=>GT,isLateVisibilityPaintedStatement:()=>Sj,isLeftHandSideExpression:()=>L_,isLeftHandSideOfAssignment:()=>QQe,isLet:()=>CP,isLineBreak:()=>sf,isLiteralComputedPropertyDeclarationName:()=>S5,isLiteralExpression:()=>Cx,isLiteralExpressionOfObject:()=>$K,isLiteralImportTypeNode:()=>Hb,isLiteralKind:()=>hP,isLiteralLikeAccess:()=>zj,isLiteralLikeElementAccess:()=>c5,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>fV,isLiteralTypeLikeExpression:()=>CZe,isLiteralTypeLiteral:()=>C2e,isLiteralTypeNode:()=>n2,isLocalName:()=>m1,isLogicalOperator:()=>aSe,isLogicalOrCoalescingAssignmentExpression:()=>dte,isLogicalOrCoalescingAssignmentOperator:()=>JP,isLogicalOrCoalescingBinaryExpression:()=>L5,isLogicalOrCoalescingBinaryOperator:()=>O5,isMappedTypeNode:()=>TD,isMemberName:()=>qy,isMetaProperty:()=>SD,isMethodDeclaration:()=>ql,isMethodOrAccessor:()=>U6,isMethodSignature:()=>ty,isMinusToken:()=>Mre,isMissingDeclaration:()=>oZe,isModifier:()=>Ha,isModifierKind:()=>r1,isModifierLike:()=>Mc,isModuleAugmentationExternal:()=>gee,isModuleBlock:()=>yh,isModuleBody:()=>A2e,isModuleDeclaration:()=>Al,isModuleExportsAccessExpression:()=>Xg,isModuleIdentifier:()=>Bee,isModuleName:()=>wke,isModuleOrEnumDeclaration:()=>cj,isModuleReference:()=>N2e,isModuleSpecifierLike:()=>AV,isModuleWithStringLiteralName:()=>Tj,isNameOfFunctionDeclaration:()=>Zae,isNameOfModuleDeclaration:()=>Yae,isNamedClassElement:()=>g2e,isNamedDeclaration:()=>bf,isNamedEvaluation:()=>fd,isNamedEvaluationSource:()=>Gee,isNamedExportBindings:()=>UK,isNamedExports:()=>im,isNamedImportBindings:()=>ZK,isNamedImports:()=>d1,isNamedImportsOrExports:()=>wte,isNamedTupleMember:()=>bD,isNamespaceBody:()=>lQe,isNamespaceExport:()=>ny,isNamespaceExportDeclaration:()=>xO,isNamespaceImport:()=>Mv,isNamespaceReexportDeclaration:()=>yTe,isNewExpression:()=>HT,isNewExpressionTarget:()=>KD,isNightly:()=>D5,isNoSubstitutionTemplateLiteral:()=>ww,isNode:()=>aQe,isNodeArray:()=>wT,isNodeArrayMultiLine:()=>mSe,isNodeDescendantOf:()=>FT,isNodeKind:()=>jI,isNodeLikeSystem:()=>rZ,isNodeModulesDirectory:()=>kK,isNodeWithPossibleHoistedDeclaration:()=>PTe,isNonContextualKeyword:()=>MTe,isNonExportDefaultModifier:()=>VZe,isNonGlobalAmbientModule:()=>hee,isNonGlobalDeclaration:()=>XAe,isNonNullAccess:()=>KSe,isNonNullChain:()=>ej,isNonNullExpression:()=>Mw,isNonStaticMethodOrAccessorWithPrivateName:()=>fEe,isNotEmittedOrPartiallyEmittedNode:()=>cQe,isNotEmittedStatement:()=>$re,isNullishCoalesce:()=>JK,isNumber:()=>X0,isNumericLiteral:()=>Hp,isNumericLiteralName:()=>ey,isObjectBindingElementWithoutPropertyName:()=>G9,isObjectBindingOrAssignmentElement:()=>zI,isObjectBindingOrAssignmentPattern:()=>GK,isObjectBindingPattern:()=>Om,isObjectLiteralElement:()=>tee,isObjectLiteralElementLike:()=>n1,isObjectLiteralExpression:()=>jo,isObjectLiteralMethod:()=>Zd,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>Dj,isObjectTypeDeclaration:()=>gw,isOctalDigit:()=>JB,isOmittedExpression:()=>bu,isOptionalChain:()=>Tf,isOptionalChainRoot:()=>pP,isOptionalDeclaration:()=>Xte,isOptionalJSDocPropertyLikeTag:()=>Q5,isOptionalTypeNode:()=>Bre,isOuterExpression:()=>AU,isOutermostOptionalChain:()=>dP,isOverrideModifier:()=>Wxe,isPackedArrayLiteral:()=>qte,isParameter:()=>ea,isParameterDeclaration:()=>Rx,isParameterOrCatchClauseVariable:()=>Wte,isParameterPropertyDeclaration:()=>Cp,isParameterPropertyModifier:()=>gP,isParenthesizedExpression:()=>j_,isParenthesizedTypeNode:()=>Dw,isParseTreeNode:()=>fP,isPartOfTypeNode:()=>Gg,isPartOfTypeQuery:()=>Bj,isPartiallyEmittedExpression:()=>yU,isPatternMatch:()=>dB,isPinnedComment:()=>vj,isPlainJsFile:()=>gj,isPlusToken:()=>Lre,isPossiblyTypeArgumentPosition:()=>z9,isPostfixUnaryExpression:()=>Jre,isPrefixUnaryExpression:()=>i2,isPrivateIdentifier:()=>fs,isPrivateIdentifierClassElementDeclaration:()=>s_,isPrivateIdentifierPropertyAccessExpression:()=>j6,isPrivateIdentifierSymbol:()=>FTe,isProgramBundleEmitBuildInfo:()=>w6e,isProgramUptoDate:()=>mse,isPrologueDirective:()=>Yd,isPropertyAccessChain:()=>ZB,isPropertyAccessEntityNameExpression:()=>F5,isPropertyAccessExpression:()=>ai,isPropertyAccessOrQualifiedName:()=>T2e,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>b2e,isPropertyAssignment:()=>pu,isPropertyDeclaration:()=>Ia,isPropertyName:()=>sl,isPropertyNameLiteral:()=>Kd,isPropertySignature:()=>Gp,isProtoSetter:()=>RTe,isPrototypeAccess:()=>Kb,isPrototypePropertyAssignment:()=>f5,isPunctuation:()=>Hee,isPushOrUnshiftIdentifier:()=>Xee,isQualifiedName:()=>B_,isQuestionDotToken:()=>_U,isQuestionOrExclamationToken:()=>Ske,isQuestionOrPlusOrMinusToken:()=>Cke,isQuestionToken:()=>Lv,isRawSourceMap:()=>nEe,isReadonlyKeyword:()=>$xe,isReadonlyKeywordOrPlusOrMinusToken:()=>kke,isRecognizedTripleSlashComment:()=>fee,isReferenceFileLocation:()=>iA,isReferencedFile:()=>u2,isRegularExpressionLiteral:()=>Ire,isRequireCall:()=>M_,isRequireVariableStatement:()=>Fee,isRestParameter:()=>Hg,isRestTypeNode:()=>jre,isReturnStatement:()=>Lm,isReturnStatementWithFixablePromiseHandler:()=>i$,isRightSideOfAccessExpression:()=>oSe,isRightSideOfPropertyAccess:()=>cA,isRightSideOfQualifiedName:()=>X4e,isRightSideOfQualifiedNameOrPropertyAccess:()=>zP,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>cSe,isRootedDiskPath:()=>fh,isSameEntityName:()=>s4,isSatisfiesExpression:()=>eZe,isScopeMarker:()=>w2e,isSemicolonClassElement:()=>Zxe,isSetAccessor:()=>i1,isSetAccessorDeclaration:()=>md,isShebangTrivia:()=>EK,isShorthandAmbientModuleSymbol:()=>xP,isShorthandPropertyAssignment:()=>hd,isSignedNumericLiteral:()=>Qj,isSimpleCopiableExpression:()=>iS,isSimpleInlineableExpression:()=>Sh,isSingleOrDoubleQuote:()=>i5,isSourceFile:()=>Cs,isSourceFileFromLibrary:()=>_8,isSourceFileJS:()=>qf,isSourceFileNotJS:()=>DQe,isSourceFileNotJson:()=>Lee,isSourceMapping:()=>iEe,isSpecialPropertyDeclaration:()=>STe,isSpreadAssignment:()=>ZT,isSpreadElement:()=>lg,isStatement:()=>Vs,isStatementButNotDeclaration:()=>qI,isStatementOrBlock:()=>D2e,isStatementWithLocals:()=>z2e,isStatic:()=>Aa,isStaticModifier:()=>Ew,isString:()=>Wa,isStringAKeyword:()=>jQe,isStringANonContextualKeyword:()=>fw,isStringAndEmptyAnonymousObjectIntersection:()=>_Ae,isStringDoubleQuoted:()=>Uj,isStringLiteral:()=>yo,isStringLiteralLike:()=>Yo,isStringLiteralOrJsxExpression:()=>I2e,isStringLiteralOrTemplate:()=>MAe,isStringOrNumericLiteralLike:()=>ud,isStringOrRegularExpressionOrTemplateLiteral:()=>loe,isStringTextContainingNode:()=>qK,isSuperCall:()=>Z6,isSuperKeyword:()=>hD,isSuperOrSuperProperty:()=>PQe,isSuperProperty:()=>v_,isSupportedSourceFileName:()=>USe,isSwitchStatement:()=>TO,isSyntaxList:()=>$4,isSyntheticExpression:()=>tZe,isSyntheticReference:()=>Fw,isTagName:()=>Xae,isTaggedTemplateExpression:()=>Hx,isTaggedTemplateTag:()=>q4e,isTemplateExpression:()=>hU,isTemplateHead:()=>I4,isTemplateLiteral:()=>z6,isTemplateLiteralKind:()=>Sv,isTemplateLiteralToken:()=>_2e,isTemplateLiteralTypeNode:()=>KYe,isTemplateLiteralTypeSpan:()=>Xxe,isTemplateMiddle:()=>Bxe,isTemplateMiddleOrTemplateTail:()=>rj,isTemplateSpan:()=>kD,isTemplateTail:()=>Ore,isTextWhiteSpaceLike:()=>bAe,isThis:()=>lA,isThisContainerOrFunctionBlock:()=>mTe,isThisIdentifier:()=>JT,isThisInTypeQuery:()=>dw,isThisInitializedDeclaration:()=>Lj,isThisInitializedObjectBindingExpression:()=>gTe,isThisProperty:()=>e5,isThisTypeNode:()=>mU,isThisTypeParameter:()=>oD,isThisTypePredicate:()=>AQe,isThrowStatement:()=>Vre,isToken:()=>YC,isTokenKind:()=>VK,isTraceEnabled:()=>n0,isTransientSymbol:()=>Yh,isTrivia:()=>_4,isTryStatement:()=>SO,isTupleTypeNode:()=>L4,isTypeAlias:()=>h5,isTypeAliasDeclaration:()=>Mm,isTypeAssertionExpression:()=>Qxe,isTypeDeclaration:()=>w4,isTypeElement:()=>wx,isTypeKeyword:()=>i8,isTypeKeywordToken:()=>doe,isTypeKeywordTokenOrIdentifier:()=>xV,isTypeLiteralNode:()=>Ip,isTypeNode:()=>ys,isTypeNodeKind:()=>Cte,isTypeOfExpression:()=>F4,isTypeOnlyExportDeclaration:()=>p2e,isTypeOnlyImportDeclaration:()=>nj,isTypeOnlyImportOrExportDeclaration:()=>ET,isTypeOperatorNode:()=>Nw,isTypeParameterDeclaration:()=>qc,isTypePredicateNode:()=>dU,isTypeQueryNode:()=>vD,isTypeReferenceNode:()=>Im,isTypeReferenceType:()=>pj,isUMDExportSymbol:()=>lJ,isUnaryExpression:()=>QK,isUnaryExpressionWithWrite:()=>k2e,isUnicodeIdentifierStart:()=>jB,isUnionTypeNode:()=>Aw,isUnparsedNode:()=>zK,isUnparsedPrepend:()=>nke,isUnparsedSource:()=>Yx,isUnparsedTextLike:()=>f2e,isUrl:()=>vbe,isValidBigIntString:()=>kJ,isValidESSymbolDeclaration:()=>lTe,isValidTypeOnlyAliasUseSite:()=>$x,isValueSignatureDeclaration:()=>DTe,isVarConst:()=>Gy,isVariableDeclaration:()=>bs,isVariableDeclarationInVariableStatement:()=>Aj,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>MT,isVariableDeclarationInitializedToRequire:()=>Mee,isVariableDeclarationList:()=>Tu,isVariableLike:()=>e4,isVariableLikeOrAccessor:()=>oTe,isVariableStatement:()=>Yl,isVoidExpression:()=>Lw,isWatchSet:()=>nYe,isWhileStatement:()=>nZe,isWhiteSpaceLike:()=>zg,isWhiteSpaceSingleLine:()=>_h,isWithStatement:()=>Kxe,isWriteAccess:()=>HP,isWriteOnlyAccess:()=>cJ,isYieldExpression:()=>gU,jsxModeNeedsExplicitImport:()=>zoe,keywordPart:()=>op,last:()=>To,lastOrUndefined:()=>Bc,length:()=>G,libMap:()=>VU,libs:()=>HO,lineBreakPart:()=>_A,linkNamePart:()=>EAe,linkPart:()=>Coe,linkTextPart:()=>DV,listFiles:()=>Vse,loadModuleFromGlobalCache:()=>kwe,loadWithModeAwareCache:()=>T9,makeIdentifierFromModuleName:()=>Q2e,makeImport:()=>T1,makeImportIfNecessary:()=>vAe,makeStringLiteral:()=>Qw,mangleScopedPackageName:()=>UD,map:()=>qt,mapAllOrFail:()=>Ir,mapDefined:()=>lr,mapDefinedEntries:()=>cr,mapDefinedIterator:()=>zi,mapEntries:()=>sr,mapIterator:()=>qa,mapOneOrMany:()=>$Ae,mapToDisplayParts:()=>Vv,matchFiles:()=>Fte,matchPatternOrExact:()=>jte,matchedText:()=>jve,matchesExclude:()=>zU,maybeBind:()=>no,maybeSetLocalizedDiagnosticMessages:()=>CSe,memoize:()=>tp,memoizeCached:()=>Dve,memoizeOne:()=>qh,memoizeWeak:()=>VGe,metadataHelper:()=>JJ,min:()=>ZY,minAndMax:()=>$Se,missingFileModifiedTime:()=>Uy,modifierToFlag:()=>hw,modifiersToFlags:()=>ng,moduleOptionDeclaration:()=>Mne,moduleResolutionIsEqualTo:()=>J2e,moduleResolutionNameAndModeGetter:()=>ZD,moduleResolutionOptionDeclarations:()=>qU,moduleResolutionSupportsPackageJsonExportsAndImports:()=>bw,moduleResolutionUsesNodeModules:()=>CV,moduleSpecifiers:()=>nS,moveEmitHelpers:()=>Dxe,moveRangeEnd:()=>aJ,moveRangePastDecorators:()=>Dv,moveRangePastModifiers:()=>hh,moveRangePos:()=>e2,moveSyntheticComments:()=>Exe,mutateMap:()=>b4,mutateMapSkippingNewValues:()=>Zy,needsParentheses:()=>Noe,needsScopeMarker:()=>aj,newCaseClauseTracker:()=>HV,newPrivateEnvironment:()=>dEe,noEmitNotification:()=>p9,noEmitSubstitution:()=>qD,noTransformers:()=>Xie,noTruncationMaximumTruncationLength:()=>PJ,nodeCanBeDecorated:()=>Fj,nodeHasName:()=>FI,nodeIsDecorated:()=>r4,nodeIsMissing:()=>pl,nodeIsPresent:()=>Pd,nodeIsSynthesized:()=>Ec,nodeModuleNameResolver:()=>owe,nodeModulesPathPart:()=>h1,nodeNextJsonConfigResolver:()=>cwe,nodeOrChildIsDecorated:()=>r5,nodeOverlapsWithStartEnd:()=>eoe,nodePosToString:()=>yQe,nodeSeenTracker:()=>Xw,nodeStartsNewLexicalEnvironment:()=>Qee,nodeToDisplayParts:()=>Znt,noop:()=>fc,noopFileWatcher:()=>Hw,normalizePath:()=>So,normalizeSlashes:()=>Qu,not:()=>hB,notImplemented:()=>Ta,notImplementedResolver:()=>Iz,nullNodeConverters:()=>gre,nullParenthesizerRules:()=>hre,nullTransformationContext:()=>s0,objectAllocator:()=>Ru,operatorPart:()=>a8,optionDeclarations:()=>r0,optionMapToObject:()=>xne,optionsAffectingProgramStructure:()=>jne,optionsForBuild:()=>Une,optionsForWatch:()=>GO,optionsHaveChanges:()=>W6,optionsHaveModuleResolutionChanges:()=>M2e,or:()=>Wh,orderedRemoveItem:()=>pB,orderedRemoveItemAt:()=>zb,outFile:()=>Ac,packageIdToPackageName:()=>mj,packageIdToString:()=>wv,padLeft:()=>vx,padRight:()=>GGe,paramHelper:()=>UJ,parameterIsThisKeyword:()=>jT,parameterNamePart:()=>xAe,parseBaseNodeFactory:()=>gne,parseBigInt:()=>qSe,parseBuildCommand:()=>oKe,parseCommandLine:()=>aKe,parseCommandLineWorker:()=>vne,parseConfigFileTextToJson:()=>Sne,parseConfigFileWithSystem:()=>Urt,parseConfigHostFromCompilerHostLike:()=>Uz,parseCustomTypeOption:()=>BU,parseIsolatedEntityName:()=>zw,parseIsolatedJSDocComment:()=>Xke,parseJSDocTypeExpressionForTests:()=>eKe,parseJsonConfigFileContent:()=>gKe,parseJsonSourceFileConfigFileContent:()=>VO,parseJsonText:()=>BO,parseListTypeOption:()=>oCe,parseNodeFactory:()=>_g,parseNodeModuleFromPath:()=>e9,parsePackageName:()=>aie,parsePseudoBigInt:()=>rD,parseValidBigInt:()=>$te,patchWriteFileEnsuringDirectory:()=>ybe,pathContainsNodeModules:()=>eA,pathIsAbsolute:()=>iP,pathIsBareSpecifier:()=>yK,pathIsRelative:()=>kp,patternText:()=>Bve,perfLogger:()=>uh,performIncrementalCompilation:()=>Vrt,performance:()=>obe,plainJSErrors:()=>qz,positionBelongsToNode:()=>toe,positionIsASICandidate:()=>FV,positionIsSynthesized:()=>gh,positionsAreOnSameLine:()=>Ld,preProcessFile:()=>C3e,probablyUsesSemicolons:()=>tL,processCommentPragmas:()=>mne,processPragmasIntoFields:()=>hne,processTaggedTemplateExpression:()=>jie,programContainsEsModules:()=>yAe,programContainsModules:()=>gAe,projectReferenceIsEqualTo:()=>oee,propKeyHelper:()=>eU,propertyNamePart:()=>kAe,pseudoBigIntToString:()=>$T,punctuationPart:()=>wf,pushIfUnique:()=>Sp,quote:()=>l8,quotePreferenceFromString:()=>yoe,rangeContainsPosition:()=>R9,rangeContainsPositionExclusive:()=>B9,rangeContainsRange:()=>Mp,rangeContainsRangeExclusive:()=>Y4e,rangeContainsStartEnd:()=>j9,rangeEndIsOnSameLineAsRangeStart:()=>B5,rangeEndPositionsAreOnSameLine:()=>pSe,rangeEquals:()=>WY,rangeIsOnSingleLine:()=>Jx,rangeOfNode:()=>Ute,rangeOfTypeParameters:()=>zte,rangeOverlapsWithStartEnd:()=>t8,rangeStartIsOnSameLineAsRangeEnd:()=>dSe,rangeStartPositionsAreOnSameLine:()=>oJ,readBuilderProgram:()=>tV,readConfigFile:()=>JO,readHelper:()=>ZJ,readJson:()=>VP,readJsonConfigFile:()=>fCe,readJsonOrUndefined:()=>yte,realizeDiagnostics:()=>gle,reduceEachLeadingCommentRange:()=>wbe,reduceEachTrailingCommentRange:()=>Ebe,reduceLeft:()=>Uf,reduceLeftIterator:()=>Qe,reducePathComponents:()=>bx,refactor:()=>C8,regExpEscape:()=>bYe,relativeComplement:()=>O_,removeAllComments:()=>aO,removeEmitHelper:()=>XYe,removeExtension:()=>W5,removeFileExtension:()=>R_,removeIgnoredPath:()=>Bse,removeMinAndVersionNumbers:()=>Rve,removeOptionality:()=>cAe,removePrefix:()=>K3,removeSuffix:()=>P6,removeTrailingDirectorySeparator:()=>ST,repeatString:()=>W9,replaceElement:()=>GY,resolutionExtensionIsTSOrJson:()=>H5,resolveConfigFileProjectName:()=>eae,resolveJSModule:()=>iwe,resolveLibrary:()=>rz,resolveModuleName:()=>jD,resolveModuleNameFromCache:()=>HKe,resolvePackageNameToPackageJson:()=>UKe,resolvePath:()=>hv,resolveProjectReferencePath:()=>YD,resolveTripleslashReference:()=>Mz,resolveTypeReferenceDirective:()=>Xne,resolvingEmptyArray:()=>AJ,restHelper:()=>GJ,returnFalse:()=>Q0,returnNoopFileWatcher:()=>A9,returnTrue:()=>jb,returnUndefined:()=>Jb,returnsPromise:()=>uce,runInitializersHelper:()=>VJ,sameFlatMap:()=>Dn,sameMap:()=>$s,sameMapping:()=>Fet,scanShebangTrivia:()=>AK,scanTokenAtPosition:()=>iTe,scanner:()=>Ef,screenStartingMessageCodes:()=>eV,semanticDiagnosticsOptionDeclarations:()=>Fne,serializeCompilerOptions:()=>Cne,server:()=>z4e,servicesVersion:()=>_le,setCommentRange:()=>Bu,setConfigFileInOptions:()=>Ene,setConstantValue:()=>Pxe,setEachParent:()=>k4,setEmitFlags:()=>An,setFunctionNameHelper:()=>tU,setGetSourceFileAsHashVersioned:()=>Kz,setIdentifierAutoGenerate:()=>fO,setIdentifierGeneratedImportReference:()=>Oxe,setIdentifierTypeArguments:()=>_1,setInternalEmitFlags:()=>oO,setLocalizedDiagnosticMessages:()=>kSe,setModuleDefaultHelper:()=>iU,setNodeFlags:()=>GSe,setObjectAllocator:()=>xSe,setOriginalNode:()=>oi,setParent:()=>ko,setParentRecursive:()=>Iv,setPrivateIdentifier:()=>sk,setResolvedModule:()=>B2e,setResolvedTypeReferenceDirective:()=>j2e,setSnippetElement:()=>Ere,setSourceMapRange:()=>$o,setStackTraceLimit:()=>xXe,setStartsOnNewLine:()=>Cre,setSyntheticLeadingComments:()=>r2,setSyntheticTrailingComments:()=>Sw,setSys:()=>IXe,setSysLog:()=>dbe,setTextRange:()=>wt,setTextRangeEnd:()=>x4,setTextRangePos:()=>nD,setTextRangePosEnd:()=>ag,setTextRangePosWidth:()=>iD,setTokenSourceMapRange:()=>wxe,setTypeNode:()=>Nxe,setUILocale:()=>Lve,setValueDeclaration:()=>_5,shouldAllowImportingTsExtension:()=>tA,shouldPreserveConstEnums:()=>zx,shouldResolveJsRequire:()=>mJ,shouldUseUriStyleNodeCoreModules:()=>qV,showModuleSpecifier:()=>vSe,signatureHasLiteralTypes:()=>vie,signatureHasRestParameter:()=>kf,signatureToDisplayParts:()=>woe,single:()=>HY,singleElementArray:()=>yx,singleIterator:()=>gs,singleOrMany:()=>Ug,singleOrUndefined:()=>$h,skipAlias:()=>F_,skipAssertions:()=>TZe,skipConstraint:()=>moe,skipOuterExpressions:()=>lf,skipParentheses:()=>Tc,skipPartiallyEmittedExpressions:()=>Xd,skipTrivia:()=>fo,skipTypeChecking:()=>tD,skipTypeParentheses:()=>Vee,skipWhile:()=>Vve,sliceAfter:()=>Jte,some:()=>Ne,sort:()=>gx,sortAndDeduplicate:()=>mo,sortAndDeduplicateDiagnostics:()=>M6,sourceFileAffectingCompilerOptions:()=>WU,sourceFileMayBeEmitted:()=>pw,sourceMapCommentRegExp:()=>bz,sourceMapCommentRegExpDontCareLineStart:()=>Aie,spacePart:()=>ol,spanMap:()=>na,spreadArrayHelper:()=>KJ,stableSort:()=>G0,startEndContainsRange:()=>Kae,startEndOverlapsWithStartEnd:()=>_V,startOnNewLine:()=>Qf,startTracing:()=>cbe,startsWith:()=>Xs,startsWithDirectory:()=>SK,startsWithUnderscore:()=>Uoe,startsWithUseStrict:()=>mke,stringContains:()=>rf,stringContainsAt:()=>GAe,stringToToken:()=>Sx,stripQuotes:()=>tm,supportedDeclarationExtensions:()=>IJ,supportedJSExtensions:()=>dre,supportedJSExtensionsFlat:()=>fD,supportedLocaleDirectories:()=>iee,supportedTSExtensions:()=>P4,supportedTSExtensionsFlat:()=>pre,supportedTSImplementationExtensions:()=>OJ,suppressLeadingAndTrailingTrivia:()=>cp,suppressLeadingTrivia:()=>IV,suppressTrailingTrivia:()=>LAe,symbolEscapedNameNoDefault:()=>EV,symbolName:()=>xl,symbolNameNoDefault:()=>wV,symbolPart:()=>SAe,symbolToDisplayParts:()=>o8,syntaxMayBeASICandidate:()=>Woe,syntaxRequiresTrailingSemicolonOrASI:()=>MV,sys:()=>Gu,sysLog:()=>yI,tagNamesAreEquivalent:()=>c2,takeWhile:()=>uI,targetOptionDeclaration:()=>QO,templateObjectHelper:()=>YJ,testFormatSettings:()=>$4e,textChangeRangeIsUnchanged:()=>qbe,textChangeRangeNewSpan:()=>uP,textChanges:()=>jn,textOrKeywordPart:()=>koe,textPart:()=>Yp,textRangeContainsPositionInclusive:()=>qB,textSpanContainsPosition:()=>DK,textSpanContainsTextSpan:()=>Ube,textSpanEnd:()=>af,textSpanIntersection:()=>$be,textSpanIntersectsWith:()=>WB,textSpanIntersectsWithPosition:()=>Vbe,textSpanIntersectsWithTextSpan:()=>GXe,textSpanIsEmpty:()=>Jbe,textSpanOverlap:()=>zbe,textSpanOverlapsWith:()=>HXe,textSpansEqual:()=>fA,textToKeywordObj:()=>OI,timestamp:()=>Uc,toArray:()=>oI,toBuilderFileEmit:()=>N6e,toBuilderStateFileInfoForMultiEmit:()=>D6e,toEditorSettings:()=>kL,toFileNameLowerCase:()=>wm,toLowerCase:()=>Pve,toPath:()=>bc,toProgramEmitPending:()=>I6e,tokenIsIdentifierOrKeyword:()=>i_,tokenIsIdentifierOrKeywordOrGreaterThan:()=>xbe,tokenToString:()=>io,trace:()=>Fs,tracing:()=>qi,tracingEnabled:()=>_I,transform:()=>gct,transformClassFields:()=>vEe,transformDeclarations:()=>Wie,transformECMAScriptModule:()=>$ie,transformES2015:()=>OEe,transformES2016:()=>NEe,transformES2017:()=>xEe,transformES2018:()=>kEe,transformES2019:()=>CEe,transformES2020:()=>wEe,transformES2021:()=>EEe,transformES5:()=>LEe,transformESDecorators:()=>SEe,transformESNext:()=>AEe,transformGenerators:()=>MEe,transformJsx:()=>PEe,transformLegacyDecorators:()=>TEe,transformModule:()=>Vie,transformNodeModule:()=>BEe,transformNodes:()=>d9,transformSystemModule:()=>REe,transformTypeScript:()=>gEe,transpile:()=>Zit,transpileModule:()=>M3e,transpileOptionValueCompilerOptions:()=>Jne,trimString:()=>vT,trimStringEnd:()=>$C,trimStringStart:()=>eP,tryAddToSet:()=>li,tryAndIgnoreErrors:()=>JV,tryCast:()=>wi,tryDirectoryExists:()=>jV,tryExtractTSExtension:()=>sJ,tryFileExists:()=>BV,tryGetClassExtendingExpressionWithTypeArguments:()=>mte,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>hte,tryGetDirectories:()=>RV,tryGetExtensionFromPath:()=>Kg,tryGetImportFromModuleSpecifier:()=>m5,tryGetJSDocSatisfiesTypeNode:()=>EJ,tryGetModuleNameFromFile:()=>NO,tryGetModuleSpecifierFromDeclaration:()=>p5,tryGetNativePerformanceHooks:()=>sbe,tryGetPropertyAccessOrIdentifierToString:()=>R5,tryGetPropertyNameOfBindingOrAssignmentElement:()=>DU,tryGetSourceMappingURL:()=>rEe,tryGetTextOfPropertyName:()=>kP,tryIOAndConsumeErrors:()=>UV,tryParsePattern:()=>S4,tryParsePatterns:()=>SJ,tryParseRawSourceMap:()=>wie,tryReadDirectory:()=>Moe,tryReadFile:()=>UO,tryRemoveDirectoryPrefix:()=>Ite,tryRemoveExtension:()=>VSe,tryRemovePrefix:()=>tZ,tryRemoveSuffix:()=>Fve,typeAcquisitionDeclarations:()=>GU,typeAliasNamePart:()=>CAe,typeDirectiveIsEqualTo:()=>U2e,typeKeywords:()=>GV,typeParameterNamePart:()=>wAe,typeReferenceResolutionNameAndModeGetter:()=>k9,typeToDisplayParts:()=>Y9,unchangedPollThresholds:()=>TI,unchangedTextChangeRange:()=>nee,unescapeLeadingUnderscores:()=>xs,unmangleScopedPackageName:()=>lz,unorderedRemoveItem:()=>lI,unorderedRemoveItemAt:()=>KY,unreachableCodeIsError:()=>ISe,unusedLabelIsError:()=>OSe,unwrapInnermostStatementOfLabel:()=>Dee,updateErrorForNoInputFiles:()=>Ane,updateLanguageServiceSourceFile:()=>ule,updateMissingFilePathsWatch:()=>r6e,updatePackageJsonWatch:()=>ort,updateResolutionField:()=>Y4,updateSharedExtendedConfigFileWatcher:()=>rse,updateSourceFile:()=>dne,updateWatchingWildcardDirectories:()=>Oz,usesExtensionsOnImports:()=>JSe,usingSingleLineStringWriter:()=>bP,utf16EncodeAsString:()=>L6,validateLocaleAndSetLanguage:()=>YXe,valuesHelper:()=>rU,version:()=>N,versionMajorMinor:()=>A,visitArray:()=>Cie,visitCommaListElements:()=>f9,visitEachChild:()=>Kr,visitFunctionBody:()=>Xp,visitIterationBody:()=>l_,visitLexicalEnvironment:()=>vz,visitNode:()=>ct,visitNodes:()=>cn,visitParameterList:()=>Rl,walkUpBindingElementsAndPatterns:()=>F6,walkUpLexicalEnvironments:()=>pEe,walkUpOuterExpressions:()=>hke,walkUpParenthesizedExpressions:()=>Av,walkUpParenthesizedTypes:()=>b5,walkUpParenthesizedTypesAndGetParentAndChild:()=>ITe,whitespaceOrMapCommentRegExp:()=>Tz,writeCommentRange:()=>g4,writeFile:()=>FP,writeFileEnsuringDirectories:()=>cte,zipToModeAwareCache:()=>eie,zipWith:()=>Ue});var UOe=p({"src/typescript/_namespaces/ts.ts"(){Ba(),aV(),Si(),KW()}}),Cyt=y({"src/typescript/typescript.ts"(e,t){UOe(),UOe(),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=JOe}});return Cyt()})();o.exports&&(o.exports=i)}(wBt)),AQ}if(typeof Dge<"u")try{CBt.registerTS(PBt())}catch{}const tJt=Object.freeze(Object.defineProperty({__proto__:null,MagicString:FC,babelParse:C6,compileScript:IGe,compileStyle:dGe,compileStyleAsync:mGe,compileTemplate:$1e,extractIdentifiers:Ib,generateCodeFrame:R3,inferRuntimeType:U0,invalidateTypeCache:wGe,isInDestructureAssignment:W3,isStaticProperty:H3,parse:E1e,parseCache:oQ,registerTS:CGe,resolveTypeElements:Mh,rewriteDefault:bGe,rewriteDefaultAST:VY,shouldTransformRef:WR,transformRef:yGe,transformRefAST:R7,version:FGe,walk:RGe,walkIdentifiers:Y7},Symbol.toStringTag,{value:"Module"}));export{Iu as $,Cjt as A,iVe as B,$Bt as C,Ajt as D,sVe as E,wjt as F,hjt as G,RBt as H,gjt as I,o3t as J,djt as K,yjt as L,mjt as M,dX as N,yVe as O,ejt as P,SVe as Q,Ejt as R,IBt as S,EVe as T,xVe as U,njt as V,vjt as W,Wje as X,Sjt as Y,r_ as Z,Pjt as _,Bze as a,FC as a$,BBt as a0,uT as a1,nl as a2,BX as a3,Ly as a4,cv as a5,w6t as a6,q6t as a7,XBt as a8,OQ as a9,ajt as aA,W6t as aB,Tze as aC,ijt as aD,QBt as aE,b4t as aF,Jze as aG,OBt as aH,MBt as aI,OEt as aJ,WBt as aK,fjt as aL,$3 as aM,v6t as aN,ujt as aO,jBt as aP,JBt as aQ,kjt as aR,s6 as aS,_jt as aT,xjt as aU,f3t as aV,tjt as aW,WR as aX,yGe as aY,tJt as aZ,I4t as a_,IQ as aa,T4t as ab,YBt as ac,bVe as ad,O6t as ae,zBt as af,qBt as ag,rjt as ah,id as ai,ljt as aj,FBt as ak,nVe as al,ZBt as am,ojt as an,T6 as ao,d7 as ap,KBt as aq,V6t as ar,HBt as as,cjt as at,GBt as au,iJe as av,GBe as aw,NBt as ax,gu as ay,sjt as az,J7 as b,C6 as b0,Ib as b1,Y7 as b2,H3 as b3,W3 as b4,RGe as b5,Djt as b6,Dge as b7,Qo as c,VBt as d,pjt as e,Tjt as f,BQ as g,uAt as h,qp as i,bjt as j,ah as k,zQ as l,By as m,r0e as n,rVe as o,px as p,NQ as q,JF as r,Wze as s,oh as t,AC as u,qEt as v,pX as w,LBt as x,b6t as y,UBt as z};