extensions-source/lib/synchrony/src/main/assets/synchrony-v2.4.5.1.js

118 lines
400 KiB
JavaScript
Raw Normal View History

2024-06-20 11:54:12 +07:00
var up=Object.create;var Kr=Object.defineProperty;var lp=Object.getOwnPropertyDescriptor;var cp=Object.getOwnPropertyNames,Xa=Object.getOwnPropertySymbols,fp=Object.getPrototypeOf,eo=Object.prototype.hasOwnProperty,pp=Object.prototype.propertyIsEnumerable;var Za=(t,e,r)=>e in t?Kr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Yr=(t,e)=>{for(var r in e||(e={}))eo.call(e,r)&&Za(t,r,e[r]);if(Xa)for(var r of Xa(e))pp.call(e,r)&&Za(t,r,e[r]);return t};var hp=t=>Kr(t,"__esModule",{value:!0});var j=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),to=(t,e)=>{for(var r in e)Kr(t,r,{get:e[r],enumerable:!0})},dp=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of cp(e))!eo.call(t,n)&&(r||n!=="default")&&Kr(t,n,{get:()=>e[n],enumerable:!(i=lp(e,n))||i.enumerable});return t},st=(t,e)=>dp(hp(Kr(t!=null?up(fp(t)):{},"default",!e&&t&&t.__esModule?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var ye=(t,e,r)=>new Promise((i,n)=>{var s=c=>{try{u(r.next(c))}catch(m){n(m)}},a=c=>{try{u(r.throw(c))}catch(m){n(m)}},u=c=>c.done?i(c.value):Promise.resolve(c.value).then(s,a);u((r=r.apply(t,e)).next())});var io=j(ro=>{(function t(e){"use strict";var r,i,n,s,a,u;function c(C){var v={},S,A;for(S in C)C.hasOwnProperty(S)&&(A=C[S],typeof A=="object"&&A!==null?v[S]=c(A):v[S]=A);return v}function m(C,v){var S,A,T,P;for(A=C.length,T=0;A;)S=A>>>1,P=T+S,v(C[P])?A=S:(T=P+1,A-=S+1);return T}r={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",StaticBlock:"StaticBlock",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"},n
`,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function tr(o,p){var f="";for(p|=0;p>0;p>>>=1,o+=o)p&1&&(f+=o);return f}function Qf(o){return/[\r\n]/g.test(o)}function Pe(o){var p=o.length;return p&&s.code.isLineTerminator(o.charCodeAt(p-1))}function Wa(o,p){var f;for(f in p)p.hasOwnProperty(f)&&(o[f]=p[f]);return o}function Ii(o,p){var f,h;function g(D){return typeof D=="object"&&D instanceof Object&&!(D instanceof RegExp)}for(f in p)p.hasOwnProperty(f)&&(h=p[f],g(h)?g(o[f])?Ii(o[f],h):o[f]=Ii({},h):o[f]=h);return o}function Jf(o){var p,f,h,g,D;if(o!==o)throw new Error("Numeric literal whose value is NaN");if(o<0||o===0&&1/o<0)throw new Error("Numeric literal whose value is negative");if(o===1/0)return c?"null":m?"1e400":"1e+400";if(p=""+o,!m||p.length<3)return p;for(f=p.indexOf("."),!c&&p.charCodeAt(0)===48&&f===1&&(f=0,p=p.slice(1)),h=p,p=p.replace("e+","e"),g=0,(D=h.indexOf("e"))>0&&(g=+h.slice(D+1),h=h.slice(0,D)),f>=0&&(g-=h.length-f-1,h=+(h.slice(0,f)+h.slice(f+1))+""),D=0;h.charCodeAt(h.length+D-1)===48;)--D;return D!==0&&(g-=D,h=h.slice(0,D)),g!==0&&(h+="e"+g),(h.length<p.length||d&&o>1e12&&Math.floor(o)===o&&(h="0x"+o.toString(16)).length<p.length)&&+h===o&&(p=h),p}function za(o,p){return(o&-2)===8232?(p?"u":"\\u")+(o===8232?"2028":"2029"):o===10||o===13?(p?"":"\\")+(o===10?"n":"r"):String.fromCharCode(o)}function Xf(o){var p,f,h,g,D,F,k,q;if(f=o.toString(),o.source){if(p=f.match(/\/([^/]*)$/),!p)return f;for(h=p[1],f="",k=!1,q=!1,g=0,D=o.source.length;g<D;++g)F=o.source.charCodeAt(g),q?(f+=za(F,q),q=!1):(k?F===93&&(k=!1):F===47?f+="\\":F===91&&(k=!0),f+=za(F,q),q=F===92);return"/"+f+"/"+h}return f}function Zf(o,p){var f;return o===8?"\\b":o===12?"\\f":o===9?"\\t":(f=o.toString(16).toUpperCase(),c||o>255?"\\u"+"0000".slice(f.length)+f:o===0&&!s.code.isDecimalDigit(p)?"\\0":o===11?"\\x0B":"\\x"+"00".slice(f.length)+f)}function ep(o){if(o===92)return"\\\\";if(o===10)return"\\n";if(o===13)return"\\r";if(o===8232)return"\\u2028";if(o===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function tp(o){var p,f,h,g;for(g=E==="double"?'"':"'",p=0,f=o.length;p<f;++p)if(h=o.charCodeAt(p),h===39){g='"';break}else if(h===34){g="'";break}else h===92&&++p;return g+o+g}function rp(o){var p="",f,h,g,D=0,F=0,k,q;for(f=0,h=o.length;f<h;++f){if(g=o.charCodeAt(f),g===39)++D;else if(g===34)++F;else if(g===47&&c)p+="\\";else if(s.code.isLineTerminator(g)||g===92){p+=ep(g);continue}else if(!s.code.isIdentifierPartES5(g)&&(c&&g<32||!c&&!y&&(g<32||g>126))){p+=Zf(g,o.charCodeAt(f+1));continue}p+=String.fromCharCode(g)}if(k=!(E==="double"||E==="auto"&&F<D),q=k?"'":'"',!(k?D:F))return q+p+q;for(o=p,p=q,f=0,h=o.length;f<h;++f)g=o.charCodeAt(f),(g===39&&k||g===34&&!k)&&(p+="\\"),p+=String.fromCharCode(g);return p+q}function $a(o){var p,f,h,g="";for(p=0,f=o.length;p<f;++p)h=o[p],g+=Array.isArray(h)?$a(h):h;return g}function ce(o,p){if(!v)return Array.isArray(o)?$a(o):o;if(p==null){if(o instanceof i)return o;p={}}return p.loc==null?new i(null,null,v,o,p.name||null):new i(p.loc.start.line,p.loc.start.column,v===!0?p.loc.source||null:v,o,p.name||null)}function Oe(){return b||" "}function Y(o,p){var f,h,g,D;return f=ce(o).toString(),f.length===0?[p]:(h=ce(p).toString(),h.length===0?[o]:(g=f.charCodeAt(f.length-1),D=h.charCodeAt(0),(g===43||g===45)&&g===D||s.code.isIdentifierPartES5(g)&&s.code.isIdentifierPartES5(D)||g===47&&D===105?[o,Oe(),p]:s.code.isWhiteSpace(g)||s.code.isLineTerminator(g)||s.code.isWhiteSpace(D)||s.code.isLineTerminator(D)?[o,p]:[o,b,p]))}function je(o){return[a,o]}function De(o){var p;p=a,a+=u,o(a),a=p}function ip(o){var p;for(p=o.length-1;p>=0&&!s.code.isLineTerminator(o.charCodeAt(p));--p);return o.length-1-p}function np(o,p){var f,h,g,D,F,k,q,ae;for(f=o.split(/\r\n|[\r\n]/),k=Number.MAX_VALUE,h=1,g=f.length;h<g
`)}function Ot(o,p){if(o.type==="Line"){if(Pe(o.value))return"//"+o.value;var f="//"+o.value;return A||(f+=`
`),f}return R.format.indent.adjustMultilineComment&&/[\n\r]/.test(o.value)?np("/*"+o.value+"*/",p):"/*"+o.value+"*/"}function Ha(o,p){var f,h,g,D,F,k,q,ae,we,rr,Ar,Qa,Ja,kt;if(o.leadingComments&&o.leadingComments.length>0){if(D=p,A){for(g=o.leadingComments[0],p=[],ae=g.extendedRange,we=g.range,Ar=S.substring(ae[0],we[0]),kt=(Ar.match(/\n/g)||[]).length,kt>0?(p.push(tr(`
`,kt)),p.push(je(Ot(g)))):(p.push(Ar),p.push(Ot(g))),rr=we,f=1,h=o.leadingComments.length;f<h;f++)g=o.leadingComments[f],we=g.range,Qa=S.substring(rr[1],we[0]),kt=(Qa.match(/\n/g)||[]).length,p.push(tr(`
`,kt)),p.push(je(Ot(g))),rr=we;Ja=S.substring(we[1],ae[1]),kt=(Ja.match(/\n/g)||[]).length,p.push(tr(`
`,kt))}else for(g=o.leadingComments[0],p=[],O&&o.type===t.Program&&o.body.length===0&&p.push(`
`),p.push(Ot(g)),Pe(ce(p).toString())||p.push(`
`),f=1,h=o.leadingComments.length;f<h;++f)g=o.leadingComments[f],q=[Ot(g)],Pe(ce(q).toString())||q.push(`
`),p.push(je(q));p.push(je(D))}if(o.trailingComments)if(A)g=o.trailingComments[0],ae=g.extendedRange,we=g.range,Ar=S.substring(ae[0],we[0]),kt=(Ar.match(/\n/g)||[]).length,kt>0?(p.push(tr(`
`,kt)),p.push(je(Ot(g)))):(p.push(Ar),p.push(Ot(g)));else for(F=!Pe(ce(p).toString()),k=tr(" ",ip(ce([a,p,u]).toString())),f=0,h=o.trailingComments.length;f<h;++f)g=o.trailingComments[f],F?(f===0?p=[p,u]:p=[p,k],p.push(Ot(g,k))):p=[p,je(Ot(g))],f!==h-1&&!Pe(ce(p).toString())&&(p=[p,`
`]);return p}function br(o,p,f){var h,g=0;for(h=o;h<p;h++)S[h]===`
`&&g++;for(h=1;h<g;h++)f.push(x)}function Se(o,p,f){return p<f?["(",o,")"]:o}function Ka(o){var p,f,h;for(h=o.split(/\r\n|\n/),p=1,f=h.length;p<f;p++)h[p]=x+a+h[p];return h}function sp(o,p){var f,h,g;return f=o[R.verbatim],typeof f=="string"?h=Se(Ka(f),e.Sequence,p):(h=Ka(f.content),g=f.precedence!=null?f.precedence:e.Sequence,h=Se(h,g,p)),ce(h,o)}function Ce(){}Ce.prototype.maybeBlock=function(o,p){var f,h,g=this;return h=!R.comment||!o.leadingComments,o.type===t.BlockStatement&&h?[b,this.generateStatement(o,p)]:o.type===t.EmptyStatement&&h?";":(De(function(){f=[x,je(g.generateStatement(o,p))]}),f)},Ce.prototype.maybeBlockSuffix=function(o,p){var f=Pe(ce(p).toString());return o.type===t.BlockStatement&&(!R.comment||!o.leadingComments)&&!f?[p,b]:f?[p,a]:[p,x,a]};function Je(o){var p=o.name;return o.type===t.PrivateIdentifier&&(p="#"+p),ce(p,o)}function Hr(o,p){return o.async?"async"+(p?Oe():b):""}function Ni(o){var p=o.generator&&!R.moz.starlessGenerator;return p?"*"+b:""}function Ya(o){var p=o.value,f="";return p.async&&(f+=Hr(p,!o.computed)),p.generator&&(f+=Ni(p)?"*":""),f}Ce.prototype.generatePattern=function(o,p,f){return o.type===t.Identifier?Je(o):this.generateExpression(o,p,f)},Ce.prototype.generateFunctionParams=function(o){var p,f,h,g;if(g=!1,o.type===t.ArrowFunctionExpression&&!o.rest&&(!o.defaults||o.defaults.length===0)&&o.params.length===1&&o.params[0].type===t.Identifier)h=[Hr(o,!0),Je(o.params[0])];else{for(h=o.type===t.ArrowFunctionExpression?[Hr(o,!1)]:[],h.push("("),o.defaults&&(g=!0),p=0,f=o.params.length;p<f;++p)g&&o.defaults[p]?h.push(this.generateAssignment(o.params[p],o.defaults[p],"=",e.Assignment,M)):h.push(this.generatePattern(o.params[p],e.Assignment,M)),p+1<f&&h.push(","+b);o.rest&&(o.params.length&&h.push(","+b),h.push("..."),h.push(Je(o.rest))),h.push(")")}return h},Ce.prototype.generateFunctionBody=function(o){var p,f;return p=this.generateFunctionParams(o),o.type===t.ArrowFunctionExpression&&(p.push(b),p.push("=>")),o.expression?(p.push(b),f=this.generateExpression(o.body,e.Assignment,M),f.toString().charAt(0)==="{"&&(f=["(",f,")"]),p.push(f)):p.push(this.maybeBlock(o.body,Yf)),p},Ce.prototype.generateIterationForStatement=function(o,p,f){var h=["for"+(p.await?Oe()+"await":"")+b+"("],g=this;return De(function(){p.left.type===t.VariableDeclaration?De(function(){h.push(p.left.kind+Oe()),h.push(g.generateStatement(p.left.declarations[0],ki))}):h.push(g.generateExpression(p.left,e.Call,M)),h=Y(h,o),h=[Y(h,g.generateExpression(p.right,e.Assignment,M)),")"]}),h.push(this.maybeBlock(p.body,f)),h},Ce.prototype.generatePropertyKey=function(o,p){var f=[];return p&&f.push("["),f.push(this.generateExpression(o,e.Assignment,M)),p&&f.push("]"),f},Ce.prototype.generateAssignment=function(o,p,f,h,g){return e.Assignment<h&&(g|=B),Se([this.generateExpression(o,e.Call,g),b+f+b,this.generateExpression(p,e.Assignment,g)],e.Assignment,h)},Ce.prototype.semicolon=function(o){return!_&&o&$?"":";"},Ce.Statement={BlockStatement:function(o,p){var f,h,g=["{",x],D=this;return De(function(){o.body.length===0&&A&&(f=o.range,f[1]-f[0]>2&&(h=S.substring(f[0]+1,f[1]-1),h[0]===`
`&&(g=["{"]),g.push(h)));var F,k,q,ae;for(ae=ie,p&re&&(ae|=J),F=0,k=o.body.length;F<k;++F)A&&(F===0&&(o.body[0].leadingComments&&(f=o.body[0].leadingComments[0].extendedRange,h=S.substring(f[0],f[1]),h[0]===`
`&&(g=["{"])),o.body[0].leadingComments||br(o.range[0],o.body[0].range[0],g)),F>0&&!o.body[F-1].trailingComments&&!o.body[F].leadingComments&&br(o.body[F-1].range[1],o.body[F].range[0],g)),F===k-1&&(ae|=$),o.body[F].leadingComments&&A?q=D.generateStatement(o.body[F],ae):q=je(D.generateStatement(o.body[F],ae)),g.push(q),Pe(ce(q).toString())||A&&F<k-1&&o.body[F+1].leadingComments||g.push(x),A&&F===k-1&&(o.body[F].trailingComments||br(o.body[F].range[1],o.range[1],g))}),g.push(je("}")),g},BreakStatement:function(o,p){return o.label?"break "+o.label.name+this.semicolon(p):"break"+this.semicolon(p)},ContinueStatement:function(o,p){return o.label?"continue "+o.label.name+this.semicolon(p):"continue"+this.semicolon(p)},ClassBody:function(o,p){var f=["{",x],h=this;return De(function(g){var D,F;for(D=0,F=o.body.length;D<F;++D)f.push(g),f.push(h.generateExpression(o.body[D],e.Sequence,M)),D+1<F&&f.push(x)}),Pe(ce(f).toString())||f.push(x),f.push(a),f.push("}"),f},ClassDeclaration:function(o,p){var f,h;return f=["class"],o.id&&(f=Y(f,this.generateExpression(o.id,e.Sequence,M))),o.superClass&&(h=Y("extends",this.generateExpression(o.superClass,e.Unary,M)),f=Y(f,h)),f.push(b),f.push(this.generateStatement(o.body,qe)),f},DirectiveStatement:function(o,p){return R.raw&&o.raw?o.raw+this.semicolon(p):tp(o.directive)+this.semicolon(p)},DoWhileStatement:function(o,p){var f=Y("do",this.maybeBlock(o.body,ie));return f=this.maybeBlockSuffix(o.body,f),Y(f,["while"+b+"(",this.generateExpression(o.test,e.Sequence,M),")"+this.semicolon(p)])},CatchClause:function(o,p){var f,h=this;return De(function(){var g;o.param?(f=["catch"+b+"(",h.generateExpression(o.param,e.Sequence,M),")"],o.guard&&(g=h.generateExpression(o.guard,e.Sequence,M),f.splice(2,0," if ",g))):f=["catch"]}),f.push(this.maybeBlock(o.body,ie)),f},DebuggerStatement:function(o,p){return"debugger"+this.semicolon(p)},EmptyStatement:function(o,p){return";"},ExportDefaultDeclaration:function(o,p){var f=["export"],h;return h=p&$?qe:ie,f=Y(f,"default"),I(o.declaration)?f=Y(f,this.generateStatement(o.declaration,h)):f=Y(f,this.generateExpression(o.declaration,e.Assignment,M)+this.semicolon(p)),f},ExportNamedDeclaration:function(o,p){var f=["export"],h,g=this;return h=p&$?qe:ie,o.declaration?Y(f,this.generateStatement(o.declaration,h)):(o.specifiers&&(o.specifiers.length===0?f=Y(f,"{"+b+"}"):o.specifiers[0].type===t.ExportBatchSpecifier?f=Y(f,this.generateExpression(o.specifiers[0],e.Sequence,M)):(f=Y(f,"{"),De(function(D){var F,k;for(f.push(x),F=0,k=o.specifiers.length;F<k;++F)f.push(D),f.push(g.generateExpression(o.specifiers[F],e.Sequence,M)),F+1<k&&f.push(","+x)}),Pe(ce(f).toString())||f.push(x),f.push(a+"}")),o.source?f=Y(f,["from"+b,this.generateExpression(o.source,e.Sequence,M),this.semicolon(p)]):f.push(this.semicolon(p))),f)},ExportAllDeclaration:function(o,p){var f=["export"+b,"*"+b];return o.exported&&f.push("as "+o.exported.name+" "),f=Y(f,["from"+b,this.generateExpression(o.source,e.Sequence,M),this.semicolon(p)]),f},ExpressionStatement:function(o,p){var f,h;function g(k){var q;return k.slice(0,5)!=="class"?!1:(q=k.charCodeAt(5),q===123||s.code.isWhiteSpace(q)||s.code.isLineTerminator(q))}function D(k){var q;return k.slice(0,8)!=="function"?!1:(q=k.charCodeAt(8),q===40||s.code.isWhiteSpace(q)||q===42||s.code.isLineTerminator(q))}function F(k){var q,ae,we;if(k.slice(0,5)!=="async"||!s.code.isWhiteSpace(k.charCodeAt(5)))return!1;for(ae=6,we=k.length;ae<we&&s.code.isWhiteSpace(k.charCodeAt(ae));++ae);return ae===we||k.slice(ae,ae+8)!=="function"?!1:(q=k.charCodeAt(ae+8),q===40||s.code.isWhiteSpace(q)||q===42||s.code.isLineTerminator(q))}return f=[this.generateExpression(o.expression,e.Sequence,M)],h=ce(f).toString(),h.charCodeAt(0)===123||g(h)||D(h)||F(h)||L&&p&J&&o.expression.type===t.Literal&&typeof o.expression.value=="string"?f=["(",f,")"+this.semicolon(p)]:f.push(this.semicolon(p)),f},ImportDeclaration:function(o,p){var f,h,g=this;return o.specifiers.length===0?["import",b,this.generateExpression(o.source,e.Sequence,M),this.semicolon(p)]:(f=["import"],h=0,o.specifiers[h].type===t
`),f.push(je(k.generateStatement(D,F)))):(f.push(Oe()),f.push(k.generateStatement(D,F))),h=1,g=o.declarations.length;h<g;++h)D=o.declarations[h],R.comment&&D.leadingComments?(f.push(","+x),f.push(je(k.generateStatement(D,F)))):(f.push(","+b),f.push(k.generateStatement(D,F)))}return o.declarations.length>1?De(q):q(),f.push(this.semicolon(p)),f},StaticBlock:function(o,p){return["static"+b,this.BlockStatement(o,p)]},ThrowStatement:function(o,p){return[Y("throw",this.generateExpression(o.argument,e.Sequence,M)),this.semicolon(p)]},TryStatement:function(o,p){var f,h,g,D;if(f=["try",this.maybeBlock(o.block,ie)],f=this.maybeBlockSuffix(o.block,f),o.handlers)for(h=0,g=o.handlers.length;h<g;++h)f=Y(f,this.generateStatement(o.handlers[h],ie)),(o.finalizer||h+1!==g)&&(f=this.maybeBlockSuffix(o.handlers[h].body,f));else{for(D=o.guardedHandlers||[],h=0,g=D.length;h<g;++h)f=Y(f,this.generateStatement(D[h],ie)),(o.finalizer||h+1!==g)&&(f=this.maybeBlockSuffix(D[h].body,f));if(o.handler)if(Array.isArray(o.handler))for(h=0,g=o.handler.length;h<g;++h)f=Y(f,this.generateStatement(o.handler[h],ie)),(o.finalizer||h+1!==g)&&(f=this.maybeBlockSuffix(o.handler[h].body,f));else f=Y(f,this.generateStatement(o.handler,ie)),o.finalizer&&(f=this.maybeBlockSuffix(o.handler.body,f))}return o.finalizer&&(f=Y(f,["finally",this.maybeBlock(o.finalizer,ie)])),f},SwitchStatement:function(o,p){var f,h,g,D,F,k=this;if(De(function(){f=["switch"+b+"(",k.generateExpression(o.discriminant,e.Sequence,M),")"+b+"{"+x]}),o.cases)for(F=ie,g=0,D=o.cases.length;g<D;++g)g===D-1&&(F|=$),h=je(this.generateStatement(o.cases[g],F)),f.push(h),Pe(ce(h).toString())||f.push(x);return f.push(je("}")),f},SwitchCase:function(o,p){var f,h,g,D,F,k=this;return De(function(){for(o.test?f=[Y("case",k.generateExpression(o.test,e.Sequence,M)),":"]:f=["default:"],g=0,D=o.consequent.length,D&&o.consequent[0].type===t.BlockStatement&&(h=k.maybeBlock(o.consequent[0],ie),f.push(h),g=1),g!==D&&!Pe(ce(f).toString())&&f.push(x),F=ie;g<D;++g)g===D-1&&p&$&&(F|=$),h=je(k.generateStatement(o.consequent[g],F)),f.push(h),g+1!==D&&!Pe(ce(h).toString())&&f.push(x)}),f},IfStatement:function(o,p){var f,h,g,D=this;return De(function(){f=["if"+b+"(",D.generateExpression(o.test,e.Sequence,M),")"]}),g=p&$,h=ie,g&&(h|=$),o.alternate?(f.push(this.maybeBlock(o.consequent,ie)),f=this.maybeBlockSuffix(o.consequent,f),o.alternate.type===t.IfStatement?f=Y(f,["else ",this.generateStatement(o.alternate,h)]):f=Y(f,Y("else",this.maybeBlock(o.alternate,h)))):f.push(this.maybeBlock(o.consequent,h)),f},ForStatement:function(o,p){var f,h=this;return De(function(){f=["for"+b+"("],o.init?o.init.type===t.VariableDeclaration?f.push(h.generateStatement(o.init,ki)):(f.push(h.generateExpression(o.init,e.Sequence,Ae)),f.push(";")):f.push(";"),o.test&&(f.push(b),f.push(h.generateExpression(o.test,e.Sequence,M))),f.push(";"),o.update&&(f.push(b),f.push(h.generateExpression(o.update,e.Sequence,M))),f.push(")")}),f.push(this.maybeBlock(o.body,p&$?qe:ie)),f},ForInStatement:function(o,p){return this.generateIterationForStatement("in",o,p&$?qe:ie)},ForOfStatement:function(o,p){return this.generateIterationForStatement("of",o,p&$?qe:ie)},LabeledStatement:function(o,p){return[o.label.name+":",this.maybeBlock(o.body,p&$?qe:ie)]},Program:function(o,p){var f,h,g,D,F;for(D=o.body.length,f=[O&&D>0?`
`:""],F=Kf,g=0;g<D;++g)!O&&g===D-1&&(F|=$),A&&(g===0&&(o.body[0].leadingComments||br(o.range[0],o.body[g].range[0],f)),g>0&&!o.body[g-1].trailingComments&&!o.body[g].leadingComments&&br(o.body[g-1].range[1],o.body[g].range[0],f)),h=je(this.generateStatement(o.body[g],F)),f.push(h),g+1<D&&!Pe(ce(h).toString())&&(A&&o.body[g+1].leadingComments||f.push(x)),A&&g===D-1&&(o.body[g].trailingComments||br(o.body[g].range[1],o.range[1],f));return f},FunctionDeclaration:function(o,p){return[Hr(o,!0),"function",Ni(o)||Oe(),o.id?Je(o.id):"",this.generateFunctionBody(o)]},ReturnStatement:function(o,p){return o.argument?[Y("return",this.generateExpression(o.argument,e.Sequence,M)),this.semicolon(p)]:["return"+this.semicolon(p)]},WhileStatement:function(o,p){var f,h=this;return De(function(){f=["while"+b+"(",h.generateExpression(o.test,e.Sequence,M),")"]}),f.push(this.maybeBlock(o.body,p&$?qe:ie)),f},WithStatement:function(o,p){var f,h=this;return De(function(){f=["with"+b+"(",h.generateExpression(o.object,e.Sequence,M),")"]}),f.push(this.maybeBlock(o.body,p&$?qe:ie)),f}},Wa(Ce.prototype,Ce.Statement),Ce.Expression={SequenceExpression:function(o,p,f){var h,g,D;for(e.Sequence<p&&(f|=B),h=[],g=0,D=o.expressions.length;g<D;++g)h.push(this.generateExpression(o.expressions[g],e.Assignment,f)),g+1<D&&h.push(","+b);return Se(h,e.Sequence,p)},AssignmentExpression:function(o,p,f){return this.generateAssignment(o.left,o.right,o.operator,p,f)},ArrowFunctionExpression:function(o,p,f){return Se(this.generateFunctionBody(o),e.ArrowFunction,p)},ConditionalExpression:function(o,p,f){return e.Conditional<p&&(f|=B),Se([this.generateExpression(o.test,e.LogicalOR,f),b+"?"+b,this.generateExpression(o.consequent,e.Assignment,f),b+":"+b,this.generateExpression(o.alternate,e.Assignment,f)],e.Conditional,p)},LogicalExpression:function(o,p,f){return this.BinaryExpression(o,p,f)},BinaryExpression:function(o,p,f){var h,g,D,F,k,q;switch(F=r[o.operator],g=F,D=F+1,o.operator){case"**":g=e.Postfix,D=F;break;case"??":o.left.type===t.LogicalExpression&&(o.left.operator==="||"||o.left.operator==="&&")&&(g=r[o.left.operator]+1),o.right.type===t.LogicalExpression&&o.right.operator==="&&"&&(D=r[o.right.operator]+1);break;case"||":o.left.type===t.LogicalExpression&&o.left.operator==="??"&&(g=r[o.left.operator]+1);break}return F<p&&(f|=B),k=this.generateExpression(o.left,g,f),q=k.toString(),q.charCodeAt(q.length-1)===47&&s.code.isIdentifierPartES5(o.operator.charCodeAt(0))?h=[k,Oe(),o.operator]:h=Y(k,o.operator),k=this.generateExpression(o.right,D,f),o.operator==="/"&&k.toString().charAt(0)==="/"||o.operator.slice(-1)==="<"&&k.toString().slice(0,3)==="!--"?(h.push(Oe()),h.push(k)):h=Y(h,k),o.operator==="in"&&!(f&B)?["(",h,")"]:Se(h,F,p)},CallExpression:function(o,p,f){var h,g,D,F;for(h=[this.generateExpression(o.callee,e.Call,Te)],o.optional&&h.push("?."),h.push("("),g=0,D=o.arguments.length;g<D;++g)h.push(this.generateExpression(o.arguments[g],e.Assignment,M)),g+1<D&&h.push(","+b);return h.push(")"),f&W?(F=o.callee.id===null&&o.callee.params.length===0,F?Se(h,p,e.Call):Se(h,e.Call,p)):["(",h,")"]},ChainExpression:function(o,p,f){e.OptionalChaining<p&&(f|=W);var h=this.generateExpression(o.expression,e.OptionalChaining,f);return Se(h,e.OptionalChaining,p)},NewExpression:function(o,p,f){var h,g,D,F,k;if(g=o.arguments.length,k=f&Z&&!w&&g===0?zt:bt,h=Y("new",this.generateExpression(o.callee,e.New,k)),!(f&Z)||w||g>0){for(h.push("("),D=0,F=g;D<F;++D)h.push(this.generateExpression(o.arguments[D],e.Assignment,M)),D+1<F&&h.push(","+b);h.push(")")}return Se(h,e.New,p)},MemberExpression:function(o,p,f){var h,g;return h=[this.generateExpression(o.object,e.Call,f&W?Te:bt)],o.computed?(o.optional&&h.push("?."),h.push("["),h.push(this.generateExpression(o.property,e.Sequence,f&W?M:zt)),h.push("]")):(!o.optional&&o.object.type===t.Literal&&typeof o.object.value=="number"&&(g=ce(h).toString(),g.indexOf(".")<0&&!/[eExX]/.test(g)&&s.code.isDecimalDigit(g.charCodeAt(g.length-1))&&!(g.length>=2&&g.charCodeAt(0)===48)&&h.push(" ")),h.push(o.optional?"?.":"."),h.push(Je(o.property))),Se(h,e.Membe
`&&(f=v?ce(f).replaceRight(/\s+$/,""):h.replace(/\s+$/,"")),ce(f,o)};function ap(o){var p;if(p=new Ce,I(o))return p.generateStatement(o,ie);if(Q(o))return p.generateExpression(o,e.Sequence,M);throw new Error("Unknown node type: "+o.type)}function op(o,p){var f=Ua(),h,g;return p!=null?(typeof p.indent=="string"&&(f.format.indent.style=p.indent),typeof p.base=="number"&&(f.format.indent.base=p.base),p=Ii(f,p),u=p.format.indent.style,typeof p.base=="string"?a=p.base:a=tr(u,p.format.indent.base)):(p=f,u=p.format.indent.style,a=tr(u,p.format.indent.base)),c=p.format.json,m=p.format.renumber,d=c?!1:p.format.hexadecimal,E=c?"double":p.format.quotes,y=p.format.escapeless,x=p.format.newline,b=p.format.space,p.format.compact&&(x=b=u=a=""),w=p.format.parentheses,_=p.format.semicolons,O=p.format.safeConcatenation,L=p.directive,C=c?null:p.parse,v=p.sourceMap,S=p.sourceCode,A=p.format.preserveBlankLines&&S!==null,R=p,v&&(Rt.browser?i=global.sourceMap.SourceNode:i=Po().SourceNode),h=ap(o),v?(g=h.toStringWithSourceMap({file:p.file,sourceRoot:p.sourceMapRoot}),p.sourceContent&&g.map.setSourceContent(p.sourceMap,p.sourceContent),p.sourceMapWithCode?g:g.map.toString()):(g={code:h.toString(),map:null},p.sourceMapWithCode?g:g.code)}T={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},P=Ua().format,Rt.version=Oo().version,Rt.generate=op,Rt.attachComments=n.attachComments,Rt.Precedence=Ii({},e),Rt.browser=!1,Rt.FORMAT_MINIFY=T,Rt.FORMAT_DEFAULTS=P})()});var Fs=j((Ey,xu)=>{"use strict";xu.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),i=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var n=42;e[r]=n;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var s=Object.getOwnPropertySymbols(e);if(s.length!==1||s[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(e,r);if(a.value!==n||a.enumerable!==!0)return!1}return!0}});var Qi=j((xy,bu)=>{"use strict";var hh=Fs();bu.exports=function(){return hh()&&!!Symbol.toStringTag}});var Du=j((by,vu)=>{"use strict";var Au=typeof Symbol<"u"&&Symbol,dh=Fs();vu.exports=function(){return typeof Au!="function"||typeof Symbol!="function"||typeof Au("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:dh()}});var Fu=j((Ay,Cu)=>{"use strict";var Su={foo:{}},mh=Object;Cu.exports=function(){return{__proto__:Su}.foo===Su.foo&&!({__proto__:null}instanceof mh)}});var Bu=j((vy,_u)=>{"use strict";var yh="Function.prototype.bind called on incompatible ",gh=Object.prototype.toString,Eh=Math.max,xh="[object Function]",wu=function(e,r){for(var i=[],n=0;n<e.length;n+=1)i[n]=e[n];for(var s=0;s<r.length;s+=1)i[s+e.length]=r[s];return i},bh=function(e,r){for(var i=[],n=r||0,s=0;n<e.length;n+=1,s+=1)i[s]=e[n];return i},Ah=function(t,e){for(var r="",i=0;i<t.length;i+=1)r+=t[i],i+1<t.length&&(r+=e);return r};_u.exports=function(e){var r=this;if(typeof r!="function"||gh.apply(r)!==xh)throw new TypeError(yh+r);for(var i=bh(arguments,1),n,s=function(){if(this instanceof n){var d=r.apply(this,wu(i,arguments));return Object(d)===d?d:this}return r.apply(e,wu(i,arguments))},a=Eh(0,r.length-i.length),u=[],c=0;c<a;c++)u[c]="$"+c;if(n=Function("binder","return function ("+Ah(u,",")+"){ return binder.apply(this,arguments); }")(s),r.prototype){var m=function(){};m.prototype=r.prototype,n.prototype=new m,m.prototype=null}return n}});var Ji=j((Dy,ku)=>{"use strict";var vh=Bu();ku.exports=Function.prototype.bind||vh});var Nu=j((Sy,Iu)=>{"use strict";var Dh=Function.prototype.call,Sh=Object.prototype.hasOwnProperty,Ch=Ji();Iu.exports=Ch.call(Dh,Sh)});var cr=j((Cy,Ru)=>{"use strict";var se,Or=SyntaxError,Lu=Function,Pr=TypeEr
`)>-1&&(s?u=u.split(`
`).map(function(m){return" "+m}).join(`
`).slice(2):u=`
`+u.split(`
`).map(function(m){return" "+m}).join(`
`))):u=t.stylize("[Circular]","special")),pr(a)){if(s&&n.match(/^\d+$/))return u;a=JSON.stringify(""+n),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+u}function n0(t,e,r){var i=0,n=t.reduce(function(s,a){return i++,a.indexOf(`
`)>=0&&i++,s+a.replace(/\u001b\[\d\d?m/g,"").length+1},0);return n>60?r[0]+(e===""?"":e+`
`)+" "+t.join(`,
`)+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}te.types=Ol();function Gl(t){return Array.isArray(t)}te.isArray=Gl;function ea(t){return typeof t=="boolean"}te.isBoolean=ea;function bn(t){return t===null}te.isNull=bn;function s0(t){return t==null}te.isNullOrUndefined=s0;function ql(t){return typeof t=="number"}te.isNumber=ql;function An(t){return typeof t=="string"}te.isString=An;function a0(t){return typeof t=="symbol"}te.isSymbol=a0;function pr(t){return t===void 0}te.isUndefined=pr;function fi(t){return Gr(t)&&ta(t)==="[object RegExp]"}te.isRegExp=fi;te.types.isRegExp=fi;function Gr(t){return typeof t=="object"&&t!==null}te.isObject=Gr;function xn(t){return Gr(t)&&ta(t)==="[object Date]"}te.isDate=xn;te.types.isDate=xn;function pi(t){return Gr(t)&&(ta(t)==="[object Error]"||t instanceof Error)}te.isError=pi;te.types.isNativeError=pi;function gn(t){return typeof t=="function"}te.isFunction=gn;function o0(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}te.isPrimitive=o0;te.isBuffer=Rl();function ta(t){return Object.prototype.toString.call(t)}function Xs(t){return t<10?"0"+t.toString(10):t.toString(10)}var u0=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function l0(){var t=new Date,e=[Xs(t.getHours()),Xs(t.getMinutes()),Xs(t.getSeconds())].join(":");return[t.getDate(),u0[t.getMonth()],e].join(" ")}te.log=function(){console.log("%s - %s",l0(),te.format.apply(te,arguments))};te.inherits=Ml();te._extend=function(t,e){if(!e||!Gr(e))return t;for(var r=Object.keys(e),i=r.length;i--;)t[r[i]]=e[r[i]];return t};function jl(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var fr=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;te.promisify=function(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');if(fr&&e[fr]){var r=e[fr];if(typeof r!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(r,fr,{value:r,enumerable:!1,writable:!1,configurable:!0}),r}function r(){for(var i,n,s=new Promise(function(c,m){i=c,n=m}),a=[],u=0;u<arguments.length;u++)a.push(arguments[u]);a.push(function(c,m){c?n(c):i(m)});try{e.apply(this,a)}catch(c){n(c)}return s}return Object.setPrototypeOf(r,Object.getPrototypeOf(e)),fr&&Object.defineProperty(r,fr,{value:r,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(r,Vl(e))};te.promisify.custom=fr;function c0(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}function f0(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');function e(){for(var r=[],i=0;i<arguments.length;i++)r.push(arguments[i]);var n=r.pop();if(typeof n!="function")throw new TypeError("The last argument must be of type Function");var s=this,a=function(){return n.apply(s,arguments)};t.apply(this,r).then(function(u){process.nextTick(a.bind(null,null,u))},function(u){process.nextTick(c0.bind(null,u,a))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,Vl(t)),e}te.callbackify=f0});var sa=j((Uy,zl)=>{"use strict";function jr(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?jr=function(r){return typeof r}:jr=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},jr(t)}function p0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h0(t,e){return e&&(jr(e)==="object"||typeof e=="function")?e:d0(t)}function d0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ia(t){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(t)}function m0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&na
`),d=yi(e).split(`
`),E=0,y="";if(r==="strictEqual"&&pt(t)==="object"&&pt(e)==="object"&&t!==null&&e!==null&&(r="strictEqualObject"),m.length===1&&d.length===1&&m[0]!==d[0]){var x=m[0].length+d[0].length;if(x<=k0){if((pt(t)!=="object"||t===null)&&(pt(e)!=="object"||e===null)&&(t!==0||e!==0))return"".concat(dr[r],`
`)+"".concat(m[0]," !== ").concat(d[0],`
`)}else if(r!=="strictEqualObject"){var b=process.stderr&&process.stderr.isTTY?process.stderr.columns:80;if(x<b){for(;m[0][E]===d[0][E];)E++;E>2&&(y=`
`.concat(B0(" ",E),"^"),E=0)}}}for(var w=m[m.length-1],_=d[d.length-1];w===_&&(E++<2?a=`
`.concat(w).concat(a):i=w,m.pop(),d.pop(),!(m.length===0||d.length===0));)w=m[m.length-1],_=d[d.length-1];var O=Math.max(m.length,d.length);if(O===0){var L=c.split(`
`);if(L.length>30)for(L[26]="".concat(Ct,"...").concat(Me);L.length>27;)L.pop();return"".concat(dr.notIdentical,`
`).concat(L.join(`
`),`
`)}E>3&&(a=`
`.concat(Ct,"...").concat(Me).concat(a),u=!0),i!==""&&(a=`
`.concat(i).concat(a),i="");var R=0,C=dr[r]+`
`.concat(di,"+ actual").concat(Me," ").concat(mi,"- expected").concat(Me),v=" ".concat(Ct,"...").concat(Me," Lines skipped");for(E=0;E<O;E++){var S=E-s;if(m.length<E+1)S>1&&E>2&&(S>4?(n+=`
`.concat(Ct,"...").concat(Me),u=!0):S>3&&(n+=`
`.concat(d[E-2]),R++),n+=`
`.concat(d[E-1]),R++),s=E,i+=`
`.concat(mi,"-").concat(Me," ").concat(d[E]),R++;else if(d.length<E+1)S>1&&E>2&&(S>4?(n+=`
`.concat(Ct,"...").concat(Me),u=!0):S>3&&(n+=`
`.concat(m[E-2]),R++),n+=`
`.concat(m[E-1]),R++),s=E,n+=`
`.concat(di,"+").concat(Me," ").concat(m[E]),R++;else{var A=d[E],T=m[E],P=T!==A&&(!Hl(T,",")||T.slice(0,-1)!==A);P&&Hl(A,",")&&A.slice(0,-1)===T&&(P=!1,T+=","),P?(S>1&&E>2&&(S>4?(n+=`
`.concat(Ct,"...").concat(Me),u=!0):S>3&&(n+=`
`.concat(m[E-2]),R++),n+=`
`.concat(m[E-1]),R++),s=E,n+=`
`.concat(di,"+").concat(Me," ").concat(T),i+=`
`.concat(mi,"-").concat(Me," ").concat(A),R+=2):(n+=i,i="",(S===1||E===0)&&(n+=`
`.concat(T),R++))}if(R>20&&E<O-2)return"".concat(C).concat(v,`
`).concat(n,`
`).concat(Ct,"...").concat(Me).concat(i,`
`)+"".concat(Ct,"...").concat(Me)}return"".concat(C).concat(u?v:"",`
`).concat(n).concat(i).concat(a).concat(y)}var N0=function(t){D0(e,t);function e(r){var i;if(A0(this,e),pt(r)!=="object"||r===null)throw new _0("options","Object",r);var n=r.message,s=r.operator,a=r.stackStartFn,u=r.actual,c=r.expected,m=Error.stackTraceLimit;if(Error.stackTraceLimit=0,n!=null)i=Wr(this,Yt(e).call(this,String(n)));else if(process.stderr&&process.stderr.isTTY&&(process.stderr&&process.stderr.getColorDepth&&process.stderr.getColorDepth()!==1?(Ct="\x1B[34m",di="\x1B[32m",Me="\x1B[39m",mi="\x1B[31m"):(Ct="",di="",Me="",mi="")),pt(u)==="object"&&u!==null&&pt(c)==="object"&&c!==null&&"stack"in u&&u instanceof Error&&"stack"in c&&c instanceof Error&&(u=Kl(u),c=Kl(c)),s==="deepStrictEqual"||s==="strictEqual")i=Wr(this,Yt(e).call(this,I0(u,c,s)));else if(s==="notDeepStrictEqual"||s==="notStrictEqual"){var d=dr[s],E=yi(u).split(`
`);if(s==="notStrictEqual"&&pt(u)==="object"&&u!==null&&(d=dr.notStrictEqualObject),E.length>30)for(E[26]="".concat(Ct,"...").concat(Me);E.length>27;)E.pop();E.length===1?i=Wr(this,Yt(e).call(this,"".concat(d," ").concat(E[0]))):i=Wr(this,Yt(e).call(this,"".concat(d,`
`).concat(E.join(`
`),`
`)))}else{var y=yi(u),x="",b=dr[s];s==="notDeepEqual"||s==="notEqual"?(y="".concat(dr[s],`
`).concat(y),y.length>1024&&(y="".concat(y.slice(0,1021),"..."))):(x="".concat(yi(c)),y.length>512&&(y="".concat(y.slice(0,509),"...")),x.length>512&&(x="".concat(x.slice(0,509),"...")),s==="deepEqual"||s==="equal"?y="".concat(b,`
`).concat(y,`
should equal
`):x=" ".concat(s," ").concat(x)),i=Wr(this,Yt(e).call(this,"".concat(y).concat(x)))}return Error.stackTraceLimit=m,i.generatedMessage=!n,Object.defineProperty(aa(i),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),i.code="ERR_ASSERTION",i.actual=u,i.expected=c,i.operator=s,Error.captureStackTrace&&Error.captureStackTrace(aa(i),a),i.stack,i.name="AssertionError",Wr(i)}return v0(e,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:ua.custom,value:function(i,n){return ua(this,x0({},n,{customInspect:!1,depth:0}))}}]),e}(oa(Error));Yl.exports=N0});var Zl=j((zy,Xl)=>{"use strict";function Jl(t,e){if(t==null)throw new TypeError("Cannot convert first argument to object");for(var r=Object(t),i=1;i<arguments.length;i++){var n=arguments[i];if(n!=null)for(var s=Object.keys(Object(n)),a=0,u=s.length;a<u;a++){var c=s[a],m=Object.getOwnPropertyDescriptor(n,c);m!==void 0&&m.enumerable&&(r[c]=n[c])}}return r}function T0(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:Jl})}Xl.exports={assign:Jl,polyfill:T0}});var la=j(($y,tc)=>{"use strict";var ec=Object.prototype.toString;tc.exports=function(e){var r=ec.call(e),i=r==="[object Arguments]";return i||(i=r!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&ec.call(e.callee)==="[object Function]"),i}});var cc=j((Hy,lc)=>{"use strict";var uc;Object.keys||(Ei=Object.prototype.hasOwnProperty,ca=Object.prototype.toString,rc=la(),fa=Object.prototype.propertyIsEnumerable,ic=!fa.call({toString:null},"toString"),nc=fa.call(function(){},"prototype"),xi=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Dn=function(t){var e=t.constructor;return e&&e.prototype===t},sc={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},ac=function(){if(typeof window>"u")return!1;for(var t in window)try{if(!sc["$"+t]&&Ei.call(window,t)&&window[t]!==null&&typeof window[t]=="object")try{Dn(window[t])}catch{return!0}}catch{return!0}return!1}(),oc=function(t){if(typeof window>"u"||!ac)return Dn(t);try{return Dn(t)}catch{return!1}},uc=function(e){var r=e!==null&&typeof e=="object",i=ca.call(e)==="[object Function]",n=rc(e),s=r&&ca.call(e)==="[object String]",a=[];if(!r&&!i&&!n)throw new TypeError("Object.keys called on a non-object");var u=nc&&i;if(s&&e.length>0&&!Ei.call(e,0))for(var c=0;c<e.length;++c)a.push(String(c));if(n&&e.length>0)for(var m=0;m<e.length;++m)a.push(String(m));else for(var d in e)!(u&&d==="prototype")&&Ei.call(e,d)&&a.push(String(d));if(ic)for(var E=oc(e),y=0;y<xi.length;++y)!(E&&xi[y]==="constructor")&&Ei.call(e,xi[y])&&a.push(xi[y]);return a});var Ei,ca,rc,fa,ic,nc,xi,Dn,sc,ac,oc;lc.exports=uc});var dc=j((Ky,hc)=>{"use strict";var P0=Array.prototype.slice,O0=la(),fc=Object.keys,Sn=fc?function(e){return fc(e)}:cc(),pc=Object.keys;Sn.shim=function(){if(Object.keys){var e=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);e||(Object.keys=function(i){return O0(i)?pc(P0.call(i)):pc(i)})}else Object.keys=Sn;return Object.keys||Sn};hc.exports=Sn});var bi=j((Yy,Ec)=>{"use strict";var L0=dc(),R0=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",M0=Object.prototype.toString,V0=Array.prototype.concat,mc=Ns(),G0=function(t){return typeof t=="function"&&M0.call(t)==="[object Function]"},yc=en()(),q0=function(t,e,r,i){if(e in t){if(i===!0){if(t[e]===r)return}else if(!G0(i)||!i())return}yc?mc(t,e,r,!0):mc(t,e,r)},gc=function(t,e){var r=arguments.length>2?arguments[2]:{},i=L0(e);R0&&(i=V0.call(i,Object.getOwnPropertySymbols(e)));for(var n=0;n<i.length;n+=1)q0(t,i[n],e[i[n]],r[i[n]])};gc.supportsDescriptors=!!yc;Ec.expo
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/function Kc(t,e){if(t===e)return 0;for(var r=t.length,i=e.length,n=0,s=Math.min(r,i);n<s;++n)if(t[n]!==e[n]){r=t[n],i=e[n];break}return r<i?-1:i<r?1:0}var _n=void 0,dm=!0,mm=!1,Ea=0,ba=1,Yc=2,Qc=3;function ym(t,e){return sm?t.source===e.source&&t.flags===e.flags:RegExp.prototype.toString.call(t)===RegExp.prototype.toString.call(e)}function gm(t,e){if(t.byteLength!==e.byteLength)return!1;for(var r=0;r<t.byteLength;r++)if(t[r]!==e[r])return!1;return!0}function Em(t,e){return t.byteLength!==e.byteLength?!1:Kc(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))===0}function xm(t,e){return t.byteLength===e.byteLength&&Kc(new Uint8Array(t),new Uint8Array(e))===0}function bm(t,e){return Gc(t)?Gc(e)&&Hc(Number.prototype.valueOf.call(t),Number.prototype.valueOf.call(e)):qc(t)?qc(e)&&String.prototype.valueOf.call(t)===String.prototype.valueOf.call(e):jc(t)?jc(e)&&Boolean.prototype.valueOf.call(t)===Boolean.prototype.valueOf.call(e):Uc(t)?Uc(e)&&BigInt.prototype.valueOf.call(t)===BigInt.prototype.valueOf.call(e):cm(e)&&Symbol.prototype.valueOf.call(t)===Symbol.prototype.valueOf.call(e)}function ht(t,e,r,i){if(t===e)return t!==0?!0:r?Hc(t,e):!0;if(r){if(tt(t)!=="object")return typeof t=="number"&&ga(t)&&ga(e);if(tt(e)!=="object"||t===null||e===null||Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1}else{if(t===null||tt(t)!=="object")return e===null||tt(e)!=="object"?t==e:!1;if(e===null||tt(e)!=="object")return!1}var n=Rc(t),s=Rc(e);if(n!==s)return!1;if(Array.isArray(t)){if(t.length!==e.length)return!1;var a=wn(t,_n),u=wn(e,_n);return a.length!==u.length?!1:Ai(t,e,r,i,ba,a)}if(n==="[object Object]"&&(!Cn(t)&&Cn(e)||!Fn(t)&&Fn(e)))return!1;if(Mc(t)){if(!Mc(e)||Date.prototype.getTime.call(t)!==Date.prototype.getTime.call(e))return!1}else if(Vc(t)){if(!Vc(e)||!ym(t,e))return!1}else if(um(t)||t instanceof Error){if(t.message!==e.message||t.name!==e.name)return!1}else if(om(t)){if(!r&&(fm(t)||pm(t))){if(!gm(t,e))return!1}else if(!Em(t,e))return!1;var c=wn(t,_n),m=wn(e,_n);return c.length!==m.length?!1:Ai(t,e,r,i,Ea,c)}else{if(Fn(t))return!Fn(e)||t.size!==e.size?!1:Ai(t,e,r,i,Yc);if(Cn(t))return!Cn(e)||t.size!==e.size?!1:Ai(t,e,r,i,Qc);if(am(t)){if(!xm(t,e))return!1}else if(lm(t)&&!bm(t,e))return!1}return Ai(t,e,r,i,Ea)}function Wc(t,e){return e.filter(function(r){return kn(t,r)})}function Ai(t,e,r,i,n,s){if(arguments.length===5){s=Object.keys(t);var a=Object.keys(e);if(s.length!==a.length)return!1}for(var u=0;u<s.length;u++)if(!vi(e,s[u]))return!1;if(r&&arguments.length===5){var c=Bn(t);if(c.length!==0){var m=0;for(u=0;u<c.length;u++){var d=c[u];if(kn(t,d)){if(!kn(e,d))return!1;s.push(d),m++}else if(kn(e,d))return!1}var E=Bn(e);if(c.length!==E.length&&Wc(e,E).length!==m)return!1}else{var y=Bn(e);if(y.length!==0&&Wc(e,y).length!==0)return!1}}if(s.length===0&&(n===Ea||n===ba&&t.length===0||t.size===0))return!0;if(i===void 0)i={val1:new Map,val2:new Map,position:0};else{var x=i.val1.get(t);if(x!==void 0){var b=i.val2.get(e);if(b!==void 0)return x===b}i.position++}i.val1.set(t,i.position),i.val2.set(e,i.position);var w=Cm(t,e,r,s,i,n);return i.val1.delete(t),i.val2.delete(e),w}function zc(t,e,r,i){for(var n=In(t),s=0;s<n.length;s++){var a=n[s];if(ht(e,a,r,i))return t.delete(a),!0}return!1}function Jc(t){switch(tt(t)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":t=+t;case"number":if(ga(t))return!1}return!0}function Am(t,e,r){var i=Jc(r);return i??(e.has(i)&&!t.has(i))}function vm(t,e,r,i,n){var s=Jc(r);if(s!=null)return s;var a=e.get(s);return a===void 0&&!e.has(s)||!ht(i,a,!1,n)?!1:!t.has(s)&&ht(i,a,!1,n)}function Dm(t,e,r,i){for(var n=null,s=In(t),a=0;a<s.length;a++){var u=s[a];if(tt(u)==="object"&&u!==null)n===null&&(n=new Set),n.add(u);else if(!e.has(u)){if(r||!Am(t,e,u))return!1;n===null&&(n=new Set),n.add(u)}}if(n!==null){for(var c=In(e),m=0;m<c.length;m++){var d=c[m];if(tt(d)==="object"&&d!==null){if(!zc(n,d,r,i))return!1}else if(!r&&!t.has(d)&&!zc(n,d,r,i))return!1}return n.size===0}return!0}function $c(t,e,r,i,n,s){for(var a=In(t),u
`)+'Actual message: "'.concat(e&&e.message,'"'),stackStartFn:t})}throw e}}xe.throws=function t(e){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];hf.apply(void 0,[t,ff(e)].concat(i))};xe.rejects=function t(e){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return pf(e).then(function(s){return hf.apply(void 0,[t,s].concat(i))})};xe.doesNotThrow=function t(e){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];df.apply(void 0,[t,ff(e)].concat(i))};xe.doesNotReject=function t(e){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return pf(e).then(function(s){return df.apply(void 0,[t,s].concat(i))})};xe.ifError=function t(e){if(e!=null){var r="ifError got unwanted exception: ";Qt(e)==="object"&&typeof e.message=="string"?e.message.length===0&&e.constructor?r+=e.constructor.name:r+=e.message:r+=Tm(e);var i=new mr({actual:e,expected:null,operator:"ifError",message:r,stackStartFn:t}),n=e.stack;if(typeof n=="string"){var s=n.split(`
`);s.shift();for(var a=i.stack.split(`
`),u=0;u<s.length;u++){var c=a.indexOf(s[u]);if(c!==-1){a=a.slice(0,c);break}}i.stack="".concat(a.join(`
`),`
`).concat(s.join(`
`))}throw i}};function mf(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];uf.apply(void 0,[mf,e.length].concat(e))}xe.strict=Om(mf,xe,{equal:xe.strictEqual,deepEqual:xe.deepStrictEqual,notEqual:xe.notStrictEqual,notDeepEqual:xe.notDeepStrictEqual});xe.strict.strict=xe.strict});var Fi=j(gf=>{(function t(e){"use strict";var r,i,n,s,a,u;function c(C){var v={},S,A;for(S in C)C.hasOwnProperty(S)&&(A=C[S],typeof A=="object"&&A!==null?v[S]=c(A):v[S]=A);return v}function m(C,v){var S,A,T,P;for(A=C.length,T=0;A;)S=A>>>1,P=T+S,v(C[P])?A=S:(T=P+1,A-=S+1);return T}r={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"},n={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","s
Defaulting to 2020, but this will stop working in the future.`)),e.ecmaVersion=11):e.ecmaVersion>=2015&&(e.ecmaVersion-=2009),e.allowReserved==null&&(e.allowReserved=e.ecmaVersion<5),Lo(e.onToken)){var i=e.onToken;e.onToken=function(n){return i.push(n)}}return Lo(e.onComment)&&(e.onComment=Wp(e,e.onComment)),e}function Wp(t,e){return function(r,i,n,s,a,u){var c={type:r?"Block":"Line",value:i,start:n,end:s};t.locations&&(c.loc=new $t(this,a,u)),t.ranges&&(c.range=[n,s]),e.push(c)}}var ei=1,Br=2,Es=4,Wo=8,zo=16,$o=32,xs=64,Ho=128,ii=256,bs=ei|Br|ii;function As(t,e){return Br|(t?Es:0)|(e?Wo:0)}var Gi=0,vs=1,Mt=2,Ko=3,Yo=4,Qo=5,Ee=function(e,r,i){this.options=e=Up(e),this.sourceFile=e.sourceFile,this.keywords=sr(Op[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var n="";e.allowReserved!==!0&&(n=fs[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3],e.sourceType==="module"&&(n+=" await")),this.reservedWords=sr(n);var s=(n?n+" ":"")+fs.strict;this.reservedWordsStrict=sr(s),this.reservedWordsStrictBind=sr(s+" "+fs.strictBind),this.input=String(r),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf(`
`,i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(He).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=l.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=e.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(ei),this.regexpState=null,this.privateNameStack=[]},Nt={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Ee.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};Nt.inFunction.get=function(){return(this.currentVarScope().flags&Br)>0};Nt.inGenerator.get=function(){return(this.currentVarScope().flags&Wo)>0&&!this.currentVarScope().inClassFieldInit};Nt.inAsync.get=function(){return(this.currentVarScope().flags&Es)>0&&!this.currentVarScope().inClassFieldInit};Nt.canAwait.get=function(){for(var t=this.scopeStack.length-1;t>=0;t--){var e=this.scopeStack[t];if(e.inClassFieldInit||e.flags&ii)return!1;if(e.flags&Br)return(e.flags&Es)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};Nt.allowSuper.get=function(){var t=this.currentThisScope(),e=t.flags,r=t.inClassFieldInit;return(e&xs)>0||r||this.options.allowSuperOutsideMethod};Nt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Ho)>0};Nt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Nt.allowNewDotTarget.get=function(){var t=this.currentThisScope(),e=t.flags,r=t.inClassFieldInit;return(e&(Br|ii))>0||r};Nt.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&ii)>0};Ee.extend=function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];for(var i=this,n=0;n<e.length;n++)i=e[n](i);return i};Ee.parse=function(e,r){return new this(r,e).parse()};Ee.parseExpressionAt=function(e,r,i){var n=new this(i,e,r);return n.nextToken(),n.parseExpression()};Ee.tokenizer=function(e,r){return new this(r,e)};Object.defineProperties(Ee.prototype,Nt);var Ke=Ee.prototype,zp=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;Ke.strictDirective=function(t){for(;;){ct.lastIndex=t,t+=ct.exec(this.input)[0].length;var e=zp.exec(this.input.slice(t));if(!e)return!1;if((e[1]||e[2])==="use strict"){ct.lastIndex=t+e[0].length;var r=ct.exec(this.input),i=r.index+r[0].length,n=this.input.charAt(i);return n===";"||n==="}"||He.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(n)||n==="!"&&this.input.charAt(i+1)==="=")}t+=e[0].length,ct.lastIndex=t,t+=ct.exec(this.input)[0].length,this.input[t]===";"&&t++}};Ke.eat=function(t){return this.type===t?(this.next(),!0):!1};Ke.isContextual=function(t){return this.type===l.name&&this.value===t&&!this.containsEsc};Ke.eatContextual=function(t){return this.isContextual(t)?(this.next(),!0):!1};Ke.expectContextual=function(t){this.eatContextual(t)||this.unexpected()};Ke.canInsertSemicolon=function(){return this.type===l.eof||this.type===l.braceR||He.test(this.input.slice(this.lastTokEnd,this.start))};Ke.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};Ke.semicolon=function(){!this.eat(l.semi)&&!this.insertSemicolon()&&this.unexpected()};Ke.afterTrailingComma=function(t,e){if(this.type===t)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),e||this.next(),!0}
`),cooked:this.value},this.next(),r.tail=this.type===l.backQuote,this.finishNode(r,"TemplateElement")};X.parseTemplate=function(t){t===void 0&&(t={});var e=t.isTagged;e===void 0&&(e=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:e});for(r.quasis=[i];!i.tail;)this.type===l.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(l.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(l.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:e}));return this.next(),this.finishNode(r,"TemplateLiteral")};X.isAsyncProp=function(t){return!t.computed&&t.key.type==="Identifier"&&t.key.name==="async"&&(this.type===l.name||this.type===l.num||this.type===l.string||this.type===l.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===l.star)&&!He.test(this.input.slice(this.lastTokEnd,this.start))};X.parseObj=function(t,e){var r=this.startNode(),i=!0,n={};for(r.properties=[],this.next();!this.eat(l.braceR);){if(i)i=!1;else if(this.expect(l.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(l.braceR))break;var s=this.parseProperty(t,e);t||this.checkPropClash(s,n,e),r.properties.push(s)}return this.finishNode(r,t?"ObjectPattern":"ObjectExpression")};X.parseProperty=function(t,e){var r=this.startNode(),i,n,s,a;if(this.options.ecmaVersion>=9&&this.eat(l.ellipsis))return t?(r.argument=this.parseIdent(!1),this.type===l.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(this.type===l.parenL&&e&&(e.parenthesizedAssign<0&&(e.parenthesizedAssign=this.start),e.parenthesizedBind<0&&(e.parenthesizedBind=this.start)),r.argument=this.parseMaybeAssign(!1,e),this.type===l.comma&&e&&e.trailingComma<0&&(e.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(t||e)&&(s=this.start,a=this.startLoc),t||(i=this.eat(l.star)));var u=this.containsEsc;return this.parsePropertyName(r),!t&&!u&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)?(n=!0,i=this.options.ecmaVersion>=9&&this.eat(l.star),this.parsePropertyName(r,e)):n=!1,this.parsePropertyValue(r,t,i,n,s,a,e,u),this.finishNode(r,"Property")};X.parsePropertyValue=function(t,e,r,i,n,s,a,u){if((r||i)&&this.type===l.colon&&this.unexpected(),this.eat(l.colon))t.value=e?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),t.kind="init";else if(this.options.ecmaVersion>=6&&this.type===l.parenL)e&&this.unexpected(),t.kind="init",t.method=!0,t.value=this.parseMethod(r,i);else if(!e&&!u&&this.options.ecmaVersion>=5&&!t.computed&&t.key.type==="Identifier"&&(t.key.name==="get"||t.key.name==="set")&&this.type!==l.comma&&this.type!==l.braceR&&this.type!==l.eq){(r||i)&&this.unexpected(),t.kind=t.key.name,this.parsePropertyName(t),t.value=this.parseMethod(!1);var c=t.kind==="get"?0:1;if(t.value.params.length!==c){var m=t.value.start;t.kind==="get"?this.raiseRecoverable(m,"getter should have no params"):this.raiseRecoverable(m,"setter should have exactly one param")}else t.kind==="set"&&t.value.params[0].type==="RestElement"&&this.raiseRecoverable(t.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!t.computed&&t.key.type==="Identifier"?((r||i)&&this.unexpected(),this.checkUnreserved(t.key),t.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=n),t.kind="init",e?t.value=this.parseMaybeDefault(n,s,this.copyNode(t.key)):this.type===l.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),t.value=this.parseMaybeDefault(n,s,this.copyNode(t.key))):t.value=this.copyNode(t.key),t.shorthand=!0):this.unexpected()};X.parsePropertyName=function(t){if(this.options.ecmaVersion>=6){if(this.eat(l.bracketL))return t.computed=!0,t.key=this.parseMaybeAssign(),this.expect(l.bracketR),t.key;t.computed=!1}return t.key=this.type===l.num||this.type===l.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};X.initFunction=function(t){t.id=null,this.options.ecmaVersion>=6&&(t.generator=t.expression=!1),this.opt
`;break;default:t+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),e=this.pos}else++this.pos}};ne.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(l.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")};ne.readEscapedChar=function(t){var e=this.input.charCodeAt(++this.pos);switch(++this.pos,e){case 110:return`
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Hi(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),t){var r=this.pos-1;return this.invalidStringToken(r,"Invalid escape sequence in template string"),null}default:if(e>=48&&e<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],n=parseInt(i,8);return n>255&&(i=i.slice(0,-1),n=parseInt(i,8)),this.pos+=i.length-1,e=this.input.charCodeAt(this.pos),(i!=="0"||e===56||e===57)&&(this.strict||t)&&this.invalidStringToken(this.pos-1-i.length,t?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(n)}return vt(e)?"":String.fromCharCode(e)}};ne.readHexChar=function(t){var e=this.pos,r=this.readInt(16,t);return r===null&&this.invalidStringToken(e,"Bad character escape sequence"),r};ne.readWord1=function(){this.containsEsc=!1;for(var t="",e=!0,r=this.pos,i=this.options.ecmaVersion>=6;this.pos<this.input.length;){var n=this.fullCharCodeAtPos();if(ar(n,i))this.pos+=n<=65535?1:2;else if(n===92){this.containsEsc=!0,t+=this.input.slice(r,this.pos);var s=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var a=this.readCodePoint();(e?It:ar)(a,i)||this.invalidStringToken(s,"Invalid Unicode escape"),t+=Hi(a),r=this.pos}else break;e=!1}return t+this.input.slice(r,this.pos)};ne.readWord=function(){var t=this.readWord1(),e=l.name;return this.keywords.test(t)&&(e=Wi[t]),this.finishToken(e,t)};var gu="8.7.0";Ee.acorn={Parser:Ee,version:gu,defaultOptions:_r,Position:wr,SourceLocation:$t,getLineInfo:or,Node:Vt,TokenType:le,tokTypes:l,keywordTypes:Wi,TokContext:lt,tokContexts:he,isIdentifierChar:ar,isIdentifierStart:It,Token:Ir,isNewLine:vt,lineBreak:He,lineBreakG:ti,nonASCIIwhitespace:gs};function uh(t,e){return Ee.parse(t,e)}function lh(t,e,r){return Ee.parseExpressionAt(t,e,r)}function ch(t,e){return Ee.tokenizer(t,e)}var Cs={};to(Cs,{LooseParser:()=>pe,isDummy:()=>Tt,parse:()=>ph});var Ki="\u2716";function Tt(t){return t.name===Ki}function Eu(){}var pe=function(e,r){if(r===void 0&&(r={}),this.toks=this.constructor.BaseParser.tokenizer(e,r),this.options=this.toks.options,this.input=this.toks.input,this.tok=this.last={type:l.eof,start:0,end:0},this.tok.validateRegExpFlags=Eu,this.tok.validateRegExpPattern=Eu,this.options.locations){var i=this.toks.curPosition();this.tok.loc=new $t(this.toks,i,i)}this.ahead=[],this.context=[],this.curIndent=0,this.curLineStart=0,this.nextLineStart=this.lineEnd(this.curLineStart)+1,this.inAsync=!1,this.inGenerator=!1,this.inFunction=!1};pe.prototype.startNode=function(){return new Vt(this.toks,this.tok.start,this.options.locations?this.tok.loc.start:null)};pe.prototype.storeCurrentPos=function(){return this.options.locations?[this.tok.start,this.tok.loc.start]:this.tok.start};pe.prototype.startNodeAt=function(e){return this.options.locations?new Vt(this.toks,e[0],e[1]):new Vt(this.toks,e)};pe.prototype.finishNode=function(e,r){return e.type=r,e.end=this.last.end,this.options.locations&&(e.loc.end=this.last.loc.end),this.options.ranges&&(e.range[1]=this.last.end),e};pe.prototype.dummyNode=function(e){var r=this.startNode();return r.type=e,r.end=r.start,this.options.locations&&(r.loc.end=r.loc.start),this.options.ranges&&(r.range[1]=r.start),this.last={type:l.name,start:r.start,end:r.start,loc:r.loc},r};pe.prototype.dummyIdent=function(){var e=this.dummyNode("Identifier");return e.name=Ki,e};pe.prototype.dummyString=function(){var e=this.dummyNode("Literal");return e.value=e.raw=Ki,e};pe.prototype.eat=function(e){return this.tok.type===e?(this.next(),!0):!1};pe.prototype.isContextual=function(e){return this.tok.type===l.name&&this.tok.value===e};pe.prototype.eatContextual=function(e){return this.tok.value===e&&this.
`),cooked:this.tok.value},this.next(),t.tail=this.tok.type===l.backQuote,this.finishNode(t,"TemplateElement")};fe.parseTemplate=function(){var t=this.startNode();this.next(),t.expressions=[];var e=this.parseTemplateElement();for(t.quasis=[e];!e.tail;)this.next(),t.expressions.push(this.parseExpression()),this.expect(l.braceR)?e=this.parseTemplateElement():(e=this.startNode(),e.value={cooked:"",raw:""},e.tail=!0,this.finishNode(e,"TemplateElement")),t.quasis.push(e);return this.expect(l.backQuote),this.finishNode(t,"TemplateLiteral")};fe.parseObj=function(){var t=this.startNode();t.properties=[],this.pushCx();var e=this.curIndent+1,r=this.curLineStart;for(this.eat(l.braceL),this.curIndent+1<e&&(e=this.curIndent,r=this.curLineStart);!this.closes(l.braceR,e,r);){var i=this.startNode(),n=void 0,s=void 0,a=void 0;if(this.options.ecmaVersion>=9&&this.eat(l.ellipsis)){i.argument=this.parseMaybeAssign(),t.properties.push(this.finishNode(i,"SpreadElement")),this.eat(l.comma);continue}if(this.options.ecmaVersion>=6&&(a=this.storeCurrentPos(),i.method=!1,i.shorthand=!1,n=this.eat(l.star)),this.parsePropertyName(i),this.toks.isAsyncProp(i)?(s=!0,n=this.options.ecmaVersion>=9&&this.eat(l.star),this.parsePropertyName(i)):s=!1,Tt(i.key)){Tt(this.parseMaybeAssign())&&this.next(),this.eat(l.comma);continue}if(this.eat(l.colon))i.kind="init",i.value=this.parseMaybeAssign();else if(this.options.ecmaVersion>=6&&(this.tok.type===l.parenL||this.tok.type===l.braceL))i.kind="init",i.method=!0,i.value=this.parseMethod(n,s);else if(this.options.ecmaVersion>=5&&i.key.type==="Identifier"&&!i.computed&&(i.key.name==="get"||i.key.name==="set")&&this.tok.type!==l.comma&&this.tok.type!==l.braceR&&this.tok.type!==l.eq)i.kind=i.key.name,this.parsePropertyName(i),i.value=this.parseMethod(!1);else{if(i.kind="init",this.options.ecmaVersion>=6)if(this.eat(l.eq)){var u=this.startNodeAt(a);u.operator="=",u.left=i.key,u.right=this.parseMaybeAssign(),i.value=this.finishNode(u,"AssignmentExpression")}else i.value=i.key;else i.value=this.dummyIdent();i.shorthand=!0}t.properties.push(this.finishNode(i,"Property")),this.eat(l.comma)}return this.popCx(),this.eat(l.braceR)||(this.last.end=this.tok.start,this.options.locations&&(this.last.loc.end=this.tok.loc.start)),this.finishNode(t,"ObjectExpression")};fe.parsePropertyName=function(t){if(this.options.ecmaVersion>=6)if(this.eat(l.bracketL)){t.computed=!0,t.key=this.parseExpression(),this.expect(l.bracketR);return}else t.computed=!1;var e=this.tok.type===l.num||this.tok.type===l.string?this.parseExprAtom():this.parseIdent();t.key=e||this.dummyIdent()};fe.parsePropertyAccessor=function(){if(this.tok.type===l.name||this.tok.type.keyword)return this.parseIdent();if(this.tok.type===l.privateId)return this.parsePrivateIdent()};fe.parseIdent=function(){var t=this.tok.type===l.name?this.tok.value:this.tok.type.keyword;if(!t)return this.dummyIdent();var e=this.startNode();return this.next(),e.name=t,this.finishNode(e,"Identifier")};fe.parsePrivateIdent=function(){var t=this.startNode();return t.name=this.tok.value,this.next(),this.finishNode(t,"PrivateIdentifier")};fe.initFunction=function(t){t.id=null,t.params=[],this.options.ecmaVersion>=6&&(t.generator=!1,t.expression=!1),this.options.ecmaVersion>=8&&(t.async=!1)};fe.toAssignable=function(t,e){if(!(!t||t.type==="Identifier"||t.type==="MemberExpression"&&!e))if(t.type==="ParenthesizedExpression")this.toAssignable(t.expression,e);else{if(this.options.ecmaVersion<6)return this.dummyIdent();if(t.type==="ObjectExpression"){t.type="ObjectPattern";for(var r=0,i=t.properties;r<i.length;r+=1){var n=i[r];this.toAssignable(n,e)}}else if(t.type==="ArrayExpression")t.type="ArrayPattern",this.toAssignableList(t.elements,e);else if(t.type==="Property")this.toAssignable(t.value,e);else if(t.type==="SpreadElement")t.type="RestElement",this.toAssignable(t.argument,e);else if(t.type==="AssignmentExpression")t.type="AssignmentPattern",delete t.operator;else return this.dummyIdent()}return t};fe.toAssignableList=function(t,e){for(var r=0,i=t;r<i.length;r+=1){var n=i[r];this.toAssignable(n,e)}
//!
//! Copyright (C) 2012-2020 by various contributors (see AUTHORS)
//!
//! Permission is hereby granted, free of charge, to any person obtaining a copy
//! of this software and associated documentation files (the "Software"), to deal
//! in the Software without restriction, including without limitation the rights
//! to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
//! copies of the Software, and to permit persons to whom the Software is
//! furnished to do so, subject to the following conditions:
//!
//! The above copyright notice and this permission notice shall be included in
//! all copies or substantial portions of the Software.
//!
//! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
//! IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
//! FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
//! AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
//! LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
//! OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
//! THE SOFTWARE.
//!
//! ^ https://github.com/acornjs/acorn/blob/49ac049201/AUTHORS
//! ^ https://github.com/acornjs/acorn/blob/49ac049201/acorn-walk/src/index.js
function V(t,e,r,i,n){let s=[],a=r||N;return function u(c,m,d){let E=d||c.type,y=e[E],x=c!==s[s.length-1];if(x&&s.push(c),a[E](c,m,u),y)try{y(c,m||s,s)}catch(b){console.error(`Caught an error while attempting to run AST visitor!
node =`,c,`
err =`,b)}x&&s.pop()}(t,i,n),t}var Va=class{constructor(e){this.node=e}};function Zt(t,e,r,i){let n=i||N,s=e[0],a=e[1];try{(function u(c,m,d){let E=d||c.type;if((s==null||c.start<=s)&&(a==null||c.end>=a)&&n[E](c,{},u),(s==null||c.start===s)&&(a==null||c.end===a)&&c.type===r)throw new Va(c)})(t)}catch(u){if(u instanceof Va)return u.node;throw u}}function Tf(t){return t.type==="PrivateIdentifier"}function ve(t){return t.type==="Literal"}function be(t){return ve(t)&&typeof t.value=="string"}function ue(t){return ve(t)&&typeof t.value=="number"}function yt(t){return ve(t)&&typeof t.value=="boolean"}function it(t){return t.type==="UnaryExpression"}function Be(t){return it(t)&&ue(t.argument)}function Ve(t){return t.type==="ExpressionStatement"}function _t(t){return t.type==="SequenceExpression"}function ke(t){return t.type==="AssignmentExpression"}function Qe(t){return t.type==="ReturnStatement"}function Ie(t){return t.type==="VariableDeclaration"}function $r(t){return t.type==="ArrayExpression"}function G(t){return t.type==="Identifier"}function Pf(t){return t.type==="ArrowFunctionExpression"}function ze(t){return t.type==="FunctionExpression"}function Of(t){return t.type==="UpdateExpression"}function Ge(t){return t.type==="CallExpression"}function de(t){return t.type==="BlockStatement"}function gr(t){return t.type==="SwitchStatement"}function $e(t){return t.type==="BinaryExpression"}function gt(t){return t.type==="MemberExpression"}function er(t){return t.type==="IfStatement"}function Lf(t){return t.type==="ForStatement"}function Rf(t){return t.type==="ObjectExpression"}function Mf(t){return t.type==="LogicalExpression"}function nt(t){return JSON.parse(JSON.stringify(t))}function Vf(t){if(!ve(t)&&!G(t))throw new TypeError("Node is not Literal or Identifier");return ve(t)?t.value.toString():t.name}function xt(t){return t.filter(e=>e.type!=="EmptyStatement")}var Mn=class extends me{constructor(e){super("ControlFlow",e);this.findStorageNodeAliases=(e,r)=>(V(r,{BlockStatement:i=>{if(i.body.length===0)return;let n=this.getStorageNode(e,i);!n||V(i,{VariableDeclaration(s){let a=[];for(let u of s.declarations)!u.init||!G(u.id)||!G(u.init)||n.aliases.includes(u.init.name)&&(n.aliases.push(u.id.name),a.push(`${u.start}!${u.end}`));s.declarations=s.declarations.filter(u=>!a.includes(`${u.start}!${u.end}`)),s.declarations.length===0&&(s.type="EmptyStatement")}})}}),this);this.replacer=(e,r)=>{let{translateCallExp:i}=this;return V(r,{BlockStatement:n=>{let s=this.getStorageNode(e,n);!s||V(n,{MemberExpression(a){if(!G(a.object)||!G(a.property)||!s.aliases.includes(a.object.name))return;let u=a.property.name,c=-1;(c=s.literals.findIndex(m=>m.identifier===u))!==-1&&H(a,{type:"Literal",value:s.literals[c].value})},CallExpression(a){if(!gt(a.callee)||!G(a.callee.object)||!G(a.callee.property)||!s.aliases.includes(a.callee.object.name))return;let u=a.callee.property.name,c=-1;if((c=s.functions.findIndex(m=>m.identifier===u))!==-1){let m=s.functions[c].node;H(a,i(m,a))}}})}}),this}}translateCallExp(e,r){if(!Qe(e.body.body[0]))throw new TypeError("Function in CFSN was invalid (not a returnstatement)");if(!e.params.every(u=>G(u)))throw new TypeError("Function in CFSN was invalid (not ident params)");if(!e.body.body[0].argument)throw new TypeError("Function in CFSN was invalid (void return)");let i=e.params,n=new Map,s=0;for(let u of i)n.set(u.name,r.arguments[s]),++s;let a=nt(e.body.body[0].argument);return V(a,{Identifier(u){let c=n.get(u.name);!c||H(u,c)}}),a}getStorageNode(e,r){let i=Ra(r);return e.controlFlowStorageNodes.get(i)}populateEmptyObjects(e){return V(e.ast,{BlockStatement(r){V(r,{VariableDeclarator(i){if(!G(i.id)||!i.init||!Rf(i.init)||i.init.properties.length!==0)return;let n=i.id.name;V(r,{ExpressionStatement(s){if(!ke(s.expression))return;let a=s.expression;if(!gt(a.left)||!G(a.left.object)||!G(a.left.property)||a.left.object.name!==n)return;let u={type:"Property",start:0,end:0,method:!1,shorthand:!1,computed:!1,key:a.left.property,value:a.right,kind:"init"};i.init.properties.push(u),s.type="EmptyStatement",e.log(`${n}.${a.left.