UNPKG

vzcode

Version:
1 lines 1.43 MB
var BP=Object.defineProperty;var D0=kt=>{throw TypeError(kt)};var LP=(kt,Pt,wt)=>Pt in kt?BP(kt,Pt,{enumerable:!0,configurable:!0,writable:!0,value:wt}):kt[Pt]=wt;var St=(kt,Pt,wt)=>LP(kt,typeof Pt!="symbol"?Pt+"":Pt,wt),Pp=(kt,Pt,wt)=>Pt.has(kt)||D0("Cannot "+wt);var Tt=(kt,Pt,wt)=>(Pp(kt,Pt,"read from private field"),wt?wt.call(kt):Pt.get(kt)),Xt=(kt,Pt,wt)=>Pt.has(kt)?D0("Cannot add the same private member more than once"):Pt instanceof WeakSet?Pt.add(kt):Pt.set(kt,wt),hr=(kt,Pt,wt,Xr)=>(Pp(kt,Pt,"write to private field"),Xr?Xr.call(kt,wt):Pt.set(kt,wt),wt),xr=(kt,Pt,wt)=>(Pp(kt,Pt,"access private method"),wt);(function(){"use strict";if(!kt)var kt=globalThis||window;function Pt(a){return a&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var wt=typeof kt<"u"?kt:typeof self<"u"?self:typeof window<"u"?window:{};function Xr(){throw new Error("setTimeout has not been defined")}function Bp(){throw new Error("clearTimeout has not been defined")}var Cr=Xr,wr=Bp;typeof wt.setTimeout=="function"&&(Cr=setTimeout),typeof wt.clearTimeout=="function"&&(wr=clearTimeout);function Lp(a){if(Cr===setTimeout)return setTimeout(a,0);if((Cr===Xr||!Cr)&&setTimeout)return Cr=setTimeout,setTimeout(a,0);try{return Cr(a,0)}catch{try{return Cr.call(null,a,0)}catch{return Cr.call(this,a,0)}}}function F0(a){if(wr===clearTimeout)return clearTimeout(a);if((wr===Bp||!wr)&&clearTimeout)return wr=clearTimeout,clearTimeout(a);try{return wr(a)}catch{try{return wr.call(null,a)}catch{return wr.call(this,a)}}}var dr=[],qr=!1,kr,vn=-1;function R0(){!qr||!kr||(qr=!1,kr.length?dr=kr.concat(dr):vn=-1,dr.length&&Op())}function Op(){if(!qr){var a=Lp(R0);qr=!0;for(var e=dr.length;e;){for(kr=dr,dr=[];++vn<e;)kr&&kr[vn].run();vn=-1,e=dr.length}kr=null,qr=!1,F0(a)}}function _0(a){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];dr.push(new Np(a,e)),dr.length===1&&!qr&&Lp(Op)}function Np(a,e){this.fun=a,this.array=e}Np.prototype.run=function(){this.fun.apply(null,this.array)};var B0="browser",L0="browser",O0=!0,N0={},j0=[],M0="",U0={},q0={},V0={};function Dr(){}var $0=Dr,W0=Dr,G0=Dr,z0=Dr,H0=Dr,K0=Dr,X0=Dr;function J0(a){throw new Error("process.binding is not supported")}function Y0(){return"/"}function Q0(a){throw new Error("process.chdir is not supported")}function Z0(){return 0}var Vr=wt.performance||{},ex=Vr.now||Vr.mozNow||Vr.msNow||Vr.oNow||Vr.webkitNow||function(){return new Date().getTime()};function tx(a){var e=ex.call(Vr)*.001,n=Math.floor(e),o=Math.floor(e%1*1e9);return a&&(n=n-a[0],o=o-a[1],o<0&&(n--,o+=1e9)),[n,o]}var rx=new Date;function nx(){var a=new Date,e=a-rx;return e/1e3}var Mt={nextTick:_0,title:B0,browser:O0,env:N0,argv:j0,version:M0,versions:U0,on:$0,addListener:W0,once:G0,off:z0,removeListener:H0,removeAllListeners:K0,emit:X0,binding:J0,cwd:Y0,chdir:Q0,umask:Z0,hrtime:tx,platform:L0,release:q0,config:V0,uptime:nx};function jp(a,e){for(var n=0,o=a.length-1;o>=0;o--){var t=a[o];t==="."?a.splice(o,1):t===".."?(a.splice(o,1),n++):n&&(a.splice(o,1),n--)}if(e)for(;n--;n)a.unshift("..");return a}var sx=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,$n=function(a){return sx.exec(a).slice(1)};function En(){for(var a="",e=!1,n=arguments.length-1;n>=-1&&!e;n--){var o=n>=0?arguments[n]:"/";if(typeof o!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!o)continue;a=o+"/"+a,e=o.charAt(0)==="/"}return a=jp(zn(a.split("/"),function(t){return!!t}),!e).join("/"),(e?"/":"")+a||"."}function Wn(a){var e=Gn(a),n=ix(a,-1)==="/";return a=jp(zn(a.split("/"),function(o){return!!o}),!e).join("/"),!a&&!e&&(a="."),a&&n&&(a+="/"),(e?"/":"")+a}function Gn(a){return a.charAt(0)==="/"}function Mp(){var a=Array.prototype.slice.call(arguments,0);return Wn(zn(a,function(e,n){if(typeof e!="string")throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))}function Up(a,e){a=En(a).substr(1),e=En(e).substr(1);function n(h){for(var i=0;i<h.length&&h[i]==="";i++);for(var f=h.length-1;f>=0&&h[f]==="";f--);return i>f?[]:h.slice(i,f-i+1)}for(var o=n(a.split("/")),t=n(e.split("/")),c=Math.min(o.length,t.length),p=c,u=0;u<c;u++)if(o[u]!==t[u]){p=u;break}for(var r=[],u=p;u<o.length;u++)r.push("..");return r=r.concat(t.slice(p)),r.join("/")}var qp="/",Vp=":";function $p(a){var e=$n(a),n=e[0],o=e[1];return!n&&!o?".":(o&&(o=o.substr(0,o.length-1)),n+o)}function Wp(a,e){var n=$n(a)[2];return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n}function Gp(a){return $n(a)[3]}var ax={extname:Gp,basename:Wp,dirname:$p,sep:qp,delimiter:Vp,relative:Up,join:Mp,isAbsolute:Gn,normalize:Wn,resolve:En};function zn(a,e){if(a.filter)return a.filter(e);for(var n=[],o=0;o<a.length;o++)e(a[o],o,a)&&n.push(a[o]);return n}var ix="ab".substr(-1)==="b"?function(a,e,n){return a.substr(e,n)}:function(a,e,n){return e<0&&(e=a.length+e),a.substr(e,n)},ox=Object.freeze({__proto__:null,basename:Wp,default:ax,delimiter:Vp,dirname:$p,extname:Gp,isAbsolute:Gn,join:Mp,normalize:Wn,relative:Up,resolve:En,sep:qp}),Sn=Pt(ox),Qt={},Hn={},zp;function Hp(){return zp||(zp=1,function(a){(function e(n){var o,t,c,p,u,r;function h(w){var E={},k,x;for(k in w)w.hasOwnProperty(k)&&(x=w[k],typeof x=="object"&&x!==null?E[k]=h(x):E[k]=x);return E}function i(w,E){var k,x,A,I;for(x=w.length,A=0;x;)k=x>>>1,I=A+k,E(w[I])?x=k:(A=I+1,x-=k+1);return A}o={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},c={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},p={},u={},r={},t={Break:p,Skip:u,Remove:r};function f(w,E){this.parent=w,this.key=E}f.prototype.replace=function(E){this.parent[this.key]=E},f.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function m(w,E,k,x){this.node=w,this.path=E,this.wrap=k,this.ref=x}function s(){}s.prototype.path=function(){var E,k,x,A,I,B;function M(P,D){if(Array.isArray(D))for(x=0,A=D.length;x<A;++x)P.push(D[x]);else P.push(D)}if(!this.__current.path)return null;for(I=[],E=2,k=this.__leavelist.length;E<k;++E)B=this.__leavelist[E],M(I,B.path);return M(I,this.__current.path),I},s.prototype.type=function(){var w=this.current();return w.type||this.__current.wrap},s.prototype.parents=function(){var E,k,x;for(x=[],E=1,k=this.__leavelist.length;E<k;++E)x.push(this.__leavelist[E].node);return x},s.prototype.current=function(){return this.__current.node},s.prototype.__execute=function(E,k){var x,A;return A=void 0,x=this.__current,this.__current=k,this.__state=null,E&&(A=E.call(this,k.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=x,A},s.prototype.notify=function(E){this.__state=E},s.prototype.skip=function(){this.notify(u)},s.prototype.break=function(){this.notify(p)},s.prototype.remove=function(){this.notify(r)},s.prototype.__initialize=function(w,E){this.visitor=E,this.root=w,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,E.fallback==="iteration"?this.__fallback=Object.keys:typeof E.fallback=="function"&&(this.__fallback=E.fallback),this.__keys=c,E.keys&&(this.__keys=Object.assign(Object.create(this.__keys),E.keys))};function l(w){return w==null?!1:typeof w=="object"&&typeof w.type=="string"}function d(w,E){return(w===o.ObjectExpression||w===o.ObjectPattern)&&E==="properties"}function g(w,E){for(var k=w.length-1;k>=0;--k)if(w[k].node===E)return!0;return!1}s.prototype.traverse=function(E,k){var x,A,I,B,M,P,D,R,N,q,L,W;for(this.__initialize(E,k),W={},x=this.__worklist,A=this.__leavelist,x.push(new m(E,null,null,null)),A.push(new m(null,null,null,null));x.length;){if(I=x.pop(),I===W){if(I=A.pop(),P=this.__execute(k.leave,I),this.__state===p||P===p)return;continue}if(I.node){if(P=this.__execute(k.enter,I),this.__state===p||P===p)return;if(x.push(W),A.push(I),this.__state===u||P===u)continue;if(B=I.node,M=B.type||I.wrap,q=this.__keys[M],!q)if(this.__fallback)q=this.__fallback(B);else throw new Error("Unknown node type "+M+".");for(R=q.length;(R-=1)>=0;)if(D=q[R],L=B[D],!!L){if(Array.isArray(L)){for(N=L.length;(N-=1)>=0;)if(L[N]&&!g(A,L[N])){if(d(M,q[R]))I=new m(L[N],[D,N],"Property",null);else if(l(L[N]))I=new m(L[N],[D,N],null,null);else continue;x.push(I)}}else if(l(L)){if(g(A,L))continue;x.push(new m(L,D,null,null))}}}}},s.prototype.replace=function(E,k){var x,A,I,B,M,P,D,R,N,q,L,W,_;function H(K){var re,te,xe,Y;if(K.ref.remove()){for(te=K.ref.key,Y=K.ref.parent,re=x.length;re--;)if(xe=x[re],xe.ref&&xe.ref.parent===Y){if(xe.ref.key<te)break;--xe.ref.key}}}for(this.__initialize(E,k),L={},x=this.__worklist,A=this.__leavelist,W={root:E},P=new m(E,null,null,new f(W,"root")),x.push(P),A.push(P);x.length;){if(P=x.pop(),P===L){if(P=A.pop(),M=this.__execute(k.leave,P),M!==void 0&&M!==p&&M!==u&&M!==r&&P.ref.replace(M),(this.__state===r||M===r)&&H(P),this.__state===p||M===p)return W.root;continue}if(M=this.__execute(k.enter,P),M!==void 0&&M!==p&&M!==u&&M!==r&&(P.ref.replace(M),P.node=M),(this.__state===r||M===r)&&(H(P),P.node=null),this.__state===p||M===p)return W.root;if(I=P.node,!!I&&(x.push(L),A.push(P),!(this.__state===u||M===u))){if(B=I.type||P.wrap,N=this.__keys[B],!N)if(this.__fallback)N=this.__fallback(I);else throw new Error("Unknown node type "+B+".");for(D=N.length;(D-=1)>=0;)if(_=N[D],q=I[_],!!q)if(Array.isArray(q)){for(R=q.length;(R-=1)>=0;)if(q[R]){if(d(B,N[D]))P=new m(q[R],[_,R],"Property",new f(q,R));else if(l(q[R]))P=new m(q[R],[_,R],null,new f(q,R));else continue;x.push(P)}}else l(q)&&x.push(new m(q,_,null,new f(I,_)))}}return W.root};function v(w,E){var k=new s;return k.traverse(w,E)}function S(w,E){var k=new s;return k.replace(w,E)}function b(w,E){var k;return k=i(E,function(A){return A.range[0]>w.range[0]}),w.extendedRange=[w.range[0],w.range[1]],k!==E.length&&(w.extendedRange[1]=E[k].range[0]),k-=1,k>=0&&(w.extendedRange[0]=E[k].range[1]),w}function C(w,E,k){var x=[],A,I,B,M;if(!w.range)throw new Error("attachComments needs range information");if(!k.length){if(E.length){for(B=0,I=E.length;B<I;B+=1)A=h(E[B]),A.extendedRange=[0,w.range[0]],x.push(A);w.leadingComments=x}return w}for(B=0,I=E.length;B<I;B+=1)x.push(b(h(E[B]),k));return M=0,v(w,{enter:function(P){for(var D;M<x.length&&(D=x[M],!(D.extendedRange[1]>P.range[0]));)D.extendedRange[1]===P.range[0]?(P.leadingComments||(P.leadingComments=[]),P.leadingComments.push(D),x.splice(M,1)):M+=1;if(M===x.length)return t.Break;if(x[M].extendedRange[0]>P.range[1])return t.Skip}}),M=0,v(w,{leave:function(P){for(var D;M<x.length&&(D=x[M],!(P.range[1]<D.extendedRange[0]));)P.range[1]===D.extendedRange[0]?(P.trailingComments||(P.trailingComments=[]),P.trailingComments.push(D),x.splice(M,1)):M+=1;if(M===x.length)return t.Break;if(x[M].extendedRange[0]>P.range[1])return t.Skip}}),w}return n.Syntax=o,n.traverse=v,n.replace=S,n.attachComments=C,n.VisitorKeys=c,n.VisitorOption=t,n.Controller=s,n.cloneEnvironment=function(){return e({})},n})(a)}(Hn)),Hn}var Jr={},lx="4.3.0",ux={version:lx},Kp;function cx(){return Kp||(Kp=1,function(){var a=Hp();function e(t){return t==null?!1:typeof t=="object"&&typeof t.type=="string"}function n(t,c){return(t===a.Syntax.ObjectExpression||t===a.Syntax.ObjectPattern)&&c==="properties"}function o(t,c){c=c||{},this.__visitor=t||this,this.__childVisitorKeys=c.childVisitorKeys?Object.assign({},a.VisitorKeys,c.childVisitorKeys):a.VisitorKeys,c.fallback==="iteration"?this.__fallback=Object.keys:typeof c.fallback=="function"&&(this.__fallback=c.fallback)}o.prototype.visitChildren=function(t){var c,p,u,r,h,i,f;if(t!=null){if(c=t.type||a.Syntax.Property,p=this.__childVisitorKeys[c],!p)if(this.__fallback)p=this.__fallback(t);else throw new Error("Unknown node type "+c+".");for(u=0,r=p.length;u<r;++u)if(f=t[p[u]],f)if(Array.isArray(f))for(h=0,i=f.length;h<i;++h)f[h]&&(e(f[h])||n(c,p[u]))&&this.visit(f[h]);else e(f)&&this.visit(f)}},o.prototype.visit=function(t){var c;if(t!=null){if(c=t.type||a.Syntax.Property,this.__visitor[c]){this.__visitor[c].call(this,t);return}this.visitChildren(t)}},Jr.version=ux.version,Jr.Visitor=o,Jr.visit=function(t,c,p){var u=new o(c,p);u.visit(t)}}()),Jr}var Xp;function Kn(){if(Xp)return Qt;Xp=1,Object.defineProperty(Qt,"__esModule",{value:!0});var a=Hp(),e=cx();function n(Y){return Y&&typeof Y=="object"&&"default"in Y?Y:{default:Y}}var o=n(a),t=n(e);function c(Y,F="Assertion failed."){if(!Y)throw new Error(F)}const p=1,u=2,r=p|u;class h{constructor(F,z,ne,ae,be,Pe,Ie){this.identifier=F,this.from=z,this.tainted=!1,this.resolved=null,this.flag=ne,this.isWrite()&&(this.writeExpr=ae,this.partial=Pe,this.init=Ie),this.__maybeImplicitGlobal=be}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&h.WRITE)}isRead(){return!!(this.flag&h.READ)}isReadOnly(){return this.flag===h.READ}isWriteOnly(){return this.flag===h.WRITE}isReadWrite(){return this.flag===h.RW}}h.READ=p,h.WRITE=u,h.RW=r;class i{constructor(F,z){this.name=F,this.identifiers=[],this.references=[],this.defs=[],this.tainted=!1,this.stack=!0,this.scope=z}}i.CatchClause="CatchClause",i.Parameter="Parameter",i.FunctionName="FunctionName",i.ClassName="ClassName",i.Variable="Variable",i.ImportBinding="ImportBinding",i.ImplicitGlobalVariable="ImplicitGlobalVariable";class f{constructor(F,z,ne,ae,be,Pe){this.type=F,this.name=z,this.node=ne,this.parent=ae,this.index=be,this.kind=Pe}}class m extends f{constructor(F,z,ne,ae){super(i.Parameter,F,z,null,ne,null),this.rest=ae}}const{Syntax:s}=o.default;function l(Y,F,z){let ne;if(Y.upper&&Y.upper.isStrict||z||Y.type==="class"||Y.type==="module")return!0;if(Y.type==="block"||Y.type==="switch")return!1;if(Y.type==="function"){if(F.type===s.ArrowFunctionExpression&&F.body.type!==s.BlockStatement||(F.type===s.Program?ne=F:ne=F.body,!ne))return!1}else if(Y.type==="global")ne=F;else return!1;for(let ae=0,be=ne.body.length;ae<be;++ae){const Pe=ne.body[ae];if(typeof Pe.directive!="string")break;if(Pe.directive==="use strict")return!0}return!1}function d(Y,F){Y.scopes.push(F);const z=Y.__nodeToScope.get(F.block);z?z.push(F):Y.__nodeToScope.set(F.block,[F])}function g(Y){return Y.type===i.ClassName||Y.type===i.Variable&&Y.parent.kind!=="var"}class v{constructor(F,z,ne,ae,be){this.type=z,this.set=new Map,this.taints=new Map,this.dynamic=this.type==="global"||this.type==="with",this.block=ae,this.through=[],this.variables=[],this.references=[],this.variableScope=this.type==="global"||this.type==="module"||this.type==="function"||this.type==="class-field-initializer"||this.type==="class-static-block"?this:ne.variableScope,this.functionExpressionScope=!1,this.directCallToEvalScope=!1,this.thisFound=!1,this.__left=[],this.upper=ne,this.isStrict=F.isStrictModeSupported()?l(this,ae,be):!1,this.childScopes=[],this.upper&&this.upper.childScopes.push(this),this.__declaredVariables=F.__declaredVariables,d(F,this)}__shouldStaticallyClose(F){return!this.dynamic||F.__isOptimistic()}__shouldStaticallyCloseForGlobal(F){const z=F.identifier.name;if(!this.set.has(z))return!1;const ae=this.set.get(z).defs;return ae.length>0&&ae.every(g)}__staticCloseRef(F){this.__resolve(F)||this.__delegateToUpperScope(F)}__dynamicCloseRef(F){let z=this;do z.through.push(F),z=z.upper;while(z)}__globalCloseRef(F){this.__shouldStaticallyCloseForGlobal(F)?this.__staticCloseRef(F):this.__dynamicCloseRef(F)}__close(F){let z;this.__shouldStaticallyClose(F)?z=this.__staticCloseRef:this.type!=="global"?z=this.__dynamicCloseRef:z=this.__globalCloseRef;for(let ne=0,ae=this.__left.length;ne<ae;++ne){const be=this.__left[ne];z.call(this,be)}return this.__left=null,this.upper}__isValidResolution(F,z){return!0}__resolve(F){const z=F.identifier.name;if(!this.set.has(z))return!1;const ne=this.set.get(z);return this.__isValidResolution(F,ne)?(ne.references.push(F),ne.stack=ne.stack&&F.from.variableScope===this.variableScope,F.tainted&&(ne.tainted=!0,this.taints.set(ne.name,!0)),F.resolved=ne,!0):!1}__delegateToUpperScope(F){this.upper&&this.upper.__left.push(F),this.through.push(F)}__addDeclaredVariablesOfNode(F,z){if(z==null)return;let ne=this.__declaredVariables.get(z);ne==null&&(ne=[],this.__declaredVariables.set(z,ne)),ne.includes(F)||ne.push(F)}__defineGeneric(F,z,ne,ae,be){let Pe;Pe=z.get(F),Pe||(Pe=new i(F,this),z.set(F,Pe),ne.push(Pe)),be&&(Pe.defs.push(be),this.__addDeclaredVariablesOfNode(Pe,be.node),this.__addDeclaredVariablesOfNode(Pe,be.parent)),ae&&Pe.identifiers.push(ae)}__define(F,z){F&&F.type===s.Identifier&&this.__defineGeneric(F.name,this.set,this.variables,F,z)}__referencing(F,z,ne,ae,be,Pe){if(!F||F.type!==s.Identifier&&F.type!=="JSXIdentifier"||F.name==="super")return;const Ie=new h(F,this,z||h.READ,ne,ae,!!be,!!Pe);this.references.push(Ie),this.__left.push(Ie)}__detectEval(){let F=this;this.directCallToEvalScope=!0;do F.dynamic=!0,F=F.upper;while(F)}__detectThis(){this.thisFound=!0}__isClosed(){return this.__left===null}resolve(F){let z,ne,ae;for(c(this.__isClosed(),"Scope should be closed."),c(F.type===s.Identifier,"Target should be identifier."),ne=0,ae=this.references.length;ne<ae;++ne)if(z=this.references[ne],z.identifier===F)return z;return null}isStatic(){return!this.dynamic}isArgumentsMaterialized(){return!0}isThisMaterialized(){return!0}isUsedName(F){if(this.set.has(F))return!0;for(let z=0,ne=this.through.length;z<ne;++z)if(this.through[z].identifier.name===F)return!0;return!1}}class S extends v{constructor(F,z){super(F,"global",null,z,!1),this.implicit={set:new Map,variables:[],left:[]}}__close(F){const z=[];for(let ne=0,ae=this.__left.length;ne<ae;++ne){const be=this.__left[ne];be.__maybeImplicitGlobal&&!this.set.has(be.identifier.name)&&z.push(be.__maybeImplicitGlobal)}for(let ne=0,ae=z.length;ne<ae;++ne){const be=z[ne];this.__defineImplicit(be.pattern,new f(i.ImplicitGlobalVariable,be.pattern,be.node,null,null,null))}return this.implicit.left=this.__left,super.__close(F)}__defineImplicit(F,z){F&&F.type===s.Identifier&&this.__defineGeneric(F.name,this.implicit.set,this.implicit.variables,F,z)}}class b extends v{constructor(F,z,ne){super(F,"module",z,ne,!1)}}class C extends v{constructor(F,z,ne){super(F,"function-expression-name",z,ne,!1),this.__define(ne.id,new f(i.FunctionName,ne.id,ne,null,null,null)),this.functionExpressionScope=!0}}class w extends v{constructor(F,z,ne){super(F,"catch",z,ne,!1)}}class E extends v{constructor(F,z,ne){super(F,"with",z,ne,!1)}__close(F){if(this.__shouldStaticallyClose(F))return super.__close(F);for(let z=0,ne=this.__left.length;z<ne;++z){const ae=this.__left[z];ae.tainted=!0,this.__delegateToUpperScope(ae)}return this.__left=null,this.upper}}class k extends v{constructor(F,z,ne){super(F,"block",z,ne,!1)}}class x extends v{constructor(F,z,ne){super(F,"switch",z,ne,!1)}}class A extends v{constructor(F,z,ne,ae){super(F,"function",z,ne,ae),this.block.type!==s.ArrowFunctionExpression&&this.__defineArguments()}isArgumentsMaterialized(){if(this.block.type===s.ArrowFunctionExpression)return!1;if(!this.isStatic())return!0;const F=this.set.get("arguments");return c(F,"Always have arguments variable."),F.tainted||F.references.length!==0}isThisMaterialized(){return this.isStatic()?this.thisFound:!0}__defineArguments(){this.__defineGeneric("arguments",this.set,this.variables,null,null),this.taints.set("arguments",!0)}__isValidResolution(F,z){if(this.block.type==="Program")return!0;const ne=this.block.body.range[0];return!(z.scope===this&&F.identifier.range[0]<ne&&z.defs.every(ae=>ae.name.range[0]>=ne))}}class I extends v{constructor(F,z,ne){super(F,"for",z,ne,!1)}}class B extends v{constructor(F,z,ne){super(F,"class",z,ne,!1)}}class M extends v{constructor(F,z,ne){super(F,"class-field-initializer",z,ne,!0)}}class P extends v{constructor(F,z,ne){super(F,"class-static-block",z,ne,!0)}}class D{constructor(F){this.scopes=[],this.globalScope=null,this.__nodeToScope=new WeakMap,this.__currentScope=null,this.__options=F,this.__declaredVariables=new WeakMap}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isJSXEnabled(){return this.__options.jsx===!0}isGlobalReturn(){return this.__options.nodejsScope||this.__options.sourceType==="commonjs"}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(F){return this.__nodeToScope.get(F)}getDeclaredVariables(F){return this.__declaredVariables.get(F)||[]}acquire(F,z){function ne(be){return!(be.type==="function"&&be.functionExpressionScope)}const ae=this.__get(F);if(!ae||ae.length===0)return null;if(ae.length===1)return ae[0];if(z)for(let be=ae.length-1;be>=0;--be){const Pe=ae[be];if(ne(Pe))return Pe}else for(let be=0,Pe=ae.length;be<Pe;++be){const Ie=ae[be];if(ne(Ie))return Ie}return null}acquireAll(F){return this.__get(F)}release(F,z){const ne=this.__get(F);if(ne&&ne.length){const ae=ne[0].upper;return ae?this.acquire(ae.block,z):null}return null}attach(){}detach(){}__nestScope(F){return F instanceof S&&(c(this.__currentScope===null),this.globalScope=F),this.__currentScope=F,F}__nestGlobalScope(F){return this.__nestScope(new S(this,F))}__nestBlockScope(F){return this.__nestScope(new k(this,this.__currentScope,F))}__nestFunctionScope(F,z){return this.__nestScope(new A(this,this.__currentScope,F,z))}__nestForScope(F){return this.__nestScope(new I(this,this.__currentScope,F))}__nestCatchScope(F){return this.__nestScope(new w(this,this.__currentScope,F))}__nestWithScope(F){return this.__nestScope(new E(this,this.__currentScope,F))}__nestClassScope(F){return this.__nestScope(new B(this,this.__currentScope,F))}__nestClassFieldInitializerScope(F){return this.__nestScope(new M(this,this.__currentScope,F))}__nestClassStaticBlockScope(F){return this.__nestScope(new P(this,this.__currentScope,F))}__nestSwitchScope(F){return this.__nestScope(new x(this,this.__currentScope,F))}__nestModuleScope(F){return this.__nestScope(new b(this,this.__currentScope,F))}__nestFunctionExpressionNameScope(F){return this.__nestScope(new C(this,this.__currentScope,F))}__isES6(){return this.__options.ecmaVersion>=6}}const{Syntax:R}=o.default;function N(Y){return Y.at(-1)||null}class q extends t.default.Visitor{static isPattern(F){const z=F.type;return z===R.Identifier||z===R.ObjectPattern||z===R.ArrayPattern||z===R.SpreadElement||z===R.RestElement||z===R.AssignmentPattern}constructor(F,z,ne){super(null,F),this.rootPattern=z,this.callback=ne,this.assignments=[],this.rightHandNodes=[],this.restElements=[]}Identifier(F){const z=N(this.restElements);this.callback(F,{topLevel:F===this.rootPattern,rest:z!=null&&z.argument===F,assignments:this.assignments})}Property(F){F.computed&&this.rightHandNodes.push(F.key),this.visit(F.value)}ArrayPattern(F){for(let z=0,ne=F.elements.length;z<ne;++z){const ae=F.elements[z];this.visit(ae)}}AssignmentPattern(F){this.assignments.push(F),this.visit(F.left),this.rightHandNodes.push(F.right),this.assignments.pop()}RestElement(F){this.restElements.push(F),this.visit(F.argument),this.restElements.pop()}MemberExpression(F){F.computed&&this.rightHandNodes.push(F.property),this.rightHandNodes.push(F.object)}SpreadElement(F){this.visit(F.argument)}ArrayExpression(F){F.elements.forEach(this.visit,this)}AssignmentExpression(F){this.assignments.push(F),this.visit(F.left),this.rightHandNodes.push(F.right),this.assignments.pop()}CallExpression(F){F.arguments.forEach(z=>{this.rightHandNodes.push(z)}),this.visit(F.callee)}}const{Syntax:L}=o.default;function W(Y,F,z,ne){const ae=new q(Y,F,ne);ae.visit(F),z!=null&&ae.rightHandNodes.forEach(z.visit,z)}class _ extends t.default.Visitor{constructor(F,z){super(null,z.options),this.declaration=F,this.referencer=z}visitImport(F,z){this.referencer.visitPattern(F,ne=>{this.referencer.currentScope().__define(ne,new f(i.ImportBinding,ne,z,this.declaration,null,null))})}ImportNamespaceSpecifier(F){const z=F.local||F.id;z&&this.visitImport(z,F)}ImportDefaultSpecifier(F){const z=F.local||F.id;this.visitImport(z,F)}ImportSpecifier(F){const z=F.local||F.id;F.name?this.visitImport(F.name,F):this.visitImport(z,F)}}class H extends t.default.Visitor{constructor(F,z){super(null,F),this.options=F,this.scopeManager=z,this.parent=null,this.isInnerMethodDefinition=!1}currentScope(){return this.scopeManager.__currentScope}close(F){for(;this.currentScope()&&F===this.currentScope().block;)this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}pushInnerMethodDefinition(F){const z=this.isInnerMethodDefinition;return this.isInnerMethodDefinition=F,z}popInnerMethodDefinition(F){this.isInnerMethodDefinition=F}referencingDefaultValue(F,z,ne,ae){const be=this.currentScope();z.forEach(Pe=>{be.__referencing(F,h.WRITE,Pe.right,ne,F!==Pe.left,ae)})}visitPattern(F,z,ne){let ae=z,be=ne;typeof z=="function"&&(be=z,ae={processRightHandNodes:!1}),W(this.options,F,ae.processRightHandNodes?this:null,be)}visitFunction(F){let z,ne;F.type===L.FunctionDeclaration&&this.currentScope().__define(F.id,new f(i.FunctionName,F.id,F,null,null,null)),F.type===L.FunctionExpression&&F.id&&this.scopeManager.__nestFunctionExpressionNameScope(F),this.scopeManager.__nestFunctionScope(F,this.isInnerMethodDefinition);const ae=this;function be(Pe,Ie){ae.currentScope().__define(Pe,new m(Pe,F,z,Ie.rest)),ae.referencingDefaultValue(Pe,Ie.assignments,null,!0)}for(z=0,ne=F.params.length;z<ne;++z)this.visitPattern(F.params[z],{processRightHandNodes:!0},be);F.rest&&this.visitPattern({type:"RestElement",argument:F.rest},Pe=>{this.currentScope().__define(Pe,new m(Pe,F,F.params.length,!0))}),F.body&&(F.body.type===L.BlockStatement?this.visitChildren(F.body):this.visit(F.body)),this.close(F)}visitClass(F){F.type===L.ClassDeclaration&&this.currentScope().__define(F.id,new f(i.ClassName,F.id,F,null,null,null)),this.scopeManager.__nestClassScope(F),F.id&&this.currentScope().__define(F.id,new f(i.ClassName,F.id,F)),this.visit(F.superClass),this.visit(F.body),this.close(F)}visitProperty(F){let z;F.computed&&this.visit(F.key);const ne=F.type===L.MethodDefinition;ne&&(z=this.pushInnerMethodDefinition(!0)),this.visit(F.value),ne&&this.popInnerMethodDefinition(z)}visitForIn(F){F.left.type===L.VariableDeclaration&&F.left.kind!=="var"&&this.scopeManager.__nestForScope(F),F.left.type===L.VariableDeclaration?(this.visit(F.left),this.visitPattern(F.left.declarations[0].id,z=>{this.currentScope().__referencing(z,h.WRITE,F.right,null,!0,!0)})):this.visitPattern(F.left,{processRightHandNodes:!0},(z,ne)=>{let ae=null;this.currentScope().isStrict||(ae={pattern:z,node:F}),this.referencingDefaultValue(z,ne.assignments,ae,!1),this.currentScope().__referencing(z,h.WRITE,F.right,ae,!0,!1)}),this.visit(F.right),this.visit(F.body),this.close(F)}visitVariableDeclaration(F,z,ne,ae){const be=ne.declarations[ae],Pe=be.init;this.visitPattern(be.id,{processRightHandNodes:!0},(Ie,ue)=>{F.__define(Ie,new f(z,Ie,be,ne,ae,ne.kind)),this.referencingDefaultValue(Ie,ue.assignments,null,!0),Pe&&this.currentScope().__referencing(Ie,h.WRITE,Pe,null,!ue.topLevel,!0)})}AssignmentExpression(F){q.isPattern(F.left)?F.operator==="="?this.visitPattern(F.left,{processRightHandNodes:!0},(z,ne)=>{let ae=null;this.currentScope().isStrict||(ae={pattern:z,node:F}),this.referencingDefaultValue(z,ne.assignments,ae,!1),this.currentScope().__referencing(z,h.WRITE,F.right,ae,!ne.topLevel,!1)}):this.currentScope().__referencing(F.left,h.RW,F.right):this.visit(F.left),this.visit(F.right)}CatchClause(F){this.scopeManager.__nestCatchScope(F),this.visitPattern(F.param,{processRightHandNodes:!0},(z,ne)=>{this.currentScope().__define(z,new f(i.CatchClause,z,F,null,null,null)),this.referencingDefaultValue(z,ne.assignments,null,!0)}),this.visit(F.body),this.close(F)}Program(F){this.scopeManager.__nestGlobalScope(F),this.scopeManager.isGlobalReturn()&&(this.currentScope().isStrict=!1,this.scopeManager.__nestFunctionScope(F,!1)),this.scopeManager.__isES6()&&this.scopeManager.isModule()&&this.scopeManager.__nestModuleScope(F),this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()&&(this.currentScope().isStrict=!0),this.visitChildren(F),this.close(F)}Identifier(F){this.currentScope().__referencing(F)}PrivateIdentifier(){}UpdateExpression(F){q.isPattern(F.argument)?this.currentScope().__referencing(F.argument,h.RW,null):this.visitChildren(F)}MemberExpression(F){this.visit(F.object),F.computed&&this.visit(F.property)}Property(F){this.visitProperty(F)}PropertyDefinition(F){const{computed:z,key:ne,value:ae}=F;z&&this.visit(ne),ae&&(this.scopeManager.__nestClassFieldInitializerScope(ae),this.visit(ae),this.close(ae))}StaticBlock(F){this.scopeManager.__nestClassStaticBlockScope(F),this.visitChildren(F),this.close(F)}MethodDefinition(F){this.visitProperty(F)}BreakStatement(){}ContinueStatement(){}LabeledStatement(F){this.visit(F.body)}ForStatement(F){F.init&&F.init.type===L.VariableDeclaration&&F.init.kind!=="var"&&this.scopeManager.__nestForScope(F),this.visitChildren(F),this.close(F)}ClassExpression(F){this.visitClass(F)}ClassDeclaration(F){this.visitClass(F)}CallExpression(F){!this.scopeManager.__ignoreEval()&&F.callee.type===L.Identifier&&F.callee.name==="eval"&&this.currentScope().variableScope.__detectEval(),this.visitChildren(F)}BlockStatement(F){this.scopeManager.__isES6()&&this.scopeManager.__nestBlockScope(F),this.visitChildren(F),this.close(F)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(F){this.visit(F.object),this.scopeManager.__nestWithScope(F),this.visit(F.body),this.close(F)}VariableDeclaration(F){const z=F.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let ne=0,ae=F.declarations.length;ne<ae;++ne){const be=F.declarations[ne];this.visitVariableDeclaration(z,i.Variable,F,ne),be.init&&this.visit(be.init)}}SwitchStatement(F){this.visit(F.discriminant),this.scopeManager.__isES6()&&this.scopeManager.__nestSwitchScope(F);for(let z=0,ne=F.cases.length;z<ne;++z)this.visit(F.cases[z]);this.close(F)}FunctionDeclaration(F){this.visitFunction(F)}FunctionExpression(F){this.visitFunction(F)}ForOfStatement(F){this.visitForIn(F)}ForInStatement(F){this.visitForIn(F)}ArrowFunctionExpression(F){this.visitFunction(F)}ImportDeclaration(F){c(this.scopeManager.__isES6()&&this.scopeManager.isModule(),"ImportDeclaration should appear when the mode is ES6 and in the module context."),new _(F,this).visit(F)}visitExportDeclaration(F){if(!F.source){if(F.declaration){this.visit(F.declaration);return}this.visitChildren(F)}}ExportDeclaration(F){this.visitExportDeclaration(F)}ExportAllDeclaration(F){this.visitExportDeclaration(F)}ExportDefaultDeclaration(F){this.visitExportDeclaration(F)}ExportNamedDeclaration(F){this.visitExportDeclaration(F)}ExportSpecifier(F){const z=F.id||F.local;this.visit(z)}MetaProperty(){}JSXIdentifier(F){this.scopeManager.__isJSXEnabled()&&F.name!=="this"&&this.currentScope().__referencing(F)}JSXMemberExpression(F){this.visit(F.object)}JSXElement(F){this.scopeManager.__isJSXEnabled()?(this.visit(F.openingElement),F.children.forEach(this.visit,this)):this.visitChildren(F)}JSXOpeningElement(F){if(this.scopeManager.__isJSXEnabled()){const z=F.name;(z.type==="JSXIdentifier"&&z.name[0].toUpperCase()===z.name[0]||z.type==="JSXMemberExpression")&&this.visit(z)}F.attributes.forEach(this.visit,this)}JSXAttribute(F){F.value&&this.visit(F.value)}JSXExpressionContainer(F){this.visit(F.expression)}JSXNamespacedName(F){this.visit(F.namespace),this.visit(F.name)}}const K="8.3.0";function re(){return{optimistic:!1,nodejsScope:!1,impliedStrict:!1,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function te(Y,F){function z(ne){return typeof ne=="object"&&ne instanceof Object&&!(ne instanceof Array)&&!(ne instanceof RegExp)}for(const ne in F)if(Object.hasOwn(F,ne)){const ae=F[ne];z(ae)?z(Y[ne])?te(Y[ne],ae):Y[ne]=te({},ae):Y[ne]=ae}return Y}function xe(Y,F){const z=te(re(),F),ne=new D(z);return new H(z,ne).visit(Y),c(ne.__currentScope===null,"currentScope should be null."),ne}return Qt.Definition=f,Qt.PatternVisitor=q,Qt.Reference=h,Qt.Referencer=H,Qt.Scope=v,Qt.ScopeManager=D,Qt.Variable=i,Qt.analyze=xe,Qt.version=K,Qt}var Yr={},Jp;function Qr(){if(Jp)return Yr;Jp=1;const a={ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],AwaitExpression:["argument"],BinaryExpression:["left","right"],BlockStatement:["body"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ExportAllDeclaration:["exported","source","attributes"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportAttribute:["key","value"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportExpression:["source","options"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:[],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXOpeningFragment:[],JSXSpreadAttribute:["argument"],JSXSpreadChild:["expression"],JSXText:[],LabeledStatement:["label","body"],Literal:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],StaticBlock:["body"],Super:[],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},e=Object.keys(a);for(const p of e)Object.freeze(a[p]);Object.freeze(a);const n=new Set(["parent","leadingComments","trailingComments"]);function o(p){return!n.has(p)&&p[0]!=="_"}function t(p){return Object.keys(p).filter(o)}function c(p){const u=Object.assign({},a);for(const r of Object.keys(p))if(Object.hasOwn(u,r)){const h=new Set(p[r]);for(const i of u[r])h.add(i);u[r]=Object.freeze(Array.from(h))}else u[r]=Object.freeze(Array.from(p[r]));return Object.freeze(u)}return Yr.KEYS=a,Yr.getKeys=t,Yr.unionWith=c,Yr}var tr={},bn={exports:{}},Yp;function Xn(){return Yp||(Yp=1,function(a,e){(function(n,o){o(e)})(this,function(n){var o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],t=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],c="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",p="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},r="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",h={5:r,"5module":r+" export import",6:r+" const class extends export import super"},i=/^in(stanceof)?$/,f=new RegExp("["+p+"]"),m=new RegExp("["+p+c+"]");function s(y,T){for(var U=65536,X=0;X<T.length;X+=2){if(U+=T[X],U>y)return!1;if(U+=T[X+1],U>=y)return!0}return!1}function l(y,T){return y<65?y===36:y<91?!0:y<97?y===95:y<123?!0:y<=65535?y>=170&&f.test(String.fromCharCode(y)):T===!1?!1:s(y,t)}function d(y,T){return y<48?y===36:y<58?!0:y<65?!1:y<91?!0:y<97?y===95:y<123?!0:y<=65535?y>=170&&m.test(String.fromCharCode(y)):T===!1?!1:s(y,t)||s(y,o)}var g=function(T,U){U===void 0&&(U={}),this.label=T,this.keyword=U.keyword,this.beforeExpr=!!U.beforeExpr,this.startsExpr=!!U.startsExpr,this.isLoop=!!U.isLoop,this.isAssign=!!U.isAssign,this.prefix=!!U.prefix,this.postfix=!!U.postfix,this.binop=U.binop||null,this.updateContext=null};function v(y,T){return new g(y,{beforeExpr:!0,binop:T})}var S={beforeExpr:!0},b={startsExpr:!0},C={};function w(y,T){return T===void 0&&(T={}),T.keyword=y,C[y]=new g(y,T)}var E={num:new g("num",b),regexp:new g("regexp",b),string:new g("string",b),name:new g("name",b),privateId:new g("privateId",b),eof:new g("eof"),bracketL:new g("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new g("]"),braceL:new g("{",{beforeExpr:!0,startsExpr:!0}),braceR:new g("}"),parenL:new g("(",{beforeExpr:!0,startsExpr:!0}),parenR:new g(")"),comma:new g(",",S),semi:new g(";",S),colon:new g(":",S),dot:new g("."),question:new g("?",S),questionDot:new g("?."),arrow:new g("=>",S),template:new g("template"),invalidTemplate:new g("invalidTemplate"),ellipsis:new g("...",S),backQuote:new g("`",b),dollarBraceL:new g("${",{beforeExpr:!0,startsExpr:!0}),eq:new g("=",{beforeExpr:!0,isAssign:!0}),assign:new g("_=",{beforeExpr:!0,isAssign:!0}),incDec:new g("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new g("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:v("||",1),logicalAND:v("&&",2),bitwiseOR:v("|",3),bitwiseXOR:v("^",4),bitwiseAND:v("&",5),equality:v("==/!=/===/!==",6),relational:v("</>/<=/>=",7),bitShift:v("<</>>/>>>",8),plusMin:new g("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:v("%",10),star:v("*",10),slash:v("/",10),starstar:new g("**",{beforeExpr:!0}),coalesce:v("??",1),_break:w("break"),_case:w("case",S),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",S),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",S),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",b),_if:w("if"),_return:w("return",S),_switch:w("switch"),_throw:w("throw",S),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",b),_super:w("super",b),_class:w("class",b),_extends:w("extends",S),_export:w("export"),_import:w("import",b),_null:w("null",b),_true:w("true",b),_false:w("false",b),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},k=/\r\n?|\n|\u2028|\u2029/,x=new RegExp(k.source,"g");function A(y){return y===10||y===13||y===8232||y===8233}function I(y,T,U){U===void 0&&(U=y.length);for(var X=T;X<U;X++){var pe=y.charCodeAt(X);if(A(pe))return X<U-1&&pe===13&&y.charCodeAt(X+1)===10?X+2:X+1}return-1}var B=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,M=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,P=Object.prototype,D=P.hasOwnProperty,R=P.toString,N=Object.hasOwn||function(y,T){return D.call(y,T)},q=Array.isArray||function(y){return R.call(y)==="[object Array]"},L=Object.create(null);function W(y){return L[y]||(L[y]=new RegExp("^(?:"+y.replace(/ /g,"|")+")$"))}function _(y){return y<=65535?String.fromCharCode(y):(y-=65536,String.fromCharCode((y>>10)+55296,(y&1023)+56320))}var H=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,K=function(T,U){this.line=T,this.column=U};K.prototype.offset=function(T){return new K(this.line,this.column+T)};var re=function(T,U,X){this.start=U,this.end=X,T.sourceFile!==null&&(this.source=T.sourceFile)};function te(y,T){for(var U=1,X=0;;){var pe=I(y,X,T);if(pe<0)return new K(U,T-X);++U,X=pe}}var xe={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Y=!1;function F(y){var T={};for(var U in xe)T[U]=y&&N(y,U)?y[U]:xe[U];if(T.ecmaVersion==="latest"?T.ecmaVersion=1e8:T.ecmaVersion==null?(!Y&&typeof console=="object"&&console.