@unpackjs/core 3.5.0 → 3.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiled/css-loader/index.js +20 -20
- package/compiled/less-loader/index.js +8 -8
- package/compiled/postcss-loader/index.js +8 -8
- package/compiled/sass-loader/index.js +8 -8
- package/dist/index.cjs +30 -26
- package/dist/index.js +30 -26
- package/dist-types/bundler-config/{bundleAnalyze.d.ts → buildAnalyze.d.ts} +2 -2
- package/dist-types/bundler-config/buildAnalyze.d.ts.map +1 -0
- package/dist-types/bundler-config/index.d.ts.map +1 -1
- package/dist-types/bundler-config/plugins/jsMinify.d.ts.map +1 -1
- package/dist-types/types/config.d.ts +1 -2
- package/dist-types/types/config.d.ts.map +1 -1
- package/dist-types/types/index.d.ts +1 -0
- package/dist-types/types/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/compiled/webpack-bundle-analyzer/index.d.ts +0 -1
- package/compiled/webpack-bundle-analyzer/index.js +0 -23
- package/compiled/webpack-bundle-analyzer/license +0 -20
- package/compiled/webpack-bundle-analyzer/package.json +0 -1
- package/compiled/webpack-bundle-analyzer/public/viewer.js +0 -16
- package/compiled/webpack-bundle-analyzer/public/viewer.js.LICENSE.txt +0 -10
- package/dist-types/bundler-config/bundleAnalyze.d.ts.map +0 -1
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
(()=>{var __webpack_modules__={3320:(e,t,i)=>{e.exports={version:i(2996),stringifyInfo:i(2678),stringifyStream:i(1126),parseChunked:i(3690)}},3690:(e,t,i)=>{const{isReadableStream:s}=i(7953);const r=i(976);const n=1;const a=2;const o=new r;function isObject(e){return e!==null&&typeof e==="object"}function adjustPosition(e,t){if(e.name==="SyntaxError"&&t.jsonParseOffset){e.message=e.message.replace(/at position (\d+)/,((e,i)=>"at position "+(Number(i)+t.jsonParseOffset)))}return e}function append(e,t){const i=e.length;e.length+=t.length;for(let s=0;s<t.length;s++){e[i+s]=t[s]}}e.exports=function(e){let t=new ChunkParser;if(isObject(e)&&s(e)){return new Promise(((i,s)=>{e.on("data",(e=>{try{t.push(e)}catch(e){s(adjustPosition(e,t));t=null}})).on("error",(e=>{t=null;s(e)})).on("end",(()=>{try{i(t.finish())}catch(e){s(adjustPosition(e,t))}finally{t=null}}))}))}if(typeof e==="function"){const i=e();if(isObject(i)&&(Symbol.iterator in i||Symbol.asyncIterator in i)){return new Promise((async(e,s)=>{try{for await(const e of i){t.push(e)}e(t.finish())}catch(e){s(adjustPosition(e,t))}finally{t=null}}))}}throw new Error("Chunk emitter should be readable stream, generator, "+"async generator or function returning an iterable object")};class ChunkParser{constructor(){this.value=undefined;this.valueStack=null;this.stack=new Array(100);this.lastFlushDepth=0;this.flushDepth=0;this.stateString=false;this.stateStringEscape=false;this.pendingByteSeq=null;this.pendingChunk=null;this.chunkOffset=0;this.jsonParseOffset=0}parseAndAppend(e,t){if(this.stack[this.lastFlushDepth-1]===n){if(t){this.jsonParseOffset--;e="{"+e+"}"}Object.assign(this.valueStack.value,JSON.parse(e))}else{if(t){this.jsonParseOffset--;e="["+e+"]"}append(this.valueStack.value,JSON.parse(e))}}prepareAddition(e){const{value:t}=this.valueStack;const i=Array.isArray(t)?t.length!==0:Object.keys(t).length!==0;if(i){if(e[0]===","){this.jsonParseOffset++;return e.slice(1)}if(e[0]!=="}"&&e[0]!=="]"){this.jsonParseOffset-=3;return"[[]"+e}}return e}flush(e,t,i){let s=e.slice(t,i);this.jsonParseOffset=this.chunkOffset+t;if(this.pendingChunk!==null){s=this.pendingChunk+s;this.jsonParseOffset-=this.pendingChunk.length;this.pendingChunk=null}if(this.flushDepth===this.lastFlushDepth){if(this.flushDepth>0){this.parseAndAppend(this.prepareAddition(s),true)}else{this.value=JSON.parse(s);this.valueStack={value:this.value,prev:null}}}else if(this.flushDepth>this.lastFlushDepth){for(let e=this.flushDepth-1;e>=this.lastFlushDepth;e--){s+=this.stack[e]===n?"}":"]"}if(this.lastFlushDepth===0){this.value=JSON.parse(s);this.valueStack={value:this.value,prev:null}}else{this.parseAndAppend(this.prepareAddition(s),true)}for(let e=this.lastFlushDepth||1;e<this.flushDepth;e++){let t=this.valueStack.value;if(this.stack[e-1]===n){let e;for(e in t);t=t[e]}else{t=t[t.length-1]}this.valueStack={value:t,prev:this.valueStack}}}else{s=this.prepareAddition(s);for(let e=this.lastFlushDepth-1;e>=this.flushDepth;e--){this.jsonParseOffset--;s=(this.stack[e]===n?"{":"[")+s}this.parseAndAppend(s,false);for(let e=this.lastFlushDepth-1;e>=this.flushDepth;e--){this.valueStack=this.valueStack.prev}}this.lastFlushDepth=this.flushDepth}push(e){if(typeof e!=="string"){if(this.pendingByteSeq!==null){const t=e;e=new Uint8Array(this.pendingByteSeq.length+t.length);e.set(this.pendingByteSeq);e.set(t,this.pendingByteSeq.length);this.pendingByteSeq=null}if(e[e.length-1]>127){for(let t=0;t<e.length;t++){const i=e[e.length-1-t];if(i>>6===3){t++;if(t!==4&&i>>3===30||t!==3&&i>>4===14||t!==2&&i>>5===6){this.pendingByteSeq=e.slice(e.length-t);e=e.slice(0,-t)}break}}}e=o.decode(e)}const t=e.length;let i=0;let s=0;e:for(let r=0;r<t;r++){if(this.stateString){for(;r<t;r++){if(this.stateStringEscape){this.stateStringEscape=false}else{switch(e.charCodeAt(r)){case 34:this.stateString=false;continue e;case 92:this.stateStringEscape=true}}}break}switch(e.charCodeAt(r)){case 34:this.stateString=true;this.stateStringEscape=false;break;case 44:s=r;break;case 123:s=r+1;this.stack[this.flushDepth++]=n;break;case 91:s=r+1;this.stack[this.flushDepth++]=a;break;case 93:case 125:s=r+1;this.flushDepth--;if(this.flushDepth<this.lastFlushDepth){this.flush(e,i,s);i=s}break;case 9:case 10:case 13:case 32:if(i===r){i++}if(s===r){s++}break}}if(s>i){this.flush(e,i,s)}if(s<t){if(this.pendingChunk!==null){this.pendingChunk+=e}else{this.pendingChunk=e.slice(s,t)}}this.chunkOffset+=t}finish(){if(this.pendingChunk!==null){this.flush("",0,0);this.pendingChunk=null}return this.value}}},2678:(e,t,i)=>{const{normalizeReplacer:s,normalizeSpace:r,replaceValue:n,getTypeNative:a,getTypeAsync:o,isLeadingSurrogate:l,isTrailingSurrogate:h,escapableCharCodeSubstitution:p,type:{PRIMITIVE:u,OBJECT:f,ARRAY:d,PROMISE:m,STRING_STREAM:g,OBJECT_STREAM:x}}=i(7953);const v=Array.from({length:2048}).map(((e,t)=>{if(p.hasOwnProperty(t)){return 2}if(t<32){return 6}return t<128?1:2}));function stringLength(e){let t=0;let i=false;for(let s=0;s<e.length;s++){const r=e.charCodeAt(s);if(r<2048){t+=v[r]}else if(l(r)){t+=6;i=true;continue}else if(h(r)){t=i?t-2:t+6}else{t+=3}i=false}return t+2}function primitiveLength(e){switch(typeof e){case"string":return stringLength(e);case"number":return Number.isFinite(e)?String(e).length:4;case"boolean":return e?4:5;case"undefined":case"object":return 4;default:return 0}}function spaceLength(e){e=r(e);return typeof e==="string"?e.length:0}e.exports=function jsonStringifyInfo(e,t,i,r){function walk(e,s,a){if(k){return}a=n(e,s,a,t);let o=b(a);if(o!==u&&p.has(a)){y.add(a);w+=4;if(!r.continueOnCircular){k=true}return}switch(o){case u:if(a!==undefined||Array.isArray(e)){w+=primitiveLength(a)}else if(e===S){w+=9}break;case f:{if(h.has(a)){v.add(a);w+=h.get(a);break}const e=w;let t=0;w+=2;p.add(a);for(const e in a){if(hasOwnProperty.call(a,e)&&(l===null||l.has(e))){const i=w;walk(a,e,a[e]);if(i!==w){w+=stringLength(e)+1;t++}}}if(t>1){w+=t-1}p.delete(a);if(i>0&&t>0){w+=(1+(p.size+1)*i+1)*t;w+=1+p.size*i}h.set(a,w-e);break}case d:{if(h.has(a)){v.add(a);w+=h.get(a);break}const e=w;w+=2;p.add(a);for(let e=0;e<a.length;e++){walk(a,e,a[e])}if(a.length>1){w+=a.length-1}p.delete(a);if(i>0&&a.length>0){w+=(1+(p.size+1)*i)*a.length;w+=1+p.size*i}h.set(a,w-e);break}case m:case g:_.add(a);break;case x:w+=2;_.add(a);break}}let l=null;t=s(t);if(Array.isArray(t)){l=new Set(t);t=null}i=spaceLength(i);r=r||{};const h=new Map;const p=new Set;const v=new Set;const y=new Set;const _=new Set;const b=r.async?o:a;const S={"":e};let k=false;let w=0;walk(S,"",e);return{minLength:isNaN(w)?Infinity:w,circular:[...y],duplicate:[...v],async:[..._]}}},1126:(e,t,i)=>{const{Readable:s}=i(2203);const{normalizeReplacer:r,normalizeSpace:n,replaceValue:a,getTypeAsync:o,type:{PRIMITIVE:l,OBJECT:h,ARRAY:p,PROMISE:u,STRING_STREAM:f,OBJECT_STREAM:d}}=i(7953);const noop=()=>{};const m=Object.prototype.hasOwnProperty;const g=JSON.stringify("\ud800")==='"\\ud800"'?JSON.stringify:e=>JSON.stringify(e).replace(/\p{Surrogate}/gu,(e=>`\\u${e.charCodeAt(0).toString(16)}`));function push(){this.push(this._stack.value);this.popStack()}function pushPrimitive(e){switch(typeof e){case"string":this.push(this.encodeString(e));break;case"number":this.push(Number.isFinite(e)?this.encodeNumber(e):"null");break;case"boolean":this.push(e?"true":"false");break;case"undefined":case"object":this.push("null");break;default:this.destroy(new TypeError(`Do not know how to serialize a ${e.constructor&&e.constructor.name||typeof e}`))}}function processObjectEntry(e){const t=this._stack;if(!t.first){t.first=true}else{this.push(",")}if(this.space){this.push(`\n${this.space.repeat(this._depth)}${this.encodeString(e)}: `)}else{this.push(this.encodeString(e)+":")}}function processObject(){const e=this._stack;if(e.index===e.keys.length){if(this.space&&e.first){this.push(`\n${this.space.repeat(this._depth-1)}}`)}else{this.push("}")}this.popStack();return}const t=e.keys[e.index];this.processValue(e.value,t,e.value[t],processObjectEntry);e.index++}function processArrayItem(e){if(e!==0){this.push(",")}if(this.space){this.push(`\n${this.space.repeat(this._depth)}`)}}function processArray(){const e=this._stack;if(e.index===e.value.length){if(this.space&&e.index>0){this.push(`\n${this.space.repeat(this._depth-1)}]`)}else{this.push("]")}this.popStack();return}this.processValue(e.value,e.index,e.value[e.index],processArrayItem);e.index++}function createStreamReader(e){return function(){const t=this._stack;const i=t.value.read(this._readSize);if(i!==null){t.first=false;e.call(this,i,t)}else{if(t.first&&!t.value._readableState.reading||t.ended){this.popStack()}else{t.first=true;t.awaiting=true}}}}const x=createStreamReader((function(e,t){this.processValue(t.value,t.index,e,processArrayItem);t.index++}));const v=createStreamReader((function(e){this.push(e)}));class JsonStringifyStream extends s{constructor(e,t,i){super({autoDestroy:true});this.getKeys=Object.keys;this.replacer=r(t);if(Array.isArray(this.replacer)){const e=this.replacer;this.getKeys=t=>e.filter((e=>m.call(t,e)));this.replacer=null}this.space=n(i);this._depth=0;this.error=null;this._processing=false;this._ended=false;this._readSize=0;this._buffer="";this._stack=null;this._visited=new WeakSet;this.pushStack({handler:()=>{this.popStack();this.processValue({"":e},"",e,noop)}})}encodeString(e){if(/[^\x20-\uD799]|[\x22\x5c]/.test(e)){return g(e)}return'"'+e+'"'}encodeNumber(e){return e}processValue(e,t,i,s){i=a(e,t,i,this.replacer);let r=o(i);switch(r){case l:if(s!==processObjectEntry||i!==undefined){s.call(this,t);pushPrimitive.call(this,i)}break;case h:s.call(this,t);if(this._visited.has(i)){return this.destroy(new TypeError("Converting circular structure to JSON"))}this._visited.add(i);this._depth++;this.push("{");this.pushStack({handler:processObject,value:i,index:0,first:false,keys:this.getKeys(i)});break;case p:s.call(this,t);if(this._visited.has(i)){return this.destroy(new TypeError("Converting circular structure to JSON"))}this._visited.add(i);this.push("[");this.pushStack({handler:processArray,value:i,index:0});this._depth++;break;case u:this.pushStack({handler:noop,awaiting:true});Promise.resolve(i).then((i=>{this.popStack();this.processValue(e,t,i,s);this.processStack()})).catch((e=>{this.destroy(e)}));break;case f:case d:s.call(this,t);if(i.readableEnded||i._readableState.endEmitted){return this.destroy(new Error("Readable Stream has ended before it was serialized. All stream data have been lost"))}if(i.readableFlowing){return this.destroy(new Error("Readable Stream is in flowing mode, data may have been lost. Trying to pause stream."))}if(r===d){this.push("[");this.pushStack({handler:push,value:this.space?"\n"+this.space.repeat(this._depth)+"]":"]"});this._depth++}const n=this.pushStack({handler:r===d?x:v,value:i,index:0,first:false,ended:false,awaiting:!i.readable||i.readableLength===0});const continueProcessing=()=>{if(n.awaiting){n.awaiting=false;this.processStack()}};i.once("error",(e=>this.destroy(e)));i.once("end",(()=>{n.ended=true;continueProcessing()}));i.on("readable",continueProcessing);break}}pushStack(e){e.prev=this._stack;return this._stack=e}popStack(){const{handler:e,value:t}=this._stack;if(e===processObject||e===processArray||e===x){this._visited.delete(t);this._depth--}this._stack=this._stack.prev}processStack(){if(this._processing||this._ended){return}try{this._processing=true;while(this._stack!==null&&!this._stack.awaiting){this._stack.handler.call(this);if(!this._processing){return}}this._processing=false}catch(e){this.destroy(e);return}if(this._stack===null&&!this._ended){this._finish();this.push(null)}}push(e){if(e!==null){this._buffer+=e;if(this._buffer.length<this._readSize){return}e=this._buffer;this._buffer="";this._processing=false}super.push(e)}_read(e){this._readSize=e||this.readableHighWaterMark;this.processStack()}_finish(){this._ended=true;this._processing=false;this._stack=null;this._visited=null;if(this._buffer&&this._buffer.length){super.push(this._buffer)}this._buffer=""}_destroy(e,t){this.error=this.error||e;this._finish();t(e)}}e.exports=function createJsonStringifyStream(e,t,i){return new JsonStringifyStream(e,t,i)}},976:(e,t,i)=>{e.exports=i(9023).TextDecoder},7953:e=>{const t=1;const i=2;const s=3;const r=4;const n=5;const a=6;const o={8:"\\b",9:"\\t",10:"\\n",12:"\\f",13:"\\r",34:'\\"',92:"\\\\"};function isLeadingSurrogate(e){return e>=55296&&e<=56319}function isTrailingSurrogate(e){return e>=56320&&e<=57343}function isReadableStream(e){return typeof e.pipe==="function"&&typeof e._read==="function"&&typeof e._readableState==="object"&&e._readableState!==null}function replaceValue(e,t,i,s){if(i&&typeof i.toJSON==="function"){i=i.toJSON()}if(s!==null){i=s.call(e,String(t),i)}switch(typeof i){case"function":case"symbol":i=undefined;break;case"object":if(i!==null){const e=i.constructor;if(e===String||e===Number||e===Boolean){i=i.valueOf()}}break}return i}function getTypeNative(e){if(e===null||typeof e!=="object"){return t}if(Array.isArray(e)){return s}return i}function getTypeAsync(e){if(e===null||typeof e!=="object"){return t}if(typeof e.then==="function"){return r}if(isReadableStream(e)){return e._readableState.objectMode?a:n}if(Array.isArray(e)){return s}return i}function normalizeReplacer(e){if(typeof e==="function"){return e}if(Array.isArray(e)){const t=new Set(e.map((e=>{const t=e&&e.constructor;return t===String||t===Number?String(e):null})).filter((e=>typeof e==="string")));return[...t]}return null}function normalizeSpace(e){if(typeof e==="number"){if(!Number.isFinite(e)||e<1){return false}return" ".repeat(Math.min(e,10))}if(typeof e==="string"){return e.slice(0,10)||false}return false}e.exports={escapableCharCodeSubstitution:o,isLeadingSurrogate:isLeadingSurrogate,isTrailingSurrogate:isTrailingSurrogate,type:{PRIMITIVE:t,PROMISE:r,ARRAY:s,OBJECT:i,STRING_STREAM:n,OBJECT_STREAM:a},isReadableStream:isReadableStream,replaceValue:replaceValue,getTypeNative:getTypeNative,getTypeAsync:getTypeAsync,normalizeReplacer:normalizeReplacer,normalizeSpace:normalizeSpace}},2996:(e,t,i)=>{e.exports=i(3344).version},4917:(e,t,i)=>{const s=i(3480);function parse(e){let t=e.url;if(t==null)return;let i=e._parsedUrl;if(i&&i.raw===t)return i;let r=t,n="",a,o;if(t.length>1){let e=t.indexOf("#",1);if(e!==-1){o=t.substring(e);r=t.substring(0,e)}e=r.indexOf("?",1);if(e!==-1){n=r.substring(e);r=r.substring(0,e);if(n.length>1){a=s.parse(n.substring(1))}}}return e._parsedUrl={pathname:r,search:n,query:a,hash:o,raw:t}}t.parse=parse},1694:function(e,t){(function(e,i){true?i(t):0})(this,(function(e){"use strict";function simple(e,t,s,r,n){if(!s){s=i}(function c(e,i,r){var n=r||e.type;s[n](e,i,c);if(t[n]){t[n](e,i)}})(e,r,n)}function ancestor(e,t,s,r,n){var a=[];if(!s){s=i}(function c(e,i,r){var n=r||e.type;var o=e!==a[a.length-1];if(o){a.push(e)}s[n](e,i,c);if(t[n]){t[n](e,i||a,a)}if(o){a.pop()}})(e,r,n)}function recursive(e,t,i,s,r){var n=i?make(i,s||undefined):s;(function c(e,t,i){n[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,s,r,n){if(!s){s=i}var a;(function c(e,i,r){var n=r||e.type;s[n](e,i,c);if(a!==e){t(e,i,n);a=e}})(e,r,n)}function fullAncestor(e,t,s,r){if(!s){s=i}var n=[],a;(function c(e,i,r){var o=r||e.type;var l=e!==n[n.length-1];if(l){n.push(e)}s[o](e,i,c);if(a!==e){t(e,i||n,n,o);a=e}if(l){n.pop()}})(e,r)}function findNodeAt(e,s,r,n,a,o){if(!a){a=i}n=makeTest(n);try{(function c(e,i,o){var l=o||e.type;if((s==null||e.start<=s)&&(r==null||e.end>=r)){a[l](e,i,c)}if((s==null||e.start===s)&&(r==null||e.end===r)&&n(l,e)){throw new t(e,i)}})(e,o)}catch(e){if(e instanceof t){return e}throw e}}function findNodeAround(e,s,r,n,a){r=makeTest(r);if(!n){n=i}try{(function c(e,i,a){var o=a||e.type;if(e.start>s||e.end<s){return}n[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,s,r,n,a){r=makeTest(r);if(!n){n=i}try{(function c(e,i,a){if(e.end<s){return}var o=a||e.type;if(e.start>=s&&r(o,e)){throw new t(e,i)}n[o](e,i,c)})(e,a)}catch(e){if(e instanceof t){return e}throw e}}function findNodeBefore(e,s,r,n,a){r=makeTest(r);if(!n){n=i}var o;(function c(e,i,a){if(e.start>s){return}var l=a||e.type;if(e.end<=s&&(!o||o.node.end<e.end)&&r(l,e)){o=new t(e,i)}n[l](e,i,c)})(e,a);return o}function make(e,t){var s=Object.create(t||i);for(var r in e){s[r]=e[r]}return s}function skipThrough(e,t,i){i(e,t)}function ignore(e,t,i){}var i={};i.Program=i.BlockStatement=i.StaticBlock=function(e,t,i){for(var s=0,r=e.body;s<r.length;s+=1){var n=r[s];i(n,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 s=0,r=e.cases;s<r.length;s+=1){var n=r[s];i(n,t)}};i.SwitchCase=function(e,t,i){if(e.test){i(e.test,t,"Expression")}for(var s=0,r=e.consequent;s<r.length;s+=1){var n=r[s];i(n,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 s=0,r=e.declarations;s<r.length;s+=1){var n=r[s];i(n,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 s=0,r=e.params;s<r.length;s+=1){var n=r[s];i(n,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 s=0,r=e.elements;s<r.length;s+=1){var n=r[s];if(n){i(n,t,"Pattern")}}};i.ObjectPattern=function(e,t,i){for(var s=0,r=e.properties;s<r.length;s+=1){var n=r[s];if(n.type==="Property"){if(n.computed){i(n.key,t,"Expression")}i(n.value,t,"Pattern")}else if(n.type==="RestElement"){i(n.argument,t,"Pattern")}}};i.Expression=skipThrough;i.ThisExpression=i.Super=i.MetaProperty=ignore;i.ArrayExpression=function(e,t,i){for(var s=0,r=e.elements;s<r.length;s+=1){var n=r[s];if(n){i(n,t,"Expression")}}};i.ObjectExpression=function(e,t,i){for(var s=0,r=e.properties;s<r.length;s+=1){var n=r[s];i(n,t)}};i.FunctionExpression=i.ArrowFunctionExpression=i.FunctionDeclaration;i.SequenceExpression=function(e,t,i){for(var s=0,r=e.expressions;s<r.length;s+=1){var n=r[s];i(n,t,"Expression")}};i.TemplateLiteral=function(e,t,i){for(var s=0,r=e.quasis;s<r.length;s+=1){var n=r[s];i(n,t)}for(var a=0,o=e.expressions;a<o.length;a+=1){var l=o[a];i(l,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 s=0,r=e.arguments;s<r.length;s+=1){var n=r[s];i(n,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 s=0,r=e.specifiers;s<r.length;s+=1){var n=r[s];i(n,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.PrivateIdentifier=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 s=0,r=e.body;s<r.length;s+=1){var n=r[s];i(n,t)}};i.MethodDefinition=i.PropertyDefinition=i.Property=function(e,t,i){if(e.computed){i(e.key,t,"Expression")}if(e.value){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}))},1501:function(e,t){(function(e,i){true?i(t):0})(this,(function(e){"use strict";var t=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];var i=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];var s="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";var r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var n={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 a="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 o={5:a,"5module":a+" export import",6:a+" const class extends export import super"};var l=/^in(stanceof)?$/;var h=new RegExp("["+r+"]");var p=new RegExp("["+r+s+"]");function isInAstralSet(e,t){var i=65536;for(var s=0;s<t.length;s+=2){i+=t[s];if(i>e){return false}i+=t[s+1];if(i>=e){return true}}return false}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&&h.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,i)}function isIdentifierChar(e,s){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&&p.test(String.fromCharCode(e))}if(s===false){return false}return isInAstralSet(e,i)||isInAstralSet(e,t)}var u=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 u(e,{beforeExpr:true,binop:t})}var f={beforeExpr:true},d={startsExpr:true};var m={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return m[e]=new u(e,t)}var g={num:new u("num",d),regexp:new u("regexp",d),string:new u("string",d),name:new u("name",d),privateId:new u("privateId",d),eof:new u("eof"),bracketL:new u("[",{beforeExpr:true,startsExpr:true}),bracketR:new u("]"),braceL:new u("{",{beforeExpr:true,startsExpr:true}),braceR:new u("}"),parenL:new u("(",{beforeExpr:true,startsExpr:true}),parenR:new u(")"),comma:new u(",",f),semi:new u(";",f),colon:new u(":",f),dot:new u("."),question:new u("?",f),questionDot:new u("?."),arrow:new u("=>",f),template:new u("template"),invalidTemplate:new u("invalidTemplate"),ellipsis:new u("...",f),backQuote:new u("`",d),dollarBraceL:new u("${",{beforeExpr:true,startsExpr:true}),eq:new u("=",{beforeExpr:true,isAssign:true}),assign:new u("_=",{beforeExpr:true,isAssign:true}),incDec:new u("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new u("!/~",{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 u("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new u("**",{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",d),_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",d),_super:kw("super",d),_class:kw("class",d),_extends:kw("extends",f),_export:kw("export"),_import:kw("import",d),_null:kw("null",d),_true:kw("true",d),_false:kw("false",d),_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 x=/\r\n?|\n|\u2028|\u2029/;var v=new RegExp(x.source,"g");function isNewLine(e){return e===10||e===13||e===8232||e===8233}function nextLineBreak(e,t,i){if(i===void 0)i=e.length;for(var s=t;s<i;s++){var r=e.charCodeAt(s);if(isNewLine(r)){return s<i-1&&r===13&&e.charCodeAt(s+1)===10?s+2:s+1}}return-1}var y=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var _=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var b=Object.prototype;var S=b.hasOwnProperty;var k=b.toString;var w=Object.hasOwn||function(e,t){return S.call(e,t)};var E=Array.isArray||function(e){return k.call(e)==="[object Array]"};var C=Object.create(null);function wordsRegexp(e){return C[e]||(C[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}var A=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;var P=function Position(e,t){this.line=e;this.column=t};P.prototype.offset=function offset(e){return new P(this.line,this.column+e)};var I=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,s=0;;){var r=nextLineBreak(e,s,t);if(r<0){return new P(i,t-s)}++i;s=r}}var N={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:false,checkPrivateFields:true,locations:false,onToken:null,onComment:null,ranges:false,program:null,sourceFile:null,directSourceFile:null,preserveParens:false};var O=false;function getOptions(e){var t={};for(var i in N){t[i]=e&&w(e,i)?e[i]:N[i]}if(t.ecmaVersion==="latest"){t.ecmaVersion=1e8}else if(t.ecmaVersion==null){if(!O&&typeof console==="object"&&console.warn){O=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(!e||e.allowHashBang==null){t.allowHashBang=t.ecmaVersion>=14}if(E(t.onToken)){var s=t.onToken;t.onToken=function(e){return s.push(e)}}if(E(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(i,s,r,n,a,o){var l={type:i?"Block":"Line",value:s,start:r,end:n};if(e.locations){l.loc=new I(this,a,o)}if(e.ranges){l.range=[r,n]}t.push(l)}}var T=1,L=2,R=4,D=8,V=16,M=32,B=64,z=128,j=256,F=512,U=T|L|j;function functionFlags(e,t){return L|(e?R:0)|(t?D:0)}var W=0,q=1,G=2,H=3,$=4,K=5;var J=function Parser(e,t,i){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(o[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var s="";if(e.allowReserved!==true){s=n[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3];if(e.sourceType==="module"){s+=" await"}}this.reservedWords=wordsRegexp(s);var r=(s?s+" ":"")+n.strict;this.reservedWordsStrict=wordsRegexp(r);this.reservedWordsStrictBind=wordsRegexp(r+" "+n.strictBind);this.input=String(t);this.containsEsc=false;if(i){this.pos=i;this.lineStart=this.input.lastIndexOf("\n",i-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(x).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=g.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.potentialArrowInForAwait=false;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(T);this.regexpState=null;this.privateNameStack=[]};var Y={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},canAwait:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},allowNewDotTarget:{configurable:true},inClassStaticBlock:{configurable:true}};J.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};Y.inFunction.get=function(){return(this.currentVarScope().flags&L)>0};Y.inGenerator.get=function(){return(this.currentVarScope().flags&D)>0};Y.inAsync.get=function(){return(this.currentVarScope().flags&R)>0};Y.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];var i=t.flags;if(i&(j|F)){return false}if(i&L){return(i&R)>0}}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};Y.allowSuper.get=function(){var e=this.currentThisScope();var t=e.flags;return(t&B)>0||this.options.allowSuperOutsideMethod};Y.allowDirectSuper.get=function(){return(this.currentThisScope().flags&z)>0};Y.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Y.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];var i=t.flags;if(i&(j|F)||i&L&&!(i&V)){return true}}return false};Y.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&j)>0};J.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var i=this;for(var s=0;s<e.length;s++){i=e[s](i)}return i};J.parse=function parse(e,t){return new this(t,e).parse()};J.parseExpressionAt=function parseExpressionAt(e,t,i){var s=new this(i,e,t);s.nextToken();return s.parseExpression()};J.tokenizer=function tokenizer(e,t){return new this(t,e)};Object.defineProperties(J.prototype,Y);var X=J.prototype;var Q=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;X.strictDirective=function(e){if(this.options.ecmaVersion<5){return false}for(;;){_.lastIndex=e;e+=_.exec(this.input)[0].length;var t=Q.exec(this.input.slice(e));if(!t){return false}if((t[1]||t[2])==="use strict"){_.lastIndex=e+t[0].length;var i=_.exec(this.input),s=i.index+i[0].length;var r=this.input.charAt(s);return r===";"||r==="}"||x.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(r)||r==="!"&&this.input.charAt(s+1)==="=")}e+=t[0].length;_.lastIndex=e;e+=_.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};X.eat=function(e){if(this.type===e){this.next();return true}else{return false}};X.isContextual=function(e){return this.type===g.name&&this.value===e&&!this.containsEsc};X.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};X.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};X.canInsertSemicolon=function(){return this.type===g.eof||this.type===g.braceR||x.test(this.input.slice(this.lastTokEnd,this.start))};X.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};X.semicolon=function(){if(!this.eat(g.semi)&&!this.insertSemicolon()){this.unexpected()}};X.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}};X.expect=function(e){this.eat(e)||this.unexpected()};X.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};var Z=function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};X.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,t?"Assigning to rvalue":"Parenthesized pattern")}};X.checkExpressionErrors=function(e,t){if(!e){return false}var i=e.shorthandAssign;var s=e.doubleProto;if(!t){return i>=0||s>=0}if(i>=0){this.raise(i,"Shorthand property assignments are valid only in destructuring patterns")}if(s>=0){this.raiseRecoverable(s,"Redefinition of __proto__ property")}};X.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")}};X.isSimpleAssignTarget=function(e){if(e.type==="ParenthesizedExpression"){return this.isSimpleAssignTarget(e.expression)}return e.type==="Identifier"||e.type==="MemberExpression"};var ee=J.prototype;ee.parseTopLevel=function(e){var t=Object.create(null);if(!e.body){e.body=[]}while(this.type!==g.eof){var i=this.parseStatement(null,true,t);e.body.push(i)}if(this.inModule){for(var s=0,r=Object.keys(this.undefinedExports);s<r.length;s+=1){var n=r[s];this.raiseRecoverable(this.undefinedExports[n].start,"Export '"+n+"' is not defined")}}this.adaptDirectivePrologue(e.body);this.next();e.sourceType=this.options.sourceType;return this.finishNode(e,"Program")};var te={kind:"loop"},ie={kind:"switch"};ee.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let")){return false}_.lastIndex=this.pos;var t=_.exec(this.input);var i=this.pos+t[0].length,s=this.input.charCodeAt(i);if(s===91||s===92){return true}if(e){return false}if(s===123||s>55295&&s<56320){return true}if(isIdentifierStart(s,true)){var r=i+1;while(isIdentifierChar(s=this.input.charCodeAt(r),true)){++r}if(s===92||s>55295&&s<56320){return true}var n=this.input.slice(i,r);if(!l.test(n)){return true}}return false};ee.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}_.lastIndex=this.pos;var e=_.exec(this.input);var t=this.pos+e[0].length,i;return!x.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(isIdentifierChar(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))};ee.isUsingKeyword=function(e,t){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using")){return false}_.lastIndex=this.pos;var i=_.exec(this.input);var s=this.pos+i[0].length;if(x.test(this.input.slice(this.pos,s))){return false}if(e){var r=s+5,n;if(this.input.slice(s,r)!=="using"||r===this.input.length||isIdentifierChar(n=this.input.charCodeAt(r))||n>55295&&n<56320){return false}_.lastIndex=r;var a=_.exec(this.input);if(a&&x.test(this.input.slice(r,r+a[0].length))){return false}}if(t){var o=s+2,l;if(this.input.slice(s,o)==="of"){if(o===this.input.length||!isIdentifierChar(l=this.input.charCodeAt(o))&&!(l>55295&&l<56320)){return false}}}var h=this.input.charCodeAt(s);return isIdentifierStart(h,true)||h===92};ee.isAwaitUsing=function(e){return this.isUsingKeyword(true,e)};ee.isUsing=function(e){return this.isUsingKeyword(false,e)};ee.parseStatement=function(e,t,i){var s=this.type,r=this.startNode(),n;if(this.isLet(e)){s=g._var;n="let"}switch(s){case g._break:case g._continue:return this.parseBreakContinueStatement(r,s.keyword);case g._debugger:return this.parseDebuggerStatement(r);case g._do:return this.parseDoStatement(r);case g._for:return this.parseForStatement(r);case g._function:if(e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(r,false,!e);case g._class:if(e){this.unexpected()}return this.parseClass(r,true);case g._if:return this.parseIfStatement(r);case g._return:return this.parseReturnStatement(r);case g._switch:return this.parseSwitchStatement(r);case g._throw:return this.parseThrowStatement(r);case g._try:return this.parseTryStatement(r);case g._const:case g._var:n=n||this.value;if(e&&n!=="var"){this.unexpected()}return this.parseVarStatement(r,n);case g._while:return this.parseWhileStatement(r);case g._with:return this.parseWithStatement(r);case g.braceL:return this.parseBlock(true,r);case g.semi:return this.parseEmptyStatement(r);case g._export:case g._import:if(this.options.ecmaVersion>10&&s===g._import){_.lastIndex=this.pos;var a=_.exec(this.input);var o=this.pos+a[0].length,l=this.input.charCodeAt(o);if(l===40||l===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 s===g._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 h=this.isAwaitUsing(false)?"await using":this.isUsing(false)?"using":null;if(h){if(t&&this.options.sourceType==="script"){this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`")}if(h==="await using"){if(!this.canAwait){this.raise(this.start,"Await using cannot appear outside of async function")}this.next()}this.next();this.parseVar(r,false,h);this.semicolon();return this.finishNode(r,"VariableDeclaration")}var p=this.value,u=this.parseExpression();if(s===g.name&&u.type==="Identifier"&&this.eat(g.colon)){return this.parseLabeledStatement(r,p,u,e)}else{return this.parseExpressionStatement(r,u)}}};ee.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next();if(this.eat(g.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==g.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var s=0;for(;s<this.labels.length;++s){var r=this.labels[s];if(e.label==null||r.name===e.label.name){if(r.kind!=null&&(i||r.kind==="loop")){break}if(e.label&&i){break}}}if(s===this.labels.length){this.raise(e.start,"Unsyntactic "+t)}return this.finishNode(e,i?"BreakStatement":"ContinueStatement")};ee.parseDebuggerStatement=function(e){this.next();this.semicolon();return this.finishNode(e,"DebuggerStatement")};ee.parseDoStatement=function(e){this.next();this.labels.push(te);e.body=this.parseStatement("do");this.labels.pop();this.expect(g._while);e.test=this.parseParenExpression();if(this.options.ecmaVersion>=6){this.eat(g.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};ee.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(te);this.enterScope(0);this.expect(g.parenL);if(this.type===g.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var i=this.isLet();if(this.type===g._var||this.type===g._const||i){var s=this.startNode(),r=i?"let":this.value;this.next();this.parseVar(s,true,r);this.finishNode(s,"VariableDeclaration");return this.parseForAfterInit(e,s,t)}var n=this.isContextual("let"),a=false;var o=this.isUsing(true)?"using":this.isAwaitUsing(true)?"await using":null;if(o){var l=this.startNode();this.next();if(o==="await using"){this.next()}this.parseVar(l,true,o);this.finishNode(l,"VariableDeclaration");return this.parseForAfterInit(e,l,t)}var h=this.containsEsc;var p=new Z;var u=this.start;var f=t>-1?this.parseExprSubscripts(p,"await"):this.parseExpression(true,p);if(this.type===g._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))){if(t>-1){if(this.type===g._in){this.unexpected(t)}e.await=true}else if(a&&this.options.ecmaVersion>=8){if(f.start===u&&!h&&f.type==="Identifier"&&f.name==="async"){this.unexpected()}else if(this.options.ecmaVersion>=9){e.await=false}}if(n&&a){this.raise(f.start,"The left-hand side of a for-of loop may not start with 'let'.")}this.toAssignable(f,false,p);this.checkLValPattern(f);return this.parseForIn(e,f)}else{this.checkExpressionErrors(p,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,f)};ee.parseForAfterInit=function(e,t,i){if((this.type===g._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&t.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===g._in){if(i>-1){this.unexpected(i)}}else{e.await=i>-1}}return this.parseForIn(e,t)}if(i>-1){this.unexpected(i)}return this.parseFor(e,t)};ee.parseFunctionStatement=function(e,t,i){this.next();return this.parseFunction(e,re|(i?0:ne),false,t)};ee.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(g._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};ee.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(g.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};ee.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(g.braceL);this.labels.push(ie);this.enterScope(0);var t;for(var i=false;this.type!==g.braceR;){if(this.type===g._case||this.type===g._default){var s=this.type===g._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(s){t.test=this.parseExpression()}else{if(i){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}i=true;t.test=null}this.expect(g.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")};ee.parseThrowStatement=function(e){this.next();if(x.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 se=[];ee.parseCatchClauseParam=function(){var e=this.parseBindingAtom();var t=e.type==="Identifier";this.enterScope(t?M:0);this.checkLValPattern(e,t?$:G);this.expect(g.parenR);return e};ee.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===g._catch){var t=this.startNode();this.next();if(this.eat(g.parenL)){t.param=this.parseCatchClauseParam()}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(g._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};ee.parseVarStatement=function(e,t,i){this.next();this.parseVar(e,false,t,i);this.semicolon();return this.finishNode(e,"VariableDeclaration")};ee.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(te);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};ee.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")};ee.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};ee.parseLabeledStatement=function(e,t,i,s){for(var r=0,n=this.labels;r<n.length;r+=1){var a=n[r];if(a.name===t){this.raise(i.start,"Label '"+t+"' is already declared")}}var o=this.type.isLoop?"loop":this.type===g._switch?"switch":null;for(var l=this.labels.length-1;l>=0;l--){var h=this.labels[l];if(h.statementStart===e.start){h.statementStart=this.start;h.kind=o}else{break}}this.labels.push({name:t,kind:o,statementStart:this.start});e.body=this.parseStatement(s?s.indexOf("label")===-1?s+"label":s:"label");this.labels.pop();e.label=i;return this.finishNode(e,"LabeledStatement")};ee.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};ee.parseBlock=function(e,t,i){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(g.braceL);if(e){this.enterScope(0)}while(this.type!==g.braceR){var s=this.parseStatement(null);t.body.push(s)}if(i){this.strict=false}this.next();if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};ee.parseFor=function(e,t){e.init=t;this.expect(g.semi);e.test=this.type===g.semi?null:this.parseExpression();this.expect(g.semi);e.update=this.type===g.parenR?null:this.parseExpression();this.expect(g.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};ee.parseForIn=function(e,t){var i=this.type===g._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(g.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,i?"ForInStatement":"ForOfStatement")};ee.parseVar=function(e,t,i,s){e.declarations=[];e.kind=i;for(;;){var r=this.startNode();this.parseVarId(r,i);if(this.eat(g.eq)){r.init=this.parseMaybeAssign(t)}else if(!s&&i==="const"&&!(this.type===g._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(!s&&(i==="using"||i==="await using")&&this.options.ecmaVersion>=17&&this.type!==g._in&&!this.isContextual("of")){this.raise(this.lastTokEnd,"Missing initializer in "+i+" declaration")}else if(!s&&r.id.type!=="Identifier"&&!(t&&(this.type===g._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{r.init=null}e.declarations.push(this.finishNode(r,"VariableDeclarator"));if(!this.eat(g.comma)){break}}return e};ee.parseVarId=function(e,t){e.id=t==="using"||t==="await using"?this.parseIdent():this.parseBindingAtom();this.checkLValPattern(e.id,t==="var"?q:G,false)};var re=1,ne=2,ae=4;ee.parseFunction=function(e,t,i,s,r){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s){if(this.type===g.star&&t&ne){this.unexpected()}e.generator=this.eat(g.star)}if(this.options.ecmaVersion>=8){e.async=!!s}if(t&re){e.id=t&ae&&this.type!==g.name?null:this.parseIdent();if(e.id&&!(t&ne)){this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?q:G:H)}}var n=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&re)){e.id=this.type===g.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,i,false,r);this.yieldPos=n;this.awaitPos=a;this.awaitIdentPos=o;return this.finishNode(e,t&re?"FunctionDeclaration":"FunctionExpression")};ee.parseFunctionParams=function(e){this.expect(g.parenL);e.params=this.parseBindingList(g.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};ee.parseClass=function(e,t){this.next();var i=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var s=this.enterClassBody();var r=this.startNode();var n=false;r.body=[];this.expect(g.braceL);while(this.type!==g.braceR){var a=this.parseClassElement(e.superClass!==null);if(a){r.body.push(a);if(a.type==="MethodDefinition"&&a.kind==="constructor"){if(n){this.raiseRecoverable(a.start,"Duplicate constructor in the same class")}n=true}else if(a.key&&a.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(s,a)){this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared")}}}this.strict=i;this.next();e.body=this.finishNode(r,"ClassBody");this.exitClassBody();return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};ee.parseClassElement=function(e){if(this.eat(g.semi)){return null}var t=this.options.ecmaVersion;var i=this.startNode();var s="";var r=false;var n=false;var a="method";var o=false;if(this.eatContextual("static")){if(t>=13&&this.eat(g.braceL)){this.parseClassStaticBlock(i);return i}if(this.isClassElementNameStart()||this.type===g.star){o=true}else{s="static"}}i.static=o;if(!s&&t>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===g.star)&&!this.canInsertSemicolon()){n=true}else{s="async"}}if(!s&&(t>=9||!n)&&this.eat(g.star)){r=true}if(!s&&!n&&!r){var l=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){a=l}else{s=l}}}if(s){i.computed=false;i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);i.key.name=s;this.finishNode(i.key,"Identifier")}else{this.parseClassElementName(i)}if(t<13||this.type===g.parenL||a!=="method"||r||n){var h=!i.static&&checkKeyName(i,"constructor");var p=h&&e;if(h&&a!=="method"){this.raise(i.key.start,"Constructor can't have get/set modifier")}i.kind=h?"constructor":a;this.parseClassMethod(i,r,n,p)}else{this.parseClassField(i)}return i};ee.isClassElementNameStart=function(){return this.type===g.name||this.type===g.privateId||this.type===g.num||this.type===g.string||this.type===g.bracketL||this.type.keyword};ee.parseClassElementName=function(e){if(this.type===g.privateId){if(this.value==="constructor"){this.raise(this.start,"Classes can't have an element named '#constructor'")}e.computed=false;e.key=this.parsePrivateIdent()}else{this.parsePropertyName(e)}};ee.parseClassMethod=function(e,t,i,s){var r=e.key;if(e.kind==="constructor"){if(t){this.raise(r.start,"Constructor can't be a generator")}if(i){this.raise(r.start,"Constructor can't be an async method")}}else if(e.static&&checkKeyName(e,"prototype")){this.raise(r.start,"Classes may not have a static property named prototype")}var n=e.value=this.parseMethod(t,i,s);if(e.kind==="get"&&n.params.length!==0){this.raiseRecoverable(n.start,"getter should have no params")}if(e.kind==="set"&&n.params.length!==1){this.raiseRecoverable(n.start,"setter should have exactly one param")}if(e.kind==="set"&&n.params[0].type==="RestElement"){this.raiseRecoverable(n.params[0].start,"Setter cannot use rest params")}return this.finishNode(e,"MethodDefinition")};ee.parseClassField=function(e){if(checkKeyName(e,"constructor")){this.raise(e.key.start,"Classes can't have a field named 'constructor'")}else if(e.static&&checkKeyName(e,"prototype")){this.raise(e.key.start,"Classes can't have a static field named 'prototype'")}if(this.eat(g.eq)){this.enterScope(F|B);e.value=this.parseMaybeAssign();this.exitScope()}else{e.value=null}this.semicolon();return this.finishNode(e,"PropertyDefinition")};ee.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;this.labels=[];this.enterScope(j|B);while(this.type!==g.braceR){var i=this.parseStatement(null);e.body.push(i)}this.next();this.exitScope();this.labels=t;return this.finishNode(e,"StaticBlock")};ee.parseClassId=function(e,t){if(this.type===g.name){e.id=this.parseIdent();if(t){this.checkLValSimple(e.id,G,false)}}else{if(t===true){this.unexpected()}e.id=null}};ee.parseClassSuper=function(e){e.superClass=this.eat(g._extends)?this.parseExprSubscripts(null,false):null};ee.enterClassBody=function(){var e={declared:Object.create(null),used:[]};this.privateNameStack.push(e);return e.declared};ee.exitClassBody=function(){var e=this.privateNameStack.pop();var t=e.declared;var i=e.used;if(!this.options.checkPrivateFields){return}var s=this.privateNameStack.length;var r=s===0?null:this.privateNameStack[s-1];for(var n=0;n<i.length;++n){var a=i[n];if(!w(t,a.name)){if(r){r.used.push(a)}else{this.raiseRecoverable(a.start,"Private field '#"+a.name+"' must be declared in an enclosing class")}}}};function isPrivateNameConflicted(e,t){var i=t.key.name;var s=e[i];var r="true";if(t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")){r=(t.static?"s":"i")+t.kind}if(s==="iget"&&r==="iset"||s==="iset"&&r==="iget"||s==="sget"&&r==="sset"||s==="sset"&&r==="sget"){e[i]="true";return false}else if(!s){e[i]=r;return false}else{return true}}function checkKeyName(e,t){var i=e.computed;var s=e.key;return!i&&(s.type==="Identifier"&&s.name===t||s.type==="Literal"&&s.value===t)}ee.parseExportAllDeclaration=function(e,t){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){e.exported=this.parseModuleExportName();this.checkExport(t,e.exported,this.lastTokStart)}else{e.exported=null}}this.expectContextual("from");if(this.type!==g.string){this.unexpected()}e.source=this.parseExprAtom();if(this.options.ecmaVersion>=16){e.attributes=this.parseWithClause()}this.semicolon();return this.finishNode(e,"ExportAllDeclaration")};ee.parseExport=function(e,t){this.next();if(this.eat(g.star)){return this.parseExportAllDeclaration(e,t)}if(this.eat(g._default)){this.checkExport(t,"default",this.lastTokStart);e.declaration=this.parseExportDefaultDeclaration();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseExportDeclaration(e);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id,e.declaration.id.start)}e.specifiers=[];e.source=null;if(this.options.ecmaVersion>=16){e.attributes=[]}}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==g.string){this.unexpected()}e.source=this.parseExprAtom();if(this.options.ecmaVersion>=16){e.attributes=this.parseWithClause()}}else{for(var i=0,s=e.specifiers;i<s.length;i+=1){var r=s[i];this.checkUnreserved(r.local);this.checkLocalExport(r.local);if(r.local.type==="Literal"){this.raise(r.local.start,"A string literal cannot be used as an exported binding without `from`.")}}e.source=null;if(this.options.ecmaVersion>=16){e.attributes=[]}}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};ee.parseExportDeclaration=function(e){return this.parseStatement(null)};ee.parseExportDefaultDeclaration=function(){var e;if(this.type===g._function||(e=this.isAsyncFunction())){var t=this.startNode();this.next();if(e){this.next()}return this.parseFunction(t,re|ae,false,e)}else if(this.type===g._class){var i=this.startNode();return this.parseClass(i,"nullableID")}else{var s=this.parseMaybeAssign();this.semicolon();return s}};ee.checkExport=function(e,t,i){if(!e){return}if(typeof t!=="string"){t=t.type==="Identifier"?t.name:t.value}if(w(e,t)){this.raiseRecoverable(i,"Duplicate export '"+t+"'")}e[t]=true};ee.checkPatternExport=function(e,t){var i=t.type;if(i==="Identifier"){this.checkExport(e,t,t.start)}else if(i==="ObjectPattern"){for(var s=0,r=t.properties;s<r.length;s+=1){var n=r[s];this.checkPatternExport(e,n)}}else if(i==="ArrayPattern"){for(var a=0,o=t.elements;a<o.length;a+=1){var l=o[a];if(l){this.checkPatternExport(e,l)}}}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)}};ee.checkVariableExport=function(e,t){if(!e){return}for(var i=0,s=t;i<s.length;i+=1){var r=s[i];this.checkPatternExport(e,r.id)}};ee.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};ee.parseExportSpecifier=function(e){var t=this.startNode();t.local=this.parseModuleExportName();t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local;this.checkExport(e,t.exported,t.exported.start);return this.finishNode(t,"ExportSpecifier")};ee.parseExportSpecifiers=function(e){var t=[],i=true;this.expect(g.braceL);while(!this.eat(g.braceR)){if(!i){this.expect(g.comma);if(this.afterTrailingComma(g.braceR)){break}}else{i=false}t.push(this.parseExportSpecifier(e))}return t};ee.parseImport=function(e){this.next();if(this.type===g.string){e.specifiers=se;e.source=this.parseExprAtom()}else{e.specifiers=this.parseImportSpecifiers();this.expectContextual("from");e.source=this.type===g.string?this.parseExprAtom():this.unexpected()}if(this.options.ecmaVersion>=16){e.attributes=this.parseWithClause()}this.semicolon();return this.finishNode(e,"ImportDeclaration")};ee.parseImportSpecifier=function(){var e=this.startNode();e.imported=this.parseModuleExportName();if(this.eatContextual("as")){e.local=this.parseIdent()}else{this.checkUnreserved(e.imported);e.local=e.imported}this.checkLValSimple(e.local,G);return this.finishNode(e,"ImportSpecifier")};ee.parseImportDefaultSpecifier=function(){var e=this.startNode();e.local=this.parseIdent();this.checkLValSimple(e.local,G);return this.finishNode(e,"ImportDefaultSpecifier")};ee.parseImportNamespaceSpecifier=function(){var e=this.startNode();this.next();this.expectContextual("as");e.local=this.parseIdent();this.checkLValSimple(e.local,G);return this.finishNode(e,"ImportNamespaceSpecifier")};ee.parseImportSpecifiers=function(){var e=[],t=true;if(this.type===g.name){e.push(this.parseImportDefaultSpecifier());if(!this.eat(g.comma)){return e}}if(this.type===g.star){e.push(this.parseImportNamespaceSpecifier());return e}this.expect(g.braceL);while(!this.eat(g.braceR)){if(!t){this.expect(g.comma);if(this.afterTrailingComma(g.braceR)){break}}else{t=false}e.push(this.parseImportSpecifier())}return e};ee.parseWithClause=function(){var e=[];if(!this.eat(g._with)){return e}this.expect(g.braceL);var t={};var i=true;while(!this.eat(g.braceR)){if(!i){this.expect(g.comma);if(this.afterTrailingComma(g.braceR)){break}}else{i=false}var s=this.parseImportAttribute();var r=s.key.type==="Identifier"?s.key.name:s.key.value;if(w(t,r)){this.raiseRecoverable(s.key.start,"Duplicate attribute key '"+r+"'")}t[r]=true;e.push(s)}return e};ee.parseImportAttribute=function(){var e=this.startNode();e.key=this.type===g.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never");this.expect(g.colon);if(this.type!==g.string){this.unexpected()}e.value=this.parseExprAtom();return this.finishNode(e,"ImportAttribute")};ee.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===g.string){var e=this.parseLiteral(this.value);if(A.test(e.value)){this.raise(e.start,"An export name cannot include a lone surrogate.")}return e}return this.parseIdent(true)};ee.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)}};ee.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var oe=J.prototype;oe.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 s=0,r=e.properties;s<r.length;s+=1){var n=r[s];this.toAssignable(n,t);if(n.type==="RestElement"&&(n.argument.type==="ArrayPattern"||n.argument.type==="ObjectPattern")){this.raise(n.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};oe.toAssignableList=function(e,t){var i=e.length;for(var s=0;s<i;s++){var r=e[s];if(r){this.toAssignable(r,t)}}if(i){var n=e[i-1];if(this.options.ecmaVersion===6&&t&&n&&n.type==="RestElement"&&n.argument.type!=="Identifier"){this.unexpected(n.argument.start)}}return e};oe.parseSpread=function(e){var t=this.startNode();this.next();t.argument=this.parseMaybeAssign(false,e);return this.finishNode(t,"SpreadElement")};oe.parseRestBinding=function(){var e=this.startNode();this.next();if(this.options.ecmaVersion===6&&this.type!==g.name){this.unexpected()}e.argument=this.parseBindingAtom();return this.finishNode(e,"RestElement")};oe.parseBindingAtom=function(){if(this.options.ecmaVersion>=6){switch(this.type){case g.bracketL:var e=this.startNode();this.next();e.elements=this.parseBindingList(g.bracketR,true,true);return this.finishNode(e,"ArrayPattern");case g.braceL:return this.parseObj(true)}}return this.parseIdent()};oe.parseBindingList=function(e,t,i,s){var r=[],n=true;while(!this.eat(e)){if(n){n=false}else{this.expect(g.comma)}if(t&&this.type===g.comma){r.push(null)}else if(i&&this.afterTrailingComma(e)){break}else if(this.type===g.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a);r.push(a);if(this.type===g.comma){this.raiseRecoverable(this.start,"Comma is not permitted after the rest element")}this.expect(e);break}else{r.push(this.parseAssignableListItem(s))}}return r};oe.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(t);return t};oe.parseBindingListItem=function(e){return e};oe.parseMaybeDefault=function(e,t,i){i=i||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(g.eq)){return i}var s=this.startNodeAt(e,t);s.left=i;s.right=this.parseMaybeAssign();return this.finishNode(s,"AssignmentPattern")};oe.checkLValSimple=function(e,t,i){if(t===void 0)t=W;var s=t!==W;switch(e.type){case"Identifier":if(this.strict&&this.reservedWordsStrictBind.test(e.name)){this.raiseRecoverable(e.start,(s?"Binding ":"Assigning to ")+e.name+" in strict mode")}if(s){if(t===G&&e.name==="let"){this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name")}if(i){if(w(i,e.name)){this.raiseRecoverable(e.start,"Argument name clash")}i[e.name]=true}if(t!==K){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(s){this.raiseRecoverable(e.start,"Binding member expression")}break;case"ParenthesizedExpression":if(s){this.raiseRecoverable(e.start,"Binding parenthesized expression")}return this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(s?"Binding":"Assigning to")+" rvalue")}};oe.checkLValPattern=function(e,t,i){if(t===void 0)t=W;switch(e.type){case"ObjectPattern":for(var s=0,r=e.properties;s<r.length;s+=1){var n=r[s];this.checkLValInnerPattern(n,t,i)}break;case"ArrayPattern":for(var a=0,o=e.elements;a<o.length;a+=1){var l=o[a];if(l){this.checkLValInnerPattern(l,t,i)}}break;default:this.checkLValSimple(e,t,i)}};oe.checkLValInnerPattern=function(e,t,i){if(t===void 0)t=W;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 le=function TokContext(e,t,i,s,r){this.token=e;this.isExpr=!!t;this.preserveSpace=!!i;this.override=s;this.generator=!!r};var ce={b_stat:new le("{",false),b_expr:new le("{",true),b_tmpl:new le("${",false),p_stat:new le("(",false),p_expr:new le("(",true),q_tmpl:new le("`",true,true,(function(e){return e.tryReadTemplateToken()})),f_stat:new le("function",false),f_expr:new le("function",true),f_expr_gen:new le("function",true,false,null,true),f_gen:new le("function",false,false,null,true)};var he=J.prototype;he.initialContext=function(){return[ce.b_stat]};he.curContext=function(){return this.context[this.context.length-1]};he.braceIsBlock=function(e){var t=this.curContext();if(t===ce.f_expr||t===ce.f_stat){return true}if(e===g.colon&&(t===ce.b_stat||t===ce.b_expr)){return!t.isExpr}if(e===g._return||e===g.name&&this.exprAllowed){return x.test(this.input.slice(this.lastTokEnd,this.start))}if(e===g._else||e===g.semi||e===g.eof||e===g.parenR||e===g.arrow){return true}if(e===g.braceL){return t===ce.b_stat}if(e===g._var||e===g._const||e===g.name){return false}return!this.exprAllowed};he.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};he.updateContext=function(e){var t,i=this.type;if(i.keyword&&e===g.dot){this.exprAllowed=false}else if(t=i.updateContext){t.call(this,e)}else{this.exprAllowed=i.beforeExpr}};he.overrideContext=function(e){if(this.curContext()!==e){this.context[this.context.length-1]=e}};g.parenR.updateContext=g.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===ce.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};g.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ce.b_stat:ce.b_expr);this.exprAllowed=true};g.dollarBraceL.updateContext=function(){this.context.push(ce.b_tmpl);this.exprAllowed=true};g.parenL.updateContext=function(e){var t=e===g._if||e===g._for||e===g._with||e===g._while;this.context.push(t?ce.p_stat:ce.p_expr);this.exprAllowed=true};g.incDec.updateContext=function(){};g._function.updateContext=g._class.updateContext=function(e){if(e.beforeExpr&&e!==g._else&&!(e===g.semi&&this.curContext()!==ce.p_stat)&&!(e===g._return&&x.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===g.colon||e===g.braceL)&&this.curContext()===ce.b_stat)){this.context.push(ce.f_expr)}else{this.context.push(ce.f_stat)}this.exprAllowed=false};g.colon.updateContext=function(){if(this.curContext().token==="function"){this.context.pop()}this.exprAllowed=true};g.backQuote.updateContext=function(){if(this.curContext()===ce.q_tmpl){this.context.pop()}else{this.context.push(ce.q_tmpl)}this.exprAllowed=false};g.star.updateContext=function(e){if(e===g._function){var t=this.context.length-1;if(this.context[t]===ce.f_expr){this.context[t]=ce.f_expr_gen}else{this.context[t]=ce.f_gen}}this.exprAllowed=true};g.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==g.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var ue=J.prototype;ue.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 s=e.key;var r;switch(s.type){case"Identifier":r=s.name;break;case"Literal":r=String(s.value);break;default:return}var n=e.kind;if(this.options.ecmaVersion>=6){if(r==="__proto__"&&n==="init"){if(t.proto){if(i){if(i.doubleProto<0){i.doubleProto=s.start}}else{this.raiseRecoverable(s.start,"Redefinition of __proto__ property")}}t.proto=true}return}r="$"+r;var a=t[r];if(a){var o;if(n==="init"){o=this.strict&&a.init||a.get||a.set}else{o=a.init||a[n]}if(o){this.raiseRecoverable(s.start,"Redefinition of property")}}else{a=t[r]={init:false,get:false,set:false}}a[n]=true};ue.parseExpression=function(e,t){var i=this.start,s=this.startLoc;var r=this.parseMaybeAssign(e,t);if(this.type===g.comma){var n=this.startNodeAt(i,s);n.expressions=[r];while(this.eat(g.comma)){n.expressions.push(this.parseMaybeAssign(e,t))}return this.finishNode(n,"SequenceExpression")}return r};ue.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator){return this.parseYield(e)}else{this.exprAllowed=false}}var s=false,r=-1,n=-1,a=-1;if(t){r=t.parenthesizedAssign;n=t.trailingComma;a=t.doubleProto;t.parenthesizedAssign=t.trailingComma=-1}else{t=new Z;s=true}var o=this.start,l=this.startLoc;if(this.type===g.parenL||this.type===g.name){this.potentialArrowAt=this.start;this.potentialArrowInForAwait=e==="await"}var h=this.parseMaybeConditional(e,t);if(i){h=i.call(this,h,o,l)}if(this.type.isAssign){var p=this.startNodeAt(o,l);p.operator=this.value;if(this.type===g.eq){h=this.toAssignable(h,false,t)}if(!s){t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1}if(t.shorthandAssign>=h.start){t.shorthandAssign=-1}if(this.type===g.eq){this.checkLValPattern(h)}else{this.checkLValSimple(h)}p.left=h;this.next();p.right=this.parseMaybeAssign(e);if(a>-1){t.doubleProto=a}return this.finishNode(p,"AssignmentExpression")}else{if(s){this.checkExpressionErrors(t,true)}}if(r>-1){t.parenthesizedAssign=r}if(n>-1){t.trailingComma=n}return h};ue.parseMaybeConditional=function(e,t){var i=this.start,s=this.startLoc;var r=this.parseExprOps(e,t);if(this.checkExpressionErrors(t)){return r}if(this.eat(g.question)){var n=this.startNodeAt(i,s);n.test=r;n.consequent=this.parseMaybeAssign();this.expect(g.colon);n.alternate=this.parseMaybeAssign(e);return this.finishNode(n,"ConditionalExpression")}return r};ue.parseExprOps=function(e,t){var i=this.start,s=this.startLoc;var r=this.parseMaybeUnary(t,false,false,e);if(this.checkExpressionErrors(t)){return r}return r.start===i&&r.type==="ArrowFunctionExpression"?r:this.parseExprOp(r,i,s,-1,e)};ue.parseExprOp=function(e,t,i,s,r){var n=this.type.binop;if(n!=null&&(!r||this.type!==g._in)){if(n>s){var a=this.type===g.logicalOR||this.type===g.logicalAND;var o=this.type===g.coalesce;if(o){n=g.logicalAND.binop}var l=this.value;this.next();var h=this.start,p=this.startLoc;var u=this.parseExprOp(this.parseMaybeUnary(null,false,false,r),h,p,n,r);var f=this.buildBinary(t,i,e,u,l,a||o);if(a&&this.type===g.coalesce||o&&(this.type===g.logicalOR||this.type===g.logicalAND)){this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses")}return this.parseExprOp(f,t,i,s,r)}}return e};ue.buildBinary=function(e,t,i,s,r,n){if(s.type==="PrivateIdentifier"){this.raise(s.start,"Private identifier can only be left side of binary expression")}var a=this.startNodeAt(e,t);a.left=i;a.operator=r;a.right=s;return this.finishNode(a,n?"LogicalExpression":"BinaryExpression")};ue.parseMaybeUnary=function(e,t,i,s){var r=this.start,n=this.startLoc,a;if(this.isContextual("await")&&this.canAwait){a=this.parseAwait(s);t=true}else if(this.type.prefix){var o=this.startNode(),l=this.type===g.incDec;o.operator=this.value;o.prefix=true;this.next();o.argument=this.parseMaybeUnary(null,true,l,s);this.checkExpressionErrors(e,true);if(l){this.checkLValSimple(o.argument)}else if(this.strict&&o.operator==="delete"&&isLocalVariableAccess(o.argument)){this.raiseRecoverable(o.start,"Deleting local variable in strict mode")}else if(o.operator==="delete"&&isPrivateFieldAccess(o.argument)){this.raiseRecoverable(o.start,"Private fields can not be deleted")}else{t=true}a=this.finishNode(o,l?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===g.privateId){if((s||this.privateNameStack.length===0)&&this.options.checkPrivateFields){this.unexpected()}a=this.parsePrivateIdent();if(this.type!==g._in){this.unexpected()}}else{a=this.parseExprSubscripts(e,s);if(this.checkExpressionErrors(e)){return a}while(this.type.postfix&&!this.canInsertSemicolon()){var h=this.startNodeAt(r,n);h.operator=this.value;h.prefix=false;h.argument=a;this.checkLValSimple(a);this.next();a=this.finishNode(h,"UpdateExpression")}}if(!i&&this.eat(g.starstar)){if(t){this.unexpected(this.lastTokStart)}else{return this.buildBinary(r,n,a,this.parseMaybeUnary(null,false,false,s),"**",false)}}else{return a}};function isLocalVariableAccess(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&isLocalVariableAccess(e.expression)}function isPrivateFieldAccess(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&isPrivateFieldAccess(e.expression)||e.type==="ParenthesizedExpression"&&isPrivateFieldAccess(e.expression)}ue.parseExprSubscripts=function(e,t){var i=this.start,s=this.startLoc;var r=this.parseExprAtom(e,t);if(r.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")"){return r}var n=this.parseSubscripts(r,i,s,false,t);if(e&&n.type==="MemberExpression"){if(e.parenthesizedAssign>=n.start){e.parenthesizedAssign=-1}if(e.parenthesizedBind>=n.start){e.parenthesizedBind=-1}if(e.trailingComma>=n.start){e.trailingComma=-1}}return n};ue.parseSubscripts=function(e,t,i,s,r){var n=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 a=false;while(true){var o=this.parseSubscript(e,t,i,s,n,a,r);if(o.optional){a=true}if(o===e||o.type==="ArrowFunctionExpression"){if(a){var l=this.startNodeAt(t,i);l.expression=o;o=this.finishNode(l,"ChainExpression")}return o}e=o}};ue.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(g.arrow)};ue.parseSubscriptAsyncArrow=function(e,t,i,s){return this.parseArrowExpression(this.startNodeAt(e,t),i,true,s)};ue.parseSubscript=function(e,t,i,s,r,n,a){var o=this.options.ecmaVersion>=11;var l=o&&this.eat(g.questionDot);if(s&&l){this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions")}var h=this.eat(g.bracketL);if(h||l&&this.type!==g.parenL&&this.type!==g.backQuote||this.eat(g.dot)){var p=this.startNodeAt(t,i);p.object=e;if(h){p.property=this.parseExpression();this.expect(g.bracketR)}else if(this.type===g.privateId&&e.type!=="Super"){p.property=this.parsePrivateIdent()}else{p.property=this.parseIdent(this.options.allowReserved!=="never")}p.computed=!!h;if(o){p.optional=l}e=this.finishNode(p,"MemberExpression")}else if(!s&&this.eat(g.parenL)){var u=new Z,f=this.yieldPos,d=this.awaitPos,m=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var x=this.parseExprList(g.parenR,this.options.ecmaVersion>=8,false,u);if(r&&!l&&this.shouldParseAsyncArrow()){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=f;this.awaitPos=d;this.awaitIdentPos=m;return this.parseSubscriptAsyncArrow(t,i,x,a)}this.checkExpressionErrors(u,true);this.yieldPos=f||this.yieldPos;this.awaitPos=d||this.awaitPos;this.awaitIdentPos=m||this.awaitIdentPos;var v=this.startNodeAt(t,i);v.callee=e;v.arguments=x;if(o){v.optional=l}e=this.finishNode(v,"CallExpression")}else if(this.type===g.backQuote){if(l||n){this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions")}var y=this.startNodeAt(t,i);y.tag=e;y.quasi=this.parseTemplate({isTagged:true});e=this.finishNode(y,"TaggedTemplateExpression")}return e};ue.parseExprAtom=function(e,t,i){if(this.type===g.slash){this.readRegexp()}var s,r=this.potentialArrowAt===this.start;switch(this.type){case g._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}s=this.startNode();this.next();if(this.type===g.parenL&&!this.allowDirectSuper){this.raise(s.start,"super() call outside constructor of a subclass")}if(this.type!==g.dot&&this.type!==g.bracketL&&this.type!==g.parenL){this.unexpected()}return this.finishNode(s,"Super");case g._this:s=this.startNode();this.next();return this.finishNode(s,"ThisExpression");case g.name:var n=this.start,a=this.startLoc,o=this.containsEsc;var l=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!o&&l.name==="async"&&!this.canInsertSemicolon()&&this.eat(g._function)){this.overrideContext(ce.f_expr);return this.parseFunction(this.startNodeAt(n,a),0,false,true,t)}if(r&&!this.canInsertSemicolon()){if(this.eat(g.arrow)){return this.parseArrowExpression(this.startNodeAt(n,a),[l],false,t)}if(this.options.ecmaVersion>=8&&l.name==="async"&&this.type===g.name&&!o&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){l=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(g.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(n,a),[l],true,t)}}return l;case g.regexp:var h=this.value;s=this.parseLiteral(h.value);s.regex={pattern:h.pattern,flags:h.flags};return s;case g.num:case g.string:return this.parseLiteral(this.value);case g._null:case g._true:case g._false:s=this.startNode();s.value=this.type===g._null?null:this.type===g._true;s.raw=this.type.keyword;this.next();return this.finishNode(s,"Literal");case g.parenL:var p=this.start,u=this.parseParenAndDistinguishExpression(r,t);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(u)){e.parenthesizedAssign=p}if(e.parenthesizedBind<0){e.parenthesizedBind=p}}return u;case g.bracketL:s=this.startNode();this.next();s.elements=this.parseExprList(g.bracketR,true,true,e);return this.finishNode(s,"ArrayExpression");case g.braceL:this.overrideContext(ce.b_expr);return this.parseObj(false,e);case g._function:s=this.startNode();this.next();return this.parseFunction(s,0);case g._class:return this.parseClass(this.startNode(),false);case g._new:return this.parseNew();case g.backQuote:return this.parseTemplate();case g._import:if(this.options.ecmaVersion>=11){return this.parseExprImport(i)}else{return this.unexpected()}default:return this.parseExprAtomDefault()}};ue.parseExprAtomDefault=function(){this.unexpected()};ue.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}this.next();if(this.type===g.parenL&&!e){return this.parseDynamicImport(t)}else if(this.type===g.dot){var i=this.startNodeAt(t.start,t.loc&&t.loc.start);i.name="import";t.meta=this.finishNode(i,"Identifier");return this.parseImportMeta(t)}else{this.unexpected()}};ue.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(this.options.ecmaVersion>=16){if(!this.eat(g.parenR)){this.expect(g.comma);if(!this.afterTrailingComma(g.parenR)){e.options=this.parseMaybeAssign();if(!this.eat(g.parenR)){this.expect(g.comma);if(!this.afterTrailingComma(g.parenR)){this.unexpected()}}}else{e.options=null}}else{e.options=null}}else{if(!this.eat(g.parenR)){var t=this.start;if(this.eat(g.comma)&&this.eat(g.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}}return this.finishNode(e,"ImportExpression")};ue.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")};ue.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.value!=null?t.value.toString():t.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(t,"Literal")};ue.parseParenExpression=function(){this.expect(g.parenL);var e=this.parseExpression();this.expect(g.parenR);return e};ue.shouldParseArrow=function(e){return!this.canInsertSemicolon()};ue.parseParenAndDistinguishExpression=function(e,t){var i=this.start,s=this.startLoc,r,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,o=this.startLoc;var l=[],h=true,p=false;var u=new Z,f=this.yieldPos,d=this.awaitPos,m;this.yieldPos=0;this.awaitPos=0;while(this.type!==g.parenR){h?h=false:this.expect(g.comma);if(n&&this.afterTrailingComma(g.parenR,true)){p=true;break}else if(this.type===g.ellipsis){m=this.start;l.push(this.parseParenItem(this.parseRestBinding()));if(this.type===g.comma){this.raiseRecoverable(this.start,"Comma is not permitted after the rest element")}break}else{l.push(this.parseMaybeAssign(false,u,this.parseParenItem))}}var x=this.lastTokEnd,v=this.lastTokEndLoc;this.expect(g.parenR);if(e&&this.shouldParseArrow(l)&&this.eat(g.arrow)){this.checkPatternErrors(u,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=f;this.awaitPos=d;return this.parseParenArrowList(i,s,l,t)}if(!l.length||p){this.unexpected(this.lastTokStart)}if(m){this.unexpected(m)}this.checkExpressionErrors(u,true);this.yieldPos=f||this.yieldPos;this.awaitPos=d||this.awaitPos;if(l.length>1){r=this.startNodeAt(a,o);r.expressions=l;this.finishNodeAt(r,"SequenceExpression",x,v)}else{r=l[0]}}else{r=this.parseParenExpression()}if(this.options.preserveParens){var y=this.startNodeAt(i,s);y.expression=r;return this.finishNode(y,"ParenthesizedExpression")}else{return r}};ue.parseParenItem=function(e){return e};ue.parseParenArrowList=function(e,t,i,s){return this.parseArrowExpression(this.startNodeAt(e,t),i,false,s)};var fe=[];ue.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var e=this.startNode();this.next();if(this.options.ecmaVersion>=6&&this.type===g.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new";e.meta=this.finishNode(t,"Identifier");this.next();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.allowNewDotTarget){this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block")}return this.finishNode(e,"MetaProperty")}var s=this.start,r=this.startLoc;e.callee=this.parseSubscripts(this.parseExprAtom(null,false,true),s,r,true,false);if(this.eat(g.parenL)){e.arguments=this.parseExprList(g.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=fe}return this.finishNode(e,"NewExpression")};ue.parseTemplateElement=function(e){var t=e.isTagged;var i=this.startNode();if(this.type===g.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}i.value={raw:this.value.replace(/\r\n?/g,"\n"),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===g.backQuote;return this.finishNode(i,"TemplateElement")};ue.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 s=this.parseTemplateElement({isTagged:t});i.quasis=[s];while(!s.tail){if(this.type===g.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(g.dollarBraceL);i.expressions.push(this.parseExpression());this.expect(g.braceR);i.quasis.push(s=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(i,"TemplateLiteral")};ue.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===g.name||this.type===g.num||this.type===g.string||this.type===g.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===g.star)&&!x.test(this.input.slice(this.lastTokEnd,this.start))};ue.parseObj=function(e,t){var i=this.startNode(),s=true,r={};i.properties=[];this.next();while(!this.eat(g.braceR)){if(!s){this.expect(g.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(g.braceR)){break}}else{s=false}var n=this.parseProperty(e,t);if(!e){this.checkPropClash(n,r,t)}i.properties.push(n)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};ue.parseProperty=function(e,t){var i=this.startNode(),s,r,n,a;if(this.options.ecmaVersion>=9&&this.eat(g.ellipsis)){if(e){i.argument=this.parseIdent(false);if(this.type===g.comma){this.raiseRecoverable(this.start,"Comma is not permitted after the rest element")}return this.finishNode(i,"RestElement")}i.argument=this.parseMaybeAssign(false,t);if(this.type===g.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){n=this.start;a=this.startLoc}if(!e){s=this.eat(g.star)}}var o=this.containsEsc;this.parsePropertyName(i);if(!e&&!o&&this.options.ecmaVersion>=8&&!s&&this.isAsyncProp(i)){r=true;s=this.options.ecmaVersion>=9&&this.eat(g.star);this.parsePropertyName(i)}else{r=false}this.parsePropertyValue(i,e,s,r,n,a,t,o);return this.finishNode(i,"Property")};ue.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);e.kind=t;var i=e.kind==="get"?0:1;if(e.value.params.length!==i){var s=e.value.start;if(e.kind==="get"){this.raiseRecoverable(s,"getter should have no params")}else{this.raiseRecoverable(s,"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")}}};ue.parsePropertyValue=function(e,t,i,s,r,n,a,o){if((i||s)&&this.type===g.colon){this.unexpected()}if(this.eat(g.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===g.parenL){if(t){this.unexpected()}e.method=true;e.value=this.parseMethod(i,s);e.kind="init"}else if(!t&&!o&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==g.comma&&this.type!==g.braceR&&this.type!==g.eq)){if(i||s){this.unexpected()}this.parseGetterSetter(e)}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(i||s){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=r}if(t){e.value=this.parseMaybeDefault(r,n,this.copyNode(e.key))}else if(this.type===g.eq&&a){if(a.shorthandAssign<0){a.shorthandAssign=this.start}e.value=this.parseMaybeDefault(r,n,this.copyNode(e.key))}else{e.value=this.copyNode(e.key)}e.kind="init";e.shorthand=true}else{this.unexpected()}};ue.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(g.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(g.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===g.num||this.type===g.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};ue.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};ue.parseMethod=function(e,t,i){var s=this.startNode(),r=this.yieldPos,n=this.awaitPos,a=this.awaitIdentPos;this.initFunction(s);if(this.options.ecmaVersion>=6){s.generator=e}if(this.options.ecmaVersion>=8){s.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,s.generator)|B|(i?z:0));this.expect(g.parenL);s.params=this.parseBindingList(g.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(s,false,true,false);this.yieldPos=r;this.awaitPos=n;this.awaitIdentPos=a;return this.finishNode(s,"FunctionExpression")};ue.parseArrowExpression=function(e,t,i,s){var r=this.yieldPos,n=this.awaitPos,a=this.awaitIdentPos;this.enterScope(functionFlags(i,false)|V);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,s);this.yieldPos=r;this.awaitPos=n;this.awaitIdentPos=a;return this.finishNode(e,"ArrowFunctionExpression")};ue.parseFunctionBody=function(e,t,i,s){var r=t&&this.type!==g.braceL;var n=this.strict,a=false;if(r){e.body=this.parseMaybeAssign(s);e.expression=true;this.checkParams(e,false)}else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!n||o){a=this.strictDirective(this.end);if(a&&o){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var l=this.labels;this.labels=[];if(a){this.strict=true}this.checkParams(e,!n&&!a&&!t&&!i&&this.isSimpleParamList(e.params));if(this.strict&&e.id){this.checkLValSimple(e.id,K)}e.body=this.parseBlock(false,undefined,a&&!n);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=l}this.exitScope()};ue.isSimpleParamList=function(e){for(var t=0,i=e;t<i.length;t+=1){var s=i[t];if(s.type!=="Identifier"){return false}}return true};ue.checkParams=function(e,t){var i=Object.create(null);for(var s=0,r=e.params;s<r.length;s+=1){var n=r[s];this.checkLValInnerPattern(n,q,t?null:i)}};ue.parseExprList=function(e,t,i,s){var r=[],n=true;while(!this.eat(e)){if(!n){this.expect(g.comma);if(t&&this.afterTrailingComma(e)){break}}else{n=false}var a=void 0;if(i&&this.type===g.comma){a=null}else if(this.type===g.ellipsis){a=this.parseSpread(s);if(s&&this.type===g.comma&&s.trailingComma<0){s.trailingComma=this.start}}else{a=this.parseMaybeAssign(false,s)}r.push(a)}return r};ue.checkUnreserved=function(e){var t=e.start;var i=e.end;var s=e.name;if(this.inGenerator&&s==="yield"){this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator")}if(this.inAsync&&s==="await"){this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function")}if(!(this.currentThisScope().flags&U)&&s==="arguments"){this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer")}if(this.inClassStaticBlock&&(s==="arguments"||s==="await")){this.raise(t,"Cannot use "+s+" in class static initialization block")}if(this.keywords.test(s)){this.raise(t,"Unexpected keyword '"+s+"'")}if(this.options.ecmaVersion<6&&this.input.slice(t,i).indexOf("\\")!==-1){return}var r=this.strict?this.reservedWordsStrict:this.reservedWords;if(r.test(s)){if(!this.inAsync&&s==="await"){this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function")}this.raiseRecoverable(t,"The keyword '"+s+"' is reserved")}};ue.parseIdent=function(e){var t=this.parseIdentNode();this.next(!!e);this.finishNode(t,"Identifier");if(!e){this.checkUnreserved(t);if(t.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=t.start}}return t};ue.parseIdentNode=function(){var e=this.startNode();if(this.type===g.name){e.name=this.value}else if(this.type.keyword){e.name=this.type.keyword;if((e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)){this.context.pop()}this.type=g.name}else{this.unexpected()}return e};ue.parsePrivateIdent=function(){var e=this.startNode();if(this.type===g.privateId){e.name=this.value}else{this.unexpected()}this.next();this.finishNode(e,"PrivateIdentifier");if(this.options.checkPrivateFields){if(this.privateNameStack.length===0){this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class")}else{this.privateNameStack[this.privateNameStack.length-1].used.push(e)}}return e};ue.parseYield=function(e){if(!this.yieldPos){this.yieldPos=this.start}var t=this.startNode();this.next();if(this.type===g.semi||this.canInsertSemicolon()||this.type!==g.star&&!this.type.startsExpr){t.delegate=false;t.argument=null}else{t.delegate=this.eat(g.star);t.argument=this.parseMaybeAssign(e)}return this.finishNode(t,"YieldExpression")};ue.parseAwait=function(e){if(!this.awaitPos){this.awaitPos=this.start}var t=this.startNode();this.next();t.argument=this.parseMaybeUnary(null,true,false,e);return this.finishNode(t,"AwaitExpression")};var de=J.prototype;de.raise=function(e,t){var i=getLineInfo(this.input,e);t+=" ("+i.line+":"+i.column+")";if(this.sourceFile){t+=" in "+this.sourceFile}var s=new SyntaxError(t);s.pos=e;s.loc=i;s.raisedAt=this.pos;throw s};de.raiseRecoverable=de.raise;de.curPosition=function(){if(this.options.locations){return new P(this.curLine,this.pos-this.lineStart)}};var me=J.prototype;var ge=function Scope(e){this.flags=e;this.var=[];this.lexical=[];this.functions=[]};me.enterScope=function(e){this.scopeStack.push(new ge(e))};me.exitScope=function(){this.scopeStack.pop()};me.treatFunctionsAsVarInScope=function(e){return e.flags&L||!this.inModule&&e.flags&T};me.declareName=function(e,t,i){var s=false;if(t===G){var r=this.currentScope();s=r.lexical.indexOf(e)>-1||r.functions.indexOf(e)>-1||r.var.indexOf(e)>-1;r.lexical.push(e);if(this.inModule&&r.flags&T){delete this.undefinedExports[e]}}else if(t===$){var n=this.currentScope();n.lexical.push(e)}else if(t===H){var a=this.currentScope();if(this.treatFunctionsAsVar){s=a.lexical.indexOf(e)>-1}else{s=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 l=this.scopeStack[o];if(l.lexical.indexOf(e)>-1&&!(l.flags&M&&l.lexical[0]===e)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(e)>-1){s=true;break}l.var.push(e);if(this.inModule&&l.flags&T){delete this.undefinedExports[e]}if(l.flags&U){break}}}if(s){this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")}};me.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}};me.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};me.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(U|F|j)){return t}}};me.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(U|F|j)&&!(t.flags&V)){return t}}};var xe=function Node(e,t,i){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new I(e,i)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var ve=J.prototype;ve.startNode=function(){return new xe(this,this.start,this.startLoc)};ve.startNodeAt=function(e,t){return new xe(this,e,t)};function finishNodeAt(e,t,i,s){e.type=t;e.end=i;if(this.options.locations){e.loc.end=s}if(this.options.ranges){e.range[1]=i}return e}ve.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};ve.finishNodeAt=function(e,t,i,s){return finishNodeAt.call(this,e,t,i,s)};ve.copyNode=function(e){var t=new xe(this,e.start,this.startLoc);for(var i in e){t[i]=e[i]}return t};var ye="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz";var _e="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 be=_e+" Extended_Pictographic";var Se=be;var ke=Se+" EBase EComp EMod EPres ExtPict";var we=ke;var Ee=we;var Ce={9:_e,10:be,11:Se,12:ke,13:we,14:Ee};var Ae="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji";var Pe={9:"",10:"",11:"",12:"",13:"",14:Ae};var Ie="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 Ne="Adlam Adlm 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 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 Oe=Ne+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Te=Oe+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Le=Te+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var Re=Le+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";var De=Re+" "+ye;var Ve={9:Ne,10:Oe,11:Te,12:Le,13:Re,14:De};var Me={};function buildUnicodeData(e){var t=Me[e]={binary:wordsRegexp(Ce[e]+" "+Ie),binaryOfStrings:wordsRegexp(Pe[e]),nonBinary:{General_Category:wordsRegexp(Ie),Script:wordsRegexp(Ve[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}for(var Be=0,ze=[9,10,11,12,13,14];Be<ze.length;Be+=1){var je=ze[Be];buildUnicodeData(je)}var Fe=J.prototype;var Ue=function BranchID(e,t){this.parent=e;this.base=t||this};Ue.prototype.separatedFrom=function separatedFrom(e){for(var t=this;t;t=t.parent){for(var i=e;i;i=i.parent){if(t.base===i.base&&t!==i){return true}}}return false};Ue.prototype.sibling=function sibling(){return new Ue(this.parent,this.base)};var We=function RegExpValidationState(e){this.parser=e;this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"")+(e.options.ecmaVersion>=15?"v":"");this.unicodeProperties=Me[e.options.ecmaVersion>=14?14:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchV=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=Object.create(null);this.backReferenceNames=[];this.branchID=null};We.prototype.reset=function reset(e,t,i){var s=i.indexOf("v")!==-1;var r=i.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=i;if(s&&this.parser.options.ecmaVersion>=15){this.switchU=true;this.switchV=true;this.switchN=true}else{this.switchU=r&&this.parser.options.ecmaVersion>=6;this.switchV=false;this.switchN=r&&this.parser.options.ecmaVersion>=9}};We.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};We.prototype.at=function at(e,t){if(t===void 0)t=false;var i=this.source;var s=i.length;if(e>=s){return-1}var r=i.charCodeAt(e);if(!(t||this.switchU)||r<=55295||r>=57344||e+1>=s){return r}var n=i.charCodeAt(e+1);return n>=56320&&n<=57343?(r<<10)+n-56613888:r};We.prototype.nextIndex=function nextIndex(e,t){if(t===void 0)t=false;var i=this.source;var s=i.length;if(e>=s){return s}var r=i.charCodeAt(e),n;if(!(t||this.switchU)||r<=55295||r>=57344||e+1>=s||(n=i.charCodeAt(e+1))<56320||n>57343){return e+1}return e+2};We.prototype.current=function current(e){if(e===void 0)e=false;return this.at(this.pos,e)};We.prototype.lookahead=function lookahead(e){if(e===void 0)e=false;return this.at(this.nextIndex(this.pos,e),e)};We.prototype.advance=function advance(e){if(e===void 0)e=false;this.pos=this.nextIndex(this.pos,e)};We.prototype.eat=function eat(e,t){if(t===void 0)t=false;if(this.current(t)===e){this.advance(t);return true}return false};We.prototype.eatChars=function eatChars(e,t){if(t===void 0)t=false;var i=this.pos;for(var s=0,r=e;s<r.length;s+=1){var n=r[s];var a=this.at(i,t);if(a===-1||a!==n){return false}i=this.nextIndex(i,t)}this.pos=i;return true};Fe.validateRegExpFlags=function(e){var t=e.validFlags;var i=e.flags;var s=false;var r=false;for(var n=0;n<i.length;n++){var a=i.charAt(n);if(t.indexOf(a)===-1){this.raise(e.start,"Invalid regular expression flag")}if(i.indexOf(a,n+1)>-1){this.raise(e.start,"Duplicate regular expression flag")}if(a==="u"){s=true}if(a==="v"){r=true}}if(this.options.ecmaVersion>=15&&s&&r){this.raise(e.start,"Invalid regular expression flag")}};function hasProp(e){for(var t in e){return true}return false}Fe.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&hasProp(e.groupNames)){e.switchN=true;this.regexp_pattern(e)}};Fe.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames=Object.create(null);e.backReferenceNames.length=0;e.branchID=null;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 s=i[t];if(!e.groupNames[s]){e.raise("Invalid named capture referenced")}}};Fe.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;if(t){e.branchID=new Ue(e.branchID,null)}this.regexp_alternative(e);while(e.eat(124)){if(t){e.branchID=e.branchID.sibling()}this.regexp_alternative(e)}if(t){e.branchID=e.branchID.parent}if(this.regexp_eatQuantifier(e,true)){e.raise("Nothing to repeat")}if(e.eat(123)){e.raise("Lone quantifier brackets")}};Fe.regexp_alternative=function(e){while(e.pos<e.source.length&&this.regexp_eatTerm(e)){}};Fe.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};Fe.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};Fe.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};Fe.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};Fe.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var s=0,r=-1;if(this.regexp_eatDecimalDigits(e)){s=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){r=e.lastIntValue}if(e.eat(125)){if(r!==-1&&r<s&&!t){e.raise("numbers out of order in {} quantifier")}return true}}if(e.switchU&&!t){e.raise("Incomplete quantifier")}e.pos=i}return false};Fe.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)};Fe.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e)){return true}e.pos=t}return false};Fe.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var i=this.regexp_eatModifiers(e);var s=e.eat(45);if(i||s){for(var r=0;r<i.length;r++){var n=i.charAt(r);if(i.indexOf(n,r+1)>-1){e.raise("Duplicate regular expression modifiers")}}if(s){var a=this.regexp_eatModifiers(e);if(!i&&!a&&e.current()===58){e.raise("Invalid regular expression modifiers")}for(var o=0;o<a.length;o++){var l=a.charAt(o);if(a.indexOf(l,o+1)>-1||i.indexOf(l)>-1){e.raise("Duplicate regular expression modifiers")}}}}}if(e.eat(58)){this.regexp_disjunction(e);if(e.eat(41)){return true}e.raise("Unterminated group")}}e.pos=t}return false};Fe.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};Fe.regexp_eatModifiers=function(e){var t="";var i=0;while((i=e.current())!==-1&&isRegularExpressionModifier(i)){t+=codePointToString(i);e.advance()}return t};function isRegularExpressionModifier(e){return e===105||e===109||e===115}Fe.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)};Fe.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};Fe.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}Fe.regexp_eatPatternCharacters=function(e){var t=e.pos;var i=0;while((i=e.current())!==-1&&!isSyntaxCharacter(i)){e.advance()}return e.pos!==t};Fe.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};Fe.regexp_groupSpecifier=function(e){if(e.eat(63)){if(!this.regexp_eatGroupName(e)){e.raise("Invalid group")}var t=this.options.ecmaVersion>=16;var i=e.groupNames[e.lastStringValue];if(i){if(t){for(var s=0,r=i;s<r.length;s+=1){var n=r[s];if(!n.separatedFrom(e.branchID)){e.raise("Duplicate capture group name")}}}else{e.raise("Duplicate capture group name")}}if(t){(i||(e.groupNames[e.lastStringValue]=[])).push(e.branchID)}else{e.groupNames[e.lastStringValue]=true}}};Fe.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};Fe.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};Fe.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var s=e.current(i);e.advance(i);if(s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){s=e.lastIntValue}if(isRegExpIdentifierStart(s)){e.lastIntValue=s;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}Fe.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var s=e.current(i);e.advance(i);if(s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){s=e.lastIntValue}if(isRegExpIdentifierPart(s)){e.lastIntValue=s;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}Fe.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};Fe.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};Fe.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};Fe.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)};Fe.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};Fe.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};Fe.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};Fe.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}Fe.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){if(t===void 0)t=false;var i=e.pos;var s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(s&&r>=55296&&r<=56319){var n=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=n;e.lastIntValue=r}return true}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(s){e.raise("Invalid unicode escape")}e.pos=i}return false};function isValidUnicode(e){return e>=0&&e<=1114111}Fe.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};Fe.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};var qe=0;var Ge=1;var He=2;Fe.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return Ge}var i=false;if(e.switchU&&this.options.ecmaVersion>=9&&((i=t===80)||t===112)){e.lastIntValue=-1;e.advance();var s;if(e.eat(123)&&(s=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125)){if(i&&s===He){e.raise("Invalid property name")}return s}e.raise("Invalid property name")}return qe};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}Fe.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 s=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,i,s);return Ge}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,r)}return qe};Fe.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){if(!w(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(i)){e.raise("Invalid property value")}};Fe.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t)){return Ge}if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t)){return He}e.raise("Invalid property name")};Fe.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}Fe.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)}Fe.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};Fe.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94);var i=this.regexp_classContents(e);if(!e.eat(93)){e.raise("Unterminated character class")}if(t&&i===He){e.raise("Negated character class may contain strings")}return true}return false};Fe.regexp_classContents=function(e){if(e.current()===93){return Ge}if(e.switchV){return this.regexp_classSetExpression(e)}this.regexp_nonEmptyClassRanges(e);return Ge};Fe.regexp_nonEmptyClassRanges=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")}}}};Fe.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 s=e.current();if(s!==93){e.lastIntValue=s;e.advance();return true}return false};Fe.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)};Fe.regexp_classSetExpression=function(e){var t=Ge,i;if(this.regexp_eatClassSetRange(e));else if(i=this.regexp_eatClassSetOperand(e)){if(i===He){t=He}var s=e.pos;while(e.eatChars([38,38])){if(e.current()!==38&&(i=this.regexp_eatClassSetOperand(e))){if(i!==He){t=Ge}continue}e.raise("Invalid character in character class")}if(s!==e.pos){return t}while(e.eatChars([45,45])){if(this.regexp_eatClassSetOperand(e)){continue}e.raise("Invalid character in character class")}if(s!==e.pos){return t}}else{e.raise("Invalid character in character class")}for(;;){if(this.regexp_eatClassSetRange(e)){continue}i=this.regexp_eatClassSetOperand(e);if(!i){return t}if(i===He){t=He}}};Fe.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var s=e.lastIntValue;if(i!==-1&&s!==-1&&i>s){e.raise("Range out of order in character class")}return true}e.pos=t}return false};Fe.regexp_eatClassSetOperand=function(e){if(this.regexp_eatClassSetCharacter(e)){return Ge}return this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};Fe.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var i=e.eat(94);var s=this.regexp_classContents(e);if(e.eat(93)){if(i&&s===He){e.raise("Negated character class may contain strings")}return s}e.pos=t}if(e.eat(92)){var r=this.regexp_eatCharacterClassEscape(e);if(r){return r}e.pos=t}return null};Fe.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var i=this.regexp_classStringDisjunctionContents(e);if(e.eat(125)){return i}}else{e.raise("Invalid escape")}e.pos=t}return null};Fe.regexp_classStringDisjunctionContents=function(e){var t=this.regexp_classString(e);while(e.eat(124)){if(this.regexp_classString(e)===He){t=He}}return t};Fe.regexp_classString=function(e){var t=0;while(this.regexp_eatClassSetCharacter(e)){t++}return t===1?Ge:He};Fe.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)){return true}if(e.eat(98)){e.lastIntValue=8;return true}e.pos=t;return false}var i=e.current();if(i<0||i===e.lookahead()&&isClassSetReservedDoublePunctuatorCharacter(i)){return false}if(isClassSetSyntaxCharacter(i)){return false}e.advance();e.lastIntValue=i;return true};function isClassSetReservedDoublePunctuatorCharacter(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function isClassSetSyntaxCharacter(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}Fe.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();if(isClassSetReservedPunctuator(t)){e.lastIntValue=t;e.advance();return true}return false};function isClassSetReservedPunctuator(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}Fe.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};Fe.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};Fe.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}Fe.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}Fe.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};Fe.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}Fe.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var s=0;s<t;++s){var r=e.current();if(!isHexDigit(r)){e.pos=i;return false}e.lastIntValue=16*e.lastIntValue+hexToInt(r);e.advance()}return true};var $e=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 I(e,e.startLoc,e.endLoc)}if(e.options.ranges){this.range=[e.start,e.end]}};var Ke=J.prototype;Ke.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 $e(this))}this.lastTokEnd=this.end;this.lastTokStart=this.start;this.lastTokEndLoc=this.endLoc;this.lastTokStartLoc=this.startLoc;this.nextToken()};Ke.getToken=function(){this.next();return new $e(this)};if(typeof Symbol!=="undefined"){Ke[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===g.eof,value:t}}}}}Ke.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(g.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Ke.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};Ke.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320){return e}var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};Ke.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){for(var s=void 0,r=t;(s=nextLineBreak(this.input,r,this.pos))>-1;){++this.curLine;r=this.lineStart=s}}if(this.options.onComment){this.options.onComment(true,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())}};Ke.skipLineComment=function(e){var t=this.pos;var i=this.options.onComment&&this.curPosition();var s=this.input.charCodeAt(this.pos+=e);while(this.pos<this.input.length&&!isNewLine(s)){s=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())}};Ke.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&&y.test(String.fromCharCode(e))){++this.pos}else{break e}}}};Ke.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)};Ke.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(g.ellipsis)}else{++this.pos;return this.finishToken(g.dot)}};Ke.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(g.assign,2)}return this.finishOp(g.slash,1)};Ke.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;var s=e===42?g.star:g.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++i;s=g.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(g.assign,i+1)}return this.finishOp(s,i)};Ke.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(g.assign,3)}}return this.finishOp(e===124?g.logicalOR:g.logicalAND,2)}if(t===61){return this.finishOp(g.assign,2)}return this.finishOp(e===124?g.bitwiseOR:g.bitwiseAND,1)};Ke.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(g.assign,2)}return this.finishOp(g.bitwiseXOR,1)};Ke.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||x.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(g.incDec,2)}if(t===61){return this.finishOp(g.assign,2)}return this.finishOp(g.plusMin,1)};Ke.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(g.assign,i+1)}return this.finishOp(g.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(g.relational,i)};Ke.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(g.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(g.arrow)}return this.finishOp(e===61?g.eq:g.prefix,1)};Ke.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(g.questionDot,2)}}if(t===63){if(e>=12){var s=this.input.charCodeAt(this.pos+2);if(s===61){return this.finishOp(g.assign,3)}}return this.finishOp(g.coalesce,2)}}return this.finishOp(g.question,1)};Ke.readToken_numberSign=function(){var e=this.options.ecmaVersion;var t=35;if(e>=13){++this.pos;t=this.fullCharCodeAtPos();if(isIdentifierStart(t,true)||t===92){return this.finishToken(g.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString(t)+"'")};Ke.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(g.parenL);case 41:++this.pos;return this.finishToken(g.parenR);case 59:++this.pos;return this.finishToken(g.semi);case 44:++this.pos;return this.finishToken(g.comma);case 91:++this.pos;return this.finishToken(g.bracketL);case 93:++this.pos;return this.finishToken(g.bracketR);case 123:++this.pos;return this.finishToken(g.braceL);case 125:++this.pos;return this.finishToken(g.braceR);case 58:++this.pos;return this.finishToken(g.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(g.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(g.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString(e)+"'")};Ke.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,i)};Ke.readRegexp=function(){var e,t,i=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(i,"Unterminated regular expression")}var s=this.input.charAt(this.pos);if(x.test(s)){this.raise(i,"Unterminated regular expression")}if(!e){if(s==="["){t=true}else if(s==="]"&&t){t=false}else if(s==="/"&&!t){break}e=s==="\\"}else{e=false}++this.pos}var r=this.input.slice(i,this.pos);++this.pos;var n=this.pos;var a=this.readWord1();if(this.containsEsc){this.unexpected(n)}var o=this.regexpState||(this.regexpState=new We(this));o.reset(i,r,a);this.validateRegExpFlags(o);this.validateRegExpPattern(o);var l=null;try{l=new RegExp(r,a)}catch(e){}return this.finishToken(g.regexp,{pattern:r,flags:a,value:l})};Ke.readInt=function(e,t,i){var s=this.options.ecmaVersion>=12&&t===undefined;var r=i&&this.input.charCodeAt(this.pos)===48;var n=this.pos,a=0,o=0;for(var l=0,h=t==null?Infinity:t;l<h;++l,++this.pos){var p=this.input.charCodeAt(this.pos),u=void 0;if(s&&p===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(l===0){this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits")}o=p;continue}if(p>=97){u=p-97+10}else if(p>=65){u=p-65+10}else if(p>=48&&p<=57){u=p-48}else{u=Infinity}if(u>=e){break}o=p;a=a*e+u}if(s&&o===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===n||t!=null&&this.pos-n!==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,""))}Ke.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(g.num,i)};Ke.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 s=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&s===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(g.num,r)}if(i&&/[89]/.test(this.input.slice(t,this.pos))){i=false}if(s===46&&!i){++this.pos;this.readInt(10);s=this.input.charCodeAt(this.pos)}if((s===69||s===101)&&!i){s=this.input.charCodeAt(++this.pos);if(s===43||s===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 n=stringToNumber(this.input.slice(t,this.pos),i);return this.finishToken(g.num,n)};Ke.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};Ke.readString=function(e){var t="",i=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var s=this.input.charCodeAt(this.pos);if(s===e){break}if(s===92){t+=this.input.slice(i,this.pos);t+=this.readEscapedChar(false);i=this.pos}else if(s===8232||s===8233){if(this.options.ecmaVersion<10){this.raise(this.start,"Unterminated string constant")}++this.pos;if(this.options.locations){this.curLine++;this.lineStart=this.pos}}else{if(isNewLine(s)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(i,this.pos++);return this.finishToken(g.string,t)};var Je={};Ke.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Je){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};Ke.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Je}else{this.raise(e,t)}};Ke.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===g.template||this.type===g.invalidTemplate)){if(i===36){this.pos+=2;return this.finishToken(g.dollarBraceL)}else{++this.pos;return this.finishToken(g.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(g.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}}};Ke.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(g.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":if(this.input[this.pos+1]==="\n"){++this.pos}case"\n":case"\u2028":case"\u2029":++this.curLine;this.lineStart=this.pos+1;break}}this.raise(this.start,"Unterminated template")};Ke.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(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")}default:if(t>=48&&t<=55){var s=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var r=parseInt(s,8);if(r>255){s=s.slice(0,-1);r=parseInt(s,8)}this.pos+=s.length-1;t=this.input.charCodeAt(this.pos);if((s!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-s.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(r)}if(isNewLine(t)){if(this.options.locations){this.lineStart=this.pos;++this.curLine}return""}return String.fromCharCode(t)}};Ke.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};Ke.readWord1=function(){this.containsEsc=false;var e="",t=true,i=this.pos;var s=this.options.ecmaVersion>=6;while(this.pos<this.input.length){var r=this.fullCharCodeAtPos();if(isIdentifierChar(r,s)){this.pos+=r<=65535?1:2}else if(r===92){this.containsEsc=true;e+=this.input.slice(i,this.pos);var n=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,s)){this.invalidStringToken(n,"Invalid Unicode escape")}e+=codePointToString(a);i=this.pos}else{break}t=false}return e+this.input.slice(i,this.pos)};Ke.readWord=function(){var e=this.readWord1();var t=g.name;if(this.keywords.test(e)){t=m[e]}return this.finishToken(t,e)};var Ye="8.15.0";J.acorn={Parser:J,version:Ye,defaultOptions:N,Position:P,SourceLocation:I,getLineInfo:getLineInfo,Node:xe,TokenType:u,tokTypes:g,keywordTypes:m,TokContext:le,tokContexts:ce,isIdentifierChar:isIdentifierChar,isIdentifierStart:isIdentifierStart,Token:$e,isNewLine:isNewLine,lineBreak:x,lineBreakG:v,nonASCIIwhitespace:y};function parse(e,t){return J.parse(e,t)}function parseExpressionAt(e,t,i){return J.parseExpressionAt(e,t,i)}function tokenizer(e,t){return J.tokenizer(e,t)}e.Node=xe;e.Parser=J;e.Position=P;e.SourceLocation=I;e.TokContext=le;e.Token=$e;e.TokenType=u;e.defaultOptions=N;e.getLineInfo=getLineInfo;e.isIdentifierChar=isIdentifierChar;e.isIdentifierStart=isIdentifierStart;e.isNewLine=isNewLine;e.keywordTypes=m;e.lineBreak=x;e.lineBreakG=v;e.nonASCIIwhitespace=y;e.parse=parse;e.parseExpressionAt=parseExpressionAt;e.tokContexts=ce;e.tokTypes=g;e.tokenizer=tokenizer;e.version=Ye}))},9166:(e,t,i)=>{var s=i(2203);var r=["write","end","destroy"];var n=["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 s;var l=false;forEach(r,proxyWriter);forEach(n,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 s=t[e];if(s){return s.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(l){return}l=true;var e=o.call(arguments);e.unshift("end");i.emit.apply(i,e)}function reemit(e){i.emit("error",e)}}},6517:(e,t,i)=>{"use strict";const s=i(9896);const r=i(2203);const n=i(3106);const{promisify:a}=i(9023);const o=i(9166);const getOptions=e=>({level:9,...e});const l=a(n.gzip);e.exports=async(e,t)=>{if(!e){return 0}const i=await l(e,getOptions(t));return i.length};e.exports.sync=(e,t)=>n.gzipSync(e,getOptions(t)).length;e.exports.stream=e=>{const t=new r.PassThrough;const i=new r.PassThrough;const s=o(t,i);let a=0;const l=n.createGzip(getOptions(e)).on("data",(e=>{a+=e.length})).on("error",(()=>{s.gzipSize=0})).on("end",(()=>{s.gzipSize=a;s.emit("gzip-size",a);i.end()}));t.pipe(l);t.pipe(i,{end:false});return s};e.exports.file=(t,i)=>new Promise(((r,n)=>{const a=s.createReadStream(t);a.on("error",n);const o=a.pipe(e.exports.stream(i));o.on("error",n);o.on("gzip-size",r)}));e.exports.fileSync=(t,i)=>e.exports.sync(s.readFileSync(t),i)},7938:(e,t)=>{const i={"3g2":"video/3gpp2","3gp":"video/3gpp","3gpp":"video/3gpp","3mf":"model/3mf",aac:"audio/aac",ac:"application/pkix-attr-cert",adp:"audio/adpcm",adts:"audio/aac",ai:"application/postscript",aml:"application/automationml-aml+xml",amlx:"application/automationml-amlx+zip",amr:"audio/amr",apng:"image/apng",appcache:"text/cache-manifest",appinstaller:"application/appinstaller",appx:"application/appx",appxbundle:"application/appxbundle",asc:"application/pgp-keys",atom:"application/atom+xml",atomcat:"application/atomcat+xml",atomdeleted:"application/atomdeleted+xml",atomsvc:"application/atomsvc+xml",au:"audio/basic",avci:"image/avci",avcs:"image/avcs",avif:"image/avif",aw:"application/applixware",bdoc:"application/bdoc",bin:"application/octet-stream",bmp:"image/bmp",bpk:"application/octet-stream",btf:"image/prs.btif",btif:"image/prs.btif",buffer:"application/octet-stream",ccxml:"application/ccxml+xml",cdfx:"application/cdfx+xml",cdmia:"application/cdmi-capability",cdmic:"application/cdmi-container",cdmid:"application/cdmi-domain",cdmio:"application/cdmi-object",cdmiq:"application/cdmi-queue",cer:"application/pkix-cert",cgm:"image/cgm",cjs:"application/node",class:"application/java-vm",coffee:"text/coffeescript",conf:"text/plain",cpl:"application/cpl+xml",cpt:"application/mac-compactpro",crl:"application/pkix-crl",css:"text/css",csv:"text/csv",cu:"application/cu-seeme",cwl:"application/cwl",cww:"application/prs.cww",davmount:"application/davmount+xml",dbk:"application/docbook+xml",deb:"application/octet-stream",def:"text/plain",deploy:"application/octet-stream",dib:"image/bmp","disposition-notification":"message/disposition-notification",dist:"application/octet-stream",distz:"application/octet-stream",dll:"application/octet-stream",dmg:"application/octet-stream",dms:"application/octet-stream",doc:"application/msword",dot:"application/msword",dpx:"image/dpx",drle:"image/dicom-rle",dsc:"text/prs.lines.tag",dssc:"application/dssc+der",dtd:"application/xml-dtd",dump:"application/octet-stream",dwd:"application/atsc-dwd+xml",ear:"application/java-archive",ecma:"application/ecmascript",elc:"application/octet-stream",emf:"image/emf",eml:"message/rfc822",emma:"application/emma+xml",emotionml:"application/emotionml+xml",eps:"application/postscript",epub:"application/epub+zip",exe:"application/octet-stream",exi:"application/exi",exp:"application/express",exr:"image/aces",ez:"application/andrew-inset",fdf:"application/fdf",fdt:"application/fdt+xml",fits:"image/fits",g3:"image/g3fax",gbr:"application/rpki-ghostbusters",geojson:"application/geo+json",gif:"image/gif",glb:"model/gltf-binary",gltf:"model/gltf+json",gml:"application/gml+xml",gpx:"application/gpx+xml",gram:"application/srgs",grxml:"application/srgs+xml",gxf:"application/gxf",gz:"application/gzip",h261:"video/h261",h263:"video/h263",h264:"video/h264",heic:"image/heic",heics:"image/heic-sequence",heif:"image/heif",heifs:"image/heif-sequence",hej2:"image/hej2k",held:"application/atsc-held+xml",hjson:"application/hjson",hlp:"application/winhlp",hqx:"application/mac-binhex40",hsj2:"image/hsj2",htm:"text/html",html:"text/html",ics:"text/calendar",ief:"image/ief",ifb:"text/calendar",iges:"model/iges",igs:"model/iges",img:"application/octet-stream",in:"text/plain",ini:"text/plain",ink:"application/inkml+xml",inkml:"application/inkml+xml",ipfix:"application/ipfix",iso:"application/octet-stream",its:"application/its+xml",jade:"text/jade",jar:"application/java-archive",jhc:"image/jphc",jls:"image/jls",jp2:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jpx",jpg:"image/jpeg",jpg2:"image/jp2",jpgm:"image/jpm",jpgv:"video/jpeg",jph:"image/jph",jpm:"image/jpm",jpx:"image/jpx",js:"text/javascript",json:"application/json",json5:"application/json5",jsonld:"application/ld+json",jsonml:"application/jsonml+json",jsx:"text/jsx",jt:"model/jt",jxl:"image/jxl",jxr:"image/jxr",jxra:"image/jxra",jxrs:"image/jxrs",jxs:"image/jxs",jxsc:"image/jxsc",jxsi:"image/jxsi",jxss:"image/jxss",kar:"audio/midi",ktx:"image/ktx",ktx2:"image/ktx2",less:"text/less",lgr:"application/lgr+xml",list:"text/plain",litcoffee:"text/coffeescript",log:"text/plain",lostxml:"application/lost+xml",lrf:"application/octet-stream",m1v:"video/mpeg",m21:"application/mp21",m2a:"audio/mpeg",m2t:"video/mp2t",m2ts:"video/mp2t",m2v:"video/mpeg",m3a:"audio/mpeg",m4a:"audio/mp4",m4p:"application/mp4",m4s:"video/iso.segment",ma:"application/mathematica",mads:"application/mads+xml",maei:"application/mmt-aei+xml",man:"text/troff",manifest:"text/cache-manifest",map:"application/json",mar:"application/octet-stream",markdown:"text/markdown",mathml:"application/mathml+xml",mb:"application/mathematica",mbox:"application/mbox",md:"text/markdown",mdx:"text/mdx",me:"text/troff",mesh:"model/mesh",meta4:"application/metalink4+xml",metalink:"application/metalink+xml",mets:"application/mets+xml",mft:"application/rpki-manifest",mid:"audio/midi",midi:"audio/midi",mime:"message/rfc822",mj2:"video/mj2",mjp2:"video/mj2",mjs:"text/javascript",mml:"text/mathml",mods:"application/mods+xml",mov:"video/quicktime",mp2:"audio/mpeg",mp21:"application/mp21",mp2a:"audio/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mp4a:"audio/mp4",mp4s:"application/mp4",mp4v:"video/mp4",mpd:"application/dash+xml",mpe:"video/mpeg",mpeg:"video/mpeg",mpf:"application/media-policy-dataset+xml",mpg:"video/mpeg",mpg4:"video/mp4",mpga:"audio/mpeg",mpp:"application/dash-patch+xml",mrc:"application/marc",mrcx:"application/marcxml+xml",ms:"text/troff",mscml:"application/mediaservercontrol+xml",msh:"model/mesh",msi:"application/octet-stream",msix:"application/msix",msixbundle:"application/msixbundle",msm:"application/octet-stream",msp:"application/octet-stream",mtl:"model/mtl",mts:"video/mp2t",musd:"application/mmt-usd+xml",mxf:"application/mxf",mxmf:"audio/mobile-xmf",mxml:"application/xv+xml",n3:"text/n3",nb:"application/mathematica",nq:"application/n-quads",nt:"application/n-triples",obj:"model/obj",oda:"application/oda",oga:"audio/ogg",ogg:"audio/ogg",ogv:"video/ogg",ogx:"application/ogg",omdoc:"application/omdoc+xml",onepkg:"application/onenote",onetmp:"application/onenote",onetoc:"application/onenote",onetoc2:"application/onenote",opf:"application/oebps-package+xml",opus:"audio/ogg",otf:"font/otf",owl:"application/rdf+xml",oxps:"application/oxps",p10:"application/pkcs10",p7c:"application/pkcs7-mime",p7m:"application/pkcs7-mime",p7s:"application/pkcs7-signature",p8:"application/pkcs8",pdf:"application/pdf",pfr:"application/font-tdpfr",pgp:"application/pgp-encrypted",pkg:"application/octet-stream",pki:"application/pkixcmp",pkipath:"application/pkix-pkipath",pls:"application/pls+xml",png:"image/png",prc:"model/prc",prf:"application/pics-rules",provx:"application/provenance+xml",ps:"application/postscript",pskcxml:"application/pskc+xml",pti:"image/prs.pti",qt:"video/quicktime",raml:"application/raml+yaml",rapd:"application/route-apd+xml",rdf:"application/rdf+xml",relo:"application/p2p-overlay+xml",rif:"application/reginfo+xml",rl:"application/resource-lists+xml",rld:"application/resource-lists-diff+xml",rmi:"audio/midi",rnc:"application/relax-ng-compact-syntax",rng:"application/xml",roa:"application/rpki-roa",roff:"text/troff",rq:"application/sparql-query",rs:"application/rls-services+xml",rsat:"application/atsc-rsat+xml",rsd:"application/rsd+xml",rsheet:"application/urc-ressheet+xml",rss:"application/rss+xml",rtf:"text/rtf",rtx:"text/richtext",rusd:"application/route-usd+xml",s3m:"audio/s3m",sbml:"application/sbml+xml",scq:"application/scvp-cv-request",scs:"application/scvp-cv-response",sdp:"application/sdp",senmlx:"application/senml+xml",sensmlx:"application/sensml+xml",ser:"application/java-serialized-object",setpay:"application/set-payment-initiation",setreg:"application/set-registration-initiation",sgi:"image/sgi",sgm:"text/sgml",sgml:"text/sgml",shex:"text/shex",shf:"application/shf+xml",shtml:"text/html",sieve:"application/sieve",sig:"application/pgp-signature",sil:"audio/silk",silo:"model/mesh",siv:"application/sieve",slim:"text/slim",slm:"text/slim",sls:"application/route-s-tsid+xml",smi:"application/smil+xml",smil:"application/smil+xml",snd:"audio/basic",so:"application/octet-stream",spdx:"text/spdx",spp:"application/scvp-vp-response",spq:"application/scvp-vp-request",spx:"audio/ogg",sql:"application/sql",sru:"application/sru+xml",srx:"application/sparql-results+xml",ssdl:"application/ssdl+xml",ssml:"application/ssml+xml",stk:"application/hyperstudio",stl:"model/stl",stpx:"model/step+xml",stpxz:"model/step-xml+zip",stpz:"model/step+zip",styl:"text/stylus",stylus:"text/stylus",svg:"image/svg+xml",svgz:"image/svg+xml",swidtag:"application/swid+xml",t:"text/troff",t38:"image/t38",td:"application/urc-targetdesc+xml",tei:"application/tei+xml",teicorpus:"application/tei+xml",text:"text/plain",tfi:"application/thraud+xml",tfx:"image/tiff-fx",tif:"image/tiff",tiff:"image/tiff",toml:"application/toml",tr:"text/troff",trig:"application/trig",ts:"video/mp2t",tsd:"application/timestamped-data",tsv:"text/tab-separated-values",ttc:"font/collection",ttf:"font/ttf",ttl:"text/turtle",ttml:"application/ttml+xml",txt:"text/plain",u3d:"model/u3d",u8dsn:"message/global-delivery-status",u8hdr:"message/global-headers",u8mdn:"message/global-disposition-notification",u8msg:"message/global",ubj:"application/ubjson",uri:"text/uri-list",uris:"text/uri-list",urls:"text/uri-list",vcard:"text/vcard",vrml:"model/vrml",vtt:"text/vtt",vxml:"application/voicexml+xml",war:"application/java-archive",wasm:"application/wasm",wav:"audio/wav",weba:"audio/webm",webm:"video/webm",webmanifest:"application/manifest+json",webp:"image/webp",wgsl:"text/wgsl",wgt:"application/widget",wif:"application/watcherinfo+xml",wmf:"image/wmf",woff:"font/woff",woff2:"font/woff2",wrl:"model/vrml",wsdl:"application/wsdl+xml",wspolicy:"application/wspolicy+xml",x3d:"model/x3d+xml",x3db:"model/x3d+fastinfoset",x3dbz:"model/x3d+binary",x3dv:"model/x3d-vrml",x3dvz:"model/x3d+vrml",x3dz:"model/x3d+xml",xaml:"application/xaml+xml",xav:"application/xcap-att+xml",xca:"application/xcap-caps+xml",xcs:"application/calendar+xml",xdf:"application/xcap-diff+xml",xdssc:"application/dssc+xml",xel:"application/xcap-el+xml",xenc:"application/xenc+xml",xer:"application/patch-ops-error+xml",xfdf:"application/xfdf",xht:"application/xhtml+xml",xhtml:"application/xhtml+xml",xhvml:"application/xv+xml",xlf:"application/xliff+xml",xm:"audio/xm",xml:"text/xml",xns:"application/xcap-ns+xml",xop:"application/xop+xml",xpl:"application/xproc+xml",xsd:"application/xml",xsf:"application/prs.xsf+xml",xsl:"application/xml",xslt:"application/xml",xspf:"application/xspf+xml",xvm:"application/xv+xml",xvml:"application/xv+xml",yaml:"text/yaml",yang:"application/yang",yin:"application/yin+xml",yml:"text/yaml",zip:"application/zip"};function lookup(e){let t=(""+e).trim().toLowerCase();let s=t.lastIndexOf(".");return i[!~s?t:t.substring(++s)]}t.mimes=i;t.lookup=lookup},1862:(e,t,i)=>{"use strict";var s=i(5317);var r=i(857);e.exports=function opener(e,t,i){var n=process.platform;if(n==="linux"&&r.release().indexOf("Microsoft")!==-1){n="win32"}var a;switch(n){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(n==="win32"){e=[t.command].concat(e)}else{a=t.command}}if(n==="win32"){e=e.map((function(e){return e.replace(/[&^]/g,"^$&")}));e=["/c","start",'""'].concat(e)}return s.execFile(a,e,t,i)}},6831:e=>{let t=process||{},i=t.argv||[],s=t.env||{};let r=!(!!s.NO_COLOR||i.includes("--no-color"))&&(!!s.FORCE_COLOR||i.includes("--color")||t.platform==="win32"||(t.stdout||{}).isTTY&&s.TERM!=="dumb"||!!s.CI);let formatter=(e,t,i=e)=>s=>{let r=""+s,n=r.indexOf(t,e.length);return~n?e+replaceClose(r,t,i,n)+t:e+r+t};let replaceClose=(e,t,i,s)=>{let r="",n=0;do{r+=e.substring(n,s)+i;n=s+t.length;s=e.indexOf(t,n)}while(~s);return r+e.substring(n)};let createColors=(e=r)=>{let t=e?formatter:()=>String;return{isColorSupported:e,reset:t("[0m","[0m"),bold:t("[1m","[22m","[22m[1m"),dim:t("[2m","[22m","[22m[2m"),italic:t("[3m","[23m"),underline:t("[4m","[24m"),inverse:t("[7m","[27m"),hidden:t("[8m","[28m"),strikethrough:t("[9m","[29m"),black:t("[30m","[39m"),red:t("[31m","[39m"),green:t("[32m","[39m"),yellow:t("[33m","[39m"),blue:t("[34m","[39m"),magenta:t("[35m","[39m"),cyan:t("[36m","[39m"),white:t("[37m","[39m"),gray:t("[90m","[39m"),bgBlack:t("[40m","[49m"),bgRed:t("[41m","[49m"),bgGreen:t("[42m","[49m"),bgYellow:t("[43m","[49m"),bgBlue:t("[44m","[49m"),bgMagenta:t("[45m","[49m"),bgCyan:t("[46m","[49m"),bgWhite:t("[47m","[49m"),blackBright:t("[90m","[39m"),redBright:t("[91m","[39m"),greenBright:t("[92m","[39m"),yellowBright:t("[93m","[39m"),blueBright:t("[94m","[39m"),magentaBright:t("[95m","[39m"),cyanBright:t("[96m","[39m"),whiteBright:t("[97m","[39m"),bgBlackBright:t("[100m","[49m"),bgRedBright:t("[101m","[49m"),bgGreenBright:t("[102m","[49m"),bgYellowBright:t("[103m","[49m"),bgBlueBright:t("[104m","[49m"),bgMagentaBright:t("[105m","[49m"),bgCyanBright:t("[106m","[49m"),bgWhiteBright:t("[107m","[49m")}};e.exports=createColors();e.exports.createColors=createColors},4625:(e,t,i)=>{const s=i(9896);const{join:r,normalize:n,resolve:a}=i(6928);const{totalist:o}=i(4481);const{parse:l}=i(4917);const{lookup:h}=i(7938);const noop=()=>{};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,s,r=e.length-1;if(e.charCodeAt(r)===47){e=e.substring(0,r)}let n=[],a=`${e}/index`;for(;i<t.length;i++){s=t[i]?`.${t[i]}`:"";if(e)n.push(e+s);n.push(a+s)}return n}function viaCache(e,t,i){let s=0,r,n=toAssume(t,i);for(;s<n.length;s++){if(r=e[n[s]])return r}}function viaLocal(e,t,i,a){let o=0,l=toAssume(i,a);let h,p,u,f;for(;o<l.length;o++){h=n(r(e,u=l[o]));if(h.startsWith(e)&&s.existsSync(h)){p=s.statSync(h);if(p.isDirectory())continue;f=toHeaders(u,p,t);f["Cache-Control"]=t?"no-cache":"no-store";return{abs:h,stats:p,headers:f}}}}function is404(e,t){return t.statusCode=404,t.end()}function send(e,t,i,r,n){let a=200,o,l={};n={...n};for(let e in n){o=t.getHeader(e);if(o)n[e]=o}if(o=t.getHeader("content-type")){n["Content-Type"]=o}if(e.headers.range){a=206;let[i,s]=e.headers.range.replace("bytes=","").split("-");let o=l.end=parseInt(s,10)||r.size-1;let h=l.start=parseInt(i,10)||0;if(o>=r.size){o=r.size-1}if(h>=r.size){t.setHeader("Content-Range",`bytes */${r.size}`);t.statusCode=416;return t.end()}n["Content-Range"]=`bytes ${h}-${o}/${r.size}`;n["Content-Length"]=o-h+1;n["Accept-Ranges"]="bytes"}t.writeHead(a,n);s.createReadStream(i,l).pipe(t)}const p={".br":"br",".gz":"gzip"};function toHeaders(e,t,i){let s=p[e.slice(-3)];let r=h(e.slice(0,s&&-3))||"";if(r==="text/html")r+=";charset=utf-8";let n={"Content-Length":t.size,"Content-Type":r,"Last-Modified":t.mtime.toUTCString()};if(s)n["Content-Encoding"]=s;if(i)n["ETag"]=`W/"${t.size}-${t.mtime.getTime()}"`;return n}e.exports=function(e,t={}){e=a(e||".");let i=t.onNoMatch||is404;let s=t.setHeaders||noop;let r=t.extensions||["html","htm"];let n=t.gzip&&r.map((e=>`${e}.gz`)).concat("gz");let h=t.brotli&&r.map((e=>`${e}.br`)).concat("br");const p={};let u="/";let f=!!t.etag;let d=!!t.single;if(typeof t.single==="string"){let e=t.single.lastIndexOf(".");u+=!!~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 g=t.maxAge!=null&&`public,max-age=${t.maxAge}`;if(g&&t.immutable)g+=",immutable";else if(g&&t.maxAge===0)g+=",must-revalidate";if(!t.dev){o(e,((e,i,s)=>{if(/\.well-known[\\+\/]/.test(e)){}else if(!t.dotfiles&&/(^\.|[\\+|\/+]\.)/.test(e))return;let r=toHeaders(e,s,f);if(g)r["Cache-Control"]=g;p["/"+e.normalize().replace(/\\+/g,"/")]={abs:i,stats:s,headers:r}}))}let x=t.dev?viaLocal.bind(0,e,f):viaCache.bind(0,p);return function(e,t,a){let o=[""];let p=l(e).pathname;let g=e.headers["accept-encoding"]||"";if(n&&g.includes("gzip"))o.unshift(...n);if(h&&/(br|brotli)/i.test(g))o.unshift(...h);o.push(...r);if(p.indexOf("%")!==-1){try{p=decodeURI(p)}catch(e){}}let v=x(p,o)||d&&!isMatch(p,m)&&x(u,o);if(!v)return a?a():i(e,t);if(f&&e.headers["if-none-match"]===v.headers["ETag"]){t.writeHead(304);return t.end()}if(n||h){t.setHeader("Vary","Accept-Encoding")}s(t,p,v.stats);send(e,t,v.abs,v.stats,v.headers)}}},4481:(e,t,i)=>{const{join:s,resolve:r}=i(6928);const{readdirSync:n,statSync:a}=i(9896);function totalist(e,t,i=""){e=r(".",e);let o=n(e);let l=0,h,p;for(;l<o.length;l++){h=s(e,o[l]);p=a(h);p.isDirectory()?totalist(h,t,s(i,o[l])):t(s(i,o[l]),h,p)}}t.totalist=totalist},1299:(e,t,i)=>{"use strict";const s=i(9896);const r=i(6928);const{bold:n}=i(6831);const a=i(1042);const o=i(8984);const l=i(6677);const{writeStats:h}=i(4526);class BundleAnalyzerPlugin{constructor(e={}){this.opts={analyzerMode:"server",analyzerHost:"127.0.0.1",reportFilename:null,reportTitle:l.defaultTitle,defaultSizes:"parsed",openAnalyzer:true,generateStatsFile:false,statsFilename:"stats.json",statsOptions:null,excludeAssets:null,logLevel:"info",startAnalyzer:true,analyzerUrl:l.defaultAnalyzerUrl,...e,analyzerPort:"analyzerPort"in e?e.analyzerPort==="auto"?0:e.analyzerPort:8888};this.server=null;this.logger=new a(this.opts.logLevel)}apply(e){this.compiler=e;const done=(e,t)=>{t=t||(()=>{});const i=[];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",done)}else{e.plugin("done",done)}}async generateStatsFile(e){const t=r.resolve(this.compiler.outputPath,this.opts.statsFilename);await s.promises.mkdir(r.dirname(t),{recursive:true});try{await h(e,t);this.logger.info(`${n("Webpack Bundle Analyzer")} saved stats file to ${n(t)}`)}catch(e){this.logger.error(`${n("Webpack Bundle Analyzer")} error saving stats file to ${n(t)}: ${e}`)}}async startAnalyzerServer(e){if(this.server){(await this.server).updateChartData(e)}else{this.server=o.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,analyzerUrl:this.opts.analyzerUrl})}}async generateJSONReport(e){await o.generateJSONReport(e,{reportFilename:r.resolve(this.compiler.outputPath,this.opts.reportFilename||"report.json"),bundleDir:this.getBundleDirFromCompiler(),logger:this.logger,excludeAssets:this.opts.excludeAssets})}async generateStaticReport(e){await o.generateReport(e,{openBrowser:this.opts.openAnalyzer,reportFilename:r.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(){if(typeof this.compiler.outputFileSystem.constructor==="undefined"){return this.compiler.outputPath}switch(this.compiler.outputFileSystem.constructor.name){case"MemoryFileSystem":return null;case"AsyncMFS":return null;default:return this.compiler.outputPath}}}e.exports=BundleAnalyzerPlugin},1042: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,s]of t.entries()){if(e>=i)this.activeLevels.add(s)}}_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},6692:(e,t,i)=>{"use strict";const s=i(9896);const r=i(6928);const n=i(6517);const{parseChunked:a}=i(3320);const o=i(1042);const l=i(6853).A;const{parseBundle:h}=i(5118);const{createAssetsFilter:p}=i(6677);const u=/\?.*$/u;const f=/\.(js|mjs|cjs)$/iu;e.exports={getViewerData:getViewerData,readStatsFromFile:readStatsFromFile};function getViewerData(e,t,i){const{logger:s=new o,excludeAssets:a=null}=i||{};const l=p(a);if((e.assets==null||e.assets.length===0)&&e.children&&e.children.length>0){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(e.children&&e.children.length>0){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}e.name=e.name.replace(u,"");return f.test(e.name)&&e.chunks.length>0&&l(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 n;try{n=h(e)}catch(t){const i=t.code==="ENOENT"?"no such file":t.message;s.warn(`Error parsing bundle asset "${e}": ${i}`);continue}d[i.name]={src:n.src,runtimeSrc:n.runtimeSrc};Object.assign(m,n.modules)}if(Object.keys(d).length===0){d=null;m=null;s.warn("\nNo bundles were parsed. Analyzer will show only original module sizes from stats file.\n")}}const g=e.assets.reduce(((t,i)=>{const s=i.isChild?getChildAssetBundles(e,i.name):e;const r=s?getBundleModules(s):[];const a=t[i.name]={size:i.size};const o=d&&Object.prototype.hasOwnProperty.call(d,i.name)?d[i.name]:null;if(o){a.parsedSize=Buffer.byteLength(o.src);a.gzipSize=n.sync(o.src)}let 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&&o){if(e.length===1){e[0].parsedSrc=o.runtimeSrc}else{l=l.filter((t=>!e.includes(t)));l.unshift({identifier:"./entry modules",name:"./entry modules",modules:e,size:e.reduce(((e,t)=>e+t.size),0),parsedSrc:o.runtimeSrc})}}}a.modules=l;a.tree=createModulesTree(a.modules);return t}),{});const x=getChunkToInitialByEntrypoint(e);return Object.entries(g).map((([e,t])=>{var i;return{label:e,isAsset:true,statSize:t.tree.size||t.size,parsedSize:t.parsedSize,gzipSize:t.gzipSize,groups:Object.values(t.tree.children).map((e=>e.toChartData())),isInitialByEntrypoint:(i=x[e])!==null&&i!==void 0?i:{}}}))}function readStatsFromFile(e){return a(s.createReadStream(e,{encoding:"utf8"}))}function getChildAssetBundles(e,t){return flatten((e.children||[]).find((e=>Object.values(e.assetsByChunkName)))).includes(t)}function getBundleModules(e){var t;const i=new Set;return flatten((((t=e.chunks)===null||t===void 0?void 0:t.map((e=>e.modules)))||[]).concat(e.modules).filter(Boolean)).filter((e=>{if(isRuntimeModule(e)){return false}if(i.has(e.id)){return false}i.add(e.id);return true}))}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 l(".");e.forEach((e=>t.addModule(e)));t.mergeNestedFolders();return t}function getChunkToInitialByEntrypoint(e){if(e==null){return{}}const t={};Object.values(e.entrypoints||{}).forEach((e=>{for(const s of e.assets){var i;t[s.name]=(i=t[s.name])!==null&&i!==void 0?i:{};t[s.name][e.name]=true}}));return t}function flatten(e){if(!e)return[];const t=e.length;if(!t)return[];let i;const s=[];for(let r=0;r<t;r++){i=e[r];if(Array.isArray(i)){s.push(...i)}else{s.push(i)}}return s}},6860:(e,t,i)=>{"use strict";const{start:s}=i(8984);e.exports={start:s,BundleAnalyzerPlugin:i(1299)}},5118:(e,t,i)=>{"use strict";const s=i(9896);const r=i(1501);const n=i(1694);e.exports={parseBundle:parseBundle};function parseBundle(e){const t=s.readFileSync(e,"utf8");const i=r.parse(t,{sourceType:"script",ecmaVersion:2050});const a={locations:null,expressionStatementDepth:0};n.recursive(i,a,{ExpressionStatement(e,t,s){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){s(e.expression,t)}t.expressionStatementDepth--},AssignmentExpression(e,t){if(t.locations)return;const{left:i,right:s}=e;if(i&&i.object&&i.object.name==="exports"&&i.property&&i.property.name==="modules"&&isModulesHash(s)){t.locations=getModulesLocations(s)}},CallExpression(e,t,i){if(t.locations)return;const s=e.arguments;if(e.callee.type==="FunctionExpression"&&!e.callee.id&&s.length===1&&isSimpleModulesList(s[0])){t.locations=getModulesLocations(s[0]);return}if(e.callee.type==="Identifier"&&mayBeAsyncChunkArguments(s)&&isModulesList(s[1])){t.locations=getModulesLocations(s[1]);return}if(isAsyncChunkPushExpression(e)){t.locations=getModulesLocations(s[0].elements[1]);return}if(isAsyncWebWorkerChunkExpression(e)){t.locations=getModulesLocations(s[1]);return}s.forEach((e=>i(e,t)))}});const o={};if(a.locations){Object.entries(a.locations).forEach((([e,i])=>{o[e]=t.slice(i.start,i.end)}))}return{modules:o,src:t,runtimeSrc:getBundleRuntime(t,a.locations)}}function getBundleRuntime(e,t){const i=Object.values(t||{}).sort(((e,t)=>e.start-t.start));let s="";let r=0;for(const{start:t,end:n}of i){s+=e.slice(r,t);r=n}return s+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:s}=e;return i==="CallExpression"&&t.type==="MemberExpression"&&s.length===2&&isChunkIds(s[0])&&isModulesList(s[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 s=t?e.arguments[0].elements:e.elements;return s.reduce(((e,t,s)=>{if(t){e[s+i]=getModuleLocation(t)}return e}),{})}return{}}function getModuleLocation(e){return{start:e.start,end:e.end}}},4526:(e,t,i)=>{"use strict";const{createWriteStream:s}=i(9896);const{Readable:r}=i(2203);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,s]of i){if(s===undefined){continue}yield`${t?"":","}\n${this._indent}${JSON.stringify(e)}: `;yield*this._stringify(s);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(s(t))}))}},7132:(e,t,i)=>{"use strict";const s=i(6928);const r=i(9896);const{escape:n}=i(7135);const a=s.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!-- ${n(e)} --\x3e\n<script>${getAssetContent(e)}<\/script>`}else{return`<script src="${n(e)}"><\/script>`}}function renderViewer({title:e,enableWebSocket:t,chartData:i,entrypoints:s,defaultSizes:r,mode:a}={}){return html`<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8"/>
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
6
|
-
<title>${n(e)}</title>
|
|
7
|
-
<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" />
|
|
8
|
-
|
|
9
|
-
<script>
|
|
10
|
-
window.enableWebSocket = ${escapeJson(t)};
|
|
11
|
-
</script>
|
|
12
|
-
${getScript("viewer.js",a)}
|
|
13
|
-
</head>
|
|
14
|
-
|
|
15
|
-
<body>
|
|
16
|
-
<div id="app"></div>
|
|
17
|
-
<script>
|
|
18
|
-
window.chartData = ${escapeJson(i)};
|
|
19
|
-
window.entrypoints = ${escapeJson(s)};
|
|
20
|
-
window.defaultSizes = ${escapeJson(r)};
|
|
21
|
-
</script>
|
|
22
|
-
</body>
|
|
23
|
-
</html>`}},9344:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(i(9609));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class BaseFolder extends s.default{constructor(e,t){super(e,t);this.children=Object.create(null)}get src(){if(!Object.prototype.hasOwnProperty.call(this,"_src")){this._src=this.walk(((e,t)=>t+=e.src||""),"",false)}return this._src}get size(){if(!Object.prototype.hasOwnProperty.call(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 s=false;Object.values(this.children).forEach((r=>{if(i&&r.walk){t=r.walk(e,t,stop)}else{t=e(r,t,stop)}if(s)return false}));return t;function stop(e){s=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:Object.values(this.children).map((e=>e.toChartData()))}}}t["default"]=BaseFolder},182:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(i(3465));var r=_interopRequireDefault(i(6812));var n=_interopRequireDefault(i(1068));var a=i(1308);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ConcatenatedModule extends s.default{constructor(e,t,i){super(e,t,i);this.name+=" (concatenated)";this.children=Object.create(null);this.fillContentModules()}get parsedSize(){var e;return(e=this.getParsedSize())!==null&&e!==void 0?e:this.getEstimatedSize("parsedSize")}get gzipSize(){var e;return(e=this.getGzipSize())!==null&&e!==void 0?e:this.getEstimatedSize("gzipSize")}getEstimatedSize(e){const t=this.parent[e];if(t!==undefined){return Math.floor(this.size/this.parent.size*t)}}fillContentModules(){this.data.modules.forEach((e=>this.addContentModule(e)))}addContentModule(e){const t=(0,a.getModulePathParts)(e);if(!t){return}const[i,s]=[t.slice(0,-1),t[t.length-1]];let o=this;i.forEach((e=>{let t=o.getChild(e);if(!t){t=o.addChildFolder(new n.default(e,this))}o=t}));const l=e.modules?ConcatenatedModule:r.default;const h=new l(s,e,this);o.addChildModule(h)}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(){Object.values(this.children).forEach((e=>{if(e.mergeNestedFolders){e.mergeNestedFolders()}}))}toChartData(){return{...super.toChartData(),concatenated:true,groups:Object.values(this.children).map((e=>e.toChartData()))}}}t["default"]=ConcatenatedModule},1068:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(i(9344));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ContentFolder extends s.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},6812:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(i(3465));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ContentModule extends s.default{constructor(e,t,i,s){super(e,t,s);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},6853:(e,t,i)=>{"use strict";var s;s={value:true};t.A=void 0;var r=_interopRequireDefault(i(6517));var n=_interopRequireDefault(i(3465));var a=_interopRequireDefault(i(9344));var o=_interopRequireDefault(i(182));var l=i(1308);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class Folder extends a.default{get parsedSize(){return this.src?this.src.length:0}get gzipSize(){if(!Object.prototype.hasOwnProperty.call(this,"_gzipSize")){this._gzipSize=this.src?r.default.sync(this.src):0}return this._gzipSize}addModule(e){const t=(0,l.getModulePathParts)(e);if(!t){return}const[i,s]=[t.slice(0,-1),t[t.length-1]];let r=this;i.forEach((e=>{let t=r.getChild(e);if(!t||!(t instanceof Folder)){t=r.addChildFolder(new Folder(e))}r=t}));const a=e.modules?o.default:n.default;const h=new a(s,e,this);r.addChildModule(h)}toChartData(){return{...super.toChartData(),parsedSize:this.parsedSize,gzipSize:this.gzipSize}}}t.A=Folder},3465:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(i(6517));var r=_interopRequireDefault(i(9609));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class Module extends r.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.getParsedSize()}get gzipSize(){return this.getGzipSize()}getParsedSize(){return this.src?this.src.length:undefined}getGzipSize(){if(!("_gzipSize"in this)){this._gzipSize=this.src?s.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},9609:(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},1308:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getModulePathParts=getModulePathParts;const i=/^multi /u;function getModulePathParts(e){if(i.test(e.identifier)){return[e.identifier]}const t=e.name.split("!");const s=t[t.length-1].split("/").slice(1).map((e=>e==="~"?"node_modules":e));return s.length?s:null}},6677:(e,t,i)=>{"use strict";const{inspect:s,types:r}=i(9023);const n=i(1862);const a=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];t.createAssetsFilter=createAssetsFilter;function createAssetsFilter(e){const t=(Array.isArray(e)?e:[e]).filter(Boolean).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 "${s(e,{depth:0})}" got.`)}return e}));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=a[e.getMonth()];const s=e.getDate();const r=`0${e.getHours()}`.slice(-2);const n=`0${e.getMinutes()}`.slice(-2);const o=`${s} ${i} ${t} at ${r}:${n}`;return`${process.env.npm_package_name||"Webpack Bundle Analyzer"} [${o}]`};t.defaultAnalyzerUrl=function(e){const{listenHost:t,boundAddress:i}=e;return`http://${t}:${i.port}`};t.open=function(e,t){try{n(e)}catch(i){t.debug(`Opener failed to open "${e}":\n${i}`)}}},8984:(e,t,i)=>{"use strict";const s=i(6928);const r=i(9896);const n=i(8611);const a=i(4174);const o=i(4625);const{bold:l}=i(6831);const h=i(1042);const p=i(6692);const{open:u}=i(6677);const{renderViewer:f}=i(7132);const d=s.resolve(__dirname,"..");function resolveTitle(e){if(typeof e==="function"){return e()}else{return e}}e.exports={startServer:startServer,generateReport:generateReport,generateJSONReport:generateJSONReport,getEntrypoints:getEntrypoints,start:startServer};async function startServer(e,t){const{port:s=8888,host:r="127.0.0.1",openBrowser:p=true,bundleDir:d=null,logger:m=new h,defaultSizes:g="parsed",excludeAssets:x=null,reportTitle:v,analyzerUrl:y}=t||{};const _={logger:m,excludeAssets:x};let b=getChartData(_,e,d);const S=getEntrypoints(e);if(!b)return;const k=o(i.ab+"public",{dev:true});const w=n.createServer(((e,t)=>{if(e.method==="GET"&&e.url==="/"){const e=f({mode:"server",title:resolveTitle(v),chartData:b,entrypoints:S,defaultSizes:g,enableWebSocket:true});t.writeHead(200,{"Content-Type":"text/html"});t.end(e)}else{k(e,t)}}));await new Promise((e=>{w.listen(s,r,(()=>{e();const t=y({listenPort:s,listenHost:r,boundAddress:w.address()});m.info(`${l("Webpack Bundle Analyzer")} is started at ${l(t)}\n`+`Use ${l("Ctrl+C")} to close it`);if(p){u(t,m)}}))}));const E=new a.Server({server:w});E.on("connection",(e=>{e.on("error",(e=>{if(e.errno)return;m.info(e.message)}))}));return{ws:E,http:w,updateChartData:updateChartData};function updateChartData(e){const t=getChartData(_,e,d);if(!t)return;b=t;E.clients.forEach((e=>{if(e.readyState===a.OPEN){e.send(JSON.stringify({event:"chartDataUpdated",data:t}))}}))}}async function generateReport(e,t){const{openBrowser:i=true,reportFilename:n,reportTitle:a,bundleDir:o=null,logger:p=new h,defaultSizes:d="parsed",excludeAssets:m=null}=t||{};const g=getChartData({logger:p,excludeAssets:m},e,o);const x=getEntrypoints(e);if(!g)return;const v=f({mode:"static",title:resolveTitle(a),chartData:g,entrypoints:x,defaultSizes:d,enableWebSocket:false});const y=s.resolve(o||process.cwd(),n);r.mkdirSync(s.dirname(y),{recursive:true});r.writeFileSync(y,v);p.info(`${l("Webpack Bundle Analyzer")} saved report to ${l(y)}`);if(i){u(`file://${y}`,p)}}async function generateJSONReport(e,t){const{reportFilename:i,bundleDir:n=null,logger:a=new h,excludeAssets:o=null}=t||{};const p=getChartData({logger:a,excludeAssets:o},e,n);if(!p)return;await r.promises.mkdir(s.dirname(i),{recursive:true});await r.promises.writeFile(i,JSON.stringify(p));a.info(`${l("Webpack Bundle Analyzer")} saved JSON report to ${l(i)}`)}function getChartData(e,...t){let i;const{logger:s}=e;try{i=p.getViewerData(...t,e)}catch(e){s.error(`Could't analyze webpack bundle:\n${e}`);s.debug(e.stack);i=null}if(i&&!Array.isArray(i)){s.error("Could't find any javascript bundles in provided stats file");i=null}return i}function getEntrypoints(e){if(e===null||e===undefined||!e.entrypoints){return[]}return Object.values(e.entrypoints).map((e=>e.name))}},4174:(e,t,i)=>{"use strict";const s=i(7325);s.createWebSocketStream=i(280);s.Server=i(5053);s.Receiver=i(385);s.Sender=i(513);e.exports=s},8679:(e,t,i)=>{"use strict";const{EMPTY_BUFFER:s}=i(2019);function concat(e,t){if(e.length===0)return s;if(e.length===1)return e[0];const i=Buffer.allocUnsafe(t);let r=0;for(let t=0;t<e.length;t++){const s=e[t];i.set(s,r);r+=s.length}if(r<t)return i.slice(0,r);return i}function _mask(e,t,i,s,r){for(let n=0;n<r;n++){i[s+n]=e[n]^t[n&3]}}function _unmask(e,t){const i=e.length;for(let s=0;s<i;s++){e[s]^=t[s&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(6431);const s=t.BufferUtil||t;e.exports={concat:concat,mask(e,t,i,r,n){if(n<48)_mask(e,t,i,r,n);else s.mask(e,t,i,r,n)},toArrayBuffer:toArrayBuffer,toBuffer:toBuffer,unmask(e,t){if(e.length<32)_unmask(e,t);else s.unmask(e,t)}}}catch(t){e.exports={concat:concat,mask:_mask,toArrayBuffer:toArrayBuffer,toBuffer:toBuffer,unmask:_unmask}}},2019: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:()=>{}}},1854: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 s=i&&i.once?"once":"on";if(e==="message"){onMessage._listener=t;this[s](e,onMessage)}else if(e==="close"){onClose._listener=t;this[s](e,onClose)}else if(e==="error"){onError._listener=t;this[s](e,onError)}else if(e==="open"){onOpen._listener=t;this[s](e,onOpen)}else{this[s](e,t)}},removeEventListener(e,t){const i=this.listeners(e);for(let s=0;s<i.length;s++){if(i[s]===t||i[s]._listener===t){this.removeListener(e,i[s])}}}};e.exports=t},2115: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 s=Object.create(null);let r=false;let n=false;let a=false;let o;let l;let h=-1;let p=-1;let u=0;for(;u<e.length;u++){const f=e.charCodeAt(u);if(o===undefined){if(p===-1&&t[f]===1){if(h===-1)h=u}else if(f===32||f===9){if(p===-1&&h!==-1)p=u}else if(f===59||f===44){if(h===-1){throw new SyntaxError(`Unexpected character at index ${u}`)}if(p===-1)p=u;const t=e.slice(h,p);if(f===44){push(i,t,s);s=Object.create(null)}else{o=t}h=p=-1}else{throw new SyntaxError(`Unexpected character at index ${u}`)}}else if(l===undefined){if(p===-1&&t[f]===1){if(h===-1)h=u}else if(f===32||f===9){if(p===-1&&h!==-1)p=u}else if(f===59||f===44){if(h===-1){throw new SyntaxError(`Unexpected character at index ${u}`)}if(p===-1)p=u;push(s,e.slice(h,p),true);if(f===44){push(i,o,s);s=Object.create(null);o=undefined}h=p=-1}else if(f===61&&h!==-1&&p===-1){l=e.slice(h,u);h=p=-1}else{throw new SyntaxError(`Unexpected character at index ${u}`)}}else{if(n){if(t[f]!==1){throw new SyntaxError(`Unexpected character at index ${u}`)}if(h===-1)h=u;else if(!r)r=true;n=false}else if(a){if(t[f]===1){if(h===-1)h=u}else if(f===34&&h!==-1){a=false;p=u}else if(f===92){n=true}else{throw new SyntaxError(`Unexpected character at index ${u}`)}}else if(f===34&&e.charCodeAt(u-1)===61){a=true}else if(p===-1&&t[f]===1){if(h===-1)h=u}else if(h!==-1&&(f===32||f===9)){if(p===-1)p=u}else if(f===59||f===44){if(h===-1){throw new SyntaxError(`Unexpected character at index ${u}`)}if(p===-1)p=u;let t=e.slice(h,p);if(r){t=t.replace(/\\/g,"");r=false}push(s,l,t);if(f===44){push(i,o,s);s=Object.create(null);o=undefined}l=undefined;h=p=-1}else{throw new SyntaxError(`Unexpected character at index ${u}`)}}}if(h===-1||a){throw new SyntaxError("Unexpected end of input")}if(p===-1)p=u;const f=e.slice(h,p);if(o===undefined){push(i,f,s)}else{if(l===undefined){push(s,f,true)}else if(r){push(s,l,f.replace(/\\/g,""))}else{push(s,l,f)}push(i,o,s)}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=>[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}},4186: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},5932:(e,t,i)=>{"use strict";const s=i(3106);const r=i(8679);const n=i(4186);const{kStatusCode:a,NOOP:o}=i(2019);const l=Buffer.from([0,0,255,255]);const h=Symbol("permessage-deflate");const p=Symbol("total-length");const u=Symbol("callback");const f=Symbol("buffers");const d=Symbol("error");let m;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(!m){const e=this._options.concurrencyLimit!==undefined?this._options.concurrencyLimit:10;m=new n(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[u];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){m.add((s=>{this._decompress(e,t,((e,t)=>{s();i(e,t)}))}))}compress(e,t,i){m.add((s=>{this._compress(e,t,((e,t)=>{s();i(e,t)}))}))}_decompress(e,t,i){const n=this._isServer?"client":"server";if(!this._inflate){const e=`${n}_max_window_bits`;const t=typeof this.params[e]!=="number"?s.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=s.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t});this._inflate[h]=this;this._inflate[p]=0;this._inflate[f]=[];this._inflate.on("error",inflateOnError);this._inflate.on("data",inflateOnData)}this._inflate[u]=i;this._inflate.write(e);if(t)this._inflate.write(l);this._inflate.flush((()=>{const e=this._inflate[d];if(e){this._inflate.close();this._inflate=null;i(e);return}const s=r.concat(this._inflate[f],this._inflate[p]);if(this._inflate._readableState.endEmitted){this._inflate.close();this._inflate=null}else{this._inflate[p]=0;this._inflate[f]=[];if(t&&this.params[`${n}_no_context_takeover`]){this._inflate.reset()}}i(null,s)}))}_compress(e,t,i){const n=this._isServer?"server":"client";if(!this._deflate){const e=`${n}_max_window_bits`;const t=typeof this.params[e]!=="number"?s.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=s.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t});this._deflate[p]=0;this._deflate[f]=[];this._deflate.on("error",o);this._deflate.on("data",deflateOnData)}this._deflate[u]=i;this._deflate.write(e);this._deflate.flush(s.Z_SYNC_FLUSH,(()=>{if(!this._deflate){return}let e=r.concat(this._deflate[f],this._deflate[p]);if(t)e=e.slice(0,e.length-4);this._deflate[u]=null;this._deflate[p]=0;this._deflate[f]=[];if(t&&this.params[`${n}_no_context_takeover`]){this._deflate.reset()}i(null,e)}))}}e.exports=PerMessageDeflate;function deflateOnData(e){this[f].push(e);this[p]+=e.length}function inflateOnData(e){this[p]+=e.length;if(this[h]._maxPayload<1||this[p]<=this[h]._maxPayload){this[f].push(e);return}this[d]=new RangeError("Max payload size exceeded");this[d].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH";this[d][a]=1009;this.removeListener("data",inflateOnData);this.reset()}function inflateOnError(e){this[h]._inflate=null;e[a]=1007;this[u](e)}},385:(e,t,i)=>{"use strict";const{Writable:s}=i(2203);const r=i(5932);const{BINARY_TYPES:n,EMPTY_BUFFER:a,kStatusCode:o,kWebSocket:l}=i(2019);const{concat:h,toArrayBuffer:p,unmask:u}=i(8679);const{isValidStatusCode:f,isValidUTF8:d}=i(6251);const m=0;const g=1;const x=2;const v=3;const y=4;const _=5;class Receiver extends s{constructor(e,t,i,s){super();this._binaryType=e||n[0];this[l]=undefined;this._extensions=t||{};this._isServer=!!i;this._maxPayload=s|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=m;this._loop=false}_write(e,t,i){if(this._opcode===8&&this._state==m)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 s=t.length-e;if(e>=i.length){t.set(this._buffers.shift(),s)}else{t.set(new Uint8Array(i.buffer,i.byteOffset,e),s);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 m:t=this.getInfo();break;case g:t=this.getPayloadLength16();break;case x:t=this.getPayloadLength64();break;case v:this.getMask();break;case y: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,"WS_ERR_UNEXPECTED_RSV_2_3")}const t=(e[0]&64)===64;if(t&&!this._extensions[r.extensionName]){this._loop=false;return error(RangeError,"RSV1 must be clear",true,1002,"WS_ERR_UNEXPECTED_RSV_1")}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,"WS_ERR_UNEXPECTED_RSV_1")}if(!this._fragmented){this._loop=false;return error(RangeError,"invalid opcode 0",true,1002,"WS_ERR_INVALID_OPCODE")}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,"WS_ERR_INVALID_OPCODE")}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,"WS_ERR_EXPECTED_FIN")}if(t){this._loop=false;return error(RangeError,"RSV1 must be clear",true,1002,"WS_ERR_UNEXPECTED_RSV_1")}if(this._payloadLength>125){this._loop=false;return error(RangeError,`invalid payload length ${this._payloadLength}`,true,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH")}}else{this._loop=false;return error(RangeError,`invalid opcode ${this._opcode}`,true,1002,"WS_ERR_INVALID_OPCODE")}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,"WS_ERR_EXPECTED_MASK")}}else if(this._masked){this._loop=false;return error(RangeError,"MASK must be clear",true,1002,"WS_ERR_UNEXPECTED_MASK")}if(this._payloadLength===126)this._state=g;else if(this._payloadLength===127)this._state=x;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,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH")}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,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH")}}if(this._masked)this._state=v;else this._state=y}getMask(){if(this._bufferedBytes<4){this._loop=false;return}this._mask=this.consume(4);this._state=y}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)u(t,this._mask)}if(this._opcode>7)return this.controlMessage(t);if(this._compressed){this._state=_;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,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"))}this._fragments.push(i)}const s=this.dataMessage();if(s)return t(s);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=h(t,e)}else if(this._binaryType==="arraybuffer"){i=p(h(t,e))}else{i=t}this.emit("message",i)}else{const i=h(t,e);if(!d(i)){this._loop=false;return error(Error,"invalid UTF-8 sequence",true,1007,"WS_ERR_INVALID_UTF8")}this.emit("message",i.toString())}}this._state=m}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,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH")}else{const t=e.readUInt16BE(0);if(!f(t)){return error(RangeError,`invalid status code ${t}`,true,1002,"WS_ERR_INVALID_CLOSE_CODE")}const i=e.slice(2);if(!d(i)){return error(Error,"invalid UTF-8 sequence",true,1007,"WS_ERR_INVALID_UTF8")}this.emit("conclude",t,i.toString());this.end()}}else if(this._opcode===9){this.emit("ping",e)}else{this.emit("pong",e)}this._state=m}}e.exports=Receiver;function error(e,t,i,s,r){const n=new e(i?`Invalid WebSocket frame: ${t}`:t);Error.captureStackTrace(n,error);n.code=r;n[o]=s;return n}},513:(e,t,i)=>{"use strict";const s=i(9278);const r=i(4756);const{randomFillSync:n}=i(6982);const a=i(5932);const{EMPTY_BUFFER:o}=i(2019);const{isValidStatusCode:l}=i(6251);const{mask:h,toBuffer:p}=i(8679);const u=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 s=t.mask?6:2;let r=e.length;if(e.length>=65536){s+=8;r=127}else if(e.length>125){s+=2;r=126}const a=Buffer.allocUnsafe(i?e.length+s:s);a[0]=t.fin?t.opcode|128:t.opcode;if(t.rsv1)a[0]|=64;a[1]=r;if(r===126){a.writeUInt16BE(e.length,2)}else if(r===127){a.writeUInt32BE(0,2);a.writeUInt32BE(e.length,6)}if(!t.mask)return[a,e];n(u,0,4);a[1]|=128;a[s-4]=u[0];a[s-3]=u[1];a[s-2]=u[2];a[s-1]=u[3];if(i){h(e,u,a,s,e.length);return[a]}h(e,u,e,0,e.length);return[a,e]}close(e,t,i,s){let r;if(e===undefined){r=o}else if(typeof e!=="number"||!l(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,s])}else{this.doClose(r,i,s)}}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 s=p(e);if(s.length>125){throw new RangeError("The data size must not be greater than 125 bytes")}if(this._deflating){this.enqueue([this.doPing,s,t,p.readOnly,i])}else{this.doPing(s,t,p.readOnly,i)}}doPing(e,t,i,s){this.sendFrame(Sender.frame(e,{fin:true,rsv1:false,opcode:9,mask:t,readOnly:i}),s)}pong(e,t,i){const s=p(e);if(s.length>125){throw new RangeError("The data size must not be greater than 125 bytes")}if(this._deflating){this.enqueue([this.doPong,s,t,p.readOnly,i])}else{this.doPong(s,t,p.readOnly,i)}}doPong(e,t,i,s){this.sendFrame(Sender.frame(e,{fin:true,rsv1:false,opcode:10,mask:t,readOnly:i}),s)}send(e,t,i){const s=p(e);const r=this._extensions[a.extensionName];let n=t.binary?2:1;let o=t.compress;if(this._firstFragment){this._firstFragment=false;if(o&&r){o=s.length>=r._threshold}this._compress=o}else{o=false;n=0}if(t.fin)this._firstFragment=true;if(r){const e={fin:t.fin,rsv1:o,opcode:n,mask:t.mask,readOnly:p.readOnly};if(this._deflating){this.enqueue([this.dispatch,s,this._compress,e,i])}else{this.dispatch(s,this._compress,e,i)}}else{this.sendFrame(Sender.frame(s,{fin:t.fin,rsv1:false,opcode:n,mask:t.mask,readOnly:p.readOnly}),i)}}dispatch(e,t,i,s){if(!t){this.sendFrame(Sender.frame(e,i),s);return}const r=this._extensions[a.extensionName];this._bufferedBytes+=e.length;this._deflating=true;r.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 s==="function")s(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),s);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},280:(e,t,i)=>{"use strict";const{Duplex:s}=i(2203);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;let r=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 n=new s({...t,autoDestroy:false,emitClose:false,objectMode:false,writableObjectMode:false});e.on("message",(function message(t){if(!n.push(t)){i=false;e._socket.pause()}}));e.once("error",(function error(e){if(n.destroyed)return;r=false;n.destroy(e)}));e.once("close",(function close(){if(n.destroyed)return;n.push(null)}));n._destroy=function(t,i){if(e.readyState===e.CLOSED){i(t);process.nextTick(emitClose,n);return}let s=false;e.once("error",(function error(e){s=true;i(e)}));e.once("close",(function close(){if(!s)i(t);process.nextTick(emitClose,n)}));if(r)e.terminate()};n._final=function(t){if(e.readyState===e.CONNECTING){e.once("open",(function open(){n._final(t)}));return}if(e._socket===null)return;if(e._socket._writableState.finished){t();if(n._readableState.endEmitted)n.destroy()}else{e._socket.once("finish",(function finish(){t()}));e.close()}};n._read=function(){if((e.readyState===e.OPEN||e.readyState===e.CLOSING)&&!i){i=true;if(!e._receiver._writableState.needDrain)e._socket.resume()}};n._write=function(t,i,s){if(e.readyState===e.CONNECTING){e.once("open",(function open(){n._write(t,i,s)}));return}e.send(t,s)};n.on("end",duplexOnEnd);n.on("error",duplexOnError);return n}e.exports=createWebSocketStream},6251:(e,t,i)=>{"use strict";function isValidStatusCode(e){return e>=1e3&&e<=1014&&e!==1004&&e!==1005&&e!==1006||e>=3e3&&e<=4999}function _isValidUTF8(e){const t=e.length;let i=0;while(i<t){if((e[i]&128)===0){i++}else if((e[i]&224)===192){if(i+1===t||(e[i+1]&192)!==128||(e[i]&254)===192){return false}i+=2}else if((e[i]&240)===224){if(i+2>=t||(e[i+1]&192)!==128||(e[i+2]&192)!==128||e[i]===224&&(e[i+1]&224)===128||e[i]===237&&(e[i+1]&224)===160){return false}i+=3}else if((e[i]&248)===240){if(i+3>=t||(e[i+1]&192)!==128||(e[i+2]&192)!==128||(e[i+3]&192)!==128||e[i]===240&&(e[i+1]&240)===128||e[i]===244&&e[i+1]>143||e[i]>244){return false}i+=4}else{return false}}return true}try{let t=i(710);if(typeof t==="object"){t=t.Validation.isValidUTF8}e.exports={isValidStatusCode:isValidStatusCode,isValidUTF8(e){return e.length<150?_isValidUTF8(e):t(e)}}}catch(t){e.exports={isValidStatusCode:isValidStatusCode,isValidUTF8:_isValidUTF8}}},5053:(e,t,i)=>{"use strict";const s=i(4434);const r=i(8611);const n=i(5692);const a=i(9278);const o=i(4756);const{createHash:l}=i(6982);const h=i(5932);const p=i(7325);const{format:u,parse:f}=i(2115);const{GUID:d,kWebSocket:m}=i(2019);const g=/^[+/0-9A-Za-z]{22}==$/;const x=0;const v=1;const y=2;class WebSocketServer extends s{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||e.port!=null&&(e.server||e.noServer)||e.server&&e.noServer){throw new TypeError('One and only one of the "port", "server", or "noServer" options '+"must be specified")}if(e.port!=null){this._server=r.createServer(((e,t)=>{const i=r.STATUS_CODES[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,s)=>{this.handleUpgrade(t,i,s,e)}})}if(e.perMessageDeflate===true)e.perMessageDeflate={};if(e.clientTracking)this.clients=new Set;this.options=e;this._state=x}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._state===y){process.nextTick(emitClose,this);return}if(this._state===v)return;this._state=v;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(emitClose.bind(undefined,this));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,s){t.on("error",socketOnError);const r=e.headers["sec-websocket-key"]!==undefined?e.headers["sec-websocket-key"].trim():false;const n=e.headers.upgrade;const a=+e.headers["sec-websocket-version"];const o={};if(e.method!=="GET"||n===undefined||n.toLowerCase()!=="websocket"||!r||!g.test(r)||a!==8&&a!==13||!this.shouldHandle(e)){return abortHandshake(t,400)}if(this.options.perMessageDeflate){const i=new h(this.options.perMessageDeflate,true,this.options.maxPayload);try{const t=f(e.headers["sec-websocket-extensions"]);if(t[h.extensionName]){i.accept(t[h.extensionName]);o[h.extensionName]=i}}catch(e){return abortHandshake(t,400)}}if(this.options.verifyClient){const n={origin:e.headers[`${a===8?"sec-websocket-origin":"origin"}`],secure:!!(e.socket.authorized||e.socket.encrypted),req:e};if(this.options.verifyClient.length===2){this.options.verifyClient(n,((n,a,l,h)=>{if(!n){return abortHandshake(t,a||401,l,h)}this.completeUpgrade(r,o,e,t,i,s)}));return}if(!this.options.verifyClient(n))return abortHandshake(t,401)}this.completeUpgrade(r,o,e,t,i,s)}completeUpgrade(e,t,i,s,r,n){if(!s.readable||!s.writable)return s.destroy();if(s[m]){throw new Error("server.handleUpgrade() was called more than once with the same "+"socket, possibly due to a misconfiguration")}if(this._state>x)return abortHandshake(s,503);const a=l("sha1").update(e+d).digest("base64");const o=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${a}`];const f=new p(null);let g=i.headers["sec-websocket-protocol"];if(g){g=g.split(",").map(trim);if(this.options.handleProtocols){g=this.options.handleProtocols(g,i)}else{g=g[0]}if(g){o.push(`Sec-WebSocket-Protocol: ${g}`);f._protocol=g}}if(t[h.extensionName]){const e=t[h.extensionName].params;const i=u({[h.extensionName]:[e]});o.push(`Sec-WebSocket-Extensions: ${i}`);f._extensions=t}this.emit("headers",o,i);s.write(o.concat("\r\n").join("\r\n"));s.removeListener("error",socketOnError);f.setSocket(s,r,this.options.maxPayload);if(this.clients){this.clients.add(f);f.on("close",(()=>this.clients.delete(f)))}n(f,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._state=y;e.emit("close")}function socketOnError(){this.destroy()}function abortHandshake(e,t,i,s){if(e.writable){i=i||r.STATUS_CODES[t];s={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(i),...s};e.write(`HTTP/1.1 ${t} ${r.STATUS_CODES[t]}\r\n`+Object.keys(s).map((e=>`${e}: ${s[e]}`)).join("\r\n")+"\r\n\r\n"+i)}e.removeListener("error",socketOnError);e.destroy()}function trim(e){return e.trim()}},7325:(e,t,i)=>{"use strict";const s=i(4434);const r=i(5692);const n=i(8611);const a=i(9278);const o=i(4756);const{randomBytes:l,createHash:h}=i(6982);const{Readable:p}=i(2203);const{URL:u}=i(7016);const f=i(5932);const d=i(385);const m=i(513);const{BINARY_TYPES:g,EMPTY_BUFFER:x,GUID:v,kStatusCode:y,kWebSocket:_,NOOP:b}=i(2019);const{addEventListener:S,removeEventListener:k}=i(1854);const{format:w,parse:E}=i(2115);const{toBuffer:C}=i(8679);const A=["CONNECTING","OPEN","CLOSING","CLOSED"];const P=[8,13];const I=30*1e3;class WebSocket extends s{constructor(e,t,i){super();this._binaryType=g[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(!g.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 onclose(){return undefined}set onclose(e){}get onerror(){return undefined}set onerror(e){}get onopen(){return undefined}set onopen(e){}get onmessage(){return undefined}set onmessage(e){}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,i){const s=new d(this.binaryType,this._extensions,this._isServer,i);this._sender=new m(e,this._extensions);this._receiver=s;this._socket=e;s[_]=this;e[_]=this;s.on("conclude",receiverOnConclude);s.on("drain",receiverOnDrain);s.on("error",receiverOnError);s.on("message",receiverOnMessage);s.on("ping",receiverOnPing);s.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[f.extensionName]){this._extensions[f.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._receiver._writableState.errorEmitted)){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._receiver._writableState.errorEmitted){this._socket.end()}}));this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),I)}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||x,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||x,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 s={binary:typeof e!=="string",mask:!this._isServer,compress:true,fin:true,...t};if(!this._extensions[f.extensionName]){s.compress=false}this._sender.send(e||x,s,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()}}}Object.defineProperty(WebSocket,"CONNECTING",{enumerable:true,value:A.indexOf("CONNECTING")});Object.defineProperty(WebSocket.prototype,"CONNECTING",{enumerable:true,value:A.indexOf("CONNECTING")});Object.defineProperty(WebSocket,"OPEN",{enumerable:true,value:A.indexOf("OPEN")});Object.defineProperty(WebSocket.prototype,"OPEN",{enumerable:true,value:A.indexOf("OPEN")});Object.defineProperty(WebSocket,"CLOSING",{enumerable:true,value:A.indexOf("CLOSING")});Object.defineProperty(WebSocket.prototype,"CLOSING",{enumerable:true,value:A.indexOf("CLOSING")});Object.defineProperty(WebSocket,"CLOSED",{enumerable:true,value:A.indexOf("CLOSED")});Object.defineProperty(WebSocket.prototype,"CLOSED",{enumerable:true,value:A.indexOf("CLOSED")});["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}`,{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=S;WebSocket.prototype.removeEventListener=k;e.exports=WebSocket;function initAsClient(e,t,i,s){const a={protocolVersion:P[1],maxPayload:100*1024*1024,perMessageDeflate:true,followRedirects:false,maxRedirects:10,...s,createConnection:undefined,socketPath:undefined,hostname:undefined,protocol:undefined,timeout:undefined,method:undefined,host:undefined,path:undefined,port:undefined};if(!P.includes(a.protocolVersion)){throw new RangeError(`Unsupported protocol version: ${a.protocolVersion} `+`(supported versions: ${P.join(", ")})`)}let o;if(t instanceof u){o=t;e._url=t.href}else{o=new u(t);e._url=t}const p=o.protocol==="ws+unix:";if(!o.host&&(!p||!o.pathname)){const t=new Error(`Invalid URL: ${e.url}`);if(e._redirects===0){throw t}else{emitErrorAndClose(e,t);return}}const d=o.protocol==="wss:"||o.protocol==="https:";const m=d?443:80;const g=l(16).toString("base64");const x=d?r.get:n.get;let y;a.createConnection=d?tlsConnect:netConnect;a.defaultPort=a.defaultPort||m;a.port=o.port||m;a.host=o.hostname.startsWith("[")?o.hostname.slice(1,-1):o.hostname;a.headers={"Sec-WebSocket-Version":a.protocolVersion,"Sec-WebSocket-Key":g,Connection:"Upgrade",Upgrade:"websocket",...a.headers};a.path=o.pathname+o.search;a.timeout=a.handshakeTimeout;if(a.perMessageDeflate){y=new f(a.perMessageDeflate!==true?a.perMessageDeflate:{},false,a.maxPayload);a.headers["Sec-WebSocket-Extensions"]=w({[f.extensionName]:y.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(p){const e=a.path.split(":");a.socketPath=e[0];a.path=e[1]}if(a.followRedirects){if(e._redirects===0){e._originalUnixSocket=p;e._originalSecure=d;e._originalHostOrSocketPath=p?a.socketPath:o.host;const t=s&&s.headers;s={...s,headers:{}};if(t){for(const[e,i]of Object.entries(t)){s.headers[e.toLowerCase()]=i}}}else{const t=p?e._originalUnixSocket?a.socketPath===e._originalHostOrSocketPath:false:e._originalUnixSocket?false:o.host===e._originalHostOrSocketPath;if(!t||e._originalSecure&&!d){delete a.headers.authorization;delete a.headers.cookie;if(!t)delete a.headers.host;a.auth=undefined}}if(a.auth&&!s.headers.authorization){s.headers.authorization="Basic "+Buffer.from(a.auth).toString("base64")}}let _=e._req=x(a);if(a.timeout){_.on("timeout",(()=>{abortHandshake(e,_,"Opening handshake has timed out")}))}_.on("error",(t=>{if(_===null||_.aborted)return;_=e._req=null;emitErrorAndClose(e,t)}));_.on("response",(r=>{const n=r.headers.location;const o=r.statusCode;if(n&&a.followRedirects&&o>=300&&o<400){if(++e._redirects>a.maxRedirects){abortHandshake(e,_,"Maximum redirects exceeded");return}_.abort();let r;try{r=new u(n,t)}catch(t){emitErrorAndClose(e,t);return}initAsClient(e,r,i,s)}else if(!e.emit("unexpected-response",_,r)){abortHandshake(e,_,`Unexpected server response: ${r.statusCode}`)}}));_.on("upgrade",((t,s,r)=>{e.emit("upgrade",t);if(e.readyState!==WebSocket.CONNECTING)return;_=e._req=null;const n=t.headers.upgrade;if(n===undefined||n.toLowerCase()!=="websocket"){abortHandshake(e,s,"Invalid Upgrade header");return}const o=h("sha1").update(g+v).digest("base64");if(t.headers["sec-websocket-accept"]!==o){abortHandshake(e,s,"Invalid Sec-WebSocket-Accept header");return}const l=t.headers["sec-websocket-protocol"];const p=(i||"").split(/, */);let u;if(!i&&l){u="Server sent a subprotocol but none was requested"}else if(i&&!l){u="Server sent no subprotocol"}else if(l&&!p.includes(l)){u="Server sent an invalid subprotocol"}if(u){abortHandshake(e,s,u);return}if(l)e._protocol=l;const d=t.headers["sec-websocket-extensions"];if(d!==undefined){if(!y){const t="Server sent a Sec-WebSocket-Extensions header but no extension "+"was requested";abortHandshake(e,s,t);return}let t;try{t=E(d)}catch(t){const i="Invalid Sec-WebSocket-Extensions header";abortHandshake(e,s,i);return}const i=Object.keys(t);if(i.length){if(i.length!==1||i[0]!==f.extensionName){const t="Server indicated an extension that was not requested";abortHandshake(e,s,t);return}try{y.accept(t[f.extensionName])}catch(t){const i="Invalid Sec-WebSocket-Extensions header";abortHandshake(e,s,i);return}e._extensions[f.extensionName]=y}}e.setSocket(s,r,a.maxPayload)}))}function emitErrorAndClose(e,t){e._readyState=WebSocket.CLOSING;e.emit("error",t);e.emitClose()}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 s=new Error(i);Error.captureStackTrace(s,abortHandshake);if(t.setHeader){t.abort();if(t.socket&&!t.socket.destroyed){t.socket.destroy()}t.once("abort",e.emitClose.bind(e));e.emit("error",s)}else{t.destroy(s);t.once("error",e.emit.bind(e,"error"));t.once("close",e.emitClose.bind(e))}}function sendAfterClose(e,t,i){if(t){const i=C(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} `+`(${A[e.readyState]})`);i(t)}}function receiverOnConclude(e,t){const i=this[_];i._closeFrameReceived=true;i._closeMessage=t;i._closeCode=e;if(i._socket[_]===undefined)return;i._socket.removeListener("data",socketOnData);process.nextTick(resume,i._socket);if(e===1005)i.close();else i.close(e,t)}function receiverOnDrain(){this[_]._socket.resume()}function receiverOnError(e){const t=this[_];if(t._socket[_]!==undefined){t._socket.removeListener("data",socketOnData);process.nextTick(resume,t._socket);t.close(e[y])}t.emit("error",e)}function receiverOnFinish(){this[_].emitClose()}function receiverOnMessage(e){this[_].emit("message",e)}function receiverOnPing(e){const t=this[_];t.pong(e,!t._isServer,b);t.emit("ping",e)}function receiverOnPong(e){this[_].emit("pong",e)}function resume(e){e.resume()}function socketOnClose(){const e=this[_];this.removeListener("close",socketOnClose);this.removeListener("data",socketOnData);this.removeListener("end",socketOnEnd);e._readyState=WebSocket.CLOSING;let t;if(!this._readableState.endEmitted&&!e._closeFrameReceived&&!e._receiver._writableState.errorEmitted&&(t=e._socket.read())!==null){e._receiver.write(t)}e._receiver.end();this[_]=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[_]._receiver.write(e)){this.pause()}}function socketOnEnd(){const e=this[_];e._readyState=WebSocket.CLOSING;e._receiver.end();this.end()}function socketOnError(){const e=this[_];this.removeListener("error",socketOnError);this.on("error",b);if(e){e._readyState=WebSocket.CLOSING;this.destroy()}}},6431:module=>{module.exports=eval("require")("bufferutil")},710:module=>{module.exports=eval("require")("utf-8-validate")},3344:e=>{"use strict";e.exports=require("./package.json")},5317:e=>{"use strict";e.exports=require("child_process")},6982:e=>{"use strict";e.exports=require("crypto")},4434:e=>{"use strict";e.exports=require("events")},9896:e=>{"use strict";e.exports=require("fs")},8611:e=>{"use strict";e.exports=require("http")},5692:e=>{"use strict";e.exports=require("https")},9278:e=>{"use strict";e.exports=require("net")},857:e=>{"use strict";e.exports=require("os")},6928:e=>{"use strict";e.exports=require("path")},3480:e=>{"use strict";e.exports=require("querystring")},2203:e=>{"use strict";e.exports=require("stream")},4756:e=>{"use strict";e.exports=require("tls")},7016:e=>{"use strict";e.exports=require("url")},9023:e=>{"use strict";e.exports=require("util")},3106:e=>{"use strict";e.exports=require("zlib")},7135:(e,t)=>{"use strict";var i="".replace;var s=/[&<>'"]/g;var r=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34);/g;var n={"&":"&","<":"<",">":">","'":"'",'"':"""};var a={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'};function escape(e){return i.call(e,s,pe)}t.escape=escape;function unescape(e){return i.call(e,r,cape)}t.unescape=unescape;function pe(e){return n[e]}function cape(e){return a[e]}}};var __webpack_module_cache__={};function __nccwpck_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var i=__webpack_module_cache__[e]={exports:{}};var s=true;try{__webpack_modules__[e].call(i.exports,i,i.exports,__nccwpck_require__);s=false}finally{if(s)delete __webpack_module_cache__[e]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var __webpack_exports__=__nccwpck_require__(6860);module.exports=__webpack_exports__})();
|