index.js
324 KB
module.exports=(()=>{var __webpack_modules__={6654:e=>{function parse(e){let t=0,i=0,n,r;let s={},a=e.split("&");for(;t<a.length;t++){i=a[t].indexOf("=");r=!!~i&&a[t].substring(i+1)||"";n=!!~i?a[t].substring(0,i):a[t];s[n]=s[n]!==void 0?[].concat(s[n],r):r}return s}e.exports=function(e,t){let i=e.url;if(i==null)return;let n=e._parsedUrl;if(n&&n._raw===i)return n;n={path:i,pathname:i,search:null,query:null,href:i,_raw:i};if(i.length>1){if(t&&!e._decoded&&!!~i.indexOf("%",1)){let t=i;try{t=decodeURIComponent(i)}catch(e){}i=e.url=n.href=n.path=n.pathname=n._raw=t;e._decoded=true}let r=i.indexOf("?",1);if(r!==-1){n.search=i.substring(r);n.query=n.search.substring(1);n.pathname=i.substring(0,r);if(t&&n.query.length>0){n.query=parse(n.query)}}}return e._parsedUrl=n}},8390:function(e,t){(function(e,i){true?i(t):0})(this,function(e){"use strict";function simple(e,t,n,r,s){if(!n){n=i}(function c(e,i,r){var s=r||e.type,a=t[s];n[s](e,i,c);if(a){a(e,i)}})(e,r,s)}function ancestor(e,t,n,r,s){var a=[];if(!n){n=i}(function c(e,i,r){var s=r||e.type,o=t[s];var l=e!==a[a.length-1];if(l){a.push(e)}n[s](e,i,c);if(o){o(e,i||a,a)}if(l){a.pop()}})(e,r,s)}function recursive(e,t,i,n,r){var s=i?make(i,n||undefined):n;(function c(e,t,i){s[i||e.type](e,t,c)})(e,t,r)}function makeTest(e){if(typeof e==="string"){return function(t){return t===e}}else if(!e){return function(){return true}}else{return e}}var t=function Found(e,t){this.node=e;this.state=t};function full(e,t,n,r,s){if(!n){n=i}var a;(function c(e,i,r){var s=r||e.type;n[s](e,i,c);if(a!==e){t(e,i,s);a=e}})(e,r,s)}function fullAncestor(e,t,n,r){if(!n){n=i}var s=[],a;(function c(e,i,r){var o=r||e.type;var l=e!==s[s.length-1];if(l){s.push(e)}n[o](e,i,c);if(a!==e){t(e,i||s,s,o);a=e}if(l){s.pop()}})(e,r)}function findNodeAt(e,n,r,s,a,o){if(!a){a=i}s=makeTest(s);try{(function c(e,i,o){var l=o||e.type;if((n==null||e.start<=n)&&(r==null||e.end>=r)){a[l](e,i,c)}if((n==null||e.start===n)&&(r==null||e.end===r)&&s(l,e)){throw new t(e,i)}})(e,o)}catch(e){if(e instanceof t){return e}throw e}}function findNodeAround(e,n,r,s,a){r=makeTest(r);if(!s){s=i}try{(function c(e,i,a){var o=a||e.type;if(e.start>n||e.end<n){return}s[o](e,i,c);if(r(o,e)){throw new t(e,i)}})(e,a)}catch(e){if(e instanceof t){return e}throw e}}function findNodeAfter(e,n,r,s,a){r=makeTest(r);if(!s){s=i}try{(function c(e,i,a){if(e.end<n){return}var o=a||e.type;if(e.start>=n&&r(o,e)){throw new t(e,i)}s[o](e,i,c)})(e,a)}catch(e){if(e instanceof t){return e}throw e}}function findNodeBefore(e,n,r,s,a){r=makeTest(r);if(!s){s=i}var o;(function c(e,i,a){if(e.start>n){return}var l=a||e.type;if(e.end<=n&&(!o||o.node.end<e.end)&&r(l,e)){o=new t(e,i)}s[l](e,i,c)})(e,a);return o}function make(e,t){var n=Object.create(t||i);for(var r in e){n[r]=e[r]}return n}function skipThrough(e,t,i){i(e,t)}function ignore(e,t,i){}var i={};i.Program=i.BlockStatement=function(e,t,i){for(var n=0,r=e.body;n<r.length;n+=1){var s=r[n];i(s,t,"Statement")}};i.Statement=skipThrough;i.EmptyStatement=ignore;i.ExpressionStatement=i.ParenthesizedExpression=i.ChainExpression=function(e,t,i){return i(e.expression,t,"Expression")};i.IfStatement=function(e,t,i){i(e.test,t,"Expression");i(e.consequent,t,"Statement");if(e.alternate){i(e.alternate,t,"Statement")}};i.LabeledStatement=function(e,t,i){return i(e.body,t,"Statement")};i.BreakStatement=i.ContinueStatement=ignore;i.WithStatement=function(e,t,i){i(e.object,t,"Expression");i(e.body,t,"Statement")};i.SwitchStatement=function(e,t,i){i(e.discriminant,t,"Expression");for(var n=0,r=e.cases;n<r.length;n+=1){var s=r[n];if(s.test){i(s.test,t,"Expression")}for(var a=0,o=s.consequent;a<o.length;a+=1){var c=o[a];i(c,t,"Statement")}}};i.SwitchCase=function(e,t,i){if(e.test){i(e.test,t,"Expression")}for(var n=0,r=e.consequent;n<r.length;n+=1){var s=r[n];i(s,t,"Statement")}};i.ReturnStatement=i.YieldExpression=i.AwaitExpression=function(e,t,i){if(e.argument){i(e.argument,t,"Expression")}};i.ThrowStatement=i.SpreadElement=function(e,t,i){return i(e.argument,t,"Expression")};i.TryStatement=function(e,t,i){i(e.block,t,"Statement");if(e.handler){i(e.handler,t)}if(e.finalizer){i(e.finalizer,t,"Statement")}};i.CatchClause=function(e,t,i){if(e.param){i(e.param,t,"Pattern")}i(e.body,t,"Statement")};i.WhileStatement=i.DoWhileStatement=function(e,t,i){i(e.test,t,"Expression");i(e.body,t,"Statement")};i.ForStatement=function(e,t,i){if(e.init){i(e.init,t,"ForInit")}if(e.test){i(e.test,t,"Expression")}if(e.update){i(e.update,t,"Expression")}i(e.body,t,"Statement")};i.ForInStatement=i.ForOfStatement=function(e,t,i){i(e.left,t,"ForInit");i(e.right,t,"Expression");i(e.body,t,"Statement")};i.ForInit=function(e,t,i){if(e.type==="VariableDeclaration"){i(e,t)}else{i(e,t,"Expression")}};i.DebuggerStatement=ignore;i.FunctionDeclaration=function(e,t,i){return i(e,t,"Function")};i.VariableDeclaration=function(e,t,i){for(var n=0,r=e.declarations;n<r.length;n+=1){var s=r[n];i(s,t)}};i.VariableDeclarator=function(e,t,i){i(e.id,t,"Pattern");if(e.init){i(e.init,t,"Expression")}};i.Function=function(e,t,i){if(e.id){i(e.id,t,"Pattern")}for(var n=0,r=e.params;n<r.length;n+=1){var s=r[n];i(s,t,"Pattern")}i(e.body,t,e.expression?"Expression":"Statement")};i.Pattern=function(e,t,i){if(e.type==="Identifier"){i(e,t,"VariablePattern")}else if(e.type==="MemberExpression"){i(e,t,"MemberPattern")}else{i(e,t)}};i.VariablePattern=ignore;i.MemberPattern=skipThrough;i.RestElement=function(e,t,i){return i(e.argument,t,"Pattern")};i.ArrayPattern=function(e,t,i){for(var n=0,r=e.elements;n<r.length;n+=1){var s=r[n];if(s){i(s,t,"Pattern")}}};i.ObjectPattern=function(e,t,i){for(var n=0,r=e.properties;n<r.length;n+=1){var s=r[n];if(s.type==="Property"){if(s.computed){i(s.key,t,"Expression")}i(s.value,t,"Pattern")}else if(s.type==="RestElement"){i(s.argument,t,"Pattern")}}};i.Expression=skipThrough;i.ThisExpression=i.Super=i.MetaProperty=ignore;i.ArrayExpression=function(e,t,i){for(var n=0,r=e.elements;n<r.length;n+=1){var s=r[n];if(s){i(s,t,"Expression")}}};i.ObjectExpression=function(e,t,i){for(var n=0,r=e.properties;n<r.length;n+=1){var s=r[n];i(s,t)}};i.FunctionExpression=i.ArrowFunctionExpression=i.FunctionDeclaration;i.SequenceExpression=function(e,t,i){for(var n=0,r=e.expressions;n<r.length;n+=1){var s=r[n];i(s,t,"Expression")}};i.TemplateLiteral=function(e,t,i){for(var n=0,r=e.quasis;n<r.length;n+=1){var s=r[n];i(s,t)}for(var a=0,o=e.expressions;a<o.length;a+=1){var c=o[a];i(c,t,"Expression")}};i.TemplateElement=ignore;i.UnaryExpression=i.UpdateExpression=function(e,t,i){i(e.argument,t,"Expression")};i.BinaryExpression=i.LogicalExpression=function(e,t,i){i(e.left,t,"Expression");i(e.right,t,"Expression")};i.AssignmentExpression=i.AssignmentPattern=function(e,t,i){i(e.left,t,"Pattern");i(e.right,t,"Expression")};i.ConditionalExpression=function(e,t,i){i(e.test,t,"Expression");i(e.consequent,t,"Expression");i(e.alternate,t,"Expression")};i.NewExpression=i.CallExpression=function(e,t,i){i(e.callee,t,"Expression");if(e.arguments){for(var n=0,r=e.arguments;n<r.length;n+=1){var s=r[n];i(s,t,"Expression")}}};i.MemberExpression=function(e,t,i){i(e.object,t,"Expression");if(e.computed){i(e.property,t,"Expression")}};i.ExportNamedDeclaration=i.ExportDefaultDeclaration=function(e,t,i){if(e.declaration){i(e.declaration,t,e.type==="ExportNamedDeclaration"||e.declaration.id?"Statement":"Expression")}if(e.source){i(e.source,t,"Expression")}};i.ExportAllDeclaration=function(e,t,i){if(e.exported){i(e.exported,t)}i(e.source,t,"Expression")};i.ImportDeclaration=function(e,t,i){for(var n=0,r=e.specifiers;n<r.length;n+=1){var s=r[n];i(s,t)}i(e.source,t,"Expression")};i.ImportExpression=function(e,t,i){i(e.source,t,"Expression")};i.ImportSpecifier=i.ImportDefaultSpecifier=i.ImportNamespaceSpecifier=i.Identifier=i.Literal=ignore;i.TaggedTemplateExpression=function(e,t,i){i(e.tag,t,"Expression");i(e.quasi,t,"Expression")};i.ClassDeclaration=i.ClassExpression=function(e,t,i){return i(e,t,"Class")};i.Class=function(e,t,i){if(e.id){i(e.id,t,"Pattern")}if(e.superClass){i(e.superClass,t,"Expression")}i(e.body,t)};i.ClassBody=function(e,t,i){for(var n=0,r=e.body;n<r.length;n+=1){var s=r[n];i(s,t)}};i.MethodDefinition=i.Property=function(e,t,i){if(e.computed){i(e.key,t,"Expression")}i(e.value,t,"Expression")};e.ancestor=ancestor;e.base=i;e.findNodeAfter=findNodeAfter;e.findNodeAround=findNodeAround;e.findNodeAt=findNodeAt;e.findNodeBefore=findNodeBefore;e.full=full;e.fullAncestor=fullAncestor;e.make=make;e.recursive=recursive;e.simple=simple;Object.defineProperty(e,"__esModule",{value:true})})},1919:(e,t,i)=>{"use strict";const n=i(1940);const r=i(4731);const s=i(1669);s.inherits(DataStream,r);e.exports=DataStream;function DataStream(e,t){if(n.not.instanceStrict(this,DataStream)){return new DataStream(e,t)}return r.call(this,e,Object.assign({objectMode:true},t))}},9751:e=>{"use strict";e.exports={create:create};function create(e,t,i,n){const r=new Error("JSON error: encountered `"+e+"` at line "+i+", column "+n+" where `"+t+"` was expected.");r.actual=e;r.expected=t;r.lineNumber=i;r.columnNumber=n;return r}},1554:(e,t,i)=>{"use strict";const n=i(1940);const r=i(8614).EventEmitter;const s=i(9790);const a=i(1645);const o={undefined:true,function:true,symbol:true};e.exports=eventify;function eventify(e,t={}){const i={};const c=new r;const l=a(t);const u=new Map;let h=0;let f=false;let p;let d;let m;let _;c.pause=(()=>{let e;m=new l(t=>e=t);return()=>{m=null;h=0;e()}});parseOptions();setImmediate(begin);return c;function parseOptions(){parseCoercionOption("promises");parseCoercionOption("buffers");parseCoercionOption("maps");parseCoercionOption("iterables");if(Object.keys(i).length===0){f=true}if(t.circular==="ignore"){p=true}n.assert.maybe.positive(t.yieldRate);_=t.yieldRate||16384}function parseCoercionOption(e){if(t[e]!=="ignore"){i[e]=true}}function begin(){return proceed(e).catch(e=>emit(s.error,e)).then(()=>emit(s.end))}function proceed(e){if(++h%_!==0){return coerce(e).then(after)}return new l((t,i)=>{setImmediate(()=>{coerce(e).then(after).then(t).catch(i)})});function after(e){if(isInvalid(e)){return}if(e===false||e===true||e===null){return literal(e)}if(Array.isArray(e)){return array(e)}const t=typeof e;switch(t){case"number":return value(e,t);case"string":return value(escapeString(e),t);default:return object(e)}}}function coerce(e){if(f||n.primitive(e)){return l.resolve(e)}if(n.instanceStrict(e,l)){return coerceThing(e,"promises",coercePromise).then(coerce)}if(n.instanceStrict(e,Buffer)){return coerceThing(e,"buffers",coerceBuffer)}if(n.instanceStrict(e,Map)){return coerceThing(e,"maps",coerceMap)}if(n.iterable(e)&&n.not.string(e)&&n.not.array(e)){return coerceThing(e,"iterables",coerceIterable)}if(n.function(e.toJSON)){return l.resolve(e.toJSON())}return l.resolve(e)}function coerceThing(e,t,n){if(i[t]){return n(e)}return l.resolve()}function coercePromise(e){return e}function coerceBuffer(e){return l.resolve(e.toString())}function coerceMap(e){const t={};return coerceCollection(e,t,(e,i)=>{t[i]=e})}function coerceCollection(e,t,i){e.forEach(i);return l.resolve(t)}function coerceIterable(e){const t=[];return coerceCollection(e,t,e=>{t.push(e)})}function isInvalid(e){const t=typeof e;return!!o[t]||t==="number"&&!isValidNumber(e)}function isValidNumber(e){return e>Number.NEGATIVE_INFINITY&&e<Number.POSITIVE_INFINITY}function literal(e){return value(e,"literal")}function value(e,t){return emit(s[t],e)}function emit(e,t){return(m||l.resolve()).then(()=>c.emit(e,t)).catch(e=>{try{c.emit(s.error,e)}catch(e){}})}function array(e){return collection(e,e,"array",e=>{if(isInvalid(e)){return proceed(null)}return proceed(e)})}function collection(e,t,i,n){let r;return l.resolve().then(()=>{if(u.has(e)){r=d=true;if(!p){return emit(s.dataError,new Error("Circular reference."))}}else{u.set(e,true)}}).then(()=>emit(s[i])).then(()=>item(0));function item(a){if(a>=t.length){if(r){d=false}if(d){return l.resolve()}return emit(s.endPrefix+s[i]).then(()=>u.delete(e))}if(d){return item(a+1)}return n(t[a]).then(()=>item(a+1))}}function object(e){return collection(e,Object.keys(e),"object",t=>{const i=e[t];if(isInvalid(i)){return l.resolve()}return emit(s.property,escapeString(t)).then(()=>proceed(i))})}function escapeString(e){e=JSON.stringify(e);return e.substring(1,e.length-1)}}},9790:e=>{"use strict";e.exports={array:"arr",object:"obj",property:"pro",string:"str",number:"num",literal:"lit",endPrefix:"end-",end:"end",error:"err"};e.exports.endArray=e.exports.endPrefix+e.exports.array;e.exports.endObject=e.exports.endPrefix+e.exports.object;e.exports.endLine=`${e.exports.endPrefix}line`;e.exports.dataError=`${e.exports.error}-data`},9895:(e,t,i)=>{"use strict";e.exports={walk:i(3320),match:i(5753),parse:i(8423),unpipe:i(7613),read:i(6794),eventify:i(1554),streamify:i(3061),stringify:i(8469),write:i(7066),events:i(9790)}},9057:(e,t,i)=>{"use strict";const n=i(1940);const r=i(4731);const s=i(1669);s.inherits(JsonStream,r);e.exports=JsonStream;function JsonStream(e,t){if(n.not.instanceStrict(this,JsonStream)){return new JsonStream(e,t)}return r.call(this,e,Object.assign({encoding:"utf8"},t))}},5753:(e,t,i)=>{"use strict";const n=i(1940);const r=i(1919);const s=i(9790);const a=i(3854);const o=i(3320);const c=1024;e.exports=match;function match(e,t,i={}){const l=[];const u=[];const h=o(e,i);const f=new a(i.bufferLength||c);let p;const{highWaterMark:d}=i;if(d){p={highWaterMark:d}}const m=new r(read,p);let _,g,v;let y=false;let x=true;let b=false;let w=0;let S=0;if(n.function(t)){_=t;t=null}else{y=!!i.numbers;if(n.string(t)){n.assert.nonEmptyString(t);g=t;t=null}else{n.assert.instanceStrict(t,RegExp)}}h.on(s.array,array);h.on(s.object,object);h.on(s.property,property);h.on(s.endArray,endScope);h.on(s.endObject,endScope);h.on(s.string,value);h.on(s.number,value);h.on(s.literal,value);h.on(s.end,end);h.on(s.error,error);h.on(s.dataError,dataError);return m;function read(){if(x){x=false;if(b){if(w>0){after()}return endResults()}}if(v){const e=v;v=null;e();after()}}function after(){if(x||v){return}let e;for(e=0;e<w&&!v;++e){if(!m.push(f[e+S])){pause()}}if(e===w){S=w=0}else{w-=e;S+=e}}function pause(){v=h.pause()}function endResults(){if(!x){m.push(null)}}function array(){l.push([])}function object(){l.push({})}function property(e){u.push(e)}function endScope(){value(l.pop())}function value(e){let i;if(l.length>0){const t=l[l.length-1];if(Array.isArray(t)){i=t.length}else{i=u.pop()}t[i]=e}if(e===null){return}if(_){if(_(i,e,l.length)){push(e)}}else{if(y&&typeof i==="number"){i=i.toString()}if(g&&g===i||t&&t.test(i)){push(e)}}}function push(e){if(w+1===f.length){pause()}f[S+w++]=e;after()}function end(){b=true;endResults()}function error(e){m.emit("error",e)}function dataError(e){m.emit("dataError",e)}}},8423:(e,t,i)=>{"use strict";const n=i(1940);const r=i(9790);const s=i(1645);const a=i(3320);e.exports=parse;const o=new Map;function parse(e,t={}){const i=s(t);try{n.assert.maybe.function(t.reviver,"Invalid reviver option")}catch(e){return i.reject(e)}const c=[];const l=[];const u=t.reviver;const h=!!t.ndjson;let f,p,d,m;if(h&&o.has(e)){const t=o.get(e);o.delete(e);f=t.emitter;setImmediate(t.resume)}else{f=a(e,t)}f.on(r.array,array);f.on(r.object,object);f.on(r.property,property);f.on(r.string,value);f.on(r.number,value);f.on(r.literal,value);f.on(r.endArray,endScope);f.on(r.endObject,endScope);f.on(r.end,end);f.on(r.error,error);f.on(r.dataError,error);if(h){f.on(r.endLine,endLine)}return new i((e,t)=>{p=e;d=t});function array(){if(c.length>0){return}beginScope([])}function beginScope(e){if(c.length>0){return}if(l.length>0){value(e)}l.push(e)}function value(e){if(c.length>0){return}if(l.length===0){return l.push(e)}const t=l[l.length-1];if(m){t[m]=e;m=null}else{t.push(e)}}function object(){if(c.length>0){return}beginScope({})}function property(e){if(c.length>0){return}m=e}function endScope(){if(c.length>0){return}if(l.length>1){l.pop()}}function end(){if(h){const t=f.pause();f.removeAllListeners();o.set(e,{emitter:f,resume:t})}if(c.length>0){return d(c[0])}if(u){l[0]=transform(l[0],"")}p(l[0])}function transform(e,t){if(e&&typeof e==="object"){Object.keys(e).forEach(t=>{e[t]=transform(e[t],t)})}return u(t,e)}function error(e){c.push(e)}function endLine(){if(l.length>0){end()}}}},1645:(e,t,i)=>{"use strict";e.exports=((e={})=>e.Promise||i(8710))},6794:(e,t,i)=>{"use strict";const n=i(5747);const r=i(8423);e.exports=read;function read(e,t){return r(n.createReadStream(e,t),Object.assign({},t,{ndjson:false}))}},4731:(e,t,i)=>{"use strict";const n=i(1669);const r=i(2413).Readable;const s=i(1940);n.inherits(BfjStream,r);e.exports=BfjStream;function BfjStream(e,t){if(s.not.instanceStrict(this,BfjStream)){return new BfjStream(e)}s.assert.function(e,"Invalid read implementation");this._read=function(){e()};return r.call(this,t)}},3061:(e,t,i)=>{"use strict";const n=i(1940);const r=i(1554);const s=i(9790);const a=i(9057);const o=i(3854);const c=i(1645);const l=i(8683);const u=1024;e.exports=streamify;function streamify(e,t={}){const i=r(e,t);const n=new o(t.bufferLength||u);const h=c(t);const f=normaliseSpace(t);let p;const{highWaterMark:d}=t;if(d){p={highWaterMark:d}}const m=new a(read,p);let _=true;let g=0;let v="";let y;let x=false;let b;let w=0;let S=h.resolve();let k;i.on(s.array,noRacing(array));i.on(s.object,noRacing(object));i.on(s.property,noRacing(property));i.on(s.string,noRacing(string));i.on(s.number,noRacing(value));i.on(s.literal,noRacing(value));i.on(s.endArray,noRacing(endArray));i.on(s.endObject,noRacing(endObject));i.on(s.end,noRacing(end));i.on(s.error,noRacing(error));i.on(s.dataError,noRacing(dataError));return m;function read(){if(_){_=false;if(y){if(w>0){after()}return endStream()}}if(x){after()}}function after(){if(_){return}let e;for(e=0;e<w&&!_;++e){if(!m.push(n[e+g],"utf8")){_=true}}if(e===w){g=w=0}else{w-=e;g+=e}}function endStream(){if(!_){m.push(null)}}function noRacing(e){return t=>S=S.then(()=>e(t))}function array(){return beforeScope().then(()=>addJson("[")).then(()=>afterScope())}function beforeScope(){return before(true)}function before(e){if(b){b=false;if(f){return addJson(" ")}return h.resolve()}return h.resolve().then(()=>{if(k){if(e){k=false}return addJson(",")}if(!e){k=true}}).then(()=>{if(f&&v){return indent()}})}function addJson(e){if(w+1<=n.length){n[g+w++]=e;after();return h.resolve()}x=true;return new h(t=>{const r=i.pause();l({interval:-10,until(){return w+1<=n.length},pass(){x=false;n[g+w++]=e;t();setImmediate(r)}})})}function indent(){return addJson(`\n${v}`)}function afterScope(){k=false;if(f){v+=f}}function object(){return beforeScope().then(()=>addJson("{")).then(()=>afterScope())}function property(e){return before().then(()=>addJson(`"${e}":`)).then(()=>{b=true})}function string(e){return value(`"${e}"`)}function value(e){return before().then(()=>addJson(`${e}`))}function endArray(){return beforeScopeEnd().then(()=>addJson("]")).then(()=>afterScopeEnd())}function beforeScopeEnd(){if(f){v=v.substr(f.length);return indent()}return h.resolve()}function afterScopeEnd(){k=true}function endObject(){return beforeScopeEnd().then(()=>addJson("}")).then(()=>afterScopeEnd())}function end(){after();y=true;endStream()}function error(e){m.emit("error",e)}function dataError(e){m.emit("dataError",e)}}function normaliseSpace(e){if(n.positive(e.space)){return new Array(e.space+1).join(" ")}if(n.nonEmptyString(e.space)){return e.space}}},8469:(e,t,i)=>{"use strict";const n=i(1645);const r=i(3061);e.exports=stringify;function stringify(e,t){const i=[];const s=n(t);const a=r(e,t);let o,c;a.on("data",read);a.on("end",end);a.on("error",error);a.on("dataError",error);return new s((e,t)=>{o=e;c=t});function read(e){i.push(e)}function end(){o(i.join(""))}function error(e){c(e)}}},7613:(e,t,i)=>{"use strict";const n=i(2413);const r=i(1940);const s=i(8423);e.exports=unpipe;function unpipe(e,t){r.assert.function(e,"Invalid callback argument");const i=new n.PassThrough;s(i,Object.assign({},t,{ndjson:false})).then(t=>e(null,t)).catch(t=>e(t));return i}},3320:(e,t,i)=>{"use strict";const n=i(1940);const r=i(9751);const s=i(8614).EventEmitter;const a=i(9790);const o=i(1645);const c={obj:"}",arr:"]"};const l={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};e.exports=initialise;function initialise(e,t={}){n.assert.instanceStrict(e,i(2413).Readable,"Invalid stream argument");const u={line:1,column:1};const h=new s;const f={arr:value,obj:property};const p=[];const d=[];const m={};const _=o(t);const g=[];const v=t.yieldRate||16384;const y=!!t.ndjson;let x=0;let b=false;let w=false;let S=false;let k=false;let C=true;let E=0;let A;let P;let T;e.setEncoding("utf8");e.on("data",readStream);e.on("end",endStream);e.on("error",e=>{h.emit(a.error,e);endStream()});h.pause=(()=>{let e;P=new _(t=>e=t);return()=>{P=null;E=0;if(y&&b&&S){emit(a.end)}else{e()}}});return h;function readStream(e){addChunk(e);if(w){return resume()}w=true;value()}function addChunk(e){p.push(e);const t=e.length;d.push({item:t,aggregate:length()+t})}function length(){const e=d.length;if(e===0){return 0}return d[e-1].aggregate}function value(){if(++E%v!==0){return _do()}return new _(e=>{setImmediate(()=>_do().then(e))});function _do(){return awaitNonWhitespace().then(next).then(handleValue).catch(()=>{})}}function awaitNonWhitespace(){return wait();function wait(){return awaitCharacter().then(step)}function step(){if(isWhitespace(character())){return next().then(wait)}}}function awaitCharacter(){let e,t;if(x<length()){return _.resolve()}if(b){setImmediate(endWalk);return _.reject()}A=after;return new _((i,n)=>{e=i;t=n});function after(){if(x<length()){return e()}t();if(b){setImmediate(endWalk)}}}function character(){if(T){return T}if(d[0].item>x){return T=p[0][x]}const e=d.length;for(let t=1;t<e;++t){const{aggregate:e,item:i}=d[t];if(e>x){return T=p[t][x+i-e]}}}function isWhitespace(e){switch(e){case"\n":if(y&&g.length===0){return false}case" ":case"\t":case"\r":return true}return false}function next(){return awaitCharacter().then(after);function after(){const e=character();T=null;x+=1;m.line=u.line;m.column=u.column;if(e==="\n"){u.line+=1;u.column=1}else{u.column+=1}if(x>d[0].aggregate){p.shift();const e=d.shift().item;x-=e;d.forEach(t=>t.aggregate-=e)}return e}}function handleValue(e){if(y&&g.length===0){if(e==="\n"){C=true;return emit(a.endLine).then(value)}if(!C){return fail(e,"\n",m).then(value)}C=false}switch(e){case"[":return array();case"{":return object();case'"':return string();case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"-":case".":return number(e);case"f":return literalFalse();case"n":return literalNull();case"t":return literalTrue();default:return fail(e,"value",m).then(value)}}function array(){return scope(a.array,value)}function scope(e,t){return emit(e).then(()=>{g.push(e);return endScope(e)}).then(t)}function emit(...e){return(P||_.resolve()).then(()=>{try{h.emit(...e)}catch(e){try{h.emit(a.error,e)}catch(e){}}})}function endScope(e){return awaitNonWhitespace().then(()=>{if(character()===c[e]){return emit(a.endPrefix+e).then(()=>{g.pop();return next()}).then(endValue)}}).catch(endWalk)}function endValue(){return awaitNonWhitespace().then(after).catch(endWalk);function after(){if(g.length===0){if(y){return value()}return fail(character(),"EOF",u).then(value)}return checkScope()}function checkScope(){const e=g[g.length-1];const t=f[e];return endScope(e).then(()=>{if(g.length>0){return checkCharacter(character(),",",u)}}).then(e=>{if(e){return next()}}).then(t)}}function fail(e,t,i){return emit(a.dataError,r.create(e,t,i.line,i.column))}function checkCharacter(e,t,i){if(e===t){return _.resolve(true)}return fail(e,t,i).then(false)}function object(){return scope(a.object,property)}function property(){return awaitNonWhitespace().then(next).then(propertyName)}function propertyName(e){return checkCharacter(e,'"',m).then(()=>walkString(a.property)).then(awaitNonWhitespace).then(next).then(propertyValue)}function propertyValue(e){return checkCharacter(e,":",m).then(value)}function walkString(e){let t=false;const i=[];k=true;return next().then(step);function step(n){if(t){t=false;return escape(n).then(e=>{i.push(e);return next().then(step)})}if(n==="\\"){t=true;return next().then(step)}if(n!=='"'){i.push(n);return next().then(step)}k=false;return emit(e,i.join(""))}}function escape(e){if(l[e]){return _.resolve(l[e])}if(e==="u"){return escapeHex()}return fail(e,"escape character",m).then(()=>`\\${e}`)}function escapeHex(){let e=[];return next().then(step.bind(null,0));function step(t,i){if(isHexit(i)){e.push(i)}if(t<3){return next().then(step.bind(null,t+1))}e=e.join("");if(e.length===4){return String.fromCharCode(parseInt(e,16))}return fail(i,"hex digit",m).then(()=>`\\u${e}${i}`)}}function string(){return walkString(a.string).then(endValue)}function number(e){let t=[e];return walkDigits().then(addDigits.bind(null,checkDecimalPlace));function addDigits(e,i){t=t.concat(i.digits);if(i.atEnd){return endNumber()}return e()}function checkDecimalPlace(){if(character()==="."){return next().then(e=>{t.push(e);return walkDigits()}).then(addDigits.bind(null,checkExponent))}return checkExponent()}function checkExponent(){if(character()==="e"||character()==="E"){return next().then(e=>{t.push(e);return awaitCharacter()}).then(checkSign).catch(fail.bind(null,"EOF","exponent",u))}return endNumber()}function checkSign(){if(character()==="+"||character()==="-"){return next().then(e=>{t.push(e);return readExponent()})}return readExponent()}function readExponent(){return walkDigits().then(addDigits.bind(null,endNumber))}function endNumber(){return emit(a.number,parseFloat(t.join(""))).then(endValue)}}function walkDigits(){const e=[];return wait();function wait(){return awaitCharacter().then(step).catch(atEnd)}function step(){if(isDigit(character())){return next().then(t=>{e.push(t);return wait()})}return{digits:e,atEnd:false}}function atEnd(){return{digits:e,atEnd:true}}}function literalFalse(){return literal(["a","l","s","e"],false)}function literal(e,t){let i,n,r;return wait();function wait(){return awaitCharacter().then(step).catch(atEnd)}function step(){if(r||e.length===0){return atEnd()}return next().then(afterNext)}function atEnd(){return _.resolve().then(()=>{if(r){return fail(i,n,m)}if(e.length>0){return fail("EOF",e.shift(),u)}return done()}).then(endValue)}function afterNext(t){i=t;n=e.shift();if(i!==n){r=true}return wait()}function done(){return emit(a.literal,t)}}function literalNull(){return literal(["u","l","l"],null)}function literalTrue(){return literal(["r","u","e"],true)}function endStream(){b=true;if(w){return resume()}endWalk()}function resume(){if(A){A();A=null}}function endWalk(){if(S){return _.resolve()}S=true;return _.resolve().then(()=>{if(k){return fail("EOF",'"',u)}}).then(popScopes).then(()=>emit(a.end))}function popScopes(){if(g.length===0){return _.resolve()}return fail("EOF",c[g.pop()],u).then(popScopes)}}function isHexit(e){return isDigit(e)||isInRange(e,"A","F")||isInRange(e,"a","f")}function isDigit(e){return isInRange(e,"0","9")}function isInRange(e,t,i){const n=e.charCodeAt(0);return n>=t.charCodeAt(0)&&n<=i.charCodeAt(0)}},7066:(e,t,i)=>{"use strict";const n=i(5747);const r=i(1645);const s=i(3061);e.exports=write;function write(e,t,i){const a=r(i);return new a((r,a)=>{s(t,i).pipe(n.createWriteStream(e,i)).on("finish",()=>{r()}).on("error",a).on("dataError",a)})}},5490:e=>{"use strict";e.exports=function(e){var t=e._SomePromiseArray;function any(e){var i=new t(e);var n=i.promise();i.setHowMany(1);i.setUnwrap();i.init();return n}e.any=function(e){return any(e)};e.prototype.any=function(){return any(this)}}},8061:(e,t,i)=>{"use strict";var n;try{throw new Error}catch(e){n=e}var r=i(6203);var s=i(878);function Async(){this._customScheduler=false;this._isTickUsed=false;this._lateQueue=new s(16);this._normalQueue=new s(16);this._haveDrainedQueues=false;var e=this;this.drainQueues=function(){e._drainQueues()};this._schedule=r}Async.prototype.setScheduler=function(e){var t=this._schedule;this._schedule=e;this._customScheduler=true;return t};Async.prototype.hasCustomScheduler=function(){return this._customScheduler};Async.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues};Async.prototype.fatalError=function(e,t){if(t){process.stderr.write("Fatal "+(e instanceof Error?e.stack:e)+"\n");process.exit(2)}else{this.throwLater(e)}};Async.prototype.throwLater=function(e,t){if(arguments.length===1){t=e;e=function(){throw t}}if(typeof setTimeout!=="undefined"){setTimeout(function(){e(t)},0)}else try{this._schedule(function(){e(t)})}catch(e){throw new Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}};function AsyncInvokeLater(e,t,i){this._lateQueue.push(e,t,i);this._queueTick()}function AsyncInvoke(e,t,i){this._normalQueue.push(e,t,i);this._queueTick()}function AsyncSettlePromises(e){this._normalQueue._pushOne(e);this._queueTick()}Async.prototype.invokeLater=AsyncInvokeLater;Async.prototype.invoke=AsyncInvoke;Async.prototype.settlePromises=AsyncSettlePromises;function _drainQueue(e){while(e.length()>0){_drainQueueStep(e)}}function _drainQueueStep(e){var t=e.shift();if(typeof t!=="function"){t._settlePromises()}else{var i=e.shift();var n=e.shift();t.call(i,n)}}Async.prototype._drainQueues=function(){_drainQueue(this._normalQueue);this._reset();this._haveDrainedQueues=true;_drainQueue(this._lateQueue)};Async.prototype._queueTick=function(){if(!this._isTickUsed){this._isTickUsed=true;this._schedule(this.drainQueues)}};Async.prototype._reset=function(){this._isTickUsed=false};e.exports=Async;e.exports.firstLineError=n},3767:e=>{"use strict";e.exports=function(e,t,i,n){var r=false;var s=function(e,t){this._reject(t)};var a=function(e,t){t.promiseRejectionQueued=true;t.bindingPromise._then(s,s,null,this,e)};var o=function(e,t){if((this._bitField&50397184)===0){this._resolveCallback(t.target)}};var c=function(e,t){if(!t.promiseRejectionQueued)this._reject(e)};e.prototype.bind=function(s){if(!r){r=true;e.prototype._propagateFrom=n.propagateFromFunction();e.prototype._boundValue=n.boundValueFunction()}var l=i(s);var u=new e(t);u._propagateFrom(this,1);var h=this._target();u._setBoundTo(l);if(l instanceof e){var f={promiseRejectionQueued:false,promise:u,target:h,bindingPromise:l};h._then(t,a,undefined,u,f);l._then(o,c,undefined,u,f);u._setOnCancel(l)}else{u._resolveCallback(h)}return u};e.prototype._setBoundTo=function(e){if(e!==undefined){this._bitField=this._bitField|2097152;this._boundTo=e}else{this._bitField=this._bitField&~2097152}};e.prototype._isBound=function(){return(this._bitField&2097152)===2097152};e.bind=function(t,i){return e.resolve(i).bind(t)}}},8710:(e,t,i)=>{"use strict";var n;if(typeof Promise!=="undefined")n=Promise;function noConflict(){try{if(Promise===r)Promise=n}catch(e){}return r}var r=i(3694)();r.noConflict=noConflict;e.exports=r},924:(e,t,i)=>{"use strict";var n=Object.create;if(n){var r=n(null);var s=n(null);r[" size"]=s[" size"]=0}e.exports=function(e){var t=i(7448);var n=t.canEvaluate;var a=t.isIdentifier;var o;var c;if(true){var l=function(e){return new Function("ensureMethod"," \n return function(obj) { \n 'use strict' \n var len = this.length; \n ensureMethod(obj, 'methodName'); \n switch(len) { \n case 1: return obj.methodName(this[0]); \n case 2: return obj.methodName(this[0], this[1]); \n case 3: return obj.methodName(this[0], this[1], this[2]); \n case 0: return obj.methodName(); \n default: \n return obj.methodName.apply(obj, this); \n } \n }; \n ".replace(/methodName/g,e))(ensureMethod)};var u=function(e){return new Function("obj"," \n 'use strict'; \n return obj.propertyName; \n ".replace("propertyName",e))};var h=function(e,t,i){var n=i[e];if(typeof n!=="function"){if(!a(e)){return null}n=t(e);i[e]=n;i[" size"]++;if(i[" size"]>512){var r=Object.keys(i);for(var s=0;s<256;++s)delete i[r[s]];i[" size"]=r.length-256}}return n};o=function(e){return h(e,l,r)};c=function(e){return h(e,u,s)}}function ensureMethod(i,n){var r;if(i!=null)r=i[n];if(typeof r!=="function"){var s="Object "+t.classString(i)+" has no method '"+t.toString(n)+"'";throw new e.TypeError(s)}return r}function caller(e){var t=this.pop();var i=ensureMethod(e,t);return i.apply(e,this)}e.prototype.call=function(e){var t=arguments.length;var i=new Array(Math.max(t-1,0));for(var r=1;r<t;++r){i[r-1]=arguments[r]}if(true){if(n){var s=o(e);if(s!==null){return this._then(s,undefined,undefined,i,undefined)}}}i.push(e);return this._then(caller,undefined,undefined,i,undefined)};function namedGetter(e){return e[this]}function indexedGetter(e){var t=+this;if(t<0)t=Math.max(0,t+e.length);return e[t]}e.prototype.get=function(e){var t=typeof e==="number";var i;if(!t){if(n){var r=c(e);i=r!==null?r:namedGetter}else{i=namedGetter}}else{i=indexedGetter}return this._then(i,undefined,undefined,e,undefined)}}},6616:(e,t,i)=>{"use strict";e.exports=function(e,t,n,r){var s=i(7448);var a=s.tryCatch;var o=s.errorObj;var c=e._async;e.prototype["break"]=e.prototype.cancel=function(){if(!r.cancellation())return this._warn("cancellation is disabled");var e=this;var t=e;while(e._isCancellable()){if(!e._cancelBy(t)){if(t._isFollowing()){t._followee().cancel()}else{t._cancelBranched()}break}var i=e._cancellationParent;if(i==null||!i._isCancellable()){if(e._isFollowing()){e._followee().cancel()}else{e._cancelBranched()}break}else{if(e._isFollowing())e._followee().cancel();e._setWillBeCancelled();t=e;e=i}}};e.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--};e.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===undefined||this._branchesRemainingToCancel<=0};e.prototype._cancelBy=function(e){if(e===this){this._branchesRemainingToCancel=0;this._invokeOnCancel();return true}else{this._branchHasCancelled();if(this._enoughBranchesHaveCancelled()){this._invokeOnCancel();return true}}return false};e.prototype._cancelBranched=function(){if(this._enoughBranchesHaveCancelled()){this._cancel()}};e.prototype._cancel=function(){if(!this._isCancellable())return;this._setCancelled();c.invoke(this._cancelPromises,this,undefined)};e.prototype._cancelPromises=function(){if(this._length()>0)this._settlePromises()};e.prototype._unsetOnCancel=function(){this._onCancelField=undefined};e.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()};e.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()};e.prototype._doInvokeOnCancel=function(e,t){if(s.isArray(e)){for(var i=0;i<e.length;++i){this._doInvokeOnCancel(e[i],t)}}else if(e!==undefined){if(typeof e==="function"){if(!t){var n=a(e).call(this._boundValue());if(n===o){this._attachExtraTrace(n.e);c.throwLater(n.e)}}}else{e._resultCancelled(this)}}};e.prototype._invokeOnCancel=function(){var e=this._onCancel();this._unsetOnCancel();c.invoke(this._doInvokeOnCancel,this,e)};e.prototype._invokeInternalOnCancel=function(){if(this._isCancellable()){this._doInvokeOnCancel(this._onCancel(),true);this._unsetOnCancel()}};e.prototype._resultCancelled=function(){this.cancel()}}},8985:(e,t,i)=>{"use strict";e.exports=function(e){var t=i(7448);var n=i(3062).keys;var r=t.tryCatch;var s=t.errorObj;function catchFilter(i,a,o){return function(c){var l=o._boundValue();e:for(var u=0;u<i.length;++u){var h=i[u];if(h===Error||h!=null&&h.prototype instanceof Error){if(c instanceof h){return r(a).call(l,c)}}else if(typeof h==="function"){var f=r(h).call(l,c);if(f===s){return f}else if(f){return r(a).call(l,c)}}else if(t.isObject(c)){var p=n(h);for(var d=0;d<p.length;++d){var m=p[d];if(h[m]!=c[m]){continue e}}return r(a).call(l,c)}}return e}}return catchFilter}},5422:e=>{"use strict";e.exports=function(e){var t=false;var i=[];e.prototype._promiseCreated=function(){};e.prototype._pushContext=function(){};e.prototype._popContext=function(){return null};e._peekContext=e.prototype._peekContext=function(){};function Context(){this._trace=new Context.CapturedTrace(peekContext())}Context.prototype._pushContext=function(){if(this._trace!==undefined){this._trace._promiseCreated=null;i.push(this._trace)}};Context.prototype._popContext=function(){if(this._trace!==undefined){var e=i.pop();var t=e._promiseCreated;e._promiseCreated=null;return t}return null};function createContext(){if(t)return new Context}function peekContext(){var e=i.length-1;if(e>=0){return i[e]}return undefined}Context.CapturedTrace=null;Context.create=createContext;Context.deactivateLongStackTraces=function(){};Context.activateLongStackTraces=function(){var i=e.prototype._pushContext;var n=e.prototype._popContext;var r=e._peekContext;var s=e.prototype._peekContext;var a=e.prototype._promiseCreated;Context.deactivateLongStackTraces=function(){e.prototype._pushContext=i;e.prototype._popContext=n;e._peekContext=r;e.prototype._peekContext=s;e.prototype._promiseCreated=a;t=false};t=true;e.prototype._pushContext=Context.prototype._pushContext;e.prototype._popContext=Context.prototype._popContext;e._peekContext=e.prototype._peekContext=peekContext;e.prototype._promiseCreated=function(){var e=this._peekContext();if(e&&e._promiseCreated==null)e._promiseCreated=this}};return Context}},6004:(e,t,i)=>{"use strict";e.exports=function(e,t,n,r){var s=e._async;var a=i(5816).Warning;var o=i(7448);var c=i(3062);var l=o.canAttachTrace;var u;var h;var f=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/;var p=/\((?:timers\.js):\d+:\d+\)/;var d=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/;var m=null;var _=null;var g=false;var v;var y=!!(o.env("BLUEBIRD_DEBUG")!=0&&(false||o.env("BLUEBIRD_DEBUG")||o.env("NODE_ENV")==="development"));var x=!!(o.env("BLUEBIRD_WARNINGS")!=0&&(y||o.env("BLUEBIRD_WARNINGS")));var b=!!(o.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(y||o.env("BLUEBIRD_LONG_STACK_TRACES")));var w=o.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(x||!!o.env("BLUEBIRD_W_FORGOTTEN_RETURN"));var S;(function(){var t=[];function unhandledRejectionCheck(){for(var e=0;e<t.length;++e){t[e]._notifyUnhandledRejection()}unhandledRejectionClear()}function unhandledRejectionClear(){t.length=0}S=function(e){t.push(e);setTimeout(unhandledRejectionCheck,1)};c.defineProperty(e,"_unhandledRejectionCheck",{value:unhandledRejectionCheck});c.defineProperty(e,"_unhandledRejectionClear",{value:unhandledRejectionClear})})();e.prototype.suppressUnhandledRejections=function(){var e=this._target();e._bitField=e._bitField&~1048576|524288};e.prototype._ensurePossibleRejectionHandled=function(){if((this._bitField&524288)!==0)return;this._setRejectionIsUnhandled();S(this)};e.prototype._notifyUnhandledRejectionIsHandled=function(){fireRejectionEvent("rejectionHandled",u,undefined,this)};e.prototype._setReturnedNonUndefined=function(){this._bitField=this._bitField|268435456};e.prototype._returnedNonUndefined=function(){return(this._bitField&268435456)!==0};e.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._settledValue();this._setUnhandledRejectionIsNotified();fireRejectionEvent("unhandledRejection",h,e,this)}};e.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=this._bitField|262144};e.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&~262144};e.prototype._isUnhandledRejectionNotified=function(){return(this._bitField&262144)>0};e.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576};e.prototype._unsetRejectionIsUnhandled=function(){this._bitField=this._bitField&~1048576;if(this._isUnhandledRejectionNotified()){this._unsetUnhandledRejectionIsNotified();this._notifyUnhandledRejectionIsHandled()}};e.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0};e.prototype._warn=function(e,t,i){return warn(e,t,i||this)};e.onPossiblyUnhandledRejection=function(t){var i=e._getContext();h=o.contextBind(i,t)};e.onUnhandledRejectionHandled=function(t){var i=e._getContext();u=o.contextBind(i,t)};var k=function(){};e.longStackTraces=function(){if(s.haveItemsQueued()&&!j.longStackTraces){throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n")}if(!j.longStackTraces&&longStackTracesIsSupported()){var i=e.prototype._captureStackTrace;var n=e.prototype._attachExtraTrace;var r=e.prototype._dereferenceTrace;j.longStackTraces=true;k=function(){if(s.haveItemsQueued()&&!j.longStackTraces){throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n")}e.prototype._captureStackTrace=i;e.prototype._attachExtraTrace=n;e.prototype._dereferenceTrace=r;t.deactivateLongStackTraces();j.longStackTraces=false};e.prototype._captureStackTrace=longStackTracesCaptureStackTrace;e.prototype._attachExtraTrace=longStackTracesAttachExtraTrace;e.prototype._dereferenceTrace=longStackTracesDereferenceTrace;t.activateLongStackTraces()}};e.hasLongStackTraces=function(){return j.longStackTraces&&longStackTracesIsSupported()};var C={unhandledrejection:{before:function(){var e=o.global.onunhandledrejection;o.global.onunhandledrejection=null;return e},after:function(e){o.global.onunhandledrejection=e}},rejectionhandled:{before:function(){var e=o.global.onrejectionhandled;o.global.onrejectionhandled=null;return e},after:function(e){o.global.onrejectionhandled=e}}};var E=function(){var e=function(e,t){if(e){var i;try{i=e.before();return!o.global.dispatchEvent(t)}finally{e.after(i)}}else{return!o.global.dispatchEvent(t)}};try{if(typeof CustomEvent==="function"){var t=new CustomEvent("CustomEvent");o.global.dispatchEvent(t);return function(t,i){t=t.toLowerCase();var n={detail:i,cancelable:true};var r=new CustomEvent(t,n);c.defineProperty(r,"promise",{value:i.promise});c.defineProperty(r,"reason",{value:i.reason});return e(C[t],r)}}else if(typeof Event==="function"){var t=new Event("CustomEvent");o.global.dispatchEvent(t);return function(t,i){t=t.toLowerCase();var n=new Event(t,{cancelable:true});n.detail=i;c.defineProperty(n,"promise",{value:i.promise});c.defineProperty(n,"reason",{value:i.reason});return e(C[t],n)}}else{var t=document.createEvent("CustomEvent");t.initCustomEvent("testingtheevent",false,true,{});o.global.dispatchEvent(t);return function(t,i){t=t.toLowerCase();var n=document.createEvent("CustomEvent");n.initCustomEvent(t,false,true,i);return e(C[t],n)}}}catch(e){}return function(){return false}}();var A=function(){if(o.isNode){return function(){return process.emit.apply(process,arguments)}}else{if(!o.global){return function(){return false}}return function(e){var t="on"+e.toLowerCase();var i=o.global[t];if(!i)return false;i.apply(o.global,[].slice.call(arguments,1));return true}}}();function generatePromiseLifecycleEventObject(e,t){return{promise:t}}var P={promiseCreated:generatePromiseLifecycleEventObject,promiseFulfilled:generatePromiseLifecycleEventObject,promiseRejected:generatePromiseLifecycleEventObject,promiseResolved:generatePromiseLifecycleEventObject,promiseCancelled:generatePromiseLifecycleEventObject,promiseChained:function(e,t,i){return{promise:t,child:i}},warning:function(e,t){return{warning:t}},unhandledRejection:function(e,t,i){return{reason:t,promise:i}},rejectionHandled:generatePromiseLifecycleEventObject};var T=function(e){var t=false;try{t=A.apply(null,arguments)}catch(e){s.throwLater(e);t=true}var i=false;try{i=E(e,P[e].apply(null,arguments))}catch(e){s.throwLater(e);i=true}return i||t};e.config=function(t){t=Object(t);if("longStackTraces"in t){if(t.longStackTraces){e.longStackTraces()}else if(!t.longStackTraces&&e.hasLongStackTraces()){k()}}if("warnings"in t){var i=t.warnings;j.warnings=!!i;w=j.warnings;if(o.isObject(i)){if("wForgottenReturn"in i){w=!!i.wForgottenReturn}}}if("cancellation"in t&&t.cancellation&&!j.cancellation){if(s.haveItemsQueued()){throw new Error("cannot enable cancellation after promises are in use")}e.prototype._clearCancellationData=cancellationClearCancellationData;e.prototype._propagateFrom=cancellationPropagateFrom;e.prototype._onCancel=cancellationOnCancel;e.prototype._setOnCancel=cancellationSetOnCancel;e.prototype._attachCancellationCallback=cancellationAttachCancellationCallback;e.prototype._execute=cancellationExecute;I=cancellationPropagateFrom;j.cancellation=true}if("monitoring"in t){if(t.monitoring&&!j.monitoring){j.monitoring=true;e.prototype._fireEvent=T}else if(!t.monitoring&&j.monitoring){j.monitoring=false;e.prototype._fireEvent=defaultFireEvent}}if("asyncHooks"in t&&o.nodeSupportsAsyncResource){var a=j.asyncHooks;var c=!!t.asyncHooks;if(a!==c){j.asyncHooks=c;if(c){n()}else{r()}}}return e};function defaultFireEvent(){return false}e.prototype._fireEvent=defaultFireEvent;e.prototype._execute=function(e,t,i){try{e(t,i)}catch(e){return e}};e.prototype._onCancel=function(){};e.prototype._setOnCancel=function(e){};e.prototype._attachCancellationCallback=function(e){};e.prototype._captureStackTrace=function(){};e.prototype._attachExtraTrace=function(){};e.prototype._dereferenceTrace=function(){};e.prototype._clearCancellationData=function(){};e.prototype._propagateFrom=function(e,t){};function cancellationExecute(e,t,i){var n=this;try{e(t,i,function(e){if(typeof e!=="function"){throw new TypeError("onCancel must be a function, got: "+o.toString(e))}n._attachCancellationCallback(e)})}catch(e){return e}}function cancellationAttachCancellationCallback(e){if(!this._isCancellable())return this;var t=this._onCancel();if(t!==undefined){if(o.isArray(t)){t.push(e)}else{this._setOnCancel([t,e])}}else{this._setOnCancel(e)}}function cancellationOnCancel(){return this._onCancelField}function cancellationSetOnCancel(e){this._onCancelField=e}function cancellationClearCancellationData(){this._cancellationParent=undefined;this._onCancelField=undefined}function cancellationPropagateFrom(e,t){if((t&1)!==0){this._cancellationParent=e;var i=e._branchesRemainingToCancel;if(i===undefined){i=0}e._branchesRemainingToCancel=i+1}if((t&2)!==0&&e._isBound()){this._setBoundTo(e._boundTo)}}function bindingPropagateFrom(e,t){if((t&2)!==0&&e._isBound()){this._setBoundTo(e._boundTo)}}var I=bindingPropagateFrom;function boundValueFunction(){var t=this._boundTo;if(t!==undefined){if(t instanceof e){if(t.isFulfilled()){return t.value()}else{return undefined}}}return t}function longStackTracesCaptureStackTrace(){this._trace=new CapturedTrace(this._peekContext())}function longStackTracesAttachExtraTrace(e,t){if(l(e)){var i=this._trace;if(i!==undefined){if(t)i=i._parent}if(i!==undefined){i.attachExtraTrace(e)}else if(!e.__stackCleaned__){var n=parseStackAndMessage(e);o.notEnumerableProp(e,"stack",n.message+"\n"+n.stack.join("\n"));o.notEnumerableProp(e,"__stackCleaned__",true)}}}function longStackTracesDereferenceTrace(){this._trace=undefined}function checkForgottenReturns(e,t,i,n,r){if(e===undefined&&t!==null&&w){if(r!==undefined&&r._returnedNonUndefined())return;if((n._bitField&65535)===0)return;if(i)i=i+" ";var s="";var a="";if(t._trace){var o=t._trace.stack.split("\n");var c=cleanStack(o);for(var l=c.length-1;l>=0;--l){var u=c[l];if(!p.test(u)){var h=u.match(d);if(h){s="at "+h[1]+":"+h[2]+":"+h[3]+" "}break}}if(c.length>0){var f=c[0];for(var l=0;l<o.length;++l){if(o[l]===f){if(l>0){a="\n"+o[l-1]}break}}}}var m="a promise was created in a "+i+"handler "+s+"but was not returned from it, "+"see http://goo.gl/rRqMUw"+a;n._warn(m,true,t)}}function deprecated(e,t){var i=e+" is deprecated and will be removed in a future version.";if(t)i+=" Use "+t+" instead.";return warn(i)}function warn(t,i,n){if(!j.warnings)return;var r=new a(t);var s;if(i){n._attachExtraTrace(r)}else if(j.longStackTraces&&(s=e._peekContext())){s.attachExtraTrace(r)}else{var o=parseStackAndMessage(r);r.stack=o.message+"\n"+o.stack.join("\n")}if(!T("warning",r)){formatAndLogError(r,"",true)}}function reconstructStack(e,t){for(var i=0;i<t.length-1;++i){t[i].push("From previous event:");t[i]=t[i].join("\n")}if(i<t.length){t[i]=t[i].join("\n")}return e+"\n"+t.join("\n")}function removeDuplicateOrEmptyJumps(e){for(var t=0;t<e.length;++t){if(e[t].length===0||t+1<e.length&&e[t][0]===e[t+1][0]){e.splice(t,1);t--}}}function removeCommonRoots(e){var t=e[0];for(var i=1;i<e.length;++i){var n=e[i];var r=t.length-1;var s=t[r];var a=-1;for(var o=n.length-1;o>=0;--o){if(n[o]===s){a=o;break}}for(var o=a;o>=0;--o){var c=n[o];if(t[r]===c){t.pop();r--}else{break}}t=n}}function cleanStack(e){var t=[];for(var i=0;i<e.length;++i){var n=e[i];var r=" (No stack trace)"===n||m.test(n);var s=r&&R(n);if(r&&!s){if(g&&n.charAt(0)!==" "){n=" "+n}t.push(n)}}return t}function stackFramesAsArray(e){var t=e.stack.replace(/\s+$/g,"").split("\n");for(var i=0;i<t.length;++i){var n=t[i];if(" (No stack trace)"===n||m.test(n)){break}}if(i>0&&e.name!="SyntaxError"){t=t.slice(i)}return t}function parseStackAndMessage(e){var t=e.stack;var i=e.toString();t=typeof t==="string"&&t.length>0?stackFramesAsArray(e):[" (No stack trace)"];return{message:i,stack:e.name=="SyntaxError"?t:cleanStack(t)}}function formatAndLogError(e,t,i){if(typeof console!=="undefined"){var n;if(o.isObject(e)){var r=e.stack;n=t+_(r,e)}else{n=t+String(e)}if(typeof v==="function"){v(n,i)}else if(typeof console.log==="function"||typeof console.log==="object"){console.log(n)}}}function fireRejectionEvent(e,t,i,n){var r=false;try{if(typeof t==="function"){r=true;if(e==="rejectionHandled"){t(n)}else{t(i,n)}}}catch(e){s.throwLater(e)}if(e==="unhandledRejection"){if(!T(e,i,n)&&!r){formatAndLogError(i,"Unhandled rejection ")}}else{T(e,n)}}function formatNonError(e){var t;if(typeof e==="function"){t="[function "+(e.name||"anonymous")+"]"}else{t=e&&typeof e.toString==="function"?e.toString():o.toString(e);var i=/\[object [a-zA-Z0-9$_]+\]/;if(i.test(t)){try{var n=JSON.stringify(e);t=n}catch(e){}}if(t.length===0){t="(empty array)"}}return"(<"+snip(t)+">, no stack trace)"}function snip(e){var t=41;if(e.length<t){return e}return e.substr(0,t-3)+"..."}function longStackTracesIsSupported(){return typeof F==="function"}var R=function(){return false};var O=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function parseLineInfo(e){var t=e.match(O);if(t){return{fileName:t[1],line:parseInt(t[2],10)}}}function setBounds(e,t){if(!longStackTracesIsSupported())return;var i=(e.stack||"").split("\n");var n=(t.stack||"").split("\n");var r=-1;var s=-1;var a;var o;for(var c=0;c<i.length;++c){var l=parseLineInfo(i[c]);if(l){a=l.fileName;r=l.line;break}}for(var c=0;c<n.length;++c){var l=parseLineInfo(n[c]);if(l){o=l.fileName;s=l.line;break}}if(r<0||s<0||!a||!o||a!==o||r>=s){return}R=function(e){if(f.test(e))return true;var t=parseLineInfo(e);if(t){if(t.fileName===a&&(r<=t.line&&t.line<=s)){return true}}return false}}function CapturedTrace(e){this._parent=e;this._promisesCreated=0;var t=this._length=1+(e===undefined?0:e._length);F(this,CapturedTrace);if(t>32)this.uncycle()}o.inherits(CapturedTrace,Error);t.CapturedTrace=CapturedTrace;CapturedTrace.prototype.uncycle=function(){var e=this._length;if(e<2)return;var t=[];var i={};for(var n=0,r=this;r!==undefined;++n){t.push(r);r=r._parent}e=this._length=n;for(var n=e-1;n>=0;--n){var s=t[n].stack;if(i[s]===undefined){i[s]=n}}for(var n=0;n<e;++n){var a=t[n].stack;var o=i[a];if(o!==undefined&&o!==n){if(o>0){t[o-1]._parent=undefined;t[o-1]._length=1}t[n]._parent=undefined;t[n]._length=1;var c=n>0?t[n-1]:this;if(o<e-1){c._parent=t[o+1];c._parent.uncycle();c._length=c._parent._length+1}else{c._parent=undefined;c._length=1}var l=c._length+1;for(var u=n-2;u>=0;--u){t[u]._length=l;l++}return}}};CapturedTrace.prototype.attachExtraTrace=function(e){if(e.__stackCleaned__)return;this.uncycle();var t=parseStackAndMessage(e);var i=t.message;var n=[t.stack];var r=this;while(r!==undefined){n.push(cleanStack(r.stack.split("\n")));r=r._parent}removeCommonRoots(n);removeDuplicateOrEmptyJumps(n);o.notEnumerableProp(e,"stack",reconstructStack(i,n));o.notEnumerableProp(e,"__stackCleaned__",true)};var F=function stackDetection(){var e=/^\s*at\s*/;var t=function(e,t){if(typeof e==="string")return e;if(t.name!==undefined&&t.message!==undefined){return t.toString()}return formatNonError(t)};if(typeof Error.stackTraceLimit==="number"&&typeof Error.captureStackTrace==="function"){Error.stackTraceLimit+=6;m=e;_=t;var i=Error.captureStackTrace;R=function(e){return f.test(e)};return function(e,t){Error.stackTraceLimit+=6;i(e,t);Error.stackTraceLimit-=6}}var n=new Error;if(typeof n.stack==="string"&&n.stack.split("\n")[0].indexOf("stackDetection@")>=0){m=/@/;_=t;g=true;return function captureStackTrace(e){e.stack=(new Error).stack}}var r;try{throw new Error}catch(e){r="stack"in e}if(!("stack"in n)&&r&&typeof Error.stackTraceLimit==="number"){m=e;_=t;return function captureStackTrace(e){Error.stackTraceLimit+=6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit-=6}}_=function(e,t){if(typeof e==="string")return e;if((typeof t==="object"||typeof t==="function")&&t.name!==undefined&&t.message!==undefined){return t.toString()}return formatNonError(t)};return null}([]);if(typeof console!=="undefined"&&typeof console.warn!=="undefined"){v=function(e){console.warn(e)};if(o.isNode&&process.stderr.isTTY){v=function(e,t){var i=t?"[33m":"[31m";console.warn(i+e+"[0m\n")}}else if(!o.isNode&&typeof(new Error).stack==="string"){v=function(e,t){console.warn("%c"+e,t?"color: darkorange":"color: red")}}}var j={warnings:x,longStackTraces:false,cancellation:false,monitoring:false,asyncHooks:false};if(b)e.longStackTraces();return{asyncHooks:function(){return j.asyncHooks},longStackTraces:function(){return j.longStackTraces},warnings:function(){return j.warnings},cancellation:function(){return j.cancellation},monitoring:function(){return j.monitoring},propagateFromFunction:function(){return I},boundValueFunction:function(){return boundValueFunction},checkForgottenReturns:checkForgottenReturns,setBounds:setBounds,warn:warn,deprecated:deprecated,CapturedTrace:CapturedTrace,fireDomEvent:E,fireGlobalEvent:A}}},8277:e=>{"use strict";e.exports=function(e){function returner(){return this.value}function thrower(){throw this.reason}e.prototype["return"]=e.prototype.thenReturn=function(t){if(t instanceof e)t.suppressUnhandledRejections();return this._then(returner,undefined,undefined,{value:t},undefined)};e.prototype["throw"]=e.prototype.thenThrow=function(e){return this._then(thrower,undefined,undefined,{reason:e},undefined)};e.prototype.catchThrow=function(e){if(arguments.length<=1){return this._then(undefined,thrower,undefined,{reason:e},undefined)}else{var t=arguments[1];var i=function(){throw t};return this.caught(e,i)}};e.prototype.catchReturn=function(t){if(arguments.length<=1){if(t instanceof e)t.suppressUnhandledRejections();return this._then(undefined,returner,undefined,{value:t},undefined)}else{var i=arguments[1];if(i instanceof e)i.suppressUnhandledRejections();var n=function(){return i};return this.caught(t,n)}}}},838:e=>{"use strict";e.exports=function(e,t){var i=e.reduce;var n=e.all;function promiseAllThis(){return n(this)}function PromiseMapSeries(e,n){return i(e,n,t,t)}e.prototype.each=function(e){return i(this,e,t,0)._then(promiseAllThis,undefined,undefined,this,undefined)};e.prototype.mapSeries=function(e){return i(this,e,t,t)};e.each=function(e,n){return i(e,n,t,0)._then(promiseAllThis,undefined,undefined,e,undefined)};e.mapSeries=PromiseMapSeries}},5816:(e,t,i)=>{"use strict";var n=i(3062);var r=n.freeze;var s=i(7448);var a=s.inherits;var o=s.notEnumerableProp;function subError(e,t){function SubError(i){if(!(this instanceof SubError))return new SubError(i);o(this,"message",typeof i==="string"?i:t);o(this,"name",e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{Error.call(this)}}a(SubError,Error);return SubError}var c,l;var u=subError("Warning","warning");var h=subError("CancellationError","cancellation error");var f=subError("TimeoutError","timeout error");var p=subError("AggregateError","aggregate error");try{c=TypeError;l=RangeError}catch(e){c=subError("TypeError","type error");l=subError("RangeError","range error")}var d=("join pop push shift unshift slice filter forEach some "+"every map indexOf lastIndexOf reduce reduceRight sort reverse").split(" ");for(var m=0;m<d.length;++m){if(typeof Array.prototype[d[m]]==="function"){p.prototype[d[m]]=Array.prototype[d[m]]}}n.defineProperty(p.prototype,"length",{value:0,configurable:false,writable:true,enumerable:true});p.prototype["isOperational"]=true;var _=0;p.prototype.toString=function(){var e=Array(_*4+1).join(" ");var t="\n"+e+"AggregateError of:"+"\n";_++;e=Array(_*4+1).join(" ");for(var i=0;i<this.length;++i){var n=this[i]===this?"[Circular AggregateError]":this[i]+"";var r=n.split("\n");for(var s=0;s<r.length;++s){r[s]=e+r[s]}n=r.join("\n");t+=n+"\n"}_--;return t};function OperationalError(e){if(!(this instanceof OperationalError))return new OperationalError(e);o(this,"name","OperationalError");o(this,"message",e);this.cause=e;this["isOperational"]=true;if(e instanceof Error){o(this,"message",e.message);o(this,"stack",e.stack)}else if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}a(OperationalError,Error);var g=Error["__BluebirdErrorTypes__"];if(!g){g=r({CancellationError:h,TimeoutError:f,OperationalError:OperationalError,RejectionError:OperationalError,AggregateError:p});n.defineProperty(Error,"__BluebirdErrorTypes__",{value:g,writable:false,enumerable:false,configurable:false})}e.exports={Error:Error,TypeError:c,RangeError:l,CancellationError:g.CancellationError,OperationalError:g.OperationalError,TimeoutError:g.TimeoutError,AggregateError:g.AggregateError,Warning:u}},3062:e=>{var t=function(){"use strict";return this===undefined}();if(t){e.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:t,propertyIsWritable:function(e,t){var i=Object.getOwnPropertyDescriptor(e,t);return!!(!i||i.writable||i.set)}}}else{var i={}.hasOwnProperty;var n={}.toString;var r={}.constructor.prototype;var s=function(e){var t=[];for(var n in e){if(i.call(e,n)){t.push(n)}}return t};var a=function(e,t){return{value:e[t]}};var o=function(e,t,i){e[t]=i.value;return e};var c=function(e){return e};var l=function(e){try{return Object(e).constructor.prototype}catch(e){return r}};var u=function(e){try{return n.call(e)==="[object Array]"}catch(e){return false}};e.exports={isArray:u,keys:s,names:s,defineProperty:o,getDescriptor:a,freeze:c,getPrototypeOf:l,isES5:t,propertyIsWritable:function(){return true}}}},2223:e=>{"use strict";e.exports=function(e,t){var i=e.map;e.prototype.filter=function(e,n){return i(this,e,n,t)};e.filter=function(e,n,r){return i(e,n,r,t)}}},7304:(e,t,i)=>{"use strict";e.exports=function(e,t,n){var r=i(7448);var s=e.CancellationError;var a=r.errorObj;var o=i(8985)(n);function PassThroughHandlerContext(e,t,i){this.promise=e;this.type=t;this.handler=i;this.called=false;this.cancelPromise=null}PassThroughHandlerContext.prototype.isFinallyHandler=function(){return this.type===0};function FinallyHandlerCancelReaction(e){this.finallyHandler=e}FinallyHandlerCancelReaction.prototype._resultCancelled=function(){checkCancel(this.finallyHandler)};function checkCancel(e,t){if(e.cancelPromise!=null){if(arguments.length>1){e.cancelPromise._reject(t)}else{e.cancelPromise._cancel()}e.cancelPromise=null;return true}return false}function succeed(){return finallyHandler.call(this,this.promise._target()._settledValue())}function fail(e){if(checkCancel(this,e))return;a.e=e;return a}function finallyHandler(i){var r=this.promise;var o=this.handler;if(!this.called){this.called=true;var c=this.isFinallyHandler()?o.call(r._boundValue()):o.call(r._boundValue(),i);if(c===n){return c}else if(c!==undefined){r._setReturnedNonUndefined();var l=t(c,r);if(l instanceof e){if(this.cancelPromise!=null){if(l._isCancelled()){var u=new s("late cancellation observer");r._attachExtraTrace(u);a.e=u;return a}else if(l.isPending()){l._attachCancellationCallback(new FinallyHandlerCancelReaction(this))}}return l._then(succeed,fail,undefined,this,undefined)}}}if(r.isRejected()){checkCancel(this);a.e=i;return a}else{checkCancel(this);return i}}e.prototype._passThrough=function(e,t,i,n){if(typeof e!=="function")return this.then();return this._then(i,n,undefined,new PassThroughHandlerContext(this,t,e),undefined)};e.prototype.lastly=e.prototype["finally"]=function(e){return this._passThrough(e,0,finallyHandler,finallyHandler)};e.prototype.tap=function(e){return this._passThrough(e,1,finallyHandler)};e.prototype.tapCatch=function(t){var i=arguments.length;if(i===1){return this._passThrough(t,1,undefined,finallyHandler)}else{var n=new Array(i-1),s=0,a;for(a=0;a<i-1;++a){var c=arguments[a];if(r.isObject(c)){n[s++]=c}else{return e.reject(new TypeError("tapCatch statement predicate: "+"expecting an object but got "+r.classString(c)))}}n.length=s;var l=arguments[a];return this._passThrough(o(n,l,this),1,undefined,finallyHandler)}};return PassThroughHandlerContext}},8619:(e,t,i)=>{"use strict";e.exports=function(e,t,n,r,s,a){var o=i(5816);var c=o.TypeError;var l=i(7448);var u=l.errorObj;var h=l.tryCatch;var f=[];function promiseFromYieldHandler(t,i,n){for(var s=0;s<i.length;++s){n._pushContext();var a=h(i[s])(t);n._popContext();if(a===u){n._pushContext();var o=e.reject(u.e);n._popContext();return o}var c=r(a,n);if(c instanceof e)return c}return null}function PromiseSpawn(t,i,r,s){if(a.cancellation()){var o=new e(n);var c=this._finallyPromise=new e(n);this._promise=o.lastly(function(){return c});o._captureStackTrace();o._setOnCancel(this)}else{var l=this._promise=new e(n);l._captureStackTrace()}this._stack=s;this._generatorFunction=t;this._receiver=i;this._generator=undefined;this._yieldHandlers=typeof r==="function"?[r].concat(f):f;this._yieldedPromise=null;this._cancellationPhase=false}l.inherits(PromiseSpawn,s);PromiseSpawn.prototype._isResolved=function(){return this._promise===null};PromiseSpawn.prototype._cleanup=function(){this._promise=this._generator=null;if(a.cancellation()&&this._finallyPromise!==null){this._finallyPromise._fulfill();this._finallyPromise=null}};PromiseSpawn.prototype._promiseCancelled=function(){if(this._isResolved())return;var t=typeof this._generator["return"]!=="undefined";var i;if(!t){var n=new e.CancellationError("generator .return() sentinel");e.coroutine.returnSentinel=n;this._promise._attachExtraTrace(n);this._promise._pushContext();i=h(this._generator["throw"]).call(this._generator,n);this._promise._popContext()}else{this._promise._pushContext();i=h(this._generator["return"]).call(this._generator,undefined);this._promise._popContext()}this._cancellationPhase=true;this._yieldedPromise=null;this._continue(i)};PromiseSpawn.prototype._promiseFulfilled=function(e){this._yieldedPromise=null;this._promise._pushContext();var t=h(this._generator.next).call(this._generator,e);this._promise._popContext();this._continue(t)};PromiseSpawn.prototype._promiseRejected=function(e){this._yieldedPromise=null;this._promise._attachExtraTrace(e);this._promise._pushContext();var t=h(this._generator["throw"]).call(this._generator,e);this._promise._popContext();this._continue(t)};PromiseSpawn.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof e){var t=this._yieldedPromise;this._yieldedPromise=null;t.cancel()}};PromiseSpawn.prototype.promise=function(){return this._promise};PromiseSpawn.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver);this._receiver=this._generatorFunction=undefined;this._promiseFulfilled(undefined)};PromiseSpawn.prototype._continue=function(t){var i=this._promise;if(t===u){this._cleanup();if(this._cancellationPhase){return i.cancel()}else{return i._rejectCallback(t.e,false)}}var n=t.value;if(t.done===true){this._cleanup();if(this._cancellationPhase){return i.cancel()}else{return i._resolveCallback(n)}}else{var s=r(n,this._promise);if(!(s instanceof e)){s=promiseFromYieldHandler(s,this._yieldHandlers,this._promise);if(s===null){this._promiseRejected(new c("A value %s was yielded that could not be treated as a promise\n\n See http://goo.gl/MqrFmX\n\n".replace("%s",String(n))+"From coroutine:\n"+this._stack.split("\n").slice(1,-7).join("\n")));return}}s=s._target();var a=s._bitField;if((a&50397184)===0){this._yieldedPromise=s;s._proxy(this,null)}else if((a&33554432)!==0){e._async.invoke(this._promiseFulfilled,this,s._value())}else if((a&16777216)!==0){e._async.invoke(this._promiseRejected,this,s._reason())}else{this._promiseCancelled()}}};e.coroutine=function(e,t){if(typeof e!=="function"){throw new c("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n")}var i=Object(t).yieldHandler;var n=PromiseSpawn;var r=(new Error).stack;return function(){var t=e.apply(this,arguments);var s=new n(undefined,undefined,i,r);var a=s.promise();s._generator=t;s._promiseFulfilled(undefined);return a}};e.coroutine.addYieldHandler=function(e){if(typeof e!=="function"){throw new c("expecting a function but got "+l.classString(e))}f.push(e)};e.spawn=function(i){a.deprecated("Promise.spawn()","Promise.coroutine()");if(typeof i!=="function"){return t("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n")}var n=new PromiseSpawn(i,this);var r=n.promise();n._run(e.spawn);return r}}},5248:(e,t,i)=>{"use strict";e.exports=function(e,t,n,r,s){var a=i(7448);var o=a.canEvaluate;var c=a.tryCatch;var l=a.errorObj;var u;if(true){if(o){var h=function(e){return new Function("value","holder"," \n 'use strict'; \n holder.pIndex = value; \n holder.checkFulfillment(this); \n ".replace(/Index/g,e))};var f=function(e){return new Function("promise","holder"," \n 'use strict'; \n holder.pIndex = promise; \n ".replace(/Index/g,e))};var p=function(t){var i=new Array(t);for(var n=0;n<i.length;++n){i[n]="this.p"+(n+1)}var r=i.join(" = ")+" = null;";var a="var promise;\n"+i.map(function(e){return" \n promise = "+e+"; \n if (promise instanceof Promise) { \n promise.cancel(); \n } \n "}).join("\n");var o=i.join(", ");var u="Holder$"+t;var h="return function(tryCatch, errorObj, Promise, async) { \n 'use strict'; \n function [TheName](fn) { \n [TheProperties] \n this.fn = fn; \n this.asyncNeeded = true; \n this.now = 0; \n } \n \n [TheName].prototype._callFunction = function(promise) { \n promise._pushContext(); \n var ret = tryCatch(this.fn)([ThePassedArguments]); \n promise._popContext(); \n if (ret === errorObj) { \n promise._rejectCallback(ret.e, false); \n } else { \n promise._resolveCallback(ret); \n } \n }; \n \n [TheName].prototype.checkFulfillment = function(promise) { \n var now = ++this.now; \n if (now === [TheTotal]) { \n if (this.asyncNeeded) { \n async.invoke(this._callFunction, this, promise); \n } else { \n this._callFunction(promise); \n } \n \n } \n }; \n \n [TheName].prototype._resultCancelled = function() { \n [CancellationCode] \n }; \n \n return [TheName]; \n }(tryCatch, errorObj, Promise, async); \n ";h=h.replace(/\[TheName\]/g,u).replace(/\[TheTotal\]/g,t).replace(/\[ThePassedArguments\]/g,o).replace(/\[TheProperties\]/g,r).replace(/\[CancellationCode\]/g,a);return new Function("tryCatch","errorObj","Promise","async",h)(c,l,e,s)};var d=[];var m=[];var _=[];for(var g=0;g<8;++g){d.push(p(g+1));m.push(h(g+1));_.push(f(g+1))}u=function(e){this._reject(e)}}}e.join=function(){var i=arguments.length-1;var s;if(i>0&&typeof arguments[i]==="function"){s=arguments[i];if(true){if(i<=8&&o){var c=new e(r);c._captureStackTrace();var l=d[i-1];var h=new l(s);var f=m;for(var p=0;p<i;++p){var g=n(arguments[p],c);if(g instanceof e){g=g._target();var v=g._bitField;if((v&50397184)===0){g._then(f[p],u,undefined,c,h);_[p](g,h);h.asyncNeeded=false}else if((v&33554432)!==0){f[p].call(c,g._value(),h)}else if((v&16777216)!==0){c._reject(g._reason())}else{c._cancel()}}else{f[p].call(c,g,h)}}if(!c._isFateSealed()){if(h.asyncNeeded){var y=e._getContext();h.fn=a.contextBind(y,h.fn)}c._setAsyncGuaranteed();c._setOnCancel(h)}return c}}}var x=arguments.length;var b=new Array(x);for(var w=0;w<x;++w){b[w]=arguments[w]}if(s)b.pop();var c=new t(b).promise();return s!==undefined?c.spread(s):c}}},8150:(e,t,i)=>{"use strict";e.exports=function(e,t,n,r,s,a){var o=i(7448);var c=o.tryCatch;var l=o.errorObj;var u=e._async;function MappingPromiseArray(t,i,n,r){this.constructor$(t);this._promise._captureStackTrace();var a=e._getContext();this._callback=o.contextBind(a,i);this._preservedValues=r===s?new Array(this.length()):null;this._limit=n;this._inFlight=0;this._queue=[];u.invoke(this._asyncInit,this,undefined);if(o.isArray(t)){for(var c=0;c<t.length;++c){var l=t[c];if(l instanceof e){l.suppressUnhandledRejections()}}}}o.inherits(MappingPromiseArray,t);MappingPromiseArray.prototype._asyncInit=function(){this._init$(undefined,-2)};MappingPromiseArray.prototype._init=function(){};MappingPromiseArray.prototype._promiseFulfilled=function(t,i){var n=this._values;var s=this.length();var o=this._preservedValues;var u=this._limit;if(i<0){i=i*-1-1;n[i]=t;if(u>=1){this._inFlight--;this._drainQueue();if(this._isResolved())return true}}else{if(u>=1&&this._inFlight>=u){n[i]=t;this._queue.push(i);return false}if(o!==null)o[i]=t;var h=this._promise;var f=this._callback;var p=h._boundValue();h._pushContext();var d=c(f).call(p,t,i,s);var m=h._popContext();a.checkForgottenReturns(d,m,o!==null?"Promise.filter":"Promise.map",h);if(d===l){this._reject(d.e);return true}var _=r(d,this._promise);if(_ instanceof e){_=_._target();var g=_._bitField;if((g&50397184)===0){if(u>=1)this._inFlight++;n[i]=_;_._proxy(this,(i+1)*-1);return false}else if((g&33554432)!==0){d=_._value()}else if((g&16777216)!==0){this._reject(_._reason());return true}else{this._cancel();return true}}n[i]=d}var v=++this._totalResolved;if(v>=s){if(o!==null){this._filter(n,o)}else{this._resolve(n)}return true}return false};MappingPromiseArray.prototype._drainQueue=function(){var e=this._queue;var t=this._limit;var i=this._values;while(e.length>0&&this._inFlight<t){if(this._isResolved())return;var n=e.pop();this._promiseFulfilled(i[n],n)}};MappingPromiseArray.prototype._filter=function(e,t){var i=t.length;var n=new Array(i);var r=0;for(var s=0;s<i;++s){if(e[s])n[r++]=t[s]}n.length=r;this._resolve(n)};MappingPromiseArray.prototype.preservedValues=function(){return this._preservedValues};function map(t,i,r,s){if(typeof i!=="function"){return n("expecting a function but got "+o.classString(i))}var a=0;if(r!==undefined){if(typeof r==="object"&&r!==null){if(typeof r.concurrency!=="number"){return e.reject(new TypeError("'concurrency' must be a number but it is "+o.classString(r.concurrency)))}a=r.concurrency}else{return e.reject(new TypeError("options argument must be an object but it is "+o.classString(r)))}}a=typeof a==="number"&&isFinite(a)&&a>=1?a:0;return new MappingPromiseArray(t,i,a,s).promise()}e.prototype.map=function(e,t){return map(this,e,t,null)};e.map=function(e,t,i,n){return map(e,t,i,n)}}},7415:(e,t,i)=>{"use strict";e.exports=function(e,t,n,r,s){var a=i(7448);var o=a.tryCatch;e.method=function(i){if(typeof i!=="function"){throw new e.TypeError("expecting a function but got "+a.classString(i))}return function(){var n=new e(t);n._captureStackTrace();n._pushContext();var r=o(i).apply(this,arguments);var a=n._popContext();s.checkForgottenReturns(r,a,"Promise.method",n);n._resolveFromSyncValue(r);return n}};e.attempt=e["try"]=function(i){if(typeof i!=="function"){return r("expecting a function but got "+a.classString(i))}var n=new e(t);n._captureStackTrace();n._pushContext();var c;if(arguments.length>1){s.deprecated("calling Promise.try with more than 1 argument");var l=arguments[1];var u=arguments[2];c=a.isArray(l)?o(i).apply(u,l):o(i).call(u,l)}else{c=o(i)()}var h=n._popContext();s.checkForgottenReturns(c,h,"Promise.try",n);n._resolveFromSyncValue(c);return n};e.prototype._resolveFromSyncValue=function(e){if(e===a.errorObj){this._rejectCallback(e.e,false)}else{this._resolveCallback(e,true)}}}},4315:(e,t,i)=>{"use strict";var n=i(7448);var r=n.maybeWrapAsError;var s=i(5816);var a=s.OperationalError;var o=i(3062);function isUntypedError(e){return e instanceof Error&&o.getPrototypeOf(e)===Error.prototype}var c=/^(?:name|message|stack|cause)$/;function wrapAsOperationalError(e){var t;if(isUntypedError(e)){t=new a(e);t.name=e.name;t.message=e.message;t.stack=e.stack;var i=o.keys(e);for(var r=0;r<i.length;++r){var s=i[r];if(!c.test(s)){t[s]=e[s]}}return t}n.markAsOriginatingFromRejection(e);return e}function nodebackForPromise(e,t){return function(i,n){if(e===null)return;if(i){var s=wrapAsOperationalError(r(i));e._attachExtraTrace(s);e._reject(s)}else if(!t){e._fulfill(n)}else{var a=arguments.length;var o=new Array(Math.max(a-1,0));for(var c=1;c<a;++c){o[c-1]=arguments[c]}e._fulfill(o)}e=null}}e.exports=nodebackForPromise},5447:(e,t,i)=>{"use strict";e.exports=function(e){var t=i(7448);var n=e._async;var r=t.tryCatch;var s=t.errorObj;function spreadAdapter(e,i){var a=this;if(!t.isArray(e))return successAdapter.call(a,e,i);var o=r(i).apply(a._boundValue(),[null].concat(e));if(o===s){n.throwLater(o.e)}}function successAdapter(e,t){var i=this;var a=i._boundValue();var o=e===undefined?r(t).call(a,null):r(t).call(a,null,e);if(o===s){n.throwLater(o.e)}}function errorAdapter(e,t){var i=this;if(!e){var a=new Error(e+"");a.cause=e;e=a}var o=r(t).call(i._boundValue(),e);if(o===s){n.throwLater(o.e)}}e.prototype.asCallback=e.prototype.nodeify=function(e,t){if(typeof e=="function"){var i=successAdapter;if(t!==undefined&&Object(t).spread){i=spreadAdapter}this._then(i,errorAdapter,undefined,this,e)}return this}}},3694:(e,t,i)=>{"use strict";e.exports=function(){var t=function(){return new y("circular promise resolution chain\n\n See http://goo.gl/MqrFmX\n")};var n=function(){return new Promise.PromiseInspection(this._target())};var r=function(e){return Promise.reject(new y(e))};function Proxyable(){}var s={};var a=i(7448);a.setReflectHandler(n);var o=function(){var e=process.domain;if(e===undefined){return null}return e};var c=function(){return null};var l=function(){return{domain:o(),async:null}};var u=a.isNode&&a.nodeSupportsAsyncResource?i(7303).AsyncResource:null;var h=function(){return{domain:o(),async:new u("Bluebird::Promise")}};var f=a.isNode?l:c;a.notEnumerableProp(Promise,"_getContext",f);var p=function(){f=h;a.notEnumerableProp(Promise,"_getContext",h)};var d=function(){f=l;a.notEnumerableProp(Promise,"_getContext",l)};var m=i(3062);var _=i(8061);var g=new _;m.defineProperty(Promise,"_async",{value:g});var v=i(5816);var y=Promise.TypeError=v.TypeError;Promise.RangeError=v.RangeError;var x=Promise.CancellationError=v.CancellationError;Promise.TimeoutError=v.TimeoutError;Promise.OperationalError=v.OperationalError;Promise.RejectionError=v.OperationalError;Promise.AggregateError=v.AggregateError;var b=function(){};var w={};var S={};var k=i(9787)(Promise,b);var C=i(5307)(Promise,b,k,r,Proxyable);var E=i(5422)(Promise);var A=E.create;var P=i(6004)(Promise,E,p,d);var T=P.CapturedTrace;var I=i(7304)(Promise,k,S);var R=i(8985)(S);var O=i(4315);var F=a.errorObj;var j=a.tryCatch;function check(e,t){if(e==null||e.constructor!==Promise){throw new y("the promise constructor cannot be invoked directly\n\n See http://goo.gl/MqrFmX\n")}if(typeof t!=="function"){throw new y("expecting a function but got "+a.classString(t))}}function Promise(e){if(e!==b){check(this,e)}this._bitField=0;this._fulfillmentHandler0=undefined;this._rejectionHandler0=undefined;this._promise0=undefined;this._receiver0=undefined;this._resolveFromExecutor(e);this._promiseCreated();this._fireEvent("promiseCreated",this)}Promise.prototype.toString=function(){return"[object Promise]"};Promise.prototype.caught=Promise.prototype["catch"]=function(e){var t=arguments.length;if(t>1){var i=new Array(t-1),n=0,s;for(s=0;s<t-1;++s){var o=arguments[s];if(a.isObject(o)){i[n++]=o}else{return r("Catch statement predicate: "+"expecting an object but got "+a.classString(o))}}i.length=n;e=arguments[s];if(typeof e!=="function"){throw new y("The last argument to .catch() "+"must be a function, got "+a.toString(e))}return this.then(undefined,R(i,e,this))}return this.then(undefined,e)};Promise.prototype.reflect=function(){return this._then(n,n,undefined,this,undefined)};Promise.prototype.then=function(e,t){if(P.warnings()&&arguments.length>0&&typeof e!=="function"&&typeof t!=="function"){var i=".then() only accepts functions but was passed: "+a.classString(e);if(arguments.length>1){i+=", "+a.classString(t)}this._warn(i)}return this._then(e,t,undefined,undefined,undefined)};Promise.prototype.done=function(e,t){var i=this._then(e,t,undefined,undefined,undefined);i._setIsFinal()};Promise.prototype.spread=function(e){if(typeof e!=="function"){return r("expecting a function but got "+a.classString(e))}return this.all()._then(e,undefined,undefined,w,undefined)};Promise.prototype.toJSON=function(){var e={isFulfilled:false,isRejected:false,fulfillmentValue:undefined,rejectionReason:undefined};if(this.isFulfilled()){e.fulfillmentValue=this.value();e.isFulfilled=true}else if(this.isRejected()){e.rejectionReason=this.reason();e.isRejected=true}return e};Promise.prototype.all=function(){if(arguments.length>0){this._warn(".all() was passed arguments but it does not take any")}return new C(this).promise()};Promise.prototype.error=function(e){return this.caught(a.originatesFromRejection,e)};Promise.getNewLibraryCopy=e.exports;Promise.is=function(e){return e instanceof Promise};Promise.fromNode=Promise.fromCallback=function(e){var t=new Promise(b);t._captureStackTrace();var i=arguments.length>1?!!Object(arguments[1]).multiArgs:false;var n=j(e)(O(t,i));if(n===F){t._rejectCallback(n.e,true)}if(!t._isFateSealed())t._setAsyncGuaranteed();return t};Promise.all=function(e){return new C(e).promise()};Promise.cast=function(e){var t=k(e);if(!(t instanceof Promise)){t=new Promise(b);t._captureStackTrace();t._setFulfilled();t._rejectionHandler0=e}return t};Promise.resolve=Promise.fulfilled=Promise.cast;Promise.reject=Promise.rejected=function(e){var t=new Promise(b);t._captureStackTrace();t._rejectCallback(e,true);return t};Promise.setScheduler=function(e){if(typeof e!=="function"){throw new y("expecting a function but got "+a.classString(e))}return g.setScheduler(e)};Promise.prototype._then=function(e,t,i,n,r){var s=r!==undefined;var o=s?r:new Promise(b);var c=this._target();var l=c._bitField;if(!s){o._propagateFrom(this,3);o._captureStackTrace();if(n===undefined&&(this._bitField&2097152)!==0){if(!((l&50397184)===0)){n=this._boundValue()}else{n=c===this?undefined:this._boundTo}}this._fireEvent("promiseChained",this,o)}var u=f();if(!((l&50397184)===0)){var h,p,d=c._settlePromiseCtx;if((l&33554432)!==0){p=c._rejectionHandler0;h=e}else if((l&16777216)!==0){p=c._fulfillmentHandler0;h=t;c._unsetRejectionIsUnhandled()}else{d=c._settlePromiseLateCancellationObserver;p=new x("late cancellation observer");c._attachExtraTrace(p);h=t}g.invoke(d,c,{handler:a.contextBind(u,h),promise:o,receiver:n,value:p})}else{c._addCallbacks(e,t,o,n,u)}return o};Promise.prototype._length=function(){return this._bitField&65535};Promise.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0};Promise.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864};Promise.prototype._setLength=function(e){this._bitField=this._bitField&-65536|e&65535};Promise.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432;this._fireEvent("promiseFulfilled",this)};Promise.prototype._setRejected=function(){this._bitField=this._bitField|16777216;this._fireEvent("promiseRejected",this)};Promise.prototype._setFollowing=function(){this._bitField=this._bitField|67108864;this._fireEvent("promiseResolved",this)};Promise.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304};Promise.prototype._isFinal=function(){return(this._bitField&4194304)>0};Promise.prototype._unsetCancelled=function(){this._bitField=this._bitField&~65536};Promise.prototype._setCancelled=function(){this._bitField=this._bitField|65536;this._fireEvent("promiseCancelled",this)};Promise.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608};Promise.prototype._setAsyncGuaranteed=function(){if(g.hasCustomScheduler())return;var e=this._bitField;this._bitField=e|(e&536870912)>>2^134217728};Promise.prototype._setNoAsyncGuarantee=function(){this._bitField=(this._bitField|536870912)&~134217728};Promise.prototype._receiverAt=function(e){var t=e===0?this._receiver0:this[e*4-4+3];if(t===s){return undefined}else if(t===undefined&&this._isBound()){return this._boundValue()}return t};Promise.prototype._promiseAt=function(e){return this[e*4-4+2]};Promise.prototype._fulfillmentHandlerAt=function(e){return this[e*4-4+0]};Promise.prototype._rejectionHandlerAt=function(e){return this[e*4-4+1]};Promise.prototype._boundValue=function(){};Promise.prototype._migrateCallback0=function(e){var t=e._bitField;var i=e._fulfillmentHandler0;var n=e._rejectionHandler0;var r=e._promise0;var a=e._receiverAt(0);if(a===undefined)a=s;this._addCallbacks(i,n,r,a,null)};Promise.prototype._migrateCallbackAt=function(e,t){var i=e._fulfillmentHandlerAt(t);var n=e._rejectionHandlerAt(t);var r=e._promiseAt(t);var a=e._receiverAt(t);if(a===undefined)a=s;this._addCallbacks(i,n,r,a,null)};Promise.prototype._addCallbacks=function(e,t,i,n,r){var s=this._length();if(s>=65535-4){s=0;this._setLength(0)}if(s===0){this._promise0=i;this._receiver0=n;if(typeof e==="function"){this._fulfillmentHandler0=a.contextBind(r,e)}if(typeof t==="function"){this._rejectionHandler0=a.contextBind(r,t)}}else{var o=s*4-4;this[o+2]=i;this[o+3]=n;if(typeof e==="function"){this[o+0]=a.contextBind(r,e)}if(typeof t==="function"){this[o+1]=a.contextBind(r,t)}}this._setLength(s+1);return s};Promise.prototype._proxy=function(e,t){this._addCallbacks(undefined,undefined,t,e,null)};Promise.prototype._resolveCallback=function(e,i){if((this._bitField&117506048)!==0)return;if(e===this)return this._rejectCallback(t(),false);var n=k(e,this);if(!(n instanceof Promise))return this._fulfill(e);if(i)this._propagateFrom(n,2);var r=n._target();if(r===this){this._reject(t());return}var s=r._bitField;if((s&50397184)===0){var a=this._length();if(a>0)r._migrateCallback0(this);for(var o=1;o<a;++o){r._migrateCallbackAt(this,o)}this._setFollowing();this._setLength(0);this._setFollowee(n)}else if((s&33554432)!==0){this._fulfill(r._value())}else if((s&16777216)!==0){this._reject(r._reason())}else{var c=new x("late cancellation observer");r._attachExtraTrace(c);this._reject(c)}};Promise.prototype._rejectCallback=function(e,t,i){var n=a.ensureErrorObject(e);var r=n===e;if(!r&&!i&&P.warnings()){var s="a promise was rejected with a non-error: "+a.classString(e);this._warn(s,true)}this._attachExtraTrace(n,t?r:false);this._reject(e)};Promise.prototype._resolveFromExecutor=function(e){if(e===b)return;var t=this;this._captureStackTrace();this._pushContext();var i=true;var n=this._execute(e,function(e){t._resolveCallback(e)},function(e){t._rejectCallback(e,i)});i=false;this._popContext();if(n!==undefined){t._rejectCallback(n,true)}};Promise.prototype._settlePromiseFromHandler=function(e,t,i,n){var r=n._bitField;if((r&65536)!==0)return;n._pushContext();var s;if(t===w){if(!i||typeof i.length!=="number"){s=F;s.e=new y("cannot .spread() a non-array: "+a.classString(i))}else{s=j(e).apply(this._boundValue(),i)}}else{s=j(e).call(t,i)}var o=n._popContext();r=n._bitField;if((r&65536)!==0)return;if(s===S){n._reject(i)}else if(s===F){n._rejectCallback(s.e,false)}else{P.checkForgottenReturns(s,o,"",n,this);n._resolveCallback(s)}};Promise.prototype._target=function(){var e=this;while(e._isFollowing())e=e._followee();return e};Promise.prototype._followee=function(){return this._rejectionHandler0};Promise.prototype._setFollowee=function(e){this._rejectionHandler0=e};Promise.prototype._settlePromise=function(e,t,i,r){var s=e instanceof Promise;var a=this._bitField;var o=(a&134217728)!==0;if((a&65536)!==0){if(s)e._invokeInternalOnCancel();if(i instanceof I&&i.isFinallyHandler()){i.cancelPromise=e;if(j(t).call(i,r)===F){e._reject(F.e)}}else if(t===n){e._fulfill(n.call(i))}else if(i instanceof Proxyable){i._promiseCancelled(e)}else if(s||e instanceof C){e._cancel()}else{i.cancel()}}else if(typeof t==="function"){if(!s){t.call(i,r,e)}else{if(o)e._setAsyncGuaranteed();this._settlePromiseFromHandler(t,i,r,e)}}else if(i instanceof Proxyable){if(!i._isResolved()){if((a&33554432)!==0){i._promiseFulfilled(r,e)}else{i._promiseRejected(r,e)}}}else if(s){if(o)e._setAsyncGuaranteed();if((a&33554432)!==0){e._fulfill(r)}else{e._reject(r)}}};Promise.prototype._settlePromiseLateCancellationObserver=function(e){var t=e.handler;var i=e.promise;var n=e.receiver;var r=e.value;if(typeof t==="function"){if(!(i instanceof Promise)){t.call(n,r,i)}else{this._settlePromiseFromHandler(t,n,r,i)}}else if(i instanceof Promise){i._reject(r)}};Promise.prototype._settlePromiseCtx=function(e){this._settlePromise(e.promise,e.handler,e.receiver,e.value)};Promise.prototype._settlePromise0=function(e,t,i){var n=this._promise0;var r=this._receiverAt(0);this._promise0=undefined;this._receiver0=undefined;this._settlePromise(n,e,r,t)};Promise.prototype._clearCallbackDataAtIndex=function(e){var t=e*4-4;this[t+2]=this[t+3]=this[t+0]=this[t+1]=undefined};Promise.prototype._fulfill=function(e){var i=this._bitField;if((i&117506048)>>>16)return;if(e===this){var n=t();this._attachExtraTrace(n);return this._reject(n)}this._setFulfilled();this._rejectionHandler0=e;if((i&65535)>0){if((i&134217728)!==0){this._settlePromises()}else{g.settlePromises(this)}this._dereferenceTrace()}};Promise.prototype._reject=function(e){var t=this._bitField;if((t&117506048)>>>16)return;this._setRejected();this._fulfillmentHandler0=e;if(this._isFinal()){return g.fatalError(e,a.isNode)}if((t&65535)>0){g.settlePromises(this)}else{this._ensurePossibleRejectionHandled()}};Promise.prototype._fulfillPromises=function(e,t){for(var i=1;i<e;i++){var n=this._fulfillmentHandlerAt(i);var r=this._promiseAt(i);var s=this._receiverAt(i);this._clearCallbackDataAtIndex(i);this._settlePromise(r,n,s,t)}};Promise.prototype._rejectPromises=function(e,t){for(var i=1;i<e;i++){var n=this._rejectionHandlerAt(i);var r=this._promiseAt(i);var s=this._receiverAt(i);this._clearCallbackDataAtIndex(i);this._settlePromise(r,n,s,t)}};Promise.prototype._settlePromises=function(){var e=this._bitField;var t=e&65535;if(t>0){if((e&16842752)!==0){var i=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,i,e);this._rejectPromises(t,i)}else{var n=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,n,e);this._fulfillPromises(t,n)}this._setLength(0)}this._clearCancellationData()};Promise.prototype._settledValue=function(){var e=this._bitField;if((e&33554432)!==0){return this._rejectionHandler0}else if((e&16777216)!==0){return this._fulfillmentHandler0}};if(typeof Symbol!=="undefined"&&Symbol.toStringTag){m.defineProperty(Promise.prototype,Symbol.toStringTag,{get:function(){return"Object"}})}function deferResolve(e){this.promise._resolveCallback(e)}function deferReject(e){this.promise._rejectCallback(e,false)}Promise.defer=Promise.pending=function(){P.deprecated("Promise.defer","new Promise");var e=new Promise(b);return{promise:e,resolve:deferResolve,reject:deferReject}};a.notEnumerableProp(Promise,"_makeSelfResolutionError",t);i(7415)(Promise,b,k,r,P);i(3767)(Promise,b,k,P);i(6616)(Promise,C,r,P);i(8277)(Promise);i(6653)(Promise);i(5248)(Promise,C,k,b,g);Promise.Promise=Promise;Promise.version="3.7.2";i(924)(Promise);i(8619)(Promise,r,b,k,Proxyable,P);i(8150)(Promise,C,r,k,b,P);i(5447)(Promise);i(3047)(Promise,b);i(5261)(Promise,C,k,r);i(256)(Promise,b,k,r);i(8959)(Promise,C,r,k,b,P);i(6087)(Promise,C,P);i(1156)(Promise,C,r);i(2114)(Promise,b,P);i(880)(Promise,r,k,A,b,P);i(5490)(Promise);i(838)(Promise,b);i(2223)(Promise,b);a.toFastProperties(Promise);a.toFastProperties(Promise.prototype);function fillTypes(e){var t=new Promise(b);t._fulfillmentHandler0=e;t._rejectionHandler0=e;t._promise0=e;t._receiver0=e}fillTypes({a:1});fillTypes({b:2});fillTypes({c:3});fillTypes(1);fillTypes(function(){});fillTypes(undefined);fillTypes(false);fillTypes(new Promise(b));P.setBounds(_.firstLineError,a.lastLineError);return Promise}},5307:(e,t,i)=>{"use strict";e.exports=function(e,t,n,r,s){var a=i(7448);var o=a.isArray;function toResolutionValue(e){switch(e){case-2:return[];case-3:return{};case-6:return new Map}}function PromiseArray(i){var n=this._promise=new e(t);if(i instanceof e){n._propagateFrom(i,3);i.suppressUnhandledRejections()}n._setOnCancel(this);this._values=i;this._length=0;this._totalResolved=0;this._init(undefined,-2)}a.inherits(PromiseArray,s);PromiseArray.prototype.length=function(){return this._length};PromiseArray.prototype.promise=function(){return this._promise};PromiseArray.prototype._init=function init(t,i){var s=n(this._values,this._promise);if(s instanceof e){s=s._target();var o=s._bitField;this._values=s;if((o&50397184)===0){this._promise._setAsyncGuaranteed();return s._then(init,this._reject,undefined,this,i)}else if((o&33554432)!==0){s=s._value()}else if((o&16777216)!==0){return this._reject(s._reason())}else{return this._cancel()}}s=a.asArray(s);if(s===null){var c=r("expecting an array or an iterable object but got "+a.classString(s)).reason();this._promise._rejectCallback(c,false);return}if(s.length===0){if(i===-5){this._resolveEmptyArray()}else{this._resolve(toResolutionValue(i))}return}this._iterate(s)};PromiseArray.prototype._iterate=function(t){var i=this.getActualLength(t.length);this._length=i;this._values=this.shouldCopyValues()?new Array(i):this._values;var r=this._promise;var s=false;var a=null;for(var o=0;o<i;++o){var c=n(t[o],r);if(c instanceof e){c=c._target();a=c._bitField}else{a=null}if(s){if(a!==null){c.suppressUnhandledRejections()}}else if(a!==null){if((a&50397184)===0){c._proxy(this,o);this._values[o]=c}else if((a&33554432)!==0){s=this._promiseFulfilled(c._value(),o)}else if((a&16777216)!==0){s=this._promiseRejected(c._reason(),o)}else{s=this._promiseCancelled(o)}}else{s=this._promiseFulfilled(c,o)}}if(!s)r._setAsyncGuaranteed()};PromiseArray.prototype._isResolved=function(){return this._values===null};PromiseArray.prototype._resolve=function(e){this._values=null;this._promise._fulfill(e)};PromiseArray.prototype._cancel=function(){if(this._isResolved()||!this._promise._isCancellable())return;this._values=null;this._promise._cancel()};PromiseArray.prototype._reject=function(e){this._values=null;this._promise._rejectCallback(e,false)};PromiseArray.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var i=++this._totalResolved;if(i>=this._length){this._resolve(this._values);return true}return false};PromiseArray.prototype._promiseCancelled=function(){this._cancel();return true};PromiseArray.prototype._promiseRejected=function(e){this._totalResolved++;this._reject(e);return true};PromiseArray.prototype._resultCancelled=function(){if(this._isResolved())return;var t=this._values;this._cancel();if(t instanceof e){t.cancel()}else{for(var i=0;i<t.length;++i){if(t[i]instanceof e){t[i].cancel()}}}};PromiseArray.prototype.shouldCopyValues=function(){return true};PromiseArray.prototype.getActualLength=function(e){return e};return PromiseArray}},3047:(e,t,i)=>{"use strict";e.exports=function(e,t){var n={};var r=i(7448);var s=i(4315);var a=r.withAppended;var o=r.maybeWrapAsError;var c=r.canEvaluate;var l=i(5816).TypeError;var u="Async";var h={__isPromisified__:true};var f=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"];var p=new RegExp("^(?:"+f.join("|")+")$");var d=function(e){return r.isIdentifier(e)&&e.charAt(0)!=="_"&&e!=="constructor"};function propsFilter(e){return!p.test(e)}function isPromisified(e){try{return e.__isPromisified__===true}catch(e){return false}}function hasPromisified(e,t,i){var n=r.getDataPropertyOrDefault(e,t+i,h);return n?isPromisified(n):false}function checkValid(e,t,i){for(var n=0;n<e.length;n+=2){var r=e[n];if(i.test(r)){var s=r.replace(i,"");for(var a=0;a<e.length;a+=2){if(e[a]===s){throw new l("Cannot promisify an API that has normal methods with '%s'-suffix\n\n See http://goo.gl/MqrFmX\n".replace("%s",t))}}}}}function promisifiableMethods(e,t,i,n){var s=r.inheritedDataKeys(e);var a=[];for(var o=0;o<s.length;++o){var c=s[o];var l=e[c];var u=n===d?true:d(c,l,e);if(typeof l==="function"&&!isPromisified(l)&&!hasPromisified(e,c,t)&&n(c,l,e,u)){a.push(c,l)}}checkValid(a,t,i);return a}var m=function(e){return e.replace(/([$])/,"\\$")};var _;if(true){var g=function(e){var t=[e];var i=Math.max(0,e-1-3);for(var n=e-1;n>=i;--n){t.push(n)}for(var n=e+1;n<=3;++n){t.push(n)}return t};var v=function(e){return r.filledRange(e,"_arg","")};var y=function(e){return r.filledRange(Math.max(e,3),"_arg","")};var x=function(e){if(typeof e.length==="number"){return Math.max(Math.min(e.length,1023+1),0)}return 0};_=function(i,c,l,u,h,f){var p=Math.max(0,x(u)-1);var d=g(p);var m=typeof i==="string"||c===n;function generateCallForArgumentCount(e){var t=v(e).join(", ");var i=e>0?", ":"";var n;if(m){n="ret = callback.call(this, {{args}}, nodeback); break;\n"}else{n=c===undefined?"ret = callback({{args}}, nodeback); break;\n":"ret = callback.call(receiver, {{args}}, nodeback); break;\n"}return n.replace("{{args}}",t).replace(", ",i)}function generateArgumentSwitchCase(){var e="";for(var t=0;t<d.length;++t){e+="case "+d[t]+":"+generateCallForArgumentCount(d[t])}e+=" \n default: \n var args = new Array(len + 1); \n var i = 0; \n for (var i = 0; i < len; ++i) { \n args[i] = arguments[i]; \n } \n args[i] = nodeback; \n [CodeForCall] \n break; \n ".replace("[CodeForCall]",m?"ret = callback.apply(this, args);\n":"ret = callback.apply(receiver, args);\n");return e}var _=typeof i==="string"?"this != null ? this['"+i+"'] : fn":"fn";var b="'use strict'; \n var ret = function (Parameters) { \n 'use strict'; \n var len = arguments.length; \n var promise = new Promise(INTERNAL); \n promise._captureStackTrace(); \n var nodeback = nodebackForPromise(promise, "+f+"); \n var ret; \n var callback = tryCatch([GetFunctionCode]); \n switch(len) { \n [CodeForSwitchCase] \n } \n if (ret === errorObj) { \n promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\n } \n if (!promise._isFateSealed()) promise._setAsyncGuaranteed(); \n return promise; \n }; \n notEnumerableProp(ret, '__isPromisified__', true); \n return ret; \n ".replace("[CodeForSwitchCase]",generateArgumentSwitchCase()).replace("[GetFunctionCode]",_);b=b.replace("Parameters",y(p));return new Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",b)(e,u,c,a,o,s,r.tryCatch,r.errorObj,r.notEnumerableProp,t)}}function makeNodePromisifiedClosure(i,c,l,u,h,f){var p=function(){return this}();var d=i;if(typeof d==="string"){i=u}function promisified(){var r=c;if(c===n)r=this;var l=new e(t);l._captureStackTrace();var u=typeof d==="string"&&this!==p?this[d]:i;var h=s(l,f);try{u.apply(r,a(arguments,h))}catch(e){l._rejectCallback(o(e),true,true)}if(!l._isFateSealed())l._setAsyncGuaranteed();return l}r.notEnumerableProp(promisified,"__isPromisified__",true);return promisified}var b=c?_:makeNodePromisifiedClosure;function promisifyAll(e,t,i,s,a){var o=new RegExp(m(t)+"$");var c=promisifiableMethods(e,t,o,i);for(var l=0,u=c.length;l<u;l+=2){var h=c[l];var f=c[l+1];var p=h+t;if(s===b){e[p]=b(h,n,h,f,t,a)}else{var d=s(f,function(){return b(h,n,h,f,t,a)});r.notEnumerableProp(d,"__isPromisified__",true);e[p]=d}}r.toFastProperties(e);return e}function promisify(e,t,i){return b(e,t,undefined,e,null,i)}e.promisify=function(e,t){if(typeof e!=="function"){throw new l("expecting a function but got "+r.classString(e))}if(isPromisified(e)){return e}t=Object(t);var i=t.context===undefined?n:t.context;var s=!!t.multiArgs;var a=promisify(e,i,s);r.copyDescriptors(e,a,propsFilter);return a};e.promisifyAll=function(e,t){if(typeof e!=="function"&&typeof e!=="object"){throw new l("the target of promisifyAll must be an object or a function\n\n See http://goo.gl/MqrFmX\n")}t=Object(t);var i=!!t.multiArgs;var n=t.suffix;if(typeof n!=="string")n=u;var s=t.filter;if(typeof s!=="function")s=d;var a=t.promisifier;if(typeof a!=="function")a=b;if(!r.isIdentifier(n)){throw new RangeError("suffix must be a valid identifier\n\n See http://goo.gl/MqrFmX\n")}var o=r.inheritedDataKeys(e);for(var c=0;c<o.length;++c){var h=e[o[c]];if(o[c]!=="constructor"&&r.isClass(h)){promisifyAll(h.prototype,n,s,a,i);promisifyAll(h,n,s,a,i)}}return promisifyAll(e,n,s,a,i)}}},5261:(e,t,i)=>{"use strict";e.exports=function(e,t,n,r){var s=i(7448);var a=s.isObject;var o=i(3062);var c;if(typeof Map==="function")c=Map;var l=function(){var e=0;var t=0;function extractEntry(i,n){this[e]=i;this[e+t]=n;e++}return function mapToEntries(i){t=i.size;e=0;var n=new Array(i.size*2);i.forEach(extractEntry,n);return n}}();var u=function(e){var t=new c;var i=e.length/2|0;for(var n=0;n<i;++n){var r=e[i+n];var s=e[n];t.set(r,s)}return t};function PropertiesPromiseArray(e){var t=false;var i;if(c!==undefined&&e instanceof c){i=l(e);t=true}else{var n=o.keys(e);var r=n.length;i=new Array(r*2);for(var s=0;s<r;++s){var a=n[s];i[s]=e[a];i[s+r]=a}}this.constructor$(i);this._isMap=t;this._init$(undefined,t?-6:-3)}s.inherits(PropertiesPromiseArray,t);PropertiesPromiseArray.prototype._init=function(){};PropertiesPromiseArray.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var i=++this._totalResolved;if(i>=this._length){var n;if(this._isMap){n=u(this._values)}else{n={};var r=this.length();for(var s=0,a=this.length();s<a;++s){n[this._values[s+r]]=this._values[s]}}this._resolve(n);return true}return false};PropertiesPromiseArray.prototype.shouldCopyValues=function(){return false};PropertiesPromiseArray.prototype.getActualLength=function(e){return e>>1};function props(t){var i;var s=n(t);if(!a(s)){return r("cannot await properties of a non-object\n\n See http://goo.gl/MqrFmX\n")}else if(s instanceof e){i=s._then(e.props,undefined,undefined,undefined,undefined)}else{i=new PropertiesPromiseArray(s).promise()}if(s instanceof e){i._propagateFrom(s,2)}return i}e.prototype.props=function(){return props(this)};e.props=function(e){return props(e)}}},878:e=>{"use strict";function arrayMove(e,t,i,n,r){for(var s=0;s<r;++s){i[s+n]=e[s+t];e[s+t]=void 0}}function Queue(e){this._capacity=e;this._length=0;this._front=0}Queue.prototype._willBeOverCapacity=function(e){return this._capacity<e};Queue.prototype._pushOne=function(e){var t=this.length();this._checkCapacity(t+1);var i=this._front+t&this._capacity-1;this[i]=e;this._length=t+1};Queue.prototype.push=function(e,t,i){var n=this.length()+3;if(this._willBeOverCapacity(n)){this._pushOne(e);this._pushOne(t);this._pushOne(i);return}var r=this._front+n-3;this._checkCapacity(n);var s=this._capacity-1;this[r+0&s]=e;this[r+1&s]=t;this[r+2&s]=i;this._length=n};Queue.prototype.shift=function(){var e=this._front,t=this[e];this[e]=undefined;this._front=e+1&this._capacity-1;this._length--;return t};Queue.prototype.length=function(){return this._length};Queue.prototype._checkCapacity=function(e){if(this._capacity<e){this._resizeTo(this._capacity<<1)}};Queue.prototype._resizeTo=function(e){var t=this._capacity;this._capacity=e;var i=this._front;var n=this._length;var r=i+n&t-1;arrayMove(this,0,this,t,r)};e.exports=Queue},256:(e,t,i)=>{"use strict";e.exports=function(e,t,n,r){var s=i(7448);var a=function(e){return e.then(function(t){return race(t,e)})};function race(i,o){var c=n(i);if(c instanceof e){return a(c)}else{i=s.asArray(i);if(i===null)return r("expecting an array or an iterable object but got "+s.classString(i))}var l=new e(t);if(o!==undefined){l._propagateFrom(o,3)}var u=l._fulfill;var h=l._reject;for(var f=0,p=i.length;f<p;++f){var d=i[f];if(d===undefined&&!(f in i)){continue}e.cast(d)._then(u,h,undefined,l,null)}return l}e.race=function(e){return race(e,undefined)};e.prototype.race=function(){return race(this,undefined)}}},8959:(e,t,i)=>{"use strict";e.exports=function(e,t,n,r,s,a){var o=i(7448);var c=o.tryCatch;function ReductionPromiseArray(t,i,n,r){this.constructor$(t);var a=e._getContext();this._fn=o.contextBind(a,i);if(n!==undefined){n=e.resolve(n);n._attachCancellationCallback(this)}this._initialValue=n;this._currentCancellable=null;if(r===s){this._eachValues=Array(this._length)}else if(r===0){this._eachValues=null}else{this._eachValues=undefined}this._promise._captureStackTrace();this._init$(undefined,-5)}o.inherits(ReductionPromiseArray,t);ReductionPromiseArray.prototype._gotAccum=function(e){if(this._eachValues!==undefined&&this._eachValues!==null&&e!==s){this._eachValues.push(e)}};ReductionPromiseArray.prototype._eachComplete=function(e){if(this._eachValues!==null){this._eachValues.push(e)}return this._eachValues};ReductionPromiseArray.prototype._init=function(){};ReductionPromiseArray.prototype._resolveEmptyArray=function(){this._resolve(this._eachValues!==undefined?this._eachValues:this._initialValue)};ReductionPromiseArray.prototype.shouldCopyValues=function(){return false};ReductionPromiseArray.prototype._resolve=function(e){this._promise._resolveCallback(e);this._values=null};ReductionPromiseArray.prototype._resultCancelled=function(t){if(t===this._initialValue)return this._cancel();if(this._isResolved())return;this._resultCancelled$();if(this._currentCancellable instanceof e){this._currentCancellable.cancel()}if(this._initialValue instanceof e){this._initialValue.cancel()}};ReductionPromiseArray.prototype._iterate=function(t){this._values=t;var i;var n;var r=t.length;if(this._initialValue!==undefined){i=this._initialValue;n=0}else{i=e.resolve(t[0]);n=1}this._currentCancellable=i;for(var s=n;s<r;++s){var a=t[s];if(a instanceof e){a.suppressUnhandledRejections()}}if(!i.isRejected()){for(;n<r;++n){var o={accum:null,value:t[n],index:n,length:r,array:this};i=i._then(gotAccum,undefined,undefined,o,undefined);if((n&127)===0){i._setNoAsyncGuarantee()}}}if(this._eachValues!==undefined){i=i._then(this._eachComplete,undefined,undefined,this,undefined)}i._then(completed,completed,undefined,i,this)};e.prototype.reduce=function(e,t){return reduce(this,e,t,null)};e.reduce=function(e,t,i,n){return reduce(e,t,i,n)};function completed(e,t){if(this.isFulfilled()){t._resolve(e)}else{t._reject(e)}}function reduce(e,t,i,r){if(typeof t!=="function"){return n("expecting a function but got "+o.classString(t))}var s=new ReductionPromiseArray(e,t,i,r);return s.promise()}function gotAccum(t){this.accum=t;this.array._gotAccum(t);var i=r(this.value,this.array._promise);if(i instanceof e){this.array._currentCancellable=i;return i._then(gotValue,undefined,undefined,this,undefined)}else{return gotValue.call(this,i)}}function gotValue(t){var i=this.array;var n=i._promise;var r=c(i._fn);n._pushContext();var s;if(i._eachValues!==undefined){s=r.call(n._boundValue(),t,this.index,this.length)}else{s=r.call(n._boundValue(),this.accum,t,this.index,this.length)}if(s instanceof e){i._currentCancellable=s}var o=n._popContext();a.checkForgottenReturns(s,o,i._eachValues!==undefined?"Promise.each":"Promise.reduce",n);return s}}},6203:(e,t,i)=>{"use strict";var n=i(7448);var r;var s=function(){throw new Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")};var a=n.getNativePromise();if(n.isNode&&typeof MutationObserver==="undefined"){var o=global.setImmediate;var c=process.nextTick;r=n.isRecentNode?function(e){o.call(global,e)}:function(e){c.call(process,e)}}else if(typeof a==="function"&&typeof a.resolve==="function"){var l=a.resolve();r=function(e){l.then(e)}}else if(typeof MutationObserver!=="undefined"&&!(typeof window!=="undefined"&&window.navigator&&(window.navigator.standalone||window.cordova))&&"classList"in document.documentElement){r=function(){var e=document.createElement("div");var t={attributes:true};var i=false;var n=document.createElement("div");var r=new MutationObserver(function(){e.classList.toggle("foo");i=false});r.observe(n,t);var s=function(){if(i)return;i=true;n.classList.toggle("foo")};return function schedule(i){var n=new MutationObserver(function(){n.disconnect();i()});n.observe(e,t);s()}}()}else if(typeof setImmediate!=="undefined"){r=function(e){setImmediate(e)}}else if(typeof setTimeout!=="undefined"){r=function(e){setTimeout(e,0)}}else{r=s}e.exports=r},6087:(e,t,i)=>{"use strict";e.exports=function(e,t,n){var r=e.PromiseInspection;var s=i(7448);function SettledPromiseArray(e){this.constructor$(e)}s.inherits(SettledPromiseArray,t);SettledPromiseArray.prototype._promiseResolved=function(e,t){this._values[e]=t;var i=++this._totalResolved;if(i>=this._length){this._resolve(this._values);return true}return false};SettledPromiseArray.prototype._promiseFulfilled=function(e,t){var i=new r;i._bitField=33554432;i._settledValueField=e;return this._promiseResolved(t,i)};SettledPromiseArray.prototype._promiseRejected=function(e,t){var i=new r;i._bitField=16777216;i._settledValueField=e;return this._promiseResolved(t,i)};e.settle=function(e){n.deprecated(".settle()",".reflect()");return new SettledPromiseArray(e).promise()};e.allSettled=function(e){return new SettledPromiseArray(e).promise()};e.prototype.settle=function(){return e.settle(this)}}},1156:(e,t,i)=>{"use strict";e.exports=function(e,t,n){var r=i(7448);var s=i(5816).RangeError;var a=i(5816).AggregateError;var o=r.isArray;var c={};function SomePromiseArray(e){this.constructor$(e);this._howMany=0;this._unwrap=false;this._initialized=false}r.inherits(SomePromiseArray,t);SomePromiseArray.prototype._init=function(){if(!this._initialized){return}if(this._howMany===0){this._resolve([]);return}this._init$(undefined,-5);var e=o(this._values);if(!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()){this._reject(this._getRangeError(this.length()))}};SomePromiseArray.prototype.init=function(){this._initialized=true;this._init()};SomePromiseArray.prototype.setUnwrap=function(){this._unwrap=true};SomePromiseArray.prototype.howMany=function(){return this._howMany};SomePromiseArray.prototype.setHowMany=function(e){this._howMany=e};SomePromiseArray.prototype._promiseFulfilled=function(e){this._addFulfilled(e);if(this._fulfilled()===this.howMany()){this._values.length=this.howMany();if(this.howMany()===1&&this._unwrap){this._resolve(this._values[0])}else{this._resolve(this._values)}return true}return false};SomePromiseArray.prototype._promiseRejected=function(e){this._addRejected(e);return this._checkOutcome()};SomePromiseArray.prototype._promiseCancelled=function(){if(this._values instanceof e||this._values==null){return this._cancel()}this._addRejected(c);return this._checkOutcome()};SomePromiseArray.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){var e=new a;for(var t=this.length();t<this._values.length;++t){if(this._values[t]!==c){e.push(this._values[t])}}if(e.length>0){this._reject(e)}else{this._cancel()}return true}return false};SomePromiseArray.prototype._fulfilled=function(){return this._totalResolved};SomePromiseArray.prototype._rejected=function(){return this._values.length-this.length()};SomePromiseArray.prototype._addRejected=function(e){this._values.push(e)};SomePromiseArray.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e};SomePromiseArray.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()};SomePromiseArray.prototype._getRangeError=function(e){var t="Input array must contain at least "+this._howMany+" items but contains only "+e+" items";return new s(t)};SomePromiseArray.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function some(e,t){if((t|0)!==t||t<0){return n("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n")}var i=new SomePromiseArray(e);var r=i.promise();i.setHowMany(t);i.init();return r}e.some=function(e,t){return some(e,t)};e.prototype.some=function(e){return some(this,e)};e._SomePromiseArray=SomePromiseArray}},6653:e=>{"use strict";e.exports=function(e){function PromiseInspection(e){if(e!==undefined){e=e._target();this._bitField=e._bitField;this._settledValueField=e._isFateSealed()?e._settledValue():undefined}else{this._bitField=0;this._settledValueField=undefined}}PromiseInspection.prototype._settledValue=function(){return this._settledValueField};var t=PromiseInspection.prototype.value=function(){if(!this.isFulfilled()){throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n")}return this._settledValue()};var i=PromiseInspection.prototype.error=PromiseInspection.prototype.reason=function(){if(!this.isRejected()){throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n")}return this._settledValue()};var n=PromiseInspection.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0};var r=PromiseInspection.prototype.isRejected=function(){return(this._bitField&16777216)!==0};var s=PromiseInspection.prototype.isPending=function(){return(this._bitField&50397184)===0};var a=PromiseInspection.prototype.isResolved=function(){return(this._bitField&50331648)!==0};PromiseInspection.prototype.isCancelled=function(){return(this._bitField&8454144)!==0};e.prototype.__isCancelled=function(){return(this._bitField&65536)===65536};e.prototype._isCancelled=function(){return this._target().__isCancelled()};e.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0};e.prototype.isPending=function(){return s.call(this._target())};e.prototype.isRejected=function(){return r.call(this._target())};e.prototype.isFulfilled=function(){return n.call(this._target())};e.prototype.isResolved=function(){return a.call(this._target())};e.prototype.value=function(){return t.call(this._target())};e.prototype.reason=function(){var e=this._target();e._unsetRejectionIsUnhandled();return i.call(e)};e.prototype._value=function(){return this._settledValue()};e.prototype._reason=function(){this._unsetRejectionIsUnhandled();return this._settledValue()};e.PromiseInspection=PromiseInspection}},9787:(e,t,i)=>{"use strict";e.exports=function(e,t){var n=i(7448);var r=n.errorObj;var s=n.isObject;function tryConvertToPromise(i,n){if(s(i)){if(i instanceof e)return i;var a=getThen(i);if(a===r){if(n)n._pushContext();var o=e.reject(a.e);if(n)n._popContext();return o}else if(typeof a==="function"){if(isAnyBluebirdPromise(i)){var o=new e(t);i._then(o._fulfill,o._reject,undefined,o,null);return o}return doThenable(i,a,n)}}return i}function doGetThen(e){return e.then}function getThen(e){try{return doGetThen(e)}catch(e){r.e=e;return r}}var a={}.hasOwnProperty;function isAnyBluebirdPromise(e){try{return a.call(e,"_promise0")}catch(e){return false}}function doThenable(i,s,a){var o=new e(t);var c=o;if(a)a._pushContext();o._captureStackTrace();if(a)a._popContext();var l=true;var u=n.tryCatch(s).call(i,resolve,reject);l=false;if(o&&u===r){o._rejectCallback(u.e,true,true);o=null}function resolve(e){if(!o)return;o._resolveCallback(e);o=null}function reject(e){if(!o)return;o._rejectCallback(e,l,true);o=null}return c}return tryConvertToPromise}},2114:(e,t,i)=>{"use strict";e.exports=function(e,t,n){var r=i(7448);var s=e.TimeoutError;function HandleWrapper(e){this.handle=e}HandleWrapper.prototype._resultCancelled=function(){clearTimeout(this.handle)};var a=function(e){return o(+this).thenReturn(e)};var o=e.delay=function(i,r){var s;var o;if(r!==undefined){s=e.resolve(r)._then(a,null,null,i,undefined);if(n.cancellation()&&r instanceof e){s._setOnCancel(r)}}else{s=new e(t);o=setTimeout(function(){s._fulfill()},+i);if(n.cancellation()){s._setOnCancel(new HandleWrapper(o))}s._captureStackTrace()}s._setAsyncGuaranteed();return s};e.prototype.delay=function(e){return o(e,this)};var c=function(e,t,i){var n;if(typeof t!=="string"){if(t instanceof Error){n=t}else{n=new s("operation timed out")}}else{n=new s(t)}r.markAsOriginatingFromRejection(n);e._attachExtraTrace(n);e._reject(n);if(i!=null){i.cancel()}};function successClear(e){clearTimeout(this.handle);return e}function failureClear(e){clearTimeout(this.handle);throw e}e.prototype.timeout=function(e,t){e=+e;var i,r;var s=new HandleWrapper(setTimeout(function timeoutTimeout(){if(i.isPending()){c(i,t,r)}},e));if(n.cancellation()){r=this.then();i=r._then(successClear,failureClear,undefined,s,undefined);i._setOnCancel(s)}else{i=this._then(successClear,failureClear,undefined,s,undefined)}return i}}},880:(e,t,i)=>{"use strict";e.exports=function(e,t,n,r,s,a){var o=i(7448);var c=i(5816).TypeError;var l=i(7448).inherits;var u=o.errorObj;var h=o.tryCatch;var f={};function thrower(e){setTimeout(function(){throw e},0)}function castPreservingDisposable(e){var t=n(e);if(t!==e&&typeof e._isDisposable==="function"&&typeof e._getDisposer==="function"&&e._isDisposable()){t._setDisposable(e._getDisposer())}return t}function dispose(t,i){var r=0;var a=t.length;var o=new e(s);function iterator(){if(r>=a)return o._fulfill();var s=castPreservingDisposable(t[r++]);if(s instanceof e&&s._isDisposable()){try{s=n(s._getDisposer().tryDispose(i),t.promise)}catch(e){return thrower(e)}if(s instanceof e){return s._then(iterator,thrower,null,null,null)}}iterator()}iterator();return o}function Disposer(e,t,i){this._data=e;this._promise=t;this._context=i}Disposer.prototype.data=function(){return this._data};Disposer.prototype.promise=function(){return this._promise};Disposer.prototype.resource=function(){if(this.promise().isFulfilled()){return this.promise().value()}return f};Disposer.prototype.tryDispose=function(e){var t=this.resource();var i=this._context;if(i!==undefined)i._pushContext();var n=t!==f?this.doDispose(t,e):null;if(i!==undefined)i._popContext();this._promise._unsetDisposable();this._data=null;return n};Disposer.isDisposer=function(e){return e!=null&&typeof e.resource==="function"&&typeof e.tryDispose==="function"};function FunctionDisposer(e,t,i){this.constructor$(e,t,i)}l(FunctionDisposer,Disposer);FunctionDisposer.prototype.doDispose=function(e,t){var i=this.data();return i.call(e,e,t)};function maybeUnwrapDisposer(e){if(Disposer.isDisposer(e)){this.resources[this.index]._setDisposable(e);return e.promise()}return e}function ResourceList(e){this.length=e;this.promise=null;this[e-1]=null}ResourceList.prototype._resultCancelled=function(){var t=this.length;for(var i=0;i<t;++i){var n=this[i];if(n instanceof e){n.cancel()}}};e.using=function(){var i=arguments.length;if(i<2)return t("you must pass at least 2 arguments to Promise.using");var r=arguments[i-1];if(typeof r!=="function"){return t("expecting a function but got "+o.classString(r))}var s;var c=true;if(i===2&&Array.isArray(arguments[0])){s=arguments[0];i=s.length;c=false}else{s=arguments;i--}var l=new ResourceList(i);for(var f=0;f<i;++f){var p=s[f];if(Disposer.isDisposer(p)){var d=p;p=p.promise();p._setDisposable(d)}else{var m=n(p);if(m instanceof e){p=m._then(maybeUnwrapDisposer,null,null,{resources:l,index:f},undefined)}}l[f]=p}var _=new Array(l.length);for(var f=0;f<_.length;++f){_[f]=e.resolve(l[f]).reflect()}var g=e.all(_).then(function(e){for(var t=0;t<e.length;++t){var i=e[t];if(i.isRejected()){u.e=i.error();return u}else if(!i.isFulfilled()){g.cancel();return}e[t]=i.value()}v._pushContext();r=h(r);var n=c?r.apply(undefined,e):r(e);var s=v._popContext();a.checkForgottenReturns(n,s,"Promise.using",v);return n});var v=g.lastly(function(){var t=new e.PromiseInspection(g);return dispose(l,t)});l.promise=v;v._setOnCancel(l);return v};e.prototype._setDisposable=function(e){this._bitField=this._bitField|131072;this._disposer=e};e.prototype._isDisposable=function(){return(this._bitField&131072)>0};e.prototype._getDisposer=function(){return this._disposer};e.prototype._unsetDisposable=function(){this._bitField=this._bitField&~131072;this._disposer=undefined};e.prototype.disposer=function(e){if(typeof e==="function"){return new FunctionDisposer(e,this,r())}throw new c}}},7448:function(module,__unused_webpack_exports,__nccwpck_require__){"use strict";var es5=__nccwpck_require__(3062);var canEvaluate=typeof navigator=="undefined";var errorObj={e:{}};var tryCatchTarget;var globalObject=typeof self!=="undefined"?self:typeof window!=="undefined"?window:typeof global!=="undefined"?global:this!==undefined?this:null;function tryCatcher(){try{var e=tryCatchTarget;tryCatchTarget=null;return e.apply(this,arguments)}catch(e){errorObj.e=e;return errorObj}}function tryCatch(e){tryCatchTarget=e;return tryCatcher}var inherits=function(e,t){var i={}.hasOwnProperty;function T(){this.constructor=e;this.constructor$=t;for(var n in t.prototype){if(i.call(t.prototype,n)&&n.charAt(n.length-1)!=="$"){this[n+"$"]=t.prototype[n]}}}T.prototype=t.prototype;e.prototype=new T;return e.prototype};function isPrimitive(e){return e==null||e===true||e===false||typeof e==="string"||typeof e==="number"}function isObject(e){return typeof e==="function"||typeof e==="object"&&e!==null}function maybeWrapAsError(e){if(!isPrimitive(e))return e;return new Error(safeToString(e))}function withAppended(e,t){var i=e.length;var n=new Array(i+1);var r;for(r=0;r<i;++r){n[r]=e[r]}n[r]=t;return n}function getDataPropertyOrDefault(e,t,i){if(es5.isES5){var n=Object.getOwnPropertyDescriptor(e,t);if(n!=null){return n.get==null&&n.set==null?n.value:i}}else{return{}.hasOwnProperty.call(e,t)?e[t]:undefined}}function notEnumerableProp(e,t,i){if(isPrimitive(e))return e;var n={value:i,configurable:true,enumerable:false,writable:true};es5.defineProperty(e,t,n);return e}function thrower(e){throw e}var inheritedDataKeys=function(){var e=[Array.prototype,Object.prototype,Function.prototype];var t=function(t){for(var i=0;i<e.length;++i){if(e[i]===t){return true}}return false};if(es5.isES5){var i=Object.getOwnPropertyNames;return function(e){var n=[];var r=Object.create(null);while(e!=null&&!t(e)){var s;try{s=i(e)}catch(e){return n}for(var a=0;a<s.length;++a){var o=s[a];if(r[o])continue;r[o]=true;var c=Object.getOwnPropertyDescriptor(e,o);if(c!=null&&c.get==null&&c.set==null){n.push(o)}}e=es5.getPrototypeOf(e)}return n}}else{var n={}.hasOwnProperty;return function(i){if(t(i))return[];var r=[];e:for(var s in i){if(n.call(i,s)){r.push(s)}else{for(var a=0;a<e.length;++a){if(n.call(e[a],s)){continue e}}r.push(s)}}return r}}}();var thisAssignmentPattern=/this\s*\.\s*\S+\s*=/;function isClass(e){try{if(typeof e==="function"){var t=es5.names(e.prototype);var i=es5.isES5&&t.length>1;var n=t.length>0&&!(t.length===1&&t[0]==="constructor");var r=thisAssignmentPattern.test(e+"")&&es5.names(e).length>0;if(i||n||r){return true}}return false}catch(e){return false}}function toFastProperties(obj){function FakeConstructor(){}FakeConstructor.prototype=obj;var receiver=new FakeConstructor;function ic(){return typeof receiver.foo}ic();ic();return obj;eval(obj)}var rident=/^[a-z$_][a-z$_0-9]*$/i;function isIdentifier(e){return rident.test(e)}function filledRange(e,t,i){var n=new Array(e);for(var r=0;r<e;++r){n[r]=t+r+i}return n}function safeToString(e){try{return e+""}catch(e){return"[no string representation]"}}function isError(e){return e instanceof Error||e!==null&&typeof e==="object"&&typeof e.message==="string"&&typeof e.name==="string"}function markAsOriginatingFromRejection(e){try{notEnumerableProp(e,"isOperational",true)}catch(e){}}function originatesFromRejection(e){if(e==null)return false;return e instanceof Error["__BluebirdErrorTypes__"].OperationalError||e["isOperational"]===true}function canAttachTrace(e){return isError(e)&&es5.propertyIsWritable(e,"stack")}var ensureErrorObject=function(){if(!("stack"in new Error)){return function(e){if(canAttachTrace(e))return e;try{throw new Error(safeToString(e))}catch(e){return e}}}else{return function(e){if(canAttachTrace(e))return e;return new Error(safeToString(e))}}}();function classString(e){return{}.toString.call(e)}function copyDescriptors(e,t,i){var n=es5.names(e);for(var r=0;r<n.length;++r){var s=n[r];if(i(s)){try{es5.defineProperty(t,s,es5.getDescriptor(e,s))}catch(e){}}}}var asArray=function(e){if(es5.isArray(e)){return e}return null};if(typeof Symbol!=="undefined"&&Symbol.iterator){var ArrayFrom=typeof Array.from==="function"?function(e){return Array.from(e)}:function(e){var t=[];var i=e[Symbol.iterator]();var n;while(!(n=i.next()).done){t.push(n.value)}return t};asArray=function(e){if(es5.isArray(e)){return e}else if(e!=null&&typeof e[Symbol.iterator]==="function"){return ArrayFrom(e)}return null}}var isNode=typeof process!=="undefined"&&classString(process).toLowerCase()==="[object process]";var hasEnvVariables=typeof process!=="undefined"&&typeof process.env!=="undefined";function env(e){return hasEnvVariables?process.env[e]:undefined}function getNativePromise(){if(typeof Promise==="function"){try{var e=new Promise(function(){});if(classString(e)==="[object Promise]"){return Promise}}catch(e){}}}var reflectHandler;function contextBind(e,t){if(e===null||typeof t!=="function"||t===reflectHandler){return t}if(e.domain!==null){t=e.domain.bind(t)}var i=e.async;if(i!==null){var n=t;t=function(){var e=arguments.length+2;var t=new Array(e);for(var r=2;r<e;++r){t[r]=arguments[r-2]}t[0]=n;t[1]=this;return i.runInAsyncScope.apply(i,t)}}return t}var ret={setReflectHandler:function(e){reflectHandler=e},isClass:isClass,isIdentifier:isIdentifier,inheritedDataKeys:inheritedDataKeys,getDataPropertyOrDefault:getDataPropertyOrDefault,thrower:thrower,isArray:es5.isArray,asArray:asArray,notEnumerableProp:notEnumerableProp,isPrimitive:isPrimitive,isObject:isObject,isError:isError,canEvaluate:canEvaluate,errorObj:errorObj,tryCatch:tryCatch,inherits:inherits,withAppended:withAppended,maybeWrapAsError:maybeWrapAsError,toFastProperties:toFastProperties,filledRange:filledRange,toString:safeToString,canAttachTrace:canAttachTrace,ensureErrorObject:ensureErrorObject,originatesFromRejection:originatesFromRejection,markAsOriginatingFromRejection:markAsOriginatingFromRejection,classString:classString,copyDescriptors:copyDescriptors,isNode:isNode,hasEnvVariables:hasEnvVariables,env:env,global:globalObject,getNativePromise:getNativePromise,contextBind:contextBind};ret.isRecentNode=ret.isNode&&function(){var e;if(process.versions&&process.versions.node){e=process.versions.node.split(".").map(Number)}else if(process.version){e=process.version.split(".").map(Number)}return e[0]===0&&e[1]>10||e[0]>0}();ret.nodeSupportsAsyncResource=ret.isNode&&function(){var e=false;try{var t=__nccwpck_require__(7303).AsyncResource;e=typeof t.prototype.runInAsyncScope==="function"}catch(t){e=false}return e}();if(ret.isNode)ret.toFastProperties(process);try{throw new Error}catch(e){ret.lastLineError=e}module.exports=ret},1940:function(e,t,i){e=i.nmd(e);(function(t){"use strict";var i,n,r,s,a,o,c,l,u,h,f,p,d,m;i={v:"value",n:"number",s:"string",b:"boolean",o:"object",t:"type",a:"array",al:"array-like",i:"iterable",d:"date",f:"function",l:"length"};n={};r={};[{n:"equal",f:equal,s:"v"},{n:"undefined",f:isUndefined,s:"v"},{n:"null",f:isNull,s:"v"},{n:"assigned",f:assigned,s:"v"},{n:"primitive",f:primitive,s:"v"},{n:"includes",f:includes,s:"v"},{n:"zero",f:zero},{n:"infinity",f:infinity},{n:"number",f:number},{n:"integer",f:integer},{n:"even",f:even},{n:"odd",f:odd},{n:"greater",f:greater},{n:"less",f:less},{n:"between",f:between},{n:"greaterOrEqual",f:greaterOrEqual},{n:"lessOrEqual",f:lessOrEqual},{n:"inRange",f:inRange},{n:"positive",f:positive},{n:"negative",f:negative},{n:"string",f:string,s:"s"},{n:"emptyString",f:emptyString,s:"s"},{n:"nonEmptyString",f:nonEmptyString,s:"s"},{n:"contains",f:contains,s:"s"},{n:"match",f:match,s:"s"},{n:"boolean",f:boolean,s:"b"},{n:"object",f:object,s:"o"},{n:"emptyObject",f:emptyObject,s:"o"},{n:"nonEmptyObject",f:nonEmptyObject,s:"o"},{n:"instanceStrict",f:instanceStrict,s:"t"},{n:"instance",f:instance,s:"t"},{n:"like",f:like,s:"t"},{n:"array",f:array,s:"a"},{n:"emptyArray",f:emptyArray,s:"a"},{n:"nonEmptyArray",f:nonEmptyArray,s:"a"},{n:"arrayLike",f:arrayLike,s:"al"},{n:"iterable",f:iterable,s:"i"},{n:"date",f:date,s:"d"},{n:"function",f:isFunction,s:"f"},{n:"hasLength",f:hasLength,s:"l"}].map(function(e){var t=e.n;n[t]="Invalid "+i[e.s||"n"];r[t]=e.f});s={map:map,all:all,any:any};l=["array","arrayLike","iterable","object"];u=Array.prototype.slice;h=Number.NEGATIVE_INFINITY;f=Number.POSITIVE_INFINITY;p=Array.isArray;d=Object.keys;m=typeof Symbol==="function";s=mixin(s,r);a=createModifiedPredicates(assertModifier,assertImpl);o=createModifiedPredicates(notModifier,notImpl);c=createModifiedPredicates(maybeModifier,maybeImpl);a.not=createModifiedModifier(assertModifier,o);a.maybe=createModifiedModifier(assertModifier,c);l.forEach(createOfPredicates);createOfModifiers(a,assertModifier);createOfModifiers(o,notModifier);l.forEach(createMaybeOfModifiers);exportFunctions(mixin(s,{assert:a,not:o,maybe:c}));function equal(e,t){return e===t}function isUndefined(e){return e===undefined}function isNull(e){return e===null}function assigned(e){return e!==undefined&&e!==null}function primitive(e){var t;switch(e){case null:case undefined:case false:case true:return true}t=typeof e;return t==="string"||t==="number"||m&&t==="symbol"}function zero(e){return e===0}function infinity(e){return e===h||e===f}function number(e){return typeof e==="number"&&e>h&&e<f}function integer(e){return typeof e==="number"&&e%1===0}function even(e){return typeof e==="number"&&e%2===0}function odd(e){return integer(e)&&e%2!==0}function greater(e,t){return number(e)&&e>t}function less(e,t){return number(e)&&e<t}function between(e,t,i){if(t<i){return greater(e,t)&&e<i}return less(e,t)&&e>i}function greaterOrEqual(e,t){return number(e)&&e>=t}function lessOrEqual(e,t){return number(e)&&e<=t}function inRange(e,t,i){if(t<i){return greaterOrEqual(e,t)&&e<=i}return lessOrEqual(e,t)&&e>=i}function positive(e){return greater(e,0)}function negative(e){return less(e,0)}function string(e){return typeof e==="string"}function emptyString(e){return e===""}function nonEmptyString(e){return string(e)&&e!==""}function contains(e,t){return string(e)&&e.indexOf(t)!==-1}function match(e,t){return string(e)&&!!e.match(t)}function boolean(e){return e===false||e===true}function object(e){return Object.prototype.toString.call(e)==="[object Object]"}function emptyObject(e){return object(e)&&!some(e,function(){return true})}function some(e,t){for(var i in e){if(e.hasOwnProperty(i)){if(t(i,e[i])){return true}}}return false}function nonEmptyObject(e){return object(e)&&some(e,function(){return true})}function instanceStrict(e,t){try{return e instanceof t}catch(e){return false}}function instance(e,t){try{return instanceStrict(e,t)||e.constructor.name===t.name||Object.prototype.toString.call(e)==="[object "+t.name+"]"}catch(e){return false}}function like(e,t){var i;for(i in t){if(t.hasOwnProperty(i)){if(e.hasOwnProperty(i)===false||typeof e[i]!==typeof t[i]){return false}if(object(e[i])&&like(e[i],t[i])===false){return false}}}return true}function array(e){return p(e)}function emptyArray(e){return p(e)&&e.length===0}function nonEmptyArray(e){return p(e)&&e.length>0}function arrayLike(e){return assigned(e)&&e.length>=0}function iterable(e){if(!m){return arrayLike(e)}return assigned(e)&&isFunction(e[Symbol.iterator])}function includes(e,t){var i,n;if(!assigned(e)){return false}if(m&&e[Symbol.iterator]&&isFunction(e.values)){i=e.values();do{n=i.next();if(n.value===t){return true}}while(!n.done);return false}return some(e,function(e,i){return i===t})}function hasLength(e,t){return assigned(e)&&e.length===t}function date(e){return instanceStrict(e,Date)&&integer(e.getTime())}function isFunction(e){return typeof e==="function"}function map(e,t){var i;if(p(e)){i=[]}else{i={}}if(isFunction(t)){forEach(e,function(e,n){i[e]=t(n)})}else{if(!p(t)){a.object(t)}var n=d(e||{});forEach(t,function(t,r){n.some(function(e,i){if(e===t){n.splice(i,1);return true}return false});if(isFunction(r)){if(o.assigned(e)){i[t]=!!r.m}else{i[t]=r(e[t])}}else{i[t]=map(e[t],r)}})}return i}function forEach(e,t){for(var i in e){if(e.hasOwnProperty(i)){t(i,e[i])}}}function all(e){if(p(e)){return testArray(e,false)}a.object(e);return testObject(e,false)}function testArray(e,t){var i;for(i=0;i<e.length;i+=1){if(e[i]===t){return t}}return!t}function testObject(e,t){var i,n;for(i in e){if(e.hasOwnProperty(i)){n=e[i];if(object(n)&&testObject(n,t)===t){return t}if(n===t){return t}}}return!t}function any(e){if(p(e)){return testArray(e,true)}a.object(e);return testObject(e,true)}function mixin(e,t){forEach(t,function(t,i){e[t]=i});return e}function assertModifier(e,t){return function(){return assertPredicate(e,arguments,t)}}function assertPredicate(e,t,i){var n=e.l||e.length;var r=t[n];var s=t[n+1];assertImpl(e.apply(null,t),nonEmptyString(r)?r:i,isFunction(s)?s:TypeError);return t[0]}function assertImpl(e,t,i){if(e){return e}throw new(i||Error)(t||"Assertion failed")}function notModifier(e){var t=function(){return notImpl(e.apply(null,arguments))};t.l=e.length;return t}function notImpl(e){return!e}function maybeModifier(e){var t=function(){if(o.assigned(arguments[0])){return true}return e.apply(null,arguments)};t.l=e.length;t.m=true;return t}function maybeImpl(e){if(assigned(e)===false){return true}return e}function ofModifier(e,t,i){var n=function(){var n,r;n=arguments[0];if(e==="maybe"&&o.assigned(n)){return true}if(!t(n)){return false}n=coerceCollection(t,n);r=u.call(arguments,1);try{n.forEach(function(t){if((e!=="maybe"||assigned(t))&&!i.apply(null,[t].concat(r))){throw 0}})}catch(e){return false}return true};n.l=i.length;return n}function coerceCollection(e,t){switch(e){case arrayLike:return u.call(t);case object:return d(t).map(function(e){return t[e]});default:return t}}function createModifiedPredicates(e,t){return createModifiedFunctions([e,r,t])}function createModifiedFunctions(e){var t,i,r,s;t=e.shift();i=e.pop();r=e.pop();s=i||{};forEach(r,function(i,r){Object.defineProperty(s,i,{configurable:false,enumerable:true,writable:false,value:t.apply(null,e.concat(r,n[i]))})});return s}function createModifiedModifier(e,t){return createModifiedFunctions([e,t,null])}function createOfPredicates(e){r[e].of=createModifiedFunctions([ofModifier.bind(null,null),r[e],r,null])}function createOfModifiers(e,t){l.forEach(function(i){e[i].of=createModifiedModifier(t,r[i].of)})}function createMaybeOfModifiers(e){c[e].of=createModifiedFunctions([ofModifier.bind(null,"maybe"),r[e],r,null]);a.maybe[e].of=createModifiedModifier(assertModifier,c[e].of);a.not[e].of=createModifiedModifier(assertModifier,o[e].of)}function exportFunctions(i){if(typeof define==="function"&&define.amd){define(function(){return i})}else if(true&&e!==null&&e.exports){e.exports=i}else{t.check=i}}})(this)},8698:(e,t,i)=>{var n=i(2413);var r=["write","end","destroy"];var s=["resume","pause"];var a=["data","close"];var o=Array.prototype.slice;e.exports=duplex;function forEach(e,t){if(e.forEach){return e.forEach(t)}for(var i=0;i<e.length;i++){t(e[i],i)}}function duplex(e,t){var i=new n;var c=false;forEach(r,proxyWriter);forEach(s,proxyReader);forEach(a,proxyStream);t.on("end",handleEnd);e.on("drain",function(){i.emit("drain")});e.on("error",reemit);t.on("error",reemit);i.writable=e.writable;i.readable=t.readable;return i;function proxyWriter(t){i[t]=method;function method(){return e[t].apply(e,arguments)}}function proxyReader(e){i[e]=method;function method(){i.emit(e);var n=t[e];if(n){return n.apply(t,arguments)}t.emit(e)}}function proxyStream(e){t.on(e,reemit);function reemit(){var t=o.call(arguments);t.unshift(e);i.emit.apply(i,t)}}function handleEnd(){if(c){return}c=true;var e=o.call(arguments);e.unshift("end");i.emit.apply(i,e)}function reemit(e){i.emit("error",e)}}},9938:(e,t,i)=>{"use strict";const n=i(5747);const r=i(2413);const s=i(8761);const{promisify:a}=i(1669);const o=i(8698);const c=e=>({level:9,...e});const l=a(s.gzip);e.exports=(async(e,t)=>{if(!e){return 0}const i=await l(e,c(t));return i.length});e.exports.sync=((e,t)=>s.gzipSync(e,c(t)).length);e.exports.stream=(e=>{const t=new r.PassThrough;const i=new r.PassThrough;const n=o(t,i);let a=0;const l=s.createGzip(c(e)).on("data",e=>{a+=e.length}).on("error",()=>{n.gzipSize=0}).on("end",()=>{n.gzipSize=a;n.emit("gzip-size",a);i.end()});t.pipe(l);t.pipe(i,{end:false});return n});e.exports.file=((t,i)=>{return new Promise((r,s)=>{const a=n.createReadStream(t);a.on("error",s);const o=a.pipe(e.exports.stream(i));o.on("error",s);o.on("gzip-size",r)})});e.exports.fileSync=((t,i)=>e.exports.sync(n.readFileSync(t),i))},3854:e=>{"use strict";class Hoopy extends Array{constructor(e){let t,i;if(!isPositiveInteger(e)){throw new TypeError("Argument `size` must be a positive integer.")}super(e);this.grow=(n=>{if(!isPositiveInteger(n)){throw new TypeError("Argument `by` must be a positive integer.")}let r;const s=e+n;for(r=e;r<s;++r){this[r]=undefined}if(i){for(r=0;r<=t;++r){let t=e+r;if(t>=s){t%=s}this[t]=this[r];this[r]=undefined}}e=s});return new Proxy(this,{get(t,i){if(isInteger(i)){return t[getIndex(i,e)]}return t[i]},set(n,r,s){if(isInteger(r)){t=getIndex(r,e);n[t]=s;if(Math.abs(r)>=e){i=true}else{i=false}}else{n[r]=s}return true}})}}function isPositiveInteger(e){return isInteger(e)&&e>0}function isInteger(e){try{return+e%1===0}catch(e){}return false}function getIndex(e,t){if(e===0){return 0}if(e<0){return(t-Math.abs(e))%t}return e%t}function nop(){throw new Error("Not implemented")}Hoopy.prototype.push=nop;Hoopy.prototype.pop=nop;Hoopy.prototype.shift=nop;Hoopy.prototype.unshift=nop;e.exports=Hoopy},6186:(e,t,i)=>{const n=i(2853);const r=i(2930);const{mkdirpNative:s,mkdirpNativeSync:a}=i(4983);const{mkdirpManual:o,mkdirpManualSync:c}=i(356);const{useNative:l,useNativeSync:u}=i(4518);const h=(e,t)=>{e=r(e);t=n(t);return l(t)?s(e,t):o(e,t)};const f=(e,t)=>{e=r(e);t=n(t);return u(t)?a(e,t):c(e,t)};h.sync=f;h.native=((e,t)=>s(r(e),n(t)));h.manual=((e,t)=>o(r(e),n(t)));h.nativeSync=((e,t)=>a(r(e),n(t)));h.manualSync=((e,t)=>c(r(e),n(t)));e.exports=h},4992:(e,t,i)=>{const{dirname:n}=i(5622);const r=(e,t,i=undefined)=>{if(i===t)return Promise.resolve();return e.statAsync(t).then(e=>e.isDirectory()?i:undefined,i=>i.code==="ENOENT"?r(e,n(t),t):undefined)};const s=(e,t,i=undefined)=>{if(i===t)return undefined;try{return e.statSync(t).isDirectory()?i:undefined}catch(i){return i.code==="ENOENT"?s(e,n(t),t):undefined}};e.exports={findMade:r,findMadeSync:s}},356:(e,t,i)=>{const{dirname:n}=i(5622);const r=(e,t,i)=>{t.recursive=false;const s=n(e);if(s===e){return t.mkdirAsync(e,t).catch(e=>{if(e.code!=="EISDIR")throw e})}return t.mkdirAsync(e,t).then(()=>i||e,n=>{if(n.code==="ENOENT")return r(s,t).then(i=>r(e,t,i));if(n.code!=="EEXIST"&&n.code!=="EROFS")throw n;return t.statAsync(e).then(e=>{if(e.isDirectory())return i;else throw n},()=>{throw n})})};const s=(e,t,i)=>{const r=n(e);t.recursive=false;if(r===e){try{return t.mkdirSync(e,t)}catch(e){if(e.code!=="EISDIR")throw e;else return}}try{t.mkdirSync(e,t);return i||e}catch(n){if(n.code==="ENOENT")return s(e,t,s(r,t,i));if(n.code!=="EEXIST"&&n.code!=="EROFS")throw n;try{if(!t.statSync(e).isDirectory())throw n}catch(e){throw n}}};e.exports={mkdirpManual:r,mkdirpManualSync:s}},4983:(e,t,i)=>{const{dirname:n}=i(5622);const{findMade:r,findMadeSync:s}=i(4992);const{mkdirpManual:a,mkdirpManualSync:o}=i(356);const c=(e,t)=>{t.recursive=true;const i=n(e);if(i===e)return t.mkdirAsync(e,t);return r(t,e).then(i=>t.mkdirAsync(e,t).then(()=>i).catch(i=>{if(i.code==="ENOENT")return a(e,t);else throw i}))};const l=(e,t)=>{t.recursive=true;const i=n(e);if(i===e)return t.mkdirSync(e,t);const r=s(t,e);try{t.mkdirSync(e,t);return r}catch(i){if(i.code==="ENOENT")return o(e,t);else throw i}};e.exports={mkdirpNative:c,mkdirpNativeSync:l}},2853:(e,t,i)=>{const{promisify:n}=i(1669);const r=i(5747);const s=e=>{if(!e)e={mode:511,fs:r};else if(typeof e==="object")e={mode:511,fs:r,...e};else if(typeof e==="number")e={mode:e,fs:r};else if(typeof e==="string")e={mode:parseInt(e,8),fs:r};else throw new TypeError("invalid options argument");e.mkdir=e.mkdir||e.fs.mkdir||r.mkdir;e.mkdirAsync=n(e.mkdir);e.stat=e.stat||e.fs.stat||r.stat;e.statAsync=n(e.stat);e.statSync=e.statSync||e.fs.statSync||r.statSync;e.mkdirSync=e.mkdirSync||e.fs.mkdirSync||r.mkdirSync;return e};e.exports=s},2930:(e,t,i)=>{const n=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform;const{resolve:r,parse:s}=i(5622);const a=e=>{if(/\0/.test(e)){throw Object.assign(new TypeError("path must be a string without null bytes"),{path:e,code:"ERR_INVALID_ARG_VALUE"})}e=r(e);if(n==="win32"){const t=/[*|"<>?:]/;const{root:i}=s(e);if(t.test(e.substr(i.length))){throw Object.assign(new Error("Illegal characters in path."),{path:e,code:"EINVAL"})}}return e};e.exports=a},4518:(e,t,i)=>{const n=i(5747);const r=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version;const s=r.replace(/^v/,"").split(".");const a=+s[0]>10||+s[0]===10&&+s[1]>=12;const o=!a?()=>false:e=>e.mkdir===n.mkdir;const c=!a?()=>false:e=>e.mkdirSync===n.mkdirSync;e.exports={useNative:o,useNativeSync:c}},1048:(e,t,i)=>{"use strict";var n=i(3129);var r=i(2087);e.exports=function opener(e,t,i){var s=process.platform;if(s==="linux"&&r.release().indexOf("Microsoft")!==-1){s="win32"}var a;switch(s){case"win32":{a="cmd.exe";break}case"darwin":{a="open";break}default:{a="xdg-open";break}}if(typeof e==="string"){e=[e]}if(typeof t==="function"){i=t;t={}}if(t&&typeof t==="object"&&t.command){if(s==="win32"){e=[t.command].concat(e)}else{a=t.command}}if(s==="win32"){e=e.map(function(e){return e.replace(/[&^]/g,"^$&")});e=["/c","start",'""'].concat(e)}return n.execFile(a,e,t,i)}},557:(e,t,i)=>{const n=i(5747);const{join:r,normalize:s,resolve:a}=i(5622);const o=i(7006);const c=i(6654);const l=i(9363);const u=()=>{};function isMatch(e,t){for(let i=0;i<t.length;i++){if(t[i].test(e))return true}}function toAssume(e,t){let i=0,n,r=e.length-1;if(e.charCodeAt(r)===47){e=e.substring(0,r)}let s=[],a=`${e}/index`;for(;i<t.length;i++){n=t[i]?`.${t[i]}`:"";if(e)s.push(e+n);s.push(a+n)}return s}function viaCache(e,t,i){let n=0,r,s=toAssume(t,i);for(;n<s.length;n++){if(r=e[s[n]])return r}}function viaLocal(e,t,i,a){let o=0,c=toAssume(i,a);let l,u,h,f;for(;o<c.length;o++){l=s(r(e,h=c[o]));if(l.startsWith(e)&&n.existsSync(l)){u=n.statSync(l);if(u.isDirectory())continue;f=toHeaders(h,u,t);f["Cache-Control"]=t?"no-cache":"no-store";return{abs:l,stats:u,headers:f}}}}function is404(e,t){return t.statusCode=404,t.end()}function send(e,t,i,r,s){let a=200,o,c={};s={...s};for(let e in s){o=t.getHeader(e);if(o)s[e]=o}if(o=t.getHeader("content-type")){s["Content-Type"]=o}if(e.headers.range){a=206;let[i,n]=e.headers.range.replace("bytes=","").split("-");let o=c.end=parseInt(n,10)||r.size-1;let l=c.start=parseInt(i,10)||0;if(l>=r.size||o>=r.size){t.setHeader("Content-Range",`bytes */${r.size}`);t.statusCode=416;return t.end()}s["Content-Range"]=`bytes ${l}-${o}/${r.size}`;s["Content-Length"]=o-l+1;s["Accept-Ranges"]="bytes"}t.writeHead(a,s);n.createReadStream(i,c).pipe(t)}function isEncoding(e,t,i){i["Content-Encoding"]=t;i["Content-Type"]=l.getType(e.replace(/\.([^.]*)$/,""))||""}function toHeaders(e,t,i){let n={"Content-Length":t.size,"Content-Type":l.getType(e)||"","Last-Modified":t.mtime.toUTCString()};if(i)n["ETag"]=`W/"${t.size}-${t.mtime.getTime()}"`;if(/\.br$/.test(e))isEncoding(e,"br",n);if(/\.gz$/.test(e))isEncoding(e,"gzip",n);return n}e.exports=function(e,t={}){e=a(e||".");let i=t.onNoMatch||is404;let n=t.setHeaders||u;let r=t.extensions||["html","htm"];let s=t.gzip&&r.map(e=>`${e}.gz`).concat("gz");let l=t.brotli&&r.map(e=>`${e}.br`).concat("br");const h={};let f="/";let p=!!t.etag;let d=!!t.single;if(typeof t.single==="string"){let e=t.single.lastIndexOf(".");f+=!!~e?t.single.substring(0,e):t.single}let m=[];if(t.ignores!==false){m.push(/[\/]([A-Za-z\s\d~$._-]+\.\w+){1,}$/);if(t.dotfiles)m.push(/\/\.\w/);else m.push(/\/\.well-known/);[].concat(t.ignores||[]).forEach(e=>{m.push(new RegExp(e,"i"))})}let _=t.maxAge!=null&&`public,max-age=${t.maxAge}`;if(_&&t.immutable)_+=",immutable";else if(_&&t.maxAge===0)_+=",must-revalidate";if(!t.dev){o(e,(e,i,n)=>{if(/\.well-known[\\+\/]/.test(e)){}else if(!t.dotfiles&&/(^\.|[\\+|\/+]\.)/.test(e))return;let r=toHeaders(e,n,p);if(_)r["Cache-Control"]=_;h["/"+e.normalize().replace(/\\+/g,"/")]={abs:i,stats:n,headers:r}})}let g=t.dev?viaLocal.bind(0,e,p):viaCache.bind(0,h);return function(e,t,a){let o=[""];let u=e.headers["accept-encoding"]||"";if(s&&u.includes("gzip"))o.unshift(...s);if(l&&/(br|brotli)/i.test(u))o.unshift(...l);o.push(...r);let h=e.path||c(e,true).pathname;let _=g(h,o)||d&&!isMatch(h,m)&&g(f,o);if(!_)return a?a():i(e,t);if(p&&e.headers["if-none-match"]===_.headers["ETag"]){t.writeHead(304);return t.end()}if(s||l){t.setHeader("Vary","Accept-Encoding")}n(t,h,_.stats);send(e,t,_.abs,_.stats,_.headers)}}},2942:e=>{"use strict";function Mime(){this._types=Object.create(null);this._extensions=Object.create(null);for(let e=0;e<arguments.length;e++){this.define(arguments[e])}this.define=this.define.bind(this);this.getType=this.getType.bind(this);this.getExtension=this.getExtension.bind(this)}Mime.prototype.define=function(e,t){for(let i in e){let n=e[i].map(function(e){return e.toLowerCase()});i=i.toLowerCase();for(let e=0;e<n.length;e++){const r=n[e];if(r[0]==="*"){continue}if(!t&&r in this._types){throw new Error('Attempt to change mapping for "'+r+'" extension from "'+this._types[r]+'" to "'+i+'". Pass `force=true` to allow this, otherwise remove "'+r+'" from the list of extensions for "'+i+'".')}this._types[r]=i}if(t||!this._extensions[i]){const e=n[0];this._extensions[i]=e[0]!=="*"?e:e.substr(1)}}};Mime.prototype.getType=function(e){e=String(e);let t=e.replace(/^.*[\/\\]/,"").toLowerCase();let i=t.replace(/^.*\./,"").toLowerCase();let n=t.length<e.length;let r=i.length<t.length-1;return(r||!n)&&this._types[i]||null};Mime.prototype.getExtension=function(e){e=/^\s*([^;\s]*)/.test(e)&&RegExp.$1;return e&&this._extensions[e.toLowerCase()]||null};e.exports=Mime},9363:(e,t,i)=>{"use strict";let n=i(2942);e.exports=new n(i(5565))},5565:e=>{e.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma","es"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/mrb-consumer+xml":["*xdf"],"application/mrb-publish+xml":["*xdf"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["*xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-error+xml":["xer"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},7006:(e,t,i)=>{const{join:n,resolve:r}=i(5622);const{readdirSync:s,statSync:a}=i(5747);e.exports=function list(e,t,i=""){e=r(".",e);let o=s(e);let c=0,l,u;for(;c<o.length;c++){l=n(e,o[c]);u=a(l);u.isDirectory()?list(l,t,n(i,o[c])):t(n(i,o[c]),l,u)}}},8683:function(e,t,i){e=i.nmd(e);(function(t){"use strict";if(typeof define==="function"&&define.amd){define(function(){return tryer})}else if(true&&e!==null){e.exports=tryer}else{t.tryer=tryer}function tryer(e){e=normaliseOptions(e);iterateWhen();function iterateWhen(){if(preRecur()){iterateUntil()}}function preRecur(){return conditionallyRecur("when",iterateWhen)}function conditionallyRecur(t,i){if(!e[t]()){incrementCount(e);if(shouldFail(e)){e.fail()}else{recur(i,postIncrementInterval(e))}return false}return true}function iterateUntil(){var t;if(isActionSynchronous(e)){t=e.action();if(t&&isFunction(t.then)){return t.then(postRecur,postRecur)}return postRecur()}e.action(postRecur)}function postRecur(){if(conditionallyRecur("until",iterateUntil)){e.pass()}}}function normaliseOptions(e){e=e||{};return{count:0,when:normalisePredicate(e.when),until:normalisePredicate(e.until),action:normaliseFunction(e.action),fail:normaliseFunction(e.fail),pass:normaliseFunction(e.pass),interval:normaliseNumber(e.interval,-1e3),limit:normaliseNumber(e.limit,-1)}}function normalisePredicate(e){return normalise(e,isFunction,yes)}function isFunction(e){return typeof e==="function"}function yes(){return true}function normaliseFunction(e){return normalise(e,isFunction,nop)}function nop(){}function normalise(e,t,i){if(t(e)){return e}return i}function normaliseNumber(e,t){return normalise(e,isNumber,t)}function isNumber(e){return typeof e==="number"&&e===e}function isActionSynchronous(e){return e.action.length===0}function incrementCount(e){e.count+=1}function shouldFail(e){return e.limit>=0&&e.count>=e.limit}function postIncrementInterval(e){var t=e.interval;if(e.interval<0){e.interval*=2}return t}function recur(e,t){setTimeout(e,Math.abs(t))}})(this)},4863:(e,t,i)=>{"use strict";const n=i(5747);const r=i(9895);const s=i(5622);const a=i(6186);const{bold:o}=i(8808);const c=i(6180);const l=i(7437);const u=i(2744);const{writeStats:h}=i(5722);class BundleAnalyzerPlugin{constructor(e={}){this.opts={analyzerMode:"server",analyzerHost:"127.0.0.1",reportFilename:null,reportTitle:u.defaultTitle,defaultSizes:"parsed",openAnalyzer:true,generateStatsFile:false,reportDepth:2,statsFilename:"stats.json",statsOptions:null,excludeAssets:null,logLevel:"info",startAnalyzer:true,...e,analyzerPort:"analyzerPort"in e?e.analyzerPort==="auto"?0:e.analyzerPort:8888};this.server=null;this.logger=new c(this.opts.logLevel)}apply(e){this.compiler=e;const t=(e,t)=>{t=t||(()=>{});const i=[];if(this.opts.generateReportFile){i.push(()=>this.generateReportFile(e.toJson()))}if(this.opts.generateStatsFile){i.push(()=>this.generateStatsFile(e.toJson(this.opts.statsOptions)))}if(this.opts.analyzerMode==="server"&&!this.opts.startAnalyzer){this.opts.analyzerMode="disabled"}if(this.opts.analyzerMode==="server"){i.push(()=>this.startAnalyzerServer(e.toJson()))}else if(this.opts.analyzerMode==="static"){i.push(()=>this.generateStaticReport(e.toJson()))}else if(this.opts.analyzerMode==="json"){i.push(()=>this.generateJSONReport(e.toJson()))}if(i.length){setImmediate(async()=>{try{await Promise.all(i.map(e=>e()));t()}catch(e){t(e)}})}else{t()}};if(e.hooks){e.hooks.done.tapAsync("webpack-bundle-analyzer",t)}else{e.plugin("done",t)}}async generateReportFile(e){const t=this.opts.reportDir||this.getBundleDirFromCompiler();const i=s.resolve(t,this.opts.statsFilename);a.sync(s.dirname(i));try{const t=l.generateReportData(e,{bundleDir:this.getBundleDirFromCompiler(),logger:this.logger,defaultSizes:this.opts.defaultSizes,excludeAssets:this.opts.excludeAssets,reportDepth:Math.max(this.opts.reportDepth,2)});await r.write(i,t,{space:null,promises:"ignore",buffers:"ignore",maps:"ignore",iterables:"ignore",circular:"ignore"});this.logger.info(`${o("Umi Webpack Bundle Analyzer")} saved report file to ${o(i)}`)}catch(e){this.logger.error(`${o("Umi Webpack Bundle Analyzer")} error saving report data to ${o(i)} : ${e}`)}}async generateStatsFile(e){const t=s.resolve(this.compiler.outputPath,this.opts.statsFilename);await n.promises.mkdir(s.dirname(t),{recursive:true});try{await h(e,t);this.logger.info(`${o("Umi Webpack Bundle Analyzer")} saved stats file to ${o(t)}`)}catch(e){this.logger.error(`${o("Umi Webpack Bundle Analyzer")} error saving stats file to ${o(t)}: ${e}`)}}async startAnalyzerServer(e){if(this.server){(await this.server).updateChartData(e)}else{this.server=l.startServer(e,{openBrowser:this.opts.openAnalyzer,host:this.opts.analyzerHost,port:this.opts.analyzerPort,reportTitle:this.opts.reportTitle,bundleDir:this.getBundleDirFromCompiler(),logger:this.logger,defaultSizes:this.opts.defaultSizes,excludeAssets:this.opts.excludeAssets})}}async generateJSONReport(e){await l.generateJSONReport(e,{reportFilename:s.resolve(this.compiler.outputPath,this.opts.reportFilename||"report.json"),bundleDir:this.getBundleDirFromCompiler(),logger:this.logger,excludeAssets:this.opts.excludeAssets})}async generateStaticReport(e){await l.generateReport(e,{openBrowser:this.opts.openAnalyzer,reportFilename:s.resolve(this.compiler.outputPath,this.opts.reportFilename||"report.html"),reportTitle:this.opts.reportTitle,bundleDir:this.getBundleDirFromCompiler(),logger:this.logger,defaultSizes:this.opts.defaultSizes,excludeAssets:this.opts.excludeAssets})}getBundleDirFromCompiler(){switch(this.compiler.outputFileSystem.constructor.name){case"MemoryFileSystem":return null;case"AsyncMFS":return null;default:return this.compiler.outputPath}}}e.exports=BundleAnalyzerPlugin},6180:e=>{"use strict";const t=["debug","info","warn","error","silent"];const i=new Map([["debug","log"],["info","log"],["warn","log"]]);class Logger{constructor(e=Logger.defaultLevel){this.activeLevels=new Set;this.setLogLevel(e)}setLogLevel(e){const i=t.indexOf(e);if(i===-1)throw new Error(`Invalid log level "${e}". Use one of these: ${t.join(", ")}`);this.activeLevels.clear();for(const[e,n]of t.entries()){if(e>=i)this.activeLevels.add(n)}}_log(e,...t){console[i.get(e)||e](...t)}}Logger.levels=t;Logger.defaultLevel="info";t.forEach(e=>{if(e==="silent")return;Logger.prototype[e]=function(...t){if(this.activeLevels.has(e))this._log(e,...t)}});e.exports=Logger},7566:(e,t,i)=>{"use strict";const n=i(5747);const r=i(5622);const s=i(5894);const a=i(9938);const o=i(6180);const c=i(2079).Z;const{parseBundle:l}=i(9400);const{createAssetsFilter:u}=i(2744);const h=/\?.*$/u;const f=/\.(js|mjs)$/iu;e.exports={getViewerData:getViewerData,readStatsFromFile:readStatsFromFile};function getViewerData(e,t,i){const{logger:n=new o,excludeAssets:c=null}=i||{};const p=u(c);if(s.isEmpty(e.assets)&&!s.isEmpty(e.children)){const{children:t}=e;e=e.children[0];for(let i=1;i<t.length;i++){t[i].assets.forEach(t=>{t.isChild=true;e.assets.push(t)})}}else if(!s.isEmpty(e.children)){e.children.forEach(t=>{t.assets.forEach(t=>{t.isChild=true;e.assets.push(t)})})}e.assets=e.assets.filter(e=>{if(e.type&&e.type!=="asset"){return false}if(/hot-update/u.test(e.name)){return false}e.name=e.name.replace(h,"");return f.test(e.name)&&!s.isEmpty(e.chunks)&&p(e.name)});let d=null;let m=null;if(t){d={};m={};for(const i of e.assets){const e=r.join(t,i.name);let a;try{a=l(e)}catch(t){const i=t.code==="ENOENT"?"no such file":t.message;n.warn(`Error parsing bundle asset "${e}": ${i}`);continue}d[i.name]=s.pick(a,"src","runtimeSrc");Object.assign(m,a.modules)}if(s.isEmpty(d)){d=null;m=null;n.warn("\nNo bundles were parsed. Analyzer will show only original module sizes from stats file.\n")}}const _=e.assets.reduce((t,i)=>{const n=i.isChild?getChildAssetBundles(e,i.name):e;const r=n?getBundleModules(n):[];const o=t[i.name]=s.pick(i,"size");const c=d&&s.has(d,i.name)?d[i.name]:null;if(c){o.parsedSize=Buffer.byteLength(c.src);o.gzipSize=a.sync(c.src)}const l=r.filter(e=>assetHasModule(i,e));if(m){const e=[];for(const t of l){if(m[t.id]){t.parsedSrc=m[t.id]}else if(isEntryModule(t)){e.push(t)}}if(e.length&&c){if(e.length===1){e[0].parsedSrc=c.runtimeSrc}else{s.pullAll(l,e);l.unshift({identifier:"./entry modules",name:"./entry modules",modules:e,size:e.reduce((e,t)=>e+t.size,0),parsedSrc:c.runtimeSrc})}}}o.modules=l;o.tree=createModulesTree(o.modules);return t},{});return Object.entries(_).map(([e,t])=>({label:e,isAsset:true,statSize:t.tree.size||t.size,parsedSize:t.parsedSize,gzipSize:t.gzipSize,groups:s.invokeMap(t.tree.children,"toChartData")}))}function readStatsFromFile(e){return JSON.parse(n.readFileSync(e,"utf8"))}function getChildAssetBundles(e,t){return(e.children||[]).find(e=>s(e.assetsByChunkName).values().flatten().includes(t))}function getBundleModules(e){return s(e.chunks).map("modules").concat(e.modules).compact().flatten().uniqBy("id").reject(isRuntimeModule).value()}function assetHasModule(e,t){return t.chunks.some(t=>e.chunks.includes(t))}function isEntryModule(e){return e.depth===0}function isRuntimeModule(e){return e.moduleType==="runtime"}function createModulesTree(e){const t=new c(".");e.forEach(e=>t.addModule(e));t.mergeNestedFolders();return t}},4204:(e,t,i)=>{"use strict";const{start:n}=i(7437);e.exports={start:n,BundleAnalyzerPlugin:i(4863)}},9400:(e,t,i)=>{"use strict";const n=i(5747);const r=i(5894);const s=i(2130);const a=i(8390);e.exports={parseBundle:parseBundle};function parseBundle(e){const t=n.readFileSync(e,"utf8");const i=s.parse(t,{sourceType:"script",ecmaVersion:2050});const o={locations:null,expressionStatementDepth:0};a.recursive(i,o,{ExpressionStatement(e,t,n){if(t.locations)return;t.expressionStatementDepth++;if(t.expressionStatementDepth===1&&i.body.includes(e)&&isIIFE(e)){const i=getIIFECallExpression(e);if(i.arguments.length===0&&i.callee.params.length===0){const e=i.callee.body.body.find(e=>e.type==="VariableDeclaration");if(e){for(const i of e.declarations){if(i.init){t.locations=getModulesLocations(i.init);if(t.locations){break}}}}}}if(!t.locations){n(e.expression,t)}t.expressionStatementDepth--},AssignmentExpression(e,t){if(t.locations)return;const{left:i,right:n}=e;if(i&&i.object&&i.object.name==="exports"&&i.property&&i.property.name==="modules"&&isModulesHash(n)){t.locations=getModulesLocations(n)}},CallExpression(e,t,i){if(t.locations)return;const n=e.arguments;if(e.callee.type==="FunctionExpression"&&!e.callee.id&&n.length===1&&isSimpleModulesList(n[0])){t.locations=getModulesLocations(n[0]);return}if(e.callee.type==="Identifier"&&mayBeAsyncChunkArguments(n)&&isModulesList(n[1])){t.locations=getModulesLocations(n[1]);return}if(isAsyncChunkPushExpression(e)){t.locations=getModulesLocations(n[0].elements[1]);return}if(isAsyncWebWorkerChunkExpression(e)){t.locations=getModulesLocations(n[1]);return}n.forEach(e=>i(e,t))}});let c;if(o.locations){c=r.mapValues(o.locations,e=>t.slice(e.start,e.end))}else{c={}}return{modules:c,src:t,runtimeSrc:getBundleRuntime(t,o.locations)}}function getBundleRuntime(e,t){const i=Object.values(t||{}).sort((e,t)=>e.start-t.start);let n="";let r=0;for(const{start:t,end:s}of i){n+=e.slice(r,t);r=s}return n+e.slice(r,e.length)}function isIIFE(e){return e.type==="ExpressionStatement"&&(e.expression.type==="CallExpression"||e.expression.type==="UnaryExpression"&&e.expression.argument.type==="CallExpression")}function getIIFECallExpression(e){if(e.expression.type==="UnaryExpression"){return e.expression.argument}else{return e.expression}}function isModulesList(e){return isSimpleModulesList(e)||isOptimizedModulesArray(e)}function isSimpleModulesList(e){return isModulesHash(e)||isModulesArray(e)}function isModulesHash(e){return e.type==="ObjectExpression"&&e.properties.map(e=>e.value).every(isModuleWrapper)}function isModulesArray(e){return e.type==="ArrayExpression"&&e.elements.every(e=>!e||isModuleWrapper(e))}function isOptimizedModulesArray(e){return e.type==="CallExpression"&&e.callee.type==="MemberExpression"&&e.callee.object.type==="CallExpression"&&e.callee.object.callee.type==="Identifier"&&e.callee.object.callee.name==="Array"&&e.callee.object.arguments.length===1&&isNumericId(e.callee.object.arguments[0])&&e.callee.property.type==="Identifier"&&e.callee.property.name==="concat"&&e.arguments.length===1&&isModulesArray(e.arguments[0])}function isModuleWrapper(e){return(e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression")&&!e.id||isModuleId(e)||e.type==="ArrayExpression"&&e.elements.length>1&&isModuleId(e.elements[0])}function isModuleId(e){return e.type==="Literal"&&(isNumericId(e)||typeof e.value==="string")}function isNumericId(e){return e.type==="Literal"&&Number.isInteger(e.value)&&e.value>=0}function isChunkIds(e){return e.type==="ArrayExpression"&&e.elements.every(isModuleId)}function isAsyncChunkPushExpression(e){const{callee:t,arguments:i}=e;return t.type==="MemberExpression"&&t.property.name==="push"&&t.object.type==="AssignmentExpression"&&i.length===1&&i[0].type==="ArrayExpression"&&mayBeAsyncChunkArguments(i[0].elements)&&isModulesList(i[0].elements[1])}function mayBeAsyncChunkArguments(e){return e.length>=2&&isChunkIds(e[0])}function isAsyncWebWorkerChunkExpression(e){const{callee:t,type:i,arguments:n}=e;return i==="CallExpression"&&t.type==="MemberExpression"&&n.length===2&&isChunkIds(n[0])&&isModulesList(n[1])}function getModulesLocations(e){if(e.type==="ObjectExpression"){const t=e.properties;return t.reduce((e,t)=>{const i=t.key.name||t.key.value;e[i]=getModuleLocation(t.value);return e},{})}const t=e.type==="CallExpression";if(e.type==="ArrayExpression"||t){const i=t?e.callee.object.arguments[0].value:0;const n=t?e.arguments[0].elements:e.elements;return n.reduce((e,t,n)=>{if(t){e[n+i]=getModuleLocation(t)}return e},{})}return{}}function getModuleLocation(e){return{start:e.start,end:e.end}}},5722:(e,t,i)=>{"use strict";const{createWriteStream:n}=i(5747);const{Readable:r}=i(2413);class StatsSerializeStream extends r{constructor(e){super();this._indentLevel=0;this._stringifier=this._stringify(e)}get _indent(){return" ".repeat(this._indentLevel)}_read(){let e=true;while(e){const{value:t,done:i}=this._stringifier.next();if(i){this.push(null);e=false}else{e=this.push(t)}}}*_stringify(e){if(typeof e==="string"||typeof e==="number"||typeof e==="boolean"||e===null){yield JSON.stringify(e)}else if(Array.isArray(e)){yield"[";this._indentLevel++;let t=true;for(let i of e){if(i===undefined){i=null}yield`${t?"":","}\n${this._indent}`;yield*this._stringify(i);t=false}this._indentLevel--;yield e.length?`\n${this._indent}]`:"]"}else{yield"{";this._indentLevel++;let t=true;const i=Object.entries(e);for(const[e,n]of i){if(n===undefined){continue}yield`${t?"":","}\n${this._indent}${JSON.stringify(e)}: `;yield*this._stringify(n);t=false}this._indentLevel--;yield i.length?`\n${this._indent}}`:"}"}}}t.StatsSerializeStream=StatsSerializeStream;t.writeStats=writeStats;async function writeStats(e,t){return new Promise((i,r)=>{new StatsSerializeStream(e).on("end",i).on("error",r).pipe(n(t))})}},6115:(e,t,i)=>{"use strict";const n=i(5622);const r=i(5747);const s=i(5894);const a=n.resolve(__dirname,"..");const o=i.ab+"public";t.renderViewer=renderViewer;function escapeJson(e){return JSON.stringify(e).replace(/</gu,"\\u003c")}function getAssetContent(e){const t=i.ab+"public/"+e;if(!t.startsWith(i.ab+"public")){throw new Error(`"${e}" is outside of the assets root`)}return r.readFileSync(t,"utf8")}function html(e,...t){return e.map((e,i)=>`${e}${t[i]||""}`).join("")}function getScript(e,t){if(t==="static"){return`\x3c!-- ${s.escape(e)} --\x3e\n<script>${getAssetContent(e)}<\/script>`}else{return`<script src="${s.escape(e)}"><\/script>`}}function renderViewer({title:e,enableWebSocket:t,chartData:i,defaultSizes:n,mode:r}={}){return html`<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>${s.escape(e)}</title>
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABrVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+O1foceMD///+J0/qK1Pr7/v8Xdr/9///W8P4UdL7L7P0Scr2r4Pyj3vwad8D5/f/2/f+55f3E6f34+/2H0/ojfMKpzOd0rNgQcb3F3O/j9f7c8v6g3Pz0/P/w+v/q+P7n9v6T1/uQ1vuE0vqLut/y+v+Z2fvt+f+15Pzv9fuc2/vR7v2V2Pvd6/bg9P7I6/285/2y4/yp3/zp8vk8i8kqgMT7/P31+fyv4vxGkcz6/P6/6P3j7vfS5PNnpNUxhcbO7f7F6v3O4vHK3/DA2u631Ouy0eqXweKJud5wqthfoNMMbLvY8f73+v2dxeR8sNtTmdDx9/zX6PSjyeaCtd1YnNGX2PuQveCGt95Nls42h8dLlM3F4vBtAAAAM3RSTlMAAyOx0/sKBvik8opWGBMOAe3l1snDm2E9LSb06eHcu5JpHbarfHZCN9CBb08zzkdNS0kYaptYAAAFV0lEQVRYw92X51/aYBDHHS2O2qqttVbrqNq9m+TJIAYIShBkWwqIiCgoWvfeq7Z2/s29hyQNyUcR7LveGwVyXy6XH8/9rqxglLfUPLxVduUor3h0rfp2TYvpivk37929TkG037hffoX0+peVtZQc1589rigVUdXS/ABSAyEmGIO/1XfvldSK8vs3OqB6u3m0nxmIrvgB0dj7rr7Y9IbuF68hnfFaiHA/sxqm0wciIG43P60qKv9WXWc1RXGh/mFESFABTSBi0sNAKzqet17eCtOb3kZIDwxEEU0oAIJGYxNBDhBND29e0rtXXbcpuPmED9IhEAAQ/AXEaF8EPmnrrKsv0LvWR3fg5sWDNAFZOgAgaKvZDogHNU9MFwnnYROkc56RD5CjAbQX9Ow4g7upCsvYu55aSI/Nj0H1akgKQEUM94dwK65hYRmFU9MIcH/fqJYOZYcnuJSU/waKDgTOEVaVKhwrTRP5XzgSpAITYzom7UvkhFX5VutmxeNnWDjjswTKTyfgluNDGbUpWissXhF3s7mlSml+czWkg3D0l1nNjGNjz3myOQOa1KM/jOS6ebdbAVTCi4gljHSFrviza7tOgRWcS0MOUX9zdNgag5w7rRqA44Lzw0hr1WqES36dFliSJFlh2rXIae3FFcDDgKdxrUIDePr8jGcSClV1u7A9xeN0ModY/pHMxmR1EzRh8TJiwqsHmKW0l4FCEZI+jHio+JdPPE9qwQtTRxku2D8sIeRL2LnxWSllANCQGOIiqVHAz2ye2JR0DcH+HoxDkaADLjgxjKQ+AwCX/g0+DNgdG0ukYCONAe+dbc2IAc6fwt1ARoDSezNHxV2Cmzwv3O6lDMV55edBGwGK9n1+x2F8EDfAGCxug8MhpsMEcTEAWf3rx2vZhe/LAmtIn/6apE6PN0ULKgywD9mmdxbmFl3OvD5AS5fW5zLbv/YHmcsBTjf/afDz3MaZTVCfAP9z6/Bw6ycv8EUBWJIn9zYcoAWWlW9+OzO3vkTy8H+RANLmdrpOuYWdZYEXpo+TlCJrW5EARb7fF+bWdqf3hhyZI1nWJQHgznErZhbjoEsWqi8dQNoE294aldzFurwSABL2XXMf9+H1VQGke9exw5P/AnA5Pv5ngMul7LOvO922iwACu8WkCwLCafvM4CeWPxfA8lNHcWZSoi8EwMAIciKX2Z4SWCMAa3snCZ/G4EA8D6CMLNFsGQhkkz/gQNEBbPCbWsxGUpYVu3z8IyNAknwJkfPMEhLyrdi5RTyUVACkw4GSFRNWJNEW+fgPGwHD8/JxnRuLabN4CGNRkAE23na2+VmEAUmrYymSGjMAYqH84YUIyzgzs3XC7gNgH36Vcc4zKY9o9fgPBXUAiHHwVboBHGLiX6Zcjp1f2wu4tvzZKo0ecPnDtQYDQvJXaBeNzce45Fp28ZQLrEZVuFqgBwOalArKXnW1UzlnSusQKJqKYNuz4tOnI6sZG4zanpemv+7ySU2jbA9h6uhcgpfy6G2PahirDZ6zvq6zDduMVFTKvzw8wgyEdelwY9in3XkEPs3osJuwRQ4qTkfzifndg9Gfc4pdsu82+tTnHZTBa2EAMrqr2t43pguc8tNm7JQVQ2S0ukj2d22dhXYP0/veWtwKrCkNoNimAN5+Xr/oLrxswKbVJjteWrX7eR63o4j9q0GxnaBdWgGA5VStpanIjQmEhV0/nVt5VOFUvix6awJhPcAaTEShgrG+iGyvb5a0Ndb1YGHFPEwoqAinoaykaID1o1pdPNu7XsnCKQ3R+hwWIIhGvORcJUBYXe3Xa3vq/mF/N9V13ugufMkfXn+KHsRD0B8AAAAASUVORK5CYII=" type="image/x-icon" />
<script>
window.enableWebSocket = ${escapeJson(t)};
</script>
${getScript("viewer.js",r)}
</head>
<body>
<div id="app"></div>
<script>
window.chartData = ${escapeJson(i)};
window.defaultSizes = ${escapeJson(n)};
</script>
</body>
</html>`}},6373:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=_interopRequireDefault(i(5894));var r=_interopRequireDefault(i(4964));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class BaseFolder extends r.default{constructor(e,t){super(e,t);this.children=Object.create(null)}get src(){if(!n.default.has(this,"_src")){this._src=this.walk((e,t)=>t+=e.src||"","",false)}return this._src}get size(){if(!n.default.has(this,"_size")){this._size=this.walk((e,t)=>t+e.size,0,false)}return this._size}getChild(e){return this.children[e]}addChildModule(e){const{name:t}=e;const i=this.children[t];if(i&&i instanceof BaseFolder)return;if(i){i.mergeData(e.data)}else{e.parent=this;this.children[t]=e}delete this._size;delete this._src}addChildFolder(e){e.parent=this;this.children[e.name]=e;delete this._size;delete this._src;return e}walk(e,t={},i=true){let n=false;Object.values(this.children).forEach(r=>{if(i&&r.walk){t=r.walk(e,t,stop)}else{t=e(r,t,stop)}if(n)return false});return t;function stop(e){n=true;return e}}mergeNestedFolders(){if(!this.isRoot){let e;while((e=Object.keys(this.children)).length===1){const t=e[0];const i=this.children[t];if(i instanceof this.constructor){this.name+=`/${i.name}`;this.children=i.children}else{break}}}this.walk(e=>{e.parent=this;if(e.mergeNestedFolders){e.mergeNestedFolders()}},null,false)}toChartData(){return{label:this.name,path:this.path,statSize:this.size,groups:n.default.invokeMap(this.children,"toChartData")}}}t.default=BaseFolder},3334:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=_interopRequireDefault(i(5894));var r=_interopRequireDefault(i(1043));var s=_interopRequireDefault(i(1111));var a=_interopRequireDefault(i(1610));var o=i(3304);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ConcatenatedModule extends r.default{constructor(e,t,i){super(e,t,i);this.name+=" (concatenated)";this.children=Object.create(null);this.fillContentModules()}fillContentModules(){this.data.modules.forEach(e=>this.addContentModule(e))}addContentModule(e){const t=(0,o.getModulePathParts)(e);if(!t){return}const[i,r]=[t.slice(0,-1),n.default.last(t)];let c=this;i.forEach(e=>{let t=c.getChild(e);if(!t){t=c.addChildFolder(new a.default(e,this))}c=t});const l=new s.default(r,e,this);c.addChildModule(l)}getChild(e){return this.children[e]}addChildModule(e){e.parent=this;this.children[e.name]=e}addChildFolder(e){e.parent=this;this.children[e.name]=e;return e}mergeNestedFolders(){n.default.invokeMap(this.children,"mergeNestedFolders")}toChartData(){return{...super.toChartData(),concatenated:true,groups:n.default.invokeMap(this.children,"toChartData")}}}t.default=ConcatenatedModule},1610:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=_interopRequireDefault(i(6373));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ContentFolder extends n.default{constructor(e,t,i){super(e,i);this.ownerModule=t}get parsedSize(){return this.getSize("parsedSize")}get gzipSize(){return this.getSize("gzipSize")}getSize(e){const t=this.ownerModule[e];if(t!==undefined){return Math.floor(this.size/this.ownerModule.size*t)}}toChartData(){return{...super.toChartData(),parsedSize:this.parsedSize,gzipSize:this.gzipSize,inaccurateSizes:true}}}t.default=ContentFolder},1111:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=_interopRequireDefault(i(1043));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ContentModule extends n.default{constructor(e,t,i,n){super(e,t,n);this.ownerModule=i}get parsedSize(){return this.getSize("parsedSize")}get gzipSize(){return this.getSize("gzipSize")}getSize(e){const t=this.ownerModule[e];if(t!==undefined){return Math.floor(this.size/this.ownerModule.size*t)}}toChartData(){return{...super.toChartData(),inaccurateSizes:true}}}t.default=ContentModule},2079:(e,t,i)=>{"use strict";var n;n={value:true};t.Z=void 0;var r=_interopRequireDefault(i(5894));var s=_interopRequireDefault(i(9938));var a=_interopRequireDefault(i(1043));var o=_interopRequireDefault(i(6373));var c=_interopRequireDefault(i(3334));var l=i(3304);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class Folder extends o.default{get parsedSize(){return this.src?this.src.length:0}get gzipSize(){if(!r.default.has(this,"_gzipSize")){this._gzipSize=this.src?s.default.sync(this.src):0}return this._gzipSize}addModule(e){const t=(0,l.getModulePathParts)(e);if(!t){return}const[i,n]=[t.slice(0,-1),r.default.last(t)];let s=this;i.forEach(e=>{let t=s.getChild(e);if(!t||!(t instanceof Folder)){t=s.addChildFolder(new Folder(e))}s=t});const o=e.modules?c.default:a.default;const u=new o(n,e,this);s.addChildModule(u)}toChartData(){return{...super.toChartData(),parsedSize:this.parsedSize,gzipSize:this.gzipSize}}}t.Z=Folder},1043:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=_interopRequireDefault(i(5894));var r=_interopRequireDefault(i(9938));var s=_interopRequireDefault(i(4964));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class Module extends s.default{constructor(e,t,i){super(e,i);this.data=t}get src(){return this.data.parsedSrc}set src(e){this.data.parsedSrc=e;delete this._gzipSize}get size(){return this.data.size}set size(e){this.data.size=e}get parsedSize(){return this.src?this.src.length:undefined}get gzipSize(){if(!n.default.has(this,"_gzipSize")){this._gzipSize=this.src?r.default.sync(this.src):undefined}return this._gzipSize}mergeData(e){if(e.size){this.size+=e.size}if(e.parsedSrc){this.src=(this.src||"")+e.parsedSrc}}toChartData(){return{id:this.data.id,label:this.name,path:this.path,statSize:this.size,parsedSize:this.parsedSize,gzipSize:this.gzipSize}}}t.default=Module},4964:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;class Node{constructor(e,t){this.name=e;this.parent=t}get path(){const e=[];let t=this;while(t){e.push(t.name);t=t.parent}return e.reverse().join("/")}get isRoot(){return!this.parent}}t.default=Node},3304:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getModulePathParts=getModulePathParts;var n=_interopRequireDefault(i(5894));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const r=/^multi /u;function getModulePathParts(e){if(r.test(e.identifier)){return[e.identifier]}const t=n.default.last(e.name.split("!")).split("/").slice(1).map(e=>e==="~"?"node_modules":e);return t.length?t:null}},2744:(e,t,i)=>{"use strict";const{inspect:n,types:r}=i(1669);const s=i(5894);const a=i(1048);const o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];t.createAssetsFilter=createAssetsFilter;function createAssetsFilter(e){const t=s(e).castArray().compact().map(e=>{if(typeof e==="string"){e=new RegExp(e,"u")}if(r.isRegExp(e)){return t=>e.test(t)}if(typeof e!=="function"){throw new TypeError(`Pattern should be either string, RegExp or a function, but "${n(e,{depth:0})}" got.`)}return e}).value();if(t.length){return e=>t.every(t=>t(e)!==true)}else{return()=>true}}t.defaultTitle=function(){const e=new Date;const t=e.getFullYear();const i=o[e.getMonth()];const n=e.getDate();const r=`0${e.getHours()}`.slice(-2);const s=`0${e.getMinutes()}`.slice(-2);const a=`${n} ${i} ${t} at ${r}:${s}`;return`${process.env.npm_package_name||"Webpack Bundle Analyzer"} [${a}]`};t.open=function(e,t){try{a(e)}catch(i){t.debug(`Opener failed to open "${e}":\n${i}`)}}},7437:(e,t,i)=>{"use strict";const n=i(5622);const r=i(5747);const s=i(8605);const a=i(8867);const o=i(557);const c=i(5894);const{bold:l}=i(8808);const u=i(6180);const h=i(7566);const{open:f}=i(2744);const{renderViewer:p}=i(6115);const d=n.resolve(__dirname,"..");function resolveTitle(e){if(typeof e==="function"){return e()}else{return e}}e.exports={startServer:startServer,generateReport:generateReport,generateReportData:generateReportData,generateJSONReport:generateJSONReport,start:startServer};async function startServer(e,t){const{port:n=8888,host:r="127.0.0.1",openBrowser:c=true,bundleDir:h=null,logger:d=new u,defaultSizes:m="parsed",excludeAssets:_=null,reportTitle:g}=t||{};const v={logger:d,excludeAssets:_};let y=getChartData(v,e,h);if(!y)return;const x=o(i.ab+"public",{dev:true});const b=s.createServer((e,t)=>{if(e.method==="GET"&&e.url==="/"){const e=p({mode:"server",title:resolveTitle(g),chartData:y,defaultSizes:m,enableWebSocket:true});t.writeHead(200,{"Content-Type":"text/html"});t.end(e)}else{x(e,t)}});await new Promise(e=>{b.listen(n,r,()=>{e();const t=`http://${r}:${b.address().port}`;d.info(`${l("Webpack Bundle Analyzer")} is started at ${l(t)}\n`+`Use ${l("Ctrl+C")} to close it`);if(c){f(t,d)}})});const w=new a.Server({server:b});w.on("connection",e=>{e.on("error",e=>{if(e.errno)return;d.info(e.message)})});return{ws:w,http:b,updateChartData:updateChartData};function updateChartData(e){const t=getChartData(v,e,h);if(!t)return;y=t;w.clients.forEach(e=>{if(e.readyState===a.OPEN){e.send(JSON.stringify({event:"chartDataUpdated",data:t}))}})}}async function generateReportData(e,t){const{bundleDir:i=null,logger:n=new u,excludeAssets:r=null,reportDepth:s=1}=t||{};const a=(e,t=Infinity)=>{if(!e||!e.length||t===0){return[]}return e.map(e=>{if(e.label.indexOf("node_modules")===0){return{...e,groups:a(e.groups,s)}}return{...e,groups:a(e.groups,t-1)}})};const o=getChartData({logger:n,excludeAssets:r},e,i);return a(o)}async function generateReport(e,t){const{openBrowser:i=true,reportFilename:s,reportTitle:a,bundleDir:o=null,logger:c=new u,defaultSizes:h="parsed",excludeAssets:d=null}=t||{};const m=getChartData({logger:c,excludeAssets:d},e,o);if(!m)return;const _=p({mode:"static",title:resolveTitle(a),chartData:m,defaultSizes:h,enableWebSocket:false});const g=n.resolve(o||process.cwd(),s);r.mkdirSync(n.dirname(g),{recursive:true});r.writeFileSync(g,_);c.info(`${l("Webpack Bundle Analyzer")} saved report to ${l(g)}`);if(i){f(`file://${g}`,c)}}async function generateJSONReport(e,t){const{reportFilename:i,bundleDir:s=null,logger:a=new u,excludeAssets:o=null}=t||{};const c=getChartData({logger:a,excludeAssets:o},e,s);if(!c)return;await r.promises.mkdir(n.dirname(i),{recursive:true});await r.promises.writeFile(i,JSON.stringify(c));a.info(`${l("Webpack Bundle Analyzer")} saved JSON report to ${l(i)}`)}function getChartData(e,...t){let i;const{logger:n}=e;try{i=h.getViewerData(...t,e)}catch(e){n.error(`Could't analyze webpack bundle:\n${e}`);n.debug(e.stack);i=null}if(c.isPlainObject(i)&&c.isEmpty(i)){n.error("Could't find any javascript bundles in provided stats file");i=null}return i}},2130:function(e,t){(function(e,i){true?i(t):0})(this,function(e){"use strict";var t={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"};var i="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";var n={5:i,"5module":i+" export import",6:i+" const class extends export import super"};var r=/^in(stanceof)?$/;var s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var a="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var o=new RegExp("["+s+"]");var c=new RegExp("["+s+a+"]");s=a=null;var l=[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,157,310,10,21,11,7,153,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,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,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,85,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,159,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,230,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,35,56,264,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,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,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,2357,44,11,6,17,0,370,43,1301,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,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var u=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,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,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,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,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){var i=65536;for(var n=0;n<t.length;n+=2){i+=t[n];if(i>e){return false}i+=t[n+1];if(i>=e){return true}}}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&o.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,l)}function isIdentifierChar(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&c.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,l)||isInAstralSet(e,u)}var h=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new h(e,{beforeExpr:true,binop:t})}var f={beforeExpr:true},p={startsExpr:true};var d={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return d[e]=new h(e,t)}var m={num:new h("num",p),regexp:new h("regexp",p),string:new h("string",p),name:new h("name",p),eof:new h("eof"),bracketL:new h("[",{beforeExpr:true,startsExpr:true}),bracketR:new h("]"),braceL:new h("{",{beforeExpr:true,startsExpr:true}),braceR:new h("}"),parenL:new h("(",{beforeExpr:true,startsExpr:true}),parenR:new h(")"),comma:new h(",",f),semi:new h(";",f),colon:new h(":",f),dot:new h("."),question:new h("?",f),questionDot:new h("?."),arrow:new h("=>",f),template:new h("template"),invalidTemplate:new h("invalidTemplate"),ellipsis:new h("...",f),backQuote:new h("`",p),dollarBraceL:new h("${",{beforeExpr:true,startsExpr:true}),eq:new h("=",{beforeExpr:true,isAssign:true}),assign:new h("_=",{beforeExpr:true,isAssign:true}),incDec:new h("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new h("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("</>/<=/>=",7),bitShift:binop("<</>>/>>>",8),plusMin:new h("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new h("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",f),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",f),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",f),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",p),_if:kw("if"),_return:kw("return",f),_switch:kw("switch"),_throw:kw("throw",f),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",p),_super:kw("super",p),_class:kw("class",p),_extends:kw("extends",f),_export:kw("export"),_import:kw("import",p),_null:kw("null",p),_true:kw("true",p),_false:kw("false",p),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var _=/\r\n?|\n|\u2028|\u2029/;var g=new RegExp(_.source,"g");function isNewLine(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var v=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var y=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var x=Object.prototype;var b=x.hasOwnProperty;var w=x.toString;function has(e,t){return b.call(e,t)}var S=Array.isArray||function(e){return w.call(e)==="[object Array]"};function wordsRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var k=function Position(e,t){this.line=e;this.column=t};k.prototype.offset=function offset(e){return new k(this.line,this.column+e)};var C=function SourceLocation(e,t,i){this.start=t;this.end=i;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var i=1,n=0;;){g.lastIndex=n;var r=g.exec(e);if(r&&r.index<t){++i;n=r.index+r[0].length}else{return new k(i,t-n)}}}var E={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowAwaitOutsideFunction:false,allowHashBang:false,locations:false,onToken:null,onComment:null,ranges:false,program:null,sourceFile:null,directSourceFile:null,preserveParens:false};var A=false;function getOptions(e){var t={};for(var i in E){t[i]=e&&has(e,i)?e[i]:E[i]}if(t.ecmaVersion==="latest"){t.ecmaVersion=1e8}else if(t.ecmaVersion==null){if(!A&&typeof console==="object"&&console.warn){A=true;console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")}t.ecmaVersion=11}else if(t.ecmaVersion>=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(S(t.onToken)){var n=t.onToken;t.onToken=function(e){return n.push(e)}}if(S(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(i,n,r,s,a,o){var c={type:i?"Block":"Line",value:n,start:r,end:s};if(e.locations){c.loc=new C(this,a,o)}if(e.ranges){c.range=[r,s]}t.push(c)}}var P=1,T=2,I=P|T,R=4,O=8,F=16,j=32,N=64,M=128;function functionFlags(e,t){return T|(e?R:0)|(t?O:0)}var V=0,L=1,D=2,B=3,z=4,U=5;var W=function Parser(e,i,r){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(n[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var s="";if(e.allowReserved!==true){s=t[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3];if(e.sourceType==="module"){s+=" await"}}this.reservedWords=wordsRegexp(s);var a=(s?s+" ":"")+t.strict;this.reservedWordsStrict=wordsRegexp(a);this.reservedWordsStrictBind=wordsRegexp(a+" "+t.strictBind);this.input=String(i);this.containsEsc=false;if(r){this.pos=r;this.lineStart=this.input.lastIndexOf("\n",r-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(_).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=m.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=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(P);this.regexpState=null};var q={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},inNonArrowFunction:{configurable:true}};W.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};q.inFunction.get=function(){return(this.currentVarScope().flags&T)>0};q.inGenerator.get=function(){return(this.currentVarScope().flags&O)>0};q.inAsync.get=function(){return(this.currentVarScope().flags&R)>0};q.allowSuper.get=function(){return(this.currentThisScope().flags&N)>0};q.allowDirectSuper.get=function(){return(this.currentThisScope().flags&M)>0};q.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};q.inNonArrowFunction.get=function(){return(this.currentThisScope().flags&T)>0};W.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var i=this;for(var n=0;n<e.length;n++){i=e[n](i)}return i};W.parse=function parse(e,t){return new this(t,e).parse()};W.parseExpressionAt=function parseExpressionAt(e,t,i){var n=new this(i,e,t);n.nextToken();return n.parseExpression()};W.tokenizer=function tokenizer(e,t){return new this(t,e)};Object.defineProperties(W.prototype,q);var H=W.prototype;var $=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;H.strictDirective=function(e){for(;;){y.lastIndex=e;e+=y.exec(this.input)[0].length;var t=$.exec(this.input.slice(e));if(!t){return false}if((t[1]||t[2])==="use strict"){y.lastIndex=e+t[0].length;var i=y.exec(this.input),n=i.index+i[0].length;var r=this.input.charAt(n);return r===";"||r==="}"||_.test(i[0])&&!(/[(`.[+\-\/*%<>=,?^&]/.test(r)||r==="!"&&this.input.charAt(n+1)==="=")}e+=t[0].length;y.lastIndex=e;e+=y.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};H.eat=function(e){if(this.type===e){this.next();return true}else{return false}};H.isContextual=function(e){return this.type===m.name&&this.value===e&&!this.containsEsc};H.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};H.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};H.canInsertSemicolon=function(){return this.type===m.eof||this.type===m.braceR||_.test(this.input.slice(this.lastTokEnd,this.start))};H.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};H.semicolon=function(){if(!this.eat(m.semi)&&!this.insertSemicolon()){this.unexpected()}};H.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};H.expect=function(e){this.eat(e)||this.unexpected()};H.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}H.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var i=t?e.parenthesizedAssign:e.parenthesizedBind;if(i>-1){this.raiseRecoverable(i,"Parenthesized pattern")}};H.checkExpressionErrors=function(e,t){if(!e){return false}var i=e.shorthandAssign;var n=e.doubleProto;if(!t){return i>=0||n>=0}if(i>=0){this.raise(i,"Shorthand property assignments are valid only in destructuring patterns")}if(n>=0){this.raiseRecoverable(n,"Redefinition of __proto__ property")}};H.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)){this.raise(this.yieldPos,"Yield expression cannot be a default value")}if(this.awaitPos){this.raise(this.awaitPos,"Await expression cannot be a default value")}};H.isSimpleAssignTarget=function(e){if(e.type==="ParenthesizedExpression"){return this.isSimpleAssignTarget(e.expression)}return e.type==="Identifier"||e.type==="MemberExpression"};var G=W.prototype;G.parseTopLevel=function(e){var t=Object.create(null);if(!e.body){e.body=[]}while(this.type!==m.eof){var i=this.parseStatement(null,true,t);e.body.push(i)}if(this.inModule){for(var n=0,r=Object.keys(this.undefinedExports);n<r.length;n+=1){var s=r[n];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}}this.adaptDirectivePrologue(e.body);this.next();e.sourceType=this.options.sourceType;return this.finishNode(e,"Program")};var Q={kind:"loop"},J={kind:"switch"};G.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let")){return false}y.lastIndex=this.pos;var t=y.exec(this.input);var i=this.pos+t[0].length,n=this.input.charCodeAt(i);if(n===91){return true}if(e){return false}if(n===123){return true}if(isIdentifierStart(n,true)){var s=i+1;while(isIdentifierChar(this.input.charCodeAt(s),true)){++s}var a=this.input.slice(i,s);if(!r.test(a)){return true}}return false};G.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}y.lastIndex=this.pos;var e=y.exec(this.input);var t=this.pos+e[0].length;return!_.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!isIdentifierChar(this.input.charAt(t+8)))};G.parseStatement=function(e,t,i){var n=this.type,r=this.startNode(),s;if(this.isLet(e)){n=m._var;s="let"}switch(n){case m._break:case m._continue:return this.parseBreakContinueStatement(r,n.keyword);case m._debugger:return this.parseDebuggerStatement(r);case m._do:return this.parseDoStatement(r);case m._for:return this.parseForStatement(r);case m._function:if(e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(r,false,!e);case m._class:if(e){this.unexpected()}return this.parseClass(r,true);case m._if:return this.parseIfStatement(r);case m._return:return this.parseReturnStatement(r);case m._switch:return this.parseSwitchStatement(r);case m._throw:return this.parseThrowStatement(r);case m._try:return this.parseTryStatement(r);case m._const:case m._var:s=s||this.value;if(e&&s!=="var"){this.unexpected()}return this.parseVarStatement(r,s);case m._while:return this.parseWhileStatement(r);case m._with:return this.parseWithStatement(r);case m.braceL:return this.parseBlock(true,r);case m.semi:return this.parseEmptyStatement(r);case m._export:case m._import:if(this.options.ecmaVersion>10&&n===m._import){y.lastIndex=this.pos;var a=y.exec(this.input);var o=this.pos+a[0].length,c=this.input.charCodeAt(o);if(c===40||c===46){return this.parseExpressionStatement(r,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return n===m._import?this.parseImport(r):this.parseExport(r,i);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(r,true,!e)}var l=this.value,u=this.parseExpression();if(n===m.name&&u.type==="Identifier"&&this.eat(m.colon)){return this.parseLabeledStatement(r,l,u,e)}else{return this.parseExpressionStatement(r,u)}}};G.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next();if(this.eat(m.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==m.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var n=0;for(;n<this.labels.length;++n){var r=this.labels[n];if(e.label==null||r.name===e.label.name){if(r.kind!=null&&(i||r.kind==="loop")){break}if(e.label&&i){break}}}if(n===this.labels.length){this.raise(e.start,"Unsyntactic "+t)}return this.finishNode(e,i?"BreakStatement":"ContinueStatement")};G.parseDebuggerStatement=function(e){this.next();this.semicolon();return this.finishNode(e,"DebuggerStatement")};G.parseDoStatement=function(e){this.next();this.labels.push(Q);e.body=this.parseStatement("do");this.labels.pop();this.expect(m._while);e.test=this.parseParenExpression();if(this.options.ecmaVersion>=6){this.eat(m.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};G.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(Q);this.enterScope(0);this.expect(m.parenL);if(this.type===m.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var i=this.isLet();if(this.type===m._var||this.type===m._const||i){var n=this.startNode(),r=i?"let":this.value;this.next();this.parseVar(n,true,r);this.finishNode(n,"VariableDeclaration");if((this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&n.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===m._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,n)}if(t>-1){this.unexpected(t)}return this.parseFor(e,n)}var s=new DestructuringErrors;var a=this.parseExpression(true,s);if(this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===m._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}this.toAssignable(a,false,s);this.checkLValPattern(a);return this.parseForIn(e,a)}else{this.checkExpressionErrors(s,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)};G.parseFunctionStatement=function(e,t,i){this.next();return this.parseFunction(e,Y|(i?0:K),false,t)};G.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(m._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};G.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(m.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};G.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(m.braceL);this.labels.push(J);this.enterScope(0);var t;for(var i=false;this.type!==m.braceR;){if(this.type===m._case||this.type===m._default){var n=this.type===m._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(n){t.test=this.parseExpression()}else{if(i){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}i=true;t.test=null}this.expect(m.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};G.parseThrowStatement=function(e){this.next();if(_.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var X=[];G.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===m._catch){var t=this.startNode();this.next();if(this.eat(m.parenL)){t.param=this.parseBindingAtom();var i=t.param.type==="Identifier";this.enterScope(i?j:0);this.checkLValPattern(t.param,i?z:D);this.expect(m.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(m._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};G.parseVarStatement=function(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")};G.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(Q);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};G.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};G.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};G.parseLabeledStatement=function(e,t,i,n){for(var r=0,s=this.labels;r<s.length;r+=1){var a=s[r];if(a.name===t){this.raise(i.start,"Label '"+t+"' is already declared")}}var o=this.type.isLoop?"loop":this.type===m._switch?"switch":null;for(var c=this.labels.length-1;c>=0;c--){var l=this.labels[c];if(l.statementStart===e.start){l.statementStart=this.start;l.kind=o}else{break}}this.labels.push({name:t,kind:o,statementStart:this.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.labels.pop();e.label=i;return this.finishNode(e,"LabeledStatement")};G.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};G.parseBlock=function(e,t,i){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(m.braceL);if(e){this.enterScope(0)}while(this.type!==m.braceR){var n=this.parseStatement(null);t.body.push(n)}if(i){this.strict=false}this.next();if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};G.parseFor=function(e,t){e.init=t;this.expect(m.semi);e.test=this.type===m.semi?null:this.parseExpression();this.expect(m.semi);e.update=this.type===m.parenR?null:this.parseExpression();this.expect(m.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};G.parseForIn=function(e,t){var i=this.type===m._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer")}e.left=t;e.right=i?this.parseExpression():this.parseMaybeAssign();this.expect(m.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,i?"ForInStatement":"ForOfStatement")};G.parseVar=function(e,t,i){e.declarations=[];e.kind=i;for(;;){var n=this.startNode();this.parseVarId(n,i);if(this.eat(m.eq)){n.init=this.parseMaybeAssign(t)}else if(i==="const"&&!(this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(n.id.type!=="Identifier"&&!(t&&(this.type===m._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{n.init=null}e.declarations.push(this.finishNode(n,"VariableDeclarator"));if(!this.eat(m.comma)){break}}return e};G.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLValPattern(e.id,t==="var"?L:D,false)};var Y=1,K=2,Z=4;G.parseFunction=function(e,t,i,n){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n){if(this.type===m.star&&t&K){this.unexpected()}e.generator=this.eat(m.star)}if(this.options.ecmaVersion>=8){e.async=!!n}if(t&Y){e.id=t&Z&&this.type!==m.name?null:this.parseIdent();if(e.id&&!(t&K)){this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?L:D:B)}}var r=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&Y)){e.id=this.type===m.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,i,false);this.yieldPos=r;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(e,t&Y?"FunctionDeclaration":"FunctionExpression")};G.parseFunctionParams=function(e){this.expect(m.parenL);e.params=this.parseBindingList(m.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};G.parseClass=function(e,t){this.next();var i=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var n=this.startNode();var r=false;n.body=[];this.expect(m.braceL);while(this.type!==m.braceR){var s=this.parseClassElement(e.superClass!==null);if(s){n.body.push(s);if(s.type==="MethodDefinition"&&s.kind==="constructor"){if(r){this.raise(s.start,"Duplicate constructor in the same class")}r=true}}}this.strict=i;this.next();e.body=this.finishNode(n,"ClassBody");return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};G.parseClassElement=function(e){var t=this;if(this.eat(m.semi)){return null}var i=this.startNode();var n=function(e,n){if(n===void 0)n=false;var r=t.start,s=t.startLoc;if(!t.eatContextual(e)){return false}if(t.type!==m.parenL&&(!n||!t.canInsertSemicolon())){return true}if(i.key){t.unexpected()}i.computed=false;i.key=t.startNodeAt(r,s);i.key.name=e;t.finishNode(i.key,"Identifier");return false};i.kind="method";i.static=n("static");var r=this.eat(m.star);var s=false;if(!r){if(this.options.ecmaVersion>=8&&n("async",true)){s=true;r=this.options.ecmaVersion>=9&&this.eat(m.star)}else if(n("get")){i.kind="get"}else if(n("set")){i.kind="set"}}if(!i.key){this.parsePropertyName(i)}var a=i.key;var o=false;if(!i.computed&&!i.static&&(a.type==="Identifier"&&a.name==="constructor"||a.type==="Literal"&&a.value==="constructor")){if(i.kind!=="method"){this.raise(a.start,"Constructor can't have get/set modifier")}if(r){this.raise(a.start,"Constructor can't be a generator")}if(s){this.raise(a.start,"Constructor can't be an async method")}i.kind="constructor";o=e}else if(i.static&&a.type==="Identifier"&&a.name==="prototype"){this.raise(a.start,"Classes may not have a static property named prototype")}this.parseClassMethod(i,r,s,o);if(i.kind==="get"&&i.value.params.length!==0){this.raiseRecoverable(i.value.start,"getter should have no params")}if(i.kind==="set"&&i.value.params.length!==1){this.raiseRecoverable(i.value.start,"setter should have exactly one param")}if(i.kind==="set"&&i.value.params[0].type==="RestElement"){this.raiseRecoverable(i.value.params[0].start,"Setter cannot use rest params")}return i};G.parseClassMethod=function(e,t,i,n){e.value=this.parseMethod(t,i,n);return this.finishNode(e,"MethodDefinition")};G.parseClassId=function(e,t){if(this.type===m.name){e.id=this.parseIdent();if(t){this.checkLValSimple(e.id,D,false)}}else{if(t===true){this.unexpected()}e.id=null}};G.parseClassSuper=function(e){e.superClass=this.eat(m._extends)?this.parseExprSubscripts():null};G.parseExport=function(e,t){this.next();if(this.eat(m.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){e.exported=this.parseIdent(true);this.checkExport(t,e.exported.name,this.lastTokStart)}else{e.exported=null}}this.expectContextual("from");if(this.type!==m.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(m._default)){this.checkExport(t,"default",this.lastTokStart);var i;if(this.type===m._function||(i=this.isAsyncFunction())){var n=this.startNode();this.next();if(i){this.next()}e.declaration=this.parseFunction(n,Y|Z,false,i)}else if(this.type===m._class){var r=this.startNode();e.declaration=this.parseClass(r,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==m.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var s=0,a=e.specifiers;s<a.length;s+=1){var o=a[s];this.checkUnreserved(o.local);this.checkLocalExport(o.local)}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};G.checkExport=function(e,t,i){if(!e){return}if(has(e,t)){this.raiseRecoverable(i,"Duplicate export '"+t+"'")}e[t]=true};G.checkPatternExport=function(e,t){var i=t.type;if(i==="Identifier"){this.checkExport(e,t.name,t.start)}else if(i==="ObjectPattern"){for(var n=0,r=t.properties;n<r.length;n+=1){var s=r[n];this.checkPatternExport(e,s)}}else if(i==="ArrayPattern"){for(var a=0,o=t.elements;a<o.length;a+=1){var c=o[a];if(c){this.checkPatternExport(e,c)}}}else if(i==="Property"){this.checkPatternExport(e,t.value)}else if(i==="AssignmentPattern"){this.checkPatternExport(e,t.left)}else if(i==="RestElement"){this.checkPatternExport(e,t.argument)}else if(i==="ParenthesizedExpression"){this.checkPatternExport(e,t.expression)}};G.checkVariableExport=function(e,t){if(!e){return}for(var i=0,n=t;i<n.length;i+=1){var r=n[i];this.checkPatternExport(e,r.id)}};G.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};G.parseExportSpecifiers=function(e){var t=[],i=true;this.expect(m.braceL);while(!this.eat(m.braceR)){if(!i){this.expect(m.comma);if(this.afterTrailingComma(m.braceR)){break}}else{i=false}var n=this.startNode();n.local=this.parseIdent(true);n.exported=this.eatContextual("as")?this.parseIdent(true):n.local;this.checkExport(e,n.exported.name,n.exported.start);t.push(this.finishNode(n,"ExportSpecifier"))}return t};G.parseImport=function(e){this.next();if(this.type===m.string){e.specifiers=X;e.source=this.parseExprAtom()}else{e.specifiers=this.parseImportSpecifiers();this.expectContextual("from");e.source=this.type===m.string?this.parseExprAtom():this.unexpected()}this.semicolon();return this.finishNode(e,"ImportDeclaration")};G.parseImportSpecifiers=function(){var e=[],t=true;if(this.type===m.name){var i=this.startNode();i.local=this.parseIdent();this.checkLValSimple(i.local,D);e.push(this.finishNode(i,"ImportDefaultSpecifier"));if(!this.eat(m.comma)){return e}}if(this.type===m.star){var n=this.startNode();this.next();this.expectContextual("as");n.local=this.parseIdent();this.checkLValSimple(n.local,D);e.push(this.finishNode(n,"ImportNamespaceSpecifier"));return e}this.expect(m.braceL);while(!this.eat(m.braceR)){if(!t){this.expect(m.comma);if(this.afterTrailingComma(m.braceR)){break}}else{t=false}var r=this.startNode();r.imported=this.parseIdent(true);if(this.eatContextual("as")){r.local=this.parseIdent()}else{this.checkUnreserved(r.imported);r.local=r.imported}this.checkLValSimple(r.local,D);e.push(this.finishNode(r,"ImportSpecifier"))}return e};G.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t){e[t].directive=e[t].expression.raw.slice(1,-1)}};G.isDirectiveCandidate=function(e){return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var ee=W.prototype;ee.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e){switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await"){this.raise(e.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";if(i){this.checkPatternErrors(i,true)}for(var n=0,r=e.properties;n<r.length;n+=1){var s=r[n];this.toAssignable(s,t);if(s.type==="RestElement"&&(s.argument.type==="ArrayPattern"||s.argument.type==="ObjectPattern")){this.raise(s.argument.start,"Unexpected token")}}break;case"Property":if(e.kind!=="init"){this.raise(e.key.start,"Object pattern can't contain getter or setter")}this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern";if(i){this.checkPatternErrors(i,true)}this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement";this.toAssignable(e.argument,t);if(e.argument.type==="AssignmentPattern"){this.raise(e.argument.start,"Rest elements cannot have a default value")}break;case"AssignmentExpression":if(e.operator!=="="){this.raise(e.left.end,"Only '=' operator can be used for specifying default value.")}e.type="AssignmentPattern";delete e.operator;this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,i);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t){break}default:this.raise(e.start,"Assigning to rvalue")}}else if(i){this.checkPatternErrors(i,true)}return e};ee.toAssignableList=function(e,t){var i=e.length;for(var n=0;n<i;n++){var r=e[n];if(r){this.toAssignable(r,t)}}if(i){var s=e[i-1];if(this.options.ecmaVersion===6&&t&&s&&s.type==="RestElement"&&s.argument.type!=="Identifier"){this.unexpected(s.argument.start)}}return e};ee.parseSpread=function(e){var t=this.startNode();this.next();t.argument=this.parseMaybeAssign(false,e);return this.finishNode(t,"SpreadElement")};ee.parseRestBinding=function(){var e=this.startNode();this.next();if(this.options.ecmaVersion===6&&this.type!==m.name){this.unexpected()}e.argument=this.parseBindingAtom();return this.finishNode(e,"RestElement")};ee.parseBindingAtom=function(){if(this.options.ecmaVersion>=6){switch(this.type){case m.bracketL:var e=this.startNode();this.next();e.elements=this.parseBindingList(m.bracketR,true,true);return this.finishNode(e,"ArrayPattern");case m.braceL:return this.parseObj(true)}}return this.parseIdent()};ee.parseBindingList=function(e,t,i){var n=[],r=true;while(!this.eat(e)){if(r){r=false}else{this.expect(m.comma)}if(t&&this.type===m.comma){n.push(null)}else if(i&&this.afterTrailingComma(e)){break}else if(this.type===m.ellipsis){var s=this.parseRestBinding();this.parseBindingListItem(s);n.push(s);if(this.type===m.comma){this.raise(this.start,"Comma is not permitted after the rest element")}this.expect(e);break}else{var a=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(a);n.push(a)}}return n};ee.parseBindingListItem=function(e){return e};ee.parseMaybeDefault=function(e,t,i){i=i||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(m.eq)){return i}var n=this.startNodeAt(e,t);n.left=i;n.right=this.parseMaybeAssign();return this.finishNode(n,"AssignmentPattern")};ee.checkLValSimple=function(e,t,i){if(t===void 0)t=V;var n=t!==V;switch(e.type){case"Identifier":if(this.strict&&this.reservedWordsStrictBind.test(e.name)){this.raiseRecoverable(e.start,(n?"Binding ":"Assigning to ")+e.name+" in strict mode")}if(n){if(t===D&&e.name==="let"){this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name")}if(i){if(has(i,e.name)){this.raiseRecoverable(e.start,"Argument name clash")}i[e.name]=true}if(t!==U){this.declareName(e.name,t,e.start)}}break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(n){this.raiseRecoverable(e.start,"Binding member expression")}break;case"ParenthesizedExpression":if(n){this.raiseRecoverable(e.start,"Binding parenthesized expression")}return this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(n?"Binding":"Assigning to")+" rvalue")}};ee.checkLValPattern=function(e,t,i){if(t===void 0)t=V;switch(e.type){case"ObjectPattern":for(var n=0,r=e.properties;n<r.length;n+=1){var s=r[n];this.checkLValInnerPattern(s,t,i)}break;case"ArrayPattern":for(var a=0,o=e.elements;a<o.length;a+=1){var c=o[a];if(c){this.checkLValInnerPattern(c,t,i)}}break;default:this.checkLValSimple(e,t,i)}};ee.checkLValInnerPattern=function(e,t,i){if(t===void 0)t=V;switch(e.type){case"Property":this.checkLValInnerPattern(e.value,t,i);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,i);break;case"RestElement":this.checkLValPattern(e.argument,t,i);break;default:this.checkLValPattern(e,t,i)}};var te=W.prototype;te.checkPropClash=function(e,t,i){if(this.options.ecmaVersion>=9&&e.type==="SpreadElement"){return}if(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand)){return}var n=e.key;var r;switch(n.type){case"Identifier":r=n.name;break;case"Literal":r=String(n.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6){if(r==="__proto__"&&s==="init"){if(t.proto){if(i){if(i.doubleProto<0){i.doubleProto=n.start}}else{this.raiseRecoverable(n.start,"Redefinition of __proto__ property")}}t.proto=true}return}r="$"+r;var a=t[r];if(a){var o;if(s==="init"){o=this.strict&&a.init||a.get||a.set}else{o=a.init||a[s]}if(o){this.raiseRecoverable(n.start,"Redefinition of property")}}else{a=t[r]={init:false,get:false,set:false}}a[s]=true};te.parseExpression=function(e,t){var i=this.start,n=this.startLoc;var r=this.parseMaybeAssign(e,t);if(this.type===m.comma){var s=this.startNodeAt(i,n);s.expressions=[r];while(this.eat(m.comma)){s.expressions.push(this.parseMaybeAssign(e,t))}return this.finishNode(s,"SequenceExpression")}return r};te.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator){return this.parseYield(e)}else{this.exprAllowed=false}}var n=false,r=-1,s=-1;if(t){r=t.parenthesizedAssign;s=t.trailingComma;t.parenthesizedAssign=t.trailingComma=-1}else{t=new DestructuringErrors;n=true}var a=this.start,o=this.startLoc;if(this.type===m.parenL||this.type===m.name){this.potentialArrowAt=this.start}var c=this.parseMaybeConditional(e,t);if(i){c=i.call(this,c,a,o)}if(this.type.isAssign){var l=this.startNodeAt(a,o);l.operator=this.value;if(this.type===m.eq){c=this.toAssignable(c,false,t)}if(!n){t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1}if(t.shorthandAssign>=c.start){t.shorthandAssign=-1}if(this.type===m.eq){this.checkLValPattern(c)}else{this.checkLValSimple(c)}l.left=c;this.next();l.right=this.parseMaybeAssign(e);return this.finishNode(l,"AssignmentExpression")}else{if(n){this.checkExpressionErrors(t,true)}}if(r>-1){t.parenthesizedAssign=r}if(s>-1){t.trailingComma=s}return c};te.parseMaybeConditional=function(e,t){var i=this.start,n=this.startLoc;var r=this.parseExprOps(e,t);if(this.checkExpressionErrors(t)){return r}if(this.eat(m.question)){var s=this.startNodeAt(i,n);s.test=r;s.consequent=this.parseMaybeAssign();this.expect(m.colon);s.alternate=this.parseMaybeAssign(e);return this.finishNode(s,"ConditionalExpression")}return r};te.parseExprOps=function(e,t){var i=this.start,n=this.startLoc;var r=this.parseMaybeUnary(t,false);if(this.checkExpressionErrors(t)){return r}return r.start===i&&r.type==="ArrowFunctionExpression"?r:this.parseExprOp(r,i,n,-1,e)};te.parseExprOp=function(e,t,i,n,r){var s=this.type.binop;if(s!=null&&(!r||this.type!==m._in)){if(s>n){var a=this.type===m.logicalOR||this.type===m.logicalAND;var o=this.type===m.coalesce;if(o){s=m.logicalAND.binop}var c=this.value;this.next();var l=this.start,u=this.startLoc;var h=this.parseExprOp(this.parseMaybeUnary(null,false),l,u,s,r);var f=this.buildBinary(t,i,e,h,c,a||o);if(a&&this.type===m.coalesce||o&&(this.type===m.logicalOR||this.type===m.logicalAND)){this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses")}return this.parseExprOp(f,t,i,n,r)}}return e};te.buildBinary=function(e,t,i,n,r,s){var a=this.startNodeAt(e,t);a.left=i;a.operator=r;a.right=n;return this.finishNode(a,s?"LogicalExpression":"BinaryExpression")};te.parseMaybeUnary=function(e,t){var i=this.start,n=this.startLoc,r;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)){r=this.parseAwait();t=true}else if(this.type.prefix){var s=this.startNode(),a=this.type===m.incDec;s.operator=this.value;s.prefix=true;this.next();s.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(a){this.checkLValSimple(s.argument)}else if(this.strict&&s.operator==="delete"&&s.argument.type==="Identifier"){this.raiseRecoverable(s.start,"Deleting local variable in strict mode")}else{t=true}r=this.finishNode(s,a?"UpdateExpression":"UnaryExpression")}else{r=this.parseExprSubscripts(e);if(this.checkExpressionErrors(e)){return r}while(this.type.postfix&&!this.canInsertSemicolon()){var o=this.startNodeAt(i,n);o.operator=this.value;o.prefix=false;o.argument=r;this.checkLValSimple(r);this.next();r=this.finishNode(o,"UpdateExpression")}}if(!t&&this.eat(m.starstar)){return this.buildBinary(i,n,r,this.parseMaybeUnary(null,false),"**",false)}else{return r}};te.parseExprSubscripts=function(e){var t=this.start,i=this.startLoc;var n=this.parseExprAtom(e);if(n.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")"){return n}var r=this.parseSubscripts(n,t,i);if(e&&r.type==="MemberExpression"){if(e.parenthesizedAssign>=r.start){e.parenthesizedAssign=-1}if(e.parenthesizedBind>=r.start){e.parenthesizedBind=-1}if(e.trailingComma>=r.start){e.trailingComma=-1}}return r};te.parseSubscripts=function(e,t,i,n){var r=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start;var s=false;while(true){var a=this.parseSubscript(e,t,i,n,r,s);if(a.optional){s=true}if(a===e||a.type==="ArrowFunctionExpression"){if(s){var o=this.startNodeAt(t,i);o.expression=a;a=this.finishNode(o,"ChainExpression")}return a}e=a}};te.parseSubscript=function(e,t,i,n,r,s){var a=this.options.ecmaVersion>=11;var o=a&&this.eat(m.questionDot);if(n&&o){this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions")}var c=this.eat(m.bracketL);if(c||o&&this.type!==m.parenL&&this.type!==m.backQuote||this.eat(m.dot)){var l=this.startNodeAt(t,i);l.object=e;l.property=c?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never");l.computed=!!c;if(c){this.expect(m.bracketR)}if(a){l.optional=o}e=this.finishNode(l,"MemberExpression")}else if(!n&&this.eat(m.parenL)){var u=new DestructuringErrors,h=this.yieldPos,f=this.awaitPos,p=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var d=this.parseExprList(m.parenR,this.options.ecmaVersion>=8,false,u);if(r&&!o&&!this.canInsertSemicolon()&&this.eat(m.arrow)){this.checkPatternErrors(u,false);this.checkYieldAwaitInDefaultParams();if(this.awaitIdentPos>0){this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function")}this.yieldPos=h;this.awaitPos=f;this.awaitIdentPos=p;return this.parseArrowExpression(this.startNodeAt(t,i),d,true)}this.checkExpressionErrors(u,true);this.yieldPos=h||this.yieldPos;this.awaitPos=f||this.awaitPos;this.awaitIdentPos=p||this.awaitIdentPos;var _=this.startNodeAt(t,i);_.callee=e;_.arguments=d;if(a){_.optional=o}e=this.finishNode(_,"CallExpression")}else if(this.type===m.backQuote){if(o||s){this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions")}var g=this.startNodeAt(t,i);g.tag=e;g.quasi=this.parseTemplate({isTagged:true});e=this.finishNode(g,"TaggedTemplateExpression")}return e};te.parseExprAtom=function(e){if(this.type===m.slash){this.readRegexp()}var t,i=this.potentialArrowAt===this.start;switch(this.type){case m._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}t=this.startNode();this.next();if(this.type===m.parenL&&!this.allowDirectSuper){this.raise(t.start,"super() call outside constructor of a subclass")}if(this.type!==m.dot&&this.type!==m.bracketL&&this.type!==m.parenL){this.unexpected()}return this.finishNode(t,"Super");case m._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case m.name:var n=this.start,r=this.startLoc,s=this.containsEsc;var a=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!s&&a.name==="async"&&!this.canInsertSemicolon()&&this.eat(m._function)){return this.parseFunction(this.startNodeAt(n,r),0,false,true)}if(i&&!this.canInsertSemicolon()){if(this.eat(m.arrow)){return this.parseArrowExpression(this.startNodeAt(n,r),[a],false)}if(this.options.ecmaVersion>=8&&a.name==="async"&&this.type===m.name&&!s){a=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(m.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(n,r),[a],true)}}return a;case m.regexp:var o=this.value;t=this.parseLiteral(o.value);t.regex={pattern:o.pattern,flags:o.flags};return t;case m.num:case m.string:return this.parseLiteral(this.value);case m._null:case m._true:case m._false:t=this.startNode();t.value=this.type===m._null?null:this.type===m._true;t.raw=this.type.keyword;this.next();return this.finishNode(t,"Literal");case m.parenL:var c=this.start,l=this.parseParenAndDistinguishExpression(i);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)){e.parenthesizedAssign=c}if(e.parenthesizedBind<0){e.parenthesizedBind=c}}return l;case m.bracketL:t=this.startNode();this.next();t.elements=this.parseExprList(m.bracketR,true,true,e);return this.finishNode(t,"ArrayExpression");case m.braceL:return this.parseObj(false,e);case m._function:t=this.startNode();this.next();return this.parseFunction(t,0);case m._class:return this.parseClass(this.startNode(),false);case m._new:return this.parseNew();case m.backQuote:return this.parseTemplate();case m._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};te.parseExprImport=function(){var e=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var t=this.parseIdent(true);switch(this.type){case m.parenL:return this.parseDynamicImport(e);case m.dot:e.meta=t;return this.parseImportMeta(e);default:this.unexpected()}};te.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(m.parenR)){var t=this.start;if(this.eat(m.comma)&&this.eat(m.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};te.parseImportMeta=function(e){this.next();var t=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="meta"){this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'")}if(t){this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(e,"MetaProperty")};te.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(t,"Literal")};te.parseParenExpression=function(){this.expect(m.parenL);var e=this.parseExpression();this.expect(m.parenR);return e};te.parseParenAndDistinguishExpression=function(e){var t=this.start,i=this.startLoc,n,r=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s=this.start,a=this.startLoc;var o=[],c=true,l=false;var u=new DestructuringErrors,h=this.yieldPos,f=this.awaitPos,p;this.yieldPos=0;this.awaitPos=0;while(this.type!==m.parenR){c?c=false:this.expect(m.comma);if(r&&this.afterTrailingComma(m.parenR,true)){l=true;break}else if(this.type===m.ellipsis){p=this.start;o.push(this.parseParenItem(this.parseRestBinding()));if(this.type===m.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{o.push(this.parseMaybeAssign(false,u,this.parseParenItem))}}var d=this.start,_=this.startLoc;this.expect(m.parenR);if(e&&!this.canInsertSemicolon()&&this.eat(m.arrow)){this.checkPatternErrors(u,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=h;this.awaitPos=f;return this.parseParenArrowList(t,i,o)}if(!o.length||l){this.unexpected(this.lastTokStart)}if(p){this.unexpected(p)}this.checkExpressionErrors(u,true);this.yieldPos=h||this.yieldPos;this.awaitPos=f||this.awaitPos;if(o.length>1){n=this.startNodeAt(s,a);n.expressions=o;this.finishNodeAt(n,"SequenceExpression",d,_)}else{n=o[0]}}else{n=this.parseParenExpression()}if(this.options.preserveParens){var g=this.startNodeAt(t,i);g.expression=n;return this.finishNode(g,"ParenthesizedExpression")}else{return n}};te.parseParenItem=function(e){return e};te.parseParenArrowList=function(e,t,i){return this.parseArrowExpression(this.startNodeAt(e,t),i)};var ie=[];te.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var e=this.startNode();var t=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(m.dot)){e.meta=t;var i=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"){this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'")}if(i){this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction){this.raiseRecoverable(e.start,"'new.target' can only be used in functions")}return this.finishNode(e,"MetaProperty")}var n=this.start,r=this.startLoc,s=this.type===m._import;e.callee=this.parseSubscripts(this.parseExprAtom(),n,r,true);if(s&&e.callee.type==="ImportExpression"){this.raise(n,"Cannot use new with import()")}if(this.eat(m.parenL)){e.arguments=this.parseExprList(m.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=ie}return this.finishNode(e,"NewExpression")};te.parseTemplateElement=function(e){var t=e.isTagged;var i=this.startNode();if(this.type===m.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}i.value={raw:this.value,cooked:null}}else{i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();i.tail=this.type===m.backQuote;return this.finishNode(i,"TemplateElement")};te.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var i=this.startNode();this.next();i.expressions=[];var n=this.parseTemplateElement({isTagged:t});i.quasis=[n];while(!n.tail){if(this.type===m.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(m.dollarBraceL);i.expressions.push(this.parseExpression());this.expect(m.braceR);i.quasis.push(n=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(i,"TemplateLiteral")};te.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===m.name||this.type===m.num||this.type===m.string||this.type===m.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===m.star)&&!_.test(this.input.slice(this.lastTokEnd,this.start))};te.parseObj=function(e,t){var i=this.startNode(),n=true,r={};i.properties=[];this.next();while(!this.eat(m.braceR)){if(!n){this.expect(m.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(m.braceR)){break}}else{n=false}var s=this.parseProperty(e,t);if(!e){this.checkPropClash(s,r,t)}i.properties.push(s)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};te.parseProperty=function(e,t){var i=this.startNode(),n,r,s,a;if(this.options.ecmaVersion>=9&&this.eat(m.ellipsis)){if(e){i.argument=this.parseIdent(false);if(this.type===m.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(i,"RestElement")}if(this.type===m.parenL&&t){if(t.parenthesizedAssign<0){t.parenthesizedAssign=this.start}if(t.parenthesizedBind<0){t.parenthesizedBind=this.start}}i.argument=this.parseMaybeAssign(false,t);if(this.type===m.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(i,"SpreadElement")}if(this.options.ecmaVersion>=6){i.method=false;i.shorthand=false;if(e||t){s=this.start;a=this.startLoc}if(!e){n=this.eat(m.star)}}var o=this.containsEsc;this.parsePropertyName(i);if(!e&&!o&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(i)){r=true;n=this.options.ecmaVersion>=9&&this.eat(m.star);this.parsePropertyName(i,t)}else{r=false}this.parsePropertyValue(i,e,n,r,s,a,t,o);return this.finishNode(i,"Property")};te.parsePropertyValue=function(e,t,i,n,r,s,a,o){if((i||n)&&this.type===m.colon){this.unexpected()}if(this.eat(m.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,a);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===m.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(i,n)}else if(!t&&!o&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==m.comma&&this.type!==m.braceR&&this.type!==m.eq)){if(i||n){this.unexpected()}e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var c=e.kind==="get"?0:1;if(e.value.params.length!==c){var l=e.value.start;if(e.kind==="get"){this.raiseRecoverable(l,"getter should have no params")}else{this.raiseRecoverable(l,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(i||n){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=r}e.kind="init";if(t){e.value=this.parseMaybeDefault(r,s,this.copyNode(e.key))}else if(this.type===m.eq&&a){if(a.shorthandAssign<0){a.shorthandAssign=this.start}e.value=this.parseMaybeDefault(r,s,this.copyNode(e.key))}else{e.value=this.copyNode(e.key)}e.shorthand=true}else{this.unexpected()}};te.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(m.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(m.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===m.num||this.type===m.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};te.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};te.parseMethod=function(e,t,i){var n=this.startNode(),r=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.initFunction(n);if(this.options.ecmaVersion>=6){n.generator=e}if(this.options.ecmaVersion>=8){n.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,n.generator)|N|(i?M:0));this.expect(m.parenL);n.params=this.parseBindingList(m.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(n,false,true);this.yieldPos=r;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(n,"FunctionExpression")};te.parseArrowExpression=function(e,t,i){var n=this.yieldPos,r=this.awaitPos,s=this.awaitIdentPos;this.enterScope(functionFlags(i,false)|F);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!i}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false);this.yieldPos=n;this.awaitPos=r;this.awaitIdentPos=s;return this.finishNode(e,"ArrowFunctionExpression")};te.parseFunctionBody=function(e,t,i){var n=t&&this.type!==m.braceL;var r=this.strict,s=false;if(n){e.body=this.parseMaybeAssign();e.expression=true;this.checkParams(e,false)}else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!r||a){s=this.strictDirective(this.end);if(s&&a){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var o=this.labels;this.labels=[];if(s){this.strict=true}this.checkParams(e,!r&&!s&&!t&&!i&&this.isSimpleParamList(e.params));if(this.strict&&e.id){this.checkLValSimple(e.id,U)}e.body=this.parseBlock(false,undefined,s&&!r);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=o}this.exitScope()};te.isSimpleParamList=function(e){for(var t=0,i=e;t<i.length;t+=1){var n=i[t];if(n.type!=="Identifier"){return false}}return true};te.checkParams=function(e,t){var i=Object.create(null);for(var n=0,r=e.params;n<r.length;n+=1){var s=r[n];this.checkLValInnerPattern(s,L,t?null:i)}};te.parseExprList=function(e,t,i,n){var r=[],s=true;while(!this.eat(e)){if(!s){this.expect(m.comma);if(t&&this.afterTrailingComma(e)){break}}else{s=false}var a=void 0;if(i&&this.type===m.comma){a=null}else if(this.type===m.ellipsis){a=this.parseSpread(n);if(n&&this.type===m.comma&&n.trailingComma<0){n.trailingComma=this.start}}else{a=this.parseMaybeAssign(false,n)}r.push(a)}return r};te.checkUnreserved=function(e){var t=e.start;var i=e.end;var n=e.name;if(this.inGenerator&&n==="yield"){this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator")}if(this.inAsync&&n==="await"){this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function")}if(this.keywords.test(n)){this.raise(t,"Unexpected keyword '"+n+"'")}if(this.options.ecmaVersion<6&&this.input.slice(t,i).indexOf("\\")!==-1){return}var r=this.strict?this.reservedWordsStrict:this.reservedWords;if(r.test(n)){if(!this.inAsync&&n==="await"){this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function")}this.raiseRecoverable(t,"The keyword '"+n+"' is reserved")}};te.parseIdent=function(e,t){var i=this.startNode();if(this.type===m.name){i.name=this.value}else if(this.type.keyword){i.name=this.type.keyword;if((i.name==="class"||i.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)){this.context.pop()}}else{this.unexpected()}this.next(!!e);this.finishNode(i,"Identifier");if(!e){this.checkUnreserved(i);if(i.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=i.start}}return i};te.parseYield=function(e){if(!this.yieldPos){this.yieldPos=this.start}var t=this.startNode();this.next();if(this.type===m.semi||this.canInsertSemicolon()||this.type!==m.star&&!this.type.startsExpr){t.delegate=false;t.argument=null}else{t.delegate=this.eat(m.star);t.argument=this.parseMaybeAssign(e)}return this.finishNode(t,"YieldExpression")};te.parseAwait=function(){if(!this.awaitPos){this.awaitPos=this.start}var e=this.startNode();this.next();e.argument=this.parseMaybeUnary(null,true);return this.finishNode(e,"AwaitExpression")};var ne=W.prototype;ne.raise=function(e,t){var i=getLineInfo(this.input,e);t+=" ("+i.line+":"+i.column+")";var n=new SyntaxError(t);n.pos=e;n.loc=i;n.raisedAt=this.pos;throw n};ne.raiseRecoverable=ne.raise;ne.curPosition=function(){if(this.options.locations){return new k(this.curLine,this.pos-this.lineStart)}};var re=W.prototype;var se=function Scope(e){this.flags=e;this.var=[];this.lexical=[];this.functions=[]};re.enterScope=function(e){this.scopeStack.push(new se(e))};re.exitScope=function(){this.scopeStack.pop()};re.treatFunctionsAsVarInScope=function(e){return e.flags&T||!this.inModule&&e.flags&P};re.declareName=function(e,t,i){var n=false;if(t===D){var r=this.currentScope();n=r.lexical.indexOf(e)>-1||r.functions.indexOf(e)>-1||r.var.indexOf(e)>-1;r.lexical.push(e);if(this.inModule&&r.flags&P){delete this.undefinedExports[e]}}else if(t===z){var s=this.currentScope();s.lexical.push(e)}else if(t===B){var a=this.currentScope();if(this.treatFunctionsAsVar){n=a.lexical.indexOf(e)>-1}else{n=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1}a.functions.push(e)}else{for(var o=this.scopeStack.length-1;o>=0;--o){var c=this.scopeStack[o];if(c.lexical.indexOf(e)>-1&&!(c.flags&j&&c.lexical[0]===e)||!this.treatFunctionsAsVarInScope(c)&&c.functions.indexOf(e)>-1){n=true;break}c.var.push(e);if(this.inModule&&c.flags&P){delete this.undefinedExports[e]}if(c.flags&I){break}}}if(n){this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")}};re.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};re.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};re.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&I){return t}}};re.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&I&&!(t.flags&F)){return t}}};var ae=function Node(e,t,i){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new C(e,i)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var oe=W.prototype;oe.startNode=function(){return new ae(this,this.start,this.startLoc)};oe.startNodeAt=function(e,t){return new ae(this,e,t)};function finishNodeAt(e,t,i,n){e.type=t;e.end=i;if(this.options.locations){e.loc.end=n}if(this.options.ranges){e.range[1]=i}return e}oe.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};oe.finishNodeAt=function(e,t,i,n){return finishNodeAt.call(this,e,t,i,n)};oe.copyNode=function(e){var t=new ae(this,e.start,this.startLoc);for(var i in e){t[i]=e[i]}return t};var ce=function TokContext(e,t,i,n,r){this.token=e;this.isExpr=!!t;this.preserveSpace=!!i;this.override=n;this.generator=!!r};var le={b_stat:new ce("{",false),b_expr:new ce("{",true),b_tmpl:new ce("${",false),p_stat:new ce("(",false),p_expr:new ce("(",true),q_tmpl:new ce("`",true,true,function(e){return e.tryReadTemplateToken()}),f_stat:new ce("function",false),f_expr:new ce("function",true),f_expr_gen:new ce("function",true,false,null,true),f_gen:new ce("function",false,false,null,true)};var ue=W.prototype;ue.initialContext=function(){return[le.b_stat]};ue.braceIsBlock=function(e){var t=this.curContext();if(t===le.f_expr||t===le.f_stat){return true}if(e===m.colon&&(t===le.b_stat||t===le.b_expr)){return!t.isExpr}if(e===m._return||e===m.name&&this.exprAllowed){return _.test(this.input.slice(this.lastTokEnd,this.start))}if(e===m._else||e===m.semi||e===m.eof||e===m.parenR||e===m.arrow){return true}if(e===m.braceL){return t===le.b_stat}if(e===m._var||e===m._const||e===m.name){return false}return!this.exprAllowed};ue.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};ue.updateContext=function(e){var t,i=this.type;if(i.keyword&&e===m.dot){this.exprAllowed=false}else if(t=i.updateContext){t.call(this,e)}else{this.exprAllowed=i.beforeExpr}};m.parenR.updateContext=m.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===le.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};m.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?le.b_stat:le.b_expr);this.exprAllowed=true};m.dollarBraceL.updateContext=function(){this.context.push(le.b_tmpl);this.exprAllowed=true};m.parenL.updateContext=function(e){var t=e===m._if||e===m._for||e===m._with||e===m._while;this.context.push(t?le.p_stat:le.p_expr);this.exprAllowed=true};m.incDec.updateContext=function(){};m._function.updateContext=m._class.updateContext=function(e){if(e.beforeExpr&&e!==m._else&&!(e===m.semi&&this.curContext()!==le.p_stat)&&!(e===m._return&&_.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===m.colon||e===m.braceL)&&this.curContext()===le.b_stat)){this.context.push(le.f_expr)}else{this.context.push(le.f_stat)}this.exprAllowed=false};m.backQuote.updateContext=function(){if(this.curContext()===le.q_tmpl){this.context.pop()}else{this.context.push(le.q_tmpl)}this.exprAllowed=false};m.star.updateContext=function(e){if(e===m._function){var t=this.context.length-1;if(this.context[t]===le.f_expr){this.context[t]=le.f_expr_gen}else{this.context[t]=le.f_gen}}this.exprAllowed=true};m.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==m.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var he="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var fe=he+" Extended_Pictographic";var pe=fe;var de=pe+" EBase EComp EMod EPres ExtPict";var me={9:he,10:fe,11:pe,12:de};var _e="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var ge="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var ve=ge+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var ye=ve+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var xe=ye+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var be={9:ge,10:ve,11:ye,12:xe};var we={};function buildUnicodeData(e){var t=we[e]={binary:wordsRegexp(me[e]+" "+_e),nonBinary:{General_Category:wordsRegexp(_e),Script:wordsRegexp(be[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script;t.nonBinary.gc=t.nonBinary.General_Category;t.nonBinary.sc=t.nonBinary.Script;t.nonBinary.scx=t.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);buildUnicodeData(12);var Se=W.prototype;var ke=function RegExpValidationState(e){this.parser=e;this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"");this.unicodeProperties=we[e.options.ecmaVersion>=12?12:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};ke.prototype.reset=function reset(e,t,i){var n=i.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=i;this.switchU=n&&this.parser.options.ecmaVersion>=6;this.switchN=n&&this.parser.options.ecmaVersion>=9};ke.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};ke.prototype.at=function at(e,t){if(t===void 0)t=false;var i=this.source;var n=i.length;if(e>=n){return-1}var r=i.charCodeAt(e);if(!(t||this.switchU)||r<=55295||r>=57344||e+1>=n){return r}var s=i.charCodeAt(e+1);return s>=56320&&s<=57343?(r<<10)+s-56613888:r};ke.prototype.nextIndex=function nextIndex(e,t){if(t===void 0)t=false;var i=this.source;var n=i.length;if(e>=n){return n}var r=i.charCodeAt(e),s;if(!(t||this.switchU)||r<=55295||r>=57344||e+1>=n||(s=i.charCodeAt(e+1))<56320||s>57343){return e+1}return e+2};ke.prototype.current=function current(e){if(e===void 0)e=false;return this.at(this.pos,e)};ke.prototype.lookahead=function lookahead(e){if(e===void 0)e=false;return this.at(this.nextIndex(this.pos,e),e)};ke.prototype.advance=function advance(e){if(e===void 0)e=false;this.pos=this.nextIndex(this.pos,e)};ke.prototype.eat=function eat(e,t){if(t===void 0)t=false;if(this.current(t)===e){this.advance(t);return true}return false};function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Se.validateRegExpFlags=function(e){var t=e.validFlags;var i=e.flags;for(var n=0;n<i.length;n++){var r=i.charAt(n);if(t.indexOf(r)===-1){this.raise(e.start,"Invalid regular expression flag")}if(i.indexOf(r,n+1)>-1){this.raise(e.start,"Duplicate regular expression flag")}}};Se.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};Se.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,i=e.backReferenceNames;t<i.length;t+=1){var n=i[t];if(e.groupNames.indexOf(n)===-1){e.raise("Invalid named capture referenced")}}};Se.regexp_disjunction=function(e){this.regexp_alternative(e);while(e.eat(124)){this.regexp_alternative(e)}if(this.regexp_eatQuantifier(e,true)){e.raise("Nothing to repeat")}if(e.eat(123)){e.raise("Lone quantifier brackets")}};Se.regexp_alternative=function(e){while(e.pos<e.source.length&&this.regexp_eatTerm(e)){}};Se.regexp_eatTerm=function(e){if(this.regexp_eatAssertion(e)){if(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)){if(e.switchU){e.raise("Invalid quantifier")}}return true}if(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e)){this.regexp_eatQuantifier(e);return true}return false};Se.regexp_eatAssertion=function(e){var t=e.pos;e.lastAssertionIsQuantifiable=false;if(e.eat(94)||e.eat(36)){return true}if(e.eat(92)){if(e.eat(66)||e.eat(98)){return true}e.pos=t}if(e.eat(40)&&e.eat(63)){var i=false;if(this.options.ecmaVersion>=9){i=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!i;return true}}e.pos=t;return false};Se.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};Se.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};Se.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var n=0,r=-1;if(this.regexp_eatDecimalDigits(e)){n=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){r=e.lastIntValue}if(e.eat(125)){if(r!==-1&&r<n&&!t){e.raise("numbers out of order in {} quantifier")}return true}}if(e.switchU&&!t){e.raise("Incomplete quantifier")}e.pos=i}return false};Se.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};Se.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e)){return true}e.pos=t}return false};Se.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){this.regexp_disjunction(e);if(e.eat(41)){return true}e.raise("Unterminated group")}e.pos=t}return false};Se.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};Se.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};Se.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};Se.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(isSyntaxCharacter(t)){e.lastIntValue=t;e.advance();return true}return false};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}Se.regexp_eatPatternCharacters=function(e){var t=e.pos;var i=0;while((i=e.current())!==-1&&!isSyntaxCharacter(i)){e.advance()}return e.pos!==t};Se.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};Se.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};Se.regexp_eatGroupName=function(e){e.lastStringValue="";if(e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62)){return true}e.raise("Invalid capture group name")}return false};Se.regexp_eatRegExpIdentifierName=function(e){e.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(e)){e.lastStringValue+=codePointToString(e.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(e)){e.lastStringValue+=codePointToString(e.lastIntValue)}return true}return false};Se.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var n=e.current(i);e.advance(i);if(n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){n=e.lastIntValue}if(isRegExpIdentifierStart(n)){e.lastIntValue=n;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}Se.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var n=e.current(i);e.advance(i);if(n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){n=e.lastIntValue}if(isRegExpIdentifierPart(n)){e.lastIntValue=n;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}Se.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};Se.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU){if(i>e.maxBackReference){e.maxBackReference=i}return true}if(i<=e.numCapturingParens){return true}e.pos=t}return false};Se.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};Se.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,false)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};Se.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};Se.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};Se.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};Se.regexp_eatControlLetter=function(e){var t=e.current();if(isControlLetter(t)){e.lastIntValue=t%32;e.advance();return true}return false};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}Se.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){if(t===void 0)t=false;var i=e.pos;var n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(n&&r>=55296&&r<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343){e.lastIntValue=(r-55296)*1024+(a-56320)+65536;return true}}e.pos=s;e.lastIntValue=r}return true}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(n){e.raise("Invalid unicode escape")}e.pos=i}return false};function isValidUnicode(e){return e>=0&&e<=1114111}Se.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};Se.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48);e.advance()}while((t=e.current())>=48&&t<=57);return true}return false};Se.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return true}if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){e.lastIntValue=-1;e.advance();if(e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125)){return true}e.raise("Invalid property name")}return false};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}Se.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,i,n);return true}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var r=e.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(e,r);return true}return false};Se.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){if(!has(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(i)){e.raise("Invalid property value")}};Se.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(!e.unicodeProperties.binary.test(t)){e.raise("Invalid property name")}};Se.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyNameCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}Se.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyValueCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}Se.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};Se.regexp_eatCharacterClass=function(e){if(e.eat(91)){e.eat(94);this.regexp_classRanges(e);if(e.eat(93)){return true}e.raise("Unterminated character class")}return false};Se.regexp_classRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;if(e.switchU&&(t===-1||i===-1)){e.raise("Invalid character class")}if(t!==-1&&i!==-1&&t>i){e.raise("Range out of order in character class")}}}};Se.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var i=e.current();if(i===99||isOctalDigit(i)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var n=e.current();if(n!==93){e.lastIntValue=n;e.advance();return true}return false};Se.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};Se.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};Se.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};Se.regexp_eatDecimalDigits=function(e){var t=e.pos;var i=0;e.lastIntValue=0;while(isDecimalDigit(i=e.current())){e.lastIntValue=10*e.lastIntValue+(i-48);e.advance()}return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}Se.regexp_eatHexDigits=function(e){var t=e.pos;var i=0;e.lastIntValue=0;while(isHexDigit(i=e.current())){e.lastIntValue=16*e.lastIntValue+hexToInt(i);e.advance()}return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}Se.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+i*8+e.lastIntValue}else{e.lastIntValue=t*8+i}}else{e.lastIntValue=t}return true}return false};Se.regexp_eatOctalDigit=function(e){var t=e.current();if(isOctalDigit(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function isOctalDigit(e){return e>=48&&e<=55}Se.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var r=e.current();if(!isHexDigit(r)){e.pos=i;return false}e.lastIntValue=16*e.lastIntValue+hexToInt(r);e.advance()}return true};var Ce=function Token(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;if(e.options.locations){this.loc=new C(e,e.startLoc,e.endLoc)}if(e.options.ranges){this.range=[e.start,e.end]}};var Ee=W.prototype;Ee.next=function(e){if(!e&&this.type.keyword&&this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword)}if(this.options.onToken){this.options.onToken(new Ce(this))}this.lastTokEnd=this.end;this.lastTokStart=this.start;this.lastTokEndLoc=this.endLoc;this.lastTokStartLoc=this.startLoc;this.nextToken()};Ee.getToken=function(){this.next();return new Ce(this)};if(typeof Symbol!=="undefined"){Ee[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===m.eof,value:t}}}}}Ee.curContext=function(){return this.context[this.context.length-1]};Ee.nextToken=function(){var e=this.curContext();if(!e||!e.preserveSpace){this.skipSpace()}this.start=this.pos;if(this.options.locations){this.startLoc=this.curPosition()}if(this.pos>=this.input.length){return this.finishToken(m.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Ee.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};Ee.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344){return e}var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};Ee.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=i+2;if(this.options.locations){g.lastIndex=t;var n;while((n=g.exec(this.input))&&n.index<this.pos){++this.curLine;this.lineStart=n.index+n[0].length}}if(this.options.onComment){this.options.onComment(true,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())}};Ee.skipLineComment=function(e){var t=this.pos;var i=this.options.onComment&&this.curPosition();var n=this.input.charCodeAt(this.pos+=e);while(this.pos<this.input.length&&!isNewLine(n)){n=this.input.charCodeAt(++this.pos)}if(this.options.onComment){this.options.onComment(false,this.input.slice(t+e,this.pos),t,this.pos,i,this.curPosition())}};Ee.skipSpace=function(){e:while(this.pos<this.input.length){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:if(this.input.charCodeAt(this.pos+1)===10){++this.pos}case 10:case 8232:case 8233:++this.pos;if(this.options.locations){++this.curLine;this.lineStart=this.pos}break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&v.test(String.fromCharCode(e))){++this.pos}else{break e}}}};Ee.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var i=this.type;this.type=e;this.value=t;this.updateContext(i)};Ee.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(m.ellipsis)}else{++this.pos;return this.finishToken(m.dot)}};Ee.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(m.assign,2)}return this.finishOp(m.slash,1)};Ee.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;var n=e===42?m.star:m.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++i;n=m.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(m.assign,i+1)}return this.finishOp(n,i)};Ee.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61){return this.finishOp(m.assign,3)}}return this.finishOp(e===124?m.logicalOR:m.logicalAND,2)}if(t===61){return this.finishOp(m.assign,2)}return this.finishOp(e===124?m.bitwiseOR:m.bitwiseAND,1)};Ee.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(m.assign,2)}return this.finishOp(m.bitwiseXOR,1)};Ee.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||_.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(m.incDec,2)}if(t===61){return this.finishOp(m.assign,2)}return this.finishOp(m.plusMin,1)};Ee.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;if(t===e){i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+i)===61){return this.finishOp(m.assign,i+1)}return this.finishOp(m.bitShift,i)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){i=2}return this.finishOp(m.relational,i)};Ee.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(m.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(m.arrow)}return this.finishOp(e===61?m.eq:m.prefix,1)};Ee.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57){return this.finishOp(m.questionDot,2)}}if(t===63){if(e>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61){return this.finishOp(m.assign,3)}}return this.finishOp(m.coalesce,2)}}return this.finishOp(m.question,1)};Ee.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(m.parenL);case 41:++this.pos;return this.finishToken(m.parenR);case 59:++this.pos;return this.finishToken(m.semi);case 44:++this.pos;return this.finishToken(m.comma);case 91:++this.pos;return this.finishToken(m.bracketL);case 93:++this.pos;return this.finishToken(m.bracketR);case 123:++this.pos;return this.finishToken(m.braceL);case 125:++this.pos;return this.finishToken(m.braceR);case 58:++this.pos;return this.finishToken(m.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(m.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(m.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(e)+"'")};Ee.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,i)};Ee.readRegexp=function(){var e,t,i=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(i,"Unterminated regular expression")}var n=this.input.charAt(this.pos);if(_.test(n)){this.raise(i,"Unterminated regular expression")}if(!e){if(n==="["){t=true}else if(n==="]"&&t){t=false}else if(n==="/"&&!t){break}e=n==="\\"}else{e=false}++this.pos}var r=this.input.slice(i,this.pos);++this.pos;var s=this.pos;var a=this.readWord1();if(this.containsEsc){this.unexpected(s)}var o=this.regexpState||(this.regexpState=new ke(this));o.reset(i,r,a);this.validateRegExpFlags(o);this.validateRegExpPattern(o);var c=null;try{c=new RegExp(r,a)}catch(e){}return this.finishToken(m.regexp,{pattern:r,flags:a,value:c})};Ee.readInt=function(e,t,i){var n=this.options.ecmaVersion>=12&&t===undefined;var r=i&&this.input.charCodeAt(this.pos)===48;var s=this.pos,a=0,o=0;for(var c=0,l=t==null?Infinity:t;c<l;++c,++this.pos){var u=this.input.charCodeAt(this.pos),h=void 0;if(n&&u===95){if(r){this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals")}if(o===95){this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore")}if(c===0){this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits")}o=u;continue}if(u>=97){h=u-97+10}else if(u>=65){h=u-65+10}else if(u>=48&&u<=57){h=u-48}else{h=Infinity}if(h>=e){break}o=u;a=a*e+h}if(n&&o===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===s||t!=null&&this.pos-s!==t){return null}return a};function stringToNumber(e,t){if(t){return parseInt(e,8)}return parseFloat(e.replace(/_/g,""))}function stringToBigInt(e){if(typeof BigInt!=="function"){return null}return BigInt(e.replace(/_/g,""))}Ee.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);if(i==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){i=stringToBigInt(this.input.slice(t,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(m.num,i)};Ee.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10,undefined,true)===null){this.raise(t,"Invalid number")}var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(i&&this.strict){this.raise(t,"Invalid number")}var n=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&n===110){var r=stringToBigInt(this.input.slice(t,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(m.num,r)}if(i&&/[89]/.test(this.input.slice(t,this.pos))){i=false}if(n===46&&!i){++this.pos;this.readInt(10);n=this.input.charCodeAt(this.pos)}if((n===69||n===101)&&!i){n=this.input.charCodeAt(++this.pos);if(n===43||n===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var s=stringToNumber(this.input.slice(t,this.pos),i);return this.finishToken(m.num,s)};Ee.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(i,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function codePointToString$1(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Ee.readString=function(e){var t="",i=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var n=this.input.charCodeAt(this.pos);if(n===e){break}if(n===92){t+=this.input.slice(i,this.pos);t+=this.readEscapedChar(false);i=this.pos}else{if(isNewLine(n,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(i,this.pos++);return this.finishToken(m.string,t)};var Ae={};Ee.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Ae){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};Ee.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Ae}else{this.raise(e,t)}};Ee.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===m.template||this.type===m.invalidTemplate)){if(i===36){this.pos+=2;return this.finishToken(m.dollarBraceL)}else{++this.pos;return this.finishToken(m.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(m.template,e)}if(i===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(i)){e+=this.input.slice(t,this.pos);++this.pos;switch(i){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(i);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};Ee.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(m.invalidTemplate,this.input.slice(this.start,this.pos))}}this.raise(this.start,"Unterminated template")};Ee.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);++this.pos;switch(t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return codePointToString$1(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:if(this.options.locations){this.lineStart=this.pos;++this.curLine}return"";case 56:case 57:if(this.strict){this.invalidStringToken(this.pos-1,"Invalid escape sequence")}if(e){var i=this.pos-1;this.invalidStringToken(i,"Invalid escape sequence in template string");return null}default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var r=parseInt(n,8);if(r>255){n=n.slice(0,-1);r=parseInt(n,8)}this.pos+=n.length-1;t=this.input.charCodeAt(this.pos);if((n!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(r)}if(isNewLine(t)){return""}return String.fromCharCode(t)}};Ee.readHexChar=function(e){var t=this.pos;var i=this.readInt(16,e);if(i===null){this.invalidStringToken(t,"Bad character escape sequence")}return i};Ee.readWord1=function(){this.containsEsc=false;var e="",t=true,i=this.pos;var n=this.options.ecmaVersion>=6;while(this.pos<this.input.length){var r=this.fullCharCodeAtPos();if(isIdentifierChar(r,n)){this.pos+=r<=65535?1:2}else if(r===92){this.containsEsc=true;e+=this.input.slice(i,this.pos);var s=this.pos;if(this.input.charCodeAt(++this.pos)!==117){this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX")}++this.pos;var a=this.readCodePoint();if(!(t?isIdentifierStart:isIdentifierChar)(a,n)){this.invalidStringToken(s,"Invalid Unicode escape")}e+=codePointToString$1(a);i=this.pos}else{break}t=false}return e+this.input.slice(i,this.pos)};Ee.readWord=function(){var e=this.readWord1();var t=m.name;if(this.keywords.test(e)){t=d[e]}return this.finishToken(t,e)};var Pe="8.1.0";W.acorn={Parser:W,version:Pe,defaultOptions:E,Position:k,SourceLocation:C,getLineInfo:getLineInfo,Node:ae,TokenType:h,tokTypes:m,keywordTypes:d,TokContext:ce,tokContexts:le,isIdentifierChar:isIdentifierChar,isIdentifierStart:isIdentifierStart,Token:Ce,isNewLine:isNewLine,lineBreak:_,lineBreakG:g,nonASCIIwhitespace:v};function parse(e,t){return W.parse(e,t)}function parseExpressionAt(e,t,i){return W.parseExpressionAt(e,t,i)}function tokenizer(e,t){return W.tokenizer(e,t)}e.Node=ae;e.Parser=W;e.Position=k;e.SourceLocation=C;e.TokContext=ce;e.Token=Ce;e.TokenType=h;e.defaultOptions=E;e.getLineInfo=getLineInfo;e.isIdentifierChar=isIdentifierChar;e.isIdentifierStart=isIdentifierStart;e.isNewLine=isNewLine;e.keywordTypes=d;e.lineBreak=_;e.lineBreakG=g;e.nonASCIIwhitespace=v;e.parse=parse;e.parseExpressionAt=parseExpressionAt;e.tokContexts=le;e.tokTypes=m;e.tokenizer=tokenizer;e.version=Pe;Object.defineProperty(e,"__esModule",{value:true})})},8867:(e,t,i)=>{"use strict";const n=i(1518);n.createWebSocketStream=i(1658);n.Server=i(8887);n.Receiver=i(5066);n.Sender=i(6947);e.exports=n},9436:(e,t,i)=>{"use strict";const{EMPTY_BUFFER:n}=i(5949);function concat(e,t){if(e.length===0)return n;if(e.length===1)return e[0];const i=Buffer.allocUnsafe(t);let r=0;for(let t=0;t<e.length;t++){const n=e[t];i.set(n,r);r+=n.length}if(r<t)return i.slice(0,r);return i}function _mask(e,t,i,n,r){for(let s=0;s<r;s++){i[n+s]=e[s]^t[s&3]}}function _unmask(e,t){const i=e.length;for(let n=0;n<i;n++){e[n]^=t[n&3]}}function toArrayBuffer(e){if(e.byteLength===e.buffer.byteLength){return e.buffer}return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function toBuffer(e){toBuffer.readOnly=true;if(Buffer.isBuffer(e))return e;let t;if(e instanceof ArrayBuffer){t=Buffer.from(e)}else if(ArrayBuffer.isView(e)){t=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}else{t=Buffer.from(e);toBuffer.readOnly=false}return t}try{const t=i(1269);const n=t.BufferUtil||t;e.exports={concat:concat,mask(e,t,i,r,s){if(s<48)_mask(e,t,i,r,s);else n.mask(e,t,i,r,s)},toArrayBuffer:toArrayBuffer,toBuffer:toBuffer,unmask(e,t){if(e.length<32)_unmask(e,t);else n.unmask(e,t)}}}catch(t){e.exports={concat:concat,mask:_mask,toArrayBuffer:toArrayBuffer,toBuffer:toBuffer,unmask:_unmask}}},5949:e=>{"use strict";e.exports={BINARY_TYPES:["nodebuffer","arraybuffer","fragments"],GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),EMPTY_BUFFER:Buffer.alloc(0),NOOP:()=>{}}},4561:e=>{"use strict";class Event{constructor(e,t){this.target=t;this.type=e}}class MessageEvent extends Event{constructor(e,t){super("message",t);this.data=e}}class CloseEvent extends Event{constructor(e,t,i){super("close",i);this.wasClean=i._closeFrameReceived&&i._closeFrameSent;this.reason=t;this.code=e}}class OpenEvent extends Event{constructor(e){super("open",e)}}class ErrorEvent extends Event{constructor(e,t){super("error",t);this.message=e.message;this.error=e}}const t={addEventListener(e,t,i){if(typeof t!=="function")return;function onMessage(e){t.call(this,new MessageEvent(e,this))}function onClose(e,i){t.call(this,new CloseEvent(e,i,this))}function onError(e){t.call(this,new ErrorEvent(e,this))}function onOpen(){t.call(this,new OpenEvent(this))}const n=i&&i.once?"once":"on";if(e==="message"){onMessage._listener=t;this[n](e,onMessage)}else if(e==="close"){onClose._listener=t;this[n](e,onClose)}else if(e==="error"){onError._listener=t;this[n](e,onError)}else if(e==="open"){onOpen._listener=t;this[n](e,onOpen)}else{this[n](e,t)}},removeEventListener(e,t){const i=this.listeners(e);for(let n=0;n<i.length;n++){if(i[n]===t||i[n]._listener===t){this.removeListener(e,i[n])}}}};e.exports=t},2035:e=>{"use strict";const t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function push(e,t,i){if(e[t]===undefined)e[t]=[i];else e[t].push(i)}function parse(e){const i=Object.create(null);if(e===undefined||e==="")return i;let n=Object.create(null);let r=false;let s=false;let a=false;let o;let c;let l=-1;let u=-1;let h=0;for(;h<e.length;h++){const f=e.charCodeAt(h);if(o===undefined){if(u===-1&&t[f]===1){if(l===-1)l=h}else if(f===32||f===9){if(u===-1&&l!==-1)u=h}else if(f===59||f===44){if(l===-1){throw new SyntaxError(`Unexpected character at index ${h}`)}if(u===-1)u=h;const t=e.slice(l,u);if(f===44){push(i,t,n);n=Object.create(null)}else{o=t}l=u=-1}else{throw new SyntaxError(`Unexpected character at index ${h}`)}}else if(c===undefined){if(u===-1&&t[f]===1){if(l===-1)l=h}else if(f===32||f===9){if(u===-1&&l!==-1)u=h}else if(f===59||f===44){if(l===-1){throw new SyntaxError(`Unexpected character at index ${h}`)}if(u===-1)u=h;push(n,e.slice(l,u),true);if(f===44){push(i,o,n);n=Object.create(null);o=undefined}l=u=-1}else if(f===61&&l!==-1&&u===-1){c=e.slice(l,h);l=u=-1}else{throw new SyntaxError(`Unexpected character at index ${h}`)}}else{if(s){if(t[f]!==1){throw new SyntaxError(`Unexpected character at index ${h}`)}if(l===-1)l=h;else if(!r)r=true;s=false}else if(a){if(t[f]===1){if(l===-1)l=h}else if(f===34&&l!==-1){a=false;u=h}else if(f===92){s=true}else{throw new SyntaxError(`Unexpected character at index ${h}`)}}else if(f===34&&e.charCodeAt(h-1)===61){a=true}else if(u===-1&&t[f]===1){if(l===-1)l=h}else if(l!==-1&&(f===32||f===9)){if(u===-1)u=h}else if(f===59||f===44){if(l===-1){throw new SyntaxError(`Unexpected character at index ${h}`)}if(u===-1)u=h;let t=e.slice(l,u);if(r){t=t.replace(/\\/g,"");r=false}push(n,c,t);if(f===44){push(i,o,n);n=Object.create(null);o=undefined}c=undefined;l=u=-1}else{throw new SyntaxError(`Unexpected character at index ${h}`)}}}if(l===-1||a){throw new SyntaxError("Unexpected end of input")}if(u===-1)u=h;const f=e.slice(l,u);if(o===undefined){push(i,f,n)}else{if(c===undefined){push(n,f,true)}else if(r){push(n,c,f.replace(/\\/g,""))}else{push(n,c,f)}push(i,o,n)}return i}function format(e){return Object.keys(e).map(t=>{let i=e[t];if(!Array.isArray(i))i=[i];return i.map(e=>{return[t].concat(Object.keys(e).map(t=>{let i=e[t];if(!Array.isArray(i))i=[i];return i.map(e=>e===true?t:`${t}=${e}`).join("; ")})).join("; ")}).join(", ")}).join(", ")}e.exports={format:format,parse:parse}},1356:e=>{"use strict";const t=Symbol("kDone");const i=Symbol("kRun");class Limiter{constructor(e){this[t]=(()=>{this.pending--;this[i]()});this.concurrency=e||Infinity;this.jobs=[];this.pending=0}add(e){this.jobs.push(e);this[i]()}[i](){if(this.pending===this.concurrency)return;if(this.jobs.length){const e=this.jobs.shift();this.pending++;e(this[t])}}}e.exports=Limiter},6684:(e,t,i)=>{"use strict";const n=i(8761);const r=i(9436);const s=i(1356);const{kStatusCode:a,NOOP:o}=i(5949);const c=Buffer.from([0,0,255,255]);const l=Symbol("permessage-deflate");const u=Symbol("total-length");const h=Symbol("callback");const f=Symbol("buffers");const p=Symbol("error");let d;class PerMessageDeflate{constructor(e,t,i){this._maxPayload=i|0;this._options=e||{};this._threshold=this._options.threshold!==undefined?this._options.threshold:1024;this._isServer=!!t;this._deflate=null;this._inflate=null;this.params=null;if(!d){const e=this._options.concurrencyLimit!==undefined?this._options.concurrencyLimit:10;d=new s(e)}}static get extensionName(){return"permessage-deflate"}offer(){const e={};if(this._options.serverNoContextTakeover){e.server_no_context_takeover=true}if(this._options.clientNoContextTakeover){e.client_no_context_takeover=true}if(this._options.serverMaxWindowBits){e.server_max_window_bits=this._options.serverMaxWindowBits}if(this._options.clientMaxWindowBits){e.client_max_window_bits=this._options.clientMaxWindowBits}else if(this._options.clientMaxWindowBits==null){e.client_max_window_bits=true}return e}accept(e){e=this.normalizeParams(e);this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e);return this.params}cleanup(){if(this._inflate){this._inflate.close();this._inflate=null}if(this._deflate){const e=this._deflate[h];this._deflate.close();this._deflate=null;if(e){e(new Error("The deflate stream was closed while data was being processed"))}}}acceptAsServer(e){const t=this._options;const i=e.find(e=>{if(t.serverNoContextTakeover===false&&e.server_no_context_takeover||e.server_max_window_bits&&(t.serverMaxWindowBits===false||typeof t.serverMaxWindowBits==="number"&&t.serverMaxWindowBits>e.server_max_window_bits)||typeof t.clientMaxWindowBits==="number"&&!e.client_max_window_bits){return false}return true});if(!i){throw new Error("None of the extension offers can be accepted")}if(t.serverNoContextTakeover){i.server_no_context_takeover=true}if(t.clientNoContextTakeover){i.client_no_context_takeover=true}if(typeof t.serverMaxWindowBits==="number"){i.server_max_window_bits=t.serverMaxWindowBits}if(typeof t.clientMaxWindowBits==="number"){i.client_max_window_bits=t.clientMaxWindowBits}else if(i.client_max_window_bits===true||t.clientMaxWindowBits===false){delete i.client_max_window_bits}return i}acceptAsClient(e){const t=e[0];if(this._options.clientNoContextTakeover===false&&t.client_no_context_takeover){throw new Error('Unexpected parameter "client_no_context_takeover"')}if(!t.client_max_window_bits){if(typeof this._options.clientMaxWindowBits==="number"){t.client_max_window_bits=this._options.clientMaxWindowBits}}else if(this._options.clientMaxWindowBits===false||typeof this._options.clientMaxWindowBits==="number"&&t.client_max_window_bits>this._options.clientMaxWindowBits){throw new Error('Unexpected or invalid parameter "client_max_window_bits"')}return t}normalizeParams(e){e.forEach(e=>{Object.keys(e).forEach(t=>{let i=e[t];if(i.length>1){throw new Error(`Parameter "${t}" must have only a single value`)}i=i[0];if(t==="client_max_window_bits"){if(i!==true){const e=+i;if(!Number.isInteger(e)||e<8||e>15){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}i=e}else if(!this._isServer){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}}else if(t==="server_max_window_bits"){const e=+i;if(!Number.isInteger(e)||e<8||e>15){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}i=e}else if(t==="client_no_context_takeover"||t==="server_no_context_takeover"){if(i!==true){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}}else{throw new Error(`Unknown parameter "${t}"`)}e[t]=i})});return e}decompress(e,t,i){d.add(n=>{this._decompress(e,t,(e,t)=>{n();i(e,t)})})}compress(e,t,i){d.add(n=>{this._compress(e,t,(e,t)=>{n();i(e,t)})})}_decompress(e,t,i){const s=this._isServer?"client":"server";if(!this._inflate){const e=`${s}_max_window_bits`;const t=typeof this.params[e]!=="number"?n.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=n.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t});this._inflate[l]=this;this._inflate[u]=0;this._inflate[f]=[];this._inflate.on("error",inflateOnError);this._inflate.on("data",inflateOnData)}this._inflate[h]=i;this._inflate.write(e);if(t)this._inflate.write(c);this._inflate.flush(()=>{const e=this._inflate[p];if(e){this._inflate.close();this._inflate=null;i(e);return}const n=r.concat(this._inflate[f],this._inflate[u]);if(this._inflate._readableState.endEmitted){this._inflate.close();this._inflate=null}else{this._inflate[u]=0;this._inflate[f]=[];if(t&&this.params[`${s}_no_context_takeover`]){this._inflate.reset()}}i(null,n)})}_compress(e,t,i){const s=this._isServer?"server":"client";if(!this._deflate){const e=`${s}_max_window_bits`;const t=typeof this.params[e]!=="number"?n.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=n.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t});this._deflate[u]=0;this._deflate[f]=[];this._deflate.on("error",o);this._deflate.on("data",deflateOnData)}this._deflate[h]=i;this._deflate.write(e);this._deflate.flush(n.Z_SYNC_FLUSH,()=>{if(!this._deflate){return}let e=r.concat(this._deflate[f],this._deflate[u]);if(t)e=e.slice(0,e.length-4);this._deflate[h]=null;this._deflate[u]=0;this._deflate[f]=[];if(t&&this.params[`${s}_no_context_takeover`]){this._deflate.reset()}i(null,e)})}}e.exports=PerMessageDeflate;function deflateOnData(e){this[f].push(e);this[u]+=e.length}function inflateOnData(e){this[u]+=e.length;if(this[l]._maxPayload<1||this[u]<=this[l]._maxPayload){this[f].push(e);return}this[p]=new RangeError("Max payload size exceeded");this[p][a]=1009;this.removeListener("data",inflateOnData);this.reset()}function inflateOnError(e){this[l]._inflate=null;e[a]=1007;this[h](e)}},5066:(e,t,i)=>{"use strict";const{Writable:n}=i(2413);const r=i(6684);const{BINARY_TYPES:s,EMPTY_BUFFER:a,kStatusCode:o,kWebSocket:c}=i(5949);const{concat:l,toArrayBuffer:u,unmask:h}=i(9436);const{isValidStatusCode:f,isValidUTF8:p}=i(6279);const d=0;const m=1;const _=2;const g=3;const v=4;const y=5;class Receiver extends n{constructor(e,t,i,n){super();this._binaryType=e||s[0];this[c]=undefined;this._extensions=t||{};this._isServer=!!i;this._maxPayload=n|0;this._bufferedBytes=0;this._buffers=[];this._compressed=false;this._payloadLength=0;this._mask=undefined;this._fragmented=0;this._masked=false;this._fin=false;this._opcode=0;this._totalPayloadLength=0;this._messageLength=0;this._fragments=[];this._state=d;this._loop=false}_write(e,t,i){if(this._opcode===8&&this._state==d)return i();this._bufferedBytes+=e.length;this._buffers.push(e);this.startLoop(i)}consume(e){this._bufferedBytes-=e;if(e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){const t=this._buffers[0];this._buffers[0]=t.slice(e);return t.slice(0,e)}const t=Buffer.allocUnsafe(e);do{const i=this._buffers[0];const n=t.length-e;if(e>=i.length){t.set(this._buffers.shift(),n)}else{t.set(new Uint8Array(i.buffer,i.byteOffset,e),n);this._buffers[0]=i.slice(e)}e-=i.length}while(e>0);return t}startLoop(e){let t;this._loop=true;do{switch(this._state){case d:t=this.getInfo();break;case m:t=this.getPayloadLength16();break;case _:t=this.getPayloadLength64();break;case g:this.getMask();break;case v:t=this.getData(e);break;default:this._loop=false;return}}while(this._loop);e(t)}getInfo(){if(this._bufferedBytes<2){this._loop=false;return}const e=this.consume(2);if((e[0]&48)!==0){this._loop=false;return error(RangeError,"RSV2 and RSV3 must be clear",true,1002)}const t=(e[0]&64)===64;if(t&&!this._extensions[r.extensionName]){this._loop=false;return error(RangeError,"RSV1 must be clear",true,1002)}this._fin=(e[0]&128)===128;this._opcode=e[0]&15;this._payloadLength=e[1]&127;if(this._opcode===0){if(t){this._loop=false;return error(RangeError,"RSV1 must be clear",true,1002)}if(!this._fragmented){this._loop=false;return error(RangeError,"invalid opcode 0",true,1002)}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){this._loop=false;return error(RangeError,`invalid opcode ${this._opcode}`,true,1002)}this._compressed=t}else if(this._opcode>7&&this._opcode<11){if(!this._fin){this._loop=false;return error(RangeError,"FIN must be set",true,1002)}if(t){this._loop=false;return error(RangeError,"RSV1 must be clear",true,1002)}if(this._payloadLength>125){this._loop=false;return error(RangeError,`invalid payload length ${this._payloadLength}`,true,1002)}}else{this._loop=false;return error(RangeError,`invalid opcode ${this._opcode}`,true,1002)}if(!this._fin&&!this._fragmented)this._fragmented=this._opcode;this._masked=(e[1]&128)===128;if(this._isServer){if(!this._masked){this._loop=false;return error(RangeError,"MASK must be set",true,1002)}}else if(this._masked){this._loop=false;return error(RangeError,"MASK must be clear",true,1002)}if(this._payloadLength===126)this._state=m;else if(this._payloadLength===127)this._state=_;else return this.haveLength()}getPayloadLength16(){if(this._bufferedBytes<2){this._loop=false;return}this._payloadLength=this.consume(2).readUInt16BE(0);return this.haveLength()}getPayloadLength64(){if(this._bufferedBytes<8){this._loop=false;return}const e=this.consume(8);const t=e.readUInt32BE(0);if(t>Math.pow(2,53-32)-1){this._loop=false;return error(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",false,1009)}this._payloadLength=t*Math.pow(2,32)+e.readUInt32BE(4);return this.haveLength()}haveLength(){if(this._payloadLength&&this._opcode<8){this._totalPayloadLength+=this._payloadLength;if(this._totalPayloadLength>this._maxPayload&&this._maxPayload>0){this._loop=false;return error(RangeError,"Max payload size exceeded",false,1009)}}if(this._masked)this._state=g;else this._state=v}getMask(){if(this._bufferedBytes<4){this._loop=false;return}this._mask=this.consume(4);this._state=v}getData(e){let t=a;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=false;return}t=this.consume(this._payloadLength);if(this._masked)h(t,this._mask)}if(this._opcode>7)return this.controlMessage(t);if(this._compressed){this._state=y;this.decompress(t,e);return}if(t.length){this._messageLength=this._totalPayloadLength;this._fragments.push(t)}return this.dataMessage()}decompress(e,t){const i=this._extensions[r.extensionName];i.decompress(e,this._fin,(e,i)=>{if(e)return t(e);if(i.length){this._messageLength+=i.length;if(this._messageLength>this._maxPayload&&this._maxPayload>0){return t(error(RangeError,"Max payload size exceeded",false,1009))}this._fragments.push(i)}const n=this.dataMessage();if(n)return t(n);this.startLoop(t)})}dataMessage(){if(this._fin){const e=this._messageLength;const t=this._fragments;this._totalPayloadLength=0;this._messageLength=0;this._fragmented=0;this._fragments=[];if(this._opcode===2){let i;if(this._binaryType==="nodebuffer"){i=l(t,e)}else if(this._binaryType==="arraybuffer"){i=u(l(t,e))}else{i=t}this.emit("message",i)}else{const i=l(t,e);if(!p(i)){this._loop=false;return error(Error,"invalid UTF-8 sequence",true,1007)}this.emit("message",i.toString())}}this._state=d}controlMessage(e){if(this._opcode===8){this._loop=false;if(e.length===0){this.emit("conclude",1005,"");this.end()}else if(e.length===1){return error(RangeError,"invalid payload length 1",true,1002)}else{const t=e.readUInt16BE(0);if(!f(t)){return error(RangeError,`invalid status code ${t}`,true,1002)}const i=e.slice(2);if(!p(i)){return error(Error,"invalid UTF-8 sequence",true,1007)}this.emit("conclude",t,i.toString());this.end()}}else if(this._opcode===9){this.emit("ping",e)}else{this.emit("pong",e)}this._state=d}}e.exports=Receiver;function error(e,t,i,n){const r=new e(i?`Invalid WebSocket frame: ${t}`:t);Error.captureStackTrace(r,error);r[o]=n;return r}},6947:(e,t,i)=>{"use strict";const{randomFillSync:n}=i(6417);const r=i(6684);const{EMPTY_BUFFER:s}=i(5949);const{isValidStatusCode:a}=i(6279);const{mask:o,toBuffer:c}=i(9436);const l=Buffer.alloc(4);class Sender{constructor(e,t){this._extensions=t||{};this._socket=e;this._firstFragment=true;this._compress=false;this._bufferedBytes=0;this._deflating=false;this._queue=[]}static frame(e,t){const i=t.mask&&t.readOnly;let r=t.mask?6:2;let s=e.length;if(e.length>=65536){r+=8;s=127}else if(e.length>125){r+=2;s=126}const a=Buffer.allocUnsafe(i?e.length+r:r);a[0]=t.fin?t.opcode|128:t.opcode;if(t.rsv1)a[0]|=64;a[1]=s;if(s===126){a.writeUInt16BE(e.length,2)}else if(s===127){a.writeUInt32BE(0,2);a.writeUInt32BE(e.length,6)}if(!t.mask)return[a,e];n(l,0,4);a[1]|=128;a[r-4]=l[0];a[r-3]=l[1];a[r-2]=l[2];a[r-1]=l[3];if(i){o(e,l,a,r,e.length);return[a]}o(e,l,e,0,e.length);return[a,e]}close(e,t,i,n){let r;if(e===undefined){r=s}else if(typeof e!=="number"||!a(e)){throw new TypeError("First argument must be a valid error code number")}else if(t===undefined||t===""){r=Buffer.allocUnsafe(2);r.writeUInt16BE(e,0)}else{const i=Buffer.byteLength(t);if(i>123){throw new RangeError("The message must not be greater than 123 bytes")}r=Buffer.allocUnsafe(2+i);r.writeUInt16BE(e,0);r.write(t,2)}if(this._deflating){this.enqueue([this.doClose,r,i,n])}else{this.doClose(r,i,n)}}doClose(e,t,i){this.sendFrame(Sender.frame(e,{fin:true,rsv1:false,opcode:8,mask:t,readOnly:false}),i)}ping(e,t,i){const n=c(e);if(n.length>125){throw new RangeError("The data size must not be greater than 125 bytes")}if(this._deflating){this.enqueue([this.doPing,n,t,c.readOnly,i])}else{this.doPing(n,t,c.readOnly,i)}}doPing(e,t,i,n){this.sendFrame(Sender.frame(e,{fin:true,rsv1:false,opcode:9,mask:t,readOnly:i}),n)}pong(e,t,i){const n=c(e);if(n.length>125){throw new RangeError("The data size must not be greater than 125 bytes")}if(this._deflating){this.enqueue([this.doPong,n,t,c.readOnly,i])}else{this.doPong(n,t,c.readOnly,i)}}doPong(e,t,i,n){this.sendFrame(Sender.frame(e,{fin:true,rsv1:false,opcode:10,mask:t,readOnly:i}),n)}send(e,t,i){const n=c(e);const s=this._extensions[r.extensionName];let a=t.binary?2:1;let o=t.compress;if(this._firstFragment){this._firstFragment=false;if(o&&s){o=n.length>=s._threshold}this._compress=o}else{o=false;a=0}if(t.fin)this._firstFragment=true;if(s){const e={fin:t.fin,rsv1:o,opcode:a,mask:t.mask,readOnly:c.readOnly};if(this._deflating){this.enqueue([this.dispatch,n,this._compress,e,i])}else{this.dispatch(n,this._compress,e,i)}}else{this.sendFrame(Sender.frame(n,{fin:t.fin,rsv1:false,opcode:a,mask:t.mask,readOnly:c.readOnly}),i)}}dispatch(e,t,i,n){if(!t){this.sendFrame(Sender.frame(e,i),n);return}const s=this._extensions[r.extensionName];this._bufferedBytes+=e.length;this._deflating=true;s.compress(e,i.fin,(t,r)=>{if(this._socket.destroyed){const e=new Error("The socket was closed while data was being compressed");if(typeof n==="function")n(e);for(let t=0;t<this._queue.length;t++){const i=this._queue[t][4];if(typeof i==="function")i(e)}return}this._bufferedBytes-=e.length;this._deflating=false;i.readOnly=false;this.sendFrame(Sender.frame(r,i),n);this.dequeue()})}dequeue(){while(!this._deflating&&this._queue.length){const e=this._queue.shift();this._bufferedBytes-=e[1].length;Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[1].length;this._queue.push(e)}sendFrame(e,t){if(e.length===2){this._socket.cork();this._socket.write(e[0]);this._socket.write(e[1],t);this._socket.uncork()}else{this._socket.write(e[0],t)}}}e.exports=Sender},1658:(e,t,i)=>{"use strict";const{Duplex:n}=i(2413);function emitClose(e){e.emit("close")}function duplexOnEnd(){if(!this.destroyed&&this._writableState.finished){this.destroy()}}function duplexOnError(e){this.removeListener("error",duplexOnError);this.destroy();if(this.listenerCount("error")===0){this.emit("error",e)}}function createWebSocketStream(e,t){let i=true;function receiverOnDrain(){if(i)e._socket.resume()}if(e.readyState===e.CONNECTING){e.once("open",function open(){e._receiver.removeAllListeners("drain");e._receiver.on("drain",receiverOnDrain)})}else{e._receiver.removeAllListeners("drain");e._receiver.on("drain",receiverOnDrain)}const r=new n({...t,autoDestroy:false,emitClose:false,objectMode:false,writableObjectMode:false});e.on("message",function message(t){if(!r.push(t)){i=false;e._socket.pause()}});e.once("error",function error(e){if(r.destroyed)return;r.destroy(e)});e.once("close",function close(){if(r.destroyed)return;r.push(null)});r._destroy=function(t,i){if(e.readyState===e.CLOSED){i(t);process.nextTick(emitClose,r);return}let n=false;e.once("error",function error(e){n=true;i(e)});e.once("close",function close(){if(!n)i(t);process.nextTick(emitClose,r)});e.terminate()};r._final=function(t){if(e.readyState===e.CONNECTING){e.once("open",function open(){r._final(t)});return}if(e._socket===null)return;if(e._socket._writableState.finished){t();if(r._readableState.endEmitted)r.destroy()}else{e._socket.once("finish",function finish(){t()});e.close()}};r._read=function(){if(e.readyState===e.OPEN&&!i){i=true;if(!e._receiver._writableState.needDrain)e._socket.resume()}};r._write=function(t,i,n){if(e.readyState===e.CONNECTING){e.once("open",function open(){r._write(t,i,n)});return}e.send(t,n)};r.on("end",duplexOnEnd);r.on("error",duplexOnError);return r}e.exports=createWebSocketStream},6279:(e,t,i)=>{"use strict";try{const e=i(4592);t.isValidUTF8=typeof e==="object"?e.Validation.isValidUTF8:e}catch(e){t.isValidUTF8=(()=>true)}t.isValidStatusCode=(e=>{return e>=1e3&&e<=1014&&e!==1004&&e!==1005&&e!==1006||e>=3e3&&e<=4999})},8887:(e,t,i)=>{"use strict";const n=i(8614);const{createHash:r}=i(6417);const{createServer:s,STATUS_CODES:a}=i(8605);const o=i(6684);const c=i(1518);const{format:l,parse:u}=i(2035);const{GUID:h,kWebSocket:f}=i(5949);const p=/^[+\/0-9A-Za-z]{22}==$/;class WebSocketServer extends n{constructor(e,t){super();e={maxPayload:100*1024*1024,perMessageDeflate:false,handleProtocols:null,clientTracking:true,verifyClient:null,noServer:false,backlog:null,server:null,host:null,path:null,port:null,...e};if(e.port==null&&!e.server&&!e.noServer){throw new TypeError('One of the "port", "server", or "noServer" options must be specified')}if(e.port!=null){this._server=s((e,t)=>{const i=a[426];t.writeHead(426,{"Content-Length":i.length,"Content-Type":"text/plain"});t.end(i)});this._server.listen(e.port,e.host,e.backlog,t)}else if(e.server){this._server=e.server}if(this._server){const e=this.emit.bind(this,"connection");this._removeListeners=addListeners(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(t,i,n)=>{this.handleUpgrade(t,i,n,e)}})}if(e.perMessageDeflate===true)e.perMessageDeflate={};if(e.clientTracking)this.clients=new Set;this.options=e}address(){if(this.options.noServer){throw new Error('The server is operating in "noServer" mode')}if(!this._server)return null;return this._server.address()}close(e){if(e)this.once("close",e);if(this.clients){for(const e of this.clients)e.terminate()}const t=this._server;if(t){this._removeListeners();this._removeListeners=this._server=null;if(this.options.port!=null){t.close(()=>this.emit("close"));return}}process.nextTick(emitClose,this)}shouldHandle(e){if(this.options.path){const t=e.url.indexOf("?");const i=t!==-1?e.url.slice(0,t):e.url;if(i!==this.options.path)return false}return true}handleUpgrade(e,t,i,n){t.on("error",socketOnError);const r=e.headers["sec-websocket-key"]!==undefined?e.headers["sec-websocket-key"].trim():false;const s=+e.headers["sec-websocket-version"];const a={};if(e.method!=="GET"||e.headers.upgrade.toLowerCase()!=="websocket"||!r||!p.test(r)||s!==8&&s!==13||!this.shouldHandle(e)){return abortHandshake(t,400)}if(this.options.perMessageDeflate){const i=new o(this.options.perMessageDeflate,true,this.options.maxPayload);try{const n=u(e.headers["sec-websocket-extensions"]);if(n[o.extensionName]){i.accept(n[o.extensionName]);a[o.extensionName]=i}}catch(e){return abortHandshake(t,400)}}if(this.options.verifyClient){const o={origin:e.headers[`${s===8?"sec-websocket-origin":"origin"}`],secure:!!(e.socket.authorized||e.socket.encrypted),req:e};if(this.options.verifyClient.length===2){this.options.verifyClient(o,(s,o,c,l)=>{if(!s){return abortHandshake(t,o||401,c,l)}this.completeUpgrade(r,a,e,t,i,n)});return}if(!this.options.verifyClient(o))return abortHandshake(t,401)}this.completeUpgrade(r,a,e,t,i,n)}completeUpgrade(e,t,i,n,s,a){if(!n.readable||!n.writable)return n.destroy();if(n[f]){throw new Error("server.handleUpgrade() was called more than once with the same "+"socket, possibly due to a misconfiguration")}const u=r("sha1").update(e+h).digest("base64");const p=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${u}`];const d=new c(null);let m=i.headers["sec-websocket-protocol"];if(m){m=m.trim().split(/ *, */);if(this.options.handleProtocols){m=this.options.handleProtocols(m,i)}else{m=m[0]}if(m){p.push(`Sec-WebSocket-Protocol: ${m}`);d._protocol=m}}if(t[o.extensionName]){const e=t[o.extensionName].params;const i=l({[o.extensionName]:[e]});p.push(`Sec-WebSocket-Extensions: ${i}`);d._extensions=t}this.emit("headers",p,i);n.write(p.concat("\r\n").join("\r\n"));n.removeListener("error",socketOnError);d.setSocket(n,s,this.options.maxPayload);if(this.clients){this.clients.add(d);d.on("close",()=>this.clients.delete(d))}a(d,i)}}e.exports=WebSocketServer;function addListeners(e,t){for(const i of Object.keys(t))e.on(i,t[i]);return function removeListeners(){for(const i of Object.keys(t)){e.removeListener(i,t[i])}}}function emitClose(e){e.emit("close")}function socketOnError(){this.destroy()}function abortHandshake(e,t,i,n){if(e.writable){i=i||a[t];n={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(i),...n};e.write(`HTTP/1.1 ${t} ${a[t]}\r\n`+Object.keys(n).map(e=>`${e}: ${n[e]}`).join("\r\n")+"\r\n\r\n"+i)}e.removeListener("error",socketOnError);e.destroy()}},1518:(e,t,i)=>{"use strict";const n=i(8614);const r=i(7211);const s=i(8605);const a=i(1631);const o=i(4016);const{randomBytes:c,createHash:l}=i(6417);const{URL:u}=i(8835);const h=i(6684);const f=i(5066);const p=i(6947);const{BINARY_TYPES:d,EMPTY_BUFFER:m,GUID:_,kStatusCode:g,kWebSocket:v,NOOP:y}=i(5949);const{addEventListener:x,removeEventListener:b}=i(4561);const{format:w,parse:S}=i(2035);const{toBuffer:k}=i(9436);const C=["CONNECTING","OPEN","CLOSING","CLOSED"];const E=[8,13];const A=30*1e3;class WebSocket extends n{constructor(e,t,i){super();this._binaryType=d[0];this._closeCode=1006;this._closeFrameReceived=false;this._closeFrameSent=false;this._closeMessage="";this._closeTimer=null;this._extensions={};this._protocol="";this._readyState=WebSocket.CONNECTING;this._receiver=null;this._sender=null;this._socket=null;if(e!==null){this._bufferedAmount=0;this._isServer=false;this._redirects=0;if(Array.isArray(t)){t=t.join(", ")}else if(typeof t==="object"&&t!==null){i=t;t=undefined}initAsClient(this,e,t,i)}else{this._isServer=true}}get binaryType(){return this._binaryType}set binaryType(e){if(!d.includes(e))return;this._binaryType=e;if(this._receiver)this._receiver._binaryType=e}get bufferedAmount(){if(!this._socket)return this._bufferedAmount;return this._socket._writableState.length+this._sender._bufferedBytes}get extensions(){return Object.keys(this._extensions).join()}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,i){const n=new f(this.binaryType,this._extensions,this._isServer,i);this._sender=new p(e,this._extensions);this._receiver=n;this._socket=e;n[v]=this;e[v]=this;n.on("conclude",receiverOnConclude);n.on("drain",receiverOnDrain);n.on("error",receiverOnError);n.on("message",receiverOnMessage);n.on("ping",receiverOnPing);n.on("pong",receiverOnPong);e.setTimeout(0);e.setNoDelay();if(t.length>0)e.unshift(t);e.on("close",socketOnClose);e.on("data",socketOnData);e.on("end",socketOnEnd);e.on("error",socketOnError);this._readyState=WebSocket.OPEN;this.emit("open")}emitClose(){if(!this._socket){this._readyState=WebSocket.CLOSED;this.emit("close",this._closeCode,this._closeMessage);return}if(this._extensions[h.extensionName]){this._extensions[h.extensionName].cleanup()}this._receiver.removeAllListeners();this._readyState=WebSocket.CLOSED;this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState===WebSocket.CLOSED)return;if(this.readyState===WebSocket.CONNECTING){const e="WebSocket was closed before the connection was established";return abortHandshake(this,this._req,e)}if(this.readyState===WebSocket.CLOSING){if(this._closeFrameSent&&this._closeFrameReceived)this._socket.end();return}this._readyState=WebSocket.CLOSING;this._sender.close(e,t,!this._isServer,e=>{if(e)return;this._closeFrameSent=true;if(this._closeFrameReceived)this._socket.end()});this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),A)}ping(e,t,i){if(this.readyState===WebSocket.CONNECTING){throw new Error("WebSocket is not open: readyState 0 (CONNECTING)")}if(typeof e==="function"){i=e;e=t=undefined}else if(typeof t==="function"){i=t;t=undefined}if(typeof e==="number")e=e.toString();if(this.readyState!==WebSocket.OPEN){sendAfterClose(this,e,i);return}if(t===undefined)t=!this._isServer;this._sender.ping(e||m,t,i)}pong(e,t,i){if(this.readyState===WebSocket.CONNECTING){throw new Error("WebSocket is not open: readyState 0 (CONNECTING)")}if(typeof e==="function"){i=e;e=t=undefined}else if(typeof t==="function"){i=t;t=undefined}if(typeof e==="number")e=e.toString();if(this.readyState!==WebSocket.OPEN){sendAfterClose(this,e,i);return}if(t===undefined)t=!this._isServer;this._sender.pong(e||m,t,i)}send(e,t,i){if(this.readyState===WebSocket.CONNECTING){throw new Error("WebSocket is not open: readyState 0 (CONNECTING)")}if(typeof t==="function"){i=t;t={}}if(typeof e==="number")e=e.toString();if(this.readyState!==WebSocket.OPEN){sendAfterClose(this,e,i);return}const n={binary:typeof e!=="string",mask:!this._isServer,compress:true,fin:true,...t};if(!this._extensions[h.extensionName]){n.compress=false}this._sender.send(e||m,n,i)}terminate(){if(this.readyState===WebSocket.CLOSED)return;if(this.readyState===WebSocket.CONNECTING){const e="WebSocket was closed before the connection was established";return abortHandshake(this,this._req,e)}if(this._socket){this._readyState=WebSocket.CLOSING;this._socket.destroy()}}}C.forEach((e,t)=>{const i={enumerable:true,value:t};Object.defineProperty(WebSocket.prototype,e,i);Object.defineProperty(WebSocket,e,i)});["binaryType","bufferedAmount","extensions","protocol","readyState","url"].forEach(e=>{Object.defineProperty(WebSocket.prototype,e,{enumerable:true})});["open","error","close","message"].forEach(e=>{Object.defineProperty(WebSocket.prototype,`on${e}`,{configurable:true,enumerable:true,get(){const t=this.listeners(e);for(let e=0;e<t.length;e++){if(t[e]._listener)return t[e]._listener}return undefined},set(t){const i=this.listeners(e);for(let t=0;t<i.length;t++){if(i[t]._listener)this.removeListener(e,i[t])}this.addEventListener(e,t)}})});WebSocket.prototype.addEventListener=x;WebSocket.prototype.removeEventListener=b;e.exports=WebSocket;function initAsClient(e,t,i,n){const a={protocolVersion:E[1],maxPayload:100*1024*1024,perMessageDeflate:true,followRedirects:false,maxRedirects:10,...n,createConnection:undefined,socketPath:undefined,hostname:undefined,protocol:undefined,timeout:undefined,method:undefined,host:undefined,path:undefined,port:undefined};if(!E.includes(a.protocolVersion)){throw new RangeError(`Unsupported protocol version: ${a.protocolVersion} `+`(supported versions: ${E.join(", ")})`)}let o;if(t instanceof u){o=t;e._url=t.href}else{o=new u(t);e._url=t}const f=o.protocol==="ws+unix:";if(!o.host&&(!f||!o.pathname)){throw new Error(`Invalid URL: ${e.url}`)}const p=o.protocol==="wss:"||o.protocol==="https:";const d=p?443:80;const m=c(16).toString("base64");const g=p?r.get:s.get;let v;a.createConnection=p?tlsConnect:netConnect;a.defaultPort=a.defaultPort||d;a.port=o.port||d;a.host=o.hostname.startsWith("[")?o.hostname.slice(1,-1):o.hostname;a.headers={"Sec-WebSocket-Version":a.protocolVersion,"Sec-WebSocket-Key":m,Connection:"Upgrade",Upgrade:"websocket",...a.headers};a.path=o.pathname+o.search;a.timeout=a.handshakeTimeout;if(a.perMessageDeflate){v=new h(a.perMessageDeflate!==true?a.perMessageDeflate:{},false,a.maxPayload);a.headers["Sec-WebSocket-Extensions"]=w({[h.extensionName]:v.offer()})}if(i){a.headers["Sec-WebSocket-Protocol"]=i}if(a.origin){if(a.protocolVersion<13){a.headers["Sec-WebSocket-Origin"]=a.origin}else{a.headers.Origin=a.origin}}if(o.username||o.password){a.auth=`${o.username}:${o.password}`}if(f){const e=a.path.split(":");a.socketPath=e[0];a.path=e[1]}let y=e._req=g(a);if(a.timeout){y.on("timeout",()=>{abortHandshake(e,y,"Opening handshake has timed out")})}y.on("error",t=>{if(y===null||y.aborted)return;y=e._req=null;e._readyState=WebSocket.CLOSING;e.emit("error",t);e.emitClose()});y.on("response",r=>{const s=r.headers.location;const o=r.statusCode;if(s&&a.followRedirects&&o>=300&&o<400){if(++e._redirects>a.maxRedirects){abortHandshake(e,y,"Maximum redirects exceeded");return}y.abort();const r=new u(s,t);initAsClient(e,r,i,n)}else if(!e.emit("unexpected-response",y,r)){abortHandshake(e,y,`Unexpected server response: ${r.statusCode}`)}});y.on("upgrade",(t,n,r)=>{e.emit("upgrade",t);if(e.readyState!==WebSocket.CONNECTING)return;y=e._req=null;const s=l("sha1").update(m+_).digest("base64");if(t.headers["sec-websocket-accept"]!==s){abortHandshake(e,n,"Invalid Sec-WebSocket-Accept header");return}const o=t.headers["sec-websocket-protocol"];const c=(i||"").split(/, */);let u;if(!i&&o){u="Server sent a subprotocol but none was requested"}else if(i&&!o){u="Server sent no subprotocol"}else if(o&&!c.includes(o)){u="Server sent an invalid subprotocol"}if(u){abortHandshake(e,n,u);return}if(o)e._protocol=o;if(v){try{const i=S(t.headers["sec-websocket-extensions"]);if(i[h.extensionName]){v.accept(i[h.extensionName]);e._extensions[h.extensionName]=v}}catch(t){abortHandshake(e,n,"Invalid Sec-WebSocket-Extensions header");return}}e.setSocket(n,r,a.maxPayload)})}function netConnect(e){e.path=e.socketPath;return a.connect(e)}function tlsConnect(e){e.path=undefined;if(!e.servername&&e.servername!==""){e.servername=a.isIP(e.host)?"":e.host}return o.connect(e)}function abortHandshake(e,t,i){e._readyState=WebSocket.CLOSING;const n=new Error(i);Error.captureStackTrace(n,abortHandshake);if(t.setHeader){t.abort();t.once("abort",e.emitClose.bind(e));e.emit("error",n)}else{t.destroy(n);t.once("error",e.emit.bind(e,"error"));t.once("close",e.emitClose.bind(e))}}function sendAfterClose(e,t,i){if(t){const i=k(t).length;if(e._socket)e._sender._bufferedBytes+=i;else e._bufferedAmount+=i}if(i){const t=new Error(`WebSocket is not open: readyState ${e.readyState} `+`(${C[e.readyState]})`);i(t)}}function receiverOnConclude(e,t){const i=this[v];i._socket.removeListener("data",socketOnData);i._socket.resume();i._closeFrameReceived=true;i._closeMessage=t;i._closeCode=e;if(e===1005)i.close();else i.close(e,t)}function receiverOnDrain(){this[v]._socket.resume()}function receiverOnError(e){const t=this[v];t._socket.removeListener("data",socketOnData);t._readyState=WebSocket.CLOSING;t._closeCode=e[g];t.emit("error",e);t._socket.destroy()}function receiverOnFinish(){this[v].emitClose()}function receiverOnMessage(e){this[v].emit("message",e)}function receiverOnPing(e){const t=this[v];t.pong(e,!t._isServer,y);t.emit("ping",e)}function receiverOnPong(e){this[v].emit("pong",e)}function socketOnClose(){const e=this[v];this.removeListener("close",socketOnClose);this.removeListener("end",socketOnEnd);e._readyState=WebSocket.CLOSING;e._socket.read();e._receiver.end();this.removeListener("data",socketOnData);this[v]=undefined;clearTimeout(e._closeTimer);if(e._receiver._writableState.finished||e._receiver._writableState.errorEmitted){e.emitClose()}else{e._receiver.on("error",receiverOnFinish);e._receiver.on("finish",receiverOnFinish)}}function socketOnData(e){if(!this[v]._receiver.write(e)){this.pause()}}function socketOnEnd(){const e=this[v];e._readyState=WebSocket.CLOSING;e._receiver.end();this.end()}function socketOnError(){const e=this[v];this.removeListener("error",socketOnError);this.on("error",y);if(e){e._readyState=WebSocket.CLOSING;this.destroy()}}},1269:module=>{module.exports=eval("require")("bufferutil")},4592:module=>{module.exports=eval("require")("utf-8-validate")},8808:e=>{"use strict";e.exports=require("@umijs/deps/compiled/chalk")},5894:e=>{"use strict";e.exports=require("@umijs/deps/compiled/lodash")},7303:e=>{"use strict";e.exports=require("async_hooks")},3129:e=>{"use strict";e.exports=require("child_process")},6417:e=>{"use strict";e.exports=require("crypto")},8614:e=>{"use strict";e.exports=require("events")},5747:e=>{"use strict";e.exports=require("fs")},8605:e=>{"use strict";e.exports=require("http")},7211:e=>{"use strict";e.exports=require("https")},1631:e=>{"use strict";e.exports=require("net")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},2413:e=>{"use strict";e.exports=require("stream")},4016:e=>{"use strict";e.exports=require("tls")},8835:e=>{"use strict";e.exports=require("url")},1669:e=>{"use strict";e.exports=require("util")},8761:e=>{"use strict";e.exports=require("zlib")}};var __webpack_module_cache__={};function __nccwpck_require__(e){if(__webpack_module_cache__[e]){return __webpack_module_cache__[e].exports}var t=__webpack_module_cache__[e]={id:e,loaded:false,exports:{}};var i=true;try{__webpack_modules__[e].call(t.exports,t,t.exports,__nccwpck_require__);i=false}finally{if(i)delete __webpack_module_cache__[e]}t.loaded=true;return t.exports}(()=>{__nccwpck_require__.nmd=(e=>{e.paths=[];if(!e.children)e.children=[];return e})})();__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(4204)})();