@unizap/unicss 1.2.17 → 1.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19,9 +19,9 @@ ${n}`)}function g1(t,e){let{stackTraceLimit:i,prepareStackTrace:r}=Error,s;if(Er
|
|
|
19
19
|
${a.join(`
|
|
20
20
|
`)}`)}return i.shapeOf=t,i}function Qk(){function t(e){var i;let r=e;for(;e;){let{type:s}=r;if(s==="OptionalCallExpression"){if(r.optional)return;r=r.callee;continue}if(s==="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 ${(i=r)==null?void 0:i.type}`)}return t}function jm(...t){function e(...i){for(let r of t)r(...i)}if(e.chainOf=t,t.length>=2&&"type"in t[0]&&t[0].type==="array"&&!("each"in t[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return e}var Zk=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),e_=new Set(["default","optional","deprecated","validate"]),Rc={};function t_(...t){return(e,i={})=>{let r=i.aliases;if(!r){var s;i.inherits&&(r=(s=Rc[i.inherits].aliases)==null?void 0:s.slice()),r??(r=[]),i.aliases=r}let n=t.filter(a=>!r.includes(a));r.unshift(...n),Rm(e,i)}}function Rm(t,e={}){let i=e.inherits&&Rc[e.inherits]||{},r=e.fields;if(!r&&(r={},i.fields)){let l=Object.getOwnPropertyNames(i.fields);for(let c of l){let o=i.fields[c],u=o.default;if(Array.isArray(u)?u.length>0:u&&typeof u=="object")throw new Error("field defaults can only be primitives or empty arrays currently");r[c]={default:Array.isArray(u)?[]:u,optional:o.optional,deprecated:o.deprecated,validate:o.validate}}}let s=e.visitor||i.visitor||[],n=e.aliases||i.aliases||[],a=e.builder||i.builder||e.visitor||[];for(let l of Object.keys(e))if(!Zk.has(l))throw new Error(`Unknown type option "${l}" on ${t}`);e.deprecatedAlias&&(Uk[e.deprecatedAlias]=t);for(let l of s.concat(a))r[l]=r[l]||{};for(let l of Object.keys(r)){let c=r[l];c.default!==void 0&&!a.includes(l)&&(c.optional=!0),c.default===void 0?c.default=null:!c.validate&&c.default!=null&&(c.validate=$c(za(c.default)));for(let o of Object.keys(c))if(!e_.has(o))throw new Error(`Unknown field key "${o}" on ${t}.${l}`)}jk[t]=e.visitor=s,$k[t]=e.builder=a,qk[t]=e.fields=r,Rk[t]=e.aliases=n,n.forEach(l=>{jc[l]=jc[l]||[],jc[l].push(t)}),e.validate&&(Kk[t]=e.validate),Rc[t]=e}});var bn=_(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});Ct.patternLikeCommon=Ct.importAttributes=Ct.functionTypeAnnotationCommon=Ct.functionDeclarationCommon=Ct.functionCommon=Ct.classMethodOrPropertyCommon=Ct.classMethodOrDeclareMethodCommon=void 0;var Lt=ms(),i_=ys(),qm=Tn(),r_=Nm(),gs=Ts(),S=ki(),W=(0,S.defineAliasedType)("Standardized");W("ArrayExpression",{fields:{elements:{validate:(0,S.arrayOf)((0,S.assertNodeOrValueType)("null","Expression","SpreadElement")),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]});W("AssignmentExpression",{fields:{operator:{validate:process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(){let t=(0,S.assertOneOf)(...gs.ASSIGNMENT_OPERATORS),e=(0,S.assertOneOf)("=");return function(i,r,s){((0,Lt.default)("Pattern",i.left)?e:t)(i,r,s)}}(),{oneOf:gs.ASSIGNMENT_OPERATORS}):(0,S.assertValueType)("string")},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,S.assertNodeType)("LVal")},right:{validate:(0,S.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});W("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,S.assertOneOf)(...gs.BINARY_OPERATORS)},left:{validate:function(){let t=(0,S.assertNodeType)("Expression"),e=(0,S.assertNodeType)("Expression","PrivateName");return Object.assign(function(r,s,n){(r.operator==="in"?e:t)(r,s,n)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:(0,S.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});W("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,S.assertValueType)("string")}}});W("Directive",{visitor:["value"],fields:{value:{validate:(0,S.assertNodeType)("DirectiveLiteral")}}});W("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,S.assertValueType)("string")}}});W("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,S.arrayOfType)("Directive"),default:[]},body:(0,S.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]});W("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,S.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});W("CallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,S.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:(0,S.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:(0,S.assertNodeType)("TypeParameterInstantiation"),optional:!0}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,S.assertValueType)("boolean"),optional:!0},typeParameters:{validate:(0,S.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})});W("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,S.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,S.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});W("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,S.assertNodeType)("Expression")},consequent:{validate:(0,S.assertNodeType)("Expression")},alternate:{validate:(0,S.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});W("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,S.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});W("DebuggerStatement",{aliases:["Statement"]});W("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,S.assertNodeType)("Expression")},body:{validate:(0,S.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});W("EmptyStatement",{aliases:["Statement"]});W("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,S.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});W("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,S.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.assertEach)((0,S.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,S.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}});W("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,S.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,S.assertNodeType)("Expression")},body:{validate:(0,S.assertNodeType)("Statement")}}});W("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,S.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,S.assertNodeType)("Expression"),optional:!0},update:{validate:(0,S.assertNodeType)("Expression"),optional:!0},body:{validate:(0,S.assertNodeType)("Statement")}}});var xs=()=>({params:(0,S.validateArrayOfType)("FunctionParameter"),generator:{default:!1},async:{default:!1}});Ct.functionCommon=xs;var Nr=()=>({returnType:{validate:(0,S.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,S.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});Ct.functionTypeAnnotationCommon=Nr;var $m=()=>Object.assign({},xs(),{declare:{validate:(0,S.assertValueType)("boolean"),optional:!0},id:{validate:(0,S.assertNodeType)("Identifier"),optional:!0}});Ct.functionDeclarationCommon=$m;W("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},$m(),Nr(),{body:{validate:(0,S.assertNodeType)("BlockStatement")},predicate:{validate:(0,S.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:process.env.BABEL_TYPES_8_BREAKING?function(){let t=(0,S.assertNodeType)("Identifier");return function(e,i,r){(0,Lt.default)("ExportDefaultDeclaration",e)||t(r,"id",r.id)}}():void 0});W("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},xs(),Nr(),{id:{validate:(0,S.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,S.assertNodeType)("BlockStatement")},predicate:{validate:(0,S.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});var bs=()=>({typeAnnotation:{validate:(0,S.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,S.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0}});Ct.patternLikeCommon=bs;W("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","FunctionParameter","PatternLike","LVal","TSEntityName"],fields:Object.assign({},bs(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertValueType)("string"),Object.assign(function(t,e,i){if(!(0,i_.default)(i,!1))throw new TypeError(`"${i}" is not a valid identifier name`)},{type:"string"})):(0,S.assertValueType)("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(t,e,i){let r=/\.(\w+)$/.exec(e.toString());if(!r)return;let[,s]=r,n={computed:!1};if(s==="property"){if((0,Lt.default)("MemberExpression",t,n)||(0,Lt.default)("OptionalMemberExpression",t,n))return}else if(s==="key"){if((0,Lt.default)("Property",t,n)||(0,Lt.default)("Method",t,n))return}else if(s==="exported"){if((0,Lt.default)("ExportSpecifier",t))return}else if(s==="imported"){if((0,Lt.default)("ImportSpecifier",t,{imported:i}))return}else if(s==="meta"&&(0,Lt.default)("MetaProperty",t,{meta:i}))return;if(((0,qm.isKeyword)(i.name)||(0,qm.isReservedWord)(i.name,!1))&&i.name!=="this")throw new TypeError(`"${i.name}" is not a valid identifier`)}:void 0});W("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,S.assertNodeType)("Expression")},consequent:{validate:(0,S.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,S.assertNodeType)("Statement")}}});W("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,S.assertNodeType)("Identifier")},body:{validate:(0,S.assertNodeType)("Statement")}}});W("StringLiteral",{builder:["value"],fields:{value:{validate:(0,S.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});W("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,S.chain)((0,S.assertValueType)("number"),Object.assign(function(t,e,i){if(1/i<0||!Number.isFinite(i)){let r=new Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${i}) instead.`)}},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]});W("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});W("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,S.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});W("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,S.assertValueType)("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertValueType)("string"),Object.assign(function(t,e,i){let r=/[^gimsuy]/.exec(i);if(r)throw new TypeError(`"${r[0]}" is not a valid RegExp flag`)},{type:"string"})):(0,S.assertValueType)("string"),default:""}}});W("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,S.assertOneOf)(...gs.LOGICAL_OPERATORS)},left:{validate:(0,S.assertNodeType)("Expression")},right:{validate:(0,S.assertNodeType)("Expression")}}});W("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal","PatternLike"],fields:Object.assign({object:{validate:(0,S.assertNodeType)("Expression","Super")},property:{validate:function(){let t=(0,S.assertNodeType)("Identifier","PrivateName"),e=(0,S.assertNodeType)("Expression"),i=function(r,s,n){(r.computed?e:t)(r,s,n)};return i.oneOfNodeTypes=["Expression","Identifier","PrivateName"],i}()},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,S.assertValueType)("boolean"),optional:!0}})});W("NewExpression",{inherits:"CallExpression"});W("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,S.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,S.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,S.arrayOfType)("Directive"),default:[]},body:(0,S.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block"]});W("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,S.validateArrayOfType)("ObjectMethod","ObjectProperty","SpreadElement")}});W("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},xs(),Nr(),{kind:Object.assign({validate:(0,S.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:function(){let t=(0,S.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),e=(0,S.assertNodeType)("Expression"),i=function(r,s,n){(r.computed?e:t)(r,s,n)};return i.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],i}()},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0},body:{validate:(0,S.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});W("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:function(){let t=(0,S.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),e=(0,S.assertNodeType)("Expression");return Object.assign(function(r,s,n){(r.computed?e:t)(r,s,n)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:(0,S.assertNodeType)("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertValueType)("boolean"),Object.assign(function(t,e,i){if(i){if(t.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!(0,Lt.default)("Identifier",t.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}},{type:"boolean"})):(0,S.assertValueType)("boolean"),default:!1},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0}},visitor:["decorators","key","value"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:process.env.BABEL_TYPES_8_BREAKING?function(){let t=(0,S.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),e=(0,S.assertNodeType)("Expression");return function(i,r,s){((0,Lt.default)("ObjectPattern",i)?t:e)(s,"value",s.value)}}():void 0});W("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["FunctionParameter","PatternLike","LVal"],deprecatedAlias:"RestProperty",fields:Object.assign({},bs(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,S.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression","RestElement","AssignmentPattern")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(t,e){let i=/(\w+)\[(\d+)\]/.exec(e.toString());if(!i)throw new Error("Internal Babel error: malformed key.");let[,r,s]=i;if(t[r].length>+s+1)throw new TypeError(`RestElement must be last element of ${r}`)}:void 0});W("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,S.assertNodeType)("Expression"),optional:!0}}});W("SequenceExpression",{visitor:["expressions"],fields:{expressions:(0,S.validateArrayOfType)("Expression")},aliases:["Expression"]});W("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,S.assertNodeType)("Expression")}}});W("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,S.assertNodeType)("Expression"),optional:!0},consequent:(0,S.validateArrayOfType)("Statement")}});W("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,S.assertNodeType)("Expression")},cases:(0,S.validateArrayOfType)("SwitchCase")}});W("ThisExpression",{aliases:["Expression"]});W("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,S.assertNodeType)("Expression")}}});W("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertNodeType)("BlockStatement"),Object.assign(function(t){if(!t.handler&&!t.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):(0,S.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,S.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,S.assertNodeType)("BlockStatement")}}});W("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,S.assertNodeType)("Expression")},operator:{validate:(0,S.assertOneOf)(...gs.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});W("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.assertNodeType)("Identifier","MemberExpression"):(0,S.assertNodeType)("Expression")},operator:{validate:(0,S.assertOneOf)(...gs.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});W("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,S.assertValueType)("boolean"),optional:!0},kind:{validate:(0,S.assertOneOf)("var","let","const","using","await using")},declarations:(0,S.validateArrayOfType)("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(()=>{let t=(0,S.assertNodeType)("Identifier","Placeholder"),e=(0,S.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","Placeholder"),i=(0,S.assertNodeType)("Identifier","VoidPattern","Placeholder");return function(r,s,n){let{kind:a,declarations:l}=n,c=(0,Lt.default)("ForXStatement",r,{left:n});if(c&&l.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${r.type}`);for(let o of l)a==="const"||a==="let"||a==="var"?!c&&!o.init?t(o,"id",o.id):e(o,"id",o.id):i(o,"id",o.id)}})():void 0});W("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","VoidPattern"):(0,S.assertNodeType)("LVal","VoidPattern")},definite:{optional:!0,validate:(0,S.assertValueType)("boolean")},init:{optional:!0,validate:(0,S.assertNodeType)("Expression")}}});W("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,S.assertNodeType)("Expression")},body:{validate:(0,S.assertNodeType)("Statement")}}});W("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,S.assertNodeType)("Expression")},body:{validate:(0,S.assertNodeType)("Statement")}}});W("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},bs(),{left:{validate:(0,S.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,S.assertNodeType)("Expression")},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0}})});W("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},bs(),{elements:{validate:(0,S.chain)((0,S.assertValueType)("array"),(0,S.assertEach)((0,S.assertNodeOrValueType)("null","PatternLike")))}})});W("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},xs(),Nr(),{expression:{validate:(0,S.assertValueType)("boolean")},body:{validate:(0,S.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,S.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});W("ClassBody",{visitor:["body"],fields:{body:(0,S.validateArrayOfType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}});W("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,S.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,S.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,S.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,S.assertNodeType)("Expression")},superTypeParameters:{validate:(0,S.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,S.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,S.assertNodeType)("InterfaceExtends"),optional:!0}}});W("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,S.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,S.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,S.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,S.assertNodeType)("Expression")},superTypeParameters:{validate:(0,S.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,S.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,S.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,S.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,S.assertValueType)("boolean"),optional:!0}},validate:process.env.BABEL_TYPES_8_BREAKING?function(){let t=(0,S.assertNodeType)("Identifier");return function(e,i,r){(0,Lt.default)("ExportDefaultDeclaration",e)||t(r,"id",r.id)}}():void 0});var Uc=Ct.importAttributes={attributes:{optional:!0,validate:(0,S.arrayOfType)("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:(0,S.arrayOfType)("ImportAttribute")}};W("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:(0,S.assertNodeType)("StringLiteral")},exportKind:(0,S.validateOptional)((0,S.assertOneOf)("type","value"))},Uc)});W("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:(0,S.validateType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:(0,S.validateOptional)((0,S.assertOneOf)("value"))}});W("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertNodeType)("Declaration"),Object.assign(function(t,e,i){if(i&&t.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(i&&t.source)throw new TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):(0,S.assertNodeType)("Declaration")}},Uc,{specifiers:{default:[],validate:(0,S.arrayOf)(function(){let t=(0,S.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),e=(0,S.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(i,r,s){(i.source?t:e)(i,r,s)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):t}())},source:{validate:(0,S.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,S.validateOptional)((0,S.assertOneOf)("type","value"))})});W("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,S.assertNodeType)("Identifier")},exported:{validate:(0,S.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,S.assertOneOf)("type","value"),optional:!0}}});W("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,S.assertNodeType)("VariableDeclaration","LVal");let t=(0,S.assertNodeType)("VariableDeclaration"),e=(0,S.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(i,r,s){(0,Lt.default)("VariableDeclaration",s)?t(i,r,s):e(i,r,s)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})}()},right:{validate:(0,S.assertNodeType)("Expression")},body:{validate:(0,S.assertNodeType)("Statement")},await:{default:!1}}});W("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},Uc,{module:{optional:!0,validate:(0,S.assertValueType)("boolean")},phase:{default:null,validate:(0,S.assertOneOf)("source","defer")},specifiers:(0,S.validateArrayOfType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:(0,S.assertNodeType)("StringLiteral")},importKind:{validate:(0,S.assertOneOf)("type","typeof","value"),optional:!0}})});W("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,S.assertNodeType)("Identifier")}}});W("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,S.assertNodeType)("Identifier")}}});W("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,S.assertNodeType)("Identifier")},imported:{validate:(0,S.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,S.assertOneOf)("type","typeof","value"),optional:!0}}});W("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,S.assertOneOf)("source","defer")},source:{validate:(0,S.assertNodeType)("Expression")},options:{validate:(0,S.assertNodeType)("Expression"),optional:!0}}});W("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertNodeType)("Identifier"),Object.assign(function(t,e,i){let r;switch(i.name){case"function":r="sent";break;case"new":r="target";break;case"import":r="meta";break}if(!(0,Lt.default)("Identifier",t.property,{name:r}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):(0,S.assertNodeType)("Identifier")},property:{validate:(0,S.assertNodeType)("Identifier")}}});var Ha=()=>({abstract:{validate:(0,S.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,S.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,S.assertValueType)("boolean"),optional:!0},key:{validate:(0,S.chain)(function(){let t=(0,S.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),e=(0,S.assertNodeType)("Expression");return function(i,r,s){(i.computed?e:t)(i,r,s)}}(),(0,S.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});Ct.classMethodOrPropertyCommon=Ha;var Kc=()=>Object.assign({},xs(),Ha(),{params:(0,S.validateArrayOfType)("FunctionParameter","TSParameterProperty"),kind:{validate:(0,S.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,S.chain)((0,S.assertValueType)("string"),(0,S.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0}});Ct.classMethodOrDeclareMethodCommon=Kc;W("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({},Kc(),Nr(),{body:{validate:(0,S.assertNodeType)("BlockStatement")}})});W("ObjectPattern",{visitor:["decorators","properties","typeAnnotation"],builder:["properties"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},bs(),{properties:(0,S.validateArrayOfType)("RestElement","ObjectProperty")})});W("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,S.assertNodeType)("Expression")}}});W("Super",{aliases:["Expression"]});W("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,S.assertNodeType)("Expression")},quasi:{validate:(0,S.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,S.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});W("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,S.chain)((0,S.assertShape)({raw:{validate:(0,S.assertValueType)("string")},cooked:{validate:(0,S.assertValueType)("string"),optional:!0}}),function(e){let i=e.value.raw,r=!1,s=()=>{throw new Error("Internal @babel/types error.")},{str:n,firstInvalidLoc:a}=(0,r_.readStringContents)("template",i,0,0,0,{unterminated(){r=!0},strictNumericEscape:s,invalidEscapeSequence:s,numericSeparatorInEscapeSequence:s,unexpectedNumericSeparator:s,invalidDigit:s,invalidCodePoint:s});if(!r)throw new Error("Invalid raw");e.value.cooked=a?null:n})},tail:{default:!1}}});W("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:(0,S.validateArrayOfType)("TemplateElement"),expressions:{validate:(0,S.chain)((0,S.assertValueType)("array"),(0,S.assertEach)((0,S.assertNodeType)("Expression","TSType")),function(t,e,i){if(t.quasis.length!==i.length+1)throw new TypeError(`Number of ${t.type} quasis should be exactly one more than the number of expressions.
|
|
21
21
|
Expected ${i.length+1} quasis but got ${t.quasis.length}`)})}}});W("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertValueType)("boolean"),Object.assign(function(t,e,i){if(i&&!t.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):(0,S.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,S.assertNodeType)("Expression")}}});W("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,S.assertNodeType)("Expression")}}});W("Import",{aliases:["Expression"]});W("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,S.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});W("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,S.assertNodeType)("Identifier")}}});W("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression","LVal"],fields:{object:{validate:(0,S.assertNodeType)("Expression")},property:{validate:function(){let t=(0,S.assertNodeType)("Identifier"),e=(0,S.assertNodeType)("Expression");return Object.assign(function(r,s,n){(r.computed?e:t)(r,s,n)},{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertValueType)("boolean"),(0,S.assertOptionalChainStart)()):(0,S.assertValueType)("boolean")}}});W("OptionalCallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,S.assertNodeType)("Expression")},arguments:(0,S.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertValueType)("boolean"),(0,S.assertOptionalChainStart)()):(0,S.assertValueType)("boolean")},typeArguments:{validate:(0,S.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,S.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})});W("ClassProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},Ha(),{value:{validate:(0,S.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,S.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,S.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,S.assertValueType)("boolean"),optional:!0},declare:{validate:(0,S.assertValueType)("boolean"),optional:!0},variance:{validate:(0,S.assertNodeType)("Variance"),optional:!0}})});W("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},Ha(),{key:{validate:(0,S.chain)(function(){let t=(0,S.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),e=(0,S.assertNodeType)("Expression");return function(i,r,s){(i.computed?e:t)(i,r,s)}}(),(0,S.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,S.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,S.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,S.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,S.assertValueType)("boolean"),optional:!0},declare:{validate:(0,S.assertValueType)("boolean"),optional:!0},variance:{validate:(0,S.assertNodeType)("Variance"),optional:!0}})});W("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,S.assertNodeType)("PrivateName")},value:{validate:(0,S.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,S.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0},static:{validate:(0,S.assertValueType)("boolean"),default:!1},readonly:{validate:(0,S.assertValueType)("boolean"),optional:!0},optional:{validate:(0,S.assertValueType)("boolean"),optional:!0},definite:{validate:(0,S.assertValueType)("boolean"),optional:!0},variance:{validate:(0,S.assertNodeType)("Variance"),optional:!0}}});W("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},Kc(),Nr(),{kind:{validate:(0,S.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,S.assertNodeType)("PrivateName")},body:{validate:(0,S.assertNodeType)("BlockStatement")}})});W("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,S.assertNodeType)("Identifier")}}});W("StaticBlock",{visitor:["body"],fields:{body:(0,S.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]});W("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,S.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,S.assertNodeType)("StringLiteral")}}})});var Km=_(()=>{"use strict";var Um=bn(),O=ki(),re=(0,O.defineAliasedType)("Flow"),Vc=t=>{let e=t==="DeclareClass";re(t,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...e?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,O.validateType)("Identifier"),typeParameters:(0,O.validateOptionalType)("TypeParameterDeclaration"),extends:(0,O.validateOptional)((0,O.arrayOfType)("InterfaceExtends"))},e?{mixins:(0,O.validateOptional)((0,O.arrayOfType)("InterfaceExtends")),implements:(0,O.validateOptional)((0,O.arrayOfType)("ClassImplements"))}:{},{body:(0,O.validateType)("ObjectTypeAnnotation")})})};re("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});re("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,O.validateType)("FlowType")}});re("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});re("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,O.validate)((0,O.assertValueType)("boolean"))}});re("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});re("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,O.validateType)("Identifier"),typeParameters:(0,O.validateOptionalType)("TypeParameterInstantiation")}});Vc("DeclareClass");re("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,O.validateType)("Identifier"),predicate:(0,O.validateOptionalType)("DeclaredPredicate")}});Vc("DeclareInterface");re("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,O.validateType)("Identifier","StringLiteral"),body:(0,O.validateType)("BlockStatement"),kind:(0,O.validateOptional)((0,O.assertOneOf)("CommonJS","ES"))}});re("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,O.validateType)("TypeAnnotation")}});re("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,O.validateType)("Identifier"),typeParameters:(0,O.validateOptionalType)("TypeParameterDeclaration"),right:(0,O.validateType)("FlowType")}});re("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,O.validateType)("Identifier"),typeParameters:(0,O.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,O.validateOptionalType)("FlowType"),impltype:(0,O.validateOptionalType)("FlowType")}});re("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,O.validateType)("Identifier")}});re("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:(0,O.validateOptionalType)("Flow"),specifiers:(0,O.validateOptional)((0,O.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,O.validateOptionalType)("StringLiteral"),default:(0,O.validateOptional)((0,O.assertValueType)("boolean"))},Um.importAttributes)});re("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:(0,O.validateType)("StringLiteral"),exportKind:(0,O.validateOptional)((0,O.assertOneOf)("type","value"))},Um.importAttributes)});re("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,O.validateType)("Flow")}});re("ExistsTypeAnnotation",{aliases:["FlowType"]});re("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,O.validateOptionalType)("TypeParameterDeclaration"),params:(0,O.validateArrayOfType)("FunctionTypeParam"),rest:(0,O.validateOptionalType)("FunctionTypeParam"),this:(0,O.validateOptionalType)("FunctionTypeParam"),returnType:(0,O.validateType)("FlowType")}});re("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,O.validateOptionalType)("Identifier"),typeAnnotation:(0,O.validateType)("FlowType"),optional:(0,O.validateOptional)((0,O.assertValueType)("boolean"))}});re("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,O.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,O.validateOptionalType)("TypeParameterInstantiation")}});re("InferredPredicate",{aliases:["FlowPredicate"]});re("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,O.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,O.validateOptionalType)("TypeParameterInstantiation")}});Vc("InterfaceDeclaration");re("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,O.validateOptional)((0,O.arrayOfType)("InterfaceExtends")),body:(0,O.validateType)("ObjectTypeAnnotation")}});re("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,O.validate)((0,O.arrayOfType)("FlowType"))}});re("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});re("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});re("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,O.validateType)("FlowType")}});re("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,O.validate)((0,O.assertValueType)("number"))}});re("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});re("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,O.validate)((0,O.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,O.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,O.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,O.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,O.assertValueType)("boolean"),default:!1},inexact:(0,O.validateOptional)((0,O.assertValueType)("boolean"))}});re("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,O.validateType)("Identifier"),value:(0,O.validateType)("FlowType"),optional:(0,O.validate)((0,O.assertValueType)("boolean")),static:(0,O.validate)((0,O.assertValueType)("boolean")),method:(0,O.validate)((0,O.assertValueType)("boolean"))}});re("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,O.validateType)("FlowType"),static:(0,O.validate)((0,O.assertValueType)("boolean"))}});re("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,O.validateOptionalType)("Identifier"),key:(0,O.validateType)("FlowType"),value:(0,O.validateType)("FlowType"),static:(0,O.validate)((0,O.assertValueType)("boolean")),variance:(0,O.validateOptionalType)("Variance")}});re("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,O.validateType)("Identifier","StringLiteral"),value:(0,O.validateType)("FlowType"),kind:(0,O.validate)((0,O.assertOneOf)("init","get","set")),static:(0,O.validate)((0,O.assertValueType)("boolean")),proto:(0,O.validate)((0,O.assertValueType)("boolean")),optional:(0,O.validate)((0,O.assertValueType)("boolean")),variance:(0,O.validateOptionalType)("Variance"),method:(0,O.validate)((0,O.assertValueType)("boolean"))}});re("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,O.validateType)("FlowType")}});re("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,O.validateType)("Identifier"),typeParameters:(0,O.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,O.validateOptionalType)("FlowType"),impltype:(0,O.validateType)("FlowType")}});re("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,O.validateType)("Identifier"),qualification:(0,O.validateType)("Identifier","QualifiedTypeIdentifier")}});re("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,O.validate)((0,O.assertValueType)("string"))}});re("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});re("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});re("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});re("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,O.validate)((0,O.arrayOfType)("FlowType"))}});re("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,O.validateType)("FlowType")}});re("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,O.validateType)("Identifier"),typeParameters:(0,O.validateOptionalType)("TypeParameterDeclaration"),right:(0,O.validateType)("FlowType")}});re("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,O.validateType)("FlowType")}});re("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,O.validateType)("Expression"),typeAnnotation:(0,O.validateType)("TypeAnnotation")}});re("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,O.validate)((0,O.assertValueType)("string")),bound:(0,O.validateOptionalType)("TypeAnnotation"),default:(0,O.validateOptionalType)("FlowType"),variance:(0,O.validateOptionalType)("Variance")}});re("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,O.validate)((0,O.arrayOfType)("TypeParameter"))}});re("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,O.validate)((0,O.arrayOfType)("FlowType"))}});re("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,O.validate)((0,O.arrayOfType)("FlowType"))}});re("Variance",{builder:["kind"],fields:{kind:(0,O.validate)((0,O.assertOneOf)("minus","plus"))}});re("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});re("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,O.validateType)("Identifier"),body:(0,O.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}});re("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,O.validate)((0,O.assertValueType)("boolean")),members:(0,O.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,O.validate)((0,O.assertValueType)("boolean"))}});re("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,O.validate)((0,O.assertValueType)("boolean")),members:(0,O.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,O.validate)((0,O.assertValueType)("boolean"))}});re("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,O.validate)((0,O.assertValueType)("boolean")),members:(0,O.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,O.validate)((0,O.assertValueType)("boolean"))}});re("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,O.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,O.validate)((0,O.assertValueType)("boolean"))}});re("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:(0,O.validateType)("Identifier"),init:(0,O.validateType)("BooleanLiteral")}});re("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,O.validateType)("Identifier"),init:(0,O.validateType)("NumericLiteral")}});re("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,O.validateType)("Identifier"),init:(0,O.validateType)("StringLiteral")}});re("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,O.validateType)("Identifier")}});re("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,O.validateType)("FlowType"),indexType:(0,O.validateType)("FlowType")}});re("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,O.validateType)("FlowType"),indexType:(0,O.validateType)("FlowType"),optional:(0,O.validate)((0,O.assertValueType)("boolean"))}})});var Vm=_(()=>{"use strict";var it=ki(),Mt=(0,it.defineAliasedType)("JSX");Mt("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,it.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,it.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});Mt("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,it.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});Mt("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,it.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,it.assertNodeType)("JSXClosingElement")},children:(0,it.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:(0,it.assertValueType)("boolean"),optional:!0}})});Mt("JSXEmptyExpression",{});Mt("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,it.assertNodeType)("Expression","JSXEmptyExpression")}}});Mt("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,it.assertNodeType)("Expression")}}});Mt("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,it.assertValueType)("string")}}});Mt("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,it.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,it.assertNodeType)("JSXIdentifier")}}});Mt("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,it.assertNodeType)("JSXIdentifier")},name:{validate:(0,it.assertNodeType)("JSXIdentifier")}}});Mt("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:(0,it.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:(0,it.validateArrayOfType)("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:(0,it.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,it.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})});Mt("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,it.assertNodeType)("Expression")}}});Mt("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,it.assertValueType)("string")}}});Mt("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,it.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,it.assertNodeType)("JSXClosingFragment")},children:(0,it.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}});Mt("JSXOpeningFragment",{aliases:["Immutable"]});Mt("JSXClosingFragment",{aliases:["Immutable"]})});var zc=_(ar=>{"use strict";Object.defineProperty(ar,"__esModule",{value:!0});ar.PLACEHOLDERS_FLIPPED_ALIAS=ar.PLACEHOLDERS_ALIAS=ar.PLACEHOLDERS=void 0;var s_=ki(),n_=ar.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],Yc=ar.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let t of n_){let e=s_.ALIAS_KEYS[t];e!=null&&e.length&&(Yc[t]=e)}var Wc=ar.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(Yc).forEach(t=>{Yc[t].forEach(e=>{hasOwnProperty.call(Wc,e)||(Wc[e]=[]),Wc[e].push(t)})})});var Wm=_(()=>{"use strict";var Ga=ki(),a_=zc(),o_=bn(),Jc=(0,Ga.defineAliasedType)("Miscellaneous");Jc("Noop",{visitor:[]});Jc("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:(0,Ga.assertNodeType)("Identifier")},expectedNode:{validate:(0,Ga.assertOneOf)(...a_.PLACEHOLDERS)}},(0,o_.patternLikeCommon)())});Jc("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,Ga.assertValueType)("string")}}})});var Ym=_(()=>{"use strict";var He=ki();(0,He.default)("ArgumentPlaceholder",{});(0,He.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,He.assertNodeType)("Expression")},callee:{validate:(0,He.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}});(0,He.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,He.assertNodeType)("Expression")}}});(0,He.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,He.assertNodeType)("BlockStatement")},async:{validate:(0,He.assertValueType)("boolean"),default:!1}}});(0,He.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,He.assertNodeType)("Identifier")}}});(0,He.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,He.validateArrayOfType)("ObjectProperty","SpreadElement")}});(0,He.default)("TupleExpression",{fields:{elements:{validate:(0,He.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,He.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,He.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,He.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,He.assertNodeType)("Program")}},aliases:["Expression"]});(0,He.default)("TopicReference",{aliases:["Expression"]});(0,He.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,He.assertNodeType)("Expression")}},aliases:["Expression"]});(0,He.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,He.assertNodeType)("Expression")}},aliases:["Expression"]});(0,He.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,He.default)("VoidPattern",{aliases:["Pattern","PatternLike","FunctionParameter"]})});var ey=_(()=>{"use strict";var B=ki(),zm=bn(),l_=ms(),ce=(0,B.defineAliasedType)("TypeScript"),Vt=(0,B.assertValueType)("boolean"),Jm=()=>({returnType:{validate:(0,B.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,B.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});ce("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,B.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,B.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,B.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,B.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,B.arrayOfType)("Decorator"),optional:!0}}});ce("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,zm.functionDeclarationCommon)(),Jm())});ce("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,zm.classMethodOrDeclareMethodCommon)(),Jm())});ce("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,B.validateType)("TSEntityName"),right:(0,B.validateType)("Identifier")}});var Qa=()=>({typeParameters:(0,B.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,B.validateArrayOfType)("ArrayPattern","Identifier","ObjectPattern","RestElement"),typeAnnotation:(0,B.validateOptionalType)("TSTypeAnnotation")}),Xm={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:Qa()};ce("TSCallSignatureDeclaration",Xm);ce("TSConstructSignatureDeclaration",Xm);var Hm=()=>({key:(0,B.validateType)("Expression"),computed:{default:!1},optional:(0,B.validateOptional)(Vt)});ce("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},Hm(),{readonly:(0,B.validateOptional)(Vt),typeAnnotation:(0,B.validateOptionalType)("TSTypeAnnotation"),kind:{optional:!0,validate:(0,B.assertOneOf)("get","set")}})});ce("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},Qa(),Hm(),{kind:{validate:(0,B.assertOneOf)("method","get","set")}})});ce("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,B.validateOptional)(Vt),static:(0,B.validateOptional)(Vt),parameters:(0,B.validateArrayOfType)("Identifier"),typeAnnotation:(0,B.validateOptionalType)("TSTypeAnnotation")}});var c_=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let t of c_)ce(t,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});ce("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var Gm={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};ce("TSFunctionType",Object.assign({},Gm,{fields:Qa()}));ce("TSConstructorType",Object.assign({},Gm,{fields:Object.assign({},Qa(),{abstract:(0,B.validateOptional)(Vt)})}));ce("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,B.validateType)("TSEntityName"),typeParameters:(0,B.validateOptionalType)("TSTypeParameterInstantiation")}});ce("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,B.validateType)("Identifier","TSThisType"),typeAnnotation:(0,B.validateOptionalType)("TSTypeAnnotation"),asserts:(0,B.validateOptional)(Vt)}});ce("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,B.validateType)("TSEntityName","TSImportType"),typeParameters:(0,B.validateOptionalType)("TSTypeParameterInstantiation")}});ce("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,B.validateArrayOfType)("TSTypeElement")}});ce("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,B.validateType)("TSType")}});ce("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,B.validateArrayOfType)("TSType","TSNamedTupleMember")}});ce("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,B.validateType)("TSType")}});ce("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,B.validateType)("TSType")}});ce("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,B.validateType)("Identifier"),optional:{validate:Vt,default:!1},elementType:(0,B.validateType)("TSType")}});var Qm={aliases:["TSType"],visitor:["types"],fields:{types:(0,B.validateArrayOfType)("TSType")}};ce("TSUnionType",Qm);ce("TSIntersectionType",Qm);ce("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,B.validateType)("TSType"),extendsType:(0,B.validateType)("TSType"),trueType:(0,B.validateType)("TSType"),falseType:(0,B.validateType)("TSType")}});ce("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,B.validateType)("TSTypeParameter")}});ce("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,B.validateType)("TSType")}});ce("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],builder:["typeAnnotation","operator"],fields:{operator:{validate:(0,B.assertValueType)("string")},typeAnnotation:(0,B.validateType)("TSType")}});ce("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,B.validateType)("TSType"),indexType:(0,B.validateType)("TSType")}});ce("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:(0,B.validateType)("TSTypeParameter")},{readonly:(0,B.validateOptional)((0,B.assertOneOf)(!0,!1,"+","-")),optional:(0,B.validateOptional)((0,B.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,B.validateOptionalType)("TSType"),nameType:(0,B.validateOptionalType)("TSType")})});ce("TSTemplateLiteralType",{aliases:["TSType","TSBaseType"],visitor:["quasis","types"],fields:{quasis:(0,B.validateArrayOfType)("TemplateElement"),types:{validate:(0,B.chain)((0,B.assertValueType)("array"),(0,B.assertEach)((0,B.assertNodeType)("TSType")),function(t,e,i){if(t.quasis.length!==i.length+1)throw new TypeError(`Number of ${t.type} quasis should be exactly one more than the number of types.
|
|
22
|
-
Expected ${i.length+1} quasis but got ${t.quasis.length}`)})}}});ce("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let t=(0,B.assertNodeType)("NumericLiteral","BigIntLiteral"),e=(0,B.assertOneOf)("-"),i=(0,B.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function r(s,n,a){(0,l_.default)("UnaryExpression",a)?(e(a,"operator",a.operator),t(a,"argument",a.argument)):i(s,n,a)}return r.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],r}()}}});ce("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,B.validateType)("TSEntityName"),typeParameters:(0,B.validateOptionalType)("TSTypeParameterInstantiation")}});ce("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,B.validateOptional)(Vt),id:(0,B.validateType)("Identifier"),typeParameters:(0,B.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,B.validateOptional)((0,B.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,B.validateType)("TSInterfaceBody")}});ce("TSInterfaceBody",{visitor:["body"],fields:{body:(0,B.validateArrayOfType)("TSTypeElement")}});ce("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,B.validateOptional)(Vt),id:(0,B.validateType)("Identifier"),typeParameters:(0,B.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,B.validateType)("TSType")}});ce("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,B.validateType)("Expression"),typeParameters:(0,B.validateOptionalType)("TSTypeParameterInstantiation")}});var Zm={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,B.validateType)("Expression"),typeAnnotation:(0,B.validateType)("TSType")}};ce("TSAsExpression",Zm);ce("TSSatisfiesExpression",Zm);ce("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,B.validateType)("TSType"),expression:(0,B.validateType)("Expression")}});ce("TSEnumBody",{visitor:["members"],fields:{members:(0,B.validateArrayOfType)("TSEnumMember")}});ce("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,B.validateOptional)(Vt),const:(0,B.validateOptional)(Vt),id:(0,B.validateType)("Identifier"),members:(0,B.validateArrayOfType)("TSEnumMember"),initializer:(0,B.validateOptionalType)("Expression"),body:(0,B.validateOptionalType)("TSEnumBody")}});ce("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,B.validateType)("Identifier","StringLiteral"),initializer:(0,B.validateOptionalType)("Expression")}});ce("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:(0,B.assertOneOf)("global","module","namespace")},declare:(0,B.validateOptional)(Vt)},{global:(0,B.validateOptional)(Vt)},{id:(0,B.validateType)("Identifier","StringLiteral"),body:(0,B.validateType)("TSModuleBlock","TSModuleDeclaration")})});ce("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,B.validateArrayOfType)("Statement")}});ce("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:{argument:(0,B.validateType)("StringLiteral"),qualifier:(0,B.validateOptionalType)("TSEntityName"),typeParameters:(0,B.validateOptionalType)("TSTypeParameterInstantiation"),options:{validate:(0,B.assertNodeType)("ObjectExpression"),optional:!0}}});ce("TSImportEqualsDeclaration",{aliases:["Statement","Declaration"],visitor:["id","moduleReference"],fields:Object.assign({},{isExport:(0,B.validate)(Vt)},{id:(0,B.validateType)("Identifier"),moduleReference:(0,B.validateType)("TSEntityName","TSExternalModuleReference"),importKind:{validate:(0,B.assertOneOf)("type","value"),optional:!0}})});ce("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,B.validateType)("StringLiteral")}});ce("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,B.validateType)("Expression")}});ce("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,B.validateType)("Expression")}});ce("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,B.validateType)("Identifier")}});ce("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,B.assertNodeType)("TSType")}}});ce("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:(0,B.validateArrayOfType)("TSType")}});ce("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:(0,B.validateArrayOfType)("TSTypeParameter")}});ce("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,B.assertValueType)("string")},in:{validate:(0,B.assertValueType)("boolean"),optional:!0},out:{validate:(0,B.assertValueType)("boolean"),optional:!0},const:{validate:(0,B.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,B.assertNodeType)("TSType"),optional:!0},default:{validate:(0,B.assertNodeType)("TSType"),optional:!0}}})});var ty=_(Za=>{"use strict";Object.defineProperty(Za,"__esModule",{value:!0});Za.DEPRECATED_ALIASES=void 0;var cZ=Za.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var si=_(Ft=>{"use strict";Object.defineProperty(Ft,"__esModule",{value:!0});Object.defineProperty(Ft,"ALIAS_KEYS",{enumerable:!0,get:function(){return Wt.ALIAS_KEYS}});Object.defineProperty(Ft,"BUILDER_KEYS",{enumerable:!0,get:function(){return Wt.BUILDER_KEYS}});Object.defineProperty(Ft,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return Xc.DEPRECATED_ALIASES}});Object.defineProperty(Ft,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return Wt.DEPRECATED_KEYS}});Object.defineProperty(Ft,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return Wt.FLIPPED_ALIAS_KEYS}});Object.defineProperty(Ft,"NODE_FIELDS",{enumerable:!0,get:function(){return Wt.NODE_FIELDS}});Object.defineProperty(Ft,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return Wt.NODE_PARENT_VALIDATIONS}});Object.defineProperty(Ft,"PLACEHOLDERS",{enumerable:!0,get:function(){return Hc.PLACEHOLDERS}});Object.defineProperty(Ft,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return Hc.PLACEHOLDERS_ALIAS}});Object.defineProperty(Ft,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return Hc.PLACEHOLDERS_FLIPPED_ALIAS}});Ft.TYPES=void 0;Object.defineProperty(Ft,"VISITOR_KEYS",{enumerable:!0,get:function(){return Wt.VISITOR_KEYS}});bn();Km();Vm();Wm();Ym();ey();var Wt=ki(),Hc=zc(),Xc=ty();Object.keys(Xc.DEPRECATED_ALIASES).forEach(t=>{Wt.FLIPPED_ALIAS_KEYS[t]=Wt.FLIPPED_ALIAS_KEYS[Xc.DEPRECATED_ALIASES[t]]});for(let{types:t,set:e}of Wt.allExpandedTypes)for(let i of t){let r=Wt.FLIPPED_ALIAS_KEYS[i];r?r.forEach(e.add,e):e.add(i)}var pZ=Ft.TYPES=[].concat(Object.keys(Wt.VISITOR_KEYS),Object.keys(Wt.FLIPPED_ALIAS_KEYS),Object.keys(Wt.DEPRECATED_KEYS))});var Xa=_(Ss=>{"use strict";Object.defineProperty(Ss,"__esModule",{value:!0});Ss.default=u_;Ss.validateChild=ry;Ss.validateField=iy;Ss.validateInternal=p_;var Sn=si();function u_(t,e,i){if(!t)return;let r=Sn.NODE_FIELDS[t.type];if(!r)return;let s=r[e];iy(t,e,i,s),ry(t,e,i)}function p_(t,e,i,r,s){if(t!=null&&t.validate&&!(t.optional&&r==null)&&(t.validate(e,i,r),s)){var n;let a=r.type;if(a==null)return;(n=Sn.NODE_PARENT_VALIDATIONS[a])==null||n.call(Sn.NODE_PARENT_VALIDATIONS,e,i,r)}}function iy(t,e,i,r){r!=null&&r.validate&&(r.optional&&i==null||r.validate(t,e,i))}function ry(t,e,i){var r;let s=i?.type;s!=null&&((r=Sn.NODE_PARENT_VALIDATIONS[s])==null||r.call(Sn.NODE_PARENT_VALIDATIONS,t,e,i))}});var Gc=_(m=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0});m.anyTypeAnnotation=WO;m.argumentPlaceholder=b2;m.arrayExpression=m_;m.arrayPattern=uO;m.arrayTypeAnnotation=YO;m.arrowFunctionExpression=pO;m.assignmentExpression=y_;m.assignmentPattern=cO;m.awaitExpression=DO;m.bigIntLiteral=d_;m.binaryExpression=T_;m.bindExpression=S2;m.blockStatement=S_;m.booleanLiteral=$_;m.booleanLiteralTypeAnnotation=JO;m.booleanTypeAnnotation=zO;m.breakStatement=E_;m.callExpression=P_;m.catchClause=v_;m.classAccessorProperty=RO;m.classBody=fO;m.classDeclaration=dO;m.classExpression=hO;m.classImplements=HO;m.classMethod=wO;m.classPrivateMethod=$O;m.classPrivateProperty=qO;m.classProperty=jO;m.conditionalExpression=A_;m.continueStatement=w_;m.debuggerStatement=C_;m.decimalLiteral=C2;m.declareClass=GO;m.declareExportAllDeclaration=aN;m.declareExportDeclaration=nN;m.declareFunction=QO;m.declareInterface=ZO;m.declareModule=eN;m.declareModuleExports=tN;m.declareOpaqueType=rN;m.declareTypeAlias=iN;m.declareVariable=sN;m.declaredPredicate=oN;m.decorator=E2;m.directive=x_;m.directiveLiteral=b_;m.doExpression=P2;m.doWhileStatement=I_;m.emptyStatement=k_;m.emptyTypeAnnotation=gN;m.enumBooleanBody=YN;m.enumBooleanMember=HN;m.enumDeclaration=WN;m.enumDefaultedMember=ZN;m.enumNumberBody=zN;m.enumNumberMember=GN;m.enumStringBody=JN;m.enumStringMember=QN;m.enumSymbolBody=XN;m.existsTypeAnnotation=lN;m.exportAllDeclaration=mO;m.exportDefaultDeclaration=yO;m.exportDefaultSpecifier=v2;m.exportNamedDeclaration=TO;m.exportNamespaceSpecifier=MO;m.exportSpecifier=gO;m.expressionStatement=__;m.file=O_;m.forInStatement=N_;m.forOfStatement=xO;m.forStatement=D_;m.functionDeclaration=L_;m.functionExpression=M_;m.functionTypeAnnotation=cN;m.functionTypeParam=uN;m.genericTypeAnnotation=pN;m.identifier=F_;m.ifStatement=B_;m.import=LO;m.importAttribute=VO;m.importDeclaration=bO;m.importDefaultSpecifier=SO;m.importExpression=vO;m.importNamespaceSpecifier=EO;m.importSpecifier=PO;m.indexedAccessType=e2;m.inferredPredicate=fN;m.interfaceDeclaration=dN;m.interfaceExtends=hN;m.interfaceTypeAnnotation=mN;m.interpreterDirective=g_;m.intersectionTypeAnnotation=yN;m.jSXAttribute=m.jsxAttribute=i2;m.jSXClosingElement=m.jsxClosingElement=r2;m.jSXClosingFragment=m.jsxClosingFragment=y2;m.jSXElement=m.jsxElement=s2;m.jSXEmptyExpression=m.jsxEmptyExpression=n2;m.jSXExpressionContainer=m.jsxExpressionContainer=a2;m.jSXFragment=m.jsxFragment=d2;m.jSXIdentifier=m.jsxIdentifier=l2;m.jSXMemberExpression=m.jsxMemberExpression=c2;m.jSXNamespacedName=m.jsxNamespacedName=u2;m.jSXOpeningElement=m.jsxOpeningElement=p2;m.jSXOpeningFragment=m.jsxOpeningFragment=m2;m.jSXSpreadAttribute=m.jsxSpreadAttribute=f2;m.jSXSpreadChild=m.jsxSpreadChild=o2;m.jSXText=m.jsxText=h2;m.labeledStatement=j_;m.logicalExpression=U_;m.memberExpression=K_;m.metaProperty=AO;m.mixedTypeAnnotation=TN;m.moduleExpression=I2;m.newExpression=V_;m.noop=T2;m.nullLiteral=q_;m.nullLiteralTypeAnnotation=XO;m.nullableTypeAnnotation=xN;m.numberLiteral=zD;m.numberLiteralTypeAnnotation=bN;m.numberTypeAnnotation=SN;m.numericLiteral=sy;m.objectExpression=Y_;m.objectMethod=z_;m.objectPattern=CO;m.objectProperty=J_;m.objectTypeAnnotation=EN;m.objectTypeCallProperty=vN;m.objectTypeIndexer=AN;m.objectTypeInternalSlot=PN;m.objectTypeProperty=wN;m.objectTypeSpreadProperty=CN;m.opaqueType=IN;m.optionalCallExpression=BO;m.optionalIndexedAccessType=t2;m.optionalMemberExpression=FO;m.parenthesizedExpression=G_;m.pipelineBareFunction=O2;m.pipelinePrimaryTopicReference=N2;m.pipelineTopicExpression=_2;m.placeholder=g2;m.privateName=UO;m.program=W_;m.qualifiedTypeIdentifier=kN;m.recordExpression=A2;m.regExpLiteral=ny;m.regexLiteral=JD;m.restElement=ay;m.restProperty=XD;m.returnStatement=X_;m.sequenceExpression=H_;m.spreadElement=oy;m.spreadProperty=HD;m.staticBlock=KO;m.stringLiteral=R_;m.stringLiteralTypeAnnotation=_N;m.stringTypeAnnotation=ON;m.super=IO;m.switchCase=Q_;m.switchStatement=Z_;m.symbolTypeAnnotation=NN;m.taggedTemplateExpression=kO;m.templateElement=_O;m.templateLiteral=OO;m.thisExpression=eO;m.thisTypeAnnotation=DN;m.throwStatement=tO;m.topicReference=k2;m.tryStatement=iO;m.tSAnyKeyword=m.tsAnyKeyword=K2;m.tSArrayType=m.tsArrayType=cD;m.tSAsExpression=m.tsAsExpression=kD;m.tSBigIntKeyword=m.tsBigIntKeyword=W2;m.tSBooleanKeyword=m.tsBooleanKeyword=V2;m.tSCallSignatureDeclaration=m.tsCallSignatureDeclaration=j2;m.tSConditionalType=m.tsConditionalType=yD;m.tSConstructSignatureDeclaration=m.tsConstructSignatureDeclaration=R2;m.tSConstructorType=m.tsConstructorType=sD;m.tSDeclareFunction=m.tsDeclareFunction=M2;m.tSDeclareMethod=m.tsDeclareMethod=F2;m.tSEnumBody=m.tsEnumBody=ND;m.tSEnumDeclaration=m.tsEnumDeclaration=DD;m.tSEnumMember=m.tsEnumMember=LD;m.tSExportAssignment=m.tsExportAssignment=$D;m.tSExpressionWithTypeArguments=m.tsExpressionWithTypeArguments=vD;m.tSExternalModuleReference=m.tsExternalModuleReference=RD;m.tSFunctionType=m.tsFunctionType=rD;m.tSImportEqualsDeclaration=m.tsImportEqualsDeclaration=jD;m.tSImportType=m.tsImportType=BD;m.tSIndexSignature=m.tsIndexSignature=U2;m.tSIndexedAccessType=m.tsIndexedAccessType=bD;m.tSInferType=m.tsInferType=TD;m.tSInstantiationExpression=m.tsInstantiationExpression=ID;m.tSInterfaceBody=m.tsInterfaceBody=wD;m.tSInterfaceDeclaration=m.tsInterfaceDeclaration=AD;m.tSIntersectionType=m.tsIntersectionType=mD;m.tSIntrinsicKeyword=m.tsIntrinsicKeyword=Y2;m.tSLiteralType=m.tsLiteralType=PD;m.tSMappedType=m.tsMappedType=SD;m.tSMethodSignature=m.tsMethodSignature=$2;m.tSModuleBlock=m.tsModuleBlock=FD;m.tSModuleDeclaration=m.tsModuleDeclaration=MD;m.tSNamedTupleMember=m.tsNamedTupleMember=hD;m.tSNamespaceExportDeclaration=m.tsNamespaceExportDeclaration=UD;m.tSNeverKeyword=m.tsNeverKeyword=z2;m.tSNonNullExpression=m.tsNonNullExpression=qD;m.tSNullKeyword=m.tsNullKeyword=J2;m.tSNumberKeyword=m.tsNumberKeyword=X2;m.tSObjectKeyword=m.tsObjectKeyword=H2;m.tSOptionalType=m.tsOptionalType=pD;m.tSParameterProperty=m.tsParameterProperty=L2;m.tSParenthesizedType=m.tsParenthesizedType=gD;m.tSPropertySignature=m.tsPropertySignature=q2;m.tSQualifiedName=m.tsQualifiedName=B2;m.tSRestType=m.tsRestType=fD;m.tSSatisfiesExpression=m.tsSatisfiesExpression=_D;m.tSStringKeyword=m.tsStringKeyword=G2;m.tSSymbolKeyword=m.tsSymbolKeyword=Q2;m.tSTemplateLiteralType=m.tsTemplateLiteralType=ED;m.tSThisType=m.tsThisType=iD;m.tSTupleType=m.tsTupleType=uD;m.tSTypeAliasDeclaration=m.tsTypeAliasDeclaration=CD;m.tSTypeAnnotation=m.tsTypeAnnotation=KD;m.tSTypeAssertion=m.tsTypeAssertion=OD;m.tSTypeLiteral=m.tsTypeLiteral=lD;m.tSTypeOperator=m.tsTypeOperator=xD;m.tSTypeParameter=m.tsTypeParameter=YD;m.tSTypeParameterDeclaration=m.tsTypeParameterDeclaration=WD;m.tSTypeParameterInstantiation=m.tsTypeParameterInstantiation=VD;m.tSTypePredicate=m.tsTypePredicate=aD;m.tSTypeQuery=m.tsTypeQuery=oD;m.tSTypeReference=m.tsTypeReference=nD;m.tSUndefinedKeyword=m.tsUndefinedKeyword=Z2;m.tSUnionType=m.tsUnionType=dD;m.tSUnknownKeyword=m.tsUnknownKeyword=eD;m.tSVoidKeyword=m.tsVoidKeyword=tD;m.tupleExpression=w2;m.tupleTypeAnnotation=LN;m.typeAlias=FN;m.typeAnnotation=BN;m.typeCastExpression=jN;m.typeParameter=RN;m.typeParameterDeclaration=qN;m.typeParameterInstantiation=$N;m.typeofTypeAnnotation=MN;m.unaryExpression=rO;m.unionTypeAnnotation=UN;m.updateExpression=sO;m.v8IntrinsicIdentifier=x2;m.variableDeclaration=nO;m.variableDeclarator=aO;m.variance=KN;m.voidPattern=D2;m.voidTypeAnnotation=VN;m.whileStatement=oO;m.withStatement=lO;m.yieldExpression=NO;var f_=Xa(),eo=ds(),h_=ki(),{validateInternal:h}=f_,{NODE_FIELDS:C}=h_;function d_(t){typeof t=="bigint"&&(t=t.toString());let e={type:"BigIntLiteral",value:t},i=C.BigIntLiteral;return h(i.value,e,"value",t),e}function m_(t=[]){let e={type:"ArrayExpression",elements:t},i=C.ArrayExpression;return h(i.elements,e,"elements",t,1),e}function y_(t,e,i){let r={type:"AssignmentExpression",operator:t,left:e,right:i},s=C.AssignmentExpression;return h(s.operator,r,"operator",t),h(s.left,r,"left",e,1),h(s.right,r,"right",i,1),r}function T_(t,e,i){let r={type:"BinaryExpression",operator:t,left:e,right:i},s=C.BinaryExpression;return h(s.operator,r,"operator",t),h(s.left,r,"left",e,1),h(s.right,r,"right",i,1),r}function g_(t){let e={type:"InterpreterDirective",value:t},i=C.InterpreterDirective;return h(i.value,e,"value",t),e}function x_(t){let e={type:"Directive",value:t},i=C.Directive;return h(i.value,e,"value",t,1),e}function b_(t){let e={type:"DirectiveLiteral",value:t},i=C.DirectiveLiteral;return h(i.value,e,"value",t),e}function S_(t,e=[]){let i={type:"BlockStatement",body:t,directives:e},r=C.BlockStatement;return h(r.body,i,"body",t,1),h(r.directives,i,"directives",e,1),i}function E_(t=null){let e={type:"BreakStatement",label:t},i=C.BreakStatement;return h(i.label,e,"label",t,1),e}function P_(t,e){let i={type:"CallExpression",callee:t,arguments:e},r=C.CallExpression;return h(r.callee,i,"callee",t,1),h(r.arguments,i,"arguments",e,1),i}function v_(t=null,e){let i={type:"CatchClause",param:t,body:e},r=C.CatchClause;return h(r.param,i,"param",t,1),h(r.body,i,"body",e,1),i}function A_(t,e,i){let r={type:"ConditionalExpression",test:t,consequent:e,alternate:i},s=C.ConditionalExpression;return h(s.test,r,"test",t,1),h(s.consequent,r,"consequent",e,1),h(s.alternate,r,"alternate",i,1),r}function w_(t=null){let e={type:"ContinueStatement",label:t},i=C.ContinueStatement;return h(i.label,e,"label",t,1),e}function C_(){return{type:"DebuggerStatement"}}function I_(t,e){let i={type:"DoWhileStatement",test:t,body:e},r=C.DoWhileStatement;return h(r.test,i,"test",t,1),h(r.body,i,"body",e,1),i}function k_(){return{type:"EmptyStatement"}}function __(t){let e={type:"ExpressionStatement",expression:t},i=C.ExpressionStatement;return h(i.expression,e,"expression",t,1),e}function O_(t,e=null,i=null){let r={type:"File",program:t,comments:e,tokens:i},s=C.File;return h(s.program,r,"program",t,1),h(s.comments,r,"comments",e,1),h(s.tokens,r,"tokens",i),r}function N_(t,e,i){let r={type:"ForInStatement",left:t,right:e,body:i},s=C.ForInStatement;return h(s.left,r,"left",t,1),h(s.right,r,"right",e,1),h(s.body,r,"body",i,1),r}function D_(t=null,e=null,i=null,r){let s={type:"ForStatement",init:t,test:e,update:i,body:r},n=C.ForStatement;return h(n.init,s,"init",t,1),h(n.test,s,"test",e,1),h(n.update,s,"update",i,1),h(n.body,s,"body",r,1),s}function L_(t=null,e,i,r=!1,s=!1){let n={type:"FunctionDeclaration",id:t,params:e,body:i,generator:r,async:s},a=C.FunctionDeclaration;return h(a.id,n,"id",t,1),h(a.params,n,"params",e,1),h(a.body,n,"body",i,1),h(a.generator,n,"generator",r),h(a.async,n,"async",s),n}function M_(t=null,e,i,r=!1,s=!1){let n={type:"FunctionExpression",id:t,params:e,body:i,generator:r,async:s},a=C.FunctionExpression;return h(a.id,n,"id",t,1),h(a.params,n,"params",e,1),h(a.body,n,"body",i,1),h(a.generator,n,"generator",r),h(a.async,n,"async",s),n}function F_(t){let e={type:"Identifier",name:t},i=C.Identifier;return h(i.name,e,"name",t),e}function B_(t,e,i=null){let r={type:"IfStatement",test:t,consequent:e,alternate:i},s=C.IfStatement;return h(s.test,r,"test",t,1),h(s.consequent,r,"consequent",e,1),h(s.alternate,r,"alternate",i,1),r}function j_(t,e){let i={type:"LabeledStatement",label:t,body:e},r=C.LabeledStatement;return h(r.label,i,"label",t,1),h(r.body,i,"body",e,1),i}function R_(t){let e={type:"StringLiteral",value:t},i=C.StringLiteral;return h(i.value,e,"value",t),e}function sy(t){let e={type:"NumericLiteral",value:t},i=C.NumericLiteral;return h(i.value,e,"value",t),e}function q_(){return{type:"NullLiteral"}}function $_(t){let e={type:"BooleanLiteral",value:t},i=C.BooleanLiteral;return h(i.value,e,"value",t),e}function ny(t,e=""){let i={type:"RegExpLiteral",pattern:t,flags:e},r=C.RegExpLiteral;return h(r.pattern,i,"pattern",t),h(r.flags,i,"flags",e),i}function U_(t,e,i){let r={type:"LogicalExpression",operator:t,left:e,right:i},s=C.LogicalExpression;return h(s.operator,r,"operator",t),h(s.left,r,"left",e,1),h(s.right,r,"right",i,1),r}function K_(t,e,i=!1,r=null){let s={type:"MemberExpression",object:t,property:e,computed:i,optional:r},n=C.MemberExpression;return h(n.object,s,"object",t,1),h(n.property,s,"property",e,1),h(n.computed,s,"computed",i),h(n.optional,s,"optional",r),s}function V_(t,e){let i={type:"NewExpression",callee:t,arguments:e},r=C.NewExpression;return h(r.callee,i,"callee",t,1),h(r.arguments,i,"arguments",e,1),i}function W_(t,e=[],i="script",r=null){let s={type:"Program",body:t,directives:e,sourceType:i,interpreter:r},n=C.Program;return h(n.body,s,"body",t,1),h(n.directives,s,"directives",e,1),h(n.sourceType,s,"sourceType",i),h(n.interpreter,s,"interpreter",r,1),s}function Y_(t){let e={type:"ObjectExpression",properties:t},i=C.ObjectExpression;return h(i.properties,e,"properties",t,1),e}function z_(t="method",e,i,r,s=!1,n=!1,a=!1){let l={type:"ObjectMethod",kind:t,key:e,params:i,body:r,computed:s,generator:n,async:a},c=C.ObjectMethod;return h(c.kind,l,"kind",t),h(c.key,l,"key",e,1),h(c.params,l,"params",i,1),h(c.body,l,"body",r,1),h(c.computed,l,"computed",s),h(c.generator,l,"generator",n),h(c.async,l,"async",a),l}function J_(t,e,i=!1,r=!1,s=null){let n={type:"ObjectProperty",key:t,value:e,computed:i,shorthand:r,decorators:s},a=C.ObjectProperty;return h(a.key,n,"key",t,1),h(a.value,n,"value",e,1),h(a.computed,n,"computed",i),h(a.shorthand,n,"shorthand",r),h(a.decorators,n,"decorators",s,1),n}function ay(t){let e={type:"RestElement",argument:t},i=C.RestElement;return h(i.argument,e,"argument",t,1),e}function X_(t=null){let e={type:"ReturnStatement",argument:t},i=C.ReturnStatement;return h(i.argument,e,"argument",t,1),e}function H_(t){let e={type:"SequenceExpression",expressions:t},i=C.SequenceExpression;return h(i.expressions,e,"expressions",t,1),e}function G_(t){let e={type:"ParenthesizedExpression",expression:t},i=C.ParenthesizedExpression;return h(i.expression,e,"expression",t,1),e}function Q_(t=null,e){let i={type:"SwitchCase",test:t,consequent:e},r=C.SwitchCase;return h(r.test,i,"test",t,1),h(r.consequent,i,"consequent",e,1),i}function Z_(t,e){let i={type:"SwitchStatement",discriminant:t,cases:e},r=C.SwitchStatement;return h(r.discriminant,i,"discriminant",t,1),h(r.cases,i,"cases",e,1),i}function eO(){return{type:"ThisExpression"}}function tO(t){let e={type:"ThrowStatement",argument:t},i=C.ThrowStatement;return h(i.argument,e,"argument",t,1),e}function iO(t,e=null,i=null){let r={type:"TryStatement",block:t,handler:e,finalizer:i},s=C.TryStatement;return h(s.block,r,"block",t,1),h(s.handler,r,"handler",e,1),h(s.finalizer,r,"finalizer",i,1),r}function rO(t,e,i=!0){let r={type:"UnaryExpression",operator:t,argument:e,prefix:i},s=C.UnaryExpression;return h(s.operator,r,"operator",t),h(s.argument,r,"argument",e,1),h(s.prefix,r,"prefix",i),r}function sO(t,e,i=!1){let r={type:"UpdateExpression",operator:t,argument:e,prefix:i},s=C.UpdateExpression;return h(s.operator,r,"operator",t),h(s.argument,r,"argument",e,1),h(s.prefix,r,"prefix",i),r}function nO(t,e){let i={type:"VariableDeclaration",kind:t,declarations:e},r=C.VariableDeclaration;return h(r.kind,i,"kind",t),h(r.declarations,i,"declarations",e,1),i}function aO(t,e=null){let i={type:"VariableDeclarator",id:t,init:e},r=C.VariableDeclarator;return h(r.id,i,"id",t,1),h(r.init,i,"init",e,1),i}function oO(t,e){let i={type:"WhileStatement",test:t,body:e},r=C.WhileStatement;return h(r.test,i,"test",t,1),h(r.body,i,"body",e,1),i}function lO(t,e){let i={type:"WithStatement",object:t,body:e},r=C.WithStatement;return h(r.object,i,"object",t,1),h(r.body,i,"body",e,1),i}function cO(t,e){let i={type:"AssignmentPattern",left:t,right:e},r=C.AssignmentPattern;return h(r.left,i,"left",t,1),h(r.right,i,"right",e,1),i}function uO(t){let e={type:"ArrayPattern",elements:t},i=C.ArrayPattern;return h(i.elements,e,"elements",t,1),e}function pO(t,e,i=!1){let r={type:"ArrowFunctionExpression",params:t,body:e,async:i,expression:null},s=C.ArrowFunctionExpression;return h(s.params,r,"params",t,1),h(s.body,r,"body",e,1),h(s.async,r,"async",i),r}function fO(t){let e={type:"ClassBody",body:t},i=C.ClassBody;return h(i.body,e,"body",t,1),e}function hO(t=null,e=null,i,r=null){let s={type:"ClassExpression",id:t,superClass:e,body:i,decorators:r},n=C.ClassExpression;return h(n.id,s,"id",t,1),h(n.superClass,s,"superClass",e,1),h(n.body,s,"body",i,1),h(n.decorators,s,"decorators",r,1),s}function dO(t=null,e=null,i,r=null){let s={type:"ClassDeclaration",id:t,superClass:e,body:i,decorators:r},n=C.ClassDeclaration;return h(n.id,s,"id",t,1),h(n.superClass,s,"superClass",e,1),h(n.body,s,"body",i,1),h(n.decorators,s,"decorators",r,1),s}function mO(t){let e={type:"ExportAllDeclaration",source:t},i=C.ExportAllDeclaration;return h(i.source,e,"source",t,1),e}function yO(t){let e={type:"ExportDefaultDeclaration",declaration:t},i=C.ExportDefaultDeclaration;return h(i.declaration,e,"declaration",t,1),e}function TO(t=null,e=[],i=null){let r={type:"ExportNamedDeclaration",declaration:t,specifiers:e,source:i},s=C.ExportNamedDeclaration;return h(s.declaration,r,"declaration",t,1),h(s.specifiers,r,"specifiers",e,1),h(s.source,r,"source",i,1),r}function gO(t,e){let i={type:"ExportSpecifier",local:t,exported:e},r=C.ExportSpecifier;return h(r.local,i,"local",t,1),h(r.exported,i,"exported",e,1),i}function xO(t,e,i,r=!1){let s={type:"ForOfStatement",left:t,right:e,body:i,await:r},n=C.ForOfStatement;return h(n.left,s,"left",t,1),h(n.right,s,"right",e,1),h(n.body,s,"body",i,1),h(n.await,s,"await",r),s}function bO(t,e){let i={type:"ImportDeclaration",specifiers:t,source:e},r=C.ImportDeclaration;return h(r.specifiers,i,"specifiers",t,1),h(r.source,i,"source",e,1),i}function SO(t){let e={type:"ImportDefaultSpecifier",local:t},i=C.ImportDefaultSpecifier;return h(i.local,e,"local",t,1),e}function EO(t){let e={type:"ImportNamespaceSpecifier",local:t},i=C.ImportNamespaceSpecifier;return h(i.local,e,"local",t,1),e}function PO(t,e){let i={type:"ImportSpecifier",local:t,imported:e},r=C.ImportSpecifier;return h(r.local,i,"local",t,1),h(r.imported,i,"imported",e,1),i}function vO(t,e=null){let i={type:"ImportExpression",source:t,options:e},r=C.ImportExpression;return h(r.source,i,"source",t,1),h(r.options,i,"options",e,1),i}function AO(t,e){let i={type:"MetaProperty",meta:t,property:e},r=C.MetaProperty;return h(r.meta,i,"meta",t,1),h(r.property,i,"property",e,1),i}function wO(t="method",e,i,r,s=!1,n=!1,a=!1,l=!1){let c={type:"ClassMethod",kind:t,key:e,params:i,body:r,computed:s,static:n,generator:a,async:l},o=C.ClassMethod;return h(o.kind,c,"kind",t),h(o.key,c,"key",e,1),h(o.params,c,"params",i,1),h(o.body,c,"body",r,1),h(o.computed,c,"computed",s),h(o.static,c,"static",n),h(o.generator,c,"generator",a),h(o.async,c,"async",l),c}function CO(t){let e={type:"ObjectPattern",properties:t},i=C.ObjectPattern;return h(i.properties,e,"properties",t,1),e}function oy(t){let e={type:"SpreadElement",argument:t},i=C.SpreadElement;return h(i.argument,e,"argument",t,1),e}function IO(){return{type:"Super"}}function kO(t,e){let i={type:"TaggedTemplateExpression",tag:t,quasi:e},r=C.TaggedTemplateExpression;return h(r.tag,i,"tag",t,1),h(r.quasi,i,"quasi",e,1),i}function _O(t,e=!1){let i={type:"TemplateElement",value:t,tail:e},r=C.TemplateElement;return h(r.value,i,"value",t),h(r.tail,i,"tail",e),i}function OO(t,e){let i={type:"TemplateLiteral",quasis:t,expressions:e},r=C.TemplateLiteral;return h(r.quasis,i,"quasis",t,1),h(r.expressions,i,"expressions",e,1),i}function NO(t=null,e=!1){let i={type:"YieldExpression",argument:t,delegate:e},r=C.YieldExpression;return h(r.argument,i,"argument",t,1),h(r.delegate,i,"delegate",e),i}function DO(t){let e={type:"AwaitExpression",argument:t},i=C.AwaitExpression;return h(i.argument,e,"argument",t,1),e}function LO(){return{type:"Import"}}function MO(t){let e={type:"ExportNamespaceSpecifier",exported:t},i=C.ExportNamespaceSpecifier;return h(i.exported,e,"exported",t,1),e}function FO(t,e,i=!1,r){let s={type:"OptionalMemberExpression",object:t,property:e,computed:i,optional:r},n=C.OptionalMemberExpression;return h(n.object,s,"object",t,1),h(n.property,s,"property",e,1),h(n.computed,s,"computed",i),h(n.optional,s,"optional",r),s}function BO(t,e,i){let r={type:"OptionalCallExpression",callee:t,arguments:e,optional:i},s=C.OptionalCallExpression;return h(s.callee,r,"callee",t,1),h(s.arguments,r,"arguments",e,1),h(s.optional,r,"optional",i),r}function jO(t,e=null,i=null,r=null,s=!1,n=!1){let a={type:"ClassProperty",key:t,value:e,typeAnnotation:i,decorators:r,computed:s,static:n},l=C.ClassProperty;return h(l.key,a,"key",t,1),h(l.value,a,"value",e,1),h(l.typeAnnotation,a,"typeAnnotation",i,1),h(l.decorators,a,"decorators",r,1),h(l.computed,a,"computed",s),h(l.static,a,"static",n),a}function RO(t,e=null,i=null,r=null,s=!1,n=!1){let a={type:"ClassAccessorProperty",key:t,value:e,typeAnnotation:i,decorators:r,computed:s,static:n},l=C.ClassAccessorProperty;return h(l.key,a,"key",t,1),h(l.value,a,"value",e,1),h(l.typeAnnotation,a,"typeAnnotation",i,1),h(l.decorators,a,"decorators",r,1),h(l.computed,a,"computed",s),h(l.static,a,"static",n),a}function qO(t,e=null,i=null,r=!1){let s={type:"ClassPrivateProperty",key:t,value:e,decorators:i,static:r},n=C.ClassPrivateProperty;return h(n.key,s,"key",t,1),h(n.value,s,"value",e,1),h(n.decorators,s,"decorators",i,1),h(n.static,s,"static",r),s}function $O(t="method",e,i,r,s=!1){let n={type:"ClassPrivateMethod",kind:t,key:e,params:i,body:r,static:s},a=C.ClassPrivateMethod;return h(a.kind,n,"kind",t),h(a.key,n,"key",e,1),h(a.params,n,"params",i,1),h(a.body,n,"body",r,1),h(a.static,n,"static",s),n}function UO(t){let e={type:"PrivateName",id:t},i=C.PrivateName;return h(i.id,e,"id",t,1),e}function KO(t){let e={type:"StaticBlock",body:t},i=C.StaticBlock;return h(i.body,e,"body",t,1),e}function VO(t,e){let i={type:"ImportAttribute",key:t,value:e},r=C.ImportAttribute;return h(r.key,i,"key",t,1),h(r.value,i,"value",e,1),i}function WO(){return{type:"AnyTypeAnnotation"}}function YO(t){let e={type:"ArrayTypeAnnotation",elementType:t},i=C.ArrayTypeAnnotation;return h(i.elementType,e,"elementType",t,1),e}function zO(){return{type:"BooleanTypeAnnotation"}}function JO(t){let e={type:"BooleanLiteralTypeAnnotation",value:t},i=C.BooleanLiteralTypeAnnotation;return h(i.value,e,"value",t),e}function XO(){return{type:"NullLiteralTypeAnnotation"}}function HO(t,e=null){let i={type:"ClassImplements",id:t,typeParameters:e},r=C.ClassImplements;return h(r.id,i,"id",t,1),h(r.typeParameters,i,"typeParameters",e,1),i}function GO(t,e=null,i=null,r){let s={type:"DeclareClass",id:t,typeParameters:e,extends:i,body:r},n=C.DeclareClass;return h(n.id,s,"id",t,1),h(n.typeParameters,s,"typeParameters",e,1),h(n.extends,s,"extends",i,1),h(n.body,s,"body",r,1),s}function QO(t){let e={type:"DeclareFunction",id:t},i=C.DeclareFunction;return h(i.id,e,"id",t,1),e}function ZO(t,e=null,i=null,r){let s={type:"DeclareInterface",id:t,typeParameters:e,extends:i,body:r},n=C.DeclareInterface;return h(n.id,s,"id",t,1),h(n.typeParameters,s,"typeParameters",e,1),h(n.extends,s,"extends",i,1),h(n.body,s,"body",r,1),s}function eN(t,e,i=null){let r={type:"DeclareModule",id:t,body:e,kind:i},s=C.DeclareModule;return h(s.id,r,"id",t,1),h(s.body,r,"body",e,1),h(s.kind,r,"kind",i),r}function tN(t){let e={type:"DeclareModuleExports",typeAnnotation:t},i=C.DeclareModuleExports;return h(i.typeAnnotation,e,"typeAnnotation",t,1),e}function iN(t,e=null,i){let r={type:"DeclareTypeAlias",id:t,typeParameters:e,right:i},s=C.DeclareTypeAlias;return h(s.id,r,"id",t,1),h(s.typeParameters,r,"typeParameters",e,1),h(s.right,r,"right",i,1),r}function rN(t,e=null,i=null){let r={type:"DeclareOpaqueType",id:t,typeParameters:e,supertype:i},s=C.DeclareOpaqueType;return h(s.id,r,"id",t,1),h(s.typeParameters,r,"typeParameters",e,1),h(s.supertype,r,"supertype",i,1),r}function sN(t){let e={type:"DeclareVariable",id:t},i=C.DeclareVariable;return h(i.id,e,"id",t,1),e}function nN(t=null,e=null,i=null,r=null){let s={type:"DeclareExportDeclaration",declaration:t,specifiers:e,source:i,attributes:r},n=C.DeclareExportDeclaration;return h(n.declaration,s,"declaration",t,1),h(n.specifiers,s,"specifiers",e,1),h(n.source,s,"source",i,1),h(n.attributes,s,"attributes",r,1),s}function aN(t,e=null){let i={type:"DeclareExportAllDeclaration",source:t,attributes:e},r=C.DeclareExportAllDeclaration;return h(r.source,i,"source",t,1),h(r.attributes,i,"attributes",e,1),i}function oN(t){let e={type:"DeclaredPredicate",value:t},i=C.DeclaredPredicate;return h(i.value,e,"value",t,1),e}function lN(){return{type:"ExistsTypeAnnotation"}}function cN(t=null,e,i=null,r){let s={type:"FunctionTypeAnnotation",typeParameters:t,params:e,rest:i,returnType:r},n=C.FunctionTypeAnnotation;return h(n.typeParameters,s,"typeParameters",t,1),h(n.params,s,"params",e,1),h(n.rest,s,"rest",i,1),h(n.returnType,s,"returnType",r,1),s}function uN(t=null,e){let i={type:"FunctionTypeParam",name:t,typeAnnotation:e},r=C.FunctionTypeParam;return h(r.name,i,"name",t,1),h(r.typeAnnotation,i,"typeAnnotation",e,1),i}function pN(t,e=null){let i={type:"GenericTypeAnnotation",id:t,typeParameters:e},r=C.GenericTypeAnnotation;return h(r.id,i,"id",t,1),h(r.typeParameters,i,"typeParameters",e,1),i}function fN(){return{type:"InferredPredicate"}}function hN(t,e=null){let i={type:"InterfaceExtends",id:t,typeParameters:e},r=C.InterfaceExtends;return h(r.id,i,"id",t,1),h(r.typeParameters,i,"typeParameters",e,1),i}function dN(t,e=null,i=null,r){let s={type:"InterfaceDeclaration",id:t,typeParameters:e,extends:i,body:r},n=C.InterfaceDeclaration;return h(n.id,s,"id",t,1),h(n.typeParameters,s,"typeParameters",e,1),h(n.extends,s,"extends",i,1),h(n.body,s,"body",r,1),s}function mN(t=null,e){let i={type:"InterfaceTypeAnnotation",extends:t,body:e},r=C.InterfaceTypeAnnotation;return h(r.extends,i,"extends",t,1),h(r.body,i,"body",e,1),i}function yN(t){let e={type:"IntersectionTypeAnnotation",types:t},i=C.IntersectionTypeAnnotation;return h(i.types,e,"types",t,1),e}function TN(){return{type:"MixedTypeAnnotation"}}function gN(){return{type:"EmptyTypeAnnotation"}}function xN(t){let e={type:"NullableTypeAnnotation",typeAnnotation:t},i=C.NullableTypeAnnotation;return h(i.typeAnnotation,e,"typeAnnotation",t,1),e}function bN(t){let e={type:"NumberLiteralTypeAnnotation",value:t},i=C.NumberLiteralTypeAnnotation;return h(i.value,e,"value",t),e}function SN(){return{type:"NumberTypeAnnotation"}}function EN(t,e=[],i=[],r=[],s=!1){let n={type:"ObjectTypeAnnotation",properties:t,indexers:e,callProperties:i,internalSlots:r,exact:s},a=C.ObjectTypeAnnotation;return h(a.properties,n,"properties",t,1),h(a.indexers,n,"indexers",e,1),h(a.callProperties,n,"callProperties",i,1),h(a.internalSlots,n,"internalSlots",r,1),h(a.exact,n,"exact",s),n}function PN(t,e,i,r,s){let n={type:"ObjectTypeInternalSlot",id:t,value:e,optional:i,static:r,method:s},a=C.ObjectTypeInternalSlot;return h(a.id,n,"id",t,1),h(a.value,n,"value",e,1),h(a.optional,n,"optional",i),h(a.static,n,"static",r),h(a.method,n,"method",s),n}function vN(t){let e={type:"ObjectTypeCallProperty",value:t,static:null},i=C.ObjectTypeCallProperty;return h(i.value,e,"value",t,1),e}function AN(t=null,e,i,r=null){let s={type:"ObjectTypeIndexer",id:t,key:e,value:i,variance:r,static:null},n=C.ObjectTypeIndexer;return h(n.id,s,"id",t,1),h(n.key,s,"key",e,1),h(n.value,s,"value",i,1),h(n.variance,s,"variance",r,1),s}function wN(t,e,i=null){let r={type:"ObjectTypeProperty",key:t,value:e,variance:i,kind:null,method:null,optional:null,proto:null,static:null},s=C.ObjectTypeProperty;return h(s.key,r,"key",t,1),h(s.value,r,"value",e,1),h(s.variance,r,"variance",i,1),r}function CN(t){let e={type:"ObjectTypeSpreadProperty",argument:t},i=C.ObjectTypeSpreadProperty;return h(i.argument,e,"argument",t,1),e}function IN(t,e=null,i=null,r){let s={type:"OpaqueType",id:t,typeParameters:e,supertype:i,impltype:r},n=C.OpaqueType;return h(n.id,s,"id",t,1),h(n.typeParameters,s,"typeParameters",e,1),h(n.supertype,s,"supertype",i,1),h(n.impltype,s,"impltype",r,1),s}function kN(t,e){let i={type:"QualifiedTypeIdentifier",id:t,qualification:e},r=C.QualifiedTypeIdentifier;return h(r.id,i,"id",t,1),h(r.qualification,i,"qualification",e,1),i}function _N(t){let e={type:"StringLiteralTypeAnnotation",value:t},i=C.StringLiteralTypeAnnotation;return h(i.value,e,"value",t),e}function ON(){return{type:"StringTypeAnnotation"}}function NN(){return{type:"SymbolTypeAnnotation"}}function DN(){return{type:"ThisTypeAnnotation"}}function LN(t){let e={type:"TupleTypeAnnotation",types:t},i=C.TupleTypeAnnotation;return h(i.types,e,"types",t,1),e}function MN(t){let e={type:"TypeofTypeAnnotation",argument:t},i=C.TypeofTypeAnnotation;return h(i.argument,e,"argument",t,1),e}function FN(t,e=null,i){let r={type:"TypeAlias",id:t,typeParameters:e,right:i},s=C.TypeAlias;return h(s.id,r,"id",t,1),h(s.typeParameters,r,"typeParameters",e,1),h(s.right,r,"right",i,1),r}function BN(t){let e={type:"TypeAnnotation",typeAnnotation:t},i=C.TypeAnnotation;return h(i.typeAnnotation,e,"typeAnnotation",t,1),e}function jN(t,e){let i={type:"TypeCastExpression",expression:t,typeAnnotation:e},r=C.TypeCastExpression;return h(r.expression,i,"expression",t,1),h(r.typeAnnotation,i,"typeAnnotation",e,1),i}function RN(t=null,e=null,i=null){let r={type:"TypeParameter",bound:t,default:e,variance:i,name:null},s=C.TypeParameter;return h(s.bound,r,"bound",t,1),h(s.default,r,"default",e,1),h(s.variance,r,"variance",i,1),r}function qN(t){let e={type:"TypeParameterDeclaration",params:t},i=C.TypeParameterDeclaration;return h(i.params,e,"params",t,1),e}function $N(t){let e={type:"TypeParameterInstantiation",params:t},i=C.TypeParameterInstantiation;return h(i.params,e,"params",t,1),e}function UN(t){let e={type:"UnionTypeAnnotation",types:t},i=C.UnionTypeAnnotation;return h(i.types,e,"types",t,1),e}function KN(t){let e={type:"Variance",kind:t},i=C.Variance;return h(i.kind,e,"kind",t),e}function VN(){return{type:"VoidTypeAnnotation"}}function WN(t,e){let i={type:"EnumDeclaration",id:t,body:e},r=C.EnumDeclaration;return h(r.id,i,"id",t,1),h(r.body,i,"body",e,1),i}function YN(t){let e={type:"EnumBooleanBody",members:t,explicitType:null,hasUnknownMembers:null},i=C.EnumBooleanBody;return h(i.members,e,"members",t,1),e}function zN(t){let e={type:"EnumNumberBody",members:t,explicitType:null,hasUnknownMembers:null},i=C.EnumNumberBody;return h(i.members,e,"members",t,1),e}function JN(t){let e={type:"EnumStringBody",members:t,explicitType:null,hasUnknownMembers:null},i=C.EnumStringBody;return h(i.members,e,"members",t,1),e}function XN(t){let e={type:"EnumSymbolBody",members:t,hasUnknownMembers:null},i=C.EnumSymbolBody;return h(i.members,e,"members",t,1),e}function HN(t){let e={type:"EnumBooleanMember",id:t,init:null},i=C.EnumBooleanMember;return h(i.id,e,"id",t,1),e}function GN(t,e){let i={type:"EnumNumberMember",id:t,init:e},r=C.EnumNumberMember;return h(r.id,i,"id",t,1),h(r.init,i,"init",e,1),i}function QN(t,e){let i={type:"EnumStringMember",id:t,init:e},r=C.EnumStringMember;return h(r.id,i,"id",t,1),h(r.init,i,"init",e,1),i}function ZN(t){let e={type:"EnumDefaultedMember",id:t},i=C.EnumDefaultedMember;return h(i.id,e,"id",t,1),e}function e2(t,e){let i={type:"IndexedAccessType",objectType:t,indexType:e},r=C.IndexedAccessType;return h(r.objectType,i,"objectType",t,1),h(r.indexType,i,"indexType",e,1),i}function t2(t,e){let i={type:"OptionalIndexedAccessType",objectType:t,indexType:e,optional:null},r=C.OptionalIndexedAccessType;return h(r.objectType,i,"objectType",t,1),h(r.indexType,i,"indexType",e,1),i}function i2(t,e=null){let i={type:"JSXAttribute",name:t,value:e},r=C.JSXAttribute;return h(r.name,i,"name",t,1),h(r.value,i,"value",e,1),i}function r2(t){let e={type:"JSXClosingElement",name:t},i=C.JSXClosingElement;return h(i.name,e,"name",t,1),e}function s2(t,e=null,i,r=null){let s={type:"JSXElement",openingElement:t,closingElement:e,children:i,selfClosing:r},n=C.JSXElement;return h(n.openingElement,s,"openingElement",t,1),h(n.closingElement,s,"closingElement",e,1),h(n.children,s,"children",i,1),h(n.selfClosing,s,"selfClosing",r),s}function n2(){return{type:"JSXEmptyExpression"}}function a2(t){let e={type:"JSXExpressionContainer",expression:t},i=C.JSXExpressionContainer;return h(i.expression,e,"expression",t,1),e}function o2(t){let e={type:"JSXSpreadChild",expression:t},i=C.JSXSpreadChild;return h(i.expression,e,"expression",t,1),e}function l2(t){let e={type:"JSXIdentifier",name:t},i=C.JSXIdentifier;return h(i.name,e,"name",t),e}function c2(t,e){let i={type:"JSXMemberExpression",object:t,property:e},r=C.JSXMemberExpression;return h(r.object,i,"object",t,1),h(r.property,i,"property",e,1),i}function u2(t,e){let i={type:"JSXNamespacedName",namespace:t,name:e},r=C.JSXNamespacedName;return h(r.namespace,i,"namespace",t,1),h(r.name,i,"name",e,1),i}function p2(t,e,i=!1){let r={type:"JSXOpeningElement",name:t,attributes:e,selfClosing:i},s=C.JSXOpeningElement;return h(s.name,r,"name",t,1),h(s.attributes,r,"attributes",e,1),h(s.selfClosing,r,"selfClosing",i),r}function f2(t){let e={type:"JSXSpreadAttribute",argument:t},i=C.JSXSpreadAttribute;return h(i.argument,e,"argument",t,1),e}function h2(t){let e={type:"JSXText",value:t},i=C.JSXText;return h(i.value,e,"value",t),e}function d2(t,e,i){let r={type:"JSXFragment",openingFragment:t,closingFragment:e,children:i},s=C.JSXFragment;return h(s.openingFragment,r,"openingFragment",t,1),h(s.closingFragment,r,"closingFragment",e,1),h(s.children,r,"children",i,1),r}function m2(){return{type:"JSXOpeningFragment"}}function y2(){return{type:"JSXClosingFragment"}}function T2(){return{type:"Noop"}}function g2(t,e){let i={type:"Placeholder",expectedNode:t,name:e},r=C.Placeholder;return h(r.expectedNode,i,"expectedNode",t),h(r.name,i,"name",e,1),i}function x2(t){let e={type:"V8IntrinsicIdentifier",name:t},i=C.V8IntrinsicIdentifier;return h(i.name,e,"name",t),e}function b2(){return{type:"ArgumentPlaceholder"}}function S2(t,e){let i={type:"BindExpression",object:t,callee:e},r=C.BindExpression;return h(r.object,i,"object",t,1),h(r.callee,i,"callee",e,1),i}function E2(t){let e={type:"Decorator",expression:t},i=C.Decorator;return h(i.expression,e,"expression",t,1),e}function P2(t,e=!1){let i={type:"DoExpression",body:t,async:e},r=C.DoExpression;return h(r.body,i,"body",t,1),h(r.async,i,"async",e),i}function v2(t){let e={type:"ExportDefaultSpecifier",exported:t},i=C.ExportDefaultSpecifier;return h(i.exported,e,"exported",t,1),e}function A2(t){let e={type:"RecordExpression",properties:t},i=C.RecordExpression;return h(i.properties,e,"properties",t,1),e}function w2(t=[]){let e={type:"TupleExpression",elements:t},i=C.TupleExpression;return h(i.elements,e,"elements",t,1),e}function C2(t){let e={type:"DecimalLiteral",value:t},i=C.DecimalLiteral;return h(i.value,e,"value",t),e}function I2(t){let e={type:"ModuleExpression",body:t},i=C.ModuleExpression;return h(i.body,e,"body",t,1),e}function k2(){return{type:"TopicReference"}}function _2(t){let e={type:"PipelineTopicExpression",expression:t},i=C.PipelineTopicExpression;return h(i.expression,e,"expression",t,1),e}function O2(t){let e={type:"PipelineBareFunction",callee:t},i=C.PipelineBareFunction;return h(i.callee,e,"callee",t,1),e}function N2(){return{type:"PipelinePrimaryTopicReference"}}function D2(){return{type:"VoidPattern"}}function L2(t){let e={type:"TSParameterProperty",parameter:t},i=C.TSParameterProperty;return h(i.parameter,e,"parameter",t,1),e}function M2(t=null,e=null,i,r=null){let s={type:"TSDeclareFunction",id:t,typeParameters:e,params:i,returnType:r},n=C.TSDeclareFunction;return h(n.id,s,"id",t,1),h(n.typeParameters,s,"typeParameters",e,1),h(n.params,s,"params",i,1),h(n.returnType,s,"returnType",r,1),s}function F2(t=null,e,i=null,r,s=null){let n={type:"TSDeclareMethod",decorators:t,key:e,typeParameters:i,params:r,returnType:s},a=C.TSDeclareMethod;return h(a.decorators,n,"decorators",t,1),h(a.key,n,"key",e,1),h(a.typeParameters,n,"typeParameters",i,1),h(a.params,n,"params",r,1),h(a.returnType,n,"returnType",s,1),n}function B2(t,e){let i={type:"TSQualifiedName",left:t,right:e},r=C.TSQualifiedName;return h(r.left,i,"left",t,1),h(r.right,i,"right",e,1),i}function j2(t=null,e,i=null){let r={type:"TSCallSignatureDeclaration",typeParameters:t,parameters:e,typeAnnotation:i},s=C.TSCallSignatureDeclaration;return h(s.typeParameters,r,"typeParameters",t,1),h(s.parameters,r,"parameters",e,1),h(s.typeAnnotation,r,"typeAnnotation",i,1),r}function R2(t=null,e,i=null){let r={type:"TSConstructSignatureDeclaration",typeParameters:t,parameters:e,typeAnnotation:i},s=C.TSConstructSignatureDeclaration;return h(s.typeParameters,r,"typeParameters",t,1),h(s.parameters,r,"parameters",e,1),h(s.typeAnnotation,r,"typeAnnotation",i,1),r}function q2(t,e=null){let i={type:"TSPropertySignature",key:t,typeAnnotation:e},r=C.TSPropertySignature;return h(r.key,i,"key",t,1),h(r.typeAnnotation,i,"typeAnnotation",e,1),i}function $2(t,e=null,i,r=null){let s={type:"TSMethodSignature",key:t,typeParameters:e,parameters:i,typeAnnotation:r,kind:null},n=C.TSMethodSignature;return h(n.key,s,"key",t,1),h(n.typeParameters,s,"typeParameters",e,1),h(n.parameters,s,"parameters",i,1),h(n.typeAnnotation,s,"typeAnnotation",r,1),s}function U2(t,e=null){let i={type:"TSIndexSignature",parameters:t,typeAnnotation:e},r=C.TSIndexSignature;return h(r.parameters,i,"parameters",t,1),h(r.typeAnnotation,i,"typeAnnotation",e,1),i}function K2(){return{type:"TSAnyKeyword"}}function V2(){return{type:"TSBooleanKeyword"}}function W2(){return{type:"TSBigIntKeyword"}}function Y2(){return{type:"TSIntrinsicKeyword"}}function z2(){return{type:"TSNeverKeyword"}}function J2(){return{type:"TSNullKeyword"}}function X2(){return{type:"TSNumberKeyword"}}function H2(){return{type:"TSObjectKeyword"}}function G2(){return{type:"TSStringKeyword"}}function Q2(){return{type:"TSSymbolKeyword"}}function Z2(){return{type:"TSUndefinedKeyword"}}function eD(){return{type:"TSUnknownKeyword"}}function tD(){return{type:"TSVoidKeyword"}}function iD(){return{type:"TSThisType"}}function rD(t=null,e,i=null){let r={type:"TSFunctionType",typeParameters:t,parameters:e,typeAnnotation:i},s=C.TSFunctionType;return h(s.typeParameters,r,"typeParameters",t,1),h(s.parameters,r,"parameters",e,1),h(s.typeAnnotation,r,"typeAnnotation",i,1),r}function sD(t=null,e,i=null){let r={type:"TSConstructorType",typeParameters:t,parameters:e,typeAnnotation:i},s=C.TSConstructorType;return h(s.typeParameters,r,"typeParameters",t,1),h(s.parameters,r,"parameters",e,1),h(s.typeAnnotation,r,"typeAnnotation",i,1),r}function nD(t,e=null){let i={type:"TSTypeReference",typeName:t,typeParameters:e},r=C.TSTypeReference;return h(r.typeName,i,"typeName",t,1),h(r.typeParameters,i,"typeParameters",e,1),i}function aD(t,e=null,i=null){let r={type:"TSTypePredicate",parameterName:t,typeAnnotation:e,asserts:i},s=C.TSTypePredicate;return h(s.parameterName,r,"parameterName",t,1),h(s.typeAnnotation,r,"typeAnnotation",e,1),h(s.asserts,r,"asserts",i),r}function oD(t,e=null){let i={type:"TSTypeQuery",exprName:t,typeParameters:e},r=C.TSTypeQuery;return h(r.exprName,i,"exprName",t,1),h(r.typeParameters,i,"typeParameters",e,1),i}function lD(t){let e={type:"TSTypeLiteral",members:t},i=C.TSTypeLiteral;return h(i.members,e,"members",t,1),e}function cD(t){let e={type:"TSArrayType",elementType:t},i=C.TSArrayType;return h(i.elementType,e,"elementType",t,1),e}function uD(t){let e={type:"TSTupleType",elementTypes:t},i=C.TSTupleType;return h(i.elementTypes,e,"elementTypes",t,1),e}function pD(t){let e={type:"TSOptionalType",typeAnnotation:t},i=C.TSOptionalType;return h(i.typeAnnotation,e,"typeAnnotation",t,1),e}function fD(t){let e={type:"TSRestType",typeAnnotation:t},i=C.TSRestType;return h(i.typeAnnotation,e,"typeAnnotation",t,1),e}function hD(t,e,i=!1){let r={type:"TSNamedTupleMember",label:t,elementType:e,optional:i},s=C.TSNamedTupleMember;return h(s.label,r,"label",t,1),h(s.elementType,r,"elementType",e,1),h(s.optional,r,"optional",i),r}function dD(t){let e={type:"TSUnionType",types:t},i=C.TSUnionType;return h(i.types,e,"types",t,1),e}function mD(t){let e={type:"TSIntersectionType",types:t},i=C.TSIntersectionType;return h(i.types,e,"types",t,1),e}function yD(t,e,i,r){let s={type:"TSConditionalType",checkType:t,extendsType:e,trueType:i,falseType:r},n=C.TSConditionalType;return h(n.checkType,s,"checkType",t,1),h(n.extendsType,s,"extendsType",e,1),h(n.trueType,s,"trueType",i,1),h(n.falseType,s,"falseType",r,1),s}function TD(t){let e={type:"TSInferType",typeParameter:t},i=C.TSInferType;return h(i.typeParameter,e,"typeParameter",t,1),e}function gD(t){let e={type:"TSParenthesizedType",typeAnnotation:t},i=C.TSParenthesizedType;return h(i.typeAnnotation,e,"typeAnnotation",t,1),e}function xD(t,e){let i={type:"TSTypeOperator",typeAnnotation:t,operator:e},r=C.TSTypeOperator;return h(r.typeAnnotation,i,"typeAnnotation",t,1),h(r.operator,i,"operator",e),i}function bD(t,e){let i={type:"TSIndexedAccessType",objectType:t,indexType:e},r=C.TSIndexedAccessType;return h(r.objectType,i,"objectType",t,1),h(r.indexType,i,"indexType",e,1),i}function SD(t,e=null,i=null){let r={type:"TSMappedType",typeParameter:t,typeAnnotation:e,nameType:i},s=C.TSMappedType;return h(s.typeParameter,r,"typeParameter",t,1),h(s.typeAnnotation,r,"typeAnnotation",e,1),h(s.nameType,r,"nameType",i,1),r}function ED(t,e){let i={type:"TSTemplateLiteralType",quasis:t,types:e},r=C.TSTemplateLiteralType;return h(r.quasis,i,"quasis",t,1),h(r.types,i,"types",e,1),i}function PD(t){let e={type:"TSLiteralType",literal:t},i=C.TSLiteralType;return h(i.literal,e,"literal",t,1),e}function vD(t,e=null){let i={type:"TSExpressionWithTypeArguments",expression:t,typeParameters:e},r=C.TSExpressionWithTypeArguments;return h(r.expression,i,"expression",t,1),h(r.typeParameters,i,"typeParameters",e,1),i}function AD(t,e=null,i=null,r){let s={type:"TSInterfaceDeclaration",id:t,typeParameters:e,extends:i,body:r},n=C.TSInterfaceDeclaration;return h(n.id,s,"id",t,1),h(n.typeParameters,s,"typeParameters",e,1),h(n.extends,s,"extends",i,1),h(n.body,s,"body",r,1),s}function wD(t){let e={type:"TSInterfaceBody",body:t},i=C.TSInterfaceBody;return h(i.body,e,"body",t,1),e}function CD(t,e=null,i){let r={type:"TSTypeAliasDeclaration",id:t,typeParameters:e,typeAnnotation:i},s=C.TSTypeAliasDeclaration;return h(s.id,r,"id",t,1),h(s.typeParameters,r,"typeParameters",e,1),h(s.typeAnnotation,r,"typeAnnotation",i,1),r}function ID(t,e=null){let i={type:"TSInstantiationExpression",expression:t,typeParameters:e},r=C.TSInstantiationExpression;return h(r.expression,i,"expression",t,1),h(r.typeParameters,i,"typeParameters",e,1),i}function kD(t,e){let i={type:"TSAsExpression",expression:t,typeAnnotation:e},r=C.TSAsExpression;return h(r.expression,i,"expression",t,1),h(r.typeAnnotation,i,"typeAnnotation",e,1),i}function _D(t,e){let i={type:"TSSatisfiesExpression",expression:t,typeAnnotation:e},r=C.TSSatisfiesExpression;return h(r.expression,i,"expression",t,1),h(r.typeAnnotation,i,"typeAnnotation",e,1),i}function OD(t,e){let i={type:"TSTypeAssertion",typeAnnotation:t,expression:e},r=C.TSTypeAssertion;return h(r.typeAnnotation,i,"typeAnnotation",t,1),h(r.expression,i,"expression",e,1),i}function ND(t){let e={type:"TSEnumBody",members:t},i=C.TSEnumBody;return h(i.members,e,"members",t,1),e}function DD(t,e){let i={type:"TSEnumDeclaration",id:t,members:e},r=C.TSEnumDeclaration;return h(r.id,i,"id",t,1),h(r.members,i,"members",e,1),i}function LD(t,e=null){let i={type:"TSEnumMember",id:t,initializer:e},r=C.TSEnumMember;return h(r.id,i,"id",t,1),h(r.initializer,i,"initializer",e,1),i}function MD(t,e){let i={type:"TSModuleDeclaration",id:t,body:e,kind:null},r=C.TSModuleDeclaration;return h(r.id,i,"id",t,1),h(r.body,i,"body",e,1),i}function FD(t){let e={type:"TSModuleBlock",body:t},i=C.TSModuleBlock;return h(i.body,e,"body",t,1),e}function BD(t,e=null,i=null){let r={type:"TSImportType",argument:t,qualifier:e,typeParameters:i},s=C.TSImportType;return h(s.argument,r,"argument",t,1),h(s.qualifier,r,"qualifier",e,1),h(s.typeParameters,r,"typeParameters",i,1),r}function jD(t,e){let i={type:"TSImportEqualsDeclaration",id:t,moduleReference:e,isExport:null},r=C.TSImportEqualsDeclaration;return h(r.id,i,"id",t,1),h(r.moduleReference,i,"moduleReference",e,1),i}function RD(t){let e={type:"TSExternalModuleReference",expression:t},i=C.TSExternalModuleReference;return h(i.expression,e,"expression",t,1),e}function qD(t){let e={type:"TSNonNullExpression",expression:t},i=C.TSNonNullExpression;return h(i.expression,e,"expression",t,1),e}function $D(t){let e={type:"TSExportAssignment",expression:t},i=C.TSExportAssignment;return h(i.expression,e,"expression",t,1),e}function UD(t){let e={type:"TSNamespaceExportDeclaration",id:t},i=C.TSNamespaceExportDeclaration;return h(i.id,e,"id",t,1),e}function KD(t){let e={type:"TSTypeAnnotation",typeAnnotation:t},i=C.TSTypeAnnotation;return h(i.typeAnnotation,e,"typeAnnotation",t,1),e}function VD(t){let e={type:"TSTypeParameterInstantiation",params:t},i=C.TSTypeParameterInstantiation;return h(i.params,e,"params",t,1),e}function WD(t){let e={type:"TSTypeParameterDeclaration",params:t},i=C.TSTypeParameterDeclaration;return h(i.params,e,"params",t,1),e}function YD(t=null,e=null,i){let r={type:"TSTypeParameter",constraint:t,default:e,name:i},s=C.TSTypeParameter;return h(s.constraint,r,"constraint",t,1),h(s.default,r,"default",e,1),h(s.name,r,"name",i),r}function zD(t){return(0,eo.default)("NumberLiteral","NumericLiteral","The node type "),sy(t)}function JD(t,e=""){return(0,eo.default)("RegexLiteral","RegExpLiteral","The node type "),ny(t,e)}function XD(t){return(0,eo.default)("RestProperty","RestElement","The node type "),ay(t)}function HD(t){return(0,eo.default)("SpreadProperty","SpreadElement","The node type "),oy(t)}});var ly=_(p=>{"use strict";Object.defineProperty(p,"__esModule",{value:!0});p.JSXIdentifier=p.JSXFragment=p.JSXExpressionContainer=p.JSXEmptyExpression=p.JSXElement=p.JSXClosingFragment=p.JSXClosingElement=p.JSXAttribute=p.IntersectionTypeAnnotation=p.InterpreterDirective=p.InterfaceTypeAnnotation=p.InterfaceExtends=p.InterfaceDeclaration=p.InferredPredicate=p.IndexedAccessType=p.ImportSpecifier=p.ImportNamespaceSpecifier=p.ImportExpression=p.ImportDefaultSpecifier=p.ImportDeclaration=p.ImportAttribute=p.Import=p.IfStatement=p.Identifier=p.GenericTypeAnnotation=p.FunctionTypeParam=p.FunctionTypeAnnotation=p.FunctionExpression=p.FunctionDeclaration=p.ForStatement=p.ForOfStatement=p.ForInStatement=p.File=p.ExpressionStatement=p.ExportSpecifier=p.ExportNamespaceSpecifier=p.ExportNamedDeclaration=p.ExportDefaultSpecifier=p.ExportDefaultDeclaration=p.ExportAllDeclaration=p.ExistsTypeAnnotation=p.EnumSymbolBody=p.EnumStringMember=p.EnumStringBody=p.EnumNumberMember=p.EnumNumberBody=p.EnumDefaultedMember=p.EnumDeclaration=p.EnumBooleanMember=p.EnumBooleanBody=p.EmptyTypeAnnotation=p.EmptyStatement=p.DoWhileStatement=p.DoExpression=p.DirectiveLiteral=p.Directive=p.Decorator=p.DeclaredPredicate=p.DeclareVariable=p.DeclareTypeAlias=p.DeclareOpaqueType=p.DeclareModuleExports=p.DeclareModule=p.DeclareInterface=p.DeclareFunction=p.DeclareExportDeclaration=p.DeclareExportAllDeclaration=p.DeclareClass=p.DecimalLiteral=p.DebuggerStatement=p.ContinueStatement=p.ConditionalExpression=p.ClassProperty=p.ClassPrivateProperty=p.ClassPrivateMethod=p.ClassMethod=p.ClassImplements=p.ClassExpression=p.ClassDeclaration=p.ClassBody=p.ClassAccessorProperty=p.CatchClause=p.CallExpression=p.BreakStatement=p.BooleanTypeAnnotation=p.BooleanLiteralTypeAnnotation=p.BooleanLiteral=p.BlockStatement=p.BindExpression=p.BinaryExpression=p.BigIntLiteral=p.AwaitExpression=p.AssignmentPattern=p.AssignmentExpression=p.ArrowFunctionExpression=p.ArrayTypeAnnotation=p.ArrayPattern=p.ArrayExpression=p.ArgumentPlaceholder=p.AnyTypeAnnotation=void 0;p.TSNumberKeyword=p.TSNullKeyword=p.TSNonNullExpression=p.TSNeverKeyword=p.TSNamespaceExportDeclaration=p.TSNamedTupleMember=p.TSModuleDeclaration=p.TSModuleBlock=p.TSMethodSignature=p.TSMappedType=p.TSLiteralType=p.TSIntrinsicKeyword=p.TSIntersectionType=p.TSInterfaceDeclaration=p.TSInterfaceBody=p.TSInstantiationExpression=p.TSInferType=p.TSIndexedAccessType=p.TSIndexSignature=p.TSImportType=p.TSImportEqualsDeclaration=p.TSFunctionType=p.TSExternalModuleReference=p.TSExpressionWithTypeArguments=p.TSExportAssignment=p.TSEnumMember=p.TSEnumDeclaration=p.TSEnumBody=p.TSDeclareMethod=p.TSDeclareFunction=p.TSConstructorType=p.TSConstructSignatureDeclaration=p.TSConditionalType=p.TSCallSignatureDeclaration=p.TSBooleanKeyword=p.TSBigIntKeyword=p.TSAsExpression=p.TSArrayType=p.TSAnyKeyword=p.SymbolTypeAnnotation=p.SwitchStatement=p.SwitchCase=p.Super=p.StringTypeAnnotation=p.StringLiteralTypeAnnotation=p.StringLiteral=p.StaticBlock=p.SpreadProperty=p.SpreadElement=p.SequenceExpression=p.ReturnStatement=p.RestProperty=p.RestElement=p.RegexLiteral=p.RegExpLiteral=p.RecordExpression=p.QualifiedTypeIdentifier=p.Program=p.PrivateName=p.Placeholder=p.PipelineTopicExpression=p.PipelinePrimaryTopicReference=p.PipelineBareFunction=p.ParenthesizedExpression=p.OptionalMemberExpression=p.OptionalIndexedAccessType=p.OptionalCallExpression=p.OpaqueType=p.ObjectTypeSpreadProperty=p.ObjectTypeProperty=p.ObjectTypeInternalSlot=p.ObjectTypeIndexer=p.ObjectTypeCallProperty=p.ObjectTypeAnnotation=p.ObjectProperty=p.ObjectPattern=p.ObjectMethod=p.ObjectExpression=p.NumericLiteral=p.NumberTypeAnnotation=p.NumberLiteralTypeAnnotation=p.NumberLiteral=p.NullableTypeAnnotation=p.NullLiteralTypeAnnotation=p.NullLiteral=p.Noop=p.NewExpression=p.ModuleExpression=p.MixedTypeAnnotation=p.MetaProperty=p.MemberExpression=p.LogicalExpression=p.LabeledStatement=p.JSXText=p.JSXSpreadChild=p.JSXSpreadAttribute=p.JSXOpeningFragment=p.JSXOpeningElement=p.JSXNamespacedName=p.JSXMemberExpression=void 0;p.YieldExpression=p.WithStatement=p.WhileStatement=p.VoidTypeAnnotation=p.VoidPattern=p.Variance=p.VariableDeclarator=p.VariableDeclaration=p.V8IntrinsicIdentifier=p.UpdateExpression=p.UnionTypeAnnotation=p.UnaryExpression=p.TypeofTypeAnnotation=p.TypeParameterInstantiation=p.TypeParameterDeclaration=p.TypeParameter=p.TypeCastExpression=p.TypeAnnotation=p.TypeAlias=p.TupleTypeAnnotation=p.TupleExpression=p.TryStatement=p.TopicReference=p.ThrowStatement=p.ThisTypeAnnotation=p.ThisExpression=p.TemplateLiteral=p.TemplateElement=p.TaggedTemplateExpression=p.TSVoidKeyword=p.TSUnknownKeyword=p.TSUnionType=p.TSUndefinedKeyword=p.TSTypeReference=p.TSTypeQuery=p.TSTypePredicate=p.TSTypeParameterInstantiation=p.TSTypeParameterDeclaration=p.TSTypeParameter=p.TSTypeOperator=p.TSTypeLiteral=p.TSTypeAssertion=p.TSTypeAnnotation=p.TSTypeAliasDeclaration=p.TSTupleType=p.TSThisType=p.TSTemplateLiteralType=p.TSSymbolKeyword=p.TSStringKeyword=p.TSSatisfiesExpression=p.TSRestType=p.TSQualifiedName=p.TSPropertySignature=p.TSParenthesizedType=p.TSParameterProperty=p.TSOptionalType=p.TSObjectKeyword=void 0;var En=Gc(),mZ=ds();function v(t){return En[t]}var yZ=p.ArrayExpression=v("arrayExpression"),TZ=p.AssignmentExpression=v("assignmentExpression"),gZ=p.BinaryExpression=v("binaryExpression"),xZ=p.InterpreterDirective=v("interpreterDirective"),bZ=p.Directive=v("directive"),SZ=p.DirectiveLiteral=v("directiveLiteral"),EZ=p.BlockStatement=v("blockStatement"),PZ=p.BreakStatement=v("breakStatement"),vZ=p.CallExpression=v("callExpression"),AZ=p.CatchClause=v("catchClause"),wZ=p.ConditionalExpression=v("conditionalExpression"),CZ=p.ContinueStatement=v("continueStatement"),IZ=p.DebuggerStatement=v("debuggerStatement"),kZ=p.DoWhileStatement=v("doWhileStatement"),_Z=p.EmptyStatement=v("emptyStatement"),OZ=p.ExpressionStatement=v("expressionStatement"),NZ=p.File=v("file"),DZ=p.ForInStatement=v("forInStatement"),LZ=p.ForStatement=v("forStatement"),MZ=p.FunctionDeclaration=v("functionDeclaration"),FZ=p.FunctionExpression=v("functionExpression"),BZ=p.Identifier=v("identifier"),jZ=p.IfStatement=v("ifStatement"),RZ=p.LabeledStatement=v("labeledStatement"),qZ=p.StringLiteral=v("stringLiteral"),$Z=p.NumericLiteral=v("numericLiteral"),UZ=p.NullLiteral=v("nullLiteral"),KZ=p.BooleanLiteral=v("booleanLiteral"),VZ=p.RegExpLiteral=v("regExpLiteral"),WZ=p.LogicalExpression=v("logicalExpression"),YZ=p.MemberExpression=v("memberExpression"),zZ=p.NewExpression=v("newExpression"),JZ=p.Program=v("program"),XZ=p.ObjectExpression=v("objectExpression"),HZ=p.ObjectMethod=v("objectMethod"),GZ=p.ObjectProperty=v("objectProperty"),QZ=p.RestElement=v("restElement"),ZZ=p.ReturnStatement=v("returnStatement"),eee=p.SequenceExpression=v("sequenceExpression"),tee=p.ParenthesizedExpression=v("parenthesizedExpression"),iee=p.SwitchCase=v("switchCase"),ree=p.SwitchStatement=v("switchStatement"),see=p.ThisExpression=v("thisExpression"),nee=p.ThrowStatement=v("throwStatement"),aee=p.TryStatement=v("tryStatement"),oee=p.UnaryExpression=v("unaryExpression"),lee=p.UpdateExpression=v("updateExpression"),cee=p.VariableDeclaration=v("variableDeclaration"),uee=p.VariableDeclarator=v("variableDeclarator"),pee=p.WhileStatement=v("whileStatement"),fee=p.WithStatement=v("withStatement"),hee=p.AssignmentPattern=v("assignmentPattern"),dee=p.ArrayPattern=v("arrayPattern"),mee=p.ArrowFunctionExpression=v("arrowFunctionExpression"),yee=p.ClassBody=v("classBody"),Tee=p.ClassExpression=v("classExpression"),gee=p.ClassDeclaration=v("classDeclaration"),xee=p.ExportAllDeclaration=v("exportAllDeclaration"),bee=p.ExportDefaultDeclaration=v("exportDefaultDeclaration"),See=p.ExportNamedDeclaration=v("exportNamedDeclaration"),Eee=p.ExportSpecifier=v("exportSpecifier"),Pee=p.ForOfStatement=v("forOfStatement"),vee=p.ImportDeclaration=v("importDeclaration"),Aee=p.ImportDefaultSpecifier=v("importDefaultSpecifier"),wee=p.ImportNamespaceSpecifier=v("importNamespaceSpecifier"),Cee=p.ImportSpecifier=v("importSpecifier"),Iee=p.ImportExpression=v("importExpression"),kee=p.MetaProperty=v("metaProperty"),_ee=p.ClassMethod=v("classMethod"),Oee=p.ObjectPattern=v("objectPattern"),Nee=p.SpreadElement=v("spreadElement"),Dee=p.Super=v("super"),Lee=p.TaggedTemplateExpression=v("taggedTemplateExpression"),Mee=p.TemplateElement=v("templateElement"),Fee=p.TemplateLiteral=v("templateLiteral"),Bee=p.YieldExpression=v("yieldExpression"),jee=p.AwaitExpression=v("awaitExpression"),Ree=p.Import=v("import"),qee=p.BigIntLiteral=v("bigIntLiteral"),$ee=p.ExportNamespaceSpecifier=v("exportNamespaceSpecifier"),Uee=p.OptionalMemberExpression=v("optionalMemberExpression"),Kee=p.OptionalCallExpression=v("optionalCallExpression"),Vee=p.ClassProperty=v("classProperty"),Wee=p.ClassAccessorProperty=v("classAccessorProperty"),Yee=p.ClassPrivateProperty=v("classPrivateProperty"),zee=p.ClassPrivateMethod=v("classPrivateMethod"),Jee=p.PrivateName=v("privateName"),Xee=p.StaticBlock=v("staticBlock"),Hee=p.ImportAttribute=v("importAttribute"),Gee=p.AnyTypeAnnotation=v("anyTypeAnnotation"),Qee=p.ArrayTypeAnnotation=v("arrayTypeAnnotation"),Zee=p.BooleanTypeAnnotation=v("booleanTypeAnnotation"),ete=p.BooleanLiteralTypeAnnotation=v("booleanLiteralTypeAnnotation"),tte=p.NullLiteralTypeAnnotation=v("nullLiteralTypeAnnotation"),ite=p.ClassImplements=v("classImplements"),rte=p.DeclareClass=v("declareClass"),ste=p.DeclareFunction=v("declareFunction"),nte=p.DeclareInterface=v("declareInterface"),ate=p.DeclareModule=v("declareModule"),ote=p.DeclareModuleExports=v("declareModuleExports"),lte=p.DeclareTypeAlias=v("declareTypeAlias"),cte=p.DeclareOpaqueType=v("declareOpaqueType"),ute=p.DeclareVariable=v("declareVariable"),pte=p.DeclareExportDeclaration=v("declareExportDeclaration"),fte=p.DeclareExportAllDeclaration=v("declareExportAllDeclaration"),hte=p.DeclaredPredicate=v("declaredPredicate"),dte=p.ExistsTypeAnnotation=v("existsTypeAnnotation"),mte=p.FunctionTypeAnnotation=v("functionTypeAnnotation"),yte=p.FunctionTypeParam=v("functionTypeParam"),Tte=p.GenericTypeAnnotation=v("genericTypeAnnotation"),gte=p.InferredPredicate=v("inferredPredicate"),xte=p.InterfaceExtends=v("interfaceExtends"),bte=p.InterfaceDeclaration=v("interfaceDeclaration"),Ste=p.InterfaceTypeAnnotation=v("interfaceTypeAnnotation"),Ete=p.IntersectionTypeAnnotation=v("intersectionTypeAnnotation"),Pte=p.MixedTypeAnnotation=v("mixedTypeAnnotation"),vte=p.EmptyTypeAnnotation=v("emptyTypeAnnotation"),Ate=p.NullableTypeAnnotation=v("nullableTypeAnnotation"),wte=p.NumberLiteralTypeAnnotation=v("numberLiteralTypeAnnotation"),Cte=p.NumberTypeAnnotation=v("numberTypeAnnotation"),Ite=p.ObjectTypeAnnotation=v("objectTypeAnnotation"),kte=p.ObjectTypeInternalSlot=v("objectTypeInternalSlot"),_te=p.ObjectTypeCallProperty=v("objectTypeCallProperty"),Ote=p.ObjectTypeIndexer=v("objectTypeIndexer"),Nte=p.ObjectTypeProperty=v("objectTypeProperty"),Dte=p.ObjectTypeSpreadProperty=v("objectTypeSpreadProperty"),Lte=p.OpaqueType=v("opaqueType"),Mte=p.QualifiedTypeIdentifier=v("qualifiedTypeIdentifier"),Fte=p.StringLiteralTypeAnnotation=v("stringLiteralTypeAnnotation"),Bte=p.StringTypeAnnotation=v("stringTypeAnnotation"),jte=p.SymbolTypeAnnotation=v("symbolTypeAnnotation"),Rte=p.ThisTypeAnnotation=v("thisTypeAnnotation"),qte=p.TupleTypeAnnotation=v("tupleTypeAnnotation"),$te=p.TypeofTypeAnnotation=v("typeofTypeAnnotation"),Ute=p.TypeAlias=v("typeAlias"),Kte=p.TypeAnnotation=v("typeAnnotation"),Vte=p.TypeCastExpression=v("typeCastExpression"),Wte=p.TypeParameter=v("typeParameter"),Yte=p.TypeParameterDeclaration=v("typeParameterDeclaration"),zte=p.TypeParameterInstantiation=v("typeParameterInstantiation"),Jte=p.UnionTypeAnnotation=v("unionTypeAnnotation"),Xte=p.Variance=v("variance"),Hte=p.VoidTypeAnnotation=v("voidTypeAnnotation"),Gte=p.EnumDeclaration=v("enumDeclaration"),Qte=p.EnumBooleanBody=v("enumBooleanBody"),Zte=p.EnumNumberBody=v("enumNumberBody"),eie=p.EnumStringBody=v("enumStringBody"),tie=p.EnumSymbolBody=v("enumSymbolBody"),iie=p.EnumBooleanMember=v("enumBooleanMember"),rie=p.EnumNumberMember=v("enumNumberMember"),sie=p.EnumStringMember=v("enumStringMember"),nie=p.EnumDefaultedMember=v("enumDefaultedMember"),aie=p.IndexedAccessType=v("indexedAccessType"),oie=p.OptionalIndexedAccessType=v("optionalIndexedAccessType"),lie=p.JSXAttribute=v("jsxAttribute"),cie=p.JSXClosingElement=v("jsxClosingElement"),uie=p.JSXElement=v("jsxElement"),pie=p.JSXEmptyExpression=v("jsxEmptyExpression"),fie=p.JSXExpressionContainer=v("jsxExpressionContainer"),hie=p.JSXSpreadChild=v("jsxSpreadChild"),die=p.JSXIdentifier=v("jsxIdentifier"),mie=p.JSXMemberExpression=v("jsxMemberExpression"),yie=p.JSXNamespacedName=v("jsxNamespacedName"),Tie=p.JSXOpeningElement=v("jsxOpeningElement"),gie=p.JSXSpreadAttribute=v("jsxSpreadAttribute"),xie=p.JSXText=v("jsxText"),bie=p.JSXFragment=v("jsxFragment"),Sie=p.JSXOpeningFragment=v("jsxOpeningFragment"),Eie=p.JSXClosingFragment=v("jsxClosingFragment"),Pie=p.Noop=v("noop"),vie=p.Placeholder=v("placeholder"),Aie=p.V8IntrinsicIdentifier=v("v8IntrinsicIdentifier"),wie=p.ArgumentPlaceholder=v("argumentPlaceholder"),Cie=p.BindExpression=v("bindExpression"),Iie=p.Decorator=v("decorator"),kie=p.DoExpression=v("doExpression"),_ie=p.ExportDefaultSpecifier=v("exportDefaultSpecifier"),Oie=p.RecordExpression=v("recordExpression"),Nie=p.TupleExpression=v("tupleExpression"),Die=p.DecimalLiteral=v("decimalLiteral"),Lie=p.ModuleExpression=v("moduleExpression"),Mie=p.TopicReference=v("topicReference"),Fie=p.PipelineTopicExpression=v("pipelineTopicExpression"),Bie=p.PipelineBareFunction=v("pipelineBareFunction"),jie=p.PipelinePrimaryTopicReference=v("pipelinePrimaryTopicReference"),Rie=p.VoidPattern=v("voidPattern"),qie=p.TSParameterProperty=v("tsParameterProperty"),$ie=p.TSDeclareFunction=v("tsDeclareFunction"),Uie=p.TSDeclareMethod=v("tsDeclareMethod"),Kie=p.TSQualifiedName=v("tsQualifiedName"),Vie=p.TSCallSignatureDeclaration=v("tsCallSignatureDeclaration"),Wie=p.TSConstructSignatureDeclaration=v("tsConstructSignatureDeclaration"),Yie=p.TSPropertySignature=v("tsPropertySignature"),zie=p.TSMethodSignature=v("tsMethodSignature"),Jie=p.TSIndexSignature=v("tsIndexSignature"),Xie=p.TSAnyKeyword=v("tsAnyKeyword"),Hie=p.TSBooleanKeyword=v("tsBooleanKeyword"),Gie=p.TSBigIntKeyword=v("tsBigIntKeyword"),Qie=p.TSIntrinsicKeyword=v("tsIntrinsicKeyword"),Zie=p.TSNeverKeyword=v("tsNeverKeyword"),ere=p.TSNullKeyword=v("tsNullKeyword"),tre=p.TSNumberKeyword=v("tsNumberKeyword"),ire=p.TSObjectKeyword=v("tsObjectKeyword"),rre=p.TSStringKeyword=v("tsStringKeyword"),sre=p.TSSymbolKeyword=v("tsSymbolKeyword"),nre=p.TSUndefinedKeyword=v("tsUndefinedKeyword"),are=p.TSUnknownKeyword=v("tsUnknownKeyword"),ore=p.TSVoidKeyword=v("tsVoidKeyword"),lre=p.TSThisType=v("tsThisType"),cre=p.TSFunctionType=v("tsFunctionType"),ure=p.TSConstructorType=v("tsConstructorType"),pre=p.TSTypeReference=v("tsTypeReference"),fre=p.TSTypePredicate=v("tsTypePredicate"),hre=p.TSTypeQuery=v("tsTypeQuery"),dre=p.TSTypeLiteral=v("tsTypeLiteral"),mre=p.TSArrayType=v("tsArrayType"),yre=p.TSTupleType=v("tsTupleType"),Tre=p.TSOptionalType=v("tsOptionalType"),gre=p.TSRestType=v("tsRestType"),xre=p.TSNamedTupleMember=v("tsNamedTupleMember"),bre=p.TSUnionType=v("tsUnionType"),Sre=p.TSIntersectionType=v("tsIntersectionType"),Ere=p.TSConditionalType=v("tsConditionalType"),Pre=p.TSInferType=v("tsInferType"),vre=p.TSParenthesizedType=v("tsParenthesizedType"),Are=p.TSTypeOperator=v("tsTypeOperator"),wre=p.TSIndexedAccessType=v("tsIndexedAccessType"),Cre=p.TSMappedType=v("tsMappedType"),Ire=p.TSTemplateLiteralType=v("tsTemplateLiteralType"),kre=p.TSLiteralType=v("tsLiteralType"),_re=p.TSExpressionWithTypeArguments=v("tsExpressionWithTypeArguments"),Ore=p.TSInterfaceDeclaration=v("tsInterfaceDeclaration"),Nre=p.TSInterfaceBody=v("tsInterfaceBody"),Dre=p.TSTypeAliasDeclaration=v("tsTypeAliasDeclaration"),Lre=p.TSInstantiationExpression=v("tsInstantiationExpression"),Mre=p.TSAsExpression=v("tsAsExpression"),Fre=p.TSSatisfiesExpression=v("tsSatisfiesExpression"),Bre=p.TSTypeAssertion=v("tsTypeAssertion"),jre=p.TSEnumBody=v("tsEnumBody"),Rre=p.TSEnumDeclaration=v("tsEnumDeclaration"),qre=p.TSEnumMember=v("tsEnumMember"),$re=p.TSModuleDeclaration=v("tsModuleDeclaration"),Ure=p.TSModuleBlock=v("tsModuleBlock"),Kre=p.TSImportType=v("tsImportType"),Vre=p.TSImportEqualsDeclaration=v("tsImportEqualsDeclaration"),Wre=p.TSExternalModuleReference=v("tsExternalModuleReference"),Yre=p.TSNonNullExpression=v("tsNonNullExpression"),zre=p.TSExportAssignment=v("tsExportAssignment"),Jre=p.TSNamespaceExportDeclaration=v("tsNamespaceExportDeclaration"),Xre=p.TSTypeAnnotation=v("tsTypeAnnotation"),Hre=p.TSTypeParameterInstantiation=v("tsTypeParameterInstantiation"),Gre=p.TSTypeParameterDeclaration=v("tsTypeParameterDeclaration"),Qre=p.TSTypeParameter=v("tsTypeParameter"),Zre=p.NumberLiteral=En.numberLiteral,ese=p.RegexLiteral=En.regexLiteral,tse=p.RestProperty=En.restProperty,ise=p.SpreadProperty=En.spreadProperty});var Yt=_(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});var Qc=Gc();Object.keys(Qc).forEach(function(t){t==="default"||t==="__esModule"||t in or&&or[t]===Qc[t]||Object.defineProperty(or,t,{enumerable:!0,get:function(){return Qc[t]}})});var Zc=ly();Object.keys(Zc).forEach(function(t){t==="default"||t==="__esModule"||t in or&&or[t]===Zc[t]||Object.defineProperty(or,t,{enumerable:!0,get:function(){return Zc[t]}})})});var cy=_(eu=>{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});eu.default=ZD;var GD=Yt(),QD=be();function ZD(t,e){let i=t.value.split(/\r\n|\n|\r/),r=0;for(let n=0;n<i.length;n++)/[^ \t]/.exec(i[n])&&(r=n);let s="";for(let n=0;n<i.length;n++){let a=i[n],l=n===0,c=n===i.length-1,o=n===r,u=a.replace(/\t/g," ");l||(u=u.replace(/^ +/,"")),c||(u=u.replace(/ +$/,"")),u&&(o||(u+=" "),s+=u)}s&&e.push((0,QD.inherits)((0,GD.stringLiteral)(s),t))}});var uy=_(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});iu.default=tL;var tu=ot(),eL=cy();function tL(t){let e=[];for(let i=0;i<t.children.length;i++){let r=t.children[i];if((0,tu.isJSXText)(r)){(0,eL.default)(r,e);continue}(0,tu.isJSXExpressionContainer)(r)&&(r=r.expression),!(0,tu.isJSXEmptyExpression)(r)&&e.push(r)}return e}});var su=_(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});ru.default=rL;var iL=si();function rL(t){return!!(t&&iL.VISITOR_KEYS[t.type])}});var py=_(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.default=nL;var sL=su();function nL(t){if(!(0,sL.default)(t)){var e;let i=(e=t?.type)!=null?e:JSON.stringify(t);throw new TypeError(`Not a valid node of type "${i}"`)}}});var fy=_(g=>{"use strict";Object.defineProperty(g,"__esModule",{value:!0});g.assertAccessor=A4;g.assertAnyTypeAnnotation=UM;g.assertArgumentPlaceholder=TF;g.assertArrayExpression=oL;g.assertArrayPattern=nM;g.assertArrayTypeAnnotation=KM;g.assertArrowFunctionExpression=aM;g.assertAssignmentExpression=lL;g.assertAssignmentPattern=sM;g.assertAwaitExpression=kM;g.assertBigIntLiteral=OM;g.assertBinary=YB;g.assertBinaryExpression=cL;g.assertBindExpression=gF;g.assertBlock=XB;g.assertBlockParent=JB;g.assertBlockStatement=hL;g.assertBooleanLiteral=LL;g.assertBooleanLiteralTypeAnnotation=WM;g.assertBooleanTypeAnnotation=VM;g.assertBreakStatement=dL;g.assertCallExpression=mL;g.assertCatchClause=yL;g.assertClass=S4;g.assertClassAccessorProperty=FM;g.assertClassBody=oM;g.assertClassDeclaration=cM;g.assertClassExpression=lM;g.assertClassImplements=zM;g.assertClassMethod=SM;g.assertClassPrivateMethod=jM;g.assertClassPrivateProperty=BM;g.assertClassProperty=MM;g.assertCompletionStatement=QB;g.assertConditional=ZB;g.assertConditionalExpression=TL;g.assertContinueStatement=gL;g.assertDebuggerStatement=xL;g.assertDecimalLiteral=vF;g.assertDeclaration=l4;g.assertDeclareClass=JM;g.assertDeclareExportAllDeclaration=r3;g.assertDeclareExportDeclaration=i3;g.assertDeclareFunction=XM;g.assertDeclareInterface=HM;g.assertDeclareModule=GM;g.assertDeclareModuleExports=QM;g.assertDeclareOpaqueType=e3;g.assertDeclareTypeAlias=ZM;g.assertDeclareVariable=t3;g.assertDeclaredPredicate=s3;g.assertDecorator=xF;g.assertDirective=pL;g.assertDirectiveLiteral=fL;g.assertDoExpression=bF;g.assertDoWhileStatement=bL;g.assertEmptyStatement=SL;g.assertEmptyTypeAnnotation=m3;g.assertEnumBody=N4;g.assertEnumBooleanBody=K3;g.assertEnumBooleanMember=z3;g.assertEnumDeclaration=U3;g.assertEnumDefaultedMember=H3;g.assertEnumMember=D4;g.assertEnumNumberBody=V3;g.assertEnumNumberMember=J3;g.assertEnumStringBody=W3;g.assertEnumStringMember=X3;g.assertEnumSymbolBody=Y3;g.assertExistsTypeAnnotation=n3;g.assertExportAllDeclaration=uM;g.assertExportDeclaration=P4;g.assertExportDefaultDeclaration=pM;g.assertExportDefaultSpecifier=SF;g.assertExportNamedDeclaration=fM;g.assertExportNamespaceSpecifier=NM;g.assertExportSpecifier=hM;g.assertExpression=WB;g.assertExpressionStatement=EL;g.assertExpressionWrapper=i4;g.assertFile=PL;g.assertFlow=C4;g.assertFlowBaseAnnotation=k4;g.assertFlowDeclaration=_4;g.assertFlowPredicate=O4;g.assertFlowType=I4;g.assertFor=r4;g.assertForInStatement=vL;g.assertForOfStatement=dM;g.assertForStatement=AL;g.assertForXStatement=s4;g.assertFunction=n4;g.assertFunctionDeclaration=wL;g.assertFunctionExpression=CL;g.assertFunctionParameter=c4;g.assertFunctionParent=a4;g.assertFunctionTypeAnnotation=a3;g.assertFunctionTypeParam=o3;g.assertGenericTypeAnnotation=l3;g.assertIdentifier=IL;g.assertIfStatement=kL;g.assertImmutable=d4;g.assertImport=_M;g.assertImportAttribute=$M;g.assertImportDeclaration=mM;g.assertImportDefaultSpecifier=yM;g.assertImportExpression=xM;g.assertImportNamespaceSpecifier=TM;g.assertImportOrExportDeclaration=E4;g.assertImportSpecifier=gM;g.assertIndexedAccessType=G3;g.assertInferredPredicate=c3;g.assertInterfaceDeclaration=p3;g.assertInterfaceExtends=u3;g.assertInterfaceTypeAnnotation=f3;g.assertInterpreterDirective=uL;g.assertIntersectionTypeAnnotation=h3;g.assertJSX=L4;g.assertJSXAttribute=Z3;g.assertJSXClosingElement=eF;g.assertJSXClosingFragment=hF;g.assertJSXElement=tF;g.assertJSXEmptyExpression=iF;g.assertJSXExpressionContainer=rF;g.assertJSXFragment=pF;g.assertJSXIdentifier=nF;g.assertJSXMemberExpression=aF;g.assertJSXNamespacedName=oF;g.assertJSXOpeningElement=lF;g.assertJSXOpeningFragment=fF;g.assertJSXSpreadAttribute=cF;g.assertJSXSpreadChild=sF;g.assertJSXText=uF;g.assertLVal=p4;g.assertLabeledStatement=_L;g.assertLiteral=h4;g.assertLogicalExpression=FL;g.assertLoop=e4;g.assertMemberExpression=BL;g.assertMetaProperty=bM;g.assertMethod=y4;g.assertMiscellaneous=M4;g.assertMixedTypeAnnotation=d3;g.assertModuleDeclaration=V4;g.assertModuleExpression=AF;g.assertModuleSpecifier=v4;g.assertNewExpression=jL;g.assertNoop=dF;g.assertNullLiteral=DL;g.assertNullLiteralTypeAnnotation=YM;g.assertNullableTypeAnnotation=y3;g.assertNumberLiteral=q4;g.assertNumberLiteralTypeAnnotation=T3;g.assertNumberTypeAnnotation=g3;g.assertNumericLiteral=NL;g.assertObjectExpression=qL;g.assertObjectMember=T4;g.assertObjectMethod=$L;g.assertObjectPattern=EM;g.assertObjectProperty=UL;g.assertObjectTypeAnnotation=x3;g.assertObjectTypeCallProperty=S3;g.assertObjectTypeIndexer=E3;g.assertObjectTypeInternalSlot=b3;g.assertObjectTypeProperty=P3;g.assertObjectTypeSpreadProperty=v3;g.assertOpaqueType=A3;g.assertOptionalCallExpression=LM;g.assertOptionalIndexedAccessType=Q3;g.assertOptionalMemberExpression=DM;g.assertParenthesizedExpression=YL;g.assertPattern=b4;g.assertPatternLike=u4;g.assertPipelineBareFunction=IF;g.assertPipelinePrimaryTopicReference=kF;g.assertPipelineTopicExpression=CF;g.assertPlaceholder=mF;g.assertPrivate=w4;g.assertPrivateName=RM;g.assertProgram=RL;g.assertProperty=g4;g.assertPureish=o4;g.assertQualifiedTypeIdentifier=w3;g.assertRecordExpression=EF;g.assertRegExpLiteral=ML;g.assertRegexLiteral=$4;g.assertRestElement=KL;g.assertRestProperty=U4;g.assertReturnStatement=VL;g.assertScopable=zB;g.assertSequenceExpression=WL;g.assertSpreadElement=PM;g.assertSpreadProperty=K4;g.assertStandardized=VB;g.assertStatement=HB;g.assertStaticBlock=qM;g.assertStringLiteral=OL;g.assertStringLiteralTypeAnnotation=C3;g.assertStringTypeAnnotation=I3;g.assertSuper=vM;g.assertSwitchCase=zL;g.assertSwitchStatement=JL;g.assertSymbolTypeAnnotation=k3;g.assertTSAnyKeyword=qF;g.assertTSArrayType=aB;g.assertTSAsExpression=wB;g.assertTSBaseType=R4;g.assertTSBigIntKeyword=UF;g.assertTSBooleanKeyword=$F;g.assertTSCallSignatureDeclaration=MF;g.assertTSConditionalType=hB;g.assertTSConstructSignatureDeclaration=FF;g.assertTSConstructorType=tB;g.assertTSDeclareFunction=NF;g.assertTSDeclareMethod=DF;g.assertTSEntityName=f4;g.assertTSEnumBody=kB;g.assertTSEnumDeclaration=_B;g.assertTSEnumMember=OB;g.assertTSExportAssignment=jB;g.assertTSExpressionWithTypeArguments=SB;g.assertTSExternalModuleReference=FB;g.assertTSFunctionType=eB;g.assertTSImportEqualsDeclaration=MB;g.assertTSImportType=LB;g.assertTSIndexSignature=RF;g.assertTSIndexedAccessType=TB;g.assertTSInferType=dB;g.assertTSInstantiationExpression=AB;g.assertTSInterfaceBody=PB;g.assertTSInterfaceDeclaration=EB;g.assertTSIntersectionType=fB;g.assertTSIntrinsicKeyword=KF;g.assertTSLiteralType=bB;g.assertTSMappedType=gB;g.assertTSMethodSignature=jF;g.assertTSModuleBlock=DB;g.assertTSModuleDeclaration=NB;g.assertTSNamedTupleMember=uB;g.assertTSNamespaceExportDeclaration=RB;g.assertTSNeverKeyword=VF;g.assertTSNonNullExpression=BB;g.assertTSNullKeyword=WF;g.assertTSNumberKeyword=YF;g.assertTSObjectKeyword=zF;g.assertTSOptionalType=lB;g.assertTSParameterProperty=OF;g.assertTSParenthesizedType=mB;g.assertTSPropertySignature=BF;g.assertTSQualifiedName=LF;g.assertTSRestType=cB;g.assertTSSatisfiesExpression=CB;g.assertTSStringKeyword=JF;g.assertTSSymbolKeyword=XF;g.assertTSTemplateLiteralType=xB;g.assertTSThisType=ZF;g.assertTSTupleType=oB;g.assertTSType=j4;g.assertTSTypeAliasDeclaration=vB;g.assertTSTypeAnnotation=qB;g.assertTSTypeAssertion=IB;g.assertTSTypeElement=B4;g.assertTSTypeLiteral=nB;g.assertTSTypeOperator=yB;g.assertTSTypeParameter=KB;g.assertTSTypeParameterDeclaration=UB;g.assertTSTypeParameterInstantiation=$B;g.assertTSTypePredicate=rB;g.assertTSTypeQuery=sB;g.assertTSTypeReference=iB;g.assertTSUndefinedKeyword=HF;g.assertTSUnionType=pB;g.assertTSUnknownKeyword=GF;g.assertTSVoidKeyword=QF;g.assertTaggedTemplateExpression=AM;g.assertTemplateElement=wM;g.assertTemplateLiteral=CM;g.assertTerminatorless=GB;g.assertThisExpression=XL;g.assertThisTypeAnnotation=_3;g.assertThrowStatement=HL;g.assertTopicReference=wF;g.assertTryStatement=GL;g.assertTupleExpression=PF;g.assertTupleTypeAnnotation=O3;g.assertTypeAlias=D3;g.assertTypeAnnotation=L3;g.assertTypeCastExpression=M3;g.assertTypeParameter=F3;g.assertTypeParameterDeclaration=B3;g.assertTypeParameterInstantiation=j3;g.assertTypeScript=F4;g.assertTypeofTypeAnnotation=N3;g.assertUnaryExpression=QL;g.assertUnaryLike=x4;g.assertUnionTypeAnnotation=R3;g.assertUpdateExpression=ZL;g.assertUserWhitespacable=m4;g.assertV8IntrinsicIdentifier=yF;g.assertVariableDeclaration=eM;g.assertVariableDeclarator=tM;g.assertVariance=q3;g.assertVoidPattern=_F;g.assertVoidTypeAnnotation=$3;g.assertWhile=t4;g.assertWhileStatement=iM;g.assertWithStatement=rM;g.assertYieldExpression=IM;var aL=ms(),Pn=ds();function x(t,e,i){if(!(0,aL.default)(t,e,i))throw new Error(`Expected type "${t}" with option ${JSON.stringify(i)}, but instead got "${e.type}".`)}function oL(t,e){x("ArrayExpression",t,e)}function lL(t,e){x("AssignmentExpression",t,e)}function cL(t,e){x("BinaryExpression",t,e)}function uL(t,e){x("InterpreterDirective",t,e)}function pL(t,e){x("Directive",t,e)}function fL(t,e){x("DirectiveLiteral",t,e)}function hL(t,e){x("BlockStatement",t,e)}function dL(t,e){x("BreakStatement",t,e)}function mL(t,e){x("CallExpression",t,e)}function yL(t,e){x("CatchClause",t,e)}function TL(t,e){x("ConditionalExpression",t,e)}function gL(t,e){x("ContinueStatement",t,e)}function xL(t,e){x("DebuggerStatement",t,e)}function bL(t,e){x("DoWhileStatement",t,e)}function SL(t,e){x("EmptyStatement",t,e)}function EL(t,e){x("ExpressionStatement",t,e)}function PL(t,e){x("File",t,e)}function vL(t,e){x("ForInStatement",t,e)}function AL(t,e){x("ForStatement",t,e)}function wL(t,e){x("FunctionDeclaration",t,e)}function CL(t,e){x("FunctionExpression",t,e)}function IL(t,e){x("Identifier",t,e)}function kL(t,e){x("IfStatement",t,e)}function _L(t,e){x("LabeledStatement",t,e)}function OL(t,e){x("StringLiteral",t,e)}function NL(t,e){x("NumericLiteral",t,e)}function DL(t,e){x("NullLiteral",t,e)}function LL(t,e){x("BooleanLiteral",t,e)}function ML(t,e){x("RegExpLiteral",t,e)}function FL(t,e){x("LogicalExpression",t,e)}function BL(t,e){x("MemberExpression",t,e)}function jL(t,e){x("NewExpression",t,e)}function RL(t,e){x("Program",t,e)}function qL(t,e){x("ObjectExpression",t,e)}function $L(t,e){x("ObjectMethod",t,e)}function UL(t,e){x("ObjectProperty",t,e)}function KL(t,e){x("RestElement",t,e)}function VL(t,e){x("ReturnStatement",t,e)}function WL(t,e){x("SequenceExpression",t,e)}function YL(t,e){x("ParenthesizedExpression",t,e)}function zL(t,e){x("SwitchCase",t,e)}function JL(t,e){x("SwitchStatement",t,e)}function XL(t,e){x("ThisExpression",t,e)}function HL(t,e){x("ThrowStatement",t,e)}function GL(t,e){x("TryStatement",t,e)}function QL(t,e){x("UnaryExpression",t,e)}function ZL(t,e){x("UpdateExpression",t,e)}function eM(t,e){x("VariableDeclaration",t,e)}function tM(t,e){x("VariableDeclarator",t,e)}function iM(t,e){x("WhileStatement",t,e)}function rM(t,e){x("WithStatement",t,e)}function sM(t,e){x("AssignmentPattern",t,e)}function nM(t,e){x("ArrayPattern",t,e)}function aM(t,e){x("ArrowFunctionExpression",t,e)}function oM(t,e){x("ClassBody",t,e)}function lM(t,e){x("ClassExpression",t,e)}function cM(t,e){x("ClassDeclaration",t,e)}function uM(t,e){x("ExportAllDeclaration",t,e)}function pM(t,e){x("ExportDefaultDeclaration",t,e)}function fM(t,e){x("ExportNamedDeclaration",t,e)}function hM(t,e){x("ExportSpecifier",t,e)}function dM(t,e){x("ForOfStatement",t,e)}function mM(t,e){x("ImportDeclaration",t,e)}function yM(t,e){x("ImportDefaultSpecifier",t,e)}function TM(t,e){x("ImportNamespaceSpecifier",t,e)}function gM(t,e){x("ImportSpecifier",t,e)}function xM(t,e){x("ImportExpression",t,e)}function bM(t,e){x("MetaProperty",t,e)}function SM(t,e){x("ClassMethod",t,e)}function EM(t,e){x("ObjectPattern",t,e)}function PM(t,e){x("SpreadElement",t,e)}function vM(t,e){x("Super",t,e)}function AM(t,e){x("TaggedTemplateExpression",t,e)}function wM(t,e){x("TemplateElement",t,e)}function CM(t,e){x("TemplateLiteral",t,e)}function IM(t,e){x("YieldExpression",t,e)}function kM(t,e){x("AwaitExpression",t,e)}function _M(t,e){x("Import",t,e)}function OM(t,e){x("BigIntLiteral",t,e)}function NM(t,e){x("ExportNamespaceSpecifier",t,e)}function DM(t,e){x("OptionalMemberExpression",t,e)}function LM(t,e){x("OptionalCallExpression",t,e)}function MM(t,e){x("ClassProperty",t,e)}function FM(t,e){x("ClassAccessorProperty",t,e)}function BM(t,e){x("ClassPrivateProperty",t,e)}function jM(t,e){x("ClassPrivateMethod",t,e)}function RM(t,e){x("PrivateName",t,e)}function qM(t,e){x("StaticBlock",t,e)}function $M(t,e){x("ImportAttribute",t,e)}function UM(t,e){x("AnyTypeAnnotation",t,e)}function KM(t,e){x("ArrayTypeAnnotation",t,e)}function VM(t,e){x("BooleanTypeAnnotation",t,e)}function WM(t,e){x("BooleanLiteralTypeAnnotation",t,e)}function YM(t,e){x("NullLiteralTypeAnnotation",t,e)}function zM(t,e){x("ClassImplements",t,e)}function JM(t,e){x("DeclareClass",t,e)}function XM(t,e){x("DeclareFunction",t,e)}function HM(t,e){x("DeclareInterface",t,e)}function GM(t,e){x("DeclareModule",t,e)}function QM(t,e){x("DeclareModuleExports",t,e)}function ZM(t,e){x("DeclareTypeAlias",t,e)}function e3(t,e){x("DeclareOpaqueType",t,e)}function t3(t,e){x("DeclareVariable",t,e)}function i3(t,e){x("DeclareExportDeclaration",t,e)}function r3(t,e){x("DeclareExportAllDeclaration",t,e)}function s3(t,e){x("DeclaredPredicate",t,e)}function n3(t,e){x("ExistsTypeAnnotation",t,e)}function a3(t,e){x("FunctionTypeAnnotation",t,e)}function o3(t,e){x("FunctionTypeParam",t,e)}function l3(t,e){x("GenericTypeAnnotation",t,e)}function c3(t,e){x("InferredPredicate",t,e)}function u3(t,e){x("InterfaceExtends",t,e)}function p3(t,e){x("InterfaceDeclaration",t,e)}function f3(t,e){x("InterfaceTypeAnnotation",t,e)}function h3(t,e){x("IntersectionTypeAnnotation",t,e)}function d3(t,e){x("MixedTypeAnnotation",t,e)}function m3(t,e){x("EmptyTypeAnnotation",t,e)}function y3(t,e){x("NullableTypeAnnotation",t,e)}function T3(t,e){x("NumberLiteralTypeAnnotation",t,e)}function g3(t,e){x("NumberTypeAnnotation",t,e)}function x3(t,e){x("ObjectTypeAnnotation",t,e)}function b3(t,e){x("ObjectTypeInternalSlot",t,e)}function S3(t,e){x("ObjectTypeCallProperty",t,e)}function E3(t,e){x("ObjectTypeIndexer",t,e)}function P3(t,e){x("ObjectTypeProperty",t,e)}function v3(t,e){x("ObjectTypeSpreadProperty",t,e)}function A3(t,e){x("OpaqueType",t,e)}function w3(t,e){x("QualifiedTypeIdentifier",t,e)}function C3(t,e){x("StringLiteralTypeAnnotation",t,e)}function I3(t,e){x("StringTypeAnnotation",t,e)}function k3(t,e){x("SymbolTypeAnnotation",t,e)}function _3(t,e){x("ThisTypeAnnotation",t,e)}function O3(t,e){x("TupleTypeAnnotation",t,e)}function N3(t,e){x("TypeofTypeAnnotation",t,e)}function D3(t,e){x("TypeAlias",t,e)}function L3(t,e){x("TypeAnnotation",t,e)}function M3(t,e){x("TypeCastExpression",t,e)}function F3(t,e){x("TypeParameter",t,e)}function B3(t,e){x("TypeParameterDeclaration",t,e)}function j3(t,e){x("TypeParameterInstantiation",t,e)}function R3(t,e){x("UnionTypeAnnotation",t,e)}function q3(t,e){x("Variance",t,e)}function $3(t,e){x("VoidTypeAnnotation",t,e)}function U3(t,e){x("EnumDeclaration",t,e)}function K3(t,e){x("EnumBooleanBody",t,e)}function V3(t,e){x("EnumNumberBody",t,e)}function W3(t,e){x("EnumStringBody",t,e)}function Y3(t,e){x("EnumSymbolBody",t,e)}function z3(t,e){x("EnumBooleanMember",t,e)}function J3(t,e){x("EnumNumberMember",t,e)}function X3(t,e){x("EnumStringMember",t,e)}function H3(t,e){x("EnumDefaultedMember",t,e)}function G3(t,e){x("IndexedAccessType",t,e)}function Q3(t,e){x("OptionalIndexedAccessType",t,e)}function Z3(t,e){x("JSXAttribute",t,e)}function eF(t,e){x("JSXClosingElement",t,e)}function tF(t,e){x("JSXElement",t,e)}function iF(t,e){x("JSXEmptyExpression",t,e)}function rF(t,e){x("JSXExpressionContainer",t,e)}function sF(t,e){x("JSXSpreadChild",t,e)}function nF(t,e){x("JSXIdentifier",t,e)}function aF(t,e){x("JSXMemberExpression",t,e)}function oF(t,e){x("JSXNamespacedName",t,e)}function lF(t,e){x("JSXOpeningElement",t,e)}function cF(t,e){x("JSXSpreadAttribute",t,e)}function uF(t,e){x("JSXText",t,e)}function pF(t,e){x("JSXFragment",t,e)}function fF(t,e){x("JSXOpeningFragment",t,e)}function hF(t,e){x("JSXClosingFragment",t,e)}function dF(t,e){x("Noop",t,e)}function mF(t,e){x("Placeholder",t,e)}function yF(t,e){x("V8IntrinsicIdentifier",t,e)}function TF(t,e){x("ArgumentPlaceholder",t,e)}function gF(t,e){x("BindExpression",t,e)}function xF(t,e){x("Decorator",t,e)}function bF(t,e){x("DoExpression",t,e)}function SF(t,e){x("ExportDefaultSpecifier",t,e)}function EF(t,e){x("RecordExpression",t,e)}function PF(t,e){x("TupleExpression",t,e)}function vF(t,e){x("DecimalLiteral",t,e)}function AF(t,e){x("ModuleExpression",t,e)}function wF(t,e){x("TopicReference",t,e)}function CF(t,e){x("PipelineTopicExpression",t,e)}function IF(t,e){x("PipelineBareFunction",t,e)}function kF(t,e){x("PipelinePrimaryTopicReference",t,e)}function _F(t,e){x("VoidPattern",t,e)}function OF(t,e){x("TSParameterProperty",t,e)}function NF(t,e){x("TSDeclareFunction",t,e)}function DF(t,e){x("TSDeclareMethod",t,e)}function LF(t,e){x("TSQualifiedName",t,e)}function MF(t,e){x("TSCallSignatureDeclaration",t,e)}function FF(t,e){x("TSConstructSignatureDeclaration",t,e)}function BF(t,e){x("TSPropertySignature",t,e)}function jF(t,e){x("TSMethodSignature",t,e)}function RF(t,e){x("TSIndexSignature",t,e)}function qF(t,e){x("TSAnyKeyword",t,e)}function $F(t,e){x("TSBooleanKeyword",t,e)}function UF(t,e){x("TSBigIntKeyword",t,e)}function KF(t,e){x("TSIntrinsicKeyword",t,e)}function VF(t,e){x("TSNeverKeyword",t,e)}function WF(t,e){x("TSNullKeyword",t,e)}function YF(t,e){x("TSNumberKeyword",t,e)}function zF(t,e){x("TSObjectKeyword",t,e)}function JF(t,e){x("TSStringKeyword",t,e)}function XF(t,e){x("TSSymbolKeyword",t,e)}function HF(t,e){x("TSUndefinedKeyword",t,e)}function GF(t,e){x("TSUnknownKeyword",t,e)}function QF(t,e){x("TSVoidKeyword",t,e)}function ZF(t,e){x("TSThisType",t,e)}function eB(t,e){x("TSFunctionType",t,e)}function tB(t,e){x("TSConstructorType",t,e)}function iB(t,e){x("TSTypeReference",t,e)}function rB(t,e){x("TSTypePredicate",t,e)}function sB(t,e){x("TSTypeQuery",t,e)}function nB(t,e){x("TSTypeLiteral",t,e)}function aB(t,e){x("TSArrayType",t,e)}function oB(t,e){x("TSTupleType",t,e)}function lB(t,e){x("TSOptionalType",t,e)}function cB(t,e){x("TSRestType",t,e)}function uB(t,e){x("TSNamedTupleMember",t,e)}function pB(t,e){x("TSUnionType",t,e)}function fB(t,e){x("TSIntersectionType",t,e)}function hB(t,e){x("TSConditionalType",t,e)}function dB(t,e){x("TSInferType",t,e)}function mB(t,e){x("TSParenthesizedType",t,e)}function yB(t,e){x("TSTypeOperator",t,e)}function TB(t,e){x("TSIndexedAccessType",t,e)}function gB(t,e){x("TSMappedType",t,e)}function xB(t,e){x("TSTemplateLiteralType",t,e)}function bB(t,e){x("TSLiteralType",t,e)}function SB(t,e){x("TSExpressionWithTypeArguments",t,e)}function EB(t,e){x("TSInterfaceDeclaration",t,e)}function PB(t,e){x("TSInterfaceBody",t,e)}function vB(t,e){x("TSTypeAliasDeclaration",t,e)}function AB(t,e){x("TSInstantiationExpression",t,e)}function wB(t,e){x("TSAsExpression",t,e)}function CB(t,e){x("TSSatisfiesExpression",t,e)}function IB(t,e){x("TSTypeAssertion",t,e)}function kB(t,e){x("TSEnumBody",t,e)}function _B(t,e){x("TSEnumDeclaration",t,e)}function OB(t,e){x("TSEnumMember",t,e)}function NB(t,e){x("TSModuleDeclaration",t,e)}function DB(t,e){x("TSModuleBlock",t,e)}function LB(t,e){x("TSImportType",t,e)}function MB(t,e){x("TSImportEqualsDeclaration",t,e)}function FB(t,e){x("TSExternalModuleReference",t,e)}function BB(t,e){x("TSNonNullExpression",t,e)}function jB(t,e){x("TSExportAssignment",t,e)}function RB(t,e){x("TSNamespaceExportDeclaration",t,e)}function qB(t,e){x("TSTypeAnnotation",t,e)}function $B(t,e){x("TSTypeParameterInstantiation",t,e)}function UB(t,e){x("TSTypeParameterDeclaration",t,e)}function KB(t,e){x("TSTypeParameter",t,e)}function VB(t,e){x("Standardized",t,e)}function WB(t,e){x("Expression",t,e)}function YB(t,e){x("Binary",t,e)}function zB(t,e){x("Scopable",t,e)}function JB(t,e){x("BlockParent",t,e)}function XB(t,e){x("Block",t,e)}function HB(t,e){x("Statement",t,e)}function GB(t,e){x("Terminatorless",t,e)}function QB(t,e){x("CompletionStatement",t,e)}function ZB(t,e){x("Conditional",t,e)}function e4(t,e){x("Loop",t,e)}function t4(t,e){x("While",t,e)}function i4(t,e){x("ExpressionWrapper",t,e)}function r4(t,e){x("For",t,e)}function s4(t,e){x("ForXStatement",t,e)}function n4(t,e){x("Function",t,e)}function a4(t,e){x("FunctionParent",t,e)}function o4(t,e){x("Pureish",t,e)}function l4(t,e){x("Declaration",t,e)}function c4(t,e){x("FunctionParameter",t,e)}function u4(t,e){x("PatternLike",t,e)}function p4(t,e){x("LVal",t,e)}function f4(t,e){x("TSEntityName",t,e)}function h4(t,e){x("Literal",t,e)}function d4(t,e){x("Immutable",t,e)}function m4(t,e){x("UserWhitespacable",t,e)}function y4(t,e){x("Method",t,e)}function T4(t,e){x("ObjectMember",t,e)}function g4(t,e){x("Property",t,e)}function x4(t,e){x("UnaryLike",t,e)}function b4(t,e){x("Pattern",t,e)}function S4(t,e){x("Class",t,e)}function E4(t,e){x("ImportOrExportDeclaration",t,e)}function P4(t,e){x("ExportDeclaration",t,e)}function v4(t,e){x("ModuleSpecifier",t,e)}function A4(t,e){x("Accessor",t,e)}function w4(t,e){x("Private",t,e)}function C4(t,e){x("Flow",t,e)}function I4(t,e){x("FlowType",t,e)}function k4(t,e){x("FlowBaseAnnotation",t,e)}function _4(t,e){x("FlowDeclaration",t,e)}function O4(t,e){x("FlowPredicate",t,e)}function N4(t,e){x("EnumBody",t,e)}function D4(t,e){x("EnumMember",t,e)}function L4(t,e){x("JSX",t,e)}function M4(t,e){x("Miscellaneous",t,e)}function F4(t,e){x("TypeScript",t,e)}function B4(t,e){x("TSTypeElement",t,e)}function j4(t,e){x("TSType",t,e)}function R4(t,e){x("TSBaseType",t,e)}function q4(t,e){(0,Pn.default)("assertNumberLiteral","assertNumericLiteral"),x("NumberLiteral",t,e)}function $4(t,e){(0,Pn.default)("assertRegexLiteral","assertRegExpLiteral"),x("RegexLiteral",t,e)}function U4(t,e){(0,Pn.default)("assertRestProperty","assertRestElement"),x("RestProperty",t,e)}function K4(t,e){(0,Pn.default)("assertSpreadProperty","assertSpreadElement"),x("SpreadProperty",t,e)}function V4(t,e){(0,Pn.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),x("ModuleDeclaration",t,e)}});var hy=_(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.default=void 0;var di=Yt(),use=to.default=W4;function W4(t){switch(t){case"string":return(0,di.stringTypeAnnotation)();case"number":return(0,di.numberTypeAnnotation)();case"undefined":return(0,di.voidTypeAnnotation)();case"boolean":return(0,di.booleanTypeAnnotation)();case"function":return(0,di.genericTypeAnnotation)((0,di.identifier)("Function"));case"object":return(0,di.genericTypeAnnotation)((0,di.identifier)("Object"));case"symbol":return(0,di.genericTypeAnnotation)((0,di.identifier)("Symbol"));case"bigint":return(0,di.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+t)}});var ou=_(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.default=my;var vn=ot();function dy(t){return(0,vn.isIdentifier)(t)?t.name:`${t.id.name}.${dy(t.qualification)}`}function my(t){let e=Array.from(t),i=new Map,r=new Map,s=new Set,n=[];for(let a=0;a<e.length;a++){let l=e[a];if(l&&!n.includes(l)){if((0,vn.isAnyTypeAnnotation)(l))return[l];if((0,vn.isFlowBaseAnnotation)(l)){r.set(l.type,l);continue}if((0,vn.isUnionTypeAnnotation)(l)){s.has(l.types)||(e.push(...l.types),s.add(l.types));continue}if((0,vn.isGenericTypeAnnotation)(l)){let c=dy(l.id);if(i.has(c)){let o=i.get(c);o.typeParameters?l.typeParameters&&(o.typeParameters.params.push(...l.typeParameters.params),o.typeParameters.params=my(o.typeParameters.params)):o=l.typeParameters}else i.set(c,l);continue}n.push(l)}}for(let[,a]of r)n.push(a);for(let[,a]of i)n.push(a);return n}});var yy=_(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});lu.default=J4;var Y4=Yt(),z4=ou();function J4(t){let e=(0,z4.default)(t);return e.length===1?e[0]:(0,Y4.unionTypeAnnotation)(e)}});var xy=_(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.default=gy;var Es=ot();function Ty(t){return(0,Es.isIdentifier)(t)?t.name:(0,Es.isThisExpression)(t)?"this":`${t.right.name}.${Ty(t.left)}`}function gy(t){let e=Array.from(t),i=new Map,r=new Map,s=new Set,n=[];for(let a=0;a<e.length;a++){let l=e[a];if(!l||n.includes(l))continue;if((0,Es.isTSAnyKeyword)(l))return[l];if((0,Es.isTSBaseType)(l)){r.set(l.type,l);continue}if((0,Es.isTSUnionType)(l)){s.has(l.types)||(e.push(...l.types),s.add(l.types));continue}let c="typeParameters";if((0,Es.isTSTypeReference)(l)&&l[c]){let o=l[c],u=Ty(l.typeName);if(i.has(u)){let f=i.get(u),d=f[c];d?(d.params.push(...o.params),d.params=gy(d.params)):f=o}else i.set(u,l);continue}n.push(l)}for(let[,a]of r)n.push(a);for(let[,a]of i)n.push(a);return n}});var by=_(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});uu.default=Q4;var X4=Yt(),H4=xy(),G4=ot();function Q4(t){let e=t.map(r=>(0,G4.isTSTypeAnnotation)(r)?r.typeAnnotation:r),i=(0,H4.default)(e);return i.length===1?i[0]:(0,X4.tsUnionType)(i)}});var fu=_(pu=>{"use strict";Object.defineProperty(pu,"__esModule",{value:!0});pu.buildUndefinedNode=Z4;var Sy=Yt();function Z4(){return(0,Sy.unaryExpression)("void",(0,Sy.numericLiteral)(0),!0)}});var lr=_(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});du.default=ej;var Ey=si(),Py=ot(),{hasOwn:_i}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function vy(t,e,i,r){return t&&typeof t.type=="string"?Ay(t,e,i,r):t}function hu(t,e,i,r){return Array.isArray(t)?t.map(s=>vy(s,e,i,r)):vy(t,e,i,r)}function ej(t,e=!0,i=!1){return Ay(t,e,i,new Map)}function Ay(t,e=!0,i=!1,r){if(!t)return t;let{type:s}=t,n={type:t.type};if((0,Py.isIdentifier)(t))n.name=t.name,_i(t,"optional")&&typeof t.optional=="boolean"&&(n.optional=t.optional),_i(t,"typeAnnotation")&&(n.typeAnnotation=e?hu(t.typeAnnotation,!0,i,r):t.typeAnnotation),_i(t,"decorators")&&(n.decorators=e?hu(t.decorators,!0,i,r):t.decorators);else if(_i(Ey.NODE_FIELDS,s))for(let a of Object.keys(Ey.NODE_FIELDS[s]))_i(t,a)&&(e?n[a]=(0,Py.isFile)(t)&&a==="comments"?io(t.comments,e,i,r):hu(t[a],!0,i,r):n[a]=t[a]);else throw new Error(`Unknown node type: "${s}"`);return _i(t,"loc")&&(i?n.loc=null:n.loc=t.loc),_i(t,"leadingComments")&&(n.leadingComments=io(t.leadingComments,e,i,r)),_i(t,"innerComments")&&(n.innerComments=io(t.innerComments,e,i,r)),_i(t,"trailingComments")&&(n.trailingComments=io(t.trailingComments,e,i,r)),_i(t,"extra")&&(n.extra=Object.assign({},t.extra)),n}function io(t,e,i,r){return!t||!e?t:t.map(s=>{let n=r.get(s);if(n)return n;let{type:a,value:l,loc:c}=s,o={type:a,value:l,loc:c};return i&&(o.loc=null),r.set(s,o),o})}});var wy=_(mu=>{"use strict";Object.defineProperty(mu,"__esModule",{value:!0});mu.default=ij;var tj=lr();function ij(t){return(0,tj.default)(t,!1)}});var Cy=_(yu=>{"use strict";Object.defineProperty(yu,"__esModule",{value:!0});yu.default=sj;var rj=lr();function sj(t){return(0,rj.default)(t)}});var Iy=_(Tu=>{"use strict";Object.defineProperty(Tu,"__esModule",{value:!0});Tu.default=aj;var nj=lr();function aj(t){return(0,nj.default)(t,!0,!0)}});var ky=_(gu=>{"use strict";Object.defineProperty(gu,"__esModule",{value:!0});gu.default=lj;var oj=lr();function lj(t){return(0,oj.default)(t,!1,!0)}});var bu=_(xu=>{"use strict";Object.defineProperty(xu,"__esModule",{value:!0});xu.default=cj;function cj(t,e,i){if(!i||!t)return t;let r=`${e}Comments`;return t[r]?e==="leading"?t[r]=i.concat(t[r]):t[r].push(...i):t[r]=i,t}});var _y=_(Su=>{"use strict";Object.defineProperty(Su,"__esModule",{value:!0});Su.default=pj;var uj=bu();function pj(t,e,i,r){return(0,uj.default)(t,e,[{type:r?"CommentLine":"CommentBlock",value:i}])}});var ro=_(Eu=>{"use strict";Object.defineProperty(Eu,"__esModule",{value:!0});Eu.default=fj;function fj(t,e,i){e&&i&&(e[t]=Array.from(new Set([].concat(e[t],i[t]).filter(Boolean))))}});var vu=_(Pu=>{"use strict";Object.defineProperty(Pu,"__esModule",{value:!0});Pu.default=dj;var hj=ro();function dj(t,e){(0,hj.default)("innerComments",t,e)}});var wu=_(Au=>{"use strict";Object.defineProperty(Au,"__esModule",{value:!0});Au.default=yj;var mj=ro();function yj(t,e){(0,mj.default)("leadingComments",t,e)}});var Iu=_(Cu=>{"use strict";Object.defineProperty(Cu,"__esModule",{value:!0});Cu.default=gj;var Tj=ro();function gj(t,e){(0,Tj.default)("trailingComments",t,e)}});var _u=_(ku=>{"use strict";Object.defineProperty(ku,"__esModule",{value:!0});ku.default=Ej;var xj=Iu(),bj=wu(),Sj=vu();function Ej(t,e){return(0,xj.default)(t,e),(0,bj.default)(t,e),(0,Sj.default)(t,e),t}});var Oy=_(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});Ou.default=vj;var Pj=Ts();function vj(t){return Pj.COMMENT_KEYS.forEach(e=>{t[e]=null}),t}});var Ny=_($=>{"use strict";Object.defineProperty($,"__esModule",{value:!0});$.WHILE_TYPES=$.USERWHITESPACABLE_TYPES=$.UNARYLIKE_TYPES=$.TYPESCRIPT_TYPES=$.TSTYPE_TYPES=$.TSTYPEELEMENT_TYPES=$.TSENTITYNAME_TYPES=$.TSBASETYPE_TYPES=$.TERMINATORLESS_TYPES=$.STATEMENT_TYPES=$.STANDARDIZED_TYPES=$.SCOPABLE_TYPES=$.PUREISH_TYPES=$.PROPERTY_TYPES=$.PRIVATE_TYPES=$.PATTERN_TYPES=$.PATTERNLIKE_TYPES=$.OBJECTMEMBER_TYPES=$.MODULESPECIFIER_TYPES=$.MODULEDECLARATION_TYPES=$.MISCELLANEOUS_TYPES=$.METHOD_TYPES=$.LVAL_TYPES=$.LOOP_TYPES=$.LITERAL_TYPES=$.JSX_TYPES=$.IMPORTOREXPORTDECLARATION_TYPES=$.IMMUTABLE_TYPES=$.FUNCTION_TYPES=$.FUNCTIONPARENT_TYPES=$.FUNCTIONPARAMETER_TYPES=$.FOR_TYPES=$.FORXSTATEMENT_TYPES=$.FLOW_TYPES=$.FLOWTYPE_TYPES=$.FLOWPREDICATE_TYPES=$.FLOWDECLARATION_TYPES=$.FLOWBASEANNOTATION_TYPES=$.EXPRESSION_TYPES=$.EXPRESSIONWRAPPER_TYPES=$.EXPORTDECLARATION_TYPES=$.ENUMMEMBER_TYPES=$.ENUMBODY_TYPES=$.DECLARATION_TYPES=$.CONDITIONAL_TYPES=$.COMPLETIONSTATEMENT_TYPES=$.CLASS_TYPES=$.BLOCK_TYPES=$.BLOCKPARENT_TYPES=$.BINARY_TYPES=$.ACCESSOR_TYPES=void 0;var he=si(),_se=$.STANDARDIZED_TYPES=he.FLIPPED_ALIAS_KEYS.Standardized,Ose=$.EXPRESSION_TYPES=he.FLIPPED_ALIAS_KEYS.Expression,Nse=$.BINARY_TYPES=he.FLIPPED_ALIAS_KEYS.Binary,Dse=$.SCOPABLE_TYPES=he.FLIPPED_ALIAS_KEYS.Scopable,Lse=$.BLOCKPARENT_TYPES=he.FLIPPED_ALIAS_KEYS.BlockParent,Mse=$.BLOCK_TYPES=he.FLIPPED_ALIAS_KEYS.Block,Fse=$.STATEMENT_TYPES=he.FLIPPED_ALIAS_KEYS.Statement,Bse=$.TERMINATORLESS_TYPES=he.FLIPPED_ALIAS_KEYS.Terminatorless,jse=$.COMPLETIONSTATEMENT_TYPES=he.FLIPPED_ALIAS_KEYS.CompletionStatement,Rse=$.CONDITIONAL_TYPES=he.FLIPPED_ALIAS_KEYS.Conditional,qse=$.LOOP_TYPES=he.FLIPPED_ALIAS_KEYS.Loop,$se=$.WHILE_TYPES=he.FLIPPED_ALIAS_KEYS.While,Use=$.EXPRESSIONWRAPPER_TYPES=he.FLIPPED_ALIAS_KEYS.ExpressionWrapper,Kse=$.FOR_TYPES=he.FLIPPED_ALIAS_KEYS.For,Vse=$.FORXSTATEMENT_TYPES=he.FLIPPED_ALIAS_KEYS.ForXStatement,Wse=$.FUNCTION_TYPES=he.FLIPPED_ALIAS_KEYS.Function,Yse=$.FUNCTIONPARENT_TYPES=he.FLIPPED_ALIAS_KEYS.FunctionParent,zse=$.PUREISH_TYPES=he.FLIPPED_ALIAS_KEYS.Pureish,Jse=$.DECLARATION_TYPES=he.FLIPPED_ALIAS_KEYS.Declaration,Xse=$.FUNCTIONPARAMETER_TYPES=he.FLIPPED_ALIAS_KEYS.FunctionParameter,Hse=$.PATTERNLIKE_TYPES=he.FLIPPED_ALIAS_KEYS.PatternLike,Gse=$.LVAL_TYPES=he.FLIPPED_ALIAS_KEYS.LVal,Qse=$.TSENTITYNAME_TYPES=he.FLIPPED_ALIAS_KEYS.TSEntityName,Zse=$.LITERAL_TYPES=he.FLIPPED_ALIAS_KEYS.Literal,ene=$.IMMUTABLE_TYPES=he.FLIPPED_ALIAS_KEYS.Immutable,tne=$.USERWHITESPACABLE_TYPES=he.FLIPPED_ALIAS_KEYS.UserWhitespacable,ine=$.METHOD_TYPES=he.FLIPPED_ALIAS_KEYS.Method,rne=$.OBJECTMEMBER_TYPES=he.FLIPPED_ALIAS_KEYS.ObjectMember,sne=$.PROPERTY_TYPES=he.FLIPPED_ALIAS_KEYS.Property,nne=$.UNARYLIKE_TYPES=he.FLIPPED_ALIAS_KEYS.UnaryLike,ane=$.PATTERN_TYPES=he.FLIPPED_ALIAS_KEYS.Pattern,one=$.CLASS_TYPES=he.FLIPPED_ALIAS_KEYS.Class,Aj=$.IMPORTOREXPORTDECLARATION_TYPES=he.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,lne=$.EXPORTDECLARATION_TYPES=he.FLIPPED_ALIAS_KEYS.ExportDeclaration,cne=$.MODULESPECIFIER_TYPES=he.FLIPPED_ALIAS_KEYS.ModuleSpecifier,une=$.ACCESSOR_TYPES=he.FLIPPED_ALIAS_KEYS.Accessor,pne=$.PRIVATE_TYPES=he.FLIPPED_ALIAS_KEYS.Private,fne=$.FLOW_TYPES=he.FLIPPED_ALIAS_KEYS.Flow,hne=$.FLOWTYPE_TYPES=he.FLIPPED_ALIAS_KEYS.FlowType,dne=$.FLOWBASEANNOTATION_TYPES=he.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,mne=$.FLOWDECLARATION_TYPES=he.FLIPPED_ALIAS_KEYS.FlowDeclaration,yne=$.FLOWPREDICATE_TYPES=he.FLIPPED_ALIAS_KEYS.FlowPredicate,Tne=$.ENUMBODY_TYPES=he.FLIPPED_ALIAS_KEYS.EnumBody,gne=$.ENUMMEMBER_TYPES=he.FLIPPED_ALIAS_KEYS.EnumMember,xne=$.JSX_TYPES=he.FLIPPED_ALIAS_KEYS.JSX,bne=$.MISCELLANEOUS_TYPES=he.FLIPPED_ALIAS_KEYS.Miscellaneous,Sne=$.TYPESCRIPT_TYPES=he.FLIPPED_ALIAS_KEYS.TypeScript,Ene=$.TSTYPEELEMENT_TYPES=he.FLIPPED_ALIAS_KEYS.TSTypeElement,Pne=$.TSTYPE_TYPES=he.FLIPPED_ALIAS_KEYS.TSType,vne=$.TSBASETYPE_TYPES=he.FLIPPED_ALIAS_KEYS.TSBaseType,Ane=$.MODULEDECLARATION_TYPES=Aj});var Lu=_(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});Du.default=wj;var so=ot(),Nu=Yt();function wj(t,e){if((0,so.isBlockStatement)(t))return t;let i=[];return(0,so.isEmptyStatement)(t)?i=[]:((0,so.isStatement)(t)||((0,so.isFunction)(e)?t=(0,Nu.returnStatement)(t):t=(0,Nu.expressionStatement)(t)),i=[t]),(0,Nu.blockStatement)(i)}});var Dy=_(Mu=>{"use strict";Object.defineProperty(Mu,"__esModule",{value:!0});Mu.default=Ij;var Cj=Lu();function Ij(t,e="body"){let i=(0,Cj.default)(t[e],t);return t[e]=i,i}});var Bu=_(Fu=>{"use strict";Object.defineProperty(Fu,"__esModule",{value:!0});Fu.default=Oj;var kj=ys(),_j=Tn();function Oj(t){t=t+"";let e="";for(let i of t)e+=(0,_j.isIdentifierChar)(i.codePointAt(0))?i:"-";return e=e.replace(/^[-0-9]+/,""),e=e.replace(/[-\s]+(.)?/g,function(i,r){return r?r.toUpperCase():""}),(0,kj.default)(e)||(e=`_${e}`),e||"_"}});var Ly=_(ju=>{"use strict";Object.defineProperty(ju,"__esModule",{value:!0});ju.default=Dj;var Nj=Bu();function Dj(t){return t=(0,Nj.default)(t),(t==="eval"||t==="arguments")&&(t="_"+t),t}});var My=_(Ru=>{"use strict";Object.defineProperty(Ru,"__esModule",{value:!0});Ru.default=Fj;var Lj=ot(),Mj=Yt();function Fj(t,e=t.key||t.property){return!t.computed&&(0,Lj.isIdentifier)(e)&&(e=(0,Mj.stringLiteral)(e.name)),e}});var Fy=_(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.default=void 0;var An=ot(),Nne=no.default=Bj;function Bj(t){if((0,An.isExpressionStatement)(t)&&(t=t.expression),(0,An.isExpression)(t))return t;if((0,An.isClass)(t)?(t.type="ClassExpression",t.abstract=!1):(0,An.isFunction)(t)&&(t.type="FunctionExpression"),!(0,An.isExpression)(t))throw new Error(`cannot turn ${t.type} to an expression`);return t}});var $u=_(qu=>{"use strict";Object.defineProperty(qu,"__esModule",{value:!0});qu.default=wn;var jj=si(),By=Symbol(),jy=Symbol();function wn(t,e,i){if(!t)return!1;let r=jj.VISITOR_KEYS[t.type];if(!r)return!1;i=i||{};let s=e(t,i);if(s!==void 0)switch(s){case By:return!1;case jy:return!0}for(let n of r){let a=t[n];if(a){if(Array.isArray(a)){for(let l of a)if(wn(l,e,i))return!0}else if(wn(a,e,i))return!0}}return!1}wn.skip=By;wn.stop=jy});var Ku=_(Uu=>{"use strict";Object.defineProperty(Uu,"__esModule",{value:!0});Uu.default=$j;var Rj=Ts(),Ry=["tokens","start","end","loc","raw","rawValue"],qj=[...Rj.COMMENT_KEYS,"comments",...Ry];function $j(t,e={}){let i=e.preserveComments?Ry:qj;for(let s of i)t[s]!=null&&(t[s]=void 0);for(let s of Object.keys(t))s[0]==="_"&&t[s]!=null&&(t[s]=void 0);let r=Object.getOwnPropertySymbols(t);for(let s of r)t[s]=null}});var Wu=_(Vu=>{"use strict";Object.defineProperty(Vu,"__esModule",{value:!0});Vu.default=Vj;var Uj=$u(),Kj=Ku();function Vj(t,e){return(0,Uj.default)(t,Kj.default,e),t}});var $y=_(Yu=>{"use strict";Object.defineProperty(Yu,"__esModule",{value:!0});Yu.default=Dr;var qy=ot(),Wj=lr(),Yj=Wu();function Dr(t,e=t.key){let i;return t.kind==="method"?Dr.increment()+"":((0,qy.isIdentifier)(e)?i=e.name:(0,qy.isStringLiteral)(e)?i=JSON.stringify(e.value):i=JSON.stringify((0,Yj.default)((0,Wj.default)(e))),t.computed&&(i=`[${i}]`),t.static&&(i=`static:${i}`),i)}Dr.uid=0;Dr.increment=function(){return Dr.uid>=Number.MAX_SAFE_INTEGER?Dr.uid=0:Dr.uid++}});var Uy=_(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.default=void 0;var ao=ot(),zj=Yt(),jne=oo.default=Jj;function Jj(t,e){if((0,ao.isStatement)(t))return t;let i=!1,r;if((0,ao.isClass)(t))i=!0,r="ClassDeclaration";else if((0,ao.isFunction)(t))i=!0,r="FunctionDeclaration";else if((0,ao.isAssignmentExpression)(t))return(0,zj.expressionStatement)(t);if(i&&!t.id&&(r=!1),!r){if(e)return!1;throw new Error(`cannot turn ${t.type} to a statement`)}return t.type=r,t}});var Ky=_(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.default=void 0;var Xj=ys(),ht=Yt(),qne=lo.default=zu,Hj=Function.call.bind(Object.prototype.toString);function Gj(t){return Hj(t)==="[object RegExp]"}function Qj(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);return e===null||Object.getPrototypeOf(e)===null}function zu(t){if(t===void 0)return(0,ht.identifier)("undefined");if(t===!0||t===!1)return(0,ht.booleanLiteral)(t);if(t===null)return(0,ht.nullLiteral)();if(typeof t=="string")return(0,ht.stringLiteral)(t);if(typeof t=="number"){let e;if(Number.isFinite(t))e=(0,ht.numericLiteral)(Math.abs(t));else{let i;Number.isNaN(t)?i=(0,ht.numericLiteral)(0):i=(0,ht.numericLiteral)(1),e=(0,ht.binaryExpression)("/",i,(0,ht.numericLiteral)(0))}return(t<0||Object.is(t,-0))&&(e=(0,ht.unaryExpression)("-",e)),e}if(typeof t=="bigint")return t<0?(0,ht.unaryExpression)("-",(0,ht.bigIntLiteral)(-t)):(0,ht.bigIntLiteral)(t);if(Gj(t)){let e=t.source,i=/\/([a-z]*)$/.exec(t.toString())[1];return(0,ht.regExpLiteral)(e,i)}if(Array.isArray(t))return(0,ht.arrayExpression)(t.map(zu));if(Qj(t)){let e=[];for(let i of Object.keys(t)){let r,s=!1;(0,Xj.default)(i)?i==="__proto__"?(s=!0,r=(0,ht.stringLiteral)(i)):r=(0,ht.identifier)(i):r=(0,ht.stringLiteral)(i),e.push((0,ht.objectProperty)(r,zu(t[i]),s))}return(0,ht.objectExpression)(e)}throw new Error("don't know how to turn this value into a node")}});var Vy=_(Ju=>{"use strict";Object.defineProperty(Ju,"__esModule",{value:!0});Ju.default=eR;var Zj=Yt();function eR(t,e,i=!1){return t.object=(0,Zj.memberExpression)(t.object,t.property,t.computed),t.property=e,t.computed=!!i,t}});var Yy=_(Xu=>{"use strict";Object.defineProperty(Xu,"__esModule",{value:!0});Xu.default=iR;var Wy=Ts(),tR=_u();function iR(t,e){if(!t||!e)return t;for(let i of Wy.INHERIT_KEYS.optional)t[i]==null&&(t[i]=e[i]);for(let i of Object.keys(e))i[0]==="_"&&i!=="__clone"&&(t[i]=e[i]);for(let i of Wy.INHERIT_KEYS.force)t[i]=e[i];return(0,tR.default)(t,e),t}});var zy=_(Hu=>{"use strict";Object.defineProperty(Hu,"__esModule",{value:!0});Hu.default=nR;var rR=Yt(),sR=be();function nR(t,e){if((0,sR.isSuper)(t.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return t.object=(0,rR.memberExpression)(e,t.object),t}});var Jy=_(Gu=>{"use strict";Object.defineProperty(Gu,"__esModule",{value:!0});Gu.default=aR;function aR(t){let e=[].concat(t),i=Object.create(null);for(;e.length;){let r=e.pop();if(r)switch(r.type){case"ArrayPattern":e.push(...r.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":e.push(r.left);break;case"ObjectPattern":e.push(...r.properties);break;case"ObjectProperty":e.push(r.value);break;case"RestElement":case"UpdateExpression":e.push(r.argument);break;case"UnaryExpression":r.operator==="delete"&&e.push(r.argument);break;case"Identifier":i[r.name]=r;break;default:break}}return i}});var Cn=_(Zu=>{"use strict";Object.defineProperty(Zu,"__esModule",{value:!0});Zu.default=Qu;var Vi=ot();function Qu(t,e,i,r){let s=[].concat(t),n=Object.create(null);for(;s.length;){let a=s.shift();if(!a||r&&((0,Vi.isAssignmentExpression)(a)||(0,Vi.isUnaryExpression)(a)||(0,Vi.isUpdateExpression)(a)))continue;if((0,Vi.isIdentifier)(a)){e?(n[a.name]=n[a.name]||[]).push(a):n[a.name]=a;continue}if((0,Vi.isExportDeclaration)(a)&&!(0,Vi.isExportAllDeclaration)(a)){(0,Vi.isDeclaration)(a.declaration)&&s.push(a.declaration);continue}if(i){if((0,Vi.isFunctionDeclaration)(a)){s.push(a.id);continue}if((0,Vi.isFunctionExpression)(a))continue}let l=Qu.keys[a.type];if(l)for(let c=0;c<l.length;c++){let o=l[c],u=a[o];u&&(Array.isArray(u)?s.push(...u):s.push(u))}}return n}var oR={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"]};Qu.keys=oR});var Xy=_(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.default=void 0;var lR=Cn(),zne=co.default=cR;function cR(t,e){return(0,lR.default)(t,e,!0)}});var Gy=_(ep=>{"use strict";Object.defineProperty(ep,"__esModule",{value:!0});ep.default=pR;var ni=ot();function uR(t){return(0,ni.isNullLiteral)(t)?"null":(0,ni.isRegExpLiteral)(t)?`/${t.pattern}/${t.flags}`:(0,ni.isTemplateLiteral)(t)?t.quasis.map(e=>e.value.raw).join(""):t.value!==void 0?String(t.value):null}function Hy(t){if(!t.computed||(0,ni.isLiteral)(t.key))return t.key}function pR(t,e){if("id"in t&&t.id)return{name:t.id.name,originalNode:t.id};let i="",r;if((0,ni.isObjectProperty)(e,{value:t})?r=Hy(e):(0,ni.isObjectMethod)(t)||(0,ni.isClassMethod)(t)?(r=Hy(t),t.kind==="get"?i="get ":t.kind==="set"&&(i="set ")):(0,ni.isVariableDeclarator)(e,{init:t})?r=e.id:(0,ni.isAssignmentExpression)(e,{operator:"=",right:t})&&(r=e.left),!r)return null;let s=(0,ni.isLiteral)(r)?uR(r):(0,ni.isIdentifier)(r)?r.name:(0,ni.isPrivateName)(r)?r.id.name:null;return s==null?null:{name:i+s,originalNode:r}}});var Qy=_(ip=>{"use strict";Object.defineProperty(ip,"__esModule",{value:!0});ip.default=hR;var fR=si();function hR(t,e,i){typeof e=="function"&&(e={enter:e});let{enter:r,exit:s}=e;tp(t,r,s,i,[])}function tp(t,e,i,r,s){let n=fR.VISITOR_KEYS[t.type];if(n){e&&e(t,s,r);for(let a of n){let l=t[a];if(Array.isArray(l))for(let c=0;c<l.length;c++){let o=l[c];o&&(s.push({node:t,key:a,index:c}),tp(o,e,i,r,s),s.pop())}else l&&(s.push({node:t,key:a}),tp(l,e,i,r,s),s.pop())}i&&i(t,s,r)}}});var Zy=_(rp=>{"use strict";Object.defineProperty(rp,"__esModule",{value:!0});rp.default=mR;var dR=Cn();function mR(t,e,i){if(i&&t.type==="Identifier"&&e.type==="ObjectProperty"&&i.type==="ObjectExpression")return!1;let r=dR.default.keys[e.type];if(r)for(let s=0;s<r.length;s++){let n=r[s],a=e[n];if(Array.isArray(a)){if(a.includes(t))return!0}else if(a===t)return!0}return!1}});var np=_(sp=>{"use strict";Object.defineProperty(sp,"__esModule",{value:!0});sp.default=TR;var yR=ot();e0=Symbol.for("var used to be block scoped");var e0;function TR(t){return(0,yR.isVariableDeclaration)(t)&&(t.kind!=="var"||t[e0])}});var i0=_(ap=>{"use strict";Object.defineProperty(ap,"__esModule",{value:!0});ap.default=xR;var t0=ot(),gR=np();function xR(t){return(0,t0.isFunctionDeclaration)(t)||(0,t0.isClassDeclaration)(t)||(0,gR.default)(t)}});var r0=_(op=>{"use strict";Object.defineProperty(op,"__esModule",{value:!0});op.default=ER;var bR=Wa(),SR=ot();function ER(t){return(0,bR.default)(t.type,"Immutable")?!0:(0,SR.isIdentifier)(t)?t.name==="undefined":!1}});var n0=_(cp=>{"use strict";Object.defineProperty(cp,"__esModule",{value:!0});cp.default=lp;var s0=si();function lp(t,e){if(typeof t!="object"||typeof e!="object"||t==null||e==null)return t===e;if(t.type!==e.type)return!1;let i=Object.keys(s0.NODE_FIELDS[t.type]||t.type),r=s0.VISITOR_KEYS[t.type];for(let s of i){let n=t[s],a=e[s];if(typeof n!=typeof a)return!1;if(!(n==null&&a==null)){if(n==null||a==null)return!1;if(Array.isArray(n)){if(!Array.isArray(a)||n.length!==a.length)return!1;for(let l=0;l<n.length;l++)if(!lp(n[l],a[l]))return!1;continue}if(typeof n=="object"&&!(r!=null&&r.includes(s))){for(let l of Object.keys(n))if(n[l]!==a[l])return!1;continue}if(!lp(n,a))return!1}}return!0}});var a0=_(up=>{"use strict";Object.defineProperty(up,"__esModule",{value:!0});up.default=PR;function PR(t,e,i){switch(e.type){case"MemberExpression":case"OptionalMemberExpression":return e.property===t?!!e.computed:e.object===t;case"JSXMemberExpression":return e.object===t;case"VariableDeclarator":return e.init===t;case"ArrowFunctionExpression":return e.body===t;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return e.key===t?!!e.computed:!1;case"ObjectProperty":return e.key===t?!!e.computed:!i||i.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":return e.key===t?!!e.computed:!0;case"ClassPrivateProperty":return e.key!==t;case"ClassDeclaration":case"ClassExpression":return e.superClass===t;case"AssignmentExpression":return e.right===t;case"AssignmentPattern":return e.right===t;case"LabeledStatement":return!1;case"CatchClause":return!1;case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":return i!=null&&i.source?!1:e.local===t;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return e.key!==t;case"TSEnumMember":return e.id!==t;case"TSPropertySignature":return e.key===t?!!e.computed:!0}return!0}});var o0=_(pp=>{"use strict";Object.defineProperty(pp,"__esModule",{value:!0});pp.default=vR;var Lr=ot();function vR(t,e){return(0,Lr.isBlockStatement)(t)&&((0,Lr.isFunction)(e)||(0,Lr.isCatchClause)(e))?!1:(0,Lr.isPattern)(t)&&((0,Lr.isFunction)(e)||(0,Lr.isCatchClause)(e))?!0:(0,Lr.isScopable)(t)}});var c0=_(fp=>{"use strict";Object.defineProperty(fp,"__esModule",{value:!0});fp.default=AR;var l0=ot();function AR(t){return(0,l0.isImportDefaultSpecifier)(t)||(0,l0.isIdentifier)(t.imported||t.exported,{name:"default"})}});var u0=_(hp=>{"use strict";Object.defineProperty(hp,"__esModule",{value:!0});hp.default=IR;var wR=ys(),CR=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 IR(t){return(0,wR.default)(t)&&!CR.has(t)}});var f0=_(dp=>{"use strict";Object.defineProperty(dp,"__esModule",{value:!0});dp.default=_R;var kR=ot();p0=Symbol.for("var used to be block scoped");var p0;function _R(t){return(0,kR.isVariableDeclaration)(t,{kind:"var"})&&!t[p0]}});var h0=_(Tp=>{"use strict";Object.defineProperty(Tp,"__esModule",{value:!0});Tp.default=uo;var OR=Cn(),Mr=ot(),mp=Yt(),yp=fu(),NR=lr();function uo(t,e){let i=[],r=!0;for(let s of t)if((0,Mr.isEmptyStatement)(s)||(r=!1),(0,Mr.isExpression)(s))i.push(s);else if((0,Mr.isExpressionStatement)(s))i.push(s.expression);else if((0,Mr.isVariableDeclaration)(s)){if(s.kind!=="var")return;for(let n of s.declarations){let a=(0,OR.default)(n);for(let l of Object.keys(a))e.push({kind:s.kind,id:(0,NR.default)(a[l])});n.init&&i.push((0,mp.assignmentExpression)("=",n.id,n.init))}r=!0}else if((0,Mr.isIfStatement)(s)){let n=s.consequent?uo([s.consequent],e):(0,yp.buildUndefinedNode)(),a=s.alternate?uo([s.alternate],e):(0,yp.buildUndefinedNode)();if(!n||!a)return;i.push((0,mp.conditionalExpression)(s.test,n,a))}else if((0,Mr.isBlockStatement)(s)){let n=uo(s.body,e);if(!n)return;i.push(n)}else if((0,Mr.isEmptyStatement)(s))t.indexOf(s)===0&&(r=!0);else return;return r&&i.push((0,yp.buildUndefinedNode)()),i.length===1?i[0]:(0,mp.sequenceExpression)(i)}});var d0=_(gp=>{"use strict";Object.defineProperty(gp,"__esModule",{value:!0});gp.default=LR;var DR=h0();function LR(t,e){if(!(t!=null&&t.length))return;let i=[],r=(0,DR.default)(t,i);if(r){for(let s of i)e.push(s);return r}}});var be=_(Y=>{"use strict";Object.defineProperty(Y,"__esModule",{value:!0});var cr={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getAssignmentIdentifiers:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,getFunctionName:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(Y,"__internal__deprecationWarning",{enumerable:!0,get:function(){return j6.default}});Object.defineProperty(Y,"addComment",{enumerable:!0,get:function(){return YR.default}});Object.defineProperty(Y,"addComments",{enumerable:!0,get:function(){return zR.default}});Object.defineProperty(Y,"appendToMemberExpression",{enumerable:!0,get:function(){return l6.default}});Object.defineProperty(Y,"assertNode",{enumerable:!0,get:function(){return jR.default}});Object.defineProperty(Y,"buildMatchMemberExpression",{enumerable:!0,get:function(){return B6.default}});Object.defineProperty(Y,"clone",{enumerable:!0,get:function(){return UR.default}});Object.defineProperty(Y,"cloneDeep",{enumerable:!0,get:function(){return KR.default}});Object.defineProperty(Y,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return VR.default}});Object.defineProperty(Y,"cloneNode",{enumerable:!0,get:function(){return $R.default}});Object.defineProperty(Y,"cloneWithoutLoc",{enumerable:!0,get:function(){return WR.default}});Object.defineProperty(Y,"createFlowUnionType",{enumerable:!0,get:function(){return m0.default}});Object.defineProperty(Y,"createTSUnionType",{enumerable:!0,get:function(){return qR.default}});Object.defineProperty(Y,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return RR.default}});Object.defineProperty(Y,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return m0.default}});Object.defineProperty(Y,"ensureBlock",{enumerable:!0,get:function(){return ZR.default}});Object.defineProperty(Y,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return d6.default}});Object.defineProperty(Y,"getBindingIdentifiers",{enumerable:!0,get:function(){return m6.default}});Object.defineProperty(Y,"getFunctionName",{enumerable:!0,get:function(){return T6.default}});Object.defineProperty(Y,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return y6.default}});Object.defineProperty(Y,"inheritInnerComments",{enumerable:!0,get:function(){return JR.default}});Object.defineProperty(Y,"inheritLeadingComments",{enumerable:!0,get:function(){return XR.default}});Object.defineProperty(Y,"inheritTrailingComments",{enumerable:!0,get:function(){return GR.default}});Object.defineProperty(Y,"inherits",{enumerable:!0,get:function(){return c6.default}});Object.defineProperty(Y,"inheritsComments",{enumerable:!0,get:function(){return HR.default}});Object.defineProperty(Y,"is",{enumerable:!0,get:function(){return b6.default}});Object.defineProperty(Y,"isBinding",{enumerable:!0,get:function(){return S6.default}});Object.defineProperty(Y,"isBlockScoped",{enumerable:!0,get:function(){return E6.default}});Object.defineProperty(Y,"isImmutable",{enumerable:!0,get:function(){return P6.default}});Object.defineProperty(Y,"isLet",{enumerable:!0,get:function(){return v6.default}});Object.defineProperty(Y,"isNode",{enumerable:!0,get:function(){return A6.default}});Object.defineProperty(Y,"isNodesEquivalent",{enumerable:!0,get:function(){return w6.default}});Object.defineProperty(Y,"isPlaceholderType",{enumerable:!0,get:function(){return C6.default}});Object.defineProperty(Y,"isReferenced",{enumerable:!0,get:function(){return I6.default}});Object.defineProperty(Y,"isScope",{enumerable:!0,get:function(){return k6.default}});Object.defineProperty(Y,"isSpecifierDefault",{enumerable:!0,get:function(){return _6.default}});Object.defineProperty(Y,"isType",{enumerable:!0,get:function(){return O6.default}});Object.defineProperty(Y,"isValidES3Identifier",{enumerable:!0,get:function(){return N6.default}});Object.defineProperty(Y,"isValidIdentifier",{enumerable:!0,get:function(){return D6.default}});Object.defineProperty(Y,"isVar",{enumerable:!0,get:function(){return L6.default}});Object.defineProperty(Y,"matchesPattern",{enumerable:!0,get:function(){return M6.default}});Object.defineProperty(Y,"prependToMemberExpression",{enumerable:!0,get:function(){return u6.default}});Y.react=void 0;Object.defineProperty(Y,"removeComments",{enumerable:!0,get:function(){return QR.default}});Object.defineProperty(Y,"removeProperties",{enumerable:!0,get:function(){return p6.default}});Object.defineProperty(Y,"removePropertiesDeep",{enumerable:!0,get:function(){return f6.default}});Object.defineProperty(Y,"removeTypeDuplicates",{enumerable:!0,get:function(){return h6.default}});Object.defineProperty(Y,"shallowEqual",{enumerable:!0,get:function(){return x6.default}});Object.defineProperty(Y,"toBindingIdentifierName",{enumerable:!0,get:function(){return e6.default}});Object.defineProperty(Y,"toBlock",{enumerable:!0,get:function(){return t6.default}});Object.defineProperty(Y,"toComputedKey",{enumerable:!0,get:function(){return i6.default}});Object.defineProperty(Y,"toExpression",{enumerable:!0,get:function(){return r6.default}});Object.defineProperty(Y,"toIdentifier",{enumerable:!0,get:function(){return s6.default}});Object.defineProperty(Y,"toKeyAlias",{enumerable:!0,get:function(){return n6.default}});Object.defineProperty(Y,"toStatement",{enumerable:!0,get:function(){return a6.default}});Object.defineProperty(Y,"traverse",{enumerable:!0,get:function(){return po.default}});Object.defineProperty(Y,"traverseFast",{enumerable:!0,get:function(){return g6.default}});Object.defineProperty(Y,"validate",{enumerable:!0,get:function(){return F6.default}});Object.defineProperty(Y,"valueToNode",{enumerable:!0,get:function(){return o6.default}});var MR=Tm(),FR=gm(),BR=uy(),jR=py(),xp=fy();Object.keys(xp).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(cr,t)||t in Y&&Y[t]===xp[t]||Object.defineProperty(Y,t,{enumerable:!0,get:function(){return xp[t]}})});var RR=hy(),m0=yy(),qR=by(),bp=fu();Object.keys(bp).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(cr,t)||t in Y&&Y[t]===bp[t]||Object.defineProperty(Y,t,{enumerable:!0,get:function(){return bp[t]}})});var Sp=Yt();Object.keys(Sp).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(cr,t)||t in Y&&Y[t]===Sp[t]||Object.defineProperty(Y,t,{enumerable:!0,get:function(){return Sp[t]}})});var $R=lr(),UR=wy(),KR=Cy(),VR=Iy(),WR=ky(),YR=_y(),zR=bu(),JR=vu(),XR=wu(),HR=_u(),GR=Iu(),QR=Oy(),Ep=Ny();Object.keys(Ep).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(cr,t)||t in Y&&Y[t]===Ep[t]||Object.defineProperty(Y,t,{enumerable:!0,get:function(){return Ep[t]}})});var Pp=Ts();Object.keys(Pp).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(cr,t)||t in Y&&Y[t]===Pp[t]||Object.defineProperty(Y,t,{enumerable:!0,get:function(){return Pp[t]}})});var ZR=Dy(),e6=Ly(),t6=Lu(),i6=My(),r6=Fy(),s6=Bu(),n6=$y(),a6=Uy(),o6=Ky(),vp=si();Object.keys(vp).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(cr,t)||t in Y&&Y[t]===vp[t]||Object.defineProperty(Y,t,{enumerable:!0,get:function(){return vp[t]}})});var l6=Vy(),c6=Yy(),u6=zy(),p6=Ku(),f6=Wu(),h6=ou(),d6=Jy(),m6=Cn(),y6=Xy(),T6=Gy(),po=Qy();Object.keys(po).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(cr,t)||t in Y&&Y[t]===po[t]||Object.defineProperty(Y,t,{enumerable:!0,get:function(){return po[t]}})});var g6=$u(),x6=Ka(),b6=ms(),S6=Zy(),E6=i0(),P6=r0(),v6=np(),A6=su(),w6=n0(),C6=kc(),I6=a0(),k6=o0(),_6=c0(),O6=Wa(),N6=u0(),D6=ys(),L6=f0(),M6=Pc(),F6=Xa(),B6=Ac(),Ap=ot();Object.keys(Ap).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(cr,t)||t in Y&&Y[t]===Ap[t]||Object.defineProperty(Y,t,{enumerable:!0,get:function(){return Ap[t]}})});var j6=ds(),R6=d0(),cae=Y.react={isReactComponent:MR.default,isCompatTag:FR.default,buildChildren:BR.default};Y.toSequenceExpression=R6.default;process.env.BABEL_TYPES_8_BREAKING&&console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")});var Cp=_(dt=>{"use strict";Object.defineProperty(dt,"__esModule",{value:!0});dt.isBindingIdentifier=l5;dt.isBlockScoped=h5;dt.isExpression=u5;dt.isFlow=g5;dt.isForAwaitStatement=S5;dt.isGenerated=y5;dt.isPure=T5;dt.isReferenced=f5;dt.isReferencedIdentifier=a5;dt.isReferencedMemberExpression=o5;dt.isRestProperty=x5;dt.isScope=p5;dt.isSpreadProperty=b5;dt.isStatement=c5;dt.isUser=m5;dt.isVar=d5;var q6=be(),{isBinding:$6,isBlockScoped:U6,isExportDeclaration:K6,isExpression:V6,isFlow:W6,isForStatement:Y6,isForXStatement:z6,isIdentifier:y0,isImportDeclaration:J6,isImportSpecifier:X6,isJSXIdentifier:H6,isJSXMemberExpression:G6,isMemberExpression:Q6,isRestElement:T0,isReferenced:wp,isScope:Z6,isStatement:e5,isVar:t5,isVariableDeclaration:i5,react:r5,isForOfStatement:s5}=q6,{isCompatTag:n5}=r5;function a5(t){let{node:e,parent:i}=this;if(!y0(e,t)&&!G6(i,t))if(H6(e,t)){if(n5(e.name))return!1}else return!1;return wp(e,i,this.parentPath.parent)}function o5(){let{node:t,parent:e}=this;return Q6(t)&&wp(t,e)}function l5(){let{node:t,parent:e}=this,i=this.parentPath.parent;return y0(t)&&$6(t,e,i)}function c5(){let{node:t,parent:e}=this;return e5(t)?!(i5(t)&&(z6(e,{left:t})||Y6(e,{init:t}))):!1}function u5(){return this.isIdentifier()?this.isReferencedIdentifier():V6(this.node)}function p5(){return Z6(this.node,this.parent)}function f5(){return wp(this.node,this.parent)}function h5(){return U6(this.node)}function d5(){return t5(this.node)}function m5(){return this.node&&!!this.node.loc}function y5(){return!this.isUser()}function T5(t){return this.scope.isPure(this.node,t)}function g5(){let{node:t}=this;return W6(t)?!0:J6(t)?t.importKind==="type"||t.importKind==="typeof":K6(t)?t.exportKind==="type":X6(t)?t.importKind==="type"||t.importKind==="typeof":!1}function x5(){var t;return T0(this.node)&&((t=this.parentPath)==null?void 0:t.isObjectPattern())}function b5(){var t;return T0(this.node)&&((t=this.parentPath)==null?void 0:t.isObjectExpression())}function S5(){return s5(this.node,{await:!0})}dt.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},dt.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var fo=_(Br=>{"use strict";Object.defineProperty(Br,"__esModule",{value:!0});Br.environmentVisitor=k5;Br.explode=I0;Br.isExplodedVisitor=C0;Br.merge=_0;Br.verify=k0;var w0=Tc(),E5=Cp(),P5=be(),g0=mi(),{DEPRECATED_KEYS:x0,DEPRECATED_ALIASES:b0,FLIPPED_ALIAS_KEYS:S0,TYPES:v5,__internal__deprecationWarning:E0}=P5;function A5(t){return t in w0}function C0(t){return t?._exploded}function I0(t){if(C0(t))return t;t._exploded=!0;for(let e of Object.keys(t)){if(Fr(e))continue;let i=e.split("|");if(i.length===1)continue;let r=t[e];delete t[e];for(let s of i)t[s]=r}k0(t),delete t.__esModule,w5(t),A0(t);for(let e of Object.keys(t)){if(Fr(e)||!A5(e))continue;let i=t[e];for(let s of Object.keys(i))i[s]=C5(e,i[s]);delete t[e];let r=w0[e];if(r!==null)for(let s of r)t[s]?In(t[s],i):t[s]=i;else In(t,i)}for(let e of Object.keys(t)){if(Fr(e))continue;let i=S0[e];if(e in x0){let s=x0[e];E0(e,s,"Visitor "),i=[s]}else if(e in b0){let s=b0[e];E0(e,s,"Visitor "),i=S0[s]}if(!i)continue;let r=t[e];delete t[e];for(let s of i){let n=t[s];n?In(n,r):t[s]=Object.assign({},r)}}for(let e of Object.keys(t))Fr(e)||A0(t[e]);return t}function k0(t){if(!t._verified){if(typeof t=="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(let e of Object.keys(t)){if((e==="enter"||e==="exit")&&P0(e,t[e]),Fr(e))continue;if(!v5.includes(e))throw new Error(`You gave us a visitor for the node type ${e} but it's not a valid type in @babel/traverse 7.28.0`);let i=t[e];if(typeof i=="object")for(let r of Object.keys(i))if(r==="enter"||r==="exit")P0(`${e}.${r}`,i[r]);else throw new Error(`You passed \`traverse()\` a visitor object with the property ${e} that has the invalid property ${r}`)}t._verified=!0}}function P0(t,e){let i=[].concat(e);for(let r of i)if(typeof r!="function")throw new TypeError(`Non-function found defined in ${t} with type ${typeof r}`)}function _0(t,e=[],i){let r={_verified:!0,_exploded:!0};Object.defineProperty(r,"_exploded",{enumerable:!1}),Object.defineProperty(r,"_verified",{enumerable:!1});for(let s=0;s<t.length;s++){let n=I0(t[s]),a=e[s],l=n;(a||i)&&(l=v0(l,a,i)),In(r,l);for(let c of Object.keys(n)){if(Fr(c))continue;let o=n[c];(a||i)&&(o=v0(o,a,i));let u=r[c]||(r[c]={});In(u,o)}}return r}function v0(t,e,i){let r={};for(let s of["enter","exit"]){let n=t[s];Array.isArray(n)&&(n=n.map(function(a){let l=a;return e&&(l=function(c){a.call(e,c,e)}),i&&(l=i(e?.key,s,l)),l!==a&&(l.toString=()=>a.toString()),l}),r[s]=n)}return r}function w5(t){for(let e of Object.keys(t)){if(Fr(e))continue;let i=t[e];typeof i=="function"&&(t[e]={enter:i})}}function A0(t){t.enter&&!Array.isArray(t.enter)&&(t.enter=[t.enter]),t.exit&&!Array.isArray(t.exit)&&(t.exit=[t.exit])}function C5(t,e){let i=`is${t}`,r=E5[i],s=function(n){if(r.call(n))return e.apply(this,arguments)};return s.toString=()=>e.toString(),s}function Fr(t){return t[0]==="_"||t==="enter"||t==="exit"||t==="shouldSkip"||t==="denylist"||t==="noScope"||t==="skipKeys"||t==="blacklist"}function In(t,e){for(let i of["enter","exit"])e[i]&&(t[i]=[].concat(t[i]||[],e[i]))}var I5={FunctionParent(t){t.isArrowFunctionExpression()||(t.skip(),t.isMethod()&&(t.requeueComputedKeyAndDecorators?t.requeueComputedKeyAndDecorators():g0.requeueComputedKeyAndDecorators.call(t)))},Property(t){t.isObjectProperty()||(t.skip(),t.requeueComputedKeyAndDecorators?t.requeueComputedKeyAndDecorators():g0.requeueComputedKeyAndDecorators.call(t))}};function k5(t){return _0([I5,t])}});var O0=_(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.default=void 0;var ho=be(),_5=ho,O5=yo(),N5=fo(),D5=mi(),{getAssignmentIdentifiers:L5}=_5,M5={ReferencedIdentifier({node:t},e){t.name===e.oldName&&(t.name=e.newName)},Scope(t,e){t.scope.bindingIdentifierEquals(e.oldName,e.binding.identifier)||(t.skip(),t.isMethod()&&(t.requeueComputedKeyAndDecorators?t.requeueComputedKeyAndDecorators():D5.requeueComputedKeyAndDecorators.call(t)))},ObjectProperty({node:t,scope:e},i){let{name:r}=t.key;if(t.shorthand&&(r===i.oldName||r===i.newName)&&e.getBindingIdentifier(r)===i.binding.identifier){t.shorthand=!1;{var s;(s=t.extra)!=null&&s.shorthand&&(t.extra.shorthand=!1)}}},"AssignmentExpression|Declaration|VariableDeclarator"(t,e){if(t.isVariableDeclaration())return;let i=t.isAssignmentExpression()?L5(t.node):t.getOuterBindingIdentifiers();for(let r in i)r===e.oldName&&(i[r].name=e.newName)}},Ip=class{constructor(e,i,r){this.newName=r,this.oldName=i,this.binding=e}maybeConvertFromExportDeclaration(e){let i=e.parentPath;if(i.isExportDeclaration()){if(i.isExportDefaultDeclaration()){let{declaration:r}=i.node;if(ho.isDeclaration(r)&&!r.id)return}i.isExportAllDeclaration()||i.splitExportDeclaration()}}maybeConvertFromClassFunctionDeclaration(e){return e}maybeConvertFromClassFunctionExpression(e){return e}rename(){let{binding:e,oldName:i,newName:r}=this,{scope:s,path:n}=e,a=n.find(o=>o.isDeclaration()||o.isFunctionExpression()||o.isClassExpression());a&&a.getOuterBindingIdentifiers()[i]===e.identifier&&this.maybeConvertFromExportDeclaration(a);let l=arguments[0]||s.block,c={discriminant:!0};ho.isMethod(l)&&(l.computed&&(c.key=!0),ho.isObjectMethod(l)||(c.decorators=!0)),(0,O5.traverseNode)(l,(0,N5.explode)(M5),s,this,s.path,c),arguments[0]||(s.removeOwnBinding(i),s.bindings[r]=e,this.binding.identifier.name=r),a&&(this.maybeConvertFromClassFunctionDeclaration(n),this.maybeConvertFromClassFunctionExpression(n))}};mo.default=Ip});var N0=_(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.default=void 0;var kp=class{constructor({identifier:e,scope:i,path:r,kind:s}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=e,this.scope=i,this.path=r,this.kind=s,(s==="var"||s==="hoisted")&&F5(r)&&this.reassign(r),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(e){this.constant=!1,!this.constantViolations.includes(e)&&this.constantViolations.push(e)}reference(e){this.referencePaths.includes(e)||(this.referenced=!0,this.references++,this.referencePaths.push(e))}dereference(){this.references--,this.referenced=!!this.references}};To.default=kp;function F5(t){let e=!t.isVariableDeclarator()||t.node.init;for(let{parentPath:i,key:r}=t;i;{parentPath:i,key:r}=i){if(i.isFunctionParent())return!1;if(r==="left"&&i.isForXStatement()||e&&r==="body"&&i.isLoop())return!0}return!1}});var jr=_(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});Gt.clear=j5;Gt.clearPath=D0;Gt.clearScope=L0;Gt.getCachedPaths=R5;Gt.getOrCreateCachedPaths=q5;Gt.scope=Gt.path=void 0;var go=Gt.path=new WeakMap,B5=Gt.scope=new WeakMap;function j5(){D0(),L0()}function D0(){Gt.path=go=new WeakMap}function L0(){Gt.scope=B5=new WeakMap}function R5(t){let{parent:e,parentPath:i}=t;return go.get(e)}function q5(t,e){let i=go.get(t);return i||go.set(t,i=new Map),i}});var M0=_((yae,$5)=>{$5.exports=["decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","globalThis","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"]});var F0=_((Tae,U5)=>{U5.exports=["AggregateError","Array","ArrayBuffer","Atomics","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","Date","Error","EvalError","FinalizationRegistry","Float16Array","Float32Array","Float64Array","Function","Infinity","Int16Array","Int32Array","Int8Array","Intl","Iterator","JSON","Map","Math","NaN","Number","Object","Promise","Proxy","RangeError","ReferenceError","Reflect","RegExp","Set","SharedArrayBuffer","String","Symbol","SyntaxError","TypeError","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","URIError","WeakMap","WeakRef","WeakSet"]});var Lp=_(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var K5=O0(),W0=_n(),V5=N0(),Y0=be(),z0=Y0,B0=jr(),W5=M0(),Y5=F0(),{assignmentExpression:z5,callExpression:j0,cloneNode:R0,getBindingIdentifiers:J0,identifier:qr,isArrayExpression:X0,isBinary:J5,isCallExpression:q0,isClass:X5,isClassBody:H5,isClassDeclaration:G5,isExportAllDeclaration:H0,isExportDefaultDeclaration:Q5,isExportNamedDeclaration:_p,isFunctionDeclaration:Z5,isIdentifier:Rr,isImportDeclaration:Op,isLiteral:e8,isMemberExpression:t8,isMethod:i8,isModuleSpecifier:r8,isNullLiteral:s8,isObjectExpression:n8,isProperty:a8,isPureish:o8,isRegExpLiteral:l8,isSuper:c8,isTaggedTemplateExpression:u8,isTemplateLiteral:G0,isThisExpression:$0,isUnaryExpression:p8,isVariableDeclaration:f8,expressionStatement:h8,matchesPattern:U0,memberExpression:Np,numericLiteral:d8,toIdentifier:m8,variableDeclaration:y8,variableDeclarator:T8,isRecordExpression:g8,isTupleExpression:x8,isObjectProperty:b8,isTopicReference:K0,isMetaProperty:S8,isPrivateName:E8,isExportDeclaration:P8,buildUndefinedNode:v8,sequenceExpression:A8}=Y0;function Ge(t,e){switch(t?.type){default:if(Op(t)||P8(t)){var i;if((H0(t)||_p(t)||Op(t))&&t.source)Ge(t.source,e);else if((_p(t)||Op(t))&&(i=t.specifiers)!=null&&i.length)for(let r of t.specifiers)Ge(r,e);else(Q5(t)||_p(t))&&t.declaration&&Ge(t.declaration,e)}else r8(t)?Ge(t.local,e):e8(t)&&!s8(t)&&!l8(t)&&!G0(t)&&e.push(t.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":Ge(t.object,e),Ge(t.property,e);break;case"Identifier":case"JSXIdentifier":e.push(t.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":Ge(t.callee,e);break;case"ObjectExpression":case"ObjectPattern":for(let r of t.properties)Ge(r,e);break;case"SpreadElement":case"RestElement":Ge(t.argument,e);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":Ge(t.key,e);break;case"ThisExpression":e.push("this");break;case"Super":e.push("super");break;case"Import":case"ImportExpression":e.push("import");break;case"DoExpression":e.push("do");break;case"YieldExpression":e.push("yield"),Ge(t.argument,e);break;case"AwaitExpression":e.push("await"),Ge(t.argument,e);break;case"AssignmentExpression":Ge(t.left,e);break;case"VariableDeclarator":Ge(t.id,e);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":Ge(t.id,e);break;case"PrivateName":Ge(t.id,e);break;case"ParenthesizedExpression":Ge(t.expression,e);break;case"UnaryExpression":case"UpdateExpression":Ge(t.argument,e);break;case"MetaProperty":Ge(t.meta,e),Ge(t.property,e);break;case"JSXElement":Ge(t.openingElement,e);break;case"JSXOpeningElement":Ge(t.name,e);break;case"JSXFragment":Ge(t.openingFragment,e);break;case"JSXOpeningFragment":e.push("Fragment");break;case"JSXNamespacedName":Ge(t.namespace,e),Ge(t.name,e);break}}function V0(t){t.references=Object.create(null),t.uids=Object.create(null),t.bindings=Object.create(null),t.globals=Object.create(null)}Dp=Symbol.for("should not be considered a local binding");var Dp,w8={ForStatement(t){let e=t.get("init");if(e.isVar()){let{scope:i}=t;(i.getFunctionParent()||i.getProgramParent()).registerBinding("var",e)}},Declaration(t){if(t.isBlockScoped()||t.isImportDeclaration()||t.isExportDeclaration())return;(t.scope.getFunctionParent()||t.scope.getProgramParent()).registerDeclaration(t)},ImportDeclaration(t){t.scope.getBlockParent().registerDeclaration(t)},TSImportEqualsDeclaration(t){t.scope.getBlockParent().registerDeclaration(t)},ReferencedIdentifier(t,e){z0.isTSQualifiedName(t.parent)&&t.parent.right===t.node||t.parentPath.isTSImportEqualsDeclaration()||e.references.push(t)},ForXStatement(t,e){let i=t.get("left");if(i.isPattern()||i.isIdentifier())e.constantViolations.push(t);else if(i.isVar()){let{scope:r}=t;(r.getFunctionParent()||r.getProgramParent()).registerBinding("var",i)}},ExportDeclaration:{exit(t){let{node:e,scope:i}=t;if(H0(e))return;let r=e.declaration;if(G5(r)||Z5(r)){let s=r.id;if(!s)return;let n=i.getBinding(s.name);n?.reference(t)}else if(f8(r))for(let s of r.declarations)for(let n of Object.keys(J0(s))){let a=i.getBinding(n);a?.reference(t)}}},LabeledStatement(t){t.scope.getBlockParent().registerDeclaration(t)},AssignmentExpression(t,e){e.assignments.push(t)},UpdateExpression(t,e){e.constantViolations.push(t)},UnaryExpression(t,e){t.node.operator==="delete"&&e.constantViolations.push(t)},BlockScoped(t){let e=t.scope;if(e.path===t&&(e=e.parent),e.getBlockParent().registerDeclaration(t),t.isClassDeclaration()&&t.node.id){let s=t.node.id.name;t.scope.bindings[s]=t.scope.parent.getBinding(s)}},CatchClause(t){t.scope.registerBinding("let",t)},Function(t){let e=t.get("params");for(let i of e)t.scope.registerBinding("param",i);t.isFunctionExpression()&&t.node.id&&!t.node.id[Dp]&&t.scope.registerBinding("local",t.get("id"),t)},ClassExpression(t){t.node.id&&!t.node.id[Dp]&&t.scope.registerBinding("local",t.get("id"),t)},TSTypeAnnotation(t){t.skip()}},kn,C8=0,yi=class t{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.referencesSet=void 0,this.globals=void 0,this.uidsSet=void 0,this.data=void 0,this.crawling=void 0;let{node:i}=e,r=B0.scope.get(i);if(r?.path===e)return r;B0.scope.set(i,this),this.uid=C8++,this.block=i,this.path=e,this.labels=new Map,this.inited=!1,Object.defineProperties(this,{references:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)},uids:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)}})}get parent(){var e;let i,r=this.path;do{var s;let n=r.key==="key"||r.listKey==="decorators";r=r.parentPath,n&&r.isMethod()&&(r=r.parentPath),(s=r)!=null&&s.isScope()&&(i=r)}while(r&&!i);return(e=i)==null?void 0:e.scope}get references(){throw new Error("Scope#references is not available in Babel 8. Use Scope#referencesSet instead.")}get uids(){throw new Error("Scope#uids is not available in Babel 8. Use Scope#uidsSet instead.")}generateDeclaredUidIdentifier(e){let i=this.generateUidIdentifier(e);return this.push({id:i}),R0(i)}generateUidIdentifier(e){return qr(this.generateUid(e))}generateUid(e="temp"){e=m8(e).replace(/^_+/,"").replace(/\d+$/g,"");let i,r=0;do i=`_${e}`,r>=11?i+=r-1:r>=9?i+=r-9:r>=1&&(i+=r+1),r++;while(this.hasLabel(i)||this.hasBinding(i)||this.hasGlobal(i)||this.hasReference(i));let s=this.getProgramParent();return s.references[i]=!0,s.uids[i]=!0,i}generateUidBasedOnNode(e,i){let r=[];Ge(e,r);let s=r.join("$");return s=s.replace(/^_/,"")||i||"ref",this.generateUid(s.slice(0,20))}generateUidIdentifierBasedOnNode(e,i){return qr(this.generateUidBasedOnNode(e,i))}isStatic(e){if($0(e)||c8(e)||K0(e))return!0;if(Rr(e)){let i=this.getBinding(e.name);return i?i.constant:this.hasBinding(e.name)}return!1}maybeGenerateMemoised(e,i){if(this.isStatic(e))return null;{let r=this.generateUidIdentifierBasedOnNode(e);return i?r:(this.push({id:r}),R0(r))}}checkBlockScopedCollisions(e,i,r,s){if(i==="param"||e.kind==="local")return;if(i==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&i==="const")throw this.path.hub.buildError(s,`Duplicate declaration "${r}"`,TypeError)}rename(e,i){let r=this.getBinding(e);r&&(i||(i=this.generateUidIdentifier(e).name),new K5.default(r,e,i).rename(arguments[2]))}dump(){let e="-".repeat(60);console.log(e);let i=this;do{console.log("#",i.block.type);for(let r of Object.keys(i.bindings)){let s=i.bindings[r];console.log(" -",r,{constant:s.constant,references:s.references,violations:s.constantViolations.length,kind:s.kind})}}while(i=i.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()){let i=e.get("declarations"),{kind:r}=e.node;for(let s of i)this.registerBinding(r==="using"||r==="await using"?"const":r,s)}else if(e.isClassDeclaration()){if(e.node.declare)return;this.registerBinding("let",e)}else if(e.isImportDeclaration()){let i=e.node.importKind==="type"||e.node.importKind==="typeof",r=e.get("specifiers");for(let s of r){let n=i||s.isImportSpecifier()&&(s.node.importKind==="type"||s.node.importKind==="typeof");this.registerBinding(n?"unknown":"module",s)}}else if(e.isExportDeclaration()){let i=e.get("declaration");(i.isClassDeclaration()||i.isFunctionDeclaration()||i.isVariableDeclaration())&&this.registerDeclaration(i)}else this.registerBinding("unknown",e)}buildUndefinedNode(){return v8()}registerConstantViolation(e){let i=e.getAssignmentIdentifiers();for(let s of Object.keys(i)){var r;(r=this.getBinding(s))==null||r.reassign(e)}}registerBinding(e,i,r=i){if(!e)throw new ReferenceError("no `kind`");if(i.isVariableDeclaration()){let a=i.get("declarations");for(let l of a)this.registerBinding(e,l);return}let s=this.getProgramParent(),n=i.getOuterBindingIdentifiers(!0);for(let a of Object.keys(n)){s.references[a]=!0;for(let l of n[a]){let c=this.getOwnBinding(a);if(c){if(c.identifier===l)continue;this.checkBlockScopedCollisions(c,e,a,l)}c?c.reassign(r):this.bindings[a]=new V5.default({identifier:l,scope:this,path:r,kind:e})}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){{let i=this;do if(i.uids[e])return!0;while(i=i.parent);return!1}}hasGlobal(e){let i=this;do if(i.globals[e])return!0;while(i=i.parent);return!1}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,i){if(Rr(e)){let a=this.getBinding(e.name);return a?i?a.constant:!0:!1}else{if($0(e)||S8(e)||K0(e)||E8(e))return!0;if(X5(e)){var r;return e.superClass&&!this.isPure(e.superClass,i)||((r=e.decorators)==null?void 0:r.length)>0?!1:this.isPure(e.body,i)}else if(H5(e)){for(let a of e.body)if(!this.isPure(a,i))return!1;return!0}else{if(J5(e))return this.isPure(e.left,i)&&this.isPure(e.right,i);if(X0(e)||x8(e)){for(let a of e.elements)if(a!==null&&!this.isPure(a,i))return!1;return!0}else if(n8(e)||g8(e)){for(let a of e.properties)if(!this.isPure(a,i))return!1;return!0}else if(i8(e)){var s;return!(e.computed&&!this.isPure(e.key,i)||((s=e.decorators)==null?void 0:s.length)>0)}else if(a8(e)){var n;return!(e.computed&&!this.isPure(e.key,i)||((n=e.decorators)==null?void 0:n.length)>0||(b8(e)||e.static)&&e.value!==null&&!this.isPure(e.value,i))}else{if(p8(e))return this.isPure(e.argument,i);if(G0(e)){for(let a of e.expressions)if(!this.isPure(a,i))return!1;return!0}else return u8(e)?U0(e.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(e.quasi,i):t8(e)?!e.computed&&Rr(e.object)&&e.object.name==="Symbol"&&Rr(e.property)&&e.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0}):q0(e)?U0(e.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&e.arguments.length===1&&z0.isStringLiteral(e.arguments[0]):o8(e)}}}}setData(e,i){return this.data[e]=i}getData(e){let i=this;do{let r=i.data[e];if(r!=null)return r}while(i=i.parent)}removeData(e){let i=this;do i.data[e]!=null&&(i.data[e]=null);while(i=i.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){let e=this.path;V0(this),this.data=Object.create(null);let i=this;do{if(i.crawling)return;if(i.path.isProgram())break}while(i=i.parent);let r=i,s={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,kn||(kn=W0.default.visitors.merge([{Scope(n){V0(n.scope)}},w8])),e.type!=="Program"){for(let a of kn.enter)a.call(s,e,s);let n=kn[e.type];if(n)for(let a of n.enter)a.call(s,e,s)}e.traverse(kn,s),this.crawling=!1;for(let n of s.assignments){let a=n.getAssignmentIdentifiers();for(let l of Object.keys(a))n.scope.getBinding(l)||r.addGlobal(a[l]);n.scope.registerConstantViolation(n)}for(let n of s.references){let a=n.scope.getBinding(n.node.name);a?a.reference(n):r.addGlobal(n.node)}for(let n of s.constantViolations)n.scope.registerConstantViolation(n)}push(e){let i=this.path;i.isPattern()?i=this.getPatternParent().path:!i.isBlockStatement()&&!i.isProgram()&&(i=this.getBlockParent().path),i.isSwitchStatement()&&(i=(this.getFunctionParent()||this.getProgramParent()).path);let{init:r,unique:s,kind:n="var",id:a}=e;if(!r&&!s&&(n==="var"||n==="let")&&i.isFunction()&&!i.node.name&&q0(i.parent,{callee:i.node})&&i.parent.arguments.length<=i.node.params.length&&Rr(a)){i.pushContainer("params",a),i.scope.registerBinding("param",i.get("params")[i.node.params.length-1]);return}(i.isLoop()||i.isCatchClause()||i.isFunction())&&(i.ensureBlock(),i=i.get("body"));let l=e._blockHoist==null?2:e._blockHoist,c=`declaration:${n}:${l}`,o=!s&&i.getData(c);if(!o){let d=y8(n,[]);d._blockHoist=l,[o]=i.unshiftContainer("body",[d]),s||i.setData(c,o)}let u=T8(a,r),f=o.node.declarations.push(u);i.scope.registerBinding(n,o.get("declarations")[f-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(){let e=Object.create(null),i=this;do{for(let r of Object.keys(i.bindings))r in e||(e[r]=i.bindings[r]);i=i.parent}while(i);return e}bindingIdentifierEquals(e,i){return this.getBindingIdentifier(e)===i}getBinding(e){let i=this,r;do{let n=i.getOwnBinding(e);if(n){var s;if(!((s=r)!=null&&s.isPattern()&&n.kind!=="param"&&n.kind!=="local"))return n}else if(!n&&e==="arguments"&&i.path.isFunction()&&!i.path.isArrowFunctionExpression())break;r=i.path}while(i=i.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var i;return(i=this.getBinding(e))==null?void 0:i.identifier}getOwnBindingIdentifier(e){let i=this.bindings[e];return i?.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,i){if(!e)return!1;let r,s,n;typeof i=="object"?(r=i.noGlobals,s=i.noUids,n=i.upToScope):typeof i=="boolean"&&(r=i);let a=this;do{if(n===a)break;if(a.hasOwnBinding(e))return!0}while(a=a.parent);return!!(!s&&this.hasUid(e)||!r&&t.globals.includes(e)||!r&&t.contextVariables.includes(e))}parentHasBinding(e,i){var r;return(r=this.parent)==null?void 0:r.hasBinding(e,i)}moveBindingTo(e,i){let r=this.getBinding(e);r&&(r.scope.removeOwnBinding(e),r.scope=i,i.bindings[e]=r)}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var i;(i=this.getBinding(e))==null||i.scope.removeOwnBinding(e);{let r=this;do r.uids[e]&&(r.uids[e]=!1);while(r=r.parent)}}hoistVariables(e=i=>this.push({id:i})){this.crawl();let i=new Set;for(let r of Object.keys(this.bindings)){let s=this.bindings[r];if(!s)continue;let{path:n}=s;if(!n.isVariableDeclarator())continue;let{parent:a,parentPath:l}=n;if(a.kind!=="var"||i.has(a))continue;i.add(n.parent);let c,o=[];for(let u of a.declarations){c??(c=u.id),u.init&&o.push(z5("=",u.id,u.init));let f=Object.keys(J0(u,!1,!0,!0));for(let d of f)e(qr(d),u.init!=null)}if(l.parentPath.isFor({left:a}))l.replaceWith(c);else if(o.length===0)l.remove();else{let u=o.length===1?o[0]:A8(o);l.parentPath.isForStatement({init:a})?l.replaceWith(u):l.replaceWith(h8(u))}}}};xo.default=yi;yi.globals=[...W5,...Y5];yi.contextVariables=["arguments","undefined","Infinity","NaN"];yi.prototype._renameFromMap=function(e,i,r,s){e[i]&&(e[r]=s,e[i]=null)},yi.prototype.traverse=function(t,e,i){(0,W0.default)(t,e,this,i,this.path)},yi.prototype._generateUid=function(e,i){let r=e;return i>1&&(r+=i),`_${r}`},yi.prototype.toArray=function(e,i,r){if(Rr(e)){let a=this.getBinding(e.name);if(a!=null&&a.constant&&a.path.isGenericType("Array"))return e}if(X0(e))return e;if(Rr(e,{name:"arguments"}))return j0(Np(Np(Np(qr("Array"),qr("prototype")),qr("slice")),qr("call")),[e]);let s,n=[e];return i===!0?s="toConsumableArray":typeof i=="number"?(n.push(d8(i)),s="slicedToArray"):s="toArray",r&&(n.unshift(this.path.hub.addHelper(s)),s="maybeArrayLike"),j0(this.path.hub.addHelper(s),n)},yi.prototype.getAllBindingsOfKind=function(...e){let i=Object.create(null);for(let r of e){let s=this;do{for(let n of Object.keys(s.bindings)){let a=s.bindings[n];a.kind===r&&(i[n]=a)}s=s.parent}while(s)}return i},Object.defineProperties(yi.prototype,{parentBlock:{configurable:!0,enumerable:!0,get(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get(){return this.path.hub}}})});var Bp=_((Mp,Fp)=>{(function(t,e,i){typeof Mp=="object"&&typeof Fp<"u"?e(Fp):typeof define=="function"&&define.amd?define(["module"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(i={exports:{}}),t.sourcemapCodec="default"in i.exports?i.exports.default:i.exports)})(Mp,function(t){"use strict";var e=Object.defineProperty,i=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,n=(J,z)=>{for(var F in z)e(J,F,{get:z[F],enumerable:!0})},a=(J,z,F,G)=>{if(z&&typeof z=="object"||typeof z=="function")for(let pe of r(z))!s.call(J,pe)&&pe!==F&&e(J,pe,{get:()=>z[pe],enumerable:!(G=i(z,pe))||G.enumerable});return J},l=J=>a(e({},"__esModule",{value:!0}),J),c={};n(c,{decode:()=>yt,decodeGeneratedRanges:()=>de,decodeOriginalScopes:()=>U,encode:()=>bi,encodeGeneratedRanges:()=>st,encodeOriginalScopes:()=>ae}),t.exports=l(c);var o=44,u=59,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=new Uint8Array(64),y=new Uint8Array(128);for(let J=0;J<f.length;J++){let z=f.charCodeAt(J);d[J]=z,y[z]=J}function E(J,z){let F=0,G=0,pe=0;do{let Ue=J.next();pe=y[Ue],F|=(pe&31)<<G,G+=5}while(pe&32);let Pe=F&1;return F>>>=1,Pe&&(F=-2147483648|-F),z+F}function P(J,z,F){let G=z-F;G=G<0?-G<<1|1:G<<1;do{let pe=G&31;G>>>=5,G>0&&(pe|=32),J.write(d[pe])}while(G>0);return z}function A(J,z){return J.pos>=z?!1:J.peek()!==o}var I=1024*16,k=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(J){return Buffer.from(J.buffer,J.byteOffset,J.byteLength).toString()}}:{decode(J){let z="";for(let F=0;F<J.length;F++)z+=String.fromCharCode(J[F]);return z}},M=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(I)}write(J){let{buffer:z}=this;z[this.pos++]=J,this.pos===I&&(this.out+=k.decode(z),this.pos=0)}flush(){let{buffer:J,out:z,pos:F}=this;return F>0?z+k.decode(J.subarray(0,F)):z}},L=class{constructor(J){this.pos=0,this.buffer=J}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(J){let{buffer:z,pos:F}=this,G=z.indexOf(J,F);return G===-1?z.length:G}},R=[];function U(J){let{length:z}=J,F=new L(J),G=[],pe=[],Pe=0;for(;F.pos<z;F.pos++){Pe=E(F,Pe);let Ue=E(F,0);if(!A(F,z)){let Ze=pe.pop();Ze[2]=Pe,Ze[3]=Ue;continue}let Le=E(F,0),Re=E(F,0)&1?[Pe,Ue,0,0,Le,E(F,0)]:[Pe,Ue,0,0,Le],Je=R;if(A(F,z)){Je=[];do{let Ze=E(F,0);Je.push(Ze)}while(A(F,z))}Re.vars=Je,G.push(Re),pe.push(Re)}return G}function ae(J){let z=new M;for(let F=0;F<J.length;)F=me(J,F,z,[0]);return z.flush()}function me(J,z,F,G){let pe=J[z],{0:Pe,1:Ue,2:Le,3:ze,4:Me,vars:Re}=pe;z>0&&F.write(o),G[0]=P(F,Pe,G[0]),P(F,Ue,0),P(F,Me,0);let Je=pe.length===6?1:0;P(F,Je,0),pe.length===6&&P(F,pe[5],0);for(let Ze of Re)P(F,Ze,0);for(z++;z<J.length;){let Ze=J[z],{0:ve,1:et}=Ze;if(ve>Le||ve===Le&&et>=ze)break;z=me(J,z,F,G)}return F.write(o),G[0]=P(F,Le,G[0]),P(F,ze,0),z}function de(J){let{length:z}=J,F=new L(J),G=[],pe=[],Pe=0,Ue=0,Le=0,ze=0,Me=0,Re=0,Je=0,Ze=0;do{let ve=F.indexOf(";"),et=0;for(;F.pos<ve;F.pos++){if(et=E(F,et),!A(F,ve)){let te=pe.pop();te[2]=Pe,te[3]=et;continue}let ft=E(F,0),Bi=ft&1,Jt=ft&2,$t=ft&4,K=null,V=R,Z;if(Bi){let te=E(F,Ue);Le=E(F,Ue===te?Le:0),Ue=te,Z=[Pe,et,0,0,te,Le]}else Z=[Pe,et,0,0];if(Z.isScope=!!$t,Jt){let te=ze,ye=Me;ze=E(F,ze);let Te=te===ze;Me=E(F,Te?Me:0),Re=E(F,Te&&ye===Me?Re:0),K=[ze,Me,Re]}if(Z.callsite=K,A(F,ve)){V=[];do{Je=Pe,Ze=et;let te=E(F,0),ye;if(te<-1){ye=[[E(F,0)]];for(let Te=-1;Te>te;Te--){let Fe=Je;Je=E(F,Je),Ze=E(F,Je===Fe?Ze:0);let Et=E(F,0);ye.push([Et,Je,Ze])}}else ye=[[te]];V.push(ye)}while(A(F,ve))}Z.bindings=V,G.push(Z),pe.push(Z)}Pe++,F.pos=ve+1}while(F.pos<z);return G}function st(J){if(J.length===0)return"";let z=new M;for(let F=0;F<J.length;)F=ue(J,F,z,[0,0,0,0,0,0,0]);return z.flush()}function ue(J,z,F,G){let pe=J[z],{0:Pe,1:Ue,2:Le,3:ze,isScope:Me,callsite:Re,bindings:Je}=pe;G[0]<Pe?(De(F,G[0],Pe),G[0]=Pe,G[1]=0):z>0&&F.write(o),G[1]=P(F,pe[1],G[1]);let Ze=(pe.length===6?1:0)|(Re?2:0)|(Me?4:0);if(P(F,Ze,0),pe.length===6){let{4:ve,5:et}=pe;ve!==G[2]&&(G[3]=0),G[2]=P(F,ve,G[2]),G[3]=P(F,et,G[3])}if(Re){let{0:ve,1:et,2:ft}=pe.callsite;ve!==G[4]?(G[5]=0,G[6]=0):et!==G[5]&&(G[6]=0),G[4]=P(F,ve,G[4]),G[5]=P(F,et,G[5]),G[6]=P(F,ft,G[6])}if(Je)for(let ve of Je){ve.length>1&&P(F,-ve.length,0);let et=ve[0][0];P(F,et,0);let ft=Pe,Bi=Ue;for(let Jt=1;Jt<ve.length;Jt++){let $t=ve[Jt];ft=P(F,$t[1],ft),Bi=P(F,$t[2],Bi),P(F,$t[0],0)}}for(z++;z<J.length;){let ve=J[z],{0:et,1:ft}=ve;if(et>Le||et===Le&&ft>=ze)break;z=ue(J,z,F,G)}return G[0]<Le?(De(F,G[0],Le),G[0]=Le,G[1]=0):F.write(o),G[1]=P(F,ze,G[1]),z}function De(J,z,F){do J.write(u);while(++z<F)}function yt(J){let{length:z}=J,F=new L(J),G=[],pe=0,Pe=0,Ue=0,Le=0,ze=0;do{let Me=F.indexOf(";"),Re=[],Je=!0,Ze=0;for(pe=0;F.pos<Me;){let ve;pe=E(F,pe),pe<Ze&&(Je=!1),Ze=pe,A(F,Me)?(Pe=E(F,Pe),Ue=E(F,Ue),Le=E(F,Le),A(F,Me)?(ze=E(F,ze),ve=[pe,Pe,Ue,Le,ze]):ve=[pe,Pe,Ue,Le]):ve=[pe],Re.push(ve),F.pos++}Je||kt(Re),G.push(Re),F.pos=Me+1}while(F.pos<=z);return G}function kt(J){J.sort(Fi)}function Fi(J,z){return J[0]-z[0]}function bi(J){let z=new M,F=0,G=0,pe=0,Pe=0;for(let Ue=0;Ue<J.length;Ue++){let Le=J[Ue];if(Ue>0&&z.write(u),Le.length===0)continue;let ze=0;for(let Me=0;Me<Le.length;Me++){let Re=Le[Me];Me>0&&z.write(o),ze=P(z,Re[0],ze),Re.length!==1&&(F=P(z,Re[1],F),G=P(z,Re[2],G),pe=P(z,Re[3],pe),Re.length!==4&&(Pe=P(z,Re[4],Pe)))}}return z.flush()}})});var Q0=_((jp,Rp)=>{(function(t,e){typeof jp=="object"&&typeof Rp<"u"?Rp.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self,t.resolveURI=e())})(jp,function(){"use strict";let t=/^[\w+.-]+:\/\//,e=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,i=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function r(A){return t.test(A)}function s(A){return A.startsWith("//")}function n(A){return A.startsWith("/")}function a(A){return A.startsWith("file:")}function l(A){return/^[.?#]/.test(A)}function c(A){let I=e.exec(A);return u(I[1],I[2]||"",I[3],I[4]||"",I[5]||"/",I[6]||"",I[7]||"")}function o(A){let I=i.exec(A),k=I[2];return u("file:","",I[1]||"","",n(k)?k:"/"+k,I[3]||"",I[4]||"")}function u(A,I,k,M,L,R,U){return{scheme:A,user:I,host:k,port:M,path:L,query:R,hash:U,type:7}}function f(A){if(s(A)){let k=c("http:"+A);return k.scheme="",k.type=6,k}if(n(A)){let k=c("http://foo.com"+A);return k.scheme="",k.host="",k.type=5,k}if(a(A))return o(A);if(r(A))return c(A);let I=c("http://foo.com/"+A);return I.scheme="",I.host="",I.type=A?A.startsWith("?")?3:A.startsWith("#")?2:4:1,I}function d(A){if(A.endsWith("/.."))return A;let I=A.lastIndexOf("/");return A.slice(0,I+1)}function y(A,I){E(I,I.type),A.path==="/"?A.path=I.path:A.path=d(I.path)+A.path}function E(A,I){let k=I<=4,M=A.path.split("/"),L=1,R=0,U=!1;for(let me=1;me<M.length;me++){let de=M[me];if(!de){U=!0;continue}if(U=!1,de!=="."){if(de===".."){R?(U=!0,R--,L--):k&&(M[L++]=de);continue}M[L++]=de,R++}}let ae="";for(let me=1;me<L;me++)ae+="/"+M[me];(!ae||U&&!ae.endsWith("/.."))&&(ae+="/"),A.path=ae}function P(A,I){if(!A&&!I)return"";let k=f(A),M=k.type;if(I&&M!==7){let R=f(I),U=R.type;switch(M){case 1:k.hash=R.hash;case 2:k.query=R.query;case 3:case 4:y(k,R);case 5:k.user=R.user,k.host=R.host,k.port=R.port;case 6:k.scheme=R.scheme}U>M&&(M=U)}E(k,M);let L=k.query+k.hash;switch(M){case 2:case 3:return L;case 4:{let R=k.path.slice(1);return R?l(I||A)&&!l(R)?"./"+R+L:R+L:L||"."}case 5:return k.path+L;default:return k.scheme+"//"+k.user+k.host+k.port+k.path+L}}return P})});var Up=_((qp,$p)=>{(function(t,e,i){typeof qp=="object"&&typeof $p<"u"?e($p,Q0(),Bp()):typeof define=="function"&&define.amd?define(["module","@jridgewell/resolve-uri","@jridgewell/sourcemap-codec"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(i={exports:{}},t.resolveURI,t.sourcemapCodec),t.traceMapping="default"in i.exports?i.exports.default:i.exports)})(qp,function(t,e,i){"use strict";var r=Object.create,s=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,o=(N,j)=>function(){return j||(0,N[a(N)[0]])((j={exports:{}}).exports,j),j.exports},u=(N,j)=>{for(var q in j)s(N,q,{get:j[q],enumerable:!0})},f=(N,j,q,X)=>{if(j&&typeof j=="object"||typeof j=="function")for(let fe of a(j))!c.call(N,fe)&&fe!==q&&s(N,fe,{get:()=>j[fe],enumerable:!(X=n(j,fe))||X.enumerable});return N},d=(N,j,q)=>(q=N!=null?r(l(N)):{},f(j||!N||!N.__esModule?s(q,"default",{value:N,enumerable:!0}):q,N)),y=N=>f(s({},"__esModule",{value:!0}),N),E=o({"umd:@jridgewell/sourcemap-codec"(N,j){j.exports=i}}),P=o({"umd:@jridgewell/resolve-uri"(N,j){j.exports=e}}),A={};u(A,{AnyMap:()=>Re,FlattenMap:()=>Re,GREATEST_LOWER_BOUND:()=>$t,LEAST_UPPER_BOUND:()=>Jt,TraceMap:()=>K,allGeneratedPositionsFor:()=>Et,decodedMap:()=>gr,decodedMappings:()=>te,eachMapping:()=>Zt,encodedMap:()=>Hr,encodedMappings:()=>Z,generatedPositionFor:()=>Fe,isIgnored:()=>yr,originalPositionFor:()=>Te,presortedDecodedMap:()=>Tr,sourceContentFor:()=>Xr,traceSegment:()=>ye}),t.exports=y(A);var I=d(E()),k=d(P());function M(N){if(!N)return"";let j=N.lastIndexOf("/");return N.slice(0,j+1)}function L(N,j){let q=M(N),X=j?j+"/":"";return fe=>(0,k.default)(X+(fe||""),q)}var R=0,U=1,ae=2,me=3,de=4,st=1,ue=2;function De(N,j){let q=yt(N,0);if(q===N.length)return N;j||(N=N.slice());for(let X=q;X<N.length;X=yt(N,X+1))N[X]=Fi(N[X],j);return N}function yt(N,j){for(let q=j;q<N.length;q++)if(!kt(N[q]))return q;return N.length}function kt(N){for(let j=1;j<N.length;j++)if(N[j][R]<N[j-1][R])return!1;return!0}function Fi(N,j){return j||(N=N.slice()),N.sort(bi)}function bi(N,j){return N[R]-j[R]}var J=!1;function z(N,j,q,X){for(;q<=X;){let fe=q+(X-q>>1),oe=N[fe][R]-j;if(oe===0)return J=!0,fe;oe<0?q=fe+1:X=fe-1}return J=!1,q-1}function F(N,j,q){for(let X=q+1;X<N.length&&N[X][R]===j;q=X++);return q}function G(N,j,q){for(let X=q-1;X>=0&&N[X][R]===j;q=X--);return q}function pe(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function Pe(N,j,q,X){let{lastKey:fe,lastNeedle:oe,lastIndex:Ne}=q,Ye=0,Ae=N.length-1;if(X===fe){if(j===oe)return J=Ne!==-1&&N[Ne][R]===j,Ne;j>=oe?Ye=Ne===-1?0:Ne:Ae=Ne}return q.lastKey=X,q.lastNeedle=j,q.lastIndex=z(N,j,Ye,Ae)}function Ue(N,j){let q=j.map(ze);for(let X=0;X<N.length;X++){let fe=N[X];for(let oe=0;oe<fe.length;oe++){let Ne=fe[oe];if(Ne.length===1)continue;let Ye=Ne[U],Ae=Ne[ae],Xe=Ne[me],Ut=q[Ye],tt=Ut[Ae]||(Ut[Ae]=[]),Tt=j[Ye],Xt=F(tt,Xe,Pe(tt,Xe,Tt,Ae));Tt.lastIndex=++Xt,Le(tt,Xt,[Xe,X,Ne[R]])}}return q}function Le(N,j,q){for(let X=N.length;X>j;X--)N[X]=N[X-1];N[j]=q}function ze(){return{__proto__:null}}function Me(N){return typeof N=="string"?JSON.parse(N):N}var Re=function(N,j){let q=Me(N);if(!("sections"in q))return new K(q,j);let X=[],fe=[],oe=[],Ne=[],Ye=[];Je(q,j,X,fe,oe,Ne,Ye,0,0,1/0,1/0);let Ae={version:3,file:q.file,names:Ne,sources:fe,sourcesContent:oe,mappings:X,ignoreList:Ye};return Tr(Ae)};function Je(N,j,q,X,fe,oe,Ne,Ye,Ae,Xe,Ut){let{sections:tt}=N;for(let Tt=0;Tt<tt.length;Tt++){let{map:Xt,offset:Si}=tt[Tt],br=Xe,Gr=Ut;if(Tt+1<tt.length){let Qr=tt[Tt+1].offset;br=Math.min(Xe,Ye+Qr.line),br===Xe?Gr=Math.min(Ut,Ae+Qr.column):br<Xe&&(Gr=Ae+Qr.column)}Ze(Xt,j,q,X,fe,oe,Ne,Ye+Si.line,Ae+Si.column,br,Gr)}}function Ze(N,j,q,X,fe,oe,Ne,Ye,Ae,Xe,Ut){let tt=Me(N);if("sections"in tt)return Je(...arguments);let Tt=new K(tt,j),Xt=X.length,Si=oe.length,br=te(Tt),{resolvedSources:Gr,sourcesContent:Qr,ignoreList:tl}=Tt;if(ve(X,Gr),ve(oe,Tt.names),Qr)ve(fe,Qr);else for(let ei=0;ei<Gr.length;ei++)fe.push(null);if(tl)for(let ei=0;ei<tl.length;ei++)Ne.push(tl[ei]+Xt);for(let ei=0;ei<br.length;ei++){let il=Ye+ei;if(il>Xe)return;let yh=et(q,il),bb=ei===0?Ae:0,Th=br[ei];for(let rl=0;rl<Th.length;rl++){let Sr=Th[rl],Jn=bb+Sr[R];if(il===Xe&&Jn>=Ut)return;if(Sr.length===1){yh.push([Jn]);continue}let gh=Xt+Sr[U],xh=Sr[ae],bh=Sr[me];yh.push(Sr.length===4?[Jn,gh,xh,bh]:[Jn,gh,xh,bh,Si+Sr[de]])}}}function ve(N,j){for(let q=0;q<j.length;q++)N.push(j[q])}function et(N,j){for(let q=N.length;q<=j;q++)N[q]=[];return N[j]}var ft="`line` must be greater than 0 (lines start at line 1)",Bi="`column` must be greater than or equal to 0 (columns start at column 0)",Jt=-1,$t=1,K=class{constructor(N,j){let q=typeof N=="string";if(!q&&N._decodedMemo)return N;let X=Me(N),{version:fe,file:oe,names:Ne,sourceRoot:Ye,sources:Ae,sourcesContent:Xe}=X;this.version=fe,this.file=oe,this.names=Ne||[],this.sourceRoot=Ye,this.sources=Ae,this.sourcesContent=Xe,this.ignoreList=X.ignoreList||X.x_google_ignoreList||void 0;let Ut=L(j,Ye);this.resolvedSources=Ae.map(Ut);let{mappings:tt}=X;if(typeof tt=="string")this._encoded=tt,this._decoded=void 0;else if(Array.isArray(tt))this._encoded=void 0,this._decoded=De(tt,q);else throw X.sections?new Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):new Error(`invalid source map: ${JSON.stringify(X)}`);this._decodedMemo=pe(),this._bySources=void 0,this._bySourceMemos=void 0}};function V(N){return N}function Z(N){var j,q;return(q=(j=N)._encoded)!=null?q:j._encoded=(0,I.encode)(N._decoded)}function te(N){var j;return(j=N)._decoded||(j._decoded=(0,I.decode)(N._encoded))}function ye(N,j,q){let X=te(N);if(j>=X.length)return null;let fe=X[j],oe=zn(fe,N._decodedMemo,j,q,$t);return oe===-1?null:fe[oe]}function Te(N,j){let{line:q,column:X,bias:fe}=j;if(q--,q<0)throw new Error(ft);if(X<0)throw new Error(Bi);let oe=te(N);if(q>=oe.length)return xr(null,null,null,null);let Ne=oe[q],Ye=zn(Ne,N._decodedMemo,q,X,fe||$t);if(Ye===-1)return xr(null,null,null,null);let Ae=Ne[Ye];if(Ae.length===1)return xr(null,null,null,null);let{names:Xe,resolvedSources:Ut}=N;return xr(Ut[Ae[U]],Ae[ae]+1,Ae[me],Ae.length===5?Xe[Ae[de]]:null)}function Fe(N,j){let{source:q,line:X,column:fe,bias:oe}=j;return mh(N,q,X,fe,oe||$t,!1)}function Et(N,j){let{source:q,line:X,column:fe,bias:oe}=j;return mh(N,q,X,fe,oe||Jt,!0)}function Zt(N,j){let q=te(N),{names:X,resolvedSources:fe}=N;for(let oe=0;oe<q.length;oe++){let Ne=q[oe];for(let Ye=0;Ye<Ne.length;Ye++){let Ae=Ne[Ye],Xe=oe+1,Ut=Ae[0],tt=null,Tt=null,Xt=null,Si=null;Ae.length!==1&&(tt=fe[Ae[1]],Tt=Ae[2]+1,Xt=Ae[3]),Ae.length===5&&(Si=X[Ae[4]]),j({generatedLine:Xe,generatedColumn:Ut,source:tt,originalLine:Tt,originalColumn:Xt,name:Si})}}}function Jr(N,j){let{sources:q,resolvedSources:X}=N,fe=q.indexOf(j);return fe===-1&&(fe=X.indexOf(j)),fe}function Xr(N,j){let{sourcesContent:q}=N;if(q==null)return null;let X=Jr(N,j);return X===-1?null:q[X]}function yr(N,j){let{ignoreList:q}=N;if(q==null)return!1;let X=Jr(N,j);return X===-1?!1:q.includes(X)}function Tr(N,j){let q=new K(ji(N,[]),j);return q._decoded=N.mappings,q}function gr(N){return ji(N,te(N))}function Hr(N){return ji(N,Z(N))}function ji(N,j){return{version:N.version,file:N.file,names:N.names,sourceRoot:N.sourceRoot,sources:N.sources,sourcesContent:N.sourcesContent,mappings:j,ignoreList:N.ignoreList||N.x_google_ignoreList}}function xr(N,j,q,X){return{source:N,line:j,column:q,name:X}}function Ms(N,j){return{line:N,column:j}}function zn(N,j,q,X,fe){let oe=Pe(N,X,j,q);return J?oe=(fe===Jt?F:G)(N,X,oe):fe===Jt&&oe++,oe===-1||oe===N.length?-1:oe}function xb(N,j,q,X,fe){let oe=zn(N,j,q,X,$t);if(!J&&fe===Jt&&oe++,oe===-1||oe===N.length)return[];let Ne=J?X:N[oe][R];J||(oe=G(N,Ne,oe));let Ye=F(N,Ne,oe),Ae=[];for(;oe<=Ye;oe++){let Xe=N[oe];Ae.push(Ms(Xe[st]+1,Xe[ue]))}return Ae}function mh(N,j,q,X,fe,oe){var Ne;if(q--,q<0)throw new Error(ft);if(X<0)throw new Error(Bi);let{sources:Ye,resolvedSources:Ae}=N,Xe=Ye.indexOf(j);if(Xe===-1&&(Xe=Ae.indexOf(j)),Xe===-1)return oe?[]:Ms(null,null);let tt=((Ne=N)._bySources||(Ne._bySources=Ue(te(N),N._bySourceMemos=Ye.map(pe))))[Xe][q];if(tt==null)return oe?[]:Ms(null,null);let Tt=N._bySourceMemos[Xe];if(oe)return xb(tt,Tt,q,X,fe);let Xt=zn(tt,Tt,q,X,fe);if(Xt===-1)return Ms(null,null);let Si=tt[Xt];return Ms(Si[st]+1,Si[ue])}})});var Z0=_((Kp,Vp)=>{(function(t,e,i){typeof Kp=="object"&&typeof Vp<"u"?e(Vp,Bp(),Up()):typeof define=="function"&&define.amd?define(["module","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(i={exports:{}},t.sourcemapCodec,t.traceMapping),t.genMapping="default"in i.exports?i.exports.default:i.exports)})(Kp,function(t,e,i){"use strict";var r=Object.create,s=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,o=(K,V)=>function(){return V||(0,K[a(K)[0]])((V={exports:{}}).exports,V),V.exports},u=(K,V)=>{for(var Z in V)s(K,Z,{get:V[Z],enumerable:!0})},f=(K,V,Z,te)=>{if(V&&typeof V=="object"||typeof V=="function")for(let ye of a(V))!c.call(K,ye)&&ye!==Z&&s(K,ye,{get:()=>V[ye],enumerable:!(te=n(V,ye))||te.enumerable});return K},d=(K,V,Z)=>(Z=K!=null?r(l(K)):{},f(V||!K||!K.__esModule?s(Z,"default",{value:K,enumerable:!0}):Z,K)),y=K=>f(s({},"__esModule",{value:!0}),K),E=o({"umd:@jridgewell/sourcemap-codec"(K,V){V.exports=e}}),P=o({"umd:@jridgewell/trace-mapping"(K,V){V.exports=i}}),A={};u(A,{GenMapping:()=>kt,addMapping:()=>J,addSegment:()=>bi,allMappings:()=>ze,fromMap:()=>Le,maybeAddMapping:()=>F,maybeAddSegment:()=>z,setIgnore:()=>pe,setSourceContent:()=>G,toDecodedMap:()=>Pe,toEncodedMap:()=>Ue}),t.exports=y(A);var I=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function k(K){return K}function M(K,V){return K._indexes[V]}function L(K,V){let Z=M(K,V);if(Z!==void 0)return Z;let{array:te,_indexes:ye}=K,Te=te.push(V);return ye[V]=Te-1}function R(K,V){let Z=M(K,V);if(Z===void 0)return;let{array:te,_indexes:ye}=K;for(let Te=Z+1;Te<te.length;Te++){let Fe=te[Te];te[Te-1]=Fe,ye[Fe]--}ye[V]=void 0,te.pop()}var U=d(E()),ae=d(P()),me=0,de=1,st=2,ue=3,De=4,yt=-1,kt=class{constructor({file:K,sourceRoot:V}={}){this._names=new I,this._sources=new I,this._sourcesContent=[],this._mappings=[],this.file=K,this.sourceRoot=V,this._ignoreList=new I}};function Fi(K){return K}function bi(K,V,Z,te,ye,Te,Fe,Et){return Me(!1,K,V,Z,te,ye,Te,Fe,Et)}function J(K,V){return $t(!1,K,V)}var z=(K,V,Z,te,ye,Te,Fe,Et)=>Me(!0,K,V,Z,te,ye,Te,Fe,Et),F=(K,V)=>$t(!0,K,V);function G(K,V,Z){let{_sources:te,_sourcesContent:ye}=K,Te=L(te,V);ye[Te]=Z}function pe(K,V,Z=!0){let{_sources:te,_sourcesContent:ye,_ignoreList:Te}=K,Fe=L(te,V);Fe===ye.length&&(ye[Fe]=null),Z?L(Te,Fe):R(Te,Fe)}function Pe(K){let{_mappings:V,_sources:Z,_sourcesContent:te,_names:ye,_ignoreList:Te}=K;return et(V),{version:3,file:K.file||void 0,names:ye.array,sourceRoot:K.sourceRoot||void 0,sources:Z.array,sourcesContent:te,mappings:V,ignoreList:Te.array}}function Ue(K){let V=Pe(K);return Object.assign({},V,{mappings:(0,U.encode)(V.mappings)})}function Le(K){let V=new ae.TraceMap(K),Z=new kt({file:V.file,sourceRoot:V.sourceRoot});return ft(Z._names,V.names),ft(Z._sources,V.sources),Z._sourcesContent=V.sourcesContent||V.sources.map(()=>null),Z._mappings=(0,ae.decodedMappings)(V),V.ignoreList&&ft(Z._ignoreList,V.ignoreList),Z}function ze(K){let V=[],{_mappings:Z,_sources:te,_names:ye}=K;for(let Te=0;Te<Z.length;Te++){let Fe=Z[Te];for(let Et=0;Et<Fe.length;Et++){let Zt=Fe[Et],Jr={line:Te+1,column:Zt[me]},Xr,yr,Tr;Zt.length!==1&&(Xr=te.array[Zt[de]],yr={line:Zt[st]+1,column:Zt[ue]},Zt.length===5&&(Tr=ye.array[Zt[De]])),V.push({generated:Jr,source:Xr,original:yr,name:Tr})}}return V}function Me(K,V,Z,te,ye,Te,Fe,Et,Zt){let{_mappings:Jr,_sources:Xr,_sourcesContent:yr,_names:Tr}=V,gr=Je(Jr,Z),Hr=Ze(gr,te);if(!ye)return K&&Bi(gr,Hr)?void 0:ve(gr,Hr,[te]);let ji=L(Xr,ye),xr=Et?L(Tr,Et):yt;if(ji===yr.length&&(yr[ji]=Zt??null),!(K&&Jt(gr,Hr,ji,Te,Fe,xr)))return ve(gr,Hr,Et?[te,ji,Te,Fe,xr]:[te,ji,Te,Fe])}function Re(K){}function Je(K,V){for(let Z=K.length;Z<=V;Z++)K[Z]=[];return K[V]}function Ze(K,V){let Z=K.length;for(let te=Z-1;te>=0;Z=te--){let ye=K[te];if(V>=ye[me])break}return Z}function ve(K,V,Z){for(let te=K.length;te>V;te--)K[te]=K[te-1];K[V]=Z}function et(K){let{length:V}=K,Z=V;for(let te=Z-1;te>=0&&!(K[te].length>0);Z=te,te--);Z<V&&(K.length=Z)}function ft(K,V){for(let Z=0;Z<V.length;Z++)L(K,V[Z])}function Bi(K,V){return V===0?!0:K[V-1].length===1}function Jt(K,V,Z,te,ye,Te){if(V===0)return!1;let Fe=K[V-1];return Fe.length===1?!1:Z===Fe[de]&&te===Fe[st]&&ye===Fe[ue]&&Te===(Fe.length===5?Fe[De]:yt)}function $t(K,V,Z){let{generated:te,source:ye,original:Te,name:Fe,content:Et}=Z;return ye?Me(K,V,te.line-1,te.column,ye,Te.line-1,Te.column,Fe,Et):Me(K,V,te.line-1,te.column,null,null,null,null,null)}})});var eT=_(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var ur=Z0(),Wp=Up(),Yp=class{constructor(e,i){var r;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;let s=this._map=new ur.GenMapping({sourceRoot:e.sourceRoot});if(this._sourceFileName=(r=e.sourceFileName)==null?void 0:r.replace(/\\/g,"/"),this._rawMappings=void 0,e.inputSourceMap){this._inputMap=new Wp.TraceMap(e.inputSourceMap);let a=this._inputMap.resolvedSources;if(a.length)for(let l=0;l<a.length;l++){var n;(0,ur.setSourceContent)(s,a[l],(n=this._inputMap.sourcesContent)==null?void 0:n[l])}}if(typeof i=="string"&&!e.inputSourceMap)(0,ur.setSourceContent)(s,this._sourceFileName,i);else if(typeof i=="object")for(let a of Object.keys(i))(0,ur.setSourceContent)(s,a.replace(/\\/g,"/"),i[a])}get(){return(0,ur.toEncodedMap)(this._map)}getDecoded(){return(0,ur.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,ur.allMappings)(this._map))}mark(e,i,r,s,n,a){var l;this._rawMappings=void 0;let c;if(i!=null)if(this._inputMap){if(c=(0,Wp.originalPositionFor)(this._inputMap,{line:i,column:r}),!c.name&&n){let o=(0,Wp.originalPositionFor)(this._inputMap,n);o.name&&(s=o.name)}}else c={source:a?.replace(/\\/g,"/")||this._sourceFileName,line:i,column:r};(0,ur.maybeAddMapping)(this._map,{name:s,generated:e,source:(l=c)==null?void 0:l.source,original:c})}};bo.default=Yp});var tT=_(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.default=void 0;var zp=class{constructor(e,i){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=e,this._indentChar=i;for(let r=0;r<64;r++)this._fastIndentations.push(i.repeat(r));this._allocQueue()}_allocQueue(){let e=this._queue;for(let i=0;i<16;i++)e.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(e,i,r,s,n){let a=this._queueCursor;a===this._queue.length&&this._allocQueue();let l=this._queue[a];l.char=e,l.repeat=i,l.line=r,l.column=s,l.filename=n,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let e=this._map,i={code:(this._buf+this._str).trimRight(),decodedMap:e?.getDecoded(),get __mergedMap(){return this.map},get map(){let r=e?e.get():null;return i.map=r,r},set map(r){Object.defineProperty(i,"map",{value:r,writable:!0})},get rawMappings(){let r=e?.getRawMappings();return i.rawMappings=r,r},set rawMappings(r){Object.defineProperty(i,"rawMappings",{value:r,writable:!0})}};return i}append(e,i){this._flush(),this._append(e,this._sourcePosition,i)}appendChar(e){this._flush(),this._appendChar(e,1,this._sourcePosition)}queue(e){if(e===10)for(;this._queueCursor!==0;){let r=this._queue[this._queueCursor-1].char;if(r!==32&&r!==9)break;this._queueCursor--}let i=this._sourcePosition;this._pushQueue(e,1,i.line,i.column,i.filename)}queueIndentation(e){e!==0&&this._pushQueue(-1,e,void 0,void 0,void 0)}_flush(){let e=this._queueCursor,i=this._queue;for(let r=0;r<e;r++){let s=i[r];this._appendChar(s.char,s.repeat,s)}this._queueCursor=0}_appendChar(e,i,r){if(this._last=e,e===-1){let s=this._fastIndentations[i];s!==void 0?this._str+=s:this._str+=i>1?this._indentChar.repeat(i):this._indentChar}else this._str+=i>1?String.fromCharCode(e).repeat(i):String.fromCharCode(e);e!==10?(this._mark(r.line,r.column,r.identifierName,r.identifierNamePos,r.filename),this._position.column+=i):(this._position.line++,this._position.column=0),this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0)}_append(e,i,r){let s=e.length,n=this._position;if(this._last=e.charCodeAt(s-1),++this._appendCount>4096?(+this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,!r&&!this._map){n.column+=s;return}let{column:a,identifierName:l,identifierNamePos:c,filename:o}=i,u=i.line;(l!=null||c!=null)&&this._canMarkIdName&&(i.identifierName=void 0,i.identifierNamePos=void 0);let f=e.indexOf(`
|
|
22
|
+
Expected ${i.length+1} quasis but got ${t.quasis.length}`)})}}});ce("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let t=(0,B.assertNodeType)("NumericLiteral","BigIntLiteral"),e=(0,B.assertOneOf)("-"),i=(0,B.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function r(s,n,a){(0,l_.default)("UnaryExpression",a)?(e(a,"operator",a.operator),t(a,"argument",a.argument)):i(s,n,a)}return r.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],r}()}}});ce("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,B.validateType)("TSEntityName"),typeParameters:(0,B.validateOptionalType)("TSTypeParameterInstantiation")}});ce("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,B.validateOptional)(Vt),id:(0,B.validateType)("Identifier"),typeParameters:(0,B.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,B.validateOptional)((0,B.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,B.validateType)("TSInterfaceBody")}});ce("TSInterfaceBody",{visitor:["body"],fields:{body:(0,B.validateArrayOfType)("TSTypeElement")}});ce("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,B.validateOptional)(Vt),id:(0,B.validateType)("Identifier"),typeParameters:(0,B.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,B.validateType)("TSType")}});ce("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,B.validateType)("Expression"),typeParameters:(0,B.validateOptionalType)("TSTypeParameterInstantiation")}});var Zm={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,B.validateType)("Expression"),typeAnnotation:(0,B.validateType)("TSType")}};ce("TSAsExpression",Zm);ce("TSSatisfiesExpression",Zm);ce("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,B.validateType)("TSType"),expression:(0,B.validateType)("Expression")}});ce("TSEnumBody",{visitor:["members"],fields:{members:(0,B.validateArrayOfType)("TSEnumMember")}});ce("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,B.validateOptional)(Vt),const:(0,B.validateOptional)(Vt),id:(0,B.validateType)("Identifier"),members:(0,B.validateArrayOfType)("TSEnumMember"),initializer:(0,B.validateOptionalType)("Expression"),body:(0,B.validateOptionalType)("TSEnumBody")}});ce("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,B.validateType)("Identifier","StringLiteral"),initializer:(0,B.validateOptionalType)("Expression")}});ce("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:(0,B.assertOneOf)("global","module","namespace")},declare:(0,B.validateOptional)(Vt)},{global:(0,B.validateOptional)(Vt)},{id:(0,B.validateType)("Identifier","StringLiteral"),body:(0,B.validateType)("TSModuleBlock","TSModuleDeclaration")})});ce("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,B.validateArrayOfType)("Statement")}});ce("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:{argument:(0,B.validateType)("StringLiteral"),qualifier:(0,B.validateOptionalType)("TSEntityName"),typeParameters:(0,B.validateOptionalType)("TSTypeParameterInstantiation"),options:{validate:(0,B.assertNodeType)("ObjectExpression"),optional:!0}}});ce("TSImportEqualsDeclaration",{aliases:["Statement","Declaration"],visitor:["id","moduleReference"],fields:Object.assign({},{isExport:(0,B.validate)(Vt)},{id:(0,B.validateType)("Identifier"),moduleReference:(0,B.validateType)("TSEntityName","TSExternalModuleReference"),importKind:{validate:(0,B.assertOneOf)("type","value"),optional:!0}})});ce("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,B.validateType)("StringLiteral")}});ce("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,B.validateType)("Expression")}});ce("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,B.validateType)("Expression")}});ce("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,B.validateType)("Identifier")}});ce("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,B.assertNodeType)("TSType")}}});ce("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:(0,B.validateArrayOfType)("TSType")}});ce("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:(0,B.validateArrayOfType)("TSTypeParameter")}});ce("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,B.assertValueType)("string")},in:{validate:(0,B.assertValueType)("boolean"),optional:!0},out:{validate:(0,B.assertValueType)("boolean"),optional:!0},const:{validate:(0,B.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,B.assertNodeType)("TSType"),optional:!0},default:{validate:(0,B.assertNodeType)("TSType"),optional:!0}}})});var ty=_(Za=>{"use strict";Object.defineProperty(Za,"__esModule",{value:!0});Za.DEPRECATED_ALIASES=void 0;var cZ=Za.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var si=_(Ft=>{"use strict";Object.defineProperty(Ft,"__esModule",{value:!0});Object.defineProperty(Ft,"ALIAS_KEYS",{enumerable:!0,get:function(){return Wt.ALIAS_KEYS}});Object.defineProperty(Ft,"BUILDER_KEYS",{enumerable:!0,get:function(){return Wt.BUILDER_KEYS}});Object.defineProperty(Ft,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return Xc.DEPRECATED_ALIASES}});Object.defineProperty(Ft,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return Wt.DEPRECATED_KEYS}});Object.defineProperty(Ft,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return Wt.FLIPPED_ALIAS_KEYS}});Object.defineProperty(Ft,"NODE_FIELDS",{enumerable:!0,get:function(){return Wt.NODE_FIELDS}});Object.defineProperty(Ft,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return Wt.NODE_PARENT_VALIDATIONS}});Object.defineProperty(Ft,"PLACEHOLDERS",{enumerable:!0,get:function(){return Hc.PLACEHOLDERS}});Object.defineProperty(Ft,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return Hc.PLACEHOLDERS_ALIAS}});Object.defineProperty(Ft,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return Hc.PLACEHOLDERS_FLIPPED_ALIAS}});Ft.TYPES=void 0;Object.defineProperty(Ft,"VISITOR_KEYS",{enumerable:!0,get:function(){return Wt.VISITOR_KEYS}});bn();Km();Vm();Wm();Ym();ey();var Wt=ki(),Hc=zc(),Xc=ty();Object.keys(Xc.DEPRECATED_ALIASES).forEach(t=>{Wt.FLIPPED_ALIAS_KEYS[t]=Wt.FLIPPED_ALIAS_KEYS[Xc.DEPRECATED_ALIASES[t]]});for(let{types:t,set:e}of Wt.allExpandedTypes)for(let i of t){let r=Wt.FLIPPED_ALIAS_KEYS[i];r?r.forEach(e.add,e):e.add(i)}var pZ=Ft.TYPES=[].concat(Object.keys(Wt.VISITOR_KEYS),Object.keys(Wt.FLIPPED_ALIAS_KEYS),Object.keys(Wt.DEPRECATED_KEYS))});var Xa=_(Ss=>{"use strict";Object.defineProperty(Ss,"__esModule",{value:!0});Ss.default=u_;Ss.validateChild=ry;Ss.validateField=iy;Ss.validateInternal=p_;var Sn=si();function u_(t,e,i){if(!t)return;let r=Sn.NODE_FIELDS[t.type];if(!r)return;let s=r[e];iy(t,e,i,s),ry(t,e,i)}function p_(t,e,i,r,s){if(t!=null&&t.validate&&!(t.optional&&r==null)&&(t.validate(e,i,r),s)){var n;let a=r.type;if(a==null)return;(n=Sn.NODE_PARENT_VALIDATIONS[a])==null||n.call(Sn.NODE_PARENT_VALIDATIONS,e,i,r)}}function iy(t,e,i,r){r!=null&&r.validate&&(r.optional&&i==null||r.validate(t,e,i))}function ry(t,e,i){var r;let s=i?.type;s!=null&&((r=Sn.NODE_PARENT_VALIDATIONS[s])==null||r.call(Sn.NODE_PARENT_VALIDATIONS,t,e,i))}});var Gc=_(m=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0});m.anyTypeAnnotation=WO;m.argumentPlaceholder=b2;m.arrayExpression=m_;m.arrayPattern=uO;m.arrayTypeAnnotation=YO;m.arrowFunctionExpression=pO;m.assignmentExpression=y_;m.assignmentPattern=cO;m.awaitExpression=DO;m.bigIntLiteral=d_;m.binaryExpression=T_;m.bindExpression=S2;m.blockStatement=S_;m.booleanLiteral=$_;m.booleanLiteralTypeAnnotation=JO;m.booleanTypeAnnotation=zO;m.breakStatement=E_;m.callExpression=P_;m.catchClause=v_;m.classAccessorProperty=RO;m.classBody=fO;m.classDeclaration=dO;m.classExpression=hO;m.classImplements=HO;m.classMethod=wO;m.classPrivateMethod=$O;m.classPrivateProperty=qO;m.classProperty=jO;m.conditionalExpression=A_;m.continueStatement=w_;m.debuggerStatement=C_;m.decimalLiteral=C2;m.declareClass=GO;m.declareExportAllDeclaration=aN;m.declareExportDeclaration=nN;m.declareFunction=QO;m.declareInterface=ZO;m.declareModule=eN;m.declareModuleExports=tN;m.declareOpaqueType=rN;m.declareTypeAlias=iN;m.declareVariable=sN;m.declaredPredicate=oN;m.decorator=E2;m.directive=x_;m.directiveLiteral=b_;m.doExpression=P2;m.doWhileStatement=I_;m.emptyStatement=k_;m.emptyTypeAnnotation=gN;m.enumBooleanBody=YN;m.enumBooleanMember=HN;m.enumDeclaration=WN;m.enumDefaultedMember=ZN;m.enumNumberBody=zN;m.enumNumberMember=GN;m.enumStringBody=JN;m.enumStringMember=QN;m.enumSymbolBody=XN;m.existsTypeAnnotation=lN;m.exportAllDeclaration=mO;m.exportDefaultDeclaration=yO;m.exportDefaultSpecifier=v2;m.exportNamedDeclaration=TO;m.exportNamespaceSpecifier=MO;m.exportSpecifier=gO;m.expressionStatement=__;m.file=O_;m.forInStatement=N_;m.forOfStatement=xO;m.forStatement=D_;m.functionDeclaration=L_;m.functionExpression=M_;m.functionTypeAnnotation=cN;m.functionTypeParam=uN;m.genericTypeAnnotation=pN;m.identifier=F_;m.ifStatement=B_;m.import=LO;m.importAttribute=VO;m.importDeclaration=bO;m.importDefaultSpecifier=SO;m.importExpression=vO;m.importNamespaceSpecifier=EO;m.importSpecifier=PO;m.indexedAccessType=e2;m.inferredPredicate=fN;m.interfaceDeclaration=dN;m.interfaceExtends=hN;m.interfaceTypeAnnotation=mN;m.interpreterDirective=g_;m.intersectionTypeAnnotation=yN;m.jSXAttribute=m.jsxAttribute=i2;m.jSXClosingElement=m.jsxClosingElement=r2;m.jSXClosingFragment=m.jsxClosingFragment=y2;m.jSXElement=m.jsxElement=s2;m.jSXEmptyExpression=m.jsxEmptyExpression=n2;m.jSXExpressionContainer=m.jsxExpressionContainer=a2;m.jSXFragment=m.jsxFragment=d2;m.jSXIdentifier=m.jsxIdentifier=l2;m.jSXMemberExpression=m.jsxMemberExpression=c2;m.jSXNamespacedName=m.jsxNamespacedName=u2;m.jSXOpeningElement=m.jsxOpeningElement=p2;m.jSXOpeningFragment=m.jsxOpeningFragment=m2;m.jSXSpreadAttribute=m.jsxSpreadAttribute=f2;m.jSXSpreadChild=m.jsxSpreadChild=o2;m.jSXText=m.jsxText=h2;m.labeledStatement=j_;m.logicalExpression=U_;m.memberExpression=K_;m.metaProperty=AO;m.mixedTypeAnnotation=TN;m.moduleExpression=I2;m.newExpression=V_;m.noop=T2;m.nullLiteral=q_;m.nullLiteralTypeAnnotation=XO;m.nullableTypeAnnotation=xN;m.numberLiteral=zD;m.numberLiteralTypeAnnotation=bN;m.numberTypeAnnotation=SN;m.numericLiteral=sy;m.objectExpression=Y_;m.objectMethod=z_;m.objectPattern=CO;m.objectProperty=J_;m.objectTypeAnnotation=EN;m.objectTypeCallProperty=vN;m.objectTypeIndexer=AN;m.objectTypeInternalSlot=PN;m.objectTypeProperty=wN;m.objectTypeSpreadProperty=CN;m.opaqueType=IN;m.optionalCallExpression=BO;m.optionalIndexedAccessType=t2;m.optionalMemberExpression=FO;m.parenthesizedExpression=G_;m.pipelineBareFunction=O2;m.pipelinePrimaryTopicReference=N2;m.pipelineTopicExpression=_2;m.placeholder=g2;m.privateName=UO;m.program=W_;m.qualifiedTypeIdentifier=kN;m.recordExpression=A2;m.regExpLiteral=ny;m.regexLiteral=JD;m.restElement=ay;m.restProperty=XD;m.returnStatement=X_;m.sequenceExpression=H_;m.spreadElement=oy;m.spreadProperty=HD;m.staticBlock=KO;m.stringLiteral=R_;m.stringLiteralTypeAnnotation=_N;m.stringTypeAnnotation=ON;m.super=IO;m.switchCase=Q_;m.switchStatement=Z_;m.symbolTypeAnnotation=NN;m.taggedTemplateExpression=kO;m.templateElement=_O;m.templateLiteral=OO;m.thisExpression=eO;m.thisTypeAnnotation=DN;m.throwStatement=tO;m.topicReference=k2;m.tryStatement=iO;m.tSAnyKeyword=m.tsAnyKeyword=K2;m.tSArrayType=m.tsArrayType=cD;m.tSAsExpression=m.tsAsExpression=kD;m.tSBigIntKeyword=m.tsBigIntKeyword=W2;m.tSBooleanKeyword=m.tsBooleanKeyword=V2;m.tSCallSignatureDeclaration=m.tsCallSignatureDeclaration=j2;m.tSConditionalType=m.tsConditionalType=yD;m.tSConstructSignatureDeclaration=m.tsConstructSignatureDeclaration=R2;m.tSConstructorType=m.tsConstructorType=sD;m.tSDeclareFunction=m.tsDeclareFunction=M2;m.tSDeclareMethod=m.tsDeclareMethod=F2;m.tSEnumBody=m.tsEnumBody=ND;m.tSEnumDeclaration=m.tsEnumDeclaration=DD;m.tSEnumMember=m.tsEnumMember=LD;m.tSExportAssignment=m.tsExportAssignment=$D;m.tSExpressionWithTypeArguments=m.tsExpressionWithTypeArguments=vD;m.tSExternalModuleReference=m.tsExternalModuleReference=RD;m.tSFunctionType=m.tsFunctionType=rD;m.tSImportEqualsDeclaration=m.tsImportEqualsDeclaration=jD;m.tSImportType=m.tsImportType=BD;m.tSIndexSignature=m.tsIndexSignature=U2;m.tSIndexedAccessType=m.tsIndexedAccessType=bD;m.tSInferType=m.tsInferType=TD;m.tSInstantiationExpression=m.tsInstantiationExpression=ID;m.tSInterfaceBody=m.tsInterfaceBody=wD;m.tSInterfaceDeclaration=m.tsInterfaceDeclaration=AD;m.tSIntersectionType=m.tsIntersectionType=mD;m.tSIntrinsicKeyword=m.tsIntrinsicKeyword=Y2;m.tSLiteralType=m.tsLiteralType=PD;m.tSMappedType=m.tsMappedType=SD;m.tSMethodSignature=m.tsMethodSignature=$2;m.tSModuleBlock=m.tsModuleBlock=FD;m.tSModuleDeclaration=m.tsModuleDeclaration=MD;m.tSNamedTupleMember=m.tsNamedTupleMember=hD;m.tSNamespaceExportDeclaration=m.tsNamespaceExportDeclaration=UD;m.tSNeverKeyword=m.tsNeverKeyword=z2;m.tSNonNullExpression=m.tsNonNullExpression=qD;m.tSNullKeyword=m.tsNullKeyword=J2;m.tSNumberKeyword=m.tsNumberKeyword=X2;m.tSObjectKeyword=m.tsObjectKeyword=H2;m.tSOptionalType=m.tsOptionalType=pD;m.tSParameterProperty=m.tsParameterProperty=L2;m.tSParenthesizedType=m.tsParenthesizedType=gD;m.tSPropertySignature=m.tsPropertySignature=q2;m.tSQualifiedName=m.tsQualifiedName=B2;m.tSRestType=m.tsRestType=fD;m.tSSatisfiesExpression=m.tsSatisfiesExpression=_D;m.tSStringKeyword=m.tsStringKeyword=G2;m.tSSymbolKeyword=m.tsSymbolKeyword=Q2;m.tSTemplateLiteralType=m.tsTemplateLiteralType=ED;m.tSThisType=m.tsThisType=iD;m.tSTupleType=m.tsTupleType=uD;m.tSTypeAliasDeclaration=m.tsTypeAliasDeclaration=CD;m.tSTypeAnnotation=m.tsTypeAnnotation=KD;m.tSTypeAssertion=m.tsTypeAssertion=OD;m.tSTypeLiteral=m.tsTypeLiteral=lD;m.tSTypeOperator=m.tsTypeOperator=xD;m.tSTypeParameter=m.tsTypeParameter=YD;m.tSTypeParameterDeclaration=m.tsTypeParameterDeclaration=WD;m.tSTypeParameterInstantiation=m.tsTypeParameterInstantiation=VD;m.tSTypePredicate=m.tsTypePredicate=aD;m.tSTypeQuery=m.tsTypeQuery=oD;m.tSTypeReference=m.tsTypeReference=nD;m.tSUndefinedKeyword=m.tsUndefinedKeyword=Z2;m.tSUnionType=m.tsUnionType=dD;m.tSUnknownKeyword=m.tsUnknownKeyword=eD;m.tSVoidKeyword=m.tsVoidKeyword=tD;m.tupleExpression=w2;m.tupleTypeAnnotation=LN;m.typeAlias=FN;m.typeAnnotation=BN;m.typeCastExpression=jN;m.typeParameter=RN;m.typeParameterDeclaration=qN;m.typeParameterInstantiation=$N;m.typeofTypeAnnotation=MN;m.unaryExpression=rO;m.unionTypeAnnotation=UN;m.updateExpression=sO;m.v8IntrinsicIdentifier=x2;m.variableDeclaration=nO;m.variableDeclarator=aO;m.variance=KN;m.voidPattern=D2;m.voidTypeAnnotation=VN;m.whileStatement=oO;m.withStatement=lO;m.yieldExpression=NO;var f_=Xa(),eo=ds(),h_=ki(),{validateInternal:h}=f_,{NODE_FIELDS:C}=h_;function d_(t){typeof t=="bigint"&&(t=t.toString());let e={type:"BigIntLiteral",value:t},i=C.BigIntLiteral;return h(i.value,e,"value",t),e}function m_(t=[]){let e={type:"ArrayExpression",elements:t},i=C.ArrayExpression;return h(i.elements,e,"elements",t,1),e}function y_(t,e,i){let r={type:"AssignmentExpression",operator:t,left:e,right:i},s=C.AssignmentExpression;return h(s.operator,r,"operator",t),h(s.left,r,"left",e,1),h(s.right,r,"right",i,1),r}function T_(t,e,i){let r={type:"BinaryExpression",operator:t,left:e,right:i},s=C.BinaryExpression;return h(s.operator,r,"operator",t),h(s.left,r,"left",e,1),h(s.right,r,"right",i,1),r}function g_(t){let e={type:"InterpreterDirective",value:t},i=C.InterpreterDirective;return h(i.value,e,"value",t),e}function x_(t){let e={type:"Directive",value:t},i=C.Directive;return h(i.value,e,"value",t,1),e}function b_(t){let e={type:"DirectiveLiteral",value:t},i=C.DirectiveLiteral;return h(i.value,e,"value",t),e}function S_(t,e=[]){let i={type:"BlockStatement",body:t,directives:e},r=C.BlockStatement;return h(r.body,i,"body",t,1),h(r.directives,i,"directives",e,1),i}function E_(t=null){let e={type:"BreakStatement",label:t},i=C.BreakStatement;return h(i.label,e,"label",t,1),e}function P_(t,e){let i={type:"CallExpression",callee:t,arguments:e},r=C.CallExpression;return h(r.callee,i,"callee",t,1),h(r.arguments,i,"arguments",e,1),i}function v_(t=null,e){let i={type:"CatchClause",param:t,body:e},r=C.CatchClause;return h(r.param,i,"param",t,1),h(r.body,i,"body",e,1),i}function A_(t,e,i){let r={type:"ConditionalExpression",test:t,consequent:e,alternate:i},s=C.ConditionalExpression;return h(s.test,r,"test",t,1),h(s.consequent,r,"consequent",e,1),h(s.alternate,r,"alternate",i,1),r}function w_(t=null){let e={type:"ContinueStatement",label:t},i=C.ContinueStatement;return h(i.label,e,"label",t,1),e}function C_(){return{type:"DebuggerStatement"}}function I_(t,e){let i={type:"DoWhileStatement",test:t,body:e},r=C.DoWhileStatement;return h(r.test,i,"test",t,1),h(r.body,i,"body",e,1),i}function k_(){return{type:"EmptyStatement"}}function __(t){let e={type:"ExpressionStatement",expression:t},i=C.ExpressionStatement;return h(i.expression,e,"expression",t,1),e}function O_(t,e=null,i=null){let r={type:"File",program:t,comments:e,tokens:i},s=C.File;return h(s.program,r,"program",t,1),h(s.comments,r,"comments",e,1),h(s.tokens,r,"tokens",i),r}function N_(t,e,i){let r={type:"ForInStatement",left:t,right:e,body:i},s=C.ForInStatement;return h(s.left,r,"left",t,1),h(s.right,r,"right",e,1),h(s.body,r,"body",i,1),r}function D_(t=null,e=null,i=null,r){let s={type:"ForStatement",init:t,test:e,update:i,body:r},n=C.ForStatement;return h(n.init,s,"init",t,1),h(n.test,s,"test",e,1),h(n.update,s,"update",i,1),h(n.body,s,"body",r,1),s}function L_(t=null,e,i,r=!1,s=!1){let n={type:"FunctionDeclaration",id:t,params:e,body:i,generator:r,async:s},a=C.FunctionDeclaration;return h(a.id,n,"id",t,1),h(a.params,n,"params",e,1),h(a.body,n,"body",i,1),h(a.generator,n,"generator",r),h(a.async,n,"async",s),n}function M_(t=null,e,i,r=!1,s=!1){let n={type:"FunctionExpression",id:t,params:e,body:i,generator:r,async:s},a=C.FunctionExpression;return h(a.id,n,"id",t,1),h(a.params,n,"params",e,1),h(a.body,n,"body",i,1),h(a.generator,n,"generator",r),h(a.async,n,"async",s),n}function F_(t){let e={type:"Identifier",name:t},i=C.Identifier;return h(i.name,e,"name",t),e}function B_(t,e,i=null){let r={type:"IfStatement",test:t,consequent:e,alternate:i},s=C.IfStatement;return h(s.test,r,"test",t,1),h(s.consequent,r,"consequent",e,1),h(s.alternate,r,"alternate",i,1),r}function j_(t,e){let i={type:"LabeledStatement",label:t,body:e},r=C.LabeledStatement;return h(r.label,i,"label",t,1),h(r.body,i,"body",e,1),i}function R_(t){let e={type:"StringLiteral",value:t},i=C.StringLiteral;return h(i.value,e,"value",t),e}function sy(t){let e={type:"NumericLiteral",value:t},i=C.NumericLiteral;return h(i.value,e,"value",t),e}function q_(){return{type:"NullLiteral"}}function $_(t){let e={type:"BooleanLiteral",value:t},i=C.BooleanLiteral;return h(i.value,e,"value",t),e}function ny(t,e=""){let i={type:"RegExpLiteral",pattern:t,flags:e},r=C.RegExpLiteral;return h(r.pattern,i,"pattern",t),h(r.flags,i,"flags",e),i}function U_(t,e,i){let r={type:"LogicalExpression",operator:t,left:e,right:i},s=C.LogicalExpression;return h(s.operator,r,"operator",t),h(s.left,r,"left",e,1),h(s.right,r,"right",i,1),r}function K_(t,e,i=!1,r=null){let s={type:"MemberExpression",object:t,property:e,computed:i,optional:r},n=C.MemberExpression;return h(n.object,s,"object",t,1),h(n.property,s,"property",e,1),h(n.computed,s,"computed",i),h(n.optional,s,"optional",r),s}function V_(t,e){let i={type:"NewExpression",callee:t,arguments:e},r=C.NewExpression;return h(r.callee,i,"callee",t,1),h(r.arguments,i,"arguments",e,1),i}function W_(t,e=[],i="script",r=null){let s={type:"Program",body:t,directives:e,sourceType:i,interpreter:r},n=C.Program;return h(n.body,s,"body",t,1),h(n.directives,s,"directives",e,1),h(n.sourceType,s,"sourceType",i),h(n.interpreter,s,"interpreter",r,1),s}function Y_(t){let e={type:"ObjectExpression",properties:t},i=C.ObjectExpression;return h(i.properties,e,"properties",t,1),e}function z_(t="method",e,i,r,s=!1,n=!1,a=!1){let l={type:"ObjectMethod",kind:t,key:e,params:i,body:r,computed:s,generator:n,async:a},c=C.ObjectMethod;return h(c.kind,l,"kind",t),h(c.key,l,"key",e,1),h(c.params,l,"params",i,1),h(c.body,l,"body",r,1),h(c.computed,l,"computed",s),h(c.generator,l,"generator",n),h(c.async,l,"async",a),l}function J_(t,e,i=!1,r=!1,s=null){let n={type:"ObjectProperty",key:t,value:e,computed:i,shorthand:r,decorators:s},a=C.ObjectProperty;return h(a.key,n,"key",t,1),h(a.value,n,"value",e,1),h(a.computed,n,"computed",i),h(a.shorthand,n,"shorthand",r),h(a.decorators,n,"decorators",s,1),n}function ay(t){let e={type:"RestElement",argument:t},i=C.RestElement;return h(i.argument,e,"argument",t,1),e}function X_(t=null){let e={type:"ReturnStatement",argument:t},i=C.ReturnStatement;return h(i.argument,e,"argument",t,1),e}function H_(t){let e={type:"SequenceExpression",expressions:t},i=C.SequenceExpression;return h(i.expressions,e,"expressions",t,1),e}function G_(t){let e={type:"ParenthesizedExpression",expression:t},i=C.ParenthesizedExpression;return h(i.expression,e,"expression",t,1),e}function Q_(t=null,e){let i={type:"SwitchCase",test:t,consequent:e},r=C.SwitchCase;return h(r.test,i,"test",t,1),h(r.consequent,i,"consequent",e,1),i}function Z_(t,e){let i={type:"SwitchStatement",discriminant:t,cases:e},r=C.SwitchStatement;return h(r.discriminant,i,"discriminant",t,1),h(r.cases,i,"cases",e,1),i}function eO(){return{type:"ThisExpression"}}function tO(t){let e={type:"ThrowStatement",argument:t},i=C.ThrowStatement;return h(i.argument,e,"argument",t,1),e}function iO(t,e=null,i=null){let r={type:"TryStatement",block:t,handler:e,finalizer:i},s=C.TryStatement;return h(s.block,r,"block",t,1),h(s.handler,r,"handler",e,1),h(s.finalizer,r,"finalizer",i,1),r}function rO(t,e,i=!0){let r={type:"UnaryExpression",operator:t,argument:e,prefix:i},s=C.UnaryExpression;return h(s.operator,r,"operator",t),h(s.argument,r,"argument",e,1),h(s.prefix,r,"prefix",i),r}function sO(t,e,i=!1){let r={type:"UpdateExpression",operator:t,argument:e,prefix:i},s=C.UpdateExpression;return h(s.operator,r,"operator",t),h(s.argument,r,"argument",e,1),h(s.prefix,r,"prefix",i),r}function nO(t,e){let i={type:"VariableDeclaration",kind:t,declarations:e},r=C.VariableDeclaration;return h(r.kind,i,"kind",t),h(r.declarations,i,"declarations",e,1),i}function aO(t,e=null){let i={type:"VariableDeclarator",id:t,init:e},r=C.VariableDeclarator;return h(r.id,i,"id",t,1),h(r.init,i,"init",e,1),i}function oO(t,e){let i={type:"WhileStatement",test:t,body:e},r=C.WhileStatement;return h(r.test,i,"test",t,1),h(r.body,i,"body",e,1),i}function lO(t,e){let i={type:"WithStatement",object:t,body:e},r=C.WithStatement;return h(r.object,i,"object",t,1),h(r.body,i,"body",e,1),i}function cO(t,e){let i={type:"AssignmentPattern",left:t,right:e},r=C.AssignmentPattern;return h(r.left,i,"left",t,1),h(r.right,i,"right",e,1),i}function uO(t){let e={type:"ArrayPattern",elements:t},i=C.ArrayPattern;return h(i.elements,e,"elements",t,1),e}function pO(t,e,i=!1){let r={type:"ArrowFunctionExpression",params:t,body:e,async:i,expression:null},s=C.ArrowFunctionExpression;return h(s.params,r,"params",t,1),h(s.body,r,"body",e,1),h(s.async,r,"async",i),r}function fO(t){let e={type:"ClassBody",body:t},i=C.ClassBody;return h(i.body,e,"body",t,1),e}function hO(t=null,e=null,i,r=null){let s={type:"ClassExpression",id:t,superClass:e,body:i,decorators:r},n=C.ClassExpression;return h(n.id,s,"id",t,1),h(n.superClass,s,"superClass",e,1),h(n.body,s,"body",i,1),h(n.decorators,s,"decorators",r,1),s}function dO(t=null,e=null,i,r=null){let s={type:"ClassDeclaration",id:t,superClass:e,body:i,decorators:r},n=C.ClassDeclaration;return h(n.id,s,"id",t,1),h(n.superClass,s,"superClass",e,1),h(n.body,s,"body",i,1),h(n.decorators,s,"decorators",r,1),s}function mO(t){let e={type:"ExportAllDeclaration",source:t},i=C.ExportAllDeclaration;return h(i.source,e,"source",t,1),e}function yO(t){let e={type:"ExportDefaultDeclaration",declaration:t},i=C.ExportDefaultDeclaration;return h(i.declaration,e,"declaration",t,1),e}function TO(t=null,e=[],i=null){let r={type:"ExportNamedDeclaration",declaration:t,specifiers:e,source:i},s=C.ExportNamedDeclaration;return h(s.declaration,r,"declaration",t,1),h(s.specifiers,r,"specifiers",e,1),h(s.source,r,"source",i,1),r}function gO(t,e){let i={type:"ExportSpecifier",local:t,exported:e},r=C.ExportSpecifier;return h(r.local,i,"local",t,1),h(r.exported,i,"exported",e,1),i}function xO(t,e,i,r=!1){let s={type:"ForOfStatement",left:t,right:e,body:i,await:r},n=C.ForOfStatement;return h(n.left,s,"left",t,1),h(n.right,s,"right",e,1),h(n.body,s,"body",i,1),h(n.await,s,"await",r),s}function bO(t,e){let i={type:"ImportDeclaration",specifiers:t,source:e},r=C.ImportDeclaration;return h(r.specifiers,i,"specifiers",t,1),h(r.source,i,"source",e,1),i}function SO(t){let e={type:"ImportDefaultSpecifier",local:t},i=C.ImportDefaultSpecifier;return h(i.local,e,"local",t,1),e}function EO(t){let e={type:"ImportNamespaceSpecifier",local:t},i=C.ImportNamespaceSpecifier;return h(i.local,e,"local",t,1),e}function PO(t,e){let i={type:"ImportSpecifier",local:t,imported:e},r=C.ImportSpecifier;return h(r.local,i,"local",t,1),h(r.imported,i,"imported",e,1),i}function vO(t,e=null){let i={type:"ImportExpression",source:t,options:e},r=C.ImportExpression;return h(r.source,i,"source",t,1),h(r.options,i,"options",e,1),i}function AO(t,e){let i={type:"MetaProperty",meta:t,property:e},r=C.MetaProperty;return h(r.meta,i,"meta",t,1),h(r.property,i,"property",e,1),i}function wO(t="method",e,i,r,s=!1,n=!1,a=!1,l=!1){let c={type:"ClassMethod",kind:t,key:e,params:i,body:r,computed:s,static:n,generator:a,async:l},o=C.ClassMethod;return h(o.kind,c,"kind",t),h(o.key,c,"key",e,1),h(o.params,c,"params",i,1),h(o.body,c,"body",r,1),h(o.computed,c,"computed",s),h(o.static,c,"static",n),h(o.generator,c,"generator",a),h(o.async,c,"async",l),c}function CO(t){let e={type:"ObjectPattern",properties:t},i=C.ObjectPattern;return h(i.properties,e,"properties",t,1),e}function oy(t){let e={type:"SpreadElement",argument:t},i=C.SpreadElement;return h(i.argument,e,"argument",t,1),e}function IO(){return{type:"Super"}}function kO(t,e){let i={type:"TaggedTemplateExpression",tag:t,quasi:e},r=C.TaggedTemplateExpression;return h(r.tag,i,"tag",t,1),h(r.quasi,i,"quasi",e,1),i}function _O(t,e=!1){let i={type:"TemplateElement",value:t,tail:e},r=C.TemplateElement;return h(r.value,i,"value",t),h(r.tail,i,"tail",e),i}function OO(t,e){let i={type:"TemplateLiteral",quasis:t,expressions:e},r=C.TemplateLiteral;return h(r.quasis,i,"quasis",t,1),h(r.expressions,i,"expressions",e,1),i}function NO(t=null,e=!1){let i={type:"YieldExpression",argument:t,delegate:e},r=C.YieldExpression;return h(r.argument,i,"argument",t,1),h(r.delegate,i,"delegate",e),i}function DO(t){let e={type:"AwaitExpression",argument:t},i=C.AwaitExpression;return h(i.argument,e,"argument",t,1),e}function LO(){return{type:"Import"}}function MO(t){let e={type:"ExportNamespaceSpecifier",exported:t},i=C.ExportNamespaceSpecifier;return h(i.exported,e,"exported",t,1),e}function FO(t,e,i=!1,r){let s={type:"OptionalMemberExpression",object:t,property:e,computed:i,optional:r},n=C.OptionalMemberExpression;return h(n.object,s,"object",t,1),h(n.property,s,"property",e,1),h(n.computed,s,"computed",i),h(n.optional,s,"optional",r),s}function BO(t,e,i){let r={type:"OptionalCallExpression",callee:t,arguments:e,optional:i},s=C.OptionalCallExpression;return h(s.callee,r,"callee",t,1),h(s.arguments,r,"arguments",e,1),h(s.optional,r,"optional",i),r}function jO(t,e=null,i=null,r=null,s=!1,n=!1){let a={type:"ClassProperty",key:t,value:e,typeAnnotation:i,decorators:r,computed:s,static:n},l=C.ClassProperty;return h(l.key,a,"key",t,1),h(l.value,a,"value",e,1),h(l.typeAnnotation,a,"typeAnnotation",i,1),h(l.decorators,a,"decorators",r,1),h(l.computed,a,"computed",s),h(l.static,a,"static",n),a}function RO(t,e=null,i=null,r=null,s=!1,n=!1){let a={type:"ClassAccessorProperty",key:t,value:e,typeAnnotation:i,decorators:r,computed:s,static:n},l=C.ClassAccessorProperty;return h(l.key,a,"key",t,1),h(l.value,a,"value",e,1),h(l.typeAnnotation,a,"typeAnnotation",i,1),h(l.decorators,a,"decorators",r,1),h(l.computed,a,"computed",s),h(l.static,a,"static",n),a}function qO(t,e=null,i=null,r=!1){let s={type:"ClassPrivateProperty",key:t,value:e,decorators:i,static:r},n=C.ClassPrivateProperty;return h(n.key,s,"key",t,1),h(n.value,s,"value",e,1),h(n.decorators,s,"decorators",i,1),h(n.static,s,"static",r),s}function $O(t="method",e,i,r,s=!1){let n={type:"ClassPrivateMethod",kind:t,key:e,params:i,body:r,static:s},a=C.ClassPrivateMethod;return h(a.kind,n,"kind",t),h(a.key,n,"key",e,1),h(a.params,n,"params",i,1),h(a.body,n,"body",r,1),h(a.static,n,"static",s),n}function UO(t){let e={type:"PrivateName",id:t},i=C.PrivateName;return h(i.id,e,"id",t,1),e}function KO(t){let e={type:"StaticBlock",body:t},i=C.StaticBlock;return h(i.body,e,"body",t,1),e}function VO(t,e){let i={type:"ImportAttribute",key:t,value:e},r=C.ImportAttribute;return h(r.key,i,"key",t,1),h(r.value,i,"value",e,1),i}function WO(){return{type:"AnyTypeAnnotation"}}function YO(t){let e={type:"ArrayTypeAnnotation",elementType:t},i=C.ArrayTypeAnnotation;return h(i.elementType,e,"elementType",t,1),e}function zO(){return{type:"BooleanTypeAnnotation"}}function JO(t){let e={type:"BooleanLiteralTypeAnnotation",value:t},i=C.BooleanLiteralTypeAnnotation;return h(i.value,e,"value",t),e}function XO(){return{type:"NullLiteralTypeAnnotation"}}function HO(t,e=null){let i={type:"ClassImplements",id:t,typeParameters:e},r=C.ClassImplements;return h(r.id,i,"id",t,1),h(r.typeParameters,i,"typeParameters",e,1),i}function GO(t,e=null,i=null,r){let s={type:"DeclareClass",id:t,typeParameters:e,extends:i,body:r},n=C.DeclareClass;return h(n.id,s,"id",t,1),h(n.typeParameters,s,"typeParameters",e,1),h(n.extends,s,"extends",i,1),h(n.body,s,"body",r,1),s}function QO(t){let e={type:"DeclareFunction",id:t},i=C.DeclareFunction;return h(i.id,e,"id",t,1),e}function ZO(t,e=null,i=null,r){let s={type:"DeclareInterface",id:t,typeParameters:e,extends:i,body:r},n=C.DeclareInterface;return h(n.id,s,"id",t,1),h(n.typeParameters,s,"typeParameters",e,1),h(n.extends,s,"extends",i,1),h(n.body,s,"body",r,1),s}function eN(t,e,i=null){let r={type:"DeclareModule",id:t,body:e,kind:i},s=C.DeclareModule;return h(s.id,r,"id",t,1),h(s.body,r,"body",e,1),h(s.kind,r,"kind",i),r}function tN(t){let e={type:"DeclareModuleExports",typeAnnotation:t},i=C.DeclareModuleExports;return h(i.typeAnnotation,e,"typeAnnotation",t,1),e}function iN(t,e=null,i){let r={type:"DeclareTypeAlias",id:t,typeParameters:e,right:i},s=C.DeclareTypeAlias;return h(s.id,r,"id",t,1),h(s.typeParameters,r,"typeParameters",e,1),h(s.right,r,"right",i,1),r}function rN(t,e=null,i=null){let r={type:"DeclareOpaqueType",id:t,typeParameters:e,supertype:i},s=C.DeclareOpaqueType;return h(s.id,r,"id",t,1),h(s.typeParameters,r,"typeParameters",e,1),h(s.supertype,r,"supertype",i,1),r}function sN(t){let e={type:"DeclareVariable",id:t},i=C.DeclareVariable;return h(i.id,e,"id",t,1),e}function nN(t=null,e=null,i=null,r=null){let s={type:"DeclareExportDeclaration",declaration:t,specifiers:e,source:i,attributes:r},n=C.DeclareExportDeclaration;return h(n.declaration,s,"declaration",t,1),h(n.specifiers,s,"specifiers",e,1),h(n.source,s,"source",i,1),h(n.attributes,s,"attributes",r,1),s}function aN(t,e=null){let i={type:"DeclareExportAllDeclaration",source:t,attributes:e},r=C.DeclareExportAllDeclaration;return h(r.source,i,"source",t,1),h(r.attributes,i,"attributes",e,1),i}function oN(t){let e={type:"DeclaredPredicate",value:t},i=C.DeclaredPredicate;return h(i.value,e,"value",t,1),e}function lN(){return{type:"ExistsTypeAnnotation"}}function cN(t=null,e,i=null,r){let s={type:"FunctionTypeAnnotation",typeParameters:t,params:e,rest:i,returnType:r},n=C.FunctionTypeAnnotation;return h(n.typeParameters,s,"typeParameters",t,1),h(n.params,s,"params",e,1),h(n.rest,s,"rest",i,1),h(n.returnType,s,"returnType",r,1),s}function uN(t=null,e){let i={type:"FunctionTypeParam",name:t,typeAnnotation:e},r=C.FunctionTypeParam;return h(r.name,i,"name",t,1),h(r.typeAnnotation,i,"typeAnnotation",e,1),i}function pN(t,e=null){let i={type:"GenericTypeAnnotation",id:t,typeParameters:e},r=C.GenericTypeAnnotation;return h(r.id,i,"id",t,1),h(r.typeParameters,i,"typeParameters",e,1),i}function fN(){return{type:"InferredPredicate"}}function hN(t,e=null){let i={type:"InterfaceExtends",id:t,typeParameters:e},r=C.InterfaceExtends;return h(r.id,i,"id",t,1),h(r.typeParameters,i,"typeParameters",e,1),i}function dN(t,e=null,i=null,r){let s={type:"InterfaceDeclaration",id:t,typeParameters:e,extends:i,body:r},n=C.InterfaceDeclaration;return h(n.id,s,"id",t,1),h(n.typeParameters,s,"typeParameters",e,1),h(n.extends,s,"extends",i,1),h(n.body,s,"body",r,1),s}function mN(t=null,e){let i={type:"InterfaceTypeAnnotation",extends:t,body:e},r=C.InterfaceTypeAnnotation;return h(r.extends,i,"extends",t,1),h(r.body,i,"body",e,1),i}function yN(t){let e={type:"IntersectionTypeAnnotation",types:t},i=C.IntersectionTypeAnnotation;return h(i.types,e,"types",t,1),e}function TN(){return{type:"MixedTypeAnnotation"}}function gN(){return{type:"EmptyTypeAnnotation"}}function xN(t){let e={type:"NullableTypeAnnotation",typeAnnotation:t},i=C.NullableTypeAnnotation;return h(i.typeAnnotation,e,"typeAnnotation",t,1),e}function bN(t){let e={type:"NumberLiteralTypeAnnotation",value:t},i=C.NumberLiteralTypeAnnotation;return h(i.value,e,"value",t),e}function SN(){return{type:"NumberTypeAnnotation"}}function EN(t,e=[],i=[],r=[],s=!1){let n={type:"ObjectTypeAnnotation",properties:t,indexers:e,callProperties:i,internalSlots:r,exact:s},a=C.ObjectTypeAnnotation;return h(a.properties,n,"properties",t,1),h(a.indexers,n,"indexers",e,1),h(a.callProperties,n,"callProperties",i,1),h(a.internalSlots,n,"internalSlots",r,1),h(a.exact,n,"exact",s),n}function PN(t,e,i,r,s){let n={type:"ObjectTypeInternalSlot",id:t,value:e,optional:i,static:r,method:s},a=C.ObjectTypeInternalSlot;return h(a.id,n,"id",t,1),h(a.value,n,"value",e,1),h(a.optional,n,"optional",i),h(a.static,n,"static",r),h(a.method,n,"method",s),n}function vN(t){let e={type:"ObjectTypeCallProperty",value:t,static:null},i=C.ObjectTypeCallProperty;return h(i.value,e,"value",t,1),e}function AN(t=null,e,i,r=null){let s={type:"ObjectTypeIndexer",id:t,key:e,value:i,variance:r,static:null},n=C.ObjectTypeIndexer;return h(n.id,s,"id",t,1),h(n.key,s,"key",e,1),h(n.value,s,"value",i,1),h(n.variance,s,"variance",r,1),s}function wN(t,e,i=null){let r={type:"ObjectTypeProperty",key:t,value:e,variance:i,kind:null,method:null,optional:null,proto:null,static:null},s=C.ObjectTypeProperty;return h(s.key,r,"key",t,1),h(s.value,r,"value",e,1),h(s.variance,r,"variance",i,1),r}function CN(t){let e={type:"ObjectTypeSpreadProperty",argument:t},i=C.ObjectTypeSpreadProperty;return h(i.argument,e,"argument",t,1),e}function IN(t,e=null,i=null,r){let s={type:"OpaqueType",id:t,typeParameters:e,supertype:i,impltype:r},n=C.OpaqueType;return h(n.id,s,"id",t,1),h(n.typeParameters,s,"typeParameters",e,1),h(n.supertype,s,"supertype",i,1),h(n.impltype,s,"impltype",r,1),s}function kN(t,e){let i={type:"QualifiedTypeIdentifier",id:t,qualification:e},r=C.QualifiedTypeIdentifier;return h(r.id,i,"id",t,1),h(r.qualification,i,"qualification",e,1),i}function _N(t){let e={type:"StringLiteralTypeAnnotation",value:t},i=C.StringLiteralTypeAnnotation;return h(i.value,e,"value",t),e}function ON(){return{type:"StringTypeAnnotation"}}function NN(){return{type:"SymbolTypeAnnotation"}}function DN(){return{type:"ThisTypeAnnotation"}}function LN(t){let e={type:"TupleTypeAnnotation",types:t},i=C.TupleTypeAnnotation;return h(i.types,e,"types",t,1),e}function MN(t){let e={type:"TypeofTypeAnnotation",argument:t},i=C.TypeofTypeAnnotation;return h(i.argument,e,"argument",t,1),e}function FN(t,e=null,i){let r={type:"TypeAlias",id:t,typeParameters:e,right:i},s=C.TypeAlias;return h(s.id,r,"id",t,1),h(s.typeParameters,r,"typeParameters",e,1),h(s.right,r,"right",i,1),r}function BN(t){let e={type:"TypeAnnotation",typeAnnotation:t},i=C.TypeAnnotation;return h(i.typeAnnotation,e,"typeAnnotation",t,1),e}function jN(t,e){let i={type:"TypeCastExpression",expression:t,typeAnnotation:e},r=C.TypeCastExpression;return h(r.expression,i,"expression",t,1),h(r.typeAnnotation,i,"typeAnnotation",e,1),i}function RN(t=null,e=null,i=null){let r={type:"TypeParameter",bound:t,default:e,variance:i,name:null},s=C.TypeParameter;return h(s.bound,r,"bound",t,1),h(s.default,r,"default",e,1),h(s.variance,r,"variance",i,1),r}function qN(t){let e={type:"TypeParameterDeclaration",params:t},i=C.TypeParameterDeclaration;return h(i.params,e,"params",t,1),e}function $N(t){let e={type:"TypeParameterInstantiation",params:t},i=C.TypeParameterInstantiation;return h(i.params,e,"params",t,1),e}function UN(t){let e={type:"UnionTypeAnnotation",types:t},i=C.UnionTypeAnnotation;return h(i.types,e,"types",t,1),e}function KN(t){let e={type:"Variance",kind:t},i=C.Variance;return h(i.kind,e,"kind",t),e}function VN(){return{type:"VoidTypeAnnotation"}}function WN(t,e){let i={type:"EnumDeclaration",id:t,body:e},r=C.EnumDeclaration;return h(r.id,i,"id",t,1),h(r.body,i,"body",e,1),i}function YN(t){let e={type:"EnumBooleanBody",members:t,explicitType:null,hasUnknownMembers:null},i=C.EnumBooleanBody;return h(i.members,e,"members",t,1),e}function zN(t){let e={type:"EnumNumberBody",members:t,explicitType:null,hasUnknownMembers:null},i=C.EnumNumberBody;return h(i.members,e,"members",t,1),e}function JN(t){let e={type:"EnumStringBody",members:t,explicitType:null,hasUnknownMembers:null},i=C.EnumStringBody;return h(i.members,e,"members",t,1),e}function XN(t){let e={type:"EnumSymbolBody",members:t,hasUnknownMembers:null},i=C.EnumSymbolBody;return h(i.members,e,"members",t,1),e}function HN(t){let e={type:"EnumBooleanMember",id:t,init:null},i=C.EnumBooleanMember;return h(i.id,e,"id",t,1),e}function GN(t,e){let i={type:"EnumNumberMember",id:t,init:e},r=C.EnumNumberMember;return h(r.id,i,"id",t,1),h(r.init,i,"init",e,1),i}function QN(t,e){let i={type:"EnumStringMember",id:t,init:e},r=C.EnumStringMember;return h(r.id,i,"id",t,1),h(r.init,i,"init",e,1),i}function ZN(t){let e={type:"EnumDefaultedMember",id:t},i=C.EnumDefaultedMember;return h(i.id,e,"id",t,1),e}function e2(t,e){let i={type:"IndexedAccessType",objectType:t,indexType:e},r=C.IndexedAccessType;return h(r.objectType,i,"objectType",t,1),h(r.indexType,i,"indexType",e,1),i}function t2(t,e){let i={type:"OptionalIndexedAccessType",objectType:t,indexType:e,optional:null},r=C.OptionalIndexedAccessType;return h(r.objectType,i,"objectType",t,1),h(r.indexType,i,"indexType",e,1),i}function i2(t,e=null){let i={type:"JSXAttribute",name:t,value:e},r=C.JSXAttribute;return h(r.name,i,"name",t,1),h(r.value,i,"value",e,1),i}function r2(t){let e={type:"JSXClosingElement",name:t},i=C.JSXClosingElement;return h(i.name,e,"name",t,1),e}function s2(t,e=null,i,r=null){let s={type:"JSXElement",openingElement:t,closingElement:e,children:i,selfClosing:r},n=C.JSXElement;return h(n.openingElement,s,"openingElement",t,1),h(n.closingElement,s,"closingElement",e,1),h(n.children,s,"children",i,1),h(n.selfClosing,s,"selfClosing",r),s}function n2(){return{type:"JSXEmptyExpression"}}function a2(t){let e={type:"JSXExpressionContainer",expression:t},i=C.JSXExpressionContainer;return h(i.expression,e,"expression",t,1),e}function o2(t){let e={type:"JSXSpreadChild",expression:t},i=C.JSXSpreadChild;return h(i.expression,e,"expression",t,1),e}function l2(t){let e={type:"JSXIdentifier",name:t},i=C.JSXIdentifier;return h(i.name,e,"name",t),e}function c2(t,e){let i={type:"JSXMemberExpression",object:t,property:e},r=C.JSXMemberExpression;return h(r.object,i,"object",t,1),h(r.property,i,"property",e,1),i}function u2(t,e){let i={type:"JSXNamespacedName",namespace:t,name:e},r=C.JSXNamespacedName;return h(r.namespace,i,"namespace",t,1),h(r.name,i,"name",e,1),i}function p2(t,e,i=!1){let r={type:"JSXOpeningElement",name:t,attributes:e,selfClosing:i},s=C.JSXOpeningElement;return h(s.name,r,"name",t,1),h(s.attributes,r,"attributes",e,1),h(s.selfClosing,r,"selfClosing",i),r}function f2(t){let e={type:"JSXSpreadAttribute",argument:t},i=C.JSXSpreadAttribute;return h(i.argument,e,"argument",t,1),e}function h2(t){let e={type:"JSXText",value:t},i=C.JSXText;return h(i.value,e,"value",t),e}function d2(t,e,i){let r={type:"JSXFragment",openingFragment:t,closingFragment:e,children:i},s=C.JSXFragment;return h(s.openingFragment,r,"openingFragment",t,1),h(s.closingFragment,r,"closingFragment",e,1),h(s.children,r,"children",i,1),r}function m2(){return{type:"JSXOpeningFragment"}}function y2(){return{type:"JSXClosingFragment"}}function T2(){return{type:"Noop"}}function g2(t,e){let i={type:"Placeholder",expectedNode:t,name:e},r=C.Placeholder;return h(r.expectedNode,i,"expectedNode",t),h(r.name,i,"name",e,1),i}function x2(t){let e={type:"V8IntrinsicIdentifier",name:t},i=C.V8IntrinsicIdentifier;return h(i.name,e,"name",t),e}function b2(){return{type:"ArgumentPlaceholder"}}function S2(t,e){let i={type:"BindExpression",object:t,callee:e},r=C.BindExpression;return h(r.object,i,"object",t,1),h(r.callee,i,"callee",e,1),i}function E2(t){let e={type:"Decorator",expression:t},i=C.Decorator;return h(i.expression,e,"expression",t,1),e}function P2(t,e=!1){let i={type:"DoExpression",body:t,async:e},r=C.DoExpression;return h(r.body,i,"body",t,1),h(r.async,i,"async",e),i}function v2(t){let e={type:"ExportDefaultSpecifier",exported:t},i=C.ExportDefaultSpecifier;return h(i.exported,e,"exported",t,1),e}function A2(t){let e={type:"RecordExpression",properties:t},i=C.RecordExpression;return h(i.properties,e,"properties",t,1),e}function w2(t=[]){let e={type:"TupleExpression",elements:t},i=C.TupleExpression;return h(i.elements,e,"elements",t,1),e}function C2(t){let e={type:"DecimalLiteral",value:t},i=C.DecimalLiteral;return h(i.value,e,"value",t),e}function I2(t){let e={type:"ModuleExpression",body:t},i=C.ModuleExpression;return h(i.body,e,"body",t,1),e}function k2(){return{type:"TopicReference"}}function _2(t){let e={type:"PipelineTopicExpression",expression:t},i=C.PipelineTopicExpression;return h(i.expression,e,"expression",t,1),e}function O2(t){let e={type:"PipelineBareFunction",callee:t},i=C.PipelineBareFunction;return h(i.callee,e,"callee",t,1),e}function N2(){return{type:"PipelinePrimaryTopicReference"}}function D2(){return{type:"VoidPattern"}}function L2(t){let e={type:"TSParameterProperty",parameter:t},i=C.TSParameterProperty;return h(i.parameter,e,"parameter",t,1),e}function M2(t=null,e=null,i,r=null){let s={type:"TSDeclareFunction",id:t,typeParameters:e,params:i,returnType:r},n=C.TSDeclareFunction;return h(n.id,s,"id",t,1),h(n.typeParameters,s,"typeParameters",e,1),h(n.params,s,"params",i,1),h(n.returnType,s,"returnType",r,1),s}function F2(t=null,e,i=null,r,s=null){let n={type:"TSDeclareMethod",decorators:t,key:e,typeParameters:i,params:r,returnType:s},a=C.TSDeclareMethod;return h(a.decorators,n,"decorators",t,1),h(a.key,n,"key",e,1),h(a.typeParameters,n,"typeParameters",i,1),h(a.params,n,"params",r,1),h(a.returnType,n,"returnType",s,1),n}function B2(t,e){let i={type:"TSQualifiedName",left:t,right:e},r=C.TSQualifiedName;return h(r.left,i,"left",t,1),h(r.right,i,"right",e,1),i}function j2(t=null,e,i=null){let r={type:"TSCallSignatureDeclaration",typeParameters:t,parameters:e,typeAnnotation:i},s=C.TSCallSignatureDeclaration;return h(s.typeParameters,r,"typeParameters",t,1),h(s.parameters,r,"parameters",e,1),h(s.typeAnnotation,r,"typeAnnotation",i,1),r}function R2(t=null,e,i=null){let r={type:"TSConstructSignatureDeclaration",typeParameters:t,parameters:e,typeAnnotation:i},s=C.TSConstructSignatureDeclaration;return h(s.typeParameters,r,"typeParameters",t,1),h(s.parameters,r,"parameters",e,1),h(s.typeAnnotation,r,"typeAnnotation",i,1),r}function q2(t,e=null){let i={type:"TSPropertySignature",key:t,typeAnnotation:e},r=C.TSPropertySignature;return h(r.key,i,"key",t,1),h(r.typeAnnotation,i,"typeAnnotation",e,1),i}function $2(t,e=null,i,r=null){let s={type:"TSMethodSignature",key:t,typeParameters:e,parameters:i,typeAnnotation:r,kind:null},n=C.TSMethodSignature;return h(n.key,s,"key",t,1),h(n.typeParameters,s,"typeParameters",e,1),h(n.parameters,s,"parameters",i,1),h(n.typeAnnotation,s,"typeAnnotation",r,1),s}function U2(t,e=null){let i={type:"TSIndexSignature",parameters:t,typeAnnotation:e},r=C.TSIndexSignature;return h(r.parameters,i,"parameters",t,1),h(r.typeAnnotation,i,"typeAnnotation",e,1),i}function K2(){return{type:"TSAnyKeyword"}}function V2(){return{type:"TSBooleanKeyword"}}function W2(){return{type:"TSBigIntKeyword"}}function Y2(){return{type:"TSIntrinsicKeyword"}}function z2(){return{type:"TSNeverKeyword"}}function J2(){return{type:"TSNullKeyword"}}function X2(){return{type:"TSNumberKeyword"}}function H2(){return{type:"TSObjectKeyword"}}function G2(){return{type:"TSStringKeyword"}}function Q2(){return{type:"TSSymbolKeyword"}}function Z2(){return{type:"TSUndefinedKeyword"}}function eD(){return{type:"TSUnknownKeyword"}}function tD(){return{type:"TSVoidKeyword"}}function iD(){return{type:"TSThisType"}}function rD(t=null,e,i=null){let r={type:"TSFunctionType",typeParameters:t,parameters:e,typeAnnotation:i},s=C.TSFunctionType;return h(s.typeParameters,r,"typeParameters",t,1),h(s.parameters,r,"parameters",e,1),h(s.typeAnnotation,r,"typeAnnotation",i,1),r}function sD(t=null,e,i=null){let r={type:"TSConstructorType",typeParameters:t,parameters:e,typeAnnotation:i},s=C.TSConstructorType;return h(s.typeParameters,r,"typeParameters",t,1),h(s.parameters,r,"parameters",e,1),h(s.typeAnnotation,r,"typeAnnotation",i,1),r}function nD(t,e=null){let i={type:"TSTypeReference",typeName:t,typeParameters:e},r=C.TSTypeReference;return h(r.typeName,i,"typeName",t,1),h(r.typeParameters,i,"typeParameters",e,1),i}function aD(t,e=null,i=null){let r={type:"TSTypePredicate",parameterName:t,typeAnnotation:e,asserts:i},s=C.TSTypePredicate;return h(s.parameterName,r,"parameterName",t,1),h(s.typeAnnotation,r,"typeAnnotation",e,1),h(s.asserts,r,"asserts",i),r}function oD(t,e=null){let i={type:"TSTypeQuery",exprName:t,typeParameters:e},r=C.TSTypeQuery;return h(r.exprName,i,"exprName",t,1),h(r.typeParameters,i,"typeParameters",e,1),i}function lD(t){let e={type:"TSTypeLiteral",members:t},i=C.TSTypeLiteral;return h(i.members,e,"members",t,1),e}function cD(t){let e={type:"TSArrayType",elementType:t},i=C.TSArrayType;return h(i.elementType,e,"elementType",t,1),e}function uD(t){let e={type:"TSTupleType",elementTypes:t},i=C.TSTupleType;return h(i.elementTypes,e,"elementTypes",t,1),e}function pD(t){let e={type:"TSOptionalType",typeAnnotation:t},i=C.TSOptionalType;return h(i.typeAnnotation,e,"typeAnnotation",t,1),e}function fD(t){let e={type:"TSRestType",typeAnnotation:t},i=C.TSRestType;return h(i.typeAnnotation,e,"typeAnnotation",t,1),e}function hD(t,e,i=!1){let r={type:"TSNamedTupleMember",label:t,elementType:e,optional:i},s=C.TSNamedTupleMember;return h(s.label,r,"label",t,1),h(s.elementType,r,"elementType",e,1),h(s.optional,r,"optional",i),r}function dD(t){let e={type:"TSUnionType",types:t},i=C.TSUnionType;return h(i.types,e,"types",t,1),e}function mD(t){let e={type:"TSIntersectionType",types:t},i=C.TSIntersectionType;return h(i.types,e,"types",t,1),e}function yD(t,e,i,r){let s={type:"TSConditionalType",checkType:t,extendsType:e,trueType:i,falseType:r},n=C.TSConditionalType;return h(n.checkType,s,"checkType",t,1),h(n.extendsType,s,"extendsType",e,1),h(n.trueType,s,"trueType",i,1),h(n.falseType,s,"falseType",r,1),s}function TD(t){let e={type:"TSInferType",typeParameter:t},i=C.TSInferType;return h(i.typeParameter,e,"typeParameter",t,1),e}function gD(t){let e={type:"TSParenthesizedType",typeAnnotation:t},i=C.TSParenthesizedType;return h(i.typeAnnotation,e,"typeAnnotation",t,1),e}function xD(t,e){let i={type:"TSTypeOperator",typeAnnotation:t,operator:e},r=C.TSTypeOperator;return h(r.typeAnnotation,i,"typeAnnotation",t,1),h(r.operator,i,"operator",e),i}function bD(t,e){let i={type:"TSIndexedAccessType",objectType:t,indexType:e},r=C.TSIndexedAccessType;return h(r.objectType,i,"objectType",t,1),h(r.indexType,i,"indexType",e,1),i}function SD(t,e=null,i=null){let r={type:"TSMappedType",typeParameter:t,typeAnnotation:e,nameType:i},s=C.TSMappedType;return h(s.typeParameter,r,"typeParameter",t,1),h(s.typeAnnotation,r,"typeAnnotation",e,1),h(s.nameType,r,"nameType",i,1),r}function ED(t,e){let i={type:"TSTemplateLiteralType",quasis:t,types:e},r=C.TSTemplateLiteralType;return h(r.quasis,i,"quasis",t,1),h(r.types,i,"types",e,1),i}function PD(t){let e={type:"TSLiteralType",literal:t},i=C.TSLiteralType;return h(i.literal,e,"literal",t,1),e}function vD(t,e=null){let i={type:"TSExpressionWithTypeArguments",expression:t,typeParameters:e},r=C.TSExpressionWithTypeArguments;return h(r.expression,i,"expression",t,1),h(r.typeParameters,i,"typeParameters",e,1),i}function AD(t,e=null,i=null,r){let s={type:"TSInterfaceDeclaration",id:t,typeParameters:e,extends:i,body:r},n=C.TSInterfaceDeclaration;return h(n.id,s,"id",t,1),h(n.typeParameters,s,"typeParameters",e,1),h(n.extends,s,"extends",i,1),h(n.body,s,"body",r,1),s}function wD(t){let e={type:"TSInterfaceBody",body:t},i=C.TSInterfaceBody;return h(i.body,e,"body",t,1),e}function CD(t,e=null,i){let r={type:"TSTypeAliasDeclaration",id:t,typeParameters:e,typeAnnotation:i},s=C.TSTypeAliasDeclaration;return h(s.id,r,"id",t,1),h(s.typeParameters,r,"typeParameters",e,1),h(s.typeAnnotation,r,"typeAnnotation",i,1),r}function ID(t,e=null){let i={type:"TSInstantiationExpression",expression:t,typeParameters:e},r=C.TSInstantiationExpression;return h(r.expression,i,"expression",t,1),h(r.typeParameters,i,"typeParameters",e,1),i}function kD(t,e){let i={type:"TSAsExpression",expression:t,typeAnnotation:e},r=C.TSAsExpression;return h(r.expression,i,"expression",t,1),h(r.typeAnnotation,i,"typeAnnotation",e,1),i}function _D(t,e){let i={type:"TSSatisfiesExpression",expression:t,typeAnnotation:e},r=C.TSSatisfiesExpression;return h(r.expression,i,"expression",t,1),h(r.typeAnnotation,i,"typeAnnotation",e,1),i}function OD(t,e){let i={type:"TSTypeAssertion",typeAnnotation:t,expression:e},r=C.TSTypeAssertion;return h(r.typeAnnotation,i,"typeAnnotation",t,1),h(r.expression,i,"expression",e,1),i}function ND(t){let e={type:"TSEnumBody",members:t},i=C.TSEnumBody;return h(i.members,e,"members",t,1),e}function DD(t,e){let i={type:"TSEnumDeclaration",id:t,members:e},r=C.TSEnumDeclaration;return h(r.id,i,"id",t,1),h(r.members,i,"members",e,1),i}function LD(t,e=null){let i={type:"TSEnumMember",id:t,initializer:e},r=C.TSEnumMember;return h(r.id,i,"id",t,1),h(r.initializer,i,"initializer",e,1),i}function MD(t,e){let i={type:"TSModuleDeclaration",id:t,body:e,kind:null},r=C.TSModuleDeclaration;return h(r.id,i,"id",t,1),h(r.body,i,"body",e,1),i}function FD(t){let e={type:"TSModuleBlock",body:t},i=C.TSModuleBlock;return h(i.body,e,"body",t,1),e}function BD(t,e=null,i=null){let r={type:"TSImportType",argument:t,qualifier:e,typeParameters:i},s=C.TSImportType;return h(s.argument,r,"argument",t,1),h(s.qualifier,r,"qualifier",e,1),h(s.typeParameters,r,"typeParameters",i,1),r}function jD(t,e){let i={type:"TSImportEqualsDeclaration",id:t,moduleReference:e,isExport:null},r=C.TSImportEqualsDeclaration;return h(r.id,i,"id",t,1),h(r.moduleReference,i,"moduleReference",e,1),i}function RD(t){let e={type:"TSExternalModuleReference",expression:t},i=C.TSExternalModuleReference;return h(i.expression,e,"expression",t,1),e}function qD(t){let e={type:"TSNonNullExpression",expression:t},i=C.TSNonNullExpression;return h(i.expression,e,"expression",t,1),e}function $D(t){let e={type:"TSExportAssignment",expression:t},i=C.TSExportAssignment;return h(i.expression,e,"expression",t,1),e}function UD(t){let e={type:"TSNamespaceExportDeclaration",id:t},i=C.TSNamespaceExportDeclaration;return h(i.id,e,"id",t,1),e}function KD(t){let e={type:"TSTypeAnnotation",typeAnnotation:t},i=C.TSTypeAnnotation;return h(i.typeAnnotation,e,"typeAnnotation",t,1),e}function VD(t){let e={type:"TSTypeParameterInstantiation",params:t},i=C.TSTypeParameterInstantiation;return h(i.params,e,"params",t,1),e}function WD(t){let e={type:"TSTypeParameterDeclaration",params:t},i=C.TSTypeParameterDeclaration;return h(i.params,e,"params",t,1),e}function YD(t=null,e=null,i){let r={type:"TSTypeParameter",constraint:t,default:e,name:i},s=C.TSTypeParameter;return h(s.constraint,r,"constraint",t,1),h(s.default,r,"default",e,1),h(s.name,r,"name",i),r}function zD(t){return(0,eo.default)("NumberLiteral","NumericLiteral","The node type "),sy(t)}function JD(t,e=""){return(0,eo.default)("RegexLiteral","RegExpLiteral","The node type "),ny(t,e)}function XD(t){return(0,eo.default)("RestProperty","RestElement","The node type "),ay(t)}function HD(t){return(0,eo.default)("SpreadProperty","SpreadElement","The node type "),oy(t)}});var ly=_(p=>{"use strict";Object.defineProperty(p,"__esModule",{value:!0});p.JSXIdentifier=p.JSXFragment=p.JSXExpressionContainer=p.JSXEmptyExpression=p.JSXElement=p.JSXClosingFragment=p.JSXClosingElement=p.JSXAttribute=p.IntersectionTypeAnnotation=p.InterpreterDirective=p.InterfaceTypeAnnotation=p.InterfaceExtends=p.InterfaceDeclaration=p.InferredPredicate=p.IndexedAccessType=p.ImportSpecifier=p.ImportNamespaceSpecifier=p.ImportExpression=p.ImportDefaultSpecifier=p.ImportDeclaration=p.ImportAttribute=p.Import=p.IfStatement=p.Identifier=p.GenericTypeAnnotation=p.FunctionTypeParam=p.FunctionTypeAnnotation=p.FunctionExpression=p.FunctionDeclaration=p.ForStatement=p.ForOfStatement=p.ForInStatement=p.File=p.ExpressionStatement=p.ExportSpecifier=p.ExportNamespaceSpecifier=p.ExportNamedDeclaration=p.ExportDefaultSpecifier=p.ExportDefaultDeclaration=p.ExportAllDeclaration=p.ExistsTypeAnnotation=p.EnumSymbolBody=p.EnumStringMember=p.EnumStringBody=p.EnumNumberMember=p.EnumNumberBody=p.EnumDefaultedMember=p.EnumDeclaration=p.EnumBooleanMember=p.EnumBooleanBody=p.EmptyTypeAnnotation=p.EmptyStatement=p.DoWhileStatement=p.DoExpression=p.DirectiveLiteral=p.Directive=p.Decorator=p.DeclaredPredicate=p.DeclareVariable=p.DeclareTypeAlias=p.DeclareOpaqueType=p.DeclareModuleExports=p.DeclareModule=p.DeclareInterface=p.DeclareFunction=p.DeclareExportDeclaration=p.DeclareExportAllDeclaration=p.DeclareClass=p.DecimalLiteral=p.DebuggerStatement=p.ContinueStatement=p.ConditionalExpression=p.ClassProperty=p.ClassPrivateProperty=p.ClassPrivateMethod=p.ClassMethod=p.ClassImplements=p.ClassExpression=p.ClassDeclaration=p.ClassBody=p.ClassAccessorProperty=p.CatchClause=p.CallExpression=p.BreakStatement=p.BooleanTypeAnnotation=p.BooleanLiteralTypeAnnotation=p.BooleanLiteral=p.BlockStatement=p.BindExpression=p.BinaryExpression=p.BigIntLiteral=p.AwaitExpression=p.AssignmentPattern=p.AssignmentExpression=p.ArrowFunctionExpression=p.ArrayTypeAnnotation=p.ArrayPattern=p.ArrayExpression=p.ArgumentPlaceholder=p.AnyTypeAnnotation=void 0;p.TSNumberKeyword=p.TSNullKeyword=p.TSNonNullExpression=p.TSNeverKeyword=p.TSNamespaceExportDeclaration=p.TSNamedTupleMember=p.TSModuleDeclaration=p.TSModuleBlock=p.TSMethodSignature=p.TSMappedType=p.TSLiteralType=p.TSIntrinsicKeyword=p.TSIntersectionType=p.TSInterfaceDeclaration=p.TSInterfaceBody=p.TSInstantiationExpression=p.TSInferType=p.TSIndexedAccessType=p.TSIndexSignature=p.TSImportType=p.TSImportEqualsDeclaration=p.TSFunctionType=p.TSExternalModuleReference=p.TSExpressionWithTypeArguments=p.TSExportAssignment=p.TSEnumMember=p.TSEnumDeclaration=p.TSEnumBody=p.TSDeclareMethod=p.TSDeclareFunction=p.TSConstructorType=p.TSConstructSignatureDeclaration=p.TSConditionalType=p.TSCallSignatureDeclaration=p.TSBooleanKeyword=p.TSBigIntKeyword=p.TSAsExpression=p.TSArrayType=p.TSAnyKeyword=p.SymbolTypeAnnotation=p.SwitchStatement=p.SwitchCase=p.Super=p.StringTypeAnnotation=p.StringLiteralTypeAnnotation=p.StringLiteral=p.StaticBlock=p.SpreadProperty=p.SpreadElement=p.SequenceExpression=p.ReturnStatement=p.RestProperty=p.RestElement=p.RegexLiteral=p.RegExpLiteral=p.RecordExpression=p.QualifiedTypeIdentifier=p.Program=p.PrivateName=p.Placeholder=p.PipelineTopicExpression=p.PipelinePrimaryTopicReference=p.PipelineBareFunction=p.ParenthesizedExpression=p.OptionalMemberExpression=p.OptionalIndexedAccessType=p.OptionalCallExpression=p.OpaqueType=p.ObjectTypeSpreadProperty=p.ObjectTypeProperty=p.ObjectTypeInternalSlot=p.ObjectTypeIndexer=p.ObjectTypeCallProperty=p.ObjectTypeAnnotation=p.ObjectProperty=p.ObjectPattern=p.ObjectMethod=p.ObjectExpression=p.NumericLiteral=p.NumberTypeAnnotation=p.NumberLiteralTypeAnnotation=p.NumberLiteral=p.NullableTypeAnnotation=p.NullLiteralTypeAnnotation=p.NullLiteral=p.Noop=p.NewExpression=p.ModuleExpression=p.MixedTypeAnnotation=p.MetaProperty=p.MemberExpression=p.LogicalExpression=p.LabeledStatement=p.JSXText=p.JSXSpreadChild=p.JSXSpreadAttribute=p.JSXOpeningFragment=p.JSXOpeningElement=p.JSXNamespacedName=p.JSXMemberExpression=void 0;p.YieldExpression=p.WithStatement=p.WhileStatement=p.VoidTypeAnnotation=p.VoidPattern=p.Variance=p.VariableDeclarator=p.VariableDeclaration=p.V8IntrinsicIdentifier=p.UpdateExpression=p.UnionTypeAnnotation=p.UnaryExpression=p.TypeofTypeAnnotation=p.TypeParameterInstantiation=p.TypeParameterDeclaration=p.TypeParameter=p.TypeCastExpression=p.TypeAnnotation=p.TypeAlias=p.TupleTypeAnnotation=p.TupleExpression=p.TryStatement=p.TopicReference=p.ThrowStatement=p.ThisTypeAnnotation=p.ThisExpression=p.TemplateLiteral=p.TemplateElement=p.TaggedTemplateExpression=p.TSVoidKeyword=p.TSUnknownKeyword=p.TSUnionType=p.TSUndefinedKeyword=p.TSTypeReference=p.TSTypeQuery=p.TSTypePredicate=p.TSTypeParameterInstantiation=p.TSTypeParameterDeclaration=p.TSTypeParameter=p.TSTypeOperator=p.TSTypeLiteral=p.TSTypeAssertion=p.TSTypeAnnotation=p.TSTypeAliasDeclaration=p.TSTupleType=p.TSThisType=p.TSTemplateLiteralType=p.TSSymbolKeyword=p.TSStringKeyword=p.TSSatisfiesExpression=p.TSRestType=p.TSQualifiedName=p.TSPropertySignature=p.TSParenthesizedType=p.TSParameterProperty=p.TSOptionalType=p.TSObjectKeyword=void 0;var En=Gc(),mZ=ds();function v(t){return En[t]}var yZ=p.ArrayExpression=v("arrayExpression"),TZ=p.AssignmentExpression=v("assignmentExpression"),gZ=p.BinaryExpression=v("binaryExpression"),xZ=p.InterpreterDirective=v("interpreterDirective"),bZ=p.Directive=v("directive"),SZ=p.DirectiveLiteral=v("directiveLiteral"),EZ=p.BlockStatement=v("blockStatement"),PZ=p.BreakStatement=v("breakStatement"),vZ=p.CallExpression=v("callExpression"),AZ=p.CatchClause=v("catchClause"),wZ=p.ConditionalExpression=v("conditionalExpression"),CZ=p.ContinueStatement=v("continueStatement"),IZ=p.DebuggerStatement=v("debuggerStatement"),kZ=p.DoWhileStatement=v("doWhileStatement"),_Z=p.EmptyStatement=v("emptyStatement"),OZ=p.ExpressionStatement=v("expressionStatement"),NZ=p.File=v("file"),DZ=p.ForInStatement=v("forInStatement"),LZ=p.ForStatement=v("forStatement"),MZ=p.FunctionDeclaration=v("functionDeclaration"),FZ=p.FunctionExpression=v("functionExpression"),BZ=p.Identifier=v("identifier"),jZ=p.IfStatement=v("ifStatement"),RZ=p.LabeledStatement=v("labeledStatement"),qZ=p.StringLiteral=v("stringLiteral"),$Z=p.NumericLiteral=v("numericLiteral"),UZ=p.NullLiteral=v("nullLiteral"),KZ=p.BooleanLiteral=v("booleanLiteral"),VZ=p.RegExpLiteral=v("regExpLiteral"),WZ=p.LogicalExpression=v("logicalExpression"),YZ=p.MemberExpression=v("memberExpression"),zZ=p.NewExpression=v("newExpression"),JZ=p.Program=v("program"),XZ=p.ObjectExpression=v("objectExpression"),HZ=p.ObjectMethod=v("objectMethod"),GZ=p.ObjectProperty=v("objectProperty"),QZ=p.RestElement=v("restElement"),ZZ=p.ReturnStatement=v("returnStatement"),eee=p.SequenceExpression=v("sequenceExpression"),tee=p.ParenthesizedExpression=v("parenthesizedExpression"),iee=p.SwitchCase=v("switchCase"),ree=p.SwitchStatement=v("switchStatement"),see=p.ThisExpression=v("thisExpression"),nee=p.ThrowStatement=v("throwStatement"),aee=p.TryStatement=v("tryStatement"),oee=p.UnaryExpression=v("unaryExpression"),lee=p.UpdateExpression=v("updateExpression"),cee=p.VariableDeclaration=v("variableDeclaration"),uee=p.VariableDeclarator=v("variableDeclarator"),pee=p.WhileStatement=v("whileStatement"),fee=p.WithStatement=v("withStatement"),hee=p.AssignmentPattern=v("assignmentPattern"),dee=p.ArrayPattern=v("arrayPattern"),mee=p.ArrowFunctionExpression=v("arrowFunctionExpression"),yee=p.ClassBody=v("classBody"),Tee=p.ClassExpression=v("classExpression"),gee=p.ClassDeclaration=v("classDeclaration"),xee=p.ExportAllDeclaration=v("exportAllDeclaration"),bee=p.ExportDefaultDeclaration=v("exportDefaultDeclaration"),See=p.ExportNamedDeclaration=v("exportNamedDeclaration"),Eee=p.ExportSpecifier=v("exportSpecifier"),Pee=p.ForOfStatement=v("forOfStatement"),vee=p.ImportDeclaration=v("importDeclaration"),Aee=p.ImportDefaultSpecifier=v("importDefaultSpecifier"),wee=p.ImportNamespaceSpecifier=v("importNamespaceSpecifier"),Cee=p.ImportSpecifier=v("importSpecifier"),Iee=p.ImportExpression=v("importExpression"),kee=p.MetaProperty=v("metaProperty"),_ee=p.ClassMethod=v("classMethod"),Oee=p.ObjectPattern=v("objectPattern"),Nee=p.SpreadElement=v("spreadElement"),Dee=p.Super=v("super"),Lee=p.TaggedTemplateExpression=v("taggedTemplateExpression"),Mee=p.TemplateElement=v("templateElement"),Fee=p.TemplateLiteral=v("templateLiteral"),Bee=p.YieldExpression=v("yieldExpression"),jee=p.AwaitExpression=v("awaitExpression"),Ree=p.Import=v("import"),qee=p.BigIntLiteral=v("bigIntLiteral"),$ee=p.ExportNamespaceSpecifier=v("exportNamespaceSpecifier"),Uee=p.OptionalMemberExpression=v("optionalMemberExpression"),Kee=p.OptionalCallExpression=v("optionalCallExpression"),Vee=p.ClassProperty=v("classProperty"),Wee=p.ClassAccessorProperty=v("classAccessorProperty"),Yee=p.ClassPrivateProperty=v("classPrivateProperty"),zee=p.ClassPrivateMethod=v("classPrivateMethod"),Jee=p.PrivateName=v("privateName"),Xee=p.StaticBlock=v("staticBlock"),Hee=p.ImportAttribute=v("importAttribute"),Gee=p.AnyTypeAnnotation=v("anyTypeAnnotation"),Qee=p.ArrayTypeAnnotation=v("arrayTypeAnnotation"),Zee=p.BooleanTypeAnnotation=v("booleanTypeAnnotation"),ete=p.BooleanLiteralTypeAnnotation=v("booleanLiteralTypeAnnotation"),tte=p.NullLiteralTypeAnnotation=v("nullLiteralTypeAnnotation"),ite=p.ClassImplements=v("classImplements"),rte=p.DeclareClass=v("declareClass"),ste=p.DeclareFunction=v("declareFunction"),nte=p.DeclareInterface=v("declareInterface"),ate=p.DeclareModule=v("declareModule"),ote=p.DeclareModuleExports=v("declareModuleExports"),lte=p.DeclareTypeAlias=v("declareTypeAlias"),cte=p.DeclareOpaqueType=v("declareOpaqueType"),ute=p.DeclareVariable=v("declareVariable"),pte=p.DeclareExportDeclaration=v("declareExportDeclaration"),fte=p.DeclareExportAllDeclaration=v("declareExportAllDeclaration"),hte=p.DeclaredPredicate=v("declaredPredicate"),dte=p.ExistsTypeAnnotation=v("existsTypeAnnotation"),mte=p.FunctionTypeAnnotation=v("functionTypeAnnotation"),yte=p.FunctionTypeParam=v("functionTypeParam"),Tte=p.GenericTypeAnnotation=v("genericTypeAnnotation"),gte=p.InferredPredicate=v("inferredPredicate"),xte=p.InterfaceExtends=v("interfaceExtends"),bte=p.InterfaceDeclaration=v("interfaceDeclaration"),Ste=p.InterfaceTypeAnnotation=v("interfaceTypeAnnotation"),Ete=p.IntersectionTypeAnnotation=v("intersectionTypeAnnotation"),Pte=p.MixedTypeAnnotation=v("mixedTypeAnnotation"),vte=p.EmptyTypeAnnotation=v("emptyTypeAnnotation"),Ate=p.NullableTypeAnnotation=v("nullableTypeAnnotation"),wte=p.NumberLiteralTypeAnnotation=v("numberLiteralTypeAnnotation"),Cte=p.NumberTypeAnnotation=v("numberTypeAnnotation"),Ite=p.ObjectTypeAnnotation=v("objectTypeAnnotation"),kte=p.ObjectTypeInternalSlot=v("objectTypeInternalSlot"),_te=p.ObjectTypeCallProperty=v("objectTypeCallProperty"),Ote=p.ObjectTypeIndexer=v("objectTypeIndexer"),Nte=p.ObjectTypeProperty=v("objectTypeProperty"),Dte=p.ObjectTypeSpreadProperty=v("objectTypeSpreadProperty"),Lte=p.OpaqueType=v("opaqueType"),Mte=p.QualifiedTypeIdentifier=v("qualifiedTypeIdentifier"),Fte=p.StringLiteralTypeAnnotation=v("stringLiteralTypeAnnotation"),Bte=p.StringTypeAnnotation=v("stringTypeAnnotation"),jte=p.SymbolTypeAnnotation=v("symbolTypeAnnotation"),Rte=p.ThisTypeAnnotation=v("thisTypeAnnotation"),qte=p.TupleTypeAnnotation=v("tupleTypeAnnotation"),$te=p.TypeofTypeAnnotation=v("typeofTypeAnnotation"),Ute=p.TypeAlias=v("typeAlias"),Kte=p.TypeAnnotation=v("typeAnnotation"),Vte=p.TypeCastExpression=v("typeCastExpression"),Wte=p.TypeParameter=v("typeParameter"),Yte=p.TypeParameterDeclaration=v("typeParameterDeclaration"),zte=p.TypeParameterInstantiation=v("typeParameterInstantiation"),Jte=p.UnionTypeAnnotation=v("unionTypeAnnotation"),Xte=p.Variance=v("variance"),Hte=p.VoidTypeAnnotation=v("voidTypeAnnotation"),Gte=p.EnumDeclaration=v("enumDeclaration"),Qte=p.EnumBooleanBody=v("enumBooleanBody"),Zte=p.EnumNumberBody=v("enumNumberBody"),eie=p.EnumStringBody=v("enumStringBody"),tie=p.EnumSymbolBody=v("enumSymbolBody"),iie=p.EnumBooleanMember=v("enumBooleanMember"),rie=p.EnumNumberMember=v("enumNumberMember"),sie=p.EnumStringMember=v("enumStringMember"),nie=p.EnumDefaultedMember=v("enumDefaultedMember"),aie=p.IndexedAccessType=v("indexedAccessType"),oie=p.OptionalIndexedAccessType=v("optionalIndexedAccessType"),lie=p.JSXAttribute=v("jsxAttribute"),cie=p.JSXClosingElement=v("jsxClosingElement"),uie=p.JSXElement=v("jsxElement"),pie=p.JSXEmptyExpression=v("jsxEmptyExpression"),fie=p.JSXExpressionContainer=v("jsxExpressionContainer"),hie=p.JSXSpreadChild=v("jsxSpreadChild"),die=p.JSXIdentifier=v("jsxIdentifier"),mie=p.JSXMemberExpression=v("jsxMemberExpression"),yie=p.JSXNamespacedName=v("jsxNamespacedName"),Tie=p.JSXOpeningElement=v("jsxOpeningElement"),gie=p.JSXSpreadAttribute=v("jsxSpreadAttribute"),xie=p.JSXText=v("jsxText"),bie=p.JSXFragment=v("jsxFragment"),Sie=p.JSXOpeningFragment=v("jsxOpeningFragment"),Eie=p.JSXClosingFragment=v("jsxClosingFragment"),Pie=p.Noop=v("noop"),vie=p.Placeholder=v("placeholder"),Aie=p.V8IntrinsicIdentifier=v("v8IntrinsicIdentifier"),wie=p.ArgumentPlaceholder=v("argumentPlaceholder"),Cie=p.BindExpression=v("bindExpression"),Iie=p.Decorator=v("decorator"),kie=p.DoExpression=v("doExpression"),_ie=p.ExportDefaultSpecifier=v("exportDefaultSpecifier"),Oie=p.RecordExpression=v("recordExpression"),Nie=p.TupleExpression=v("tupleExpression"),Die=p.DecimalLiteral=v("decimalLiteral"),Lie=p.ModuleExpression=v("moduleExpression"),Mie=p.TopicReference=v("topicReference"),Fie=p.PipelineTopicExpression=v("pipelineTopicExpression"),Bie=p.PipelineBareFunction=v("pipelineBareFunction"),jie=p.PipelinePrimaryTopicReference=v("pipelinePrimaryTopicReference"),Rie=p.VoidPattern=v("voidPattern"),qie=p.TSParameterProperty=v("tsParameterProperty"),$ie=p.TSDeclareFunction=v("tsDeclareFunction"),Uie=p.TSDeclareMethod=v("tsDeclareMethod"),Kie=p.TSQualifiedName=v("tsQualifiedName"),Vie=p.TSCallSignatureDeclaration=v("tsCallSignatureDeclaration"),Wie=p.TSConstructSignatureDeclaration=v("tsConstructSignatureDeclaration"),Yie=p.TSPropertySignature=v("tsPropertySignature"),zie=p.TSMethodSignature=v("tsMethodSignature"),Jie=p.TSIndexSignature=v("tsIndexSignature"),Xie=p.TSAnyKeyword=v("tsAnyKeyword"),Hie=p.TSBooleanKeyword=v("tsBooleanKeyword"),Gie=p.TSBigIntKeyword=v("tsBigIntKeyword"),Qie=p.TSIntrinsicKeyword=v("tsIntrinsicKeyword"),Zie=p.TSNeverKeyword=v("tsNeverKeyword"),ere=p.TSNullKeyword=v("tsNullKeyword"),tre=p.TSNumberKeyword=v("tsNumberKeyword"),ire=p.TSObjectKeyword=v("tsObjectKeyword"),rre=p.TSStringKeyword=v("tsStringKeyword"),sre=p.TSSymbolKeyword=v("tsSymbolKeyword"),nre=p.TSUndefinedKeyword=v("tsUndefinedKeyword"),are=p.TSUnknownKeyword=v("tsUnknownKeyword"),ore=p.TSVoidKeyword=v("tsVoidKeyword"),lre=p.TSThisType=v("tsThisType"),cre=p.TSFunctionType=v("tsFunctionType"),ure=p.TSConstructorType=v("tsConstructorType"),pre=p.TSTypeReference=v("tsTypeReference"),fre=p.TSTypePredicate=v("tsTypePredicate"),hre=p.TSTypeQuery=v("tsTypeQuery"),dre=p.TSTypeLiteral=v("tsTypeLiteral"),mre=p.TSArrayType=v("tsArrayType"),yre=p.TSTupleType=v("tsTupleType"),Tre=p.TSOptionalType=v("tsOptionalType"),gre=p.TSRestType=v("tsRestType"),xre=p.TSNamedTupleMember=v("tsNamedTupleMember"),bre=p.TSUnionType=v("tsUnionType"),Sre=p.TSIntersectionType=v("tsIntersectionType"),Ere=p.TSConditionalType=v("tsConditionalType"),Pre=p.TSInferType=v("tsInferType"),vre=p.TSParenthesizedType=v("tsParenthesizedType"),Are=p.TSTypeOperator=v("tsTypeOperator"),wre=p.TSIndexedAccessType=v("tsIndexedAccessType"),Cre=p.TSMappedType=v("tsMappedType"),Ire=p.TSTemplateLiteralType=v("tsTemplateLiteralType"),kre=p.TSLiteralType=v("tsLiteralType"),_re=p.TSExpressionWithTypeArguments=v("tsExpressionWithTypeArguments"),Ore=p.TSInterfaceDeclaration=v("tsInterfaceDeclaration"),Nre=p.TSInterfaceBody=v("tsInterfaceBody"),Dre=p.TSTypeAliasDeclaration=v("tsTypeAliasDeclaration"),Lre=p.TSInstantiationExpression=v("tsInstantiationExpression"),Mre=p.TSAsExpression=v("tsAsExpression"),Fre=p.TSSatisfiesExpression=v("tsSatisfiesExpression"),Bre=p.TSTypeAssertion=v("tsTypeAssertion"),jre=p.TSEnumBody=v("tsEnumBody"),Rre=p.TSEnumDeclaration=v("tsEnumDeclaration"),qre=p.TSEnumMember=v("tsEnumMember"),$re=p.TSModuleDeclaration=v("tsModuleDeclaration"),Ure=p.TSModuleBlock=v("tsModuleBlock"),Kre=p.TSImportType=v("tsImportType"),Vre=p.TSImportEqualsDeclaration=v("tsImportEqualsDeclaration"),Wre=p.TSExternalModuleReference=v("tsExternalModuleReference"),Yre=p.TSNonNullExpression=v("tsNonNullExpression"),zre=p.TSExportAssignment=v("tsExportAssignment"),Jre=p.TSNamespaceExportDeclaration=v("tsNamespaceExportDeclaration"),Xre=p.TSTypeAnnotation=v("tsTypeAnnotation"),Hre=p.TSTypeParameterInstantiation=v("tsTypeParameterInstantiation"),Gre=p.TSTypeParameterDeclaration=v("tsTypeParameterDeclaration"),Qre=p.TSTypeParameter=v("tsTypeParameter"),Zre=p.NumberLiteral=En.numberLiteral,ese=p.RegexLiteral=En.regexLiteral,tse=p.RestProperty=En.restProperty,ise=p.SpreadProperty=En.spreadProperty});var Yt=_(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});var Qc=Gc();Object.keys(Qc).forEach(function(t){t==="default"||t==="__esModule"||t in or&&or[t]===Qc[t]||Object.defineProperty(or,t,{enumerable:!0,get:function(){return Qc[t]}})});var Zc=ly();Object.keys(Zc).forEach(function(t){t==="default"||t==="__esModule"||t in or&&or[t]===Zc[t]||Object.defineProperty(or,t,{enumerable:!0,get:function(){return Zc[t]}})})});var cy=_(eu=>{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});eu.default=ZD;var GD=Yt(),QD=be();function ZD(t,e){let i=t.value.split(/\r\n|\n|\r/),r=0;for(let n=0;n<i.length;n++)/[^ \t]/.exec(i[n])&&(r=n);let s="";for(let n=0;n<i.length;n++){let a=i[n],l=n===0,c=n===i.length-1,o=n===r,u=a.replace(/\t/g," ");l||(u=u.replace(/^ +/,"")),c||(u=u.replace(/ +$/,"")),u&&(o||(u+=" "),s+=u)}s&&e.push((0,QD.inherits)((0,GD.stringLiteral)(s),t))}});var uy=_(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});iu.default=tL;var tu=ot(),eL=cy();function tL(t){let e=[];for(let i=0;i<t.children.length;i++){let r=t.children[i];if((0,tu.isJSXText)(r)){(0,eL.default)(r,e);continue}(0,tu.isJSXExpressionContainer)(r)&&(r=r.expression),!(0,tu.isJSXEmptyExpression)(r)&&e.push(r)}return e}});var su=_(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});ru.default=rL;var iL=si();function rL(t){return!!(t&&iL.VISITOR_KEYS[t.type])}});var py=_(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.default=nL;var sL=su();function nL(t){if(!(0,sL.default)(t)){var e;let i=(e=t?.type)!=null?e:JSON.stringify(t);throw new TypeError(`Not a valid node of type "${i}"`)}}});var fy=_(g=>{"use strict";Object.defineProperty(g,"__esModule",{value:!0});g.assertAccessor=A4;g.assertAnyTypeAnnotation=UM;g.assertArgumentPlaceholder=TF;g.assertArrayExpression=oL;g.assertArrayPattern=nM;g.assertArrayTypeAnnotation=KM;g.assertArrowFunctionExpression=aM;g.assertAssignmentExpression=lL;g.assertAssignmentPattern=sM;g.assertAwaitExpression=kM;g.assertBigIntLiteral=OM;g.assertBinary=YB;g.assertBinaryExpression=cL;g.assertBindExpression=gF;g.assertBlock=XB;g.assertBlockParent=JB;g.assertBlockStatement=hL;g.assertBooleanLiteral=LL;g.assertBooleanLiteralTypeAnnotation=WM;g.assertBooleanTypeAnnotation=VM;g.assertBreakStatement=dL;g.assertCallExpression=mL;g.assertCatchClause=yL;g.assertClass=S4;g.assertClassAccessorProperty=FM;g.assertClassBody=oM;g.assertClassDeclaration=cM;g.assertClassExpression=lM;g.assertClassImplements=zM;g.assertClassMethod=SM;g.assertClassPrivateMethod=jM;g.assertClassPrivateProperty=BM;g.assertClassProperty=MM;g.assertCompletionStatement=QB;g.assertConditional=ZB;g.assertConditionalExpression=TL;g.assertContinueStatement=gL;g.assertDebuggerStatement=xL;g.assertDecimalLiteral=vF;g.assertDeclaration=l4;g.assertDeclareClass=JM;g.assertDeclareExportAllDeclaration=r3;g.assertDeclareExportDeclaration=i3;g.assertDeclareFunction=XM;g.assertDeclareInterface=HM;g.assertDeclareModule=GM;g.assertDeclareModuleExports=QM;g.assertDeclareOpaqueType=e3;g.assertDeclareTypeAlias=ZM;g.assertDeclareVariable=t3;g.assertDeclaredPredicate=s3;g.assertDecorator=xF;g.assertDirective=pL;g.assertDirectiveLiteral=fL;g.assertDoExpression=bF;g.assertDoWhileStatement=bL;g.assertEmptyStatement=SL;g.assertEmptyTypeAnnotation=m3;g.assertEnumBody=N4;g.assertEnumBooleanBody=K3;g.assertEnumBooleanMember=z3;g.assertEnumDeclaration=U3;g.assertEnumDefaultedMember=H3;g.assertEnumMember=D4;g.assertEnumNumberBody=V3;g.assertEnumNumberMember=J3;g.assertEnumStringBody=W3;g.assertEnumStringMember=X3;g.assertEnumSymbolBody=Y3;g.assertExistsTypeAnnotation=n3;g.assertExportAllDeclaration=uM;g.assertExportDeclaration=P4;g.assertExportDefaultDeclaration=pM;g.assertExportDefaultSpecifier=SF;g.assertExportNamedDeclaration=fM;g.assertExportNamespaceSpecifier=NM;g.assertExportSpecifier=hM;g.assertExpression=WB;g.assertExpressionStatement=EL;g.assertExpressionWrapper=i4;g.assertFile=PL;g.assertFlow=C4;g.assertFlowBaseAnnotation=k4;g.assertFlowDeclaration=_4;g.assertFlowPredicate=O4;g.assertFlowType=I4;g.assertFor=r4;g.assertForInStatement=vL;g.assertForOfStatement=dM;g.assertForStatement=AL;g.assertForXStatement=s4;g.assertFunction=n4;g.assertFunctionDeclaration=wL;g.assertFunctionExpression=CL;g.assertFunctionParameter=c4;g.assertFunctionParent=a4;g.assertFunctionTypeAnnotation=a3;g.assertFunctionTypeParam=o3;g.assertGenericTypeAnnotation=l3;g.assertIdentifier=IL;g.assertIfStatement=kL;g.assertImmutable=d4;g.assertImport=_M;g.assertImportAttribute=$M;g.assertImportDeclaration=mM;g.assertImportDefaultSpecifier=yM;g.assertImportExpression=xM;g.assertImportNamespaceSpecifier=TM;g.assertImportOrExportDeclaration=E4;g.assertImportSpecifier=gM;g.assertIndexedAccessType=G3;g.assertInferredPredicate=c3;g.assertInterfaceDeclaration=p3;g.assertInterfaceExtends=u3;g.assertInterfaceTypeAnnotation=f3;g.assertInterpreterDirective=uL;g.assertIntersectionTypeAnnotation=h3;g.assertJSX=L4;g.assertJSXAttribute=Z3;g.assertJSXClosingElement=eF;g.assertJSXClosingFragment=hF;g.assertJSXElement=tF;g.assertJSXEmptyExpression=iF;g.assertJSXExpressionContainer=rF;g.assertJSXFragment=pF;g.assertJSXIdentifier=nF;g.assertJSXMemberExpression=aF;g.assertJSXNamespacedName=oF;g.assertJSXOpeningElement=lF;g.assertJSXOpeningFragment=fF;g.assertJSXSpreadAttribute=cF;g.assertJSXSpreadChild=sF;g.assertJSXText=uF;g.assertLVal=p4;g.assertLabeledStatement=_L;g.assertLiteral=h4;g.assertLogicalExpression=FL;g.assertLoop=e4;g.assertMemberExpression=BL;g.assertMetaProperty=bM;g.assertMethod=y4;g.assertMiscellaneous=M4;g.assertMixedTypeAnnotation=d3;g.assertModuleDeclaration=V4;g.assertModuleExpression=AF;g.assertModuleSpecifier=v4;g.assertNewExpression=jL;g.assertNoop=dF;g.assertNullLiteral=DL;g.assertNullLiteralTypeAnnotation=YM;g.assertNullableTypeAnnotation=y3;g.assertNumberLiteral=q4;g.assertNumberLiteralTypeAnnotation=T3;g.assertNumberTypeAnnotation=g3;g.assertNumericLiteral=NL;g.assertObjectExpression=qL;g.assertObjectMember=T4;g.assertObjectMethod=$L;g.assertObjectPattern=EM;g.assertObjectProperty=UL;g.assertObjectTypeAnnotation=x3;g.assertObjectTypeCallProperty=S3;g.assertObjectTypeIndexer=E3;g.assertObjectTypeInternalSlot=b3;g.assertObjectTypeProperty=P3;g.assertObjectTypeSpreadProperty=v3;g.assertOpaqueType=A3;g.assertOptionalCallExpression=LM;g.assertOptionalIndexedAccessType=Q3;g.assertOptionalMemberExpression=DM;g.assertParenthesizedExpression=YL;g.assertPattern=b4;g.assertPatternLike=u4;g.assertPipelineBareFunction=IF;g.assertPipelinePrimaryTopicReference=kF;g.assertPipelineTopicExpression=CF;g.assertPlaceholder=mF;g.assertPrivate=w4;g.assertPrivateName=RM;g.assertProgram=RL;g.assertProperty=g4;g.assertPureish=o4;g.assertQualifiedTypeIdentifier=w3;g.assertRecordExpression=EF;g.assertRegExpLiteral=ML;g.assertRegexLiteral=$4;g.assertRestElement=KL;g.assertRestProperty=U4;g.assertReturnStatement=VL;g.assertScopable=zB;g.assertSequenceExpression=WL;g.assertSpreadElement=PM;g.assertSpreadProperty=K4;g.assertStandardized=VB;g.assertStatement=HB;g.assertStaticBlock=qM;g.assertStringLiteral=OL;g.assertStringLiteralTypeAnnotation=C3;g.assertStringTypeAnnotation=I3;g.assertSuper=vM;g.assertSwitchCase=zL;g.assertSwitchStatement=JL;g.assertSymbolTypeAnnotation=k3;g.assertTSAnyKeyword=qF;g.assertTSArrayType=aB;g.assertTSAsExpression=wB;g.assertTSBaseType=R4;g.assertTSBigIntKeyword=UF;g.assertTSBooleanKeyword=$F;g.assertTSCallSignatureDeclaration=MF;g.assertTSConditionalType=hB;g.assertTSConstructSignatureDeclaration=FF;g.assertTSConstructorType=tB;g.assertTSDeclareFunction=NF;g.assertTSDeclareMethod=DF;g.assertTSEntityName=f4;g.assertTSEnumBody=kB;g.assertTSEnumDeclaration=_B;g.assertTSEnumMember=OB;g.assertTSExportAssignment=jB;g.assertTSExpressionWithTypeArguments=SB;g.assertTSExternalModuleReference=FB;g.assertTSFunctionType=eB;g.assertTSImportEqualsDeclaration=MB;g.assertTSImportType=LB;g.assertTSIndexSignature=RF;g.assertTSIndexedAccessType=TB;g.assertTSInferType=dB;g.assertTSInstantiationExpression=AB;g.assertTSInterfaceBody=PB;g.assertTSInterfaceDeclaration=EB;g.assertTSIntersectionType=fB;g.assertTSIntrinsicKeyword=KF;g.assertTSLiteralType=bB;g.assertTSMappedType=gB;g.assertTSMethodSignature=jF;g.assertTSModuleBlock=DB;g.assertTSModuleDeclaration=NB;g.assertTSNamedTupleMember=uB;g.assertTSNamespaceExportDeclaration=RB;g.assertTSNeverKeyword=VF;g.assertTSNonNullExpression=BB;g.assertTSNullKeyword=WF;g.assertTSNumberKeyword=YF;g.assertTSObjectKeyword=zF;g.assertTSOptionalType=lB;g.assertTSParameterProperty=OF;g.assertTSParenthesizedType=mB;g.assertTSPropertySignature=BF;g.assertTSQualifiedName=LF;g.assertTSRestType=cB;g.assertTSSatisfiesExpression=CB;g.assertTSStringKeyword=JF;g.assertTSSymbolKeyword=XF;g.assertTSTemplateLiteralType=xB;g.assertTSThisType=ZF;g.assertTSTupleType=oB;g.assertTSType=j4;g.assertTSTypeAliasDeclaration=vB;g.assertTSTypeAnnotation=qB;g.assertTSTypeAssertion=IB;g.assertTSTypeElement=B4;g.assertTSTypeLiteral=nB;g.assertTSTypeOperator=yB;g.assertTSTypeParameter=KB;g.assertTSTypeParameterDeclaration=UB;g.assertTSTypeParameterInstantiation=$B;g.assertTSTypePredicate=rB;g.assertTSTypeQuery=sB;g.assertTSTypeReference=iB;g.assertTSUndefinedKeyword=HF;g.assertTSUnionType=pB;g.assertTSUnknownKeyword=GF;g.assertTSVoidKeyword=QF;g.assertTaggedTemplateExpression=AM;g.assertTemplateElement=wM;g.assertTemplateLiteral=CM;g.assertTerminatorless=GB;g.assertThisExpression=XL;g.assertThisTypeAnnotation=_3;g.assertThrowStatement=HL;g.assertTopicReference=wF;g.assertTryStatement=GL;g.assertTupleExpression=PF;g.assertTupleTypeAnnotation=O3;g.assertTypeAlias=D3;g.assertTypeAnnotation=L3;g.assertTypeCastExpression=M3;g.assertTypeParameter=F3;g.assertTypeParameterDeclaration=B3;g.assertTypeParameterInstantiation=j3;g.assertTypeScript=F4;g.assertTypeofTypeAnnotation=N3;g.assertUnaryExpression=QL;g.assertUnaryLike=x4;g.assertUnionTypeAnnotation=R3;g.assertUpdateExpression=ZL;g.assertUserWhitespacable=m4;g.assertV8IntrinsicIdentifier=yF;g.assertVariableDeclaration=eM;g.assertVariableDeclarator=tM;g.assertVariance=q3;g.assertVoidPattern=_F;g.assertVoidTypeAnnotation=$3;g.assertWhile=t4;g.assertWhileStatement=iM;g.assertWithStatement=rM;g.assertYieldExpression=IM;var aL=ms(),Pn=ds();function x(t,e,i){if(!(0,aL.default)(t,e,i))throw new Error(`Expected type "${t}" with option ${JSON.stringify(i)}, but instead got "${e.type}".`)}function oL(t,e){x("ArrayExpression",t,e)}function lL(t,e){x("AssignmentExpression",t,e)}function cL(t,e){x("BinaryExpression",t,e)}function uL(t,e){x("InterpreterDirective",t,e)}function pL(t,e){x("Directive",t,e)}function fL(t,e){x("DirectiveLiteral",t,e)}function hL(t,e){x("BlockStatement",t,e)}function dL(t,e){x("BreakStatement",t,e)}function mL(t,e){x("CallExpression",t,e)}function yL(t,e){x("CatchClause",t,e)}function TL(t,e){x("ConditionalExpression",t,e)}function gL(t,e){x("ContinueStatement",t,e)}function xL(t,e){x("DebuggerStatement",t,e)}function bL(t,e){x("DoWhileStatement",t,e)}function SL(t,e){x("EmptyStatement",t,e)}function EL(t,e){x("ExpressionStatement",t,e)}function PL(t,e){x("File",t,e)}function vL(t,e){x("ForInStatement",t,e)}function AL(t,e){x("ForStatement",t,e)}function wL(t,e){x("FunctionDeclaration",t,e)}function CL(t,e){x("FunctionExpression",t,e)}function IL(t,e){x("Identifier",t,e)}function kL(t,e){x("IfStatement",t,e)}function _L(t,e){x("LabeledStatement",t,e)}function OL(t,e){x("StringLiteral",t,e)}function NL(t,e){x("NumericLiteral",t,e)}function DL(t,e){x("NullLiteral",t,e)}function LL(t,e){x("BooleanLiteral",t,e)}function ML(t,e){x("RegExpLiteral",t,e)}function FL(t,e){x("LogicalExpression",t,e)}function BL(t,e){x("MemberExpression",t,e)}function jL(t,e){x("NewExpression",t,e)}function RL(t,e){x("Program",t,e)}function qL(t,e){x("ObjectExpression",t,e)}function $L(t,e){x("ObjectMethod",t,e)}function UL(t,e){x("ObjectProperty",t,e)}function KL(t,e){x("RestElement",t,e)}function VL(t,e){x("ReturnStatement",t,e)}function WL(t,e){x("SequenceExpression",t,e)}function YL(t,e){x("ParenthesizedExpression",t,e)}function zL(t,e){x("SwitchCase",t,e)}function JL(t,e){x("SwitchStatement",t,e)}function XL(t,e){x("ThisExpression",t,e)}function HL(t,e){x("ThrowStatement",t,e)}function GL(t,e){x("TryStatement",t,e)}function QL(t,e){x("UnaryExpression",t,e)}function ZL(t,e){x("UpdateExpression",t,e)}function eM(t,e){x("VariableDeclaration",t,e)}function tM(t,e){x("VariableDeclarator",t,e)}function iM(t,e){x("WhileStatement",t,e)}function rM(t,e){x("WithStatement",t,e)}function sM(t,e){x("AssignmentPattern",t,e)}function nM(t,e){x("ArrayPattern",t,e)}function aM(t,e){x("ArrowFunctionExpression",t,e)}function oM(t,e){x("ClassBody",t,e)}function lM(t,e){x("ClassExpression",t,e)}function cM(t,e){x("ClassDeclaration",t,e)}function uM(t,e){x("ExportAllDeclaration",t,e)}function pM(t,e){x("ExportDefaultDeclaration",t,e)}function fM(t,e){x("ExportNamedDeclaration",t,e)}function hM(t,e){x("ExportSpecifier",t,e)}function dM(t,e){x("ForOfStatement",t,e)}function mM(t,e){x("ImportDeclaration",t,e)}function yM(t,e){x("ImportDefaultSpecifier",t,e)}function TM(t,e){x("ImportNamespaceSpecifier",t,e)}function gM(t,e){x("ImportSpecifier",t,e)}function xM(t,e){x("ImportExpression",t,e)}function bM(t,e){x("MetaProperty",t,e)}function SM(t,e){x("ClassMethod",t,e)}function EM(t,e){x("ObjectPattern",t,e)}function PM(t,e){x("SpreadElement",t,e)}function vM(t,e){x("Super",t,e)}function AM(t,e){x("TaggedTemplateExpression",t,e)}function wM(t,e){x("TemplateElement",t,e)}function CM(t,e){x("TemplateLiteral",t,e)}function IM(t,e){x("YieldExpression",t,e)}function kM(t,e){x("AwaitExpression",t,e)}function _M(t,e){x("Import",t,e)}function OM(t,e){x("BigIntLiteral",t,e)}function NM(t,e){x("ExportNamespaceSpecifier",t,e)}function DM(t,e){x("OptionalMemberExpression",t,e)}function LM(t,e){x("OptionalCallExpression",t,e)}function MM(t,e){x("ClassProperty",t,e)}function FM(t,e){x("ClassAccessorProperty",t,e)}function BM(t,e){x("ClassPrivateProperty",t,e)}function jM(t,e){x("ClassPrivateMethod",t,e)}function RM(t,e){x("PrivateName",t,e)}function qM(t,e){x("StaticBlock",t,e)}function $M(t,e){x("ImportAttribute",t,e)}function UM(t,e){x("AnyTypeAnnotation",t,e)}function KM(t,e){x("ArrayTypeAnnotation",t,e)}function VM(t,e){x("BooleanTypeAnnotation",t,e)}function WM(t,e){x("BooleanLiteralTypeAnnotation",t,e)}function YM(t,e){x("NullLiteralTypeAnnotation",t,e)}function zM(t,e){x("ClassImplements",t,e)}function JM(t,e){x("DeclareClass",t,e)}function XM(t,e){x("DeclareFunction",t,e)}function HM(t,e){x("DeclareInterface",t,e)}function GM(t,e){x("DeclareModule",t,e)}function QM(t,e){x("DeclareModuleExports",t,e)}function ZM(t,e){x("DeclareTypeAlias",t,e)}function e3(t,e){x("DeclareOpaqueType",t,e)}function t3(t,e){x("DeclareVariable",t,e)}function i3(t,e){x("DeclareExportDeclaration",t,e)}function r3(t,e){x("DeclareExportAllDeclaration",t,e)}function s3(t,e){x("DeclaredPredicate",t,e)}function n3(t,e){x("ExistsTypeAnnotation",t,e)}function a3(t,e){x("FunctionTypeAnnotation",t,e)}function o3(t,e){x("FunctionTypeParam",t,e)}function l3(t,e){x("GenericTypeAnnotation",t,e)}function c3(t,e){x("InferredPredicate",t,e)}function u3(t,e){x("InterfaceExtends",t,e)}function p3(t,e){x("InterfaceDeclaration",t,e)}function f3(t,e){x("InterfaceTypeAnnotation",t,e)}function h3(t,e){x("IntersectionTypeAnnotation",t,e)}function d3(t,e){x("MixedTypeAnnotation",t,e)}function m3(t,e){x("EmptyTypeAnnotation",t,e)}function y3(t,e){x("NullableTypeAnnotation",t,e)}function T3(t,e){x("NumberLiteralTypeAnnotation",t,e)}function g3(t,e){x("NumberTypeAnnotation",t,e)}function x3(t,e){x("ObjectTypeAnnotation",t,e)}function b3(t,e){x("ObjectTypeInternalSlot",t,e)}function S3(t,e){x("ObjectTypeCallProperty",t,e)}function E3(t,e){x("ObjectTypeIndexer",t,e)}function P3(t,e){x("ObjectTypeProperty",t,e)}function v3(t,e){x("ObjectTypeSpreadProperty",t,e)}function A3(t,e){x("OpaqueType",t,e)}function w3(t,e){x("QualifiedTypeIdentifier",t,e)}function C3(t,e){x("StringLiteralTypeAnnotation",t,e)}function I3(t,e){x("StringTypeAnnotation",t,e)}function k3(t,e){x("SymbolTypeAnnotation",t,e)}function _3(t,e){x("ThisTypeAnnotation",t,e)}function O3(t,e){x("TupleTypeAnnotation",t,e)}function N3(t,e){x("TypeofTypeAnnotation",t,e)}function D3(t,e){x("TypeAlias",t,e)}function L3(t,e){x("TypeAnnotation",t,e)}function M3(t,e){x("TypeCastExpression",t,e)}function F3(t,e){x("TypeParameter",t,e)}function B3(t,e){x("TypeParameterDeclaration",t,e)}function j3(t,e){x("TypeParameterInstantiation",t,e)}function R3(t,e){x("UnionTypeAnnotation",t,e)}function q3(t,e){x("Variance",t,e)}function $3(t,e){x("VoidTypeAnnotation",t,e)}function U3(t,e){x("EnumDeclaration",t,e)}function K3(t,e){x("EnumBooleanBody",t,e)}function V3(t,e){x("EnumNumberBody",t,e)}function W3(t,e){x("EnumStringBody",t,e)}function Y3(t,e){x("EnumSymbolBody",t,e)}function z3(t,e){x("EnumBooleanMember",t,e)}function J3(t,e){x("EnumNumberMember",t,e)}function X3(t,e){x("EnumStringMember",t,e)}function H3(t,e){x("EnumDefaultedMember",t,e)}function G3(t,e){x("IndexedAccessType",t,e)}function Q3(t,e){x("OptionalIndexedAccessType",t,e)}function Z3(t,e){x("JSXAttribute",t,e)}function eF(t,e){x("JSXClosingElement",t,e)}function tF(t,e){x("JSXElement",t,e)}function iF(t,e){x("JSXEmptyExpression",t,e)}function rF(t,e){x("JSXExpressionContainer",t,e)}function sF(t,e){x("JSXSpreadChild",t,e)}function nF(t,e){x("JSXIdentifier",t,e)}function aF(t,e){x("JSXMemberExpression",t,e)}function oF(t,e){x("JSXNamespacedName",t,e)}function lF(t,e){x("JSXOpeningElement",t,e)}function cF(t,e){x("JSXSpreadAttribute",t,e)}function uF(t,e){x("JSXText",t,e)}function pF(t,e){x("JSXFragment",t,e)}function fF(t,e){x("JSXOpeningFragment",t,e)}function hF(t,e){x("JSXClosingFragment",t,e)}function dF(t,e){x("Noop",t,e)}function mF(t,e){x("Placeholder",t,e)}function yF(t,e){x("V8IntrinsicIdentifier",t,e)}function TF(t,e){x("ArgumentPlaceholder",t,e)}function gF(t,e){x("BindExpression",t,e)}function xF(t,e){x("Decorator",t,e)}function bF(t,e){x("DoExpression",t,e)}function SF(t,e){x("ExportDefaultSpecifier",t,e)}function EF(t,e){x("RecordExpression",t,e)}function PF(t,e){x("TupleExpression",t,e)}function vF(t,e){x("DecimalLiteral",t,e)}function AF(t,e){x("ModuleExpression",t,e)}function wF(t,e){x("TopicReference",t,e)}function CF(t,e){x("PipelineTopicExpression",t,e)}function IF(t,e){x("PipelineBareFunction",t,e)}function kF(t,e){x("PipelinePrimaryTopicReference",t,e)}function _F(t,e){x("VoidPattern",t,e)}function OF(t,e){x("TSParameterProperty",t,e)}function NF(t,e){x("TSDeclareFunction",t,e)}function DF(t,e){x("TSDeclareMethod",t,e)}function LF(t,e){x("TSQualifiedName",t,e)}function MF(t,e){x("TSCallSignatureDeclaration",t,e)}function FF(t,e){x("TSConstructSignatureDeclaration",t,e)}function BF(t,e){x("TSPropertySignature",t,e)}function jF(t,e){x("TSMethodSignature",t,e)}function RF(t,e){x("TSIndexSignature",t,e)}function qF(t,e){x("TSAnyKeyword",t,e)}function $F(t,e){x("TSBooleanKeyword",t,e)}function UF(t,e){x("TSBigIntKeyword",t,e)}function KF(t,e){x("TSIntrinsicKeyword",t,e)}function VF(t,e){x("TSNeverKeyword",t,e)}function WF(t,e){x("TSNullKeyword",t,e)}function YF(t,e){x("TSNumberKeyword",t,e)}function zF(t,e){x("TSObjectKeyword",t,e)}function JF(t,e){x("TSStringKeyword",t,e)}function XF(t,e){x("TSSymbolKeyword",t,e)}function HF(t,e){x("TSUndefinedKeyword",t,e)}function GF(t,e){x("TSUnknownKeyword",t,e)}function QF(t,e){x("TSVoidKeyword",t,e)}function ZF(t,e){x("TSThisType",t,e)}function eB(t,e){x("TSFunctionType",t,e)}function tB(t,e){x("TSConstructorType",t,e)}function iB(t,e){x("TSTypeReference",t,e)}function rB(t,e){x("TSTypePredicate",t,e)}function sB(t,e){x("TSTypeQuery",t,e)}function nB(t,e){x("TSTypeLiteral",t,e)}function aB(t,e){x("TSArrayType",t,e)}function oB(t,e){x("TSTupleType",t,e)}function lB(t,e){x("TSOptionalType",t,e)}function cB(t,e){x("TSRestType",t,e)}function uB(t,e){x("TSNamedTupleMember",t,e)}function pB(t,e){x("TSUnionType",t,e)}function fB(t,e){x("TSIntersectionType",t,e)}function hB(t,e){x("TSConditionalType",t,e)}function dB(t,e){x("TSInferType",t,e)}function mB(t,e){x("TSParenthesizedType",t,e)}function yB(t,e){x("TSTypeOperator",t,e)}function TB(t,e){x("TSIndexedAccessType",t,e)}function gB(t,e){x("TSMappedType",t,e)}function xB(t,e){x("TSTemplateLiteralType",t,e)}function bB(t,e){x("TSLiteralType",t,e)}function SB(t,e){x("TSExpressionWithTypeArguments",t,e)}function EB(t,e){x("TSInterfaceDeclaration",t,e)}function PB(t,e){x("TSInterfaceBody",t,e)}function vB(t,e){x("TSTypeAliasDeclaration",t,e)}function AB(t,e){x("TSInstantiationExpression",t,e)}function wB(t,e){x("TSAsExpression",t,e)}function CB(t,e){x("TSSatisfiesExpression",t,e)}function IB(t,e){x("TSTypeAssertion",t,e)}function kB(t,e){x("TSEnumBody",t,e)}function _B(t,e){x("TSEnumDeclaration",t,e)}function OB(t,e){x("TSEnumMember",t,e)}function NB(t,e){x("TSModuleDeclaration",t,e)}function DB(t,e){x("TSModuleBlock",t,e)}function LB(t,e){x("TSImportType",t,e)}function MB(t,e){x("TSImportEqualsDeclaration",t,e)}function FB(t,e){x("TSExternalModuleReference",t,e)}function BB(t,e){x("TSNonNullExpression",t,e)}function jB(t,e){x("TSExportAssignment",t,e)}function RB(t,e){x("TSNamespaceExportDeclaration",t,e)}function qB(t,e){x("TSTypeAnnotation",t,e)}function $B(t,e){x("TSTypeParameterInstantiation",t,e)}function UB(t,e){x("TSTypeParameterDeclaration",t,e)}function KB(t,e){x("TSTypeParameter",t,e)}function VB(t,e){x("Standardized",t,e)}function WB(t,e){x("Expression",t,e)}function YB(t,e){x("Binary",t,e)}function zB(t,e){x("Scopable",t,e)}function JB(t,e){x("BlockParent",t,e)}function XB(t,e){x("Block",t,e)}function HB(t,e){x("Statement",t,e)}function GB(t,e){x("Terminatorless",t,e)}function QB(t,e){x("CompletionStatement",t,e)}function ZB(t,e){x("Conditional",t,e)}function e4(t,e){x("Loop",t,e)}function t4(t,e){x("While",t,e)}function i4(t,e){x("ExpressionWrapper",t,e)}function r4(t,e){x("For",t,e)}function s4(t,e){x("ForXStatement",t,e)}function n4(t,e){x("Function",t,e)}function a4(t,e){x("FunctionParent",t,e)}function o4(t,e){x("Pureish",t,e)}function l4(t,e){x("Declaration",t,e)}function c4(t,e){x("FunctionParameter",t,e)}function u4(t,e){x("PatternLike",t,e)}function p4(t,e){x("LVal",t,e)}function f4(t,e){x("TSEntityName",t,e)}function h4(t,e){x("Literal",t,e)}function d4(t,e){x("Immutable",t,e)}function m4(t,e){x("UserWhitespacable",t,e)}function y4(t,e){x("Method",t,e)}function T4(t,e){x("ObjectMember",t,e)}function g4(t,e){x("Property",t,e)}function x4(t,e){x("UnaryLike",t,e)}function b4(t,e){x("Pattern",t,e)}function S4(t,e){x("Class",t,e)}function E4(t,e){x("ImportOrExportDeclaration",t,e)}function P4(t,e){x("ExportDeclaration",t,e)}function v4(t,e){x("ModuleSpecifier",t,e)}function A4(t,e){x("Accessor",t,e)}function w4(t,e){x("Private",t,e)}function C4(t,e){x("Flow",t,e)}function I4(t,e){x("FlowType",t,e)}function k4(t,e){x("FlowBaseAnnotation",t,e)}function _4(t,e){x("FlowDeclaration",t,e)}function O4(t,e){x("FlowPredicate",t,e)}function N4(t,e){x("EnumBody",t,e)}function D4(t,e){x("EnumMember",t,e)}function L4(t,e){x("JSX",t,e)}function M4(t,e){x("Miscellaneous",t,e)}function F4(t,e){x("TypeScript",t,e)}function B4(t,e){x("TSTypeElement",t,e)}function j4(t,e){x("TSType",t,e)}function R4(t,e){x("TSBaseType",t,e)}function q4(t,e){(0,Pn.default)("assertNumberLiteral","assertNumericLiteral"),x("NumberLiteral",t,e)}function $4(t,e){(0,Pn.default)("assertRegexLiteral","assertRegExpLiteral"),x("RegexLiteral",t,e)}function U4(t,e){(0,Pn.default)("assertRestProperty","assertRestElement"),x("RestProperty",t,e)}function K4(t,e){(0,Pn.default)("assertSpreadProperty","assertSpreadElement"),x("SpreadProperty",t,e)}function V4(t,e){(0,Pn.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),x("ModuleDeclaration",t,e)}});var hy=_(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.default=void 0;var di=Yt(),use=to.default=W4;function W4(t){switch(t){case"string":return(0,di.stringTypeAnnotation)();case"number":return(0,di.numberTypeAnnotation)();case"undefined":return(0,di.voidTypeAnnotation)();case"boolean":return(0,di.booleanTypeAnnotation)();case"function":return(0,di.genericTypeAnnotation)((0,di.identifier)("Function"));case"object":return(0,di.genericTypeAnnotation)((0,di.identifier)("Object"));case"symbol":return(0,di.genericTypeAnnotation)((0,di.identifier)("Symbol"));case"bigint":return(0,di.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+t)}});var ou=_(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.default=my;var vn=ot();function dy(t){return(0,vn.isIdentifier)(t)?t.name:`${t.id.name}.${dy(t.qualification)}`}function my(t){let e=Array.from(t),i=new Map,r=new Map,s=new Set,n=[];for(let a=0;a<e.length;a++){let l=e[a];if(l&&!n.includes(l)){if((0,vn.isAnyTypeAnnotation)(l))return[l];if((0,vn.isFlowBaseAnnotation)(l)){r.set(l.type,l);continue}if((0,vn.isUnionTypeAnnotation)(l)){s.has(l.types)||(e.push(...l.types),s.add(l.types));continue}if((0,vn.isGenericTypeAnnotation)(l)){let c=dy(l.id);if(i.has(c)){let o=i.get(c);o.typeParameters?l.typeParameters&&(o.typeParameters.params.push(...l.typeParameters.params),o.typeParameters.params=my(o.typeParameters.params)):o=l.typeParameters}else i.set(c,l);continue}n.push(l)}}for(let[,a]of r)n.push(a);for(let[,a]of i)n.push(a);return n}});var yy=_(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});lu.default=J4;var Y4=Yt(),z4=ou();function J4(t){let e=(0,z4.default)(t);return e.length===1?e[0]:(0,Y4.unionTypeAnnotation)(e)}});var xy=_(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.default=gy;var Es=ot();function Ty(t){return(0,Es.isIdentifier)(t)?t.name:(0,Es.isThisExpression)(t)?"this":`${t.right.name}.${Ty(t.left)}`}function gy(t){let e=Array.from(t),i=new Map,r=new Map,s=new Set,n=[];for(let a=0;a<e.length;a++){let l=e[a];if(!l||n.includes(l))continue;if((0,Es.isTSAnyKeyword)(l))return[l];if((0,Es.isTSBaseType)(l)){r.set(l.type,l);continue}if((0,Es.isTSUnionType)(l)){s.has(l.types)||(e.push(...l.types),s.add(l.types));continue}let c="typeParameters";if((0,Es.isTSTypeReference)(l)&&l[c]){let o=l[c],u=Ty(l.typeName);if(i.has(u)){let f=i.get(u),d=f[c];d?(d.params.push(...o.params),d.params=gy(d.params)):f=o}else i.set(u,l);continue}n.push(l)}for(let[,a]of r)n.push(a);for(let[,a]of i)n.push(a);return n}});var by=_(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});uu.default=Q4;var X4=Yt(),H4=xy(),G4=ot();function Q4(t){let e=t.map(r=>(0,G4.isTSTypeAnnotation)(r)?r.typeAnnotation:r),i=(0,H4.default)(e);return i.length===1?i[0]:(0,X4.tsUnionType)(i)}});var fu=_(pu=>{"use strict";Object.defineProperty(pu,"__esModule",{value:!0});pu.buildUndefinedNode=Z4;var Sy=Yt();function Z4(){return(0,Sy.unaryExpression)("void",(0,Sy.numericLiteral)(0),!0)}});var lr=_(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});du.default=ej;var Ey=si(),Py=ot(),{hasOwn:_i}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function vy(t,e,i,r){return t&&typeof t.type=="string"?Ay(t,e,i,r):t}function hu(t,e,i,r){return Array.isArray(t)?t.map(s=>vy(s,e,i,r)):vy(t,e,i,r)}function ej(t,e=!0,i=!1){return Ay(t,e,i,new Map)}function Ay(t,e=!0,i=!1,r){if(!t)return t;let{type:s}=t,n={type:t.type};if((0,Py.isIdentifier)(t))n.name=t.name,_i(t,"optional")&&typeof t.optional=="boolean"&&(n.optional=t.optional),_i(t,"typeAnnotation")&&(n.typeAnnotation=e?hu(t.typeAnnotation,!0,i,r):t.typeAnnotation),_i(t,"decorators")&&(n.decorators=e?hu(t.decorators,!0,i,r):t.decorators);else if(_i(Ey.NODE_FIELDS,s))for(let a of Object.keys(Ey.NODE_FIELDS[s]))_i(t,a)&&(e?n[a]=(0,Py.isFile)(t)&&a==="comments"?io(t.comments,e,i,r):hu(t[a],!0,i,r):n[a]=t[a]);else throw new Error(`Unknown node type: "${s}"`);return _i(t,"loc")&&(i?n.loc=null:n.loc=t.loc),_i(t,"leadingComments")&&(n.leadingComments=io(t.leadingComments,e,i,r)),_i(t,"innerComments")&&(n.innerComments=io(t.innerComments,e,i,r)),_i(t,"trailingComments")&&(n.trailingComments=io(t.trailingComments,e,i,r)),_i(t,"extra")&&(n.extra=Object.assign({},t.extra)),n}function io(t,e,i,r){return!t||!e?t:t.map(s=>{let n=r.get(s);if(n)return n;let{type:a,value:l,loc:c}=s,o={type:a,value:l,loc:c};return i&&(o.loc=null),r.set(s,o),o})}});var wy=_(mu=>{"use strict";Object.defineProperty(mu,"__esModule",{value:!0});mu.default=ij;var tj=lr();function ij(t){return(0,tj.default)(t,!1)}});var Cy=_(yu=>{"use strict";Object.defineProperty(yu,"__esModule",{value:!0});yu.default=sj;var rj=lr();function sj(t){return(0,rj.default)(t)}});var Iy=_(Tu=>{"use strict";Object.defineProperty(Tu,"__esModule",{value:!0});Tu.default=aj;var nj=lr();function aj(t){return(0,nj.default)(t,!0,!0)}});var ky=_(gu=>{"use strict";Object.defineProperty(gu,"__esModule",{value:!0});gu.default=lj;var oj=lr();function lj(t){return(0,oj.default)(t,!1,!0)}});var bu=_(xu=>{"use strict";Object.defineProperty(xu,"__esModule",{value:!0});xu.default=cj;function cj(t,e,i){if(!i||!t)return t;let r=`${e}Comments`;return t[r]?e==="leading"?t[r]=i.concat(t[r]):t[r].push(...i):t[r]=i,t}});var _y=_(Su=>{"use strict";Object.defineProperty(Su,"__esModule",{value:!0});Su.default=pj;var uj=bu();function pj(t,e,i,r){return(0,uj.default)(t,e,[{type:r?"CommentLine":"CommentBlock",value:i}])}});var ro=_(Eu=>{"use strict";Object.defineProperty(Eu,"__esModule",{value:!0});Eu.default=fj;function fj(t,e,i){e&&i&&(e[t]=Array.from(new Set([].concat(e[t],i[t]).filter(Boolean))))}});var vu=_(Pu=>{"use strict";Object.defineProperty(Pu,"__esModule",{value:!0});Pu.default=dj;var hj=ro();function dj(t,e){(0,hj.default)("innerComments",t,e)}});var wu=_(Au=>{"use strict";Object.defineProperty(Au,"__esModule",{value:!0});Au.default=yj;var mj=ro();function yj(t,e){(0,mj.default)("leadingComments",t,e)}});var Iu=_(Cu=>{"use strict";Object.defineProperty(Cu,"__esModule",{value:!0});Cu.default=gj;var Tj=ro();function gj(t,e){(0,Tj.default)("trailingComments",t,e)}});var _u=_(ku=>{"use strict";Object.defineProperty(ku,"__esModule",{value:!0});ku.default=Ej;var xj=Iu(),bj=wu(),Sj=vu();function Ej(t,e){return(0,xj.default)(t,e),(0,bj.default)(t,e),(0,Sj.default)(t,e),t}});var Oy=_(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});Ou.default=vj;var Pj=Ts();function vj(t){return Pj.COMMENT_KEYS.forEach(e=>{t[e]=null}),t}});var Ny=_($=>{"use strict";Object.defineProperty($,"__esModule",{value:!0});$.WHILE_TYPES=$.USERWHITESPACABLE_TYPES=$.UNARYLIKE_TYPES=$.TYPESCRIPT_TYPES=$.TSTYPE_TYPES=$.TSTYPEELEMENT_TYPES=$.TSENTITYNAME_TYPES=$.TSBASETYPE_TYPES=$.TERMINATORLESS_TYPES=$.STATEMENT_TYPES=$.STANDARDIZED_TYPES=$.SCOPABLE_TYPES=$.PUREISH_TYPES=$.PROPERTY_TYPES=$.PRIVATE_TYPES=$.PATTERN_TYPES=$.PATTERNLIKE_TYPES=$.OBJECTMEMBER_TYPES=$.MODULESPECIFIER_TYPES=$.MODULEDECLARATION_TYPES=$.MISCELLANEOUS_TYPES=$.METHOD_TYPES=$.LVAL_TYPES=$.LOOP_TYPES=$.LITERAL_TYPES=$.JSX_TYPES=$.IMPORTOREXPORTDECLARATION_TYPES=$.IMMUTABLE_TYPES=$.FUNCTION_TYPES=$.FUNCTIONPARENT_TYPES=$.FUNCTIONPARAMETER_TYPES=$.FOR_TYPES=$.FORXSTATEMENT_TYPES=$.FLOW_TYPES=$.FLOWTYPE_TYPES=$.FLOWPREDICATE_TYPES=$.FLOWDECLARATION_TYPES=$.FLOWBASEANNOTATION_TYPES=$.EXPRESSION_TYPES=$.EXPRESSIONWRAPPER_TYPES=$.EXPORTDECLARATION_TYPES=$.ENUMMEMBER_TYPES=$.ENUMBODY_TYPES=$.DECLARATION_TYPES=$.CONDITIONAL_TYPES=$.COMPLETIONSTATEMENT_TYPES=$.CLASS_TYPES=$.BLOCK_TYPES=$.BLOCKPARENT_TYPES=$.BINARY_TYPES=$.ACCESSOR_TYPES=void 0;var he=si(),_se=$.STANDARDIZED_TYPES=he.FLIPPED_ALIAS_KEYS.Standardized,Ose=$.EXPRESSION_TYPES=he.FLIPPED_ALIAS_KEYS.Expression,Nse=$.BINARY_TYPES=he.FLIPPED_ALIAS_KEYS.Binary,Dse=$.SCOPABLE_TYPES=he.FLIPPED_ALIAS_KEYS.Scopable,Lse=$.BLOCKPARENT_TYPES=he.FLIPPED_ALIAS_KEYS.BlockParent,Mse=$.BLOCK_TYPES=he.FLIPPED_ALIAS_KEYS.Block,Fse=$.STATEMENT_TYPES=he.FLIPPED_ALIAS_KEYS.Statement,Bse=$.TERMINATORLESS_TYPES=he.FLIPPED_ALIAS_KEYS.Terminatorless,jse=$.COMPLETIONSTATEMENT_TYPES=he.FLIPPED_ALIAS_KEYS.CompletionStatement,Rse=$.CONDITIONAL_TYPES=he.FLIPPED_ALIAS_KEYS.Conditional,qse=$.LOOP_TYPES=he.FLIPPED_ALIAS_KEYS.Loop,$se=$.WHILE_TYPES=he.FLIPPED_ALIAS_KEYS.While,Use=$.EXPRESSIONWRAPPER_TYPES=he.FLIPPED_ALIAS_KEYS.ExpressionWrapper,Kse=$.FOR_TYPES=he.FLIPPED_ALIAS_KEYS.For,Vse=$.FORXSTATEMENT_TYPES=he.FLIPPED_ALIAS_KEYS.ForXStatement,Wse=$.FUNCTION_TYPES=he.FLIPPED_ALIAS_KEYS.Function,Yse=$.FUNCTIONPARENT_TYPES=he.FLIPPED_ALIAS_KEYS.FunctionParent,zse=$.PUREISH_TYPES=he.FLIPPED_ALIAS_KEYS.Pureish,Jse=$.DECLARATION_TYPES=he.FLIPPED_ALIAS_KEYS.Declaration,Xse=$.FUNCTIONPARAMETER_TYPES=he.FLIPPED_ALIAS_KEYS.FunctionParameter,Hse=$.PATTERNLIKE_TYPES=he.FLIPPED_ALIAS_KEYS.PatternLike,Gse=$.LVAL_TYPES=he.FLIPPED_ALIAS_KEYS.LVal,Qse=$.TSENTITYNAME_TYPES=he.FLIPPED_ALIAS_KEYS.TSEntityName,Zse=$.LITERAL_TYPES=he.FLIPPED_ALIAS_KEYS.Literal,ene=$.IMMUTABLE_TYPES=he.FLIPPED_ALIAS_KEYS.Immutable,tne=$.USERWHITESPACABLE_TYPES=he.FLIPPED_ALIAS_KEYS.UserWhitespacable,ine=$.METHOD_TYPES=he.FLIPPED_ALIAS_KEYS.Method,rne=$.OBJECTMEMBER_TYPES=he.FLIPPED_ALIAS_KEYS.ObjectMember,sne=$.PROPERTY_TYPES=he.FLIPPED_ALIAS_KEYS.Property,nne=$.UNARYLIKE_TYPES=he.FLIPPED_ALIAS_KEYS.UnaryLike,ane=$.PATTERN_TYPES=he.FLIPPED_ALIAS_KEYS.Pattern,one=$.CLASS_TYPES=he.FLIPPED_ALIAS_KEYS.Class,Aj=$.IMPORTOREXPORTDECLARATION_TYPES=he.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,lne=$.EXPORTDECLARATION_TYPES=he.FLIPPED_ALIAS_KEYS.ExportDeclaration,cne=$.MODULESPECIFIER_TYPES=he.FLIPPED_ALIAS_KEYS.ModuleSpecifier,une=$.ACCESSOR_TYPES=he.FLIPPED_ALIAS_KEYS.Accessor,pne=$.PRIVATE_TYPES=he.FLIPPED_ALIAS_KEYS.Private,fne=$.FLOW_TYPES=he.FLIPPED_ALIAS_KEYS.Flow,hne=$.FLOWTYPE_TYPES=he.FLIPPED_ALIAS_KEYS.FlowType,dne=$.FLOWBASEANNOTATION_TYPES=he.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,mne=$.FLOWDECLARATION_TYPES=he.FLIPPED_ALIAS_KEYS.FlowDeclaration,yne=$.FLOWPREDICATE_TYPES=he.FLIPPED_ALIAS_KEYS.FlowPredicate,Tne=$.ENUMBODY_TYPES=he.FLIPPED_ALIAS_KEYS.EnumBody,gne=$.ENUMMEMBER_TYPES=he.FLIPPED_ALIAS_KEYS.EnumMember,xne=$.JSX_TYPES=he.FLIPPED_ALIAS_KEYS.JSX,bne=$.MISCELLANEOUS_TYPES=he.FLIPPED_ALIAS_KEYS.Miscellaneous,Sne=$.TYPESCRIPT_TYPES=he.FLIPPED_ALIAS_KEYS.TypeScript,Ene=$.TSTYPEELEMENT_TYPES=he.FLIPPED_ALIAS_KEYS.TSTypeElement,Pne=$.TSTYPE_TYPES=he.FLIPPED_ALIAS_KEYS.TSType,vne=$.TSBASETYPE_TYPES=he.FLIPPED_ALIAS_KEYS.TSBaseType,Ane=$.MODULEDECLARATION_TYPES=Aj});var Lu=_(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});Du.default=wj;var so=ot(),Nu=Yt();function wj(t,e){if((0,so.isBlockStatement)(t))return t;let i=[];return(0,so.isEmptyStatement)(t)?i=[]:((0,so.isStatement)(t)||((0,so.isFunction)(e)?t=(0,Nu.returnStatement)(t):t=(0,Nu.expressionStatement)(t)),i=[t]),(0,Nu.blockStatement)(i)}});var Dy=_(Mu=>{"use strict";Object.defineProperty(Mu,"__esModule",{value:!0});Mu.default=Ij;var Cj=Lu();function Ij(t,e="body"){let i=(0,Cj.default)(t[e],t);return t[e]=i,i}});var Bu=_(Fu=>{"use strict";Object.defineProperty(Fu,"__esModule",{value:!0});Fu.default=Oj;var kj=ys(),_j=Tn();function Oj(t){t=t+"";let e="";for(let i of t)e+=(0,_j.isIdentifierChar)(i.codePointAt(0))?i:"-";return e=e.replace(/^[-0-9]+/,""),e=e.replace(/[-\s]+(.)?/g,function(i,r){return r?r.toUpperCase():""}),(0,kj.default)(e)||(e=`_${e}`),e||"_"}});var Ly=_(ju=>{"use strict";Object.defineProperty(ju,"__esModule",{value:!0});ju.default=Dj;var Nj=Bu();function Dj(t){return t=(0,Nj.default)(t),(t==="eval"||t==="arguments")&&(t="_"+t),t}});var My=_(Ru=>{"use strict";Object.defineProperty(Ru,"__esModule",{value:!0});Ru.default=Fj;var Lj=ot(),Mj=Yt();function Fj(t,e=t.key||t.property){return!t.computed&&(0,Lj.isIdentifier)(e)&&(e=(0,Mj.stringLiteral)(e.name)),e}});var Fy=_(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.default=void 0;var An=ot(),Nne=no.default=Bj;function Bj(t){if((0,An.isExpressionStatement)(t)&&(t=t.expression),(0,An.isExpression)(t))return t;if((0,An.isClass)(t)?(t.type="ClassExpression",t.abstract=!1):(0,An.isFunction)(t)&&(t.type="FunctionExpression"),!(0,An.isExpression)(t))throw new Error(`cannot turn ${t.type} to an expression`);return t}});var $u=_(qu=>{"use strict";Object.defineProperty(qu,"__esModule",{value:!0});qu.default=wn;var jj=si(),By=Symbol(),jy=Symbol();function wn(t,e,i){if(!t)return!1;let r=jj.VISITOR_KEYS[t.type];if(!r)return!1;i=i||{};let s=e(t,i);if(s!==void 0)switch(s){case By:return!1;case jy:return!0}for(let n of r){let a=t[n];if(a){if(Array.isArray(a)){for(let l of a)if(wn(l,e,i))return!0}else if(wn(a,e,i))return!0}}return!1}wn.skip=By;wn.stop=jy});var Ku=_(Uu=>{"use strict";Object.defineProperty(Uu,"__esModule",{value:!0});Uu.default=$j;var Rj=Ts(),Ry=["tokens","start","end","loc","raw","rawValue"],qj=[...Rj.COMMENT_KEYS,"comments",...Ry];function $j(t,e={}){let i=e.preserveComments?Ry:qj;for(let s of i)t[s]!=null&&(t[s]=void 0);for(let s of Object.keys(t))s[0]==="_"&&t[s]!=null&&(t[s]=void 0);let r=Object.getOwnPropertySymbols(t);for(let s of r)t[s]=null}});var Wu=_(Vu=>{"use strict";Object.defineProperty(Vu,"__esModule",{value:!0});Vu.default=Vj;var Uj=$u(),Kj=Ku();function Vj(t,e){return(0,Uj.default)(t,Kj.default,e),t}});var $y=_(Yu=>{"use strict";Object.defineProperty(Yu,"__esModule",{value:!0});Yu.default=Dr;var qy=ot(),Wj=lr(),Yj=Wu();function Dr(t,e=t.key){let i;return t.kind==="method"?Dr.increment()+"":((0,qy.isIdentifier)(e)?i=e.name:(0,qy.isStringLiteral)(e)?i=JSON.stringify(e.value):i=JSON.stringify((0,Yj.default)((0,Wj.default)(e))),t.computed&&(i=`[${i}]`),t.static&&(i=`static:${i}`),i)}Dr.uid=0;Dr.increment=function(){return Dr.uid>=Number.MAX_SAFE_INTEGER?Dr.uid=0:Dr.uid++}});var Uy=_(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.default=void 0;var ao=ot(),zj=Yt(),jne=oo.default=Jj;function Jj(t,e){if((0,ao.isStatement)(t))return t;let i=!1,r;if((0,ao.isClass)(t))i=!0,r="ClassDeclaration";else if((0,ao.isFunction)(t))i=!0,r="FunctionDeclaration";else if((0,ao.isAssignmentExpression)(t))return(0,zj.expressionStatement)(t);if(i&&!t.id&&(r=!1),!r){if(e)return!1;throw new Error(`cannot turn ${t.type} to a statement`)}return t.type=r,t}});var Ky=_(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.default=void 0;var Xj=ys(),ht=Yt(),qne=lo.default=zu,Hj=Function.call.bind(Object.prototype.toString);function Gj(t){return Hj(t)==="[object RegExp]"}function Qj(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);return e===null||Object.getPrototypeOf(e)===null}function zu(t){if(t===void 0)return(0,ht.identifier)("undefined");if(t===!0||t===!1)return(0,ht.booleanLiteral)(t);if(t===null)return(0,ht.nullLiteral)();if(typeof t=="string")return(0,ht.stringLiteral)(t);if(typeof t=="number"){let e;if(Number.isFinite(t))e=(0,ht.numericLiteral)(Math.abs(t));else{let i;Number.isNaN(t)?i=(0,ht.numericLiteral)(0):i=(0,ht.numericLiteral)(1),e=(0,ht.binaryExpression)("/",i,(0,ht.numericLiteral)(0))}return(t<0||Object.is(t,-0))&&(e=(0,ht.unaryExpression)("-",e)),e}if(typeof t=="bigint")return t<0?(0,ht.unaryExpression)("-",(0,ht.bigIntLiteral)(-t)):(0,ht.bigIntLiteral)(t);if(Gj(t)){let e=t.source,i=/\/([a-z]*)$/.exec(t.toString())[1];return(0,ht.regExpLiteral)(e,i)}if(Array.isArray(t))return(0,ht.arrayExpression)(t.map(zu));if(Qj(t)){let e=[];for(let i of Object.keys(t)){let r,s=!1;(0,Xj.default)(i)?i==="__proto__"?(s=!0,r=(0,ht.stringLiteral)(i)):r=(0,ht.identifier)(i):r=(0,ht.stringLiteral)(i),e.push((0,ht.objectProperty)(r,zu(t[i]),s))}return(0,ht.objectExpression)(e)}throw new Error("don't know how to turn this value into a node")}});var Vy=_(Ju=>{"use strict";Object.defineProperty(Ju,"__esModule",{value:!0});Ju.default=eR;var Zj=Yt();function eR(t,e,i=!1){return t.object=(0,Zj.memberExpression)(t.object,t.property,t.computed),t.property=e,t.computed=!!i,t}});var Yy=_(Xu=>{"use strict";Object.defineProperty(Xu,"__esModule",{value:!0});Xu.default=iR;var Wy=Ts(),tR=_u();function iR(t,e){if(!t||!e)return t;for(let i of Wy.INHERIT_KEYS.optional)t[i]==null&&(t[i]=e[i]);for(let i of Object.keys(e))i[0]==="_"&&i!=="__clone"&&(t[i]=e[i]);for(let i of Wy.INHERIT_KEYS.force)t[i]=e[i];return(0,tR.default)(t,e),t}});var zy=_(Hu=>{"use strict";Object.defineProperty(Hu,"__esModule",{value:!0});Hu.default=nR;var rR=Yt(),sR=be();function nR(t,e){if((0,sR.isSuper)(t.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return t.object=(0,rR.memberExpression)(e,t.object),t}});var Jy=_(Gu=>{"use strict";Object.defineProperty(Gu,"__esModule",{value:!0});Gu.default=aR;function aR(t){let e=[].concat(t),i=Object.create(null);for(;e.length;){let r=e.pop();if(r)switch(r.type){case"ArrayPattern":e.push(...r.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":e.push(r.left);break;case"ObjectPattern":e.push(...r.properties);break;case"ObjectProperty":e.push(r.value);break;case"RestElement":case"UpdateExpression":e.push(r.argument);break;case"UnaryExpression":r.operator==="delete"&&e.push(r.argument);break;case"Identifier":i[r.name]=r;break;default:break}}return i}});var Cn=_(Zu=>{"use strict";Object.defineProperty(Zu,"__esModule",{value:!0});Zu.default=Qu;var Vi=ot();function Qu(t,e,i,r){let s=[].concat(t),n=Object.create(null);for(;s.length;){let a=s.shift();if(!a||r&&((0,Vi.isAssignmentExpression)(a)||(0,Vi.isUnaryExpression)(a)||(0,Vi.isUpdateExpression)(a)))continue;if((0,Vi.isIdentifier)(a)){e?(n[a.name]=n[a.name]||[]).push(a):n[a.name]=a;continue}if((0,Vi.isExportDeclaration)(a)&&!(0,Vi.isExportAllDeclaration)(a)){(0,Vi.isDeclaration)(a.declaration)&&s.push(a.declaration);continue}if(i){if((0,Vi.isFunctionDeclaration)(a)){s.push(a.id);continue}if((0,Vi.isFunctionExpression)(a))continue}let l=Qu.keys[a.type];if(l)for(let c=0;c<l.length;c++){let o=l[c],u=a[o];u&&(Array.isArray(u)?s.push(...u):s.push(u))}}return n}var oR={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"]};Qu.keys=oR});var Xy=_(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.default=void 0;var lR=Cn(),zne=co.default=cR;function cR(t,e){return(0,lR.default)(t,e,!0)}});var Gy=_(ep=>{"use strict";Object.defineProperty(ep,"__esModule",{value:!0});ep.default=pR;var ni=ot();function uR(t){return(0,ni.isNullLiteral)(t)?"null":(0,ni.isRegExpLiteral)(t)?`/${t.pattern}/${t.flags}`:(0,ni.isTemplateLiteral)(t)?t.quasis.map(e=>e.value.raw).join(""):t.value!==void 0?String(t.value):null}function Hy(t){if(!t.computed||(0,ni.isLiteral)(t.key))return t.key}function pR(t,e){if("id"in t&&t.id)return{name:t.id.name,originalNode:t.id};let i="",r;if((0,ni.isObjectProperty)(e,{value:t})?r=Hy(e):(0,ni.isObjectMethod)(t)||(0,ni.isClassMethod)(t)?(r=Hy(t),t.kind==="get"?i="get ":t.kind==="set"&&(i="set ")):(0,ni.isVariableDeclarator)(e,{init:t})?r=e.id:(0,ni.isAssignmentExpression)(e,{operator:"=",right:t})&&(r=e.left),!r)return null;let s=(0,ni.isLiteral)(r)?uR(r):(0,ni.isIdentifier)(r)?r.name:(0,ni.isPrivateName)(r)?r.id.name:null;return s==null?null:{name:i+s,originalNode:r}}});var Qy=_(ip=>{"use strict";Object.defineProperty(ip,"__esModule",{value:!0});ip.default=hR;var fR=si();function hR(t,e,i){typeof e=="function"&&(e={enter:e});let{enter:r,exit:s}=e;tp(t,r,s,i,[])}function tp(t,e,i,r,s){let n=fR.VISITOR_KEYS[t.type];if(n){e&&e(t,s,r);for(let a of n){let l=t[a];if(Array.isArray(l))for(let c=0;c<l.length;c++){let o=l[c];o&&(s.push({node:t,key:a,index:c}),tp(o,e,i,r,s),s.pop())}else l&&(s.push({node:t,key:a}),tp(l,e,i,r,s),s.pop())}i&&i(t,s,r)}}});var Zy=_(rp=>{"use strict";Object.defineProperty(rp,"__esModule",{value:!0});rp.default=mR;var dR=Cn();function mR(t,e,i){if(i&&t.type==="Identifier"&&e.type==="ObjectProperty"&&i.type==="ObjectExpression")return!1;let r=dR.default.keys[e.type];if(r)for(let s=0;s<r.length;s++){let n=r[s],a=e[n];if(Array.isArray(a)){if(a.includes(t))return!0}else if(a===t)return!0}return!1}});var np=_(sp=>{"use strict";Object.defineProperty(sp,"__esModule",{value:!0});sp.default=TR;var yR=ot();e0=Symbol.for("var used to be block scoped");var e0;function TR(t){return(0,yR.isVariableDeclaration)(t)&&(t.kind!=="var"||t[e0])}});var i0=_(ap=>{"use strict";Object.defineProperty(ap,"__esModule",{value:!0});ap.default=xR;var t0=ot(),gR=np();function xR(t){return(0,t0.isFunctionDeclaration)(t)||(0,t0.isClassDeclaration)(t)||(0,gR.default)(t)}});var r0=_(op=>{"use strict";Object.defineProperty(op,"__esModule",{value:!0});op.default=ER;var bR=Wa(),SR=ot();function ER(t){return(0,bR.default)(t.type,"Immutable")?!0:(0,SR.isIdentifier)(t)?t.name==="undefined":!1}});var n0=_(cp=>{"use strict";Object.defineProperty(cp,"__esModule",{value:!0});cp.default=lp;var s0=si();function lp(t,e){if(typeof t!="object"||typeof e!="object"||t==null||e==null)return t===e;if(t.type!==e.type)return!1;let i=Object.keys(s0.NODE_FIELDS[t.type]||t.type),r=s0.VISITOR_KEYS[t.type];for(let s of i){let n=t[s],a=e[s];if(typeof n!=typeof a)return!1;if(!(n==null&&a==null)){if(n==null||a==null)return!1;if(Array.isArray(n)){if(!Array.isArray(a)||n.length!==a.length)return!1;for(let l=0;l<n.length;l++)if(!lp(n[l],a[l]))return!1;continue}if(typeof n=="object"&&!(r!=null&&r.includes(s))){for(let l of Object.keys(n))if(n[l]!==a[l])return!1;continue}if(!lp(n,a))return!1}}return!0}});var a0=_(up=>{"use strict";Object.defineProperty(up,"__esModule",{value:!0});up.default=PR;function PR(t,e,i){switch(e.type){case"MemberExpression":case"OptionalMemberExpression":return e.property===t?!!e.computed:e.object===t;case"JSXMemberExpression":return e.object===t;case"VariableDeclarator":return e.init===t;case"ArrowFunctionExpression":return e.body===t;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return e.key===t?!!e.computed:!1;case"ObjectProperty":return e.key===t?!!e.computed:!i||i.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":return e.key===t?!!e.computed:!0;case"ClassPrivateProperty":return e.key!==t;case"ClassDeclaration":case"ClassExpression":return e.superClass===t;case"AssignmentExpression":return e.right===t;case"AssignmentPattern":return e.right===t;case"LabeledStatement":return!1;case"CatchClause":return!1;case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":return i!=null&&i.source?!1:e.local===t;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return e.key!==t;case"TSEnumMember":return e.id!==t;case"TSPropertySignature":return e.key===t?!!e.computed:!0}return!0}});var o0=_(pp=>{"use strict";Object.defineProperty(pp,"__esModule",{value:!0});pp.default=vR;var Lr=ot();function vR(t,e){return(0,Lr.isBlockStatement)(t)&&((0,Lr.isFunction)(e)||(0,Lr.isCatchClause)(e))?!1:(0,Lr.isPattern)(t)&&((0,Lr.isFunction)(e)||(0,Lr.isCatchClause)(e))?!0:(0,Lr.isScopable)(t)}});var c0=_(fp=>{"use strict";Object.defineProperty(fp,"__esModule",{value:!0});fp.default=AR;var l0=ot();function AR(t){return(0,l0.isImportDefaultSpecifier)(t)||(0,l0.isIdentifier)(t.imported||t.exported,{name:"default"})}});var u0=_(hp=>{"use strict";Object.defineProperty(hp,"__esModule",{value:!0});hp.default=IR;var wR=ys(),CR=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 IR(t){return(0,wR.default)(t)&&!CR.has(t)}});var f0=_(dp=>{"use strict";Object.defineProperty(dp,"__esModule",{value:!0});dp.default=_R;var kR=ot();p0=Symbol.for("var used to be block scoped");var p0;function _R(t){return(0,kR.isVariableDeclaration)(t,{kind:"var"})&&!t[p0]}});var h0=_(Tp=>{"use strict";Object.defineProperty(Tp,"__esModule",{value:!0});Tp.default=uo;var OR=Cn(),Mr=ot(),mp=Yt(),yp=fu(),NR=lr();function uo(t,e){let i=[],r=!0;for(let s of t)if((0,Mr.isEmptyStatement)(s)||(r=!1),(0,Mr.isExpression)(s))i.push(s);else if((0,Mr.isExpressionStatement)(s))i.push(s.expression);else if((0,Mr.isVariableDeclaration)(s)){if(s.kind!=="var")return;for(let n of s.declarations){let a=(0,OR.default)(n);for(let l of Object.keys(a))e.push({kind:s.kind,id:(0,NR.default)(a[l])});n.init&&i.push((0,mp.assignmentExpression)("=",n.id,n.init))}r=!0}else if((0,Mr.isIfStatement)(s)){let n=s.consequent?uo([s.consequent],e):(0,yp.buildUndefinedNode)(),a=s.alternate?uo([s.alternate],e):(0,yp.buildUndefinedNode)();if(!n||!a)return;i.push((0,mp.conditionalExpression)(s.test,n,a))}else if((0,Mr.isBlockStatement)(s)){let n=uo(s.body,e);if(!n)return;i.push(n)}else if((0,Mr.isEmptyStatement)(s))t.indexOf(s)===0&&(r=!0);else return;return r&&i.push((0,yp.buildUndefinedNode)()),i.length===1?i[0]:(0,mp.sequenceExpression)(i)}});var d0=_(gp=>{"use strict";Object.defineProperty(gp,"__esModule",{value:!0});gp.default=LR;var DR=h0();function LR(t,e){if(!(t!=null&&t.length))return;let i=[],r=(0,DR.default)(t,i);if(r){for(let s of i)e.push(s);return r}}});var be=_(Y=>{"use strict";Object.defineProperty(Y,"__esModule",{value:!0});var cr={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getAssignmentIdentifiers:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,getFunctionName:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(Y,"__internal__deprecationWarning",{enumerable:!0,get:function(){return j6.default}});Object.defineProperty(Y,"addComment",{enumerable:!0,get:function(){return YR.default}});Object.defineProperty(Y,"addComments",{enumerable:!0,get:function(){return zR.default}});Object.defineProperty(Y,"appendToMemberExpression",{enumerable:!0,get:function(){return l6.default}});Object.defineProperty(Y,"assertNode",{enumerable:!0,get:function(){return jR.default}});Object.defineProperty(Y,"buildMatchMemberExpression",{enumerable:!0,get:function(){return B6.default}});Object.defineProperty(Y,"clone",{enumerable:!0,get:function(){return UR.default}});Object.defineProperty(Y,"cloneDeep",{enumerable:!0,get:function(){return KR.default}});Object.defineProperty(Y,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return VR.default}});Object.defineProperty(Y,"cloneNode",{enumerable:!0,get:function(){return $R.default}});Object.defineProperty(Y,"cloneWithoutLoc",{enumerable:!0,get:function(){return WR.default}});Object.defineProperty(Y,"createFlowUnionType",{enumerable:!0,get:function(){return m0.default}});Object.defineProperty(Y,"createTSUnionType",{enumerable:!0,get:function(){return qR.default}});Object.defineProperty(Y,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return RR.default}});Object.defineProperty(Y,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return m0.default}});Object.defineProperty(Y,"ensureBlock",{enumerable:!0,get:function(){return ZR.default}});Object.defineProperty(Y,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return d6.default}});Object.defineProperty(Y,"getBindingIdentifiers",{enumerable:!0,get:function(){return m6.default}});Object.defineProperty(Y,"getFunctionName",{enumerable:!0,get:function(){return T6.default}});Object.defineProperty(Y,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return y6.default}});Object.defineProperty(Y,"inheritInnerComments",{enumerable:!0,get:function(){return JR.default}});Object.defineProperty(Y,"inheritLeadingComments",{enumerable:!0,get:function(){return XR.default}});Object.defineProperty(Y,"inheritTrailingComments",{enumerable:!0,get:function(){return GR.default}});Object.defineProperty(Y,"inherits",{enumerable:!0,get:function(){return c6.default}});Object.defineProperty(Y,"inheritsComments",{enumerable:!0,get:function(){return HR.default}});Object.defineProperty(Y,"is",{enumerable:!0,get:function(){return b6.default}});Object.defineProperty(Y,"isBinding",{enumerable:!0,get:function(){return S6.default}});Object.defineProperty(Y,"isBlockScoped",{enumerable:!0,get:function(){return E6.default}});Object.defineProperty(Y,"isImmutable",{enumerable:!0,get:function(){return P6.default}});Object.defineProperty(Y,"isLet",{enumerable:!0,get:function(){return v6.default}});Object.defineProperty(Y,"isNode",{enumerable:!0,get:function(){return A6.default}});Object.defineProperty(Y,"isNodesEquivalent",{enumerable:!0,get:function(){return w6.default}});Object.defineProperty(Y,"isPlaceholderType",{enumerable:!0,get:function(){return C6.default}});Object.defineProperty(Y,"isReferenced",{enumerable:!0,get:function(){return I6.default}});Object.defineProperty(Y,"isScope",{enumerable:!0,get:function(){return k6.default}});Object.defineProperty(Y,"isSpecifierDefault",{enumerable:!0,get:function(){return _6.default}});Object.defineProperty(Y,"isType",{enumerable:!0,get:function(){return O6.default}});Object.defineProperty(Y,"isValidES3Identifier",{enumerable:!0,get:function(){return N6.default}});Object.defineProperty(Y,"isValidIdentifier",{enumerable:!0,get:function(){return D6.default}});Object.defineProperty(Y,"isVar",{enumerable:!0,get:function(){return L6.default}});Object.defineProperty(Y,"matchesPattern",{enumerable:!0,get:function(){return M6.default}});Object.defineProperty(Y,"prependToMemberExpression",{enumerable:!0,get:function(){return u6.default}});Y.react=void 0;Object.defineProperty(Y,"removeComments",{enumerable:!0,get:function(){return QR.default}});Object.defineProperty(Y,"removeProperties",{enumerable:!0,get:function(){return p6.default}});Object.defineProperty(Y,"removePropertiesDeep",{enumerable:!0,get:function(){return f6.default}});Object.defineProperty(Y,"removeTypeDuplicates",{enumerable:!0,get:function(){return h6.default}});Object.defineProperty(Y,"shallowEqual",{enumerable:!0,get:function(){return x6.default}});Object.defineProperty(Y,"toBindingIdentifierName",{enumerable:!0,get:function(){return e6.default}});Object.defineProperty(Y,"toBlock",{enumerable:!0,get:function(){return t6.default}});Object.defineProperty(Y,"toComputedKey",{enumerable:!0,get:function(){return i6.default}});Object.defineProperty(Y,"toExpression",{enumerable:!0,get:function(){return r6.default}});Object.defineProperty(Y,"toIdentifier",{enumerable:!0,get:function(){return s6.default}});Object.defineProperty(Y,"toKeyAlias",{enumerable:!0,get:function(){return n6.default}});Object.defineProperty(Y,"toStatement",{enumerable:!0,get:function(){return a6.default}});Object.defineProperty(Y,"traverse",{enumerable:!0,get:function(){return po.default}});Object.defineProperty(Y,"traverseFast",{enumerable:!0,get:function(){return g6.default}});Object.defineProperty(Y,"validate",{enumerable:!0,get:function(){return F6.default}});Object.defineProperty(Y,"valueToNode",{enumerable:!0,get:function(){return o6.default}});var MR=Tm(),FR=gm(),BR=uy(),jR=py(),xp=fy();Object.keys(xp).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(cr,t)||t in Y&&Y[t]===xp[t]||Object.defineProperty(Y,t,{enumerable:!0,get:function(){return xp[t]}})});var RR=hy(),m0=yy(),qR=by(),bp=fu();Object.keys(bp).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(cr,t)||t in Y&&Y[t]===bp[t]||Object.defineProperty(Y,t,{enumerable:!0,get:function(){return bp[t]}})});var Sp=Yt();Object.keys(Sp).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(cr,t)||t in Y&&Y[t]===Sp[t]||Object.defineProperty(Y,t,{enumerable:!0,get:function(){return Sp[t]}})});var $R=lr(),UR=wy(),KR=Cy(),VR=Iy(),WR=ky(),YR=_y(),zR=bu(),JR=vu(),XR=wu(),HR=_u(),GR=Iu(),QR=Oy(),Ep=Ny();Object.keys(Ep).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(cr,t)||t in Y&&Y[t]===Ep[t]||Object.defineProperty(Y,t,{enumerable:!0,get:function(){return Ep[t]}})});var Pp=Ts();Object.keys(Pp).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(cr,t)||t in Y&&Y[t]===Pp[t]||Object.defineProperty(Y,t,{enumerable:!0,get:function(){return Pp[t]}})});var ZR=Dy(),e6=Ly(),t6=Lu(),i6=My(),r6=Fy(),s6=Bu(),n6=$y(),a6=Uy(),o6=Ky(),vp=si();Object.keys(vp).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(cr,t)||t in Y&&Y[t]===vp[t]||Object.defineProperty(Y,t,{enumerable:!0,get:function(){return vp[t]}})});var l6=Vy(),c6=Yy(),u6=zy(),p6=Ku(),f6=Wu(),h6=ou(),d6=Jy(),m6=Cn(),y6=Xy(),T6=Gy(),po=Qy();Object.keys(po).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(cr,t)||t in Y&&Y[t]===po[t]||Object.defineProperty(Y,t,{enumerable:!0,get:function(){return po[t]}})});var g6=$u(),x6=Ka(),b6=ms(),S6=Zy(),E6=i0(),P6=r0(),v6=np(),A6=su(),w6=n0(),C6=kc(),I6=a0(),k6=o0(),_6=c0(),O6=Wa(),N6=u0(),D6=ys(),L6=f0(),M6=Pc(),F6=Xa(),B6=Ac(),Ap=ot();Object.keys(Ap).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(cr,t)||t in Y&&Y[t]===Ap[t]||Object.defineProperty(Y,t,{enumerable:!0,get:function(){return Ap[t]}})});var j6=ds(),R6=d0(),cae=Y.react={isReactComponent:MR.default,isCompatTag:FR.default,buildChildren:BR.default};Y.toSequenceExpression=R6.default;process.env.BABEL_TYPES_8_BREAKING&&console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")});var Cp=_(dt=>{"use strict";Object.defineProperty(dt,"__esModule",{value:!0});dt.isBindingIdentifier=l9;dt.isBlockScoped=h9;dt.isExpression=u9;dt.isFlow=g9;dt.isForAwaitStatement=S9;dt.isGenerated=y9;dt.isPure=T9;dt.isReferenced=f9;dt.isReferencedIdentifier=a9;dt.isReferencedMemberExpression=o9;dt.isRestProperty=x9;dt.isScope=p9;dt.isSpreadProperty=b9;dt.isStatement=c9;dt.isUser=m9;dt.isVar=d9;var q6=be(),{isBinding:$6,isBlockScoped:U6,isExportDeclaration:K6,isExpression:V6,isFlow:W6,isForStatement:Y6,isForXStatement:z6,isIdentifier:y0,isImportDeclaration:J6,isImportSpecifier:X6,isJSXIdentifier:H6,isJSXMemberExpression:G6,isMemberExpression:Q6,isRestElement:T0,isReferenced:wp,isScope:Z6,isStatement:e9,isVar:t9,isVariableDeclaration:i9,react:r9,isForOfStatement:s9}=q6,{isCompatTag:n9}=r9;function a9(t){let{node:e,parent:i}=this;if(!y0(e,t)&&!G6(i,t))if(H6(e,t)){if(n9(e.name))return!1}else return!1;return wp(e,i,this.parentPath.parent)}function o9(){let{node:t,parent:e}=this;return Q6(t)&&wp(t,e)}function l9(){let{node:t,parent:e}=this,i=this.parentPath.parent;return y0(t)&&$6(t,e,i)}function c9(){let{node:t,parent:e}=this;return e9(t)?!(i9(t)&&(z6(e,{left:t})||Y6(e,{init:t}))):!1}function u9(){return this.isIdentifier()?this.isReferencedIdentifier():V6(this.node)}function p9(){return Z6(this.node,this.parent)}function f9(){return wp(this.node,this.parent)}function h9(){return U6(this.node)}function d9(){return t9(this.node)}function m9(){return this.node&&!!this.node.loc}function y9(){return!this.isUser()}function T9(t){return this.scope.isPure(this.node,t)}function g9(){let{node:t}=this;return W6(t)?!0:J6(t)?t.importKind==="type"||t.importKind==="typeof":K6(t)?t.exportKind==="type":X6(t)?t.importKind==="type"||t.importKind==="typeof":!1}function x9(){var t;return T0(this.node)&&((t=this.parentPath)==null?void 0:t.isObjectPattern())}function b9(){var t;return T0(this.node)&&((t=this.parentPath)==null?void 0:t.isObjectExpression())}function S9(){return s9(this.node,{await:!0})}dt.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},dt.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var fo=_(Br=>{"use strict";Object.defineProperty(Br,"__esModule",{value:!0});Br.environmentVisitor=k9;Br.explode=I0;Br.isExplodedVisitor=C0;Br.merge=_0;Br.verify=k0;var w0=Tc(),E9=Cp(),P9=be(),g0=mi(),{DEPRECATED_KEYS:x0,DEPRECATED_ALIASES:b0,FLIPPED_ALIAS_KEYS:S0,TYPES:v9,__internal__deprecationWarning:E0}=P9;function A9(t){return t in w0}function C0(t){return t?._exploded}function I0(t){if(C0(t))return t;t._exploded=!0;for(let e of Object.keys(t)){if(Fr(e))continue;let i=e.split("|");if(i.length===1)continue;let r=t[e];delete t[e];for(let s of i)t[s]=r}k0(t),delete t.__esModule,w9(t),A0(t);for(let e of Object.keys(t)){if(Fr(e)||!A9(e))continue;let i=t[e];for(let s of Object.keys(i))i[s]=C9(e,i[s]);delete t[e];let r=w0[e];if(r!==null)for(let s of r)t[s]?In(t[s],i):t[s]=i;else In(t,i)}for(let e of Object.keys(t)){if(Fr(e))continue;let i=S0[e];if(e in x0){let s=x0[e];E0(e,s,"Visitor "),i=[s]}else if(e in b0){let s=b0[e];E0(e,s,"Visitor "),i=S0[s]}if(!i)continue;let r=t[e];delete t[e];for(let s of i){let n=t[s];n?In(n,r):t[s]=Object.assign({},r)}}for(let e of Object.keys(t))Fr(e)||A0(t[e]);return t}function k0(t){if(!t._verified){if(typeof t=="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(let e of Object.keys(t)){if((e==="enter"||e==="exit")&&P0(e,t[e]),Fr(e))continue;if(!v9.includes(e))throw new Error(`You gave us a visitor for the node type ${e} but it's not a valid type in @babel/traverse 7.28.0`);let i=t[e];if(typeof i=="object")for(let r of Object.keys(i))if(r==="enter"||r==="exit")P0(`${e}.${r}`,i[r]);else throw new Error(`You passed \`traverse()\` a visitor object with the property ${e} that has the invalid property ${r}`)}t._verified=!0}}function P0(t,e){let i=[].concat(e);for(let r of i)if(typeof r!="function")throw new TypeError(`Non-function found defined in ${t} with type ${typeof r}`)}function _0(t,e=[],i){let r={_verified:!0,_exploded:!0};Object.defineProperty(r,"_exploded",{enumerable:!1}),Object.defineProperty(r,"_verified",{enumerable:!1});for(let s=0;s<t.length;s++){let n=I0(t[s]),a=e[s],l=n;(a||i)&&(l=v0(l,a,i)),In(r,l);for(let c of Object.keys(n)){if(Fr(c))continue;let o=n[c];(a||i)&&(o=v0(o,a,i));let u=r[c]||(r[c]={});In(u,o)}}return r}function v0(t,e,i){let r={};for(let s of["enter","exit"]){let n=t[s];Array.isArray(n)&&(n=n.map(function(a){let l=a;return e&&(l=function(c){a.call(e,c,e)}),i&&(l=i(e?.key,s,l)),l!==a&&(l.toString=()=>a.toString()),l}),r[s]=n)}return r}function w9(t){for(let e of Object.keys(t)){if(Fr(e))continue;let i=t[e];typeof i=="function"&&(t[e]={enter:i})}}function A0(t){t.enter&&!Array.isArray(t.enter)&&(t.enter=[t.enter]),t.exit&&!Array.isArray(t.exit)&&(t.exit=[t.exit])}function C9(t,e){let i=`is${t}`,r=E9[i],s=function(n){if(r.call(n))return e.apply(this,arguments)};return s.toString=()=>e.toString(),s}function Fr(t){return t[0]==="_"||t==="enter"||t==="exit"||t==="shouldSkip"||t==="denylist"||t==="noScope"||t==="skipKeys"||t==="blacklist"}function In(t,e){for(let i of["enter","exit"])e[i]&&(t[i]=[].concat(t[i]||[],e[i]))}var I9={FunctionParent(t){t.isArrowFunctionExpression()||(t.skip(),t.isMethod()&&(t.requeueComputedKeyAndDecorators?t.requeueComputedKeyAndDecorators():g0.requeueComputedKeyAndDecorators.call(t)))},Property(t){t.isObjectProperty()||(t.skip(),t.requeueComputedKeyAndDecorators?t.requeueComputedKeyAndDecorators():g0.requeueComputedKeyAndDecorators.call(t))}};function k9(t){return _0([I9,t])}});var O0=_(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.default=void 0;var ho=be(),_9=ho,O9=yo(),N9=fo(),D9=mi(),{getAssignmentIdentifiers:L9}=_9,M9={ReferencedIdentifier({node:t},e){t.name===e.oldName&&(t.name=e.newName)},Scope(t,e){t.scope.bindingIdentifierEquals(e.oldName,e.binding.identifier)||(t.skip(),t.isMethod()&&(t.requeueComputedKeyAndDecorators?t.requeueComputedKeyAndDecorators():D9.requeueComputedKeyAndDecorators.call(t)))},ObjectProperty({node:t,scope:e},i){let{name:r}=t.key;if(t.shorthand&&(r===i.oldName||r===i.newName)&&e.getBindingIdentifier(r)===i.binding.identifier){t.shorthand=!1;{var s;(s=t.extra)!=null&&s.shorthand&&(t.extra.shorthand=!1)}}},"AssignmentExpression|Declaration|VariableDeclarator"(t,e){if(t.isVariableDeclaration())return;let i=t.isAssignmentExpression()?L9(t.node):t.getOuterBindingIdentifiers();for(let r in i)r===e.oldName&&(i[r].name=e.newName)}},Ip=class{constructor(e,i,r){this.newName=r,this.oldName=i,this.binding=e}maybeConvertFromExportDeclaration(e){let i=e.parentPath;if(i.isExportDeclaration()){if(i.isExportDefaultDeclaration()){let{declaration:r}=i.node;if(ho.isDeclaration(r)&&!r.id)return}i.isExportAllDeclaration()||i.splitExportDeclaration()}}maybeConvertFromClassFunctionDeclaration(e){return e}maybeConvertFromClassFunctionExpression(e){return e}rename(){let{binding:e,oldName:i,newName:r}=this,{scope:s,path:n}=e,a=n.find(o=>o.isDeclaration()||o.isFunctionExpression()||o.isClassExpression());a&&a.getOuterBindingIdentifiers()[i]===e.identifier&&this.maybeConvertFromExportDeclaration(a);let l=arguments[0]||s.block,c={discriminant:!0};ho.isMethod(l)&&(l.computed&&(c.key=!0),ho.isObjectMethod(l)||(c.decorators=!0)),(0,O9.traverseNode)(l,(0,N9.explode)(M9),s,this,s.path,c),arguments[0]||(s.removeOwnBinding(i),s.bindings[r]=e,this.binding.identifier.name=r),a&&(this.maybeConvertFromClassFunctionDeclaration(n),this.maybeConvertFromClassFunctionExpression(n))}};mo.default=Ip});var N0=_(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.default=void 0;var kp=class{constructor({identifier:e,scope:i,path:r,kind:s}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=e,this.scope=i,this.path=r,this.kind=s,(s==="var"||s==="hoisted")&&F9(r)&&this.reassign(r),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(e){this.constant=!1,!this.constantViolations.includes(e)&&this.constantViolations.push(e)}reference(e){this.referencePaths.includes(e)||(this.referenced=!0,this.references++,this.referencePaths.push(e))}dereference(){this.references--,this.referenced=!!this.references}};To.default=kp;function F9(t){let e=!t.isVariableDeclarator()||t.node.init;for(let{parentPath:i,key:r}=t;i;{parentPath:i,key:r}=i){if(i.isFunctionParent())return!1;if(r==="left"&&i.isForXStatement()||e&&r==="body"&&i.isLoop())return!0}return!1}});var jr=_(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});Gt.clear=j9;Gt.clearPath=D0;Gt.clearScope=L0;Gt.getCachedPaths=R9;Gt.getOrCreateCachedPaths=q9;Gt.scope=Gt.path=void 0;var go=Gt.path=new WeakMap,B9=Gt.scope=new WeakMap;function j9(){D0(),L0()}function D0(){Gt.path=go=new WeakMap}function L0(){Gt.scope=B9=new WeakMap}function R9(t){let{parent:e,parentPath:i}=t;return go.get(e)}function q9(t,e){let i=go.get(t);return i||go.set(t,i=new Map),i}});var M0=_((yae,$9)=>{$9.exports=["decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","globalThis","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"]});var F0=_((Tae,U9)=>{U9.exports=["AggregateError","Array","ArrayBuffer","Atomics","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","Date","Error","EvalError","FinalizationRegistry","Float16Array","Float32Array","Float64Array","Function","Infinity","Int16Array","Int32Array","Int8Array","Intl","Iterator","JSON","Map","Math","NaN","Number","Object","Promise","Proxy","RangeError","ReferenceError","Reflect","RegExp","Set","SharedArrayBuffer","String","Symbol","SyntaxError","TypeError","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","URIError","WeakMap","WeakRef","WeakSet"]});var Lp=_(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var K9=O0(),W0=_n(),V9=N0(),Y0=be(),z0=Y0,B0=jr(),W9=M0(),Y9=F0(),{assignmentExpression:z9,callExpression:j0,cloneNode:R0,getBindingIdentifiers:J0,identifier:qr,isArrayExpression:X0,isBinary:J9,isCallExpression:q0,isClass:X9,isClassBody:H9,isClassDeclaration:G9,isExportAllDeclaration:H0,isExportDefaultDeclaration:Q9,isExportNamedDeclaration:_p,isFunctionDeclaration:Z9,isIdentifier:Rr,isImportDeclaration:Op,isLiteral:e5,isMemberExpression:t5,isMethod:i5,isModuleSpecifier:r5,isNullLiteral:s5,isObjectExpression:n5,isProperty:a5,isPureish:o5,isRegExpLiteral:l5,isSuper:c5,isTaggedTemplateExpression:u5,isTemplateLiteral:G0,isThisExpression:$0,isUnaryExpression:p5,isVariableDeclaration:f5,expressionStatement:h5,matchesPattern:U0,memberExpression:Np,numericLiteral:d5,toIdentifier:m5,variableDeclaration:y5,variableDeclarator:T5,isRecordExpression:g5,isTupleExpression:x5,isObjectProperty:b5,isTopicReference:K0,isMetaProperty:S5,isPrivateName:E5,isExportDeclaration:P5,buildUndefinedNode:v5,sequenceExpression:A5}=Y0;function Ge(t,e){switch(t?.type){default:if(Op(t)||P5(t)){var i;if((H0(t)||_p(t)||Op(t))&&t.source)Ge(t.source,e);else if((_p(t)||Op(t))&&(i=t.specifiers)!=null&&i.length)for(let r of t.specifiers)Ge(r,e);else(Q9(t)||_p(t))&&t.declaration&&Ge(t.declaration,e)}else r5(t)?Ge(t.local,e):e5(t)&&!s5(t)&&!l5(t)&&!G0(t)&&e.push(t.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":Ge(t.object,e),Ge(t.property,e);break;case"Identifier":case"JSXIdentifier":e.push(t.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":Ge(t.callee,e);break;case"ObjectExpression":case"ObjectPattern":for(let r of t.properties)Ge(r,e);break;case"SpreadElement":case"RestElement":Ge(t.argument,e);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":Ge(t.key,e);break;case"ThisExpression":e.push("this");break;case"Super":e.push("super");break;case"Import":case"ImportExpression":e.push("import");break;case"DoExpression":e.push("do");break;case"YieldExpression":e.push("yield"),Ge(t.argument,e);break;case"AwaitExpression":e.push("await"),Ge(t.argument,e);break;case"AssignmentExpression":Ge(t.left,e);break;case"VariableDeclarator":Ge(t.id,e);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":Ge(t.id,e);break;case"PrivateName":Ge(t.id,e);break;case"ParenthesizedExpression":Ge(t.expression,e);break;case"UnaryExpression":case"UpdateExpression":Ge(t.argument,e);break;case"MetaProperty":Ge(t.meta,e),Ge(t.property,e);break;case"JSXElement":Ge(t.openingElement,e);break;case"JSXOpeningElement":Ge(t.name,e);break;case"JSXFragment":Ge(t.openingFragment,e);break;case"JSXOpeningFragment":e.push("Fragment");break;case"JSXNamespacedName":Ge(t.namespace,e),Ge(t.name,e);break}}function V0(t){t.references=Object.create(null),t.uids=Object.create(null),t.bindings=Object.create(null),t.globals=Object.create(null)}Dp=Symbol.for("should not be considered a local binding");var Dp,w5={ForStatement(t){let e=t.get("init");if(e.isVar()){let{scope:i}=t;(i.getFunctionParent()||i.getProgramParent()).registerBinding("var",e)}},Declaration(t){if(t.isBlockScoped()||t.isImportDeclaration()||t.isExportDeclaration())return;(t.scope.getFunctionParent()||t.scope.getProgramParent()).registerDeclaration(t)},ImportDeclaration(t){t.scope.getBlockParent().registerDeclaration(t)},TSImportEqualsDeclaration(t){t.scope.getBlockParent().registerDeclaration(t)},ReferencedIdentifier(t,e){z0.isTSQualifiedName(t.parent)&&t.parent.right===t.node||t.parentPath.isTSImportEqualsDeclaration()||e.references.push(t)},ForXStatement(t,e){let i=t.get("left");if(i.isPattern()||i.isIdentifier())e.constantViolations.push(t);else if(i.isVar()){let{scope:r}=t;(r.getFunctionParent()||r.getProgramParent()).registerBinding("var",i)}},ExportDeclaration:{exit(t){let{node:e,scope:i}=t;if(H0(e))return;let r=e.declaration;if(G9(r)||Z9(r)){let s=r.id;if(!s)return;let n=i.getBinding(s.name);n?.reference(t)}else if(f5(r))for(let s of r.declarations)for(let n of Object.keys(J0(s))){let a=i.getBinding(n);a?.reference(t)}}},LabeledStatement(t){t.scope.getBlockParent().registerDeclaration(t)},AssignmentExpression(t,e){e.assignments.push(t)},UpdateExpression(t,e){e.constantViolations.push(t)},UnaryExpression(t,e){t.node.operator==="delete"&&e.constantViolations.push(t)},BlockScoped(t){let e=t.scope;if(e.path===t&&(e=e.parent),e.getBlockParent().registerDeclaration(t),t.isClassDeclaration()&&t.node.id){let s=t.node.id.name;t.scope.bindings[s]=t.scope.parent.getBinding(s)}},CatchClause(t){t.scope.registerBinding("let",t)},Function(t){let e=t.get("params");for(let i of e)t.scope.registerBinding("param",i);t.isFunctionExpression()&&t.node.id&&!t.node.id[Dp]&&t.scope.registerBinding("local",t.get("id"),t)},ClassExpression(t){t.node.id&&!t.node.id[Dp]&&t.scope.registerBinding("local",t.get("id"),t)},TSTypeAnnotation(t){t.skip()}},kn,C5=0,yi=class t{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.referencesSet=void 0,this.globals=void 0,this.uidsSet=void 0,this.data=void 0,this.crawling=void 0;let{node:i}=e,r=B0.scope.get(i);if(r?.path===e)return r;B0.scope.set(i,this),this.uid=C5++,this.block=i,this.path=e,this.labels=new Map,this.inited=!1,Object.defineProperties(this,{references:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)},uids:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)}})}get parent(){var e;let i,r=this.path;do{var s;let n=r.key==="key"||r.listKey==="decorators";r=r.parentPath,n&&r.isMethod()&&(r=r.parentPath),(s=r)!=null&&s.isScope()&&(i=r)}while(r&&!i);return(e=i)==null?void 0:e.scope}get references(){throw new Error("Scope#references is not available in Babel 8. Use Scope#referencesSet instead.")}get uids(){throw new Error("Scope#uids is not available in Babel 8. Use Scope#uidsSet instead.")}generateDeclaredUidIdentifier(e){let i=this.generateUidIdentifier(e);return this.push({id:i}),R0(i)}generateUidIdentifier(e){return qr(this.generateUid(e))}generateUid(e="temp"){e=m5(e).replace(/^_+/,"").replace(/\d+$/g,"");let i,r=0;do i=`_${e}`,r>=11?i+=r-1:r>=9?i+=r-9:r>=1&&(i+=r+1),r++;while(this.hasLabel(i)||this.hasBinding(i)||this.hasGlobal(i)||this.hasReference(i));let s=this.getProgramParent();return s.references[i]=!0,s.uids[i]=!0,i}generateUidBasedOnNode(e,i){let r=[];Ge(e,r);let s=r.join("$");return s=s.replace(/^_/,"")||i||"ref",this.generateUid(s.slice(0,20))}generateUidIdentifierBasedOnNode(e,i){return qr(this.generateUidBasedOnNode(e,i))}isStatic(e){if($0(e)||c5(e)||K0(e))return!0;if(Rr(e)){let i=this.getBinding(e.name);return i?i.constant:this.hasBinding(e.name)}return!1}maybeGenerateMemoised(e,i){if(this.isStatic(e))return null;{let r=this.generateUidIdentifierBasedOnNode(e);return i?r:(this.push({id:r}),R0(r))}}checkBlockScopedCollisions(e,i,r,s){if(i==="param"||e.kind==="local")return;if(i==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&i==="const")throw this.path.hub.buildError(s,`Duplicate declaration "${r}"`,TypeError)}rename(e,i){let r=this.getBinding(e);r&&(i||(i=this.generateUidIdentifier(e).name),new K9.default(r,e,i).rename(arguments[2]))}dump(){let e="-".repeat(60);console.log(e);let i=this;do{console.log("#",i.block.type);for(let r of Object.keys(i.bindings)){let s=i.bindings[r];console.log(" -",r,{constant:s.constant,references:s.references,violations:s.constantViolations.length,kind:s.kind})}}while(i=i.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()){let i=e.get("declarations"),{kind:r}=e.node;for(let s of i)this.registerBinding(r==="using"||r==="await using"?"const":r,s)}else if(e.isClassDeclaration()){if(e.node.declare)return;this.registerBinding("let",e)}else if(e.isImportDeclaration()){let i=e.node.importKind==="type"||e.node.importKind==="typeof",r=e.get("specifiers");for(let s of r){let n=i||s.isImportSpecifier()&&(s.node.importKind==="type"||s.node.importKind==="typeof");this.registerBinding(n?"unknown":"module",s)}}else if(e.isExportDeclaration()){let i=e.get("declaration");(i.isClassDeclaration()||i.isFunctionDeclaration()||i.isVariableDeclaration())&&this.registerDeclaration(i)}else this.registerBinding("unknown",e)}buildUndefinedNode(){return v5()}registerConstantViolation(e){let i=e.getAssignmentIdentifiers();for(let s of Object.keys(i)){var r;(r=this.getBinding(s))==null||r.reassign(e)}}registerBinding(e,i,r=i){if(!e)throw new ReferenceError("no `kind`");if(i.isVariableDeclaration()){let a=i.get("declarations");for(let l of a)this.registerBinding(e,l);return}let s=this.getProgramParent(),n=i.getOuterBindingIdentifiers(!0);for(let a of Object.keys(n)){s.references[a]=!0;for(let l of n[a]){let c=this.getOwnBinding(a);if(c){if(c.identifier===l)continue;this.checkBlockScopedCollisions(c,e,a,l)}c?c.reassign(r):this.bindings[a]=new V9.default({identifier:l,scope:this,path:r,kind:e})}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){{let i=this;do if(i.uids[e])return!0;while(i=i.parent);return!1}}hasGlobal(e){let i=this;do if(i.globals[e])return!0;while(i=i.parent);return!1}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,i){if(Rr(e)){let a=this.getBinding(e.name);return a?i?a.constant:!0:!1}else{if($0(e)||S5(e)||K0(e)||E5(e))return!0;if(X9(e)){var r;return e.superClass&&!this.isPure(e.superClass,i)||((r=e.decorators)==null?void 0:r.length)>0?!1:this.isPure(e.body,i)}else if(H9(e)){for(let a of e.body)if(!this.isPure(a,i))return!1;return!0}else{if(J9(e))return this.isPure(e.left,i)&&this.isPure(e.right,i);if(X0(e)||x5(e)){for(let a of e.elements)if(a!==null&&!this.isPure(a,i))return!1;return!0}else if(n5(e)||g5(e)){for(let a of e.properties)if(!this.isPure(a,i))return!1;return!0}else if(i5(e)){var s;return!(e.computed&&!this.isPure(e.key,i)||((s=e.decorators)==null?void 0:s.length)>0)}else if(a5(e)){var n;return!(e.computed&&!this.isPure(e.key,i)||((n=e.decorators)==null?void 0:n.length)>0||(b5(e)||e.static)&&e.value!==null&&!this.isPure(e.value,i))}else{if(p5(e))return this.isPure(e.argument,i);if(G0(e)){for(let a of e.expressions)if(!this.isPure(a,i))return!1;return!0}else return u5(e)?U0(e.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(e.quasi,i):t5(e)?!e.computed&&Rr(e.object)&&e.object.name==="Symbol"&&Rr(e.property)&&e.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0}):q0(e)?U0(e.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&e.arguments.length===1&&z0.isStringLiteral(e.arguments[0]):o5(e)}}}}setData(e,i){return this.data[e]=i}getData(e){let i=this;do{let r=i.data[e];if(r!=null)return r}while(i=i.parent)}removeData(e){let i=this;do i.data[e]!=null&&(i.data[e]=null);while(i=i.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){let e=this.path;V0(this),this.data=Object.create(null);let i=this;do{if(i.crawling)return;if(i.path.isProgram())break}while(i=i.parent);let r=i,s={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,kn||(kn=W0.default.visitors.merge([{Scope(n){V0(n.scope)}},w5])),e.type!=="Program"){for(let a of kn.enter)a.call(s,e,s);let n=kn[e.type];if(n)for(let a of n.enter)a.call(s,e,s)}e.traverse(kn,s),this.crawling=!1;for(let n of s.assignments){let a=n.getAssignmentIdentifiers();for(let l of Object.keys(a))n.scope.getBinding(l)||r.addGlobal(a[l]);n.scope.registerConstantViolation(n)}for(let n of s.references){let a=n.scope.getBinding(n.node.name);a?a.reference(n):r.addGlobal(n.node)}for(let n of s.constantViolations)n.scope.registerConstantViolation(n)}push(e){let i=this.path;i.isPattern()?i=this.getPatternParent().path:!i.isBlockStatement()&&!i.isProgram()&&(i=this.getBlockParent().path),i.isSwitchStatement()&&(i=(this.getFunctionParent()||this.getProgramParent()).path);let{init:r,unique:s,kind:n="var",id:a}=e;if(!r&&!s&&(n==="var"||n==="let")&&i.isFunction()&&!i.node.name&&q0(i.parent,{callee:i.node})&&i.parent.arguments.length<=i.node.params.length&&Rr(a)){i.pushContainer("params",a),i.scope.registerBinding("param",i.get("params")[i.node.params.length-1]);return}(i.isLoop()||i.isCatchClause()||i.isFunction())&&(i.ensureBlock(),i=i.get("body"));let l=e._blockHoist==null?2:e._blockHoist,c=`declaration:${n}:${l}`,o=!s&&i.getData(c);if(!o){let d=y5(n,[]);d._blockHoist=l,[o]=i.unshiftContainer("body",[d]),s||i.setData(c,o)}let u=T5(a,r),f=o.node.declarations.push(u);i.scope.registerBinding(n,o.get("declarations")[f-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(){let e=Object.create(null),i=this;do{for(let r of Object.keys(i.bindings))r in e||(e[r]=i.bindings[r]);i=i.parent}while(i);return e}bindingIdentifierEquals(e,i){return this.getBindingIdentifier(e)===i}getBinding(e){let i=this,r;do{let n=i.getOwnBinding(e);if(n){var s;if(!((s=r)!=null&&s.isPattern()&&n.kind!=="param"&&n.kind!=="local"))return n}else if(!n&&e==="arguments"&&i.path.isFunction()&&!i.path.isArrowFunctionExpression())break;r=i.path}while(i=i.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var i;return(i=this.getBinding(e))==null?void 0:i.identifier}getOwnBindingIdentifier(e){let i=this.bindings[e];return i?.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,i){if(!e)return!1;let r,s,n;typeof i=="object"?(r=i.noGlobals,s=i.noUids,n=i.upToScope):typeof i=="boolean"&&(r=i);let a=this;do{if(n===a)break;if(a.hasOwnBinding(e))return!0}while(a=a.parent);return!!(!s&&this.hasUid(e)||!r&&t.globals.includes(e)||!r&&t.contextVariables.includes(e))}parentHasBinding(e,i){var r;return(r=this.parent)==null?void 0:r.hasBinding(e,i)}moveBindingTo(e,i){let r=this.getBinding(e);r&&(r.scope.removeOwnBinding(e),r.scope=i,i.bindings[e]=r)}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var i;(i=this.getBinding(e))==null||i.scope.removeOwnBinding(e);{let r=this;do r.uids[e]&&(r.uids[e]=!1);while(r=r.parent)}}hoistVariables(e=i=>this.push({id:i})){this.crawl();let i=new Set;for(let r of Object.keys(this.bindings)){let s=this.bindings[r];if(!s)continue;let{path:n}=s;if(!n.isVariableDeclarator())continue;let{parent:a,parentPath:l}=n;if(a.kind!=="var"||i.has(a))continue;i.add(n.parent);let c,o=[];for(let u of a.declarations){c??(c=u.id),u.init&&o.push(z9("=",u.id,u.init));let f=Object.keys(J0(u,!1,!0,!0));for(let d of f)e(qr(d),u.init!=null)}if(l.parentPath.isFor({left:a}))l.replaceWith(c);else if(o.length===0)l.remove();else{let u=o.length===1?o[0]:A5(o);l.parentPath.isForStatement({init:a})?l.replaceWith(u):l.replaceWith(h5(u))}}}};xo.default=yi;yi.globals=[...W9,...Y9];yi.contextVariables=["arguments","undefined","Infinity","NaN"];yi.prototype._renameFromMap=function(e,i,r,s){e[i]&&(e[r]=s,e[i]=null)},yi.prototype.traverse=function(t,e,i){(0,W0.default)(t,e,this,i,this.path)},yi.prototype._generateUid=function(e,i){let r=e;return i>1&&(r+=i),`_${r}`},yi.prototype.toArray=function(e,i,r){if(Rr(e)){let a=this.getBinding(e.name);if(a!=null&&a.constant&&a.path.isGenericType("Array"))return e}if(X0(e))return e;if(Rr(e,{name:"arguments"}))return j0(Np(Np(Np(qr("Array"),qr("prototype")),qr("slice")),qr("call")),[e]);let s,n=[e];return i===!0?s="toConsumableArray":typeof i=="number"?(n.push(d5(i)),s="slicedToArray"):s="toArray",r&&(n.unshift(this.path.hub.addHelper(s)),s="maybeArrayLike"),j0(this.path.hub.addHelper(s),n)},yi.prototype.getAllBindingsOfKind=function(...e){let i=Object.create(null);for(let r of e){let s=this;do{for(let n of Object.keys(s.bindings)){let a=s.bindings[n];a.kind===r&&(i[n]=a)}s=s.parent}while(s)}return i},Object.defineProperties(yi.prototype,{parentBlock:{configurable:!0,enumerable:!0,get(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get(){return this.path.hub}}})});var Bp=_((Mp,Fp)=>{(function(t,e,i){typeof Mp=="object"&&typeof Fp<"u"?e(Fp):typeof define=="function"&&define.amd?define(["module"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(i={exports:{}}),t.sourcemapCodec="default"in i.exports?i.exports.default:i.exports)})(Mp,function(t){"use strict";var e=Object.defineProperty,i=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,n=(J,z)=>{for(var F in z)e(J,F,{get:z[F],enumerable:!0})},a=(J,z,F,G)=>{if(z&&typeof z=="object"||typeof z=="function")for(let pe of r(z))!s.call(J,pe)&&pe!==F&&e(J,pe,{get:()=>z[pe],enumerable:!(G=i(z,pe))||G.enumerable});return J},l=J=>a(e({},"__esModule",{value:!0}),J),c={};n(c,{decode:()=>yt,decodeGeneratedRanges:()=>de,decodeOriginalScopes:()=>U,encode:()=>bi,encodeGeneratedRanges:()=>st,encodeOriginalScopes:()=>ae}),t.exports=l(c);var o=44,u=59,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=new Uint8Array(64),y=new Uint8Array(128);for(let J=0;J<f.length;J++){let z=f.charCodeAt(J);d[J]=z,y[z]=J}function E(J,z){let F=0,G=0,pe=0;do{let Ue=J.next();pe=y[Ue],F|=(pe&31)<<G,G+=5}while(pe&32);let Pe=F&1;return F>>>=1,Pe&&(F=-2147483648|-F),z+F}function P(J,z,F){let G=z-F;G=G<0?-G<<1|1:G<<1;do{let pe=G&31;G>>>=5,G>0&&(pe|=32),J.write(d[pe])}while(G>0);return z}function A(J,z){return J.pos>=z?!1:J.peek()!==o}var I=1024*16,k=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(J){return Buffer.from(J.buffer,J.byteOffset,J.byteLength).toString()}}:{decode(J){let z="";for(let F=0;F<J.length;F++)z+=String.fromCharCode(J[F]);return z}},M=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(I)}write(J){let{buffer:z}=this;z[this.pos++]=J,this.pos===I&&(this.out+=k.decode(z),this.pos=0)}flush(){let{buffer:J,out:z,pos:F}=this;return F>0?z+k.decode(J.subarray(0,F)):z}},L=class{constructor(J){this.pos=0,this.buffer=J}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(J){let{buffer:z,pos:F}=this,G=z.indexOf(J,F);return G===-1?z.length:G}},R=[];function U(J){let{length:z}=J,F=new L(J),G=[],pe=[],Pe=0;for(;F.pos<z;F.pos++){Pe=E(F,Pe);let Ue=E(F,0);if(!A(F,z)){let Ze=pe.pop();Ze[2]=Pe,Ze[3]=Ue;continue}let Le=E(F,0),Re=E(F,0)&1?[Pe,Ue,0,0,Le,E(F,0)]:[Pe,Ue,0,0,Le],Je=R;if(A(F,z)){Je=[];do{let Ze=E(F,0);Je.push(Ze)}while(A(F,z))}Re.vars=Je,G.push(Re),pe.push(Re)}return G}function ae(J){let z=new M;for(let F=0;F<J.length;)F=me(J,F,z,[0]);return z.flush()}function me(J,z,F,G){let pe=J[z],{0:Pe,1:Ue,2:Le,3:ze,4:Me,vars:Re}=pe;z>0&&F.write(o),G[0]=P(F,Pe,G[0]),P(F,Ue,0),P(F,Me,0);let Je=pe.length===6?1:0;P(F,Je,0),pe.length===6&&P(F,pe[5],0);for(let Ze of Re)P(F,Ze,0);for(z++;z<J.length;){let Ze=J[z],{0:ve,1:et}=Ze;if(ve>Le||ve===Le&&et>=ze)break;z=me(J,z,F,G)}return F.write(o),G[0]=P(F,Le,G[0]),P(F,ze,0),z}function de(J){let{length:z}=J,F=new L(J),G=[],pe=[],Pe=0,Ue=0,Le=0,ze=0,Me=0,Re=0,Je=0,Ze=0;do{let ve=F.indexOf(";"),et=0;for(;F.pos<ve;F.pos++){if(et=E(F,et),!A(F,ve)){let te=pe.pop();te[2]=Pe,te[3]=et;continue}let ft=E(F,0),Bi=ft&1,Jt=ft&2,$t=ft&4,K=null,V=R,Z;if(Bi){let te=E(F,Ue);Le=E(F,Ue===te?Le:0),Ue=te,Z=[Pe,et,0,0,te,Le]}else Z=[Pe,et,0,0];if(Z.isScope=!!$t,Jt){let te=ze,ye=Me;ze=E(F,ze);let Te=te===ze;Me=E(F,Te?Me:0),Re=E(F,Te&&ye===Me?Re:0),K=[ze,Me,Re]}if(Z.callsite=K,A(F,ve)){V=[];do{Je=Pe,Ze=et;let te=E(F,0),ye;if(te<-1){ye=[[E(F,0)]];for(let Te=-1;Te>te;Te--){let Fe=Je;Je=E(F,Je),Ze=E(F,Je===Fe?Ze:0);let Et=E(F,0);ye.push([Et,Je,Ze])}}else ye=[[te]];V.push(ye)}while(A(F,ve))}Z.bindings=V,G.push(Z),pe.push(Z)}Pe++,F.pos=ve+1}while(F.pos<z);return G}function st(J){if(J.length===0)return"";let z=new M;for(let F=0;F<J.length;)F=ue(J,F,z,[0,0,0,0,0,0,0]);return z.flush()}function ue(J,z,F,G){let pe=J[z],{0:Pe,1:Ue,2:Le,3:ze,isScope:Me,callsite:Re,bindings:Je}=pe;G[0]<Pe?(De(F,G[0],Pe),G[0]=Pe,G[1]=0):z>0&&F.write(o),G[1]=P(F,pe[1],G[1]);let Ze=(pe.length===6?1:0)|(Re?2:0)|(Me?4:0);if(P(F,Ze,0),pe.length===6){let{4:ve,5:et}=pe;ve!==G[2]&&(G[3]=0),G[2]=P(F,ve,G[2]),G[3]=P(F,et,G[3])}if(Re){let{0:ve,1:et,2:ft}=pe.callsite;ve!==G[4]?(G[5]=0,G[6]=0):et!==G[5]&&(G[6]=0),G[4]=P(F,ve,G[4]),G[5]=P(F,et,G[5]),G[6]=P(F,ft,G[6])}if(Je)for(let ve of Je){ve.length>1&&P(F,-ve.length,0);let et=ve[0][0];P(F,et,0);let ft=Pe,Bi=Ue;for(let Jt=1;Jt<ve.length;Jt++){let $t=ve[Jt];ft=P(F,$t[1],ft),Bi=P(F,$t[2],Bi),P(F,$t[0],0)}}for(z++;z<J.length;){let ve=J[z],{0:et,1:ft}=ve;if(et>Le||et===Le&&ft>=ze)break;z=ue(J,z,F,G)}return G[0]<Le?(De(F,G[0],Le),G[0]=Le,G[1]=0):F.write(o),G[1]=P(F,ze,G[1]),z}function De(J,z,F){do J.write(u);while(++z<F)}function yt(J){let{length:z}=J,F=new L(J),G=[],pe=0,Pe=0,Ue=0,Le=0,ze=0;do{let Me=F.indexOf(";"),Re=[],Je=!0,Ze=0;for(pe=0;F.pos<Me;){let ve;pe=E(F,pe),pe<Ze&&(Je=!1),Ze=pe,A(F,Me)?(Pe=E(F,Pe),Ue=E(F,Ue),Le=E(F,Le),A(F,Me)?(ze=E(F,ze),ve=[pe,Pe,Ue,Le,ze]):ve=[pe,Pe,Ue,Le]):ve=[pe],Re.push(ve),F.pos++}Je||kt(Re),G.push(Re),F.pos=Me+1}while(F.pos<=z);return G}function kt(J){J.sort(Fi)}function Fi(J,z){return J[0]-z[0]}function bi(J){let z=new M,F=0,G=0,pe=0,Pe=0;for(let Ue=0;Ue<J.length;Ue++){let Le=J[Ue];if(Ue>0&&z.write(u),Le.length===0)continue;let ze=0;for(let Me=0;Me<Le.length;Me++){let Re=Le[Me];Me>0&&z.write(o),ze=P(z,Re[0],ze),Re.length!==1&&(F=P(z,Re[1],F),G=P(z,Re[2],G),pe=P(z,Re[3],pe),Re.length!==4&&(Pe=P(z,Re[4],Pe)))}}return z.flush()}})});var Q0=_((jp,Rp)=>{(function(t,e){typeof jp=="object"&&typeof Rp<"u"?Rp.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self,t.resolveURI=e())})(jp,function(){"use strict";let t=/^[\w+.-]+:\/\//,e=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,i=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function r(A){return t.test(A)}function s(A){return A.startsWith("//")}function n(A){return A.startsWith("/")}function a(A){return A.startsWith("file:")}function l(A){return/^[.?#]/.test(A)}function c(A){let I=e.exec(A);return u(I[1],I[2]||"",I[3],I[4]||"",I[5]||"/",I[6]||"",I[7]||"")}function o(A){let I=i.exec(A),k=I[2];return u("file:","",I[1]||"","",n(k)?k:"/"+k,I[3]||"",I[4]||"")}function u(A,I,k,M,L,R,U){return{scheme:A,user:I,host:k,port:M,path:L,query:R,hash:U,type:7}}function f(A){if(s(A)){let k=c("http:"+A);return k.scheme="",k.type=6,k}if(n(A)){let k=c("http://foo.com"+A);return k.scheme="",k.host="",k.type=5,k}if(a(A))return o(A);if(r(A))return c(A);let I=c("http://foo.com/"+A);return I.scheme="",I.host="",I.type=A?A.startsWith("?")?3:A.startsWith("#")?2:4:1,I}function d(A){if(A.endsWith("/.."))return A;let I=A.lastIndexOf("/");return A.slice(0,I+1)}function y(A,I){E(I,I.type),A.path==="/"?A.path=I.path:A.path=d(I.path)+A.path}function E(A,I){let k=I<=4,M=A.path.split("/"),L=1,R=0,U=!1;for(let me=1;me<M.length;me++){let de=M[me];if(!de){U=!0;continue}if(U=!1,de!=="."){if(de===".."){R?(U=!0,R--,L--):k&&(M[L++]=de);continue}M[L++]=de,R++}}let ae="";for(let me=1;me<L;me++)ae+="/"+M[me];(!ae||U&&!ae.endsWith("/.."))&&(ae+="/"),A.path=ae}function P(A,I){if(!A&&!I)return"";let k=f(A),M=k.type;if(I&&M!==7){let R=f(I),U=R.type;switch(M){case 1:k.hash=R.hash;case 2:k.query=R.query;case 3:case 4:y(k,R);case 5:k.user=R.user,k.host=R.host,k.port=R.port;case 6:k.scheme=R.scheme}U>M&&(M=U)}E(k,M);let L=k.query+k.hash;switch(M){case 2:case 3:return L;case 4:{let R=k.path.slice(1);return R?l(I||A)&&!l(R)?"./"+R+L:R+L:L||"."}case 5:return k.path+L;default:return k.scheme+"//"+k.user+k.host+k.port+k.path+L}}return P})});var Up=_((qp,$p)=>{(function(t,e,i){typeof qp=="object"&&typeof $p<"u"?e($p,Q0(),Bp()):typeof define=="function"&&define.amd?define(["module","@jridgewell/resolve-uri","@jridgewell/sourcemap-codec"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(i={exports:{}},t.resolveURI,t.sourcemapCodec),t.traceMapping="default"in i.exports?i.exports.default:i.exports)})(qp,function(t,e,i){"use strict";var r=Object.create,s=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,o=(N,j)=>function(){return j||(0,N[a(N)[0]])((j={exports:{}}).exports,j),j.exports},u=(N,j)=>{for(var q in j)s(N,q,{get:j[q],enumerable:!0})},f=(N,j,q,X)=>{if(j&&typeof j=="object"||typeof j=="function")for(let fe of a(j))!c.call(N,fe)&&fe!==q&&s(N,fe,{get:()=>j[fe],enumerable:!(X=n(j,fe))||X.enumerable});return N},d=(N,j,q)=>(q=N!=null?r(l(N)):{},f(j||!N||!N.__esModule?s(q,"default",{value:N,enumerable:!0}):q,N)),y=N=>f(s({},"__esModule",{value:!0}),N),E=o({"umd:@jridgewell/sourcemap-codec"(N,j){j.exports=i}}),P=o({"umd:@jridgewell/resolve-uri"(N,j){j.exports=e}}),A={};u(A,{AnyMap:()=>Re,FlattenMap:()=>Re,GREATEST_LOWER_BOUND:()=>$t,LEAST_UPPER_BOUND:()=>Jt,TraceMap:()=>K,allGeneratedPositionsFor:()=>Et,decodedMap:()=>gr,decodedMappings:()=>te,eachMapping:()=>Zt,encodedMap:()=>Hr,encodedMappings:()=>Z,generatedPositionFor:()=>Fe,isIgnored:()=>yr,originalPositionFor:()=>Te,presortedDecodedMap:()=>Tr,sourceContentFor:()=>Xr,traceSegment:()=>ye}),t.exports=y(A);var I=d(E()),k=d(P());function M(N){if(!N)return"";let j=N.lastIndexOf("/");return N.slice(0,j+1)}function L(N,j){let q=M(N),X=j?j+"/":"";return fe=>(0,k.default)(X+(fe||""),q)}var R=0,U=1,ae=2,me=3,de=4,st=1,ue=2;function De(N,j){let q=yt(N,0);if(q===N.length)return N;j||(N=N.slice());for(let X=q;X<N.length;X=yt(N,X+1))N[X]=Fi(N[X],j);return N}function yt(N,j){for(let q=j;q<N.length;q++)if(!kt(N[q]))return q;return N.length}function kt(N){for(let j=1;j<N.length;j++)if(N[j][R]<N[j-1][R])return!1;return!0}function Fi(N,j){return j||(N=N.slice()),N.sort(bi)}function bi(N,j){return N[R]-j[R]}var J=!1;function z(N,j,q,X){for(;q<=X;){let fe=q+(X-q>>1),oe=N[fe][R]-j;if(oe===0)return J=!0,fe;oe<0?q=fe+1:X=fe-1}return J=!1,q-1}function F(N,j,q){for(let X=q+1;X<N.length&&N[X][R]===j;q=X++);return q}function G(N,j,q){for(let X=q-1;X>=0&&N[X][R]===j;q=X--);return q}function pe(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function Pe(N,j,q,X){let{lastKey:fe,lastNeedle:oe,lastIndex:Ne}=q,Ye=0,Ae=N.length-1;if(X===fe){if(j===oe)return J=Ne!==-1&&N[Ne][R]===j,Ne;j>=oe?Ye=Ne===-1?0:Ne:Ae=Ne}return q.lastKey=X,q.lastNeedle=j,q.lastIndex=z(N,j,Ye,Ae)}function Ue(N,j){let q=j.map(ze);for(let X=0;X<N.length;X++){let fe=N[X];for(let oe=0;oe<fe.length;oe++){let Ne=fe[oe];if(Ne.length===1)continue;let Ye=Ne[U],Ae=Ne[ae],Xe=Ne[me],Ut=q[Ye],tt=Ut[Ae]||(Ut[Ae]=[]),Tt=j[Ye],Xt=F(tt,Xe,Pe(tt,Xe,Tt,Ae));Tt.lastIndex=++Xt,Le(tt,Xt,[Xe,X,Ne[R]])}}return q}function Le(N,j,q){for(let X=N.length;X>j;X--)N[X]=N[X-1];N[j]=q}function ze(){return{__proto__:null}}function Me(N){return typeof N=="string"?JSON.parse(N):N}var Re=function(N,j){let q=Me(N);if(!("sections"in q))return new K(q,j);let X=[],fe=[],oe=[],Ne=[],Ye=[];Je(q,j,X,fe,oe,Ne,Ye,0,0,1/0,1/0);let Ae={version:3,file:q.file,names:Ne,sources:fe,sourcesContent:oe,mappings:X,ignoreList:Ye};return Tr(Ae)};function Je(N,j,q,X,fe,oe,Ne,Ye,Ae,Xe,Ut){let{sections:tt}=N;for(let Tt=0;Tt<tt.length;Tt++){let{map:Xt,offset:Si}=tt[Tt],br=Xe,Gr=Ut;if(Tt+1<tt.length){let Qr=tt[Tt+1].offset;br=Math.min(Xe,Ye+Qr.line),br===Xe?Gr=Math.min(Ut,Ae+Qr.column):br<Xe&&(Gr=Ae+Qr.column)}Ze(Xt,j,q,X,fe,oe,Ne,Ye+Si.line,Ae+Si.column,br,Gr)}}function Ze(N,j,q,X,fe,oe,Ne,Ye,Ae,Xe,Ut){let tt=Me(N);if("sections"in tt)return Je(...arguments);let Tt=new K(tt,j),Xt=X.length,Si=oe.length,br=te(Tt),{resolvedSources:Gr,sourcesContent:Qr,ignoreList:tl}=Tt;if(ve(X,Gr),ve(oe,Tt.names),Qr)ve(fe,Qr);else for(let ei=0;ei<Gr.length;ei++)fe.push(null);if(tl)for(let ei=0;ei<tl.length;ei++)Ne.push(tl[ei]+Xt);for(let ei=0;ei<br.length;ei++){let il=Ye+ei;if(il>Xe)return;let yh=et(q,il),bb=ei===0?Ae:0,Th=br[ei];for(let rl=0;rl<Th.length;rl++){let Sr=Th[rl],Jn=bb+Sr[R];if(il===Xe&&Jn>=Ut)return;if(Sr.length===1){yh.push([Jn]);continue}let gh=Xt+Sr[U],xh=Sr[ae],bh=Sr[me];yh.push(Sr.length===4?[Jn,gh,xh,bh]:[Jn,gh,xh,bh,Si+Sr[de]])}}}function ve(N,j){for(let q=0;q<j.length;q++)N.push(j[q])}function et(N,j){for(let q=N.length;q<=j;q++)N[q]=[];return N[j]}var ft="`line` must be greater than 0 (lines start at line 1)",Bi="`column` must be greater than or equal to 0 (columns start at column 0)",Jt=-1,$t=1,K=class{constructor(N,j){let q=typeof N=="string";if(!q&&N._decodedMemo)return N;let X=Me(N),{version:fe,file:oe,names:Ne,sourceRoot:Ye,sources:Ae,sourcesContent:Xe}=X;this.version=fe,this.file=oe,this.names=Ne||[],this.sourceRoot=Ye,this.sources=Ae,this.sourcesContent=Xe,this.ignoreList=X.ignoreList||X.x_google_ignoreList||void 0;let Ut=L(j,Ye);this.resolvedSources=Ae.map(Ut);let{mappings:tt}=X;if(typeof tt=="string")this._encoded=tt,this._decoded=void 0;else if(Array.isArray(tt))this._encoded=void 0,this._decoded=De(tt,q);else throw X.sections?new Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):new Error(`invalid source map: ${JSON.stringify(X)}`);this._decodedMemo=pe(),this._bySources=void 0,this._bySourceMemos=void 0}};function V(N){return N}function Z(N){var j,q;return(q=(j=N)._encoded)!=null?q:j._encoded=(0,I.encode)(N._decoded)}function te(N){var j;return(j=N)._decoded||(j._decoded=(0,I.decode)(N._encoded))}function ye(N,j,q){let X=te(N);if(j>=X.length)return null;let fe=X[j],oe=zn(fe,N._decodedMemo,j,q,$t);return oe===-1?null:fe[oe]}function Te(N,j){let{line:q,column:X,bias:fe}=j;if(q--,q<0)throw new Error(ft);if(X<0)throw new Error(Bi);let oe=te(N);if(q>=oe.length)return xr(null,null,null,null);let Ne=oe[q],Ye=zn(Ne,N._decodedMemo,q,X,fe||$t);if(Ye===-1)return xr(null,null,null,null);let Ae=Ne[Ye];if(Ae.length===1)return xr(null,null,null,null);let{names:Xe,resolvedSources:Ut}=N;return xr(Ut[Ae[U]],Ae[ae]+1,Ae[me],Ae.length===5?Xe[Ae[de]]:null)}function Fe(N,j){let{source:q,line:X,column:fe,bias:oe}=j;return mh(N,q,X,fe,oe||$t,!1)}function Et(N,j){let{source:q,line:X,column:fe,bias:oe}=j;return mh(N,q,X,fe,oe||Jt,!0)}function Zt(N,j){let q=te(N),{names:X,resolvedSources:fe}=N;for(let oe=0;oe<q.length;oe++){let Ne=q[oe];for(let Ye=0;Ye<Ne.length;Ye++){let Ae=Ne[Ye],Xe=oe+1,Ut=Ae[0],tt=null,Tt=null,Xt=null,Si=null;Ae.length!==1&&(tt=fe[Ae[1]],Tt=Ae[2]+1,Xt=Ae[3]),Ae.length===5&&(Si=X[Ae[4]]),j({generatedLine:Xe,generatedColumn:Ut,source:tt,originalLine:Tt,originalColumn:Xt,name:Si})}}}function Jr(N,j){let{sources:q,resolvedSources:X}=N,fe=q.indexOf(j);return fe===-1&&(fe=X.indexOf(j)),fe}function Xr(N,j){let{sourcesContent:q}=N;if(q==null)return null;let X=Jr(N,j);return X===-1?null:q[X]}function yr(N,j){let{ignoreList:q}=N;if(q==null)return!1;let X=Jr(N,j);return X===-1?!1:q.includes(X)}function Tr(N,j){let q=new K(ji(N,[]),j);return q._decoded=N.mappings,q}function gr(N){return ji(N,te(N))}function Hr(N){return ji(N,Z(N))}function ji(N,j){return{version:N.version,file:N.file,names:N.names,sourceRoot:N.sourceRoot,sources:N.sources,sourcesContent:N.sourcesContent,mappings:j,ignoreList:N.ignoreList||N.x_google_ignoreList}}function xr(N,j,q,X){return{source:N,line:j,column:q,name:X}}function Ms(N,j){return{line:N,column:j}}function zn(N,j,q,X,fe){let oe=Pe(N,X,j,q);return J?oe=(fe===Jt?F:G)(N,X,oe):fe===Jt&&oe++,oe===-1||oe===N.length?-1:oe}function xb(N,j,q,X,fe){let oe=zn(N,j,q,X,$t);if(!J&&fe===Jt&&oe++,oe===-1||oe===N.length)return[];let Ne=J?X:N[oe][R];J||(oe=G(N,Ne,oe));let Ye=F(N,Ne,oe),Ae=[];for(;oe<=Ye;oe++){let Xe=N[oe];Ae.push(Ms(Xe[st]+1,Xe[ue]))}return Ae}function mh(N,j,q,X,fe,oe){var Ne;if(q--,q<0)throw new Error(ft);if(X<0)throw new Error(Bi);let{sources:Ye,resolvedSources:Ae}=N,Xe=Ye.indexOf(j);if(Xe===-1&&(Xe=Ae.indexOf(j)),Xe===-1)return oe?[]:Ms(null,null);let tt=((Ne=N)._bySources||(Ne._bySources=Ue(te(N),N._bySourceMemos=Ye.map(pe))))[Xe][q];if(tt==null)return oe?[]:Ms(null,null);let Tt=N._bySourceMemos[Xe];if(oe)return xb(tt,Tt,q,X,fe);let Xt=zn(tt,Tt,q,X,fe);if(Xt===-1)return Ms(null,null);let Si=tt[Xt];return Ms(Si[st]+1,Si[ue])}})});var Z0=_((Kp,Vp)=>{(function(t,e,i){typeof Kp=="object"&&typeof Vp<"u"?e(Vp,Bp(),Up()):typeof define=="function"&&define.amd?define(["module","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(i={exports:{}},t.sourcemapCodec,t.traceMapping),t.genMapping="default"in i.exports?i.exports.default:i.exports)})(Kp,function(t,e,i){"use strict";var r=Object.create,s=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,o=(K,V)=>function(){return V||(0,K[a(K)[0]])((V={exports:{}}).exports,V),V.exports},u=(K,V)=>{for(var Z in V)s(K,Z,{get:V[Z],enumerable:!0})},f=(K,V,Z,te)=>{if(V&&typeof V=="object"||typeof V=="function")for(let ye of a(V))!c.call(K,ye)&&ye!==Z&&s(K,ye,{get:()=>V[ye],enumerable:!(te=n(V,ye))||te.enumerable});return K},d=(K,V,Z)=>(Z=K!=null?r(l(K)):{},f(V||!K||!K.__esModule?s(Z,"default",{value:K,enumerable:!0}):Z,K)),y=K=>f(s({},"__esModule",{value:!0}),K),E=o({"umd:@jridgewell/sourcemap-codec"(K,V){V.exports=e}}),P=o({"umd:@jridgewell/trace-mapping"(K,V){V.exports=i}}),A={};u(A,{GenMapping:()=>kt,addMapping:()=>J,addSegment:()=>bi,allMappings:()=>ze,fromMap:()=>Le,maybeAddMapping:()=>F,maybeAddSegment:()=>z,setIgnore:()=>pe,setSourceContent:()=>G,toDecodedMap:()=>Pe,toEncodedMap:()=>Ue}),t.exports=y(A);var I=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function k(K){return K}function M(K,V){return K._indexes[V]}function L(K,V){let Z=M(K,V);if(Z!==void 0)return Z;let{array:te,_indexes:ye}=K,Te=te.push(V);return ye[V]=Te-1}function R(K,V){let Z=M(K,V);if(Z===void 0)return;let{array:te,_indexes:ye}=K;for(let Te=Z+1;Te<te.length;Te++){let Fe=te[Te];te[Te-1]=Fe,ye[Fe]--}ye[V]=void 0,te.pop()}var U=d(E()),ae=d(P()),me=0,de=1,st=2,ue=3,De=4,yt=-1,kt=class{constructor({file:K,sourceRoot:V}={}){this._names=new I,this._sources=new I,this._sourcesContent=[],this._mappings=[],this.file=K,this.sourceRoot=V,this._ignoreList=new I}};function Fi(K){return K}function bi(K,V,Z,te,ye,Te,Fe,Et){return Me(!1,K,V,Z,te,ye,Te,Fe,Et)}function J(K,V){return $t(!1,K,V)}var z=(K,V,Z,te,ye,Te,Fe,Et)=>Me(!0,K,V,Z,te,ye,Te,Fe,Et),F=(K,V)=>$t(!0,K,V);function G(K,V,Z){let{_sources:te,_sourcesContent:ye}=K,Te=L(te,V);ye[Te]=Z}function pe(K,V,Z=!0){let{_sources:te,_sourcesContent:ye,_ignoreList:Te}=K,Fe=L(te,V);Fe===ye.length&&(ye[Fe]=null),Z?L(Te,Fe):R(Te,Fe)}function Pe(K){let{_mappings:V,_sources:Z,_sourcesContent:te,_names:ye,_ignoreList:Te}=K;return et(V),{version:3,file:K.file||void 0,names:ye.array,sourceRoot:K.sourceRoot||void 0,sources:Z.array,sourcesContent:te,mappings:V,ignoreList:Te.array}}function Ue(K){let V=Pe(K);return Object.assign({},V,{mappings:(0,U.encode)(V.mappings)})}function Le(K){let V=new ae.TraceMap(K),Z=new kt({file:V.file,sourceRoot:V.sourceRoot});return ft(Z._names,V.names),ft(Z._sources,V.sources),Z._sourcesContent=V.sourcesContent||V.sources.map(()=>null),Z._mappings=(0,ae.decodedMappings)(V),V.ignoreList&&ft(Z._ignoreList,V.ignoreList),Z}function ze(K){let V=[],{_mappings:Z,_sources:te,_names:ye}=K;for(let Te=0;Te<Z.length;Te++){let Fe=Z[Te];for(let Et=0;Et<Fe.length;Et++){let Zt=Fe[Et],Jr={line:Te+1,column:Zt[me]},Xr,yr,Tr;Zt.length!==1&&(Xr=te.array[Zt[de]],yr={line:Zt[st]+1,column:Zt[ue]},Zt.length===5&&(Tr=ye.array[Zt[De]])),V.push({generated:Jr,source:Xr,original:yr,name:Tr})}}return V}function Me(K,V,Z,te,ye,Te,Fe,Et,Zt){let{_mappings:Jr,_sources:Xr,_sourcesContent:yr,_names:Tr}=V,gr=Je(Jr,Z),Hr=Ze(gr,te);if(!ye)return K&&Bi(gr,Hr)?void 0:ve(gr,Hr,[te]);let ji=L(Xr,ye),xr=Et?L(Tr,Et):yt;if(ji===yr.length&&(yr[ji]=Zt??null),!(K&&Jt(gr,Hr,ji,Te,Fe,xr)))return ve(gr,Hr,Et?[te,ji,Te,Fe,xr]:[te,ji,Te,Fe])}function Re(K){}function Je(K,V){for(let Z=K.length;Z<=V;Z++)K[Z]=[];return K[V]}function Ze(K,V){let Z=K.length;for(let te=Z-1;te>=0;Z=te--){let ye=K[te];if(V>=ye[me])break}return Z}function ve(K,V,Z){for(let te=K.length;te>V;te--)K[te]=K[te-1];K[V]=Z}function et(K){let{length:V}=K,Z=V;for(let te=Z-1;te>=0&&!(K[te].length>0);Z=te,te--);Z<V&&(K.length=Z)}function ft(K,V){for(let Z=0;Z<V.length;Z++)L(K,V[Z])}function Bi(K,V){return V===0?!0:K[V-1].length===1}function Jt(K,V,Z,te,ye,Te){if(V===0)return!1;let Fe=K[V-1];return Fe.length===1?!1:Z===Fe[de]&&te===Fe[st]&&ye===Fe[ue]&&Te===(Fe.length===5?Fe[De]:yt)}function $t(K,V,Z){let{generated:te,source:ye,original:Te,name:Fe,content:Et}=Z;return ye?Me(K,V,te.line-1,te.column,ye,Te.line-1,Te.column,Fe,Et):Me(K,V,te.line-1,te.column,null,null,null,null,null)}})});var eT=_(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var ur=Z0(),Wp=Up(),Yp=class{constructor(e,i){var r;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;let s=this._map=new ur.GenMapping({sourceRoot:e.sourceRoot});if(this._sourceFileName=(r=e.sourceFileName)==null?void 0:r.replace(/\\/g,"/"),this._rawMappings=void 0,e.inputSourceMap){this._inputMap=new Wp.TraceMap(e.inputSourceMap);let a=this._inputMap.resolvedSources;if(a.length)for(let l=0;l<a.length;l++){var n;(0,ur.setSourceContent)(s,a[l],(n=this._inputMap.sourcesContent)==null?void 0:n[l])}}if(typeof i=="string"&&!e.inputSourceMap)(0,ur.setSourceContent)(s,this._sourceFileName,i);else if(typeof i=="object")for(let a of Object.keys(i))(0,ur.setSourceContent)(s,a.replace(/\\/g,"/"),i[a])}get(){return(0,ur.toEncodedMap)(this._map)}getDecoded(){return(0,ur.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,ur.allMappings)(this._map))}mark(e,i,r,s,n,a){var l;this._rawMappings=void 0;let c;if(i!=null)if(this._inputMap){if(c=(0,Wp.originalPositionFor)(this._inputMap,{line:i,column:r}),!c.name&&n){let o=(0,Wp.originalPositionFor)(this._inputMap,n);o.name&&(s=o.name)}}else c={source:a?.replace(/\\/g,"/")||this._sourceFileName,line:i,column:r};(0,ur.maybeAddMapping)(this._map,{name:s,generated:e,source:(l=c)==null?void 0:l.source,original:c})}};bo.default=Yp});var tT=_(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.default=void 0;var zp=class{constructor(e,i){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=e,this._indentChar=i;for(let r=0;r<64;r++)this._fastIndentations.push(i.repeat(r));this._allocQueue()}_allocQueue(){let e=this._queue;for(let i=0;i<16;i++)e.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(e,i,r,s,n){let a=this._queueCursor;a===this._queue.length&&this._allocQueue();let l=this._queue[a];l.char=e,l.repeat=i,l.line=r,l.column=s,l.filename=n,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let e=this._map,i={code:(this._buf+this._str).trimRight(),decodedMap:e?.getDecoded(),get __mergedMap(){return this.map},get map(){let r=e?e.get():null;return i.map=r,r},set map(r){Object.defineProperty(i,"map",{value:r,writable:!0})},get rawMappings(){let r=e?.getRawMappings();return i.rawMappings=r,r},set rawMappings(r){Object.defineProperty(i,"rawMappings",{value:r,writable:!0})}};return i}append(e,i){this._flush(),this._append(e,this._sourcePosition,i)}appendChar(e){this._flush(),this._appendChar(e,1,this._sourcePosition)}queue(e){if(e===10)for(;this._queueCursor!==0;){let r=this._queue[this._queueCursor-1].char;if(r!==32&&r!==9)break;this._queueCursor--}let i=this._sourcePosition;this._pushQueue(e,1,i.line,i.column,i.filename)}queueIndentation(e){e!==0&&this._pushQueue(-1,e,void 0,void 0,void 0)}_flush(){let e=this._queueCursor,i=this._queue;for(let r=0;r<e;r++){let s=i[r];this._appendChar(s.char,s.repeat,s)}this._queueCursor=0}_appendChar(e,i,r){if(this._last=e,e===-1){let s=this._fastIndentations[i];s!==void 0?this._str+=s:this._str+=i>1?this._indentChar.repeat(i):this._indentChar}else this._str+=i>1?String.fromCharCode(e).repeat(i):String.fromCharCode(e);e!==10?(this._mark(r.line,r.column,r.identifierName,r.identifierNamePos,r.filename),this._position.column+=i):(this._position.line++,this._position.column=0),this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0)}_append(e,i,r){let s=e.length,n=this._position;if(this._last=e.charCodeAt(s-1),++this._appendCount>4096?(+this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,!r&&!this._map){n.column+=s;return}let{column:a,identifierName:l,identifierNamePos:c,filename:o}=i,u=i.line;(l!=null||c!=null)&&this._canMarkIdName&&(i.identifierName=void 0,i.identifierNamePos=void 0);let f=e.indexOf(`
|
|
23
23
|
`),d=0;for(f!==0&&this._mark(u,a,l,c,o);f!==-1;)n.line++,n.column=0,d=f+1,d<s&&u!==void 0&&this._mark(++u,0,null,null,o),f=e.indexOf(`
|
|
24
|
-
`,d);n.column+=s-d}_mark(e,i,r,s,n){var a;(a=this._map)==null||a.mark(this._position,e,i,r,s,n)}removeTrailingNewline(){let e=this._queueCursor;e!==0&&this._queue[e-1].char===10&&this._queueCursor--}removeLastSemicolon(){let e=this._queueCursor;e!==0&&this._queue[e-1].char===59&&this._queueCursor--}getLastChar(){let e=this._queueCursor;return e!==0?this._queue[e-1].char:this._last}getNewlineCount(){let e=this._queueCursor,i=0;if(e===0)return this._last===10?1:0;for(let r=e-1;r>=0&&this._queue[r].char===10;r--)i++;return i===e&&this._last===10?i+1:i}endsWithCharAndNewline(){let e=this._queue,i=this._queueCursor;if(i!==0)return e[i-1].char!==10?void 0:i>1?e[i-2].char:this._last}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(e,i){if(!this._map){i();return}this.source("start",e);let r=e.identifierName,s=this._sourcePosition;r&&(this._canMarkIdName=!1,s.identifierName=r),i(),r&&(this._canMarkIdName=!0,s.identifierName=void 0,s.identifierNamePos=void 0),this.source("end",e)}source(e,i){this._map&&this._normalizePosition(e,i,0)}sourceWithOffset(e,i,r){this._map&&this._normalizePosition(e,i,r)}_normalizePosition(e,i,r){let s=i[e],n=this._sourcePosition;s&&(n.line=s.line,n.column=Math.max(s.column+r,0),n.filename=i.filename)}getCurrentColumn(){let e=this._queue,i=this._queueCursor,r=-1,s=0;for(let n=0;n<i;n++){let a=e[n];a.char===10&&(r=s),s+=a.repeat}return r===-1?this._position.column+s:s-1-r}getCurrentLine(){let e=0,i=this._queue;for(let r=0;r<this._queueCursor;r++)i[r].char===10&&e++;return this._position.line+e}};So.default=zp});var aT=_(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.nodes=void 0;var I8=be(),{FLIPPED_ALIAS_KEYS:k8,isArrayExpression:_8,isAssignmentExpression:rT,isBinary:sT,isBlockStatement:O8,isCallExpression:nT,isFunction:On,isIdentifier:Eo,isLiteral:N8,isMemberExpression:Jp,isObjectExpression:D8,isOptionalCallExpression:L8,isOptionalMemberExpression:M8,isStringLiteral:F8}=I8;function Ps(t,e){return t&&(Jp(t)||M8(t)?(Ps(t.object,e),t.computed&&Ps(t.property,e)):sT(t)||rT(t)?(Ps(t.left,e),Ps(t.right,e)):nT(t)||L8(t)?(e.hasCall=!0,Ps(t.callee,e)):On(t)?e.hasFunction=!0:Eo(t)&&(e.hasHelper=e.hasHelper||t.callee&&Wi(t.callee))),e}function iT(t){return Ps(t,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function Wi(t){return t?Jp(t)?Wi(t.object)||Wi(t.property):Eo(t)?t.name==="require"||t.name.charCodeAt(0)===95:nT(t)?Wi(t.callee):sT(t)||rT(t)?Eo(t.left)&&Wi(t.left)||Wi(t.right):!1:!1}function B8(t){return N8(t)||D8(t)||_8(t)||Eo(t)||Jp(t)}var $r=Po.nodes={AssignmentExpression(t){let e=iT(t.right);if(e.hasCall&&e.hasHelper||e.hasFunction)return e.hasFunction?3:2},SwitchCase(t,e){return(t.consequent.length||e.cases[0]===t?1:0)|(!t.consequent.length&&e.cases[e.cases.length-1]===t?2:0)},LogicalExpression(t){if(On(t.left)||On(t.right))return 2},Literal(t){if(F8(t)&&t.value==="use strict")return 2},CallExpression(t){if(On(t.callee)||Wi(t))return 3},OptionalCallExpression(t){if(On(t.callee))return 3},VariableDeclaration(t){for(let e=0;e<t.declarations.length;e++){let i=t.declarations[e],r=Wi(i.id)&&!B8(i.init);if(!r&&i.init){let s=iT(i.init);r=Wi(i.init)&&s.hasCall||s.hasFunction}if(r)return 3}},IfStatement(t){if(O8(t.consequent))return 3}};$r.ObjectProperty=$r.ObjectTypeProperty=$r.ObjectMethod=function(t,e){if(e.properties[0]===t)return 1};$r.ObjectTypeCallProperty=function(t,e){var i;if(e.callProperties[0]===t&&!((i=e.properties)!=null&&i.length))return 1};$r.ObjectTypeIndexer=function(t,e){var i,r;if(e.indexers[0]===t&&!((i=e.properties)!=null&&i.length)&&!((r=e.callProperties)!=null&&r.length))return 1};$r.ObjectTypeInternalSlot=function(t,e){var i,r,s;if(e.internalSlots[0]===t&&!((i=e.properties)!=null&&i.length)&&!((r=e.callProperties)!=null&&r.length)&&!((s=e.indexers)!=null&&s.length))return 1};[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([t,e]){[t].concat(k8[t]||[]).forEach(function(i){let r=e?3:0;$r[i]=()=>r})})});var dT=_(Ce=>{"use strict";Object.defineProperty(Ce,"__esModule",{value:!0});Ce.AssignmentExpression=m9;Ce.Binary=pT;Ce.BinaryExpression=c9;Ce.ClassExpression=f9;Ce.ArrowFunctionExpression=Ce.ConditionalExpression=hT;Ce.DoExpression=Q8;Ce.FunctionExpression=h9;Ce.FunctionTypeAnnotation=X8;Ce.Identifier=T9;Ce.LogicalExpression=y9;Ce.NullableTypeAnnotation=J8;Ce.ObjectExpression=G8;Ce.OptionalIndexedAccessType=e9;Ce.OptionalCallExpression=Ce.OptionalMemberExpression=d9;Ce.SequenceExpression=u9;Ce.TSSatisfiesExpression=Ce.TSAsExpression=t9;Ce.TSConditionalType=i9;Ce.TSConstructorType=Ce.TSFunctionType=l9;Ce.TSInferType=n9;Ce.TSInstantiationExpression=o9;Ce.TSIntersectionType=s9;Ce.UnaryLike=Ce.TSTypeAssertion=fT;Ce.TSTypeOperator=a9;Ce.TSUnionType=r9;Ce.IntersectionTypeAnnotation=Ce.UnionTypeAnnotation=Z8;Ce.UpdateExpression=H8;Ce.AwaitExpression=Ce.YieldExpression=p9;var j8=be(),Qt=Ur(),{isArrayTypeAnnotation:R8,isBinaryExpression:q8,isCallExpression:$8,isForOfStatement:U8,isIndexedAccessType:K8,isMemberExpression:cT,isObjectPattern:V8,isOptionalMemberExpression:W8,isYieldExpression:Y8,isStatement:z8}=j8,oT=new Map([["||",0],["??",0],["|>",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function lT(t,e){if(e==="BinaryExpression"||e==="LogicalExpression")return oT.get(t.operator);if(e==="TSAsExpression"||e==="TSSatisfiesExpression")return oT.get("in")}function Xp(t){return t==="TSAsExpression"||t==="TSSatisfiesExpression"||t==="TSTypeAssertion"}var vo=(t,e)=>{let i=e.type;return(i==="ClassDeclaration"||i==="ClassExpression")&&e.superClass===t},Ao=(t,e)=>{let i=e.type;return(i==="MemberExpression"||i==="OptionalMemberExpression")&&e.object===t||(i==="CallExpression"||i==="OptionalCallExpression"||i==="NewExpression")&&e.callee===t||i==="TaggedTemplateExpression"&&e.tag===t||i==="TSNonNullExpression"};function J8(t,e){return R8(e)}function X8(t,e,i){let r=e.type;return r==="UnionTypeAnnotation"||r==="IntersectionTypeAnnotation"||r==="ArrayTypeAnnotation"||!!(i&Qt.TokenContext.arrowFlowReturnType)}function H8(t,e){return Ao(t,e)||vo(t,e)}function uT(t){return!!(t&(Qt.TokenContext.expressionStatement|Qt.TokenContext.arrowBody))}function G8(t,e,i){return uT(i)}function Q8(t,e,i){return!t.async&&!!(i&Qt.TokenContext.expressionStatement)}function pT(t,e){let i=e.type;if(t.type==="BinaryExpression"&&t.operator==="**"&&i==="BinaryExpression"&&e.operator==="**")return e.left===t;if(vo(t,e)||Ao(t,e)||i==="UnaryExpression"||i==="SpreadElement"||i==="AwaitExpression")return!0;let r=lT(e,i);if(r!=null){let s=lT(t,t.type);if(r===s&&i==="BinaryExpression"&&e.right===t||r>s)return!0}}function Z8(t,e){let i=e.type;return i==="ArrayTypeAnnotation"||i==="NullableTypeAnnotation"||i==="IntersectionTypeAnnotation"||i==="UnionTypeAnnotation"}function e9(t,e){return K8(e)&&e.objectType===t}function t9(t,e){return(e.type==="AssignmentExpression"||e.type==="AssignmentPattern")&&e.left===t||e.type==="BinaryExpression"&&(e.operator==="|"||e.operator==="&")&&t===e.left?!0:pT(t,e)}function i9(t,e){let i=e.type;return i==="TSArrayType"||i==="TSIndexedAccessType"&&e.objectType===t||i==="TSOptionalType"||i==="TSTypeOperator"||i==="TSTypeParameter"||(i==="TSIntersectionType"||i==="TSUnionType")&&e.types[0]===t||i==="TSConditionalType"&&(e.checkType===t||e.extendsType===t)}function r9(t,e){let i=e.type;return i==="TSIntersectionType"||i==="TSTypeOperator"||i==="TSArrayType"||i==="TSIndexedAccessType"&&e.objectType===t||i==="TSOptionalType"}function s9(t,e){let i=e.type;return i==="TSTypeOperator"||i==="TSArrayType"||i==="TSIndexedAccessType"&&e.objectType===t||i==="TSOptionalType"}function n9(t,e){let i=e.type;return!!(i==="TSArrayType"||i==="TSIndexedAccessType"&&e.objectType===t||i==="TSOptionalType"||t.typeParameter.constraint&&(i==="TSIntersectionType"||i==="TSUnionType")&&e.types[0]===t)}function a9(t,e){let i=e.type;return i==="TSArrayType"||i==="TSIndexedAccessType"&&e.objectType===t||i==="TSOptionalType"}function o9(t,e){let i=e.type;return(i==="CallExpression"||i==="OptionalCallExpression"||i==="NewExpression"||i==="TSInstantiationExpression")&&!!e.typeParameters}function l9(t,e){let i=e.type;return i==="TSIntersectionType"||i==="TSUnionType"||i==="TSTypeOperator"||i==="TSOptionalType"||i==="TSArrayType"||i==="TSIndexedAccessType"&&e.objectType===t||i==="TSConditionalType"&&(e.checkType===t||e.extendsType===t)}function c9(t,e,i){return t.operator==="in"&&!!(i&Qt.TokenContext.forInOrInitHeadAccumulate)}function u9(t,e){let i=e.type;return i==="SequenceExpression"||i==="ParenthesizedExpression"||i==="MemberExpression"&&e.property===t||i==="OptionalMemberExpression"&&e.property===t||i==="TemplateLiteral"?!1:i==="ClassDeclaration"?!0:i==="ForOfStatement"?e.right===t:i==="ExportDefaultDeclaration"?!0:!z8(e)}function p9(t,e){let i=e.type;return i==="BinaryExpression"||i==="LogicalExpression"||i==="UnaryExpression"||i==="SpreadElement"||Ao(t,e)||i==="AwaitExpression"&&Y8(t)||i==="ConditionalExpression"&&t===e.test||vo(t,e)||Xp(i)}function f9(t,e,i){return!!(i&(Qt.TokenContext.expressionStatement|Qt.TokenContext.exportDefault))}function fT(t,e){return Ao(t,e)||q8(e)&&e.operator==="**"&&e.left===t||vo(t,e)}function h9(t,e,i){return!!(i&(Qt.TokenContext.expressionStatement|Qt.TokenContext.exportDefault))}function hT(t,e){let i=e.type;return i==="UnaryExpression"||i==="SpreadElement"||i==="BinaryExpression"||i==="LogicalExpression"||i==="ConditionalExpression"&&e.test===t||i==="AwaitExpression"||Xp(i)?!0:fT(t,e)}function d9(t,e){return $8(e)&&e.callee===t||cT(e)&&e.object===t}function m9(t,e,i){return uT(i)&&V8(t.left)?!0:hT(t,e)}function y9(t,e){let i=e.type;if(Xp(i))return!0;if(i!=="LogicalExpression")return!1;switch(t.operator){case"||":return e.operator==="??"||e.operator==="&&";case"&&":return e.operator==="??";case"??":return e.operator!=="??"}}function T9(t,e,i,r){var s;let n=e.type;if((s=t.extra)!=null&&s.parenthesized&&n==="AssignmentExpression"&&e.left===t){let a=e.right.type;if((a==="FunctionExpression"||a==="ClassExpression")&&e.right.id==null)return!0}return r&&r(t)!==t.name?!1:t.name==="let"?(cT(e,{object:t,computed:!0})||W8(e,{object:t,computed:!0,optional:!1}))&&i&(Qt.TokenContext.expressionStatement|Qt.TokenContext.forInitHead|Qt.TokenContext.forInHead)?!0:!!(i&Qt.TokenContext.forOfHead):t.name==="async"&&U8(e,{left:t,await:!1})}});var Ur=_(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});Yi.TokenContext=void 0;Yi.isLastChild=D9;Yi.needsParens=N9;Yi.needsWhitespace=Gp;Yi.needsWhitespaceAfter=O9;Yi.needsWhitespaceBefore=_9;var g9=aT(),x9=dT(),b9=be(),{FLIPPED_ALIAS_KEYS:S9,VISITOR_KEYS:E9,isCallExpression:mT,isDecorator:P9,isExpressionStatement:v9,isMemberExpression:A9,isNewExpression:w9,isParenthesizedExpression:C9}=b9,Iae=Yi.TokenContext={normal:0,expressionStatement:1,arrowBody:2,exportDefault:4,arrowFlowReturnType:8,forInitHead:16,forInHead:32,forOfHead:64,forInOrInitHeadAccumulate:128,forInOrInitHeadAccumulatePassThroughMask:128};function yT(t){let e=new Map;function i(r,s){let n=e.get(r);e.set(r,n?function(a,l,c,o){var u;return(u=n(a,l,c,o))!=null?u:s(a,l,c,o)}:s)}for(let r of Object.keys(t)){let s=S9[r];if(s)for(let n of s)i(n,t[r]);else i(r,t[r])}return e}var I9=yT(x9),k9=yT(g9.nodes);function TT(t){return mT(t)?!0:A9(t)&&TT(t.object)}function Gp(t,e,i){var r;if(!t)return!1;v9(t)&&(t=t.expression);let s=(r=k9.get(t.type))==null?void 0:r(t,e);return typeof s=="number"?(s&i)!==0:!1}function _9(t,e){return Gp(t,e,1)}function O9(t,e){return Gp(t,e,2)}function N9(t,e,i,r){var s;return e?w9(e)&&e.callee===t&&TT(t)?!0:P9(e)?!Hp(t)&&!(mT(t)&&Hp(t.callee))&&!C9(t):(s=I9.get(t.type))==null?void 0:s(t,e,i,r):!1}function Hp(t){switch(t.type){case"Identifier":return!0;case"MemberExpression":return!t.computed&&t.property.type==="Identifier"&&Hp(t.object);default:return!1}}function D9(t,e){let i=E9[t.type];for(let r=i.length-1;r>=0;r--){let s=t[i[r]];if(s===e)return!0;if(Array.isArray(s)){let n=s.length-1;for(;n>=0&&s[n]===null;)n--;return n>=0&&s[n]===e}else if(s)return!1}return!1}});var gT=_(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.TokenMap=void 0;var L9=be(),{traverseFast:M9,VISITOR_KEYS:F9}=L9,Qp=class{constructor(e,i,r){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=i,this._source=r,M9(e,s=>{let n=this._getTokensIndexesOfNode(s);n.length>0&&this._nodesToTokenIndexes.set(s,n)}),this._tokensCache=null}has(e){return this._nodesToTokenIndexes.has(e)}getIndexes(e){return this._nodesToTokenIndexes.get(e)}find(e,i){let r=this._nodesToTokenIndexes.get(e);if(r)for(let s=0;s<r.length;s++){let n=r[s],a=this._tokens[n];if(i(a,n))return a}return null}findLastIndex(e,i){let r=this._nodesToTokenIndexes.get(e);if(r)for(let s=r.length-1;s>=0;s--){let n=r[s],a=this._tokens[n];if(i(a,n))return n}return-1}findMatching(e,i,r=0){let s=this._nodesToTokenIndexes.get(e);if(s){let n=0,a=r;if(a>1){let l=this._nodesOccurrencesCountCache.get(e);l&&l.test===i&&l.count<a&&(n=l.i+1,r-=l.count+1)}for(;n<s.length;n++){let l=this._tokens[s[n]];if(this.matchesOriginal(l,i)){if(r===0)return a>0&&this._nodesOccurrencesCountCache.set(e,{test:i,count:a,i:n}),l;r--}}}return null}matchesOriginal(e,i){return e.end-e.start!==i.length?!1:e.value!=null?e.value===i:this._source.startsWith(i,e.start)}startMatches(e,i){let r=this._nodesToTokenIndexes.get(e);if(!r)return!1;let s=this._tokens[r[0]];return s.start!==e.start?!1:this.matchesOriginal(s,i)}endMatches(e,i){let r=this._nodesToTokenIndexes.get(e);if(!r)return!1;let s=this._tokens[r[r.length-1]];return s.end!==e.end?!1:this.matchesOriginal(s,i)}_getTokensIndexesOfNode(e){if(e.start==null||e.end==null)return[];let{first:i,last:r}=this._findTokensOfNode(e,0,this._tokens.length-1),s=i,n=B9(e);(e.type==="ExportNamedDeclaration"||e.type==="ExportDefaultDeclaration")&&e.declaration&&e.declaration.type==="ClassDeclaration"&&n.next();let a=[];for(let l of n){if(l==null||l.start==null||l.end==null)continue;let c=this._findTokensOfNode(l,s,r),o=c.first;for(let u=s;u<o;u++)a.push(u);s=c.last+1}for(let l=s;l<=r;l++)a.push(l);return a}_findTokensOfNode(e,i,r){let s=this._tokensCache.get(e);if(s)return s;let n=this._findFirstTokenOfNode(e.start,i,r),a=this._findLastTokenOfNode(e.end,n,r);return this._tokensCache.set(e,{first:n,last:a}),{first:n,last:a}}_findFirstTokenOfNode(e,i,r){for(;i<=r;){let s=r+i>>1;if(e<this._tokens[s].start)r=s-1;else if(e>this._tokens[s].start)i=s+1;else return s}return i}_findLastTokenOfNode(e,i,r){for(;i<=r;){let s=r+i>>1;if(e<this._tokens[s].end)r=s-1;else if(e>this._tokens[s].end)i=s+1;else return s}return r}};wo.TokenMap=Qp;function*B9(t){if(t.type==="TemplateLiteral"){yield t.quasis[0];for(let i=1;i<t.quasis.length;i++)yield t.expressions[i-1],yield t.quasis[i];return}let e=F9[t.type];for(let i of e){let r=t[i];r&&(Array.isArray(r)?yield*r:yield r)}}});var xT=_(vs=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});vs.TaggedTemplateExpression=j9;vs.TemplateElement=R9;vs.TemplateLiteral=$9;vs._printTemplate=q9;function j9(t){this.print(t.tag),this.print(t.typeParameters),this.print(t.quasi)}function R9(){throw new Error("TemplateElement printing is handled in TemplateLiteral")}function q9(t,e){let i=t.quasis,r="`";for(let s=0;s<i.length-1;s++)if(r+=i[s].value.raw,this.token(r+"${",!0),this.print(e[s]),r="}",this.tokenMap){let n=this.tokenMap.findMatching(t,"}",s);n&&this._catchUpTo(n.loc.start)}r+=i[i.length-1].value.raw,this.token(r+"`",!0)}function $9(t){this._printTemplate(t,t.expressions)}});var ST=_($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.LogicalExpression=$e.BinaryExpression=$e.AssignmentExpression=h7;$e.AssignmentPattern=f7;$e.AwaitExpression=l7;$e.BindExpression=d7;$e.CallExpression=a7;$e.ConditionalExpression=G9;$e.Decorator=r7;$e.DoExpression=J9;$e.EmptyStatement=u7;$e.ExpressionStatement=p7;$e.Import=o7;$e.MemberExpression=m7;$e.MetaProperty=y7;$e.ModuleExpression=x7;$e.NewExpression=Q9;$e.OptionalCallExpression=n7;$e.OptionalMemberExpression=s7;$e.ParenthesizedExpression=X9;$e.PrivateName=T7;$e.SequenceExpression=Z9;$e.Super=t7;$e.ThisExpression=e7;$e.UnaryExpression=z9;$e.UpdateExpression=H9;$e.V8IntrinsicIdentifier=g7;$e.YieldExpression=c7;$e._shouldPrintDecoratorsBeforeExport=i7;var U9=be(),K9=Ur(),{isCallExpression:V9,isLiteral:bT,isMemberExpression:Zp,isNewExpression:W9,isPattern:Y9}=U9;function z9(t){let{operator:e}=t;e==="void"||e==="delete"||e==="typeof"||e==="throw"?(this.word(e),this.space()):this.token(e),this.print(t.argument)}function J9(t){t.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(t.body)}function X9(t){this.tokenChar(40);let e=this.enterDelimited();this.print(t.expression),e(),this.rightParens(t)}function H9(t){t.prefix?(this.token(t.operator),this.print(t.argument)):(this.print(t.argument,!0),this.token(t.operator))}function G9(t){this.print(t.test),this.space(),this.tokenChar(63),this.space(),this.print(t.consequent),this.space(),this.tokenChar(58),this.space(),this.print(t.alternate)}function Q9(t,e){if(this.word("new"),this.space(),this.print(t.callee),this.format.minified&&t.arguments.length===0&&!t.optional&&!V9(e,{callee:t})&&!Zp(e)&&!W9(e)||(this.print(t.typeArguments),this.print(t.typeParameters),t.optional&&this.token("?."),t.arguments.length===0&&this.tokenMap&&!this.tokenMap.endMatches(t,")")))return;this.tokenChar(40);let i=this.enterDelimited();this.printList(t.arguments,this.shouldPrintTrailingComma(")")),i(),this.rightParens(t)}function Z9(t){this.printList(t.expressions)}function e7(){this.word("this")}function t7(){this.word("super")}function i7(t){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof t.start=="number"&&t.start===t.declaration.start}function r7(t){this.tokenChar(64),this.print(t.expression),this.newline()}function s7(t){let{computed:e}=t,{optional:i,property:r}=t;if(this.print(t.object),!e&&Zp(r))throw new TypeError("Got a MemberExpression for MemberExpression property");bT(r)&&typeof r.value=="number"&&(e=!0),i&&this.token("?."),e?(this.tokenChar(91),this.print(r),this.tokenChar(93)):(i||this.tokenChar(46),this.print(r))}function n7(t){this.print(t.callee),this.print(t.typeParameters),t.optional&&this.token("?."),this.print(t.typeArguments),this.tokenChar(40);let e=this.enterDelimited();this.printList(t.arguments),e(),this.rightParens(t)}function a7(t){this.print(t.callee),this.print(t.typeArguments),this.print(t.typeParameters),this.tokenChar(40);let e=this.enterDelimited();this.printList(t.arguments,this.shouldPrintTrailingComma(")")),e(),this.rightParens(t)}function o7(){this.word("import")}function l7(t){this.word("await"),this.space(),this.print(t.argument)}function c7(t){t.delegate?(this.word("yield",!0),this.tokenChar(42),t.argument&&(this.space(),this.print(t.argument))):t.argument?(this.word("yield",!0),this.space(),this.print(t.argument)):this.word("yield")}function u7(){this.semicolon(!0)}function p7(t){this.tokenContext|=K9.TokenContext.expressionStatement,this.print(t.expression),this.semicolon()}function f7(t){this.print(t.left),(t.left.type==="Identifier"||Y9(t.left))&&(t.left.optional&&this.tokenChar(63),this.print(t.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(t.right)}function h7(t){this.print(t.left),this.space(),t.operator==="in"||t.operator==="instanceof"?this.word(t.operator):(this.token(t.operator),this._endsWithDiv=t.operator==="/"),this.space(),this.print(t.right)}function d7(t){this.print(t.object),this.token("::"),this.print(t.callee)}function m7(t){if(this.print(t.object),!t.computed&&Zp(t.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let e=t.computed;if(bT(t.property)&&typeof t.property.value=="number"&&(e=!0),e){let i=this.enterDelimited();this.tokenChar(91),this.print(t.property),this.tokenChar(93),i()}else this.tokenChar(46),this.print(t.property)}function y7(t){this.print(t.meta),this.tokenChar(46),this.print(t.property)}function T7(t){this.tokenChar(35),this.print(t.id)}function g7(t){this.tokenChar(37),this.word(t.name)}function x7(t){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:e}=t;(e.body.length||e.directives.length)&&this.newline(),this.print(e),this.dedent(),this.rightBrace(t)}});var AT=_(nt=>{"use strict";Object.defineProperty(nt,"__esModule",{value:!0});nt.BreakStatement=k7;nt.CatchClause=M7;nt.ContinueStatement=_7;nt.DebuggerStatement=j7;nt.DoWhileStatement=I7;nt.ForOfStatement=nt.ForInStatement=void 0;nt.ForStatement=w7;nt.IfStatement=A7;nt.LabeledStatement=D7;nt.ReturnStatement=O7;nt.SwitchCase=B7;nt.SwitchStatement=F7;nt.ThrowStatement=N7;nt.TryStatement=L7;nt.VariableDeclaration=R7;nt.VariableDeclarator=q7;nt.WhileStatement=C7;nt.WithStatement=v7;var b7=be(),{isFor:ET,isForStatement:S7,isIfStatement:E7,isStatement:P7}=b7;function v7(t){this.word("with"),this.space(),this.tokenChar(40),this.print(t.object),this.tokenChar(41),this.printBlock(t)}function A7(t){this.word("if"),this.space(),this.tokenChar(40),this.print(t.test),this.tokenChar(41),this.space();let e=t.alternate&&E7(PT(t.consequent));e&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(t.consequent),e&&(this.dedent(),this.newline(),this.tokenChar(125)),t.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(t.alternate))}function PT(t){let{body:e}=t;return P7(e)===!1?t:PT(e)}function w7(t){this.word("for"),this.space(),this.tokenChar(40);{let e=this.enterForStatementInit();this.print(t.init),e()}this.tokenChar(59),t.test&&(this.space(),this.print(t.test)),this.token(";",!1,1),t.update&&(this.space(),this.print(t.update)),this.tokenChar(41),this.printBlock(t)}function C7(t){this.word("while"),this.space(),this.tokenChar(40),this.print(t.test),this.tokenChar(41),this.printBlock(t)}function vT(t){this.word("for"),this.space();let e=t.type==="ForOfStatement";e&&t.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40);{let i=this.enterForXStatementInit(e);this.print(t.left),i?.()}this.space(),this.word(e?"of":"in"),this.space(),this.print(t.right),this.tokenChar(41),this.printBlock(t)}var Dae=nt.ForInStatement=vT,Lae=nt.ForOfStatement=vT;function I7(t){this.word("do"),this.space(),this.print(t.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(t.test),this.tokenChar(41),this.semicolon()}function Co(t,e){e&&(t.space(),t.printTerminatorless(e)),t.semicolon()}function k7(t){this.word("break"),Co(this,t.label)}function _7(t){this.word("continue"),Co(this,t.label)}function O7(t){this.word("return"),Co(this,t.argument)}function N7(t){this.word("throw"),Co(this,t.argument)}function D7(t){this.print(t.label),this.tokenChar(58),this.space(),this.print(t.body)}function L7(t){this.word("try"),this.space(),this.print(t.block),this.space(),t.handlers?this.print(t.handlers[0]):this.print(t.handler),t.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(t.finalizer))}function M7(t){this.word("catch"),this.space(),t.param&&(this.tokenChar(40),this.print(t.param),this.print(t.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(t.body)}function F7(t){this.word("switch"),this.space(),this.tokenChar(40),this.print(t.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(t.cases,!0,void 0,function(i,r){if(!i&&t.cases[t.cases.length-1]===r)return-1}),this.rightBrace(t)}function B7(t){t.test?(this.word("case"),this.space(),this.print(t.test),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),t.consequent.length&&(this.newline(),this.printSequence(t.consequent,!0))}function j7(){this.word("debugger"),this.semicolon()}function R7(t,e){t.declare&&(this.word("declare"),this.space());let{kind:i}=t;i==="await using"?(this.word("await"),this.space(),this.word("using",!0)):this.word(i,i==="using"),this.space();let r=!1;if(!ET(e))for(let s of t.declarations)s.init&&(r=!0);if(this.printList(t.declarations,void 0,void 0,t.declarations.length>1,r?function(s){this.token(",",!1,s),this.newline()}:void 0),ET(e)){if(S7(e)){if(e.init===t)return}else if(e.left===t)return}this.semicolon()}function q7(t){this.print(t.id),t.definite&&this.tokenChar(33),this.print(t.id.typeAnnotation),t.init&&(this.space(),this.tokenChar(61),this.space(),this.print(t.init))}});var wT=_(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.ClassAccessorProperty=J7;ai.ClassBody=W7;ai.ClassExpression=ai.ClassDeclaration=V7;ai.ClassMethod=H7;ai.ClassPrivateMethod=G7;ai.ClassPrivateProperty=X7;ai.ClassProperty=z7;ai.StaticBlock=Z7;ai._classMethodHead=Q7;var $7=be(),{isExportDefaultDeclaration:U7,isExportNamedDeclaration:K7}=$7;function V7(t,e){(!(U7(e)||K7(e))||!this._shouldPrintDecoratorsBeforeExport(e))&&this.printJoin(t.decorators),t.declare&&(this.word("declare"),this.space()),t.abstract&&(this.word("abstract"),this.space()),this.word("class"),t.id&&(this.space(),this.print(t.id)),this.print(t.typeParameters),t.superClass&&(this.space(),this.word("extends"),this.space(),this.print(t.superClass),this.print(t.superTypeParameters)),t.implements&&(this.space(),this.word("implements"),this.space(),this.printList(t.implements)),this.space(),this.print(t.body)}function W7(t){if(this.tokenChar(123),t.body.length===0)this.tokenChar(125);else{this.newline();let e=Y7(this,t);e?.(-1);let i=this.enterDelimited();this.printJoin(t.body,!0,!0,e,!0),i(),this.endsWith(10)||this.newline(),this.rightBrace(t)}}function Y7(t,e){if(!t.tokenMap||e.start==null||e.end==null)return null;let i=t.tokenMap.getIndexes(e);if(!i)return null;let r=1,s=0,n=0,a=()=>{for(;n<e.body.length&&e.body[n].start==null;)n++};return a(),l=>{n<=l&&(n=l+1,a());let c=n===e.body.length?e.end:e.body[n].start,o;for(;r<i.length&&t.tokenMap.matchesOriginal(o=t._tokens[i[r]],";")&&o.start<c;)t.token(";",void 0,s++),r++}}function z7(t){if(this.printJoin(t.decorators),!t.static&&!this.format.preserveFormat){var e;let i=(e=t.key.loc)==null||(e=e.end)==null?void 0:e.line;i&&this.catchUp(i)}this.tsPrintClassMemberModifiers(t),t.computed?(this.tokenChar(91),this.print(t.key),this.tokenChar(93)):(this._variance(t),this.print(t.key)),t.optional&&this.tokenChar(63),t.definite&&this.tokenChar(33),this.print(t.typeAnnotation),t.value&&(this.space(),this.tokenChar(61),this.space(),this.print(t.value)),this.semicolon()}function J7(t){var e;this.printJoin(t.decorators);let i=(e=t.key.loc)==null||(e=e.end)==null?void 0:e.line;i&&this.catchUp(i),this.tsPrintClassMemberModifiers(t),this.word("accessor",!0),this.space(),t.computed?(this.tokenChar(91),this.print(t.key),this.tokenChar(93)):(this._variance(t),this.print(t.key)),t.optional&&this.tokenChar(63),t.definite&&this.tokenChar(33),this.print(t.typeAnnotation),t.value&&(this.space(),this.tokenChar(61),this.space(),this.print(t.value)),this.semicolon()}function X7(t){this.printJoin(t.decorators),this.tsPrintClassMemberModifiers(t),this.print(t.key),t.optional&&this.tokenChar(63),t.definite&&this.tokenChar(33),this.print(t.typeAnnotation),t.value&&(this.space(),this.tokenChar(61),this.space(),this.print(t.value)),this.semicolon()}function H7(t){this._classMethodHead(t),this.space(),this.print(t.body)}function G7(t){this._classMethodHead(t),this.space(),this.print(t.body)}function Q7(t){if(this.printJoin(t.decorators),!this.format.preserveFormat){var e;let i=(e=t.key.loc)==null||(e=e.end)==null?void 0:e.line;i&&this.catchUp(i)}this.tsPrintClassMemberModifiers(t),this._methodHead(t)}function Z7(t){this.word("static"),this.space(),this.tokenChar(123),t.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(t.body,!0),this.rightBrace(t))}});var CT=_(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.ArrowFunctionExpression=uq;oi.FunctionDeclaration=oi.FunctionExpression=cq;oi._functionHead=lq;oi._methodHead=aq;oi._param=nq;oi._parameters=sq;oi._params=rq;oi._predicate=oq;oi._shouldPrintArrowParamsParens=pq;var eq=be(),tq=Ur(),{isIdentifier:iq}=eq;function rq(t,e,i){this.print(t.typeParameters);let r=fq.call(this,e,i);r&&this.sourceIdentifierName(r.name,r.pos),this.tokenChar(40),this._parameters(t.params,")");let s=t.type==="ArrowFunctionExpression";this.print(t.returnType,s),this._noLineTerminator=s}function sq(t,e){let i=this.enterDelimited(),r=this.shouldPrintTrailingComma(e),s=t.length;for(let n=0;n<s;n++)this._param(t[n]),(r||n<s-1)&&(this.token(",",null,n),this.space());this.token(e),i()}function nq(t){this.printJoin(t.decorators),this.print(t),t.optional&&this.tokenChar(63),this.print(t.typeAnnotation)}function aq(t){let e=t.kind,i=t.key;(e==="get"||e==="set")&&(this.word(e),this.space()),t.async&&(this.word("async",!0),this.space()),(e==="method"||e==="init")&&t.generator&&this.tokenChar(42),t.computed?(this.tokenChar(91),this.print(i),this.tokenChar(93)):this.print(i),t.optional&&this.tokenChar(63),this._params(t,t.computed&&t.key.type!=="StringLiteral"?void 0:t.key,void 0)}function oq(t,e){t.predicate&&(t.returnType||this.tokenChar(58),this.space(),this.print(t.predicate,e))}function lq(t,e){t.async&&(this.word("async"),this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.space()),this.word("function"),t.generator&&(this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.tokenChar(42)),this.space(),t.id&&this.print(t.id),this._params(t,t.id,e),t.type!=="TSDeclareFunction"&&this._predicate(t)}function cq(t,e){this._functionHead(t,e),this.space(),this.print(t.body)}function uq(t,e){t.async&&(this.word("async",!0),this.space()),this._shouldPrintArrowParamsParens(t)?this._params(t,void 0,e):this.print(t.params[0],!0),this._predicate(t,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=tq.TokenContext.arrowBody,this.print(t.body)}function pq(t){var e,i;if(t.params.length!==1||t.typeParameters||t.returnType||t.predicate)return!0;let r=t.params[0];if(!iq(r)||r.typeAnnotation||r.optional||(e=r.leadingComments)!=null&&e.length||(i=r.trailingComments)!=null&&i.length)return!0;if(this.tokenMap){if(t.loc==null||this.tokenMap.findMatching(t,"(")!==null)return!0;let s=this.tokenMap.findMatching(t,"=>");return s?.loc==null?!0:s.loc.start.line!==t.loc.start.line}return!!this.format.retainLines}function fq(t,e){let i=t;if(!i&&e){let c=e.type;c==="VariableDeclarator"?i=e.id:c==="AssignmentExpression"||c==="AssignmentPattern"?i=e.left:c==="ObjectProperty"||c==="ClassProperty"?(!e.computed||e.key.type==="StringLiteral")&&(i=e.key):(c==="ClassPrivateProperty"||c==="ClassAccessorProperty")&&(i=e.key)}if(!i)return;let r;if(i.type==="Identifier"){var s,n;r={pos:(s=i.loc)==null?void 0:s.start,name:((n=i.loc)==null?void 0:n.identifierName)||i.name}}else if(i.type==="PrivateName"){var a;r={pos:(a=i.loc)==null?void 0:a.start,name:"#"+i.id.name}}else if(i.type==="StringLiteral"){var l;r={pos:(l=i.loc)==null?void 0:l.start,name:i.value}}return r}});var ef=_(Bt=>{"use strict";Object.defineProperty(Bt,"__esModule",{value:!0});Bt.ExportAllDeclaration=wq;Bt.ExportDefaultDeclaration=Iq;Bt.ExportDefaultSpecifier=Eq;Bt.ExportNamedDeclaration=Cq;Bt.ExportNamespaceSpecifier=vq;Bt.ExportSpecifier=Pq;Bt.ImportAttribute=_q;Bt.ImportDeclaration=kq;Bt.ImportDefaultSpecifier=Sq;Bt.ImportExpression=Nq;Bt.ImportNamespaceSpecifier=Oq;Bt.ImportSpecifier=bq;Bt._printAttributes=Aq;var hq=be(),dq=Ur(),{isClassDeclaration:mq,isExportDefaultSpecifier:yq,isExportNamespaceSpecifier:Tq,isImportDefaultSpecifier:gq,isImportNamespaceSpecifier:xq,isStatement:kT}=hq;function bq(t){(t.importKind==="type"||t.importKind==="typeof")&&(this.word(t.importKind),this.space()),this.print(t.imported),t.local&&t.local.name!==t.imported.name&&(this.space(),this.word("as"),this.space(),this.print(t.local))}function Sq(t){this.print(t.local)}function Eq(t){this.print(t.exported)}function Pq(t){t.exportKind==="type"&&(this.word("type"),this.space()),this.print(t.local),t.exported&&t.local.name!==t.exported.name&&(this.space(),this.word("as"),this.space(),this.print(t.exported))}function vq(t){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(t.exported)}var IT=!1;function Aq(t,e){var i;let{importAttributesKeyword:r}=this.format,{attributes:s,assertions:n}=t;s&&!r&&t.extra&&(t.extra.deprecatedAssertSyntax||t.extra.deprecatedWithLegacySyntax)&&!IT&&(IT=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));let a=r==="assert"||!r&&n;if(this.word(a?"assert":"with"),this.space(),!a&&(r==="with-legacy"||!r&&(i=t.extra)!=null&&i.deprecatedWithLegacySyntax)){this.printList(s||n);return}let l=e?1:0;this.token("{",null,l),this.space(),this.printList(s||n,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",null,l)}function wq(t){var e,i;this.word("export"),this.space(),t.exportKind==="type"&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),(e=t.attributes)!=null&&e.length||(i=t.assertions)!=null&&i.length?(this.print(t.source,!0),this.space(),this._printAttributes(t,!1)):this.print(t.source),this.semicolon()}function _T(t,e){mq(e.declaration)&&t._shouldPrintDecoratorsBeforeExport(e)&&t.printJoin(e.declaration.decorators)}function Cq(t){if(_T(this,t),this.word("export"),this.space(),t.declaration){let r=t.declaration;this.print(r),kT(r)||this.semicolon()}else{t.exportKind==="type"&&(this.word("type"),this.space());let r=t.specifiers.slice(0),s=!1;for(;;){let a=r[0];if(yq(a)||Tq(a))s=!0,this.print(r.shift()),r.length&&(this.tokenChar(44),this.space());else break}let n=!1;if((r.length||!r.length&&!s)&&(n=!0,this.tokenChar(123),r.length&&(this.space(),this.printList(r,this.shouldPrintTrailingComma("}")),this.space()),this.tokenChar(125)),t.source){var e,i;this.space(),this.word("from"),this.space(),(e=t.attributes)!=null&&e.length||(i=t.assertions)!=null&&i.length?(this.print(t.source,!0),this.space(),this._printAttributes(t,n)):this.print(t.source)}this.semicolon()}}function Iq(t){_T(this,t),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=dq.TokenContext.exportDefault;let e=t.declaration;this.print(e),kT(e)||this.semicolon()}function kq(t){var e,i;this.word("import"),this.space();let r=t.importKind==="type"||t.importKind==="typeof";r?(this.noIndentInnerCommentsHere(),this.word(t.importKind),this.space()):t.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):t.phase&&(this.noIndentInnerCommentsHere(),this.word(t.phase),this.space());let s=t.specifiers.slice(0),n=!!s.length;for(;n;){let l=s[0];if(gq(l)||xq(l))this.print(s.shift()),s.length&&(this.tokenChar(44),this.space());else break}let a=!1;s.length?(a=!0,this.tokenChar(123),this.space(),this.printList(s,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125)):r&&!n&&(a=!0,this.tokenChar(123),this.tokenChar(125)),(n||r)&&(this.space(),this.word("from"),this.space()),(e=t.attributes)!=null&&e.length||(i=t.assertions)!=null&&i.length?(this.print(t.source,!0),this.space(),this._printAttributes(t,a)):this.print(t.source),this.semicolon()}function _q(t){this.print(t.key),this.tokenChar(58),this.space(),this.print(t.value)}function Oq(t){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(t.local)}function Nq(t){this.word("import"),t.phase&&(this.tokenChar(46),this.word(t.phase)),this.tokenChar(40);let e=this.shouldPrintTrailingComma(")");this.print(t.source),t.options!=null&&(this.tokenChar(44),this.space(),this.print(t.options)),e&&this.tokenChar(44),this.rightParens(t)}});var LT=_((Rae,DT)=>{"use strict";var OT={},Dq=OT.hasOwnProperty,NT=(t,e)=>{for(let i in t)Dq.call(t,i)&&e(i,t[i])},Lq=(t,e)=>(e&&NT(e,(i,r)=>{t[i]=r}),t),Mq=(t,e)=>{let i=t.length,r=-1;for(;++r<i;)e(t[r])},Io=t=>"\\u"+("0000"+t).slice(-4),Nn=(t,e)=>{let i=t.toString(16);return e?i:i.toUpperCase()},Dn=OT.toString,Fq=Array.isArray,Bq=t=>typeof Buffer=="function"&&Buffer.isBuffer(t),jq=t=>Dn.call(t)=="[object Object]",Rq=t=>typeof t=="string"||Dn.call(t)=="[object String]",qq=t=>typeof t=="number"||Dn.call(t)=="[object Number]",tf=t=>typeof t=="bigint",$q=t=>typeof t=="function",Uq=t=>Dn.call(t)=="[object Map]",Kq=t=>Dn.call(t)=="[object Set]",Vq={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},Wq=/[\\\b\f\n\r\t]/,Yq=/[0-9]/,zq=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Jq=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,Xq=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,pr=(t,e)=>{let i=()=>{o=c,++e.indentLevel,c=e.indent.repeat(e.indentLevel)},r={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},s=e&&e.json;s&&(r.quotes="double",r.wrap=!0),e=Lq(r,e),e.quotes!="single"&&e.quotes!="double"&&e.quotes!="backtick"&&(e.quotes="single");let n=e.quotes=="double"?'"':e.quotes=="backtick"?"`":"'",a=e.compact,l=e.lowercaseHex,c=e.indent.repeat(e.indentLevel),o="",u=e.__inline1__,f=e.__inline2__,d=a?"":`
|
|
24
|
+
`,d);n.column+=s-d}_mark(e,i,r,s,n){var a;(a=this._map)==null||a.mark(this._position,e,i,r,s,n)}removeTrailingNewline(){let e=this._queueCursor;e!==0&&this._queue[e-1].char===10&&this._queueCursor--}removeLastSemicolon(){let e=this._queueCursor;e!==0&&this._queue[e-1].char===59&&this._queueCursor--}getLastChar(){let e=this._queueCursor;return e!==0?this._queue[e-1].char:this._last}getNewlineCount(){let e=this._queueCursor,i=0;if(e===0)return this._last===10?1:0;for(let r=e-1;r>=0&&this._queue[r].char===10;r--)i++;return i===e&&this._last===10?i+1:i}endsWithCharAndNewline(){let e=this._queue,i=this._queueCursor;if(i!==0)return e[i-1].char!==10?void 0:i>1?e[i-2].char:this._last}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(e,i){if(!this._map){i();return}this.source("start",e);let r=e.identifierName,s=this._sourcePosition;r&&(this._canMarkIdName=!1,s.identifierName=r),i(),r&&(this._canMarkIdName=!0,s.identifierName=void 0,s.identifierNamePos=void 0),this.source("end",e)}source(e,i){this._map&&this._normalizePosition(e,i,0)}sourceWithOffset(e,i,r){this._map&&this._normalizePosition(e,i,r)}_normalizePosition(e,i,r){let s=i[e],n=this._sourcePosition;s&&(n.line=s.line,n.column=Math.max(s.column+r,0),n.filename=i.filename)}getCurrentColumn(){let e=this._queue,i=this._queueCursor,r=-1,s=0;for(let n=0;n<i;n++){let a=e[n];a.char===10&&(r=s),s+=a.repeat}return r===-1?this._position.column+s:s-1-r}getCurrentLine(){let e=0,i=this._queue;for(let r=0;r<this._queueCursor;r++)i[r].char===10&&e++;return this._position.line+e}};So.default=zp});var aT=_(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.nodes=void 0;var I5=be(),{FLIPPED_ALIAS_KEYS:k5,isArrayExpression:_5,isAssignmentExpression:rT,isBinary:sT,isBlockStatement:O5,isCallExpression:nT,isFunction:On,isIdentifier:Eo,isLiteral:N5,isMemberExpression:Jp,isObjectExpression:D5,isOptionalCallExpression:L5,isOptionalMemberExpression:M5,isStringLiteral:F5}=I5;function Ps(t,e){return t&&(Jp(t)||M5(t)?(Ps(t.object,e),t.computed&&Ps(t.property,e)):sT(t)||rT(t)?(Ps(t.left,e),Ps(t.right,e)):nT(t)||L5(t)?(e.hasCall=!0,Ps(t.callee,e)):On(t)?e.hasFunction=!0:Eo(t)&&(e.hasHelper=e.hasHelper||t.callee&&Wi(t.callee))),e}function iT(t){return Ps(t,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function Wi(t){return t?Jp(t)?Wi(t.object)||Wi(t.property):Eo(t)?t.name==="require"||t.name.charCodeAt(0)===95:nT(t)?Wi(t.callee):sT(t)||rT(t)?Eo(t.left)&&Wi(t.left)||Wi(t.right):!1:!1}function B5(t){return N5(t)||D5(t)||_5(t)||Eo(t)||Jp(t)}var $r=Po.nodes={AssignmentExpression(t){let e=iT(t.right);if(e.hasCall&&e.hasHelper||e.hasFunction)return e.hasFunction?3:2},SwitchCase(t,e){return(t.consequent.length||e.cases[0]===t?1:0)|(!t.consequent.length&&e.cases[e.cases.length-1]===t?2:0)},LogicalExpression(t){if(On(t.left)||On(t.right))return 2},Literal(t){if(F5(t)&&t.value==="use strict")return 2},CallExpression(t){if(On(t.callee)||Wi(t))return 3},OptionalCallExpression(t){if(On(t.callee))return 3},VariableDeclaration(t){for(let e=0;e<t.declarations.length;e++){let i=t.declarations[e],r=Wi(i.id)&&!B5(i.init);if(!r&&i.init){let s=iT(i.init);r=Wi(i.init)&&s.hasCall||s.hasFunction}if(r)return 3}},IfStatement(t){if(O5(t.consequent))return 3}};$r.ObjectProperty=$r.ObjectTypeProperty=$r.ObjectMethod=function(t,e){if(e.properties[0]===t)return 1};$r.ObjectTypeCallProperty=function(t,e){var i;if(e.callProperties[0]===t&&!((i=e.properties)!=null&&i.length))return 1};$r.ObjectTypeIndexer=function(t,e){var i,r;if(e.indexers[0]===t&&!((i=e.properties)!=null&&i.length)&&!((r=e.callProperties)!=null&&r.length))return 1};$r.ObjectTypeInternalSlot=function(t,e){var i,r,s;if(e.internalSlots[0]===t&&!((i=e.properties)!=null&&i.length)&&!((r=e.callProperties)!=null&&r.length)&&!((s=e.indexers)!=null&&s.length))return 1};[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([t,e]){[t].concat(k5[t]||[]).forEach(function(i){let r=e?3:0;$r[i]=()=>r})})});var dT=_(Ce=>{"use strict";Object.defineProperty(Ce,"__esModule",{value:!0});Ce.AssignmentExpression=m8;Ce.Binary=pT;Ce.BinaryExpression=c8;Ce.ClassExpression=f8;Ce.ArrowFunctionExpression=Ce.ConditionalExpression=hT;Ce.DoExpression=Q5;Ce.FunctionExpression=h8;Ce.FunctionTypeAnnotation=X5;Ce.Identifier=T8;Ce.LogicalExpression=y8;Ce.NullableTypeAnnotation=J5;Ce.ObjectExpression=G5;Ce.OptionalIndexedAccessType=e8;Ce.OptionalCallExpression=Ce.OptionalMemberExpression=d8;Ce.SequenceExpression=u8;Ce.TSSatisfiesExpression=Ce.TSAsExpression=t8;Ce.TSConditionalType=i8;Ce.TSConstructorType=Ce.TSFunctionType=l8;Ce.TSInferType=n8;Ce.TSInstantiationExpression=o8;Ce.TSIntersectionType=s8;Ce.UnaryLike=Ce.TSTypeAssertion=fT;Ce.TSTypeOperator=a8;Ce.TSUnionType=r8;Ce.IntersectionTypeAnnotation=Ce.UnionTypeAnnotation=Z5;Ce.UpdateExpression=H5;Ce.AwaitExpression=Ce.YieldExpression=p8;var j5=be(),Qt=Ur(),{isArrayTypeAnnotation:R5,isBinaryExpression:q5,isCallExpression:$5,isForOfStatement:U5,isIndexedAccessType:K5,isMemberExpression:cT,isObjectPattern:V5,isOptionalMemberExpression:W5,isYieldExpression:Y5,isStatement:z5}=j5,oT=new Map([["||",0],["??",0],["|>",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function lT(t,e){if(e==="BinaryExpression"||e==="LogicalExpression")return oT.get(t.operator);if(e==="TSAsExpression"||e==="TSSatisfiesExpression")return oT.get("in")}function Xp(t){return t==="TSAsExpression"||t==="TSSatisfiesExpression"||t==="TSTypeAssertion"}var vo=(t,e)=>{let i=e.type;return(i==="ClassDeclaration"||i==="ClassExpression")&&e.superClass===t},Ao=(t,e)=>{let i=e.type;return(i==="MemberExpression"||i==="OptionalMemberExpression")&&e.object===t||(i==="CallExpression"||i==="OptionalCallExpression"||i==="NewExpression")&&e.callee===t||i==="TaggedTemplateExpression"&&e.tag===t||i==="TSNonNullExpression"};function J5(t,e){return R5(e)}function X5(t,e,i){let r=e.type;return r==="UnionTypeAnnotation"||r==="IntersectionTypeAnnotation"||r==="ArrayTypeAnnotation"||!!(i&Qt.TokenContext.arrowFlowReturnType)}function H5(t,e){return Ao(t,e)||vo(t,e)}function uT(t){return!!(t&(Qt.TokenContext.expressionStatement|Qt.TokenContext.arrowBody))}function G5(t,e,i){return uT(i)}function Q5(t,e,i){return!t.async&&!!(i&Qt.TokenContext.expressionStatement)}function pT(t,e){let i=e.type;if(t.type==="BinaryExpression"&&t.operator==="**"&&i==="BinaryExpression"&&e.operator==="**")return e.left===t;if(vo(t,e)||Ao(t,e)||i==="UnaryExpression"||i==="SpreadElement"||i==="AwaitExpression")return!0;let r=lT(e,i);if(r!=null){let s=lT(t,t.type);if(r===s&&i==="BinaryExpression"&&e.right===t||r>s)return!0}}function Z5(t,e){let i=e.type;return i==="ArrayTypeAnnotation"||i==="NullableTypeAnnotation"||i==="IntersectionTypeAnnotation"||i==="UnionTypeAnnotation"}function e8(t,e){return K5(e)&&e.objectType===t}function t8(t,e){return(e.type==="AssignmentExpression"||e.type==="AssignmentPattern")&&e.left===t||e.type==="BinaryExpression"&&(e.operator==="|"||e.operator==="&")&&t===e.left?!0:pT(t,e)}function i8(t,e){let i=e.type;return i==="TSArrayType"||i==="TSIndexedAccessType"&&e.objectType===t||i==="TSOptionalType"||i==="TSTypeOperator"||i==="TSTypeParameter"||(i==="TSIntersectionType"||i==="TSUnionType")&&e.types[0]===t||i==="TSConditionalType"&&(e.checkType===t||e.extendsType===t)}function r8(t,e){let i=e.type;return i==="TSIntersectionType"||i==="TSTypeOperator"||i==="TSArrayType"||i==="TSIndexedAccessType"&&e.objectType===t||i==="TSOptionalType"}function s8(t,e){let i=e.type;return i==="TSTypeOperator"||i==="TSArrayType"||i==="TSIndexedAccessType"&&e.objectType===t||i==="TSOptionalType"}function n8(t,e){let i=e.type;return!!(i==="TSArrayType"||i==="TSIndexedAccessType"&&e.objectType===t||i==="TSOptionalType"||t.typeParameter.constraint&&(i==="TSIntersectionType"||i==="TSUnionType")&&e.types[0]===t)}function a8(t,e){let i=e.type;return i==="TSArrayType"||i==="TSIndexedAccessType"&&e.objectType===t||i==="TSOptionalType"}function o8(t,e){let i=e.type;return(i==="CallExpression"||i==="OptionalCallExpression"||i==="NewExpression"||i==="TSInstantiationExpression")&&!!e.typeParameters}function l8(t,e){let i=e.type;return i==="TSIntersectionType"||i==="TSUnionType"||i==="TSTypeOperator"||i==="TSOptionalType"||i==="TSArrayType"||i==="TSIndexedAccessType"&&e.objectType===t||i==="TSConditionalType"&&(e.checkType===t||e.extendsType===t)}function c8(t,e,i){return t.operator==="in"&&!!(i&Qt.TokenContext.forInOrInitHeadAccumulate)}function u8(t,e){let i=e.type;return i==="SequenceExpression"||i==="ParenthesizedExpression"||i==="MemberExpression"&&e.property===t||i==="OptionalMemberExpression"&&e.property===t||i==="TemplateLiteral"?!1:i==="ClassDeclaration"?!0:i==="ForOfStatement"?e.right===t:i==="ExportDefaultDeclaration"?!0:!z5(e)}function p8(t,e){let i=e.type;return i==="BinaryExpression"||i==="LogicalExpression"||i==="UnaryExpression"||i==="SpreadElement"||Ao(t,e)||i==="AwaitExpression"&&Y5(t)||i==="ConditionalExpression"&&t===e.test||vo(t,e)||Xp(i)}function f8(t,e,i){return!!(i&(Qt.TokenContext.expressionStatement|Qt.TokenContext.exportDefault))}function fT(t,e){return Ao(t,e)||q5(e)&&e.operator==="**"&&e.left===t||vo(t,e)}function h8(t,e,i){return!!(i&(Qt.TokenContext.expressionStatement|Qt.TokenContext.exportDefault))}function hT(t,e){let i=e.type;return i==="UnaryExpression"||i==="SpreadElement"||i==="BinaryExpression"||i==="LogicalExpression"||i==="ConditionalExpression"&&e.test===t||i==="AwaitExpression"||Xp(i)?!0:fT(t,e)}function d8(t,e){return $5(e)&&e.callee===t||cT(e)&&e.object===t}function m8(t,e,i){return uT(i)&&V5(t.left)?!0:hT(t,e)}function y8(t,e){let i=e.type;if(Xp(i))return!0;if(i!=="LogicalExpression")return!1;switch(t.operator){case"||":return e.operator==="??"||e.operator==="&&";case"&&":return e.operator==="??";case"??":return e.operator!=="??"}}function T8(t,e,i,r){var s;let n=e.type;if((s=t.extra)!=null&&s.parenthesized&&n==="AssignmentExpression"&&e.left===t){let a=e.right.type;if((a==="FunctionExpression"||a==="ClassExpression")&&e.right.id==null)return!0}return r&&r(t)!==t.name?!1:t.name==="let"?(cT(e,{object:t,computed:!0})||W5(e,{object:t,computed:!0,optional:!1}))&&i&(Qt.TokenContext.expressionStatement|Qt.TokenContext.forInitHead|Qt.TokenContext.forInHead)?!0:!!(i&Qt.TokenContext.forOfHead):t.name==="async"&&U5(e,{left:t,await:!1})}});var Ur=_(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});Yi.TokenContext=void 0;Yi.isLastChild=D8;Yi.needsParens=N8;Yi.needsWhitespace=Gp;Yi.needsWhitespaceAfter=O8;Yi.needsWhitespaceBefore=_8;var g8=aT(),x8=dT(),b8=be(),{FLIPPED_ALIAS_KEYS:S8,VISITOR_KEYS:E8,isCallExpression:mT,isDecorator:P8,isExpressionStatement:v8,isMemberExpression:A8,isNewExpression:w8,isParenthesizedExpression:C8}=b8,Iae=Yi.TokenContext={normal:0,expressionStatement:1,arrowBody:2,exportDefault:4,arrowFlowReturnType:8,forInitHead:16,forInHead:32,forOfHead:64,forInOrInitHeadAccumulate:128,forInOrInitHeadAccumulatePassThroughMask:128};function yT(t){let e=new Map;function i(r,s){let n=e.get(r);e.set(r,n?function(a,l,c,o){var u;return(u=n(a,l,c,o))!=null?u:s(a,l,c,o)}:s)}for(let r of Object.keys(t)){let s=S8[r];if(s)for(let n of s)i(n,t[r]);else i(r,t[r])}return e}var I8=yT(x8),k8=yT(g8.nodes);function TT(t){return mT(t)?!0:A8(t)&&TT(t.object)}function Gp(t,e,i){var r;if(!t)return!1;v8(t)&&(t=t.expression);let s=(r=k8.get(t.type))==null?void 0:r(t,e);return typeof s=="number"?(s&i)!==0:!1}function _8(t,e){return Gp(t,e,1)}function O8(t,e){return Gp(t,e,2)}function N8(t,e,i,r){var s;return e?w8(e)&&e.callee===t&&TT(t)?!0:P8(e)?!Hp(t)&&!(mT(t)&&Hp(t.callee))&&!C8(t):(s=I8.get(t.type))==null?void 0:s(t,e,i,r):!1}function Hp(t){switch(t.type){case"Identifier":return!0;case"MemberExpression":return!t.computed&&t.property.type==="Identifier"&&Hp(t.object);default:return!1}}function D8(t,e){let i=E8[t.type];for(let r=i.length-1;r>=0;r--){let s=t[i[r]];if(s===e)return!0;if(Array.isArray(s)){let n=s.length-1;for(;n>=0&&s[n]===null;)n--;return n>=0&&s[n]===e}else if(s)return!1}return!1}});var gT=_(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.TokenMap=void 0;var L8=be(),{traverseFast:M8,VISITOR_KEYS:F8}=L8,Qp=class{constructor(e,i,r){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=i,this._source=r,M8(e,s=>{let n=this._getTokensIndexesOfNode(s);n.length>0&&this._nodesToTokenIndexes.set(s,n)}),this._tokensCache=null}has(e){return this._nodesToTokenIndexes.has(e)}getIndexes(e){return this._nodesToTokenIndexes.get(e)}find(e,i){let r=this._nodesToTokenIndexes.get(e);if(r)for(let s=0;s<r.length;s++){let n=r[s],a=this._tokens[n];if(i(a,n))return a}return null}findLastIndex(e,i){let r=this._nodesToTokenIndexes.get(e);if(r)for(let s=r.length-1;s>=0;s--){let n=r[s],a=this._tokens[n];if(i(a,n))return n}return-1}findMatching(e,i,r=0){let s=this._nodesToTokenIndexes.get(e);if(s){let n=0,a=r;if(a>1){let l=this._nodesOccurrencesCountCache.get(e);l&&l.test===i&&l.count<a&&(n=l.i+1,r-=l.count+1)}for(;n<s.length;n++){let l=this._tokens[s[n]];if(this.matchesOriginal(l,i)){if(r===0)return a>0&&this._nodesOccurrencesCountCache.set(e,{test:i,count:a,i:n}),l;r--}}}return null}matchesOriginal(e,i){return e.end-e.start!==i.length?!1:e.value!=null?e.value===i:this._source.startsWith(i,e.start)}startMatches(e,i){let r=this._nodesToTokenIndexes.get(e);if(!r)return!1;let s=this._tokens[r[0]];return s.start!==e.start?!1:this.matchesOriginal(s,i)}endMatches(e,i){let r=this._nodesToTokenIndexes.get(e);if(!r)return!1;let s=this._tokens[r[r.length-1]];return s.end!==e.end?!1:this.matchesOriginal(s,i)}_getTokensIndexesOfNode(e){if(e.start==null||e.end==null)return[];let{first:i,last:r}=this._findTokensOfNode(e,0,this._tokens.length-1),s=i,n=B8(e);(e.type==="ExportNamedDeclaration"||e.type==="ExportDefaultDeclaration")&&e.declaration&&e.declaration.type==="ClassDeclaration"&&n.next();let a=[];for(let l of n){if(l==null||l.start==null||l.end==null)continue;let c=this._findTokensOfNode(l,s,r),o=c.first;for(let u=s;u<o;u++)a.push(u);s=c.last+1}for(let l=s;l<=r;l++)a.push(l);return a}_findTokensOfNode(e,i,r){let s=this._tokensCache.get(e);if(s)return s;let n=this._findFirstTokenOfNode(e.start,i,r),a=this._findLastTokenOfNode(e.end,n,r);return this._tokensCache.set(e,{first:n,last:a}),{first:n,last:a}}_findFirstTokenOfNode(e,i,r){for(;i<=r;){let s=r+i>>1;if(e<this._tokens[s].start)r=s-1;else if(e>this._tokens[s].start)i=s+1;else return s}return i}_findLastTokenOfNode(e,i,r){for(;i<=r;){let s=r+i>>1;if(e<this._tokens[s].end)r=s-1;else if(e>this._tokens[s].end)i=s+1;else return s}return r}};wo.TokenMap=Qp;function*B8(t){if(t.type==="TemplateLiteral"){yield t.quasis[0];for(let i=1;i<t.quasis.length;i++)yield t.expressions[i-1],yield t.quasis[i];return}let e=F8[t.type];for(let i of e){let r=t[i];r&&(Array.isArray(r)?yield*r:yield r)}}});var xT=_(vs=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});vs.TaggedTemplateExpression=j8;vs.TemplateElement=R8;vs.TemplateLiteral=$8;vs._printTemplate=q8;function j8(t){this.print(t.tag),this.print(t.typeParameters),this.print(t.quasi)}function R8(){throw new Error("TemplateElement printing is handled in TemplateLiteral")}function q8(t,e){let i=t.quasis,r="`";for(let s=0;s<i.length-1;s++)if(r+=i[s].value.raw,this.token(r+"${",!0),this.print(e[s]),r="}",this.tokenMap){let n=this.tokenMap.findMatching(t,"}",s);n&&this._catchUpTo(n.loc.start)}r+=i[i.length-1].value.raw,this.token(r+"`",!0)}function $8(t){this._printTemplate(t,t.expressions)}});var ST=_($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.LogicalExpression=$e.BinaryExpression=$e.AssignmentExpression=h7;$e.AssignmentPattern=f7;$e.AwaitExpression=l7;$e.BindExpression=d7;$e.CallExpression=a7;$e.ConditionalExpression=G8;$e.Decorator=r7;$e.DoExpression=J8;$e.EmptyStatement=u7;$e.ExpressionStatement=p7;$e.Import=o7;$e.MemberExpression=m7;$e.MetaProperty=y7;$e.ModuleExpression=x7;$e.NewExpression=Q8;$e.OptionalCallExpression=n7;$e.OptionalMemberExpression=s7;$e.ParenthesizedExpression=X8;$e.PrivateName=T7;$e.SequenceExpression=Z8;$e.Super=t7;$e.ThisExpression=e7;$e.UnaryExpression=z8;$e.UpdateExpression=H8;$e.V8IntrinsicIdentifier=g7;$e.YieldExpression=c7;$e._shouldPrintDecoratorsBeforeExport=i7;var U8=be(),K8=Ur(),{isCallExpression:V8,isLiteral:bT,isMemberExpression:Zp,isNewExpression:W8,isPattern:Y8}=U8;function z8(t){let{operator:e}=t;e==="void"||e==="delete"||e==="typeof"||e==="throw"?(this.word(e),this.space()):this.token(e),this.print(t.argument)}function J8(t){t.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(t.body)}function X8(t){this.tokenChar(40);let e=this.enterDelimited();this.print(t.expression),e(),this.rightParens(t)}function H8(t){t.prefix?(this.token(t.operator),this.print(t.argument)):(this.print(t.argument,!0),this.token(t.operator))}function G8(t){this.print(t.test),this.space(),this.tokenChar(63),this.space(),this.print(t.consequent),this.space(),this.tokenChar(58),this.space(),this.print(t.alternate)}function Q8(t,e){if(this.word("new"),this.space(),this.print(t.callee),this.format.minified&&t.arguments.length===0&&!t.optional&&!V8(e,{callee:t})&&!Zp(e)&&!W8(e)||(this.print(t.typeArguments),this.print(t.typeParameters),t.optional&&this.token("?."),t.arguments.length===0&&this.tokenMap&&!this.tokenMap.endMatches(t,")")))return;this.tokenChar(40);let i=this.enterDelimited();this.printList(t.arguments,this.shouldPrintTrailingComma(")")),i(),this.rightParens(t)}function Z8(t){this.printList(t.expressions)}function e7(){this.word("this")}function t7(){this.word("super")}function i7(t){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof t.start=="number"&&t.start===t.declaration.start}function r7(t){this.tokenChar(64),this.print(t.expression),this.newline()}function s7(t){let{computed:e}=t,{optional:i,property:r}=t;if(this.print(t.object),!e&&Zp(r))throw new TypeError("Got a MemberExpression for MemberExpression property");bT(r)&&typeof r.value=="number"&&(e=!0),i&&this.token("?."),e?(this.tokenChar(91),this.print(r),this.tokenChar(93)):(i||this.tokenChar(46),this.print(r))}function n7(t){this.print(t.callee),this.print(t.typeParameters),t.optional&&this.token("?."),this.print(t.typeArguments),this.tokenChar(40);let e=this.enterDelimited();this.printList(t.arguments),e(),this.rightParens(t)}function a7(t){this.print(t.callee),this.print(t.typeArguments),this.print(t.typeParameters),this.tokenChar(40);let e=this.enterDelimited();this.printList(t.arguments,this.shouldPrintTrailingComma(")")),e(),this.rightParens(t)}function o7(){this.word("import")}function l7(t){this.word("await"),this.space(),this.print(t.argument)}function c7(t){t.delegate?(this.word("yield",!0),this.tokenChar(42),t.argument&&(this.space(),this.print(t.argument))):t.argument?(this.word("yield",!0),this.space(),this.print(t.argument)):this.word("yield")}function u7(){this.semicolon(!0)}function p7(t){this.tokenContext|=K8.TokenContext.expressionStatement,this.print(t.expression),this.semicolon()}function f7(t){this.print(t.left),(t.left.type==="Identifier"||Y8(t.left))&&(t.left.optional&&this.tokenChar(63),this.print(t.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(t.right)}function h7(t){this.print(t.left),this.space(),t.operator==="in"||t.operator==="instanceof"?this.word(t.operator):(this.token(t.operator),this._endsWithDiv=t.operator==="/"),this.space(),this.print(t.right)}function d7(t){this.print(t.object),this.token("::"),this.print(t.callee)}function m7(t){if(this.print(t.object),!t.computed&&Zp(t.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let e=t.computed;if(bT(t.property)&&typeof t.property.value=="number"&&(e=!0),e){let i=this.enterDelimited();this.tokenChar(91),this.print(t.property),this.tokenChar(93),i()}else this.tokenChar(46),this.print(t.property)}function y7(t){this.print(t.meta),this.tokenChar(46),this.print(t.property)}function T7(t){this.tokenChar(35),this.print(t.id)}function g7(t){this.tokenChar(37),this.word(t.name)}function x7(t){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:e}=t;(e.body.length||e.directives.length)&&this.newline(),this.print(e),this.dedent(),this.rightBrace(t)}});var AT=_(nt=>{"use strict";Object.defineProperty(nt,"__esModule",{value:!0});nt.BreakStatement=k7;nt.CatchClause=M7;nt.ContinueStatement=_7;nt.DebuggerStatement=j7;nt.DoWhileStatement=I7;nt.ForOfStatement=nt.ForInStatement=void 0;nt.ForStatement=w7;nt.IfStatement=A7;nt.LabeledStatement=D7;nt.ReturnStatement=O7;nt.SwitchCase=B7;nt.SwitchStatement=F7;nt.ThrowStatement=N7;nt.TryStatement=L7;nt.VariableDeclaration=R7;nt.VariableDeclarator=q7;nt.WhileStatement=C7;nt.WithStatement=v7;var b7=be(),{isFor:ET,isForStatement:S7,isIfStatement:E7,isStatement:P7}=b7;function v7(t){this.word("with"),this.space(),this.tokenChar(40),this.print(t.object),this.tokenChar(41),this.printBlock(t)}function A7(t){this.word("if"),this.space(),this.tokenChar(40),this.print(t.test),this.tokenChar(41),this.space();let e=t.alternate&&E7(PT(t.consequent));e&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(t.consequent),e&&(this.dedent(),this.newline(),this.tokenChar(125)),t.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(t.alternate))}function PT(t){let{body:e}=t;return P7(e)===!1?t:PT(e)}function w7(t){this.word("for"),this.space(),this.tokenChar(40);{let e=this.enterForStatementInit();this.print(t.init),e()}this.tokenChar(59),t.test&&(this.space(),this.print(t.test)),this.token(";",!1,1),t.update&&(this.space(),this.print(t.update)),this.tokenChar(41),this.printBlock(t)}function C7(t){this.word("while"),this.space(),this.tokenChar(40),this.print(t.test),this.tokenChar(41),this.printBlock(t)}function vT(t){this.word("for"),this.space();let e=t.type==="ForOfStatement";e&&t.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40);{let i=this.enterForXStatementInit(e);this.print(t.left),i?.()}this.space(),this.word(e?"of":"in"),this.space(),this.print(t.right),this.tokenChar(41),this.printBlock(t)}var Dae=nt.ForInStatement=vT,Lae=nt.ForOfStatement=vT;function I7(t){this.word("do"),this.space(),this.print(t.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(t.test),this.tokenChar(41),this.semicolon()}function Co(t,e){e&&(t.space(),t.printTerminatorless(e)),t.semicolon()}function k7(t){this.word("break"),Co(this,t.label)}function _7(t){this.word("continue"),Co(this,t.label)}function O7(t){this.word("return"),Co(this,t.argument)}function N7(t){this.word("throw"),Co(this,t.argument)}function D7(t){this.print(t.label),this.tokenChar(58),this.space(),this.print(t.body)}function L7(t){this.word("try"),this.space(),this.print(t.block),this.space(),t.handlers?this.print(t.handlers[0]):this.print(t.handler),t.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(t.finalizer))}function M7(t){this.word("catch"),this.space(),t.param&&(this.tokenChar(40),this.print(t.param),this.print(t.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(t.body)}function F7(t){this.word("switch"),this.space(),this.tokenChar(40),this.print(t.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(t.cases,!0,void 0,function(i,r){if(!i&&t.cases[t.cases.length-1]===r)return-1}),this.rightBrace(t)}function B7(t){t.test?(this.word("case"),this.space(),this.print(t.test),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),t.consequent.length&&(this.newline(),this.printSequence(t.consequent,!0))}function j7(){this.word("debugger"),this.semicolon()}function R7(t,e){t.declare&&(this.word("declare"),this.space());let{kind:i}=t;i==="await using"?(this.word("await"),this.space(),this.word("using",!0)):this.word(i,i==="using"),this.space();let r=!1;if(!ET(e))for(let s of t.declarations)s.init&&(r=!0);if(this.printList(t.declarations,void 0,void 0,t.declarations.length>1,r?function(s){this.token(",",!1,s),this.newline()}:void 0),ET(e)){if(S7(e)){if(e.init===t)return}else if(e.left===t)return}this.semicolon()}function q7(t){this.print(t.id),t.definite&&this.tokenChar(33),this.print(t.id.typeAnnotation),t.init&&(this.space(),this.tokenChar(61),this.space(),this.print(t.init))}});var wT=_(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.ClassAccessorProperty=J7;ai.ClassBody=W7;ai.ClassExpression=ai.ClassDeclaration=V7;ai.ClassMethod=H7;ai.ClassPrivateMethod=G7;ai.ClassPrivateProperty=X7;ai.ClassProperty=z7;ai.StaticBlock=Z7;ai._classMethodHead=Q7;var $7=be(),{isExportDefaultDeclaration:U7,isExportNamedDeclaration:K7}=$7;function V7(t,e){(!(U7(e)||K7(e))||!this._shouldPrintDecoratorsBeforeExport(e))&&this.printJoin(t.decorators),t.declare&&(this.word("declare"),this.space()),t.abstract&&(this.word("abstract"),this.space()),this.word("class"),t.id&&(this.space(),this.print(t.id)),this.print(t.typeParameters),t.superClass&&(this.space(),this.word("extends"),this.space(),this.print(t.superClass),this.print(t.superTypeParameters)),t.implements&&(this.space(),this.word("implements"),this.space(),this.printList(t.implements)),this.space(),this.print(t.body)}function W7(t){if(this.tokenChar(123),t.body.length===0)this.tokenChar(125);else{this.newline();let e=Y7(this,t);e?.(-1);let i=this.enterDelimited();this.printJoin(t.body,!0,!0,e,!0),i(),this.endsWith(10)||this.newline(),this.rightBrace(t)}}function Y7(t,e){if(!t.tokenMap||e.start==null||e.end==null)return null;let i=t.tokenMap.getIndexes(e);if(!i)return null;let r=1,s=0,n=0,a=()=>{for(;n<e.body.length&&e.body[n].start==null;)n++};return a(),l=>{n<=l&&(n=l+1,a());let c=n===e.body.length?e.end:e.body[n].start,o;for(;r<i.length&&t.tokenMap.matchesOriginal(o=t._tokens[i[r]],";")&&o.start<c;)t.token(";",void 0,s++),r++}}function z7(t){if(this.printJoin(t.decorators),!t.static&&!this.format.preserveFormat){var e;let i=(e=t.key.loc)==null||(e=e.end)==null?void 0:e.line;i&&this.catchUp(i)}this.tsPrintClassMemberModifiers(t),t.computed?(this.tokenChar(91),this.print(t.key),this.tokenChar(93)):(this._variance(t),this.print(t.key)),t.optional&&this.tokenChar(63),t.definite&&this.tokenChar(33),this.print(t.typeAnnotation),t.value&&(this.space(),this.tokenChar(61),this.space(),this.print(t.value)),this.semicolon()}function J7(t){var e;this.printJoin(t.decorators);let i=(e=t.key.loc)==null||(e=e.end)==null?void 0:e.line;i&&this.catchUp(i),this.tsPrintClassMemberModifiers(t),this.word("accessor",!0),this.space(),t.computed?(this.tokenChar(91),this.print(t.key),this.tokenChar(93)):(this._variance(t),this.print(t.key)),t.optional&&this.tokenChar(63),t.definite&&this.tokenChar(33),this.print(t.typeAnnotation),t.value&&(this.space(),this.tokenChar(61),this.space(),this.print(t.value)),this.semicolon()}function X7(t){this.printJoin(t.decorators),this.tsPrintClassMemberModifiers(t),this.print(t.key),t.optional&&this.tokenChar(63),t.definite&&this.tokenChar(33),this.print(t.typeAnnotation),t.value&&(this.space(),this.tokenChar(61),this.space(),this.print(t.value)),this.semicolon()}function H7(t){this._classMethodHead(t),this.space(),this.print(t.body)}function G7(t){this._classMethodHead(t),this.space(),this.print(t.body)}function Q7(t){if(this.printJoin(t.decorators),!this.format.preserveFormat){var e;let i=(e=t.key.loc)==null||(e=e.end)==null?void 0:e.line;i&&this.catchUp(i)}this.tsPrintClassMemberModifiers(t),this._methodHead(t)}function Z7(t){this.word("static"),this.space(),this.tokenChar(123),t.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(t.body,!0),this.rightBrace(t))}});var CT=_(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.ArrowFunctionExpression=uq;oi.FunctionDeclaration=oi.FunctionExpression=cq;oi._functionHead=lq;oi._methodHead=aq;oi._param=nq;oi._parameters=sq;oi._params=rq;oi._predicate=oq;oi._shouldPrintArrowParamsParens=pq;var eq=be(),tq=Ur(),{isIdentifier:iq}=eq;function rq(t,e,i){this.print(t.typeParameters);let r=fq.call(this,e,i);r&&this.sourceIdentifierName(r.name,r.pos),this.tokenChar(40),this._parameters(t.params,")");let s=t.type==="ArrowFunctionExpression";this.print(t.returnType,s),this._noLineTerminator=s}function sq(t,e){let i=this.enterDelimited(),r=this.shouldPrintTrailingComma(e),s=t.length;for(let n=0;n<s;n++)this._param(t[n]),(r||n<s-1)&&(this.token(",",null,n),this.space());this.token(e),i()}function nq(t){this.printJoin(t.decorators),this.print(t),t.optional&&this.tokenChar(63),this.print(t.typeAnnotation)}function aq(t){let e=t.kind,i=t.key;(e==="get"||e==="set")&&(this.word(e),this.space()),t.async&&(this.word("async",!0),this.space()),(e==="method"||e==="init")&&t.generator&&this.tokenChar(42),t.computed?(this.tokenChar(91),this.print(i),this.tokenChar(93)):this.print(i),t.optional&&this.tokenChar(63),this._params(t,t.computed&&t.key.type!=="StringLiteral"?void 0:t.key,void 0)}function oq(t,e){t.predicate&&(t.returnType||this.tokenChar(58),this.space(),this.print(t.predicate,e))}function lq(t,e){t.async&&(this.word("async"),this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.space()),this.word("function"),t.generator&&(this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.tokenChar(42)),this.space(),t.id&&this.print(t.id),this._params(t,t.id,e),t.type!=="TSDeclareFunction"&&this._predicate(t)}function cq(t,e){this._functionHead(t,e),this.space(),this.print(t.body)}function uq(t,e){t.async&&(this.word("async",!0),this.space()),this._shouldPrintArrowParamsParens(t)?this._params(t,void 0,e):this.print(t.params[0],!0),this._predicate(t,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=tq.TokenContext.arrowBody,this.print(t.body)}function pq(t){var e,i;if(t.params.length!==1||t.typeParameters||t.returnType||t.predicate)return!0;let r=t.params[0];if(!iq(r)||r.typeAnnotation||r.optional||(e=r.leadingComments)!=null&&e.length||(i=r.trailingComments)!=null&&i.length)return!0;if(this.tokenMap){if(t.loc==null||this.tokenMap.findMatching(t,"(")!==null)return!0;let s=this.tokenMap.findMatching(t,"=>");return s?.loc==null?!0:s.loc.start.line!==t.loc.start.line}return!!this.format.retainLines}function fq(t,e){let i=t;if(!i&&e){let c=e.type;c==="VariableDeclarator"?i=e.id:c==="AssignmentExpression"||c==="AssignmentPattern"?i=e.left:c==="ObjectProperty"||c==="ClassProperty"?(!e.computed||e.key.type==="StringLiteral")&&(i=e.key):(c==="ClassPrivateProperty"||c==="ClassAccessorProperty")&&(i=e.key)}if(!i)return;let r;if(i.type==="Identifier"){var s,n;r={pos:(s=i.loc)==null?void 0:s.start,name:((n=i.loc)==null?void 0:n.identifierName)||i.name}}else if(i.type==="PrivateName"){var a;r={pos:(a=i.loc)==null?void 0:a.start,name:"#"+i.id.name}}else if(i.type==="StringLiteral"){var l;r={pos:(l=i.loc)==null?void 0:l.start,name:i.value}}return r}});var ef=_(Bt=>{"use strict";Object.defineProperty(Bt,"__esModule",{value:!0});Bt.ExportAllDeclaration=wq;Bt.ExportDefaultDeclaration=Iq;Bt.ExportDefaultSpecifier=Eq;Bt.ExportNamedDeclaration=Cq;Bt.ExportNamespaceSpecifier=vq;Bt.ExportSpecifier=Pq;Bt.ImportAttribute=_q;Bt.ImportDeclaration=kq;Bt.ImportDefaultSpecifier=Sq;Bt.ImportExpression=Nq;Bt.ImportNamespaceSpecifier=Oq;Bt.ImportSpecifier=bq;Bt._printAttributes=Aq;var hq=be(),dq=Ur(),{isClassDeclaration:mq,isExportDefaultSpecifier:yq,isExportNamespaceSpecifier:Tq,isImportDefaultSpecifier:gq,isImportNamespaceSpecifier:xq,isStatement:kT}=hq;function bq(t){(t.importKind==="type"||t.importKind==="typeof")&&(this.word(t.importKind),this.space()),this.print(t.imported),t.local&&t.local.name!==t.imported.name&&(this.space(),this.word("as"),this.space(),this.print(t.local))}function Sq(t){this.print(t.local)}function Eq(t){this.print(t.exported)}function Pq(t){t.exportKind==="type"&&(this.word("type"),this.space()),this.print(t.local),t.exported&&t.local.name!==t.exported.name&&(this.space(),this.word("as"),this.space(),this.print(t.exported))}function vq(t){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(t.exported)}var IT=!1;function Aq(t,e){var i;let{importAttributesKeyword:r}=this.format,{attributes:s,assertions:n}=t;s&&!r&&t.extra&&(t.extra.deprecatedAssertSyntax||t.extra.deprecatedWithLegacySyntax)&&!IT&&(IT=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));let a=r==="assert"||!r&&n;if(this.word(a?"assert":"with"),this.space(),!a&&(r==="with-legacy"||!r&&(i=t.extra)!=null&&i.deprecatedWithLegacySyntax)){this.printList(s||n);return}let l=e?1:0;this.token("{",null,l),this.space(),this.printList(s||n,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",null,l)}function wq(t){var e,i;this.word("export"),this.space(),t.exportKind==="type"&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),(e=t.attributes)!=null&&e.length||(i=t.assertions)!=null&&i.length?(this.print(t.source,!0),this.space(),this._printAttributes(t,!1)):this.print(t.source),this.semicolon()}function _T(t,e){mq(e.declaration)&&t._shouldPrintDecoratorsBeforeExport(e)&&t.printJoin(e.declaration.decorators)}function Cq(t){if(_T(this,t),this.word("export"),this.space(),t.declaration){let r=t.declaration;this.print(r),kT(r)||this.semicolon()}else{t.exportKind==="type"&&(this.word("type"),this.space());let r=t.specifiers.slice(0),s=!1;for(;;){let a=r[0];if(yq(a)||Tq(a))s=!0,this.print(r.shift()),r.length&&(this.tokenChar(44),this.space());else break}let n=!1;if((r.length||!r.length&&!s)&&(n=!0,this.tokenChar(123),r.length&&(this.space(),this.printList(r,this.shouldPrintTrailingComma("}")),this.space()),this.tokenChar(125)),t.source){var e,i;this.space(),this.word("from"),this.space(),(e=t.attributes)!=null&&e.length||(i=t.assertions)!=null&&i.length?(this.print(t.source,!0),this.space(),this._printAttributes(t,n)):this.print(t.source)}this.semicolon()}}function Iq(t){_T(this,t),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=dq.TokenContext.exportDefault;let e=t.declaration;this.print(e),kT(e)||this.semicolon()}function kq(t){var e,i;this.word("import"),this.space();let r=t.importKind==="type"||t.importKind==="typeof";r?(this.noIndentInnerCommentsHere(),this.word(t.importKind),this.space()):t.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):t.phase&&(this.noIndentInnerCommentsHere(),this.word(t.phase),this.space());let s=t.specifiers.slice(0),n=!!s.length;for(;n;){let l=s[0];if(gq(l)||xq(l))this.print(s.shift()),s.length&&(this.tokenChar(44),this.space());else break}let a=!1;s.length?(a=!0,this.tokenChar(123),this.space(),this.printList(s,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125)):r&&!n&&(a=!0,this.tokenChar(123),this.tokenChar(125)),(n||r)&&(this.space(),this.word("from"),this.space()),(e=t.attributes)!=null&&e.length||(i=t.assertions)!=null&&i.length?(this.print(t.source,!0),this.space(),this._printAttributes(t,a)):this.print(t.source),this.semicolon()}function _q(t){this.print(t.key),this.tokenChar(58),this.space(),this.print(t.value)}function Oq(t){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(t.local)}function Nq(t){this.word("import"),t.phase&&(this.tokenChar(46),this.word(t.phase)),this.tokenChar(40);let e=this.shouldPrintTrailingComma(")");this.print(t.source),t.options!=null&&(this.tokenChar(44),this.space(),this.print(t.options)),e&&this.tokenChar(44),this.rightParens(t)}});var LT=_((Rae,DT)=>{"use strict";var OT={},Dq=OT.hasOwnProperty,NT=(t,e)=>{for(let i in t)Dq.call(t,i)&&e(i,t[i])},Lq=(t,e)=>(e&&NT(e,(i,r)=>{t[i]=r}),t),Mq=(t,e)=>{let i=t.length,r=-1;for(;++r<i;)e(t[r])},Io=t=>"\\u"+("0000"+t).slice(-4),Nn=(t,e)=>{let i=t.toString(16);return e?i:i.toUpperCase()},Dn=OT.toString,Fq=Array.isArray,Bq=t=>typeof Buffer=="function"&&Buffer.isBuffer(t),jq=t=>Dn.call(t)=="[object Object]",Rq=t=>typeof t=="string"||Dn.call(t)=="[object String]",qq=t=>typeof t=="number"||Dn.call(t)=="[object Number]",tf=t=>typeof t=="bigint",$q=t=>typeof t=="function",Uq=t=>Dn.call(t)=="[object Map]",Kq=t=>Dn.call(t)=="[object Set]",Vq={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},Wq=/[\\\b\f\n\r\t]/,Yq=/[0-9]/,zq=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Jq=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,Xq=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,pr=(t,e)=>{let i=()=>{o=c,++e.indentLevel,c=e.indent.repeat(e.indentLevel)},r={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},s=e&&e.json;s&&(r.quotes="double",r.wrap=!0),e=Lq(r,e),e.quotes!="single"&&e.quotes!="double"&&e.quotes!="backtick"&&(e.quotes="single");let n=e.quotes=="double"?'"':e.quotes=="backtick"?"`":"'",a=e.compact,l=e.lowercaseHex,c=e.indent.repeat(e.indentLevel),o="",u=e.__inline1__,f=e.__inline2__,d=a?"":`
|
|
25
25
|
`,y,E=!0,P=e.numbers=="binary",A=e.numbers=="octal",I=e.numbers=="decimal",k=e.numbers=="hexadecimal";if(s&&t&&$q(t.toJSON)&&(t=t.toJSON()),!Rq(t)){if(Uq(t))return t.size==0?"new Map()":(a||(e.__inline1__=!0,e.__inline2__=!1),"new Map("+pr(Array.from(t),e)+")");if(Kq(t))return t.size==0?"new Set()":"new Set("+pr(Array.from(t),e)+")";if(Bq(t))return t.length==0?"Buffer.from([])":"Buffer.from("+pr(Array.from(t),e)+")";if(Fq(t))return y=[],e.wrap=!0,u&&(e.__inline1__=!1,e.__inline2__=!0),f||i(),Mq(t,L=>{E=!1,f&&(e.__inline2__=!1),y.push((a||f?"":c)+pr(L,e))}),E?"[]":f?"["+y.join(", ")+"]":"["+d+y.join(","+d)+d+(a?"":o)+"]";if(qq(t)||tf(t)){if(s)return JSON.stringify(Number(t));let L;if(I)L=String(t);else if(k){let R=t.toString(16);l||(R=R.toUpperCase()),L="0x"+R}else P?L="0b"+t.toString(2):A&&(L="0o"+t.toString(8));return tf(t)?L+"n":L}else return tf(t)?s?JSON.stringify(Number(t)):t+"n":jq(t)?(y=[],e.wrap=!0,i(),NT(t,(L,R)=>{E=!1,y.push((a?"":c)+pr(L,e)+":"+(a?"":" ")+pr(R,e))}),E?"{}":"{"+d+y.join(","+d)+d+(a?"":o)+"}"):s?JSON.stringify(t)||"null":String(t)}let M=e.escapeEverything?Jq:Xq;return y=t.replace(M,(L,R,U,ae,me,de)=>{if(R){if(e.minimal)return R;let ue=R.charCodeAt(0),De=R.charCodeAt(1);if(e.es6){let yt=(ue-55296)*1024+De-56320+65536;return"\\u{"+Nn(yt,l)+"}"}return Io(Nn(ue,l))+Io(Nn(De,l))}if(U)return Io(Nn(U.charCodeAt(0),l));if(L=="\0"&&!s&&!Yq.test(de.charAt(me+1)))return"\\0";if(ae)return ae==n||e.escapeEverything?"\\"+ae:ae;if(Wq.test(L))return Vq[L];if(e.minimal&&!zq.test(L))return L;let st=Nn(L.charCodeAt(0),l);return s||st.length>2?Io(st):"\\x"+("00"+st).slice(-2)}),n=="`"&&(y=y.replace(/\$\{/g,"\\${")),e.isScriptContext&&(y=y.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,s?"\\u003C!--":"\\x3C!--")),e.wrap&&(y=n+y+n),y};pr.version="3.0.2";DT.exports=pr});var sf=_(Qe=>{"use strict";Object.defineProperty(Qe,"__esModule",{value:!0});Qe.ArgumentPlaceholder=e$;Qe.ArrayPattern=Qe.ArrayExpression=n$;Qe.BigIntLiteral=h$;Qe.BooleanLiteral=c$;Qe.Identifier=Zq;Qe.NullLiteral=u$;Qe.NumericLiteral=p$;Qe.ObjectPattern=Qe.ObjectExpression=i$;Qe.ObjectMethod=r$;Qe.ObjectProperty=s$;Qe.PipelineBareFunction=y$;Qe.PipelinePrimaryTopicReference=T$;Qe.PipelineTopicExpression=m$;Qe.RecordExpression=a$;Qe.RegExpLiteral=l$;Qe.SpreadElement=Qe.RestElement=t$;Qe.StringLiteral=f$;Qe.TopicReference=d$;Qe.TupleExpression=o$;Qe.VoidPattern=g$;Qe._getRawIdentifier=Qq;var Hq=be(),BT=LT(),{isAssignmentPattern:Gq,isIdentifier:rf}=Hq,MT=null,ko="";function Qq(t){if(t===MT)return ko;MT=t;let{name:e}=t,i=this.tokenMap.find(t,r=>r.value===e);return i?(ko=this._originalCode.slice(i.start,i.end),ko):ko=t.name}function Zq(t){var e;this.sourceIdentifierName(((e=t.loc)==null?void 0:e.identifierName)||t.name),this.word(this.tokenMap?this._getRawIdentifier(t):t.name)}function e$(){this.tokenChar(63)}function t$(t){this.token("..."),this.print(t.argument)}function i$(t){let e=t.properties;if(this.tokenChar(123),e.length){let i=this.enterDelimited();this.space(),this.printList(e,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),i()}this.sourceWithOffset("end",t.loc,-1),this.tokenChar(125)}function r$(t){this.printJoin(t.decorators),this._methodHead(t),this.space(),this.print(t.body)}function s$(t){if(this.printJoin(t.decorators),t.computed)this.tokenChar(91),this.print(t.key),this.tokenChar(93);else{if(Gq(t.value)&&rf(t.key)&&t.key.name===t.value.left.name){this.print(t.value);return}if(this.print(t.key),t.shorthand&&rf(t.key)&&rf(t.value)&&t.key.name===t.value.name)return}this.tokenChar(58),this.space(),this.print(t.value)}function n$(t){let e=t.elements,i=e.length;this.tokenChar(91);let r=this.enterDelimited();for(let s=0;s<e.length;s++){let n=e[s];n?(s>0&&this.space(),this.print(n),(s<i-1||this.shouldPrintTrailingComma("]"))&&this.token(",",!1,s)):this.token(",",!1,s)}r(),this.tokenChar(93)}function a$(t){let e=t.properties,i,r;if(this.format.recordAndTupleSyntaxType==="bar")i="{|",r="|}";else{if(this.format.recordAndTupleSyntaxType!=="hash"&&this.format.recordAndTupleSyntaxType!=null)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);i="#{",r="}"}this.token(i),e.length&&(this.space(),this.printList(e,this.shouldPrintTrailingComma(r),!0,!0),this.space()),this.token(r)}function o$(t){let e=t.elements,i=e.length,r,s;if(this.format.recordAndTupleSyntaxType==="bar")r="[|",s="|]";else if(this.format.recordAndTupleSyntaxType==="hash")r="#[",s="]";else throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);this.token(r);for(let n=0;n<e.length;n++){let a=e[n];a&&(n>0&&this.space(),this.print(a),(n<i-1||this.shouldPrintTrailingComma(s))&&this.token(",",!1,n))}this.token(s)}function l$(t){this.word(`/${t.pattern}/${t.flags}`)}function c$(t){this.word(t.value?"true":"false")}function u$(){this.word("null")}function p$(t){let e=this.getPossibleRaw(t),i=this.format.jsescOption,r=t.value,s=r+"";i.numbers?this.number(BT(r,i),r):e==null?this.number(s,r):this.format.minified?this.number(e.length<s.length?e:s,r):this.number(e,r)}function f$(t){let e=this.getPossibleRaw(t);if(!this.format.minified&&e!==void 0){this.token(e);return}let i=BT(t.value,this.format.jsescOption);this.token(i)}function h$(t){let e=this.getPossibleRaw(t);if(!this.format.minified&&e!==void 0){this.word(e);return}this.word(t.value+"n")}var FT=new Set(["^^","@@","^","%","#"]);function d$(){let{topicToken:t}=this.format;if(FT.has(t))this.token(t);else{let e=JSON.stringify(t),i=Array.from(FT,r=>JSON.stringify(r));throw new Error(`The "topicToken" generator option must be one of ${i.join(", ")} (${e} received instead).`)}}function m$(t){this.print(t.expression)}function y$(t){this.print(t.callee)}function T$(){this.tokenChar(35)}function g$(){this.word("void")}});var RT=_(ee=>{"use strict";Object.defineProperty(ee,"__esModule",{value:!0});ee.AnyTypeAnnotation=P$;ee.ArrayTypeAnnotation=v$;ee.BooleanLiteralTypeAnnotation=w$;ee.BooleanTypeAnnotation=A$;ee.DeclareClass=I$;ee.DeclareExportAllDeclaration=R$;ee.DeclareExportDeclaration=j$;ee.DeclareFunction=k$;ee.DeclareInterface=N$;ee.DeclareModule=D$;ee.DeclareModuleExports=L$;ee.DeclareOpaqueType=F$;ee.DeclareTypeAlias=M$;ee.DeclareVariable=B$;ee.DeclaredPredicate=O$;ee.EmptyTypeAnnotation=oU;ee.EnumBooleanBody=$$;ee.EnumBooleanMember=Y$;ee.EnumDeclaration=q$;ee.EnumDefaultedMember=W$;ee.EnumNumberBody=U$;ee.EnumNumberMember=z$;ee.EnumStringBody=K$;ee.EnumStringMember=J$;ee.EnumSymbolBody=V$;ee.ExistsTypeAnnotation=H$;ee.FunctionTypeAnnotation=G$;ee.FunctionTypeParam=Q$;ee.IndexedAccessType=NU;ee.InferredPredicate=_$;ee.InterfaceDeclaration=iU;ee.GenericTypeAnnotation=ee.ClassImplements=ee.InterfaceExtends=Z$;ee.InterfaceTypeAnnotation=sU;ee.IntersectionTypeAnnotation=nU;ee.MixedTypeAnnotation=aU;ee.NullLiteralTypeAnnotation=C$;ee.NullableTypeAnnotation=lU;Object.defineProperty(ee,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return jT.NumericLiteral}});ee.NumberTypeAnnotation=cU;ee.ObjectTypeAnnotation=xU;ee.ObjectTypeCallProperty=SU;ee.ObjectTypeIndexer=EU;ee.ObjectTypeInternalSlot=bU;ee.ObjectTypeProperty=PU;ee.ObjectTypeSpreadProperty=vU;ee.OpaqueType=gU;ee.OptionalIndexedAccessType=DU;ee.QualifiedTypeIdentifier=AU;Object.defineProperty(ee,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return jT.StringLiteral}});ee.StringTypeAnnotation=uU;ee.SymbolTypeAnnotation=wU;ee.ThisTypeAnnotation=pU;ee.TupleTypeAnnotation=fU;ee.TypeAlias=dU;ee.TypeAnnotation=mU;ee.TypeCastExpression=kU;ee.TypeParameter=TU;ee.TypeParameterDeclaration=ee.TypeParameterInstantiation=yU;ee.TypeofTypeAnnotation=hU;ee.UnionTypeAnnotation=IU;ee.Variance=_U;ee.VoidTypeAnnotation=OU;ee._interfaceish=eU;ee._variance=tU;var x$=be(),b$=ef(),S$=Ur(),jT=sf(),{isDeclareExportDeclaration:_o,isStatement:E$}=x$;function P$(){this.word("any")}function v$(t){this.print(t.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function A$(){this.word("boolean")}function w$(t){this.word(t.value?"true":"false")}function C$(){this.word("null")}function I$(t,e){_o(e)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(t)}function k$(t,e){_o(e)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(t.id),this.print(t.id.typeAnnotation.typeAnnotation),t.predicate&&(this.space(),this.print(t.predicate)),this.semicolon()}function _$(){this.tokenChar(37),this.word("checks")}function O$(t){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(t.value),this.tokenChar(41)}function N$(t){this.word("declare"),this.space(),this.InterfaceDeclaration(t)}function D$(t){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(t.id),this.space(),this.print(t.body)}function L$(t){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(t.typeAnnotation)}function M$(t){this.word("declare"),this.space(),this.TypeAlias(t)}function F$(t,e){_o(e)||(this.word("declare"),this.space()),this.OpaqueType(t)}function B$(t,e){_o(e)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(t.id),this.print(t.id.typeAnnotation),this.semicolon()}function j$(t){this.word("declare"),this.space(),this.word("export"),this.space(),t.default&&(this.word("default"),this.space()),X$.call(this,t)}function R$(t){this.word("declare"),this.space(),b$.ExportAllDeclaration.call(this,t)}function q$(t){let{id:e,body:i}=t;this.word("enum"),this.space(),this.print(e),this.print(i)}function Oo(t,e,i){i&&(t.space(),t.word("of"),t.space(),t.word(e)),t.space()}function No(t,e){let{members:i}=e;t.token("{"),t.indent(),t.newline();for(let r of i)t.print(r),t.newline();e.hasUnknownMembers&&(t.token("..."),t.newline()),t.dedent(),t.token("}")}function $$(t){let{explicitType:e}=t;Oo(this,"boolean",e),No(this,t)}function U$(t){let{explicitType:e}=t;Oo(this,"number",e),No(this,t)}function K$(t){let{explicitType:e}=t;Oo(this,"string",e),No(this,t)}function V$(t){Oo(this,"symbol",!0),No(this,t)}function W$(t){let{id:e}=t;this.print(e),this.tokenChar(44)}function nf(t,e){t.print(e.id),t.space(),t.token("="),t.space(),t.print(e.init),t.token(",")}function Y$(t){nf(this,t)}function z$(t){nf(this,t)}function J$(t){nf(this,t)}function X$(t){if(t.declaration){let e=t.declaration;this.print(e),E$(e)||this.semicolon()}else this.tokenChar(123),t.specifiers.length&&(this.space(),this.printList(t.specifiers),this.space()),this.tokenChar(125),t.source&&(this.space(),this.word("from"),this.space(),this.print(t.source)),this.semicolon()}function H$(){this.tokenChar(42)}function G$(t,e){this.print(t.typeParameters),this.tokenChar(40),t.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(t.this.typeAnnotation),(t.params.length||t.rest)&&(this.tokenChar(44),this.space())),this.printList(t.params),t.rest&&(t.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(t.rest)),this.tokenChar(41);let i=e?.type;i!=null&&(i==="ObjectTypeCallProperty"||i==="ObjectTypeInternalSlot"||i==="DeclareFunction"||i==="ObjectTypeProperty"&&e.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(t.returnType)}function Q$(t){this.print(t.name),t.optional&&this.tokenChar(63),t.name&&(this.tokenChar(58),this.space()),this.print(t.typeAnnotation)}function Z$(t){this.print(t.id),this.print(t.typeParameters,!0)}function eU(t){var e;if(this.print(t.id),this.print(t.typeParameters),(e=t.extends)!=null&&e.length&&(this.space(),this.word("extends"),this.space(),this.printList(t.extends)),t.type==="DeclareClass"){var i,r;(i=t.mixins)!=null&&i.length&&(this.space(),this.word("mixins"),this.space(),this.printList(t.mixins)),(r=t.implements)!=null&&r.length&&(this.space(),this.word("implements"),this.space(),this.printList(t.implements))}this.space(),this.print(t.body)}function tU(t){var e;let i=(e=t.variance)==null?void 0:e.kind;i!=null&&(i==="plus"?this.tokenChar(43):i==="minus"&&this.tokenChar(45))}function iU(t){this.word("interface"),this.space(),this._interfaceish(t)}function rU(t){this.space(),this.token("&",!1,t),this.space()}function sU(t){var e;this.word("interface"),(e=t.extends)!=null&&e.length&&(this.space(),this.word("extends"),this.space(),this.printList(t.extends)),this.space(),this.print(t.body)}function nU(t){this.printJoin(t.types,void 0,void 0,rU)}function aU(){this.word("mixed")}function oU(){this.word("empty")}function lU(t){this.tokenChar(63),this.print(t.typeAnnotation)}function cU(){this.word("number")}function uU(){this.word("string")}function pU(){this.word("this")}function fU(t){this.tokenChar(91),this.printList(t.types),this.tokenChar(93)}function hU(t){this.word("typeof"),this.space(),this.print(t.argument)}function dU(t){this.word("type"),this.space(),this.print(t.id),this.print(t.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(t.right),this.semicolon()}function mU(t,e){this.tokenChar(58),this.space(),e.type==="ArrowFunctionExpression"?this.tokenContext|=S$.TokenContext.arrowFlowReturnType:t.optional&&this.tokenChar(63),this.print(t.typeAnnotation)}function yU(t){this.tokenChar(60),this.printList(t.params),this.tokenChar(62)}function TU(t){this._variance(t),this.word(t.name),t.bound&&this.print(t.bound),t.default&&(this.space(),this.tokenChar(61),this.space(),this.print(t.default))}function gU(t){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(t.id),this.print(t.typeParameters),t.supertype&&(this.tokenChar(58),this.space(),this.print(t.supertype)),t.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(t.impltype)),this.semicolon()}function xU(t){t.exact?this.token("{|"):this.tokenChar(123);let e=[...t.properties,...t.callProperties||[],...t.indexers||[],...t.internalSlots||[]];e.length&&(this.newline(),this.space(),this.printJoin(e,!0,!0,void 0,void 0,function(r){if(r&&!e[0])return 1},()=>{(e.length!==1||t.inexact)&&(this.tokenChar(44),this.space())}),this.space()),t.inexact&&(this.indent(),this.token("..."),e.length&&this.newline(),this.dedent()),t.exact?this.token("|}"):this.tokenChar(125)}function bU(t){t.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(t.id),this.tokenChar(93),this.tokenChar(93),t.optional&&this.tokenChar(63),t.method||(this.tokenChar(58),this.space()),this.print(t.value)}function SU(t){t.static&&(this.word("static"),this.space()),this.print(t.value)}function EU(t){t.static&&(this.word("static"),this.space()),this._variance(t),this.tokenChar(91),t.id&&(this.print(t.id),this.tokenChar(58),this.space()),this.print(t.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(t.value)}function PU(t){t.proto&&(this.word("proto"),this.space()),t.static&&(this.word("static"),this.space()),(t.kind==="get"||t.kind==="set")&&(this.word(t.kind),this.space()),this._variance(t),this.print(t.key),t.optional&&this.tokenChar(63),t.method||(this.tokenChar(58),this.space()),this.print(t.value)}function vU(t){this.token("..."),this.print(t.argument)}function AU(t){this.print(t.qualification),this.tokenChar(46),this.print(t.id)}function wU(){this.word("symbol")}function CU(t){this.space(),this.token("|",!1,t),this.space()}function IU(t){this.printJoin(t.types,void 0,void 0,CU)}function kU(t){this.tokenChar(40),this.print(t.expression),this.print(t.typeAnnotation),this.tokenChar(41)}function _U(t){t.kind==="plus"?this.tokenChar(43):this.tokenChar(45)}function OU(){this.word("void")}function NU(t){this.print(t.objectType,!0),this.tokenChar(91),this.print(t.indexType),this.tokenChar(93)}function DU(t){this.print(t.objectType),t.optional&&this.token("?."),this.tokenChar(91),this.print(t.indexType),this.tokenChar(93)}});var qT=_(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});zi.BlockStatement=FU;zi.Directive=BU;zi.DirectiveLiteral=qU;zi.File=LU;zi.InterpreterDirective=$U;zi.Placeholder=UU;zi.Program=MU;function LU(t){t.program&&this.print(t.program.interpreter),this.print(t.program)}function MU(t){var e;this.noIndentInnerCommentsHere(),this.printInnerComments();let i=(e=t.directives)==null?void 0:e.length;if(i){var r;let s=t.body.length?2:1;this.printSequence(t.directives,void 0,s),(r=t.directives[i-1].trailingComments)!=null&&r.length||this.newline(s)}this.printSequence(t.body)}function FU(t){var e;this.tokenChar(123);let i=this.enterDelimited(),r=(e=t.directives)==null?void 0:e.length;if(r){var s;let n=t.body.length?2:1;this.printSequence(t.directives,!0,n),(s=t.directives[r-1].trailingComments)!=null&&s.length||this.newline(n)}this.printSequence(t.body,!0),i(),this.rightBrace(t)}function BU(t){this.print(t.value),this.semicolon()}var jU=/(?:^|[^\\])(?:\\\\)*'/,RU=/(?:^|[^\\])(?:\\\\)*"/;function qU(t){let e=this.getPossibleRaw(t);if(!this.format.minified&&e!==void 0){this.token(e);return}let{value:i}=t;if(!RU.test(i))this.token(`"${i}"`);else if(!jU.test(i))this.token(`'${i}'`);else throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.")}function $U(t){this.token(`#!${t.value}`),this.newline(1,!0)}function UU(t){this.token("%%"),this.print(t.name),this.token("%%"),t.expectedNode==="Statement"&&this.semicolon()}});var $T=_(vt=>{"use strict";Object.defineProperty(vt,"__esModule",{value:!0});vt.JSXAttribute=KU;vt.JSXClosingElement=eK;vt.JSXClosingFragment=sK;vt.JSXElement=GU;vt.JSXEmptyExpression=tK;vt.JSXExpressionContainer=JU;vt.JSXFragment=iK;vt.JSXIdentifier=VU;vt.JSXMemberExpression=YU;vt.JSXNamespacedName=WU;vt.JSXOpeningElement=ZU;vt.JSXOpeningFragment=rK;vt.JSXSpreadAttribute=zU;vt.JSXSpreadChild=XU;vt.JSXText=HU;function KU(t){this.print(t.name),t.value&&(this.tokenChar(61),this.print(t.value))}function VU(t){this.word(t.name)}function WU(t){this.print(t.namespace),this.tokenChar(58),this.print(t.name)}function YU(t){this.print(t.object),this.tokenChar(46),this.print(t.property)}function zU(t){this.tokenChar(123),this.token("..."),this.print(t.argument),this.rightBrace(t)}function JU(t){this.tokenChar(123),this.print(t.expression),this.rightBrace(t)}function XU(t){this.tokenChar(123),this.token("..."),this.print(t.expression),this.rightBrace(t)}function HU(t){let e=this.getPossibleRaw(t);e!==void 0?this.token(e,!0):this.token(t.value,!0)}function GU(t){let e=t.openingElement;if(this.print(e),!e.selfClosing){this.indent();for(let i of t.children)this.print(i);this.dedent(),this.print(t.closingElement)}}function QU(){this.space()}function ZU(t){this.tokenChar(60),this.print(t.name),t.typeArguments&&this.print(t.typeArguments),this.print(t.typeParameters),t.attributes.length>0&&(this.space(),this.printJoin(t.attributes,void 0,void 0,QU)),t.selfClosing&&(this.space(),this.tokenChar(47)),this.tokenChar(62)}function eK(t){this.tokenChar(60),this.tokenChar(47),this.print(t.name),this.tokenChar(62)}function tK(){this.printInnerComments()}function iK(t){this.print(t.openingFragment),this.indent();for(let e of t.children)this.print(e);this.dedent(),this.print(t.closingFragment)}function rK(){this.tokenChar(60),this.tokenChar(62)}function sK(){this.token("</"),this.tokenChar(62)}});var YT=_(Q=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});Q.TSAnyKeyword=gK;Q.TSArrayType=RK;Q.TSSatisfiesExpression=Q.TSAsExpression=sV;Q.TSBigIntKeyword=xK;Q.TSBooleanKeyword=PK;Q.TSCallSignatureDeclaration=fK;Q.TSInterfaceHeritage=Q.TSClassImplements=eV;Q.TSConditionalType=YK;Q.TSConstructSignatureDeclaration=hK;Q.TSConstructorType=DK;Q.TSDeclareFunction=cK;Q.TSDeclareMethod=uK;Q.TSEnumBody=WT;Q.TSEnumDeclaration=oV;Q.TSEnumMember=lV;Q.TSExportAssignment=mV;Q.TSExternalModuleReference=hV;Q.TSFunctionType=NK;Q.TSImportEqualsDeclaration=fV;Q.TSImportType=pV;Q.TSIndexSignature=TK;Q.TSIndexedAccessType=HK;Q.TSInferType=zK;Q.TSInstantiationExpression=aV;Q.TSInterfaceBody=iV;Q.TSInterfaceDeclaration=tV;Q.TSIntersectionType=WK;Q.TSIntrinsicKeyword=_K;Q.TSLiteralType=ZK;Q.TSMappedType=GK;Q.TSMethodSignature=yK;Q.TSModuleBlock=uV;Q.TSModuleDeclaration=cV;Q.TSNamedTupleMember=KK;Q.TSNamespaceExportDeclaration=yV;Q.TSNeverKeyword=kK;Q.TSNonNullExpression=dV;Q.TSNullKeyword=IK;Q.TSNumberKeyword=SK;Q.TSObjectKeyword=EK;Q.TSOptionalType=$K;Q.TSParameterProperty=lK;Q.TSParenthesizedType=JK;Q.TSPropertySignature=dK;Q.TSQualifiedName=pK;Q.TSRestType=UK;Q.TSStringKeyword=vK;Q.TSSymbolKeyword=AK;Q.TSTemplateLiteralType=QK;Q.TSThisType=OK;Q.TSTupleType=qK;Q.TSTypeAliasDeclaration=rV;Q.TSTypeAnnotation=nK;Q.TSTypeAssertion=nV;Q.TSTypeLiteral=jK;Q.TSTypeOperator=XK;Q.TSTypeParameter=oK;Q.TSTypeParameterDeclaration=Q.TSTypeParameterInstantiation=aK;Q.TSTypePredicate=FK;Q.TSTypeQuery=BK;Q.TSTypeReference=MK;Q.TSUndefinedKeyword=CK;Q.TSUnionType=VK;Q.TSUnknownKeyword=bK;Q.TSVoidKeyword=wK;Q.tsPrintClassMemberModifiers=gV;Q.tsPrintFunctionOrConstructorType=LK;Q.tsPrintPropertyOrMethodName=mK;Q.tsPrintSignatureDeclarationBase=TV;function nK(t,e){this.token((e.type==="TSFunctionType"||e.type==="TSConstructorType")&&e.typeAnnotation===t?"=>":":"),this.space(),t.optional&&this.tokenChar(63),this.print(t.typeAnnotation)}function aK(t,e){this.tokenChar(60);let i=e.type==="ArrowFunctionExpression"&&t.params.length===1;this.tokenMap&&t.start!=null&&t.end!=null&&(i&&(i=!!this.tokenMap.find(t,r=>this.tokenMap.matchesOriginal(r,","))),i||(i=this.shouldPrintTrailingComma(">"))),this.printList(t.params,i),this.tokenChar(62)}function oK(t){t.const&&(this.word("const"),this.space()),t.in&&(this.word("in"),this.space()),t.out&&(this.word("out"),this.space()),this.word(t.name),t.constraint&&(this.space(),this.word("extends"),this.space(),this.print(t.constraint)),t.default&&(this.space(),this.tokenChar(61),this.space(),this.print(t.default))}function lK(t){t.accessibility&&(this.word(t.accessibility),this.space()),t.readonly&&(this.word("readonly"),this.space()),this._param(t.parameter)}function cK(t,e){t.declare&&(this.word("declare"),this.space()),this._functionHead(t,e),this.semicolon()}function uK(t){this._classMethodHead(t),this.semicolon()}function pK(t){this.print(t.left),this.tokenChar(46),this.print(t.right)}function fK(t){this.tsPrintSignatureDeclarationBase(t),Ln(this,t)}function Ln(t,e){if(!t.tokenMap||!e.start||!e.end){t.semicolon();return}t.tokenMap.endMatches(e,",")?t.token(","):t.tokenMap.endMatches(e,";")&&t.semicolon()}function hK(t){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(t),Ln(this,t)}function dK(t){let{readonly:e}=t;e&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(t),this.print(t.typeAnnotation),Ln(this,t)}function mK(t){t.computed&&this.tokenChar(91),this.print(t.key),t.computed&&this.tokenChar(93),t.optional&&this.tokenChar(63)}function yK(t){let{kind:e}=t;(e==="set"||e==="get")&&(this.word(e),this.space()),this.tsPrintPropertyOrMethodName(t),this.tsPrintSignatureDeclarationBase(t),Ln(this,t)}function TK(t){let{readonly:e,static:i}=t;i&&(this.word("static"),this.space()),e&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(t.parameters,"]"),this.print(t.typeAnnotation),Ln(this,t)}function gK(){this.word("any")}function xK(){this.word("bigint")}function bK(){this.word("unknown")}function SK(){this.word("number")}function EK(){this.word("object")}function PK(){this.word("boolean")}function vK(){this.word("string")}function AK(){this.word("symbol")}function wK(){this.word("void")}function CK(){this.word("undefined")}function IK(){this.word("null")}function kK(){this.word("never")}function _K(){this.word("intrinsic")}function OK(){this.word("this")}function NK(t){this.tsPrintFunctionOrConstructorType(t)}function DK(t){t.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(t)}function LK(t){let{typeParameters:e}=t,i=t.parameters;this.print(e),this.tokenChar(40),this._parameters(i,")"),this.space();let r=t.typeAnnotation;this.print(r)}function MK(t){let e=t.typeParameters;this.print(t.typeName,!!e),this.print(e)}function FK(t){t.asserts&&(this.word("asserts"),this.space()),this.print(t.parameterName),t.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(t.typeAnnotation.typeAnnotation))}function BK(t){this.word("typeof"),this.space(),this.print(t.exprName);let e=t.typeParameters;e&&this.print(e)}function jK(t){Do(this,t,()=>this.printJoin(t.members,!0,!0))}function RK(t){this.print(t.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function qK(t){this.tokenChar(91),this.printList(t.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)}function $K(t){this.print(t.typeAnnotation),this.tokenChar(63)}function UK(t){this.token("..."),this.print(t.typeAnnotation)}function KK(t){this.print(t.label),t.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(t.elementType)}function VK(t){VT(this,t,"|")}function WK(t){VT(this,t,"&")}function VT(t,e,i){var r;let s=0;(r=t.tokenMap)!=null&&r.startMatches(e,i)&&(s=1,t.token(i)),t.printJoin(e.types,void 0,void 0,function(n){this.space(),this.token(i,null,n+s),this.space()})}function YK(t){this.print(t.checkType),this.space(),this.word("extends"),this.space(),this.print(t.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(t.trueType),this.space(),this.tokenChar(58),this.space(),this.print(t.falseType)}function zK(t){this.word("infer"),this.print(t.typeParameter)}function JK(t){this.tokenChar(40),this.print(t.typeAnnotation),this.tokenChar(41)}function XK(t){this.word(t.operator),this.space(),this.print(t.typeAnnotation)}function HK(t){this.print(t.objectType,!0),this.tokenChar(91),this.print(t.indexType),this.tokenChar(93)}function GK(t){let{nameType:e,optional:i,readonly:r,typeAnnotation:s}=t;this.tokenChar(123);let n=this.enterDelimited();this.space(),r&&(UT(this,r),this.word("readonly"),this.space()),this.tokenChar(91),this.word(t.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(t.typeParameter.constraint),e&&(this.space(),this.word("as"),this.space(),this.print(e)),this.tokenChar(93),i&&(UT(this,i),this.tokenChar(63)),s&&(this.tokenChar(58),this.space(),this.print(s)),this.space(),n(),this.tokenChar(125)}function UT(t,e){e!==!0&&t.token(e)}function QK(t){this._printTemplate(t,t.types)}function ZK(t){this.print(t.literal)}function eV(t){this.print(t.expression),this.print(t.typeArguments)}function tV(t){let{declare:e,id:i,typeParameters:r,extends:s,body:n}=t;e&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(i),this.print(r),s!=null&&s.length&&(this.space(),this.word("extends"),this.space(),this.printList(s)),this.space(),this.print(n)}function iV(t){Do(this,t,()=>this.printJoin(t.body,!0,!0))}function rV(t){let{declare:e,id:i,typeParameters:r,typeAnnotation:s}=t;e&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(i),this.print(r),this.space(),this.tokenChar(61),this.space(),this.print(s),this.semicolon()}function sV(t){let{type:e,expression:i,typeAnnotation:r}=t;this.print(i,!0),this.space(),this.word(e==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(r)}function nV(t){let{typeAnnotation:e,expression:i}=t;this.tokenChar(60),this.print(e),this.tokenChar(62),this.space(),this.print(i)}function aV(t){this.print(t.expression),this.print(t.typeParameters)}function oV(t){let{declare:e,const:i,id:r}=t;e&&(this.word("declare"),this.space()),i&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(r),this.space(),WT.call(this,t)}function WT(t){Do(this,t,()=>{var e;return this.printList(t.members,(e=this.shouldPrintTrailingComma("}"))!=null?e:!0,!0,!0)})}function lV(t){let{id:e,initializer:i}=t;this.print(e),i&&(this.space(),this.tokenChar(61),this.space(),this.print(i))}function cV(t){let{declare:e,id:i,kind:r}=t;e&&(this.word("declare"),this.space());{if(t.global||(this.word(r??(i.type==="Identifier"?"namespace":"module")),this.space()),this.print(i),!t.body){this.semicolon();return}let s=t.body;for(;s.type==="TSModuleDeclaration";)this.tokenChar(46),this.print(s.id),s=s.body;this.space(),this.print(s)}}function uV(t){Do(this,t,()=>this.printSequence(t.body,!0))}function pV(t){let{argument:e,qualifier:i,options:r}=t;this.word("import"),this.tokenChar(40),this.print(e),r&&(this.tokenChar(44),this.print(r)),this.tokenChar(41),i&&(this.tokenChar(46),this.print(i));let s=t.typeParameters;s&&this.print(s)}function fV(t){let{id:e,moduleReference:i}=t;t.isExport&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(e),this.space(),this.tokenChar(61),this.space(),this.print(i),this.semicolon()}function hV(t){this.token("require("),this.print(t.expression),this.tokenChar(41)}function dV(t){this.print(t.expression),this.tokenChar(33)}function mV(t){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(t.expression),this.semicolon()}function yV(t){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(t.id),this.semicolon()}function TV(t){let{typeParameters:e}=t,i=t.parameters;this.print(e),this.tokenChar(40),this._parameters(i,")");let r=t.typeAnnotation;this.print(r)}function gV(t){let e=t.type==="ClassPrivateProperty",i=t.type==="ClassAccessorProperty"||t.type==="ClassProperty";KT(this,t,[i&&t.declare&&"declare",!e&&t.accessibility]),t.static&&(this.word("static"),this.space()),KT(this,t,[!e&&t.abstract&&"abstract",!e&&t.override&&"override",(i||e)&&t.readonly&&"readonly"])}function Do(t,e,i){t.token("{");let r=t.enterDelimited();i(),r(),t.rightBrace(e)}function KT(t,e,i){var r;let s=new Set;for(let n of i)n&&s.add(n);(r=t.tokenMap)==null||r.find(e,n=>{if(s.has(n.value))return t.token(n.value),t.space(),s.delete(n.value),s.size===0});for(let n of s)t.word(n),t.space()}});var zT=_(Oe=>{"use strict";Object.defineProperty(Oe,"__esModule",{value:!0});var af=xT();Object.keys(af).forEach(function(t){t==="default"||t==="__esModule"||t in Oe&&Oe[t]===af[t]||Object.defineProperty(Oe,t,{enumerable:!0,get:function(){return af[t]}})});var of=ST();Object.keys(of).forEach(function(t){t==="default"||t==="__esModule"||t in Oe&&Oe[t]===of[t]||Object.defineProperty(Oe,t,{enumerable:!0,get:function(){return of[t]}})});var lf=AT();Object.keys(lf).forEach(function(t){t==="default"||t==="__esModule"||t in Oe&&Oe[t]===lf[t]||Object.defineProperty(Oe,t,{enumerable:!0,get:function(){return lf[t]}})});var cf=wT();Object.keys(cf).forEach(function(t){t==="default"||t==="__esModule"||t in Oe&&Oe[t]===cf[t]||Object.defineProperty(Oe,t,{enumerable:!0,get:function(){return cf[t]}})});var uf=CT();Object.keys(uf).forEach(function(t){t==="default"||t==="__esModule"||t in Oe&&Oe[t]===uf[t]||Object.defineProperty(Oe,t,{enumerable:!0,get:function(){return uf[t]}})});var pf=ef();Object.keys(pf).forEach(function(t){t==="default"||t==="__esModule"||t in Oe&&Oe[t]===pf[t]||Object.defineProperty(Oe,t,{enumerable:!0,get:function(){return pf[t]}})});var ff=sf();Object.keys(ff).forEach(function(t){t==="default"||t==="__esModule"||t in Oe&&Oe[t]===ff[t]||Object.defineProperty(Oe,t,{enumerable:!0,get:function(){return ff[t]}})});var hf=RT();Object.keys(hf).forEach(function(t){t==="default"||t==="__esModule"||t in Oe&&Oe[t]===hf[t]||Object.defineProperty(Oe,t,{enumerable:!0,get:function(){return hf[t]}})});var df=qT();Object.keys(df).forEach(function(t){t==="default"||t==="__esModule"||t in Oe&&Oe[t]===df[t]||Object.defineProperty(Oe,t,{enumerable:!0,get:function(){return df[t]}})});var mf=$T();Object.keys(mf).forEach(function(t){t==="default"||t==="__esModule"||t in Oe&&Oe[t]===mf[t]||Object.defineProperty(Oe,t,{enumerable:!0,get:function(){return mf[t]}})});var yf=YT();Object.keys(yf).forEach(function(t){t==="default"||t==="__esModule"||t in Oe&&Oe[t]===yf[t]||Object.defineProperty(Oe,t,{enumerable:!0,get:function(){return yf[t]}})})});var JT=_(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});Tf.addDeprecatedGenerators=xV;function xV(t){{let e={Noop(){},TSExpressionWithTypeArguments(i){this.print(i.expression),this.print(i.typeParameters)},DecimalLiteral(i){let r=this.getPossibleRaw(i);if(!this.format.minified&&r!==void 0){this.word(r);return}this.word(i.value+"m")}};Object.assign(t.prototype,e)}}});var QT=_(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.default=void 0;var bV=tT(),It=Ur(),HT=It,SV=be(),EV=gT(),PV=zT(),vV=JT(),{isExpression:AV,isFunction:wV,isStatement:CV,isClassBody:IV,isTSInterfaceBody:kV,isTSEnumMember:_V}=SV,OV=/e/i,NV=/\.0+$/,GT=/[\n\r\u2028\u2029]/,DV=/[\n\r\u2028\u2029]|\*\//;function XT(t){return t.type==="CommentLine"||GT.test(t.value)}var{needsParens:LV}=HT,Mn=class{constructor(e,i,r,s){this.tokenContext=It.TokenContext.normal,this._tokens=null,this._originalCode=null,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._noLineTerminator=!1,this._noLineTerminatorAfterNode=null,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._endsWithDiv=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.tokenMap=null,this._boundGetRawIdentifier=this._getRawIdentifier.bind(this),this._printSemicolonBeforeNextNode=-1,this._printSemicolonBeforeNextToken=-1,this.format=e,this._tokens=r,this._originalCode=s,this._indentRepeat=e.indent.style.length,this._inputMap=i?._inputMap,this._buf=new bV.default(i,e.indent.style[0])}enterForStatementInit(){return this.tokenContext|=It.TokenContext.forInitHead|It.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=It.TokenContext.normal}enterForXStatementInit(e){return e?(this.tokenContext|=It.TokenContext.forOfHead,null):(this.tokenContext|=It.TokenContext.forInHead|It.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=It.TokenContext.normal)}enterDelimited(){let e=this.tokenContext,i=this._noLineTerminatorAfterNode;return!(e&It.TokenContext.forInOrInitHeadAccumulate)&&i===null?()=>{}:(this._noLineTerminatorAfterNode=null,this.tokenContext=It.TokenContext.normal,()=>{this._noLineTerminatorAfterNode=i,this.tokenContext=e})}generate(e){return this.format.preserveFormat&&(this.tokenMap=new EV.TokenMap(e,this._tokens,this._originalCode)),this.print(e),this._maybeAddAuxComment(),this._buf.get()}indent(){let{format:e}=this;e.preserveFormat||e.compact||e.concise||this._indent++}dedent(){let{format:e}=this;e.preserveFormat||e.compact||e.concise||this._indent--}semicolon(e=!1){if(this._maybeAddAuxComment(),e){this._appendChar(59),this._noLineTerminator=!1;return}if(this.tokenMap){let i=this._currentNode;if(i.start!=null&&i.end!=null){if(!this.tokenMap.endMatches(i,";")){this._printSemicolonBeforeNextNode=this._buf.getCurrentLine();return}let r=this.tokenMap.getIndexes(this._currentNode);this._catchUpTo(this._tokens[r[r.length-1]].loc.start)}}this._queue(59),this._noLineTerminator=!1}rightBrace(e){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)}rightParens(e){this.sourceWithOffset("end",e.loc,-1),this.tokenChar(41)}space(e=!1){let{format:i}=this;if(!(i.compact||i.preserveFormat)){if(e)this._space();else if(this._buf.hasContent()){let r=this.getLastChar();r!==32&&r!==10&&this._space()}}}word(e,i=!1){this.tokenContext&=It.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(e),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(e),(this._endsWithWord||this._endsWithDiv&&e.charCodeAt(0)===47)&&this._space(),this._append(e,!1),this._endsWithWord=!0,this._noLineTerminator=i}number(e,i){function r(s){if(s.length>2&&s.charCodeAt(0)===48){let n=s.charCodeAt(1);return n===98||n===111||n===120}return!1}this.word(e),this._endsWithInteger=Number.isInteger(i)&&!r(e)&&!OV.test(e)&&!NV.test(e)&&e.charCodeAt(e.length-1)!==46}token(e,i=!1,r=0){this.tokenContext&=It.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(e,r),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(e,r);let s=this.getLastChar(),n=e.charCodeAt(0);(s===33&&(e==="--"||n===61)||n===43&&s===43||n===45&&s===45||n===46&&this._endsWithInteger)&&this._space(),this._append(e,i),this._noLineTerminator=!1}tokenChar(e){this.tokenContext&=It.TokenContext.forInOrInitHeadAccumulatePassThroughMask;let i=String.fromCharCode(e);this._maybePrintInnerComments(i),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(i);let r=this.getLastChar();(e===43&&r===43||e===45&&r===45||e===46&&this._endsWithInteger)&&this._space(),this._appendChar(e),this._noLineTerminator=!1}newline(e=1,i){if(!(e<=0)){if(!i){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}}e>2&&(e=2),e-=this._buf.getNewlineCount();for(let r=0;r<e;r++)this._newline()}}endsWith(e){return this.getLastChar()===e}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(e,i){if(!e){i();return}this._catchUp("start",e),this._buf.exactSource(e,i)}source(e,i){i&&(this._catchUp(e,i),this._buf.source(e,i))}sourceWithOffset(e,i,r){!i||this.format.preserveFormat||(this._catchUp(e,i),this._buf.sourceWithOffset(e,i,r))}sourceIdentifierName(e,i){if(!this._buf._canMarkIdName)return;let r=this._buf._sourcePosition;r.identifierNamePos=i,r.identifierName=e}_space(){this._queue(32)}_newline(){this._queue(10)}_catchUpToCurrentToken(e,i=0){let r=this.tokenMap.findMatching(this._currentNode,e,i);r&&this._catchUpTo(r.loc.start),this._printSemicolonBeforeNextToken!==-1&&this._printSemicolonBeforeNextToken===this._buf.getCurrentLine()&&(this._buf.appendChar(59),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1),this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1}_append(e,i){this._maybeIndent(e.charCodeAt(0)),this._buf.append(e,i),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(e){this._maybeIndent(e),this._buf.appendChar(e),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(e){this._maybeIndent(e),this._buf.queue(e),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(e){this._indent&&e!==10&&this.endsWith(10)&&this._buf.queueIndentation(this._getIndent())}_shouldIndent(e){if(this._indent&&e!==10&&this.endsWith(10))return!0}catchUp(e){if(!this.format.retainLines)return;let i=e-this._buf.getCurrentLine();for(let r=0;r<i;r++)this._newline()}_catchUp(e,i){let{format:r}=this;if(!r.preserveFormat){r.retainLines&&i!=null&&i[e]&&this.catchUp(i[e].line);return}let s=i?.[e];s!=null&&this._catchUpTo(s)}_catchUpTo({line:e,column:i,index:r}){let s=e-this._buf.getCurrentLine();if(s>0&&this._noLineTerminator)return;for(let a=0;a<s;a++)this._newline();let n=s>0?i:i-this._buf.getCurrentColumn();if(n>0){let a=this._originalCode?this._originalCode.slice(r-n,r).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu," "):" ".repeat(n);this._append(a,!1)}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(e){this._noLineTerminator=!0,this.print(e)}print(e,i,r){var s,n,a;if(!e)return;this._endsWithInnerRaw=!1;let l=e.type,c=this.format,o=c.concise;e._compact&&(c.concise=!0);let u=this[l];if(u===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify(l)} with constructor ${JSON.stringify(e.constructor.name)}`);let f=this._currentNode;this._currentNode=e,this.tokenMap&&(this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode);let d=this._insideAux;this._insideAux=e.loc==null,this._maybeAddAuxComment(this._insideAux&&!d);let y=(s=e.extra)==null?void 0:s.parenthesized,E=y&&c.preserveFormat||y&&c.retainFunctionParens&&l==="FunctionExpression"||LV(e,f,this.tokenContext,c.preserveFormat?this._boundGetRawIdentifier:void 0);if(!E&&y&&(n=e.leadingComments)!=null&&n.length&&e.leadingComments[0].type==="CommentBlock")switch(f?.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(f.callee!==e)break;default:E=!0}let P=!1;!E&&this._noLineTerminator&&((a=e.leadingComments)!=null&&a.some(XT)||this.format.retainLines&&e.loc&&e.loc.start.line>this._buf.getCurrentLine())&&(E=!0,P=!0);let A,I;if(!E&&(i||(i=f&&this._noLineTerminatorAfterNode===f&&HT.isLastChild(f,e)),i)){var k;(k=e.trailingComments)!=null&&k.some(XT)?AV(e)&&(E=!0):(A=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=e)}E&&(this.tokenChar(40),P&&this.indent(),this._endsWithInnerRaw=!1,this.tokenContext&It.TokenContext.forInOrInitHeadAccumulate&&(I=this.tokenContext,this.tokenContext=It.TokenContext.normal),A=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null),this._lastCommentLine=0,this._printLeadingComments(e,f);let M=l==="Program"||l==="File"?null:e.loc;this.exactSource(M,u.bind(this,e,f)),E?(this._printTrailingComments(e,f),P&&(this.dedent(),this.newline()),this.tokenChar(41),this._noLineTerminator=i,I&&(this.tokenContext=I)):i&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(e,f)):this._printTrailingComments(e,f,r),this._currentNode=f,c.concise=o,this._insideAux=d,A!==void 0&&(this._noLineTerminatorAfterNode=A),this._endsWithInnerRaw=!1}_maybeAddAuxComment(e){e&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let e=this.format.auxiliaryCommentBefore;e&&this._printComment({type:"CommentBlock",value:e},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let e=this.format.auxiliaryCommentAfter;e&&this._printComment({type:"CommentBlock",value:e},0)}getPossibleRaw(e){let i=e.extra;if(i?.raw!=null&&i.rawValue!=null&&e.value===i.rawValue)return i.raw}printJoin(e,i,r,s,n,a,l,c){if(!(e!=null&&e.length))return;if(r==null&&this.format.retainLines){var o;let P=(o=e[0].loc)==null?void 0:o.start.line;P!=null&&P!==this._buf.getCurrentLine()&&(r=!0)}r&&this.indent();let u={addNewlines:a,nextNodeStartLine:0},f=s?.bind(this),d=e.length;for(let P=0;P<d;P++){let A=e[P];if(A&&(i&&this._printNewline(P===0,u),this.print(A,void 0,c||0),l?.(A,P),f!=null&&(P<d-1?f(P,!1):n&&f(P,!0)),i)){var y;if((y=A.trailingComments)!=null&&y.length||(this._lastCommentLine=0),P+1===d)this.newline(1);else{var E;let I=e[P+1];u.nextNodeStartLine=((E=I.loc)==null?void 0:E.start.line)||0,this._printNewline(!0,u)}}}r&&this.dedent()}printAndIndentOnComments(e){let i=e.leadingComments&&e.leadingComments.length>0;i&&this.indent(),this.print(e),i&&this.dedent()}printBlock(e){let i=e.body;i.type!=="EmptyStatement"&&this.space(),this.print(i)}_printTrailingComments(e,i,r){let{innerComments:s,trailingComments:n}=e;s!=null&&s.length&&this._printComments(2,s,e,i,r),n!=null&&n.length&&this._printComments(2,n,e,i,r)}_printLeadingComments(e,i){let r=e.leadingComments;r!=null&&r.length&&this._printComments(0,r,e,i)}_maybePrintInnerComments(e,i){if(this._endsWithInnerRaw){var r;this.printInnerComments((r=this.tokenMap)==null?void 0:r.findMatching(this._currentNode,e,i))}this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(e){let i=this._currentNode,r=i.innerComments;if(!(r!=null&&r.length))return;let s=this.endsWith(32),n=this._indentInnerComments,a=this._printedComments.size;n&&this.indent(),this._printComments(1,r,i,void 0,void 0,e),s&&a!==this._printedComments.size&&this.space(),n&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(e,i,r,s){this.printJoin(e,!0,i??!1,void 0,void 0,s,void 0,r)}printList(e,i,r,s,n,a){this.printJoin(e,r,s,n??MV,i,void 0,a)}shouldPrintTrailingComma(e){if(!this.tokenMap)return null;let i=this.tokenMap.findLastIndex(this._currentNode,r=>this.tokenMap.matchesOriginal(r,e));return i<=0?null:this.tokenMap.matchesOriginal(this._tokens[i-1],",")}_printNewline(e,i){let r=this.format;if(r.retainLines||r.compact)return;if(r.concise){this.space();return}if(!e)return;let s=i.nextNodeStartLine,n=this._lastCommentLine;if(s>0&&n>0){let a=s-n;if(a>=0){this.newline(a||1);return}}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(e,i){if(e.ignore||this._printedComments.has(e))return 0;if(this._noLineTerminator&&DV.test(e.value))return 2;if(i&&this.tokenMap){let r=this.tokenMap.find(this._currentNode,s=>s.value===e.value);if(r&&r.start>i.start)return 2}return this._printedComments.add(e),this.format.shouldPrintComment(e.value)?1:0}_printComment(e,i){let r=this._noLineTerminator,s=e.type==="CommentBlock",n=s&&i!==1&&!this._noLineTerminator;n&&this._buf.hasContent()&&i!==2&&this.newline(1);let a=this.getLastChar();a!==91&&a!==123&&a!==40&&this.space();let l;if(s){if(l=`/*${e.value}*/`,this.format.indent.adjustMultilineComment){var c;let o=(c=e.loc)==null?void 0:c.start.column;if(o){let u=new RegExp("\\n\\s{1,"+o+"}","g");l=l.replace(u,`
|
|
26
26
|
`)}if(this.format.concise)l=l.replace(/\n(?!$)/g,`
|
|
27
27
|
`);else{let u=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(u+=this._getIndent()),l=l.replace(/\n(?!$)/g,`
|
|
@@ -53,7 +53,7 @@ ${e}`,r}}}});var Ex=_(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{v
|
|
|
53
53
|
|
|
54
54
|
return ${Yr(r)};
|
|
55
55
|
})(${Cx(this.node)})
|
|
56
|
-
`;return this.replaceWith(o)[0].get("arguments.0")}function SX(t){let e=t.params.findIndex(i=>QJ(i)||ZJ(i));return e===-1?t.params.length:e}});var Fx=_(lt=>{"use strict";Object.defineProperty(lt,"__esModule",{value:!0});lt._guessExecutionStatusRelativeTo=UX;lt._resolve=Mx;lt.canHaveVariableDeclarationOrExpression=LX;lt.canSwapBetweenExpressionAndStatement=MX;lt.getSource=RX;lt.isCompletionRecord=FX;lt.isConstantExpression=YX;lt.isInStrictMode=zX;lt.isNodeType=DX;lt.isStatementOrBlock=BX;lt.isStatic=NX;lt.matchesPattern=OX;lt.referencesImport=jX;lt.resolve=WX;lt.willIMaybeExecuteBefore=qX;var EX=be(),{STATEMENT_OR_BLOCK_KEYS:PX,VISITOR_KEYS:vX,isBlockStatement:Lx,isExpression:AX,isIdentifier:wX,isLiteral:CX,isStringLiteral:IX,isType:kX,matchesPattern:_X}=EX;function OX(t,e){return _X(this.node,t,e)}lt.has=function(e){var i;let r=(i=this.node)==null?void 0:i[e];return r&&Array.isArray(r)?!!r.length:!!r};function NX(){return this.scope.isStatic(this.node)}lt.is=lt.has,lt.isnt=function(e){return!this.has(e)},lt.equals=function(e,i){return this.node[e]===i};function DX(t){return kX(this.type,t)}function LX(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function MX(t){return this.key!=="body"||!this.parentPath.isArrowFunctionExpression()?!1:this.isExpression()?Lx(t):this.isBlockStatement()?AX(t):!1}function FX(t){let e=this,i=!0;do{let{type:r,container:s}=e;if(!i&&(e.isFunction()||r==="StaticBlock"))return!!t;if(i=!1,Array.isArray(s)&&e.key!==s.length-1)return!1}while((e=e.parentPath)&&!e.isProgram()&&!e.isDoExpression());return!0}function BX(){return this.parentPath.isLabeledStatement()||Lx(this.container)?!1:PX.includes(this.key)}function jX(t,e){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===e||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?IX(this.node.property,{value:e}):this.node.property.name===e)){let n=this.get("object");return n.isReferencedIdentifier()&&n.referencesImport(t,"*")}return!1}let i=this.scope.getBinding(this.node.name);if(!i||i.kind!=="module")return!1;let r=i.path,s=r.parentPath;if(!s.isImportDeclaration())return!1;if(s.node.source.value===t){if(!e)return!0}else return!1;return!!(r.isImportDefaultSpecifier()&&e==="default"||r.isImportNamespaceSpecifier()&&e==="*"||r.isImportSpecifier()&&wX(r.node.imported,{name:e}))}function RX(){let t=this.node;if(t.end){let e=this.hub.getCode();if(e)return e.slice(t.start,t.end)}return""}function qX(t){return this._guessExecutionStatusRelativeTo(t)!=="after"}function Ox(t){return t.isProgram()?t:(t.parentPath.scope.getFunctionParent()||t.parentPath.scope.getProgramParent()).path}function $X(t,e){switch(t){case"LogicalExpression":return e==="right";case"ConditionalExpression":case"IfStatement":return e==="consequent"||e==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return e==="body";case"ForStatement":return e==="body"||e==="update";case"SwitchStatement":return e==="cases";case"TryStatement":return e==="handler";case"AssignmentPattern":return e==="right";case"OptionalMemberExpression":return e==="property";case"OptionalCallExpression":return e==="arguments";default:return!1}}function Nx(t,e){for(let i=0;i<e;i++){let r=t[i];if($X(r.parent.type,r.parentKey))return!0}return!1}var Dx=Symbol();function UX(t){return ih(this,t,new Map)}function ih(t,e,i){let r={this:Ox(t),target:Ox(e)};if(r.target.node!==r.this.node)return VX(t,r.target,i);let s={target:e.getAncestry(),this:t.getAncestry()};if(s.target.includes(t))return"after";if(s.this.includes(e))return"before";let n,a={target:0,this:0};for(;!n&&a.this<s.this.length;){let u=s.this[a.this];a.target=s.target.indexOf(u),a.target>=0?n=u:a.this++}if(!n)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(Nx(s.this,a.this-1)||Nx(s.target,a.target-1))return"unknown";let l={this:s.this[a.this-1],target:s.target[a.target-1]};if(l.target.listKey&&l.this.listKey&&l.target.container===l.this.container)return l.target.key>l.this.key?"before":"after";let c=vX[n.type],o={this:c.indexOf(l.this.parentKey),target:c.indexOf(l.target.parentKey)};return o.target>o.this?"before":"after"}function KX(t,e,i){if(e.isFunctionDeclaration()){if(e.parentPath.isExportDeclaration())return"unknown"}else return ih(t,e,i)==="before"?"before":"unknown";let r=e.scope.getBinding(e.node.id.name);if(!r.references)return"before";let s=r.referencePaths,n;for(let a of s){if(!!a.find(o=>o.node===e.node))continue;if(a.key!=="callee"||!a.parentPath.isCallExpression())return"unknown";let c=ih(t,a,i);if(n&&n!==c)return"unknown";n=c}return n}function VX(t,e,i){let r=i.get(t.node),s;if(!r)i.set(t.node,r=new Map);else if(s=r.get(e.node))return s===Dx?"unknown":s;r.set(e.node,Dx);let n=KX(t,e,i);return r.set(e.node,n),n}function WX(t,e){return Mx.call(this,t,e)||this}function Mx(t,e){var i;if(!((i=e)!=null&&i.includes(this)))if(e=e||[],e.push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(t,e)}else if(this.isReferencedIdentifier()){let r=this.scope.getBinding(this.node.name);if(!r||!r.constant||r.kind==="module")return;if(r.path!==this){let s=r.path.resolve(t,e);return this.find(n=>n.node===s.node)?void 0:s}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(t,e);if(t&&this.isMemberExpression()){let r=this.toComputedKey();if(!CX(r))return;let s=r.value,n=this.get("object").resolve(t,e);if(n.isObjectExpression()){let a=n.get("properties");for(let l of a){if(!l.isProperty())continue;let c=l.get("key"),o=l.isnt("computed")&&c.isIdentifier({name:s});if(o=o||c.isLiteral({value:s}),o)return l.get("value").resolve(t,e)}}else if(n.isArrayExpression()&&!isNaN(+s)){let l=n.get("elements")[s];if(l)return l.resolve(t,e)}}}}function YX(){if(this.isIdentifier()){let t=this.scope.getBinding(this.node.name);return t?t.constant:!1}if(this.isLiteral())return this.isRegExpLiteral()?!1:this.isTemplateLiteral()?this.get("expressions").every(t=>t.isConstantExpression()):!0;if(this.isUnaryExpression())return this.node.operator!=="void"?!1:this.get("argument").isConstantExpression();if(this.isBinaryExpression()){let{operator:t}=this.node;return t!=="in"&&t!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return this.isMemberExpression()?!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0}):this.isCallExpression()?this.node.arguments.length===1&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral():!1}function zX(){return!!(this.isProgram()?this:this.parentPath).find(i=>{if(i.isProgram({sourceType:"module"})||i.isClass())return!0;if(i.isArrowFunctionExpression()&&!i.get("body").isBlockStatement())return!1;let r;if(i.isFunction())r=i.node.body;else if(i.isProgram())r=i.node;else return!1;for(let s of r.directives)if(s.value.value==="use strict")return!0})}});var $x=_(At=>{"use strict";Object.defineProperty(At,"__esModule",{value:!0});At._getKey=Rx;At._getPattern=qx;At.get=uH;At.getAllNextSiblings=lH;At.getAllPrevSiblings=cH;At.getAssignmentIdentifiers=pH;At.getBindingIdentifierPaths=dH;At.getBindingIdentifiers=fH;At.getCompletionRecords=sH;At.getNextSibling=oH;At.getOpposite=tH;At.getOuterBindingIdentifierPaths=mH;At.getOuterBindingIdentifiers=hH;At.getPrevSibling=aH;At.getSibling=nH;var sh=Ji(),JX=be(),{getAssignmentIdentifiers:XX,getBindingIdentifiers:jx,getOuterBindingIdentifiers:HX,numericLiteral:GX,unaryExpression:QX}=JX,nh=0,Kn=1;function ZX(t){return{type:nh,path:t}}function eH(t){return{type:Kn,path:t}}function tH(){return this.key==="left"?this.getSibling("right"):this.key==="right"?this.getSibling("left"):null}function ks(t,e,i){return t&&e.push(..._s(t,i)),e}function iH(t,e,i){let r=[];for(let s=0;s<t.length;s++){let n=t[s],a=_s(n,i),l=[],c=[];for(let o of a)o.type===nh&&l.push(o),o.type===Kn&&c.push(o);l.length&&(r=l),e.push(...c)}return e.push(...r),e}function rH(t){t.forEach(e=>{e.type=Kn})}function rh(t,e){t.forEach(i=>{i.path.isBreakStatement({label:null})&&(e?i.path.replaceWith(QX("void",GX(0))):i.path.remove())})}function Bx(t,e){let i=[];if(e.canHaveBreak){let r=[];for(let s=0;s<t.length;s++){let n=t[s],a=Object.assign({},e,{inCaseClause:!1});n.isBlockStatement()&&(e.inCaseClause||e.shouldPopulateBreak)?a.shouldPopulateBreak=!0:a.shouldPopulateBreak=!1;let l=_s(n,a);if(l.length>0&&l.every(c=>c.type===Kn)){r.length>0&&l.every(c=>c.path.isBreakStatement({label:null}))?(rH(r),i.push(...r),r.some(c=>c.path.isDeclaration())&&(i.push(...l),e.shouldPreserveBreak||rh(l,!0)),e.shouldPreserveBreak||rh(l,!1)):(i.push(...l),!e.shouldPopulateBreak&&!e.shouldPreserveBreak&&rh(l,!0));break}if(s===t.length-1)i.push(...l);else{r=[];for(let c=0;c<l.length;c++){let o=l[c];o.type===Kn&&i.push(o),o.type===nh&&r.push(o)}}}}else if(t.length)for(let r=t.length-1;r>=0;r--){let s=_s(t[r],e);if(s.length>1||s.length===1&&!s[0].path.isVariableDeclaration()&&!s[0].path.isEmptyStatement()){i.push(...s);break}}return i}function _s(t,e){let i=[];if(t.isIfStatement())i=ks(t.get("consequent"),i,e),i=ks(t.get("alternate"),i,e);else{if(t.isDoExpression()||t.isFor()||t.isWhile()||t.isLabeledStatement())return ks(t.get("body"),i,e);if(t.isProgram()||t.isBlockStatement())return Bx(t.get("body"),e);if(t.isFunction())return _s(t.get("body"),e);if(t.isTryStatement())i=ks(t.get("block"),i,e),i=ks(t.get("handler"),i,e);else{if(t.isCatchClause())return ks(t.get("body"),i,e);if(t.isSwitchStatement())return iH(t.get("cases"),i,e);if(t.isSwitchCase())return Bx(t.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0,shouldPreserveBreak:e.shouldPreserveBreak});t.isBreakStatement()?i.push(eH(t)):i.push(ZX(t))}}return i}function sH(t=!1){return _s(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1,shouldPreserveBreak:t}).map(i=>i.path)}function nH(t){return sh.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:t}).setContext(this.context)}function aH(){return this.getSibling(this.key-1)}function oH(){return this.getSibling(this.key+1)}function lH(){let t=this.key,e=this.getSibling(++t),i=[];for(;e.node;)i.push(e),e=this.getSibling(++t);return i}function cH(){let t=this.key,e=this.getSibling(--t),i=[];for(;e.node;)i.push(e),e=this.getSibling(--t);return i}function uH(t,e=!0){e===!0&&(e=this.context);let i=t.split(".");return i.length===1?Rx.call(this,t,e):qx.call(this,i,e)}function Rx(t,e){let i=this.node,r=i[t];return Array.isArray(r)?r.map((s,n)=>sh.default.get({listKey:t,parentPath:this,parent:i,container:r,key:n}).setContext(e)):sh.default.get({parentPath:this,parent:i,container:i,key:t}).setContext(e)}function qx(t,e){let i=this;for(let r of t)r==="."?i=i.parentPath:Array.isArray(i)?i=i[r]:i=i.get(r,e);return i}function pH(){return XX(this.node)}function fH(t){return jx(this.node,t)}function hH(t){return HX(this.node,t)}function dH(t=!1,e=!1){let r=[this],s=Object.create(null);for(;r.length;){let n=r.shift();if(!n||!n.node)continue;let a=jx.keys[n.node.type];if(n.isIdentifier()){t?(s[n.node.name]=s[n.node.name]||[]).push(n):s[n.node.name]=n;continue}if(n.isExportDeclaration()){let l=n.get("declaration");l.isDeclaration()&&r.push(l);continue}if(e){if(n.isFunctionDeclaration()){r.push(n.get("id"));continue}if(n.isFunctionExpression())continue}if(a)for(let l=0;l<a.length;l++){let c=a[l],o=n.get(c);Array.isArray(o)?r.push(...o):o.node&&r.push(o)}}return s}function mH(t=!1){return this.getBindingIdentifierPaths(t,!0)}});var Kx=_(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.addComment=bH;Vn.addComments=SH;Vn.shareCommentsWithSiblings=xH;var yH=be(),{addComment:TH,addComments:gH}=yH;function xH(){if(typeof this.key=="string")return;let t=this.node;if(!t)return;let e=t.trailingComments,i=t.leadingComments;if(!e&&!i)return;let r=this.getSibling(this.key-1),s=this.getSibling(this.key+1),n=!!r.node,a=!!s.node;n&&(i&&r.addComments("trailing",Ux(i,r.node.trailingComments)),e&&!a&&r.addComments("trailing",e)),a&&(e&&s.addComments("leading",Ux(e,s.node.leadingComments)),i&&!n&&s.addComments("leading",i))}function Ux(t,e){if(!(e!=null&&e.length))return t;let i=new Set(e);return t.filter(r=>!i.has(r))}function bH(t,e,i){TH(this.node,t,e,i)}function SH(t,e){gH(this.node,t,e)}});var Ji=_(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.default=Li.SHOULD_STOP=Li.SHOULD_SKIP=Li.REMOVED=void 0;var EH=Tc(),PH=hm(),vH=_n(),AH=Lp(),Yx=be(),Go=Yx,wH=jr(),CH=rg(),Ni=sg(),Os=vg(),Ns=kf(),Vx=cx(),zr=_x(),pt=Fx(),zx=mi(),ct=zx,Ds=Uo(),Di=Ko(),Rt=$x(),ah=Kx(),IH=Cp(),{validate:kH}=Yx,Wx=PH("babel"),_oe=Li.REMOVED=1,Ooe=Li.SHOULD_STOP=2,Noe=Li.SHOULD_SKIP=4,Hi=Li.default=class Jx{constructor(e,i){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._store=null,this.parent=i,this.hub=e,this.data=null,this.context=null,this.scope=null}get removed(){return(this._traverseFlags&1)>0}set removed(e){e?this._traverseFlags|=1:this._traverseFlags&=-2}get shouldStop(){return(this._traverseFlags&2)>0}set shouldStop(e){e?this._traverseFlags|=2:this._traverseFlags&=-3}get shouldSkip(){return(this._traverseFlags&4)>0}set shouldSkip(e){e?this._traverseFlags|=4:this._traverseFlags&=-5}static get({hub:e,parentPath:i,parent:r,container:s,listKey:n,key:a}){if(!e&&i&&(e=i.hub),!r)throw new Error("To get a node path the parent needs to exist");let l=s[a],c=wH.getOrCreateCachedPaths(r,i),o=c.get(l);return o||(o=new Jx(e,r),l&&c.set(l,o)),zx.setup.call(o,i,s,n,a),o}getScope(e){return this.isScope()?new AH.default(this):e}setData(e,i){return this.data==null&&(this.data=Object.create(null)),this.data[e]=i}getData(e,i){this.data==null&&(this.data=Object.create(null));let r=this.data[e];return r===void 0&&i!==void 0&&(r=this.data[e]=i),r}hasNode(){return this.node!=null}buildCodeFrameError(e,i=SyntaxError){return this.hub.buildError(this.node,e,i)}traverse(e,i){(0,vH.default)(this.node,e,this.scope,i,this)}set(e,i){kH(this.node,e,i),this.node[e]=i}getPathLocation(){let e=[],i=this;do{let r=i.key;i.inList&&(r=`${i.listKey}[${r}]`),e.unshift(r)}while(i=i.parentPath);return e.join(".")}debug(e){Wx.enabled&&Wx(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,CH.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){e||(this.listKey=null)}get parentKey(){return this.listKey||this.key}},_H={findParent:Ni.findParent,find:Ni.find,getFunctionParent:Ni.getFunctionParent,getStatementParent:Ni.getStatementParent,getEarliestCommonAncestorFrom:Ni.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:Ni.getDeepestCommonAncestorFrom,getAncestry:Ni.getAncestry,isAncestor:Ni.isAncestor,isDescendant:Ni.isDescendant,inType:Ni.inType,getTypeAnnotation:Os.getTypeAnnotation,isBaseType:Os.isBaseType,couldBeBaseType:Os.couldBeBaseType,baseTypeStrictlyMatches:Os.baseTypeStrictlyMatches,isGenericType:Os.isGenericType,replaceWithMultiple:Ns.replaceWithMultiple,replaceWithSourceString:Ns.replaceWithSourceString,replaceWith:Ns.replaceWith,replaceExpressionWithStatements:Ns.replaceExpressionWithStatements,replaceInline:Ns.replaceInline,evaluateTruthy:Vx.evaluateTruthy,evaluate:Vx.evaluate,toComputedKey:zr.toComputedKey,ensureBlock:zr.ensureBlock,unwrapFunctionEnvironment:zr.unwrapFunctionEnvironment,arrowFunctionToExpression:zr.arrowFunctionToExpression,splitExportDeclaration:zr.splitExportDeclaration,ensureFunctionName:zr.ensureFunctionName,matchesPattern:pt.matchesPattern,isStatic:pt.isStatic,isNodeType:pt.isNodeType,canHaveVariableDeclarationOrExpression:pt.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:pt.canSwapBetweenExpressionAndStatement,isCompletionRecord:pt.isCompletionRecord,isStatementOrBlock:pt.isStatementOrBlock,referencesImport:pt.referencesImport,getSource:pt.getSource,willIMaybeExecuteBefore:pt.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:pt._guessExecutionStatusRelativeTo,resolve:pt.resolve,isConstantExpression:pt.isConstantExpression,isInStrictMode:pt.isInStrictMode,isDenylisted:ct.isDenylisted,visit:ct.visit,skip:ct.skip,skipKey:ct.skipKey,stop:ct.stop,setContext:ct.setContext,requeue:ct.requeue,requeueComputedKeyAndDecorators:ct.requeueComputedKeyAndDecorators,remove:Ds.remove,insertBefore:Di.insertBefore,insertAfter:Di.insertAfter,unshiftContainer:Di.unshiftContainer,pushContainer:Di.pushContainer,getOpposite:Rt.getOpposite,getCompletionRecords:Rt.getCompletionRecords,getSibling:Rt.getSibling,getPrevSibling:Rt.getPrevSibling,getNextSibling:Rt.getNextSibling,getAllNextSiblings:Rt.getAllNextSiblings,getAllPrevSiblings:Rt.getAllPrevSiblings,get:Rt.get,getAssignmentIdentifiers:Rt.getAssignmentIdentifiers,getBindingIdentifiers:Rt.getBindingIdentifiers,getOuterBindingIdentifiers:Rt.getOuterBindingIdentifiers,getBindingIdentifierPaths:Rt.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:Rt.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:ah.shareCommentsWithSiblings,addComment:ah.addComment,addComments:ah.addComments};Object.assign(Hi.prototype,_H);Hi.prototype.arrowFunctionToShadowed=zr.arrowFunctionToShadowed,Object.assign(Hi.prototype,{has:pt.has,is:pt.is,isnt:pt.isnt,equals:pt.equals,hoist:Di.hoist,updateSiblingKeys:Di.updateSiblingKeys,call:ct.call,isBlacklisted:ct.isBlacklisted,setScope:ct.setScope,resync:ct.resync,popContext:ct.popContext,pushContext:ct.pushContext,setup:ct.setup,setKey:ct.setKey});Hi.prototype._guessExecutionStatusRelativeToDifferentFunctions=pt._guessExecutionStatusRelativeTo,Hi.prototype._guessExecutionStatusRelativeToDifferentFunctions=pt._guessExecutionStatusRelativeTo,Object.assign(Hi.prototype,{_getTypeAnnotation:Os._getTypeAnnotation,_replaceWith:Ns._replaceWith,_resolve:pt._resolve,_call:ct._call,_resyncParent:ct._resyncParent,_resyncKey:ct._resyncKey,_resyncList:ct._resyncList,_resyncRemoved:ct._resyncRemoved,_getQueueContexts:ct._getQueueContexts,_removeFromScope:Ds._removeFromScope,_callRemovalHooks:Ds._callRemovalHooks,_remove:Ds._remove,_markRemoved:Ds._markRemoved,_assertUnremoved:Ds._assertUnremoved,_containerInsert:Di._containerInsert,_containerInsertBefore:Di._containerInsertBefore,_containerInsertAfter:Di._containerInsertAfter,_verifyNodeList:Di._verifyNodeList,_getKey:Rt._getKey,_getPattern:Rt._getPattern});for(let t of Go.TYPES){let e=`is${t}`,i=Go[e];Hi.prototype[e]=function(r){return i(this.node,r)},Hi.prototype[`assert${t}`]=function(r){if(!i(this.node,r))throw new TypeError(`Expected node path of type ${t}`)}}Object.assign(Hi.prototype,IH);for(let t of Object.keys(EH))t[0]!=="_"&&(Go.TYPES.includes(t)||Go.TYPES.push(t))});var Xx=_(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var OH=Ji(),NH=be(),oh=mi(),{VISITOR_KEYS:DH}=NH,lh=class{constructor(e,i,r,s){this.queue=null,this.priorityQueue=null,this.parentPath=s,this.scope=e,this.state=r,this.opts=i}shouldVisit(e){let i=this.opts;if(i.enter||i.exit||i[e.type])return!0;let r=DH[e.type];if(!(r!=null&&r.length))return!1;for(let s of r)if(e[s])return!0;return!1}create(e,i,r,s){return OH.default.get({parentPath:this.parentPath,parent:e,container:i,key:r,listKey:s})}maybeQueue(e,i){this.queue&&(i?this.queue.push(e):this.priorityQueue.push(e))}visitMultiple(e,i,r){if(e.length===0)return!1;let s=[];for(let n=0;n<e.length;n++){let a=e[n];a&&this.shouldVisit(a)&&s.push(this.create(i,e,n,r))}return this.visitQueue(s)}visitSingle(e,i){return this.shouldVisit(e[i])?this.visitQueue([this.create(e,e,i)]):!1}visitQueue(e){this.queue=e,this.priorityQueue=[];let i=new WeakSet,r=!1,s=0;for(;s<e.length;){let n=e[s];if(s++,oh.resync.call(n),(n.contexts.length===0||n.contexts[n.contexts.length-1]!==this)&&oh.pushContext.call(n,this),n.key===null)continue;let{node:a}=n;if(!i.has(a)){if(a&&i.add(a),n.visit()){r=!0;break}if(this.priorityQueue.length&&(r=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,r))break}}for(let n=0;n<s;n++)oh.popContext.call(e[n]);return this.queue=null,r}visit(e,i){let r=e[i];return r?Array.isArray(r)?this.visitMultiple(r,e,i):this.visitSingle(e,i):!1}};Qo.default=lh});var yo=_(ch=>{"use strict";Object.defineProperty(ch,"__esModule",{value:!0});ch.traverseNode=BH;var LH=Xx(),Moe=Ji(),MH=be(),Foe=mi(),{VISITOR_KEYS:FH}=MH;function BH(t,e,i,r,s,n,a){let l=FH[t.type];if(!l)return!1;let c=new LH.default(i,e,r,s);if(a)return n!=null&&n[s.parentKey]?!1:c.visitQueue([s]);for(let o of l)if(!(n!=null&&n[o])&&c.visit(t,o))return!0;return!1}});var mi=_(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});rt._call=ph;rt._getQueueContexts=ZH;rt._resyncKey=tb;rt._resyncList=ib;rt._resyncParent=eb;rt._resyncRemoved=zH;rt.call=uh;rt.isDenylisted=Qx;rt.popContext=JH;rt.pushContext=XH;rt.requeue=GH;rt.requeueComputedKeyAndDecorators=QH;rt.resync=YH;rt.setContext=WH;rt.setKey=Zo;rt.setScope=Zx;rt.setup=HH;rt.skip=UH;rt.skipKey=KH;rt.stop=VH;rt.visit=$H;var jH=yo(),Hx=Ji(),RH=Uo(),qH=be();function uh(t){let e=this.opts;if(this.debug(t),this.node&&ph.call(this,e[t]))return!0;if(this.node){var i;return ph.call(this,(i=e[this.node.type])==null?void 0:i[t])}return!1}function ph(t){if(!t)return!1;for(let e of t){if(!e)continue;let i=this.node;if(!i)return!0;let r=e.call(this.state,this,this.state);if(r&&typeof r=="object"&&typeof r.then=="function")throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(r)throw new Error(`Unexpected return value from visitor method ${e}`);if(this.node!==i||this._traverseFlags>0)return!0}return!1}function Qx(){var t;let e=(t=this.opts.denylist)!=null?t:this.opts.blacklist;return e?.includes(this.node.type)}rt.isBlacklisted=Qx;function Gx(t,e){t.context!==e&&(t.context=e,t.state=e.state,t.opts=e.opts)}function $H(){var t,e;if(!this.node||this.isDenylisted()||(t=(e=this.opts).shouldSkip)!=null&&t.call(e,this))return!1;let i=this.context;return this.shouldSkip||uh.call(this,"enter")?(this.debug("Skip..."),this.shouldStop):(Gx(this,i),this.debug("Recursing into..."),this.shouldStop=(0,jH.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),Gx(this,i),uh.call(this,"exit"),this.shouldStop)}function UH(){this.shouldSkip=!0}function KH(t){this.skipKeys==null&&(this.skipKeys={}),this.skipKeys[t]=!0}function VH(){this._traverseFlags|=Hx.SHOULD_SKIP|Hx.SHOULD_STOP}function Zx(){var t,e;if((t=this.opts)!=null&&t.noScope)return;let i=this.parentPath;((this.key==="key"||this.listKey==="decorators")&&i.isMethod()||this.key==="discriminant"&&i.isSwitchStatement())&&(i=i.parentPath);let r;for(;i&&!r;){var s;if((s=i.opts)!=null&&s.noScope)return;r=i.scope,i=i.parentPath}this.scope=this.getScope(r),(e=this.scope)==null||e.init()}function WH(t){return this.skipKeys!=null&&(this.skipKeys={}),this._traverseFlags=0,t&&(this.context=t,this.state=t.state,this.opts=t.opts),Zx.call(this),this}function YH(){this.removed||(eb.call(this),ib.call(this),tb.call(this))}function eb(){this.parentPath&&(this.parent=this.parentPath.node)}function tb(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let t=0;t<this.container.length;t++)if(this.container[t]===this.node){Zo.call(this,t);return}}else for(let t of Object.keys(this.container))if(this.container[t]===this.node){Zo.call(this,t);return}this.key=null}}function ib(){if(!this.parent||!this.inList)return;let t=this.parent[this.listKey];this.container!==t&&(this.container=t||null)}function zH(){(this.key==null||!this.container||this.container[this.key]!==this.node)&&RH._markRemoved.call(this)}function JH(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)}function XH(t){this.contexts.push(t),this.setContext(t)}function HH(t,e,i,r){this.listKey=i,this.container=e,this.parentPath=t||this.parentPath,Zo.call(this,r)}function Zo(t){var e;this.key=t,this.node=this.container[this.key],this.type=(e=this.node)==null?void 0:e.type}function GH(t=this){if(t.removed)return;let e=this.contexts;for(let i of e)i.maybeQueue(t)}function QH(){let{context:t,node:e}=this;if(!qH.isPrivate(e)&&e.computed&&t.maybeQueue(this.get("key")),e.decorators)for(let i of this.get("decorators"))t.maybeQueue(i)}function ZH(){let t=this,e=this.contexts;for(;!e.length&&(t=t.parentPath,!!t);)e=t.contexts;return e}});var rb=_(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});el.default=void 0;var fh=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,i,r=TypeError){return new r(i)}};el.default=fh});var _n=_(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});Object.defineProperty(Gi,"Hub",{enumerable:!0,get:function(){return sG.default}});Object.defineProperty(Gi,"NodePath",{enumerable:!0,get:function(){return iG.default}});Object.defineProperty(Gi,"Scope",{enumerable:!0,get:function(){return rG.default}});Gi.visitors=Gi.default=void 0;mi();var Yn=fo();Gi.visitors=Yn;var eG=be(),tG=jr(),sb=yo(),iG=Ji(),rG=Lp(),sG=rb(),{VISITOR_KEYS:nG,removeProperties:aG,traverseFast:Wn}=eG;function xi(t,e={},i,r,s,n){if(t){if(!e.noScope&&!i&&t.type!=="Program"&&t.type!=="File")throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${t.type} node without passing scope and parentPath.`);if(!s&&n)throw new Error("visitSelf can only be used when providing a NodePath.");nG[t.type]&&(Yn.explode(e),(0,sb.traverseNode)(t,e,i,r,s,null,n))}}var qoe=Gi.default=xi;xi.visitors=Yn;xi.verify=Yn.verify;xi.explode=Yn.explode;xi.cheap=function(t,e){Wn(t,e)};xi.node=function(t,e,i,r,s,n){(0,sb.traverseNode)(t,e,i,r,s,n)};xi.clearNode=function(t,e){aG(t,e)};xi.removeProperties=function(t,e){return Wn(t,xi.clearNode,e),t};xi.hasType=function(t,e,i){return i!=null&&i.includes(t.type)?!1:t.type===e?!0:Wn(t,function(r){if(i!=null&&i.includes(r.type))return Wn.skip;if(r.type===e)return Wn.stop})};xi.cache=tG});var ab=_((Uoe,nb)=>{var oG=require("fs"),lG=ja(),cG=_n().default;function uG(t){let e=oG.readFileSync(t,"utf-8"),i=new Set,r,s={};function n(c){return!(!c||typeof c!="string"||(c=c.trim(),c.length===0)||!/[a-zA-Z0-9_-]/.test(c))}function a(c){n(c)&&i.add(c.trim())}try{r=lG.parse(e,{sourceType:"module",plugins:["jsx","typescript","classProperties","objectRestSpread","optionalChaining","nullishCoalescingOperator"]})}catch{return[]}function l(c){if(c)if(c.type==="StringLiteral"||c.type==="Literal")c.value.split(/\s+/).forEach(o=>a(o));else if(c.type==="ArrayExpression")c.elements.forEach(o=>l(o));else if(c.type==="TemplateLiteral")c.quasis.forEach(o=>{o.value.cooked&&o.value.cooked.split(/\s+/).forEach(u=>a(u))}),c.expressions.forEach(o=>l(o));else if(c.type==="Identifier"&&s[c.name]){let o=s[c.name];Array.isArray(o)?o.forEach(u=>a(u)):typeof o=="string"?o.split(/\s+/).forEach(u=>a(u)):typeof o=="object"&&Object.values(o).forEach(u=>{typeof u=="string"&&u.split(/\s+/).forEach(f=>a(f))})}else if(c.type==="BinaryExpression"&&c.operator==="+")l(c.left),l(c.right);else if(c.type==="ConditionalExpression")l(c.consequent),l(c.alternate);else if(c.type==="LogicalExpression")l(c.left),l(c.right);else if(c.type==="MemberExpression"){if(c.object.type==="Identifier"&&s[c.object.name]&&c.property.type==="Identifier"){let o=s[c.object.name][c.property.name];typeof o=="string"&&o.split(/\s+/).forEach(u=>a(u))}}else c.type==="ArrowFunctionExpression"&&(c.body.type==="TemplateLiteral"||c.body.type==="ConditionalExpression"?l(c.body):c.body.type==="BlockStatement"&&c.body.body.forEach(o=>{o.type==="ReturnStatement"&&o.argument&&l(o.argument)}))}return cG(r,{VariableDeclarator(c){if(c.node.init&&c.node.id.type==="Identifier"){let o=c.node.id.name,u=/Class$/.test(o)||/class$/.test(o),f=u||/color|variant|style/i.test(o);if(c.node.init.type==="ObjectExpression"&&f){let d={};c.node.init.properties.forEach(y=>{y.key.type==="Identifier"&&y.value.type==="StringLiteral"&&(d[y.key.name]=y.value.value)}),s[o]=d}else if((c.node.init.type==="ArrayExpression"||c.node.init.type==="StringLiteral")&&f){let d=[];c.node.init.type==="ArrayExpression"?c.node.init.elements.forEach(y=>{y&&y.type==="StringLiteral"&&y.value.split(/\s+/).forEach(E=>{n(E)&&d.push(E.trim())})}):c.node.init.type==="StringLiteral"&&c.node.init.value.split(/\s+/).forEach(y=>{n(y)&&d.push(y.trim())}),s[o]=d}else c.node.init.type==="StringLiteral"&&u&&(s[o]=c.node.init.value)}},ObjectProperty(c){let o=c.node.key.name||(c.node.key.type==="StringLiteral"?c.node.key.value:null);o&&/Class$|^className$/i.test(o)&&(c.node.value.type==="StringLiteral"?c.node.value.value.split(/\s+/).forEach(u=>a(u)):c.node.value.type==="TemplateLiteral"&&l(c.node.value))},JSXAttribute(c){if(typeof c.node.name.name=="string"&&/^(class(Name)?|.*[cC]lass)$/.test(c.node.name.name)){let o=c.node.value;o&&(o.type==="StringLiteral"?o.value.split(/\s+/).forEach(u=>a(u)):o.type==="JSXExpressionContainer"&&l(o.expression))}}}),Array.from(i).filter(n)}nb.exports=uG});var dh=require("fs"),Tb=require("path"),pG=Ed(),fG=wd(),ob=Id(),lb=_d(),hG=ab(),cb=(...t)=>t.reduce((e,i)=>fG(e,i||{},{arrayMerge:(r,s)=>s}),{}),ub=()=>{try{return require(Tb.resolve(process.cwd(),"unicss.config.js"))}catch{return{}}},at=t=>t.replace(/([:\/\[\]\(\)\?\=\&\,\'\;\+\"#%\*!])/g,"\\$1").replace(/\./g,"\\.").replace(/^([0-9])/,"\\$1"),qt=t=>t.replace(/\./g,"\\."),D=(t,e)=>{let i=t.replace(/[\[\]]/g,"");return["bg-image","mask-image","list-image"].includes(e)?/^url\(/i.test(i.trim())?i:i.replace(/_/g," "):i.replace(/_/g," ").replace(/calc\(([^)]+)\)/g,(s,n)=>`calc(${n.replace(/([+\-*\/])/g," $1 ").replace(/\s+/g," ").trim()})`)},pb=t=>{let e=dh.readFileSync(t,"utf-8"),i=[];return[/class=["']([^"']+)["']/g,/className=["']([^"']+)["']/g,/class=\{["'`]([^"'`]+)["'`]\}/g,/className=\{["'`]([^"'`]+)["'`]\}/g,/class:\s*["']([^"']+)["']/g,/class:\s*\[["']([^"']+)["']\]/g].forEach(s=>{let n;for(;(n=s.exec(e))!==null;){let a=n[1];if(a){let l=a.split(/\s+/).filter(Boolean);i.push(...l)}}}),i},Ie=t=>{if(t=t.replace(/[\[\]]/g,""),["inherit","current","transparent","currentColor"].includes(t))return t==="current"?"currentColor":t;let i=t.match(/^rgba?\((\d+),(\d+),(\d+)(?:,(\d*\.?\d+))?\)$/);if(i){let[,s,n,a,l]=i;return`rgba(${s},${n},${a},${l||1})`}let r=t.match(/^rgb\((\d+)_(\d+)_(\d+)(?:_\/(\d+))?\)$/);if(r){let[,s,n,a,l]=r,c=l?parseInt(l,10)/100:1;return`rgba(${s},${n},${a},${c})`}if(/^#[0-9A-Fa-f]{6}$|^#[0-9A-Fa-f]{3}$/.test(t))return t;if(t.includes("/")){let[s,n]=t.split("/");if(s.startsWith("#")){let a=s.replace("#","");a.length===3&&(a=a.split("").map(u=>u+u).join(""));let l=parseInt(a.substring(0,2),16),c=parseInt(a.substring(2,4),16),o=parseInt(a.substring(4,6),16);return`rgba(${l},${c},${o},${parseInt(n,10)/100})`}return`color-mix(in srgb, var(--color-${s}) ${parseInt(n,10)}%, transparent)`}return`var(--color-${t})`},mt=t=>/^\d+\/\d+$/.test(t)?t.replace(/^(\d+)\/(\d+)$/,(e,i,r)=>`${parseInt(i,10)/parseInt(r,10)*100}%`):`var(--${qt(t)})`,Ve=t=>/^\d+\/\d+$/.test(t)?`-${t.replace(/^(\d+)\/(\d+)$/,(e,i,r)=>`${parseInt(i,10)/parseInt(r,10)*100}%`)}`:`calc(-1 * var(--${qt(t)}))`,dG=t=>{let e=t.split(" ");if(e.length===1){let i=mt(e[0]);return`${i} ${i}`}return e.map(mt).join(" ")},mG=t=>{let e=t.split(" ");if(e.length===1){let i=Ve(e[0]);return`${i} ${i}`}return e.map(Ve).join(" ")},Ls={first:"first-child",last:"last-child","not-first":"not(:first-child)","not-last":"not(:last-child)",odd:"nth-child(odd)",even:"nth-child(even)",placeholder:"placeholder",file:"file-selector-button",marker:"marker",selection:"selection","first-line":"first-line","first-letter":"first-letter",backdrop:"backdrop","has-checked":"has(:checked)","focus-within":"focus-within",before:"before",after:"after","peer-hover":":hover","peer-focus":":focus","peer-active":":active","peer-invalid":":invalid","peer-checked":":checked","peer-disabled":":disabled","peer-required":":required","peer-read-only":":read-only","peer-indeterminate":":indeterminate","not-hover":"not(:hover)","not-focus":"not(:focus)","not-active":"not(:active)","not-visited":"not(:visited)","not-disabled":"not(:disabled)","not-checked":"not(:checked)","not-focus-visible":"not(:focus-visible)","not-invalid":"not(:invalid)","not-valid":"not(:valid)","not-required":"not(:required)","not-read-only":"not(:read-only)","not-indeterminate":"not(:indeterminate)"},yG=t=>{let e=t.match(/^nth-(\d+)$/);if(e)return`nth-child(${e[1]})`;let i=t.match(/^nth-last-(\d+)$/);if(i)return`nth-last-child(${i[1]})`;let r=t.match(/^nth-of-type-(\d+)$/);if(r)return`nth-of-type(${r[1]})`;let s=t.match(/^nth-last-of-type-(\d+)$/);return s?`nth-last-of-type(${s[1]})`:null},Mi=t=>{let e=yG(t);if(e)return e;if(t.startsWith("group-hover/"))return`.group\\/${t.replace("group-hover/","")}:hover`;if(t==="group-hover")return".group:hover";if(t.startsWith("peer-")&&t.includes("/")){let[i,r]=t.split("/"),s=Ls[i]||`:${i.replace("peer-","")}`;return`.peer\\/${r}${s} ~`}return t.startsWith("peer-")?`.peer${Ls[t]||`:${t.replace("peer-","")}`} ~`:Ls[t]||t},fb=["--uni-blur","--uni-drop-shadow","--uni-brightness","--uni-contrast","--uni-grayscale","--uni-hue-rotate","--uni-invert","--uni-saturate","--uni-sepia"],hb=["--uni-backdrop-blur","--uni-backdrop-brightness","--uni-backdrop-contrast","--uni-backdrop-grayscale","--uni-backdrop-hue-rotate","--uni-backdrop-invert","--uni-backdrop-saturate","--uni-backdrop-opacity","--uni-backdrop-sepia"],TG=["--uni-shadow","--uni-shadow-color","--uni-inset-shadow","--uni-inset-shadow-color","--uni-ring-shadow","--uni-ring-color","--uni-inset-ring-shadow","--uni-inset-ring-color","--uni-ring-inset"],db=["--uni-rotate-x","--uni-rotate-y","--uni-rotate-z","--uni-skew-x","--uni-skew-y"],mb=["--uni-scale-x","--uni-scale-y"],yb=["--uni-translate-x","--uni-translate-y","--uni-translate-z"],gG=(t,e,i,r,s=null,n=null,a=!1)=>{let l=at(t),c=`.${l}`,o=!1;t.includes("space-x-")||t.includes("space-y-")||t.includes("divide-x")||t.includes("divide-y")||t.includes("divide-color-")||t.includes("divide-style-")?(c+=" > :not(:last-child)",o=!0):a&&(c+=" > *"),o&&(c=`:where(${c})`),s&&(s.startsWith("peer-")||s.includes("peer-"))?c=`${Mi(s)}${c}`:s&&(o?c=c.replace(`:where(.${l}`,`:where(.${l}:${Mi(s)}`):c+=`:${Mi(s)}`);let u=fb.includes(i),f=hb.includes(i),d=TG.includes(i),y=db.includes(i),E=mb.includes(i),P=yb.includes(i),A;typeof r=="object"?A=Object.entries(r).map(([k,M])=>`${k}: ${M}`).join("; "):Array.isArray(i)?A=i.map(k=>`${k}: ${r}`).join("; "):A=`${i}: ${r}`;let I;return u?I=`${c} { ${A}; filter: ${fb.map(k=>`var(${k})`).join(" ")}; }`:f?I=`${c} { ${A}; backdrop-filter: ${hb.map(k=>`var(${k})`).join(" ")}; }`:d?I=`${c} { ${A}; box-shadow: var(--uni-inset-shadow, 0 0 #0000), var(--uni-inset-ring-shadow, 0 0 #0000), var(--uni-ring-shadow, 0 0 #0000), var(--uni-shadow, 0 0 #0000); }`:y?I=`${c} { ${A}; transform: ${db.map(k=>`var(${k})`).join(" ")}; }`:E?I=`${c} { ${A}; scale: ${mb.map(k=>`var(${k})`).join(" ")}; }`:P?I=`${c} { ${A}; translate: ${yb.map(k=>`var(${k})`).join(" ")}; }`:I=`${c} { ${A} }`,{selector:c,rule:I,screen:n}},xG=(t,e={})=>{let i=[],r=(o,u,f)=>{i.push({prefix:o,prop:u,transform:f})};["w","min-w","max-w"].forEach(o=>{let u=o.replace("w","width");r(`${o}-[`,u,D),r(`${o}-`,u,f=>{let d=`container-${f}`;if(e[d])return`var(--${d})`;if(/^\d+\/\d+$/.test(f))return f.replace(/^(\d+)\/(\d+)$/,(E,P,A)=>`${parseInt(P,10)/parseInt(A,10)*100}%`);let y={full:"100%",screen:"100vw",dvw:"100dvw",dvh:"100dvh",lvw:"100lvw",lvh:"100lvh",svw:"100svw",svh:"100svh",auto:"auto",px:"1px",min:"min-content",max:"max-content",fit:"fit-content"};return y[f]?y[f]:`var(--${f})`})}),["h","min-h","max-h"].forEach(o=>{let u=o.replace("h","height");r(`${o}-[`,u,D),r(`${o}-`,u,f=>{let d=`container-${f}`;if(e[d])return`var(--${d})`;if(/^\d+\/\d+$/.test(f))return f.replace(/^(\d+)\/(\d+)$/,(E,P,A)=>`${parseInt(P,10)/parseInt(A,10)*100}%`);let y={full:"100%",screen:"100vh",dvw:"100dvw",dvh:"100dvh",lvw:"100lvw",lvh:"100lvh",svw:"100svw",svh:"100svh",auto:"auto",px:"1px",min:"min-content",max:"max-content",fit:"fit-content"};return y[f]?y[f]:`var(--${f})`})}),[["p","padding"],["pt","padding-top"],["pr","padding-right"],["pb","padding-bottom"],["pl","padding-left"],["px","padding-inline"],["py","padding-block"],["m","margin"],["mt","margin-top"],["mr","margin-right"],["mb","margin-bottom"],["ml","margin-left"]].forEach(([o,u])=>{r(`${o}-[`,u,D),r(`${o}-`,u,f=>f==="auto"?"auto":f==="px"?"1px":mt(f))}),r("mx-[",["margin-left","margin-right"],D),r("mx-",["margin-left","margin-right"],o=>o==="auto"?"auto":o==="px"?"1px":mt(o)),r("my-[",["margin-top","margin-bottom"],D),r("my-",["margin-top","margin-bottom"],o=>o==="auto"?"auto":o==="px"?"1px":mt(o)),r("-m-","margin",o=>o==="px"?"-1px":Ve(o)),r("-mt-","margin-top",o=>o==="px"?"-1px":Ve(o)),r("-mr-","margin-right",o=>o==="px"?"-1px":Ve(o)),r("-mb-","margin-bottom",o=>o==="px"?"-1px":Ve(o)),r("-ml-","margin-left",o=>o==="px"?"-1px":Ve(o)),r("-mx-",["margin-left","margin-right"],o=>o==="px"?"-1px":Ve(o)),r("-my-",["margin-top","margin-bottom"],o=>o==="px"?"-1px":Ve(o)),["top","right","bottom","left"].forEach(o=>{r(`${o}-[`,o,D),r(`${o}-`,o,u=>u==="auto"?"auto":u==="px"?"1px":u==="full"?"100%":mt(u)),r(`-${o}-[`,o,u=>`-${D(u)}`),r(`-${o}-`,o,u=>u==="px"?"-1px":u==="full"?"-100%":Ve(u))}),r("gap-x-[","column-gap",D),r("gap-x-","column-gap",o=>o==="px"?"1px":`var(--${qt(o)})`),r("gap-y-[","row-gap",D),r("gap-y-","row-gap",o=>o==="px"?"1px":`var(--${qt(o)})`),r("gap-[","gap",D),r("gap-","gap",o=>o==="px"?"1px":`var(--${qt(o)})`),r("inset-x-[","inset-inline",D),r("inset-x-","inset-inline",o=>o==="auto"?"auto":o==="px"?"1px":o==="full"?"100%":mt(o)),r("-inset-x-[","inset-inline",o=>`-${D(o)}`),r("-inset-x-","inset-inline",Ve),r("inset-y-[","inset-block",D),r("inset-y-","inset-block",o=>o==="auto"?"auto":o==="px"?"1px":o==="full"?"100%":mt(o)),r("-inset-y-[","inset-block",o=>`-${D(o)}`),r("-inset-y-","inset-block",Ve),r("inset-[","inset",D),r("inset-","inset",o=>o==="auto"?"auto":o==="px"?"1px":o==="full"?"100%":mt(o)),r("-inset-[","inset",o=>`-${D(o)}`),r("-inset-","inset",Ve),r("z-","z-index",D),r("-z-","z-index",o=>`-${o}`),r("flex-[","flex",D),r("flex-row-reverse","flex-direction",()=>"row-reverse"),r("flex-col-reverse","flex-direction",()=>"column-reverse"),r("flex-row","flex-direction",()=>"row"),r("flex-col","flex-direction",()=>"column"),r("flex-wrap-reverse","flex-wrap",()=>"wrap-reverse"),r("flex-wrap","flex-wrap",()=>"wrap"),r("flex-nowrap","flex-wrap",()=>"nowrap"),r("flex-","flex",D),r("grow-","flex-grow",D),r("shrink-","flex-shrink",D),r("basis-[","flex-basis",D),r("basis-","flex-basis",o=>{if(o==="auto")return"auto";if(o==="px")return"1px";if(o==="full")return"100%";let u=`container-${o}`;return e[u]?`var(--${u})`:mt(o)}),r("order-first","order",()=>"calc(-infinity)"),r("order-last","order",()=>"calc(infinity)"),r("order-","order",D),r("-order-","order",o=>`-${o}`),[["auto",{width:"auto",height:"auto"}],["px",{width:"1px",height:"1px"}],["full",{width:"100%",height:"100%"}],["dvw",{width:"100dvw",height:"100dvw"}],["dvh",{width:"100dvh",height:"100dvh"}],["lvw",{width:"100lvw",height:"100lvw"}],["lvh",{width:"100lvh",height:"100lvh"}],["svw",{width:"100svw",height:"100svw"}],["svh",{width:"100svh",height:"100svh"}],["min",{width:"min-content",height:"min-content"}],["max",{width:"max-content",height:"max-content"}],["fit",{width:"fit-content",height:"fit-content"}]].forEach(([o,u])=>{r(`size-${o}`,null,()=>u)}),r("size-[",["width","height"],D),r("size-",["width","height"],mt),r("aspect-[","aspect-ratio",D),r("aspect-","aspect-ratio",o=>/^\d+\/\d+$/.test(o)?o:{auto:"auto",square:"1/1",video:"16/9"}[o]||o),[["scroll-m","scroll-margin"],["scroll-mt","scroll-margin-top"],["scroll-mr","scroll-margin-right"],["scroll-mb","scroll-margin-bottom"],["scroll-ml","scroll-margin-left"]].forEach(([o,u])=>{r(`${o}-[`,u,D),r(`${o}-`,u,f=>f==="auto"?"auto":f==="px"?"1px":/^\d+$/.test(f)?`var(--${f})`:mt(f))}),r("scroll-mx-[","scroll-margin-inline",D),r("scroll-mx-","scroll-margin-inline",o=>o==="auto"?"auto":o==="px"?"1px":/^\d+$/.test(o)?`var(--${o})`:mt(o)),r("scroll-my-[","scroll-margin-block",D),r("scroll-my-","scroll-margin-block",o=>o==="auto"?"auto":o==="px"?"1px":/^\d+$/.test(o)?`var(--${o})`:mt(o)),r("-scroll-m-[","scroll-margin",o=>`-${D(o)}`),r("-scroll-m-","scroll-margin",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-mt-[","scroll-margin-top",o=>`-${D(o)}`),r("-scroll-mt-","scroll-margin-top",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-mr-[","scroll-margin-right",o=>`-${D(o)}`),r("-scroll-mr-","scroll-margin-right",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-mb-[","scroll-margin-bottom",o=>`-${D(o)}`),r("-scroll-mb-","scroll-margin-bottom",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-ml-[","scroll-margin-left",o=>`-${D(o)}`),r("-scroll-ml-","scroll-margin-left",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-mx-[","scroll-margin-inline",o=>`-${D(o)}`),r("-scroll-mx-","scroll-margin-inline",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-my-[","scroll-margin-block",o=>`-${D(o)}`),r("-scroll-my-","scroll-margin-block",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),[["scroll-p","scroll-padding"],["scroll-pt","scroll-padding-top"],["scroll-pr","scroll-padding-right"],["scroll-pb","scroll-padding-bottom"],["scroll-pl","scroll-padding-left"]].forEach(([o,u])=>{r(`${o}-[`,u,D),r(`${o}-`,u,f=>f==="px"?"1px":/^\d+$/.test(f)?`var(--${f})`:mt(f))}),r("scroll-px-[","scroll-padding-inline",D),r("scroll-px-","scroll-padding-inline",o=>o==="px"?"1px":/^\d+$/.test(o)?`var(--${o})`:mt(o)),r("scroll-py-[","scroll-padding-block",D),r("scroll-py-","scroll-padding-block",o=>o==="px"?"1px":/^\d+$/.test(o)?`var(--${o})`:mt(o)),r("-scroll-p-[","scroll-padding",o=>`-${D(o)}`),r("-scroll-p-","scroll-padding",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-pt-[","scroll-padding-top",o=>`-${D(o)}`),r("-scroll-pt-","scroll-padding-top",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-pr-[","scroll-padding-right",o=>`-${D(o)}`),r("-scroll-pr-","scroll-padding-right",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-pb-[","scroll-padding-bottom",o=>`-${D(o)}`),r("-scroll-pb-","scroll-padding-bottom",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-pl-[","scroll-padding-left",o=>`-${D(o)}`),r("-scroll-pl-","scroll-padding-left",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-px-[","scroll-padding-inline",o=>`-${D(o)}`),r("-scroll-px-","scroll-padding-inline",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-py-[","scroll-padding-block",o=>`-${D(o)}`),r("-scroll-py-","scroll-padding-block",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("font-[","font-weight",D),r("font-family-[","font-family",o=>{let u=D(o);return u.startsWith('"')||u.startsWith("'")?u:`"${u}"`}),r("tracking-[","letter-spacing",D),r("leading-[","line-height",D),r("leading-","line-height",o=>/^\d+$/.test(o)||/^\d*\.\d+$/.test(o)?`calc(var(--1) * ${o})`:null),r("indent-[","text-indent",D),r("indent-","text-indent",o=>`var(--${qt(o)})`),r("-indent-","text-indent",o=>`calc(-1 * var(--${qt(o)}))`),r("align-[","vertical-align",D),r("text-shadow-color-[",null,o=>({"--uni-text-shadow-color":Ie(o)})),r("text-shadow-color-",null,o=>({"--uni-text-shadow-color":Ie(o)})),r("text-shadow-[","text-shadow",D),r("text-color-[","color",Ie),r("text-color-","color",Ie),r("text-[","font-size",D),r("text-",null,function(o){if(o.startsWith("color-"))return{color:Ie(o.replace("color-",""))};let u=o.match(/^([a-z0-9\[\]\-\.]+)\/([a-z0-9\[\]\-\.]+)$/i);if(u){let[,f,d]=u;if(!f.startsWith("color-"))return{"font-size":t[f]?`var(--${qt(f)})`:`var(--text-${f})`,"line-height":t[d]?`var(--${qt(d)})`:`var(--line-${d})`}}return t[o]?{"font-size":`var(--${qt(o)})`}:{"font-size":`var(--text-${o})`}}),r("decoration-color-[","text-decoration-color",Ie),r("decoration-color-","text-decoration-color",Ie),r("decoration-thick-[","text-decoration-thickness",D),r("decoration-thick-","text-decoration-thickness",o=>o==="auto"?"auto":o==="from-font"?"from-font":/^\d+$/.test(o)?`${o}px`:`var(--${qt(o)})`),r("underline-offset-[","text-underline-offset",D),r("underline-offset-","text-underline-offset",o=>o==="auto"?"auto":/^\d+$/.test(o)?`${o}px`:`var(--${qt(o)})`),r("-underline-offset-[","text-underline-offset",o=>`-${D(o)}`),r("-underline-offset-","text-underline-offset",o=>/^\d+$/.test(o)?`-${o}px`:`calc(-1 * var(--${qt(o)}))`),r("bg-color-[","background-color",Ie),r("bg-color-","background-color",Ie),r("bg-image-[","background-image",o=>D(o,"bg-image")),r("bg-position-[","background-position",D),r("bg-size-[","background-size",D),r("bg-gradient-[","background-image",o=>D(o).replace(/color-([a-zA-Z0-9\-]+(?:\/[0-9]+)?)/g,(u,f)=>Ie(f))),r("list-image-[","list-style-image",o=>D(o,"list-image")),r("mask-image-[",null,o=>({"mask-image":D(o,"mask-image"),"-webkit-mask-image":D(o,"mask-image")})),r("mask-position-[",null,o=>({"mask-position":D(o),"-webkit-mask-position":D(o)})),r("mask-size-[",null,o=>({"mask-size":D(o),"-webkit-mask-size":D(o)})),r("border-style-",null,o=>({"--uni-border-style":o,"border-style":"var(--uni-border-style)"})),r("border-spacing-x-[",null,o=>({"--uni-border-spacing-x":D(o),"border-spacing":`var(--uni-border-spacing-x, ${D(o)}) var(--uni-border-spacing-y, 0)`})),r("border-spacing-x-",null,o=>({"--uni-border-spacing-x":`${o}px`,"border-spacing":`var(--uni-border-spacing-x, ${o}px) var(--uni-border-spacing-y, 0)`})),r("border-spacing-y-[",null,o=>({"--uni-border-spacing-y":D(o),"border-spacing":`var(--uni-border-spacing-x, 0) var(--uni-border-spacing-y, ${D(o)})`})),r("border-spacing-y-",null,o=>({"--uni-border-spacing-y":`${o}px`,"border-spacing":`var(--uni-border-spacing-x, 0) var(--uni-border-spacing-y, ${o}px)`})),r("border-spacing-[","border-spacing",D),r("border-spacing-","border-spacing",o=>`${o}px`),r("border-color-[","border-color",Ie),r("border-color-","border-color",Ie),["t","r","b","l","x","y"].forEach(o=>{let u={t:"border-top-color",r:"border-right-color",b:"border-bottom-color",l:"border-left-color",x:"border-inline-color",y:"border-block-color"};r(`border-${o}-color-[`,u[o],Ie),r(`border-${o}-color-`,u[o],Ie)}),r("border-x-",null,o=>({"border-inline-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-y-",null,o=>({"border-block-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-t-",null,o=>({"border-top-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-r-",null,o=>({"border-right-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-b-",null,o=>({"border-bottom-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-l-",null,o=>({"border-left-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-[",null,o=>({"border-width":D(o),"border-style":"var(--uni-border-style)"})),r("border-",null,o=>/^\d+$/.test(o)||/^\d+(px|rem|em|%)$/.test(o)?{"border-width":`${o}px`,"border-style":"var(--uni-border-style)"}:{});let c=["xs","sm","md","lg","xl","2xl","4xl","none","full"];return c.forEach(o=>{let u=o==="none"?"0":o==="full"?"calc(infinity * 1px)":`var(--radius-${o})`;r(`rounded-${o}`,"border-radius",()=>u)}),r("rounded-[","border-radius",D),["t","r","b","l","tl","tr","br","bl"].forEach(o=>{let u={t:["top-left","top-right"],r:["top-right","bottom-right"],b:["bottom-right","bottom-left"],l:["top-left","bottom-left"],tl:["top-left"],tr:["top-right"],br:["bottom-right"],bl:["bottom-left"]};c.forEach(f=>{let d=f==="none"?"0":f==="full"?"calc(infinity * 1px)":`var(--radius-${f})`,y={};u[o].forEach(E=>{y[`border-${E}-radius`]=d}),r(`rounded-${o}-${f}`,null,()=>y)})}),r("shadow-[","--uni-shadow",D),r("shadow-inset-[","--uni-inset-shadow",D),r("shadow-color-[",null,o=>({"--uni-shadow-color":Ie(o)})),r("shadow-color-",null,o=>({"--uni-shadow-color":Ie(o)})),r("shadow-inset-color-[",null,o=>({"--uni-inset-shadow-color":Ie(o)})),r("shadow-inset-color-",null,o=>({"--uni-inset-shadow-color":Ie(o)})),r("ring-inset-color-[","--uni-inset-ring-color",Ie),r("ring-inset-color-","--uni-inset-ring-color",Ie),r("ring-inset-[","--uni-inset-ring-shadow",o=>`inset 0 0 0 ${D(o)} var(--uni-inset-ring-color, currentColor)`),r("ring-inset-","--uni-inset-ring-shadow",o=>`inset 0 0 0 ${o}px var(--uni-inset-ring-color, currentColor)`),r("ring-inset","--uni-inset-ring-shadow",()=>"inset 0 0 0 1px var(--uni-inset-ring-color, currentColor)"),r("ring-color-[","--uni-ring-color",Ie),r("ring-color-","--uni-ring-color",Ie),r("ring-[","--uni-ring-shadow",o=>`0 0 0 ${D(o)} var(--uni-ring-color, currentColor)`),r("ring-","--uni-ring-shadow",o=>`0 0 0 ${o}px var(--uni-ring-color, currentColor)`),r("ring","--uni-ring-shadow",()=>"0 0 0 1px var(--uni-ring-color, currentColor)"),r("blur-[","--uni-blur",o=>`blur(${D(o)})`),r("blur-","--uni-blur",o=>`blur(var(--blur-${o}))`),r("brightness-","--uni-brightness",o=>`brightness(${D(o)}%)`),r("contrast-","--uni-contrast",o=>`contrast(${D(o)}%)`),r("drop-shadow-[","--uni-drop-shadow",o=>`drop-shadow(${D(o)})`),r("drop-shadow-color-[",null,o=>({"--uni-drop-shadow-color":Ie(o)})),r("drop-shadow-color-",null,o=>({"--uni-drop-shadow-color":Ie(o)})),r("grayscale-","--uni-grayscale",o=>`grayscale(${D(o)}%)`),r("grayscale","--uni-grayscale",()=>"grayscale(100%)"),r("hue-rotate-","--uni-hue-rotate",o=>`hue-rotate(${D(o)}deg)`),r("-hue-rotate-","--uni-hue-rotate",o=>`hue-rotate(calc(${D(o)}deg * -1))`),r("invert-","--uni-invert",o=>`invert(${D(o)}%)`),r("invert","--uni-invert",()=>"invert(100%)"),r("saturate-","--uni-saturate",o=>`saturate(${D(o)}%)`),r("sepia-","--uni-sepia",o=>`sepia(${D(o)}%)`),r("sepia","--uni-sepia",()=>"sepia(100%)"),r("backdrop-blur-[","--uni-backdrop-blur",o=>`blur(${D(o)})`),r("backdrop-blur-","--uni-backdrop-blur",o=>`blur(var(--blur-${o}))`),r("backdrop-brightness-","--uni-backdrop-brightness",o=>`brightness(${D(o)}%)`),r("backdrop-contrast-","--uni-backdrop-contrast",o=>`contrast(${D(o)}%)`),r("backdrop-grayscale-","--uni-backdrop-grayscale",o=>`grayscale(${D(o)}%)`),r("backdrop-grayscale","--uni-backdrop-grayscale",()=>"grayscale(100%)"),r("backdrop-hue-rotate-","--uni-backdrop-hue-rotate",o=>`hue-rotate(${D(o)}deg)`),r("-backdrop-hue-rotate-","--uni-backdrop-hue-rotate",o=>`hue-rotate(calc(${D(o)}deg * -1))`),r("backdrop-invert-","--uni-backdrop-invert",o=>`invert(${D(o)}%)`),r("backdrop-invert","--uni-backdrop-invert",()=>"invert(100%)"),r("backdrop-opacity-","--uni-backdrop-opacity",o=>`opacity(${D(o)}%)`),r("backdrop-saturate-","--uni-backdrop-saturate",o=>`saturate(${D(o)}%)`),r("backdrop-sepia-","--uni-backdrop-sepia",o=>`sepia(${D(o)}%)`),r("backdrop-sepia","--uni-backdrop-sepia",()=>"sepia(100%)"),r("opacity-","opacity",function(o){if(/^\d+$/.test(o)){let u=parseInt(o,10);if(u>=0&&u<=100)return(u/100).toString()}return D(o)}),r("duration-",null,o=>({"--uni-transition-duration":`${D(o)}ms`,"transition-duration":"var(--uni-transition-duration, 150ms)"})),r("ease-[",null,o=>({"--uni-transition-timing-function":D(o),"transition-timing-function":"var(--uni-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1))"})),r("delay-",null,o=>({"--uni-transition-delay":`${D(o)}ms`,"transition-delay":"var(--uni-transition-delay, 0ms)"})),r("transition-",null,o=>({"--uni-transition-property":D(o),"transition-property":"var(--uni-transition-property, all)","transition-duration":"var(--uni-transition-duration, 150ms)"})),r("animate-[","animation",D),r("animate-spin","animation",()=>"var(--animate-spin)"),r("animate-ping","animation",()=>"var(--animate-ping)"),r("animate-pulse","animation",()=>"var(--animate-pulse)"),r("animate-bounce","animation",()=>"var(--animate-bounce)"),r("animate-none","animation",()=>"none"),r("iteration-","animation-iteration-count",D),r("will-change-[","will-change",D),r("perspective-origin-[","perspective-origin",D),r("perspective-[","perspective",D),r("rotate-[","rotate",D),r("rotate-x-","--uni-rotate-x",o=>`rotateX(${o}deg)`),r("rotate-y-","--uni-rotate-y",o=>`rotateY(${o}deg)`),r("rotate-z-","--uni-rotate-z",o=>`rotateZ(${o}deg)`),r("-rotate-x-","--uni-rotate-x",o=>`rotateX(calc(${o}deg * -1))`),r("-rotate-y-","--uni-rotate-y",o=>`rotateY(calc(${o}deg * -1))`),r("-rotate-z-","--uni-rotate-z",o=>`rotateZ(calc(${o}deg * -1))`),r("rotate-","rotate",o=>`${D(o)}deg`),r("-rotate-","rotate",o=>`calc(${D(o)}deg * -1)`),r("scale-x-","--uni-scale-x",o=>`${o}%`),r("scale-y-","--uni-scale-y",o=>`${o}%`),r("-scale-x-","--uni-scale-x",o=>`calc(${o}% * -1)`),r("-scale-y-","--uni-scale-y",o=>`calc(${o}% * -1)`),r("scale-","scale",o=>`${D(o)}%`),r("-scale-","scale",o=>`calc(${D(o)}% * -1)`),r("skew-x-","--uni-skew-x",o=>`skewX(${o}deg)`),r("skew-y-","--uni-skew-y",o=>`skewY(${o}deg)`),r("-skew-x-","--uni-skew-x",o=>`skewX(calc(${o}deg * -1))`),r("-skew-y-","--uni-skew-y",o=>`skewY(calc(${o}deg * -1))`),r("skew-","transform",o=>`skewX(${o}deg) skewY(${o}deg)`),r("-skew-","transform",o=>`skewX(-${o}deg) skewY(-${o}deg)`),r("origin-[","transform-origin",D),r("translate-[","translate",D),r("translate-x-[","--uni-translate-x",D),r("translate-y-[","--uni-translate-y",D),r("translate-x-","--uni-translate-x",mt),r("translate-y-","--uni-translate-y",mt),r("translate-z-","--uni-translate-z",mt),r("-translate-x-","--uni-translate-x",Ve),r("-translate-y-","--uni-translate-y",Ve),r("-translate-z-","--uni-translate-z",Ve),r("translate-","translate",dG),r("-translate-","translate",mG),r("grid-columns-[","grid-template-columns",D),r("grid-columns-","grid-template-columns",o=>/^\d+$/.test(o)?`repeat(${o}, minmax(0, 1fr))`:o),r("col-start-","grid-column-start",D),r("-col-start-","grid-column-start",o=>`calc(${D(o)} * -1)`),r("col-end-","grid-column-end",D),r("-col-end-","grid-column-end",o=>`calc(${D(o)} * -1)`),r("col-span-","grid-column",o=>o==="full"?"1 / -1":`span ${D(o)} / span ${D(o)}`),r("col-[","grid-column",D),r("grid-rows-[","grid-template-rows",D),r("grid-rows-","grid-template-rows",o=>/^\d+$/.test(o)?`repeat(${o}, minmax(0, 1fr))`:o),r("row-start-","grid-row-start",D),r("-row-start-","grid-row-start",o=>`calc(${D(o)} * -1)`),r("row-end-","grid-row-end",D),r("-row-end-","grid-row-end",o=>`calc(${D(o)} * -1)`),r("row-span-","grid-row",o=>o==="full"?"1 / -1":`span ${D(o)} / span ${D(o)}`),r("row-[","grid-row",D),r("auto-columns-[","grid-auto-columns",D),r("auto-rows-[","grid-auto-rows",D),r("space-x-[","margin-right",D),r("space-x-","margin-right",o=>o==="px"?"1px":/^\d+\/\d+$/.test(o)?o.replace(/^(\d+)\/(\d+)$/,(u,f,d)=>`${parseInt(f,10)/parseInt(d,10)*100}%`):`var(--${o})`),r("-space-x-[","margin-right",o=>`calc(${D(o)} * -1)`),r("-space-x-","margin-right",o=>o==="px"?"-1px":/^\d+\/\d+$/.test(o)?`-${o.replace(/^(\d+)\/(\d+)$/,(u,f,d)=>`${parseInt(f,10)/parseInt(d,10)*100}%`)}`:`calc(var(--${o}) * -1)`),r("space-y-[","margin-bottom",D),r("space-y-","margin-bottom",o=>o==="px"?"1px":/^\d+\/\d+$/.test(o)?o.replace(/^(\d+)\/(\d+)$/,(u,f,d)=>`${parseInt(f,10)/parseInt(d,10)*100}%`):`var(--${o})`),r("-space-y-[","margin-bottom",o=>`calc(${D(o)} * -1)`),r("-space-y-","margin-bottom",o=>o==="px"?"-1px":/^\d+\/\d+$/.test(o)?`-${o.replace(/^(\d+)\/(\d+)$/,(u,f,d)=>`${parseInt(f,10)/parseInt(d,10)*100}%`)}`:`calc(var(--${o}) * -1)`),r("divide-x-[",null,o=>({"border-right-width":D(o),"border-right-style":"solid"})),r("divide-x-",null,o=>/^\d+$/.test(o)?{"border-right-width":`${o}px`,"border-right-style":"solid"}:{"border-right-width":o,"border-right-style":"solid"}),r("divide-x",null,()=>({"border-right-width":"1px","border-right-style":"solid"})),r("divide-y-[",null,o=>({"border-bottom-width":D(o),"border-bottom-style":"solid"})),r("divide-y-",null,o=>/^\d+$/.test(o)?{"border-bottom-width":`${o}px`,"border-bottom-style":"solid"}:{"border-bottom-width":o,"border-bottom-style":"solid"}),r("divide-y",null,()=>({"border-bottom-width":"1px","border-bottom-style":"solid"})),r("divide-style-","border-style",o=>o),r("divide-color-[","border-color",Ie),r("divide-color-","border-color",Ie),r("columns-","columns",o=>/^\d+$/.test(o)?o:["3xs","2xs","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl"].includes(o)?`var(--container-${o})`:D(o)),r("scrollbar-[","scrollbar-color",o=>D(o).replace(/color-([a-zA-Z0-9\-]+)/g,(u,f)=>`var(--color-${f})`)),r("object-[","object-position",D),r("caret-color-[","caret-color",Ie),r("caret-color-","caret-color",Ie),r("accent-color-[","accent-color",Ie),r("accent-color-","accent-color",Ie),r("outline-offset-[","outline-offset",D),r("outline-style-",null,o=>({"--uni-outline-style":o,"outline-style":"var(--uni-outline-style)"})),r("outline-color-[","outline-color",Ie),r("outline-color-","outline-color",Ie),r("outline-[",null,o=>({"outline-width":D(o),"outline-style":"var(--uni-outline-style)"})),r("outline-offset-","outline-offset",o=>`${o}px`),r("-outline-offset-","outline-offset",o=>`-${o}px`),r("outline-",null,o=>o.startsWith("offset")?{}:{"outline-width":/^\d+$/.test(o)?`${o}px`:o,"outline-style":"var(--uni-outline-style)"}),r("fill-color-[","fill",Ie),r("fill-color-","fill",Ie),r("stroke-color-[","stroke",Ie),r("stroke-color-","stroke",Ie),r("stroke-[","stroke-width",D),r("stroke-","stroke-width",o=>/^\d+$/.test(o)?`${o}px`:D(o)),r("content-[","content",o=>{let u=D(o);return u.startsWith("'")||u.startsWith('"')?u:`"${u}"`}),r("line-clamp-",null,o=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":o.replace("/","")})),r("line-clamp-none",null,()=>({overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"})),r("truncate",null,()=>({overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"})),r("sr-only",null,()=>({position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)","white-space":"nowrap","border-width":"0"})),r("not-sr-only",null,()=>({position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"})),i},bG=()=>`
|
|
56
|
+
`;return this.replaceWith(o)[0].get("arguments.0")}function SX(t){let e=t.params.findIndex(i=>QJ(i)||ZJ(i));return e===-1?t.params.length:e}});var Fx=_(lt=>{"use strict";Object.defineProperty(lt,"__esModule",{value:!0});lt._guessExecutionStatusRelativeTo=UX;lt._resolve=Mx;lt.canHaveVariableDeclarationOrExpression=LX;lt.canSwapBetweenExpressionAndStatement=MX;lt.getSource=RX;lt.isCompletionRecord=FX;lt.isConstantExpression=YX;lt.isInStrictMode=zX;lt.isNodeType=DX;lt.isStatementOrBlock=BX;lt.isStatic=NX;lt.matchesPattern=OX;lt.referencesImport=jX;lt.resolve=WX;lt.willIMaybeExecuteBefore=qX;var EX=be(),{STATEMENT_OR_BLOCK_KEYS:PX,VISITOR_KEYS:vX,isBlockStatement:Lx,isExpression:AX,isIdentifier:wX,isLiteral:CX,isStringLiteral:IX,isType:kX,matchesPattern:_X}=EX;function OX(t,e){return _X(this.node,t,e)}lt.has=function(e){var i;let r=(i=this.node)==null?void 0:i[e];return r&&Array.isArray(r)?!!r.length:!!r};function NX(){return this.scope.isStatic(this.node)}lt.is=lt.has,lt.isnt=function(e){return!this.has(e)},lt.equals=function(e,i){return this.node[e]===i};function DX(t){return kX(this.type,t)}function LX(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function MX(t){return this.key!=="body"||!this.parentPath.isArrowFunctionExpression()?!1:this.isExpression()?Lx(t):this.isBlockStatement()?AX(t):!1}function FX(t){let e=this,i=!0;do{let{type:r,container:s}=e;if(!i&&(e.isFunction()||r==="StaticBlock"))return!!t;if(i=!1,Array.isArray(s)&&e.key!==s.length-1)return!1}while((e=e.parentPath)&&!e.isProgram()&&!e.isDoExpression());return!0}function BX(){return this.parentPath.isLabeledStatement()||Lx(this.container)?!1:PX.includes(this.key)}function jX(t,e){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===e||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?IX(this.node.property,{value:e}):this.node.property.name===e)){let n=this.get("object");return n.isReferencedIdentifier()&&n.referencesImport(t,"*")}return!1}let i=this.scope.getBinding(this.node.name);if(!i||i.kind!=="module")return!1;let r=i.path,s=r.parentPath;if(!s.isImportDeclaration())return!1;if(s.node.source.value===t){if(!e)return!0}else return!1;return!!(r.isImportDefaultSpecifier()&&e==="default"||r.isImportNamespaceSpecifier()&&e==="*"||r.isImportSpecifier()&&wX(r.node.imported,{name:e}))}function RX(){let t=this.node;if(t.end){let e=this.hub.getCode();if(e)return e.slice(t.start,t.end)}return""}function qX(t){return this._guessExecutionStatusRelativeTo(t)!=="after"}function Ox(t){return t.isProgram()?t:(t.parentPath.scope.getFunctionParent()||t.parentPath.scope.getProgramParent()).path}function $X(t,e){switch(t){case"LogicalExpression":return e==="right";case"ConditionalExpression":case"IfStatement":return e==="consequent"||e==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return e==="body";case"ForStatement":return e==="body"||e==="update";case"SwitchStatement":return e==="cases";case"TryStatement":return e==="handler";case"AssignmentPattern":return e==="right";case"OptionalMemberExpression":return e==="property";case"OptionalCallExpression":return e==="arguments";default:return!1}}function Nx(t,e){for(let i=0;i<e;i++){let r=t[i];if($X(r.parent.type,r.parentKey))return!0}return!1}var Dx=Symbol();function UX(t){return ih(this,t,new Map)}function ih(t,e,i){let r={this:Ox(t),target:Ox(e)};if(r.target.node!==r.this.node)return VX(t,r.target,i);let s={target:e.getAncestry(),this:t.getAncestry()};if(s.target.includes(t))return"after";if(s.this.includes(e))return"before";let n,a={target:0,this:0};for(;!n&&a.this<s.this.length;){let u=s.this[a.this];a.target=s.target.indexOf(u),a.target>=0?n=u:a.this++}if(!n)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(Nx(s.this,a.this-1)||Nx(s.target,a.target-1))return"unknown";let l={this:s.this[a.this-1],target:s.target[a.target-1]};if(l.target.listKey&&l.this.listKey&&l.target.container===l.this.container)return l.target.key>l.this.key?"before":"after";let c=vX[n.type],o={this:c.indexOf(l.this.parentKey),target:c.indexOf(l.target.parentKey)};return o.target>o.this?"before":"after"}function KX(t,e,i){if(e.isFunctionDeclaration()){if(e.parentPath.isExportDeclaration())return"unknown"}else return ih(t,e,i)==="before"?"before":"unknown";let r=e.scope.getBinding(e.node.id.name);if(!r.references)return"before";let s=r.referencePaths,n;for(let a of s){if(!!a.find(o=>o.node===e.node))continue;if(a.key!=="callee"||!a.parentPath.isCallExpression())return"unknown";let c=ih(t,a,i);if(n&&n!==c)return"unknown";n=c}return n}function VX(t,e,i){let r=i.get(t.node),s;if(!r)i.set(t.node,r=new Map);else if(s=r.get(e.node))return s===Dx?"unknown":s;r.set(e.node,Dx);let n=KX(t,e,i);return r.set(e.node,n),n}function WX(t,e){return Mx.call(this,t,e)||this}function Mx(t,e){var i;if(!((i=e)!=null&&i.includes(this)))if(e=e||[],e.push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(t,e)}else if(this.isReferencedIdentifier()){let r=this.scope.getBinding(this.node.name);if(!r||!r.constant||r.kind==="module")return;if(r.path!==this){let s=r.path.resolve(t,e);return this.find(n=>n.node===s.node)?void 0:s}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(t,e);if(t&&this.isMemberExpression()){let r=this.toComputedKey();if(!CX(r))return;let s=r.value,n=this.get("object").resolve(t,e);if(n.isObjectExpression()){let a=n.get("properties");for(let l of a){if(!l.isProperty())continue;let c=l.get("key"),o=l.isnt("computed")&&c.isIdentifier({name:s});if(o=o||c.isLiteral({value:s}),o)return l.get("value").resolve(t,e)}}else if(n.isArrayExpression()&&!isNaN(+s)){let l=n.get("elements")[s];if(l)return l.resolve(t,e)}}}}function YX(){if(this.isIdentifier()){let t=this.scope.getBinding(this.node.name);return t?t.constant:!1}if(this.isLiteral())return this.isRegExpLiteral()?!1:this.isTemplateLiteral()?this.get("expressions").every(t=>t.isConstantExpression()):!0;if(this.isUnaryExpression())return this.node.operator!=="void"?!1:this.get("argument").isConstantExpression();if(this.isBinaryExpression()){let{operator:t}=this.node;return t!=="in"&&t!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return this.isMemberExpression()?!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0}):this.isCallExpression()?this.node.arguments.length===1&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral():!1}function zX(){return!!(this.isProgram()?this:this.parentPath).find(i=>{if(i.isProgram({sourceType:"module"})||i.isClass())return!0;if(i.isArrowFunctionExpression()&&!i.get("body").isBlockStatement())return!1;let r;if(i.isFunction())r=i.node.body;else if(i.isProgram())r=i.node;else return!1;for(let s of r.directives)if(s.value.value==="use strict")return!0})}});var $x=_(At=>{"use strict";Object.defineProperty(At,"__esModule",{value:!0});At._getKey=Rx;At._getPattern=qx;At.get=uH;At.getAllNextSiblings=lH;At.getAllPrevSiblings=cH;At.getAssignmentIdentifiers=pH;At.getBindingIdentifierPaths=dH;At.getBindingIdentifiers=fH;At.getCompletionRecords=sH;At.getNextSibling=oH;At.getOpposite=tH;At.getOuterBindingIdentifierPaths=mH;At.getOuterBindingIdentifiers=hH;At.getPrevSibling=aH;At.getSibling=nH;var sh=Ji(),JX=be(),{getAssignmentIdentifiers:XX,getBindingIdentifiers:jx,getOuterBindingIdentifiers:HX,numericLiteral:GX,unaryExpression:QX}=JX,nh=0,Kn=1;function ZX(t){return{type:nh,path:t}}function eH(t){return{type:Kn,path:t}}function tH(){return this.key==="left"?this.getSibling("right"):this.key==="right"?this.getSibling("left"):null}function ks(t,e,i){return t&&e.push(..._s(t,i)),e}function iH(t,e,i){let r=[];for(let s=0;s<t.length;s++){let n=t[s],a=_s(n,i),l=[],c=[];for(let o of a)o.type===nh&&l.push(o),o.type===Kn&&c.push(o);l.length&&(r=l),e.push(...c)}return e.push(...r),e}function rH(t){t.forEach(e=>{e.type=Kn})}function rh(t,e){t.forEach(i=>{i.path.isBreakStatement({label:null})&&(e?i.path.replaceWith(QX("void",GX(0))):i.path.remove())})}function Bx(t,e){let i=[];if(e.canHaveBreak){let r=[];for(let s=0;s<t.length;s++){let n=t[s],a=Object.assign({},e,{inCaseClause:!1});n.isBlockStatement()&&(e.inCaseClause||e.shouldPopulateBreak)?a.shouldPopulateBreak=!0:a.shouldPopulateBreak=!1;let l=_s(n,a);if(l.length>0&&l.every(c=>c.type===Kn)){r.length>0&&l.every(c=>c.path.isBreakStatement({label:null}))?(rH(r),i.push(...r),r.some(c=>c.path.isDeclaration())&&(i.push(...l),e.shouldPreserveBreak||rh(l,!0)),e.shouldPreserveBreak||rh(l,!1)):(i.push(...l),!e.shouldPopulateBreak&&!e.shouldPreserveBreak&&rh(l,!0));break}if(s===t.length-1)i.push(...l);else{r=[];for(let c=0;c<l.length;c++){let o=l[c];o.type===Kn&&i.push(o),o.type===nh&&r.push(o)}}}}else if(t.length)for(let r=t.length-1;r>=0;r--){let s=_s(t[r],e);if(s.length>1||s.length===1&&!s[0].path.isVariableDeclaration()&&!s[0].path.isEmptyStatement()){i.push(...s);break}}return i}function _s(t,e){let i=[];if(t.isIfStatement())i=ks(t.get("consequent"),i,e),i=ks(t.get("alternate"),i,e);else{if(t.isDoExpression()||t.isFor()||t.isWhile()||t.isLabeledStatement())return ks(t.get("body"),i,e);if(t.isProgram()||t.isBlockStatement())return Bx(t.get("body"),e);if(t.isFunction())return _s(t.get("body"),e);if(t.isTryStatement())i=ks(t.get("block"),i,e),i=ks(t.get("handler"),i,e);else{if(t.isCatchClause())return ks(t.get("body"),i,e);if(t.isSwitchStatement())return iH(t.get("cases"),i,e);if(t.isSwitchCase())return Bx(t.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0,shouldPreserveBreak:e.shouldPreserveBreak});t.isBreakStatement()?i.push(eH(t)):i.push(ZX(t))}}return i}function sH(t=!1){return _s(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1,shouldPreserveBreak:t}).map(i=>i.path)}function nH(t){return sh.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:t}).setContext(this.context)}function aH(){return this.getSibling(this.key-1)}function oH(){return this.getSibling(this.key+1)}function lH(){let t=this.key,e=this.getSibling(++t),i=[];for(;e.node;)i.push(e),e=this.getSibling(++t);return i}function cH(){let t=this.key,e=this.getSibling(--t),i=[];for(;e.node;)i.push(e),e=this.getSibling(--t);return i}function uH(t,e=!0){e===!0&&(e=this.context);let i=t.split(".");return i.length===1?Rx.call(this,t,e):qx.call(this,i,e)}function Rx(t,e){let i=this.node,r=i[t];return Array.isArray(r)?r.map((s,n)=>sh.default.get({listKey:t,parentPath:this,parent:i,container:r,key:n}).setContext(e)):sh.default.get({parentPath:this,parent:i,container:i,key:t}).setContext(e)}function qx(t,e){let i=this;for(let r of t)r==="."?i=i.parentPath:Array.isArray(i)?i=i[r]:i=i.get(r,e);return i}function pH(){return XX(this.node)}function fH(t){return jx(this.node,t)}function hH(t){return HX(this.node,t)}function dH(t=!1,e=!1){let r=[this],s=Object.create(null);for(;r.length;){let n=r.shift();if(!n||!n.node)continue;let a=jx.keys[n.node.type];if(n.isIdentifier()){t?(s[n.node.name]=s[n.node.name]||[]).push(n):s[n.node.name]=n;continue}if(n.isExportDeclaration()){let l=n.get("declaration");l.isDeclaration()&&r.push(l);continue}if(e){if(n.isFunctionDeclaration()){r.push(n.get("id"));continue}if(n.isFunctionExpression())continue}if(a)for(let l=0;l<a.length;l++){let c=a[l],o=n.get(c);Array.isArray(o)?r.push(...o):o.node&&r.push(o)}}return s}function mH(t=!1){return this.getBindingIdentifierPaths(t,!0)}});var Kx=_(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.addComment=bH;Vn.addComments=SH;Vn.shareCommentsWithSiblings=xH;var yH=be(),{addComment:TH,addComments:gH}=yH;function xH(){if(typeof this.key=="string")return;let t=this.node;if(!t)return;let e=t.trailingComments,i=t.leadingComments;if(!e&&!i)return;let r=this.getSibling(this.key-1),s=this.getSibling(this.key+1),n=!!r.node,a=!!s.node;n&&(i&&r.addComments("trailing",Ux(i,r.node.trailingComments)),e&&!a&&r.addComments("trailing",e)),a&&(e&&s.addComments("leading",Ux(e,s.node.leadingComments)),i&&!n&&s.addComments("leading",i))}function Ux(t,e){if(!(e!=null&&e.length))return t;let i=new Set(e);return t.filter(r=>!i.has(r))}function bH(t,e,i){TH(this.node,t,e,i)}function SH(t,e){gH(this.node,t,e)}});var Ji=_(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.default=Li.SHOULD_STOP=Li.SHOULD_SKIP=Li.REMOVED=void 0;var EH=Tc(),PH=hm(),vH=_n(),AH=Lp(),Yx=be(),Go=Yx,wH=jr(),CH=rg(),Ni=sg(),Os=vg(),Ns=kf(),Vx=cx(),zr=_x(),pt=Fx(),zx=mi(),ct=zx,Ds=Uo(),Di=Ko(),Rt=$x(),ah=Kx(),IH=Cp(),{validate:kH}=Yx,Wx=PH("babel"),_oe=Li.REMOVED=1,Ooe=Li.SHOULD_STOP=2,Noe=Li.SHOULD_SKIP=4,Hi=Li.default=class Jx{constructor(e,i){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._store=null,this.parent=i,this.hub=e,this.data=null,this.context=null,this.scope=null}get removed(){return(this._traverseFlags&1)>0}set removed(e){e?this._traverseFlags|=1:this._traverseFlags&=-2}get shouldStop(){return(this._traverseFlags&2)>0}set shouldStop(e){e?this._traverseFlags|=2:this._traverseFlags&=-3}get shouldSkip(){return(this._traverseFlags&4)>0}set shouldSkip(e){e?this._traverseFlags|=4:this._traverseFlags&=-5}static get({hub:e,parentPath:i,parent:r,container:s,listKey:n,key:a}){if(!e&&i&&(e=i.hub),!r)throw new Error("To get a node path the parent needs to exist");let l=s[a],c=wH.getOrCreateCachedPaths(r,i),o=c.get(l);return o||(o=new Jx(e,r),l&&c.set(l,o)),zx.setup.call(o,i,s,n,a),o}getScope(e){return this.isScope()?new AH.default(this):e}setData(e,i){return this.data==null&&(this.data=Object.create(null)),this.data[e]=i}getData(e,i){this.data==null&&(this.data=Object.create(null));let r=this.data[e];return r===void 0&&i!==void 0&&(r=this.data[e]=i),r}hasNode(){return this.node!=null}buildCodeFrameError(e,i=SyntaxError){return this.hub.buildError(this.node,e,i)}traverse(e,i){(0,vH.default)(this.node,e,this.scope,i,this)}set(e,i){kH(this.node,e,i),this.node[e]=i}getPathLocation(){let e=[],i=this;do{let r=i.key;i.inList&&(r=`${i.listKey}[${r}]`),e.unshift(r)}while(i=i.parentPath);return e.join(".")}debug(e){Wx.enabled&&Wx(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,CH.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){e||(this.listKey=null)}get parentKey(){return this.listKey||this.key}},_H={findParent:Ni.findParent,find:Ni.find,getFunctionParent:Ni.getFunctionParent,getStatementParent:Ni.getStatementParent,getEarliestCommonAncestorFrom:Ni.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:Ni.getDeepestCommonAncestorFrom,getAncestry:Ni.getAncestry,isAncestor:Ni.isAncestor,isDescendant:Ni.isDescendant,inType:Ni.inType,getTypeAnnotation:Os.getTypeAnnotation,isBaseType:Os.isBaseType,couldBeBaseType:Os.couldBeBaseType,baseTypeStrictlyMatches:Os.baseTypeStrictlyMatches,isGenericType:Os.isGenericType,replaceWithMultiple:Ns.replaceWithMultiple,replaceWithSourceString:Ns.replaceWithSourceString,replaceWith:Ns.replaceWith,replaceExpressionWithStatements:Ns.replaceExpressionWithStatements,replaceInline:Ns.replaceInline,evaluateTruthy:Vx.evaluateTruthy,evaluate:Vx.evaluate,toComputedKey:zr.toComputedKey,ensureBlock:zr.ensureBlock,unwrapFunctionEnvironment:zr.unwrapFunctionEnvironment,arrowFunctionToExpression:zr.arrowFunctionToExpression,splitExportDeclaration:zr.splitExportDeclaration,ensureFunctionName:zr.ensureFunctionName,matchesPattern:pt.matchesPattern,isStatic:pt.isStatic,isNodeType:pt.isNodeType,canHaveVariableDeclarationOrExpression:pt.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:pt.canSwapBetweenExpressionAndStatement,isCompletionRecord:pt.isCompletionRecord,isStatementOrBlock:pt.isStatementOrBlock,referencesImport:pt.referencesImport,getSource:pt.getSource,willIMaybeExecuteBefore:pt.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:pt._guessExecutionStatusRelativeTo,resolve:pt.resolve,isConstantExpression:pt.isConstantExpression,isInStrictMode:pt.isInStrictMode,isDenylisted:ct.isDenylisted,visit:ct.visit,skip:ct.skip,skipKey:ct.skipKey,stop:ct.stop,setContext:ct.setContext,requeue:ct.requeue,requeueComputedKeyAndDecorators:ct.requeueComputedKeyAndDecorators,remove:Ds.remove,insertBefore:Di.insertBefore,insertAfter:Di.insertAfter,unshiftContainer:Di.unshiftContainer,pushContainer:Di.pushContainer,getOpposite:Rt.getOpposite,getCompletionRecords:Rt.getCompletionRecords,getSibling:Rt.getSibling,getPrevSibling:Rt.getPrevSibling,getNextSibling:Rt.getNextSibling,getAllNextSiblings:Rt.getAllNextSiblings,getAllPrevSiblings:Rt.getAllPrevSiblings,get:Rt.get,getAssignmentIdentifiers:Rt.getAssignmentIdentifiers,getBindingIdentifiers:Rt.getBindingIdentifiers,getOuterBindingIdentifiers:Rt.getOuterBindingIdentifiers,getBindingIdentifierPaths:Rt.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:Rt.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:ah.shareCommentsWithSiblings,addComment:ah.addComment,addComments:ah.addComments};Object.assign(Hi.prototype,_H);Hi.prototype.arrowFunctionToShadowed=zr.arrowFunctionToShadowed,Object.assign(Hi.prototype,{has:pt.has,is:pt.is,isnt:pt.isnt,equals:pt.equals,hoist:Di.hoist,updateSiblingKeys:Di.updateSiblingKeys,call:ct.call,isBlacklisted:ct.isBlacklisted,setScope:ct.setScope,resync:ct.resync,popContext:ct.popContext,pushContext:ct.pushContext,setup:ct.setup,setKey:ct.setKey});Hi.prototype._guessExecutionStatusRelativeToDifferentFunctions=pt._guessExecutionStatusRelativeTo,Hi.prototype._guessExecutionStatusRelativeToDifferentFunctions=pt._guessExecutionStatusRelativeTo,Object.assign(Hi.prototype,{_getTypeAnnotation:Os._getTypeAnnotation,_replaceWith:Ns._replaceWith,_resolve:pt._resolve,_call:ct._call,_resyncParent:ct._resyncParent,_resyncKey:ct._resyncKey,_resyncList:ct._resyncList,_resyncRemoved:ct._resyncRemoved,_getQueueContexts:ct._getQueueContexts,_removeFromScope:Ds._removeFromScope,_callRemovalHooks:Ds._callRemovalHooks,_remove:Ds._remove,_markRemoved:Ds._markRemoved,_assertUnremoved:Ds._assertUnremoved,_containerInsert:Di._containerInsert,_containerInsertBefore:Di._containerInsertBefore,_containerInsertAfter:Di._containerInsertAfter,_verifyNodeList:Di._verifyNodeList,_getKey:Rt._getKey,_getPattern:Rt._getPattern});for(let t of Go.TYPES){let e=`is${t}`,i=Go[e];Hi.prototype[e]=function(r){return i(this.node,r)},Hi.prototype[`assert${t}`]=function(r){if(!i(this.node,r))throw new TypeError(`Expected node path of type ${t}`)}}Object.assign(Hi.prototype,IH);for(let t of Object.keys(EH))t[0]!=="_"&&(Go.TYPES.includes(t)||Go.TYPES.push(t))});var Xx=_(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var OH=Ji(),NH=be(),oh=mi(),{VISITOR_KEYS:DH}=NH,lh=class{constructor(e,i,r,s){this.queue=null,this.priorityQueue=null,this.parentPath=s,this.scope=e,this.state=r,this.opts=i}shouldVisit(e){let i=this.opts;if(i.enter||i.exit||i[e.type])return!0;let r=DH[e.type];if(!(r!=null&&r.length))return!1;for(let s of r)if(e[s])return!0;return!1}create(e,i,r,s){return OH.default.get({parentPath:this.parentPath,parent:e,container:i,key:r,listKey:s})}maybeQueue(e,i){this.queue&&(i?this.queue.push(e):this.priorityQueue.push(e))}visitMultiple(e,i,r){if(e.length===0)return!1;let s=[];for(let n=0;n<e.length;n++){let a=e[n];a&&this.shouldVisit(a)&&s.push(this.create(i,e,n,r))}return this.visitQueue(s)}visitSingle(e,i){return this.shouldVisit(e[i])?this.visitQueue([this.create(e,e,i)]):!1}visitQueue(e){this.queue=e,this.priorityQueue=[];let i=new WeakSet,r=!1,s=0;for(;s<e.length;){let n=e[s];if(s++,oh.resync.call(n),(n.contexts.length===0||n.contexts[n.contexts.length-1]!==this)&&oh.pushContext.call(n,this),n.key===null)continue;let{node:a}=n;if(!i.has(a)){if(a&&i.add(a),n.visit()){r=!0;break}if(this.priorityQueue.length&&(r=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,r))break}}for(let n=0;n<s;n++)oh.popContext.call(e[n]);return this.queue=null,r}visit(e,i){let r=e[i];return r?Array.isArray(r)?this.visitMultiple(r,e,i):this.visitSingle(e,i):!1}};Qo.default=lh});var yo=_(ch=>{"use strict";Object.defineProperty(ch,"__esModule",{value:!0});ch.traverseNode=BH;var LH=Xx(),Moe=Ji(),MH=be(),Foe=mi(),{VISITOR_KEYS:FH}=MH;function BH(t,e,i,r,s,n,a){let l=FH[t.type];if(!l)return!1;let c=new LH.default(i,e,r,s);if(a)return n!=null&&n[s.parentKey]?!1:c.visitQueue([s]);for(let o of l)if(!(n!=null&&n[o])&&c.visit(t,o))return!0;return!1}});var mi=_(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});rt._call=ph;rt._getQueueContexts=ZH;rt._resyncKey=tb;rt._resyncList=ib;rt._resyncParent=eb;rt._resyncRemoved=zH;rt.call=uh;rt.isDenylisted=Qx;rt.popContext=JH;rt.pushContext=XH;rt.requeue=GH;rt.requeueComputedKeyAndDecorators=QH;rt.resync=YH;rt.setContext=WH;rt.setKey=Zo;rt.setScope=Zx;rt.setup=HH;rt.skip=UH;rt.skipKey=KH;rt.stop=VH;rt.visit=$H;var jH=yo(),Hx=Ji(),RH=Uo(),qH=be();function uh(t){let e=this.opts;if(this.debug(t),this.node&&ph.call(this,e[t]))return!0;if(this.node){var i;return ph.call(this,(i=e[this.node.type])==null?void 0:i[t])}return!1}function ph(t){if(!t)return!1;for(let e of t){if(!e)continue;let i=this.node;if(!i)return!0;let r=e.call(this.state,this,this.state);if(r&&typeof r=="object"&&typeof r.then=="function")throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(r)throw new Error(`Unexpected return value from visitor method ${e}`);if(this.node!==i||this._traverseFlags>0)return!0}return!1}function Qx(){var t;let e=(t=this.opts.denylist)!=null?t:this.opts.blacklist;return e?.includes(this.node.type)}rt.isBlacklisted=Qx;function Gx(t,e){t.context!==e&&(t.context=e,t.state=e.state,t.opts=e.opts)}function $H(){var t,e;if(!this.node||this.isDenylisted()||(t=(e=this.opts).shouldSkip)!=null&&t.call(e,this))return!1;let i=this.context;return this.shouldSkip||uh.call(this,"enter")?(this.debug("Skip..."),this.shouldStop):(Gx(this,i),this.debug("Recursing into..."),this.shouldStop=(0,jH.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),Gx(this,i),uh.call(this,"exit"),this.shouldStop)}function UH(){this.shouldSkip=!0}function KH(t){this.skipKeys==null&&(this.skipKeys={}),this.skipKeys[t]=!0}function VH(){this._traverseFlags|=Hx.SHOULD_SKIP|Hx.SHOULD_STOP}function Zx(){var t,e;if((t=this.opts)!=null&&t.noScope)return;let i=this.parentPath;((this.key==="key"||this.listKey==="decorators")&&i.isMethod()||this.key==="discriminant"&&i.isSwitchStatement())&&(i=i.parentPath);let r;for(;i&&!r;){var s;if((s=i.opts)!=null&&s.noScope)return;r=i.scope,i=i.parentPath}this.scope=this.getScope(r),(e=this.scope)==null||e.init()}function WH(t){return this.skipKeys!=null&&(this.skipKeys={}),this._traverseFlags=0,t&&(this.context=t,this.state=t.state,this.opts=t.opts),Zx.call(this),this}function YH(){this.removed||(eb.call(this),ib.call(this),tb.call(this))}function eb(){this.parentPath&&(this.parent=this.parentPath.node)}function tb(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let t=0;t<this.container.length;t++)if(this.container[t]===this.node){Zo.call(this,t);return}}else for(let t of Object.keys(this.container))if(this.container[t]===this.node){Zo.call(this,t);return}this.key=null}}function ib(){if(!this.parent||!this.inList)return;let t=this.parent[this.listKey];this.container!==t&&(this.container=t||null)}function zH(){(this.key==null||!this.container||this.container[this.key]!==this.node)&&RH._markRemoved.call(this)}function JH(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)}function XH(t){this.contexts.push(t),this.setContext(t)}function HH(t,e,i,r){this.listKey=i,this.container=e,this.parentPath=t||this.parentPath,Zo.call(this,r)}function Zo(t){var e;this.key=t,this.node=this.container[this.key],this.type=(e=this.node)==null?void 0:e.type}function GH(t=this){if(t.removed)return;let e=this.contexts;for(let i of e)i.maybeQueue(t)}function QH(){let{context:t,node:e}=this;if(!qH.isPrivate(e)&&e.computed&&t.maybeQueue(this.get("key")),e.decorators)for(let i of this.get("decorators"))t.maybeQueue(i)}function ZH(){let t=this,e=this.contexts;for(;!e.length&&(t=t.parentPath,!!t);)e=t.contexts;return e}});var rb=_(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});el.default=void 0;var fh=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,i,r=TypeError){return new r(i)}};el.default=fh});var _n=_(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});Object.defineProperty(Gi,"Hub",{enumerable:!0,get:function(){return sG.default}});Object.defineProperty(Gi,"NodePath",{enumerable:!0,get:function(){return iG.default}});Object.defineProperty(Gi,"Scope",{enumerable:!0,get:function(){return rG.default}});Gi.visitors=Gi.default=void 0;mi();var Yn=fo();Gi.visitors=Yn;var eG=be(),tG=jr(),sb=yo(),iG=Ji(),rG=Lp(),sG=rb(),{VISITOR_KEYS:nG,removeProperties:aG,traverseFast:Wn}=eG;function xi(t,e={},i,r,s,n){if(t){if(!e.noScope&&!i&&t.type!=="Program"&&t.type!=="File")throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${t.type} node without passing scope and parentPath.`);if(!s&&n)throw new Error("visitSelf can only be used when providing a NodePath.");nG[t.type]&&(Yn.explode(e),(0,sb.traverseNode)(t,e,i,r,s,null,n))}}var qoe=Gi.default=xi;xi.visitors=Yn;xi.verify=Yn.verify;xi.explode=Yn.explode;xi.cheap=function(t,e){Wn(t,e)};xi.node=function(t,e,i,r,s,n){(0,sb.traverseNode)(t,e,i,r,s,n)};xi.clearNode=function(t,e){aG(t,e)};xi.removeProperties=function(t,e){return Wn(t,xi.clearNode,e),t};xi.hasType=function(t,e,i){return i!=null&&i.includes(t.type)?!1:t.type===e?!0:Wn(t,function(r){if(i!=null&&i.includes(r.type))return Wn.skip;if(r.type===e)return Wn.stop})};xi.cache=tG});var ab=_((Uoe,nb)=>{var oG=require("fs"),lG=ja(),cG=_n().default;function uG(t){let e=oG.readFileSync(t,"utf-8"),i=new Set,r,s={};function n(c){return!(!c||typeof c!="string"||(c=c.trim(),c.length===0)||!/[a-zA-Z0-9_-]/.test(c))}function a(c){n(c)&&i.add(c.trim())}try{r=lG.parse(e,{sourceType:"module",plugins:["jsx","typescript","classProperties","objectRestSpread","optionalChaining","nullishCoalescingOperator"]})}catch{return[]}function l(c){if(c)if(c.type==="StringLiteral"||c.type==="Literal")c.value.split(/\s+/).forEach(o=>a(o));else if(c.type==="ArrayExpression")c.elements.forEach(o=>l(o));else if(c.type==="TemplateLiteral")c.quasis.forEach(o=>{o.value.cooked&&o.value.cooked.split(/\s+/).forEach(u=>a(u))}),c.expressions.forEach(o=>l(o));else if(c.type==="Identifier"&&s[c.name]){let o=s[c.name];Array.isArray(o)?o.forEach(u=>a(u)):typeof o=="string"?o.split(/\s+/).forEach(u=>a(u)):typeof o=="object"&&Object.values(o).forEach(u=>{typeof u=="string"&&u.split(/\s+/).forEach(f=>a(f))})}else if(c.type==="BinaryExpression"&&c.operator==="+")l(c.left),l(c.right);else if(c.type==="ConditionalExpression")l(c.consequent),l(c.alternate);else if(c.type==="LogicalExpression")l(c.left),l(c.right);else if(c.type==="MemberExpression"){if(c.object.type==="Identifier"&&s[c.object.name]&&c.property.type==="Identifier"){let o=s[c.object.name][c.property.name];typeof o=="string"&&o.split(/\s+/).forEach(u=>a(u))}}else c.type==="ArrowFunctionExpression"&&(c.body.type==="TemplateLiteral"||c.body.type==="ConditionalExpression"?l(c.body):c.body.type==="BlockStatement"&&c.body.body.forEach(o=>{o.type==="ReturnStatement"&&o.argument&&l(o.argument)}))}return cG(r,{VariableDeclarator(c){if(c.node.init&&c.node.id.type==="Identifier"){let o=c.node.id.name,u=/Class$/.test(o)||/class$/.test(o),f=u||/color|variant|style/i.test(o);if(c.node.init.type==="ObjectExpression"&&f){let d={};c.node.init.properties.forEach(y=>{y.key.type==="Identifier"&&y.value.type==="StringLiteral"&&(d[y.key.name]=y.value.value)}),s[o]=d}else if((c.node.init.type==="ArrayExpression"||c.node.init.type==="StringLiteral")&&f){let d=[];c.node.init.type==="ArrayExpression"?c.node.init.elements.forEach(y=>{y&&y.type==="StringLiteral"&&y.value.split(/\s+/).forEach(E=>{n(E)&&d.push(E.trim())})}):c.node.init.type==="StringLiteral"&&c.node.init.value.split(/\s+/).forEach(y=>{n(y)&&d.push(y.trim())}),s[o]=d}else c.node.init.type==="StringLiteral"&&u&&(s[o]=c.node.init.value)}},ObjectProperty(c){let o=c.node.key.name||(c.node.key.type==="StringLiteral"?c.node.key.value:null);o&&/Class$|^className$/i.test(o)&&(c.node.value.type==="StringLiteral"?c.node.value.value.split(/\s+/).forEach(u=>a(u)):c.node.value.type==="TemplateLiteral"&&l(c.node.value))},JSXAttribute(c){if(typeof c.node.name.name=="string"&&/^(class(Name)?|.*[cC]lass)$/.test(c.node.name.name)){let o=c.node.value;o&&(o.type==="StringLiteral"?o.value.split(/\s+/).forEach(u=>a(u)):o.type==="JSXExpressionContainer"&&l(o.expression))}}}),Array.from(i).filter(n)}nb.exports=uG});var dh=require("fs"),Tb=require("path"),pG=Ed(),fG=wd(),ob=Id(),lb=_d(),hG=ab(),cb=(...t)=>t.reduce((e,i)=>fG(e,i||{},{arrayMerge:(r,s)=>s}),{}),ub=()=>{try{return require(Tb.resolve(process.cwd(),"unicss.config.js"))}catch{return{}}},at=t=>t.replace(/([:\/\[\]\(\)\?\=\&\,\'\;\+\"#%\*!])/g,"\\$1").replace(/\./g,"\\.").replace(/^([0-9])/,"\\$1"),qt=t=>t.replace(/\./g,"\\."),D=(t,e)=>{let i=t.replace(/[\[\]]/g,"");return["bg-image","mask-image","list-image"].includes(e)?/^url\(/i.test(i.trim())?i:i.replace(/_/g," "):i.replace(/_/g," ").replace(/calc\(([^)]+)\)/g,(s,n)=>`calc(${n.replace(/([+\-*\/])/g," $1 ").replace(/\s+/g," ").trim()})`)},pb=t=>{let e=dh.readFileSync(t,"utf-8"),i=[];return[/class=["']([^"']+)["']/g,/className=["']([^"']+)["']/g,/class=\{["'`]([^"'`]+)["'`]\}/g,/className=\{["'`]([^"'`]+)["'`]\}/g,/class:\s*["']([^"']+)["']/g,/class:\s*\[["']([^"']+)["']\]/g].forEach(s=>{let n;for(;(n=s.exec(e))!==null;){let a=n[1];if(a){let l=a.split(/\s+/).filter(Boolean);i.push(...l)}}}),i},Ie=t=>{if(t=t.replace(/[\[\]]/g,""),["inherit","current","transparent","currentColor"].includes(t))return t==="current"?"currentColor":t;let i=t.match(/^rgba?\((\d+),(\d+),(\d+)(?:,(\d*\.?\d+))?\)$/);if(i){let[,s,n,a,l]=i;return`rgba(${s},${n},${a},${l||1})`}let r=t.match(/^rgb\((\d+)_(\d+)_(\d+)(?:_\/(\d+))?\)$/);if(r){let[,s,n,a,l]=r,c=l?parseInt(l,10)/100:1;return`rgba(${s},${n},${a},${c})`}if(/^#[0-9A-Fa-f]{6}$|^#[0-9A-Fa-f]{3}$/.test(t))return t;if(t.includes("/")){let[s,n]=t.split("/");if(s.startsWith("#")){let a=s.replace("#","");a.length===3&&(a=a.split("").map(u=>u+u).join(""));let l=parseInt(a.substring(0,2),16),c=parseInt(a.substring(2,4),16),o=parseInt(a.substring(4,6),16);return`rgba(${l},${c},${o},${parseInt(n,10)/100})`}return`color-mix(in srgb, var(--color-${s}) ${parseInt(n,10)}%, transparent)`}return`var(--color-${t})`},mt=t=>/^\d+\/\d+$/.test(t)?t.replace(/^(\d+)\/(\d+)$/,(e,i,r)=>`${parseInt(i,10)/parseInt(r,10)*100}%`):`var(--${qt(t)})`,Ve=t=>/^\d+\/\d+$/.test(t)?`-${t.replace(/^(\d+)\/(\d+)$/,(e,i,r)=>`${parseInt(i,10)/parseInt(r,10)*100}%`)}`:`calc(-1 * var(--${qt(t)}))`,dG=t=>{let e=t.split(" ");if(e.length===1){let i=mt(e[0]);return`${i} ${i}`}return e.map(mt).join(" ")},mG=t=>{let e=t.split(" ");if(e.length===1){let i=Ve(e[0]);return`${i} ${i}`}return e.map(Ve).join(" ")},Ls={first:"first-child",last:"last-child","not-first":"not(:first-child)","not-last":"not(:last-child)",odd:"nth-child(odd)",even:"nth-child(even)",placeholder:"placeholder",file:"file-selector-button",marker:"marker",selection:"selection","first-line":"first-line","first-letter":"first-letter",backdrop:"backdrop","has-checked":"has(:checked)","focus-within":"focus-within",before:"before",after:"after","peer-hover":":hover","peer-focus":":focus","peer-active":":active","peer-invalid":":invalid","peer-checked":":checked","peer-disabled":":disabled","peer-required":":required","peer-read-only":":read-only","peer-indeterminate":":indeterminate","not-hover":"not(:hover)","not-focus":"not(:focus)","not-active":"not(:active)","not-visited":"not(:visited)","not-disabled":"not(:disabled)","not-checked":"not(:checked)","not-focus-visible":"not(:focus-visible)","not-invalid":"not(:invalid)","not-valid":"not(:valid)","not-required":"not(:required)","not-read-only":"not(:read-only)","not-indeterminate":"not(:indeterminate)"},yG=t=>{let e=t.match(/^nth-(\d+)$/);if(e)return`nth-child(${e[1]})`;let i=t.match(/^nth-last-(\d+)$/);if(i)return`nth-last-child(${i[1]})`;let r=t.match(/^nth-of-type-(\d+)$/);if(r)return`nth-of-type(${r[1]})`;let s=t.match(/^nth-last-of-type-(\d+)$/);return s?`nth-last-of-type(${s[1]})`:null},Mi=t=>{let e=yG(t);if(e)return e;if(t.startsWith("group-hover/"))return`.group\\/${t.replace("group-hover/","")}:hover`;if(t==="group-hover")return".group:hover";if(t.startsWith("peer-")&&t.includes("/")){let[i,r]=t.split("/"),s=Ls[i]||`:${i.replace("peer-","")}`;return`.peer\\/${r}${s} ~`}return t.startsWith("peer-")?`.peer${Ls[t]||`:${t.replace("peer-","")}`} ~`:Ls[t]||t},fb=["--uni-blur","--uni-drop-shadow","--uni-brightness","--uni-contrast","--uni-grayscale","--uni-hue-rotate","--uni-invert","--uni-saturate","--uni-sepia"],hb=["--uni-backdrop-blur","--uni-backdrop-brightness","--uni-backdrop-contrast","--uni-backdrop-grayscale","--uni-backdrop-hue-rotate","--uni-backdrop-invert","--uni-backdrop-saturate","--uni-backdrop-opacity","--uni-backdrop-sepia"],TG=["--uni-shadow","--uni-shadow-color","--uni-inset-shadow","--uni-inset-shadow-color","--uni-ring-shadow","--uni-ring-color","--uni-inset-ring-shadow","--uni-inset-ring-color","--uni-ring-inset"],db=["--uni-rotate-x","--uni-rotate-y","--uni-rotate-z","--uni-skew-x","--uni-skew-y"],mb=["--uni-scale-x","--uni-scale-y"],yb=["--uni-translate-x","--uni-translate-y","--uni-translate-z"],gG=(t,e,i,r,s=null,n=null,a=!1)=>{let l=at(t),c=`.${l}`,o=!1;t.includes("space-x-")||t.includes("space-y-")||t.includes("divide-x")||t.includes("divide-y")||t.includes("divide-color-")||t.includes("divide-style-")?(c+=" > :not(:last-child)",o=!0):a&&(c+=" > *"),o&&(c=`:where(${c})`),s&&(s.startsWith("peer-")||s.includes("peer-"))?c=`${Mi(s)}${c}`:s&&(o?c=c.replace(`:where(.${l}`,`:where(.${l}:${Mi(s)}`):c+=`:${Mi(s)}`);let u=fb.includes(i),f=hb.includes(i),d=TG.includes(i),y=db.includes(i),E=mb.includes(i),P=yb.includes(i),A;typeof r=="object"?A=Object.entries(r).map(([k,M])=>`${k}: ${M}`).join("; "):Array.isArray(i)?A=i.map(k=>`${k}: ${r}`).join("; "):A=`${i}: ${r}`;let I;return u?I=`${c} { ${A}; filter: ${fb.map(k=>`var(${k})`).join(" ")}; }`:f?I=`${c} { ${A}; backdrop-filter: ${hb.map(k=>`var(${k})`).join(" ")}; }`:d?I=`${c} { ${A}; box-shadow: var(--uni-inset-shadow, 0 0 #0000), var(--uni-inset-ring-shadow, 0 0 #0000), var(--uni-ring-shadow, 0 0 #0000), var(--uni-shadow, 0 0 #0000); }`:y?I=`${c} { ${A}; transform: ${db.map(k=>`var(${k})`).join(" ")}; }`:E?I=`${c} { ${A}; scale: ${mb.map(k=>`var(${k})`).join(" ")}; }`:P?I=`${c} { ${A}; translate: ${yb.map(k=>`var(${k})`).join(" ")}; }`:I=`${c} { ${A} }`,{selector:c,rule:I,screen:n}},xG=(t,e={})=>{let i=[],r=(o,u,f)=>{i.push({prefix:o,prop:u,transform:f})};["w","min-w","max-w"].forEach(o=>{let u=o.replace("w","width");r(`${o}-[`,u,D),r(`${o}-`,u,f=>{let d=`container-${f}`;if(e[d])return`var(--${d})`;if(/^\d+\/\d+$/.test(f))return f.replace(/^(\d+)\/(\d+)$/,(E,P,A)=>`${parseInt(P,10)/parseInt(A,10)*100}%`);let y={full:"100%",screen:"100vw",dvw:"100dvw",dvh:"100dvh",lvw:"100lvw",lvh:"100lvh",svw:"100svw",svh:"100svh",auto:"auto",px:"1px",min:"min-content",max:"max-content",fit:"fit-content"};return y[f]?y[f]:`var(--${f})`})}),["h","min-h","max-h"].forEach(o=>{let u=o.replace("h","height");r(`${o}-[`,u,D),r(`${o}-`,u,f=>{let d=`container-${f}`;if(e[d])return`var(--${d})`;if(/^\d+\/\d+$/.test(f))return f.replace(/^(\d+)\/(\d+)$/,(E,P,A)=>`${parseInt(P,10)/parseInt(A,10)*100}%`);let y={full:"100%",screen:"100vh",dvw:"100dvw",dvh:"100dvh",lvw:"100lvw",lvh:"100lvh",svw:"100svw",svh:"100svh",auto:"auto",px:"1px",min:"min-content",max:"max-content",fit:"fit-content"};return y[f]?y[f]:`var(--${f})`})}),[["p","padding"],["pt","padding-top"],["pr","padding-right"],["pb","padding-bottom"],["pl","padding-left"],["px","padding-inline"],["py","padding-block"],["m","margin"],["mt","margin-top"],["mr","margin-right"],["mb","margin-bottom"],["ml","margin-left"]].forEach(([o,u])=>{r(`${o}-[`,u,D),r(`${o}-`,u,f=>f==="auto"?"auto":f==="px"?"1px":mt(f))}),r("mx-[",["margin-left","margin-right"],D),r("mx-",["margin-left","margin-right"],o=>o==="auto"?"auto":o==="px"?"1px":mt(o)),r("my-[",["margin-top","margin-bottom"],D),r("my-",["margin-top","margin-bottom"],o=>o==="auto"?"auto":o==="px"?"1px":mt(o)),r("-m-","margin",o=>o==="px"?"-1px":Ve(o)),r("-mt-","margin-top",o=>o==="px"?"-1px":Ve(o)),r("-mr-","margin-right",o=>o==="px"?"-1px":Ve(o)),r("-mb-","margin-bottom",o=>o==="px"?"-1px":Ve(o)),r("-ml-","margin-left",o=>o==="px"?"-1px":Ve(o)),r("-mx-",["margin-left","margin-right"],o=>o==="px"?"-1px":Ve(o)),r("-my-",["margin-top","margin-bottom"],o=>o==="px"?"-1px":Ve(o)),["top","right","bottom","left"].forEach(o=>{r(`${o}-[`,o,D),r(`${o}-`,o,u=>u==="auto"?"auto":u==="px"?"1px":u==="full"?"100%":mt(u)),r(`-${o}-[`,o,u=>`-${D(u)}`),r(`-${o}-`,o,u=>u==="px"?"-1px":u==="full"?"-100%":Ve(u))}),r("gap-x-[","column-gap",D),r("gap-x-","column-gap",o=>o==="px"?"1px":`var(--${qt(o)})`),r("gap-y-[","row-gap",D),r("gap-y-","row-gap",o=>o==="px"?"1px":`var(--${qt(o)})`),r("gap-[","gap",D),r("gap-","gap",o=>o==="px"?"1px":`var(--${qt(o)})`),r("inset-x-[","inset-inline",D),r("inset-x-","inset-inline",o=>o==="auto"?"auto":o==="px"?"1px":o==="full"?"100%":mt(o)),r("-inset-x-[","inset-inline",o=>`-${D(o)}`),r("-inset-x-","inset-inline",Ve),r("inset-y-[","inset-block",D),r("inset-y-","inset-block",o=>o==="auto"?"auto":o==="px"?"1px":o==="full"?"100%":mt(o)),r("-inset-y-[","inset-block",o=>`-${D(o)}`),r("-inset-y-","inset-block",Ve),r("inset-[","inset",D),r("inset-","inset",o=>o==="auto"?"auto":o==="px"?"1px":o==="full"?"100%":mt(o)),r("-inset-[","inset",o=>`-${D(o)}`),r("-inset-","inset",Ve),r("z-","z-index",D),r("-z-","z-index",o=>`-${o}`),r("flex-[","flex",D),r("flex-row-reverse","flex-direction",()=>"row-reverse"),r("flex-col-reverse","flex-direction",()=>"column-reverse"),r("flex-row","flex-direction",()=>"row"),r("flex-col","flex-direction",()=>"column"),r("flex-wrap-reverse","flex-wrap",()=>"wrap-reverse"),r("flex-wrap","flex-wrap",()=>"wrap"),r("flex-nowrap","flex-wrap",()=>"nowrap"),r("flex-","flex",D),r("grow-","flex-grow",D),r("shrink-","flex-shrink",D),r("basis-[","flex-basis",D),r("basis-","flex-basis",o=>{if(o==="auto")return"auto";if(o==="px")return"1px";if(o==="full")return"100%";let u=`container-${o}`;return e[u]?`var(--${u})`:mt(o)}),r("order-first","order",()=>"-999999"),r("order-last","order",()=>"999999"),r("order-","order",D),r("-order-","order",o=>`-${o}`),[["auto",{width:"auto",height:"auto"}],["px",{width:"1px",height:"1px"}],["full",{width:"100%",height:"100%"}],["dvw",{width:"100dvw",height:"100dvw"}],["dvh",{width:"100dvh",height:"100dvh"}],["lvw",{width:"100lvw",height:"100lvw"}],["lvh",{width:"100lvh",height:"100lvh"}],["svw",{width:"100svw",height:"100svw"}],["svh",{width:"100svh",height:"100svh"}],["min",{width:"min-content",height:"min-content"}],["max",{width:"max-content",height:"max-content"}],["fit",{width:"fit-content",height:"fit-content"}]].forEach(([o,u])=>{r(`size-${o}`,null,()=>u)}),r("size-[",["width","height"],D),r("size-",["width","height"],mt),r("aspect-[","aspect-ratio",D),r("aspect-","aspect-ratio",o=>/^\d+\/\d+$/.test(o)?o:{auto:"auto",square:"1/1",video:"16/9"}[o]||o),[["scroll-m","scroll-margin"],["scroll-mt","scroll-margin-top"],["scroll-mr","scroll-margin-right"],["scroll-mb","scroll-margin-bottom"],["scroll-ml","scroll-margin-left"]].forEach(([o,u])=>{r(`${o}-[`,u,D),r(`${o}-`,u,f=>f==="auto"?"auto":f==="px"?"1px":/^\d+$/.test(f)?`var(--${f})`:mt(f))}),r("scroll-mx-[","scroll-margin-inline",D),r("scroll-mx-","scroll-margin-inline",o=>o==="auto"?"auto":o==="px"?"1px":/^\d+$/.test(o)?`var(--${o})`:mt(o)),r("scroll-my-[","scroll-margin-block",D),r("scroll-my-","scroll-margin-block",o=>o==="auto"?"auto":o==="px"?"1px":/^\d+$/.test(o)?`var(--${o})`:mt(o)),r("-scroll-m-[","scroll-margin",o=>`-${D(o)}`),r("-scroll-m-","scroll-margin",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-mt-[","scroll-margin-top",o=>`-${D(o)}`),r("-scroll-mt-","scroll-margin-top",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-mr-[","scroll-margin-right",o=>`-${D(o)}`),r("-scroll-mr-","scroll-margin-right",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-mb-[","scroll-margin-bottom",o=>`-${D(o)}`),r("-scroll-mb-","scroll-margin-bottom",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-ml-[","scroll-margin-left",o=>`-${D(o)}`),r("-scroll-ml-","scroll-margin-left",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-mx-[","scroll-margin-inline",o=>`-${D(o)}`),r("-scroll-mx-","scroll-margin-inline",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-my-[","scroll-margin-block",o=>`-${D(o)}`),r("-scroll-my-","scroll-margin-block",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),[["scroll-p","scroll-padding"],["scroll-pt","scroll-padding-top"],["scroll-pr","scroll-padding-right"],["scroll-pb","scroll-padding-bottom"],["scroll-pl","scroll-padding-left"]].forEach(([o,u])=>{r(`${o}-[`,u,D),r(`${o}-`,u,f=>f==="px"?"1px":/^\d+$/.test(f)?`var(--${f})`:mt(f))}),r("scroll-px-[","scroll-padding-inline",D),r("scroll-px-","scroll-padding-inline",o=>o==="px"?"1px":/^\d+$/.test(o)?`var(--${o})`:mt(o)),r("scroll-py-[","scroll-padding-block",D),r("scroll-py-","scroll-padding-block",o=>o==="px"?"1px":/^\d+$/.test(o)?`var(--${o})`:mt(o)),r("-scroll-p-[","scroll-padding",o=>`-${D(o)}`),r("-scroll-p-","scroll-padding",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-pt-[","scroll-padding-top",o=>`-${D(o)}`),r("-scroll-pt-","scroll-padding-top",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-pr-[","scroll-padding-right",o=>`-${D(o)}`),r("-scroll-pr-","scroll-padding-right",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-pb-[","scroll-padding-bottom",o=>`-${D(o)}`),r("-scroll-pb-","scroll-padding-bottom",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-pl-[","scroll-padding-left",o=>`-${D(o)}`),r("-scroll-pl-","scroll-padding-left",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-px-[","scroll-padding-inline",o=>`-${D(o)}`),r("-scroll-px-","scroll-padding-inline",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("-scroll-py-[","scroll-padding-block",o=>`-${D(o)}`),r("-scroll-py-","scroll-padding-block",o=>o==="px"?"-1px":/^\d+$/.test(o)?`calc(var(--${o}) * -1)`:Ve(o)),r("font-[","font-weight",D),r("font-family-[","font-family",o=>{let u=D(o);return u.startsWith('"')||u.startsWith("'")?u:`"${u}"`}),r("tracking-[","letter-spacing",D),r("leading-[","line-height",D),r("leading-","line-height",o=>/^\d+$/.test(o)||/^\d*\.\d+$/.test(o)?`calc(var(--1) * ${o})`:null),r("indent-[","text-indent",D),r("indent-","text-indent",o=>`var(--${qt(o)})`),r("-indent-","text-indent",o=>`calc(-1 * var(--${qt(o)}))`),r("align-[","vertical-align",D),r("text-shadow-color-[",null,o=>({"--uni-text-shadow-color":Ie(o)})),r("text-shadow-color-",null,o=>({"--uni-text-shadow-color":Ie(o)})),r("text-shadow-[","text-shadow",D),r("text-color-[","color",Ie),r("text-color-","color",Ie),r("text-[","font-size",D),r("text-",null,function(o){if(o.startsWith("color-"))return{color:Ie(o.replace("color-",""))};let u=o.match(/^([a-z0-9\[\]\-\.]+)\/([a-z0-9\[\]\-\.]+)$/i);if(u){let[,f,d]=u;if(!f.startsWith("color-"))return{"font-size":t[f]?`var(--${qt(f)})`:`var(--text-${f})`,"line-height":t[d]?`var(--${qt(d)})`:`var(--line-${d})`}}return t[o]?{"font-size":`var(--${qt(o)})`}:{"font-size":`var(--text-${o})`}}),r("decoration-color-[","text-decoration-color",Ie),r("decoration-color-","text-decoration-color",Ie),r("decoration-thick-[","text-decoration-thickness",D),r("decoration-thick-","text-decoration-thickness",o=>o==="auto"?"auto":o==="from-font"?"from-font":/^\d+$/.test(o)?`${o}px`:`var(--${qt(o)})`),r("underline-offset-[","text-underline-offset",D),r("underline-offset-","text-underline-offset",o=>o==="auto"?"auto":/^\d+$/.test(o)?`${o}px`:`var(--${qt(o)})`),r("-underline-offset-[","text-underline-offset",o=>`-${D(o)}`),r("-underline-offset-","text-underline-offset",o=>/^\d+$/.test(o)?`-${o}px`:`calc(-1 * var(--${qt(o)}))`),r("bg-color-[","background-color",Ie),r("bg-color-","background-color",Ie),r("bg-image-[","background-image",o=>D(o,"bg-image")),r("bg-position-[","background-position",D),r("bg-size-[","background-size",D),r("bg-gradient-[","background-image",o=>D(o).replace(/color-([a-zA-Z0-9\-]+(?:\/[0-9]+)?)/g,(u,f)=>Ie(f))),r("list-image-[","list-style-image",o=>D(o,"list-image")),r("mask-image-[",null,o=>({"mask-image":D(o,"mask-image"),"-webkit-mask-image":D(o,"mask-image")})),r("mask-position-[",null,o=>({"mask-position":D(o),"-webkit-mask-position":D(o)})),r("mask-size-[",null,o=>({"mask-size":D(o),"-webkit-mask-size":D(o)})),r("border-style-",null,o=>({"--uni-border-style":o,"border-style":"var(--uni-border-style)"})),r("border-spacing-x-[",null,o=>({"--uni-border-spacing-x":D(o),"border-spacing":`var(--uni-border-spacing-x, ${D(o)}) var(--uni-border-spacing-y, 0)`})),r("border-spacing-x-",null,o=>({"--uni-border-spacing-x":`${o}px`,"border-spacing":`var(--uni-border-spacing-x, ${o}px) var(--uni-border-spacing-y, 0)`})),r("border-spacing-y-[",null,o=>({"--uni-border-spacing-y":D(o),"border-spacing":`var(--uni-border-spacing-x, 0) var(--uni-border-spacing-y, ${D(o)})`})),r("border-spacing-y-",null,o=>({"--uni-border-spacing-y":`${o}px`,"border-spacing":`var(--uni-border-spacing-x, 0) var(--uni-border-spacing-y, ${o}px)`})),r("border-spacing-[","border-spacing",D),r("border-spacing-","border-spacing",o=>`${o}px`),r("border-color-[","border-color",Ie),r("border-color-","border-color",Ie),["t","r","b","l","x","y"].forEach(o=>{let u={t:"border-top-color",r:"border-right-color",b:"border-bottom-color",l:"border-left-color",x:"border-inline-color",y:"border-block-color"};r(`border-${o}-color-[`,u[o],Ie),r(`border-${o}-color-`,u[o],Ie)}),r("border-x-",null,o=>({"border-inline-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-y-",null,o=>({"border-block-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-t-",null,o=>({"border-top-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-r-",null,o=>({"border-right-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-b-",null,o=>({"border-bottom-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-l-",null,o=>({"border-left-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-[",null,o=>({"border-width":D(o),"border-style":"var(--uni-border-style)"})),r("border-",null,o=>/^\d+$/.test(o)||/^\d+(px|rem|em|%)$/.test(o)?{"border-width":`${o}px`,"border-style":"var(--uni-border-style)"}:{});let c=["xs","sm","md","lg","xl","2xl","4xl","none","full"];return c.forEach(o=>{let u=o==="none"?"0":o==="full"?"999999px":`var(--radius-${o})`;r(`rounded-${o}`,"border-radius",()=>u)}),r("rounded-[","border-radius",D),["t","r","b","l","tl","tr","br","bl"].forEach(o=>{let u={t:["top-left","top-right"],r:["top-right","bottom-right"],b:["bottom-right","bottom-left"],l:["top-left","bottom-left"],tl:["top-left"],tr:["top-right"],br:["bottom-right"],bl:["bottom-left"]};c.forEach(f=>{let d=f==="none"?"0":f==="full"?"999999px":`var(--radius-${f})`,y={};u[o].forEach(E=>{y[`border-${E}-radius`]=d}),r(`rounded-${o}-${f}`,null,()=>y)})}),r("shadow-[","--uni-shadow",D),r("shadow-inset-[","--uni-inset-shadow",D),r("shadow-color-[",null,o=>({"--uni-shadow-color":Ie(o)})),r("shadow-color-",null,o=>({"--uni-shadow-color":Ie(o)})),r("shadow-inset-color-[",null,o=>({"--uni-inset-shadow-color":Ie(o)})),r("shadow-inset-color-",null,o=>({"--uni-inset-shadow-color":Ie(o)})),r("ring-inset-color-[","--uni-inset-ring-color",Ie),r("ring-inset-color-","--uni-inset-ring-color",Ie),r("ring-inset-[","--uni-inset-ring-shadow",o=>`inset 0 0 0 ${D(o)} var(--uni-inset-ring-color, currentColor)`),r("ring-inset-","--uni-inset-ring-shadow",o=>`inset 0 0 0 ${o}px var(--uni-inset-ring-color, currentColor)`),r("ring-inset","--uni-inset-ring-shadow",()=>"inset 0 0 0 1px var(--uni-inset-ring-color, currentColor)"),r("ring-color-[","--uni-ring-color",Ie),r("ring-color-","--uni-ring-color",Ie),r("ring-[","--uni-ring-shadow",o=>`0 0 0 ${D(o)} var(--uni-ring-color, currentColor)`),r("ring-","--uni-ring-shadow",o=>`0 0 0 ${o}px var(--uni-ring-color, currentColor)`),r("ring","--uni-ring-shadow",()=>"0 0 0 1px var(--uni-ring-color, currentColor)"),r("blur-[","--uni-blur",o=>`blur(${D(o)})`),r("blur-","--uni-blur",o=>`blur(var(--blur-${o}))`),r("brightness-","--uni-brightness",o=>`brightness(${D(o)}%)`),r("contrast-","--uni-contrast",o=>`contrast(${D(o)}%)`),r("drop-shadow-[","--uni-drop-shadow",o=>`drop-shadow(${D(o)})`),r("drop-shadow-color-[",null,o=>({"--uni-drop-shadow-color":Ie(o)})),r("drop-shadow-color-",null,o=>({"--uni-drop-shadow-color":Ie(o)})),r("grayscale-","--uni-grayscale",o=>`grayscale(${D(o)}%)`),r("grayscale","--uni-grayscale",()=>"grayscale(100%)"),r("hue-rotate-","--uni-hue-rotate",o=>`hue-rotate(${D(o)}deg)`),r("-hue-rotate-","--uni-hue-rotate",o=>`hue-rotate(calc(${D(o)}deg * -1))`),r("invert-","--uni-invert",o=>`invert(${D(o)}%)`),r("invert","--uni-invert",()=>"invert(100%)"),r("saturate-","--uni-saturate",o=>`saturate(${D(o)}%)`),r("sepia-","--uni-sepia",o=>`sepia(${D(o)}%)`),r("sepia","--uni-sepia",()=>"sepia(100%)"),r("backdrop-blur-[","--uni-backdrop-blur",o=>`blur(${D(o)})`),r("backdrop-blur-","--uni-backdrop-blur",o=>`blur(var(--blur-${o}))`),r("backdrop-brightness-","--uni-backdrop-brightness",o=>`brightness(${D(o)}%)`),r("backdrop-contrast-","--uni-backdrop-contrast",o=>`contrast(${D(o)}%)`),r("backdrop-grayscale-","--uni-backdrop-grayscale",o=>`grayscale(${D(o)}%)`),r("backdrop-grayscale","--uni-backdrop-grayscale",()=>"grayscale(100%)"),r("backdrop-hue-rotate-","--uni-backdrop-hue-rotate",o=>`hue-rotate(${D(o)}deg)`),r("-backdrop-hue-rotate-","--uni-backdrop-hue-rotate",o=>`hue-rotate(calc(${D(o)}deg * -1))`),r("backdrop-invert-","--uni-backdrop-invert",o=>`invert(${D(o)}%)`),r("backdrop-invert","--uni-backdrop-invert",()=>"invert(100%)"),r("backdrop-opacity-","--uni-backdrop-opacity",o=>`opacity(${D(o)}%)`),r("backdrop-saturate-","--uni-backdrop-saturate",o=>`saturate(${D(o)}%)`),r("backdrop-sepia-","--uni-backdrop-sepia",o=>`sepia(${D(o)}%)`),r("backdrop-sepia","--uni-backdrop-sepia",()=>"sepia(100%)"),r("opacity-","opacity",function(o){if(/^\d+$/.test(o)){let u=parseInt(o,10);if(u>=0&&u<=100)return(u/100).toString()}return D(o)}),r("duration-",null,o=>({"--uni-transition-duration":`${D(o)}ms`,"transition-duration":"var(--uni-transition-duration, 150ms)"})),r("ease-[",null,o=>({"--uni-transition-timing-function":D(o),"transition-timing-function":"var(--uni-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1))"})),r("delay-",null,o=>({"--uni-transition-delay":`${D(o)}ms`,"transition-delay":"var(--uni-transition-delay, 0ms)"})),r("transition-",null,o=>({"--uni-transition-property":D(o),"transition-property":"var(--uni-transition-property, all)","transition-duration":"var(--uni-transition-duration, 150ms)"})),r("animate-[","animation",D),r("animate-spin","animation",()=>"var(--animate-spin)"),r("animate-ping","animation",()=>"var(--animate-ping)"),r("animate-pulse","animation",()=>"var(--animate-pulse)"),r("animate-bounce","animation",()=>"var(--animate-bounce)"),r("animate-none","animation",()=>"none"),r("iteration-","animation-iteration-count",D),r("will-change-[","will-change",D),r("perspective-origin-[","perspective-origin",D),r("perspective-[","perspective",D),r("rotate-[","rotate",D),r("rotate-x-","--uni-rotate-x",o=>`rotateX(${o}deg)`),r("rotate-y-","--uni-rotate-y",o=>`rotateY(${o}deg)`),r("rotate-z-","--uni-rotate-z",o=>`rotateZ(${o}deg)`),r("-rotate-x-","--uni-rotate-x",o=>`rotateX(calc(${o}deg * -1))`),r("-rotate-y-","--uni-rotate-y",o=>`rotateY(calc(${o}deg * -1))`),r("-rotate-z-","--uni-rotate-z",o=>`rotateZ(calc(${o}deg * -1))`),r("rotate-","rotate",o=>`${D(o)}deg`),r("-rotate-","rotate",o=>`calc(${D(o)}deg * -1)`),r("scale-x-","--uni-scale-x",o=>`${o}%`),r("scale-y-","--uni-scale-y",o=>`${o}%`),r("-scale-x-","--uni-scale-x",o=>`calc(${o}% * -1)`),r("-scale-y-","--uni-scale-y",o=>`calc(${o}% * -1)`),r("scale-","scale",o=>`${D(o)}%`),r("-scale-","scale",o=>`calc(${D(o)}% * -1)`),r("skew-x-","--uni-skew-x",o=>`skewX(${o}deg)`),r("skew-y-","--uni-skew-y",o=>`skewY(${o}deg)`),r("-skew-x-","--uni-skew-x",o=>`skewX(calc(${o}deg * -1))`),r("-skew-y-","--uni-skew-y",o=>`skewY(calc(${o}deg * -1))`),r("skew-","transform",o=>`skewX(${o}deg) skewY(${o}deg)`),r("-skew-","transform",o=>`skewX(-${o}deg) skewY(-${o}deg)`),r("origin-[","transform-origin",D),r("translate-[","translate",D),r("translate-x-[","--uni-translate-x",D),r("translate-y-[","--uni-translate-y",D),r("translate-x-","--uni-translate-x",mt),r("translate-y-","--uni-translate-y",mt),r("translate-z-","--uni-translate-z",mt),r("-translate-x-","--uni-translate-x",Ve),r("-translate-y-","--uni-translate-y",Ve),r("-translate-z-","--uni-translate-z",Ve),r("translate-","translate",dG),r("-translate-","translate",mG),r("grid-columns-[","grid-template-columns",D),r("grid-columns-","grid-template-columns",o=>/^\d+$/.test(o)?`repeat(${o}, minmax(0, 1fr))`:o),r("col-start-","grid-column-start",D),r("-col-start-","grid-column-start",o=>`calc(${D(o)} * -1)`),r("col-end-","grid-column-end",D),r("-col-end-","grid-column-end",o=>`calc(${D(o)} * -1)`),r("col-span-","grid-column",o=>o==="full"?"1 / -1":`span ${D(o)} / span ${D(o)}`),r("col-[","grid-column",D),r("grid-rows-[","grid-template-rows",D),r("grid-rows-","grid-template-rows",o=>/^\d+$/.test(o)?`repeat(${o}, minmax(0, 1fr))`:o),r("row-start-","grid-row-start",D),r("-row-start-","grid-row-start",o=>`calc(${D(o)} * -1)`),r("row-end-","grid-row-end",D),r("-row-end-","grid-row-end",o=>`calc(${D(o)} * -1)`),r("row-span-","grid-row",o=>o==="full"?"1 / -1":`span ${D(o)} / span ${D(o)}`),r("row-[","grid-row",D),r("auto-columns-[","grid-auto-columns",D),r("auto-rows-[","grid-auto-rows",D),r("space-x-[","margin-right",D),r("space-x-","margin-right",o=>o==="px"?"1px":/^\d+\/\d+$/.test(o)?o.replace(/^(\d+)\/(\d+)$/,(u,f,d)=>`${parseInt(f,10)/parseInt(d,10)*100}%`):`var(--${o})`),r("-space-x-[","margin-right",o=>`calc(${D(o)} * -1)`),r("-space-x-","margin-right",o=>o==="px"?"-1px":/^\d+\/\d+$/.test(o)?`-${o.replace(/^(\d+)\/(\d+)$/,(u,f,d)=>`${parseInt(f,10)/parseInt(d,10)*100}%`)}`:`calc(var(--${o}) * -1)`),r("space-y-[","margin-bottom",D),r("space-y-","margin-bottom",o=>o==="px"?"1px":/^\d+\/\d+$/.test(o)?o.replace(/^(\d+)\/(\d+)$/,(u,f,d)=>`${parseInt(f,10)/parseInt(d,10)*100}%`):`var(--${o})`),r("-space-y-[","margin-bottom",o=>`calc(${D(o)} * -1)`),r("-space-y-","margin-bottom",o=>o==="px"?"-1px":/^\d+\/\d+$/.test(o)?`-${o.replace(/^(\d+)\/(\d+)$/,(u,f,d)=>`${parseInt(f,10)/parseInt(d,10)*100}%`)}`:`calc(var(--${o}) * -1)`),r("divide-x-[",null,o=>({"border-right-width":D(o),"border-right-style":"solid"})),r("divide-x-",null,o=>/^\d+$/.test(o)?{"border-right-width":`${o}px`,"border-right-style":"solid"}:{"border-right-width":o,"border-right-style":"solid"}),r("divide-x",null,()=>({"border-right-width":"1px","border-right-style":"solid"})),r("divide-y-[",null,o=>({"border-bottom-width":D(o),"border-bottom-style":"solid"})),r("divide-y-",null,o=>/^\d+$/.test(o)?{"border-bottom-width":`${o}px`,"border-bottom-style":"solid"}:{"border-bottom-width":o,"border-bottom-style":"solid"}),r("divide-y",null,()=>({"border-bottom-width":"1px","border-bottom-style":"solid"})),r("divide-style-","border-style",o=>o),r("divide-color-[","border-color",Ie),r("divide-color-","border-color",Ie),r("columns-","columns",o=>/^\d+$/.test(o)?o:["3xs","2xs","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl"].includes(o)?`var(--container-${o})`:D(o)),r("scrollbar-[","scrollbar-color",o=>D(o).replace(/color-([a-zA-Z0-9\-]+)/g,(u,f)=>`var(--color-${f})`)),r("object-[","object-position",D),r("caret-color-[","caret-color",Ie),r("caret-color-","caret-color",Ie),r("accent-color-[","accent-color",Ie),r("accent-color-","accent-color",Ie),r("outline-offset-[","outline-offset",D),r("outline-style-",null,o=>({"--uni-outline-style":o,"outline-style":"var(--uni-outline-style)"})),r("outline-color-[","outline-color",Ie),r("outline-color-","outline-color",Ie),r("outline-[",null,o=>({"outline-width":D(o),"outline-style":"var(--uni-outline-style)"})),r("outline-offset-","outline-offset",o=>`${o}px`),r("-outline-offset-","outline-offset",o=>`-${o}px`),r("outline-",null,o=>o.startsWith("offset")?{}:{"outline-width":/^\d+$/.test(o)?`${o}px`:o,"outline-style":"var(--uni-outline-style)"}),r("fill-color-[","fill",Ie),r("fill-color-","fill",Ie),r("stroke-color-[","stroke",Ie),r("stroke-color-","stroke",Ie),r("stroke-[","stroke-width",D),r("stroke-","stroke-width",o=>/^\d+$/.test(o)?`${o}px`:D(o)),r("content-[","content",o=>{let u=D(o);return u.startsWith("'")||u.startsWith('"')?u:`"${u}"`}),r("line-clamp-",null,o=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":o.replace("/","")})),r("line-clamp-none",null,()=>({overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"})),r("truncate",null,()=>({overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"})),r("sr-only",null,()=>({position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)","white-space":"nowrap","border-width":"0"})),r("not-sr-only",null,()=>({position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"})),i},bG=()=>`
|
|
57
57
|
*,::after,::before,::backdrop,::file-selector-button {margin: 0; padding: 0; box-sizing: border-box; border: 0 solid; outline: 0 solid;}
|
|
58
58
|
h1,h2,h3,h4,h5,h6 {font-size: inherit;font-weight: inherit;}
|
|
59
59
|
ol,ul,menu {list-style: none;}
|