safe-mdx 1.3.8 → 1.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +4 -0
  2. package/dist/dynamic-esm-component.js.map +1 -1
  3. package/dist/esm-parser.js.map +1 -1
  4. package/dist/esm-parser.test.js.map +1 -1
  5. package/dist/html/convert-attributes.js.map +1 -1
  6. package/dist/html/html-and-md.test.d.ts +2 -0
  7. package/dist/html/html-and-md.test.d.ts.map +1 -0
  8. package/dist/html/html-and-md.test.js +869 -0
  9. package/dist/html/html-and-md.test.js.map +1 -0
  10. package/dist/html/html-to-mdx-ast.d.ts.map +1 -1
  11. package/dist/html/html-to-mdx-ast.js.map +1 -1
  12. package/dist/html/html-to-mdx-ast.test.js +3 -3
  13. package/dist/html/html-to-mdx-ast.test.js.map +1 -1
  14. package/dist/html/remark-mdx-jsx-normalize.d.ts.map +1 -1
  15. package/dist/html/remark-mdx-jsx-normalize.js.map +1 -1
  16. package/dist/html/valid-html-elements.d.ts.map +1 -1
  17. package/dist/html/valid-html-elements.js +1 -1
  18. package/dist/html/valid-html-elements.js.map +1 -1
  19. package/dist/parse.d.ts.map +1 -1
  20. package/dist/parse.js.map +1 -1
  21. package/dist/safe-mdx.d.ts +1 -1
  22. package/dist/safe-mdx.d.ts.map +1 -1
  23. package/dist/safe-mdx.js +1 -1
  24. package/dist/safe-mdx.js.map +1 -1
  25. package/dist/safe-mdx.test.js +5 -5
  26. package/dist/safe-mdx.test.js.map +1 -1
  27. package/dist/streaming.js.map +1 -1
  28. package/package.json +12 -7
  29. package/src/html/html-and-md.test.ts +953 -0
  30. package/src/html/html-to-mdx-ast.ts +9 -8
  31. package/src/safe-mdx.test.tsx +5 -5
  32. package/src/safe-mdx.tsx +2 -3
  33. package/dist/assets/HtmlToJsxConverter-Ds0bTjpw.js +0 -24
  34. package/dist/assets/_commonjsHelpers-CqkleIqs.js +0 -1
  35. package/dist/assets/index-B5fPOjPt.css +0 -1
  36. package/dist/assets/index-B7ATSoRE.js +0 -9
  37. package/dist/assets/index-BwZ2FTRd.js +0 -146
  38. package/dist/assets/index-R1UqLMGJ.js +0 -1
  39. package/dist/assets/index-c0qeY2gs.js +0 -9
  40. package/dist/assets/jsx-runtime-BhZZLbvw.js +0 -9
  41. package/dist/assets/jsx-runtime-NArryeSM.js +0 -1
  42. package/dist/assets/react-Ca6JzGpx.js +0 -1
  43. package/dist/assets/react-dom-BYRHYqYl.js +0 -1
  44. package/dist/index.html +0 -19
@@ -1,24 +0,0 @@
1
- import"./index-R1UqLMGJ.js";import"./_commonjsHelpers-CqkleIqs.js";import"./index-c0qeY2gs.js";var yo={},Ki={},Ws={},Js={},fn={exports:{}},dn={exports:{}},up=dn.exports,Vo;function cp(){return Vo||(Vo=1,function(t,n){(function(c,u){u(n)})(up,function(c){class u{constructor(){this._indexes={__proto__:null},this.array=[]}}function d(O){return O}function D(O,m){return O._indexes[m]}function h(O,m){const M=D(O,m);if(M!==void 0)return M;const{array:w,_indexes:P}=O,ne=w.push(m);return P[m]=ne-1}function f(O){const{array:m,_indexes:M}=O;if(m.length===0)return;const w=m.pop();M[w]=void 0}function l(O,m){const M=D(O,m);if(M===void 0)return;const{array:w,_indexes:P}=O;for(let ne=M+1;ne<w.length;ne++){const Y=w[ne];w[ne-1]=Y,P[Y]--}P[m]=void 0,w.pop()}c.SetArray=u,c.get=D,c.pop=f,c.put=h,c.remove=l,Object.defineProperty(c,"__esModule",{value:!0})})}(dn,dn.exports)),dn.exports}var hn={exports:{}},lp=hn.exports,Xo;function Bl(){return Xo||(Xo=1,function(t,n){(function(c,u){u(n)})(lp,function(c){const D="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=new Uint8Array(64),f=new Uint8Array(128);for(let R=0;R<D.length;R++){const J=D.charCodeAt(R);h[R]=J,f[J]=R}function l(R,J){let F=0,Q=0,re=0;do{const ae=R.next();re=f[ae],F|=(re&31)<<Q,Q+=5}while(re&32);const ue=F&1;return F>>>=1,ue&&(F=-2147483648|-F),J+F}function O(R,J,F){let Q=J-F;Q=Q<0?-Q<<1|1:Q<<1;do{let re=Q&31;Q>>>=5,Q>0&&(re|=32),R.write(h[re])}while(Q>0);return J}function m(R,J){return R.pos>=J?!1:R.peek()!==44}const M=1024*16,w=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(R){return Buffer.from(R.buffer,R.byteOffset,R.byteLength).toString()}}:{decode(R){let J="";for(let F=0;F<R.length;F++)J+=String.fromCharCode(R[F]);return J}};class P{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(M)}write(J){const{buffer:F}=this;F[this.pos++]=J,this.pos===M&&(this.out+=w.decode(F),this.pos=0)}flush(){const{buffer:J,out:F,pos:Q}=this;return Q>0?F+w.decode(J.subarray(0,Q)):F}}class ne{constructor(J){this.pos=0,this.buffer=J}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(J){const{buffer:F,pos:Q}=this,re=F.indexOf(J,Q);return re===-1?F.length:re}}const Y=[];function _(R){const{length:J}=R,F=new ne(R),Q=[],re=[];let ue=0;for(;F.pos<J;F.pos++){ue=l(F,ue);const ae=l(F,0);if(!m(F,J)){const Ie=re.pop();Ie[2]=ue,Ie[3]=ae;continue}const H=l(F,0),ye=l(F,0)&1?[ue,ae,0,0,H,l(F,0)]:[ue,ae,0,0,H];let Se=Y;if(m(F,J)){Se=[];do{const Ie=l(F,0);Se.push(Ie)}while(m(F,J))}ye.vars=Se,Q.push(ye),re.push(ye)}return Q}function z(R){const J=new P;for(let F=0;F<R.length;)F=B(R,F,J,[0]);return J.flush()}function B(R,J,F,Q){const re=R[J],{0:ue,1:ae,2:H,3:oe,4:le,vars:ye}=re;J>0&&F.write(44),Q[0]=O(F,ue,Q[0]),O(F,ae,0),O(F,le,0);const Se=re.length===6?1:0;O(F,Se,0),re.length===6&&O(F,re[5],0);for(const Ie of ye)O(F,Ie,0);for(J++;J<R.length;){const Ie=R[J],{0:De,1:Me}=Ie;if(De>H||De===H&&Me>=oe)break;J=B(R,J,F,Q)}return F.write(44),Q[0]=O(F,H,Q[0]),O(F,oe,0),J}function Z(R){const{length:J}=R,F=new ne(R),Q=[],re=[];let ue=0,ae=0,H=0,oe=0,le=0,ye=0,Se=0,Ie=0;do{const De=F.indexOf(";");let Me=0;for(;F.pos<De;F.pos++){if(Me=l(F,Me),!m(F,De)){const Je=re.pop();Je[2]=ue,Je[3]=Me;continue}const xe=l(F,0),Re=xe&1,Ye=xe&2,ce=xe&4;let he=null,fe=Y,Ve;if(Re){const Je=l(F,ae);H=l(F,ae===Je?H:0),ae=Je,Ve=[ue,Me,0,0,Je,H]}else Ve=[ue,Me,0,0];if(Ve.isScope=!!ce,Ye){const Je=oe,it=le;oe=l(F,oe);const pt=Je===oe;le=l(F,pt?le:0),ye=l(F,pt&&it===le?ye:0),he=[oe,le,ye]}if(Ve.callsite=he,m(F,De)){fe=[];do{Se=ue,Ie=Me;const Je=l(F,0);let it;if(Je<-1){it=[[l(F,0)]];for(let pt=-1;pt>Je;pt--){const ft=Se;Se=l(F,Se),Ie=l(F,Se===ft?Ie:0);const yt=l(F,0);it.push([yt,Se,Ie])}}else it=[[Je]];fe.push(it)}while(m(F,De))}Ve.bindings=fe,Q.push(Ve),re.push(Ve)}ue++,F.pos=De+1}while(F.pos<J);return Q}function X(R){if(R.length===0)return"";const J=new P;for(let F=0;F<R.length;)F=I(R,F,J,[0,0,0,0,0,0,0]);return J.flush()}function I(R,J,F,Q){const re=R[J],{0:ue,1:ae,2:H,3:oe,isScope:le,callsite:ye,bindings:Se}=re;Q[0]<ue?(E(F,Q[0],ue),Q[0]=ue,Q[1]=0):J>0&&F.write(44),Q[1]=O(F,re[1],Q[1]);const Ie=(re.length===6?1:0)|(ye?2:0)|(le?4:0);if(O(F,Ie,0),re.length===6){const{4:De,5:Me}=re;De!==Q[2]&&(Q[3]=0),Q[2]=O(F,De,Q[2]),Q[3]=O(F,Me,Q[3])}if(ye){const{0:De,1:Me,2:xe}=re.callsite;De!==Q[4]?(Q[5]=0,Q[6]=0):Me!==Q[5]&&(Q[6]=0),Q[4]=O(F,De,Q[4]),Q[5]=O(F,Me,Q[5]),Q[6]=O(F,xe,Q[6])}if(Se)for(const De of Se){De.length>1&&O(F,-De.length,0);const Me=De[0][0];O(F,Me,0);let xe=ue,Re=ae;for(let Ye=1;Ye<De.length;Ye++){const ce=De[Ye];xe=O(F,ce[1],xe),Re=O(F,ce[2],Re),O(F,ce[0],0)}}for(J++;J<R.length;){const De=R[J],{0:Me,1:xe}=De;if(Me>H||Me===H&&xe>=oe)break;J=I(R,J,F,Q)}return Q[0]<H?(E(F,Q[0],H),Q[0]=H,Q[1]=0):F.write(44),Q[1]=O(F,oe,Q[1]),J}function E(R,J,F){do R.write(59);while(++J<F)}function N(R){const{length:J}=R,F=new ne(R),Q=[];let re=0,ue=0,ae=0,H=0,oe=0;do{const le=F.indexOf(";"),ye=[];let Se=!0,Ie=0;for(re=0;F.pos<le;){let De;re=l(F,re),re<Ie&&(Se=!1),Ie=re,m(F,le)?(ue=l(F,ue),ae=l(F,ae),H=l(F,H),m(F,le)?(oe=l(F,oe),De=[re,ue,ae,H,oe]):De=[re,ue,ae,H]):De=[re],ye.push(De),F.pos++}Se||V(ye),Q.push(ye),F.pos=le+1}while(F.pos<=J);return Q}function V(R){R.sort(te)}function te(R,J){return R[0]-J[0]}function U(R){const J=new P;let F=0,Q=0,re=0,ue=0;for(let ae=0;ae<R.length;ae++){const H=R[ae];if(ae>0&&J.write(59),H.length===0)continue;let oe=0;for(let le=0;le<H.length;le++){const ye=H[le];le>0&&J.write(44),oe=O(J,ye[0],oe),ye.length!==1&&(F=O(J,ye[1],F),Q=O(J,ye[2],Q),re=O(J,ye[3],re),ye.length!==4&&(ue=O(J,ye[4],ue)))}}return J.flush()}c.decode=N,c.decodeGeneratedRanges=Z,c.decodeOriginalScopes=_,c.encode=U,c.encodeGeneratedRanges=X,c.encodeOriginalScopes=z,Object.defineProperty(c,"__esModule",{value:!0})})}(hn,hn.exports)),hn.exports}var mn={exports:{}},Da={exports:{}},pp=Da.exports,Wo;function fp(){return Wo||(Wo=1,function(t,n){(function(c,u){t.exports=u()})(pp,function(){const c=/^[\w+.-]+:\/\//,u=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,d=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function D(B){return c.test(B)}function h(B){return B.startsWith("//")}function f(B){return B.startsWith("/")}function l(B){return B.startsWith("file:")}function O(B){return/^[.?#]/.test(B)}function m(B){const Z=u.exec(B);return w(Z[1],Z[2]||"",Z[3],Z[4]||"",Z[5]||"/",Z[6]||"",Z[7]||"")}function M(B){const Z=d.exec(B),X=Z[2];return w("file:","",Z[1]||"","",f(X)?X:"/"+X,Z[3]||"",Z[4]||"")}function w(B,Z,X,I,E,N,V){return{scheme:B,user:Z,host:X,port:I,path:E,query:N,hash:V,type:7}}function P(B){if(h(B)){const X=m("http:"+B);return X.scheme="",X.type=6,X}if(f(B)){const X=m("http://foo.com"+B);return X.scheme="",X.host="",X.type=5,X}if(l(B))return M(B);if(D(B))return m(B);const Z=m("http://foo.com/"+B);return Z.scheme="",Z.host="",Z.type=B?B.startsWith("?")?3:B.startsWith("#")?2:4:1,Z}function ne(B){if(B.endsWith("/.."))return B;const Z=B.lastIndexOf("/");return B.slice(0,Z+1)}function Y(B,Z){_(Z,Z.type),B.path==="/"?B.path=Z.path:B.path=ne(Z.path)+B.path}function _(B,Z){const X=Z<=4,I=B.path.split("/");let E=1,N=0,V=!1;for(let U=1;U<I.length;U++){const R=I[U];if(!R){V=!0;continue}if(V=!1,R!=="."){if(R===".."){N?(V=!0,N--,E--):X&&(I[E++]=R);continue}I[E++]=R,N++}}let te="";for(let U=1;U<E;U++)te+="/"+I[U];(!te||V&&!te.endsWith("/.."))&&(te+="/"),B.path=te}function z(B,Z){if(!B&&!Z)return"";const X=P(B);let I=X.type;if(Z&&I!==7){const N=P(Z),V=N.type;switch(I){case 1:X.hash=N.hash;case 2:X.query=N.query;case 3:case 4:Y(X,N);case 5:X.user=N.user,X.host=N.host,X.port=N.port;case 6:X.scheme=N.scheme}V>I&&(I=V)}_(X,I);const E=X.query+X.hash;switch(I){case 2:case 3:return E;case 4:{const N=X.path.slice(1);return N?O(Z||B)&&!O(N)?"./"+N+E:N+E:E||"."}case 5:return X.path+E;default:return X.scheme+"//"+X.user+X.host+X.port+X.path+E}}return z})}(Da)),Da.exports}var dp=mn.exports,Jo;function Fl(){return Jo||(Jo=1,function(t,n){(function(c,u){u(n,Bl(),fp())})(dp,function(c,u,d){function D(de,Ee){return Ee&&!Ee.endsWith("/")&&(Ee+="/"),d(de,Ee)}function h(de){if(!de)return"";const Ee=de.lastIndexOf("/");return de.slice(0,Ee+1)}const f=0,l=1,O=2,m=3,M=4,w=1,P=2;function ne(de,Ee){const Ae=Y(de,0);if(Ae===de.length)return de;Ee||(de=de.slice());for(let Ce=Ae;Ce<de.length;Ce=Y(de,Ce+1))de[Ce]=z(de[Ce],Ee);return de}function Y(de,Ee){for(let Ae=Ee;Ae<de.length;Ae++)if(!_(de[Ae]))return Ae;return de.length}function _(de){for(let Ee=1;Ee<de.length;Ee++)if(de[Ee][f]<de[Ee-1][f])return!1;return!0}function z(de,Ee){return Ee||(de=de.slice()),de.sort(B)}function B(de,Ee){return de[f]-Ee[f]}let Z=!1;function X(de,Ee,Ae,Ce){for(;Ae<=Ce;){const Fe=Ae+(Ce-Ae>>1),ve=de[Fe][f]-Ee;if(ve===0)return Z=!0,Fe;ve<0?Ae=Fe+1:Ce=Fe-1}return Z=!1,Ae-1}function I(de,Ee,Ae){for(let Ce=Ae+1;Ce<de.length&&de[Ce][f]===Ee;Ae=Ce++);return Ae}function E(de,Ee,Ae){for(let Ce=Ae-1;Ce>=0&&de[Ce][f]===Ee;Ae=Ce--);return Ae}function N(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function V(de,Ee,Ae,Ce){const{lastKey:Fe,lastNeedle:ve,lastIndex:Ke}=Ae;let Xe=0,Ge=de.length-1;if(Ce===Fe){if(Ee===ve)return Z=Ke!==-1&&de[Ke][f]===Ee,Ke;Ee>=ve?Xe=Ke===-1?0:Ke:Ge=Ke}return Ae.lastKey=Ce,Ae.lastNeedle=Ee,Ae.lastIndex=X(de,Ee,Xe,Ge)}function te(de,Ee){const Ae=Ee.map(R);for(let Ce=0;Ce<de.length;Ce++){const Fe=de[Ce];for(let ve=0;ve<Fe.length;ve++){const Ke=Fe[ve];if(Ke.length===1)continue;const Xe=Ke[l],Ge=Ke[O],We=Ke[m],at=Ae[Xe],tt=at[Ge]||(at[Ge]=[]),ge=Ee[Xe];let $e=I(tt,We,V(tt,We,ge,Ge));ge.lastIndex=++$e,U(tt,$e,[We,Ce,Ke[f]])}}return Ae}function U(de,Ee,Ae){for(let Ce=de.length;Ce>Ee;Ce--)de[Ce]=de[Ce-1];de[Ee]=Ae}function R(){return{__proto__:null}}const J=function(de,Ee){const Ae=F(de);if(!("sections"in Ae))return new Se(Ae,Ee);const Ce=[],Fe=[],ve=[],Ke=[],Xe=[];Q(Ae,Ee,Ce,Fe,ve,Ke,Xe,0,0,1/0,1/0);const Ge={version:3,file:Ae.file,names:Ke,sources:Fe,sourcesContent:ve,mappings:Ce,ignoreList:Xe};return it(Ge)};function F(de){return typeof de=="string"?JSON.parse(de):de}function Q(de,Ee,Ae,Ce,Fe,ve,Ke,Xe,Ge,We,at){const{sections:tt}=de;for(let ge=0;ge<tt.length;ge++){const{map:$e,offset:ot}=tt[ge];let ie=We,G=at;if(ge+1<tt.length){const be=tt[ge+1].offset;ie=Math.min(We,Xe+be.line),ie===We?G=Math.min(at,Ge+be.column):ie<We&&(G=Ge+be.column)}re($e,Ee,Ae,Ce,Fe,ve,Ke,Xe+ot.line,Ge+ot.column,ie,G)}}function re(de,Ee,Ae,Ce,Fe,ve,Ke,Xe,Ge,We,at){const tt=F(de);if("sections"in tt)return Q(...arguments);const ge=new Se(tt,Ee),$e=Ce.length,ot=ve.length,ie=Me(ge),{resolvedSources:G,sourcesContent:be,ignoreList:Ue}=ge;if(ue(Ce,G),ue(ve,ge.names),be)ue(Fe,be);else for(let He=0;He<G.length;He++)Fe.push(null);if(Ue)for(let He=0;He<Ue.length;He++)Ke.push(Ue[He]+$e);for(let He=0;He<ie.length;He++){const ct=Xe+He;if(ct>We)return;const Vt=ae(Ae,ct),Xt=He===0?Ge:0,dt=ie[He];for(let Wt=0;Wt<dt.length;Wt++){const Dt=dt[Wt],jt=Xt+Dt[f];if(ct===We&&jt>=at)return;if(Dt.length===1){Vt.push([jt]);continue}const qt=$e+Dt[l],Ht=Dt[O],er=Dt[m];Vt.push(Dt.length===4?[jt,qt,Ht,er]:[jt,qt,Ht,er,ot+Dt[M]])}}}function ue(de,Ee){for(let Ae=0;Ae<Ee.length;Ae++)de.push(Ee[Ae])}function ae(de,Ee){for(let Ae=de.length;Ae<=Ee;Ae++)de[Ae]=[];return de[Ee]}const H="`line` must be greater than 0 (lines start at line 1)",oe="`column` must be greater than or equal to 0 (columns start at column 0)",le=-1,ye=1;class Se{constructor(Ee,Ae){const Ce=typeof Ee=="string";if(!Ce&&Ee._decodedMemo)return Ee;const Fe=Ce?JSON.parse(Ee):Ee,{version:ve,file:Ke,names:Xe,sourceRoot:Ge,sources:We,sourcesContent:at}=Fe;this.version=ve,this.file=Ke,this.names=Xe||[],this.sourceRoot=Ge,this.sources=We,this.sourcesContent=at,this.ignoreList=Fe.ignoreList||Fe.x_google_ignoreList||void 0;const tt=D(Ge||"",h(Ae));this.resolvedSources=We.map($e=>D($e||"",tt));const{mappings:ge}=Fe;typeof ge=="string"?(this._encoded=ge,this._decoded=void 0):(this._encoded=void 0,this._decoded=ne(ge,Ce)),this._decodedMemo=N(),this._bySources=void 0,this._bySourceMemos=void 0}}function Ie(de){return de}function De(de){var Ee,Ae;return(Ee=(Ae=de)._encoded)!==null&&Ee!==void 0?Ee:Ae._encoded=u.encode(de._decoded)}function Me(de){var Ee;return(Ee=de)._decoded||(Ee._decoded=u.decode(de._encoded))}function xe(de,Ee,Ae){const Ce=Me(de);if(Ee>=Ce.length)return null;const Fe=Ce[Ee],ve=gt(Fe,de._decodedMemo,Ee,Ae,ye);return ve===-1?null:Fe[ve]}function Re(de,Ee){let{line:Ae,column:Ce,bias:Fe}=Ee;if(Ae--,Ae<0)throw new Error(H);if(Ce<0)throw new Error(oe);const ve=Me(de);if(Ae>=ve.length)return Et(null,null,null,null);const Ke=ve[Ae],Xe=gt(Ke,de._decodedMemo,Ae,Ce,Fe||ye);if(Xe===-1)return Et(null,null,null,null);const Ge=Ke[Xe];if(Ge.length===1)return Et(null,null,null,null);const{names:We,resolvedSources:at}=de;return Et(at[Ge[l]],Ge[O]+1,Ge[m],Ge.length===5?We[Ge[M]]:null)}function Ye(de,Ee){const{source:Ae,line:Ce,column:Fe,bias:ve}=Ee;return It(de,Ae,Ce,Fe,ve||ye,!1)}function ce(de,Ee){const{source:Ae,line:Ce,column:Fe,bias:ve}=Ee;return It(de,Ae,Ce,Fe,ve||le,!0)}function he(de,Ee){const Ae=Me(de),{names:Ce,resolvedSources:Fe}=de;for(let ve=0;ve<Ae.length;ve++){const Ke=Ae[ve];for(let Xe=0;Xe<Ke.length;Xe++){const Ge=Ke[Xe],We=ve+1,at=Ge[0];let tt=null,ge=null,$e=null,ot=null;Ge.length!==1&&(tt=Fe[Ge[1]],ge=Ge[2]+1,$e=Ge[3]),Ge.length===5&&(ot=Ce[Ge[4]]),Ee({generatedLine:We,generatedColumn:at,source:tt,originalLine:ge,originalColumn:$e,name:ot})}}}function fe(de,Ee){const{sources:Ae,resolvedSources:Ce}=de;let Fe=Ae.indexOf(Ee);return Fe===-1&&(Fe=Ce.indexOf(Ee)),Fe}function Ve(de,Ee){const{sourcesContent:Ae}=de;if(Ae==null)return null;const Ce=fe(de,Ee);return Ce===-1?null:Ae[Ce]}function Je(de,Ee){const{ignoreList:Ae}=de;if(Ae==null)return!1;const Ce=fe(de,Ee);return Ce===-1?!1:Ae.includes(Ce)}function it(de,Ee){const Ae=new Se(yt(de,[]),Ee);return Ae._decoded=de.mappings,Ae}function pt(de){return yt(de,Me(de))}function ft(de){return yt(de,De(de))}function yt(de,Ee){return{version:de.version,file:de.file,names:de.names,sourceRoot:de.sourceRoot,sources:de.sources,sourcesContent:de.sourcesContent,mappings:Ee,ignoreList:de.ignoreList||de.x_google_ignoreList}}function Et(de,Ee,Ae,Ce){return{source:de,line:Ee,column:Ae,name:Ce}}function bt(de,Ee){return{line:de,column:Ee}}function gt(de,Ee,Ae,Ce,Fe){let ve=V(de,Ce,Ee,Ae);return Z?ve=(Fe===le?I:E)(de,Ce,ve):Fe===le&&ve++,ve===-1||ve===de.length?-1:ve}function Nt(de,Ee,Ae,Ce,Fe){let ve=gt(de,Ee,Ae,Ce,ye);if(!Z&&Fe===le&&ve++,ve===-1||ve===de.length)return[];const Ke=Z?Ce:de[ve][f];Z||(ve=E(de,Ke,ve));const Xe=I(de,Ke,ve),Ge=[];for(;ve<=Xe;ve++){const We=de[ve];Ge.push(bt(We[w]+1,We[P]))}return Ge}function It(de,Ee,Ae,Ce,Fe,ve){var Ke;if(Ae--,Ae<0)throw new Error(H);if(Ce<0)throw new Error(oe);const{sources:Xe,resolvedSources:Ge}=de;let We=Xe.indexOf(Ee);if(We===-1&&(We=Ge.indexOf(Ee)),We===-1)return ve?[]:bt(null,null);const tt=((Ke=de)._bySources||(Ke._bySources=te(Me(de),de._bySourceMemos=Xe.map(N))))[We][Ae];if(tt==null)return ve?[]:bt(null,null);const ge=de._bySourceMemos[We];if(ve)return Nt(tt,ge,Ae,Ce,Fe);const $e=gt(tt,ge,Ae,Ce,Fe);if($e===-1)return bt(null,null);const ot=tt[$e];return bt(ot[w]+1,ot[P])}c.AnyMap=J,c.GREATEST_LOWER_BOUND=ye,c.LEAST_UPPER_BOUND=le,c.TraceMap=Se,c.allGeneratedPositionsFor=ce,c.decodedMap=pt,c.decodedMappings=Me,c.eachMapping=he,c.encodedMap=ft,c.encodedMappings=De,c.generatedPositionFor=Ye,c.isIgnored=Je,c.originalPositionFor=Re,c.presortedDecodedMap=it,c.sourceContentFor=Ve,c.traceSegment=xe})}(mn,mn.exports)),mn.exports}var hp=fn.exports,zo;function mp(){return zo||(zo=1,function(t,n){(function(c,u){u(n,cp(),Bl(),Fl())})(hp,function(c,u,d,D){class w{constructor({file:H,sourceRoot:oe}={}){this._names=new u.SetArray,this._sources=new u.SetArray,this._sourcesContent=[],this._mappings=[],this.file=H,this.sourceRoot=oe,this._ignoreList=new u.SetArray}}function P(ae){return ae}function ne(ae,H,oe,le,ye,Se,Ie,De){return V(!1,ae,H,oe,le,ye,Se,Ie,De)}function Y(ae,H){return ue(!1,ae,H)}const _=(ae,H,oe,le,ye,Se,Ie,De)=>V(!0,ae,H,oe,le,ye,Se,Ie,De),z=(ae,H)=>ue(!0,ae,H);function B(ae,H,oe){const{_sources:le,_sourcesContent:ye}=ae,Se=u.put(le,H);ye[Se]=oe}function Z(ae,H,oe=!0){const{_sources:le,_sourcesContent:ye,_ignoreList:Se}=ae,Ie=u.put(le,H);Ie===ye.length&&(ye[Ie]=null),oe?u.put(Se,Ie):u.remove(Se,Ie)}function X(ae){const{_mappings:H,_sources:oe,_sourcesContent:le,_names:ye,_ignoreList:Se}=ae;return J(H),{version:3,file:ae.file||void 0,names:ye.array,sourceRoot:ae.sourceRoot||void 0,sources:oe.array,sourcesContent:le,mappings:H,ignoreList:Se.array}}function I(ae){const H=X(ae);return Object.assign(Object.assign({},H),{mappings:d.encode(H.mappings)})}function E(ae){const H=new D.TraceMap(ae),oe=new w({file:H.file,sourceRoot:H.sourceRoot});return F(oe._names,H.names),F(oe._sources,H.sources),oe._sourcesContent=H.sourcesContent||H.sources.map(()=>null),oe._mappings=D.decodedMappings(H),H.ignoreList&&F(oe._ignoreList,H.ignoreList),oe}function N(ae){const H=[],{_mappings:oe,_sources:le,_names:ye}=ae;for(let Se=0;Se<oe.length;Se++){const Ie=oe[Se];for(let De=0;De<Ie.length;De++){const Me=Ie[De],xe={line:Se+1,column:Me[0]};let Re,Ye,ce;Me.length!==1&&(Re=le.array[Me[1]],Ye={line:Me[2]+1,column:Me[3]},Me.length===5&&(ce=ye.array[Me[4]])),H.push({generated:xe,source:Re,original:Ye,name:ce})}}return H}function V(ae,H,oe,le,ye,Se,Ie,De,Me){const{_mappings:xe,_sources:Re,_sourcesContent:Ye,_names:ce}=H,he=te(xe,oe),fe=U(he,le);if(!ye)return ae&&Q(he,fe)?void 0:R(he,fe,[le]);const Ve=u.put(Re,ye),Je=De?u.put(ce,De):-1;if(Ve===Ye.length&&(Ye[Ve]=Me??null),!(ae&&re(he,fe,Ve,Se,Ie,Je)))return R(he,fe,De?[le,Ve,Se,Ie,Je]:[le,Ve,Se,Ie])}function te(ae,H){for(let oe=ae.length;oe<=H;oe++)ae[oe]=[];return ae[H]}function U(ae,H){let oe=ae.length;for(let le=oe-1;le>=0;oe=le--){const ye=ae[le];if(H>=ye[0])break}return oe}function R(ae,H,oe){for(let le=ae.length;le>H;le--)ae[le]=ae[le-1];ae[H]=oe}function J(ae){const{length:H}=ae;let oe=H;for(let le=oe-1;le>=0&&!(ae[le].length>0);oe=le,le--);oe<H&&(ae.length=oe)}function F(ae,H){for(let oe=0;oe<H.length;oe++)u.put(ae,H[oe])}function Q(ae,H){return H===0?!0:ae[H-1].length===1}function re(ae,H,oe,le,ye,Se){if(H===0)return!1;const Ie=ae[H-1];return Ie.length===1?!1:oe===Ie[1]&&le===Ie[2]&&ye===Ie[3]&&Se===(Ie.length===5?Ie[4]:-1)}function ue(ae,H,oe){const{generated:le,source:ye,original:Se,name:Ie,content:De}=oe;return ye?V(ae,H,le.line-1,le.column,ye,Se.line-1,Se.column,Ie,De):V(ae,H,le.line-1,le.column,null,null,null,null,null)}c.GenMapping=w,c.addMapping=Y,c.addSegment=ne,c.allMappings=N,c.fromMap=E,c.maybeAddMapping=z,c.maybeAddSegment=_,c.setIgnore=Z,c.setSourceContent=B,c.toDecodedMap=X,c.toEncodedMap=I,Object.defineProperty(c,"__esModule",{value:!0})})}(fn,fn.exports)),fn.exports}var $o;function Tp(){if($o)return Js;$o=1,Object.defineProperty(Js,"__esModule",{value:!0}),Js.default=void 0;var t=mp(),n=Fl();class c{constructor(d,D){var h;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;const f=this._map=new t.GenMapping({sourceRoot:d.sourceRoot});if(this._sourceFileName=(h=d.sourceFileName)==null?void 0:h.replace(/\\/g,"/"),this._rawMappings=void 0,d.inputSourceMap){this._inputMap=new n.TraceMap(d.inputSourceMap);const O=this._inputMap.resolvedSources;if(O.length)for(let m=0;m<O.length;m++){var l;(0,t.setSourceContent)(f,O[m],(l=this._inputMap.sourcesContent)==null?void 0:l[m])}}if(typeof D=="string"&&!d.inputSourceMap)(0,t.setSourceContent)(f,this._sourceFileName,D);else if(typeof D=="object")for(const O of Object.keys(D))(0,t.setSourceContent)(f,O.replace(/\\/g,"/"),D[O])}get(){return(0,t.toEncodedMap)(this._map)}getDecoded(){return(0,t.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,t.allMappings)(this._map))}mark(d,D,h,f,l,O){var m;this._rawMappings=void 0;let M;if(D!=null)if(this._inputMap){if(M=(0,n.originalPositionFor)(this._inputMap,{line:D,column:h}),!M.name&&l){const w=(0,n.originalPositionFor)(this._inputMap,l);w.name&&(f=w.name)}}else M={source:O?.replace(/\\/g,"/")||this._sourceFileName,line:D,column:h};(0,t.maybeAddMapping)(this._map,{name:f,generated:d,source:(m=M)==null?void 0:m.source,original:M})}}return Js.default=c,Js}var zs={},$s={},Qo;function yp(){if(Qo)return $s;Qo=1,Object.defineProperty($s,"__esModule",{value:!0}),$s.default=void 0;class t{constructor(c,u){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=c,this._indentChar=u;for(let d=0;d<64;d++)this._fastIndentations.push(u.repeat(d));this._allocQueue()}_allocQueue(){const c=this._queue;for(let u=0;u<16;u++)c.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(c,u,d,D,h){const f=this._queueCursor;f===this._queue.length&&this._allocQueue();const l=this._queue[f];l.char=c,l.repeat=u,l.line=d,l.column=D,l.filename=h,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();const c=this._map,u={code:(this._buf+this._str).trimRight(),decodedMap:c?.getDecoded(),get __mergedMap(){return this.map},get map(){const d=c?c.get():null;return u.map=d,d},set map(d){Object.defineProperty(u,"map",{value:d,writable:!0})},get rawMappings(){const d=c?.getRawMappings();return u.rawMappings=d,d},set rawMappings(d){Object.defineProperty(u,"rawMappings",{value:d,writable:!0})}};return u}append(c,u){this._flush(),this._append(c,this._sourcePosition,u)}appendChar(c){this._flush(),this._appendChar(c,1,this._sourcePosition)}queue(c){if(c===10)for(;this._queueCursor!==0;){const d=this._queue[this._queueCursor-1].char;if(d!==32&&d!==9)break;this._queueCursor--}const u=this._sourcePosition;this._pushQueue(c,1,u.line,u.column,u.filename)}queueIndentation(c){c!==0&&this._pushQueue(-1,c,void 0,void 0,void 0)}_flush(){const c=this._queueCursor,u=this._queue;for(let d=0;d<c;d++){const D=u[d];this._appendChar(D.char,D.repeat,D)}this._queueCursor=0}_appendChar(c,u,d){if(this._last=c,c===-1){const D=this._fastIndentations[u];D!==void 0?this._str+=D:this._str+=u>1?this._indentChar.repeat(u):this._indentChar}else this._str+=u>1?String.fromCharCode(c).repeat(u):String.fromCharCode(c);c!==10?(this._mark(d.line,d.column,d.identifierName,d.identifierNamePos,d.filename),this._position.column+=u):(this._position.line++,this._position.column=0),this._canMarkIdName&&(d.identifierName=void 0,d.identifierNamePos=void 0)}_append(c,u,d){const D=c.length,h=this._position;if(this._last=c.charCodeAt(D-1),++this._appendCount>4096?(+this._str,this._buf+=this._str,this._str=c,this._appendCount=0):this._str+=c,!d&&!this._map){h.column+=D;return}const{column:f,identifierName:l,identifierNamePos:O,filename:m}=u;let M=u.line;(l!=null||O!=null)&&this._canMarkIdName&&(u.identifierName=void 0,u.identifierNamePos=void 0);let w=c.indexOf(`
2
- `),P=0;for(w!==0&&this._mark(M,f,l,O,m);w!==-1;)h.line++,h.column=0,P=w+1,P<D&&M!==void 0&&this._mark(++M,0,null,null,m),w=c.indexOf(`
3
- `,P);h.column+=D-P}_mark(c,u,d,D,h){var f;(f=this._map)==null||f.mark(this._position,c,u,d,D,h)}removeTrailingNewline(){const c=this._queueCursor;c!==0&&this._queue[c-1].char===10&&this._queueCursor--}removeLastSemicolon(){const c=this._queueCursor;c!==0&&this._queue[c-1].char===59&&this._queueCursor--}getLastChar(){const c=this._queueCursor;return c!==0?this._queue[c-1].char:this._last}getNewlineCount(){const c=this._queueCursor;let u=0;if(c===0)return this._last===10?1:0;for(let d=c-1;d>=0&&this._queue[d].char===10;d--)u++;return u===c&&this._last===10?u+1:u}endsWithCharAndNewline(){const c=this._queue,u=this._queueCursor;if(u!==0)return c[u-1].char!==10?void 0:u>1?c[u-2].char:this._last}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(c,u){if(!this._map){u();return}this.source("start",c);const d=c.identifierName,D=this._sourcePosition;d&&(this._canMarkIdName=!1,D.identifierName=d),u(),d&&(this._canMarkIdName=!0,D.identifierName=void 0,D.identifierNamePos=void 0),this.source("end",c)}source(c,u){this._map&&this._normalizePosition(c,u,0)}sourceWithOffset(c,u,d){this._map&&this._normalizePosition(c,u,d)}_normalizePosition(c,u,d){const D=u[c],h=this._sourcePosition;D&&(h.line=D.line,h.column=Math.max(D.column+d,0),h.filename=u.filename)}getCurrentColumn(){const c=this._queue,u=this._queueCursor;let d=-1,D=0;for(let h=0;h<u;h++){const f=c[h];f.char===10&&(d=D),D+=f.repeat}return d===-1?this._position.column+D:D-1-d}getCurrentLine(){let c=0;const u=this._queue;for(let d=0;d<this._queueCursor;d++)u[d].char===10&&c++;return this._position.line+c}}return $s.default=t,$s}var kr={},Qs={},Eo={},Zs={},bn={},Sn={},j={},An={},Zo;function Bo(){if(Zo)return An;Zo=1,Object.defineProperty(An,"__esModule",{value:!0}),An.default=t;function t(n,c){const u=Object.keys(c);for(const d of u)if(n[d]!==c[d])return!1;return!0}return An}var gn={},eu;function Oa(){if(eu)return gn;eu=1,Object.defineProperty(gn,"__esModule",{value:!0}),gn.default=n;const t=new Set;function n(u,d,D=""){if(t.has(u))return;t.add(u);const{internal:h,trace:f}=c(1,2);h||console.warn(`${D}\`${u}\` has been deprecated, please migrate to \`${d}\`
4
- ${f}`)}function c(u,d){const{stackTraceLimit:D,prepareStackTrace:h}=Error;let f;if(Error.stackTraceLimit=1+u+d,Error.prepareStackTrace=function(O,m){f=m},new Error().stack,Error.stackTraceLimit=D,Error.prepareStackTrace=h,!f)return{internal:!1,trace:""};const l=f.slice(1+u,1+u+d);return{internal:/[\\/]@babel[\\/]/.test(l[1].getFileName()),trace:l.map(O=>` at ${O}`).join(`
5
- `)}}return gn}var tu;function At(){if(tu)return j;tu=1,Object.defineProperty(j,"__esModule",{value:!0}),j.isAccessor=za,j.isAnyTypeAnnotation=Fr,j.isArgumentPlaceholder=_i,j.isArrayExpression=c,j.isArrayPattern=Et,j.isArrayTypeAnnotation=Ir,j.isArrowFunctionExpression=bt,j.isAssignmentExpression=u,j.isAssignmentPattern=yt,j.isAwaitExpression=He,j.isBigIntLiteral=Vt,j.isBinary=Gs,j.isBinaryExpression=d,j.isBindExpression=ti,j.isBlock=Vs,j.isBlockParent=Ys,j.isBlockStatement=l,j.isBooleanLiteral=F,j.isBooleanLiteralTypeAnnotation=Gt,j.isBooleanTypeAnnotation=Ur,j.isBreakStatement=O,j.isCallExpression=m,j.isCatchClause=M,j.isClass=Xa,j.isClassAccessorProperty=jt,j.isClassBody=gt,j.isClassDeclaration=It,j.isClassExpression=Nt,j.isClassImplements=_r,j.isClassMethod=tt,j.isClassPrivateMethod=Ht,j.isClassPrivateProperty=qt,j.isClassProperty=Dt,j.isCompletionStatement=S,j.isConditional=g,j.isConditionalExpression=w,j.isContinueStatement=P,j.isDebuggerStatement=ne,j.isDecimalLiteral=Oi,j.isDeclaration=ka,j.isDeclareClass=jr,j.isDeclareExportAllDeclaration=Cr,j.isDeclareExportDeclaration=Hr,j.isDeclareFunction=tr,j.isDeclareInterface=Lt,j.isDeclareModule=xr,j.isDeclareModuleExports=hr,j.isDeclareOpaqueType=qr,j.isDeclareTypeAlias=mr,j.isDeclareVariable=Tr,j.isDeclaredPredicate=rr,j.isDecorator=Ci,j.isDirective=h,j.isDirectiveLiteral=f,j.isDoExpression=ri,j.isDoWhileStatement=Y,j.isEmptyStatement=_,j.isEmptyTypeAnnotation=Kr,j.isEnumBody=io,j.isEnumBooleanBody=Ut,j.isEnumBooleanMember=se,j.isEnumDeclaration=vr,j.isEnumDefaultedMember=qe,j.isEnumMember=so,j.isEnumNumberBody=Rt,j.isEnumNumberMember=Te,j.isEnumStringBody=p,j.isEnumStringMember=Oe,j.isEnumSymbolBody=y,j.isExistsTypeAnnotation=Bt,j.isExportAllDeclaration=de,j.isExportDeclaration=Wa,j.isExportDefaultDeclaration=Ee,j.isExportDefaultSpecifier=Ni,j.isExportNamedDeclaration=Ae,j.isExportNamespaceSpecifier=Xt,j.isExportSpecifier=Ce,j.isExpression=Hs,j.isExpressionStatement=z,j.isExpressionWrapper=pe,j.isFile=B,j.isFlow=Qa,j.isFlowBaseAnnotation=eo,j.isFlowDeclaration=to,j.isFlowPredicate=ro,j.isFlowType=Za,j.isFor=Be,j.isForInStatement=Z,j.isForOfStatement=Fe,j.isForStatement=X,j.isForXStatement=lt,j.isFunction=St,j.isFunctionDeclaration=I,j.isFunctionExpression=E,j.isFunctionParent=dr,j.isFunctionTypeAnnotation=Jt,j.isFunctionTypeParam=zt,j.isGenericTypeAnnotation=ir,j.isIdentifier=N,j.isIfStatement=V,j.isImmutable=ja,j.isImport=ct,j.isImportAttribute=xi,j.isImportDeclaration=ve,j.isImportDefaultSpecifier=Ke,j.isImportExpression=We,j.isImportNamespaceSpecifier=Xe,j.isImportOrExportDeclaration=En,j.isImportSpecifier=Ge,j.isIndexedAccessType=et,j.isInferredPredicate=yr,j.isInterfaceDeclaration=Yt,j.isInterfaceExtends=Kt,j.isInterfaceTypeAnnotation=Gr,j.isInterpreterDirective=D,j.isIntersectionTypeAnnotation=wt,j.isJSX=no,j.isJSXAttribute=Le,j.isJSXClosingElement=Lr,j.isJSXClosingFragment=ci,j.isJSXElement=wr,j.isJSXEmptyExpression=Ti,j.isJSXExpressionContainer=yi,j.isJSXFragment=gi,j.isJSXIdentifier=bi,j.isJSXMemberExpression=ni,j.isJSXNamespacedName=Si,j.isJSXOpeningElement=ai,j.isJSXOpeningFragment=ui,j.isJSXSpreadAttribute=oi,j.isJSXSpreadChild=Ei,j.isJSXText=Ai,j.isLVal=Ba,j.isLabeledStatement=te,j.isLiteral=Ua,j.isLogicalExpression=re,j.isLoop=v,j.isMemberExpression=ue,j.isMetaProperty=at,j.isMethod=Ha,j.isMiscellaneous=ao,j.isMixedTypeAnnotation=Er,j.isModuleDeclaration=To,j.isModuleExpression=vi,j.isModuleSpecifier=Ja,j.isNewExpression=ae,j.isNoop=Pi,j.isNullLiteral=J,j.isNullLiteralTypeAnnotation=_t,j.isNullableTypeAnnotation=sr,j.isNumberLiteral=po,j.isNumberLiteralTypeAnnotation=Ft,j.isNumberTypeAnnotation=nr,j.isNumericLiteral=R,j.isObjectExpression=oe,j.isObjectMember=Ga,j.isObjectMethod=le,j.isObjectPattern=ge,j.isObjectProperty=ye,j.isObjectTypeAnnotation=ar,j.isObjectTypeCallProperty=Yr,j.isObjectTypeIndexer=Vr,j.isObjectTypeInternalSlot=Nr,j.isObjectTypeProperty=br,j.isObjectTypeSpreadProperty=Dr,j.isOpaqueType=or,j.isOptionalCallExpression=Wt,j.isOptionalIndexedAccessType=Ot,j.isOptionalMemberExpression=dt,j.isParenthesizedExpression=Me,j.isPattern=Va,j.isPatternLike=Ma,j.isPipelineBareFunction=Sr,j.isPipelinePrimaryTopicReference=fi,j.isPipelineTopicExpression=wi,j.isPlaceholder=li,j.isPrivate=$a,j.isPrivateName=er,j.isProgram=H,j.isProperty=Ka,j.isPureish=Ra,j.isQualifiedTypeIdentifier=Xr,j.isRecordExpression=Di,j.isRegExpLiteral=Q,j.isRegexLiteral=fo,j.isRestElement=Se,j.isRestProperty=ho,j.isReturnStatement=Ie,j.isScopable=Ks,j.isSequenceExpression=De,j.isSpreadElement=$e,j.isSpreadProperty=mo,j.isStandardized=qs,j.isStatement=Xs,j.isStaticBlock=Br,j.isStringLiteral=U,j.isStringLiteralTypeAnnotation=ur,j.isStringTypeAnnotation=cr,j.isSuper=ot,j.isSwitchCase=xe,j.isSwitchStatement=Re,j.isSymbolTypeAnnotation=lr,j.isTSAnyKeyword=K,j.isTSArrayType=is,j.isTSAsExpression=Ps,j.isTSBaseType=lo,j.isTSBigIntKeyword=ee,j.isTSBooleanKeyword=$,j.isTSCallSignatureDeclaration=i,j.isTSConditionalType=ls,j.isTSConstructSignatureDeclaration=o,j.isTSConstructorType=Qi,j.isTSDeclareFunction=x,j.isTSDeclareMethod=r,j.isTSEntityName=Fa,j.isTSEnumBody=xs,j.isTSEnumDeclaration=Cs,j.isTSEnumMember=Ns,j.isTSExportAssignment=ks,j.isTSExpressionWithTypeArguments=Es,j.isTSExternalModuleReference=ws,j.isTSFunctionType=$i,j.isTSImportEqualsDeclaration=Ls,j.isTSImportType=vs,j.isTSIndexSignature=L,j.isTSIndexedAccessType=hs,j.isTSInferType=ps,j.isTSInstantiationExpression=gs,j.isTSInterfaceBody=Ss,j.isTSInterfaceDeclaration=bs,j.isTSIntersectionType=cs,j.isTSIntrinsicKeyword=me,j.isTSLiteralType=ys,j.isTSMappedType=ms,j.isTSMethodSignature=C,j.isTSModuleBlock=Os,j.isTSModuleDeclaration=Ds,j.isTSNamedTupleMember=os,j.isTSNamespaceExportDeclaration=Ms,j.isTSNeverKeyword=_e,j.isTSNonNullExpression=Rs,j.isTSNullKeyword=Ne,j.isTSNumberKeyword=ke,j.isTSObjectKeyword=Qe,j.isTSOptionalType=ns,j.isTSParameterProperty=Ri,j.isTSParenthesizedType=fs,j.isTSPropertySignature=T,j.isTSQualifiedName=e,j.isTSRestType=as,j.isTSSatisfiesExpression=Is,j.isTSStringKeyword=mt,j.isTSSymbolKeyword=Ze,j.isTSTemplateLiteralType=Ts,j.isTSThisType=zi,j.isTSTupleType=ss,j.isTSType=co,j.isTSTypeAliasDeclaration=As,j.isTSTypeAnnotation=Bs,j.isTSTypeAssertion=_s,j.isTSTypeElement=uo,j.isTSTypeLiteral=rs,j.isTSTypeOperator=ds,j.isTSTypeParameter=js,j.isTSTypeParameterDeclaration=Us,j.isTSTypeParameterInstantiation=Fs,j.isTSTypePredicate=es,j.isTSTypeQuery=ts,j.isTSTypeReference=Zi,j.isTSUndefinedKeyword=ut,j.isTSUnionType=us,j.isTSUnknownKeyword=Rr,j.isTSVoidKeyword=Ar,j.isTaggedTemplateExpression=ie,j.isTemplateElement=G,j.isTemplateLiteral=be,j.isTerminatorless=b,j.isThisExpression=Ye,j.isThisTypeAnnotation=Wr,j.isThrowStatement=ce,j.isTopicReference=Li,j.isTryStatement=he,j.isTupleExpression=pi,j.isTupleTypeAnnotation=xt,j.isTypeAlias=Jr,j.isTypeAnnotation=zr,j.isTypeCastExpression=je,j.isTypeParameter=$r,j.isTypeParameterDeclaration=Or,j.isTypeParameterInstantiation=fr,j.isTypeScript=oo,j.isTypeofTypeAnnotation=pr,j.isUnaryExpression=fe,j.isUnaryLike=Ya,j.isUnionTypeAnnotation=Qr,j.isUpdateExpression=Ve,j.isUserWhitespacable=qa,j.isV8IntrinsicIdentifier=Ii,j.isVariableDeclaration=Je,j.isVariableDeclarator=it,j.isVariance=Zr,j.isVoidTypeAnnotation=ei,j.isWhile=W,j.isWhileStatement=pt,j.isWithStatement=ft,j.isYieldExpression=Ue;var t=Bo(),n=Oa();function c(a,s){return!a||a.type!=="ArrayExpression"?!1:s==null||(0,t.default)(a,s)}function u(a,s){return!a||a.type!=="AssignmentExpression"?!1:s==null||(0,t.default)(a,s)}function d(a,s){return!a||a.type!=="BinaryExpression"?!1:s==null||(0,t.default)(a,s)}function D(a,s){return!a||a.type!=="InterpreterDirective"?!1:s==null||(0,t.default)(a,s)}function h(a,s){return!a||a.type!=="Directive"?!1:s==null||(0,t.default)(a,s)}function f(a,s){return!a||a.type!=="DirectiveLiteral"?!1:s==null||(0,t.default)(a,s)}function l(a,s){return!a||a.type!=="BlockStatement"?!1:s==null||(0,t.default)(a,s)}function O(a,s){return!a||a.type!=="BreakStatement"?!1:s==null||(0,t.default)(a,s)}function m(a,s){return!a||a.type!=="CallExpression"?!1:s==null||(0,t.default)(a,s)}function M(a,s){return!a||a.type!=="CatchClause"?!1:s==null||(0,t.default)(a,s)}function w(a,s){return!a||a.type!=="ConditionalExpression"?!1:s==null||(0,t.default)(a,s)}function P(a,s){return!a||a.type!=="ContinueStatement"?!1:s==null||(0,t.default)(a,s)}function ne(a,s){return!a||a.type!=="DebuggerStatement"?!1:s==null||(0,t.default)(a,s)}function Y(a,s){return!a||a.type!=="DoWhileStatement"?!1:s==null||(0,t.default)(a,s)}function _(a,s){return!a||a.type!=="EmptyStatement"?!1:s==null||(0,t.default)(a,s)}function z(a,s){return!a||a.type!=="ExpressionStatement"?!1:s==null||(0,t.default)(a,s)}function B(a,s){return!a||a.type!=="File"?!1:s==null||(0,t.default)(a,s)}function Z(a,s){return!a||a.type!=="ForInStatement"?!1:s==null||(0,t.default)(a,s)}function X(a,s){return!a||a.type!=="ForStatement"?!1:s==null||(0,t.default)(a,s)}function I(a,s){return!a||a.type!=="FunctionDeclaration"?!1:s==null||(0,t.default)(a,s)}function E(a,s){return!a||a.type!=="FunctionExpression"?!1:s==null||(0,t.default)(a,s)}function N(a,s){return!a||a.type!=="Identifier"?!1:s==null||(0,t.default)(a,s)}function V(a,s){return!a||a.type!=="IfStatement"?!1:s==null||(0,t.default)(a,s)}function te(a,s){return!a||a.type!=="LabeledStatement"?!1:s==null||(0,t.default)(a,s)}function U(a,s){return!a||a.type!=="StringLiteral"?!1:s==null||(0,t.default)(a,s)}function R(a,s){return!a||a.type!=="NumericLiteral"?!1:s==null||(0,t.default)(a,s)}function J(a,s){return!a||a.type!=="NullLiteral"?!1:s==null||(0,t.default)(a,s)}function F(a,s){return!a||a.type!=="BooleanLiteral"?!1:s==null||(0,t.default)(a,s)}function Q(a,s){return!a||a.type!=="RegExpLiteral"?!1:s==null||(0,t.default)(a,s)}function re(a,s){return!a||a.type!=="LogicalExpression"?!1:s==null||(0,t.default)(a,s)}function ue(a,s){return!a||a.type!=="MemberExpression"?!1:s==null||(0,t.default)(a,s)}function ae(a,s){return!a||a.type!=="NewExpression"?!1:s==null||(0,t.default)(a,s)}function H(a,s){return!a||a.type!=="Program"?!1:s==null||(0,t.default)(a,s)}function oe(a,s){return!a||a.type!=="ObjectExpression"?!1:s==null||(0,t.default)(a,s)}function le(a,s){return!a||a.type!=="ObjectMethod"?!1:s==null||(0,t.default)(a,s)}function ye(a,s){return!a||a.type!=="ObjectProperty"?!1:s==null||(0,t.default)(a,s)}function Se(a,s){return!a||a.type!=="RestElement"?!1:s==null||(0,t.default)(a,s)}function Ie(a,s){return!a||a.type!=="ReturnStatement"?!1:s==null||(0,t.default)(a,s)}function De(a,s){return!a||a.type!=="SequenceExpression"?!1:s==null||(0,t.default)(a,s)}function Me(a,s){return!a||a.type!=="ParenthesizedExpression"?!1:s==null||(0,t.default)(a,s)}function xe(a,s){return!a||a.type!=="SwitchCase"?!1:s==null||(0,t.default)(a,s)}function Re(a,s){return!a||a.type!=="SwitchStatement"?!1:s==null||(0,t.default)(a,s)}function Ye(a,s){return!a||a.type!=="ThisExpression"?!1:s==null||(0,t.default)(a,s)}function ce(a,s){return!a||a.type!=="ThrowStatement"?!1:s==null||(0,t.default)(a,s)}function he(a,s){return!a||a.type!=="TryStatement"?!1:s==null||(0,t.default)(a,s)}function fe(a,s){return!a||a.type!=="UnaryExpression"?!1:s==null||(0,t.default)(a,s)}function Ve(a,s){return!a||a.type!=="UpdateExpression"?!1:s==null||(0,t.default)(a,s)}function Je(a,s){return!a||a.type!=="VariableDeclaration"?!1:s==null||(0,t.default)(a,s)}function it(a,s){return!a||a.type!=="VariableDeclarator"?!1:s==null||(0,t.default)(a,s)}function pt(a,s){return!a||a.type!=="WhileStatement"?!1:s==null||(0,t.default)(a,s)}function ft(a,s){return!a||a.type!=="WithStatement"?!1:s==null||(0,t.default)(a,s)}function yt(a,s){return!a||a.type!=="AssignmentPattern"?!1:s==null||(0,t.default)(a,s)}function Et(a,s){return!a||a.type!=="ArrayPattern"?!1:s==null||(0,t.default)(a,s)}function bt(a,s){return!a||a.type!=="ArrowFunctionExpression"?!1:s==null||(0,t.default)(a,s)}function gt(a,s){return!a||a.type!=="ClassBody"?!1:s==null||(0,t.default)(a,s)}function Nt(a,s){return!a||a.type!=="ClassExpression"?!1:s==null||(0,t.default)(a,s)}function It(a,s){return!a||a.type!=="ClassDeclaration"?!1:s==null||(0,t.default)(a,s)}function de(a,s){return!a||a.type!=="ExportAllDeclaration"?!1:s==null||(0,t.default)(a,s)}function Ee(a,s){return!a||a.type!=="ExportDefaultDeclaration"?!1:s==null||(0,t.default)(a,s)}function Ae(a,s){return!a||a.type!=="ExportNamedDeclaration"?!1:s==null||(0,t.default)(a,s)}function Ce(a,s){return!a||a.type!=="ExportSpecifier"?!1:s==null||(0,t.default)(a,s)}function Fe(a,s){return!a||a.type!=="ForOfStatement"?!1:s==null||(0,t.default)(a,s)}function ve(a,s){return!a||a.type!=="ImportDeclaration"?!1:s==null||(0,t.default)(a,s)}function Ke(a,s){return!a||a.type!=="ImportDefaultSpecifier"?!1:s==null||(0,t.default)(a,s)}function Xe(a,s){return!a||a.type!=="ImportNamespaceSpecifier"?!1:s==null||(0,t.default)(a,s)}function Ge(a,s){return!a||a.type!=="ImportSpecifier"?!1:s==null||(0,t.default)(a,s)}function We(a,s){return!a||a.type!=="ImportExpression"?!1:s==null||(0,t.default)(a,s)}function at(a,s){return!a||a.type!=="MetaProperty"?!1:s==null||(0,t.default)(a,s)}function tt(a,s){return!a||a.type!=="ClassMethod"?!1:s==null||(0,t.default)(a,s)}function ge(a,s){return!a||a.type!=="ObjectPattern"?!1:s==null||(0,t.default)(a,s)}function $e(a,s){return!a||a.type!=="SpreadElement"?!1:s==null||(0,t.default)(a,s)}function ot(a,s){return!a||a.type!=="Super"?!1:s==null||(0,t.default)(a,s)}function ie(a,s){return!a||a.type!=="TaggedTemplateExpression"?!1:s==null||(0,t.default)(a,s)}function G(a,s){return!a||a.type!=="TemplateElement"?!1:s==null||(0,t.default)(a,s)}function be(a,s){return!a||a.type!=="TemplateLiteral"?!1:s==null||(0,t.default)(a,s)}function Ue(a,s){return!a||a.type!=="YieldExpression"?!1:s==null||(0,t.default)(a,s)}function He(a,s){return!a||a.type!=="AwaitExpression"?!1:s==null||(0,t.default)(a,s)}function ct(a,s){return!a||a.type!=="Import"?!1:s==null||(0,t.default)(a,s)}function Vt(a,s){return!a||a.type!=="BigIntLiteral"?!1:s==null||(0,t.default)(a,s)}function Xt(a,s){return!a||a.type!=="ExportNamespaceSpecifier"?!1:s==null||(0,t.default)(a,s)}function dt(a,s){return!a||a.type!=="OptionalMemberExpression"?!1:s==null||(0,t.default)(a,s)}function Wt(a,s){return!a||a.type!=="OptionalCallExpression"?!1:s==null||(0,t.default)(a,s)}function Dt(a,s){return!a||a.type!=="ClassProperty"?!1:s==null||(0,t.default)(a,s)}function jt(a,s){return!a||a.type!=="ClassAccessorProperty"?!1:s==null||(0,t.default)(a,s)}function qt(a,s){return!a||a.type!=="ClassPrivateProperty"?!1:s==null||(0,t.default)(a,s)}function Ht(a,s){return!a||a.type!=="ClassPrivateMethod"?!1:s==null||(0,t.default)(a,s)}function er(a,s){return!a||a.type!=="PrivateName"?!1:s==null||(0,t.default)(a,s)}function Br(a,s){return!a||a.type!=="StaticBlock"?!1:s==null||(0,t.default)(a,s)}function Fr(a,s){return!a||a.type!=="AnyTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function Ir(a,s){return!a||a.type!=="ArrayTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function Ur(a,s){return!a||a.type!=="BooleanTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function Gt(a,s){return!a||a.type!=="BooleanLiteralTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function _t(a,s){return!a||a.type!=="NullLiteralTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function _r(a,s){return!a||a.type!=="ClassImplements"?!1:s==null||(0,t.default)(a,s)}function jr(a,s){return!a||a.type!=="DeclareClass"?!1:s==null||(0,t.default)(a,s)}function tr(a,s){return!a||a.type!=="DeclareFunction"?!1:s==null||(0,t.default)(a,s)}function Lt(a,s){return!a||a.type!=="DeclareInterface"?!1:s==null||(0,t.default)(a,s)}function xr(a,s){return!a||a.type!=="DeclareModule"?!1:s==null||(0,t.default)(a,s)}function hr(a,s){return!a||a.type!=="DeclareModuleExports"?!1:s==null||(0,t.default)(a,s)}function mr(a,s){return!a||a.type!=="DeclareTypeAlias"?!1:s==null||(0,t.default)(a,s)}function qr(a,s){return!a||a.type!=="DeclareOpaqueType"?!1:s==null||(0,t.default)(a,s)}function Tr(a,s){return!a||a.type!=="DeclareVariable"?!1:s==null||(0,t.default)(a,s)}function Hr(a,s){return!a||a.type!=="DeclareExportDeclaration"?!1:s==null||(0,t.default)(a,s)}function Cr(a,s){return!a||a.type!=="DeclareExportAllDeclaration"?!1:s==null||(0,t.default)(a,s)}function rr(a,s){return!a||a.type!=="DeclaredPredicate"?!1:s==null||(0,t.default)(a,s)}function Bt(a,s){return!a||a.type!=="ExistsTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function Jt(a,s){return!a||a.type!=="FunctionTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function zt(a,s){return!a||a.type!=="FunctionTypeParam"?!1:s==null||(0,t.default)(a,s)}function ir(a,s){return!a||a.type!=="GenericTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function yr(a,s){return!a||a.type!=="InferredPredicate"?!1:s==null||(0,t.default)(a,s)}function Kt(a,s){return!a||a.type!=="InterfaceExtends"?!1:s==null||(0,t.default)(a,s)}function Yt(a,s){return!a||a.type!=="InterfaceDeclaration"?!1:s==null||(0,t.default)(a,s)}function Gr(a,s){return!a||a.type!=="InterfaceTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function wt(a,s){return!a||a.type!=="IntersectionTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function Er(a,s){return!a||a.type!=="MixedTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function Kr(a,s){return!a||a.type!=="EmptyTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function sr(a,s){return!a||a.type!=="NullableTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function Ft(a,s){return!a||a.type!=="NumberLiteralTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function nr(a,s){return!a||a.type!=="NumberTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function ar(a,s){return!a||a.type!=="ObjectTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function Nr(a,s){return!a||a.type!=="ObjectTypeInternalSlot"?!1:s==null||(0,t.default)(a,s)}function Yr(a,s){return!a||a.type!=="ObjectTypeCallProperty"?!1:s==null||(0,t.default)(a,s)}function Vr(a,s){return!a||a.type!=="ObjectTypeIndexer"?!1:s==null||(0,t.default)(a,s)}function br(a,s){return!a||a.type!=="ObjectTypeProperty"?!1:s==null||(0,t.default)(a,s)}function Dr(a,s){return!a||a.type!=="ObjectTypeSpreadProperty"?!1:s==null||(0,t.default)(a,s)}function or(a,s){return!a||a.type!=="OpaqueType"?!1:s==null||(0,t.default)(a,s)}function Xr(a,s){return!a||a.type!=="QualifiedTypeIdentifier"?!1:s==null||(0,t.default)(a,s)}function ur(a,s){return!a||a.type!=="StringLiteralTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function cr(a,s){return!a||a.type!=="StringTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function lr(a,s){return!a||a.type!=="SymbolTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function Wr(a,s){return!a||a.type!=="ThisTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function xt(a,s){return!a||a.type!=="TupleTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function pr(a,s){return!a||a.type!=="TypeofTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function Jr(a,s){return!a||a.type!=="TypeAlias"?!1:s==null||(0,t.default)(a,s)}function zr(a,s){return!a||a.type!=="TypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function je(a,s){return!a||a.type!=="TypeCastExpression"?!1:s==null||(0,t.default)(a,s)}function $r(a,s){return!a||a.type!=="TypeParameter"?!1:s==null||(0,t.default)(a,s)}function Or(a,s){return!a||a.type!=="TypeParameterDeclaration"?!1:s==null||(0,t.default)(a,s)}function fr(a,s){return!a||a.type!=="TypeParameterInstantiation"?!1:s==null||(0,t.default)(a,s)}function Qr(a,s){return!a||a.type!=="UnionTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function Zr(a,s){return!a||a.type!=="Variance"?!1:s==null||(0,t.default)(a,s)}function ei(a,s){return!a||a.type!=="VoidTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function vr(a,s){return!a||a.type!=="EnumDeclaration"?!1:s==null||(0,t.default)(a,s)}function Ut(a,s){return!a||a.type!=="EnumBooleanBody"?!1:s==null||(0,t.default)(a,s)}function Rt(a,s){return!a||a.type!=="EnumNumberBody"?!1:s==null||(0,t.default)(a,s)}function p(a,s){return!a||a.type!=="EnumStringBody"?!1:s==null||(0,t.default)(a,s)}function y(a,s){return!a||a.type!=="EnumSymbolBody"?!1:s==null||(0,t.default)(a,s)}function se(a,s){return!a||a.type!=="EnumBooleanMember"?!1:s==null||(0,t.default)(a,s)}function Te(a,s){return!a||a.type!=="EnumNumberMember"?!1:s==null||(0,t.default)(a,s)}function Oe(a,s){return!a||a.type!=="EnumStringMember"?!1:s==null||(0,t.default)(a,s)}function qe(a,s){return!a||a.type!=="EnumDefaultedMember"?!1:s==null||(0,t.default)(a,s)}function et(a,s){return!a||a.type!=="IndexedAccessType"?!1:s==null||(0,t.default)(a,s)}function Ot(a,s){return!a||a.type!=="OptionalIndexedAccessType"?!1:s==null||(0,t.default)(a,s)}function Le(a,s){return!a||a.type!=="JSXAttribute"?!1:s==null||(0,t.default)(a,s)}function Lr(a,s){return!a||a.type!=="JSXClosingElement"?!1:s==null||(0,t.default)(a,s)}function wr(a,s){return!a||a.type!=="JSXElement"?!1:s==null||(0,t.default)(a,s)}function Ti(a,s){return!a||a.type!=="JSXEmptyExpression"?!1:s==null||(0,t.default)(a,s)}function yi(a,s){return!a||a.type!=="JSXExpressionContainer"?!1:s==null||(0,t.default)(a,s)}function Ei(a,s){return!a||a.type!=="JSXSpreadChild"?!1:s==null||(0,t.default)(a,s)}function bi(a,s){return!a||a.type!=="JSXIdentifier"?!1:s==null||(0,t.default)(a,s)}function ni(a,s){return!a||a.type!=="JSXMemberExpression"?!1:s==null||(0,t.default)(a,s)}function Si(a,s){return!a||a.type!=="JSXNamespacedName"?!1:s==null||(0,t.default)(a,s)}function ai(a,s){return!a||a.type!=="JSXOpeningElement"?!1:s==null||(0,t.default)(a,s)}function oi(a,s){return!a||a.type!=="JSXSpreadAttribute"?!1:s==null||(0,t.default)(a,s)}function Ai(a,s){return!a||a.type!=="JSXText"?!1:s==null||(0,t.default)(a,s)}function gi(a,s){return!a||a.type!=="JSXFragment"?!1:s==null||(0,t.default)(a,s)}function ui(a,s){return!a||a.type!=="JSXOpeningFragment"?!1:s==null||(0,t.default)(a,s)}function ci(a,s){return!a||a.type!=="JSXClosingFragment"?!1:s==null||(0,t.default)(a,s)}function Pi(a,s){return!a||a.type!=="Noop"?!1:s==null||(0,t.default)(a,s)}function li(a,s){return!a||a.type!=="Placeholder"?!1:s==null||(0,t.default)(a,s)}function Ii(a,s){return!a||a.type!=="V8IntrinsicIdentifier"?!1:s==null||(0,t.default)(a,s)}function _i(a,s){return!a||a.type!=="ArgumentPlaceholder"?!1:s==null||(0,t.default)(a,s)}function ti(a,s){return!a||a.type!=="BindExpression"?!1:s==null||(0,t.default)(a,s)}function xi(a,s){return!a||a.type!=="ImportAttribute"?!1:s==null||(0,t.default)(a,s)}function Ci(a,s){return!a||a.type!=="Decorator"?!1:s==null||(0,t.default)(a,s)}function ri(a,s){return!a||a.type!=="DoExpression"?!1:s==null||(0,t.default)(a,s)}function Ni(a,s){return!a||a.type!=="ExportDefaultSpecifier"?!1:s==null||(0,t.default)(a,s)}function Di(a,s){return!a||a.type!=="RecordExpression"?!1:s==null||(0,t.default)(a,s)}function pi(a,s){return!a||a.type!=="TupleExpression"?!1:s==null||(0,t.default)(a,s)}function Oi(a,s){return!a||a.type!=="DecimalLiteral"?!1:s==null||(0,t.default)(a,s)}function vi(a,s){return!a||a.type!=="ModuleExpression"?!1:s==null||(0,t.default)(a,s)}function Li(a,s){return!a||a.type!=="TopicReference"?!1:s==null||(0,t.default)(a,s)}function wi(a,s){return!a||a.type!=="PipelineTopicExpression"?!1:s==null||(0,t.default)(a,s)}function Sr(a,s){return!a||a.type!=="PipelineBareFunction"?!1:s==null||(0,t.default)(a,s)}function fi(a,s){return!a||a.type!=="PipelinePrimaryTopicReference"?!1:s==null||(0,t.default)(a,s)}function Ri(a,s){return!a||a.type!=="TSParameterProperty"?!1:s==null||(0,t.default)(a,s)}function x(a,s){return!a||a.type!=="TSDeclareFunction"?!1:s==null||(0,t.default)(a,s)}function r(a,s){return!a||a.type!=="TSDeclareMethod"?!1:s==null||(0,t.default)(a,s)}function e(a,s){return!a||a.type!=="TSQualifiedName"?!1:s==null||(0,t.default)(a,s)}function i(a,s){return!a||a.type!=="TSCallSignatureDeclaration"?!1:s==null||(0,t.default)(a,s)}function o(a,s){return!a||a.type!=="TSConstructSignatureDeclaration"?!1:s==null||(0,t.default)(a,s)}function T(a,s){return!a||a.type!=="TSPropertySignature"?!1:s==null||(0,t.default)(a,s)}function C(a,s){return!a||a.type!=="TSMethodSignature"?!1:s==null||(0,t.default)(a,s)}function L(a,s){return!a||a.type!=="TSIndexSignature"?!1:s==null||(0,t.default)(a,s)}function K(a,s){return!a||a.type!=="TSAnyKeyword"?!1:s==null||(0,t.default)(a,s)}function $(a,s){return!a||a.type!=="TSBooleanKeyword"?!1:s==null||(0,t.default)(a,s)}function ee(a,s){return!a||a.type!=="TSBigIntKeyword"?!1:s==null||(0,t.default)(a,s)}function me(a,s){return!a||a.type!=="TSIntrinsicKeyword"?!1:s==null||(0,t.default)(a,s)}function _e(a,s){return!a||a.type!=="TSNeverKeyword"?!1:s==null||(0,t.default)(a,s)}function Ne(a,s){return!a||a.type!=="TSNullKeyword"?!1:s==null||(0,t.default)(a,s)}function ke(a,s){return!a||a.type!=="TSNumberKeyword"?!1:s==null||(0,t.default)(a,s)}function Qe(a,s){return!a||a.type!=="TSObjectKeyword"?!1:s==null||(0,t.default)(a,s)}function mt(a,s){return!a||a.type!=="TSStringKeyword"?!1:s==null||(0,t.default)(a,s)}function Ze(a,s){return!a||a.type!=="TSSymbolKeyword"?!1:s==null||(0,t.default)(a,s)}function ut(a,s){return!a||a.type!=="TSUndefinedKeyword"?!1:s==null||(0,t.default)(a,s)}function Rr(a,s){return!a||a.type!=="TSUnknownKeyword"?!1:s==null||(0,t.default)(a,s)}function Ar(a,s){return!a||a.type!=="TSVoidKeyword"?!1:s==null||(0,t.default)(a,s)}function zi(a,s){return!a||a.type!=="TSThisType"?!1:s==null||(0,t.default)(a,s)}function $i(a,s){return!a||a.type!=="TSFunctionType"?!1:s==null||(0,t.default)(a,s)}function Qi(a,s){return!a||a.type!=="TSConstructorType"?!1:s==null||(0,t.default)(a,s)}function Zi(a,s){return!a||a.type!=="TSTypeReference"?!1:s==null||(0,t.default)(a,s)}function es(a,s){return!a||a.type!=="TSTypePredicate"?!1:s==null||(0,t.default)(a,s)}function ts(a,s){return!a||a.type!=="TSTypeQuery"?!1:s==null||(0,t.default)(a,s)}function rs(a,s){return!a||a.type!=="TSTypeLiteral"?!1:s==null||(0,t.default)(a,s)}function is(a,s){return!a||a.type!=="TSArrayType"?!1:s==null||(0,t.default)(a,s)}function ss(a,s){return!a||a.type!=="TSTupleType"?!1:s==null||(0,t.default)(a,s)}function ns(a,s){return!a||a.type!=="TSOptionalType"?!1:s==null||(0,t.default)(a,s)}function as(a,s){return!a||a.type!=="TSRestType"?!1:s==null||(0,t.default)(a,s)}function os(a,s){return!a||a.type!=="TSNamedTupleMember"?!1:s==null||(0,t.default)(a,s)}function us(a,s){return!a||a.type!=="TSUnionType"?!1:s==null||(0,t.default)(a,s)}function cs(a,s){return!a||a.type!=="TSIntersectionType"?!1:s==null||(0,t.default)(a,s)}function ls(a,s){return!a||a.type!=="TSConditionalType"?!1:s==null||(0,t.default)(a,s)}function ps(a,s){return!a||a.type!=="TSInferType"?!1:s==null||(0,t.default)(a,s)}function fs(a,s){return!a||a.type!=="TSParenthesizedType"?!1:s==null||(0,t.default)(a,s)}function ds(a,s){return!a||a.type!=="TSTypeOperator"?!1:s==null||(0,t.default)(a,s)}function hs(a,s){return!a||a.type!=="TSIndexedAccessType"?!1:s==null||(0,t.default)(a,s)}function ms(a,s){return!a||a.type!=="TSMappedType"?!1:s==null||(0,t.default)(a,s)}function Ts(a,s){return!a||a.type!=="TSTemplateLiteralType"?!1:s==null||(0,t.default)(a,s)}function ys(a,s){return!a||a.type!=="TSLiteralType"?!1:s==null||(0,t.default)(a,s)}function Es(a,s){return!a||a.type!=="TSExpressionWithTypeArguments"?!1:s==null||(0,t.default)(a,s)}function bs(a,s){return!a||a.type!=="TSInterfaceDeclaration"?!1:s==null||(0,t.default)(a,s)}function Ss(a,s){return!a||a.type!=="TSInterfaceBody"?!1:s==null||(0,t.default)(a,s)}function As(a,s){return!a||a.type!=="TSTypeAliasDeclaration"?!1:s==null||(0,t.default)(a,s)}function gs(a,s){return!a||a.type!=="TSInstantiationExpression"?!1:s==null||(0,t.default)(a,s)}function Ps(a,s){return!a||a.type!=="TSAsExpression"?!1:s==null||(0,t.default)(a,s)}function Is(a,s){return!a||a.type!=="TSSatisfiesExpression"?!1:s==null||(0,t.default)(a,s)}function _s(a,s){return!a||a.type!=="TSTypeAssertion"?!1:s==null||(0,t.default)(a,s)}function xs(a,s){return!a||a.type!=="TSEnumBody"?!1:s==null||(0,t.default)(a,s)}function Cs(a,s){return!a||a.type!=="TSEnumDeclaration"?!1:s==null||(0,t.default)(a,s)}function Ns(a,s){return!a||a.type!=="TSEnumMember"?!1:s==null||(0,t.default)(a,s)}function Ds(a,s){return!a||a.type!=="TSModuleDeclaration"?!1:s==null||(0,t.default)(a,s)}function Os(a,s){return!a||a.type!=="TSModuleBlock"?!1:s==null||(0,t.default)(a,s)}function vs(a,s){return!a||a.type!=="TSImportType"?!1:s==null||(0,t.default)(a,s)}function Ls(a,s){return!a||a.type!=="TSImportEqualsDeclaration"?!1:s==null||(0,t.default)(a,s)}function ws(a,s){return!a||a.type!=="TSExternalModuleReference"?!1:s==null||(0,t.default)(a,s)}function Rs(a,s){return!a||a.type!=="TSNonNullExpression"?!1:s==null||(0,t.default)(a,s)}function ks(a,s){return!a||a.type!=="TSExportAssignment"?!1:s==null||(0,t.default)(a,s)}function Ms(a,s){return!a||a.type!=="TSNamespaceExportDeclaration"?!1:s==null||(0,t.default)(a,s)}function Bs(a,s){return!a||a.type!=="TSTypeAnnotation"?!1:s==null||(0,t.default)(a,s)}function Fs(a,s){return!a||a.type!=="TSTypeParameterInstantiation"?!1:s==null||(0,t.default)(a,s)}function Us(a,s){return!a||a.type!=="TSTypeParameterDeclaration"?!1:s==null||(0,t.default)(a,s)}function js(a,s){return!a||a.type!=="TSTypeParameter"?!1:s==null||(0,t.default)(a,s)}function qs(a,s){if(!a)return!1;switch(a.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportExpression":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":break;case"Placeholder":switch(a.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return s==null||(0,t.default)(a,s)}function Hs(a,s){if(!a)return!1;switch(a.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"ImportExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(a.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return s==null||(0,t.default)(a,s)}function Gs(a,s){if(!a)return!1;switch(a.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return s==null||(0,t.default)(a,s)}function Ks(a,s){if(!a)return!1;switch(a.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(a.expectedNode==="BlockStatement")break;default:return!1}return s==null||(0,t.default)(a,s)}function Ys(a,s){if(!a)return!1;switch(a.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(a.expectedNode==="BlockStatement")break;default:return!1}return s==null||(0,t.default)(a,s)}function Vs(a,s){if(!a)return!1;switch(a.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(a.expectedNode==="BlockStatement")break;default:return!1}return s==null||(0,t.default)(a,s)}function Xs(a,s){if(!a)return!1;switch(a.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(a.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return s==null||(0,t.default)(a,s)}function b(a,s){if(!a)return!1;switch(a.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return s==null||(0,t.default)(a,s)}function S(a,s){if(!a)return!1;switch(a.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return s==null||(0,t.default)(a,s)}function g(a,s){if(!a)return!1;switch(a.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return s==null||(0,t.default)(a,s)}function v(a,s){if(!a)return!1;switch(a.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return s==null||(0,t.default)(a,s)}function W(a,s){if(!a)return!1;switch(a.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return s==null||(0,t.default)(a,s)}function pe(a,s){if(!a)return!1;switch(a.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return s==null||(0,t.default)(a,s)}function Be(a,s){if(!a)return!1;switch(a.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return s==null||(0,t.default)(a,s)}function lt(a,s){if(!a)return!1;switch(a.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return s==null||(0,t.default)(a,s)}function St(a,s){if(!a)return!1;switch(a.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return s==null||(0,t.default)(a,s)}function dr(a,s){if(!a)return!1;switch(a.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return s==null||(0,t.default)(a,s)}function Ra(a,s){if(!a)return!1;switch(a.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(a.expectedNode==="StringLiteral")break;default:return!1}return s==null||(0,t.default)(a,s)}function ka(a,s){if(!a)return!1;switch(a.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":break;case"Placeholder":if(a.expectedNode==="Declaration")break;default:return!1}return s==null||(0,t.default)(a,s)}function Ma(a,s){if(!a)return!1;switch(a.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(a.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return s==null||(0,t.default)(a,s)}function Ba(a,s){if(!a)return!1;switch(a.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(a.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return s==null||(0,t.default)(a,s)}function Fa(a,s){if(!a)return!1;switch(a.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(a.expectedNode==="Identifier")break;default:return!1}return s==null||(0,t.default)(a,s)}function Ua(a,s){if(!a)return!1;switch(a.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(a.expectedNode==="StringLiteral")break;default:return!1}return s==null||(0,t.default)(a,s)}function ja(a,s){if(!a)return!1;switch(a.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if(a.expectedNode==="StringLiteral")break;default:return!1}return s==null||(0,t.default)(a,s)}function qa(a,s){if(!a)return!1;switch(a.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return s==null||(0,t.default)(a,s)}function Ha(a,s){if(!a)return!1;switch(a.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return s==null||(0,t.default)(a,s)}function Ga(a,s){if(!a)return!1;switch(a.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return s==null||(0,t.default)(a,s)}function Ka(a,s){if(!a)return!1;switch(a.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return s==null||(0,t.default)(a,s)}function Ya(a,s){if(!a)return!1;switch(a.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return s==null||(0,t.default)(a,s)}function Va(a,s){if(!a)return!1;switch(a.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(a.expectedNode==="Pattern")break;default:return!1}return s==null||(0,t.default)(a,s)}function Xa(a,s){if(!a)return!1;switch(a.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return s==null||(0,t.default)(a,s)}function En(a,s){if(!a)return!1;switch(a.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return s==null||(0,t.default)(a,s)}function Wa(a,s){if(!a)return!1;switch(a.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return s==null||(0,t.default)(a,s)}function Ja(a,s){if(!a)return!1;switch(a.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return s==null||(0,t.default)(a,s)}function za(a,s){if(!a)return!1;switch(a.type){case"ClassAccessorProperty":break;default:return!1}return s==null||(0,t.default)(a,s)}function $a(a,s){if(!a)return!1;switch(a.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return s==null||(0,t.default)(a,s)}function Qa(a,s){if(!a)return!1;switch(a.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return s==null||(0,t.default)(a,s)}function Za(a,s){if(!a)return!1;switch(a.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return s==null||(0,t.default)(a,s)}function eo(a,s){if(!a)return!1;switch(a.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return!1}return s==null||(0,t.default)(a,s)}function to(a,s){if(!a)return!1;switch(a.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return!1}return s==null||(0,t.default)(a,s)}function ro(a,s){if(!a)return!1;switch(a.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return s==null||(0,t.default)(a,s)}function io(a,s){if(!a)return!1;switch(a.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return s==null||(0,t.default)(a,s)}function so(a,s){if(!a)return!1;switch(a.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return s==null||(0,t.default)(a,s)}function no(a,s){if(!a)return!1;switch(a.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return!1}return s==null||(0,t.default)(a,s)}function ao(a,s){if(!a)return!1;switch(a.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return s==null||(0,t.default)(a,s)}function oo(a,s){if(!a)return!1;switch(a.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumBody":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return s==null||(0,t.default)(a,s)}function uo(a,s){if(!a)return!1;switch(a.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return s==null||(0,t.default)(a,s)}function co(a,s){if(!a)return!1;switch(a.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return s==null||(0,t.default)(a,s)}function lo(a,s){if(!a)return!1;switch(a.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSTemplateLiteralType":case"TSLiteralType":break;default:return!1}return s==null||(0,t.default)(a,s)}function po(a,s){return(0,n.default)("isNumberLiteral","isNumericLiteral"),!a||a.type!=="NumberLiteral"?!1:s==null||(0,t.default)(a,s)}function fo(a,s){return(0,n.default)("isRegexLiteral","isRegExpLiteral"),!a||a.type!=="RegexLiteral"?!1:s==null||(0,t.default)(a,s)}function ho(a,s){return(0,n.default)("isRestProperty","isRestElement"),!a||a.type!=="RestProperty"?!1:s==null||(0,t.default)(a,s)}function mo(a,s){return(0,n.default)("isSpreadProperty","isSpreadElement"),!a||a.type!=="SpreadProperty"?!1:s==null||(0,t.default)(a,s)}function To(a,s){return(0,n.default)("isModuleDeclaration","isImportOrExportDeclaration"),En(a,s)}return j}var ru;function Ul(){if(ru)return Sn;ru=1,Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.default=n;var t=At();function n(c,u,d){if(!(0,t.isMemberExpression)(c))return!1;const D=Array.isArray(u)?u:u.split("."),h=[];let f;for(f=c;(0,t.isMemberExpression)(f);f=f.object)h.push(f.property);if(h.push(f),h.length<D.length||!d&&h.length>D.length)return!1;for(let l=0,O=h.length-1;l<D.length;l++,O--){const m=h[O];let M;if((0,t.isIdentifier)(m))M=m.name;else if((0,t.isStringLiteral)(m))M=m.value;else if((0,t.isThisExpression)(m))M="this";else return!1;if(D[l]!==M)return!1}return!0}return Sn}var iu;function jl(){if(iu)return bn;iu=1,Object.defineProperty(bn,"__esModule",{value:!0}),bn.default=n;var t=Ul();function n(c,u){const d=c.split(".");return D=>(0,t.default)(D,d,u)}return bn}var su;function Ep(){if(su)return Zs;su=1,Object.defineProperty(Zs,"__esModule",{value:!0}),Zs.default=void 0;var t=jl();const n=(0,t.default)("React.Component");return Zs.default=n,Zs}var Pn={},nu;function bp(){if(nu)return Pn;nu=1,Object.defineProperty(Pn,"__esModule",{value:!0}),Pn.default=t;function t(n){return!!n&&/^[a-z]/.test(n)}return Pn}var In={},_n={},bo={},k={},ki={},So={},vt={},xn={},Cn={},au;function Fo(){if(au)return Cn;au=1,Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.default=n;var t=Pr();function n(c,u){if(c===u)return!0;if(c==null||t.ALIAS_KEYS[u])return!1;const d=t.FLIPPED_ALIAS_KEYS[u];if(d){if(d[0]===c)return!0;for(const D of d)if(c===D)return!0}return!1}return Cn}var Nn={},ou;function ql(){if(ou)return Nn;ou=1,Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.default=n;var t=Pr();function n(c,u){if(c===u)return!0;const d=t.PLACEHOLDERS_ALIAS[c];if(d){for(const D of d)if(u===D)return!0}return!1}return Nn}var uu;function Tn(){if(uu)return xn;uu=1,Object.defineProperty(xn,"__esModule",{value:!0}),xn.default=d;var t=Bo(),n=Fo(),c=ql(),u=Pr();function d(D,h,f){return h?(0,n.default)(h.type,D)?f===void 0?!0:(0,t.default)(h,f):!f&&h.type==="Placeholder"&&D in u.FLIPPED_ALIAS_KEYS?(0,c.default)(h.expectedNode,D):!1:!1}return xn}var Dn={},Ao={},Yi={},cu;function Sp(){if(cu)return Yi;cu=1,Object.defineProperty(Yi,"__esModule",{value:!0}),Yi.isIdentifierChar=l,Yi.isIdentifierName=O,Yi.isIdentifierStart=f;let t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",n="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const c=new RegExp("["+t+"]"),u=new RegExp("["+t+n+"]");t=n=null;const d=[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,4,51,13,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,39,27,10,22,251,41,7,1,17,2,60,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,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,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,200,32,32,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,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,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,229,29,3,0,496,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,16,621,2467,541,1507,4938,6,4191],D=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,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,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,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,343,9,54,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,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,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,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function h(m,M){let w=65536;for(let P=0,ne=M.length;P<ne;P+=2){if(w+=M[P],w>m)return!1;if(w+=M[P+1],w>=m)return!0}return!1}function f(m){return m<65?m===36:m<=90?!0:m<97?m===95:m<=122?!0:m<=65535?m>=170&&c.test(String.fromCharCode(m)):h(m,d)}function l(m){return m<48?m===36:m<58?!0:m<65?!1:m<=90?!0:m<97?m===95:m<=122?!0:m<=65535?m>=170&&u.test(String.fromCharCode(m)):h(m,d)||h(m,D)}function O(m){let M=!0;for(let w=0;w<m.length;w++){let P=m.charCodeAt(w);if((P&64512)===55296&&w+1<m.length){const ne=m.charCodeAt(++w);(ne&64512)===56320&&(P=65536+((P&1023)<<10)+(ne&1023))}if(M){if(M=!1,!f(P))return!1}else if(!l(P))return!1}return!M}return Yi}var di={},lu;function Ap(){if(lu)return di;lu=1,Object.defineProperty(di,"__esModule",{value:!0}),di.isKeyword=l,di.isReservedWord=d,di.isStrictBindOnlyReservedWord=h,di.isStrictBindReservedWord=f,di.isStrictReservedWord=D;const t={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"]},n=new Set(t.keyword),c=new Set(t.strict),u=new Set(t.strictBind);function d(O,m){return m&&O==="await"||O==="enum"}function D(O,m){return d(O,m)||c.has(O)}function h(O){return u.has(O)}function f(O,m){return D(O,m)||h(O)}function l(O){return n.has(O)}return di}var pu;function Uo(){return pu||(pu=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return n.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return n.isIdentifierName}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return n.isIdentifierStart}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return c.isKeyword}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return c.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return c.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return c.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return c.isStrictReservedWord}});var n=Sp(),c=Ap()}(Ao)),Ao}var fu;function yn(){if(fu)return Dn;fu=1,Object.defineProperty(Dn,"__esModule",{value:!0}),Dn.default=n;var t=Uo();function n(c,u=!0){return typeof c!="string"||u&&((0,t.isKeyword)(c)||(0,t.isStrictReservedWord)(c,!0))?!1:(0,t.isIdentifierName)(c)}return Dn}var Vi={},du;function gp(){if(du)return Vi;du=1,Object.defineProperty(Vi,"__esModule",{value:!0}),Vi.readCodePoint=l,Vi.readInt=f,Vi.readStringContents=u;var t=function(m){return m>=48&&m<=57};const n={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},c={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 u(O,m,M,w,P,ne){const Y=M,_=w,z=P;let B="",Z=null,X=M;const{length:I}=m;for(;;){if(M>=I){ne.unterminated(Y,_,z),B+=m.slice(X,M);break}const E=m.charCodeAt(M);if(d(O,E,m,M)){B+=m.slice(X,M);break}if(E===92){B+=m.slice(X,M);const N=D(m,M,w,P,O==="template",ne);N.ch===null&&!Z?Z={pos:M,lineStart:w,curLine:P}:B+=N.ch,{pos:M,lineStart:w,curLine:P}=N,X=M}else E===8232||E===8233?(++M,++P,w=M):E===10||E===13?O==="template"?(B+=m.slice(X,M)+`
6
- `,++M,E===13&&m.charCodeAt(M)===10&&++M,++P,X=w=M):ne.unterminated(Y,_,z):++M}return{pos:M,str:B,firstInvalidLoc:Z,lineStart:w,curLine:P,containsInvalid:!!Z}}function d(O,m,M,w){return O==="template"?m===96||m===36&&M.charCodeAt(w+1)===123:m===(O==="double"?34:39)}function D(O,m,M,w,P,ne){const Y=!P;m++;const _=B=>({pos:m,ch:B,lineStart:M,curLine:w}),z=O.charCodeAt(m++);switch(z){case 110:return _(`
7
- `);case 114:return _("\r");case 120:{let B;return{code:B,pos:m}=h(O,m,M,w,2,!1,Y,ne),_(B===null?null:String.fromCharCode(B))}case 117:{let B;return{code:B,pos:m}=l(O,m,M,w,Y,ne),_(B===null?null:String.fromCodePoint(B))}case 116:return _(" ");case 98:return _("\b");case 118:return _("\v");case 102:return _("\f");case 13:O.charCodeAt(m)===10&&++m;case 10:M=m,++w;case 8232:case 8233:return _("");case 56:case 57:if(P)return _(null);ne.strictNumericEscape(m-1,M,w);default:if(z>=48&&z<=55){const B=m-1;let X=/^[0-7]+/.exec(O.slice(B,m+2))[0],I=parseInt(X,8);I>255&&(X=X.slice(0,-1),I=parseInt(X,8)),m+=X.length-1;const E=O.charCodeAt(m);if(X!=="0"||E===56||E===57){if(P)return _(null);ne.strictNumericEscape(B,M,w)}return _(String.fromCharCode(I))}return _(String.fromCharCode(z))}}function h(O,m,M,w,P,ne,Y,_){const z=m;let B;return{n:B,pos:m}=f(O,m,M,w,16,P,ne,!1,_,!Y),B===null&&(Y?_.invalidEscapeSequence(z,M,w):m=z-1),{code:B,pos:m}}function f(O,m,M,w,P,ne,Y,_,z,B){const Z=m,X=P===16?n.hex:n.decBinOct,I=P===16?c.hex:P===10?c.dec:P===8?c.oct:c.bin;let E=!1,N=0;for(let V=0,te=ne??1/0;V<te;++V){const U=O.charCodeAt(m);let R;if(U===95&&_!=="bail"){const J=O.charCodeAt(m-1),F=O.charCodeAt(m+1);if(_){if(Number.isNaN(F)||!I(F)||X.has(J)||X.has(F)){if(B)return{n:null,pos:m};z.unexpectedNumericSeparator(m,M,w)}}else{if(B)return{n:null,pos:m};z.numericSeparatorInEscapeSequence(m,M,w)}++m;continue}if(U>=97?R=U-97+10:U>=65?R=U-65+10:t(U)?R=U-48:R=1/0,R>=P){if(R<=9&&B)return{n:null,pos:m};if(R<=9&&z.invalidDigit(m,M,w,P))R=0;else if(Y)R=0,E=!0;else break}++m,N=N*P+R}return m===Z||ne!=null&&m-Z!==ne||E?{n:null,pos:m}:{n:N,pos:m}}function l(O,m,M,w,P,ne){const Y=O.charCodeAt(m);let _;if(Y===123){if(++m,{code:_,pos:m}=h(O,m,M,w,O.indexOf("}",m)-m,!0,P,ne),++m,_!==null&&_>1114111)if(P)ne.invalidCodePoint(m,M,w);else return{code:null,pos:m}}else({code:_,pos:m}=h(O,m,M,w,4,!1,P,ne));return{code:_,pos:m}}return Vi}var ze={},hu;function qi(){if(hu)return ze;hu=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.UPDATE_OPERATORS=ze.UNARY_OPERATORS=ze.STRING_UNARY_OPERATORS=ze.STATEMENT_OR_BLOCK_KEYS=ze.NUMBER_UNARY_OPERATORS=ze.NUMBER_BINARY_OPERATORS=ze.NOT_LOCAL_BINDING=ze.LOGICAL_OPERATORS=ze.INHERIT_KEYS=ze.FOR_INIT_KEYS=ze.FLATTENABLE_KEYS=ze.EQUALITY_BINARY_OPERATORS=ze.COMPARISON_BINARY_OPERATORS=ze.COMMENT_KEYS=ze.BOOLEAN_UNARY_OPERATORS=ze.BOOLEAN_NUMBER_BINARY_OPERATORS=ze.BOOLEAN_BINARY_OPERATORS=ze.BLOCK_SCOPED_SYMBOL=ze.BINARY_OPERATORS=ze.ASSIGNMENT_OPERATORS=void 0,ze.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],ze.FLATTENABLE_KEYS=["body","expressions"],ze.FOR_INIT_KEYS=["left","init"],ze.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];const t=ze.LOGICAL_OPERATORS=["||","&&","??"];ze.UPDATE_OPERATORS=["++","--"];const n=ze.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],c=ze.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],u=ze.COMPARISON_BINARY_OPERATORS=[...c,"in","instanceof"],d=ze.BOOLEAN_BINARY_OPERATORS=[...u,...n],D=ze.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"];ze.BINARY_OPERATORS=["+",...D,...d,"|>"],ze.ASSIGNMENT_OPERATORS=["=","+=",...D.map(O=>O+"="),...t.map(O=>O+"=")];const h=ze.BOOLEAN_UNARY_OPERATORS=["delete","!"],f=ze.NUMBER_UNARY_OPERATORS=["+","-","~"],l=ze.STRING_UNARY_OPERATORS=["typeof"];return ze.UNARY_OPERATORS=["void","throw",...h,...f,...l],ze.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},ze.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),ze.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding"),ze}var st={},mu;function si(){if(mu)return st;mu=1;var t={};Object.defineProperty(st,"__esModule",{value:!0}),st.VISITOR_KEYS=st.NODE_PARENT_VALIDATIONS=st.NODE_FIELDS=st.FLIPPED_ALIAS_KEYS=st.DEPRECATED_KEYS=st.BUILDER_KEYS=st.ALIAS_KEYS=void 0,st.arrayOf=Y,st.arrayOfType=_,st.assertEach=B,st.assertNodeOrValueType=I,st.assertNodeType=X,st.assertOneOf=Z,st.assertOptionalChainStart=V,st.assertShape=N,st.assertValueType=E,st.chain=te,st.default=Q,st.defineAliasedType=F,st.validate=M,st.validateArrayOfType=z,st.validateOptional=P,st.validateOptionalType=ne,st.validateType=w;var n=Tn(),c=jo();const u=st.VISITOR_KEYS={},d=st.ALIAS_KEYS={},D=st.FLIPPED_ALIAS_KEYS={},h=st.NODE_FIELDS={},f=st.BUILDER_KEYS={},l=st.DEPRECATED_KEYS={},O=st.NODE_PARENT_VALIDATIONS={};function m(re){return Array.isArray(re)?"array":re===null?"null":typeof re}function M(re){return{validate:re}}function w(...re){return M(X(...re))}function P(re){return{validate:re,optional:!0}}function ne(...re){return{validate:X(...re),optional:!0}}function Y(re){return te(E("array"),B(re))}function _(...re){return Y(X(...re))}function z(...re){return M(_(...re))}function B(re){const ue=t.BABEL_TYPES_8_BREAKING?c.validateChild:()=>{};function ae(H,oe,le){if(Array.isArray(le))for(let ye=0;ye<le.length;ye++){const Se=`${oe}[${ye}]`,Ie=le[ye];re(H,Se,Ie),ue(H,Se,Ie)}}return ae.each=re,ae}function Z(...re){function ue(ae,H,oe){if(!re.includes(oe))throw new TypeError(`Property ${H} expected value to be one of ${JSON.stringify(re)} but got ${JSON.stringify(oe)}`)}return ue.oneOf=re,ue}function X(...re){function ue(ae,H,oe){for(const le of re)if((0,n.default)(le,oe)){(0,c.validateChild)(ae,H,oe);return}throw new TypeError(`Property ${H} of ${ae.type} expected node to be of a type ${JSON.stringify(re)} but instead got ${JSON.stringify(oe?.type)}`)}return ue.oneOfNodeTypes=re,ue}function I(...re){function ue(ae,H,oe){for(const le of re)if(m(oe)===le||(0,n.default)(le,oe)){(0,c.validateChild)(ae,H,oe);return}throw new TypeError(`Property ${H} of ${ae.type} expected node to be of a type ${JSON.stringify(re)} but instead got ${JSON.stringify(oe?.type)}`)}return ue.oneOfNodeOrValueTypes=re,ue}function E(re){function ue(ae,H,oe){if(!(m(oe)===re))throw new TypeError(`Property ${H} expected type of ${re} but got ${m(oe)}`)}return ue.type=re,ue}function N(re){function ue(ae,H,oe){const le=[];for(const ye of Object.keys(re))try{(0,c.validateField)(ae,ye,oe[ye],re[ye])}catch(Se){if(Se instanceof TypeError){le.push(Se.message);continue}throw Se}if(le.length)throw new TypeError(`Property ${H} of ${ae.type} expected to have the following:
8
- ${le.join(`
9
- `)}`)}return ue.shapeOf=re,ue}function V(){function re(ue){var ae;let H=ue;for(;ue;){const{type:oe}=H;if(oe==="OptionalCallExpression"){if(H.optional)return;H=H.callee;continue}if(oe==="OptionalMemberExpression"){if(H.optional)return;H=H.object;continue}break}throw new TypeError(`Non-optional ${ue.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(ae=H)==null?void 0:ae.type}`)}return re}function te(...re){function ue(...ae){for(const H of re)H(...ae)}if(ue.chainOf=re,re.length>=2&&"type"in re[0]&&re[0].type==="array"&&!("each"in re[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return ue}const U=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),R=new Set(["default","optional","deprecated","validate"]),J={};function F(...re){return(ue,ae={})=>{let H=ae.aliases;if(!H){var oe,le;ae.inherits&&(H=(oe=J[ae.inherits].aliases)==null?void 0:oe.slice()),(le=H)!=null||(H=[]),ae.aliases=H}const ye=re.filter(Se=>!H.includes(Se));H.unshift(...ye),Q(ue,ae)}}function Q(re,ue={}){const ae=ue.inherits&&J[ue.inherits]||{};let H=ue.fields;if(!H&&(H={},ae.fields)){const Se=Object.getOwnPropertyNames(ae.fields);for(const Ie of Se){const De=ae.fields[Ie],Me=De.default;if(Array.isArray(Me)?Me.length>0:Me&&typeof Me=="object")throw new Error("field defaults can only be primitives or empty arrays currently");H[Ie]={default:Array.isArray(Me)?[]:Me,optional:De.optional,deprecated:De.deprecated,validate:De.validate}}}const oe=ue.visitor||ae.visitor||[],le=ue.aliases||ae.aliases||[],ye=ue.builder||ae.builder||ue.visitor||[];for(const Se of Object.keys(ue))if(!U.has(Se))throw new Error(`Unknown type option "${Se}" on ${re}`);ue.deprecatedAlias&&(l[ue.deprecatedAlias]=re);for(const Se of oe.concat(ye))H[Se]=H[Se]||{};for(const Se of Object.keys(H)){const Ie=H[Se];Ie.default!==void 0&&!ye.includes(Se)&&(Ie.optional=!0),Ie.default===void 0?Ie.default=null:!Ie.validate&&Ie.default!=null&&(Ie.validate=E(m(Ie.default)));for(const De of Object.keys(Ie))if(!R.has(De))throw new Error(`Unknown field key "${De}" on ${re}.${Se}`)}u[re]=ue.visitor=oe,f[re]=ue.builder=ye,h[re]=ue.fields=H,d[re]=ue.aliases=le,le.forEach(Se=>{D[Se]=D[Se]||[],D[Se].push(re)}),ue.validate&&(O[re]=ue.validate),J[re]=ue}return st}var Tu;function va(){if(Tu)return vt;Tu=1;var t={};Object.defineProperty(vt,"__esModule",{value:!0}),vt.patternLikeCommon=vt.importAttributes=vt.functionTypeAnnotationCommon=vt.functionDeclarationCommon=vt.functionCommon=vt.classMethodOrPropertyCommon=vt.classMethodOrDeclareMethodCommon=void 0;var n=Tn(),c=yn(),u=Uo(),d=gp(),D=qi(),h=si();const f=(0,h.defineAliasedType)("Standardized");f("ArrayExpression",{fields:{elements:{validate:(0,h.arrayOf)((0,h.assertNodeOrValueType)("null","Expression","SpreadElement")),default:t.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),f("AssignmentExpression",{fields:{operator:{validate:t.BABEL_TYPES_8_BREAKING?Object.assign(function(){const Y=(0,h.assertOneOf)(...D.ASSIGNMENT_OPERATORS),_=(0,h.assertOneOf)("=");return function(z,B,Z){((0,n.default)("Pattern",z.left)?_:Y)(z,B,Z)}}(),{type:"string"}):(0,h.assertValueType)("string")},left:{validate:t.BABEL_TYPES_8_BREAKING?(0,h.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,h.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,h.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),f("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,h.assertOneOf)(...D.BINARY_OPERATORS)},left:{validate:function(){const Y=(0,h.assertNodeType)("Expression"),_=(0,h.assertNodeType)("Expression","PrivateName");return Object.assign(function(B,Z,X){(B.operator==="in"?_:Y)(B,Z,X)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:(0,h.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),f("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("string")}}}),f("Directive",{visitor:["value"],fields:{value:{validate:(0,h.assertNodeType)("DirectiveLiteral")}}}),f("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("string")}}}),f("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,h.arrayOfType)("Directive"),default:[]},body:(0,h.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]}),f("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,h.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),f("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,h.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:(0,h.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:(0,h.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{optional:{validate:(0,h.assertValueType)("boolean"),optional:!0},typeParameters:{validate:(0,h.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}},t.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,h.assertValueType)("boolean"),optional:!0}})}),f("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,h.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,h.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),f("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,h.assertNodeType)("Expression")},consequent:{validate:(0,h.assertNodeType)("Expression")},alternate:{validate:(0,h.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),f("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,h.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),f("DebuggerStatement",{aliases:["Statement"]}),f("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),f("EmptyStatement",{aliases:["Statement"]}),f("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,h.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),f("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,h.assertNodeType)("Program")},comments:{validate:t.BABEL_TYPES_8_BREAKING?(0,h.assertEach)((0,h.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,h.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}}),f("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:t.BABEL_TYPES_8_BREAKING?(0,h.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,h.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")}}}),f("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,h.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,h.assertNodeType)("Expression"),optional:!0},update:{validate:(0,h.assertNodeType)("Expression"),optional:!0},body:{validate:(0,h.assertNodeType)("Statement")}}});const l=()=>({params:(0,h.validateArrayOfType)("Identifier","Pattern","RestElement"),generator:{default:!1},async:{default:!1}});vt.functionCommon=l;const O=()=>({returnType:{validate:(0,h.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,h.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});vt.functionTypeAnnotationCommon=O;const m=()=>Object.assign({},l(),{declare:{validate:(0,h.assertValueType)("boolean"),optional:!0},id:{validate:(0,h.assertNodeType)("Identifier"),optional:!0}});vt.functionDeclarationCommon=m,f("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},m(),O(),{body:{validate:(0,h.assertNodeType)("BlockStatement")},predicate:{validate:(0,h.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:t.BABEL_TYPES_8_BREAKING?function(){const Y=(0,h.assertNodeType)("Identifier");return function(_,z,B){(0,n.default)("ExportDefaultDeclaration",_)||Y(B,"id",B.id)}}():void 0}),f("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l(),O(),{id:{validate:(0,h.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,h.assertNodeType)("BlockStatement")},predicate:{validate:(0,h.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});const M=()=>({typeAnnotation:{validate:(0,h.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,h.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0}});vt.patternLikeCommon=M,f("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},M(),{name:{validate:t.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertValueType)("string"),Object.assign(function(Y,_,z){if(!(0,c.default)(z,!1))throw new TypeError(`"${z}" is not a valid identifier name`)},{type:"string"})):(0,h.assertValueType)("string")}}),validate:t.BABEL_TYPES_8_BREAKING?function(Y,_,z){const B=/\.(\w+)$/.exec(_);if(!B)return;const[,Z]=B,X={computed:!1};if(Z==="property"){if((0,n.default)("MemberExpression",Y,X)||(0,n.default)("OptionalMemberExpression",Y,X))return}else if(Z==="key"){if((0,n.default)("Property",Y,X)||(0,n.default)("Method",Y,X))return}else if(Z==="exported"){if((0,n.default)("ExportSpecifier",Y))return}else if(Z==="imported"){if((0,n.default)("ImportSpecifier",Y,{imported:z}))return}else if(Z==="meta"&&(0,n.default)("MetaProperty",Y,{meta:z}))return;if(((0,u.isKeyword)(z.name)||(0,u.isReservedWord)(z.name,!1))&&z.name!=="this")throw new TypeError(`"${z.name}" is not a valid identifier`)}:void 0}),f("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,h.assertNodeType)("Expression")},consequent:{validate:(0,h.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,h.assertNodeType)("Statement")}}}),f("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,h.assertNodeType)("Identifier")},body:{validate:(0,h.assertNodeType)("Statement")}}}),f("StringLiteral",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),f("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,h.chain)((0,h.assertValueType)("number"),Object.assign(function(Y,_,z){},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]}),f("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),f("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),f("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,h.assertValueType)("string")},flags:{validate:t.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertValueType)("string"),Object.assign(function(Y,_,z){const B=/[^gimsuy]/.exec(z);if(B)throw new TypeError(`"${B[0]}" is not a valid RegExp flag`)},{type:"string"})):(0,h.assertValueType)("string"),default:""}}}),f("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,h.assertOneOf)(...D.LOGICAL_OPERATORS)},left:{validate:(0,h.assertNodeType)("Expression")},right:{validate:(0,h.assertNodeType)("Expression")}}}),f("MemberExpression",{builder:["object","property","computed",...t.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,h.assertNodeType)("Expression","Super")},property:{validate:function(){const Y=(0,h.assertNodeType)("Identifier","PrivateName"),_=(0,h.assertNodeType)("Expression"),z=function(B,Z,X){(B.computed?_:Y)(B,Z,X)};return z.oneOfNodeTypes=["Expression","Identifier","PrivateName"],z}()},computed:{default:!1}},t.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,h.assertValueType)("boolean"),optional:!0}})}),f("NewExpression",{inherits:"CallExpression"}),f("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,h.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,h.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,h.arrayOfType)("Directive"),default:[]},body:(0,h.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block"]}),f("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,h.validateArrayOfType)("ObjectMethod","ObjectProperty","SpreadElement")}}),f("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},l(),O(),{kind:Object.assign({validate:(0,h.assertOneOf)("method","get","set")},t.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:function(){const Y=(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),_=(0,h.assertNodeType)("Expression"),z=function(B,Z,X){(B.computed?_:Y)(B,Z,X)};return z.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],z}()},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0},body:{validate:(0,h.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),f("ObjectProperty",{builder:["key","value","computed","shorthand",...t.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:function(){const Y=(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),_=(0,h.assertNodeType)("Expression");return Object.assign(function(B,Z,X){(B.computed?_:Y)(B,Z,X)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:(0,h.assertNodeType)("Expression","PatternLike")},shorthand:{validate:t.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertValueType)("boolean"),Object.assign(function(Y,_,z){if(z){if(Y.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!(0,n.default)("Identifier",Y.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}},{type:"boolean"})):(0,h.assertValueType)("boolean"),default:!1},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:t.BABEL_TYPES_8_BREAKING?function(){const Y=(0,h.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),_=(0,h.assertNodeType)("Expression");return function(z,B,Z){((0,n.default)("ObjectPattern",z)?Y:_)(Z,"value",Z.value)}}():void 0}),f("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},M(),{argument:{validate:t.BABEL_TYPES_8_BREAKING?(0,h.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,h.assertNodeType)("LVal")}}),validate:t.BABEL_TYPES_8_BREAKING?function(Y,_){const z=/(\w+)\[(\d+)\]/.exec(_);if(!z)throw new Error("Internal Babel error: malformed key.");const[,B,Z]=z;if(Y[B].length>+Z+1)throw new TypeError(`RestElement must be last element of ${B}`)}:void 0}),f("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,h.assertNodeType)("Expression"),optional:!0}}}),f("SequenceExpression",{visitor:["expressions"],fields:{expressions:(0,h.validateArrayOfType)("Expression")},aliases:["Expression"]}),f("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,h.assertNodeType)("Expression")}}}),f("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,h.assertNodeType)("Expression"),optional:!0},consequent:(0,h.validateArrayOfType)("Statement")}}),f("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,h.assertNodeType)("Expression")},cases:(0,h.validateArrayOfType)("SwitchCase")}}),f("ThisExpression",{aliases:["Expression"]}),f("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,h.assertNodeType)("Expression")}}}),f("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:t.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertNodeType)("BlockStatement"),Object.assign(function(Y){if(!Y.handler&&!Y.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):(0,h.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,h.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,h.assertNodeType)("BlockStatement")}}}),f("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,h.assertNodeType)("Expression")},operator:{validate:(0,h.assertOneOf)(...D.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),f("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:t.BABEL_TYPES_8_BREAKING?(0,h.assertNodeType)("Identifier","MemberExpression"):(0,h.assertNodeType)("Expression")},operator:{validate:(0,h.assertOneOf)(...D.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),f("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,h.assertValueType)("boolean"),optional:!0},kind:{validate:(0,h.assertOneOf)("var","let","const","using","await using")},declarations:(0,h.validateArrayOfType)("VariableDeclarator")},validate:t.BABEL_TYPES_8_BREAKING?(()=>{const Y=(0,h.assertNodeType)("Identifier");return function(_,z,B){if((0,n.default)("ForXStatement",_,{left:B})){if(B.declarations.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${_.type}`)}else B.declarations.forEach(Z=>{Z.init||Y(Z,"id",Z.id)})}})():void 0}),f("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:t.BABEL_TYPES_8_BREAKING?(0,h.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"):(0,h.assertNodeType)("LVal")},definite:{optional:!0,validate:(0,h.assertValueType)("boolean")},init:{optional:!0,validate:(0,h.assertNodeType)("Expression")}}}),f("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")}}}),f("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")}}}),f("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},M(),{left:{validate:(0,h.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,h.assertNodeType)("Expression")},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0}})}),f("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},M(),{elements:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeOrValueType)("null","PatternLike","LVal")))}})}),f("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},l(),O(),{expression:{validate:(0,h.assertValueType)("boolean")},body:{validate:(0,h.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,h.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})}),f("ClassBody",{visitor:["body"],fields:{body:(0,h.validateArrayOfType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}}),f("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,h.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,h.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,h.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,h.assertNodeType)("Expression")},superTypeParameters:{validate:(0,h.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,h.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,h.assertNodeType)("InterfaceExtends"),optional:!0}}}),f("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,h.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,h.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,h.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,h.assertNodeType)("Expression")},superTypeParameters:{validate:(0,h.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,h.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,h.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,h.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,h.assertValueType)("boolean"),optional:!0}},validate:t.BABEL_TYPES_8_BREAKING?function(){const Y=(0,h.assertNodeType)("Identifier");return function(_,z,B){(0,n.default)("ExportDefaultDeclaration",_)||Y(B,"id",B.id)}}():void 0});const w=vt.importAttributes={attributes:{optional:!0,validate:(0,h.arrayOfType)("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:(0,h.arrayOfType)("ImportAttribute")}};f("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:(0,h.assertNodeType)("StringLiteral")},exportKind:(0,h.validateOptional)((0,h.assertOneOf)("type","value"))},w)}),f("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:(0,h.validateType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:(0,h.validateOptional)((0,h.assertOneOf)("value"))}}),f("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:t?["declaration","specifiers","source","attributes"]:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:t.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertNodeType)("Declaration"),Object.assign(function(Y,_,z){if(z&&Y.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(z&&Y.source)throw new TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):(0,h.assertNodeType)("Declaration")}},w,{specifiers:{default:[],validate:(0,h.arrayOf)(function(){const Y=(0,h.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),_=(0,h.assertNodeType)("ExportSpecifier");return t.BABEL_TYPES_8_BREAKING?Object.assign(function(z,B,Z){(z.source?Y:_)(z,B,Z)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):Y}())},source:{validate:(0,h.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,h.validateOptional)((0,h.assertOneOf)("type","value"))})}),f("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,h.assertNodeType)("Identifier")},exported:{validate:(0,h.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,h.assertOneOf)("type","value"),optional:!0}}}),f("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!t.BABEL_TYPES_8_BREAKING)return(0,h.assertNodeType)("VariableDeclaration","LVal");const Y=(0,h.assertNodeType)("VariableDeclaration"),_=(0,h.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(z,B,Z){(0,n.default)("VariableDeclaration",Z)?Y(z,B,Z):_(z,B,Z)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})}()},right:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")},await:{default:!1}}}),f("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},w,{module:{optional:!0,validate:(0,h.assertValueType)("boolean")},phase:{default:null,validate:(0,h.assertOneOf)("source","defer")},specifiers:(0,h.validateArrayOfType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:(0,h.assertNodeType)("StringLiteral")},importKind:{validate:(0,h.assertOneOf)("type","typeof","value"),optional:!0}})}),f("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,h.assertNodeType)("Identifier")}}}),f("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,h.assertNodeType)("Identifier")}}}),f("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,h.assertNodeType)("Identifier")},imported:{validate:(0,h.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,h.assertOneOf)("type","typeof","value"),optional:!0}}}),f("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,h.assertOneOf)("source","defer")},source:{validate:(0,h.assertNodeType)("Expression")},options:{validate:(0,h.assertNodeType)("Expression"),optional:!0}}}),f("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:t.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertNodeType)("Identifier"),Object.assign(function(Y,_,z){let B;switch(z.name){case"function":B="sent";break;case"new":B="target";break;case"import":B="meta";break}if(!(0,n.default)("Identifier",Y.property,{name:B}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):(0,h.assertNodeType)("Identifier")},property:{validate:(0,h.assertNodeType)("Identifier")}}});const P=()=>({abstract:{validate:(0,h.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,h.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,h.assertValueType)("boolean"),optional:!0},key:{validate:(0,h.chain)(function(){const Y=(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),_=(0,h.assertNodeType)("Expression");return function(z,B,Z){(z.computed?_:Y)(z,B,Z)}}(),(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});vt.classMethodOrPropertyCommon=P;const ne=()=>Object.assign({},l(),P(),{params:(0,h.validateArrayOfType)("Identifier","Pattern","RestElement","TSParameterProperty"),kind:{validate:(0,h.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,h.chain)((0,h.assertValueType)("string"),(0,h.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0}});return vt.classMethodOrDeclareMethodCommon=ne,f("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},ne(),O(),{body:{validate:(0,h.assertNodeType)("BlockStatement")}})}),f("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},M(),{properties:(0,h.validateArrayOfType)("RestElement","ObjectProperty")})}),f("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,h.assertNodeType)("Expression")}}}),f("Super",{aliases:["Expression"]}),f("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,h.assertNodeType)("Expression")},quasi:{validate:(0,h.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,h.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),f("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,h.chain)((0,h.assertShape)({raw:{validate:(0,h.assertValueType)("string")},cooked:{validate:(0,h.assertValueType)("string"),optional:!0}}),function(_){const z=_.value.raw;let B=!1;const Z=()=>{throw new Error("Internal @babel/types error.")},{str:X,firstInvalidLoc:I}=(0,d.readStringContents)("template",z,0,0,0,{unterminated(){B=!0},strictNumericEscape:Z,invalidEscapeSequence:Z,numericSeparatorInEscapeSequence:Z,unexpectedNumericSeparator:Z,invalidDigit:Z,invalidCodePoint:Z});if(!B)throw new Error("Invalid raw");_.value.cooked=I?null:X})},tail:{default:!1}}}),f("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:(0,h.validateArrayOfType)("TemplateElement"),expressions:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Expression","TSType")),function(Y,_,z){if(Y.quasis.length!==z.length+1)throw new TypeError(`Number of ${Y.type} quasis should be exactly one more than the number of expressions.
10
- Expected ${z.length+1} quasis but got ${Y.quasis.length}`)})}}}),f("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:t.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertValueType)("boolean"),Object.assign(function(Y,_,z){if(z&&!Y.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):(0,h.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,h.assertNodeType)("Expression")}}}),f("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,h.assertNodeType)("Expression")}}}),f("Import",{aliases:["Expression"]}),f("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),f("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,h.assertNodeType)("Identifier")}}}),f("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,h.assertNodeType)("Expression")},property:{validate:function(){const Y=(0,h.assertNodeType)("Identifier"),_=(0,h.assertNodeType)("Expression");return Object.assign(function(B,Z,X){(B.computed?_:Y)(B,Z,X)},{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:t.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertValueType)("boolean"),(0,h.assertOptionalChainStart)()):(0,h.assertValueType)("boolean")}}}),f("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,h.assertNodeType)("Expression")},arguments:(0,h.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:t.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertValueType)("boolean"),(0,h.assertOptionalChainStart)()):(0,h.assertValueType)("boolean")},typeArguments:{validate:(0,h.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,h.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),f("ClassProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},P(),{value:{validate:(0,h.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,h.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,h.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,h.assertValueType)("boolean"),optional:!0},declare:{validate:(0,h.assertValueType)("boolean"),optional:!0},variance:{validate:(0,h.assertNodeType)("Variance"),optional:!0}})}),f("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},P(),{key:{validate:(0,h.chain)(function(){const Y=(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),_=(0,h.assertNodeType)("Expression");return function(z,B,Z){(z.computed?_:Y)(z,B,Z)}}(),(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,h.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,h.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,h.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,h.assertValueType)("boolean"),optional:!0},declare:{validate:(0,h.assertValueType)("boolean"),optional:!0},variance:{validate:(0,h.assertNodeType)("Variance"),optional:!0}})}),f("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,h.assertNodeType)("PrivateName")},value:{validate:(0,h.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,h.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0},static:{validate:(0,h.assertValueType)("boolean"),default:!1},readonly:{validate:(0,h.assertValueType)("boolean"),optional:!0},optional:{validate:(0,h.assertValueType)("boolean"),optional:!0},definite:{validate:(0,h.assertValueType)("boolean"),optional:!0},variance:{validate:(0,h.assertNodeType)("Variance"),optional:!0}}}),f("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},ne(),O(),{kind:{validate:(0,h.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,h.assertNodeType)("PrivateName")},body:{validate:(0,h.assertNodeType)("BlockStatement")}})}),f("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,h.assertNodeType)("Identifier")}}}),f("StaticBlock",{visitor:["body"],fields:{body:(0,h.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]}),vt}var yu={},Eu;function Pp(){if(Eu)return yu;Eu=1;var t=va(),n=si();const c=(0,n.defineAliasedType)("Flow"),u=d=>{const D=d==="DeclareClass";c(d,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...D?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends"))},D?{mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements"))}:{},{body:(0,n.validateType)("ObjectTypeAnnotation")})})};return c("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),c("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}}),c("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),c("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}}),c("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),c("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),u("DeclareClass"),c("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}}),u("DeclareInterface"),c("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier","StringLiteral"),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}}),c("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}}),c("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}}),c("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateOptionalType)("FlowType")}}),c("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}}),c("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))},t.importAttributes)}),c("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))},t.importAttributes)}),c("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}}),c("ExistsTypeAnnotation",{aliases:["FlowType"]}),c("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validateArrayOfType)("FunctionTypeParam"),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}}),c("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),c("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,n.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),c("InferredPredicate",{aliases:["FlowPredicate"]}),c("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,n.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),u("InterfaceDeclaration"),c("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}}),c("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),c("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),c("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),c("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}}),c("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}}),c("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),c("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,n.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,n.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,n.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,n.assertValueType)("boolean"),default:!1},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),c("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}}),c("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}}),c("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}}),c("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,n.validateType)("Identifier","StringLiteral"),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}}),c("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}}),c("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}}),c("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)("Identifier","QualifiedTypeIdentifier")}}),c("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}}),c("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),c("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),c("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),c("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),c("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,n.validateType)("FlowType")}}),c("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}}),c("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}}),c("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}}),c("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}}),c("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}}),c("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),c("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),c("Variance",{builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}}),c("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),c("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}}),c("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}}),c("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}}),c("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}}),c("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}}),c("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}}),c("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}}),c("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}}),c("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}}),c("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}}),c("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}}),yu}var bu={},Su;function Ip(){if(Su)return bu;Su=1;var t=si();const n=(0,t.defineAliasedType)("JSX");return n("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,t.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,t.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),n("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,t.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),n("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,t.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,t.assertNodeType)("JSXClosingElement")},children:(0,t.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:(0,t.assertValueType)("boolean"),optional:!0}})}),n("JSXEmptyExpression",{}),n("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,t.assertNodeType)("Expression","JSXEmptyExpression")}}}),n("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,t.assertNodeType)("Expression")}}}),n("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,t.assertValueType)("string")}}}),n("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,t.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,t.assertNodeType)("JSXIdentifier")}}}),n("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,t.assertNodeType)("JSXIdentifier")},name:{validate:(0,t.assertNodeType)("JSXIdentifier")}}}),n("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:(0,t.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:(0,t.validateArrayOfType)("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:(0,t.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,t.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),n("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,t.assertNodeType)("Expression")}}}),n("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,t.assertValueType)("string")}}}),n("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,t.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,t.assertNodeType)("JSXClosingFragment")},children:(0,t.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}}),n("JSXOpeningFragment",{aliases:["Immutable"]}),n("JSXClosingFragment",{aliases:["Immutable"]}),bu}var Au={},ii={},gu;function Hl(){if(gu)return ii;gu=1,Object.defineProperty(ii,"__esModule",{value:!0}),ii.PLACEHOLDERS_FLIPPED_ALIAS=ii.PLACEHOLDERS_ALIAS=ii.PLACEHOLDERS=void 0;var t=si();const n=ii.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],c=ii.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(const d of n){const D=t.ALIAS_KEYS[d];D!=null&&D.length&&(c[d]=D)}const u=ii.PLACEHOLDERS_FLIPPED_ALIAS={};return Object.keys(c).forEach(d=>{c[d].forEach(D=>{hasOwnProperty.call(u,D)||(u[D]=[]),u[D].push(d)})}),ii}var Pu;function _p(){if(Pu)return Au;Pu=1;var t=si(),n=Hl(),c=va();const u=(0,t.defineAliasedType)("Miscellaneous");return u("Noop",{visitor:[]}),u("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:(0,t.assertNodeType)("Identifier")},expectedNode:{validate:(0,t.assertOneOf)(...n.PLACEHOLDERS)}},(0,c.patternLikeCommon)())}),u("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,t.assertValueType)("string")}}}),Au}var Iu={},_u;function xp(){if(_u)return Iu;_u=1;var t={},n=si();return(0,n.default)("ArgumentPlaceholder",{}),(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:t.BABEL_TYPES_8_BREAKING?{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}}),(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}}),(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:!1}}}),(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,n.validateArrayOfType)("ObjectProperty","SpreadElement")}}),(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]}),(0,n.default)("TopicReference",{aliases:["Expression"]}),(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]}),Iu}var xu={},Cu;function Cp(){if(Cu)return xu;Cu=1;var t=si(),n=va(),c=Tn();const u=(0,t.defineAliasedType)("TypeScript"),d=(0,t.assertValueType)("boolean"),D=()=>({returnType:{validate:(0,t.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,t.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});u("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,t.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,t.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,t.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,t.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,t.arrayOfType)("Decorator"),optional:!0}}}),u("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,n.functionDeclarationCommon)(),D())}),u("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,n.classMethodOrDeclareMethodCommon)(),D())}),u("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,t.validateType)("TSEntityName"),right:(0,t.validateType)("Identifier")}});const h=()=>({typeParameters:(0,t.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,t.validateArrayOfType)("ArrayPattern","Identifier","ObjectPattern","RestElement"),typeAnnotation:(0,t.validateOptionalType)("TSTypeAnnotation")}),f={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:h()};u("TSCallSignatureDeclaration",f),u("TSConstructSignatureDeclaration",f);const l=()=>({key:(0,t.validateType)("Expression"),computed:{default:!1},optional:(0,t.validateOptional)(d)});u("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},l(),{readonly:(0,t.validateOptional)(d),typeAnnotation:(0,t.validateOptionalType)("TSTypeAnnotation"),kind:{optional:!0,validate:(0,t.assertOneOf)("get","set")}})}),u("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},h(),l(),{kind:{validate:(0,t.assertOneOf)("method","get","set")}})}),u("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,t.validateOptional)(d),static:(0,t.validateOptional)(d),parameters:(0,t.validateArrayOfType)("Identifier"),typeAnnotation:(0,t.validateOptionalType)("TSTypeAnnotation")}});const O=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const P of O)u(P,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});u("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const m={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};u("TSFunctionType",Object.assign({},m,{fields:h()})),u("TSConstructorType",Object.assign({},m,{fields:Object.assign({},h(),{abstract:(0,t.validateOptional)(d)})})),u("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,t.validateType)("TSEntityName"),typeParameters:(0,t.validateOptionalType)("TSTypeParameterInstantiation")}}),u("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,t.validateType)("Identifier","TSThisType"),typeAnnotation:(0,t.validateOptionalType)("TSTypeAnnotation"),asserts:(0,t.validateOptional)(d)}}),u("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,t.validateType)("TSEntityName","TSImportType"),typeParameters:(0,t.validateOptionalType)("TSTypeParameterInstantiation")}}),u("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,t.validateArrayOfType)("TSTypeElement")}}),u("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,t.validateType)("TSType")}}),u("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,t.validateArrayOfType)("TSType","TSNamedTupleMember")}}),u("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,t.validateType)("TSType")}}),u("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,t.validateType)("TSType")}}),u("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,t.validateType)("Identifier"),optional:{validate:d,default:!1},elementType:(0,t.validateType)("TSType")}});const M={aliases:["TSType"],visitor:["types"],fields:{types:(0,t.validateArrayOfType)("TSType")}};u("TSUnionType",M),u("TSIntersectionType",M),u("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,t.validateType)("TSType"),extendsType:(0,t.validateType)("TSType"),trueType:(0,t.validateType)("TSType"),falseType:(0,t.validateType)("TSType")}}),u("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,t.validateType)("TSTypeParameter")}}),u("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,t.validateType)("TSType")}}),u("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,t.validate)((0,t.assertValueType)("string")),typeAnnotation:(0,t.validateType)("TSType")}}),u("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,t.validateType)("TSType"),indexType:(0,t.validateType)("TSType")}}),u("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:(0,t.validateType)("TSTypeParameter")},{readonly:(0,t.validateOptional)((0,t.assertOneOf)(!0,!1,"+","-")),optional:(0,t.validateOptional)((0,t.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,t.validateOptionalType)("TSType"),nameType:(0,t.validateOptionalType)("TSType")})}),u("TSTemplateLiteralType",{aliases:["TSType","TSBaseType"],visitor:["quasis","types"],fields:{quasis:(0,t.validateArrayOfType)("TemplateElement"),types:{validate:(0,t.chain)((0,t.assertValueType)("array"),(0,t.assertEach)((0,t.assertNodeType)("TSType")),function(P,ne,Y){if(P.quasis.length!==Y.length+1)throw new TypeError(`Number of ${P.type} quasis should be exactly one more than the number of types.
11
- Expected ${Y.length+1} quasis but got ${P.quasis.length}`)})}}}),u("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){const P=(0,t.assertNodeType)("NumericLiteral","BigIntLiteral"),ne=(0,t.assertOneOf)("-"),Y=(0,t.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function _(z,B,Z){(0,c.default)("UnaryExpression",Z)?(ne(Z,"operator",Z.operator),P(Z,"argument",Z.argument)):Y(z,B,Z)}return _.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],_}()}}}),u("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,t.validateType)("TSEntityName"),typeParameters:(0,t.validateOptionalType)("TSTypeParameterInstantiation")}}),u("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,t.validateOptional)(d),id:(0,t.validateType)("Identifier"),typeParameters:(0,t.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,t.validateOptional)((0,t.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,t.validateType)("TSInterfaceBody")}}),u("TSInterfaceBody",{visitor:["body"],fields:{body:(0,t.validateArrayOfType)("TSTypeElement")}}),u("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,t.validateOptional)(d),id:(0,t.validateType)("Identifier"),typeParameters:(0,t.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,t.validateType)("TSType")}}),u("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,t.validateType)("Expression"),typeParameters:(0,t.validateOptionalType)("TSTypeParameterInstantiation")}});const w={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,t.validateType)("Expression"),typeAnnotation:(0,t.validateType)("TSType")}};return u("TSAsExpression",w),u("TSSatisfiesExpression",w),u("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,t.validateType)("TSType"),expression:(0,t.validateType)("Expression")}}),u("TSEnumBody",{visitor:["members"],fields:{members:(0,t.validateArrayOfType)("TSEnumMember")}}),u("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,t.validateOptional)(d),const:(0,t.validateOptional)(d),id:(0,t.validateType)("Identifier"),members:(0,t.validateArrayOfType)("TSEnumMember"),initializer:(0,t.validateOptionalType)("Expression"),body:(0,t.validateOptionalType)("TSEnumBody")}}),u("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,t.validateType)("Identifier","StringLiteral"),initializer:(0,t.validateOptionalType)("Expression")}}),u("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:(0,t.assertOneOf)("global","module","namespace")},declare:(0,t.validateOptional)(d)},{global:(0,t.validateOptional)(d)},{id:(0,t.validateType)("Identifier","StringLiteral"),body:(0,t.validateType)("TSModuleBlock","TSModuleDeclaration")})}),u("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,t.validateArrayOfType)("Statement")}}),u("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:{argument:(0,t.validateType)("StringLiteral"),qualifier:(0,t.validateOptionalType)("TSEntityName"),typeParameters:(0,t.validateOptionalType)("TSTypeParameterInstantiation"),options:{validate:(0,t.assertNodeType)("Expression"),optional:!0}}}),u("TSImportEqualsDeclaration",{aliases:["Statement","Declaration"],visitor:["id","moduleReference"],fields:Object.assign({},{isExport:(0,t.validate)(d)},{id:(0,t.validateType)("Identifier"),moduleReference:(0,t.validateType)("TSEntityName","TSExternalModuleReference"),importKind:{validate:(0,t.assertOneOf)("type","value"),optional:!0}})}),u("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,t.validateType)("StringLiteral")}}),u("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,t.validateType)("Expression")}}),u("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,t.validateType)("Expression")}}),u("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,t.validateType)("Identifier")}}),u("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,t.assertNodeType)("TSType")}}}),u("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:(0,t.validateArrayOfType)("TSType")}}),u("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:(0,t.validateArrayOfType)("TSTypeParameter")}}),u("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,t.assertValueType)("string")},in:{validate:(0,t.assertValueType)("boolean"),optional:!0},out:{validate:(0,t.assertValueType)("boolean"),optional:!0},const:{validate:(0,t.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,t.assertNodeType)("TSType"),optional:!0},default:{validate:(0,t.assertNodeType)("TSType"),optional:!0}}}),xu}var en={},Nu;function Np(){return Nu||(Nu=1,Object.defineProperty(en,"__esModule",{value:!0}),en.DEPRECATED_ALIASES=void 0,en.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}),en}var Du;function Pr(){return Du||(Du=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ALIAS_KEYS",{enumerable:!0,get:function(){return n.ALIAS_KEYS}}),Object.defineProperty(t,"BUILDER_KEYS",{enumerable:!0,get:function(){return n.BUILDER_KEYS}}),Object.defineProperty(t,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return u.DEPRECATED_ALIASES}}),Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return n.DEPRECATED_KEYS}}),Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return n.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(t,"NODE_FIELDS",{enumerable:!0,get:function(){return n.NODE_FIELDS}}),Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return n.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(t,"PLACEHOLDERS",{enumerable:!0,get:function(){return c.PLACEHOLDERS}}),Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return c.PLACEHOLDERS_ALIAS}}),Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return c.PLACEHOLDERS_FLIPPED_ALIAS}}),t.TYPES=void 0,Object.defineProperty(t,"VISITOR_KEYS",{enumerable:!0,get:function(){return n.VISITOR_KEYS}}),va(),Pp(),Ip(),_p(),xp(),Cp();var n=si(),c=Hl(),u=Np();Object.keys(u.DEPRECATED_ALIASES).forEach(d=>{n.FLIPPED_ALIAS_KEYS[d]=n.FLIPPED_ALIAS_KEYS[u.DEPRECATED_ALIASES[d]]}),t.TYPES=[].concat(Object.keys(n.VISITOR_KEYS),Object.keys(n.FLIPPED_ALIAS_KEYS),Object.keys(n.DEPRECATED_KEYS))}(So)),So}var Ou;function jo(){if(Ou)return ki;Ou=1,Object.defineProperty(ki,"__esModule",{value:!0}),ki.default=n,ki.validateChild=d,ki.validateField=u,ki.validateInternal=c;var t=Pr();function n(D,h,f){if(!D)return;const l=t.NODE_FIELDS[D.type];if(!l)return;const O=l[h];u(D,h,f,O),d(D,h,f)}function c(D,h,f,l,O){if(D!=null&&D.validate&&!(D.optional&&l==null)&&(D.validate(h,f,l),O)){var m;const M=l.type;if(M==null)return;(m=t.NODE_PARENT_VALIDATIONS[M])==null||m.call(t.NODE_PARENT_VALIDATIONS,h,f,l)}}function u(D,h,f,l){l!=null&&l.validate&&(l.optional&&f==null||l.validate(D,h,f))}function d(D,h,f){var l;const O=f?.type;O!=null&&((l=t.NODE_PARENT_VALIDATIONS[O])==null||l.call(t.NODE_PARENT_VALIDATIONS,D,h,f))}return ki}var vu;function Gl(){if(vu)return k;vu=1,Object.defineProperty(k,"__esModule",{value:!0}),k.anyTypeAnnotation=Gt,k.argumentPlaceholder=Ci,k.arrayExpression=D,k.arrayPattern=Nt,k.arrayTypeAnnotation=_t,k.arrowFunctionExpression=It,k.assignmentExpression=h,k.assignmentPattern=gt,k.awaitExpression=Xt,k.bigIntLiteral=Wt,k.binaryExpression=f,k.bindExpression=ri,k.blockStatement=M,k.booleanLiteral=ue,k.booleanLiteralTypeAnnotation=jr,k.booleanTypeAnnotation=_r,k.breakStatement=w,k.callExpression=P,k.catchClause=ne,k.classAccessorProperty=er,k.classBody=de,k.classDeclaration=Ae,k.classExpression=Ee,k.classImplements=Lt,k.classMethod=ot,k.classPrivateMethod=Fr,k.classPrivateProperty=Br,k.classProperty=Ht,k.conditionalExpression=Y,k.continueStatement=_,k.debuggerStatement=z,k.decimalLiteral=wi,k.declareClass=xr,k.declareExportAllDeclaration=Jt,k.declareExportDeclaration=Bt,k.declareFunction=hr,k.declareInterface=mr,k.declareModule=qr,k.declareModuleExports=Tr,k.declareOpaqueType=Cr,k.declareTypeAlias=Hr,k.declareVariable=rr,k.declaredPredicate=zt,k.decorator=Di,k.directive=O,k.directiveLiteral=m,k.doExpression=pi,k.doWhileStatement=B,k.emptyStatement=Z,k.emptyTypeAnnotation=nr,k.enumBooleanBody=y,k.enumBooleanMember=qe,k.enumDeclaration=p,k.enumDefaultedMember=Le,k.enumNumberBody=se,k.enumNumberMember=et,k.enumStringBody=Te,k.enumStringMember=Ot,k.enumSymbolBody=Oe,k.existsTypeAnnotation=ir,k.exportAllDeclaration=Ce,k.exportDefaultDeclaration=Fe,k.exportDefaultSpecifier=Oi,k.exportNamedDeclaration=ve,k.exportNamespaceSpecifier=Dt,k.exportSpecifier=Ke,k.expressionStatement=X,k.file=I,k.forInStatement=E,k.forOfStatement=Xe,k.forStatement=N,k.functionDeclaration=V,k.functionExpression=te,k.functionTypeAnnotation=yr,k.functionTypeParam=Kt,k.genericTypeAnnotation=Yt,k.identifier=U,k.ifStatement=R,k.import=dt,k.importAttribute=Ni,k.importDeclaration=Ge,k.importDefaultSpecifier=We,k.importExpression=ge,k.importNamespaceSpecifier=at,k.importSpecifier=tt,k.indexedAccessType=Lr,k.inferredPredicate=Gr,k.interfaceDeclaration=Er,k.interfaceExtends=wt,k.interfaceTypeAnnotation=Kr,k.interpreterDirective=l,k.intersectionTypeAnnotation=sr,k.jSXAttribute=k.jsxAttribute=Ti,k.jSXClosingElement=k.jsxClosingElement=yi,k.jSXClosingFragment=k.jsxClosingFragment=Ii,k.jSXElement=k.jsxElement=Ei,k.jSXEmptyExpression=k.jsxEmptyExpression=bi,k.jSXExpressionContainer=k.jsxExpressionContainer=ni,k.jSXFragment=k.jsxFragment=Pi,k.jSXIdentifier=k.jsxIdentifier=ai,k.jSXMemberExpression=k.jsxMemberExpression=oi,k.jSXNamespacedName=k.jsxNamespacedName=Ai,k.jSXOpeningElement=k.jsxOpeningElement=gi,k.jSXOpeningFragment=k.jsxOpeningFragment=li,k.jSXSpreadAttribute=k.jsxSpreadAttribute=ui,k.jSXSpreadChild=k.jsxSpreadChild=Si,k.jSXText=k.jsxText=ci,k.labeledStatement=J,k.logicalExpression=H,k.memberExpression=oe,k.metaProperty=$e,k.mixedTypeAnnotation=Ft,k.moduleExpression=Sr,k.newExpression=le,k.noop=_i,k.nullLiteral=re,k.nullLiteralTypeAnnotation=tr,k.nullableTypeAnnotation=ar,k.numberLiteral=Ks,k.numberLiteralTypeAnnotation=Nr,k.numberTypeAnnotation=Yr,k.numericLiteral=Q,k.objectExpression=Se,k.objectMethod=Ie,k.objectPattern=ie,k.objectProperty=De,k.objectTypeAnnotation=Vr,k.objectTypeCallProperty=Dr,k.objectTypeIndexer=or,k.objectTypeInternalSlot=br,k.objectTypeProperty=Xr,k.objectTypeSpreadProperty=ur,k.opaqueType=cr,k.optionalCallExpression=qt,k.optionalIndexedAccessType=wr,k.optionalMemberExpression=jt,k.parenthesizedExpression=Ye,k.pipelineBareFunction=x,k.pipelinePrimaryTopicReference=r,k.pipelineTopicExpression=Ri,k.placeholder=ti,k.privateName=Ir,k.program=ye,k.qualifiedTypeIdentifier=lr,k.recordExpression=vi,k.regExpLiteral=ae,k.regexLiteral=Ys,k.restElement=Me,k.restProperty=Vs,k.returnStatement=xe,k.sequenceExpression=Re,k.spreadElement=G,k.spreadProperty=Xs,k.staticBlock=Ur,k.stringLiteral=F,k.stringLiteralTypeAnnotation=Wr,k.stringTypeAnnotation=xt,k.super=be,k.switchCase=ce,k.switchStatement=he,k.symbolTypeAnnotation=pr,k.taggedTemplateExpression=Ue,k.templateElement=He,k.templateLiteral=ct,k.thisExpression=fe,k.thisTypeAnnotation=Jr,k.throwStatement=Ve,k.topicReference=fi,k.tryStatement=Je,k.tSAnyKeyword=k.tsAnyKeyword=me,k.tSArrayType=k.tsArrayType=as,k.tSAsExpression=k.tsAsExpression=xs,k.tSBigIntKeyword=k.tsBigIntKeyword=Ne,k.tSBooleanKeyword=k.tsBooleanKeyword=_e,k.tSCallSignatureDeclaration=k.tsCallSignatureDeclaration=C,k.tSConditionalType=k.tsConditionalType=ds,k.tSConstructSignatureDeclaration=k.tsConstructSignatureDeclaration=L,k.tSConstructorType=k.tsConstructorType=ts,k.tSDeclareFunction=k.tsDeclareFunction=i,k.tSDeclareMethod=k.tsDeclareMethod=o,k.tSEnumBody=k.tsEnumBody=Ds,k.tSEnumDeclaration=k.tsEnumDeclaration=Os,k.tSEnumMember=k.tsEnumMember=vs,k.tSExportAssignment=k.tsExportAssignment=Fs,k.tSExpressionWithTypeArguments=k.tsExpressionWithTypeArguments=As,k.tSExternalModuleReference=k.tsExternalModuleReference=Ms,k.tSFunctionType=k.tsFunctionType=es,k.tSImportEqualsDeclaration=k.tsImportEqualsDeclaration=ks,k.tSImportType=k.tsImportType=Rs,k.tSIndexSignature=k.tsIndexSignature=ee,k.tSIndexedAccessType=k.tsIndexedAccessType=ys,k.tSInferType=k.tsInferType=hs,k.tSInstantiationExpression=k.tsInstantiationExpression=_s,k.tSInterfaceBody=k.tsInterfaceBody=Ps,k.tSInterfaceDeclaration=k.tsInterfaceDeclaration=gs,k.tSIntersectionType=k.tsIntersectionType=fs,k.tSIntrinsicKeyword=k.tsIntrinsicKeyword=ke,k.tSLiteralType=k.tsLiteralType=Ss,k.tSMappedType=k.tsMappedType=Es,k.tSMethodSignature=k.tsMethodSignature=$,k.tSModuleBlock=k.tsModuleBlock=ws,k.tSModuleDeclaration=k.tsModuleDeclaration=Ls,k.tSNamedTupleMember=k.tsNamedTupleMember=ls,k.tSNamespaceExportDeclaration=k.tsNamespaceExportDeclaration=Us,k.tSNeverKeyword=k.tsNeverKeyword=Qe,k.tSNonNullExpression=k.tsNonNullExpression=Bs,k.tSNullKeyword=k.tsNullKeyword=mt,k.tSNumberKeyword=k.tsNumberKeyword=Ze,k.tSObjectKeyword=k.tsObjectKeyword=ut,k.tSOptionalType=k.tsOptionalType=us,k.tSParameterProperty=k.tsParameterProperty=e,k.tSParenthesizedType=k.tsParenthesizedType=ms,k.tSPropertySignature=k.tsPropertySignature=K,k.tSQualifiedName=k.tsQualifiedName=T,k.tSRestType=k.tsRestType=cs,k.tSSatisfiesExpression=k.tsSatisfiesExpression=Cs,k.tSStringKeyword=k.tsStringKeyword=Rr,k.tSSymbolKeyword=k.tsSymbolKeyword=Ar,k.tSTemplateLiteralType=k.tsTemplateLiteralType=bs,k.tSThisType=k.tsThisType=Zi,k.tSTupleType=k.tsTupleType=os,k.tSTypeAliasDeclaration=k.tsTypeAliasDeclaration=Is,k.tSTypeAnnotation=k.tsTypeAnnotation=js,k.tSTypeAssertion=k.tsTypeAssertion=Ns,k.tSTypeLiteral=k.tsTypeLiteral=ns,k.tSTypeOperator=k.tsTypeOperator=Ts,k.tSTypeParameter=k.tsTypeParameter=Gs,k.tSTypeParameterDeclaration=k.tsTypeParameterDeclaration=Hs,k.tSTypeParameterInstantiation=k.tsTypeParameterInstantiation=qs,k.tSTypePredicate=k.tsTypePredicate=is,k.tSTypeQuery=k.tsTypeQuery=ss,k.tSTypeReference=k.tsTypeReference=rs,k.tSUndefinedKeyword=k.tsUndefinedKeyword=zi,k.tSUnionType=k.tsUnionType=ps,k.tSUnknownKeyword=k.tsUnknownKeyword=$i,k.tSVoidKeyword=k.tsVoidKeyword=Qi,k.tupleExpression=Li,k.tupleTypeAnnotation=zr,k.typeAlias=$r,k.typeAnnotation=Or,k.typeCastExpression=fr,k.typeParameter=Qr,k.typeParameterDeclaration=Zr,k.typeParameterInstantiation=ei,k.typeofTypeAnnotation=je,k.unaryExpression=it,k.unionTypeAnnotation=vr,k.updateExpression=pt,k.v8IntrinsicIdentifier=xi,k.variableDeclaration=ft,k.variableDeclarator=yt,k.variance=Ut,k.voidTypeAnnotation=Rt,k.whileStatement=Et,k.withStatement=bt,k.yieldExpression=Vt;var t=jo(),n=Oa(),c=si();const{validateInternal:u}=t,{NODE_FIELDS:d}=c;function D(b=[]){const S={type:"ArrayExpression",elements:b},g=d.ArrayExpression;return u(g.elements,S,"elements",b,1),S}function h(b,S,g){const v={type:"AssignmentExpression",operator:b,left:S,right:g},W=d.AssignmentExpression;return u(W.operator,v,"operator",b),u(W.left,v,"left",S,1),u(W.right,v,"right",g,1),v}function f(b,S,g){const v={type:"BinaryExpression",operator:b,left:S,right:g},W=d.BinaryExpression;return u(W.operator,v,"operator",b),u(W.left,v,"left",S,1),u(W.right,v,"right",g,1),v}function l(b){const S={type:"InterpreterDirective",value:b},g=d.InterpreterDirective;return u(g.value,S,"value",b),S}function O(b){const S={type:"Directive",value:b},g=d.Directive;return u(g.value,S,"value",b,1),S}function m(b){const S={type:"DirectiveLiteral",value:b},g=d.DirectiveLiteral;return u(g.value,S,"value",b),S}function M(b,S=[]){const g={type:"BlockStatement",body:b,directives:S},v=d.BlockStatement;return u(v.body,g,"body",b,1),u(v.directives,g,"directives",S,1),g}function w(b=null){const S={type:"BreakStatement",label:b},g=d.BreakStatement;return u(g.label,S,"label",b,1),S}function P(b,S){const g={type:"CallExpression",callee:b,arguments:S},v=d.CallExpression;return u(v.callee,g,"callee",b,1),u(v.arguments,g,"arguments",S,1),g}function ne(b=null,S){const g={type:"CatchClause",param:b,body:S},v=d.CatchClause;return u(v.param,g,"param",b,1),u(v.body,g,"body",S,1),g}function Y(b,S,g){const v={type:"ConditionalExpression",test:b,consequent:S,alternate:g},W=d.ConditionalExpression;return u(W.test,v,"test",b,1),u(W.consequent,v,"consequent",S,1),u(W.alternate,v,"alternate",g,1),v}function _(b=null){const S={type:"ContinueStatement",label:b},g=d.ContinueStatement;return u(g.label,S,"label",b,1),S}function z(){return{type:"DebuggerStatement"}}function B(b,S){const g={type:"DoWhileStatement",test:b,body:S},v=d.DoWhileStatement;return u(v.test,g,"test",b,1),u(v.body,g,"body",S,1),g}function Z(){return{type:"EmptyStatement"}}function X(b){const S={type:"ExpressionStatement",expression:b},g=d.ExpressionStatement;return u(g.expression,S,"expression",b,1),S}function I(b,S=null,g=null){const v={type:"File",program:b,comments:S,tokens:g},W=d.File;return u(W.program,v,"program",b,1),u(W.comments,v,"comments",S,1),u(W.tokens,v,"tokens",g),v}function E(b,S,g){const v={type:"ForInStatement",left:b,right:S,body:g},W=d.ForInStatement;return u(W.left,v,"left",b,1),u(W.right,v,"right",S,1),u(W.body,v,"body",g,1),v}function N(b=null,S=null,g=null,v){const W={type:"ForStatement",init:b,test:S,update:g,body:v},pe=d.ForStatement;return u(pe.init,W,"init",b,1),u(pe.test,W,"test",S,1),u(pe.update,W,"update",g,1),u(pe.body,W,"body",v,1),W}function V(b=null,S,g,v=!1,W=!1){const pe={type:"FunctionDeclaration",id:b,params:S,body:g,generator:v,async:W},Be=d.FunctionDeclaration;return u(Be.id,pe,"id",b,1),u(Be.params,pe,"params",S,1),u(Be.body,pe,"body",g,1),u(Be.generator,pe,"generator",v),u(Be.async,pe,"async",W),pe}function te(b=null,S,g,v=!1,W=!1){const pe={type:"FunctionExpression",id:b,params:S,body:g,generator:v,async:W},Be=d.FunctionExpression;return u(Be.id,pe,"id",b,1),u(Be.params,pe,"params",S,1),u(Be.body,pe,"body",g,1),u(Be.generator,pe,"generator",v),u(Be.async,pe,"async",W),pe}function U(b){const S={type:"Identifier",name:b},g=d.Identifier;return u(g.name,S,"name",b),S}function R(b,S,g=null){const v={type:"IfStatement",test:b,consequent:S,alternate:g},W=d.IfStatement;return u(W.test,v,"test",b,1),u(W.consequent,v,"consequent",S,1),u(W.alternate,v,"alternate",g,1),v}function J(b,S){const g={type:"LabeledStatement",label:b,body:S},v=d.LabeledStatement;return u(v.label,g,"label",b,1),u(v.body,g,"body",S,1),g}function F(b){const S={type:"StringLiteral",value:b},g=d.StringLiteral;return u(g.value,S,"value",b),S}function Q(b){const S={type:"NumericLiteral",value:b},g=d.NumericLiteral;return u(g.value,S,"value",b),S}function re(){return{type:"NullLiteral"}}function ue(b){const S={type:"BooleanLiteral",value:b},g=d.BooleanLiteral;return u(g.value,S,"value",b),S}function ae(b,S=""){const g={type:"RegExpLiteral",pattern:b,flags:S},v=d.RegExpLiteral;return u(v.pattern,g,"pattern",b),u(v.flags,g,"flags",S),g}function H(b,S,g){const v={type:"LogicalExpression",operator:b,left:S,right:g},W=d.LogicalExpression;return u(W.operator,v,"operator",b),u(W.left,v,"left",S,1),u(W.right,v,"right",g,1),v}function oe(b,S,g=!1,v=null){const W={type:"MemberExpression",object:b,property:S,computed:g,optional:v},pe=d.MemberExpression;return u(pe.object,W,"object",b,1),u(pe.property,W,"property",S,1),u(pe.computed,W,"computed",g),u(pe.optional,W,"optional",v),W}function le(b,S){const g={type:"NewExpression",callee:b,arguments:S},v=d.NewExpression;return u(v.callee,g,"callee",b,1),u(v.arguments,g,"arguments",S,1),g}function ye(b,S=[],g="script",v=null){const W={type:"Program",body:b,directives:S,sourceType:g,interpreter:v},pe=d.Program;return u(pe.body,W,"body",b,1),u(pe.directives,W,"directives",S,1),u(pe.sourceType,W,"sourceType",g),u(pe.interpreter,W,"interpreter",v,1),W}function Se(b){const S={type:"ObjectExpression",properties:b},g=d.ObjectExpression;return u(g.properties,S,"properties",b,1),S}function Ie(b="method",S,g,v,W=!1,pe=!1,Be=!1){const lt={type:"ObjectMethod",kind:b,key:S,params:g,body:v,computed:W,generator:pe,async:Be},St=d.ObjectMethod;return u(St.kind,lt,"kind",b),u(St.key,lt,"key",S,1),u(St.params,lt,"params",g,1),u(St.body,lt,"body",v,1),u(St.computed,lt,"computed",W),u(St.generator,lt,"generator",pe),u(St.async,lt,"async",Be),lt}function De(b,S,g=!1,v=!1,W=null){const pe={type:"ObjectProperty",key:b,value:S,computed:g,shorthand:v,decorators:W},Be=d.ObjectProperty;return u(Be.key,pe,"key",b,1),u(Be.value,pe,"value",S,1),u(Be.computed,pe,"computed",g),u(Be.shorthand,pe,"shorthand",v),u(Be.decorators,pe,"decorators",W,1),pe}function Me(b){const S={type:"RestElement",argument:b},g=d.RestElement;return u(g.argument,S,"argument",b,1),S}function xe(b=null){const S={type:"ReturnStatement",argument:b},g=d.ReturnStatement;return u(g.argument,S,"argument",b,1),S}function Re(b){const S={type:"SequenceExpression",expressions:b},g=d.SequenceExpression;return u(g.expressions,S,"expressions",b,1),S}function Ye(b){const S={type:"ParenthesizedExpression",expression:b},g=d.ParenthesizedExpression;return u(g.expression,S,"expression",b,1),S}function ce(b=null,S){const g={type:"SwitchCase",test:b,consequent:S},v=d.SwitchCase;return u(v.test,g,"test",b,1),u(v.consequent,g,"consequent",S,1),g}function he(b,S){const g={type:"SwitchStatement",discriminant:b,cases:S},v=d.SwitchStatement;return u(v.discriminant,g,"discriminant",b,1),u(v.cases,g,"cases",S,1),g}function fe(){return{type:"ThisExpression"}}function Ve(b){const S={type:"ThrowStatement",argument:b},g=d.ThrowStatement;return u(g.argument,S,"argument",b,1),S}function Je(b,S=null,g=null){const v={type:"TryStatement",block:b,handler:S,finalizer:g},W=d.TryStatement;return u(W.block,v,"block",b,1),u(W.handler,v,"handler",S,1),u(W.finalizer,v,"finalizer",g,1),v}function it(b,S,g=!0){const v={type:"UnaryExpression",operator:b,argument:S,prefix:g},W=d.UnaryExpression;return u(W.operator,v,"operator",b),u(W.argument,v,"argument",S,1),u(W.prefix,v,"prefix",g),v}function pt(b,S,g=!1){const v={type:"UpdateExpression",operator:b,argument:S,prefix:g},W=d.UpdateExpression;return u(W.operator,v,"operator",b),u(W.argument,v,"argument",S,1),u(W.prefix,v,"prefix",g),v}function ft(b,S){const g={type:"VariableDeclaration",kind:b,declarations:S},v=d.VariableDeclaration;return u(v.kind,g,"kind",b),u(v.declarations,g,"declarations",S,1),g}function yt(b,S=null){const g={type:"VariableDeclarator",id:b,init:S},v=d.VariableDeclarator;return u(v.id,g,"id",b,1),u(v.init,g,"init",S,1),g}function Et(b,S){const g={type:"WhileStatement",test:b,body:S},v=d.WhileStatement;return u(v.test,g,"test",b,1),u(v.body,g,"body",S,1),g}function bt(b,S){const g={type:"WithStatement",object:b,body:S},v=d.WithStatement;return u(v.object,g,"object",b,1),u(v.body,g,"body",S,1),g}function gt(b,S){const g={type:"AssignmentPattern",left:b,right:S},v=d.AssignmentPattern;return u(v.left,g,"left",b,1),u(v.right,g,"right",S,1),g}function Nt(b){const S={type:"ArrayPattern",elements:b},g=d.ArrayPattern;return u(g.elements,S,"elements",b,1),S}function It(b,S,g=!1){const v={type:"ArrowFunctionExpression",params:b,body:S,async:g,expression:null},W=d.ArrowFunctionExpression;return u(W.params,v,"params",b,1),u(W.body,v,"body",S,1),u(W.async,v,"async",g),v}function de(b){const S={type:"ClassBody",body:b},g=d.ClassBody;return u(g.body,S,"body",b,1),S}function Ee(b=null,S=null,g,v=null){const W={type:"ClassExpression",id:b,superClass:S,body:g,decorators:v},pe=d.ClassExpression;return u(pe.id,W,"id",b,1),u(pe.superClass,W,"superClass",S,1),u(pe.body,W,"body",g,1),u(pe.decorators,W,"decorators",v,1),W}function Ae(b=null,S=null,g,v=null){const W={type:"ClassDeclaration",id:b,superClass:S,body:g,decorators:v},pe=d.ClassDeclaration;return u(pe.id,W,"id",b,1),u(pe.superClass,W,"superClass",S,1),u(pe.body,W,"body",g,1),u(pe.decorators,W,"decorators",v,1),W}function Ce(b){const S={type:"ExportAllDeclaration",source:b},g=d.ExportAllDeclaration;return u(g.source,S,"source",b,1),S}function Fe(b){const S={type:"ExportDefaultDeclaration",declaration:b},g=d.ExportDefaultDeclaration;return u(g.declaration,S,"declaration",b,1),S}function ve(b=null,S=[],g=null){const v={type:"ExportNamedDeclaration",declaration:b,specifiers:S,source:g},W=d.ExportNamedDeclaration;return u(W.declaration,v,"declaration",b,1),u(W.specifiers,v,"specifiers",S,1),u(W.source,v,"source",g,1),v}function Ke(b,S){const g={type:"ExportSpecifier",local:b,exported:S},v=d.ExportSpecifier;return u(v.local,g,"local",b,1),u(v.exported,g,"exported",S,1),g}function Xe(b,S,g,v=!1){const W={type:"ForOfStatement",left:b,right:S,body:g,await:v},pe=d.ForOfStatement;return u(pe.left,W,"left",b,1),u(pe.right,W,"right",S,1),u(pe.body,W,"body",g,1),u(pe.await,W,"await",v),W}function Ge(b,S){const g={type:"ImportDeclaration",specifiers:b,source:S},v=d.ImportDeclaration;return u(v.specifiers,g,"specifiers",b,1),u(v.source,g,"source",S,1),g}function We(b){const S={type:"ImportDefaultSpecifier",local:b},g=d.ImportDefaultSpecifier;return u(g.local,S,"local",b,1),S}function at(b){const S={type:"ImportNamespaceSpecifier",local:b},g=d.ImportNamespaceSpecifier;return u(g.local,S,"local",b,1),S}function tt(b,S){const g={type:"ImportSpecifier",local:b,imported:S},v=d.ImportSpecifier;return u(v.local,g,"local",b,1),u(v.imported,g,"imported",S,1),g}function ge(b,S=null){const g={type:"ImportExpression",source:b,options:S},v=d.ImportExpression;return u(v.source,g,"source",b,1),u(v.options,g,"options",S,1),g}function $e(b,S){const g={type:"MetaProperty",meta:b,property:S},v=d.MetaProperty;return u(v.meta,g,"meta",b,1),u(v.property,g,"property",S,1),g}function ot(b="method",S,g,v,W=!1,pe=!1,Be=!1,lt=!1){const St={type:"ClassMethod",kind:b,key:S,params:g,body:v,computed:W,static:pe,generator:Be,async:lt},dr=d.ClassMethod;return u(dr.kind,St,"kind",b),u(dr.key,St,"key",S,1),u(dr.params,St,"params",g,1),u(dr.body,St,"body",v,1),u(dr.computed,St,"computed",W),u(dr.static,St,"static",pe),u(dr.generator,St,"generator",Be),u(dr.async,St,"async",lt),St}function ie(b){const S={type:"ObjectPattern",properties:b},g=d.ObjectPattern;return u(g.properties,S,"properties",b,1),S}function G(b){const S={type:"SpreadElement",argument:b},g=d.SpreadElement;return u(g.argument,S,"argument",b,1),S}function be(){return{type:"Super"}}function Ue(b,S){const g={type:"TaggedTemplateExpression",tag:b,quasi:S},v=d.TaggedTemplateExpression;return u(v.tag,g,"tag",b,1),u(v.quasi,g,"quasi",S,1),g}function He(b,S=!1){const g={type:"TemplateElement",value:b,tail:S},v=d.TemplateElement;return u(v.value,g,"value",b),u(v.tail,g,"tail",S),g}function ct(b,S){const g={type:"TemplateLiteral",quasis:b,expressions:S},v=d.TemplateLiteral;return u(v.quasis,g,"quasis",b,1),u(v.expressions,g,"expressions",S,1),g}function Vt(b=null,S=!1){const g={type:"YieldExpression",argument:b,delegate:S},v=d.YieldExpression;return u(v.argument,g,"argument",b,1),u(v.delegate,g,"delegate",S),g}function Xt(b){const S={type:"AwaitExpression",argument:b},g=d.AwaitExpression;return u(g.argument,S,"argument",b,1),S}function dt(){return{type:"Import"}}function Wt(b){const S={type:"BigIntLiteral",value:b},g=d.BigIntLiteral;return u(g.value,S,"value",b),S}function Dt(b){const S={type:"ExportNamespaceSpecifier",exported:b},g=d.ExportNamespaceSpecifier;return u(g.exported,S,"exported",b,1),S}function jt(b,S,g=!1,v){const W={type:"OptionalMemberExpression",object:b,property:S,computed:g,optional:v},pe=d.OptionalMemberExpression;return u(pe.object,W,"object",b,1),u(pe.property,W,"property",S,1),u(pe.computed,W,"computed",g),u(pe.optional,W,"optional",v),W}function qt(b,S,g){const v={type:"OptionalCallExpression",callee:b,arguments:S,optional:g},W=d.OptionalCallExpression;return u(W.callee,v,"callee",b,1),u(W.arguments,v,"arguments",S,1),u(W.optional,v,"optional",g),v}function Ht(b,S=null,g=null,v=null,W=!1,pe=!1){const Be={type:"ClassProperty",key:b,value:S,typeAnnotation:g,decorators:v,computed:W,static:pe},lt=d.ClassProperty;return u(lt.key,Be,"key",b,1),u(lt.value,Be,"value",S,1),u(lt.typeAnnotation,Be,"typeAnnotation",g,1),u(lt.decorators,Be,"decorators",v,1),u(lt.computed,Be,"computed",W),u(lt.static,Be,"static",pe),Be}function er(b,S=null,g=null,v=null,W=!1,pe=!1){const Be={type:"ClassAccessorProperty",key:b,value:S,typeAnnotation:g,decorators:v,computed:W,static:pe},lt=d.ClassAccessorProperty;return u(lt.key,Be,"key",b,1),u(lt.value,Be,"value",S,1),u(lt.typeAnnotation,Be,"typeAnnotation",g,1),u(lt.decorators,Be,"decorators",v,1),u(lt.computed,Be,"computed",W),u(lt.static,Be,"static",pe),Be}function Br(b,S=null,g=null,v=!1){const W={type:"ClassPrivateProperty",key:b,value:S,decorators:g,static:v},pe=d.ClassPrivateProperty;return u(pe.key,W,"key",b,1),u(pe.value,W,"value",S,1),u(pe.decorators,W,"decorators",g,1),u(pe.static,W,"static",v),W}function Fr(b="method",S,g,v,W=!1){const pe={type:"ClassPrivateMethod",kind:b,key:S,params:g,body:v,static:W},Be=d.ClassPrivateMethod;return u(Be.kind,pe,"kind",b),u(Be.key,pe,"key",S,1),u(Be.params,pe,"params",g,1),u(Be.body,pe,"body",v,1),u(Be.static,pe,"static",W),pe}function Ir(b){const S={type:"PrivateName",id:b},g=d.PrivateName;return u(g.id,S,"id",b,1),S}function Ur(b){const S={type:"StaticBlock",body:b},g=d.StaticBlock;return u(g.body,S,"body",b,1),S}function Gt(){return{type:"AnyTypeAnnotation"}}function _t(b){const S={type:"ArrayTypeAnnotation",elementType:b},g=d.ArrayTypeAnnotation;return u(g.elementType,S,"elementType",b,1),S}function _r(){return{type:"BooleanTypeAnnotation"}}function jr(b){const S={type:"BooleanLiteralTypeAnnotation",value:b},g=d.BooleanLiteralTypeAnnotation;return u(g.value,S,"value",b),S}function tr(){return{type:"NullLiteralTypeAnnotation"}}function Lt(b,S=null){const g={type:"ClassImplements",id:b,typeParameters:S},v=d.ClassImplements;return u(v.id,g,"id",b,1),u(v.typeParameters,g,"typeParameters",S,1),g}function xr(b,S=null,g=null,v){const W={type:"DeclareClass",id:b,typeParameters:S,extends:g,body:v},pe=d.DeclareClass;return u(pe.id,W,"id",b,1),u(pe.typeParameters,W,"typeParameters",S,1),u(pe.extends,W,"extends",g,1),u(pe.body,W,"body",v,1),W}function hr(b){const S={type:"DeclareFunction",id:b},g=d.DeclareFunction;return u(g.id,S,"id",b,1),S}function mr(b,S=null,g=null,v){const W={type:"DeclareInterface",id:b,typeParameters:S,extends:g,body:v},pe=d.DeclareInterface;return u(pe.id,W,"id",b,1),u(pe.typeParameters,W,"typeParameters",S,1),u(pe.extends,W,"extends",g,1),u(pe.body,W,"body",v,1),W}function qr(b,S,g=null){const v={type:"DeclareModule",id:b,body:S,kind:g},W=d.DeclareModule;return u(W.id,v,"id",b,1),u(W.body,v,"body",S,1),u(W.kind,v,"kind",g),v}function Tr(b){const S={type:"DeclareModuleExports",typeAnnotation:b},g=d.DeclareModuleExports;return u(g.typeAnnotation,S,"typeAnnotation",b,1),S}function Hr(b,S=null,g){const v={type:"DeclareTypeAlias",id:b,typeParameters:S,right:g},W=d.DeclareTypeAlias;return u(W.id,v,"id",b,1),u(W.typeParameters,v,"typeParameters",S,1),u(W.right,v,"right",g,1),v}function Cr(b,S=null,g=null){const v={type:"DeclareOpaqueType",id:b,typeParameters:S,supertype:g},W=d.DeclareOpaqueType;return u(W.id,v,"id",b,1),u(W.typeParameters,v,"typeParameters",S,1),u(W.supertype,v,"supertype",g,1),v}function rr(b){const S={type:"DeclareVariable",id:b},g=d.DeclareVariable;return u(g.id,S,"id",b,1),S}function Bt(b=null,S=null,g=null,v=null){const W={type:"DeclareExportDeclaration",declaration:b,specifiers:S,source:g,attributes:v},pe=d.DeclareExportDeclaration;return u(pe.declaration,W,"declaration",b,1),u(pe.specifiers,W,"specifiers",S,1),u(pe.source,W,"source",g,1),u(pe.attributes,W,"attributes",v,1),W}function Jt(b,S=null){const g={type:"DeclareExportAllDeclaration",source:b,attributes:S},v=d.DeclareExportAllDeclaration;return u(v.source,g,"source",b,1),u(v.attributes,g,"attributes",S,1),g}function zt(b){const S={type:"DeclaredPredicate",value:b},g=d.DeclaredPredicate;return u(g.value,S,"value",b,1),S}function ir(){return{type:"ExistsTypeAnnotation"}}function yr(b=null,S,g=null,v){const W={type:"FunctionTypeAnnotation",typeParameters:b,params:S,rest:g,returnType:v},pe=d.FunctionTypeAnnotation;return u(pe.typeParameters,W,"typeParameters",b,1),u(pe.params,W,"params",S,1),u(pe.rest,W,"rest",g,1),u(pe.returnType,W,"returnType",v,1),W}function Kt(b=null,S){const g={type:"FunctionTypeParam",name:b,typeAnnotation:S},v=d.FunctionTypeParam;return u(v.name,g,"name",b,1),u(v.typeAnnotation,g,"typeAnnotation",S,1),g}function Yt(b,S=null){const g={type:"GenericTypeAnnotation",id:b,typeParameters:S},v=d.GenericTypeAnnotation;return u(v.id,g,"id",b,1),u(v.typeParameters,g,"typeParameters",S,1),g}function Gr(){return{type:"InferredPredicate"}}function wt(b,S=null){const g={type:"InterfaceExtends",id:b,typeParameters:S},v=d.InterfaceExtends;return u(v.id,g,"id",b,1),u(v.typeParameters,g,"typeParameters",S,1),g}function Er(b,S=null,g=null,v){const W={type:"InterfaceDeclaration",id:b,typeParameters:S,extends:g,body:v},pe=d.InterfaceDeclaration;return u(pe.id,W,"id",b,1),u(pe.typeParameters,W,"typeParameters",S,1),u(pe.extends,W,"extends",g,1),u(pe.body,W,"body",v,1),W}function Kr(b=null,S){const g={type:"InterfaceTypeAnnotation",extends:b,body:S},v=d.InterfaceTypeAnnotation;return u(v.extends,g,"extends",b,1),u(v.body,g,"body",S,1),g}function sr(b){const S={type:"IntersectionTypeAnnotation",types:b},g=d.IntersectionTypeAnnotation;return u(g.types,S,"types",b,1),S}function Ft(){return{type:"MixedTypeAnnotation"}}function nr(){return{type:"EmptyTypeAnnotation"}}function ar(b){const S={type:"NullableTypeAnnotation",typeAnnotation:b},g=d.NullableTypeAnnotation;return u(g.typeAnnotation,S,"typeAnnotation",b,1),S}function Nr(b){const S={type:"NumberLiteralTypeAnnotation",value:b},g=d.NumberLiteralTypeAnnotation;return u(g.value,S,"value",b),S}function Yr(){return{type:"NumberTypeAnnotation"}}function Vr(b,S=[],g=[],v=[],W=!1){const pe={type:"ObjectTypeAnnotation",properties:b,indexers:S,callProperties:g,internalSlots:v,exact:W},Be=d.ObjectTypeAnnotation;return u(Be.properties,pe,"properties",b,1),u(Be.indexers,pe,"indexers",S,1),u(Be.callProperties,pe,"callProperties",g,1),u(Be.internalSlots,pe,"internalSlots",v,1),u(Be.exact,pe,"exact",W),pe}function br(b,S,g,v,W){const pe={type:"ObjectTypeInternalSlot",id:b,value:S,optional:g,static:v,method:W},Be=d.ObjectTypeInternalSlot;return u(Be.id,pe,"id",b,1),u(Be.value,pe,"value",S,1),u(Be.optional,pe,"optional",g),u(Be.static,pe,"static",v),u(Be.method,pe,"method",W),pe}function Dr(b){const S={type:"ObjectTypeCallProperty",value:b,static:null},g=d.ObjectTypeCallProperty;return u(g.value,S,"value",b,1),S}function or(b=null,S,g,v=null){const W={type:"ObjectTypeIndexer",id:b,key:S,value:g,variance:v,static:null},pe=d.ObjectTypeIndexer;return u(pe.id,W,"id",b,1),u(pe.key,W,"key",S,1),u(pe.value,W,"value",g,1),u(pe.variance,W,"variance",v,1),W}function Xr(b,S,g=null){const v={type:"ObjectTypeProperty",key:b,value:S,variance:g,kind:null,method:null,optional:null,proto:null,static:null},W=d.ObjectTypeProperty;return u(W.key,v,"key",b,1),u(W.value,v,"value",S,1),u(W.variance,v,"variance",g,1),v}function ur(b){const S={type:"ObjectTypeSpreadProperty",argument:b},g=d.ObjectTypeSpreadProperty;return u(g.argument,S,"argument",b,1),S}function cr(b,S=null,g=null,v){const W={type:"OpaqueType",id:b,typeParameters:S,supertype:g,impltype:v},pe=d.OpaqueType;return u(pe.id,W,"id",b,1),u(pe.typeParameters,W,"typeParameters",S,1),u(pe.supertype,W,"supertype",g,1),u(pe.impltype,W,"impltype",v,1),W}function lr(b,S){const g={type:"QualifiedTypeIdentifier",id:b,qualification:S},v=d.QualifiedTypeIdentifier;return u(v.id,g,"id",b,1),u(v.qualification,g,"qualification",S,1),g}function Wr(b){const S={type:"StringLiteralTypeAnnotation",value:b},g=d.StringLiteralTypeAnnotation;return u(g.value,S,"value",b),S}function xt(){return{type:"StringTypeAnnotation"}}function pr(){return{type:"SymbolTypeAnnotation"}}function Jr(){return{type:"ThisTypeAnnotation"}}function zr(b){const S={type:"TupleTypeAnnotation",types:b},g=d.TupleTypeAnnotation;return u(g.types,S,"types",b,1),S}function je(b){const S={type:"TypeofTypeAnnotation",argument:b},g=d.TypeofTypeAnnotation;return u(g.argument,S,"argument",b,1),S}function $r(b,S=null,g){const v={type:"TypeAlias",id:b,typeParameters:S,right:g},W=d.TypeAlias;return u(W.id,v,"id",b,1),u(W.typeParameters,v,"typeParameters",S,1),u(W.right,v,"right",g,1),v}function Or(b){const S={type:"TypeAnnotation",typeAnnotation:b},g=d.TypeAnnotation;return u(g.typeAnnotation,S,"typeAnnotation",b,1),S}function fr(b,S){const g={type:"TypeCastExpression",expression:b,typeAnnotation:S},v=d.TypeCastExpression;return u(v.expression,g,"expression",b,1),u(v.typeAnnotation,g,"typeAnnotation",S,1),g}function Qr(b=null,S=null,g=null){const v={type:"TypeParameter",bound:b,default:S,variance:g,name:null},W=d.TypeParameter;return u(W.bound,v,"bound",b,1),u(W.default,v,"default",S,1),u(W.variance,v,"variance",g,1),v}function Zr(b){const S={type:"TypeParameterDeclaration",params:b},g=d.TypeParameterDeclaration;return u(g.params,S,"params",b,1),S}function ei(b){const S={type:"TypeParameterInstantiation",params:b},g=d.TypeParameterInstantiation;return u(g.params,S,"params",b,1),S}function vr(b){const S={type:"UnionTypeAnnotation",types:b},g=d.UnionTypeAnnotation;return u(g.types,S,"types",b,1),S}function Ut(b){const S={type:"Variance",kind:b},g=d.Variance;return u(g.kind,S,"kind",b),S}function Rt(){return{type:"VoidTypeAnnotation"}}function p(b,S){const g={type:"EnumDeclaration",id:b,body:S},v=d.EnumDeclaration;return u(v.id,g,"id",b,1),u(v.body,g,"body",S,1),g}function y(b){const S={type:"EnumBooleanBody",members:b,explicitType:null,hasUnknownMembers:null},g=d.EnumBooleanBody;return u(g.members,S,"members",b,1),S}function se(b){const S={type:"EnumNumberBody",members:b,explicitType:null,hasUnknownMembers:null},g=d.EnumNumberBody;return u(g.members,S,"members",b,1),S}function Te(b){const S={type:"EnumStringBody",members:b,explicitType:null,hasUnknownMembers:null},g=d.EnumStringBody;return u(g.members,S,"members",b,1),S}function Oe(b){const S={type:"EnumSymbolBody",members:b,hasUnknownMembers:null},g=d.EnumSymbolBody;return u(g.members,S,"members",b,1),S}function qe(b){const S={type:"EnumBooleanMember",id:b,init:null},g=d.EnumBooleanMember;return u(g.id,S,"id",b,1),S}function et(b,S){const g={type:"EnumNumberMember",id:b,init:S},v=d.EnumNumberMember;return u(v.id,g,"id",b,1),u(v.init,g,"init",S,1),g}function Ot(b,S){const g={type:"EnumStringMember",id:b,init:S},v=d.EnumStringMember;return u(v.id,g,"id",b,1),u(v.init,g,"init",S,1),g}function Le(b){const S={type:"EnumDefaultedMember",id:b},g=d.EnumDefaultedMember;return u(g.id,S,"id",b,1),S}function Lr(b,S){const g={type:"IndexedAccessType",objectType:b,indexType:S},v=d.IndexedAccessType;return u(v.objectType,g,"objectType",b,1),u(v.indexType,g,"indexType",S,1),g}function wr(b,S){const g={type:"OptionalIndexedAccessType",objectType:b,indexType:S,optional:null},v=d.OptionalIndexedAccessType;return u(v.objectType,g,"objectType",b,1),u(v.indexType,g,"indexType",S,1),g}function Ti(b,S=null){const g={type:"JSXAttribute",name:b,value:S},v=d.JSXAttribute;return u(v.name,g,"name",b,1),u(v.value,g,"value",S,1),g}function yi(b){const S={type:"JSXClosingElement",name:b},g=d.JSXClosingElement;return u(g.name,S,"name",b,1),S}function Ei(b,S=null,g,v=null){const W={type:"JSXElement",openingElement:b,closingElement:S,children:g,selfClosing:v},pe=d.JSXElement;return u(pe.openingElement,W,"openingElement",b,1),u(pe.closingElement,W,"closingElement",S,1),u(pe.children,W,"children",g,1),u(pe.selfClosing,W,"selfClosing",v),W}function bi(){return{type:"JSXEmptyExpression"}}function ni(b){const S={type:"JSXExpressionContainer",expression:b},g=d.JSXExpressionContainer;return u(g.expression,S,"expression",b,1),S}function Si(b){const S={type:"JSXSpreadChild",expression:b},g=d.JSXSpreadChild;return u(g.expression,S,"expression",b,1),S}function ai(b){const S={type:"JSXIdentifier",name:b},g=d.JSXIdentifier;return u(g.name,S,"name",b),S}function oi(b,S){const g={type:"JSXMemberExpression",object:b,property:S},v=d.JSXMemberExpression;return u(v.object,g,"object",b,1),u(v.property,g,"property",S,1),g}function Ai(b,S){const g={type:"JSXNamespacedName",namespace:b,name:S},v=d.JSXNamespacedName;return u(v.namespace,g,"namespace",b,1),u(v.name,g,"name",S,1),g}function gi(b,S,g=!1){const v={type:"JSXOpeningElement",name:b,attributes:S,selfClosing:g},W=d.JSXOpeningElement;return u(W.name,v,"name",b,1),u(W.attributes,v,"attributes",S,1),u(W.selfClosing,v,"selfClosing",g),v}function ui(b){const S={type:"JSXSpreadAttribute",argument:b},g=d.JSXSpreadAttribute;return u(g.argument,S,"argument",b,1),S}function ci(b){const S={type:"JSXText",value:b},g=d.JSXText;return u(g.value,S,"value",b),S}function Pi(b,S,g){const v={type:"JSXFragment",openingFragment:b,closingFragment:S,children:g},W=d.JSXFragment;return u(W.openingFragment,v,"openingFragment",b,1),u(W.closingFragment,v,"closingFragment",S,1),u(W.children,v,"children",g,1),v}function li(){return{type:"JSXOpeningFragment"}}function Ii(){return{type:"JSXClosingFragment"}}function _i(){return{type:"Noop"}}function ti(b,S){const g={type:"Placeholder",expectedNode:b,name:S},v=d.Placeholder;return u(v.expectedNode,g,"expectedNode",b),u(v.name,g,"name",S,1),g}function xi(b){const S={type:"V8IntrinsicIdentifier",name:b},g=d.V8IntrinsicIdentifier;return u(g.name,S,"name",b),S}function Ci(){return{type:"ArgumentPlaceholder"}}function ri(b,S){const g={type:"BindExpression",object:b,callee:S},v=d.BindExpression;return u(v.object,g,"object",b,1),u(v.callee,g,"callee",S,1),g}function Ni(b,S){const g={type:"ImportAttribute",key:b,value:S},v=d.ImportAttribute;return u(v.key,g,"key",b,1),u(v.value,g,"value",S,1),g}function Di(b){const S={type:"Decorator",expression:b},g=d.Decorator;return u(g.expression,S,"expression",b,1),S}function pi(b,S=!1){const g={type:"DoExpression",body:b,async:S},v=d.DoExpression;return u(v.body,g,"body",b,1),u(v.async,g,"async",S),g}function Oi(b){const S={type:"ExportDefaultSpecifier",exported:b},g=d.ExportDefaultSpecifier;return u(g.exported,S,"exported",b,1),S}function vi(b){const S={type:"RecordExpression",properties:b},g=d.RecordExpression;return u(g.properties,S,"properties",b,1),S}function Li(b=[]){const S={type:"TupleExpression",elements:b},g=d.TupleExpression;return u(g.elements,S,"elements",b,1),S}function wi(b){const S={type:"DecimalLiteral",value:b},g=d.DecimalLiteral;return u(g.value,S,"value",b),S}function Sr(b){const S={type:"ModuleExpression",body:b},g=d.ModuleExpression;return u(g.body,S,"body",b,1),S}function fi(){return{type:"TopicReference"}}function Ri(b){const S={type:"PipelineTopicExpression",expression:b},g=d.PipelineTopicExpression;return u(g.expression,S,"expression",b,1),S}function x(b){const S={type:"PipelineBareFunction",callee:b},g=d.PipelineBareFunction;return u(g.callee,S,"callee",b,1),S}function r(){return{type:"PipelinePrimaryTopicReference"}}function e(b){const S={type:"TSParameterProperty",parameter:b},g=d.TSParameterProperty;return u(g.parameter,S,"parameter",b,1),S}function i(b=null,S=null,g,v=null){const W={type:"TSDeclareFunction",id:b,typeParameters:S,params:g,returnType:v},pe=d.TSDeclareFunction;return u(pe.id,W,"id",b,1),u(pe.typeParameters,W,"typeParameters",S,1),u(pe.params,W,"params",g,1),u(pe.returnType,W,"returnType",v,1),W}function o(b=null,S,g=null,v,W=null){const pe={type:"TSDeclareMethod",decorators:b,key:S,typeParameters:g,params:v,returnType:W},Be=d.TSDeclareMethod;return u(Be.decorators,pe,"decorators",b,1),u(Be.key,pe,"key",S,1),u(Be.typeParameters,pe,"typeParameters",g,1),u(Be.params,pe,"params",v,1),u(Be.returnType,pe,"returnType",W,1),pe}function T(b,S){const g={type:"TSQualifiedName",left:b,right:S},v=d.TSQualifiedName;return u(v.left,g,"left",b,1),u(v.right,g,"right",S,1),g}function C(b=null,S,g=null){const v={type:"TSCallSignatureDeclaration",typeParameters:b,parameters:S,typeAnnotation:g},W=d.TSCallSignatureDeclaration;return u(W.typeParameters,v,"typeParameters",b,1),u(W.parameters,v,"parameters",S,1),u(W.typeAnnotation,v,"typeAnnotation",g,1),v}function L(b=null,S,g=null){const v={type:"TSConstructSignatureDeclaration",typeParameters:b,parameters:S,typeAnnotation:g},W=d.TSConstructSignatureDeclaration;return u(W.typeParameters,v,"typeParameters",b,1),u(W.parameters,v,"parameters",S,1),u(W.typeAnnotation,v,"typeAnnotation",g,1),v}function K(b,S=null){const g={type:"TSPropertySignature",key:b,typeAnnotation:S},v=d.TSPropertySignature;return u(v.key,g,"key",b,1),u(v.typeAnnotation,g,"typeAnnotation",S,1),g}function $(b,S=null,g,v=null){const W={type:"TSMethodSignature",key:b,typeParameters:S,parameters:g,typeAnnotation:v,kind:null},pe=d.TSMethodSignature;return u(pe.key,W,"key",b,1),u(pe.typeParameters,W,"typeParameters",S,1),u(pe.parameters,W,"parameters",g,1),u(pe.typeAnnotation,W,"typeAnnotation",v,1),W}function ee(b,S=null){const g={type:"TSIndexSignature",parameters:b,typeAnnotation:S},v=d.TSIndexSignature;return u(v.parameters,g,"parameters",b,1),u(v.typeAnnotation,g,"typeAnnotation",S,1),g}function me(){return{type:"TSAnyKeyword"}}function _e(){return{type:"TSBooleanKeyword"}}function Ne(){return{type:"TSBigIntKeyword"}}function ke(){return{type:"TSIntrinsicKeyword"}}function Qe(){return{type:"TSNeverKeyword"}}function mt(){return{type:"TSNullKeyword"}}function Ze(){return{type:"TSNumberKeyword"}}function ut(){return{type:"TSObjectKeyword"}}function Rr(){return{type:"TSStringKeyword"}}function Ar(){return{type:"TSSymbolKeyword"}}function zi(){return{type:"TSUndefinedKeyword"}}function $i(){return{type:"TSUnknownKeyword"}}function Qi(){return{type:"TSVoidKeyword"}}function Zi(){return{type:"TSThisType"}}function es(b=null,S,g=null){const v={type:"TSFunctionType",typeParameters:b,parameters:S,typeAnnotation:g},W=d.TSFunctionType;return u(W.typeParameters,v,"typeParameters",b,1),u(W.parameters,v,"parameters",S,1),u(W.typeAnnotation,v,"typeAnnotation",g,1),v}function ts(b=null,S,g=null){const v={type:"TSConstructorType",typeParameters:b,parameters:S,typeAnnotation:g},W=d.TSConstructorType;return u(W.typeParameters,v,"typeParameters",b,1),u(W.parameters,v,"parameters",S,1),u(W.typeAnnotation,v,"typeAnnotation",g,1),v}function rs(b,S=null){const g={type:"TSTypeReference",typeName:b,typeParameters:S},v=d.TSTypeReference;return u(v.typeName,g,"typeName",b,1),u(v.typeParameters,g,"typeParameters",S,1),g}function is(b,S=null,g=null){const v={type:"TSTypePredicate",parameterName:b,typeAnnotation:S,asserts:g},W=d.TSTypePredicate;return u(W.parameterName,v,"parameterName",b,1),u(W.typeAnnotation,v,"typeAnnotation",S,1),u(W.asserts,v,"asserts",g),v}function ss(b,S=null){const g={type:"TSTypeQuery",exprName:b,typeParameters:S},v=d.TSTypeQuery;return u(v.exprName,g,"exprName",b,1),u(v.typeParameters,g,"typeParameters",S,1),g}function ns(b){const S={type:"TSTypeLiteral",members:b},g=d.TSTypeLiteral;return u(g.members,S,"members",b,1),S}function as(b){const S={type:"TSArrayType",elementType:b},g=d.TSArrayType;return u(g.elementType,S,"elementType",b,1),S}function os(b){const S={type:"TSTupleType",elementTypes:b},g=d.TSTupleType;return u(g.elementTypes,S,"elementTypes",b,1),S}function us(b){const S={type:"TSOptionalType",typeAnnotation:b},g=d.TSOptionalType;return u(g.typeAnnotation,S,"typeAnnotation",b,1),S}function cs(b){const S={type:"TSRestType",typeAnnotation:b},g=d.TSRestType;return u(g.typeAnnotation,S,"typeAnnotation",b,1),S}function ls(b,S,g=!1){const v={type:"TSNamedTupleMember",label:b,elementType:S,optional:g},W=d.TSNamedTupleMember;return u(W.label,v,"label",b,1),u(W.elementType,v,"elementType",S,1),u(W.optional,v,"optional",g),v}function ps(b){const S={type:"TSUnionType",types:b},g=d.TSUnionType;return u(g.types,S,"types",b,1),S}function fs(b){const S={type:"TSIntersectionType",types:b},g=d.TSIntersectionType;return u(g.types,S,"types",b,1),S}function ds(b,S,g,v){const W={type:"TSConditionalType",checkType:b,extendsType:S,trueType:g,falseType:v},pe=d.TSConditionalType;return u(pe.checkType,W,"checkType",b,1),u(pe.extendsType,W,"extendsType",S,1),u(pe.trueType,W,"trueType",g,1),u(pe.falseType,W,"falseType",v,1),W}function hs(b){const S={type:"TSInferType",typeParameter:b},g=d.TSInferType;return u(g.typeParameter,S,"typeParameter",b,1),S}function ms(b){const S={type:"TSParenthesizedType",typeAnnotation:b},g=d.TSParenthesizedType;return u(g.typeAnnotation,S,"typeAnnotation",b,1),S}function Ts(b){const S={type:"TSTypeOperator",typeAnnotation:b,operator:null},g=d.TSTypeOperator;return u(g.typeAnnotation,S,"typeAnnotation",b,1),S}function ys(b,S){const g={type:"TSIndexedAccessType",objectType:b,indexType:S},v=d.TSIndexedAccessType;return u(v.objectType,g,"objectType",b,1),u(v.indexType,g,"indexType",S,1),g}function Es(b,S=null,g=null){const v={type:"TSMappedType",typeParameter:b,typeAnnotation:S,nameType:g},W=d.TSMappedType;return u(W.typeParameter,v,"typeParameter",b,1),u(W.typeAnnotation,v,"typeAnnotation",S,1),u(W.nameType,v,"nameType",g,1),v}function bs(b,S){const g={type:"TSTemplateLiteralType",quasis:b,types:S},v=d.TSTemplateLiteralType;return u(v.quasis,g,"quasis",b,1),u(v.types,g,"types",S,1),g}function Ss(b){const S={type:"TSLiteralType",literal:b},g=d.TSLiteralType;return u(g.literal,S,"literal",b,1),S}function As(b,S=null){const g={type:"TSExpressionWithTypeArguments",expression:b,typeParameters:S},v=d.TSExpressionWithTypeArguments;return u(v.expression,g,"expression",b,1),u(v.typeParameters,g,"typeParameters",S,1),g}function gs(b,S=null,g=null,v){const W={type:"TSInterfaceDeclaration",id:b,typeParameters:S,extends:g,body:v},pe=d.TSInterfaceDeclaration;return u(pe.id,W,"id",b,1),u(pe.typeParameters,W,"typeParameters",S,1),u(pe.extends,W,"extends",g,1),u(pe.body,W,"body",v,1),W}function Ps(b){const S={type:"TSInterfaceBody",body:b},g=d.TSInterfaceBody;return u(g.body,S,"body",b,1),S}function Is(b,S=null,g){const v={type:"TSTypeAliasDeclaration",id:b,typeParameters:S,typeAnnotation:g},W=d.TSTypeAliasDeclaration;return u(W.id,v,"id",b,1),u(W.typeParameters,v,"typeParameters",S,1),u(W.typeAnnotation,v,"typeAnnotation",g,1),v}function _s(b,S=null){const g={type:"TSInstantiationExpression",expression:b,typeParameters:S},v=d.TSInstantiationExpression;return u(v.expression,g,"expression",b,1),u(v.typeParameters,g,"typeParameters",S,1),g}function xs(b,S){const g={type:"TSAsExpression",expression:b,typeAnnotation:S},v=d.TSAsExpression;return u(v.expression,g,"expression",b,1),u(v.typeAnnotation,g,"typeAnnotation",S,1),g}function Cs(b,S){const g={type:"TSSatisfiesExpression",expression:b,typeAnnotation:S},v=d.TSSatisfiesExpression;return u(v.expression,g,"expression",b,1),u(v.typeAnnotation,g,"typeAnnotation",S,1),g}function Ns(b,S){const g={type:"TSTypeAssertion",typeAnnotation:b,expression:S},v=d.TSTypeAssertion;return u(v.typeAnnotation,g,"typeAnnotation",b,1),u(v.expression,g,"expression",S,1),g}function Ds(b){const S={type:"TSEnumBody",members:b},g=d.TSEnumBody;return u(g.members,S,"members",b,1),S}function Os(b,S){const g={type:"TSEnumDeclaration",id:b,members:S},v=d.TSEnumDeclaration;return u(v.id,g,"id",b,1),u(v.members,g,"members",S,1),g}function vs(b,S=null){const g={type:"TSEnumMember",id:b,initializer:S},v=d.TSEnumMember;return u(v.id,g,"id",b,1),u(v.initializer,g,"initializer",S,1),g}function Ls(b,S){const g={type:"TSModuleDeclaration",id:b,body:S,kind:null},v=d.TSModuleDeclaration;return u(v.id,g,"id",b,1),u(v.body,g,"body",S,1),g}function ws(b){const S={type:"TSModuleBlock",body:b},g=d.TSModuleBlock;return u(g.body,S,"body",b,1),S}function Rs(b,S=null,g=null){const v={type:"TSImportType",argument:b,qualifier:S,typeParameters:g},W=d.TSImportType;return u(W.argument,v,"argument",b,1),u(W.qualifier,v,"qualifier",S,1),u(W.typeParameters,v,"typeParameters",g,1),v}function ks(b,S){const g={type:"TSImportEqualsDeclaration",id:b,moduleReference:S,isExport:null},v=d.TSImportEqualsDeclaration;return u(v.id,g,"id",b,1),u(v.moduleReference,g,"moduleReference",S,1),g}function Ms(b){const S={type:"TSExternalModuleReference",expression:b},g=d.TSExternalModuleReference;return u(g.expression,S,"expression",b,1),S}function Bs(b){const S={type:"TSNonNullExpression",expression:b},g=d.TSNonNullExpression;return u(g.expression,S,"expression",b,1),S}function Fs(b){const S={type:"TSExportAssignment",expression:b},g=d.TSExportAssignment;return u(g.expression,S,"expression",b,1),S}function Us(b){const S={type:"TSNamespaceExportDeclaration",id:b},g=d.TSNamespaceExportDeclaration;return u(g.id,S,"id",b,1),S}function js(b){const S={type:"TSTypeAnnotation",typeAnnotation:b},g=d.TSTypeAnnotation;return u(g.typeAnnotation,S,"typeAnnotation",b,1),S}function qs(b){const S={type:"TSTypeParameterInstantiation",params:b},g=d.TSTypeParameterInstantiation;return u(g.params,S,"params",b,1),S}function Hs(b){const S={type:"TSTypeParameterDeclaration",params:b},g=d.TSTypeParameterDeclaration;return u(g.params,S,"params",b,1),S}function Gs(b=null,S=null,g){const v={type:"TSTypeParameter",constraint:b,default:S,name:g},W=d.TSTypeParameter;return u(W.constraint,v,"constraint",b,1),u(W.default,v,"default",S,1),u(W.name,v,"name",g),v}function Ks(b){return(0,n.default)("NumberLiteral","NumericLiteral","The node type "),Q(b)}function Ys(b,S=""){return(0,n.default)("RegexLiteral","RegExpLiteral","The node type "),ae(b,S)}function Vs(b){return(0,n.default)("RestProperty","RestElement","The node type "),Me(b)}function Xs(b){return(0,n.default)("SpreadProperty","SpreadElement","The node type "),G(b)}return k}var go={},Lu;function Dp(){return Lu||(Lu=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:!0,get:function(){return n.anyTypeAnnotation}}),Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:!0,get:function(){return n.argumentPlaceholder}}),Object.defineProperty(t,"ArrayExpression",{enumerable:!0,get:function(){return n.arrayExpression}}),Object.defineProperty(t,"ArrayPattern",{enumerable:!0,get:function(){return n.arrayPattern}}),Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return n.arrayTypeAnnotation}}),Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:!0,get:function(){return n.arrowFunctionExpression}}),Object.defineProperty(t,"AssignmentExpression",{enumerable:!0,get:function(){return n.assignmentExpression}}),Object.defineProperty(t,"AssignmentPattern",{enumerable:!0,get:function(){return n.assignmentPattern}}),Object.defineProperty(t,"AwaitExpression",{enumerable:!0,get:function(){return n.awaitExpression}}),Object.defineProperty(t,"BigIntLiteral",{enumerable:!0,get:function(){return n.bigIntLiteral}}),Object.defineProperty(t,"BinaryExpression",{enumerable:!0,get:function(){return n.binaryExpression}}),Object.defineProperty(t,"BindExpression",{enumerable:!0,get:function(){return n.bindExpression}}),Object.defineProperty(t,"BlockStatement",{enumerable:!0,get:function(){return n.blockStatement}}),Object.defineProperty(t,"BooleanLiteral",{enumerable:!0,get:function(){return n.booleanLiteral}}),Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return n.booleanLiteralTypeAnnotation}}),Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return n.booleanTypeAnnotation}}),Object.defineProperty(t,"BreakStatement",{enumerable:!0,get:function(){return n.breakStatement}}),Object.defineProperty(t,"CallExpression",{enumerable:!0,get:function(){return n.callExpression}}),Object.defineProperty(t,"CatchClause",{enumerable:!0,get:function(){return n.catchClause}}),Object.defineProperty(t,"ClassAccessorProperty",{enumerable:!0,get:function(){return n.classAccessorProperty}}),Object.defineProperty(t,"ClassBody",{enumerable:!0,get:function(){return n.classBody}}),Object.defineProperty(t,"ClassDeclaration",{enumerable:!0,get:function(){return n.classDeclaration}}),Object.defineProperty(t,"ClassExpression",{enumerable:!0,get:function(){return n.classExpression}}),Object.defineProperty(t,"ClassImplements",{enumerable:!0,get:function(){return n.classImplements}}),Object.defineProperty(t,"ClassMethod",{enumerable:!0,get:function(){return n.classMethod}}),Object.defineProperty(t,"ClassPrivateMethod",{enumerable:!0,get:function(){return n.classPrivateMethod}}),Object.defineProperty(t,"ClassPrivateProperty",{enumerable:!0,get:function(){return n.classPrivateProperty}}),Object.defineProperty(t,"ClassProperty",{enumerable:!0,get:function(){return n.classProperty}}),Object.defineProperty(t,"ConditionalExpression",{enumerable:!0,get:function(){return n.conditionalExpression}}),Object.defineProperty(t,"ContinueStatement",{enumerable:!0,get:function(){return n.continueStatement}}),Object.defineProperty(t,"DebuggerStatement",{enumerable:!0,get:function(){return n.debuggerStatement}}),Object.defineProperty(t,"DecimalLiteral",{enumerable:!0,get:function(){return n.decimalLiteral}}),Object.defineProperty(t,"DeclareClass",{enumerable:!0,get:function(){return n.declareClass}}),Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return n.declareExportAllDeclaration}}),Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:!0,get:function(){return n.declareExportDeclaration}}),Object.defineProperty(t,"DeclareFunction",{enumerable:!0,get:function(){return n.declareFunction}}),Object.defineProperty(t,"DeclareInterface",{enumerable:!0,get:function(){return n.declareInterface}}),Object.defineProperty(t,"DeclareModule",{enumerable:!0,get:function(){return n.declareModule}}),Object.defineProperty(t,"DeclareModuleExports",{enumerable:!0,get:function(){return n.declareModuleExports}}),Object.defineProperty(t,"DeclareOpaqueType",{enumerable:!0,get:function(){return n.declareOpaqueType}}),Object.defineProperty(t,"DeclareTypeAlias",{enumerable:!0,get:function(){return n.declareTypeAlias}}),Object.defineProperty(t,"DeclareVariable",{enumerable:!0,get:function(){return n.declareVariable}}),Object.defineProperty(t,"DeclaredPredicate",{enumerable:!0,get:function(){return n.declaredPredicate}}),Object.defineProperty(t,"Decorator",{enumerable:!0,get:function(){return n.decorator}}),Object.defineProperty(t,"Directive",{enumerable:!0,get:function(){return n.directive}}),Object.defineProperty(t,"DirectiveLiteral",{enumerable:!0,get:function(){return n.directiveLiteral}}),Object.defineProperty(t,"DoExpression",{enumerable:!0,get:function(){return n.doExpression}}),Object.defineProperty(t,"DoWhileStatement",{enumerable:!0,get:function(){return n.doWhileStatement}}),Object.defineProperty(t,"EmptyStatement",{enumerable:!0,get:function(){return n.emptyStatement}}),Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return n.emptyTypeAnnotation}}),Object.defineProperty(t,"EnumBooleanBody",{enumerable:!0,get:function(){return n.enumBooleanBody}}),Object.defineProperty(t,"EnumBooleanMember",{enumerable:!0,get:function(){return n.enumBooleanMember}}),Object.defineProperty(t,"EnumDeclaration",{enumerable:!0,get:function(){return n.enumDeclaration}}),Object.defineProperty(t,"EnumDefaultedMember",{enumerable:!0,get:function(){return n.enumDefaultedMember}}),Object.defineProperty(t,"EnumNumberBody",{enumerable:!0,get:function(){return n.enumNumberBody}}),Object.defineProperty(t,"EnumNumberMember",{enumerable:!0,get:function(){return n.enumNumberMember}}),Object.defineProperty(t,"EnumStringBody",{enumerable:!0,get:function(){return n.enumStringBody}}),Object.defineProperty(t,"EnumStringMember",{enumerable:!0,get:function(){return n.enumStringMember}}),Object.defineProperty(t,"EnumSymbolBody",{enumerable:!0,get:function(){return n.enumSymbolBody}}),Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return n.existsTypeAnnotation}}),Object.defineProperty(t,"ExportAllDeclaration",{enumerable:!0,get:function(){return n.exportAllDeclaration}}),Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return n.exportDefaultDeclaration}}),Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return n.exportDefaultSpecifier}}),Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:!0,get:function(){return n.exportNamedDeclaration}}),Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return n.exportNamespaceSpecifier}}),Object.defineProperty(t,"ExportSpecifier",{enumerable:!0,get:function(){return n.exportSpecifier}}),Object.defineProperty(t,"ExpressionStatement",{enumerable:!0,get:function(){return n.expressionStatement}}),Object.defineProperty(t,"File",{enumerable:!0,get:function(){return n.file}}),Object.defineProperty(t,"ForInStatement",{enumerable:!0,get:function(){return n.forInStatement}}),Object.defineProperty(t,"ForOfStatement",{enumerable:!0,get:function(){return n.forOfStatement}}),Object.defineProperty(t,"ForStatement",{enumerable:!0,get:function(){return n.forStatement}}),Object.defineProperty(t,"FunctionDeclaration",{enumerable:!0,get:function(){return n.functionDeclaration}}),Object.defineProperty(t,"FunctionExpression",{enumerable:!0,get:function(){return n.functionExpression}}),Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return n.functionTypeAnnotation}}),Object.defineProperty(t,"FunctionTypeParam",{enumerable:!0,get:function(){return n.functionTypeParam}}),Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:!0,get:function(){return n.genericTypeAnnotation}}),Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return n.identifier}}),Object.defineProperty(t,"IfStatement",{enumerable:!0,get:function(){return n.ifStatement}}),Object.defineProperty(t,"Import",{enumerable:!0,get:function(){return n.import}}),Object.defineProperty(t,"ImportAttribute",{enumerable:!0,get:function(){return n.importAttribute}}),Object.defineProperty(t,"ImportDeclaration",{enumerable:!0,get:function(){return n.importDeclaration}}),Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return n.importDefaultSpecifier}}),Object.defineProperty(t,"ImportExpression",{enumerable:!0,get:function(){return n.importExpression}}),Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return n.importNamespaceSpecifier}}),Object.defineProperty(t,"ImportSpecifier",{enumerable:!0,get:function(){return n.importSpecifier}}),Object.defineProperty(t,"IndexedAccessType",{enumerable:!0,get:function(){return n.indexedAccessType}}),Object.defineProperty(t,"InferredPredicate",{enumerable:!0,get:function(){return n.inferredPredicate}}),Object.defineProperty(t,"InterfaceDeclaration",{enumerable:!0,get:function(){return n.interfaceDeclaration}}),Object.defineProperty(t,"InterfaceExtends",{enumerable:!0,get:function(){return n.interfaceExtends}}),Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return n.interfaceTypeAnnotation}}),Object.defineProperty(t,"InterpreterDirective",{enumerable:!0,get:function(){return n.interpreterDirective}}),Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return n.intersectionTypeAnnotation}}),Object.defineProperty(t,"JSXAttribute",{enumerable:!0,get:function(){return n.jsxAttribute}}),Object.defineProperty(t,"JSXClosingElement",{enumerable:!0,get:function(){return n.jsxClosingElement}}),Object.defineProperty(t,"JSXClosingFragment",{enumerable:!0,get:function(){return n.jsxClosingFragment}}),Object.defineProperty(t,"JSXElement",{enumerable:!0,get:function(){return n.jsxElement}}),Object.defineProperty(t,"JSXEmptyExpression",{enumerable:!0,get:function(){return n.jsxEmptyExpression}}),Object.defineProperty(t,"JSXExpressionContainer",{enumerable:!0,get:function(){return n.jsxExpressionContainer}}),Object.defineProperty(t,"JSXFragment",{enumerable:!0,get:function(){return n.jsxFragment}}),Object.defineProperty(t,"JSXIdentifier",{enumerable:!0,get:function(){return n.jsxIdentifier}}),Object.defineProperty(t,"JSXMemberExpression",{enumerable:!0,get:function(){return n.jsxMemberExpression}}),Object.defineProperty(t,"JSXNamespacedName",{enumerable:!0,get:function(){return n.jsxNamespacedName}}),Object.defineProperty(t,"JSXOpeningElement",{enumerable:!0,get:function(){return n.jsxOpeningElement}}),Object.defineProperty(t,"JSXOpeningFragment",{enumerable:!0,get:function(){return n.jsxOpeningFragment}}),Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:!0,get:function(){return n.jsxSpreadAttribute}}),Object.defineProperty(t,"JSXSpreadChild",{enumerable:!0,get:function(){return n.jsxSpreadChild}}),Object.defineProperty(t,"JSXText",{enumerable:!0,get:function(){return n.jsxText}}),Object.defineProperty(t,"LabeledStatement",{enumerable:!0,get:function(){return n.labeledStatement}}),Object.defineProperty(t,"LogicalExpression",{enumerable:!0,get:function(){return n.logicalExpression}}),Object.defineProperty(t,"MemberExpression",{enumerable:!0,get:function(){return n.memberExpression}}),Object.defineProperty(t,"MetaProperty",{enumerable:!0,get:function(){return n.metaProperty}}),Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:!0,get:function(){return n.mixedTypeAnnotation}}),Object.defineProperty(t,"ModuleExpression",{enumerable:!0,get:function(){return n.moduleExpression}}),Object.defineProperty(t,"NewExpression",{enumerable:!0,get:function(){return n.newExpression}}),Object.defineProperty(t,"Noop",{enumerable:!0,get:function(){return n.noop}}),Object.defineProperty(t,"NullLiteral",{enumerable:!0,get:function(){return n.nullLiteral}}),Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return n.nullLiteralTypeAnnotation}}),Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:!0,get:function(){return n.nullableTypeAnnotation}}),Object.defineProperty(t,"NumberLiteral",{enumerable:!0,get:function(){return n.numberLiteral}}),Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return n.numberLiteralTypeAnnotation}}),Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:!0,get:function(){return n.numberTypeAnnotation}}),Object.defineProperty(t,"NumericLiteral",{enumerable:!0,get:function(){return n.numericLiteral}}),Object.defineProperty(t,"ObjectExpression",{enumerable:!0,get:function(){return n.objectExpression}}),Object.defineProperty(t,"ObjectMethod",{enumerable:!0,get:function(){return n.objectMethod}}),Object.defineProperty(t,"ObjectPattern",{enumerable:!0,get:function(){return n.objectPattern}}),Object.defineProperty(t,"ObjectProperty",{enumerable:!0,get:function(){return n.objectProperty}}),Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return n.objectTypeAnnotation}}),Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return n.objectTypeCallProperty}}),Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:!0,get:function(){return n.objectTypeIndexer}}),Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return n.objectTypeInternalSlot}}),Object.defineProperty(t,"ObjectTypeProperty",{enumerable:!0,get:function(){return n.objectTypeProperty}}),Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return n.objectTypeSpreadProperty}}),Object.defineProperty(t,"OpaqueType",{enumerable:!0,get:function(){return n.opaqueType}}),Object.defineProperty(t,"OptionalCallExpression",{enumerable:!0,get:function(){return n.optionalCallExpression}}),Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return n.optionalIndexedAccessType}}),Object.defineProperty(t,"OptionalMemberExpression",{enumerable:!0,get:function(){return n.optionalMemberExpression}}),Object.defineProperty(t,"ParenthesizedExpression",{enumerable:!0,get:function(){return n.parenthesizedExpression}}),Object.defineProperty(t,"PipelineBareFunction",{enumerable:!0,get:function(){return n.pipelineBareFunction}}),Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return n.pipelinePrimaryTopicReference}}),Object.defineProperty(t,"PipelineTopicExpression",{enumerable:!0,get:function(){return n.pipelineTopicExpression}}),Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return n.placeholder}}),Object.defineProperty(t,"PrivateName",{enumerable:!0,get:function(){return n.privateName}}),Object.defineProperty(t,"Program",{enumerable:!0,get:function(){return n.program}}),Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return n.qualifiedTypeIdentifier}}),Object.defineProperty(t,"RecordExpression",{enumerable:!0,get:function(){return n.recordExpression}}),Object.defineProperty(t,"RegExpLiteral",{enumerable:!0,get:function(){return n.regExpLiteral}}),Object.defineProperty(t,"RegexLiteral",{enumerable:!0,get:function(){return n.regexLiteral}}),Object.defineProperty(t,"RestElement",{enumerable:!0,get:function(){return n.restElement}}),Object.defineProperty(t,"RestProperty",{enumerable:!0,get:function(){return n.restProperty}}),Object.defineProperty(t,"ReturnStatement",{enumerable:!0,get:function(){return n.returnStatement}}),Object.defineProperty(t,"SequenceExpression",{enumerable:!0,get:function(){return n.sequenceExpression}}),Object.defineProperty(t,"SpreadElement",{enumerable:!0,get:function(){return n.spreadElement}}),Object.defineProperty(t,"SpreadProperty",{enumerable:!0,get:function(){return n.spreadProperty}}),Object.defineProperty(t,"StaticBlock",{enumerable:!0,get:function(){return n.staticBlock}}),Object.defineProperty(t,"StringLiteral",{enumerable:!0,get:function(){return n.stringLiteral}}),Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return n.stringLiteralTypeAnnotation}}),Object.defineProperty(t,"StringTypeAnnotation",{enumerable:!0,get:function(){return n.stringTypeAnnotation}}),Object.defineProperty(t,"Super",{enumerable:!0,get:function(){return n.super}}),Object.defineProperty(t,"SwitchCase",{enumerable:!0,get:function(){return n.switchCase}}),Object.defineProperty(t,"SwitchStatement",{enumerable:!0,get:function(){return n.switchStatement}}),Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return n.symbolTypeAnnotation}}),Object.defineProperty(t,"TSAnyKeyword",{enumerable:!0,get:function(){return n.tsAnyKeyword}}),Object.defineProperty(t,"TSArrayType",{enumerable:!0,get:function(){return n.tsArrayType}}),Object.defineProperty(t,"TSAsExpression",{enumerable:!0,get:function(){return n.tsAsExpression}}),Object.defineProperty(t,"TSBigIntKeyword",{enumerable:!0,get:function(){return n.tsBigIntKeyword}}),Object.defineProperty(t,"TSBooleanKeyword",{enumerable:!0,get:function(){return n.tsBooleanKeyword}}),Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return n.tsCallSignatureDeclaration}}),Object.defineProperty(t,"TSConditionalType",{enumerable:!0,get:function(){return n.tsConditionalType}}),Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return n.tsConstructSignatureDeclaration}}),Object.defineProperty(t,"TSConstructorType",{enumerable:!0,get:function(){return n.tsConstructorType}}),Object.defineProperty(t,"TSDeclareFunction",{enumerable:!0,get:function(){return n.tsDeclareFunction}}),Object.defineProperty(t,"TSDeclareMethod",{enumerable:!0,get:function(){return n.tsDeclareMethod}}),Object.defineProperty(t,"TSEnumBody",{enumerable:!0,get:function(){return n.tsEnumBody}}),Object.defineProperty(t,"TSEnumDeclaration",{enumerable:!0,get:function(){return n.tsEnumDeclaration}}),Object.defineProperty(t,"TSEnumMember",{enumerable:!0,get:function(){return n.tsEnumMember}}),Object.defineProperty(t,"TSExportAssignment",{enumerable:!0,get:function(){return n.tsExportAssignment}}),Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return n.tsExpressionWithTypeArguments}}),Object.defineProperty(t,"TSExternalModuleReference",{enumerable:!0,get:function(){return n.tsExternalModuleReference}}),Object.defineProperty(t,"TSFunctionType",{enumerable:!0,get:function(){return n.tsFunctionType}}),Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return n.tsImportEqualsDeclaration}}),Object.defineProperty(t,"TSImportType",{enumerable:!0,get:function(){return n.tsImportType}}),Object.defineProperty(t,"TSIndexSignature",{enumerable:!0,get:function(){return n.tsIndexSignature}}),Object.defineProperty(t,"TSIndexedAccessType",{enumerable:!0,get:function(){return n.tsIndexedAccessType}}),Object.defineProperty(t,"TSInferType",{enumerable:!0,get:function(){return n.tsInferType}}),Object.defineProperty(t,"TSInstantiationExpression",{enumerable:!0,get:function(){return n.tsInstantiationExpression}}),Object.defineProperty(t,"TSInterfaceBody",{enumerable:!0,get:function(){return n.tsInterfaceBody}}),Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return n.tsInterfaceDeclaration}}),Object.defineProperty(t,"TSIntersectionType",{enumerable:!0,get:function(){return n.tsIntersectionType}}),Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return n.tsIntrinsicKeyword}}),Object.defineProperty(t,"TSLiteralType",{enumerable:!0,get:function(){return n.tsLiteralType}}),Object.defineProperty(t,"TSMappedType",{enumerable:!0,get:function(){return n.tsMappedType}}),Object.defineProperty(t,"TSMethodSignature",{enumerable:!0,get:function(){return n.tsMethodSignature}}),Object.defineProperty(t,"TSModuleBlock",{enumerable:!0,get:function(){return n.tsModuleBlock}}),Object.defineProperty(t,"TSModuleDeclaration",{enumerable:!0,get:function(){return n.tsModuleDeclaration}}),Object.defineProperty(t,"TSNamedTupleMember",{enumerable:!0,get:function(){return n.tsNamedTupleMember}}),Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return n.tsNamespaceExportDeclaration}}),Object.defineProperty(t,"TSNeverKeyword",{enumerable:!0,get:function(){return n.tsNeverKeyword}}),Object.defineProperty(t,"TSNonNullExpression",{enumerable:!0,get:function(){return n.tsNonNullExpression}}),Object.defineProperty(t,"TSNullKeyword",{enumerable:!0,get:function(){return n.tsNullKeyword}}),Object.defineProperty(t,"TSNumberKeyword",{enumerable:!0,get:function(){return n.tsNumberKeyword}}),Object.defineProperty(t,"TSObjectKeyword",{enumerable:!0,get:function(){return n.tsObjectKeyword}}),Object.defineProperty(t,"TSOptionalType",{enumerable:!0,get:function(){return n.tsOptionalType}}),Object.defineProperty(t,"TSParameterProperty",{enumerable:!0,get:function(){return n.tsParameterProperty}}),Object.defineProperty(t,"TSParenthesizedType",{enumerable:!0,get:function(){return n.tsParenthesizedType}}),Object.defineProperty(t,"TSPropertySignature",{enumerable:!0,get:function(){return n.tsPropertySignature}}),Object.defineProperty(t,"TSQualifiedName",{enumerable:!0,get:function(){return n.tsQualifiedName}}),Object.defineProperty(t,"TSRestType",{enumerable:!0,get:function(){return n.tsRestType}}),Object.defineProperty(t,"TSSatisfiesExpression",{enumerable:!0,get:function(){return n.tsSatisfiesExpression}}),Object.defineProperty(t,"TSStringKeyword",{enumerable:!0,get:function(){return n.tsStringKeyword}}),Object.defineProperty(t,"TSSymbolKeyword",{enumerable:!0,get:function(){return n.tsSymbolKeyword}}),Object.defineProperty(t,"TSTemplateLiteralType",{enumerable:!0,get:function(){return n.tsTemplateLiteralType}}),Object.defineProperty(t,"TSThisType",{enumerable:!0,get:function(){return n.tsThisType}}),Object.defineProperty(t,"TSTupleType",{enumerable:!0,get:function(){return n.tsTupleType}}),Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return n.tsTypeAliasDeclaration}}),Object.defineProperty(t,"TSTypeAnnotation",{enumerable:!0,get:function(){return n.tsTypeAnnotation}}),Object.defineProperty(t,"TSTypeAssertion",{enumerable:!0,get:function(){return n.tsTypeAssertion}}),Object.defineProperty(t,"TSTypeLiteral",{enumerable:!0,get:function(){return n.tsTypeLiteral}}),Object.defineProperty(t,"TSTypeOperator",{enumerable:!0,get:function(){return n.tsTypeOperator}}),Object.defineProperty(t,"TSTypeParameter",{enumerable:!0,get:function(){return n.tsTypeParameter}}),Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return n.tsTypeParameterDeclaration}}),Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return n.tsTypeParameterInstantiation}}),Object.defineProperty(t,"TSTypePredicate",{enumerable:!0,get:function(){return n.tsTypePredicate}}),Object.defineProperty(t,"TSTypeQuery",{enumerable:!0,get:function(){return n.tsTypeQuery}}),Object.defineProperty(t,"TSTypeReference",{enumerable:!0,get:function(){return n.tsTypeReference}}),Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:!0,get:function(){return n.tsUndefinedKeyword}}),Object.defineProperty(t,"TSUnionType",{enumerable:!0,get:function(){return n.tsUnionType}}),Object.defineProperty(t,"TSUnknownKeyword",{enumerable:!0,get:function(){return n.tsUnknownKeyword}}),Object.defineProperty(t,"TSVoidKeyword",{enumerable:!0,get:function(){return n.tsVoidKeyword}}),Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:!0,get:function(){return n.taggedTemplateExpression}}),Object.defineProperty(t,"TemplateElement",{enumerable:!0,get:function(){return n.templateElement}}),Object.defineProperty(t,"TemplateLiteral",{enumerable:!0,get:function(){return n.templateLiteral}}),Object.defineProperty(t,"ThisExpression",{enumerable:!0,get:function(){return n.thisExpression}}),Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:!0,get:function(){return n.thisTypeAnnotation}}),Object.defineProperty(t,"ThrowStatement",{enumerable:!0,get:function(){return n.throwStatement}}),Object.defineProperty(t,"TopicReference",{enumerable:!0,get:function(){return n.topicReference}}),Object.defineProperty(t,"TryStatement",{enumerable:!0,get:function(){return n.tryStatement}}),Object.defineProperty(t,"TupleExpression",{enumerable:!0,get:function(){return n.tupleExpression}}),Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:!0,get:function(){return n.tupleTypeAnnotation}}),Object.defineProperty(t,"TypeAlias",{enumerable:!0,get:function(){return n.typeAlias}}),Object.defineProperty(t,"TypeAnnotation",{enumerable:!0,get:function(){return n.typeAnnotation}}),Object.defineProperty(t,"TypeCastExpression",{enumerable:!0,get:function(){return n.typeCastExpression}}),Object.defineProperty(t,"TypeParameter",{enumerable:!0,get:function(){return n.typeParameter}}),Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:!0,get:function(){return n.typeParameterDeclaration}}),Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:!0,get:function(){return n.typeParameterInstantiation}}),Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return n.typeofTypeAnnotation}}),Object.defineProperty(t,"UnaryExpression",{enumerable:!0,get:function(){return n.unaryExpression}}),Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:!0,get:function(){return n.unionTypeAnnotation}}),Object.defineProperty(t,"UpdateExpression",{enumerable:!0,get:function(){return n.updateExpression}}),Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return n.v8IntrinsicIdentifier}}),Object.defineProperty(t,"VariableDeclaration",{enumerable:!0,get:function(){return n.variableDeclaration}}),Object.defineProperty(t,"VariableDeclarator",{enumerable:!0,get:function(){return n.variableDeclarator}}),Object.defineProperty(t,"Variance",{enumerable:!0,get:function(){return n.variance}}),Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:!0,get:function(){return n.voidTypeAnnotation}}),Object.defineProperty(t,"WhileStatement",{enumerable:!0,get:function(){return n.whileStatement}}),Object.defineProperty(t,"WithStatement",{enumerable:!0,get:function(){return n.withStatement}}),Object.defineProperty(t,"YieldExpression",{enumerable:!0,get:function(){return n.yieldExpression}});var n=Gl()}(go)),go}var wu;function Zt(){return wu||(wu=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});var n=Gl();Object.keys(n).forEach(function(u){u==="default"||u==="__esModule"||u in t&&t[u]===n[u]||Object.defineProperty(t,u,{enumerable:!0,get:function(){return n[u]}})});var c=Dp();Object.keys(c).forEach(function(u){u==="default"||u==="__esModule"||u in t&&t[u]===c[u]||Object.defineProperty(t,u,{enumerable:!0,get:function(){return c[u]}})})}(bo)),bo}var Ru;function Op(){if(Ru)return _n;Ru=1,Object.defineProperty(_n,"__esModule",{value:!0}),_n.default=c;var t=Zt(),n=Mt();function c(u,d){const D=u.value.split(/\r\n|\n|\r/);let h=0;for(let l=0;l<D.length;l++)/[^ \t]/.exec(D[l])&&(h=l);let f="";for(let l=0;l<D.length;l++){const O=D[l],m=l===0,M=l===D.length-1,w=l===h;let P=O.replace(/\t/g," ");m||(P=P.replace(/^ +/,"")),M||(P=P.replace(/ +$/,"")),P&&(w||(P+=" "),f+=P)}f&&d.push((0,n.inherits)((0,t.stringLiteral)(f),u))}return _n}var ku;function vp(){if(ku)return In;ku=1,Object.defineProperty(In,"__esModule",{value:!0}),In.default=c;var t=At(),n=Op();function c(u){const d=[];for(let D=0;D<u.children.length;D++){let h=u.children[D];if((0,t.isJSXText)(h)){(0,n.default)(h,d);continue}(0,t.isJSXExpressionContainer)(h)&&(h=h.expression),!(0,t.isJSXEmptyExpression)(h)&&d.push(h)}return d}return In}var On={},vn={},Mu;function Kl(){if(Mu)return vn;Mu=1,Object.defineProperty(vn,"__esModule",{value:!0}),vn.default=n;var t=Pr();function n(c){return!!(c&&t.VISITOR_KEYS[c.type])}return vn}var Bu;function Lp(){if(Bu)return On;Bu=1,Object.defineProperty(On,"__esModule",{value:!0}),On.default=n;var t=Kl();function n(c){if(!(0,t.default)(c)){var u;const d=(u=c?.type)!=null?u:JSON.stringify(c);throw new TypeError(`Not a valid node of type "${d}"`)}}return On}var q={},Fu;function wp(){if(Fu)return q;Fu=1,Object.defineProperty(q,"__esModule",{value:!0}),q.assertAccessor=$a,q.assertAnyTypeAnnotation=Ir,q.assertArgumentPlaceholder=ti,q.assertArrayExpression=u,q.assertArrayPattern=bt,q.assertArrayTypeAnnotation=Ur,q.assertArrowFunctionExpression=gt,q.assertAssignmentExpression=d,q.assertAssignmentPattern=Et,q.assertAwaitExpression=ct,q.assertBigIntLiteral=Xt,q.assertBinary=Ks,q.assertBinaryExpression=D,q.assertBindExpression=xi,q.assertBlock=Xs,q.assertBlockParent=Vs,q.assertBlockStatement=O,q.assertBooleanLiteral=Q,q.assertBooleanLiteralTypeAnnotation=_t,q.assertBooleanTypeAnnotation=Gt,q.assertBreakStatement=m,q.assertCallExpression=M,q.assertCatchClause=w,q.assertClass=En,q.assertClassAccessorProperty=qt,q.assertClassBody=Nt,q.assertClassDeclaration=de,q.assertClassExpression=It,q.assertClassImplements=jr,q.assertClassMethod=ge,q.assertClassPrivateMethod=er,q.assertClassPrivateProperty=Ht,q.assertClassProperty=jt,q.assertCompletionStatement=g,q.assertConditional=v,q.assertConditionalExpression=P,q.assertContinueStatement=ne,q.assertDebuggerStatement=Y,q.assertDecimalLiteral=vi,q.assertDeclaration=Ma,q.assertDeclareClass=tr,q.assertDeclareExportAllDeclaration=rr,q.assertDeclareExportDeclaration=Cr,q.assertDeclareFunction=Lt,q.assertDeclareInterface=xr,q.assertDeclareModule=hr,q.assertDeclareModuleExports=mr,q.assertDeclareOpaqueType=Tr,q.assertDeclareTypeAlias=qr,q.assertDeclareVariable=Hr,q.assertDeclaredPredicate=Bt,q.assertDecorator=ri,q.assertDirective=f,q.assertDirectiveLiteral=l,q.assertDoExpression=Ni,q.assertDoWhileStatement=_,q.assertEmptyStatement=z,q.assertEmptyTypeAnnotation=sr,q.assertEnumBody=so,q.assertEnumBooleanBody=Rt,q.assertEnumBooleanMember=Te,q.assertEnumDeclaration=Ut,q.assertEnumDefaultedMember=et,q.assertEnumMember=no,q.assertEnumNumberBody=p,q.assertEnumNumberMember=Oe,q.assertEnumStringBody=y,q.assertEnumStringMember=qe,q.assertEnumSymbolBody=se,q.assertExistsTypeAnnotation=Jt,q.assertExportAllDeclaration=Ee,q.assertExportDeclaration=Ja,q.assertExportDefaultDeclaration=Ae,q.assertExportDefaultSpecifier=Di,q.assertExportNamedDeclaration=Ce,q.assertExportNamespaceSpecifier=dt,q.assertExportSpecifier=Fe,q.assertExpression=Gs,q.assertExpressionStatement=B,q.assertExpressionWrapper=Be,q.assertFile=Z,q.assertFlow=Za,q.assertFlowBaseAnnotation=to,q.assertFlowDeclaration=ro,q.assertFlowPredicate=io,q.assertFlowType=eo,q.assertFor=lt,q.assertForInStatement=X,q.assertForOfStatement=ve,q.assertForStatement=I,q.assertForXStatement=St,q.assertFunction=dr,q.assertFunctionDeclaration=E,q.assertFunctionExpression=N,q.assertFunctionParent=Ra,q.assertFunctionTypeAnnotation=zt,q.assertFunctionTypeParam=ir,q.assertGenericTypeAnnotation=yr,q.assertIdentifier=V,q.assertIfStatement=te,q.assertImmutable=qa,q.assertImport=Vt,q.assertImportAttribute=Ci,q.assertImportDeclaration=Ke,q.assertImportDefaultSpecifier=Xe,q.assertImportExpression=at,q.assertImportNamespaceSpecifier=Ge,q.assertImportOrExportDeclaration=Wa,q.assertImportSpecifier=We,q.assertIndexedAccessType=Ot,q.assertInferredPredicate=Kt,q.assertInterfaceDeclaration=Gr,q.assertInterfaceExtends=Yt,q.assertInterfaceTypeAnnotation=wt,q.assertInterpreterDirective=h,q.assertIntersectionTypeAnnotation=Er,q.assertJSX=ao,q.assertJSXAttribute=Lr,q.assertJSXClosingElement=wr,q.assertJSXClosingFragment=Pi,q.assertJSXElement=Ti,q.assertJSXEmptyExpression=yi,q.assertJSXExpressionContainer=Ei,q.assertJSXFragment=ui,q.assertJSXIdentifier=ni,q.assertJSXMemberExpression=Si,q.assertJSXNamespacedName=ai,q.assertJSXOpeningElement=oi,q.assertJSXOpeningFragment=ci,q.assertJSXSpreadAttribute=Ai,q.assertJSXSpreadChild=bi,q.assertJSXText=gi,q.assertLVal=Fa,q.assertLabeledStatement=U,q.assertLiteral=ja,q.assertLogicalExpression=ue,q.assertLoop=W,q.assertMemberExpression=ae,q.assertMetaProperty=tt,q.assertMethod=Ga,q.assertMiscellaneous=oo,q.assertMixedTypeAnnotation=Kr,q.assertModuleDeclaration=a,q.assertModuleExpression=Li,q.assertModuleSpecifier=za,q.assertNewExpression=H,q.assertNoop=li,q.assertNullLiteral=F,q.assertNullLiteralTypeAnnotation=_r,q.assertNullableTypeAnnotation=Ft,q.assertNumberLiteral=fo,q.assertNumberLiteralTypeAnnotation=nr,q.assertNumberTypeAnnotation=ar,q.assertNumericLiteral=J,q.assertObjectExpression=le,q.assertObjectMember=Ka,q.assertObjectMethod=ye,q.assertObjectPattern=$e,q.assertObjectProperty=Se,q.assertObjectTypeAnnotation=Nr,q.assertObjectTypeCallProperty=Vr,q.assertObjectTypeIndexer=br,q.assertObjectTypeInternalSlot=Yr,q.assertObjectTypeProperty=Dr,q.assertObjectTypeSpreadProperty=or,q.assertOpaqueType=Xr,q.assertOptionalCallExpression=Dt,q.assertOptionalIndexedAccessType=Le,q.assertOptionalMemberExpression=Wt,q.assertParenthesizedExpression=xe,q.assertPattern=Xa,q.assertPatternLike=Ba,q.assertPipelineBareFunction=fi,q.assertPipelinePrimaryTopicReference=Ri,q.assertPipelineTopicExpression=Sr,q.assertPlaceholder=Ii,q.assertPrivate=Qa,q.assertPrivateName=Br,q.assertProgram=oe,q.assertProperty=Ya,q.assertPureish=ka,q.assertQualifiedTypeIdentifier=ur,q.assertRecordExpression=pi,q.assertRegExpLiteral=re,q.assertRegexLiteral=ho,q.assertRestElement=Ie,q.assertRestProperty=mo,q.assertReturnStatement=De,q.assertScopable=Ys,q.assertSequenceExpression=Me,q.assertSpreadElement=ot,q.assertSpreadProperty=To,q.assertStandardized=Hs,q.assertStatement=b,q.assertStaticBlock=Fr,q.assertStringLiteral=R,q.assertStringLiteralTypeAnnotation=cr,q.assertStringTypeAnnotation=lr,q.assertSuper=ie,q.assertSwitchCase=Re,q.assertSwitchStatement=Ye,q.assertSymbolTypeAnnotation=Wr,q.assertTSAnyKeyword=$,q.assertTSArrayType=ss,q.assertTSAsExpression=Is,q.assertTSBaseType=po,q.assertTSBigIntKeyword=me,q.assertTSBooleanKeyword=ee,q.assertTSCallSignatureDeclaration=o,q.assertTSConditionalType=ps,q.assertTSConstructSignatureDeclaration=T,q.assertTSConstructorType=Zi,q.assertTSDeclareFunction=r,q.assertTSDeclareMethod=e,q.assertTSEntityName=Ua,q.assertTSEnumBody=Cs,q.assertTSEnumDeclaration=Ns,q.assertTSEnumMember=Ds,q.assertTSExportAssignment=Ms,q.assertTSExpressionWithTypeArguments=bs,q.assertTSExternalModuleReference=Rs,q.assertTSFunctionType=Qi,q.assertTSImportEqualsDeclaration=ws,q.assertTSImportType=Ls,q.assertTSIndexSignature=K,q.assertTSIndexedAccessType=ms,q.assertTSInferType=fs,q.assertTSInstantiationExpression=Ps,q.assertTSInterfaceBody=As,q.assertTSInterfaceDeclaration=Ss,q.assertTSIntersectionType=ls,q.assertTSIntrinsicKeyword=_e,q.assertTSLiteralType=Es,q.assertTSMappedType=Ts,q.assertTSMethodSignature=L,q.assertTSModuleBlock=vs,q.assertTSModuleDeclaration=Os,q.assertTSNamedTupleMember=us,q.assertTSNamespaceExportDeclaration=Bs,q.assertTSNeverKeyword=Ne,q.assertTSNonNullExpression=ks,q.assertTSNullKeyword=ke,q.assertTSNumberKeyword=Qe,q.assertTSObjectKeyword=mt,q.assertTSOptionalType=as,q.assertTSParameterProperty=x,q.assertTSParenthesizedType=ds,q.assertTSPropertySignature=C,q.assertTSQualifiedName=i,q.assertTSRestType=os,q.assertTSSatisfiesExpression=_s,q.assertTSStringKeyword=Ze,q.assertTSSymbolKeyword=ut,q.assertTSTemplateLiteralType=ys,q.assertTSThisType=$i,q.assertTSTupleType=ns,q.assertTSType=lo,q.assertTSTypeAliasDeclaration=gs,q.assertTSTypeAnnotation=Fs,q.assertTSTypeAssertion=xs,q.assertTSTypeElement=co,q.assertTSTypeLiteral=is,q.assertTSTypeOperator=hs,q.assertTSTypeParameter=qs,q.assertTSTypeParameterDeclaration=js,q.assertTSTypeParameterInstantiation=Us,q.assertTSTypePredicate=ts,q.assertTSTypeQuery=rs,q.assertTSTypeReference=es,q.assertTSUndefinedKeyword=Rr,q.assertTSUnionType=cs,q.assertTSUnknownKeyword=Ar,q.assertTSVoidKeyword=zi,q.assertTaggedTemplateExpression=G,q.assertTemplateElement=be,q.assertTemplateLiteral=Ue,q.assertTerminatorless=S,q.assertThisExpression=ce,q.assertThisTypeAnnotation=xt,q.assertThrowStatement=he,q.assertTopicReference=wi,q.assertTryStatement=fe,q.assertTupleExpression=Oi,q.assertTupleTypeAnnotation=pr,q.assertTypeAlias=zr,q.assertTypeAnnotation=je,q.assertTypeCastExpression=$r,q.assertTypeParameter=Or,q.assertTypeParameterDeclaration=fr,q.assertTypeParameterInstantiation=Qr,q.assertTypeScript=uo,q.assertTypeofTypeAnnotation=Jr,q.assertUnaryExpression=Ve,q.assertUnaryLike=Va,q.assertUnionTypeAnnotation=Zr,q.assertUpdateExpression=Je,q.assertUserWhitespacable=Ha,q.assertV8IntrinsicIdentifier=_i,q.assertVariableDeclaration=it,q.assertVariableDeclarator=pt,q.assertVariance=ei,q.assertVoidTypeAnnotation=vr,q.assertWhile=pe,q.assertWhileStatement=ft,q.assertWithStatement=yt,q.assertYieldExpression=He;var t=Tn(),n=Oa();function c(s,A,Yo){if(!(0,t.default)(s,A,Yo))throw new Error(`Expected type "${s}" with option ${JSON.stringify(Yo)}, but instead got "${A.type}".`)}function u(s,A){c("ArrayExpression",s,A)}function d(s,A){c("AssignmentExpression",s,A)}function D(s,A){c("BinaryExpression",s,A)}function h(s,A){c("InterpreterDirective",s,A)}function f(s,A){c("Directive",s,A)}function l(s,A){c("DirectiveLiteral",s,A)}function O(s,A){c("BlockStatement",s,A)}function m(s,A){c("BreakStatement",s,A)}function M(s,A){c("CallExpression",s,A)}function w(s,A){c("CatchClause",s,A)}function P(s,A){c("ConditionalExpression",s,A)}function ne(s,A){c("ContinueStatement",s,A)}function Y(s,A){c("DebuggerStatement",s,A)}function _(s,A){c("DoWhileStatement",s,A)}function z(s,A){c("EmptyStatement",s,A)}function B(s,A){c("ExpressionStatement",s,A)}function Z(s,A){c("File",s,A)}function X(s,A){c("ForInStatement",s,A)}function I(s,A){c("ForStatement",s,A)}function E(s,A){c("FunctionDeclaration",s,A)}function N(s,A){c("FunctionExpression",s,A)}function V(s,A){c("Identifier",s,A)}function te(s,A){c("IfStatement",s,A)}function U(s,A){c("LabeledStatement",s,A)}function R(s,A){c("StringLiteral",s,A)}function J(s,A){c("NumericLiteral",s,A)}function F(s,A){c("NullLiteral",s,A)}function Q(s,A){c("BooleanLiteral",s,A)}function re(s,A){c("RegExpLiteral",s,A)}function ue(s,A){c("LogicalExpression",s,A)}function ae(s,A){c("MemberExpression",s,A)}function H(s,A){c("NewExpression",s,A)}function oe(s,A){c("Program",s,A)}function le(s,A){c("ObjectExpression",s,A)}function ye(s,A){c("ObjectMethod",s,A)}function Se(s,A){c("ObjectProperty",s,A)}function Ie(s,A){c("RestElement",s,A)}function De(s,A){c("ReturnStatement",s,A)}function Me(s,A){c("SequenceExpression",s,A)}function xe(s,A){c("ParenthesizedExpression",s,A)}function Re(s,A){c("SwitchCase",s,A)}function Ye(s,A){c("SwitchStatement",s,A)}function ce(s,A){c("ThisExpression",s,A)}function he(s,A){c("ThrowStatement",s,A)}function fe(s,A){c("TryStatement",s,A)}function Ve(s,A){c("UnaryExpression",s,A)}function Je(s,A){c("UpdateExpression",s,A)}function it(s,A){c("VariableDeclaration",s,A)}function pt(s,A){c("VariableDeclarator",s,A)}function ft(s,A){c("WhileStatement",s,A)}function yt(s,A){c("WithStatement",s,A)}function Et(s,A){c("AssignmentPattern",s,A)}function bt(s,A){c("ArrayPattern",s,A)}function gt(s,A){c("ArrowFunctionExpression",s,A)}function Nt(s,A){c("ClassBody",s,A)}function It(s,A){c("ClassExpression",s,A)}function de(s,A){c("ClassDeclaration",s,A)}function Ee(s,A){c("ExportAllDeclaration",s,A)}function Ae(s,A){c("ExportDefaultDeclaration",s,A)}function Ce(s,A){c("ExportNamedDeclaration",s,A)}function Fe(s,A){c("ExportSpecifier",s,A)}function ve(s,A){c("ForOfStatement",s,A)}function Ke(s,A){c("ImportDeclaration",s,A)}function Xe(s,A){c("ImportDefaultSpecifier",s,A)}function Ge(s,A){c("ImportNamespaceSpecifier",s,A)}function We(s,A){c("ImportSpecifier",s,A)}function at(s,A){c("ImportExpression",s,A)}function tt(s,A){c("MetaProperty",s,A)}function ge(s,A){c("ClassMethod",s,A)}function $e(s,A){c("ObjectPattern",s,A)}function ot(s,A){c("SpreadElement",s,A)}function ie(s,A){c("Super",s,A)}function G(s,A){c("TaggedTemplateExpression",s,A)}function be(s,A){c("TemplateElement",s,A)}function Ue(s,A){c("TemplateLiteral",s,A)}function He(s,A){c("YieldExpression",s,A)}function ct(s,A){c("AwaitExpression",s,A)}function Vt(s,A){c("Import",s,A)}function Xt(s,A){c("BigIntLiteral",s,A)}function dt(s,A){c("ExportNamespaceSpecifier",s,A)}function Wt(s,A){c("OptionalMemberExpression",s,A)}function Dt(s,A){c("OptionalCallExpression",s,A)}function jt(s,A){c("ClassProperty",s,A)}function qt(s,A){c("ClassAccessorProperty",s,A)}function Ht(s,A){c("ClassPrivateProperty",s,A)}function er(s,A){c("ClassPrivateMethod",s,A)}function Br(s,A){c("PrivateName",s,A)}function Fr(s,A){c("StaticBlock",s,A)}function Ir(s,A){c("AnyTypeAnnotation",s,A)}function Ur(s,A){c("ArrayTypeAnnotation",s,A)}function Gt(s,A){c("BooleanTypeAnnotation",s,A)}function _t(s,A){c("BooleanLiteralTypeAnnotation",s,A)}function _r(s,A){c("NullLiteralTypeAnnotation",s,A)}function jr(s,A){c("ClassImplements",s,A)}function tr(s,A){c("DeclareClass",s,A)}function Lt(s,A){c("DeclareFunction",s,A)}function xr(s,A){c("DeclareInterface",s,A)}function hr(s,A){c("DeclareModule",s,A)}function mr(s,A){c("DeclareModuleExports",s,A)}function qr(s,A){c("DeclareTypeAlias",s,A)}function Tr(s,A){c("DeclareOpaqueType",s,A)}function Hr(s,A){c("DeclareVariable",s,A)}function Cr(s,A){c("DeclareExportDeclaration",s,A)}function rr(s,A){c("DeclareExportAllDeclaration",s,A)}function Bt(s,A){c("DeclaredPredicate",s,A)}function Jt(s,A){c("ExistsTypeAnnotation",s,A)}function zt(s,A){c("FunctionTypeAnnotation",s,A)}function ir(s,A){c("FunctionTypeParam",s,A)}function yr(s,A){c("GenericTypeAnnotation",s,A)}function Kt(s,A){c("InferredPredicate",s,A)}function Yt(s,A){c("InterfaceExtends",s,A)}function Gr(s,A){c("InterfaceDeclaration",s,A)}function wt(s,A){c("InterfaceTypeAnnotation",s,A)}function Er(s,A){c("IntersectionTypeAnnotation",s,A)}function Kr(s,A){c("MixedTypeAnnotation",s,A)}function sr(s,A){c("EmptyTypeAnnotation",s,A)}function Ft(s,A){c("NullableTypeAnnotation",s,A)}function nr(s,A){c("NumberLiteralTypeAnnotation",s,A)}function ar(s,A){c("NumberTypeAnnotation",s,A)}function Nr(s,A){c("ObjectTypeAnnotation",s,A)}function Yr(s,A){c("ObjectTypeInternalSlot",s,A)}function Vr(s,A){c("ObjectTypeCallProperty",s,A)}function br(s,A){c("ObjectTypeIndexer",s,A)}function Dr(s,A){c("ObjectTypeProperty",s,A)}function or(s,A){c("ObjectTypeSpreadProperty",s,A)}function Xr(s,A){c("OpaqueType",s,A)}function ur(s,A){c("QualifiedTypeIdentifier",s,A)}function cr(s,A){c("StringLiteralTypeAnnotation",s,A)}function lr(s,A){c("StringTypeAnnotation",s,A)}function Wr(s,A){c("SymbolTypeAnnotation",s,A)}function xt(s,A){c("ThisTypeAnnotation",s,A)}function pr(s,A){c("TupleTypeAnnotation",s,A)}function Jr(s,A){c("TypeofTypeAnnotation",s,A)}function zr(s,A){c("TypeAlias",s,A)}function je(s,A){c("TypeAnnotation",s,A)}function $r(s,A){c("TypeCastExpression",s,A)}function Or(s,A){c("TypeParameter",s,A)}function fr(s,A){c("TypeParameterDeclaration",s,A)}function Qr(s,A){c("TypeParameterInstantiation",s,A)}function Zr(s,A){c("UnionTypeAnnotation",s,A)}function ei(s,A){c("Variance",s,A)}function vr(s,A){c("VoidTypeAnnotation",s,A)}function Ut(s,A){c("EnumDeclaration",s,A)}function Rt(s,A){c("EnumBooleanBody",s,A)}function p(s,A){c("EnumNumberBody",s,A)}function y(s,A){c("EnumStringBody",s,A)}function se(s,A){c("EnumSymbolBody",s,A)}function Te(s,A){c("EnumBooleanMember",s,A)}function Oe(s,A){c("EnumNumberMember",s,A)}function qe(s,A){c("EnumStringMember",s,A)}function et(s,A){c("EnumDefaultedMember",s,A)}function Ot(s,A){c("IndexedAccessType",s,A)}function Le(s,A){c("OptionalIndexedAccessType",s,A)}function Lr(s,A){c("JSXAttribute",s,A)}function wr(s,A){c("JSXClosingElement",s,A)}function Ti(s,A){c("JSXElement",s,A)}function yi(s,A){c("JSXEmptyExpression",s,A)}function Ei(s,A){c("JSXExpressionContainer",s,A)}function bi(s,A){c("JSXSpreadChild",s,A)}function ni(s,A){c("JSXIdentifier",s,A)}function Si(s,A){c("JSXMemberExpression",s,A)}function ai(s,A){c("JSXNamespacedName",s,A)}function oi(s,A){c("JSXOpeningElement",s,A)}function Ai(s,A){c("JSXSpreadAttribute",s,A)}function gi(s,A){c("JSXText",s,A)}function ui(s,A){c("JSXFragment",s,A)}function ci(s,A){c("JSXOpeningFragment",s,A)}function Pi(s,A){c("JSXClosingFragment",s,A)}function li(s,A){c("Noop",s,A)}function Ii(s,A){c("Placeholder",s,A)}function _i(s,A){c("V8IntrinsicIdentifier",s,A)}function ti(s,A){c("ArgumentPlaceholder",s,A)}function xi(s,A){c("BindExpression",s,A)}function Ci(s,A){c("ImportAttribute",s,A)}function ri(s,A){c("Decorator",s,A)}function Ni(s,A){c("DoExpression",s,A)}function Di(s,A){c("ExportDefaultSpecifier",s,A)}function pi(s,A){c("RecordExpression",s,A)}function Oi(s,A){c("TupleExpression",s,A)}function vi(s,A){c("DecimalLiteral",s,A)}function Li(s,A){c("ModuleExpression",s,A)}function wi(s,A){c("TopicReference",s,A)}function Sr(s,A){c("PipelineTopicExpression",s,A)}function fi(s,A){c("PipelineBareFunction",s,A)}function Ri(s,A){c("PipelinePrimaryTopicReference",s,A)}function x(s,A){c("TSParameterProperty",s,A)}function r(s,A){c("TSDeclareFunction",s,A)}function e(s,A){c("TSDeclareMethod",s,A)}function i(s,A){c("TSQualifiedName",s,A)}function o(s,A){c("TSCallSignatureDeclaration",s,A)}function T(s,A){c("TSConstructSignatureDeclaration",s,A)}function C(s,A){c("TSPropertySignature",s,A)}function L(s,A){c("TSMethodSignature",s,A)}function K(s,A){c("TSIndexSignature",s,A)}function $(s,A){c("TSAnyKeyword",s,A)}function ee(s,A){c("TSBooleanKeyword",s,A)}function me(s,A){c("TSBigIntKeyword",s,A)}function _e(s,A){c("TSIntrinsicKeyword",s,A)}function Ne(s,A){c("TSNeverKeyword",s,A)}function ke(s,A){c("TSNullKeyword",s,A)}function Qe(s,A){c("TSNumberKeyword",s,A)}function mt(s,A){c("TSObjectKeyword",s,A)}function Ze(s,A){c("TSStringKeyword",s,A)}function ut(s,A){c("TSSymbolKeyword",s,A)}function Rr(s,A){c("TSUndefinedKeyword",s,A)}function Ar(s,A){c("TSUnknownKeyword",s,A)}function zi(s,A){c("TSVoidKeyword",s,A)}function $i(s,A){c("TSThisType",s,A)}function Qi(s,A){c("TSFunctionType",s,A)}function Zi(s,A){c("TSConstructorType",s,A)}function es(s,A){c("TSTypeReference",s,A)}function ts(s,A){c("TSTypePredicate",s,A)}function rs(s,A){c("TSTypeQuery",s,A)}function is(s,A){c("TSTypeLiteral",s,A)}function ss(s,A){c("TSArrayType",s,A)}function ns(s,A){c("TSTupleType",s,A)}function as(s,A){c("TSOptionalType",s,A)}function os(s,A){c("TSRestType",s,A)}function us(s,A){c("TSNamedTupleMember",s,A)}function cs(s,A){c("TSUnionType",s,A)}function ls(s,A){c("TSIntersectionType",s,A)}function ps(s,A){c("TSConditionalType",s,A)}function fs(s,A){c("TSInferType",s,A)}function ds(s,A){c("TSParenthesizedType",s,A)}function hs(s,A){c("TSTypeOperator",s,A)}function ms(s,A){c("TSIndexedAccessType",s,A)}function Ts(s,A){c("TSMappedType",s,A)}function ys(s,A){c("TSTemplateLiteralType",s,A)}function Es(s,A){c("TSLiteralType",s,A)}function bs(s,A){c("TSExpressionWithTypeArguments",s,A)}function Ss(s,A){c("TSInterfaceDeclaration",s,A)}function As(s,A){c("TSInterfaceBody",s,A)}function gs(s,A){c("TSTypeAliasDeclaration",s,A)}function Ps(s,A){c("TSInstantiationExpression",s,A)}function Is(s,A){c("TSAsExpression",s,A)}function _s(s,A){c("TSSatisfiesExpression",s,A)}function xs(s,A){c("TSTypeAssertion",s,A)}function Cs(s,A){c("TSEnumBody",s,A)}function Ns(s,A){c("TSEnumDeclaration",s,A)}function Ds(s,A){c("TSEnumMember",s,A)}function Os(s,A){c("TSModuleDeclaration",s,A)}function vs(s,A){c("TSModuleBlock",s,A)}function Ls(s,A){c("TSImportType",s,A)}function ws(s,A){c("TSImportEqualsDeclaration",s,A)}function Rs(s,A){c("TSExternalModuleReference",s,A)}function ks(s,A){c("TSNonNullExpression",s,A)}function Ms(s,A){c("TSExportAssignment",s,A)}function Bs(s,A){c("TSNamespaceExportDeclaration",s,A)}function Fs(s,A){c("TSTypeAnnotation",s,A)}function Us(s,A){c("TSTypeParameterInstantiation",s,A)}function js(s,A){c("TSTypeParameterDeclaration",s,A)}function qs(s,A){c("TSTypeParameter",s,A)}function Hs(s,A){c("Standardized",s,A)}function Gs(s,A){c("Expression",s,A)}function Ks(s,A){c("Binary",s,A)}function Ys(s,A){c("Scopable",s,A)}function Vs(s,A){c("BlockParent",s,A)}function Xs(s,A){c("Block",s,A)}function b(s,A){c("Statement",s,A)}function S(s,A){c("Terminatorless",s,A)}function g(s,A){c("CompletionStatement",s,A)}function v(s,A){c("Conditional",s,A)}function W(s,A){c("Loop",s,A)}function pe(s,A){c("While",s,A)}function Be(s,A){c("ExpressionWrapper",s,A)}function lt(s,A){c("For",s,A)}function St(s,A){c("ForXStatement",s,A)}function dr(s,A){c("Function",s,A)}function Ra(s,A){c("FunctionParent",s,A)}function ka(s,A){c("Pureish",s,A)}function Ma(s,A){c("Declaration",s,A)}function Ba(s,A){c("PatternLike",s,A)}function Fa(s,A){c("LVal",s,A)}function Ua(s,A){c("TSEntityName",s,A)}function ja(s,A){c("Literal",s,A)}function qa(s,A){c("Immutable",s,A)}function Ha(s,A){c("UserWhitespacable",s,A)}function Ga(s,A){c("Method",s,A)}function Ka(s,A){c("ObjectMember",s,A)}function Ya(s,A){c("Property",s,A)}function Va(s,A){c("UnaryLike",s,A)}function Xa(s,A){c("Pattern",s,A)}function En(s,A){c("Class",s,A)}function Wa(s,A){c("ImportOrExportDeclaration",s,A)}function Ja(s,A){c("ExportDeclaration",s,A)}function za(s,A){c("ModuleSpecifier",s,A)}function $a(s,A){c("Accessor",s,A)}function Qa(s,A){c("Private",s,A)}function Za(s,A){c("Flow",s,A)}function eo(s,A){c("FlowType",s,A)}function to(s,A){c("FlowBaseAnnotation",s,A)}function ro(s,A){c("FlowDeclaration",s,A)}function io(s,A){c("FlowPredicate",s,A)}function so(s,A){c("EnumBody",s,A)}function no(s,A){c("EnumMember",s,A)}function ao(s,A){c("JSX",s,A)}function oo(s,A){c("Miscellaneous",s,A)}function uo(s,A){c("TypeScript",s,A)}function co(s,A){c("TSTypeElement",s,A)}function lo(s,A){c("TSType",s,A)}function po(s,A){c("TSBaseType",s,A)}function fo(s,A){(0,n.default)("assertNumberLiteral","assertNumericLiteral"),c("NumberLiteral",s,A)}function ho(s,A){(0,n.default)("assertRegexLiteral","assertRegExpLiteral"),c("RegexLiteral",s,A)}function mo(s,A){(0,n.default)("assertRestProperty","assertRestElement"),c("RestProperty",s,A)}function To(s,A){(0,n.default)("assertSpreadProperty","assertSpreadElement"),c("SpreadProperty",s,A)}function a(s,A){(0,n.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),c("ModuleDeclaration",s,A)}return q}var tn={},Uu;function Rp(){if(Uu)return tn;Uu=1,Object.defineProperty(tn,"__esModule",{value:!0}),tn.default=void 0;var t=Zt();tn.default=n;function n(c){switch(c){case"string":return(0,t.stringTypeAnnotation)();case"number":return(0,t.numberTypeAnnotation)();case"undefined":return(0,t.voidTypeAnnotation)();case"boolean":return(0,t.booleanTypeAnnotation)();case"function":return(0,t.genericTypeAnnotation)((0,t.identifier)("Function"));case"object":return(0,t.genericTypeAnnotation)((0,t.identifier)("Object"));case"symbol":return(0,t.genericTypeAnnotation)((0,t.identifier)("Symbol"));case"bigint":return(0,t.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+c)}return tn}var Ln={},wn={},ju;function Yl(){if(ju)return wn;ju=1,Object.defineProperty(wn,"__esModule",{value:!0}),wn.default=c;var t=At();function n(u){return(0,t.isIdentifier)(u)?u.name:`${u.id.name}.${n(u.qualification)}`}function c(u){const d=Array.from(u),D=new Map,h=new Map,f=new Set,l=[];for(let O=0;O<d.length;O++){const m=d[O];if(m&&!l.includes(m)){if((0,t.isAnyTypeAnnotation)(m))return[m];if((0,t.isFlowBaseAnnotation)(m)){h.set(m.type,m);continue}if((0,t.isUnionTypeAnnotation)(m)){f.has(m.types)||(d.push(...m.types),f.add(m.types));continue}if((0,t.isGenericTypeAnnotation)(m)){const M=n(m.id);if(D.has(M)){let w=D.get(M);w.typeParameters?m.typeParameters&&(w.typeParameters.params.push(...m.typeParameters.params),w.typeParameters.params=c(w.typeParameters.params)):w=m.typeParameters}else D.set(M,m);continue}l.push(m)}}for(const[,O]of h)l.push(O);for(const[,O]of D)l.push(O);return l}return wn}var qu;function kp(){if(qu)return Ln;qu=1,Object.defineProperty(Ln,"__esModule",{value:!0}),Ln.default=c;var t=Zt(),n=Yl();function c(u){const d=(0,n.default)(u);return d.length===1?d[0]:(0,t.unionTypeAnnotation)(d)}return Ln}var Rn={},kn={},Hu;function Mp(){if(Hu)return kn;Hu=1,Object.defineProperty(kn,"__esModule",{value:!0}),kn.default=c;var t=At();function n(u){return(0,t.isIdentifier)(u)?u.name:(0,t.isThisExpression)(u)?"this":`${u.right.name}.${n(u.left)}`}function c(u){const d=Array.from(u),D=new Map,h=new Map,f=new Set,l=[];for(let O=0;O<d.length;O++){const m=d[O];if(!m||l.includes(m))continue;if((0,t.isTSAnyKeyword)(m))return[m];if((0,t.isTSBaseType)(m)){h.set(m.type,m);continue}if((0,t.isTSUnionType)(m)){f.has(m.types)||(d.push(...m.types),f.add(m.types));continue}const M="typeParameters";if((0,t.isTSTypeReference)(m)&&m[M]){const w=m[M],P=n(m.typeName);if(D.has(P)){let ne=D.get(P);const Y=ne[M];Y?(Y.params.push(...w.params),Y.params=c(Y.params)):ne=w}else D.set(P,m);continue}l.push(m)}for(const[,O]of h)l.push(O);for(const[,O]of D)l.push(O);return l}return kn}var Gu;function Bp(){if(Gu)return Rn;Gu=1,Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.default=u;var t=Zt(),n=Mp(),c=At();function u(d){const D=d.map(f=>(0,c.isTSTypeAnnotation)(f)?f.typeAnnotation:f),h=(0,n.default)(D);return h.length===1?h[0]:(0,t.tsUnionType)(h)}return Rn}var Mn={},Ku;function Vl(){if(Ku)return Mn;Ku=1,Object.defineProperty(Mn,"__esModule",{value:!0}),Mn.buildUndefinedNode=n;var t=Zt();function n(){return(0,t.unaryExpression)("void",(0,t.numericLiteral)(0),!0)}return Mn}var Bn={},Yu;function Hi(){if(Yu)return Bn;Yu=1,Object.defineProperty(Bn,"__esModule",{value:!0}),Bn.default=D;var t=Pr(),n=At();const{hasOwn:c}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function u(l,O,m,M){return l&&typeof l.type=="string"?h(l,O,m,M):l}function d(l,O,m,M){return Array.isArray(l)?l.map(w=>u(w,O,m,M)):u(l,O,m,M)}function D(l,O=!0,m=!1){return h(l,O,m,new Map)}function h(l,O=!0,m=!1,M){if(!l)return l;const{type:w}=l,P={type:l.type};if((0,n.isIdentifier)(l))P.name=l.name,c(l,"optional")&&typeof l.optional=="boolean"&&(P.optional=l.optional),c(l,"typeAnnotation")&&(P.typeAnnotation=O?d(l.typeAnnotation,!0,m,M):l.typeAnnotation),c(l,"decorators")&&(P.decorators=O?d(l.decorators,!0,m,M):l.decorators);else if(c(t.NODE_FIELDS,w))for(const ne of Object.keys(t.NODE_FIELDS[w]))c(l,ne)&&(O?P[ne]=(0,n.isFile)(l)&&ne==="comments"?f(l.comments,O,m,M):d(l[ne],!0,m,M):P[ne]=l[ne]);else throw new Error(`Unknown node type: "${w}"`);return c(l,"loc")&&(m?P.loc=null:P.loc=l.loc),c(l,"leadingComments")&&(P.leadingComments=f(l.leadingComments,O,m,M)),c(l,"innerComments")&&(P.innerComments=f(l.innerComments,O,m,M)),c(l,"trailingComments")&&(P.trailingComments=f(l.trailingComments,O,m,M)),c(l,"extra")&&(P.extra=Object.assign({},l.extra)),P}function f(l,O,m,M){return!l||!O?l:l.map(w=>{const P=M.get(w);if(P)return P;const{type:ne,value:Y,loc:_}=w,z={type:ne,value:Y,loc:_};return m&&(z.loc=null),M.set(w,z),z})}return Bn}var Fn={},Vu;function Fp(){if(Vu)return Fn;Vu=1,Object.defineProperty(Fn,"__esModule",{value:!0}),Fn.default=n;var t=Hi();function n(c){return(0,t.default)(c,!1)}return Fn}var Un={},Xu;function Up(){if(Xu)return Un;Xu=1,Object.defineProperty(Un,"__esModule",{value:!0}),Un.default=n;var t=Hi();function n(c){return(0,t.default)(c)}return Un}var jn={},Wu;function jp(){if(Wu)return jn;Wu=1,Object.defineProperty(jn,"__esModule",{value:!0}),jn.default=n;var t=Hi();function n(c){return(0,t.default)(c,!0,!0)}return jn}var qn={},Ju;function qp(){if(Ju)return qn;Ju=1,Object.defineProperty(qn,"__esModule",{value:!0}),qn.default=n;var t=Hi();function n(c){return(0,t.default)(c,!1,!0)}return qn}var Hn={},Gn={},zu;function Xl(){if(zu)return Gn;zu=1,Object.defineProperty(Gn,"__esModule",{value:!0}),Gn.default=t;function t(n,c,u){if(!u||!n)return n;const d=`${c}Comments`;return n[d]?c==="leading"?n[d]=u.concat(n[d]):n[d].push(...u):n[d]=u,n}return Gn}var $u;function Hp(){if($u)return Hn;$u=1,Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.default=n;var t=Xl();function n(c,u,d,D){return(0,t.default)(c,u,[{type:D?"CommentLine":"CommentBlock",value:d}])}return Hn}var Kn={},Yn={},Qu;function qo(){if(Qu)return Yn;Qu=1,Object.defineProperty(Yn,"__esModule",{value:!0}),Yn.default=t;function t(n,c,u){c&&u&&(c[n]=Array.from(new Set([].concat(c[n],u[n]).filter(Boolean))))}return Yn}var Zu;function Wl(){if(Zu)return Kn;Zu=1,Object.defineProperty(Kn,"__esModule",{value:!0}),Kn.default=n;var t=qo();function n(c,u){(0,t.default)("innerComments",c,u)}return Kn}var Vn={},ec;function Jl(){if(ec)return Vn;ec=1,Object.defineProperty(Vn,"__esModule",{value:!0}),Vn.default=n;var t=qo();function n(c,u){(0,t.default)("leadingComments",c,u)}return Vn}var Xn={},Wn={},tc;function zl(){if(tc)return Wn;tc=1,Object.defineProperty(Wn,"__esModule",{value:!0}),Wn.default=n;var t=qo();function n(c,u){(0,t.default)("trailingComments",c,u)}return Wn}var rc;function $l(){if(rc)return Xn;rc=1,Object.defineProperty(Xn,"__esModule",{value:!0}),Xn.default=u;var t=zl(),n=Jl(),c=Wl();function u(d,D){return(0,t.default)(d,D),(0,n.default)(d,D),(0,c.default)(d,D),d}return Xn}var Jn={},ic;function Gp(){if(ic)return Jn;ic=1,Object.defineProperty(Jn,"__esModule",{value:!0}),Jn.default=n;var t=qi();function n(c){return t.COMMENT_KEYS.forEach(u=>{c[u]=null}),c}return Jn}var Pe={},sc;function Kp(){if(sc)return Pe;sc=1,Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.WHILE_TYPES=Pe.USERWHITESPACABLE_TYPES=Pe.UNARYLIKE_TYPES=Pe.TYPESCRIPT_TYPES=Pe.TSTYPE_TYPES=Pe.TSTYPEELEMENT_TYPES=Pe.TSENTITYNAME_TYPES=Pe.TSBASETYPE_TYPES=Pe.TERMINATORLESS_TYPES=Pe.STATEMENT_TYPES=Pe.STANDARDIZED_TYPES=Pe.SCOPABLE_TYPES=Pe.PUREISH_TYPES=Pe.PROPERTY_TYPES=Pe.PRIVATE_TYPES=Pe.PATTERN_TYPES=Pe.PATTERNLIKE_TYPES=Pe.OBJECTMEMBER_TYPES=Pe.MODULESPECIFIER_TYPES=Pe.MODULEDECLARATION_TYPES=Pe.MISCELLANEOUS_TYPES=Pe.METHOD_TYPES=Pe.LVAL_TYPES=Pe.LOOP_TYPES=Pe.LITERAL_TYPES=Pe.JSX_TYPES=Pe.IMPORTOREXPORTDECLARATION_TYPES=Pe.IMMUTABLE_TYPES=Pe.FUNCTION_TYPES=Pe.FUNCTIONPARENT_TYPES=Pe.FOR_TYPES=Pe.FORXSTATEMENT_TYPES=Pe.FLOW_TYPES=Pe.FLOWTYPE_TYPES=Pe.FLOWPREDICATE_TYPES=Pe.FLOWDECLARATION_TYPES=Pe.FLOWBASEANNOTATION_TYPES=Pe.EXPRESSION_TYPES=Pe.EXPRESSIONWRAPPER_TYPES=Pe.EXPORTDECLARATION_TYPES=Pe.ENUMMEMBER_TYPES=Pe.ENUMBODY_TYPES=Pe.DECLARATION_TYPES=Pe.CONDITIONAL_TYPES=Pe.COMPLETIONSTATEMENT_TYPES=Pe.CLASS_TYPES=Pe.BLOCK_TYPES=Pe.BLOCKPARENT_TYPES=Pe.BINARY_TYPES=Pe.ACCESSOR_TYPES=void 0;var t=Pr();Pe.STANDARDIZED_TYPES=t.FLIPPED_ALIAS_KEYS.Standardized,Pe.EXPRESSION_TYPES=t.FLIPPED_ALIAS_KEYS.Expression,Pe.BINARY_TYPES=t.FLIPPED_ALIAS_KEYS.Binary,Pe.SCOPABLE_TYPES=t.FLIPPED_ALIAS_KEYS.Scopable,Pe.BLOCKPARENT_TYPES=t.FLIPPED_ALIAS_KEYS.BlockParent,Pe.BLOCK_TYPES=t.FLIPPED_ALIAS_KEYS.Block,Pe.STATEMENT_TYPES=t.FLIPPED_ALIAS_KEYS.Statement,Pe.TERMINATORLESS_TYPES=t.FLIPPED_ALIAS_KEYS.Terminatorless,Pe.COMPLETIONSTATEMENT_TYPES=t.FLIPPED_ALIAS_KEYS.CompletionStatement,Pe.CONDITIONAL_TYPES=t.FLIPPED_ALIAS_KEYS.Conditional,Pe.LOOP_TYPES=t.FLIPPED_ALIAS_KEYS.Loop,Pe.WHILE_TYPES=t.FLIPPED_ALIAS_KEYS.While,Pe.EXPRESSIONWRAPPER_TYPES=t.FLIPPED_ALIAS_KEYS.ExpressionWrapper,Pe.FOR_TYPES=t.FLIPPED_ALIAS_KEYS.For,Pe.FORXSTATEMENT_TYPES=t.FLIPPED_ALIAS_KEYS.ForXStatement,Pe.FUNCTION_TYPES=t.FLIPPED_ALIAS_KEYS.Function,Pe.FUNCTIONPARENT_TYPES=t.FLIPPED_ALIAS_KEYS.FunctionParent,Pe.PUREISH_TYPES=t.FLIPPED_ALIAS_KEYS.Pureish,Pe.DECLARATION_TYPES=t.FLIPPED_ALIAS_KEYS.Declaration,Pe.PATTERNLIKE_TYPES=t.FLIPPED_ALIAS_KEYS.PatternLike,Pe.LVAL_TYPES=t.FLIPPED_ALIAS_KEYS.LVal,Pe.TSENTITYNAME_TYPES=t.FLIPPED_ALIAS_KEYS.TSEntityName,Pe.LITERAL_TYPES=t.FLIPPED_ALIAS_KEYS.Literal,Pe.IMMUTABLE_TYPES=t.FLIPPED_ALIAS_KEYS.Immutable,Pe.USERWHITESPACABLE_TYPES=t.FLIPPED_ALIAS_KEYS.UserWhitespacable,Pe.METHOD_TYPES=t.FLIPPED_ALIAS_KEYS.Method,Pe.OBJECTMEMBER_TYPES=t.FLIPPED_ALIAS_KEYS.ObjectMember,Pe.PROPERTY_TYPES=t.FLIPPED_ALIAS_KEYS.Property,Pe.UNARYLIKE_TYPES=t.FLIPPED_ALIAS_KEYS.UnaryLike,Pe.PATTERN_TYPES=t.FLIPPED_ALIAS_KEYS.Pattern,Pe.CLASS_TYPES=t.FLIPPED_ALIAS_KEYS.Class;const n=Pe.IMPORTOREXPORTDECLARATION_TYPES=t.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration;return Pe.EXPORTDECLARATION_TYPES=t.FLIPPED_ALIAS_KEYS.ExportDeclaration,Pe.MODULESPECIFIER_TYPES=t.FLIPPED_ALIAS_KEYS.ModuleSpecifier,Pe.ACCESSOR_TYPES=t.FLIPPED_ALIAS_KEYS.Accessor,Pe.PRIVATE_TYPES=t.FLIPPED_ALIAS_KEYS.Private,Pe.FLOW_TYPES=t.FLIPPED_ALIAS_KEYS.Flow,Pe.FLOWTYPE_TYPES=t.FLIPPED_ALIAS_KEYS.FlowType,Pe.FLOWBASEANNOTATION_TYPES=t.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,Pe.FLOWDECLARATION_TYPES=t.FLIPPED_ALIAS_KEYS.FlowDeclaration,Pe.FLOWPREDICATE_TYPES=t.FLIPPED_ALIAS_KEYS.FlowPredicate,Pe.ENUMBODY_TYPES=t.FLIPPED_ALIAS_KEYS.EnumBody,Pe.ENUMMEMBER_TYPES=t.FLIPPED_ALIAS_KEYS.EnumMember,Pe.JSX_TYPES=t.FLIPPED_ALIAS_KEYS.JSX,Pe.MISCELLANEOUS_TYPES=t.FLIPPED_ALIAS_KEYS.Miscellaneous,Pe.TYPESCRIPT_TYPES=t.FLIPPED_ALIAS_KEYS.TypeScript,Pe.TSTYPEELEMENT_TYPES=t.FLIPPED_ALIAS_KEYS.TSTypeElement,Pe.TSTYPE_TYPES=t.FLIPPED_ALIAS_KEYS.TSType,Pe.TSBASETYPE_TYPES=t.FLIPPED_ALIAS_KEYS.TSBaseType,Pe.MODULEDECLARATION_TYPES=n,Pe}var zn={},$n={},nc;function Ql(){if(nc)return $n;nc=1,Object.defineProperty($n,"__esModule",{value:!0}),$n.default=c;var t=At(),n=Zt();function c(u,d){if((0,t.isBlockStatement)(u))return u;let D=[];return(0,t.isEmptyStatement)(u)?D=[]:((0,t.isStatement)(u)||((0,t.isFunction)(d)?u=(0,n.returnStatement)(u):u=(0,n.expressionStatement)(u)),D=[u]),(0,n.blockStatement)(D)}return $n}var ac;function Yp(){if(ac)return zn;ac=1,Object.defineProperty(zn,"__esModule",{value:!0}),zn.default=n;var t=Ql();function n(c,u="body"){const d=(0,t.default)(c[u],c);return c[u]=d,d}return zn}var Qn={},Zn={},oc;function Zl(){if(oc)return Zn;oc=1,Object.defineProperty(Zn,"__esModule",{value:!0}),Zn.default=c;var t=yn(),n=Uo();function c(u){u=u+"";let d="";for(const D of u)d+=(0,n.isIdentifierChar)(D.codePointAt(0))?D:"-";return d=d.replace(/^[-0-9]+/,""),d=d.replace(/[-\s]+(.)?/g,function(D,h){return h?h.toUpperCase():""}),(0,t.default)(d)||(d=`_${d}`),d||"_"}return Zn}var uc;function Vp(){if(uc)return Qn;uc=1,Object.defineProperty(Qn,"__esModule",{value:!0}),Qn.default=n;var t=Zl();function n(c){return c=(0,t.default)(c),(c==="eval"||c==="arguments")&&(c="_"+c),c}return Qn}var ea={},cc;function Xp(){if(cc)return ea;cc=1,Object.defineProperty(ea,"__esModule",{value:!0}),ea.default=c;var t=At(),n=Zt();function c(u,d=u.key||u.property){return!u.computed&&(0,t.isIdentifier)(d)&&(d=(0,n.stringLiteral)(d.name)),d}return ea}var rn={},lc;function Wp(){if(lc)return rn;lc=1,Object.defineProperty(rn,"__esModule",{value:!0}),rn.default=void 0;var t=At();rn.default=n;function n(c){if((0,t.isExpressionStatement)(c)&&(c=c.expression),(0,t.isExpression)(c))return c;if((0,t.isClass)(c)?c.type="ClassExpression":(0,t.isFunction)(c)&&(c.type="FunctionExpression"),!(0,t.isExpression)(c))throw new Error(`cannot turn ${c.type} to an expression`);return c}return rn}var ta={},ra={},ia={},pc;function ep(){if(pc)return ia;pc=1,Object.defineProperty(ia,"__esModule",{value:!0}),ia.default=n;var t=Pr();function n(c,u,d){if(!c)return;const D=t.VISITOR_KEYS[c.type];if(D){d=d||{},u(c,d);for(const h of D){const f=c[h];if(Array.isArray(f))for(const l of f)n(l,u,d);else n(f,u,d)}}}return ia}var sa={},fc;function tp(){if(fc)return sa;fc=1,Object.defineProperty(sa,"__esModule",{value:!0}),sa.default=u;var t=qi();const n=["tokens","start","end","loc","raw","rawValue"],c=[...t.COMMENT_KEYS,"comments",...n];function u(d,D={}){const h=D.preserveComments?n:c;for(const l of h)d[l]!=null&&(d[l]=void 0);for(const l of Object.keys(d))l[0]==="_"&&d[l]!=null&&(d[l]=void 0);const f=Object.getOwnPropertySymbols(d);for(const l of f)d[l]=null}return sa}var dc;function rp(){if(dc)return ra;dc=1,Object.defineProperty(ra,"__esModule",{value:!0}),ra.default=c;var t=ep(),n=tp();function c(u,d){return(0,t.default)(u,n.default,d),u}return ra}var hc;function Jp(){if(hc)return ta;hc=1,Object.defineProperty(ta,"__esModule",{value:!0}),ta.default=u;var t=At(),n=Hi(),c=rp();function u(d,D=d.key){let h;return d.kind==="method"?u.increment()+"":((0,t.isIdentifier)(D)?h=D.name:(0,t.isStringLiteral)(D)?h=JSON.stringify(D.value):h=JSON.stringify((0,c.default)((0,n.default)(D))),d.computed&&(h=`[${h}]`),d.static&&(h=`static:${h}`),h)}return u.uid=0,u.increment=function(){return u.uid>=Number.MAX_SAFE_INTEGER?u.uid=0:u.uid++},ta}var sn={},mc;function zp(){if(mc)return sn;mc=1,Object.defineProperty(sn,"__esModule",{value:!0}),sn.default=void 0;var t=At(),n=Zt();sn.default=c;function c(u,d){if((0,t.isStatement)(u))return u;let D=!1,h;if((0,t.isClass)(u))D=!0,h="ClassDeclaration";else if((0,t.isFunction)(u))D=!0,h="FunctionDeclaration";else if((0,t.isAssignmentExpression)(u))return(0,n.expressionStatement)(u);if(D&&!u.id&&(h=!1),!h){if(d)return!1;throw new Error(`cannot turn ${u.type} to a statement`)}return u.type=h,u}return sn}var nn={},Tc;function $p(){if(Tc)return nn;Tc=1,Object.defineProperty(nn,"__esModule",{value:!0}),nn.default=void 0;var t=yn(),n=Zt();nn.default=D;const c=Function.call.bind(Object.prototype.toString);function u(h){return c(h)==="[object RegExp]"}function d(h){if(typeof h!="object"||h===null||Object.prototype.toString.call(h)!=="[object Object]")return!1;const f=Object.getPrototypeOf(h);return f===null||Object.getPrototypeOf(f)===null}function D(h){if(h===void 0)return(0,n.identifier)("undefined");if(h===!0||h===!1)return(0,n.booleanLiteral)(h);if(h===null)return(0,n.nullLiteral)();if(typeof h=="string")return(0,n.stringLiteral)(h);if(typeof h=="number"){let f;if(Number.isFinite(h))f=(0,n.numericLiteral)(Math.abs(h));else{let l;Number.isNaN(h)?l=(0,n.numericLiteral)(0):l=(0,n.numericLiteral)(1),f=(0,n.binaryExpression)("/",l,(0,n.numericLiteral)(0))}return(h<0||Object.is(h,-0))&&(f=(0,n.unaryExpression)("-",f)),f}if(u(h)){const f=h.source,l=/\/([a-z]*)$/.exec(h.toString())[1];return(0,n.regExpLiteral)(f,l)}if(Array.isArray(h))return(0,n.arrayExpression)(h.map(D));if(d(h)){const f=[];for(const l of Object.keys(h)){let O;(0,t.default)(l)?O=(0,n.identifier)(l):O=(0,n.stringLiteral)(l),f.push((0,n.objectProperty)(O,D(h[l])))}return(0,n.objectExpression)(f)}throw new Error("don't know how to turn this value into a node")}return nn}var na={},yc;function Qp(){if(yc)return na;yc=1,Object.defineProperty(na,"__esModule",{value:!0}),na.default=n;var t=Zt();function n(c,u,d=!1){return c.object=(0,t.memberExpression)(c.object,c.property,c.computed),c.property=u,c.computed=!!d,c}return na}var aa={},Ec;function Zp(){if(Ec)return aa;Ec=1,Object.defineProperty(aa,"__esModule",{value:!0}),aa.default=c;var t=qi(),n=$l();function c(u,d){if(!u||!d)return u;for(const D of t.INHERIT_KEYS.optional)u[D]==null&&(u[D]=d[D]);for(const D of Object.keys(d))D[0]==="_"&&D!=="__clone"&&(u[D]=d[D]);for(const D of t.INHERIT_KEYS.force)u[D]=d[D];return(0,n.default)(u,d),u}return aa}var oa={},bc;function ef(){if(bc)return oa;bc=1,Object.defineProperty(oa,"__esModule",{value:!0}),oa.default=c;var t=Zt(),n=Mt();function c(u,d){if((0,n.isSuper)(u.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return u.object=(0,t.memberExpression)(d,u.object),u}return oa}var ua={},Sc;function tf(){if(Sc)return ua;Sc=1,Object.defineProperty(ua,"__esModule",{value:!0}),ua.default=t;function t(n){const c=[].concat(n),u=Object.create(null);for(;c.length;){const d=c.pop();if(d)switch(d.type){case"ArrayPattern":c.push(...d.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":c.push(d.left);break;case"ObjectPattern":c.push(...d.properties);break;case"ObjectProperty":c.push(d.value);break;case"RestElement":case"UpdateExpression":c.push(d.argument);break;case"UnaryExpression":d.operator==="delete"&&c.push(d.argument);break;case"Identifier":u[d.name]=d;break}}return u}return ua}var ca={},Ac;function La(){if(Ac)return ca;Ac=1,Object.defineProperty(ca,"__esModule",{value:!0}),ca.default=n;var t=At();function n(u,d,D,h){const f=[].concat(u),l=Object.create(null);for(;f.length;){const O=f.shift();if(!O||h&&((0,t.isAssignmentExpression)(O)||(0,t.isUnaryExpression)(O)||(0,t.isUpdateExpression)(O)))continue;if((0,t.isIdentifier)(O)){d?(l[O.name]=l[O.name]||[]).push(O):l[O.name]=O;continue}if((0,t.isExportDeclaration)(O)&&!(0,t.isExportAllDeclaration)(O)){(0,t.isDeclaration)(O.declaration)&&f.push(O.declaration);continue}if(D){if((0,t.isFunctionDeclaration)(O)){f.push(O.id);continue}if((0,t.isFunctionExpression)(O))continue}const m=n.keys[O.type];if(m)for(let M=0;M<m.length;M++){const w=m[M],P=O[w];P&&(Array.isArray(P)?f.push(...P):f.push(P))}}return l}const c={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],TSImportEqualsDeclaration:["id"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]};return n.keys=c,ca}var an={},gc;function rf(){if(gc)return an;gc=1,Object.defineProperty(an,"__esModule",{value:!0}),an.default=void 0;var t=La();an.default=n;function n(c,u){return(0,t.default)(c,u,!0)}return an}var la={},Pc;function sf(){if(Pc)return la;Pc=1,Object.defineProperty(la,"__esModule",{value:!0}),la.default=u;var t=At();function n(d){return(0,t.isNullLiteral)(d)?"null":(0,t.isRegExpLiteral)(d)?`/${d.pattern}/${d.flags}`:(0,t.isTemplateLiteral)(d)?d.quasis.map(D=>D.value.raw).join(""):d.value!==void 0?String(d.value):null}function c(d){if(!d.computed||(0,t.isLiteral)(d.key))return d.key}function u(d,D){if("id"in d&&d.id)return{name:d.id.name,originalNode:d.id};let h="",f;if((0,t.isObjectProperty)(D,{value:d})?f=c(D):(0,t.isObjectMethod)(d)||(0,t.isClassMethod)(d)?(f=c(d),d.kind==="get"?h="get ":d.kind==="set"&&(h="set ")):(0,t.isVariableDeclarator)(D,{init:d})?f=D.id:(0,t.isAssignmentExpression)(D,{operator:"=",right:d})&&(f=D.left),!f)return null;const l=(0,t.isLiteral)(f)?n(f):(0,t.isIdentifier)(f)?f.name:(0,t.isPrivateName)(f)?f.id.name:null;return l==null?null:{name:h+l,originalNode:f}}return la}var pa={},Ic;function nf(){if(Ic)return pa;Ic=1,Object.defineProperty(pa,"__esModule",{value:!0}),pa.default=n;var t=Pr();function n(u,d,D){typeof d=="function"&&(d={enter:d});const{enter:h,exit:f}=d;c(u,h,f,D,[])}function c(u,d,D,h,f){const l=t.VISITOR_KEYS[u.type];if(l){d&&d(u,f,h);for(const O of l){const m=u[O];if(Array.isArray(m))for(let M=0;M<m.length;M++){const w=m[M];w&&(f.push({node:u,key:O,index:M}),c(w,d,D,h,f),f.pop())}else m&&(f.push({node:u,key:O}),c(m,d,D,h,f),f.pop())}D&&D(u,f,h)}}return pa}var fa={},_c;function af(){if(_c)return fa;_c=1,Object.defineProperty(fa,"__esModule",{value:!0}),fa.default=n;var t=La();function n(c,u,d){if(d&&c.type==="Identifier"&&u.type==="ObjectProperty"&&d.type==="ObjectExpression")return!1;const D=t.default.keys[u.type];if(D)for(let h=0;h<D.length;h++){const f=D[h],l=u[f];if(Array.isArray(l)){if(l.includes(c))return!0}else if(l===c)return!0}return!1}return fa}var da={},ha={},xc;function ip(){if(xc)return ha;xc=1,Object.defineProperty(ha,"__esModule",{value:!0}),ha.default=c;var t=At(),n=qi();function c(u){return(0,t.isVariableDeclaration)(u)&&(u.kind!=="var"||u[n.BLOCK_SCOPED_SYMBOL])}return ha}var Cc;function of(){if(Cc)return da;Cc=1,Object.defineProperty(da,"__esModule",{value:!0}),da.default=c;var t=At(),n=ip();function c(u){return(0,t.isFunctionDeclaration)(u)||(0,t.isClassDeclaration)(u)||(0,n.default)(u)}return da}var ma={},Nc;function uf(){if(Nc)return ma;Nc=1,Object.defineProperty(ma,"__esModule",{value:!0}),ma.default=c;var t=Fo(),n=At();function c(u){return(0,t.default)(u.type,"Immutable")?!0:(0,n.isIdentifier)(u)?u.name==="undefined":!1}return ma}var Ta={},Dc;function cf(){if(Dc)return Ta;Dc=1,Object.defineProperty(Ta,"__esModule",{value:!0}),Ta.default=n;var t=Pr();function n(c,u){if(typeof c!="object"||typeof u!="object"||c==null||u==null)return c===u;if(c.type!==u.type)return!1;const d=Object.keys(t.NODE_FIELDS[c.type]||c.type),D=t.VISITOR_KEYS[c.type];for(const h of d){const f=c[h],l=u[h];if(typeof f!=typeof l)return!1;if(!(f==null&&l==null)){if(f==null||l==null)return!1;if(Array.isArray(f)){if(!Array.isArray(l)||f.length!==l.length)return!1;for(let O=0;O<f.length;O++)if(!n(f[O],l[O]))return!1;continue}if(typeof f=="object"&&!(D!=null&&D.includes(h))){for(const O of Object.keys(f))if(f[O]!==l[O])return!1;continue}if(!n(f,l))return!1}}return!0}return Ta}var ya={},Oc;function lf(){if(Oc)return ya;Oc=1,Object.defineProperty(ya,"__esModule",{value:!0}),ya.default=t;function t(n,c,u){switch(c.type){case"MemberExpression":case"OptionalMemberExpression":return c.property===n?!!c.computed:c.object===n;case"JSXMemberExpression":return c.object===n;case"VariableDeclarator":return c.init===n;case"ArrowFunctionExpression":return c.body===n;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return c.key===n?!!c.computed:!1;case"ObjectProperty":return c.key===n?!!c.computed:!u||u.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":return c.key===n?!!c.computed:!0;case"ClassPrivateProperty":return c.key!==n;case"ClassDeclaration":case"ClassExpression":return c.superClass===n;case"AssignmentExpression":return c.right===n;case"AssignmentPattern":return c.right===n;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 u!=null&&u.source?!1:c.local===n;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 c.key!==n;case"TSEnumMember":return c.id!==n;case"TSPropertySignature":return c.key===n?!!c.computed:!0}return!0}return ya}var Ea={},vc;function pf(){if(vc)return Ea;vc=1,Object.defineProperty(Ea,"__esModule",{value:!0}),Ea.default=n;var t=At();function n(c,u){return(0,t.isBlockStatement)(c)&&((0,t.isFunction)(u)||(0,t.isCatchClause)(u))?!1:(0,t.isPattern)(c)&&((0,t.isFunction)(u)||(0,t.isCatchClause)(u))?!0:(0,t.isScopable)(c)}return Ea}var ba={},Lc;function ff(){if(Lc)return ba;Lc=1,Object.defineProperty(ba,"__esModule",{value:!0}),ba.default=n;var t=At();function n(c){return(0,t.isImportDefaultSpecifier)(c)||(0,t.isIdentifier)(c.imported||c.exported,{name:"default"})}return ba}var Sa={},wc;function df(){if(wc)return Sa;wc=1,Object.defineProperty(Sa,"__esModule",{value:!0}),Sa.default=c;var t=yn();const n=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function c(u){return(0,t.default)(u)&&!n.has(u)}return Sa}var Aa={},Rc;function hf(){if(Rc)return Aa;Rc=1,Object.defineProperty(Aa,"__esModule",{value:!0}),Aa.default=c;var t=At(),n=qi();function c(u){return(0,t.isVariableDeclaration)(u,{kind:"var"})&&!u[n.BLOCK_SCOPED_SYMBOL]}return Aa}var ga={},Pa={},kc;function mf(){if(kc)return Pa;kc=1,Object.defineProperty(Pa,"__esModule",{value:!0}),Pa.default=D;var t=La(),n=At(),c=Zt(),u=Vl(),d=Hi();function D(h,f){const l=[];let O=!0;for(const m of h)if((0,n.isEmptyStatement)(m)||(O=!1),(0,n.isExpression)(m))l.push(m);else if((0,n.isExpressionStatement)(m))l.push(m.expression);else if((0,n.isVariableDeclaration)(m)){if(m.kind!=="var")return;for(const M of m.declarations){const w=(0,t.default)(M);for(const P of Object.keys(w))f.push({kind:m.kind,id:(0,d.default)(w[P])});M.init&&l.push((0,c.assignmentExpression)("=",M.id,M.init))}O=!0}else if((0,n.isIfStatement)(m)){const M=m.consequent?D([m.consequent],f):(0,u.buildUndefinedNode)(),w=m.alternate?D([m.alternate],f):(0,u.buildUndefinedNode)();if(!M||!w)return;l.push((0,c.conditionalExpression)(m.test,M,w))}else if((0,n.isBlockStatement)(m)){const M=D(m.body,f);if(!M)return;l.push(M)}else if((0,n.isEmptyStatement)(m))h.indexOf(m)===0&&(O=!0);else return;return O&&l.push((0,u.buildUndefinedNode)()),l.length===1?l[0]:(0,c.sequenceExpression)(l)}return Pa}var Mc;function Tf(){if(Mc)return ga;Mc=1,Object.defineProperty(ga,"__esModule",{value:!0}),ga.default=n;var t=mf();function n(c,u){if(!(c!=null&&c.length))return;const d=[],D=(0,t.default)(c,d);if(D){for(const h of d)u.push(h);return D}}return ga}var Bc;function Mt(){return Bc||(Bc=1,function(t){var n={};Object.defineProperty(t,"__esModule",{value:!0});var c={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getAssignmentIdentifiers:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,getFunctionName:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(t,"__internal__deprecationWarning",{enumerable:!0,get:function(){return at.default}}),Object.defineProperty(t,"addComment",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"addComments",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,"appendToMemberExpression",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(t,"assertNode",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:!0,get:function(){return Ge.default}}),Object.defineProperty(t,"clone",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"cloneNode",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"cloneWithoutLoc",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,"createFlowUnionType",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"createTSUnionType",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"ensureBlock",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return Re.default}}),Object.defineProperty(t,"getBindingIdentifiers",{enumerable:!0,get:function(){return Ye.default}}),Object.defineProperty(t,"getFunctionName",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(t,"inheritInnerComments",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(t,"inheritLeadingComments",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"inheritTrailingComments",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"inherits",{enumerable:!0,get:function(){return Se.default}}),Object.defineProperty(t,"inheritsComments",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"is",{enumerable:!0,get:function(){return it.default}}),Object.defineProperty(t,"isBinding",{enumerable:!0,get:function(){return pt.default}}),Object.defineProperty(t,"isBlockScoped",{enumerable:!0,get:function(){return ft.default}}),Object.defineProperty(t,"isImmutable",{enumerable:!0,get:function(){return yt.default}}),Object.defineProperty(t,"isLet",{enumerable:!0,get:function(){return Et.default}}),Object.defineProperty(t,"isNode",{enumerable:!0,get:function(){return bt.default}}),Object.defineProperty(t,"isNodesEquivalent",{enumerable:!0,get:function(){return gt.default}}),Object.defineProperty(t,"isPlaceholderType",{enumerable:!0,get:function(){return Nt.default}}),Object.defineProperty(t,"isReferenced",{enumerable:!0,get:function(){return It.default}}),Object.defineProperty(t,"isScope",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(t,"isSpecifierDefault",{enumerable:!0,get:function(){return Ee.default}}),Object.defineProperty(t,"isType",{enumerable:!0,get:function(){return Ae.default}}),Object.defineProperty(t,"isValidES3Identifier",{enumerable:!0,get:function(){return Ce.default}}),Object.defineProperty(t,"isValidIdentifier",{enumerable:!0,get:function(){return Fe.default}}),Object.defineProperty(t,"isVar",{enumerable:!0,get:function(){return ve.default}}),Object.defineProperty(t,"matchesPattern",{enumerable:!0,get:function(){return Ke.default}}),Object.defineProperty(t,"prependToMemberExpression",{enumerable:!0,get:function(){return Ie.default}}),t.react=void 0,Object.defineProperty(t,"removeComments",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,"removeProperties",{enumerable:!0,get:function(){return De.default}}),Object.defineProperty(t,"removePropertiesDeep",{enumerable:!0,get:function(){return Me.default}}),Object.defineProperty(t,"removeTypeDuplicates",{enumerable:!0,get:function(){return xe.default}}),Object.defineProperty(t,"shallowEqual",{enumerable:!0,get:function(){return Je.default}}),Object.defineProperty(t,"toBindingIdentifierName",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,"toBlock",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"toComputedKey",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"toExpression",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(t,"toIdentifier",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(t,"toKeyAlias",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(t,"toStatement",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"traverse",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(t,"traverseFast",{enumerable:!0,get:function(){return Ve.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return Xe.default}}),Object.defineProperty(t,"valueToNode",{enumerable:!0,get:function(){return oe.default}});var u=Ep(),d=bp(),D=vp(),h=Lp(),f=wp();Object.keys(f).forEach(function(ge){ge==="default"||ge==="__esModule"||Object.prototype.hasOwnProperty.call(c,ge)||ge in t&&t[ge]===f[ge]||Object.defineProperty(t,ge,{enumerable:!0,get:function(){return f[ge]}})});var l=Rp(),O=kp(),m=Bp(),M=Vl();Object.keys(M).forEach(function(ge){ge==="default"||ge==="__esModule"||Object.prototype.hasOwnProperty.call(c,ge)||ge in t&&t[ge]===M[ge]||Object.defineProperty(t,ge,{enumerable:!0,get:function(){return M[ge]}})});var w=Zt();Object.keys(w).forEach(function(ge){ge==="default"||ge==="__esModule"||Object.prototype.hasOwnProperty.call(c,ge)||ge in t&&t[ge]===w[ge]||Object.defineProperty(t,ge,{enumerable:!0,get:function(){return w[ge]}})});var P=Hi(),ne=Fp(),Y=Up(),_=jp(),z=qp(),B=Hp(),Z=Xl(),X=Wl(),I=Jl(),E=$l(),N=zl(),V=Gp(),te=Kp();Object.keys(te).forEach(function(ge){ge==="default"||ge==="__esModule"||Object.prototype.hasOwnProperty.call(c,ge)||ge in t&&t[ge]===te[ge]||Object.defineProperty(t,ge,{enumerable:!0,get:function(){return te[ge]}})});var U=qi();Object.keys(U).forEach(function(ge){ge==="default"||ge==="__esModule"||Object.prototype.hasOwnProperty.call(c,ge)||ge in t&&t[ge]===U[ge]||Object.defineProperty(t,ge,{enumerable:!0,get:function(){return U[ge]}})});var R=Yp(),J=Vp(),F=Ql(),Q=Xp(),re=Wp(),ue=Zl(),ae=Jp(),H=zp(),oe=$p(),le=Pr();Object.keys(le).forEach(function(ge){ge==="default"||ge==="__esModule"||Object.prototype.hasOwnProperty.call(c,ge)||ge in t&&t[ge]===le[ge]||Object.defineProperty(t,ge,{enumerable:!0,get:function(){return le[ge]}})});var ye=Qp(),Se=Zp(),Ie=ef(),De=tp(),Me=rp(),xe=Yl(),Re=tf(),Ye=La(),ce=rf(),he=sf(),fe=nf();Object.keys(fe).forEach(function(ge){ge==="default"||ge==="__esModule"||Object.prototype.hasOwnProperty.call(c,ge)||ge in t&&t[ge]===fe[ge]||Object.defineProperty(t,ge,{enumerable:!0,get:function(){return fe[ge]}})});var Ve=ep(),Je=Bo(),it=Tn(),pt=af(),ft=of(),yt=uf(),Et=ip(),bt=Kl(),gt=cf(),Nt=ql(),It=lf(),de=pf(),Ee=ff(),Ae=Fo(),Ce=df(),Fe=yn(),ve=hf(),Ke=Ul(),Xe=jo(),Ge=jl(),We=At();Object.keys(We).forEach(function(ge){ge==="default"||ge==="__esModule"||Object.prototype.hasOwnProperty.call(c,ge)||ge in t&&t[ge]===We[ge]||Object.defineProperty(t,ge,{enumerable:!0,get:function(){return We[ge]}})});var at=Oa(),tt=Tf();t.react={isReactComponent:u.default,isCompatTag:d.default,buildChildren:D.default},t.toSequenceExpression=tt.default,n.BABEL_TYPES_8_BREAKING&&console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")}(Eo)),Eo}var Fc;function yf(){if(Fc)return Qs;Fc=1,Object.defineProperty(Qs,"__esModule",{value:!0}),Qs.nodes=void 0;var t=Mt();const{FLIPPED_ALIAS_KEYS:n,isArrayExpression:c,isAssignmentExpression:u,isBinary:d,isBlockStatement:D,isCallExpression:h,isFunction:f,isIdentifier:l,isLiteral:O,isMemberExpression:m,isObjectExpression:M,isOptionalCallExpression:w,isOptionalMemberExpression:P,isStringLiteral:ne}=t;function Y(X,I){return X&&(m(X)||P(X)?(Y(X.object,I),X.computed&&Y(X.property,I)):d(X)||u(X)?(Y(X.left,I),Y(X.right,I)):h(X)||w(X)?(I.hasCall=!0,Y(X.callee,I)):f(X)?I.hasFunction=!0:l(X)&&(I.hasHelper=I.hasHelper||X.callee&&z(X.callee))),I}function _(X){return Y(X,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function z(X){return X?m(X)?z(X.object)||z(X.property):l(X)?X.name==="require"||X.name.charCodeAt(0)===95:h(X)?z(X.callee):d(X)||u(X)?l(X.left)&&z(X.left)||z(X.right):!1:!1}function B(X){return O(X)||M(X)||c(X)||l(X)||m(X)}const Z=Qs.nodes={AssignmentExpression(X){const I=_(X.right);if(I.hasCall&&I.hasHelper||I.hasFunction)return I.hasFunction?3:2},SwitchCase(X,I){return(X.consequent.length||I.cases[0]===X?1:0)|(!X.consequent.length&&I.cases[I.cases.length-1]===X?2:0)},LogicalExpression(X){if(f(X.left)||f(X.right))return 2},Literal(X){if(ne(X)&&X.value==="use strict")return 2},CallExpression(X){if(f(X.callee)||z(X))return 3},OptionalCallExpression(X){if(f(X.callee))return 3},VariableDeclaration(X){for(let I=0;I<X.declarations.length;I++){const E=X.declarations[I];let N=z(E.id)&&!B(E.init);if(!N&&E.init){const V=_(E.init);N=z(E.init)&&V.hasCall||V.hasFunction}if(N)return 3}},IfStatement(X){if(D(X.consequent))return 3}};return Z.ObjectProperty=Z.ObjectTypeProperty=Z.ObjectMethod=function(X,I){if(I.properties[0]===X)return 1},Z.ObjectTypeCallProperty=function(X,I){var E;if(I.callProperties[0]===X&&!((E=I.properties)!=null&&E.length))return 1},Z.ObjectTypeIndexer=function(X,I){var E,N;if(I.indexers[0]===X&&!((E=I.properties)!=null&&E.length)&&!((N=I.callProperties)!=null&&N.length))return 1},Z.ObjectTypeInternalSlot=function(X,I){var E,N,V;if(I.internalSlots[0]===X&&!((E=I.properties)!=null&&E.length)&&!((N=I.callProperties)!=null&&N.length)&&!((V=I.indexers)!=null&&V.length))return 1},[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([X,I]){[X].concat(n[X]||[]).forEach(function(E){const N=I?3:0;Z[E]=()=>N})}),Qs}var rt={},Uc;function Ef(){if(Uc)return rt;Uc=1,Object.defineProperty(rt,"__esModule",{value:!0}),rt.AssignmentExpression=xe,rt.Binary=N,rt.BinaryExpression=H,rt.ClassExpression=ye,rt.ArrowFunctionExpression=rt.ConditionalExpression=De,rt.DoExpression=E,rt.FunctionExpression=Ie,rt.FunctionTypeAnnotation=B,rt.Identifier=Ye,rt.LogicalExpression=Re,rt.NullableTypeAnnotation=z,rt.ObjectExpression=I,rt.OptionalIndexedAccessType=te,rt.OptionalCallExpression=rt.OptionalMemberExpression=Me,rt.SequenceExpression=oe,rt.TSSatisfiesExpression=rt.TSAsExpression=U,rt.TSConditionalType=R,rt.TSConstructorType=rt.TSFunctionType=ae,rt.TSInferType=Q,rt.TSInstantiationExpression=ue,rt.TSIntersectionType=F,rt.UnaryLike=rt.TSTypeAssertion=Se,rt.TSTypeOperator=re,rt.TSUnionType=J,rt.IntersectionTypeAnnotation=rt.UnionTypeAnnotation=V,rt.UpdateExpression=Z,rt.AwaitExpression=rt.YieldExpression=le;var t=Mt(),n=Gi();const{isArrayTypeAnnotation:c,isBinaryExpression:u,isCallExpression:d,isForOfStatement:D,isIndexedAccessType:h,isMemberExpression:f,isObjectPattern:l,isOptionalMemberExpression:O,isYieldExpression:m,isStatement:M}=t,w=new Map([["||",0],["??",0],["|>",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function P(ce,he){if(he==="BinaryExpression"||he==="LogicalExpression")return w.get(ce.operator);if(he==="TSAsExpression"||he==="TSSatisfiesExpression")return w.get("in")}function ne(ce){return ce==="TSAsExpression"||ce==="TSSatisfiesExpression"||ce==="TSTypeAssertion"}const Y=(ce,he)=>{const fe=he.type;return(fe==="ClassDeclaration"||fe==="ClassExpression")&&he.superClass===ce},_=(ce,he)=>{const fe=he.type;return(fe==="MemberExpression"||fe==="OptionalMemberExpression")&&he.object===ce||(fe==="CallExpression"||fe==="OptionalCallExpression"||fe==="NewExpression")&&he.callee===ce||fe==="TaggedTemplateExpression"&&he.tag===ce||fe==="TSNonNullExpression"};function z(ce,he){return c(he)}function B(ce,he,fe){const Ve=he.type;return Ve==="UnionTypeAnnotation"||Ve==="IntersectionTypeAnnotation"||Ve==="ArrayTypeAnnotation"||!!(fe&n.TokenContext.arrowFlowReturnType)}function Z(ce,he){return _(ce,he)||Y(ce,he)}function X(ce){return!!(ce&(n.TokenContext.expressionStatement|n.TokenContext.arrowBody))}function I(ce,he,fe){return X(fe)}function E(ce,he,fe){return!ce.async&&!!(fe&n.TokenContext.expressionStatement)}function N(ce,he){const fe=he.type;if(ce.type==="BinaryExpression"&&ce.operator==="**"&&fe==="BinaryExpression"&&he.operator==="**")return he.left===ce;if(Y(ce,he)||_(ce,he)||fe==="UnaryExpression"||fe==="SpreadElement"||fe==="AwaitExpression")return!0;const Ve=P(he,fe);if(Ve!=null){const Je=P(ce,ce.type);if(Ve===Je&&fe==="BinaryExpression"&&he.right===ce||Ve>Je)return!0}}function V(ce,he){const fe=he.type;return fe==="ArrayTypeAnnotation"||fe==="NullableTypeAnnotation"||fe==="IntersectionTypeAnnotation"||fe==="UnionTypeAnnotation"}function te(ce,he){return h(he)&&he.objectType===ce}function U(ce,he){return(he.type==="AssignmentExpression"||he.type==="AssignmentPattern")&&he.left===ce||he.type==="BinaryExpression"&&(he.operator==="|"||he.operator==="&")&&ce===he.left?!0:N(ce,he)}function R(ce,he){const fe=he.type;return fe==="TSArrayType"||fe==="TSIndexedAccessType"&&he.objectType===ce||fe==="TSOptionalType"||fe==="TSTypeOperator"||fe==="TSTypeParameter"||(fe==="TSIntersectionType"||fe==="TSUnionType")&&he.types[0]===ce||fe==="TSConditionalType"&&(he.checkType===ce||he.extendsType===ce)}function J(ce,he){const fe=he.type;return fe==="TSIntersectionType"||fe==="TSTypeOperator"||fe==="TSArrayType"||fe==="TSIndexedAccessType"&&he.objectType===ce||fe==="TSOptionalType"}function F(ce,he){const fe=he.type;return fe==="TSTypeOperator"||fe==="TSArrayType"||fe==="TSIndexedAccessType"&&he.objectType===ce||fe==="TSOptionalType"}function Q(ce,he){const fe=he.type;return!!(fe==="TSArrayType"||fe==="TSIndexedAccessType"&&he.objectType===ce||fe==="TSOptionalType"||ce.typeParameter.constraint&&(fe==="TSIntersectionType"||fe==="TSUnionType")&&he.types[0]===ce)}function re(ce,he){const fe=he.type;return fe==="TSArrayType"||fe==="TSIndexedAccessType"&&he.objectType===ce||fe==="TSOptionalType"}function ue(ce,he){const fe=he.type;return(fe==="CallExpression"||fe==="OptionalCallExpression"||fe==="NewExpression"||fe==="TSInstantiationExpression")&&!!he.typeParameters}function ae(ce,he){const fe=he.type;return fe==="TSIntersectionType"||fe==="TSUnionType"||fe==="TSTypeOperator"||fe==="TSOptionalType"||fe==="TSArrayType"||fe==="TSIndexedAccessType"&&he.objectType===ce||fe==="TSConditionalType"&&(he.checkType===ce||he.extendsType===ce)}function H(ce,he,fe,Ve){return ce.operator==="in"&&Ve}function oe(ce,he){const fe=he.type;return fe==="SequenceExpression"||fe==="ParenthesizedExpression"||fe==="MemberExpression"&&he.property===ce||fe==="OptionalMemberExpression"&&he.property===ce||fe==="TemplateLiteral"?!1:fe==="ClassDeclaration"?!0:fe==="ForOfStatement"?he.right===ce:fe==="ExportDefaultDeclaration"?!0:!M(he)}function le(ce,he){const fe=he.type;return fe==="BinaryExpression"||fe==="LogicalExpression"||fe==="UnaryExpression"||fe==="SpreadElement"||_(ce,he)||fe==="AwaitExpression"&&m(ce)||fe==="ConditionalExpression"&&ce===he.test||Y(ce,he)||ne(fe)}function ye(ce,he,fe){return!!(fe&(n.TokenContext.expressionStatement|n.TokenContext.exportDefault))}function Se(ce,he){return _(ce,he)||u(he)&&he.operator==="**"&&he.left===ce||Y(ce,he)}function Ie(ce,he,fe){return!!(fe&(n.TokenContext.expressionStatement|n.TokenContext.exportDefault))}function De(ce,he){const fe=he.type;return fe==="UnaryExpression"||fe==="SpreadElement"||fe==="BinaryExpression"||fe==="LogicalExpression"||fe==="ConditionalExpression"&&he.test===ce||fe==="AwaitExpression"||ne(fe)?!0:Se(ce,he)}function Me(ce,he){return d(he)&&he.callee===ce||f(he)&&he.object===ce}function xe(ce,he,fe){return X(fe)&&l(ce.left)?!0:De(ce,he)}function Re(ce,he){const fe=he.type;if(ne(fe))return!0;if(fe!=="LogicalExpression")return!1;switch(ce.operator){case"||":return he.operator==="??"||he.operator==="&&";case"&&":return he.operator==="??";case"??":return he.operator!=="??"}}function Ye(ce,he,fe,Ve,Je){var it;const pt=he.type;if((it=ce.extra)!=null&&it.parenthesized&&pt==="AssignmentExpression"&&he.left===ce){const ft=he.right.type;if((ft==="FunctionExpression"||ft==="ClassExpression")&&he.right.id==null)return!0}return Je&&Je(ce)!==ce.name?!1:ce.name==="let"?(f(he,{object:ce,computed:!0})||O(he,{object:ce,computed:!0,optional:!1}))&&fe&(n.TokenContext.expressionStatement|n.TokenContext.forHead|n.TokenContext.forInHead)?!0:!!(fe&n.TokenContext.forOfHead):ce.name==="async"&&D(he,{left:ce,await:!1})}return rt}var jc;function Gi(){if(jc)return kr;jc=1,Object.defineProperty(kr,"__esModule",{value:!0}),kr.TokenContext=void 0,kr.isLastChild=X,kr.needsParens=B,kr.needsWhitespace=Y,kr.needsWhitespaceAfter=z,kr.needsWhitespaceBefore=_;var t=yf(),n=Ef(),c=Mt();const{FLIPPED_ALIAS_KEYS:u,VISITOR_KEYS:d,isCallExpression:D,isDecorator:h,isExpressionStatement:f,isMemberExpression:l,isNewExpression:O,isParenthesizedExpression:m}=c;kr.TokenContext={expressionStatement:1,arrowBody:2,exportDefault:4,forHead:8,forInHead:16,forOfHead:32,arrowFlowReturnType:64};function M(I){const E=new Map;function N(V,te){const U=E.get(V);E.set(V,U?function(R,J,F,Q,re){var ue;return(ue=U(R,J,F,Q,re))!=null?ue:te(R,J,F,Q,re)}:te)}for(const V of Object.keys(I)){const te=u[V];if(te)for(const U of te)N(U,I[V]);else N(V,I[V])}return E}const w=M(n),P=M(t.nodes);function ne(I){return D(I)?!0:l(I)&&ne(I.object)}function Y(I,E,N){var V;if(!I)return!1;f(I)&&(I=I.expression);const te=(V=P.get(I.type))==null?void 0:V(I,E);return typeof te=="number"?(te&N)!==0:!1}function _(I,E){return Y(I,E,1)}function z(I,E){return Y(I,E,2)}function B(I,E,N,V,te){var U;return E?O(E)&&E.callee===I&&ne(I)?!0:h(E)?!Z(I)&&!(D(I)&&Z(I.callee))&&!m(I):(U=w.get(I.type))==null?void 0:U(I,E,N,V,te):!1}function Z(I){switch(I.type){case"Identifier":return!0;case"MemberExpression":return!I.computed&&I.property.type==="Identifier"&&Z(I.object);default:return!1}}function X(I,E){const N=d[I.type];for(let V=N.length-1;V>=0;V--){const te=I[N[V]];if(te===E)return!0;if(Array.isArray(te)){let U=te.length-1;for(;U>=0&&te[U]===null;)U--;return U>=0&&te[U]===E}else if(te)return!1}return!1}return kr}var on={},qc;function bf(){if(qc)return on;qc=1,Object.defineProperty(on,"__esModule",{value:!0}),on.TokenMap=void 0;var t=Mt();const{traverseFast:n,VISITOR_KEYS:c}=t;class u{constructor(h,f,l){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=f,this._source=l,n(h,O=>{const m=this._getTokensIndexesOfNode(O);m.length>0&&this._nodesToTokenIndexes.set(O,m)}),this._tokensCache=null}has(h){return this._nodesToTokenIndexes.has(h)}getIndexes(h){return this._nodesToTokenIndexes.get(h)}find(h,f){const l=this._nodesToTokenIndexes.get(h);if(l)for(let O=0;O<l.length;O++){const m=l[O],M=this._tokens[m];if(f(M,m))return M}return null}findLastIndex(h,f){const l=this._nodesToTokenIndexes.get(h);if(l)for(let O=l.length-1;O>=0;O--){const m=l[O],M=this._tokens[m];if(f(M,m))return m}return-1}findMatching(h,f,l=0){const O=this._nodesToTokenIndexes.get(h);if(O){let m=0;const M=l;if(M>1){const w=this._nodesOccurrencesCountCache.get(h);w&&w.test===f&&w.count<M&&(m=w.i+1,l-=w.count+1)}for(;m<O.length;m++){const w=this._tokens[O[m]];if(this.matchesOriginal(w,f)){if(l===0)return M>0&&this._nodesOccurrencesCountCache.set(h,{test:f,count:M,i:m}),w;l--}}}return null}matchesOriginal(h,f){return h.end-h.start!==f.length?!1:h.value!=null?h.value===f:this._source.startsWith(f,h.start)}startMatches(h,f){const l=this._nodesToTokenIndexes.get(h);if(!l)return!1;const O=this._tokens[l[0]];return O.start!==h.start?!1:this.matchesOriginal(O,f)}endMatches(h,f){const l=this._nodesToTokenIndexes.get(h);if(!l)return!1;const O=this._tokens[l[l.length-1]];return O.end!==h.end?!1:this.matchesOriginal(O,f)}_getTokensIndexesOfNode(h){if(h.start==null||h.end==null)return[];const{first:f,last:l}=this._findTokensOfNode(h,0,this._tokens.length-1);let O=f;const m=d(h);(h.type==="ExportNamedDeclaration"||h.type==="ExportDefaultDeclaration")&&h.declaration&&h.declaration.type==="ClassDeclaration"&&m.next();const M=[];for(const w of m){if(w==null||w.start==null||w.end==null)continue;const P=this._findTokensOfNode(w,O,l),ne=P.first;for(let Y=O;Y<ne;Y++)M.push(Y);O=P.last+1}for(let w=O;w<=l;w++)M.push(w);return M}_findTokensOfNode(h,f,l){const O=this._tokensCache.get(h);if(O)return O;const m=this._findFirstTokenOfNode(h.start,f,l),M=this._findLastTokenOfNode(h.end,m,l);return this._tokensCache.set(h,{first:m,last:M}),{first:m,last:M}}_findFirstTokenOfNode(h,f,l){for(;f<=l;){const O=l+f>>1;if(h<this._tokens[O].start)l=O-1;else if(h>this._tokens[O].start)f=O+1;else return O}return f}_findLastTokenOfNode(h,f,l){for(;f<=l;){const O=l+f>>1;if(h<this._tokens[O].end)l=O-1;else if(h>this._tokens[O].end)f=O+1;else return O}return l}}on.TokenMap=u;function*d(D){if(D.type==="TemplateLiteral"){yield D.quasis[0];for(let f=1;f<D.quasis.length;f++)yield D.expressions[f-1],yield D.quasis[f];return}const h=c[D.type];for(const f of h){const l=D[f];l&&(Array.isArray(l)?yield*l:yield l)}}return on}var Po={},Mi={},Hc;function Sf(){if(Hc)return Mi;Hc=1,Object.defineProperty(Mi,"__esModule",{value:!0}),Mi.TaggedTemplateExpression=t,Mi.TemplateElement=n,Mi.TemplateLiteral=u,Mi._printTemplate=c;function t(d){this.print(d.tag),this.print(d.typeParameters),this.print(d.quasi)}function n(){throw new Error("TemplateElement printing is handled in TemplateLiteral")}function c(d,D){const h=d.quasis;let f="`";for(let l=0;l<h.length-1;l++)if(f+=h[l].value.raw,this.token(f+"${",!0),this.print(D[l]),f="}",this.tokenMap){const O=this.tokenMap.findMatching(d,"}",l);O&&this._catchUpTo(O.loc.start)}f+=h[h.length-1].value.raw,this.token(f+"`",!0)}function u(d){this._printTemplate(d,d.expressions)}return Mi}var nt={},Gc;function Af(){if(Gc)return nt;Gc=1,Object.defineProperty(nt,"__esModule",{value:!0}),nt.LogicalExpression=nt.BinaryExpression=nt.AssignmentExpression=R,nt.AssignmentPattern=U,nt.AwaitExpression=E,nt.BindExpression=J,nt.CallExpression=X,nt.ConditionalExpression=M,nt.Decorator=z,nt.DoExpression=l,nt.EmptyStatement=V,nt.ExpressionStatement=te,nt.Import=I,nt.MemberExpression=F,nt.MetaProperty=Q,nt.ModuleExpression=ae,nt.NewExpression=w,nt.OptionalCallExpression=Z,nt.OptionalMemberExpression=B,nt.ParenthesizedExpression=O,nt.PrivateName=re,nt.SequenceExpression=P,nt.Super=Y,nt.ThisExpression=ne,nt.UnaryExpression=f,nt.UpdateExpression=m,nt.V8IntrinsicIdentifier=ue,nt.YieldExpression=N,nt._shouldPrintDecoratorsBeforeExport=_;var t=Mt(),n=Gi();const{isCallExpression:c,isLiteral:u,isMemberExpression:d,isNewExpression:D,isPattern:h}=t;function f(H){const{operator:oe}=H;oe==="void"||oe==="delete"||oe==="typeof"||oe==="throw"?(this.word(oe),this.space()):this.token(oe),this.print(H.argument)}function l(H){H.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(H.body)}function O(H){this.tokenChar(40);const oe=this.enterDelimited();this.print(H.expression),oe(),this.rightParens(H)}function m(H){H.prefix?(this.token(H.operator),this.print(H.argument)):(this.print(H.argument,!0),this.token(H.operator))}function M(H){this.print(H.test),this.space(),this.tokenChar(63),this.space(),this.print(H.consequent),this.space(),this.tokenChar(58),this.space(),this.print(H.alternate)}function w(H,oe){if(this.word("new"),this.space(),this.print(H.callee),this.format.minified&&H.arguments.length===0&&!H.optional&&!c(oe,{callee:H})&&!d(oe)&&!D(oe)||(this.print(H.typeArguments),this.print(H.typeParameters),H.optional&&this.token("?."),H.arguments.length===0&&this.tokenMap&&!this.tokenMap.endMatches(H,")")))return;this.tokenChar(40);const le=this.enterDelimited();this.printList(H.arguments,this.shouldPrintTrailingComma(")")),le(),this.rightParens(H)}function P(H){this.printList(H.expressions)}function ne(){this.word("this")}function Y(){this.word("super")}function _(H){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof H.start=="number"&&H.start===H.declaration.start}function z(H){this.tokenChar(64),this.print(H.expression),this.newline()}function B(H){let{computed:oe}=H;const{optional:le,property:ye}=H;if(this.print(H.object),!oe&&d(ye))throw new TypeError("Got a MemberExpression for MemberExpression property");u(ye)&&typeof ye.value=="number"&&(oe=!0),le&&this.token("?."),oe?(this.tokenChar(91),this.print(ye),this.tokenChar(93)):(le||this.tokenChar(46),this.print(ye))}function Z(H){this.print(H.callee),this.print(H.typeParameters),H.optional&&this.token("?."),this.print(H.typeArguments),this.tokenChar(40);const oe=this.enterDelimited();this.printList(H.arguments),oe(),this.rightParens(H)}function X(H){this.print(H.callee),this.print(H.typeArguments),this.print(H.typeParameters),this.tokenChar(40);const oe=this.enterDelimited();this.printList(H.arguments,this.shouldPrintTrailingComma(")")),oe(),this.rightParens(H)}function I(){this.word("import")}function E(H){this.word("await"),H.argument&&(this.space(),this.printTerminatorless(H.argument))}function N(H){this.word("yield",!0),H.delegate?(this.tokenChar(42),H.argument&&(this.space(),this.print(H.argument))):H.argument&&(this.space(),this.printTerminatorless(H.argument))}function V(){this.semicolon(!0)}function te(H){this.tokenContext|=n.TokenContext.expressionStatement,this.print(H.expression),this.semicolon()}function U(H){this.print(H.left),(H.left.type==="Identifier"||h(H.left))&&(H.left.optional&&this.tokenChar(63),this.print(H.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(H.right)}function R(H){this.print(H.left),this.space(),H.operator==="in"||H.operator==="instanceof"?this.word(H.operator):(this.token(H.operator),this._endsWithDiv=H.operator==="/"),this.space(),this.print(H.right)}function J(H){this.print(H.object),this.token("::"),this.print(H.callee)}function F(H){if(this.print(H.object),!H.computed&&d(H.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let oe=H.computed;if(u(H.property)&&typeof H.property.value=="number"&&(oe=!0),oe){const le=this.enterDelimited();this.tokenChar(91),this.print(H.property),this.tokenChar(93),le()}else this.tokenChar(46),this.print(H.property)}function Q(H){this.print(H.meta),this.tokenChar(46),this.print(H.property)}function re(H){this.tokenChar(35),this.print(H.id)}function ue(H){this.tokenChar(37),this.word(H.name)}function ae(H){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();const{body:oe}=H;(oe.body.length||oe.directives.length)&&this.newline(),this.print(oe),this.dedent(),this.rightBrace(H)}return nt}var Tt={},Kc;function gf(){if(Kc)return Tt;Kc=1,Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.BreakStatement=ne,Tt.CatchClause=X,Tt.ContinueStatement=Y,Tt.DebuggerStatement=N,Tt.DoWhileStatement=w,Tt.ForOfStatement=Tt.ForInStatement=void 0,Tt.ForStatement=O,Tt.IfStatement=f,Tt.LabeledStatement=B,Tt.ReturnStatement=_,Tt.SwitchCase=E,Tt.SwitchStatement=I,Tt.ThrowStatement=z,Tt.TryStatement=Z,Tt.VariableDeclaration=V,Tt.VariableDeclarator=te,Tt.WhileStatement=m,Tt.WithStatement=h;var t=Mt(),n=Gi();const{isFor:c,isForStatement:u,isIfStatement:d,isStatement:D}=t;function h(U){this.word("with"),this.space(),this.tokenChar(40),this.print(U.object),this.tokenChar(41),this.printBlock(U)}function f(U){this.word("if"),this.space(),this.tokenChar(40),this.print(U.test),this.tokenChar(41),this.space();const R=U.alternate&&d(l(U.consequent));R&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(U.consequent),R&&(this.dedent(),this.newline(),this.tokenChar(125)),U.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(U.alternate))}function l(U){const{body:R}=U;return D(R)===!1?U:l(R)}function O(U){this.word("for"),this.space(),this.tokenChar(40);{const R=this.enterForStatementInit();this.tokenContext|=n.TokenContext.forHead,this.print(U.init),R()}this.tokenChar(59),U.test&&(this.space(),this.print(U.test)),this.token(";",!1,1),U.update&&(this.space(),this.print(U.update)),this.tokenChar(41),this.printBlock(U)}function m(U){this.word("while"),this.space(),this.tokenChar(40),this.print(U.test),this.tokenChar(41),this.printBlock(U)}function M(U){this.word("for"),this.space();const R=U.type==="ForOfStatement";R&&U.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40);{const J=R?null:this.enterForStatementInit();this.tokenContext|=R?n.TokenContext.forOfHead:n.TokenContext.forInHead,this.print(U.left),J?.()}this.space(),this.word(R?"of":"in"),this.space(),this.print(U.right),this.tokenChar(41),this.printBlock(U)}Tt.ForInStatement=M,Tt.ForOfStatement=M;function w(U){this.word("do"),this.space(),this.print(U.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(U.test),this.tokenChar(41),this.semicolon()}function P(U,R){R&&(U.space(),U.printTerminatorless(R)),U.semicolon()}function ne(U){this.word("break"),P(this,U.label)}function Y(U){this.word("continue"),P(this,U.label)}function _(U){this.word("return"),P(this,U.argument)}function z(U){this.word("throw"),P(this,U.argument)}function B(U){this.print(U.label),this.tokenChar(58),this.space(),this.print(U.body)}function Z(U){this.word("try"),this.space(),this.print(U.block),this.space(),U.handlers?this.print(U.handlers[0]):this.print(U.handler),U.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(U.finalizer))}function X(U){this.word("catch"),this.space(),U.param&&(this.tokenChar(40),this.print(U.param),this.print(U.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(U.body)}function I(U){this.word("switch"),this.space(),this.tokenChar(40),this.print(U.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(U.cases,!0,void 0,function(J,F){if(!J&&U.cases[U.cases.length-1]===F)return-1}),this.rightBrace(U)}function E(U){U.test?(this.word("case"),this.space(),this.print(U.test),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),U.consequent.length&&(this.newline(),this.printSequence(U.consequent,!0))}function N(){this.word("debugger"),this.semicolon()}function V(U,R){U.declare&&(this.word("declare"),this.space());const{kind:J}=U;J==="await using"?(this.word("await"),this.space(),this.word("using",!0)):this.word(J,J==="using"),this.space();let F=!1;if(!c(R))for(const Q of U.declarations)Q.init&&(F=!0);if(this.printList(U.declarations,void 0,void 0,U.declarations.length>1,F?function(Q){this.token(",",!1,Q),this.newline()}:void 0),c(R)){if(u(R)){if(R.init===U)return}else if(R.left===U)return}this.semicolon()}function te(U){this.print(U.id),U.definite&&this.tokenChar(33),this.print(U.id.typeAnnotation),U.init&&(this.space(),this.tokenChar(61),this.space(),this.print(U.init))}return Tt}var $t={},Yc;function Pf(){if(Yc)return $t;Yc=1,Object.defineProperty($t,"__esModule",{value:!0}),$t.ClassAccessorProperty=f,$t.ClassBody=d,$t.ClassExpression=$t.ClassDeclaration=u,$t.ClassMethod=O,$t.ClassPrivateMethod=m,$t.ClassPrivateProperty=l,$t.ClassProperty=h,$t.StaticBlock=w,$t._classMethodHead=M;var t=Mt();const{isExportDefaultDeclaration:n,isExportNamedDeclaration:c}=t;function u(P,ne){(!(n(ne)||c(ne))||!this._shouldPrintDecoratorsBeforeExport(ne))&&this.printJoin(P.decorators),P.declare&&(this.word("declare"),this.space()),P.abstract&&(this.word("abstract"),this.space()),this.word("class"),P.id&&(this.space(),this.print(P.id)),this.print(P.typeParameters),P.superClass&&(this.space(),this.word("extends"),this.space(),this.print(P.superClass),this.print(P.superTypeParameters)),P.implements&&(this.space(),this.word("implements"),this.space(),this.printList(P.implements)),this.space(),this.print(P.body)}function d(P){if(this.tokenChar(123),P.body.length===0)this.tokenChar(125);else{this.newline();const ne=D(this,P);ne?.(-1);const Y=this.enterDelimited();this.printJoin(P.body,!0,!0,ne,!0),Y(),this.endsWith(10)||this.newline(),this.rightBrace(P)}}function D(P,ne){if(!P.tokenMap||ne.start==null||ne.end==null)return null;const Y=P.tokenMap.getIndexes(ne);if(!Y)return null;let _=1,z=0,B=0;const Z=()=>{for(;B<ne.body.length&&ne.body[B].start==null;)B++};return Z(),X=>{B<=X&&(B=X+1,Z());const I=B===ne.body.length?ne.end:ne.body[B].start;let E;for(;_<Y.length&&P.tokenMap.matchesOriginal(E=P._tokens[Y[_]],";")&&E.start<I;)P.token(";",void 0,z++),_++}}function h(P){if(this.printJoin(P.decorators),!P.static&&!this.format.preserveFormat){var ne;const Y=(ne=P.key.loc)==null||(ne=ne.end)==null?void 0:ne.line;Y&&this.catchUp(Y)}this.tsPrintClassMemberModifiers(P),P.computed?(this.tokenChar(91),this.print(P.key),this.tokenChar(93)):(this._variance(P),this.print(P.key)),P.optional&&this.tokenChar(63),P.definite&&this.tokenChar(33),this.print(P.typeAnnotation),P.value&&(this.space(),this.tokenChar(61),this.space(),this.print(P.value)),this.semicolon()}function f(P){var ne;this.printJoin(P.decorators);const Y=(ne=P.key.loc)==null||(ne=ne.end)==null?void 0:ne.line;Y&&this.catchUp(Y),this.tsPrintClassMemberModifiers(P),this.word("accessor",!0),this.space(),P.computed?(this.tokenChar(91),this.print(P.key),this.tokenChar(93)):(this._variance(P),this.print(P.key)),P.optional&&this.tokenChar(63),P.definite&&this.tokenChar(33),this.print(P.typeAnnotation),P.value&&(this.space(),this.tokenChar(61),this.space(),this.print(P.value)),this.semicolon()}function l(P){this.printJoin(P.decorators),this.tsPrintClassMemberModifiers(P),this.print(P.key),P.optional&&this.tokenChar(63),P.definite&&this.tokenChar(33),this.print(P.typeAnnotation),P.value&&(this.space(),this.tokenChar(61),this.space(),this.print(P.value)),this.semicolon()}function O(P){this._classMethodHead(P),this.space(),this.print(P.body)}function m(P){this._classMethodHead(P),this.space(),this.print(P.body)}function M(P){if(this.printJoin(P.decorators),!this.format.preserveFormat){var ne;const Y=(ne=P.key.loc)==null||(ne=ne.end)==null?void 0:ne.line;Y&&this.catchUp(Y)}this.tsPrintClassMemberModifiers(P),this._methodHead(P)}function w(P){this.word("static"),this.space(),this.tokenChar(123),P.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(P.body,!0),this.rightBrace(P))}return $t}var Qt={},Vc;function If(){if(Vc)return Qt;Vc=1,Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.ArrowFunctionExpression=m,Qt.FunctionDeclaration=Qt.FunctionExpression=O,Qt._functionHead=l,Qt._methodHead=h,Qt._param=D,Qt._parameters=d,Qt._params=u,Qt._predicate=f,Qt._shouldPrintArrowParamsParens=M;var t=Mt(),n=Gi();const{isIdentifier:c}=t;function u(P,ne,Y){this.print(P.typeParameters);const _=w.call(this,ne,Y);_&&this.sourceIdentifierName(_.name,_.pos),this.tokenChar(40),this._parameters(P.params,")");const z=P.type==="ArrowFunctionExpression";this.print(P.returnType,z),this._noLineTerminator=z}function d(P,ne){const Y=this.enterDelimited(),_=this.shouldPrintTrailingComma(ne),z=P.length;for(let B=0;B<z;B++)this._param(P[B]),(_||B<z-1)&&(this.token(",",null,B),this.space());this.token(ne),Y()}function D(P){this.printJoin(P.decorators),this.print(P),P.optional&&this.tokenChar(63),this.print(P.typeAnnotation)}function h(P){const ne=P.kind,Y=P.key;(ne==="get"||ne==="set")&&(this.word(ne),this.space()),P.async&&(this.word("async",!0),this.space()),(ne==="method"||ne==="init")&&P.generator&&this.tokenChar(42),P.computed?(this.tokenChar(91),this.print(Y),this.tokenChar(93)):this.print(Y),P.optional&&this.tokenChar(63),this._params(P,P.computed&&P.key.type!=="StringLiteral"?void 0:P.key,void 0)}function f(P,ne){P.predicate&&(P.returnType||this.tokenChar(58),this.space(),this.print(P.predicate,ne))}function l(P,ne){P.async&&(this.word("async"),this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.space()),this.word("function"),P.generator&&(this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.tokenChar(42)),this.space(),P.id&&this.print(P.id),this._params(P,P.id,ne),P.type!=="TSDeclareFunction"&&this._predicate(P)}function O(P,ne){this._functionHead(P,ne),this.space(),this.print(P.body)}function m(P,ne){P.async&&(this.word("async",!0),this.space()),this._shouldPrintArrowParamsParens(P)?this._params(P,void 0,ne):this.print(P.params[0],!0),this._predicate(P,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=n.TokenContext.arrowBody,this.print(P.body)}function M(P){var ne,Y;if(P.params.length!==1||P.typeParameters||P.returnType||P.predicate)return!0;const _=P.params[0];if(!c(_)||_.typeAnnotation||_.optional||(ne=_.leadingComments)!=null&&ne.length||(Y=_.trailingComments)!=null&&Y.length)return!0;if(this.tokenMap){if(P.loc==null||this.tokenMap.findMatching(P,"(")!==null)return!0;const z=this.tokenMap.findMatching(P,"=>");return z?.loc==null?!0:z.loc.start.line!==P.loc.start.line}return!!this.format.retainLines}function w(P,ne){let Y=P;if(!Y&&ne){const I=ne.type;I==="VariableDeclarator"?Y=ne.id:I==="AssignmentExpression"||I==="AssignmentPattern"?Y=ne.left:I==="ObjectProperty"||I==="ClassProperty"?(!ne.computed||ne.key.type==="StringLiteral")&&(Y=ne.key):(I==="ClassPrivateProperty"||I==="ClassAccessorProperty")&&(Y=ne.key)}if(!Y)return;let _;if(Y.type==="Identifier"){var z,B;_={pos:(z=Y.loc)==null?void 0:z.start,name:((B=Y.loc)==null?void 0:B.identifierName)||Y.name}}else if(Y.type==="PrivateName"){var Z;_={pos:(Z=Y.loc)==null?void 0:Z.start,name:"#"+Y.id.name}}else if(Y.type==="StringLiteral"){var X;_={pos:(X=Y.loc)==null?void 0:X.start,name:Y.value}}return _}return Qt}var kt={},Xc;function sp(){if(Xc)return kt;Xc=1,Object.defineProperty(kt,"__esModule",{value:!0}),kt.ExportAllDeclaration=Y,kt.ExportDefaultDeclaration=B,kt.ExportDefaultSpecifier=m,kt.ExportNamedDeclaration=z,kt.ExportNamespaceSpecifier=w,kt.ExportSpecifier=M,kt.ImportAttribute=X,kt.ImportDeclaration=Z,kt.ImportDefaultSpecifier=O,kt.ImportExpression=E,kt.ImportNamespaceSpecifier=I,kt.ImportSpecifier=l,kt._printAttributes=ne;var t=Mt(),n=Gi();const{isClassDeclaration:c,isExportDefaultSpecifier:u,isExportNamespaceSpecifier:d,isImportDefaultSpecifier:D,isImportNamespaceSpecifier:h,isStatement:f}=t;function l(N){(N.importKind==="type"||N.importKind==="typeof")&&(this.word(N.importKind),this.space()),this.print(N.imported),N.local&&N.local.name!==N.imported.name&&(this.space(),this.word("as"),this.space(),this.print(N.local))}function O(N){this.print(N.local)}function m(N){this.print(N.exported)}function M(N){N.exportKind==="type"&&(this.word("type"),this.space()),this.print(N.local),N.exported&&N.local.name!==N.exported.name&&(this.space(),this.word("as"),this.space(),this.print(N.exported))}function w(N){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(N.exported)}let P=!1;function ne(N,V){const{importAttributesKeyword:te}=this.format,{attributes:U,assertions:R}=N;U&&!te&&!P&&(P=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));const J=te==="assert"||!te&&R;if(this.word(J?"assert":"with"),this.space(),!J&&te!=="with"){this.printList(U||R);return}const F=V?1:0;this.token("{",null,F),this.space(),this.printList(U||R,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",null,F)}function Y(N){var V,te;this.word("export"),this.space(),N.exportKind==="type"&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),(V=N.attributes)!=null&&V.length||(te=N.assertions)!=null&&te.length?(this.print(N.source,!0),this.space(),this._printAttributes(N,!1)):this.print(N.source),this.semicolon()}function _(N,V){c(V.declaration)&&N._shouldPrintDecoratorsBeforeExport(V)&&N.printJoin(V.declaration.decorators)}function z(N){if(_(this,N),this.word("export"),this.space(),N.declaration){const U=N.declaration;this.print(U),f(U)||this.semicolon()}else{N.exportKind==="type"&&(this.word("type"),this.space());const U=N.specifiers.slice(0);let R=!1;for(;;){const F=U[0];if(u(F)||d(F))R=!0,this.print(U.shift()),U.length&&(this.tokenChar(44),this.space());else break}let J=!1;if((U.length||!U.length&&!R)&&(J=!0,this.tokenChar(123),U.length&&(this.space(),this.printList(U,this.shouldPrintTrailingComma("}")),this.space()),this.tokenChar(125)),N.source){var V,te;this.space(),this.word("from"),this.space(),(V=N.attributes)!=null&&V.length||(te=N.assertions)!=null&&te.length?(this.print(N.source,!0),this.space(),this._printAttributes(N,J)):this.print(N.source)}this.semicolon()}}function B(N){_(this,N),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=n.TokenContext.exportDefault;const V=N.declaration;this.print(V),f(V)||this.semicolon()}function Z(N){var V,te;this.word("import"),this.space();const U=N.importKind==="type"||N.importKind==="typeof";U?(this.noIndentInnerCommentsHere(),this.word(N.importKind),this.space()):N.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):N.phase&&(this.noIndentInnerCommentsHere(),this.word(N.phase),this.space());const R=N.specifiers.slice(0),J=!!R.length;for(;J;){const Q=R[0];if(D(Q)||h(Q))this.print(R.shift()),R.length&&(this.tokenChar(44),this.space());else break}let F=!1;R.length?(F=!0,this.tokenChar(123),this.space(),this.printList(R,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125)):U&&!J&&(F=!0,this.tokenChar(123),this.tokenChar(125)),(J||U)&&(this.space(),this.word("from"),this.space()),(V=N.attributes)!=null&&V.length||(te=N.assertions)!=null&&te.length?(this.print(N.source,!0),this.space(),this._printAttributes(N,F)):this.print(N.source),this.semicolon()}function X(N){this.print(N.key),this.tokenChar(58),this.space(),this.print(N.value)}function I(N){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(N.local)}function E(N){this.word("import"),N.phase&&(this.tokenChar(46),this.word(N.phase)),this.tokenChar(40),this.print(N.source),N.options!=null&&(this.tokenChar(44),this.space(),this.print(N.options)),this.tokenChar(41)}return kt}var ht={},Io,Wc;function _f(){if(Wc)return Io;Wc=1;const t={},n=t.hasOwnProperty,c=(V,te)=>{for(const U in V)n.call(V,U)&&te(U,V[U])},u=(V,te)=>(te&&c(te,(U,R)=>{V[U]=R}),V),d=(V,te)=>{const U=V.length;let R=-1;for(;++R<U;)te(V[R])},D=V=>"\\u"+("0000"+V).slice(-4),h=(V,te)=>{let U=V.toString(16);return te?U:U.toUpperCase()},f=t.toString,l=Array.isArray,O=V=>typeof Buffer=="function"&&Buffer.isBuffer(V),m=V=>f.call(V)=="[object Object]",M=V=>typeof V=="string"||f.call(V)=="[object String]",w=V=>typeof V=="number"||f.call(V)=="[object Number]",P=V=>typeof V=="bigint",ne=V=>typeof V=="function",Y=V=>f.call(V)=="[object Map]",_=V=>f.call(V)=="[object Set]",z={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},B=/[\\\b\f\n\r\t]/,Z=/[0-9]/,X=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,I=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,E=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,N=(V,te)=>{const U=()=>{ae=ue,++te.indentLevel,ue=te.indent.repeat(te.indentLevel)},R={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},J=te&&te.json;J&&(R.quotes="double",R.wrap=!0),te=u(R,te),te.quotes!="single"&&te.quotes!="double"&&te.quotes!="backtick"&&(te.quotes="single");const F=te.quotes=="double"?'"':te.quotes=="backtick"?"`":"'",Q=te.compact,re=te.lowercaseHex;let ue=te.indent.repeat(te.indentLevel),ae="";const H=te.__inline1__,oe=te.__inline2__,le=Q?"":`
12
- `;let ye,Se=!0;const Ie=te.numbers=="binary",De=te.numbers=="octal",Me=te.numbers=="decimal",xe=te.numbers=="hexadecimal";if(J&&V&&ne(V.toJSON)&&(V=V.toJSON()),!M(V)){if(Y(V))return V.size==0?"new Map()":(Q||(te.__inline1__=!0,te.__inline2__=!1),"new Map("+N(Array.from(V),te)+")");if(_(V))return V.size==0?"new Set()":"new Set("+N(Array.from(V),te)+")";if(O(V))return V.length==0?"Buffer.from([])":"Buffer.from("+N(Array.from(V),te)+")";if(l(V))return ye=[],te.wrap=!0,H&&(te.__inline1__=!1,te.__inline2__=!0),oe||U(),d(V,Ye=>{Se=!1,oe&&(te.__inline2__=!1),ye.push((Q||oe?"":ue)+N(Ye,te))}),Se?"[]":oe?"["+ye.join(", ")+"]":"["+le+ye.join(","+le)+le+(Q?"":ae)+"]";if(w(V)||P(V)){if(J)return JSON.stringify(Number(V));let Ye;if(Me)Ye=String(V);else if(xe){let ce=V.toString(16);re||(ce=ce.toUpperCase()),Ye="0x"+ce}else Ie?Ye="0b"+V.toString(2):De&&(Ye="0o"+V.toString(8));return P(V)?Ye+"n":Ye}else return P(V)?J?JSON.stringify(Number(V)):V+"n":m(V)?(ye=[],te.wrap=!0,U(),c(V,(Ye,ce)=>{Se=!1,ye.push((Q?"":ue)+N(Ye,te)+":"+(Q?"":" ")+N(ce,te))}),Se?"{}":"{"+le+ye.join(","+le)+le+(Q?"":ae)+"}"):J?JSON.stringify(V)||"null":String(V)}const Re=te.escapeEverything?I:E;return ye=V.replace(Re,(Ye,ce,he,fe,Ve,Je)=>{if(ce){if(te.minimal)return ce;const pt=ce.charCodeAt(0),ft=ce.charCodeAt(1);if(te.es6){const yt=(pt-55296)*1024+ft-56320+65536;return"\\u{"+h(yt,re)+"}"}return D(h(pt,re))+D(h(ft,re))}if(he)return D(h(he.charCodeAt(0),re));if(Ye=="\0"&&!J&&!Z.test(Je.charAt(Ve+1)))return"\\0";if(fe)return fe==F||te.escapeEverything?"\\"+fe:fe;if(B.test(Ye))return z[Ye];if(te.minimal&&!X.test(Ye))return Ye;const it=h(Ye.charCodeAt(0),re);return J||it.length>2?D(it):"\\x"+("00"+it).slice(-2)}),F=="`"&&(ye=ye.replace(/\$\{/g,"\\${")),te.isScriptContext&&(ye=ye.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,J?"\\u003C!--":"\\x3C!--")),te.wrap&&(ye=F+ye+F),ye};return N.version="3.0.2",Io=N,Io}var Jc;function np(){if(Jc)return ht;Jc=1,Object.defineProperty(ht,"__esModule",{value:!0}),ht.ArgumentPlaceholder=l,ht.ArrayPattern=ht.ArrayExpression=P,ht.BigIntLiteral=I,ht.BooleanLiteral=z,ht.Identifier=f,ht.NullLiteral=B,ht.NumericLiteral=Z,ht.ObjectPattern=ht.ObjectExpression=m,ht.ObjectMethod=M,ht.ObjectProperty=w,ht.PipelineBareFunction=te,ht.PipelinePrimaryTopicReference=U,ht.PipelineTopicExpression=V,ht.RecordExpression=ne,ht.RegExpLiteral=_,ht.SpreadElement=ht.RestElement=O,ht.StringLiteral=X,ht.TopicReference=N,ht.TupleExpression=Y,ht._getRawIdentifier=h;var t=Mt(),n=_f();const{isAssignmentPattern:c,isIdentifier:u}=t;let d=null,D="";function h(R){if(R===d)return D;d=R;const{name:J}=R,F=this.tokenMap.find(R,Q=>Q.value===J);return F?(D=this._originalCode.slice(F.start,F.end),D):D=R.name}function f(R){var J;this.sourceIdentifierName(((J=R.loc)==null?void 0:J.identifierName)||R.name),this.word(this.tokenMap?this._getRawIdentifier(R):R.name)}function l(){this.tokenChar(63)}function O(R){this.token("..."),this.print(R.argument)}function m(R){const J=R.properties;if(this.tokenChar(123),J.length){const F=this.enterDelimited();this.space(),this.printList(J,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),F()}this.sourceWithOffset("end",R.loc,-1),this.tokenChar(125)}function M(R){this.printJoin(R.decorators),this._methodHead(R),this.space(),this.print(R.body)}function w(R){if(this.printJoin(R.decorators),R.computed)this.tokenChar(91),this.print(R.key),this.tokenChar(93);else{if(c(R.value)&&u(R.key)&&R.key.name===R.value.left.name){this.print(R.value);return}if(this.print(R.key),R.shorthand&&u(R.key)&&u(R.value)&&R.key.name===R.value.name)return}this.tokenChar(58),this.space(),this.print(R.value)}function P(R){const J=R.elements,F=J.length;this.tokenChar(91);const Q=this.enterDelimited();for(let re=0;re<J.length;re++){const ue=J[re];ue?(re>0&&this.space(),this.print(ue),(re<F-1||this.shouldPrintTrailingComma("]"))&&this.token(",",!1,re)):this.token(",",!1,re)}Q(),this.tokenChar(93)}function ne(R){const J=R.properties;let F,Q;if(this.format.recordAndTupleSyntaxType==="bar")F="{|",Q="|}";else{if(this.format.recordAndTupleSyntaxType!=="hash"&&this.format.recordAndTupleSyntaxType!=null)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);F="#{",Q="}"}this.token(F),J.length&&(this.space(),this.printList(J,this.shouldPrintTrailingComma(Q),!0,!0),this.space()),this.token(Q)}function Y(R){const J=R.elements,F=J.length;let Q,re;if(this.format.recordAndTupleSyntaxType==="bar")Q="[|",re="|]";else if(this.format.recordAndTupleSyntaxType==="hash")Q="#[",re="]";else throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);this.token(Q);for(let ue=0;ue<J.length;ue++){const ae=J[ue];ae&&(ue>0&&this.space(),this.print(ae),(ue<F-1||this.shouldPrintTrailingComma(re))&&this.token(",",!1,ue))}this.token(re)}function _(R){this.word(`/${R.pattern}/${R.flags}`)}function z(R){this.word(R.value?"true":"false")}function B(){this.word("null")}function Z(R){const J=this.getPossibleRaw(R),F=this.format.jsescOption,Q=R.value,re=Q+"";F.numbers?this.number(n(Q,F),Q):J==null?this.number(re,Q):this.format.minified?this.number(J.length<re.length?J:re,Q):this.number(J,Q)}function X(R){const J=this.getPossibleRaw(R);if(!this.format.minified&&J!==void 0){this.token(J);return}const F=n(R.value,this.format.jsescOption);this.token(F)}function I(R){const J=this.getPossibleRaw(R);if(!this.format.minified&&J!==void 0){this.word(J);return}this.word(R.value+"n")}const E=new Set(["^^","@@","^","%","#"]);function N(){const{topicToken:R}=this.format;if(E.has(R))this.token(R);else{const J=JSON.stringify(R),F=Array.from(E,Q=>JSON.stringify(Q));throw new Error(`The "topicToken" generator option must be one of ${F.join(", ")} (${J} received instead).`)}}function V(R){this.print(R.expression)}function te(R){this.print(R.callee)}function U(){this.tokenChar(35)}return ht}var _o={},zc;function xf(){return zc||(zc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.AnyTypeAnnotation=f,t.ArrayTypeAnnotation=l,t.BooleanLiteralTypeAnnotation=m,t.BooleanTypeAnnotation=O,t.DeclareClass=w,t.DeclareExportAllDeclaration=N,t.DeclareExportDeclaration=E,t.DeclareFunction=P,t.DeclareInterface=_,t.DeclareModule=z,t.DeclareModuleExports=B,t.DeclareOpaqueType=X,t.DeclareTypeAlias=Z,t.DeclareVariable=I,t.DeclaredPredicate=Y,t.EmptyTypeAnnotation=Ve,t.EnumBooleanBody=R,t.EnumBooleanMember=ae,t.EnumDeclaration=V,t.EnumDefaultedMember=re,t.EnumNumberBody=J,t.EnumNumberMember=H,t.EnumStringBody=F,t.EnumStringMember=oe,t.EnumSymbolBody=Q,t.ExistsTypeAnnotation=ye,t.FunctionTypeAnnotation=Se,t.FunctionTypeParam=Ie,t.IndexedAccessType=ot,t.InferredPredicate=ne,t.InterfaceDeclaration=Re,t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=De,t.InterfaceTypeAnnotation=ce,t.IntersectionTypeAnnotation=he,t.MixedTypeAnnotation=fe,t.NullLiteralTypeAnnotation=M,t.NullableTypeAnnotation=Je,Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return d.NumericLiteral}}),t.NumberTypeAnnotation=it,t.ObjectTypeAnnotation=Ee,t.ObjectTypeCallProperty=Ce,t.ObjectTypeIndexer=Fe,t.ObjectTypeInternalSlot=Ae,t.ObjectTypeProperty=ve,t.ObjectTypeSpreadProperty=Ke,t.OpaqueType=de,t.OptionalIndexedAccessType=ie,t.QualifiedTypeIdentifier=Xe,Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return d.StringLiteral}}),t.StringTypeAnnotation=pt,t.SymbolTypeAnnotation=Ge,t.ThisTypeAnnotation=ft,t.TupleTypeAnnotation=yt,t.TypeAlias=bt,t.TypeAnnotation=gt,t.TypeCastExpression=tt,t.TypeParameter=It,t.TypeParameterDeclaration=t.TypeParameterInstantiation=Nt,t.TypeofTypeAnnotation=Et,t.UnionTypeAnnotation=at,t.Variance=ge,t.VoidTypeAnnotation=$e,t._interfaceish=Me,t._variance=xe;var n=Mt(),c=sp(),u=Gi(),d=np();const{isDeclareExportDeclaration:D,isStatement:h}=n;function f(){this.word("any")}function l(G){this.print(G.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function O(){this.word("boolean")}function m(G){this.word(G.value?"true":"false")}function M(){this.word("null")}function w(G,be){D(be)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(G)}function P(G,be){D(be)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(G.id),this.print(G.id.typeAnnotation.typeAnnotation),G.predicate&&(this.space(),this.print(G.predicate)),this.semicolon()}function ne(){this.tokenChar(37),this.word("checks")}function Y(G){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(G.value),this.tokenChar(41)}function _(G){this.word("declare"),this.space(),this.InterfaceDeclaration(G)}function z(G){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(G.id),this.space(),this.print(G.body)}function B(G){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(G.typeAnnotation)}function Z(G){this.word("declare"),this.space(),this.TypeAlias(G)}function X(G,be){D(be)||(this.word("declare"),this.space()),this.OpaqueType(G)}function I(G,be){D(be)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(G.id),this.print(G.id.typeAnnotation),this.semicolon()}function E(G){this.word("declare"),this.space(),this.word("export"),this.space(),G.default&&(this.word("default"),this.space()),le.call(this,G)}function N(G){this.word("declare"),this.space(),c.ExportAllDeclaration.call(this,G)}function V(G){const{id:be,body:Ue}=G;this.word("enum"),this.space(),this.print(be),this.print(Ue)}function te(G,be,Ue){Ue&&(G.space(),G.word("of"),G.space(),G.word(be)),G.space()}function U(G,be){const{members:Ue}=be;G.token("{"),G.indent(),G.newline();for(const He of Ue)G.print(He),G.newline();be.hasUnknownMembers&&(G.token("..."),G.newline()),G.dedent(),G.token("}")}function R(G){const{explicitType:be}=G;te(this,"boolean",be),U(this,G)}function J(G){const{explicitType:be}=G;te(this,"number",be),U(this,G)}function F(G){const{explicitType:be}=G;te(this,"string",be),U(this,G)}function Q(G){te(this,"symbol",!0),U(this,G)}function re(G){const{id:be}=G;this.print(be),this.tokenChar(44)}function ue(G,be){G.print(be.id),G.space(),G.token("="),G.space(),G.print(be.init),G.token(",")}function ae(G){ue(this,G)}function H(G){ue(this,G)}function oe(G){ue(this,G)}function le(G){if(G.declaration){const be=G.declaration;this.print(be),h(be)||this.semicolon()}else this.tokenChar(123),G.specifiers.length&&(this.space(),this.printList(G.specifiers),this.space()),this.tokenChar(125),G.source&&(this.space(),this.word("from"),this.space(),this.print(G.source)),this.semicolon()}function ye(){this.tokenChar(42)}function Se(G,be){this.print(G.typeParameters),this.tokenChar(40),G.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(G.this.typeAnnotation),(G.params.length||G.rest)&&(this.tokenChar(44),this.space())),this.printList(G.params),G.rest&&(G.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(G.rest)),this.tokenChar(41);const Ue=be?.type;Ue!=null&&(Ue==="ObjectTypeCallProperty"||Ue==="ObjectTypeInternalSlot"||Ue==="DeclareFunction"||Ue==="ObjectTypeProperty"&&be.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(G.returnType)}function Ie(G){this.print(G.name),G.optional&&this.tokenChar(63),G.name&&(this.tokenChar(58),this.space()),this.print(G.typeAnnotation)}function De(G){this.print(G.id),this.print(G.typeParameters,!0)}function Me(G){var be;if(this.print(G.id),this.print(G.typeParameters),(be=G.extends)!=null&&be.length&&(this.space(),this.word("extends"),this.space(),this.printList(G.extends)),G.type==="DeclareClass"){var Ue,He;(Ue=G.mixins)!=null&&Ue.length&&(this.space(),this.word("mixins"),this.space(),this.printList(G.mixins)),(He=G.implements)!=null&&He.length&&(this.space(),this.word("implements"),this.space(),this.printList(G.implements))}this.space(),this.print(G.body)}function xe(G){var be;const Ue=(be=G.variance)==null?void 0:be.kind;Ue!=null&&(Ue==="plus"?this.tokenChar(43):Ue==="minus"&&this.tokenChar(45))}function Re(G){this.word("interface"),this.space(),this._interfaceish(G)}function Ye(G){this.space(),this.token("&",!1,G),this.space()}function ce(G){var be;this.word("interface"),(be=G.extends)!=null&&be.length&&(this.space(),this.word("extends"),this.space(),this.printList(G.extends)),this.space(),this.print(G.body)}function he(G){this.printJoin(G.types,void 0,void 0,Ye)}function fe(){this.word("mixed")}function Ve(){this.word("empty")}function Je(G){this.tokenChar(63),this.print(G.typeAnnotation)}function it(){this.word("number")}function pt(){this.word("string")}function ft(){this.word("this")}function yt(G){this.tokenChar(91),this.printList(G.types),this.tokenChar(93)}function Et(G){this.word("typeof"),this.space(),this.print(G.argument)}function bt(G){this.word("type"),this.space(),this.print(G.id),this.print(G.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(G.right),this.semicolon()}function gt(G,be){this.tokenChar(58),this.space(),be.type==="ArrowFunctionExpression"?this.tokenContext|=u.TokenContext.arrowFlowReturnType:G.optional&&this.tokenChar(63),this.print(G.typeAnnotation)}function Nt(G){this.tokenChar(60),this.printList(G.params),this.tokenChar(62)}function It(G){this._variance(G),this.word(G.name),G.bound&&this.print(G.bound),G.default&&(this.space(),this.tokenChar(61),this.space(),this.print(G.default))}function de(G){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(G.id),this.print(G.typeParameters),G.supertype&&(this.tokenChar(58),this.space(),this.print(G.supertype)),G.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(G.impltype)),this.semicolon()}function Ee(G){G.exact?this.token("{|"):this.tokenChar(123);const be=[...G.properties,...G.callProperties||[],...G.indexers||[],...G.internalSlots||[]];be.length&&(this.newline(),this.space(),this.printJoin(be,!0,!0,void 0,void 0,function(He){if(He&&!be[0])return 1},()=>{(be.length!==1||G.inexact)&&(this.tokenChar(44),this.space())}),this.space()),G.inexact&&(this.indent(),this.token("..."),be.length&&this.newline(),this.dedent()),G.exact?this.token("|}"):this.tokenChar(125)}function Ae(G){G.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(G.id),this.tokenChar(93),this.tokenChar(93),G.optional&&this.tokenChar(63),G.method||(this.tokenChar(58),this.space()),this.print(G.value)}function Ce(G){G.static&&(this.word("static"),this.space()),this.print(G.value)}function Fe(G){G.static&&(this.word("static"),this.space()),this._variance(G),this.tokenChar(91),G.id&&(this.print(G.id),this.tokenChar(58),this.space()),this.print(G.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(G.value)}function ve(G){G.proto&&(this.word("proto"),this.space()),G.static&&(this.word("static"),this.space()),(G.kind==="get"||G.kind==="set")&&(this.word(G.kind),this.space()),this._variance(G),this.print(G.key),G.optional&&this.tokenChar(63),G.method||(this.tokenChar(58),this.space()),this.print(G.value)}function Ke(G){this.token("..."),this.print(G.argument)}function Xe(G){this.print(G.qualification),this.tokenChar(46),this.print(G.id)}function Ge(){this.word("symbol")}function We(G){this.space(),this.token("|",!1,G),this.space()}function at(G){this.printJoin(G.types,void 0,void 0,We)}function tt(G){this.tokenChar(40),this.print(G.expression),this.print(G.typeAnnotation),this.tokenChar(41)}function ge(G){G.kind==="plus"?this.tokenChar(43):this.tokenChar(45)}function $e(){this.word("void")}function ot(G){this.print(G.objectType,!0),this.tokenChar(91),this.print(G.indexType),this.tokenChar(93)}function ie(G){this.print(G.objectType),G.optional&&this.token("?."),this.tokenChar(91),this.print(G.indexType),this.tokenChar(93)}}(_o)),_o}var Mr={},$c;function Cf(){if($c)return Mr;$c=1,Object.defineProperty(Mr,"__esModule",{value:!0}),Mr.BlockStatement=c,Mr.Directive=u,Mr.DirectiveLiteral=h,Mr.File=t,Mr.InterpreterDirective=f,Mr.Placeholder=l,Mr.Program=n;function t(O){O.program&&this.print(O.program.interpreter),this.print(O.program)}function n(O){var m;this.noIndentInnerCommentsHere(),this.printInnerComments();const M=(m=O.directives)==null?void 0:m.length;if(M){var w;const P=O.body.length?2:1;this.printSequence(O.directives,void 0,P),(w=O.directives[M-1].trailingComments)!=null&&w.length||this.newline(P)}this.printSequence(O.body)}function c(O){var m;this.tokenChar(123);const M=this.enterDelimited(),w=(m=O.directives)==null?void 0:m.length;if(w){var P;const ne=O.body.length?2:1;this.printSequence(O.directives,!0,ne),(P=O.directives[w-1].trailingComments)!=null&&P.length||this.newline(ne)}this.printSequence(O.body,!0),M(),this.rightBrace(O)}function u(O){this.print(O.value),this.semicolon()}const d=/(?:^|[^\\])(?:\\\\)*'/,D=/(?:^|[^\\])(?:\\\\)*"/;function h(O){const m=this.getPossibleRaw(O);if(!this.format.minified&&m!==void 0){this.token(m);return}const{value:M}=O;if(!D.test(M))this.token(`"${M}"`);else if(!d.test(M))this.token(`'${M}'`);else throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.")}function f(O){this.token(`#!${O.value}`),this.newline(1,!0)}function l(O){this.token("%%"),this.print(O.name),this.token("%%"),O.expectedNode==="Statement"&&this.semicolon()}return Mr}var Ct={},Qc;function Nf(){if(Qc)return Ct;Qc=1,Object.defineProperty(Ct,"__esModule",{value:!0}),Ct.JSXAttribute=t,Ct.JSXClosingElement=M,Ct.JSXClosingFragment=Y,Ct.JSXElement=l,Ct.JSXEmptyExpression=w,Ct.JSXExpressionContainer=D,Ct.JSXFragment=P,Ct.JSXIdentifier=n,Ct.JSXMemberExpression=u,Ct.JSXNamespacedName=c,Ct.JSXOpeningElement=m,Ct.JSXOpeningFragment=ne,Ct.JSXSpreadAttribute=d,Ct.JSXSpreadChild=h,Ct.JSXText=f;function t(_){this.print(_.name),_.value&&(this.tokenChar(61),this.print(_.value))}function n(_){this.word(_.name)}function c(_){this.print(_.namespace),this.tokenChar(58),this.print(_.name)}function u(_){this.print(_.object),this.tokenChar(46),this.print(_.property)}function d(_){this.tokenChar(123),this.token("..."),this.print(_.argument),this.rightBrace(_)}function D(_){this.tokenChar(123),this.print(_.expression),this.rightBrace(_)}function h(_){this.tokenChar(123),this.token("..."),this.print(_.expression),this.rightBrace(_)}function f(_){const z=this.getPossibleRaw(_);z!==void 0?this.token(z,!0):this.token(_.value,!0)}function l(_){const z=_.openingElement;if(this.print(z),!z.selfClosing){this.indent();for(const B of _.children)this.print(B);this.dedent(),this.print(_.closingElement)}}function O(){this.space()}function m(_){this.tokenChar(60),this.print(_.name),_.typeArguments&&this.print(_.typeArguments),this.print(_.typeParameters),_.attributes.length>0&&(this.space(),this.printJoin(_.attributes,void 0,void 0,O)),_.selfClosing&&(this.space(),this.tokenChar(47)),this.tokenChar(62)}function M(_){this.tokenChar(60),this.tokenChar(47),this.print(_.name),this.tokenChar(62)}function w(){this.printInnerComments()}function P(_){this.print(_.openingFragment),this.indent();for(const z of _.children)this.print(z);this.dedent(),this.print(_.closingFragment)}function ne(){this.tokenChar(60),this.tokenChar(62)}function Y(){this.token("</"),this.tokenChar(62)}return Ct}var we={},Zc;function Df(){if(Zc)return we;Zc=1,Object.defineProperty(we,"__esModule",{value:!0}),we.TSAnyKeyword=ne,we.TSArrayType=oe,we.TSSatisfiesExpression=we.TSAsExpression=gt,we.TSBigIntKeyword=Y,we.TSBooleanKeyword=Z,we.TSCallSignatureDeclaration=f,we.TSInterfaceHeritage=we.TSClassImplements=ft,we.TSConditionalType=Re,we.TSConstructSignatureDeclaration=O,we.TSConstructorType=F,we.TSDeclareFunction=d,we.TSDeclareMethod=D,we.TSEnumBody=Ee,we.TSEnumDeclaration=de,we.TSEnumMember=Ae,we.TSExportAssignment=We,we.TSExternalModuleReference=Xe,we.TSFunctionType=J,we.TSImportEqualsDeclaration=Ke,we.TSImportType=ve,we.TSIndexSignature=P,we.TSIndexedAccessType=fe,we.TSInferType=Ye,we.TSInstantiationExpression=It,we.TSInterfaceBody=Et,we.TSInterfaceDeclaration=yt,we.TSIntersectionType=Me,we.TSIntrinsicKeyword=U,we.TSLiteralType=pt,we.TSMappedType=Ve,we.TSMethodSignature=w,we.TSModuleBlock=Fe,we.TSModuleDeclaration=Ce,we.TSNamedTupleMember=Ie,we.TSNamespaceExportDeclaration=at,we.TSNeverKeyword=te,we.TSNonNullExpression=Ge,we.TSNullKeyword=V,we.TSNumberKeyword=z,we.TSObjectKeyword=B,we.TSOptionalType=ye,we.TSParameterProperty=u,we.TSParenthesizedType=ce,we.TSPropertySignature=m,we.TSQualifiedName=h,we.TSRestType=Se,we.TSStringKeyword=X,we.TSSymbolKeyword=I,we.TSTemplateLiteralType=it,we.TSThisType=R,we.TSTupleType=le,we.TSTypeAliasDeclaration=bt,we.TSTypeAnnotation=t,we.TSTypeAssertion=Nt,we.TSTypeLiteral=H,we.TSTypeOperator=he,we.TSTypeParameter=c,we.TSTypeParameterDeclaration=we.TSTypeParameterInstantiation=n,we.TSTypePredicate=ue,we.TSTypeQuery=ae,we.TSTypeReference=re,we.TSUndefinedKeyword=N,we.TSUnionType=De,we.TSUnknownKeyword=_,we.TSVoidKeyword=E,we.tsPrintClassMemberModifiers=ge,we.tsPrintFunctionOrConstructorType=Q,we.tsPrintPropertyOrMethodName=M,we.tsPrintSignatureDeclarationBase=tt;function t(ie,G){this.token((G.type==="TSFunctionType"||G.type==="TSConstructorType")&&G.typeAnnotation===ie?"=>":":"),this.space(),ie.optional&&this.tokenChar(63),this.print(ie.typeAnnotation)}function n(ie,G){this.tokenChar(60);let be=G.type==="ArrowFunctionExpression"&&ie.params.length===1;this.tokenMap&&ie.start!=null&&ie.end!=null&&(be&&(be=!!this.tokenMap.find(ie,Ue=>this.tokenMap.matchesOriginal(Ue,","))),be||(be=this.shouldPrintTrailingComma(">"))),this.printList(ie.params,be),this.tokenChar(62)}function c(ie){ie.in&&(this.word("in"),this.space()),ie.out&&(this.word("out"),this.space()),this.word(ie.name),ie.constraint&&(this.space(),this.word("extends"),this.space(),this.print(ie.constraint)),ie.default&&(this.space(),this.tokenChar(61),this.space(),this.print(ie.default))}function u(ie){ie.accessibility&&(this.word(ie.accessibility),this.space()),ie.readonly&&(this.word("readonly"),this.space()),this._param(ie.parameter)}function d(ie,G){ie.declare&&(this.word("declare"),this.space()),this._functionHead(ie,G),this.semicolon()}function D(ie){this._classMethodHead(ie),this.semicolon()}function h(ie){this.print(ie.left),this.tokenChar(46),this.print(ie.right)}function f(ie){this.tsPrintSignatureDeclarationBase(ie),l(this,ie)}function l(ie,G){if(!ie.tokenMap||!G.start||!G.end){ie.semicolon();return}ie.tokenMap.endMatches(G,",")?ie.token(","):ie.tokenMap.endMatches(G,";")&&ie.semicolon()}function O(ie){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(ie),l(this,ie)}function m(ie){const{readonly:G}=ie;G&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(ie),this.print(ie.typeAnnotation),l(this,ie)}function M(ie){ie.computed&&this.tokenChar(91),this.print(ie.key),ie.computed&&this.tokenChar(93),ie.optional&&this.tokenChar(63)}function w(ie){const{kind:G}=ie;(G==="set"||G==="get")&&(this.word(G),this.space()),this.tsPrintPropertyOrMethodName(ie),this.tsPrintSignatureDeclarationBase(ie),l(this,ie)}function P(ie){const{readonly:G,static:be}=ie;be&&(this.word("static"),this.space()),G&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(ie.parameters,"]"),this.print(ie.typeAnnotation),l(this,ie)}function ne(){this.word("any")}function Y(){this.word("bigint")}function _(){this.word("unknown")}function z(){this.word("number")}function B(){this.word("object")}function Z(){this.word("boolean")}function X(){this.word("string")}function I(){this.word("symbol")}function E(){this.word("void")}function N(){this.word("undefined")}function V(){this.word("null")}function te(){this.word("never")}function U(){this.word("intrinsic")}function R(){this.word("this")}function J(ie){this.tsPrintFunctionOrConstructorType(ie)}function F(ie){ie.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(ie)}function Q(ie){const{typeParameters:G}=ie,be=ie.parameters;this.print(G),this.tokenChar(40),this._parameters(be,")"),this.space();const Ue=ie.typeAnnotation;this.print(Ue)}function re(ie){const G=ie.typeParameters;this.print(ie.typeName,!!G),this.print(G)}function ue(ie){ie.asserts&&(this.word("asserts"),this.space()),this.print(ie.parameterName),ie.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(ie.typeAnnotation.typeAnnotation))}function ae(ie){this.word("typeof"),this.space(),this.print(ie.exprName);const G=ie.typeParameters;G&&this.print(G)}function H(ie){$e(this,ie,()=>this.printJoin(ie.members,!0,!0))}function oe(ie){this.print(ie.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function le(ie){this.tokenChar(91),this.printList(ie.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)}function ye(ie){this.print(ie.typeAnnotation),this.tokenChar(63)}function Se(ie){this.token("..."),this.print(ie.typeAnnotation)}function Ie(ie){this.print(ie.label),ie.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(ie.elementType)}function De(ie){xe(this,ie,"|")}function Me(ie){xe(this,ie,"&")}function xe(ie,G,be){var Ue;let He=0;(Ue=ie.tokenMap)!=null&&Ue.startMatches(G,be)&&(He=1,ie.token(be)),ie.printJoin(G.types,void 0,void 0,function(ct){this.space(),this.token(be,null,ct+He),this.space()})}function Re(ie){this.print(ie.checkType),this.space(),this.word("extends"),this.space(),this.print(ie.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(ie.trueType),this.space(),this.tokenChar(58),this.space(),this.print(ie.falseType)}function Ye(ie){this.word("infer"),this.print(ie.typeParameter)}function ce(ie){this.tokenChar(40),this.print(ie.typeAnnotation),this.tokenChar(41)}function he(ie){this.word(ie.operator),this.space(),this.print(ie.typeAnnotation)}function fe(ie){this.print(ie.objectType,!0),this.tokenChar(91),this.print(ie.indexType),this.tokenChar(93)}function Ve(ie){const{nameType:G,optional:be,readonly:Ue,typeAnnotation:He}=ie;this.tokenChar(123);const ct=this.enterDelimited();this.space(),Ue&&(Je(this,Ue),this.word("readonly"),this.space()),this.tokenChar(91),this.word(ie.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(ie.typeParameter.constraint),G&&(this.space(),this.word("as"),this.space(),this.print(G)),this.tokenChar(93),be&&(Je(this,be),this.tokenChar(63)),He&&(this.tokenChar(58),this.space(),this.print(He)),this.space(),ct(),this.tokenChar(125)}function Je(ie,G){G!==!0&&ie.token(G)}function it(ie){this._printTemplate(ie,ie.types)}function pt(ie){this.print(ie.literal)}function ft(ie){this.print(ie.expression),this.print(ie.typeArguments)}function yt(ie){const{declare:G,id:be,typeParameters:Ue,extends:He,body:ct}=ie;G&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(be),this.print(Ue),He!=null&&He.length&&(this.space(),this.word("extends"),this.space(),this.printList(He)),this.space(),this.print(ct)}function Et(ie){$e(this,ie,()=>this.printJoin(ie.body,!0,!0))}function bt(ie){const{declare:G,id:be,typeParameters:Ue,typeAnnotation:He}=ie;G&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(be),this.print(Ue),this.space(),this.tokenChar(61),this.space(),this.print(He),this.semicolon()}function gt(ie){const{type:G,expression:be,typeAnnotation:Ue}=ie;this.print(be,!0),this.space(),this.word(G==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(Ue)}function Nt(ie){const{typeAnnotation:G,expression:be}=ie;this.tokenChar(60),this.print(G),this.tokenChar(62),this.space(),this.print(be)}function It(ie){this.print(ie.expression),this.print(ie.typeParameters)}function de(ie){const{declare:G,const:be,id:Ue}=ie;G&&(this.word("declare"),this.space()),be&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(Ue),this.space(),Ee.call(this,ie)}function Ee(ie){$e(this,ie,()=>{var G;return this.printList(ie.members,(G=this.shouldPrintTrailingComma("}"))!=null?G:!0,!0,!0)})}function Ae(ie){const{id:G,initializer:be}=ie;this.print(G),be&&(this.space(),this.tokenChar(61),this.space(),this.print(be))}function Ce(ie){const{declare:G,id:be,kind:Ue}=ie;G&&(this.word("declare"),this.space());{if(ie.global||(this.word(Ue??(be.type==="Identifier"?"namespace":"module")),this.space()),this.print(be),!ie.body){this.semicolon();return}let He=ie.body;for(;He.type==="TSModuleDeclaration";)this.tokenChar(46),this.print(He.id),He=He.body;this.space(),this.print(He)}}function Fe(ie){$e(this,ie,()=>this.printSequence(ie.body,!0))}function ve(ie){const{argument:G,qualifier:be,options:Ue}=ie;this.word("import"),this.tokenChar(40),this.print(G),Ue&&(this.tokenChar(44),this.print(Ue)),this.tokenChar(41),be&&(this.tokenChar(46),this.print(be));const He=ie.typeParameters;He&&this.print(He)}function Ke(ie){const{id:G,moduleReference:be}=ie;ie.isExport&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(G),this.space(),this.tokenChar(61),this.space(),this.print(be),this.semicolon()}function Xe(ie){this.token("require("),this.print(ie.expression),this.tokenChar(41)}function Ge(ie){this.print(ie.expression),this.tokenChar(33)}function We(ie){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(ie.expression),this.semicolon()}function at(ie){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(ie.id),this.semicolon()}function tt(ie){const{typeParameters:G}=ie,be=ie.parameters;this.print(G),this.tokenChar(40),this._parameters(be,")");const Ue=ie.typeAnnotation;this.print(Ue)}function ge(ie){const G=ie.type==="ClassPrivateProperty",be=ie.type==="ClassAccessorProperty"||ie.type==="ClassProperty";ot(this,ie,[be&&ie.declare&&"declare",!G&&ie.accessibility]),ie.static&&(this.word("static"),this.space()),ot(this,ie,[!G&&ie.override&&"override",!G&&ie.abstract&&"abstract",(be||G)&&ie.readonly&&"readonly"])}function $e(ie,G,be){ie.token("{");const Ue=ie.enterDelimited();be(),Ue(),ie.rightBrace(G)}function ot(ie,G,be){var Ue;const He=new Set;for(const ct of be)ct&&He.add(ct);(Ue=ie.tokenMap)==null||Ue.find(G,ct=>{if(He.has(ct.value))return ie.token(ct.value),ie.space(),He.delete(ct.value),He.size===0});for(const ct of He)ie.word(ct),ie.space()}return we}var el;function Of(){return el||(el=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});var n=Sf();Object.keys(n).forEach(function(w){w==="default"||w==="__esModule"||w in t&&t[w]===n[w]||Object.defineProperty(t,w,{enumerable:!0,get:function(){return n[w]}})});var c=Af();Object.keys(c).forEach(function(w){w==="default"||w==="__esModule"||w in t&&t[w]===c[w]||Object.defineProperty(t,w,{enumerable:!0,get:function(){return c[w]}})});var u=gf();Object.keys(u).forEach(function(w){w==="default"||w==="__esModule"||w in t&&t[w]===u[w]||Object.defineProperty(t,w,{enumerable:!0,get:function(){return u[w]}})});var d=Pf();Object.keys(d).forEach(function(w){w==="default"||w==="__esModule"||w in t&&t[w]===d[w]||Object.defineProperty(t,w,{enumerable:!0,get:function(){return d[w]}})});var D=If();Object.keys(D).forEach(function(w){w==="default"||w==="__esModule"||w in t&&t[w]===D[w]||Object.defineProperty(t,w,{enumerable:!0,get:function(){return D[w]}})});var h=sp();Object.keys(h).forEach(function(w){w==="default"||w==="__esModule"||w in t&&t[w]===h[w]||Object.defineProperty(t,w,{enumerable:!0,get:function(){return h[w]}})});var f=np();Object.keys(f).forEach(function(w){w==="default"||w==="__esModule"||w in t&&t[w]===f[w]||Object.defineProperty(t,w,{enumerable:!0,get:function(){return f[w]}})});var l=xf();Object.keys(l).forEach(function(w){w==="default"||w==="__esModule"||w in t&&t[w]===l[w]||Object.defineProperty(t,w,{enumerable:!0,get:function(){return l[w]}})});var O=Cf();Object.keys(O).forEach(function(w){w==="default"||w==="__esModule"||w in t&&t[w]===O[w]||Object.defineProperty(t,w,{enumerable:!0,get:function(){return O[w]}})});var m=Nf();Object.keys(m).forEach(function(w){w==="default"||w==="__esModule"||w in t&&t[w]===m[w]||Object.defineProperty(t,w,{enumerable:!0,get:function(){return m[w]}})});var M=Df();Object.keys(M).forEach(function(w){w==="default"||w==="__esModule"||w in t&&t[w]===M[w]||Object.defineProperty(t,w,{enumerable:!0,get:function(){return M[w]}})})}(Po)),Po}var Ia={},tl;function vf(){if(tl)return Ia;tl=1,Object.defineProperty(Ia,"__esModule",{value:!0}),Ia.addDeprecatedGenerators=t;function t(n){{const c={Noop(){},TSExpressionWithTypeArguments(u){this.print(u.expression),this.print(u.typeParameters)},DecimalLiteral(u){const d=this.getPossibleRaw(u);if(!this.format.minified&&d!==void 0){this.word(d);return}this.word(u.value+"m")}};Object.assign(n.prototype,c)}}return Ia}var rl;function Lf(){if(rl)return zs;rl=1,Object.defineProperty(zs,"__esModule",{value:!0}),zs.default=void 0;var t=yp(),n=Gi(),c=Mt(),u=bf(),d=Of(),D=vf();const{isExpression:h,isFunction:f,isStatement:l,isClassBody:O,isTSInterfaceBody:m,isTSEnumMember:M}=c,w=/e/i,P=/\.0+$/,ne=/[\n\r\u2028\u2029]/,Y=/[\n\r\u2028\u2029]|\*\//;function _(X){return X.type==="CommentLine"||ne.test(X.value)}const{needsParens:z}=n;class B{constructor(I,E,N,V){this.inForStatementInit=!1,this.tokenContext=0,this._tokens=null,this._originalCode=null,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._noLineTerminator=!1,this._noLineTerminatorAfterNode=null,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._endsWithDiv=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.tokenMap=null,this._boundGetRawIdentifier=this._getRawIdentifier.bind(this),this._printSemicolonBeforeNextNode=-1,this._printSemicolonBeforeNextToken=-1,this.format=I,this._tokens=N,this._originalCode=V,this._indentRepeat=I.indent.style.length,this._inputMap=E?._inputMap,this._buf=new t.default(E,I.indent.style[0])}enterForStatementInit(){return this.inForStatementInit?()=>{}:(this.inForStatementInit=!0,()=>{this.inForStatementInit=!1})}enterDelimited(){const I=this.inForStatementInit,E=this._noLineTerminatorAfterNode;return I===!1&&E===null?()=>{}:(this.inForStatementInit=!1,this._noLineTerminatorAfterNode=null,()=>{this.inForStatementInit=I,this._noLineTerminatorAfterNode=E})}generate(I){return this.format.preserveFormat&&(this.tokenMap=new u.TokenMap(I,this._tokens,this._originalCode)),this.print(I),this._maybeAddAuxComment(),this._buf.get()}indent(){const{format:I}=this;I.preserveFormat||I.compact||I.concise||this._indent++}dedent(){const{format:I}=this;I.preserveFormat||I.compact||I.concise||this._indent--}semicolon(I=!1){if(this._maybeAddAuxComment(),I){this._appendChar(59),this._noLineTerminator=!1;return}if(this.tokenMap){const E=this._currentNode;if(E.start!=null&&E.end!=null){if(!this.tokenMap.endMatches(E,";")){this._printSemicolonBeforeNextNode=this._buf.getCurrentLine();return}const N=this.tokenMap.getIndexes(this._currentNode);this._catchUpTo(this._tokens[N[N.length-1]].loc.start)}}this._queue(59),this._noLineTerminator=!1}rightBrace(I){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",I.loc,-1),this.tokenChar(125)}rightParens(I){this.sourceWithOffset("end",I.loc,-1),this.tokenChar(41)}space(I=!1){const{format:E}=this;if(!(E.compact||E.preserveFormat)){if(I)this._space();else if(this._buf.hasContent()){const N=this.getLastChar();N!==32&&N!==10&&this._space()}}}word(I,E=!1){this.tokenContext=0,this._maybePrintInnerComments(I),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(I),(this._endsWithWord||this._endsWithDiv&&I.charCodeAt(0)===47)&&this._space(),this._append(I,!1),this._endsWithWord=!0,this._noLineTerminator=E}number(I,E){function N(V){if(V.length>2&&V.charCodeAt(0)===48){const te=V.charCodeAt(1);return te===98||te===111||te===120}return!1}this.word(I),this._endsWithInteger=Number.isInteger(E)&&!N(I)&&!w.test(I)&&!P.test(I)&&I.charCodeAt(I.length-1)!==46}token(I,E=!1,N=0){this.tokenContext=0,this._maybePrintInnerComments(I,N),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(I,N);const V=this.getLastChar(),te=I.charCodeAt(0);(V===33&&(I==="--"||te===61)||te===43&&V===43||te===45&&V===45||te===46&&this._endsWithInteger)&&this._space(),this._append(I,E),this._noLineTerminator=!1}tokenChar(I){this.tokenContext=0;const E=String.fromCharCode(I);this._maybePrintInnerComments(E),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(E);const N=this.getLastChar();(I===43&&N===43||I===45&&N===45||I===46&&this._endsWithInteger)&&this._space(),this._appendChar(I),this._noLineTerminator=!1}newline(I=1,E){if(!(I<=0)){if(!E){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}}I>2&&(I=2),I-=this._buf.getNewlineCount();for(let N=0;N<I;N++)this._newline()}}endsWith(I){return this.getLastChar()===I}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(I,E){if(!I){E();return}this._catchUp("start",I),this._buf.exactSource(I,E)}source(I,E){E&&(this._catchUp(I,E),this._buf.source(I,E))}sourceWithOffset(I,E,N){!E||this.format.preserveFormat||(this._catchUp(I,E),this._buf.sourceWithOffset(I,E,N))}sourceIdentifierName(I,E){if(!this._buf._canMarkIdName)return;const N=this._buf._sourcePosition;N.identifierNamePos=E,N.identifierName=I}_space(){this._queue(32)}_newline(){this._queue(10)}_catchUpToCurrentToken(I,E=0){const N=this.tokenMap.findMatching(this._currentNode,I,E);N&&this._catchUpTo(N.loc.start),this._printSemicolonBeforeNextToken!==-1&&this._printSemicolonBeforeNextToken===this._buf.getCurrentLine()&&(this._buf.appendChar(59),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1),this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1}_append(I,E){this._maybeIndent(I.charCodeAt(0)),this._buf.append(I,E),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(I){this._maybeIndent(I),this._buf.appendChar(I),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(I){this._maybeIndent(I),this._buf.queue(I),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(I){this._indent&&I!==10&&this.endsWith(10)&&this._buf.queueIndentation(this._getIndent())}_shouldIndent(I){if(this._indent&&I!==10&&this.endsWith(10))return!0}catchUp(I){if(!this.format.retainLines)return;const E=I-this._buf.getCurrentLine();for(let N=0;N<E;N++)this._newline()}_catchUp(I,E){const{format:N}=this;if(!N.preserveFormat){N.retainLines&&E!=null&&E[I]&&this.catchUp(E[I].line);return}const V=E?.[I];V!=null&&this._catchUpTo(V)}_catchUpTo({line:I,column:E,index:N}){const V=I-this._buf.getCurrentLine();if(V>0&&this._noLineTerminator)return;for(let U=0;U<V;U++)this._newline();const te=V>0?E:E-this._buf.getCurrentColumn();if(te>0){const U=this._originalCode?this._originalCode.slice(N-te,N).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu," "):" ".repeat(te);this._append(U,!1)}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(I){this._noLineTerminator=!0,this.print(I)}print(I,E,N){var V,te,U;if(!I)return;this._endsWithInnerRaw=!1;const R=I.type,J=this.format,F=J.concise;I._compact&&(J.concise=!0);const Q=this[R];if(Q===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify(R)} with constructor ${JSON.stringify(I.constructor.name)}`);const re=this._currentNode;this._currentNode=I,this.tokenMap&&(this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode);const ue=this._insideAux;this._insideAux=I.loc==null,this._maybeAddAuxComment(this._insideAux&&!ue);const ae=(V=I.extra)==null?void 0:V.parenthesized;let H=ae&&J.preserveFormat||ae&&J.retainFunctionParens&&R==="FunctionExpression"||z(I,re,this.tokenContext,this.inForStatementInit,J.preserveFormat?this._boundGetRawIdentifier:void 0);if(!H&&ae&&(te=I.leadingComments)!=null&&te.length&&I.leadingComments[0].type==="CommentBlock")switch(re?.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(re.callee!==I)break;default:H=!0}let oe=!1;!H&&this._noLineTerminator&&((U=I.leadingComments)!=null&&U.some(_)||this.format.retainLines&&I.loc&&I.loc.start.line>this._buf.getCurrentLine())&&(H=!0,oe=!0);let le,ye;if(!H&&(E||(E=re&&this._noLineTerminatorAfterNode===re&&n.isLastChild(re,I)),E)){var Se;(Se=I.trailingComments)!=null&&Se.some(_)?h(I)&&(H=!0):(le=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=I)}H&&(this.tokenChar(40),oe&&this.indent(),this._endsWithInnerRaw=!1,this.inForStatementInit&&(ye=!0,this.inForStatementInit=!1),le=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null),this._lastCommentLine=0,this._printLeadingComments(I,re);const Ie=R==="Program"||R==="File"?null:I.loc;this.exactSource(Ie,Q.bind(this,I,re)),H?(this._printTrailingComments(I,re),oe&&(this.dedent(),this.newline()),this.tokenChar(41),this._noLineTerminator=E,ye&&(this.inForStatementInit=!0)):E&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(I,re)):this._printTrailingComments(I,re,N),this._currentNode=re,J.concise=F,this._insideAux=ue,le!==void 0&&(this._noLineTerminatorAfterNode=le),this._endsWithInnerRaw=!1}_maybeAddAuxComment(I){I&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;const I=this.format.auxiliaryCommentBefore;I&&this._printComment({type:"CommentBlock",value:I},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;const I=this.format.auxiliaryCommentAfter;I&&this._printComment({type:"CommentBlock",value:I},0)}getPossibleRaw(I){const E=I.extra;if(E?.raw!=null&&E.rawValue!=null&&I.value===E.rawValue)return E.raw}printJoin(I,E,N,V,te,U,R,J){if(!(I!=null&&I.length))return;if(N==null&&this.format.retainLines){var F;const oe=(F=I[0].loc)==null?void 0:F.start.line;oe!=null&&oe!==this._buf.getCurrentLine()&&(N=!0)}N&&this.indent();const Q={addNewlines:U,nextNodeStartLine:0},re=V?.bind(this),ue=I.length;for(let oe=0;oe<ue;oe++){const le=I[oe];if(le&&(E&&this._printNewline(oe===0,Q),this.print(le,void 0,J||0),R?.(le,oe),re!=null&&(oe<ue-1?re(oe,!1):te&&re(oe,!0)),E)){var ae;if((ae=le.trailingComments)!=null&&ae.length||(this._lastCommentLine=0),oe+1===ue)this.newline(1);else{var H;const ye=I[oe+1];Q.nextNodeStartLine=((H=ye.loc)==null?void 0:H.start.line)||0,this._printNewline(!0,Q)}}}N&&this.dedent()}printAndIndentOnComments(I){const E=I.leadingComments&&I.leadingComments.length>0;E&&this.indent(),this.print(I),E&&this.dedent()}printBlock(I){const E=I.body;E.type!=="EmptyStatement"&&this.space(),this.print(E)}_printTrailingComments(I,E,N){const{innerComments:V,trailingComments:te}=I;V!=null&&V.length&&this._printComments(2,V,I,E,N),te!=null&&te.length&&this._printComments(2,te,I,E,N)}_printLeadingComments(I,E){const N=I.leadingComments;N!=null&&N.length&&this._printComments(0,N,I,E)}_maybePrintInnerComments(I,E){if(this._endsWithInnerRaw){var N;this.printInnerComments((N=this.tokenMap)==null?void 0:N.findMatching(this._currentNode,I,E))}this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(I){const E=this._currentNode,N=E.innerComments;if(!(N!=null&&N.length))return;const V=this.endsWith(32),te=this._indentInnerComments,U=this._printedComments.size;te&&this.indent(),this._printComments(1,N,E,void 0,void 0,I),V&&U!==this._printedComments.size&&this.space(),te&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(I,E,N,V){this.printJoin(I,!0,E??!1,void 0,void 0,V,void 0,N)}printList(I,E,N,V,te,U){this.printJoin(I,N,V,te??Z,E,void 0,U)}shouldPrintTrailingComma(I){if(!this.tokenMap)return null;const E=this.tokenMap.findLastIndex(this._currentNode,N=>this.tokenMap.matchesOriginal(N,I));return E<=0?null:this.tokenMap.matchesOriginal(this._tokens[E-1],",")}_printNewline(I,E){const N=this.format;if(N.retainLines||N.compact)return;if(N.concise){this.space();return}if(!I)return;const V=E.nextNodeStartLine,te=this._lastCommentLine;if(V>0&&te>0){const U=V-te;if(U>=0){this.newline(U||1);return}}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(I,E){if(I.ignore||this._printedComments.has(I))return 0;if(this._noLineTerminator&&Y.test(I.value))return 2;if(E&&this.tokenMap){const N=this.tokenMap.find(this._currentNode,V=>V.value===I.value);if(N&&N.start>E.start)return 2}return this._printedComments.add(I),this.format.shouldPrintComment(I.value)?1:0}_printComment(I,E){const N=this._noLineTerminator,V=I.type==="CommentBlock",te=V&&E!==1&&!this._noLineTerminator;te&&this._buf.hasContent()&&E!==2&&this.newline(1);const U=this.getLastChar();U!==91&&U!==123&&U!==40&&this.space();let R;if(V){if(R=`/*${I.value}*/`,this.format.indent.adjustMultilineComment){var J;const F=(J=I.loc)==null?void 0:J.start.column;if(F){const Q=new RegExp("\\n\\s{1,"+F+"}","g");R=R.replace(Q,`
13
- `)}if(this.format.concise)R=R.replace(/\n(?!$)/g,`
14
- `);else{let Q=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(Q+=this._getIndent()),R=R.replace(/\n(?!$)/g,`
15
- ${" ".repeat(Q)}`)}}}else N?R=`/*${I.value}*/`:R=`//${I.value}`;if(this._endsWithDiv&&this._space(),this.tokenMap){const{_printSemicolonBeforeNextToken:F,_printSemicolonBeforeNextNode:Q}=this;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1,this.source("start",I.loc),this._append(R,V),this._printSemicolonBeforeNextNode=Q,this._printSemicolonBeforeNextToken=F}else this.source("start",I.loc),this._append(R,V);!V&&!N&&this.newline(1,!0),te&&E!==3&&this.newline(1)}_printComments(I,E,N,V,te=0,U){const R=N.loc,J=E.length;let F=!!R;const Q=F?R.start.line:0,re=F?R.end.line:0;let ue=0,ae=0;const H=this._noLineTerminator?function(){}:this.newline.bind(this);for(let oe=0;oe<J;oe++){const le=E[oe],ye=this._shouldPrintComment(le,U);if(ye===2){F=!1;break}if(F&&le.loc&&ye===1){const Se=le.loc.start.line,Ie=le.loc.end.line;if(I===0){let De=0;oe===0?this._buf.hasContent()&&(le.type==="CommentLine"||Se!==Ie)&&(De=ae=1):De=Se-ue,ue=Ie,H(De),this._printComment(le,1),oe+1===J&&(H(Math.max(Q-ue,ae)),ue=Q)}else if(I===1){const De=Se-(oe===0?Q:ue);ue=Ie,H(De),this._printComment(le,1),oe+1===J&&(H(Math.min(1,re-ue)),ue=re)}else{const De=Se-(oe===0?re-te:ue);ue=Ie,H(De),this._printComment(le,1)}}else{if(F=!1,ye!==1)continue;if(J===1){const Se=le.loc?le.loc.start.line===le.loc.end.line:!ne.test(le.value),Ie=Se&&!l(N)&&!O(V)&&!m(V)&&!M(N);I===0?this._printComment(le,Ie&&N.type!=="ObjectExpression"||Se&&f(V,{body:N})?1:0):Ie&&I===2?this._printComment(le,1):this._printComment(le,0)}else I===1&&!(N.type==="ObjectExpression"&&N.properties.length>1)&&N.type!=="ClassBody"&&N.type!=="TSInterfaceBody"?this._printComment(le,oe===0?2:oe===J-1?3:0):this._printComment(le,0)}}I===2&&F&&ue&&(this._lastCommentLine=ue)}}Object.assign(B.prototype,d),(0,D.addDeprecatedGenerators)(B),zs.default=B;function Z(X,I){this.token(",",!1,X),I||this.space()}return zs}var il;function wf(){if(il)return Ws;il=1,Object.defineProperty(Ws,"__esModule",{value:!0}),Ws.default=u;var t=Tp(),n=Lf();function c(d,D,h){if(D.experimental_preserveFormat){if(typeof d!="string")throw new Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!D.retainLines)throw new Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(D.compact&&D.compact!=="auto")throw new Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(D.minified)throw new Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(D.jsescOption)throw new Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(h.tokens))throw new Error("`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.")}const f={auxiliaryCommentBefore:D.auxiliaryCommentBefore,auxiliaryCommentAfter:D.auxiliaryCommentAfter,shouldPrintComment:D.shouldPrintComment,preserveFormat:D.experimental_preserveFormat,retainLines:D.retainLines,retainFunctionParens:D.retainFunctionParens,comments:D.comments==null||D.comments,compact:D.compact,minified:D.minified,concise:D.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},D.jsescOption),topicToken:D.topicToken,importAttributesKeyword:D.importAttributesKeyword};{var l;f.decoratorsBeforeExport=D.decoratorsBeforeExport,f.jsescOption.json=D.jsonCompatibleStrings,f.recordAndTupleSyntaxType=(l=D.recordAndTupleSyntaxType)!=null?l:"hash"}f.minified?(f.compact=!0,f.shouldPrintComment=f.shouldPrintComment||(()=>f.comments)):f.shouldPrintComment=f.shouldPrintComment||(w=>f.comments||w.includes("@license")||w.includes("@preserve")),f.compact==="auto"&&(f.compact=typeof d=="string"&&d.length>5e5,f.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${D.filename} as it exceeds the max of 500KB.`)),(f.compact||f.preserveFormat)&&(f.indent.adjustMultilineComment=!1);const{auxiliaryCommentBefore:O,auxiliaryCommentAfter:m,shouldPrintComment:M}=f;return O&&!M(O)&&(f.auxiliaryCommentBefore=void 0),m&&!M(m)&&(f.auxiliaryCommentAfter=void 0),f}Ws.CodeGenerator=class{constructor(D,h={},f){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=D,this._format=c(f,h,D),this._map=h.sourceMaps?new t.default(h,f):null}generate(){return new n.default(this._format,this._map).generate(this._ast)}};function u(d,D={},h){const f=c(h,D,d),l=D.sourceMaps?new t.default(D,h):null;return new n.default(f,l,d.tokens,typeof h=="string"?h:null).generate(d)}return Ws}var xo={},un={},Bi={},cn={},Co={},sl;function Ho(){return sl||(sl=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.isUndefinedCodePoint=t.isControlCodePoint=t.getSurrogatePairCodePoint=t.isSurrogatePair=t.isSurrogate=t.SEQUENCES=t.CODE_POINTS=t.REPLACEMENT_CHARACTER=void 0;const n=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]);t.REPLACEMENT_CHARACTER="�",function(f){f[f.EOF=-1]="EOF",f[f.NULL=0]="NULL",f[f.TABULATION=9]="TABULATION",f[f.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",f[f.LINE_FEED=10]="LINE_FEED",f[f.FORM_FEED=12]="FORM_FEED",f[f.SPACE=32]="SPACE",f[f.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",f[f.QUOTATION_MARK=34]="QUOTATION_MARK",f[f.NUMBER_SIGN=35]="NUMBER_SIGN",f[f.AMPERSAND=38]="AMPERSAND",f[f.APOSTROPHE=39]="APOSTROPHE",f[f.HYPHEN_MINUS=45]="HYPHEN_MINUS",f[f.SOLIDUS=47]="SOLIDUS",f[f.DIGIT_0=48]="DIGIT_0",f[f.DIGIT_9=57]="DIGIT_9",f[f.SEMICOLON=59]="SEMICOLON",f[f.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",f[f.EQUALS_SIGN=61]="EQUALS_SIGN",f[f.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",f[f.QUESTION_MARK=63]="QUESTION_MARK",f[f.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",f[f.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",f[f.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",f[f.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",f[f.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",f[f.GRAVE_ACCENT=96]="GRAVE_ACCENT",f[f.LATIN_SMALL_A=97]="LATIN_SMALL_A",f[f.LATIN_SMALL_F=102]="LATIN_SMALL_F",f[f.LATIN_SMALL_X=120]="LATIN_SMALL_X",f[f.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",f[f.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER"}(t.CODE_POINTS||(t.CODE_POINTS={})),t.SEQUENCES={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function c(f){return f>=55296&&f<=57343}t.isSurrogate=c;function u(f){return f>=56320&&f<=57343}t.isSurrogatePair=u;function d(f,l){return(f-55296)*1024+9216+l}t.getSurrogatePairCodePoint=d;function D(f){return f!==32&&f!==10&&f!==13&&f!==9&&f!==12&&f>=1&&f<=31||f>=127&&f<=159}t.isControlCodePoint=D;function h(f){return f>=64976&&f<=65007||n.has(f)}t.isUndefinedCodePoint=h}(Co)),Co}var No={},nl;function wa(){return nl||(nl=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ERR=void 0,function(n){n.controlCharacterInInputStream="control-character-in-input-stream",n.noncharacterInInputStream="noncharacter-in-input-stream",n.surrogateInInputStream="surrogate-in-input-stream",n.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",n.endTagWithAttributes="end-tag-with-attributes",n.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",n.unexpectedSolidusInTag="unexpected-solidus-in-tag",n.unexpectedNullCharacter="unexpected-null-character",n.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",n.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",n.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",n.missingEndTagName="missing-end-tag-name",n.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",n.unknownNamedCharacterReference="unknown-named-character-reference",n.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",n.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",n.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",n.eofBeforeTagName="eof-before-tag-name",n.eofInTag="eof-in-tag",n.missingAttributeValue="missing-attribute-value",n.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",n.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",n.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",n.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",n.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",n.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",n.missingDoctypePublicIdentifier="missing-doctype-public-identifier",n.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",n.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",n.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",n.cdataInHtmlContent="cdata-in-html-content",n.incorrectlyOpenedComment="incorrectly-opened-comment",n.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",n.eofInDoctype="eof-in-doctype",n.nestedComment="nested-comment",n.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",n.eofInComment="eof-in-comment",n.incorrectlyClosedComment="incorrectly-closed-comment",n.eofInCdata="eof-in-cdata",n.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",n.nullCharacterReference="null-character-reference",n.surrogateCharacterReference="surrogate-character-reference",n.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",n.controlCharacterReference="control-character-reference",n.noncharacterCharacterReference="noncharacter-character-reference",n.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",n.missingDoctypeName="missing-doctype-name",n.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",n.duplicateAttribute="duplicate-attribute",n.nonConformingDoctype="non-conforming-doctype",n.missingDoctype="missing-doctype",n.misplacedDoctype="misplaced-doctype",n.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",n.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",n.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",n.openElementsLeftAfterEof="open-elements-left-after-eof",n.abandonedHeadElementChild="abandoned-head-element-child",n.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",n.nestedNoscriptInHead="nested-noscript-in-head",n.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(t.ERR||(t.ERR={}))}(No)),No}var al;function Rf(){if(al)return cn;al=1,Object.defineProperty(cn,"__esModule",{value:!0}),cn.Preprocessor=void 0;const t=Ho(),n=wa(),c=65536;class u{constructor(D){this.handler=D,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=c,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(D){const{line:h,col:f,offset:l}=this;return{code:D,startLine:h,endLine:h,startCol:f,endCol:f,startOffset:l,endOffset:l}}_err(D){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(D)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(D){if(this.pos!==this.html.length-1){const h=this.html.charCodeAt(this.pos+1);if((0,t.isSurrogatePair)(h))return this.pos++,this._addGap(),(0,t.getSurrogatePairCodePoint)(D,h)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,t.CODE_POINTS.EOF;return this._err(n.ERR.surrogateInInputStream),D}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(D,h){this.html.length>0?this.html+=D:this.html=D,this.endOfChunkHit=!1,this.lastChunkWritten=h}insertHtmlAtCurrentPos(D){this.html=this.html.substring(0,this.pos+1)+D+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(D,h){if(this.pos+D.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(h)return this.html.startsWith(D,this.pos);for(let f=0;f<D.length;f++)if((this.html.charCodeAt(this.pos+f)|32)!==D.charCodeAt(f))return!1;return!0}peek(D){const h=this.pos+D;if(h>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,t.CODE_POINTS.EOF;const f=this.html.charCodeAt(h);return f===t.CODE_POINTS.CARRIAGE_RETURN?t.CODE_POINTS.LINE_FEED:f}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,t.CODE_POINTS.EOF;let D=this.html.charCodeAt(this.pos);return D===t.CODE_POINTS.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,t.CODE_POINTS.LINE_FEED):D===t.CODE_POINTS.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,(0,t.isSurrogate)(D)&&(D=this._processSurrogate(D)),this.handler.onParseError===null||D>31&&D<127||D===t.CODE_POINTS.LINE_FEED||D===t.CODE_POINTS.CARRIAGE_RETURN||D>159&&D<64976||this._checkForProblematicCharacters(D),D)}_checkForProblematicCharacters(D){(0,t.isControlCodePoint)(D)?this._err(n.ERR.controlCharacterInInputStream):(0,t.isUndefinedCodePoint)(D)&&this._err(n.ERR.noncharacterInInputStream)}retreat(D){for(this.pos-=D;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}return cn.Preprocessor=u,cn}var Do={},ol;function Go(){return ol||(ol=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.getTokenAttr=t.TokenType=void 0,function(c){c[c.CHARACTER=0]="CHARACTER",c[c.NULL_CHARACTER=1]="NULL_CHARACTER",c[c.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",c[c.START_TAG=3]="START_TAG",c[c.END_TAG=4]="END_TAG",c[c.COMMENT=5]="COMMENT",c[c.DOCTYPE=6]="DOCTYPE",c[c.EOF=7]="EOF",c[c.HIBERNATION=8]="HIBERNATION"}(t.TokenType||(t.TokenType={}));function n(c,u){for(let d=c.attrs.length-1;d>=0;d--)if(c.attrs[d].name===u)return c.attrs[d].value;return null}t.getTokenAttr=n}(Do)),Do}var gr={},_a={},ul;function kf(){return ul||(ul=1,Object.defineProperty(_a,"__esModule",{value:!0}),_a.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(t){return t.charCodeAt(0)}))),_a}var xa={},cl;function Mf(){return cl||(cl=1,Object.defineProperty(xa,"__esModule",{value:!0}),xa.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(t){return t.charCodeAt(0)}))),xa}var Oo={},ll;function pl(){return ll||(ll=1,function(t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var c=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);t.fromCodePoint=(n=String.fromCodePoint)!==null&&n!==void 0?n:function(D){var h="";return D>65535&&(D-=65536,h+=String.fromCharCode(D>>>10&1023|55296),D=56320|D&1023),h+=String.fromCharCode(D),h};function u(D){var h;return D>=55296&&D<=57343||D>1114111?65533:(h=c.get(D))!==null&&h!==void 0?h:D}t.replaceCodePoint=u;function d(D){return(0,t.fromCodePoint)(u(D))}t.default=d}(Oo)),Oo}var fl;function Bf(){return fl||(fl=1,function(t){var n=gr&&gr.__createBinding||(Object.create?function(R,J,F,Q){Q===void 0&&(Q=F);var re=Object.getOwnPropertyDescriptor(J,F);(!re||("get"in re?!J.__esModule:re.writable||re.configurable))&&(re={enumerable:!0,get:function(){return J[F]}}),Object.defineProperty(R,Q,re)}:function(R,J,F,Q){Q===void 0&&(Q=F),R[Q]=J[F]}),c=gr&&gr.__setModuleDefault||(Object.create?function(R,J){Object.defineProperty(R,"default",{enumerable:!0,value:J})}:function(R,J){R.default=J}),u=gr&&gr.__importStar||function(R){if(R&&R.__esModule)return R;var J={};if(R!=null)for(var F in R)F!=="default"&&Object.prototype.hasOwnProperty.call(R,F)&&n(J,R,F);return c(J,R),J},d=gr&&gr.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var D=d(kf());t.htmlDecodeTree=D.default;var h=d(Mf());t.xmlDecodeTree=h.default;var f=u(pl());t.decodeCodePoint=f.default;var l=pl();Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return l.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return l.fromCodePoint}});var O;(function(R){R[R.NUM=35]="NUM",R[R.SEMI=59]="SEMI",R[R.EQUALS=61]="EQUALS",R[R.ZERO=48]="ZERO",R[R.NINE=57]="NINE",R[R.LOWER_A=97]="LOWER_A",R[R.LOWER_F=102]="LOWER_F",R[R.LOWER_X=120]="LOWER_X",R[R.LOWER_Z=122]="LOWER_Z",R[R.UPPER_A=65]="UPPER_A",R[R.UPPER_F=70]="UPPER_F",R[R.UPPER_Z=90]="UPPER_Z"})(O||(O={}));var m=32,M;(function(R){R[R.VALUE_LENGTH=49152]="VALUE_LENGTH",R[R.BRANCH_LENGTH=16256]="BRANCH_LENGTH",R[R.JUMP_TABLE=127]="JUMP_TABLE"})(M=t.BinTrieFlags||(t.BinTrieFlags={}));function w(R){return R>=O.ZERO&&R<=O.NINE}function P(R){return R>=O.UPPER_A&&R<=O.UPPER_F||R>=O.LOWER_A&&R<=O.LOWER_F}function ne(R){return R>=O.UPPER_A&&R<=O.UPPER_Z||R>=O.LOWER_A&&R<=O.LOWER_Z||w(R)}function Y(R){return R===O.EQUALS||ne(R)}var _;(function(R){R[R.EntityStart=0]="EntityStart",R[R.NumericStart=1]="NumericStart",R[R.NumericDecimal=2]="NumericDecimal",R[R.NumericHex=3]="NumericHex",R[R.NamedEntity=4]="NamedEntity"})(_||(_={}));var z;(function(R){R[R.Legacy=0]="Legacy",R[R.Strict=1]="Strict",R[R.Attribute=2]="Attribute"})(z=t.DecodingMode||(t.DecodingMode={}));var B=function(){function R(J,F,Q){this.decodeTree=J,this.emitCodePoint=F,this.errors=Q,this.state=_.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=z.Strict}return R.prototype.startEntity=function(J){this.decodeMode=J,this.state=_.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},R.prototype.write=function(J,F){switch(this.state){case _.EntityStart:return J.charCodeAt(F)===O.NUM?(this.state=_.NumericStart,this.consumed+=1,this.stateNumericStart(J,F+1)):(this.state=_.NamedEntity,this.stateNamedEntity(J,F));case _.NumericStart:return this.stateNumericStart(J,F);case _.NumericDecimal:return this.stateNumericDecimal(J,F);case _.NumericHex:return this.stateNumericHex(J,F);case _.NamedEntity:return this.stateNamedEntity(J,F)}},R.prototype.stateNumericStart=function(J,F){return F>=J.length?-1:(J.charCodeAt(F)|m)===O.LOWER_X?(this.state=_.NumericHex,this.consumed+=1,this.stateNumericHex(J,F+1)):(this.state=_.NumericDecimal,this.stateNumericDecimal(J,F))},R.prototype.addToNumericResult=function(J,F,Q,re){if(F!==Q){var ue=Q-F;this.result=this.result*Math.pow(re,ue)+parseInt(J.substr(F,ue),re),this.consumed+=ue}},R.prototype.stateNumericHex=function(J,F){for(var Q=F;F<J.length;){var re=J.charCodeAt(F);if(w(re)||P(re))F+=1;else return this.addToNumericResult(J,Q,F,16),this.emitNumericEntity(re,3)}return this.addToNumericResult(J,Q,F,16),-1},R.prototype.stateNumericDecimal=function(J,F){for(var Q=F;F<J.length;){var re=J.charCodeAt(F);if(w(re))F+=1;else return this.addToNumericResult(J,Q,F,10),this.emitNumericEntity(re,2)}return this.addToNumericResult(J,Q,F,10),-1},R.prototype.emitNumericEntity=function(J,F){var Q;if(this.consumed<=F)return(Q=this.errors)===null||Q===void 0||Q.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(J===O.SEMI)this.consumed+=1;else if(this.decodeMode===z.Strict)return 0;return this.emitCodePoint((0,f.replaceCodePoint)(this.result),this.consumed),this.errors&&(J!==O.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},R.prototype.stateNamedEntity=function(J,F){for(var Q=this.decodeTree,re=Q[this.treeIndex],ue=(re&M.VALUE_LENGTH)>>14;F<J.length;F++,this.excess++){var ae=J.charCodeAt(F);if(this.treeIndex=X(Q,re,this.treeIndex+Math.max(1,ue),ae),this.treeIndex<0)return this.result===0||this.decodeMode===z.Attribute&&(ue===0||Y(ae))?0:this.emitNotTerminatedNamedEntity();if(re=Q[this.treeIndex],ue=(re&M.VALUE_LENGTH)>>14,ue!==0){if(ae===O.SEMI)return this.emitNamedEntityData(this.treeIndex,ue,this.consumed+this.excess);this.decodeMode!==z.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},R.prototype.emitNotTerminatedNamedEntity=function(){var J,F=this,Q=F.result,re=F.decodeTree,ue=(re[Q]&M.VALUE_LENGTH)>>14;return this.emitNamedEntityData(Q,ue,this.consumed),(J=this.errors)===null||J===void 0||J.missingSemicolonAfterCharacterReference(),this.consumed},R.prototype.emitNamedEntityData=function(J,F,Q){var re=this.decodeTree;return this.emitCodePoint(F===1?re[J]&~M.VALUE_LENGTH:re[J+1],Q),F===3&&this.emitCodePoint(re[J+2],Q),Q},R.prototype.end=function(){var J;switch(this.state){case _.NamedEntity:return this.result!==0&&(this.decodeMode!==z.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case _.NumericDecimal:return this.emitNumericEntity(0,2);case _.NumericHex:return this.emitNumericEntity(0,3);case _.NumericStart:return(J=this.errors)===null||J===void 0||J.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case _.EntityStart:return 0}},R}();t.EntityDecoder=B;function Z(R){var J="",F=new B(R,function(Q){return J+=(0,f.fromCodePoint)(Q)});return function(re,ue){for(var ae=0,H=0;(H=re.indexOf("&",H))>=0;){J+=re.slice(ae,H),F.startEntity(ue);var oe=F.write(re,H+1);if(oe<0){ae=H+F.end();break}ae=H+oe,H=oe===0?ae+1:ae}var le=J+re.slice(ae);return J="",le}}function X(R,J,F,Q){var re=(J&M.BRANCH_LENGTH)>>7,ue=J&M.JUMP_TABLE;if(re===0)return ue!==0&&Q===ue?F:-1;if(ue){var ae=Q-ue;return ae<0||ae>=re?-1:R[F+ae]-1}for(var H=F,oe=H+re-1;H<=oe;){var le=H+oe>>>1,ye=R[le];if(ye<Q)H=le+1;else if(ye>Q)oe=le-1;else return R[le+re]}return-1}t.determineBranch=X;var I=Z(D.default),E=Z(h.default);function N(R,J){return J===void 0&&(J=z.Legacy),I(R,J)}t.decodeHTML=N;function V(R){return I(R,z.Attribute)}t.decodeHTMLAttribute=V;function te(R){return I(R,z.Strict)}t.decodeHTMLStrict=te;function U(R){return E(R,z.Strict)}t.decodeXML=U}(gr)),gr}var vo={},dl;function mi(){return dl||(dl=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.hasUnescapedText=t.isNumberedHeader=t.SPECIAL_ELEMENTS=t.getTagID=t.TAG_ID=t.TAG_NAMES=t.DOCUMENT_MODE=t.ATTRS=t.NS=void 0;var n;(function(m){m.HTML="http://www.w3.org/1999/xhtml",m.MATHML="http://www.w3.org/1998/Math/MathML",m.SVG="http://www.w3.org/2000/svg",m.XLINK="http://www.w3.org/1999/xlink",m.XML="http://www.w3.org/XML/1998/namespace",m.XMLNS="http://www.w3.org/2000/xmlns/"})(n=t.NS||(t.NS={})),function(m){m.TYPE="type",m.ACTION="action",m.ENCODING="encoding",m.PROMPT="prompt",m.NAME="name",m.COLOR="color",m.FACE="face",m.SIZE="size"}(t.ATTRS||(t.ATTRS={})),function(m){m.NO_QUIRKS="no-quirks",m.QUIRKS="quirks",m.LIMITED_QUIRKS="limited-quirks"}(t.DOCUMENT_MODE||(t.DOCUMENT_MODE={}));var c;(function(m){m.A="a",m.ADDRESS="address",m.ANNOTATION_XML="annotation-xml",m.APPLET="applet",m.AREA="area",m.ARTICLE="article",m.ASIDE="aside",m.B="b",m.BASE="base",m.BASEFONT="basefont",m.BGSOUND="bgsound",m.BIG="big",m.BLOCKQUOTE="blockquote",m.BODY="body",m.BR="br",m.BUTTON="button",m.CAPTION="caption",m.CENTER="center",m.CODE="code",m.COL="col",m.COLGROUP="colgroup",m.DD="dd",m.DESC="desc",m.DETAILS="details",m.DIALOG="dialog",m.DIR="dir",m.DIV="div",m.DL="dl",m.DT="dt",m.EM="em",m.EMBED="embed",m.FIELDSET="fieldset",m.FIGCAPTION="figcaption",m.FIGURE="figure",m.FONT="font",m.FOOTER="footer",m.FOREIGN_OBJECT="foreignObject",m.FORM="form",m.FRAME="frame",m.FRAMESET="frameset",m.H1="h1",m.H2="h2",m.H3="h3",m.H4="h4",m.H5="h5",m.H6="h6",m.HEAD="head",m.HEADER="header",m.HGROUP="hgroup",m.HR="hr",m.HTML="html",m.I="i",m.IMG="img",m.IMAGE="image",m.INPUT="input",m.IFRAME="iframe",m.KEYGEN="keygen",m.LABEL="label",m.LI="li",m.LINK="link",m.LISTING="listing",m.MAIN="main",m.MALIGNMARK="malignmark",m.MARQUEE="marquee",m.MATH="math",m.MENU="menu",m.META="meta",m.MGLYPH="mglyph",m.MI="mi",m.MO="mo",m.MN="mn",m.MS="ms",m.MTEXT="mtext",m.NAV="nav",m.NOBR="nobr",m.NOFRAMES="noframes",m.NOEMBED="noembed",m.NOSCRIPT="noscript",m.OBJECT="object",m.OL="ol",m.OPTGROUP="optgroup",m.OPTION="option",m.P="p",m.PARAM="param",m.PLAINTEXT="plaintext",m.PRE="pre",m.RB="rb",m.RP="rp",m.RT="rt",m.RTC="rtc",m.RUBY="ruby",m.S="s",m.SCRIPT="script",m.SECTION="section",m.SELECT="select",m.SOURCE="source",m.SMALL="small",m.SPAN="span",m.STRIKE="strike",m.STRONG="strong",m.STYLE="style",m.SUB="sub",m.SUMMARY="summary",m.SUP="sup",m.TABLE="table",m.TBODY="tbody",m.TEMPLATE="template",m.TEXTAREA="textarea",m.TFOOT="tfoot",m.TD="td",m.TH="th",m.THEAD="thead",m.TITLE="title",m.TR="tr",m.TRACK="track",m.TT="tt",m.U="u",m.UL="ul",m.SVG="svg",m.VAR="var",m.WBR="wbr",m.XMP="xmp"})(c=t.TAG_NAMES||(t.TAG_NAMES={}));var u;(function(m){m[m.UNKNOWN=0]="UNKNOWN",m[m.A=1]="A",m[m.ADDRESS=2]="ADDRESS",m[m.ANNOTATION_XML=3]="ANNOTATION_XML",m[m.APPLET=4]="APPLET",m[m.AREA=5]="AREA",m[m.ARTICLE=6]="ARTICLE",m[m.ASIDE=7]="ASIDE",m[m.B=8]="B",m[m.BASE=9]="BASE",m[m.BASEFONT=10]="BASEFONT",m[m.BGSOUND=11]="BGSOUND",m[m.BIG=12]="BIG",m[m.BLOCKQUOTE=13]="BLOCKQUOTE",m[m.BODY=14]="BODY",m[m.BR=15]="BR",m[m.BUTTON=16]="BUTTON",m[m.CAPTION=17]="CAPTION",m[m.CENTER=18]="CENTER",m[m.CODE=19]="CODE",m[m.COL=20]="COL",m[m.COLGROUP=21]="COLGROUP",m[m.DD=22]="DD",m[m.DESC=23]="DESC",m[m.DETAILS=24]="DETAILS",m[m.DIALOG=25]="DIALOG",m[m.DIR=26]="DIR",m[m.DIV=27]="DIV",m[m.DL=28]="DL",m[m.DT=29]="DT",m[m.EM=30]="EM",m[m.EMBED=31]="EMBED",m[m.FIELDSET=32]="FIELDSET",m[m.FIGCAPTION=33]="FIGCAPTION",m[m.FIGURE=34]="FIGURE",m[m.FONT=35]="FONT",m[m.FOOTER=36]="FOOTER",m[m.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",m[m.FORM=38]="FORM",m[m.FRAME=39]="FRAME",m[m.FRAMESET=40]="FRAMESET",m[m.H1=41]="H1",m[m.H2=42]="H2",m[m.H3=43]="H3",m[m.H4=44]="H4",m[m.H5=45]="H5",m[m.H6=46]="H6",m[m.HEAD=47]="HEAD",m[m.HEADER=48]="HEADER",m[m.HGROUP=49]="HGROUP",m[m.HR=50]="HR",m[m.HTML=51]="HTML",m[m.I=52]="I",m[m.IMG=53]="IMG",m[m.IMAGE=54]="IMAGE",m[m.INPUT=55]="INPUT",m[m.IFRAME=56]="IFRAME",m[m.KEYGEN=57]="KEYGEN",m[m.LABEL=58]="LABEL",m[m.LI=59]="LI",m[m.LINK=60]="LINK",m[m.LISTING=61]="LISTING",m[m.MAIN=62]="MAIN",m[m.MALIGNMARK=63]="MALIGNMARK",m[m.MARQUEE=64]="MARQUEE",m[m.MATH=65]="MATH",m[m.MENU=66]="MENU",m[m.META=67]="META",m[m.MGLYPH=68]="MGLYPH",m[m.MI=69]="MI",m[m.MO=70]="MO",m[m.MN=71]="MN",m[m.MS=72]="MS",m[m.MTEXT=73]="MTEXT",m[m.NAV=74]="NAV",m[m.NOBR=75]="NOBR",m[m.NOFRAMES=76]="NOFRAMES",m[m.NOEMBED=77]="NOEMBED",m[m.NOSCRIPT=78]="NOSCRIPT",m[m.OBJECT=79]="OBJECT",m[m.OL=80]="OL",m[m.OPTGROUP=81]="OPTGROUP",m[m.OPTION=82]="OPTION",m[m.P=83]="P",m[m.PARAM=84]="PARAM",m[m.PLAINTEXT=85]="PLAINTEXT",m[m.PRE=86]="PRE",m[m.RB=87]="RB",m[m.RP=88]="RP",m[m.RT=89]="RT",m[m.RTC=90]="RTC",m[m.RUBY=91]="RUBY",m[m.S=92]="S",m[m.SCRIPT=93]="SCRIPT",m[m.SECTION=94]="SECTION",m[m.SELECT=95]="SELECT",m[m.SOURCE=96]="SOURCE",m[m.SMALL=97]="SMALL",m[m.SPAN=98]="SPAN",m[m.STRIKE=99]="STRIKE",m[m.STRONG=100]="STRONG",m[m.STYLE=101]="STYLE",m[m.SUB=102]="SUB",m[m.SUMMARY=103]="SUMMARY",m[m.SUP=104]="SUP",m[m.TABLE=105]="TABLE",m[m.TBODY=106]="TBODY",m[m.TEMPLATE=107]="TEMPLATE",m[m.TEXTAREA=108]="TEXTAREA",m[m.TFOOT=109]="TFOOT",m[m.TD=110]="TD",m[m.TH=111]="TH",m[m.THEAD=112]="THEAD",m[m.TITLE=113]="TITLE",m[m.TR=114]="TR",m[m.TRACK=115]="TRACK",m[m.TT=116]="TT",m[m.U=117]="U",m[m.UL=118]="UL",m[m.SVG=119]="SVG",m[m.VAR=120]="VAR",m[m.WBR=121]="WBR",m[m.XMP=122]="XMP"})(u=t.TAG_ID||(t.TAG_ID={}));const d=new Map([[c.A,u.A],[c.ADDRESS,u.ADDRESS],[c.ANNOTATION_XML,u.ANNOTATION_XML],[c.APPLET,u.APPLET],[c.AREA,u.AREA],[c.ARTICLE,u.ARTICLE],[c.ASIDE,u.ASIDE],[c.B,u.B],[c.BASE,u.BASE],[c.BASEFONT,u.BASEFONT],[c.BGSOUND,u.BGSOUND],[c.BIG,u.BIG],[c.BLOCKQUOTE,u.BLOCKQUOTE],[c.BODY,u.BODY],[c.BR,u.BR],[c.BUTTON,u.BUTTON],[c.CAPTION,u.CAPTION],[c.CENTER,u.CENTER],[c.CODE,u.CODE],[c.COL,u.COL],[c.COLGROUP,u.COLGROUP],[c.DD,u.DD],[c.DESC,u.DESC],[c.DETAILS,u.DETAILS],[c.DIALOG,u.DIALOG],[c.DIR,u.DIR],[c.DIV,u.DIV],[c.DL,u.DL],[c.DT,u.DT],[c.EM,u.EM],[c.EMBED,u.EMBED],[c.FIELDSET,u.FIELDSET],[c.FIGCAPTION,u.FIGCAPTION],[c.FIGURE,u.FIGURE],[c.FONT,u.FONT],[c.FOOTER,u.FOOTER],[c.FOREIGN_OBJECT,u.FOREIGN_OBJECT],[c.FORM,u.FORM],[c.FRAME,u.FRAME],[c.FRAMESET,u.FRAMESET],[c.H1,u.H1],[c.H2,u.H2],[c.H3,u.H3],[c.H4,u.H4],[c.H5,u.H5],[c.H6,u.H6],[c.HEAD,u.HEAD],[c.HEADER,u.HEADER],[c.HGROUP,u.HGROUP],[c.HR,u.HR],[c.HTML,u.HTML],[c.I,u.I],[c.IMG,u.IMG],[c.IMAGE,u.IMAGE],[c.INPUT,u.INPUT],[c.IFRAME,u.IFRAME],[c.KEYGEN,u.KEYGEN],[c.LABEL,u.LABEL],[c.LI,u.LI],[c.LINK,u.LINK],[c.LISTING,u.LISTING],[c.MAIN,u.MAIN],[c.MALIGNMARK,u.MALIGNMARK],[c.MARQUEE,u.MARQUEE],[c.MATH,u.MATH],[c.MENU,u.MENU],[c.META,u.META],[c.MGLYPH,u.MGLYPH],[c.MI,u.MI],[c.MO,u.MO],[c.MN,u.MN],[c.MS,u.MS],[c.MTEXT,u.MTEXT],[c.NAV,u.NAV],[c.NOBR,u.NOBR],[c.NOFRAMES,u.NOFRAMES],[c.NOEMBED,u.NOEMBED],[c.NOSCRIPT,u.NOSCRIPT],[c.OBJECT,u.OBJECT],[c.OL,u.OL],[c.OPTGROUP,u.OPTGROUP],[c.OPTION,u.OPTION],[c.P,u.P],[c.PARAM,u.PARAM],[c.PLAINTEXT,u.PLAINTEXT],[c.PRE,u.PRE],[c.RB,u.RB],[c.RP,u.RP],[c.RT,u.RT],[c.RTC,u.RTC],[c.RUBY,u.RUBY],[c.S,u.S],[c.SCRIPT,u.SCRIPT],[c.SECTION,u.SECTION],[c.SELECT,u.SELECT],[c.SOURCE,u.SOURCE],[c.SMALL,u.SMALL],[c.SPAN,u.SPAN],[c.STRIKE,u.STRIKE],[c.STRONG,u.STRONG],[c.STYLE,u.STYLE],[c.SUB,u.SUB],[c.SUMMARY,u.SUMMARY],[c.SUP,u.SUP],[c.TABLE,u.TABLE],[c.TBODY,u.TBODY],[c.TEMPLATE,u.TEMPLATE],[c.TEXTAREA,u.TEXTAREA],[c.TFOOT,u.TFOOT],[c.TD,u.TD],[c.TH,u.TH],[c.THEAD,u.THEAD],[c.TITLE,u.TITLE],[c.TR,u.TR],[c.TRACK,u.TRACK],[c.TT,u.TT],[c.U,u.U],[c.UL,u.UL],[c.SVG,u.SVG],[c.VAR,u.VAR],[c.WBR,u.WBR],[c.XMP,u.XMP]]);function D(m){var M;return(M=d.get(m))!==null&&M!==void 0?M:u.UNKNOWN}t.getTagID=D;const h=u;t.SPECIAL_ELEMENTS={[n.HTML]:new Set([h.ADDRESS,h.APPLET,h.AREA,h.ARTICLE,h.ASIDE,h.BASE,h.BASEFONT,h.BGSOUND,h.BLOCKQUOTE,h.BODY,h.BR,h.BUTTON,h.CAPTION,h.CENTER,h.COL,h.COLGROUP,h.DD,h.DETAILS,h.DIR,h.DIV,h.DL,h.DT,h.EMBED,h.FIELDSET,h.FIGCAPTION,h.FIGURE,h.FOOTER,h.FORM,h.FRAME,h.FRAMESET,h.H1,h.H2,h.H3,h.H4,h.H5,h.H6,h.HEAD,h.HEADER,h.HGROUP,h.HR,h.HTML,h.IFRAME,h.IMG,h.INPUT,h.LI,h.LINK,h.LISTING,h.MAIN,h.MARQUEE,h.MENU,h.META,h.NAV,h.NOEMBED,h.NOFRAMES,h.NOSCRIPT,h.OBJECT,h.OL,h.P,h.PARAM,h.PLAINTEXT,h.PRE,h.SCRIPT,h.SECTION,h.SELECT,h.SOURCE,h.STYLE,h.SUMMARY,h.TABLE,h.TBODY,h.TD,h.TEMPLATE,h.TEXTAREA,h.TFOOT,h.TH,h.THEAD,h.TITLE,h.TR,h.TRACK,h.UL,h.WBR,h.XMP]),[n.MATHML]:new Set([h.MI,h.MO,h.MN,h.MS,h.MTEXT,h.ANNOTATION_XML]),[n.SVG]:new Set([h.TITLE,h.FOREIGN_OBJECT,h.DESC]),[n.XLINK]:new Set,[n.XML]:new Set,[n.XMLNS]:new Set};function f(m){return m===h.H1||m===h.H2||m===h.H3||m===h.H4||m===h.H5||m===h.H6}t.isNumberedHeader=f;const l=new Set([c.STYLE,c.SCRIPT,c.XMP,c.IFRAME,c.NOEMBED,c.NOFRAMES,c.PLAINTEXT]);function O(m,M){return l.has(m)||M&&m===c.NOSCRIPT}t.hasUnescapedText=O}(vo)),vo}var hl;function ap(){if(hl)return Bi;hl=1,Object.defineProperty(Bi,"__esModule",{value:!0}),Bi.Tokenizer=Bi.TokenizerMode=void 0;const t=Rf(),n=Ho(),c=Go(),u=Bf(),d=wa(),D=mi(),h=new Map([[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]]);var f;(function(I){I[I.DATA=0]="DATA",I[I.RCDATA=1]="RCDATA",I[I.RAWTEXT=2]="RAWTEXT",I[I.SCRIPT_DATA=3]="SCRIPT_DATA",I[I.PLAINTEXT=4]="PLAINTEXT",I[I.TAG_OPEN=5]="TAG_OPEN",I[I.END_TAG_OPEN=6]="END_TAG_OPEN",I[I.TAG_NAME=7]="TAG_NAME",I[I.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",I[I.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",I[I.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",I[I.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",I[I.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",I[I.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",I[I.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",I[I.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",I[I.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",I[I.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",I[I.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",I[I.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",I[I.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",I[I.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",I[I.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",I[I.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",I[I.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",I[I.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",I[I.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",I[I.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",I[I.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",I[I.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",I[I.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",I[I.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",I[I.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",I[I.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",I[I.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",I[I.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",I[I.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",I[I.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",I[I.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",I[I.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",I[I.BOGUS_COMMENT=40]="BOGUS_COMMENT",I[I.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",I[I.COMMENT_START=42]="COMMENT_START",I[I.COMMENT_START_DASH=43]="COMMENT_START_DASH",I[I.COMMENT=44]="COMMENT",I[I.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",I[I.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",I[I.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",I[I.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",I[I.COMMENT_END_DASH=49]="COMMENT_END_DASH",I[I.COMMENT_END=50]="COMMENT_END",I[I.COMMENT_END_BANG=51]="COMMENT_END_BANG",I[I.DOCTYPE=52]="DOCTYPE",I[I.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",I[I.DOCTYPE_NAME=54]="DOCTYPE_NAME",I[I.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",I[I.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",I[I.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",I[I.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",I[I.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",I[I.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",I[I.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",I[I.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",I[I.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",I[I.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",I[I.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",I[I.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",I[I.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",I[I.CDATA_SECTION=68]="CDATA_SECTION",I[I.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",I[I.CDATA_SECTION_END=70]="CDATA_SECTION_END",I[I.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",I[I.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",I[I.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",I[I.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",I[I.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",I[I.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",I[I.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",I[I.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(f||(f={})),Bi.TokenizerMode={DATA:f.DATA,RCDATA:f.RCDATA,RAWTEXT:f.RAWTEXT,SCRIPT_DATA:f.SCRIPT_DATA,PLAINTEXT:f.PLAINTEXT,CDATA_SECTION:f.CDATA_SECTION};function l(I){return I>=n.CODE_POINTS.DIGIT_0&&I<=n.CODE_POINTS.DIGIT_9}function O(I){return I>=n.CODE_POINTS.LATIN_CAPITAL_A&&I<=n.CODE_POINTS.LATIN_CAPITAL_Z}function m(I){return I>=n.CODE_POINTS.LATIN_SMALL_A&&I<=n.CODE_POINTS.LATIN_SMALL_Z}function M(I){return m(I)||O(I)}function w(I){return M(I)||l(I)}function P(I){return I>=n.CODE_POINTS.LATIN_CAPITAL_A&&I<=n.CODE_POINTS.LATIN_CAPITAL_F}function ne(I){return I>=n.CODE_POINTS.LATIN_SMALL_A&&I<=n.CODE_POINTS.LATIN_SMALL_F}function Y(I){return l(I)||P(I)||ne(I)}function _(I){return I+32}function z(I){return I===n.CODE_POINTS.SPACE||I===n.CODE_POINTS.LINE_FEED||I===n.CODE_POINTS.TABULATION||I===n.CODE_POINTS.FORM_FEED}function B(I){return I===n.CODE_POINTS.EQUALS_SIGN||w(I)}function Z(I){return z(I)||I===n.CODE_POINTS.SOLIDUS||I===n.CODE_POINTS.GREATER_THAN_SIGN}class X{constructor(E,N){this.options=E,this.handler=N,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=f.DATA,this.returnState=f.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new t.Preprocessor(N),this.currentLocation=this.getCurrentLocation(-1)}_err(E){var N,V;(V=(N=this.handler).onParseError)===null||V===void 0||V.call(N,this.preprocessor.getError(E))}getCurrentLocation(E){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-E,startOffset:this.preprocessor.offset-E,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const E=this._consume();this._ensureHibernation()||this._callState(E)}this.inLoop=!1}}pause(){this.paused=!0}resume(E){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||E?.())}write(E,N,V){this.active=!0,this.preprocessor.write(E,N),this._runParsingLoop(),this.paused||V?.()}insertHtmlAtCurrentPos(E){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(E),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(E){this.consumedAfterSnapshot-=E,this.preprocessor.retreat(E)}_reconsumeInState(E,N){this.state=E,this._callState(N)}_advanceBy(E){this.consumedAfterSnapshot+=E;for(let N=0;N<E;N++)this.preprocessor.advance()}_consumeSequenceIfMatch(E,N){return this.preprocessor.startsWith(E,N)?(this._advanceBy(E.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:c.TokenType.START_TAG,tagName:"",tagID:D.TAG_ID.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:c.TokenType.END_TAG,tagName:"",tagID:D.TAG_ID.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(E){this.currentToken={type:c.TokenType.COMMENT,data:"",location:this.getCurrentLocation(E)}}_createDoctypeToken(E){this.currentToken={type:c.TokenType.DOCTYPE,name:E,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(E,N){this.currentCharacterToken={type:E,chars:N,location:this.currentLocation}}_createAttr(E){this.currentAttr={name:E,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var E,N;const V=this.currentToken;if((0,c.getTokenAttr)(V,this.currentAttr.name)===null){if(V.attrs.push(this.currentAttr),V.location&&this.currentLocation){const te=(E=(N=V.location).attrs)!==null&&E!==void 0?E:N.attrs=Object.create(null);te[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(d.ERR.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(E){this._emitCurrentCharacterToken(E.location),this.currentToken=null,E.location&&(E.location.endLine=this.preprocessor.line,E.location.endCol=this.preprocessor.col+1,E.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const E=this.currentToken;this.prepareToken(E),E.tagID=(0,D.getTagID)(E.tagName),E.type===c.TokenType.START_TAG?(this.lastStartTagName=E.tagName,this.handler.onStartTag(E)):(E.attrs.length>0&&this._err(d.ERR.endTagWithAttributes),E.selfClosing&&this._err(d.ERR.endTagWithTrailingSolidus),this.handler.onEndTag(E)),this.preprocessor.dropParsedChunk()}emitCurrentComment(E){this.prepareToken(E),this.handler.onComment(E),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(E){this.prepareToken(E),this.handler.onDoctype(E),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(E){if(this.currentCharacterToken){switch(E&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=E.startLine,this.currentCharacterToken.location.endCol=E.startCol,this.currentCharacterToken.location.endOffset=E.startOffset),this.currentCharacterToken.type){case c.TokenType.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case c.TokenType.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case c.TokenType.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const E=this.getCurrentLocation(0);E&&(E.endLine=E.startLine,E.endCol=E.startCol,E.endOffset=E.startOffset),this._emitCurrentCharacterToken(E),this.handler.onEof({type:c.TokenType.EOF,location:E}),this.active=!1}_appendCharToCurrentCharacterToken(E,N){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==E)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=N;return}this._createCharacterToken(E,N)}_emitCodePoint(E){const N=z(E)?c.TokenType.WHITESPACE_CHARACTER:E===n.CODE_POINTS.NULL?c.TokenType.NULL_CHARACTER:c.TokenType.CHARACTER;this._appendCharToCurrentCharacterToken(N,String.fromCodePoint(E))}_emitChars(E){this._appendCharToCurrentCharacterToken(c.TokenType.CHARACTER,E)}_matchNamedCharacterReference(E){let N=null,V=0,te=!1;for(let U=0,R=u.htmlDecodeTree[0];U>=0&&(U=(0,u.determineBranch)(u.htmlDecodeTree,R,U+1,E),!(U<0));E=this._consume()){V+=1,R=u.htmlDecodeTree[U];const J=R&u.BinTrieFlags.VALUE_LENGTH;if(J){const F=(J>>14)-1;if(E!==n.CODE_POINTS.SEMICOLON&&this._isCharacterReferenceInAttribute()&&B(this.preprocessor.peek(1))?(N=[n.CODE_POINTS.AMPERSAND],U+=F):(N=F===0?[u.htmlDecodeTree[U]&~u.BinTrieFlags.VALUE_LENGTH]:F===1?[u.htmlDecodeTree[++U]]:[u.htmlDecodeTree[++U],u.htmlDecodeTree[++U]],V=0,te=E!==n.CODE_POINTS.SEMICOLON),F===0){this._consume();break}}}return this._unconsume(V),te&&!this.preprocessor.endOfChunkHit&&this._err(d.ERR.missingSemicolonAfterCharacterReference),this._unconsume(1),N}_isCharacterReferenceInAttribute(){return this.returnState===f.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===f.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===f.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(E){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(E):this._emitCodePoint(E)}_callState(E){switch(this.state){case f.DATA:{this._stateData(E);break}case f.RCDATA:{this._stateRcdata(E);break}case f.RAWTEXT:{this._stateRawtext(E);break}case f.SCRIPT_DATA:{this._stateScriptData(E);break}case f.PLAINTEXT:{this._statePlaintext(E);break}case f.TAG_OPEN:{this._stateTagOpen(E);break}case f.END_TAG_OPEN:{this._stateEndTagOpen(E);break}case f.TAG_NAME:{this._stateTagName(E);break}case f.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(E);break}case f.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(E);break}case f.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(E);break}case f.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(E);break}case f.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(E);break}case f.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(E);break}case f.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(E);break}case f.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(E);break}case f.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(E);break}case f.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(E);break}case f.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(E);break}case f.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(E);break}case f.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(E);break}case f.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(E);break}case f.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(E);break}case f.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(E);break}case f.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(E);break}case f.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(E);break}case f.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(E);break}case f.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(E);break}case f.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(E);break}case f.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(E);break}case f.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(E);break}case f.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(E);break}case f.ATTRIBUTE_NAME:{this._stateAttributeName(E);break}case f.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(E);break}case f.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(E);break}case f.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(E);break}case f.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(E);break}case f.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(E);break}case f.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(E);break}case f.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(E);break}case f.BOGUS_COMMENT:{this._stateBogusComment(E);break}case f.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(E);break}case f.COMMENT_START:{this._stateCommentStart(E);break}case f.COMMENT_START_DASH:{this._stateCommentStartDash(E);break}case f.COMMENT:{this._stateComment(E);break}case f.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(E);break}case f.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(E);break}case f.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(E);break}case f.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(E);break}case f.COMMENT_END_DASH:{this._stateCommentEndDash(E);break}case f.COMMENT_END:{this._stateCommentEnd(E);break}case f.COMMENT_END_BANG:{this._stateCommentEndBang(E);break}case f.DOCTYPE:{this._stateDoctype(E);break}case f.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(E);break}case f.DOCTYPE_NAME:{this._stateDoctypeName(E);break}case f.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(E);break}case f.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(E);break}case f.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(E);break}case f.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(E);break}case f.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(E);break}case f.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(E);break}case f.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(E);break}case f.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(E);break}case f.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(E);break}case f.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(E);break}case f.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(E);break}case f.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(E);break}case f.BOGUS_DOCTYPE:{this._stateBogusDoctype(E);break}case f.CDATA_SECTION:{this._stateCdataSection(E);break}case f.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(E);break}case f.CDATA_SECTION_END:{this._stateCdataSectionEnd(E);break}case f.CHARACTER_REFERENCE:{this._stateCharacterReference(E);break}case f.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(E);break}case f.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(E);break}case f.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(E);break}case f.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(E);break}case f.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(E);break}case f.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(E);break}case f.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(E);break}default:throw new Error("Unknown state")}}_stateData(E){switch(E){case n.CODE_POINTS.LESS_THAN_SIGN:{this.state=f.TAG_OPEN;break}case n.CODE_POINTS.AMPERSAND:{this.returnState=f.DATA,this.state=f.CHARACTER_REFERENCE;break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),this._emitCodePoint(E);break}case n.CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(E)}}_stateRcdata(E){switch(E){case n.CODE_POINTS.AMPERSAND:{this.returnState=f.RCDATA,this.state=f.CHARACTER_REFERENCE;break}case n.CODE_POINTS.LESS_THAN_SIGN:{this.state=f.RCDATA_LESS_THAN_SIGN;break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),this._emitChars(n.REPLACEMENT_CHARACTER);break}case n.CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(E)}}_stateRawtext(E){switch(E){case n.CODE_POINTS.LESS_THAN_SIGN:{this.state=f.RAWTEXT_LESS_THAN_SIGN;break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),this._emitChars(n.REPLACEMENT_CHARACTER);break}case n.CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(E)}}_stateScriptData(E){switch(E){case n.CODE_POINTS.LESS_THAN_SIGN:{this.state=f.SCRIPT_DATA_LESS_THAN_SIGN;break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),this._emitChars(n.REPLACEMENT_CHARACTER);break}case n.CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(E)}}_statePlaintext(E){switch(E){case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),this._emitChars(n.REPLACEMENT_CHARACTER);break}case n.CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(E)}}_stateTagOpen(E){if(M(E))this._createStartTagToken(),this.state=f.TAG_NAME,this._stateTagName(E);else switch(E){case n.CODE_POINTS.EXCLAMATION_MARK:{this.state=f.MARKUP_DECLARATION_OPEN;break}case n.CODE_POINTS.SOLIDUS:{this.state=f.END_TAG_OPEN;break}case n.CODE_POINTS.QUESTION_MARK:{this._err(d.ERR.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=f.BOGUS_COMMENT,this._stateBogusComment(E);break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(d.ERR.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=f.DATA,this._stateData(E)}}_stateEndTagOpen(E){if(M(E))this._createEndTagToken(),this.state=f.TAG_NAME,this._stateTagName(E);else switch(E){case n.CODE_POINTS.GREATER_THAN_SIGN:{this._err(d.ERR.missingEndTagName),this.state=f.DATA;break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(d.ERR.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=f.BOGUS_COMMENT,this._stateBogusComment(E)}}_stateTagName(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:{this.state=f.BEFORE_ATTRIBUTE_NAME;break}case n.CODE_POINTS.SOLIDUS:{this.state=f.SELF_CLOSING_START_TAG;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this.state=f.DATA,this.emitCurrentTagToken();break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),N.tagName+=n.REPLACEMENT_CHARACTER;break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInTag),this._emitEOFToken();break}default:N.tagName+=String.fromCodePoint(O(E)?_(E):E)}}_stateRcdataLessThanSign(E){E===n.CODE_POINTS.SOLIDUS?this.state=f.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=f.RCDATA,this._stateRcdata(E))}_stateRcdataEndTagOpen(E){M(E)?(this.state=f.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(E)):(this._emitChars("</"),this.state=f.RCDATA,this._stateRcdata(E))}handleSpecialEndTag(E){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const N=this.currentToken;switch(N.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=f.BEFORE_ATTRIBUTE_NAME,!1;case n.CODE_POINTS.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=f.SELF_CLOSING_START_TAG,!1;case n.CODE_POINTS.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=f.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(E){this.handleSpecialEndTag(E)&&(this._emitChars("</"),this.state=f.RCDATA,this._stateRcdata(E))}_stateRawtextLessThanSign(E){E===n.CODE_POINTS.SOLIDUS?this.state=f.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=f.RAWTEXT,this._stateRawtext(E))}_stateRawtextEndTagOpen(E){M(E)?(this.state=f.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(E)):(this._emitChars("</"),this.state=f.RAWTEXT,this._stateRawtext(E))}_stateRawtextEndTagName(E){this.handleSpecialEndTag(E)&&(this._emitChars("</"),this.state=f.RAWTEXT,this._stateRawtext(E))}_stateScriptDataLessThanSign(E){switch(E){case n.CODE_POINTS.SOLIDUS:{this.state=f.SCRIPT_DATA_END_TAG_OPEN;break}case n.CODE_POINTS.EXCLAMATION_MARK:{this.state=f.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=f.SCRIPT_DATA,this._stateScriptData(E)}}_stateScriptDataEndTagOpen(E){M(E)?(this.state=f.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(E)):(this._emitChars("</"),this.state=f.SCRIPT_DATA,this._stateScriptData(E))}_stateScriptDataEndTagName(E){this.handleSpecialEndTag(E)&&(this._emitChars("</"),this.state=f.SCRIPT_DATA,this._stateScriptData(E))}_stateScriptDataEscapeStart(E){E===n.CODE_POINTS.HYPHEN_MINUS?(this.state=f.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=f.SCRIPT_DATA,this._stateScriptData(E))}_stateScriptDataEscapeStartDash(E){E===n.CODE_POINTS.HYPHEN_MINUS?(this.state=f.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=f.SCRIPT_DATA,this._stateScriptData(E))}_stateScriptDataEscaped(E){switch(E){case n.CODE_POINTS.HYPHEN_MINUS:{this.state=f.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case n.CODE_POINTS.LESS_THAN_SIGN:{this.state=f.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),this._emitChars(n.REPLACEMENT_CHARACTER);break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(E)}}_stateScriptDataEscapedDash(E){switch(E){case n.CODE_POINTS.HYPHEN_MINUS:{this.state=f.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case n.CODE_POINTS.LESS_THAN_SIGN:{this.state=f.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),this.state=f.SCRIPT_DATA_ESCAPED,this._emitChars(n.REPLACEMENT_CHARACTER);break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=f.SCRIPT_DATA_ESCAPED,this._emitCodePoint(E)}}_stateScriptDataEscapedDashDash(E){switch(E){case n.CODE_POINTS.HYPHEN_MINUS:{this._emitChars("-");break}case n.CODE_POINTS.LESS_THAN_SIGN:{this.state=f.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this.state=f.SCRIPT_DATA,this._emitChars(">");break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),this.state=f.SCRIPT_DATA_ESCAPED,this._emitChars(n.REPLACEMENT_CHARACTER);break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=f.SCRIPT_DATA_ESCAPED,this._emitCodePoint(E)}}_stateScriptDataEscapedLessThanSign(E){E===n.CODE_POINTS.SOLIDUS?this.state=f.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:M(E)?(this._emitChars("<"),this.state=f.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(E)):(this._emitChars("<"),this.state=f.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(E))}_stateScriptDataEscapedEndTagOpen(E){M(E)?(this.state=f.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(E)):(this._emitChars("</"),this.state=f.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(E))}_stateScriptDataEscapedEndTagName(E){this.handleSpecialEndTag(E)&&(this._emitChars("</"),this.state=f.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(E))}_stateScriptDataDoubleEscapeStart(E){if(this.preprocessor.startsWith(n.SEQUENCES.SCRIPT,!1)&&Z(this.preprocessor.peek(n.SEQUENCES.SCRIPT.length))){this._emitCodePoint(E);for(let N=0;N<n.SEQUENCES.SCRIPT.length;N++)this._emitCodePoint(this._consume());this.state=f.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=f.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(E))}_stateScriptDataDoubleEscaped(E){switch(E){case n.CODE_POINTS.HYPHEN_MINUS:{this.state=f.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case n.CODE_POINTS.LESS_THAN_SIGN:{this.state=f.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),this._emitChars(n.REPLACEMENT_CHARACTER);break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(E)}}_stateScriptDataDoubleEscapedDash(E){switch(E){case n.CODE_POINTS.HYPHEN_MINUS:{this.state=f.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case n.CODE_POINTS.LESS_THAN_SIGN:{this.state=f.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),this.state=f.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(n.REPLACEMENT_CHARACTER);break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=f.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(E)}}_stateScriptDataDoubleEscapedDashDash(E){switch(E){case n.CODE_POINTS.HYPHEN_MINUS:{this._emitChars("-");break}case n.CODE_POINTS.LESS_THAN_SIGN:{this.state=f.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this.state=f.SCRIPT_DATA,this._emitChars(">");break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),this.state=f.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(n.REPLACEMENT_CHARACTER);break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=f.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(E)}}_stateScriptDataDoubleEscapedLessThanSign(E){E===n.CODE_POINTS.SOLIDUS?(this.state=f.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=f.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(E))}_stateScriptDataDoubleEscapeEnd(E){if(this.preprocessor.startsWith(n.SEQUENCES.SCRIPT,!1)&&Z(this.preprocessor.peek(n.SEQUENCES.SCRIPT.length))){this._emitCodePoint(E);for(let N=0;N<n.SEQUENCES.SCRIPT.length;N++)this._emitCodePoint(this._consume());this.state=f.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=f.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(E))}_stateBeforeAttributeName(E){switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:break;case n.CODE_POINTS.SOLIDUS:case n.CODE_POINTS.GREATER_THAN_SIGN:case n.CODE_POINTS.EOF:{this.state=f.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(E);break}case n.CODE_POINTS.EQUALS_SIGN:{this._err(d.ERR.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=f.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=f.ATTRIBUTE_NAME,this._stateAttributeName(E)}}_stateAttributeName(E){switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:case n.CODE_POINTS.SOLIDUS:case n.CODE_POINTS.GREATER_THAN_SIGN:case n.CODE_POINTS.EOF:{this._leaveAttrName(),this.state=f.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(E);break}case n.CODE_POINTS.EQUALS_SIGN:{this._leaveAttrName(),this.state=f.BEFORE_ATTRIBUTE_VALUE;break}case n.CODE_POINTS.QUOTATION_MARK:case n.CODE_POINTS.APOSTROPHE:case n.CODE_POINTS.LESS_THAN_SIGN:{this._err(d.ERR.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(E);break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),this.currentAttr.name+=n.REPLACEMENT_CHARACTER;break}default:this.currentAttr.name+=String.fromCodePoint(O(E)?_(E):E)}}_stateAfterAttributeName(E){switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:break;case n.CODE_POINTS.SOLIDUS:{this.state=f.SELF_CLOSING_START_TAG;break}case n.CODE_POINTS.EQUALS_SIGN:{this.state=f.BEFORE_ATTRIBUTE_VALUE;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this.state=f.DATA,this.emitCurrentTagToken();break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=f.ATTRIBUTE_NAME,this._stateAttributeName(E)}}_stateBeforeAttributeValue(E){switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:break;case n.CODE_POINTS.QUOTATION_MARK:{this.state=f.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case n.CODE_POINTS.APOSTROPHE:{this.state=f.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this._err(d.ERR.missingAttributeValue),this.state=f.DATA,this.emitCurrentTagToken();break}default:this.state=f.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(E)}}_stateAttributeValueDoubleQuoted(E){switch(E){case n.CODE_POINTS.QUOTATION_MARK:{this.state=f.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case n.CODE_POINTS.AMPERSAND:{this.returnState=f.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=f.CHARACTER_REFERENCE;break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),this.currentAttr.value+=n.REPLACEMENT_CHARACTER;break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(E)}}_stateAttributeValueSingleQuoted(E){switch(E){case n.CODE_POINTS.APOSTROPHE:{this.state=f.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case n.CODE_POINTS.AMPERSAND:{this.returnState=f.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=f.CHARACTER_REFERENCE;break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),this.currentAttr.value+=n.REPLACEMENT_CHARACTER;break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(E)}}_stateAttributeValueUnquoted(E){switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:{this._leaveAttrValue(),this.state=f.BEFORE_ATTRIBUTE_NAME;break}case n.CODE_POINTS.AMPERSAND:{this.returnState=f.ATTRIBUTE_VALUE_UNQUOTED,this.state=f.CHARACTER_REFERENCE;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=f.DATA,this.emitCurrentTagToken();break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),this.currentAttr.value+=n.REPLACEMENT_CHARACTER;break}case n.CODE_POINTS.QUOTATION_MARK:case n.CODE_POINTS.APOSTROPHE:case n.CODE_POINTS.LESS_THAN_SIGN:case n.CODE_POINTS.EQUALS_SIGN:case n.CODE_POINTS.GRAVE_ACCENT:{this._err(d.ERR.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(E);break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(E)}}_stateAfterAttributeValueQuoted(E){switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:{this._leaveAttrValue(),this.state=f.BEFORE_ATTRIBUTE_NAME;break}case n.CODE_POINTS.SOLIDUS:{this._leaveAttrValue(),this.state=f.SELF_CLOSING_START_TAG;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=f.DATA,this.emitCurrentTagToken();break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInTag),this._emitEOFToken();break}default:this._err(d.ERR.missingWhitespaceBetweenAttributes),this.state=f.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(E)}}_stateSelfClosingStartTag(E){switch(E){case n.CODE_POINTS.GREATER_THAN_SIGN:{const N=this.currentToken;N.selfClosing=!0,this.state=f.DATA,this.emitCurrentTagToken();break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInTag),this._emitEOFToken();break}default:this._err(d.ERR.unexpectedSolidusInTag),this.state=f.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(E)}}_stateBogusComment(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.GREATER_THAN_SIGN:{this.state=f.DATA,this.emitCurrentComment(N);break}case n.CODE_POINTS.EOF:{this.emitCurrentComment(N),this._emitEOFToken();break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),N.data+=n.REPLACEMENT_CHARACTER;break}default:N.data+=String.fromCodePoint(E)}}_stateMarkupDeclarationOpen(E){this._consumeSequenceIfMatch(n.SEQUENCES.DASH_DASH,!0)?(this._createCommentToken(n.SEQUENCES.DASH_DASH.length+1),this.state=f.COMMENT_START):this._consumeSequenceIfMatch(n.SEQUENCES.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(n.SEQUENCES.DOCTYPE.length+1),this.state=f.DOCTYPE):this._consumeSequenceIfMatch(n.SEQUENCES.CDATA_START,!0)?this.inForeignNode?this.state=f.CDATA_SECTION:(this._err(d.ERR.cdataInHtmlContent),this._createCommentToken(n.SEQUENCES.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=f.BOGUS_COMMENT):this._ensureHibernation()||(this._err(d.ERR.incorrectlyOpenedComment),this._createCommentToken(2),this.state=f.BOGUS_COMMENT,this._stateBogusComment(E))}_stateCommentStart(E){switch(E){case n.CODE_POINTS.HYPHEN_MINUS:{this.state=f.COMMENT_START_DASH;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this._err(d.ERR.abruptClosingOfEmptyComment),this.state=f.DATA;const N=this.currentToken;this.emitCurrentComment(N);break}default:this.state=f.COMMENT,this._stateComment(E)}}_stateCommentStartDash(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.HYPHEN_MINUS:{this.state=f.COMMENT_END;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this._err(d.ERR.abruptClosingOfEmptyComment),this.state=f.DATA,this.emitCurrentComment(N);break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInComment),this.emitCurrentComment(N),this._emitEOFToken();break}default:N.data+="-",this.state=f.COMMENT,this._stateComment(E)}}_stateComment(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.HYPHEN_MINUS:{this.state=f.COMMENT_END_DASH;break}case n.CODE_POINTS.LESS_THAN_SIGN:{N.data+="<",this.state=f.COMMENT_LESS_THAN_SIGN;break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),N.data+=n.REPLACEMENT_CHARACTER;break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInComment),this.emitCurrentComment(N),this._emitEOFToken();break}default:N.data+=String.fromCodePoint(E)}}_stateCommentLessThanSign(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.EXCLAMATION_MARK:{N.data+="!",this.state=f.COMMENT_LESS_THAN_SIGN_BANG;break}case n.CODE_POINTS.LESS_THAN_SIGN:{N.data+="<";break}default:this.state=f.COMMENT,this._stateComment(E)}}_stateCommentLessThanSignBang(E){E===n.CODE_POINTS.HYPHEN_MINUS?this.state=f.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=f.COMMENT,this._stateComment(E))}_stateCommentLessThanSignBangDash(E){E===n.CODE_POINTS.HYPHEN_MINUS?this.state=f.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=f.COMMENT_END_DASH,this._stateCommentEndDash(E))}_stateCommentLessThanSignBangDashDash(E){E!==n.CODE_POINTS.GREATER_THAN_SIGN&&E!==n.CODE_POINTS.EOF&&this._err(d.ERR.nestedComment),this.state=f.COMMENT_END,this._stateCommentEnd(E)}_stateCommentEndDash(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.HYPHEN_MINUS:{this.state=f.COMMENT_END;break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInComment),this.emitCurrentComment(N),this._emitEOFToken();break}default:N.data+="-",this.state=f.COMMENT,this._stateComment(E)}}_stateCommentEnd(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.GREATER_THAN_SIGN:{this.state=f.DATA,this.emitCurrentComment(N);break}case n.CODE_POINTS.EXCLAMATION_MARK:{this.state=f.COMMENT_END_BANG;break}case n.CODE_POINTS.HYPHEN_MINUS:{N.data+="-";break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInComment),this.emitCurrentComment(N),this._emitEOFToken();break}default:N.data+="--",this.state=f.COMMENT,this._stateComment(E)}}_stateCommentEndBang(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.HYPHEN_MINUS:{N.data+="--!",this.state=f.COMMENT_END_DASH;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this._err(d.ERR.incorrectlyClosedComment),this.state=f.DATA,this.emitCurrentComment(N);break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInComment),this.emitCurrentComment(N),this._emitEOFToken();break}default:N.data+="--!",this.state=f.COMMENT,this._stateComment(E)}}_stateDoctype(E){switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:{this.state=f.BEFORE_DOCTYPE_NAME;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this.state=f.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(E);break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInDoctype),this._createDoctypeToken(null);const N=this.currentToken;N.forceQuirks=!0,this.emitCurrentDoctype(N),this._emitEOFToken();break}default:this._err(d.ERR.missingWhitespaceBeforeDoctypeName),this.state=f.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(E)}}_stateBeforeDoctypeName(E){if(O(E))this._createDoctypeToken(String.fromCharCode(_(E))),this.state=f.DOCTYPE_NAME;else switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:break;case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),this._createDoctypeToken(n.REPLACEMENT_CHARACTER),this.state=f.DOCTYPE_NAME;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this._err(d.ERR.missingDoctypeName),this._createDoctypeToken(null);const N=this.currentToken;N.forceQuirks=!0,this.emitCurrentDoctype(N),this.state=f.DATA;break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInDoctype),this._createDoctypeToken(null);const N=this.currentToken;N.forceQuirks=!0,this.emitCurrentDoctype(N),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(E)),this.state=f.DOCTYPE_NAME}}_stateDoctypeName(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:{this.state=f.AFTER_DOCTYPE_NAME;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this.state=f.DATA,this.emitCurrentDoctype(N);break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),N.name+=n.REPLACEMENT_CHARACTER;break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInDoctype),N.forceQuirks=!0,this.emitCurrentDoctype(N),this._emitEOFToken();break}default:N.name+=String.fromCodePoint(O(E)?_(E):E)}}_stateAfterDoctypeName(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:break;case n.CODE_POINTS.GREATER_THAN_SIGN:{this.state=f.DATA,this.emitCurrentDoctype(N);break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInDoctype),N.forceQuirks=!0,this.emitCurrentDoctype(N),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(n.SEQUENCES.PUBLIC,!1)?this.state=f.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(n.SEQUENCES.SYSTEM,!1)?this.state=f.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(d.ERR.invalidCharacterSequenceAfterDoctypeName),N.forceQuirks=!0,this.state=f.BOGUS_DOCTYPE,this._stateBogusDoctype(E))}}_stateAfterDoctypePublicKeyword(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:{this.state=f.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case n.CODE_POINTS.QUOTATION_MARK:{this._err(d.ERR.missingWhitespaceAfterDoctypePublicKeyword),N.publicId="",this.state=f.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case n.CODE_POINTS.APOSTROPHE:{this._err(d.ERR.missingWhitespaceAfterDoctypePublicKeyword),N.publicId="",this.state=f.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this._err(d.ERR.missingDoctypePublicIdentifier),N.forceQuirks=!0,this.state=f.DATA,this.emitCurrentDoctype(N);break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInDoctype),N.forceQuirks=!0,this.emitCurrentDoctype(N),this._emitEOFToken();break}default:this._err(d.ERR.missingQuoteBeforeDoctypePublicIdentifier),N.forceQuirks=!0,this.state=f.BOGUS_DOCTYPE,this._stateBogusDoctype(E)}}_stateBeforeDoctypePublicIdentifier(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:break;case n.CODE_POINTS.QUOTATION_MARK:{N.publicId="",this.state=f.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case n.CODE_POINTS.APOSTROPHE:{N.publicId="",this.state=f.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this._err(d.ERR.missingDoctypePublicIdentifier),N.forceQuirks=!0,this.state=f.DATA,this.emitCurrentDoctype(N);break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInDoctype),N.forceQuirks=!0,this.emitCurrentDoctype(N),this._emitEOFToken();break}default:this._err(d.ERR.missingQuoteBeforeDoctypePublicIdentifier),N.forceQuirks=!0,this.state=f.BOGUS_DOCTYPE,this._stateBogusDoctype(E)}}_stateDoctypePublicIdentifierDoubleQuoted(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.QUOTATION_MARK:{this.state=f.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),N.publicId+=n.REPLACEMENT_CHARACTER;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this._err(d.ERR.abruptDoctypePublicIdentifier),N.forceQuirks=!0,this.emitCurrentDoctype(N),this.state=f.DATA;break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInDoctype),N.forceQuirks=!0,this.emitCurrentDoctype(N),this._emitEOFToken();break}default:N.publicId+=String.fromCodePoint(E)}}_stateDoctypePublicIdentifierSingleQuoted(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.APOSTROPHE:{this.state=f.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),N.publicId+=n.REPLACEMENT_CHARACTER;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this._err(d.ERR.abruptDoctypePublicIdentifier),N.forceQuirks=!0,this.emitCurrentDoctype(N),this.state=f.DATA;break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInDoctype),N.forceQuirks=!0,this.emitCurrentDoctype(N),this._emitEOFToken();break}default:N.publicId+=String.fromCodePoint(E)}}_stateAfterDoctypePublicIdentifier(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:{this.state=f.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this.state=f.DATA,this.emitCurrentDoctype(N);break}case n.CODE_POINTS.QUOTATION_MARK:{this._err(d.ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),N.systemId="",this.state=f.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case n.CODE_POINTS.APOSTROPHE:{this._err(d.ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),N.systemId="",this.state=f.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInDoctype),N.forceQuirks=!0,this.emitCurrentDoctype(N),this._emitEOFToken();break}default:this._err(d.ERR.missingQuoteBeforeDoctypeSystemIdentifier),N.forceQuirks=!0,this.state=f.BOGUS_DOCTYPE,this._stateBogusDoctype(E)}}_stateBetweenDoctypePublicAndSystemIdentifiers(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:break;case n.CODE_POINTS.GREATER_THAN_SIGN:{this.emitCurrentDoctype(N),this.state=f.DATA;break}case n.CODE_POINTS.QUOTATION_MARK:{N.systemId="",this.state=f.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case n.CODE_POINTS.APOSTROPHE:{N.systemId="",this.state=f.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInDoctype),N.forceQuirks=!0,this.emitCurrentDoctype(N),this._emitEOFToken();break}default:this._err(d.ERR.missingQuoteBeforeDoctypeSystemIdentifier),N.forceQuirks=!0,this.state=f.BOGUS_DOCTYPE,this._stateBogusDoctype(E)}}_stateAfterDoctypeSystemKeyword(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:{this.state=f.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case n.CODE_POINTS.QUOTATION_MARK:{this._err(d.ERR.missingWhitespaceAfterDoctypeSystemKeyword),N.systemId="",this.state=f.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case n.CODE_POINTS.APOSTROPHE:{this._err(d.ERR.missingWhitespaceAfterDoctypeSystemKeyword),N.systemId="",this.state=f.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this._err(d.ERR.missingDoctypeSystemIdentifier),N.forceQuirks=!0,this.state=f.DATA,this.emitCurrentDoctype(N);break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInDoctype),N.forceQuirks=!0,this.emitCurrentDoctype(N),this._emitEOFToken();break}default:this._err(d.ERR.missingQuoteBeforeDoctypeSystemIdentifier),N.forceQuirks=!0,this.state=f.BOGUS_DOCTYPE,this._stateBogusDoctype(E)}}_stateBeforeDoctypeSystemIdentifier(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:break;case n.CODE_POINTS.QUOTATION_MARK:{N.systemId="",this.state=f.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case n.CODE_POINTS.APOSTROPHE:{N.systemId="",this.state=f.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this._err(d.ERR.missingDoctypeSystemIdentifier),N.forceQuirks=!0,this.state=f.DATA,this.emitCurrentDoctype(N);break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInDoctype),N.forceQuirks=!0,this.emitCurrentDoctype(N),this._emitEOFToken();break}default:this._err(d.ERR.missingQuoteBeforeDoctypeSystemIdentifier),N.forceQuirks=!0,this.state=f.BOGUS_DOCTYPE,this._stateBogusDoctype(E)}}_stateDoctypeSystemIdentifierDoubleQuoted(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.QUOTATION_MARK:{this.state=f.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),N.systemId+=n.REPLACEMENT_CHARACTER;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this._err(d.ERR.abruptDoctypeSystemIdentifier),N.forceQuirks=!0,this.emitCurrentDoctype(N),this.state=f.DATA;break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInDoctype),N.forceQuirks=!0,this.emitCurrentDoctype(N),this._emitEOFToken();break}default:N.systemId+=String.fromCodePoint(E)}}_stateDoctypeSystemIdentifierSingleQuoted(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.APOSTROPHE:{this.state=f.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter),N.systemId+=n.REPLACEMENT_CHARACTER;break}case n.CODE_POINTS.GREATER_THAN_SIGN:{this._err(d.ERR.abruptDoctypeSystemIdentifier),N.forceQuirks=!0,this.emitCurrentDoctype(N),this.state=f.DATA;break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInDoctype),N.forceQuirks=!0,this.emitCurrentDoctype(N),this._emitEOFToken();break}default:N.systemId+=String.fromCodePoint(E)}}_stateAfterDoctypeSystemIdentifier(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.SPACE:case n.CODE_POINTS.LINE_FEED:case n.CODE_POINTS.TABULATION:case n.CODE_POINTS.FORM_FEED:break;case n.CODE_POINTS.GREATER_THAN_SIGN:{this.emitCurrentDoctype(N),this.state=f.DATA;break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInDoctype),N.forceQuirks=!0,this.emitCurrentDoctype(N),this._emitEOFToken();break}default:this._err(d.ERR.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=f.BOGUS_DOCTYPE,this._stateBogusDoctype(E)}}_stateBogusDoctype(E){const N=this.currentToken;switch(E){case n.CODE_POINTS.GREATER_THAN_SIGN:{this.emitCurrentDoctype(N),this.state=f.DATA;break}case n.CODE_POINTS.NULL:{this._err(d.ERR.unexpectedNullCharacter);break}case n.CODE_POINTS.EOF:{this.emitCurrentDoctype(N),this._emitEOFToken();break}}}_stateCdataSection(E){switch(E){case n.CODE_POINTS.RIGHT_SQUARE_BRACKET:{this.state=f.CDATA_SECTION_BRACKET;break}case n.CODE_POINTS.EOF:{this._err(d.ERR.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(E)}}_stateCdataSectionBracket(E){E===n.CODE_POINTS.RIGHT_SQUARE_BRACKET?this.state=f.CDATA_SECTION_END:(this._emitChars("]"),this.state=f.CDATA_SECTION,this._stateCdataSection(E))}_stateCdataSectionEnd(E){switch(E){case n.CODE_POINTS.GREATER_THAN_SIGN:{this.state=f.DATA;break}case n.CODE_POINTS.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=f.CDATA_SECTION,this._stateCdataSection(E)}}_stateCharacterReference(E){E===n.CODE_POINTS.NUMBER_SIGN?this.state=f.NUMERIC_CHARACTER_REFERENCE:w(E)?(this.state=f.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(E)):(this._flushCodePointConsumedAsCharacterReference(n.CODE_POINTS.AMPERSAND),this._reconsumeInState(this.returnState,E))}_stateNamedCharacterReference(E){const N=this._matchNamedCharacterReference(E);if(!this._ensureHibernation())if(N){for(let V=0;V<N.length;V++)this._flushCodePointConsumedAsCharacterReference(N[V]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(n.CODE_POINTS.AMPERSAND),this.state=f.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(E){w(E)?this._flushCodePointConsumedAsCharacterReference(E):(E===n.CODE_POINTS.SEMICOLON&&this._err(d.ERR.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,E))}_stateNumericCharacterReference(E){this.charRefCode=0,E===n.CODE_POINTS.LATIN_SMALL_X||E===n.CODE_POINTS.LATIN_CAPITAL_X?this.state=f.HEXADEMICAL_CHARACTER_REFERENCE_START:l(E)?(this.state=f.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(E)):(this._err(d.ERR.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(n.CODE_POINTS.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(n.CODE_POINTS.NUMBER_SIGN),this._reconsumeInState(this.returnState,E))}_stateHexademicalCharacterReferenceStart(E){Y(E)?(this.state=f.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(E)):(this._err(d.ERR.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(n.CODE_POINTS.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(n.CODE_POINTS.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(E){P(E)?this.charRefCode=this.charRefCode*16+E-55:ne(E)?this.charRefCode=this.charRefCode*16+E-87:l(E)?this.charRefCode=this.charRefCode*16+E-48:E===n.CODE_POINTS.SEMICOLON?this.state=f.NUMERIC_CHARACTER_REFERENCE_END:(this._err(d.ERR.missingSemicolonAfterCharacterReference),this.state=f.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(E))}_stateDecimalCharacterReference(E){l(E)?this.charRefCode=this.charRefCode*10+E-48:E===n.CODE_POINTS.SEMICOLON?this.state=f.NUMERIC_CHARACTER_REFERENCE_END:(this._err(d.ERR.missingSemicolonAfterCharacterReference),this.state=f.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(E))}_stateNumericCharacterReferenceEnd(E){if(this.charRefCode===n.CODE_POINTS.NULL)this._err(d.ERR.nullCharacterReference),this.charRefCode=n.CODE_POINTS.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(d.ERR.characterReferenceOutsideUnicodeRange),this.charRefCode=n.CODE_POINTS.REPLACEMENT_CHARACTER;else if((0,n.isSurrogate)(this.charRefCode))this._err(d.ERR.surrogateCharacterReference),this.charRefCode=n.CODE_POINTS.REPLACEMENT_CHARACTER;else if((0,n.isUndefinedCodePoint)(this.charRefCode))this._err(d.ERR.noncharacterCharacterReference);else if((0,n.isControlCodePoint)(this.charRefCode)||this.charRefCode===n.CODE_POINTS.CARRIAGE_RETURN){this._err(d.ERR.controlCharacterReference);const N=h.get(this.charRefCode);N!==void 0&&(this.charRefCode=N)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,E)}}return Bi.Tokenizer=X,Bi}var ln={},ml;function Ff(){if(ml)return ln;ml=1,Object.defineProperty(ln,"__esModule",{value:!0}),ln.OpenElementStack=void 0;const t=mi(),n=new Set([t.TAG_ID.DD,t.TAG_ID.DT,t.TAG_ID.LI,t.TAG_ID.OPTGROUP,t.TAG_ID.OPTION,t.TAG_ID.P,t.TAG_ID.RB,t.TAG_ID.RP,t.TAG_ID.RT,t.TAG_ID.RTC]),c=new Set([...n,t.TAG_ID.CAPTION,t.TAG_ID.COLGROUP,t.TAG_ID.TBODY,t.TAG_ID.TD,t.TAG_ID.TFOOT,t.TAG_ID.TH,t.TAG_ID.THEAD,t.TAG_ID.TR]),u=new Map([[t.TAG_ID.APPLET,t.NS.HTML],[t.TAG_ID.CAPTION,t.NS.HTML],[t.TAG_ID.HTML,t.NS.HTML],[t.TAG_ID.MARQUEE,t.NS.HTML],[t.TAG_ID.OBJECT,t.NS.HTML],[t.TAG_ID.TABLE,t.NS.HTML],[t.TAG_ID.TD,t.NS.HTML],[t.TAG_ID.TEMPLATE,t.NS.HTML],[t.TAG_ID.TH,t.NS.HTML],[t.TAG_ID.ANNOTATION_XML,t.NS.MATHML],[t.TAG_ID.MI,t.NS.MATHML],[t.TAG_ID.MN,t.NS.MATHML],[t.TAG_ID.MO,t.NS.MATHML],[t.TAG_ID.MS,t.NS.MATHML],[t.TAG_ID.MTEXT,t.NS.MATHML],[t.TAG_ID.DESC,t.NS.SVG],[t.TAG_ID.FOREIGN_OBJECT,t.NS.SVG],[t.TAG_ID.TITLE,t.NS.SVG]]),d=[t.TAG_ID.H1,t.TAG_ID.H2,t.TAG_ID.H3,t.TAG_ID.H4,t.TAG_ID.H5,t.TAG_ID.H6],D=[t.TAG_ID.TR,t.TAG_ID.TEMPLATE,t.TAG_ID.HTML],h=[t.TAG_ID.TBODY,t.TAG_ID.TFOOT,t.TAG_ID.THEAD,t.TAG_ID.TEMPLATE,t.TAG_ID.HTML],f=[t.TAG_ID.TABLE,t.TAG_ID.TEMPLATE,t.TAG_ID.HTML],l=[t.TAG_ID.TD,t.TAG_ID.TH];class O{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(M,w,P){this.treeAdapter=w,this.handler=P,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=t.TAG_ID.UNKNOWN,this.current=M}_indexOf(M){return this.items.lastIndexOf(M,this.stackTop)}_isInTemplate(){return this.currentTagId===t.TAG_ID.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===t.NS.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(M,w){this.stackTop++,this.items[this.stackTop]=M,this.current=M,this.tagIDs[this.stackTop]=w,this.currentTagId=w,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(M,w,!0)}pop(){const M=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(M,!0)}replace(M,w){const P=this._indexOf(M);this.items[P]=w,P===this.stackTop&&(this.current=w)}insertAfter(M,w,P){const ne=this._indexOf(M)+1;this.items.splice(ne,0,w),this.tagIDs.splice(ne,0,P),this.stackTop++,ne===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,ne===this.stackTop)}popUntilTagNamePopped(M){let w=this.stackTop+1;do w=this.tagIDs.lastIndexOf(M,w-1);while(w>0&&this.treeAdapter.getNamespaceURI(this.items[w])!==t.NS.HTML);this.shortenToLength(w<0?0:w)}shortenToLength(M){for(;this.stackTop>=M;){const w=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(w,this.stackTop<M)}}popUntilElementPopped(M){const w=this._indexOf(M);this.shortenToLength(w<0?0:w)}popUntilPopped(M,w){const P=this._indexOfTagNames(M,w);this.shortenToLength(P<0?0:P)}popUntilNumberedHeaderPopped(){this.popUntilPopped(d,t.NS.HTML)}popUntilTableCellPopped(){this.popUntilPopped(l,t.NS.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(M,w){for(let P=this.stackTop;P>=0;P--)if(M.includes(this.tagIDs[P])&&this.treeAdapter.getNamespaceURI(this.items[P])===w)return P;return-1}clearBackTo(M,w){const P=this._indexOfTagNames(M,w);this.shortenToLength(P+1)}clearBackToTableContext(){this.clearBackTo(f,t.NS.HTML)}clearBackToTableBodyContext(){this.clearBackTo(h,t.NS.HTML)}clearBackToTableRowContext(){this.clearBackTo(D,t.NS.HTML)}remove(M){const w=this._indexOf(M);w>=0&&(w===this.stackTop?this.pop():(this.items.splice(w,1),this.tagIDs.splice(w,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(M,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===t.TAG_ID.BODY?this.items[1]:null}contains(M){return this._indexOf(M)>-1}getCommonAncestor(M){const w=this._indexOf(M)-1;return w>=0?this.items[w]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===t.TAG_ID.HTML}hasInScope(M){for(let w=this.stackTop;w>=0;w--){const P=this.tagIDs[w],ne=this.treeAdapter.getNamespaceURI(this.items[w]);if(P===M&&ne===t.NS.HTML)return!0;if(u.get(P)===ne)return!1}return!0}hasNumberedHeaderInScope(){for(let M=this.stackTop;M>=0;M--){const w=this.tagIDs[M],P=this.treeAdapter.getNamespaceURI(this.items[M]);if((0,t.isNumberedHeader)(w)&&P===t.NS.HTML)return!0;if(u.get(w)===P)return!1}return!0}hasInListItemScope(M){for(let w=this.stackTop;w>=0;w--){const P=this.tagIDs[w],ne=this.treeAdapter.getNamespaceURI(this.items[w]);if(P===M&&ne===t.NS.HTML)return!0;if((P===t.TAG_ID.UL||P===t.TAG_ID.OL)&&ne===t.NS.HTML||u.get(P)===ne)return!1}return!0}hasInButtonScope(M){for(let w=this.stackTop;w>=0;w--){const P=this.tagIDs[w],ne=this.treeAdapter.getNamespaceURI(this.items[w]);if(P===M&&ne===t.NS.HTML)return!0;if(P===t.TAG_ID.BUTTON&&ne===t.NS.HTML||u.get(P)===ne)return!1}return!0}hasInTableScope(M){for(let w=this.stackTop;w>=0;w--){const P=this.tagIDs[w];if(this.treeAdapter.getNamespaceURI(this.items[w])===t.NS.HTML){if(P===M)return!0;if(P===t.TAG_ID.TABLE||P===t.TAG_ID.TEMPLATE||P===t.TAG_ID.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let M=this.stackTop;M>=0;M--){const w=this.tagIDs[M];if(this.treeAdapter.getNamespaceURI(this.items[M])===t.NS.HTML){if(w===t.TAG_ID.TBODY||w===t.TAG_ID.THEAD||w===t.TAG_ID.TFOOT)return!0;if(w===t.TAG_ID.TABLE||w===t.TAG_ID.HTML)return!1}}return!0}hasInSelectScope(M){for(let w=this.stackTop;w>=0;w--){const P=this.tagIDs[w];if(this.treeAdapter.getNamespaceURI(this.items[w])===t.NS.HTML){if(P===M)return!0;if(P!==t.TAG_ID.OPTION&&P!==t.TAG_ID.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;n.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;c.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(M){for(;this.currentTagId!==M&&c.has(this.currentTagId);)this.pop()}}return ln.OpenElementStack=O,ln}var Lo={},Tl;function Uf(){return Tl||(Tl=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.FormattingElementList=t.EntryType=void 0;const n=3;var c;(function(D){D[D.Marker=0]="Marker",D[D.Element=1]="Element"})(c=t.EntryType||(t.EntryType={}));const u={type:c.Marker};class d{constructor(h){this.treeAdapter=h,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(h,f){const l=[],O=f.length,m=this.treeAdapter.getTagName(h),M=this.treeAdapter.getNamespaceURI(h);for(let w=0;w<this.entries.length;w++){const P=this.entries[w];if(P.type===c.Marker)break;const{element:ne}=P;if(this.treeAdapter.getTagName(ne)===m&&this.treeAdapter.getNamespaceURI(ne)===M){const Y=this.treeAdapter.getAttrList(ne);Y.length===O&&l.push({idx:w,attrs:Y})}}return l}_ensureNoahArkCondition(h){if(this.entries.length<n)return;const f=this.treeAdapter.getAttrList(h),l=this._getNoahArkConditionCandidates(h,f);if(l.length<n)return;const O=new Map(f.map(M=>[M.name,M.value]));let m=0;for(let M=0;M<l.length;M++){const w=l[M];w.attrs.every(P=>O.get(P.name)===P.value)&&(m+=1,m>=n&&this.entries.splice(w.idx,1))}}insertMarker(){this.entries.unshift(u)}pushElement(h,f){this._ensureNoahArkCondition(h),this.entries.unshift({type:c.Element,element:h,token:f})}insertElementAfterBookmark(h,f){const l=this.entries.indexOf(this.bookmark);this.entries.splice(l,0,{type:c.Element,element:h,token:f})}removeEntry(h){const f=this.entries.indexOf(h);f>=0&&this.entries.splice(f,1)}clearToLastMarker(){const h=this.entries.indexOf(u);h>=0?this.entries.splice(0,h+1):this.entries.length=0}getElementEntryInScopeWithTagName(h){const f=this.entries.find(l=>l.type===c.Marker||this.treeAdapter.getTagName(l.element)===h);return f&&f.type===c.Element?f:null}getElementEntry(h){return this.entries.find(f=>f.type===c.Element&&f.element===h)}}t.FormattingElementList=d}(Lo)),Lo}var wo={},yl;function Ko(){return yl||(yl=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTreeAdapter=void 0;const n=mi();function c(u){return{nodeName:"#text",value:u,parentNode:null}}t.defaultTreeAdapter={createDocument(){return{nodeName:"#document",mode:n.DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(u,d,D){return{nodeName:u,tagName:u,attrs:D,namespaceURI:d,childNodes:[],parentNode:null}},createCommentNode(u){return{nodeName:"#comment",data:u,parentNode:null}},appendChild(u,d){u.childNodes.push(d),d.parentNode=u},insertBefore(u,d,D){const h=u.childNodes.indexOf(D);u.childNodes.splice(h,0,d),d.parentNode=u},setTemplateContent(u,d){u.content=d},getTemplateContent(u){return u.content},setDocumentType(u,d,D,h){const f=u.childNodes.find(l=>l.nodeName==="#documentType");if(f)f.name=d,f.publicId=D,f.systemId=h;else{const l={nodeName:"#documentType",name:d,publicId:D,systemId:h,parentNode:null};t.defaultTreeAdapter.appendChild(u,l)}},setDocumentMode(u,d){u.mode=d},getDocumentMode(u){return u.mode},detachNode(u){if(u.parentNode){const d=u.parentNode.childNodes.indexOf(u);u.parentNode.childNodes.splice(d,1),u.parentNode=null}},insertText(u,d){if(u.childNodes.length>0){const D=u.childNodes[u.childNodes.length-1];if(t.defaultTreeAdapter.isTextNode(D)){D.value+=d;return}}t.defaultTreeAdapter.appendChild(u,c(d))},insertTextBefore(u,d,D){const h=u.childNodes[u.childNodes.indexOf(D)-1];h&&t.defaultTreeAdapter.isTextNode(h)?h.value+=d:t.defaultTreeAdapter.insertBefore(u,c(d),D)},adoptAttributes(u,d){const D=new Set(u.attrs.map(h=>h.name));for(let h=0;h<d.length;h++)D.has(d[h].name)||u.attrs.push(d[h])},getFirstChild(u){return u.childNodes[0]},getChildNodes(u){return u.childNodes},getParentNode(u){return u.parentNode},getAttrList(u){return u.attrs},getTagName(u){return u.tagName},getNamespaceURI(u){return u.namespaceURI},getTextNodeContent(u){return u.value},getCommentNodeContent(u){return u.data},getDocumentTypeNodeName(u){return u.name},getDocumentTypeNodePublicId(u){return u.publicId},getDocumentTypeNodeSystemId(u){return u.systemId},isTextNode(u){return u.nodeName==="#text"},isCommentNode(u){return u.nodeName==="#comment"},isDocumentTypeNode(u){return u.nodeName==="#documentType"},isElementNode(u){return Object.prototype.hasOwnProperty.call(u,"tagName")},setNodeSourceCodeLocation(u,d){u.sourceCodeLocation=d},getNodeSourceCodeLocation(u){return u.sourceCodeLocation},updateNodeSourceCodeLocation(u,d){u.sourceCodeLocation=Object.assign(Object.assign({},u.sourceCodeLocation),d)}}}(wo)),wo}var Fi={},El;function jf(){if(El)return Fi;El=1,Object.defineProperty(Fi,"__esModule",{value:!0}),Fi.getDocumentMode=Fi.isConforming=void 0;const t=mi(),n="html",c="about:legacy-compat",u="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",d=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],D=[...d,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],h=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),f=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],l=[...f,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function O(w,P){return P.some(ne=>w.startsWith(ne))}function m(w){return w.name===n&&w.publicId===null&&(w.systemId===null||w.systemId===c)}Fi.isConforming=m;function M(w){if(w.name!==n)return t.DOCUMENT_MODE.QUIRKS;const{systemId:P}=w;if(P&&P.toLowerCase()===u)return t.DOCUMENT_MODE.QUIRKS;let{publicId:ne}=w;if(ne!==null){if(ne=ne.toLowerCase(),h.has(ne))return t.DOCUMENT_MODE.QUIRKS;let Y=P===null?D:d;if(O(ne,Y))return t.DOCUMENT_MODE.QUIRKS;if(Y=P===null?f:l,O(ne,Y))return t.DOCUMENT_MODE.LIMITED_QUIRKS}return t.DOCUMENT_MODE.NO_QUIRKS}return Fi.getDocumentMode=M,Fi}var Ro={},bl;function op(){return bl||(bl=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.isIntegrationPoint=t.adjustTokenSVGTagName=t.adjustTokenXMLAttrs=t.adjustTokenSVGAttrs=t.adjustTokenMathMLAttrs=t.causesExit=t.SVG_TAG_NAMES_ADJUSTMENT_MAP=void 0;const n=mi(),c={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},u="definitionurl",d="definitionURL",D=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(_=>[_.toLowerCase(),_])),h=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:n.NS.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:n.NS.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:n.NS.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:n.NS.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:n.NS.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:n.NS.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:n.NS.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:n.NS.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:n.NS.XML}],["xml:space",{prefix:"xml",name:"space",namespace:n.NS.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:n.NS.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:n.NS.XMLNS}]]);t.SVG_TAG_NAMES_ADJUSTMENT_MAP=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(_=>[_.toLowerCase(),_]));const f=new Set([n.TAG_ID.B,n.TAG_ID.BIG,n.TAG_ID.BLOCKQUOTE,n.TAG_ID.BODY,n.TAG_ID.BR,n.TAG_ID.CENTER,n.TAG_ID.CODE,n.TAG_ID.DD,n.TAG_ID.DIV,n.TAG_ID.DL,n.TAG_ID.DT,n.TAG_ID.EM,n.TAG_ID.EMBED,n.TAG_ID.H1,n.TAG_ID.H2,n.TAG_ID.H3,n.TAG_ID.H4,n.TAG_ID.H5,n.TAG_ID.H6,n.TAG_ID.HEAD,n.TAG_ID.HR,n.TAG_ID.I,n.TAG_ID.IMG,n.TAG_ID.LI,n.TAG_ID.LISTING,n.TAG_ID.MENU,n.TAG_ID.META,n.TAG_ID.NOBR,n.TAG_ID.OL,n.TAG_ID.P,n.TAG_ID.PRE,n.TAG_ID.RUBY,n.TAG_ID.S,n.TAG_ID.SMALL,n.TAG_ID.SPAN,n.TAG_ID.STRONG,n.TAG_ID.STRIKE,n.TAG_ID.SUB,n.TAG_ID.SUP,n.TAG_ID.TABLE,n.TAG_ID.TT,n.TAG_ID.U,n.TAG_ID.UL,n.TAG_ID.VAR]);function l(_){const z=_.tagID;return z===n.TAG_ID.FONT&&_.attrs.some(({name:Z})=>Z===n.ATTRS.COLOR||Z===n.ATTRS.SIZE||Z===n.ATTRS.FACE)||f.has(z)}t.causesExit=l;function O(_){for(let z=0;z<_.attrs.length;z++)if(_.attrs[z].name===u){_.attrs[z].name=d;break}}t.adjustTokenMathMLAttrs=O;function m(_){for(let z=0;z<_.attrs.length;z++){const B=D.get(_.attrs[z].name);B!=null&&(_.attrs[z].name=B)}}t.adjustTokenSVGAttrs=m;function M(_){for(let z=0;z<_.attrs.length;z++){const B=h.get(_.attrs[z].name);B&&(_.attrs[z].prefix=B.prefix,_.attrs[z].name=B.name,_.attrs[z].namespace=B.namespace)}}t.adjustTokenXMLAttrs=M;function w(_){const z=t.SVG_TAG_NAMES_ADJUSTMENT_MAP.get(_.tagName);z!=null&&(_.tagName=z,_.tagID=(0,n.getTagID)(_.tagName))}t.adjustTokenSVGTagName=w;function P(_,z){return z===n.NS.MATHML&&(_===n.TAG_ID.MI||_===n.TAG_ID.MO||_===n.TAG_ID.MN||_===n.TAG_ID.MS||_===n.TAG_ID.MTEXT)}function ne(_,z,B){if(z===n.NS.MATHML&&_===n.TAG_ID.ANNOTATION_XML){for(let Z=0;Z<B.length;Z++)if(B[Z].name===n.ATTRS.ENCODING){const X=B[Z].value.toLowerCase();return X===c.TEXT_HTML||X===c.APPLICATION_XML}}return z===n.NS.SVG&&(_===n.TAG_ID.FOREIGN_OBJECT||_===n.TAG_ID.DESC||_===n.TAG_ID.TITLE)}function Y(_,z,B,Z){return(!Z||Z===n.NS.HTML)&&ne(_,z,B)||(!Z||Z===n.NS.MATHML)&&P(_,z)}t.isIntegrationPoint=Y}(Ro)),Ro}var Sl;function Al(){if(Sl)return un;Sl=1,Object.defineProperty(un,"__esModule",{value:!0}),un.Parser=void 0;const t=ap(),n=Ff(),c=Uf(),u=Ko(),d=jf(),D=op(),h=wa(),f=Ho(),l=mi(),O=Go(),m="hidden",M=8,w=3;var P;(function(p){p[p.INITIAL=0]="INITIAL",p[p.BEFORE_HTML=1]="BEFORE_HTML",p[p.BEFORE_HEAD=2]="BEFORE_HEAD",p[p.IN_HEAD=3]="IN_HEAD",p[p.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",p[p.AFTER_HEAD=5]="AFTER_HEAD",p[p.IN_BODY=6]="IN_BODY",p[p.TEXT=7]="TEXT",p[p.IN_TABLE=8]="IN_TABLE",p[p.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",p[p.IN_CAPTION=10]="IN_CAPTION",p[p.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",p[p.IN_TABLE_BODY=12]="IN_TABLE_BODY",p[p.IN_ROW=13]="IN_ROW",p[p.IN_CELL=14]="IN_CELL",p[p.IN_SELECT=15]="IN_SELECT",p[p.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",p[p.IN_TEMPLATE=17]="IN_TEMPLATE",p[p.AFTER_BODY=18]="AFTER_BODY",p[p.IN_FRAMESET=19]="IN_FRAMESET",p[p.AFTER_FRAMESET=20]="AFTER_FRAMESET",p[p.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",p[p.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(P||(P={}));const ne={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Y=new Set([l.TAG_ID.TABLE,l.TAG_ID.TBODY,l.TAG_ID.TFOOT,l.TAG_ID.THEAD,l.TAG_ID.TR]),_={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:u.defaultTreeAdapter,onParseError:null};class z{constructor(y,se,Te=null,Oe=null){this.fragmentContext=Te,this.scriptHandler=Oe,this.currentToken=null,this.stopped=!1,this.insertionMode=P.INITIAL,this.originalInsertionMode=P.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options=Object.assign(Object.assign({},_),y),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=se??this.treeAdapter.createDocument(),this.tokenizer=new t.Tokenizer(this.options,this),this.activeFormattingElements=new c.FormattingElementList(this.treeAdapter),this.fragmentContextID=Te?(0,l.getTagID)(this.treeAdapter.getTagName(Te)):l.TAG_ID.UNKNOWN,this._setContextModes(Te??this.document,this.fragmentContextID),this.openElements=new n.OpenElementStack(this.document,this.treeAdapter,this)}static parse(y,se){const Te=new this(se);return Te.tokenizer.write(y,!0),Te.document}static getFragmentParser(y,se){const Te=Object.assign(Object.assign({},_),se);y??(y=Te.treeAdapter.createElement(l.TAG_NAMES.TEMPLATE,l.NS.HTML,[]));const Oe=Te.treeAdapter.createElement("documentmock",l.NS.HTML,[]),qe=new this(Te,Oe,y);return qe.fragmentContextID===l.TAG_ID.TEMPLATE&&qe.tmplInsertionModeStack.unshift(P.IN_TEMPLATE),qe._initTokenizerForFragmentParsing(),qe._insertFakeRootElement(),qe._resetInsertionMode(),qe._findFormInFragmentContext(),qe}getFragment(){const y=this.treeAdapter.getFirstChild(this.document),se=this.treeAdapter.createDocumentFragment();return this._adoptNodes(y,se),se}_err(y,se,Te){var Oe;if(!this.onParseError)return;const qe=(Oe=y.location)!==null&&Oe!==void 0?Oe:ne,et={code:se,startLine:qe.startLine,startCol:qe.startCol,startOffset:qe.startOffset,endLine:Te?qe.startLine:qe.endLine,endCol:Te?qe.startCol:qe.endCol,endOffset:Te?qe.startOffset:qe.endOffset};this.onParseError(et)}onItemPush(y,se,Te){var Oe,qe;(qe=(Oe=this.treeAdapter).onItemPush)===null||qe===void 0||qe.call(Oe,y),Te&&this.openElements.stackTop>0&&this._setContextModes(y,se)}onItemPop(y,se){var Te,Oe;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(y,this.currentToken),(Oe=(Te=this.treeAdapter).onItemPop)===null||Oe===void 0||Oe.call(Te,y,this.openElements.current),se){let qe,et;this.openElements.stackTop===0&&this.fragmentContext?(qe=this.fragmentContext,et=this.fragmentContextID):{current:qe,currentTagId:et}=this.openElements,this._setContextModes(qe,et)}}_setContextModes(y,se){const Te=y===this.document||this.treeAdapter.getNamespaceURI(y)===l.NS.HTML;this.currentNotInHTML=!Te,this.tokenizer.inForeignNode=!Te&&!this._isIntegrationPoint(se,y)}_switchToTextParsing(y,se){this._insertElement(y,l.NS.HTML),this.tokenizer.state=se,this.originalInsertionMode=this.insertionMode,this.insertionMode=P.TEXT}switchToPlaintextParsing(){this.insertionMode=P.TEXT,this.originalInsertionMode=P.IN_BODY,this.tokenizer.state=t.TokenizerMode.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let y=this.fragmentContext;for(;y;){if(this.treeAdapter.getTagName(y)===l.TAG_NAMES.FORM){this.formElement=y;break}y=this.treeAdapter.getParentNode(y)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==l.NS.HTML))switch(this.fragmentContextID){case l.TAG_ID.TITLE:case l.TAG_ID.TEXTAREA:{this.tokenizer.state=t.TokenizerMode.RCDATA;break}case l.TAG_ID.STYLE:case l.TAG_ID.XMP:case l.TAG_ID.IFRAME:case l.TAG_ID.NOEMBED:case l.TAG_ID.NOFRAMES:case l.TAG_ID.NOSCRIPT:{this.tokenizer.state=t.TokenizerMode.RAWTEXT;break}case l.TAG_ID.SCRIPT:{this.tokenizer.state=t.TokenizerMode.SCRIPT_DATA;break}case l.TAG_ID.PLAINTEXT:{this.tokenizer.state=t.TokenizerMode.PLAINTEXT;break}}}_setDocumentType(y){const se=y.name||"",Te=y.publicId||"",Oe=y.systemId||"";if(this.treeAdapter.setDocumentType(this.document,se,Te,Oe),y.location){const et=this.treeAdapter.getChildNodes(this.document).find(Ot=>this.treeAdapter.isDocumentTypeNode(Ot));et&&this.treeAdapter.setNodeSourceCodeLocation(et,y.location)}}_attachElementToTree(y,se){if(this.options.sourceCodeLocationInfo){const Te=se&&Object.assign(Object.assign({},se),{startTag:se});this.treeAdapter.setNodeSourceCodeLocation(y,Te)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(y);else{const Te=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(Te,y)}}_appendElement(y,se){const Te=this.treeAdapter.createElement(y.tagName,se,y.attrs);this._attachElementToTree(Te,y.location)}_insertElement(y,se){const Te=this.treeAdapter.createElement(y.tagName,se,y.attrs);this._attachElementToTree(Te,y.location),this.openElements.push(Te,y.tagID)}_insertFakeElement(y,se){const Te=this.treeAdapter.createElement(y,l.NS.HTML,[]);this._attachElementToTree(Te,null),this.openElements.push(Te,se)}_insertTemplate(y){const se=this.treeAdapter.createElement(y.tagName,l.NS.HTML,y.attrs),Te=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(se,Te),this._attachElementToTree(se,y.location),this.openElements.push(se,y.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Te,null)}_insertFakeRootElement(){const y=this.treeAdapter.createElement(l.TAG_NAMES.HTML,l.NS.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(y,null),this.treeAdapter.appendChild(this.openElements.current,y),this.openElements.push(y,l.TAG_ID.HTML)}_appendCommentNode(y,se){const Te=this.treeAdapter.createCommentNode(y.data);this.treeAdapter.appendChild(se,Te),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Te,y.location)}_insertCharacters(y){let se,Te;if(this._shouldFosterParentOnInsertion()?({parent:se,beforeElement:Te}=this._findFosterParentingLocation(),Te?this.treeAdapter.insertTextBefore(se,y.chars,Te):this.treeAdapter.insertText(se,y.chars)):(se=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(se,y.chars)),!y.location)return;const Oe=this.treeAdapter.getChildNodes(se),qe=Te?Oe.lastIndexOf(Te):Oe.length,et=Oe[qe-1];if(this.treeAdapter.getNodeSourceCodeLocation(et)){const{endLine:Le,endCol:Lr,endOffset:wr}=y.location;this.treeAdapter.updateNodeSourceCodeLocation(et,{endLine:Le,endCol:Lr,endOffset:wr})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(et,y.location)}_adoptNodes(y,se){for(let Te=this.treeAdapter.getFirstChild(y);Te;Te=this.treeAdapter.getFirstChild(y))this.treeAdapter.detachNode(Te),this.treeAdapter.appendChild(se,Te)}_setEndLocation(y,se){if(this.treeAdapter.getNodeSourceCodeLocation(y)&&se.location){const Te=se.location,Oe=this.treeAdapter.getTagName(y),qe=se.type===O.TokenType.END_TAG&&Oe===se.tagName?{endTag:Object.assign({},Te),endLine:Te.endLine,endCol:Te.endCol,endOffset:Te.endOffset}:{endLine:Te.startLine,endCol:Te.startCol,endOffset:Te.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(y,qe)}}shouldProcessStartTagTokenInForeignContent(y){if(!this.currentNotInHTML)return!1;let se,Te;return this.openElements.stackTop===0&&this.fragmentContext?(se=this.fragmentContext,Te=this.fragmentContextID):{current:se,currentTagId:Te}=this.openElements,y.tagID===l.TAG_ID.SVG&&this.treeAdapter.getTagName(se)===l.TAG_NAMES.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(se)===l.NS.MATHML?!1:this.tokenizer.inForeignNode||(y.tagID===l.TAG_ID.MGLYPH||y.tagID===l.TAG_ID.MALIGNMARK)&&!this._isIntegrationPoint(Te,se,l.NS.HTML)}_processToken(y){switch(y.type){case O.TokenType.CHARACTER:{this.onCharacter(y);break}case O.TokenType.NULL_CHARACTER:{this.onNullCharacter(y);break}case O.TokenType.COMMENT:{this.onComment(y);break}case O.TokenType.DOCTYPE:{this.onDoctype(y);break}case O.TokenType.START_TAG:{this._processStartTag(y);break}case O.TokenType.END_TAG:{this.onEndTag(y);break}case O.TokenType.EOF:{this.onEof(y);break}case O.TokenType.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(y);break}}}_isIntegrationPoint(y,se,Te){const Oe=this.treeAdapter.getNamespaceURI(se),qe=this.treeAdapter.getAttrList(se);return D.isIntegrationPoint(y,Oe,qe,Te)}_reconstructActiveFormattingElements(){const y=this.activeFormattingElements.entries.length;if(y){const se=this.activeFormattingElements.entries.findIndex(Oe=>Oe.type===c.EntryType.Marker||this.openElements.contains(Oe.element)),Te=se<0?y-1:se-1;for(let Oe=Te;Oe>=0;Oe--){const qe=this.activeFormattingElements.entries[Oe];this._insertElement(qe.token,this.treeAdapter.getNamespaceURI(qe.element)),qe.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=P.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(l.TAG_ID.P),this.openElements.popUntilTagNamePopped(l.TAG_ID.P)}_resetInsertionMode(){for(let y=this.openElements.stackTop;y>=0;y--)switch(y===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[y]){case l.TAG_ID.TR:{this.insertionMode=P.IN_ROW;return}case l.TAG_ID.TBODY:case l.TAG_ID.THEAD:case l.TAG_ID.TFOOT:{this.insertionMode=P.IN_TABLE_BODY;return}case l.TAG_ID.CAPTION:{this.insertionMode=P.IN_CAPTION;return}case l.TAG_ID.COLGROUP:{this.insertionMode=P.IN_COLUMN_GROUP;return}case l.TAG_ID.TABLE:{this.insertionMode=P.IN_TABLE;return}case l.TAG_ID.BODY:{this.insertionMode=P.IN_BODY;return}case l.TAG_ID.FRAMESET:{this.insertionMode=P.IN_FRAMESET;return}case l.TAG_ID.SELECT:{this._resetInsertionModeForSelect(y);return}case l.TAG_ID.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case l.TAG_ID.HTML:{this.insertionMode=this.headElement?P.AFTER_HEAD:P.BEFORE_HEAD;return}case l.TAG_ID.TD:case l.TAG_ID.TH:{if(y>0){this.insertionMode=P.IN_CELL;return}break}case l.TAG_ID.HEAD:{if(y>0){this.insertionMode=P.IN_HEAD;return}break}}this.insertionMode=P.IN_BODY}_resetInsertionModeForSelect(y){if(y>0)for(let se=y-1;se>0;se--){const Te=this.openElements.tagIDs[se];if(Te===l.TAG_ID.TEMPLATE)break;if(Te===l.TAG_ID.TABLE){this.insertionMode=P.IN_SELECT_IN_TABLE;return}}this.insertionMode=P.IN_SELECT}_isElementCausesFosterParenting(y){return Y.has(y)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let y=this.openElements.stackTop;y>=0;y--){const se=this.openElements.items[y];switch(this.openElements.tagIDs[y]){case l.TAG_ID.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(se)===l.NS.HTML)return{parent:this.treeAdapter.getTemplateContent(se),beforeElement:null};break}case l.TAG_ID.TABLE:{const Te=this.treeAdapter.getParentNode(se);return Te?{parent:Te,beforeElement:se}:{parent:this.openElements.items[y-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(y){const se=this._findFosterParentingLocation();se.beforeElement?this.treeAdapter.insertBefore(se.parent,y,se.beforeElement):this.treeAdapter.appendChild(se.parent,y)}_isSpecialElement(y,se){const Te=this.treeAdapter.getNamespaceURI(y);return l.SPECIAL_ELEMENTS[Te].has(se)}onCharacter(y){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){ei(this,y);return}switch(this.insertionMode){case P.INITIAL:{Q(this,y);break}case P.BEFORE_HTML:{ae(this,y);break}case P.BEFORE_HEAD:{le(this,y);break}case P.IN_HEAD:{De(this,y);break}case P.IN_HEAD_NO_SCRIPT:{Re(this,y);break}case P.AFTER_HEAD:{he(this,y);break}case P.IN_BODY:case P.IN_CAPTION:case P.IN_CELL:case P.IN_TEMPLATE:{Je(this,y);break}case P.TEXT:case P.IN_SELECT:case P.IN_SELECT_IN_TABLE:{this._insertCharacters(y);break}case P.IN_TABLE:case P.IN_TABLE_BODY:case P.IN_ROW:{Lt(this,y);break}case P.IN_TABLE_TEXT:{yr(this,y);break}case P.IN_COLUMN_GROUP:{sr(this,y);break}case P.AFTER_BODY:{pr(this,y);break}case P.AFTER_AFTER_BODY:{fr(this,y);break}}}onNullCharacter(y){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Zr(this,y);return}switch(this.insertionMode){case P.INITIAL:{Q(this,y);break}case P.BEFORE_HTML:{ae(this,y);break}case P.BEFORE_HEAD:{le(this,y);break}case P.IN_HEAD:{De(this,y);break}case P.IN_HEAD_NO_SCRIPT:{Re(this,y);break}case P.AFTER_HEAD:{he(this,y);break}case P.TEXT:{this._insertCharacters(y);break}case P.IN_TABLE:case P.IN_TABLE_BODY:case P.IN_ROW:{Lt(this,y);break}case P.IN_COLUMN_GROUP:{sr(this,y);break}case P.AFTER_BODY:{pr(this,y);break}case P.AFTER_AFTER_BODY:{fr(this,y);break}}}onComment(y){if(this.skipNextNewLine=!1,this.currentNotInHTML){te(this,y);return}switch(this.insertionMode){case P.INITIAL:case P.BEFORE_HTML:case P.BEFORE_HEAD:case P.IN_HEAD:case P.IN_HEAD_NO_SCRIPT:case P.AFTER_HEAD:case P.IN_BODY:case P.IN_TABLE:case P.IN_CAPTION:case P.IN_COLUMN_GROUP:case P.IN_TABLE_BODY:case P.IN_ROW:case P.IN_CELL:case P.IN_SELECT:case P.IN_SELECT_IN_TABLE:case P.IN_TEMPLATE:case P.IN_FRAMESET:case P.AFTER_FRAMESET:{te(this,y);break}case P.IN_TABLE_TEXT:{Kt(this,y);break}case P.AFTER_BODY:{U(this,y);break}case P.AFTER_AFTER_BODY:case P.AFTER_AFTER_FRAMESET:{R(this,y);break}}}onDoctype(y){switch(this.skipNextNewLine=!1,this.insertionMode){case P.INITIAL:{F(this,y);break}case P.BEFORE_HEAD:case P.IN_HEAD:case P.IN_HEAD_NO_SCRIPT:case P.AFTER_HEAD:{this._err(y,h.ERR.misplacedDoctype);break}case P.IN_TABLE_TEXT:{Kt(this,y);break}}}onStartTag(y){this.skipNextNewLine=!1,this.currentToken=y,this._processStartTag(y),y.selfClosing&&!y.ackSelfClosing&&this._err(y,h.ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(y){this.shouldProcessStartTagTokenInForeignContent(y)?Ut(this,y):this._startTagOutsideForeignContent(y)}_startTagOutsideForeignContent(y){switch(this.insertionMode){case P.INITIAL:{Q(this,y);break}case P.BEFORE_HTML:{re(this,y);break}case P.BEFORE_HEAD:{H(this,y);break}case P.IN_HEAD:{ye(this,y);break}case P.IN_HEAD_NO_SCRIPT:{Me(this,y);break}case P.AFTER_HEAD:{Ye(this,y);break}case P.IN_BODY:{dt(this,y);break}case P.IN_TABLE:{Bt(this,y);break}case P.IN_TABLE_TEXT:{Kt(this,y);break}case P.IN_CAPTION:{Gr(this,y);break}case P.IN_COLUMN_GROUP:{Er(this,y);break}case P.IN_TABLE_BODY:{Ft(this,y);break}case P.IN_ROW:{ar(this,y);break}case P.IN_CELL:{Yr(this,y);break}case P.IN_SELECT:{br(this,y);break}case P.IN_SELECT_IN_TABLE:{or(this,y);break}case P.IN_TEMPLATE:{ur(this,y);break}case P.AFTER_BODY:{Wr(this,y);break}case P.IN_FRAMESET:{Jr(this,y);break}case P.AFTER_FRAMESET:{je(this,y);break}case P.AFTER_AFTER_BODY:{Or(this,y);break}case P.AFTER_AFTER_FRAMESET:{Qr(this,y);break}}}onEndTag(y){this.skipNextNewLine=!1,this.currentToken=y,this.currentNotInHTML?Rt(this,y):this._endTagOutsideForeignContent(y)}_endTagOutsideForeignContent(y){switch(this.insertionMode){case P.INITIAL:{Q(this,y);break}case P.BEFORE_HTML:{ue(this,y);break}case P.BEFORE_HEAD:{oe(this,y);break}case P.IN_HEAD:{Se(this,y);break}case P.IN_HEAD_NO_SCRIPT:{xe(this,y);break}case P.AFTER_HEAD:{ce(this,y);break}case P.IN_BODY:{_t(this,y);break}case P.TEXT:{jr(this,y);break}case P.IN_TABLE:{Jt(this,y);break}case P.IN_TABLE_TEXT:{Kt(this,y);break}case P.IN_CAPTION:{wt(this,y);break}case P.IN_COLUMN_GROUP:{Kr(this,y);break}case P.IN_TABLE_BODY:{nr(this,y);break}case P.IN_ROW:{Nr(this,y);break}case P.IN_CELL:{Vr(this,y);break}case P.IN_SELECT:{Dr(this,y);break}case P.IN_SELECT_IN_TABLE:{Xr(this,y);break}case P.IN_TEMPLATE:{cr(this,y);break}case P.AFTER_BODY:{xt(this,y);break}case P.IN_FRAMESET:{zr(this,y);break}case P.AFTER_FRAMESET:{$r(this,y);break}case P.AFTER_AFTER_BODY:{fr(this,y);break}}}onEof(y){switch(this.insertionMode){case P.INITIAL:{Q(this,y);break}case P.BEFORE_HTML:{ae(this,y);break}case P.BEFORE_HEAD:{le(this,y);break}case P.IN_HEAD:{De(this,y);break}case P.IN_HEAD_NO_SCRIPT:{Re(this,y);break}case P.AFTER_HEAD:{he(this,y);break}case P.IN_BODY:case P.IN_TABLE:case P.IN_CAPTION:case P.IN_COLUMN_GROUP:case P.IN_TABLE_BODY:case P.IN_ROW:case P.IN_CELL:case P.IN_SELECT:case P.IN_SELECT_IN_TABLE:{_r(this,y);break}case P.TEXT:{tr(this,y);break}case P.IN_TABLE_TEXT:{Kt(this,y);break}case P.IN_TEMPLATE:{lr(this,y);break}case P.AFTER_BODY:case P.IN_FRAMESET:case P.AFTER_FRAMESET:case P.AFTER_AFTER_BODY:case P.AFTER_AFTER_FRAMESET:{J(this,y);break}}}onWhitespaceCharacter(y){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,y.chars.charCodeAt(0)===f.CODE_POINTS.LINE_FEED)){if(y.chars.length===1)return;y.chars=y.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(y);return}switch(this.insertionMode){case P.IN_HEAD:case P.IN_HEAD_NO_SCRIPT:case P.AFTER_HEAD:case P.TEXT:case P.IN_COLUMN_GROUP:case P.IN_SELECT:case P.IN_SELECT_IN_TABLE:case P.IN_FRAMESET:case P.AFTER_FRAMESET:{this._insertCharacters(y);break}case P.IN_BODY:case P.IN_CAPTION:case P.IN_CELL:case P.IN_TEMPLATE:case P.AFTER_BODY:case P.AFTER_AFTER_BODY:case P.AFTER_AFTER_FRAMESET:{Ve(this,y);break}case P.IN_TABLE:case P.IN_TABLE_BODY:case P.IN_ROW:{Lt(this,y);break}case P.IN_TABLE_TEXT:{ir(this,y);break}}}}un.Parser=z;function B(p,y){let se=p.activeFormattingElements.getElementEntryInScopeWithTagName(y.tagName);return se?p.openElements.contains(se.element)?p.openElements.hasInScope(y.tagID)||(se=null):(p.activeFormattingElements.removeEntry(se),se=null):Gt(p,y),se}function Z(p,y){let se=null,Te=p.openElements.stackTop;for(;Te>=0;Te--){const Oe=p.openElements.items[Te];if(Oe===y.element)break;p._isSpecialElement(Oe,p.openElements.tagIDs[Te])&&(se=Oe)}return se||(p.openElements.shortenToLength(Te<0?0:Te),p.activeFormattingElements.removeEntry(y)),se}function X(p,y,se){let Te=y,Oe=p.openElements.getCommonAncestor(y);for(let qe=0,et=Oe;et!==se;qe++,et=Oe){Oe=p.openElements.getCommonAncestor(et);const Ot=p.activeFormattingElements.getElementEntry(et),Le=Ot&&qe>=w;!Ot||Le?(Le&&p.activeFormattingElements.removeEntry(Ot),p.openElements.remove(et)):(et=I(p,Ot),Te===y&&(p.activeFormattingElements.bookmark=Ot),p.treeAdapter.detachNode(Te),p.treeAdapter.appendChild(et,Te),Te=et)}return Te}function I(p,y){const se=p.treeAdapter.getNamespaceURI(y.element),Te=p.treeAdapter.createElement(y.token.tagName,se,y.token.attrs);return p.openElements.replace(y.element,Te),y.element=Te,Te}function E(p,y,se){const Te=p.treeAdapter.getTagName(y),Oe=(0,l.getTagID)(Te);if(p._isElementCausesFosterParenting(Oe))p._fosterParentElement(se);else{const qe=p.treeAdapter.getNamespaceURI(y);Oe===l.TAG_ID.TEMPLATE&&qe===l.NS.HTML&&(y=p.treeAdapter.getTemplateContent(y)),p.treeAdapter.appendChild(y,se)}}function N(p,y,se){const Te=p.treeAdapter.getNamespaceURI(se.element),{token:Oe}=se,qe=p.treeAdapter.createElement(Oe.tagName,Te,Oe.attrs);p._adoptNodes(y,qe),p.treeAdapter.appendChild(y,qe),p.activeFormattingElements.insertElementAfterBookmark(qe,Oe),p.activeFormattingElements.removeEntry(se),p.openElements.remove(se.element),p.openElements.insertAfter(y,qe,Oe.tagID)}function V(p,y){for(let se=0;se<M;se++){const Te=B(p,y);if(!Te)break;const Oe=Z(p,Te);if(!Oe)break;p.activeFormattingElements.bookmark=Te;const qe=X(p,Oe,Te.element),et=p.openElements.getCommonAncestor(Te.element);p.treeAdapter.detachNode(qe),et&&E(p,et,qe),N(p,Oe,Te)}}function te(p,y){p._appendCommentNode(y,p.openElements.currentTmplContentOrNode)}function U(p,y){p._appendCommentNode(y,p.openElements.items[0])}function R(p,y){p._appendCommentNode(y,p.document)}function J(p,y){if(p.stopped=!0,y.location){const se=p.fragmentContext?0:2;for(let Te=p.openElements.stackTop;Te>=se;Te--)p._setEndLocation(p.openElements.items[Te],y);if(!p.fragmentContext&&p.openElements.stackTop>=0){const Te=p.openElements.items[0],Oe=p.treeAdapter.getNodeSourceCodeLocation(Te);if(Oe&&!Oe.endTag&&(p._setEndLocation(Te,y),p.openElements.stackTop>=1)){const qe=p.openElements.items[1],et=p.treeAdapter.getNodeSourceCodeLocation(qe);et&&!et.endTag&&p._setEndLocation(qe,y)}}}}function F(p,y){p._setDocumentType(y);const se=y.forceQuirks?l.DOCUMENT_MODE.QUIRKS:d.getDocumentMode(y);d.isConforming(y)||p._err(y,h.ERR.nonConformingDoctype),p.treeAdapter.setDocumentMode(p.document,se),p.insertionMode=P.BEFORE_HTML}function Q(p,y){p._err(y,h.ERR.missingDoctype,!0),p.treeAdapter.setDocumentMode(p.document,l.DOCUMENT_MODE.QUIRKS),p.insertionMode=P.BEFORE_HTML,p._processToken(y)}function re(p,y){y.tagID===l.TAG_ID.HTML?(p._insertElement(y,l.NS.HTML),p.insertionMode=P.BEFORE_HEAD):ae(p,y)}function ue(p,y){const se=y.tagID;(se===l.TAG_ID.HTML||se===l.TAG_ID.HEAD||se===l.TAG_ID.BODY||se===l.TAG_ID.BR)&&ae(p,y)}function ae(p,y){p._insertFakeRootElement(),p.insertionMode=P.BEFORE_HEAD,p._processToken(y)}function H(p,y){switch(y.tagID){case l.TAG_ID.HTML:{dt(p,y);break}case l.TAG_ID.HEAD:{p._insertElement(y,l.NS.HTML),p.headElement=p.openElements.current,p.insertionMode=P.IN_HEAD;break}default:le(p,y)}}function oe(p,y){const se=y.tagID;se===l.TAG_ID.HEAD||se===l.TAG_ID.BODY||se===l.TAG_ID.HTML||se===l.TAG_ID.BR?le(p,y):p._err(y,h.ERR.endTagWithoutMatchingOpenElement)}function le(p,y){p._insertFakeElement(l.TAG_NAMES.HEAD,l.TAG_ID.HEAD),p.headElement=p.openElements.current,p.insertionMode=P.IN_HEAD,p._processToken(y)}function ye(p,y){switch(y.tagID){case l.TAG_ID.HTML:{dt(p,y);break}case l.TAG_ID.BASE:case l.TAG_ID.BASEFONT:case l.TAG_ID.BGSOUND:case l.TAG_ID.LINK:case l.TAG_ID.META:{p._appendElement(y,l.NS.HTML),y.ackSelfClosing=!0;break}case l.TAG_ID.TITLE:{p._switchToTextParsing(y,t.TokenizerMode.RCDATA);break}case l.TAG_ID.NOSCRIPT:{p.options.scriptingEnabled?p._switchToTextParsing(y,t.TokenizerMode.RAWTEXT):(p._insertElement(y,l.NS.HTML),p.insertionMode=P.IN_HEAD_NO_SCRIPT);break}case l.TAG_ID.NOFRAMES:case l.TAG_ID.STYLE:{p._switchToTextParsing(y,t.TokenizerMode.RAWTEXT);break}case l.TAG_ID.SCRIPT:{p._switchToTextParsing(y,t.TokenizerMode.SCRIPT_DATA);break}case l.TAG_ID.TEMPLATE:{p._insertTemplate(y),p.activeFormattingElements.insertMarker(),p.framesetOk=!1,p.insertionMode=P.IN_TEMPLATE,p.tmplInsertionModeStack.unshift(P.IN_TEMPLATE);break}case l.TAG_ID.HEAD:{p._err(y,h.ERR.misplacedStartTagForHeadElement);break}default:De(p,y)}}function Se(p,y){switch(y.tagID){case l.TAG_ID.HEAD:{p.openElements.pop(),p.insertionMode=P.AFTER_HEAD;break}case l.TAG_ID.BODY:case l.TAG_ID.BR:case l.TAG_ID.HTML:{De(p,y);break}case l.TAG_ID.TEMPLATE:{Ie(p,y);break}default:p._err(y,h.ERR.endTagWithoutMatchingOpenElement)}}function Ie(p,y){p.openElements.tmplCount>0?(p.openElements.generateImpliedEndTagsThoroughly(),p.openElements.currentTagId!==l.TAG_ID.TEMPLATE&&p._err(y,h.ERR.closingOfElementWithOpenChildElements),p.openElements.popUntilTagNamePopped(l.TAG_ID.TEMPLATE),p.activeFormattingElements.clearToLastMarker(),p.tmplInsertionModeStack.shift(),p._resetInsertionMode()):p._err(y,h.ERR.endTagWithoutMatchingOpenElement)}function De(p,y){p.openElements.pop(),p.insertionMode=P.AFTER_HEAD,p._processToken(y)}function Me(p,y){switch(y.tagID){case l.TAG_ID.HTML:{dt(p,y);break}case l.TAG_ID.BASEFONT:case l.TAG_ID.BGSOUND:case l.TAG_ID.HEAD:case l.TAG_ID.LINK:case l.TAG_ID.META:case l.TAG_ID.NOFRAMES:case l.TAG_ID.STYLE:{ye(p,y);break}case l.TAG_ID.NOSCRIPT:{p._err(y,h.ERR.nestedNoscriptInHead);break}default:Re(p,y)}}function xe(p,y){switch(y.tagID){case l.TAG_ID.NOSCRIPT:{p.openElements.pop(),p.insertionMode=P.IN_HEAD;break}case l.TAG_ID.BR:{Re(p,y);break}default:p._err(y,h.ERR.endTagWithoutMatchingOpenElement)}}function Re(p,y){const se=y.type===O.TokenType.EOF?h.ERR.openElementsLeftAfterEof:h.ERR.disallowedContentInNoscriptInHead;p._err(y,se),p.openElements.pop(),p.insertionMode=P.IN_HEAD,p._processToken(y)}function Ye(p,y){switch(y.tagID){case l.TAG_ID.HTML:{dt(p,y);break}case l.TAG_ID.BODY:{p._insertElement(y,l.NS.HTML),p.framesetOk=!1,p.insertionMode=P.IN_BODY;break}case l.TAG_ID.FRAMESET:{p._insertElement(y,l.NS.HTML),p.insertionMode=P.IN_FRAMESET;break}case l.TAG_ID.BASE:case l.TAG_ID.BASEFONT:case l.TAG_ID.BGSOUND:case l.TAG_ID.LINK:case l.TAG_ID.META:case l.TAG_ID.NOFRAMES:case l.TAG_ID.SCRIPT:case l.TAG_ID.STYLE:case l.TAG_ID.TEMPLATE:case l.TAG_ID.TITLE:{p._err(y,h.ERR.abandonedHeadElementChild),p.openElements.push(p.headElement,l.TAG_ID.HEAD),ye(p,y),p.openElements.remove(p.headElement);break}case l.TAG_ID.HEAD:{p._err(y,h.ERR.misplacedStartTagForHeadElement);break}default:he(p,y)}}function ce(p,y){switch(y.tagID){case l.TAG_ID.BODY:case l.TAG_ID.HTML:case l.TAG_ID.BR:{he(p,y);break}case l.TAG_ID.TEMPLATE:{Ie(p,y);break}default:p._err(y,h.ERR.endTagWithoutMatchingOpenElement)}}function he(p,y){p._insertFakeElement(l.TAG_NAMES.BODY,l.TAG_ID.BODY),p.insertionMode=P.IN_BODY,fe(p,y)}function fe(p,y){switch(y.type){case O.TokenType.CHARACTER:{Je(p,y);break}case O.TokenType.WHITESPACE_CHARACTER:{Ve(p,y);break}case O.TokenType.COMMENT:{te(p,y);break}case O.TokenType.START_TAG:{dt(p,y);break}case O.TokenType.END_TAG:{_t(p,y);break}case O.TokenType.EOF:{_r(p,y);break}}}function Ve(p,y){p._reconstructActiveFormattingElements(),p._insertCharacters(y)}function Je(p,y){p._reconstructActiveFormattingElements(),p._insertCharacters(y),p.framesetOk=!1}function it(p,y){p.openElements.tmplCount===0&&p.treeAdapter.adoptAttributes(p.openElements.items[0],y.attrs)}function pt(p,y){const se=p.openElements.tryPeekProperlyNestedBodyElement();se&&p.openElements.tmplCount===0&&(p.framesetOk=!1,p.treeAdapter.adoptAttributes(se,y.attrs))}function ft(p,y){const se=p.openElements.tryPeekProperlyNestedBodyElement();p.framesetOk&&se&&(p.treeAdapter.detachNode(se),p.openElements.popAllUpToHtmlElement(),p._insertElement(y,l.NS.HTML),p.insertionMode=P.IN_FRAMESET)}function yt(p,y){p.openElements.hasInButtonScope(l.TAG_ID.P)&&p._closePElement(),p._insertElement(y,l.NS.HTML)}function Et(p,y){p.openElements.hasInButtonScope(l.TAG_ID.P)&&p._closePElement(),(0,l.isNumberedHeader)(p.openElements.currentTagId)&&p.openElements.pop(),p._insertElement(y,l.NS.HTML)}function bt(p,y){p.openElements.hasInButtonScope(l.TAG_ID.P)&&p._closePElement(),p._insertElement(y,l.NS.HTML),p.skipNextNewLine=!0,p.framesetOk=!1}function gt(p,y){const se=p.openElements.tmplCount>0;(!p.formElement||se)&&(p.openElements.hasInButtonScope(l.TAG_ID.P)&&p._closePElement(),p._insertElement(y,l.NS.HTML),se||(p.formElement=p.openElements.current))}function Nt(p,y){p.framesetOk=!1;const se=y.tagID;for(let Te=p.openElements.stackTop;Te>=0;Te--){const Oe=p.openElements.tagIDs[Te];if(se===l.TAG_ID.LI&&Oe===l.TAG_ID.LI||(se===l.TAG_ID.DD||se===l.TAG_ID.DT)&&(Oe===l.TAG_ID.DD||Oe===l.TAG_ID.DT)){p.openElements.generateImpliedEndTagsWithExclusion(Oe),p.openElements.popUntilTagNamePopped(Oe);break}if(Oe!==l.TAG_ID.ADDRESS&&Oe!==l.TAG_ID.DIV&&Oe!==l.TAG_ID.P&&p._isSpecialElement(p.openElements.items[Te],Oe))break}p.openElements.hasInButtonScope(l.TAG_ID.P)&&p._closePElement(),p._insertElement(y,l.NS.HTML)}function It(p,y){p.openElements.hasInButtonScope(l.TAG_ID.P)&&p._closePElement(),p._insertElement(y,l.NS.HTML),p.tokenizer.state=t.TokenizerMode.PLAINTEXT}function de(p,y){p.openElements.hasInScope(l.TAG_ID.BUTTON)&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilTagNamePopped(l.TAG_ID.BUTTON)),p._reconstructActiveFormattingElements(),p._insertElement(y,l.NS.HTML),p.framesetOk=!1}function Ee(p,y){const se=p.activeFormattingElements.getElementEntryInScopeWithTagName(l.TAG_NAMES.A);se&&(V(p,y),p.openElements.remove(se.element),p.activeFormattingElements.removeEntry(se)),p._reconstructActiveFormattingElements(),p._insertElement(y,l.NS.HTML),p.activeFormattingElements.pushElement(p.openElements.current,y)}function Ae(p,y){p._reconstructActiveFormattingElements(),p._insertElement(y,l.NS.HTML),p.activeFormattingElements.pushElement(p.openElements.current,y)}function Ce(p,y){p._reconstructActiveFormattingElements(),p.openElements.hasInScope(l.TAG_ID.NOBR)&&(V(p,y),p._reconstructActiveFormattingElements()),p._insertElement(y,l.NS.HTML),p.activeFormattingElements.pushElement(p.openElements.current,y)}function Fe(p,y){p._reconstructActiveFormattingElements(),p._insertElement(y,l.NS.HTML),p.activeFormattingElements.insertMarker(),p.framesetOk=!1}function ve(p,y){p.treeAdapter.getDocumentMode(p.document)!==l.DOCUMENT_MODE.QUIRKS&&p.openElements.hasInButtonScope(l.TAG_ID.P)&&p._closePElement(),p._insertElement(y,l.NS.HTML),p.framesetOk=!1,p.insertionMode=P.IN_TABLE}function Ke(p,y){p._reconstructActiveFormattingElements(),p._appendElement(y,l.NS.HTML),p.framesetOk=!1,y.ackSelfClosing=!0}function Xe(p){const y=(0,O.getTokenAttr)(p,l.ATTRS.TYPE);return y!=null&&y.toLowerCase()===m}function Ge(p,y){p._reconstructActiveFormattingElements(),p._appendElement(y,l.NS.HTML),Xe(y)||(p.framesetOk=!1),y.ackSelfClosing=!0}function We(p,y){p._appendElement(y,l.NS.HTML),y.ackSelfClosing=!0}function at(p,y){p.openElements.hasInButtonScope(l.TAG_ID.P)&&p._closePElement(),p._appendElement(y,l.NS.HTML),p.framesetOk=!1,y.ackSelfClosing=!0}function tt(p,y){y.tagName=l.TAG_NAMES.IMG,y.tagID=l.TAG_ID.IMG,Ke(p,y)}function ge(p,y){p._insertElement(y,l.NS.HTML),p.skipNextNewLine=!0,p.tokenizer.state=t.TokenizerMode.RCDATA,p.originalInsertionMode=p.insertionMode,p.framesetOk=!1,p.insertionMode=P.TEXT}function $e(p,y){p.openElements.hasInButtonScope(l.TAG_ID.P)&&p._closePElement(),p._reconstructActiveFormattingElements(),p.framesetOk=!1,p._switchToTextParsing(y,t.TokenizerMode.RAWTEXT)}function ot(p,y){p.framesetOk=!1,p._switchToTextParsing(y,t.TokenizerMode.RAWTEXT)}function ie(p,y){p._switchToTextParsing(y,t.TokenizerMode.RAWTEXT)}function G(p,y){p._reconstructActiveFormattingElements(),p._insertElement(y,l.NS.HTML),p.framesetOk=!1,p.insertionMode=p.insertionMode===P.IN_TABLE||p.insertionMode===P.IN_CAPTION||p.insertionMode===P.IN_TABLE_BODY||p.insertionMode===P.IN_ROW||p.insertionMode===P.IN_CELL?P.IN_SELECT_IN_TABLE:P.IN_SELECT}function be(p,y){p.openElements.currentTagId===l.TAG_ID.OPTION&&p.openElements.pop(),p._reconstructActiveFormattingElements(),p._insertElement(y,l.NS.HTML)}function Ue(p,y){p.openElements.hasInScope(l.TAG_ID.RUBY)&&p.openElements.generateImpliedEndTags(),p._insertElement(y,l.NS.HTML)}function He(p,y){p.openElements.hasInScope(l.TAG_ID.RUBY)&&p.openElements.generateImpliedEndTagsWithExclusion(l.TAG_ID.RTC),p._insertElement(y,l.NS.HTML)}function ct(p,y){p._reconstructActiveFormattingElements(),D.adjustTokenMathMLAttrs(y),D.adjustTokenXMLAttrs(y),y.selfClosing?p._appendElement(y,l.NS.MATHML):p._insertElement(y,l.NS.MATHML),y.ackSelfClosing=!0}function Vt(p,y){p._reconstructActiveFormattingElements(),D.adjustTokenSVGAttrs(y),D.adjustTokenXMLAttrs(y),y.selfClosing?p._appendElement(y,l.NS.SVG):p._insertElement(y,l.NS.SVG),y.ackSelfClosing=!0}function Xt(p,y){p._reconstructActiveFormattingElements(),p._insertElement(y,l.NS.HTML)}function dt(p,y){switch(y.tagID){case l.TAG_ID.I:case l.TAG_ID.S:case l.TAG_ID.B:case l.TAG_ID.U:case l.TAG_ID.EM:case l.TAG_ID.TT:case l.TAG_ID.BIG:case l.TAG_ID.CODE:case l.TAG_ID.FONT:case l.TAG_ID.SMALL:case l.TAG_ID.STRIKE:case l.TAG_ID.STRONG:{Ae(p,y);break}case l.TAG_ID.A:{Ee(p,y);break}case l.TAG_ID.H1:case l.TAG_ID.H2:case l.TAG_ID.H3:case l.TAG_ID.H4:case l.TAG_ID.H5:case l.TAG_ID.H6:{Et(p,y);break}case l.TAG_ID.P:case l.TAG_ID.DL:case l.TAG_ID.OL:case l.TAG_ID.UL:case l.TAG_ID.DIV:case l.TAG_ID.DIR:case l.TAG_ID.NAV:case l.TAG_ID.MAIN:case l.TAG_ID.MENU:case l.TAG_ID.ASIDE:case l.TAG_ID.CENTER:case l.TAG_ID.FIGURE:case l.TAG_ID.FOOTER:case l.TAG_ID.HEADER:case l.TAG_ID.HGROUP:case l.TAG_ID.DIALOG:case l.TAG_ID.DETAILS:case l.TAG_ID.ADDRESS:case l.TAG_ID.ARTICLE:case l.TAG_ID.SECTION:case l.TAG_ID.SUMMARY:case l.TAG_ID.FIELDSET:case l.TAG_ID.BLOCKQUOTE:case l.TAG_ID.FIGCAPTION:{yt(p,y);break}case l.TAG_ID.LI:case l.TAG_ID.DD:case l.TAG_ID.DT:{Nt(p,y);break}case l.TAG_ID.BR:case l.TAG_ID.IMG:case l.TAG_ID.WBR:case l.TAG_ID.AREA:case l.TAG_ID.EMBED:case l.TAG_ID.KEYGEN:{Ke(p,y);break}case l.TAG_ID.HR:{at(p,y);break}case l.TAG_ID.RB:case l.TAG_ID.RTC:{Ue(p,y);break}case l.TAG_ID.RT:case l.TAG_ID.RP:{He(p,y);break}case l.TAG_ID.PRE:case l.TAG_ID.LISTING:{bt(p,y);break}case l.TAG_ID.XMP:{$e(p,y);break}case l.TAG_ID.SVG:{Vt(p,y);break}case l.TAG_ID.HTML:{it(p,y);break}case l.TAG_ID.BASE:case l.TAG_ID.LINK:case l.TAG_ID.META:case l.TAG_ID.STYLE:case l.TAG_ID.TITLE:case l.TAG_ID.SCRIPT:case l.TAG_ID.BGSOUND:case l.TAG_ID.BASEFONT:case l.TAG_ID.TEMPLATE:{ye(p,y);break}case l.TAG_ID.BODY:{pt(p,y);break}case l.TAG_ID.FORM:{gt(p,y);break}case l.TAG_ID.NOBR:{Ce(p,y);break}case l.TAG_ID.MATH:{ct(p,y);break}case l.TAG_ID.TABLE:{ve(p,y);break}case l.TAG_ID.INPUT:{Ge(p,y);break}case l.TAG_ID.PARAM:case l.TAG_ID.TRACK:case l.TAG_ID.SOURCE:{We(p,y);break}case l.TAG_ID.IMAGE:{tt(p,y);break}case l.TAG_ID.BUTTON:{de(p,y);break}case l.TAG_ID.APPLET:case l.TAG_ID.OBJECT:case l.TAG_ID.MARQUEE:{Fe(p,y);break}case l.TAG_ID.IFRAME:{ot(p,y);break}case l.TAG_ID.SELECT:{G(p,y);break}case l.TAG_ID.OPTION:case l.TAG_ID.OPTGROUP:{be(p,y);break}case l.TAG_ID.NOEMBED:{ie(p,y);break}case l.TAG_ID.FRAMESET:{ft(p,y);break}case l.TAG_ID.TEXTAREA:{ge(p,y);break}case l.TAG_ID.NOSCRIPT:{p.options.scriptingEnabled?ie(p,y):Xt(p,y);break}case l.TAG_ID.PLAINTEXT:{It(p,y);break}case l.TAG_ID.COL:case l.TAG_ID.TH:case l.TAG_ID.TD:case l.TAG_ID.TR:case l.TAG_ID.HEAD:case l.TAG_ID.FRAME:case l.TAG_ID.TBODY:case l.TAG_ID.TFOOT:case l.TAG_ID.THEAD:case l.TAG_ID.CAPTION:case l.TAG_ID.COLGROUP:break;default:Xt(p,y)}}function Wt(p,y){if(p.openElements.hasInScope(l.TAG_ID.BODY)&&(p.insertionMode=P.AFTER_BODY,p.options.sourceCodeLocationInfo)){const se=p.openElements.tryPeekProperlyNestedBodyElement();se&&p._setEndLocation(se,y)}}function Dt(p,y){p.openElements.hasInScope(l.TAG_ID.BODY)&&(p.insertionMode=P.AFTER_BODY,xt(p,y))}function jt(p,y){const se=y.tagID;p.openElements.hasInScope(se)&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilTagNamePopped(se))}function qt(p){const y=p.openElements.tmplCount>0,{formElement:se}=p;y||(p.formElement=null),(se||y)&&p.openElements.hasInScope(l.TAG_ID.FORM)&&(p.openElements.generateImpliedEndTags(),y?p.openElements.popUntilTagNamePopped(l.TAG_ID.FORM):se&&p.openElements.remove(se))}function Ht(p){p.openElements.hasInButtonScope(l.TAG_ID.P)||p._insertFakeElement(l.TAG_NAMES.P,l.TAG_ID.P),p._closePElement()}function er(p){p.openElements.hasInListItemScope(l.TAG_ID.LI)&&(p.openElements.generateImpliedEndTagsWithExclusion(l.TAG_ID.LI),p.openElements.popUntilTagNamePopped(l.TAG_ID.LI))}function Br(p,y){const se=y.tagID;p.openElements.hasInScope(se)&&(p.openElements.generateImpliedEndTagsWithExclusion(se),p.openElements.popUntilTagNamePopped(se))}function Fr(p){p.openElements.hasNumberedHeaderInScope()&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilNumberedHeaderPopped())}function Ir(p,y){const se=y.tagID;p.openElements.hasInScope(se)&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilTagNamePopped(se),p.activeFormattingElements.clearToLastMarker())}function Ur(p){p._reconstructActiveFormattingElements(),p._insertFakeElement(l.TAG_NAMES.BR,l.TAG_ID.BR),p.openElements.pop(),p.framesetOk=!1}function Gt(p,y){const se=y.tagName,Te=y.tagID;for(let Oe=p.openElements.stackTop;Oe>0;Oe--){const qe=p.openElements.items[Oe],et=p.openElements.tagIDs[Oe];if(Te===et&&(Te!==l.TAG_ID.UNKNOWN||p.treeAdapter.getTagName(qe)===se)){p.openElements.generateImpliedEndTagsWithExclusion(Te),p.openElements.stackTop>=Oe&&p.openElements.shortenToLength(Oe);break}if(p._isSpecialElement(qe,et))break}}function _t(p,y){switch(y.tagID){case l.TAG_ID.A:case l.TAG_ID.B:case l.TAG_ID.I:case l.TAG_ID.S:case l.TAG_ID.U:case l.TAG_ID.EM:case l.TAG_ID.TT:case l.TAG_ID.BIG:case l.TAG_ID.CODE:case l.TAG_ID.FONT:case l.TAG_ID.NOBR:case l.TAG_ID.SMALL:case l.TAG_ID.STRIKE:case l.TAG_ID.STRONG:{V(p,y);break}case l.TAG_ID.P:{Ht(p);break}case l.TAG_ID.DL:case l.TAG_ID.UL:case l.TAG_ID.OL:case l.TAG_ID.DIR:case l.TAG_ID.DIV:case l.TAG_ID.NAV:case l.TAG_ID.PRE:case l.TAG_ID.MAIN:case l.TAG_ID.MENU:case l.TAG_ID.ASIDE:case l.TAG_ID.BUTTON:case l.TAG_ID.CENTER:case l.TAG_ID.FIGURE:case l.TAG_ID.FOOTER:case l.TAG_ID.HEADER:case l.TAG_ID.HGROUP:case l.TAG_ID.DIALOG:case l.TAG_ID.ADDRESS:case l.TAG_ID.ARTICLE:case l.TAG_ID.DETAILS:case l.TAG_ID.SECTION:case l.TAG_ID.SUMMARY:case l.TAG_ID.LISTING:case l.TAG_ID.FIELDSET:case l.TAG_ID.BLOCKQUOTE:case l.TAG_ID.FIGCAPTION:{jt(p,y);break}case l.TAG_ID.LI:{er(p);break}case l.TAG_ID.DD:case l.TAG_ID.DT:{Br(p,y);break}case l.TAG_ID.H1:case l.TAG_ID.H2:case l.TAG_ID.H3:case l.TAG_ID.H4:case l.TAG_ID.H5:case l.TAG_ID.H6:{Fr(p);break}case l.TAG_ID.BR:{Ur(p);break}case l.TAG_ID.BODY:{Wt(p,y);break}case l.TAG_ID.HTML:{Dt(p,y);break}case l.TAG_ID.FORM:{qt(p);break}case l.TAG_ID.APPLET:case l.TAG_ID.OBJECT:case l.TAG_ID.MARQUEE:{Ir(p,y);break}case l.TAG_ID.TEMPLATE:{Ie(p,y);break}default:Gt(p,y)}}function _r(p,y){p.tmplInsertionModeStack.length>0?lr(p,y):J(p,y)}function jr(p,y){var se;y.tagID===l.TAG_ID.SCRIPT&&((se=p.scriptHandler)===null||se===void 0||se.call(p,p.openElements.current)),p.openElements.pop(),p.insertionMode=p.originalInsertionMode}function tr(p,y){p._err(y,h.ERR.eofInElementThatCanContainOnlyText),p.openElements.pop(),p.insertionMode=p.originalInsertionMode,p.onEof(y)}function Lt(p,y){if(Y.has(p.openElements.currentTagId))switch(p.pendingCharacterTokens.length=0,p.hasNonWhitespacePendingCharacterToken=!1,p.originalInsertionMode=p.insertionMode,p.insertionMode=P.IN_TABLE_TEXT,y.type){case O.TokenType.CHARACTER:{yr(p,y);break}case O.TokenType.WHITESPACE_CHARACTER:{ir(p,y);break}}else zt(p,y)}function xr(p,y){p.openElements.clearBackToTableContext(),p.activeFormattingElements.insertMarker(),p._insertElement(y,l.NS.HTML),p.insertionMode=P.IN_CAPTION}function hr(p,y){p.openElements.clearBackToTableContext(),p._insertElement(y,l.NS.HTML),p.insertionMode=P.IN_COLUMN_GROUP}function mr(p,y){p.openElements.clearBackToTableContext(),p._insertFakeElement(l.TAG_NAMES.COLGROUP,l.TAG_ID.COLGROUP),p.insertionMode=P.IN_COLUMN_GROUP,Er(p,y)}function qr(p,y){p.openElements.clearBackToTableContext(),p._insertElement(y,l.NS.HTML),p.insertionMode=P.IN_TABLE_BODY}function Tr(p,y){p.openElements.clearBackToTableContext(),p._insertFakeElement(l.TAG_NAMES.TBODY,l.TAG_ID.TBODY),p.insertionMode=P.IN_TABLE_BODY,Ft(p,y)}function Hr(p,y){p.openElements.hasInTableScope(l.TAG_ID.TABLE)&&(p.openElements.popUntilTagNamePopped(l.TAG_ID.TABLE),p._resetInsertionMode(),p._processStartTag(y))}function Cr(p,y){Xe(y)?p._appendElement(y,l.NS.HTML):zt(p,y),y.ackSelfClosing=!0}function rr(p,y){!p.formElement&&p.openElements.tmplCount===0&&(p._insertElement(y,l.NS.HTML),p.formElement=p.openElements.current,p.openElements.pop())}function Bt(p,y){switch(y.tagID){case l.TAG_ID.TD:case l.TAG_ID.TH:case l.TAG_ID.TR:{Tr(p,y);break}case l.TAG_ID.STYLE:case l.TAG_ID.SCRIPT:case l.TAG_ID.TEMPLATE:{ye(p,y);break}case l.TAG_ID.COL:{mr(p,y);break}case l.TAG_ID.FORM:{rr(p,y);break}case l.TAG_ID.TABLE:{Hr(p,y);break}case l.TAG_ID.TBODY:case l.TAG_ID.TFOOT:case l.TAG_ID.THEAD:{qr(p,y);break}case l.TAG_ID.INPUT:{Cr(p,y);break}case l.TAG_ID.CAPTION:{xr(p,y);break}case l.TAG_ID.COLGROUP:{hr(p,y);break}default:zt(p,y)}}function Jt(p,y){switch(y.tagID){case l.TAG_ID.TABLE:{p.openElements.hasInTableScope(l.TAG_ID.TABLE)&&(p.openElements.popUntilTagNamePopped(l.TAG_ID.TABLE),p._resetInsertionMode());break}case l.TAG_ID.TEMPLATE:{Ie(p,y);break}case l.TAG_ID.BODY:case l.TAG_ID.CAPTION:case l.TAG_ID.COL:case l.TAG_ID.COLGROUP:case l.TAG_ID.HTML:case l.TAG_ID.TBODY:case l.TAG_ID.TD:case l.TAG_ID.TFOOT:case l.TAG_ID.TH:case l.TAG_ID.THEAD:case l.TAG_ID.TR:break;default:zt(p,y)}}function zt(p,y){const se=p.fosterParentingEnabled;p.fosterParentingEnabled=!0,fe(p,y),p.fosterParentingEnabled=se}function ir(p,y){p.pendingCharacterTokens.push(y)}function yr(p,y){p.pendingCharacterTokens.push(y),p.hasNonWhitespacePendingCharacterToken=!0}function Kt(p,y){let se=0;if(p.hasNonWhitespacePendingCharacterToken)for(;se<p.pendingCharacterTokens.length;se++)zt(p,p.pendingCharacterTokens[se]);else for(;se<p.pendingCharacterTokens.length;se++)p._insertCharacters(p.pendingCharacterTokens[se]);p.insertionMode=p.originalInsertionMode,p._processToken(y)}const Yt=new Set([l.TAG_ID.CAPTION,l.TAG_ID.COL,l.TAG_ID.COLGROUP,l.TAG_ID.TBODY,l.TAG_ID.TD,l.TAG_ID.TFOOT,l.TAG_ID.TH,l.TAG_ID.THEAD,l.TAG_ID.TR]);function Gr(p,y){const se=y.tagID;Yt.has(se)?p.openElements.hasInTableScope(l.TAG_ID.CAPTION)&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilTagNamePopped(l.TAG_ID.CAPTION),p.activeFormattingElements.clearToLastMarker(),p.insertionMode=P.IN_TABLE,Bt(p,y)):dt(p,y)}function wt(p,y){const se=y.tagID;switch(se){case l.TAG_ID.CAPTION:case l.TAG_ID.TABLE:{p.openElements.hasInTableScope(l.TAG_ID.CAPTION)&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilTagNamePopped(l.TAG_ID.CAPTION),p.activeFormattingElements.clearToLastMarker(),p.insertionMode=P.IN_TABLE,se===l.TAG_ID.TABLE&&Jt(p,y));break}case l.TAG_ID.BODY:case l.TAG_ID.COL:case l.TAG_ID.COLGROUP:case l.TAG_ID.HTML:case l.TAG_ID.TBODY:case l.TAG_ID.TD:case l.TAG_ID.TFOOT:case l.TAG_ID.TH:case l.TAG_ID.THEAD:case l.TAG_ID.TR:break;default:_t(p,y)}}function Er(p,y){switch(y.tagID){case l.TAG_ID.HTML:{dt(p,y);break}case l.TAG_ID.COL:{p._appendElement(y,l.NS.HTML),y.ackSelfClosing=!0;break}case l.TAG_ID.TEMPLATE:{ye(p,y);break}default:sr(p,y)}}function Kr(p,y){switch(y.tagID){case l.TAG_ID.COLGROUP:{p.openElements.currentTagId===l.TAG_ID.COLGROUP&&(p.openElements.pop(),p.insertionMode=P.IN_TABLE);break}case l.TAG_ID.TEMPLATE:{Ie(p,y);break}case l.TAG_ID.COL:break;default:sr(p,y)}}function sr(p,y){p.openElements.currentTagId===l.TAG_ID.COLGROUP&&(p.openElements.pop(),p.insertionMode=P.IN_TABLE,p._processToken(y))}function Ft(p,y){switch(y.tagID){case l.TAG_ID.TR:{p.openElements.clearBackToTableBodyContext(),p._insertElement(y,l.NS.HTML),p.insertionMode=P.IN_ROW;break}case l.TAG_ID.TH:case l.TAG_ID.TD:{p.openElements.clearBackToTableBodyContext(),p._insertFakeElement(l.TAG_NAMES.TR,l.TAG_ID.TR),p.insertionMode=P.IN_ROW,ar(p,y);break}case l.TAG_ID.CAPTION:case l.TAG_ID.COL:case l.TAG_ID.COLGROUP:case l.TAG_ID.TBODY:case l.TAG_ID.TFOOT:case l.TAG_ID.THEAD:{p.openElements.hasTableBodyContextInTableScope()&&(p.openElements.clearBackToTableBodyContext(),p.openElements.pop(),p.insertionMode=P.IN_TABLE,Bt(p,y));break}default:Bt(p,y)}}function nr(p,y){const se=y.tagID;switch(y.tagID){case l.TAG_ID.TBODY:case l.TAG_ID.TFOOT:case l.TAG_ID.THEAD:{p.openElements.hasInTableScope(se)&&(p.openElements.clearBackToTableBodyContext(),p.openElements.pop(),p.insertionMode=P.IN_TABLE);break}case l.TAG_ID.TABLE:{p.openElements.hasTableBodyContextInTableScope()&&(p.openElements.clearBackToTableBodyContext(),p.openElements.pop(),p.insertionMode=P.IN_TABLE,Jt(p,y));break}case l.TAG_ID.BODY:case l.TAG_ID.CAPTION:case l.TAG_ID.COL:case l.TAG_ID.COLGROUP:case l.TAG_ID.HTML:case l.TAG_ID.TD:case l.TAG_ID.TH:case l.TAG_ID.TR:break;default:Jt(p,y)}}function ar(p,y){switch(y.tagID){case l.TAG_ID.TH:case l.TAG_ID.TD:{p.openElements.clearBackToTableRowContext(),p._insertElement(y,l.NS.HTML),p.insertionMode=P.IN_CELL,p.activeFormattingElements.insertMarker();break}case l.TAG_ID.CAPTION:case l.TAG_ID.COL:case l.TAG_ID.COLGROUP:case l.TAG_ID.TBODY:case l.TAG_ID.TFOOT:case l.TAG_ID.THEAD:case l.TAG_ID.TR:{p.openElements.hasInTableScope(l.TAG_ID.TR)&&(p.openElements.clearBackToTableRowContext(),p.openElements.pop(),p.insertionMode=P.IN_TABLE_BODY,Ft(p,y));break}default:Bt(p,y)}}function Nr(p,y){switch(y.tagID){case l.TAG_ID.TR:{p.openElements.hasInTableScope(l.TAG_ID.TR)&&(p.openElements.clearBackToTableRowContext(),p.openElements.pop(),p.insertionMode=P.IN_TABLE_BODY);break}case l.TAG_ID.TABLE:{p.openElements.hasInTableScope(l.TAG_ID.TR)&&(p.openElements.clearBackToTableRowContext(),p.openElements.pop(),p.insertionMode=P.IN_TABLE_BODY,nr(p,y));break}case l.TAG_ID.TBODY:case l.TAG_ID.TFOOT:case l.TAG_ID.THEAD:{(p.openElements.hasInTableScope(y.tagID)||p.openElements.hasInTableScope(l.TAG_ID.TR))&&(p.openElements.clearBackToTableRowContext(),p.openElements.pop(),p.insertionMode=P.IN_TABLE_BODY,nr(p,y));break}case l.TAG_ID.BODY:case l.TAG_ID.CAPTION:case l.TAG_ID.COL:case l.TAG_ID.COLGROUP:case l.TAG_ID.HTML:case l.TAG_ID.TD:case l.TAG_ID.TH:break;default:Jt(p,y)}}function Yr(p,y){const se=y.tagID;Yt.has(se)?(p.openElements.hasInTableScope(l.TAG_ID.TD)||p.openElements.hasInTableScope(l.TAG_ID.TH))&&(p._closeTableCell(),ar(p,y)):dt(p,y)}function Vr(p,y){const se=y.tagID;switch(se){case l.TAG_ID.TD:case l.TAG_ID.TH:{p.openElements.hasInTableScope(se)&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilTagNamePopped(se),p.activeFormattingElements.clearToLastMarker(),p.insertionMode=P.IN_ROW);break}case l.TAG_ID.TABLE:case l.TAG_ID.TBODY:case l.TAG_ID.TFOOT:case l.TAG_ID.THEAD:case l.TAG_ID.TR:{p.openElements.hasInTableScope(se)&&(p._closeTableCell(),Nr(p,y));break}case l.TAG_ID.BODY:case l.TAG_ID.CAPTION:case l.TAG_ID.COL:case l.TAG_ID.COLGROUP:case l.TAG_ID.HTML:break;default:_t(p,y)}}function br(p,y){switch(y.tagID){case l.TAG_ID.HTML:{dt(p,y);break}case l.TAG_ID.OPTION:{p.openElements.currentTagId===l.TAG_ID.OPTION&&p.openElements.pop(),p._insertElement(y,l.NS.HTML);break}case l.TAG_ID.OPTGROUP:{p.openElements.currentTagId===l.TAG_ID.OPTION&&p.openElements.pop(),p.openElements.currentTagId===l.TAG_ID.OPTGROUP&&p.openElements.pop(),p._insertElement(y,l.NS.HTML);break}case l.TAG_ID.INPUT:case l.TAG_ID.KEYGEN:case l.TAG_ID.TEXTAREA:case l.TAG_ID.SELECT:{p.openElements.hasInSelectScope(l.TAG_ID.SELECT)&&(p.openElements.popUntilTagNamePopped(l.TAG_ID.SELECT),p._resetInsertionMode(),y.tagID!==l.TAG_ID.SELECT&&p._processStartTag(y));break}case l.TAG_ID.SCRIPT:case l.TAG_ID.TEMPLATE:{ye(p,y);break}}}function Dr(p,y){switch(y.tagID){case l.TAG_ID.OPTGROUP:{p.openElements.stackTop>0&&p.openElements.currentTagId===l.TAG_ID.OPTION&&p.openElements.tagIDs[p.openElements.stackTop-1]===l.TAG_ID.OPTGROUP&&p.openElements.pop(),p.openElements.currentTagId===l.TAG_ID.OPTGROUP&&p.openElements.pop();break}case l.TAG_ID.OPTION:{p.openElements.currentTagId===l.TAG_ID.OPTION&&p.openElements.pop();break}case l.TAG_ID.SELECT:{p.openElements.hasInSelectScope(l.TAG_ID.SELECT)&&(p.openElements.popUntilTagNamePopped(l.TAG_ID.SELECT),p._resetInsertionMode());break}case l.TAG_ID.TEMPLATE:{Ie(p,y);break}}}function or(p,y){const se=y.tagID;se===l.TAG_ID.CAPTION||se===l.TAG_ID.TABLE||se===l.TAG_ID.TBODY||se===l.TAG_ID.TFOOT||se===l.TAG_ID.THEAD||se===l.TAG_ID.TR||se===l.TAG_ID.TD||se===l.TAG_ID.TH?(p.openElements.popUntilTagNamePopped(l.TAG_ID.SELECT),p._resetInsertionMode(),p._processStartTag(y)):br(p,y)}function Xr(p,y){const se=y.tagID;se===l.TAG_ID.CAPTION||se===l.TAG_ID.TABLE||se===l.TAG_ID.TBODY||se===l.TAG_ID.TFOOT||se===l.TAG_ID.THEAD||se===l.TAG_ID.TR||se===l.TAG_ID.TD||se===l.TAG_ID.TH?p.openElements.hasInTableScope(se)&&(p.openElements.popUntilTagNamePopped(l.TAG_ID.SELECT),p._resetInsertionMode(),p.onEndTag(y)):Dr(p,y)}function ur(p,y){switch(y.tagID){case l.TAG_ID.BASE:case l.TAG_ID.BASEFONT:case l.TAG_ID.BGSOUND:case l.TAG_ID.LINK:case l.TAG_ID.META:case l.TAG_ID.NOFRAMES:case l.TAG_ID.SCRIPT:case l.TAG_ID.STYLE:case l.TAG_ID.TEMPLATE:case l.TAG_ID.TITLE:{ye(p,y);break}case l.TAG_ID.CAPTION:case l.TAG_ID.COLGROUP:case l.TAG_ID.TBODY:case l.TAG_ID.TFOOT:case l.TAG_ID.THEAD:{p.tmplInsertionModeStack[0]=P.IN_TABLE,p.insertionMode=P.IN_TABLE,Bt(p,y);break}case l.TAG_ID.COL:{p.tmplInsertionModeStack[0]=P.IN_COLUMN_GROUP,p.insertionMode=P.IN_COLUMN_GROUP,Er(p,y);break}case l.TAG_ID.TR:{p.tmplInsertionModeStack[0]=P.IN_TABLE_BODY,p.insertionMode=P.IN_TABLE_BODY,Ft(p,y);break}case l.TAG_ID.TD:case l.TAG_ID.TH:{p.tmplInsertionModeStack[0]=P.IN_ROW,p.insertionMode=P.IN_ROW,ar(p,y);break}default:p.tmplInsertionModeStack[0]=P.IN_BODY,p.insertionMode=P.IN_BODY,dt(p,y)}}function cr(p,y){y.tagID===l.TAG_ID.TEMPLATE&&Ie(p,y)}function lr(p,y){p.openElements.tmplCount>0?(p.openElements.popUntilTagNamePopped(l.TAG_ID.TEMPLATE),p.activeFormattingElements.clearToLastMarker(),p.tmplInsertionModeStack.shift(),p._resetInsertionMode(),p.onEof(y)):J(p,y)}function Wr(p,y){y.tagID===l.TAG_ID.HTML?dt(p,y):pr(p,y)}function xt(p,y){var se;if(y.tagID===l.TAG_ID.HTML){if(p.fragmentContext||(p.insertionMode=P.AFTER_AFTER_BODY),p.options.sourceCodeLocationInfo&&p.openElements.tagIDs[0]===l.TAG_ID.HTML){p._setEndLocation(p.openElements.items[0],y);const Te=p.openElements.items[1];Te&&!(!((se=p.treeAdapter.getNodeSourceCodeLocation(Te))===null||se===void 0)&&se.endTag)&&p._setEndLocation(Te,y)}}else pr(p,y)}function pr(p,y){p.insertionMode=P.IN_BODY,fe(p,y)}function Jr(p,y){switch(y.tagID){case l.TAG_ID.HTML:{dt(p,y);break}case l.TAG_ID.FRAMESET:{p._insertElement(y,l.NS.HTML);break}case l.TAG_ID.FRAME:{p._appendElement(y,l.NS.HTML),y.ackSelfClosing=!0;break}case l.TAG_ID.NOFRAMES:{ye(p,y);break}}}function zr(p,y){y.tagID===l.TAG_ID.FRAMESET&&!p.openElements.isRootHtmlElementCurrent()&&(p.openElements.pop(),!p.fragmentContext&&p.openElements.currentTagId!==l.TAG_ID.FRAMESET&&(p.insertionMode=P.AFTER_FRAMESET))}function je(p,y){switch(y.tagID){case l.TAG_ID.HTML:{dt(p,y);break}case l.TAG_ID.NOFRAMES:{ye(p,y);break}}}function $r(p,y){y.tagID===l.TAG_ID.HTML&&(p.insertionMode=P.AFTER_AFTER_FRAMESET)}function Or(p,y){y.tagID===l.TAG_ID.HTML?dt(p,y):fr(p,y)}function fr(p,y){p.insertionMode=P.IN_BODY,fe(p,y)}function Qr(p,y){switch(y.tagID){case l.TAG_ID.HTML:{dt(p,y);break}case l.TAG_ID.NOFRAMES:{ye(p,y);break}}}function Zr(p,y){y.chars=f.REPLACEMENT_CHARACTER,p._insertCharacters(y)}function ei(p,y){p._insertCharacters(y),p.framesetOk=!1}function vr(p){for(;p.treeAdapter.getNamespaceURI(p.openElements.current)!==l.NS.HTML&&!p._isIntegrationPoint(p.openElements.currentTagId,p.openElements.current);)p.openElements.pop()}function Ut(p,y){if(D.causesExit(y))vr(p),p._startTagOutsideForeignContent(y);else{const se=p._getAdjustedCurrentElement(),Te=p.treeAdapter.getNamespaceURI(se);Te===l.NS.MATHML?D.adjustTokenMathMLAttrs(y):Te===l.NS.SVG&&(D.adjustTokenSVGTagName(y),D.adjustTokenSVGAttrs(y)),D.adjustTokenXMLAttrs(y),y.selfClosing?p._appendElement(y,Te):p._insertElement(y,Te),y.ackSelfClosing=!0}}function Rt(p,y){if(y.tagID===l.TAG_ID.P||y.tagID===l.TAG_ID.BR){vr(p),p._endTagOutsideForeignContent(y);return}for(let se=p.openElements.stackTop;se>0;se--){const Te=p.openElements.items[se];if(p.treeAdapter.getNamespaceURI(Te)===l.NS.HTML){p._endTagOutsideForeignContent(y);break}const Oe=p.treeAdapter.getTagName(Te);if(Oe.toLowerCase()===y.tagName){y.tagName=Oe,p.openElements.shortenToLength(se);break}}}return un}var Ui={},ko={},gl;function qf(){return gl||(gl=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var n=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);t.getCodePoint=String.prototype.codePointAt!=null?function(d,D){return d.codePointAt(D)}:function(d,D){return(d.charCodeAt(D)&64512)===55296?(d.charCodeAt(D)-55296)*1024+d.charCodeAt(D+1)-56320+65536:d.charCodeAt(D)};function c(d){for(var D="",h=0,f;(f=t.xmlReplacer.exec(d))!==null;){var l=f.index,O=d.charCodeAt(l),m=n.get(O);m!==void 0?(D+=d.substring(h,l)+m,h=l+1):(D+="".concat(d.substring(h,l),"&#x").concat((0,t.getCodePoint)(d,l).toString(16),";"),h=t.xmlReplacer.lastIndex+=+((O&64512)===55296))}return D+d.substr(h)}t.encodeXML=c,t.escape=c;function u(d,D){return function(f){for(var l,O=0,m="";l=d.exec(f);)O!==l.index&&(m+=f.substring(O,l.index)),m+=D.get(l[0].charCodeAt(0)),O=l.index+1;return m+f.substring(O)}}t.escapeUTF8=u(/[&<>'"]/g,n),t.escapeAttribute=u(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),t.escapeText=u(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))}(ko)),ko}var Pl;function Hf(){if(Pl)return Ui;Pl=1,Object.defineProperty(Ui,"__esModule",{value:!0}),Ui.serializeOuter=Ui.serialize=void 0;const t=mi(),n=qf(),c=Ko(),u=new Set([t.TAG_NAMES.AREA,t.TAG_NAMES.BASE,t.TAG_NAMES.BASEFONT,t.TAG_NAMES.BGSOUND,t.TAG_NAMES.BR,t.TAG_NAMES.COL,t.TAG_NAMES.EMBED,t.TAG_NAMES.FRAME,t.TAG_NAMES.HR,t.TAG_NAMES.IMG,t.TAG_NAMES.INPUT,t.TAG_NAMES.KEYGEN,t.TAG_NAMES.LINK,t.TAG_NAMES.META,t.TAG_NAMES.PARAM,t.TAG_NAMES.SOURCE,t.TAG_NAMES.TRACK,t.TAG_NAMES.WBR]);function d(Y,_){return _.treeAdapter.isElementNode(Y)&&_.treeAdapter.getNamespaceURI(Y)===t.NS.HTML&&u.has(_.treeAdapter.getTagName(Y))}const D={treeAdapter:c.defaultTreeAdapter,scriptingEnabled:!0};function h(Y,_){const z=Object.assign(Object.assign({},D),_);return d(Y,z)?"":l(Y,z)}Ui.serialize=h;function f(Y,_){const z=Object.assign(Object.assign({},D),_);return O(Y,z)}Ui.serializeOuter=f;function l(Y,_){let z="";const B=_.treeAdapter.isElementNode(Y)&&_.treeAdapter.getTagName(Y)===t.TAG_NAMES.TEMPLATE&&_.treeAdapter.getNamespaceURI(Y)===t.NS.HTML?_.treeAdapter.getTemplateContent(Y):Y,Z=_.treeAdapter.getChildNodes(B);if(Z)for(const X of Z)z+=O(X,_);return z}function O(Y,_){return _.treeAdapter.isElementNode(Y)?m(Y,_):_.treeAdapter.isTextNode(Y)?w(Y,_):_.treeAdapter.isCommentNode(Y)?P(Y,_):_.treeAdapter.isDocumentTypeNode(Y)?ne(Y,_):""}function m(Y,_){const z=_.treeAdapter.getTagName(Y);return`<${z}${M(Y,_)}>${d(Y,_)?"":`${l(Y,_)}</${z}>`}`}function M(Y,{treeAdapter:_}){let z="";for(const B of _.getAttrList(Y)){if(z+=" ",!B.namespace)z+=B.name;else switch(B.namespace){case t.NS.XML:{z+=`xml:${B.name}`;break}case t.NS.XMLNS:{B.name!=="xmlns"&&(z+="xmlns:"),z+=B.name;break}case t.NS.XLINK:{z+=`xlink:${B.name}`;break}default:z+=`${B.prefix}:${B.name}`}z+=`="${(0,n.escapeAttribute)(B.value)}"`}return z}function w(Y,_){const{treeAdapter:z}=_,B=z.getTextNodeContent(Y),Z=z.getParentNode(Y),X=Z&&z.isElementNode(Z)&&z.getTagName(Z);return X&&z.getNamespaceURI(Z)===t.NS.HTML&&(0,t.hasUnescapedText)(X,_.scriptingEnabled)?B:(0,n.escapeText)(B)}function P(Y,{treeAdapter:_}){return`<!--${_.getCommentNodeContent(Y)}-->`}function ne(Y,{treeAdapter:_}){return`<!DOCTYPE ${_.getDocumentTypeNodeName(Y)}>`}return Ui}var Il;function Gf(){return Il||(Il=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.parseFragment=t.parse=t.TokenizerMode=t.Tokenizer=t.Token=t.html=t.foreignContent=t.ErrorCodes=t.serializeOuter=t.serialize=t.Parser=t.defaultTreeAdapter=void 0;const n=Al();var c=Ko();Object.defineProperty(t,"defaultTreeAdapter",{enumerable:!0,get:function(){return c.defaultTreeAdapter}});var u=Al();Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return u.Parser}});var d=Hf();Object.defineProperty(t,"serialize",{enumerable:!0,get:function(){return d.serialize}}),Object.defineProperty(t,"serializeOuter",{enumerable:!0,get:function(){return d.serializeOuter}});var D=wa();Object.defineProperty(t,"ErrorCodes",{enumerable:!0,get:function(){return D.ERR}}),t.foreignContent=op(),t.html=mi(),t.Token=Go();var h=ap();Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return h.Tokenizer}}),Object.defineProperty(t,"TokenizerMode",{enumerable:!0,get:function(){return h.TokenizerMode}});function f(O,m){return n.Parser.parse(O,m)}t.parse=f;function l(O,m,M){typeof O=="string"&&(M=m,m=O,O=null);const w=n.Parser.getFragmentParser(O,M);return w.tokenizer.write(m,!0),w.getFragment()}t.parseFragment=l}(xo)),xo}var hi={},pn={},_l;function Kf(){return _l||(_l=1,Object.defineProperty(pn,"__esModule",{value:!0}),pn.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/&notin;|&(?: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|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/&centerdot;|&copysr;|&divideontimes;|&gtcc;|&gtcir;|&gtdot;|&gtlPar;|&gtquest;|&gtrapprox;|&gtrarr;|&gtrdot;|&gtreqless;|&gtreqqless;|&gtrless;|&gtrsim;|&ltcc;|&ltcir;|&ltdot;|&lthree;|&ltimes;|&ltlarr;|&ltquest;|&ltrPar;|&ltri;|&ltrie;|&ltrif;|&notin;|&notinE;|&notindot;|&notinva;|&notinvb;|&notinvc;|&notni;|&notniva;|&notnivb;|&notnivc;|&parallel;|&timesb;|&timesbar;|&timesd;|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},pn.namedReferences={xml:{entities:{"&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&amp;":"&"},characters:{"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","&":"&amp;"}},html4:{entities:{"&apos;":"'","&nbsp":" ","&nbsp;":" ","&iexcl":"¡","&iexcl;":"¡","&cent":"¢","&cent;":"¢","&pound":"£","&pound;":"£","&curren":"¤","&curren;":"¤","&yen":"¥","&yen;":"¥","&brvbar":"¦","&brvbar;":"¦","&sect":"§","&sect;":"§","&uml":"¨","&uml;":"¨","&copy":"©","&copy;":"©","&ordf":"ª","&ordf;":"ª","&laquo":"«","&laquo;":"«","&not":"¬","&not;":"¬","&shy":"­","&shy;":"­","&reg":"®","&reg;":"®","&macr":"¯","&macr;":"¯","&deg":"°","&deg;":"°","&plusmn":"±","&plusmn;":"±","&sup2":"²","&sup2;":"²","&sup3":"³","&sup3;":"³","&acute":"´","&acute;":"´","&micro":"µ","&micro;":"µ","&para":"¶","&para;":"¶","&middot":"·","&middot;":"·","&cedil":"¸","&cedil;":"¸","&sup1":"¹","&sup1;":"¹","&ordm":"º","&ordm;":"º","&raquo":"»","&raquo;":"»","&frac14":"¼","&frac14;":"¼","&frac12":"½","&frac12;":"½","&frac34":"¾","&frac34;":"¾","&iquest":"¿","&iquest;":"¿","&Agrave":"À","&Agrave;":"À","&Aacute":"Á","&Aacute;":"Á","&Acirc":"Â","&Acirc;":"Â","&Atilde":"Ã","&Atilde;":"Ã","&Auml":"Ä","&Auml;":"Ä","&Aring":"Å","&Aring;":"Å","&AElig":"Æ","&AElig;":"Æ","&Ccedil":"Ç","&Ccedil;":"Ç","&Egrave":"È","&Egrave;":"È","&Eacute":"É","&Eacute;":"É","&Ecirc":"Ê","&Ecirc;":"Ê","&Euml":"Ë","&Euml;":"Ë","&Igrave":"Ì","&Igrave;":"Ì","&Iacute":"Í","&Iacute;":"Í","&Icirc":"Î","&Icirc;":"Î","&Iuml":"Ï","&Iuml;":"Ï","&ETH":"Ð","&ETH;":"Ð","&Ntilde":"Ñ","&Ntilde;":"Ñ","&Ograve":"Ò","&Ograve;":"Ò","&Oacute":"Ó","&Oacute;":"Ó","&Ocirc":"Ô","&Ocirc;":"Ô","&Otilde":"Õ","&Otilde;":"Õ","&Ouml":"Ö","&Ouml;":"Ö","&times":"×","&times;":"×","&Oslash":"Ø","&Oslash;":"Ø","&Ugrave":"Ù","&Ugrave;":"Ù","&Uacute":"Ú","&Uacute;":"Ú","&Ucirc":"Û","&Ucirc;":"Û","&Uuml":"Ü","&Uuml;":"Ü","&Yacute":"Ý","&Yacute;":"Ý","&THORN":"Þ","&THORN;":"Þ","&szlig":"ß","&szlig;":"ß","&agrave":"à","&agrave;":"à","&aacute":"á","&aacute;":"á","&acirc":"â","&acirc;":"â","&atilde":"ã","&atilde;":"ã","&auml":"ä","&auml;":"ä","&aring":"å","&aring;":"å","&aelig":"æ","&aelig;":"æ","&ccedil":"ç","&ccedil;":"ç","&egrave":"è","&egrave;":"è","&eacute":"é","&eacute;":"é","&ecirc":"ê","&ecirc;":"ê","&euml":"ë","&euml;":"ë","&igrave":"ì","&igrave;":"ì","&iacute":"í","&iacute;":"í","&icirc":"î","&icirc;":"î","&iuml":"ï","&iuml;":"ï","&eth":"ð","&eth;":"ð","&ntilde":"ñ","&ntilde;":"ñ","&ograve":"ò","&ograve;":"ò","&oacute":"ó","&oacute;":"ó","&ocirc":"ô","&ocirc;":"ô","&otilde":"õ","&otilde;":"õ","&ouml":"ö","&ouml;":"ö","&divide":"÷","&divide;":"÷","&oslash":"ø","&oslash;":"ø","&ugrave":"ù","&ugrave;":"ù","&uacute":"ú","&uacute;":"ú","&ucirc":"û","&ucirc;":"û","&uuml":"ü","&uuml;":"ü","&yacute":"ý","&yacute;":"ý","&thorn":"þ","&thorn;":"þ","&yuml":"ÿ","&yuml;":"ÿ","&quot":'"',"&quot;":'"',"&amp":"&","&amp;":"&","&lt":"<","&lt;":"<","&gt":">","&gt;":">","&OElig;":"Œ","&oelig;":"œ","&Scaron;":"Š","&scaron;":"š","&Yuml;":"Ÿ","&circ;":"ˆ","&tilde;":"˜","&ensp;":" ","&emsp;":" ","&thinsp;":" ","&zwnj;":"‌","&zwj;":"‍","&lrm;":"‎","&rlm;":"‏","&ndash;":"–","&mdash;":"—","&lsquo;":"‘","&rsquo;":"’","&sbquo;":"‚","&ldquo;":"“","&rdquo;":"”","&bdquo;":"„","&dagger;":"†","&Dagger;":"‡","&permil;":"‰","&lsaquo;":"‹","&rsaquo;":"›","&euro;":"€","&fnof;":"ƒ","&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;":"ϖ","&bull;":"•","&hellip;":"…","&prime;":"′","&Prime;":"″","&oline;":"‾","&frasl;":"⁄","&weierp;":"℘","&image;":"ℑ","&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;":"♦"},characters:{"'":"&apos;"," ":"&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;",'"':"&quot;","&":"&amp;","<":"&lt;",">":"&gt;",Œ:"&OElig;",œ:"&oelig;",Š:"&Scaron;",š:"&scaron;",Ÿ:"&Yuml;","ˆ":"&circ;","˜":"&tilde;"," ":"&ensp;"," ":"&emsp;"," ":"&thinsp;","‌":"&zwnj;","‍":"&zwj;","‎":"&lrm;","‏":"&rlm;","–":"&ndash;","—":"&mdash;","‘":"&lsquo;","’":"&rsquo;","‚":"&sbquo;","“":"&ldquo;","”":"&rdquo;","„":"&bdquo;","†":"&dagger;","‡":"&Dagger;","‰":"&permil;","‹":"&lsaquo;","›":"&rsaquo;","€":"&euro;",ƒ:"&fnof;",Α:"&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;","•":"&bull;","…":"&hellip;","′":"&prime;","″":"&Prime;","‾":"&oline;","⁄":"&frasl;","℘":"&weierp;",ℑ:"&image;",ℜ:"&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;"}},html5:{entities:{"&AElig":"Æ","&AElig;":"Æ","&AMP":"&","&AMP;":"&","&Aacute":"Á","&Aacute;":"Á","&Abreve;":"Ă","&Acirc":"Â","&Acirc;":"Â","&Acy;":"А","&Afr;":"𝔄","&Agrave":"À","&Agrave;":"À","&Alpha;":"Α","&Amacr;":"Ā","&And;":"⩓","&Aogon;":"Ą","&Aopf;":"𝔸","&ApplyFunction;":"⁡","&Aring":"Å","&Aring;":"Å","&Ascr;":"𝒜","&Assign;":"≔","&Atilde":"Ã","&Atilde;":"Ã","&Auml":"Ä","&Auml;":"Ä","&Backslash;":"∖","&Barv;":"⫧","&Barwed;":"⌆","&Bcy;":"Б","&Because;":"∵","&Bernoullis;":"ℬ","&Beta;":"Β","&Bfr;":"𝔅","&Bopf;":"𝔹","&Breve;":"˘","&Bscr;":"ℬ","&Bumpeq;":"≎","&CHcy;":"Ч","&COPY":"©","&COPY;":"©","&Cacute;":"Ć","&Cap;":"⋒","&CapitalDifferentialD;":"ⅅ","&Cayleys;":"ℭ","&Ccaron;":"Č","&Ccedil":"Ç","&Ccedil;":"Ç","&Ccirc;":"Ĉ","&Cconint;":"∰","&Cdot;":"Ċ","&Cedilla;":"¸","&CenterDot;":"·","&Cfr;":"ℭ","&Chi;":"Χ","&CircleDot;":"⊙","&CircleMinus;":"⊖","&CirclePlus;":"⊕","&CircleTimes;":"⊗","&ClockwiseContourIntegral;":"∲","&CloseCurlyDoubleQuote;":"”","&CloseCurlyQuote;":"’","&Colon;":"∷","&Colone;":"⩴","&Congruent;":"≡","&Conint;":"∯","&ContourIntegral;":"∮","&Copf;":"ℂ","&Coproduct;":"∐","&CounterClockwiseContourIntegral;":"∳","&Cross;":"⨯","&Cscr;":"𝒞","&Cup;":"⋓","&CupCap;":"≍","&DD;":"ⅅ","&DDotrahd;":"⤑","&DJcy;":"Ђ","&DScy;":"Ѕ","&DZcy;":"Џ","&Dagger;":"‡","&Darr;":"↡","&Dashv;":"⫤","&Dcaron;":"Ď","&Dcy;":"Д","&Del;":"∇","&Delta;":"Δ","&Dfr;":"𝔇","&DiacriticalAcute;":"´","&DiacriticalDot;":"˙","&DiacriticalDoubleAcute;":"˝","&DiacriticalGrave;":"`","&DiacriticalTilde;":"˜","&Diamond;":"⋄","&DifferentialD;":"ⅆ","&Dopf;":"𝔻","&Dot;":"¨","&DotDot;":"⃜","&DotEqual;":"≐","&DoubleContourIntegral;":"∯","&DoubleDot;":"¨","&DoubleDownArrow;":"⇓","&DoubleLeftArrow;":"⇐","&DoubleLeftRightArrow;":"⇔","&DoubleLeftTee;":"⫤","&DoubleLongLeftArrow;":"⟸","&DoubleLongLeftRightArrow;":"⟺","&DoubleLongRightArrow;":"⟹","&DoubleRightArrow;":"⇒","&DoubleRightTee;":"⊨","&DoubleUpArrow;":"⇑","&DoubleUpDownArrow;":"⇕","&DoubleVerticalBar;":"∥","&DownArrow;":"↓","&DownArrowBar;":"⤓","&DownArrowUpArrow;":"⇵","&DownBreve;":"̑","&DownLeftRightVector;":"⥐","&DownLeftTeeVector;":"⥞","&DownLeftVector;":"↽","&DownLeftVectorBar;":"⥖","&DownRightTeeVector;":"⥟","&DownRightVector;":"⇁","&DownRightVectorBar;":"⥗","&DownTee;":"⊤","&DownTeeArrow;":"↧","&Downarrow;":"⇓","&Dscr;":"𝒟","&Dstrok;":"Đ","&ENG;":"Ŋ","&ETH":"Ð","&ETH;":"Ð","&Eacute":"É","&Eacute;":"É","&Ecaron;":"Ě","&Ecirc":"Ê","&Ecirc;":"Ê","&Ecy;":"Э","&Edot;":"Ė","&Efr;":"𝔈","&Egrave":"È","&Egrave;":"È","&Element;":"∈","&Emacr;":"Ē","&EmptySmallSquare;":"◻","&EmptyVerySmallSquare;":"▫","&Eogon;":"Ę","&Eopf;":"𝔼","&Epsilon;":"Ε","&Equal;":"⩵","&EqualTilde;":"≂","&Equilibrium;":"⇌","&Escr;":"ℰ","&Esim;":"⩳","&Eta;":"Η","&Euml":"Ë","&Euml;":"Ë","&Exists;":"∃","&ExponentialE;":"ⅇ","&Fcy;":"Ф","&Ffr;":"𝔉","&FilledSmallSquare;":"◼","&FilledVerySmallSquare;":"▪","&Fopf;":"𝔽","&ForAll;":"∀","&Fouriertrf;":"ℱ","&Fscr;":"ℱ","&GJcy;":"Ѓ","&GT":">","&GT;":">","&Gamma;":"Γ","&Gammad;":"Ϝ","&Gbreve;":"Ğ","&Gcedil;":"Ģ","&Gcirc;":"Ĝ","&Gcy;":"Г","&Gdot;":"Ġ","&Gfr;":"𝔊","&Gg;":"⋙","&Gopf;":"𝔾","&GreaterEqual;":"≥","&GreaterEqualLess;":"⋛","&GreaterFullEqual;":"≧","&GreaterGreater;":"⪢","&GreaterLess;":"≷","&GreaterSlantEqual;":"⩾","&GreaterTilde;":"≳","&Gscr;":"𝒢","&Gt;":"≫","&HARDcy;":"Ъ","&Hacek;":"ˇ","&Hat;":"^","&Hcirc;":"Ĥ","&Hfr;":"ℌ","&HilbertSpace;":"ℋ","&Hopf;":"ℍ","&HorizontalLine;":"─","&Hscr;":"ℋ","&Hstrok;":"Ħ","&HumpDownHump;":"≎","&HumpEqual;":"≏","&IEcy;":"Е","&IJlig;":"IJ","&IOcy;":"Ё","&Iacute":"Í","&Iacute;":"Í","&Icirc":"Î","&Icirc;":"Î","&Icy;":"И","&Idot;":"İ","&Ifr;":"ℑ","&Igrave":"Ì","&Igrave;":"Ì","&Im;":"ℑ","&Imacr;":"Ī","&ImaginaryI;":"ⅈ","&Implies;":"⇒","&Int;":"∬","&Integral;":"∫","&Intersection;":"⋂","&InvisibleComma;":"⁣","&InvisibleTimes;":"⁢","&Iogon;":"Į","&Iopf;":"𝕀","&Iota;":"Ι","&Iscr;":"ℐ","&Itilde;":"Ĩ","&Iukcy;":"І","&Iuml":"Ï","&Iuml;":"Ï","&Jcirc;":"Ĵ","&Jcy;":"Й","&Jfr;":"𝔍","&Jopf;":"𝕁","&Jscr;":"𝒥","&Jsercy;":"Ј","&Jukcy;":"Є","&KHcy;":"Х","&KJcy;":"Ќ","&Kappa;":"Κ","&Kcedil;":"Ķ","&Kcy;":"К","&Kfr;":"𝔎","&Kopf;":"𝕂","&Kscr;":"𝒦","&LJcy;":"Љ","&LT":"<","&LT;":"<","&Lacute;":"Ĺ","&Lambda;":"Λ","&Lang;":"⟪","&Laplacetrf;":"ℒ","&Larr;":"↞","&Lcaron;":"Ľ","&Lcedil;":"Ļ","&Lcy;":"Л","&LeftAngleBracket;":"⟨","&LeftArrow;":"←","&LeftArrowBar;":"⇤","&LeftArrowRightArrow;":"⇆","&LeftCeiling;":"⌈","&LeftDoubleBracket;":"⟦","&LeftDownTeeVector;":"⥡","&LeftDownVector;":"⇃","&LeftDownVectorBar;":"⥙","&LeftFloor;":"⌊","&LeftRightArrow;":"↔","&LeftRightVector;":"⥎","&LeftTee;":"⊣","&LeftTeeArrow;":"↤","&LeftTeeVector;":"⥚","&LeftTriangle;":"⊲","&LeftTriangleBar;":"⧏","&LeftTriangleEqual;":"⊴","&LeftUpDownVector;":"⥑","&LeftUpTeeVector;":"⥠","&LeftUpVector;":"↿","&LeftUpVectorBar;":"⥘","&LeftVector;":"↼","&LeftVectorBar;":"⥒","&Leftarrow;":"⇐","&Leftrightarrow;":"⇔","&LessEqualGreater;":"⋚","&LessFullEqual;":"≦","&LessGreater;":"≶","&LessLess;":"⪡","&LessSlantEqual;":"⩽","&LessTilde;":"≲","&Lfr;":"𝔏","&Ll;":"⋘","&Lleftarrow;":"⇚","&Lmidot;":"Ŀ","&LongLeftArrow;":"⟵","&LongLeftRightArrow;":"⟷","&LongRightArrow;":"⟶","&Longleftarrow;":"⟸","&Longleftrightarrow;":"⟺","&Longrightarrow;":"⟹","&Lopf;":"𝕃","&LowerLeftArrow;":"↙","&LowerRightArrow;":"↘","&Lscr;":"ℒ","&Lsh;":"↰","&Lstrok;":"Ł","&Lt;":"≪","&Map;":"⤅","&Mcy;":"М","&MediumSpace;":" ","&Mellintrf;":"ℳ","&Mfr;":"𝔐","&MinusPlus;":"∓","&Mopf;":"𝕄","&Mscr;":"ℳ","&Mu;":"Μ","&NJcy;":"Њ","&Nacute;":"Ń","&Ncaron;":"Ň","&Ncedil;":"Ņ","&Ncy;":"Н","&NegativeMediumSpace;":"​","&NegativeThickSpace;":"​","&NegativeThinSpace;":"​","&NegativeVeryThinSpace;":"​","&NestedGreaterGreater;":"≫","&NestedLessLess;":"≪","&NewLine;":`
16
- `,"&Nfr;":"𝔑","&NoBreak;":"⁠","&NonBreakingSpace;":" ","&Nopf;":"ℕ","&Not;":"⫬","&NotCongruent;":"≢","&NotCupCap;":"≭","&NotDoubleVerticalBar;":"∦","&NotElement;":"∉","&NotEqual;":"≠","&NotEqualTilde;":"≂̸","&NotExists;":"∄","&NotGreater;":"≯","&NotGreaterEqual;":"≱","&NotGreaterFullEqual;":"≧̸","&NotGreaterGreater;":"≫̸","&NotGreaterLess;":"≹","&NotGreaterSlantEqual;":"⩾̸","&NotGreaterTilde;":"≵","&NotHumpDownHump;":"≎̸","&NotHumpEqual;":"≏̸","&NotLeftTriangle;":"⋪","&NotLeftTriangleBar;":"⧏̸","&NotLeftTriangleEqual;":"⋬","&NotLess;":"≮","&NotLessEqual;":"≰","&NotLessGreater;":"≸","&NotLessLess;":"≪̸","&NotLessSlantEqual;":"⩽̸","&NotLessTilde;":"≴","&NotNestedGreaterGreater;":"⪢̸","&NotNestedLessLess;":"⪡̸","&NotPrecedes;":"⊀","&NotPrecedesEqual;":"⪯̸","&NotPrecedesSlantEqual;":"⋠","&NotReverseElement;":"∌","&NotRightTriangle;":"⋫","&NotRightTriangleBar;":"⧐̸","&NotRightTriangleEqual;":"⋭","&NotSquareSubset;":"⊏̸","&NotSquareSubsetEqual;":"⋢","&NotSquareSuperset;":"⊐̸","&NotSquareSupersetEqual;":"⋣","&NotSubset;":"⊂⃒","&NotSubsetEqual;":"⊈","&NotSucceeds;":"⊁","&NotSucceedsEqual;":"⪰̸","&NotSucceedsSlantEqual;":"⋡","&NotSucceedsTilde;":"≿̸","&NotSuperset;":"⊃⃒","&NotSupersetEqual;":"⊉","&NotTilde;":"≁","&NotTildeEqual;":"≄","&NotTildeFullEqual;":"≇","&NotTildeTilde;":"≉","&NotVerticalBar;":"∤","&Nscr;":"𝒩","&Ntilde":"Ñ","&Ntilde;":"Ñ","&Nu;":"Ν","&OElig;":"Œ","&Oacute":"Ó","&Oacute;":"Ó","&Ocirc":"Ô","&Ocirc;":"Ô","&Ocy;":"О","&Odblac;":"Ő","&Ofr;":"𝔒","&Ograve":"Ò","&Ograve;":"Ò","&Omacr;":"Ō","&Omega;":"Ω","&Omicron;":"Ο","&Oopf;":"𝕆","&OpenCurlyDoubleQuote;":"“","&OpenCurlyQuote;":"‘","&Or;":"⩔","&Oscr;":"𝒪","&Oslash":"Ø","&Oslash;":"Ø","&Otilde":"Õ","&Otilde;":"Õ","&Otimes;":"⨷","&Ouml":"Ö","&Ouml;":"Ö","&OverBar;":"‾","&OverBrace;":"⏞","&OverBracket;":"⎴","&OverParenthesis;":"⏜","&PartialD;":"∂","&Pcy;":"П","&Pfr;":"𝔓","&Phi;":"Φ","&Pi;":"Π","&PlusMinus;":"±","&Poincareplane;":"ℌ","&Popf;":"ℙ","&Pr;":"⪻","&Precedes;":"≺","&PrecedesEqual;":"⪯","&PrecedesSlantEqual;":"≼","&PrecedesTilde;":"≾","&Prime;":"″","&Product;":"∏","&Proportion;":"∷","&Proportional;":"∝","&Pscr;":"𝒫","&Psi;":"Ψ","&QUOT":'"',"&QUOT;":'"',"&Qfr;":"𝔔","&Qopf;":"ℚ","&Qscr;":"𝒬","&RBarr;":"⤐","&REG":"®","&REG;":"®","&Racute;":"Ŕ","&Rang;":"⟫","&Rarr;":"↠","&Rarrtl;":"⤖","&Rcaron;":"Ř","&Rcedil;":"Ŗ","&Rcy;":"Р","&Re;":"ℜ","&ReverseElement;":"∋","&ReverseEquilibrium;":"⇋","&ReverseUpEquilibrium;":"⥯","&Rfr;":"ℜ","&Rho;":"Ρ","&RightAngleBracket;":"⟩","&RightArrow;":"→","&RightArrowBar;":"⇥","&RightArrowLeftArrow;":"⇄","&RightCeiling;":"⌉","&RightDoubleBracket;":"⟧","&RightDownTeeVector;":"⥝","&RightDownVector;":"⇂","&RightDownVectorBar;":"⥕","&RightFloor;":"⌋","&RightTee;":"⊢","&RightTeeArrow;":"↦","&RightTeeVector;":"⥛","&RightTriangle;":"⊳","&RightTriangleBar;":"⧐","&RightTriangleEqual;":"⊵","&RightUpDownVector;":"⥏","&RightUpTeeVector;":"⥜","&RightUpVector;":"↾","&RightUpVectorBar;":"⥔","&RightVector;":"⇀","&RightVectorBar;":"⥓","&Rightarrow;":"⇒","&Ropf;":"ℝ","&RoundImplies;":"⥰","&Rrightarrow;":"⇛","&Rscr;":"ℛ","&Rsh;":"↱","&RuleDelayed;":"⧴","&SHCHcy;":"Щ","&SHcy;":"Ш","&SOFTcy;":"Ь","&Sacute;":"Ś","&Sc;":"⪼","&Scaron;":"Š","&Scedil;":"Ş","&Scirc;":"Ŝ","&Scy;":"С","&Sfr;":"𝔖","&ShortDownArrow;":"↓","&ShortLeftArrow;":"←","&ShortRightArrow;":"→","&ShortUpArrow;":"↑","&Sigma;":"Σ","&SmallCircle;":"∘","&Sopf;":"𝕊","&Sqrt;":"√","&Square;":"□","&SquareIntersection;":"⊓","&SquareSubset;":"⊏","&SquareSubsetEqual;":"⊑","&SquareSuperset;":"⊐","&SquareSupersetEqual;":"⊒","&SquareUnion;":"⊔","&Sscr;":"𝒮","&Star;":"⋆","&Sub;":"⋐","&Subset;":"⋐","&SubsetEqual;":"⊆","&Succeeds;":"≻","&SucceedsEqual;":"⪰","&SucceedsSlantEqual;":"≽","&SucceedsTilde;":"≿","&SuchThat;":"∋","&Sum;":"∑","&Sup;":"⋑","&Superset;":"⊃","&SupersetEqual;":"⊇","&Supset;":"⋑","&THORN":"Þ","&THORN;":"Þ","&TRADE;":"™","&TSHcy;":"Ћ","&TScy;":"Ц","&Tab;":" ","&Tau;":"Τ","&Tcaron;":"Ť","&Tcedil;":"Ţ","&Tcy;":"Т","&Tfr;":"𝔗","&Therefore;":"∴","&Theta;":"Θ","&ThickSpace;":"  ","&ThinSpace;":" ","&Tilde;":"∼","&TildeEqual;":"≃","&TildeFullEqual;":"≅","&TildeTilde;":"≈","&Topf;":"𝕋","&TripleDot;":"⃛","&Tscr;":"𝒯","&Tstrok;":"Ŧ","&Uacute":"Ú","&Uacute;":"Ú","&Uarr;":"↟","&Uarrocir;":"⥉","&Ubrcy;":"Ў","&Ubreve;":"Ŭ","&Ucirc":"Û","&Ucirc;":"Û","&Ucy;":"У","&Udblac;":"Ű","&Ufr;":"𝔘","&Ugrave":"Ù","&Ugrave;":"Ù","&Umacr;":"Ū","&UnderBar;":"_","&UnderBrace;":"⏟","&UnderBracket;":"⎵","&UnderParenthesis;":"⏝","&Union;":"⋃","&UnionPlus;":"⊎","&Uogon;":"Ų","&Uopf;":"𝕌","&UpArrow;":"↑","&UpArrowBar;":"⤒","&UpArrowDownArrow;":"⇅","&UpDownArrow;":"↕","&UpEquilibrium;":"⥮","&UpTee;":"⊥","&UpTeeArrow;":"↥","&Uparrow;":"⇑","&Updownarrow;":"⇕","&UpperLeftArrow;":"↖","&UpperRightArrow;":"↗","&Upsi;":"ϒ","&Upsilon;":"Υ","&Uring;":"Ů","&Uscr;":"𝒰","&Utilde;":"Ũ","&Uuml":"Ü","&Uuml;":"Ü","&VDash;":"⊫","&Vbar;":"⫫","&Vcy;":"В","&Vdash;":"⊩","&Vdashl;":"⫦","&Vee;":"⋁","&Verbar;":"‖","&Vert;":"‖","&VerticalBar;":"∣","&VerticalLine;":"|","&VerticalSeparator;":"❘","&VerticalTilde;":"≀","&VeryThinSpace;":" ","&Vfr;":"𝔙","&Vopf;":"𝕍","&Vscr;":"𝒱","&Vvdash;":"⊪","&Wcirc;":"Ŵ","&Wedge;":"⋀","&Wfr;":"𝔚","&Wopf;":"𝕎","&Wscr;":"𝒲","&Xfr;":"𝔛","&Xi;":"Ξ","&Xopf;":"𝕏","&Xscr;":"𝒳","&YAcy;":"Я","&YIcy;":"Ї","&YUcy;":"Ю","&Yacute":"Ý","&Yacute;":"Ý","&Ycirc;":"Ŷ","&Ycy;":"Ы","&Yfr;":"𝔜","&Yopf;":"𝕐","&Yscr;":"𝒴","&Yuml;":"Ÿ","&ZHcy;":"Ж","&Zacute;":"Ź","&Zcaron;":"Ž","&Zcy;":"З","&Zdot;":"Ż","&ZeroWidthSpace;":"​","&Zeta;":"Ζ","&Zfr;":"ℨ","&Zopf;":"ℤ","&Zscr;":"𝒵","&aacute":"á","&aacute;":"á","&abreve;":"ă","&ac;":"∾","&acE;":"∾̳","&acd;":"∿","&acirc":"â","&acirc;":"â","&acute":"´","&acute;":"´","&acy;":"а","&aelig":"æ","&aelig;":"æ","&af;":"⁡","&afr;":"𝔞","&agrave":"à","&agrave;":"à","&alefsym;":"ℵ","&aleph;":"ℵ","&alpha;":"α","&amacr;":"ā","&amalg;":"⨿","&amp":"&","&amp;":"&","&and;":"∧","&andand;":"⩕","&andd;":"⩜","&andslope;":"⩘","&andv;":"⩚","&ang;":"∠","&ange;":"⦤","&angle;":"∠","&angmsd;":"∡","&angmsdaa;":"⦨","&angmsdab;":"⦩","&angmsdac;":"⦪","&angmsdad;":"⦫","&angmsdae;":"⦬","&angmsdaf;":"⦭","&angmsdag;":"⦮","&angmsdah;":"⦯","&angrt;":"∟","&angrtvb;":"⊾","&angrtvbd;":"⦝","&angsph;":"∢","&angst;":"Å","&angzarr;":"⍼","&aogon;":"ą","&aopf;":"𝕒","&ap;":"≈","&apE;":"⩰","&apacir;":"⩯","&ape;":"≊","&apid;":"≋","&apos;":"'","&approx;":"≈","&approxeq;":"≊","&aring":"å","&aring;":"å","&ascr;":"𝒶","&ast;":"*","&asymp;":"≈","&asympeq;":"≍","&atilde":"ã","&atilde;":"ã","&auml":"ä","&auml;":"ä","&awconint;":"∳","&awint;":"⨑","&bNot;":"⫭","&backcong;":"≌","&backepsilon;":"϶","&backprime;":"‵","&backsim;":"∽","&backsimeq;":"⋍","&barvee;":"⊽","&barwed;":"⌅","&barwedge;":"⌅","&bbrk;":"⎵","&bbrktbrk;":"⎶","&bcong;":"≌","&bcy;":"б","&bdquo;":"„","&becaus;":"∵","&because;":"∵","&bemptyv;":"⦰","&bepsi;":"϶","&bernou;":"ℬ","&beta;":"β","&beth;":"ℶ","&between;":"≬","&bfr;":"𝔟","&bigcap;":"⋂","&bigcirc;":"◯","&bigcup;":"⋃","&bigodot;":"⨀","&bigoplus;":"⨁","&bigotimes;":"⨂","&bigsqcup;":"⨆","&bigstar;":"★","&bigtriangledown;":"▽","&bigtriangleup;":"△","&biguplus;":"⨄","&bigvee;":"⋁","&bigwedge;":"⋀","&bkarow;":"⤍","&blacklozenge;":"⧫","&blacksquare;":"▪","&blacktriangle;":"▴","&blacktriangledown;":"▾","&blacktriangleleft;":"◂","&blacktriangleright;":"▸","&blank;":"␣","&blk12;":"▒","&blk14;":"░","&blk34;":"▓","&block;":"█","&bne;":"=⃥","&bnequiv;":"≡⃥","&bnot;":"⌐","&bopf;":"𝕓","&bot;":"⊥","&bottom;":"⊥","&bowtie;":"⋈","&boxDL;":"╗","&boxDR;":"╔","&boxDl;":"╖","&boxDr;":"╓","&boxH;":"═","&boxHD;":"╦","&boxHU;":"╩","&boxHd;":"╤","&boxHu;":"╧","&boxUL;":"╝","&boxUR;":"╚","&boxUl;":"╜","&boxUr;":"╙","&boxV;":"║","&boxVH;":"╬","&boxVL;":"╣","&boxVR;":"╠","&boxVh;":"╫","&boxVl;":"╢","&boxVr;":"╟","&boxbox;":"⧉","&boxdL;":"╕","&boxdR;":"╒","&boxdl;":"┐","&boxdr;":"┌","&boxh;":"─","&boxhD;":"╥","&boxhU;":"╨","&boxhd;":"┬","&boxhu;":"┴","&boxminus;":"⊟","&boxplus;":"⊞","&boxtimes;":"⊠","&boxuL;":"╛","&boxuR;":"╘","&boxul;":"┘","&boxur;":"└","&boxv;":"│","&boxvH;":"╪","&boxvL;":"╡","&boxvR;":"╞","&boxvh;":"┼","&boxvl;":"┤","&boxvr;":"├","&bprime;":"‵","&breve;":"˘","&brvbar":"¦","&brvbar;":"¦","&bscr;":"𝒷","&bsemi;":"⁏","&bsim;":"∽","&bsime;":"⋍","&bsol;":"\\","&bsolb;":"⧅","&bsolhsub;":"⟈","&bull;":"•","&bullet;":"•","&bump;":"≎","&bumpE;":"⪮","&bumpe;":"≏","&bumpeq;":"≏","&cacute;":"ć","&cap;":"∩","&capand;":"⩄","&capbrcup;":"⩉","&capcap;":"⩋","&capcup;":"⩇","&capdot;":"⩀","&caps;":"∩︀","&caret;":"⁁","&caron;":"ˇ","&ccaps;":"⩍","&ccaron;":"č","&ccedil":"ç","&ccedil;":"ç","&ccirc;":"ĉ","&ccups;":"⩌","&ccupssm;":"⩐","&cdot;":"ċ","&cedil":"¸","&cedil;":"¸","&cemptyv;":"⦲","&cent":"¢","&cent;":"¢","&centerdot;":"·","&cfr;":"𝔠","&chcy;":"ч","&check;":"✓","&checkmark;":"✓","&chi;":"χ","&cir;":"○","&cirE;":"⧃","&circ;":"ˆ","&circeq;":"≗","&circlearrowleft;":"↺","&circlearrowright;":"↻","&circledR;":"®","&circledS;":"Ⓢ","&circledast;":"⊛","&circledcirc;":"⊚","&circleddash;":"⊝","&cire;":"≗","&cirfnint;":"⨐","&cirmid;":"⫯","&cirscir;":"⧂","&clubs;":"♣","&clubsuit;":"♣","&colon;":":","&colone;":"≔","&coloneq;":"≔","&comma;":",","&commat;":"@","&comp;":"∁","&compfn;":"∘","&complement;":"∁","&complexes;":"ℂ","&cong;":"≅","&congdot;":"⩭","&conint;":"∮","&copf;":"𝕔","&coprod;":"∐","&copy":"©","&copy;":"©","&copysr;":"℗","&crarr;":"↵","&cross;":"✗","&cscr;":"𝒸","&csub;":"⫏","&csube;":"⫑","&csup;":"⫐","&csupe;":"⫒","&ctdot;":"⋯","&cudarrl;":"⤸","&cudarrr;":"⤵","&cuepr;":"⋞","&cuesc;":"⋟","&cularr;":"↶","&cularrp;":"⤽","&cup;":"∪","&cupbrcap;":"⩈","&cupcap;":"⩆","&cupcup;":"⩊","&cupdot;":"⊍","&cupor;":"⩅","&cups;":"∪︀","&curarr;":"↷","&curarrm;":"⤼","&curlyeqprec;":"⋞","&curlyeqsucc;":"⋟","&curlyvee;":"⋎","&curlywedge;":"⋏","&curren":"¤","&curren;":"¤","&curvearrowleft;":"↶","&curvearrowright;":"↷","&cuvee;":"⋎","&cuwed;":"⋏","&cwconint;":"∲","&cwint;":"∱","&cylcty;":"⌭","&dArr;":"⇓","&dHar;":"⥥","&dagger;":"†","&daleth;":"ℸ","&darr;":"↓","&dash;":"‐","&dashv;":"⊣","&dbkarow;":"⤏","&dblac;":"˝","&dcaron;":"ď","&dcy;":"д","&dd;":"ⅆ","&ddagger;":"‡","&ddarr;":"⇊","&ddotseq;":"⩷","&deg":"°","&deg;":"°","&delta;":"δ","&demptyv;":"⦱","&dfisht;":"⥿","&dfr;":"𝔡","&dharl;":"⇃","&dharr;":"⇂","&diam;":"⋄","&diamond;":"⋄","&diamondsuit;":"♦","&diams;":"♦","&die;":"¨","&digamma;":"ϝ","&disin;":"⋲","&div;":"÷","&divide":"÷","&divide;":"÷","&divideontimes;":"⋇","&divonx;":"⋇","&djcy;":"ђ","&dlcorn;":"⌞","&dlcrop;":"⌍","&dollar;":"$","&dopf;":"𝕕","&dot;":"˙","&doteq;":"≐","&doteqdot;":"≑","&dotminus;":"∸","&dotplus;":"∔","&dotsquare;":"⊡","&doublebarwedge;":"⌆","&downarrow;":"↓","&downdownarrows;":"⇊","&downharpoonleft;":"⇃","&downharpoonright;":"⇂","&drbkarow;":"⤐","&drcorn;":"⌟","&drcrop;":"⌌","&dscr;":"𝒹","&dscy;":"ѕ","&dsol;":"⧶","&dstrok;":"đ","&dtdot;":"⋱","&dtri;":"▿","&dtrif;":"▾","&duarr;":"⇵","&duhar;":"⥯","&dwangle;":"⦦","&dzcy;":"џ","&dzigrarr;":"⟿","&eDDot;":"⩷","&eDot;":"≑","&eacute":"é","&eacute;":"é","&easter;":"⩮","&ecaron;":"ě","&ecir;":"≖","&ecirc":"ê","&ecirc;":"ê","&ecolon;":"≕","&ecy;":"э","&edot;":"ė","&ee;":"ⅇ","&efDot;":"≒","&efr;":"𝔢","&eg;":"⪚","&egrave":"è","&egrave;":"è","&egs;":"⪖","&egsdot;":"⪘","&el;":"⪙","&elinters;":"⏧","&ell;":"ℓ","&els;":"⪕","&elsdot;":"⪗","&emacr;":"ē","&empty;":"∅","&emptyset;":"∅","&emptyv;":"∅","&emsp13;":" ","&emsp14;":" ","&emsp;":" ","&eng;":"ŋ","&ensp;":" ","&eogon;":"ę","&eopf;":"𝕖","&epar;":"⋕","&eparsl;":"⧣","&eplus;":"⩱","&epsi;":"ε","&epsilon;":"ε","&epsiv;":"ϵ","&eqcirc;":"≖","&eqcolon;":"≕","&eqsim;":"≂","&eqslantgtr;":"⪖","&eqslantless;":"⪕","&equals;":"=","&equest;":"≟","&equiv;":"≡","&equivDD;":"⩸","&eqvparsl;":"⧥","&erDot;":"≓","&erarr;":"⥱","&escr;":"ℯ","&esdot;":"≐","&esim;":"≂","&eta;":"η","&eth":"ð","&eth;":"ð","&euml":"ë","&euml;":"ë","&euro;":"€","&excl;":"!","&exist;":"∃","&expectation;":"ℰ","&exponentiale;":"ⅇ","&fallingdotseq;":"≒","&fcy;":"ф","&female;":"♀","&ffilig;":"ffi","&fflig;":"ff","&ffllig;":"ffl","&ffr;":"𝔣","&filig;":"fi","&fjlig;":"fj","&flat;":"♭","&fllig;":"fl","&fltns;":"▱","&fnof;":"ƒ","&fopf;":"𝕗","&forall;":"∀","&fork;":"⋔","&forkv;":"⫙","&fpartint;":"⨍","&frac12":"½","&frac12;":"½","&frac13;":"⅓","&frac14":"¼","&frac14;":"¼","&frac15;":"⅕","&frac16;":"⅙","&frac18;":"⅛","&frac23;":"⅔","&frac25;":"⅖","&frac34":"¾","&frac34;":"¾","&frac35;":"⅗","&frac38;":"⅜","&frac45;":"⅘","&frac56;":"⅚","&frac58;":"⅝","&frac78;":"⅞","&frasl;":"⁄","&frown;":"⌢","&fscr;":"𝒻","&gE;":"≧","&gEl;":"⪌","&gacute;":"ǵ","&gamma;":"γ","&gammad;":"ϝ","&gap;":"⪆","&gbreve;":"ğ","&gcirc;":"ĝ","&gcy;":"г","&gdot;":"ġ","&ge;":"≥","&gel;":"⋛","&geq;":"≥","&geqq;":"≧","&geqslant;":"⩾","&ges;":"⩾","&gescc;":"⪩","&gesdot;":"⪀","&gesdoto;":"⪂","&gesdotol;":"⪄","&gesl;":"⋛︀","&gesles;":"⪔","&gfr;":"𝔤","&gg;":"≫","&ggg;":"⋙","&gimel;":"ℷ","&gjcy;":"ѓ","&gl;":"≷","&glE;":"⪒","&gla;":"⪥","&glj;":"⪤","&gnE;":"≩","&gnap;":"⪊","&gnapprox;":"⪊","&gne;":"⪈","&gneq;":"⪈","&gneqq;":"≩","&gnsim;":"⋧","&gopf;":"𝕘","&grave;":"`","&gscr;":"ℊ","&gsim;":"≳","&gsime;":"⪎","&gsiml;":"⪐","&gt":">","&gt;":">","&gtcc;":"⪧","&gtcir;":"⩺","&gtdot;":"⋗","&gtlPar;":"⦕","&gtquest;":"⩼","&gtrapprox;":"⪆","&gtrarr;":"⥸","&gtrdot;":"⋗","&gtreqless;":"⋛","&gtreqqless;":"⪌","&gtrless;":"≷","&gtrsim;":"≳","&gvertneqq;":"≩︀","&gvnE;":"≩︀","&hArr;":"⇔","&hairsp;":" ","&half;":"½","&hamilt;":"ℋ","&hardcy;":"ъ","&harr;":"↔","&harrcir;":"⥈","&harrw;":"↭","&hbar;":"ℏ","&hcirc;":"ĥ","&hearts;":"♥","&heartsuit;":"♥","&hellip;":"…","&hercon;":"⊹","&hfr;":"𝔥","&hksearow;":"⤥","&hkswarow;":"⤦","&hoarr;":"⇿","&homtht;":"∻","&hookleftarrow;":"↩","&hookrightarrow;":"↪","&hopf;":"𝕙","&horbar;":"―","&hscr;":"𝒽","&hslash;":"ℏ","&hstrok;":"ħ","&hybull;":"⁃","&hyphen;":"‐","&iacute":"í","&iacute;":"í","&ic;":"⁣","&icirc":"î","&icirc;":"î","&icy;":"и","&iecy;":"е","&iexcl":"¡","&iexcl;":"¡","&iff;":"⇔","&ifr;":"𝔦","&igrave":"ì","&igrave;":"ì","&ii;":"ⅈ","&iiiint;":"⨌","&iiint;":"∭","&iinfin;":"⧜","&iiota;":"℩","&ijlig;":"ij","&imacr;":"ī","&image;":"ℑ","&imagline;":"ℐ","&imagpart;":"ℑ","&imath;":"ı","&imof;":"⊷","&imped;":"Ƶ","&in;":"∈","&incare;":"℅","&infin;":"∞","&infintie;":"⧝","&inodot;":"ı","&int;":"∫","&intcal;":"⊺","&integers;":"ℤ","&intercal;":"⊺","&intlarhk;":"⨗","&intprod;":"⨼","&iocy;":"ё","&iogon;":"į","&iopf;":"𝕚","&iota;":"ι","&iprod;":"⨼","&iquest":"¿","&iquest;":"¿","&iscr;":"𝒾","&isin;":"∈","&isinE;":"⋹","&isindot;":"⋵","&isins;":"⋴","&isinsv;":"⋳","&isinv;":"∈","&it;":"⁢","&itilde;":"ĩ","&iukcy;":"і","&iuml":"ï","&iuml;":"ï","&jcirc;":"ĵ","&jcy;":"й","&jfr;":"𝔧","&jmath;":"ȷ","&jopf;":"𝕛","&jscr;":"𝒿","&jsercy;":"ј","&jukcy;":"є","&kappa;":"κ","&kappav;":"ϰ","&kcedil;":"ķ","&kcy;":"к","&kfr;":"𝔨","&kgreen;":"ĸ","&khcy;":"х","&kjcy;":"ќ","&kopf;":"𝕜","&kscr;":"𝓀","&lAarr;":"⇚","&lArr;":"⇐","&lAtail;":"⤛","&lBarr;":"⤎","&lE;":"≦","&lEg;":"⪋","&lHar;":"⥢","&lacute;":"ĺ","&laemptyv;":"⦴","&lagran;":"ℒ","&lambda;":"λ","&lang;":"⟨","&langd;":"⦑","&langle;":"⟨","&lap;":"⪅","&laquo":"«","&laquo;":"«","&larr;":"←","&larrb;":"⇤","&larrbfs;":"⤟","&larrfs;":"⤝","&larrhk;":"↩","&larrlp;":"↫","&larrpl;":"⤹","&larrsim;":"⥳","&larrtl;":"↢","&lat;":"⪫","&latail;":"⤙","&late;":"⪭","&lates;":"⪭︀","&lbarr;":"⤌","&lbbrk;":"❲","&lbrace;":"{","&lbrack;":"[","&lbrke;":"⦋","&lbrksld;":"⦏","&lbrkslu;":"⦍","&lcaron;":"ľ","&lcedil;":"ļ","&lceil;":"⌈","&lcub;":"{","&lcy;":"л","&ldca;":"⤶","&ldquo;":"“","&ldquor;":"„","&ldrdhar;":"⥧","&ldrushar;":"⥋","&ldsh;":"↲","&le;":"≤","&leftarrow;":"←","&leftarrowtail;":"↢","&leftharpoondown;":"↽","&leftharpoonup;":"↼","&leftleftarrows;":"⇇","&leftrightarrow;":"↔","&leftrightarrows;":"⇆","&leftrightharpoons;":"⇋","&leftrightsquigarrow;":"↭","&leftthreetimes;":"⋋","&leg;":"⋚","&leq;":"≤","&leqq;":"≦","&leqslant;":"⩽","&les;":"⩽","&lescc;":"⪨","&lesdot;":"⩿","&lesdoto;":"⪁","&lesdotor;":"⪃","&lesg;":"⋚︀","&lesges;":"⪓","&lessapprox;":"⪅","&lessdot;":"⋖","&lesseqgtr;":"⋚","&lesseqqgtr;":"⪋","&lessgtr;":"≶","&lesssim;":"≲","&lfisht;":"⥼","&lfloor;":"⌊","&lfr;":"𝔩","&lg;":"≶","&lgE;":"⪑","&lhard;":"↽","&lharu;":"↼","&lharul;":"⥪","&lhblk;":"▄","&ljcy;":"љ","&ll;":"≪","&llarr;":"⇇","&llcorner;":"⌞","&llhard;":"⥫","&lltri;":"◺","&lmidot;":"ŀ","&lmoust;":"⎰","&lmoustache;":"⎰","&lnE;":"≨","&lnap;":"⪉","&lnapprox;":"⪉","&lne;":"⪇","&lneq;":"⪇","&lneqq;":"≨","&lnsim;":"⋦","&loang;":"⟬","&loarr;":"⇽","&lobrk;":"⟦","&longleftarrow;":"⟵","&longleftrightarrow;":"⟷","&longmapsto;":"⟼","&longrightarrow;":"⟶","&looparrowleft;":"↫","&looparrowright;":"↬","&lopar;":"⦅","&lopf;":"𝕝","&loplus;":"⨭","&lotimes;":"⨴","&lowast;":"∗","&lowbar;":"_","&loz;":"◊","&lozenge;":"◊","&lozf;":"⧫","&lpar;":"(","&lparlt;":"⦓","&lrarr;":"⇆","&lrcorner;":"⌟","&lrhar;":"⇋","&lrhard;":"⥭","&lrm;":"‎","&lrtri;":"⊿","&lsaquo;":"‹","&lscr;":"𝓁","&lsh;":"↰","&lsim;":"≲","&lsime;":"⪍","&lsimg;":"⪏","&lsqb;":"[","&lsquo;":"‘","&lsquor;":"‚","&lstrok;":"ł","&lt":"<","&lt;":"<","&ltcc;":"⪦","&ltcir;":"⩹","&ltdot;":"⋖","&lthree;":"⋋","&ltimes;":"⋉","&ltlarr;":"⥶","&ltquest;":"⩻","&ltrPar;":"⦖","&ltri;":"◃","&ltrie;":"⊴","&ltrif;":"◂","&lurdshar;":"⥊","&luruhar;":"⥦","&lvertneqq;":"≨︀","&lvnE;":"≨︀","&mDDot;":"∺","&macr":"¯","&macr;":"¯","&male;":"♂","&malt;":"✠","&maltese;":"✠","&map;":"↦","&mapsto;":"↦","&mapstodown;":"↧","&mapstoleft;":"↤","&mapstoup;":"↥","&marker;":"▮","&mcomma;":"⨩","&mcy;":"м","&mdash;":"—","&measuredangle;":"∡","&mfr;":"𝔪","&mho;":"℧","&micro":"µ","&micro;":"µ","&mid;":"∣","&midast;":"*","&midcir;":"⫰","&middot":"·","&middot;":"·","&minus;":"−","&minusb;":"⊟","&minusd;":"∸","&minusdu;":"⨪","&mlcp;":"⫛","&mldr;":"…","&mnplus;":"∓","&models;":"⊧","&mopf;":"𝕞","&mp;":"∓","&mscr;":"𝓂","&mstpos;":"∾","&mu;":"μ","&multimap;":"⊸","&mumap;":"⊸","&nGg;":"⋙̸","&nGt;":"≫⃒","&nGtv;":"≫̸","&nLeftarrow;":"⇍","&nLeftrightarrow;":"⇎","&nLl;":"⋘̸","&nLt;":"≪⃒","&nLtv;":"≪̸","&nRightarrow;":"⇏","&nVDash;":"⊯","&nVdash;":"⊮","&nabla;":"∇","&nacute;":"ń","&nang;":"∠⃒","&nap;":"≉","&napE;":"⩰̸","&napid;":"≋̸","&napos;":"ʼn","&napprox;":"≉","&natur;":"♮","&natural;":"♮","&naturals;":"ℕ","&nbsp":" ","&nbsp;":" ","&nbump;":"≎̸","&nbumpe;":"≏̸","&ncap;":"⩃","&ncaron;":"ň","&ncedil;":"ņ","&ncong;":"≇","&ncongdot;":"⩭̸","&ncup;":"⩂","&ncy;":"н","&ndash;":"–","&ne;":"≠","&neArr;":"⇗","&nearhk;":"⤤","&nearr;":"↗","&nearrow;":"↗","&nedot;":"≐̸","&nequiv;":"≢","&nesear;":"⤨","&nesim;":"≂̸","&nexist;":"∄","&nexists;":"∄","&nfr;":"𝔫","&ngE;":"≧̸","&nge;":"≱","&ngeq;":"≱","&ngeqq;":"≧̸","&ngeqslant;":"⩾̸","&nges;":"⩾̸","&ngsim;":"≵","&ngt;":"≯","&ngtr;":"≯","&nhArr;":"⇎","&nharr;":"↮","&nhpar;":"⫲","&ni;":"∋","&nis;":"⋼","&nisd;":"⋺","&niv;":"∋","&njcy;":"њ","&nlArr;":"⇍","&nlE;":"≦̸","&nlarr;":"↚","&nldr;":"‥","&nle;":"≰","&nleftarrow;":"↚","&nleftrightarrow;":"↮","&nleq;":"≰","&nleqq;":"≦̸","&nleqslant;":"⩽̸","&nles;":"⩽̸","&nless;":"≮","&nlsim;":"≴","&nlt;":"≮","&nltri;":"⋪","&nltrie;":"⋬","&nmid;":"∤","&nopf;":"𝕟","&not":"¬","&not;":"¬","&notin;":"∉","&notinE;":"⋹̸","&notindot;":"⋵̸","&notinva;":"∉","&notinvb;":"⋷","&notinvc;":"⋶","&notni;":"∌","&notniva;":"∌","&notnivb;":"⋾","&notnivc;":"⋽","&npar;":"∦","&nparallel;":"∦","&nparsl;":"⫽⃥","&npart;":"∂̸","&npolint;":"⨔","&npr;":"⊀","&nprcue;":"⋠","&npre;":"⪯̸","&nprec;":"⊀","&npreceq;":"⪯̸","&nrArr;":"⇏","&nrarr;":"↛","&nrarrc;":"⤳̸","&nrarrw;":"↝̸","&nrightarrow;":"↛","&nrtri;":"⋫","&nrtrie;":"⋭","&nsc;":"⊁","&nsccue;":"⋡","&nsce;":"⪰̸","&nscr;":"𝓃","&nshortmid;":"∤","&nshortparallel;":"∦","&nsim;":"≁","&nsime;":"≄","&nsimeq;":"≄","&nsmid;":"∤","&nspar;":"∦","&nsqsube;":"⋢","&nsqsupe;":"⋣","&nsub;":"⊄","&nsubE;":"⫅̸","&nsube;":"⊈","&nsubset;":"⊂⃒","&nsubseteq;":"⊈","&nsubseteqq;":"⫅̸","&nsucc;":"⊁","&nsucceq;":"⪰̸","&nsup;":"⊅","&nsupE;":"⫆̸","&nsupe;":"⊉","&nsupset;":"⊃⃒","&nsupseteq;":"⊉","&nsupseteqq;":"⫆̸","&ntgl;":"≹","&ntilde":"ñ","&ntilde;":"ñ","&ntlg;":"≸","&ntriangleleft;":"⋪","&ntrianglelefteq;":"⋬","&ntriangleright;":"⋫","&ntrianglerighteq;":"⋭","&nu;":"ν","&num;":"#","&numero;":"№","&numsp;":" ","&nvDash;":"⊭","&nvHarr;":"⤄","&nvap;":"≍⃒","&nvdash;":"⊬","&nvge;":"≥⃒","&nvgt;":">⃒","&nvinfin;":"⧞","&nvlArr;":"⤂","&nvle;":"≤⃒","&nvlt;":"<⃒","&nvltrie;":"⊴⃒","&nvrArr;":"⤃","&nvrtrie;":"⊵⃒","&nvsim;":"∼⃒","&nwArr;":"⇖","&nwarhk;":"⤣","&nwarr;":"↖","&nwarrow;":"↖","&nwnear;":"⤧","&oS;":"Ⓢ","&oacute":"ó","&oacute;":"ó","&oast;":"⊛","&ocir;":"⊚","&ocirc":"ô","&ocirc;":"ô","&ocy;":"о","&odash;":"⊝","&odblac;":"ő","&odiv;":"⨸","&odot;":"⊙","&odsold;":"⦼","&oelig;":"œ","&ofcir;":"⦿","&ofr;":"𝔬","&ogon;":"˛","&ograve":"ò","&ograve;":"ò","&ogt;":"⧁","&ohbar;":"⦵","&ohm;":"Ω","&oint;":"∮","&olarr;":"↺","&olcir;":"⦾","&olcross;":"⦻","&oline;":"‾","&olt;":"⧀","&omacr;":"ō","&omega;":"ω","&omicron;":"ο","&omid;":"⦶","&ominus;":"⊖","&oopf;":"𝕠","&opar;":"⦷","&operp;":"⦹","&oplus;":"⊕","&or;":"∨","&orarr;":"↻","&ord;":"⩝","&order;":"ℴ","&orderof;":"ℴ","&ordf":"ª","&ordf;":"ª","&ordm":"º","&ordm;":"º","&origof;":"⊶","&oror;":"⩖","&orslope;":"⩗","&orv;":"⩛","&oscr;":"ℴ","&oslash":"ø","&oslash;":"ø","&osol;":"⊘","&otilde":"õ","&otilde;":"õ","&otimes;":"⊗","&otimesas;":"⨶","&ouml":"ö","&ouml;":"ö","&ovbar;":"⌽","&par;":"∥","&para":"¶","&para;":"¶","&parallel;":"∥","&parsim;":"⫳","&parsl;":"⫽","&part;":"∂","&pcy;":"п","&percnt;":"%","&period;":".","&permil;":"‰","&perp;":"⊥","&pertenk;":"‱","&pfr;":"𝔭","&phi;":"φ","&phiv;":"ϕ","&phmmat;":"ℳ","&phone;":"☎","&pi;":"π","&pitchfork;":"⋔","&piv;":"ϖ","&planck;":"ℏ","&planckh;":"ℎ","&plankv;":"ℏ","&plus;":"+","&plusacir;":"⨣","&plusb;":"⊞","&pluscir;":"⨢","&plusdo;":"∔","&plusdu;":"⨥","&pluse;":"⩲","&plusmn":"±","&plusmn;":"±","&plussim;":"⨦","&plustwo;":"⨧","&pm;":"±","&pointint;":"⨕","&popf;":"𝕡","&pound":"£","&pound;":"£","&pr;":"≺","&prE;":"⪳","&prap;":"⪷","&prcue;":"≼","&pre;":"⪯","&prec;":"≺","&precapprox;":"⪷","&preccurlyeq;":"≼","&preceq;":"⪯","&precnapprox;":"⪹","&precneqq;":"⪵","&precnsim;":"⋨","&precsim;":"≾","&prime;":"′","&primes;":"ℙ","&prnE;":"⪵","&prnap;":"⪹","&prnsim;":"⋨","&prod;":"∏","&profalar;":"⌮","&profline;":"⌒","&profsurf;":"⌓","&prop;":"∝","&propto;":"∝","&prsim;":"≾","&prurel;":"⊰","&pscr;":"𝓅","&psi;":"ψ","&puncsp;":" ","&qfr;":"𝔮","&qint;":"⨌","&qopf;":"𝕢","&qprime;":"⁗","&qscr;":"𝓆","&quaternions;":"ℍ","&quatint;":"⨖","&quest;":"?","&questeq;":"≟","&quot":'"',"&quot;":'"',"&rAarr;":"⇛","&rArr;":"⇒","&rAtail;":"⤜","&rBarr;":"⤏","&rHar;":"⥤","&race;":"∽̱","&racute;":"ŕ","&radic;":"√","&raemptyv;":"⦳","&rang;":"⟩","&rangd;":"⦒","&range;":"⦥","&rangle;":"⟩","&raquo":"»","&raquo;":"»","&rarr;":"→","&rarrap;":"⥵","&rarrb;":"⇥","&rarrbfs;":"⤠","&rarrc;":"⤳","&rarrfs;":"⤞","&rarrhk;":"↪","&rarrlp;":"↬","&rarrpl;":"⥅","&rarrsim;":"⥴","&rarrtl;":"↣","&rarrw;":"↝","&ratail;":"⤚","&ratio;":"∶","&rationals;":"ℚ","&rbarr;":"⤍","&rbbrk;":"❳","&rbrace;":"}","&rbrack;":"]","&rbrke;":"⦌","&rbrksld;":"⦎","&rbrkslu;":"⦐","&rcaron;":"ř","&rcedil;":"ŗ","&rceil;":"⌉","&rcub;":"}","&rcy;":"р","&rdca;":"⤷","&rdldhar;":"⥩","&rdquo;":"”","&rdquor;":"”","&rdsh;":"↳","&real;":"ℜ","&realine;":"ℛ","&realpart;":"ℜ","&reals;":"ℝ","&rect;":"▭","&reg":"®","&reg;":"®","&rfisht;":"⥽","&rfloor;":"⌋","&rfr;":"𝔯","&rhard;":"⇁","&rharu;":"⇀","&rharul;":"⥬","&rho;":"ρ","&rhov;":"ϱ","&rightarrow;":"→","&rightarrowtail;":"↣","&rightharpoondown;":"⇁","&rightharpoonup;":"⇀","&rightleftarrows;":"⇄","&rightleftharpoons;":"⇌","&rightrightarrows;":"⇉","&rightsquigarrow;":"↝","&rightthreetimes;":"⋌","&ring;":"˚","&risingdotseq;":"≓","&rlarr;":"⇄","&rlhar;":"⇌","&rlm;":"‏","&rmoust;":"⎱","&rmoustache;":"⎱","&rnmid;":"⫮","&roang;":"⟭","&roarr;":"⇾","&robrk;":"⟧","&ropar;":"⦆","&ropf;":"𝕣","&roplus;":"⨮","&rotimes;":"⨵","&rpar;":")","&rpargt;":"⦔","&rppolint;":"⨒","&rrarr;":"⇉","&rsaquo;":"›","&rscr;":"𝓇","&rsh;":"↱","&rsqb;":"]","&rsquo;":"’","&rsquor;":"’","&rthree;":"⋌","&rtimes;":"⋊","&rtri;":"▹","&rtrie;":"⊵","&rtrif;":"▸","&rtriltri;":"⧎","&ruluhar;":"⥨","&rx;":"℞","&sacute;":"ś","&sbquo;":"‚","&sc;":"≻","&scE;":"⪴","&scap;":"⪸","&scaron;":"š","&sccue;":"≽","&sce;":"⪰","&scedil;":"ş","&scirc;":"ŝ","&scnE;":"⪶","&scnap;":"⪺","&scnsim;":"⋩","&scpolint;":"⨓","&scsim;":"≿","&scy;":"с","&sdot;":"⋅","&sdotb;":"⊡","&sdote;":"⩦","&seArr;":"⇘","&searhk;":"⤥","&searr;":"↘","&searrow;":"↘","&sect":"§","&sect;":"§","&semi;":";","&seswar;":"⤩","&setminus;":"∖","&setmn;":"∖","&sext;":"✶","&sfr;":"𝔰","&sfrown;":"⌢","&sharp;":"♯","&shchcy;":"щ","&shcy;":"ш","&shortmid;":"∣","&shortparallel;":"∥","&shy":"­","&shy;":"­","&sigma;":"σ","&sigmaf;":"ς","&sigmav;":"ς","&sim;":"∼","&simdot;":"⩪","&sime;":"≃","&simeq;":"≃","&simg;":"⪞","&simgE;":"⪠","&siml;":"⪝","&simlE;":"⪟","&simne;":"≆","&simplus;":"⨤","&simrarr;":"⥲","&slarr;":"←","&smallsetminus;":"∖","&smashp;":"⨳","&smeparsl;":"⧤","&smid;":"∣","&smile;":"⌣","&smt;":"⪪","&smte;":"⪬","&smtes;":"⪬︀","&softcy;":"ь","&sol;":"/","&solb;":"⧄","&solbar;":"⌿","&sopf;":"𝕤","&spades;":"♠","&spadesuit;":"♠","&spar;":"∥","&sqcap;":"⊓","&sqcaps;":"⊓︀","&sqcup;":"⊔","&sqcups;":"⊔︀","&sqsub;":"⊏","&sqsube;":"⊑","&sqsubset;":"⊏","&sqsubseteq;":"⊑","&sqsup;":"⊐","&sqsupe;":"⊒","&sqsupset;":"⊐","&sqsupseteq;":"⊒","&squ;":"□","&square;":"□","&squarf;":"▪","&squf;":"▪","&srarr;":"→","&sscr;":"𝓈","&ssetmn;":"∖","&ssmile;":"⌣","&sstarf;":"⋆","&star;":"☆","&starf;":"★","&straightepsilon;":"ϵ","&straightphi;":"ϕ","&strns;":"¯","&sub;":"⊂","&subE;":"⫅","&subdot;":"⪽","&sube;":"⊆","&subedot;":"⫃","&submult;":"⫁","&subnE;":"⫋","&subne;":"⊊","&subplus;":"⪿","&subrarr;":"⥹","&subset;":"⊂","&subseteq;":"⊆","&subseteqq;":"⫅","&subsetneq;":"⊊","&subsetneqq;":"⫋","&subsim;":"⫇","&subsub;":"⫕","&subsup;":"⫓","&succ;":"≻","&succapprox;":"⪸","&succcurlyeq;":"≽","&succeq;":"⪰","&succnapprox;":"⪺","&succneqq;":"⪶","&succnsim;":"⋩","&succsim;":"≿","&sum;":"∑","&sung;":"♪","&sup1":"¹","&sup1;":"¹","&sup2":"²","&sup2;":"²","&sup3":"³","&sup3;":"³","&sup;":"⊃","&supE;":"⫆","&supdot;":"⪾","&supdsub;":"⫘","&supe;":"⊇","&supedot;":"⫄","&suphsol;":"⟉","&suphsub;":"⫗","&suplarr;":"⥻","&supmult;":"⫂","&supnE;":"⫌","&supne;":"⊋","&supplus;":"⫀","&supset;":"⊃","&supseteq;":"⊇","&supseteqq;":"⫆","&supsetneq;":"⊋","&supsetneqq;":"⫌","&supsim;":"⫈","&supsub;":"⫔","&supsup;":"⫖","&swArr;":"⇙","&swarhk;":"⤦","&swarr;":"↙","&swarrow;":"↙","&swnwar;":"⤪","&szlig":"ß","&szlig;":"ß","&target;":"⌖","&tau;":"τ","&tbrk;":"⎴","&tcaron;":"ť","&tcedil;":"ţ","&tcy;":"т","&tdot;":"⃛","&telrec;":"⌕","&tfr;":"𝔱","&there4;":"∴","&therefore;":"∴","&theta;":"θ","&thetasym;":"ϑ","&thetav;":"ϑ","&thickapprox;":"≈","&thicksim;":"∼","&thinsp;":" ","&thkap;":"≈","&thksim;":"∼","&thorn":"þ","&thorn;":"þ","&tilde;":"˜","&times":"×","&times;":"×","&timesb;":"⊠","&timesbar;":"⨱","&timesd;":"⨰","&tint;":"∭","&toea;":"⤨","&top;":"⊤","&topbot;":"⌶","&topcir;":"⫱","&topf;":"𝕥","&topfork;":"⫚","&tosa;":"⤩","&tprime;":"‴","&trade;":"™","&triangle;":"▵","&triangledown;":"▿","&triangleleft;":"◃","&trianglelefteq;":"⊴","&triangleq;":"≜","&triangleright;":"▹","&trianglerighteq;":"⊵","&tridot;":"◬","&trie;":"≜","&triminus;":"⨺","&triplus;":"⨹","&trisb;":"⧍","&tritime;":"⨻","&trpezium;":"⏢","&tscr;":"𝓉","&tscy;":"ц","&tshcy;":"ћ","&tstrok;":"ŧ","&twixt;":"≬","&twoheadleftarrow;":"↞","&twoheadrightarrow;":"↠","&uArr;":"⇑","&uHar;":"⥣","&uacute":"ú","&uacute;":"ú","&uarr;":"↑","&ubrcy;":"ў","&ubreve;":"ŭ","&ucirc":"û","&ucirc;":"û","&ucy;":"у","&udarr;":"⇅","&udblac;":"ű","&udhar;":"⥮","&ufisht;":"⥾","&ufr;":"𝔲","&ugrave":"ù","&ugrave;":"ù","&uharl;":"↿","&uharr;":"↾","&uhblk;":"▀","&ulcorn;":"⌜","&ulcorner;":"⌜","&ulcrop;":"⌏","&ultri;":"◸","&umacr;":"ū","&uml":"¨","&uml;":"¨","&uogon;":"ų","&uopf;":"𝕦","&uparrow;":"↑","&updownarrow;":"↕","&upharpoonleft;":"↿","&upharpoonright;":"↾","&uplus;":"⊎","&upsi;":"υ","&upsih;":"ϒ","&upsilon;":"υ","&upuparrows;":"⇈","&urcorn;":"⌝","&urcorner;":"⌝","&urcrop;":"⌎","&uring;":"ů","&urtri;":"◹","&uscr;":"𝓊","&utdot;":"⋰","&utilde;":"ũ","&utri;":"▵","&utrif;":"▴","&uuarr;":"⇈","&uuml":"ü","&uuml;":"ü","&uwangle;":"⦧","&vArr;":"⇕","&vBar;":"⫨","&vBarv;":"⫩","&vDash;":"⊨","&vangrt;":"⦜","&varepsilon;":"ϵ","&varkappa;":"ϰ","&varnothing;":"∅","&varphi;":"ϕ","&varpi;":"ϖ","&varpropto;":"∝","&varr;":"↕","&varrho;":"ϱ","&varsigma;":"ς","&varsubsetneq;":"⊊︀","&varsubsetneqq;":"⫋︀","&varsupsetneq;":"⊋︀","&varsupsetneqq;":"⫌︀","&vartheta;":"ϑ","&vartriangleleft;":"⊲","&vartriangleright;":"⊳","&vcy;":"в","&vdash;":"⊢","&vee;":"∨","&veebar;":"⊻","&veeeq;":"≚","&vellip;":"⋮","&verbar;":"|","&vert;":"|","&vfr;":"𝔳","&vltri;":"⊲","&vnsub;":"⊂⃒","&vnsup;":"⊃⃒","&vopf;":"𝕧","&vprop;":"∝","&vrtri;":"⊳","&vscr;":"𝓋","&vsubnE;":"⫋︀","&vsubne;":"⊊︀","&vsupnE;":"⫌︀","&vsupne;":"⊋︀","&vzigzag;":"⦚","&wcirc;":"ŵ","&wedbar;":"⩟","&wedge;":"∧","&wedgeq;":"≙","&weierp;":"℘","&wfr;":"𝔴","&wopf;":"𝕨","&wp;":"℘","&wr;":"≀","&wreath;":"≀","&wscr;":"𝓌","&xcap;":"⋂","&xcirc;":"◯","&xcup;":"⋃","&xdtri;":"▽","&xfr;":"𝔵","&xhArr;":"⟺","&xharr;":"⟷","&xi;":"ξ","&xlArr;":"⟸","&xlarr;":"⟵","&xmap;":"⟼","&xnis;":"⋻","&xodot;":"⨀","&xopf;":"𝕩","&xoplus;":"⨁","&xotime;":"⨂","&xrArr;":"⟹","&xrarr;":"⟶","&xscr;":"𝓍","&xsqcup;":"⨆","&xuplus;":"⨄","&xutri;":"△","&xvee;":"⋁","&xwedge;":"⋀","&yacute":"ý","&yacute;":"ý","&yacy;":"я","&ycirc;":"ŷ","&ycy;":"ы","&yen":"¥","&yen;":"¥","&yfr;":"𝔶","&yicy;":"ї","&yopf;":"𝕪","&yscr;":"𝓎","&yucy;":"ю","&yuml":"ÿ","&yuml;":"ÿ","&zacute;":"ź","&zcaron;":"ž","&zcy;":"з","&zdot;":"ż","&zeetrf;":"ℨ","&zeta;":"ζ","&zfr;":"𝔷","&zhcy;":"ж","&zigrarr;":"⇝","&zopf;":"𝕫","&zscr;":"𝓏","&zwj;":"‍","&zwnj;":"‌"},characters:{Æ:"&AElig;","&":"&amp;",Á:"&Aacute;",Ă:"&Abreve;",Â:"&Acirc;",А:"&Acy;","𝔄":"&Afr;",À:"&Agrave;",Α:"&Alpha;",Ā:"&Amacr;","⩓":"&And;",Ą:"&Aogon;","𝔸":"&Aopf;","⁡":"&af;",Å:"&angst;","𝒜":"&Ascr;","≔":"&coloneq;",Ã:"&Atilde;",Ä:"&Auml;","∖":"&ssetmn;","⫧":"&Barv;","⌆":"&doublebarwedge;",Б:"&Bcy;","∵":"&because;",ℬ:"&bernou;",Β:"&Beta;","𝔅":"&Bfr;","𝔹":"&Bopf;","˘":"&breve;","≎":"&bump;",Ч:"&CHcy;","©":"&copy;",Ć:"&Cacute;","⋒":"&Cap;","ⅅ":"&DD;",ℭ:"&Cfr;",Č:"&Ccaron;",Ç:"&Ccedil;",Ĉ:"&Ccirc;","∰":"&Cconint;",Ċ:"&Cdot;","¸":"&cedil;","·":"&middot;",Χ:"&Chi;","⊙":"&odot;","⊖":"&ominus;","⊕":"&oplus;","⊗":"&otimes;","∲":"&cwconint;","”":"&rdquor;","’":"&rsquor;","∷":"&Proportion;","⩴":"&Colone;","≡":"&equiv;","∯":"&DoubleContourIntegral;","∮":"&oint;",ℂ:"&complexes;","∐":"&coprod;","∳":"&awconint;","⨯":"&Cross;","𝒞":"&Cscr;","⋓":"&Cup;","≍":"&asympeq;","⤑":"&DDotrahd;",Ђ:"&DJcy;",Ѕ:"&DScy;",Џ:"&DZcy;","‡":"&ddagger;","↡":"&Darr;","⫤":"&DoubleLeftTee;",Ď:"&Dcaron;",Д:"&Dcy;","∇":"&nabla;",Δ:"&Delta;","𝔇":"&Dfr;","´":"&acute;","˙":"&dot;","˝":"&dblac;","`":"&grave;","˜":"&tilde;","⋄":"&diamond;","ⅆ":"&dd;","𝔻":"&Dopf;","¨":"&uml;","⃜":"&DotDot;","≐":"&esdot;","⇓":"&dArr;","⇐":"&lArr;","⇔":"&iff;","⟸":"&xlArr;","⟺":"&xhArr;","⟹":"&xrArr;","⇒":"&rArr;","⊨":"&vDash;","⇑":"&uArr;","⇕":"&vArr;","∥":"&spar;","↓":"&downarrow;","⤓":"&DownArrowBar;","⇵":"&duarr;","̑":"&DownBreve;","⥐":"&DownLeftRightVector;","⥞":"&DownLeftTeeVector;","↽":"&lhard;","⥖":"&DownLeftVectorBar;","⥟":"&DownRightTeeVector;","⇁":"&rightharpoondown;","⥗":"&DownRightVectorBar;","⊤":"&top;","↧":"&mapstodown;","𝒟":"&Dscr;",Đ:"&Dstrok;",Ŋ:"&ENG;",Ð:"&ETH;",É:"&Eacute;",Ě:"&Ecaron;",Ê:"&Ecirc;",Э:"&Ecy;",Ė:"&Edot;","𝔈":"&Efr;",È:"&Egrave;","∈":"&isinv;",Ē:"&Emacr;","◻":"&EmptySmallSquare;","▫":"&EmptyVerySmallSquare;",Ę:"&Eogon;","𝔼":"&Eopf;",Ε:"&Epsilon;","⩵":"&Equal;","≂":"&esim;","⇌":"&rlhar;",ℰ:"&expectation;","⩳":"&Esim;",Η:"&Eta;",Ë:"&Euml;","∃":"&exist;","ⅇ":"&exponentiale;",Ф:"&Fcy;","𝔉":"&Ffr;","◼":"&FilledSmallSquare;","▪":"&squf;","𝔽":"&Fopf;","∀":"&forall;",ℱ:"&Fscr;",Ѓ:"&GJcy;",">":"&gt;",Γ:"&Gamma;",Ϝ:"&Gammad;",Ğ:"&Gbreve;",Ģ:"&Gcedil;",Ĝ:"&Gcirc;",Г:"&Gcy;",Ġ:"&Gdot;","𝔊":"&Gfr;","⋙":"&ggg;","𝔾":"&Gopf;","≥":"&geq;","⋛":"&gtreqless;","≧":"&geqq;","⪢":"&GreaterGreater;","≷":"&gtrless;","⩾":"&ges;","≳":"&gtrsim;","𝒢":"&Gscr;","≫":"&gg;",Ъ:"&HARDcy;","ˇ":"&caron;","^":"&Hat;",Ĥ:"&Hcirc;",ℌ:"&Poincareplane;",ℋ:"&hamilt;",ℍ:"&quaternions;","─":"&boxh;",Ħ:"&Hstrok;","≏":"&bumpeq;",Е:"&IEcy;",IJ:"&IJlig;",Ё:"&IOcy;",Í:"&Iacute;",Î:"&Icirc;",И:"&Icy;",İ:"&Idot;",ℑ:"&imagpart;",Ì:"&Igrave;",Ī:"&Imacr;","ⅈ":"&ii;","∬":"&Int;","∫":"&int;","⋂":"&xcap;","⁣":"&ic;","⁢":"&it;",Į:"&Iogon;","𝕀":"&Iopf;",Ι:"&Iota;",ℐ:"&imagline;",Ĩ:"&Itilde;",І:"&Iukcy;",Ï:"&Iuml;",Ĵ:"&Jcirc;",Й:"&Jcy;","𝔍":"&Jfr;","𝕁":"&Jopf;","𝒥":"&Jscr;",Ј:"&Jsercy;",Є:"&Jukcy;",Х:"&KHcy;",Ќ:"&KJcy;",Κ:"&Kappa;",Ķ:"&Kcedil;",К:"&Kcy;","𝔎":"&Kfr;","𝕂":"&Kopf;","𝒦":"&Kscr;",Љ:"&LJcy;","<":"&lt;",Ĺ:"&Lacute;",Λ:"&Lambda;","⟪":"&Lang;",ℒ:"&lagran;","↞":"&twoheadleftarrow;",Ľ:"&Lcaron;",Ļ:"&Lcedil;",Л:"&Lcy;","⟨":"&langle;","←":"&slarr;","⇤":"&larrb;","⇆":"&lrarr;","⌈":"&lceil;","⟦":"&lobrk;","⥡":"&LeftDownTeeVector;","⇃":"&downharpoonleft;","⥙":"&LeftDownVectorBar;","⌊":"&lfloor;","↔":"&leftrightarrow;","⥎":"&LeftRightVector;","⊣":"&dashv;","↤":"&mapstoleft;","⥚":"&LeftTeeVector;","⊲":"&vltri;","⧏":"&LeftTriangleBar;","⊴":"&trianglelefteq;","⥑":"&LeftUpDownVector;","⥠":"&LeftUpTeeVector;","↿":"&upharpoonleft;","⥘":"&LeftUpVectorBar;","↼":"&lharu;","⥒":"&LeftVectorBar;","⋚":"&lesseqgtr;","≦":"&leqq;","≶":"&lg;","⪡":"&LessLess;","⩽":"&les;","≲":"&lsim;","𝔏":"&Lfr;","⋘":"&Ll;","⇚":"&lAarr;",Ŀ:"&Lmidot;","⟵":"&xlarr;","⟷":"&xharr;","⟶":"&xrarr;","𝕃":"&Lopf;","↙":"&swarrow;","↘":"&searrow;","↰":"&lsh;",Ł:"&Lstrok;","≪":"&ll;","⤅":"&Map;",М:"&Mcy;"," ":"&MediumSpace;",ℳ:"&phmmat;","𝔐":"&Mfr;","∓":"&mp;","𝕄":"&Mopf;",Μ:"&Mu;",Њ:"&NJcy;",Ń:"&Nacute;",Ň:"&Ncaron;",Ņ:"&Ncedil;",Н:"&Ncy;","​":"&ZeroWidthSpace;","\n":"&NewLine;","𝔑":"&Nfr;","⁠":"&NoBreak;"," ":"&nbsp;",ℕ:"&naturals;","⫬":"&Not;","≢":"&nequiv;","≭":"&NotCupCap;","∦":"&nspar;","∉":"&notinva;","≠":"&ne;","≂̸":"&nesim;","∄":"&nexists;","≯":"&ngtr;","≱":"&ngeq;","≧̸":"&ngeqq;","≫̸":"&nGtv;","≹":"&ntgl;","⩾̸":"&nges;","≵":"&ngsim;","≎̸":"&nbump;","≏̸":"&nbumpe;","⋪":"&ntriangleleft;","⧏̸":"&NotLeftTriangleBar;","⋬":"&ntrianglelefteq;","≮":"&nlt;","≰":"&nleq;","≸":"&ntlg;","≪̸":"&nLtv;","⩽̸":"&nles;","≴":"&nlsim;","⪢̸":"&NotNestedGreaterGreater;","⪡̸":"&NotNestedLessLess;","⊀":"&nprec;","⪯̸":"&npreceq;","⋠":"&nprcue;","∌":"&notniva;","⋫":"&ntriangleright;","⧐̸":"&NotRightTriangleBar;","⋭":"&ntrianglerighteq;","⊏̸":"&NotSquareSubset;","⋢":"&nsqsube;","⊐̸":"&NotSquareSuperset;","⋣":"&nsqsupe;","⊂⃒":"&vnsub;","⊈":"&nsubseteq;","⊁":"&nsucc;","⪰̸":"&nsucceq;","⋡":"&nsccue;","≿̸":"&NotSucceedsTilde;","⊃⃒":"&vnsup;","⊉":"&nsupseteq;","≁":"&nsim;","≄":"&nsimeq;","≇":"&ncong;","≉":"&napprox;","∤":"&nsmid;","𝒩":"&Nscr;",Ñ:"&Ntilde;",Ν:"&Nu;",Œ:"&OElig;",Ó:"&Oacute;",Ô:"&Ocirc;",О:"&Ocy;",Ő:"&Odblac;","𝔒":"&Ofr;",Ò:"&Ograve;",Ō:"&Omacr;",Ω:"&ohm;",Ο:"&Omicron;","𝕆":"&Oopf;","“":"&ldquo;","‘":"&lsquo;","⩔":"&Or;","𝒪":"&Oscr;",Ø:"&Oslash;",Õ:"&Otilde;","⨷":"&Otimes;",Ö:"&Ouml;","‾":"&oline;","⏞":"&OverBrace;","⎴":"&tbrk;","⏜":"&OverParenthesis;","∂":"&part;",П:"&Pcy;","𝔓":"&Pfr;",Φ:"&Phi;",Π:"&Pi;","±":"&pm;",ℙ:"&primes;","⪻":"&Pr;","≺":"&prec;","⪯":"&preceq;","≼":"&preccurlyeq;","≾":"&prsim;","″":"&Prime;","∏":"&prod;","∝":"&vprop;","𝒫":"&Pscr;",Ψ:"&Psi;",'"':"&quot;","𝔔":"&Qfr;",ℚ:"&rationals;","𝒬":"&Qscr;","⤐":"&drbkarow;","®":"&reg;",Ŕ:"&Racute;","⟫":"&Rang;","↠":"&twoheadrightarrow;","⤖":"&Rarrtl;",Ř:"&Rcaron;",Ŗ:"&Rcedil;",Р:"&Rcy;",ℜ:"&realpart;","∋":"&niv;","⇋":"&lrhar;","⥯":"&duhar;",Ρ:"&Rho;","⟩":"&rangle;","→":"&srarr;","⇥":"&rarrb;","⇄":"&rlarr;","⌉":"&rceil;","⟧":"&robrk;","⥝":"&RightDownTeeVector;","⇂":"&downharpoonright;","⥕":"&RightDownVectorBar;","⌋":"&rfloor;","⊢":"&vdash;","↦":"&mapsto;","⥛":"&RightTeeVector;","⊳":"&vrtri;","⧐":"&RightTriangleBar;","⊵":"&trianglerighteq;","⥏":"&RightUpDownVector;","⥜":"&RightUpTeeVector;","↾":"&upharpoonright;","⥔":"&RightUpVectorBar;","⇀":"&rightharpoonup;","⥓":"&RightVectorBar;",ℝ:"&reals;","⥰":"&RoundImplies;","⇛":"&rAarr;",ℛ:"&realine;","↱":"&rsh;","⧴":"&RuleDelayed;",Щ:"&SHCHcy;",Ш:"&SHcy;",Ь:"&SOFTcy;",Ś:"&Sacute;","⪼":"&Sc;",Š:"&Scaron;",Ş:"&Scedil;",Ŝ:"&Scirc;",С:"&Scy;","𝔖":"&Sfr;","↑":"&uparrow;",Σ:"&Sigma;","∘":"&compfn;","𝕊":"&Sopf;","√":"&radic;","□":"&square;","⊓":"&sqcap;","⊏":"&sqsubset;","⊑":"&sqsubseteq;","⊐":"&sqsupset;","⊒":"&sqsupseteq;","⊔":"&sqcup;","𝒮":"&Sscr;","⋆":"&sstarf;","⋐":"&Subset;","⊆":"&subseteq;","≻":"&succ;","⪰":"&succeq;","≽":"&succcurlyeq;","≿":"&succsim;","∑":"&sum;","⋑":"&Supset;","⊃":"&supset;","⊇":"&supseteq;",Þ:"&THORN;","™":"&trade;",Ћ:"&TSHcy;",Ц:"&TScy;"," ":"&Tab;",Τ:"&Tau;",Ť:"&Tcaron;",Ţ:"&Tcedil;",Т:"&Tcy;","𝔗":"&Tfr;","∴":"&therefore;",Θ:"&Theta;","  ":"&ThickSpace;"," ":"&thinsp;","∼":"&thksim;","≃":"&simeq;","≅":"&cong;","≈":"&thkap;","𝕋":"&Topf;","⃛":"&tdot;","𝒯":"&Tscr;",Ŧ:"&Tstrok;",Ú:"&Uacute;","↟":"&Uarr;","⥉":"&Uarrocir;",Ў:"&Ubrcy;",Ŭ:"&Ubreve;",Û:"&Ucirc;",У:"&Ucy;",Ű:"&Udblac;","𝔘":"&Ufr;",Ù:"&Ugrave;",Ū:"&Umacr;",_:"&lowbar;","⏟":"&UnderBrace;","⎵":"&bbrk;","⏝":"&UnderParenthesis;","⋃":"&xcup;","⊎":"&uplus;",Ų:"&Uogon;","𝕌":"&Uopf;","⤒":"&UpArrowBar;","⇅":"&udarr;","↕":"&varr;","⥮":"&udhar;","⊥":"&perp;","↥":"&mapstoup;","↖":"&nwarrow;","↗":"&nearrow;",ϒ:"&upsih;",Υ:"&Upsilon;",Ů:"&Uring;","𝒰":"&Uscr;",Ũ:"&Utilde;",Ü:"&Uuml;","⊫":"&VDash;","⫫":"&Vbar;",В:"&Vcy;","⊩":"&Vdash;","⫦":"&Vdashl;","⋁":"&xvee;","‖":"&Vert;","∣":"&smid;","|":"&vert;","❘":"&VerticalSeparator;","≀":"&wreath;"," ":"&hairsp;","𝔙":"&Vfr;","𝕍":"&Vopf;","𝒱":"&Vscr;","⊪":"&Vvdash;",Ŵ:"&Wcirc;","⋀":"&xwedge;","𝔚":"&Wfr;","𝕎":"&Wopf;","𝒲":"&Wscr;","𝔛":"&Xfr;",Ξ:"&Xi;","𝕏":"&Xopf;","𝒳":"&Xscr;",Я:"&YAcy;",Ї:"&YIcy;",Ю:"&YUcy;",Ý:"&Yacute;",Ŷ:"&Ycirc;",Ы:"&Ycy;","𝔜":"&Yfr;","𝕐":"&Yopf;","𝒴":"&Yscr;",Ÿ:"&Yuml;",Ж:"&ZHcy;",Ź:"&Zacute;",Ž:"&Zcaron;",З:"&Zcy;",Ż:"&Zdot;",Ζ:"&Zeta;",ℨ:"&zeetrf;",ℤ:"&integers;","𝒵":"&Zscr;",á:"&aacute;",ă:"&abreve;","∾":"&mstpos;","∾̳":"&acE;","∿":"&acd;",â:"&acirc;",а:"&acy;",æ:"&aelig;","𝔞":"&afr;",à:"&agrave;",ℵ:"&aleph;",α:"&alpha;",ā:"&amacr;","⨿":"&amalg;","∧":"&wedge;","⩕":"&andand;","⩜":"&andd;","⩘":"&andslope;","⩚":"&andv;","∠":"&angle;","⦤":"&ange;","∡":"&measuredangle;","⦨":"&angmsdaa;","⦩":"&angmsdab;","⦪":"&angmsdac;","⦫":"&angmsdad;","⦬":"&angmsdae;","⦭":"&angmsdaf;","⦮":"&angmsdag;","⦯":"&angmsdah;","∟":"&angrt;","⊾":"&angrtvb;","⦝":"&angrtvbd;","∢":"&angsph;","⍼":"&angzarr;",ą:"&aogon;","𝕒":"&aopf;","⩰":"&apE;","⩯":"&apacir;","≊":"&approxeq;","≋":"&apid;","'":"&apos;",å:"&aring;","𝒶":"&ascr;","*":"&midast;",ã:"&atilde;",ä:"&auml;","⨑":"&awint;","⫭":"&bNot;","≌":"&bcong;","϶":"&bepsi;","‵":"&bprime;","∽":"&bsim;","⋍":"&bsime;","⊽":"&barvee;","⌅":"&barwedge;","⎶":"&bbrktbrk;",б:"&bcy;","„":"&ldquor;","⦰":"&bemptyv;",β:"&beta;",ℶ:"&beth;","≬":"&twixt;","𝔟":"&bfr;","◯":"&xcirc;","⨀":"&xodot;","⨁":"&xoplus;","⨂":"&xotime;","⨆":"&xsqcup;","★":"&starf;","▽":"&xdtri;","△":"&xutri;","⨄":"&xuplus;","⤍":"&rbarr;","⧫":"&lozf;","▴":"&utrif;","▾":"&dtrif;","◂":"&ltrif;","▸":"&rtrif;","␣":"&blank;","▒":"&blk12;","░":"&blk14;","▓":"&blk34;","█":"&block;","=⃥":"&bne;","≡⃥":"&bnequiv;","⌐":"&bnot;","𝕓":"&bopf;","⋈":"&bowtie;","╗":"&boxDL;","╔":"&boxDR;","╖":"&boxDl;","╓":"&boxDr;","═":"&boxH;","╦":"&boxHD;","╩":"&boxHU;","╤":"&boxHd;","╧":"&boxHu;","╝":"&boxUL;","╚":"&boxUR;","╜":"&boxUl;","╙":"&boxUr;","║":"&boxV;","╬":"&boxVH;","╣":"&boxVL;","╠":"&boxVR;","╫":"&boxVh;","╢":"&boxVl;","╟":"&boxVr;","⧉":"&boxbox;","╕":"&boxdL;","╒":"&boxdR;","┐":"&boxdl;","┌":"&boxdr;","╥":"&boxhD;","╨":"&boxhU;","┬":"&boxhd;","┴":"&boxhu;","⊟":"&minusb;","⊞":"&plusb;","⊠":"&timesb;","╛":"&boxuL;","╘":"&boxuR;","┘":"&boxul;","└":"&boxur;","│":"&boxv;","╪":"&boxvH;","╡":"&boxvL;","╞":"&boxvR;","┼":"&boxvh;","┤":"&boxvl;","├":"&boxvr;","¦":"&brvbar;","𝒷":"&bscr;","⁏":"&bsemi;","\\":"&bsol;","⧅":"&bsolb;","⟈":"&bsolhsub;","•":"&bullet;","⪮":"&bumpE;",ć:"&cacute;","∩":"&cap;","⩄":"&capand;","⩉":"&capbrcup;","⩋":"&capcap;","⩇":"&capcup;","⩀":"&capdot;","∩︀":"&caps;","⁁":"&caret;","⩍":"&ccaps;",č:"&ccaron;",ç:"&ccedil;",ĉ:"&ccirc;","⩌":"&ccups;","⩐":"&ccupssm;",ċ:"&cdot;","⦲":"&cemptyv;","¢":"&cent;","𝔠":"&cfr;",ч:"&chcy;","✓":"&checkmark;",χ:"&chi;","○":"&cir;","⧃":"&cirE;","ˆ":"&circ;","≗":"&cire;","↺":"&olarr;","↻":"&orarr;","Ⓢ":"&oS;","⊛":"&oast;","⊚":"&ocir;","⊝":"&odash;","⨐":"&cirfnint;","⫯":"&cirmid;","⧂":"&cirscir;","♣":"&clubsuit;",":":"&colon;",",":"&comma;","@":"&commat;","∁":"&complement;","⩭":"&congdot;","𝕔":"&copf;","℗":"&copysr;","↵":"&crarr;","✗":"&cross;","𝒸":"&cscr;","⫏":"&csub;","⫑":"&csube;","⫐":"&csup;","⫒":"&csupe;","⋯":"&ctdot;","⤸":"&cudarrl;","⤵":"&cudarrr;","⋞":"&curlyeqprec;","⋟":"&curlyeqsucc;","↶":"&curvearrowleft;","⤽":"&cularrp;","∪":"&cup;","⩈":"&cupbrcap;","⩆":"&cupcap;","⩊":"&cupcup;","⊍":"&cupdot;","⩅":"&cupor;","∪︀":"&cups;","↷":"&curvearrowright;","⤼":"&curarrm;","⋎":"&cuvee;","⋏":"&cuwed;","¤":"&curren;","∱":"&cwint;","⌭":"&cylcty;","⥥":"&dHar;","†":"&dagger;",ℸ:"&daleth;","‐":"&hyphen;","⤏":"&rBarr;",ď:"&dcaron;",д:"&dcy;","⇊":"&downdownarrows;","⩷":"&eDDot;","°":"&deg;",δ:"&delta;","⦱":"&demptyv;","⥿":"&dfisht;","𝔡":"&dfr;","♦":"&diams;",ϝ:"&gammad;","⋲":"&disin;","÷":"&divide;","⋇":"&divonx;",ђ:"&djcy;","⌞":"&llcorner;","⌍":"&dlcrop;",$:"&dollar;","𝕕":"&dopf;","≑":"&eDot;","∸":"&minusd;","∔":"&plusdo;","⊡":"&sdotb;","⌟":"&lrcorner;","⌌":"&drcrop;","𝒹":"&dscr;",ѕ:"&dscy;","⧶":"&dsol;",đ:"&dstrok;","⋱":"&dtdot;","▿":"&triangledown;","⦦":"&dwangle;",џ:"&dzcy;","⟿":"&dzigrarr;",é:"&eacute;","⩮":"&easter;",ě:"&ecaron;","≖":"&eqcirc;",ê:"&ecirc;","≕":"&eqcolon;",э:"&ecy;",ė:"&edot;","≒":"&fallingdotseq;","𝔢":"&efr;","⪚":"&eg;",è:"&egrave;","⪖":"&eqslantgtr;","⪘":"&egsdot;","⪙":"&el;","⏧":"&elinters;",ℓ:"&ell;","⪕":"&eqslantless;","⪗":"&elsdot;",ē:"&emacr;","∅":"&varnothing;"," ":"&emsp13;"," ":"&emsp14;"," ":"&emsp;",ŋ:"&eng;"," ":"&ensp;",ę:"&eogon;","𝕖":"&eopf;","⋕":"&epar;","⧣":"&eparsl;","⩱":"&eplus;",ε:"&epsilon;","ϵ":"&varepsilon;","=":"&equals;","≟":"&questeq;","⩸":"&equivDD;","⧥":"&eqvparsl;","≓":"&risingdotseq;","⥱":"&erarr;",ℯ:"&escr;",η:"&eta;",ð:"&eth;",ë:"&euml;","€":"&euro;","!":"&excl;",ф:"&fcy;","♀":"&female;",ffi:"&ffilig;",ff:"&fflig;",ffl:"&ffllig;","𝔣":"&ffr;",fi:"&filig;",fj:"&fjlig;","♭":"&flat;",fl:"&fllig;","▱":"&fltns;",ƒ:"&fnof;","𝕗":"&fopf;","⋔":"&pitchfork;","⫙":"&forkv;","⨍":"&fpartint;","½":"&half;","⅓":"&frac13;","¼":"&frac14;","⅕":"&frac15;","⅙":"&frac16;","⅛":"&frac18;","⅔":"&frac23;","⅖":"&frac25;","¾":"&frac34;","⅗":"&frac35;","⅜":"&frac38;","⅘":"&frac45;","⅚":"&frac56;","⅝":"&frac58;","⅞":"&frac78;","⁄":"&frasl;","⌢":"&sfrown;","𝒻":"&fscr;","⪌":"&gtreqqless;",ǵ:"&gacute;",γ:"&gamma;","⪆":"&gtrapprox;",ğ:"&gbreve;",ĝ:"&gcirc;",г:"&gcy;",ġ:"&gdot;","⪩":"&gescc;","⪀":"&gesdot;","⪂":"&gesdoto;","⪄":"&gesdotol;","⋛︀":"&gesl;","⪔":"&gesles;","𝔤":"&gfr;",ℷ:"&gimel;",ѓ:"&gjcy;","⪒":"&glE;","⪥":"&gla;","⪤":"&glj;","≩":"&gneqq;","⪊":"&gnapprox;","⪈":"&gneq;","⋧":"&gnsim;","𝕘":"&gopf;",ℊ:"&gscr;","⪎":"&gsime;","⪐":"&gsiml;","⪧":"&gtcc;","⩺":"&gtcir;","⋗":"&gtrdot;","⦕":"&gtlPar;","⩼":"&gtquest;","⥸":"&gtrarr;","≩︀":"&gvnE;",ъ:"&hardcy;","⥈":"&harrcir;","↭":"&leftrightsquigarrow;",ℏ:"&plankv;",ĥ:"&hcirc;","♥":"&heartsuit;","…":"&mldr;","⊹":"&hercon;","𝔥":"&hfr;","⤥":"&searhk;","⤦":"&swarhk;","⇿":"&hoarr;","∻":"&homtht;","↩":"&larrhk;","↪":"&rarrhk;","𝕙":"&hopf;","―":"&horbar;","𝒽":"&hscr;",ħ:"&hstrok;","⁃":"&hybull;",í:"&iacute;",î:"&icirc;",и:"&icy;",е:"&iecy;","¡":"&iexcl;","𝔦":"&ifr;",ì:"&igrave;","⨌":"&qint;","∭":"&tint;","⧜":"&iinfin;","℩":"&iiota;",ij:"&ijlig;",ī:"&imacr;",ı:"&inodot;","⊷":"&imof;",Ƶ:"&imped;","℅":"&incare;","∞":"&infin;","⧝":"&infintie;","⊺":"&intercal;","⨗":"&intlarhk;","⨼":"&iprod;",ё:"&iocy;",į:"&iogon;","𝕚":"&iopf;",ι:"&iota;","¿":"&iquest;","𝒾":"&iscr;","⋹":"&isinE;","⋵":"&isindot;","⋴":"&isins;","⋳":"&isinsv;",ĩ:"&itilde;",і:"&iukcy;",ï:"&iuml;",ĵ:"&jcirc;",й:"&jcy;","𝔧":"&jfr;","ȷ":"&jmath;","𝕛":"&jopf;","𝒿":"&jscr;",ј:"&jsercy;",є:"&jukcy;",κ:"&kappa;",ϰ:"&varkappa;",ķ:"&kcedil;",к:"&kcy;","𝔨":"&kfr;",ĸ:"&kgreen;",х:"&khcy;",ќ:"&kjcy;","𝕜":"&kopf;","𝓀":"&kscr;","⤛":"&lAtail;","⤎":"&lBarr;","⪋":"&lesseqqgtr;","⥢":"&lHar;",ĺ:"&lacute;","⦴":"&laemptyv;",λ:"&lambda;","⦑":"&langd;","⪅":"&lessapprox;","«":"&laquo;","⤟":"&larrbfs;","⤝":"&larrfs;","↫":"&looparrowleft;","⤹":"&larrpl;","⥳":"&larrsim;","↢":"&leftarrowtail;","⪫":"&lat;","⤙":"&latail;","⪭":"&late;","⪭︀":"&lates;","⤌":"&lbarr;","❲":"&lbbrk;","{":"&lcub;","[":"&lsqb;","⦋":"&lbrke;","⦏":"&lbrksld;","⦍":"&lbrkslu;",ľ:"&lcaron;",ļ:"&lcedil;",л:"&lcy;","⤶":"&ldca;","⥧":"&ldrdhar;","⥋":"&ldrushar;","↲":"&ldsh;","≤":"&leq;","⇇":"&llarr;","⋋":"&lthree;","⪨":"&lescc;","⩿":"&lesdot;","⪁":"&lesdoto;","⪃":"&lesdotor;","⋚︀":"&lesg;","⪓":"&lesges;","⋖":"&ltdot;","⥼":"&lfisht;","𝔩":"&lfr;","⪑":"&lgE;","⥪":"&lharul;","▄":"&lhblk;",љ:"&ljcy;","⥫":"&llhard;","◺":"&lltri;",ŀ:"&lmidot;","⎰":"&lmoustache;","≨":"&lneqq;","⪉":"&lnapprox;","⪇":"&lneq;","⋦":"&lnsim;","⟬":"&loang;","⇽":"&loarr;","⟼":"&xmap;","↬":"&rarrlp;","⦅":"&lopar;","𝕝":"&lopf;","⨭":"&loplus;","⨴":"&lotimes;","∗":"&lowast;","◊":"&lozenge;","(":"&lpar;","⦓":"&lparlt;","⥭":"&lrhard;","‎":"&lrm;","⊿":"&lrtri;","‹":"&lsaquo;","𝓁":"&lscr;","⪍":"&lsime;","⪏":"&lsimg;","‚":"&sbquo;",ł:"&lstrok;","⪦":"&ltcc;","⩹":"&ltcir;","⋉":"&ltimes;","⥶":"&ltlarr;","⩻":"&ltquest;","⦖":"&ltrPar;","◃":"&triangleleft;","⥊":"&lurdshar;","⥦":"&luruhar;","≨︀":"&lvnE;","∺":"&mDDot;","¯":"&strns;","♂":"&male;","✠":"&maltese;","▮":"&marker;","⨩":"&mcomma;",м:"&mcy;","—":"&mdash;","𝔪":"&mfr;","℧":"&mho;",µ:"&micro;","⫰":"&midcir;","−":"&minus;","⨪":"&minusdu;","⫛":"&mlcp;","⊧":"&models;","𝕞":"&mopf;","𝓂":"&mscr;",μ:"&mu;","⊸":"&mumap;","⋙̸":"&nGg;","≫⃒":"&nGt;","⇍":"&nlArr;","⇎":"&nhArr;","⋘̸":"&nLl;","≪⃒":"&nLt;","⇏":"&nrArr;","⊯":"&nVDash;","⊮":"&nVdash;",ń:"&nacute;","∠⃒":"&nang;","⩰̸":"&napE;","≋̸":"&napid;",ʼn:"&napos;","♮":"&natural;","⩃":"&ncap;",ň:"&ncaron;",ņ:"&ncedil;","⩭̸":"&ncongdot;","⩂":"&ncup;",н:"&ncy;","–":"&ndash;","⇗":"&neArr;","⤤":"&nearhk;","≐̸":"&nedot;","⤨":"&toea;","𝔫":"&nfr;","↮":"&nleftrightarrow;","⫲":"&nhpar;","⋼":"&nis;","⋺":"&nisd;",њ:"&njcy;","≦̸":"&nleqq;","↚":"&nleftarrow;","‥":"&nldr;","𝕟":"&nopf;","¬":"&not;","⋹̸":"&notinE;","⋵̸":"&notindot;","⋷":"&notinvb;","⋶":"&notinvc;","⋾":"&notnivb;","⋽":"&notnivc;","⫽⃥":"&nparsl;","∂̸":"&npart;","⨔":"&npolint;","↛":"&nrightarrow;","⤳̸":"&nrarrc;","↝̸":"&nrarrw;","𝓃":"&nscr;","⊄":"&nsub;","⫅̸":"&nsubseteqq;","⊅":"&nsup;","⫆̸":"&nsupseteqq;",ñ:"&ntilde;",ν:"&nu;","#":"&num;","№":"&numero;"," ":"&numsp;","⊭":"&nvDash;","⤄":"&nvHarr;","≍⃒":"&nvap;","⊬":"&nvdash;","≥⃒":"&nvge;",">⃒":"&nvgt;","⧞":"&nvinfin;","⤂":"&nvlArr;","≤⃒":"&nvle;","<⃒":"&nvlt;","⊴⃒":"&nvltrie;","⤃":"&nvrArr;","⊵⃒":"&nvrtrie;","∼⃒":"&nvsim;","⇖":"&nwArr;","⤣":"&nwarhk;","⤧":"&nwnear;",ó:"&oacute;",ô:"&ocirc;",о:"&ocy;",ő:"&odblac;","⨸":"&odiv;","⦼":"&odsold;",œ:"&oelig;","⦿":"&ofcir;","𝔬":"&ofr;","˛":"&ogon;",ò:"&ograve;","⧁":"&ogt;","⦵":"&ohbar;","⦾":"&olcir;","⦻":"&olcross;","⧀":"&olt;",ō:"&omacr;",ω:"&omega;",ο:"&omicron;","⦶":"&omid;","𝕠":"&oopf;","⦷":"&opar;","⦹":"&operp;","∨":"&vee;","⩝":"&ord;",ℴ:"&oscr;",ª:"&ordf;",º:"&ordm;","⊶":"&origof;","⩖":"&oror;","⩗":"&orslope;","⩛":"&orv;",ø:"&oslash;","⊘":"&osol;",õ:"&otilde;","⨶":"&otimesas;",ö:"&ouml;","⌽":"&ovbar;","¶":"&para;","⫳":"&parsim;","⫽":"&parsl;",п:"&pcy;","%":"&percnt;",".":"&period;","‰":"&permil;","‱":"&pertenk;","𝔭":"&pfr;",φ:"&phi;",ϕ:"&varphi;","☎":"&phone;",π:"&pi;",ϖ:"&varpi;",ℎ:"&planckh;","+":"&plus;","⨣":"&plusacir;","⨢":"&pluscir;","⨥":"&plusdu;","⩲":"&pluse;","⨦":"&plussim;","⨧":"&plustwo;","⨕":"&pointint;","𝕡":"&popf;","£":"&pound;","⪳":"&prE;","⪷":"&precapprox;","⪹":"&prnap;","⪵":"&prnE;","⋨":"&prnsim;","′":"&prime;","⌮":"&profalar;","⌒":"&profline;","⌓":"&profsurf;","⊰":"&prurel;","𝓅":"&pscr;",ψ:"&psi;"," ":"&puncsp;","𝔮":"&qfr;","𝕢":"&qopf;","⁗":"&qprime;","𝓆":"&qscr;","⨖":"&quatint;","?":"&quest;","⤜":"&rAtail;","⥤":"&rHar;","∽̱":"&race;",ŕ:"&racute;","⦳":"&raemptyv;","⦒":"&rangd;","⦥":"&range;","»":"&raquo;","⥵":"&rarrap;","⤠":"&rarrbfs;","⤳":"&rarrc;","⤞":"&rarrfs;","⥅":"&rarrpl;","⥴":"&rarrsim;","↣":"&rightarrowtail;","↝":"&rightsquigarrow;","⤚":"&ratail;","∶":"&ratio;","❳":"&rbbrk;","}":"&rcub;","]":"&rsqb;","⦌":"&rbrke;","⦎":"&rbrksld;","⦐":"&rbrkslu;",ř:"&rcaron;",ŗ:"&rcedil;",р:"&rcy;","⤷":"&rdca;","⥩":"&rdldhar;","↳":"&rdsh;","▭":"&rect;","⥽":"&rfisht;","𝔯":"&rfr;","⥬":"&rharul;",ρ:"&rho;",ϱ:"&varrho;","⇉":"&rrarr;","⋌":"&rthree;","˚":"&ring;","‏":"&rlm;","⎱":"&rmoustache;","⫮":"&rnmid;","⟭":"&roang;","⇾":"&roarr;","⦆":"&ropar;","𝕣":"&ropf;","⨮":"&roplus;","⨵":"&rotimes;",")":"&rpar;","⦔":"&rpargt;","⨒":"&rppolint;","›":"&rsaquo;","𝓇":"&rscr;","⋊":"&rtimes;","▹":"&triangleright;","⧎":"&rtriltri;","⥨":"&ruluhar;","℞":"&rx;",ś:"&sacute;","⪴":"&scE;","⪸":"&succapprox;",š:"&scaron;",ş:"&scedil;",ŝ:"&scirc;","⪶":"&succneqq;","⪺":"&succnapprox;","⋩":"&succnsim;","⨓":"&scpolint;",с:"&scy;","⋅":"&sdot;","⩦":"&sdote;","⇘":"&seArr;","§":"&sect;",";":"&semi;","⤩":"&tosa;","✶":"&sext;","𝔰":"&sfr;","♯":"&sharp;",щ:"&shchcy;",ш:"&shcy;","­":"&shy;",σ:"&sigma;",ς:"&varsigma;","⩪":"&simdot;","⪞":"&simg;","⪠":"&simgE;","⪝":"&siml;","⪟":"&simlE;","≆":"&simne;","⨤":"&simplus;","⥲":"&simrarr;","⨳":"&smashp;","⧤":"&smeparsl;","⌣":"&ssmile;","⪪":"&smt;","⪬":"&smte;","⪬︀":"&smtes;",ь:"&softcy;","/":"&sol;","⧄":"&solb;","⌿":"&solbar;","𝕤":"&sopf;","♠":"&spadesuit;","⊓︀":"&sqcaps;","⊔︀":"&sqcups;","𝓈":"&sscr;","☆":"&star;","⊂":"&subset;","⫅":"&subseteqq;","⪽":"&subdot;","⫃":"&subedot;","⫁":"&submult;","⫋":"&subsetneqq;","⊊":"&subsetneq;","⪿":"&subplus;","⥹":"&subrarr;","⫇":"&subsim;","⫕":"&subsub;","⫓":"&subsup;","♪":"&sung;","¹":"&sup1;","²":"&sup2;","³":"&sup3;","⫆":"&supseteqq;","⪾":"&supdot;","⫘":"&supdsub;","⫄":"&supedot;","⟉":"&suphsol;","⫗":"&suphsub;","⥻":"&suplarr;","⫂":"&supmult;","⫌":"&supsetneqq;","⊋":"&supsetneq;","⫀":"&supplus;","⫈":"&supsim;","⫔":"&supsub;","⫖":"&supsup;","⇙":"&swArr;","⤪":"&swnwar;",ß:"&szlig;","⌖":"&target;",τ:"&tau;",ť:"&tcaron;",ţ:"&tcedil;",т:"&tcy;","⌕":"&telrec;","𝔱":"&tfr;",θ:"&theta;",ϑ:"&vartheta;",þ:"&thorn;","×":"&times;","⨱":"&timesbar;","⨰":"&timesd;","⌶":"&topbot;","⫱":"&topcir;","𝕥":"&topf;","⫚":"&topfork;","‴":"&tprime;","▵":"&utri;","≜":"&trie;","◬":"&tridot;","⨺":"&triminus;","⨹":"&triplus;","⧍":"&trisb;","⨻":"&tritime;","⏢":"&trpezium;","𝓉":"&tscr;",ц:"&tscy;",ћ:"&tshcy;",ŧ:"&tstrok;","⥣":"&uHar;",ú:"&uacute;",ў:"&ubrcy;",ŭ:"&ubreve;",û:"&ucirc;",у:"&ucy;",ű:"&udblac;","⥾":"&ufisht;","𝔲":"&ufr;",ù:"&ugrave;","▀":"&uhblk;","⌜":"&ulcorner;","⌏":"&ulcrop;","◸":"&ultri;",ū:"&umacr;",ų:"&uogon;","𝕦":"&uopf;",υ:"&upsilon;","⇈":"&uuarr;","⌝":"&urcorner;","⌎":"&urcrop;",ů:"&uring;","◹":"&urtri;","𝓊":"&uscr;","⋰":"&utdot;",ũ:"&utilde;",ü:"&uuml;","⦧":"&uwangle;","⫨":"&vBar;","⫩":"&vBarv;","⦜":"&vangrt;","⊊︀":"&vsubne;","⫋︀":"&vsubnE;","⊋︀":"&vsupne;","⫌︀":"&vsupnE;",в:"&vcy;","⊻":"&veebar;","≚":"&veeeq;","⋮":"&vellip;","𝔳":"&vfr;","𝕧":"&vopf;","𝓋":"&vscr;","⦚":"&vzigzag;",ŵ:"&wcirc;","⩟":"&wedbar;","≙":"&wedgeq;","℘":"&wp;","𝔴":"&wfr;","𝕨":"&wopf;","𝓌":"&wscr;","𝔵":"&xfr;",ξ:"&xi;","⋻":"&xnis;","𝕩":"&xopf;","𝓍":"&xscr;",ý:"&yacute;",я:"&yacy;",ŷ:"&ycirc;",ы:"&ycy;","¥":"&yen;","𝔶":"&yfr;",ї:"&yicy;","𝕪":"&yopf;","𝓎":"&yscr;",ю:"&yucy;",ÿ:"&yuml;",ź:"&zacute;",ž:"&zcaron;",з:"&zcy;",ż:"&zdot;",ζ:"&zeta;","𝔷":"&zfr;",ж:"&zhcy;","⇝":"&zigrarr;","𝕫":"&zopf;","𝓏":"&zscr;","‍":"&zwj;","‌":"&zwnj;"}}}),pn}var Ca={},xl;function Yf(){return xl||(xl=1,Object.defineProperty(Ca,"__esModule",{value:!0}),Ca.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}),Ca}var ji={},Cl;function Vf(){return Cl||(Cl=1,Object.defineProperty(ji,"__esModule",{value:!0}),ji.fromCodePoint=String.fromCodePoint||function(t){return String.fromCharCode(Math.floor((t-65536)/1024)+55296,(t-65536)%1024+56320)},ji.getCodePoint=String.prototype.codePointAt?function(t,n){return t.codePointAt(n)}:function(t,n){return(t.charCodeAt(n)-55296)*1024+t.charCodeAt(n+1)-56320+65536},ji.highSurrogateFrom=55296,ji.highSurrogateTo=56319),ji}var Nl;function Xf(){if(Nl)return hi;Nl=1;var t=hi&&hi.__assign||function(){return t=Object.assign||function(X){for(var I,E=1,N=arguments.length;E<N;E++){I=arguments[E];for(var V in I)Object.prototype.hasOwnProperty.call(I,V)&&(X[V]=I[V])}return X},t.apply(this,arguments)};Object.defineProperty(hi,"__esModule",{value:!0});var n=Kf(),c=Yf(),u=Vf(),d=t(t({},n.namedReferences),{all:n.namedReferences.html5});function D(X,I,E){I.lastIndex=0;var N=I.exec(X),V;if(N){V="";var te=0;do{te!==N.index&&(V+=X.substring(te,N.index));var U=N[0];V+=E(U),te=N.index+U.length}while(N=I.exec(X));te!==X.length&&(V+=X.substring(te))}else V=X;return V}var h={specialChars:/[<>'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g},f={mode:"specialChars",level:"all",numeric:"decimal"};function l(X,I){var E=I===void 0?f:I,N=E.mode,V=N===void 0?"specialChars":N,te=E.numeric,U=te===void 0?"decimal":te,R=E.level,J=R===void 0?"all":R;if(!X)return"";var F=h[V],Q=d[J].characters,re=U==="hexadecimal";return D(X,F,function(ue){var ae=Q[ue];if(!ae){var H=ue.length>1?u.getCodePoint(ue,0):ue.charCodeAt(0);ae=(re?"&#x"+H.toString(16):"&#"+H)+";"}return ae})}hi.encode=l;var O={scope:"body",level:"all"},m=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,M=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,w={xml:{strict:m,attribute:M,body:n.bodyRegExps.xml},html4:{strict:m,attribute:M,body:n.bodyRegExps.html4},html5:{strict:m,attribute:M,body:n.bodyRegExps.html5}},P=t(t({},w),{all:w.html5}),ne=String.fromCharCode,Y=ne(65533),_={level:"all"};function z(X,I,E,N){var V=X,te=X[X.length-1];if(E&&te==="=")V=X;else if(N&&te!==";")V=X;else{var U=I[X];if(U)V=U;else if(X[0]==="&"&&X[1]==="#"){var R=X[2],J=R=="x"||R=="X"?parseInt(X.substr(3),16):parseInt(X.substr(2));V=J>=1114111?Y:J>65535?u.fromCodePoint(J):ne(c.numericUnicodeMap[J]||J)}}return V}function B(X,I){var E=(I===void 0?_:I).level,N=E===void 0?"all":E;return X?z(X,d[N].entities,!1,!1):""}hi.decodeEntity=B;function Z(X,I){var E=I===void 0?O:I,N=E.level,V=N===void 0?"all":N,te=E.scope,U=te===void 0?V==="xml"?"strict":"body":te;if(!X)return"";var R=P[V][U],J=d[V].entities,F=U==="attribute",Q=U==="strict";return D(X,R,function(re){return z(re,J,F,Q)})}return hi.decode=Z,hi}var Xi={},Wi={},Dl;function Wf(){if(Dl)return Wi;Dl=1,Object.defineProperty(Wi,"__esModule",{value:!0});function t(x,r){if(x==null)return{};var e={};for(var i in x)if({}.hasOwnProperty.call(x,i)){if(r.includes(i))continue;e[i]=x[i]}return e}class n{constructor(r,e,i){this.line=void 0,this.column=void 0,this.index=void 0,this.line=r,this.column=e,this.index=i}}class c{constructor(r,e){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=r,this.end=e}}function u(x,r){const{line:e,column:i,index:o}=x;return new n(e,i+r,o+r)}const d="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var D={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:d},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:d}};const h={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"},f=x=>x.type==="UpdateExpression"?h.UpdateExpression[`${x.prefix}`]:h[x.type];var l={AccessorIsGenerator:({kind:x})=>`A ${x}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.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",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:x})=>`Missing initializer in ${x} 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.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',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:x})=>`\`${x}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:x})=>`'import.${x}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:x,exportName:r})=>`A string literal cannot be used as an exported binding without \`from\`.
17
- - Did you mean \`export { '${x}' as '${r}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:x})=>`'${x==="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:x})=>`Unsyntactic ${x==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:({importName:x})=>`A string literal cannot be used as an imported binding.
18
- - Did you mean \`import { "${x}" as foo }\`?`,ImportCallArity:"`import()` requires exactly 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:x})=>`Expected number in radix ${x}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:x})=>`Escape sequence in keyword ${x}.`,InvalidIdentifier:({identifierName:x})=>`Invalid identifier ${x}.`,InvalidLhs:({ancestor:x})=>`Invalid left-hand side in ${f(x)}.`,InvalidLhsBinding:({ancestor:x})=>`Binding invalid left-hand side in ${f(x)}.`,InvalidLhsOptionalChaining:({ancestor:x})=>`Invalid optional chaining in the left-hand side of ${f(x)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:x})=>`Unexpected character '${x}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:x})=>`Private name #${x} 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:x})=>`Label '${x}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",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:x})=>`This experimental syntax requires enabling the parser plugin: ${x.map(r=>JSON.stringify(r)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:x})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${x.map(r=>JSON.stringify(r)).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:x})=>`Duplicate key "${x}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:x})=>`An export name cannot include a lone surrogate, found '\\u${x.toString(16)}'.`,ModuleExportUndefined:({localName:x})=>`Export '${x}' 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:x})=>`Private names are only allowed in property accesses (\`obj.#${x}\`) or in \`in\` expressions (\`#${x} in obj\`).`,PrivateNameRedeclaration:({identifierName:x})=>`Duplicate private name #${x}.`,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.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',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:x})=>`Unexpected keyword '${x}'.`,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:x})=>`Unexpected reserved word '${x}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:x,unexpected:r})=>`Unexpected token${r?` '${r}'.`:""}${x?`, expected "${x}"`:""}`,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:x,onlyValidPropertyName:r})=>`The only valid meta property for ${x} is ${x}.${r}.`,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.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:x})=>`Identifier '${x}' 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."},O={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:x})=>`Assigning to '${x}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:x})=>`Binding '${x}' 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 m=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var M=Object.assign({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:x})=>`Invalid topic token ${x}. In order to use ${x} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${x}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:x})=>`Hack-style pipe body cannot be an unparenthesized ${f({type:x})}; 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 w=["message"];function P(x,r,e){Object.defineProperty(x,r,{enumerable:!1,configurable:!0,value:e})}function ne({toMessage:x,code:r,reasonCode:e,syntaxPlugin:i}){const o=e==="MissingPlugin"||e==="MissingOneOfPlugins";{const T={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};T[e]&&(e=T[e])}return function T(C,L){const K=new SyntaxError;return K.code=r,K.reasonCode=e,K.loc=C,K.pos=C.index,K.syntaxPlugin=i,o&&(K.missingPlugin=L.missingPlugin),P(K,"clone",function(ee={}){var me;const{line:_e,column:Ne,index:ke}=(me=ee.loc)!=null?me:C;return T(new n(_e,Ne,ke),Object.assign({},L,ee.details))}),P(K,"details",L),Object.defineProperty(K,"message",{configurable:!0,get(){const $=`${x(L)} (${C.line}:${C.column})`;return this.message=$,$},set($){Object.defineProperty(this,"message",{value:$,writable:!0})}}),K}}function Y(x,r){if(Array.isArray(x))return i=>Y(i,x[0]);const e={};for(const i of Object.keys(x)){const o=x[i],T=typeof o=="string"?{message:()=>o}:typeof o=="function"?{message:o}:o,{message:C}=T,L=t(T,w),K=typeof C=="string"?()=>C:C;e[i]=ne(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:i,toMessage:K},r?{syntaxPlugin:r}:{},L))}return e}const _=Object.assign({},Y(D),Y(l),Y(O),Y`pipelineOperator`(M));function z(){return{sourceType:"script",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function B(x){const r=z();if(x==null)return r;if(x.annexB!=null&&x.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");for(const e of Object.keys(r))x[e]!=null&&(r[e]=x[e]);if(r.startLine===1)x.startIndex==null&&r.startColumn>0?r.startIndex=r.startColumn:x.startColumn==null&&r.startIndex>0&&(r.startColumn=r.startIndex);else if((x.startColumn==null||x.startIndex==null)&&x.startIndex!=null)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");return r}const{defineProperty:Z}=Object,X=(x,r)=>{x&&Z(x,r,{enumerable:!1,value:x[r]})};function I(x){return X(x.loc.start,"index"),X(x.loc.end,"index"),x}var E=x=>class extends x{parse(){const e=I(super.parse());return this.optionFlags&128&&(e.tokens=e.tokens.map(I)),e}parseRegExpLiteral({pattern:e,flags:i}){let o=null;try{o=new RegExp(e,i)}catch{}const T=this.estreeParseLiteral(o);return T.regex={pattern:e,flags:i},T}parseBigIntLiteral(e){let i;try{i=BigInt(e)}catch{i=null}const o=this.estreeParseLiteral(i);return o.bigint=String(o.value||e),o}parseDecimalLiteral(e){const o=this.estreeParseLiteral(null);return o.decimal=String(o.value||e),o}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const i=e.value;delete e.value,i.type="Literal",i.raw=i.extra.raw,i.value=i.extra.expressionValue;const o=e;return o.type="ExpressionStatement",o.expression=i,o.directive=i.extra.rawValue,delete i.extra,o}initFunction(e,i){super.initFunction(e,i),e.expression=!1}checkDeclaration(e){e!=null&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var i;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&!((i=e.expression.extra)!=null&&i.parenthesized)}parseBlockBody(e,i,o,T,C){super.parseBlockBody(e,i,o,T,C);const L=e.directives.map(K=>this.directiveToStmt(K));e.body=L.concat(e.body),delete e.directives}parsePrivateName(){const e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){const i=super.getPrivateNameSV(e);return e=e,delete e.id,e.name=i,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?e.type==="PrivateIdentifier":super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,i){const o=super.parseLiteral(e,i);return o.raw=o.extra.raw,delete o.extra,o}parseFunctionBody(e,i,o=!1){super.parseFunctionBody(e,i,o),e.expression=e.body.type!=="BlockStatement"}parseMethod(e,i,o,T,C,L,K=!1){let $=this.startNode();$.kind=e.kind,$=super.parseMethod($,i,o,T,C,L,K),$.type="FunctionExpression",delete $.kind,e.value=$;const{typeParameters:ee}=e;return ee&&(delete e.typeParameters,$.typeParameters=ee,this.resetStartLocationFromNode($,ee)),L==="ClassPrivateMethod"&&(e.computed=!1),this.finishNode(e,"MethodDefinition")}nameIsConstructor(e){return e.type==="Literal"?e.value==="constructor":super.nameIsConstructor(e)}parseClassProperty(...e){const i=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")&&(i.type="PropertyDefinition"),i}parseClassPrivateProperty(...e){const i=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")&&(i.type="PropertyDefinition",i.computed=!1),i}parseObjectMethod(e,i,o,T,C){const L=super.parseObjectMethod(e,i,o,T,C);return L&&(L.type="Property",L.kind==="method"&&(L.kind="init"),L.shorthand=!1),L}parseObjectProperty(e,i,o,T){const C=super.parseObjectProperty(e,i,o,T);return C&&(C.kind="init",C.type="Property"),C}isValidLVal(e,i,o){return e==="Property"?"value":super.isValidLVal(e,i,o)}isAssignable(e,i){return e!=null&&this.isObjectProperty(e)?this.isAssignable(e.value,i):super.isAssignable(e,i)}toAssignable(e,i=!1){if(e!=null&&this.isObjectProperty(e)){const{key:o,value:T}=e;this.isPrivateName(o)&&this.classScope.usePrivateName(this.getPrivateNameSV(o),o.loc.start),this.toAssignable(T,i)}else super.toAssignable(e,i)}toAssignableObjectExpressionProp(e,i,o){e.type==="Property"&&(e.kind==="get"||e.kind==="set")?this.raise(_.PatternHasAccessor,e.key):e.type==="Property"&&e.method?this.raise(_.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,i,o)}finishCallExpression(e,i){const o=super.finishCallExpression(e,i);if(o.callee.type==="Import"){var T,C;o.type="ImportExpression",o.source=o.arguments[0],o.options=(T=o.arguments[1])!=null?T:null,o.attributes=(C=o.arguments[1])!=null?C:null,delete o.arguments,delete o.callee}return o}toReferencedArguments(e){e.type!=="ImportExpression"&&super.toReferencedArguments(e)}parseExport(e,i){const o=this.state.lastTokStartLoc,T=super.parseExport(e,i);switch(T.type){case"ExportAllDeclaration":T.exported=null;break;case"ExportNamedDeclaration":T.specifiers.length===1&&T.specifiers[0].type==="ExportNamespaceSpecifier"&&(T.type="ExportAllDeclaration",T.exported=T.specifiers[0].exported,delete T.specifiers);case"ExportDefaultDeclaration":{var C;const{declaration:L}=T;L?.type==="ClassDeclaration"&&((C=L.decorators)==null?void 0:C.length)>0&&L.start===T.start&&this.resetStartLocation(T,o)}break}return T}parseSubscript(e,i,o,T){const C=super.parseSubscript(e,i,o,T);if(T.optionalChainMember){if((C.type==="OptionalMemberExpression"||C.type==="OptionalCallExpression")&&(C.type=C.type.substring(8)),T.stop){const L=this.startNodeAtNode(C);return L.expression=C,this.finishNode(L,"ChainExpression")}}else(C.type==="MemberExpression"||C.type==="CallExpression")&&(C.optional=!1);return C}isOptionalMemberExpression(e){return e.type==="ChainExpression"?e.expression.type==="MemberExpression":super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return e.type==="ChainExpression"&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.type==="Property"&&(e.method||e.kind==="get"||e.kind==="set")}finishNodeAt(e,i,o){return I(super.finishNodeAt(e,i,o))}resetStartLocation(e,i){super.resetStartLocation(e,i),I(e)}resetEndLocation(e,i=this.state.lastTokEndLoc){super.resetEndLocation(e,i),I(e)}};class N{constructor(r,e){this.token=void 0,this.preserveSpace=void 0,this.token=r,this.preserveSpace=!!e}}const V={brace:new N("{"),j_oTag:new N("<tag"),j_cTag:new N("</tag"),j_expr:new N("<tag>...</tag>",!0)};V.template=new N("`",!0);const te=!0,U=!0,R=!0,J=!0,F=!0,Q=!0;class re{constructor(r,e={}){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=r,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.rightAssociative=!!e.rightAssociative,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop!=null?e.binop:null,this.updateContext=null}}const ue=new Map;function ae(x,r={}){r.keyword=x;const e=xe(x,r);return ue.set(x,e),e}function H(x,r){return xe(x,{beforeExpr:te,binop:r})}let oe=-1;const le=[],ye=[],Se=[],Ie=[],De=[],Me=[];function xe(x,r={}){var e,i,o,T;return++oe,ye.push(x),Se.push((e=r.binop)!=null?e:-1),Ie.push((i=r.beforeExpr)!=null?i:!1),De.push((o=r.startsExpr)!=null?o:!1),Me.push((T=r.prefix)!=null?T:!1),le.push(new re(x,r)),oe}function Re(x,r={}){var e,i,o,T;return++oe,ue.set(x,oe),ye.push(x),Se.push((e=r.binop)!=null?e:-1),Ie.push((i=r.beforeExpr)!=null?i:!1),De.push((o=r.startsExpr)!=null?o:!1),Me.push((T=r.prefix)!=null?T:!1),le.push(new re("name",r)),oe}const Ye={bracketL:xe("[",{beforeExpr:te,startsExpr:U}),bracketHashL:xe("#[",{beforeExpr:te,startsExpr:U}),bracketBarL:xe("[|",{beforeExpr:te,startsExpr:U}),bracketR:xe("]"),bracketBarR:xe("|]"),braceL:xe("{",{beforeExpr:te,startsExpr:U}),braceBarL:xe("{|",{beforeExpr:te,startsExpr:U}),braceHashL:xe("#{",{beforeExpr:te,startsExpr:U}),braceR:xe("}"),braceBarR:xe("|}"),parenL:xe("(",{beforeExpr:te,startsExpr:U}),parenR:xe(")"),comma:xe(",",{beforeExpr:te}),semi:xe(";",{beforeExpr:te}),colon:xe(":",{beforeExpr:te}),doubleColon:xe("::",{beforeExpr:te}),dot:xe("."),question:xe("?",{beforeExpr:te}),questionDot:xe("?."),arrow:xe("=>",{beforeExpr:te}),template:xe("template"),ellipsis:xe("...",{beforeExpr:te}),backQuote:xe("`",{startsExpr:U}),dollarBraceL:xe("${",{beforeExpr:te,startsExpr:U}),templateTail:xe("...`",{startsExpr:U}),templateNonTail:xe("...${",{beforeExpr:te,startsExpr:U}),at:xe("@"),hash:xe("#",{startsExpr:U}),interpreterDirective:xe("#!..."),eq:xe("=",{beforeExpr:te,isAssign:J}),assign:xe("_=",{beforeExpr:te,isAssign:J}),slashAssign:xe("_=",{beforeExpr:te,isAssign:J}),xorAssign:xe("_=",{beforeExpr:te,isAssign:J}),moduloAssign:xe("_=",{beforeExpr:te,isAssign:J}),incDec:xe("++/--",{prefix:F,postfix:Q,startsExpr:U}),bang:xe("!",{beforeExpr:te,prefix:F,startsExpr:U}),tilde:xe("~",{beforeExpr:te,prefix:F,startsExpr:U}),doubleCaret:xe("^^",{startsExpr:U}),doubleAt:xe("@@",{startsExpr:U}),pipeline:H("|>",0),nullishCoalescing:H("??",1),logicalOR:H("||",1),logicalAND:H("&&",2),bitwiseOR:H("|",3),bitwiseXOR:H("^",4),bitwiseAND:H("&",5),equality:H("==/!=/===/!==",6),lt:H("</>/<=/>=",7),gt:H("</>/<=/>=",7),relational:H("</>/<=/>=",7),bitShift:H("<</>>/>>>",8),bitShiftL:H("<</>>/>>>",8),bitShiftR:H("<</>>/>>>",8),plusMin:xe("+/-",{beforeExpr:te,binop:9,prefix:F,startsExpr:U}),modulo:xe("%",{binop:10,startsExpr:U}),star:xe("*",{binop:10}),slash:H("/",10),exponent:xe("**",{beforeExpr:te,binop:11,rightAssociative:!0}),_in:ae("in",{beforeExpr:te,binop:7}),_instanceof:ae("instanceof",{beforeExpr:te,binop:7}),_break:ae("break"),_case:ae("case",{beforeExpr:te}),_catch:ae("catch"),_continue:ae("continue"),_debugger:ae("debugger"),_default:ae("default",{beforeExpr:te}),_else:ae("else",{beforeExpr:te}),_finally:ae("finally"),_function:ae("function",{startsExpr:U}),_if:ae("if"),_return:ae("return",{beforeExpr:te}),_switch:ae("switch"),_throw:ae("throw",{beforeExpr:te,prefix:F,startsExpr:U}),_try:ae("try"),_var:ae("var"),_const:ae("const"),_with:ae("with"),_new:ae("new",{beforeExpr:te,startsExpr:U}),_this:ae("this",{startsExpr:U}),_super:ae("super",{startsExpr:U}),_class:ae("class",{startsExpr:U}),_extends:ae("extends",{beforeExpr:te}),_export:ae("export"),_import:ae("import",{startsExpr:U}),_null:ae("null",{startsExpr:U}),_true:ae("true",{startsExpr:U}),_false:ae("false",{startsExpr:U}),_typeof:ae("typeof",{beforeExpr:te,prefix:F,startsExpr:U}),_void:ae("void",{beforeExpr:te,prefix:F,startsExpr:U}),_delete:ae("delete",{beforeExpr:te,prefix:F,startsExpr:U}),_do:ae("do",{isLoop:R,beforeExpr:te}),_for:ae("for",{isLoop:R}),_while:ae("while",{isLoop:R}),_as:Re("as",{startsExpr:U}),_assert:Re("assert",{startsExpr:U}),_async:Re("async",{startsExpr:U}),_await:Re("await",{startsExpr:U}),_defer:Re("defer",{startsExpr:U}),_from:Re("from",{startsExpr:U}),_get:Re("get",{startsExpr:U}),_let:Re("let",{startsExpr:U}),_meta:Re("meta",{startsExpr:U}),_of:Re("of",{startsExpr:U}),_sent:Re("sent",{startsExpr:U}),_set:Re("set",{startsExpr:U}),_source:Re("source",{startsExpr:U}),_static:Re("static",{startsExpr:U}),_using:Re("using",{startsExpr:U}),_yield:Re("yield",{startsExpr:U}),_asserts:Re("asserts",{startsExpr:U}),_checks:Re("checks",{startsExpr:U}),_exports:Re("exports",{startsExpr:U}),_global:Re("global",{startsExpr:U}),_implements:Re("implements",{startsExpr:U}),_intrinsic:Re("intrinsic",{startsExpr:U}),_infer:Re("infer",{startsExpr:U}),_is:Re("is",{startsExpr:U}),_mixins:Re("mixins",{startsExpr:U}),_proto:Re("proto",{startsExpr:U}),_require:Re("require",{startsExpr:U}),_satisfies:Re("satisfies",{startsExpr:U}),_keyof:Re("keyof",{startsExpr:U}),_readonly:Re("readonly",{startsExpr:U}),_unique:Re("unique",{startsExpr:U}),_abstract:Re("abstract",{startsExpr:U}),_declare:Re("declare",{startsExpr:U}),_enum:Re("enum",{startsExpr:U}),_module:Re("module",{startsExpr:U}),_namespace:Re("namespace",{startsExpr:U}),_interface:Re("interface",{startsExpr:U}),_type:Re("type",{startsExpr:U}),_opaque:Re("opaque",{startsExpr:U}),name:xe("name",{startsExpr:U}),placeholder:xe("%%",{startsExpr:!0}),string:xe("string",{startsExpr:U}),num:xe("num",{startsExpr:U}),bigint:xe("bigint",{startsExpr:U}),decimal:xe("decimal",{startsExpr:U}),regexp:xe("regexp",{startsExpr:U}),privateName:xe("#name",{startsExpr:U}),eof:xe("eof"),jsxName:xe("jsxName"),jsxText:xe("jsxText",{beforeExpr:!0}),jsxTagStart:xe("jsxTagStart",{startsExpr:!0}),jsxTagEnd:xe("jsxTagEnd")};function ce(x){return x>=93&&x<=133}function he(x){return x<=92}function fe(x){return x>=58&&x<=133}function Ve(x){return x>=58&&x<=137}function Je(x){return Ie[x]}function it(x){return De[x]}function pt(x){return x>=29&&x<=33}function ft(x){return x>=129&&x<=131}function yt(x){return x>=90&&x<=92}function Et(x){return x>=58&&x<=92}function bt(x){return x>=39&&x<=59}function gt(x){return x===34}function Nt(x){return Me[x]}function It(x){return x>=121&&x<=123}function de(x){return x>=124&&x<=130}function Ee(x){return ye[x]}function Ae(x){return Se[x]}function Ce(x){return x===57}function Fe(x){return x>=24&&x<=25}function ve(x){return le[x]}le[8].updateContext=x=>{x.pop()},le[5].updateContext=le[7].updateContext=le[23].updateContext=x=>{x.push(V.brace)},le[22].updateContext=x=>{x[x.length-1]===V.template?x.pop():x.push(V.template)},le[143].updateContext=x=>{x.push(V.j_expr,V.j_oTag)};let Ke="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Xe="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const Ge=new RegExp("["+Ke+"]"),We=new RegExp("["+Ke+Xe+"]");Ke=Xe=null;const at=[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,4,51,13,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,39,27,10,22,251,41,7,1,17,2,60,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,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,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,200,32,32,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,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,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,229,29,3,0,496,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,16,621,2467,541,1507,4938,6,4191],tt=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,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,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,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,343,9,54,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,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,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,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function ge(x,r){let e=65536;for(let i=0,o=r.length;i<o;i+=2){if(e+=r[i],e>x)return!1;if(e+=r[i+1],e>=x)return!0}return!1}function $e(x){return x<65?x===36:x<=90?!0:x<97?x===95:x<=122?!0:x<=65535?x>=170&&Ge.test(String.fromCharCode(x)):ge(x,at)}function ot(x){return x<48?x===36:x<58?!0:x<65?!1:x<=90?!0:x<97?x===95:x<=122?!0:x<=65535?x>=170&&We.test(String.fromCharCode(x)):ge(x,at)||ge(x,tt)}const ie={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"]},G=new Set(ie.keyword),be=new Set(ie.strict),Ue=new Set(ie.strictBind);function He(x,r){return r&&x==="await"||x==="enum"}function ct(x,r){return He(x,r)||be.has(x)}function Vt(x){return Ue.has(x)}function Xt(x,r){return ct(x,r)||Vt(x)}function dt(x){return G.has(x)}function Wt(x,r,e){return x===64&&r===64&&$e(e)}const Dt=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 jt(x){return Dt.has(x)}class qt{constructor(r){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=r}}class Ht{constructor(r,e){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=r,this.inModule=e}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){const r=this.currentThisScopeFlags();return(r&64)>0&&(r&2)===0}get inStaticBlock(){for(let r=this.scopeStack.length-1;;r--){const{flags:e}=this.scopeStack[r];if(e&128)return!0;if(e&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(r){return new qt(r)}enter(r){this.scopeStack.push(this.createScope(r))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(r){return!!(r.flags&130||!this.parser.inModule&&r.flags&1)}declareName(r,e,i){let o=this.currentScope();if(e&8||e&16){this.checkRedeclarationInScope(o,r,e,i);let T=o.names.get(r)||0;e&16?T=T|4:(o.firstLexicalName||(o.firstLexicalName=r),T=T|2),o.names.set(r,T),e&8&&this.maybeExportDefined(o,r)}else if(e&4)for(let T=this.scopeStack.length-1;T>=0&&(o=this.scopeStack[T],this.checkRedeclarationInScope(o,r,e,i),o.names.set(r,(o.names.get(r)||0)|1),this.maybeExportDefined(o,r),!(o.flags&387));--T);this.parser.inModule&&o.flags&1&&this.undefinedExports.delete(r)}maybeExportDefined(r,e){this.parser.inModule&&r.flags&1&&this.undefinedExports.delete(e)}checkRedeclarationInScope(r,e,i,o){this.isRedeclaredInScope(r,e,i)&&this.parser.raise(_.VarRedeclaration,o,{identifierName:e})}isRedeclaredInScope(r,e,i){if(!(i&1))return!1;if(i&8)return r.names.has(e);const o=r.names.get(e);return i&16?(o&2)>0||!this.treatFunctionsAsVarInScope(r)&&(o&1)>0:(o&2)>0&&!(r.flags&8&&r.firstLexicalName===e)||!this.treatFunctionsAsVarInScope(r)&&(o&4)>0}checkLocalExport(r){const{name:e}=r;this.scopeStack[0].names.has(e)||this.undefinedExports.set(e,r.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let r=this.scopeStack.length-1;;r--){const{flags:e}=this.scopeStack[r];if(e&387)return e}}currentThisScopeFlags(){for(let r=this.scopeStack.length-1;;r--){const{flags:e}=this.scopeStack[r];if(e&451&&!(e&4))return e}}}class er extends qt{constructor(...r){super(...r),this.declareFunctions=new Set}}class Br extends Ht{createScope(r){return new er(r)}declareName(r,e,i){const o=this.currentScope();if(e&2048){this.checkRedeclarationInScope(o,r,e,i),this.maybeExportDefined(o,r),o.declareFunctions.add(r);return}super.declareName(r,e,i)}isRedeclaredInScope(r,e,i){if(super.isRedeclaredInScope(r,e,i))return!0;if(i&2048&&!r.declareFunctions.has(e)){const o=r.names.get(e);return(o&4)>0||(o&2)>0}return!1}checkLocalExport(r){this.scopeStack[0].declareFunctions.has(r.name)||super.checkLocalExport(r)}}class Fr{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(r){return r+this.startIndex}offsetToSourcePos(r){return r-this.startIndex}hasPlugin(r){if(typeof r=="string")return this.plugins.has(r);{const[e,i]=r;if(!this.hasPlugin(e))return!1;const o=this.plugins.get(e);for(const T of Object.keys(i))if(o?.[T]!==i[T])return!1;return!0}}getPluginOption(r,e){var i;return(i=this.plugins.get(r))==null?void 0:i[e]}}function Ir(x,r){x.trailingComments===void 0?x.trailingComments=r:x.trailingComments.unshift(...r)}function Ur(x,r){x.leadingComments===void 0?x.leadingComments=r:x.leadingComments.unshift(...r)}function Gt(x,r){x.innerComments===void 0?x.innerComments=r:x.innerComments.unshift(...r)}function _t(x,r,e){let i=null,o=r.length;for(;i===null&&o>0;)i=r[--o];i===null||i.start>e.start?Gt(x,e.comments):Ir(i,e.comments)}class _r extends Fr{addComment(r){this.filename&&(r.loc.filename=this.filename);const{commentsLen:e}=this.state;this.comments.length!==e&&(this.comments.length=e),this.comments.push(r),this.state.commentsLen++}processComment(r){const{commentStack:e}=this.state,i=e.length;if(i===0)return;let o=i-1;const T=e[o];T.start===r.end&&(T.leadingNode=r,o--);const{start:C}=r;for(;o>=0;o--){const L=e[o],K=L.end;if(K>C)L.containingNode=r,this.finalizeComment(L),e.splice(o,1);else{K===C&&(L.trailingNode=r);break}}}finalizeComment(r){const{comments:e}=r;if(r.leadingNode!==null||r.trailingNode!==null)r.leadingNode!==null&&Ir(r.leadingNode,e),r.trailingNode!==null&&Ur(r.trailingNode,e);else{const{containingNode:i,start:o}=r;if(this.input.charCodeAt(this.offsetToSourcePos(o)-1)===44)switch(i.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":_t(i,i.properties,r);break;case"CallExpression":case"OptionalCallExpression":_t(i,i.arguments,r);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":_t(i,i.params,r);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":_t(i,i.elements,r);break;case"ExportNamedDeclaration":case"ImportDeclaration":_t(i,i.specifiers,r);break;case"TSEnumDeclaration":_t(i,i.members,r);break;case"TSEnumBody":_t(i,i.members,r);break;default:Gt(i,e)}else Gt(i,e)}}finalizeRemainingComments(){const{commentStack:r}=this.state;for(let e=r.length-1;e>=0;e--)this.finalizeComment(r[e]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(r){const{commentStack:e}=this.state,{length:i}=e;if(i===0)return;const o=e[i-1];o.leadingNode===r&&(o.leadingNode=null)}resetPreviousIdentifierLeadingComments(r){const{commentStack:e}=this.state,{length:i}=e;i!==0&&(e[i-1].trailingNode===r?e[i-1].trailingNode=null:i>=2&&e[i-2].trailingNode===r&&(e[i-2].trailingNode=null))}takeSurroundingComments(r,e,i){const{commentStack:o}=this.state,T=o.length;if(T===0)return;let C=T-1;for(;C>=0;C--){const L=o[C],K=L.end;if(L.start===i)L.leadingNode=r;else if(K===e)L.trailingNode=r;else if(K<e)break}}}const jr=/\r\n|[\r\n\u2028\u2029]/,tr=new RegExp(jr.source,"g");function Lt(x){switch(x){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function xr(x,r,e){for(let i=r;i<e;i++)if(Lt(x.charCodeAt(i)))return!0;return!1}const hr=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,mr=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function qr(x){switch(x){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 Tr{constructor(){this.flags=1024,this.startIndex=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.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[V.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(r){r?this.flags|=1:this.flags&=-2}init({strictMode:r,sourceType:e,startIndex:i,startLine:o,startColumn:T}){this.strict=r===!1?!1:r===!0?!0:e==="module",this.startIndex=i,this.curLine=o,this.lineStart=-T,this.startLoc=this.endLoc=new n(o,T,i)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(r){r?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(r){r?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(r){r?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(r){r?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(r){r?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(r){r?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(r){r?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(r){r?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(r){r?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(r){r?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(r){r?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(r){r?this.flags|=4096:this.flags&=-4097}curPosition(){return new n(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){const r=new Tr;return r.flags=this.flags,r.startIndex=this.startIndex,r.curLine=this.curLine,r.lineStart=this.lineStart,r.startLoc=this.startLoc,r.endLoc=this.endLoc,r.errors=this.errors.slice(),r.potentialArrowAt=this.potentialArrowAt,r.noArrowAt=this.noArrowAt.slice(),r.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),r.topicContext=this.topicContext,r.labels=this.labels.slice(),r.commentsLen=this.commentsLen,r.commentStack=this.commentStack.slice(),r.pos=this.pos,r.type=this.type,r.value=this.value,r.start=this.start,r.end=this.end,r.lastTokEndLoc=this.lastTokEndLoc,r.lastTokStartLoc=this.lastTokStartLoc,r.context=this.context.slice(),r.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,r.strictErrors=this.strictErrors,r.tokensLength=this.tokensLength,r}}var Hr=function(r){return r>=48&&r<=57};const Cr={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},rr={bin:x=>x===48||x===49,oct:x=>x>=48&&x<=55,dec:x=>x>=48&&x<=57,hex:x=>x>=48&&x<=57||x>=65&&x<=70||x>=97&&x<=102};function Bt(x,r,e,i,o,T){const C=e,L=i,K=o;let $="",ee=null,me=e;const{length:_e}=r;for(;;){if(e>=_e){T.unterminated(C,L,K),$+=r.slice(me,e);break}const Ne=r.charCodeAt(e);if(Jt(x,Ne,r,e)){$+=r.slice(me,e);break}if(Ne===92){$+=r.slice(me,e);const ke=zt(r,e,i,o,x==="template",T);ke.ch===null&&!ee?ee={pos:e,lineStart:i,curLine:o}:$+=ke.ch,{pos:e,lineStart:i,curLine:o}=ke,me=e}else Ne===8232||Ne===8233?(++e,++o,i=e):Ne===10||Ne===13?x==="template"?($+=r.slice(me,e)+`
19
- `,++e,Ne===13&&r.charCodeAt(e)===10&&++e,++o,me=i=e):T.unterminated(C,L,K):++e}return{pos:e,str:$,firstInvalidLoc:ee,lineStart:i,curLine:o,containsInvalid:!!ee}}function Jt(x,r,e,i){return x==="template"?r===96||r===36&&e.charCodeAt(i+1)===123:r===(x==="double"?34:39)}function zt(x,r,e,i,o,T){const C=!o;r++;const L=$=>({pos:r,ch:$,lineStart:e,curLine:i}),K=x.charCodeAt(r++);switch(K){case 110:return L(`
20
- `);case 114:return L("\r");case 120:{let $;return{code:$,pos:r}=ir(x,r,e,i,2,!1,C,T),L($===null?null:String.fromCharCode($))}case 117:{let $;return{code:$,pos:r}=Kt(x,r,e,i,C,T),L($===null?null:String.fromCodePoint($))}case 116:return L(" ");case 98:return L("\b");case 118:return L("\v");case 102:return L("\f");case 13:x.charCodeAt(r)===10&&++r;case 10:e=r,++i;case 8232:case 8233:return L("");case 56:case 57:if(o)return L(null);T.strictNumericEscape(r-1,e,i);default:if(K>=48&&K<=55){const $=r-1;let me=/^[0-7]+/.exec(x.slice($,r+2))[0],_e=parseInt(me,8);_e>255&&(me=me.slice(0,-1),_e=parseInt(me,8)),r+=me.length-1;const Ne=x.charCodeAt(r);if(me!=="0"||Ne===56||Ne===57){if(o)return L(null);T.strictNumericEscape($,e,i)}return L(String.fromCharCode(_e))}return L(String.fromCharCode(K))}}function ir(x,r,e,i,o,T,C,L){const K=r;let $;return{n:$,pos:r}=yr(x,r,e,i,16,o,T,!1,L,!C),$===null&&(C?L.invalidEscapeSequence(K,e,i):r=K-1),{code:$,pos:r}}function yr(x,r,e,i,o,T,C,L,K,$){const ee=r,me=o===16?Cr.hex:Cr.decBinOct,_e=o===16?rr.hex:o===10?rr.dec:o===8?rr.oct:rr.bin;let Ne=!1,ke=0;for(let Qe=0,mt=T??1/0;Qe<mt;++Qe){const Ze=x.charCodeAt(r);let ut;if(Ze===95&&L!=="bail"){const Rr=x.charCodeAt(r-1),Ar=x.charCodeAt(r+1);if(L){if(Number.isNaN(Ar)||!_e(Ar)||me.has(Rr)||me.has(Ar)){if($)return{n:null,pos:r};K.unexpectedNumericSeparator(r,e,i)}}else{if($)return{n:null,pos:r};K.numericSeparatorInEscapeSequence(r,e,i)}++r;continue}if(Ze>=97?ut=Ze-97+10:Ze>=65?ut=Ze-65+10:Hr(Ze)?ut=Ze-48:ut=1/0,ut>=o){if(ut<=9&&$)return{n:null,pos:r};if(ut<=9&&K.invalidDigit(r,e,i,o))ut=0;else if(C)ut=0,Ne=!0;else break}++r,ke=ke*o+ut}return r===ee||T!=null&&r-ee!==T||Ne?{n:null,pos:r}:{n:ke,pos:r}}function Kt(x,r,e,i,o,T){const C=x.charCodeAt(r);let L;if(C===123){if(++r,{code:L,pos:r}=ir(x,r,e,i,x.indexOf("}",r)-r,!0,o,T),++r,L!==null&&L>1114111)if(o)T.invalidCodePoint(r,e,i);else return{code:null,pos:r}}else({code:L,pos:r}=ir(x,r,e,i,4,!1,o,T));return{code:L,pos:r}}function Yt(x,r,e){return new n(e,x-r,x)}const Gr=new Set([103,109,115,105,121,117,100,118]);class wt{constructor(r){const e=r.startIndex||0;this.type=r.type,this.value=r.value,this.start=e+r.start,this.end=e+r.end,this.loc=new c(r.startLoc,r.endLoc)}}class Er extends _r{constructor(r,e){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(i,o,T,C)=>this.optionFlags&1024?(this.raise(_.InvalidDigit,Yt(i,o,T),{radix:C}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(_.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(_.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(_.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(_.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(i,o,T)=>{this.recordStrictModeErrors(_.StrictNumericEscape,Yt(i,o,T))},unterminated:(i,o,T)=>{throw this.raise(_.UnterminatedString,Yt(i-1,o,T))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(_.StrictNumericEscape),unterminated:(i,o,T)=>{throw this.raise(_.UnterminatedTemplate,Yt(i,o,T))}}),this.state=new Tr,this.state.init(r),this.input=e,this.length=e.length,this.comments=[],this.isLookahead=!1}pushToken(r){this.tokens.length=this.state.tokensLength,this.tokens.push(r),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.optionFlags&128&&this.pushToken(new wt(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(r){return this.match(r)?(this.next(),!0):!1}match(r){return this.state.type===r}createLookaheadState(r){return{pos:r.pos,value:null,type:r.type,start:r.start,end:r.end,context:[this.curContext()],inType:r.inType,startLoc:r.startLoc,lastTokEndLoc:r.lastTokEndLoc,curLine:r.curLine,lineStart:r.lineStart,curPosition:r.curPosition}}lookahead(){const r=this.state;this.state=this.createLookaheadState(r),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const e=this.state;return this.state=r,e}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(r){return hr.lastIndex=r,hr.test(this.input)?hr.lastIndex:r}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(r){return mr.lastIndex=r,mr.test(this.input)?mr.lastIndex:r}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(r){let e=this.input.charCodeAt(r);if((e&64512)===55296&&++r<this.input.length){const i=this.input.charCodeAt(r);(i&64512)===56320&&(e=65536+((e&1023)<<10)+(i&1023))}return e}setStrict(r){this.state.strict=r,r&&(this.state.strictErrors.forEach(([e,i])=>this.raise(e,i)),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(140);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(r){let e;this.isLookahead||(e=this.state.curPosition());const i=this.state.pos,o=this.input.indexOf(r,i+2);if(o===-1)throw this.raise(_.UnterminatedComment,this.state.curPosition());for(this.state.pos=o+r.length,tr.lastIndex=i+2;tr.test(this.input)&&tr.lastIndex<=o;)++this.state.curLine,this.state.lineStart=tr.lastIndex;if(this.isLookahead)return;const T={type:"CommentBlock",value:this.input.slice(i+2,o),start:this.sourceToOffsetPos(i),end:this.sourceToOffsetPos(o+r.length),loc:new c(e,this.state.curPosition())};return this.optionFlags&128&&this.pushToken(T),T}skipLineComment(r){const e=this.state.pos;let i;this.isLookahead||(i=this.state.curPosition());let o=this.input.charCodeAt(this.state.pos+=r);if(this.state.pos<this.length)for(;!Lt(o)&&++this.state.pos<this.length;)o=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const T=this.state.pos,L={type:"CommentLine",value:this.input.slice(e+r,T),start:this.sourceToOffsetPos(e),end:this.sourceToOffsetPos(T),loc:new c(i,this.state.curPosition())};return this.optionFlags&128&&this.pushToken(L),L}skipSpace(){const r=this.state.pos,e=this.optionFlags&2048?[]:null;e:for(;this.state.pos<this.length;){const i=this.input.charCodeAt(this.state.pos);switch(i){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 o=this.skipBlockComment("*/");o!==void 0&&(this.addComment(o),e?.push(o));break}case 47:{const o=this.skipLineComment(2);o!==void 0&&(this.addComment(o),e?.push(o));break}default:break e}break;default:if(qr(i))++this.state.pos;else if(i===45&&!this.inModule&&this.optionFlags&4096){const o=this.state.pos;if(this.input.charCodeAt(o+1)===45&&this.input.charCodeAt(o+2)===62&&(r===0||this.state.lineStart>r)){const T=this.skipLineComment(3);T!==void 0&&(this.addComment(T),e?.push(T))}else break e}else if(i===60&&!this.inModule&&this.optionFlags&4096){const o=this.state.pos;if(this.input.charCodeAt(o+1)===33&&this.input.charCodeAt(o+2)===45&&this.input.charCodeAt(o+3)===45){const T=this.skipLineComment(4);T!==void 0&&(this.addComment(T),e?.push(T))}else break e}else break e}}if(e?.length>0){const i=this.state.pos,o={start:this.sourceToOffsetPos(r),end:this.sourceToOffsetPos(i),comments:e,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(o)}}finishToken(r,e){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const i=this.state.type;this.state.type=r,this.state.value=e,this.isLookahead||this.updateContext(i)}replaceToken(r){this.state.type=r,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;const r=this.state.pos+1,e=this.codePointAtPos(r);if(e>=48&&e<=57)throw this.raise(_.UnexpectedDigitAfterHash,this.state.curPosition());if(e===123||e===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(e===123?_.RecordExpressionHashIncorrectStartSyntaxType:_.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,e===123?this.finishToken(7):this.finishToken(1)}else $e(e)?(++this.state.pos,this.finishToken(139,this.readWord1(e))):e===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const r=this.input.charCodeAt(this.state.pos+1);if(r>=48&&r<=57){this.readNumber(!0);return}r===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 r=this.input.charCodeAt(this.state.pos+1);if(r!==33)return!1;const e=this.state.pos;for(this.state.pos+=1;!Lt(r)&&++this.state.pos<this.length;)r=this.input.charCodeAt(this.state.pos);const i=this.input.slice(e+2,this.state.pos);return this.finishToken(28,i),!0}readToken_mult_modulo(r){let e=r===42?55:54,i=1,o=this.input.charCodeAt(this.state.pos+1);r===42&&o===42&&(i++,o=this.input.charCodeAt(this.state.pos+2),e=57),o===61&&!this.state.inType&&(i++,e=r===37?33:30),this.finishOp(e,i)}readToken_pipe_amp(r){const e=this.input.charCodeAt(this.state.pos+1);if(e===r){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(r===124?41:42,2);return}if(r===124){if(e===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&e===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(_.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&e===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(_.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(e===61){this.finishOp(30,2);return}this.finishOp(r===124?43:45,1)}readToken_caret(){const r=this.input.charCodeAt(this.state.pos+1);r===61&&!this.state.inType?this.finishOp(32,2):r===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(r){const e=this.input.charCodeAt(this.state.pos+1);if(e===r){this.finishOp(34,2);return}e===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){const{pos:r}=this.state,e=this.input.charCodeAt(r+1);if(e===60){if(this.input.charCodeAt(r+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(e===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){const{pos:r}=this.state,e=this.input.charCodeAt(r+1);if(e===62){const i=this.input.charCodeAt(r+2)===62?3:2;if(this.input.charCodeAt(r+i)===61){this.finishOp(30,i+1);return}this.finishOp(52,i);return}if(e===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(r){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(r===61&&e===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(r===61?29:35,1)}readToken_question(){const r=this.input.charCodeAt(this.state.pos+1),e=this.input.charCodeAt(this.state.pos+2);r===63?e===61?this.finishOp(30,3):this.finishOp(40,2):r===46&&!(e>=48&&e<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(r){switch(r){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(_.TupleExpressionBarIncorrectStartSyntaxType,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(_.RecordExpressionBarIncorrectStartSyntaxType,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 e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===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(r);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(r);return;case 124:case 38:this.readToken_pipe_amp(r);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(r);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(r);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($e(r)){this.readWord(r);return}}throw this.raise(_.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(r)})}finishOp(r,e){const i=this.input.slice(this.state.pos,this.state.pos+e);this.state.pos+=e,this.finishToken(r,i)}readRegexp(){const r=this.state.startLoc,e=this.state.start+1;let i,o,{pos:T}=this.state;for(;;++T){if(T>=this.length)throw this.raise(_.UnterminatedRegExp,u(r,1));const $=this.input.charCodeAt(T);if(Lt($))throw this.raise(_.UnterminatedRegExp,u(r,1));if(i)i=!1;else{if($===91)o=!0;else if($===93&&o)o=!1;else if($===47&&!o)break;i=$===92}}const C=this.input.slice(e,T);++T;let L="";const K=()=>u(r,T+2-e);for(;T<this.length;){const $=this.codePointAtPos(T),ee=String.fromCharCode($);if(Gr.has($))$===118?L.includes("u")&&this.raise(_.IncompatibleRegExpUVFlags,K()):$===117&&L.includes("v")&&this.raise(_.IncompatibleRegExpUVFlags,K()),L.includes(ee)&&this.raise(_.DuplicateRegExpFlags,K());else if(ot($)||$===92)this.raise(_.MalformedRegExpFlags,K());else break;++T,L+=ee}this.state.pos=T,this.finishToken(138,{pattern:C,flags:L})}readInt(r,e,i=!1,o=!0){const{n:T,pos:C}=yr(this.input,this.state.pos,this.state.lineStart,this.state.curLine,r,e,i,o,this.errorHandlers_readInt,!1);return this.state.pos=C,T}readRadixNumber(r){const e=this.state.pos,i=this.state.curPosition();let o=!1;this.state.pos+=2;const T=this.readInt(r);T==null&&this.raise(_.InvalidDigit,u(i,2),{radix:r});const C=this.input.charCodeAt(this.state.pos);if(C===110)++this.state.pos,o=!0;else if(C===109)throw this.raise(_.InvalidDecimal,i);if($e(this.codePointAtPos(this.state.pos)))throw this.raise(_.NumberIdentifier,this.state.curPosition());if(o){const L=this.input.slice(e,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,L);return}this.finishToken(135,T)}readNumber(r){const e=this.state.pos,i=this.state.curPosition();let o=!1,T=!1,C=!1,L=!1;!r&&this.readInt(10)===null&&this.raise(_.InvalidNumber,this.state.curPosition());const K=this.state.pos-e>=2&&this.input.charCodeAt(e)===48;if(K){const Ne=this.input.slice(e,this.state.pos);if(this.recordStrictModeErrors(_.StrictOctalLiteral,i),!this.state.strict){const ke=Ne.indexOf("_");ke>0&&this.raise(_.ZeroDigitNumericSeparator,u(i,ke))}L=K&&!/[89]/.test(Ne)}let $=this.input.charCodeAt(this.state.pos);if($===46&&!L&&(++this.state.pos,this.readInt(10),o=!0,$=this.input.charCodeAt(this.state.pos)),($===69||$===101)&&!L&&($=this.input.charCodeAt(++this.state.pos),($===43||$===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(_.InvalidOrMissingExponent,i),o=!0,C=!0,$=this.input.charCodeAt(this.state.pos)),$===110&&((o||K)&&this.raise(_.InvalidBigIntLiteral,i),++this.state.pos,T=!0),$===109){this.expectPlugin("decimal",this.state.curPosition()),(C||K)&&this.raise(_.InvalidDecimal,i),++this.state.pos;var ee=!0}if($e(this.codePointAtPos(this.state.pos)))throw this.raise(_.NumberIdentifier,this.state.curPosition());const me=this.input.slice(e,this.state.pos).replace(/[_mn]/g,"");if(T){this.finishToken(136,me);return}if(ee){this.finishToken(137,me);return}const _e=L?parseInt(me,8):parseFloat(me);this.finishToken(135,_e)}readCodePoint(r){const{code:e,pos:i}=Kt(this.input,this.state.pos,this.state.lineStart,this.state.curLine,r,this.errorHandlers_readCodePoint);return this.state.pos=i,e}readString(r){const{str:e,pos:i,curLine:o,lineStart:T}=Bt(r===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=i+1,this.state.lineStart=T,this.state.curLine=o,this.finishToken(134,e)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const r=this.input[this.state.pos],{str:e,firstInvalidLoc:i,pos:o,curLine:T,lineStart:C}=Bt("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=o+1,this.state.lineStart=C,this.state.curLine=T,i&&(this.state.firstInvalidTemplateEscapePos=new n(i.curLine,i.pos-i.lineStart,this.sourceToOffsetPos(i.pos))),this.input.codePointAt(o)===96?this.finishToken(24,i?null:r+e+"`"):(this.state.pos++,this.finishToken(25,i?null:r+e+"${"))}recordStrictModeErrors(r,e){const i=e.index;this.state.strict&&!this.state.strictErrors.has(i)?this.raise(r,e):this.state.strictErrors.set(i,[r,e])}readWord1(r){this.state.containsEsc=!1;let e="";const i=this.state.pos;let o=this.state.pos;for(r!==void 0&&(this.state.pos+=r<=65535?1:2);this.state.pos<this.length;){const T=this.codePointAtPos(this.state.pos);if(ot(T))this.state.pos+=T<=65535?1:2;else if(T===92){this.state.containsEsc=!0,e+=this.input.slice(o,this.state.pos);const C=this.state.curPosition(),L=this.state.pos===i?$e:ot;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(_.MissingUnicodeEscape,this.state.curPosition()),o=this.state.pos-1;continue}++this.state.pos;const K=this.readCodePoint(!0);K!==null&&(L(K)||this.raise(_.EscapedCharNotAnIdentifier,C),e+=String.fromCodePoint(K)),o=this.state.pos}else break}return e+this.input.slice(o,this.state.pos)}readWord(r){const e=this.readWord1(r),i=ue.get(e);i!==void 0?this.finishToken(i,Ee(i)):this.finishToken(132,e)}checkKeywordEscapes(){const{type:r}=this.state;Et(r)&&this.state.containsEsc&&this.raise(_.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:Ee(r)})}raise(r,e,i={}){const o=e instanceof n?e:e.loc.start,T=r(o,i);if(!(this.optionFlags&1024))throw T;return this.isLookahead||this.state.errors.push(T),T}raiseOverwrite(r,e,i={}){const o=e instanceof n?e:e.loc.start,T=o.index,C=this.state.errors;for(let L=C.length-1;L>=0;L--){const K=C[L];if(K.loc.index===T)return C[L]=r(o,i);if(K.loc.index<T)break}return this.raise(r,e,i)}updateContext(r){}unexpected(r,e){throw this.raise(_.UnexpectedToken,r??this.state.startLoc,{expected:e?Ee(e):null})}expectPlugin(r,e){if(this.hasPlugin(r))return!0;throw this.raise(_.MissingPlugin,e??this.state.startLoc,{missingPlugin:[r]})}expectOnePlugin(r){if(!r.some(e=>this.hasPlugin(e)))throw this.raise(_.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:r})}errorBuilder(r){return(e,i,o)=>{this.raise(r,Yt(e,i,o))}}}class Kr{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class sr{constructor(r){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=r}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Kr)}exit(){const r=this.stack.pop(),e=this.current();for(const[i,o]of Array.from(r.undefinedPrivateNames))e?e.undefinedPrivateNames.has(i)||e.undefinedPrivateNames.set(i,o):this.parser.raise(_.InvalidPrivateFieldResolution,o,{identifierName:i})}declarePrivateName(r,e,i){const{privateNames:o,loneAccessors:T,undefinedPrivateNames:C}=this.current();let L=o.has(r);if(e&3){const K=L&&T.get(r);if(K){const $=K&4,ee=e&4,me=K&3,_e=e&3;L=me===_e||$!==ee,L||T.delete(r)}else L||T.set(r,e)}L&&this.parser.raise(_.PrivateNameRedeclaration,i,{identifierName:r}),o.add(r),C.delete(r)}usePrivateName(r,e){let i;for(i of this.stack)if(i.privateNames.has(r))return;i?i.undefinedPrivateNames.set(r,e):this.parser.raise(_.InvalidPrivateFieldResolution,e,{identifierName:r})}}class Ft{constructor(r=0){this.type=r}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class nr extends Ft{constructor(r){super(r),this.declarationErrors=new Map}recordDeclarationError(r,e){const i=e.index;this.declarationErrors.set(i,[r,e])}clearDeclarationError(r){this.declarationErrors.delete(r)}iterateErrors(r){this.declarationErrors.forEach(r)}}class ar{constructor(r){this.parser=void 0,this.stack=[new Ft],this.parser=r}enter(r){this.stack.push(r)}exit(){this.stack.pop()}recordParameterInitializerError(r,e){const i=e.loc.start,{stack:o}=this;let T=o.length-1,C=o[T];for(;!C.isCertainlyParameterDeclaration();){if(C.canBeArrowParameterDeclaration())C.recordDeclarationError(r,i);else return;C=o[--T]}this.parser.raise(r,i)}recordArrowParameterBindingError(r,e){const{stack:i}=this,o=i[i.length-1],T=e.loc.start;if(o.isCertainlyParameterDeclaration())this.parser.raise(r,T);else if(o.canBeArrowParameterDeclaration())o.recordDeclarationError(r,T);else return}recordAsyncArrowParametersError(r){const{stack:e}=this;let i=e.length-1,o=e[i];for(;o.canBeArrowParameterDeclaration();)o.type===2&&o.recordDeclarationError(_.AwaitBindingIdentifier,r),o=e[--i]}validateAsPattern(){const{stack:r}=this,e=r[r.length-1];e.canBeArrowParameterDeclaration()&&e.iterateErrors(([i,o])=>{this.parser.raise(i,o);let T=r.length-2,C=r[T];for(;C.canBeArrowParameterDeclaration();)C.clearDeclarationError(o.index),C=r[--T]})}}function Nr(){return new Ft(3)}function Yr(){return new nr(1)}function Vr(){return new nr(2)}function br(){return new Ft}class Dr{constructor(){this.stacks=[]}enter(r){this.stacks.push(r)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}}function or(x,r){return(x?2:0)|(r?1:0)}class Xr extends Er{addExtra(r,e,i,o=!0){if(!r)return;let{extra:T}=r;T==null&&(T={},r.extra=T),o?T[e]=i:Object.defineProperty(T,e,{enumerable:o,value:i})}isContextual(r){return this.state.type===r&&!this.state.containsEsc}isUnparsedContextual(r,e){const i=r+e.length;if(this.input.slice(r,i)===e){const o=this.input.charCodeAt(i);return!(ot(o)||(o&64512)===55296)}return!1}isLookaheadContextual(r){const e=this.nextTokenStart();return this.isUnparsedContextual(e,r)}eatContextual(r){return this.isContextual(r)?(this.next(),!0):!1}expectContextual(r,e){if(!this.eatContextual(r)){if(e!=null)throw this.raise(e,this.state.startLoc);this.unexpected(null,r)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return xr(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return xr(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(r=!0){(r?this.isLineTerminator():this.eat(13))||this.raise(_.MissingSemicolon,this.state.lastTokEndLoc)}expect(r,e){this.eat(r)||this.unexpected(e,r)}tryParse(r,e=this.state.clone()){const i={node:null};try{const o=r((T=null)=>{throw i.node=T,i});if(this.state.errors.length>e.errors.length){const T=this.state;return this.state=e,this.state.tokensLength=T.tokensLength,{node:o,error:T.errors[e.errors.length],thrown:!1,aborted:!1,failState:T}}return{node:o,error:null,thrown:!1,aborted:!1,failState:null}}catch(o){const T=this.state;if(this.state=e,o instanceof SyntaxError)return{node:null,error:o,thrown:!0,aborted:!1,failState:T};if(o===i)return{node:i.node,error:null,thrown:!1,aborted:!0,failState:T};throw o}}checkExpressionErrors(r,e){if(!r)return!1;const{shorthandAssignLoc:i,doubleProtoLoc:o,privateKeyLoc:T,optionalParametersLoc:C}=r,L=!!i||!!o||!!C||!!T;if(!e)return L;i!=null&&this.raise(_.InvalidCoverInitializedName,i),o!=null&&this.raise(_.DuplicateProto,o),T!=null&&this.raise(_.UnexpectedPrivateField,T),C!=null&&this.unexpected(C)}isLiteralPropertyName(){return Ve(this.state.type)}isPrivateName(r){return r.type==="PrivateName"}getPrivateNameSV(r){return r.id.name}hasPropertyAsPrivateName(r){return(r.type==="MemberExpression"||r.type==="OptionalMemberExpression")&&this.isPrivateName(r.property)}isObjectProperty(r){return r.type==="ObjectProperty"}isObjectMethod(r){return r.type==="ObjectMethod"}initializeScopes(r=this.options.sourceType==="module"){const e=this.state.labels;this.state.labels=[];const i=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const o=this.inModule;this.inModule=r;const T=this.scope,C=this.getScopeHandler();this.scope=new C(this,r);const L=this.prodParam;this.prodParam=new Dr;const K=this.classScope;this.classScope=new sr(this);const $=this.expressionScope;return this.expressionScope=new ar(this),()=>{this.state.labels=e,this.exportedIdentifiers=i,this.inModule=o,this.scope=T,this.prodParam=L,this.classScope=K,this.expressionScope=$}}enterInitialScopes(){let r=0;this.inModule&&(r|=2),this.scope.enter(1),this.prodParam.enter(r)}checkDestructuringPrivate(r){const{privateKeyLoc:e}=r;e!==null&&this.expectPlugin("destructuringPrivate",e)}}class ur{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class cr{constructor(r,e,i){this.type="",this.start=e,this.end=0,this.loc=new c(i),r?.optionFlags&64&&(this.range=[e,0]),r!=null&&r.filename&&(this.loc.filename=r.filename)}}const lr=cr.prototype;lr.__clone=function(){const x=new cr(void 0,this.start,this.loc.start),r=Object.keys(this);for(let e=0,i=r.length;e<i;e++){const o=r[e];o!=="leadingComments"&&o!=="trailingComments"&&o!=="innerComments"&&(x[o]=this[o])}return x};function Wr(x){return xt(x)}function xt(x){const{type:r,start:e,end:i,loc:o,range:T,extra:C,name:L}=x,K=Object.create(lr);return K.type=r,K.start=e,K.end=i,K.loc=o,K.range=T,K.extra=C,K.name=L,r==="Placeholder"&&(K.expectedNode=x.expectedNode),K}function pr(x){const{type:r,start:e,end:i,loc:o,range:T,extra:C}=x;if(r==="Placeholder")return Wr(x);const L=Object.create(lr);return L.type=r,L.start=e,L.end=i,L.loc=o,L.range=T,x.raw!==void 0?L.raw=x.raw:L.extra=C,L.value=x.value,L}class Jr extends Xr{startNode(){const r=this.state.startLoc;return new cr(this,r.index,r)}startNodeAt(r){return new cr(this,r.index,r)}startNodeAtNode(r){return this.startNodeAt(r.loc.start)}finishNode(r,e){return this.finishNodeAt(r,e,this.state.lastTokEndLoc)}finishNodeAt(r,e,i){return r.type=e,r.end=i.index,r.loc.end=i,this.optionFlags&64&&(r.range[1]=i.index),this.optionFlags&2048&&this.processComment(r),r}resetStartLocation(r,e){r.start=e.index,r.loc.start=e,this.optionFlags&64&&(r.range[0]=e.index)}resetEndLocation(r,e=this.state.lastTokEndLoc){r.end=e.index,r.loc.end=e,this.optionFlags&64&&(r.range[1]=e.index)}resetStartLocationFromNode(r,e){this.resetStartLocation(r,e.loc.start)}}const zr=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),je=Y`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:x})=>`Cannot overwrite reserved type ${x}.`,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:x,enumName:r})=>`Boolean enum members need to be initialized. Use either \`${x} = true,\` or \`${x} = false,\` in enum \`${r}\`.`,EnumDuplicateMemberName:({memberName:x,enumName:r})=>`Enum member names need to be unique, but the name \`${x}\` has already been used before in enum \`${r}\`.`,EnumInconsistentMemberValues:({enumName:x})=>`Enum \`${x}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:x,enumName:r})=>`Enum type \`${x}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${r}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:x})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${x}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:x,memberName:r,explicitType:e})=>`Enum \`${x}\` has type \`${e}\`, so the initializer of \`${r}\` needs to be a ${e} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:x,memberName:r})=>`Symbol enum members cannot be initialized. Use \`${r},\` in enum \`${x}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:x,memberName:r})=>`The enum member initializer for \`${r}\` needs to be a literal (either a boolean, number, or string) in enum \`${x}\`.`,EnumInvalidMemberName:({enumName:x,memberName:r,suggestion:e})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${r}\`, consider using \`${e}\`, in enum \`${x}\`.`,EnumNumberMemberNotInitialized:({enumName:x,memberName:r})=>`Number enum members need to be initialized, e.g. \`${r} = 1\` in enum \`${x}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:x})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${x}\`.`,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:x})=>`Unexpected reserved type ${x}.`,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:x,suggestion:r})=>`\`declare export ${x}\` is not supported. Use \`${r}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function $r(x){return x.type==="DeclareExportAllDeclaration"||x.type==="DeclareExportDeclaration"&&(!x.declaration||x.declaration.type!=="TypeAlias"&&x.declaration.type!=="InterfaceDeclaration")}function Or(x){return x.importKind==="type"||x.importKind==="typeof"}const fr={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function Qr(x,r){const e=[],i=[];for(let o=0;o<x.length;o++)(r(x[o],o,x)?e:i).push(x[o]);return[e,i]}const Zr=/\*?\s*@((?:no)?flow)\b/;var ei=x=>class extends x{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return Br}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(e,i){e!==134&&e!==13&&e!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(e,i)}addComment(e){if(this.flowPragma===void 0){const i=Zr.exec(e.value);if(i)if(i[1]==="flow")this.flowPragma="flow";else if(i[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(e)}flowParseTypeInitialiser(e){const i=this.state.inType;this.state.inType=!0,this.expect(e||14);const o=this.flowParseType();return this.state.inType=i,o}flowParsePredicate(){const e=this.startNode(),i=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>i.index+1&&this.raise(je.UnexpectedSpaceBetweenModuloChecks,i),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=!0,this.expect(14);let i=null,o=null;return this.match(54)?(this.state.inType=e,o=this.flowParsePredicate()):(i=this.flowParseType(),this.state.inType=e,this.match(54)&&(o=this.flowParsePredicate())),[i,o]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const i=e.id=this.parseIdentifier(),o=this.startNode(),T=this.startNode();this.match(47)?o.typeParameters=this.flowParseTypeParameterDeclaration():o.typeParameters=null,this.expect(10);const C=this.flowParseFunctionTypeParams();return o.params=C.params,o.rest=C.rest,o.this=C._this,this.expect(11),[o.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),T.typeAnnotation=this.finishNode(o,"FunctionTypeAnnotation"),i.typeAnnotation=this.finishNode(T,"TypeAnnotation"),this.resetEndLocation(i),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,i){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(e):(i&&this.raise(je.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(129))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,i);this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(134)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();const i=e.body=this.startNode(),o=i.body=[];for(this.expect(5);!this.match(8);){let L=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(je.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(L)):(this.expectContextual(125,je.UnsupportedStatementInDeclareModule),L=this.flowParseDeclare(L,!0)),o.push(L)}this.scope.exit(),this.expect(8),this.finishNode(i,"BlockStatement");let T=null,C=!1;return o.forEach(L=>{$r(L)?(T==="CommonJS"&&this.raise(je.AmbiguousDeclareModuleKind,L),T="ES"):L.type==="DeclareModuleExports"&&(C&&this.raise(je.DuplicateDeclareModuleExports,L),T==="ES"&&this.raise(je.AmbiguousDeclareModuleKind,L),T="CommonJS",C=!0)}),e.kind=T||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,i){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!i){const o=this.state.value;throw this.raise(je.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:o,suggestion:fr[o]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return e=this.parseExport(e,null),e.type==="ExportNamedDeclaration"&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();const i=this.flowParseTypeAlias(e);return i.type="DeclareTypeAlias",i}flowParseDeclareOpaqueType(e){this.next();const i=this.flowParseOpaqueType(e,!0);return i.type="DeclareOpaqueType",i}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,i){if(e.id=this.flowParseRestrictedIdentifier(!i,!0),this.scope.declareName(e.id.name,i?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(!i&&this.eat(12));if(i){if(e.implements=[],e.mixins=[],this.eatContextual(117))do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do e.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:i,allowExact:!1,allowSpread:!1,allowProto:i,allowInexact:!1})}flowParseInterfaceExtends(){const e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){e==="_"&&this.raise(je.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,i,o){zr.has(e)&&this.raise(o?je.AssignReservedType:je.UnexpectedReservedType,i,{reservedType:e})}flowParseRestrictedIdentifier(e,i){return this.checkReservedType(this.state.value,this.state.startLoc,i),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,i){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,i||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){const i=this.state.startLoc,o=this.startNode(),T=this.flowParseVariance(),C=this.flowParseTypeAnnotatableIdentifier();return o.name=C.name,o.variance=T,o.bound=C.typeAnnotation,this.match(29)?(this.eat(29),o.default=this.flowParseType()):e&&this.raise(je.MissingTypeParamDefault,i),this.finishNode(o,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType,i=this.startNode();i.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let o=!1;do{const T=this.flowParseTypeParameter(o);i.params.push(T),T.default&&(o=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(i,"TypeParameterDeclaration")}flowInTopLevelContext(e){if(this.curContext()!==V.brace){const i=this.state.context;this.state.context=[i[0]];try{return e()}finally{this.state.context=i}}else return e()}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()===47)return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){const e=this.startNode(),i=this.state.inType;return this.state.inType=!0,e.params=[],this.flowInTopLevelContext(()=>{this.expect(47);const o=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);this.state.noAnonFunctionType=o}),this.state.inType=i,!this.state.inType&&this.curContext()===V.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==47)return;const e=this.startNode(),i=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=i,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,i,o){return e.static=i,this.lookahead().type===14?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=o,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,i){return e.static=i,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,i){const o=this.startNode();return e.static=i,e.value=this.flowParseObjectTypeMethodish(o),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:i,allowSpread:o,allowProto:T,allowInexact:C}){const L=this.state.inType;this.state.inType=!0;const K=this.startNode();K.callProperties=[],K.properties=[],K.indexers=[],K.internalSlots=[];let $,ee,me=!1;for(i&&this.match(6)?(this.expect(6),$=9,ee=!0):(this.expect(5),$=8,ee=!1),K.exact=ee;!this.match($);){let Ne=!1,ke=null,Qe=null;const mt=this.startNode();if(T&&this.isContextual(118)){const ut=this.lookahead();ut.type!==14&&ut.type!==17&&(this.next(),ke=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){const ut=this.lookahead();ut.type!==14&&ut.type!==17&&(this.next(),Ne=!0)}const Ze=this.flowParseVariance();if(this.eat(0))ke!=null&&this.unexpected(ke),this.eat(0)?(Ze&&this.unexpected(Ze.loc.start),K.internalSlots.push(this.flowParseObjectTypeInternalSlot(mt,Ne))):K.indexers.push(this.flowParseObjectTypeIndexer(mt,Ne,Ze));else if(this.match(10)||this.match(47))ke!=null&&this.unexpected(ke),Ze&&this.unexpected(Ze.loc.start),K.callProperties.push(this.flowParseObjectTypeCallProperty(mt,Ne));else{let ut="init";if(this.isContextual(99)||this.isContextual(104)){const Ar=this.lookahead();Ve(Ar.type)&&(ut=this.state.value,this.next())}const Rr=this.flowParseObjectTypeProperty(mt,Ne,ke,Ze,ut,o,C??!ee);Rr===null?(me=!0,Qe=this.state.lastTokStartLoc):K.properties.push(Rr)}this.flowObjectTypeSemicolon(),Qe&&!this.match(8)&&!this.match(9)&&this.raise(je.UnexpectedExplicitInexactInObject,Qe)}this.expect($),o&&(K.inexact=me);const _e=this.finishNode(K,"ObjectTypeAnnotation");return this.state.inType=L,_e}flowParseObjectTypeProperty(e,i,o,T,C,L,K){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(L?K||this.raise(je.InexactInsideExact,this.state.lastTokStartLoc):this.raise(je.InexactInsideNonObject,this.state.lastTokStartLoc),T&&this.raise(je.InexactVariance,T),null):(L||this.raise(je.UnexpectedSpreadType,this.state.lastTokStartLoc),o!=null&&this.unexpected(o),T&&this.raise(je.SpreadVariance,T),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=i,e.proto=o!=null,e.kind=C;let $=!1;return this.match(47)||this.match(10)?(e.method=!0,o!=null&&this.unexpected(o),T&&this.unexpected(T.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),(C==="get"||C==="set")&&this.flowCheckGetterSetterParams(e),!L&&e.key.name==="constructor"&&e.value.this&&this.raise(je.ThisParamBannedInConstructor,e.value.this)):(C!=="init"&&this.unexpected(),e.method=!1,this.eat(17)&&($=!0),e.value=this.flowParseTypeInitialiser(),e.variance=T),e.optional=$,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const i=e.kind==="get"?0:1,o=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.kind==="get"?je.GetterMayNotHaveThisParam:je.SetterMayNotHaveThisParam,e.value.this),o!==i&&this.raise(e.kind==="get"?_.BadGetterArity:_.BadSetterArity,e),e.kind==="set"&&e.value.rest&&this.raise(_.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,i){var o;(o=e)!=null||(e=this.state.startLoc);let T=i||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const C=this.startNodeAt(e);C.qualification=T,C.id=this.flowParseRestrictedIdentifier(!0),T=this.finishNode(C,"QualifiedTypeIdentifier")}return T}flowParseGenericType(e,i){const o=this.startNodeAt(e);return o.typeParameters=null,o.id=this.flowParseQualifiedTypeIdentifier(e,i),this.match(47)&&(o.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(o,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(e){let i=null,o=!1,T=null;const C=this.startNode(),L=this.lookahead(),K=this.state.type===78;return L.type===14||L.type===17?(K&&!e&&this.raise(je.ThisParamMustBeFirst,C),i=this.parseIdentifier(K),this.eat(17)&&(o=!0,K&&this.raise(je.ThisParamMayNotBeOptional,C)),T=this.flowParseTypeInitialiser()):T=this.flowParseType(),C.name=i,C.optional=o,C.typeAnnotation=T,this.finishNode(C,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){const i=this.startNodeAt(e.loc.start);return i.name=null,i.optional=!1,i.typeAnnotation=e,this.finishNode(i,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let i=null,o=null;for(this.match(78)&&(o=this.flowParseFunctionTypeParam(!0),o.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(i=this.flowParseFunctionTypeParam(!1)),{params:e,rest:i,_this:o}}flowIdentToTypeAnnotation(e,i,o){switch(o.name){case"any":return this.finishNode(i,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(i,"BooleanTypeAnnotation");case"mixed":return this.finishNode(i,"MixedTypeAnnotation");case"empty":return this.finishNode(i,"EmptyTypeAnnotation");case"number":return this.finishNode(i,"NumberTypeAnnotation");case"string":return this.finishNode(i,"StringTypeAnnotation");case"symbol":return this.finishNode(i,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(o.name),this.flowParseGenericType(e,o)}}flowParsePrimaryType(){const e=this.state.startLoc,i=this.startNode();let o,T,C=!1;const L=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,T=this.flowParseTupleType(),this.state.noAnonFunctionType=L,T;case 47:{const K=this.startNode();return K.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),o=this.flowParseFunctionTypeParams(),K.params=o.params,K.rest=o.rest,K.this=o._this,this.expect(11),this.expect(19),K.returnType=this.flowParseType(),this.finishNode(K,"FunctionTypeAnnotation")}case 10:{const K=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(ce(this.state.type)||this.match(78)){const $=this.lookahead().type;C=$!==17&&$!==14}else C=!0;if(C){if(this.state.noAnonFunctionType=!1,T=this.flowParseType(),this.state.noAnonFunctionType=L,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),T;this.eat(12)}return T?o=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(T)]):o=this.flowParseFunctionTypeParams(),K.params=o.params,K.rest=o.rest,K.this=o._this,this.expect(11),this.expect(19),K.returnType=this.flowParseType(),K.typeParameters=null,this.finishNode(K,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return i.value=this.match(85),this.next(),this.finishNode(i,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",i);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",i);throw this.raise(je.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 135:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 136:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(i,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(i,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(i,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(i,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(Et(this.state.type)){const K=Ee(this.state.type);return this.next(),super.createIdentifier(i,K)}else if(ce(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,i,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const e=this.state.startLoc;let i=this.flowParsePrimaryType(),o=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const T=this.startNodeAt(e),C=this.eat(18);o=o||C,this.expect(0),!C&&this.match(3)?(T.elementType=i,this.next(),i=this.finishNode(T,"ArrayTypeAnnotation")):(T.objectType=i,T.indexType=this.flowParseType(),this.expect(3),o?(T.optional=C,i=this.finishNode(T,"OptionalIndexedAccessType")):i=this.finishNode(T,"IndexedAccessType"))}return i}flowParsePrefixType(){const e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const i=this.startNodeAt(e.loc.start);return i.params=[this.reinterpretTypeAsFunctionTypeParam(e)],i.rest=null,i.this=null,i.returnType=this.flowParseType(),i.typeParameters=null,this.finishNode(i,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){const e=this.startNode();this.eat(45);const i=this.flowParseAnonFunctionWithoutParens();for(e.types=[i];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return e.types.length===1?i:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){const e=this.startNode();this.eat(43);const i=this.flowParseIntersectionType();for(e.types=[i];this.eat(43);)e.types.push(this.flowParseIntersectionType());return e.types.length===1?i:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){const e=this.state.inType;this.state.inType=!0;const i=this.flowParseUnionType();return this.state.inType=e,i}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){const e=this.state.startLoc,i=this.parseIdentifier();return this.flowParseGenericType(e,i)}else return this.flowParseType()}flowParseTypeAnnotation(){const e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){const i=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(i.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(i)),i}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)?(e=this.startNode(),this.state.value==="+"?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")):e}parseFunctionBody(e,i,o=!1){if(i){this.forwardNoArrowParamsConversionAt(e,()=>super.parseFunctionBody(e,!0,o));return}super.parseFunctionBody(e,!1,o)}parseFunctionBodyAndFinish(e,i,o=!1){if(this.match(14)){const T=this.startNode();[T.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=T.typeAnnotation?this.finishNode(T,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,i,o)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){const o=this.lookahead();if(fe(o.type)){const T=this.startNode();return this.next(),this.flowParseInterface(T)}}else if(this.isContextual(126)){const o=this.startNode();return this.next(),this.flowParseEnumDeclaration(o)}const i=super.parseStatementLike(e);return this.flowPragma===void 0&&!this.isValidDirective(i)&&(this.flowPragma=null),i}parseExpressionStatement(e,i,o){if(i.type==="Identifier"){if(i.name==="declare"){if(this.match(80)||ce(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(ce(this.state.type)){if(i.name==="interface")return this.flowParseInterface(e);if(i.name==="type")return this.flowParseTypeAlias(e);if(i.name==="opaque")return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,i,o)}shouldParseExportDeclaration(){const{type:e}=this.state;return e===126||ft(e)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return e===126||ft(e)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,i,o){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const _e=this.lookaheadCharCode();if(_e===44||_e===61||_e===58||_e===41)return this.setOptionalParametersError(o),e}this.expect(17);const T=this.state.clone(),C=this.state.noArrowAt,L=this.startNodeAt(i);let{consequent:K,failed:$}=this.tryParseConditionalConsequent(),[ee,me]=this.getArrowLikeExpressions(K);if($||me.length>0){const _e=[...C];if(me.length>0){this.state=T,this.state.noArrowAt=_e;for(let Ne=0;Ne<me.length;Ne++)_e.push(me[Ne].start);({consequent:K,failed:$}=this.tryParseConditionalConsequent()),[ee,me]=this.getArrowLikeExpressions(K)}$&&ee.length>1&&this.raise(je.AmbiguousConditionalArrow,T.startLoc),$&&ee.length===1&&(this.state=T,_e.push(ee[0].start),this.state.noArrowAt=_e,{consequent:K,failed:$}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(K,!0),this.state.noArrowAt=C,this.expect(14),L.test=e,L.consequent=K,L.alternate=this.forwardNoArrowParamsConversionAt(L,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(L,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn(),i=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:i}}getArrowLikeExpressions(e,i){const o=[e],T=[];for(;o.length!==0;){const C=o.pop();C.type==="ArrowFunctionExpression"&&C.body.type!=="BlockStatement"?(C.typeParameters||!C.returnType?this.finishArrowValidation(C):T.push(C),o.push(C.body)):C.type==="ConditionalExpression"&&(o.push(C.consequent),o.push(C.alternate))}return i?(T.forEach(C=>this.finishArrowValidation(C)),[T,[]]):Qr(T,C=>C.params.every(L=>this.isAssignable(L,!0)))}finishArrowValidation(e){var i;this.toAssignableList(e.params,(i=e.extra)==null?void 0:i.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,i){let o;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),o=i(),this.state.noArrowParamsConversionAt.pop()):o=i(),o}parseParenItem(e,i){const o=super.parseParenItem(e,i);if(this.eat(17)&&(o.optional=!0,this.resetEndLocation(e)),this.match(14)){const T=this.startNodeAt(i);return T.expression=o,T.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(T,"TypeCastExpression")}return o}assertModuleNodeAllowed(e){e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(130)){e.exportKind="type";const i=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(i)}else if(this.isContextual(131)){e.exportKind="type";const i=this.startNode();return this.next(),this.flowParseOpaqueType(i,!1)}else if(this.isContextual(129)){e.exportKind="type";const i=this.startNode();return this.next(),this.flowParseInterface(i)}else if(this.isContextual(126)){e.exportKind="value";const i=this.startNode();return this.next(),this.flowParseEnumDeclaration(i)}else return super.parseExportDeclaration(e)}eatExportStar(e){return super.eatExportStar(e)?!0:this.isContextual(130)&&this.lookahead().type===55?(e.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(e){const{startLoc:i}=this.state,o=super.maybeParseExportNamespaceSpecifier(e);return o&&e.exportKind==="type"&&this.unexpected(i),o}parseClassId(e,i,o){super.parseClassId(e,i,o),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,i,o){const{startLoc:T}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(e,i))return;i.declare=!0}super.parseClassMember(e,i,o),i.declare&&(i.type!=="ClassProperty"&&i.type!=="ClassPrivateProperty"&&i.type!=="PropertyDefinition"?this.raise(je.DeclareClassElement,T):i.value&&this.raise(je.DeclareClassFieldInitializer,i.value))}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1(),i="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(_.InvalidIdentifier,this.state.curPosition(),{identifierName:i}),this.finishToken(132,i)}getTokenFromCode(e){const i=this.input.charCodeAt(this.state.pos+1);e===123&&i===124?this.finishOp(6,2):this.state.inType&&(e===62||e===60)?this.finishOp(e===62?48:47,1):this.state.inType&&e===63?i===46?this.finishOp(18,2):this.finishOp(17,1):Wt(e,i,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,i){return e.type==="TypeCastExpression"?this.isAssignable(e.expression,i):super.isAssignable(e,i)}toAssignable(e,i=!1){!i&&e.type==="AssignmentExpression"&&e.left.type==="TypeCastExpression"&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,i)}toAssignableList(e,i,o){for(let T=0;T<e.length;T++){const C=e[T];C?.type==="TypeCastExpression"&&(e[T]=this.typeCastToParameter(C))}super.toAssignableList(e,i,o)}toReferencedList(e,i){for(let T=0;T<e.length;T++){var o;const C=e[T];C&&C.type==="TypeCastExpression"&&!((o=C.extra)!=null&&o.parenthesized)&&(e.length>1||!i)&&this.raise(je.TypeCastInPattern,C.typeAnnotation)}return e}parseArrayLike(e,i,o,T){const C=super.parseArrayLike(e,i,o,T);return i&&!this.state.maybeInArrowParameters&&this.toReferencedList(C.elements),C}isValidLVal(e,i,o){return e==="TypeCastExpression"||super.isValidLVal(e,i,o)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,i,o,T,C,L){if(i.variance&&this.unexpected(i.variance.loc.start),delete i.variance,this.match(47)&&(i.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,i,o,T,C,L),i.params&&C){const K=i.params;K.length>0&&this.isThisParam(K[0])&&this.raise(je.ThisParamBannedInConstructor,i)}else if(i.type==="MethodDefinition"&&C&&i.value.params){const K=i.value.params;K.length>0&&this.isThisParam(K[0])&&this.raise(je.ThisParamBannedInConstructor,i)}}pushClassPrivateMethod(e,i,o,T){i.variance&&this.unexpected(i.variance.loc.start),delete i.variance,this.match(47)&&(i.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,i,o,T)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression()),this.isContextual(113)){this.next();const i=e.implements=[];do{const o=this.startNode();o.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?o.typeParameters=this.flowParseTypeParameterInstantiation():o.typeParameters=null,i.push(this.finishNode(o,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const i=this.getObjectOrClassMethodParams(e);if(i.length>0){const o=i[0];this.isThisParam(o)&&e.kind==="get"?this.raise(je.GetterMayNotHaveThisParam,o):this.isThisParam(o)&&this.raise(je.SetterMayNotHaveThisParam,o)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,i,o,T,C,L,K){e.variance&&this.unexpected(e.variance.loc.start),delete e.variance;let $;this.match(47)&&!L&&($=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const ee=super.parseObjPropValue(e,i,o,T,C,L,K);return $&&((ee.value||ee).typeParameters=$),ee}parseFunctionParamType(e){return this.eat(17)&&(e.type!=="Identifier"&&this.raise(je.PatternIsOptional,e),this.isThisParam(e)&&this.raise(je.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(je.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(je.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,i){const o=super.parseMaybeDefault(e,i);return o.type==="AssignmentPattern"&&o.typeAnnotation&&o.right.start<o.typeAnnotation.start&&this.raise(je.TypeBeforeInitializer,o.typeAnnotation),o}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!=="value"&&this.raise(je.ImportReflectionHasImportType,e.specifiers[0].loc.start)}parseImportSpecifierLocal(e,i,o){i.local=Or(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(i,o))}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){if(!e)return!0;const i=this.lookaheadCharCode();return i===123||i===42}return!e&&this.isContextual(87)}applyImportPhase(e,i,o,T){if(super.applyImportPhase(e,i,o,T),i){if(!o&&this.match(65))return;e.exportKind=o==="type"?o:"value"}else o==="type"&&this.match(55)&&this.unexpected(),e.importKind=o==="type"||o==="typeof"?o:"value"}parseImportSpecifier(e,i,o,T,C){const L=e.imported;let K=null;L.type==="Identifier"&&(L.name==="type"?K="type":L.name==="typeof"&&(K="typeof"));let $=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const me=this.parseIdentifier(!0);K!==null&&!fe(this.state.type)?(e.imported=me,e.importKind=K,e.local=xt(me)):(e.imported=L,e.importKind=null,e.local=this.parseIdentifier())}else{if(K!==null&&fe(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=K;else{if(i)throw this.raise(_.ImportBindingIsString,e,{importName:L.value});e.imported=L,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():($=!0,e.local=xt(e.imported))}const ee=Or(e);return o&&ee&&this.raise(je.ImportTypeShorthandOnlyInPureImport,e),(o||ee)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),$&&!o&&!ee&&this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(e,i){const o=e.kind;o!=="get"&&o!=="set"&&this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,i)}parseVarId(e,i){super.parseVarId(e,i),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,i){if(this.match(14)){const o=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=o}return super.parseAsyncArrowFromCallExpression(e,i)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,i){var o;let T=null,C;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(T=this.state.clone(),C=this.tryParse(()=>super.parseMaybeAssign(e,i),T),!C.error)return C.node;const{context:$}=this.state,ee=$[$.length-1];(ee===V.j_oTag||ee===V.j_expr)&&$.pop()}if((o=C)!=null&&o.error||this.match(47)){var L,K;T=T||this.state.clone();let $;const ee=this.tryParse(_e=>{var Ne;$=this.flowParseTypeParameterDeclaration();const ke=this.forwardNoArrowParamsConversionAt($,()=>{const mt=super.parseMaybeAssign(e,i);return this.resetStartLocationFromNode(mt,$),mt});(Ne=ke.extra)!=null&&Ne.parenthesized&&_e();const Qe=this.maybeUnwrapTypeCastExpression(ke);return Qe.type!=="ArrowFunctionExpression"&&_e(),Qe.typeParameters=$,this.resetStartLocationFromNode(Qe,$),ke},T);let me=null;if(ee.node&&this.maybeUnwrapTypeCastExpression(ee.node).type==="ArrowFunctionExpression"){if(!ee.error&&!ee.aborted)return ee.node.async&&this.raise(je.UnexpectedTypeParameterBeforeAsyncArrowFunction,$),ee.node;me=ee.node}if((L=C)!=null&&L.node)return this.state=C.failState,C.node;if(me)return this.state=ee.failState,me;throw(K=C)!=null&&K.thrown?C.error:ee.thrown?ee.error:this.raise(je.UnexpectedTokenAfterTypeParameter,$)}return super.parseMaybeAssign(e,i)}parseArrow(e){if(this.match(14)){const i=this.tryParse(()=>{const o=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const T=this.startNode();return[T.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=o,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),T});if(i.thrown)return null;i.error&&(this.state=i.failState),e.returnType=i.node.typeAnnotation?this.finishNode(i.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,i){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?e.params=i:super.setArrowFunctionParameters(e,i)}checkParams(e,i,o,T=!0){if(!(o&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start)))){for(let C=0;C<e.params.length;C++)this.isThisParam(e.params[C])&&C>0&&this.raise(je.ThisParamMustBeFirst,e.params[C]);super.checkParams(e,i,o,T)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(e,i,o){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.includes(i.index)){this.next();const T=this.startNodeAt(i);T.callee=e,T.arguments=super.parseCallExpressionArguments(11),e=this.finishNode(T,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(47)){const T=this.state.clone(),C=this.tryParse(K=>this.parseAsyncArrowWithTypeParameters(i)||K(),T);if(!C.error&&!C.aborted)return C.node;const L=this.tryParse(()=>super.parseSubscripts(e,i,o),T);if(L.node&&!L.error)return L.node;if(C.node)return this.state=C.failState,C.node;if(L.node)return this.state=L.failState,L.node;throw C.error||L.error}return super.parseSubscripts(e,i,o)}parseSubscript(e,i,o,T){if(this.match(18)&&this.isLookaheadToken_lt()){if(T.optionalChainMember=!0,o)return T.stop=!0,e;this.next();const C=this.startNodeAt(i);return C.callee=e,C.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),C.arguments=this.parseCallExpressionArguments(11),C.optional=!0,this.finishCallExpression(C,!0)}else if(!o&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){const C=this.startNodeAt(i);C.callee=e;const L=this.tryParse(()=>(C.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),C.arguments=super.parseCallExpressionArguments(11),T.optionalChainMember&&(C.optional=!1),this.finishCallExpression(C,T.optionalChainMember)));if(L.node)return L.error&&(this.state=L.failState),L.node}return super.parseSubscript(e,i,o,T)}parseNewCallee(e){super.parseNewCallee(e);let i=null;this.shouldParseTypes()&&this.match(47)&&(i=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=i}parseAsyncArrowWithTypeParameters(e){const i=this.startNodeAt(e);if(this.parseFunctionParams(i,!1),!!this.parseArrow(i))return super.parseArrowExpression(i,void 0,!0)}readToken_mult_modulo(e){const i=this.input.charCodeAt(this.state.pos+1);if(e===42&&i===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const i=this.input.charCodeAt(this.state.pos+1);if(e===124&&i===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,i){const o=super.parseTopLevel(e,i);return this.state.hasFlowComment&&this.raise(je.UnterminatedFlowComment,this.state.curPosition()),o}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(je.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();const e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){const{pos:e}=this.state;let i=2;for(;[32,9].includes(this.input.charCodeAt(e+i));)i++;const o=this.input.charCodeAt(i+e),T=this.input.charCodeAt(i+e+1);return o===58&&T===58?i+2:this.input.slice(i+e,i+e+12)==="flow-include"?i+12:o===58&&T!==58?i:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(_.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:i,memberName:o}){this.raise(je.EnumBooleanMemberNotInitialized,e,{memberName:o,enumName:i})}flowEnumErrorInvalidMemberInitializer(e,i){return this.raise(i.explicitType?i.explicitType==="symbol"?je.EnumInvalidMemberInitializerSymbolType:je.EnumInvalidMemberInitializerPrimaryType:je.EnumInvalidMemberInitializerUnknownType,e,i)}flowEnumErrorNumberMemberNotInitialized(e,i){this.raise(je.EnumNumberMemberNotInitialized,e,i)}flowEnumErrorStringMemberInconsistentlyInitialized(e,i){this.raise(je.EnumStringMemberInconsistentlyInitialized,e,i)}flowEnumMemberInit(){const e=this.state.startLoc,i=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{const o=this.parseNumericLiteral(this.state.value);return i()?{type:"number",loc:o.loc.start,value:o}:{type:"invalid",loc:e}}case 134:{const o=this.parseStringLiteral(this.state.value);return i()?{type:"string",loc:o.loc.start,value:o}:{type:"invalid",loc:e}}case 85:case 86:{const o=this.parseBooleanLiteral(this.match(85));return i()?{type:"boolean",loc:o.loc.start,value:o}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){const e=this.state.startLoc,i=this.parseIdentifier(!0),o=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e};return{id:i,init:o}}flowEnumCheckExplicitTypeMismatch(e,i,o){const{explicitType:T}=i;T!==null&&T!==o&&this.flowEnumErrorInvalidMemberInitializer(e,i)}flowEnumMembers({enumName:e,explicitType:i}){const o=new Set,T={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let C=!1;for(;!this.match(8);){if(this.eat(21)){C=!0;break}const L=this.startNode(),{id:K,init:$}=this.flowEnumMemberRaw(),ee=K.name;if(ee==="")continue;/^[a-z]/.test(ee)&&this.raise(je.EnumInvalidMemberName,K,{memberName:ee,suggestion:ee[0].toUpperCase()+ee.slice(1),enumName:e}),o.has(ee)&&this.raise(je.EnumDuplicateMemberName,K,{memberName:ee,enumName:e}),o.add(ee);const me={enumName:e,explicitType:i,memberName:ee};switch(L.id=K,$.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch($.loc,me,"boolean"),L.init=$.value,T.booleanMembers.push(this.finishNode(L,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch($.loc,me,"number"),L.init=$.value,T.numberMembers.push(this.finishNode(L,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch($.loc,me,"string"),L.init=$.value,T.stringMembers.push(this.finishNode(L,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer($.loc,me);case"none":switch(i){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized($.loc,me);break;case"number":this.flowEnumErrorNumberMemberNotInitialized($.loc,me);break;default:T.defaultedMembers.push(this.finishNode(L,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:T,hasUnknownMembers:C}}flowEnumStringMembers(e,i,{enumName:o}){if(e.length===0)return i;if(i.length===0)return e;if(i.length>e.length){for(const T of e)this.flowEnumErrorStringMemberInconsistentlyInitialized(T,{enumName:o});return i}else{for(const T of i)this.flowEnumErrorStringMemberInconsistentlyInitialized(T,{enumName:o});return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!ce(this.state.type))throw this.raise(je.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});const{value:i}=this.state;return this.next(),i!=="boolean"&&i!=="number"&&i!=="string"&&i!=="symbol"&&this.raise(je.EnumInvalidExplicitType,this.state.startLoc,{enumName:e,invalidEnumType:i}),i}flowEnumBody(e,i){const o=i.name,T=i.loc.start,C=this.flowEnumParseExplicitType({enumName:o});this.expect(5);const{members:L,hasUnknownMembers:K}=this.flowEnumMembers({enumName:o,explicitType:C});switch(e.hasUnknownMembers=K,C){case"boolean":return e.explicitType=!0,e.members=L.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=L.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(L.stringMembers,L.defaultedMembers,{enumName:o}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=L.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{const $=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;const ee=L.booleanMembers.length,me=L.numberMembers.length,_e=L.stringMembers.length,Ne=L.defaultedMembers.length;if(!ee&&!me&&!_e&&!Ne)return $();if(!ee&&!me)return e.members=this.flowEnumStringMembers(L.stringMembers,L.defaultedMembers,{enumName:o}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!me&&!_e&&ee>=Ne){for(const ke of L.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(ke.loc.start,{enumName:o,memberName:ke.id.name});return e.members=L.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}else if(!ee&&!_e&&me>=Ne){for(const ke of L.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(ke.loc.start,{enumName:o,memberName:ke.id.name});return e.members=L.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}else return this.raise(je.EnumInconsistentMemberValues,T,{enumName:o}),$()}}}flowParseEnumDeclaration(e){const i=this.parseIdentifier();return e.id=i,e.body=this.flowEnumBody(this.startNode(),i),this.finishNode(e,"EnumDeclaration")}jsxParseOpeningElementAfterName(e){return this.shouldParseTypes()&&(this.match(47)||this.match(51))&&(e.typeArguments=this.flowParseTypeParameterInstantiationInExpression()),super.jsxParseOpeningElementAfterName(e)}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const i=this.input.charCodeAt(e+1);return i!==60&&i!==61}return!1}reScan_lt_gt(){const{type:e}=this.state;e===47?(this.state.pos-=1,this.readToken_lt()):e===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:e}=this.state;return e===51?(this.state.pos-=2,this.finishOp(47,1),47):e}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}};const vr={__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:"♦"},Ut=Y`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:x})=>`Expected corresponding JSX closing tag for <${x}>.`,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:x,HTMLEntity:r})=>`Unexpected token \`${x}\`. Did you mean \`${r}\` or \`{'${x}'}\`?`,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 Rt(x){return x?x.type==="JSXOpeningFragment"||x.type==="JSXClosingFragment":!1}function p(x){if(x.type==="JSXIdentifier")return x.name;if(x.type==="JSXNamespacedName")return x.namespace.name+":"+x.name.name;if(x.type==="JSXMemberExpression")return p(x.object)+"."+p(x.property);throw new Error("Node had unexpected type: "+x.type)}var y=x=>class extends x{jsxReadToken(){let e="",i=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Ut.UnterminatedJsxContent,this.state.startLoc);const o=this.input.charCodeAt(this.state.pos);switch(o){case 60:case 123:if(this.state.pos===this.state.start){o===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(o);return}e+=this.input.slice(i,this.state.pos),this.finishToken(142,e);return;case 38:e+=this.input.slice(i,this.state.pos),e+=this.jsxReadEntity(),i=this.state.pos;break;case 62:case 125:default:Lt(o)?(e+=this.input.slice(i,this.state.pos),e+=this.jsxReadNewLine(!0),i=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){const i=this.input.charCodeAt(this.state.pos);let o;return++this.state.pos,i===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,o=e?`
21
- `:`\r
22
- `):o=String.fromCharCode(i),++this.state.curLine,this.state.lineStart=this.state.pos,o}jsxReadString(e){let i="",o=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(_.UnterminatedString,this.state.startLoc);const T=this.input.charCodeAt(this.state.pos);if(T===e)break;T===38?(i+=this.input.slice(o,this.state.pos),i+=this.jsxReadEntity(),o=this.state.pos):Lt(T)?(i+=this.input.slice(o,this.state.pos),i+=this.jsxReadNewLine(!1),o=this.state.pos):++this.state.pos}i+=this.input.slice(o,this.state.pos++),this.finishToken(134,i)}jsxReadEntity(){const e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let i=10;this.codePointAtPos(this.state.pos)===120&&(i=16,++this.state.pos);const o=this.readInt(i,void 0,!1,"bail");if(o!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(o)}else{let i=0,o=!1;for(;i++<10&&this.state.pos<this.length&&!(o=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(o){const T=this.input.slice(e,this.state.pos),C=vr[T];if(++this.state.pos,C)return C}}return this.state.pos=e,"&"}jsxReadWord(){let e;const i=this.state.pos;do e=this.input.charCodeAt(++this.state.pos);while(ot(e)||e===45);this.finishToken(141,this.input.slice(i,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();return this.match(141)?e.name=this.state.value:Et(this.state.type)?e.name=Ee(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.startLoc,i=this.jsxParseIdentifier();if(!this.eat(14))return i;const o=this.startNodeAt(e);return o.namespace=i,o.name=this.jsxParseIdentifier(),this.finishNode(o,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.startLoc;let i=this.jsxParseNamespacedName();if(i.type==="JSXNamespacedName")return i;for(;this.eat(16);){const o=this.startNodeAt(e);o.object=i,o.property=this.jsxParseIdentifier(),i=this.finishNode(o,"JSXMemberExpression")}return i}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(V.brace),this.next(),e=this.jsxParseExpressionContainer(e,V.j_oTag),e.expression.type==="JSXEmptyExpression"&&this.raise(Ut.AttributeIsEmpty,e),e;case 143:case 134:return this.parseExprAtom();default:throw this.raise(Ut.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(V.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,i){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{const o=this.parseExpression();e.expression=o}return this.setContext(i),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();return this.match(5)?(this.setContext(V.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(V.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsxParseOpeningElementAt(e){const i=this.startNodeAt(e);return this.eat(144)?this.finishNode(i,"JSXOpeningFragment"):(i.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(i))}jsxParseOpeningElementAfterName(e){const i=[];for(;!this.match(56)&&!this.match(144);)i.push(this.jsxParseAttribute());return e.attributes=i,e.selfClosing=this.eat(56),this.expect(144),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e){const i=this.startNodeAt(e);return this.eat(144)?this.finishNode(i,"JSXClosingFragment"):(i.name=this.jsxParseElementName(),this.expect(144),this.finishNode(i,"JSXClosingElement"))}jsxParseElementAt(e){const i=this.startNodeAt(e),o=[],T=this.jsxParseOpeningElementAt(e);let C=null;if(!T.selfClosing){e:for(;;)switch(this.state.type){case 143:if(e=this.state.startLoc,this.next(),this.eat(56)){C=this.jsxParseClosingElementAt(e);break e}o.push(this.jsxParseElementAt(e));break;case 142:o.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{const L=this.startNode();this.setContext(V.brace),this.next(),this.match(21)?o.push(this.jsxParseSpreadChild(L)):o.push(this.jsxParseExpressionContainer(L,V.j_expr));break}default:this.unexpected()}Rt(T)&&!Rt(C)&&C!==null?this.raise(Ut.MissingClosingTagFragment,C):!Rt(T)&&Rt(C)?this.raise(Ut.MissingClosingTagElement,C,{openingTagName:p(T.name)}):!Rt(T)&&!Rt(C)&&p(C.name)!==p(T.name)&&this.raise(Ut.MissingClosingTagElement,C,{openingTagName:p(T.name)})}if(Rt(T)?(i.openingFragment=T,i.closingFragment=C):(i.openingElement=T,i.closingElement=C),i.children=o,this.match(47))throw this.raise(Ut.UnwrappedAdjacentJSXElements,this.state.startLoc);return Rt(T)?this.finishNode(i,"JSXFragment"):this.finishNode(i,"JSXElement")}jsxParseElement(){const e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){const{context:i}=this.state;i[i.length-1]=e}parseExprAtom(e){return this.match(143)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(143),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){const i=this.curContext();if(i===V.j_expr){this.jsxReadToken();return}if(i===V.j_oTag||i===V.j_cTag){if($e(e)){this.jsxReadWord();return}if(e===62){++this.state.pos,this.finishToken(144);return}if((e===34||e===39)&&i===V.j_oTag){this.jsxReadString(e);return}}if(e===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(143);return}super.getTokenFromCode(e)}updateContext(e){const{context:i,type:o}=this.state;if(o===56&&e===143)i.splice(-2,2,V.j_cTag),this.state.canStartJSXElement=!1;else if(o===143)i.push(V.j_oTag);else if(o===144){const T=i[i.length-1];T===V.j_oTag&&e===56||T===V.j_cTag?(i.pop(),this.state.canStartJSXElement=i[i.length-1]===V.j_expr):(this.setContext(V.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=Je(o)}};class se extends qt{constructor(...r){super(...r),this.tsNames=new Map}}class Te extends Ht{constructor(...r){super(...r),this.importsStack=[]}createScope(r){return this.importsStack.push(new Set),new se(r)}enter(r){r===256&&this.importsStack.push(new Set),super.enter(r)}exit(){const r=super.exit();return r===256&&this.importsStack.pop(),r}hasImport(r,e){const i=this.importsStack.length;if(this.importsStack[i-1].has(r))return!0;if(!e&&i>1){for(let o=0;o<i-1;o++)if(this.importsStack[o].has(r))return!0}return!1}declareName(r,e,i){if(e&4096){this.hasImport(r,!0)&&this.parser.raise(_.VarRedeclaration,i,{identifierName:r}),this.importsStack[this.importsStack.length-1].add(r);return}const o=this.currentScope();let T=o.tsNames.get(r)||0;if(e&1024){this.maybeExportDefined(o,r),o.tsNames.set(r,T|16);return}super.declareName(r,e,i),e&2&&(e&1||(this.checkRedeclarationInScope(o,r,e,i),this.maybeExportDefined(o,r)),T=T|1),e&256&&(T=T|2),e&512&&(T=T|4),e&128&&(T=T|8),T&&o.tsNames.set(r,T)}isRedeclaredInScope(r,e,i){const o=r.tsNames.get(e);if((o&2)>0){if(i&256){const T=!!(i&512),C=(o&4)>0;return T!==C}return!0}return i&128&&(o&8)>0?r.names.get(e)&2?!!(i&1):!1:i&2&&(o&1)>0?!0:super.isRedeclaredInScope(r,e,i)}checkLocalExport(r){const{name:e}=r;if(this.hasImport(e))return;const i=this.scopeStack.length;for(let o=i-1;o>=0;o--){const C=this.scopeStack[o].tsNames.get(e);if((C&1)>0||(C&16)>0)return}super.checkLocalExport(r)}}const Oe=x=>x.type==="ParenthesizedExpression"?Oe(x.expression):x;class qe extends Jr{toAssignable(r,e=!1){var i,o;let T;switch((r.type==="ParenthesizedExpression"||(i=r.extra)!=null&&i.parenthesized)&&(T=Oe(r),e?T.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(_.InvalidParenthesizedAssignment,r):T.type!=="MemberExpression"&&!this.isOptionalMemberExpression(T)&&this.raise(_.InvalidParenthesizedAssignment,r):this.raise(_.InvalidParenthesizedAssignment,r)),r.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":r.type="ObjectPattern";for(let L=0,K=r.properties.length,$=K-1;L<K;L++){var C;const ee=r.properties[L],me=L===$;this.toAssignableObjectExpressionProp(ee,me,e),me&&ee.type==="RestElement"&&(C=r.extra)!=null&&C.trailingCommaLoc&&this.raise(_.RestTrailingComma,r.extra.trailingCommaLoc)}break;case"ObjectProperty":{const{key:L,value:K}=r;this.isPrivateName(L)&&this.classScope.usePrivateName(this.getPrivateNameSV(L),L.loc.start),this.toAssignable(K,e);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":r.type="ArrayPattern",this.toAssignableList(r.elements,(o=r.extra)==null?void 0:o.trailingCommaLoc,e);break;case"AssignmentExpression":r.operator!=="="&&this.raise(_.MissingEqInAssignment,r.left.loc.end),r.type="AssignmentPattern",delete r.operator,this.toAssignable(r.left,e);break;case"ParenthesizedExpression":this.toAssignable(T,e);break}}toAssignableObjectExpressionProp(r,e,i){if(r.type==="ObjectMethod")this.raise(r.kind==="get"||r.kind==="set"?_.PatternHasAccessor:_.PatternHasMethod,r.key);else if(r.type==="SpreadElement"){r.type="RestElement";const o=r.argument;this.checkToRestConversion(o,!1),this.toAssignable(o,i),e||this.raise(_.RestTrailingComma,r)}else this.toAssignable(r,i)}toAssignableList(r,e,i){const o=r.length-1;for(let T=0;T<=o;T++){const C=r[T];if(C){if(C.type==="SpreadElement"){C.type="RestElement";const L=C.argument;this.checkToRestConversion(L,!0),this.toAssignable(L,i)}else this.toAssignable(C,i);C.type==="RestElement"&&(T<o?this.raise(_.RestTrailingComma,C):e&&this.raise(_.RestTrailingComma,e))}}}isAssignable(r,e){switch(r.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{const i=r.properties.length-1;return r.properties.every((o,T)=>o.type!=="ObjectMethod"&&(T===i||o.type!=="SpreadElement")&&this.isAssignable(o))}case"ObjectProperty":return this.isAssignable(r.value);case"SpreadElement":return this.isAssignable(r.argument);case"ArrayExpression":return r.elements.every(i=>i===null||this.isAssignable(i));case"AssignmentExpression":return r.operator==="=";case"ParenthesizedExpression":return this.isAssignable(r.expression);case"MemberExpression":case"OptionalMemberExpression":return!e;default:return!1}}toReferencedList(r,e){return r}toReferencedListDeep(r,e){this.toReferencedList(r,e);for(const i of r)i?.type==="ArrayExpression"&&this.toReferencedListDeep(i.elements)}parseSpread(r){const e=this.startNode();return this.next(),e.argument=this.parseMaybeAssignAllowIn(r,void 0),this.finishNode(e,"SpreadElement")}parseRestBinding(){const r=this.startNode();return this.next(),r.argument=this.parseBindingAtom(),this.finishNode(r,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const r=this.startNode();return this.next(),r.elements=this.parseBindingList(3,93,1),this.finishNode(r,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(r,e,i){const o=i&1,T=[];let C=!0;for(;!this.eat(r);)if(C?C=!1:this.expect(12),o&&this.match(12))T.push(null);else{if(this.eat(r))break;if(this.match(21)){let L=this.parseRestBinding();if((this.hasPlugin("flow")||i&2)&&(L=this.parseFunctionParamType(L)),T.push(L),!this.checkCommaAfterRest(e)){this.expect(r);break}}else{const L=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(_.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)L.push(this.parseDecorator());T.push(this.parseAssignableListItem(i,L))}}return T}parseBindingRestProperty(r){return this.next(),r.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(r,"RestElement")}parseBindingProperty(){const{type:r,startLoc:e}=this.state;if(r===21)return this.parseBindingRestProperty(this.startNode());const i=this.startNode();return r===139?(this.expectPlugin("destructuringPrivate",e),this.classScope.usePrivateName(this.state.value,e),i.key=this.parsePrivateName()):this.parsePropertyName(i),i.method=!1,this.parseObjPropValue(i,e,!1,!1,!0,!1)}parseAssignableListItem(r,e){const i=this.parseMaybeDefault();(this.hasPlugin("flow")||r&2)&&this.parseFunctionParamType(i);const o=this.parseMaybeDefault(i.loc.start,i);return e.length&&(i.decorators=e),o}parseFunctionParamType(r){return r}parseMaybeDefault(r,e){var i,o;if((i=r)!=null||(r=this.state.startLoc),e=(o=e)!=null?o:this.parseBindingAtom(),!this.eat(29))return e;const T=this.startNodeAt(r);return T.left=e,T.right=this.parseMaybeAssignAllowIn(),this.finishNode(T,"AssignmentPattern")}isValidLVal(r,e,i){switch(r){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties"}return!1}isOptionalMemberExpression(r){return r.type==="OptionalMemberExpression"}checkLVal(r,e,i=64,o=!1,T=!1,C=!1){var L;const K=r.type;if(this.isObjectMethod(r))return;const $=this.isOptionalMemberExpression(r);if($||K==="MemberExpression"){$&&(this.expectPlugin("optionalChainingAssign",r.loc.start),e.type!=="AssignmentExpression"&&this.raise(_.InvalidLhsOptionalChaining,r,{ancestor:e})),i!==64&&this.raise(_.InvalidPropertyBindingPattern,r);return}if(K==="Identifier"){this.checkIdentifier(r,i,T);const{name:Qe}=r;o&&(o.has(Qe)?this.raise(_.ParamDupe,r):o.add(Qe));return}const ee=this.isValidLVal(K,!(C||(L=r.extra)!=null&&L.parenthesized)&&e.type==="AssignmentExpression",i);if(ee===!0)return;if(ee===!1){const Qe=i===64?_.InvalidLhs:_.InvalidLhsBinding;this.raise(Qe,r,{ancestor:e});return}let me,_e;typeof ee=="string"?(me=ee,_e=K==="ParenthesizedExpression"):[me,_e]=ee;const Ne=K==="ArrayPattern"||K==="ObjectPattern"?{type:K}:e,ke=r[me];if(Array.isArray(ke))for(const Qe of ke)Qe&&this.checkLVal(Qe,Ne,i,o,T,_e);else ke&&this.checkLVal(ke,Ne,i,o,T,_e)}checkIdentifier(r,e,i=!1){this.state.strict&&(i?Xt(r.name,this.inModule):Vt(r.name))&&(e===64?this.raise(_.StrictEvalArguments,r,{referenceName:r.name}):this.raise(_.StrictEvalArgumentsBinding,r,{bindingName:r.name})),e&8192&&r.name==="let"&&this.raise(_.LetInLexicalBinding,r),e&64||this.declareNameFromIdentifier(r,e)}declareNameFromIdentifier(r,e){this.scope.declareName(r.name,e,r.loc.start)}checkToRestConversion(r,e){switch(r.type){case"ParenthesizedExpression":this.checkToRestConversion(r.expression,e);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(e)break;default:this.raise(_.InvalidRestAssignmentPattern,r)}}checkCommaAfterRest(r){return this.match(12)?(this.raise(this.lookaheadCharCode()===r?_.RestTrailingComma:_.ElementAfterRest,this.state.startLoc),!0):!1}}function et(x){if(x==null)throw new Error(`Unexpected ${x} value.`);return x}function Ot(x){if(!x)throw new Error("Assert fail")}const Le=Y`typescript`({AbstractMethodHasImplementation:({methodName:x})=>`Method '${x}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:x})=>`Property '${x}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"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:x})=>`'declare' is not allowed in ${x}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:x})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:x})=>`Duplicate modifier: '${x}'.`,EmptyHeritageClauseType:({token:x})=>`'${x}' 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:x})=>`'${x[0]}' modifier cannot be used with '${x[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:x})=>`Index signatures cannot have an accessibility modifier ('${x}').`,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:x})=>`'${x}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:x})=>`'${x}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:x})=>`'${x}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:x})=>`'${x[0]}' modifier must precede '${x[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.",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:x})=>`Private elements cannot have an accessibility modifier ('${x}').`,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.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:x})=>`Single type parameter ${x} should have a trailing comma. Example usage: <${x},>.`,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:x})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${x}.`});function Lr(x){switch(x){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 wr(x){return x==="private"||x==="public"||x==="protected"}function Ti(x){return x==="in"||x==="out"}var yi=x=>class extends x{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Le.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Le.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Le.InvalidModifierOnTypeParameter})}getScopeHandler(){return Te}tsIsIdentifier(){return ce(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),this.hasPrecedingLineBreak()?!1:this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(e,i){if(!ce(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;const o=this.state.value;if(e.includes(o)){if(i&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return o}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:i,stopOnStartOfClassStaticBlock:o,errorTemplate:T=Le.InvalidModifierOnTypeMember},C){const L=($,ee,me,_e)=>{ee===me&&C[_e]&&this.raise(Le.InvalidModifiersOrder,$,{orderedModifiers:[me,_e]})},K=($,ee,me,_e)=>{(C[me]&&ee===_e||C[_e]&&ee===me)&&this.raise(Le.IncompatibleModifiers,$,{modifiers:[me,_e]})};for(;;){const{startLoc:$}=this.state,ee=this.tsParseModifier(e.concat(i??[]),o);if(!ee)break;wr(ee)?C.accessibility?this.raise(Le.DuplicateAccessibilityModifier,$,{modifier:ee}):(L($,ee,ee,"override"),L($,ee,ee,"static"),L($,ee,ee,"readonly"),C.accessibility=ee):Ti(ee)?(C[ee]&&this.raise(Le.DuplicateModifier,$,{modifier:ee}),C[ee]=!0,L($,ee,"in","out")):(hasOwnProperty.call(C,ee)?this.raise(Le.DuplicateModifier,$,{modifier:ee}):(L($,ee,"static","readonly"),L($,ee,"static","override"),L($,ee,"override","readonly"),L($,ee,"abstract","override"),K($,ee,"declare","override"),K($,ee,"static","abstract")),C[ee]=!0),i!=null&&i.includes(ee)&&this.raise(T,$,{modifier:ee})}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(e,i){const o=[];for(;!this.tsIsListTerminator(e);)o.push(i());return o}tsParseDelimitedList(e,i,o){return et(this.tsParseDelimitedListWorker(e,i,!0,o))}tsParseDelimitedListWorker(e,i,o,T){const C=[];let L=-1;for(;!this.tsIsListTerminator(e);){L=-1;const K=i();if(K==null)return;if(C.push(K),this.eat(12)){L=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(e))break;o&&this.expect(12);return}return T&&(T.value=L),C}tsParseBracketedList(e,i,o,T,C){T||(o?this.expect(0):this.expect(47));const L=this.tsParseDelimitedList(e,i,C);return o?this.expect(3):this.expect(48),L}tsParseImportType(){const e=this.startNode();return this.expect(83),this.expect(10),this.match(134)?e.argument=this.parseStringLiteral(this.state.value):(this.raise(Le.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=super.parseExprAtom()),this.eat(12)&&!this.match(11)?(e.options=super.parseMaybeAssignAllowIn(),this.eat(12)):e.options=null,this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName(3)),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e){let i;if(e&1&&this.match(78))if(e&2)i=this.parseIdentifier(!0);else{const o=this.startNode();this.next(),i=this.finishNode(o,"ThisExpression")}else i=this.parseIdentifier(!!(e&1));for(;this.eat(16);){const o=this.startNodeAtNode(i);o.left=i,o.right=this.parseIdentifier(!!(e&1)),i=this.finishNode(o,"TSQualifiedName")}return i}tsParseTypeReference(){const e=this.startNode();return e.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const i=this.startNodeAtNode(e);return i.parameterName=e,i.typeAnnotation=this.tsParseTypeAnnotation(!1),i.asserts=!1,this.finishNode(i,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(3),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){const i=this.startNode();return e(i),i.name=this.tsParseTypeParameterName(),i.constraint=this.tsEatThenParseType(81),i.default=this.tsEatThenParseType(29),this.finishNode(i,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){const i=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();const o={value:-1};return i.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,o),i.params.length===0&&this.raise(Le.EmptyTypeParameters,i),o.value!==-1&&this.addExtra(i,"trailingComma",o.value),this.finishNode(i,"TSTypeParameterDeclaration")}tsFillSignature(e,i){const o=e===19,T="parameters",C="typeAnnotation";i.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),i[T]=this.tsParseBindingListForSignature(),o?i[C]=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(i[C]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){const e=super.parseBindingList(11,41,2);for(const i of e){const{type:o}=i;(o==="AssignmentPattern"||o==="TSParameterProperty")&&this.raise(Le.UnsupportedSignatureParameterKind,i,{type:o})}return e}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,i){return this.tsFillSignature(14,i),this.tsParseTypeMemberSemicolon(),this.finishNode(i,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),ce(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);const i=this.parseIdentifier();i.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(i),this.expect(3),e.parameters=[i];const o=this.tsTryParseTypeAnnotation();return o&&(e.typeAnnotation=o),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,i){this.eat(17)&&(e.optional=!0);const o=e;if(this.match(10)||this.match(47)){i&&this.raise(Le.ReadonlyForMethodSignature,e);const T=o;T.kind&&this.match(47)&&this.raise(Le.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,T),this.tsParseTypeMemberSemicolon();const C="parameters",L="typeAnnotation";if(T.kind==="get")T[C].length>0&&(this.raise(_.BadGetterArity,this.state.curPosition()),this.isThisParam(T[C][0])&&this.raise(Le.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(T.kind==="set"){if(T[C].length!==1)this.raise(_.BadSetterArity,this.state.curPosition());else{const K=T[C][0];this.isThisParam(K)&&this.raise(Le.AccessorCannotDeclareThisParameter,this.state.curPosition()),K.type==="Identifier"&&K.optional&&this.raise(Le.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),K.type==="RestElement"&&this.raise(Le.SetAccessorCannotHaveRestParameter,this.state.curPosition())}T[L]&&this.raise(Le.SetAccessorCannotHaveReturnType,T[L])}else T.kind="method";return this.finishNode(T,"TSMethodSignature")}else{const T=o;i&&(T.readonly=!0);const C=this.tsTryParseTypeAnnotation();return C&&(T.typeAnnotation=C),this.tsParseTypeMemberSemicolon(),this.finishNode(T,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){const o=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(o,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);const i=this.tsTryParseIndexSignature(e);return i||(super.parsePropertyName(e),!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){const e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedType(){const e=this.startNode();this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0);{const i=this.startNode();i.name=this.tsParseTypeParameterName(),i.constraint=this.tsExpectThenParseType(58),e.typeParameter=this.finishNode(i,"TSTypeParameter")}return e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let i=!1;return e.elementTypes.forEach(o=>{const{type:T}=o;i&&T!=="TSRestType"&&T!=="TSOptionalType"&&!(T==="TSNamedTupleMember"&&o.optional)&&this.raise(Le.OptionalTypeBeforeRequired,o),i||(i=T==="TSNamedTupleMember"&&o.optional||T==="TSOptionalType")}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const e=this.state.startLoc,i=this.eat(21),{startLoc:o}=this.state;let T,C,L,K;const ee=fe(this.state.type)?this.lookaheadCharCode():null;if(ee===58)T=!0,L=!1,C=this.parseIdentifier(!0),this.expect(14),K=this.tsParseType();else if(ee===63){L=!0;const me=this.state.value,_e=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(T=!0,C=this.createIdentifier(this.startNodeAt(o),me),this.expect(17),this.expect(14),K=this.tsParseType()):(T=!1,K=_e,this.expect(17))}else K=this.tsParseType(),L=this.eat(17),T=this.eat(14);if(T){let me;C?(me=this.startNodeAt(o),me.optional=L,me.label=C,me.elementType=K,this.eat(17)&&(me.optional=!0,this.raise(Le.TupleOptionalAfterType,this.state.lastTokStartLoc))):(me=this.startNodeAt(o),me.optional=L,this.raise(Le.InvalidTupleMemberLabel,K),me.label=K,me.elementType=this.tsParseType()),K=this.finishNode(me,"TSNamedTupleMember")}else if(L){const me=this.startNodeAt(o);me.typeAnnotation=K,K=this.finishNode(me,"TSOptionalType")}if(i){const me=this.startNodeAt(e);me.typeAnnotation=K,K=this.finishNode(me,"TSRestType")}return K}tsParseParenthesizedType(){const e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,i){const o=this.startNode();return e==="TSConstructorType"&&(o.abstract=!!i,i&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,o)),this.finishNode(o,e)}tsParseLiteralTypeNode(){const e=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){{const e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const e=this.startNode(),i=this.lookahead();return i.type!==135&&i.type!==136&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(ce(e)||e===88||e===84){const i=e===88?"TSVoidKeyword":e===84?"TSNullKeyword":Lr(this.state.value);if(i!==void 0&&this.lookaheadCharCode()!==46){const o=this.startNode();return this.next(),this.finishNode(o,i)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){const{startLoc:e}=this.state;let i=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const o=this.startNodeAt(e);o.elementType=i,this.expect(3),i=this.finishNode(o,"TSArrayType")}else{const o=this.startNodeAt(e);o.objectType=i,o.indexType=this.tsParseType(),this.expect(3),i=this.finishNode(o,"TSIndexedAccessType")}return i}tsParseTypeOperator(){const e=this.startNode(),i=this.state.value;return this.next(),e.operator=i,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),i==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Le.UnexpectedReadonly,e)}}tsParseInferType(){const e=this.startNode();this.expectContextual(115);const i=this.startNode();return i.name=this.tsParseTypeParameterName(),i.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(i,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return It(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,i,o){const T=this.startNode(),C=this.eat(o),L=[];do L.push(i());while(this.eat(o));return L.length===1&&!C?L[0]:(T.types=L,this.finishNode(T,e))}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(ce(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:e}=this.state,i=e.length;try{return this.parseObjectLike(8,!0),e.length===i}catch{return!1}}if(this.match(0)){this.next();const{errors:e}=this.state,i=e.length;try{return super.parseBindingList(3,93,1),e.length===i}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const i=this.startNode();this.expect(e);const o=this.startNode(),T=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(T&&this.match(78)){let K=this.tsParseThisTypeOrThisTypePredicate();return K.type==="TSThisType"?(o.parameterName=K,o.asserts=!0,o.typeAnnotation=null,K=this.finishNode(o,"TSTypePredicate")):(this.resetStartLocationFromNode(K,o),K.asserts=!0),i.typeAnnotation=K,this.finishNode(i,"TSTypeAnnotation")}const C=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!C)return T?(o.parameterName=this.parseIdentifier(),o.asserts=T,o.typeAnnotation=null,i.typeAnnotation=this.finishNode(o,"TSTypePredicate"),this.finishNode(i,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,i);const L=this.tsParseTypeAnnotation(!1);return o.parameterName=C,o.typeAnnotation=L,o.asserts=T,i.typeAnnotation=this.finishNode(o,"TSTypePredicate"),this.finishNode(i,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;const e=this.state.containsEsc;return this.next(),!ce(this.state.type)&&!this.match(78)?!1:(e&&this.raise(_.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(e=!0,i=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),i.typeAnnotation=this.tsParseType()}),this.finishNode(i,"TSTypeAnnotation")}tsParseType(){Ot(this.state.inType);const e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;const i=this.startNodeAtNode(e);return i.checkType=e,i.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),i.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),i.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(i,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&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(Le.ReservedTypeAssertion,this.state.startLoc);const e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const i=this.state.startLoc,o=this.tsParseDelimitedList("HeritageClauseElement",()=>{const T=this.startNode();return T.expression=this.tsParseEntityName(3),this.match(47)&&(T.typeParameters=this.tsParseTypeArguments()),this.finishNode(T,"TSExpressionWithTypeArguments")});return o.length||this.raise(Le.EmptyHeritageClauseType,i,{token:e}),o}tsParseInterfaceDeclaration(e,i={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),i.declare&&(e.declare=!0),ce(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(Le.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));const o=this.startNode();return o.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(o,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){const i=this.startNode();return this.next(),this.finishNode(i,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInTopLevelContext(e){if(this.curContext()!==V.brace){const i=this.state.context;this.state.context=[i[0]];try{return e()}finally{this.state.context=i}}else return e()}tsInType(e){const i=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=i}}tsInDisallowConditionalTypesContext(e){const i=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=i}}tsInAllowConditionalTypesContext(e){const i=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=i}}tsEatThenParseType(e){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType(()=>(this.expect(e),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){const e=this.startNode();return e.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,i={}){return i.const&&(e.const=!0),i.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseEnumBody(){const e=this.startNode();return this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumBody")}tsParseModuleBlock(){const e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,i=!1){if(e.id=this.parseIdentifier(),i||this.checkIdentifier(e.id,1024),this.eat(16)){const o=this.startNode();this.tsParseModuleOrNamespaceDeclaration(o,!0),e.body=o}else this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(112)?(e.kind="global",e.global=!0,e.id=this.parseIdentifier()):this.match(134)?(e.kind="module",e.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,i,o){e.isExport=o||!1,e.id=i||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);const T=this.tsParseModuleReference();return e.importKind==="type"&&T.type!=="TSExternalModuleReference"&&this.raise(Le.ImportAliasHasImportType,T),e.moduleReference=T,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){const e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const i=this.state.clone(),o=e();return this.state=i,o}tsTryParseAndCatch(e){const i=this.tryParse(o=>e()||o());if(!(i.aborted||!i.node))return i.error&&(this.state=i.failState),i.node}tsTryParse(e){const i=this.state.clone(),o=e();if(o!==void 0&&o!==!1)return o;this.state=i}tsTryParseDeclare(e){if(this.isLineTerminator())return;let i=this.state.type,o;return this.isContextual(100)&&(i=74,o="let"),this.tsInAmbientContext(()=>{switch(i){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 126:return this.tsParseEnumDeclaration(e,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(e);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(e.declare=!0,this.parseVarStatement(e,o||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0}));case 129:{const T=this.tsParseInterfaceDeclaration(e,{declare:!0});if(T)return T}default:if(ce(i))return this.tsParseDeclaration(e,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,i,o){switch(i.name){case"declare":{const T=this.tsTryParseDeclare(e);return T&&(T.declare=!0),T}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);const T=e;return T.kind="global",e.global=!0,T.id=i,T.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(T,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,i.name,!1,o)}}tsParseDeclaration(e,i,o,T){switch(i){case"abstract":if(this.tsCheckLineTerminator(o)&&(this.match(80)||ce(this.state.type)))return this.tsParseAbstractDeclaration(e,T);break;case"module":if(this.tsCheckLineTerminator(o)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(e);if(ce(this.state.type))return e.kind="module",this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(o)&&ce(this.state.type))return e.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(o)&&ce(this.state.type))return this.tsParseTypeAliasDeclaration(e);break}}tsCheckLineTerminator(e){return e?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;const i=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const o=this.tsTryParseAndCatch(()=>{const T=this.startNodeAt(e);return T.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(T),T.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),T});if(this.state.maybeInArrowParameters=i,!!o)return super.parseArrowExpression(o,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){const e=this.startNode();return e.params=this.tsInType(()=>this.tsInTopLevelContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),e.params.length===0?this.raise(Le.EmptyTypeArguments,e):!this.state.inType&&this.curContext()===V.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return de(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(e,i){const o=this.state.startLoc,T={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},T);const C=T.accessibility,L=T.override,K=T.readonly;!(e&4)&&(C||K||L)&&this.raise(Le.UnexpectedParameterModifier,o);const $=this.parseMaybeDefault();e&2&&this.parseFunctionParamType($);const ee=this.parseMaybeDefault($.loc.start,$);if(C||K||L){const me=this.startNodeAt(o);return i.length&&(me.decorators=i),C&&(me.accessibility=C),K&&(me.readonly=K),L&&(me.override=L),ee.type!=="Identifier"&&ee.type!=="AssignmentPattern"&&this.raise(Le.UnsupportedParameterPropertyKind,me),me.parameter=ee,this.finishNode(me,"TSParameterProperty")}return i.length&&($.decorators=i),ee}isSimpleParameter(e){return e.type==="TSParameterProperty"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(const i of e.params)i.type!=="Identifier"&&i.optional&&!this.state.isAmbientContext&&this.raise(Le.PatternIsOptional,i)}setArrowFunctionParameters(e,i,o){super.setArrowFunctionParameters(e,i,o),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,i,o=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const T=i==="FunctionDeclaration"?"TSDeclareFunction":i==="ClassMethod"||i==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return T&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,T):T==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(Le.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,T,o):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,i,o))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(i=>{i?.type==="TSTypeCastExpression"&&this.raise(Le.UnexpectedTypeAnnotation,i.typeAnnotation)})}toReferencedList(e,i){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,i,o,T){const C=super.parseArrayLike(e,i,o,T);return C.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(C.elements),C}parseSubscript(e,i,o,T){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const L=this.startNodeAt(i);return L.expression=e,this.finishNode(L,"TSNonNullExpression")}let C=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(o)return T.stop=!0,e;T.optionalChainMember=C=!0,this.next()}if(this.match(47)||this.match(51)){let L;const K=this.tsTryParseAndCatch(()=>{if(!o&&this.atPossibleAsyncArrow(e)){const _e=this.tsTryParseGenericAsyncArrowFunction(i);if(_e)return _e}const $=this.tsParseTypeArgumentsInExpression();if(!$)return;if(C&&!this.match(10)){L=this.state.curPosition();return}if(Fe(this.state.type)){const _e=super.parseTaggedTemplateExpression(e,i,T);return _e.typeParameters=$,_e}if(!o&&this.eat(10)){const _e=this.startNodeAt(i);return _e.callee=e,_e.arguments=this.parseCallExpressionArguments(11),this.tsCheckForInvalidTypeCasts(_e.arguments),_e.typeParameters=$,T.optionalChainMember&&(_e.optional=C),this.finishCallExpression(_e,T.optionalChainMember)}const ee=this.state.type;if(ee===48||ee===52||ee!==10&&it(ee)&&!this.hasPrecedingLineBreak())return;const me=this.startNodeAt(i);return me.expression=e,me.typeParameters=$,this.finishNode(me,"TSInstantiationExpression")});if(L&&this.unexpected(L,10),K)return K.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(Le.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),K}return super.parseSubscript(e,i,o,T)}parseNewCallee(e){var i;super.parseNewCallee(e);const{callee:o}=e;o.type==="TSInstantiationExpression"&&!((i=o.extra)!=null&&i.parenthesized)&&(e.typeParameters=o.typeParameters,e.callee=o.expression)}parseExprOp(e,i,o){let T;if(Ae(58)>o&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(T=this.isContextual(120)))){const C=this.startNodeAt(i);return C.expression=e,C.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(T&&this.raise(_.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(C,T?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(C,i,o)}return super.parseExprOp(e,i,o)}checkReservedWord(e,i,o,T){this.state.isAmbientContext||super.checkReservedWord(e,i,o,T)}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!=="value"&&this.raise(Le.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){const i=this.lookaheadCharCode();return e?i===123||i===42:i!==61}return!e&&this.isContextual(87)}applyImportPhase(e,i,o,T){super.applyImportPhase(e,i,o,T),i?e.exportKind=o==="type"?"type":"value":e.importKind=o==="type"||o==="typeof"?o:"value"}parseImport(e){if(this.match(134))return e.importKind="value",super.parseImport(e);let i;if(ce(this.state.type)&&this.lookaheadCharCode()===61)return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){const o=this.parseMaybeImportPhase(e,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(e,o);i=super.parseImportSpecifiersAndAfter(e,o)}else i=super.parseImport(e);return i.importKind==="type"&&i.specifiers.length>1&&i.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(Le.TypeImportCannotSpecifyDefaultAndNamed,i),i}parseExport(e,i){if(this.match(83)){const o=e;this.next();let T=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?T=this.parseMaybeImportPhase(o,!1):o.importKind="value",this.tsParseImportEqualsDeclaration(o,T,!0)}else if(this.eat(29)){const o=e;return o.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(o,"TSExportAssignment")}else if(this.eatContextual(93)){const o=e;return this.expectContextual(128),o.id=this.parseIdentifier(),this.semicolon(),this.finishNode(o,"TSNamespaceExportDeclaration")}else return super.parseExport(e,i)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(129)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,i,o=!1){const{isAmbientContext:T}=this.state,C=super.parseVarStatement(e,i,o||T);if(!T)return C;for(const{id:L,init:K}of C.declarations)K&&(i!=="const"||L.typeAnnotation?this.raise(Le.InitializerNotAllowedInAmbientContext,K):bi(K,this.hasPlugin("estree"))||this.raise(Le.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,K));return C}parseStatementContent(e,i){if(this.match(75)&&this.isLookaheadContextual("enum")){const o=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(o,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){const o=this.tsParseInterfaceDeclaration(this.startNode());if(o)return o}return super.parseStatementContent(e,i)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,i){return i.some(o=>wr(o)?e.accessibility===o:!!e[o])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(e,i,o){const T=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:T,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Le.InvalidModifierOnTypeParameterPositions},i);const C=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(i,T)&&this.raise(Le.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(e,i)):this.parseClassMemberWithIsStatic(e,i,o,!!i.static)};i.declare?this.tsInAmbientContext(C):C()}parseClassMemberWithIsStatic(e,i,o,T){const C=this.tsTryParseIndexSignature(i);if(C){e.body.push(C),i.abstract&&this.raise(Le.IndexSignatureHasAbstract,i),i.accessibility&&this.raise(Le.IndexSignatureHasAccessibility,i,{modifier:i.accessibility}),i.declare&&this.raise(Le.IndexSignatureHasDeclare,i),i.override&&this.raise(Le.IndexSignatureHasOverride,i);return}!this.state.inAbstractClass&&i.abstract&&this.raise(Le.NonAbstractClassHasAbstractMethod,i),i.override&&(o.hadSuperClass||this.raise(Le.OverrideNotInSubClass,i)),super.parseClassMemberWithIsStatic(e,i,o,T)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(Le.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(Le.ClassMethodHasDeclare,e)}parseExpressionStatement(e,i,o){return(i.type==="Identifier"?this.tsParseExpressionStatement(e,i,o):void 0)||super.parseExpressionStatement(e,i,o)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(e,i,o){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,i,o);const T=this.tryParse(()=>super.parseConditional(e,i));return T.node?(T.error&&(this.state=T.failState),T.node):(T.error&&super.setOptionalParametersError(o,T.error),e)}parseParenItem(e,i){const o=super.parseParenItem(e,i);if(this.eat(17)&&(o.optional=!0,this.resetEndLocation(e)),this.match(14)){const T=this.startNodeAt(i);return T.expression=e,T.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(T,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));const i=this.state.startLoc,o=this.eatContextual(125);if(o&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(Le.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const C=ce(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return C?((C.type==="TSInterfaceDeclaration"||C.type==="TSTypeAliasDeclaration"||o)&&(e.exportKind="type"),o&&C.type!=="TSImportEqualsDeclaration"&&(this.resetStartLocation(C,i),C.declare=!0),C):null}parseClassId(e,i,o,T){if((!i||o)&&this.isContextual(113))return;super.parseClassId(e,i,o,e.declare?1024:8331);const C=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);C&&(e.typeParameters=C)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));const i=this.tsTryParseTypeAnnotation();i&&(e.typeAnnotation=i)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(Le.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){const{key:i}=e;this.raise(Le.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:i.type==="Identifier"&&!e.computed?i.name:`[${this.input.slice(this.offsetToSourcePos(i.start),this.offsetToSourcePos(i.end))}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(Le.PrivateElementHasAbstract,e),e.accessibility&&this.raise(Le.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(Le.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,i,o,T,C,L){const K=this.tsTryParseTypeParameters(this.tsParseConstModifier);K&&C&&this.raise(Le.ConstructorHasTypeParameters,K);const{declare:$=!1,kind:ee}=i;$&&(ee==="get"||ee==="set")&&this.raise(Le.DeclareAccessor,i,{kind:ee}),K&&(i.typeParameters=K),super.pushClassMethod(e,i,o,T,C,L)}pushClassPrivateMethod(e,i,o,T){const C=this.tsTryParseTypeParameters(this.tsParseConstModifier);C&&(i.typeParameters=C),super.pushClassPrivateMethod(e,i,o,T)}declareClassPrivateMethodInScope(e,i){e.type!=="TSDeclareMethod"&&(e.type==="MethodDefinition"&&!hasOwnProperty.call(e.value,"body")||super.declareClassPrivateMethodInScope(e,i))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,i,o,T,C,L,K){const $=this.tsTryParseTypeParameters(this.tsParseConstModifier);return $&&(e.typeParameters=$),super.parseObjPropValue(e,i,o,T,C,L,K)}parseFunctionParams(e,i){const o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&(e.typeParameters=o),super.parseFunctionParams(e,i)}parseVarId(e,i){super.parseVarId(e,i),e.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);const o=this.tsTryParseTypeAnnotation();o&&(e.id.typeAnnotation=o,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,i){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,i)}parseMaybeAssign(e,i){var o,T,C,L,K;let $,ee,me;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if($=this.state.clone(),ee=this.tryParse(()=>super.parseMaybeAssign(e,i),$),!ee.error)return ee.node;const{context:ke}=this.state,Qe=ke[ke.length-1];(Qe===V.j_oTag||Qe===V.j_expr)&&ke.pop()}if(!((o=ee)!=null&&o.error)&&!this.match(47))return super.parseMaybeAssign(e,i);(!$||$===this.state)&&($=this.state.clone());let _e;const Ne=this.tryParse(ke=>{var Qe,mt;_e=this.tsParseTypeParameters(this.tsParseConstModifier);const Ze=super.parseMaybeAssign(e,i);return(Ze.type!=="ArrowFunctionExpression"||(Qe=Ze.extra)!=null&&Qe.parenthesized)&&ke(),((mt=_e)==null?void 0:mt.params.length)!==0&&this.resetStartLocationFromNode(Ze,_e),Ze.typeParameters=_e,Ze},$);if(!Ne.error&&!Ne.aborted)return _e&&this.reportReservedArrowTypeParam(_e),Ne.node;if(!ee&&(Ot(!this.hasPlugin("jsx")),me=this.tryParse(()=>super.parseMaybeAssign(e,i),$),!me.error))return me.node;if((T=ee)!=null&&T.node)return this.state=ee.failState,ee.node;if(Ne.node)return this.state=Ne.failState,_e&&this.reportReservedArrowTypeParam(_e),Ne.node;if((C=me)!=null&&C.node)return this.state=me.failState,me.node;throw((L=ee)==null?void 0:L.error)||Ne.error||((K=me)==null?void 0:K.error)}reportReservedArrowTypeParam(e){var i;e.params.length===1&&!e.params[0].constraint&&!((i=e.extra)!=null&&i.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Le.ReservedArrowTypeParam,e)}parseMaybeUnary(e,i){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,i)}parseArrow(e){if(this.match(14)){const i=this.tryParse(o=>{const T=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&o(),T});if(i.aborted)return;i.thrown||(i.error&&(this.state=i.failState),e.returnType=i.node)}return super.parseArrow(e)}parseFunctionParamType(e){this.eat(17)&&(e.optional=!0);const i=this.tsTryParseTypeAnnotation();return i&&(e.typeAnnotation=i),this.resetEndLocation(e),e}isAssignable(e,i){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,i);case"TSParameterProperty":return!0;default:return super.isAssignable(e,i)}}toAssignable(e,i=!1){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,i);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":i?this.expressionScope.recordArrowParameterBindingError(Le.UnexpectedTypeCastInParameter,e):this.raise(Le.UnexpectedTypeCastInParameter,e),this.toAssignable(e.expression,i);break;case"AssignmentExpression":!i&&e.left.type==="TSTypeCastExpression"&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,i)}}toAssignableParenthesizedExpression(e,i){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,i);break;default:super.toAssignable(e,i)}}checkToRestConversion(e,i){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,i)}}isValidLVal(e,i,o){switch(e){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":case"TSInstantiationExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(o!==64||!i)&&["expression",!0];default:return super.isValidLVal(e,i,o)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e,i){if(this.match(47)||this.match(51)){const o=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const T=super.parseMaybeDecoratorArguments(e,i);return T.typeParameters=o,T}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e,i)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,i){const o=super.parseMaybeDefault(e,i);return o.type==="AssignmentPattern"&&o.typeAnnotation&&o.right.start<o.typeAnnotation.start&&this.raise(Le.TypeAnnotationAfterAssign,o.typeAnnotation),o}getTokenFromCode(e){if(this.state.inType){if(e===62){this.finishOp(48,1);return}if(e===60){this.finishOp(47,1);return}}super.getTokenFromCode(e)}reScan_lt_gt(){const{type:e}=this.state;e===47?(this.state.pos-=1,this.readToken_lt()):e===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:e}=this.state;return e===51?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableList(e,i,o){for(let T=0;T<e.length;T++){const C=e[T];C?.type==="TSTypeCastExpression"&&(e[T]=this.typeCastToParameter(C))}super.toAssignableList(e,i,o)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every(i=>this.isAssignable(i,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){const i=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());i&&(e.typeParameters=i)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const i=super.getGetterSetterExpectedParamCount(e),T=this.getObjectOrClassMethodParams(e)[0];return T&&this.isThisParam(T)?i+1:i}parseCatchClauseParam(){const e=super.parseCatchClauseParam(),i=this.tsTryParseTypeAnnotation();return i&&(e.typeAnnotation=i,this.resetEndLocation(e)),e}tsInAmbientContext(e){const{isAmbientContext:i,strict:o}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return e()}finally{this.state.isAmbientContext=i,this.state.strict=o}}parseClass(e,i,o){const T=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,i,o)}finally{this.state.inAbstractClass=T}}tsParseAbstractDeclaration(e,i){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(i,this.parseClass(e,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(Le.NonClassMethodPropertyHasAbstractModifer,e),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,i,o,T,C,L,K){const $=super.parseMethod(e,i,o,T,C,L,K);if($.abstract&&(this.hasPlugin("estree")?$.value:$).body){const{key:_e}=$;this.raise(Le.AbstractMethodHasImplementation,$,{methodName:_e.type==="Identifier"&&!$.computed?_e.name:`[${this.input.slice(this.offsetToSourcePos(_e.start),this.offsetToSourcePos(_e.end))}]`})}return $}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,i,o,T){return!i&&T?(this.parseTypeOnlyImportExportSpecifier(e,!1,o),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,i,o,T))}parseImportSpecifier(e,i,o,T,C){return!i&&T?(this.parseTypeOnlyImportExportSpecifier(e,!0,o),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,i,o,T,o?4098:4096))}parseTypeOnlyImportExportSpecifier(e,i,o){const T=i?"imported":"local",C=i?"local":"exported";let L=e[T],K,$=!1,ee=!0;const me=L.loc.start;if(this.isContextual(93)){const Ne=this.parseIdentifier();if(this.isContextual(93)){const ke=this.parseIdentifier();fe(this.state.type)?($=!0,L=Ne,K=i?this.parseIdentifier():this.parseModuleExportName(),ee=!1):(K=ke,ee=!1)}else fe(this.state.type)?(ee=!1,K=i?this.parseIdentifier():this.parseModuleExportName()):($=!0,L=Ne)}else fe(this.state.type)&&($=!0,i?(L=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(L.name,L.loc.start,!0,!0)):L=this.parseModuleExportName());$&&o&&this.raise(i?Le.TypeModifierIsUsedInTypeImports:Le.TypeModifierIsUsedInTypeExports,me),e[T]=L,e[C]=K;const _e=i?"importKind":"exportKind";e[_e]=$?"type":"value",ee&&this.eatContextual(93)&&(e[C]=i?this.parseIdentifier():this.parseModuleExportName()),e[C]||(e[C]=xt(e[T])),i&&this.checkIdentifier(e[C],$?4098:4096)}};function Ei(x){if(x.type!=="MemberExpression")return!1;const{computed:r,property:e}=x;return r&&e.type!=="StringLiteral"&&(e.type!=="TemplateLiteral"||e.expressions.length>0)?!1:ai(x.object)}function bi(x,r){var e;const{type:i}=x;if((e=x.extra)!=null&&e.parenthesized)return!1;if(r){if(i==="Literal"){const{value:o}=x;if(typeof o=="string"||typeof o=="boolean")return!0}}else if(i==="StringLiteral"||i==="BooleanLiteral")return!0;return!!(ni(x,r)||Si(x,r)||i==="TemplateLiteral"&&x.expressions.length===0||Ei(x))}function ni(x,r){return r?x.type==="Literal"&&(typeof x.value=="number"||"bigint"in x):x.type==="NumericLiteral"||x.type==="BigIntLiteral"}function Si(x,r){if(x.type==="UnaryExpression"){const{operator:e,argument:i}=x;if(e==="-"&&ni(i,r))return!0}return!1}function ai(x){return x.type==="Identifier"?!0:x.type!=="MemberExpression"||x.computed?!1:ai(x.object)}const oi=Y`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});var Ai=x=>class extends x{parsePlaceholder(e){if(this.match(133)){const i=this.startNode();return this.next(),this.assertNoSpace(),i.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(i,e)}}finishPlaceholder(e,i){let o=e;return(!o.expectedNode||!o.type)&&(o=this.finishNode(o,"Placeholder")),o.expectedNode=i,o}getTokenFromCode(e){e===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,i,o,T){e!==void 0&&super.checkReservedWord(e,i,o,T)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,i,o){return e==="Placeholder"||super.isValidLVal(e,i,o)}toAssignable(e,i){e&&e.type==="Placeholder"&&e.expectedNode==="Expression"?e.expectedNode="Pattern":super.toAssignable(e,i)}chStartsBindingIdentifier(e,i){return!!(super.chStartsBindingIdentifier(e,i)||this.lookahead().type===133)}verifyBreakContinue(e,i){e.label&&e.label.type==="Placeholder"||super.verifyBreakContinue(e,i)}parseExpressionStatement(e,i){var o;if(i.type!=="Placeholder"||(o=i.extra)!=null&&o.parenthesized)return super.parseExpressionStatement(e,i);if(this.match(14)){const C=e;return C.label=this.finishPlaceholder(i,"Identifier"),this.next(),C.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(C,"LabeledStatement")}this.semicolon();const T=e;return T.name=i.name,this.finishPlaceholder(T,"Statement")}parseBlock(e,i,o){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,i,o)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,i,o){const T=i?"ClassDeclaration":"ClassExpression";this.next();const C=this.state.strict,L=this.parsePlaceholder("Identifier");if(L)if(this.match(81)||this.match(133)||this.match(5))e.id=L;else{if(o||!i)return e.id=null,e.body=this.finishPlaceholder(L,"ClassBody"),this.finishNode(e,T);throw this.raise(oi.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(e,i,o);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,C),this.finishNode(e,T)}parseExport(e,i){const o=this.parsePlaceholder("Identifier");if(!o)return super.parseExport(e,i);const T=e;if(!this.isContextual(98)&&!this.match(12))return T.specifiers=[],T.source=null,T.declaration=this.finishPlaceholder(o,"Declaration"),this.finishNode(T,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const C=this.startNode();return C.exported=o,T.specifiers=[this.finishNode(C,"ExportDefaultSpecifier")],super.parseExport(T,i)}isExportDefaultSpecifier(){if(this.match(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(Ee(133),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,i){var o;return(o=e.specifiers)!=null&&o.length?!0:super.maybeParseExportDefaultSpecifier(e,i)}checkExport(e){const{specifiers:i}=e;i!=null&&i.length&&(e.specifiers=i.filter(o=>o.exported.type==="Placeholder")),super.checkExport(e),e.specifiers=i}parseImport(e){const i=this.parsePlaceholder("Identifier");if(!i)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(98)&&!this.match(12))return e.source=this.finishPlaceholder(i,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");const o=this.startNodeAtNode(i);return o.local=i,e.specifiers.push(this.finishNode(o,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(98),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(oi.UnexpectedSpace,this.state.lastTokEndLoc)}},gi=x=>class extends x{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc,i=this.startNode();if(this.next(),ce(this.state.type)){const o=this.parseIdentifierName(),T=this.createIdentifier(i,o);if(T.type="V8IntrinsicIdentifier",this.match(10))return T}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}};const ui=["minimal","fsharp","hack","smart"],ci=["^^","@@","^","%","#"];function Pi(x){if(x.has("decorators")){if(x.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const e=x.get("decorators").decoratorsBeforeExport;if(e!=null&&typeof e!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const i=x.get("decorators").allowCallParenthesized;if(i!=null&&typeof i!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(x.has("flow")&&x.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(x.has("placeholders")&&x.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(x.has("pipelineOperator")){var r;const e=x.get("pipelineOperator").proposal;if(!ui.includes(e)){const o=ui.map(T=>`"${T}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${o}.`)}const i=((r=x.get("recordAndTuple"))==null?void 0:r.syntaxType)==="hash";if(e==="hack"){if(x.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(x.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const o=x.get("pipelineOperator").topicToken;if(!ci.includes(o)){const T=ci.map(C=>`"${C}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${T}.`)}if(o==="#"&&i)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",x.get("recordAndTuple")])}\`.`)}else if(e==="smart"&&i)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",x.get("recordAndTuple")])}\`.`)}if(x.has("moduleAttributes")){if(x.has("deprecatedImportAssert")||x.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(x.get("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(x.has("importAssertions")&&x.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(!x.has("deprecatedImportAssert")&&x.has("importAttributes")&&x.get("importAttributes").deprecatedAssertSyntax&&x.set("deprecatedImportAssert",{}),x.has("recordAndTuple")){const e=x.get("recordAndTuple").syntaxType;if(e!=null){const i=["hash","bar"];if(!i.includes(e))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+i.map(o=>`'${o}'`).join(", "))}}if(x.has("asyncDoExpressions")&&!x.has("doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}if(x.has("optionalChainingAssign")&&x.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}const li={estree:E,jsx:y,flow:ei,typescript:yi,v8intrinsic:gi,placeholders:Ai},Ii=Object.keys(li);class _i extends qe{checkProto(r,e,i,o){if(r.type==="SpreadElement"||this.isObjectMethod(r)||r.computed||r.shorthand)return;const T=r.key;if((T.type==="Identifier"?T.name:T.value)==="__proto__"){if(e){this.raise(_.RecordNoProto,T);return}i.used&&(o?o.doubleProtoLoc===null&&(o.doubleProtoLoc=T.loc.start):this.raise(_.DuplicateProto,T)),i.used=!0}}shouldExitDescending(r,e){return r.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(r.start)===e}getExpression(){this.enterInitialScopes(),this.nextToken();const r=this.parseExpression();return this.match(140)||this.unexpected(),this.finalizeRemainingComments(),r.comments=this.comments,r.errors=this.state.errors,this.optionFlags&128&&(r.tokens=this.tokens),r}parseExpression(r,e){return r?this.disallowInAnd(()=>this.parseExpressionBase(e)):this.allowInAnd(()=>this.parseExpressionBase(e))}parseExpressionBase(r){const e=this.state.startLoc,i=this.parseMaybeAssign(r);if(this.match(12)){const o=this.startNodeAt(e);for(o.expressions=[i];this.eat(12);)o.expressions.push(this.parseMaybeAssign(r));return this.toReferencedList(o.expressions),this.finishNode(o,"SequenceExpression")}return i}parseMaybeAssignDisallowIn(r,e){return this.disallowInAnd(()=>this.parseMaybeAssign(r,e))}parseMaybeAssignAllowIn(r,e){return this.allowInAnd(()=>this.parseMaybeAssign(r,e))}setOptionalParametersError(r,e){var i;r.optionalParametersLoc=(i=e?.loc)!=null?i:this.state.startLoc}parseMaybeAssign(r,e){const i=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let L=this.parseYield();return e&&(L=e.call(this,L,i)),L}let o;r?o=!1:(r=new ur,o=!0);const{type:T}=this.state;(T===10||ce(T))&&(this.state.potentialArrowAt=this.state.start);let C=this.parseMaybeConditional(r);if(e&&(C=e.call(this,C,i)),pt(this.state.type)){const L=this.startNodeAt(i),K=this.state.value;if(L.operator=K,this.match(29)){this.toAssignable(C,!0),L.left=C;const $=i.index;r.doubleProtoLoc!=null&&r.doubleProtoLoc.index>=$&&(r.doubleProtoLoc=null),r.shorthandAssignLoc!=null&&r.shorthandAssignLoc.index>=$&&(r.shorthandAssignLoc=null),r.privateKeyLoc!=null&&r.privateKeyLoc.index>=$&&(this.checkDestructuringPrivate(r),r.privateKeyLoc=null)}else L.left=C;return this.next(),L.right=this.parseMaybeAssign(),this.checkLVal(C,this.finishNode(L,"AssignmentExpression")),L}else o&&this.checkExpressionErrors(r,!0);return C}parseMaybeConditional(r){const e=this.state.startLoc,i=this.state.potentialArrowAt,o=this.parseExprOps(r);return this.shouldExitDescending(o,i)?o:this.parseConditional(o,e,r)}parseConditional(r,e,i){if(this.eat(17)){const o=this.startNodeAt(e);return o.test=r,o.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),o.alternate=this.parseMaybeAssign(),this.finishNode(o,"ConditionalExpression")}return r}parseMaybeUnaryOrPrivate(r){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(r)}parseExprOps(r){const e=this.state.startLoc,i=this.state.potentialArrowAt,o=this.parseMaybeUnaryOrPrivate(r);return this.shouldExitDescending(o,i)?o:this.parseExprOp(o,e,-1)}parseExprOp(r,e,i){if(this.isPrivateName(r)){const T=this.getPrivateNameSV(r);(i>=Ae(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(_.PrivateInExpectedIn,r,{identifierName:T}),this.classScope.usePrivateName(T,r.loc.start)}const o=this.state.type;if(bt(o)&&(this.prodParam.hasIn||!this.match(58))){let T=Ae(o);if(T>i){if(o===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return r;this.checkPipelineAtInfixOperator(r,e)}const C=this.startNodeAt(e);C.left=r,C.operator=this.state.value;const L=o===41||o===42,K=o===40;if(K&&(T=Ae(42)),this.next(),o===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(_.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);C.right=this.parseExprOpRightExpr(o,T);const $=this.finishNode(C,L||K?"LogicalExpression":"BinaryExpression"),ee=this.state.type;if(K&&(ee===41||ee===42)||L&&ee===40)throw this.raise(_.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp($,e,i)}}return r}parseExprOpRightExpr(r,e){const i=this.state.startLoc;switch(r){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(e))}if(this.getPluginOption("pipelineOperator","proposal")==="smart")return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(_.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(r,e),i)});default:return this.parseExprOpBaseRightExpr(r,e)}}parseExprOpBaseRightExpr(r,e){const i=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),i,Ce(r)?e-1:e)}parseHackPipeBody(){var r;const{startLoc:e}=this.state,i=this.parseMaybeAssign();return m.has(i.type)&&!((r=i.extra)!=null&&r.parenthesized)&&this.raise(_.PipeUnparenthesizedBody,e,{type:i.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(_.PipeTopicUnused,e),i}checkExponentialAfterUnary(r){this.match(57)&&this.raise(_.UnexpectedTokenUnaryExponentiation,r.argument)}parseMaybeUnary(r,e){const i=this.state.startLoc,o=this.isContextual(96);if(o&&this.recordAwaitIfAllowed()){this.next();const K=this.parseAwait(i);return e||this.checkExponentialAfterUnary(K),K}const T=this.match(34),C=this.startNode();if(Nt(this.state.type)){C.operator=this.state.value,C.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const K=this.match(89);if(this.next(),C.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(r,!0),this.state.strict&&K){const $=C.argument;$.type==="Identifier"?this.raise(_.StrictDelete,C):this.hasPropertyAsPrivateName($)&&this.raise(_.DeletePrivateField,C)}if(!T)return e||this.checkExponentialAfterUnary(C),this.finishNode(C,"UnaryExpression")}const L=this.parseUpdate(C,T,r);if(o){const{type:K}=this.state;if((this.hasPlugin("v8intrinsic")?it(K):it(K)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(_.AwaitNotInAsyncContext,i),this.parseAwait(i)}return L}parseUpdate(r,e,i){if(e){const C=r;return this.checkLVal(C.argument,this.finishNode(C,"UpdateExpression")),r}const o=this.state.startLoc;let T=this.parseExprSubscripts(i);if(this.checkExpressionErrors(i,!1))return T;for(;gt(this.state.type)&&!this.canInsertSemicolon();){const C=this.startNodeAt(o);C.operator=this.state.value,C.prefix=!1,C.argument=T,this.next(),this.checkLVal(T,T=this.finishNode(C,"UpdateExpression"))}return T}parseExprSubscripts(r){const e=this.state.startLoc,i=this.state.potentialArrowAt,o=this.parseExprAtom(r);return this.shouldExitDescending(o,i)?o:this.parseSubscripts(o,e)}parseSubscripts(r,e,i){const o={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(r),stop:!1};do r=this.parseSubscript(r,e,i,o),o.maybeAsyncArrow=!1;while(!o.stop);return r}parseSubscript(r,e,i,o){const{type:T}=this.state;if(!i&&T===15)return this.parseBind(r,e,i,o);if(Fe(T))return this.parseTaggedTemplateExpression(r,e,o);let C=!1;if(T===18){if(i&&(this.raise(_.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return o.stop=!0,r;o.optionalChainMember=C=!0,this.next()}if(!i&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(r,e,o,C);{const L=this.eat(0);return L||C||this.eat(16)?this.parseMember(r,e,o,L,C):(o.stop=!0,r)}}parseMember(r,e,i,o,T){const C=this.startNodeAt(e);return C.object=r,C.computed=o,o?(C.property=this.parseExpression(),this.expect(3)):this.match(139)?(r.type==="Super"&&this.raise(_.SuperPrivateField,e),this.classScope.usePrivateName(this.state.value,this.state.startLoc),C.property=this.parsePrivateName()):C.property=this.parseIdentifier(!0),i.optionalChainMember?(C.optional=T,this.finishNode(C,"OptionalMemberExpression")):this.finishNode(C,"MemberExpression")}parseBind(r,e,i,o){const T=this.startNodeAt(e);return T.object=r,this.next(),T.callee=this.parseNoCallExpr(),o.stop=!0,this.parseSubscripts(this.finishNode(T,"BindExpression"),e,i)}parseCoverCallAndAsyncArrowHead(r,e,i,o){const T=this.state.maybeInArrowParameters;let C=null;this.state.maybeInArrowParameters=!0,this.next();const L=this.startNodeAt(e);L.callee=r;const{maybeAsyncArrow:K,optionalChainMember:$}=i;K&&(this.expressionScope.enter(Vr()),C=new ur),$&&(L.optional=o),o?L.arguments=this.parseCallExpressionArguments(11):L.arguments=this.parseCallExpressionArguments(11,r.type!=="Super",L,C);let ee=this.finishCallExpression(L,$);return K&&this.shouldParseAsyncArrow()&&!o?(i.stop=!0,this.checkDestructuringPrivate(C),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),ee=this.parseAsyncArrowFromCallExpression(this.startNodeAt(e),ee)):(K&&(this.checkExpressionErrors(C,!0),this.expressionScope.exit()),this.toReferencedArguments(ee)),this.state.maybeInArrowParameters=T,ee}toReferencedArguments(r,e){this.toReferencedListDeep(r.arguments,e)}parseTaggedTemplateExpression(r,e,i){const o=this.startNodeAt(e);return o.tag=r,o.quasi=this.parseTemplate(!0),i.optionalChainMember&&this.raise(_.OptionalChainingNoTemplate,e),this.finishNode(o,"TaggedTemplateExpression")}atPossibleAsyncArrow(r){return r.type==="Identifier"&&r.name==="async"&&this.state.lastTokEndLoc.index===r.end&&!this.canInsertSemicolon()&&r.end-r.start===5&&this.offsetToSourcePos(r.start)===this.state.potentialArrowAt}finishCallExpression(r,e){if(r.callee.type==="Import")if(r.arguments.length===0||r.arguments.length>2)this.raise(_.ImportCallArity,r);else for(const i of r.arguments)i.type==="SpreadElement"&&this.raise(_.ImportCallSpreadArgument,i);return this.finishNode(r,e?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(r,e,i,o){const T=[];let C=!0;const L=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(r);){if(C)C=!1;else if(this.expect(12),this.match(r)){i&&this.addTrailingCommaExtraToNode(i),this.next();break}T.push(this.parseExprListItem(!1,o,e))}return this.state.inFSharpPipelineDirectBody=L,T}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(r,e){var i;return this.resetPreviousNodeTrailingComments(e),this.expect(19),this.parseArrowExpression(r,e.arguments,!0,(i=e.extra)==null?void 0:i.trailingCommaLoc),e.innerComments&&Gt(r,e.innerComments),e.callee.trailingComments&&Gt(r,e.callee.trailingComments),r}parseNoCallExpr(){const r=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),r,!0)}parseExprAtom(r){let e,i=null;const{type:o}=this.state;switch(o){case 79:return this.parseSuper();case 83:return e=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(e):this.match(10)?this.optionFlags&256?this.parseImportCall(e):this.finishNode(e,"Import"):(this.raise(_.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(e,"Import"));case 78:return e=this.startNode(),this.next(),this.finishNode(e,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134: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 T=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(T)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,r);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,r);case 68:return this.parseFunctionOrFunctionSent();case 26:i=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(i,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{e=this.startNode(),this.next(),e.object=null;const T=e.callee=this.parseNoCallExpr();if(T.type==="MemberExpression")return this.finishNode(e,"BindExpression");throw this.raise(_.UnsupportedBind,T)}case 139:return this.raise(_.PrivateInExpectedIn,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 T=this.getPluginOption("pipelineOperator","proposal");if(T)return this.parseTopicReference(T);this.unexpected();break}case 47:{const T=this.input.codePointAt(this.nextTokenStart());$e(T)||T===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(o===137)return this.parseDecimalLiteral(this.state.value);if(ce(o)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();const T=this.state.potentialArrowAt===this.state.start,C=this.state.containsEsc,L=this.parseIdentifier();if(!C&&L.name==="async"&&!this.canInsertSemicolon()){const{type:K}=this.state;if(K===68)return this.resetPreviousNodeTrailingComments(L),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(L));if(ce(K))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(L)):L;if(K===90)return this.resetPreviousNodeTrailingComments(L),this.parseDo(this.startNodeAtNode(L),!0)}return T&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(L),[L],!1)):L}else this.unexpected()}}parseTopicReferenceThenEqualsSign(r,e){const i=this.getPluginOption("pipelineOperator","proposal");if(i)return this.state.type=r,this.state.value=e,this.state.pos--,this.state.end--,this.state.endLoc=u(this.state.endLoc,-1),this.parseTopicReference(i);this.unexpected()}parseTopicReference(r){const e=this.startNode(),i=this.state.startLoc,o=this.state.type;return this.next(),this.finishTopicReference(e,i,r,o)}finishTopicReference(r,e,i,o){if(this.testTopicReferenceConfiguration(i,e,o))return i==="hack"?(this.topicReferenceIsAllowedInCurrentContext()||this.raise(_.PipeTopicUnbound,e),this.registerTopicReference(),this.finishNode(r,"TopicReference")):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(_.PrimaryTopicNotAllowed,e),this.registerTopicReference(),this.finishNode(r,"PipelinePrimaryTopicReference"));throw this.raise(_.PipeTopicUnconfiguredToken,e,{token:Ee(o)})}testTopicReferenceConfiguration(r,e,i){switch(r){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Ee(i)}]);case"smart":return i===27;default:throw this.raise(_.PipeTopicRequiresHackPipes,e)}}parseAsyncArrowUnaryFunction(r){this.prodParam.enter(or(!0,this.prodParam.hasYield));const e=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(_.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(r,e,!0)}parseDo(r,e){this.expectPlugin("doExpressions"),e&&this.expectPlugin("asyncDoExpressions"),r.async=e,this.next();const i=this.state.labels;return this.state.labels=[],e?(this.prodParam.enter(2),r.body=this.parseBlock(),this.prodParam.exit()):r.body=this.parseBlock(),this.state.labels=i,this.finishNode(r,"DoExpression")}parseSuper(){const r=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!(this.optionFlags&16)?this.raise(_.SuperNotAllowed,r):!this.scope.allowSuper&&!(this.optionFlags&16)&&this.raise(_.UnexpectedSuper,r),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(_.UnsupportedSuper,r),this.finishNode(r,"Super")}parsePrivateName(){const r=this.startNode(),e=this.startNodeAt(u(this.state.startLoc,1)),i=this.state.value;return this.next(),r.id=this.createIdentifier(e,i),this.finishNode(r,"PrivateName")}parseFunctionOrFunctionSent(){const r=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const e=this.createIdentifier(this.startNodeAtNode(r),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(r,e,"sent")}return this.parseFunction(r)}parseMetaProperty(r,e,i){r.meta=e;const o=this.state.containsEsc;return r.property=this.parseIdentifier(!0),(r.property.name!==i||o)&&this.raise(_.UnsupportedMetaProperty,r.property,{target:e.name,onlyValidPropertyName:i}),this.finishNode(r,"MetaProperty")}parseImportMetaProperty(r){const e=this.createIdentifier(this.startNodeAtNode(r),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(_.ImportMetaOutsideModule,e),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){const i=this.isContextual(105);if(this.expectPlugin(i?"sourcePhaseImports":"deferredImportEvaluation"),!(this.optionFlags&256))throw this.raise(_.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),r.phase=i?"source":"defer",this.parseImportCall(r)}return this.parseMetaProperty(r,e,"meta")}parseLiteralAtNode(r,e,i){return this.addExtra(i,"rawValue",r),this.addExtra(i,"raw",this.input.slice(this.offsetToSourcePos(i.start),this.state.end)),i.value=r,this.next(),this.finishNode(i,e)}parseLiteral(r,e){const i=this.startNode();return this.parseLiteralAtNode(r,e,i)}parseStringLiteral(r){return this.parseLiteral(r,"StringLiteral")}parseNumericLiteral(r){return this.parseLiteral(r,"NumericLiteral")}parseBigIntLiteral(r){return this.parseLiteral(r,"BigIntLiteral")}parseDecimalLiteral(r){return this.parseLiteral(r,"DecimalLiteral")}parseRegExpLiteral(r){const e=this.startNode();return this.addExtra(e,"raw",this.input.slice(this.offsetToSourcePos(e.start),this.state.end)),e.pattern=r.pattern,e.flags=r.flags,this.next(),this.finishNode(e,"RegExpLiteral")}parseBooleanLiteral(r){const e=this.startNode();return e.value=r,this.next(),this.finishNode(e,"BooleanLiteral")}parseNullLiteral(){const r=this.startNode();return this.next(),this.finishNode(r,"NullLiteral")}parseParenAndDistinguishExpression(r){const e=this.state.startLoc;let i;this.next(),this.expressionScope.enter(Yr());const o=this.state.maybeInArrowParameters,T=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const C=this.state.startLoc,L=[],K=new ur;let $=!0,ee,me;for(;!this.match(11);){if($)$=!1;else if(this.expect(12,K.optionalParametersLoc===null?null:K.optionalParametersLoc),this.match(11)){me=this.state.startLoc;break}if(this.match(21)){const ke=this.state.startLoc;if(ee=this.state.startLoc,L.push(this.parseParenItem(this.parseRestBinding(),ke)),!this.checkCommaAfterRest(41))break}else L.push(this.parseMaybeAssignAllowIn(K,this.parseParenItem))}const _e=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=o,this.state.inFSharpPipelineDirectBody=T;let Ne=this.startNodeAt(e);return r&&this.shouldParseArrow(L)&&(Ne=this.parseArrow(Ne))?(this.checkDestructuringPrivate(K),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(Ne,L,!1),Ne):(this.expressionScope.exit(),L.length||this.unexpected(this.state.lastTokStartLoc),me&&this.unexpected(me),ee&&this.unexpected(ee),this.checkExpressionErrors(K,!0),this.toReferencedListDeep(L,!0),L.length>1?(i=this.startNodeAt(C),i.expressions=L,this.finishNode(i,"SequenceExpression"),this.resetEndLocation(i,_e)):i=L[0],this.wrapParenthesis(e,i))}wrapParenthesis(r,e){if(!(this.optionFlags&512))return this.addExtra(e,"parenthesized",!0),this.addExtra(e,"parenStart",r.index),this.takeSurroundingComments(e,r.index,this.state.lastTokEndLoc.index),e;const i=this.startNodeAt(r);return i.expression=e,this.finishNode(i,"ParenthesizedExpression")}shouldParseArrow(r){return!this.canInsertSemicolon()}parseArrow(r){if(this.eat(19))return r}parseParenItem(r,e){return r}parseNewOrNewTarget(){const r=this.startNode();if(this.next(),this.match(16)){const e=this.createIdentifier(this.startNodeAtNode(r),"new");this.next();const i=this.parseMetaProperty(r,e,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!(this.optionFlags&4)&&this.raise(_.UnexpectedNewTarget,i),i}return this.parseNew(r)}parseNew(r){if(this.parseNewCallee(r),this.eat(10)){const e=this.parseExprList(11);this.toReferencedList(e),r.arguments=e}else r.arguments=[];return this.finishNode(r,"NewExpression")}parseNewCallee(r){const e=this.match(83),i=this.parseNoCallExpr();r.callee=i,e&&(i.type==="Import"||i.type==="ImportExpression")&&this.raise(_.ImportCallNotNewExpression,i)}parseTemplateElement(r){const{start:e,startLoc:i,end:o,value:T}=this.state,C=e+1,L=this.startNodeAt(u(i,1));T===null&&(r||this.raise(_.InvalidEscapeSequenceTemplate,u(this.state.firstInvalidTemplateEscapePos,1)));const K=this.match(24),$=K?-1:-2,ee=o+$;L.value={raw:this.input.slice(C,ee).replace(/\r\n?/g,`
23
- `),cooked:T===null?null:T.slice(1,$)},L.tail=K,this.next();const me=this.finishNode(L,"TemplateElement");return this.resetEndLocation(me,u(this.state.lastTokEndLoc,$)),me}parseTemplate(r){const e=this.startNode();let i=this.parseTemplateElement(r);const o=[i],T=[];for(;!i.tail;)T.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),o.push(i=this.parseTemplateElement(r));return e.expressions=T,e.quasis=o,this.finishNode(e,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(r,e,i,o){i&&this.expectPlugin("recordAndTuple");const T=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const C=Object.create(null);let L=!0;const K=this.startNode();for(K.properties=[],this.next();!this.match(r);){if(L)L=!1;else if(this.expect(12),this.match(r)){this.addTrailingCommaExtraToNode(K);break}let ee;e?ee=this.parseBindingProperty():(ee=this.parsePropertyDefinition(o),this.checkProto(ee,i,C,o)),i&&!this.isObjectProperty(ee)&&ee.type!=="SpreadElement"&&this.raise(_.InvalidRecordProperty,ee),ee.shorthand&&this.addExtra(ee,"shorthand",!0),K.properties.push(ee)}this.next(),this.state.inFSharpPipelineDirectBody=T;let $="ObjectExpression";return e?$="ObjectPattern":i&&($="RecordExpression"),this.finishNode(K,$)}addTrailingCommaExtraToNode(r){this.addExtra(r,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(r,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(r){return!r.computed&&r.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(r){let e=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(_.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());const i=this.startNode();let o=!1,T=!1,C;if(this.match(21))return e.length&&this.unexpected(),this.parseSpread();e.length&&(i.decorators=e,e=[]),i.method=!1,r&&(C=this.state.startLoc);let L=this.eat(55);this.parsePropertyNamePrefixOperator(i);const K=this.state.containsEsc;if(this.parsePropertyName(i,r),!L&&!K&&this.maybeAsyncOrAccessorProp(i)){const{key:$}=i,ee=$.name;ee==="async"&&!this.hasPrecedingLineBreak()&&(o=!0,this.resetPreviousNodeTrailingComments($),L=this.eat(55),this.parsePropertyName(i)),(ee==="get"||ee==="set")&&(T=!0,this.resetPreviousNodeTrailingComments($),i.kind=ee,this.match(55)&&(L=!0,this.raise(_.AccessorIsGenerator,this.state.curPosition(),{kind:ee}),this.next()),this.parsePropertyName(i))}return this.parseObjPropValue(i,C,L,o,!1,T,r)}getGetterSetterExpectedParamCount(r){return r.kind==="get"?0:1}getObjectOrClassMethodParams(r){return r.params}checkGetterSetterParams(r){var e;const i=this.getGetterSetterExpectedParamCount(r),o=this.getObjectOrClassMethodParams(r);o.length!==i&&this.raise(r.kind==="get"?_.BadGetterArity:_.BadSetterArity,r),r.kind==="set"&&((e=o[o.length-1])==null?void 0:e.type)==="RestElement"&&this.raise(_.BadSetterRestParameter,r)}parseObjectMethod(r,e,i,o,T){if(T){const C=this.parseMethod(r,e,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(C),C}if(i||e||this.match(10))return o&&this.unexpected(),r.kind="method",r.method=!0,this.parseMethod(r,e,i,!1,!1,"ObjectMethod")}parseObjectProperty(r,e,i,o){if(r.shorthand=!1,this.eat(14))return r.value=i?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(o),this.finishNode(r,"ObjectProperty");if(!r.computed&&r.key.type==="Identifier"){if(this.checkReservedWord(r.key.name,r.key.loc.start,!0,!1),i)r.value=this.parseMaybeDefault(e,xt(r.key));else if(this.match(29)){const T=this.state.startLoc;o!=null?o.shorthandAssignLoc===null&&(o.shorthandAssignLoc=T):this.raise(_.InvalidCoverInitializedName,T),r.value=this.parseMaybeDefault(e,xt(r.key))}else r.value=xt(r.key);return r.shorthand=!0,this.finishNode(r,"ObjectProperty")}}parseObjPropValue(r,e,i,o,T,C,L){const K=this.parseObjectMethod(r,i,o,T,C)||this.parseObjectProperty(r,e,T,L);return K||this.unexpected(),K}parsePropertyName(r,e){if(this.eat(0))r.computed=!0,r.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:i,value:o}=this.state;let T;if(fe(i))T=this.parseIdentifier(!0);else switch(i){case 135:T=this.parseNumericLiteral(o);break;case 134:T=this.parseStringLiteral(o);break;case 136:T=this.parseBigIntLiteral(o);break;case 139:{const C=this.state.startLoc;e!=null?e.privateKeyLoc===null&&(e.privateKeyLoc=C):this.raise(_.UnexpectedPrivateField,C),T=this.parsePrivateName();break}default:if(i===137){T=this.parseDecimalLiteral(o);break}this.unexpected()}r.key=T,i!==139&&(r.computed=!1)}}initFunction(r,e){r.id=null,r.generator=!1,r.async=e}parseMethod(r,e,i,o,T,C,L=!1){this.initFunction(r,i),r.generator=e,this.scope.enter(18|(L?64:0)|(T?32:0)),this.prodParam.enter(or(i,r.generator)),this.parseFunctionParams(r,o);const K=this.parseFunctionBodyAndFinish(r,C,!0);return this.prodParam.exit(),this.scope.exit(),K}parseArrayLike(r,e,i,o){i&&this.expectPlugin("recordAndTuple");const T=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const C=this.startNode();return this.next(),C.elements=this.parseExprList(r,!i,o,C),this.state.inFSharpPipelineDirectBody=T,this.finishNode(C,i?"TupleExpression":"ArrayExpression")}parseArrowExpression(r,e,i,o){this.scope.enter(6);let T=or(i,!1);!this.match(5)&&this.prodParam.hasIn&&(T|=8),this.prodParam.enter(T),this.initFunction(r,i);const C=this.state.maybeInArrowParameters;return e&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(r,e,o)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(r,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=C,this.finishNode(r,"ArrowFunctionExpression")}setArrowFunctionParameters(r,e,i){this.toAssignableList(e,i,!1),r.params=e}parseFunctionBodyAndFinish(r,e,i=!1){return this.parseFunctionBody(r,!1,i),this.finishNode(r,e)}parseFunctionBody(r,e,i=!1){const o=e&&!this.match(5);if(this.expressionScope.enter(br()),o)r.body=this.parseMaybeAssign(),this.checkParams(r,!1,e,!1);else{const T=this.state.strict,C=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),r.body=this.parseBlock(!0,!1,L=>{const K=!this.isSimpleParamList(r.params);L&&K&&this.raise(_.IllegalLanguageModeDirective,(r.kind==="method"||r.kind==="constructor")&&r.key?r.key.loc.end:r);const $=!T&&this.state.strict;this.checkParams(r,!this.state.strict&&!e&&!i&&!K,e,$),this.state.strict&&r.id&&this.checkIdentifier(r.id,65,$)}),this.prodParam.exit(),this.state.labels=C}this.expressionScope.exit()}isSimpleParameter(r){return r.type==="Identifier"}isSimpleParamList(r){for(let e=0,i=r.length;e<i;e++)if(!this.isSimpleParameter(r[e]))return!1;return!0}checkParams(r,e,i,o=!0){const T=!e&&new Set,C={type:"FormalParameters"};for(const L of r.params)this.checkLVal(L,C,5,T,o)}parseExprList(r,e,i,o){const T=[];let C=!0;for(;!this.eat(r);){if(C)C=!1;else if(this.expect(12),this.match(r)){o&&this.addTrailingCommaExtraToNode(o),this.next();break}T.push(this.parseExprListItem(e,i))}return T}parseExprListItem(r,e,i){let o;if(this.match(12))r||this.raise(_.UnexpectedToken,this.state.curPosition(),{unexpected:","}),o=null;else if(this.match(21)){const T=this.state.startLoc;o=this.parseParenItem(this.parseSpread(e),T)}else if(this.match(17)){this.expectPlugin("partialApplication"),i||this.raise(_.UnexpectedArgumentPlaceholder,this.state.startLoc);const T=this.startNode();this.next(),o=this.finishNode(T,"ArgumentPlaceholder")}else o=this.parseMaybeAssignAllowIn(e,this.parseParenItem);return o}parseIdentifier(r){const e=this.startNode(),i=this.parseIdentifierName(r);return this.createIdentifier(e,i)}createIdentifier(r,e){return r.name=e,r.loc.identifierName=e,this.finishNode(r,"Identifier")}parseIdentifierName(r){let e;const{startLoc:i,type:o}=this.state;fe(o)?e=this.state.value:this.unexpected();const T=he(o);return r?T&&this.replaceToken(132):this.checkReservedWord(e,i,T,!1),this.next(),e}checkReservedWord(r,e,i,o){if(r.length>10||!jt(r))return;if(i&&dt(r)){this.raise(_.UnexpectedKeyword,e,{keyword:r});return}if((this.state.strict?o?Xt:ct:He)(r,this.inModule)){this.raise(_.UnexpectedReservedWord,e,{reservedWord:r});return}else if(r==="yield"){if(this.prodParam.hasYield){this.raise(_.YieldBindingIdentifier,e);return}}else if(r==="await"){if(this.prodParam.hasAwait){this.raise(_.AwaitBindingIdentifier,e);return}if(this.scope.inStaticBlock){this.raise(_.AwaitBindingIdentifierInStaticBlock,e);return}this.expressionScope.recordAsyncArrowParametersError(e)}else if(r==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(_.ArgumentsInClass,e);return}}recordAwaitIfAllowed(){const r=this.prodParam.hasAwait||this.optionFlags&1&&!this.scope.inFunction;return r&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),r}parseAwait(r){const e=this.startNodeAt(r);return this.expressionScope.recordParameterInitializerError(_.AwaitExpressionFormalParameter,e),this.eat(55)&&this.raise(_.ObsoleteAwaitStar,e),!this.scope.inFunction&&!(this.optionFlags&1)&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(e.argument=this.parseMaybeUnary(null,!0)),this.finishNode(e,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:r}=this.state;return r===53||r===10||r===0||Fe(r)||r===102&&!this.state.containsEsc||r===138||r===56||this.hasPlugin("v8intrinsic")&&r===54}parseYield(){const r=this.startNode();this.expressionScope.recordParameterInitializerError(_.YieldInParameter,r),this.next();let e=!1,i=null;if(!this.hasPrecedingLineBreak())switch(e=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!e)break;default:i=this.parseMaybeAssign()}return r.delegate=e,r.argument=i,this.finishNode(r,"YieldExpression")}parseImportCall(r){if(this.next(),r.source=this.parseMaybeAssignAllowIn(),r.options=null,this.eat(12)&&!this.match(11)&&(r.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(_.ImportCallArity,r)}return this.expect(11),this.finishNode(r,"ImportExpression")}checkPipelineAtInfixOperator(r,e){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&r.type==="SequenceExpression"&&this.raise(_.PipelineHeadSequenceExpression,e)}parseSmartPipelineBodyInStyle(r,e){if(this.isSimpleReference(r)){const i=this.startNodeAt(e);return i.callee=r,this.finishNode(i,"PipelineBareFunction")}else{const i=this.startNodeAt(e);return this.checkSmartPipeTopicBodyEarlyErrors(e),i.expression=r,this.finishNode(i,"PipelineTopicExpression")}}isSimpleReference(r){switch(r.type){case"MemberExpression":return!r.computed&&this.isSimpleReference(r.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(r){if(this.match(19))throw this.raise(_.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(_.PipelineTopicUnused,r)}withTopicBindingContext(r){const e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return r()}finally{this.state.topicContext=e}}withSmartMixTopicForbiddingContext(r){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){const e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return r()}finally{this.state.topicContext=e}}else return r()}withSoloAwaitPermittingContext(r){const e=this.state.soloAwait;this.state.soloAwait=!0;try{return r()}finally{this.state.soloAwait=e}}allowInAnd(r){const e=this.prodParam.currentFlags();if(8&~e){this.prodParam.enter(e|8);try{return r()}finally{this.prodParam.exit()}}return r()}disallowInAnd(r){const e=this.prodParam.currentFlags();if(8&e){this.prodParam.enter(e&-9);try{return r()}finally{this.prodParam.exit()}}return r()}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(r){const e=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const o=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),e,r);return this.state.inFSharpPipelineDirectBody=i,o}parseModuleExpression(){this.expectPlugin("moduleBlocks");const r=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const e=this.startNodeAt(this.state.endLoc);this.next();const i=this.initializeScopes(!0);this.enterInitialScopes();try{r.body=this.parseProgram(e,8,"module")}finally{i()}return this.finishNode(r,"ModuleExpression")}parsePropertyNamePrefixOperator(r){}}const ti={kind:1},xi={kind:2},Ci=/[\uD800-\uDFFF]/u,ri=/in(?:stanceof)?/y;function Ni(x,r,e){for(let i=0;i<x.length;i++){const o=x[i],{type:T}=o;if(typeof T=="number"){{if(T===139){const{loc:C,start:L,value:K,end:$}=o,ee=L+1,me=u(C.start,1);x.splice(i,1,new wt({type:ve(27),value:"#",start:L,end:ee,startLoc:C.start,endLoc:me}),new wt({type:ve(132),value:K,start:ee,end:$,startLoc:me,endLoc:C.end})),i++;continue}if(Fe(T)){const{loc:C,start:L,value:K,end:$}=o,ee=L+1,me=u(C.start,1);let _e;r.charCodeAt(L-e)===96?_e=new wt({type:ve(22),value:"`",start:L,end:ee,startLoc:C.start,endLoc:me}):_e=new wt({type:ve(8),value:"}",start:L,end:ee,startLoc:C.start,endLoc:me});let Ne,ke,Qe,mt;T===24?(ke=$-1,Qe=u(C.end,-1),Ne=K===null?null:K.slice(1,-1),mt=new wt({type:ve(22),value:"`",start:ke,end:$,startLoc:Qe,endLoc:C.end})):(ke=$-2,Qe=u(C.end,-2),Ne=K===null?null:K.slice(1,-2),mt=new wt({type:ve(23),value:"${",start:ke,end:$,startLoc:Qe,endLoc:C.end})),x.splice(i,1,_e,new wt({type:ve(20),value:Ne,start:ee,end:ke,startLoc:me,endLoc:Qe}),mt),i+=2;continue}}o.type=ve(T)}}return x}class Di extends _i{parseTopLevel(r,e){return r.program=this.parseProgram(e),r.comments=this.comments,this.optionFlags&128&&(r.tokens=Ni(this.tokens,this.input,this.startIndex)),this.finishNode(r,"File")}parseProgram(r,e=140,i=this.options.sourceType){if(r.sourceType=i,r.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(r,!0,!0,e),this.inModule){if(!(this.optionFlags&32)&&this.scope.undefinedExports.size>0)for(const[T,C]of Array.from(this.scope.undefinedExports))this.raise(_.ModuleExportUndefined,C,{localName:T});this.addExtra(r,"topLevelAwait",this.state.hasTopLevelAwait)}let o;return e===140?o=this.finishNode(r,"Program"):o=this.finishNodeAt(r,"Program",u(this.state.startLoc,-1)),o}stmtToDirective(r){const e=r;e.type="Directive",e.value=e.expression,delete e.expression;const i=e.value,o=i.value,T=this.input.slice(this.offsetToSourcePos(i.start),this.offsetToSourcePos(i.end)),C=i.value=T.slice(1,-1);return this.addExtra(i,"raw",T),this.addExtra(i,"rawValue",C),this.addExtra(i,"expressionValue",o),i.type="DirectiveLiteral",e}parseInterpreterDirective(){if(!this.match(28))return null;const r=this.startNode();return r.value=this.state.value,this.next(),this.finishNode(r,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(r,e){if($e(r)){if(ri.lastIndex=e,ri.test(this.input)){const i=this.codePointAtPos(ri.lastIndex);if(!ot(i)&&i!==92)return!1}return!0}else return r===92}chStartsBindingPattern(r){return r===91||r===123}hasFollowingBindingAtom(){const r=this.nextTokenStart(),e=this.codePointAtPos(r);return this.chStartsBindingPattern(e)||this.chStartsBindingIdentifier(e,r)}hasInLineFollowingBindingIdentifierOrBrace(){const r=this.nextTokenInLineStart(),e=this.codePointAtPos(r);return e===123||this.chStartsBindingIdentifier(e,r)}startsUsingForOf(){const{type:r,containsEsc:e}=this.lookahead();if(r===102&&!e)return!1;if(ce(r)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let r=this.nextTokenInLineStart();if(this.isUnparsedContextual(r,"using")){r=this.nextTokenInLineStartSince(r+5);const e=this.codePointAtPos(r);if(this.chStartsBindingIdentifier(e,r))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(r=!1){let e=0;return this.options.annexB&&!this.state.strict&&(e|=4,r&&(e|=8)),this.parseStatementLike(e)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(r){let e=null;return this.match(26)&&(e=this.parseDecorators(!0)),this.parseStatementContent(r,e)}parseStatementContent(r,e){const i=this.state.type,o=this.startNode(),T=!!(r&2),C=!!(r&4),L=r&1;switch(i){case 60:return this.parseBreakContinueStatement(o,!0);case 63:return this.parseBreakContinueStatement(o,!1);case 64:return this.parseDebuggerStatement(o);case 90:return this.parseDoWhileStatement(o);case 91:return this.parseForStatement(o);case 68:if(this.lookaheadCharCode()===46)break;return C||this.raise(this.state.strict?_.StrictFunction:this.options.annexB?_.SloppyFunctionAnnexB:_.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(o,!1,!T&&C);case 80:return T||this.unexpected(),this.parseClass(this.maybeTakeDecorators(e,o),!0);case 69:return this.parseIfStatement(o);case 70:return this.parseReturnStatement(o);case 71:return this.parseSwitchStatement(o);case 72:return this.parseThrowStatement(o);case 73:return this.parseTryStatement(o);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.recordAwaitIfAllowed()?T||this.raise(_.UnexpectedLexicalDeclaration,o):this.raise(_.AwaitUsingNotInAsyncContext,o),this.next(),this.parseVarStatement(o,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(_.UnexpectedUsingDeclaration,this.state.startLoc):T||this.raise(_.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(o,"using");case 100:{if(this.state.containsEsc)break;const ee=this.nextTokenStart(),me=this.codePointAtPos(ee);if(me!==91&&(!T&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(me,ee)&&me!==123))break}case 75:T||this.raise(_.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const ee=this.state.value;return this.parseVarStatement(o,ee)}case 92:return this.parseWhileStatement(o);case 76:return this.parseWithStatement(o);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(o);case 83:{const ee=this.lookaheadCharCode();if(ee===40||ee===46)break}case 82:{!(this.optionFlags&8)&&!L&&this.raise(_.UnexpectedImportExport,this.state.startLoc),this.next();let ee;return i===83?(ee=this.parseImport(o),ee.type==="ImportDeclaration"&&(!ee.importKind||ee.importKind==="value")&&(this.sawUnambiguousESM=!0)):(ee=this.parseExport(o,e),(ee.type==="ExportNamedDeclaration"&&(!ee.exportKind||ee.exportKind==="value")||ee.type==="ExportAllDeclaration"&&(!ee.exportKind||ee.exportKind==="value")||ee.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(ee),ee}default:if(this.isAsyncFunction())return T||this.raise(_.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(o,!0,!T&&C)}const K=this.state.value,$=this.parseExpression();return ce(i)&&$.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(o,K,$,r):this.parseExpressionStatement(o,$,e)}assertModuleNodeAllowed(r){!(this.optionFlags&8)&&!this.inModule&&this.raise(_.ImportOutsideModule,r)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(r,e,i){if(r){var o;(o=e.decorators)!=null&&o.length?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(_.DecoratorsBeforeAfterExport,e.decorators[0]),e.decorators.unshift(...r)):e.decorators=r,this.resetStartLocationFromNode(e,r[0]),i&&this.resetStartLocationFromNode(i,e)}return e}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(r){const e=[];do e.push(this.parseDecorator());while(this.match(26));if(this.match(82))r||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(_.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(_.UnexpectedLeadingDecorator,this.state.startLoc);return e}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const r=this.startNode();if(this.next(),this.hasPlugin("decorators")){const e=this.state.startLoc;let i;if(this.match(10)){const o=this.state.startLoc;this.next(),i=this.parseExpression(),this.expect(11),i=this.wrapParenthesis(o,i);const T=this.state.startLoc;r.expression=this.parseMaybeDecoratorArguments(i,o),this.getPluginOption("decorators","allowCallParenthesized")===!1&&r.expression!==i&&this.raise(_.DecoratorArgumentsOutsideParentheses,T)}else{for(i=this.parseIdentifier(!1);this.eat(16);){const o=this.startNodeAt(e);o.object=i,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),o.property=this.parsePrivateName()):o.property=this.parseIdentifier(!0),o.computed=!1,i=this.finishNode(o,"MemberExpression")}r.expression=this.parseMaybeDecoratorArguments(i,e)}}else r.expression=this.parseExprSubscripts();return this.finishNode(r,"Decorator")}parseMaybeDecoratorArguments(r,e){if(this.eat(10)){const i=this.startNodeAt(e);return i.callee=r,i.arguments=this.parseCallExpressionArguments(11),this.toReferencedList(i.arguments),this.finishNode(i,"CallExpression")}return r}parseBreakContinueStatement(r,e){return this.next(),this.isLineTerminator()?r.label=null:(r.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(r,e),this.finishNode(r,e?"BreakStatement":"ContinueStatement")}verifyBreakContinue(r,e){let i;for(i=0;i<this.state.labels.length;++i){const o=this.state.labels[i];if((r.label==null||o.name===r.label.name)&&(o.kind!=null&&(e||o.kind===1)||r.label&&e))break}if(i===this.state.labels.length){const o=e?"BreakStatement":"ContinueStatement";this.raise(_.IllegalBreakContinue,r,{type:o})}}parseDebuggerStatement(r){return this.next(),this.semicolon(),this.finishNode(r,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const r=this.parseExpression();return this.expect(11),r}parseDoWhileStatement(r){return this.next(),this.state.labels.push(ti),r.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),r.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(r,"DoWhileStatement")}parseForStatement(r){this.next(),this.state.labels.push(ti);let e=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(e=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return e!==null&&this.unexpected(e),this.parseFor(r,null);const i=this.isContextual(100);{const K=this.isContextual(96)&&this.startsAwaitUsing(),$=K||this.isContextual(107)&&this.startsUsingForOf(),ee=i&&this.hasFollowingBindingAtom()||$;if(this.match(74)||this.match(75)||ee){const me=this.startNode();let _e;K?(_e="await using",this.recordAwaitIfAllowed()||this.raise(_.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):_e=this.state.value,this.next(),this.parseVar(me,!0,_e);const Ne=this.finishNode(me,"VariableDeclaration"),ke=this.match(58);return ke&&$&&this.raise(_.ForInUsing,Ne),(ke||this.isContextual(102))&&Ne.declarations.length===1?this.parseForIn(r,Ne,e):(e!==null&&this.unexpected(e),this.parseFor(r,Ne))}}const o=this.isContextual(95),T=new ur,C=this.parseExpression(!0,T),L=this.isContextual(102);if(L&&(i&&this.raise(_.ForOfLet,C),e===null&&o&&C.type==="Identifier"&&this.raise(_.ForOfAsync,C)),L||this.match(58)){this.checkDestructuringPrivate(T),this.toAssignable(C,!0);const K=L?"ForOfStatement":"ForInStatement";return this.checkLVal(C,{type:K}),this.parseForIn(r,C,e)}else this.checkExpressionErrors(T,!0);return e!==null&&this.unexpected(e),this.parseFor(r,C)}parseFunctionStatement(r,e,i){return this.next(),this.parseFunction(r,1|(i?2:0)|(e?8:0))}parseIfStatement(r){return this.next(),r.test=this.parseHeaderExpression(),r.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),r.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(r,"IfStatement")}parseReturnStatement(r){return!this.prodParam.hasReturn&&!(this.optionFlags&2)&&this.raise(_.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?r.argument=null:(r.argument=this.parseExpression(),this.semicolon()),this.finishNode(r,"ReturnStatement")}parseSwitchStatement(r){this.next(),r.discriminant=this.parseHeaderExpression();const e=r.cases=[];this.expect(5),this.state.labels.push(xi),this.scope.enter(0);let i;for(let o;!this.match(8);)if(this.match(61)||this.match(65)){const T=this.match(61);i&&this.finishNode(i,"SwitchCase"),e.push(i=this.startNode()),i.consequent=[],this.next(),T?i.test=this.parseExpression():(o&&this.raise(_.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),o=!0,i.test=null),this.expect(14)}else i?i.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),i&&this.finishNode(i,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(r,"SwitchStatement")}parseThrowStatement(r){return this.next(),this.hasPrecedingLineBreak()&&this.raise(_.NewlineAfterThrow,this.state.lastTokEndLoc),r.argument=this.parseExpression(),this.semicolon(),this.finishNode(r,"ThrowStatement")}parseCatchClauseParam(){const r=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&r.type==="Identifier"?8:0),this.checkLVal(r,{type:"CatchClause"},9),r}parseTryStatement(r){if(this.next(),r.block=this.parseBlock(),r.handler=null,this.match(62)){const e=this.startNode();this.next(),this.match(10)?(this.expect(10),e.param=this.parseCatchClauseParam(),this.expect(11)):(e.param=null,this.scope.enter(0)),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),r.handler=this.finishNode(e,"CatchClause")}return r.finalizer=this.eat(67)?this.parseBlock():null,!r.handler&&!r.finalizer&&this.raise(_.NoCatchOrFinally,r),this.finishNode(r,"TryStatement")}parseVarStatement(r,e,i=!1){return this.next(),this.parseVar(r,!1,e,i),this.semicolon(),this.finishNode(r,"VariableDeclaration")}parseWhileStatement(r){return this.next(),r.test=this.parseHeaderExpression(),this.state.labels.push(ti),r.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(r,"WhileStatement")}parseWithStatement(r){return this.state.strict&&this.raise(_.StrictWith,this.state.startLoc),this.next(),r.object=this.parseHeaderExpression(),r.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(r,"WithStatement")}parseEmptyStatement(r){return this.next(),this.finishNode(r,"EmptyStatement")}parseLabeledStatement(r,e,i,o){for(const C of this.state.labels)C.name===e&&this.raise(_.LabelRedeclaration,i,{labelName:e});const T=yt(this.state.type)?1:this.match(71)?2:null;for(let C=this.state.labels.length-1;C>=0;C--){const L=this.state.labels[C];if(L.statementStart===r.start)L.statementStart=this.sourceToOffsetPos(this.state.start),L.kind=T;else break}return this.state.labels.push({name:e,kind:T,statementStart:this.sourceToOffsetPos(this.state.start)}),r.body=o&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),r.label=i,this.finishNode(r,"LabeledStatement")}parseExpressionStatement(r,e,i){return r.expression=e,this.semicolon(),this.finishNode(r,"ExpressionStatement")}parseBlock(r=!1,e=!0,i){const o=this.startNode();return r&&this.state.strictErrors.clear(),this.expect(5),e&&this.scope.enter(0),this.parseBlockBody(o,r,!1,8,i),e&&this.scope.exit(),this.finishNode(o,"BlockStatement")}isValidDirective(r){return r.type==="ExpressionStatement"&&r.expression.type==="StringLiteral"&&!r.expression.extra.parenthesized}parseBlockBody(r,e,i,o,T){const C=r.body=[],L=r.directives=[];this.parseBlockOrModuleBlockBody(C,e?L:void 0,i,o,T)}parseBlockOrModuleBlockBody(r,e,i,o,T){const C=this.state.strict;let L=!1,K=!1;for(;!this.match(o);){const $=i?this.parseModuleItem():this.parseStatementListItem();if(e&&!K){if(this.isValidDirective($)){const ee=this.stmtToDirective($);e.push(ee),!L&&ee.value.value==="use strict"&&(L=!0,this.setStrict(!0));continue}K=!0,this.state.strictErrors.clear()}r.push($)}T?.call(this,L),C||this.setStrict(!1),this.next()}parseFor(r,e){return r.init=e,this.semicolon(!1),r.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),r.update=this.match(11)?null:this.parseExpression(),this.expect(11),r.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(r,"ForStatement")}parseForIn(r,e,i){const o=this.match(58);return this.next(),o?i!==null&&this.unexpected(i):r.await=i!==null,e.type==="VariableDeclaration"&&e.declarations[0].init!=null&&(!o||!this.options.annexB||this.state.strict||e.kind!=="var"||e.declarations[0].id.type!=="Identifier")&&this.raise(_.ForInOfLoopInitializer,e,{type:o?"ForInStatement":"ForOfStatement"}),e.type==="AssignmentPattern"&&this.raise(_.InvalidLhs,e,{ancestor:{type:"ForStatement"}}),r.left=e,r.right=o?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),r.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(r,o?"ForInStatement":"ForOfStatement")}parseVar(r,e,i,o=!1){const T=r.declarations=[];for(r.kind=i;;){const C=this.startNode();if(this.parseVarId(C,i),C.init=this.eat(29)?e?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,C.init===null&&!o&&(C.id.type!=="Identifier"&&!(e&&(this.match(58)||this.isContextual(102)))?this.raise(_.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(i==="const"||i==="using"||i==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(_.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:i})),T.push(this.finishNode(C,"VariableDeclarator")),!this.eat(12))break}return r}parseVarId(r,e){const i=this.parseBindingAtom();(e==="using"||e==="await using")&&(i.type==="ArrayPattern"||i.type==="ObjectPattern")&&this.raise(_.UsingDeclarationHasBindingPattern,i.loc.start),this.checkLVal(i,{type:"VariableDeclarator"},e==="var"?5:8201),r.id=i}parseAsyncFunctionExpression(r){return this.parseFunction(r,8)}parseFunction(r,e=0){const i=e&2,o=!!(e&1),T=o&&!(e&4),C=!!(e&8);this.initFunction(r,C),this.match(55)&&(i&&this.raise(_.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),r.generator=!0),o&&(r.id=this.parseFunctionId(T));const L=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(or(C,r.generator)),o||(r.id=this.parseFunctionId()),this.parseFunctionParams(r,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(r,o?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),o&&!i&&this.registerFunctionStatementId(r),this.state.maybeInArrowParameters=L,r}parseFunctionId(r){return r||ce(this.state.type)?this.parseIdentifier():null}parseFunctionParams(r,e){this.expect(10),this.expressionScope.enter(Nr()),r.params=this.parseBindingList(11,41,2|(e?4:0)),this.expressionScope.exit()}registerFunctionStatementId(r){r.id&&this.scope.declareName(r.id.name,!this.options.annexB||this.state.strict||r.generator||r.async?this.scope.treatFunctionsAsVar?5:8201:17,r.id.loc.start)}parseClass(r,e,i){this.next();const o=this.state.strict;return this.state.strict=!0,this.parseClassId(r,e,i),this.parseClassSuper(r),r.body=this.parseClassBody(!!r.superClass,o),this.finishNode(r,e?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(r){return r.type==="Identifier"&&r.name==="constructor"||r.type==="StringLiteral"&&r.value==="constructor"}isNonstaticConstructor(r){return!r.computed&&!r.static&&this.nameIsConstructor(r.key)}parseClassBody(r,e){this.classScope.enter();const i={hadConstructor:!1,hadSuperClass:r};let o=[];const T=this.startNode();if(T.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(o.length>0)throw this.raise(_.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){o.push(this.parseDecorator());continue}const C=this.startNode();o.length&&(C.decorators=o,this.resetStartLocationFromNode(C,o[0]),o=[]),this.parseClassMember(T,C,i),C.kind==="constructor"&&C.decorators&&C.decorators.length>0&&this.raise(_.DecoratorConstructor,C)}}),this.state.strict=e,this.next(),o.length)throw this.raise(_.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(T,"ClassBody")}parseClassMemberFromModifier(r,e){const i=this.parseIdentifier(!0);if(this.isClassMethod()){const o=e;return o.kind="method",o.computed=!1,o.key=i,o.static=!1,this.pushClassMethod(r,o,!1,!1,!1,!1),!0}else if(this.isClassProperty()){const o=e;return o.computed=!1,o.key=i,o.static=!1,r.body.push(this.parseClassProperty(o)),!0}return this.resetPreviousNodeTrailingComments(i),!1}parseClassMember(r,e,i){const o=this.isContextual(106);if(o){if(this.parseClassMemberFromModifier(r,e))return;if(this.eat(5)){this.parseClassStaticBlock(r,e);return}}this.parseClassMemberWithIsStatic(r,e,i,o)}parseClassMemberWithIsStatic(r,e,i,o){const T=e,C=e,L=e,K=e,$=e,ee=T,me=T;if(e.static=o,this.parsePropertyNamePrefixOperator(e),this.eat(55)){ee.kind="method";const Ze=this.match(139);if(this.parseClassElementName(ee),Ze){this.pushClassPrivateMethod(r,C,!0,!1);return}this.isNonstaticConstructor(T)&&this.raise(_.ConstructorIsGenerator,T.key),this.pushClassMethod(r,T,!0,!1,!1,!1);return}const _e=!this.state.containsEsc&&ce(this.state.type),Ne=this.parseClassElementName(e),ke=_e?Ne.name:null,Qe=this.isPrivateName(Ne),mt=this.state.startLoc;if(this.parsePostMemberNameModifiers(me),this.isClassMethod()){if(ee.kind="method",Qe){this.pushClassPrivateMethod(r,C,!1,!1);return}const Ze=this.isNonstaticConstructor(T);let ut=!1;Ze&&(T.kind="constructor",i.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(_.DuplicateConstructor,Ne),Ze&&this.hasPlugin("typescript")&&e.override&&this.raise(_.OverrideOnConstructor,Ne),i.hadConstructor=!0,ut=i.hadSuperClass),this.pushClassMethod(r,T,!1,!1,Ze,ut)}else if(this.isClassProperty())Qe?this.pushClassPrivateProperty(r,K):this.pushClassProperty(r,L);else if(ke==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(Ne);const Ze=this.eat(55);me.optional&&this.unexpected(mt),ee.kind="method";const ut=this.match(139);this.parseClassElementName(ee),this.parsePostMemberNameModifiers(me),ut?this.pushClassPrivateMethod(r,C,Ze,!0):(this.isNonstaticConstructor(T)&&this.raise(_.ConstructorIsAsync,T.key),this.pushClassMethod(r,T,Ze,!0,!1,!1))}else if((ke==="get"||ke==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(Ne),ee.kind=ke;const Ze=this.match(139);this.parseClassElementName(T),Ze?this.pushClassPrivateMethod(r,C,!1,!1):(this.isNonstaticConstructor(T)&&this.raise(_.ConstructorIsAccessor,T.key),this.pushClassMethod(r,T,!1,!1,!1,!1)),this.checkGetterSetterParams(T)}else if(ke==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(Ne);const Ze=this.match(139);this.parseClassElementName(L),this.pushClassAccessorProperty(r,$,Ze)}else this.isLineTerminator()?Qe?this.pushClassPrivateProperty(r,K):this.pushClassProperty(r,L):this.unexpected()}parseClassElementName(r){const{type:e,value:i}=this.state;if((e===132||e===134)&&r.static&&i==="prototype"&&this.raise(_.StaticPrototype,this.state.startLoc),e===139){i==="constructor"&&this.raise(_.ConstructorClassPrivateField,this.state.startLoc);const o=this.parsePrivateName();return r.key=o,o}return this.parsePropertyName(r),r.key}parseClassStaticBlock(r,e){var i;this.scope.enter(208);const o=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const T=e.body=[];this.parseBlockOrModuleBlockBody(T,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=o,r.body.push(this.finishNode(e,"StaticBlock")),(i=e.decorators)!=null&&i.length&&this.raise(_.DecoratorStaticBlock,e)}pushClassProperty(r,e){!e.computed&&this.nameIsConstructor(e.key)&&this.raise(_.ConstructorClassField,e.key),r.body.push(this.parseClassProperty(e))}pushClassPrivateProperty(r,e){const i=this.parseClassPrivateProperty(e);r.body.push(i),this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),0,i.key.loc.start)}pushClassAccessorProperty(r,e,i){!i&&!e.computed&&this.nameIsConstructor(e.key)&&this.raise(_.ConstructorClassField,e.key);const o=this.parseClassAccessorProperty(e);r.body.push(o),i&&this.classScope.declarePrivateName(this.getPrivateNameSV(o.key),0,o.key.loc.start)}pushClassMethod(r,e,i,o,T,C){r.body.push(this.parseMethod(e,i,o,T,C,"ClassMethod",!0))}pushClassPrivateMethod(r,e,i,o){const T=this.parseMethod(e,i,o,!1,!1,"ClassPrivateMethod",!0);r.body.push(T);const C=T.kind==="get"?T.static?6:2:T.kind==="set"?T.static?5:1:0;this.declareClassPrivateMethodInScope(T,C)}declareClassPrivateMethodInScope(r,e){this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),e,r.key.loc.start)}parsePostMemberNameModifiers(r){}parseClassPrivateProperty(r){return this.parseInitializer(r),this.semicolon(),this.finishNode(r,"ClassPrivateProperty")}parseClassProperty(r){return this.parseInitializer(r),this.semicolon(),this.finishNode(r,"ClassProperty")}parseClassAccessorProperty(r){return this.parseInitializer(r),this.semicolon(),this.finishNode(r,"ClassAccessorProperty")}parseInitializer(r){this.scope.enter(80),this.expressionScope.enter(br()),this.prodParam.enter(0),r.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(r,e,i,o=8331){if(ce(this.state.type))r.id=this.parseIdentifier(),e&&this.declareNameFromIdentifier(r.id,o);else if(i||!e)r.id=null;else throw this.raise(_.MissingClassName,this.state.startLoc)}parseClassSuper(r){r.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(r,e){const i=this.parseMaybeImportPhase(r,!0),o=this.maybeParseExportDefaultSpecifier(r,i),T=!o||this.eat(12),C=T&&this.eatExportStar(r),L=C&&this.maybeParseExportNamespaceSpecifier(r),K=T&&(!L||this.eat(12)),$=o||C;if(C&&!L){if(o&&this.unexpected(),e)throw this.raise(_.UnsupportedDecoratorExport,r);return this.parseExportFrom(r,!0),this.finishNode(r,"ExportAllDeclaration")}const ee=this.maybeParseExportNamedSpecifiers(r);o&&T&&!C&&!ee&&this.unexpected(null,5),L&&K&&this.unexpected(null,98);let me;if($||ee){if(me=!1,e)throw this.raise(_.UnsupportedDecoratorExport,r);this.parseExportFrom(r,$)}else me=this.maybeParseExportDeclaration(r);if($||ee||me){var _e;const Ne=r;if(this.checkExport(Ne,!0,!1,!!Ne.source),((_e=Ne.declaration)==null?void 0:_e.type)==="ClassDeclaration")this.maybeTakeDecorators(e,Ne.declaration,Ne);else if(e)throw this.raise(_.UnsupportedDecoratorExport,r);return this.finishNode(Ne,"ExportNamedDeclaration")}if(this.eat(65)){const Ne=r,ke=this.parseExportDefaultExpression();if(Ne.declaration=ke,ke.type==="ClassDeclaration")this.maybeTakeDecorators(e,ke,Ne);else if(e)throw this.raise(_.UnsupportedDecoratorExport,r);return this.checkExport(Ne,!0,!0),this.finishNode(Ne,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(r){return this.eat(55)}maybeParseExportDefaultSpecifier(r,e){if(e||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",e?.loc.start);const i=e||this.parseIdentifier(!0),o=this.startNodeAtNode(i);return o.exported=i,r.specifiers=[this.finishNode(o,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(r){if(this.isContextual(93)){var e,i;(i=(e=r).specifiers)!=null||(e.specifiers=[]);const o=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),o.exported=this.parseModuleExportName(),r.specifiers.push(this.finishNode(o,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(r){if(this.match(5)){const e=r;e.specifiers||(e.specifiers=[]);const i=e.exportKind==="type";return e.specifiers.push(...this.parseExportSpecifiers(i)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(r){return this.shouldParseExportDeclaration()?(r.specifiers=[],r.source=null,this.hasPlugin("importAssertions")&&(r.assertions=[]),r.declaration=this.parseExportDeclaration(r),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;const r=this.nextTokenInLineStart();return this.isUnparsedContextual(r,"function")}parseExportDefaultExpression(){const r=this.startNode();if(this.match(68))return this.next(),this.parseFunction(r,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(r,13);if(this.match(80))return this.parseClass(r,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(_.DecoratorBeforeExport,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(_.UnsupportedDefaultExport,this.state.startLoc);const e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}parseExportDeclaration(r){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:r}=this.state;if(ce(r)){if(r===95&&!this.state.containsEsc||r===100)return!1;if((r===130||r===129)&&!this.state.containsEsc){const{type:o}=this.lookahead();if(ce(o)&&o!==98||o===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const e=this.nextTokenStart(),i=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||ce(this.state.type)&&i)return!0;if(this.match(65)&&i){const o=this.input.charCodeAt(this.nextTokenStartSince(e+4));return o===34||o===39}return!1}parseExportFrom(r,e){this.eatContextual(98)?(r.source=this.parseImportSource(),this.checkExport(r),this.maybeParseImportAttributes(r),this.checkJSONModuleImport(r)):e&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:r}=this.state;return r===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(_.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)?(this.raise(_.UsingDeclarationExport,this.state.startLoc),!0):this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(_.UsingDeclarationExport,this.state.startLoc),!0):r===74||r===75||r===68||r===80||this.isLet()||this.isAsyncFunction()}checkExport(r,e,i,o){if(e){var T;if(i){if(this.checkDuplicateExports(r,"default"),this.hasPlugin("exportDefaultFrom")){var C;const L=r.declaration;L.type==="Identifier"&&L.name==="from"&&L.end-L.start===4&&!((C=L.extra)!=null&&C.parenthesized)&&this.raise(_.ExportDefaultFromAsIdentifier,L)}}else if((T=r.specifiers)!=null&&T.length)for(const L of r.specifiers){const{exported:K}=L,$=K.type==="Identifier"?K.name:K.value;if(this.checkDuplicateExports(L,$),!o&&L.local){const{local:ee}=L;ee.type!=="Identifier"?this.raise(_.ExportBindingIsString,L,{localName:ee.value,exportName:$}):(this.checkReservedWord(ee.name,ee.loc.start,!0,!1),this.scope.checkLocalExport(ee))}}else if(r.declaration){const L=r.declaration;if(L.type==="FunctionDeclaration"||L.type==="ClassDeclaration"){const{id:K}=L;if(!K)throw new Error("Assertion failure");this.checkDuplicateExports(r,K.name)}else if(L.type==="VariableDeclaration")for(const K of L.declarations)this.checkDeclaration(K.id)}}}checkDeclaration(r){if(r.type==="Identifier")this.checkDuplicateExports(r,r.name);else if(r.type==="ObjectPattern")for(const e of r.properties)this.checkDeclaration(e);else if(r.type==="ArrayPattern")for(const e of r.elements)e&&this.checkDeclaration(e);else r.type==="ObjectProperty"?this.checkDeclaration(r.value):r.type==="RestElement"?this.checkDeclaration(r.argument):r.type==="AssignmentPattern"&&this.checkDeclaration(r.left)}checkDuplicateExports(r,e){this.exportedIdentifiers.has(e)&&(e==="default"?this.raise(_.DuplicateDefaultExport,r):this.raise(_.DuplicateExport,r,{exportName:e})),this.exportedIdentifiers.add(e)}parseExportSpecifiers(r){const e=[];let i=!0;for(this.expect(5);!this.eat(8);){if(i)i=!1;else if(this.expect(12),this.eat(8))break;const o=this.isContextual(130),T=this.match(134),C=this.startNode();C.local=this.parseModuleExportName(),e.push(this.parseExportSpecifier(C,T,r,o))}return e}parseExportSpecifier(r,e,i,o){return this.eatContextual(93)?r.exported=this.parseModuleExportName():e?r.exported=pr(r.local):r.exported||(r.exported=xt(r.local)),this.finishNode(r,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){const r=this.parseStringLiteral(this.state.value),e=Ci.exec(r.value);return e&&this.raise(_.ModuleExportNameHasLoneSurrogate,r,{surrogateCharCode:e[0].charCodeAt(0)}),r}return this.parseIdentifier(!0)}isJSONModuleImport(r){return r.assertions!=null?r.assertions.some(({key:e,value:i})=>i.value==="json"&&(e.type==="Identifier"?e.name==="type":e.value==="type")):!1}checkImportReflection(r){const{specifiers:e}=r,i=e.length===1?e[0].type:null;if(r.phase==="source")i!=="ImportDefaultSpecifier"&&this.raise(_.SourcePhaseImportRequiresDefault,e[0].loc.start);else if(r.phase==="defer")i!=="ImportNamespaceSpecifier"&&this.raise(_.DeferImportRequiresNamespace,e[0].loc.start);else if(r.module){var o;i!=="ImportDefaultSpecifier"&&this.raise(_.ImportReflectionNotBinding,e[0].loc.start),((o=r.assertions)==null?void 0:o.length)>0&&this.raise(_.ImportReflectionHasAssertion,e[0].loc.start)}}checkJSONModuleImport(r){if(this.isJSONModuleImport(r)&&r.type!=="ExportAllDeclaration"){const{specifiers:e}=r;if(e!=null){const i=e.find(o=>{let T;if(o.type==="ExportSpecifier"?T=o.local:o.type==="ImportSpecifier"&&(T=o.imported),T!==void 0)return T.type==="Identifier"?T.name!=="default":T.value!=="default"});i!==void 0&&this.raise(_.ImportJSONBindingNotDefault,i.loc.start)}}}isPotentialImportPhase(r){return r?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(r,e,i,o){e||(i==="module"?(this.expectPlugin("importReflection",o),r.module=!0):this.hasPlugin("importReflection")&&(r.module=!1),i==="source"?(this.expectPlugin("sourcePhaseImports",o),r.phase="source"):i==="defer"?(this.expectPlugin("deferredImportEvaluation",o),r.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(r.phase=null))}parseMaybeImportPhase(r,e){if(!this.isPotentialImportPhase(e))return this.applyImportPhase(r,e,null),null;const i=this.parseIdentifier(!0),{type:o}=this.state;return(fe(o)?o!==98||this.lookaheadCharCode()===102:o!==12)?(this.resetPreviousIdentifierLeadingComments(i),this.applyImportPhase(r,e,i.name,i.loc.start),null):(this.applyImportPhase(r,e,null),i)}isPrecedingIdImportPhase(r){const{type:e}=this.state;return ce(e)?e!==98||this.lookaheadCharCode()===102:e!==12}parseImport(r){return this.match(134)?this.parseImportSourceAndAttributes(r):this.parseImportSpecifiersAndAfter(r,this.parseMaybeImportPhase(r,!1))}parseImportSpecifiersAndAfter(r,e){r.specifiers=[];const o=!this.maybeParseDefaultImportSpecifier(r,e)||this.eat(12),T=o&&this.maybeParseStarImportSpecifier(r);return o&&!T&&this.parseNamedImportSpecifiers(r),this.expectContextual(98),this.parseImportSourceAndAttributes(r)}parseImportSourceAndAttributes(r){var e;return(e=r.specifiers)!=null||(r.specifiers=[]),r.source=this.parseImportSource(),this.maybeParseImportAttributes(r),this.checkImportReflection(r),this.checkJSONModuleImport(r),this.semicolon(),this.finishNode(r,"ImportDeclaration")}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(r,e,i){e.local=this.parseIdentifier(),r.specifiers.push(this.finishImportSpecifier(e,i))}finishImportSpecifier(r,e,i=8201){return this.checkLVal(r.local,{type:e},i),this.finishNode(r,e)}parseImportAttributes(){this.expect(5);const r=[],e=new Set;do{if(this.match(8))break;const i=this.startNode(),o=this.state.value;if(e.has(o)&&this.raise(_.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:o}),e.add(o),this.match(134)?i.key=this.parseStringLiteral(o):i.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(_.ModuleAttributeInvalidValue,this.state.startLoc);i.value=this.parseStringLiteral(this.state.value),r.push(this.finishNode(i,"ImportAttribute"))}while(this.eat(12));return this.expect(8),r}parseModuleAttributes(){const r=[],e=new Set;do{const i=this.startNode();if(i.key=this.parseIdentifier(!0),i.key.name!=="type"&&this.raise(_.ModuleAttributeDifferentFromType,i.key),e.has(i.key.name)&&this.raise(_.ModuleAttributesWithDuplicateKeys,i.key,{key:i.key.name}),e.add(i.key.name),this.expect(14),!this.match(134))throw this.raise(_.ModuleAttributeInvalidValue,this.state.startLoc);i.value=this.parseStringLiteral(this.state.value),r.push(this.finishNode(i,"ImportAttribute"))}while(this.eat(12));return r}maybeParseImportAttributes(r){let e;var i=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?e=this.parseModuleAttributes():e=this.parseImportAttributes(),i=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(!this.hasPlugin("deprecatedImportAssert")&&!this.hasPlugin("importAssertions")&&this.raise(_.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(r,"deprecatedAssertSyntax",!0),this.next(),e=this.parseImportAttributes()):e=[];!i&&this.hasPlugin("importAssertions")?r.assertions=e:r.attributes=e}maybeParseDefaultImportSpecifier(r,e){if(e){const i=this.startNodeAtNode(e);return i.local=e,r.specifiers.push(this.finishImportSpecifier(i,"ImportDefaultSpecifier")),!0}else if(fe(this.state.type))return this.parseImportSpecifierLocal(r,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(r){if(this.match(55)){const e=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(r,e,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(r){let e=!0;for(this.expect(5);!this.eat(8);){if(e)e=!1;else{if(this.eat(14))throw this.raise(_.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const i=this.startNode(),o=this.match(134),T=this.isContextual(130);i.imported=this.parseModuleExportName();const C=this.parseImportSpecifier(i,o,r.importKind==="type"||r.importKind==="typeof",T,void 0);r.specifiers.push(C)}}parseImportSpecifier(r,e,i,o,T){if(this.eatContextual(93))r.local=this.parseIdentifier();else{const{imported:C}=r;if(e)throw this.raise(_.ImportBindingIsString,r,{importName:C.value});this.checkReservedWord(C.name,r.loc.start,!0,!0),r.local||(r.local=xt(C))}return this.finishImportSpecifier(r,"ImportSpecifier",T)}isThisParam(r){return r.type==="Identifier"&&r.name==="this"}}class pi extends Di{constructor(r,e,i){r=B(r),super(r,e),this.options=r,this.initializeScopes(),this.plugins=i,this.filename=r.sourceFilename,this.startIndex=r.startIndex;let o=0;r.allowAwaitOutsideFunction&&(o|=1),r.allowReturnOutsideFunction&&(o|=2),r.allowImportExportEverywhere&&(o|=8),r.allowSuperOutsideMethod&&(o|=16),r.allowUndeclaredExports&&(o|=32),r.allowNewTargetOutsideFunction&&(o|=4),r.ranges&&(o|=64),r.tokens&&(o|=128),r.createImportExpressions&&(o|=256),r.createParenthesizedExpressions&&(o|=512),r.errorRecovery&&(o|=1024),r.attachComment&&(o|=2048),r.annexB&&(o|=4096),this.optionFlags=o}getScopeHandler(){return Ht}parse(){this.enterInitialScopes();const r=this.startNode(),e=this.startNode();return this.nextToken(),r.errors=null,this.parseTopLevel(r,e),r.errors=this.state.errors,r.comments.length=this.state.commentsLen,r}}function Oi(x,r){var e;if(((e=r)==null?void 0:e.sourceType)==="unambiguous"){r=Object.assign({},r);try{r.sourceType="module";const i=Sr(r,x),o=i.parse();if(i.sawUnambiguousESM)return o;if(i.ambiguousScriptDifferentAst)try{return r.sourceType="script",Sr(r,x).parse()}catch{}else o.program.sourceType="script";return o}catch(i){try{return r.sourceType="script",Sr(r,x).parse()}catch{}throw i}}else return Sr(r,x).parse()}function vi(x,r){const e=Sr(r,x);return e.options.strictMode&&(e.state.strict=!0),e.getExpression()}function Li(x){const r={};for(const e of Object.keys(x))r[e]=ve(x[e]);return r}const wi=Li(Ye);function Sr(x,r){let e=pi;const i=new Map;if(x!=null&&x.plugins){for(const o of x.plugins){let T,C;typeof o=="string"?T=o:[T,C]=o,i.has(T)||i.set(T,C||{})}Pi(i),e=Ri(i)}return new e(x,r,i)}const fi=new Map;function Ri(x){const r=[];for(const o of Ii)x.has(o)&&r.push(o);const e=r.join("|");let i=fi.get(e);if(!i){i=pi;for(const o of r)i=li[o](i);fi.set(e,i)}return i}return Wi.parse=Oi,Wi.parseExpression=vi,Wi.tokTypes=wi,Wi}var Ji={},Mo,Ol;function Jf(){if(Ol)return Mo;Ol=1;var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,c=/^\s*/,u=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,d=/^:\s*/,D=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,h=/^[;\s]*/,f=/^\s+|\s+$/g,l=`
24
- `,O="/",m="*",M="",w="comment",P="declaration";Mo=function(Y,_){if(typeof Y!="string")throw new TypeError("First argument must be a string");if(!Y)return[];_=_||{};var z=1,B=1;function Z(F){var Q=F.match(n);Q&&(z+=Q.length);var re=F.lastIndexOf(l);B=~re?F.length-re:B+F.length}function X(){var F={line:z,column:B};return function(Q){return Q.position=new I(F),V(),Q}}function I(F){this.start=F,this.end={line:z,column:B},this.source=_.source}I.prototype.content=Y;function E(F){var Q=new Error(_.source+":"+z+":"+B+": "+F);if(Q.reason=F,Q.filename=_.source,Q.line=z,Q.column=B,Q.source=Y,!_.silent)throw Q}function N(F){var Q=F.exec(Y);if(Q){var re=Q[0];return Z(re),Y=Y.slice(re.length),Q}}function V(){N(c)}function te(F){var Q;for(F=F||[];Q=U();)Q!==!1&&F.push(Q);return F}function U(){var F=X();if(!(O!=Y.charAt(0)||m!=Y.charAt(1))){for(var Q=2;M!=Y.charAt(Q)&&(m!=Y.charAt(Q)||O!=Y.charAt(Q+1));)++Q;if(Q+=2,M===Y.charAt(Q-1))return E("End of comment missing");var re=Y.slice(2,Q-2);return B+=2,Z(re),Y=Y.slice(Q),B+=2,F({type:w,comment:re})}}function R(){var F=X(),Q=N(u);if(Q){if(U(),!N(d))return E("property missing ':'");var re=N(D),ue=F({type:P,property:ne(Q[0].replace(t,M)),value:re?ne(re[0].replace(t,M)):M});return N(h),ue}}function J(){var F=[];te(F);for(var Q;Q=R();)Q!==!1&&(F.push(Q),te(F));return F}return V(),J()};function ne(Y){return Y?Y.replace(f,M):M}return Mo}var vl;function zf(){if(vl)return Ji;vl=1;var t=Ji&&Ji.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(Ji,"__esModule",{value:!0}),Ji.default=c;var n=t(Jf());function c(u,d){var D=null;if(!u||typeof u!="string")return D;var h=(0,n.default)(u),f=typeof d=="function";return h.forEach(function(l){if(l.type==="declaration"){var O=l.property,m=l.value;f?d(O,m,l):m&&(D=D||{},D[O]=m)}}),D}return Ji}var Pt={},Ll;function $f(){return Ll||(Ll=1,Object.defineProperty(Pt,"__esModule",{value:!0}),Pt.styleDontStripPx=Pt.lowercasedAttributes=Pt.eventHandlerAttributes=Pt.svgCamelizedAttributes=Pt.numberAttributes=Pt.svgCoerceToBooleanAttributes=Pt.coerceToBooleanAttributes=Pt.renamedAttributes=void 0,Pt.renamedAttributes=new Map([["accept-charset","acceptCharset"],["class","className"],["for","htmlFor"],["http-equiv","httpEquiv"]]),Pt.coerceToBooleanAttributes=["allowFullScreen","async","autoFocus","autoPlay","checked","contentEditable","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","draggable","formNoValidate","hidden","itemScope","loop","multiple","muted","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","selected","spellCheck","value","capture","download"],Pt.svgCoerceToBooleanAttributes=["autoReverse","externalResourcesRequired","focusable","preserveAlpha"],Pt.numberAttributes=["border","cellPadding","cellSpacing","cols","marginHeight","marginWidth","maxLength","minLength","rows","rowSpan","size","span","start","tabIndex"],Pt.svgCamelizedAttributes=[["accent-height",!1],["alignment-baseline",!1],["arabic-form",!1],["baseline-shift",!1],["cap-height",!0],["clip-path",!1],["clip-rule",!1],["color-interpolation-filters",!1],["color-interpolation",!1],["color-profile",!1],["color-rendering",!1],["dominant-baseline",!1],["enable-background",!1],["fill-opacity",!1],["fill-rule",!1],["flood-color",!1],["flood-opacity",!1],["font-family",!1],["font-size-adjust",!0],["font-size",!0],["font-stretch",!1],["font-style",!1],["font-variant",!1],["font-weight",!0],["glyph-name",!1],["glyph-orientation-horizontal",!1],["glyph-orientation-vertical",!1],["horiz-adv-x",!0],["horiz-origin-x",!0],["image-rendering",!1],["letter-spacing",!0],["lighting-color",!1],["marker-end",!1],["marker-mid",!1],["marker-start",!1],["overline-position",!0],["overline-thickness",!0],["paint-order",!1],["panose-1",!1],["pointer-events",!1],["rendering-intent",!1],["shape-rendering",!1],["stop-color",!1],["stop-opacity",!1],["strikethrough-position",!0],["strikethrough-thickness",!0],["stroke-dasharray",!1],["stroke-dashoffset",!0],["stroke-linecap",!1],["stroke-linejoin",!1],["stroke-miterlimit",!0],["stroke-opacity",!1],["stroke-width",!0],["text-anchor",!1],["text-decoration",!1],["text-rendering",!1],["underline-position",!0],["underline-thickness",!0],["unicode-bidi",!1],["unicode-range",!1],["units-per-em",!0],["v-alphabetic",!0],["v-hanging",!0],["v-ideographic",!0],["v-mathematical",!0],["vector-effect",!1],["vert-adv-y",!0],["vert-origin-x",!0],["vert-origin-y",!0],["word-spacing",!0],["writing-mode",!1],["x-height",!0],["xmlns:xlink",!1]],Pt.eventHandlerAttributes=["onAbort","onAnimationEnd","onAnimationIteration","onAnimationStart","onBlur","onCanPlay","onCanPlayThrough","onChange","onClick","onCompositionEnd","onCompositionStart","onCompositionUpdate","onContextMenu","onCopy","onCut","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onError","onFocus","onGotPointerCapture","onInput","onInvalid","onKeyDown","onKeyPress","onKeyUp","onLoad","onLoadedData","onLoadedMetadata","onLoadStart","onLostPointerCapture","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPaste","onPause","onPlay","onPlaying","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onProgress","onRateChange","onReset","onScroll","onSeeked","onSeeking","onSelect","onStalled","onSubmit","onSuspend","onTimeUpdate","onToggle","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onTransitionEnd","onVolumeChange","onWaiting","onWheel"],Pt.lowercasedAttributes=["accessKey","autoComplete","charSet","classID","colSpan","cellSpacing","cellMargin","contextMenu","controlsList","crossOrigin","dateTime","encType","formAction","formEncType","formMethod","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","mediaGroup","radioGroup","srcDoc","srcLang","srcSet","useMap"],Pt.styleDontStripPx=["line-height","flex","mask-border-outset","mask-box-outset","mask-border-width"]),Pt}var wl;function Qf(){if(wl)return Xi;wl=1;var t=Xi&&Xi.__importDefault||function(_){return _&&_.__esModule?_:{default:_}};Object.defineProperty(Xi,"__esModule",{value:!0}),Xi.convertAttributes=D;const n=Wf(),c=Mt(),u=t(zf()),d=$f();function D(_){return _.map(({name:z,value:B})=>{if(z==="style")return Y("style",f(B));for(const[Z,X]of d.renamedAttributes)if(Z===z)return Y(X,B);for(const Z of d.eventHandlerAttributes)if(z===Z.toLowerCase())return ne(Z,B);for(const Z of d.svgCoerceToBooleanAttributes)if(z===Z)return w(Z,B);for(const Z of d.coerceToBooleanAttributes)if(z===Z.toLowerCase())return w(Z,B,new Set(["checked","disabled","selected","value"]));for(const Z of d.numberAttributes)if(z===Z.toLowerCase()){const X=Number(B);return Number.isFinite(X)?Y(Z,X):Y(Z,B)}for(const[Z,X]of d.svgCamelizedAttributes)if(z===Z){const I=M(z);if(X){const E=Number(B);if(Number.isFinite(E))return Y(I,E)}return Y(I,B)}for(const Z of d.lowercasedAttributes)if(z===Z.toLowerCase())return Y(Z,B);return Y(z,B)})}const h=/^(\d+)px$/;function f(_){const z=[];return(0,u.default)(_,(B,Z)=>{const X=!d.styleDontStripPx.includes(B.toLowerCase()),I=Z.match(h);z.push((0,c.objectProperty)((0,c.identifier)(M(B)),I!==null&&X?(0,c.numericLiteral)(Number(I[1])):(0,c.stringLiteral)(Z)))}),(0,c.objectExpression)(z)}const l=/[\-\:]([a-z])/g,O=_=>_[1].toUpperCase(),m=/^--\w+/;function M(_){return m.test(_)?`"${_}"`:_.replace(l,O)}function w(_,z,B){return z===""||z==="true"||z===_.toLowerCase()?B?.has(_)?Y(_,(0,c.booleanLiteral)(!0)):Y(_,null):z==="false"?Y(_,(0,c.booleanLiteral)(!1)):Y(_,z)}const P=/^\s*([\p{L}_\$][\p{L}_\$]*)\(\)\s*$/u;function ne(_,z){const B=z.match(P);if(B!==null)return Y(_,(0,c.identifier)(B[1]));try{const Z=(0,n.parse)(z);return Y(_,(0,c.arrowFunctionExpression)([(0,c.identifier)("event")],(0,c.blockStatement)(Z.program.body)))}catch{const Z=(0,c.expressionStatement)((0,c.templateLiteral)([(0,c.templateElement)({raw:z})],[]));return(0,c.addComment)(Z,"leading"," TODO: Fix event handler code",!0),Y(_,(0,c.arrowFunctionExpression)([(0,c.identifier)("event")],(0,c.blockStatement)([Z])))}}function Y(_,z){if(z===null)return(0,c.jsxAttribute)((0,c.jsxIdentifier)(_),null);switch(typeof z){case"string":return(0,c.jsxAttribute)((0,c.jsxIdentifier)(_),(0,c.stringLiteral)(z));case"number":return(0,c.jsxAttribute)((0,c.jsxIdentifier)(_),(0,c.jsxExpressionContainer)((0,c.numericLiteral)(z)));default:return(0,c.jsxAttribute)((0,c.jsxIdentifier)(_),(0,c.jsxExpressionContainer)(z))}}return Xi}var Na={},Rl;function Zf(){if(Rl)return Na;Rl=1,Object.defineProperty(Na,"__esModule",{value:!0}),Na.splitMergeTags=t;function t(n){let c=0;const u=[];let d="";const D=h=>h.length>0&&u.push({type:"string",value:h});for(let h=0;h<n.length;h++){let f=n[h];f==="{"&&n[h-1]!=="\\"?(c===0&&(D(d),d=""),d+=f,c+=1):f==="}"&&n[h-1]!=="\\"?(c-=1,d+=f,c===0&&(u.push({type:"merge",value:d}),d="")):d+=f}return D(d),u}return Na}var kl;function ed(){if(kl)return Ki;kl=1;var t=Ki&&Ki.__importDefault||function(B){return B&&B.__esModule?B:{default:B}};Object.defineProperty(Ki,"__esModule",{value:!0}),Ki.htmlToJsx=f;const n=t(wf()),c=Mt(),u=Gf(),d=Xf(),D=Qf(),h=Zf();function f(B){const Z=(0,u.parseFragment)(B.trim());let X;Z.childNodes.length===1?X=l(Z.childNodes[0],!0):X=(0,c.expressionStatement)((0,c.jsxFragment)((0,c.jsxOpeningFragment)(),(0,c.jsxClosingFragment)(),Z.childNodes.flatMap(N=>l(N,!1))));let E=(0,n.default)((0,c.program)([X]),{concise:!0}).code.trim();if(typeof E!="string")throw Error("Babel Output was not a string.");return E.endsWith(";")&&(E=E.slice(0,-1)),E}function l(B,Z){if(Z)if(Y(B)){const X=(0,c.blockStatement)([]);return(0,c.addComment)(X,"inner",B.data,!1),X}else if(_(B)){const X=(0,h.splitMergeTags)(B.value);return ne(X)}else{if(z(B))throw Error("Document type nodes cannot be processed by this function.");return B.nodeName==="style"||B.nodeName==="script"?(0,c.expressionStatement)(M(B.nodeName,B.attrs,B.childNodes)):(0,c.expressionStatement)(m(B.nodeName,B.attrs,B.childNodes))}else if(Y(B)){const X=(0,c.jsxEmptyExpression)();return(0,c.addComment)(X,"inner",B.data,!1),[(0,c.jsxExpressionContainer)(X)]}else if(_(B)){const X=(0,h.splitMergeTags)(B.value);return P(X)}else{if(z(B))throw Error("Document type nodes cannot be processed by this function.");return B.nodeName==="style"||B.nodeName==="script"?[M(B.nodeName,B.attrs,B.childNodes)]:[m(B.nodeName,B.attrs,B.childNodes)]}}function O(B){return(0,d.encode)(B,{mode:"nonAsciiPrintable",level:"html5"})}function m(B,Z,X){const I=X.length>0;return(0,c.jsxElement)((0,c.jsxOpeningElement)((0,c.jsxIdentifier)(B),(0,D.convertAttributes)(Z),!I),(0,c.jsxClosingElement)((0,c.jsxIdentifier)(B)),X.flatMap(E=>l(E,!1)))}function M(B,Z,X){const I=X.filter(_).map(V=>V.value).join(""),E=I.trim()!=="",N=E?[(0,c.jsxExpressionContainer)((0,c.templateLiteral)([(0,c.templateElement)({raw:I})],[]))]:[];return(0,c.jsxElement)((0,c.jsxOpeningElement)((0,c.jsxIdentifier)(B),(0,D.convertAttributes)(Z),!E),E?(0,c.jsxClosingElement)((0,c.jsxIdentifier)(B)):null,N)}function w(B,Z){return(0,c.addComment)(B,"inner",`$merge: ${Z}`,!1)}function P(B){return B.map(Z=>Z.type==="string"?(0,c.jsxText)(O(Z.value)):(0,c.jsxExpressionContainer)(w((0,c.jsxEmptyExpression)(),Z.value)))}function ne(B){return B.length===1&&B[0]?B[0]?.type==="string"?(0,c.expressionStatement)((0,c.stringLiteral)(B[0].value)):w((0,c.blockStatement)([]),B[0].value):(0,c.expressionStatement)((0,c.jsxFragment)((0,c.jsxOpeningFragment)(),(0,c.jsxClosingFragment)(),P(B)))}function Y(B){return B.nodeName==="#comment"}function _(B){return B.nodeName==="#text"}function z(B){return B.nodeName==="#document"||B.nodeName==="#document-fragment"}return Ki}var Ml;function td(){return Ml||(Ml=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToJsx=void 0;var n=ed();Object.defineProperty(t,"htmlToJsx",{enumerable:!0,get:function(){return n.htmlToJsx}})}(yo)),yo}var rd=td();function dd({htmlText:t,instance:n,node:c}){try{const u=rd.htmlToJsx(t),d=n.jsxStr;n.jsxStr=u;const D=n.jsxTransformer(c);return n.jsxStr=d,Array.isArray(D)?(console.log("Unexpected array result"),null):D||null}catch(u){return console.error("Error converting HTML to JSX:",u),null}}export{dd as HtmlToJsxConverter};