@fugood/bricks-cli 2.26.2-beta.0 → 2.26.2-beta.1
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.
- package/lib/1010.js +1 -1
- package/lib/1374.js +1 -1
- package/lib/1708.js +2 -2
- package/lib/2486.js +1 -1
- package/lib/2517.js +7 -7
- package/lib/2678.js +7 -0
- package/lib/3223.js +4 -4
- package/lib/3774.js +3 -3
- package/lib/4456.js +2 -2
- package/lib/6194.js +2 -1
- package/lib/6818.js +1 -1
- package/lib/7294.js +2 -2
- package/lib/7511.js +1 -1
- package/lib/8310.js +3 -0
- package/lib/8412.js +1 -0
- package/lib/907.js +60 -40
- package/lib/9439.js +46 -26
- package/lib/index.js +57 -52
- package/lib/lib.js +101 -81
- package/package.json +5 -5
- package/lib/4642.js +0 -9
package/lib/2678.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export const __rspack_esm_id=2678;export const __rspack_esm_ids=[2678];export const __webpack_modules__={75267(e,t,n){var r;(function(e,t,n){"use strict";var r=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,p=(e,t)=>function(){return t||(0,e[o(e)[0]])((t={exports:{}}).exports,t),t.exports},u=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))l.call(e,s)||s===n||i(e,s,{get:()=>t[s],enumerable:!(r=a(t,s))||r.enumerable});return e},c=(e,t,n)=>(n=null!=e?r(s(e)):{},u(!t&&e&&e.__esModule?n:i(n,"default",{value:e,enumerable:!0}),e)),d=p({"umd:@jridgewell/sourcemap-codec"(e,n){n.exports=t}}),f=p({"umd:@jridgewell/trace-mapping"(e,t){t.exports=n}}),y={},m={GenMapping:()=>x,addMapping:()=>P,addSegment:()=>A,allMappings:()=>N,fromMap:()=>D,maybeAddMapping:()=>g,maybeAddSegment:()=>v,setIgnore:()=>O,setSourceContent:()=>_,toDecodedMap:()=>I,toEncodedMap:()=>C};for(var T in m)i(y,T,{get:m[T],enumerable:!0});e.exports=u(i({},"__esModule",{value:!0}),y);var h=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function S(e,t){var n,r;let i=(n=e,r=t,n._indexes[r]);if(void 0!==i)return i;let{array:a,_indexes:o}=e,s=a.push(t);return o[t]=s-1}var E=c(d()),b=c(f()),x=class{constructor({file:e,sourceRoot:t}={}){this._names=new h,this._sources=new h,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=t,this._ignoreList=new h}};function A(e,t,n,r,i,a,o,s){return w(!1,e,t,n,r,i,a,o,s)}function P(e,t){return M(!1,e,t)}var v=(e,t,n,r,i,a,o,s)=>w(!0,e,t,n,r,i,a,o,s),g=(e,t)=>M(!0,e,t);function _(e,t,n){let{_sources:r,_sourcesContent:i}=e;i[S(r,t)]=n}function O(e,t,n=!0){let{_sources:r,_sourcesContent:i,_ignoreList:a}=e,o=S(r,t);o===i.length&&(i[o]=null),n?S(a,o):function(e,t){var n,r;let i=(n=e,r=t,n._indexes[r]);if(void 0===i)return;let{array:a,_indexes:o}=e;for(let e=i+1;e<a.length;e++){let t=a[e];a[e-1]=t,o[t]--}o[t]=void 0,a.pop()}(a,o)}function I(e){let{_mappings:t,_sources:n,_sourcesContent:r,_names:i,_ignoreList:a}=e;return function(e){let{length:t}=e,n=t;for(let t=n-1;t>=0&&!(e[t].length>0);n=t,t--);n<t&&(e.length=n)}(t),{version:3,file:e.file||void 0,names:i.array,sourceRoot:e.sourceRoot||void 0,sources:n.array,sourcesContent:r,mappings:t,ignoreList:a.array}}function C(e){let t=I(e);return Object.assign({},t,{mappings:(0,E.encode)(t.mappings)})}function D(e){let t=new b.TraceMap(e),n=new x({file:t.file,sourceRoot:t.sourceRoot});return L(n._names,t.names),L(n._sources,t.sources),n._sourcesContent=t.sourcesContent||t.sources.map(()=>null),n._mappings=(0,b.decodedMappings)(t),t.ignoreList&&L(n._ignoreList,t.ignoreList),n}function N(e){let t=[],{_mappings:n,_sources:r,_names:i}=e;for(let e=0;e<n.length;e++){let a=n[e];for(let n=0;n<a.length;n++){let o,s,l,p=a[n],u={line:e+1,column:p[0]};1!==p.length&&(o=r.array[p[1]],s={line:p[2]+1,column:p[3]},5===p.length&&(l=i.array[p[4]])),t.push({generated:u,source:o,original:s,name:l})}}return t}function w(e,t,n,r,i,a,o,s,l){let{_mappings:p,_sources:u,_sourcesContent:c,_names:d}=t,f=function(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}(p,n),y=function(e,t){let n=e.length;for(let r=n-1;r>=0&&!(t>=e[r][0]);n=r--);return n}(f,r);if(!i){var m,T;if(e&&(m=f,0===(T=y)||1===m[T-1].length))return;return k(f,y,[r])}let h=S(u,i),E=s?S(d,s):-1;if(h===c.length&&(c[h]=null!=l?l:null),!(e&&function(e,t,n,r,i,a){if(0===t)return!1;let o=e[t-1];return 1!==o.length&&n===o[1]&&r===o[2]&&i===o[3]&&a===(5===o.length?o[4]:-1)}(f,y,h,a,o,E)))return k(f,y,s?[r,h,a,o,E]:[r,h,a,o])}function k(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function L(e,t){for(let n=0;n<t.length;n++)S(e,t[n])}function M(e,t,n){let{generated:r,source:i,original:a,name:o,content:s}=n;return i?w(e,t,r.line-1,r.column,i,a.line-1,a.column,o,s):w(e,t,r.line-1,r.column,null,null,null,null,null)}})(e=n.nmd(e),n(14017),n(41969)),e.exports="default"in(r=e).exports?r.exports.default:r.exports},98079(e){e.exports=function(){"use strict";let e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,n=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function r(e){return e.startsWith("/")}function i(e){return/^[.?#]/.test(e)}function a(e){let n=t.exec(e);return o(n[1],n[2]||"",n[3],n[4]||"",n[5]||"/",n[6]||"",n[7]||"")}function o(e,t,n,r,i,a,o){return{scheme:e,user:t,host:n,port:r,path:i,query:a,hash:o,type:7}}function s(t){if(t.startsWith("//")){let e=a("http:"+t);return e.scheme="",e.type=6,e}if(r(t)){let e=a("http://foo.com"+t);return e.scheme="",e.host="",e.type=5,e}if(t.startsWith("file:")){let e,i;return i=(e=n.exec(t))[2],o("file:","",e[1]||"","",r(i)?i:"/"+i,e[3]||"",e[4]||"")}if(e.test(t))return a(t);let i=a("http://foo.com/"+t);return i.scheme="",i.host="",i.type=t?t.startsWith("?")?3:t.startsWith("#")?2:4:1,i}function l(e,t){let n=t<=4,r=e.path.split("/"),i=1,a=0,o=!1;for(let e=1;e<r.length;e++){let t=r[e];if(!t){o=!0;continue}if(o=!1,"."!==t){if(".."===t){a?(o=!0,a--,i--):n&&(r[i++]=t);continue}r[i++]=t,a++}}let s="";for(let e=1;e<i;e++)s+="/"+r[e];s&&(!o||s.endsWith("/.."))||(s+="/"),e.path=s}return function(e,t){if(!e&&!t)return"";let n=s(e),r=n.type;if(t&&7!==r){let e=s(t),i=e.type;switch(r){case 1:n.hash=e.hash;case 2:n.query=e.query;case 3:case 4:l(e,e.type),"/"===n.path?n.path=e.path:n.path=function(e){if(e.endsWith("/.."))return e;let t=e.lastIndexOf("/");return e.slice(0,t+1)}(e.path)+n.path;case 5:n.user=e.user,n.host=e.host,n.port=e.port;case 6:n.scheme=e.scheme}i>r&&(r=i)}l(n,r);let a=n.query+n.hash;switch(r){case 2:case 3:return a;case 4:{let r=n.path.slice(1);if(!r)return a||".";if(i(t||e)&&!i(r))return"./"+r+a;return r+a}case 5:return n.path+a;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+a}}}()},14017(e,t,n){var r;(function(e){"use strict";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a={},o={decode:()=>P,decodeGeneratedRanges:()=>b,decodeOriginalScopes:()=>S,encode:()=>g,encodeGeneratedRanges:()=>x,encodeOriginalScopes:()=>E};for(var s in o)t(a,s,{get:o[s],enumerable:!0});e.exports=((e,a,o,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of r(a))i.call(e,l)||l===o||t(e,l,{get:()=>a[l],enumerable:!(s=n(a,l))||s.enumerable});return e})(t({},"__esModule",{value:!0}),a);var l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=new Uint8Array(64),u=new Uint8Array(128);for(let e=0;e<l.length;e++){let t=l.charCodeAt(e);p[e]=t,u[t]=e}function c(e,t){let n=0,r=0,i=0;do n|=(31&(i=u[e.next()]))<<r,r+=5;while(32&i);let a=1&n;return n>>>=1,a&&(n=-0x80000000|-n),t+n}function d(e,t,n){let r=t-n;r=r<0?-r<<1|1:r<<1;do{let t=31&r;(r>>>=5)>0&&(t|=32),e.write(p[t])}while(r>0);return t}function f(e,t){return!(e.pos>=t)&&44!==e.peek()}var y="u">typeof TextDecoder?new TextDecoder:"u">typeof Buffer?{decode:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}},m=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(16384)}write(e){let{buffer:t}=this;t[this.pos++]=e,16384===this.pos&&(this.out+=y.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:n}=this;return n>0?t+y.decode(e.subarray(0,n)):t}},T=class{constructor(e){this.pos=0,this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){let{buffer:t,pos:n}=this,r=t.indexOf(e,n);return -1===r?t.length:r}},h=[];function S(e){let{length:t}=e,n=new T(e),r=[],i=[],a=0;for(;n.pos<t;n.pos++){a=c(n,a);let e=c(n,0);if(!f(n,t)){let t=i.pop();t[2]=a,t[3]=e;continue}let o=c(n,0),s=1&c(n,0)?[a,e,0,0,o,c(n,0)]:[a,e,0,0,o],l=h;if(f(n,t)){l=[];do{let e=c(n,0);l.push(e)}while(f(n,t))}s.vars=l,r.push(s),i.push(s)}return r}function E(e){let t=new m;for(let n=0;n<e.length;)n=function e(t,n,r,i){let a=t[n],{0:o,1:s,2:l,3:p,4:u,vars:c}=a;for(let e of(n>0&&r.write(44),i[0]=d(r,o,i[0]),d(r,s,0),d(r,u,0),d(r,+(6===a.length),0),6===a.length&&d(r,a[5],0),c))d(r,e,0);for(n++;n<t.length;){let{0:a,1:o}=t[n];if(a>l||a===l&&o>=p)break;n=e(t,n,r,i)}return r.write(44),i[0]=d(r,l,i[0]),d(r,p,0),n}(e,n,t,[0]);return t.flush()}function b(e){let{length:t}=e,n=new T(e),r=[],i=[],a=0,o=0,s=0,l=0,p=0,u=0,d=0,y=0;do{let e=n.indexOf(";"),t=0;for(;n.pos<e;n.pos++){let m;if(t=c(n,t),!f(n,e)){let e=i.pop();e[2]=a,e[3]=t;continue}let T=c(n,0),S=1&T,E=2&T,b=4&T,x=null,A=h;if(S){let e=c(n,o);s=c(n,o===e?s:0),o=e,m=[a,t,0,0,e,s]}else m=[a,t,0,0];if(m.isScope=!!b,E){let e=p,t=l===(l=c(n,l));p=c(n,t?p:0),u=c(n,t&&e===p?u:0),x=[l,p,u]}if(m.callsite=x,f(n,e)){A=[];do{let e;d=a,y=t;let r=c(n,0);if(r<-1){e=[[c(n,0)]];for(let t=-1;t>r;t--){let t=d;d=c(n,d),y=c(n,d===t?y:0);let r=c(n,0);e.push([r,d,y])}}else e=[[r]];A.push(e)}while(f(n,e))}m.bindings=A,r.push(m),i.push(m)}a++,n.pos=e+1}while(n.pos<t);return r}function x(e){if(0===e.length)return"";let t=new m;for(let n=0;n<e.length;)n=function e(t,n,r,i){let a=t[n],{0:o,1:s,2:l,3:p,isScope:u,callsite:c,bindings:f}=a;if(i[0]<o?(A(r,i[0],o),i[0]=o,i[1]=0):n>0&&r.write(44),i[1]=d(r,a[1],i[1]),d(r,6===a.length|2*!!c|4*!!u,0),6===a.length){let{4:e,5:t}=a;e!==i[2]&&(i[3]=0),i[2]=d(r,e,i[2]),i[3]=d(r,t,i[3])}if(c){let{0:e,1:t,2:n}=a.callsite;e!==i[4]?(i[5]=0,i[6]=0):t!==i[5]&&(i[6]=0),i[4]=d(r,e,i[4]),i[5]=d(r,t,i[5]),i[6]=d(r,n,i[6])}if(f)for(let e of f){e.length>1&&d(r,-e.length,0),d(r,e[0][0],0);let t=o,n=s;for(let i=1;i<e.length;i++){let a=e[i];t=d(r,a[1],t),n=d(r,a[2],n),d(r,a[0],0)}}for(n++;n<t.length;){let{0:a,1:o}=t[n];if(a>l||a===l&&o>=p)break;n=e(t,n,r,i)}return i[0]<l?(A(r,i[0],l),i[0]=l,i[1]=0):r.write(44),i[1]=d(r,p,i[1]),n}(e,n,t,[0,0,0,0,0,0,0]);return t.flush()}function A(e,t,n){do e.write(59);while(++t<n)}function P(e){let{length:t}=e,n=new T(e),r=[],i=0,a=0,o=0,s=0,l=0;do{let e=n.indexOf(";"),t=[],p=!0,u=0;for(i=0;n.pos<e;){let r;(i=c(n,i))<u&&(p=!1),u=i,f(n,e)?(a=c(n,a),o=c(n,o),s=c(n,s),r=f(n,e)?[i,a,o,s,l=c(n,l)]:[i,a,o,s]):r=[i],t.push(r),n.pos++}p||t.sort(v),r.push(t),n.pos=e+1}while(n.pos<=t);return r}function v(e,t){return e[0]-t[0]}function g(e){let t=new m,n=0,r=0,i=0,a=0;for(let o=0;o<e.length;o++){let s=e[o];if(o>0&&t.write(59),0===s.length)continue;let l=0;for(let e=0;e<s.length;e++){let o=s[e];e>0&&t.write(44),l=d(t,o[0],l),1!==o.length&&(n=d(t,o[1],n),r=d(t,o[2],r),i=d(t,o[3],i),4!==o.length&&(a=d(t,o[4],a)))}}return t.flush()}})(e=n.nmd(e)),e.exports="default"in(r=e).exports?r.exports.default:r.exports},41969(e,t,n){var r;(function(e,t,n){"use strict";var r=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,p=(e,t)=>function(){return t||(0,e[o(e)[0]])((t={exports:{}}).exports,t),t.exports},u=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))l.call(e,s)||s===n||i(e,s,{get:()=>t[s],enumerable:!(r=a(t,s))||r.enumerable});return e},c=(e,t,n)=>(n=null!=e?r(s(e)):{},u(!t&&e&&e.__esModule?n:i(n,"default",{value:e,enumerable:!0}),e)),d=p({"umd:@jridgewell/sourcemap-codec"(e,t){t.exports=n}}),f=p({"umd:@jridgewell/resolve-uri"(e,n){n.exports=t}}),y={},m={AnyMap:()=>_,FlattenMap:()=>_,GREATEST_LOWER_BOUND:()=>N,LEAST_UPPER_BOUND:()=>D,TraceMap:()=>w,allGeneratedPositionsFor:()=>F,decodedMap:()=>X,decodedMappings:()=>L,eachMapping:()=>R,encodedMap:()=>U,encodedMappings:()=>k,generatedPositionFor:()=>B,isIgnored:()=>V,originalPositionFor:()=>j,presortedDecodedMap:()=>J,sourceContentFor:()=>Y,traceSegment:()=>M};for(var T in m)i(y,T,{get:m[T],enumerable:!0});e.exports=u(i({},"__esModule",{value:!0}),y);var h=c(d()),S=c(f());function E(e,t){for(let n=t;n<e.length;n++)if(!function(e){for(let t=1;t<e.length;t++)if(e[t][0]<e[t-1][0])return!1;return!0}(e[n]))return n;return e.length}function b(e,t){return e[0]-t[0]}var x=!1;function A(e,t,n){for(let r=n+1;r<e.length&&e[r][0]===t;n=r++);return n}function P(e,t,n){for(let r=n-1;r>=0&&e[r][0]===t;n=r--);return n}function v(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function g(e){return"string"==typeof e?JSON.parse(e):e}var _=function(e,t){let n=g(e);if(!("sections"in n))return new w(n,t);let r=[],i=[],a=[],o=[],s=[];return function e(t,n,r,i,a,o,s,l,p,u,c){let{sections:d}=t;for(let t=0;t<d.length;t++){let{map:f,offset:y}=d[t],m=u,T=c;if(t+1<d.length){let e=d[t+1].offset;(m=Math.min(u,l+e.line))===u?T=Math.min(c,p+e.column):m<u&&(T=p+e.column)}!function(t,n,r,i,a,o,s,l,p,u,c){let d=g(t);if("sections"in d)return e(...arguments);let f=new w(d,n),y=i.length,m=o.length,T=L(f),{resolvedSources:h,sourcesContent:S,ignoreList:E}=f;if(O(i,h),O(o,f.names),S)O(a,S);else for(let e=0;e<h.length;e++)a.push(null);if(E)for(let e=0;e<E.length;e++)s.push(E[e]+y);for(let e=0;e<T.length;e++){let t=l+e;if(t>u)return;let n=function(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}(r,t),i=0===e?p:0,a=T[e];for(let e=0;e<a.length;e++){let r=a[e],o=i+r[0];if(t===u&&o>=c)return;if(1===r.length){n.push([o]);continue}let s=y+r[1],l=r[2],p=r[3];n.push(4===r.length?[o,s,l,p]:[o,s,l,p,m+r[4]])}}}(f,n,r,i,a,o,s,l+y.line,p+y.column,m,T)}}(n,t,r,i,a,o,s,0,0,1/0,1/0),J({version:3,file:n.file,names:o,sources:i,sourcesContent:a,mappings:r,ignoreList:s})};function O(e,t){for(let n=0;n<t.length;n++)e.push(t[n])}var I="`line` must be greater than 0 (lines start at line 1)",C="`column` must be greater than or equal to 0 (columns start at column 0)",D=-1,N=1,w=class{constructor(e,t){let n,r,i="string"==typeof e;if(!i&&e._decodedMemo)return e;let a=g(e),{version:o,file:s,names:l,sourceRoot:p,sources:u,sourcesContent:c}=a;this.version=o,this.file=s,this.names=l||[],this.sourceRoot=p,this.sources=u,this.sourcesContent=c,this.ignoreList=a.ignoreList||a.x_google_ignoreList||void 0;let d=(n=function(e){if(!e)return"";let t=e.lastIndexOf("/");return e.slice(0,t+1)}(t),r=p?p+"/":"",e=>(0,S.default)(r+(e||""),n));this.resolvedSources=u.map(d);let{mappings:f}=a;if("string"==typeof f)this._encoded=f,this._decoded=void 0;else if(Array.isArray(f))this._encoded=void 0,this._decoded=function(e,t){let n=E(e,0);if(n===e.length)return e;t||(e=e.slice());for(let i=n;i<e.length;i=E(e,i+1)){var r;e[i]=(r=e[i],t||(r=r.slice()),r.sort(b))}return e}(f,i);else if(a.sections)throw Error("TraceMap passed sectioned source map, please use FlattenMap export instead");else throw Error(`invalid source map: ${JSON.stringify(a)}`);this._decodedMemo=v(),this._bySources=void 0,this._bySourceMemos=void 0}};function k(e){var t;return null!=(t=e._encoded)?t:e._encoded=(0,h.encode)(e._decoded)}function L(e){return e._decoded||(e._decoded=(0,h.decode)(e._encoded))}function M(e,t,n){let r=L(e);if(t>=r.length)return null;let i=r[t],a=H(i,e._decodedMemo,t,n,N);return -1===a?null:i[a]}function j(e,t){let{line:n,column:r,bias:i}=t;if(--n<0)throw Error(I);if(r<0)throw Error(C);let a=L(e);if(n>=a.length)return W(null,null,null,null);let o=a[n],s=H(o,e._decodedMemo,n,r,i||N);if(-1===s)return W(null,null,null,null);let l=o[s];if(1===l.length)return W(null,null,null,null);let{names:p,resolvedSources:u}=e;return W(u[l[1]],l[2]+1,l[3],5===l.length?p[l[4]]:null)}function B(e,t){let{source:n,line:r,column:i,bias:a}=t;return G(e,n,r,i,a||N,!1)}function F(e,t){let{source:n,line:r,column:i,bias:a}=t;return G(e,n,r,i,a||D,!0)}function R(e,t){let n=L(e),{names:r,resolvedSources:i}=e;for(let e=0;e<n.length;e++){let a=n[e];for(let n=0;n<a.length;n++){let o=a[n],s=e+1,l=o[0],p=null,u=null,c=null,d=null;1!==o.length&&(p=i[o[1]],u=o[2]+1,c=o[3]),5===o.length&&(d=r[o[4]]),t({generatedLine:s,generatedColumn:l,source:p,originalLine:u,originalColumn:c,name:d})}}}function K(e,t){let{sources:n,resolvedSources:r}=e,i=n.indexOf(t);return -1===i&&(i=r.indexOf(t)),i}function Y(e,t){let{sourcesContent:n}=e;if(null==n)return null;let r=K(e,t);return -1===r?null:n[r]}function V(e,t){let{ignoreList:n}=e;if(null==n)return!1;let r=K(e,t);return -1!==r&&n.includes(r)}function J(e,t){let n=new w(q(e,[]),t);return n._decoded=e.mappings,n}function X(e){return q(e,L(e))}function U(e){return q(e,k(e))}function q(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t,ignoreList:e.ignoreList||e.x_google_ignoreList}}function W(e,t,n,r){return{source:e,line:t,column:n,name:r}}function $(e,t){return{line:e,column:t}}function H(e,t,n,r,i){let a=function(e,t,n,r){let{lastKey:i,lastNeedle:a,lastIndex:o}=n,s=0,l=e.length-1;if(r===i){if(t===a)return x=-1!==o&&e[o][0]===t,o;t>=a?s=-1===o?0:o:l=o}return n.lastKey=r,n.lastNeedle=t,n.lastIndex=function(e,t,n,r){for(;n<=r;){let i=n+(r-n>>1),a=e[i][0]-t;if(0===a)return x=!0,i;a<0?n=i+1:r=i-1}return x=!1,n-1}(e,t,s,l)}(e,r,t,n);return(x?a=(i===D?A:P)(e,r,a):i===D&&a++,-1===a||a===e.length)?-1:a}function G(e,t,n,r,i,a){if(--n<0)throw Error(I);if(r<0)throw Error(C);let{sources:o,resolvedSources:s}=e,l=o.indexOf(t);if(-1===l&&(l=s.indexOf(t)),-1===l)return a?[]:$(null,null);let p=e._bySourceMemos||(e._bySourceMemos=o.map(v)),u=(e._bySources||(e._bySources=function(e,t){let n=t.map(()=>[]);for(let t=0;t<e.length;t++){let r=e[t];for(let e=0;e<r.length;e++){let i=r[e];if(1===i.length)continue;let a=i[1],o=i[2],s=i[3],l=n[a];(l[o]||(l[o]=[])).push([s,t,i[0]])}}for(let e=0;e<n.length;e++){let t=n[e];for(let e=0;e<t.length;e++){let n=t[e];n&&n.sort(b)}}return n}(L(e),p)))[l][n];if(null==u)return a?[]:$(null,null);let c=p[l];if(a)return function(e,t,n,r,i){let a=H(e,t,n,r,N);if(!x&&i===D&&a++,-1===a||a===e.length)return[];let o=x?r:e[a][0];x||(a=P(e,o,a));let s=A(e,o,a),l=[];for(;a<=s;a++){let t=e[a];l.push($(t[1]+1,t[2]))}return l}(u,c,n,r,i);let d=H(u,c,n,r,i);if(-1===d)return $(null,null);let f=u[d];return $(f[1]+1,f[2])}})(e=n.nmd(e),n(98079),n(14017)),e.exports="default"in(r=e).exports?r.exports.default:r.exports},18398(e){let t={},n=t.hasOwnProperty,r=(e,t)=>{for(let r in e)n.call(e,r)&&t(r,e[r])},i=e=>"\\u"+("0000"+e).slice(-4),a=(e,t)=>{let n=e.toString(16);return t?n:n.toUpperCase()},o=t.toString,s=Array.isArray,l={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},p=/[\\\b\f\n\r\t]/,u=/[0-9]/,c=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,d=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,f=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,y=(e,t)=>{let n,m,T=()=>{P=A,++t.indentLevel,A=t.indent.repeat(t.indentLevel)},h={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},S=t&&t.json;S&&(h.quotes="double",h.wrap=!0),"single"!=(!(k=t)||r(k,(e,t)=>{h[e]=t}),t=h).quotes&&"double"!=t.quotes&&"backtick"!=t.quotes&&(t.quotes="single");let E="double"==t.quotes?'"':"backtick"==t.quotes?"`":"'",b=t.compact,x=t.lowercaseHex,A=t.indent.repeat(t.indentLevel),P="",v=t.__inline1__,g=t.__inline2__,_=b?"":"\n",O=!0,I="binary"==t.numbers,C="octal"==t.numbers,D="decimal"==t.numbers,N="hexadecimal"==t.numbers;if(S&&e&&"function"==typeof e.toJSON&&(e=e.toJSON()),"string"!=typeof(m=e)&&"[object String]"!=o.call(m)){let i,a,l,p;if(i=e,"[object Map]"==o.call(i))return 0==e.size?"new Map()":(b||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+y(Array.from(e),t)+")");if(a=e,"[object Set]"==o.call(a))return 0==e.size?"new Set()":"new Set("+y(Array.from(e),t)+")";if(l=e,"function"==typeof Buffer&&Buffer.isBuffer(l))return 0==e.length?"Buffer.from([])":"Buffer.from("+y(Array.from(e),t)+")";if(s(e)){n=[],t.wrap=!0,v&&(t.__inline1__=!1,t.__inline2__=!0),g||T();var w,k,L=e;let r=L.length,i=-1;for(;++i<r;){w=L[i],O=!1,g&&(t.__inline2__=!1),n.push((b||g?"":A)+y(w,t))}return O?"[]":g?"["+n.join(", ")+"]":"["+_+n.join(","+_)+_+(b?"":P)+"]"}if("number"==typeof(p=e)||"[object Number]"==o.call(p)||"bigint"==typeof e){let t;if(S)return JSON.stringify(Number(e));if(D)t=String(e);else if(N){let n=e.toString(16);x||(n=n.toUpperCase()),t="0x"+n}else I?t="0b"+e.toString(2):C&&(t="0o"+e.toString(8));return"bigint"==typeof e?t+"n":t}{let i;if("bigint"==typeof e)return S?JSON.stringify(Number(e)):e+"n";return(i=e,"[object Object]"==o.call(i))?(n=[],t.wrap=!0,T(),r(e,(e,r)=>{O=!1,n.push((b?"":A)+y(e,t)+":"+(b?"":" ")+y(r,t))}),O)?"{}":"{"+_+n.join(","+_)+_+(b?"":P)+"}":S?JSON.stringify(e)||"null":String(e)}}let M=t.escapeEverything?d:f;return n=e.replace(M,(e,n,r,o,s,d)=>{if(n){if(t.minimal)return n;let e=n.charCodeAt(0),r=n.charCodeAt(1);return t.es6?"\\u{"+a((e-55296)*1024+r-56320+65536,x)+"}":i(a(e,x))+i(a(r,x))}if(r)return i(a(r.charCodeAt(0),x));if("\0"==e&&!S&&!u.test(d.charAt(s+1)))return"\\0";if(o)return o==E||t.escapeEverything?"\\"+o:o;if(p.test(e))return l[e];if(t.minimal&&!c.test(e))return e;let f=a(e.charCodeAt(0),x);return S||f.length>2?i(f):"\\x"+("00"+f).slice(-2)}),"`"==E&&(n=n.replace(/\$\{/g,"\\${")),t.isScriptContext&&(n=n.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,S?"\\u003C!--":"\\x3C!--")),t.wrap&&(n=E+n+E),n};y.version="3.0.2",e.exports=y},96405(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor(e,t){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=e,this._indentChar=t;for(let e=0;e<64;e++)this._fastIndentations.push(t.repeat(e));this._allocQueue()}_allocQueue(){let e=this._queue;for(let t=0;t<16;t++)e.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(e,t,n,r,i){let a=this._queueCursor;a===this._queue.length&&this._allocQueue();let o=this._queue[a];o.char=e,o.repeat=t,o.line=n,o.column=r,o.filename=i,this._queueCursor++}_popQueue(){if(0===this._queueCursor)throw Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let e=this._map,t={code:(this._buf+this._str).trimRight(),decodedMap:null==e?void 0:e.getDecoded(),get __mergedMap(){return this.map},get map(){let n=e?e.get():null;return t.map=n,n},set map(value){Object.defineProperty(t,"map",{value,writable:!0})},get rawMappings(){let n=null==e?void 0:e.getRawMappings();return t.rawMappings=n,n},set rawMappings(value){Object.defineProperty(t,"rawMappings",{value,writable:!0})}};return t}append(e,t){this._flush(),this._append(e,this._sourcePosition,t)}appendChar(e){this._flush(),this._appendChar(e,1,this._sourcePosition)}queue(e){if(10===e)for(;0!==this._queueCursor;){let e=this._queue[this._queueCursor-1].char;if(32!==e&&9!==e)break;this._queueCursor--}let t=this._sourcePosition;this._pushQueue(e,1,t.line,t.column,t.filename)}queueIndentation(e){0!==e&&this._pushQueue(-1,e,void 0,void 0,void 0)}_flush(){let e=this._queueCursor,t=this._queue;for(let n=0;n<e;n++){let e=t[n];this._appendChar(e.char,e.repeat,e)}this._queueCursor=0}_appendChar(e,t,n){if(this._last=e,-1===e){let e=this._fastIndentations[t];void 0!==e?this._str+=e:this._str+=t>1?this._indentChar.repeat(t):this._indentChar}else this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);10!==e?(this._mark(n.line,n.column,n.identifierName,n.identifierNamePos,n.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(n.identifierName=void 0,n.identifierNamePos=void 0)}_append(e,t,n){let r=e.length,i=this._position;if(this._last=e.charCodeAt(r-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,!n&&!this._map){i.column+=r;return}let{column:a,identifierName:o,identifierNamePos:s,filename:l}=t,p=t.line;(null!=o||null!=s)&&this._canMarkIdName&&(t.identifierName=void 0,t.identifierNamePos=void 0);let u=e.indexOf("\n"),c=0;for(0!==u&&this._mark(p,a,o,s,l);-1!==u;)i.line++,i.column=0,(c=u+1)<r&&void 0!==p&&this._mark(++p,0,void 0,void 0,l),u=e.indexOf("\n",c);i.column+=r-c}_mark(e,t,n,r,i){var a;null==(a=this._map)||a.mark(this._position,e,t,n,r,i)}removeTrailingNewline(){let e=this._queueCursor;0!==e&&10===this._queue[e-1].char&&this._queueCursor--}removeLastSemicolon(){let e=this._queueCursor;0!==e&&59===this._queue[e-1].char&&this._queueCursor--}getLastChar(){let e=this._queueCursor;return 0!==e?this._queue[e-1].char:this._last}getNewlineCount(){let e=this._queueCursor,t=0;if(0===e)return+(10===this._last);for(let n=e-1;n>=0&&10===this._queue[n].char;n--)t++;return t===e&&10===this._last?t+1:t}endsWithCharAndNewline(){let e=this._queue,t=this._queueCursor;if(0!==t)return 10!==e[t-1].char?void 0:t>1?e[t-2].char:this._last}hasContent(){return 0!==this._queueCursor||!!this._last}exactSource(e,t){if(!this._map)return void t();this.source("start",e);let n=e.identifierName,r=this._sourcePosition;n&&(this._canMarkIdName=!1,r.identifierName=n),t(),n&&(this._canMarkIdName=!0,r.identifierName=void 0,r.identifierNamePos=void 0),this.source("end",e)}source(e,t){this._map&&this._normalizePosition(e,t,0)}sourceWithOffset(e,t,n){this._map&&this._normalizePosition(e,t,n)}_normalizePosition(e,t,n){let r=t[e],i=this._sourcePosition;r&&(i.line=r.line,i.column=Math.max(r.column+n,0),i.filename=t.filename)}getCurrentColumn(){let e=this._queue,t=this._queueCursor,n=-1,r=0;for(let i=0;i<t;i++){let t=e[i];10===t.char&&(n=r),r+=t.repeat}return -1===n?this._position.column+r:r-1-n}getCurrentLine(){let e=0,t=this._queue;for(let n=0;n<this._queueCursor;n++)10===t[n].char&&e++;return this._position.line+e}}},22005(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.BlockStatement=function(e){var t,n;this.tokenChar(123);let r=this.enterDelimited(),i=null==(t=e.directives)?void 0:t.length;if(i){let t=e.body.length?2:1;this.printSequence(e.directives,!0,t),null!=(n=e.directives[i-1].trailingComments)&&n.length||this.newline(t)}this.printSequence(e.body,!0),r(),this.rightBrace(e)},t.Directive=function(e){this.print(e.value),this.semicolon()},t.DirectiveLiteral=function(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.token(t);let{value:i}=e;if(r.test(i))if(n.test(i))throw Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.");else this.token(`'${i}'`);else this.token(`"${i}"`)},t.File=function(e){e.program&&this.print(e.program.interpreter),this.print(e.program)},t.InterpreterDirective=function(e){this.token(`#!${e.value}`),this.newline(1,!0)},t.Placeholder=function(e){this.token("%%"),this.print(e.name),this.token("%%"),"Statement"===e.expectedNode&&this.semicolon()},t.Program=function(e){var t,n;this.noIndentInnerCommentsHere(),this.printInnerComments();let r=null==(t=e.directives)?void 0:t.length;if(r){let t=e.body.length?2:1;this.printSequence(e.directives,void 0,t),null!=(n=e.directives[r-1].trailingComments)&&n.length||this.newline(t)}this.printSequence(e.body)};let n=/(?:^|[^\\])(?:\\\\)*'/,r=/(?:^|[^\\])(?:\\\\)*"/},19534(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ClassAccessorProperty=function(e){var t;this.printJoin(e.decorators);let n=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;n&&this.catchUp(n),this.tsPrintClassMemberModifiers(e),this.word("accessor",!0),this.space(),e.computed?(this.tokenChar(91),this.print(e.key),this.tokenChar(93)):(this._variance(e),this.print(e.key)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value)),this.semicolon()},t.ClassBody=function(e){if(this.tokenChar(123),0===e.body.length)this.tokenChar(125);else{this.newline();let t=function(e,t){if(!e.tokenMap||null==t.start||null==t.end)return null;let n=e.tokenMap.getIndexes(t);if(!n)return null;let r=1,i=0,a=0,o=()=>{for(;a<t.body.length&&null==t.body[a].start;)a++};return o(),s=>{let l;a<=s&&(a=s+1,o());let p=a===t.body.length?t.end:t.body[a].start;for(;r<n.length&&e.tokenMap.matchesOriginal(l=e._tokens[n[r]],";")&&l.start<p;)e.token(";",void 0,i++),r++}}(this,e);null==t||t(-1);let n=this.enterDelimited();this.printJoin(e.body,!0,!0,t,!0),n(),this.endsWith(10)||this.newline(),this.rightBrace(e)}},t.ClassExpression=t.ClassDeclaration=function(e,t){(r(t)||i(t))&&this._shouldPrintDecoratorsBeforeExport(t)||this.printJoin(e.decorators),e.declare&&(this.word("declare"),this.space()),e.abstract&&(this.word("abstract"),this.space()),this.word("class"),e.id&&(this.space(),this.print(e.id)),this.print(e.typeParameters),e.superClass&&(this.space(),this.word("extends"),this.space(),this.print(e.superClass),this.print(e.superTypeParameters)),e.implements&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements)),this.space(),this.print(e.body)},t.ClassMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body)},t.ClassPrivateMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body)},t.ClassPrivateProperty=function(e){this.printJoin(e.decorators),this.tsPrintClassMemberModifiers(e),this.print(e.key),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value)),this.semicolon()},t.ClassProperty=function(e){if(this.printJoin(e.decorators),!e.static&&!this.format.preserveFormat){var t;let n=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;n&&this.catchUp(n)}this.tsPrintClassMemberModifiers(e),e.computed?(this.tokenChar(91),this.print(e.key),this.tokenChar(93)):(this._variance(e),this.print(e.key)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value)),this.semicolon()},t.StaticBlock=function(e){this.word("static"),this.space(),this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,!0),this.rightBrace(e))},t._classMethodHead=function(e){if(this.printJoin(e.decorators),!this.format.preserveFormat){var t;let n=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;n&&this.catchUp(n)}this.tsPrintClassMemberModifiers(e),this._methodHead(e)};let{isExportDefaultDeclaration:r,isExportNamedDeclaration:i}=n(58135)},58121(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.addDeprecatedGenerators=function(e){Object.assign(e.prototype,{Noop(){},TSExpressionWithTypeArguments(e){this.print(e.expression),this.print(e.typeParameters)},DecimalLiteral(e){let t=this.getPossibleRaw(e);this.format.minified||void 0===t?this.word(e.value+"m"):this.word(t)}})}},6385(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=function(e){this.print(e.left),this.space(),"in"===e.operator||"instanceof"===e.operator?this.word(e.operator):(this.token(e.operator),this._endsWithDiv="/"===e.operator),this.space(),this.print(e.right)},t.AssignmentPattern=function(e){this.print(e.left),("Identifier"===e.left.type||p(e.left))&&(e.left.optional&&this.tokenChar(63),this.print(e.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(e.right)},t.AwaitExpression=function(e){this.word("await"),this.space(),this.print(e.argument)},t.BindExpression=function(e){this.print(e.object),this.token("::"),this.print(e.callee)},t.CallExpression=function(e){this.print(e.callee),this.print(e.typeArguments),this.print(e.typeParameters),this.tokenChar(40);let t=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),t(),this.rightParens(e)},t.ConditionalExpression=function(e){this.print(e.test),this.space(),this.tokenChar(63),this.space(),this.print(e.consequent),this.space(),this.tokenChar(58),this.space(),this.print(e.alternate)},t.Decorator=function(e){this.tokenChar(64),this.print(e.expression),this.newline()},t.DoExpression=function(e){e.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(e.body)},t.EmptyStatement=function(){this.semicolon(!0)},t.ExpressionStatement=function(e){this.tokenContext|=i.TokenContext.expressionStatement,this.print(e.expression),this.semicolon()},t.Import=function(){this.word("import")},t.MemberExpression=function(e){if(this.print(e.object),!e.computed&&s(e.property))throw TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;if(o(e.property)&&"number"==typeof e.property.value&&(t=!0),t){let t=this.enterDelimited();this.tokenChar(91),this.print(e.property),this.tokenChar(93),t()}else this.tokenChar(46),this.print(e.property)},t.MetaProperty=function(e){this.print(e.meta),this.tokenChar(46),this.print(e.property)},t.ModuleExpression=function(e){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:t}=e;(t.body.length||t.directives.length)&&this.newline(),this.print(t),this.dedent(),this.rightBrace(e)},t.NewExpression=function(e,t){if(this.word("new"),this.space(),this.print(e.callee),this.format.minified&&0===e.arguments.length&&!e.optional&&!a(t,{callee:e})&&!s(t)&&!l(t)||(this.print(e.typeArguments),this.print(e.typeParameters),e.optional&&this.token("?."),0===e.arguments.length&&this.tokenMap&&!this.tokenMap.endMatches(e,")")))return;this.tokenChar(40);let n=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),n(),this.rightParens(e)},t.OptionalCallExpression=function(e){this.print(e.callee),this.print(e.typeParameters),e.optional&&this.token("?."),this.print(e.typeArguments),this.tokenChar(40);let t=this.enterDelimited();this.printList(e.arguments),t(),this.rightParens(e)},t.OptionalMemberExpression=function(e){let{computed:t}=e,{optional:n,property:r}=e;if(this.print(e.object),!t&&s(r))throw TypeError("Got a MemberExpression for MemberExpression property");o(r)&&"number"==typeof r.value&&(t=!0),n&&this.token("?."),t?(this.tokenChar(91),this.print(r),this.tokenChar(93)):(n||this.tokenChar(46),this.print(r))},t.ParenthesizedExpression=function(e){this.tokenChar(40);let t=this.enterDelimited();this.print(e.expression),t(),this.rightParens(e)},t.PrivateName=function(e){this.tokenChar(35),this.print(e.id)},t.SequenceExpression=function(e){this.printList(e.expressions)},t.Super=function(){this.word("super")},t.ThisExpression=function(){this.word("this")},t.UnaryExpression=function(e){let{operator:t}=e;"void"===t||"delete"===t||"typeof"===t||"throw"===t?(this.word(t),this.space()):this.token(t),this.print(e.argument)},t.UpdateExpression=function(e){e.prefix?(this.token(e.operator),this.print(e.argument)):(this.print(e.argument,!0),this.token(e.operator))},t.V8IntrinsicIdentifier=function(e){this.tokenChar(37),this.word(e.name)},t.YieldExpression=function(e){e.delegate?(this.word("yield",!0),this.tokenChar(42),e.argument&&(this.space(),this.print(e.argument))):e.argument?(this.word("yield",!0),this.space(),this.print(e.argument)):this.word("yield")},t._shouldPrintDecoratorsBeforeExport=function(e){return"boolean"==typeof this.format.decoratorsBeforeExport?this.format.decoratorsBeforeExport:"number"==typeof e.start&&e.start===e.declaration.start};var r=n(58135),i=n(21956);let{isCallExpression:a,isLiteral:o,isMemberExpression:s,isNewExpression:l,isPattern:p}=r},93464(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.AnyTypeAnnotation=function(){this.word("any")},t.ArrayTypeAnnotation=function(e){this.print(e.elementType,!0),this.tokenChar(91),this.tokenChar(93)},t.BooleanLiteralTypeAnnotation=function(e){this.word(e.value?"true":"false")},t.BooleanTypeAnnotation=function(){this.word("boolean")},t.DeclareClass=function(e,t){s(t)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(e)},t.DeclareExportAllDeclaration=function(e){this.word("declare"),this.space(),i.ExportAllDeclaration.call(this,e)},t.DeclareExportDeclaration=function(e){this.word("declare"),this.space(),this.word("export"),this.space(),e.default&&(this.word("default"),this.space()),d.call(this,e)},t.DeclareFunction=function(e,t){s(t)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(e.id),this.print(e.id.typeAnnotation.typeAnnotation),e.predicate&&(this.space(),this.print(e.predicate)),this.semicolon()},t.DeclareInterface=function(e){this.word("declare"),this.space(),this.InterfaceDeclaration(e)},t.DeclareModule=function(e){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(e.id),this.space(),this.print(e.body)},t.DeclareModuleExports=function(e){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(e.typeAnnotation)},t.DeclareOpaqueType=function(e,t){s(t)||(this.word("declare"),this.space()),this.OpaqueType(e)},t.DeclareTypeAlias=function(e){this.word("declare"),this.space(),this.TypeAlias(e)},t.DeclareVariable=function(e,t){s(t)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(e.id),this.print(e.id.typeAnnotation),this.semicolon()},t.DeclaredPredicate=function(e){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(e.value),this.tokenChar(41)},t.EmptyTypeAnnotation=function(){this.word("empty")},t.EnumBooleanBody=function(e){let{explicitType:t}=e;p(this,"boolean",t),u(this,e)},t.EnumBooleanMember=function(e){c(this,e)},t.EnumDeclaration=function(e){let{id:t,body:n}=e;this.word("enum"),this.space(),this.print(t),this.print(n)},t.EnumDefaultedMember=function(e){let{id:t}=e;this.print(t),this.tokenChar(44)},t.EnumNumberBody=function(e){let{explicitType:t}=e;p(this,"number",t),u(this,e)},t.EnumNumberMember=function(e){c(this,e)},t.EnumStringBody=function(e){let{explicitType:t}=e;p(this,"string",t),u(this,e)},t.EnumStringMember=function(e){c(this,e)},t.EnumSymbolBody=function(e){p(this,"symbol",!0),u(this,e)},t.ExistsTypeAnnotation=function(){this.tokenChar(42)},t.FunctionTypeAnnotation=function(e,t){this.print(e.typeParameters),this.tokenChar(40),e.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(e.this.typeAnnotation),(e.params.length||e.rest)&&(this.tokenChar(44),this.space())),this.printList(e.params),e.rest&&(e.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(e.rest)),this.tokenChar(41);let n=null==t?void 0:t.type;null!=n&&("ObjectTypeCallProperty"===n||"ObjectTypeInternalSlot"===n||"DeclareFunction"===n||"ObjectTypeProperty"===n&&t.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(e.returnType)},t.FunctionTypeParam=function(e){this.print(e.name),e.optional&&this.tokenChar(63),e.name&&(this.tokenChar(58),this.space()),this.print(e.typeAnnotation)},t.IndexedAccessType=function(e){this.print(e.objectType,!0),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)},t.InferredPredicate=function(){this.tokenChar(37),this.word("checks")},t.InterfaceDeclaration=function(e){this.word("interface"),this.space(),this._interfaceish(e)},t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=function(e){this.print(e.id),this.print(e.typeParameters,!0)},t.InterfaceTypeAnnotation=function(e){var t;this.word("interface"),null!=(t=e.extends)&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends)),this.space(),this.print(e.body)},t.IntersectionTypeAnnotation=function(e){this.printJoin(e.types,void 0,void 0,f)},t.MixedTypeAnnotation=function(){this.word("mixed")},t.NullLiteralTypeAnnotation=function(){this.word("null")},t.NullableTypeAnnotation=function(e){this.tokenChar(63),this.print(e.typeAnnotation)},Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return o.NumericLiteral}}),t.NumberTypeAnnotation=function(){this.word("number")},t.ObjectTypeAnnotation=function(e){e.exact?this.token("{|"):this.tokenChar(123);let t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];t.length&&(this.newline(),this.space(),this.printJoin(t,!0,!0,void 0,void 0,()=>{(1!==t.length||e.inexact)&&(this.tokenChar(44),this.space())}),this.space()),e.inexact&&(this.indent(),this.token("..."),t.length&&this.newline(),this.dedent()),e.exact?this.token("|}"):this.tokenChar(125)},t.ObjectTypeCallProperty=function(e){e.static&&(this.word("static"),this.space()),this.print(e.value)},t.ObjectTypeIndexer=function(e){e.static&&(this.word("static"),this.space()),this._variance(e),this.tokenChar(91),e.id&&(this.print(e.id),this.tokenChar(58),this.space()),this.print(e.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(e.value)},t.ObjectTypeInternalSlot=function(e){e.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(e.id),this.tokenChar(93),this.tokenChar(93),e.optional&&this.tokenChar(63),e.method||(this.tokenChar(58),this.space()),this.print(e.value)},t.ObjectTypeProperty=function(e){e.proto&&(this.word("proto"),this.space()),e.static&&(this.word("static"),this.space()),("get"===e.kind||"set"===e.kind)&&(this.word(e.kind),this.space()),this._variance(e),this.print(e.key),e.optional&&this.tokenChar(63),e.method||(this.tokenChar(58),this.space()),this.print(e.value)},t.ObjectTypeSpreadProperty=function(e){this.token("..."),this.print(e.argument)},t.OpaqueType=function(e){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(e.id),this.print(e.typeParameters),e.supertype&&(this.tokenChar(58),this.space(),this.print(e.supertype)),e.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(e.impltype)),this.semicolon()},t.OptionalIndexedAccessType=function(e){this.print(e.objectType),e.optional&&this.token("?."),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)},t.QualifiedTypeIdentifier=function(e){this.print(e.qualification),this.tokenChar(46),this.print(e.id)},Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return o.StringLiteral}}),t.StringTypeAnnotation=function(){this.word("string")},t.SymbolTypeAnnotation=function(){this.word("symbol")},t.ThisTypeAnnotation=function(){this.word("this")},t.TupleTypeAnnotation=function(e){this.tokenChar(91),this.printList(e.types),this.tokenChar(93)},t.TypeAlias=function(e){this.word("type"),this.space(),this.print(e.id),this.print(e.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(e.right),this.semicolon()},t.TypeAnnotation=function(e,t){this.tokenChar(58),this.space(),"ArrowFunctionExpression"===t.type?this.tokenContext|=a.TokenContext.arrowFlowReturnType:e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)},t.TypeCastExpression=function(e){this.tokenChar(40),this.print(e.expression),this.print(e.typeAnnotation),this.tokenChar(41)},t.TypeParameter=function(e){this._variance(e),this.word(e.name),e.bound&&this.print(e.bound),e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default))},t.TypeParameterDeclaration=t.TypeParameterInstantiation=function(e){this.tokenChar(60),this.printList(e.params),this.tokenChar(62)},t.TypeofTypeAnnotation=function(e){this.word("typeof"),this.space(),this.print(e.argument)},t.UnionTypeAnnotation=function(e){this.printJoin(e.types,void 0,void 0,y)},t.Variance=function(e){"plus"===e.kind?this.tokenChar(43):this.tokenChar(45)},t.VoidTypeAnnotation=function(){this.word("void")},t._interfaceish=function(e){var t,n,r;this.print(e.id),this.print(e.typeParameters),null!=(t=e.extends)&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends)),"DeclareClass"===e.type&&(null!=(n=e.mixins)&&n.length&&(this.space(),this.word("mixins"),this.space(),this.printList(e.mixins)),null!=(r=e.implements)&&r.length&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements))),this.space(),this.print(e.body)},t._variance=function(e){var t;let n=null==(t=e.variance)?void 0:t.kind;null!=n&&("plus"===n?this.tokenChar(43):"minus"===n&&this.tokenChar(45))};var r=n(58135),i=n(58231),a=n(21956),o=n(32387);let{isDeclareExportDeclaration:s,isStatement:l}=r;function p(e,t,n){n&&(e.space(),e.word("of"),e.space(),e.word(t)),e.space()}function u(e,t){let{members:n}=t;for(let t of(e.token("{"),e.indent(),e.newline(),n))e.print(t),e.newline();t.hasUnknownMembers&&(e.token("..."),e.newline()),e.dedent(),e.token("}")}function c(e,t){e.print(t.id),e.space(),e.token("="),e.space(),e.print(t.init),e.token(",")}function d(e){if(e.declaration){let t=e.declaration;this.print(t),l(t)||this.semicolon()}else this.tokenChar(123),e.specifiers.length&&(this.space(),this.printList(e.specifiers),this.space()),this.tokenChar(125),e.source&&(this.space(),this.word("from"),this.space(),this.print(e.source)),this.semicolon()}function f(e){this.space(),this.token("&",!1,e),this.space()}function y(e){this.space(),this.token("|",!1,e),this.space()}},62798(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(94403);Object.keys(r).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n(6385);Object.keys(i).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var a=n(57734);Object.keys(a).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var o=n(19534);Object.keys(o).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var s=n(74564);Object.keys(s).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var l=n(58231);Object.keys(l).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var p=n(32387);Object.keys(p).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})});var u=n(93464);Object.keys(u).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})});var c=n(22005);Object.keys(c).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var d=n(25083);Object.keys(d).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}})});var f=n(39919);Object.keys(f).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})})},25083(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.JSXAttribute=function(e){this.print(e.name),e.value&&(this.tokenChar(61),this.print(e.value))},t.JSXClosingElement=function(e){this.tokenChar(60),this.tokenChar(47),this.print(e.name),this.tokenChar(62)},t.JSXClosingFragment=function(){this.token("</"),this.tokenChar(62)},t.JSXElement=function(e){let t=e.openingElement;if(this.print(t),!t.selfClosing){for(let t of(this.indent(),e.children))this.print(t);this.dedent(),this.print(e.closingElement)}},t.JSXEmptyExpression=function(){this.printInnerComments()},t.JSXExpressionContainer=function(e){this.tokenChar(123),this.print(e.expression),this.rightBrace(e)},t.JSXFragment=function(e){for(let t of(this.print(e.openingFragment),this.indent(),e.children))this.print(t);this.dedent(),this.print(e.closingFragment)},t.JSXIdentifier=function(e){this.word(e.name)},t.JSXMemberExpression=function(e){this.print(e.object),this.tokenChar(46),this.print(e.property)},t.JSXNamespacedName=function(e){this.print(e.namespace),this.tokenChar(58),this.print(e.name)},t.JSXOpeningElement=function(e){this.tokenChar(60),this.print(e.name),e.typeArguments&&this.print(e.typeArguments),this.print(e.typeParameters),e.attributes.length>0&&(this.space(),this.printJoin(e.attributes,void 0,void 0,n)),e.selfClosing&&(this.space(),this.tokenChar(47)),this.tokenChar(62)},t.JSXOpeningFragment=function(){this.tokenChar(60),this.tokenChar(62)},t.JSXSpreadAttribute=function(e){this.tokenChar(123),this.token("..."),this.print(e.argument),this.rightBrace(e)},t.JSXSpreadChild=function(e){this.tokenChar(123),this.token("..."),this.print(e.expression),this.rightBrace(e)},t.JSXText=function(e){let t=this.getPossibleRaw(e);void 0!==t?this.token(t,!0):this.token(e.value,!0)};function n(){this.space()}},74564(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowFunctionExpression=function(e,t){e.async&&(this.word("async",!0),this.space()),this._shouldPrintArrowParamsParens(e)?this._params(e,void 0,t):this.print(e.params[0],!0),this._predicate(e,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=i.TokenContext.arrowBody,this.print(e.body)},t.FunctionDeclaration=t.FunctionExpression=function(e,t){this._functionHead(e,t),this.space(),this.print(e.body)},t._functionHead=function(e,t){e.async&&(this.word("async"),this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.space()),this.word("function"),e.generator&&(this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.tokenChar(42)),this.space(),e.id&&this.print(e.id),this._params(e,e.id,t),"TSDeclareFunction"!==e.type&&this._predicate(e)},t._methodHead=function(e){let t=e.kind,n=e.key;("get"===t||"set"===t)&&(this.word(t),this.space()),e.async&&(this.word("async",!0),this.space()),("method"===t||"init"===t)&&e.generator&&this.tokenChar(42),e.computed?(this.tokenChar(91),this.print(n),this.tokenChar(93)):this.print(n),e.optional&&this.tokenChar(63),this._params(e,e.computed&&"StringLiteral"!==e.key.type?void 0:e.key)},t._param=function(e){this.printJoin(e.decorators),this.print(e),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)},t._parameters=function(e,t){let n=this.enterDelimited(),r=this.shouldPrintTrailingComma(t),i=e.length;for(let t=0;t<i;t++)this._param(e[t]),(r||t<i-1)&&(this.token(",",void 0,t),this.space());this.token(t),n()},t._params=function(e,t,n){this.print(e.typeParameters);let r=o.call(this,t,n);r&&this.sourceIdentifierName(r.name,r.pos),this.tokenChar(40),this._parameters(e.params,")");let i="ArrowFunctionExpression"===e.type;this.print(e.returnType,i),this._noLineTerminator=i},t._predicate=function(e,t){e.predicate&&(e.returnType||this.tokenChar(58),this.space(),this.print(e.predicate,t))},t._shouldPrintArrowParamsParens=function(e){var t,n;if(1!==e.params.length||e.typeParameters||e.returnType||e.predicate)return!0;let r=e.params[0];if(!a(r)||r.typeAnnotation||r.optional||null!=(t=r.leadingComments)&&t.length||null!=(n=r.trailingComments)&&n.length)return!0;if(this.tokenMap){if(null==e.loc||null!==this.tokenMap.findMatching(e,"("))return!0;let t=this.tokenMap.findMatching(e,"=>");return(null==t?void 0:t.loc)==null||t.loc.start.line!==e.loc.start.line}return!!this.format.retainLines};var r=n(58135),i=n(21956);let{isIdentifier:a}=r;function o(e,t){var n,r,i,a;let o,s=e;if(!s&&t){let e=t.type;"VariableDeclarator"===e?s=t.id:"AssignmentExpression"===e||"AssignmentPattern"===e?s=t.left:"ObjectProperty"===e||"ClassProperty"===e?t.computed&&"StringLiteral"!==t.key.type||(s=t.key):("ClassPrivateProperty"===e||"ClassAccessorProperty"===e)&&(s=t.key)}if(s)return"Identifier"===s.type?o={pos:null==(n=s.loc)?void 0:n.start,name:(null==(r=s.loc)?void 0:r.identifierName)||s.name}:"PrivateName"===s.type?o={pos:null==(i=s.loc)?void 0:i.start,name:"#"+s.id.name}:"StringLiteral"===s.type&&(o={pos:null==(a=s.loc)?void 0:a.start,name:s.value}),o}},58231(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ExportAllDeclaration=function(e){var t,n;this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(n=e.assertions)&&n.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,!1)):this.print(e.source),this.semicolon()},t.ExportDefaultDeclaration=function(e){d(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=i.TokenContext.exportDefault;let t=e.declaration;this.print(t),u(t)||this.semicolon()},t.ExportDefaultSpecifier=function(e){this.print(e.exported)},t.ExportNamedDeclaration=function(e){if(d(this,e),this.word("export"),this.space(),e.declaration){let t=e.declaration;this.print(t),u(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());let r=e.specifiers.slice(0),i=!1;for(;;){let e=r[0];if(o(e)||s(e))i=!0,this.print(r.shift()),r.length&&(this.tokenChar(44),this.space());else break}let a=!1;if(!r.length&&(r.length||i)||(a=!0,this.tokenChar(123),r.length&&(this.space(),this.printList(r,this.shouldPrintTrailingComma("}")),this.space()),this.tokenChar(125)),e.source){var t,n;this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(n=e.assertions)&&n.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,a)):this.print(e.source)}this.semicolon()}},t.ExportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported)},t.ExportSpecifier=function(e){"type"===e.exportKind&&(this.word("type"),this.space()),this.print(e.local),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported))},t.ImportAttribute=function(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)},t.ImportDeclaration=function(e){var t,n;this.word("import"),this.space();let r="type"===e.importKind||"typeof"===e.importKind;r?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):e.phase&&(this.noIndentInnerCommentsHere(),this.word(e.phase),this.space());let i=e.specifiers.slice(0),a=!!i.length;for(;a;){let e=i[0];if(l(e)||p(e))this.print(i.shift()),i.length&&(this.tokenChar(44),this.space());else break}let o=!1;i.length?(o=!0,this.tokenChar(123),this.space(),this.printList(i,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125)):r&&!a&&(o=!0,this.tokenChar(123),this.tokenChar(125)),(a||r)&&(this.space(),this.word("from"),this.space()),null!=(t=e.attributes)&&t.length||null!=(n=e.assertions)&&n.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,o)):this.print(e.source),this.semicolon()},t.ImportDefaultSpecifier=function(e){this.print(e.local)},t.ImportExpression=function(e){this.word("import"),e.phase&&(this.tokenChar(46),this.word(e.phase)),this.tokenChar(40);let t=this.shouldPrintTrailingComma(")");this.print(e.source),null!=e.options&&(this.tokenChar(44),this.space(),this.print(e.options)),t&&this.tokenChar(44),this.rightParens(e)},t.ImportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local)},t.ImportSpecifier=function(e){("type"===e.importKind||"typeof"===e.importKind)&&(this.word(e.importKind),this.space()),this.print(e.imported),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local))},t._printAttributes=function(e,t){var n;let{importAttributesKeyword:r}=this.format,{attributes:i,assertions:a}=e;i&&!r&&e.extra&&(e.extra.deprecatedAssertSyntax||e.extra.deprecatedWithLegacySyntax)&&!c&&(c=!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'));let o="assert"===r||!r&&a;if(this.word(o?"assert":"with"),this.space(),!o&&("with-legacy"===r||!r&&null!=(n=e.extra)&&n.deprecatedWithLegacySyntax))return void this.printList(i||a);let s=+!!t;this.token("{",void 0,s),this.space(),this.printList(i||a,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",void 0,s)};var r=n(58135),i=n(21956);let{isClassDeclaration:a,isExportDefaultSpecifier:o,isExportNamespaceSpecifier:s,isImportDefaultSpecifier:l,isImportNamespaceSpecifier:p,isStatement:u}=r,c=!1;function d(e,t){a(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators)}},57734(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BreakStatement=function(e){this.word("break"),l(this,e.label)},t.CatchClause=function(e){this.word("catch"),this.space(),e.param&&(this.tokenChar(40),this.print(e.param),this.print(e.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(e.body)},t.ContinueStatement=function(e){this.word("continue"),l(this,e.label)},t.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},t.DoWhileStatement=function(e){this.word("do"),this.space(),this.print(e.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.semicolon()},t.ForOfStatement=t.ForInStatement=void 0,t.ForStatement=function(e){this.word("for"),this.space(),this.tokenChar(40);{let t=this.enterForStatementInit();this.print(e.init),t()}this.tokenChar(59),e.test&&(this.space(),this.print(e.test)),this.token(";",!1,1),e.update&&(this.space(),this.print(e.update)),this.tokenChar(41),this.printBlock(e)},t.IfStatement=function(e){this.word("if"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.space();let t=e.alternate&&a(function e(t){let{body:n}=t;return!1===o(n)?t:e(n)}(e.consequent));t&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(e.consequent),t&&(this.dedent(),this.newline(),this.tokenChar(125)),e.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(e.alternate))},t.LabeledStatement=function(e){this.print(e.label),this.tokenChar(58),this.space(),this.print(e.body)},t.ReturnStatement=function(e){this.word("return"),l(this,e.argument)},t.SwitchCase=function(e){e.test?(this.word("case"),this.space(),this.print(e.test)):this.word("default"),this.tokenChar(58),e.consequent.length&&(this.newline(),this.printSequence(e.consequent,!0))},t.SwitchStatement=function(e){this.word("switch"),this.space(),this.tokenChar(40),this.print(e.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(e.cases,!0),this.rightBrace(e)},t.ThrowStatement=function(e){this.word("throw"),l(this,e.argument)},t.TryStatement=function(e){this.word("try"),this.space(),this.print(e.block),this.space(),e.handlers?this.print(e.handlers[0]):this.print(e.handler),e.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(e.finalizer))},t.VariableDeclaration=function(e,t){e.declare&&(this.word("declare"),this.space());let{kind:n}=e;"await using"===n?(this.word("await"),this.space(),this.word("using",!0)):this.word(n,"using"===n),this.space();let a=!1;if(!r(t))for(let t of e.declarations)t.init&&(a=!0);if(this.printList(e.declarations,void 0,void 0,e.declarations.length>1,a?function(e){this.token(",",!1,e),this.newline()}:void 0),r(t)){if(i(t)){if(t.init===e)return}else if(t.left===e)return}this.semicolon()},t.VariableDeclarator=function(e){this.print(e.id),e.definite&&this.tokenChar(33),this.print(e.id.typeAnnotation),e.init&&(this.space(),this.tokenChar(61),this.space(),this.print(e.init))},t.WhileStatement=function(e){this.word("while"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.printBlock(e)},t.WithStatement=function(e){this.word("with"),this.space(),this.tokenChar(40),this.print(e.object),this.tokenChar(41),this.printBlock(e)};let{isFor:r,isForStatement:i,isIfStatement:a,isStatement:o}=n(58135);function s(e){this.word("for"),this.space();let t="ForOfStatement"===e.type;t&&e.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40);{let n=this.enterForXStatementInit(t);this.print(e.left),null==n||n()}this.space(),this.word(t?"of":"in"),this.space(),this.print(e.right),this.tokenChar(41),this.printBlock(e)}function l(e,t){t&&(e.space(),e.printTerminatorless(t)),e.semicolon()}t.ForInStatement=s,t.ForOfStatement=s},94403(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.TaggedTemplateExpression=function(e){this.print(e.tag),this.print(e.typeParameters),this.print(e.quasi)},t.TemplateElement=function(){throw Error("TemplateElement printing is handled in TemplateLiteral")},t.TemplateLiteral=function(e){this._printTemplate(e,e.expressions)},t._printTemplate=function(e,t){let n=e.quasis,r="`";for(let i=0;i<n.length-1;i++)if(r+=n[i].value.raw,this.token(r+"${",!0),this.print(t[i]),r="}",this.tokenMap){let t=this.tokenMap.findMatching(e,"}",i);t&&this._catchUpTo(t.loc.start)}r+=n[n.length-1].value.raw,this.token(r+"`",!0)}},32387(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentPlaceholder=function(){this.tokenChar(63)},t.ArrayPattern=t.ArrayExpression=function(e){let t=e.elements,n=t.length;this.tokenChar(91);let r=this.enterDelimited();for(let e=0;e<t.length;e++){let r=t[e];r?(e>0&&this.space(),this.print(r),(e<n-1||this.shouldPrintTrailingComma("]"))&&this.token(",",!1,e)):this.token(",",!1,e)}r(),this.tokenChar(93)},t.BigIntLiteral=function(e){let t=this.getPossibleRaw(e);this.format.minified||void 0===t?this.word(e.value+"n"):this.word(t)},t.BooleanLiteral=function(e){this.word(e.value?"true":"false")},t.Identifier=function(e){var t;this.sourceIdentifierName((null==(t=e.loc)?void 0:t.identifierName)||e.name),this.word(this.tokenMap?this._getRawIdentifier(e):e.name)},t.NullLiteral=function(){this.word("null")},t.NumericLiteral=function(e){let t=this.getPossibleRaw(e),n=this.format.jsescOption,r=e.value,a=r+"";n.numbers?this.number(i(r,n),r):null==t?this.number(a,r):this.format.minified?this.number(t.length<a.length?t:a,r):this.number(t,r)},t.ObjectPattern=t.ObjectExpression=function(e){let t=e.properties;if(this.tokenChar(123),t.length){let e=this.enterDelimited();this.space(),this.printList(t,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),e()}this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)},t.ObjectMethod=function(e){this.printJoin(e.decorators),this._methodHead(e),this.space(),this.print(e.body)},t.ObjectProperty=function(e){if(this.printJoin(e.decorators),e.computed)this.tokenChar(91),this.print(e.key),this.tokenChar(93);else{if(a(e.value)&&o(e.key)&&e.key.name===e.value.left.name)return void this.print(e.value);if(this.print(e.key),e.shorthand&&o(e.key)&&o(e.value)&&e.key.name===e.value.name)return}this.tokenChar(58),this.space(),this.print(e.value)},t.PipelineBareFunction=function(e){this.print(e.callee)},t.PipelinePrimaryTopicReference=function(){this.tokenChar(35)},t.PipelineTopicExpression=function(e){this.print(e.expression)},t.RecordExpression=function(e){let t,n,r=e.properties;if("bar"===this.format.recordAndTupleSyntaxType)t="{|",n="|}";else if("hash"!==this.format.recordAndTupleSyntaxType&&null!=this.format.recordAndTupleSyntaxType)throw Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);else t="#{",n="}";this.token(t),r.length&&(this.space(),this.printList(r,this.shouldPrintTrailingComma(n),!0,!0),this.space()),this.token(n)},t.RegExpLiteral=function(e){this.word(`/${e.pattern}/${e.flags}`)},t.SpreadElement=t.RestElement=function(e){this.token("..."),this.print(e.argument)},t.StringLiteral=function(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.token(t);let n=i(e.value,this.format.jsescOption);this.token(n)},t.TopicReference=function(){let{topicToken:e}=this.format;if(p.has(e))this.token(e);else{let t=JSON.stringify(e),n=Array.from(p,e=>JSON.stringify(e));throw Error(`The "topicToken" generator option must be one of ${n.join(", ")} (${t} received instead).`)}},t.TupleExpression=function(e){let t,n,r=e.elements,i=r.length;if("bar"===this.format.recordAndTupleSyntaxType)t="[|",n="|]";else if("hash"===this.format.recordAndTupleSyntaxType)t="#[",n="]";else throw Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);this.token(t);for(let e=0;e<r.length;e++){let t=r[e];t&&(e>0&&this.space(),this.print(t),(e<i-1||this.shouldPrintTrailingComma(n))&&this.token(",",!1,e))}this.token(n)},t.VoidPattern=function(){this.word("void")},t._getRawIdentifier=function(e){if(e===s)return l;s=e;let{name:t}=e,n=this.tokenMap.find(e,e=>e.value===t);return l=n?this._originalCode.slice(n.start,n.end):e.name};var r=n(58135),i=n(18398);let{isAssignmentPattern:a,isIdentifier:o}=r,s=null,l="",p=new Set(["^^","@@","^","%","#"])},39919(e,t){function n(e,t){e.tokenMap&&t.start&&t.end?e.tokenMap.endMatches(t,",")?e.token(","):e.tokenMap.endMatches(t,";")&&e.semicolon():e.semicolon()}function r(e,t,n){var r;let i=0;null!=(r=e.tokenMap)&&r.startMatches(t,n)&&(i=1,e.token(n)),e.printJoin(t.types,void 0,void 0,function(e){this.space(),this.token(n,void 0,e+i),this.space()})}function i(e,t){!0!==t&&e.token(t)}function a(e){o(this,e,()=>{var t;return this.printList(e.members,null==(t=this.shouldPrintTrailingComma("}"))||t,!0,!0)})}function o(e,t,n){e.token("{");let r=e.enterDelimited();n(),r(),e.rightBrace(t)}function s(e,t,n){var r;let i=new Set;for(let e of n)e&&i.add(e);for(let n of(null==(r=e.tokenMap)||r.find(t,t=>!!i.has(t.value)&&(e.token(t.value),e.space(),i.delete(t.value),0===i.size)),i))e.word(n),e.space()}Object.defineProperty(t,"__esModule",{value:!0}),t.TSAnyKeyword=function(){this.word("any")},t.TSArrayType=function(e){this.print(e.elementType,!0),this.tokenChar(91),this.tokenChar(93)},t.TSSatisfiesExpression=t.TSAsExpression=function(e){let{type:t,expression:n,typeAnnotation:r}=e;this.print(n,!0),this.space(),this.word("TSAsExpression"===t?"as":"satisfies"),this.space(),this.print(r)},t.TSBigIntKeyword=function(){this.word("bigint")},t.TSBooleanKeyword=function(){this.word("boolean")},t.TSCallSignatureDeclaration=function(e){this.tsPrintSignatureDeclarationBase(e),n(this,e)},t.TSInterfaceHeritage=t.TSClassImplements=function(e){this.print(e.expression),this.print(e.typeArguments)},t.TSConditionalType=function(e){this.print(e.checkType),this.space(),this.word("extends"),this.space(),this.print(e.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(e.trueType),this.space(),this.tokenChar(58),this.space(),this.print(e.falseType)},t.TSConstructSignatureDeclaration=function(e){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(e),n(this,e)},t.TSConstructorType=function(e){e.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(e)},t.TSDeclareFunction=function(e,t){e.declare&&(this.word("declare"),this.space()),this._functionHead(e,t),this.semicolon()},t.TSDeclareMethod=function(e){this._classMethodHead(e),this.semicolon()},t.TSEnumBody=a,t.TSEnumDeclaration=function(e){let{declare:t,const:n,id:r}=e;t&&(this.word("declare"),this.space()),n&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(r),this.space(),a.call(this,e)},t.TSEnumMember=function(e){let{id:t,initializer:n}=e;this.print(t),n&&(this.space(),this.tokenChar(61),this.space(),this.print(n))},t.TSExportAssignment=function(e){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(e.expression),this.semicolon()},t.TSExternalModuleReference=function(e){this.token("require("),this.print(e.expression),this.tokenChar(41)},t.TSFunctionType=function(e){this.tsPrintFunctionOrConstructorType(e)},t.TSImportEqualsDeclaration=function(e){let{id:t,moduleReference:n}=e;e.isExport&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(t),this.space(),this.tokenChar(61),this.space(),this.print(n),this.semicolon()},t.TSImportType=function(e){let{argument:t,qualifier:n,options:r}=e;this.word("import"),this.tokenChar(40),this.print(t),r&&(this.tokenChar(44),this.print(r)),this.tokenChar(41),n&&(this.tokenChar(46),this.print(n));let i=e.typeParameters;i&&this.print(i)},t.TSIndexSignature=function(e){let{readonly:t,static:r}=e;r&&(this.word("static"),this.space()),t&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(e.parameters,"]"),this.print(e.typeAnnotation),n(this,e)},t.TSIndexedAccessType=function(e){this.print(e.objectType,!0),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)},t.TSInferType=function(e){this.word("infer"),this.print(e.typeParameter)},t.TSInstantiationExpression=function(e){this.print(e.expression),this.print(e.typeParameters)},t.TSInterfaceBody=function(e){o(this,e,()=>this.printJoin(e.body,!0,!0))},t.TSInterfaceDeclaration=function(e){let{declare:t,id:n,typeParameters:r,extends:i,body:a}=e;t&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(n),this.print(r),null!=i&&i.length&&(this.space(),this.word("extends"),this.space(),this.printList(i)),this.space(),this.print(a)},t.TSIntersectionType=function(e){r(this,e,"&")},t.TSIntrinsicKeyword=function(){this.word("intrinsic")},t.TSLiteralType=function(e){this.print(e.literal)},t.TSMappedType=function(e){let{nameType:t,optional:n,readonly:r,typeAnnotation:a}=e;this.tokenChar(123);let o=this.enterDelimited();this.space(),r&&(i(this,r),this.word("readonly"),this.space()),this.tokenChar(91),this.word(e.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(e.typeParameter.constraint),t&&(this.space(),this.word("as"),this.space(),this.print(t)),this.tokenChar(93),n&&(i(this,n),this.tokenChar(63)),a&&(this.tokenChar(58),this.space(),this.print(a)),this.space(),o(),this.tokenChar(125)},t.TSMethodSignature=function(e){let{kind:t}=e;("set"===t||"get"===t)&&(this.word(t),this.space()),this.tsPrintPropertyOrMethodName(e),this.tsPrintSignatureDeclarationBase(e),n(this,e)},t.TSModuleBlock=function(e){o(this,e,()=>this.printSequence(e.body,!0))},t.TSModuleDeclaration=function(e){let{declare:t,id:n,kind:r}=e;t&&(this.word("declare"),this.space());{if(e.global||(this.word(null!=r?r:"Identifier"===n.type?"namespace":"module"),this.space()),this.print(n),!e.body)return void this.semicolon();let t=e.body;for(;"TSModuleDeclaration"===t.type;)this.tokenChar(46),this.print(t.id),t=t.body;this.space(),this.print(t)}},t.TSNamedTupleMember=function(e){this.print(e.label),e.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(e.elementType)},t.TSNamespaceExportDeclaration=function(e){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(e.id),this.semicolon()},t.TSNeverKeyword=function(){this.word("never")},t.TSNonNullExpression=function(e){this.print(e.expression),this.tokenChar(33)},t.TSNullKeyword=function(){this.word("null")},t.TSNumberKeyword=function(){this.word("number")},t.TSObjectKeyword=function(){this.word("object")},t.TSOptionalType=function(e){this.print(e.typeAnnotation),this.tokenChar(63)},t.TSParameterProperty=function(e){e.accessibility&&(this.word(e.accessibility),this.space()),e.readonly&&(this.word("readonly"),this.space()),this._param(e.parameter)},t.TSParenthesizedType=function(e){this.tokenChar(40),this.print(e.typeAnnotation),this.tokenChar(41)},t.TSPropertySignature=function(e){let{readonly:t}=e;t&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(e),this.print(e.typeAnnotation),n(this,e)},t.TSQualifiedName=function(e){this.print(e.left),this.tokenChar(46),this.print(e.right)},t.TSRestType=function(e){this.token("..."),this.print(e.typeAnnotation)},t.TSStringKeyword=function(){this.word("string")},t.TSSymbolKeyword=function(){this.word("symbol")},t.TSTemplateLiteralType=function(e){this._printTemplate(e,e.types)},t.TSThisType=function(){this.word("this")},t.TSTupleType=function(e){this.tokenChar(91),this.printList(e.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)},t.TSTypeAliasDeclaration=function(e){let{declare:t,id:n,typeParameters:r,typeAnnotation:i}=e;t&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(n),this.print(r),this.space(),this.tokenChar(61),this.space(),this.print(i),this.semicolon()},t.TSTypeAnnotation=function(e,t){this.token(("TSFunctionType"===t.type||"TSConstructorType"===t.type)&&t.typeAnnotation===e?"=>":":"),this.space(),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)},t.TSTypeAssertion=function(e){let{typeAnnotation:t,expression:n}=e;this.tokenChar(60),this.print(t),this.tokenChar(62),this.space(),this.print(n)},t.TSTypeLiteral=function(e){o(this,e,()=>this.printJoin(e.members,!0,!0))},t.TSTypeOperator=function(e){this.word(e.operator),this.space(),this.print(e.typeAnnotation)},t.TSTypeParameter=function(e){e.const&&(this.word("const"),this.space()),e.in&&(this.word("in"),this.space()),e.out&&(this.word("out"),this.space()),this.word(e.name),e.constraint&&(this.space(),this.word("extends"),this.space(),this.print(e.constraint)),e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default))},t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=function(e,t){this.tokenChar(60);let n="ArrowFunctionExpression"===t.type&&1===e.params.length;this.tokenMap&&null!=e.start&&null!=e.end&&(n&&(n=!!this.tokenMap.find(e,e=>this.tokenMap.matchesOriginal(e,","))),n||(n=this.shouldPrintTrailingComma(">"))),this.printList(e.params,n),this.tokenChar(62)},t.TSTypePredicate=function(e){e.asserts&&(this.word("asserts"),this.space()),this.print(e.parameterName),e.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(e.typeAnnotation.typeAnnotation))},t.TSTypeQuery=function(e){this.word("typeof"),this.space(),this.print(e.exprName);let t=e.typeParameters;t&&this.print(t)},t.TSTypeReference=function(e){let t=e.typeParameters;this.print(e.typeName,!!t),this.print(t)},t.TSUndefinedKeyword=function(){this.word("undefined")},t.TSUnionType=function(e){r(this,e,"|")},t.TSUnknownKeyword=function(){this.word("unknown")},t.TSVoidKeyword=function(){this.word("void")},t.tsPrintClassMemberModifiers=function(e){let t="ClassPrivateProperty"===e.type,n="ClassAccessorProperty"===e.type||"ClassProperty"===e.type;s(this,e,[n&&e.declare&&"declare",!t&&e.accessibility]),e.static&&(this.word("static"),this.space()),s(this,e,[!t&&e.abstract&&"abstract",!t&&e.override&&"override",(n||t)&&e.readonly&&"readonly"])},t.tsPrintFunctionOrConstructorType=function(e){let{typeParameters:t}=e,n=e.parameters;this.print(t),this.tokenChar(40),this._parameters(n,")"),this.space();let r=e.typeAnnotation;this.print(r)},t.tsPrintPropertyOrMethodName=function(e){e.computed&&this.tokenChar(91),this.print(e.key),e.computed&&this.tokenChar(93),e.optional&&this.tokenChar(63)},t.tsPrintSignatureDeclarationBase=function(e){let{typeParameters:t}=e,n=e.parameters;this.print(t),this.tokenChar(40),this._parameters(n,")");let r=e.typeAnnotation;this.print(r)}},2235(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.generate=o;var r=n(9305),i=n(82475);function a(e,t,n){var r;if(t.experimental_preserveFormat){if("string"!=typeof e)throw Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!t.retainLines)throw Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(t.compact&&"auto"!==t.compact)throw Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(t.minified)throw Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(t.jsescOption)throw Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(n.tokens))throw Error("`experimental_preserveFormat` requires the AST to have attached the token of the input code. Make sure to enable the `tokens: true` parser option.")}let i={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,preserveFormat:t.experimental_preserveFormat,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:null==t.comments||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},t.jsescOption),topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};i.decoratorsBeforeExport=t.decoratorsBeforeExport,i.jsescOption.json=t.jsonCompatibleStrings,i.recordAndTupleSyntaxType=null!=(r=t.recordAndTupleSyntaxType)?r:"hash",i.minified?(i.compact=!0,i.shouldPrintComment=i.shouldPrintComment||(()=>i.comments)):i.shouldPrintComment=i.shouldPrintComment||(e=>i.comments||e.includes("@license")||e.includes("@preserve")),"auto"===i.compact&&(i.compact="string"==typeof e&&e.length>5e5,i.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${t.filename} as it exceeds the max of 500KB.`)),(i.compact||i.preserveFormat)&&(i.indent.adjustMultilineComment=!1);let{auxiliaryCommentBefore:a,auxiliaryCommentAfter:o,shouldPrintComment:s}=i;return a&&!s(a)&&(i.auxiliaryCommentBefore=void 0),o&&!s(o)&&(i.auxiliaryCommentAfter=void 0),i}function o(e,t={},n){let s=a(n,t,e),l=t.sourceMaps?new r.default(t,n):null;return new i.default(s,l,e.tokens,"string"==typeof n?n:null).generate(e)}t.CodeGenerator=class{constructor(e,t={},n){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=e,this._format=a(n,t,e),this._map=t.sourceMaps?new r.default(t,n):null}generate(){return new i.default(this._format,this._map).generate(this._ast)}},t.default=o},21956(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.TokenContext=void 0,t.isLastChild=function(e,t){let n=o[e.type];for(let r=n.length-1;r>=0;r--){let i=e[n[r]];if(i===t)return!0;if(Array.isArray(i)){let e=i.length-1;for(;e>=0&&null===i[e];)e--;return e>=0&&i[e]===t}if(i)break}return!1},t.needsParens=function(e,t,n,r){var i;return!!t&&(!!(c(t)&&t.callee===e&&function e(t){return!!s(t)||u(t)&&e(t.object)}(e))||(l(t)?!h(e)&&!(s(e)&&h(e.callee))&&!d(e):(null==(i=y.get(e.type))?void 0:i(e,t,n,r))||!1))},t.needsWhitespace=T,t.needsWhitespaceAfter=function(e,t){return T(e,t,2)},t.needsWhitespaceBefore=function(e,t){return T(e,t,1)};var r=n(10899),i=n(45584);let{FLIPPED_ALIAS_KEYS:a,VISITOR_KEYS:o,isCallExpression:s,isDecorator:l,isExpressionStatement:p,isMemberExpression:u,isNewExpression:c,isParenthesizedExpression:d}=n(58135);function f(e){let t=new Map;function n(e,n){let r=t.get(e);t.set(e,r?function(e,t,i,a){var o;return null!=(o=r(e,t,i,a))?o:n(e,t,i,a)}:n)}for(let t of Object.keys(e)){let r=a[t];if(r)for(let i of r)n(i,e[t]);else n(t,e[t])}return t}t.TokenContext={normal:0,expressionStatement:1,arrowBody:2,exportDefault:4,arrowFlowReturnType:8,forInitHead:16,forInHead:32,forOfHead:64,forInOrInitHeadAccumulate:128,forInOrInitHeadAccumulatePassThroughMask:128};let y=f(i),m=f(r.nodes);function T(e,t,n){var r;if(!e)return!1;p(e)&&(e=e.expression);let i=null==(r=m.get(e.type))?void 0:r(e,t);return"number"==typeof i&&(i&n)!=0}function h(e){switch(e.type){case"Identifier":return!0;case"MemberExpression":return!e.computed&&"Identifier"===e.property.type&&h(e.object);default:return!1}}},45584(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.AssignmentExpression=function(e,t,n){return!!(b(n)&&c(e.left))||P(e,t)},t.Binary=x,t.BinaryExpression=function(e,t,n){return"in"===e.operator&&!!(n&i.TokenContext.forInOrInitHeadAccumulate)},t.ClassExpression=function(e,t,n){return!!(n&(i.TokenContext.expressionStatement|i.TokenContext.exportDefault))},t.ArrowFunctionExpression=t.ConditionalExpression=P,t.DoExpression=function(e,t,n){return!e.async&&!!(n&i.TokenContext.expressionStatement)},t.FunctionExpression=function(e,t,n){return!!(n&(i.TokenContext.expressionStatement|i.TokenContext.exportDefault))},t.FunctionTypeAnnotation=function(e,t,n){let r=t.type;return"UnionTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"ArrayTypeAnnotation"===r||!!(n&i.TokenContext.arrowFlowReturnType)},t.Identifier=function(e,t,n,r){var a;let o=t.type;if(null!=(a=e.extra)&&a.parenthesized&&"AssignmentExpression"===o&&t.left===e){let e=t.right.type;if(("FunctionExpression"===e||"ClassExpression"===e)&&null==t.right.id)return!0}return(!r||r(e)===e.name)&&("let"===e.name?!!(u(t,{object:e,computed:!0})||d(t,{object:e,computed:!0,optional:!1}))&&!!(n&(i.TokenContext.expressionStatement|i.TokenContext.forInitHead|i.TokenContext.forInHead))||!!(n&i.TokenContext.forOfHead):"async"===e.name&&l(t,{left:e,await:!1}))},t.LogicalExpression=function(e,t){let n=t.type;if(h(n))return!0;if("LogicalExpression"!==n)return!1;switch(e.operator){case"||":return"??"===t.operator||"&&"===t.operator;case"&&":return"??"===t.operator;case"??":return"??"!==t.operator}},t.NullableTypeAnnotation=function(e,t){return a(t)},t.ObjectExpression=function(e,t,n){return b(n)},t.OptionalIndexedAccessType=function(e,t){return p(t)&&t.objectType===e},t.OptionalCallExpression=t.OptionalMemberExpression=function(e,t){return s(t)&&t.callee===e||u(t)&&t.object===e},t.SequenceExpression=function(e,t){let n=t.type;return"SequenceExpression"!==n&&"ParenthesizedExpression"!==n&&("MemberExpression"!==n||t.property!==e)&&("OptionalMemberExpression"!==n||t.property!==e)&&"TemplateLiteral"!==n&&("ClassDeclaration"===n||("ForOfStatement"===n?t.right===e:"ExportDefaultDeclaration"===n||!y(t)))},t.TSSatisfiesExpression=t.TSAsExpression=function(e,t){return("AssignmentExpression"===t.type||"AssignmentPattern"===t.type)&&t.left===e||"BinaryExpression"===t.type&&("|"===t.operator||"&"===t.operator)&&e===t.left||x(e,t)},t.TSConditionalType=function(e,t){let n=t.type;return"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n||"TSTypeOperator"===n||"TSTypeParameter"===n||("TSIntersectionType"===n||"TSUnionType"===n)&&t.types[0]===e||"TSConditionalType"===n&&(t.checkType===e||t.extendsType===e)||!1},t.TSConstructorType=t.TSFunctionType=function(e,t){let n=t.type;return"TSIntersectionType"===n||"TSUnionType"===n||"TSTypeOperator"===n||"TSOptionalType"===n||"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSConditionalType"===n&&(t.checkType===e||t.extendsType===e)},t.TSInferType=function(e,t){let n=t.type;return"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n||!!e.typeParameter.constraint&&("TSIntersectionType"===n||"TSUnionType"===n)&&t.types[0]===e},t.TSInstantiationExpression=function(e,t){let n=t.type;return("CallExpression"===n||"OptionalCallExpression"===n||"NewExpression"===n||"TSInstantiationExpression"===n)&&!!t.typeParameters},t.TSIntersectionType=function(e,t){let n=t.type;return"TSTypeOperator"===n||"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n},t.UnaryLike=t.TSTypeAssertion=A,t.TSTypeOperator=function(e,t){let n=t.type;return"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n},t.TSUnionType=function(e,t){let n=t.type;return"TSIntersectionType"===n||"TSTypeOperator"===n||"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n},t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=function(e,t){let n=t.type;return"ArrayTypeAnnotation"===n||"NullableTypeAnnotation"===n||"IntersectionTypeAnnotation"===n||"UnionTypeAnnotation"===n},t.UpdateExpression=function(e,t){return E(e,t)||S(e,t)},t.AwaitExpression=t.YieldExpression=function(e,t){let n=t.type;return"BinaryExpression"===n||"LogicalExpression"===n||"UnaryExpression"===n||"SpreadElement"===n||E(e,t)||"AwaitExpression"===n&&f(e)||"ConditionalExpression"===n&&e===t.test||S(e,t)||h(n)};var r=n(58135),i=n(21956);let{isArrayTypeAnnotation:a,isBinaryExpression:o,isCallExpression:s,isForOfStatement:l,isIndexedAccessType:p,isMemberExpression:u,isObjectPattern:c,isOptionalMemberExpression:d,isYieldExpression:f,isStatement:y}=r,m=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 T(e,t){return"BinaryExpression"===t||"LogicalExpression"===t?m.get(e.operator):"TSAsExpression"===t||"TSSatisfiesExpression"===t?m.get("in"):void 0}function h(e){return"TSAsExpression"===e||"TSSatisfiesExpression"===e||"TSTypeAssertion"===e}let S=(e,t)=>{let n=t.type;return("ClassDeclaration"===n||"ClassExpression"===n)&&t.superClass===e},E=(e,t)=>{let n=t.type;return("MemberExpression"===n||"OptionalMemberExpression"===n)&&t.object===e||("CallExpression"===n||"OptionalCallExpression"===n||"NewExpression"===n)&&t.callee===e||"TaggedTemplateExpression"===n&&t.tag===e||"TSNonNullExpression"===n};function b(e){return!!(e&(i.TokenContext.expressionStatement|i.TokenContext.arrowBody))}function x(e,t){let n=t.type;if("BinaryExpression"===e.type&&"**"===e.operator&&"BinaryExpression"===n&&"**"===t.operator)return t.left===e;if(S(e,t)||E(e,t)||"UnaryExpression"===n||"SpreadElement"===n||"AwaitExpression"===n)return!0;let r=T(t,n);if(null!=r){let i=T(e,e.type);if(r===i&&"BinaryExpression"===n&&t.right===e||r>i)return!0}}function A(e,t){return E(e,t)||o(t)&&"**"===t.operator&&t.left===e||S(e,t)}function P(e,t){let n=t.type;return!!("UnaryExpression"===n||"SpreadElement"===n||"BinaryExpression"===n||"LogicalExpression"===n||"ConditionalExpression"===n&&t.test===e||"AwaitExpression"===n||h(n))||A(e,t)}},10899(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.nodes=void 0;let{FLIPPED_ALIAS_KEYS:r,isArrayExpression:i,isAssignmentExpression:a,isBinary:o,isBlockStatement:s,isCallExpression:l,isFunction:p,isIdentifier:u,isLiteral:c,isMemberExpression:d,isObjectExpression:f,isOptionalCallExpression:y,isOptionalMemberExpression:m,isStringLiteral:T}=n(58135);function h(e){return function e(t,n){return t&&(d(t)||m(t)?(e(t.object,n),t.computed&&e(t.property,n)):o(t)||a(t)?(e(t.left,n),e(t.right,n)):l(t)||y(t)?(n.hasCall=!0,e(t.callee,n)):p(t)?n.hasFunction=!0:u(t)&&(n.hasHelper=n.hasHelper||t.callee&&S(t.callee))),n}(e,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function S(e){return!!e&&(d(e)?S(e.object)||S(e.property):u(e)?"require"===e.name||95===e.name.charCodeAt(0):l(e)?S(e.callee):!!(o(e)||a(e))&&(u(e.left)&&S(e.left)||S(e.right)))}let E=t.nodes={AssignmentExpression(e){let t=h(e.right);return t.hasCall&&t.hasHelper||t.hasFunction?t.hasFunction?3:2:0},SwitchCase:(e,t)=>(e.consequent.length||t.cases[0]===e?1:0)|2*(!e.consequent.length&&t.cases[t.cases.length-1]===e),LogicalExpression:e=>p(e.left)||p(e.right)?2:0,Literal:e=>T(e)&&"use strict"===e.value?2:0,CallExpression:e=>p(e.callee)||S(e)?3:0,OptionalCallExpression:e=>3*!!p(e.callee),VariableDeclaration(e){for(let n=0;n<e.declarations.length;n++){var t;let r=e.declarations[n],a=S(r.id)&&!(c(t=r.init)||f(t)||i(t)||u(t)||d(t));if(!a&&r.init){let e=h(r.init);a=S(r.init)&&e.hasCall||e.hasFunction}if(a)return 3}return 0},IfStatement:e=>3*!!s(e.consequent)};E.ObjectProperty=E.ObjectTypeProperty=E.ObjectMethod=function(e,t){return+(t.properties[0]===e)},E.ObjectTypeCallProperty=function(e,t){var n;return+(t.callProperties[0]===e&&(null==(n=t.properties)||!n.length))},E.ObjectTypeIndexer=function(e,t){var n,r;return+(t.indexers[0]===e&&(null==(n=t.properties)||!n.length)&&(null==(r=t.callProperties)||!r.length))},E.ObjectTypeInternalSlot=function(e,t){var n,r,i;return+(t.internalSlots[0]===e&&(null==(n=t.properties)||!n.length)&&(null==(r=t.callProperties)||!r.length)&&(null==(i=t.indexers)||!i.length))},[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([e,t]){[e].concat(r[e]||[]).forEach(function(e){let n=3*!!t;E[e]=()=>n})})},82475(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(96405),i=n(21956),a=n(58135),o=n(76697),s=n(62798),l=n(58121);let{isExpression:p,isFunction:u,isStatement:c,isClassBody:d,isTSInterfaceBody:f,isTSEnumMember:y}=a,m=/e/i,T=/\.0+$/,h=/[\n\r\u2028\u2029]/,S=/[\n\r\u2028\u2029]|\*\//;function E(e){return"CommentLine"===e.type||h.test(e.value)}let{needsParens:b}=i;class x{constructor(e,t,n=null,a=null){this.tokenContext=i.TokenContext.normal,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=e,this._tokens=n,this._originalCode=a,this._indentRepeat=e.indent.style.length,this._inputMap=(null==t?void 0:t._inputMap)||null,this._buf=new r.default(t,e.indent.style[0])}enterForStatementInit(){return this.tokenContext|=i.TokenContext.forInitHead|i.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=i.TokenContext.normal}enterForXStatementInit(e){return e?(this.tokenContext|=i.TokenContext.forOfHead,null):(this.tokenContext|=i.TokenContext.forInHead|i.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=i.TokenContext.normal)}enterDelimited(){let e=this.tokenContext,t=this._noLineTerminatorAfterNode;return e&i.TokenContext.forInOrInitHeadAccumulate||null!==t?(this._noLineTerminatorAfterNode=null,this.tokenContext=i.TokenContext.normal,()=>{this._noLineTerminatorAfterNode=t,this.tokenContext=e}):()=>{}}generate(e){return this.format.preserveFormat&&(this.tokenMap=new o.TokenMap(e,this._tokens,this._originalCode)),this.print(e),this._maybeAddAuxComment(),this._buf.get()}indent(){let{format:e}=this;!e.preserveFormat&&!e.compact&&!e.concise&&this._indent++}dedent(){let{format:e}=this;!e.preserveFormat&&!e.compact&&!e.concise&&this._indent--}semicolon(e=!1){if(this._maybeAddAuxComment(),e){this._appendChar(59),this._noLineTerminator=!1;return}if(this.tokenMap){let e=this._currentNode;if(null!=e.start&&null!=e.end){if(!this.tokenMap.endMatches(e,";")){this._printSemicolonBeforeNextNode=this._buf.getCurrentLine();return}let t=this.tokenMap.getIndexes(this._currentNode);this._catchUpTo(this._tokens[t[t.length-1]].loc.start)}}this._queue(59),this._noLineTerminator=!1}rightBrace(e){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)}rightParens(e){this.sourceWithOffset("end",e.loc,-1),this.tokenChar(41)}space(e=!1){let{format:t}=this;if(!t.compact&&!t.preserveFormat){if(e)this._space();else if(this._buf.hasContent()){let e=this.getLastChar();32!==e&&10!==e&&this._space()}}}word(e,t=!1){this.tokenContext&=i.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(e),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(e),(this._endsWithWord||this._endsWithDiv&&47===e.charCodeAt(0))&&this._space(),this._append(e,!1),this._endsWithWord=!0,this._noLineTerminator=t}number(e,t){this.word(e),this._endsWithInteger=Number.isInteger(t)&&!function(e){if(e.length>2&&48===e.charCodeAt(0)){let t=e.charCodeAt(1);return 98===t||111===t||120===t}return!1}(e)&&!m.test(e)&&!T.test(e)&&46!==e.charCodeAt(e.length-1)}token(e,t=!1,n=0){this.tokenContext&=i.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(e,n),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(e,n);let r=this.getLastChar(),a=e.charCodeAt(0);(33===r&&("--"===e||61===a)||43===a&&43===r||45===a&&45===r||46===a&&this._endsWithInteger)&&this._space(),this._append(e,t),this._noLineTerminator=!1}tokenChar(e){this.tokenContext&=i.TokenContext.forInOrInitHeadAccumulatePassThroughMask;let t=String.fromCharCode(e);this._maybePrintInnerComments(t),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(t);let n=this.getLastChar();(43===e&&43===n||45===e&&45===n||46===e&&this._endsWithInteger)&&this._space(),this._appendChar(e),this._noLineTerminator=!1}newline(e=1,t){if(!(e<=0)){if(!t){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space()}e>2&&(e=2),e-=this._buf.getNewlineCount();for(let t=0;t<e;t++)this._newline()}}endsWith(e){return this.getLastChar()===e}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(e,t){e?(this._catchUp("start",e),this._buf.exactSource(e,t)):t()}source(e,t){t&&(this._catchUp(e,t),this._buf.source(e,t))}sourceWithOffset(e,t,n){t&&!this.format.preserveFormat&&(this._catchUp(e,t),this._buf.sourceWithOffset(e,t,n))}sourceIdentifierName(e,t){if(!this._buf._canMarkIdName)return;let n=this._buf._sourcePosition;n.identifierNamePos=t,n.identifierName=e}_space(){this._queue(32)}_newline(){this._queue(10)}_catchUpToCurrentToken(e,t=0){let n=this.tokenMap.findMatching(this._currentNode,e,t);n&&this._catchUpTo(n.loc.start),-1!==this._printSemicolonBeforeNextToken&&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(e,t){this._maybeIndent(e.charCodeAt(0)),this._buf.append(e,t),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(e){this._maybeIndent(e),this._buf.appendChar(e),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(e){this._maybeIndent(e),this._buf.queue(e),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(e){this._indent&&10!==e&&this.endsWith(10)&&this._buf.queueIndentation(this._getIndent())}_shouldIndent(e){if(this._indent&&10!==e&&this.endsWith(10))return!0}catchUp(e){if(!this.format.retainLines)return;let t=e-this._buf.getCurrentLine();for(let e=0;e<t;e++)this._newline()}_catchUp(e,t){let{format:n}=this;if(!n.preserveFormat){n.retainLines&&null!=t&&t[e]&&this.catchUp(t[e].line);return}let r=null==t?void 0:t[e];null!=r&&this._catchUpTo(r)}_catchUpTo({line:e,column:t,index:n}){let r=e-this._buf.getCurrentLine();if(r>0&&this._noLineTerminator)return;for(let e=0;e<r;e++)this._newline();let i=r>0?t:t-this._buf.getCurrentColumn();if(i>0){let e=this._originalCode?this._originalCode.slice(n-i,n).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu," "):" ".repeat(i);this._append(e,!1)}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(e){this._noLineTerminator=!0,this.print(e)}print(e,t=!1,n){var r,a,o,s;let l,u;if(!e)return;this._endsWithInnerRaw=!1;let c=e.type,d=this.format,f=d.concise;e._compact&&(d.concise=!0);let y=this[c];if(void 0===y)throw ReferenceError(`unknown node of type ${JSON.stringify(c)} with constructor ${JSON.stringify(e.constructor.name)}`);let m=this._currentNode;this._currentNode=e,this.tokenMap&&(this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode);let T=this._insideAux;this._insideAux=null==e.loc,this._maybeAddAuxComment(this._insideAux&&!T);let h=null==(r=e.extra)?void 0:r.parenthesized,S=h&&d.preserveFormat||h&&d.retainFunctionParens&&"FunctionExpression"===c||b(e,m,this.tokenContext,d.preserveFormat?this._boundGetRawIdentifier:void 0);if(!S&&h&&null!=(a=e.leadingComments)&&a.length&&"CommentBlock"===e.leadingComments[0].type)switch(null==m?void 0:m.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(m.callee!==e)break;default:S=!0}let x=!1;!S&&this._noLineTerminator&&(null!=(o=e.leadingComments)&&o.some(E)||this.format.retainLines&&e.loc&&e.loc.start.line>this._buf.getCurrentLine())&&(S=!0,x=!0),!S&&(t||(t=!!m&&this._noLineTerminatorAfterNode===m&&i.isLastChild(m,e)),t&&(null!=(s=e.trailingComments)&&s.some(E)?p(e)&&(S=!0):(l=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=e))),S&&(this.tokenChar(40),x&&this.indent(),this._endsWithInnerRaw=!1,this.tokenContext&i.TokenContext.forInOrInitHeadAccumulate&&(u=this.tokenContext,this.tokenContext=i.TokenContext.normal),l=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null),this._lastCommentLine=0,this._printLeadingComments(e,m);let A="Program"===c||"File"===c?null:e.loc;this.exactSource(A,y.bind(this,e,m)),S?(this._printTrailingComments(e,m),x&&(this.dedent(),this.newline()),this.tokenChar(41),this._noLineTerminator=t,u&&(this.tokenContext=u)):t&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(e,m)):this._printTrailingComments(e,m,n),this._currentNode=m,d.concise=f,this._insideAux=T,void 0!==l&&(this._noLineTerminatorAfterNode=l),this._endsWithInnerRaw=!1}_maybeAddAuxComment(e){e&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let e=this.format.auxiliaryCommentBefore;e&&this._printComment({type:"CommentBlock",value:e},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let e=this.format.auxiliaryCommentAfter;e&&this._printComment({type:"CommentBlock",value:e},0)}getPossibleRaw(e){let t=e.extra;if((null==t?void 0:t.raw)!=null&&null!=t.rawValue&&e.value===t.rawValue)return t.raw}printJoin(e,t,n,r,i,a,o){var s,l,p;if(!(null!=e&&e.length))return;if(null==n&&this.format.retainLines){let t=null==(s=e[0].loc)?void 0:s.start.line;null!=t&&t!==this._buf.getCurrentLine()&&(n=!0)}n&&this.indent();let u={nextNodeStartLine:0},c=null==r?void 0:r.bind(this),d=e.length;for(let n=0;n<d;n++){let r=e[n];r&&(t&&this._printNewline(0===n,u),this.print(r,void 0,o||0),null==a||a(r,n),null!=c&&(n<d-1?c(n,!1):i&&c(n,!0)),t&&(null!=(l=r.trailingComments)&&l.length||(this._lastCommentLine=0),n+1===d?this.newline(1):(u.nextNodeStartLine=(null==(p=e[n+1].loc)?void 0:p.start.line)||0,this._printNewline(!0,u))))}n&&this.dedent()}printAndIndentOnComments(e){let t=e.leadingComments&&e.leadingComments.length>0;t&&this.indent(),this.print(e),t&&this.dedent()}printBlock(e){let t=e.body;"EmptyStatement"!==t.type&&this.space(),this.print(t)}_printTrailingComments(e,t,n){let{innerComments:r,trailingComments:i}=e;null!=r&&r.length&&this._printComments(2,r,e,t,n),null!=i&&i.length&&this._printComments(2,i,e,t,n)}_printLeadingComments(e,t){let n=e.leadingComments;null!=n&&n.length&&this._printComments(0,n,e,t)}_maybePrintInnerComments(e,t){if(this._endsWithInnerRaw){var n;this.printInnerComments(null==(n=this.tokenMap)?void 0:n.findMatching(this._currentNode,e,t))}this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(e){let t=this._currentNode,n=t.innerComments;if(!(null!=n&&n.length))return;let r=this.endsWith(32),i=this._indentInnerComments,a=this._printedComments.size;i&&this.indent(),this._printComments(1,n,t,void 0,void 0,e),r&&a!==this._printedComments.size&&this.space(),i&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(e,t,n){this.printJoin(e,!0,null!=t&&t,void 0,void 0,void 0,n)}printList(e,t,n,r,i,a){this.printJoin(e,n,r,null!=i?i:A,t,a)}shouldPrintTrailingComma(e){if(!this.tokenMap)return null;let t=this.tokenMap.findLastIndex(this._currentNode,t=>this.tokenMap.matchesOriginal(t,e));return t<=0?null:this.tokenMap.matchesOriginal(this._tokens[t-1],",")}_printNewline(e,t){let n=this.format;if(n.retainLines||n.compact)return;if(n.concise)return void this.space();if(!e)return;let r=t.nextNodeStartLine,i=this._lastCommentLine;if(r>0&&i>0){let e=r-i;if(e>=0)return void this.newline(e||1)}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(e,t){if(e.ignore||this._printedComments.has(e))return 0;if(this._noLineTerminator&&S.test(e.value))return 2;if(t&&this.tokenMap){let n=this.tokenMap.find(this._currentNode,t=>t.value===e.value);if(n&&n.start>t.start)return 2}return+(this._printedComments.add(e),!!this.format.shouldPrintComment(e.value))}_printComment(e,t){let n,r=this._noLineTerminator,i="CommentBlock"===e.type,a=i&&1!==t&&!this._noLineTerminator;a&&this._buf.hasContent()&&2!==t&&this.newline(1);let o=this.getLastChar();if(91!==o&&123!==o&&40!==o&&this.space(),i){if(n=`/*${e.value}*/`,this.format.indent.adjustMultilineComment){var s;let t=null==(s=e.loc)?void 0:s.start.column;if(t){let e=RegExp("\\n\\s{1,"+t+"}","g");n=n.replace(e,"\n")}if(this.format.concise)n=n.replace(/\n(?!$)/g,`
|
|
2
|
+
`);else{let e=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(e+=this._getIndent()),n=n.replace(/\n(?!$)/g,`
|
|
3
|
+
${" ".repeat(e)}`)}}}else n=r?`/*${e.value}*/`:`//${e.value}`;if(this._endsWithDiv&&this._space(),this.tokenMap){let{_printSemicolonBeforeNextToken:t,_printSemicolonBeforeNextNode:r}=this;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1,this.source("start",e.loc),this._append(n,i),this._printSemicolonBeforeNextNode=r,this._printSemicolonBeforeNextToken=t}else this.source("start",e.loc),this._append(n,i);i||r||this.newline(1,!0),a&&3!==t&&this.newline(1)}_printComments(e,t,n,r,i=0,a){let o=n.loc,s=t.length,l=!!o,p=l?o.start.line:0,m=l?o.end.line:0,T=0,S=0,E=this._noLineTerminator?function(){}:this.newline.bind(this);for(let o=0;o<s;o++){let b=t[o],x=this._shouldPrintComment(b,a);if(2===x){l=!1;break}if(l&&b.loc&&1===x){let t=b.loc.start.line,n=b.loc.end.line;if(0===e){let e=0;0===o?this._buf.hasContent()&&("CommentLine"===b.type||t!==n)&&(e=S=1):e=t-T,T=n,E(e),this._printComment(b,1),o+1===s&&(E(Math.max(p-T,S)),T=p)}else if(1===e){let e=t-(0===o?p:T);T=n,E(e),this._printComment(b,1),o+1===s&&(E(Math.min(1,m-T)),T=m)}else{let e=t-(0===o?m-i:T);T=n,E(e),this._printComment(b,1)}}else{if(l=!1,1!==x)continue;if(1===s){let t=b.loc?b.loc.start.line===b.loc.end.line:!h.test(b.value),i=t&&!c(n)&&!d(r)&&!f(r)&&!y(n);0===e?this._printComment(b,i&&"ObjectExpression"!==n.type||t&&u(r,{body:n})?1:0):i&&2===e?this._printComment(b,1):this._printComment(b,0)}else 1!==e||"ObjectExpression"===n.type&&n.properties.length>1||"ClassBody"===n.type||"TSInterfaceBody"===n.type?this._printComment(b,0):this._printComment(b,0===o?2:3*(o===s-1))}}2===e&&l&&T&&(this._lastCommentLine=T)}}function A(e,t){this.token(",",!1,e),t||this.space()}Object.assign(x.prototype,s),(0,l.addDeprecatedGenerators)(x),t.default=x},9305(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(75267),i=n(41969);t.default=class{constructor(e,t){var n,a;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=null;let o=this._map=new r.GenMapping({sourceRoot:e.sourceRoot});if(this._sourceFileName=null==(n=e.sourceFileName)?void 0:n.replace(/\\/g,"/"),this._rawMappings=void 0,e.inputSourceMap){this._inputMap=new i.TraceMap(e.inputSourceMap);let t=this._inputMap.resolvedSources;if(t.length)for(let e=0;e<t.length;e++)(0,r.setSourceContent)(o,t[e],null==(a=this._inputMap.sourcesContent)?void 0:a[e])}if("string"!=typeof t||e.inputSourceMap){if("object"==typeof t)for(let e of Object.keys(t))(0,r.setSourceContent)(o,e.replace(/\\/g,"/"),t[e])}else(0,r.setSourceContent)(o,this._sourceFileName,t)}get(){return(0,r.toEncodedMap)(this._map)}getDecoded(){return(0,r.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,r.allMappings)(this._map))}mark(e,t,n,a,o,s){var l;let p;if(this._rawMappings=void 0,null!=t)if(this._inputMap){if(!(p=(0,i.originalPositionFor)(this._inputMap,{line:t,column:n})).name&&o){let e=(0,i.originalPositionFor)(this._inputMap,o);e.name&&(a=e.name)}}else p={name:null,source:(null==s?void 0:s.replace(/\\/g,"/"))||this._sourceFileName,line:t,column:n};(0,r.maybeAddMapping)(this._map,{name:a,generated:e,source:null==(l=p)?void 0:l.source,original:p})}}},76697(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.TokenMap=void 0;let{traverseFast:r,VISITOR_KEYS:i}=n(58135);t.TokenMap=class{constructor(e,t,n){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=t,this._source=n,r(e,e=>{let t=this._getTokensIndexesOfNode(e);t.length>0&&this._nodesToTokenIndexes.set(e,t)}),this._tokensCache.clear()}has(e){return this._nodesToTokenIndexes.has(e)}getIndexes(e){return this._nodesToTokenIndexes.get(e)}find(e,t){let n=this._nodesToTokenIndexes.get(e);if(n)for(let e=0;e<n.length;e++){let r=n[e],i=this._tokens[r];if(t(i,r))return i}return null}findLastIndex(e,t){let n=this._nodesToTokenIndexes.get(e);if(n)for(let e=n.length-1;e>=0;e--){let r=n[e];if(t(this._tokens[r],r))return r}return -1}findMatching(e,t,n=0){let r=this._nodesToTokenIndexes.get(e);if(r){let i=0,a=n;if(a>1){let r=this._nodesOccurrencesCountCache.get(e);r&&r.test===t&&r.count<a&&(i=r.i+1,n-=r.count+1)}for(;i<r.length;i++){let o=this._tokens[r[i]];if(this.matchesOriginal(o,t)){if(0===n)return a>0&&this._nodesOccurrencesCountCache.set(e,{test:t,count:a,i}),o;n--}}}return null}matchesOriginal(e,t){return e.end-e.start===t.length&&(null!=e.value?e.value===t:this._source.startsWith(t,e.start))}startMatches(e,t){let n=this._nodesToTokenIndexes.get(e);if(!n)return!1;let r=this._tokens[n[0]];return r.start===e.start&&this.matchesOriginal(r,t)}endMatches(e,t){let n=this._nodesToTokenIndexes.get(e);if(!n)return!1;let r=this._tokens[n[n.length-1]];return r.end===e.end&&this.matchesOriginal(r,t)}_getTokensIndexesOfNode(e){if(null==e.start||null==e.end)return[];let{first:t,last:n}=this._findTokensOfNode(e,0,this._tokens.length-1),r=t,a=function*(e){if("TemplateLiteral"===e.type){yield e.quasis[0];for(let t=1;t<e.quasis.length;t++)yield e.expressions[t-1],yield e.quasis[t];return}for(let t of i[e.type]){let n=e[t];n&&(Array.isArray(n)?yield*n:yield n)}}(e);("ExportNamedDeclaration"===e.type||"ExportDefaultDeclaration"===e.type)&&e.declaration&&"ClassDeclaration"===e.declaration.type&&a.next();let o=[];for(let e of a){if(null==e||null==e.start||null==e.end)continue;let t=this._findTokensOfNode(e,r,n),i=t.first;for(let e=r;e<i;e++)o.push(e);r=t.last+1}for(let e=r;e<=n;e++)o.push(e);return o}_findTokensOfNode(e,t,n){let r=this._tokensCache.get(e);if(r)return r;let i=this._findFirstTokenOfNode(e.start,t,n),a=this._findLastTokenOfNode(e.end,i,n);return this._tokensCache.set(e,{first:i,last:a}),{first:i,last:a}}_findFirstTokenOfNode(e,t,n){for(;t<=n;){let r=n+t>>1;if(e<this._tokens[r].start)n=r-1;else{if(!(e>this._tokens[r].start))return r;t=r+1}}return t}_findLastTokenOfNode(e,t,n){for(;t<=n;){let r=n+t>>1;if(e<this._tokens[r].end)n=r-1;else{if(!(e>this._tokens[r].end))return r;t=r+1}}return n}}},80672(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.readCodePoint=p,t.readInt=l,t.readStringContents=function(e,t,n,r,i,a){let o=n,l=r,u=i,c="",d=null,f=n,{length:y}=t;for(;;){var m,T,h,S;if(n>=y){a.unterminated(o,l,u),c+=t.slice(f,n);break}let E=t.charCodeAt(n);if(m=e,T=E,h=t,S=n,"template"===m?96===T||36===T&&123===h.charCodeAt(S+1):T===("double"===m?34:39)){c+=t.slice(f,n);break}if(92===E){c+=t.slice(f,n);let o=function(e,t,n,r,i,a){let o=!i;t++;let l=e=>({pos:t,ch:e,lineStart:n,curLine:r}),u=e.charCodeAt(t++);switch(u){case 110:return l("\n");case 114:return l("\r");case 120:{let i;return{code:i,pos:t}=s(e,t,n,r,2,!1,o,a),l(null===i?null:String.fromCharCode(i))}case 117:{let i;return{code:i,pos:t}=p(e,t,n,r,o,a),l(null===i?null:String.fromCodePoint(i))}case 116:return l(" ");case 98:return l("\b");case 118:return l("\v");case 102:return l("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:n=t,++r;case 8232:case 8233:return l("");case 56:case 57:if(i)return l(null);a.strictNumericEscape(t-1,n,r);default:if(u>=48&&u<=55){let o=t-1,s=/^[0-7]+/.exec(e.slice(o,t+2))[0],p=parseInt(s,8);p>255&&(p=parseInt(s=s.slice(0,-1),8)),t+=s.length-1;let u=e.charCodeAt(t);if("0"!==s||56===u||57===u)if(i)return l(null);else a.strictNumericEscape(o,n,r);return l(String.fromCharCode(p))}return l(String.fromCharCode(u))}}(t,n,r,i,"template"===e,a);null!==o.ch||d?c+=o.ch:d={pos:n,lineStart:r,curLine:i},({pos:n,lineStart:r,curLine:i}=o),f=n}else 8232===E||8233===E?(++n,++i,r=n):10===E||13===E?"template"===e?(c+=t.slice(f,n)+"\n",++n,13===E&&10===t.charCodeAt(n)&&++n,++i,f=r=n):a.unterminated(o,l,u):++n}return{pos:n,str:c,firstInvalidLoc:d,lineStart:r,curLine:i,containsInvalid:!!d}};let n={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},r=e=>48===e||49===e,i=e=>e>=48&&e<=55,a=e=>e>=48&&e<=57,o=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102;function s(e,t,n,r,i,a,o,s){let p,u=t;return{n:p,pos:t}=l(e,t,n,r,16,i,a,!1,s,!o),null===p&&(o?s.invalidEscapeSequence(u,n,r):t=u-1),{code:p,pos:t}}function l(e,t,s,l,p,u,c,d,f,y){let m=t,T=16===p?n.hex:n.decBinOct,h=16===p?o:10===p?a:8===p?i:r,S=!1,E=0;for(let n=0,r=null==u?1/0:u;n<r;++n){let n,r=e.charCodeAt(t);if(95===r&&"bail"!==d){let n=e.charCodeAt(t-1),r=e.charCodeAt(t+1);if(d){if(Number.isNaN(r)||!h(r)||T.has(n)||T.has(r)){if(y)return{n:null,pos:t};f.unexpectedNumericSeparator(t,s,l)}}else{if(y)return{n:null,pos:t};f.numericSeparatorInEscapeSequence(t,s,l)}++t;continue}if(r>=97)n=r-97+10;else if(r>=65)n=r-65+10;else n=r>=48&&r<=57?r-48:1/0;if(n>=p)if(n<=9&&y)return{n:null,pos:t};else if(n<=9&&f.invalidDigit(t,s,l,p))n=0;else if(c)n=0,S=!0;else break;++t,E=E*p+n}return t===m||null!=u&&t-m!==u||S?{n:null,pos:t}:{n:E,pos:t}}function p(e,t,n,r,i,a){let o;if(123===e.charCodeAt(t)){if(++t,{code:o,pos:t}=s(e,t,n,r,e.indexOf("}",t)-t,!0,i,a),++t,null!==o&&o>1114111)if(!i)return{code:null,pos:t};else a.invalidCodePoint(t,n,r)}else({code:o,pos:t}=s(e,t,n,r,4,!1,i,a));return{code:o,pos:t}}},41628(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierChar=u,t.isIdentifierName=function(e){let t=!0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if((64512&r)==55296&&n+1<e.length){let t=e.charCodeAt(++n);(64512&t)==56320&&(r=65536+((1023&r)<<10)+(1023&t))}if(t){if(t=!1,!p(r))return!1}else if(!u(r))return!1}return!t},t.isIdentifierStart=p;let n="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ--ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",r="\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ--ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",i=RegExp("["+n+"]"),a=RegExp("["+n+r+"]");let o=[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,7,25,39,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,5,57,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,24,43,261,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,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,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,208,30,2,2,2,1,2,6,3,4,10,1,225,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,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],s=[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,78,5,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,199,7,137,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,55,9,266,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,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function l(e,t){let n=65536;for(let r=0,i=t.length;r<i&&!((n+=t[r])>e);r+=2)if((n+=t[r+1])>=e)return!0;return!1}function p(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&i.test(String.fromCharCode(e)):l(e,o)))}function u(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&a.test(String.fromCharCode(e)):l(e,o)||l(e,s))))}},14007(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return r.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return r.isIdentifierName}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return r.isIdentifierStart}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return i.isKeyword}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return i.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return i.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return i.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return i.isStrictReservedWord}});var r=n(41628),i=n(82364)},82364(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isKeyword=function(e){return n.has(e)},t.isReservedWord=a,t.isStrictBindOnlyReservedWord=s,t.isStrictBindReservedWord=function(e,t){return o(e,t)||s(e)},t.isStrictReservedWord=o;let n=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"]),r=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),i=new Set(["eval","arguments"]);function a(e,t){return t&&"await"===e||"enum"===e}function o(e,t){return a(e,t)||r.has(e)}function s(e){return i.has(e)}},65372(e){e.exports=function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},57301(e,t,n){var r=n(37399),i=n(69893);e.exports=function(e,t,n){if(r())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,t);var o=new(e.bind.apply(e,a));return n&&i(o,n.prototype),o},e.exports.__esModule=!0,e.exports.default=e.exports},30409(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},40906(e,t,n){var r=n(69893);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},39833(e){e.exports=function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}},e.exports.__esModule=!0,e.exports.default=e.exports},37399(e){function t(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(e.exports=t=function(){return!!n},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},63315(e,t,n){var r=n(14319).default,i=n(65372);e.exports=function(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},69893(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},59410(e,t,n){var r=n(30409),i=n(69893),a=n(39833),o=n(57301);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!a(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return o(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,s(t)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},82985(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(0,r.default)(e)){var t;let n=null!=(t=null==e?void 0:e.type)?t:JSON.stringify(e);throw TypeError(`Not a valid node of type "${n}"`)}};var r=n(24919)},73289(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.assertAccessor=function(e,t){a("Accessor",e,t)},t.assertAnyTypeAnnotation=function(e,t){a("AnyTypeAnnotation",e,t)},t.assertArgumentPlaceholder=function(e,t){a("ArgumentPlaceholder",e,t)},t.assertArrayExpression=function(e,t){a("ArrayExpression",e,t)},t.assertArrayPattern=function(e,t){a("ArrayPattern",e,t)},t.assertArrayTypeAnnotation=function(e,t){a("ArrayTypeAnnotation",e,t)},t.assertArrowFunctionExpression=function(e,t){a("ArrowFunctionExpression",e,t)},t.assertAssignmentExpression=function(e,t){a("AssignmentExpression",e,t)},t.assertAssignmentPattern=function(e,t){a("AssignmentPattern",e,t)},t.assertAwaitExpression=function(e,t){a("AwaitExpression",e,t)},t.assertBigIntLiteral=function(e,t){a("BigIntLiteral",e,t)},t.assertBinary=function(e,t){a("Binary",e,t)},t.assertBinaryExpression=function(e,t){a("BinaryExpression",e,t)},t.assertBindExpression=function(e,t){a("BindExpression",e,t)},t.assertBlock=function(e,t){a("Block",e,t)},t.assertBlockParent=function(e,t){a("BlockParent",e,t)},t.assertBlockStatement=function(e,t){a("BlockStatement",e,t)},t.assertBooleanLiteral=function(e,t){a("BooleanLiteral",e,t)},t.assertBooleanLiteralTypeAnnotation=function(e,t){a("BooleanLiteralTypeAnnotation",e,t)},t.assertBooleanTypeAnnotation=function(e,t){a("BooleanTypeAnnotation",e,t)},t.assertBreakStatement=function(e,t){a("BreakStatement",e,t)},t.assertCallExpression=function(e,t){a("CallExpression",e,t)},t.assertCatchClause=function(e,t){a("CatchClause",e,t)},t.assertClass=function(e,t){a("Class",e,t)},t.assertClassAccessorProperty=function(e,t){a("ClassAccessorProperty",e,t)},t.assertClassBody=function(e,t){a("ClassBody",e,t)},t.assertClassDeclaration=function(e,t){a("ClassDeclaration",e,t)},t.assertClassExpression=function(e,t){a("ClassExpression",e,t)},t.assertClassImplements=function(e,t){a("ClassImplements",e,t)},t.assertClassMethod=function(e,t){a("ClassMethod",e,t)},t.assertClassPrivateMethod=function(e,t){a("ClassPrivateMethod",e,t)},t.assertClassPrivateProperty=function(e,t){a("ClassPrivateProperty",e,t)},t.assertClassProperty=function(e,t){a("ClassProperty",e,t)},t.assertCompletionStatement=function(e,t){a("CompletionStatement",e,t)},t.assertConditional=function(e,t){a("Conditional",e,t)},t.assertConditionalExpression=function(e,t){a("ConditionalExpression",e,t)},t.assertContinueStatement=function(e,t){a("ContinueStatement",e,t)},t.assertDebuggerStatement=function(e,t){a("DebuggerStatement",e,t)},t.assertDecimalLiteral=function(e,t){a("DecimalLiteral",e,t)},t.assertDeclaration=function(e,t){a("Declaration",e,t)},t.assertDeclareClass=function(e,t){a("DeclareClass",e,t)},t.assertDeclareExportAllDeclaration=function(e,t){a("DeclareExportAllDeclaration",e,t)},t.assertDeclareExportDeclaration=function(e,t){a("DeclareExportDeclaration",e,t)},t.assertDeclareFunction=function(e,t){a("DeclareFunction",e,t)},t.assertDeclareInterface=function(e,t){a("DeclareInterface",e,t)},t.assertDeclareModule=function(e,t){a("DeclareModule",e,t)},t.assertDeclareModuleExports=function(e,t){a("DeclareModuleExports",e,t)},t.assertDeclareOpaqueType=function(e,t){a("DeclareOpaqueType",e,t)},t.assertDeclareTypeAlias=function(e,t){a("DeclareTypeAlias",e,t)},t.assertDeclareVariable=function(e,t){a("DeclareVariable",e,t)},t.assertDeclaredPredicate=function(e,t){a("DeclaredPredicate",e,t)},t.assertDecorator=function(e,t){a("Decorator",e,t)},t.assertDirective=function(e,t){a("Directive",e,t)},t.assertDirectiveLiteral=function(e,t){a("DirectiveLiteral",e,t)},t.assertDoExpression=function(e,t){a("DoExpression",e,t)},t.assertDoWhileStatement=function(e,t){a("DoWhileStatement",e,t)},t.assertEmptyStatement=function(e,t){a("EmptyStatement",e,t)},t.assertEmptyTypeAnnotation=function(e,t){a("EmptyTypeAnnotation",e,t)},t.assertEnumBody=function(e,t){a("EnumBody",e,t)},t.assertEnumBooleanBody=function(e,t){a("EnumBooleanBody",e,t)},t.assertEnumBooleanMember=function(e,t){a("EnumBooleanMember",e,t)},t.assertEnumDeclaration=function(e,t){a("EnumDeclaration",e,t)},t.assertEnumDefaultedMember=function(e,t){a("EnumDefaultedMember",e,t)},t.assertEnumMember=function(e,t){a("EnumMember",e,t)},t.assertEnumNumberBody=function(e,t){a("EnumNumberBody",e,t)},t.assertEnumNumberMember=function(e,t){a("EnumNumberMember",e,t)},t.assertEnumStringBody=function(e,t){a("EnumStringBody",e,t)},t.assertEnumStringMember=function(e,t){a("EnumStringMember",e,t)},t.assertEnumSymbolBody=function(e,t){a("EnumSymbolBody",e,t)},t.assertExistsTypeAnnotation=function(e,t){a("ExistsTypeAnnotation",e,t)},t.assertExportAllDeclaration=function(e,t){a("ExportAllDeclaration",e,t)},t.assertExportDeclaration=function(e,t){a("ExportDeclaration",e,t)},t.assertExportDefaultDeclaration=function(e,t){a("ExportDefaultDeclaration",e,t)},t.assertExportDefaultSpecifier=function(e,t){a("ExportDefaultSpecifier",e,t)},t.assertExportNamedDeclaration=function(e,t){a("ExportNamedDeclaration",e,t)},t.assertExportNamespaceSpecifier=function(e,t){a("ExportNamespaceSpecifier",e,t)},t.assertExportSpecifier=function(e,t){a("ExportSpecifier",e,t)},t.assertExpression=function(e,t){a("Expression",e,t)},t.assertExpressionStatement=function(e,t){a("ExpressionStatement",e,t)},t.assertExpressionWrapper=function(e,t){a("ExpressionWrapper",e,t)},t.assertFile=function(e,t){a("File",e,t)},t.assertFlow=function(e,t){a("Flow",e,t)},t.assertFlowBaseAnnotation=function(e,t){a("FlowBaseAnnotation",e,t)},t.assertFlowDeclaration=function(e,t){a("FlowDeclaration",e,t)},t.assertFlowPredicate=function(e,t){a("FlowPredicate",e,t)},t.assertFlowType=function(e,t){a("FlowType",e,t)},t.assertFor=function(e,t){a("For",e,t)},t.assertForInStatement=function(e,t){a("ForInStatement",e,t)},t.assertForOfStatement=function(e,t){a("ForOfStatement",e,t)},t.assertForStatement=function(e,t){a("ForStatement",e,t)},t.assertForXStatement=function(e,t){a("ForXStatement",e,t)},t.assertFunction=function(e,t){a("Function",e,t)},t.assertFunctionDeclaration=function(e,t){a("FunctionDeclaration",e,t)},t.assertFunctionExpression=function(e,t){a("FunctionExpression",e,t)},t.assertFunctionParameter=function(e,t){a("FunctionParameter",e,t)},t.assertFunctionParent=function(e,t){a("FunctionParent",e,t)},t.assertFunctionTypeAnnotation=function(e,t){a("FunctionTypeAnnotation",e,t)},t.assertFunctionTypeParam=function(e,t){a("FunctionTypeParam",e,t)},t.assertGenericTypeAnnotation=function(e,t){a("GenericTypeAnnotation",e,t)},t.assertIdentifier=function(e,t){a("Identifier",e,t)},t.assertIfStatement=function(e,t){a("IfStatement",e,t)},t.assertImmutable=function(e,t){a("Immutable",e,t)},t.assertImport=function(e,t){a("Import",e,t)},t.assertImportAttribute=function(e,t){a("ImportAttribute",e,t)},t.assertImportDeclaration=function(e,t){a("ImportDeclaration",e,t)},t.assertImportDefaultSpecifier=function(e,t){a("ImportDefaultSpecifier",e,t)},t.assertImportExpression=function(e,t){a("ImportExpression",e,t)},t.assertImportNamespaceSpecifier=function(e,t){a("ImportNamespaceSpecifier",e,t)},t.assertImportOrExportDeclaration=function(e,t){a("ImportOrExportDeclaration",e,t)},t.assertImportSpecifier=function(e,t){a("ImportSpecifier",e,t)},t.assertIndexedAccessType=function(e,t){a("IndexedAccessType",e,t)},t.assertInferredPredicate=function(e,t){a("InferredPredicate",e,t)},t.assertInterfaceDeclaration=function(e,t){a("InterfaceDeclaration",e,t)},t.assertInterfaceExtends=function(e,t){a("InterfaceExtends",e,t)},t.assertInterfaceTypeAnnotation=function(e,t){a("InterfaceTypeAnnotation",e,t)},t.assertInterpreterDirective=function(e,t){a("InterpreterDirective",e,t)},t.assertIntersectionTypeAnnotation=function(e,t){a("IntersectionTypeAnnotation",e,t)},t.assertJSX=function(e,t){a("JSX",e,t)},t.assertJSXAttribute=function(e,t){a("JSXAttribute",e,t)},t.assertJSXClosingElement=function(e,t){a("JSXClosingElement",e,t)},t.assertJSXClosingFragment=function(e,t){a("JSXClosingFragment",e,t)},t.assertJSXElement=function(e,t){a("JSXElement",e,t)},t.assertJSXEmptyExpression=function(e,t){a("JSXEmptyExpression",e,t)},t.assertJSXExpressionContainer=function(e,t){a("JSXExpressionContainer",e,t)},t.assertJSXFragment=function(e,t){a("JSXFragment",e,t)},t.assertJSXIdentifier=function(e,t){a("JSXIdentifier",e,t)},t.assertJSXMemberExpression=function(e,t){a("JSXMemberExpression",e,t)},t.assertJSXNamespacedName=function(e,t){a("JSXNamespacedName",e,t)},t.assertJSXOpeningElement=function(e,t){a("JSXOpeningElement",e,t)},t.assertJSXOpeningFragment=function(e,t){a("JSXOpeningFragment",e,t)},t.assertJSXSpreadAttribute=function(e,t){a("JSXSpreadAttribute",e,t)},t.assertJSXSpreadChild=function(e,t){a("JSXSpreadChild",e,t)},t.assertJSXText=function(e,t){a("JSXText",e,t)},t.assertLVal=function(e,t){a("LVal",e,t)},t.assertLabeledStatement=function(e,t){a("LabeledStatement",e,t)},t.assertLiteral=function(e,t){a("Literal",e,t)},t.assertLogicalExpression=function(e,t){a("LogicalExpression",e,t)},t.assertLoop=function(e,t){a("Loop",e,t)},t.assertMemberExpression=function(e,t){a("MemberExpression",e,t)},t.assertMetaProperty=function(e,t){a("MetaProperty",e,t)},t.assertMethod=function(e,t){a("Method",e,t)},t.assertMiscellaneous=function(e,t){a("Miscellaneous",e,t)},t.assertMixedTypeAnnotation=function(e,t){a("MixedTypeAnnotation",e,t)},t.assertModuleDeclaration=function(e,t){(0,i.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),a("ModuleDeclaration",e,t)},t.assertModuleExpression=function(e,t){a("ModuleExpression",e,t)},t.assertModuleSpecifier=function(e,t){a("ModuleSpecifier",e,t)},t.assertNewExpression=function(e,t){a("NewExpression",e,t)},t.assertNoop=function(e,t){a("Noop",e,t)},t.assertNullLiteral=function(e,t){a("NullLiteral",e,t)},t.assertNullLiteralTypeAnnotation=function(e,t){a("NullLiteralTypeAnnotation",e,t)},t.assertNullableTypeAnnotation=function(e,t){a("NullableTypeAnnotation",e,t)},t.assertNumberLiteral=function(e,t){(0,i.default)("assertNumberLiteral","assertNumericLiteral"),a("NumberLiteral",e,t)},t.assertNumberLiteralTypeAnnotation=function(e,t){a("NumberLiteralTypeAnnotation",e,t)},t.assertNumberTypeAnnotation=function(e,t){a("NumberTypeAnnotation",e,t)},t.assertNumericLiteral=function(e,t){a("NumericLiteral",e,t)},t.assertObjectExpression=function(e,t){a("ObjectExpression",e,t)},t.assertObjectMember=function(e,t){a("ObjectMember",e,t)},t.assertObjectMethod=function(e,t){a("ObjectMethod",e,t)},t.assertObjectPattern=function(e,t){a("ObjectPattern",e,t)},t.assertObjectProperty=function(e,t){a("ObjectProperty",e,t)},t.assertObjectTypeAnnotation=function(e,t){a("ObjectTypeAnnotation",e,t)},t.assertObjectTypeCallProperty=function(e,t){a("ObjectTypeCallProperty",e,t)},t.assertObjectTypeIndexer=function(e,t){a("ObjectTypeIndexer",e,t)},t.assertObjectTypeInternalSlot=function(e,t){a("ObjectTypeInternalSlot",e,t)},t.assertObjectTypeProperty=function(e,t){a("ObjectTypeProperty",e,t)},t.assertObjectTypeSpreadProperty=function(e,t){a("ObjectTypeSpreadProperty",e,t)},t.assertOpaqueType=function(e,t){a("OpaqueType",e,t)},t.assertOptionalCallExpression=function(e,t){a("OptionalCallExpression",e,t)},t.assertOptionalIndexedAccessType=function(e,t){a("OptionalIndexedAccessType",e,t)},t.assertOptionalMemberExpression=function(e,t){a("OptionalMemberExpression",e,t)},t.assertParenthesizedExpression=function(e,t){a("ParenthesizedExpression",e,t)},t.assertPattern=function(e,t){a("Pattern",e,t)},t.assertPatternLike=function(e,t){a("PatternLike",e,t)},t.assertPipelineBareFunction=function(e,t){a("PipelineBareFunction",e,t)},t.assertPipelinePrimaryTopicReference=function(e,t){a("PipelinePrimaryTopicReference",e,t)},t.assertPipelineTopicExpression=function(e,t){a("PipelineTopicExpression",e,t)},t.assertPlaceholder=function(e,t){a("Placeholder",e,t)},t.assertPrivate=function(e,t){a("Private",e,t)},t.assertPrivateName=function(e,t){a("PrivateName",e,t)},t.assertProgram=function(e,t){a("Program",e,t)},t.assertProperty=function(e,t){a("Property",e,t)},t.assertPureish=function(e,t){a("Pureish",e,t)},t.assertQualifiedTypeIdentifier=function(e,t){a("QualifiedTypeIdentifier",e,t)},t.assertRecordExpression=function(e,t){a("RecordExpression",e,t)},t.assertRegExpLiteral=function(e,t){a("RegExpLiteral",e,t)},t.assertRegexLiteral=function(e,t){(0,i.default)("assertRegexLiteral","assertRegExpLiteral"),a("RegexLiteral",e,t)},t.assertRestElement=function(e,t){a("RestElement",e,t)},t.assertRestProperty=function(e,t){(0,i.default)("assertRestProperty","assertRestElement"),a("RestProperty",e,t)},t.assertReturnStatement=function(e,t){a("ReturnStatement",e,t)},t.assertScopable=function(e,t){a("Scopable",e,t)},t.assertSequenceExpression=function(e,t){a("SequenceExpression",e,t)},t.assertSpreadElement=function(e,t){a("SpreadElement",e,t)},t.assertSpreadProperty=function(e,t){(0,i.default)("assertSpreadProperty","assertSpreadElement"),a("SpreadProperty",e,t)},t.assertStandardized=function(e,t){a("Standardized",e,t)},t.assertStatement=function(e,t){a("Statement",e,t)},t.assertStaticBlock=function(e,t){a("StaticBlock",e,t)},t.assertStringLiteral=function(e,t){a("StringLiteral",e,t)},t.assertStringLiteralTypeAnnotation=function(e,t){a("StringLiteralTypeAnnotation",e,t)},t.assertStringTypeAnnotation=function(e,t){a("StringTypeAnnotation",e,t)},t.assertSuper=function(e,t){a("Super",e,t)},t.assertSwitchCase=function(e,t){a("SwitchCase",e,t)},t.assertSwitchStatement=function(e,t){a("SwitchStatement",e,t)},t.assertSymbolTypeAnnotation=function(e,t){a("SymbolTypeAnnotation",e,t)},t.assertTSAnyKeyword=function(e,t){a("TSAnyKeyword",e,t)},t.assertTSArrayType=function(e,t){a("TSArrayType",e,t)},t.assertTSAsExpression=function(e,t){a("TSAsExpression",e,t)},t.assertTSBaseType=function(e,t){a("TSBaseType",e,t)},t.assertTSBigIntKeyword=function(e,t){a("TSBigIntKeyword",e,t)},t.assertTSBooleanKeyword=function(e,t){a("TSBooleanKeyword",e,t)},t.assertTSCallSignatureDeclaration=function(e,t){a("TSCallSignatureDeclaration",e,t)},t.assertTSConditionalType=function(e,t){a("TSConditionalType",e,t)},t.assertTSConstructSignatureDeclaration=function(e,t){a("TSConstructSignatureDeclaration",e,t)},t.assertTSConstructorType=function(e,t){a("TSConstructorType",e,t)},t.assertTSDeclareFunction=function(e,t){a("TSDeclareFunction",e,t)},t.assertTSDeclareMethod=function(e,t){a("TSDeclareMethod",e,t)},t.assertTSEntityName=function(e,t){a("TSEntityName",e,t)},t.assertTSEnumBody=function(e,t){a("TSEnumBody",e,t)},t.assertTSEnumDeclaration=function(e,t){a("TSEnumDeclaration",e,t)},t.assertTSEnumMember=function(e,t){a("TSEnumMember",e,t)},t.assertTSExportAssignment=function(e,t){a("TSExportAssignment",e,t)},t.assertTSExpressionWithTypeArguments=function(e,t){a("TSExpressionWithTypeArguments",e,t)},t.assertTSExternalModuleReference=function(e,t){a("TSExternalModuleReference",e,t)},t.assertTSFunctionType=function(e,t){a("TSFunctionType",e,t)},t.assertTSImportEqualsDeclaration=function(e,t){a("TSImportEqualsDeclaration",e,t)},t.assertTSImportType=function(e,t){a("TSImportType",e,t)},t.assertTSIndexSignature=function(e,t){a("TSIndexSignature",e,t)},t.assertTSIndexedAccessType=function(e,t){a("TSIndexedAccessType",e,t)},t.assertTSInferType=function(e,t){a("TSInferType",e,t)},t.assertTSInstantiationExpression=function(e,t){a("TSInstantiationExpression",e,t)},t.assertTSInterfaceBody=function(e,t){a("TSInterfaceBody",e,t)},t.assertTSInterfaceDeclaration=function(e,t){a("TSInterfaceDeclaration",e,t)},t.assertTSIntersectionType=function(e,t){a("TSIntersectionType",e,t)},t.assertTSIntrinsicKeyword=function(e,t){a("TSIntrinsicKeyword",e,t)},t.assertTSLiteralType=function(e,t){a("TSLiteralType",e,t)},t.assertTSMappedType=function(e,t){a("TSMappedType",e,t)},t.assertTSMethodSignature=function(e,t){a("TSMethodSignature",e,t)},t.assertTSModuleBlock=function(e,t){a("TSModuleBlock",e,t)},t.assertTSModuleDeclaration=function(e,t){a("TSModuleDeclaration",e,t)},t.assertTSNamedTupleMember=function(e,t){a("TSNamedTupleMember",e,t)},t.assertTSNamespaceExportDeclaration=function(e,t){a("TSNamespaceExportDeclaration",e,t)},t.assertTSNeverKeyword=function(e,t){a("TSNeverKeyword",e,t)},t.assertTSNonNullExpression=function(e,t){a("TSNonNullExpression",e,t)},t.assertTSNullKeyword=function(e,t){a("TSNullKeyword",e,t)},t.assertTSNumberKeyword=function(e,t){a("TSNumberKeyword",e,t)},t.assertTSObjectKeyword=function(e,t){a("TSObjectKeyword",e,t)},t.assertTSOptionalType=function(e,t){a("TSOptionalType",e,t)},t.assertTSParameterProperty=function(e,t){a("TSParameterProperty",e,t)},t.assertTSParenthesizedType=function(e,t){a("TSParenthesizedType",e,t)},t.assertTSPropertySignature=function(e,t){a("TSPropertySignature",e,t)},t.assertTSQualifiedName=function(e,t){a("TSQualifiedName",e,t)},t.assertTSRestType=function(e,t){a("TSRestType",e,t)},t.assertTSSatisfiesExpression=function(e,t){a("TSSatisfiesExpression",e,t)},t.assertTSStringKeyword=function(e,t){a("TSStringKeyword",e,t)},t.assertTSSymbolKeyword=function(e,t){a("TSSymbolKeyword",e,t)},t.assertTSTemplateLiteralType=function(e,t){a("TSTemplateLiteralType",e,t)},t.assertTSThisType=function(e,t){a("TSThisType",e,t)},t.assertTSTupleType=function(e,t){a("TSTupleType",e,t)},t.assertTSType=function(e,t){a("TSType",e,t)},t.assertTSTypeAliasDeclaration=function(e,t){a("TSTypeAliasDeclaration",e,t)},t.assertTSTypeAnnotation=function(e,t){a("TSTypeAnnotation",e,t)},t.assertTSTypeAssertion=function(e,t){a("TSTypeAssertion",e,t)},t.assertTSTypeElement=function(e,t){a("TSTypeElement",e,t)},t.assertTSTypeLiteral=function(e,t){a("TSTypeLiteral",e,t)},t.assertTSTypeOperator=function(e,t){a("TSTypeOperator",e,t)},t.assertTSTypeParameter=function(e,t){a("TSTypeParameter",e,t)},t.assertTSTypeParameterDeclaration=function(e,t){a("TSTypeParameterDeclaration",e,t)},t.assertTSTypeParameterInstantiation=function(e,t){a("TSTypeParameterInstantiation",e,t)},t.assertTSTypePredicate=function(e,t){a("TSTypePredicate",e,t)},t.assertTSTypeQuery=function(e,t){a("TSTypeQuery",e,t)},t.assertTSTypeReference=function(e,t){a("TSTypeReference",e,t)},t.assertTSUndefinedKeyword=function(e,t){a("TSUndefinedKeyword",e,t)},t.assertTSUnionType=function(e,t){a("TSUnionType",e,t)},t.assertTSUnknownKeyword=function(e,t){a("TSUnknownKeyword",e,t)},t.assertTSVoidKeyword=function(e,t){a("TSVoidKeyword",e,t)},t.assertTaggedTemplateExpression=function(e,t){a("TaggedTemplateExpression",e,t)},t.assertTemplateElement=function(e,t){a("TemplateElement",e,t)},t.assertTemplateLiteral=function(e,t){a("TemplateLiteral",e,t)},t.assertTerminatorless=function(e,t){a("Terminatorless",e,t)},t.assertThisExpression=function(e,t){a("ThisExpression",e,t)},t.assertThisTypeAnnotation=function(e,t){a("ThisTypeAnnotation",e,t)},t.assertThrowStatement=function(e,t){a("ThrowStatement",e,t)},t.assertTopicReference=function(e,t){a("TopicReference",e,t)},t.assertTryStatement=function(e,t){a("TryStatement",e,t)},t.assertTupleExpression=function(e,t){a("TupleExpression",e,t)},t.assertTupleTypeAnnotation=function(e,t){a("TupleTypeAnnotation",e,t)},t.assertTypeAlias=function(e,t){a("TypeAlias",e,t)},t.assertTypeAnnotation=function(e,t){a("TypeAnnotation",e,t)},t.assertTypeCastExpression=function(e,t){a("TypeCastExpression",e,t)},t.assertTypeParameter=function(e,t){a("TypeParameter",e,t)},t.assertTypeParameterDeclaration=function(e,t){a("TypeParameterDeclaration",e,t)},t.assertTypeParameterInstantiation=function(e,t){a("TypeParameterInstantiation",e,t)},t.assertTypeScript=function(e,t){a("TypeScript",e,t)},t.assertTypeofTypeAnnotation=function(e,t){a("TypeofTypeAnnotation",e,t)},t.assertUnaryExpression=function(e,t){a("UnaryExpression",e,t)},t.assertUnaryLike=function(e,t){a("UnaryLike",e,t)},t.assertUnionTypeAnnotation=function(e,t){a("UnionTypeAnnotation",e,t)},t.assertUpdateExpression=function(e,t){a("UpdateExpression",e,t)},t.assertUserWhitespacable=function(e,t){a("UserWhitespacable",e,t)},t.assertV8IntrinsicIdentifier=function(e,t){a("V8IntrinsicIdentifier",e,t)},t.assertVariableDeclaration=function(e,t){a("VariableDeclaration",e,t)},t.assertVariableDeclarator=function(e,t){a("VariableDeclarator",e,t)},t.assertVariance=function(e,t){a("Variance",e,t)},t.assertVoidPattern=function(e,t){a("VoidPattern",e,t)},t.assertVoidTypeAnnotation=function(e,t){a("VoidTypeAnnotation",e,t)},t.assertWhile=function(e,t){a("While",e,t)},t.assertWhileStatement=function(e,t){a("WhileStatement",e,t)},t.assertWithStatement=function(e,t){a("WithStatement",e,t)},t.assertYieldExpression=function(e,t){a("YieldExpression",e,t)};var r=n(80947),i=n(50231);function a(e,t,n){if(!(0,r.default)(e,t,n))throw Error(`Expected type "${e}" with option ${JSON.stringify(n)}, but instead got "${t.type}".`)}},95414(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=(0,i.default)(e);return 1===t.length?t[0]:(0,r.unionTypeAnnotation)(t)};var r=n(93806),i=n(54538)},56461(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(93806);t.default=function(e){switch(e){case"string":return(0,r.stringTypeAnnotation)();case"number":return(0,r.numberTypeAnnotation)();case"undefined":return(0,r.voidTypeAnnotation)();case"boolean":return(0,r.booleanTypeAnnotation)();case"function":return(0,r.genericTypeAnnotation)((0,r.identifier)("Function"));case"object":return(0,r.genericTypeAnnotation)((0,r.identifier)("Object"));case"symbol":return(0,r.genericTypeAnnotation)((0,r.identifier)("Symbol"));case"bigint":return(0,r.anyTypeAnnotation)()}throw Error("Invalid typeof value: "+e)}},93806(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(56223);Object.keys(r).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n(44614);Object.keys(i).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})})},56223(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.anyTypeAnnotation=function(){return{type:"AnyTypeAnnotation"}},t.argumentPlaceholder=function(){return{type:"ArgumentPlaceholder"}},t.arrayExpression=function(e=[]){let t={type:"ArrayExpression",elements:e};return o(s.ArrayExpression.elements,t,"elements",e,1),t},t.arrayPattern=function(e){let t={type:"ArrayPattern",elements:e};return o(s.ArrayPattern.elements,t,"elements",e,1),t},t.arrayTypeAnnotation=function(e){let t={type:"ArrayTypeAnnotation",elementType:e};return o(s.ArrayTypeAnnotation.elementType,t,"elementType",e,1),t},t.arrowFunctionExpression=function(e,t,n=!1){let r={type:"ArrowFunctionExpression",params:e,body:t,async:n,expression:null},i=s.ArrowFunctionExpression;return o(i.params,r,"params",e,1),o(i.body,r,"body",t,1),o(i.async,r,"async",n),r},t.assignmentExpression=function(e,t,n){let r={type:"AssignmentExpression",operator:e,left:t,right:n},i=s.AssignmentExpression;return o(i.operator,r,"operator",e),o(i.left,r,"left",t,1),o(i.right,r,"right",n,1),r},t.assignmentPattern=function(e,t){let n={type:"AssignmentPattern",left:e,right:t},r=s.AssignmentPattern;return o(r.left,n,"left",e,1),o(r.right,n,"right",t,1),n},t.awaitExpression=function(e){let t={type:"AwaitExpression",argument:e};return o(s.AwaitExpression.argument,t,"argument",e,1),t},t.bigIntLiteral=function(e){"bigint"==typeof e&&(e=e.toString());let t={type:"BigIntLiteral",value:e};return o(s.BigIntLiteral.value,t,"value",e),t},t.binaryExpression=function(e,t,n){let r={type:"BinaryExpression",operator:e,left:t,right:n},i=s.BinaryExpression;return o(i.operator,r,"operator",e),o(i.left,r,"left",t,1),o(i.right,r,"right",n,1),r},t.bindExpression=function(e,t){let n={type:"BindExpression",object:e,callee:t},r=s.BindExpression;return o(r.object,n,"object",e,1),o(r.callee,n,"callee",t,1),n},t.blockStatement=function(e,t=[]){let n={type:"BlockStatement",body:e,directives:t},r=s.BlockStatement;return o(r.body,n,"body",e,1),o(r.directives,n,"directives",t,1),n},t.booleanLiteral=function(e){let t={type:"BooleanLiteral",value:e};return o(s.BooleanLiteral.value,t,"value",e),t},t.booleanLiteralTypeAnnotation=function(e){let t={type:"BooleanLiteralTypeAnnotation",value:e};return o(s.BooleanLiteralTypeAnnotation.value,t,"value",e),t},t.booleanTypeAnnotation=function(){return{type:"BooleanTypeAnnotation"}},t.breakStatement=function(e=null){let t={type:"BreakStatement",label:e};return o(s.BreakStatement.label,t,"label",e,1),t},t.callExpression=function(e,t){let n={type:"CallExpression",callee:e,arguments:t},r=s.CallExpression;return o(r.callee,n,"callee",e,1),o(r.arguments,n,"arguments",t,1),n},t.catchClause=function(e=null,t){let n={type:"CatchClause",param:e,body:t},r=s.CatchClause;return o(r.param,n,"param",e,1),o(r.body,n,"body",t,1),n},t.classAccessorProperty=function(e,t=null,n=null,r=null,i=!1,a=!1){let l={type:"ClassAccessorProperty",key:e,value:t,typeAnnotation:n,decorators:r,computed:i,static:a},p=s.ClassAccessorProperty;return o(p.key,l,"key",e,1),o(p.value,l,"value",t,1),o(p.typeAnnotation,l,"typeAnnotation",n,1),o(p.decorators,l,"decorators",r,1),o(p.computed,l,"computed",i),o(p.static,l,"static",a),l},t.classBody=function(e){let t={type:"ClassBody",body:e};return o(s.ClassBody.body,t,"body",e,1),t},t.classDeclaration=function(e=null,t=null,n,r=null){let i={type:"ClassDeclaration",id:e,superClass:t,body:n,decorators:r},a=s.ClassDeclaration;return o(a.id,i,"id",e,1),o(a.superClass,i,"superClass",t,1),o(a.body,i,"body",n,1),o(a.decorators,i,"decorators",r,1),i},t.classExpression=function(e=null,t=null,n,r=null){let i={type:"ClassExpression",id:e,superClass:t,body:n,decorators:r},a=s.ClassExpression;return o(a.id,i,"id",e,1),o(a.superClass,i,"superClass",t,1),o(a.body,i,"body",n,1),o(a.decorators,i,"decorators",r,1),i},t.classImplements=function(e,t=null){let n={type:"ClassImplements",id:e,typeParameters:t},r=s.ClassImplements;return o(r.id,n,"id",e,1),o(r.typeParameters,n,"typeParameters",t,1),n},t.classMethod=function(e="method",t,n,r,i=!1,a=!1,l=!1,p=!1){let u={type:"ClassMethod",kind:e,key:t,params:n,body:r,computed:i,static:a,generator:l,async:p},c=s.ClassMethod;return o(c.kind,u,"kind",e),o(c.key,u,"key",t,1),o(c.params,u,"params",n,1),o(c.body,u,"body",r,1),o(c.computed,u,"computed",i),o(c.static,u,"static",a),o(c.generator,u,"generator",l),o(c.async,u,"async",p),u},t.classPrivateMethod=function(e="method",t,n,r,i=!1){let a={type:"ClassPrivateMethod",kind:e,key:t,params:n,body:r,static:i},l=s.ClassPrivateMethod;return o(l.kind,a,"kind",e),o(l.key,a,"key",t,1),o(l.params,a,"params",n,1),o(l.body,a,"body",r,1),o(l.static,a,"static",i),a},t.classPrivateProperty=function(e,t=null,n=null,r=!1){let i={type:"ClassPrivateProperty",key:e,value:t,decorators:n,static:r},a=s.ClassPrivateProperty;return o(a.key,i,"key",e,1),o(a.value,i,"value",t,1),o(a.decorators,i,"decorators",n,1),o(a.static,i,"static",r),i},t.classProperty=function(e,t=null,n=null,r=null,i=!1,a=!1){let l={type:"ClassProperty",key:e,value:t,typeAnnotation:n,decorators:r,computed:i,static:a},p=s.ClassProperty;return o(p.key,l,"key",e,1),o(p.value,l,"value",t,1),o(p.typeAnnotation,l,"typeAnnotation",n,1),o(p.decorators,l,"decorators",r,1),o(p.computed,l,"computed",i),o(p.static,l,"static",a),l},t.conditionalExpression=function(e,t,n){let r={type:"ConditionalExpression",test:e,consequent:t,alternate:n},i=s.ConditionalExpression;return o(i.test,r,"test",e,1),o(i.consequent,r,"consequent",t,1),o(i.alternate,r,"alternate",n,1),r},t.continueStatement=function(e=null){let t={type:"ContinueStatement",label:e};return o(s.ContinueStatement.label,t,"label",e,1),t},t.debuggerStatement=function(){return{type:"DebuggerStatement"}},t.decimalLiteral=function(e){let t={type:"DecimalLiteral",value:e};return o(s.DecimalLiteral.value,t,"value",e),t},t.declareClass=function(e,t=null,n=null,r){let i={type:"DeclareClass",id:e,typeParameters:t,extends:n,body:r},a=s.DeclareClass;return o(a.id,i,"id",e,1),o(a.typeParameters,i,"typeParameters",t,1),o(a.extends,i,"extends",n,1),o(a.body,i,"body",r,1),i},t.declareExportAllDeclaration=function(e,t=null){let n={type:"DeclareExportAllDeclaration",source:e,attributes:t},r=s.DeclareExportAllDeclaration;return o(r.source,n,"source",e,1),o(r.attributes,n,"attributes",t,1),n},t.declareExportDeclaration=function(e=null,t=null,n=null,r=null){let i={type:"DeclareExportDeclaration",declaration:e,specifiers:t,source:n,attributes:r},a=s.DeclareExportDeclaration;return o(a.declaration,i,"declaration",e,1),o(a.specifiers,i,"specifiers",t,1),o(a.source,i,"source",n,1),o(a.attributes,i,"attributes",r,1),i},t.declareFunction=function(e){let t={type:"DeclareFunction",id:e};return o(s.DeclareFunction.id,t,"id",e,1),t},t.declareInterface=function(e,t=null,n=null,r){let i={type:"DeclareInterface",id:e,typeParameters:t,extends:n,body:r},a=s.DeclareInterface;return o(a.id,i,"id",e,1),o(a.typeParameters,i,"typeParameters",t,1),o(a.extends,i,"extends",n,1),o(a.body,i,"body",r,1),i},t.declareModule=function(e,t,n=null){let r={type:"DeclareModule",id:e,body:t,kind:n},i=s.DeclareModule;return o(i.id,r,"id",e,1),o(i.body,r,"body",t,1),o(i.kind,r,"kind",n),r},t.declareModuleExports=function(e){let t={type:"DeclareModuleExports",typeAnnotation:e};return o(s.DeclareModuleExports.typeAnnotation,t,"typeAnnotation",e,1),t},t.declareOpaqueType=function(e,t=null,n=null){let r={type:"DeclareOpaqueType",id:e,typeParameters:t,supertype:n},i=s.DeclareOpaqueType;return o(i.id,r,"id",e,1),o(i.typeParameters,r,"typeParameters",t,1),o(i.supertype,r,"supertype",n,1),r},t.declareTypeAlias=function(e,t=null,n){let r={type:"DeclareTypeAlias",id:e,typeParameters:t,right:n},i=s.DeclareTypeAlias;return o(i.id,r,"id",e,1),o(i.typeParameters,r,"typeParameters",t,1),o(i.right,r,"right",n,1),r},t.declareVariable=function(e){let t={type:"DeclareVariable",id:e};return o(s.DeclareVariable.id,t,"id",e,1),t},t.declaredPredicate=function(e){let t={type:"DeclaredPredicate",value:e};return o(s.DeclaredPredicate.value,t,"value",e,1),t},t.decorator=function(e){let t={type:"Decorator",expression:e};return o(s.Decorator.expression,t,"expression",e,1),t},t.directive=function(e){let t={type:"Directive",value:e};return o(s.Directive.value,t,"value",e,1),t},t.directiveLiteral=function(e){let t={type:"DirectiveLiteral",value:e};return o(s.DirectiveLiteral.value,t,"value",e),t},t.doExpression=function(e,t=!1){let n={type:"DoExpression",body:e,async:t},r=s.DoExpression;return o(r.body,n,"body",e,1),o(r.async,n,"async",t),n},t.doWhileStatement=function(e,t){let n={type:"DoWhileStatement",test:e,body:t},r=s.DoWhileStatement;return o(r.test,n,"test",e,1),o(r.body,n,"body",t,1),n},t.emptyStatement=function(){return{type:"EmptyStatement"}},t.emptyTypeAnnotation=function(){return{type:"EmptyTypeAnnotation"}},t.enumBooleanBody=function(e){let t={type:"EnumBooleanBody",members:e,explicitType:null,hasUnknownMembers:null};return o(s.EnumBooleanBody.members,t,"members",e,1),t},t.enumBooleanMember=function(e){let t={type:"EnumBooleanMember",id:e,init:null};return o(s.EnumBooleanMember.id,t,"id",e,1),t},t.enumDeclaration=function(e,t){let n={type:"EnumDeclaration",id:e,body:t},r=s.EnumDeclaration;return o(r.id,n,"id",e,1),o(r.body,n,"body",t,1),n},t.enumDefaultedMember=function(e){let t={type:"EnumDefaultedMember",id:e};return o(s.EnumDefaultedMember.id,t,"id",e,1),t},t.enumNumberBody=function(e){let t={type:"EnumNumberBody",members:e,explicitType:null,hasUnknownMembers:null};return o(s.EnumNumberBody.members,t,"members",e,1),t},t.enumNumberMember=function(e,t){let n={type:"EnumNumberMember",id:e,init:t},r=s.EnumNumberMember;return o(r.id,n,"id",e,1),o(r.init,n,"init",t,1),n},t.enumStringBody=function(e){let t={type:"EnumStringBody",members:e,explicitType:null,hasUnknownMembers:null};return o(s.EnumStringBody.members,t,"members",e,1),t},t.enumStringMember=function(e,t){let n={type:"EnumStringMember",id:e,init:t},r=s.EnumStringMember;return o(r.id,n,"id",e,1),o(r.init,n,"init",t,1),n},t.enumSymbolBody=function(e){let t={type:"EnumSymbolBody",members:e,hasUnknownMembers:null};return o(s.EnumSymbolBody.members,t,"members",e,1),t},t.existsTypeAnnotation=function(){return{type:"ExistsTypeAnnotation"}},t.exportAllDeclaration=function(e){let t={type:"ExportAllDeclaration",source:e};return o(s.ExportAllDeclaration.source,t,"source",e,1),t},t.exportDefaultDeclaration=function(e){let t={type:"ExportDefaultDeclaration",declaration:e};return o(s.ExportDefaultDeclaration.declaration,t,"declaration",e,1),t},t.exportDefaultSpecifier=function(e){let t={type:"ExportDefaultSpecifier",exported:e};return o(s.ExportDefaultSpecifier.exported,t,"exported",e,1),t},t.exportNamedDeclaration=function(e=null,t=[],n=null){let r={type:"ExportNamedDeclaration",declaration:e,specifiers:t,source:n},i=s.ExportNamedDeclaration;return o(i.declaration,r,"declaration",e,1),o(i.specifiers,r,"specifiers",t,1),o(i.source,r,"source",n,1),r},t.exportNamespaceSpecifier=function(e){let t={type:"ExportNamespaceSpecifier",exported:e};return o(s.ExportNamespaceSpecifier.exported,t,"exported",e,1),t},t.exportSpecifier=function(e,t){let n={type:"ExportSpecifier",local:e,exported:t},r=s.ExportSpecifier;return o(r.local,n,"local",e,1),o(r.exported,n,"exported",t,1),n},t.expressionStatement=function(e){let t={type:"ExpressionStatement",expression:e};return o(s.ExpressionStatement.expression,t,"expression",e,1),t},t.file=function(e,t=null,n=null){let r={type:"File",program:e,comments:t,tokens:n},i=s.File;return o(i.program,r,"program",e,1),o(i.comments,r,"comments",t,1),o(i.tokens,r,"tokens",n),r},t.forInStatement=function(e,t,n){let r={type:"ForInStatement",left:e,right:t,body:n},i=s.ForInStatement;return o(i.left,r,"left",e,1),o(i.right,r,"right",t,1),o(i.body,r,"body",n,1),r},t.forOfStatement=function(e,t,n,r=!1){let i={type:"ForOfStatement",left:e,right:t,body:n,await:r},a=s.ForOfStatement;return o(a.left,i,"left",e,1),o(a.right,i,"right",t,1),o(a.body,i,"body",n,1),o(a.await,i,"await",r),i},t.forStatement=function(e=null,t=null,n=null,r){let i={type:"ForStatement",init:e,test:t,update:n,body:r},a=s.ForStatement;return o(a.init,i,"init",e,1),o(a.test,i,"test",t,1),o(a.update,i,"update",n,1),o(a.body,i,"body",r,1),i},t.functionDeclaration=function(e=null,t,n,r=!1,i=!1){let a={type:"FunctionDeclaration",id:e,params:t,body:n,generator:r,async:i},l=s.FunctionDeclaration;return o(l.id,a,"id",e,1),o(l.params,a,"params",t,1),o(l.body,a,"body",n,1),o(l.generator,a,"generator",r),o(l.async,a,"async",i),a},t.functionExpression=function(e=null,t,n,r=!1,i=!1){let a={type:"FunctionExpression",id:e,params:t,body:n,generator:r,async:i},l=s.FunctionExpression;return o(l.id,a,"id",e,1),o(l.params,a,"params",t,1),o(l.body,a,"body",n,1),o(l.generator,a,"generator",r),o(l.async,a,"async",i),a},t.functionTypeAnnotation=function(e=null,t,n=null,r){let i={type:"FunctionTypeAnnotation",typeParameters:e,params:t,rest:n,returnType:r},a=s.FunctionTypeAnnotation;return o(a.typeParameters,i,"typeParameters",e,1),o(a.params,i,"params",t,1),o(a.rest,i,"rest",n,1),o(a.returnType,i,"returnType",r,1),i},t.functionTypeParam=function(e=null,t){let n={type:"FunctionTypeParam",name:e,typeAnnotation:t},r=s.FunctionTypeParam;return o(r.name,n,"name",e,1),o(r.typeAnnotation,n,"typeAnnotation",t,1),n},t.genericTypeAnnotation=function(e,t=null){let n={type:"GenericTypeAnnotation",id:e,typeParameters:t},r=s.GenericTypeAnnotation;return o(r.id,n,"id",e,1),o(r.typeParameters,n,"typeParameters",t,1),n},t.identifier=function(e){let t={type:"Identifier",name:e};return o(s.Identifier.name,t,"name",e),t},t.ifStatement=function(e,t,n=null){let r={type:"IfStatement",test:e,consequent:t,alternate:n},i=s.IfStatement;return o(i.test,r,"test",e,1),o(i.consequent,r,"consequent",t,1),o(i.alternate,r,"alternate",n,1),r},t.import=function(){return{type:"Import"}},t.importAttribute=function(e,t){let n={type:"ImportAttribute",key:e,value:t},r=s.ImportAttribute;return o(r.key,n,"key",e,1),o(r.value,n,"value",t,1),n},t.importDeclaration=function(e,t){let n={type:"ImportDeclaration",specifiers:e,source:t},r=s.ImportDeclaration;return o(r.specifiers,n,"specifiers",e,1),o(r.source,n,"source",t,1),n},t.importDefaultSpecifier=function(e){let t={type:"ImportDefaultSpecifier",local:e};return o(s.ImportDefaultSpecifier.local,t,"local",e,1),t},t.importExpression=function(e,t=null){let n={type:"ImportExpression",source:e,options:t},r=s.ImportExpression;return o(r.source,n,"source",e,1),o(r.options,n,"options",t,1),n},t.importNamespaceSpecifier=function(e){let t={type:"ImportNamespaceSpecifier",local:e};return o(s.ImportNamespaceSpecifier.local,t,"local",e,1),t},t.importSpecifier=function(e,t){let n={type:"ImportSpecifier",local:e,imported:t},r=s.ImportSpecifier;return o(r.local,n,"local",e,1),o(r.imported,n,"imported",t,1),n},t.indexedAccessType=function(e,t){let n={type:"IndexedAccessType",objectType:e,indexType:t},r=s.IndexedAccessType;return o(r.objectType,n,"objectType",e,1),o(r.indexType,n,"indexType",t,1),n},t.inferredPredicate=function(){return{type:"InferredPredicate"}},t.interfaceDeclaration=function(e,t=null,n=null,r){let i={type:"InterfaceDeclaration",id:e,typeParameters:t,extends:n,body:r},a=s.InterfaceDeclaration;return o(a.id,i,"id",e,1),o(a.typeParameters,i,"typeParameters",t,1),o(a.extends,i,"extends",n,1),o(a.body,i,"body",r,1),i},t.interfaceExtends=function(e,t=null){let n={type:"InterfaceExtends",id:e,typeParameters:t},r=s.InterfaceExtends;return o(r.id,n,"id",e,1),o(r.typeParameters,n,"typeParameters",t,1),n},t.interfaceTypeAnnotation=function(e=null,t){let n={type:"InterfaceTypeAnnotation",extends:e,body:t},r=s.InterfaceTypeAnnotation;return o(r.extends,n,"extends",e,1),o(r.body,n,"body",t,1),n},t.interpreterDirective=function(e){let t={type:"InterpreterDirective",value:e};return o(s.InterpreterDirective.value,t,"value",e),t},t.intersectionTypeAnnotation=function(e){let t={type:"IntersectionTypeAnnotation",types:e};return o(s.IntersectionTypeAnnotation.types,t,"types",e,1),t},t.jSXAttribute=t.jsxAttribute=function(e,t=null){let n={type:"JSXAttribute",name:e,value:t},r=s.JSXAttribute;return o(r.name,n,"name",e,1),o(r.value,n,"value",t,1),n},t.jSXClosingElement=t.jsxClosingElement=function(e){let t={type:"JSXClosingElement",name:e};return o(s.JSXClosingElement.name,t,"name",e,1),t},t.jSXClosingFragment=t.jsxClosingFragment=function(){return{type:"JSXClosingFragment"}},t.jSXElement=t.jsxElement=function(e,t=null,n,r=null){let i={type:"JSXElement",openingElement:e,closingElement:t,children:n,selfClosing:r},a=s.JSXElement;return o(a.openingElement,i,"openingElement",e,1),o(a.closingElement,i,"closingElement",t,1),o(a.children,i,"children",n,1),o(a.selfClosing,i,"selfClosing",r),i},t.jSXEmptyExpression=t.jsxEmptyExpression=function(){return{type:"JSXEmptyExpression"}},t.jSXExpressionContainer=t.jsxExpressionContainer=function(e){let t={type:"JSXExpressionContainer",expression:e};return o(s.JSXExpressionContainer.expression,t,"expression",e,1),t},t.jSXFragment=t.jsxFragment=function(e,t,n){let r={type:"JSXFragment",openingFragment:e,closingFragment:t,children:n},i=s.JSXFragment;return o(i.openingFragment,r,"openingFragment",e,1),o(i.closingFragment,r,"closingFragment",t,1),o(i.children,r,"children",n,1),r},t.jSXIdentifier=t.jsxIdentifier=function(e){let t={type:"JSXIdentifier",name:e};return o(s.JSXIdentifier.name,t,"name",e),t},t.jSXMemberExpression=t.jsxMemberExpression=function(e,t){let n={type:"JSXMemberExpression",object:e,property:t},r=s.JSXMemberExpression;return o(r.object,n,"object",e,1),o(r.property,n,"property",t,1),n},t.jSXNamespacedName=t.jsxNamespacedName=function(e,t){let n={type:"JSXNamespacedName",namespace:e,name:t},r=s.JSXNamespacedName;return o(r.namespace,n,"namespace",e,1),o(r.name,n,"name",t,1),n},t.jSXOpeningElement=t.jsxOpeningElement=function(e,t,n=!1){let r={type:"JSXOpeningElement",name:e,attributes:t,selfClosing:n},i=s.JSXOpeningElement;return o(i.name,r,"name",e,1),o(i.attributes,r,"attributes",t,1),o(i.selfClosing,r,"selfClosing",n),r},t.jSXOpeningFragment=t.jsxOpeningFragment=function(){return{type:"JSXOpeningFragment"}},t.jSXSpreadAttribute=t.jsxSpreadAttribute=function(e){let t={type:"JSXSpreadAttribute",argument:e};return o(s.JSXSpreadAttribute.argument,t,"argument",e,1),t},t.jSXSpreadChild=t.jsxSpreadChild=function(e){let t={type:"JSXSpreadChild",expression:e};return o(s.JSXSpreadChild.expression,t,"expression",e,1),t},t.jSXText=t.jsxText=function(e){let t={type:"JSXText",value:e};return o(s.JSXText.value,t,"value",e),t},t.labeledStatement=function(e,t){let n={type:"LabeledStatement",label:e,body:t},r=s.LabeledStatement;return o(r.label,n,"label",e,1),o(r.body,n,"body",t,1),n},t.logicalExpression=function(e,t,n){let r={type:"LogicalExpression",operator:e,left:t,right:n},i=s.LogicalExpression;return o(i.operator,r,"operator",e),o(i.left,r,"left",t,1),o(i.right,r,"right",n,1),r},t.memberExpression=function(e,t,n=!1,r=null){let i={type:"MemberExpression",object:e,property:t,computed:n,optional:r},a=s.MemberExpression;return o(a.object,i,"object",e,1),o(a.property,i,"property",t,1),o(a.computed,i,"computed",n),o(a.optional,i,"optional",r),i},t.metaProperty=function(e,t){let n={type:"MetaProperty",meta:e,property:t},r=s.MetaProperty;return o(r.meta,n,"meta",e,1),o(r.property,n,"property",t,1),n},t.mixedTypeAnnotation=function(){return{type:"MixedTypeAnnotation"}},t.moduleExpression=function(e){let t={type:"ModuleExpression",body:e};return o(s.ModuleExpression.body,t,"body",e,1),t},t.newExpression=function(e,t){let n={type:"NewExpression",callee:e,arguments:t},r=s.NewExpression;return o(r.callee,n,"callee",e,1),o(r.arguments,n,"arguments",t,1),n},t.noop=function(){return{type:"Noop"}},t.nullLiteral=function(){return{type:"NullLiteral"}},t.nullLiteralTypeAnnotation=function(){return{type:"NullLiteralTypeAnnotation"}},t.nullableTypeAnnotation=function(e){let t={type:"NullableTypeAnnotation",typeAnnotation:e};return o(s.NullableTypeAnnotation.typeAnnotation,t,"typeAnnotation",e,1),t},t.numberLiteral=function(e){return(0,i.default)("NumberLiteral","NumericLiteral","The node type "),l(e)},t.numberLiteralTypeAnnotation=function(e){let t={type:"NumberLiteralTypeAnnotation",value:e};return o(s.NumberLiteralTypeAnnotation.value,t,"value",e),t},t.numberTypeAnnotation=function(){return{type:"NumberTypeAnnotation"}},t.numericLiteral=l,t.objectExpression=function(e){let t={type:"ObjectExpression",properties:e};return o(s.ObjectExpression.properties,t,"properties",e,1),t},t.objectMethod=function(e="method",t,n,r,i=!1,a=!1,l=!1){let p={type:"ObjectMethod",kind:e,key:t,params:n,body:r,computed:i,generator:a,async:l},u=s.ObjectMethod;return o(u.kind,p,"kind",e),o(u.key,p,"key",t,1),o(u.params,p,"params",n,1),o(u.body,p,"body",r,1),o(u.computed,p,"computed",i),o(u.generator,p,"generator",a),o(u.async,p,"async",l),p},t.objectPattern=function(e){let t={type:"ObjectPattern",properties:e};return o(s.ObjectPattern.properties,t,"properties",e,1),t},t.objectProperty=function(e,t,n=!1,r=!1,i=null){let a={type:"ObjectProperty",key:e,value:t,computed:n,shorthand:r,decorators:i},l=s.ObjectProperty;return o(l.key,a,"key",e,1),o(l.value,a,"value",t,1),o(l.computed,a,"computed",n),o(l.shorthand,a,"shorthand",r),o(l.decorators,a,"decorators",i,1),a},t.objectTypeAnnotation=function(e,t=[],n=[],r=[],i=!1){let a={type:"ObjectTypeAnnotation",properties:e,indexers:t,callProperties:n,internalSlots:r,exact:i},l=s.ObjectTypeAnnotation;return o(l.properties,a,"properties",e,1),o(l.indexers,a,"indexers",t,1),o(l.callProperties,a,"callProperties",n,1),o(l.internalSlots,a,"internalSlots",r,1),o(l.exact,a,"exact",i),a},t.objectTypeCallProperty=function(e){let t={type:"ObjectTypeCallProperty",value:e,static:null};return o(s.ObjectTypeCallProperty.value,t,"value",e,1),t},t.objectTypeIndexer=function(e=null,t,n,r=null){let i={type:"ObjectTypeIndexer",id:e,key:t,value:n,variance:r,static:null},a=s.ObjectTypeIndexer;return o(a.id,i,"id",e,1),o(a.key,i,"key",t,1),o(a.value,i,"value",n,1),o(a.variance,i,"variance",r,1),i},t.objectTypeInternalSlot=function(e,t,n,r,i){let a={type:"ObjectTypeInternalSlot",id:e,value:t,optional:n,static:r,method:i},l=s.ObjectTypeInternalSlot;return o(l.id,a,"id",e,1),o(l.value,a,"value",t,1),o(l.optional,a,"optional",n),o(l.static,a,"static",r),o(l.method,a,"method",i),a},t.objectTypeProperty=function(e,t,n=null){let r={type:"ObjectTypeProperty",key:e,value:t,variance:n,kind:null,method:null,optional:null,proto:null,static:null},i=s.ObjectTypeProperty;return o(i.key,r,"key",e,1),o(i.value,r,"value",t,1),o(i.variance,r,"variance",n,1),r},t.objectTypeSpreadProperty=function(e){let t={type:"ObjectTypeSpreadProperty",argument:e};return o(s.ObjectTypeSpreadProperty.argument,t,"argument",e,1),t},t.opaqueType=function(e,t=null,n=null,r){let i={type:"OpaqueType",id:e,typeParameters:t,supertype:n,impltype:r},a=s.OpaqueType;return o(a.id,i,"id",e,1),o(a.typeParameters,i,"typeParameters",t,1),o(a.supertype,i,"supertype",n,1),o(a.impltype,i,"impltype",r,1),i},t.optionalCallExpression=function(e,t,n){let r={type:"OptionalCallExpression",callee:e,arguments:t,optional:n},i=s.OptionalCallExpression;return o(i.callee,r,"callee",e,1),o(i.arguments,r,"arguments",t,1),o(i.optional,r,"optional",n),r},t.optionalIndexedAccessType=function(e,t){let n={type:"OptionalIndexedAccessType",objectType:e,indexType:t,optional:null},r=s.OptionalIndexedAccessType;return o(r.objectType,n,"objectType",e,1),o(r.indexType,n,"indexType",t,1),n},t.optionalMemberExpression=function(e,t,n=!1,r){let i={type:"OptionalMemberExpression",object:e,property:t,computed:n,optional:r},a=s.OptionalMemberExpression;return o(a.object,i,"object",e,1),o(a.property,i,"property",t,1),o(a.computed,i,"computed",n),o(a.optional,i,"optional",r),i},t.parenthesizedExpression=function(e){let t={type:"ParenthesizedExpression",expression:e};return o(s.ParenthesizedExpression.expression,t,"expression",e,1),t},t.pipelineBareFunction=function(e){let t={type:"PipelineBareFunction",callee:e};return o(s.PipelineBareFunction.callee,t,"callee",e,1),t},t.pipelinePrimaryTopicReference=function(){return{type:"PipelinePrimaryTopicReference"}},t.pipelineTopicExpression=function(e){let t={type:"PipelineTopicExpression",expression:e};return o(s.PipelineTopicExpression.expression,t,"expression",e,1),t},t.placeholder=function(e,t){let n={type:"Placeholder",expectedNode:e,name:t},r=s.Placeholder;return o(r.expectedNode,n,"expectedNode",e),o(r.name,n,"name",t,1),n},t.privateName=function(e){let t={type:"PrivateName",id:e};return o(s.PrivateName.id,t,"id",e,1),t},t.program=function(e,t=[],n="script",r=null){let i={type:"Program",body:e,directives:t,sourceType:n,interpreter:r},a=s.Program;return o(a.body,i,"body",e,1),o(a.directives,i,"directives",t,1),o(a.sourceType,i,"sourceType",n),o(a.interpreter,i,"interpreter",r,1),i},t.qualifiedTypeIdentifier=function(e,t){let n={type:"QualifiedTypeIdentifier",id:e,qualification:t},r=s.QualifiedTypeIdentifier;return o(r.id,n,"id",e,1),o(r.qualification,n,"qualification",t,1),n},t.recordExpression=function(e){let t={type:"RecordExpression",properties:e};return o(s.RecordExpression.properties,t,"properties",e,1),t},t.regExpLiteral=p,t.regexLiteral=function(e,t=""){return(0,i.default)("RegexLiteral","RegExpLiteral","The node type "),p(e,t)},t.restElement=u,t.restProperty=function(e){return(0,i.default)("RestProperty","RestElement","The node type "),u(e)},t.returnStatement=function(e=null){let t={type:"ReturnStatement",argument:e};return o(s.ReturnStatement.argument,t,"argument",e,1),t},t.sequenceExpression=function(e){let t={type:"SequenceExpression",expressions:e};return o(s.SequenceExpression.expressions,t,"expressions",e,1),t},t.spreadElement=c,t.spreadProperty=function(e){return(0,i.default)("SpreadProperty","SpreadElement","The node type "),c(e)},t.staticBlock=function(e){let t={type:"StaticBlock",body:e};return o(s.StaticBlock.body,t,"body",e,1),t},t.stringLiteral=function(e){let t={type:"StringLiteral",value:e};return o(s.StringLiteral.value,t,"value",e),t},t.stringLiteralTypeAnnotation=function(e){let t={type:"StringLiteralTypeAnnotation",value:e};return o(s.StringLiteralTypeAnnotation.value,t,"value",e),t},t.stringTypeAnnotation=function(){return{type:"StringTypeAnnotation"}},t.super=function(){return{type:"Super"}},t.switchCase=function(e=null,t){let n={type:"SwitchCase",test:e,consequent:t},r=s.SwitchCase;return o(r.test,n,"test",e,1),o(r.consequent,n,"consequent",t,1),n},t.switchStatement=function(e,t){let n={type:"SwitchStatement",discriminant:e,cases:t},r=s.SwitchStatement;return o(r.discriminant,n,"discriminant",e,1),o(r.cases,n,"cases",t,1),n},t.symbolTypeAnnotation=function(){return{type:"SymbolTypeAnnotation"}},t.taggedTemplateExpression=function(e,t){let n={type:"TaggedTemplateExpression",tag:e,quasi:t},r=s.TaggedTemplateExpression;return o(r.tag,n,"tag",e,1),o(r.quasi,n,"quasi",t,1),n},t.templateElement=function(e,t=!1){let n={type:"TemplateElement",value:e,tail:t},r=s.TemplateElement;return o(r.value,n,"value",e),o(r.tail,n,"tail",t),n},t.templateLiteral=function(e,t){let n={type:"TemplateLiteral",quasis:e,expressions:t},r=s.TemplateLiteral;return o(r.quasis,n,"quasis",e,1),o(r.expressions,n,"expressions",t,1),n},t.thisExpression=function(){return{type:"ThisExpression"}},t.thisTypeAnnotation=function(){return{type:"ThisTypeAnnotation"}},t.throwStatement=function(e){let t={type:"ThrowStatement",argument:e};return o(s.ThrowStatement.argument,t,"argument",e,1),t},t.topicReference=function(){return{type:"TopicReference"}},t.tryStatement=function(e,t=null,n=null){let r={type:"TryStatement",block:e,handler:t,finalizer:n},i=s.TryStatement;return o(i.block,r,"block",e,1),o(i.handler,r,"handler",t,1),o(i.finalizer,r,"finalizer",n,1),r},t.tSAnyKeyword=t.tsAnyKeyword=function(){return{type:"TSAnyKeyword"}},t.tSArrayType=t.tsArrayType=function(e){let t={type:"TSArrayType",elementType:e};return o(s.TSArrayType.elementType,t,"elementType",e,1),t},t.tSAsExpression=t.tsAsExpression=function(e,t){let n={type:"TSAsExpression",expression:e,typeAnnotation:t},r=s.TSAsExpression;return o(r.expression,n,"expression",e,1),o(r.typeAnnotation,n,"typeAnnotation",t,1),n},t.tSBigIntKeyword=t.tsBigIntKeyword=function(){return{type:"TSBigIntKeyword"}},t.tSBooleanKeyword=t.tsBooleanKeyword=function(){return{type:"TSBooleanKeyword"}},t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=function(e=null,t,n=null){let r={type:"TSCallSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:n},i=s.TSCallSignatureDeclaration;return o(i.typeParameters,r,"typeParameters",e,1),o(i.parameters,r,"parameters",t,1),o(i.typeAnnotation,r,"typeAnnotation",n,1),r},t.tSConditionalType=t.tsConditionalType=function(e,t,n,r){let i={type:"TSConditionalType",checkType:e,extendsType:t,trueType:n,falseType:r},a=s.TSConditionalType;return o(a.checkType,i,"checkType",e,1),o(a.extendsType,i,"extendsType",t,1),o(a.trueType,i,"trueType",n,1),o(a.falseType,i,"falseType",r,1),i},t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=function(e=null,t,n=null){let r={type:"TSConstructSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:n},i=s.TSConstructSignatureDeclaration;return o(i.typeParameters,r,"typeParameters",e,1),o(i.parameters,r,"parameters",t,1),o(i.typeAnnotation,r,"typeAnnotation",n,1),r},t.tSConstructorType=t.tsConstructorType=function(e=null,t,n=null){let r={type:"TSConstructorType",typeParameters:e,parameters:t,typeAnnotation:n},i=s.TSConstructorType;return o(i.typeParameters,r,"typeParameters",e,1),o(i.parameters,r,"parameters",t,1),o(i.typeAnnotation,r,"typeAnnotation",n,1),r},t.tSDeclareFunction=t.tsDeclareFunction=function(e=null,t=null,n,r=null){let i={type:"TSDeclareFunction",id:e,typeParameters:t,params:n,returnType:r},a=s.TSDeclareFunction;return o(a.id,i,"id",e,1),o(a.typeParameters,i,"typeParameters",t,1),o(a.params,i,"params",n,1),o(a.returnType,i,"returnType",r,1),i},t.tSDeclareMethod=t.tsDeclareMethod=function(e=null,t,n=null,r,i=null){let a={type:"TSDeclareMethod",decorators:e,key:t,typeParameters:n,params:r,returnType:i},l=s.TSDeclareMethod;return o(l.decorators,a,"decorators",e,1),o(l.key,a,"key",t,1),o(l.typeParameters,a,"typeParameters",n,1),o(l.params,a,"params",r,1),o(l.returnType,a,"returnType",i,1),a},t.tSEnumBody=t.tsEnumBody=function(e){let t={type:"TSEnumBody",members:e};return o(s.TSEnumBody.members,t,"members",e,1),t},t.tSEnumDeclaration=t.tsEnumDeclaration=function(e,t){let n={type:"TSEnumDeclaration",id:e,members:t},r=s.TSEnumDeclaration;return o(r.id,n,"id",e,1),o(r.members,n,"members",t,1),n},t.tSEnumMember=t.tsEnumMember=function(e,t=null){let n={type:"TSEnumMember",id:e,initializer:t},r=s.TSEnumMember;return o(r.id,n,"id",e,1),o(r.initializer,n,"initializer",t,1),n},t.tSExportAssignment=t.tsExportAssignment=function(e){let t={type:"TSExportAssignment",expression:e};return o(s.TSExportAssignment.expression,t,"expression",e,1),t},t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=function(e,t=null){let n={type:"TSExpressionWithTypeArguments",expression:e,typeParameters:t},r=s.TSExpressionWithTypeArguments;return o(r.expression,n,"expression",e,1),o(r.typeParameters,n,"typeParameters",t,1),n},t.tSExternalModuleReference=t.tsExternalModuleReference=function(e){let t={type:"TSExternalModuleReference",expression:e};return o(s.TSExternalModuleReference.expression,t,"expression",e,1),t},t.tSFunctionType=t.tsFunctionType=function(e=null,t,n=null){let r={type:"TSFunctionType",typeParameters:e,parameters:t,typeAnnotation:n},i=s.TSFunctionType;return o(i.typeParameters,r,"typeParameters",e,1),o(i.parameters,r,"parameters",t,1),o(i.typeAnnotation,r,"typeAnnotation",n,1),r},t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=function(e,t){let n={type:"TSImportEqualsDeclaration",id:e,moduleReference:t,isExport:null},r=s.TSImportEqualsDeclaration;return o(r.id,n,"id",e,1),o(r.moduleReference,n,"moduleReference",t,1),n},t.tSImportType=t.tsImportType=function(e,t=null,n=null){let r={type:"TSImportType",argument:e,qualifier:t,typeParameters:n},i=s.TSImportType;return o(i.argument,r,"argument",e,1),o(i.qualifier,r,"qualifier",t,1),o(i.typeParameters,r,"typeParameters",n,1),r},t.tSIndexSignature=t.tsIndexSignature=function(e,t=null){let n={type:"TSIndexSignature",parameters:e,typeAnnotation:t},r=s.TSIndexSignature;return o(r.parameters,n,"parameters",e,1),o(r.typeAnnotation,n,"typeAnnotation",t,1),n},t.tSIndexedAccessType=t.tsIndexedAccessType=function(e,t){let n={type:"TSIndexedAccessType",objectType:e,indexType:t},r=s.TSIndexedAccessType;return o(r.objectType,n,"objectType",e,1),o(r.indexType,n,"indexType",t,1),n},t.tSInferType=t.tsInferType=function(e){let t={type:"TSInferType",typeParameter:e};return o(s.TSInferType.typeParameter,t,"typeParameter",e,1),t},t.tSInstantiationExpression=t.tsInstantiationExpression=function(e,t=null){let n={type:"TSInstantiationExpression",expression:e,typeParameters:t},r=s.TSInstantiationExpression;return o(r.expression,n,"expression",e,1),o(r.typeParameters,n,"typeParameters",t,1),n},t.tSInterfaceBody=t.tsInterfaceBody=function(e){let t={type:"TSInterfaceBody",body:e};return o(s.TSInterfaceBody.body,t,"body",e,1),t},t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=function(e,t=null,n=null,r){let i={type:"TSInterfaceDeclaration",id:e,typeParameters:t,extends:n,body:r},a=s.TSInterfaceDeclaration;return o(a.id,i,"id",e,1),o(a.typeParameters,i,"typeParameters",t,1),o(a.extends,i,"extends",n,1),o(a.body,i,"body",r,1),i},t.tSIntersectionType=t.tsIntersectionType=function(e){let t={type:"TSIntersectionType",types:e};return o(s.TSIntersectionType.types,t,"types",e,1),t},t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=function(){return{type:"TSIntrinsicKeyword"}},t.tSLiteralType=t.tsLiteralType=function(e){let t={type:"TSLiteralType",literal:e};return o(s.TSLiteralType.literal,t,"literal",e,1),t},t.tSMappedType=t.tsMappedType=function(e,t=null,n=null){let r={type:"TSMappedType",typeParameter:e,typeAnnotation:t,nameType:n},i=s.TSMappedType;return o(i.typeParameter,r,"typeParameter",e,1),o(i.typeAnnotation,r,"typeAnnotation",t,1),o(i.nameType,r,"nameType",n,1),r},t.tSMethodSignature=t.tsMethodSignature=function(e,t=null,n,r=null){let i={type:"TSMethodSignature",key:e,typeParameters:t,parameters:n,typeAnnotation:r,kind:null},a=s.TSMethodSignature;return o(a.key,i,"key",e,1),o(a.typeParameters,i,"typeParameters",t,1),o(a.parameters,i,"parameters",n,1),o(a.typeAnnotation,i,"typeAnnotation",r,1),i},t.tSModuleBlock=t.tsModuleBlock=function(e){let t={type:"TSModuleBlock",body:e};return o(s.TSModuleBlock.body,t,"body",e,1),t},t.tSModuleDeclaration=t.tsModuleDeclaration=function(e,t){let n={type:"TSModuleDeclaration",id:e,body:t,kind:null},r=s.TSModuleDeclaration;return o(r.id,n,"id",e,1),o(r.body,n,"body",t,1),n},t.tSNamedTupleMember=t.tsNamedTupleMember=function(e,t,n=!1){let r={type:"TSNamedTupleMember",label:e,elementType:t,optional:n},i=s.TSNamedTupleMember;return o(i.label,r,"label",e,1),o(i.elementType,r,"elementType",t,1),o(i.optional,r,"optional",n),r},t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=function(e){let t={type:"TSNamespaceExportDeclaration",id:e};return o(s.TSNamespaceExportDeclaration.id,t,"id",e,1),t},t.tSNeverKeyword=t.tsNeverKeyword=function(){return{type:"TSNeverKeyword"}},t.tSNonNullExpression=t.tsNonNullExpression=function(e){let t={type:"TSNonNullExpression",expression:e};return o(s.TSNonNullExpression.expression,t,"expression",e,1),t},t.tSNullKeyword=t.tsNullKeyword=function(){return{type:"TSNullKeyword"}},t.tSNumberKeyword=t.tsNumberKeyword=function(){return{type:"TSNumberKeyword"}},t.tSObjectKeyword=t.tsObjectKeyword=function(){return{type:"TSObjectKeyword"}},t.tSOptionalType=t.tsOptionalType=function(e){let t={type:"TSOptionalType",typeAnnotation:e};return o(s.TSOptionalType.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSParameterProperty=t.tsParameterProperty=function(e){let t={type:"TSParameterProperty",parameter:e};return o(s.TSParameterProperty.parameter,t,"parameter",e,1),t},t.tSParenthesizedType=t.tsParenthesizedType=function(e){let t={type:"TSParenthesizedType",typeAnnotation:e};return o(s.TSParenthesizedType.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSPropertySignature=t.tsPropertySignature=function(e,t=null){let n={type:"TSPropertySignature",key:e,typeAnnotation:t},r=s.TSPropertySignature;return o(r.key,n,"key",e,1),o(r.typeAnnotation,n,"typeAnnotation",t,1),n},t.tSQualifiedName=t.tsQualifiedName=function(e,t){let n={type:"TSQualifiedName",left:e,right:t},r=s.TSQualifiedName;return o(r.left,n,"left",e,1),o(r.right,n,"right",t,1),n},t.tSRestType=t.tsRestType=function(e){let t={type:"TSRestType",typeAnnotation:e};return o(s.TSRestType.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSSatisfiesExpression=t.tsSatisfiesExpression=function(e,t){let n={type:"TSSatisfiesExpression",expression:e,typeAnnotation:t},r=s.TSSatisfiesExpression;return o(r.expression,n,"expression",e,1),o(r.typeAnnotation,n,"typeAnnotation",t,1),n},t.tSStringKeyword=t.tsStringKeyword=function(){return{type:"TSStringKeyword"}},t.tSSymbolKeyword=t.tsSymbolKeyword=function(){return{type:"TSSymbolKeyword"}},t.tSTemplateLiteralType=t.tsTemplateLiteralType=function(e,t){let n={type:"TSTemplateLiteralType",quasis:e,types:t},r=s.TSTemplateLiteralType;return o(r.quasis,n,"quasis",e,1),o(r.types,n,"types",t,1),n},t.tSThisType=t.tsThisType=function(){return{type:"TSThisType"}},t.tSTupleType=t.tsTupleType=function(e){let t={type:"TSTupleType",elementTypes:e};return o(s.TSTupleType.elementTypes,t,"elementTypes",e,1),t},t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=function(e,t=null,n){let r={type:"TSTypeAliasDeclaration",id:e,typeParameters:t,typeAnnotation:n},i=s.TSTypeAliasDeclaration;return o(i.id,r,"id",e,1),o(i.typeParameters,r,"typeParameters",t,1),o(i.typeAnnotation,r,"typeAnnotation",n,1),r},t.tSTypeAnnotation=t.tsTypeAnnotation=function(e){let t={type:"TSTypeAnnotation",typeAnnotation:e};return o(s.TSTypeAnnotation.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSTypeAssertion=t.tsTypeAssertion=function(e,t){let n={type:"TSTypeAssertion",typeAnnotation:e,expression:t},r=s.TSTypeAssertion;return o(r.typeAnnotation,n,"typeAnnotation",e,1),o(r.expression,n,"expression",t,1),n},t.tSTypeLiteral=t.tsTypeLiteral=function(e){let t={type:"TSTypeLiteral",members:e};return o(s.TSTypeLiteral.members,t,"members",e,1),t},t.tSTypeOperator=t.tsTypeOperator=function(e,t="keyof"){let n={type:"TSTypeOperator",typeAnnotation:e,operator:t},r=s.TSTypeOperator;return o(r.typeAnnotation,n,"typeAnnotation",e,1),o(r.operator,n,"operator",t),n},t.tSTypeParameter=t.tsTypeParameter=function(e=null,t=null,n){let r={type:"TSTypeParameter",constraint:e,default:t,name:n},i=s.TSTypeParameter;return o(i.constraint,r,"constraint",e,1),o(i.default,r,"default",t,1),o(i.name,r,"name",n),r},t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=function(e){let t={type:"TSTypeParameterDeclaration",params:e};return o(s.TSTypeParameterDeclaration.params,t,"params",e,1),t},t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=function(e){let t={type:"TSTypeParameterInstantiation",params:e};return o(s.TSTypeParameterInstantiation.params,t,"params",e,1),t},t.tSTypePredicate=t.tsTypePredicate=function(e,t=null,n=null){let r={type:"TSTypePredicate",parameterName:e,typeAnnotation:t,asserts:n},i=s.TSTypePredicate;return o(i.parameterName,r,"parameterName",e,1),o(i.typeAnnotation,r,"typeAnnotation",t,1),o(i.asserts,r,"asserts",n),r},t.tSTypeQuery=t.tsTypeQuery=function(e,t=null){let n={type:"TSTypeQuery",exprName:e,typeParameters:t},r=s.TSTypeQuery;return o(r.exprName,n,"exprName",e,1),o(r.typeParameters,n,"typeParameters",t,1),n},t.tSTypeReference=t.tsTypeReference=function(e,t=null){let n={type:"TSTypeReference",typeName:e,typeParameters:t},r=s.TSTypeReference;return o(r.typeName,n,"typeName",e,1),o(r.typeParameters,n,"typeParameters",t,1),n},t.tSUndefinedKeyword=t.tsUndefinedKeyword=function(){return{type:"TSUndefinedKeyword"}},t.tSUnionType=t.tsUnionType=function(e){let t={type:"TSUnionType",types:e};return o(s.TSUnionType.types,t,"types",e,1),t},t.tSUnknownKeyword=t.tsUnknownKeyword=function(){return{type:"TSUnknownKeyword"}},t.tSVoidKeyword=t.tsVoidKeyword=function(){return{type:"TSVoidKeyword"}},t.tupleExpression=function(e=[]){let t={type:"TupleExpression",elements:e};return o(s.TupleExpression.elements,t,"elements",e,1),t},t.tupleTypeAnnotation=function(e){let t={type:"TupleTypeAnnotation",types:e};return o(s.TupleTypeAnnotation.types,t,"types",e,1),t},t.typeAlias=function(e,t=null,n){let r={type:"TypeAlias",id:e,typeParameters:t,right:n},i=s.TypeAlias;return o(i.id,r,"id",e,1),o(i.typeParameters,r,"typeParameters",t,1),o(i.right,r,"right",n,1),r},t.typeAnnotation=function(e){let t={type:"TypeAnnotation",typeAnnotation:e};return o(s.TypeAnnotation.typeAnnotation,t,"typeAnnotation",e,1),t},t.typeCastExpression=function(e,t){let n={type:"TypeCastExpression",expression:e,typeAnnotation:t},r=s.TypeCastExpression;return o(r.expression,n,"expression",e,1),o(r.typeAnnotation,n,"typeAnnotation",t,1),n},t.typeParameter=function(e=null,t=null,n=null){let r={type:"TypeParameter",bound:e,default:t,variance:n,name:null},i=s.TypeParameter;return o(i.bound,r,"bound",e,1),o(i.default,r,"default",t,1),o(i.variance,r,"variance",n,1),r},t.typeParameterDeclaration=function(e){let t={type:"TypeParameterDeclaration",params:e};return o(s.TypeParameterDeclaration.params,t,"params",e,1),t},t.typeParameterInstantiation=function(e){let t={type:"TypeParameterInstantiation",params:e};return o(s.TypeParameterInstantiation.params,t,"params",e,1),t},t.typeofTypeAnnotation=function(e){let t={type:"TypeofTypeAnnotation",argument:e};return o(s.TypeofTypeAnnotation.argument,t,"argument",e,1),t},t.unaryExpression=function(e,t,n=!0){let r={type:"UnaryExpression",operator:e,argument:t,prefix:n},i=s.UnaryExpression;return o(i.operator,r,"operator",e),o(i.argument,r,"argument",t,1),o(i.prefix,r,"prefix",n),r},t.unionTypeAnnotation=function(e){let t={type:"UnionTypeAnnotation",types:e};return o(s.UnionTypeAnnotation.types,t,"types",e,1),t},t.updateExpression=function(e,t,n=!1){let r={type:"UpdateExpression",operator:e,argument:t,prefix:n},i=s.UpdateExpression;return o(i.operator,r,"operator",e),o(i.argument,r,"argument",t,1),o(i.prefix,r,"prefix",n),r},t.v8IntrinsicIdentifier=function(e){let t={type:"V8IntrinsicIdentifier",name:e};return o(s.V8IntrinsicIdentifier.name,t,"name",e),t},t.variableDeclaration=function(e,t){let n={type:"VariableDeclaration",kind:e,declarations:t},r=s.VariableDeclaration;return o(r.kind,n,"kind",e),o(r.declarations,n,"declarations",t,1),n},t.variableDeclarator=function(e,t=null){let n={type:"VariableDeclarator",id:e,init:t},r=s.VariableDeclarator;return o(r.id,n,"id",e,1),o(r.init,n,"init",t,1),n},t.variance=function(e){let t={type:"Variance",kind:e};return o(s.Variance.kind,t,"kind",e),t},t.voidPattern=function(){return{type:"VoidPattern"}},t.voidTypeAnnotation=function(){return{type:"VoidTypeAnnotation"}},t.whileStatement=function(e,t){let n={type:"WhileStatement",test:e,body:t},r=s.WhileStatement;return o(r.test,n,"test",e,1),o(r.body,n,"body",t,1),n},t.withStatement=function(e,t){let n={type:"WithStatement",object:e,body:t},r=s.WithStatement;return o(r.object,n,"object",e,1),o(r.body,n,"body",t,1),n},t.yieldExpression=function(e=null,t=!1){let n={type:"YieldExpression",argument:e,delegate:t},r=s.YieldExpression;return o(r.argument,n,"argument",e,1),o(r.delegate,n,"delegate",t),n};var r=n(88765),i=n(50231),a=n(65183);let{validateInternal:o}=r,{NODE_FIELDS:s}=a;function l(e){let t={type:"NumericLiteral",value:e};return o(s.NumericLiteral.value,t,"value",e),t}function p(e,t=""){let n={type:"RegExpLiteral",pattern:e,flags:t},r=s.RegExpLiteral;return o(r.pattern,n,"pattern",e),o(r.flags,n,"flags",t),n}function u(e){let t={type:"RestElement",argument:e};return o(s.RestElement.argument,t,"argument",e,1),t}function c(e){let t={type:"SpreadElement",argument:e};return o(s.SpreadElement.argument,t,"argument",e,1),t}},44614(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.JSXIdentifier=t.JSXFragment=t.JSXExpressionContainer=t.JSXEmptyExpression=t.JSXElement=t.JSXClosingFragment=t.JSXClosingElement=t.JSXAttribute=t.IntersectionTypeAnnotation=t.InterpreterDirective=t.InterfaceTypeAnnotation=t.InterfaceExtends=t.InterfaceDeclaration=t.InferredPredicate=t.IndexedAccessType=t.ImportSpecifier=t.ImportNamespaceSpecifier=t.ImportExpression=t.ImportDefaultSpecifier=t.ImportDeclaration=t.ImportAttribute=t.Import=t.IfStatement=t.Identifier=t.GenericTypeAnnotation=t.FunctionTypeParam=t.FunctionTypeAnnotation=t.FunctionExpression=t.FunctionDeclaration=t.ForStatement=t.ForOfStatement=t.ForInStatement=t.File=t.ExpressionStatement=t.ExportSpecifier=t.ExportNamespaceSpecifier=t.ExportNamedDeclaration=t.ExportDefaultSpecifier=t.ExportDefaultDeclaration=t.ExportAllDeclaration=t.ExistsTypeAnnotation=t.EnumSymbolBody=t.EnumStringMember=t.EnumStringBody=t.EnumNumberMember=t.EnumNumberBody=t.EnumDefaultedMember=t.EnumDeclaration=t.EnumBooleanMember=t.EnumBooleanBody=t.EmptyTypeAnnotation=t.EmptyStatement=t.DoWhileStatement=t.DoExpression=t.DirectiveLiteral=t.Directive=t.Decorator=t.DeclaredPredicate=t.DeclareVariable=t.DeclareTypeAlias=t.DeclareOpaqueType=t.DeclareModuleExports=t.DeclareModule=t.DeclareInterface=t.DeclareFunction=t.DeclareExportDeclaration=t.DeclareExportAllDeclaration=t.DeclareClass=t.DecimalLiteral=t.DebuggerStatement=t.ContinueStatement=t.ConditionalExpression=t.ClassProperty=t.ClassPrivateProperty=t.ClassPrivateMethod=t.ClassMethod=t.ClassImplements=t.ClassExpression=t.ClassDeclaration=t.ClassBody=t.ClassAccessorProperty=t.CatchClause=t.CallExpression=t.BreakStatement=t.BooleanTypeAnnotation=t.BooleanLiteralTypeAnnotation=t.BooleanLiteral=t.BlockStatement=t.BindExpression=t.BinaryExpression=t.BigIntLiteral=t.AwaitExpression=t.AssignmentPattern=t.AssignmentExpression=t.ArrowFunctionExpression=t.ArrayTypeAnnotation=t.ArrayPattern=t.ArrayExpression=t.ArgumentPlaceholder=t.AnyTypeAnnotation=void 0,t.TSNumberKeyword=t.TSNullKeyword=t.TSNonNullExpression=t.TSNeverKeyword=t.TSNamespaceExportDeclaration=t.TSNamedTupleMember=t.TSModuleDeclaration=t.TSModuleBlock=t.TSMethodSignature=t.TSMappedType=t.TSLiteralType=t.TSIntrinsicKeyword=t.TSIntersectionType=t.TSInterfaceDeclaration=t.TSInterfaceBody=t.TSInstantiationExpression=t.TSInferType=t.TSIndexedAccessType=t.TSIndexSignature=t.TSImportType=t.TSImportEqualsDeclaration=t.TSFunctionType=t.TSExternalModuleReference=t.TSExpressionWithTypeArguments=t.TSExportAssignment=t.TSEnumMember=t.TSEnumDeclaration=t.TSEnumBody=t.TSDeclareMethod=t.TSDeclareFunction=t.TSConstructorType=t.TSConstructSignatureDeclaration=t.TSConditionalType=t.TSCallSignatureDeclaration=t.TSBooleanKeyword=t.TSBigIntKeyword=t.TSAsExpression=t.TSArrayType=t.TSAnyKeyword=t.SymbolTypeAnnotation=t.SwitchStatement=t.SwitchCase=t.Super=t.StringTypeAnnotation=t.StringLiteralTypeAnnotation=t.StringLiteral=t.StaticBlock=t.SpreadProperty=t.SpreadElement=t.SequenceExpression=t.ReturnStatement=t.RestProperty=t.RestElement=t.RegexLiteral=t.RegExpLiteral=t.RecordExpression=t.QualifiedTypeIdentifier=t.Program=t.PrivateName=t.Placeholder=t.PipelineTopicExpression=t.PipelinePrimaryTopicReference=t.PipelineBareFunction=t.ParenthesizedExpression=t.OptionalMemberExpression=t.OptionalIndexedAccessType=t.OptionalCallExpression=t.OpaqueType=t.ObjectTypeSpreadProperty=t.ObjectTypeProperty=t.ObjectTypeInternalSlot=t.ObjectTypeIndexer=t.ObjectTypeCallProperty=t.ObjectTypeAnnotation=t.ObjectProperty=t.ObjectPattern=t.ObjectMethod=t.ObjectExpression=t.NumericLiteral=t.NumberTypeAnnotation=t.NumberLiteralTypeAnnotation=t.NumberLiteral=t.NullableTypeAnnotation=t.NullLiteralTypeAnnotation=t.NullLiteral=t.Noop=t.NewExpression=t.ModuleExpression=t.MixedTypeAnnotation=t.MetaProperty=t.MemberExpression=t.LogicalExpression=t.LabeledStatement=t.JSXText=t.JSXSpreadChild=t.JSXSpreadAttribute=t.JSXOpeningFragment=t.JSXOpeningElement=t.JSXNamespacedName=t.JSXMemberExpression=void 0,t.YieldExpression=t.WithStatement=t.WhileStatement=t.VoidTypeAnnotation=t.VoidPattern=t.Variance=t.VariableDeclarator=t.VariableDeclaration=t.V8IntrinsicIdentifier=t.UpdateExpression=t.UnionTypeAnnotation=t.UnaryExpression=t.TypeofTypeAnnotation=t.TypeParameterInstantiation=t.TypeParameterDeclaration=t.TypeParameter=t.TypeCastExpression=t.TypeAnnotation=t.TypeAlias=t.TupleTypeAnnotation=t.TupleExpression=t.TryStatement=t.TopicReference=t.ThrowStatement=t.ThisTypeAnnotation=t.ThisExpression=t.TemplateLiteral=t.TemplateElement=t.TaggedTemplateExpression=t.TSVoidKeyword=t.TSUnknownKeyword=t.TSUnionType=t.TSUndefinedKeyword=t.TSTypeReference=t.TSTypeQuery=t.TSTypePredicate=t.TSTypeParameterInstantiation=t.TSTypeParameterDeclaration=t.TSTypeParameter=t.TSTypeOperator=t.TSTypeLiteral=t.TSTypeAssertion=t.TSTypeAnnotation=t.TSTypeAliasDeclaration=t.TSTupleType=t.TSThisType=t.TSTemplateLiteralType=t.TSSymbolKeyword=t.TSStringKeyword=t.TSSatisfiesExpression=t.TSRestType=t.TSQualifiedName=t.TSPropertySignature=t.TSParenthesizedType=t.TSParameterProperty=t.TSOptionalType=t.TSObjectKeyword=void 0;var r=n(56223);n(50231),t.ArrayExpression=r.arrayExpression,t.AssignmentExpression=r.assignmentExpression,t.BinaryExpression=r.binaryExpression,t.InterpreterDirective=r.interpreterDirective,t.Directive=r.directive,t.DirectiveLiteral=r.directiveLiteral,t.BlockStatement=r.blockStatement,t.BreakStatement=r.breakStatement,t.CallExpression=r.callExpression,t.CatchClause=r.catchClause,t.ConditionalExpression=r.conditionalExpression,t.ContinueStatement=r.continueStatement,t.DebuggerStatement=r.debuggerStatement,t.DoWhileStatement=r.doWhileStatement,t.EmptyStatement=r.emptyStatement,t.ExpressionStatement=r.expressionStatement,t.File=r.file,t.ForInStatement=r.forInStatement,t.ForStatement=r.forStatement,t.FunctionDeclaration=r.functionDeclaration,t.FunctionExpression=r.functionExpression,t.Identifier=r.identifier,t.IfStatement=r.ifStatement,t.LabeledStatement=r.labeledStatement,t.StringLiteral=r.stringLiteral,t.NumericLiteral=r.numericLiteral,t.NullLiteral=r.nullLiteral,t.BooleanLiteral=r.booleanLiteral,t.RegExpLiteral=r.regExpLiteral,t.LogicalExpression=r.logicalExpression,t.MemberExpression=r.memberExpression,t.NewExpression=r.newExpression,t.Program=r.program,t.ObjectExpression=r.objectExpression,t.ObjectMethod=r.objectMethod,t.ObjectProperty=r.objectProperty,t.RestElement=r.restElement,t.ReturnStatement=r.returnStatement,t.SequenceExpression=r.sequenceExpression,t.ParenthesizedExpression=r.parenthesizedExpression,t.SwitchCase=r.switchCase,t.SwitchStatement=r.switchStatement,t.ThisExpression=r.thisExpression,t.ThrowStatement=r.throwStatement,t.TryStatement=r.tryStatement,t.UnaryExpression=r.unaryExpression,t.UpdateExpression=r.updateExpression,t.VariableDeclaration=r.variableDeclaration,t.VariableDeclarator=r.variableDeclarator,t.WhileStatement=r.whileStatement,t.WithStatement=r.withStatement,t.AssignmentPattern=r.assignmentPattern,t.ArrayPattern=r.arrayPattern,t.ArrowFunctionExpression=r.arrowFunctionExpression,t.ClassBody=r.classBody,t.ClassExpression=r.classExpression,t.ClassDeclaration=r.classDeclaration,t.ExportAllDeclaration=r.exportAllDeclaration,t.ExportDefaultDeclaration=r.exportDefaultDeclaration,t.ExportNamedDeclaration=r.exportNamedDeclaration,t.ExportSpecifier=r.exportSpecifier,t.ForOfStatement=r.forOfStatement,t.ImportDeclaration=r.importDeclaration,t.ImportDefaultSpecifier=r.importDefaultSpecifier,t.ImportNamespaceSpecifier=r.importNamespaceSpecifier,t.ImportSpecifier=r.importSpecifier,t.ImportExpression=r.importExpression,t.MetaProperty=r.metaProperty,t.ClassMethod=r.classMethod,t.ObjectPattern=r.objectPattern,t.SpreadElement=r.spreadElement,t.Super=r.super,t.TaggedTemplateExpression=r.taggedTemplateExpression,t.TemplateElement=r.templateElement,t.TemplateLiteral=r.templateLiteral,t.YieldExpression=r.yieldExpression,t.AwaitExpression=r.awaitExpression,t.Import=r.import,t.BigIntLiteral=r.bigIntLiteral,t.ExportNamespaceSpecifier=r.exportNamespaceSpecifier,t.OptionalMemberExpression=r.optionalMemberExpression,t.OptionalCallExpression=r.optionalCallExpression,t.ClassProperty=r.classProperty,t.ClassAccessorProperty=r.classAccessorProperty,t.ClassPrivateProperty=r.classPrivateProperty,t.ClassPrivateMethod=r.classPrivateMethod,t.PrivateName=r.privateName,t.StaticBlock=r.staticBlock,t.ImportAttribute=r.importAttribute,t.AnyTypeAnnotation=r.anyTypeAnnotation,t.ArrayTypeAnnotation=r.arrayTypeAnnotation,t.BooleanTypeAnnotation=r.booleanTypeAnnotation,t.BooleanLiteralTypeAnnotation=r.booleanLiteralTypeAnnotation,t.NullLiteralTypeAnnotation=r.nullLiteralTypeAnnotation,t.ClassImplements=r.classImplements,t.DeclareClass=r.declareClass,t.DeclareFunction=r.declareFunction,t.DeclareInterface=r.declareInterface,t.DeclareModule=r.declareModule,t.DeclareModuleExports=r.declareModuleExports,t.DeclareTypeAlias=r.declareTypeAlias,t.DeclareOpaqueType=r.declareOpaqueType,t.DeclareVariable=r.declareVariable,t.DeclareExportDeclaration=r.declareExportDeclaration,t.DeclareExportAllDeclaration=r.declareExportAllDeclaration,t.DeclaredPredicate=r.declaredPredicate,t.ExistsTypeAnnotation=r.existsTypeAnnotation,t.FunctionTypeAnnotation=r.functionTypeAnnotation,t.FunctionTypeParam=r.functionTypeParam,t.GenericTypeAnnotation=r.genericTypeAnnotation,t.InferredPredicate=r.inferredPredicate,t.InterfaceExtends=r.interfaceExtends,t.InterfaceDeclaration=r.interfaceDeclaration,t.InterfaceTypeAnnotation=r.interfaceTypeAnnotation,t.IntersectionTypeAnnotation=r.intersectionTypeAnnotation,t.MixedTypeAnnotation=r.mixedTypeAnnotation,t.EmptyTypeAnnotation=r.emptyTypeAnnotation,t.NullableTypeAnnotation=r.nullableTypeAnnotation,t.NumberLiteralTypeAnnotation=r.numberLiteralTypeAnnotation,t.NumberTypeAnnotation=r.numberTypeAnnotation,t.ObjectTypeAnnotation=r.objectTypeAnnotation,t.ObjectTypeInternalSlot=r.objectTypeInternalSlot,t.ObjectTypeCallProperty=r.objectTypeCallProperty,t.ObjectTypeIndexer=r.objectTypeIndexer,t.ObjectTypeProperty=r.objectTypeProperty,t.ObjectTypeSpreadProperty=r.objectTypeSpreadProperty,t.OpaqueType=r.opaqueType,t.QualifiedTypeIdentifier=r.qualifiedTypeIdentifier,t.StringLiteralTypeAnnotation=r.stringLiteralTypeAnnotation,t.StringTypeAnnotation=r.stringTypeAnnotation,t.SymbolTypeAnnotation=r.symbolTypeAnnotation,t.ThisTypeAnnotation=r.thisTypeAnnotation,t.TupleTypeAnnotation=r.tupleTypeAnnotation,t.TypeofTypeAnnotation=r.typeofTypeAnnotation,t.TypeAlias=r.typeAlias,t.TypeAnnotation=r.typeAnnotation,t.TypeCastExpression=r.typeCastExpression,t.TypeParameter=r.typeParameter,t.TypeParameterDeclaration=r.typeParameterDeclaration,t.TypeParameterInstantiation=r.typeParameterInstantiation,t.UnionTypeAnnotation=r.unionTypeAnnotation,t.Variance=r.variance,t.VoidTypeAnnotation=r.voidTypeAnnotation,t.EnumDeclaration=r.enumDeclaration,t.EnumBooleanBody=r.enumBooleanBody,t.EnumNumberBody=r.enumNumberBody,t.EnumStringBody=r.enumStringBody,t.EnumSymbolBody=r.enumSymbolBody,t.EnumBooleanMember=r.enumBooleanMember,t.EnumNumberMember=r.enumNumberMember,t.EnumStringMember=r.enumStringMember,t.EnumDefaultedMember=r.enumDefaultedMember,t.IndexedAccessType=r.indexedAccessType,t.OptionalIndexedAccessType=r.optionalIndexedAccessType,t.JSXAttribute=r.jsxAttribute,t.JSXClosingElement=r.jsxClosingElement,t.JSXElement=r.jsxElement,t.JSXEmptyExpression=r.jsxEmptyExpression,t.JSXExpressionContainer=r.jsxExpressionContainer,t.JSXSpreadChild=r.jsxSpreadChild,t.JSXIdentifier=r.jsxIdentifier,t.JSXMemberExpression=r.jsxMemberExpression,t.JSXNamespacedName=r.jsxNamespacedName,t.JSXOpeningElement=r.jsxOpeningElement,t.JSXSpreadAttribute=r.jsxSpreadAttribute,t.JSXText=r.jsxText,t.JSXFragment=r.jsxFragment,t.JSXOpeningFragment=r.jsxOpeningFragment,t.JSXClosingFragment=r.jsxClosingFragment,t.Noop=r.noop,t.Placeholder=r.placeholder,t.V8IntrinsicIdentifier=r.v8IntrinsicIdentifier,t.ArgumentPlaceholder=r.argumentPlaceholder,t.BindExpression=r.bindExpression,t.Decorator=r.decorator,t.DoExpression=r.doExpression,t.ExportDefaultSpecifier=r.exportDefaultSpecifier,t.RecordExpression=r.recordExpression,t.TupleExpression=r.tupleExpression,t.DecimalLiteral=r.decimalLiteral,t.ModuleExpression=r.moduleExpression,t.TopicReference=r.topicReference,t.PipelineTopicExpression=r.pipelineTopicExpression,t.PipelineBareFunction=r.pipelineBareFunction,t.PipelinePrimaryTopicReference=r.pipelinePrimaryTopicReference,t.VoidPattern=r.voidPattern,t.TSParameterProperty=r.tsParameterProperty,t.TSDeclareFunction=r.tsDeclareFunction,t.TSDeclareMethod=r.tsDeclareMethod,t.TSQualifiedName=r.tsQualifiedName,t.TSCallSignatureDeclaration=r.tsCallSignatureDeclaration,t.TSConstructSignatureDeclaration=r.tsConstructSignatureDeclaration,t.TSPropertySignature=r.tsPropertySignature,t.TSMethodSignature=r.tsMethodSignature,t.TSIndexSignature=r.tsIndexSignature,t.TSAnyKeyword=r.tsAnyKeyword,t.TSBooleanKeyword=r.tsBooleanKeyword,t.TSBigIntKeyword=r.tsBigIntKeyword,t.TSIntrinsicKeyword=r.tsIntrinsicKeyword,t.TSNeverKeyword=r.tsNeverKeyword,t.TSNullKeyword=r.tsNullKeyword,t.TSNumberKeyword=r.tsNumberKeyword,t.TSObjectKeyword=r.tsObjectKeyword,t.TSStringKeyword=r.tsStringKeyword,t.TSSymbolKeyword=r.tsSymbolKeyword,t.TSUndefinedKeyword=r.tsUndefinedKeyword,t.TSUnknownKeyword=r.tsUnknownKeyword,t.TSVoidKeyword=r.tsVoidKeyword,t.TSThisType=r.tsThisType,t.TSFunctionType=r.tsFunctionType,t.TSConstructorType=r.tsConstructorType,t.TSTypeReference=r.tsTypeReference,t.TSTypePredicate=r.tsTypePredicate,t.TSTypeQuery=r.tsTypeQuery,t.TSTypeLiteral=r.tsTypeLiteral,t.TSArrayType=r.tsArrayType,t.TSTupleType=r.tsTupleType,t.TSOptionalType=r.tsOptionalType,t.TSRestType=r.tsRestType,t.TSNamedTupleMember=r.tsNamedTupleMember,t.TSUnionType=r.tsUnionType,t.TSIntersectionType=r.tsIntersectionType,t.TSConditionalType=r.tsConditionalType,t.TSInferType=r.tsInferType,t.TSParenthesizedType=r.tsParenthesizedType,t.TSTypeOperator=r.tsTypeOperator,t.TSIndexedAccessType=r.tsIndexedAccessType,t.TSMappedType=r.tsMappedType,t.TSTemplateLiteralType=r.tsTemplateLiteralType,t.TSLiteralType=r.tsLiteralType,t.TSExpressionWithTypeArguments=r.tsExpressionWithTypeArguments,t.TSInterfaceDeclaration=r.tsInterfaceDeclaration,t.TSInterfaceBody=r.tsInterfaceBody,t.TSTypeAliasDeclaration=r.tsTypeAliasDeclaration,t.TSInstantiationExpression=r.tsInstantiationExpression,t.TSAsExpression=r.tsAsExpression,t.TSSatisfiesExpression=r.tsSatisfiesExpression,t.TSTypeAssertion=r.tsTypeAssertion,t.TSEnumBody=r.tsEnumBody,t.TSEnumDeclaration=r.tsEnumDeclaration,t.TSEnumMember=r.tsEnumMember,t.TSModuleDeclaration=r.tsModuleDeclaration,t.TSModuleBlock=r.tsModuleBlock,t.TSImportType=r.tsImportType,t.TSImportEqualsDeclaration=r.tsImportEqualsDeclaration,t.TSExternalModuleReference=r.tsExternalModuleReference,t.TSNonNullExpression=r.tsNonNullExpression,t.TSExportAssignment=r.tsExportAssignment,t.TSNamespaceExportDeclaration=r.tsNamespaceExportDeclaration,t.TSTypeAnnotation=r.tsTypeAnnotation,t.TSTypeParameterInstantiation=r.tsTypeParameterInstantiation,t.TSTypeParameterDeclaration=r.tsTypeParameterDeclaration,t.TSTypeParameter=r.tsTypeParameter,t.NumberLiteral=r.numberLiteral,t.RegexLiteral=r.regexLiteral,t.RestProperty=r.restProperty,t.SpreadProperty=r.spreadProperty},12456(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.buildUndefinedNode=function(){return(0,r.unaryExpression)("void",(0,r.numericLiteral)(0),!0)};var r=n(93806)},86503(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=[];for(let n=0;n<e.children.length;n++){let a=e.children[n];if((0,r.isJSXText)(a)){(0,i.default)(a,t);continue}(0,r.isJSXExpressionContainer)(a)&&(a=a.expression),(0,r.isJSXEmptyExpression)(a)||t.push(a)}return t};var r=n(60133),i=n(90132)},84534(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=e.map(e=>(0,a.isTSTypeAnnotation)(e)?e.typeAnnotation:e),n=(0,i.default)(t);return 1===n.length?n[0]:(0,r.tsUnionType)(n)};var r=n(93806),i=n(99227),a=n(60133)},74780(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e,!1)};var r=n(16812)},99042(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e)};var r=n(16812)},46248(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e,!0,!0)};var r=n(16812)},16812(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=!0,n=!1){return l(e,t,n,new Map)};var r=n(49390),i=n(60133);let{hasOwn:a}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function o(e,t,n,r){return e&&"string"==typeof e.type?l(e,t,n,r):e}function s(e,t,n,r){return Array.isArray(e)?e.map(e=>o(e,t,n,r)):o(e,t,n,r)}function l(e,t=!0,n=!1,o){if(!e)return e;let{type:u}=e,c={type:e.type};if((0,i.isIdentifier)(e))c.name=e.name,a(e,"optional")&&"boolean"==typeof e.optional&&(c.optional=e.optional),a(e,"typeAnnotation")&&(c.typeAnnotation=t?s(e.typeAnnotation,!0,n,o):e.typeAnnotation),a(e,"decorators")&&(c.decorators=t?s(e.decorators,!0,n,o):e.decorators);else if(a(r.NODE_FIELDS,u))for(let l of Object.keys(r.NODE_FIELDS[u]))a(e,l)&&(t?c[l]=(0,i.isFile)(e)&&"comments"===l?p(e.comments,t,n,o):s(e[l],!0,n,o):c[l]=e[l]);else throw Error(`Unknown node type: "${u}"`);return a(e,"loc")&&(n?c.loc=null:c.loc=e.loc),a(e,"leadingComments")&&(c.leadingComments=p(e.leadingComments,t,n,o)),a(e,"innerComments")&&(c.innerComments=p(e.innerComments,t,n,o)),a(e,"trailingComments")&&(c.trailingComments=p(e.trailingComments,t,n,o)),a(e,"extra")&&(c.extra=Object.assign({},e.extra)),c}function p(e,t,n,r){return e&&t?e.map(e=>{let t=r.get(e);if(t)return t;let{type:i,value:a,loc:o}=e,s={type:i,value:a,loc:o};return n&&(s.loc=null),r.set(e,s),s}):e}},33242(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e,!1,!0)};var r=n(16812)},89456(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){return(0,r.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:n}])};var r=n(943)},943(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(!n||!e)return e;let r=`${t}Comments`;return e[r]?"leading"===t?e[r]=n.concat(e[r]):e[r].push(...n):e[r]=n,e}},11515(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)("innerComments",e,t)};var r=n(30594)},18445(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)("leadingComments",e,t)};var r=n(30594)},46691(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)("trailingComments",e,t)};var r=n(30594)},64494(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e,t),(0,i.default)(e,t),(0,a.default)(e,t),e};var r=n(46691),i=n(18445),a=n(11515)},73890(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return r.COMMENT_KEYS.forEach(t=>{e[t]=null}),e};var r=n(79897)},55527(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.WHILE_TYPES=t.USERWHITESPACABLE_TYPES=t.UNARYLIKE_TYPES=t.TYPESCRIPT_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.TSENTITYNAME_TYPES=t.TSBASETYPE_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.STANDARDIZED_TYPES=t.SCOPABLE_TYPES=t.PUREISH_TYPES=t.PROPERTY_TYPES=t.PRIVATE_TYPES=t.PATTERN_TYPES=t.PATTERNLIKE_TYPES=t.OBJECTMEMBER_TYPES=t.MODULESPECIFIER_TYPES=t.MODULEDECLARATION_TYPES=t.MISCELLANEOUS_TYPES=t.METHOD_TYPES=t.LVAL_TYPES=t.LOOP_TYPES=t.LITERAL_TYPES=t.JSX_TYPES=t.IMPORTOREXPORTDECLARATION_TYPES=t.IMMUTABLE_TYPES=t.FUNCTION_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTIONPARAMETER_TYPES=t.FOR_TYPES=t.FORXSTATEMENT_TYPES=t.FLOW_TYPES=t.FLOWTYPE_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.EXPRESSION_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.EXPORTDECLARATION_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.DECLARATION_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.CLASS_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.BINARY_TYPES=t.ACCESSOR_TYPES=void 0;var r=n(49390);t.STANDARDIZED_TYPES=r.FLIPPED_ALIAS_KEYS.Standardized,t.EXPRESSION_TYPES=r.FLIPPED_ALIAS_KEYS.Expression,t.BINARY_TYPES=r.FLIPPED_ALIAS_KEYS.Binary,t.SCOPABLE_TYPES=r.FLIPPED_ALIAS_KEYS.Scopable,t.BLOCKPARENT_TYPES=r.FLIPPED_ALIAS_KEYS.BlockParent,t.BLOCK_TYPES=r.FLIPPED_ALIAS_KEYS.Block,t.STATEMENT_TYPES=r.FLIPPED_ALIAS_KEYS.Statement,t.TERMINATORLESS_TYPES=r.FLIPPED_ALIAS_KEYS.Terminatorless,t.COMPLETIONSTATEMENT_TYPES=r.FLIPPED_ALIAS_KEYS.CompletionStatement,t.CONDITIONAL_TYPES=r.FLIPPED_ALIAS_KEYS.Conditional,t.LOOP_TYPES=r.FLIPPED_ALIAS_KEYS.Loop,t.WHILE_TYPES=r.FLIPPED_ALIAS_KEYS.While,t.EXPRESSIONWRAPPER_TYPES=r.FLIPPED_ALIAS_KEYS.ExpressionWrapper,t.FOR_TYPES=r.FLIPPED_ALIAS_KEYS.For,t.FORXSTATEMENT_TYPES=r.FLIPPED_ALIAS_KEYS.ForXStatement,t.FUNCTION_TYPES=r.FLIPPED_ALIAS_KEYS.Function,t.FUNCTIONPARENT_TYPES=r.FLIPPED_ALIAS_KEYS.FunctionParent,t.PUREISH_TYPES=r.FLIPPED_ALIAS_KEYS.Pureish,t.DECLARATION_TYPES=r.FLIPPED_ALIAS_KEYS.Declaration,t.FUNCTIONPARAMETER_TYPES=r.FLIPPED_ALIAS_KEYS.FunctionParameter,t.PATTERNLIKE_TYPES=r.FLIPPED_ALIAS_KEYS.PatternLike,t.LVAL_TYPES=r.FLIPPED_ALIAS_KEYS.LVal,t.TSENTITYNAME_TYPES=r.FLIPPED_ALIAS_KEYS.TSEntityName,t.LITERAL_TYPES=r.FLIPPED_ALIAS_KEYS.Literal,t.IMMUTABLE_TYPES=r.FLIPPED_ALIAS_KEYS.Immutable,t.USERWHITESPACABLE_TYPES=r.FLIPPED_ALIAS_KEYS.UserWhitespacable,t.METHOD_TYPES=r.FLIPPED_ALIAS_KEYS.Method,t.OBJECTMEMBER_TYPES=r.FLIPPED_ALIAS_KEYS.ObjectMember,t.PROPERTY_TYPES=r.FLIPPED_ALIAS_KEYS.Property,t.UNARYLIKE_TYPES=r.FLIPPED_ALIAS_KEYS.UnaryLike,t.PATTERN_TYPES=r.FLIPPED_ALIAS_KEYS.Pattern,t.CLASS_TYPES=r.FLIPPED_ALIAS_KEYS.Class;let i=t.IMPORTOREXPORTDECLARATION_TYPES=r.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration;t.EXPORTDECLARATION_TYPES=r.FLIPPED_ALIAS_KEYS.ExportDeclaration,t.MODULESPECIFIER_TYPES=r.FLIPPED_ALIAS_KEYS.ModuleSpecifier,t.ACCESSOR_TYPES=r.FLIPPED_ALIAS_KEYS.Accessor,t.PRIVATE_TYPES=r.FLIPPED_ALIAS_KEYS.Private,t.FLOW_TYPES=r.FLIPPED_ALIAS_KEYS.Flow,t.FLOWTYPE_TYPES=r.FLIPPED_ALIAS_KEYS.FlowType,t.FLOWBASEANNOTATION_TYPES=r.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,t.FLOWDECLARATION_TYPES=r.FLIPPED_ALIAS_KEYS.FlowDeclaration,t.FLOWPREDICATE_TYPES=r.FLIPPED_ALIAS_KEYS.FlowPredicate,t.ENUMBODY_TYPES=r.FLIPPED_ALIAS_KEYS.EnumBody,t.ENUMMEMBER_TYPES=r.FLIPPED_ALIAS_KEYS.EnumMember,t.JSX_TYPES=r.FLIPPED_ALIAS_KEYS.JSX,t.MISCELLANEOUS_TYPES=r.FLIPPED_ALIAS_KEYS.Miscellaneous,t.TYPESCRIPT_TYPES=r.FLIPPED_ALIAS_KEYS.TypeScript,t.TSTYPEELEMENT_TYPES=r.FLIPPED_ALIAS_KEYS.TSTypeElement,t.TSTYPE_TYPES=r.FLIPPED_ALIAS_KEYS.TSType,t.TSBASETYPE_TYPES=r.FLIPPED_ALIAS_KEYS.TSBaseType,t.MODULEDECLARATION_TYPES=i},79897(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE_OPERATORS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.STATEMENT_OR_BLOCK_KEYS=t.NUMBER_UNARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.LOGICAL_OPERATORS=t.INHERIT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.EQUALITY_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.COMMENT_KEYS=t.BOOLEAN_UNARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.BINARY_OPERATORS=t.ASSIGNMENT_OPERATORS=void 0,t.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],t.FLATTENABLE_KEYS=["body","expressions"],t.FOR_INIT_KEYS=["left","init"],t.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];let n=t.LOGICAL_OPERATORS=["||","&&","??"];t.UPDATE_OPERATORS=["++","--"];let r=t.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],i=t.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],a=t.COMPARISON_BINARY_OPERATORS=[...i,"in","instanceof"],o=t.BOOLEAN_BINARY_OPERATORS=[...a,...r],s=t.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.BINARY_OPERATORS=["+",...s,...o,"|>"],t.ASSIGNMENT_OPERATORS=["=","+=",...s.map(e=>e+"="),...n.map(e=>e+"=")];let l=t.BOOLEAN_UNARY_OPERATORS=["delete","!"],p=t.NUMBER_UNARY_OPERATORS=["+","-","~"],u=t.STRING_UNARY_OPERATORS=["typeof"];t.UNARY_OPERATORS=["void","throw",...l,...p,...u],t.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},t.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),t.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")},11350(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t="body"){let n=(0,r.default)(e[t],e);return e[t]=n,n};var r=n(98999)},22852(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){let l=[],p=!0;for(let u of t)if((0,i.isEmptyStatement)(u)||(p=!1),(0,i.isExpression)(u))l.push(u);else if((0,i.isExpressionStatement)(u))l.push(u.expression);else if((0,i.isVariableDeclaration)(u)){if("var"!==u.kind)return;for(let e of u.declarations){let t=(0,r.default)(e);for(let e of Object.keys(t))n.push({kind:u.kind,id:(0,s.default)(t[e])});e.init&&l.push((0,a.assignmentExpression)("=",e.id,e.init))}p=!0}else if((0,i.isIfStatement)(u)){let t=u.consequent?e([u.consequent],n):(0,o.buildUndefinedNode)(),r=u.alternate?e([u.alternate],n):(0,o.buildUndefinedNode)();if(!t||!r)return;l.push((0,a.conditionalExpression)(u.test,t,r))}else if((0,i.isBlockStatement)(u)){let t=e(u.body,n);if(!t)return;l.push(t)}else{if(!(0,i.isEmptyStatement)(u))return;0===t.indexOf(u)&&(p=!0)}return(p&&l.push((0,o.buildUndefinedNode)()),1===l.length)?l[0]:(0,a.sequenceExpression)(l)};var r=n(46676),i=n(60133),a=n(93806),o=n(12456),s=n(16812)},95847(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return("eval"===(e=(0,r.default)(e))||"arguments"===e)&&(e="_"+e),e};var r=n(17627)},98999(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.isBlockStatement)(e))return e;let n=[];return(0,r.isEmptyStatement)(e)?n=[]:((0,r.isStatement)(e)||(e=(0,r.isFunction)(t)?(0,i.returnStatement)(e):(0,i.expressionStatement)(e)),n=[e]),(0,i.blockStatement)(n)};var r=n(60133),i=n(93806)},93544(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=e.key||e.property){return!e.computed&&(0,r.isIdentifier)(t)&&(t=(0,i.stringLiteral)(t.name)),t};var r=n(60133),i=n(93806)},25002(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(60133);t.default=function(e){if((0,r.isExpressionStatement)(e)&&(e=e.expression),(0,r.isExpression)(e))return e;if((0,r.isClass)(e)?(e.type="ClassExpression",e.abstract=!1):(0,r.isFunction)(e)&&(e.type="FunctionExpression"),!(0,r.isExpression)(e))throw Error(`cannot turn ${e.type} to an expression`);return e}},17627(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t="";for(let n of e+="")t+=(0,i.isIdentifierChar)(n.codePointAt(0))?n:"-";return t=(t=t.replace(/^[-0-9]+/,"")).replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""}),(0,r.default)(t)||(t=`_${t}`),t||"_"};var r=n(78126),i=n(14007)},35349(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(60133),i=n(16812),a=n(55262);function o(e,t=e.key){let n;return"method"===e.kind?o.increment()+"":(n=(0,r.isIdentifier)(t)?t.name:(0,r.isStringLiteral)(t)?JSON.stringify(t.value):JSON.stringify((0,a.default)((0,i.default)(t))),e.computed&&(n=`[${n}]`),e.static&&(n=`static:${n}`),n)}o.uid=0,o.increment=function(){return o.uid>=Number.MAX_SAFE_INTEGER?o.uid=0:o.uid++}},55827(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!(null!=e&&e.length))return;let n=[],i=(0,r.default)(e,n);if(i){for(let e of n)t.push(e);return i}};var r=n(22852)},10187(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(60133),i=n(93806);t.default=function(e,t){let n;if((0,r.isStatement)(e))return e;let a=!1;if((0,r.isClass)(e))a=!0,n="ClassDeclaration";else if((0,r.isFunction)(e))a=!0,n="FunctionDeclaration";else if((0,r.isAssignmentExpression)(e))return(0,i.expressionStatement)(e);if(a&&!e.id&&(n=!1),!n)if(t)return!1;else throw Error(`cannot turn ${e.type} to a statement`);return e.type=n,e}},62485(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(78126),i=n(93806);t.default=function e(t){if(void 0===t)return(0,i.identifier)("undefined");if(!0===t||!1===t)return(0,i.booleanLiteral)(t);if(null===t)return(0,i.nullLiteral)();if("string"==typeof t)return(0,i.stringLiteral)(t);if("number"==typeof t){let e;if(Number.isFinite(t))e=(0,i.numericLiteral)(Math.abs(t));else{let n;n=Number.isNaN(t)?(0,i.numericLiteral)(0):(0,i.numericLiteral)(1),e=(0,i.binaryExpression)("/",n,(0,i.numericLiteral)(0))}return(t<0||Object.is(t,-0))&&(e=(0,i.unaryExpression)("-",e)),e}if("bigint"==typeof t)if(t<0)return(0,i.unaryExpression)("-",(0,i.bigIntLiteral)(-t));else return(0,i.bigIntLiteral)(t);if("[object RegExp]"===a(t)){let e=t.source,n=/\/([a-z]*)$/.exec(t.toString())[1];return(0,i.regExpLiteral)(e,n)}if(Array.isArray(t))return(0,i.arrayExpression)(t.map(e));if(function(e){if("object"!=typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}(t)){let n=[];for(let a of Object.keys(t)){let o,s=!1;(0,r.default)(a)?"__proto__"===a?(s=!0,o=(0,i.stringLiteral)(a)):o=(0,i.identifier)(a):o=(0,i.stringLiteral)(a),n.push((0,i.objectProperty)(o,e(t[a]),s))}return(0,i.objectExpression)(n)}throw Error("don't know how to turn this value into a node")};let a=Function.call.bind(Object.prototype.toString)},81587(e,t,n){let r,i,a,o,s,l,p,u,c,d,f,y,m,T,h,S,E,b,x,A,P,v,g,_,O;Object.defineProperty(t,"__esModule",{value:!0}),t.patternLikeCommon=t.importAttributes=t.functionTypeAnnotationCommon=t.functionDeclarationCommon=t.functionCommon=t.classMethodOrPropertyUnionShapeCommon=t.classMethodOrPropertyCommon=t.classMethodOrDeclareMethodCommon=void 0;var I=n(80947),C=n(78126),D=n(14007),N=n(80672),w=n(79897),k=n(65183);let L=(e=!1)=>({unionShape:{discriminator:"computed",shapes:[{name:"computed",value:[!0],properties:{key:{validate:(0,k.assertNodeType)("Expression")}}},{name:"nonComputed",value:[!1],properties:{key:{validate:e?(0,k.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"):(0,k.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral")}}}]}});t.classMethodOrPropertyUnionShapeCommon=L;let M=(0,k.defineAliasedType)("Standardized");M("ArrayExpression",{fields:{elements:{validate:(0,k.arrayOf)((0,k.assertNodeOrValueType)("null","Expression","SpreadElement")),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),M("AssignmentExpression",{fields:{operator:{validate:process.env.BABEL_TYPES_8_BREAKING?Object.assign((r=(0,k.assertOneOf)(...w.ASSIGNMENT_OPERATORS),i=(0,k.assertOneOf)("="),function(e,t,n){((0,I.default)("Pattern",e.left)?i:r)(e,t,n)}),{oneOf:w.ASSIGNMENT_OPERATORS}):(0,k.assertValueType)("string")},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,k.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,k.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,k.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),M("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,k.assertOneOf)(...w.BINARY_OPERATORS)},left:{validate:(a=(0,k.assertNodeType)("Expression"),o=(0,k.assertNodeType)("Expression","PrivateName"),Object.assign(function(e,t,n){("in"===e.operator?o:a)(e,t,n)},{oneOfNodeTypes:["Expression","PrivateName"]}))},right:{validate:(0,k.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),M("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,k.assertValueType)("string")}}}),M("Directive",{visitor:["value"],fields:{value:{validate:(0,k.assertNodeType)("DirectiveLiteral")}}}),M("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,k.assertValueType)("string")}}}),M("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,k.arrayOfType)("Directive"),default:[]},body:(0,k.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]}),M("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,k.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),M("CallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,k.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:(0,k.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:(0,k.assertNodeType)("TypeParameterInstantiation"),optional:!0}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,k.assertValueType)("boolean"),optional:!0},typeParameters:{validate:(0,k.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),M("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,k.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,k.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),M("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,k.assertNodeType)("Expression")},consequent:{validate:(0,k.assertNodeType)("Expression")},alternate:{validate:(0,k.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),M("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,k.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),M("DebuggerStatement",{aliases:["Statement"]}),M("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,k.assertNodeType)("Expression")},body:{validate:(0,k.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),M("EmptyStatement",{aliases:["Statement"]}),M("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,k.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),M("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,k.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,k.assertEach)((0,k.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,k.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}}),M("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,k.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,k.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,k.assertNodeType)("Expression")},body:{validate:(0,k.assertNodeType)("Statement")}}}),M("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,k.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,k.assertNodeType)("Expression"),optional:!0},update:{validate:(0,k.assertNodeType)("Expression"),optional:!0},body:{validate:(0,k.assertNodeType)("Statement")}}});let j=()=>({params:(0,k.validateArrayOfType)("FunctionParameter"),generator:{default:!1},async:{default:!1}});t.functionCommon=j;let B=()=>({returnType:{validate:(0,k.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,k.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});t.functionTypeAnnotationCommon=B;let F=()=>Object.assign({},j(),{declare:{validate:(0,k.assertValueType)("boolean"),optional:!0},id:{validate:(0,k.assertNodeType)("Identifier"),optional:!0}});t.functionDeclarationCommon=F,M("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},F(),B(),{body:{validate:(0,k.assertNodeType)("BlockStatement")},predicate:{validate:(0,k.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:process.env.BABEL_TYPES_8_BREAKING?(s=(0,k.assertNodeType)("Identifier"),function(e,t,n){(0,I.default)("ExportDefaultDeclaration",e)||s(n,"id",n.id)}):void 0}),M("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},j(),B(),{id:{validate:(0,k.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,k.assertNodeType)("BlockStatement")},predicate:{validate:(0,k.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});let R=()=>({typeAnnotation:{validate:(0,k.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,k.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,k.arrayOfType)("Decorator"),optional:!0}});t.patternLikeCommon=R,M("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","FunctionParameter","PatternLike","LVal","TSEntityName"],fields:Object.assign({},R(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,k.chain)((0,k.assertValueType)("string"),Object.assign(function(e,t,n){if(!(0,C.default)(n,!1))throw TypeError(`"${n}" is not a valid identifier name`)},{type:"string"})):(0,k.assertValueType)("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(e,t,n){let r=/\.(\w+)$/.exec(t.toString());if(!r)return;let[,i]=r,a={computed:!1};if("property"===i){if((0,I.default)("MemberExpression",e,a)||(0,I.default)("OptionalMemberExpression",e,a))return}else if("key"===i){if((0,I.default)("Property",e,a)||(0,I.default)("Method",e,a))return}else if("exported"===i){if((0,I.default)("ExportSpecifier",e))return}else if("imported"===i){if((0,I.default)("ImportSpecifier",e,{imported:n}))return}else if("meta"===i&&(0,I.default)("MetaProperty",e,{meta:n}))return;if(((0,D.isKeyword)(n.name)||(0,D.isReservedWord)(n.name,!1))&&"this"!==n.name)throw TypeError(`"${n.name}" is not a valid identifier`)}:void 0}),M("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,k.assertNodeType)("Expression")},consequent:{validate:(0,k.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,k.assertNodeType)("Statement")}}}),M("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,k.assertNodeType)("Identifier")},body:{validate:(0,k.assertNodeType)("Statement")}}}),M("StringLiteral",{builder:["value"],fields:{value:{validate:(0,k.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),M("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,k.chain)((0,k.assertValueType)("number"),Object.assign(function(e,t,n){(1/n<0||!Number.isFinite(n))&&Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${n}) instead.`)},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]}),M("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),M("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,k.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),M("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,k.assertValueType)("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,k.chain)((0,k.assertValueType)("string"),Object.assign(function(e,t,n){let r=/[^dgimsuvy]/.exec(n);if(r)throw TypeError(`"${r[0]}" is not a valid RegExp flag`)},{type:"string"})):(0,k.assertValueType)("string"),default:""}}}),M("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,k.assertOneOf)(...w.LOGICAL_OPERATORS)},left:{validate:(0,k.assertNodeType)("Expression")},right:{validate:(0,k.assertNodeType)("Expression")}}}),M("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal","PatternLike"],unionShape:{discriminator:"computed",shapes:[{name:"computed",value:[!0],properties:{property:{validate:(0,k.assertNodeType)("Expression")}}},{name:"nonComputed",value:[!1],properties:{property:{validate:(0,k.assertNodeType)("Identifier","PrivateName")}}}]},fields:Object.assign({object:{validate:(0,k.assertNodeType)("Expression","Super")},property:{validate:(l=(0,k.assertNodeType)("Identifier","PrivateName"),p=(0,k.assertNodeType)("Expression"),(u=function(e,t,n){(e.computed?p:l)(e,t,n)}).oneOfNodeTypes=["Expression","Identifier","PrivateName"],u)},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,k.assertValueType)("boolean"),optional:!0}})}),M("NewExpression",{inherits:"CallExpression"}),M("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,k.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,k.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,k.arrayOfType)("Directive"),default:[]},body:(0,k.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block"]}),M("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,k.validateArrayOfType)("ObjectMethod","ObjectProperty","SpreadElement")}}),M("ObjectMethod",Object.assign({builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"]},L(),{fields:Object.assign({},j(),B(),{kind:Object.assign({validate:(0,k.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:(c=(0,k.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),d=(0,k.assertNodeType)("Expression"),(f=function(e,t,n){(e.computed?d:c)(e,t,n)}).oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],f)},decorators:{validate:(0,k.arrayOfType)("Decorator"),optional:!0},body:{validate:(0,k.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]})),M("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],unionShape:{discriminator:"computed",shapes:[{name:"computed",value:[!0],properties:{key:{validate:(0,k.assertNodeType)("Expression")}}},{name:"nonComputed",value:[!1],properties:{key:{validate:(0,k.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName")}}}]},fields:{computed:{default:!1},key:{validate:(y=(0,k.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),m=(0,k.assertNodeType)("Expression"),Object.assign(function(e,t,n){(e.computed?m:y)(e,t,n)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]}))},value:{validate:(0,k.assertNodeType)("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,k.chain)((0,k.assertValueType)("boolean"),Object.assign(function(e,t,n){if(n){if(e.computed)throw TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!(0,I.default)("Identifier",e.key))throw TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}},{type:"boolean"})):(0,k.assertValueType)("boolean"),default:!1},decorators:{validate:(0,k.arrayOfType)("Decorator"),optional:!0}},visitor:["decorators","key","value"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:process.env.BABEL_TYPES_8_BREAKING?(T=(0,k.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),h=(0,k.assertNodeType)("Expression"),function(e,t,n){((0,I.default)("ObjectPattern",e)?T:h)(n,"value",n.value)}):void 0}),M("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["FunctionParameter","PatternLike","LVal"],deprecatedAlias:"RestProperty",fields:Object.assign({},R(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,k.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,k.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression","RestElement","AssignmentPattern")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(e,t){let n=/(\w+)\[(\d+)\]/.exec(t.toString());if(!n)throw Error("Internal Babel error: malformed key.");let[,r,i]=n;if(e[r].length>+i+1)throw TypeError(`RestElement must be last element of ${r}`)}:void 0}),M("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,k.assertNodeType)("Expression"),optional:!0}}}),M("SequenceExpression",{visitor:["expressions"],fields:{expressions:(0,k.validateArrayOfType)("Expression")},aliases:["Expression"]}),M("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,k.assertNodeType)("Expression")}}}),M("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,k.assertNodeType)("Expression"),optional:!0},consequent:(0,k.validateArrayOfType)("Statement")}}),M("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,k.assertNodeType)("Expression")},cases:(0,k.validateArrayOfType)("SwitchCase")}}),M("ThisExpression",{aliases:["Expression"]}),M("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,k.assertNodeType)("Expression")}}}),M("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,k.chain)((0,k.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!e.handler&&!e.finalizer)throw TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):(0,k.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,k.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,k.assertNodeType)("BlockStatement")}}}),M("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,k.assertNodeType)("Expression")},operator:{validate:(0,k.assertOneOf)(...w.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),M("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,k.assertNodeType)("Identifier","MemberExpression"):(0,k.assertNodeType)("Expression")},operator:{validate:(0,k.assertOneOf)(...w.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),M("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,k.assertValueType)("boolean"),optional:!0},kind:{validate:(0,k.assertOneOf)("var","let","const","using","await using")},declarations:(0,k.validateArrayOfType)("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(S=(0,k.assertNodeType)("Identifier","Placeholder"),E=(0,k.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","Placeholder"),b=(0,k.assertNodeType)("Identifier","VoidPattern","Placeholder"),function(e,t,n){let{kind:r,declarations:i}=n,a=(0,I.default)("ForXStatement",e,{left:n});if(a&&1!==i.length)throw TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`);for(let e of i)"const"===r||"let"===r||"var"===r?a||e.init?E(e,"id",e.id):S(e,"id",e.id):b(e,"id",e.id)}):void 0}),M("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,k.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","VoidPattern"):(0,k.assertNodeType)("LVal","VoidPattern")},definite:{optional:!0,validate:(0,k.assertValueType)("boolean")},init:{optional:!0,validate:(0,k.assertNodeType)("Expression")}}}),M("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,k.assertNodeType)("Expression")},body:{validate:(0,k.assertNodeType)("Statement")}}}),M("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,k.assertNodeType)("Expression")},body:{validate:(0,k.assertNodeType)("Statement")}}}),M("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},R(),{left:{validate:(0,k.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,k.assertNodeType)("Expression")},decorators:{validate:(0,k.arrayOfType)("Decorator"),optional:!0}})}),M("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},R(),{elements:{validate:(0,k.chain)((0,k.assertValueType)("array"),(0,k.assertEach)((0,k.assertNodeOrValueType)("null","PatternLike")))}})}),M("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},j(),B(),{expression:{validate:(0,k.assertValueType)("boolean")},body:{validate:(0,k.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,k.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})}),M("ClassBody",{visitor:["body"],fields:{body:(0,k.validateArrayOfType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}}),M("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,k.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,k.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,k.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,k.assertNodeType)("Expression")},superTypeParameters:{validate:(0,k.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,k.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,k.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,k.assertNodeType)("InterfaceExtends"),optional:!0}}}),M("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,k.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,k.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,k.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,k.assertNodeType)("Expression")},superTypeParameters:{validate:(0,k.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,k.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,k.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,k.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,k.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,k.assertValueType)("boolean"),optional:!0}},validate:process.env.BABEL_TYPES_8_BREAKING?(x=(0,k.assertNodeType)("Identifier"),function(e,t,n){(0,I.default)("ExportDefaultDeclaration",e)||x(n,"id",n.id)}):void 0});let K=t.importAttributes={attributes:{optional:!0,validate:(0,k.arrayOfType)("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:(0,k.arrayOfType)("ImportAttribute")}};M("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:(0,k.assertNodeType)("StringLiteral")},exportKind:(0,k.validateOptional)((0,k.assertOneOf)("type","value"))},K)}),M("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:(0,k.validateType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:(0,k.validateOptional)((0,k.assertOneOf)("value"))}}),M("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?(0,k.chain)((0,k.assertNodeType)("Declaration"),Object.assign(function(e,t,n){if(n&&e.specifiers.length)throw TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(n&&e.source)throw TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):(0,k.assertNodeType)("Declaration")}},K,{specifiers:{default:[],validate:(0,k.arrayOf)((A=(0,k.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),P=(0,k.assertNodeType)("ExportSpecifier"),process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(e,t,n){(e.source?A:P)(e,t,n)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):A))},source:{validate:(0,k.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,k.validateOptional)((0,k.assertOneOf)("type","value"))})}),M("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,k.assertNodeType)("Identifier")},exported:{validate:(0,k.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,k.assertOneOf)("type","value"),optional:!0}}}),M("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,k.assertNodeType)("VariableDeclaration","LVal");let e=(0,k.assertNodeType)("VariableDeclaration"),t=(0,k.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(n,r,i){(0,I.default)("VariableDeclaration",i)?e(n,r,i):t(n,r,i)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})}()},right:{validate:(0,k.assertNodeType)("Expression")},body:{validate:(0,k.assertNodeType)("Statement")},await:{default:!1}}}),M("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},K,{module:{optional:!0,validate:(0,k.assertValueType)("boolean")},phase:{default:null,validate:(0,k.assertOneOf)("source","defer")},specifiers:(0,k.validateArrayOfType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:(0,k.assertNodeType)("StringLiteral")},importKind:{validate:(0,k.assertOneOf)("type","typeof","value"),optional:!0}})}),M("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,k.assertNodeType)("Identifier")}}}),M("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,k.assertNodeType)("Identifier")}}}),M("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,k.assertNodeType)("Identifier")},imported:{validate:(0,k.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,k.assertOneOf)("type","typeof","value"),optional:!0}}}),M("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,k.assertOneOf)("source","defer")},source:{validate:(0,k.assertNodeType)("Expression")},options:{validate:(0,k.assertNodeType)("Expression"),optional:!0}}}),M("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,k.chain)((0,k.assertNodeType)("Identifier"),Object.assign(function(e,t,n){let r;switch(n.name){case"function":r="sent";break;case"new":r="target";break;case"import":r="meta"}if(!(0,I.default)("Identifier",e.property,{name:r}))throw TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):(0,k.assertNodeType)("Identifier")},property:{validate:(0,k.assertNodeType)("Identifier")}}});let Y=()=>{let e,t;return{abstract:{validate:(0,k.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,k.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,k.assertValueType)("boolean"),optional:!0},key:{validate:(0,k.chain)((e=(0,k.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=(0,k.assertNodeType)("Expression"),function(n,r,i){(n.computed?t:e)(n,r,i)}),(0,k.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}}};t.classMethodOrPropertyCommon=Y;let V=()=>Object.assign({},j(),Y(),{params:(0,k.validateArrayOfType)("FunctionParameter","TSParameterProperty"),kind:{validate:(0,k.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,k.chain)((0,k.assertValueType)("string"),(0,k.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,k.arrayOfType)("Decorator"),optional:!0}});t.classMethodOrDeclareMethodCommon=V,M("ClassMethod",Object.assign({aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"]},L(),{fields:Object.assign({},V(),B(),{body:{validate:(0,k.assertNodeType)("BlockStatement")}})})),M("ObjectPattern",{visitor:["decorators","properties","typeAnnotation"],builder:["properties"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},R(),{properties:(0,k.validateArrayOfType)("RestElement","ObjectProperty")})}),M("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,k.assertNodeType)("Expression")}}}),M("Super",{aliases:["Expression"]}),M("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,k.assertNodeType)("Expression")},quasi:{validate:(0,k.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,k.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),M("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,k.chain)((0,k.assertShape)({raw:{validate:(0,k.assertValueType)("string")},cooked:{validate:(0,k.assertValueType)("string"),optional:!0}}),function(e){let t=e.value.raw,n=!1,r=()=>{throw Error("Internal @babel/types error.")},{str:i,firstInvalidLoc:a}=(0,N.readStringContents)("template",t,0,0,0,{unterminated(){n=!0},strictNumericEscape:r,invalidEscapeSequence:r,numericSeparatorInEscapeSequence:r,unexpectedNumericSeparator:r,invalidDigit:r,invalidCodePoint:r});if(!n)throw Error("Invalid raw");e.value.cooked=a?null:i})},tail:{default:!1}}}),M("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:(0,k.validateArrayOfType)("TemplateElement"),expressions:{validate:(0,k.chain)((0,k.assertValueType)("array"),(0,k.assertEach)((0,k.assertNodeType)("Expression","TSType")),function(e,t,n){if(e.quasis.length!==n.length+1)throw TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.
|
|
4
|
+
Expected ${n.length+1} quasis but got ${e.quasis.length}`)})}}}),M("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,k.chain)((0,k.assertValueType)("boolean"),Object.assign(function(e,t,n){if(n&&!e.argument)throw TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):(0,k.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,k.assertNodeType)("Expression")}}}),M("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,k.assertNodeType)("Expression")}}}),M("Import",{aliases:["Expression"]}),M("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,k.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),M("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,k.assertNodeType)("Identifier")}}}),M("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,k.assertNodeType)("Expression")},property:{validate:(v=(0,k.assertNodeType)("Identifier"),g=(0,k.assertNodeType)("Expression"),Object.assign(function(e,t,n){(e.computed?g:v)(e,t,n)},{oneOfNodeTypes:["Expression","Identifier"]}))},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,k.chain)((0,k.assertValueType)("boolean"),(0,k.assertOptionalChainStart)()):(0,k.assertValueType)("boolean")}}}),M("OptionalCallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,k.assertNodeType)("Expression")},arguments:(0,k.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,k.chain)((0,k.assertValueType)("boolean"),(0,k.assertOptionalChainStart)()):(0,k.assertValueType)("boolean")},typeArguments:{validate:(0,k.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,k.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),M("ClassProperty",Object.assign({visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"]},L(),{fields:Object.assign({},Y(),{value:{validate:(0,k.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,k.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,k.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,k.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,k.assertValueType)("boolean"),optional:!0},declare:{validate:(0,k.assertValueType)("boolean"),optional:!0},variance:{validate:(0,k.assertNodeType)("Variance"),optional:!0}})})),M("ClassAccessorProperty",Object.assign({visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"]},L(!0),{fields:Object.assign({},Y(),{key:{validate:(0,k.chain)((_=(0,k.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),O=(0,k.assertNodeType)("Expression"),function(e,t,n){(e.computed?O:_)(e,t,n)}),(0,k.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,k.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,k.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,k.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,k.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,k.assertValueType)("boolean"),optional:!0},declare:{validate:(0,k.assertValueType)("boolean"),optional:!0},variance:{validate:(0,k.assertNodeType)("Variance"),optional:!0}})})),M("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,k.assertNodeType)("PrivateName")},value:{validate:(0,k.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,k.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,k.arrayOfType)("Decorator"),optional:!0},static:{validate:(0,k.assertValueType)("boolean"),default:!1},readonly:{validate:(0,k.assertValueType)("boolean"),optional:!0},optional:{validate:(0,k.assertValueType)("boolean"),optional:!0},definite:{validate:(0,k.assertValueType)("boolean"),optional:!0},variance:{validate:(0,k.assertNodeType)("Variance"),optional:!0}}}),M("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},V(),B(),{kind:{validate:(0,k.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,k.assertNodeType)("PrivateName")},body:{validate:(0,k.assertNodeType)("BlockStatement")}})}),M("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,k.assertNodeType)("Identifier")}}}),M("StaticBlock",{visitor:["body"],fields:{body:(0,k.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]}),M("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,k.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,k.assertNodeType)("StringLiteral")}}})},81720(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.DEPRECATED_ALIASES=void 0,t.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}},18218(e,t,n){var r=n(65183);(0,r.default)("ArgumentPlaceholder",{}),(0,r.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,r.assertNodeType)("Expression")},callee:{validate:(0,r.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}}),(0,r.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,r.assertNodeType)("Expression")}}}),(0,r.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,r.assertNodeType)("BlockStatement")},async:{validate:(0,r.assertValueType)("boolean"),default:!1}}}),(0,r.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,r.assertNodeType)("Identifier")}}}),(0,r.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,r.validateArrayOfType)("ObjectProperty","SpreadElement")}}),(0,r.default)("TupleExpression",{fields:{elements:{validate:(0,r.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,r.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,r.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,r.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,r.assertNodeType)("Program")}},aliases:["Expression"]}),(0,r.default)("TopicReference",{aliases:["Expression"]}),(0,r.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,r.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,r.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,r.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,r.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]}),(0,r.default)("VoidPattern",{aliases:["Pattern","PatternLike","FunctionParameter"]})},94520(e,t,n){var r=n(81587),i=n(65183);let a=(0,i.defineAliasedType)("Flow"),o=e=>{let t="DeclareClass"===e;a(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...t?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),extends:(0,i.validateOptional)((0,i.arrayOfType)("InterfaceExtends"))},t?{mixins:(0,i.validateOptional)((0,i.arrayOfType)("InterfaceExtends")),implements:(0,i.validateOptional)((0,i.arrayOfType)("ClassImplements"))}:{},{body:(0,i.validateType)("ObjectTypeAnnotation")})})};a("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,i.validateType)("FlowType")}}),a("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterInstantiation")}}),o("DeclareClass"),a("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier"),predicate:(0,i.validateOptionalType)("DeclaredPredicate")}}),o("DeclareInterface"),a("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier","StringLiteral"),body:(0,i.validateType)("BlockStatement"),kind:(0,i.validateOptional)((0,i.assertOneOf)("CommonJS","ES"))}}),a("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,i.validateType)("TypeAnnotation")}}),a("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),right:(0,i.validateType)("FlowType")}}),a("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,i.validateOptionalType)("FlowType"),impltype:(0,i.validateOptionalType)("FlowType")}}),a("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier")}}),a("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:(0,i.validateOptionalType)("Flow"),specifiers:(0,i.validateOptional)((0,i.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,i.validateOptionalType)("StringLiteral"),default:(0,i.validateOptional)((0,i.assertValueType)("boolean"))},r.importAttributes)}),a("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:(0,i.validateType)("StringLiteral"),exportKind:(0,i.validateOptional)((0,i.assertOneOf)("type","value"))},r.importAttributes)}),a("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,i.validateType)("Flow")}}),a("ExistsTypeAnnotation",{aliases:["FlowType"]}),a("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),params:(0,i.validateArrayOfType)("FunctionTypeParam"),rest:(0,i.validateOptionalType)("FunctionTypeParam"),this:(0,i.validateOptionalType)("FunctionTypeParam"),returnType:(0,i.validateType)("FlowType")}}),a("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,i.validateOptionalType)("Identifier"),typeAnnotation:(0,i.validateType)("FlowType"),optional:(0,i.validateOptional)((0,i.assertValueType)("boolean"))}}),a("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,i.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterInstantiation")}}),a("InferredPredicate",{aliases:["FlowPredicate"]}),a("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,i.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterInstantiation")}}),o("InterfaceDeclaration"),a("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,i.validateOptional)((0,i.arrayOfType)("InterfaceExtends")),body:(0,i.validateType)("ObjectTypeAnnotation")}}),a("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,i.validate)((0,i.arrayOfType)("FlowType"))}}),a("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,i.validateType)("FlowType")}}),a("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,i.validate)((0,i.assertValueType)("number"))}}),a("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,i.validate)((0,i.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,i.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,i.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,i.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,i.assertValueType)("boolean"),default:!1},inexact:(0,i.validateOptional)((0,i.assertValueType)("boolean"))}}),a("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,i.validateType)("Identifier"),value:(0,i.validateType)("FlowType"),optional:(0,i.validate)((0,i.assertValueType)("boolean")),static:(0,i.validate)((0,i.assertValueType)("boolean")),method:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,i.validateType)("FlowType"),static:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,i.validateOptionalType)("Identifier"),key:(0,i.validateType)("FlowType"),value:(0,i.validateType)("FlowType"),static:(0,i.validate)((0,i.assertValueType)("boolean")),variance:(0,i.validateOptionalType)("Variance")}}),a("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,i.validateType)("Identifier","StringLiteral"),value:(0,i.validateType)("FlowType"),kind:(0,i.validate)((0,i.assertOneOf)("init","get","set")),static:(0,i.validate)((0,i.assertValueType)("boolean")),proto:(0,i.validate)((0,i.assertValueType)("boolean")),optional:(0,i.validate)((0,i.assertValueType)("boolean")),variance:(0,i.validateOptionalType)("Variance"),method:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,i.validateType)("FlowType")}}),a("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,i.validateOptionalType)("FlowType"),impltype:(0,i.validateType)("FlowType")}}),a("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,i.validateType)("Identifier"),qualification:(0,i.validateType)("Identifier","QualifiedTypeIdentifier")}}),a("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,i.validate)((0,i.assertValueType)("string"))}}),a("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,i.validate)((0,i.arrayOfType)("FlowType"))}}),a("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,i.validateType)("FlowType")}}),a("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),right:(0,i.validateType)("FlowType")}}),a("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,i.validateType)("FlowType")}}),a("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,i.validateType)("Expression"),typeAnnotation:(0,i.validateType)("TypeAnnotation")}}),a("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,i.validate)((0,i.assertValueType)("string")),bound:(0,i.validateOptionalType)("TypeAnnotation"),default:(0,i.validateOptionalType)("FlowType"),variance:(0,i.validateOptionalType)("Variance")}}),a("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,i.validate)((0,i.arrayOfType)("TypeParameter"))}}),a("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,i.validate)((0,i.arrayOfType)("FlowType"))}}),a("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,i.validate)((0,i.arrayOfType)("FlowType"))}}),a("Variance",{builder:["kind"],fields:{kind:(0,i.validate)((0,i.assertOneOf)("minus","plus"))}}),a("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,i.validateType)("Identifier"),body:(0,i.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}}),a("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,i.validate)((0,i.assertValueType)("boolean")),members:(0,i.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,i.validate)((0,i.assertValueType)("boolean")),members:(0,i.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,i.validate)((0,i.assertValueType)("boolean")),members:(0,i.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,i.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:(0,i.validateType)("Identifier"),init:(0,i.validateType)("BooleanLiteral")}}),a("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,i.validateType)("Identifier"),init:(0,i.validateType)("NumericLiteral")}}),a("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,i.validateType)("Identifier"),init:(0,i.validateType)("StringLiteral")}}),a("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,i.validateType)("Identifier")}}),a("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,i.validateType)("FlowType"),indexType:(0,i.validateType)("FlowType")}}),a("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,i.validateType)("FlowType"),indexType:(0,i.validateType)("FlowType"),optional:(0,i.validate)((0,i.assertValueType)("boolean"))}})},49390(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ALIAS_KEYS",{enumerable:!0,get:function(){return r.ALIAS_KEYS}}),Object.defineProperty(t,"BUILDER_KEYS",{enumerable:!0,get:function(){return r.BUILDER_KEYS}}),Object.defineProperty(t,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return a.DEPRECATED_ALIASES}}),Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return r.DEPRECATED_KEYS}}),Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return r.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(t,"NODE_FIELDS",{enumerable:!0,get:function(){return r.NODE_FIELDS}}),Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return r.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(t,"NODE_UNION_SHAPES__PRIVATE",{enumerable:!0,get:function(){return r.NODE_UNION_SHAPES__PRIVATE}}),Object.defineProperty(t,"PLACEHOLDERS",{enumerable:!0,get:function(){return i.PLACEHOLDERS}}),Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return i.PLACEHOLDERS_ALIAS}}),Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}}),t.TYPES=void 0,Object.defineProperty(t,"VISITOR_KEYS",{enumerable:!0,get:function(){return r.VISITOR_KEYS}}),n(81587),n(94520),n(42363),n(27232),n(18218),n(94831);var r=n(65183),i=n(74014),a=n(81720);for(let{types:e,set:t}of(Object.keys(a.DEPRECATED_ALIASES).forEach(e=>{r.FLIPPED_ALIAS_KEYS[e]=r.FLIPPED_ALIAS_KEYS[a.DEPRECATED_ALIASES[e]]}),r.allExpandedTypes))for(let n of e){let e=r.FLIPPED_ALIAS_KEYS[n];e?e.forEach(t.add,t):t.add(n)}t.TYPES=[].concat(Object.keys(r.VISITOR_KEYS),Object.keys(r.FLIPPED_ALIAS_KEYS),Object.keys(r.DEPRECATED_KEYS))},42363(e,t,n){var r=n(65183);let i=(0,r.defineAliasedType)("JSX");i("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,r.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,r.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),i("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,r.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),i("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,r.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,r.assertNodeType)("JSXClosingElement")},children:(0,r.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:(0,r.assertValueType)("boolean"),optional:!0}})}),i("JSXEmptyExpression",{}),i("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,r.assertNodeType)("Expression","JSXEmptyExpression")}}}),i("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,r.assertNodeType)("Expression")}}}),i("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,r.assertValueType)("string")}}}),i("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,r.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,r.assertNodeType)("JSXIdentifier")}}}),i("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,r.assertNodeType)("JSXIdentifier")},name:{validate:(0,r.assertNodeType)("JSXIdentifier")}}}),i("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:(0,r.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:(0,r.validateArrayOfType)("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:(0,r.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,r.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),i("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,r.assertNodeType)("Expression")}}}),i("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,r.assertValueType)("string")}}}),i("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,r.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,r.assertNodeType)("JSXClosingFragment")},children:(0,r.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}}),i("JSXOpeningFragment",{aliases:["Immutable"]}),i("JSXClosingFragment",{aliases:["Immutable"]})},27232(e,t,n){var r=n(65183),i=n(74014),a=n(81587);let o=(0,r.defineAliasedType)("Miscellaneous");o("Noop",{visitor:[]}),o("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:(0,r.assertNodeType)("Identifier")},expectedNode:{validate:(0,r.assertOneOf)(...i.PLACEHOLDERS)}},(0,a.patternLikeCommon)())}),o("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,r.assertValueType)("string")}}})},74014(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var r=n(65183);let i=t.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],a=t.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let e of i){let t=r.ALIAS_KEYS[e];null!=t&&t.length&&(a[e]=t)}let o=t.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(a).forEach(e=>{a[e].forEach(t=>{hasOwnProperty.call(o,t)||(o[t]=[]),o[t].push(e)})})},94831(e,t,n){let r,i,a,o;var s=n(65183),l=n(81587),p=n(80947);let u=(0,s.defineAliasedType)("TypeScript"),c=(0,s.assertValueType)("boolean"),d=()=>({returnType:{validate:(0,s.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,s.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});u("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,s.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,s.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,s.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,s.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,s.arrayOfType)("Decorator"),optional:!0}}}),u("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,l.functionDeclarationCommon)(),d())}),u("TSDeclareMethod",Object.assign({visitor:["decorators","key","typeParameters","params","returnType"]},(0,l.classMethodOrPropertyUnionShapeCommon)(),{fields:Object.assign({},(0,l.classMethodOrDeclareMethodCommon)(),d())})),u("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,s.validateType)("TSEntityName"),right:(0,s.validateType)("Identifier")}});let f=()=>({typeParameters:(0,s.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,s.validateArrayOfType)("ArrayPattern","Identifier","ObjectPattern","RestElement"),typeAnnotation:(0,s.validateOptionalType)("TSTypeAnnotation")}),y={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:f()};u("TSCallSignatureDeclaration",y),u("TSConstructSignatureDeclaration",y);let m=()=>({key:(0,s.validateType)("Expression"),computed:{default:!1},optional:(0,s.validateOptional)(c)});for(let e of(u("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},m(),{readonly:(0,s.validateOptional)(c),typeAnnotation:(0,s.validateOptionalType)("TSTypeAnnotation"),kind:{optional:!0,validate:(0,s.assertOneOf)("get","set")}})}),u("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},f(),m(),{kind:{validate:(0,s.assertOneOf)("method","get","set")}})}),u("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,s.validateOptional)(c),static:(0,s.validateOptional)(c),parameters:(0,s.validateArrayOfType)("Identifier"),typeAnnotation:(0,s.validateOptionalType)("TSTypeAnnotation")}}),["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"]))u(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});u("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});let T={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};u("TSFunctionType",Object.assign({},T,{fields:f()})),u("TSConstructorType",Object.assign({},T,{fields:Object.assign({},f(),{abstract:(0,s.validateOptional)(c)})})),u("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,s.validateType)("TSEntityName"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation")}}),u("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,s.validateType)("Identifier","TSThisType"),typeAnnotation:(0,s.validateOptionalType)("TSTypeAnnotation"),asserts:(0,s.validateOptional)(c)}}),u("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,s.validateType)("TSEntityName","TSImportType"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation")}}),u("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,s.validateArrayOfType)("TSTypeElement")}}),u("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,s.validateType)("TSType")}}),u("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,s.validateArrayOfType)("TSType","TSNamedTupleMember")}}),u("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,s.validateType)("TSType")}}),u("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,s.validateType)("TSType")}}),u("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,s.validateType)("Identifier"),optional:{validate:c,default:!1},elementType:(0,s.validateType)("TSType")}});let h={aliases:["TSType"],visitor:["types"],fields:{types:(0,s.validateArrayOfType)("TSType")}};u("TSUnionType",h),u("TSIntersectionType",h),u("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,s.validateType)("TSType"),extendsType:(0,s.validateType)("TSType"),trueType:(0,s.validateType)("TSType"),falseType:(0,s.validateType)("TSType")}}),u("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,s.validateType)("TSTypeParameter")}}),u("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,s.validateType)("TSType")}}),u("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],builder:["typeAnnotation","operator"],fields:{operator:{validate:(0,s.assertValueType)("string"),default:"keyof"},typeAnnotation:(0,s.validateType)("TSType")}}),u("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,s.validateType)("TSType"),indexType:(0,s.validateType)("TSType")}}),u("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:(0,s.validateType)("TSTypeParameter")},{readonly:(0,s.validateOptional)((0,s.assertOneOf)(!0,!1,"+","-")),optional:(0,s.validateOptional)((0,s.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,s.validateOptionalType)("TSType"),nameType:(0,s.validateOptionalType)("TSType")})}),u("TSTemplateLiteralType",{aliases:["TSType","TSBaseType"],visitor:["quasis","types"],fields:{quasis:(0,s.validateArrayOfType)("TemplateElement"),types:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("TSType")),function(e,t,n){if(e.quasis.length!==n.length+1)throw TypeError(`Number of ${e.type} quasis should be exactly one more than the number of types.
|
|
5
|
+
Expected ${n.length+1} quasis but got ${e.quasis.length}`)})}}}),u("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:(r=(0,s.assertNodeType)("NumericLiteral","BigIntLiteral"),i=(0,s.assertOneOf)("-"),a=(0,s.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral"),(o=function(e,t,n){(0,p.default)("UnaryExpression",n)?(i(n,"operator",n.operator),r(n,"argument",n.argument)):a(e,t,n)}).oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],o)}}}),u("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,s.validateType)("TSEntityName"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation")}}),u("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,s.validateOptional)(c),id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,s.validateOptional)((0,s.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,s.validateType)("TSInterfaceBody")}}),u("TSInterfaceBody",{visitor:["body"],fields:{body:(0,s.validateArrayOfType)("TSTypeElement")}}),u("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,s.validateOptional)(c),id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,s.validateType)("TSType")}}),u("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,s.validateType)("Expression"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation")}});let S={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,s.validateType)("Expression"),typeAnnotation:(0,s.validateType)("TSType")}};u("TSAsExpression",S),u("TSSatisfiesExpression",S),u("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,s.validateType)("TSType"),expression:(0,s.validateType)("Expression")}}),u("TSEnumBody",{visitor:["members"],fields:{members:(0,s.validateArrayOfType)("TSEnumMember")}}),u("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,s.validateOptional)(c),const:(0,s.validateOptional)(c),id:(0,s.validateType)("Identifier"),members:(0,s.validateArrayOfType)("TSEnumMember"),initializer:(0,s.validateOptionalType)("Expression"),body:(0,s.validateOptionalType)("TSEnumBody")}}),u("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,s.validateType)("Identifier","StringLiteral"),initializer:(0,s.validateOptionalType)("Expression")}}),u("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:(0,s.assertOneOf)("global","module","namespace")},declare:(0,s.validateOptional)(c)},{global:(0,s.validateOptional)(c)},{id:(0,s.validateType)("Identifier","StringLiteral"),body:(0,s.validateType)("TSModuleBlock","TSModuleDeclaration")})}),u("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,s.validateArrayOfType)("Statement")}}),u("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:{argument:(0,s.validateType)("StringLiteral"),qualifier:(0,s.validateOptionalType)("TSEntityName"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation"),options:{validate:(0,s.assertNodeType)("ObjectExpression"),optional:!0}}}),u("TSImportEqualsDeclaration",{aliases:["Statement","Declaration"],visitor:["id","moduleReference"],fields:Object.assign({},{isExport:(0,s.validate)(c)},{id:(0,s.validateType)("Identifier"),moduleReference:(0,s.validateType)("TSEntityName","TSExternalModuleReference"),importKind:{validate:(0,s.assertOneOf)("type","value"),optional:!0}})}),u("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,s.validateType)("StringLiteral")}}),u("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,s.validateType)("Expression")}}),u("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,s.validateType)("Expression")}}),u("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,s.validateType)("Identifier")}}),u("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,s.assertNodeType)("TSType")}}}),u("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:(0,s.validateArrayOfType)("TSType")}}),u("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:(0,s.validateArrayOfType)("TSTypeParameter")}}),u("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,s.assertValueType)("string")},in:{validate:(0,s.assertValueType)("boolean"),optional:!0},out:{validate:(0,s.assertValueType)("boolean"),optional:!0},const:{validate:(0,s.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,s.assertNodeType)("TSType"),optional:!0},default:{validate:(0,s.assertNodeType)("TSType"),optional:!0}}})},65183(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.allExpandedTypes=t.VISITOR_KEYS=t.NODE_UNION_SHAPES__PRIVATE=t.NODE_PARENT_VALIDATIONS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.ALIAS_KEYS=void 0,t.arrayOf=m,t.arrayOfType=T,t.assertEach=h,t.assertNodeOrValueType=function(...e){function t(t,n,a){let o=f(a);for(let s of e)if(o===s||(0,r.default)(s,a))return void(0,i.validateChild)(t,n,a);throw TypeError(`Property ${n} of ${t.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(null==a?void 0:a.type)}`)}return t.oneOfNodeOrValueTypes=e,t},t.assertNodeType=E,t.assertOneOf=function(...e){function t(t,n,r){if(!e.includes(r))throw TypeError(`Property ${n} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(r)}`)}return t.oneOf=e,t},t.assertOptionalChainStart=function(){return function(e){var t;let n=e;for(;e;){let{type:e}=n;if("OptionalCallExpression"===e){if(n.optional)return;n=n.callee;continue}if("OptionalMemberExpression"===e){if(n.optional)return;n=n.object;continue}break}throw TypeError(`Non-optional ${e.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${null==(t=n)?void 0:t.type}`)}},t.assertShape=function(e){let t=Object.keys(e);function n(n,r,a){let o=[];for(let r of t)try{(0,i.validateField)(n,r,a[r],e[r])}catch(e){if(e instanceof TypeError){o.push(e.message);continue}throw e}if(o.length)throw TypeError(`Property ${r} of ${n.type} expected to have the following:
|
|
6
|
+
${o.join("\n")}`)}return n.shapeOf=e,n},t.assertValueType=b,t.chain=x,t.default=g,t.defineAliasedType=function(...e){return(t,n={})=>{let r=n.aliases;if(!r){var i;n.inherits&&(r=null==(i=v[n.inherits].aliases)?void 0:i.slice()),null!=r||(r=[]),n.aliases=r}let a=e.filter(e=>!r.includes(e));r.unshift(...a),g(t,n)}},t.validate=y,t.validateArrayOfType=function(...e){return y(T(...e))},t.validateOptional=function(e){return{validate:e,optional:!0}},t.validateOptionalType=function(...e){return{validate:E(...e),optional:!0}},t.validateType=function(...e){return y(E(...e))};var r=n(80947),i=n(88765);let a=t.VISITOR_KEYS={},o=t.ALIAS_KEYS={},s=t.FLIPPED_ALIAS_KEYS={},l=t.NODE_FIELDS={},p=t.BUILDER_KEYS={},u=t.DEPRECATED_KEYS={},c=t.NODE_PARENT_VALIDATIONS={},d=t.NODE_UNION_SHAPES__PRIVATE={};function f(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function y(e){return{validate:e}}function m(e){return x(b("array"),h(e))}function T(...e){return m(E(...e))}function h(e){let t=process.env.BABEL_TYPES_8_BREAKING?i.validateChild:()=>{};function n(n,r,i){if(!Array.isArray(i))return;let a=0,o={toString:()=>`${r}[${a}]`};for(;a<i.length;a++){let r=i[a];e(n,o,r),t(n,o,r)}}return n.each=e,n}let S=t.allExpandedTypes=[];function E(...e){let t=new Set;function n(n,a,o){let s=null==o?void 0:o.type;if(null!=s){if(t.has(s))return void(0,i.validateChild)(n,a,o);if("Placeholder"===s){for(let t of e)if((0,r.default)(t,o))return void(0,i.validateChild)(n,a,o)}}throw TypeError(`Property ${a} of ${n.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(s)}`)}return S.push({types:e,set:t}),n.oneOfNodeTypes=e,n}function b(e){function t(t,n,r){if(f(r)!==e)throw TypeError(`Property ${n} expected type of ${e} but got ${f(r)}`)}return t.type=e,t}function x(...e){function t(...n){for(let t of e)t(...n)}if(t.chainOf=e,e.length>=2&&"type"in e[0]&&"array"===e[0].type&&!("each"in e[1]))throw Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return t}let A=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate","unionShape"]),P=new Set(["default","optional","deprecated","validate"]),v={};function g(e,t={}){let n=t.inherits&&v[t.inherits]||{},r=t.fields;if(!r&&(r={},n.fields))for(let e of Object.getOwnPropertyNames(n.fields)){let t=n.fields[e],i=t.default;if(Array.isArray(i)?i.length>0:i&&"object"==typeof i)throw Error("field defaults can only be primitives or empty arrays currently");r[e]={default:Array.isArray(i)?[]:i,optional:t.optional,deprecated:t.deprecated,validate:t.validate}}let i=t.visitor||n.visitor||[],y=t.aliases||n.aliases||[],m=t.builder||n.builder||t.visitor||[];for(let n of Object.keys(t))if(!A.has(n))throw Error(`Unknown type option "${n}" on ${e}`);for(let n of(t.deprecatedAlias&&(u[t.deprecatedAlias]=e),i.concat(m)))r[n]=r[n]||{};for(let t of Object.keys(r)){let n=r[t];for(let r of(void 0===n.default||m.includes(t)||(n.optional=!0),void 0===n.default?n.default=null:n.validate||null==n.default||(n.validate=b(f(n.default))),Object.keys(n)))if(!P.has(r))throw Error(`Unknown field key "${r}" on ${e}.${t}`)}a[e]=t.visitor=i,p[e]=t.builder=m,l[e]=t.fields=r,o[e]=t.aliases=y,y.forEach(t=>{s[t]=s[t]||[],s[t].push(e)}),t.validate&&(c[e]=t.validate),t.unionShape&&(d[e]=t.unionShape),v[e]=t}},58135(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r={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 eT.default}}),Object.defineProperty(t,"addComment",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"addComments",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"appendToMemberExpression",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"assertNode",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:!0,get:function(){return ey.default}}),Object.defineProperty(t,"clone",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"cloneNode",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"cloneWithoutLoc",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"createFlowUnionType",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"createTSUnionType",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"ensureBlock",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(t,"getBindingIdentifiers",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"getFunctionName",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(t,"inheritInnerComments",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"inheritLeadingComments",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"inheritTrailingComments",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"inherits",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"inheritsComments",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"is",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,"isBinding",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"isBlockScoped",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,"isImmutable",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(t,"isLet",{enumerable:!0,get:function(){return et.default}}),Object.defineProperty(t,"isNode",{enumerable:!0,get:function(){return en.default}}),Object.defineProperty(t,"isNodesEquivalent",{enumerable:!0,get:function(){return er.default}}),Object.defineProperty(t,"isPlaceholderType",{enumerable:!0,get:function(){return ei.default}}),Object.defineProperty(t,"isReferenced",{enumerable:!0,get:function(){return ea.default}}),Object.defineProperty(t,"isScope",{enumerable:!0,get:function(){return eo.default}}),Object.defineProperty(t,"isSpecifierDefault",{enumerable:!0,get:function(){return es.default}}),Object.defineProperty(t,"isType",{enumerable:!0,get:function(){return el.default}}),Object.defineProperty(t,"isValidES3Identifier",{enumerable:!0,get:function(){return ep.default}}),Object.defineProperty(t,"isValidIdentifier",{enumerable:!0,get:function(){return eu.default}}),Object.defineProperty(t,"isVar",{enumerable:!0,get:function(){return ec.default}}),Object.defineProperty(t,"matchesPattern",{enumerable:!0,get:function(){return ed.default}}),Object.defineProperty(t,"prependToMemberExpression",{enumerable:!0,get:function(){return K.default}}),t.react=void 0,Object.defineProperty(t,"removeComments",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"removeProperties",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"removePropertiesDeep",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,"removeTypeDuplicates",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,"shallowEqual",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"toBindingIdentifierName",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"toBlock",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"toComputedKey",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"toExpression",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"toIdentifier",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"toKeyAlias",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"toStatement",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"traverse",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(t,"traverseFast",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return ef.default}}),Object.defineProperty(t,"valueToNode",{enumerable:!0,get:function(){return j.default}});var i=n(80737),a=n(76977),o=n(86503),s=n(82985),l=n(73289);Object.keys(l).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var p=n(56461),u=n(95414),c=n(84534),d=n(12456);Object.keys(d).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}})});var f=n(93806);Object.keys(f).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})});var y=n(16812),m=n(74780),T=n(99042),h=n(46248),S=n(33242),E=n(89456),b=n(943),x=n(11515),A=n(18445),P=n(64494),v=n(46691),g=n(73890),_=n(55527);Object.keys(_).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===_[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}})});var O=n(79897);Object.keys(O).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===O[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return O[e]}})});var I=n(11350),C=n(95847),D=n(98999),N=n(93544),w=n(25002),k=n(17627),L=n(35349),M=n(10187),j=n(62485),B=n(49390);Object.keys(B).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===B[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return B[e]}})});var F=n(41748),R=n(27937),K=n(66948),Y=n(6944),V=n(55262),J=n(54538),X=n(48204),U=n(46676),q=n(18271),W=n(26692),$=n(43998);Object.keys($).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===$[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return $[e]}})});var H=n(72148),G=n(86293),z=n(80947),Q=n(57166),Z=n(53358),ee=n(34375),et=n(20266),en=n(24919),er=n(44466),ei=n(33346),ea=n(93380),eo=n(88143),es=n(48778),el=n(42379),ep=n(55467),eu=n(78126),ec=n(21342),ed=n(31782),ef=n(88765),ey=n(90550),em=n(60133);Object.keys(em).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===em[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return em[e]}})});var eT=n(50231),eh=n(55827);t.react={isReactComponent:i.default,isCompatTag:a.default,buildChildren:o.default},t.toSequenceExpression=eh.default,process.env.BABEL_TYPES_8_BREAKING&&console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")},41748(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n=!1){return e.object=(0,r.memberExpression)(e.object,e.property,e.computed),e.property=t,e.computed=!!n,e};var r=n(93806)},54538(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){let n=Array.from(t),i=new Map,a=new Map,o=new Set,s=[];for(let t=0;t<n.length;t++){let l=n[t];if(l&&!s.includes(l)){if((0,r.isAnyTypeAnnotation)(l))return[l];if((0,r.isFlowBaseAnnotation)(l)){a.set(l.type,l);continue}if((0,r.isUnionTypeAnnotation)(l)){o.has(l.types)||(n.push(...l.types),o.add(l.types));continue}if((0,r.isGenericTypeAnnotation)(l)){let t=function e(t){return(0,r.isIdentifier)(t)?t.name:`${t.id.name}.${e(t.qualification)}`}(l.id);if(i.has(t)){let n=i.get(t);n.typeParameters?l.typeParameters&&(n.typeParameters.params.push(...l.typeParameters.params),n.typeParameters.params=e(n.typeParameters.params)):n=l.typeParameters}else i.set(t,l);continue}s.push(l)}}for(let[,e]of a)s.push(e);for(let[,e]of i)s.push(e);return s};var r=n(60133)},27937(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e||!t)return e;for(let n of r.INHERIT_KEYS.optional)null==e[n]&&(e[n]=t[n]);for(let n of Object.keys(t))"_"===n[0]&&"__clone"!==n&&(e[n]=t[n]);for(let n of r.INHERIT_KEYS.force)e[n]=t[n];return(0,i.default)(e,t),e};var r=n(79897),i=n(64494)},66948(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,i.isSuper)(e.object))throw Error("Cannot prepend node to super property access (`super.foo`).");return e.object=(0,r.memberExpression)(t,e.object),e};var r=n(93806),i=n(58135)},6944(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={}){for(let n of t.preserveComments?i:a)null!=e[n]&&(e[n]=void 0);for(let t of Object.keys(e))"_"===t[0]&&null!=e[t]&&(e[t]=void 0);for(let t of Object.getOwnPropertySymbols(e))e[t]=null};var r=n(79897);let i=["tokens","start","end","loc","raw","rawValue"],a=[...r.COMMENT_KEYS,"comments",...i]},55262(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e,i.default,t),e};var r=n(72148),i=n(6944)},99227(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){let n=Array.from(t),i=new Map,a=new Map,o=new Set,s=[];for(let t=0;t<n.length;t++){let l=n[t];if(!l||s.includes(l))continue;if((0,r.isTSAnyKeyword)(l))return[l];if((0,r.isTSBaseType)(l)){a.set(l.type,l);continue}if((0,r.isTSUnionType)(l)){o.has(l.types)||(n.push(...l.types),o.add(l.types));continue}let p="typeParameters";if((0,r.isTSTypeReference)(l)&&l[p]){let t=l[p],n=function e(t){return(0,r.isIdentifier)(t)?t.name:(0,r.isThisExpression)(t)?"this":`${t.right.name}.${e(t.left)}`}(l.typeName);if(i.has(n)){let r=i.get(n),a=r[p];a?(a.params.push(...t.params),a.params=e(a.params)):r=t}else i.set(n,l);continue}s.push(l)}for(let[,e]of a)s.push(e);for(let[,e]of i)s.push(e);return s};var r=n(60133)},48204(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=[].concat(e),n=Object.create(null);for(;t.length;){let e=t.pop();if(e)switch(e.type){case"ArrayPattern":t.push(...e.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":t.push(e.left);break;case"ObjectPattern":t.push(...e.properties);break;case"ObjectProperty":t.push(e.value);break;case"RestElement":case"UpdateExpression":t.push(e.argument);break;case"UnaryExpression":"delete"===e.operator&&t.push(e.argument);break;case"Identifier":n[e.name]=e}}return n}},46676(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n(60133);function i(e,t,n,a){let o=[].concat(e),s=Object.create(null);for(;o.length;){let e=o.shift();if(!e||a&&((0,r.isAssignmentExpression)(e)||(0,r.isUnaryExpression)(e)||(0,r.isUpdateExpression)(e)))continue;if((0,r.isIdentifier)(e)){t?(s[e.name]=s[e.name]||[]).push(e):s[e.name]=e;continue}if((0,r.isExportDeclaration)(e)&&!(0,r.isExportAllDeclaration)(e)){(0,r.isDeclaration)(e.declaration)&&o.push(e.declaration);continue}if(n){if((0,r.isFunctionDeclaration)(e)){o.push(e.id);continue}if((0,r.isFunctionExpression)(e))continue}let l=i.keys[e.type];if(l)for(let t=0;t<l.length;t++){let n=e[l[t]];n&&(Array.isArray(n)?o.push(...n):o.push(n))}}return s}i.keys={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"]}},26692(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n;let a;if("id"in e&&e.id)return{name:e.id.name,originalNode:e.id};let o="";if((0,r.isObjectProperty)(t,{value:e})?a=i(t):(0,r.isObjectMethod)(e)||(0,r.isClassMethod)(e)?(a=i(e),"get"===e.kind?o="get ":"set"===e.kind&&(o="set ")):(0,r.isVariableDeclarator)(t,{init:e})?a=t.id:(0,r.isAssignmentExpression)(t,{operator:"=",right:e})&&(a=t.left),!a)return null;let s=(0,r.isLiteral)(a)?(n=a,(0,r.isNullLiteral)(n)?"null":(0,r.isRegExpLiteral)(n)?`/${n.pattern}/${n.flags}`:(0,r.isTemplateLiteral)(n)?n.quasis.map(e=>e.value.raw).join(""):void 0!==n.value?String(n.value):null):(0,r.isIdentifier)(a)?a.name:(0,r.isPrivateName)(a)?a.id.name:null;return null==s?null:{name:o+s,originalNode:a}};var r=n(60133);function i(e){if(!e.computed||(0,r.isLiteral)(e.key))return e.key}},18271(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(46676);t.default=function(e,t){return(0,r.default)(e,t,!0)}},43998(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){"function"==typeof t&&(t={enter:t});let{enter:i,exit:a}=t;!function e(t,n,i,a,o){let s=r.VISITOR_KEYS[t.type];if(s){for(let r of(n&&n(t,o,a),s)){let s=t[r];if(Array.isArray(s))for(let l=0;l<s.length;l++){let p=s[l];p&&(o.push({node:t,key:r,index:l}),e(p,n,i,a,o),o.pop())}else s&&(o.push({node:t,key:r}),e(s,n,i,a,o),o.pop())}i&&i(t,o,a)}}(e,i,a,n,[])};var r=n(49390)},72148(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(49390);let i=Symbol(),a=Symbol();function o(e,t,n){if(!e)return!1;let s=r.VISITOR_KEYS[e.type];if(!s)return!1;let l=t(e,n=n||{});if(void 0!==l)switch(l){case i:return!1;case a:return!0}for(let r of s){let i=e[r];if(i){if(Array.isArray(i)){for(let e of i)if(o(e,t,n))return!0}else if(o(i,t,n))return!0}}return!1}o.skip=i,o.stop=a},50231(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r="",i=e){if(n.has(i))return;n.add(i);let{internal:a,trace:o}=function(){let e,{stackTraceLimit:t,prepareStackTrace:n}=Error;if(Error.stackTraceLimit=4,Error.prepareStackTrace=function(t,n){e=n},Error().stack,Error.stackTraceLimit=t,Error.prepareStackTrace=n,!e)return{internal:!1,trace:""};let r=e.slice(2,4);return{internal:/[\\/]@babel[\\/]/.test(r[1].getFileName()),trace:r.map(e=>` at ${e}`).join("\n")}}();a||console.warn(`${r}\`${e}\` has been deprecated, please migrate to \`${t}\`
|
|
7
|
+
${o}`)};let n=new Set},30594(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){t&&n&&(t[e]=Array.from(new Set([].concat(t[e],n[e]).filter(Boolean))))}},90132(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=e.value.split(/\r\n|\n|\r/),a=0;for(let e=0;e<n.length;e++)/[^ \t]/.exec(n[e])&&(a=e);let o="";for(let e=0;e<n.length;e++){let t=n[e],r=0===e,i=e===n.length-1,s=e===a,l=t.replace(/\t/g," ");r||(l=l.replace(/^ +/,"")),i||(l=l.replace(/ +$/,"")),l&&(s||(l+=" "),o+=l)}o&&t.push((0,i.inherits)((0,r.stringLiteral)(o),e))};var r=n(93806),i=n(58135)},86293(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(let n of Object.keys(t))if(e[n]!==t[n])return!1;return!0}},90550(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=e.split(".");return e=>(0,r.default)(e,n,t)};var r=n(31782)},60133(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.isAccessor=function(e,t){return!!e&&"ClassAccessorProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isAnyTypeAnnotation=function(e,t){return!!e&&"AnyTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isArgumentPlaceholder=function(e,t){return!!e&&"ArgumentPlaceholder"===e.type&&(null==t||(0,r.default)(e,t))},t.isArrayExpression=function(e,t){return!!e&&"ArrayExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isArrayPattern=function(e,t){return!!e&&"ArrayPattern"===e.type&&(null==t||(0,r.default)(e,t))},t.isArrayTypeAnnotation=function(e,t){return!!e&&"ArrayTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isArrowFunctionExpression=function(e,t){return!!e&&"ArrowFunctionExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isAssignmentExpression=function(e,t){return!!e&&"AssignmentExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isAssignmentPattern=function(e,t){return!!e&&"AssignmentPattern"===e.type&&(null==t||(0,r.default)(e,t))},t.isAwaitExpression=function(e,t){return!!e&&"AwaitExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isBigIntLiteral=function(e,t){return!!e&&"BigIntLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isBinary=function(e,t){if(!e)return!1;switch(e.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isBinaryExpression=function(e,t){return!!e&&"BinaryExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isBindExpression=function(e,t){return!!e&&"BindExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isBlock=function(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if("BlockStatement"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isBlockParent=function(e,t){if(!e)return!1;switch(e.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("BlockStatement"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isBlockStatement=function(e,t){return!!e&&"BlockStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isBooleanLiteral=function(e,t){return!!e&&"BooleanLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isBooleanLiteralTypeAnnotation=function(e,t){return!!e&&"BooleanLiteralTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isBooleanTypeAnnotation=function(e,t){return!!e&&"BooleanTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isBreakStatement=function(e,t){return!!e&&"BreakStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isCallExpression=function(e,t){return!!e&&"CallExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isCatchClause=function(e,t){return!!e&&"CatchClause"===e.type&&(null==t||(0,r.default)(e,t))},t.isClass=function(e,t){if(!e)return!1;switch(e.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isClassAccessorProperty=function(e,t){return!!e&&"ClassAccessorProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isClassBody=function(e,t){return!!e&&"ClassBody"===e.type&&(null==t||(0,r.default)(e,t))},t.isClassDeclaration=function(e,t){return!!e&&"ClassDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isClassExpression=function(e,t){return!!e&&"ClassExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isClassImplements=function(e,t){return!!e&&"ClassImplements"===e.type&&(null==t||(0,r.default)(e,t))},t.isClassMethod=function(e,t){return!!e&&"ClassMethod"===e.type&&(null==t||(0,r.default)(e,t))},t.isClassPrivateMethod=function(e,t){return!!e&&"ClassPrivateMethod"===e.type&&(null==t||(0,r.default)(e,t))},t.isClassPrivateProperty=function(e,t){return!!e&&"ClassPrivateProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isClassProperty=function(e,t){return!!e&&"ClassProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isCompletionStatement=function(e,t){if(!e)return!1;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isConditional=function(e,t){if(!e)return!1;switch(e.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isConditionalExpression=function(e,t){return!!e&&"ConditionalExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isContinueStatement=function(e,t){return!!e&&"ContinueStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isDebuggerStatement=function(e,t){return!!e&&"DebuggerStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isDecimalLiteral=function(e,t){return!!e&&"DecimalLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclaration=function(e,t){if(!e)return!1;switch(e.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("Declaration"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isDeclareClass=function(e,t){return!!e&&"DeclareClass"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareExportAllDeclaration=function(e,t){return!!e&&"DeclareExportAllDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareExportDeclaration=function(e,t){return!!e&&"DeclareExportDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareFunction=function(e,t){return!!e&&"DeclareFunction"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareInterface=function(e,t){return!!e&&"DeclareInterface"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareModule=function(e,t){return!!e&&"DeclareModule"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareModuleExports=function(e,t){return!!e&&"DeclareModuleExports"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareOpaqueType=function(e,t){return!!e&&"DeclareOpaqueType"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareTypeAlias=function(e,t){return!!e&&"DeclareTypeAlias"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareVariable=function(e,t){return!!e&&"DeclareVariable"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclaredPredicate=function(e,t){return!!e&&"DeclaredPredicate"===e.type&&(null==t||(0,r.default)(e,t))},t.isDecorator=function(e,t){return!!e&&"Decorator"===e.type&&(null==t||(0,r.default)(e,t))},t.isDirective=function(e,t){return!!e&&"Directive"===e.type&&(null==t||(0,r.default)(e,t))},t.isDirectiveLiteral=function(e,t){return!!e&&"DirectiveLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isDoExpression=function(e,t){return!!e&&"DoExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isDoWhileStatement=function(e,t){return!!e&&"DoWhileStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isEmptyStatement=function(e,t){return!!e&&"EmptyStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isEmptyTypeAnnotation=function(e,t){return!!e&&"EmptyTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumBody=function(e,t){if(!e)return!1;switch(e.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isEnumBooleanBody=function(e,t){return!!e&&"EnumBooleanBody"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumBooleanMember=function(e,t){return!!e&&"EnumBooleanMember"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumDeclaration=function(e,t){return!!e&&"EnumDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumDefaultedMember=function(e,t){return!!e&&"EnumDefaultedMember"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumMember=function(e,t){if(!e)return!1;switch(e.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isEnumNumberBody=function(e,t){return!!e&&"EnumNumberBody"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumNumberMember=function(e,t){return!!e&&"EnumNumberMember"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumStringBody=function(e,t){return!!e&&"EnumStringBody"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumStringMember=function(e,t){return!!e&&"EnumStringMember"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumSymbolBody=function(e,t){return!!e&&"EnumSymbolBody"===e.type&&(null==t||(0,r.default)(e,t))},t.isExistsTypeAnnotation=function(e,t){return!!e&&"ExistsTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isExportAllDeclaration=function(e,t){return!!e&&"ExportAllDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isExportDeclaration=function(e,t){if(!e)return!1;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isExportDefaultDeclaration=function(e,t){return!!e&&"ExportDefaultDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isExportDefaultSpecifier=function(e,t){return!!e&&"ExportDefaultSpecifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isExportNamedDeclaration=function(e,t){return!!e&&"ExportNamedDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isExportNamespaceSpecifier=function(e,t){return!!e&&"ExportNamespaceSpecifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isExportSpecifier=function(e,t){return!!e&&"ExportSpecifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isExpression=function(e,t){if(!e)return!1;switch(e.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(e.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return null==t||(0,r.default)(e,t)},t.isExpressionStatement=function(e,t){return!!e&&"ExpressionStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isExpressionWrapper=function(e,t){if(!e)return!1;switch(e.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFile=function(e,t){return!!e&&"File"===e.type&&(null==t||(0,r.default)(e,t))},t.isFlow=function(e,t){if(!e)return!1;switch(e.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 null==t||(0,r.default)(e,t)},t.isFlowBaseAnnotation=function(e,t){if(!e)return!1;switch(e.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 null==t||(0,r.default)(e,t)},t.isFlowDeclaration=function(e,t){if(!e)return!1;switch(e.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 null==t||(0,r.default)(e,t)},t.isFlowPredicate=function(e,t){if(!e)return!1;switch(e.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFlowType=function(e,t){if(!e)return!1;switch(e.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 null==t||(0,r.default)(e,t)},t.isFor=function(e,t){if(!e)return!1;switch(e.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isForInStatement=function(e,t){return!!e&&"ForInStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isForOfStatement=function(e,t){return!!e&&"ForOfStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isForStatement=function(e,t){return!!e&&"ForStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isForXStatement=function(e,t){if(!e)return!1;switch(e.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFunction=function(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFunctionDeclaration=function(e,t){return!!e&&"FunctionDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isFunctionExpression=function(e,t){return!!e&&"FunctionExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isFunctionParameter=function(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if("Identifier"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFunctionParent=function(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFunctionTypeAnnotation=function(e,t){return!!e&&"FunctionTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isFunctionTypeParam=function(e,t){return!!e&&"FunctionTypeParam"===e.type&&(null==t||(0,r.default)(e,t))},t.isGenericTypeAnnotation=function(e,t){return!!e&&"GenericTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isIdentifier=function(e,t){return!!e&&"Identifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isIfStatement=function(e,t){return!!e&&"IfStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isImmutable=function(e,t){if(!e)return!1;switch(e.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("StringLiteral"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isImport=function(e,t){return!!e&&"Import"===e.type&&(null==t||(0,r.default)(e,t))},t.isImportAttribute=function(e,t){return!!e&&"ImportAttribute"===e.type&&(null==t||(0,r.default)(e,t))},t.isImportDeclaration=function(e,t){return!!e&&"ImportDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isImportDefaultSpecifier=function(e,t){return!!e&&"ImportDefaultSpecifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isImportExpression=function(e,t){return!!e&&"ImportExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isImportNamespaceSpecifier=function(e,t){return!!e&&"ImportNamespaceSpecifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isImportOrExportDeclaration=a,t.isImportSpecifier=function(e,t){return!!e&&"ImportSpecifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isIndexedAccessType=function(e,t){return!!e&&"IndexedAccessType"===e.type&&(null==t||(0,r.default)(e,t))},t.isInferredPredicate=function(e,t){return!!e&&"InferredPredicate"===e.type&&(null==t||(0,r.default)(e,t))},t.isInterfaceDeclaration=function(e,t){return!!e&&"InterfaceDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isInterfaceExtends=function(e,t){return!!e&&"InterfaceExtends"===e.type&&(null==t||(0,r.default)(e,t))},t.isInterfaceTypeAnnotation=function(e,t){return!!e&&"InterfaceTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isInterpreterDirective=function(e,t){return!!e&&"InterpreterDirective"===e.type&&(null==t||(0,r.default)(e,t))},t.isIntersectionTypeAnnotation=function(e,t){return!!e&&"IntersectionTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSX=function(e,t){if(!e)return!1;switch(e.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 null==t||(0,r.default)(e,t)},t.isJSXAttribute=function(e,t){return!!e&&"JSXAttribute"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXClosingElement=function(e,t){return!!e&&"JSXClosingElement"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXClosingFragment=function(e,t){return!!e&&"JSXClosingFragment"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXElement=function(e,t){return!!e&&"JSXElement"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXEmptyExpression=function(e,t){return!!e&&"JSXEmptyExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXExpressionContainer=function(e,t){return!!e&&"JSXExpressionContainer"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXFragment=function(e,t){return!!e&&"JSXFragment"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXIdentifier=function(e,t){return!!e&&"JSXIdentifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXMemberExpression=function(e,t){return!!e&&"JSXMemberExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXNamespacedName=function(e,t){return!!e&&"JSXNamespacedName"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXOpeningElement=function(e,t){return!!e&&"JSXOpeningElement"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXOpeningFragment=function(e,t){return!!e&&"JSXOpeningFragment"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXSpreadAttribute=function(e,t){return!!e&&"JSXSpreadAttribute"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXSpreadChild=function(e,t){return!!e&&"JSXSpreadChild"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXText=function(e,t){return!!e&&"JSXText"===e.type&&(null==t||(0,r.default)(e,t))},t.isLVal=function(e,t){if(!e)return!1;switch(e.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(e.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return null==t||(0,r.default)(e,t)},t.isLabeledStatement=function(e,t){return!!e&&"LabeledStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isLiteral=function(e,t){if(!e)return!1;switch(e.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if("StringLiteral"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isLogicalExpression=function(e,t){return!!e&&"LogicalExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isLoop=function(e,t){if(!e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isMemberExpression=function(e,t){return!!e&&"MemberExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isMetaProperty=function(e,t){return!!e&&"MetaProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isMethod=function(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isMiscellaneous=function(e,t){if(!e)return!1;switch(e.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isMixedTypeAnnotation=function(e,t){return!!e&&"MixedTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isModuleDeclaration=function(e,t){return(0,i.default)("isModuleDeclaration","isImportOrExportDeclaration"),a(e,t)},t.isModuleExpression=function(e,t){return!!e&&"ModuleExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isModuleSpecifier=function(e,t){if(!e)return!1;switch(e.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isNewExpression=function(e,t){return!!e&&"NewExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isNoop=function(e,t){return!!e&&"Noop"===e.type&&(null==t||(0,r.default)(e,t))},t.isNullLiteral=function(e,t){return!!e&&"NullLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isNullLiteralTypeAnnotation=function(e,t){return!!e&&"NullLiteralTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isNullableTypeAnnotation=function(e,t){return!!e&&"NullableTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isNumberLiteral=function(e,t){return(0,i.default)("isNumberLiteral","isNumericLiteral"),!!e&&"NumberLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isNumberLiteralTypeAnnotation=function(e,t){return!!e&&"NumberLiteralTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isNumberTypeAnnotation=function(e,t){return!!e&&"NumberTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isNumericLiteral=function(e,t){return!!e&&"NumericLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectExpression=function(e,t){return!!e&&"ObjectExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectMember=function(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isObjectMethod=function(e,t){return!!e&&"ObjectMethod"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectPattern=function(e,t){return!!e&&"ObjectPattern"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectProperty=function(e,t){return!!e&&"ObjectProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectTypeAnnotation=function(e,t){return!!e&&"ObjectTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectTypeCallProperty=function(e,t){return!!e&&"ObjectTypeCallProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectTypeIndexer=function(e,t){return!!e&&"ObjectTypeIndexer"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectTypeInternalSlot=function(e,t){return!!e&&"ObjectTypeInternalSlot"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectTypeProperty=function(e,t){return!!e&&"ObjectTypeProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectTypeSpreadProperty=function(e,t){return!!e&&"ObjectTypeSpreadProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isOpaqueType=function(e,t){return!!e&&"OpaqueType"===e.type&&(null==t||(0,r.default)(e,t))},t.isOptionalCallExpression=function(e,t){return!!e&&"OptionalCallExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isOptionalIndexedAccessType=function(e,t){return!!e&&"OptionalIndexedAccessType"===e.type&&(null==t||(0,r.default)(e,t))},t.isOptionalMemberExpression=function(e,t){return!!e&&"OptionalMemberExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isParenthesizedExpression=function(e,t){return!!e&&"ParenthesizedExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isPattern=function(e,t){if(!e)return!1;switch(e.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if("Pattern"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isPatternLike=function(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return null==t||(0,r.default)(e,t)},t.isPipelineBareFunction=function(e,t){return!!e&&"PipelineBareFunction"===e.type&&(null==t||(0,r.default)(e,t))},t.isPipelinePrimaryTopicReference=function(e,t){return!!e&&"PipelinePrimaryTopicReference"===e.type&&(null==t||(0,r.default)(e,t))},t.isPipelineTopicExpression=function(e,t){return!!e&&"PipelineTopicExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isPlaceholder=function(e,t){return!!e&&"Placeholder"===e.type&&(null==t||(0,r.default)(e,t))},t.isPrivate=function(e,t){if(!e)return!1;switch(e.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isPrivateName=function(e,t){return!!e&&"PrivateName"===e.type&&(null==t||(0,r.default)(e,t))},t.isProgram=function(e,t){return!!e&&"Program"===e.type&&(null==t||(0,r.default)(e,t))},t.isProperty=function(e,t){if(!e)return!1;switch(e.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isPureish=function(e,t){if(!e)return!1;switch(e.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("StringLiteral"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isQualifiedTypeIdentifier=function(e,t){return!!e&&"QualifiedTypeIdentifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isRecordExpression=function(e,t){return!!e&&"RecordExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isRegExpLiteral=function(e,t){return!!e&&"RegExpLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isRegexLiteral=function(e,t){return(0,i.default)("isRegexLiteral","isRegExpLiteral"),!!e&&"RegexLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isRestElement=function(e,t){return!!e&&"RestElement"===e.type&&(null==t||(0,r.default)(e,t))},t.isRestProperty=function(e,t){return(0,i.default)("isRestProperty","isRestElement"),!!e&&"RestProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isReturnStatement=function(e,t){return!!e&&"ReturnStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isScopable=function(e,t){if(!e)return!1;switch(e.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("BlockStatement"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isSequenceExpression=function(e,t){return!!e&&"SequenceExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isSpreadElement=function(e,t){return!!e&&"SpreadElement"===e.type&&(null==t||(0,r.default)(e,t))},t.isSpreadProperty=function(e,t){return(0,i.default)("isSpreadProperty","isSpreadElement"),!!e&&"SpreadProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isStandardized=function(e,t){if(!e)return!1;switch(e.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":case"ImportAttribute":break;case"Placeholder":switch(e.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return null==t||(0,r.default)(e,t)},t.isStatement=function(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"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(e.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return null==t||(0,r.default)(e,t)},t.isStaticBlock=function(e,t){return!!e&&"StaticBlock"===e.type&&(null==t||(0,r.default)(e,t))},t.isStringLiteral=function(e,t){return!!e&&"StringLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isStringLiteralTypeAnnotation=function(e,t){return!!e&&"StringLiteralTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isStringTypeAnnotation=function(e,t){return!!e&&"StringTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isSuper=function(e,t){return!!e&&"Super"===e.type&&(null==t||(0,r.default)(e,t))},t.isSwitchCase=function(e,t){return!!e&&"SwitchCase"===e.type&&(null==t||(0,r.default)(e,t))},t.isSwitchStatement=function(e,t){return!!e&&"SwitchStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isSymbolTypeAnnotation=function(e,t){return!!e&&"SymbolTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSAnyKeyword=function(e,t){return!!e&&"TSAnyKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSArrayType=function(e,t){return!!e&&"TSArrayType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSAsExpression=function(e,t){return!!e&&"TSAsExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSBaseType=function(e,t){if(!e)return!1;switch(e.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 null==t||(0,r.default)(e,t)},t.isTSBigIntKeyword=function(e,t){return!!e&&"TSBigIntKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSBooleanKeyword=function(e,t){return!!e&&"TSBooleanKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSCallSignatureDeclaration=function(e,t){return!!e&&"TSCallSignatureDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSConditionalType=function(e,t){return!!e&&"TSConditionalType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSConstructSignatureDeclaration=function(e,t){return!!e&&"TSConstructSignatureDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSConstructorType=function(e,t){return!!e&&"TSConstructorType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSDeclareFunction=function(e,t){return!!e&&"TSDeclareFunction"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSDeclareMethod=function(e,t){return!!e&&"TSDeclareMethod"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSEntityName=function(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if("Identifier"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isTSEnumBody=function(e,t){return!!e&&"TSEnumBody"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSEnumDeclaration=function(e,t){return!!e&&"TSEnumDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSEnumMember=function(e,t){return!!e&&"TSEnumMember"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSExportAssignment=function(e,t){return!!e&&"TSExportAssignment"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSExpressionWithTypeArguments=function(e,t){return!!e&&"TSExpressionWithTypeArguments"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSExternalModuleReference=function(e,t){return!!e&&"TSExternalModuleReference"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSFunctionType=function(e,t){return!!e&&"TSFunctionType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSImportEqualsDeclaration=function(e,t){return!!e&&"TSImportEqualsDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSImportType=function(e,t){return!!e&&"TSImportType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSIndexSignature=function(e,t){return!!e&&"TSIndexSignature"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSIndexedAccessType=function(e,t){return!!e&&"TSIndexedAccessType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSInferType=function(e,t){return!!e&&"TSInferType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSInstantiationExpression=function(e,t){return!!e&&"TSInstantiationExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSInterfaceBody=function(e,t){return!!e&&"TSInterfaceBody"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSInterfaceDeclaration=function(e,t){return!!e&&"TSInterfaceDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSIntersectionType=function(e,t){return!!e&&"TSIntersectionType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSIntrinsicKeyword=function(e,t){return!!e&&"TSIntrinsicKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSLiteralType=function(e,t){return!!e&&"TSLiteralType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSMappedType=function(e,t){return!!e&&"TSMappedType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSMethodSignature=function(e,t){return!!e&&"TSMethodSignature"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSModuleBlock=function(e,t){return!!e&&"TSModuleBlock"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSModuleDeclaration=function(e,t){return!!e&&"TSModuleDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSNamedTupleMember=function(e,t){return!!e&&"TSNamedTupleMember"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSNamespaceExportDeclaration=function(e,t){return!!e&&"TSNamespaceExportDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSNeverKeyword=function(e,t){return!!e&&"TSNeverKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSNonNullExpression=function(e,t){return!!e&&"TSNonNullExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSNullKeyword=function(e,t){return!!e&&"TSNullKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSNumberKeyword=function(e,t){return!!e&&"TSNumberKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSObjectKeyword=function(e,t){return!!e&&"TSObjectKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSOptionalType=function(e,t){return!!e&&"TSOptionalType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSParameterProperty=function(e,t){return!!e&&"TSParameterProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSParenthesizedType=function(e,t){return!!e&&"TSParenthesizedType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSPropertySignature=function(e,t){return!!e&&"TSPropertySignature"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSQualifiedName=function(e,t){return!!e&&"TSQualifiedName"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSRestType=function(e,t){return!!e&&"TSRestType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSSatisfiesExpression=function(e,t){return!!e&&"TSSatisfiesExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSStringKeyword=function(e,t){return!!e&&"TSStringKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSSymbolKeyword=function(e,t){return!!e&&"TSSymbolKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTemplateLiteralType=function(e,t){return!!e&&"TSTemplateLiteralType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSThisType=function(e,t){return!!e&&"TSThisType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTupleType=function(e,t){return!!e&&"TSTupleType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSType=function(e,t){if(!e)return!1;switch(e.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 null==t||(0,r.default)(e,t)},t.isTSTypeAliasDeclaration=function(e,t){return!!e&&"TSTypeAliasDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeAnnotation=function(e,t){return!!e&&"TSTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeAssertion=function(e,t){return!!e&&"TSTypeAssertion"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeElement=function(e,t){if(!e)return!1;switch(e.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isTSTypeLiteral=function(e,t){return!!e&&"TSTypeLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeOperator=function(e,t){return!!e&&"TSTypeOperator"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeParameter=function(e,t){return!!e&&"TSTypeParameter"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeParameterDeclaration=function(e,t){return!!e&&"TSTypeParameterDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeParameterInstantiation=function(e,t){return!!e&&"TSTypeParameterInstantiation"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypePredicate=function(e,t){return!!e&&"TSTypePredicate"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeQuery=function(e,t){return!!e&&"TSTypeQuery"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeReference=function(e,t){return!!e&&"TSTypeReference"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSUndefinedKeyword=function(e,t){return!!e&&"TSUndefinedKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSUnionType=function(e,t){return!!e&&"TSUnionType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSUnknownKeyword=function(e,t){return!!e&&"TSUnknownKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSVoidKeyword=function(e,t){return!!e&&"TSVoidKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTaggedTemplateExpression=function(e,t){return!!e&&"TaggedTemplateExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isTemplateElement=function(e,t){return!!e&&"TemplateElement"===e.type&&(null==t||(0,r.default)(e,t))},t.isTemplateLiteral=function(e,t){return!!e&&"TemplateLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isTerminatorless=function(e,t){if(!e)return!1;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isThisExpression=function(e,t){return!!e&&"ThisExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isThisTypeAnnotation=function(e,t){return!!e&&"ThisTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isThrowStatement=function(e,t){return!!e&&"ThrowStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isTopicReference=function(e,t){return!!e&&"TopicReference"===e.type&&(null==t||(0,r.default)(e,t))},t.isTryStatement=function(e,t){return!!e&&"TryStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isTupleExpression=function(e,t){return!!e&&"TupleExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isTupleTypeAnnotation=function(e,t){return!!e&&"TupleTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isTypeAlias=function(e,t){return!!e&&"TypeAlias"===e.type&&(null==t||(0,r.default)(e,t))},t.isTypeAnnotation=function(e,t){return!!e&&"TypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isTypeCastExpression=function(e,t){return!!e&&"TypeCastExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isTypeParameter=function(e,t){return!!e&&"TypeParameter"===e.type&&(null==t||(0,r.default)(e,t))},t.isTypeParameterDeclaration=function(e,t){return!!e&&"TypeParameterDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTypeParameterInstantiation=function(e,t){return!!e&&"TypeParameterInstantiation"===e.type&&(null==t||(0,r.default)(e,t))},t.isTypeScript=function(e,t){if(!e)return!1;switch(e.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 null==t||(0,r.default)(e,t)},t.isTypeofTypeAnnotation=function(e,t){return!!e&&"TypeofTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isUnaryExpression=function(e,t){return!!e&&"UnaryExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isUnaryLike=function(e,t){if(!e)return!1;switch(e.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isUnionTypeAnnotation=function(e,t){return!!e&&"UnionTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isUpdateExpression=function(e,t){return!!e&&"UpdateExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isUserWhitespacable=function(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isV8IntrinsicIdentifier=function(e,t){return!!e&&"V8IntrinsicIdentifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isVariableDeclaration=function(e,t){return!!e&&"VariableDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isVariableDeclarator=function(e,t){return!!e&&"VariableDeclarator"===e.type&&(null==t||(0,r.default)(e,t))},t.isVariance=function(e,t){return!!e&&"Variance"===e.type&&(null==t||(0,r.default)(e,t))},t.isVoidPattern=function(e,t){return!!e&&"VoidPattern"===e.type&&(null==t||(0,r.default)(e,t))},t.isVoidTypeAnnotation=function(e,t){return!!e&&"VoidTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isWhile=function(e,t){if(!e)return!1;switch(e.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isWhileStatement=function(e,t){return!!e&&"WhileStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isWithStatement=function(e,t){return!!e&&"WithStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isYieldExpression=function(e,t){return!!e&&"YieldExpression"===e.type&&(null==t||(0,r.default)(e,t))};var r=n(86293),i=n(50231);function a(e,t){if(!e)return!1;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return null==t||(0,r.default)(e,t)}},80947(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return!!t&&((0,i.default)(t.type,e)?void 0===n||(0,r.default)(t,n):!n&&"Placeholder"===t.type&&e in o.FLIPPED_ALIAS_KEYS&&(0,a.default)(t.expectedNode,e))};var r=n(86293),i=n(42379),a=n(33346),o=n(49390)},57166(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(n&&"Identifier"===e.type&&"ObjectProperty"===t.type&&"ObjectExpression"===n.type)return!1;let i=r.default.keys[t.type];if(i)for(let n=0;n<i.length;n++){let r=t[i[n]];if(Array.isArray(r)){if(r.includes(e))return!0}else if(r===e)return!0}return!1};var r=n(46676)},53358(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.isFunctionDeclaration)(e)||(0,r.isClassDeclaration)(e)||(0,i.default)(e)};var r=n(60133),i=n(20266)},34375(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!((0,r.default)(e.type,"Immutable")||(0,i.isIdentifier)(e)&&"undefined"===e.name)||!1};var r=n(42379),i=n(60133)},20266(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.isVariableDeclaration)(e)&&("var"!==e.kind||e[i])};var r=n(60133),i=Symbol.for("var used to be block scoped")},24919(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!(e&&r.VISITOR_KEYS[e.type])};var r=n(49390)},44466(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){if("object"!=typeof t||"object"!=typeof n||null==t||null==n)return t===n;if(t.type!==n.type)return!1;let i=Object.keys(r.NODE_FIELDS[t.type]||t.type),a=r.VISITOR_KEYS[t.type];for(let r of i){let i=t[r],o=n[r];if(typeof i!=typeof o)return!1;if(null!=i||null!=o){if(null==i||null==o)return!1;if(Array.isArray(i)){if(!Array.isArray(o)||i.length!==o.length)return!1;for(let t=0;t<i.length;t++)if(!e(i[t],o[t]))return!1;continue}if("object"==typeof i&&!(null!=a&&a.includes(r))){for(let e of Object.keys(i))if(i[e]!==o[e])return!1;continue}if(!e(i,o))return!1}}return!0};var r=n(49390)},33346(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;let n=r.PLACEHOLDERS_ALIAS[e];return!!(null!=n&&n.includes(t))};var r=n(49390)},93380(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":if(t.property===e)return!!t.computed;return t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":case"LabeledStatement":case"CatchClause":case"RestElement":case"BreakStatement":case"ContinueStatement":case"FunctionDeclaration":case"FunctionExpression":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":case"JSXAttribute":case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.key===e)return!!t.computed;return!1;case"ObjectProperty":if(t.key===e)return!!t.computed;return!n||"ObjectPattern"!==n.type;case"ClassProperty":case"ClassAccessorProperty":case"TSPropertySignature":if(t.key===e)return!!t.computed;break;case"ClassPrivateProperty":case"ObjectTypeProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"ExportSpecifier":if(null!=n&&n.source)return!1;return t.local===e;case"TSEnumMember":return t.id!==e}return!0}},88143(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!((0,r.isBlockStatement)(e)&&((0,r.isFunction)(t)||(0,r.isCatchClause)(t)))&&(!!((0,r.isPattern)(e)&&((0,r.isFunction)(t)||(0,r.isCatchClause)(t)))||(0,r.isScopable)(e))};var r=n(60133)},48778(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.isImportDefaultSpecifier)(e)||(0,r.isIdentifier)(e.imported||e.exported,{name:"default"})};var r=n(60133)},42379(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;if(null==e||r.ALIAS_KEYS[t])return!1;let n=r.FLIPPED_ALIAS_KEYS[t];return!!(null!=n&&n.includes(e))};var r=n(49390)},55467(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e)&&!i.has(e)};var r=n(78126);let i=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"])},78126(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=!0){return!("string"!=typeof e||t&&((0,r.isKeyword)(e)||(0,r.isStrictReservedWord)(e,!0)))&&(0,r.isIdentifierName)(e)};var r=n(14007)},21342(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.isVariableDeclaration)(e,{kind:"var"})&&!e[i]};var r=n(60133),i=Symbol.for("var used to be block scoped")},31782(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){let a;if(!i(e))return!1;let o=Array.isArray(t)?t:t.split("."),s=[];for(a=e;i(a);a=null!=(l=a.object)?l:a.meta){var l;s.push(a.property)}if(s.push(a),s.length<o.length||!n&&s.length>o.length)return!1;for(let e=0,t=s.length-1;e<o.length;e++,t--){let n,i=s[t];if((0,r.isIdentifier)(i))n=i.name;else if((0,r.isStringLiteral)(i))n=i.value;else if((0,r.isThisExpression)(i))n="this";else if((0,r.isSuper)(i))n="super";else{if(!(0,r.isPrivateName)(i))return!1;n="#"+i.id.name}if(o[e]!==n)return!1}return!0};var r=n(60133);function i(e){return(0,r.isMemberExpression)(e)||(0,r.isMetaProperty)(e)}},76977(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!e&&/^[a-z]/.test(e)}},80737(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=(0,n(90550).default)("React.Component")},88765(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(!e)return;let o=r.NODE_FIELDS[e.type];if(!o)return;let s=o[t];i(e,t,n,s),a(e,t,n)},t.validateChild=a,t.validateField=i,t.validateInternal=function(e,t,n,i,a){if(null!=e&&e.validate&&(!e.optional||null!=i)&&(e.validate(t,n,i),a)){var o;let e=i.type;if(null!=e)null==(o=r.NODE_PARENT_VALIDATIONS[e])||o.call(r.NODE_PARENT_VALIDATIONS,t,n,i)}};var r=n(49390);function i(e,t,n,r){!(null!=r&&r.validate)||r.optional&&null==n||r.validate(e,t,n)}function a(e,t,n){var i;let a=null==n?void 0:n.type;null!=a&&(null==(i=r.NODE_PARENT_VALIDATIONS[a])||i.call(r.NODE_PARENT_VALIDATIONS,e,t,n))}}};
|