MCPcopy
hub / github.com/vercel/next.js / reference

Method reference

packages/next/src/compiled/babel/bundle.js:227–227  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

225 return ${F(n)};
226 })(${N(this.node)})
227 `;return this.replaceWith(p)[0].get("arguments.0")}function getFunctionArity(e){const t=e.params.findIndex((e=>M(e)||L(e)));return t===-1?e.params.length:t}},9119:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.evaluate=evaluate;t.evaluateTruthy=evaluateTruthy;const r=["Number","String","Math"];const n=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null];const s=["random"];function isValidObjectCallee(e){return r.includes(e)}function isValidIdentifierCallee(e){return n.includes(e)}function isInvalidMethod(e){return s.includes(e)}function evaluateTruthy(){const e=this.evaluate();if(e.confident)return!!e.value}function deopt(e,t){if(!t.confident)return;t.deoptPath=e;t.confident=false}const i=new Map([["undefined",undefined],["Infinity",Infinity],["NaN",NaN]]);function evaluateCached(e,t){const{node:r}=e;const{seen:n}=t;if(n.has(r)){const s=n.get(r);if(s.resolved){return s.value}else{deopt(e,t);return}}else{const s={resolved:false};n.set(r,s);const i=_evaluate(e,t);if(t.confident){s.resolved=true;s.value=i}return i}}function _evaluate(e,t){if(!t.confident)return;if(e.isSequenceExpression()){const r=e.get("expressions");return evaluateCached(r[r.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral()){return e.node.value}if(e.isNullLiteral()){return null}if(e.isTemplateLiteral()){return evaluateQuasis(e,e.node.quasis,t)}if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const r=e.get("tag.object");const{node:{name:n}}=r;const s=e.get("tag.property");if(r.isIdentifier()&&n==="String"&&!e.scope.getBinding(n)&&s.isIdentifier()&&s.node.name==="raw"){return evaluateQuasis(e,e.node.quasi.quasis,t,true)}}if(e.isConditionalExpression()){const r=evaluateCached(e.get("test"),t);if(!t.confident)return;if(r){return evaluateCached(e.get("consequent"),t)}else{return evaluateCached(e.get("alternate"),t)}}if(e.isExpressionWrapper()){return evaluateCached(e.get("expression"),t)}if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const r=e.get("property");const n=e.get("object");if(n.isLiteral()){const s=n.node.value;const i=typeof s;let a=null;if(e.node.computed){a=evaluateCached(r,t);if(!t.confident)return}else if(r.isIdentifier()){a=r.node.name}if((i==="number"||i==="string")&&a!=null&&(typeof a==="number"||typeof a==="string")){return s[a]}}}if(e.isReferencedIdentifier()){const n=e.scope.getBinding(e.node.name);if(n){if(n.constantViolations.length>0||e.node.start<n.path.node.end){deopt(n.path,t);return}const s=n.path.scope;if(n.kind==="var"&&s!==n.scope){let i=!s.path.parentPath.isBlockStatement();for(let a=s.parent;a;a=a.parent){var r;if(a===e.scope){if(i){deopt(n.path,t);return}break}if((r=a.path.parentPath)!=null&&r.isBlockStatement()){i=true}}}if(n.hasValue){return n.value}}const s=e.node.name;if(i.has(s)){if(!n){return i.get(s)}deopt(n.path,t);return}const a=e.resolve();if(a===e){deopt(e,t);return}else{return evaluateCached(a,t)}}if(e.isUnaryExpression({prefix:true})){if(e.node.operator==="void"){return undefined}const r=e.get("argument");if(e.node.operator==="typeof"&&(r.isFunction()||r.isClass())){return"function"}const n=evaluateCached(r,t);if(!t.confident)return;switch(e.node.operator){case"!":return!n;case"+":return+n;case"-":return-n;case"~":return~n;case"typeof":return typeof n}}if(e.isArrayExpression()){const r=[];const n=e.get("elements");for(const e of n){const n=e.evaluate();if(n.confident){r.push(n.value)}else{deopt(n.deopt,t);return}}return r}if(e.isObjectExpression()){const r={};const n=e.get("properties");for(const e of n){if(e.isObjectMethod()||e.isSpreadElement()){deopt(e,t);return}const n=e.get("key");let s;if(e.node.computed){s=n.evaluate();if(!s.confident){deopt(s.deopt,t);return}s=s.value}else if(n.isIdentifier()){s=n.node.name}else{s=n.node.value}const i=e.get("value");let a=i.evaluate();if(!a.confident){deopt(a.deopt,t);return}a=a.value;r[s]=a}return r}if(e.isLogicalExpression()){const r=t.confident;const n=evaluateCached(e.get("left"),t);const s=t.confident;t.confident=r;const i=evaluateCached(e.get("right"),t);const a=t.confident;switch(e.node.operator){case"||":t.confident=s&&(!!n||a);if(!t.confident)return;return n||i;case"&&":t.confident=s&&(!n||a);if(!t.confident)return;return n&&i;case"??":t.confident=s&&(n!=null||a);if(!t.confident)return;return n!=null?n:i}}if(e.isBinaryExpression()){const r=evaluateCached(e.get("left"),t);if(!t.confident)return;const n=evaluateCached(e.get("right"),t);if(!t.confident)return;switch(e.node.operator){case"-":return r-n;case"+":return r+n;case"/":return r/n;case"*":return r*n;case"%":return r%n;case"**":return Math.pow(r,n);case"<":return r<n;case">":return r>n;case"<=":return r<=n;case">=":return r>=n;case"==":return r==n;case"!=":return r!=n;case"===":return r===n;case"!==":return r!==n;case"|":return r|n;case"&":return r&n;case"^":return r^n;case"<<":return r<<n;case">>":return r>>n;case">>>":return r>>>n}}if(e.isCallExpression()){const r=e.get("callee");let n;let s;if(r.isIdentifier()&&!e.scope.getBinding(r.node.name)&&(isValidObjectCallee(r.node.name)||isValidIdentifierCallee(r.node.name))){s=global[r.node.name]}if(r.isMemberExpression()){const e=r.get("object");const t=r.get("property");if(e.isIdentifier()&&t.isIdentifier()&&isValidObjectCallee(e.node.name)&&!isInvalidMethod(t.node.name)){n=global[e.node.name];const r=t.node.name;if(hasOwnProperty.call(n,r)){s=n[r]}}if(e.isLiteral()&&t.isIdentifier()){const r=typeof e.node.value;if(r==="string"||r==="number"){n=e.node.value;s=n[t.node.name]}}}if(s){const r=e.get("arguments").map((e=>evaluateCached(e,t)));if(!t.confident)return;return s.apply(n,r)}}deopt(e,t)}function evaluateQuasis(e,t,r,n=false){let s="";let i=0;const a=e.isTemplateLiteral()?e.get("expressions"):e.get("quasi.expressions");for(const e of t){if(!r.confident)break;s+=n?e.value.raw:e.value.cooked;const t=a[i++];if(t)s+=String(evaluateCached(t,r))}if(!r.confident)return;return s}function evaluate(){const e={confident:true,deoptPath:null,seen:new Map};let t=evaluateCached(this,e);if(!e.confident)t=undefined;return{confident:e.confident,deopt:e.deoptPath,value:t}}},4126:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._getKey=_getKey;t._getPattern=_getPattern;t.get=get;t.getAllNextSiblings=getAllNextSiblings;t.getAllPrevSiblings=getAllPrevSiblings;t.getAssignmentIdentifiers=getAssignmentIdentifiers;t.getBindingIdentifierPaths=getBindingIdentifierPaths;t.getBindingIdentifiers=getBindingIdentifiers;t.getCompletionRecords=getCompletionRecords;t.getNextSibling=getNextSibling;t.getOpposite=getOpposite;t.getOuterBindingIdentifierPaths=getOuterBindingIdentifierPaths;t.getOuterBindingIdentifiers=getOuterBindingIdentifiers;t.getPrevSibling=getPrevSibling;t.getSibling=getSibling;var n=r(9111);var s=r(3061);const{getAssignmentIdentifiers:i,getBindingIdentifiers:a,getOuterBindingIdentifiers:o,numericLiteral:l,unaryExpression:c}=s;const p=0;const u=1;function NormalCompletion(e){return{type:p,path:e}}function BreakCompletion(e){return{type:u,path:e}}function getOpposite(){if(this.key==="left"){return this.getSibling("right")}else if(this.key==="right"){return this.getSibling("left")}return null}function addCompletionRecords(e,t,r){if(e){t.push(..._getCompletionRecords(e,r))}return t}function completionRecordForSwitch(e,t,r){let n=[];for(let s=0;s<e.length;s++){const i=e[s];const a=_getCompletionRecords(i,r);const o=[];const l=[];for(const e of a){if(e.type===p){o.push(e)}if(e.type===u){l.push(e)}}if(o.length){n=o}t.push(...l)}t.push(...n);return t}function normalCompletionToBreak(e){e.forEach((e=>{e.type=u}))}function replaceBreakStatementInBreakCompletion(e,t){e.forEach((e=>{if(e.path.isBreakStatement({label:null})){if(t){e.path.replaceWith(c("void",l(0)))}else{e.path.remove()}}}))}function getStatementListCompletion(e,t){const r=[];if(t.canHaveBreak){let n=[];for(let s=0;s<e.length;s++){const i=e[s];const a=Object.assign({},t,{inCaseClause:false});if(i.isBlockStatement()&&(t.inCaseClause||t.shouldPopulateBreak)){a.shouldPopulateBreak=true}else{a.shouldPopulateBreak=false}const o=_getCompletionRecords(i,a);if(o.length>0&&o.every((e=>e.type===u))){if(n.length>0&&o.every((e=>e.path.isBreakStatement({label:null})))){normalCompletionToBreak(n);r.push(...n);if(n.some((e=>e.path.isDeclaration()))){r.push(...o);replaceBreakStatementInBreakCompletion(o,true)}replaceBreakStatementInBreakCompletion(o,false)}else{r.push(...o);if(!t.shouldPopulateBreak){replaceBreakStatementInBreakCompletion(o,true)}}break}if(s===e.length-1){r.push(...o)}else{n=[];for(let e=0;e<o.length;e++){const t=o[e];if(t.type===u){r.push(t)}if(t.type===p){n.push(t)}}}}}else if(e.length){for(let n=e.length-1;n>=0;n--){const s=_getCompletionRecords(e[n],t);if(s.length>1||s.length===1&&!s[0].path.isVariableDeclaration()){r.push(...s);break}}}return r}function _getCompletionRecords(e,t){let r=[];if(e.isIfStatement()){r=addCompletionRecords(e.get("consequent"),r,t);r=addCompletionRecords(e.get("alternate"),r,t)}else if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement()){return addCompletionRecords(e.get("body"),r,t)}else if(e.isProgram()||e.isBlockStatement()){return getStatementListCompletion(e.get("body"),t)}else if(e.isFunction()){return _getCompletionRecords(e.get("body"),t)}else if(e.isTryStatement()){r=addCompletionRecords(e.get("block"),r,t);r=addCompletionRecords(e.get("handler"),r,t)}else if(e.isCatchClause()){return addCompletionRecords(e.get("body"),r,t)}else if(e.isSwitchStatement()){return completionRecordForSwitch(e.get("cases"),r,t)}else if(e.isSwitchCase()){return getStatementListCompletion(e.get("consequent"),{canHaveBreak:true,shouldPopulateBreak:false,inCaseClause:true})}else if(e.isBreakStatement()){r.push(BreakCompletion(e))}else{r.push(NormalCompletion(e))}return r}function getCompletionRecords(){const e=_getCompletionRecords(this,{canHaveBreak:false,shouldPopulateBreak:false,inCaseClause:false});return e.map((e=>e.path))}function getSibling(e){return n.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function getPrevSibling(){return this.getSibling(this.key-1)}function getNextSibling(){return this.getSibling(this.key+1)}function getAllNextSiblings(){let e=this.key;let t=this.getSibling(++e);const r=[];while(t.node){r.push(t);t=this.getSibling(++e)}return r}function getAllPrevSiblings(){let e=this.key;let t=this.getSibling(--e);const r=[];while(t.node){r.push(t);t=this.getSibling(--e)}return r}function get(e,t=true){if(t===true)t=this.context;const r=e.split(".");if(r.length===1){return _getKey.call(this,e,t)}else{return _getPattern.call(this,r,t)}}function _getKey(e,t){const r=this.node;const s=r[e];if(Array.isArray(s)){return s.map(((i,a)=>n.default.get({listKey:e,parentPath:this,parent:r,container:s,key:a}).setContext(t)))}else{return n.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}}function _getPattern(e,t){let r=this;for(const n of e){if(n==="."){r=r.parentPath}else{if(Array.isArray(r)){r=r[n]}else{r=r.get(n,t)}}}return r}function getAssignmentIdentifiers(){return i(this.node)}function getBindingIdentifiers(e){return a(this.node,e)}function getOuterBindingIdentifiers(e){return o(this.node,e)}function getBindingIdentifierPaths(e=false,t=false){const r=this;const n=[r];const s=Object.create(null);while(n.length){const r=n.shift();if(!r)continue;if(!r.node)continue;const i=a.keys[r.node.type];if(r.isIdentifier()){if(e){const e=s[r.node.name]=s[r.node.name]||[];e.push(r)}else{s[r.node.name]=r}continue}if(r.isExportDeclaration()){const e=r.get("declaration");if(e.isDeclaration()){n.push(e)}continue}if(t){if(r.isFunctionDeclaration()){n.push(r.get("id"));continue}if(r.isFunctionExpression()){continue}}if(i){for(let e=0;e<i.length;e++){const t=i[e];const s=r.get(t);if(Array.isArray(s)){n.push(...s)}else if(s.node){n.push(s)}}}}return s}function getOuterBindingIdentifierPaths(e=false){return this.getBindingIdentifierPaths(e,true)}},9111:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=t.SHOULD_STOP=t.SHOULD_SKIP=t.REMOVED=void 0;var n=r(2490);var s=r(6937);var i=r(8026);var a=r(9877);var o=r(3061);var l=o;var c=r(8099);var p=r(1605);var u=r(8073);var d=r(1086);var f=r(3419);var h=r(9119);var m=r(2919);var y=r(7171);var g=r(4144);var b=g;var T=r(6035);var S=r(7116);var x=r(4126);var E=r(3162);var P=r(3053);const{validate:v}=o;const A=s("babel");const w=t.REMOVED=1<<0;const I=t.SHOULD_STOP=1<<1;const C=t.SHOULD_SKIP=1<<2;const O=t["default"]=class NodePath{constructor(e,t){this.contexts=[];this.state=null;this.opts=null;this._traverseFlags=0;this.skipKeys=null;this.parentPath=null;this.container=null;this.listKey=null;this.key=null;this.node=null;this.type=null;this.parent=t;this.hub=e;this.data=null;this.context=null;this.scope=null}get removed(){return(this._traverseFlags&1)>0}set removed(e){if(e)this._traverseFlags|=1;else this._traverseFlags&=-2}get shouldStop(){return(this._traverseFlags&2)>0}set shouldStop(e){if(e)this._traverseFlags|=2;else this._traverseFlags&=-3}get shouldSkip(){return(this._traverseFlags&4)>0}set shouldSkip(e){if(e)this._traverseFlags|=4;else this._traverseFlags&=-5}static get({hub:e,parentPath:t,parent:r,container:n,listKey:s,key:i}){if(!e&&t){e=t.hub}if(!r){throw new Error("To get a node path the parent needs to exist")}const a=n[i];const o=c.getOrCreateCachedPaths(e,r);let l=o.get(a);if(!l){l=new NodePath(e,r);if(a)o.set(a,l)}g.setup.call(l,t,n,s,i);return l}getScope(e){return this.isScope()?new a.default(this):e}setData(e,t){if(this.data==null){this.data=Object.create(null)}return this.data[e]=t}getData(e,t){if(this.data==null){this.data=Object.create(null)}let r=this.data[e];if(r===undefined&&t!==undefined)r=this.data[e]=t;return r}hasNode(){return this.node!=null}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,i.default)(this.node,e,this.scope,t,this)}set(e,t){v(this.node,e,t);this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let r=t.key;if(t.inList)r=`${t.listKey}[${r}]`;e.unshift(r)}while(t=t.parentPath);return e.join(".")}debug(e){if(!A.enabled)return;A(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,p.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){if(!e){this.listKey=null}}get parentKey(){return this.listKey||this.key}};const N={findParent:u.findParent,find:u.find,getFunctionParent:u.getFunctionParent,getStatementParent:u.getStatementParent,getEarliestCommonAncestorFrom:u.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:u.getDeepestCommonAncestorFrom,getAncestry:u.getAncestry,isAncestor:u.isAncestor,isDescendant:u.isDescendant,inType:u.inType,getTypeAnnotation:d.getTypeAnnotation,isBaseType:d.isBaseType,couldBeBaseType:d.couldBeBaseType,baseTypeStrictlyMatches:d.baseTypeStrictlyMatches,isGenericType:d.isGenericType,replaceWithMultiple:f.replaceWithMultiple,replaceWithSourceString:f.replaceWithSourceString,replaceWith:f.replaceWith,replaceExpressionWithStatements:f.replaceExpressionWithStatements,replaceInline:f.replaceInline,evaluateTruthy:h.evaluateTruthy,evaluate:h.evaluate,toComputedKey:m.toComputedKey,ensureBlock:m.ensureBlock,unwrapFunctionEnvironment:m.unwrapFunctionEnvironment,arrowFunctionToExpression:m.arrowFunctionToExpression,splitExportDeclaration:m.splitExportDeclaration,ensureFunctionName:m.ensureFunctionName,matchesPattern:y.matchesPattern,isStatic:y.isStatic,isNodeType:y.isNodeType,canHaveVariableDeclarationOrExpression:y.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:y.canSwapBetweenExpressionAndStatement,isCompletionRecord:y.isCompletionRecord,isStatementOrBlock:y.isStatementOrBlock,referencesImport:y.referencesImport,getSource:y.getSource,willIMaybeExecuteBefore:y.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:y._guessExecutionStatusRelativeTo,resolve:y.resolve,isConstantExpression:y.isConstantExpression,isInStrictMode:y.isInStrictMode,isDenylisted:b.isDenylisted,visit:b.visit,skip:b.skip,skipKey:b.skipKey,stop:b.stop,setContext:b.setContext,requeue:b.requeue,requeueComputedKeyAndDecorators:b.requeueComputedKeyAndDecorators,remove:T.remove,insertBefore:S.insertBefore,insertAfter:S.insertAfter,unshiftContainer:S.unshiftContainer,pushContainer:S.pushContainer,getOpposite:x.getOpposite,getCompletionRecords:x.getCompletionRecords,getSibling:x.getSibling,getPrevSibling:x.getPrevSibling,getNextSibling:x.getNextSibling,getAllNextSiblings:x.getAllNextSiblings,getAllPrevSiblings:x.getAllPrevSiblings,get:x.get,getAssignmentIdentifiers:x.getAssignmentIdentifiers,getBindingIdentifiers:x.getBindingIdentifiers,getOuterBindingIdentifiers:x.getOuterBindingIdentifiers,getBindingIdentifierPaths:x.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:x.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:E.shareCommentsWithSiblings,addComment:E.addComment,addComments:E.addComments};Object.assign(O.prototype,N);{O.prototype.arrowFunctionToShadowed=m[String("arrowFunctionToShadowed")];Object.assign(O.prototype,{has:y[String("has")],is:y[String("is")],isnt:y[String("isnt")],equals:y[String("equals")],hoist:S[String("hoist")],updateSiblingKeys:S.updateSiblingKeys,call:b.call,isBlacklisted:b[String("isBlacklisted")],setScope:b.setScope,resync:b.resync,popContext:b.popContext,pushContext:b.pushContext,setup:b.setup,setKey:b.setKey})}{O.prototype._guessExecutionStatusRelativeToDifferentFunctions=y._guessExecutionStatusRelativeTo;O.prototype._guessExecutionStatusRelativeToDifferentFunctions=y._guessExecutionStatusRelativeTo;Object.assign(O.prototype,{_getTypeAnnotation:d._getTypeAnnotation,_replaceWith:f._replaceWith,_resolve:y._resolve,_call:b._call,_resyncParent:b._resyncParent,_resyncKey:b._resyncKey,_resyncList:b._resyncList,_resyncRemoved:b._resyncRemoved,_getQueueContexts:b._getQueueContexts,_removeFromScope:T._removeFromScope,_callRemovalHooks:T._callRemovalHooks,_remove:T._remove,_markRemoved:T._markRemoved,_assertUnremoved:T._assertUnremoved,_containerInsert:S._containerInsert,_containerInsertBefore:S._containerInsertBefore,_containerInsertAfter:S._containerInsertAfter,_verifyNodeList:S._verifyNodeList,_getKey:x._getKey,_getPattern:x._getPattern})}for(const e of l.TYPES){const t=`is${e}`;const r=l[t];O.prototype[t]=function(e){return r(this.node,e)};O.prototype[`assert${e}`]=function(t){if(!r(this.node,t)){throw new TypeError(`Expected node path of type ${e}`)}}}Object.assign(O.prototype,P);for(const e of Object.keys(n)){if(e[0]==="_")continue;if(!l.TYPES.includes(e))l.TYPES.push(e)}},1086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._getTypeAnnotation=_getTypeAnnotation;t.baseTypeStrictlyMatches=baseTypeStrictlyMatches;t.couldBeBaseType=couldBeBaseType;t.getTypeAnnotation=getTypeAnnotation;t.isBaseType=isBaseType;t.isGenericType=isGenericType;var n=r(6157);var s=r(3061);const{anyTypeAnnotation:i,isAnyTypeAnnotation:a,isArrayTypeAnnotation:o,isBooleanTypeAnnotation:l,isEmptyTypeAnnotation:c,isFlowBaseAnnotation:p,isGenericTypeAnnotation:u,isIdentifier:d,isMixedTypeAnnotation:f,isNumberTypeAnnotation:h,isStringTypeAnnotation:m,isTSArrayType:y,isTSTypeAnnotation:g,isTSTypeReference:b,isTupleTypeAnnotation:T,isTypeAnnotation:S,isUnionTypeAnnotation:x,isVoidTypeAnnotation:E,stringTypeAnnotation:P,voidTypeAnnotation:v}=s;function getTypeAnnotation(){let e=this.getData("typeAnnotation");if(e!=null){return e}e=_getTypeAnnotation.call(this)||i();if(S(e)||g(e)){e=e.typeAnnotation}this.setData("typeAnnotation",e);return e}const A=new WeakSet;function _getTypeAnnotation(){const e=this.node;if(!e){if(this.key==="init"&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath;const t=e.parentPath;if(e.key==="left"&&t.isForInStatement()){return P()}if(e.key==="left"&&t.isForOfStatement()){return i()}return v()}else{return}}if(e.typeAnnotation){return e.typeAnnotation}if(A.has(e)){return}A.add(e);try{var t;let r=n[e.type];if(r){return r.call(this,e)}r=n[this.parentPath.type];if((t=r)!=null&&t.validParent){return this.parentPath.getTypeAnnotation()}}finally{A.delete(e)}}function isBaseType(e,t){return _isBaseType(e,this.getTypeAnnotation(),t)}function _isBaseType(e,t,r){if(e==="string"){return m(t)}else if(e==="number"){return h(t)}else if(e==="boolean"){return l(t)}else if(e==="any"){return a(t)}else if(e==="mixed"){return f(t)}else if(e==="empty"){return c(t)}else if(e==="void"){return E(t)}else{if(r){return false}else{throw new Error(`Unknown base type ${e}`)}}}function couldBeBaseType(e){const t=this.getTypeAnnotation();if(a(t))return true;if(x(t)){for(const r of t.types){if(a(r)||_isBaseType(e,r,true)){return true}}return false}else{return _isBaseType(e,t,true)}}function baseTypeStrictlyMatches(e){const t=this.getTypeAnnotation();const r=e.getTypeAnnotation();if(!a(t)&&p(t)){return r.type===t.type}return false}function isGenericType(e){const t=this.getTypeAnnotation();if(e==="Array"){if(y(t)||o(t)||T(t)){return true}}return u(t)&&d(t.id,{name:e})||b(t)&&d(t.typeName,{name:e})}},9919:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var n=r(3061);var s=r(550);const{BOOLEAN_NUMBER_BINARY_OPERATORS:i,createTypeAnnotationBasedOnTypeof:a,numberTypeAnnotation:o,voidTypeAnnotation:l}=n;function _default(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);if(t){if(t.identifier.typeAnnotation){return t.identifier.typeAnnotation}else{return getTypeAnnotationBindingConstantViolations(t,this,e.name)}}if(e.name==="undefined"){return l()}else if(e.name==="NaN"||e.name==="Infinity"){return o()}else if(e.name==="arguments"){}}function getTypeAnnotationBindingConstantViolations(e,t,r){const n=[];const i=[];let a=getConstantViolationsBefore(e,t,i);const o=getConditionalAnnotation(e,t,r);if(o){const t=getConstantViolationsBefore(e,o.ifStatement);a=a.filter((e=>!t.includes(e)));n.push(o.typeAnnotation)}if(a.length){a.push(...i);for(const e of a){n.push(e.getTypeAnnotation())}}if(!n.length){return}return(0,s.createUnionType)(n)}function getConstantViolationsBefore(e,t,r){const n=e.constantViolations.slice();n.unshift(e.path);return n.filter((e=>{e=e.resolve();const n=e._guessExecutionStatusRelativeTo(t);if(r&&n==="unknown")r.push(e);return n==="before"}))}function inferAnnotationFromBinaryExpression(e,t){const r=t.node.operator;const n=t.get("right").resolve();const s=t.get("left").resolve();let l;if(s.isIdentifier({name:e})){l=n}else if(n.isIdentifier({name:e})){l=s}if(l){if(r==="==="){return l.getTypeAnnotation()}if(i.includes(r)){return o()}return}if(r!=="==="&&r!=="==")return;let c;let p;if(s.isUnaryExpression({operator:"typeof"})){c=s;p=n}else if(n.isUnaryExpression({operator:"typeof"})){c=n;p=s}if(!c)return;if(!c.get("argument").isIdentifier({name:e}))return;p=p.resolve();if(!p.isLiteral())return;const u=p.node.value;if(typeof u!=="string")return;return a(u)}function getParentConditionalPath(e,t,r){let n;while(n=t.parentPath){if(n.isIfStatement()||n.isConditionalExpression()){if(t.key==="test"){return}return n}if(n.isFunction()){if(n.parentPath.scope.getBinding(r)!==e)return}t=n}}function getConditionalAnnotation(e,t,r){const n=getParentConditionalPath(e,t,r);if(!n)return;const i=n.get("test");const a=[i];const o=[];for(let e=0;e<a.length;e++){const t=a[e];if(t.isLogicalExpression()){if(t.node.operator==="&&"){a.push(t.get("left"));a.push(t.get("right"))}}else if(t.isBinaryExpression()){const e=inferAnnotationFromBinaryExpression(r,t);if(e)o.push(e)}}if(o.length){return{typeAnnotation:(0,s.createUnionType)(o),ifStatement:n}}return getConditionalAnnotation(e,n,r)}},6157:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArrayExpression=ArrayExpression;t.AssignmentExpression=AssignmentExpression;t.BinaryExpression=BinaryExpression;t.BooleanLiteral=BooleanLiteral;t.CallExpression=CallExpression;t.ConditionalExpression=ConditionalExpression;t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=Func;Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return s.default}});t.LogicalExpression=LogicalExpression;t.NewExpression=NewExpression;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.ObjectExpression=ObjectExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.RegExpLiteral=RegExpLiteral;t.RestElement=RestElement;t.SequenceExpression=SequenceExpression;t.StringLiteral=StringLiteral;t.TSAsExpression=TSAsExpression;t.TSNonNullExpression=TSNonNullExpression;t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateLiteral=TemplateLiteral;t.TypeCastExpression=TypeCastExpression;t.UnaryExpression=UnaryExpression;t.UpdateExpression=UpdateExpression;t.VariableDeclarator=VariableDeclarator;var n=r(3061);var s=r(9919);var i=r(550);const{BOOLEAN_BINARY_OPERATORS:a,BOOLEAN_UNARY_OPERATORS:o,NUMBER_BINARY_OPERATORS:l,NUMBER_UNARY_OPERATORS:c,STRING_UNARY_OPERATORS:p,anyTypeAnnotation:u,arrayTypeAnnotation:d,booleanTypeAnnotation:f,buildMatchMemberExpression:h,genericTypeAnnotation:m,identifier:y,nullLiteralTypeAnnotation:g,numberTypeAnnotation:b,stringTypeAnnotation:T,tupleTypeAnnotation:S,unionTypeAnnotation:x,voidTypeAnnotation:E,isIdentifier:P}=n;function VariableDeclarator(){if(!this.get("id").isIdentifier())return;return this.get("init").getTypeAnnotation()}function TypeCastExpression(e){return e.typeAnnotation}TypeCastExpression.validParent=true;function TSAsExpression(e){return e.typeAnnotation}TSAsExpression.validParent=true;function TSNonNullExpression(){return this.get("expression").getTypeAnnotation()}function NewExpression(e){if(e.callee.type==="Identifier"){return m(e.callee)}}function TemplateLiteral(){return T()}function UnaryExpression(e){const t=e.operator;if(t==="void"){return E()}else if(c.includes(t)){return b()}else if(p.includes(t)){return T()}else if(o.includes(t)){return f()}}function BinaryExpression(e){const t=e.operator;if(l.includes(t)){return b()}else if(a.includes(t)){return f()}else if(t==="+"){const e=this.get("right");const t=this.get("left");if(t.isBaseType("number")&&e.isBaseType("number")){return b()}else if(t.isBaseType("string")||e.isBaseType("string")){return T()}return x([T(),b()])}}function LogicalExpression(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,i.createUnionType)(e)}function ConditionalExpression(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,i.createUnionType)(e)}function SequenceExpression(){return this.get("expressions").pop().getTypeAnnotation()}function ParenthesizedExpression(){return this.get("expression").getTypeAnnotation()}function AssignmentExpression(){return this.get("right").getTypeAnnotation()}function UpdateExpression(e){const t=e.operator;if(t==="++"||t==="--"){return b()}}function StringLiteral(){return T()}function NumericLiteral(){return b()}function BooleanLiteral(){return f()}function NullLiteral(){return g()}function RegExpLiteral(){return m(y("RegExp"))}function ObjectExpression(){return m(y("Object"))}function ArrayExpression(){return m(y("Array"))}function RestElement(){return ArrayExpression()}RestElement.validParent=true;function Func(){return m(y("Function"))}const v=h("Array.from");const A=h("Object.keys");const w=h("Object.values");const I=h("Object.entries");function CallExpression(){const{callee:e}=this.node;if(A(e)){return d(T())}else if(v(e)||w(e)||P(e,{name:"Array"})){return d(u())}else if(I(e)){return d(S([T(),u()]))}return resolveCall(this.get("callee"))}function TaggedTemplateExpression(){return resolveCall(this.get("tag"))}function resolveCall(e){e=e.resolve();if(e.isFunction()){const{node:t}=e;if(t.async){if(t.generator){return m(y("AsyncIterator"))}else{return m(y("Promise"))}}else{if(t.generator){return m(y("Iterator"))}else if(e.node.returnType){return e.node.returnType}else{}}}}},550:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createUnionType=createUnionType;var n=r(3061);const{createFlowUnionType:s,createTSUnionType:i,createUnionTypeAnnotation:a,isFlowType:o,isTSType:l}=n;function createUnionType(e){{if(e.every((e=>o(e)))){if(s){return s(e)}return a(e)}else if(e.every((e=>l(e)))){if(i){return i(e)}}}}},7171:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._guessExecutionStatusRelativeTo=_guessExecutionStatusRelativeTo;t._resolve=_resolve;t.canHaveVariableDeclarationOrExpression=canHaveVariableDeclarationOrExpression;t.canSwapBetweenExpressionAndStatement=canSwapBetweenExpressionAndStatement;t.getSource=getSource;t.isCompletionRecord=isCompletionRecord;t.isConstantExpression=isConstantExpression;t.isInStrictMode=isInStrictMode;t.isNodeType=isNodeType;t.isStatementOrBlock=isStatementOrBlock;t.isStatic=isStatic;t.matchesPattern=matchesPattern;t.referencesImport=referencesImport;t.resolve=resolve;t.willIMaybeExecuteBefore=willIMaybeExecuteBefore;var n=r(3061);const{STATEMENT_OR_BLOCK_KEYS:s,VISITOR_KEYS:i,isBlockStatement:a,isExpression:o,isIdentifier:l,isLiteral:c,isStringLiteral:p,isType:u,matchesPattern:d}=n;function matchesPattern(e,t){return d(this.node,e,t)}{t.has=function has(e){var t;const r=(t=this.node)==null?void 0:t[e];if(r&&Array.isArray(r)){return!!r.length}else{return!!r}}}function isStatic(){return this.scope.isStatic(this.node)}{t.is=t.has;t.isnt=function isnt(e){return!this.has(e)};t.equals=function equals(e,t){return this.node[e]===t}}function isNodeType(e){return u(this.type,e)}function canHaveVariableDeclarationOrExpression(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function canSwapBetweenExpressionAndStatement(e){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression()){return false}if(this.isExpression()){return a(e)}else if(this.isBlockStatement()){return o(e)}return false}function isCompletionRecord(e){let t=this;let r=true;do{const{type:n,container:s}=t;if(!r&&(t.isFunction()||n==="StaticBlock")){return!!e}r=false;if(Array.isArray(s)&&t.key!==s.length-1){return false}}while((t=t.parentPath)&&!t.isProgram()&&!t.isDoExpression());return true}function isStatementOrBlock(){if(this.parentPath.isLabeledStatement()||a(this.container)){return false}else{return s.includes(this.key)}}function referencesImport(e,t){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===t||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?p(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return false}const r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return false;const n=r.path;const s=n.parentPath;if(!s.isImportDeclaration())return false;if(s.node.source.value===e){if(!t)return true}else{return false}if(n.isImportDefaultSpecifier()&&t==="default"){return true}if(n.isImportNamespaceSpecifier()&&t==="*"){return true}if(n.isImportSpecifier()&&l(n.node.imported,{name:t})){return true}return false}function getSource(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function willIMaybeExecuteBefore(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function getOuterFunction(e){return e.isProgram()?e:(e.parentPath.scope.getFunctionParent()||e.parentPath.scope.getProgramParent()).path}function isExecutionUncertain(e,t){switch(e){case"LogicalExpression":return t==="right";case"ConditionalExpression":case"IfStatement":return t==="consequent"||t==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return t==="body";case"ForStatement":return t==="body"||t==="update";case"SwitchStatement":return t==="cases";case"TryStatement":return t==="handler";case"AssignmentPattern":return t==="right";case"OptionalMemberExpression":return t==="property";case"OptionalCallExpression":return t==="arguments";default:return false}}function isExecutionUncertainInList(e,t){for(let r=0;r<t;r++){const t=e[r];if(isExecutionUncertain(t.parent.type,t.parentKey)){return true}}return false}const f=Symbol();function _guessExecutionStatusRelativeTo(e){return _guessExecutionStatusRelativeToCached(this,e,new Map)}function _guessExecutionStatusRelativeToCached(e,t,r){const n={this:getOuterFunction(e),target:getOuterFunction(t)};if(n.target.node!==n.this.node){return _guessExecutionStatusRelativeToDifferentFunctionsCached(e,n.target,r)}const s={target:t.getAncestry(),this:e.getAncestry()};if(s.target.includes(e))return"after";if(s.this.includes(t))return"before";let a;const o={target:0,this:0};while(!a&&o.this<s.this.length){const e=s.this[o.this];o.target=s.target.indexOf(e);if(o.target>=0){a=e}else{o.this++}}if(!a){throw new Error("Internal Babel error - The two compared nodes"+" don't appear to belong to the same program.")}if(isExecutionUncertainInList(s.this,o.this-1)||isExecutionUncertainInList(s.target,o.target-1)){return"unknown"}const l={this:s.this[o.this-1],target:s.target[o.target-1]};if(l.target.listKey&&l.this.listKey&&l.target.container===l.this.container){return l.target.key>l.this.key?"before":"after"}const c=i[a.type];const p={this:c.indexOf(l.this.parentKey),target:c.indexOf(l.target.parentKey)};return p.target>p.this?"before":"after"}function _guessExecutionStatusRelativeToDifferentFunctionsInternal(e,t,r){if(!t.isFunctionDeclaration()){if(_guessExecutionStatusRelativeToCached(e,t,r)==="before"){return"before"}return"unknown"}else if(t.parentPath.isExportDeclaration()){return"unknown"}const n=t.scope.getBinding(t.node.id.name);if(!n.references)return"before";const s=n.referencePaths;let i;for(const n of s){const s=!!n.find((e=>e.node===t.node));if(s)continue;if(n.key!=="callee"||!n.parentPath.isCallExpression()){return"unknown"}const a=_guessExecutionStatusRelativeToCached(e,n,r);if(i&&i!==a){return"unknown"}else{i=a}}return i}function _guessExecutionStatusRelativeToDifferentFunctionsCached(e,t,r){let n=r.get(e.node);let s;if(!n){r.set(e.node,n=new Map)}else if(s=n.get(t.node)){if(s===f){return"unknown"}return s}n.set(t.node,f);const i=_guessExecutionStatusRelativeToDifferentFunctionsInternal(e,t,r);n.set(t.node,i);return i}function resolve(e,t){return _resolve.call(this,e,t)||this}function _resolve(e,t){var r;if((r=t)!=null&&r.includes(this))return;t=t||[];t.push(this);if(this.isVariableDeclarator()){if(this.get("id").isIdentifier()){return this.get("init").resolve(e,t)}else{}}else if(this.isReferencedIdentifier()){const r=this.scope.getBinding(this.node.name);if(!r)return;if(!r.constant)return;if(r.kind==="module")return;if(r.path!==this){const n=r.path.resolve(e,t);if(this.find((e=>e.node===n.node)))return;return n}}else if(this.isTypeCastExpression()){return this.get("expression").resolve(e,t)}else if(e&&this.isMemberExpression()){const r=this.toComputedKey();if(!c(r))return;const n=r.value;const s=this.get("object").resolve(e,t);if(s.isObjectExpression()){const r=s.get("properties");for(const s of r){if(!s.isProperty())continue;const r=s.get("key");let i=s.isnt("computed")&&r.isIdentifier({name:n});i=i||r.isLiteral({value:n});if(i)return s.get("value").resolve(e,t)}}else if(s.isArrayExpression()&&!isNaN(+n)){const r=s.get("elements");const i=r[n];if(i)return i.resolve(e,t)}}}function isConstantExpression(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);if(!e)return false;return e.constant}if(this.isLiteral()){if(this.isRegExpLiteral()){return false}if(this.isTemplateLiteral()){return this.get("expressions").every((e=>e.isConstantExpression()))}return true}if(this.isUnaryExpression()){if(this.node.operator!=="void"){return false}return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){const{operator:e}=this.node;return e!=="in"&&e!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}if(this.isMemberExpression()){return!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:true})}if(this.isCallExpression()){return this.node.arguments.length===1&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:true})&&this.get("arguments")[0].isStringLiteral()}return false}function isInStrictMode(){const e=this.isProgram()?this:this.parentPath;const t=e.find((e=>{if(e.isProgram({sourceType:"module"}))return true;if(e.isClass())return true;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement()){return false}let t;if(e.isFunction()){t=e.node.body}else if(e.isProgram()){t=e.node}else{return false}for(const e of t.directives){if(e.value.value==="use strict"){return true}}}));return!!t}},6378:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(3061);var s=n;const{react:i}=n;const{cloneNode:a,jsxExpressionContainer:o,variableDeclaration:l,variableDeclarator:c}=s;const p={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&i.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression()){return}if(e.node.name==="this"){let r=e.scope;do{if(r.path.isFunction()&&!r.path.isArrowFunctionExpression()){break}}while(r=r.parent);if(r)t.breakOnScopePaths.push(r.path)}const r=e.scope.getBinding(e.node.name);if(!r)return;for(const n of r.constantViolations){if(n.scope!==r.path.scope){t.mutableBinding=true;e.stop();return}}if(r!==t.scope.getBinding(e.node.name))return;t.bindings[e.node.name]=r}};class PathHoister{constructor(e,t){this.breakOnScopePaths=void 0;this.bindings=void 0;this.mutableBinding=void 0;this.scopes=void 0;this.scope=void 0;this.path=void 0;this.attachAfter=void 0;this.breakOnScopePaths=[];this.bindings={};this.mutableBinding=false;this.scopes=[];this.scope=t;this.path=e;this.attachAfter=false}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const r=this.bindings[t];if(!e.bindingIdentifierEquals(t,r.identifier)){return false}}return true}getCompatibleScopes(){let e=this.path.scope;do{if(this.isCompatibleScope(e)){this.scopes.push(e)}else{break}if(this.breakOnScopePaths.includes(e.path)){break}}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e){t=e.scope.parent}if(t.path.isProgram()||t.path.isFunction()){for(const r of Object.keys(this.bindings)){if(!t.hasOwnBinding(r))continue;const n=this.bindings[r];if(n.kind==="param"||n.path.parentKey==="params"){continue}const s=this.getAttachmentParentForPath(n.path);if(s.key>=e.key){this.attachAfter=true;e=n.path;for(const t of n.constantViolations){if(this.getAttachmentParentForPath(t).key>e.key){e=t}}}}}return e}_getAttachmentPath(){const e=this.scopes;const t=e.pop();if(!t)return;if(t.path.isFunction()){if(this.hasOwnParamBindings(t)){if(this.scope===t)return;const e=t.path.get("body").get("body");for(let t=0;t<e.length;t++){if(e[t].node._blockHoist)continue;return e[t]}}else{return this.getNextScopeAttachmentParent()}}else if(t.path.isProgram()){return this.getNextScopeAttachmentParent()}}getNextScopeAttachmentParent(){const e=this.scopes.pop();if(e)return this.getAttachmentParentForPath(e.path)}getAttachmentParentForPath(e){do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){return e}}while(e=e.parentPath)}hasOwnParamBindings(e){for(const t of Object.keys(this.bindings)){if(!e.hasOwnBinding(t))continue;const r=this.bindings[t];if(r.kind==="param"&&r.constant)return true}return false}run(){this.path.traverse(p,this);if(this.mutableBinding)return;this.getCompatibleScopes();const e=this.getAttachmentPath();if(!e)return;if(e.getFunctionParent()===this.path.getFunctionParent())return;let t=e.scope.generateUidIdentifier("ref");const r=c(t,this.path.node);const n=this.attachAfter?"insertAfter":"insertBefore";const[s]=e[n]([e.isVariableDeclarator()?r:l("var",[r])]);const i=this.path.parentPath;if(i.isJSXElement()&&this.path.container===i.node.children){t=o(t)}this.path.replaceWith(a(t));return e.isVariableDeclarator()?s.get("init"):s.get("declarations.0.init")}}t["default"]=PathHoister},7978:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hooks=void 0;const r=t.hooks=[function(e,t){const r=e.key==="test"&&(t.isWhile()||t.isSwitchCase())||e.key==="declaration"&&t.isExportDeclaration()||e.key==="body"&&t.isLabeledStatement()||e.listKey==="declarations"&&t.isVariableDeclaration()&&t.node.declarations.length===1||e.key==="expression"&&t.isExpressionStatement();if(r){t.remove();return true}},function(e,t){if(t.isSequenceExpression()&&t.node.expressions.length===1){t.replaceWith(t.node.expressions[0]);return true}},function(e,t){if(t.isBinary()){if(e.key==="left"){t.replaceWith(t.node.right)}else{t.replaceWith(t.node.left)}return true}},function(e,t){if(t.isIfStatement()&&e.key==="consequent"||e.key==="body"&&(t.isLoop()||t.isArrowFunctionExpression())){e.replaceWith({type:"BlockStatement",body:[]});return true}}]},3053:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBindingIdentifier=isBindingIdentifier;t.isBlockScoped=isBlockScoped;t.isExpression=isExpression;t.isFlow=isFlow;t.isForAwaitStatement=isForAwaitStatement;t.isGenerated=isGenerated;t.isPure=isPure;t.isReferenced=isReferenced;t.isReferencedIdentifier=isReferencedIdentifier;t.isReferencedMemberExpression=isReferencedMemberExpression;t.isRestProperty=isRestProperty;t.isScope=isScope;t.isSpreadProperty=isSpreadProperty;t.isStatement=isStatement;t.isUser=isUser;t.isVar=isVar;var n=r(3061);const{isBinding:s,isBlockScoped:i,isExportDeclaration:a,isExpression:o,isFlow:l,isForStatement:c,isForXStatement:p,isIdentifier:u,isImportDeclaration:d,isImportSpecifier:f,isJSXIdentifier:h,isJSXMemberExpression:m,isMemberExpression:y,isRestElement:g,isReferenced:b,isScope:T,isStatement:S,isVar:x,isVariableDeclaration:E,react:P,isForOfStatement:v}=n;const{isCompatTag:A}=P;function isReferencedIdentifier(e){const{node:t,parent:r}=this;if(!u(t,e)&&!m(r,e)){if(h(t,e)){if(A(t.name))return false}else{return false}}return b(t,r,this.parentPath.parent)}function isReferencedMemberExpression(){const{node:e,parent:t}=this;return y(e)&&b(e,t)}function isBindingIdentifier(){const{node:e,parent:t}=this;const r=this.parentPath.parent;return u(e)&&s(e,t,r)}function isStatement(){const{node:e,parent:t}=this;if(S(e)){if(E(e)){if(p(t,{left:e}))return false;if(c(t,{init:e}))return false}return true}else{return false}}function isExpression(){if(this.isIdentifier()){return this.isReferencedIdentifier()}else{return o(this.node)}}function isScope(){return T(this.node,this.parent)}function isReferenced(){return b(this.node,this.parent)}function isBlockScoped(){return i(this.node)}function isVar(){return x(this.node)}function isUser(){return this.node&&!!this.node.loc}function isGenerated(){return!this.isUser()}function isPure(e){return this.scope.isPure(this.node,e)}function isFlow(){const{node:e}=this;if(l(e)){return true}else if(d(e)){return e.importKind==="type"||e.importKind==="typeof"}else if(a(e)){return e.exportKind==="type"}else if(f(e)){return e.importKind==="type"||e.importKind==="typeof"}else{return false}}function isRestProperty(){var e;return g(this.node)&&((e=this.parentPath)==null?void 0:e.isObjectPattern())}function isSpreadProperty(){var e;return g(this.node)&&((e=this.parentPath)==null?void 0:e.isObjectExpression())}function isForAwaitStatement(){return v(this.node,{await:true})}{t.isExistentialTypeParam=function isExistentialTypeParam(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")};t.isNumericLiteralTypeAnnotation=function isNumericLiteralTypeAnnotation(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}}},2490:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Var=t.User=t.Statement=t.SpreadProperty=t.Scope=t.RestProperty=t.ReferencedMemberExpression=t.ReferencedIdentifier=t.Referenced=t.Pure=t.NumericLiteralTypeAnnotation=t.Generated=t.ForAwaitStatement=t.Flow=t.Expression=t.ExistentialTypeParam=t.BlockScoped=t.BindingIdentifier=void 0;const r=t.ReferencedIdentifier=["Identifier","JSXIdentifier"];const n=t.ReferencedMemberExpression=["MemberExpression"];const s=t.BindingIdentifier=["Identifier"];const i=t.Statement=["Statement"];const a=t.Expression=["Expression"];const o=t.Scope=["Scopable","Pattern"];const l=t.Referenced=null;const c=t.BlockScoped=null;const p=t.Var=["VariableDeclaration"];const u=t.User=null;const d=t.Generated=null;const f=t.Pure=null;const h=t.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"];const m=t.RestProperty=["RestElement"];const y=t.SpreadProperty=["RestElement"];const g=t.ExistentialTypeParam=["ExistsTypeAnnotation"];const b=t.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"];const T=t.ForAwaitStatement=["ForOfStatement"]},7116:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._containerInsert=_containerInsert;t._containerInsertAfter=_containerInsertAfter;t._containerInsertBefore=_containerInsertBefore;t._verifyNodeList=_verifyNodeList;t.insertAfter=insertAfter;t.insertBefore=insertBefore;t.pushContainer=pushContainer;t.unshiftContainer=unshiftContainer;t.updateSiblingKeys=updateSiblingKeys;var n=r(8099);var s=r(9111);var i=r(4144);var a=r(6035);var o=r(3061);var l=r(6378);const{arrowFunctionExpression:c,assertExpression:p,assignmentExpression:u,blockStatement:d,callExpression:f,cloneNode:h,expressionStatement:m,isAssignmentExpression:y,isCallExpression:g,isExportNamedDeclaration:b,isExpression:T,isIdentifier:S,isSequenceExpression:x,isSuper:E,thisExpression:P}=o;function insertBefore(e){a._assertUnremoved.call(this);const t=_verifyNodeList.call(this,e);const{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||b(n)||r.isExportDefaultDeclaration()&&this.isDeclaration()){return r.insertBefore(t)}else if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node)t.push(this.node);return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return _containerInsertBefore.call(this,t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(d(r?[e]:[]));return this.unshiftContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function _containerInsert(e,t){updateSiblingKeys.call(this,e,t.length);const r=[];this.container.splice(e,0,...t);for(let s=0;s<t.length;s++){var n;const t=e+s;const a=this.getSibling(t);r.push(a);if((n=this.context)!=null&&n.queue){i.pushContext.call(a,this.context)}}const s=i._getQueueContexts.call(this);for(const e of r){i.setScope.call(e);e.debug("Inserted.");for(const t of s){t.maybeQueue(e,true)}}return r}function _containerInsertBefore(e){return _containerInsert.call(this,this.key,e)}function _containerInsertAfter(e){return _containerInsert.call(this,this.key+1,e)}const last=e=>e[e.length-1];function isHiddenInSequenceExpression(e){return x(e.parent)&&(last(e.parent.expressions)!==e.node||isHiddenInSequenceExpression(e.parentPath))}function isAlmostConstantAssignment(e,t){if(!y(e)||!S(e.left)){return false}const r=t.getBlockParent();return r.hasOwnBinding(e.left.name)&&r.getOwnBinding(e.left.name).constantViolations.length<=1}function insertAfter(e){a._assertUnremoved.call(this);if(this.isSequenceExpression()){return last(this.get("expressions")).insertAfter(e)}const t=_verifyNodeList.call(this,e);const{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||b(n)||r.isExportDefaultDeclaration()&&this.isDeclaration()){return r.insertAfter(t.map((e=>T(e)?m(e):e)))}else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){const e=this;if(e.node){const n=e.node;let{scope:s}=this;if(s.path.isPattern()){p(n);e.replaceWith(f(c([],n),[]));e.get("callee.body").insertAfter(t);return[e]}if(isHiddenInSequenceExpression(e)){t.unshift(n)}else if(g(n)&&E(n.callee)){t.unshift(n);t.push(P())}else if(isAlmostConstantAssignment(n,s)){t.unshift(n);t.push(h(n.left))}else if(s.isPure(n,true)){t.push(n)}else{if(r.isMethod({computed:true,key:n})){s=s.parent}const e=s.generateDeclaredUidIdentifier();t.unshift(m(u("=",h(e),n)));t.push(m(h(e)))}}return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return _containerInsertAfter.call(this,t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(d(r?[e]:[]));return this.pushContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function updateSiblingKeys(e,t){if(!this.parent)return;const r=(0,n.getCachedPaths)(this.hub,this.parent)||[];for(const[,n]of r){if(typeof n.key==="number"&&n.container===this.container&&n.key>=e){n.key+=t}}}function _verifyNodeList(e){if(!e){return[]}if(!Array.isArray(e)){e=[e]}for(let t=0;t<e.length;t++){const r=e[t];let n;if(!r){n="has falsy node"}else if(typeof r!=="object"){n="contains a non-object node"}else if(!r.type){n="without a type"}else if(r instanceof s.default){n="has a NodePath when it expected a raw object"}if(n){const e=Array.isArray(r)?"array":typeof r;throw new Error(`Node list ${n} with the index of ${t} and type of ${e}`)}}return e}function unshiftContainer(e,t){a._assertUnremoved.call(this);t=_verifyNodeList.call(this,t);const r=s.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).setContext(this.context);return _containerInsertBefore.call(r,t)}function pushContainer(e,t){a._assertUnremoved.call(this);const r=_verifyNodeList.call(this,t);const n=this.node[e];const i=s.default.get({parentPath:this,parent:this.node,container:n,listKey:e,key:n.length}).setContext(this.context);return i.replaceWithMultiple(r)}{t.hoist=function hoist(e=this.scope){const t=new l.default(this,e);return t.run()}}},6035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._assertUnremoved=_assertUnremoved;t._callRemovalHooks=_callRemovalHooks;t._markRemoved=_markRemoved;t._remove=_remove;t._removeFromScope=_removeFromScope;t.remove=remove;var n=r(7978);var s=r(8099);var i=r(3419);var a=r(9111);var o=r(3061);var l=r(7116);var c=r(4144);const{getBindingIdentifiers:p}=o;function remove(){var e;_assertUnremoved.call(this);c.resync.call(this);if(_callRemovalHooks.call(this)){_markRemoved.call(this);return}if(!((e=this.opts)!=null&&e.noScope)){_removeFromScope.call(this)}this.shareCommentsWithSiblings();_remove.call(this);_markRemoved.call(this)}function _removeFromScope(){const e=p(this.node,false,false,true);Object.keys(e).forEach((e=>this.scope.removeBinding(e)))}function _callRemovalHooks(){if(this.parentPath){for(const e of n.hooks){if(e(this,this.parentPath))return true}}}function _remove(){if(Array.isArray(this.container)){this.container.splice(this.key,1);l.updateSiblingKeys.call(this,this.key,-1)}else{i._replaceWith.call(this,null)}}function _markRemoved(){this._traverseFlags|=a.SHOULD_SKIP|a.REMOVED;if(this.parent){(0,s.getCachedPaths)(this.hub,this.parent).delete(this.node)}this.node=null}function _assertUnremoved(){if(this.removed){throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}}},3419:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._replaceWith=_replaceWith;t.replaceExpressionWithStatements=replaceExpressionWithStatements;t.replaceInline=replaceInline;t.replaceWith=replaceWith;t.replaceWithMultiple=replaceWithMultiple;t.replaceWithSourceString=replaceWithSourceString;var n=r(3554);var s=r(8026);var i=r(9111);var a=r(8099);var o=r(7116);var l=r(9849);var c=r(3061);var p=r(4144);const{FUNCTION_TYPES:u,arrowFunctionExpression:d,assignmentExpression:f,awaitExpression:h,blockStatement:m,buildUndefinedNode:y,callExpression:g,cloneNode:b,conditionalExpression:T,expressionStatement:S,getBindingIdentifiers:x,identifier:E,inheritLeadingComments:P,inheritTrailingComments:v,inheritsComments:A,isBlockStatement:w,isEmptyStatement:I,isExpression:C,isExpressionStatement:O,isIfStatement:N,isProgram:k,isStatement:_,isVariableDeclaration:D,removeComments:M,returnStatement:L,sequenceExpression:j,validate:F,yieldExpression:B}=c;function replaceWithMultiple(e){var t;p.resync.call(this);e=o._verifyNodeList.call(this,e);P(e[0],this.node);v(e[e.length-1],this.node);(t=(0,a.getCachedPaths)(this.hub,this.parent))==null||t.delete(this.node);this.node=this.container[this.key]=null;const r=this.insertAfter(e);if(this.node){this.requeue()}else{this.remove()}return r}function replaceWithSourceString(e){p.resync.call(this);let t;try{e=`(${e})`;t=(0,l.parse)(e)}catch(t){const r=t.loc;if(r){t.message+=" - make sure this is an expression.\n"+(0,n.codeFrameColumns)(e,{start:{line:r.line,column:r.column+1}});t.code="BABEL_REPLACE_SOURCE_ERROR"}throw t}const r=t.program.body[0].expression;s.default.removeProperties(r);return this.replaceWith(r)}function replaceWith(e){p.resync.call(this);if(this.removed){throw new Error("You can't replace this node, we've already removed it")}let t=e instanceof i.default?e.node:e;if(!t){throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead")}if(this.node===t){return[this]}if(this.isProgram()&&!k(t)){throw new Error("You can only replace a Program root node with another Program node")}if(Array.isArray(t)){throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`")}if(typeof t==="string"){throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`")}let r="";if(this.isNodeType("Statement")&&C(t)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t)&&!this.parentPath.isExportDefaultDeclaration()){t=S(t);r="expression"}}if(this.isNodeType("Expression")&&_(t)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t)){return this.replaceExpressionWithStatements([t])}}const n=this.node;if(n){A(t,n);M(n)}_replaceWith.call(this,t);this.type=t.type;p.setScope.call(this);this.requeue();return[r?this.get(r):this]}function _replaceWith(e){var t;if(!this.container){throw new ReferenceError("Container is falsy")}if(this.inList){F(this.parent,this.key,[e])}else{F(this.parent,this.key,e)}this.debug(`Replace with ${e==null?void 0:e.type}`);(t=(0,a.getCachedPaths)(this.hub,this.parent))==null||t.set(e,this).delete(this.node);this.node=this.container[this.key]=e}function replaceExpressionWithStatements(e){p.resync.call(this);const t=[];const r=gatherSequenceExpressions(e,t);if(r){for(const e of t)this.scope.push({id:e});return this.replaceWith(r)[0].get("expressions")}const n=this.getFunctionParent();const i=n==null?void 0:n.node.async;const a=n==null?void 0:n.node.generator;const o=d([],m(e));this.replaceWith(g(o,[]));const l=this.get("callee");l.get("body").scope.hoistVariables((e=>this.scope.push({id:e})));const c=l.getCompletionRecords();for(const e of c){if(!e.isExpressionStatement())continue;const t=e.findParent((e=>e.isLoop()));if(t){let r=t.getData("expressionReplacementReturnUid");if(!r){r=l.scope.generateDeclaredUidIdentifier("ret");l.get("body").pushContainer("body",L(b(r)));t.setData("expressionReplacementReturnUid",r)}else{r=E(r.name)}e.get("expression").replaceWith(f("=",b(r),e.node.expression))}else{e.replaceWith(L(e.node.expression))}}l.arrowFunctionToExpression();const y=l;const T=i&&s.default.hasType(this.get("callee.body").node,"AwaitExpression",u);const S=a&&s.default.hasType(this.get("callee.body").node,"YieldExpression",u);if(T){y.set("async",true);if(!S){this.replaceWith(h(this.node))}}if(S){y.set("generator",true);this.replaceWith(B(this.node,true))}return y.get("body.body")}function gatherSequenceExpressions(e,t){const r=[];let n=true;for(const s of e){if(!I(s)){n=false}if(C(s)){r.push(s)}else if(O(s)){r.push(s.expression)}else if(D(s)){if(s.kind!=="var")return;for(const e of s.declarations){const n=x(e);for(const e of Object.keys(n)){t.push(b(n[e]))}if(e.init){r.push(f("=",e.id,e.init))}}n=true}else if(N(s)){const e=s.consequent?gatherSequenceExpressions([s.consequent],t):y();const n=s.alternate?gatherSequenceExpressions([s.alternate],t):y();if(!e||!n)return;r.push(T(s.test,e,n))}else if(w(s)){const e=gatherSequenceExpressions(s.body,t);if(!e)return;r.push(e)}else if(I(s)){if(e.indexOf(s)===0){n=true}}else{return}}if(n)r.push(y());if(r.length===1){return r[0]}else{return j(r)}}function replaceInline(e){p.resync.call(this);if(Array.isArray(e)){if(Array.isArray(this.container)){e=o._verifyNodeList.call(this,e);const t=o._containerInsertAfter.call(this,e);this.remove();return t}else{return this.replaceWithMultiple(e)}}else{return this.replaceWith(e)}}},7033:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class Binding{constructor({identifier:e,scope:t,path:r,kind:n}){this.identifier=void 0;this.scope=void 0;this.path=void 0;this.kind=void 0;this.constantViolations=[];this.constant=true;this.referencePaths=[];this.referenced=false;this.references=0;this.identifier=e;this.scope=t;this.path=r;this.kind=n;if((n==="var"||n==="hoisted")&&isInitInLoop(r)){this.reassign(r)}this.clearValue()}deoptValue(){this.clearValue();this.hasDeoptedValue=true}setValue(e){if(this.hasDeoptedValue)return;this.hasValue=true;this.value=e}clearValue(){this.hasDeoptedValue=false;this.hasValue=false;this.value=null}reassign(e){this.constant=false;if(this.constantViolations.includes(e)){return}this.constantViolations.push(e)}reference(e){if(this.referencePaths.includes(e)){return}this.referenced=true;this.references++;this.referencePaths.push(e)}dereference(){this.references--;this.referenced=!!this.references}}t["default"]=Binding;function isInitInLoop(e){const t=!e.isVariableDeclarator()||e.node.init;for(let{parentPath:r,key:n}=e;r;({parentPath:r,key:n}=r)){if(r.isFunctionParent())return false;if(n==="left"&&r.isForXStatement()||t&&n==="body"&&r.isLoop()){return true}}return false}},9877:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(3855);var s=r(8026);var i=r(7033);var a=r(6929);var o=r(3061);var l=o;var c=r(8099);const{assignmentExpression:p,callExpression:u,cloneNode:d,getBindingIdentifiers:f,identifier:h,isArrayExpression:m,isBinary:y,isCallExpression:g,isClass:b,isClassBody:T,isClassDeclaration:S,isExportAllDeclaration:x,isExportDefaultDeclaration:E,isExportNamedDeclaration:P,isFunctionDeclaration:v,isIdentifier:A,isImportDeclaration:w,isLiteral:I,isMemberExpression:C,isMethod:O,isModuleSpecifier:N,isNullLiteral:k,isObjectExpression:_,isProperty:D,isPureish:M,isRegExpLiteral:L,isSuper:j,isTaggedTemplateExpression:F,isTemplateLiteral:B,isThisExpression:R,isUnaryExpression:U,isVariableDeclaration:K,expressionStatement:V,matchesPattern:W,memberExpression:$,numericLiteral:q,toIdentifier:H,variableDeclaration:G,variableDeclarator:J,isRecordExpression:z,isTupleExpression:X,isObjectProperty:Y,isTopicReference:Q,isMetaProperty:Z,isPrivateName:ee,isExportDeclaration:te,buildUndefinedNode:re,sequenceExpression:ne}=o;function gatherNodeParts(e,t){switch(e==null?void 0:e.type){default:if(w(e)||te(e)){var r;if((x(e)||P(e)||w(e))&&e.source){gatherNodeParts(e.source,t)}else if((P(e)||w(e))&&(r=e.specifiers)!=null&&r.length){for(const r of e.specifiers)gatherNodeParts(r,t)}else if((E(e)||P(e))&&e.declaration){gatherNodeParts(e.declaration,t)}}else if(N(e)){gatherNodeParts(e.local,t)}else if(I(e)&&!k(e)&&!L(e)&&!B(e)){t.push(e.value)}break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":gatherNodeParts(e.object,t);gatherNodeParts(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":gatherNodeParts(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const r of e.properties){gatherNodeParts(r,t)}break;case"SpreadElement":case"RestElement":gatherNodeParts(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":gatherNodeParts(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield");gatherNodeParts(e.argument,t);break;case"AwaitExpression":t.push("await");gatherNodeParts(e.argument,t);break;case"AssignmentExpression":gatherNodeParts(e.left,t);break;case"VariableDeclarator":gatherNodeParts(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":gatherNodeParts(e.id,t);break;case"PrivateName":gatherNodeParts(e.id,t);break;case"ParenthesizedExpression":gatherNodeParts(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":gatherNodeParts(e.argument,t);break;case"MetaProperty":gatherNodeParts(e.meta,t);gatherNodeParts(e.property,t);break;case"JSXElement":gatherNodeParts(e.openingElement,t);break;case"JSXOpeningElement":gatherNodeParts(e.name,t);break;case"JSXFragment":gatherNodeParts(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":gatherNodeParts(e.namespace,t);gatherNodeParts(e.name,t);break}}function resetScope(e){e.references=Object.create(null);e.bindings=Object.create(null);e.globals=Object.create(null);e.uids=Object.create(null)}{var se=Symbol.for("should not be considered a local binding")}const ie={ForStatement(e){const t=e.get("init");if(t.isVar()){const{scope:r}=e;const n=r.getFunctionParent()||r.getProgramParent();n.registerBinding("var",t)}},Declaration(e){if(e.isBlockScoped())return;if(e.isImportDeclaration())return;if(e.isExportDeclaration())return;const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerDeclaration(e)},ImportDeclaration(e){const t=e.scope.getBlockParent();t.registerDeclaration(e)},TSImportEqualsDeclaration(e){const t=e.scope.getBlockParent();t.registerDeclaration(e)},ReferencedIdentifier(e,t){if(l.isTSQualifiedName(e.parent)&&e.parent.right===e.node){return}if(e.parentPath.isTSImportEqualsDeclaration())return;t.references.push(e)},ForXStatement(e,t){const r=e.get("left");if(r.isPattern()||r.isIdentifier()){t.constantViolations.push(e)}else if(r.isVar()){const{scope:t}=e;const n=t.getFunctionParent()||t.getProgramParent();n.registerBinding("var",r)}},ExportDeclaration:{exit(e){const{node:t,scope:r}=e;if(x(t))return;const n=t.declaration;if(S(n)||v(n)){const t=n.id;if(!t)return;const s=r.getBinding(t.name);s==null||s.reference(e)}else if(K(n)){for(const t of n.declarations){for(const n of Object.keys(f(t))){const t=r.getBinding(n);t==null||t.reference(e)}}}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){if(e.node.operator==="delete"){t.constantViolations.push(e)}},BlockScoped(e){let t=e.scope;if(t.path===e)t=t.parent;const r=t.getBlockParent();r.registerDeclaration(e);if(e.isClassDeclaration()&&e.node.id){const t=e.node.id;const r=t.name;e.scope.bindings[r]=e.scope.parent.getBinding(r)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){const t=e.get("params");for(const r of t){e.scope.registerBinding("param",r)}if(e.isFunctionExpression()&&e.node.id&&!e.node.id[se]){e.scope.registerBinding("local",e.get("id"),e)}},ClassExpression(e){if(e.node.id&&!e.node.id[se]){e.scope.registerBinding("local",e.get("id"),e)}},TSTypeAnnotation(e){e.skip()}};let ae;let oe=0;class Scope{constructor(e){this.uid=void 0;this.path=void 0;this.block=void 0;this.inited=void 0;this.labels=void 0;this.bindings=void 0;this.references=void 0;this.globals=void 0;this.uids=void 0;this.data=void 0;this.crawling=void 0;const{node:t}=e;const r=c.scope.get(t);if((r==null?void 0:r.path)===e){return r}c.scope.set(t,this);this.uid=oe++;this.block=t;this.path=e;this.labels=new Map;this.inited=false}get parent(){var e;let t,r=this.path;do{var n;const e=r.key==="key"||r.listKey==="decorators";r=r.parentPath;if(e&&r.isMethod())r=r.parentPath;if((n=r)!=null&&n.isScope())t=r}while(r&&!t);return(e=t)==null?void 0:e.scope}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);this.push({id:t});return d(t)}generateUidIdentifier(e){return h(this.generateUid(e))}generateUid(e="temp"){e=H(e).replace(/^_+/,"").replace(/\d+$/g,"");let t;let r=1;do{t=`_${e}`;if(r>1)t+=r;r++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const n=this.getProgramParent();n.references[t]=true;n.uids[t]=true;return t}generateUidBasedOnNode(e,t){const r=[];gatherNodeParts(e,r);let n=r.join("$");n=n.replace(/^_/,"")||t||"ref";return this.generateUid(n.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return h(this.generateUidBasedOnNode(e,t))}isStatic(e){if(R(e)||j(e)||Q(e)){return true}if(A(e)){const t=this.getBinding(e.name);if(t){return t.constant}else{return this.hasBinding(e.name)}}return false}maybeGenerateMemoised(e,t){if(this.isStatic(e)){return null}else{const r=this.generateUidIdentifierBasedOnNode(e);if(!t){this.push({id:r});return d(r)}return r}}checkBlockScopedCollisions(e,t,r,n){if(t==="param")return;if(e.kind==="local")return;const s=t==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&t==="const";if(s){throw this.path.hub.buildError(n,`Duplicate declaration "${r}"`,TypeError)}}rename(e,t){const r=this.getBinding(e);if(r){t||(t=this.generateUidIdentifier(e).name);const s=new n.default(r,e,t);{s.rename(arguments[2])}}}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const r=t.bindings[e];console.log(" -",e,{constant:r.constant,references:r.references,violations:r.constantViolations.length,kind:r.kind})}}while(t=t.parent);console.log(e)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement()){this.registerLabel(e)}else if(e.isFunctionDeclaration()){this.registerBinding("hoisted",e.get("id"),e)}else if(e.isVariableDeclaration()){const t=e.get("declarations");const{kind:r}=e.node;for(const e of t){this.registerBinding(r==="using"||r==="await using"?"const":r,e)}}else if(e.isClassDeclaration()){if(e.node.declare)return;this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t=e.node.importKind==="type"||e.node.importKind==="typeof";const r=e.get("specifiers");for(const e of r){const r=t||e.isImportSpecifier()&&(e.node.importKind==="type"||e.node.importKind==="typeof");this.registerBinding(r?"unknown":"module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");if(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration()){this.registerDeclaration(t)}}else{this.registerBinding("unknown",e)}}buildUndefinedNode(){return re()}registerConstantViolation(e){const t=e.getAssignmentIdentifiers();for(const n of Object.keys(t)){var r;(r=this.getBinding(n))==null||r.reassign(e)}}registerBinding(e,t,r=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const r=t.get("declarations");for(const t of r){this.registerBinding(e,t)}return}const n=this.getProgramParent();const s=t.getOuterBindingIdentifiers(true);for(const t of Object.keys(s)){n.references[t]=true;for(const n of s[t]){const s=this.getOwnBinding(t);if(s){if(s.identifier===n)continue;this.checkBlockScopedCollisions(s,e,t,n)}if(s){s.reassign(r)}else{this.bindings[t]=new i.default({identifier:n,scope:this,path:r,kind:e})}}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let t=this;do{if(t.uids[e])return true}while(t=t.parent);return false}hasGlobal(e){let t=this;do{if(t.globals[e])return true}while(t=t.parent);return false}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(A(e)){const r=this.getBinding(e.name);if(!r)return false;if(t)return r.constant;return true}else if(R(e)||Z(e)||Q(e)||ee(e)){return true}else if(b(e)){var r;if(e.superClass&&!this.isPure(e.superClass,t)){return false}if(((r=e.decorators)==null?void 0:r.length)>0){return false}return this.isPure(e.body,t)}else if(T(e)){for(const r of e.body){if(!this.isPure(r,t))return false}return true}else if(y(e)){return this.isPure(e.left,t)&&this.isPure(e.right,t)}else if(m(e)||X(e)){for(const r of e.elements){if(r!==null&&!this.isPure(r,t))return false}return true}else if(_(e)||z(e)){for(const r of e.properties){if(!this.isPure(r,t))return false}return true}else if(O(e)){var n;if(e.computed&&!this.isPure(e.key,t))return false;if(((n=e.decorators)==null?void 0:n.length)>0){return false}return true}else if(D(e)){var s;if(e.computed&&!this.isPure(e.key,t))return false;if(((s=e.decorators)==null?void 0:s.length)>0){return false}if(Y(e)||e.static){if(e.value!==null&&!this.isPure(e.value,t)){return false}}return true}else if(U(e)){return this.isPure(e.argument,t)}else if(B(e)){for(const r of e.expressions){if(!this.isPure(r,t))return false}return true}else if(F(e)){return W(e.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:true})&&this.isPure(e.quasi,t)}else if(C(e)){return!e.computed&&A(e.object)&&e.object.name==="Symbol"&&A(e.property)&&e.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:true})}else if(g(e)){return W(e.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:true})&&e.arguments.length===1&&l.isStringLiteral(e.arguments[0])}else{return M(e)}}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const r=t.data[e];if(r!=null)return r}while(t=t.parent)}removeData(e){let t=this;do{const r=t.data[e];if(r!=null)t.data[e]=null}while(t=t.parent)}init(){if(!this.inited){this.inited=true;this.crawl()}}crawl(){const e=this.path;resetScope(this);this.data=Object.create(null);let t=this;do{if(t.crawling)return;if(t.path.isProgram()){break}}while(t=t.parent);const r=t;const n={references:[],constantViolations:[],assignments:[]};this.crawling=true;ae||(ae=s.default.visitors.merge([{Scope(e){resetScope(e.scope)}},ie]));if(e.type!=="Program"){for(const t of ae.enter){t.call(n,e,n)}const t=ae[e.type];if(t){for(const r of t.enter){r.call(n,e,n)}}}e.traverse(ae,n);this.crawling=false;for(const e of n.assignments){const t=e.getAssignmentIdentifiers();for(const n of Object.keys(t)){if(e.scope.getBinding(n))continue;r.addGlobal(t[n])}e.scope.registerConstantViolation(e)}for(const e of n.references){const t=e.scope.getBinding(e.node.name);if(t){t.reference(e)}else{r.addGlobal(e.node)}}for(const e of n.constantViolations){e.scope.registerConstantViolation(e)}}push(e){let t=this.path;if(t.isPattern()){t=this.getPatternParent().path}else if(!t.isBlockStatement()&&!t.isProgram()){t=this.getBlockParent().path}if(t.isSwitchStatement()){t=(this.getFunctionParent()||this.getProgramParent()).path}const{init:r,unique:n,kind:s="var",id:i}=e;if(!r&&!n&&(s==="var"||s==="let")&&t.isFunction()&&!t.node.name&&g(t.parent,{callee:t.node})&&t.parent.arguments.length<=t.node.params.length&&A(i)){t.pushContainer("params",i);t.scope.registerBinding("param",t.get("params")[t.node.params.length-1]);return}if(t.isLoop()||t.isCatchClause()||t.isFunction()){t.ensureBlock();t=t.get("body")}const a=e._blockHoist==null?2:e._blockHoist;const o=`declaration:${s}:${a}`;let l=!n&&t.getData(o);if(!l){const e=G(s,[]);e._blockHoist=a;[l]=t.unshiftContainer("body",[e]);if(!n)t.setData(o,l)}const c=J(i,r);const p=l.node.declarations.push(c);t.scope.registerBinding(s,l.get("declarations")[p-1])}getProgramParent(){let e=this;do{if(e.path.isProgram()){return e}}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent()){return e}}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent()){return e}}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let e=this;do{if(!e.path.isPattern()){return e.getBlockParent()}}while(e=e.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const r of Object.keys(t.bindings)){if(r in e===false){e[r]=t.bindings[r]}}t=t.parent}while(t);return e}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t=this;let r;do{const s=t.getOwnBinding(e);if(s){var n;if((n=r)!=null&&n.isPattern()&&s.kind!=="param"&&s.kind!=="local"){}else{return s}}else if(!s&&e==="arguments"&&t.path.isFunction()&&!t.path.isArrowFunctionExpression()){break}r=t.path}while(t=t.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return(t=this.getBinding(e))==null?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return t==null?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){if(!e)return false;let r;let n;let s;if(typeof t==="object"){r=t.noGlobals;n=t.noUids;s=t.upToScope}else if(typeof t==="boolean"){r=t}let i=this;do{if(s===i){break}if(i.hasOwnBinding(e)){return true}}while(i=i.parent);if(!n&&this.hasUid(e))return true;if(!r&&Scope.globals.includes(e))return true;if(!r&&Scope.contextVariables.includes(e))return true;return false}parentHasBinding(e,t){var r;return(r=this.parent)==null?void 0:r.hasBinding(e,t)}moveBindingTo(e,t){const r=this.getBinding(e);if(r){r.scope.removeOwnBinding(e);r.scope=t;t.bindings[e]=r}}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;(t=this.getBinding(e))==null||t.scope.removeOwnBinding(e);let r=this;do{if(r.uids[e]){r.uids[e]=false}}while(r=r.parent)}hoistVariables(e=(e=>this.push({id:e}))){this.crawl();const t=new Set;for(const r of Object.keys(this.bindings)){const n=this.bindings[r];if(!n)continue;const{path:s}=n;if(!s.isVariableDeclarator())continue;const{parent:i,parentPath:a}=s;if(i.kind!=="var"||t.has(i))continue;t.add(s.parent);let o;const l=[];for(const t of i.declarations){o!=null?o:o=t.id;if(t.init){l.push(p("=",t.id,t.init))}const r=Object.keys(f(t,false,true,true));for(const n of r){e(h(n),t.init!=null)}}if(a.parentPath.isFor({left:i})){a.replaceWith(o)}else if(l.length===0){a.remove()}else{const e=l.length===1?l[0]:ne(l);if(a.parentPath.isForStatement({init:i})){a.replaceWith(e)}else{a.replaceWith(V(e))}}}}}t["default"]=Scope;Scope.globals=Object.keys(a.builtin);Scope.contextVariables=["arguments","undefined","Infinity","NaN"];{Scope.prototype._renameFromMap=function _renameFromMap(e,t,r,n){if(e[t]){e[r]=n;e[t]=null}};Scope.prototype.traverse=function(e,t,r){(0,s.default)(e,t,this,r,this.path)};Scope.prototype._generateUid=function _generateUid(e,t){let r=e;if(t>1)r+=t;return`_${r}`};Scope.prototype.toArray=function toArray(e,t,r){if(A(e)){const t=this.getBinding(e.name);if(t!=null&&t.constant&&t.path.isGenericType("Array")){return e}}if(m(e)){return e}if(A(e,{name:"arguments"})){return u($($($(h("Array"),h("prototype")),h("slice")),h("call")),[e])}let n;const s=[e];if(t===true){n="toConsumableArray"}else if(typeof t==="number"){s.push(q(t));n="slicedToArray"}else{n="toArray"}if(r){s.unshift(this.path.hub.addHelper(n));n="maybeArrayLike"}return u(this.path.hub.addHelper(n),s)};Scope.prototype.getAllBindingsOfKind=function getAllBindingsOfKind(...e){const t=Object.create(null);for(const r of e){let e=this;do{for(const n of Object.keys(e.bindings)){const s=e.bindings[n];if(s.kind===r)t[n]=s}e=e.parent}while(e)}return t};Object.defineProperties(Scope.prototype,{parentBlock:{configurable:true,enumerable:true,get(){return this.path.parent}},hub:{configurable:true,enumerable:true,get(){return this.path.hub}}})}},3855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(3061);var s=n;var i=r(6265);var a=r(5621);var o=r(4144);const{getAssignmentIdentifiers:l}=s;const c={ReferencedIdentifier({node:e},t){if(e.name===t.oldName){e.name=t.newName}},Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)){e.skip();if(e.isMethod()){if(!e.requeueComputedKeyAndDecorators){o.requeueComputedKeyAndDecorators.call(e)}else{e.requeueComputedKeyAndDecorators()}}}},ObjectProperty({node:e,scope:t},r){const{name:n}=e.key;if(e.shorthand&&(n===r.oldName||n===r.newName)&&t.getBindingIdentifier(n)===r.binding.identifier){e.shorthand=false;{var s;if((s=e.extra)!=null&&s.shorthand)e.extra.shorthand=false}}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const r=e.isAssignmentExpression()?l(e.node):e.getOuterBindingIdentifiers();for(const e in r){if(e===t.oldName)r[e].name=t.newName}}};class Renamer{constructor(e,t,r){this.newName=r;this.oldName=t;this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(!t.isExportDeclaration()){return}if(t.isExportDefaultDeclaration()){const{declaration:e}=t.node;if(n.isDeclaration(e)&&!e.id){return}}if(t.isExportAllDeclaration()){return}t.splitExportDeclaration()}maybeConvertFromClassFunctionDeclaration(e){return e}maybeConvertFromClassFunctionExpression(e){return e}rename(){const{binding:e,oldName:t,newName:r}=this;const{scope:s,path:o}=e;const l=o.find((e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()));if(l){const r=l.getOuterBindingIdentifiers();if(r[t]===e.identifier){this.maybeConvertFromExportDeclaration(l)}}const p=arguments[0]||s.block;const u={discriminant:true};if(n.isMethod(p)){if(p.computed){u.key=true}if(!n.isObjectMethod(p)){u.decorators=true}}(0,i.traverseNode)(p,(0,a.explode)(c),s,this,s.path,u);if(!arguments[0]){s.removeOwnBinding(t);s.bindings[r]=e;this.binding.identifier.name=r}if(l){this.maybeConvertFromClassFunctionDeclaration(o);this.maybeConvertFromClassFunctionExpression(o)}}}t["default"]=Renamer},6265:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.traverseNode=traverseNode;var n=r(5530);var s=r(3061);const{VISITOR_KEYS:i}=s;function traverseNode(e,t,r,s,a,o,l){const c=i[e.type];if(!c)return false;const p=new n.default(r,t,s,a);if(l){if(o!=null&&o[a.parentKey])return false;return p.visitQueue([a])}for(const t of c){if(o!=null&&o[t])continue;if(p.visit(e,t)){return true}}return false}},5621:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.environmentVisitor=environmentVisitor;t.explode=explode$1;t.isExplodedVisitor=isExplodedVisitor;t.merge=merge;t.verify=verify$1;var n=r(2490);var s=r(3053);var i=r(3061);var a=r(4144);const{DEPRECATED_KEYS:o,DEPRECATED_ALIASES:l,FLIPPED_ALIAS_KEYS:c,TYPES:p,__internal__deprecationWarning:u}=i;function isVirtualType(e){return e in n}function isExplodedVisitor(e){return e==null?void 0:e._exploded}function explode$1(e){if(isExplodedVisitor(e))return e;e._exploded=true;for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=t.split("|");if(r.length===1)continue;const n=e[t];delete e[t];for(const t of r){e[t]=n}}verify$1(e);delete e.__esModule;ensureEntranceObjects(e);ensureCallbackArrays(e);for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;if(!isVirtualType(t))continue;const r=e[t];for(const e of Object.keys(r)){r[e]=wrapCheck(t,r[e])}delete e[t];const s=n[t];if(s!==null){for(const t of s){if(e[t]){mergePair(e[t],r)}else{e[t]=r}}}else{mergePair(e,r)}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;let r=c[t];if(t in o){const e=o[t];u(t,e,"Visitor ");r=[e]}else if(t in l){const e=l[t];u(t,e,"Visitor ");r=c[e]}if(!r)continue;const n=e[t];delete e[t];for(const t of r){const r=e[t];if(r){mergePair(r,n)}else{e[t]=Object.assign({},n)}}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;ensureCallbackArrays(e[t])}return e}function verify$1(e){if(e._verified)return;if(typeof e==="function"){throw new Error("You passed `traverse()` a function when it expected a visitor object, "+"are you sure you didn't mean `{ enter: Function }`?")}for(const t of Object.keys(e)){if(t==="enter"||t==="exit"){validateVisitorMethods(t,e[t])}if(shouldIgnoreKey(t))continue;if(!p.includes(t)){throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type in @babel/traverse ${"7.27.0"}`)}const r=e[t];if(typeof r==="object"){for(const e of Object.keys(r)){if(e==="enter"||e==="exit"){validateVisitorMethods(`${t}.${e}`,r[e])}else{throw new Error("You passed `traverse()` a visitor object with the property "+`${t} that has the invalid property ${e}`)}}}}e._verified=true}function validateVisitorMethods(e,t){const r=[].concat(t);for(const t of r){if(typeof t!=="function"){throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}}}function merge(e,t=[],r){const n={_verified:true,_exploded:true};{Object.defineProperty(n,"_exploded",{enumerable:false});Object.defineProperty(n,"_verified",{enumerable:false})}for(let s=0;s<e.length;s++){const i=explode$1(e[s]);const a=t[s];let o=i;if(a||r){o=wrapWithStateOrWrapper(o,a,r)}mergePair(n,o);for(const e of Object.keys(i)){if(shouldIgnoreKey(e))continue;let t=i[e];if(a||r){t=wrapWithStateOrWrapper(t,a,r)}const s=n[e]||(n[e]={});mergePair(s,t)}}return n}function wrapWithStateOrWrapper(e,t,r){const n={};for(const s of["enter","exit"]){let i=e[s];if(!Array.isArray(i))continue;i=i.map((function(e){let n=e;if(t){n=function(r){e.call(t,r,t)}}if(r){n=r(t==null?void 0:t.key,s,n)}if(n!==e){n.toString=()=>e.toString()}return n}));n[s]=i}return n}function ensureEntranceObjects(e){for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];if(typeof r==="function"){e[t]={enter:r}}}}function ensureCallbackArrays(e){if(e.enter&&!Array.isArray(e.enter))e.enter=[e.enter];if(e.exit&&!Array.isArray(e.exit))e.exit=[e.exit]}function wrapCheck(e,t){const r=`is${e}`;const n=s[r];const newFn=function(e){if(n.call(e)){return t.apply(this,arguments)}};newFn.toString=()=>t.toString();return newFn}function shouldIgnoreKey(e){if(e[0]==="_")return true;if(e==="enter"||e==="exit"||e==="shouldSkip")return true;if(e==="denylist"||e==="noScope"||e==="skipKeys"){return true}{if(e==="blacklist"){return true}}return false}function mergePair(e,t){for(const r of["enter","exit"]){if(!t[r])continue;e[r]=[].concat(e[r]||[],t[r])}}const d={FunctionParent(e){if(e.isArrowFunctionExpression())return;e.skip();if(e.isMethod()){if(!e.requeueComputedKeyAndDecorators){a.requeueComputedKeyAndDecorators.call(e)}else{e.requeueComputedKeyAndDecorators()}}},Property(e){if(e.isObjectProperty())return;e.skip();if(!e.requeueComputedKeyAndDecorators){a.requeueComputedKeyAndDecorators.call(e)}else{e.requeueComputedKeyAndDecorators()}}};function environmentVisitor(e){return merge([d,e])}},2856:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=assertNode;var n=r(6087);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},1501:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertAccessor=assertAccessor;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertArrayExpression=assertArrayExpression;t.assertArrayPattern=assertArrayPattern;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertAssignmentPattern=assertAssignmentPattern;t.assertAwaitExpression=assertAwaitExpression;t.assertBigIntLiteral=assertBigIntLiteral;t.assertBinary=assertBinary;t.assertBinaryExpression=assertBinaryExpression;t.assertBindExpression=assertBindExpression;t.assertBlock=assertBlock;t.assertBlockParent=assertBlockParent;t.assertBlockStatement=assertBlockStatement;t.assertBooleanLiteral=assertBooleanLiteral;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertClass=assertClass;t.assertClassAccessorProperty=assertClassAccessorProperty;t.assertClassBody=assertClassBody;t.assertClassDeclaration=assertClassDeclaration;t.assertClassExpression=assertClassExpression;t.assertClassImplements=assertClassImplements;t.assertClassMethod=assertClassMethod;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassProperty=assertClassProperty;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDecimalLiteral=assertDecimalLiteral;t.assertDeclaration=assertDeclaration;t.assertDeclareClass=assertDeclareClass;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertDecorator=assertDecorator;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertDoExpression=assertDoExpression;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertEnumBody=assertEnumBody;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertEnumMember=assertEnumMember;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertExportSpecifier=assertExportSpecifier;t.assertExpression=assertExpression;t.assertExpressionStatement=assertExpressionStatement;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFile=assertFile;t.assertFlow=assertFlow;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertFlowType=assertFlowType;t.assertFor=assertFor;t.assertForInStatement=assertForInStatement;t.assertForOfStatement=assertForOfStatement;t.assertForStatement=assertForStatement;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertFunctionParent=assertFunctionParent;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertImmutable=assertImmutable;t.assertImport=assertImport;t.assertImportAttribute=assertImportAttribute;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportExpression=assertImportExpression;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportOrExportDeclaration=assertImportOrExportDeclaration;t.assertImportSpecifier=assertImportSpecifier;t.assertIndexedAccessType=assertIndexedAccessType;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertInterpreterDirective=assertInterpreterDirective;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertJSX=assertJSX;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXFragment=assertJSXFragment;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXText=assertJSXText;t.assertLVal=assertLVal;t.assertLabeledStatement=assertLabeledStatement;t.assertLiteral=assertLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertLoop=assertLoop;t.assertMemberExpression=assertMemberExpression;t.assertMetaProperty=assertMetaProperty;t.assertMethod=assertMethod;t.assertMiscellaneous=assertMiscellaneous;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertModuleDeclaration=assertModuleDeclaration;t.assertModuleExpression=assertModuleExpression;t.assertModuleSpecifier=assertModuleSpecifier;t.assertNewExpression=assertNewExpression;t.assertNoop=assertNoop;t.assertNullLiteral=assertNullLiteral;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteral=assertNumberLiteral;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertNumericLiteral=assertNumericLiteral;t.assertObjectExpression=assertObjectExpression;t.assertObjectMember=assertObjectMember;t.assertObjectMethod=assertObjectMethod;t.assertObjectPattern=assertObjectPattern;t.assertObjectProperty=assertObjectProperty;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertPattern=assertPattern;t.assertPatternLike=assertPatternLike;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPlaceholder=assertPlaceholder;t.assertPrivate=assertPrivate;t.assertPrivateName=assertPrivateName;t.assertProgram=assertProgram;t.assertProperty=assertProperty;t.assertPureish=assertPureish;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertRecordExpression=assertRecordExpression;t.assertRegExpLiteral=assertRegExpLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestElement=assertRestElement;t.assertRestProperty=assertRestProperty;t.assertReturnStatement=assertReturnStatement;t.assertScopable=assertScopable;t.assertSequenceExpression=assertSequenceExpression;t.assertSpreadElement=assertSpreadElement;t.assertSpreadProperty=assertSpreadProperty;t.assertStandardized=assertStandardized;t.assertStatement=assertStatement;t.assertStaticBlock=assertStaticBlock;t.assertStringLiteral=assertStringLiteral;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSuper=assertSuper;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSArrayType=assertTSArrayType;t.assertTSAsExpression=assertTSAsExpression;t.assertTSBaseType=assertTSBaseType;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConditionalType=assertTSConditionalType;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSConstructorType=assertTSConstructorType;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSEntityName=assertTSEntityName;t.assertTSEnumBody=assertTSEnumBody;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSFunctionType=assertTSFunctionType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSImportType=assertTSImportType;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSInferType=assertTSInferType;t.assertTSInstantiationExpression=assertTSInstantiationExpression;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSLiteralType=assertTSLiteralType;t.assertTSMappedType=assertTSMappedType;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSOptionalType=assertTSOptionalType;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSRestType=assertTSRestType;t.assertTSSatisfiesExpression=assertTSSatisfiesExpression;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSTemplateLiteralType=assertTSTemplateLiteralType;t.assertTSThisType=assertTSThisType;t.assertTSTupleType=assertTSTupleType;t.assertTSType=assertTSType;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSTypeElement=assertTSTypeElement;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSTypeParameter=assertTSTypeParameter;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeReference=assertTSTypeReference;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnionType=assertTSUnionType;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertTerminatorless=assertTerminatorless;t.assertThisExpression=assertThisExpression;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertThrowStatement=assertThrowStatement;t.assertTopicReference=assertTopicReference;t.assertTryStatement=assertTryStatement;t.assertTupleExpression=assertTupleExpression;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertTypeScript=assertTypeScript;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertUnaryExpression=assertUnaryExpression;t.assertUnaryLike=assertUnaryLike;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertUpdateExpression=assertUpdateExpression;t.assertUserWhitespacable=assertUserWhitespacable;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertWhile=assertWhile;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertYieldExpression=assertYieldExpression;var n=r(7670);var s=r(8760);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertImportExpression(e,t){assert("ImportExpression",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertClassAccessorProperty(e,t){assert("ClassAccessorProperty",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTopicReference(e,t){assert("TopicReference",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSTemplateLiteralType(e,t){assert("TSTemplateLiteralType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSInstantiationExpression(e,t){assert("TSInstantiationExpression",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSSatisfiesExpression(e,t){assert("TSSatisfiesExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumBody(e,t){assert("TSEnumBody",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertStandardized(e,t){assert("Standardized",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertImportOrExportDeclaration(e,t){assert("ImportOrExportDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertAccessor(e,t){assert("Accessor",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertMiscellaneous(e,t){assert("Miscellaneous",e,t)}function assertTypeScript(e,t){assert("TypeScript",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){(0,s.default)("assertNumberLiteral","assertNumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){(0,s.default)("assertRegexLiteral","assertRegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){(0,s.default)("assertRestProperty","assertRestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){(0,s.default)("assertSpreadProperty","assertSpreadElement");assert("SpreadProperty",e,t)}function assertModuleDeclaration(e,t){(0,s.default)("assertModuleDeclaration","assertImportOrExportDeclaration");assert("ModuleDeclaration",e,t)}},5164:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createFlowUnionType;var n=r(4755);var s=r(1078);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},1655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(4755);var s=t["default"]=createTypeAnnotationBasedOnTypeof;function createTypeAnnotationBasedOnTypeof(e){switch(e){case"string":return(0,n.stringTypeAnnotation)();case"number":return(0,n.numberTypeAnnotation)();case"undefined":return(0,n.voidTypeAnnotation)();case"boolean":return(0,n.booleanTypeAnnotation)();case"function":return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"));case"object":return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"));case"symbol":return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"));case"bigint":return(0,n.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+e)}},4755:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(3259);Object.keys(n).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return n[e]}})}));var s=r(7903);Object.keys(s).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return s[e]}})}))},3259:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.anyTypeAnnotation=anyTypeAnnotation;t.argumentPlaceholder=argumentPlaceholder;t.arrayExpression=arrayExpression;t.arrayPattern=arrayPattern;t.arrayTypeAnnotation=arrayTypeAnnotation;t.arrowFunctionExpression=arrowFunctionExpression;t.assignmentExpression=assignmentExpression;t.assignmentPattern=assignmentPattern;t.awaitExpression=awaitExpression;t.bigIntLiteral=bigIntLiteral;t.binaryExpression=binaryExpression;t.bindExpression=bindExpression;t.blockStatement=blockStatement;t.booleanLiteral=booleanLiteral;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.classAccessorProperty=classAccessorProperty;t.classBody=classBody;t.classDeclaration=classDeclaration;t.classExpression=classExpression;t.classImplements=classImplements;t.classMethod=classMethod;t.classPrivateMethod=classPrivateMethod;t.classPrivateProperty=classPrivateProperty;t.classProperty=classProperty;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.decimalLiteral=decimalLiteral;t.declareClass=declareClass;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declareExportDeclaration=declareExportDeclaration;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareOpaqueType=declareOpaqueType;t.declareTypeAlias=declareTypeAlias;t.declareVariable=declareVariable;t.declaredPredicate=declaredPredicate;t.decorator=decorator;t.directive=directive;t.directiveLiteral=directiveLiteral;t.doExpression=doExpression;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.emptyTypeAnnotation=emptyTypeAnnotation;t.enumBooleanBody=enumBooleanBody;t.enumBooleanMember=enumBooleanMember;t.enumDeclaration=enumDeclaration;t.enumDefaultedMember=enumDefaultedMember;t.enumNumberBody=enumNumberBody;t.enumNumberMember=enumNumberMember;t.enumStringBody=enumStringBody;t.enumStringMember=enumStringMember;t.enumSymbolBody=enumSymbolBody;t.existsTypeAnnotation=existsTypeAnnotation;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportDefaultSpecifier=exportDefaultSpecifier;t.exportNamedDeclaration=exportNamedDeclaration;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.exportSpecifier=exportSpecifier;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forOfStatement=forOfStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.identifier=identifier;t.ifStatement=ifStatement;t["import"]=_import;t.importAttribute=importAttribute;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importExpression=importExpression;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.indexedAccessType=indexedAccessType;t.inferredPredicate=inferredPredicate;t.interfaceDeclaration=interfaceDeclaration;t.interfaceExtends=interfaceExtends;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.interpreterDirective=interpreterDirective;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXText=t.jsxText=jsxText;t.labeledStatement=labeledStatement;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.metaProperty=metaProperty;t.mixedTypeAnnotation=mixedTypeAnnotation;t.moduleExpression=moduleExpression;t.newExpression=newExpression;t.noop=noop;t.nullLiteral=nullLiteral;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteral=NumberLiteral;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.numericLiteral=numericLiteral;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectPattern=objectPattern;t.objectProperty=objectProperty;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.optionalCallExpression=optionalCallExpression;t.optionalIndexedAccessType=optionalIndexedAccessType;t.optionalMemberExpression=optionalMemberExpression;t.parenthesizedExpression=parenthesizedExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.pipelineTopicExpression=pipelineTopicExpression;t.placeholder=placeholder;t.privateName=privateName;t.program=program;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.recordExpression=recordExpression;t.regExpLiteral=regExpLiteral;t.regexLiteral=RegexLiteral;t.restElement=restElement;t.restProperty=RestProperty;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.spreadElement=spreadElement;t.spreadProperty=SpreadProperty;t.staticBlock=staticBlock;t.stringLiteral=stringLiteral;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t["super"]=_super;t.switchCase=switchCase;t.switchStatement=switchStatement;t.symbolTypeAnnotation=symbolTypeAnnotation;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.thisExpression=thisExpression;t.thisTypeAnnotation=thisTypeAnnotation;t.throwStatement=throwStatement;t.topicReference=topicReference;t.tryStatement=tryStatement;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSEnumBody=t.tsEnumBody=tsEnumBody;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSImportType=t.tsImportType=tsImportType;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSInferType=t.tsInferType=tsInferType;t.tSInstantiationExpression=t.tsInstantiationExpression=tsInstantiationExpression;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSRestType=t.tsRestType=tsRestType;t.tSSatisfiesExpression=t.tsSatisfiesExpression=tsSatisfiesExpression;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSTemplateLiteralType=t.tsTemplateLiteralType=tsTemplateLiteralType;t.tSThisType=t.tsThisType=tsThisType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tupleExpression=tupleExpression;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.unaryExpression=unaryExpression;t.unionTypeAnnotation=unionTypeAnnotation;t.updateExpression=updateExpression;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.whileStatement=whileStatement;t.withStatement=withStatement;t.yieldExpression=yieldExpression;var n=r(8966);var s=r(8760);var i=r(6624);const{validateInternal:a}=n;const{NODE_FIELDS:o}=i;function arrayExpression(e=[]){const t={type:"ArrayExpression",elements:e};const r=o.ArrayExpression;a(r.elements,t,"elements",e,1);return t}function assignmentExpression(e,t,r){const n={type:"AssignmentExpression",operator:e,left:t,right:r};const s=o.AssignmentExpression;a(s.operator,n,"operator",e);a(s.left,n,"left",t,1);a(s.right,n,"right",r,1);return n}function binaryExpression(e,t,r){const n={type:"BinaryExpression",operator:e,left:t,right:r};const s=o.BinaryExpression;a(s.operator,n,"operator",e);a(s.left,n,"left",t,1);a(s.right,n,"right",r,1);return n}function interpreterDirective(e){const t={type:"InterpreterDirective",value:e};const r=o.InterpreterDirective;a(r.value,t,"value",e);return t}function directive(e){const t={type:"Directive",value:e};const r=o.Directive;a(r.value,t,"value",e,1);return t}function directiveLiteral(e){const t={type:"DirectiveLiteral",value:e};const r=o.DirectiveLiteral;a(r.value,t,"value",e);return t}function blockStatement(e,t=[]){const r={type:"BlockStatement",body:e,directives:t};const n=o.BlockStatement;a(n.body,r,"body",e,1);a(n.directives,r,"directives",t,1);return r}function breakStatement(e=null){const t={type:"BreakStatement",label:e};const r=o.BreakStatement;a(r.label,t,"label",e,1);return t}function callExpression(e,t){const r={type:"CallExpression",callee:e,arguments:t};const n=o.CallExpression;a(n.callee,r,"callee",e,1);a(n.arguments,r,"arguments",t,1);return r}function catchClause(e=null,t){const r={type:"CatchClause",param:e,body:t};const n=o.CatchClause;a(n.param,r,"param",e,1);a(n.body,r,"body",t,1);return r}function conditionalExpression(e,t,r){const n={type:"ConditionalExpression",test:e,consequent:t,alternate:r};const s=o.ConditionalExpression;a(s.test,n,"test",e,1);a(s.consequent,n,"consequent",t,1);a(s.alternate,n,"alternate",r,1);return n}function continueStatement(e=null){const t={type:"ContinueStatement",label:e};const r=o.ContinueStatement;a(r.label,t,"label",e,1);return t}function debuggerStatement(){return{type:"DebuggerStatement"}}function doWhileStatement(e,t){const r={type:"DoWhileStatement",test:e,body:t};const n=o.DoWhileStatement;a(n.test,r,"test",e,1);a(n.body,r,"body",t,1);return r}function emptyStatement(){return{type:"EmptyStatement"}}function expressionStatement(e){const t={type:"ExpressionStatement",expression:e};const r=o.ExpressionStatement;a(r.expression,t,"expression",e,1);return t}function file(e,t=null,r=null){const n={type:"File",program:e,comments:t,tokens:r};const s=o.File;a(s.program,n,"program",e,1);a(s.comments,n,"comments",t,1);a(s.tokens,n,"tokens",r);return n}function forInStatement(e,t,r){const n={type:"ForInStatement",left:e,right:t,body:r};const s=o.ForInStatement;a(s.left,n,"left",e,1);a(s.right,n,"right",t,1);a(s.body,n,"body",r,1);return n}function forStatement(e=null,t=null,r=null,n){const s={type:"ForStatement",init:e,test:t,update:r,body:n};const i=o.ForStatement;a(i.init,s,"init",e,1);a(i.test,s,"test",t,1);a(i.update,s,"update",r,1);a(i.body,s,"body",n,1);return s}function functionDeclaration(e=null,t,r,n=false,s=false){const i={type:"FunctionDeclaration",id:e,params:t,body:r,generator:n,async:s};const l=o.FunctionDeclaration;a(l.id,i,"id",e,1);a(l.params,i,"params",t,1);a(l.body,i,"body",r,1);a(l.generator,i,"generator",n);a(l.async,i,"async",s);return i}function functionExpression(e=null,t,r,n=false,s=false){const i={type:"FunctionExpression",id:e,params:t,body:r,generator:n,async:s};const l=o.FunctionExpression;a(l.id,i,"id",e,1);a(l.params,i,"params",t,1);a(l.body,i,"body",r,1);a(l.generator,i,"generator",n);a(l.async,i,"async",s);return i}function identifier(e){const t={type:"Identifier",name:e};const r=o.Identifier;a(r.name,t,"name",e);return t}function ifStatement(e,t,r=null){const n={type:"IfStatement",test:e,consequent:t,alternate:r};const s=o.IfStatement;a(s.test,n,"test",e,1);a(s.consequent,n,"consequent",t,1);a(s.alternate,n,"alternate",r,1);return n}function labeledStatement(e,t){const r={type:"LabeledStatement",label:e,body:t};const n=o.LabeledStatement;a(n.label,r,"label",e,1);a(n.body,r,"body",t,1);return r}function stringLiteral(e){const t={type:"StringLiteral",value:e};const r=o.StringLiteral;a(r.value,t,"value",e);return t}function numericLiteral(e){const t={type:"NumericLiteral",value:e};const r=o.NumericLiteral;a(r.value,t,"value",e);return t}function nullLiteral(){return{type:"NullLiteral"}}function booleanLiteral(e){const t={type:"BooleanLiteral",value:e};const r=o.BooleanLiteral;a(r.value,t,"value",e);return t}function regExpLiteral(e,t=""){const r={type:"RegExpLiteral",pattern:e,flags:t};const n=o.RegExpLiteral;a(n.pattern,r,"pattern",e);a(n.flags,r,"flags",t);return r}function logicalExpression(e,t,r){const n={type:"LogicalExpression",operator:e,left:t,right:r};const s=o.LogicalExpression;a(s.operator,n,"operator",e);a(s.left,n,"left",t,1);a(s.right,n,"right",r,1);return n}function memberExpression(e,t,r=false,n=null){const s={type:"MemberExpression",object:e,property:t,computed:r,optional:n};const i=o.MemberExpression;a(i.object,s,"object",e,1);a(i.property,s,"property",t,1);a(i.computed,s,"computed",r);a(i.optional,s,"optional",n);return s}function newExpression(e,t){const r={type:"NewExpression",callee:e,arguments:t};const n=o.NewExpression;a(n.callee,r,"callee",e,1);a(n.arguments,r,"arguments",t,1);return r}function program(e,t=[],r="script",n=null){const s={type:"Program",body:e,directives:t,sourceType:r,interpreter:n};const i=o.Program;a(i.body,s,"body",e,1);a(i.directives,s,"directives",t,1);a(i.sourceType,s,"sourceType",r);a(i.interpreter,s,"interpreter",n,1);return s}function objectExpression(e){const t={type:"ObjectExpression",properties:e};const r=o.ObjectExpression;a(r.properties,t,"properties",e,1);return t}function objectMethod(e="method",t,r,n,s=false,i=false,l=false){const c={type:"ObjectMethod",kind:e,key:t,params:r,body:n,computed:s,generator:i,async:l};const p=o.ObjectMethod;a(p.kind,c,"kind",e);a(p.key,c,"key",t,1);a(p.params,c,"params",r,1);a(p.body,c,"body",n,1);a(p.computed,c,"computed",s);a(p.generator,c,"generator",i);a(p.async,c,"async",l);return c}function objectProperty(e,t,r=false,n=false,s=null){const i={type:"ObjectProperty",key:e,value:t,computed:r,shorthand:n,decorators:s};const l=o.ObjectProperty;a(l.key,i,"key",e,1);a(l.value,i,"value",t,1);a(l.computed,i,"computed",r);a(l.shorthand,i,"shorthand",n);a(l.decorators,i,"decorators",s,1);return i}function restElement(e){const t={type:"RestElement",argument:e};const r=o.RestElement;a(r.argument,t,"argument",e,1);return t}function returnStatement(e=null){const t={type:"ReturnStatement",argument:e};const r=o.ReturnStatement;a(r.argument,t,"argument",e,1);return t}function sequenceExpression(e){const t={type:"SequenceExpression",expressions:e};const r=o.SequenceExpression;a(r.expressions,t,"expressions",e,1);return t}function parenthesizedExpression(e){const t={type:"ParenthesizedExpression",expression:e};const r=o.ParenthesizedExpression;a(r.expression,t,"expression",e,1);return t}function switchCase(e=null,t){const r={type:"SwitchCase",test:e,consequent:t};const n=o.SwitchCase;a(n.test,r,"test",e,1);a(n.consequent,r,"consequent",t,1);return r}function switchStatement(e,t){const r={type:"SwitchStatement",discriminant:e,cases:t};const n=o.SwitchStatement;a(n.discriminant,r,"discriminant",e,1);a(n.cases,r,"cases",t,1);return r}function thisExpression(){return{type:"ThisExpression"}}function throwStatement(e){const t={type:"ThrowStatement",argument:e};const r=o.ThrowStatement;a(r.argument,t,"argument",e,1);return t}function tryStatement(e,t=null,r=null){const n={type:"TryStatement",block:e,handler:t,finalizer:r};const s=o.TryStatement;a(s.block,n,"block",e,1);a(s.handler,n,"handler",t,1);a(s.finalizer,n,"finalizer",r,1);return n}function unaryExpression(e,t,r=true){const n={type:"UnaryExpression",operator:e,argument:t,prefix:r};const s=o.UnaryExpression;a(s.operator,n,"operator",e);a(s.argument,n,"argument",t,1);a(s.prefix,n,"prefix",r);return n}function updateExpression(e,t,r=false){const n={type:"UpdateExpression",operator:e,argument:t,prefix:r};const s=o.UpdateExpression;a(s.operator,n,"operator",e);a(s.argument,n,"argument",t,1);a(s.prefix,n,"prefix",r);return n}function variableDeclaration(e,t){const r={type:"VariableDeclaration",kind:e,declarations:t};const n=o.VariableDeclaration;a(n.kind,r,"kind",e);a(n.declarations,r,"declarations",t,1);return r}function variableDeclarator(e,t=null){const r={type:"VariableDeclarator",id:e,init:t};const n=o.VariableDeclarator;a(n.id,r,"id",e,1);a(n.init,r,"init",t,1);return r}function whileStatement(e,t){const r={type:"WhileStatement",test:e,body:t};const n=o.WhileStatement;a(n.test,r,"test",e,1);a(n.body,r,"body",t,1);return r}function withStatement(e,t){const r={type:"WithStatement",object:e,body:t};const n=o.WithStatement;a(n.object,r,"object",e,1);a(n.body,r,"body",t,1);return r}function assignmentPattern(e,t){const r={type:"AssignmentPattern",left:e,right:t};const n=o.AssignmentPattern;a(n.left,r,"left",e,1);a(n.right,r,"right",t,1);return r}function arrayPattern(e){const t={type:"ArrayPattern",elements:e};const r=o.ArrayPattern;a(r.elements,t,"elements",e,1);return t}function arrowFunctionExpression(e,t,r=false){const n={type:"ArrowFunctionExpression",params:e,body:t,async:r,expression:null};const s=o.ArrowFunctionExpression;a(s.params,n,"params",e,1);a(s.body,n,"body",t,1);a(s.async,n,"async",r);return n}function classBody(e){const t={type:"ClassBody",body:e};const r=o.ClassBody;a(r.body,t,"body",e,1);return t}function classExpression(e=null,t=null,r,n=null){const s={type:"ClassExpression",id:e,superClass:t,body:r,decorators:n};const i=o.ClassExpression;a(i.id,s,"id",e,1);a(i.superClass,s,"superClass",t,1);a(i.body,s,"body",r,1);a(i.decorators,s,"decorators",n,1);return s}function classDeclaration(e=null,t=null,r,n=null){const s={type:"ClassDeclaration",id:e,superClass:t,body:r,decorators:n};const i=o.ClassDeclaration;a(i.id,s,"id",e,1);a(i.superClass,s,"superClass",t,1);a(i.body,s,"body",r,1);a(i.decorators,s,"decorators",n,1);return s}function exportAllDeclaration(e){const t={type:"ExportAllDeclaration",source:e};const r=o.ExportAllDeclaration;a(r.source,t,"source",e,1);return t}function exportDefaultDeclaration(e){const t={type:"ExportDefaultDeclaration",declaration:e};const r=o.ExportDefaultDeclaration;a(r.declaration,t,"declaration",e,1);return t}function exportNamedDeclaration(e=null,t=[],r=null){const n={type:"ExportNamedDeclaration",declaration:e,specifiers:t,source:r};const s=o.ExportNamedDeclaration;a(s.declaration,n,"declaration",e,1);a(s.specifiers,n,"specifiers",t,1);a(s.source,n,"source",r,1);return n}function exportSpecifier(e,t){const r={type:"ExportSpecifier",local:e,exported:t};const n=o.ExportSpecifier;a(n.local,r,"local",e,1);a(n.exported,r,"exported",t,1);return r}function forOfStatement(e,t,r,n=false){const s={type:"ForOfStatement",left:e,right:t,body:r,await:n};const i=o.ForOfStatement;a(i.left,s,"left",e,1);a(i.right,s,"right",t,1);a(i.body,s,"body",r,1);a(i.await,s,"await",n);return s}function importDeclaration(e,t){const r={type:"ImportDeclaration",specifiers:e,source:t};const n=o.ImportDeclaration;a(n.specifiers,r,"specifiers",e,1);a(n.source,r,"source",t,1);return r}function importDefaultSpecifier(e){const t={type:"ImportDefaultSpecifier",local:e};const r=o.ImportDefaultSpecifier;a(r.local,t,"local",e,1);return t}function importNamespaceSpecifier(e){const t={type:"ImportNamespaceSpecifier",local:e};const r=o.ImportNamespaceSpecifier;a(r.local,t,"local",e,1);return t}function importSpecifier(e,t){const r={type:"ImportSpecifier",local:e,imported:t};const n=o.ImportSpecifier;a(n.local,r,"local",e,1);a(n.imported,r,"imported",t,1);return r}function importExpression(e,t=null){const r={type:"ImportExpression",source:e,options:t};const n=o.ImportExpression;a(n.source,r,"source",e,1);a(n.options,r,"options",t,1);return r}function metaProperty(e,t){const r={type:"MetaProperty",meta:e,property:t};const n=o.MetaProperty;a(n.meta,r,"meta",e,1);a(n.property,r,"property",t,1);return r}function classMethod(e="method",t,r,n,s=false,i=false,l=false,c=false){const p={type:"ClassMethod",kind:e,key:t,params:r,body:n,computed:s,static:i,generator:l,async:c};const u=o.ClassMethod;a(u.kind,p,"kind",e);a(u.key,p,"key",t,1);a(u.params,p,"params",r,1);a(u.body,p,"body",n,1);a(u.computed,p,"computed",s);a(u.static,p,"static",i);a(u.generator,p,"generator",l);a(u.async,p,"async",c);return p}function objectPattern(e){const t={type:"ObjectPattern",properties:e};const r=o.ObjectPattern;a(r.properties,t,"properties",e,1);return t}function spreadElement(e){const t={type:"SpreadElement",argument:e};const r=o.SpreadElement;a(r.argument,t,"argument",e,1);return t}function _super(){return{type:"Super"}}function taggedTemplateExpression(e,t){const r={type:"TaggedTemplateExpression",tag:e,quasi:t};const n=o.TaggedTemplateExpression;a(n.tag,r,"tag",e,1);a(n.quasi,r,"quasi",t,1);return r}function templateElement(e,t=false){const r={type:"TemplateElement",value:e,tail:t};const n=o.TemplateElement;a(n.value,r,"value",e);a(n.tail,r,"tail",t);return r}function templateLiteral(e,t){const r={type:"TemplateLiteral",quasis:e,expressions:t};const n=o.TemplateLiteral;a(n.quasis,r,"quasis",e,1);a(n.expressions,r,"expressions",t,1);return r}function yieldExpression(e=null,t=false){const r={type:"YieldExpression",argument:e,delegate:t};const n=o.YieldExpression;a(n.argument,r,"argument",e,1);a(n.delegate,r,"delegate",t);return r}function awaitExpression(e){const t={type:"AwaitExpression",argument:e};const r=o.AwaitExpression;a(r.argument,t,"argument",e,1);return t}function _import(){return{type:"Import"}}function bigIntLiteral(e){const t={type:"BigIntLiteral",value:e};const r=o.BigIntLiteral;a(r.value,t,"value",e);return t}function exportNamespaceSpecifier(e){const t={type:"ExportNamespaceSpecifier",exported:e};const r=o.ExportNamespaceSpecifier;a(r.exported,t,"exported",e,1);return t}function optionalMemberExpression(e,t,r=false,n){const s={type:"OptionalMemberExpression",object:e,property:t,computed:r,optional:n};const i=o.OptionalMemberExpression;a(i.object,s,"object",e,1);a(i.property,s,"property",t,1);a(i.computed,s,"computed",r);a(i.optional,s,"optional",n);return s}function optionalCallExpression(e,t,r){const n={type:"OptionalCallExpression",callee:e,arguments:t,optional:r};const s=o.OptionalCallExpression;a(s.callee,n,"callee",e,1);a(s.arguments,n,"arguments",t,1);a(s.optional,n,"optional",r);return n}function classProperty(e,t=null,r=null,n=null,s=false,i=false){const l={type:"ClassProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:s,static:i};const c=o.ClassProperty;a(c.key,l,"key",e,1);a(c.value,l,"value",t,1);a(c.typeAnnotation,l,"typeAnnotation",r,1);a(c.decorators,l,"decorators",n,1);a(c.computed,l,"computed",s);a(c.static,l,"static",i);return l}function classAccessorProperty(e,t=null,r=null,n=null,s=false,i=false){const l={type:"ClassAccessorProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:s,static:i};const c=o.ClassAccessorProperty;a(c.key,l,"key",e,1);a(c.value,l,"value",t,1);a(c.typeAnnotation,l,"typeAnnotation",r,1);a(c.decorators,l,"decorators",n,1);a(c.computed,l,"computed",s);a(c.static,l,"static",i);return l}function classPrivateProperty(e,t=null,r=null,n=false){const s={type:"ClassPrivateProperty",key:e,value:t,decorators:r,static:n};const i=o.ClassPrivateProperty;a(i.key,s,"key",e,1);a(i.value,s,"value",t,1);a(i.decorators,s,"decorators",r,1);a(i.static,s,"static",n);return s}function classPrivateMethod(e="method",t,r,n,s=false){const i={type:"ClassPrivateMethod",kind:e,key:t,params:r,body:n,static:s};const l=o.ClassPrivateMethod;a(l.kind,i,"kind",e);a(l.key,i,"key",t,1);a(l.params,i,"params",r,1);a(l.body,i,"body",n,1);a(l.static,i,"static",s);return i}function privateName(e){const t={type:"PrivateName",id:e};const r=o.PrivateName;a(r.id,t,"id",e,1);return t}function staticBlock(e){const t={type:"StaticBlock",body:e};const r=o.StaticBlock;a(r.body,t,"body",e,1);return t}function importAttribute(e,t){const r={type:"ImportAttribute",key:e,value:t};const n=o.ImportAttribute;a(n.key,r,"key",e,1);a(n.value,r,"value",t,1);return r}function anyTypeAnnotation(){return{type:"AnyTypeAnnotation"}}function arrayTypeAnnotation(e){const t={type:"ArrayTypeAnnotation",elementType:e};const r=o.ArrayTypeAnnotation;a(r.elementType,t,"elementType",e,1);return t}function booleanTypeAnnotation(){return{type:"BooleanTypeAnnotation"}}function booleanLiteralTypeAnnotation(e){const t={type:"BooleanLiteralTypeAnnotation",value:e};const r=o.BooleanLiteralTypeAnnotation;a(r.value,t,"value",e);return t}function nullLiteralTypeAnnotation(){return{type:"NullLiteralTypeAnnotation"}}function classImplements(e,t=null){const r={type:"ClassImplements",id:e,typeParameters:t};const n=o.ClassImplements;a(n.id,r,"id",e,1);a(n.typeParameters,r,"typeParameters",t,1);return r}function declareClass(e,t=null,r=null,n){const s={type:"DeclareClass",id:e,typeParameters:t,extends:r,body:n};const i=o.DeclareClass;a(i.id,s,"id",e,1);a(i.typeParameters,s,"typeParameters",t,1);a(i.extends,s,"extends",r,1);a(i.body,s,"body",n,1);return s}function declareFunction(e){const t={type:"DeclareFunction",id:e};const r=o.DeclareFunction;a(r.id,t,"id",e,1);return t}function declareInterface(e,t=null,r=null,n){const s={type:"DeclareInterface",id:e,typeParameters:t,extends:r,body:n};const i=o.DeclareInterface;a(i.id,s,"id",e,1);a(i.typeParameters,s,"typeParameters",t,1);a(i.extends,s,"extends",r,1);a(i.body,s,"body",n,1);return s}function declareModule(e,t,r=null){const n={type:"DeclareModule",id:e,body:t,kind:r};const s=o.DeclareModule;a(s.id,n,"id",e,1);a(s.body,n,"body",t,1);a(s.kind,n,"kind",r);return n}function declareModuleExports(e){const t={type:"DeclareModuleExports",typeAnnotation:e};const r=o.DeclareModuleExports;a(r.typeAnnotation,t,"typeAnnotation",e,1);return t}function declareTypeAlias(e,t=null,r){const n={type:"DeclareTypeAlias",id:e,typeParameters:t,right:r};const s=o.DeclareTypeAlias;a(s.id,n,"id",e,1);a(s.typeParameters,n,"typeParameters",t,1);a(s.right,n,"right",r,1);return n}function declareOpaqueType(e,t=null,r=null){const n={type:"DeclareOpaqueType",id:e,typeParameters:t,supertype:r};const s=o.DeclareOpaqueType;a(s.id,n,"id",e,1);a(s.typeParameters,n,"typeParameters",t,1);a(s.supertype,n,"supertype",r,1);return n}function declareVariable(e){const t={type:"DeclareVariable",id:e};const r=o.DeclareVariable;a(r.id,t,"id",e,1);return t}function declareExportDeclaration(e=null,t=null,r=null,n=null){const s={type:"DeclareExportDeclaration",declaration:e,specifiers:t,source:r,attributes:n};const i=o.DeclareExportDeclaration;a(i.declaration,s,"declaration",e,1);a(i.specifiers,s,"specifiers",t,1);a(i.source,s,"source",r,1);a(i.attributes,s,"attributes",n,1);return s}function declareExportAllDeclaration(e,t=null){const r={type:"DeclareExportAllDeclaration",source:e,attributes:t};const n=o.DeclareExportAllDeclaration;a(n.source,r,"source",e,1);a(n.attributes,r,"attributes",t,1);return r}function declaredPredicate(e){const t={type:"DeclaredPredicate",value:e};const r=o.DeclaredPredicate;a(r.value,t,"value",e,1);return t}function existsTypeAnnotation(){return{type:"ExistsTypeAnnotation"}}function functionTypeAnnotation(e=null,t,r=null,n){const s={type:"FunctionTypeAnnotation",typeParameters:e,params:t,rest:r,returnType:n};const i=o.FunctionTypeAnnotation;a(i.typeParameters,s,"typeParameters",e,1);a(i.params,s,"params",t,1);a(i.rest,s,"rest",r,1);a(i.returnType,s,"returnType",n,1);return s}function functionTypeParam(e=null,t){const r={type:"FunctionTypeParam",name:e,typeAnnotation:t};const n=o.FunctionTypeParam;a(n.name,r,"name",e,1);a(n.typeAnnotation,r,"typeAnnotation",t,1);return r}function genericTypeAnnotation(e,t=null){const r={type:"GenericTypeAnnotation",id:e,typeParameters:t};const n=o.GenericTypeAnnotation;a(n.id,r,"id",e,1);a(n.typeParameters,r,"typeParameters",t,1);return r}function inferredPredicate(){return{type:"InferredPredicate"}}function interfaceExtends(e,t=null){const r={type:"InterfaceExtends",id:e,typeParameters:t};const n=o.InterfaceExtends;a(n.id,r,"id",e,1);a(n.typeParameters,r,"typeParameters",t,1);return r}function interfaceDeclaration(e,t=null,r=null,n){const s={type:"InterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n};const i=o.InterfaceDeclaration;a(i.id,s,"id",e,1);a(i.typeParameters,s,"typeParameters",t,1);a(i.extends,s,"extends",r,1);a(i.body,s,"body",n,1);return s}function interfaceTypeAnnotation(e=null,t){const r={type:"InterfaceTypeAnnotation",extends:e,body:t};const n=o.InterfaceTypeAnnotation;a(n.extends,r,"extends",e,1);a(n.body,r,"body",t,1);return r}function intersectionTypeAnnotation(e){const t={type:"IntersectionTypeAnnotation",types:e};const r=o.IntersectionTypeAnnotation;a(r.types,t,"types",e,1);return t}function mixedTypeAnnotation(){return{type:"MixedTypeAnnotation"}}function emptyTypeAnnotation(){return{type:"EmptyTypeAnnotation"}}function nullableTypeAnnotation(e){const t={type:"NullableTypeAnnotation",typeAnnotation:e};const r=o.NullableTypeAnnotation;a(r.typeAnnotation,t,"typeAnnotation",e,1);return t}function numberLiteralTypeAnnotation(e){const t={type:"NumberLiteralTypeAnnotation",value:e};const r=o.NumberLiteralTypeAnnotation;a(r.value,t,"value",e);return t}function numberTypeAnnotation(){return{type:"NumberTypeAnnotation"}}function objectTypeAnnotation(e,t=[],r=[],n=[],s=false){const i={type:"ObjectTypeAnnotation",properties:e,indexers:t,callProperties:r,internalSlots:n,exact:s};const l=o.ObjectTypeAnnotation;a(l.properties,i,"properties",e,1);a(l.indexers,i,"indexers",t,1);a(l.callProperties,i,"callProperties",r,1);a(l.internalSlots,i,"internalSlots",n,1);a(l.exact,i,"exact",s);return i}function objectTypeInternalSlot(e,t,r,n,s){const i={type:"ObjectTypeInternalSlot",id:e,value:t,optional:r,static:n,method:s};const l=o.ObjectTypeInternalSlot;a(l.id,i,"id",e,1);a(l.value,i,"value",t,1);a(l.optional,i,"optional",r);a(l.static,i,"static",n);a(l.method,i,"method",s);return i}function objectTypeCallProperty(e){const t={type:"ObjectTypeCallProperty",value:e,static:null};const r=o.ObjectTypeCallProperty;a(r.value,t,"value",e,1);return t}function objectTypeIndexer(e=null,t,r,n=null){const s={type:"ObjectTypeIndexer",id:e,key:t,value:r,variance:n,static:null};const i=o.ObjectTypeIndexer;a(i.id,s,"id",e,1);a(i.key,s,"key",t,1);a(i.value,s,"value",r,1);a(i.variance,s,"variance",n,1);return s}function objectTypeProperty(e,t,r=null){const n={type:"ObjectTypeProperty",key:e,value:t,variance:r,kind:null,method:null,optional:null,proto:null,static:null};const s=o.ObjectTypeProperty;a(s.key,n,"key",e,1);a(s.value,n,"value",t,1);a(s.variance,n,"variance",r,1);return n}function objectTypeSpreadProperty(e){const t={type:"ObjectTypeSpreadProperty",argument:e};const r=o.ObjectTypeSpreadProperty;a(r.argument,t,"argument",e,1);return t}function opaqueType(e,t=null,r=null,n){const s={type:"OpaqueType",id:e,typeParameters:t,supertype:r,impltype:n};const i=o.OpaqueType;a(i.id,s,"id",e,1);a(i.typeParameters,s,"typeParameters",t,1);a(i.supertype,s,"supertype",r,1);a(i.impltype,s,"impltype",n,1);return s}function qualifiedTypeIdentifier(e,t){const r={type:"QualifiedTypeIdentifier",id:e,qualification:t};const n=o.QualifiedTypeIdentifier;a(n.id,r,"id",e,1);a(n.qualification,r,"qualification",t,1);return r}function stringLiteralTypeAnnotation(e){const t={type:"StringLiteralTypeAnnotation",value:e};const r=o.StringLiteralTypeAnnotation;a(r.value,t,"value",e);return t}function stringTypeAnnotation(){return{type:"StringTypeAnnotation"}}function symbolTypeAnnotation(){return{type:"SymbolTypeAnnotation"}}function thisTypeAnnotation(){return{type:"ThisTypeAnnotation"}}function tupleTypeAnnotation(e){const t={type:"TupleTypeAnnotation",types:e};const r=o.TupleTypeAnnotation;a(r.types,t,"types",e,1);return t}function typeofTypeAnnotation(e){const t={type:"TypeofTypeAnnotation",argument:e};const r=o.TypeofTypeAnnotation;a(r.argument,t,"argument",e,1);return t}function typeAlias(e,t=null,r){const n={type:"TypeAlias",id:e,typeParameters:t,right:r};const s=o.TypeAlias;a(s.id,n,"id",e,1);a(s.typeParameters,n,"typeParameters",t,1);a(s.right,n,"right",r,1);return n}function typeAnnotation(e){const t={type:"TypeAnnotation",typeAnnotation:e};const r=o.TypeAnnotation;a(r.typeAnnotation,t,"typeAnnotation",e,1);return t}function typeCastExpression(e,t){const r={type:"TypeCastExpression",expression:e,typeAnnotation:t};const n=o.TypeCastExpression;a(n.expression,r,"expression",e,1);a(n.typeAnnotation,r,"typeAnnotation",t,1);return r}function typeParameter(e=null,t=null,r=null){const n={type:"TypeParameter",bound:e,default:t,variance:r,name:null};const s=o.TypeParameter;a(s.bound,n,"bound",e,1);a(s.default,n,"default",t,1);a(s.variance,n,"variance",r,1);return n}function typeParameterDeclaration(e){const t={type:"TypeParameterDeclaration",params:e};const r=o.TypeParameterDeclaration;a(r.params,t,"params",e,1);return t}function typeParameterInstantiation(e){const t={type:"TypeParameterInstantiation",params:e};const r=o.TypeParameterInstantiation;a(r.params,t,"params",e,1);return t}function unionTypeAnnotation(e){const t={type:"UnionTypeAnnotation",types:e};const r=o.UnionTypeAnnotation;a(r.types,t,"types",e,1);return t}function variance(e){const t={type:"Variance",kind:e};const r=o.Variance;a(r.kind,t,"kind",e);return t}function voidTypeAnnotation(){return{type:"VoidTypeAnnotation"}}function enumDeclaration(e,t){const r={type:"EnumDeclaration",id:e,body:t};const n=o.EnumDeclaration;a(n.id,r,"id",e,1);a(n.body,r,"body",t,1);return r}function enumBooleanBody(e){const t={type:"EnumBooleanBody",members:e,explicitType:null,hasUnknownMembers:null};const r=o.EnumBooleanBody;a(r.members,t,"members",e,1);return t}function enumNumberBody(e){const t={type:"EnumNumberBody",members:e,explicitType:null,hasUnknownMembers:null};const r=o.EnumNumberBody;a(r.members,t,"members",e,1);return t}function enumStringBody(e){const t={type:"EnumStringBody",members:e,explicitType:null,hasUnknownMembers:null};const r=o.EnumStringBody;a(r.members,t,"members",e,1);return t}function enumSymbolBody(e){const t={type:"EnumSymbolBody",members:e,hasUnknownMembers:null};const r=o.EnumSymbolBody;a(r.members,t,"members",e,1);return t}function enumBooleanMember(e){const t={type:"EnumBooleanMember",id:e,init:null};const r=o.EnumBooleanMember;a(r.id,t,"id",e,1);return t}function enumNumberMember(e,t){const r={type:"EnumNumberMember",id:e,init:t};const n=o.EnumNumberMember;a(n.id,r,"id",e,1);a(n.init,r,"init",t,1);return r}function enumStringMember(e,t){const r={type:"EnumStringMember",id:e,init:t};const n=o.EnumStringMember;a(n.id,r,"id",e,1);a(n.init,r,"init",t,1);return r}function enumDefaultedMember(e){const t={type:"EnumDefaultedMember",id:e};const r=o.EnumDefaultedMember;a(r.id,t,"id",e,1);return t}function indexedAccessType(e,t){const r={type:"IndexedAccessType",objectType:e,indexType:t};const n=o.IndexedAccessType;a(n.objectType,r,"objectType",e,1);a(n.indexType,r,"indexType",t,1);return r}function optionalIndexedAccessType(e,t){const r={type:"OptionalIndexedAccessType",objectType:e,indexType:t,optional:null};const n=o.OptionalIndexedAccessType;a(n.objectType,r,"objectType",e,1);a(n.indexType,r,"indexType",t,1);return r}function jsxAttribute(e,t=null){const r={type:"JSXAttribute",name:e,value:t};const n=o.JSXAttribute;a(n.name,r,"name",e,1);a(n.value,r,"value",t,1);return r}function jsxClosingElement(e){const t={type:"JSXClosingElement",name:e};const r=o.JSXClosingElement;a(r.name,t,"name",e,1);return t}function jsxElement(e,t=null,r,n=null){const s={type:"JSXElement",openingElement:e,closingElement:t,children:r,selfClosing:n};const i=o.JSXElement;a(i.openingElement,s,"openingElement",e,1);a(i.closingElement,s,"closingElement",t,1);a(i.children,s,"children",r,1);a(i.selfClosing,s,"selfClosing",n);return s}function jsxEmptyExpression(){return{type:"JSXEmptyExpression"}}function jsxExpressionContainer(e){const t={type:"JSXExpressionContainer",expression:e};const r=o.JSXExpressionContainer;a(r.expression,t,"expression",e,1);return t}function jsxSpreadChild(e){const t={type:"JSXSpreadChild",expression:e};const r=o.JSXSpreadChild;a(r.expression,t,"expression",e,1);return t}function jsxIdentifier(e){const t={type:"JSXIdentifier",name:e};const r=o.JSXIdentifier;a(r.name,t,"name",e);return t}function jsxMemberExpression(e,t){const r={type:"JSXMemberExpression",object:e,property:t};const n=o.JSXMemberExpression;a(n.object,r,"object",e,1);a(n.property,r,"property",t,1);return r}function jsxNamespacedName(e,t){const r={type:"JSXNamespacedName",namespace:e,name:t};const n=o.JSXNamespacedName;a(n.namespace,r,"namespace",e,1);a(n.name,r,"name",t,1);return r}function jsxOpeningElement(e,t,r=false){const n={type:"JSXOpeningElement",name:e,attributes:t,selfClosing:r};const s=o.JSXOpeningElement;a(s.name,n,"name",e,1);a(s.attributes,n,"attributes",t,1);a(s.selfClosing,n,"selfClosing",r);return n}function jsxSpreadAttribute(e){const t={type:"JSXSpreadAttribute",argument:e};const r=o.JSXSpreadAttribute;a(r.argument,t,"argument",e,1);return t}function jsxText(e){const t={type:"JSXText",value:e};const r=o.JSXText;a(r.value,t,"value",e);return t}function jsxFragment(e,t,r){const n={type:"JSXFragment",openingFragment:e,closingFragment:t,children:r};const s=o.JSXFragment;a(s.openingFragment,n,"openingFragment",e,1);a(s.closingFragment,n,"closingFragment",t,1);a(s.children,n,"children",r,1);return n}function jsxOpeningFragment(){return{type:"JSXOpeningFragment"}}function jsxClosingFragment(){return{type:"JSXClosingFragment"}}function noop(){return{type:"Noop"}}function placeholder(e,t){const r={type:"Placeholder",expectedNode:e,name:t};const n=o.Placeholder;a(n.expectedNode,r,"expectedNode",e);a(n.name,r,"name",t,1);return r}function v8IntrinsicIdentifier(e){const t={type:"V8IntrinsicIdentifier",name:e};const r=o.V8IntrinsicIdentifier;a(r.name,t,"name",e);return t}function argumentPlaceholder(){return{type:"ArgumentPlaceholder"}}function bindExpression(e,t){const r={type:"BindExpression",object:e,callee:t};const n=o.BindExpression;a(n.object,r,"object",e,1);a(n.callee,r,"callee",t,1);return r}function decorator(e){const t={type:"Decorator",expression:e};const r=o.Decorator;a(r.expression,t,"expression",e,1);return t}function doExpression(e,t=false){const r={type:"DoExpression",body:e,async:t};const n=o.DoExpression;a(n.body,r,"body",e,1);a(n.async,r,"async",t);return r}function exportDefaultSpecifier(e){const t={type:"ExportDefaultSpecifier",exported:e};const r=o.ExportDefaultSpecifier;a(r.exported,t,"exported",e,1);return t}function recordExpression(e){const t={type:"RecordExpression",properties:e};const r=o.RecordExpression;a(r.properties,t,"properties",e,1);return t}function tupleExpression(e=[]){const t={type:"TupleExpression",elements:e};const r=o.TupleExpression;a(r.elements,t,"elements",e,1);return t}function decimalLiteral(e){const t={type:"DecimalLiteral",value:e};const r=o.DecimalLiteral;a(r.value,t,"value",e);return t}function moduleExpression(e){const t={type:"ModuleExpression",body:e};const r=o.ModuleExpression;a(r.body,t,"body",e,1);return t}function topicReference(){return{type:"TopicReference"}}function pipelineTopicExpression(e){const t={type:"PipelineTopicExpression",expression:e};const r=o.PipelineTopicExpression;a(r.expression,t,"expression",e,1);return t}function pipelineBareFunction(e){const t={type:"PipelineBareFunction",callee:e};const r=o.PipelineBareFunction;a(r.callee,t,"callee",e,1);return t}function pipelinePrimaryTopicReference(){return{type:"PipelinePrimaryTopicReference"}}function tsParameterProperty(e){const t={type:"TSParameterProperty",parameter:e};const r=o.TSParameterProperty;a(r.parameter,t,"parameter",e,1);return t}function tsDeclareFunction(e=null,t=null,r,n=null){const s={type:"TSDeclareFunction",id:e,typeParameters:t,params:r,returnType:n};const i=o.TSDeclareFunction;a(i.id,s,"id",e,1);a(i.typeParameters,s,"typeParameters",t,1);a(i.params,s,"params",r,1);a(i.returnType,s,"returnType",n,1);return s}function tsDeclareMethod(e=null,t,r=null,n,s=null){const i={type:"TSDeclareMethod",decorators:e,key:t,typeParameters:r,params:n,returnType:s};const l=o.TSDeclareMethod;a(l.decorators,i,"decorators",e,1);a(l.key,i,"key",t,1);a(l.typeParameters,i,"typeParameters",r,1);a(l.params,i,"params",n,1);a(l.returnType,i,"returnType",s,1);return i}function tsQualifiedName(e,t){const r={type:"TSQualifiedName",left:e,right:t};const n=o.TSQualifiedName;a(n.left,r,"left",e,1);a(n.right,r,"right",t,1);return r}function tsCallSignatureDeclaration(e=null,t,r=null){const n={type:"TSCallSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r};const s=o.TSCallSignatureDeclaration;a(s.typeParameters,n,"typeParameters",e,1);a(s.parameters,n,"parameters",t,1);a(s.typeAnnotation,n,"typeAnnotation",r,1);return n}function tsConstructSignatureDeclaration(e=null,t,r=null){const n={type:"TSConstructSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r};const s=o.TSConstructSignatureDeclaration;a(s.typeParameters,n,"typeParameters",e,1);a(s.parameters,n,"parameters",t,1);a(s.typeAnnotation,n,"typeAnnotation",r,1);return n}function tsPropertySignature(e,t=null){const r={type:"TSPropertySignature",key:e,typeAnnotation:t};const n=o.TSPropertySignature;a(n.key,r,"key",e,1);a(n.typeAnnotation,r,"typeAnnotation",t,1);return r}function tsMethodSignature(e,t=null,r,n=null){const s={type:"TSMethodSignature",key:e,typeParameters:t,parameters:r,typeAnnotation:n,kind:null};const i=o.TSMethodSignature;a(i.key,s,"key",e,1);a(i.typeParameters,s,"typeParameters",t,1);a(i.parameters,s,"parameters",r,1);a(i.typeAnnotation,s,"typeAnnotation",n,1);return s}function tsIndexSignature(e,t=null){const r={type:"TSIndexSignature",parameters:e,typeAnnotation:t};const n=o.TSIndexSignature;a(n.parameters,r,"parameters",e,1);a(n.typeAnnotation,r,"typeAnnotation",t,1);return r}function tsAnyKeyword(){return{type:"TSAnyKeyword"}}function tsBooleanKeyword(){return{type:"TSBooleanKeyword"}}function tsBigIntKeyword(){return{type:"TSBigIntKeyword"}}function tsIntrinsicKeyword(){return{type:"TSIntrinsicKeyword"}}function tsNeverKeyword(){return{type:"TSNeverKeyword"}}function tsNullKeyword(){return{type:"TSNullKeyword"}}function tsNumberKeyword(){return{type:"TSNumberKeyword"}}function tsObjectKeyword(){return{type:"TSObjectKeyword"}}function tsStringKeyword(){return{type:"TSStringKeyword"}}function tsSymbolKeyword(){return{type:"TSSymbolKeyword"}}function tsUndefinedKeyword(){return{type:"TSUndefinedKeyword"}}function tsUnknownKeyword(){return{type:"TSUnknownKeyword"}}function tsVoidKeyword(){return{type:"TSVoidKeyword"}}function tsThisType(){return{type:"TSThisType"}}function tsFunctionType(e=null,t,r=null){const n={type:"TSFunctionType",typeParameters:e,parameters:t,typeAnnotation:r};const s=o.TSFunctionType;a(s.typeParameters,n,"typeParameters",e,1);a(s.parameters,n,"parameters",t,1);a(s.typeAnnotation,n,"typeAnnotation",r,1);return n}function tsConstructorType(e=null,t,r=null){const n={type:"TSConstructorType",typeParameters:e,parameters:t,typeAnnotation:r};const s=o.TSConstructorType;a(s.typeParameters,n,"typeParameters",e,1);a(s.parameters,n,"parameters",t,1);a(s.typeAnnotation,n,"typeAnnotation",r,1);return n}function tsTypeReference(e,t=null){const r={type:"TSTypeReference",typeName:e,typeParameters:t};const n=o.TSTypeReference;a(n.typeName,r,"typeName",e,1);a(n.typeParameters,r,"typeParameters",t,1);return r}function tsTypePredicate(e,t=null,r=null){const n={type:"TSTypePredicate",parameterName:e,typeAnnotation:t,asserts:r};const s=o.TSTypePredicate;a(s.parameterName,n,"parameterName",e,1);a(s.typeAnnotation,n,"typeAnnotation",t,1);a(s.asserts,n,"asserts",r);return n}function tsTypeQuery(e,t=null){const r={type:"TSTypeQuery",exprName:e,typeParameters:t};const n=o.TSTypeQuery;a(n.exprName,r,"exprName",e,1);a(n.typeParameters,r,"typeParameters",t,1);return r}function tsTypeLiteral(e){const t={type:"TSTypeLiteral",members:e};const r=o.TSTypeLiteral;a(r.members,t,"members",e,1);return t}function tsArrayType(e){const t={type:"TSArrayType",elementType:e};const r=o.TSArrayType;a(r.elementType,t,"elementType",e,1);return t}function tsTupleType(e){const t={type:"TSTupleType",elementTypes:e};const r=o.TSTupleType;a(r.elementTypes,t,"elementTypes",e,1);return t}function tsOptionalType(e){const t={type:"TSOptionalType",typeAnnotation:e};const r=o.TSOptionalType;a(r.typeAnnotation,t,"typeAnnotation",e,1);return t}function tsRestType(e){const t={type:"TSRestType",typeAnnotation:e};const r=o.TSRestType;a(r.typeAnnotation,t,"typeAnnotation",e,1);return t}function tsNamedTupleMember(e,t,r=false){const n={type:"TSNamedTupleMember",label:e,elementType:t,optional:r};const s=o.TSNamedTupleMember;a(s.label,n,"label",e,1);a(s.elementType,n,"elementType",t,1);a(s.optional,n,"optional",r);return n}function tsUnionType(e){const t={type:"TSUnionType",types:e};const r=o.TSUnionType;a(r.types,t,"types",e,1);return t}function tsIntersectionType(e){const t={type:"TSIntersectionType",types:e};const r=o.TSIntersectionType;a(r.types,t,"types",e,1);return t}function tsConditionalType(e,t,r,n){const s={type:"TSConditionalType",checkType:e,extendsType:t,trueType:r,falseType:n};const i=o.TSConditionalType;a(i.checkType,s,"checkType",e,1);a(i.extendsType,s,"extendsType",t,1);a(i.trueType,s,"trueType",r,1);a(i.falseType,s,"falseType",n,1);return s}function tsInferType(e){const t={type:"TSInferType",typeParameter:e};const r=o.TSInferType;a(r.typeParameter,t,"typeParameter",e,1);return t}function tsParenthesizedType(e){const t={type:"TSParenthesizedType",typeAnnotation:e};const r=o.TSParenthesizedType;a(r.typeAnnotation,t,"typeAnnotation",e,1);return t}function tsTypeOperator(e){const t={type:"TSTypeOperator",typeAnnotation:e,operator:null};const r=o.TSTypeOperator;a(r.typeAnnotation,t,"typeAnnotation",e,1);return t}function tsIndexedAccessType(e,t){const r={type:"TSIndexedAccessType",objectType:e,indexType:t};const n=o.TSIndexedAccessType;a(n.objectType,r,"objectType",e,1);a(n.indexType,r,"indexType",t,1);return r}function tsMappedType(e,t=null,r=null){const n={type:"TSMappedType",typeParameter:e,typeAnnotation:t,nameType:r};const s=o.TSMappedType;a(s.typeParameter,n,"typeParameter",e,1);a(s.typeAnnotation,n,"typeAnnotation",t,1);a(s.nameType,n,"nameType",r,1);return n}function tsTemplateLiteralType(e,t){const r={type:"TSTemplateLiteralType",quasis:e,types:t};const n=o.TSTemplateLiteralType;a(n.quasis,r,"quasis",e,1);a(n.types,r,"types",t,1);return r}function tsLiteralType(e){const t={type:"TSLiteralType",literal:e};const r=o.TSLiteralType;a(r.literal,t,"literal",e,1);return t}function tsExpressionWithTypeArguments(e,t=null){const r={type:"TSExpressionWithTypeArguments",expression:e,typeParameters:t};const n=o.TSExpressionWithTypeArguments;a(n.expression,r,"expression",e,1);a(n.typeParameters,r,"typeParameters",t,1);return r}function tsInterfaceDeclaration(e,t=null,r=null,n){const s={type:"TSInterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n};const i=o.TSInterfaceDeclaration;a(i.id,s,"id",e,1);a(i.typeParameters,s,"typeParameters",t,1);a(i.extends,s,"extends",r,1);a(i.body,s,"body",n,1);return s}function tsInterfaceBody(e){const t={type:"TSInterfaceBody",body:e};const r=o.TSInterfaceBody;a(r.body,t,"body",e,1);return t}function tsTypeAliasDeclaration(e,t=null,r){const n={type:"TSTypeAliasDeclaration",id:e,typeParameters:t,typeAnnotation:r};const s=o.TSTypeAliasDeclaration;a(s.id,n,"id",e,1);a(s.typeParameters,n,"typeParameters",t,1);a(s.typeAnnotation,n,"typeAnnotation",r,1);return n}function tsInstantiationExpression(e,t=null){const r={type:"TSInstantiationExpression",expression:e,typeParameters:t};const n=o.TSInstantiationExpression;a(n.expression,r,"expression",e,1);a(n.typeParameters,r,"typeParameters",t,1);return r}function tsAsExpression(e,t){const r={type:"TSAsExpression",expression:e,typeAnnotation:t};const n=o.TSAsExpression;a(n.expression,r,"expression",e,1);a(n.typeAnnotation,r,"typeAnnotation",t,1);return r}function tsSatisfiesExpression(e,t){const r={type:"TSSatisfiesExpression",expression:e,typeAnnotation:t};const n=o.TSSatisfiesExpression;a(n.expression,r,"expression",e,1);a(n.typeAnnotation,r,"typeAnnotation",t,1);return r}function tsTypeAssertion(e,t){const r={type:"TSTypeAssertion",typeAnnotation:e,expression:t};const n=o.TSTypeAssertion;a(n.typeAnnotation,r,"typeAnnotation",e,1);a(n.expression,r,"expression",t,1);return r}function tsEnumBody(e){const t={type:"TSEnumBody",members:e};const r=o.TSEnumBody;a(r.members,t,"members",e,1);return t}function tsEnumDeclaration(e,t){const r={type:"TSEnumDeclaration",id:e,members:t};const n=o.TSEnumDeclaration;a(n.id,r,"id",e,1);a(n.members,r,"members",t,1);return r}function tsEnumMember(e,t=null){const r={type:"TSEnumMember",id:e,initializer:t};const n=o.TSEnumMember;a(n.id,r,"id",e,1);a(n.initializer,r,"initializer",t,1);return r}function tsModuleDeclaration(e,t){const r={type:"TSModuleDeclaration",id:e,body:t,kind:null};const n=o.TSModuleDeclaration;a(n.id,r,"id",e,1);a(n.body,r,"body",t,1);return r}function tsModuleBlock(e){const t={type:"TSModuleBlock",body:e};const r=o.TSModuleBlock;a(r.body,t,"body",e,1);return t}function tsImportType(e,t=null,r=null){const n={type:"TSImportType",argument:e,qualifier:t,typeParameters:r};const s=o.TSImportType;a(s.argument,n,"argument",e,1);a(s.qualifier,n,"qualifier",t,1);a(s.typeParameters,n,"typeParameters",r,1);return n}function tsImportEqualsDeclaration(e,t){const r={type:"TSImportEqualsDeclaration",id:e,moduleReference:t,isExport:null};const n=o.TSImportEqualsDeclaration;a(n.id,r,"id",e,1);a(n.moduleReference,r,"moduleReference",t,1);return r}function tsExternalModuleReference(e){const t={type:"TSExternalModuleReference",expression:e};const r=o.TSExternalModuleReference;a(r.expression,t,"expression",e,1);return t}function tsNonNullExpression(e){const t={type:"TSNonNullExpression",expression:e};const r=o.TSNonNullExpression;a(r.expression,t,"expression",e,1);return t}function tsExportAssignment(e){const t={type:"TSExportAssignment",expression:e};const r=o.TSExportAssignment;a(r.expression,t,"expression",e,1);return t}function tsNamespaceExportDeclaration(e){const t={type:"TSNamespaceExportDeclaration",id:e};const r=o.TSNamespaceExportDeclaration;a(r.id,t,"id",e,1);return t}function tsTypeAnnotation(e){const t={type:"TSTypeAnnotation",typeAnnotation:e};const r=o.TSTypeAnnotation;a(r.typeAnnotation,t,"typeAnnotation",e,1);return t}function tsTypeParameterInstantiation(e){const t={type:"TSTypeParameterInstantiation",params:e};const r=o.TSTypeParameterInstantiation;a(r.params,t,"params",e,1);return t}function tsTypeParameterDeclaration(e){const t={type:"TSTypeParameterDeclaration",params:e};const r=o.TSTypeParameterDeclaration;a(r.params,t,"params",e,1);return t}function tsTypeParameter(e=null,t=null,r){const n={type:"TSTypeParameter",constraint:e,default:t,name:r};const s=o.TSTypeParameter;a(s.constraint,n,"constraint",e,1);a(s.default,n,"default",t,1);a(s.name,n,"name",r);return n}function NumberLiteral(e){(0,s.default)("NumberLiteral","NumericLiteral","The node type ");return numericLiteral(e)}function RegexLiteral(e,t=""){(0,s.default)("RegexLiteral","RegExpLiteral","The node type ");return regExpLiteral(e,t)}function RestProperty(e){(0,s.default)("RestProperty","RestElement","The node type ");return restElement(e)}function SpreadProperty(e){(0,s.default)("SpreadProperty","SpreadElement","The node type ");return spreadElement(e)}},7903:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ClassAccessorProperty",{enumerable:true,get:function(){return n.classAccessorProperty}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportExpression",{enumerable:true,get:function(){return n.importExpression}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSEnumBody",{enumerable:true,get:function(){return n.tsEnumBody}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSInstantiationExpression",{enumerable:true,get:function(){return n.tsInstantiationExpression}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSSatisfiesExpression",{enumerable:true,get:function(){return n.tsSatisfiesExpression}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSTemplateLiteralType",{enumerable:true,get:function(){return n.tsTemplateLiteralType}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TopicReference",{enumerable:true,get:function(){return n.topicReference}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});var n=r(3259)},3396:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildUndefinedNode=buildUndefinedNode;var n=r(4755);function buildUndefinedNode(){return(0,n.unaryExpression)("void",(0,n.numericLiteral)(0),true)}},1323:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=buildChildren;var n=r(46);var s=r(8530);function buildChildren(e){const t=[];for(let r=0;r<e.children.length;r++){let i=e.children[r];if((0,n.isJSXText)(i)){(0,s.default)(i,t);continue}if((0,n.isJSXExpressionContainer)(i))i=i.expression;if((0,n.isJSXEmptyExpression)(i))continue;t.push(i)}return t}},1258:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createTSUnionType;var n=r(4755);var s=r(6066);var i=r(46);function createTSUnionType(e){const t=e.map((e=>(0,i.isTSTypeAnnotation)(e)?e.typeAnnotation:e));const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},8329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=clone;var n=r(363);function clone(e){return(0,n.default)(e,false)}},8637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneDeep;var n=r(363);function cloneDeep(e){return(0,n.default)(e)}},7684:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneDeepWithoutLoc;var n=r(363);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},363:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneNode;var n=r(6767);var s=r(46);const{hasOwn:i}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function cloneIfNode(e,t,r,n){if(e&&typeof e.type==="string"){return cloneNodeInternal(e,t,r,n)}return e}function cloneIfNodeOrArray(e,t,r,n){if(Array.isArray(e)){return e.map((e=>cloneIfNode(e,t,r,n)))}return cloneIfNode(e,t,r,n)}function cloneNode(e,t=true,r=false){return cloneNodeInternal(e,t,r,new Map)}function cloneNodeInternal(e,t=true,r=false,a){if(!e)return e;const{type:o}=e;const l={type:e.type};if((0,s.isIdentifier)(e)){l.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){l.optional=e.optional}if(i(e,"typeAnnotation")){l.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r,a):e.typeAnnotation}if(i(e,"decorators")){l.decorators=t?cloneIfNodeOrArray(e.decorators,true,r,a):e.decorators}}else if(!i(n.NODE_FIELDS,o)){throw new Error(`Unknown node type: "${o}"`)}else{for(const c of Object.keys(n.NODE_FIELDS[o])){if(i(e,c)){if(t){l[c]=(0,s.isFile)(e)&&c==="comments"?maybeCloneComments(e.comments,t,r,a):cloneIfNodeOrArray(e[c],true,r,a)}else{l[c]=e[c]}}}}if(i(e,"loc")){if(r){l.loc=null}else{l.loc=e.loc}}if(i(e,"leadingComments")){l.leadingComments=maybeCloneComments(e.leadingComments,t,r,a)}if(i(e,"innerComments")){l.innerComments=maybeCloneComments(e.innerComments,t,r,a)}if(i(e,"trailingComments")){l.trailingComments=maybeCloneComments(e.trailingComments,t,r,a)}if(i(e,"extra")){l.extra=Object.assign({},e.extra)}return l}function maybeCloneComments(e,t,r,n){if(!e||!t){return e}return e.map((e=>{const t=n.get(e);if(t)return t;const{type:s,value:i,loc:a}=e;const o={type:s,value:i,loc:a};if(r){o.loc=null}n.set(e,o);return o}))}},9410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneWithoutLoc;var n=r(363);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},5185:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=addComment;var n=r(9039);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},9039:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n].push(...r)}}else{e[n]=r}return e}},3041:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritInnerComments;var n=r(2660);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},5151:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritLeadingComments;var n=r(2660);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},8538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritTrailingComments;var n=r(2660);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},5060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritsComments;var n=r(8538);var s=r(5151);var i=r(3041);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},170:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeComments;var n=r(1164);function removeComments(e){n.COMMENT_KEYS.forEach((t=>{e[t]=null}));return e}},4766:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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.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 n=r(6767);const s=t.STANDARDIZED_TYPES=n.FLIPPED_ALIAS_KEYS["Standardized"];const i=t.EXPRESSION_TYPES=n.FLIPPED_ALIAS_KEYS["Expression"];const a=t.BINARY_TYPES=n.FLIPPED_ALIAS_KEYS["Binary"];const o=t.SCOPABLE_TYPES=n.FLIPPED_ALIAS_KEYS["Scopable"];const l=t.BLOCKPARENT_TYPES=n.FLIPPED_ALIAS_KEYS["BlockParent"];const c=t.BLOCK_TYPES=n.FLIPPED_ALIAS_KEYS["Block"];const p=t.STATEMENT_TYPES=n.FLIPPED_ALIAS_KEYS["Statement"];const u=t.TERMINATORLESS_TYPES=n.FLIPPED_ALIAS_KEYS["Terminatorless"];const d=t.COMPLETIONSTATEMENT_TYPES=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];const f=t.CONDITIONAL_TYPES=n.FLIPPED_ALIAS_KEYS["Conditional"];const h=t.LOOP_TYPES=n.FLIPPED_ALIAS_KEYS["Loop"];const m=t.WHILE_TYPES=n.FLIPPED_ALIAS_KEYS["While"];const y=t.EXPRESSIONWRAPPER_TYPES=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];const g=t.FOR_TYPES=n.FLIPPED_ALIAS_KEYS["For"];const b=t.FORXSTATEMENT_TYPES=n.FLIPPED_ALIAS_KEYS["ForXStatement"];const T=t.FUNCTION_TYPES=n.FLIPPED_ALIAS_KEYS["Function"];const S=t.FUNCTIONPARENT_TYPES=n.FLIPPED_ALIAS_KEYS["FunctionParent"];const x=t.PUREISH_TYPES=n.FLIPPED_ALIAS_KEYS["Pureish"];const E=t.DECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS["Declaration"];const P=t.PATTERNLIKE_TYPES=n.FLIPPED_ALIAS_KEYS["PatternLike"];const v=t.LVAL_TYPES=n.FLIPPED_ALIAS_KEYS["LVal"];const A=t.TSENTITYNAME_TYPES=n.FLIPPED_ALIAS_KEYS["TSEntityName"];const w=t.LITERAL_TYPES=n.FLIPPED_ALIAS_KEYS["Literal"];const I=t.IMMUTABLE_TYPES=n.FLIPPED_ALIAS_KEYS["Immutable"];const C=t.USERWHITESPACABLE_TYPES=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];const O=t.METHOD_TYPES=n.FLIPPED_ALIAS_KEYS["Method"];const N=t.OBJECTMEMBER_TYPES=n.FLIPPED_ALIAS_KEYS["ObjectMember"];const k=t.PROPERTY_TYPES=n.FLIPPED_ALIAS_KEYS["Property"];const _=t.UNARYLIKE_TYPES=n.FLIPPED_ALIAS_KEYS["UnaryLike"];const D=t.PATTERN_TYPES=n.FLIPPED_ALIAS_KEYS["Pattern"];const M=t.CLASS_TYPES=n.FLIPPED_ALIAS_KEYS["Class"];const L=t.IMPORTOREXPORTDECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS["ImportOrExportDeclaration"];const j=t.EXPORTDECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];const F=t.MODULESPECIFIER_TYPES=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];const B=t.ACCESSOR_TYPES=n.FLIPPED_ALIAS_KEYS["Accessor"];const R=t.PRIVATE_TYPES=n.FLIPPED_ALIAS_KEYS["Private"];const U=t.FLOW_TYPES=n.FLIPPED_ALIAS_KEYS["Flow"];const K=t.FLOWTYPE_TYPES=n.FLIPPED_ALIAS_KEYS["FlowType"];const V=t.FLOWBASEANNOTATION_TYPES=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];const W=t.FLOWDECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];const $=t.FLOWPREDICATE_TYPES=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];const q=t.ENUMBODY_TYPES=n.FLIPPED_ALIAS_KEYS["EnumBody"];const H=t.ENUMMEMBER_TYPES=n.FLIPPED_ALIAS_KEYS["EnumMember"];const G=t.JSX_TYPES=n.FLIPPED_ALIAS_KEYS["JSX"];const J=t.MISCELLANEOUS_TYPES=n.FLIPPED_ALIAS_KEYS["Miscellaneous"];const z=t.TYPESCRIPT_TYPES=n.FLIPPED_ALIAS_KEYS["TypeScript"];const X=t.TSTYPEELEMENT_TYPES=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];const Y=t.TSTYPE_TYPES=n.FLIPPED_ALIAS_KEYS["TSType"];const Q=t.TSBASETYPE_TYPES=n.FLIPPED_ALIAS_KEYS["TSBaseType"];const Z=t.MODULEDECLARATION_TYPES=L},1164:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;const r=t.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"];const n=t.FLATTENABLE_KEYS=["body","expressions"];const s=t.FOR_INIT_KEYS=["left","init"];const i=t.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];const a=t.LOGICAL_OPERATORS=["||","&&","??"];const o=t.UPDATE_OPERATORS=["++","--"];const l=t.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="];const c=t.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="];const p=t.COMPARISON_BINARY_OPERATORS=[...c,"in","instanceof"];const u=t.BOOLEAN_BINARY_OPERATORS=[...p,...l];const d=t.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"];const f=t.BINARY_OPERATORS=["+",...d,...u,"|>"];const h=t.ASSIGNMENT_OPERATORS=["=","+=",...d.map((e=>e+"=")),...a.map((e=>e+"="))];const m=t.BOOLEAN_UNARY_OPERATORS=["delete","!"];const y=t.NUMBER_UNARY_OPERATORS=["+","-","~"];const g=t.STRING_UNARY_OPERATORS=["typeof"];const b=t.UNARY_OPERATORS=["void","throw",...m,...y,...g];const T=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")}},7234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=ensureBlock;var n=r(3670);function ensureBlock(e,t="body"){const r=(0,n.default)(e[t],e);e[t]=r;return r}},6673:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=gatherSequenceExpressions;var n=r(6306);var s=r(46);var i=r(4755);var a=r(3396);var o=r(363);function gatherSequenceExpressions(e,t){const r=[];let l=true;for(const c of e){if(!(0,s.isEmptyStatement)(c)){l=false}if((0,s.isExpression)(c)){r.push(c)}else if((0,s.isExpressionStatement)(c)){r.push(c.expression)}else if((0,s.isVariableDeclaration)(c)){if(c.kind!=="var")return;for(const e of c.declarations){const s=(0,n.default)(e);for(const e of Object.keys(s)){t.push({kind:c.kind,id:(0,o.default)(s[e])})}if(e.init){r.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(c)){const e=c.consequent?gatherSequenceExpressions([c.consequent],t):(0,a.buildUndefinedNode)();const n=c.alternate?gatherSequenceExpressions([c.alternate],t):(0,a.buildUndefinedNode)();if(!e||!n)return;r.push((0,i.conditionalExpression)(c.test,e,n))}else if((0,s.isBlockStatement)(c)){const e=gatherSequenceExpressions(c.body,t);if(!e)return;r.push(e)}else if((0,s.isEmptyStatement)(c)){if(e.indexOf(c)===0){l=true}}else{return}}if(l){r.push((0,a.buildUndefinedNode)())}if(r.length===1){return r[0]}else{return(0,i.sequenceExpression)(r)}}},1350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toBindingIdentifierName;var n=r(1334);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},3670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toBlock;var n=r(46);var s=r(4755);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},5847:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toComputedKey;var n=r(46);var s=r(4755);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},4811:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(46);var s=t["default"]=toExpression;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},1334:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toIdentifier;var n=r(2892);var s=r(974);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}));if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},1480:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toKeyAlias;var n=r(46);var s=r(363);var i=r(9437);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},4136:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toSequenceExpression;var n=r(6673);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,r);if(!s)return;for(const e of r){t.push(e)}return s}},1035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(46);var s=r(4755);var i=t["default"]=toStatement;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},5222:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(2892);var s=r(4755);var i=t["default"]=valueToNode;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(typeof e==="bigint"){return(0,s.bigIntLiteral)(e.toString())}if(isRegExp(e)){const t=e.source;const r=/\/([a-z]*)$/.exec(e.toString())[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i,a=false;if((0,n.default)(r)){if(r==="__proto__"){a=true;i=(0,s.stringLiteral)(r)}else{i=(0,s.identifier)(r)}}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r]),a))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},485:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.patternLikeCommon=t.importAttributes=t.functionTypeAnnotationCommon=t.functionDeclarationCommon=t.functionCommon=t.classMethodOrPropertyCommon=t.classMethodOrDeclareMethodCommon=void 0;var n=r(7670);var s=r(2892);var i=r(974);var a=r(5241);var o=r(1164);var l=r(6624);const c=(0,l.defineAliasedType)("Standardized");c("ArrayExpression",{fields:{elements:{validate:(0,l.arrayOf)((0,l.assertNodeOrValueType)("null","Expression","SpreadElement")),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});c("AssignmentExpression",{fields:{operator:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertValueType)("string"):Object.assign(function(){const e=(0,l.assertOneOf)(...o.ASSIGNMENT_OPERATORS);const t=(0,l.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}(),{type:"string"})},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("LVal","OptionalMemberExpression"):(0,l.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,l.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});c("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,l.assertOneOf)(...o.BINARY_OPERATORS)},left:{validate:function(){const e=(0,l.assertNodeType)("Expression");const t=(0,l.assertNodeType)("Expression","PrivateName");const r=Object.assign((function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)}),{oneOfNodeTypes:["Expression","PrivateName"]});return r}()},right:{validate:(0,l.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});c("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}}});c("Directive",{visitor:["value"],fields:{value:{validate:(0,l.assertNodeType)("DirectiveLiteral")}}});c("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}}});c("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,l.arrayOfType)("Directive"),default:[]},body:(0,l.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]});c("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,l.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});c("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,l.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:(0,l.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:(0,l.assertNodeType)("TypeParameterInstantiation"),optional:true}},{optional:{validate:(0,l.assertValueType)("boolean"),optional:true},typeParameters:{validate:(0,l.assertNodeType)("TSTypeParameterInstantiation"),optional:true}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,l.assertValueType)("boolean"),optional:true}})});c("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,l.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});c("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},consequent:{validate:(0,l.assertNodeType)("Expression")},alternate:{validate:(0,l.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});c("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,l.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});c("DebuggerStatement",{aliases:["Statement"]});c("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});c("EmptyStatement",{aliases:["Statement"]});c("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,l.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});c("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,l.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign((()=>{}),{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,l.assertEach)((0,l.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,l.assertEach)(Object.assign((()=>{}),{type:"any"})),optional:true}}});c("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("VariableDeclaration","LVal"):(0,l.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}});c("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,l.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,l.assertNodeType)("Expression"),optional:true},update:{validate:(0,l.assertNodeType)("Expression"),optional:true},body:{validate:(0,l.assertNodeType)("Statement")}}});const functionCommon=()=>({params:(0,l.validateArrayOfType)("Identifier","Pattern","RestElement"),generator:{default:false},async:{default:false}});t.functionCommon=functionCommon;const functionTypeAnnotationCommon=()=>({returnType:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}});t.functionTypeAnnotationCommon=functionTypeAnnotationCommon;const functionDeclarationCommon=()=>Object.assign({},functionCommon(),{declare:{validate:(0,l.assertValueType)("boolean"),optional:true},id:{validate:(0,l.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=functionDeclarationCommon;c("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},functionDeclarationCommon(),functionTypeAnnotationCommon(),{body:{validate:(0,l.assertNodeType)("BlockStatement")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:!process.env.BABEL_TYPES_8_BREAKING?undefined:function(){const e=(0,l.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});c("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},functionCommon(),functionTypeAnnotationCommon(),{id:{validate:(0,l.assertNodeType)("Identifier"),optional:true},body:{validate:(0,l.assertNodeType)("BlockStatement")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}})});const patternLikeCommon=()=>({typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},optional:{validate:(0,l.assertValueType)("boolean"),optional:true},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:true}});t.patternLikeCommon=patternLikeCommon;c("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},patternLikeCommon(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertValueType)("string"),Object.assign((function(e,t,r){if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}}),{type:"string"})):(0,l.assertValueType)("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(e,t,r){const s=/\.(\w+)$/.exec(t.toString());if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}:undefined});c("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},consequent:{validate:(0,l.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,l.assertNodeType)("Statement")}}});c("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,l.assertNodeType)("Identifier")},body:{validate:(0,l.assertNodeType)("Statement")}}});c("StringLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});c("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,l.chain)((0,l.assertValueType)("number"),Object.assign((function(e,t,r){if(1/r<0||!Number.isFinite(r)){const e=new Error("NumericLiterals must be non-negative finite numbers. "+`You can use t.valueToNode(${r}) instead.`);{}}}),{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]});c("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});c("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});c("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,l.assertValueType)("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertValueType)("string"),Object.assign((function(e,t,r){const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}}),{type:"string"})):(0,l.assertValueType)("string"),default:""}}});c("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,l.assertOneOf)(...o.LOGICAL_OPERATORS)},left:{validate:(0,l.assertNodeType)("Expression")},right:{validate:(0,l.assertNodeType)("Expression")}}});c("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,l.assertNodeType)("Expression","Super")},property:{validate:function(){const e=(0,l.assertNodeType)("Identifier","PrivateName");const t=(0,l.assertNodeType)("Expression");const validator=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};validator.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return validator}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,l.assertValueType)("boolean"),optional:true}}:{})});c("NewExpression",{inherits:"CallExpression"});c("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,l.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,l.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,l.arrayOfType)("Directive"),default:[]},body:(0,l.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block"]});c("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,l.validateArrayOfType)("ObjectMethod","ObjectProperty","SpreadElement")}});c("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},functionCommon(),functionTypeAnnotationCommon(),{kind:Object.assign({validate:(0,l.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral");const t=(0,l.assertNodeType)("Expression");const validator=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};validator.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"];return validator}()},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:true},body:{validate:(0,l.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});c("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName");const t=(0,l.assertNodeType)("Expression");const r=Object.assign((function(r,n,s){const i=r.computed?t:e;i(r,n,s)}),{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]});return r}()},value:{validate:(0,l.assertNodeType)("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertValueType)("boolean"),Object.assign((function(e,t,r){if(!r)return;if(e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}if(!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),{type:"boolean"})):(0,l.assertValueType)("boolean"),default:false},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:!process.env.BABEL_TYPES_8_BREAKING?undefined:function(){const e=(0,l.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion");const t=(0,l.assertNodeType)("Expression");return function(r,s,i){const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});c("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},patternLikeCommon(),{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("LVal"):(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(e,t){const r=/(\w+)\[(\d+)\]/.exec(t.toString());if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>+s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}:undefined});c("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,l.assertNodeType)("Expression"),optional:true}}});c("SequenceExpression",{visitor:["expressions"],fields:{expressions:(0,l.validateArrayOfType)("Expression")},aliases:["Expression"]});c("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,l.assertNodeType)("Expression")}}});c("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,l.assertNodeType)("Expression"),optional:true},consequent:(0,l.validateArrayOfType)("Statement")}});c("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,l.assertNodeType)("Expression")},cases:(0,l.validateArrayOfType)("SwitchCase")}});c("ThisExpression",{aliases:["Expression"]});c("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,l.assertNodeType)("Expression")}}});c("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertNodeType)("BlockStatement"),Object.assign((function(e){if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}}),{oneOfNodeTypes:["BlockStatement"]})):(0,l.assertNodeType)("BlockStatement")},handler:{optional:true,validate:(0,l.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,l.assertNodeType)("BlockStatement")}}});c("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,l.assertNodeType)("Expression")},operator:{validate:(0,l.assertOneOf)(...o.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});c("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("Expression"):(0,l.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,l.assertOneOf)(...o.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});c("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,l.assertValueType)("boolean"),optional:true},kind:{validate:(0,l.assertOneOf)("var","let","const","using","await using")},declarations:(0,l.validateArrayOfType)("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(()=>{const e=(0,l.assertNodeType)("Identifier");return function(t,r,s){if((0,n.default)("ForXStatement",t,{left:s})){if(s.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${t.type}`)}}else{s.declarations.forEach((t=>{if(!t.init)e(t,"id",t.id)}))}}})():undefined});c("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("LVal"):(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern")},definite:{optional:true,validate:(0,l.assertValueType)("boolean")},init:{optional:true,validate:(0,l.assertNodeType)("Expression")}}});c("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}});c("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}});c("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},patternLikeCommon(),{left:{validate:(0,l.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,l.assertNodeType)("Expression")},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:true}})});c("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},patternLikeCommon(),{elements:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeOrValueType)("null","PatternLike","LVal")))}})});c("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},functionCommon(),functionTypeAnnotationCommon(),{expression:{validate:(0,l.assertValueType)("boolean")},body:{validate:(0,l.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}})});c("ClassBody",{visitor:["body"],fields:{body:(0,l.validateArrayOfType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}});c("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,l.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,l.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,l.assertNodeType)("Expression")},["superTypeParameters"]:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,l.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:true},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:true},mixins:{validate:(0,l.assertNodeType)("InterfaceExtends"),optional:true}}});c("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,l.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,l.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,l.assertNodeType)("Expression")},["superTypeParameters"]:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,l.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:true},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:true},mixins:{validate:(0,l.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,l.assertValueType)("boolean"),optional:true},abstract:{validate:(0,l.assertValueType)("boolean"),optional:true}},validate:!process.env.BABEL_TYPES_8_BREAKING?undefined:function(){const e=(0,l.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});const p=t.importAttributes={attributes:{optional:true,validate:(0,l.arrayOfType)("ImportAttribute")},assertions:{deprecated:true,optional:true,validate:(0,l.arrayOfType)("ImportAttribute")}};c("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:(0,l.assertNodeType)("StringLiteral")},exportKind:(0,l.validateOptional)((0,l.assertOneOf)("type","value"))},p)});c("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:(0,l.validateType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:(0,l.validateOptional)((0,l.assertOneOf)("value"))}});c("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:process.env?["declaration","specifiers","source","attributes"]:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:true,validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertNodeType)("Declaration"),Object.assign((function(e,t,r){if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}}),{oneOfNodeTypes:["Declaration"]})):(0,l.assertNodeType)("Declaration")}},p,{specifiers:{default:[],validate:(0,l.arrayOf)(function(){const e=(0,l.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,l.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return Object.assign((function(r,n,s){const i=r.source?e:t;i(r,n,s)}),{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]})}())},source:{validate:(0,l.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,l.validateOptional)((0,l.assertOneOf)("type","value"))})});c("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")},exported:{validate:(0,l.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,l.assertOneOf)("type","value"),optional:true}}});c("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,l.assertNodeType)("VariableDeclaration","LVal")}const e=(0,l.assertNodeType)("VariableDeclaration");const t=(0,l.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign((function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}),{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})}()},right:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")},await:{default:false}}});c("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},p,{module:{optional:true,validate:(0,l.assertValueType)("boolean")},phase:{default:null,validate:(0,l.assertOneOf)("source","defer")},specifiers:(0,l.validateArrayOfType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:(0,l.assertNodeType)("StringLiteral")},importKind:{validate:(0,l.assertOneOf)("type","typeof","value"),optional:true}})});c("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")}}});c("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")}}});c("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")},imported:{validate:(0,l.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,l.assertOneOf)("type","typeof","value"),optional:true}}});c("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,l.assertOneOf)("source","defer")},source:{validate:(0,l.assertNodeType)("Expression")},options:{validate:(0,l.assertNodeType)("Expression"),optional:true}}});c("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertNodeType)("Identifier"),Object.assign((function(e,t,r){let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}}),{oneOfNodeTypes:["Identifier"]})):(0,l.assertNodeType)("Identifier")},property:{validate:(0,l.assertNodeType)("Identifier")}}});const classMethodOrPropertyCommon=()=>({abstract:{validate:(0,l.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,l.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,l.assertValueType)("boolean"),optional:true},key:{validate:(0,l.chain)(function(){const e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral");const t=(0,l.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});t.classMethodOrPropertyCommon=classMethodOrPropertyCommon;const classMethodOrDeclareMethodCommon=()=>Object.assign({},functionCommon(),classMethodOrPropertyCommon(),{params:(0,l.validateArrayOfType)("Identifier","Pattern","RestElement","TSParameterProperty"),kind:{validate:(0,l.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,l.chain)((0,l.assertValueType)("string"),(0,l.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:true}});t.classMethodOrDeclareMethodCommon=classMethodOrDeclareMethodCommon;c("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},classMethodOrDeclareMethodCommon(),functionTypeAnnotationCommon(),{body:{validate:(0,l.assertNodeType)("BlockStatement")}})});c("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},patternLikeCommon(),{properties:(0,l.validateArrayOfType)("RestElement","ObjectProperty")})});c("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,l.assertNodeType)("Expression")}}});c("Super",{aliases:["Expression"]});c("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,l.assertNodeType)("Expression")},quasi:{validate:(0,l.assertNodeType)("TemplateLiteral")},["typeParameters"]:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});c("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,l.chain)((0,l.assertShape)({raw:{validate:(0,l.assertValueType)("string")},cooked:{validate:(0,l.assertValueType)("string"),optional:true}}),(function templateElementCookedValidator(e){const t=e.value.raw;let r=false;const error=()=>{throw new Error("Internal @babel/types error.")};const{str:n,firstInvalidLoc:s}=(0,a.readStringContents)("template",t,0,0,0,{unterminated(){r=true},strictNumericEscape:error,invalidEscapeSequence:error,numericSeparatorInEscapeSequence:error,unexpectedNumericSeparator:error,invalidDigit:error,invalidCodePoint:error});if(!r)throw new Error("Invalid raw");e.value.cooked=s?null:n}))},tail:{default:false}}});c("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:(0,l.validateArrayOfType)("TemplateElement"),expressions:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Expression","TSType")),(function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}}))}}});c("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertValueType)("boolean"),Object.assign((function(e,t,r){if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}}),{type:"boolean"})):(0,l.assertValueType)("boolean"),default:false},argument:{optional:true,validate:(0,l.assertNodeType)("Expression")}}});c("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,l.assertNodeType)("Expression")}}});c("Import",{aliases:["Expression"]});c("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});c("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,l.assertNodeType)("Identifier")}}});c("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,l.assertNodeType)("Expression")},property:{validate:function(){const e=(0,l.assertNodeType)("Identifier");const t=(0,l.assertNodeType)("Expression");const r=Object.assign((function(r,n,s){const i=r.computed?t:e;i(r,n,s)}),{oneOfNodeTypes:["Expression","Identifier"]});return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertValueType)("boolean"):(0,l.chain)((0,l.assertValueType)("boolean"),(0,l.assertOptionalChainStart)())}}});c("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,l.assertNodeType)("Expression")},arguments:(0,l.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertValueType)("boolean"):(0,l.chain)((0,l.assertValueType)("boolean"),(0,l.assertOptionalChainStart)())},typeArguments:{validate:(0,l.assertNodeType)("TypeParameterInstantiation"),optional:true}},{typeParameters:{validate:(0,l.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});c("ClassProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},classMethodOrPropertyCommon(),{value:{validate:(0,l.assertNodeType)("Expression"),optional:true},definite:{validate:(0,l.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:true},readonly:{validate:(0,l.assertValueType)("boolean"),optional:true},declare:{validate:(0,l.assertValueType)("boolean"),optional:true},variance:{validate:(0,l.assertNodeType)("Variance"),optional:true}})});c("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},classMethodOrPropertyCommon(),{key:{validate:(0,l.chain)(function(){const e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName");const t=(0,l.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,l.assertNodeType)("Expression"),optional:true},definite:{validate:(0,l.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:true},readonly:{validate:(0,l.assertValueType)("boolean"),optional:true},declare:{validate:(0,l.assertValueType)("boolean"),optional:true},variance:{validate:(0,l.assertNodeType)("Variance"),optional:true}})});c("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,l.assertNodeType)("PrivateName")},value:{validate:(0,l.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:true},static:{validate:(0,l.assertValueType)("boolean"),default:false},readonly:{validate:(0,l.assertValueType)("boolean"),optional:true},optional:{validate:(0,l.assertValueType)("boolean"),optional:true},definite:{validate:(0,l.assertValueType)("boolean"),optional:true},variance:{validate:(0,l.assertNodeType)("Variance"),optional:true}}});c("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},classMethodOrDeclareMethodCommon(),functionTypeAnnotationCommon(),{kind:{validate:(0,l.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,l.assertNodeType)("PrivateName")},body:{validate:(0,l.assertNodeType)("BlockStatement")}})});c("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,l.assertNodeType)("Identifier")}}});c("StaticBlock",{visitor:["body"],fields:{body:(0,l.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]});c("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,l.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,l.assertNodeType)("StringLiteral")}}})},6738:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DEPRECATED_ALIASES=void 0;const r=t.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}},4414:(e,t,r)=>{"use strict";var n=r(6624);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign((()=>{}),{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign((()=>{}),{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,n.validateArrayOfType)("ObjectProperty","SpreadElement")}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]});{(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]})}(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]});(0,n.default)("TopicReference",{aliases:["Expression"]});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},6769:(e,t,r)=>{"use strict";var n=r(485);var s=r(6624);const i=(0,s.defineAliasedType)("Flow");const defineInterfaceishType=e=>{const t=e==="DeclareClass";i(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...t?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),extends:(0,s.validateOptional)((0,s.arrayOfType)("InterfaceExtends"))},t?{mixins:(0,s.validateOptional)((0,s.arrayOfType)("InterfaceExtends")),implements:(0,s.validateOptional)((0,s.arrayOfType)("ClassImplements"))}:{},{body:(0,s.validateType)("ObjectTypeAnnotation")})})};i("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});i("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,s.validateType)("FlowType")}});i("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});i("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,s.validate)((0,s.assertValueType)("boolean"))}});i("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});i("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterInstantiation")}});defineInterfaceishType("DeclareClass");i("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),predicate:(0,s.validateOptionalType)("DeclaredPredicate")}});defineInterfaceishType("DeclareInterface");i("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier","StringLiteral"),body:(0,s.validateType)("BlockStatement"),kind:(0,s.validateOptional)((0,s.assertOneOf)("CommonJS","ES"))}});i("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,s.validateType)("TypeAnnotation")}});i("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),right:(0,s.validateType)("FlowType")}});i("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,s.validateOptionalType)("FlowType"),impltype:(0,s.validateOptionalType)("FlowType")}});i("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier")}});i("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:(0,s.validateOptionalType)("Flow"),specifiers:(0,s.validateOptional)((0,s.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,s.validateOptionalType)("StringLiteral"),default:(0,s.validateOptional)((0,s.assertValueType)("boolean"))},n.importAttributes)});i("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:(0,s.validateType)("StringLiteral"),exportKind:(0,s.validateOptional)((0,s.assertOneOf)("type","value"))},n.importAttributes)});i("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,s.validateType)("Flow")}});i("ExistsTypeAnnotation",{aliases:["FlowType"]});i("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),params:(0,s.validateArrayOfType)("FunctionTypeParam"),rest:(0,s.validateOptionalType)("FunctionTypeParam"),this:(0,s.validateOptionalType)("FunctionTypeParam"),returnType:(0,s.validateType)("FlowType")}});i("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,s.validateOptionalType)("Identifier"),typeAnnotation:(0,s.validateType)("FlowType"),optional:(0,s.validateOptional)((0,s.assertValueType)("boolean"))}});i("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,s.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterInstantiation")}});i("InferredPredicate",{aliases:["FlowPredicate"]});i("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,s.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterInstantiation")}});defineInterfaceishType("InterfaceDeclaration");i("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,s.validateOptional)((0,s.arrayOfType)("InterfaceExtends")),body:(0,s.validateType)("ObjectTypeAnnotation")}});i("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,s.validate)((0,s.arrayOfType)("FlowType"))}});i("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});i("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});i("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,s.validateType)("FlowType")}});i("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,s.validate)((0,s.assertValueType)("number"))}});i("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});i("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,s.validate)((0,s.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,s.arrayOfType)("ObjectTypeIndexer"),optional:true,default:[]},callProperties:{validate:(0,s.arrayOfType)("ObjectTypeCallProperty"),optional:true,default:[]},internalSlots:{validate:(0,s.arrayOfType)("ObjectTypeInternalSlot"),optional:true,default:[]},exact:{validate:(0,s.assertValueType)("boolean"),default:false},inexact:(0,s.validateOptional)((0,s.assertValueType)("boolean"))}});i("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,s.validateType)("Identifier"),value:(0,s.validateType)("FlowType"),optional:(0,s.validate)((0,s.assertValueType)("boolean")),static:(0,s.validate)((0,s.assertValueType)("boolean")),method:(0,s.validate)((0,s.assertValueType)("boolean"))}});i("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,s.validateType)("FlowType"),static:(0,s.validate)((0,s.assertValueType)("boolean"))}});i("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,s.validateOptionalType)("Identifier"),key:(0,s.validateType)("FlowType"),value:(0,s.validateType)("FlowType"),static:(0,s.validate)((0,s.assertValueType)("boolean")),variance:(0,s.validateOptionalType)("Variance")}});i("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,s.validateType)("Identifier","StringLiteral"),value:(0,s.validateType)("FlowType"),kind:(0,s.validate)((0,s.assertOneOf)("init","get","set")),static:(0,s.validate)((0,s.assertValueType)("boolean")),proto:(0,s.validate)((0,s.assertValueType)("boolean")),optional:(0,s.validate)((0,s.assertValueType)("boolean")),variance:(0,s.validateOptionalType)("Variance"),method:(0,s.validate)((0,s.assertValueType)("boolean"))}});i("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,s.validateType)("FlowType")}});i("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,s.validateOptionalType)("FlowType"),impltype:(0,s.validateType)("FlowType")}});i("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,s.validateType)("Identifier"),qualification:(0,s.validateType)("Identifier","QualifiedTypeIdentifier")}});i("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,s.validate)((0,s.assertValueType)("string"))}});i("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});i("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});i("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});i("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,s.validate)((0,s.arrayOfType)("FlowType"))}});i("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,s.validateType)("FlowType")}});i("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TypeParameterDeclaration"),right:(0,s.validateType)("FlowType")}});i("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,s.validateType)("FlowType")}});i("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,s.validateType)("Expression"),typeAnnotation:(0,s.validateType)("TypeAnnotation")}});i("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,s.validate)((0,s.assertValueType)("string")),bound:(0,s.validateOptionalType)("TypeAnnotation"),default:(0,s.validateOptionalType)("FlowType"),variance:(0,s.validateOptionalType)("Variance")}});i("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,s.validate)((0,s.arrayOfType)("TypeParameter"))}});i("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,s.validate)((0,s.arrayOfType)("FlowType"))}});i("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,s.validate)((0,s.arrayOfType)("FlowType"))}});i("Variance",{builder:["kind"],fields:{kind:(0,s.validate)((0,s.assertOneOf)("minus","plus"))}});i("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});i("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,s.validateType)("Identifier"),body:(0,s.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}});i("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,s.validate)((0,s.assertValueType)("boolean")),members:(0,s.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,s.validate)((0,s.assertValueType)("boolean"))}});i("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,s.validate)((0,s.assertValueType)("boolean")),members:(0,s.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,s.validate)((0,s.assertValueType)("boolean"))}});i("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,s.validate)((0,s.assertValueType)("boolean")),members:(0,s.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,s.validate)((0,s.assertValueType)("boolean"))}});i("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,s.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,s.validate)((0,s.assertValueType)("boolean"))}});i("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:(0,s.validateType)("Identifier"),init:(0,s.validateType)("BooleanLiteral")}});i("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,s.validateType)("Identifier"),init:(0,s.validateType)("NumericLiteral")}});i("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,s.validateType)("Identifier"),init:(0,s.validateType)("StringLiteral")}});i("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,s.validateType)("Identifier")}});i("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,s.validateType)("FlowType"),indexType:(0,s.validateType)("FlowType")}});i("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,s.validateType)("FlowType"),indexType:(0,s.validateType)("FlowType"),optional:(0,s.validate)((0,s.assertValueType)("boolean"))}})},6767:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return n.ALIAS_KEYS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return n.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_ALIASES",{enumerable:true,get:function(){return i.DEPRECATED_ALIASES}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return n.DEPRECATED_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return n.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return n.NODE_FIELDS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return n.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return s.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return n.VISITOR_KEYS}});r(485);r(6769);r(4985);r(3482);r(4414);r(2273);var n=r(6624);var s=r(771);var i=r(6738);Object.keys(i.DEPRECATED_ALIASES).forEach((e=>{n.FLIPPED_ALIAS_KEYS[e]=n.FLIPPED_ALIAS_KEYS[i.DEPRECATED_ALIASES[e]]}));for(const{types:e,set:t}of n.allExpandedTypes){for(const r of e){const e=n.FLIPPED_ALIAS_KEYS[r];if(e){e.forEach(t.add,t)}else{t.add(r)}}}const a=t.TYPES=[].concat(Object.keys(n.VISITOR_KEYS),Object.keys(n.FLIPPED_ALIAS_KEYS),Object.keys(n.DEPRECATED_KEYS))},4985:(e,t,r)=>{"use strict";var n=r(6624);const s=(0,n.defineAliasedType)("JSX");s("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});s("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});s("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:(0,n.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}})});s("JSXEmptyExpression",{});s("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});s("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});s("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}});s("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});s("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});s("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:(0,n.validateArrayOfType)("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:(0,n.assertNodeType)("TypeParameterInstantiation"),optional:true}},{typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});s("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});s("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});s("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:(0,n.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}});s("JSXOpeningFragment",{aliases:["Immutable"]});s("JSXClosingFragment",{aliases:["Immutable"]})},3482:(e,t,r)=>{"use strict";var n=r(6624);var s=r(771);var i=r(485);const a=(0,n.defineAliasedType)("Miscellaneous");{a("Noop",{visitor:[]})}a("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}},(0,i.patternLikeCommon)())});a("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(6624);const s=t.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];const i=t.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a=t.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(i).forEach((e=>{i[e].forEach((t=>{if(!hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)}))}))},2273:(e,t,r)=>{"use strict";var n=r(6624);var s=r(485);var i=r(7670);const a=(0,n.defineAliasedType)("TypeScript");const o=(0,n.assertValueType)("boolean");const tSFunctionTypeAnnotationCommon=()=>({returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}});a("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,n.assertValueType)("boolean"),optional:true},decorators:{validate:(0,n.arrayOfType)("Decorator"),optional:true}}});a("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,s.functionDeclarationCommon)(),tSFunctionTypeAnnotationCommon())});a("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,s.classMethodOrDeclareMethodCommon)(),tSFunctionTypeAnnotationCommon())});a("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const signatureDeclarationCommon=()=>({typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),["parameters"]:(0,n.validateArrayOfType)("ArrayPattern","Identifier","ObjectPattern","RestElement"),["typeAnnotation"]:(0,n.validateOptionalType)("TSTypeAnnotation")});const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:signatureDeclarationCommon()};a("TSCallSignatureDeclaration",l);a("TSConstructSignatureDeclaration",l);const namedTypeElementCommon=()=>({key:(0,n.validateType)("Expression"),computed:{default:false},optional:(0,n.validateOptional)(o)});a("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},namedTypeElementCommon(),{readonly:(0,n.validateOptional)(o),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),kind:{optional:true,validate:(0,n.assertOneOf)("get","set")}})});a("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},signatureDeclarationCommon(),namedTypeElementCommon(),{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});a("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(o),static:(0,n.validateOptional)(o),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const c=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of c){a(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}a("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const p={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};a("TSFunctionType",Object.assign({},p,{fields:signatureDeclarationCommon()}));a("TSConstructorType",Object.assign({},p,{fields:Object.assign({},signatureDeclarationCommon(),{abstract:(0,n.validateOptional)(o)})}));a("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),["typeParameters"]:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});a("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)("Identifier","TSThisType"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(o)}});a("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,n.validateType)("TSEntityName","TSImportType"),["typeParameters"]:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});a("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});a("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});a("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)("TSType","TSNamedTupleMember")}});a("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});a("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});a("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:o,default:false},elementType:(0,n.validateType)("TSType")}});const u={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};a("TSUnionType",u);a("TSIntersectionType",u);a("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});a("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});a("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});a("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});a("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});a("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:(0,n.validateType)("TSTypeParameter")},{readonly:(0,n.validateOptional)((0,n.assertOneOf)(true,false,"+","-")),optional:(0,n.validateOptional)((0,n.assertOneOf)(true,false,"+","-")),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")})});a("TSTemplateLiteralType",{aliases:["TSType","TSBaseType"],visitor:["quasis","types"],fields:{quasis:(0,n.validateArrayOfType)("TemplateElement"),types:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")),(function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of types.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}}))}}});a("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){const e=(0,n.assertNodeType)("NumericLiteral","BigIntLiteral");const t=(0,n.assertOneOf)("-");const r=(0,n.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function validator(n,s,a){if((0,i.default)("UnaryExpression",a)){t(a,"operator",a.operator);e(a,"argument",a.argument)}else{r(n,s,a)}}validator.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"];return validator}()}}});{a("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}})}a("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});a("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});a("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});a("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("Expression"),["typeParameters"]:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});const d={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}};a("TSAsExpression",d);a("TSSatisfiesExpression",d);a("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});a("TSEnumBody",{visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSEnumMember")}});{a("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(o),const:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression"),body:(0,n.validateOptionalType)("TSEnumBody")}})}a("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)("Identifier","StringLiteral"),initializer:(0,n.validateOptionalType)("Expression")}});a("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:(0,n.assertOneOf)("global","module","namespace")},declare:(0,n.validateOptional)(o)},{global:(0,n.validateOptional)(o)},{id:(0,n.validateType)("Identifier","StringLiteral"),body:(0,n.validateType)("TSModuleBlock","TSModuleDeclaration")})});a("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});a("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),["typeParameters"]:(0,n.validateOptionalType)("TSTypeParameterInstantiation"),options:{validate:(0,n.assertNodeType)("Expression"),optional:true}}});a("TSImportEqualsDeclaration",{aliases:["Statement","Declaration"],visitor:["id","moduleReference"],fields:Object.assign({},{isExport:(0,n.validate)(o)},{id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)("TSEntityName","TSExternalModuleReference"),importKind:{validate:(0,n.assertOneOf)("type","value"),optional:true}})});a("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});a("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});a("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});a("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});a("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});a("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:(0,n.validateArrayOfType)("TSType")}});a("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:(0,n.validateArrayOfType)("TSTypeParameter")}});a("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},in:{validate:(0,n.assertValueType)("boolean"),optional:true},out:{validate:(0,n.assertValueType)("boolean"),optional:true},const:{validate:(0,n.assertValueType)("boolean"),optional:true},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},6624:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.allExpandedTypes=t.VISITOR_KEYS=t.NODE_PARENT_VALIDATIONS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.ALIAS_KEYS=void 0;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.assertEach=assertEach;t.assertNodeOrValueType=assertNodeOrValueType;t.assertNodeType=assertNodeType;t.assertOneOf=assertOneOf;t.assertOptionalChainStart=assertOptionalChainStart;t.assertShape=assertShape;t.assertValueType=assertValueType;t.chain=chain;t["default"]=defineType;t.defineAliasedType=defineAliasedType;t.validate=validate;t.validateArrayOfType=validateArrayOfType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.validateType=validateType;var n=r(7670);var s=r(8966);const i=t.VISITOR_KEYS={};const a=t.ALIAS_KEYS={};const o=t.FLIPPED_ALIAS_KEYS={};const l=t.NODE_FIELDS={};const c=t.BUILDER_KEYS={};const p=t.DEPRECATED_KEYS={};const u=t.NODE_PARENT_VALIDATIONS={};function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function validateType(...e){return validate(assertNodeType(...e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(...e){return{validate:assertNodeType(...e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(...e){return arrayOf(assertNodeType(...e))}function validateArrayOfType(...e){return validate(arrayOfType(...e))}function assertEach(e){const t=process.env.BABEL_TYPES_8_BREAKING?s.validateChild:()=>{};function validator(r,n,s){if(!Array.isArray(s))return;let i=0;const a={toString(){return`${n}[${i}]`}};for(;i<s.length;i++){const n=s[i];e(r,a,n);t(r,a,n)}}validator.each=e;return validator}function assertOneOf(...e){function validate(t,r,n){if(!e.includes(n)){throw new TypeError(`Property ${r} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(n)}`)}}validate.oneOf=e;return validate}const d=t.allExpandedTypes=[];function assertNodeType(...e){const t=new Set;d.push({types:e,set:t});function validate(r,i,a){const o=a==null?void 0:a.type;if(o!=null){if(t.has(o)){(0,s.validateChild)(r,i,a);return}if(o==="Placeholder"){for(const t of e){if((0,n.default)(t,a)){(0,s.validateChild)(r,i,a);return}}}}throw new TypeError(`Property ${i} of ${r.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(o)}`)}validate.oneOfNodeTypes=e;return validate}function assertNodeOrValueType(...e){function validate(t,r,i){const a=getType(i);for(const o of e){if(a===o||(0,n.default)(o,i)){(0,s.validateChild)(t,r,i);return}}throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(i==null?void 0:i.type)}`)}validate.oneOfNodeOrValueTypes=e;return validate}function assertValueType(e){function validate(t,r,n){if(getType(n)===e){return}throw new TypeError(`Property ${r} expected type of ${e} but got ${getType(n)}`)}validate.type=e;return validate}function assertShape(e){const t=Object.keys(e);function validate(r,n,i){const a=[];for(const n of t){try{(0,s.validateField)(r,n,i[n],e[n])}catch(e){if(e instanceof TypeError){a.push(e.message);continue}throw e}}if(a.length){throw new TypeError(`Property ${n} of ${r.type} expected to have the following:\n${a.join("\n")}`)}}validate.shapeOf=e;return validate}function assertOptionalChainStart(){function validate(e){var t;let r=e;while(e){const{type:e}=r;if(e==="OptionalCallExpression"){if(r.optional)return;r=r.callee;continue}if(e==="OptionalMemberExpression"){if(r.optional)return;r=r.object;continue}break}throw new TypeError(`Non-optional ${e.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(t=r)==null?void 0:t.type}`)}return validate}function chain(...e){function validate(...t){for(const r of e){r(...t)}}validate.chainOf=e;if(e.length>=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]);const h=new Set(["default","optional","deprecated","validate"]);const m={};function defineAliasedType(...e){return(t,r={})=>{let n=r.aliases;if(!n){var s;if(r.inherits)n=(s=m[r.inherits].aliases)==null?void 0:s.slice();n!=null?n:n=[];r.aliases=n}const i=e.filter((e=>!n.includes(e)));n.unshift(...i);defineType(t,r)}}function defineType(e,t={}){const r=t.inherits&&m[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,deprecated:e.deprecated,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const d=t.aliases||r.aliases||[];const y=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(!f.has(r)){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){p[t.deprecatedAlias]=e}for(const e of s.concat(y)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&!y.includes(t)){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(!h.has(n)){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;c[e]=t.builder=y;l[e]=t.fields=n;a[e]=t.aliases=d;d.forEach((t=>{o[t]=o[t]||[];o[t].push(e)}));if(t.validate){u[e]=t.validate}m[e]=t}},3061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getAssignmentIdentifiers:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,getFunctionName:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true,__internal__deprecationWarning:true};Object.defineProperty(t,"__internal__deprecationWarning",{enumerable:true,get:function(){return ye.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return he.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"getAssignmentIdentifiers",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"getFunctionName",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return de.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return U.default}});t.react=void 0;Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return O.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return j.default}});var s=r(9651);var i=r(339);var a=r(1323);var o=r(2856);var l=r(1501);Object.keys(l).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})}));var c=r(1655);var p=r(5164);var u=r(1258);var d=r(3396);Object.keys(d).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})}));var f=r(4755);Object.keys(f).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})}));var h=r(363);var m=r(8329);var y=r(8637);var g=r(7684);var b=r(9410);var T=r(5185);var S=r(9039);var x=r(3041);var E=r(5151);var P=r(5060);var v=r(8538);var A=r(170);var w=r(4766);Object.keys(w).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===w[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return w[e]}})}));var I=r(1164);Object.keys(I).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})}));var C=r(7234);var O=r(1350);var N=r(3670);var k=r(5847);var _=r(4811);var D=r(1334);var M=r(1480);var L=r(1035);var j=r(5222);var F=r(6767);Object.keys(F).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===F[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return F[e]}})}));var B=r(2246);var R=r(2774);var U=r(6254);var K=r(4370);var V=r(9437);var W=r(1078);var $=r(3573);var q=r(6306);var H=r(6128);var G=r(6626);var J=r(6348);Object.keys(J).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===J[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return J[e]}})}));var z=r(4865);var X=r(1119);var Y=r(7670);var Q=r(5195);var Z=r(3652);var ee=r(8597);var te=r(9626);var re=r(6087);var ne=r(8486);var se=r(8557);var ie=r(5028);var ae=r(1559);var oe=r(8445);var le=r(8388);var ce=r(3502);var pe=r(2892);var ue=r(7581);var de=r(3447);var fe=r(8966);var he=r(7723);var me=r(46);Object.keys(me).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})}));var ye=r(8760);var ge=r(4136);const be=t.react={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};{t.toSequenceExpression=ge.default}if(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!")}},2246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=appendToMemberExpression;var n=r(4755);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},1078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeTypeDuplicates;var n=r(46);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t=Array.from(e);const r=new Map;const s=new Map;const i=new Set;const a=[];for(let e=0;e<t.length;e++){const o=t[e];if(!o)continue;if(a.includes(o)){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){s.set(o.type,o);continue}if((0,n.isUnionTypeAnnotation)(o)){if(!i.has(o.types)){t.push(...o.types);i.add(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(r.has(e)){let t=r.get(e);if(t.typeParameters){if(o.typeParameters){t.typeParameters.params.push(...o.typeParameters.params);t.typeParameters.params=removeTypeDuplicates(t.typeParameters.params)}}else{t=o.typeParameters}}else{r.set(e,o)}continue}a.push(o)}for(const[,e]of s){a.push(e)}for(const[,e]of r){a.push(e)}return a}},2774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inherits;var n=r(1164);var s=r(5060);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone"){e[r]=t[r]}}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},6254:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=prependToMemberExpression;var n=r(4755);var s=r(3061);function prependToMemberExpression(e,t){if((0,s.isSuper)(e.object)){throw new Error("Cannot prepend node to super property access (`super.foo`).")}e.object=(0,n.memberExpression)(t,e.object);return e}},4370:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeProperties;var n=r(1164);const s=["tokens","start","end","loc","raw","rawValue"];const i=[...n.COMMENT_KEYS,"comments",...s];function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},9437:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removePropertiesDeep;var n=r(4865);var s=r(4370);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},6066:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeTypeDuplicates;var n=r(46);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:(0,n.isThisExpression)(e)?"this":`${e.right.name}.${getQualifiedName(e.left)}`}function removeTypeDuplicates(e){const t=Array.from(e);const r=new Map;const s=new Map;const i=new Set;const a=[];for(let e=0;e<t.length;e++){const o=t[e];if(!o)continue;if(a.includes(o)){continue}if((0,n.isTSAnyKeyword)(o)){return[o]}if((0,n.isTSBaseType)(o)){s.set(o.type,o);continue}if((0,n.isTSUnionType)(o)){if(!i.has(o.types)){t.push(...o.types);i.add(o.types)}continue}const l="typeParameters";if((0,n.isTSTypeReference)(o)&&o[l]){const e=o[l];const t=getQualifiedName(o.typeName);if(r.has(t)){let n=r.get(t);const s=n[l];if(s){s.params.push(...e.params);s.params=removeTypeDuplicates(s.params)}else{n=e}}else{r.set(t,o)}continue}a.push(o)}for(const[,e]of s){a.push(e)}for(const[,e]of r){a.push(e)}return a}},3573:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=getAssignmentIdentifiers;function getAssignmentIdentifiers(e){const t=[].concat(e);const r=Object.create(null);while(t.length){const e=t.pop();if(!e)continue;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":if(e.operator==="delete"){t.push(e.argument)}break;case"Identifier":r[e.name]=e;break;default:break}}return r}},6306:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=getBindingIdentifiers;var n=r(46);function getBindingIdentifiers(e,t,r,s){const i=[].concat(e);const a=Object.create(null);while(i.length){const e=i.shift();if(!e)continue;if(s&&((0,n.isAssignmentExpression)(e)||(0,n.isUnaryExpression)(e)||(0,n.isUpdateExpression)(e))){continue}if((0,n.isIdentifier)(e)){if(t){const t=a[e.name]=a[e.name]||[];t.push(e)}else{a[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){i.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){i.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}const o=getBindingIdentifiers.keys[e.type];if(o){for(let t=0;t<o.length;t++){const r=o[t];const n=e[r];if(n){if(Array.isArray(n)){i.push(...n)}else{i.push(n)}}}}}return a}const s={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"]};getBindingIdentifiers.keys=s},6626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=getFunctionName;var n=r(46);function getNameFromLiteralId(e){if((0,n.isNullLiteral)(e)){return"null"}if((0,n.isRegExpLiteral)(e)){return`/${e.pattern}/${e.flags}`}if((0,n.isTemplateLiteral)(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return String(e.value)}return null}function getObjectMemberKey(e){if(!e.computed||(0,n.isLiteral)(e.key)){return e.key}}function getFunctionName(e,t){if("id"in e&&e.id){return{name:e.id.name,originalNode:e.id}}let r="";let s;if((0,n.isObjectProperty)(t,{value:e})){s=getObjectMemberKey(t)}else if((0,n.isObjectMethod)(e)||(0,n.isClassMethod)(e)){s=getObjectMemberKey(e);if(e.kind==="get")r="get ";else if(e.kind==="set")r="set "}else if((0,n.isVariableDeclarator)(t,{init:e})){s=t.id}else if((0,n.isAssignmentExpression)(t,{operator:"=",right:e})){s=t.left}if(!s)return null;const i=(0,n.isLiteral)(s)?getNameFromLiteralId(s):(0,n.isIdentifier)(s)?s.name:(0,n.isPrivateName)(s)?s.id.name:null;if(i==null)return null;return{name:r+i,originalNode:s}}},6128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(6306);var s=t["default"]=getOuterBindingIdentifiers;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},6348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=traverse;var n=r(6767);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o<a.length;o++){const l=a[o];if(!l)continue;i.push({node:e,key:n,index:o});traverseSimpleImpl(l,t,r,s,i);i.pop()}}else if(a){i.push({node:e,key:n});traverseSimpleImpl(a,t,r,s,i);i.pop()}}if(r)r(e,i,s)}},4865:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=traverseFast;var n=r(6767);const s=Symbol();const i=Symbol();function traverseFast(e,t,r){if(!e)return false;const a=n.VISITOR_KEYS[e.type];if(!a)return false;r=r||{};const o=t(e,r);if(o!==undefined){switch(o){case s:return false;case i:return true}}for(const n of a){const s=e[n];if(!s)continue;if(Array.isArray(s)){for(const e of s){if(traverseFast(e,t,r))return true}}else{if(traverseFast(s,t,r))return true}}return false}traverseFast.skip=s;traverseFast.stop=i},8760:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=deprecationWarning;const r=new Set;function deprecationWarning(e,t,n=""){if(r.has(e))return;r.add(e);const{internal:s,trace:i}=captureShortStackTrace(1,2);if(s){return}console.warn(`${n}\`${e}\` has been deprecated, please migrate to \`${t}\`\n${i}`)}function captureShortStackTrace(e,t){const{stackTraceLimit:r,prepareStackTrace:n}=Error;let s;Error.stackTraceLimit=1+e+t;Error.prepareStackTrace=function(e,t){s=t};(new Error).stack;Error.stackTraceLimit=r;Error.prepareStackTrace=n;if(!s)return{internal:false,trace:""};const i=s.slice(1+e,1+e+t);return{internal:/[\\/]@babel[\\/]/.test(i[1].getFileName()),trace:i.map((e=>` at ${e}`)).join("\n")}}},2660:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},8530:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cleanJSXElementLiteralChild;var n=r(4755);var s=r(3061);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let i=0;for(let e=0;e<r.length;e++){if(/[^ \t]/.exec(r[e])){i=e}}let a="";for(let e=0;e<r.length;e++){const t=r[e];const n=e===0;const s=e===r.length-1;const o=e===i;let l=t.replace(/\t/g," ");if(!n){l=l.replace(/^ +/,"")}if(!s){l=l.replace(/ +$/,"")}if(l){if(!o){l+=" "}a+=l}}if(a)t.push((0,s.inherits)((0,n.stringLiteral)(a),e))}},1119:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},7723:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=buildMatchMemberExpression;var n=r(3447);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},46:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isAccessor=isAccessor;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isArrayExpression=isArrayExpression;t.isArrayPattern=isArrayPattern;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isAssignmentExpression=isAssignmentExpression;t.isAssignmentPattern=isAssignmentPattern;t.isAwaitExpression=isAwaitExpression;t.isBigIntLiteral=isBigIntLiteral;t.isBinary=isBinary;t.isBinaryExpression=isBinaryExpression;t.isBindExpression=isBindExpression;t.isBlock=isBlock;t.isBlockParent=isBlockParent;t.isBlockStatement=isBlockStatement;t.isBooleanLiteral=isBooleanLiteral;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isClass=isClass;t.isClassAccessorProperty=isClassAccessorProperty;t.isClassBody=isClassBody;t.isClassDeclaration=isClassDeclaration;t.isClassExpression=isClassExpression;t.isClassImplements=isClassImplements;t.isClassMethod=isClassMethod;t.isClassPrivateMethod=isClassPrivateMethod;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassProperty=isClassProperty;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDecimalLiteral=isDecimalLiteral;t.isDeclaration=isDeclaration;t.isDeclareClass=isDeclareClass;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareVariable=isDeclareVariable;t.isDeclaredPredicate=isDeclaredPredicate;t.isDecorator=isDecorator;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isDoExpression=isDoExpression;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isEnumBody=isEnumBody;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumDeclaration=isEnumDeclaration;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isEnumMember=isEnumMember;t.isEnumNumberBody=isEnumNumberBody;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringBody=isEnumStringBody;t.isEnumStringMember=isEnumStringMember;t.isEnumSymbolBody=isEnumSymbolBody;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDeclaration=isExportDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isExportSpecifier=isExportSpecifier;t.isExpression=isExpression;t.isExpressionStatement=isExpressionStatement;t.isExpressionWrapper=isExpressionWrapper;t.isFile=isFile;t.isFlow=isFlow;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isFlowType=isFlowType;t.isFor=isFor;t.isForInStatement=isForInStatement;t.isForOfStatement=isForOfStatement;t.isForStatement=isForStatement;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isFunctionParent=isFunctionParent;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isImmutable=isImmutable;t.isImport=isImport;t.isImportAttribute=isImportAttribute;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportExpression=isImportExpression;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportOrExportDeclaration=isImportOrExportDeclaration;t.isImportSpecifier=isImportSpecifier;t.isIndexedAccessType=isIndexedAccessType;t.isInferredPredicate=isInferredPredicate;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isInterpreterDirective=isInterpreterDirective;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isJSX=isJSX;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXClosingFragment=isJSXClosingFragment;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXFragment=isJSXFragment;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXText=isJSXText;t.isLVal=isLVal;t.isLabeledStatement=isLabeledStatement;t.isLiteral=isLiteral;t.isLogicalExpression=isLogicalExpression;t.isLoop=isLoop;t.isMemberExpression=isMemberExpression;t.isMetaProperty=isMetaProperty;t.isMethod=isMethod;t.isMiscellaneous=isMiscellaneous;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isModuleDeclaration=isModuleDeclaration;t.isModuleExpression=isModuleExpression;t.isModuleSpecifier=isModuleSpecifier;t.isNewExpression=isNewExpression;t.isNoop=isNoop;t.isNullLiteral=isNullLiteral;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteral=isNumberLiteral;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isNumericLiteral=isNumericLiteral;t.isObjectExpression=isObjectExpression;t.isObjectMember=isObjectMember;t.isObjectMethod=isObjectMethod;t.isObjectPattern=isObjectPattern;t.isObjectProperty=isObjectProperty;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isOptionalCallExpression=isOptionalCallExpression;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isPattern=isPattern;t.isPatternLike=isPatternLike;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPlaceholder=isPlaceholder;t.isPrivate=isPrivate;t.isPrivateName=isPrivateName;t.isProgram=isProgram;t.isProperty=isProperty;t.isPureish=isPureish;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isRecordExpression=isRecordExpression;t.isRegExpLiteral=isRegExpLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestElement=isRestElement;t.isRestProperty=isRestProperty;t.isReturnStatement=isReturnStatement;t.isScopable=isScopable;t.isSequenceExpression=isSequenceExpression;t.isSpreadElement=isSpreadElement;t.isSpreadProperty=isSpreadProperty;t.isStandardized=isStandardized;t.isStatement=isStatement;t.isStaticBlock=isStaticBlock;t.isStringLiteral=isStringLiteral;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSuper=isSuper;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSArrayType=isTSArrayType;t.isTSAsExpression=isTSAsExpression;t.isTSBaseType=isTSBaseType;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConditionalType=isTSConditionalType;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSConstructorType=isTSConstructorType;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSEntityName=isTSEntityName;t.isTSEnumBody=isTSEnumBody;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSExportAssignment=isTSExportAssignment;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSFunctionType=isTSFunctionType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSImportType=isTSImportType;t.isTSIndexSignature=isTSIndexSignature;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSInferType=isTSInferType;t.isTSInstantiationExpression=isTSInstantiationExpression;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSIntersectionType=isTSIntersectionType;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSLiteralType=isTSLiteralType;t.isTSMappedType=isTSMappedType;t.isTSMethodSignature=isTSMethodSignature;t.isTSModuleBlock=isTSModuleBlock;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSOptionalType=isTSOptionalType;t.isTSParameterProperty=isTSParameterProperty;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSPropertySignature=isTSPropertySignature;t.isTSQualifiedName=isTSQualifiedName;t.isTSRestType=isTSRestType;t.isTSSatisfiesExpression=isTSSatisfiesExpression;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSTemplateLiteralType=isTSTemplateLiteralType;t.isTSThisType=isTSThisType;t.isTSTupleType=isTSTupleType;t.isTSType=isTSType;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSTypeElement=isTSTypeElement;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSTypeOperator=isTSTypeOperator;t.isTSTypeParameter=isTSTypeParameter;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeReference=isTSTypeReference;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnionType=isTSUnionType;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isTerminatorless=isTerminatorless;t.isThisExpression=isThisExpression;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isThrowStatement=isThrowStatement;t.isTopicReference=isTopicReference;t.isTryStatement=isTryStatement;t.isTupleExpression=isTupleExpression;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isTypeScript=isTypeScript;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isUnaryExpression=isUnaryExpression;t.isUnaryLike=isUnaryLike;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isUpdateExpression=isUpdateExpression;t.isUserWhitespacable=isUserWhitespacable;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isWhile=isWhile;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isYieldExpression=isYieldExpression;var n=r(1119);var s=r(8760);function isArrayExpression(e,t){if(!e)return false;if(e.type!=="ArrayExpression")return false;return t==null||(0,n.default)(e,t)}function isAssignmentExpression(e,t){if(!e)return false;if(e.type!=="AssignmentExpression")return false;return t==null||(0,n.default)(e,t)}function isBinaryExpression(e,t){if(!e)return false;if(e.type!=="BinaryExpression")return false;return t==null||(0,n.default)(e,t)}function isInterpreterDirective(e,t){if(!e)return false;if(e.type!=="InterpreterDirective")return false;return t==null||(0,n.default)(e,t)}function isDirective(e,t){if(!e)return false;if(e.type!=="Directive")return false;return t==null||(0,n.default)(e,t)}function isDirectiveLiteral(e,t){if(!e)return false;if(e.type!=="DirectiveLiteral")return false;return t==null||(0,n.default)(e,t)}function isBlockStatement(e,t){if(!e)return false;if(e.type!=="BlockStatement")return false;return t==null||(0,n.default)(e,t)}function isBreakStatement(e,t){if(!e)return false;if(e.type!=="BreakStatement")return false;return t==null||(0,n.default)(e,t)}function isCallExpression(e,t){if(!e)return false;if(e.type!=="CallExpression")return false;return t==null||(0,n.default)(e,t)}function isCatchClause(e,t){if(!e)return false;if(e.type!=="CatchClause")return false;return t==null||(0,n.default)(e,t)}function isConditionalExpression(e,t){if(!e)return false;if(e.type!=="ConditionalExpression")return false;return t==null||(0,n.default)(e,t)}function isContinueStatement(e,t){if(!e)return false;if(e.type!=="ContinueStatement")return false;return t==null||(0,n.default)(e,t)}function isDebuggerStatement(e,t){if(!e)return false;if(e.type!=="DebuggerStatement")return false;return t==null||(0,n.default)(e,t)}function isDoWhileStatement(e,t){if(!e)return false;if(e.type!=="DoWhileStatement")return false;return t==null||(0,n.default)(e,t)}function isEmptyStatement(e,t){if(!e)return false;if(e.type!=="EmptyStatement")return false;return t==null||(0,n.default)(e,t)}function isExpressionStatement(e,t){if(!e)return false;if(e.type!=="ExpressionStatement")return false;return t==null||(0,n.default)(e,t)}function isFile(e,t){if(!e)return false;if(e.type!=="File")return false;return t==null||(0,n.default)(e,t)}function isForInStatement(e,t){if(!e)return false;if(e.type!=="ForInStatement")return false;return t==null||(0,n.default)(e,t)}function isForStatement(e,t){if(!e)return false;if(e.type!=="ForStatement")return false;return t==null||(0,n.default)(e,t)}function isFunctionDeclaration(e,t){if(!e)return false;if(e.type!=="FunctionDeclaration")return false;return t==null||(0,n.default)(e,t)}function isFunctionExpression(e,t){if(!e)return false;if(e.type!=="FunctionExpression")return false;return t==null||(0,n.default)(e,t)}function isIdentifier(e,t){if(!e)return false;if(e.type!=="Identifier")return false;return t==null||(0,n.default)(e,t)}function isIfStatement(e,t){if(!e)return false;if(e.type!=="IfStatement")return false;return t==null||(0,n.default)(e,t)}function isLabeledStatement(e,t){if(!e)return false;if(e.type!=="LabeledStatement")return false;return t==null||(0,n.default)(e,t)}function isStringLiteral(e,t){if(!e)return false;if(e.type!=="StringLiteral")return false;return t==null||(0,n.default)(e,t)}function isNumericLiteral(e,t){if(!e)return false;if(e.type!=="NumericLiteral")return false;return t==null||(0,n.default)(e,t)}function isNullLiteral(e,t){if(!e)return false;if(e.type!=="NullLiteral")return false;return t==null||(0,n.default)(e,t)}function isBooleanLiteral(e,t){if(!e)return false;if(e.type!=="BooleanLiteral")return false;return t==null||(0,n.default)(e,t)}function isRegExpLiteral(e,t){if(!e)return false;if(e.type!=="RegExpLiteral")return false;return t==null||(0,n.default)(e,t)}function isLogicalExpression(e,t){if(!e)return false;if(e.type!=="LogicalExpression")return false;return t==null||(0,n.default)(e,t)}function isMemberExpression(e,t){if(!e)return false;if(e.type!=="MemberExpression")return false;return t==null||(0,n.default)(e,t)}function isNewExpression(e,t){if(!e)return false;if(e.type!=="NewExpression")return false;return t==null||(0,n.default)(e,t)}function isProgram(e,t){if(!e)return false;if(e.type!=="Program")return false;return t==null||(0,n.default)(e,t)}function isObjectExpression(e,t){if(!e)return false;if(e.type!=="ObjectExpression")return false;return t==null||(0,n.default)(e,t)}function isObjectMethod(e,t){if(!e)return false;if(e.type!=="ObjectMethod")return false;return t==null||(0,n.default)(e,t)}function isObjectProperty(e,t){if(!e)return false;if(e.type!=="ObjectProperty")return false;return t==null||(0,n.default)(e,t)}function isRestElement(e,t){if(!e)return false;if(e.type!=="RestElement")return false;return t==null||(0,n.default)(e,t)}function isReturnStatement(e,t){if(!e)return false;if(e.type!=="ReturnStatement")return false;return t==null||(0,n.default)(e,t)}function isSequenceExpression(e,t){if(!e)return false;if(e.type!=="SequenceExpression")return false;return t==null||(0,n.default)(e,t)}function isParenthesizedExpression(e,t){if(!e)return false;if(e.type!=="ParenthesizedExpression")return false;return t==null||(0,n.default)(e,t)}function isSwitchCase(e,t){if(!e)return false;if(e.type!=="SwitchCase")return false;return t==null||(0,n.default)(e,t)}function isSwitchStatement(e,t){if(!e)return false;if(e.type!=="SwitchStatement")return false;return t==null||(0,n.default)(e,t)}function isThisExpression(e,t){if(!e)return false;if(e.type!=="ThisExpression")return false;return t==null||(0,n.default)(e,t)}function isThrowStatement(e,t){if(!e)return false;if(e.type!=="ThrowStatement")return false;return t==null||(0,n.default)(e,t)}function isTryStatement(e,t){if(!e)return false;if(e.type!=="TryStatement")return false;return t==null||(0,n.default)(e,t)}function isUnaryExpression(e,t){if(!e)return false;if(e.type!=="UnaryExpression")return false;return t==null||(0,n.default)(e,t)}function isUpdateExpression(e,t){if(!e)return false;if(e.type!=="UpdateExpression")return false;return t==null||(0,n.default)(e,t)}function isVariableDeclaration(e,t){if(!e)return false;if(e.type!=="VariableDeclaration")return false;return t==null||(0,n.default)(e,t)}function isVariableDeclarator(e,t){if(!e)return false;if(e.type!=="VariableDeclarator")return false;return t==null||(0,n.default)(e,t)}function isWhileStatement(e,t){if(!e)return false;if(e.type!=="WhileStatement")return false;return t==null||(0,n.default)(e,t)}function isWithStatement(e,t){if(!e)return false;if(e.type!=="WithStatement")return false;return t==null||(0,n.default)(e,t)}function isAssignmentPattern(e,t){if(!e)return false;if(e.type!=="AssignmentPattern")return false;return t==null||(0,n.default)(e,t)}function isArrayPattern(e,t){if(!e)return false;if(e.type!=="ArrayPattern")return false;return t==null||(0,n.default)(e,t)}function isArrowFunctionExpression(e,t){if(!e)return false;if(e.type!=="ArrowFunctionExpression")return false;return t==null||(0,n.default)(e,t)}function isClassBody(e,t){if(!e)return false;if(e.type!=="ClassBody")return false;return t==null||(0,n.default)(e,t)}function isClassExpression(e,t){if(!e)return false;if(e.type!=="ClassExpression")return false;return t==null||(0,n.default)(e,t)}function isClassDeclaration(e,t){if(!e)return false;if(e.type!=="ClassDeclaration")return false;return t==null||(0,n.default)(e,t)}function isExportAllDeclaration(e,t){if(!e)return false;if(e.type!=="ExportAllDeclaration")return false;return t==null||(0,n.default)(e,t)}function isExportDefaultDeclaration(e,t){if(!e)return false;if(e.type!=="ExportDefaultDeclaration")return false;return t==null||(0,n.default)(e,t)}function isExportNamedDeclaration(e,t){if(!e)return false;if(e.type!=="ExportNamedDeclaration")return false;return t==null||(0,n.default)(e,t)}function isExportSpecifier(e,t){if(!e)return false;if(e.type!=="ExportSpecifier")return false;return t==null||(0,n.default)(e,t)}function isForOfStatement(e,t){if(!e)return false;if(e.type!=="ForOfStatement")return false;return t==null||(0,n.default)(e,t)}function isImportDeclaration(e,t){if(!e)return false;if(e.type!=="ImportDeclaration")return false;return t==null||(0,n.default)(e,t)}function isImportDefaultSpecifier(e,t){if(!e)return false;if(e.type!=="ImportDefaultSpecifier")return false;return t==null||(0,n.default)(e,t)}function isImportNamespaceSpecifier(e,t){if(!e)return false;if(e.type!=="ImportNamespaceSpecifier")return false;return t==null||(0,n.default)(e,t)}function isImportSpecifier(e,t){if(!e)return false;if(e.type!=="ImportSpecifier")return false;return t==null||(0,n.default)(e,t)}function isImportExpression(e,t){if(!e)return false;if(e.type!=="ImportExpression")return false;return t==null||(0,n.default)(e,t)}function isMetaProperty(e,t){if(!e)return false;if(e.type!=="MetaProperty")return false;return t==null||(0,n.default)(e,t)}function isClassMethod(e,t){if(!e)return false;if(e.type!=="ClassMethod")return false;return t==null||(0,n.default)(e,t)}function isObjectPattern(e,t){if(!e)return false;if(e.type!=="ObjectPattern")return false;return t==null||(0,n.default)(e,t)}function isSpreadElement(e,t){if(!e)return false;if(e.type!=="SpreadElement")return false;return t==null||(0,n.default)(e,t)}function isSuper(e,t){if(!e)return false;if(e.type!=="Super")return false;return t==null||(0,n.default)(e,t)}function isTaggedTemplateExpression(e,t){if(!e)return false;if(e.type!=="TaggedTemplateExpression")return false;return t==null||(0,n.default)(e,t)}function isTemplateElement(e,t){if(!e)return false;if(e.type!=="TemplateElement")return false;return t==null||(0,n.default)(e,t)}function isTemplateLiteral(e,t){if(!e)return false;if(e.type!=="TemplateLiteral")return false;return t==null||(0,n.default)(e,t)}function isYieldExpression(e,t){if(!e)return false;if(e.type!=="YieldExpression")return false;return t==null||(0,n.default)(e,t)}function isAwaitExpression(e,t){if(!e)return false;if(e.type!=="AwaitExpression")return false;return t==null||(0,n.default)(e,t)}function isImport(e,t){if(!e)return false;if(e.type!=="Import")return false;return t==null||(0,n.default)(e,t)}function isBigIntLiteral(e,t){if(!e)return false;if(e.type!=="BigIntLiteral")return false;return t==null||(0,n.default)(e,t)}function isExportNamespaceSpecifier(e,t){if(!e)return false;if(e.type!=="ExportNamespaceSpecifier")return false;return t==null||(0,n.default)(e,t)}function isOptionalMemberExpression(e,t){if(!e)return false;if(e.type!=="OptionalMemberExpression")return false;return t==null||(0,n.default)(e,t)}function isOptionalCallExpression(e,t){if(!e)return false;if(e.type!=="OptionalCallExpression")return false;return t==null||(0,n.default)(e,t)}function isClassProperty(e,t){if(!e)return false;if(e.type!=="ClassProperty")return false;return t==null||(0,n.default)(e,t)}function isClassAccessorProperty(e,t){if(!e)return false;if(e.type!=="ClassAccessorProperty")return false;return t==null||(0,n.default)(e,t)}function isClassPrivateProperty(e,t){if(!e)return false;if(e.type!=="ClassPrivateProperty")return false;return t==null||(0,n.default)(e,t)}function isClassPrivateMethod(e,t){if(!e)return false;if(e.type!=="ClassPrivateMethod")return false;return t==null||(0,n.default)(e,t)}function isPrivateName(e,t){if(!e)return false;if(e.type!=="PrivateName")return false;return t==null||(0,n.default)(e,t)}function isStaticBlock(e,t){if(!e)return false;if(e.type!=="StaticBlock")return false;return t==null||(0,n.default)(e,t)}function isImportAttribute(e,t){if(!e)return false;if(e.type!=="ImportAttribute")return false;return t==null||(0,n.default)(e,t)}function isAnyTypeAnnotation(e,t){if(!e)return false;if(e.type!=="AnyTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isArrayTypeAnnotation(e,t){if(!e)return false;if(e.type!=="ArrayTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isBooleanTypeAnnotation(e,t){if(!e)return false;if(e.type!=="BooleanTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;if(e.type!=="BooleanLiteralTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;if(e.type!=="NullLiteralTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isClassImplements(e,t){if(!e)return false;if(e.type!=="ClassImplements")return false;return t==null||(0,n.default)(e,t)}function isDeclareClass(e,t){if(!e)return false;if(e.type!=="DeclareClass")return false;return t==null||(0,n.default)(e,t)}function isDeclareFunction(e,t){if(!e)return false;if(e.type!=="DeclareFunction")return false;return t==null||(0,n.default)(e,t)}function isDeclareInterface(e,t){if(!e)return false;if(e.type!=="DeclareInterface")return false;return t==null||(0,n.default)(e,t)}function isDeclareModule(e,t){if(!e)return false;if(e.type!=="DeclareModule")return false;return t==null||(0,n.default)(e,t)}function isDeclareModuleExports(e,t){if(!e)return false;if(e.type!=="DeclareModuleExports")return false;return t==null||(0,n.default)(e,t)}function isDeclareTypeAlias(e,t){if(!e)return false;if(e.type!=="DeclareTypeAlias")return false;return t==null||(0,n.default)(e,t)}function isDeclareOpaqueType(e,t){if(!e)return false;if(e.type!=="DeclareOpaqueType")return false;return t==null||(0,n.default)(e,t)}function isDeclareVariable(e,t){if(!e)return false;if(e.type!=="DeclareVariable")return false;return t==null||(0,n.default)(e,t)}function isDeclareExportDeclaration(e,t){if(!e)return false;if(e.type!=="DeclareExportDeclaration")return false;return t==null||(0,n.default)(e,t)}function isDeclareExportAllDeclaration(e,t){if(!e)return false;if(e.type!=="DeclareExportAllDeclaration")return false;return t==null||(0,n.default)(e,t)}function isDeclaredPredicate(e,t){if(!e)return false;if(e.type!=="DeclaredPredicate")return false;return t==null||(0,n.default)(e,t)}function isExistsTypeAnnotation(e,t){if(!e)return false;if(e.type!=="ExistsTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isFunctionTypeAnnotation(e,t){if(!e)return false;if(e.type!=="FunctionTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isFunctionTypeParam(e,t){if(!e)return false;if(e.type!=="FunctionTypeParam")return false;return t==null||(0,n.default)(e,t)}function isGenericTypeAnnotation(e,t){if(!e)return false;if(e.type!=="GenericTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isInferredPredicate(e,t){if(!e)return false;if(e.type!=="InferredPredicate")return false;return t==null||(0,n.default)(e,t)}function isInterfaceExtends(e,t){if(!e)return false;if(e.type!=="InterfaceExtends")return false;return t==null||(0,n.default)(e,t)}function isInterfaceDeclaration(e,t){if(!e)return false;if(e.type!=="InterfaceDeclaration")return false;return t==null||(0,n.default)(e,t)}function isInterfaceTypeAnnotation(e,t){if(!e)return false;if(e.type!=="InterfaceTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isIntersectionTypeAnnotation(e,t){if(!e)return false;if(e.type!=="IntersectionTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isMixedTypeAnnotation(e,t){if(!e)return false;if(e.type!=="MixedTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isEmptyTypeAnnotation(e,t){if(!e)return false;if(e.type!=="EmptyTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isNullableTypeAnnotation(e,t){if(!e)return false;if(e.type!=="NullableTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;if(e.type!=="NumberLiteralTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isNumberTypeAnnotation(e,t){if(!e)return false;if(e.type!=="NumberTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeAnnotation(e,t){if(!e)return false;if(e.type!=="ObjectTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeInternalSlot(e,t){if(!e)return false;if(e.type!=="ObjectTypeInternalSlot")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeCallProperty(e,t){if(!e)return false;if(e.type!=="ObjectTypeCallProperty")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeIndexer(e,t){if(!e)return false;if(e.type!=="ObjectTypeIndexer")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeProperty(e,t){if(!e)return false;if(e.type!=="ObjectTypeProperty")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeSpreadProperty(e,t){if(!e)return false;if(e.type!=="ObjectTypeSpreadProperty")return false;return t==null||(0,n.default)(e,t)}function isOpaqueType(e,t){if(!e)return false;if(e.type!=="OpaqueType")return false;return t==null||(0,n.default)(e,t)}function isQualifiedTypeIdentifier(e,t){if(!e)return false;if(e.type!=="QualifiedTypeIdentifier")return false;return t==null||(0,n.default)(e,t)}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;if(e.type!=="StringLiteralTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isStringTypeAnnotation(e,t){if(!e)return false;if(e.type!=="StringTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isSymbolTypeAnnotation(e,t){if(!e)return false;if(e.type!=="SymbolTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isThisTypeAnnotation(e,t){if(!e)return false;if(e.type!=="ThisTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isTupleTypeAnnotation(e,t){if(!e)return false;if(e.type!=="TupleTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isTypeofTypeAnnotation(e,t){if(!e)return false;if(e.type!=="TypeofTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isTypeAlias(e,t){if(!e)return false;if(e.type!=="TypeAlias")return false;return t==null||(0,n.default)(e,t)}function isTypeAnnotation(e,t){if(!e)return false;if(e.type!=="TypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isTypeCastExpression(e,t){if(!e)return false;if(e.type!=="TypeCastExpression")return false;return t==null||(0,n.default)(e,t)}function isTypeParameter(e,t){if(!e)return false;if(e.type!=="TypeParameter")return false;return t==null||(0,n.default)(e,t)}function isTypeParameterDeclaration(e,t){if(!e)return false;if(e.type!=="TypeParameterDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTypeParameterInstantiation(e,t){if(!e)return false;if(e.type!=="TypeParameterInstantiation")return false;return t==null||(0,n.default)(e,t)}function isUnionTypeAnnotation(e,t){if(!e)return false;if(e.type!=="UnionTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isVariance(e,t){if(!e)return false;if(e.type!=="Variance")return false;return t==null||(0,n.default)(e,t)}function isVoidTypeAnnotation(e,t){if(!e)return false;if(e.type!=="VoidTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isEnumDeclaration(e,t){if(!e)return false;if(e.type!=="EnumDeclaration")return false;return t==null||(0,n.default)(e,t)}function isEnumBooleanBody(e,t){if(!e)return false;if(e.type!=="EnumBooleanBody")return false;return t==null||(0,n.default)(e,t)}function isEnumNumberBody(e,t){if(!e)return false;if(e.type!=="EnumNumberBody")return false;return t==null||(0,n.default)(e,t)}function isEnumStringBody(e,t){if(!e)return false;if(e.type!=="EnumStringBody")return false;return t==null||(0,n.default)(e,t)}function isEnumSymbolBody(e,t){if(!e)return false;if(e.type!=="EnumSymbolBody")return false;return t==null||(0,n.default)(e,t)}function isEnumBooleanMember(e,t){if(!e)return false;if(e.type!=="EnumBooleanMember")return false;return t==null||(0,n.default)(e,t)}function isEnumNumberMember(e,t){if(!e)return false;if(e.type!=="EnumNumberMember")return false;return t==null||(0,n.default)(e,t)}function isEnumStringMember(e,t){if(!e)return false;if(e.type!=="EnumStringMember")return false;return t==null||(0,n.default)(e,t)}function isEnumDefaultedMember(e,t){if(!e)return false;if(e.type!=="EnumDefaultedMember")return false;return t==null||(0,n.default)(e,t)}function isIndexedAccessType(e,t){if(!e)return false;if(e.type!=="IndexedAccessType")return false;return t==null||(0,n.default)(e,t)}function isOptionalIndexedAccessType(e,t){if(!e)return false;if(e.type!=="OptionalIndexedAccessType")return false;return t==null||(0,n.default)(e,t)}function isJSXAttribute(e,t){if(!e)return false;if(e.type!=="JSXAttribute")return false;return t==null||(0,n.default)(e,t)}function isJSXClosingElement(e,t){if(!e)return false;if(e.type!=="JSXClosingElement")return false;return t==null||(0,n.default)(e,t)}function isJSXElement(e,t){if(!e)return false;if(e.type!=="JSXElement")return false;return t==null||(0,n.default)(e,t)}function isJSXEmptyExpression(e,t){if(!e)return false;if(e.type!=="JSXEmptyExpression")return false;return t==null||(0,n.default)(e,t)}function isJSXExpressionContainer(e,t){if(!e)return false;if(e.type!=="JSXExpressionContainer")return false;return t==null||(0,n.default)(e,t)}function isJSXSpreadChild(e,t){if(!e)return false;if(e.type!=="JSXSpreadChild")return false;return t==null||(0,n.default)(e,t)}function isJSXIdentifier(e,t){if(!e)return false;if(e.type!=="JSXIdentifier")return false;return t==null||(0,n.default)(e,t)}function isJSXMemberExpression(e,t){if(!e)return false;if(e.type!=="JSXMemberExpression")return false;return t==null||(0,n.default)(e,t)}function isJSXNamespacedName(e,t){if(!e)return false;if(e.type!=="JSXNamespacedName")return false;return t==null||(0,n.default)(e,t)}function isJSXOpeningElement(e,t){if(!e)return false;if(e.type!=="JSXOpeningElement")return false;return t==null||(0,n.default)(e,t)}function isJSXSpreadAttribute(e,t){if(!e)return false;if(e.type!=="JSXSpreadAttribute")return false;return t==null||(0,n.default)(e,t)}function isJSXText(e,t){if(!e)return false;if(e.type!=="JSXText")return false;return t==null||(0,n.default)(e,t)}function isJSXFragment(e,t){if(!e)return false;if(e.type!=="JSXFragment")return false;return t==null||(0,n.default)(e,t)}function isJSXOpeningFragment(e,t){if(!e)return false;if(e.type!=="JSXOpeningFragment")return false;return t==null||(0,n.default)(e,t)}function isJSXClosingFragment(e,t){if(!e)return false;if(e.type!=="JSXClosingFragment")return false;return t==null||(0,n.default)(e,t)}function isNoop(e,t){if(!e)return false;if(e.type!=="Noop")return false;return t==null||(0,n.default)(e,t)}function isPlaceholder(e,t){if(!e)return false;if(e.type!=="Placeholder")return false;return t==null||(0,n.default)(e,t)}function isV8IntrinsicIdentifier(e,t){if(!e)return false;if(e.type!=="V8IntrinsicIdentifier")return false;return t==null||(0,n.default)(e,t)}function isArgumentPlaceholder(e,t){if(!e)return false;if(e.type!=="ArgumentPlaceholder")return false;return t==null||(0,n.default)(e,t)}function isBindExpression(e,t){if(!e)return false;if(e.type!=="BindExpression")return false;return t==null||(0,n.default)(e,t)}function isDecorator(e,t){if(!e)return false;if(e.type!=="Decorator")return false;return t==null||(0,n.default)(e,t)}function isDoExpression(e,t){if(!e)return false;if(e.type!=="DoExpression")return false;return t==null||(0,n.default)(e,t)}function isExportDefaultSpecifier(e,t){if(!e)return false;if(e.type!=="ExportDefaultSpecifier")return false;return t==null||(0,n.default)(e,t)}function isRecordExpression(e,t){if(!e)return false;if(e.type!=="RecordExpression")return false;return t==null||(0,n.default)(e,t)}function isTupleExpression(e,t){if(!e)return false;if(e.type!=="TupleExpression")return false;return t==null||(0,n.default)(e,t)}function isDecimalLiteral(e,t){if(!e)return false;if(e.type!=="DecimalLiteral")return false;return t==null||(0,n.default)(e,t)}function isModuleExpression(e,t){if(!e)return false;if(e.type!=="ModuleExpression")return false;return t==null||(0,n.default)(e,t)}function isTopicReference(e,t){if(!e)return false;if(e.type!=="TopicReference")return false;return t==null||(0,n.default)(e,t)}function isPipelineTopicExpression(e,t){if(!e)return false;if(e.type!=="PipelineTopicExpression")return false;return t==null||(0,n.default)(e,t)}function isPipelineBareFunction(e,t){if(!e)return false;if(e.type!=="PipelineBareFunction")return false;return t==null||(0,n.default)(e,t)}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;if(e.type!=="PipelinePrimaryTopicReference")return false;return t==null||(0,n.default)(e,t)}function isTSParameterProperty(e,t){if(!e)return false;if(e.type!=="TSParameterProperty")return false;return t==null||(0,n.default)(e,t)}function isTSDeclareFunction(e,t){if(!e)return false;if(e.type!=="TSDeclareFunction")return false;return t==null||(0,n.default)(e,t)}function isTSDeclareMethod(e,t){if(!e)return false;if(e.type!=="TSDeclareMethod")return false;return t==null||(0,n.default)(e,t)}function isTSQualifiedName(e,t){if(!e)return false;if(e.type!=="TSQualifiedName")return false;return t==null||(0,n.default)(e,t)}function isTSCallSignatureDeclaration(e,t){if(!e)return false;if(e.type!=="TSCallSignatureDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;if(e.type!=="TSConstructSignatureDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSPropertySignature(e,t){if(!e)return false;if(e.type!=="TSPropertySignature")return false;return t==null||(0,n.default)(e,t)}function isTSMethodSignature(e,t){if(!e)return false;if(e.type!=="TSMethodSignature")return false;return t==null||(0,n.default)(e,t)}function isTSIndexSignature(e,t){if(!e)return false;if(e.type!=="TSIndexSignature")return false;return t==null||(0,n.default)(e,t)}function isTSAnyKeyword(e,t){if(!e)return false;if(e.type!=="TSAnyKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSBooleanKeyword(e,t){if(!e)return false;if(e.type!=="TSBooleanKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSBigIntKeyword(e,t){if(!e)return false;if(e.type!=="TSBigIntKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSIntrinsicKeyword(e,t){if(!e)return false;if(e.type!=="TSIntrinsicKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSNeverKeyword(e,t){if(!e)return false;if(e.type!=="TSNeverKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSNullKeyword(e,t){if(!e)return false;if(e.type!=="TSNullKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSNumberKeyword(e,t){if(!e)return false;if(e.type!=="TSNumberKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSObjectKeyword(e,t){if(!e)return false;if(e.type!=="TSObjectKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSStringKeyword(e,t){if(!e)return false;if(e.type!=="TSStringKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSSymbolKeyword(e,t){if(!e)return false;if(e.type!=="TSSymbolKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSUndefinedKeyword(e,t){if(!e)return false;if(e.type!=="TSUndefinedKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSUnknownKeyword(e,t){if(!e)return false;if(e.type!=="TSUnknownKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSVoidKeyword(e,t){if(!e)return false;if(e.type!=="TSVoidKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSThisType(e,t){if(!e)return false;if(e.type!=="TSThisType")return false;return t==null||(0,n.default)(e,t)}function isTSFunctionType(e,t){if(!e)return false;if(e.type!=="TSFunctionType")return false;return t==null||(0,n.default)(e,t)}function isTSConstructorType(e,t){if(!e)return false;if(e.type!=="TSConstructorType")return false;return t==null||(0,n.default)(e,t)}function isTSTypeReference(e,t){if(!e)return false;if(e.type!=="TSTypeReference")return false;return t==null||(0,n.default)(e,t)}function isTSTypePredicate(e,t){if(!e)return false;if(e.type!=="TSTypePredicate")return false;return t==null||(0,n.default)(e,t)}function isTSTypeQuery(e,t){if(!e)return false;if(e.type!=="TSTypeQuery")return false;return t==null||(0,n.default)(e,t)}function isTSTypeLiteral(e,t){if(!e)return false;if(e.type!=="TSTypeLiteral")return false;return t==null||(0,n.default)(e,t)}function isTSArrayType(e,t){if(!e)return false;if(e.type!=="TSArrayType")return false;return t==null||(0,n.default)(e,t)}function isTSTupleType(e,t){if(!e)return false;if(e.type!=="TSTupleType")return false;return t==null||(0,n.default)(e,t)}function isTSOptionalType(e,t){if(!e)return false;if(e.type!=="TSOptionalType")return false;return t==null||(0,n.default)(e,t)}function isTSRestType(e,t){if(!e)return false;if(e.type!=="TSRestType")return false;return t==null||(0,n.default)(e,t)}function isTSNamedTupleMember(e,t){if(!e)return false;if(e.type!=="TSNamedTupleMember")return false;return t==null||(0,n.default)(e,t)}function isTSUnionType(e,t){if(!e)return false;if(e.type!=="TSUnionType")return false;return t==null||(0,n.default)(e,t)}function isTSIntersectionType(e,t){if(!e)return false;if(e.type!=="TSIntersectionType")return false;return t==null||(0,n.default)(e,t)}function isTSConditionalType(e,t){if(!e)return false;if(e.type!=="TSConditionalType")return false;return t==null||(0,n.default)(e,t)}function isTSInferType(e,t){if(!e)return false;if(e.type!=="TSInferType")return false;return t==null||(0,n.default)(e,t)}function isTSParenthesizedType(e,t){if(!e)return false;if(e.type!=="TSParenthesizedType")return false;return t==null||(0,n.default)(e,t)}function isTSTypeOperator(e,t){if(!e)return false;if(e.type!=="TSTypeOperator")return false;return t==null||(0,n.default)(e,t)}function isTSIndexedAccessType(e,t){if(!e)return false;if(e.type!=="TSIndexedAccessType")return false;return t==null||(0,n.default)(e,t)}function isTSMappedType(e,t){if(!e)return false;if(e.type!=="TSMappedType")return false;return t==null||(0,n.default)(e,t)}function isTSTemplateLiteralType(e,t){if(!e)return false;if(e.type!=="TSTemplateLiteralType")return false;return t==null||(0,n.default)(e,t)}function isTSLiteralType(e,t){if(!e)return false;if(e.type!=="TSLiteralType")return false;return t==null||(0,n.default)(e,t)}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;if(e.type!=="TSExpressionWithTypeArguments")return false;return t==null||(0,n.default)(e,t)}function isTSInterfaceDeclaration(e,t){if(!e)return false;if(e.type!=="TSInterfaceDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSInterfaceBody(e,t){if(!e)return false;if(e.type!=="TSInterfaceBody")return false;return t==null||(0,n.default)(e,t)}function isTSTypeAliasDeclaration(e,t){if(!e)return false;if(e.type!=="TSTypeAliasDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSInstantiationExpression(e,t){if(!e)return false;if(e.type!=="TSInstantiationExpression")return false;return t==null||(0,n.default)(e,t)}function isTSAsExpression(e,t){if(!e)return false;if(e.type!=="TSAsExpression")return false;return t==null||(0,n.default)(e,t)}function isTSSatisfiesExpression(e,t){if(!e)return false;if(e.type!=="TSSatisfiesExpression")return false;return t==null||(0,n.default)(e,t)}function isTSTypeAssertion(e,t){if(!e)return false;if(e.type!=="TSTypeAssertion")return false;return t==null||(0,n.default)(e,t)}function isTSEnumBody(e,t){if(!e)return false;if(e.type!=="TSEnumBody")return false;return t==null||(0,n.default)(e,t)}function isTSEnumDeclaration(e,t){if(!e)return false;if(e.type!=="TSEnumDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSEnumMember(e,t){if(!e)return false;if(e.type!=="TSEnumMember")return false;return t==null||(0,n.default)(e,t)}function isTSModuleDeclaration(e,t){if(!e)return false;if(e.type!=="TSModuleDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSModuleBlock(e,t){if(!e)return false;if(e.type!=="TSModuleBlock")return false;return t==null||(0,n.default)(e,t)}function isTSImportType(e,t){if(!e)return false;if(e.type!=="TSImportType")return false;return t==null||(0,n.default)(e,t)}function isTSImportEqualsDeclaration(e,t){if(!e)return false;if(e.type!=="TSImportEqualsDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSExternalModuleReference(e,t){if(!e)return false;if(e.type!=="TSExternalModuleReference")return false;return t==null||(0,n.default)(e,t)}function isTSNonNullExpression(e,t){if(!e)return false;if(e.type!=="TSNonNullExpression")return false;return t==null||(0,n.default)(e,t)}function isTSExportAssignment(e,t){if(!e)return false;if(e.type!=="TSExportAssignment")return false;return t==null||(0,n.default)(e,t)}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;if(e.type!=="TSNamespaceExportDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSTypeAnnotation(e,t){if(!e)return false;if(e.type!=="TSTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isTSTypeParameterInstantiation(e,t){if(!e)return false;if(e.type!=="TSTypeParameterInstantiation")return false;return t==null||(0,n.default)(e,t)}function isTSTypeParameterDeclaration(e,t){if(!e)return false;if(e.type!=="TSTypeParameterDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSTypeParameter(e,t){if(!e)return false;if(e.type!=="TSTypeParameter")return false;return t==null||(0,n.default)(e,t)}function isStandardized(e,t){if(!e)return false;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 false}break;default:return false}return t==null||(0,n.default)(e,t)}function isExpression(e,t){if(!e)return false;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 false}break;default:return false}return t==null||(0,n.default)(e,t)}function isBinary(e,t){if(!e)return false;switch(e.type){case"BinaryExpression":case"LogicalExpression":break;default:return false}return t==null||(0,n.default)(e,t)}function isScopable(e,t){if(!e)return false;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(e.expectedNode==="BlockStatement")break;default:return false}return t==null||(0,n.default)(e,t)}function isBlockParent(e,t){if(!e)return false;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(e.expectedNode==="BlockStatement")break;default:return false}return t==null||(0,n.default)(e,t)}function isBlock(e,t){if(!e)return false;switch(e.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(e.expectedNode==="BlockStatement")break;default:return false}return t==null||(0,n.default)(e,t)}function isStatement(e,t){if(!e)return false;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 false}break;default:return false}return t==null||(0,n.default)(e,t)}function isTerminatorless(e,t){if(!e)return false;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return false}return t==null||(0,n.default)(e,t)}function isCompletionStatement(e,t){if(!e)return false;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isConditional(e,t){if(!e)return false;switch(e.type){case"ConditionalExpression":case"IfStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isLoop(e,t){if(!e)return false;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isWhile(e,t){if(!e)return false;switch(e.type){case"DoWhileStatement":case"WhileStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isExpressionWrapper(e,t){if(!e)return false;switch(e.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return false}return t==null||(0,n.default)(e,t)}function isFor(e,t){if(!e)return false;switch(e.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isForXStatement(e,t){if(!e)return false;switch(e.type){case"ForInStatement":case"ForOfStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isFunction(e,t){if(!e)return false;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return false}return t==null||(0,n.default)(e,t)}function isFunctionParent(e,t){if(!e)return false;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return false}return t==null||(0,n.default)(e,t)}function isPureish(e,t){if(!e)return false;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(e.expectedNode==="StringLiteral")break;default:return false}return t==null||(0,n.default)(e,t)}function isDeclaration(e,t){if(!e)return false;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(e.expectedNode==="Declaration")break;default:return false}return t==null||(0,n.default)(e,t)}function isPatternLike(e,t){if(!e)return false;switch(e.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Pattern":case"Identifier":break;default:return false}break;default:return false}return t==null||(0,n.default)(e,t)}function isLVal(e,t){if(!e)return false;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 false}break;default:return false}return t==null||(0,n.default)(e,t)}function isTSEntityName(e,t){if(!e)return false;switch(e.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(e.expectedNode==="Identifier")break;default:return false}return t==null||(0,n.default)(e,t)}function isLiteral(e,t){if(!e)return false;switch(e.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(e.expectedNode==="StringLiteral")break;default:return false}return t==null||(0,n.default)(e,t)}function isImmutable(e,t){if(!e)return false;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(e.expectedNode==="StringLiteral")break;default:return false}return t==null||(0,n.default)(e,t)}function isUserWhitespacable(e,t){if(!e)return false;switch(e.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return false}return t==null||(0,n.default)(e,t)}function isMethod(e,t){if(!e)return false;switch(e.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return false}return t==null||(0,n.default)(e,t)}function isObjectMember(e,t){if(!e)return false;switch(e.type){case"ObjectMethod":case"ObjectProperty":break;default:return false}return t==null||(0,n.default)(e,t)}function isProperty(e,t){if(!e)return false;switch(e.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return false}return t==null||(0,n.default)(e,t)}function isUnaryLike(e,t){if(!e)return false;switch(e.type){case"UnaryExpression":case"SpreadElement":break;default:return false}return t==null||(0,n.default)(e,t)}function isPattern(e,t){if(!e)return false;switch(e.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(e.expectedNode==="Pattern")break;default:return false}return t==null||(0,n.default)(e,t)}function isClass(e,t){if(!e)return false;switch(e.type){case"ClassExpression":case"ClassDeclaration":break;default:return false}return t==null||(0,n.default)(e,t)}function isImportOrExportDeclaration(e,t){if(!e)return false;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return false}return t==null||(0,n.default)(e,t)}function isExportDeclaration(e,t){if(!e)return false;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return false}return t==null||(0,n.default)(e,t)}function isModuleSpecifier(e,t){if(!e)return false;switch(e.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return false}return t==null||(0,n.default)(e,t)}function isAccessor(e,t){if(!e)return false;switch(e.type){case"ClassAccessorProperty":break;default:return false}return t==null||(0,n.default)(e,t)}function isPrivate(e,t){if(!e)return false;switch(e.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return false}return t==null||(0,n.default)(e,t)}function isFlow(e,t){if(!e)return false;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 false}return t==null||(0,n.default)(e,t)}function isFlowType(e,t){if(!e)return false;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 false}return t==null||(0,n.default)(e,t)}function isFlowBaseAnnotation(e,t){if(!e)return false;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 false}return t==null||(0,n.default)(e,t)}function isFlowDeclaration(e,t){if(!e)return false;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 false}return t==null||(0,n.default)(e,t)}function isFlowPredicate(e,t){if(!e)return false;switch(e.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return false}return t==null||(0,n.default)(e,t)}function isEnumBody(e,t){if(!e)return false;switch(e.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return false}return t==null||(0,n.default)(e,t)}function isEnumMember(e,t){if(!e)return false;switch(e.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return false}return t==null||(0,n.default)(e,t)}function isJSX(e,t){if(!e)return false;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 false}return t==null||(0,n.default)(e,t)}function isMiscellaneous(e,t){if(!e)return false;switch(e.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return false}return t==null||(0,n.default)(e,t)}function isTypeScript(e,t){if(!e)return false;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 false}return t==null||(0,n.default)(e,t)}function isTSTypeElement(e,t){if(!e)return false;switch(e.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return false}return t==null||(0,n.default)(e,t)}function isTSType(e,t){if(!e)return false;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 false}return t==null||(0,n.default)(e,t)}function isTSBaseType(e,t){if(!e)return false;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 false}return t==null||(0,n.default)(e,t)}function isNumberLiteral(e,t){(0,s.default)("isNumberLiteral","isNumericLiteral");if(!e)return false;if(e.type!=="NumberLiteral")return false;return t==null||(0,n.default)(e,t)}function isRegexLiteral(e,t){(0,s.default)("isRegexLiteral","isRegExpLiteral");if(!e)return false;if(e.type!=="RegexLiteral")return false;return t==null||(0,n.default)(e,t)}function isRestProperty(e,t){(0,s.default)("isRestProperty","isRestElement");if(!e)return false;if(e.type!=="RestProperty")return false;return t==null||(0,n.default)(e,t)}function isSpreadProperty(e,t){(0,s.default)("isSpreadProperty","isSpreadElement");if(!e)return false;if(e.type!=="SpreadProperty")return false;return t==null||(0,n.default)(e,t)}function isModuleDeclaration(e,t){(0,s.default)("isModuleDeclaration","isImportOrExportDeclaration");return isImportOrExportDeclaration(e,t)}},7670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=is;var n=r(1119);var s=r(8388);var i=r(8557);var a=r(6767);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(r===undefined){return true}else{return(0,n.default)(t,r)}}},5195:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isBinding;var n=r(6306);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r<s.length;r++){const n=s[r];const i=t[n];if(Array.isArray(i)){if(i.includes(e))return true}else{if(i===e)return true}}}return false}},3652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isBlockScoped;var n=r(46);var s=r(9626);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},8597:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isImmutable;var n=r(8388);var s=r(46);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},9626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isLet;var n=r(46);{var s=Symbol.for("var used to be block scoped")}function isLet(e){{return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s])}}},6087:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isNode;var n=r(6767);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},8486:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isNodesEquivalent;var n=r(6767);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){const r=e[n];const i=t[n];if(typeof r!==typeof i){return false}if(r==null&&i==null){continue}else if(r==null||i==null){return false}if(Array.isArray(r)){if(!Array.isArray(i)){return false}if(r.length!==i.length){return false}for(let e=0;e<r.length;e++){if(!isNodesEquivalent(r[e],i[e])){return false}}continue}if(typeof r==="object"&&!(s!=null&&s.includes(n))){for(const e of Object.keys(r)){if(r[e]!==i[e]){return false}}continue}if(!isNodesEquivalent(r,i)){return false}}return true}},8557:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isPlaceholderType;var n=r(6767);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r!=null&&r.includes(t))return true;return false}},5028:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isReferenced;function isReferenced(e,t,r){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":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.key===e){return!!t.computed}return false;case"ObjectProperty":if(t.key===e){return!!t.computed}return!r||r.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":if(t.key===e){return!!t.computed}return true;case"ClassPrivateProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"ImportAttribute":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},1559:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isScope;var n=r(46);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},8445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isSpecifierDefault;var n=r(46);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},8388:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isType;var n=r(6767);function isType(e,t){if(e===t)return true;if(e==null)return false;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r!=null&&r.includes(e))return true;return false}},3502:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isValidES3Identifier;var n=r(2892);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},2892:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isValidIdentifier;var n=r(974);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},7581:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isVar;var n=r(46);{var s=Symbol.for("var used to be block scoped")}function isVar(e){{return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s]}}},3447:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=matchesPattern;var n=r(46);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.length<s.length)return false;if(!r&&i.length>s.length)return false;for(let e=0,t=i.length-1;e<s.length;e++,t--){const r=i[t];let a;if((0,n.isIdentifier)(r)){a=r.name}else if((0,n.isStringLiteral)(r)){a=r.value}else if((0,n.isThisExpression)(r)){a="this"}else{return false}if(s[e]!==a)return false}return true}},339:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},9651:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(7723);const s=(0,n.default)("React.Component");var i=t["default"]=s},8966:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=validate;t.validateChild=validateChild;t.validateField=validateField;t.validateInternal=validateInternal;var n=r(6767);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateInternal(e,t,r,s,i){if(!(e!=null&&e.validate))return;if(e.optional&&s==null)return;e.validate(t,r,s);if(i){var a;const e=s.type;if(e==null)return;(a=n.NODE_PARENT_VALIDATIONS[e])==null||a.call(n.NODE_PARENT_VALIDATIONS,t,r,s)}}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){var s;const i=r==null?void 0:r.type;if(i==null)return;(s=n.NODE_PARENT_VALIDATIONS[i])==null||s.call(n.NODE_PARENT_VALIDATIONS,e,t,r)}},1824:(e,t,r)=>{e.exports=function import_(e){return r(5565)(e)};0&&0},9938:(e,t,r)=>{{t.getModuleName=()=>r(9460).getModuleName}0&&0},3702:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"45","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},8427:e=>{"use strict";e.exports=JSON.parse('{"transform-duplicate-named-capturing-groups-regex":{"chrome":"126","opera":"112","edge":"126","firefox":"129","safari":"17.4","node":"23","ios":"17.4","electron":"31.0"},"transform-regexp-modifiers":{"chrome":"125","opera":"111","edge":"125","firefox":"132","node":"23","electron":"31.0"},"transform-unicode-sets-regex":{"chrome":"112","opera":"98","edge":"112","firefox":"116","safari":"17","node":"20","deno":"1.32","ios":"17","opera_mobile":"75","electron":"24.0"},"bugfix/transform-v8-static-class-fields-redefine-readonly":{"chrome":"98","opera":"84","edge":"98","firefox":"75","safari":"15","node":"12","deno":"1.18","ios":"15","samsung":"11","opera_mobile":"52","electron":"17.0"},"bugfix/transform-firefox-class-in-computed-class-key":{"chrome":"74","opera":"62","edge":"79","safari":"16","node":"12","deno":"1","ios":"16","samsung":"11","opera_mobile":"53","electron":"6.0"},"bugfix/transform-safari-class-field-initializer-scope":{"chrome":"74","opera":"62","edge":"79","firefox":"69","safari":"16","node":"12","deno":"1","ios":"16","samsung":"11","opera_mobile":"53","electron":"6.0"},"transform-class-static-block":{"chrome":"94","opera":"80","edge":"94","firefox":"93","safari":"16.4","node":"16.11","deno":"1.14","ios":"16.4","samsung":"17","opera_mobile":"66","electron":"15.0"},"proposal-class-static-block":{"chrome":"94","opera":"80","edge":"94","firefox":"93","safari":"16.4","node":"16.11","deno":"1.14","ios":"16.4","samsung":"17","opera_mobile":"66","electron":"15.0"},"transform-private-property-in-object":{"chrome":"91","opera":"77","edge":"91","firefox":"90","safari":"15","node":"16.9","deno":"1.9","ios":"15","samsung":"16","opera_mobile":"64","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","opera":"77","edge":"91","firefox":"90","safari":"15","node":"16.9","deno":"1.9","ios":"15","samsung":"16","opera_mobile":"64","electron":"13.0"},"transform-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","deno":"1","ios":"14.5","samsung":"11","opera_mobile":"53","electron":"6.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","deno":"1","ios":"14.5","samsung":"11","opera_mobile":"53","electron":"6.0"},"transform-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","deno":"1","ios":"15","samsung":"14","opera_mobile":"60","electron":"10.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","deno":"1","ios":"15","samsung":"14","opera_mobile":"60","electron":"10.0"},"transform-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","deno":"1","ios":"13","samsung":"11","rhino":"1.7.14","opera_mobile":"54","electron":"6.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","deno":"1","ios":"13","samsung":"11","rhino":"1.7.14","opera_mobile":"54","electron":"6.0"},"transform-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","deno":"1.2","ios":"14","samsung":"14","opera_mobile":"60","electron":"10.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","deno":"1.2","ios":"14","samsung":"14","opera_mobile":"60","electron":"10.0"},"transform-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","deno":"1","ios":"13.4","samsung":"13","opera_mobile":"57","electron":"8.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","deno":"1","ios":"13.4","samsung":"13","opera_mobile":"57","electron":"8.0"},"transform-optional-chaining":{"chrome":"91","opera":"77","edge":"91","firefox":"74","safari":"13.1","node":"16.9","deno":"1.9","ios":"13.4","samsung":"16","opera_mobile":"64","electron":"13.0"},"proposal-optional-chaining":{"chrome":"91","opera":"77","edge":"91","firefox":"74","safari":"13.1","node":"16.9","deno":"1.9","ios":"13.4","samsung":"16","opera_mobile":"64","electron":"13.0"},"transform-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","deno":"1","ios":"12","samsung":"9","rhino":"1.7.14","opera_mobile":"47","electron":"3.0"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","deno":"1","ios":"12","samsung":"9","rhino":"1.7.14","opera_mobile":"47","electron":"3.0"},"transform-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"16.3","node":"6","deno":"1","ios":"16.3","samsung":"5","opera_mobile":"36","electron":"0.37"},"transform-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","deno":"1","ios":"12","samsung":"8","opera_mobile":"46","electron":"3.0"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","deno":"1","ios":"12","samsung":"8","opera_mobile":"46","electron":"3.0"},"transform-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","deno":"1","ios":"11.3","samsung":"8","opera_mobile":"44","electron":"2.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","deno":"1","ios":"11.3","samsung":"8","opera_mobile":"44","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","deno":"1","ios":"11.3","samsung":"8","rhino":"1.7.15","opera_mobile":"46","electron":"3.0"},"transform-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","deno":"1","ios":"11","samsung":"6","opera_mobile":"42","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","deno":"1","ios":"10.3","samsung":"6","rhino":"1.7.14","opera_mobile":"41","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","deno":"1","ios":"13","samsung":"3.4","opera_mobile":"28","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.15","opera_mobile":"32","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"43","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","rhino":"1.7.13","opera_mobile":"34","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","deno":"1","ie":"11","ios":"10","samsung":"3.4","opera_mobile":"28","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","opera_mobile":"33","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","opera_mobile":"33","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.14","opera_mobile":"30","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","opera_mobile":"29","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","deno":"1","ios":"8","samsung":"4","opera_mobile":"32","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","rhino":"1.7.15","opera_mobile":"36","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.15","opera_mobile":"32","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","deno":"1","ios":"12","samsung":"5","opera_mobile":"37","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","opera_mobile":"33","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"transform-block-scoping":{"chrome":"50","opera":"37","edge":"14","firefox":"53","safari":"11","node":"6","deno":"1","ios":"11","samsung":"5","opera_mobile":"37","electron":"1.1"},"transform-typeof-symbol":{"chrome":"48","opera":"35","edge":"12","firefox":"36","safari":"9","node":"6","deno":"1","ios":"9","samsung":"5","opera_mobile":"35","electron":"0.37"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","opera_mobile":"33","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"37","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"12","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"12","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.6","deno":"1","ie":"9","android":"4.4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"10.1","electron":"0.20"},"transform-export-namespace-from":{"chrome":"72","deno":"1.0","edge":"79","firefox":"80","node":"13.2","opera":"60","opera_mobile":"51","safari":"14.1","ios":"14.5","samsung":"11.0","android":"72","electron":"5.0"},"proposal-export-namespace-from":{"chrome":"72","deno":"1.0","edge":"79","firefox":"80","node":"13.2","opera":"60","opera_mobile":"51","safari":"14.1","ios":"14.5","samsung":"11.0","android":"72","electron":"5.0"}}')},1628:e=>{"use strict";e.exports=JSON.parse('{"name":"@babel/preset-typescript","version":"7.27.0","description":"Babel preset for TypeScript.","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-typescript"},"license":"MIT","publishConfig":{"access":"public"},"main":"./lib/index.js","keywords":["babel-preset","typescript"],"dependencies":{"@babel/helper-plugin-utils":"^7.26.5","@babel/helper-validator-option":"^7.25.9","@babel/plugin-syntax-jsx":"^7.25.9","@babel/plugin-transform-modules-commonjs":"^7.26.3","@babel/plugin-transform-typescript":"^7.27.0"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.26.10","@babel/helper-plugin-test-runner":"^7.25.9"},"homepage":"https://babel.dev/docs/en/next/babel-preset-typescript","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen","engines":{"node":">=6.9.0"},"author":"The Babel Team (https://babel.dev/team)","type":"commonjs"}')},3676:e=>{"use strict";e.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={id:r,loaded:false,exports:{}};var i=true;try{e[r].call(s.exports,s,s.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}s.loaded=true;return s.exports}(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(3050);module.exports=r})();

Callers 3

bundle.min.jsFile · 0.80
exitFunction · 0.80
crawlMethod · 0.80

Calls 2

includesMethod · 0.80
pushMethod · 0.65

Tested by

no test coverage detected