8&&e<14||e>=5760&&v.test(String.fromCharCode(e))){++this.pos}else{break e}}}};Ie.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)};Ie.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(m.ellipsis)}else{++this.pos;return this.finishToken(m.dot)}};Ie.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(m.assign,2)}return this.finishOp(m.slash,1)};Ie.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;var s=e===42?m.star:m.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++i;s=m.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(m.assign,i+1)}return this.finishOp(s,i)};Ie.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61){return this.finishOp(m.assign,3)}}return this.finishOp(e===124?m.logicalOR:m.logicalAND,2)}if(t===61){return this.finishOp(m.assign,2)}return this.finishOp(e===124?m.bitwiseOR:m.bitwiseAND,1)};Ie.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(m.assign,2)}return this.finishOp(m.bitwiseXOR,1)};Ie.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||g.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(m.incDec,2)}if(t===61){return this.finishOp(m.assign,2)}return this.finishOp(m.plusMin,1)};Ie.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;if(t===e){i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+i)===61){return this.finishOp(m.assign,i+1)}return this.finishOp(m.bitShift,i)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){i=2}return this.finishOp(m.relational,i)};Ie.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(m.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(m.arrow)}return this.finishOp(e===61?m.eq:m.prefix,1)};Ie.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57){return this.finishOp(m.questionDot,2)}}if(t===63){if(e>=12){var s=this.input.charCodeAt(this.pos+2);if(s===61){return this.finishOp(m.assign,3)}}return this.finishOp(m.coalesce,2)}}return this.finishOp(m.question,1)};Ie.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(m.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString$1(t)+"'")};Ie.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(m.parenL);case 41:++this.pos;return this.finishToken(m.parenR);case 59:++this.pos;return this.finishToken(m.semi);case 44:++this.pos;return this.finishToken(m.comma);case 91:++this.pos;return this.finishToken(m.bracketL);case 93:++this.pos;return this.finishToken(m.bracketR);case 123:++this.pos;return this.finishToken(m.braceL);case 125:++this.pos;return this.finishToken(m.braceR);case 58:++this.pos;return this.finishToken(m.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(m.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(m.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString$1(e)+"'")};Ie.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,i)};Ie.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(g.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 a=this.pos;var n=this.readWord1();if(this.containsEsc){this.unexpected(a)}var o=this.regexpState||(this.regexpState=new Ce(this));o.reset(i,r,n);this.validateRegExpFlags(o);this.validateRegExpPattern(o);var h=null;try{h=new RegExp(r,n)}catch(e){}return this.finishToken(m.regexp,{pattern:r,flags:n,value:h})};Ie.readInt=function(e,t,i){var s=this.options.ecmaVersion>=12&&t===undefined;var r=i&&this.input.charCodeAt(this.pos)===48;var a=this.pos,n=0,o=0;for(var h=0,p=t==null?Infinity:t;h=97){l=c-97+10}else if(c>=65){l=c-65+10}else if(c>=48&&c<=57){l=c-48}else{l=Infinity}if(l>=e){break}o=c;n=n*e+l}if(s&&o===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===a||t!=null&&this.pos-a!==t){return null}return n};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,""))}Ie.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);if(i==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){i=stringToBigInt(this.input.slice(t,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(m.num,i)};Ie.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(m.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 a=stringToNumber(this.input.slice(t,this.pos),i);return this.finishToken(m.num,a)};Ie.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(i,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function codePointToString$1(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Ie.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(m.string,t)};var Ae={};Ie.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Ae){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};Ie.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Ae}else{this.raise(e,t)}};Ie.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===m.template||this.type===m.invalidTemplate)){if(i===36){this.pos+=2;return this.finishToken(m.dollarBraceL)}else{++this.pos;return this.finishToken(m.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(m.template,e)}if(i===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(i)){e+=this.input.slice(t,this.pos);++this.pos;switch(i){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(i);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};Ie.readInvalidTemplateToken=function(){for(;this.pos=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)){return""}return String.fromCharCode(t)}};Ie.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};Ie.readWord1=function(){this.containsEsc=false;var e="",t=true,i=this.pos;var s=this.options.ecmaVersion>=6;while(this.pos{var e={386: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,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,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,983,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,68,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,349,41,7,1,79,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,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,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,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,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,757,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 a={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 n="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:n,"5module":n+" export import",6:n+" const class extends export import super"};var h=/^in(stanceof)?$/;var p=new RegExp("["+r+"]");var c=new RegExp("["+r+s+"]");function isInAstralSet(e,t){var i=65536;for(var s=0;se){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&&p.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&&c.test(String.fromCharCode(e))}if(s===false){return false}return isInAstralSet(e,i)||isInAstralSet(e,t)}var l=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 l(e,{beforeExpr:true,binop:t})}var u={beforeExpr:true},f={startsExpr:true};var d={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return d[e]=new l(e,t)}var m={num:new l("num",f),regexp:new l("regexp",f),string:new l("string",f),name:new l("name",f),privateId:new l("privateId",f),eof:new l("eof"),bracketL:new l("[",{beforeExpr:true,startsExpr:true}),bracketR:new l("]"),braceL:new l("{",{beforeExpr:true,startsExpr:true}),braceR:new l("}"),parenL:new l("(",{beforeExpr:true,startsExpr:true}),parenR:new l(")"),comma:new l(",",u),semi:new l(";",u),colon:new l(":",u),dot:new l("."),question:new l("?",u),questionDot:new l("?."),arrow:new l("=>",u),template:new l("template"),invalidTemplate:new l("invalidTemplate"),ellipsis:new l("...",u),backQuote:new l("`",f),dollarBraceL:new l("${",{beforeExpr:true,startsExpr:true}),eq:new l("=",{beforeExpr:true,isAssign:true}),assign:new l("_=",{beforeExpr:true,isAssign:true}),incDec:new l("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new l("!/~",{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 l("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new l("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",u),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",u),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",u),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",f),_if:kw("if"),_return:kw("return",u),_switch:kw("switch"),_throw:kw("throw",u),_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",f),_super:kw("super",f),_class:kw("class",f),_extends:kw("extends",u),_export:kw("export"),_import:kw("import",f),_null:kw("null",f),_true:kw("true",f),_false:kw("false",f),_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 g=/\r\n?|\n|\u2028|\u2029/;var x=new RegExp(g.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>10)+55296,(e&1023)+56320)}var E=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;var I=function Position(e,t){this.line=e;this.column=t};I.prototype.offset=function offset(e){return new I(this.line,this.column+e)};var A=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 I(i,t-s)}++i;s=r}}var P={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 N=false;function getOptions(e){var t={};for(var i in P){t[i]=e&&S(e,i)?e[i]:P[i]}if(t.ecmaVersion==="latest"){t.ecmaVersion=1e8}else if(t.ecmaVersion==null){if(!N&&typeof console==="object"&&console.warn){N=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(C(t.onToken)){var s=t.onToken;t.onToken=function(e){return s.push(e)}}if(C(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(i,s,r,a,n,o){var h={type:i?"Block":"Line",value:s,start:r,end:a};if(e.locations){h.loc=new A(this,n,o)}if(e.ranges){h.range=[r,a]}t.push(h)}}var T=1,V=2,L=4,R=8,D=16,O=32,B=64,M=128,F=256,U=T|V|F;function functionFlags(e,t){return V|(e?L:0)|(t?R:0)}var q=0,j=1,G=2,H=3,z=4,W=5;var K=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=a[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3];if(e.sourceType==="module"){s+=" await"}}this.reservedWords=wordsRegexp(s);var r=(s?s+" ":"")+a.strict;this.reservedWordsStrict=wordsRegexp(r);this.reservedWordsStrictBind=wordsRegexp(r+" "+a.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(g).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=m.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.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 Q={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}};K.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};Q.inFunction.get=function(){return(this.currentVarScope().flags&V)>0};Q.inGenerator.get=function(){return(this.currentVarScope().flags&R)>0&&!this.currentVarScope().inClassFieldInit};Q.inAsync.get=function(){return(this.currentVarScope().flags&L)>0&&!this.currentVarScope().inClassFieldInit};Q.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&F){return false}if(t.flags&V){return(t.flags&L)>0}}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};Q.allowSuper.get=function(){var e=this.currentThisScope();var t=e.flags;var i=e.inClassFieldInit;return(t&B)>0||i||this.options.allowSuperOutsideMethod};Q.allowDirectSuper.get=function(){return(this.currentThisScope().flags&M)>0};Q.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Q.allowNewDotTarget.get=function(){var e=this.currentThisScope();var t=e.flags;var i=e.inClassFieldInit;return(t&(V|F))>0||i};Q.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&F)>0};K.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var i=this;for(var s=0;s=,?^&]/.test(r)||r==="!"&&this.input.charAt(s+1)==="=")}e+=t[0].length;y.lastIndex=e;e+=y.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};Y.eat=function(e){if(this.type===e){this.next();return true}else{return false}};Y.isContextual=function(e){return this.type===m.name&&this.value===e&&!this.containsEsc};Y.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};Y.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};Y.canInsertSemicolon=function(){return this.type===m.eof||this.type===m.braceR||g.test(this.input.slice(this.lastTokEnd,this.start))};Y.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};Y.semicolon=function(){if(!this.eat(m.semi)&&!this.insertSemicolon()){this.unexpected()}};Y.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}};Y.expect=function(e){this.eat(e)||this.unexpected()};Y.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};Y.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")}};Y.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")}};Y.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&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 a=this.input.slice(i,r);if(!h.test(a)){return true}}return false};$.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}y.lastIndex=this.pos;var e=y.exec(this.input);var t=this.pos+e[0].length,i;return!g.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))};$.parseStatement=function(e,t,i){var s=this.type,r=this.startNode(),a;if(this.isLet(e)){s=m._var;a="let"}switch(s){case m._break:case m._continue:return this.parseBreakContinueStatement(r,s.keyword);case m._debugger:return this.parseDebuggerStatement(r);case m._do:return this.parseDoStatement(r);case m._for:return this.parseForStatement(r);case m._function:if(e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(r,false,!e);case m._class:if(e){this.unexpected()}return this.parseClass(r,true);case m._if:return this.parseIfStatement(r);case m._return:return this.parseReturnStatement(r);case m._switch:return this.parseSwitchStatement(r);case m._throw:return this.parseThrowStatement(r);case m._try:return this.parseTryStatement(r);case m._const:case m._var:a=a||this.value;if(e&&a!=="var"){this.unexpected()}return this.parseVarStatement(r,a);case m._while:return this.parseWhileStatement(r);case m._with:return this.parseWithStatement(r);case m.braceL:return this.parseBlock(true,r);case m.semi:return this.parseEmptyStatement(r);case m._export:case m._import:if(this.options.ecmaVersion>10&&s===m._import){y.lastIndex=this.pos;var n=y.exec(this.input);var o=this.pos+n[0].length,h=this.input.charCodeAt(o);if(h===40||h===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===m._import?this.parseImport(r):this.parseExport(r,i);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(r,true,!e)}var p=this.value,c=this.parseExpression();if(s===m.name&&c.type==="Identifier"&&this.eat(m.colon)){return this.parseLabeledStatement(r,p,c,e)}else{return this.parseExpressionStatement(r,c)}}};$.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next();if(this.eat(m.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==m.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var s=0;for(;s=6){this.eat(m.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};$.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(J);this.enterScope(0);this.expect(m.parenL);if(this.type===m.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var i=this.isLet();if(this.type===m._var||this.type===m._const||i){var s=this.startNode(),r=i?"let":this.value;this.next();this.parseVar(s,true,r);this.finishNode(s,"VariableDeclaration");if((this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&s.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===m._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,s)}if(t>-1){this.unexpected(t)}return this.parseFor(e,s)}var a=this.isContextual("let"),n=false;var o=new Z;var h=this.parseExpression(t>-1?"await":true,o);if(this.type===m._in||(n=this.options.ecmaVersion>=6&&this.isContextual("of"))){if(this.options.ecmaVersion>=9){if(this.type===m._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}if(a&&n){this.raise(h.start,"The left-hand side of a for-of loop may not start with 'let'.")}this.toAssignable(h,false,o);this.checkLValPattern(h);return this.parseForIn(e,h)}else{this.checkExpressionErrors(o,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,h)};$.parseFunctionStatement=function(e,t,i){this.next();return this.parseFunction(e,ie|(i?0:se),false,t)};$.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(m._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};$.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(m.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};$.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(m.braceL);this.labels.push(ee);this.enterScope(0);var t;for(var i=false;this.type!==m.braceR;){if(this.type===m._case||this.type===m._default){var s=this.type===m._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(m.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};$.parseThrowStatement=function(e){this.next();if(g.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 te=[];$.parseCatchClauseParam=function(){var e=this.parseBindingAtom();var t=e.type==="Identifier";this.enterScope(t?O:0);this.checkLValPattern(e,t?z:G);this.expect(m.parenR);return e};$.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===m._catch){var t=this.startNode();this.next();if(this.eat(m.parenL)){t.param=this.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(m._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};$.parseVarStatement=function(e,t,i){this.next();this.parseVar(e,false,t,i);this.semicolon();return this.finishNode(e,"VariableDeclaration")};$.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(J);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};$.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")};$.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};$.parseLabeledStatement=function(e,t,i,s){for(var r=0,a=this.labels;r=0;h--){var p=this.labels[h];if(p.statementStart===e.start){p.statementStart=this.start;p.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")};$.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};$.parseBlock=function(e,t,i){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(m.braceL);if(e){this.enterScope(0)}while(this.type!==m.braceR){var s=this.parseStatement(null);t.body.push(s)}if(i){this.strict=false}this.next();if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};$.parseFor=function(e,t){e.init=t;this.expect(m.semi);e.test=this.type===m.semi?null:this.parseExpression();this.expect(m.semi);e.update=this.type===m.parenR?null:this.parseExpression();this.expect(m.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};$.parseForIn=function(e,t){var i=this.type===m._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer")}e.left=t;e.right=i?this.parseExpression():this.parseMaybeAssign();this.expect(m.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,i?"ForInStatement":"ForOfStatement")};$.parseVar=function(e,t,i,s){e.declarations=[];e.kind=i;for(;;){var r=this.startNode();this.parseVarId(r,i);if(this.eat(m.eq)){r.init=this.parseMaybeAssign(t)}else if(!s&&i==="const"&&!(this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(!s&&r.id.type!=="Identifier"&&!(t&&(this.type===m._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(m.comma)){break}}return e};$.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLValPattern(e.id,t==="var"?j:G,false)};var ie=1,se=2,re=4;$.parseFunction=function(e,t,i,s,r){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s){if(this.type===m.star&&t&se){this.unexpected()}e.generator=this.eat(m.star)}if(this.options.ecmaVersion>=8){e.async=!!s}if(t&ie){e.id=t&re&&this.type!==m.name?null:this.parseIdent();if(e.id&&!(t&se)){this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?j:G:H)}}var a=this.yieldPos,n=this.awaitPos,o=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&ie)){e.id=this.type===m.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,i,false,r);this.yieldPos=a;this.awaitPos=n;this.awaitIdentPos=o;return this.finishNode(e,t&ie?"FunctionDeclaration":"FunctionExpression")};$.parseFunctionParams=function(e){this.expect(m.parenL);e.params=this.parseBindingList(m.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};$.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 a=false;r.body=[];this.expect(m.braceL);while(this.type!==m.braceR){var n=this.parseClassElement(e.superClass!==null);if(n){r.body.push(n);if(n.type==="MethodDefinition"&&n.kind==="constructor"){if(a){this.raiseRecoverable(n.start,"Duplicate constructor in the same class")}a=true}else if(n.key&&n.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(s,n)){this.raiseRecoverable(n.key.start,"Identifier '#"+n.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")};$.parseClassElement=function(e){if(this.eat(m.semi)){return null}var t=this.options.ecmaVersion;var i=this.startNode();var s="";var r=false;var a=false;var n="method";var o=false;if(this.eatContextual("static")){if(t>=13&&this.eat(m.braceL)){this.parseClassStaticBlock(i);return i}if(this.isClassElementNameStart()||this.type===m.star){o=true}else{s="static"}}i.static=o;if(!s&&t>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===m.star)&&!this.canInsertSemicolon()){a=true}else{s="async"}}if(!s&&(t>=9||!a)&&this.eat(m.star)){r=true}if(!s&&!a&&!r){var h=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){n=h}else{s=h}}}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===m.parenL||n!=="method"||r||a){var p=!i.static&&checkKeyName(i,"constructor");var c=p&&e;if(p&&n!=="method"){this.raise(i.key.start,"Constructor can't have get/set modifier")}i.kind=p?"constructor":n;this.parseClassMethod(i,r,a,c)}else{this.parseClassField(i)}return i};$.isClassElementNameStart=function(){return this.type===m.name||this.type===m.privateId||this.type===m.num||this.type===m.string||this.type===m.bracketL||this.type.keyword};$.parseClassElementName=function(e){if(this.type===m.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)}};$.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 a=e.value=this.parseMethod(t,i,s);if(e.kind==="get"&&a.params.length!==0){this.raiseRecoverable(a.start,"getter should have no params")}if(e.kind==="set"&&a.params.length!==1){this.raiseRecoverable(a.start,"setter should have exactly one param")}if(e.kind==="set"&&a.params[0].type==="RestElement"){this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params")}return this.finishNode(e,"MethodDefinition")};$.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(m.eq)){var t=this.currentThisScope();var i=t.inClassFieldInit;t.inClassFieldInit=true;e.value=this.parseMaybeAssign();t.inClassFieldInit=i}else{e.value=null}this.semicolon();return this.finishNode(e,"PropertyDefinition")};$.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;this.labels=[];this.enterScope(F|B);while(this.type!==m.braceR){var i=this.parseStatement(null);e.body.push(i)}this.next();this.exitScope();this.labels=t;return this.finishNode(e,"StaticBlock")};$.parseClassId=function(e,t){if(this.type===m.name){e.id=this.parseIdent();if(t){this.checkLValSimple(e.id,G,false)}}else{if(t===true){this.unexpected()}e.id=null}};$.parseClassSuper=function(e){e.superClass=this.eat(m._extends)?this.parseExprSubscripts(null,false):null};$.enterClassBody=function(){var e={declared:Object.create(null),used:[]};this.privateNameStack.push(e);return e.declared};$.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 a=0;a=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!==m.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")};$.parseExport=function(e,t){this.next();if(this.eat(m.star)){return this.parseExportAllDeclaration(e,t)}if(this.eat(m._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}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==m.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var i=0,s=e.specifiers;i=13&&this.type===m.string){var e=this.parseLiteral(this.value);if(E.test(e.value)){this.raise(e.start,"An export name cannot include a lone surrogate.")}return e}return this.parseIdent(true)};$.adaptDirectivePrologue=function(e){for(var t=0;t=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var ae=K.prototype;ae.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=6){switch(this.type){case m.bracketL:var e=this.startNode();this.next();e.elements=this.parseBindingList(m.bracketR,true,true);return this.finishNode(e,"ArrayPattern");case m.braceL:return this.parseObj(true)}}return this.parseIdent()};ae.parseBindingList=function(e,t,i,s){var r=[],a=true;while(!this.eat(e)){if(a){a=false}else{this.expect(m.comma)}if(t&&this.type===m.comma){r.push(null)}else if(i&&this.afterTrailingComma(e)){break}else if(this.type===m.ellipsis){var n=this.parseRestBinding();this.parseBindingListItem(n);r.push(n);if(this.type===m.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};ae.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(t);return t};ae.parseBindingListItem=function(e){return e};ae.parseMaybeDefault=function(e,t,i){i=i||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(m.eq)){return i}var s=this.startNodeAt(e,t);s.left=i;s.right=this.parseMaybeAssign();return this.finishNode(s,"AssignmentPattern")};ae.checkLValSimple=function(e,t,i){if(t===void 0)t=q;var s=t!==q;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(S(i,e.name)){this.raiseRecoverable(e.start,"Argument name clash")}i[e.name]=true}if(t!==W){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")}};ae.checkLValPattern=function(e,t,i){if(t===void 0)t=q;switch(e.type){case"ObjectPattern":for(var s=0,r=e.properties;s=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===m.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}};m.parenR.updateContext=m.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===oe.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};m.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?oe.b_stat:oe.b_expr);this.exprAllowed=true};m.dollarBraceL.updateContext=function(){this.context.push(oe.b_tmpl);this.exprAllowed=true};m.parenL.updateContext=function(e){var t=e===m._if||e===m._for||e===m._with||e===m._while;this.context.push(t?oe.p_stat:oe.p_expr);this.exprAllowed=true};m.incDec.updateContext=function(){};m._function.updateContext=m._class.updateContext=function(e){if(e.beforeExpr&&e!==m._else&&!(e===m.semi&&this.curContext()!==oe.p_stat)&&!(e===m._return&&g.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===m.colon||e===m.braceL)&&this.curContext()===oe.b_stat)){this.context.push(oe.f_expr)}else{this.context.push(oe.f_stat)}this.exprAllowed=false};m.colon.updateContext=function(){if(this.curContext().token==="function"){this.context.pop()}this.exprAllowed=true};m.backQuote.updateContext=function(){if(this.curContext()===oe.q_tmpl){this.context.pop()}else{this.context.push(oe.q_tmpl)}this.exprAllowed=false};m.star.updateContext=function(e){if(e===m._function){var t=this.context.length-1;if(this.context[t]===oe.f_expr){this.context[t]=oe.f_expr_gen}else{this.context[t]=oe.f_gen}}this.exprAllowed=true};m.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==m.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var pe=K.prototype;pe.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 a=e.kind;if(this.options.ecmaVersion>=6){if(r==="__proto__"&&a==="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 n=t[r];if(n){var o;if(a==="init"){o=this.strict&&n.init||n.get||n.set}else{o=n.init||n[a]}if(o){this.raiseRecoverable(s.start,"Redefinition of property")}}else{n=t[r]={init:false,get:false,set:false}}n[a]=true};pe.parseExpression=function(e,t){var i=this.start,s=this.startLoc;var r=this.parseMaybeAssign(e,t);if(this.type===m.comma){var a=this.startNodeAt(i,s);a.expressions=[r];while(this.eat(m.comma)){a.expressions.push(this.parseMaybeAssign(e,t))}return this.finishNode(a,"SequenceExpression")}return r};pe.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,a=-1,n=-1;if(t){r=t.parenthesizedAssign;a=t.trailingComma;n=t.doubleProto;t.parenthesizedAssign=t.trailingComma=-1}else{t=new Z;s=true}var o=this.start,h=this.startLoc;if(this.type===m.parenL||this.type===m.name){this.potentialArrowAt=this.start;this.potentialArrowInForAwait=e==="await"}var p=this.parseMaybeConditional(e,t);if(i){p=i.call(this,p,o,h)}if(this.type.isAssign){var c=this.startNodeAt(o,h);c.operator=this.value;if(this.type===m.eq){p=this.toAssignable(p,false,t)}if(!s){t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1}if(t.shorthandAssign>=p.start){t.shorthandAssign=-1}if(this.type===m.eq){this.checkLValPattern(p)}else{this.checkLValSimple(p)}c.left=p;this.next();c.right=this.parseMaybeAssign(e);if(n>-1){t.doubleProto=n}return this.finishNode(c,"AssignmentExpression")}else{if(s){this.checkExpressionErrors(t,true)}}if(r>-1){t.parenthesizedAssign=r}if(a>-1){t.trailingComma=a}return p};pe.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(m.question)){var a=this.startNodeAt(i,s);a.test=r;a.consequent=this.parseMaybeAssign();this.expect(m.colon);a.alternate=this.parseMaybeAssign(e);return this.finishNode(a,"ConditionalExpression")}return r};pe.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)};pe.parseExprOp=function(e,t,i,s,r){var a=this.type.binop;if(a!=null&&(!r||this.type!==m._in)){if(a>s){var n=this.type===m.logicalOR||this.type===m.logicalAND;var o=this.type===m.coalesce;if(o){a=m.logicalAND.binop}var h=this.value;this.next();var p=this.start,c=this.startLoc;var l=this.parseExprOp(this.parseMaybeUnary(null,false,false,r),p,c,a,r);var u=this.buildBinary(t,i,e,l,h,n||o);if(n&&this.type===m.coalesce||o&&(this.type===m.logicalOR||this.type===m.logicalAND)){this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses")}return this.parseExprOp(u,t,i,s,r)}}return e};pe.buildBinary=function(e,t,i,s,r,a){if(s.type==="PrivateIdentifier"){this.raise(s.start,"Private identifier can only be left side of binary expression")}var n=this.startNodeAt(e,t);n.left=i;n.operator=r;n.right=s;return this.finishNode(n,a?"LogicalExpression":"BinaryExpression")};pe.parseMaybeUnary=function(e,t,i,s){var r=this.start,a=this.startLoc,n;if(this.isContextual("await")&&this.canAwait){n=this.parseAwait(s);t=true}else if(this.type.prefix){var o=this.startNode(),h=this.type===m.incDec;o.operator=this.value;o.prefix=true;this.next();o.argument=this.parseMaybeUnary(null,true,h,s);this.checkExpressionErrors(e,true);if(h){this.checkLValSimple(o.argument)}else if(this.strict&&o.operator==="delete"&&o.argument.type==="Identifier"){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}n=this.finishNode(o,h?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===m.privateId){if((s||this.privateNameStack.length===0)&&this.options.checkPrivateFields){this.unexpected()}n=this.parsePrivateIdent();if(this.type!==m._in){this.unexpected()}}else{n=this.parseExprSubscripts(e,s);if(this.checkExpressionErrors(e)){return n}while(this.type.postfix&&!this.canInsertSemicolon()){var p=this.startNodeAt(r,a);p.operator=this.value;p.prefix=false;p.argument=n;this.checkLValSimple(n);this.next();n=this.finishNode(p,"UpdateExpression")}}if(!i&&this.eat(m.starstar)){if(t){this.unexpected(this.lastTokStart)}else{return this.buildBinary(r,a,n,this.parseMaybeUnary(null,false,false,s),"**",false)}}else{return n}};function isPrivateFieldAccess(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&isPrivateFieldAccess(e.expression)}pe.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 a=this.parseSubscripts(r,i,s,false,t);if(e&&a.type==="MemberExpression"){if(e.parenthesizedAssign>=a.start){e.parenthesizedAssign=-1}if(e.parenthesizedBind>=a.start){e.parenthesizedBind=-1}if(e.trailingComma>=a.start){e.trailingComma=-1}}return a};pe.parseSubscripts=function(e,t,i,s,r){var a=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 n=false;while(true){var o=this.parseSubscript(e,t,i,s,a,n,r);if(o.optional){n=true}if(o===e||o.type==="ArrowFunctionExpression"){if(n){var h=this.startNodeAt(t,i);h.expression=o;o=this.finishNode(h,"ChainExpression")}return o}e=o}};pe.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(m.arrow)};pe.parseSubscriptAsyncArrow=function(e,t,i,s){return this.parseArrowExpression(this.startNodeAt(e,t),i,true,s)};pe.parseSubscript=function(e,t,i,s,r,a,n){var o=this.options.ecmaVersion>=11;var h=o&&this.eat(m.questionDot);if(s&&h){this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions")}var p=this.eat(m.bracketL);if(p||h&&this.type!==m.parenL&&this.type!==m.backQuote||this.eat(m.dot)){var c=this.startNodeAt(t,i);c.object=e;if(p){c.property=this.parseExpression();this.expect(m.bracketR)}else if(this.type===m.privateId&&e.type!=="Super"){c.property=this.parsePrivateIdent()}else{c.property=this.parseIdent(this.options.allowReserved!=="never")}c.computed=!!p;if(o){c.optional=h}e=this.finishNode(c,"MemberExpression")}else if(!s&&this.eat(m.parenL)){var l=new Z,u=this.yieldPos,f=this.awaitPos,d=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var g=this.parseExprList(m.parenR,this.options.ecmaVersion>=8,false,l);if(r&&!h&&this.shouldParseAsyncArrow()){this.checkPatternErrors(l,false);this.checkYieldAwaitInDefaultParams();if(this.awaitIdentPos>0){this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function")}this.yieldPos=u;this.awaitPos=f;this.awaitIdentPos=d;return this.parseSubscriptAsyncArrow(t,i,g,n)}this.checkExpressionErrors(l,true);this.yieldPos=u||this.yieldPos;this.awaitPos=f||this.awaitPos;this.awaitIdentPos=d||this.awaitIdentPos;var x=this.startNodeAt(t,i);x.callee=e;x.arguments=g;if(o){x.optional=h}e=this.finishNode(x,"CallExpression")}else if(this.type===m.backQuote){if(h||a){this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions")}var v=this.startNodeAt(t,i);v.tag=e;v.quasi=this.parseTemplate({isTagged:true});e=this.finishNode(v,"TaggedTemplateExpression")}return e};pe.parseExprAtom=function(e,t,i){if(this.type===m.slash){this.readRegexp()}var s,r=this.potentialArrowAt===this.start;switch(this.type){case m._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}s=this.startNode();this.next();if(this.type===m.parenL&&!this.allowDirectSuper){this.raise(s.start,"super() call outside constructor of a subclass")}if(this.type!==m.dot&&this.type!==m.bracketL&&this.type!==m.parenL){this.unexpected()}return this.finishNode(s,"Super");case m._this:s=this.startNode();this.next();return this.finishNode(s,"ThisExpression");case m.name:var a=this.start,n=this.startLoc,o=this.containsEsc;var h=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!o&&h.name==="async"&&!this.canInsertSemicolon()&&this.eat(m._function)){this.overrideContext(oe.f_expr);return this.parseFunction(this.startNodeAt(a,n),0,false,true,t)}if(r&&!this.canInsertSemicolon()){if(this.eat(m.arrow)){return this.parseArrowExpression(this.startNodeAt(a,n),[h],false,t)}if(this.options.ecmaVersion>=8&&h.name==="async"&&this.type===m.name&&!o&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){h=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(m.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(a,n),[h],true,t)}}return h;case m.regexp:var p=this.value;s=this.parseLiteral(p.value);s.regex={pattern:p.pattern,flags:p.flags};return s;case m.num:case m.string:return this.parseLiteral(this.value);case m._null:case m._true:case m._false:s=this.startNode();s.value=this.type===m._null?null:this.type===m._true;s.raw=this.type.keyword;this.next();return this.finishNode(s,"Literal");case m.parenL:var c=this.start,l=this.parseParenAndDistinguishExpression(r,t);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)){e.parenthesizedAssign=c}if(e.parenthesizedBind<0){e.parenthesizedBind=c}}return l;case m.bracketL:s=this.startNode();this.next();s.elements=this.parseExprList(m.bracketR,true,true,e);return this.finishNode(s,"ArrayExpression");case m.braceL:this.overrideContext(oe.b_expr);return this.parseObj(false,e);case m._function:s=this.startNode();this.next();return this.parseFunction(s,0);case m._class:return this.parseClass(this.startNode(),false);case m._new:return this.parseNew();case m.backQuote:return this.parseTemplate();case m._import:if(this.options.ecmaVersion>=11){return this.parseExprImport(i)}else{return this.unexpected()}default:return this.parseExprAtomDefault()}};pe.parseExprAtomDefault=function(){this.unexpected()};pe.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}this.next();if(this.type===m.parenL&&!e){return this.parseDynamicImport(t)}else if(this.type===m.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()}};pe.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(m.parenR)){var t=this.start;if(this.eat(m.comma)&&this.eat(m.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};pe.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")};pe.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(t,"Literal")};pe.parseParenExpression=function(){this.expect(m.parenL);var e=this.parseExpression();this.expect(m.parenR);return e};pe.shouldParseArrow=function(e){return!this.canInsertSemicolon()};pe.parseParenAndDistinguishExpression=function(e,t){var i=this.start,s=this.startLoc,r,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var n=this.start,o=this.startLoc;var h=[],p=true,c=false;var l=new Z,u=this.yieldPos,f=this.awaitPos,d;this.yieldPos=0;this.awaitPos=0;while(this.type!==m.parenR){p?p=false:this.expect(m.comma);if(a&&this.afterTrailingComma(m.parenR,true)){c=true;break}else if(this.type===m.ellipsis){d=this.start;h.push(this.parseParenItem(this.parseRestBinding()));if(this.type===m.comma){this.raiseRecoverable(this.start,"Comma is not permitted after the rest element")}break}else{h.push(this.parseMaybeAssign(false,l,this.parseParenItem))}}var g=this.lastTokEnd,x=this.lastTokEndLoc;this.expect(m.parenR);if(e&&this.shouldParseArrow(h)&&this.eat(m.arrow)){this.checkPatternErrors(l,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=u;this.awaitPos=f;return this.parseParenArrowList(i,s,h,t)}if(!h.length||c){this.unexpected(this.lastTokStart)}if(d){this.unexpected(d)}this.checkExpressionErrors(l,true);this.yieldPos=u||this.yieldPos;this.awaitPos=f||this.awaitPos;if(h.length>1){r=this.startNodeAt(n,o);r.expressions=h;this.finishNodeAt(r,"SequenceExpression",g,x)}else{r=h[0]}}else{r=this.parseParenExpression()}if(this.options.preserveParens){var v=this.startNodeAt(i,s);v.expression=r;return this.finishNode(v,"ParenthesizedExpression")}else{return r}};pe.parseParenItem=function(e){return e};pe.parseParenArrowList=function(e,t,i,s){return this.parseArrowExpression(this.startNodeAt(e,t),i,false,s)};var ce=[];pe.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===m.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(m.parenL)){e.arguments=this.parseExprList(m.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=ce}return this.finishNode(e,"NewExpression")};pe.parseTemplateElement=function(e){var t=e.isTagged;var i=this.startNode();if(this.type===m.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}i.value={raw:this.value,cooked:null}}else{i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();i.tail=this.type===m.backQuote;return this.finishNode(i,"TemplateElement")};pe.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===m.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(m.dollarBraceL);i.expressions.push(this.parseExpression());this.expect(m.braceR);i.quasis.push(s=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(i,"TemplateLiteral")};pe.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===m.name||this.type===m.num||this.type===m.string||this.type===m.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===m.star)&&!g.test(this.input.slice(this.lastTokEnd,this.start))};pe.parseObj=function(e,t){var i=this.startNode(),s=true,r={};i.properties=[];this.next();while(!this.eat(m.braceR)){if(!s){this.expect(m.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(m.braceR)){break}}else{s=false}var a=this.parseProperty(e,t);if(!e){this.checkPropClash(a,r,t)}i.properties.push(a)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};pe.parseProperty=function(e,t){var i=this.startNode(),s,r,a,n;if(this.options.ecmaVersion>=9&&this.eat(m.ellipsis)){if(e){i.argument=this.parseIdent(false);if(this.type===m.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===m.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(i,"SpreadElement")}if(this.options.ecmaVersion>=6){i.method=false;i.shorthand=false;if(e||t){a=this.start;n=this.startLoc}if(!e){s=this.eat(m.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(m.star);this.parsePropertyName(i)}else{r=false}this.parsePropertyValue(i,e,s,r,a,n,t,o);return this.finishNode(i,"Property")};pe.parseGetterSetter=function(e){e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var t=e.kind==="get"?0:1;if(e.value.params.length!==t){var i=e.value.start;if(e.kind==="get"){this.raiseRecoverable(i,"getter should have no params")}else{this.raiseRecoverable(i,"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")}}};pe.parsePropertyValue=function(e,t,i,s,r,a,n,o){if((i||s)&&this.type===m.colon){this.unexpected()}if(this.eat(m.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,n);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===m.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(i,s)}else if(!t&&!o&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==m.comma&&this.type!==m.braceR&&this.type!==m.eq)){if(i||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}e.kind="init";if(t){e.value=this.parseMaybeDefault(r,a,this.copyNode(e.key))}else if(this.type===m.eq&&n){if(n.shorthandAssign<0){n.shorthandAssign=this.start}e.value=this.parseMaybeDefault(r,a,this.copyNode(e.key))}else{e.value=this.copyNode(e.key)}e.shorthand=true}else{this.unexpected()}};pe.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(m.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(m.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===m.num||this.type===m.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};pe.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};pe.parseMethod=function(e,t,i){var s=this.startNode(),r=this.yieldPos,a=this.awaitPos,n=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?M:0));this.expect(m.parenL);s.params=this.parseBindingList(m.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(s,false,true,false);this.yieldPos=r;this.awaitPos=a;this.awaitIdentPos=n;return this.finishNode(s,"FunctionExpression")};pe.parseArrowExpression=function(e,t,i,s){var r=this.yieldPos,a=this.awaitPos,n=this.awaitIdentPos;this.enterScope(functionFlags(i,false)|D);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=a;this.awaitIdentPos=n;return this.finishNode(e,"ArrowFunctionExpression")};pe.parseFunctionBody=function(e,t,i,s){var r=t&&this.type!==m.braceL;var a=this.strict,n=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(!a||o){n=this.strictDirective(this.end);if(n&&o){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var h=this.labels;this.labels=[];if(n){this.strict=true}this.checkParams(e,!a&&!n&&!t&&!i&&this.isSimpleParamList(e.params));if(this.strict&&e.id){this.checkLValSimple(e.id,W)}e.body=this.parseBlock(false,undefined,n&&!a);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=h}this.exitScope()};pe.isSimpleParamList=function(e){for(var t=0,i=e;t-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===z){var a=this.currentScope();a.lexical.push(e)}else if(t===H){var n=this.currentScope();if(this.treatFunctionsAsVar){s=n.lexical.indexOf(e)>-1}else{s=n.lexical.indexOf(e)>-1||n.var.indexOf(e)>-1}n.functions.push(e)}else{for(var o=this.scopeStack.length-1;o>=0;--o){var h=this.scopeStack[o];if(h.lexical.indexOf(e)>-1&&!(h.flags&O&&h.lexical[0]===e)||!this.treatFunctionsAsVarInScope(h)&&h.functions.indexOf(e)>-1){s=true;break}h.var.push(e);if(this.inModule&&h.flags&T){delete this.undefinedExports[e]}if(h.flags&U){break}}}if(s){this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")}};ue.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}};ue.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};ue.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&U){return t}}};ue.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&U&&!(t.flags&D)){return t}}};var de=function Node(e,t,i){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new A(e,i)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var me=K.prototype;me.startNode=function(){return new de(this,this.start,this.startLoc)};me.startNodeAt=function(e,t){return new de(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}me.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};me.finishNodeAt=function(e,t,i,s){return finishNodeAt.call(this,e,t,i,s)};me.copyNode=function(e){var t=new de(this,e.start,this.startLoc);for(var i in e){t[i]=e[i]}return t};var ge="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 xe=ge+" Extended_Pictographic";var ve=xe;var ye=ve+" EBase EComp EMod EPres ExtPict";var ke=ye;var be=ke;var _e={9:ge,10:xe,11:ve,12:ye,13:ke,14:be};var Se="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji";var Ce={9:"",10:"",11:"",12:"",13:"",14:Se};var we="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 Ee="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 Ie=Ee+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Ae=Ie+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Pe=Ae+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var Ne=Pe+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";var Te=Ne+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz";var Ve={9:Ee,10:Ie,11:Ae,12:Pe,13:Ne,14:Te};var Le={};function buildUnicodeData(e){var t=Le[e]={binary:wordsRegexp(_e[e]+" "+we),binaryOfStrings:wordsRegexp(Ce[e]),nonBinary:{General_Category:wordsRegexp(we),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 Re=0,De=[9,10,11,12,13,14];Re=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"")+(e.options.ecmaVersion>=15?"v":"");this.unicodeProperties=Le[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=[];this.backReferenceNames=[]};Me.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}};Me.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};Me.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 a=i.charCodeAt(e+1);return a>=56320&&a<=57343?(r<<10)+a-56613888:r};Me.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),a;if(!(t||this.switchU)||r<=55295||r>=57344||e+1>=s||(a=i.charCodeAt(e+1))<56320||a>57343){return e+1}return e+2};Me.prototype.current=function current(e){if(e===void 0)e=false;return this.at(this.pos,e)};Me.prototype.lookahead=function lookahead(e){if(e===void 0)e=false;return this.at(this.nextIndex(this.pos,e),e)};Me.prototype.advance=function advance(e){if(e===void 0)e=false;this.pos=this.nextIndex(this.pos,e)};Me.prototype.eat=function eat(e,t){if(t===void 0)t=false;if(this.current(t)===e){this.advance(t);return true}return false};Me.prototype.eatChars=function eatChars(e,t){if(t===void 0)t=false;var i=this.pos;for(var s=0,r=e;s-1){this.raise(e.start,"Duplicate regular expression flag")}if(n==="u"){s=true}if(n==="v"){r=true}}if(this.options.ecmaVersion>=15&&s&&r){this.raise(e.start,"Invalid regular expression flag")}};Be.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};Be.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,i=e.backReferenceNames;t=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};Be.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};Be.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};Be.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=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};Be.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)};Be.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};Be.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}Be.regexp_eatPatternCharacters=function(e){var t=e.pos;var i=0;while((i=e.current())!==-1&&!isSyntaxCharacter(i)){e.advance()}return e.pos!==t};Be.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};Be.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};Be.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};Be.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};Be.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}Be.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}Be.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};Be.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};Be.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};Be.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)};Be.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};Be.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};Be.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};Be.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}Be.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 a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(n>=56320&&n<=57343){e.lastIntValue=(r-55296)*1024+(n-56320)+65536;return true}}e.pos=a;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}Be.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};Be.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 Fe=0;var Ue=1;var qe=2;Be.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return Ue}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===qe){e.raise("Invalid property name")}return s}e.raise("Invalid property name")}return Fe};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}Be.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 Ue}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,r)}return Fe};Be.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){if(!S(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(i)){e.raise("Invalid property value")}};Be.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t)){return Ue}if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t)){return qe}e.raise("Invalid property name")};Be.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}Be.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)}Be.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};Be.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===qe){e.raise("Negated character class may contain strings")}return true}return false};Be.regexp_classContents=function(e){if(e.current()===93){return Ue}if(e.switchV){return this.regexp_classSetExpression(e)}this.regexp_nonEmptyClassRanges(e);return Ue};Be.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")}}}};Be.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};Be.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)};Be.regexp_classSetExpression=function(e){var t=Ue,i;if(this.regexp_eatClassSetRange(e));else if(i=this.regexp_eatClassSetOperand(e)){if(i===qe){t=qe}var s=e.pos;while(e.eatChars([38,38])){if(e.current()!==38&&(i=this.regexp_eatClassSetOperand(e))){if(i!==qe){t=Ue}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===qe){t=qe}}};Be.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};Be.regexp_eatClassSetOperand=function(e){if(this.regexp_eatClassSetCharacter(e)){return Ue}return this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};Be.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===qe){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};Be.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};Be.regexp_classStringDisjunctionContents=function(e){var t=this.regexp_classString(e);while(e.eat(124)){if(this.regexp_classString(e)===qe){t=qe}}return t};Be.regexp_classString=function(e){var t=0;while(this.regexp_eatClassSetCharacter(e)){t++}return t===1?Ue:qe};Be.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}Be.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}Be.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};Be.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};Be.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}Be.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}Be.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};Be.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}Be.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var s=0;s=this.input.length){return this.finishToken(m.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Ge.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};Ge.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};Ge.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())}};Ge.skipLineComment=function(e){var t=this.pos;var i=this.options.onComment&&this.curPosition();var s=this.input.charCodeAt(this.pos+=e);while(this.pos8&&e<14||e>=5760&&v.test(String.fromCharCode(e))){++this.pos}else{break e}}}};Ge.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)};Ge.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(m.ellipsis)}else{++this.pos;return this.finishToken(m.dot)}};Ge.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(m.assign,2)}return this.finishOp(m.slash,1)};Ge.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;var s=e===42?m.star:m.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++i;s=m.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(m.assign,i+1)}return this.finishOp(s,i)};Ge.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61){return this.finishOp(m.assign,3)}}return this.finishOp(e===124?m.logicalOR:m.logicalAND,2)}if(t===61){return this.finishOp(m.assign,2)}return this.finishOp(e===124?m.bitwiseOR:m.bitwiseAND,1)};Ge.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(m.assign,2)}return this.finishOp(m.bitwiseXOR,1)};Ge.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||g.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(m.incDec,2)}if(t===61){return this.finishOp(m.assign,2)}return this.finishOp(m.plusMin,1)};Ge.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;if(t===e){i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+i)===61){return this.finishOp(m.assign,i+1)}return this.finishOp(m.bitShift,i)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){i=2}return this.finishOp(m.relational,i)};Ge.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(m.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(m.arrow)}return this.finishOp(e===61?m.eq:m.prefix,1)};Ge.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57){return this.finishOp(m.questionDot,2)}}if(t===63){if(e>=12){var s=this.input.charCodeAt(this.pos+2);if(s===61){return this.finishOp(m.assign,3)}}return this.finishOp(m.coalesce,2)}}return this.finishOp(m.question,1)};Ge.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(m.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString(t)+"'")};Ge.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(m.parenL);case 41:++this.pos;return this.finishToken(m.parenR);case 59:++this.pos;return this.finishToken(m.semi);case 44:++this.pos;return this.finishToken(m.comma);case 91:++this.pos;return this.finishToken(m.bracketL);case 93:++this.pos;return this.finishToken(m.bracketR);case 123:++this.pos;return this.finishToken(m.braceL);case 125:++this.pos;return this.finishToken(m.braceR);case 58:++this.pos;return this.finishToken(m.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(m.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(m.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString(e)+"'")};Ge.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,i)};Ge.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(g.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 a=this.pos;var n=this.readWord1();if(this.containsEsc){this.unexpected(a)}var o=this.regexpState||(this.regexpState=new Me(this));o.reset(i,r,n);this.validateRegExpFlags(o);this.validateRegExpPattern(o);var h=null;try{h=new RegExp(r,n)}catch(e){}return this.finishToken(m.regexp,{pattern:r,flags:n,value:h})};Ge.readInt=function(e,t,i){var s=this.options.ecmaVersion>=12&&t===undefined;var r=i&&this.input.charCodeAt(this.pos)===48;var a=this.pos,n=0,o=0;for(var h=0,p=t==null?Infinity:t;h=97){l=c-97+10}else if(c>=65){l=c-65+10}else if(c>=48&&c<=57){l=c-48}else{l=Infinity}if(l>=e){break}o=c;n=n*e+l}if(s&&o===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===a||t!=null&&this.pos-a!==t){return null}return n};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,""))}Ge.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);if(i==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){i=stringToBigInt(this.input.slice(t,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(m.num,i)};Ge.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(m.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 a=stringToNumber(this.input.slice(t,this.pos),i);return this.finishToken(m.num,a)};Ge.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};Ge.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(m.string,t)};var He={};Ge.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===He){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};Ge.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw He}else{this.raise(e,t)}};Ge.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===m.template||this.type===m.invalidTemplate)){if(i===36){this.pos+=2;return this.finishToken(m.dollarBraceL)}else{++this.pos;return this.finishToken(m.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(m.template,e)}if(i===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(i)){e+=this.input.slice(t,this.pos);++this.pos;switch(i){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(i);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};Ge.readInvalidTemplateToken=function(){for(;this.pos=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)){return""}return String.fromCharCode(t)}};Ge.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};Ge.readWord1=function(){this.containsEsc=false;var e="",t=true,i=this.pos;var s=this.options.ecmaVersion>=6;while(this.pos1&&arguments[1]!==undefined?arguments[1]:"i32";var P=v;if(typeof v==="string"){v=v.replace(/_/g,"")}if(typeof v==="number"){return(0,$.numberLiteral)(v,String(P))}else{switch(E){case"i32":{return(0,$.numberLiteral)((0,R.parse32I)(v),String(P))}case"u32":{return(0,$.numberLiteral)((0,R.parseU32)(v),String(P))}case"i64":{return(0,$.longNumberLiteral)((0,R.parse64I)(v),String(P))}case"f32":{return(0,$.floatLiteral)((0,R.parse32F)(v),(0,R.isNanLiteral)(v),(0,R.isInfLiteral)(v),String(P))}default:{return(0,$.floatLiteral)((0,R.parse64F)(v),(0,R.isNanLiteral)(v),(0,R.isInfLiteral)(v),String(P))}}}}function instruction(v){var E=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var P=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,$.instr)(v,undefined,E,P)}function objectInstruction(v,E){var P=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var R=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,$.instr)(v,E,P,R)}function withLoc(v,E,P){var R={start:P,end:E};v.loc=R;return v}function withRaw(v,E){v.raw=E;return v}function funcParam(v,E){return{id:E,valtype:v}}function indexLiteral(v){var E=numberLiteralFromRaw(v,"u32");return E}function memIndexLiteral(v){var E=numberLiteralFromRaw(v,"u32");return E}},92489:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.createPath=createPath;function ownKeys(v,E){var P=Object.keys(v);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(v);if(E){R=R.filter((function(E){return Object.getOwnPropertyDescriptor(v,E).enumerable}))}P.push.apply(P,R)}return P}function _objectSpread(v){for(var E=1;E2&&arguments[2]!==undefined?arguments[2]:0;if(!R){throw new Error("inList"+" error: "+("insert can only be used for nodes that are within lists"||0))}if(!($!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var q=$.node[N];var K=q.findIndex((function(v){return v===P}));q.splice(K+L,0,E)}function remove(v){var E=v.node,P=v.parentKey,R=v.parentPath;if(!(R!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var $=R.node;var N=$[P];if(Array.isArray(N)){$[P]=N.filter((function(v){return v!==E}))}else{delete $[P]}E._deleted=true}function stop(v){v.shouldStop=true}function replaceWith(v,E){var P=v.parentPath.node;var R=P[v.parentKey];if(Array.isArray(R)){var $=R.findIndex((function(E){return E===v.node}));R.splice($,1,E)}else{P[v.parentKey]=E}v.node._deleted=true;v.node=E}function bindNodeOperations(v,E){var P=Object.keys(v);var R={};P.forEach((function(P){R[P]=v[P].bind(null,E)}));return R}function createPathOperations(v){return bindNodeOperations({findParent:findParent,replaceWith:replaceWith,remove:remove,insertBefore:insertBefore,insertAfter:insertAfter,stop:stop},v)}function createPath(v){var E=_objectSpread({},v);Object.assign(E,createPathOperations(E));return E}},860:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.module=_module;E.moduleMetadata=moduleMetadata;E.moduleNameMetadata=moduleNameMetadata;E.functionNameMetadata=functionNameMetadata;E.localNameMetadata=localNameMetadata;E.binaryModule=binaryModule;E.quoteModule=quoteModule;E.sectionMetadata=sectionMetadata;E.producersSectionMetadata=producersSectionMetadata;E.producerMetadata=producerMetadata;E.producerMetadataVersionedName=producerMetadataVersionedName;E.loopInstruction=loopInstruction;E.instr=instr;E.ifInstruction=ifInstruction;E.stringLiteral=stringLiteral;E.numberLiteral=numberLiteral;E.longNumberLiteral=longNumberLiteral;E.floatLiteral=floatLiteral;E.elem=elem;E.indexInFuncSection=indexInFuncSection;E.valtypeLiteral=valtypeLiteral;E.typeInstruction=typeInstruction;E.start=start;E.globalType=globalType;E.leadingComment=leadingComment;E.blockComment=blockComment;E.data=data;E.global=global;E.table=table;E.memory=memory;E.funcImportDescr=funcImportDescr;E.moduleImport=moduleImport;E.moduleExportDescr=moduleExportDescr;E.moduleExport=moduleExport;E.limit=limit;E.signature=signature;E.program=program;E.identifier=identifier;E.blockInstruction=blockInstruction;E.callInstruction=callInstruction;E.callIndirectInstruction=callIndirectInstruction;E.byteArray=byteArray;E.func=func;E.internalBrUnless=internalBrUnless;E.internalGoto=internalGoto;E.internalCallExtern=internalCallExtern;E.internalEndAndReturn=internalEndAndReturn;E.assertInternalCallExtern=E.assertInternalGoto=E.assertInternalBrUnless=E.assertFunc=E.assertByteArray=E.assertCallIndirectInstruction=E.assertCallInstruction=E.assertBlockInstruction=E.assertIdentifier=E.assertProgram=E.assertSignature=E.assertLimit=E.assertModuleExport=E.assertModuleExportDescr=E.assertModuleImport=E.assertFuncImportDescr=E.assertMemory=E.assertTable=E.assertGlobal=E.assertData=E.assertBlockComment=E.assertLeadingComment=E.assertGlobalType=E.assertStart=E.assertTypeInstruction=E.assertValtypeLiteral=E.assertIndexInFuncSection=E.assertElem=E.assertFloatLiteral=E.assertLongNumberLiteral=E.assertNumberLiteral=E.assertStringLiteral=E.assertIfInstruction=E.assertInstr=E.assertLoopInstruction=E.assertProducerMetadataVersionedName=E.assertProducerMetadata=E.assertProducersSectionMetadata=E.assertSectionMetadata=E.assertQuoteModule=E.assertBinaryModule=E.assertLocalNameMetadata=E.assertFunctionNameMetadata=E.assertModuleNameMetadata=E.assertModuleMetadata=E.assertModule=E.isIntrinsic=E.isImportDescr=E.isNumericLiteral=E.isExpression=E.isInstruction=E.isBlock=E.isNode=E.isInternalEndAndReturn=E.isInternalCallExtern=E.isInternalGoto=E.isInternalBrUnless=E.isFunc=E.isByteArray=E.isCallIndirectInstruction=E.isCallInstruction=E.isBlockInstruction=E.isIdentifier=E.isProgram=E.isSignature=E.isLimit=E.isModuleExport=E.isModuleExportDescr=E.isModuleImport=E.isFuncImportDescr=E.isMemory=E.isTable=E.isGlobal=E.isData=E.isBlockComment=E.isLeadingComment=E.isGlobalType=E.isStart=E.isTypeInstruction=E.isValtypeLiteral=E.isIndexInFuncSection=E.isElem=E.isFloatLiteral=E.isLongNumberLiteral=E.isNumberLiteral=E.isStringLiteral=E.isIfInstruction=E.isInstr=E.isLoopInstruction=E.isProducerMetadataVersionedName=E.isProducerMetadata=E.isProducersSectionMetadata=E.isSectionMetadata=E.isQuoteModule=E.isBinaryModule=E.isLocalNameMetadata=E.isFunctionNameMetadata=E.isModuleNameMetadata=E.isModuleMetadata=E.isModule=void 0;E.nodeAndUnionTypes=E.unionTypesMap=E.assertInternalEndAndReturn=void 0;function _typeof(v){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(v){return typeof v}}else{_typeof=function _typeof(v){return v&&typeof Symbol==="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v}}return _typeof(v)}function isTypeOf(v){return function(E){return E.type===v}}function assertTypeOf(v){return function(E){return function(){if(!(E.type===v)){throw new Error("n.type === t"+" error: "+(undefined||"unknown"))}}()}}function _module(v,E,P){if(v!==null&&v!==undefined){if(!(typeof v==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(v)||0))}}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof fields === "object" && typeof fields.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"Module",id:v,fields:E};if(typeof P!=="undefined"){R.metadata=P}return R}function moduleMetadata(v,E,P,R){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof sections === "object" && typeof sections.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(E!==null&&E!==undefined){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof functionNames === "object" && typeof functionNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(P!==null&&P!==undefined){if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof localNames === "object" && typeof localNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var $={type:"ModuleMetadata",sections:v};if(typeof E!=="undefined"&&E.length>0){$.functionNames=E}if(typeof P!=="undefined"&&P.length>0){$.localNames=P}if(typeof R!=="undefined"&&R.length>0){$.producers=R}return $}function moduleNameMetadata(v){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}var E={type:"ModuleNameMetadata",value:v};return E}function functionNameMetadata(v,E){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}if(!(typeof E==="number")){throw new Error('typeof index === "number"'+" error: "+("Argument index must be of type number, given: "+_typeof(E)||0))}var P={type:"FunctionNameMetadata",value:v,index:E};return P}function localNameMetadata(v,E,P){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}if(!(typeof E==="number")){throw new Error('typeof localIndex === "number"'+" error: "+("Argument localIndex must be of type number, given: "+_typeof(E)||0))}if(!(typeof P==="number")){throw new Error('typeof functionIndex === "number"'+" error: "+("Argument functionIndex must be of type number, given: "+_typeof(P)||0))}var R={type:"LocalNameMetadata",value:v,localIndex:E,functionIndex:P};return R}function binaryModule(v,E){if(v!==null&&v!==undefined){if(!(typeof v==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(v)||0))}}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof blob === "object" && typeof blob.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"BinaryModule",id:v,blob:E};return P}function quoteModule(v,E){if(v!==null&&v!==undefined){if(!(typeof v==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(v)||0))}}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof string === "object" && typeof string.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"QuoteModule",id:v,string:E};return P}function sectionMetadata(v,E,P,R){if(!(typeof E==="number")){throw new Error('typeof startOffset === "number"'+" error: "+("Argument startOffset must be of type number, given: "+_typeof(E)||0))}var $={type:"SectionMetadata",section:v,startOffset:E,size:P,vectorOfSize:R};return $}function producersSectionMetadata(v){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"ProducersSectionMetadata",producers:v};return E}function producerMetadata(v,E,P){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof language === "object" && typeof language.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof processedBy === "object" && typeof processedBy.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof sdk === "object" && typeof sdk.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"ProducerMetadata",language:v,processedBy:E,sdk:P};return R}function producerMetadataVersionedName(v,E){if(!(typeof v==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(v)||0))}if(!(typeof E==="string")){throw new Error('typeof version === "string"'+" error: "+("Argument version must be of type string, given: "+_typeof(E)||0))}var P={type:"ProducerMetadataVersionedName",name:v,version:E};return P}function loopInstruction(v,E,P){if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"LoopInstruction",id:"loop",label:v,resulttype:E,instr:P};return R}function instr(v,E,P,R){if(!(typeof v==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(v)||0))}if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof args === "object" && typeof args.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Instr",id:v,args:P};if(typeof E!=="undefined"){$.object=E}if(typeof R!=="undefined"&&Object.keys(R).length!==0){$.namedArgs=R}return $}function ifInstruction(v,E,P,R,$){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof test === "object" && typeof test.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof consequent === "object" && typeof consequent.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof alternate === "object" && typeof alternate.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"IfInstruction",id:"if",testLabel:v,test:E,result:P,consequent:R,alternate:$};return N}function stringLiteral(v){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}var E={type:"StringLiteral",value:v};return E}function numberLiteral(v,E){if(!(typeof v==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(v)||0))}if(!(typeof E==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(E)||0))}var P={type:"NumberLiteral",value:v,raw:E};return P}function longNumberLiteral(v,E){if(!(typeof E==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(E)||0))}var P={type:"LongNumberLiteral",value:v,raw:E};return P}function floatLiteral(v,E,P,R){if(!(typeof v==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(v)||0))}if(E!==null&&E!==undefined){if(!(typeof E==="boolean")){throw new Error('typeof nan === "boolean"'+" error: "+("Argument nan must be of type boolean, given: "+_typeof(E)||0))}}if(P!==null&&P!==undefined){if(!(typeof P==="boolean")){throw new Error('typeof inf === "boolean"'+" error: "+("Argument inf must be of type boolean, given: "+_typeof(P)||0))}}if(!(typeof R==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(R)||0))}var $={type:"FloatLiteral",value:v,raw:R};if(E===true){$.nan=true}if(P===true){$.inf=true}return $}function elem(v,E,P){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof offset === "object" && typeof offset.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof funcs === "object" && typeof funcs.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"Elem",table:v,offset:E,funcs:P};return R}function indexInFuncSection(v){var E={type:"IndexInFuncSection",index:v};return E}function valtypeLiteral(v){var E={type:"ValtypeLiteral",name:v};return E}function typeInstruction(v,E){var P={type:"TypeInstruction",id:v,functype:E};return P}function start(v){var E={type:"Start",index:v};return E}function globalType(v,E){var P={type:"GlobalType",valtype:v,mutability:E};return P}function leadingComment(v){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}var E={type:"LeadingComment",value:v};return E}function blockComment(v){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}var E={type:"BlockComment",value:v};return E}function data(v,E,P){var R={type:"Data",memoryIndex:v,offset:E,init:P};return R}function global(v,E,P){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof init === "object" && typeof init.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"Global",globalType:v,init:E,name:P};return R}function table(v,E,P,R){if(!(E.type==="Limit")){throw new Error('limits.type === "Limit"'+" error: "+("Argument limits must be of type Limit, given: "+E.type||0))}if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof elements === "object" && typeof elements.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var $={type:"Table",elementType:v,limits:E,name:P};if(typeof R!=="undefined"&&R.length>0){$.elements=R}return $}function memory(v,E){var P={type:"Memory",limits:v,id:E};return P}function funcImportDescr(v,E){var P={type:"FuncImportDescr",id:v,signature:E};return P}function moduleImport(v,E,P){if(!(typeof v==="string")){throw new Error('typeof module === "string"'+" error: "+("Argument module must be of type string, given: "+_typeof(v)||0))}if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}var R={type:"ModuleImport",module:v,name:E,descr:P};return R}function moduleExportDescr(v,E){var P={type:"ModuleExportDescr",exportType:v,id:E};return P}function moduleExport(v,E){if(!(typeof v==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(v)||0))}var P={type:"ModuleExport",name:v,descr:E};return P}function limit(v,E,P){if(!(typeof v==="number")){throw new Error('typeof min === "number"'+" error: "+("Argument min must be of type number, given: "+_typeof(v)||0))}if(E!==null&&E!==undefined){if(!(typeof E==="number")){throw new Error('typeof max === "number"'+" error: "+("Argument max must be of type number, given: "+_typeof(E)||0))}}if(P!==null&&P!==undefined){if(!(typeof P==="boolean")){throw new Error('typeof shared === "boolean"'+" error: "+("Argument shared must be of type boolean, given: "+_typeof(P)||0))}}var R={type:"Limit",min:v};if(typeof E!=="undefined"){R.max=E}if(P===true){R.shared=true}return R}function signature(v,E){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof params === "object" && typeof params.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof results === "object" && typeof results.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"Signature",params:v,results:E};return P}function program(v){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"Program",body:v};return E}function identifier(v,E){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(E)||0))}}var P={type:"Identifier",value:v};if(typeof E!=="undefined"){P.raw=E}return P}function blockInstruction(v,E,P){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"BlockInstruction",id:"block",label:v,instr:E,result:P};return R}function callInstruction(v,E,P){if(E!==null&&E!==undefined){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var R={type:"CallInstruction",id:"call",index:v};if(typeof E!=="undefined"&&E.length>0){R.instrArgs=E}if(typeof P!=="undefined"){R.numeric=P}return R}function callIndirectInstruction(v,E){if(E!==null&&E!==undefined){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof intrs === "object" && typeof intrs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var P={type:"CallIndirectInstruction",id:"call_indirect",signature:v};if(typeof E!=="undefined"&&E.length>0){P.intrs=E}return P}function byteArray(v){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof values === "object" && typeof values.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"ByteArray",values:v};return E}function func(v,E,P,R,$){if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(R!==null&&R!==undefined){if(!(typeof R==="boolean")){throw new Error('typeof isExternal === "boolean"'+" error: "+("Argument isExternal must be of type boolean, given: "+_typeof(R)||0))}}var N={type:"Func",name:v,signature:E,body:P};if(R===true){N.isExternal=true}if(typeof $!=="undefined"){N.metadata=$}return N}function internalBrUnless(v){if(!(typeof v==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(v)||0))}var E={type:"InternalBrUnless",target:v};return E}function internalGoto(v){if(!(typeof v==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(v)||0))}var E={type:"InternalGoto",target:v};return E}function internalCallExtern(v){if(!(typeof v==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(v)||0))}var E={type:"InternalCallExtern",target:v};return E}function internalEndAndReturn(){var v={type:"InternalEndAndReturn"};return v}var P=isTypeOf("Module");E.isModule=P;var R=isTypeOf("ModuleMetadata");E.isModuleMetadata=R;var $=isTypeOf("ModuleNameMetadata");E.isModuleNameMetadata=$;var N=isTypeOf("FunctionNameMetadata");E.isFunctionNameMetadata=N;var L=isTypeOf("LocalNameMetadata");E.isLocalNameMetadata=L;var q=isTypeOf("BinaryModule");E.isBinaryModule=q;var K=isTypeOf("QuoteModule");E.isQuoteModule=K;var ae=isTypeOf("SectionMetadata");E.isSectionMetadata=ae;var ge=isTypeOf("ProducersSectionMetadata");E.isProducersSectionMetadata=ge;var be=isTypeOf("ProducerMetadata");E.isProducerMetadata=be;var xe=isTypeOf("ProducerMetadataVersionedName");E.isProducerMetadataVersionedName=xe;var ve=isTypeOf("LoopInstruction");E.isLoopInstruction=ve;var Ae=isTypeOf("Instr");E.isInstr=Ae;var Ie=isTypeOf("IfInstruction");E.isIfInstruction=Ie;var He=isTypeOf("StringLiteral");E.isStringLiteral=He;var Qe=isTypeOf("NumberLiteral");E.isNumberLiteral=Qe;var Je=isTypeOf("LongNumberLiteral");E.isLongNumberLiteral=Je;var Ve=isTypeOf("FloatLiteral");E.isFloatLiteral=Ve;var Ke=isTypeOf("Elem");E.isElem=Ke;var Ye=isTypeOf("IndexInFuncSection");E.isIndexInFuncSection=Ye;var Xe=isTypeOf("ValtypeLiteral");E.isValtypeLiteral=Xe;var Ze=isTypeOf("TypeInstruction");E.isTypeInstruction=Ze;var et=isTypeOf("Start");E.isStart=et;var tt=isTypeOf("GlobalType");E.isGlobalType=tt;var nt=isTypeOf("LeadingComment");E.isLeadingComment=nt;var st=isTypeOf("BlockComment");E.isBlockComment=st;var rt=isTypeOf("Data");E.isData=rt;var ot=isTypeOf("Global");E.isGlobal=ot;var it=isTypeOf("Table");E.isTable=it;var at=isTypeOf("Memory");E.isMemory=at;var ct=isTypeOf("FuncImportDescr");E.isFuncImportDescr=ct;var lt=isTypeOf("ModuleImport");E.isModuleImport=lt;var ut=isTypeOf("ModuleExportDescr");E.isModuleExportDescr=ut;var pt=isTypeOf("ModuleExport");E.isModuleExport=pt;var dt=isTypeOf("Limit");E.isLimit=dt;var ft=isTypeOf("Signature");E.isSignature=ft;var ht=isTypeOf("Program");E.isProgram=ht;var mt=isTypeOf("Identifier");E.isIdentifier=mt;var gt=isTypeOf("BlockInstruction");E.isBlockInstruction=gt;var yt=isTypeOf("CallInstruction");E.isCallInstruction=yt;var bt=isTypeOf("CallIndirectInstruction");E.isCallIndirectInstruction=bt;var xt=isTypeOf("ByteArray");E.isByteArray=xt;var kt=isTypeOf("Func");E.isFunc=kt;var vt=isTypeOf("InternalBrUnless");E.isInternalBrUnless=vt;var wt=isTypeOf("InternalGoto");E.isInternalGoto=wt;var Et=isTypeOf("InternalCallExtern");E.isInternalCallExtern=Et;var At=isTypeOf("InternalEndAndReturn");E.isInternalEndAndReturn=At;var Ct=function isNode(v){return P(v)||R(v)||$(v)||N(v)||L(v)||q(v)||K(v)||ae(v)||ge(v)||be(v)||xe(v)||ve(v)||Ae(v)||Ie(v)||He(v)||Qe(v)||Je(v)||Ve(v)||Ke(v)||Ye(v)||Xe(v)||Ze(v)||et(v)||tt(v)||nt(v)||st(v)||rt(v)||ot(v)||it(v)||at(v)||ct(v)||lt(v)||ut(v)||pt(v)||dt(v)||ft(v)||ht(v)||mt(v)||gt(v)||yt(v)||bt(v)||xt(v)||kt(v)||vt(v)||wt(v)||Et(v)||At(v)};E.isNode=Ct;var St=function isBlock(v){return ve(v)||gt(v)||kt(v)};E.isBlock=St;var _t=function isInstruction(v){return ve(v)||Ae(v)||Ie(v)||Ze(v)||gt(v)||yt(v)||bt(v)};E.isInstruction=_t;var Pt=function isExpression(v){return Ae(v)||He(v)||Qe(v)||Je(v)||Ve(v)||Xe(v)||mt(v)};E.isExpression=Pt;var Mt=function isNumericLiteral(v){return Qe(v)||Je(v)||Ve(v)};E.isNumericLiteral=Mt;var It=function isImportDescr(v){return tt(v)||it(v)||at(v)||ct(v)};E.isImportDescr=It;var Ot=function isIntrinsic(v){return vt(v)||wt(v)||Et(v)||At(v)};E.isIntrinsic=Ot;var Dt=assertTypeOf("Module");E.assertModule=Dt;var Rt=assertTypeOf("ModuleMetadata");E.assertModuleMetadata=Rt;var Tt=assertTypeOf("ModuleNameMetadata");E.assertModuleNameMetadata=Tt;var $t=assertTypeOf("FunctionNameMetadata");E.assertFunctionNameMetadata=$t;var Ft=assertTypeOf("LocalNameMetadata");E.assertLocalNameMetadata=Ft;var jt=assertTypeOf("BinaryModule");E.assertBinaryModule=jt;var Nt=assertTypeOf("QuoteModule");E.assertQuoteModule=Nt;var Lt=assertTypeOf("SectionMetadata");E.assertSectionMetadata=Lt;var Bt=assertTypeOf("ProducersSectionMetadata");E.assertProducersSectionMetadata=Bt;var qt=assertTypeOf("ProducerMetadata");E.assertProducerMetadata=qt;var zt=assertTypeOf("ProducerMetadataVersionedName");E.assertProducerMetadataVersionedName=zt;var Ut=assertTypeOf("LoopInstruction");E.assertLoopInstruction=Ut;var Gt=assertTypeOf("Instr");E.assertInstr=Gt;var Ht=assertTypeOf("IfInstruction");E.assertIfInstruction=Ht;var Wt=assertTypeOf("StringLiteral");E.assertStringLiteral=Wt;var Qt=assertTypeOf("NumberLiteral");E.assertNumberLiteral=Qt;var Jt=assertTypeOf("LongNumberLiteral");E.assertLongNumberLiteral=Jt;var Vt=assertTypeOf("FloatLiteral");E.assertFloatLiteral=Vt;var Kt=assertTypeOf("Elem");E.assertElem=Kt;var Yt=assertTypeOf("IndexInFuncSection");E.assertIndexInFuncSection=Yt;var Xt=assertTypeOf("ValtypeLiteral");E.assertValtypeLiteral=Xt;var Zt=assertTypeOf("TypeInstruction");E.assertTypeInstruction=Zt;var en=assertTypeOf("Start");E.assertStart=en;var tn=assertTypeOf("GlobalType");E.assertGlobalType=tn;var nn=assertTypeOf("LeadingComment");E.assertLeadingComment=nn;var sn=assertTypeOf("BlockComment");E.assertBlockComment=sn;var rn=assertTypeOf("Data");E.assertData=rn;var on=assertTypeOf("Global");E.assertGlobal=on;var an=assertTypeOf("Table");E.assertTable=an;var cn=assertTypeOf("Memory");E.assertMemory=cn;var ln=assertTypeOf("FuncImportDescr");E.assertFuncImportDescr=ln;var un=assertTypeOf("ModuleImport");E.assertModuleImport=un;var pn=assertTypeOf("ModuleExportDescr");E.assertModuleExportDescr=pn;var dn=assertTypeOf("ModuleExport");E.assertModuleExport=dn;var hn=assertTypeOf("Limit");E.assertLimit=hn;var mn=assertTypeOf("Signature");E.assertSignature=mn;var gn=assertTypeOf("Program");E.assertProgram=gn;var yn=assertTypeOf("Identifier");E.assertIdentifier=yn;var bn=assertTypeOf("BlockInstruction");E.assertBlockInstruction=bn;var xn=assertTypeOf("CallInstruction");E.assertCallInstruction=xn;var kn=assertTypeOf("CallIndirectInstruction");E.assertCallIndirectInstruction=kn;var vn=assertTypeOf("ByteArray");E.assertByteArray=vn;var wn=assertTypeOf("Func");E.assertFunc=wn;var En=assertTypeOf("InternalBrUnless");E.assertInternalBrUnless=En;var An=assertTypeOf("InternalGoto");E.assertInternalGoto=An;var Cn=assertTypeOf("InternalCallExtern");E.assertInternalCallExtern=Cn;var Sn=assertTypeOf("InternalEndAndReturn");E.assertInternalEndAndReturn=Sn;var _n={Module:["Node"],ModuleMetadata:["Node"],ModuleNameMetadata:["Node"],FunctionNameMetadata:["Node"],LocalNameMetadata:["Node"],BinaryModule:["Node"],QuoteModule:["Node"],SectionMetadata:["Node"],ProducersSectionMetadata:["Node"],ProducerMetadata:["Node"],ProducerMetadataVersionedName:["Node"],LoopInstruction:["Node","Block","Instruction"],Instr:["Node","Expression","Instruction"],IfInstruction:["Node","Instruction"],StringLiteral:["Node","Expression"],NumberLiteral:["Node","NumericLiteral","Expression"],LongNumberLiteral:["Node","NumericLiteral","Expression"],FloatLiteral:["Node","NumericLiteral","Expression"],Elem:["Node"],IndexInFuncSection:["Node"],ValtypeLiteral:["Node","Expression"],TypeInstruction:["Node","Instruction"],Start:["Node"],GlobalType:["Node","ImportDescr"],LeadingComment:["Node"],BlockComment:["Node"],Data:["Node"],Global:["Node"],Table:["Node","ImportDescr"],Memory:["Node","ImportDescr"],FuncImportDescr:["Node","ImportDescr"],ModuleImport:["Node"],ModuleExportDescr:["Node"],ModuleExport:["Node"],Limit:["Node"],Signature:["Node"],Program:["Node"],Identifier:["Node","Expression"],BlockInstruction:["Node","Block","Instruction"],CallInstruction:["Node","Instruction"],CallIndirectInstruction:["Node","Instruction"],ByteArray:["Node"],Func:["Node","Block"],InternalBrUnless:["Node","Intrinsic"],InternalGoto:["Node","Intrinsic"],InternalCallExtern:["Node","Intrinsic"],InternalEndAndReturn:["Node","Intrinsic"]};E.unionTypesMap=_n;var Pn=["Module","ModuleMetadata","ModuleNameMetadata","FunctionNameMetadata","LocalNameMetadata","BinaryModule","QuoteModule","SectionMetadata","ProducersSectionMetadata","ProducerMetadata","ProducerMetadataVersionedName","LoopInstruction","Instr","IfInstruction","StringLiteral","NumberLiteral","LongNumberLiteral","FloatLiteral","Elem","IndexInFuncSection","ValtypeLiteral","TypeInstruction","Start","GlobalType","LeadingComment","BlockComment","Data","Global","Table","Memory","FuncImportDescr","ModuleImport","ModuleExportDescr","ModuleExport","Limit","Signature","Program","Identifier","BlockInstruction","CallInstruction","CallIndirectInstruction","ByteArray","Func","InternalBrUnless","InternalGoto","InternalCallExtern","InternalEndAndReturn","Node","Block","Instruction","Expression","NumericLiteral","ImportDescr","Intrinsic"];E.nodeAndUnionTypes=Pn},96395:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.signatures=void 0;function sign(v,E){return[v,E]}var P="u32";var R="i32";var $="i64";var N="f32";var L="f64";var q=function vector(v){var E=[v];E.vector=true;return E};var K={unreachable:sign([],[]),nop:sign([],[]),br:sign([P],[]),br_if:sign([P],[]),br_table:sign(q(P),[]),return:sign([],[]),call:sign([P],[]),call_indirect:sign([P],[])};var ae={drop:sign([],[]),select:sign([],[])};var ge={get_local:sign([P],[]),set_local:sign([P],[]),tee_local:sign([P],[]),get_global:sign([P],[]),set_global:sign([P],[])};var be={"i32.load":sign([P,P],[R]),"i64.load":sign([P,P],[]),"f32.load":sign([P,P],[]),"f64.load":sign([P,P],[]),"i32.load8_s":sign([P,P],[R]),"i32.load8_u":sign([P,P],[R]),"i32.load16_s":sign([P,P],[R]),"i32.load16_u":sign([P,P],[R]),"i64.load8_s":sign([P,P],[$]),"i64.load8_u":sign([P,P],[$]),"i64.load16_s":sign([P,P],[$]),"i64.load16_u":sign([P,P],[$]),"i64.load32_s":sign([P,P],[$]),"i64.load32_u":sign([P,P],[$]),"i32.store":sign([P,P],[]),"i64.store":sign([P,P],[]),"f32.store":sign([P,P],[]),"f64.store":sign([P,P],[]),"i32.store8":sign([P,P],[]),"i32.store16":sign([P,P],[]),"i64.store8":sign([P,P],[]),"i64.store16":sign([P,P],[]),"i64.store32":sign([P,P],[]),current_memory:sign([],[]),grow_memory:sign([],[])};var xe={"i32.const":sign([R],[R]),"i64.const":sign([$],[$]),"f32.const":sign([N],[N]),"f64.const":sign([L],[L]),"i32.eqz":sign([R],[R]),"i32.eq":sign([R,R],[R]),"i32.ne":sign([R,R],[R]),"i32.lt_s":sign([R,R],[R]),"i32.lt_u":sign([R,R],[R]),"i32.gt_s":sign([R,R],[R]),"i32.gt_u":sign([R,R],[R]),"i32.le_s":sign([R,R],[R]),"i32.le_u":sign([R,R],[R]),"i32.ge_s":sign([R,R],[R]),"i32.ge_u":sign([R,R],[R]),"i64.eqz":sign([$],[$]),"i64.eq":sign([$,$],[R]),"i64.ne":sign([$,$],[R]),"i64.lt_s":sign([$,$],[R]),"i64.lt_u":sign([$,$],[R]),"i64.gt_s":sign([$,$],[R]),"i64.gt_u":sign([$,$],[R]),"i64.le_s":sign([$,$],[R]),"i64.le_u":sign([$,$],[R]),"i64.ge_s":sign([$,$],[R]),"i64.ge_u":sign([$,$],[R]),"f32.eq":sign([N,N],[R]),"f32.ne":sign([N,N],[R]),"f32.lt":sign([N,N],[R]),"f32.gt":sign([N,N],[R]),"f32.le":sign([N,N],[R]),"f32.ge":sign([N,N],[R]),"f64.eq":sign([L,L],[R]),"f64.ne":sign([L,L],[R]),"f64.lt":sign([L,L],[R]),"f64.gt":sign([L,L],[R]),"f64.le":sign([L,L],[R]),"f64.ge":sign([L,L],[R]),"i32.clz":sign([R],[R]),"i32.ctz":sign([R],[R]),"i32.popcnt":sign([R],[R]),"i32.add":sign([R,R],[R]),"i32.sub":sign([R,R],[R]),"i32.mul":sign([R,R],[R]),"i32.div_s":sign([R,R],[R]),"i32.div_u":sign([R,R],[R]),"i32.rem_s":sign([R,R],[R]),"i32.rem_u":sign([R,R],[R]),"i32.and":sign([R,R],[R]),"i32.or":sign([R,R],[R]),"i32.xor":sign([R,R],[R]),"i32.shl":sign([R,R],[R]),"i32.shr_s":sign([R,R],[R]),"i32.shr_u":sign([R,R],[R]),"i32.rotl":sign([R,R],[R]),"i32.rotr":sign([R,R],[R]),"i64.clz":sign([$],[$]),"i64.ctz":sign([$],[$]),"i64.popcnt":sign([$],[$]),"i64.add":sign([$,$],[$]),"i64.sub":sign([$,$],[$]),"i64.mul":sign([$,$],[$]),"i64.div_s":sign([$,$],[$]),"i64.div_u":sign([$,$],[$]),"i64.rem_s":sign([$,$],[$]),"i64.rem_u":sign([$,$],[$]),"i64.and":sign([$,$],[$]),"i64.or":sign([$,$],[$]),"i64.xor":sign([$,$],[$]),"i64.shl":sign([$,$],[$]),"i64.shr_s":sign([$,$],[$]),"i64.shr_u":sign([$,$],[$]),"i64.rotl":sign([$,$],[$]),"i64.rotr":sign([$,$],[$]),"f32.abs":sign([N],[N]),"f32.neg":sign([N],[N]),"f32.ceil":sign([N],[N]),"f32.floor":sign([N],[N]),"f32.trunc":sign([N],[N]),"f32.nearest":sign([N],[N]),"f32.sqrt":sign([N],[N]),"f32.add":sign([N,N],[N]),"f32.sub":sign([N,N],[N]),"f32.mul":sign([N,N],[N]),"f32.div":sign([N,N],[N]),"f32.min":sign([N,N],[N]),"f32.max":sign([N,N],[N]),"f32.copysign":sign([N,N],[N]),"f64.abs":sign([L],[L]),"f64.neg":sign([L],[L]),"f64.ceil":sign([L],[L]),"f64.floor":sign([L],[L]),"f64.trunc":sign([L],[L]),"f64.nearest":sign([L],[L]),"f64.sqrt":sign([L],[L]),"f64.add":sign([L,L],[L]),"f64.sub":sign([L,L],[L]),"f64.mul":sign([L,L],[L]),"f64.div":sign([L,L],[L]),"f64.min":sign([L,L],[L]),"f64.max":sign([L,L],[L]),"f64.copysign":sign([L,L],[L]),"i32.wrap/i64":sign([$],[R]),"i32.trunc_s/f32":sign([N],[R]),"i32.trunc_u/f32":sign([N],[R]),"i32.trunc_s/f64":sign([N],[R]),"i32.trunc_u/f64":sign([L],[R]),"i64.extend_s/i32":sign([R],[$]),"i64.extend_u/i32":sign([R],[$]),"i64.trunc_s/f32":sign([N],[$]),"i64.trunc_u/f32":sign([N],[$]),"i64.trunc_s/f64":sign([L],[$]),"i64.trunc_u/f64":sign([L],[$]),"f32.convert_s/i32":sign([R],[N]),"f32.convert_u/i32":sign([R],[N]),"f32.convert_s/i64":sign([$],[N]),"f32.convert_u/i64":sign([$],[N]),"f32.demote/f64":sign([L],[N]),"f64.convert_s/i32":sign([R],[L]),"f64.convert_u/i32":sign([R],[L]),"f64.convert_s/i64":sign([$],[L]),"f64.convert_u/i64":sign([$],[L]),"f64.promote/f32":sign([N],[L]),"i32.reinterpret/f32":sign([N],[R]),"i64.reinterpret/f64":sign([L],[$]),"f32.reinterpret/i32":sign([R],[N]),"f64.reinterpret/i64":sign([$],[L])};var ve=Object.assign({},K,ae,ge,be,xe);E.signatures=ve},15067:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.moduleContextFromModuleAST=moduleContextFromModuleAST;E.ModuleContext=void 0;var R=P(860);function _classCallCheck(v,E){if(!(v instanceof E)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(v,E){for(var P=0;Pv&&v>=0}},{key:"getLabel",value:function getLabel(v){return this.labels[v]}},{key:"popLabel",value:function popLabel(){this.labels.shift()}},{key:"hasLocal",value:function hasLocal(v){return typeof this.getLocal(v)!=="undefined"}},{key:"getLocal",value:function getLocal(v){return this.locals[v]}},{key:"addLocal",value:function addLocal(v){this.locals.push(v)}},{key:"addType",value:function addType(v){if(!(v.functype.type==="Signature")){throw new Error('type.functype.type === "Signature"'+" error: "+(undefined||"unknown"))}this.types.push(v.functype)}},{key:"hasType",value:function hasType(v){return this.types[v]!==undefined}},{key:"getType",value:function getType(v){return this.types[v]}},{key:"hasGlobal",value:function hasGlobal(v){return this.globals.length>v&&v>=0}},{key:"getGlobal",value:function getGlobal(v){return this.globals[v].type}},{key:"getGlobalOffsetByIdentifier",value:function getGlobalOffsetByIdentifier(v){if(!(typeof v==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.globalsOffsetByIdentifier[v]}},{key:"defineGlobal",value:function defineGlobal(v){var E=v.globalType.valtype;var P=v.globalType.mutability;this.globals.push({type:E,mutability:P});if(typeof v.name!=="undefined"){this.globalsOffsetByIdentifier[v.name.value]=this.globals.length-1}}},{key:"importGlobal",value:function importGlobal(v,E){this.globals.push({type:v,mutability:E})}},{key:"isMutableGlobal",value:function isMutableGlobal(v){return this.globals[v].mutability==="var"}},{key:"isImmutableGlobal",value:function isImmutableGlobal(v){return this.globals[v].mutability==="const"}},{key:"hasMemory",value:function hasMemory(v){return this.mems.length>v&&v>=0}},{key:"addMemory",value:function addMemory(v,E){this.mems.push({min:v,max:E})}},{key:"getMemory",value:function getMemory(v){return this.mems[v]}}]);return ModuleContext}();E.ModuleContext=$},11885:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.traverse=traverse;var R=P(92489);var $=P(860);function walk(v,E){var P=false;function innerWalk(v,E){if(P){return}var $=v.node;if($===undefined){console.warn("traversing with an empty context");return}if($._deleted===true){return}var N=(0,R.createPath)(v);E($.type,N);if(N.shouldStop){P=true;return}Object.keys($).forEach((function(v){var P=$[v];if(P===null||P===undefined){return}var R=Array.isArray(P)?P:[P];R.forEach((function(R){if(typeof R.type==="string"){var $={node:R,parentKey:v,parentPath:N,shouldStop:false,inList:Array.isArray(P)};innerWalk($,E)}}))}))}innerWalk(v,E)}var N=function noop(){};function traverse(v,E){var P=arguments.length>2&&arguments[2]!==undefined?arguments[2]:N;var R=arguments.length>3&&arguments[3]!==undefined?arguments[3]:N;Object.keys(E).forEach((function(v){if(!$.nodeAndUnionTypes.includes(v)){throw new Error("Unexpected visitor ".concat(v))}}));var L={node:v,inList:false,shouldStop:false,parentPath:null,parentKey:null};walk(L,(function(v,N){if(typeof E[v]==="function"){P(v,N);E[v](N);R(v,N)}var L=$.unionTypesMap[v];if(!L){throw new Error("Unexpected node type ".concat(v))}L.forEach((function(v){if(typeof E[v]==="function"){P(v,N);E[v](N);R(v,N)}}))}))}},20885:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.isAnonymous=isAnonymous;E.getSectionMetadata=getSectionMetadata;E.getSectionMetadatas=getSectionMetadatas;E.sortSectionMetadata=sortSectionMetadata;E.orderedInsertNode=orderedInsertNode;E.assertHasLoc=assertHasLoc;E.getEndOfSection=getEndOfSection;E.shiftLoc=shiftLoc;E.shiftSection=shiftSection;E.signatureForOpcode=signatureForOpcode;E.getUniqueNameGenerator=getUniqueNameGenerator;E.getStartByteOffset=getStartByteOffset;E.getEndByteOffset=getEndByteOffset;E.getFunctionBeginingByteOffset=getFunctionBeginingByteOffset;E.getEndBlockByteOffset=getEndBlockByteOffset;E.getStartBlockByteOffset=getStartBlockByteOffset;var R=P(96395);var $=P(11885);var N=_interopRequireWildcard(P(94545));function _getRequireWildcardCache(v){if(typeof WeakMap!=="function")return null;var E=new WeakMap;var P=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(v){return v?P:E})(v)}function _interopRequireWildcard(v,E){if(!E&&v&&v.__esModule){return v}if(v===null||_typeof(v)!=="object"&&typeof v!=="function"){return{default:v}}var P=_getRequireWildcardCache(E);if(P&&P.has(v)){return P.get(v)}var R={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in v){if(N!=="default"&&Object.prototype.hasOwnProperty.call(v,N)){var L=$?Object.getOwnPropertyDescriptor(v,N):null;if(L&&(L.get||L.set)){Object.defineProperty(R,N,L)}else{R[N]=v[N]}}}R["default"]=v;if(P){P.set(v,R)}return R}function _slicedToArray(v,E){return _arrayWithHoles(v)||_iterableToArrayLimit(v,E)||_unsupportedIterableToArray(v,E)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(v,E){if(!v)return;if(typeof v==="string")return _arrayLikeToArray(v,E);var P=Object.prototype.toString.call(v).slice(8,-1);if(P==="Object"&&v.constructor)P=v.constructor.name;if(P==="Map"||P==="Set")return Array.from(v);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return _arrayLikeToArray(v,E)}function _arrayLikeToArray(v,E){if(E==null||E>v.length)E=v.length;for(var P=0,R=new Array(E);P0&&arguments[0]!==undefined?arguments[0]:"temp";if(!(E in v)){v[E]=0}else{v[E]=v[E]+1}return E+"_"+v[E]}}function getStartByteOffset(v){if(typeof v.loc==="undefined"||typeof v.loc.start==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+String(v.id))}return v.loc.start.column}function getEndByteOffset(v){if(typeof v.loc==="undefined"||typeof v.loc.end==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+v.type)}return v.loc.end.column}function getFunctionBeginingByteOffset(v){if(!(v.body.length>0)){throw new Error("n.body.length > 0"+" error: "+(undefined||"unknown"))}var E=_slicedToArray(v.body,1),P=E[0];return getStartByteOffset(P)}function getEndBlockByteOffset(v){if(!(v.instr.length>0||v.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var E;if(v.instr){E=v.instr[v.instr.length-1]}if(v.body){E=v.body[v.body.length-1]}if(!(_typeof(E)==="object")){throw new Error('typeof lastInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(E)}function getStartBlockByteOffset(v){if(!(v.instr.length>0||v.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var E;if(v.instr){var P=_slicedToArray(v.instr,1);E=P[0]}if(v.body){var R=_slicedToArray(v.body,1);E=R[0]}if(!(_typeof(E)==="object")){throw new Error('typeof fistInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(E)}},31209:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E["default"]=parse;function parse(v){v=v.toUpperCase();var E=v.indexOf("P");var P,R;if(E!==-1){P=v.substring(0,E);R=parseInt(v.substring(E+1))}else{P=v;R=0}var $=P.indexOf(".");if($!==-1){var N=parseInt(P.substring(0,$),16);var L=Math.sign(N);N=L*N;var q=P.length-$-1;var K=parseInt(P.substring($+1),16);var ae=q>0?K/Math.pow(16,q):0;if(L===0){if(ae===0){P=L}else{if(Object.is(L,-0)){P=-ae}else{P=ae}}}else{P=L*(N+ae)}}else{P=parseInt(P,16)}return P*(E!==-1?Math.pow(2,R):1)}},28513:function(v,E){"use strict";function _typeof(v){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(v){return typeof v}}else{_typeof=function _typeof(v){return v&&typeof Symbol==="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v}}return _typeof(v)}Object.defineProperty(E,"__esModule",{value:true});E.LinkError=E.CompileError=E.RuntimeError=void 0;function _classCallCheck(v,E){if(!(v instanceof E)){throw new TypeError("Cannot call a class as a function")}}function _inherits(v,E){if(typeof E!=="function"&&E!==null){throw new TypeError("Super expression must either be null or a function")}v.prototype=Object.create(E&&E.prototype,{constructor:{value:v,writable:true,configurable:true}});if(E)_setPrototypeOf(v,E)}function _createSuper(v){var E=_isNativeReflectConstruct();return function _createSuperInternal(){var P=_getPrototypeOf(v),R;if(E){var $=_getPrototypeOf(this).constructor;R=Reflect.construct(P,arguments,$)}else{R=P.apply(this,arguments)}return _possibleConstructorReturn(this,R)}}function _possibleConstructorReturn(v,E){if(E&&(_typeof(E)==="object"||typeof E==="function")){return E}else if(E!==void 0){throw new TypeError("Derived constructors may only return object or undefined")}return _assertThisInitialized(v)}function _assertThisInitialized(v){if(v===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return v}function _wrapNativeSuper(v){var E=typeof Map==="function"?new Map:undefined;_wrapNativeSuper=function _wrapNativeSuper(v){if(v===null||!_isNativeFunction(v))return v;if(typeof v!=="function"){throw new TypeError("Super expression must either be null or a function")}if(typeof E!=="undefined"){if(E.has(v))return E.get(v);E.set(v,Wrapper)}function Wrapper(){return _construct(v,arguments,_getPrototypeOf(this).constructor)}Wrapper.prototype=Object.create(v.prototype,{constructor:{value:Wrapper,enumerable:false,writable:true,configurable:true}});return _setPrototypeOf(Wrapper,v)};return _wrapNativeSuper(v)}function _construct(v,E,P){if(_isNativeReflectConstruct()){_construct=Reflect.construct}else{_construct=function _construct(v,E,P){var R=[null];R.push.apply(R,E);var $=Function.bind.apply(v,R);var N=new $;if(P)_setPrototypeOf(N,P.prototype);return N}}return _construct.apply(null,arguments)}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})));return true}catch(v){return false}}function _isNativeFunction(v){return Function.toString.call(v).indexOf("[native code]")!==-1}function _setPrototypeOf(v,E){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(v,E){v.__proto__=E;return v};return _setPrototypeOf(v,E)}function _getPrototypeOf(v){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(v){return v.__proto__||Object.getPrototypeOf(v)};return _getPrototypeOf(v)}var P=function(v){_inherits(RuntimeError,v);var E=_createSuper(RuntimeError);function RuntimeError(){_classCallCheck(this,RuntimeError);return E.apply(this,arguments)}return RuntimeError}(_wrapNativeSuper(Error));E.RuntimeError=P;var R=function(v){_inherits(CompileError,v);var E=_createSuper(CompileError);function CompileError(){_classCallCheck(this,CompileError);return E.apply(this,arguments)}return CompileError}(_wrapNativeSuper(Error));E.CompileError=R;var $=function(v){_inherits(LinkError,v);var E=_createSuper(LinkError);function LinkError(){_classCallCheck(this,LinkError);return E.apply(this,arguments)}return LinkError}(_wrapNativeSuper(Error));E.LinkError=$},97521:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.overrideBytesInBuffer=overrideBytesInBuffer;E.makeBuffer=makeBuffer;E.fromHexdump=fromHexdump;function _toConsumableArray(v){return _arrayWithoutHoles(v)||_iterableToArray(v)||_unsupportedIterableToArray(v)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(v,E){if(!v)return;if(typeof v==="string")return _arrayLikeToArray(v,E);var P=Object.prototype.toString.call(v).slice(8,-1);if(P==="Object"&&v.constructor)P=v.constructor.name;if(P==="Map"||P==="Set")return Array.from(v);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return _arrayLikeToArray(v,E)}function _iterableToArray(v){if(typeof Symbol!=="undefined"&&v[Symbol.iterator]!=null||v["@@iterator"]!=null)return Array.from(v)}function _arrayWithoutHoles(v){if(Array.isArray(v))return _arrayLikeToArray(v)}function _arrayLikeToArray(v,E){if(E==null||E>v.length)E=v.length;for(var P=0,R=new Array(E);P1&&arguments[1]!==undefined?arguments[1]:function(v){return v};var P={};var R=Object.keys(v);for(var $=0,N=R.length;$2&&arguments[2]!==undefined?arguments[2]:0;return{name:v,object:E,numberOfArgs:P}}function createSymbol(v){var E=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return{name:v,numberOfArgs:E}}var q={func:96,result:64};var K={0:"Func",1:"Table",2:"Memory",3:"Global"};var ae=invertMap(K);var ge={127:"i32",126:"i64",125:"f32",124:"f64",123:"v128"};var be=invertMap(ge);var xe={112:"anyfunc"};var ve=Object.assign({},ge,{64:null,127:"i32",126:"i64",125:"f32",124:"f64"});var Ae={0:"const",1:"var"};var Ie=invertMap(Ae);var He={0:"func",1:"table",2:"memory",3:"global"};var Qe={custom:0,type:1,import:2,func:3,table:4,memory:5,global:6,export:7,start:8,element:9,code:10,data:11};var Je={0:createSymbol("unreachable"),1:createSymbol("nop"),2:createSymbol("block"),3:createSymbol("loop"),4:createSymbol("if"),5:createSymbol("else"),6:$,7:$,8:$,9:$,10:$,11:createSymbol("end"),12:createSymbol("br",1),13:createSymbol("br_if",1),14:createSymbol("br_table"),15:createSymbol("return"),16:createSymbol("call",1),17:createSymbol("call_indirect",2),18:$,19:$,20:$,21:$,22:$,23:$,24:$,25:$,26:createSymbol("drop"),27:createSymbol("select"),28:$,29:$,30:$,31:$,32:createSymbol("get_local",1),33:createSymbol("set_local",1),34:createSymbol("tee_local",1),35:createSymbol("get_global",1),36:createSymbol("set_global",1),37:$,38:$,39:$,40:createSymbolObject("load","u32",1),41:createSymbolObject("load","u64",1),42:createSymbolObject("load","f32",1),43:createSymbolObject("load","f64",1),44:createSymbolObject("load8_s","u32",1),45:createSymbolObject("load8_u","u32",1),46:createSymbolObject("load16_s","u32",1),47:createSymbolObject("load16_u","u32",1),48:createSymbolObject("load8_s","u64",1),49:createSymbolObject("load8_u","u64",1),50:createSymbolObject("load16_s","u64",1),51:createSymbolObject("load16_u","u64",1),52:createSymbolObject("load32_s","u64",1),53:createSymbolObject("load32_u","u64",1),54:createSymbolObject("store","u32",1),55:createSymbolObject("store","u64",1),56:createSymbolObject("store","f32",1),57:createSymbolObject("store","f64",1),58:createSymbolObject("store8","u32",1),59:createSymbolObject("store16","u32",1),60:createSymbolObject("store8","u64",1),61:createSymbolObject("store16","u64",1),62:createSymbolObject("store32","u64",1),63:createSymbolObject("current_memory"),64:createSymbolObject("grow_memory"),65:createSymbolObject("const","i32",1),66:createSymbolObject("const","i64",1),67:createSymbolObject("const","f32",1),68:createSymbolObject("const","f64",1),69:createSymbolObject("eqz","i32"),70:createSymbolObject("eq","i32"),71:createSymbolObject("ne","i32"),72:createSymbolObject("lt_s","i32"),73:createSymbolObject("lt_u","i32"),74:createSymbolObject("gt_s","i32"),75:createSymbolObject("gt_u","i32"),76:createSymbolObject("le_s","i32"),77:createSymbolObject("le_u","i32"),78:createSymbolObject("ge_s","i32"),79:createSymbolObject("ge_u","i32"),80:createSymbolObject("eqz","i64"),81:createSymbolObject("eq","i64"),82:createSymbolObject("ne","i64"),83:createSymbolObject("lt_s","i64"),84:createSymbolObject("lt_u","i64"),85:createSymbolObject("gt_s","i64"),86:createSymbolObject("gt_u","i64"),87:createSymbolObject("le_s","i64"),88:createSymbolObject("le_u","i64"),89:createSymbolObject("ge_s","i64"),90:createSymbolObject("ge_u","i64"),91:createSymbolObject("eq","f32"),92:createSymbolObject("ne","f32"),93:createSymbolObject("lt","f32"),94:createSymbolObject("gt","f32"),95:createSymbolObject("le","f32"),96:createSymbolObject("ge","f32"),97:createSymbolObject("eq","f64"),98:createSymbolObject("ne","f64"),99:createSymbolObject("lt","f64"),100:createSymbolObject("gt","f64"),101:createSymbolObject("le","f64"),102:createSymbolObject("ge","f64"),103:createSymbolObject("clz","i32"),104:createSymbolObject("ctz","i32"),105:createSymbolObject("popcnt","i32"),106:createSymbolObject("add","i32"),107:createSymbolObject("sub","i32"),108:createSymbolObject("mul","i32"),109:createSymbolObject("div_s","i32"),110:createSymbolObject("div_u","i32"),111:createSymbolObject("rem_s","i32"),112:createSymbolObject("rem_u","i32"),113:createSymbolObject("and","i32"),114:createSymbolObject("or","i32"),115:createSymbolObject("xor","i32"),116:createSymbolObject("shl","i32"),117:createSymbolObject("shr_s","i32"),118:createSymbolObject("shr_u","i32"),119:createSymbolObject("rotl","i32"),120:createSymbolObject("rotr","i32"),121:createSymbolObject("clz","i64"),122:createSymbolObject("ctz","i64"),123:createSymbolObject("popcnt","i64"),124:createSymbolObject("add","i64"),125:createSymbolObject("sub","i64"),126:createSymbolObject("mul","i64"),127:createSymbolObject("div_s","i64"),128:createSymbolObject("div_u","i64"),129:createSymbolObject("rem_s","i64"),130:createSymbolObject("rem_u","i64"),131:createSymbolObject("and","i64"),132:createSymbolObject("or","i64"),133:createSymbolObject("xor","i64"),134:createSymbolObject("shl","i64"),135:createSymbolObject("shr_s","i64"),136:createSymbolObject("shr_u","i64"),137:createSymbolObject("rotl","i64"),138:createSymbolObject("rotr","i64"),139:createSymbolObject("abs","f32"),140:createSymbolObject("neg","f32"),141:createSymbolObject("ceil","f32"),142:createSymbolObject("floor","f32"),143:createSymbolObject("trunc","f32"),144:createSymbolObject("nearest","f32"),145:createSymbolObject("sqrt","f32"),146:createSymbolObject("add","f32"),147:createSymbolObject("sub","f32"),148:createSymbolObject("mul","f32"),149:createSymbolObject("div","f32"),150:createSymbolObject("min","f32"),151:createSymbolObject("max","f32"),152:createSymbolObject("copysign","f32"),153:createSymbolObject("abs","f64"),154:createSymbolObject("neg","f64"),155:createSymbolObject("ceil","f64"),156:createSymbolObject("floor","f64"),157:createSymbolObject("trunc","f64"),158:createSymbolObject("nearest","f64"),159:createSymbolObject("sqrt","f64"),160:createSymbolObject("add","f64"),161:createSymbolObject("sub","f64"),162:createSymbolObject("mul","f64"),163:createSymbolObject("div","f64"),164:createSymbolObject("min","f64"),165:createSymbolObject("max","f64"),166:createSymbolObject("copysign","f64"),167:createSymbolObject("wrap/i64","i32"),168:createSymbolObject("trunc_s/f32","i32"),169:createSymbolObject("trunc_u/f32","i32"),170:createSymbolObject("trunc_s/f64","i32"),171:createSymbolObject("trunc_u/f64","i32"),172:createSymbolObject("extend_s/i32","i64"),173:createSymbolObject("extend_u/i32","i64"),174:createSymbolObject("trunc_s/f32","i64"),175:createSymbolObject("trunc_u/f32","i64"),176:createSymbolObject("trunc_s/f64","i64"),177:createSymbolObject("trunc_u/f64","i64"),178:createSymbolObject("convert_s/i32","f32"),179:createSymbolObject("convert_u/i32","f32"),180:createSymbolObject("convert_s/i64","f32"),181:createSymbolObject("convert_u/i64","f32"),182:createSymbolObject("demote/f64","f32"),183:createSymbolObject("convert_s/i32","f64"),184:createSymbolObject("convert_u/i32","f64"),185:createSymbolObject("convert_s/i64","f64"),186:createSymbolObject("convert_u/i64","f64"),187:createSymbolObject("promote/f32","f64"),188:createSymbolObject("reinterpret/f32","i32"),189:createSymbolObject("reinterpret/f64","i64"),190:createSymbolObject("reinterpret/i32","f32"),191:createSymbolObject("reinterpret/i64","f64"),65024:createSymbol("memory.atomic.notify",1),65025:createSymbol("memory.atomic.wait32",1),65026:createSymbol("memory.atomic.wait64",1),65040:createSymbolObject("atomic.load","i32",1),65041:createSymbolObject("atomic.load","i64",1),65042:createSymbolObject("atomic.load8_u","i32",1),65043:createSymbolObject("atomic.load16_u","i32",1),65044:createSymbolObject("atomic.load8_u","i64",1),65045:createSymbolObject("atomic.load16_u","i64",1),65046:createSymbolObject("atomic.load32_u","i64",1),65047:createSymbolObject("atomic.store","i32",1),65048:createSymbolObject("atomic.store","i64",1),65049:createSymbolObject("atomic.store8_u","i32",1),65050:createSymbolObject("atomic.store16_u","i32",1),65051:createSymbolObject("atomic.store8_u","i64",1),65052:createSymbolObject("atomic.store16_u","i64",1),65053:createSymbolObject("atomic.store32_u","i64",1),65054:createSymbolObject("atomic.rmw.add","i32",1),65055:createSymbolObject("atomic.rmw.add","i64",1),65056:createSymbolObject("atomic.rmw8_u.add_u","i32",1),65057:createSymbolObject("atomic.rmw16_u.add_u","i32",1),65058:createSymbolObject("atomic.rmw8_u.add_u","i64",1),65059:createSymbolObject("atomic.rmw16_u.add_u","i64",1),65060:createSymbolObject("atomic.rmw32_u.add_u","i64",1),65061:createSymbolObject("atomic.rmw.sub","i32",1),65062:createSymbolObject("atomic.rmw.sub","i64",1),65063:createSymbolObject("atomic.rmw8_u.sub_u","i32",1),65064:createSymbolObject("atomic.rmw16_u.sub_u","i32",1),65065:createSymbolObject("atomic.rmw8_u.sub_u","i64",1),65066:createSymbolObject("atomic.rmw16_u.sub_u","i64",1),65067:createSymbolObject("atomic.rmw32_u.sub_u","i64",1),65068:createSymbolObject("atomic.rmw.and","i32",1),65069:createSymbolObject("atomic.rmw.and","i64",1),65070:createSymbolObject("atomic.rmw8_u.and_u","i32",1),65071:createSymbolObject("atomic.rmw16_u.and_u","i32",1),65072:createSymbolObject("atomic.rmw8_u.and_u","i64",1),65073:createSymbolObject("atomic.rmw16_u.and_u","i64",1),65074:createSymbolObject("atomic.rmw32_u.and_u","i64",1),65075:createSymbolObject("atomic.rmw.or","i32",1),65076:createSymbolObject("atomic.rmw.or","i64",1),65077:createSymbolObject("atomic.rmw8_u.or_u","i32",1),65078:createSymbolObject("atomic.rmw16_u.or_u","i32",1),65079:createSymbolObject("atomic.rmw8_u.or_u","i64",1),65080:createSymbolObject("atomic.rmw16_u.or_u","i64",1),65081:createSymbolObject("atomic.rmw32_u.or_u","i64",1),65082:createSymbolObject("atomic.rmw.xor","i32",1),65083:createSymbolObject("atomic.rmw.xor","i64",1),65084:createSymbolObject("atomic.rmw8_u.xor_u","i32",1),65085:createSymbolObject("atomic.rmw16_u.xor_u","i32",1),65086:createSymbolObject("atomic.rmw8_u.xor_u","i64",1),65087:createSymbolObject("atomic.rmw16_u.xor_u","i64",1),65088:createSymbolObject("atomic.rmw32_u.xor_u","i64",1),65089:createSymbolObject("atomic.rmw.xchg","i32",1),65090:createSymbolObject("atomic.rmw.xchg","i64",1),65091:createSymbolObject("atomic.rmw8_u.xchg_u","i32",1),65092:createSymbolObject("atomic.rmw16_u.xchg_u","i32",1),65093:createSymbolObject("atomic.rmw8_u.xchg_u","i64",1),65094:createSymbolObject("atomic.rmw16_u.xchg_u","i64",1),65095:createSymbolObject("atomic.rmw32_u.xchg_u","i64",1),65096:createSymbolObject("atomic.rmw.cmpxchg","i32",1),65097:createSymbolObject("atomic.rmw.cmpxchg","i64",1),65098:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i32",1),65099:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i32",1),65100:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i64",1),65101:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i64",1),65102:createSymbolObject("atomic.rmw32_u.cmpxchg_u","i64",1)};var Ve=invertMap(Je,(function(v){if(typeof v.object==="string"){return"".concat(v.object,".").concat(v.name)}return v.name}));var Ke={symbolsByByte:Je,sections:Qe,magicModuleHeader:N,moduleVersion:L,types:q,valtypes:ge,exportTypes:K,blockTypes:ve,tableTypes:xe,globalTypes:Ae,importTypes:He,valtypesByString:be,globalTypesByString:Ie,exportTypesByName:ae,symbolsByName:Ve};E["default"]=Ke},32337:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.getSectionForNode=getSectionForNode;function getSectionForNode(v){switch(v.type){case"ModuleImport":return"import";case"CallInstruction":case"CallIndirectInstruction":case"Func":case"Instr":return"code";case"ModuleExport":return"export";case"Start":return"start";case"TypeInstruction":return"type";case"IndexInFuncSection":return"func";case"Global":return"global";default:return}}},36915:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.createEmptySection=createEmptySection;var R=P(87643);var $=P(97521);var N=_interopRequireDefault(P(94545));var L=_interopRequireWildcard(P(26333));function _getRequireWildcardCache(v){if(typeof WeakMap!=="function")return null;var E=new WeakMap;var P=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(v){return v?P:E})(v)}function _interopRequireWildcard(v,E){if(!E&&v&&v.__esModule){return v}if(v===null||_typeof(v)!=="object"&&typeof v!=="function"){return{default:v}}var P=_getRequireWildcardCache(E);if(P&&P.has(v)){return P.get(v)}var R={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in v){if(N!=="default"&&Object.prototype.hasOwnProperty.call(v,N)){var L=$?Object.getOwnPropertyDescriptor(v,N):null;if(L&&(L.get||L.set)){Object.defineProperty(R,N,L)}else{R[N]=v[N]}}}R["default"]=v;if(P){P.set(v,R)}return R}function _interopRequireDefault(v){return v&&v.__esModule?v:{default:v}}function _typeof(v){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(v){return typeof v}}else{_typeof=function _typeof(v){return v&&typeof Symbol==="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v}}return _typeof(v)}function findLastSection(v,E){var P=N["default"].sections[E];var R=v.body[0].metadata.sections;var $;var L=0;for(var q=0,K=R.length;qL&&P32){throw new Error("Bad value for bitLength.")}if(R===undefined){R=0}else if(R!==0&&R!==1){throw new Error("Bad value for defaultBit.")}var $=R*255;var N=0;var L=E+P;var q=Math.floor(E/8);var K=E%8;var ae=Math.floor(L/8);var ge=L%8;if(ge!==0){N=get(ae)&(1<q){ae--;N=N<<8|get(ae)}N>>>=K;return N;function get(E){var P=v[E];return P===undefined?$:P}}function inject(v,E,P,R){if(P<0||P>32){throw new Error("Bad value for bitLength.")}var $=Math.floor((E+P-1)/8);if(E<0||$>=v.length){throw new Error("Index out of range.")}var N=Math.floor(E/8);var L=E%8;while(P>0){if(R&1){v[N]|=1<>=1;P--;L=(L+1)%8;if(L===0){N++}}}function getSign(v){return v[v.length-1]>>>7}function highOrder(v,E){var P=E.length;var R=(v^1)*255;while(P>0&&E[P-1]===R){P--}if(P===0){return-1}var $=E[P-1];var N=P*8-1;for(var L=7;L>0;L--){if(($>>L&1)===v){break}N--}return N}},57386:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.alloc=alloc;E.free=free;E.resize=resize;E.readInt=readInt;E.readUInt=readUInt;E.writeInt64=writeInt64;E.writeUInt64=writeUInt64;var P=[];var R=20;var $=-0x8000000000000000;var N=0x7ffffffffffffc00;var L=0xfffffffffffff800;var q=4294967296;var K=0x10000000000000000;function lowestBit(v){return v&-v}function isLossyToAdd(v,E){if(E===0){return false}var P=lowestBit(E);var R=v+P;if(R===v){return true}if(R-P!==v){return true}return false}function alloc(v){var E=P[v];if(E){P[v]=undefined}else{E=new Buffer(v)}E.fill(0);return E}function free(v){var E=v.length;if(E=0;N--){R=R*256+v[N]}}else{for(var L=E-1;L>=0;L--){var q=v[L];R*=256;if(isLossyToAdd(R,q)){$=true}R+=q}}return{value:R,lossy:$}}function readUInt(v){var E=v.length;var P=0;var R=false;if(E<7){for(var $=E-1;$>=0;$--){P=P*256+v[$]}}else{for(var N=E-1;N>=0;N--){var L=v[N];P*=256;if(isLossyToAdd(P,L)){R=true}P+=L}}return{value:P,lossy:R}}function writeInt64(v,E){if(v<$||v>N){throw new Error("Value out of range.")}if(v<0){v+=K}writeUInt64(v,E)}function writeUInt64(v,E){if(v<0||v>L){throw new Error("Value out of range.")}var P=v%q;var R=Math.floor(v/q);E.writeUInt32LE(P,0);E.writeUInt32LE(R,4)}},54307:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.decodeInt64=decodeInt64;E.decodeUInt64=decodeUInt64;E.decodeInt32=decodeInt32;E.decodeUInt32=decodeUInt32;E.encodeU32=encodeU32;E.encodeI32=encodeI32;E.encodeI64=encodeI64;E.MAX_NUMBER_OF_BYTE_U64=E.MAX_NUMBER_OF_BYTE_U32=void 0;var R=_interopRequireDefault(P(66562));function _interopRequireDefault(v){return v&&v.__esModule?v:{default:v}}var $=5;E.MAX_NUMBER_OF_BYTE_U32=$;var N=10;E.MAX_NUMBER_OF_BYTE_U64=N;function decodeInt64(v,E){return R["default"].decodeInt64(v,E)}function decodeUInt64(v,E){return R["default"].decodeUInt64(v,E)}function decodeInt32(v,E){return R["default"].decodeInt32(v,E)}function decodeUInt32(v,E){return R["default"].decodeUInt32(v,E)}function encodeU32(v){return R["default"].encodeUInt32(v)}function encodeI32(v){return R["default"].encodeInt32(v)}function encodeI64(v){return R["default"].encodeInt64(v)}},66562:function(v,E,P){"use strict";function _typeof(v){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(v){return typeof v}}else{_typeof=function _typeof(v){return v&&typeof Symbol==="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v}}return _typeof(v)}Object.defineProperty(E,"__esModule",{value:true});E["default"]=void 0;var R=_interopRequireDefault(P(85249));var $=_interopRequireWildcard(P(79423));var N=_interopRequireWildcard(P(57386));function _getRequireWildcardCache(v){if(typeof WeakMap!=="function")return null;var E=new WeakMap;var P=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(v){return v?P:E})(v)}function _interopRequireWildcard(v,E){if(!E&&v&&v.__esModule){return v}if(v===null||_typeof(v)!=="object"&&typeof v!=="function"){return{default:v}}var P=_getRequireWildcardCache(E);if(P&&P.has(v)){return P.get(v)}var R={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in v){if(N!=="default"&&Object.prototype.hasOwnProperty.call(v,N)){var L=$?Object.getOwnPropertyDescriptor(v,N):null;if(L&&(L.get||L.set)){Object.defineProperty(R,N,L)}else{R[N]=v[N]}}}R["default"]=v;if(P){P.set(v,R)}return R}function _interopRequireDefault(v){return v&&v.__esModule?v:{default:v}}var L=-2147483648;var q=2147483647;var K=4294967295;function signedBitCount(v){return $.highOrder($.getSign(v)^1,v)+2}function unsignedBitCount(v){var E=$.highOrder(1,v)+1;return E?E:1}function encodeBufferCommon(v,E){var P;var R;if(E){P=$.getSign(v);R=signedBitCount(v)}else{P=0;R=unsignedBitCount(v)}var L=Math.ceil(R/7);var q=N.alloc(L);for(var K=0;K=128){P++}P++;if(E+P>v.length){}return P}function decodeBufferCommon(v,E,P){E=E===undefined?0:E;var R=encodedLength(v,E);var L=R*7;var q=Math.ceil(L/8);var K=N.alloc(q);var ae=0;while(R>0){$.inject(K,ae,7,v[E]);ae+=7;E++;R--}var ge;var be;if(P){var xe=K[q-1];var ve=ae%8;if(ve!==0){var Ae=32-ve;xe=K[q-1]=xe<>Ae&255}ge=xe>>7;be=ge*255}else{ge=0;be=0}while(q>1&&K[q-1]===be&&(!P||K[q-2]>>7===ge)){q--}K=N.resize(K,q);return{value:K,nextIndex:E}}function encodeIntBuffer(v){return encodeBufferCommon(v,true)}function decodeIntBuffer(v,E){return decodeBufferCommon(v,E,true)}function encodeInt32(v){var E=N.alloc(4);E.writeInt32LE(v,0);var P=encodeIntBuffer(E);N.free(E);return P}function decodeInt32(v,E){var P=decodeIntBuffer(v,E);var R=N.readInt(P.value);var $=R.value;N.free(P.value);if($q){throw new Error("integer too large")}return{value:$,nextIndex:P.nextIndex}}function encodeInt64(v){var E=N.alloc(8);N.writeInt64(v,E);var P=encodeIntBuffer(E);N.free(E);return P}function decodeInt64(v,E){var P=decodeIntBuffer(v,E);var $=P.value.length;if(P.value[$-1]>>7){P.value=N.resize(P.value,8);P.value.fill(255,$)}var L=R["default"].fromBytesLE(P.value,false);N.free(P.value);return{value:L,nextIndex:P.nextIndex,lossy:false}}function encodeUIntBuffer(v){return encodeBufferCommon(v,false)}function decodeUIntBuffer(v,E){return decodeBufferCommon(v,E,false)}function encodeUInt32(v){var E=N.alloc(4);E.writeUInt32LE(v,0);var P=encodeUIntBuffer(E);N.free(E);return P}function decodeUInt32(v,E){var P=decodeUIntBuffer(v,E);var R=N.readUInt(P.value);var $=R.value;N.free(P.value);if($>K){throw new Error("integer too large")}return{value:$,nextIndex:P.nextIndex}}function encodeUInt64(v){var E=N.alloc(8);N.writeUInt64(v,E);var P=encodeUIntBuffer(E);N.free(E);return P}function decodeUInt64(v,E){var P=decodeUIntBuffer(v,E);var $=R["default"].fromBytesLE(P.value,true);N.free(P.value);return{value:$,nextIndex:P.nextIndex,lossy:false}}var ae={decodeInt32:decodeInt32,decodeInt64:decodeInt64,decodeIntBuffer:decodeIntBuffer,decodeUInt32:decodeUInt32,decodeUInt64:decodeUInt64,decodeUIntBuffer:decodeUIntBuffer,encodeInt32:encodeInt32,encodeInt64:encodeInt64,encodeIntBuffer:encodeIntBuffer,encodeUInt32:encodeUInt32,encodeUInt64:encodeUInt64,encodeUIntBuffer:encodeUIntBuffer};E["default"]=ae},18126:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.decode=decode;function con(v){if((v&192)===128){return v&63}else{throw new Error("invalid UTF-8 encoding")}}function code(v,E){if(E=65536){throw new Error("invalid UTF-8 encoding")}else{return E}}function decode(v){return _decode(v).map((function(v){return String.fromCharCode(v)})).join("")}function _decode(v){var E=[];while(v.length>0){var P=v[0];if(P<128){E.push(code(0,P));v=v.slice(1);continue}if(P<192){throw new Error("invalid UTF-8 encoding")}var R=v[1];if(P<224){E.push(code(128,((P&31)<<6)+con(R)));v=v.slice(2);continue}var $=v[2];if(P<240){E.push(code(2048,((P&15)<<12)+(con(R)<<6)+con($)));v=v.slice(3);continue}var N=v[3];if(P<248){E.push(code(65536,(((P&7)<<18)+con(R)<<12)+(con($)<<6)+con(N)));v=v.slice(4);continue}throw new Error("invalid UTF-8 encoding")}return E}},24083:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.encode=encode;function _toConsumableArray(v){return _arrayWithoutHoles(v)||_iterableToArray(v)||_unsupportedIterableToArray(v)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _arrayWithoutHoles(v){if(Array.isArray(v))return _arrayLikeToArray(v)}function _toArray(v){return _arrayWithHoles(v)||_iterableToArray(v)||_unsupportedIterableToArray(v)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(v,E){if(!v)return;if(typeof v==="string")return _arrayLikeToArray(v,E);var P=Object.prototype.toString.call(v).slice(8,-1);if(P==="Object"&&v.constructor)P=v.constructor.name;if(P==="Map"||P==="Set")return Array.from(v);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return _arrayLikeToArray(v,E)}function _arrayLikeToArray(v,E){if(E==null||E>v.length)E=v.length;for(var P=0,R=new Array(E);P>>6,con(P)].concat(_toConsumableArray(_encode(R)))}if(P<65536){return[224|P>>>12,con(P>>>6),con(P)].concat(_toConsumableArray(_encode(R)))}if(P<1114112){return[240|P>>>18,con(P>>>12),con(P>>>6),con(P)].concat(_toConsumableArray(_encode(R)))}throw new Error("utf8")}},34114:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});Object.defineProperty(E,"decode",{enumerable:true,get:function get(){return R.decode}});Object.defineProperty(E,"encode",{enumerable:true,get:function get(){return $.encode}});var R=P(18126);var $=P(24083)},25467:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.applyOperations=applyOperations;var R=P(87643);var $=P(49212);var N=P(26333);var L=P(82844);var q=P(97521);var K=P(94545);function _slicedToArray(v,E){return _arrayWithHoles(v)||_iterableToArrayLimit(v,E)||_unsupportedIterableToArray(v,E)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(v,E){if(!v)return;if(typeof v==="string")return _arrayLikeToArray(v,E);var P=Object.prototype.toString.call(v).slice(8,-1);if(P==="Object"&&v.constructor)P=v.constructor.name;if(P==="Map"||P==="Set")return Array.from(v);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return _arrayLikeToArray(v,E)}function _arrayLikeToArray(v,E){if(E==null||E>v.length)E=v.length;for(var P=0,R=new Array(E);P=v.length)return{done:true};return{done:false,value:v[R++]}},e:function e(v){throw v},f:$}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var N=true,L=false,q;return{s:function s(){P=P.call(v)},n:function n(){var v=P.next();N=v.done;return v},e:function e(v){L=true;q=v},f:function f(){try{if(!N&&P["return"]!=null)P["return"]()}finally{if(L)throw q}}}}function _unsupportedIterableToArray(v,E){if(!v)return;if(typeof v==="string")return _arrayLikeToArray(v,E);var P=Object.prototype.toString.call(v).slice(8,-1);if(P==="Object"&&v.constructor)P=v.constructor.name;if(P==="Map"||P==="Set")return Array.from(v);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return _arrayLikeToArray(v,E)}function _arrayLikeToArray(v,E){if(E==null||E>v.length)E=v.length;for(var P=0,R=new Array(E);Pv.length)E=v.length;for(var P=0,R=new Array(E);Pv.length)E=v.length;for(var P=0,R=new Array(E);P=P.length}function eatBytes(v){ge=ge+v}function readBytesAtOffset(v,E){var R=[];for(var $=0;$>7?-1:1;var R=0;for(var N=0;N>7?-1:1;var R=0;for(var N=0;NP.length){throw new Error("unexpected end")}var v=readBytes(4);if(byteArrayEq(K["default"].magicModuleHeader,v)===false){throw new R.CompileError("magic header not detected")}dump(v,"wasm magic header");eatBytes(4)}function parseVersion(){if(isEOF()===true||ge+4>P.length){throw new Error("unexpected end")}var v=readBytes(4);if(byteArrayEq(K["default"].moduleVersion,v)===false){throw new R.CompileError("unknown binary version")}dump(v,"wasm version");eatBytes(4)}function parseVec(v){var E=readU32();var P=E.value;eatBytes(E.nextIndex);dump([P],"number");if(P===0){return[]}var $=[];for(var N=0;N=40&&$<=64){if(N.name==="grow_memory"||N.name==="current_memory"){var _t=readU32();var Pt=_t.value;eatBytes(_t.nextIndex);if(Pt!==0){throw new Error("zero flag expected")}dump([Pt],"index")}else{var Mt=readU32();var It=Mt.value;eatBytes(Mt.nextIndex);dump([It],"align");var Ot=readU32();var Dt=Ot.value;eatBytes(Ot.nextIndex);dump([Dt],"offset");if(xe===undefined)xe={};xe.offset=L.numberLiteralFromRaw(Dt)}}else if($>=65&&$<=68){if(N.object==="i32"){var Rt=read32();var Tt=Rt.value;eatBytes(Rt.nextIndex);dump([Tt],"i32 value");ge.push(L.numberLiteralFromRaw(Tt))}if(N.object==="u32"){var $t=readU32();var Ft=$t.value;eatBytes($t.nextIndex);dump([Ft],"u32 value");ge.push(L.numberLiteralFromRaw(Ft))}if(N.object==="i64"){var jt=read64();var Nt=jt.value;eatBytes(jt.nextIndex);dump([Number(Nt.toString())],"i64 value");var Lt=Nt.high,Bt=Nt.low;var qt={type:"LongNumberLiteral",value:{high:Lt,low:Bt}};ge.push(qt)}if(N.object==="u64"){var zt=readU64();var Ut=zt.value;eatBytes(zt.nextIndex);dump([Number(Ut.toString())],"u64 value");var Gt=Ut.high,Ht=Ut.low;var Wt={type:"LongNumberLiteral",value:{high:Gt,low:Ht}};ge.push(Wt)}if(N.object==="f32"){var Qt=readF32();var Jt=Qt.value;eatBytes(Qt.nextIndex);dump([Jt],"f32 value");ge.push(L.floatLiteral(Jt,Qt.nan,Qt.inf,String(Jt)))}if(N.object==="f64"){var Vt=readF64();var Kt=Vt.value;eatBytes(Vt.nextIndex);dump([Kt],"f64 value");ge.push(L.floatLiteral(Kt,Vt.nan,Vt.inf,String(Kt)))}}else if($>=65024&&$<=65279){var Yt=readU32();var Xt=Yt.value;eatBytes(Yt.nextIndex);dump([Xt],"align");var Zt=readU32();var en=Zt.value;eatBytes(Zt.nextIndex);dump([en],"offset")}else{for(var tn=0;tn=v||v===K["default"].sections.custom){v=P+1}else{if(P!==K["default"].sections.custom)throw new R.CompileError("Unexpected section: "+toHex(P))}var $=v;var N=ge;var q=getPosition();var ae=readU32();var be=ae.value;eatBytes(ae.nextIndex);var xe=function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(be),v,q)}();switch(P){case K["default"].sections.type:{dumpSep("section Type");dump([P],"section code");dump([be],"section size");var ve=getPosition();var Ae=readU32();var Ie=Ae.value;eatBytes(Ae.nextIndex);var He=L.sectionMetadata("type",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(Ie),v,ve)}());var Qe=parseTypeSection(Ie);return{nodes:Qe,metadata:He,nextSectionIndex:$}}case K["default"].sections.table:{dumpSep("section Table");dump([P],"section code");dump([be],"section size");var Je=getPosition();var Ve=readU32();var Ke=Ve.value;eatBytes(Ve.nextIndex);dump([Ke],"num tables");var Ye=L.sectionMetadata("table",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(Ke),v,Je)}());var Xe=parseTableSection(Ke);return{nodes:Xe,metadata:Ye,nextSectionIndex:$}}case K["default"].sections["import"]:{dumpSep("section Import");dump([P],"section code");dump([be],"section size");var Ze=getPosition();var et=readU32();var tt=et.value;eatBytes(et.nextIndex);dump([tt],"number of imports");var nt=L.sectionMetadata("import",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(tt),v,Ze)}());var st=parseImportSection(tt);return{nodes:st,metadata:nt,nextSectionIndex:$}}case K["default"].sections.func:{dumpSep("section Function");dump([P],"section code");dump([be],"section size");var rt=getPosition();var ot=readU32();var it=ot.value;eatBytes(ot.nextIndex);var at=L.sectionMetadata("func",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(it),v,rt)}());parseFuncSection(it);var ct=[];return{nodes:ct,metadata:at,nextSectionIndex:$}}case K["default"].sections["export"]:{dumpSep("section Export");dump([P],"section code");dump([be],"section size");var lt=getPosition();var ut=readU32();var pt=ut.value;eatBytes(ut.nextIndex);var dt=L.sectionMetadata("export",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(pt),v,lt)}());parseExportSection(pt);var ft=[];return{nodes:ft,metadata:dt,nextSectionIndex:$}}case K["default"].sections.code:{dumpSep("section Code");dump([P],"section code");dump([be],"section size");var ht=getPosition();var mt=readU32();var gt=mt.value;eatBytes(mt.nextIndex);var yt=L.sectionMetadata("code",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(gt),v,ht)}());if(E.ignoreCodeSection===true){var bt=be-mt.nextIndex;eatBytes(bt)}else{parseCodeSection(gt)}var xt=[];return{nodes:xt,metadata:yt,nextSectionIndex:$}}case K["default"].sections.start:{dumpSep("section Start");dump([P],"section code");dump([be],"section size");var kt=L.sectionMetadata("start",N,xe);var vt=[parseStartSection()];return{nodes:vt,metadata:kt,nextSectionIndex:$}}case K["default"].sections.element:{dumpSep("section Element");dump([P],"section code");dump([be],"section size");var wt=getPosition();var Et=readU32();var At=Et.value;eatBytes(Et.nextIndex);var Ct=L.sectionMetadata("element",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(At),v,wt)}());var St=parseElemSection(At);return{nodes:St,metadata:Ct,nextSectionIndex:$}}case K["default"].sections.global:{dumpSep("section Global");dump([P],"section code");dump([be],"section size");var _t=getPosition();var Pt=readU32();var Mt=Pt.value;eatBytes(Pt.nextIndex);var It=L.sectionMetadata("global",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(Mt),v,_t)}());var Ot=parseGlobalSection(Mt);return{nodes:Ot,metadata:It,nextSectionIndex:$}}case K["default"].sections.memory:{dumpSep("section Memory");dump([P],"section code");dump([be],"section size");var Dt=getPosition();var Rt=readU32();var Tt=Rt.value;eatBytes(Rt.nextIndex);var $t=L.sectionMetadata("memory",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(Tt),v,Dt)}());var Ft=parseMemorySection(Tt);return{nodes:Ft,metadata:$t,nextSectionIndex:$}}case K["default"].sections.data:{dumpSep("section Data");dump([P],"section code");dump([be],"section size");var jt=L.sectionMetadata("data",N,xe);var Nt=getPosition();var Lt=readU32();var Bt=Lt.value;eatBytes(Lt.nextIndex);jt.vectorOfSize=function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(Bt),v,Nt)}();if(E.ignoreDataSection===true){var qt=be-Lt.nextIndex;eatBytes(qt);dumpSep("ignore data ("+be+" bytes)");return{nodes:[],metadata:jt,nextSectionIndex:$}}else{var zt=parseDataSection(Bt);return{nodes:zt,metadata:jt,nextSectionIndex:$}}}case K["default"].sections.custom:{dumpSep("section Custom");dump([P],"section code");dump([be],"section size");var Ut=[L.sectionMetadata("custom",N,xe)];var Gt=readUTF8String();eatBytes(Gt.nextIndex);dump([],"section name (".concat(Gt.value,")"));var Ht=be-Gt.nextIndex;if(Gt.value==="name"){var Wt=ge;try{Ut.push.apply(Ut,_toConsumableArray(parseNameSection(Ht)))}catch(v){console.warn('Failed to decode custom "name" section @'.concat(ge,"; ignoring (").concat(v.message,")."));eatBytes(ge-(Wt+Ht))}}else if(Gt.value==="producers"){var Qt=ge;try{Ut.push(parseProducersSection())}catch(v){console.warn('Failed to decode custom "producers" section @'.concat(ge,"; ignoring (").concat(v.message,")."));eatBytes(ge-(Qt+Ht))}}else{eatBytes(Ht);dumpSep("ignore custom "+JSON.stringify(Gt.value)+" section ("+Ht+" bytes)")}return{nodes:[],metadata:Ut,nextSectionIndex:$}}}if(E.errorOnUnknownSection){throw new R.CompileError("Unexpected section: "+toHex(P))}else{dumpSep("section "+toHex(P));dump([P],"section code");dump([be],"section size");eatBytes(be);dumpSep("ignoring ("+be+" bytes)");return{nodes:[],metadata:[],nextSectionIndex:0}}}parseModuleHeader();parseVersion();var xe=[];var ve=0;var Ae={sections:[],functionNames:[],localNames:[],producers:[]};while(ge>1;var ge=-7;var be=P?$-1:0;var xe=P?-1:1;var ve=v[E+be];be+=xe;N=ve&(1<<-ge)-1;ve>>=-ge;ge+=q;for(;ge>0;N=N*256+v[E+be],be+=xe,ge-=8){}L=N&(1<<-ge)-1;N>>=-ge;ge+=R;for(;ge>0;L=L*256+v[E+be],be+=xe,ge-=8){}if(N===0){N=1-ae}else if(N===K){return L?NaN:(ve?-1:1)*Infinity}else{L=L+Math.pow(2,R);N=N-ae}return(ve?-1:1)*L*Math.pow(2,N-R)}function write(v,E,P,R,$,N){var L,q,K;var ae=N*8-$-1;var ge=(1<>1;var xe=$===23?Math.pow(2,-24)-Math.pow(2,-77):0;var ve=R?0:N-1;var Ae=R?1:-1;var Ie=E<0||E===0&&1/E<0?1:0;E=Math.abs(E);if(isNaN(E)||E===Infinity){q=isNaN(E)?1:0;L=ge}else{L=Math.floor(Math.log(E)/Math.LN2);if(E*(K=Math.pow(2,-L))<1){L--;K*=2}if(L+be>=1){E+=xe/K}else{E+=xe*Math.pow(2,1-be)}if(E*K>=2){L++;K/=2}if(L+be>=ge){q=0;L=ge}else if(L+be>=1){q=(E*K-1)*Math.pow(2,$);L=L+be}else{q=E*Math.pow(2,be-1)*Math.pow(2,$);L=0}}for(;$>=8;v[P+ve]=q&255,ve+=Ae,q/=256,$-=8){}L=L<<$|q;ae+=$;for(;ae>0;v[P+ve]=L&255,ve+=Ae,L/=256,ae-=8){}v[P+ve-Ae]|=Ie*128}},85249:function(v){v.exports=Long;var E=null;try{E=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(v){}function Long(v,E,P){this.low=v|0;this.high=E|0;this.unsigned=!!P}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});function isLong(v){return(v&&v["__isLong__"])===true}Long.isLong=isLong;var P={};var R={};function fromInt(v,E){var $,N,L;if(E){v>>>=0;if(L=0<=v&&v<256){N=R[v];if(N)return N}$=fromBits(v,(v|0)<0?-1:0,true);if(L)R[v]=$;return $}else{v|=0;if(L=-128<=v&&v<128){N=P[v];if(N)return N}$=fromBits(v,v<0?-1:0,false);if(L)P[v]=$;return $}}Long.fromInt=fromInt;function fromNumber(v,E){if(isNaN(v))return E?xe:be;if(E){if(v<0)return xe;if(v>=K)return Qe}else{if(v<=-ae)return Je;if(v+1>=ae)return He}if(v<0)return fromNumber(-v,E).neg();return fromBits(v%q|0,v/q|0,E)}Long.fromNumber=fromNumber;function fromBits(v,E,P){return new Long(v,E,P)}Long.fromBits=fromBits;var $=Math.pow;function fromString(v,E,P){if(v.length===0)throw Error("empty string");if(v==="NaN"||v==="Infinity"||v==="+Infinity"||v==="-Infinity")return be;if(typeof E==="number"){P=E,E=false}else{E=!!E}P=P||10;if(P<2||360)throw Error("interior hyphen");else if(R===0){return fromString(v.substring(1),E,P).neg()}var N=fromNumber($(P,8));var L=be;for(var q=0;q>>0:this.low};Ve.toNumber=function toNumber(){if(this.unsigned)return(this.high>>>0)*q+(this.low>>>0);return this.high*q+(this.low>>>0)};Ve.toString=function toString(v){v=v||10;if(v<2||36>>0,ge=ae.toString(v);L=K;if(L.isZero())return ge+q;else{while(ge.length<6)ge="0"+ge;q=""+ge+q}}};Ve.getHighBits=function getHighBits(){return this.high};Ve.getHighBitsUnsigned=function getHighBitsUnsigned(){return this.high>>>0};Ve.getLowBits=function getLowBits(){return this.low};Ve.getLowBitsUnsigned=function getLowBitsUnsigned(){return this.low>>>0};Ve.getNumBitsAbs=function getNumBitsAbs(){if(this.isNegative())return this.eq(Je)?64:this.neg().getNumBitsAbs();var v=this.high!=0?this.high:this.low;for(var E=31;E>0;E--)if((v&1<=0};Ve.isOdd=function isOdd(){return(this.low&1)===1};Ve.isEven=function isEven(){return(this.low&1)===0};Ve.equals=function equals(v){if(!isLong(v))v=fromValue(v);if(this.unsigned!==v.unsigned&&this.high>>>31===1&&v.high>>>31===1)return false;return this.high===v.high&&this.low===v.low};Ve.eq=Ve.equals;Ve.notEquals=function notEquals(v){return!this.eq(v)};Ve.neq=Ve.notEquals;Ve.ne=Ve.notEquals;Ve.lessThan=function lessThan(v){return this.comp(v)<0};Ve.lt=Ve.lessThan;Ve.lessThanOrEqual=function lessThanOrEqual(v){return this.comp(v)<=0};Ve.lte=Ve.lessThanOrEqual;Ve.le=Ve.lessThanOrEqual;Ve.greaterThan=function greaterThan(v){return this.comp(v)>0};Ve.gt=Ve.greaterThan;Ve.greaterThanOrEqual=function greaterThanOrEqual(v){return this.comp(v)>=0};Ve.gte=Ve.greaterThanOrEqual;Ve.ge=Ve.greaterThanOrEqual;Ve.compare=function compare(v){if(!isLong(v))v=fromValue(v);if(this.eq(v))return 0;var E=this.isNegative(),P=v.isNegative();if(E&&!P)return-1;if(!E&&P)return 1;if(!this.unsigned)return this.sub(v).isNegative()?-1:1;return v.high>>>0>this.high>>>0||v.high===this.high&&v.low>>>0>this.low>>>0?-1:1};Ve.comp=Ve.compare;Ve.negate=function negate(){if(!this.unsigned&&this.eq(Je))return Je;return this.not().add(ve)};Ve.neg=Ve.negate;Ve.add=function add(v){if(!isLong(v))v=fromValue(v);var E=this.high>>>16;var P=this.high&65535;var R=this.low>>>16;var $=this.low&65535;var N=v.high>>>16;var L=v.high&65535;var q=v.low>>>16;var K=v.low&65535;var ae=0,ge=0,be=0,xe=0;xe+=$+K;be+=xe>>>16;xe&=65535;be+=R+q;ge+=be>>>16;be&=65535;ge+=P+L;ae+=ge>>>16;ge&=65535;ae+=E+N;ae&=65535;return fromBits(be<<16|xe,ae<<16|ge,this.unsigned)};Ve.subtract=function subtract(v){if(!isLong(v))v=fromValue(v);return this.add(v.neg())};Ve.sub=Ve.subtract;Ve.multiply=function multiply(v){if(this.isZero())return be;if(!isLong(v))v=fromValue(v);if(E){var P=E["mul"](this.low,this.high,v.low,v.high);return fromBits(P,E["get_high"](),this.unsigned)}if(v.isZero())return be;if(this.eq(Je))return v.isOdd()?Je:be;if(v.eq(Je))return this.isOdd()?Je:be;if(this.isNegative()){if(v.isNegative())return this.neg().mul(v.neg());else return this.neg().mul(v).neg()}else if(v.isNegative())return this.mul(v.neg()).neg();if(this.lt(ge)&&v.lt(ge))return fromNumber(this.toNumber()*v.toNumber(),this.unsigned);var R=this.high>>>16;var $=this.high&65535;var N=this.low>>>16;var L=this.low&65535;var q=v.high>>>16;var K=v.high&65535;var ae=v.low>>>16;var xe=v.low&65535;var ve=0,Ae=0,Ie=0,He=0;He+=L*xe;Ie+=He>>>16;He&=65535;Ie+=N*xe;Ae+=Ie>>>16;Ie&=65535;Ie+=L*ae;Ae+=Ie>>>16;Ie&=65535;Ae+=$*xe;ve+=Ae>>>16;Ae&=65535;Ae+=N*ae;ve+=Ae>>>16;Ae&=65535;Ae+=L*K;ve+=Ae>>>16;Ae&=65535;ve+=R*xe+$*ae+N*K+L*q;ve&=65535;return fromBits(Ie<<16|He,ve<<16|Ae,this.unsigned)};Ve.mul=Ve.multiply;Ve.divide=function divide(v){if(!isLong(v))v=fromValue(v);if(v.isZero())throw Error("division by zero");if(E){if(!this.unsigned&&this.high===-2147483648&&v.low===-1&&v.high===-1){return this}var P=(this.unsigned?E["div_u"]:E["div_s"])(this.low,this.high,v.low,v.high);return fromBits(P,E["get_high"](),this.unsigned)}if(this.isZero())return this.unsigned?xe:be;var R,N,L;if(!this.unsigned){if(this.eq(Je)){if(v.eq(ve)||v.eq(Ie))return Je;else if(v.eq(Je))return ve;else{var q=this.shr(1);R=q.div(v).shl(1);if(R.eq(be)){return v.isNegative()?ve:Ie}else{N=this.sub(v.mul(R));L=R.add(N.div(v));return L}}}else if(v.eq(Je))return this.unsigned?xe:be;if(this.isNegative()){if(v.isNegative())return this.neg().div(v.neg());return this.neg().div(v).neg()}else if(v.isNegative())return this.div(v.neg()).neg();L=be}else{if(!v.unsigned)v=v.toUnsigned();if(v.gt(this))return xe;if(v.gt(this.shru(1)))return Ae;L=xe}N=this;while(N.gte(v)){R=Math.max(1,Math.floor(N.toNumber()/v.toNumber()));var K=Math.ceil(Math.log(R)/Math.LN2),ae=K<=48?1:$(2,K-48),ge=fromNumber(R),He=ge.mul(v);while(He.isNegative()||He.gt(N)){R-=ae;ge=fromNumber(R,this.unsigned);He=ge.mul(v)}if(ge.isZero())ge=ve;L=L.add(ge);N=N.sub(He)}return L};Ve.div=Ve.divide;Ve.modulo=function modulo(v){if(!isLong(v))v=fromValue(v);if(E){var P=(this.unsigned?E["rem_u"]:E["rem_s"])(this.low,this.high,v.low,v.high);return fromBits(P,E["get_high"](),this.unsigned)}return this.sub(this.div(v).mul(v))};Ve.mod=Ve.modulo;Ve.rem=Ve.modulo;Ve.not=function not(){return fromBits(~this.low,~this.high,this.unsigned)};Ve.and=function and(v){if(!isLong(v))v=fromValue(v);return fromBits(this.low&v.low,this.high&v.high,this.unsigned)};Ve.or=function or(v){if(!isLong(v))v=fromValue(v);return fromBits(this.low|v.low,this.high|v.high,this.unsigned)};Ve.xor=function xor(v){if(!isLong(v))v=fromValue(v);return fromBits(this.low^v.low,this.high^v.high,this.unsigned)};Ve.shiftLeft=function shiftLeft(v){if(isLong(v))v=v.toInt();if((v&=63)===0)return this;else if(v<32)return fromBits(this.low<>>32-v,this.unsigned);else return fromBits(0,this.low<>>v|this.high<<32-v,this.high>>v,this.unsigned);else return fromBits(this.high>>v-32,this.high>=0?0:-1,this.unsigned)};Ve.shr=Ve.shiftRight;Ve.shiftRightUnsigned=function shiftRightUnsigned(v){if(isLong(v))v=v.toInt();if((v&=63)===0)return this;if(v<32)return fromBits(this.low>>>v|this.high<<32-v,this.high>>>v,this.unsigned);if(v===32)return fromBits(this.high,0,this.unsigned);return fromBits(this.high>>>v-32,0,this.unsigned)};Ve.shru=Ve.shiftRightUnsigned;Ve.shr_u=Ve.shiftRightUnsigned;Ve.rotateLeft=function rotateLeft(v){var E;if(isLong(v))v=v.toInt();if((v&=63)===0)return this;if(v===32)return fromBits(this.high,this.low,this.unsigned);if(v<32){E=32-v;return fromBits(this.low<>>E,this.high<>>E,this.unsigned)}v-=32;E=32-v;return fromBits(this.high<>>E,this.low<>>E,this.unsigned)};Ve.rotl=Ve.rotateLeft;Ve.rotateRight=function rotateRight(v){var E;if(isLong(v))v=v.toInt();if((v&=63)===0)return this;if(v===32)return fromBits(this.high,this.low,this.unsigned);if(v<32){E=32-v;return fromBits(this.high<>>v,this.low<>>v,this.unsigned)}v-=32;E=32-v;return fromBits(this.low<>>v,this.high<>>v,this.unsigned)};Ve.rotr=Ve.rotateRight;Ve.toSigned=function toSigned(){if(!this.unsigned)return this;return fromBits(this.low,this.high,false)};Ve.toUnsigned=function toUnsigned(){if(this.unsigned)return this;return fromBits(this.low,this.high,true)};Ve.toBytes=function toBytes(v){return v?this.toBytesLE():this.toBytesBE()};Ve.toBytesLE=function toBytesLE(){var v=this.high,E=this.low;return[E&255,E>>>8&255,E>>>16&255,E>>>24,v&255,v>>>8&255,v>>>16&255,v>>>24]};Ve.toBytesBE=function toBytesBE(){var v=this.high,E=this.low;return[v>>>24,v>>>16&255,v>>>8&255,v&255,E>>>24,E>>>16&255,E>>>8&255,E&255]};Long.fromBytes=function fromBytes(v,E,P){return P?Long.fromBytesLE(v,E):Long.fromBytesBE(v,E)};Long.fromBytesLE=function fromBytesLE(v,E){return new Long(v[0]|v[1]<<8|v[2]<<16|v[3]<<24,v[4]|v[5]<<8|v[6]<<16|v[7]<<24,E)};Long.fromBytesBE=function fromBytesBE(v,E){return new Long(v[4]<<24|v[5]<<16|v[6]<<8|v[7],v[0]<<24|v[1]<<16|v[2]<<8|v[3],E)}},94754:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.importAssertions=importAssertions;var R=_interopRequireWildcard(P(31988));function _getRequireWildcardCache(v){if(typeof WeakMap!=="function")return null;var E=new WeakMap;var P=new WeakMap;return(_getRequireWildcardCache=function(v){return v?P:E})(v)}function _interopRequireWildcard(v,E){if(!E&&v&&v.__esModule){return v}if(v===null||typeof v!=="object"&&typeof v!=="function"){return{default:v}}var P=_getRequireWildcardCache(E);if(P&&P.has(v)){return P.get(v)}var R={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in v){if(N!=="default"&&Object.prototype.hasOwnProperty.call(v,N)){var L=$?Object.getOwnPropertyDescriptor(v,N):null;if(L&&(L.get||L.set)){Object.defineProperty(R,N,L)}else{R[N]=v[N]}}}R.default=v;if(P){P.set(v,R)}return R}const $="{".charCodeAt(0);const N=" ".charCodeAt(0);const L="assert";const q=1,K=2,ae=4;function importAssertions(v){const E=v.acorn||R;const{tokTypes:P,TokenType:K}=E;return class extends v{constructor(...v){super(...v);this.assertToken=new K(L)}_codeAt(v){return this.input.charCodeAt(v)}_eat(v){if(this.type!==v){this.unexpected()}this.next()}readToken(v){let E=0;for(;E=11){if(this.eatContextual("as")){v.exported=this.parseIdent(true);this.checkExport(E,v.exported.name,this.lastTokStart)}else{v.exported=null}}this.expectContextual("from");if(this.type!==P.string){this.unexpected()}v.source=this.parseExprAtom();if(this.type===this.assertToken||this.type===P._with){this.next();const E=this.parseImportAssertions();if(E){v.assertions=E}}this.semicolon();return this.finishNode(v,"ExportAllDeclaration")}if(this.eat(P._default)){this.checkExport(E,"default",this.lastTokStart);var R;if(this.type===P._function||(R=this.isAsyncFunction())){var $=this.startNode();this.next();if(R){this.next()}v.declaration=this.parseFunction($,q|ae,false,R)}else if(this.type===P._class){var N=this.startNode();v.declaration=this.parseClass(N,"nullableID")}else{v.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(v,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){v.declaration=this.parseStatement(null);if(v.declaration.type==="VariableDeclaration"){this.checkVariableExport(E,v.declaration.declarations)}else{this.checkExport(E,v.declaration.id.name,v.declaration.id.start)}v.specifiers=[];v.source=null}else{v.declaration=null;v.specifiers=this.parseExportSpecifiers(E);if(this.eatContextual("from")){if(this.type!==P.string){this.unexpected()}v.source=this.parseExprAtom();if(this.type===this.assertToken||this.type===P._with){this.next();const E=this.parseImportAssertions();if(E){v.assertions=E}}}else{for(var L=0,K=v.specifiers;L{if(!P.descriptionFileData)return L();const q=$(v,P);if(!q)return L();const K=R.getField(P.descriptionFileData,this.field);if(K===null||typeof K!=="object"){if(N.log)N.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return L()}const ae=Object.prototype.hasOwnProperty.call(K,q)?K[q]:q.startsWith("./")?K[q.slice(2)]:undefined;if(ae===q)return L();if(ae===undefined)return L();if(ae===false){const v={...P,path:false};if(typeof N.yield==="function"){N.yield(v);return L(null,null)}return L(null,v)}const ge={...P,path:P.descriptionFileRoot,request:ae,fullySpecified:false};v.doResolve(E,ge,"aliased from description file "+P.descriptionFilePath+" with mapping '"+q+"' to '"+ae+"'",N,((v,E)=>{if(v)return L(v);if(E===undefined)return L(null,null);L(null,E)}))}))}}},94185:function(v,E,P){"use strict";const R=P(85723);const{PathType:$,getType:N}=P(1287);v.exports=class AliasPlugin{constructor(v,E,P){this.source=v;this.options=Array.isArray(E)?E:[E];this.target=P}apply(v){const E=v.ensureHook(this.target);const getAbsolutePathWithSlashEnding=E=>{const P=N(E);if(P===$.AbsolutePosix||P===$.AbsoluteWin){return v.join(E,"_").slice(0,-1)}return null};const isSubPath=(v,E)=>{const P=getAbsolutePathWithSlashEnding(E);if(!P)return false;return v.startsWith(P)};v.getHook(this.source).tapAsync("AliasPlugin",((P,$,N)=>{const L=P.request||P.path;if(!L)return N();R(this.options,((N,q)=>{let K=false;if(L===N.name||!N.onlyModule&&(P.request?L.startsWith(`${N.name}/`):isSubPath(L,N.name))){const ae=L.slice(N.name.length);const resolveWithAlias=(R,q)=>{if(R===false){const v={...P,path:false};if(typeof $.yield==="function"){$.yield(v);return q(null,null)}return q(null,v)}if(L!==R&&!L.startsWith(R+"/")){K=true;const L=R+ae;const ge={...P,request:L,fullySpecified:false};return v.doResolve(E,ge,"aliased with mapping '"+N.name+"': '"+R+"' to '"+L+"'",$,((v,E)=>{if(v)return q(v);if(E)return q(null,E);return q()}))}return q()};const stoppingCallback=(v,E)=>{if(v)return q(v);if(E)return q(null,E);if(K)return q(null,null);return q()};if(Array.isArray(N.alias)){return R(N.alias,resolveWithAlias,stoppingCallback)}else{return resolveWithAlias(N.alias,stoppingCallback)}}return q()}),N)}))}}},96174:function(v){"use strict";v.exports=class AppendPlugin{constructor(v,E,P){this.source=v;this.appending=E;this.target=P}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("AppendPlugin",((P,R,$)=>{const N={...P,path:P.path+this.appending,relativePath:P.relativePath&&P.relativePath+this.appending};v.doResolve(E,N,this.appending,R,$)}))}}},82755:function(v,E,P){"use strict";const R=P(77282).nextTick;const dirname=v=>{let E=v.length-1;while(E>=0){const P=v.charCodeAt(E);if(P===47||P===92)break;E--}if(E<0)return"";return v.slice(0,E)};const runCallbacks=(v,E,P)=>{if(v.length===1){v[0](E,P);v.length=0;return}let R;for(const $ of v){try{$(E,P)}catch(v){if(!R)R=v}}v.length=0;if(R)throw R};class OperationMergerBackend{constructor(v,E,P){this._provider=v;this._syncProvider=E;this._providerContext=P;this._activeAsyncOperations=new Map;this.provide=this._provider?(E,P,R)=>{if(typeof P==="function"){R=P;P=undefined}if(typeof E!=="string"&&!Buffer.isBuffer(E)&&!(E instanceof URL)&&typeof E!=="number"){R(new TypeError("path must be a string, Buffer, URL or number"));return}if(P){return this._provider.call(this._providerContext,E,P,R)}let $=this._activeAsyncOperations.get(E);if($){$.push(R);return}this._activeAsyncOperations.set(E,$=[R]);v(E,((v,P)=>{this._activeAsyncOperations.delete(E);runCallbacks($,v,P)}))}:null;this.provideSync=this._syncProvider?(v,E)=>this._syncProvider.call(this._providerContext,v,E):null}purge(){}purgeParent(){}}const $=0;const N=1;const L=2;class CacheBackend{constructor(v,E,P,R){this._duration=v;this._provider=E;this._syncProvider=P;this._providerContext=R;this._activeAsyncOperations=new Map;this._data=new Map;this._levels=[];for(let v=0;v<10;v++)this._levels.push(new Set);for(let E=5e3;E{this._activeAsyncOperations.delete($);this._storeResult($,v,E);this._enterAsyncMode();runCallbacks(q,v,E)}))}provideSync(v,E){if(typeof v!=="string"&&!Buffer.isBuffer(v)&&!(v instanceof URL)&&typeof v!=="number"){throw new TypeError("path must be a string")}const P=typeof v!=="string"?v.toString():v;if(E){return this._syncProvider.call(this._providerContext,v,E)}if(this._mode===N){this._runDecays()}let R=this._data.get(P);if(R!==undefined){if(R.err)throw R.err;return R.result}const $=this._activeAsyncOperations.get(P);this._activeAsyncOperations.delete(P);let L;try{L=this._syncProvider.call(this._providerContext,v)}catch(v){this._storeResult(P,v,undefined);this._enterSyncModeWhenIdle();if($){runCallbacks($,v,undefined)}throw v}this._storeResult(P,null,L);this._enterSyncModeWhenIdle();if($){runCallbacks($,null,L)}return L}purge(v){if(!v){if(this._mode!==$){this._data.clear();for(const v of this._levels){v.clear()}this._enterIdleMode()}}else if(typeof v==="string"||Buffer.isBuffer(v)||v instanceof URL||typeof v==="number"){const E=typeof v!=="string"?v.toString():v;for(let[v,P]of this._data){if(v.startsWith(E)){this._data.delete(v);P.level.delete(v)}}if(this._data.size===0){this._enterIdleMode()}}else{for(let[E,P]of this._data){for(const R of v){const v=typeof R!=="string"?R.toString():R;if(E.startsWith(v)){this._data.delete(E);P.level.delete(E);break}}}if(this._data.size===0){this._enterIdleMode()}}}purgeParent(v){if(!v){this.purge()}else if(typeof v==="string"||Buffer.isBuffer(v)||v instanceof URL||typeof v==="number"){const E=typeof v!=="string"?v.toString():v;this.purge(dirname(E))}else{const E=new Set;for(const P of v){const v=typeof P!=="string"?P.toString():P;E.add(dirname(v))}this.purge(E)}}_storeResult(v,E,P){if(this._data.has(v))return;const R=this._levels[this._currentLevel];this._data.set(v,{err:E,result:P,level:R});R.add(v)}_decayLevel(){const v=(this._currentLevel+1)%this._levels.length;const E=this._levels[v];this._currentLevel=v;for(let v of E){this._data.delete(v)}E.clear();if(this._data.size===0){this._enterIdleMode()}else{this._nextDecay+=this._tickInterval}}_runDecays(){while(this._nextDecay<=Date.now()&&this._mode!==$){this._decayLevel()}}_enterAsyncMode(){let v=0;switch(this._mode){case L:return;case $:this._nextDecay=Date.now()+this._tickInterval;v=this._tickInterval;break;case N:this._runDecays();if(this._mode===$)return;v=Math.max(0,this._nextDecay-Date.now());break}this._mode=L;const E=setTimeout((()=>{this._mode=N;this._runDecays()}),v);if(E.unref)E.unref();this._timeout=E}_enterSyncModeWhenIdle(){if(this._mode===$){this._mode=N;this._nextDecay=Date.now()+this._tickInterval}}_enterIdleMode(){this._mode=$;this._nextDecay=undefined;if(this._timeout)clearTimeout(this._timeout)}}const createBackend=(v,E,P,R)=>{if(v>0){return new CacheBackend(v,E,P,R)}return new OperationMergerBackend(E,P,R)};v.exports=class CachedInputFileSystem{constructor(v,E){this.fileSystem=v;this._lstatBackend=createBackend(E,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const P=this._lstatBackend.provide;this.lstat=P;const R=this._lstatBackend.provideSync;this.lstatSync=R;this._statBackend=createBackend(E,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const $=this._statBackend.provide;this.stat=$;const N=this._statBackend.provideSync;this.statSync=N;this._readdirBackend=createBackend(E,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const L=this._readdirBackend.provide;this.readdir=L;const q=this._readdirBackend.provideSync;this.readdirSync=q;this._readFileBackend=createBackend(E,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const K=this._readFileBackend.provide;this.readFile=K;const ae=this._readFileBackend.provideSync;this.readFileSync=ae;this._readJsonBackend=createBackend(E,this.fileSystem.readJson||this.readFile&&((v,E)=>{this.readFile(v,((v,P)=>{if(v)return E(v);if(!P||P.length===0)return E(new Error("No file content"));let R;try{R=JSON.parse(P.toString("utf-8"))}catch(v){return E(v)}E(null,R)}))}),this.fileSystem.readJsonSync||this.readFileSync&&(v=>{const E=this.readFileSync(v);const P=JSON.parse(E.toString("utf-8"));return P}),this.fileSystem);const ge=this._readJsonBackend.provide;this.readJson=ge;const be=this._readJsonBackend.provideSync;this.readJsonSync=be;this._readlinkBackend=createBackend(E,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const xe=this._readlinkBackend.provide;this.readlink=xe;const ve=this._readlinkBackend.provideSync;this.readlinkSync=ve;this._realpathBackend=createBackend(E,this.fileSystem.realpath,this.fileSystem.realpathSync,this.fileSystem);const Ae=this._realpathBackend.provide;this.realpath=Ae;const Ie=this._realpathBackend.provideSync;this.realpathSync=Ie}purge(v){this._statBackend.purge(v);this._lstatBackend.purge(v);this._readdirBackend.purgeParent(v);this._readFileBackend.purge(v);this._readlinkBackend.purge(v);this._readJsonBackend.purge(v);this._realpathBackend.purge(v)}}},21405:function(v,E,P){"use strict";const R=P(70257).basename;v.exports=class CloneBasenamePlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("CloneBasenamePlugin",((P,$,N)=>{const L=P.path;const q=R(L);const K=v.join(L,q);const ae={...P,path:K,relativePath:P.relativePath&&v.join(P.relativePath,q)};v.doResolve(E,ae,"using path: "+K,$,N)}))}}},67616:function(v){"use strict";v.exports=class ConditionalPlugin{constructor(v,E,P,R,$){this.source=v;this.test=E;this.message=P;this.allowAlternatives=R;this.target=$}apply(v){const E=v.ensureHook(this.target);const{test:P,message:R,allowAlternatives:$}=this;const N=Object.keys(P);v.getHook(this.source).tapAsync("ConditionalPlugin",((L,q,K)=>{for(const v of N){if(L[v]!==P[v])return K()}v.doResolve(E,L,R,q,$?K:(v,E)=>{if(v)return K(v);if(E===undefined)return K(null,null);K(null,E)})}))}}},35914:function(v,E,P){"use strict";const R=P(64826);v.exports=class DescriptionFilePlugin{constructor(v,E,P,R){this.source=v;this.filenames=E;this.pathIsFile=P;this.target=R}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("DescriptionFilePlugin",((P,$,N)=>{const L=P.path;if(!L)return N();const q=this.pathIsFile?R.cdUp(L):L;if(!q)return N();R.loadDescriptionFile(v,q,this.filenames,P.descriptionFilePath?{path:P.descriptionFilePath,content:P.descriptionFileData,directory:P.descriptionFileRoot}:undefined,$,((R,K)=>{if(R)return N(R);if(!K){if($.log)$.log(`No description file found in ${q} or above`);return N()}const ae="."+L.slice(K.directory.length).replace(/\\/g,"/");const ge={...P,descriptionFilePath:K.path,descriptionFileData:K.content,descriptionFileRoot:K.directory,relativePath:ae};v.doResolve(E,ge,"using description file: "+K.path+" (relative path: "+ae+")",$,((v,E)=>{if(v)return N(v);if(E===undefined)return N(null,null);N(null,E)}))}))}))}}},64826:function(v,E,P){"use strict";const R=P(85723);function loadDescriptionFile(v,E,P,$,N,L){(function findDescriptionFile(){if($&&$.directory===E){return L(null,$)}R(P,((P,R)=>{const $=v.join(E,P);if(v.fileSystem.readJson){v.fileSystem.readJson($,((v,E)=>{if(v){if(typeof v.code!=="undefined"){if(N.missingDependencies){N.missingDependencies.add($)}return R()}if(N.fileDependencies){N.fileDependencies.add($)}return onJson(v)}if(N.fileDependencies){N.fileDependencies.add($)}onJson(null,E)}))}else{v.fileSystem.readFile($,((v,E)=>{if(v){if(N.missingDependencies){N.missingDependencies.add($)}return R()}if(N.fileDependencies){N.fileDependencies.add($)}let P;if(E){try{P=JSON.parse(E.toString())}catch(v){return onJson(v)}}else{return onJson(new Error("No content in file"))}onJson(null,P)}))}function onJson(v,P){if(v){if(N.log)N.log($+" (directory description file): "+v);else v.message=$+" (directory description file): "+v;return R(v)}R(null,{content:P,directory:E,path:$})}}),((v,P)=>{if(v)return L(v);if(P){return L(null,P)}else{const v=cdUp(E);if(!v){return L()}else{E=v;return findDescriptionFile()}}}))})()}function getField(v,E){if(!v)return undefined;if(Array.isArray(E)){let P=v;for(let v=0;v{const N=v.fileSystem;const L=P.path;if(!L)return $();N.stat(L,((N,q)=>{if(N||!q){if(R.missingDependencies)R.missingDependencies.add(L);if(R.log)R.log(L+" doesn't exist");return $()}if(!q.isDirectory()){if(R.missingDependencies)R.missingDependencies.add(L);if(R.log)R.log(L+" is not a directory");return $()}if(R.fileDependencies)R.fileDependencies.add(L);v.doResolve(E,P,`existing directory ${L}`,R,$)}))}))}}},13037:function(v,E,P){"use strict";const R=P(71017);const $=P(64826);const N=P(85723);const{processExportsField:L}=P(43035);const{parseIdentifier:q}=P(98162);const{checkImportsExportsFieldTarget:K}=P(1287);v.exports=class ExportsFieldPlugin{constructor(v,E,P,R){this.source=v;this.target=R;this.conditionNames=E;this.fieldName=P;this.fieldProcessorCache=new WeakMap}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("ExportsFieldPlugin",((P,ae,ge)=>{if(!P.descriptionFilePath)return ge();if(P.relativePath!=="."||P.request===undefined)return ge();const be=P.query||P.fragment?(P.request==="."?"./":P.request)+P.query+P.fragment:P.request;const xe=$.getField(P.descriptionFileData,this.fieldName);if(!xe)return ge();if(P.directory){return ge(new Error(`Resolving to directories is not possible with the exports field (request was ${be}/)`))}let ve;try{let v=this.fieldProcessorCache.get(P.descriptionFileData);if(v===undefined){v=L(xe);this.fieldProcessorCache.set(P.descriptionFileData,v)}ve=v(be,this.conditionNames)}catch(v){if(ae.log){ae.log(`Exports field in ${P.descriptionFilePath} can't be processed: ${v}`)}return ge(v)}if(ve.length===0){return ge(new Error(`Package path ${be} is not exported from package ${P.descriptionFileRoot} (see exports field in ${P.descriptionFilePath})`))}N(ve,(($,N)=>{const L=q($);if(!L)return N();const[ge,be,xe]=L;const ve=K(ge);if(ve){return N(ve)}const Ae={...P,request:undefined,path:R.join(P.descriptionFileRoot,ge),relativePath:ge,query:be,fragment:xe};v.doResolve(E,Ae,"using exports field: "+$,ae,N)}),((v,E)=>ge(v,E||null)))}))}}},95457:function(v,E,P){"use strict";const R=P(85723);v.exports=class ExtensionAliasPlugin{constructor(v,E,P){this.source=v;this.options=E;this.target=P}apply(v){const E=v.ensureHook(this.target);const{extension:P,alias:$}=this.options;v.getHook(this.source).tapAsync("ExtensionAliasPlugin",((N,L,q)=>{const K=N.request;if(!K||!K.endsWith(P))return q();const ae=typeof $==="string";const resolve=(R,$,q)=>{const ge=`${K.slice(0,-P.length)}${R}`;return v.doResolve(E,{...N,request:ge,fullySpecified:true},`aliased from extension alias with mapping '${P}' to '${R}'`,L,((v,E)=>{if(!ae&&q){if(q!==this.options.alias.length){if(L.log){L.log(`Failed to alias from extension alias with mapping '${P}' to '${R}' for '${ge}': ${v}`)}return $(null,E)}return $(v,E)}else{$(v,E)}}))};const stoppingCallback=(v,E)=>{if(v)return q(v);if(E)return q(null,E);return q(null,null)};if(ae){resolve($,stoppingCallback)}else if($.length>1){R($,resolve,stoppingCallback)}else{resolve($[0],stoppingCallback)}}))}}},34048:function(v){"use strict";v.exports=class FileExistsPlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const E=v.ensureHook(this.target);const P=v.fileSystem;v.getHook(this.source).tapAsync("FileExistsPlugin",((R,$,N)=>{const L=R.path;if(!L)return N();P.stat(L,((P,q)=>{if(P||!q){if($.missingDependencies)$.missingDependencies.add(L);if($.log)$.log(L+" doesn't exist");return N()}if(!q.isFile()){if($.missingDependencies)$.missingDependencies.add(L);if($.log)$.log(L+" is not a file");return N()}if($.fileDependencies)$.fileDependencies.add(L);v.doResolve(E,R,"existing file: "+L,$,N)}))}))}}},15174:function(v,E,P){"use strict";const R=P(71017);const $=P(64826);const N=P(85723);const{processImportsField:L}=P(43035);const{parseIdentifier:q}=P(98162);const{checkImportsExportsFieldTarget:K}=P(1287);const ae=".".charCodeAt(0);v.exports=class ImportsFieldPlugin{constructor(v,E,P,R,$){this.source=v;this.targetFile=R;this.targetPackage=$;this.conditionNames=E;this.fieldName=P;this.fieldProcessorCache=new WeakMap}apply(v){const E=v.ensureHook(this.targetFile);const P=v.ensureHook(this.targetPackage);v.getHook(this.source).tapAsync("ImportsFieldPlugin",((ge,be,xe)=>{if(!ge.descriptionFilePath||ge.request===undefined){return xe()}const ve=ge.request+ge.query+ge.fragment;const Ae=$.getField(ge.descriptionFileData,this.fieldName);if(!Ae)return xe();if(ge.directory){return xe(new Error(`Resolving to directories is not possible with the imports field (request was ${ve}/)`))}let Ie;try{let v=this.fieldProcessorCache.get(ge.descriptionFileData);if(v===undefined){v=L(Ae);this.fieldProcessorCache.set(ge.descriptionFileData,v)}Ie=v(ve,this.conditionNames)}catch(v){if(be.log){be.log(`Imports field in ${ge.descriptionFilePath} can't be processed: ${v}`)}return xe(v)}if(Ie.length===0){return xe(new Error(`Package import ${ve} is not imported from package ${ge.descriptionFileRoot} (see imports field in ${ge.descriptionFilePath})`))}N(Ie,(($,N)=>{const L=q($);if(!L)return N();const[xe,ve,Ae]=L;const Ie=K(xe);if(Ie){return N(Ie)}switch(xe.charCodeAt(0)){case ae:{const P={...ge,request:undefined,path:R.join(ge.descriptionFileRoot,xe),relativePath:xe,query:ve,fragment:Ae};v.doResolve(E,P,"using imports field: "+$,be,N);break}default:{const E={...ge,request:xe,relativePath:xe,fullySpecified:true,query:ve,fragment:Ae};v.doResolve(P,E,"using imports field: "+$,be,N)}}}),((v,E)=>xe(v,E||null)))}))}}},79267:function(v){"use strict";const E="@".charCodeAt(0);v.exports=class JoinRequestPartPlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const P=v.ensureHook(this.target);v.getHook(this.source).tapAsync("JoinRequestPartPlugin",((R,$,N)=>{const L=R.request||"";let q=L.indexOf("/",3);if(q>=0&&L.charCodeAt(2)===E){q=L.indexOf("/",q+1)}let K;let ae;let ge;if(q<0){K=L;ae=".";ge=false}else{K=L.slice(0,q);ae="."+L.slice(q);ge=R.fullySpecified}const be={...R,path:v.join(R.path,K),relativePath:R.relativePath&&v.join(R.relativePath,K),request:ae,fullySpecified:ge};v.doResolve(P,be,null,$,N)}))}}},7796:function(v){"use strict";v.exports=class JoinRequestPlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("JoinRequestPlugin",((P,R,$)=>{const N=P.path;const L=P.request;const q={...P,path:v.join(N,L),relativePath:P.relativePath&&v.join(P.relativePath,L),request:undefined};v.doResolve(E,q,null,R,$)}))}}},65320:function(v){"use strict";v.exports=class LogInfoPlugin{constructor(v){this.source=v}apply(v){const E=this.source;v.getHook(this.source).tapAsync("LogInfoPlugin",((v,P,R)=>{if(!P.log)return R();const $=P.log;const N="["+E+"] ";if(v.path)$(N+"Resolving in directory: "+v.path);if(v.request)$(N+"Resolving request: "+v.request);if(v.module)$(N+"Request is an module request.");if(v.directory)$(N+"Request is a directory request.");if(v.query)$(N+"Resolving request query: "+v.query);if(v.fragment)$(N+"Resolving request fragment: "+v.fragment);if(v.descriptionFilePath)$(N+"Has description data from "+v.descriptionFilePath);if(v.relativePath)$(N+"Relative path from description file is: "+v.relativePath);R()}))}}},65488:function(v,E,P){"use strict";const R=P(71017);const $=P(64826);const N=Symbol("alreadyTriedMainField");v.exports=class MainFieldPlugin{constructor(v,E,P){this.source=v;this.options=E;this.target=P}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("MainFieldPlugin",((P,L,q)=>{if(P.path!==P.descriptionFileRoot||P[N]===P.descriptionFilePath||!P.descriptionFilePath)return q();const K=R.basename(P.descriptionFilePath);let ae=$.getField(P.descriptionFileData,this.options.name);if(!ae||typeof ae!=="string"||ae==="."||ae==="./"){return q()}if(this.options.forceRelative&&!/^\.\.?\//.test(ae))ae="./"+ae;const ge={...P,request:ae,module:false,directory:ae.endsWith("/"),[N]:P.descriptionFilePath};return v.doResolve(E,ge,"use "+ae+" from "+this.options.name+" in "+K,L,q)}))}}},22778:function(v,E,P){"use strict";const R=P(85723);const $=P(70257);v.exports=class ModulesInHierarchicalDirectoriesPlugin{constructor(v,E,P){this.source=v;this.directories=[].concat(E);this.target=P}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("ModulesInHierarchicalDirectoriesPlugin",((P,N,L)=>{const q=v.fileSystem;const K=$(P.path).paths.map((E=>this.directories.map((P=>v.join(E,P))))).reduce(((v,E)=>{v.push.apply(v,E);return v}),[]);R(K,((R,$)=>{q.stat(R,((L,q)=>{if(!L&&q&&q.isDirectory()){const L={...P,path:R,request:"./"+P.request,module:false};const q="looking for modules in "+R;return v.doResolve(E,L,q,N,$)}if(N.log)N.log(R+" doesn't exist or is not a directory");if(N.missingDependencies)N.missingDependencies.add(R);return $()}))}),L)}))}}},8504:function(v){"use strict";v.exports=class ModulesInRootPlugin{constructor(v,E,P){this.source=v;this.path=E;this.target=P}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("ModulesInRootPlugin",((P,R,$)=>{const N={...P,path:this.path,request:"./"+P.request,module:false};v.doResolve(E,N,"looking for modules in "+this.path,R,$)}))}}},81233:function(v){"use strict";v.exports=class NextPlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("NextPlugin",((P,R,$)=>{v.doResolve(E,P,null,R,$)}))}}},44559:function(v){"use strict";v.exports=class ParsePlugin{constructor(v,E,P){this.source=v;this.requestOptions=E;this.target=P}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("ParsePlugin",((P,R,$)=>{const N=v.parse(P.request);const L={...P,...N,...this.requestOptions};if(P.query&&!N.query){L.query=P.query}if(P.fragment&&!N.fragment){L.fragment=P.fragment}if(N&&R.log){if(N.module)R.log("Parsed request is a module");if(N.directory)R.log("Parsed request is a directory")}if(L.request&&!L.query&&L.fragment){const P=L.fragment.endsWith("/");const N={...L,directory:P,request:L.request+(L.directory?"/":"")+(P?L.fragment.slice(0,-1):L.fragment),fragment:""};v.doResolve(E,N,null,R,((P,N)=>{if(P)return $(P);if(N)return $(null,N);v.doResolve(E,L,null,R,$)}));return}v.doResolve(E,L,null,R,$)}))}}},88992:function(v){"use strict";v.exports=class PnpPlugin{constructor(v,E,P,R){this.source=v;this.pnpApi=E;this.target=P;this.alternateTarget=R}apply(v){const E=v.ensureHook(this.target);const P=v.ensureHook(this.alternateTarget);v.getHook(this.source).tapAsync("PnpPlugin",((R,$,N)=>{const L=R.request;if(!L)return N();const q=`${R.path}/`;const K=/^(@[^/]+\/)?[^/]+/.exec(L);if(!K)return N();const ae=K[0];const ge=`.${L.slice(ae.length)}`;let be;let xe;try{be=this.pnpApi.resolveToUnqualified(ae,q,{considerBuiltins:false});if(be===null){v.doResolve(P,R,"issuer is not managed by a pnpapi",$,((v,E)=>{if(v)return N(v);if(E)return N(null,E);return N(null,null)}));return}if($.fileDependencies){xe=this.pnpApi.resolveToUnqualified("pnpapi",q,{considerBuiltins:false})}}catch(v){if(v.code==="MODULE_NOT_FOUND"&&v.pnpCode==="UNDECLARED_DEPENDENCY"){if($.log){$.log(`request is not managed by the pnpapi`);for(const E of v.message.split("\n").filter(Boolean))$.log(` ${E}`)}return N()}return N(v)}if(be===ae)return N();if(xe&&$.fileDependencies){$.fileDependencies.add(xe)}const ve={...R,path:be,request:ge,ignoreSymlinks:true,fullySpecified:R.fullySpecified&&ge!=="."};v.doResolve(E,ve,`resolved by pnp to ${be}`,$,((v,E)=>{if(v)return N(v);if(E)return N(null,E);return N(null,null)}))}))}}},76517:function(v,E,P){"use strict";const{AsyncSeriesBailHook:R,AsyncSeriesHook:$,SyncHook:N}=P(79846);const L=P(96923);const{parseIdentifier:q}=P(98162);const{normalize:K,cachedJoin:ae,getType:ge,PathType:be}=P(1287);function toCamelCase(v){return v.replace(/-([a-z])/g,(v=>v.slice(1).toUpperCase()))}class Resolver{static createStackEntry(v,E){return v.name+": ("+E.path+") "+(E.request||"")+(E.query||"")+(E.fragment||"")+(E.directory?" directory":"")+(E.module?" module":"")}constructor(v,E){this.fileSystem=v;this.options=E;this.hooks={resolveStep:new N(["hook","request"],"resolveStep"),noResolve:new N(["request","error"],"noResolve"),resolve:new R(["request","resolveContext"],"resolve"),result:new $(["result","resolveContext"],"result")}}ensureHook(v){if(typeof v!=="string"){return v}v=toCamelCase(v);if(/^before/.test(v)){return this.ensureHook(v[6].toLowerCase()+v.slice(7)).withOptions({stage:-10})}if(/^after/.test(v)){return this.ensureHook(v[5].toLowerCase()+v.slice(6)).withOptions({stage:10})}const E=this.hooks[v];if(!E){this.hooks[v]=new R(["request","resolveContext"],v);return this.hooks[v]}return E}getHook(v){if(typeof v!=="string"){return v}v=toCamelCase(v);if(/^before/.test(v)){return this.getHook(v[6].toLowerCase()+v.slice(7)).withOptions({stage:-10})}if(/^after/.test(v)){return this.getHook(v[5].toLowerCase()+v.slice(6)).withOptions({stage:10})}const E=this.hooks[v];if(!E){throw new Error(`Hook ${v} doesn't exist`)}return E}resolveSync(v,E,P){let R=undefined;let $=undefined;let N=false;this.resolve(v,E,P,{},((v,E)=>{R=v;$=E;N=true}));if(!N){throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!")}if(R)throw R;if($===undefined)throw new Error("No result");return $}resolve(v,E,P,R,$){if(!v||typeof v!=="object")return $(new Error("context argument is not an object"));if(typeof E!=="string")return $(new Error("path argument is not a string"));if(typeof P!=="string")return $(new Error("request argument is not a string"));if(!R)return $(new Error("resolveContext argument is not set"));const N={context:v,path:E,request:P};let L;let q=false;let K;if(typeof R.yield==="function"){const v=R.yield;L=E=>{v(E);q=true};K=v=>{if(v){L(v)}$(null)}}const ae=`resolve '${P}' in '${E}'`;const finishResolved=v=>$(null,v.path===false?false:`${v.path.replace(/#/g,"\0#")}${v.query?v.query.replace(/#/g,"\0#"):""}${v.fragment||""}`,v);const finishWithoutResolve=v=>{const E=new Error("Can't "+ae);E.details=v.join("\n");this.hooks.noResolve.call(N,E);return $(E)};if(R.log){const v=R.log;const E=[];return this.doResolve(this.hooks.resolve,N,ae,{log:P=>{v(P);E.push(P)},yield:L,fileDependencies:R.fileDependencies,contextDependencies:R.contextDependencies,missingDependencies:R.missingDependencies,stack:R.stack},((v,P)=>{if(v)return $(v);if(q||P&&L){return K(P)}if(P)return finishResolved(P);return finishWithoutResolve(E)}))}else{return this.doResolve(this.hooks.resolve,N,ae,{log:undefined,yield:L,fileDependencies:R.fileDependencies,contextDependencies:R.contextDependencies,missingDependencies:R.missingDependencies,stack:R.stack},((v,E)=>{if(v)return $(v);if(q||E&&L){return K(E)}if(E)return finishResolved(E);const P=[];return this.doResolve(this.hooks.resolve,N,ae,{log:v=>P.push(v),yield:L,stack:R.stack},((v,E)=>{if(v)return $(v);if(q||E&&L){return K(E)}return finishWithoutResolve(P)}))}))}}doResolve(v,E,P,R,$){const N=Resolver.createStackEntry(v,E);let q;if(R.stack){q=new Set(R.stack);if(R.stack.has(N)){const v=new Error("Recursion in resolving\nStack:\n "+Array.from(q).join("\n "));v.recursion=true;if(R.log)R.log("abort resolving because of recursion");return $(v)}q.add(N)}else{q=new Set([N])}this.hooks.resolveStep.call(v,E);if(v.isUsed()){const N=L({log:R.log,yield:R.yield,fileDependencies:R.fileDependencies,contextDependencies:R.contextDependencies,missingDependencies:R.missingDependencies,stack:q},P);return v.callAsync(E,N,((v,E)=>{if(v)return $(v);if(E)return $(null,E);$()}))}else{$()}}parse(v){const E={request:"",query:"",fragment:"",module:false,directory:false,file:false,internal:false};const P=q(v);if(!P)return E;[E.request,E.query,E.fragment]=P;if(E.request.length>0){E.internal=this.isPrivate(v);E.module=this.isModule(E.request);E.directory=this.isDirectory(E.request);if(E.directory){E.request=E.request.slice(0,-1)}}return E}isModule(v){return ge(v)===be.Normal}isPrivate(v){return ge(v)===be.Internal}isDirectory(v){return v.endsWith("/")}join(v,E){return ae(v,E)}normalize(v){return K(v)}}v.exports=Resolver},45718:function(v,E,P){"use strict";const R=P(77282).versions;const $=P(76517);const{getType:N,PathType:L}=P(1287);const q=P(43190);const K=P(57157);const ae=P(94185);const ge=P(96174);const be=P(67616);const xe=P(35914);const ve=P(12075);const Ae=P(13037);const Ie=P(95457);const He=P(34048);const Qe=P(15174);const Je=P(79267);const Ve=P(7796);const Ke=P(65488);const Ye=P(22778);const Xe=P(8504);const Ze=P(81233);const et=P(44559);const tt=P(88992);const nt=P(6915);const st=P(67496);const rt=P(30239);const ot=P(66219);const it=P(74354);const at=P(25327);const ct=P(49040);const lt=P(4303);function processPnpApiOption(v){if(v===undefined&&R.pnp){const v=P(98188).findPnpApi;if(v){return{resolveToUnqualified(E,P,R){const $=v(P);if(!$){return null}return $.resolveToUnqualified(E,P,R)}}}}return v||null}function normalizeAlias(v){return typeof v==="object"&&!Array.isArray(v)&&v!==null?Object.keys(v).map((E=>{const P={name:E,onlyModule:false,alias:v[E]};if(/\$$/.test(E)){P.onlyModule=true;P.name=E.slice(0,-1)}return P})):v||[]}function createOptions(v){const E=new Set(v.mainFields||["main"]);const P=[];for(const v of E){if(typeof v==="string"){P.push({name:[v],forceRelative:true})}else if(Array.isArray(v)){P.push({name:v,forceRelative:true})}else{P.push({name:Array.isArray(v.name)?v.name:[v.name],forceRelative:v.forceRelative})}}return{alias:normalizeAlias(v.alias),fallback:normalizeAlias(v.fallback),aliasFields:new Set(v.aliasFields),cachePredicate:v.cachePredicate||function(){return true},cacheWithContext:typeof v.cacheWithContext!=="undefined"?v.cacheWithContext:true,exportsFields:new Set(v.exportsFields||["exports"]),importsFields:new Set(v.importsFields||["imports"]),conditionNames:new Set(v.conditionNames),descriptionFiles:Array.from(new Set(v.descriptionFiles||["package.json"])),enforceExtension:v.enforceExtension===undefined?v.extensions&&v.extensions.includes("")?true:false:v.enforceExtension,extensions:new Set(v.extensions||[".js",".json",".node"]),extensionAlias:v.extensionAlias?Object.keys(v.extensionAlias).map((E=>({extension:E,alias:v.extensionAlias[E]}))):[],fileSystem:v.useSyncFileSystemCalls?new q(v.fileSystem):v.fileSystem,unsafeCache:v.unsafeCache&&typeof v.unsafeCache!=="object"?{}:v.unsafeCache||false,symlinks:typeof v.symlinks!=="undefined"?v.symlinks:true,resolver:v.resolver,modules:mergeFilteredToArray(Array.isArray(v.modules)?v.modules:v.modules?[v.modules]:["node_modules"],(v=>{const E=N(v);return E===L.Normal||E===L.Relative})),mainFields:P,mainFiles:new Set(v.mainFiles||["index"]),plugins:v.plugins||[],pnpApi:processPnpApiOption(v.pnpApi),roots:new Set(v.roots||undefined),fullySpecified:v.fullySpecified||false,resolveToContext:v.resolveToContext||false,preferRelative:v.preferRelative||false,preferAbsolute:v.preferAbsolute||false,restrictions:new Set(v.restrictions)}}E.createResolver=function(v){const E=createOptions(v);const{alias:P,fallback:R,aliasFields:N,cachePredicate:L,cacheWithContext:q,conditionNames:ut,descriptionFiles:pt,enforceExtension:dt,exportsFields:ft,extensionAlias:ht,importsFields:mt,extensions:gt,fileSystem:yt,fullySpecified:bt,mainFields:xt,mainFiles:kt,modules:vt,plugins:wt,pnpApi:Et,resolveToContext:At,preferRelative:Ct,preferAbsolute:St,symlinks:_t,unsafeCache:Pt,resolver:Mt,restrictions:It,roots:Ot}=E;const Dt=wt.slice();const Rt=Mt?Mt:new $(yt,E);Rt.ensureHook("resolve");Rt.ensureHook("internalResolve");Rt.ensureHook("newInternalResolve");Rt.ensureHook("parsedResolve");Rt.ensureHook("describedResolve");Rt.ensureHook("rawResolve");Rt.ensureHook("normalResolve");Rt.ensureHook("internal");Rt.ensureHook("rawModule");Rt.ensureHook("alternateRawModule");Rt.ensureHook("module");Rt.ensureHook("resolveAsModule");Rt.ensureHook("undescribedResolveInPackage");Rt.ensureHook("resolveInPackage");Rt.ensureHook("resolveInExistingDirectory");Rt.ensureHook("relative");Rt.ensureHook("describedRelative");Rt.ensureHook("directory");Rt.ensureHook("undescribedExistingDirectory");Rt.ensureHook("existingDirectory");Rt.ensureHook("undescribedRawFile");Rt.ensureHook("rawFile");Rt.ensureHook("file");Rt.ensureHook("finalFile");Rt.ensureHook("existingFile");Rt.ensureHook("resolved");Rt.hooks.newInteralResolve=Rt.hooks.newInternalResolve;for(const{source:v,resolveOptions:E}of[{source:"resolve",resolveOptions:{fullySpecified:bt}},{source:"internal-resolve",resolveOptions:{fullySpecified:false}}]){if(Pt){Dt.push(new ct(v,L,Pt,q,`new-${v}`));Dt.push(new et(`new-${v}`,E,"parsed-resolve"))}else{Dt.push(new et(v,E,"parsed-resolve"))}}Dt.push(new xe("parsed-resolve",pt,false,"described-resolve"));Dt.push(new Ze("after-parsed-resolve","described-resolve"));Dt.push(new Ze("described-resolve","raw-resolve"));if(R.length>0){Dt.push(new ae("described-resolve",R,"internal-resolve"))}if(P.length>0){Dt.push(new ae("raw-resolve",P,"internal-resolve"))}N.forEach((v=>{Dt.push(new K("raw-resolve",v,"internal-resolve"))}));ht.forEach((v=>Dt.push(new Ie("raw-resolve",v,"normal-resolve"))));Dt.push(new Ze("raw-resolve","normal-resolve"));if(Ct){Dt.push(new Ve("after-normal-resolve","relative"))}Dt.push(new be("after-normal-resolve",{module:true},"resolve as module",false,"raw-module"));Dt.push(new be("after-normal-resolve",{internal:true},"resolve as internal import",false,"internal"));if(St){Dt.push(new Ve("after-normal-resolve","relative"))}if(Ot.size>0){Dt.push(new rt("after-normal-resolve",Ot,"relative"))}if(!Ct&&!St){Dt.push(new Ve("after-normal-resolve","relative"))}mt.forEach((v=>{Dt.push(new Qe("internal",ut,v,"relative","internal-resolve"))}));ft.forEach((v=>{Dt.push(new ot("raw-module",v,"resolve-as-module"))}));vt.forEach((v=>{if(Array.isArray(v)){if(v.includes("node_modules")&&Et){Dt.push(new Ye("raw-module",v.filter((v=>v!=="node_modules")),"module"));Dt.push(new tt("raw-module",Et,"undescribed-resolve-in-package","alternate-raw-module"));Dt.push(new Ye("alternate-raw-module",["node_modules"],"module"))}else{Dt.push(new Ye("raw-module",v,"module"))}}else{Dt.push(new Xe("raw-module",v,"module"))}}));Dt.push(new Je("module","resolve-as-module"));if(!At){Dt.push(new be("resolve-as-module",{directory:false,request:"."},"single file module",true,"undescribed-raw-file"))}Dt.push(new ve("resolve-as-module","undescribed-resolve-in-package"));Dt.push(new xe("undescribed-resolve-in-package",pt,false,"resolve-in-package"));Dt.push(new Ze("after-undescribed-resolve-in-package","resolve-in-package"));ft.forEach((v=>{Dt.push(new Ae("resolve-in-package",ut,v,"relative"))}));Dt.push(new Ze("resolve-in-package","resolve-in-existing-directory"));Dt.push(new Ve("resolve-in-existing-directory","relative"));Dt.push(new xe("relative",pt,true,"described-relative"));Dt.push(new Ze("after-relative","described-relative"));if(At){Dt.push(new Ze("described-relative","directory"))}else{Dt.push(new be("described-relative",{directory:false},null,true,"raw-file"));Dt.push(new be("described-relative",{fullySpecified:false},"as directory",true,"directory"))}Dt.push(new ve("directory","undescribed-existing-directory"));if(At){Dt.push(new Ze("undescribed-existing-directory","resolved"))}else{Dt.push(new xe("undescribed-existing-directory",pt,false,"existing-directory"));kt.forEach((v=>{Dt.push(new lt("undescribed-existing-directory",v,"undescribed-raw-file"))}));xt.forEach((v=>{Dt.push(new Ke("existing-directory",v,"resolve-in-existing-directory"))}));kt.forEach((v=>{Dt.push(new lt("existing-directory",v,"undescribed-raw-file"))}));Dt.push(new xe("undescribed-raw-file",pt,true,"raw-file"));Dt.push(new Ze("after-undescribed-raw-file","raw-file"));Dt.push(new be("raw-file",{fullySpecified:true},null,false,"file"));if(!dt){Dt.push(new at("raw-file","no extension","file"))}gt.forEach((v=>{Dt.push(new ge("raw-file",v,"file"))}));if(P.length>0)Dt.push(new ae("file",P,"internal-resolve"));N.forEach((v=>{Dt.push(new K("file",v,"internal-resolve"))}));Dt.push(new Ze("file","final-file"));Dt.push(new He("final-file","existing-file"));if(_t)Dt.push(new it("existing-file","existing-file"));Dt.push(new Ze("existing-file","resolved"))}const Tt=Rt.hooks.resolved;if(It.size>0){Dt.push(new nt(Tt,It))}Dt.push(new st(Tt));for(const v of Dt){if(typeof v==="function"){v.call(Rt,Rt)}else if(v){v.apply(Rt)}}return Rt};function mergeFilteredToArray(v,E){const P=[];const R=new Set(v);for(const v of R){if(E(v)){const E=P.length>0?P[P.length-1]:undefined;if(Array.isArray(E)){E.push(v)}else{P.push([v])}}else{P.push(v)}}return P}},6915:function(v){"use strict";const E="/".charCodeAt(0);const P="\\".charCodeAt(0);const isInside=(v,R)=>{if(!v.startsWith(R))return false;if(v.length===R.length)return true;const $=v.charCodeAt(R.length);return $===E||$===P};v.exports=class RestrictionsPlugin{constructor(v,E){this.source=v;this.restrictions=E}apply(v){v.getHook(this.source).tapAsync("RestrictionsPlugin",((v,E,P)=>{if(typeof v.path==="string"){const R=v.path;for(const v of this.restrictions){if(typeof v==="string"){if(!isInside(R,v)){if(E.log){E.log(`${R} is not inside of the restriction ${v}`)}return P(null,null)}}else if(!v.test(R)){if(E.log){E.log(`${R} doesn't match the restriction ${v}`)}return P(null,null)}}}P()}))}}},67496:function(v){"use strict";v.exports=class ResultPlugin{constructor(v){this.source=v}apply(v){this.source.tapAsync("ResultPlugin",((E,P,R)=>{const $={...E};if(P.log)P.log("reporting result "+$.path);v.hooks.result.callAsync($,P,(v=>{if(v)return R(v);if(typeof P.yield==="function"){P.yield($);R(null,null)}else{R(null,$)}}))}))}}},30239:function(v,E,P){"use strict";const R=P(85723);class RootsPlugin{constructor(v,E,P){this.roots=Array.from(E);this.source=v;this.target=P}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("RootsPlugin",((P,$,N)=>{const L=P.request;if(!L)return N();if(!L.startsWith("/"))return N();R(this.roots,((R,N)=>{const q=v.join(R,L.slice(1));const K={...P,path:q,relativePath:P.relativePath&&q};v.doResolve(E,K,`root path ${R}`,$,N)}),N)}))}}v.exports=RootsPlugin},66219:function(v,E,P){"use strict";const R=P(64826);const $="/".charCodeAt(0);v.exports=class SelfReferencePlugin{constructor(v,E,P){this.source=v;this.target=P;this.fieldName=E}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("SelfReferencePlugin",((P,N,L)=>{if(!P.descriptionFilePath)return L();const q=P.request;if(!q)return L();const K=R.getField(P.descriptionFileData,this.fieldName);if(!K)return L();const ae=R.getField(P.descriptionFileData,"name");if(typeof ae!=="string")return L();if(q.startsWith(ae)&&(q.length===ae.length||q.charCodeAt(ae.length)===$)){const R=`.${q.slice(ae.length)}`;const $={...P,request:R,path:P.descriptionFileRoot,relativePath:"."};v.doResolve(E,$,"self reference",N,L)}else{return L()}}))}}},74354:function(v,E,P){"use strict";const R=P(85723);const $=P(70257);const{getType:N,PathType:L}=P(1287);v.exports=class SymlinkPlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const E=v.ensureHook(this.target);const P=v.fileSystem;v.getHook(this.source).tapAsync("SymlinkPlugin",((q,K,ae)=>{if(q.ignoreSymlinks)return ae();const ge=$(q.path);const be=ge.segments;const xe=ge.paths;let ve=false;let Ae=-1;R(xe,((v,E)=>{Ae++;if(K.fileDependencies)K.fileDependencies.add(v);P.readlink(v,((v,P)=>{if(!v&&P){be[Ae]=P;ve=true;const v=N(P.toString());if(v===L.AbsoluteWin||v===L.AbsolutePosix){return E(null,Ae)}}E()}))}),((P,R)=>{if(!ve)return ae();const $=typeof R==="number"?be.slice(0,R+1):be.slice();const N=$.reduceRight(((E,P)=>v.join(E,P)));const L={...q,path:N};v.doResolve(E,L,"resolved symlink to "+N,K,ae)}))}))}}},43190:function(v){"use strict";function SyncAsyncFileSystemDecorator(v){this.fs=v;this.lstat=undefined;this.lstatSync=undefined;const E=v.lstatSync;if(E){this.lstat=(P,R,$)=>{let N;try{N=$?E.call(v,P,R):E.call(v,P)}catch(v){return($||R)(v)}($||R)(null,N)};this.lstatSync=(P,R)=>E.call(v,P,R)}this.stat=(E,P,R)=>{let $;try{$=R?v.statSync(E,P):v.statSync(E)}catch(v){return(R||P)(v)}(R||P)(null,$)};this.statSync=(E,P)=>v.statSync(E,P);this.readdir=(E,P,R)=>{let $;try{$=R?v.readdirSync(E,P):v.readdirSync(E)}catch(v){return(R||P)(v)}(R||P)(null,$)};this.readdirSync=(E,P)=>v.readdirSync(E,P);this.readFile=(E,P,R)=>{let $;try{$=R?v.readFileSync(E,P):v.readFileSync(E)}catch(v){return(R||P)(v)}(R||P)(null,$)};this.readFileSync=(E,P)=>v.readFileSync(E,P);this.readlink=(E,P,R)=>{let $;try{$=R?v.readlinkSync(E,P):v.readlinkSync(E)}catch(v){return(R||P)(v)}(R||P)(null,$)};this.readlinkSync=(E,P)=>v.readlinkSync(E,P);this.readJson=undefined;this.readJsonSync=undefined;const P=v.readJsonSync;if(P){this.readJson=(E,R)=>{let $;try{$=P.call(v,E)}catch(v){return R(v)}R(null,$)};this.readJsonSync=E=>P.call(v,E)}this.realpath=undefined;this.realpathSync=undefined;const R=v.realpathSync;if(R){this.realpath=(E,P,$)=>{let N;try{N=$?R.call(v,E,P):R.call(v,E)}catch(v){return($||P)(v)}($||P)(null,N)};this.realpathSync=(E,P)=>R.call(v,E,P)}}v.exports=SyncAsyncFileSystemDecorator},25327:function(v){"use strict";v.exports=class TryNextPlugin{constructor(v,E,P){this.source=v;this.message=E;this.target=P}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("TryNextPlugin",((P,R,$)=>{v.doResolve(E,P,this.message,R,$)}))}}},49040:function(v){"use strict";function getCacheId(v,E,P){return JSON.stringify({type:v,context:P?E.context:"",path:E.path,query:E.query,fragment:E.fragment,request:E.request})}v.exports=class UnsafeCachePlugin{constructor(v,E,P,R,$){this.source=v;this.filterPredicate=E;this.withContext=R;this.cache=P;this.target=$}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("UnsafeCachePlugin",((P,R,$)=>{if(!this.filterPredicate(P))return $();const N=typeof R.yield==="function";const L=getCacheId(N?"yield":"default",P,this.withContext);const q=this.cache[L];if(q){if(N){const v=R.yield;if(Array.isArray(q)){for(const E of q)v(E)}else{v(q)}return $(null,null)}return $(null,q)}let K;let ae;const ge=[];if(N){K=R.yield;ae=v=>{ge.push(v)}}v.doResolve(E,P,null,ae?{...R,yield:ae}:R,((v,E)=>{if(v)return $(v);if(N){if(E)ge.push(E);for(const v of ge){K(v)}this.cache[L]=ge;return $(null,null)}if(E)return $(null,this.cache[L]=E);$()}))}))}}},4303:function(v){"use strict";v.exports=class UseFilePlugin{constructor(v,E,P){this.source=v;this.filename=E;this.target=P}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("UseFilePlugin",((P,R,$)=>{const N=v.join(P.path,this.filename);const L={...P,path:N,relativePath:P.relativePath&&v.join(P.relativePath,this.filename)};v.doResolve(E,L,"using path: "+N,R,$)}))}}},96923:function(v){"use strict";v.exports=function createInnerContext(v,E){let P=false;let R=undefined;if(v.log){if(E){R=R=>{if(!P){v.log(E);P=true}v.log(" "+R)}}else{R=v.log}}return{log:R,yield:v.yield,fileDependencies:v.fileDependencies,contextDependencies:v.contextDependencies,missingDependencies:v.missingDependencies,stack:v.stack}}},85723:function(v){"use strict";v.exports=function forEachBail(v,E,P){if(v.length===0)return P();let R=0;const next=()=>{let $=undefined;E(v[R++],((E,N)=>{if(E||N!==undefined||R>=v.length){return P(E,N)}if($===false)while(next());$=true}),R);if(!$)$=false;return $};while(next());}},61663:function(v){"use strict";v.exports=function getInnerRequest(v,E){if(typeof E.__innerRequest==="string"&&E.__innerRequest_request===E.request&&E.__innerRequest_relativePath===E.relativePath)return E.__innerRequest;let P;if(E.request){P=E.request;if(/^\.\.?(?:\/|$)/.test(P)&&E.relativePath){P=v.join(E.relativePath,P)}}else{P=E.relativePath}E.__innerRequest_request=E.request;E.__innerRequest_relativePath=E.relativePath;return E.__innerRequest=P}},70257:function(v){"use strict";v.exports=function getPaths(v){if(v==="/")return{paths:["/"],segments:[""]};const E=v.split(/(.*?[\\/]+)/);const P=[v];const R=[E[E.length-1]];let $=E[E.length-1];v=v.substring(0,v.length-$.length-1);for(let N=E.length-2;N>2;N-=2){P.push(v);$=E[N];v=v.substring(0,v.length-$.length)||"/";R.push($.slice(0,-1))}$=E[1];R.push($);P.push($);return{paths:P,segments:R}};v.exports.basename=function basename(v){const E=v.lastIndexOf("/"),P=v.lastIndexOf("\\");const R=E<0?P:P<0?E:E{if(typeof v==="string"){$=R;R=P;P=E;E=v;v=q}if(typeof $!=="function"){$=R}K.resolve(v,E,P,R,$)};const ae=N.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:L});const resolveSync=(v,E,P)=>{if(typeof v==="string"){P=E;E=v;v=q}return ae.resolveSync(v,E,P)};function create(v){const E=N.createResolver({fileSystem:L,...v});return function(v,P,R,$,N){if(typeof v==="string"){N=$;$=R;R=P;P=v;v=q}if(typeof N!=="function"){N=$}E.resolve(v,P,R,$,N)}}function createSync(v){const E=N.createResolver({useSyncFileSystemCalls:true,fileSystem:L,...v});return function(v,P,R){if(typeof v==="string"){R=P;P=v;v=q}return E.resolveSync(v,P,R)}}const mergeExports=(v,E)=>{const P=Object.getOwnPropertyDescriptors(E);Object.defineProperties(v,P);return Object.freeze(v)};v.exports=mergeExports(resolve,{get sync(){return resolveSync},create:mergeExports(create,{get sync(){return createSync}}),ResolverFactory:N,CachedInputFileSystem:$,get CloneBasenamePlugin(){return P(21405)},get LogInfoPlugin(){return P(65320)},get forEachBail(){return P(85723)}})},43035:function(v){"use strict";const E="/".charCodeAt(0);const P=".".charCodeAt(0);const R="#".charCodeAt(0);const $=/\*/g;v.exports.processExportsField=function processExportsField(v){return createFieldProcessor(buildExportsField(v),(v=>v.length===0?".":"./"+v),assertExportsFieldRequest,assertExportTarget)};v.exports.processImportsField=function processImportsField(v){return createFieldProcessor(buildImportsField(v),(v=>"#"+v),assertImportsFieldRequest,assertImportTarget)};function createFieldProcessor(v,E,P,R){return function fieldProcessor($,N){$=P($);const L=findMatch(E($),v);if(L===null)return[];const[q,K,ae,ge]=L;let be=null;if(isConditionalMapping(q)){be=conditionalMapping(q,N);if(be===null)return[]}else{be=q}return directMapping(K,ge,ae,be,N,R)}}function assertExportsFieldRequest(v){if(v.charCodeAt(0)!==P){throw new Error('Request should be relative path and start with "."')}if(v.length===1)return"";if(v.charCodeAt(1)!==E){throw new Error('Request should be relative path and start with "./"')}if(v.charCodeAt(v.length-1)===E){throw new Error("Only requesting file allowed")}return v.slice(2)}function assertImportsFieldRequest(v){if(v.charCodeAt(0)!==R){throw new Error('Request should start with "#"')}if(v.length===1){throw new Error("Request should have at least 2 characters")}if(v.charCodeAt(1)===E){throw new Error('Request should not start with "#/"')}if(v.charCodeAt(v.length-1)===E){throw new Error("Only requesting file allowed")}return v.slice(1)}function assertExportTarget(v,R){if(v.charCodeAt(0)===E||v.charCodeAt(0)===P&&v.charCodeAt(1)!==E){throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(v)}.`)}const $=v.charCodeAt(v.length-1)===E;if($!==R){throw new Error(R?`Expecting folder to folder mapping. ${JSON.stringify(v)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(v)} should not end with "/"`)}}function assertImportTarget(v,P){const R=v.charCodeAt(v.length-1)===E;if(R!==P){throw new Error(P?`Expecting folder to folder mapping. ${JSON.stringify(v)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(v)} should not end with "/"`)}}function patternKeyCompare(v,E){const P=v.indexOf("*");const R=E.indexOf("*");const $=P===-1?v.length:P+1;const N=R===-1?E.length:R+1;if($>N)return-1;if(N>$)return 1;if(P===-1)return 1;if(R===-1)return-1;if(v.length>E.length)return-1;if(E.length>v.length)return 1;return 0}function findMatch(v,E){if(Object.prototype.hasOwnProperty.call(E,v)&&!v.includes("*")&&!v.endsWith("/")){const P=E[v];return[P,"",false,false]}let P="";let R;const $=Object.getOwnPropertyNames(E);for(let E=0;E<$.length;E++){const N=$[E];const L=N.indexOf("*");if(L!==-1&&v.startsWith(N.slice(0,L))){const E=N.slice(L+1);if(v.length>=N.length&&v.endsWith(E)&&patternKeyCompare(P,N)===1&&N.lastIndexOf("*")===L){P=N;R=v.slice(L,v.length-E.length)}}else if(N[N.length-1]==="/"&&v.startsWith(N)&&patternKeyCompare(P,N)===1){P=N;R=v.slice(N.length)}}if(P==="")return null;const N=E[P];const L=P.endsWith("/");const q=P.includes("*");return[N,R,L,q]}function isConditionalMapping(v){return v!==null&&typeof v==="object"&&!Array.isArray(v)}function directMapping(v,E,P,R,$,N){if(R===null)return[];if(typeof R==="string"){return[targetMapping(v,E,P,R,N)]}const L=[];for(const q of R){if(typeof q==="string"){L.push(targetMapping(v,E,P,q,N));continue}const R=conditionalMapping(q,$);if(!R)continue;const K=directMapping(v,E,P,R,$,N);for(const v of K){L.push(v)}}return L}function targetMapping(v,E,P,R,N){if(v===undefined){N(R,false);return R}if(P){N(R,true);return R+v}N(R,false);let L=R;if(E){L=L.replace($,v.replace(/\$/g,"$$"))}return L}function conditionalMapping(v,E){let P=[[v,Object.keys(v),0]];e:while(P.length>0){const[v,R,$]=P[P.length-1];const N=R.length-1;for(let L=$;L{switch(v.length){case 0:return Ie.Empty;case 1:{const E=v.charCodeAt(0);switch(E){case be:return Ie.Relative;case N:return Ie.AbsolutePosix;case $:return Ie.Internal}return Ie.Normal}case 2:{const E=v.charCodeAt(0);switch(E){case be:{const E=v.charCodeAt(1);switch(E){case be:case N:return Ie.Relative}return Ie.Normal}case N:return Ie.AbsolutePosix;case $:return Ie.Internal}const P=v.charCodeAt(1);if(P===xe){if(E>=q&&E<=K||E>=ae&&E<=ge){return Ie.AbsoluteWin}}return Ie.Normal}}const E=v.charCodeAt(0);switch(E){case be:{const E=v.charCodeAt(1);switch(E){case N:return Ie.Relative;case be:{const E=v.charCodeAt(2);if(E===N)return Ie.Relative;return Ie.Normal}}return Ie.Normal}case N:return Ie.AbsolutePosix;case $:return Ie.Internal}const P=v.charCodeAt(1);if(P===xe){const P=v.charCodeAt(2);if((P===L||P===N)&&(E>=q&&E<=K||E>=ae&&E<=ge)){return Ie.AbsoluteWin}}return Ie.Normal};E.getType=getType;const normalize=v=>{switch(getType(v)){case Ie.Empty:return v;case Ie.AbsoluteWin:return Ae(v);case Ie.Relative:{const E=ve(v);return getType(E)===Ie.Relative?E:`./${E}`}}return ve(v)};E.normalize=normalize;const join=(v,E)=>{if(!E)return normalize(v);const P=getType(E);switch(P){case Ie.AbsolutePosix:return ve(E);case Ie.AbsoluteWin:return Ae(E)}switch(getType(v)){case Ie.Normal:case Ie.Relative:case Ie.AbsolutePosix:return ve(`${v}/${E}`);case Ie.AbsoluteWin:return Ae(`${v}\\${E}`)}switch(P){case Ie.Empty:return v;case Ie.Relative:{const E=ve(v);return getType(E)===Ie.Relative?E:`./${E}`}}return ve(v)};E.join=join;const He=new Map;const cachedJoin=(v,E)=>{let P;let R=He.get(v);if(R===undefined){He.set(v,R=new Map)}else{P=R.get(E);if(P!==undefined)return P}P=join(v,E);R.set(E,P);return P};E.cachedJoin=cachedJoin;const checkImportsExportsFieldTarget=v=>{let E=0;let P=v.indexOf("/",1);let R=0;while(P!==-1){const $=v.slice(E,P);switch($){case"..":{R--;if(R<0)return new Error(`Trying to access out of package scope. Requesting ${v}`);break}case".":break;default:R++;break}E=P+1;P=v.indexOf("/",E)}};E.checkImportsExportsFieldTarget=checkImportsExportsFieldTarget},84494:function(v,E,P){"use strict";const R=P(30529);class Definition{constructor(v,E,P,R,$,N){this.type=v;this.name=E;this.node=P;this.parent=R;this.index=$;this.kind=N}}class ParameterDefinition extends Definition{constructor(v,E,P,$){super(R.Parameter,v,E,null,P,null);this.rest=$}}v.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},12836:function(v,E,P){"use strict";const R=P(39491);const $=P(40680);const N=P(48648);const L=P(21621);const q=P(30529);const K=P(18802).Scope;const ae=P(13348).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(v,E){function isHashObject(v){return typeof v==="object"&&v instanceof Object&&!(v instanceof Array)&&!(v instanceof RegExp)}for(const P in E){if(Object.prototype.hasOwnProperty.call(E,P)){const R=E[P];if(isHashObject(R)){if(isHashObject(v[P])){updateDeeply(v[P],R)}else{v[P]=updateDeeply({},R)}}else{v[P]=R}}}return v}function analyze(v,E){const P=updateDeeply(defaultOptions(),E);const L=new $(P);const q=new N(P,L);q.visit(v);R(L.__currentScope===null,"currentScope should be null.");return L}v.exports={version:ae,Reference:L,Variable:q,Scope:K,ScopeManager:$,analyze:analyze}},62999:function(v,E,P){"use strict";const R=P(12205).Syntax;const $=P(41396);function getLast(v){return v[v.length-1]||null}class PatternVisitor extends $.Visitor{static isPattern(v){const E=v.type;return E===R.Identifier||E===R.ObjectPattern||E===R.ArrayPattern||E===R.SpreadElement||E===R.RestElement||E===R.AssignmentPattern}constructor(v,E,P){super(null,v);this.rootPattern=E;this.callback=P;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(v){const E=getLast(this.restElements);this.callback(v,{topLevel:v===this.rootPattern,rest:E!==null&&E!==undefined&&E.argument===v,assignments:this.assignments})}Property(v){if(v.computed){this.rightHandNodes.push(v.key)}this.visit(v.value)}ArrayPattern(v){for(let E=0,P=v.elements.length;E{this.rightHandNodes.push(v)}));this.visit(v.callee)}}v.exports=PatternVisitor},21621:function(v){"use strict";const E=1;const P=2;const R=E|P;class Reference{constructor(v,E,P,R,$,N,L){this.identifier=v;this.from=E;this.tainted=false;this.resolved=null;this.flag=P;if(this.isWrite()){this.writeExpr=R;this.partial=N;this.init=L}this.__maybeImplicitGlobal=$}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=E;Reference.WRITE=P;Reference.RW=R;v.exports=Reference},48648:function(v,E,P){"use strict";const R=P(12205).Syntax;const $=P(41396);const N=P(21621);const L=P(30529);const q=P(62999);const K=P(84494);const ae=P(39491);const ge=K.ParameterDefinition;const be=K.Definition;function traverseIdentifierInPattern(v,E,P,R){const $=new q(v,E,R);$.visit(E);if(P!==null&&P!==undefined){$.rightHandNodes.forEach(P.visit,P)}}class Importer extends $.Visitor{constructor(v,E){super(null,E.options);this.declaration=v;this.referencer=E}visitImport(v,E){this.referencer.visitPattern(v,(v=>{this.referencer.currentScope().__define(v,new be(L.ImportBinding,v,E,this.declaration,null,null))}))}ImportNamespaceSpecifier(v){const E=v.local||v.id;if(E){this.visitImport(E,v)}}ImportDefaultSpecifier(v){const E=v.local||v.id;this.visitImport(E,v)}ImportSpecifier(v){const E=v.local||v.id;if(v.name){this.visitImport(v.name,v)}else{this.visitImport(E,v)}}}class Referencer extends $.Visitor{constructor(v,E){super(null,v);this.options=v;this.scopeManager=E;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(v){while(this.currentScope()&&v===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(v){const E=this.isInnerMethodDefinition;this.isInnerMethodDefinition=v;return E}popInnerMethodDefinition(v){this.isInnerMethodDefinition=v}referencingDefaultValue(v,E,P,R){const $=this.currentScope();E.forEach((E=>{$.__referencing(v,N.WRITE,E.right,P,v!==E.left,R)}))}visitPattern(v,E,P){let R=E;let $=P;if(typeof E==="function"){$=E;R={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,v,R.processRightHandNodes?this:null,$)}visitFunction(v){let E,P;if(v.type===R.FunctionDeclaration){this.currentScope().__define(v.id,new be(L.FunctionName,v.id,v,null,null,null))}if(v.type===R.FunctionExpression&&v.id){this.scopeManager.__nestFunctionExpressionNameScope(v)}this.scopeManager.__nestFunctionScope(v,this.isInnerMethodDefinition);const $=this;function visitPatternCallback(P,R){$.currentScope().__define(P,new ge(P,v,E,R.rest));$.referencingDefaultValue(P,R.assignments,null,true)}for(E=0,P=v.params.length;E
{this.currentScope().__define(E,new ge(E,v,v.params.length,true))}))}if(v.body){if(v.body.type===R.BlockStatement){this.visitChildren(v.body)}else{this.visit(v.body)}}this.close(v)}visitClass(v){if(v.type===R.ClassDeclaration){this.currentScope().__define(v.id,new be(L.ClassName,v.id,v,null,null,null))}this.visit(v.superClass);this.scopeManager.__nestClassScope(v);if(v.id){this.currentScope().__define(v.id,new be(L.ClassName,v.id,v))}this.visit(v.body);this.close(v)}visitProperty(v){let E;if(v.computed){this.visit(v.key)}const P=v.type===R.MethodDefinition;if(P){E=this.pushInnerMethodDefinition(true)}this.visit(v.value);if(P){this.popInnerMethodDefinition(E)}}visitForIn(v){if(v.left.type===R.VariableDeclaration&&v.left.kind!=="var"){this.scopeManager.__nestForScope(v)}if(v.left.type===R.VariableDeclaration){this.visit(v.left);this.visitPattern(v.left.declarations[0].id,(E=>{this.currentScope().__referencing(E,N.WRITE,v.right,null,true,true)}))}else{this.visitPattern(v.left,{processRightHandNodes:true},((E,P)=>{let R=null;if(!this.currentScope().isStrict){R={pattern:E,node:v}}this.referencingDefaultValue(E,P.assignments,R,false);this.currentScope().__referencing(E,N.WRITE,v.right,R,true,false)}))}this.visit(v.right);this.visit(v.body);this.close(v)}visitVariableDeclaration(v,E,P,R){const $=P.declarations[R];const L=$.init;this.visitPattern($.id,{processRightHandNodes:true},((q,K)=>{v.__define(q,new be(E,q,$,P,R,P.kind));this.referencingDefaultValue(q,K.assignments,null,true);if(L){this.currentScope().__referencing(q,N.WRITE,L,null,!K.topLevel,true)}}))}AssignmentExpression(v){if(q.isPattern(v.left)){if(v.operator==="="){this.visitPattern(v.left,{processRightHandNodes:true},((E,P)=>{let R=null;if(!this.currentScope().isStrict){R={pattern:E,node:v}}this.referencingDefaultValue(E,P.assignments,R,false);this.currentScope().__referencing(E,N.WRITE,v.right,R,!P.topLevel,false)}))}else{this.currentScope().__referencing(v.left,N.RW,v.right)}}else{this.visit(v.left)}this.visit(v.right)}CatchClause(v){this.scopeManager.__nestCatchScope(v);this.visitPattern(v.param,{processRightHandNodes:true},((E,P)=>{this.currentScope().__define(E,new be(L.CatchClause,v.param,v,null,null,null));this.referencingDefaultValue(E,P.assignments,null,true)}));this.visit(v.body);this.close(v)}Program(v){this.scopeManager.__nestGlobalScope(v);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(v,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(v)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(v);this.close(v)}Identifier(v){this.currentScope().__referencing(v)}UpdateExpression(v){if(q.isPattern(v.argument)){this.currentScope().__referencing(v.argument,N.RW,null)}else{this.visitChildren(v)}}MemberExpression(v){this.visit(v.object);if(v.computed){this.visit(v.property)}}Property(v){this.visitProperty(v)}MethodDefinition(v){this.visitProperty(v)}BreakStatement(){}ContinueStatement(){}LabeledStatement(v){this.visit(v.body)}ForStatement(v){if(v.init&&v.init.type===R.VariableDeclaration&&v.init.kind!=="var"){this.scopeManager.__nestForScope(v)}this.visitChildren(v);this.close(v)}ClassExpression(v){this.visitClass(v)}ClassDeclaration(v){this.visitClass(v)}CallExpression(v){if(!this.scopeManager.__ignoreEval()&&v.callee.type===R.Identifier&&v.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(v)}BlockStatement(v){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(v)}this.visitChildren(v);this.close(v)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(v){this.visit(v.object);this.scopeManager.__nestWithScope(v);this.visit(v.body);this.close(v)}VariableDeclaration(v){const E=v.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let P=0,R=v.declarations.length;P=5}__get(v){return this.__nodeToScope.get(v)}getDeclaredVariables(v){return this.__declaredVariables.get(v)||[]}acquire(v,E){function predicate(v){if(v.type==="function"&&v.functionExpressionScope){return false}return true}const P=this.__get(v);if(!P||P.length===0){return null}if(P.length===1){return P[0]}if(E){for(let v=P.length-1;v>=0;--v){const E=P[v];if(predicate(E)){return E}}}else{for(let v=0,E=P.length;v=6}}v.exports=ScopeManager},18802:function(v,E,P){"use strict";const R=P(12205).Syntax;const $=P(21621);const N=P(30529);const L=P(84494).Definition;const q=P(39491);function isStrictScope(v,E,P,$){let N;if(v.upper&&v.upper.isStrict){return true}if(P){return true}if(v.type==="class"||v.type==="module"){return true}if(v.type==="block"||v.type==="switch"){return false}if(v.type==="function"){if(E.type===R.ArrowFunctionExpression&&E.body.type!==R.BlockStatement){return false}if(E.type===R.Program){N=E}else{N=E.body}if(!N){return false}}else if(v.type==="global"){N=E}else{return false}if($){for(let v=0,E=N.body.length;v0&&R.every(shouldBeStatically)}__staticCloseRef(v){if(!this.__resolve(v)){this.__delegateToUpperScope(v)}}__dynamicCloseRef(v){let E=this;do{E.through.push(v);E=E.upper}while(E)}__globalCloseRef(v){if(this.__shouldStaticallyCloseForGlobal(v)){this.__staticCloseRef(v)}else{this.__dynamicCloseRef(v)}}__close(v){let E;if(this.__shouldStaticallyClose(v)){E=this.__staticCloseRef}else if(this.type!=="global"){E=this.__dynamicCloseRef}else{E=this.__globalCloseRef}for(let v=0,P=this.__left.length;vv.name.range[0]>=P)))}}class ForScope extends Scope{constructor(v,E,P){super(v,"for",E,P,false)}}class ClassScope extends Scope{constructor(v,E,P){super(v,"class",E,P,false)}}v.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},30529:function(v){"use strict";class Variable{constructor(v,E){this.name=v;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=E}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";v.exports=Variable},41396:function(v,E,P){(function(){"use strict";var v=P(41731);function isNode(v){if(v==null){return false}return typeof v==="object"&&typeof v.type==="string"}function isProperty(E,P){return(E===v.Syntax.ObjectExpression||E===v.Syntax.ObjectPattern)&&P==="properties"}function Visitor(E,P){P=P||{};this.__visitor=E||this;this.__childVisitorKeys=P.childVisitorKeys?Object.assign({},v.VisitorKeys,P.childVisitorKeys):v.VisitorKeys;if(P.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof P.fallback==="function"){this.__fallback=P.fallback}}Visitor.prototype.visitChildren=function(E){var P,R,$,N,L,q,K;if(E==null){return}P=E.type||v.Syntax.Property;R=this.__childVisitorKeys[P];if(!R){if(this.__fallback){R=this.__fallback(E)}else{throw new Error("Unknown node type "+P+".")}}for($=0,N=R.length;$>>1;N=$+P;if(E(v[N])){R=P}else{$=N+1;R-=P+1}}return $}E={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};$={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};N={};L={};q={};R={Break:N,Skip:L,Remove:q};function Reference(v,E){this.parent=v;this.key=E}Reference.prototype.replace=function replace(v){this.parent[this.key]=v};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(v,E,P,R){this.node=v;this.path=E;this.wrap=P;this.ref=R}function Controller(){}Controller.prototype.path=function path(){var v,E,P,R,$,N;function addToPath(v,E){if(Array.isArray(E)){for(P=0,R=E.length;P=0){ge=ve[be];Ae=q[ge];if(!Ae){continue}if(Array.isArray(Ae)){xe=Ae.length;while((xe-=1)>=0){if(!Ae[xe]){continue}if(isProperty(K,ve[be])){$=new Element(Ae[xe],[ge,xe],"Property",null)}else if(isNode(Ae[xe])){$=new Element(Ae[xe],[ge,xe],null,null)}else{continue}P.push($)}}else if(isNode(Ae)){P.push(new Element(Ae,ge,null,null))}}}}};Controller.prototype.replace=function replace(v,E){var P,R,$,K,ae,ge,be,xe,ve,Ae,Ie,He,Qe;function removeElem(v){var E,R,$,N;if(v.ref.remove()){R=v.ref.key;N=v.ref.parent;E=P.length;while(E--){$=P[E];if($.ref&&$.ref.parent===N){if($.ref.key=0){Qe=ve[be];Ae=$[Qe];if(!Ae){continue}if(Array.isArray(Ae)){xe=Ae.length;while((xe-=1)>=0){if(!Ae[xe]){continue}if(isProperty(K,ve[be])){ge=new Element(Ae[xe],[Qe,xe],"Property",new Reference(Ae,xe))}else if(isNode(Ae[xe])){ge=new Element(Ae[xe],[Qe,xe],null,new Reference(Ae,xe))}else{continue}P.push(ge)}}else if(isNode(Ae)){P.push(new Element(Ae,Qe,null,new Reference($,Qe)))}}}return He.root};function traverse(v,E){var P=new Controller;return P.traverse(v,E)}function replace(v,E){var P=new Controller;return P.replace(v,E)}function extendCommentRange(v,E){var P;P=upperBound(E,(function search(E){return E.range[0]>v.range[0]}));v.extendedRange=[v.range[0],v.range[1]];if(P!==E.length){v.extendedRange[1]=E[P].range[0]}P-=1;if(P>=0){v.extendedRange[0]=E[P].range[1]}return v}function attachComments(v,E,P){var $=[],N,L,q,K;if(!v.range){throw new Error("attachComments needs range information")}if(!P.length){if(E.length){for(q=0,L=E.length;qv.range[0]){break}if(E.extendedRange[1]===v.range[0]){if(!v.leadingComments){v.leadingComments=[]}v.leadingComments.push(E);$.splice(K,1)}else{K+=1}}if(K===$.length){return R.Break}if($[K].extendedRange[0]>v.range[1]){return R.Skip}}});K=0;traverse(v,{leave:function(v){var E;while(K<$.length){E=$[K];if(v.range[1]v.range[1]){return R.Skip}}});return v}v.version=P(61752).i8;v.Syntax=E;v.traverse=traverse;v.replace=replace;v.attachComments=attachComments;v.VisitorKeys=$;v.VisitorOption=R;v.Controller=Controller;v.cloneEnvironment=function(){return clone({})};return v})(E)},41731:function(v,E){(function clone(v){"use strict";var E,P,R,$,N,L;function deepCopy(v){var E={},P,R;for(P in v){if(v.hasOwnProperty(P)){R=v[P];if(typeof R==="object"&&R!==null){E[P]=deepCopy(R)}else{E[P]=R}}}return E}function upperBound(v,E){var P,R,$,N;R=v.length;$=0;while(R){P=R>>>1;N=$+P;if(E(v[N])){R=P}else{$=N+1;R-=P+1}}return $}E={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};R={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};$={};N={};L={};P={Break:$,Skip:N,Remove:L};function Reference(v,E){this.parent=v;this.key=E}Reference.prototype.replace=function replace(v){this.parent[this.key]=v};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(v,E,P,R){this.node=v;this.path=E;this.wrap=P;this.ref=R}function Controller(){}Controller.prototype.path=function path(){var v,E,P,R,$,N;function addToPath(v,E){if(Array.isArray(E)){for(P=0,R=E.length;P=0;--P){if(v[P].node===E){return true}}return false}Controller.prototype.traverse=function traverse(v,E){var P,R,L,q,K,ae,ge,be,xe,ve,Ae,Ie;this.__initialize(v,E);Ie={};P=this.__worklist;R=this.__leavelist;P.push(new Element(v,null,null,null));R.push(new Element(null,null,null,null));while(P.length){L=P.pop();if(L===Ie){L=R.pop();ae=this.__execute(E.leave,L);if(this.__state===$||ae===$){return}continue}if(L.node){ae=this.__execute(E.enter,L);if(this.__state===$||ae===$){return}P.push(Ie);R.push(L);if(this.__state===N||ae===N){continue}q=L.node;K=q.type||L.wrap;ve=this.__keys[K];if(!ve){if(this.__fallback){ve=this.__fallback(q)}else{throw new Error("Unknown node type "+K+".")}}be=ve.length;while((be-=1)>=0){ge=ve[be];Ae=q[ge];if(!Ae){continue}if(Array.isArray(Ae)){xe=Ae.length;while((xe-=1)>=0){if(!Ae[xe]){continue}if(candidateExistsInLeaveList(R,Ae[xe])){continue}if(isProperty(K,ve[be])){L=new Element(Ae[xe],[ge,xe],"Property",null)}else if(isNode(Ae[xe])){L=new Element(Ae[xe],[ge,xe],null,null)}else{continue}P.push(L)}}else if(isNode(Ae)){if(candidateExistsInLeaveList(R,Ae)){continue}P.push(new Element(Ae,ge,null,null))}}}}};Controller.prototype.replace=function replace(v,E){var P,R,q,K,ae,ge,be,xe,ve,Ae,Ie,He,Qe;function removeElem(v){var E,R,$,N;if(v.ref.remove()){R=v.ref.key;N=v.ref.parent;E=P.length;while(E--){$=P[E];if($.ref&&$.ref.parent===N){if($.ref.key=0){Qe=ve[be];Ae=q[Qe];if(!Ae){continue}if(Array.isArray(Ae)){xe=Ae.length;while((xe-=1)>=0){if(!Ae[xe]){continue}if(isProperty(K,ve[be])){ge=new Element(Ae[xe],[Qe,xe],"Property",new Reference(Ae,xe))}else if(isNode(Ae[xe])){ge=new Element(Ae[xe],[Qe,xe],null,new Reference(Ae,xe))}else{continue}P.push(ge)}}else if(isNode(Ae)){P.push(new Element(Ae,Qe,null,new Reference(q,Qe)))}}}return He.root};function traverse(v,E){var P=new Controller;return P.traverse(v,E)}function replace(v,E){var P=new Controller;return P.replace(v,E)}function extendCommentRange(v,E){var P;P=upperBound(E,(function search(E){return E.range[0]>v.range[0]}));v.extendedRange=[v.range[0],v.range[1]];if(P!==E.length){v.extendedRange[1]=E[P].range[0]}P-=1;if(P>=0){v.extendedRange[0]=E[P].range[1]}return v}function attachComments(v,E,R){var $=[],N,L,q,K;if(!v.range){throw new Error("attachComments needs range information")}if(!R.length){if(E.length){for(q=0,L=E.length;qv.range[0]){break}if(E.extendedRange[1]===v.range[0]){if(!v.leadingComments){v.leadingComments=[]}v.leadingComments.push(E);$.splice(K,1)}else{K+=1}}if(K===$.length){return P.Break}if($[K].extendedRange[0]>v.range[1]){return P.Skip}}});K=0;traverse(v,{leave:function(v){var E;while(K<$.length){E=$[K];if(v.range[1]v.range[1]){return P.Skip}}});return v}v.Syntax=E;v.traverse=traverse;v.replace=replace;v.attachComments=attachComments;v.VisitorKeys=R;v.VisitorOption=P;v.Controller=Controller;v.cloneEnvironment=function(){return clone({})};return v})(E)},21660:function(v){v.exports=function(v,E){if(typeof v!=="string"){throw new TypeError("Expected a string")}var P=String(v);var R="";var $=E?!!E.extended:false;var N=E?!!E.globstar:false;var L=false;var q=E&&typeof E.flags==="string"?E.flags:"";var K;for(var ae=0,ge=P.length;ae1&&(be==="/"||be===undefined)&&(ve==="/"||ve===undefined);if(Ae){R+="((?:[^/]*(?:/|$))*)";ae++}else{R+="([^/]*)"}}break;default:R+=K}}if(!q||!~q.indexOf("g")){R="^"+R+"$"}return new RegExp(R,q)}},8567:function(v){"use strict";v.exports=clone;var E=Object.getPrototypeOf||function(v){return v.__proto__};function clone(v){if(v===null||typeof v!=="object")return v;if(v instanceof Object)var P={__proto__:E(v)};else var P=Object.create(null);Object.getOwnPropertyNames(v).forEach((function(E){Object.defineProperty(P,E,Object.getOwnPropertyDescriptor(v,E))}));return P}},56450:function(v,E,P){var R=P(57147);var $=P(72164);var N=P(55653);var L=P(8567);var q=P(73837);var K;var ae;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){K=Symbol.for("graceful-fs.queue");ae=Symbol.for("graceful-fs.previous")}else{K="___graceful-fs.queue";ae="___graceful-fs.previous"}function noop(){}function publishQueue(v,E){Object.defineProperty(v,K,{get:function(){return E}})}var ge=noop;if(q.debuglog)ge=q.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))ge=function(){var v=q.format.apply(q,arguments);v="GFS4: "+v.split(/\n/).join("\nGFS4: ");console.error(v)};if(!R[K]){var be=global[K]||[];publishQueue(R,be);R.close=function(v){function close(E,P){return v.call(R,E,(function(v){if(!v){resetQueue()}if(typeof P==="function")P.apply(this,arguments)}))}Object.defineProperty(close,ae,{value:v});return close}(R.close);R.closeSync=function(v){function closeSync(E){v.apply(R,arguments);resetQueue()}Object.defineProperty(closeSync,ae,{value:v});return closeSync}(R.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){ge(R[K]);P(39491).equal(R[K].length,0)}))}}if(!global[K]){publishQueue(global,R[K])}v.exports=patch(L(R));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!R.__patched){v.exports=patch(R);R.__patched=true}function patch(v){$(v);v.gracefulify=patch;v.createReadStream=createReadStream;v.createWriteStream=createWriteStream;var E=v.readFile;v.readFile=readFile;function readFile(v,P,R){if(typeof P==="function")R=P,P=null;return go$readFile(v,P,R);function go$readFile(v,P,R,$){return E(v,P,(function(E){if(E&&(E.code==="EMFILE"||E.code==="ENFILE"))enqueue([go$readFile,[v,P,R],E,$||Date.now(),Date.now()]);else{if(typeof R==="function")R.apply(this,arguments)}}))}}var P=v.writeFile;v.writeFile=writeFile;function writeFile(v,E,R,$){if(typeof R==="function")$=R,R=null;return go$writeFile(v,E,R,$);function go$writeFile(v,E,R,$,N){return P(v,E,R,(function(P){if(P&&(P.code==="EMFILE"||P.code==="ENFILE"))enqueue([go$writeFile,[v,E,R,$],P,N||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var R=v.appendFile;if(R)v.appendFile=appendFile;function appendFile(v,E,P,$){if(typeof P==="function")$=P,P=null;return go$appendFile(v,E,P,$);function go$appendFile(v,E,P,$,N){return R(v,E,P,(function(R){if(R&&(R.code==="EMFILE"||R.code==="ENFILE"))enqueue([go$appendFile,[v,E,P,$],R,N||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var L=v.copyFile;if(L)v.copyFile=copyFile;function copyFile(v,E,P,R){if(typeof P==="function"){R=P;P=0}return go$copyFile(v,E,P,R);function go$copyFile(v,E,P,R,$){return L(v,E,P,(function(N){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([go$copyFile,[v,E,P,R],N,$||Date.now(),Date.now()]);else{if(typeof R==="function")R.apply(this,arguments)}}))}}var q=v.readdir;v.readdir=readdir;var K=/^v[0-5]\./;function readdir(v,E,P){if(typeof E==="function")P=E,E=null;var R=K.test(process.version)?function go$readdir(v,E,P,R){return q(v,fs$readdirCallback(v,E,P,R))}:function go$readdir(v,E,P,R){return q(v,E,fs$readdirCallback(v,E,P,R))};return R(v,E,P);function fs$readdirCallback(v,E,P,$){return function(N,L){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([R,[v,E,P],N,$||Date.now(),Date.now()]);else{if(L&&L.sort)L.sort();if(typeof P==="function")P.call(this,N,L)}}}}if(process.version.substr(0,4)==="v0.8"){var ae=N(v);ReadStream=ae.ReadStream;WriteStream=ae.WriteStream}var ge=v.ReadStream;if(ge){ReadStream.prototype=Object.create(ge.prototype);ReadStream.prototype.open=ReadStream$open}var be=v.WriteStream;if(be){WriteStream.prototype=Object.create(be.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(v,"ReadStream",{get:function(){return ReadStream},set:function(v){ReadStream=v},enumerable:true,configurable:true});Object.defineProperty(v,"WriteStream",{get:function(){return WriteStream},set:function(v){WriteStream=v},enumerable:true,configurable:true});var xe=ReadStream;Object.defineProperty(v,"FileReadStream",{get:function(){return xe},set:function(v){xe=v},enumerable:true,configurable:true});var ve=WriteStream;Object.defineProperty(v,"FileWriteStream",{get:function(){return ve},set:function(v){ve=v},enumerable:true,configurable:true});function ReadStream(v,E){if(this instanceof ReadStream)return ge.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var v=this;open(v.path,v.flags,v.mode,(function(E,P){if(E){if(v.autoClose)v.destroy();v.emit("error",E)}else{v.fd=P;v.emit("open",P);v.read()}}))}function WriteStream(v,E){if(this instanceof WriteStream)return be.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var v=this;open(v.path,v.flags,v.mode,(function(E,P){if(E){v.destroy();v.emit("error",E)}else{v.fd=P;v.emit("open",P)}}))}function createReadStream(E,P){return new v.ReadStream(E,P)}function createWriteStream(E,P){return new v.WriteStream(E,P)}var Ae=v.open;v.open=open;function open(v,E,P,R){if(typeof P==="function")R=P,P=null;return go$open(v,E,P,R);function go$open(v,E,P,R,$){return Ae(v,E,P,(function(N,L){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([go$open,[v,E,P,R],N,$||Date.now(),Date.now()]);else{if(typeof R==="function")R.apply(this,arguments)}}))}}return v}function enqueue(v){ge("ENQUEUE",v[0].name,v[1]);R[K].push(v);retry()}var xe;function resetQueue(){var v=Date.now();for(var E=0;E2){R[K][E][3]=v;R[K][E][4]=v}}retry()}function retry(){clearTimeout(xe);xe=undefined;if(R[K].length===0)return;var v=R[K].shift();var E=v[0];var P=v[1];var $=v[2];var N=v[3];var L=v[4];if(N===undefined){ge("RETRY",E.name,P);E.apply(null,P)}else if(Date.now()-N>=6e4){ge("TIMEOUT",E.name,P);var q=P.pop();if(typeof q==="function")q.call(null,$)}else{var ae=Date.now()-L;var be=Math.max(L-N,1);var ve=Math.min(be*1.2,100);if(ae>=ve){ge("RETRY",E.name,P);E.apply(null,P.concat([N]))}else{R[K].push(v)}}if(xe===undefined){xe=setTimeout(retry,0)}}},55653:function(v,E,P){var R=P(12781).Stream;v.exports=legacy;function legacy(v){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(E,P){if(!(this instanceof ReadStream))return new ReadStream(E,P);R.call(this);var $=this;this.path=E;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;P=P||{};var N=Object.keys(P);for(var L=0,q=N.length;Lthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){$._read()}));return}v.open(this.path,this.flags,this.mode,(function(v,E){if(v){$.emit("error",v);$.readable=false;return}$.fd=E;$.emit("open",E);$._read()}))}function WriteStream(E,P){if(!(this instanceof WriteStream))return new WriteStream(E,P);R.call(this);this.path=E;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;P=P||{};var $=Object.keys(P);for(var N=0,L=$.length;N= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=v.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},72164:function(v,E,P){var R=P(22057);var $=process.cwd;var N=null;var L=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!N)N=$.call(process);return N};try{process.cwd()}catch(v){}if(typeof process.chdir==="function"){var q=process.chdir;process.chdir=function(v){N=null;q.call(process,v)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,q)}v.exports=patch;function patch(v){if(R.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(v)}if(!v.lutimes){patchLutimes(v)}v.chown=chownFix(v.chown);v.fchown=chownFix(v.fchown);v.lchown=chownFix(v.lchown);v.chmod=chmodFix(v.chmod);v.fchmod=chmodFix(v.fchmod);v.lchmod=chmodFix(v.lchmod);v.chownSync=chownFixSync(v.chownSync);v.fchownSync=chownFixSync(v.fchownSync);v.lchownSync=chownFixSync(v.lchownSync);v.chmodSync=chmodFixSync(v.chmodSync);v.fchmodSync=chmodFixSync(v.fchmodSync);v.lchmodSync=chmodFixSync(v.lchmodSync);v.stat=statFix(v.stat);v.fstat=statFix(v.fstat);v.lstat=statFix(v.lstat);v.statSync=statFixSync(v.statSync);v.fstatSync=statFixSync(v.fstatSync);v.lstatSync=statFixSync(v.lstatSync);if(v.chmod&&!v.lchmod){v.lchmod=function(v,E,P){if(P)process.nextTick(P)};v.lchmodSync=function(){}}if(v.chown&&!v.lchown){v.lchown=function(v,E,P,R){if(R)process.nextTick(R)};v.lchownSync=function(){}}if(L==="win32"){v.rename=typeof v.rename!=="function"?v.rename:function(E){function rename(P,R,$){var N=Date.now();var L=0;E(P,R,(function CB(q){if(q&&(q.code==="EACCES"||q.code==="EPERM"||q.code==="EBUSY")&&Date.now()-N<6e4){setTimeout((function(){v.stat(R,(function(v,N){if(v&&v.code==="ENOENT")E(P,R,CB);else $(q)}))}),L);if(L<100)L+=10;return}if($)$(q)}))}if(Object.setPrototypeOf)Object.setPrototypeOf(rename,E);return rename}(v.rename)}v.read=typeof v.read!=="function"?v.read:function(E){function read(P,R,$,N,L,q){var K;if(q&&typeof q==="function"){var ae=0;K=function(ge,be,xe){if(ge&&ge.code==="EAGAIN"&&ae<10){ae++;return E.call(v,P,R,$,N,L,K)}q.apply(this,arguments)}}return E.call(v,P,R,$,N,L,K)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,E);return read}(v.read);v.readSync=typeof v.readSync!=="function"?v.readSync:function(E){return function(P,R,$,N,L){var q=0;while(true){try{return E.call(v,P,R,$,N,L)}catch(v){if(v.code==="EAGAIN"&&q<10){q++;continue}throw v}}}}(v.readSync);function patchLchmod(v){v.lchmod=function(E,P,$){v.open(E,R.O_WRONLY|R.O_SYMLINK,P,(function(E,R){if(E){if($)$(E);return}v.fchmod(R,P,(function(E){v.close(R,(function(v){if($)$(E||v)}))}))}))};v.lchmodSync=function(E,P){var $=v.openSync(E,R.O_WRONLY|R.O_SYMLINK,P);var N=true;var L;try{L=v.fchmodSync($,P);N=false}finally{if(N){try{v.closeSync($)}catch(v){}}else{v.closeSync($)}}return L}}function patchLutimes(v){if(R.hasOwnProperty("O_SYMLINK")&&v.futimes){v.lutimes=function(E,P,$,N){v.open(E,R.O_SYMLINK,(function(E,R){if(E){if(N)N(E);return}v.futimes(R,P,$,(function(E){v.close(R,(function(v){if(N)N(E||v)}))}))}))};v.lutimesSync=function(E,P,$){var N=v.openSync(E,R.O_SYMLINK);var L;var q=true;try{L=v.futimesSync(N,P,$);q=false}finally{if(q){try{v.closeSync(N)}catch(v){}}else{v.closeSync(N)}}return L}}else if(v.futimes){v.lutimes=function(v,E,P,R){if(R)process.nextTick(R)};v.lutimesSync=function(){}}}function chmodFix(E){if(!E)return E;return function(P,R,$){return E.call(v,P,R,(function(v){if(chownErOk(v))v=null;if($)$.apply(this,arguments)}))}}function chmodFixSync(E){if(!E)return E;return function(P,R){try{return E.call(v,P,R)}catch(v){if(!chownErOk(v))throw v}}}function chownFix(E){if(!E)return E;return function(P,R,$,N){return E.call(v,P,R,$,(function(v){if(chownErOk(v))v=null;if(N)N.apply(this,arguments)}))}}function chownFixSync(E){if(!E)return E;return function(P,R,$){try{return E.call(v,P,R,$)}catch(v){if(!chownErOk(v))throw v}}}function statFix(E){if(!E)return E;return function(P,R,$){if(typeof R==="function"){$=R;R=null}function callback(v,E){if(E){if(E.uid<0)E.uid+=4294967296;if(E.gid<0)E.gid+=4294967296}if($)$.apply(this,arguments)}return R?E.call(v,P,R,callback):E.call(v,P,callback)}}function statFixSync(E){if(!E)return E;return function(P,R){var $=R?E.call(v,P,R):E.call(v,P);if($){if($.uid<0)$.uid+=4294967296;if($.gid<0)$.gid+=4294967296}return $}}function chownErOk(v){if(!v)return true;if(v.code==="ENOSYS")return true;var E=!process.getuid||process.getuid()!==0;if(E){if(v.code==="EINVAL"||v.code==="EPERM")return true}return false}}},54650:function(v){"use strict";const hexify=v=>{const E=v.charCodeAt(0).toString(16).toUpperCase();return"0x"+(E.length%2?"0":"")+E};const parseError=(v,E,P)=>{if(!E){return{message:v.message+" while parsing empty string",position:0}}const R=v.message.match(/^Unexpected token (.) .*position\s+(\d+)/i);const $=R?+R[2]:v.message.match(/^Unexpected end of JSON.*/i)?E.length-1:null;const N=R?v.message.replace(/^Unexpected token ./,`Unexpected token ${JSON.stringify(R[1])} (${hexify(R[1])})`):v.message;if($!==null&&$!==undefined){const v=$<=P?0:$-P;const R=$+P>=E.length?E.length:$+P;const L=(v===0?"":"...")+E.slice(v,R)+(R===E.length?"":"...");const q=E===L?"":"near ";return{message:N+` while parsing ${q}${JSON.stringify(L)}`,position:$}}else{return{message:N+` while parsing '${E.slice(0,P*2)}'`,position:0}}};class JSONParseError extends SyntaxError{constructor(v,E,P,R){P=P||20;const $=parseError(v,E,P);super($.message);Object.assign(this,$);this.code="EJSONPARSE";this.systemError=v;Error.captureStackTrace(this,R||this.constructor)}get name(){return this.constructor.name}set name(v){}get[Symbol.toStringTag](){return this.constructor.name}}const E=Symbol.for("indent");const P=Symbol.for("newline");const R=/^\s*[{\[]((?:\r?\n)+)([\s\t]*)/;const $=/^(?:\{\}|\[\])((?:\r?\n)+)?$/;const parseJson=(v,N,L)=>{const q=stripBOM(v);L=L||20;try{const[,v="\n",L=" "]=q.match($)||q.match(R)||[,"",""];const K=JSON.parse(q,N);if(K&&typeof K==="object"){K[P]=v;K[E]=L}return K}catch(E){if(typeof v!=="string"&&!Buffer.isBuffer(v)){const P=Array.isArray(v)&&v.length===0;throw Object.assign(new TypeError(`Cannot parse ${P?"an empty array":String(v)}`),{code:"EJSONPARSE",systemError:E})}throw new JSONParseError(E,q,L,parseJson)}};const stripBOM=v=>String(v).replace(/^\uFEFF/,"");v.exports=parseJson;parseJson.JSONParseError=JSONParseError;parseJson.noExceptions=(v,E)=>{try{return JSON.parse(stripBOM(v),E)}catch(v){}}},95183:function(v,E,P){
+(function(){var v={75583:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.cloneNode=cloneNode;function cloneNode(v){return Object.assign({},v)}},26333:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});var R={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true,moduleContextFromModuleAST:true};Object.defineProperty(E,"numberLiteralFromRaw",{enumerable:true,get:function get(){return N.numberLiteralFromRaw}});Object.defineProperty(E,"withLoc",{enumerable:true,get:function get(){return N.withLoc}});Object.defineProperty(E,"withRaw",{enumerable:true,get:function get(){return N.withRaw}});Object.defineProperty(E,"funcParam",{enumerable:true,get:function get(){return N.funcParam}});Object.defineProperty(E,"indexLiteral",{enumerable:true,get:function get(){return N.indexLiteral}});Object.defineProperty(E,"memIndexLiteral",{enumerable:true,get:function get(){return N.memIndexLiteral}});Object.defineProperty(E,"instruction",{enumerable:true,get:function get(){return N.instruction}});Object.defineProperty(E,"objectInstruction",{enumerable:true,get:function get(){return N.objectInstruction}});Object.defineProperty(E,"traverse",{enumerable:true,get:function get(){return L.traverse}});Object.defineProperty(E,"signatures",{enumerable:true,get:function get(){return q.signatures}});Object.defineProperty(E,"cloneNode",{enumerable:true,get:function get(){return ae.cloneNode}});Object.defineProperty(E,"moduleContextFromModuleAST",{enumerable:true,get:function get(){return ge.moduleContextFromModuleAST}});var $=P(860);Object.keys($).forEach((function(v){if(v==="default"||v==="__esModule")return;if(Object.prototype.hasOwnProperty.call(R,v))return;if(v in E&&E[v]===$[v])return;Object.defineProperty(E,v,{enumerable:true,get:function get(){return $[v]}})}));var N=P(68958);var L=P(11885);var q=P(96395);var K=P(20885);Object.keys(K).forEach((function(v){if(v==="default"||v==="__esModule")return;if(Object.prototype.hasOwnProperty.call(R,v))return;if(v in E&&E[v]===K[v])return;Object.defineProperty(E,v,{enumerable:true,get:function get(){return K[v]}})}));var ae=P(75583);var ge=P(15067)},68958:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.numberLiteralFromRaw=numberLiteralFromRaw;E.instruction=instruction;E.objectInstruction=objectInstruction;E.withLoc=withLoc;E.withRaw=withRaw;E.funcParam=funcParam;E.indexLiteral=indexLiteral;E.memIndexLiteral=memIndexLiteral;var R=P(37197);var $=P(860);function numberLiteralFromRaw(v){var E=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var P=v;if(typeof v==="string"){v=v.replace(/_/g,"")}if(typeof v==="number"){return(0,$.numberLiteral)(v,String(P))}else{switch(E){case"i32":{return(0,$.numberLiteral)((0,R.parse32I)(v),String(P))}case"u32":{return(0,$.numberLiteral)((0,R.parseU32)(v),String(P))}case"i64":{return(0,$.longNumberLiteral)((0,R.parse64I)(v),String(P))}case"f32":{return(0,$.floatLiteral)((0,R.parse32F)(v),(0,R.isNanLiteral)(v),(0,R.isInfLiteral)(v),String(P))}default:{return(0,$.floatLiteral)((0,R.parse64F)(v),(0,R.isNanLiteral)(v),(0,R.isInfLiteral)(v),String(P))}}}}function instruction(v){var E=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var P=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,$.instr)(v,undefined,E,P)}function objectInstruction(v,E){var P=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var R=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,$.instr)(v,E,P,R)}function withLoc(v,E,P){var R={start:P,end:E};v.loc=R;return v}function withRaw(v,E){v.raw=E;return v}function funcParam(v,E){return{id:E,valtype:v}}function indexLiteral(v){var E=numberLiteralFromRaw(v,"u32");return E}function memIndexLiteral(v){var E=numberLiteralFromRaw(v,"u32");return E}},92489:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.createPath=createPath;function ownKeys(v,E){var P=Object.keys(v);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(v);if(E){R=R.filter((function(E){return Object.getOwnPropertyDescriptor(v,E).enumerable}))}P.push.apply(P,R)}return P}function _objectSpread(v){for(var E=1;E2&&arguments[2]!==undefined?arguments[2]:0;if(!R){throw new Error("inList"+" error: "+("insert can only be used for nodes that are within lists"||0))}if(!($!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var q=$.node[N];var K=q.findIndex((function(v){return v===P}));q.splice(K+L,0,E)}function remove(v){var E=v.node,P=v.parentKey,R=v.parentPath;if(!(R!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var $=R.node;var N=$[P];if(Array.isArray(N)){$[P]=N.filter((function(v){return v!==E}))}else{delete $[P]}E._deleted=true}function stop(v){v.shouldStop=true}function replaceWith(v,E){var P=v.parentPath.node;var R=P[v.parentKey];if(Array.isArray(R)){var $=R.findIndex((function(E){return E===v.node}));R.splice($,1,E)}else{P[v.parentKey]=E}v.node._deleted=true;v.node=E}function bindNodeOperations(v,E){var P=Object.keys(v);var R={};P.forEach((function(P){R[P]=v[P].bind(null,E)}));return R}function createPathOperations(v){return bindNodeOperations({findParent:findParent,replaceWith:replaceWith,remove:remove,insertBefore:insertBefore,insertAfter:insertAfter,stop:stop},v)}function createPath(v){var E=_objectSpread({},v);Object.assign(E,createPathOperations(E));return E}},860:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.module=_module;E.moduleMetadata=moduleMetadata;E.moduleNameMetadata=moduleNameMetadata;E.functionNameMetadata=functionNameMetadata;E.localNameMetadata=localNameMetadata;E.binaryModule=binaryModule;E.quoteModule=quoteModule;E.sectionMetadata=sectionMetadata;E.producersSectionMetadata=producersSectionMetadata;E.producerMetadata=producerMetadata;E.producerMetadataVersionedName=producerMetadataVersionedName;E.loopInstruction=loopInstruction;E.instr=instr;E.ifInstruction=ifInstruction;E.stringLiteral=stringLiteral;E.numberLiteral=numberLiteral;E.longNumberLiteral=longNumberLiteral;E.floatLiteral=floatLiteral;E.elem=elem;E.indexInFuncSection=indexInFuncSection;E.valtypeLiteral=valtypeLiteral;E.typeInstruction=typeInstruction;E.start=start;E.globalType=globalType;E.leadingComment=leadingComment;E.blockComment=blockComment;E.data=data;E.global=global;E.table=table;E.memory=memory;E.funcImportDescr=funcImportDescr;E.moduleImport=moduleImport;E.moduleExportDescr=moduleExportDescr;E.moduleExport=moduleExport;E.limit=limit;E.signature=signature;E.program=program;E.identifier=identifier;E.blockInstruction=blockInstruction;E.callInstruction=callInstruction;E.callIndirectInstruction=callIndirectInstruction;E.byteArray=byteArray;E.func=func;E.internalBrUnless=internalBrUnless;E.internalGoto=internalGoto;E.internalCallExtern=internalCallExtern;E.internalEndAndReturn=internalEndAndReturn;E.assertInternalCallExtern=E.assertInternalGoto=E.assertInternalBrUnless=E.assertFunc=E.assertByteArray=E.assertCallIndirectInstruction=E.assertCallInstruction=E.assertBlockInstruction=E.assertIdentifier=E.assertProgram=E.assertSignature=E.assertLimit=E.assertModuleExport=E.assertModuleExportDescr=E.assertModuleImport=E.assertFuncImportDescr=E.assertMemory=E.assertTable=E.assertGlobal=E.assertData=E.assertBlockComment=E.assertLeadingComment=E.assertGlobalType=E.assertStart=E.assertTypeInstruction=E.assertValtypeLiteral=E.assertIndexInFuncSection=E.assertElem=E.assertFloatLiteral=E.assertLongNumberLiteral=E.assertNumberLiteral=E.assertStringLiteral=E.assertIfInstruction=E.assertInstr=E.assertLoopInstruction=E.assertProducerMetadataVersionedName=E.assertProducerMetadata=E.assertProducersSectionMetadata=E.assertSectionMetadata=E.assertQuoteModule=E.assertBinaryModule=E.assertLocalNameMetadata=E.assertFunctionNameMetadata=E.assertModuleNameMetadata=E.assertModuleMetadata=E.assertModule=E.isIntrinsic=E.isImportDescr=E.isNumericLiteral=E.isExpression=E.isInstruction=E.isBlock=E.isNode=E.isInternalEndAndReturn=E.isInternalCallExtern=E.isInternalGoto=E.isInternalBrUnless=E.isFunc=E.isByteArray=E.isCallIndirectInstruction=E.isCallInstruction=E.isBlockInstruction=E.isIdentifier=E.isProgram=E.isSignature=E.isLimit=E.isModuleExport=E.isModuleExportDescr=E.isModuleImport=E.isFuncImportDescr=E.isMemory=E.isTable=E.isGlobal=E.isData=E.isBlockComment=E.isLeadingComment=E.isGlobalType=E.isStart=E.isTypeInstruction=E.isValtypeLiteral=E.isIndexInFuncSection=E.isElem=E.isFloatLiteral=E.isLongNumberLiteral=E.isNumberLiteral=E.isStringLiteral=E.isIfInstruction=E.isInstr=E.isLoopInstruction=E.isProducerMetadataVersionedName=E.isProducerMetadata=E.isProducersSectionMetadata=E.isSectionMetadata=E.isQuoteModule=E.isBinaryModule=E.isLocalNameMetadata=E.isFunctionNameMetadata=E.isModuleNameMetadata=E.isModuleMetadata=E.isModule=void 0;E.nodeAndUnionTypes=E.unionTypesMap=E.assertInternalEndAndReturn=void 0;function _typeof(v){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(v){return typeof v}}else{_typeof=function _typeof(v){return v&&typeof Symbol==="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v}}return _typeof(v)}function isTypeOf(v){return function(E){return E.type===v}}function assertTypeOf(v){return function(E){return function(){if(!(E.type===v)){throw new Error("n.type === t"+" error: "+(undefined||"unknown"))}}()}}function _module(v,E,P){if(v!==null&&v!==undefined){if(!(typeof v==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(v)||0))}}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof fields === "object" && typeof fields.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"Module",id:v,fields:E};if(typeof P!=="undefined"){R.metadata=P}return R}function moduleMetadata(v,E,P,R){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof sections === "object" && typeof sections.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(E!==null&&E!==undefined){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof functionNames === "object" && typeof functionNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(P!==null&&P!==undefined){if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof localNames === "object" && typeof localNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var $={type:"ModuleMetadata",sections:v};if(typeof E!=="undefined"&&E.length>0){$.functionNames=E}if(typeof P!=="undefined"&&P.length>0){$.localNames=P}if(typeof R!=="undefined"&&R.length>0){$.producers=R}return $}function moduleNameMetadata(v){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}var E={type:"ModuleNameMetadata",value:v};return E}function functionNameMetadata(v,E){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}if(!(typeof E==="number")){throw new Error('typeof index === "number"'+" error: "+("Argument index must be of type number, given: "+_typeof(E)||0))}var P={type:"FunctionNameMetadata",value:v,index:E};return P}function localNameMetadata(v,E,P){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}if(!(typeof E==="number")){throw new Error('typeof localIndex === "number"'+" error: "+("Argument localIndex must be of type number, given: "+_typeof(E)||0))}if(!(typeof P==="number")){throw new Error('typeof functionIndex === "number"'+" error: "+("Argument functionIndex must be of type number, given: "+_typeof(P)||0))}var R={type:"LocalNameMetadata",value:v,localIndex:E,functionIndex:P};return R}function binaryModule(v,E){if(v!==null&&v!==undefined){if(!(typeof v==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(v)||0))}}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof blob === "object" && typeof blob.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"BinaryModule",id:v,blob:E};return P}function quoteModule(v,E){if(v!==null&&v!==undefined){if(!(typeof v==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(v)||0))}}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof string === "object" && typeof string.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"QuoteModule",id:v,string:E};return P}function sectionMetadata(v,E,P,R){if(!(typeof E==="number")){throw new Error('typeof startOffset === "number"'+" error: "+("Argument startOffset must be of type number, given: "+_typeof(E)||0))}var $={type:"SectionMetadata",section:v,startOffset:E,size:P,vectorOfSize:R};return $}function producersSectionMetadata(v){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"ProducersSectionMetadata",producers:v};return E}function producerMetadata(v,E,P){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof language === "object" && typeof language.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof processedBy === "object" && typeof processedBy.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof sdk === "object" && typeof sdk.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"ProducerMetadata",language:v,processedBy:E,sdk:P};return R}function producerMetadataVersionedName(v,E){if(!(typeof v==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(v)||0))}if(!(typeof E==="string")){throw new Error('typeof version === "string"'+" error: "+("Argument version must be of type string, given: "+_typeof(E)||0))}var P={type:"ProducerMetadataVersionedName",name:v,version:E};return P}function loopInstruction(v,E,P){if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"LoopInstruction",id:"loop",label:v,resulttype:E,instr:P};return R}function instr(v,E,P,R){if(!(typeof v==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(v)||0))}if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof args === "object" && typeof args.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Instr",id:v,args:P};if(typeof E!=="undefined"){$.object=E}if(typeof R!=="undefined"&&Object.keys(R).length!==0){$.namedArgs=R}return $}function ifInstruction(v,E,P,R,$){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof test === "object" && typeof test.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof consequent === "object" && typeof consequent.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof alternate === "object" && typeof alternate.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"IfInstruction",id:"if",testLabel:v,test:E,result:P,consequent:R,alternate:$};return N}function stringLiteral(v){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}var E={type:"StringLiteral",value:v};return E}function numberLiteral(v,E){if(!(typeof v==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(v)||0))}if(!(typeof E==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(E)||0))}var P={type:"NumberLiteral",value:v,raw:E};return P}function longNumberLiteral(v,E){if(!(typeof E==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(E)||0))}var P={type:"LongNumberLiteral",value:v,raw:E};return P}function floatLiteral(v,E,P,R){if(!(typeof v==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(v)||0))}if(E!==null&&E!==undefined){if(!(typeof E==="boolean")){throw new Error('typeof nan === "boolean"'+" error: "+("Argument nan must be of type boolean, given: "+_typeof(E)||0))}}if(P!==null&&P!==undefined){if(!(typeof P==="boolean")){throw new Error('typeof inf === "boolean"'+" error: "+("Argument inf must be of type boolean, given: "+_typeof(P)||0))}}if(!(typeof R==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(R)||0))}var $={type:"FloatLiteral",value:v,raw:R};if(E===true){$.nan=true}if(P===true){$.inf=true}return $}function elem(v,E,P){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof offset === "object" && typeof offset.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof funcs === "object" && typeof funcs.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"Elem",table:v,offset:E,funcs:P};return R}function indexInFuncSection(v){var E={type:"IndexInFuncSection",index:v};return E}function valtypeLiteral(v){var E={type:"ValtypeLiteral",name:v};return E}function typeInstruction(v,E){var P={type:"TypeInstruction",id:v,functype:E};return P}function start(v){var E={type:"Start",index:v};return E}function globalType(v,E){var P={type:"GlobalType",valtype:v,mutability:E};return P}function leadingComment(v){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}var E={type:"LeadingComment",value:v};return E}function blockComment(v){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}var E={type:"BlockComment",value:v};return E}function data(v,E,P){var R={type:"Data",memoryIndex:v,offset:E,init:P};return R}function global(v,E,P){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof init === "object" && typeof init.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"Global",globalType:v,init:E,name:P};return R}function table(v,E,P,R){if(!(E.type==="Limit")){throw new Error('limits.type === "Limit"'+" error: "+("Argument limits must be of type Limit, given: "+E.type||0))}if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof elements === "object" && typeof elements.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var $={type:"Table",elementType:v,limits:E,name:P};if(typeof R!=="undefined"&&R.length>0){$.elements=R}return $}function memory(v,E){var P={type:"Memory",limits:v,id:E};return P}function funcImportDescr(v,E){var P={type:"FuncImportDescr",id:v,signature:E};return P}function moduleImport(v,E,P){if(!(typeof v==="string")){throw new Error('typeof module === "string"'+" error: "+("Argument module must be of type string, given: "+_typeof(v)||0))}if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}var R={type:"ModuleImport",module:v,name:E,descr:P};return R}function moduleExportDescr(v,E){var P={type:"ModuleExportDescr",exportType:v,id:E};return P}function moduleExport(v,E){if(!(typeof v==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(v)||0))}var P={type:"ModuleExport",name:v,descr:E};return P}function limit(v,E,P){if(!(typeof v==="number")){throw new Error('typeof min === "number"'+" error: "+("Argument min must be of type number, given: "+_typeof(v)||0))}if(E!==null&&E!==undefined){if(!(typeof E==="number")){throw new Error('typeof max === "number"'+" error: "+("Argument max must be of type number, given: "+_typeof(E)||0))}}if(P!==null&&P!==undefined){if(!(typeof P==="boolean")){throw new Error('typeof shared === "boolean"'+" error: "+("Argument shared must be of type boolean, given: "+_typeof(P)||0))}}var R={type:"Limit",min:v};if(typeof E!=="undefined"){R.max=E}if(P===true){R.shared=true}return R}function signature(v,E){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof params === "object" && typeof params.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof results === "object" && typeof results.length !== "undefined"'+" error: "+(undefined||"unknown"))}var P={type:"Signature",params:v,results:E};return P}function program(v){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"Program",body:v};return E}function identifier(v,E){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(E)||0))}}var P={type:"Identifier",value:v};if(typeof E!=="undefined"){P.raw=E}return P}function blockInstruction(v,E,P){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"BlockInstruction",id:"block",label:v,instr:E,result:P};return R}function callInstruction(v,E,P){if(E!==null&&E!==undefined){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var R={type:"CallInstruction",id:"call",index:v};if(typeof E!=="undefined"&&E.length>0){R.instrArgs=E}if(typeof P!=="undefined"){R.numeric=P}return R}function callIndirectInstruction(v,E){if(E!==null&&E!==undefined){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof intrs === "object" && typeof intrs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var P={type:"CallIndirectInstruction",id:"call_indirect",signature:v};if(typeof E!=="undefined"&&E.length>0){P.intrs=E}return P}function byteArray(v){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof values === "object" && typeof values.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"ByteArray",values:v};return E}function func(v,E,P,R,$){if(!(_typeof(P)==="object"&&typeof P.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(R!==null&&R!==undefined){if(!(typeof R==="boolean")){throw new Error('typeof isExternal === "boolean"'+" error: "+("Argument isExternal must be of type boolean, given: "+_typeof(R)||0))}}var N={type:"Func",name:v,signature:E,body:P};if(R===true){N.isExternal=true}if(typeof $!=="undefined"){N.metadata=$}return N}function internalBrUnless(v){if(!(typeof v==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(v)||0))}var E={type:"InternalBrUnless",target:v};return E}function internalGoto(v){if(!(typeof v==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(v)||0))}var E={type:"InternalGoto",target:v};return E}function internalCallExtern(v){if(!(typeof v==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(v)||0))}var E={type:"InternalCallExtern",target:v};return E}function internalEndAndReturn(){var v={type:"InternalEndAndReturn"};return v}var P=isTypeOf("Module");E.isModule=P;var R=isTypeOf("ModuleMetadata");E.isModuleMetadata=R;var $=isTypeOf("ModuleNameMetadata");E.isModuleNameMetadata=$;var N=isTypeOf("FunctionNameMetadata");E.isFunctionNameMetadata=N;var L=isTypeOf("LocalNameMetadata");E.isLocalNameMetadata=L;var q=isTypeOf("BinaryModule");E.isBinaryModule=q;var K=isTypeOf("QuoteModule");E.isQuoteModule=K;var ae=isTypeOf("SectionMetadata");E.isSectionMetadata=ae;var ge=isTypeOf("ProducersSectionMetadata");E.isProducersSectionMetadata=ge;var be=isTypeOf("ProducerMetadata");E.isProducerMetadata=be;var xe=isTypeOf("ProducerMetadataVersionedName");E.isProducerMetadataVersionedName=xe;var ve=isTypeOf("LoopInstruction");E.isLoopInstruction=ve;var Ae=isTypeOf("Instr");E.isInstr=Ae;var Ie=isTypeOf("IfInstruction");E.isIfInstruction=Ie;var He=isTypeOf("StringLiteral");E.isStringLiteral=He;var Qe=isTypeOf("NumberLiteral");E.isNumberLiteral=Qe;var Je=isTypeOf("LongNumberLiteral");E.isLongNumberLiteral=Je;var Ve=isTypeOf("FloatLiteral");E.isFloatLiteral=Ve;var Ke=isTypeOf("Elem");E.isElem=Ke;var Ye=isTypeOf("IndexInFuncSection");E.isIndexInFuncSection=Ye;var Xe=isTypeOf("ValtypeLiteral");E.isValtypeLiteral=Xe;var Ze=isTypeOf("TypeInstruction");E.isTypeInstruction=Ze;var et=isTypeOf("Start");E.isStart=et;var tt=isTypeOf("GlobalType");E.isGlobalType=tt;var nt=isTypeOf("LeadingComment");E.isLeadingComment=nt;var st=isTypeOf("BlockComment");E.isBlockComment=st;var rt=isTypeOf("Data");E.isData=rt;var ot=isTypeOf("Global");E.isGlobal=ot;var it=isTypeOf("Table");E.isTable=it;var at=isTypeOf("Memory");E.isMemory=at;var ct=isTypeOf("FuncImportDescr");E.isFuncImportDescr=ct;var lt=isTypeOf("ModuleImport");E.isModuleImport=lt;var ut=isTypeOf("ModuleExportDescr");E.isModuleExportDescr=ut;var pt=isTypeOf("ModuleExport");E.isModuleExport=pt;var dt=isTypeOf("Limit");E.isLimit=dt;var ft=isTypeOf("Signature");E.isSignature=ft;var ht=isTypeOf("Program");E.isProgram=ht;var mt=isTypeOf("Identifier");E.isIdentifier=mt;var gt=isTypeOf("BlockInstruction");E.isBlockInstruction=gt;var yt=isTypeOf("CallInstruction");E.isCallInstruction=yt;var bt=isTypeOf("CallIndirectInstruction");E.isCallIndirectInstruction=bt;var xt=isTypeOf("ByteArray");E.isByteArray=xt;var kt=isTypeOf("Func");E.isFunc=kt;var vt=isTypeOf("InternalBrUnless");E.isInternalBrUnless=vt;var wt=isTypeOf("InternalGoto");E.isInternalGoto=wt;var Et=isTypeOf("InternalCallExtern");E.isInternalCallExtern=Et;var At=isTypeOf("InternalEndAndReturn");E.isInternalEndAndReturn=At;var Ct=function isNode(v){return P(v)||R(v)||$(v)||N(v)||L(v)||q(v)||K(v)||ae(v)||ge(v)||be(v)||xe(v)||ve(v)||Ae(v)||Ie(v)||He(v)||Qe(v)||Je(v)||Ve(v)||Ke(v)||Ye(v)||Xe(v)||Ze(v)||et(v)||tt(v)||nt(v)||st(v)||rt(v)||ot(v)||it(v)||at(v)||ct(v)||lt(v)||ut(v)||pt(v)||dt(v)||ft(v)||ht(v)||mt(v)||gt(v)||yt(v)||bt(v)||xt(v)||kt(v)||vt(v)||wt(v)||Et(v)||At(v)};E.isNode=Ct;var St=function isBlock(v){return ve(v)||gt(v)||kt(v)};E.isBlock=St;var _t=function isInstruction(v){return ve(v)||Ae(v)||Ie(v)||Ze(v)||gt(v)||yt(v)||bt(v)};E.isInstruction=_t;var Pt=function isExpression(v){return Ae(v)||He(v)||Qe(v)||Je(v)||Ve(v)||Xe(v)||mt(v)};E.isExpression=Pt;var Mt=function isNumericLiteral(v){return Qe(v)||Je(v)||Ve(v)};E.isNumericLiteral=Mt;var It=function isImportDescr(v){return tt(v)||it(v)||at(v)||ct(v)};E.isImportDescr=It;var Ot=function isIntrinsic(v){return vt(v)||wt(v)||Et(v)||At(v)};E.isIntrinsic=Ot;var Dt=assertTypeOf("Module");E.assertModule=Dt;var Rt=assertTypeOf("ModuleMetadata");E.assertModuleMetadata=Rt;var Tt=assertTypeOf("ModuleNameMetadata");E.assertModuleNameMetadata=Tt;var $t=assertTypeOf("FunctionNameMetadata");E.assertFunctionNameMetadata=$t;var Ft=assertTypeOf("LocalNameMetadata");E.assertLocalNameMetadata=Ft;var jt=assertTypeOf("BinaryModule");E.assertBinaryModule=jt;var Nt=assertTypeOf("QuoteModule");E.assertQuoteModule=Nt;var Lt=assertTypeOf("SectionMetadata");E.assertSectionMetadata=Lt;var Bt=assertTypeOf("ProducersSectionMetadata");E.assertProducersSectionMetadata=Bt;var qt=assertTypeOf("ProducerMetadata");E.assertProducerMetadata=qt;var zt=assertTypeOf("ProducerMetadataVersionedName");E.assertProducerMetadataVersionedName=zt;var Ut=assertTypeOf("LoopInstruction");E.assertLoopInstruction=Ut;var Gt=assertTypeOf("Instr");E.assertInstr=Gt;var Ht=assertTypeOf("IfInstruction");E.assertIfInstruction=Ht;var Wt=assertTypeOf("StringLiteral");E.assertStringLiteral=Wt;var Qt=assertTypeOf("NumberLiteral");E.assertNumberLiteral=Qt;var Jt=assertTypeOf("LongNumberLiteral");E.assertLongNumberLiteral=Jt;var Vt=assertTypeOf("FloatLiteral");E.assertFloatLiteral=Vt;var Kt=assertTypeOf("Elem");E.assertElem=Kt;var Yt=assertTypeOf("IndexInFuncSection");E.assertIndexInFuncSection=Yt;var Xt=assertTypeOf("ValtypeLiteral");E.assertValtypeLiteral=Xt;var Zt=assertTypeOf("TypeInstruction");E.assertTypeInstruction=Zt;var en=assertTypeOf("Start");E.assertStart=en;var tn=assertTypeOf("GlobalType");E.assertGlobalType=tn;var nn=assertTypeOf("LeadingComment");E.assertLeadingComment=nn;var sn=assertTypeOf("BlockComment");E.assertBlockComment=sn;var rn=assertTypeOf("Data");E.assertData=rn;var on=assertTypeOf("Global");E.assertGlobal=on;var an=assertTypeOf("Table");E.assertTable=an;var cn=assertTypeOf("Memory");E.assertMemory=cn;var ln=assertTypeOf("FuncImportDescr");E.assertFuncImportDescr=ln;var un=assertTypeOf("ModuleImport");E.assertModuleImport=un;var pn=assertTypeOf("ModuleExportDescr");E.assertModuleExportDescr=pn;var dn=assertTypeOf("ModuleExport");E.assertModuleExport=dn;var hn=assertTypeOf("Limit");E.assertLimit=hn;var mn=assertTypeOf("Signature");E.assertSignature=mn;var gn=assertTypeOf("Program");E.assertProgram=gn;var yn=assertTypeOf("Identifier");E.assertIdentifier=yn;var bn=assertTypeOf("BlockInstruction");E.assertBlockInstruction=bn;var xn=assertTypeOf("CallInstruction");E.assertCallInstruction=xn;var kn=assertTypeOf("CallIndirectInstruction");E.assertCallIndirectInstruction=kn;var vn=assertTypeOf("ByteArray");E.assertByteArray=vn;var wn=assertTypeOf("Func");E.assertFunc=wn;var En=assertTypeOf("InternalBrUnless");E.assertInternalBrUnless=En;var An=assertTypeOf("InternalGoto");E.assertInternalGoto=An;var Cn=assertTypeOf("InternalCallExtern");E.assertInternalCallExtern=Cn;var Sn=assertTypeOf("InternalEndAndReturn");E.assertInternalEndAndReturn=Sn;var _n={Module:["Node"],ModuleMetadata:["Node"],ModuleNameMetadata:["Node"],FunctionNameMetadata:["Node"],LocalNameMetadata:["Node"],BinaryModule:["Node"],QuoteModule:["Node"],SectionMetadata:["Node"],ProducersSectionMetadata:["Node"],ProducerMetadata:["Node"],ProducerMetadataVersionedName:["Node"],LoopInstruction:["Node","Block","Instruction"],Instr:["Node","Expression","Instruction"],IfInstruction:["Node","Instruction"],StringLiteral:["Node","Expression"],NumberLiteral:["Node","NumericLiteral","Expression"],LongNumberLiteral:["Node","NumericLiteral","Expression"],FloatLiteral:["Node","NumericLiteral","Expression"],Elem:["Node"],IndexInFuncSection:["Node"],ValtypeLiteral:["Node","Expression"],TypeInstruction:["Node","Instruction"],Start:["Node"],GlobalType:["Node","ImportDescr"],LeadingComment:["Node"],BlockComment:["Node"],Data:["Node"],Global:["Node"],Table:["Node","ImportDescr"],Memory:["Node","ImportDescr"],FuncImportDescr:["Node","ImportDescr"],ModuleImport:["Node"],ModuleExportDescr:["Node"],ModuleExport:["Node"],Limit:["Node"],Signature:["Node"],Program:["Node"],Identifier:["Node","Expression"],BlockInstruction:["Node","Block","Instruction"],CallInstruction:["Node","Instruction"],CallIndirectInstruction:["Node","Instruction"],ByteArray:["Node"],Func:["Node","Block"],InternalBrUnless:["Node","Intrinsic"],InternalGoto:["Node","Intrinsic"],InternalCallExtern:["Node","Intrinsic"],InternalEndAndReturn:["Node","Intrinsic"]};E.unionTypesMap=_n;var Pn=["Module","ModuleMetadata","ModuleNameMetadata","FunctionNameMetadata","LocalNameMetadata","BinaryModule","QuoteModule","SectionMetadata","ProducersSectionMetadata","ProducerMetadata","ProducerMetadataVersionedName","LoopInstruction","Instr","IfInstruction","StringLiteral","NumberLiteral","LongNumberLiteral","FloatLiteral","Elem","IndexInFuncSection","ValtypeLiteral","TypeInstruction","Start","GlobalType","LeadingComment","BlockComment","Data","Global","Table","Memory","FuncImportDescr","ModuleImport","ModuleExportDescr","ModuleExport","Limit","Signature","Program","Identifier","BlockInstruction","CallInstruction","CallIndirectInstruction","ByteArray","Func","InternalBrUnless","InternalGoto","InternalCallExtern","InternalEndAndReturn","Node","Block","Instruction","Expression","NumericLiteral","ImportDescr","Intrinsic"];E.nodeAndUnionTypes=Pn},96395:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.signatures=void 0;function sign(v,E){return[v,E]}var P="u32";var R="i32";var $="i64";var N="f32";var L="f64";var q=function vector(v){var E=[v];E.vector=true;return E};var K={unreachable:sign([],[]),nop:sign([],[]),br:sign([P],[]),br_if:sign([P],[]),br_table:sign(q(P),[]),return:sign([],[]),call:sign([P],[]),call_indirect:sign([P],[])};var ae={drop:sign([],[]),select:sign([],[])};var ge={get_local:sign([P],[]),set_local:sign([P],[]),tee_local:sign([P],[]),get_global:sign([P],[]),set_global:sign([P],[])};var be={"i32.load":sign([P,P],[R]),"i64.load":sign([P,P],[]),"f32.load":sign([P,P],[]),"f64.load":sign([P,P],[]),"i32.load8_s":sign([P,P],[R]),"i32.load8_u":sign([P,P],[R]),"i32.load16_s":sign([P,P],[R]),"i32.load16_u":sign([P,P],[R]),"i64.load8_s":sign([P,P],[$]),"i64.load8_u":sign([P,P],[$]),"i64.load16_s":sign([P,P],[$]),"i64.load16_u":sign([P,P],[$]),"i64.load32_s":sign([P,P],[$]),"i64.load32_u":sign([P,P],[$]),"i32.store":sign([P,P],[]),"i64.store":sign([P,P],[]),"f32.store":sign([P,P],[]),"f64.store":sign([P,P],[]),"i32.store8":sign([P,P],[]),"i32.store16":sign([P,P],[]),"i64.store8":sign([P,P],[]),"i64.store16":sign([P,P],[]),"i64.store32":sign([P,P],[]),current_memory:sign([],[]),grow_memory:sign([],[])};var xe={"i32.const":sign([R],[R]),"i64.const":sign([$],[$]),"f32.const":sign([N],[N]),"f64.const":sign([L],[L]),"i32.eqz":sign([R],[R]),"i32.eq":sign([R,R],[R]),"i32.ne":sign([R,R],[R]),"i32.lt_s":sign([R,R],[R]),"i32.lt_u":sign([R,R],[R]),"i32.gt_s":sign([R,R],[R]),"i32.gt_u":sign([R,R],[R]),"i32.le_s":sign([R,R],[R]),"i32.le_u":sign([R,R],[R]),"i32.ge_s":sign([R,R],[R]),"i32.ge_u":sign([R,R],[R]),"i64.eqz":sign([$],[$]),"i64.eq":sign([$,$],[R]),"i64.ne":sign([$,$],[R]),"i64.lt_s":sign([$,$],[R]),"i64.lt_u":sign([$,$],[R]),"i64.gt_s":sign([$,$],[R]),"i64.gt_u":sign([$,$],[R]),"i64.le_s":sign([$,$],[R]),"i64.le_u":sign([$,$],[R]),"i64.ge_s":sign([$,$],[R]),"i64.ge_u":sign([$,$],[R]),"f32.eq":sign([N,N],[R]),"f32.ne":sign([N,N],[R]),"f32.lt":sign([N,N],[R]),"f32.gt":sign([N,N],[R]),"f32.le":sign([N,N],[R]),"f32.ge":sign([N,N],[R]),"f64.eq":sign([L,L],[R]),"f64.ne":sign([L,L],[R]),"f64.lt":sign([L,L],[R]),"f64.gt":sign([L,L],[R]),"f64.le":sign([L,L],[R]),"f64.ge":sign([L,L],[R]),"i32.clz":sign([R],[R]),"i32.ctz":sign([R],[R]),"i32.popcnt":sign([R],[R]),"i32.add":sign([R,R],[R]),"i32.sub":sign([R,R],[R]),"i32.mul":sign([R,R],[R]),"i32.div_s":sign([R,R],[R]),"i32.div_u":sign([R,R],[R]),"i32.rem_s":sign([R,R],[R]),"i32.rem_u":sign([R,R],[R]),"i32.and":sign([R,R],[R]),"i32.or":sign([R,R],[R]),"i32.xor":sign([R,R],[R]),"i32.shl":sign([R,R],[R]),"i32.shr_s":sign([R,R],[R]),"i32.shr_u":sign([R,R],[R]),"i32.rotl":sign([R,R],[R]),"i32.rotr":sign([R,R],[R]),"i64.clz":sign([$],[$]),"i64.ctz":sign([$],[$]),"i64.popcnt":sign([$],[$]),"i64.add":sign([$,$],[$]),"i64.sub":sign([$,$],[$]),"i64.mul":sign([$,$],[$]),"i64.div_s":sign([$,$],[$]),"i64.div_u":sign([$,$],[$]),"i64.rem_s":sign([$,$],[$]),"i64.rem_u":sign([$,$],[$]),"i64.and":sign([$,$],[$]),"i64.or":sign([$,$],[$]),"i64.xor":sign([$,$],[$]),"i64.shl":sign([$,$],[$]),"i64.shr_s":sign([$,$],[$]),"i64.shr_u":sign([$,$],[$]),"i64.rotl":sign([$,$],[$]),"i64.rotr":sign([$,$],[$]),"f32.abs":sign([N],[N]),"f32.neg":sign([N],[N]),"f32.ceil":sign([N],[N]),"f32.floor":sign([N],[N]),"f32.trunc":sign([N],[N]),"f32.nearest":sign([N],[N]),"f32.sqrt":sign([N],[N]),"f32.add":sign([N,N],[N]),"f32.sub":sign([N,N],[N]),"f32.mul":sign([N,N],[N]),"f32.div":sign([N,N],[N]),"f32.min":sign([N,N],[N]),"f32.max":sign([N,N],[N]),"f32.copysign":sign([N,N],[N]),"f64.abs":sign([L],[L]),"f64.neg":sign([L],[L]),"f64.ceil":sign([L],[L]),"f64.floor":sign([L],[L]),"f64.trunc":sign([L],[L]),"f64.nearest":sign([L],[L]),"f64.sqrt":sign([L],[L]),"f64.add":sign([L,L],[L]),"f64.sub":sign([L,L],[L]),"f64.mul":sign([L,L],[L]),"f64.div":sign([L,L],[L]),"f64.min":sign([L,L],[L]),"f64.max":sign([L,L],[L]),"f64.copysign":sign([L,L],[L]),"i32.wrap/i64":sign([$],[R]),"i32.trunc_s/f32":sign([N],[R]),"i32.trunc_u/f32":sign([N],[R]),"i32.trunc_s/f64":sign([N],[R]),"i32.trunc_u/f64":sign([L],[R]),"i64.extend_s/i32":sign([R],[$]),"i64.extend_u/i32":sign([R],[$]),"i64.trunc_s/f32":sign([N],[$]),"i64.trunc_u/f32":sign([N],[$]),"i64.trunc_s/f64":sign([L],[$]),"i64.trunc_u/f64":sign([L],[$]),"f32.convert_s/i32":sign([R],[N]),"f32.convert_u/i32":sign([R],[N]),"f32.convert_s/i64":sign([$],[N]),"f32.convert_u/i64":sign([$],[N]),"f32.demote/f64":sign([L],[N]),"f64.convert_s/i32":sign([R],[L]),"f64.convert_u/i32":sign([R],[L]),"f64.convert_s/i64":sign([$],[L]),"f64.convert_u/i64":sign([$],[L]),"f64.promote/f32":sign([N],[L]),"i32.reinterpret/f32":sign([N],[R]),"i64.reinterpret/f64":sign([L],[$]),"f32.reinterpret/i32":sign([R],[N]),"f64.reinterpret/i64":sign([$],[L])};var ve=Object.assign({},K,ae,ge,be,xe);E.signatures=ve},15067:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.moduleContextFromModuleAST=moduleContextFromModuleAST;E.ModuleContext=void 0;var R=P(860);function _classCallCheck(v,E){if(!(v instanceof E)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(v,E){for(var P=0;Pv&&v>=0}},{key:"getLabel",value:function getLabel(v){return this.labels[v]}},{key:"popLabel",value:function popLabel(){this.labels.shift()}},{key:"hasLocal",value:function hasLocal(v){return typeof this.getLocal(v)!=="undefined"}},{key:"getLocal",value:function getLocal(v){return this.locals[v]}},{key:"addLocal",value:function addLocal(v){this.locals.push(v)}},{key:"addType",value:function addType(v){if(!(v.functype.type==="Signature")){throw new Error('type.functype.type === "Signature"'+" error: "+(undefined||"unknown"))}this.types.push(v.functype)}},{key:"hasType",value:function hasType(v){return this.types[v]!==undefined}},{key:"getType",value:function getType(v){return this.types[v]}},{key:"hasGlobal",value:function hasGlobal(v){return this.globals.length>v&&v>=0}},{key:"getGlobal",value:function getGlobal(v){return this.globals[v].type}},{key:"getGlobalOffsetByIdentifier",value:function getGlobalOffsetByIdentifier(v){if(!(typeof v==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.globalsOffsetByIdentifier[v]}},{key:"defineGlobal",value:function defineGlobal(v){var E=v.globalType.valtype;var P=v.globalType.mutability;this.globals.push({type:E,mutability:P});if(typeof v.name!=="undefined"){this.globalsOffsetByIdentifier[v.name.value]=this.globals.length-1}}},{key:"importGlobal",value:function importGlobal(v,E){this.globals.push({type:v,mutability:E})}},{key:"isMutableGlobal",value:function isMutableGlobal(v){return this.globals[v].mutability==="var"}},{key:"isImmutableGlobal",value:function isImmutableGlobal(v){return this.globals[v].mutability==="const"}},{key:"hasMemory",value:function hasMemory(v){return this.mems.length>v&&v>=0}},{key:"addMemory",value:function addMemory(v,E){this.mems.push({min:v,max:E})}},{key:"getMemory",value:function getMemory(v){return this.mems[v]}}]);return ModuleContext}();E.ModuleContext=$},11885:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.traverse=traverse;var R=P(92489);var $=P(860);function walk(v,E){var P=false;function innerWalk(v,E){if(P){return}var $=v.node;if($===undefined){console.warn("traversing with an empty context");return}if($._deleted===true){return}var N=(0,R.createPath)(v);E($.type,N);if(N.shouldStop){P=true;return}Object.keys($).forEach((function(v){var P=$[v];if(P===null||P===undefined){return}var R=Array.isArray(P)?P:[P];R.forEach((function(R){if(typeof R.type==="string"){var $={node:R,parentKey:v,parentPath:N,shouldStop:false,inList:Array.isArray(P)};innerWalk($,E)}}))}))}innerWalk(v,E)}var N=function noop(){};function traverse(v,E){var P=arguments.length>2&&arguments[2]!==undefined?arguments[2]:N;var R=arguments.length>3&&arguments[3]!==undefined?arguments[3]:N;Object.keys(E).forEach((function(v){if(!$.nodeAndUnionTypes.includes(v)){throw new Error("Unexpected visitor ".concat(v))}}));var L={node:v,inList:false,shouldStop:false,parentPath:null,parentKey:null};walk(L,(function(v,N){if(typeof E[v]==="function"){P(v,N);E[v](N);R(v,N)}var L=$.unionTypesMap[v];if(!L){throw new Error("Unexpected node type ".concat(v))}L.forEach((function(v){if(typeof E[v]==="function"){P(v,N);E[v](N);R(v,N)}}))}))}},20885:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.isAnonymous=isAnonymous;E.getSectionMetadata=getSectionMetadata;E.getSectionMetadatas=getSectionMetadatas;E.sortSectionMetadata=sortSectionMetadata;E.orderedInsertNode=orderedInsertNode;E.assertHasLoc=assertHasLoc;E.getEndOfSection=getEndOfSection;E.shiftLoc=shiftLoc;E.shiftSection=shiftSection;E.signatureForOpcode=signatureForOpcode;E.getUniqueNameGenerator=getUniqueNameGenerator;E.getStartByteOffset=getStartByteOffset;E.getEndByteOffset=getEndByteOffset;E.getFunctionBeginingByteOffset=getFunctionBeginingByteOffset;E.getEndBlockByteOffset=getEndBlockByteOffset;E.getStartBlockByteOffset=getStartBlockByteOffset;var R=P(96395);var $=P(11885);var N=_interopRequireWildcard(P(94545));function _getRequireWildcardCache(v){if(typeof WeakMap!=="function")return null;var E=new WeakMap;var P=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(v){return v?P:E})(v)}function _interopRequireWildcard(v,E){if(!E&&v&&v.__esModule){return v}if(v===null||_typeof(v)!=="object"&&typeof v!=="function"){return{default:v}}var P=_getRequireWildcardCache(E);if(P&&P.has(v)){return P.get(v)}var R={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in v){if(N!=="default"&&Object.prototype.hasOwnProperty.call(v,N)){var L=$?Object.getOwnPropertyDescriptor(v,N):null;if(L&&(L.get||L.set)){Object.defineProperty(R,N,L)}else{R[N]=v[N]}}}R["default"]=v;if(P){P.set(v,R)}return R}function _slicedToArray(v,E){return _arrayWithHoles(v)||_iterableToArrayLimit(v,E)||_unsupportedIterableToArray(v,E)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(v,E){if(!v)return;if(typeof v==="string")return _arrayLikeToArray(v,E);var P=Object.prototype.toString.call(v).slice(8,-1);if(P==="Object"&&v.constructor)P=v.constructor.name;if(P==="Map"||P==="Set")return Array.from(v);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return _arrayLikeToArray(v,E)}function _arrayLikeToArray(v,E){if(E==null||E>v.length)E=v.length;for(var P=0,R=new Array(E);P0&&arguments[0]!==undefined?arguments[0]:"temp";if(!(E in v)){v[E]=0}else{v[E]=v[E]+1}return E+"_"+v[E]}}function getStartByteOffset(v){if(typeof v.loc==="undefined"||typeof v.loc.start==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+String(v.id))}return v.loc.start.column}function getEndByteOffset(v){if(typeof v.loc==="undefined"||typeof v.loc.end==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+v.type)}return v.loc.end.column}function getFunctionBeginingByteOffset(v){if(!(v.body.length>0)){throw new Error("n.body.length > 0"+" error: "+(undefined||"unknown"))}var E=_slicedToArray(v.body,1),P=E[0];return getStartByteOffset(P)}function getEndBlockByteOffset(v){if(!(v.instr.length>0||v.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var E;if(v.instr){E=v.instr[v.instr.length-1]}if(v.body){E=v.body[v.body.length-1]}if(!(_typeof(E)==="object")){throw new Error('typeof lastInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(E)}function getStartBlockByteOffset(v){if(!(v.instr.length>0||v.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var E;if(v.instr){var P=_slicedToArray(v.instr,1);E=P[0]}if(v.body){var R=_slicedToArray(v.body,1);E=R[0]}if(!(_typeof(E)==="object")){throw new Error('typeof fistInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(E)}},31209:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E["default"]=parse;function parse(v){v=v.toUpperCase();var E=v.indexOf("P");var P,R;if(E!==-1){P=v.substring(0,E);R=parseInt(v.substring(E+1))}else{P=v;R=0}var $=P.indexOf(".");if($!==-1){var N=parseInt(P.substring(0,$),16);var L=Math.sign(N);N=L*N;var q=P.length-$-1;var K=parseInt(P.substring($+1),16);var ae=q>0?K/Math.pow(16,q):0;if(L===0){if(ae===0){P=L}else{if(Object.is(L,-0)){P=-ae}else{P=ae}}}else{P=L*(N+ae)}}else{P=parseInt(P,16)}return P*(E!==-1?Math.pow(2,R):1)}},28513:function(v,E){"use strict";function _typeof(v){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(v){return typeof v}}else{_typeof=function _typeof(v){return v&&typeof Symbol==="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v}}return _typeof(v)}Object.defineProperty(E,"__esModule",{value:true});E.LinkError=E.CompileError=E.RuntimeError=void 0;function _classCallCheck(v,E){if(!(v instanceof E)){throw new TypeError("Cannot call a class as a function")}}function _inherits(v,E){if(typeof E!=="function"&&E!==null){throw new TypeError("Super expression must either be null or a function")}v.prototype=Object.create(E&&E.prototype,{constructor:{value:v,writable:true,configurable:true}});if(E)_setPrototypeOf(v,E)}function _createSuper(v){var E=_isNativeReflectConstruct();return function _createSuperInternal(){var P=_getPrototypeOf(v),R;if(E){var $=_getPrototypeOf(this).constructor;R=Reflect.construct(P,arguments,$)}else{R=P.apply(this,arguments)}return _possibleConstructorReturn(this,R)}}function _possibleConstructorReturn(v,E){if(E&&(_typeof(E)==="object"||typeof E==="function")){return E}else if(E!==void 0){throw new TypeError("Derived constructors may only return object or undefined")}return _assertThisInitialized(v)}function _assertThisInitialized(v){if(v===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return v}function _wrapNativeSuper(v){var E=typeof Map==="function"?new Map:undefined;_wrapNativeSuper=function _wrapNativeSuper(v){if(v===null||!_isNativeFunction(v))return v;if(typeof v!=="function"){throw new TypeError("Super expression must either be null or a function")}if(typeof E!=="undefined"){if(E.has(v))return E.get(v);E.set(v,Wrapper)}function Wrapper(){return _construct(v,arguments,_getPrototypeOf(this).constructor)}Wrapper.prototype=Object.create(v.prototype,{constructor:{value:Wrapper,enumerable:false,writable:true,configurable:true}});return _setPrototypeOf(Wrapper,v)};return _wrapNativeSuper(v)}function _construct(v,E,P){if(_isNativeReflectConstruct()){_construct=Reflect.construct}else{_construct=function _construct(v,E,P){var R=[null];R.push.apply(R,E);var $=Function.bind.apply(v,R);var N=new $;if(P)_setPrototypeOf(N,P.prototype);return N}}return _construct.apply(null,arguments)}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})));return true}catch(v){return false}}function _isNativeFunction(v){return Function.toString.call(v).indexOf("[native code]")!==-1}function _setPrototypeOf(v,E){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(v,E){v.__proto__=E;return v};return _setPrototypeOf(v,E)}function _getPrototypeOf(v){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(v){return v.__proto__||Object.getPrototypeOf(v)};return _getPrototypeOf(v)}var P=function(v){_inherits(RuntimeError,v);var E=_createSuper(RuntimeError);function RuntimeError(){_classCallCheck(this,RuntimeError);return E.apply(this,arguments)}return RuntimeError}(_wrapNativeSuper(Error));E.RuntimeError=P;var R=function(v){_inherits(CompileError,v);var E=_createSuper(CompileError);function CompileError(){_classCallCheck(this,CompileError);return E.apply(this,arguments)}return CompileError}(_wrapNativeSuper(Error));E.CompileError=R;var $=function(v){_inherits(LinkError,v);var E=_createSuper(LinkError);function LinkError(){_classCallCheck(this,LinkError);return E.apply(this,arguments)}return LinkError}(_wrapNativeSuper(Error));E.LinkError=$},97521:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.overrideBytesInBuffer=overrideBytesInBuffer;E.makeBuffer=makeBuffer;E.fromHexdump=fromHexdump;function _toConsumableArray(v){return _arrayWithoutHoles(v)||_iterableToArray(v)||_unsupportedIterableToArray(v)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(v,E){if(!v)return;if(typeof v==="string")return _arrayLikeToArray(v,E);var P=Object.prototype.toString.call(v).slice(8,-1);if(P==="Object"&&v.constructor)P=v.constructor.name;if(P==="Map"||P==="Set")return Array.from(v);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return _arrayLikeToArray(v,E)}function _iterableToArray(v){if(typeof Symbol!=="undefined"&&v[Symbol.iterator]!=null||v["@@iterator"]!=null)return Array.from(v)}function _arrayWithoutHoles(v){if(Array.isArray(v))return _arrayLikeToArray(v)}function _arrayLikeToArray(v,E){if(E==null||E>v.length)E=v.length;for(var P=0,R=new Array(E);P1&&arguments[1]!==undefined?arguments[1]:function(v){return v};var P={};var R=Object.keys(v);for(var $=0,N=R.length;$2&&arguments[2]!==undefined?arguments[2]:0;return{name:v,object:E,numberOfArgs:P}}function createSymbol(v){var E=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return{name:v,numberOfArgs:E}}var q={func:96,result:64};var K={0:"Func",1:"Table",2:"Memory",3:"Global"};var ae=invertMap(K);var ge={127:"i32",126:"i64",125:"f32",124:"f64",123:"v128"};var be=invertMap(ge);var xe={112:"anyfunc"};var ve=Object.assign({},ge,{64:null,127:"i32",126:"i64",125:"f32",124:"f64"});var Ae={0:"const",1:"var"};var Ie=invertMap(Ae);var He={0:"func",1:"table",2:"memory",3:"global"};var Qe={custom:0,type:1,import:2,func:3,table:4,memory:5,global:6,export:7,start:8,element:9,code:10,data:11};var Je={0:createSymbol("unreachable"),1:createSymbol("nop"),2:createSymbol("block"),3:createSymbol("loop"),4:createSymbol("if"),5:createSymbol("else"),6:$,7:$,8:$,9:$,10:$,11:createSymbol("end"),12:createSymbol("br",1),13:createSymbol("br_if",1),14:createSymbol("br_table"),15:createSymbol("return"),16:createSymbol("call",1),17:createSymbol("call_indirect",2),18:$,19:$,20:$,21:$,22:$,23:$,24:$,25:$,26:createSymbol("drop"),27:createSymbol("select"),28:$,29:$,30:$,31:$,32:createSymbol("get_local",1),33:createSymbol("set_local",1),34:createSymbol("tee_local",1),35:createSymbol("get_global",1),36:createSymbol("set_global",1),37:$,38:$,39:$,40:createSymbolObject("load","u32",1),41:createSymbolObject("load","u64",1),42:createSymbolObject("load","f32",1),43:createSymbolObject("load","f64",1),44:createSymbolObject("load8_s","u32",1),45:createSymbolObject("load8_u","u32",1),46:createSymbolObject("load16_s","u32",1),47:createSymbolObject("load16_u","u32",1),48:createSymbolObject("load8_s","u64",1),49:createSymbolObject("load8_u","u64",1),50:createSymbolObject("load16_s","u64",1),51:createSymbolObject("load16_u","u64",1),52:createSymbolObject("load32_s","u64",1),53:createSymbolObject("load32_u","u64",1),54:createSymbolObject("store","u32",1),55:createSymbolObject("store","u64",1),56:createSymbolObject("store","f32",1),57:createSymbolObject("store","f64",1),58:createSymbolObject("store8","u32",1),59:createSymbolObject("store16","u32",1),60:createSymbolObject("store8","u64",1),61:createSymbolObject("store16","u64",1),62:createSymbolObject("store32","u64",1),63:createSymbolObject("current_memory"),64:createSymbolObject("grow_memory"),65:createSymbolObject("const","i32",1),66:createSymbolObject("const","i64",1),67:createSymbolObject("const","f32",1),68:createSymbolObject("const","f64",1),69:createSymbolObject("eqz","i32"),70:createSymbolObject("eq","i32"),71:createSymbolObject("ne","i32"),72:createSymbolObject("lt_s","i32"),73:createSymbolObject("lt_u","i32"),74:createSymbolObject("gt_s","i32"),75:createSymbolObject("gt_u","i32"),76:createSymbolObject("le_s","i32"),77:createSymbolObject("le_u","i32"),78:createSymbolObject("ge_s","i32"),79:createSymbolObject("ge_u","i32"),80:createSymbolObject("eqz","i64"),81:createSymbolObject("eq","i64"),82:createSymbolObject("ne","i64"),83:createSymbolObject("lt_s","i64"),84:createSymbolObject("lt_u","i64"),85:createSymbolObject("gt_s","i64"),86:createSymbolObject("gt_u","i64"),87:createSymbolObject("le_s","i64"),88:createSymbolObject("le_u","i64"),89:createSymbolObject("ge_s","i64"),90:createSymbolObject("ge_u","i64"),91:createSymbolObject("eq","f32"),92:createSymbolObject("ne","f32"),93:createSymbolObject("lt","f32"),94:createSymbolObject("gt","f32"),95:createSymbolObject("le","f32"),96:createSymbolObject("ge","f32"),97:createSymbolObject("eq","f64"),98:createSymbolObject("ne","f64"),99:createSymbolObject("lt","f64"),100:createSymbolObject("gt","f64"),101:createSymbolObject("le","f64"),102:createSymbolObject("ge","f64"),103:createSymbolObject("clz","i32"),104:createSymbolObject("ctz","i32"),105:createSymbolObject("popcnt","i32"),106:createSymbolObject("add","i32"),107:createSymbolObject("sub","i32"),108:createSymbolObject("mul","i32"),109:createSymbolObject("div_s","i32"),110:createSymbolObject("div_u","i32"),111:createSymbolObject("rem_s","i32"),112:createSymbolObject("rem_u","i32"),113:createSymbolObject("and","i32"),114:createSymbolObject("or","i32"),115:createSymbolObject("xor","i32"),116:createSymbolObject("shl","i32"),117:createSymbolObject("shr_s","i32"),118:createSymbolObject("shr_u","i32"),119:createSymbolObject("rotl","i32"),120:createSymbolObject("rotr","i32"),121:createSymbolObject("clz","i64"),122:createSymbolObject("ctz","i64"),123:createSymbolObject("popcnt","i64"),124:createSymbolObject("add","i64"),125:createSymbolObject("sub","i64"),126:createSymbolObject("mul","i64"),127:createSymbolObject("div_s","i64"),128:createSymbolObject("div_u","i64"),129:createSymbolObject("rem_s","i64"),130:createSymbolObject("rem_u","i64"),131:createSymbolObject("and","i64"),132:createSymbolObject("or","i64"),133:createSymbolObject("xor","i64"),134:createSymbolObject("shl","i64"),135:createSymbolObject("shr_s","i64"),136:createSymbolObject("shr_u","i64"),137:createSymbolObject("rotl","i64"),138:createSymbolObject("rotr","i64"),139:createSymbolObject("abs","f32"),140:createSymbolObject("neg","f32"),141:createSymbolObject("ceil","f32"),142:createSymbolObject("floor","f32"),143:createSymbolObject("trunc","f32"),144:createSymbolObject("nearest","f32"),145:createSymbolObject("sqrt","f32"),146:createSymbolObject("add","f32"),147:createSymbolObject("sub","f32"),148:createSymbolObject("mul","f32"),149:createSymbolObject("div","f32"),150:createSymbolObject("min","f32"),151:createSymbolObject("max","f32"),152:createSymbolObject("copysign","f32"),153:createSymbolObject("abs","f64"),154:createSymbolObject("neg","f64"),155:createSymbolObject("ceil","f64"),156:createSymbolObject("floor","f64"),157:createSymbolObject("trunc","f64"),158:createSymbolObject("nearest","f64"),159:createSymbolObject("sqrt","f64"),160:createSymbolObject("add","f64"),161:createSymbolObject("sub","f64"),162:createSymbolObject("mul","f64"),163:createSymbolObject("div","f64"),164:createSymbolObject("min","f64"),165:createSymbolObject("max","f64"),166:createSymbolObject("copysign","f64"),167:createSymbolObject("wrap/i64","i32"),168:createSymbolObject("trunc_s/f32","i32"),169:createSymbolObject("trunc_u/f32","i32"),170:createSymbolObject("trunc_s/f64","i32"),171:createSymbolObject("trunc_u/f64","i32"),172:createSymbolObject("extend_s/i32","i64"),173:createSymbolObject("extend_u/i32","i64"),174:createSymbolObject("trunc_s/f32","i64"),175:createSymbolObject("trunc_u/f32","i64"),176:createSymbolObject("trunc_s/f64","i64"),177:createSymbolObject("trunc_u/f64","i64"),178:createSymbolObject("convert_s/i32","f32"),179:createSymbolObject("convert_u/i32","f32"),180:createSymbolObject("convert_s/i64","f32"),181:createSymbolObject("convert_u/i64","f32"),182:createSymbolObject("demote/f64","f32"),183:createSymbolObject("convert_s/i32","f64"),184:createSymbolObject("convert_u/i32","f64"),185:createSymbolObject("convert_s/i64","f64"),186:createSymbolObject("convert_u/i64","f64"),187:createSymbolObject("promote/f32","f64"),188:createSymbolObject("reinterpret/f32","i32"),189:createSymbolObject("reinterpret/f64","i64"),190:createSymbolObject("reinterpret/i32","f32"),191:createSymbolObject("reinterpret/i64","f64"),65024:createSymbol("memory.atomic.notify",1),65025:createSymbol("memory.atomic.wait32",1),65026:createSymbol("memory.atomic.wait64",1),65040:createSymbolObject("atomic.load","i32",1),65041:createSymbolObject("atomic.load","i64",1),65042:createSymbolObject("atomic.load8_u","i32",1),65043:createSymbolObject("atomic.load16_u","i32",1),65044:createSymbolObject("atomic.load8_u","i64",1),65045:createSymbolObject("atomic.load16_u","i64",1),65046:createSymbolObject("atomic.load32_u","i64",1),65047:createSymbolObject("atomic.store","i32",1),65048:createSymbolObject("atomic.store","i64",1),65049:createSymbolObject("atomic.store8_u","i32",1),65050:createSymbolObject("atomic.store16_u","i32",1),65051:createSymbolObject("atomic.store8_u","i64",1),65052:createSymbolObject("atomic.store16_u","i64",1),65053:createSymbolObject("atomic.store32_u","i64",1),65054:createSymbolObject("atomic.rmw.add","i32",1),65055:createSymbolObject("atomic.rmw.add","i64",1),65056:createSymbolObject("atomic.rmw8_u.add_u","i32",1),65057:createSymbolObject("atomic.rmw16_u.add_u","i32",1),65058:createSymbolObject("atomic.rmw8_u.add_u","i64",1),65059:createSymbolObject("atomic.rmw16_u.add_u","i64",1),65060:createSymbolObject("atomic.rmw32_u.add_u","i64",1),65061:createSymbolObject("atomic.rmw.sub","i32",1),65062:createSymbolObject("atomic.rmw.sub","i64",1),65063:createSymbolObject("atomic.rmw8_u.sub_u","i32",1),65064:createSymbolObject("atomic.rmw16_u.sub_u","i32",1),65065:createSymbolObject("atomic.rmw8_u.sub_u","i64",1),65066:createSymbolObject("atomic.rmw16_u.sub_u","i64",1),65067:createSymbolObject("atomic.rmw32_u.sub_u","i64",1),65068:createSymbolObject("atomic.rmw.and","i32",1),65069:createSymbolObject("atomic.rmw.and","i64",1),65070:createSymbolObject("atomic.rmw8_u.and_u","i32",1),65071:createSymbolObject("atomic.rmw16_u.and_u","i32",1),65072:createSymbolObject("atomic.rmw8_u.and_u","i64",1),65073:createSymbolObject("atomic.rmw16_u.and_u","i64",1),65074:createSymbolObject("atomic.rmw32_u.and_u","i64",1),65075:createSymbolObject("atomic.rmw.or","i32",1),65076:createSymbolObject("atomic.rmw.or","i64",1),65077:createSymbolObject("atomic.rmw8_u.or_u","i32",1),65078:createSymbolObject("atomic.rmw16_u.or_u","i32",1),65079:createSymbolObject("atomic.rmw8_u.or_u","i64",1),65080:createSymbolObject("atomic.rmw16_u.or_u","i64",1),65081:createSymbolObject("atomic.rmw32_u.or_u","i64",1),65082:createSymbolObject("atomic.rmw.xor","i32",1),65083:createSymbolObject("atomic.rmw.xor","i64",1),65084:createSymbolObject("atomic.rmw8_u.xor_u","i32",1),65085:createSymbolObject("atomic.rmw16_u.xor_u","i32",1),65086:createSymbolObject("atomic.rmw8_u.xor_u","i64",1),65087:createSymbolObject("atomic.rmw16_u.xor_u","i64",1),65088:createSymbolObject("atomic.rmw32_u.xor_u","i64",1),65089:createSymbolObject("atomic.rmw.xchg","i32",1),65090:createSymbolObject("atomic.rmw.xchg","i64",1),65091:createSymbolObject("atomic.rmw8_u.xchg_u","i32",1),65092:createSymbolObject("atomic.rmw16_u.xchg_u","i32",1),65093:createSymbolObject("atomic.rmw8_u.xchg_u","i64",1),65094:createSymbolObject("atomic.rmw16_u.xchg_u","i64",1),65095:createSymbolObject("atomic.rmw32_u.xchg_u","i64",1),65096:createSymbolObject("atomic.rmw.cmpxchg","i32",1),65097:createSymbolObject("atomic.rmw.cmpxchg","i64",1),65098:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i32",1),65099:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i32",1),65100:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i64",1),65101:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i64",1),65102:createSymbolObject("atomic.rmw32_u.cmpxchg_u","i64",1)};var Ve=invertMap(Je,(function(v){if(typeof v.object==="string"){return"".concat(v.object,".").concat(v.name)}return v.name}));var Ke={symbolsByByte:Je,sections:Qe,magicModuleHeader:N,moduleVersion:L,types:q,valtypes:ge,exportTypes:K,blockTypes:ve,tableTypes:xe,globalTypes:Ae,importTypes:He,valtypesByString:be,globalTypesByString:Ie,exportTypesByName:ae,symbolsByName:Ve};E["default"]=Ke},32337:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.getSectionForNode=getSectionForNode;function getSectionForNode(v){switch(v.type){case"ModuleImport":return"import";case"CallInstruction":case"CallIndirectInstruction":case"Func":case"Instr":return"code";case"ModuleExport":return"export";case"Start":return"start";case"TypeInstruction":return"type";case"IndexInFuncSection":return"func";case"Global":return"global";default:return}}},36915:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.createEmptySection=createEmptySection;var R=P(87643);var $=P(97521);var N=_interopRequireDefault(P(94545));var L=_interopRequireWildcard(P(26333));function _getRequireWildcardCache(v){if(typeof WeakMap!=="function")return null;var E=new WeakMap;var P=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(v){return v?P:E})(v)}function _interopRequireWildcard(v,E){if(!E&&v&&v.__esModule){return v}if(v===null||_typeof(v)!=="object"&&typeof v!=="function"){return{default:v}}var P=_getRequireWildcardCache(E);if(P&&P.has(v)){return P.get(v)}var R={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in v){if(N!=="default"&&Object.prototype.hasOwnProperty.call(v,N)){var L=$?Object.getOwnPropertyDescriptor(v,N):null;if(L&&(L.get||L.set)){Object.defineProperty(R,N,L)}else{R[N]=v[N]}}}R["default"]=v;if(P){P.set(v,R)}return R}function _interopRequireDefault(v){return v&&v.__esModule?v:{default:v}}function _typeof(v){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(v){return typeof v}}else{_typeof=function _typeof(v){return v&&typeof Symbol==="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v}}return _typeof(v)}function findLastSection(v,E){var P=N["default"].sections[E];var R=v.body[0].metadata.sections;var $;var L=0;for(var q=0,K=R.length;qL&&P32){throw new Error("Bad value for bitLength.")}if(R===undefined){R=0}else if(R!==0&&R!==1){throw new Error("Bad value for defaultBit.")}var $=R*255;var N=0;var L=E+P;var q=Math.floor(E/8);var K=E%8;var ae=Math.floor(L/8);var ge=L%8;if(ge!==0){N=get(ae)&(1<q){ae--;N=N<<8|get(ae)}N>>>=K;return N;function get(E){var P=v[E];return P===undefined?$:P}}function inject(v,E,P,R){if(P<0||P>32){throw new Error("Bad value for bitLength.")}var $=Math.floor((E+P-1)/8);if(E<0||$>=v.length){throw new Error("Index out of range.")}var N=Math.floor(E/8);var L=E%8;while(P>0){if(R&1){v[N]|=1<>=1;P--;L=(L+1)%8;if(L===0){N++}}}function getSign(v){return v[v.length-1]>>>7}function highOrder(v,E){var P=E.length;var R=(v^1)*255;while(P>0&&E[P-1]===R){P--}if(P===0){return-1}var $=E[P-1];var N=P*8-1;for(var L=7;L>0;L--){if(($>>L&1)===v){break}N--}return N}},57386:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.alloc=alloc;E.free=free;E.resize=resize;E.readInt=readInt;E.readUInt=readUInt;E.writeInt64=writeInt64;E.writeUInt64=writeUInt64;var P=[];var R=20;var $=-0x8000000000000000;var N=0x7ffffffffffffc00;var L=0xfffffffffffff800;var q=4294967296;var K=0x10000000000000000;function lowestBit(v){return v&-v}function isLossyToAdd(v,E){if(E===0){return false}var P=lowestBit(E);var R=v+P;if(R===v){return true}if(R-P!==v){return true}return false}function alloc(v){var E=P[v];if(E){P[v]=undefined}else{E=new Buffer(v)}E.fill(0);return E}function free(v){var E=v.length;if(E=0;N--){R=R*256+v[N]}}else{for(var L=E-1;L>=0;L--){var q=v[L];R*=256;if(isLossyToAdd(R,q)){$=true}R+=q}}return{value:R,lossy:$}}function readUInt(v){var E=v.length;var P=0;var R=false;if(E<7){for(var $=E-1;$>=0;$--){P=P*256+v[$]}}else{for(var N=E-1;N>=0;N--){var L=v[N];P*=256;if(isLossyToAdd(P,L)){R=true}P+=L}}return{value:P,lossy:R}}function writeInt64(v,E){if(v<$||v>N){throw new Error("Value out of range.")}if(v<0){v+=K}writeUInt64(v,E)}function writeUInt64(v,E){if(v<0||v>L){throw new Error("Value out of range.")}var P=v%q;var R=Math.floor(v/q);E.writeUInt32LE(P,0);E.writeUInt32LE(R,4)}},54307:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.decodeInt64=decodeInt64;E.decodeUInt64=decodeUInt64;E.decodeInt32=decodeInt32;E.decodeUInt32=decodeUInt32;E.encodeU32=encodeU32;E.encodeI32=encodeI32;E.encodeI64=encodeI64;E.MAX_NUMBER_OF_BYTE_U64=E.MAX_NUMBER_OF_BYTE_U32=void 0;var R=_interopRequireDefault(P(66562));function _interopRequireDefault(v){return v&&v.__esModule?v:{default:v}}var $=5;E.MAX_NUMBER_OF_BYTE_U32=$;var N=10;E.MAX_NUMBER_OF_BYTE_U64=N;function decodeInt64(v,E){return R["default"].decodeInt64(v,E)}function decodeUInt64(v,E){return R["default"].decodeUInt64(v,E)}function decodeInt32(v,E){return R["default"].decodeInt32(v,E)}function decodeUInt32(v,E){return R["default"].decodeUInt32(v,E)}function encodeU32(v){return R["default"].encodeUInt32(v)}function encodeI32(v){return R["default"].encodeInt32(v)}function encodeI64(v){return R["default"].encodeInt64(v)}},66562:function(v,E,P){"use strict";function _typeof(v){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(v){return typeof v}}else{_typeof=function _typeof(v){return v&&typeof Symbol==="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v}}return _typeof(v)}Object.defineProperty(E,"__esModule",{value:true});E["default"]=void 0;var R=_interopRequireDefault(P(85249));var $=_interopRequireWildcard(P(79423));var N=_interopRequireWildcard(P(57386));function _getRequireWildcardCache(v){if(typeof WeakMap!=="function")return null;var E=new WeakMap;var P=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(v){return v?P:E})(v)}function _interopRequireWildcard(v,E){if(!E&&v&&v.__esModule){return v}if(v===null||_typeof(v)!=="object"&&typeof v!=="function"){return{default:v}}var P=_getRequireWildcardCache(E);if(P&&P.has(v)){return P.get(v)}var R={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in v){if(N!=="default"&&Object.prototype.hasOwnProperty.call(v,N)){var L=$?Object.getOwnPropertyDescriptor(v,N):null;if(L&&(L.get||L.set)){Object.defineProperty(R,N,L)}else{R[N]=v[N]}}}R["default"]=v;if(P){P.set(v,R)}return R}function _interopRequireDefault(v){return v&&v.__esModule?v:{default:v}}var L=-2147483648;var q=2147483647;var K=4294967295;function signedBitCount(v){return $.highOrder($.getSign(v)^1,v)+2}function unsignedBitCount(v){var E=$.highOrder(1,v)+1;return E?E:1}function encodeBufferCommon(v,E){var P;var R;if(E){P=$.getSign(v);R=signedBitCount(v)}else{P=0;R=unsignedBitCount(v)}var L=Math.ceil(R/7);var q=N.alloc(L);for(var K=0;K=128){P++}P++;if(E+P>v.length){}return P}function decodeBufferCommon(v,E,P){E=E===undefined?0:E;var R=encodedLength(v,E);var L=R*7;var q=Math.ceil(L/8);var K=N.alloc(q);var ae=0;while(R>0){$.inject(K,ae,7,v[E]);ae+=7;E++;R--}var ge;var be;if(P){var xe=K[q-1];var ve=ae%8;if(ve!==0){var Ae=32-ve;xe=K[q-1]=xe<>Ae&255}ge=xe>>7;be=ge*255}else{ge=0;be=0}while(q>1&&K[q-1]===be&&(!P||K[q-2]>>7===ge)){q--}K=N.resize(K,q);return{value:K,nextIndex:E}}function encodeIntBuffer(v){return encodeBufferCommon(v,true)}function decodeIntBuffer(v,E){return decodeBufferCommon(v,E,true)}function encodeInt32(v){var E=N.alloc(4);E.writeInt32LE(v,0);var P=encodeIntBuffer(E);N.free(E);return P}function decodeInt32(v,E){var P=decodeIntBuffer(v,E);var R=N.readInt(P.value);var $=R.value;N.free(P.value);if($q){throw new Error("integer too large")}return{value:$,nextIndex:P.nextIndex}}function encodeInt64(v){var E=N.alloc(8);N.writeInt64(v,E);var P=encodeIntBuffer(E);N.free(E);return P}function decodeInt64(v,E){var P=decodeIntBuffer(v,E);var $=P.value.length;if(P.value[$-1]>>7){P.value=N.resize(P.value,8);P.value.fill(255,$)}var L=R["default"].fromBytesLE(P.value,false);N.free(P.value);return{value:L,nextIndex:P.nextIndex,lossy:false}}function encodeUIntBuffer(v){return encodeBufferCommon(v,false)}function decodeUIntBuffer(v,E){return decodeBufferCommon(v,E,false)}function encodeUInt32(v){var E=N.alloc(4);E.writeUInt32LE(v,0);var P=encodeUIntBuffer(E);N.free(E);return P}function decodeUInt32(v,E){var P=decodeUIntBuffer(v,E);var R=N.readUInt(P.value);var $=R.value;N.free(P.value);if($>K){throw new Error("integer too large")}return{value:$,nextIndex:P.nextIndex}}function encodeUInt64(v){var E=N.alloc(8);N.writeUInt64(v,E);var P=encodeUIntBuffer(E);N.free(E);return P}function decodeUInt64(v,E){var P=decodeUIntBuffer(v,E);var $=R["default"].fromBytesLE(P.value,true);N.free(P.value);return{value:$,nextIndex:P.nextIndex,lossy:false}}var ae={decodeInt32:decodeInt32,decodeInt64:decodeInt64,decodeIntBuffer:decodeIntBuffer,decodeUInt32:decodeUInt32,decodeUInt64:decodeUInt64,decodeUIntBuffer:decodeUIntBuffer,encodeInt32:encodeInt32,encodeInt64:encodeInt64,encodeIntBuffer:encodeIntBuffer,encodeUInt32:encodeUInt32,encodeUInt64:encodeUInt64,encodeUIntBuffer:encodeUIntBuffer};E["default"]=ae},18126:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.decode=decode;function con(v){if((v&192)===128){return v&63}else{throw new Error("invalid UTF-8 encoding")}}function code(v,E){if(E=65536){throw new Error("invalid UTF-8 encoding")}else{return E}}function decode(v){return _decode(v).map((function(v){return String.fromCharCode(v)})).join("")}function _decode(v){var E=[];while(v.length>0){var P=v[0];if(P<128){E.push(code(0,P));v=v.slice(1);continue}if(P<192){throw new Error("invalid UTF-8 encoding")}var R=v[1];if(P<224){E.push(code(128,((P&31)<<6)+con(R)));v=v.slice(2);continue}var $=v[2];if(P<240){E.push(code(2048,((P&15)<<12)+(con(R)<<6)+con($)));v=v.slice(3);continue}var N=v[3];if(P<248){E.push(code(65536,(((P&7)<<18)+con(R)<<12)+(con($)<<6)+con(N)));v=v.slice(4);continue}throw new Error("invalid UTF-8 encoding")}return E}},24083:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.encode=encode;function _toConsumableArray(v){return _arrayWithoutHoles(v)||_iterableToArray(v)||_unsupportedIterableToArray(v)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _arrayWithoutHoles(v){if(Array.isArray(v))return _arrayLikeToArray(v)}function _toArray(v){return _arrayWithHoles(v)||_iterableToArray(v)||_unsupportedIterableToArray(v)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(v,E){if(!v)return;if(typeof v==="string")return _arrayLikeToArray(v,E);var P=Object.prototype.toString.call(v).slice(8,-1);if(P==="Object"&&v.constructor)P=v.constructor.name;if(P==="Map"||P==="Set")return Array.from(v);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return _arrayLikeToArray(v,E)}function _arrayLikeToArray(v,E){if(E==null||E>v.length)E=v.length;for(var P=0,R=new Array(E);P>>6,con(P)].concat(_toConsumableArray(_encode(R)))}if(P<65536){return[224|P>>>12,con(P>>>6),con(P)].concat(_toConsumableArray(_encode(R)))}if(P<1114112){return[240|P>>>18,con(P>>>12),con(P>>>6),con(P)].concat(_toConsumableArray(_encode(R)))}throw new Error("utf8")}},34114:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});Object.defineProperty(E,"decode",{enumerable:true,get:function get(){return R.decode}});Object.defineProperty(E,"encode",{enumerable:true,get:function get(){return $.encode}});var R=P(18126);var $=P(24083)},25467:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.applyOperations=applyOperations;var R=P(87643);var $=P(49212);var N=P(26333);var L=P(82844);var q=P(97521);var K=P(94545);function _slicedToArray(v,E){return _arrayWithHoles(v)||_iterableToArrayLimit(v,E)||_unsupportedIterableToArray(v,E)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(v,E){if(!v)return;if(typeof v==="string")return _arrayLikeToArray(v,E);var P=Object.prototype.toString.call(v).slice(8,-1);if(P==="Object"&&v.constructor)P=v.constructor.name;if(P==="Map"||P==="Set")return Array.from(v);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return _arrayLikeToArray(v,E)}function _arrayLikeToArray(v,E){if(E==null||E>v.length)E=v.length;for(var P=0,R=new Array(E);P=v.length)return{done:true};return{done:false,value:v[R++]}},e:function e(v){throw v},f:$}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var N=true,L=false,q;return{s:function s(){P=P.call(v)},n:function n(){var v=P.next();N=v.done;return v},e:function e(v){L=true;q=v},f:function f(){try{if(!N&&P["return"]!=null)P["return"]()}finally{if(L)throw q}}}}function _unsupportedIterableToArray(v,E){if(!v)return;if(typeof v==="string")return _arrayLikeToArray(v,E);var P=Object.prototype.toString.call(v).slice(8,-1);if(P==="Object"&&v.constructor)P=v.constructor.name;if(P==="Map"||P==="Set")return Array.from(v);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return _arrayLikeToArray(v,E)}function _arrayLikeToArray(v,E){if(E==null||E>v.length)E=v.length;for(var P=0,R=new Array(E);Pv.length)E=v.length;for(var P=0,R=new Array(E);Pv.length)E=v.length;for(var P=0,R=new Array(E);P=P.length}function eatBytes(v){ge=ge+v}function readBytesAtOffset(v,E){var R=[];for(var $=0;$>7?-1:1;var R=0;for(var N=0;N>7?-1:1;var R=0;for(var N=0;NP.length){throw new Error("unexpected end")}var v=readBytes(4);if(byteArrayEq(K["default"].magicModuleHeader,v)===false){throw new R.CompileError("magic header not detected")}dump(v,"wasm magic header");eatBytes(4)}function parseVersion(){if(isEOF()===true||ge+4>P.length){throw new Error("unexpected end")}var v=readBytes(4);if(byteArrayEq(K["default"].moduleVersion,v)===false){throw new R.CompileError("unknown binary version")}dump(v,"wasm version");eatBytes(4)}function parseVec(v){var E=readU32();var P=E.value;eatBytes(E.nextIndex);dump([P],"number");if(P===0){return[]}var $=[];for(var N=0;N=40&&$<=64){if(N.name==="grow_memory"||N.name==="current_memory"){var _t=readU32();var Pt=_t.value;eatBytes(_t.nextIndex);if(Pt!==0){throw new Error("zero flag expected")}dump([Pt],"index")}else{var Mt=readU32();var It=Mt.value;eatBytes(Mt.nextIndex);dump([It],"align");var Ot=readU32();var Dt=Ot.value;eatBytes(Ot.nextIndex);dump([Dt],"offset");if(xe===undefined)xe={};xe.offset=L.numberLiteralFromRaw(Dt)}}else if($>=65&&$<=68){if(N.object==="i32"){var Rt=read32();var Tt=Rt.value;eatBytes(Rt.nextIndex);dump([Tt],"i32 value");ge.push(L.numberLiteralFromRaw(Tt))}if(N.object==="u32"){var $t=readU32();var Ft=$t.value;eatBytes($t.nextIndex);dump([Ft],"u32 value");ge.push(L.numberLiteralFromRaw(Ft))}if(N.object==="i64"){var jt=read64();var Nt=jt.value;eatBytes(jt.nextIndex);dump([Number(Nt.toString())],"i64 value");var Lt=Nt.high,Bt=Nt.low;var qt={type:"LongNumberLiteral",value:{high:Lt,low:Bt}};ge.push(qt)}if(N.object==="u64"){var zt=readU64();var Ut=zt.value;eatBytes(zt.nextIndex);dump([Number(Ut.toString())],"u64 value");var Gt=Ut.high,Ht=Ut.low;var Wt={type:"LongNumberLiteral",value:{high:Gt,low:Ht}};ge.push(Wt)}if(N.object==="f32"){var Qt=readF32();var Jt=Qt.value;eatBytes(Qt.nextIndex);dump([Jt],"f32 value");ge.push(L.floatLiteral(Jt,Qt.nan,Qt.inf,String(Jt)))}if(N.object==="f64"){var Vt=readF64();var Kt=Vt.value;eatBytes(Vt.nextIndex);dump([Kt],"f64 value");ge.push(L.floatLiteral(Kt,Vt.nan,Vt.inf,String(Kt)))}}else if($>=65024&&$<=65279){var Yt=readU32();var Xt=Yt.value;eatBytes(Yt.nextIndex);dump([Xt],"align");var Zt=readU32();var en=Zt.value;eatBytes(Zt.nextIndex);dump([en],"offset")}else{for(var tn=0;tn=v||v===K["default"].sections.custom){v=P+1}else{if(P!==K["default"].sections.custom)throw new R.CompileError("Unexpected section: "+toHex(P))}var $=v;var N=ge;var q=getPosition();var ae=readU32();var be=ae.value;eatBytes(ae.nextIndex);var xe=function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(be),v,q)}();switch(P){case K["default"].sections.type:{dumpSep("section Type");dump([P],"section code");dump([be],"section size");var ve=getPosition();var Ae=readU32();var Ie=Ae.value;eatBytes(Ae.nextIndex);var He=L.sectionMetadata("type",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(Ie),v,ve)}());var Qe=parseTypeSection(Ie);return{nodes:Qe,metadata:He,nextSectionIndex:$}}case K["default"].sections.table:{dumpSep("section Table");dump([P],"section code");dump([be],"section size");var Je=getPosition();var Ve=readU32();var Ke=Ve.value;eatBytes(Ve.nextIndex);dump([Ke],"num tables");var Ye=L.sectionMetadata("table",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(Ke),v,Je)}());var Xe=parseTableSection(Ke);return{nodes:Xe,metadata:Ye,nextSectionIndex:$}}case K["default"].sections["import"]:{dumpSep("section Import");dump([P],"section code");dump([be],"section size");var Ze=getPosition();var et=readU32();var tt=et.value;eatBytes(et.nextIndex);dump([tt],"number of imports");var nt=L.sectionMetadata("import",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(tt),v,Ze)}());var st=parseImportSection(tt);return{nodes:st,metadata:nt,nextSectionIndex:$}}case K["default"].sections.func:{dumpSep("section Function");dump([P],"section code");dump([be],"section size");var rt=getPosition();var ot=readU32();var it=ot.value;eatBytes(ot.nextIndex);var at=L.sectionMetadata("func",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(it),v,rt)}());parseFuncSection(it);var ct=[];return{nodes:ct,metadata:at,nextSectionIndex:$}}case K["default"].sections["export"]:{dumpSep("section Export");dump([P],"section code");dump([be],"section size");var lt=getPosition();var ut=readU32();var pt=ut.value;eatBytes(ut.nextIndex);var dt=L.sectionMetadata("export",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(pt),v,lt)}());parseExportSection(pt);var ft=[];return{nodes:ft,metadata:dt,nextSectionIndex:$}}case K["default"].sections.code:{dumpSep("section Code");dump([P],"section code");dump([be],"section size");var ht=getPosition();var mt=readU32();var gt=mt.value;eatBytes(mt.nextIndex);var yt=L.sectionMetadata("code",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(gt),v,ht)}());if(E.ignoreCodeSection===true){var bt=be-mt.nextIndex;eatBytes(bt)}else{parseCodeSection(gt)}var xt=[];return{nodes:xt,metadata:yt,nextSectionIndex:$}}case K["default"].sections.start:{dumpSep("section Start");dump([P],"section code");dump([be],"section size");var kt=L.sectionMetadata("start",N,xe);var vt=[parseStartSection()];return{nodes:vt,metadata:kt,nextSectionIndex:$}}case K["default"].sections.element:{dumpSep("section Element");dump([P],"section code");dump([be],"section size");var wt=getPosition();var Et=readU32();var At=Et.value;eatBytes(Et.nextIndex);var Ct=L.sectionMetadata("element",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(At),v,wt)}());var St=parseElemSection(At);return{nodes:St,metadata:Ct,nextSectionIndex:$}}case K["default"].sections.global:{dumpSep("section Global");dump([P],"section code");dump([be],"section size");var _t=getPosition();var Pt=readU32();var Mt=Pt.value;eatBytes(Pt.nextIndex);var It=L.sectionMetadata("global",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(Mt),v,_t)}());var Ot=parseGlobalSection(Mt);return{nodes:Ot,metadata:It,nextSectionIndex:$}}case K["default"].sections.memory:{dumpSep("section Memory");dump([P],"section code");dump([be],"section size");var Dt=getPosition();var Rt=readU32();var Tt=Rt.value;eatBytes(Rt.nextIndex);var $t=L.sectionMetadata("memory",N,xe,function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(Tt),v,Dt)}());var Ft=parseMemorySection(Tt);return{nodes:Ft,metadata:$t,nextSectionIndex:$}}case K["default"].sections.data:{dumpSep("section Data");dump([P],"section code");dump([be],"section size");var jt=L.sectionMetadata("data",N,xe);var Nt=getPosition();var Lt=readU32();var Bt=Lt.value;eatBytes(Lt.nextIndex);jt.vectorOfSize=function(){var v=getPosition();return L.withLoc(L.numberLiteralFromRaw(Bt),v,Nt)}();if(E.ignoreDataSection===true){var qt=be-Lt.nextIndex;eatBytes(qt);dumpSep("ignore data ("+be+" bytes)");return{nodes:[],metadata:jt,nextSectionIndex:$}}else{var zt=parseDataSection(Bt);return{nodes:zt,metadata:jt,nextSectionIndex:$}}}case K["default"].sections.custom:{dumpSep("section Custom");dump([P],"section code");dump([be],"section size");var Ut=[L.sectionMetadata("custom",N,xe)];var Gt=readUTF8String();eatBytes(Gt.nextIndex);dump([],"section name (".concat(Gt.value,")"));var Ht=be-Gt.nextIndex;if(Gt.value==="name"){var Wt=ge;try{Ut.push.apply(Ut,_toConsumableArray(parseNameSection(Ht)))}catch(v){console.warn('Failed to decode custom "name" section @'.concat(ge,"; ignoring (").concat(v.message,")."));eatBytes(ge-(Wt+Ht))}}else if(Gt.value==="producers"){var Qt=ge;try{Ut.push(parseProducersSection())}catch(v){console.warn('Failed to decode custom "producers" section @'.concat(ge,"; ignoring (").concat(v.message,")."));eatBytes(ge-(Qt+Ht))}}else{eatBytes(Ht);dumpSep("ignore custom "+JSON.stringify(Gt.value)+" section ("+Ht+" bytes)")}return{nodes:[],metadata:Ut,nextSectionIndex:$}}}if(E.errorOnUnknownSection){throw new R.CompileError("Unexpected section: "+toHex(P))}else{dumpSep("section "+toHex(P));dump([P],"section code");dump([be],"section size");eatBytes(be);dumpSep("ignoring ("+be+" bytes)");return{nodes:[],metadata:[],nextSectionIndex:0}}}parseModuleHeader();parseVersion();var xe=[];var ve=0;var Ae={sections:[],functionNames:[],localNames:[],producers:[]};while(ge>1;var ge=-7;var be=P?$-1:0;var xe=P?-1:1;var ve=v[E+be];be+=xe;N=ve&(1<<-ge)-1;ve>>=-ge;ge+=q;for(;ge>0;N=N*256+v[E+be],be+=xe,ge-=8){}L=N&(1<<-ge)-1;N>>=-ge;ge+=R;for(;ge>0;L=L*256+v[E+be],be+=xe,ge-=8){}if(N===0){N=1-ae}else if(N===K){return L?NaN:(ve?-1:1)*Infinity}else{L=L+Math.pow(2,R);N=N-ae}return(ve?-1:1)*L*Math.pow(2,N-R)}function write(v,E,P,R,$,N){var L,q,K;var ae=N*8-$-1;var ge=(1<>1;var xe=$===23?Math.pow(2,-24)-Math.pow(2,-77):0;var ve=R?0:N-1;var Ae=R?1:-1;var Ie=E<0||E===0&&1/E<0?1:0;E=Math.abs(E);if(isNaN(E)||E===Infinity){q=isNaN(E)?1:0;L=ge}else{L=Math.floor(Math.log(E)/Math.LN2);if(E*(K=Math.pow(2,-L))<1){L--;K*=2}if(L+be>=1){E+=xe/K}else{E+=xe*Math.pow(2,1-be)}if(E*K>=2){L++;K/=2}if(L+be>=ge){q=0;L=ge}else if(L+be>=1){q=(E*K-1)*Math.pow(2,$);L=L+be}else{q=E*Math.pow(2,be-1)*Math.pow(2,$);L=0}}for(;$>=8;v[P+ve]=q&255,ve+=Ae,q/=256,$-=8){}L=L<<$|q;ae+=$;for(;ae>0;v[P+ve]=L&255,ve+=Ae,L/=256,ae-=8){}v[P+ve-Ae]|=Ie*128}},85249:function(v){v.exports=Long;var E=null;try{E=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(v){}function Long(v,E,P){this.low=v|0;this.high=E|0;this.unsigned=!!P}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});function isLong(v){return(v&&v["__isLong__"])===true}Long.isLong=isLong;var P={};var R={};function fromInt(v,E){var $,N,L;if(E){v>>>=0;if(L=0<=v&&v<256){N=R[v];if(N)return N}$=fromBits(v,(v|0)<0?-1:0,true);if(L)R[v]=$;return $}else{v|=0;if(L=-128<=v&&v<128){N=P[v];if(N)return N}$=fromBits(v,v<0?-1:0,false);if(L)P[v]=$;return $}}Long.fromInt=fromInt;function fromNumber(v,E){if(isNaN(v))return E?xe:be;if(E){if(v<0)return xe;if(v>=K)return Qe}else{if(v<=-ae)return Je;if(v+1>=ae)return He}if(v<0)return fromNumber(-v,E).neg();return fromBits(v%q|0,v/q|0,E)}Long.fromNumber=fromNumber;function fromBits(v,E,P){return new Long(v,E,P)}Long.fromBits=fromBits;var $=Math.pow;function fromString(v,E,P){if(v.length===0)throw Error("empty string");if(v==="NaN"||v==="Infinity"||v==="+Infinity"||v==="-Infinity")return be;if(typeof E==="number"){P=E,E=false}else{E=!!E}P=P||10;if(P<2||360)throw Error("interior hyphen");else if(R===0){return fromString(v.substring(1),E,P).neg()}var N=fromNumber($(P,8));var L=be;for(var q=0;q>>0:this.low};Ve.toNumber=function toNumber(){if(this.unsigned)return(this.high>>>0)*q+(this.low>>>0);return this.high*q+(this.low>>>0)};Ve.toString=function toString(v){v=v||10;if(v<2||36>>0,ge=ae.toString(v);L=K;if(L.isZero())return ge+q;else{while(ge.length<6)ge="0"+ge;q=""+ge+q}}};Ve.getHighBits=function getHighBits(){return this.high};Ve.getHighBitsUnsigned=function getHighBitsUnsigned(){return this.high>>>0};Ve.getLowBits=function getLowBits(){return this.low};Ve.getLowBitsUnsigned=function getLowBitsUnsigned(){return this.low>>>0};Ve.getNumBitsAbs=function getNumBitsAbs(){if(this.isNegative())return this.eq(Je)?64:this.neg().getNumBitsAbs();var v=this.high!=0?this.high:this.low;for(var E=31;E>0;E--)if((v&1<=0};Ve.isOdd=function isOdd(){return(this.low&1)===1};Ve.isEven=function isEven(){return(this.low&1)===0};Ve.equals=function equals(v){if(!isLong(v))v=fromValue(v);if(this.unsigned!==v.unsigned&&this.high>>>31===1&&v.high>>>31===1)return false;return this.high===v.high&&this.low===v.low};Ve.eq=Ve.equals;Ve.notEquals=function notEquals(v){return!this.eq(v)};Ve.neq=Ve.notEquals;Ve.ne=Ve.notEquals;Ve.lessThan=function lessThan(v){return this.comp(v)<0};Ve.lt=Ve.lessThan;Ve.lessThanOrEqual=function lessThanOrEqual(v){return this.comp(v)<=0};Ve.lte=Ve.lessThanOrEqual;Ve.le=Ve.lessThanOrEqual;Ve.greaterThan=function greaterThan(v){return this.comp(v)>0};Ve.gt=Ve.greaterThan;Ve.greaterThanOrEqual=function greaterThanOrEqual(v){return this.comp(v)>=0};Ve.gte=Ve.greaterThanOrEqual;Ve.ge=Ve.greaterThanOrEqual;Ve.compare=function compare(v){if(!isLong(v))v=fromValue(v);if(this.eq(v))return 0;var E=this.isNegative(),P=v.isNegative();if(E&&!P)return-1;if(!E&&P)return 1;if(!this.unsigned)return this.sub(v).isNegative()?-1:1;return v.high>>>0>this.high>>>0||v.high===this.high&&v.low>>>0>this.low>>>0?-1:1};Ve.comp=Ve.compare;Ve.negate=function negate(){if(!this.unsigned&&this.eq(Je))return Je;return this.not().add(ve)};Ve.neg=Ve.negate;Ve.add=function add(v){if(!isLong(v))v=fromValue(v);var E=this.high>>>16;var P=this.high&65535;var R=this.low>>>16;var $=this.low&65535;var N=v.high>>>16;var L=v.high&65535;var q=v.low>>>16;var K=v.low&65535;var ae=0,ge=0,be=0,xe=0;xe+=$+K;be+=xe>>>16;xe&=65535;be+=R+q;ge+=be>>>16;be&=65535;ge+=P+L;ae+=ge>>>16;ge&=65535;ae+=E+N;ae&=65535;return fromBits(be<<16|xe,ae<<16|ge,this.unsigned)};Ve.subtract=function subtract(v){if(!isLong(v))v=fromValue(v);return this.add(v.neg())};Ve.sub=Ve.subtract;Ve.multiply=function multiply(v){if(this.isZero())return be;if(!isLong(v))v=fromValue(v);if(E){var P=E["mul"](this.low,this.high,v.low,v.high);return fromBits(P,E["get_high"](),this.unsigned)}if(v.isZero())return be;if(this.eq(Je))return v.isOdd()?Je:be;if(v.eq(Je))return this.isOdd()?Je:be;if(this.isNegative()){if(v.isNegative())return this.neg().mul(v.neg());else return this.neg().mul(v).neg()}else if(v.isNegative())return this.mul(v.neg()).neg();if(this.lt(ge)&&v.lt(ge))return fromNumber(this.toNumber()*v.toNumber(),this.unsigned);var R=this.high>>>16;var $=this.high&65535;var N=this.low>>>16;var L=this.low&65535;var q=v.high>>>16;var K=v.high&65535;var ae=v.low>>>16;var xe=v.low&65535;var ve=0,Ae=0,Ie=0,He=0;He+=L*xe;Ie+=He>>>16;He&=65535;Ie+=N*xe;Ae+=Ie>>>16;Ie&=65535;Ie+=L*ae;Ae+=Ie>>>16;Ie&=65535;Ae+=$*xe;ve+=Ae>>>16;Ae&=65535;Ae+=N*ae;ve+=Ae>>>16;Ae&=65535;Ae+=L*K;ve+=Ae>>>16;Ae&=65535;ve+=R*xe+$*ae+N*K+L*q;ve&=65535;return fromBits(Ie<<16|He,ve<<16|Ae,this.unsigned)};Ve.mul=Ve.multiply;Ve.divide=function divide(v){if(!isLong(v))v=fromValue(v);if(v.isZero())throw Error("division by zero");if(E){if(!this.unsigned&&this.high===-2147483648&&v.low===-1&&v.high===-1){return this}var P=(this.unsigned?E["div_u"]:E["div_s"])(this.low,this.high,v.low,v.high);return fromBits(P,E["get_high"](),this.unsigned)}if(this.isZero())return this.unsigned?xe:be;var R,N,L;if(!this.unsigned){if(this.eq(Je)){if(v.eq(ve)||v.eq(Ie))return Je;else if(v.eq(Je))return ve;else{var q=this.shr(1);R=q.div(v).shl(1);if(R.eq(be)){return v.isNegative()?ve:Ie}else{N=this.sub(v.mul(R));L=R.add(N.div(v));return L}}}else if(v.eq(Je))return this.unsigned?xe:be;if(this.isNegative()){if(v.isNegative())return this.neg().div(v.neg());return this.neg().div(v).neg()}else if(v.isNegative())return this.div(v.neg()).neg();L=be}else{if(!v.unsigned)v=v.toUnsigned();if(v.gt(this))return xe;if(v.gt(this.shru(1)))return Ae;L=xe}N=this;while(N.gte(v)){R=Math.max(1,Math.floor(N.toNumber()/v.toNumber()));var K=Math.ceil(Math.log(R)/Math.LN2),ae=K<=48?1:$(2,K-48),ge=fromNumber(R),He=ge.mul(v);while(He.isNegative()||He.gt(N)){R-=ae;ge=fromNumber(R,this.unsigned);He=ge.mul(v)}if(ge.isZero())ge=ve;L=L.add(ge);N=N.sub(He)}return L};Ve.div=Ve.divide;Ve.modulo=function modulo(v){if(!isLong(v))v=fromValue(v);if(E){var P=(this.unsigned?E["rem_u"]:E["rem_s"])(this.low,this.high,v.low,v.high);return fromBits(P,E["get_high"](),this.unsigned)}return this.sub(this.div(v).mul(v))};Ve.mod=Ve.modulo;Ve.rem=Ve.modulo;Ve.not=function not(){return fromBits(~this.low,~this.high,this.unsigned)};Ve.and=function and(v){if(!isLong(v))v=fromValue(v);return fromBits(this.low&v.low,this.high&v.high,this.unsigned)};Ve.or=function or(v){if(!isLong(v))v=fromValue(v);return fromBits(this.low|v.low,this.high|v.high,this.unsigned)};Ve.xor=function xor(v){if(!isLong(v))v=fromValue(v);return fromBits(this.low^v.low,this.high^v.high,this.unsigned)};Ve.shiftLeft=function shiftLeft(v){if(isLong(v))v=v.toInt();if((v&=63)===0)return this;else if(v<32)return fromBits(this.low<>>32-v,this.unsigned);else return fromBits(0,this.low<>>v|this.high<<32-v,this.high>>v,this.unsigned);else return fromBits(this.high>>v-32,this.high>=0?0:-1,this.unsigned)};Ve.shr=Ve.shiftRight;Ve.shiftRightUnsigned=function shiftRightUnsigned(v){if(isLong(v))v=v.toInt();if((v&=63)===0)return this;if(v<32)return fromBits(this.low>>>v|this.high<<32-v,this.high>>>v,this.unsigned);if(v===32)return fromBits(this.high,0,this.unsigned);return fromBits(this.high>>>v-32,0,this.unsigned)};Ve.shru=Ve.shiftRightUnsigned;Ve.shr_u=Ve.shiftRightUnsigned;Ve.rotateLeft=function rotateLeft(v){var E;if(isLong(v))v=v.toInt();if((v&=63)===0)return this;if(v===32)return fromBits(this.high,this.low,this.unsigned);if(v<32){E=32-v;return fromBits(this.low<>>E,this.high<>>E,this.unsigned)}v-=32;E=32-v;return fromBits(this.high<>>E,this.low<>>E,this.unsigned)};Ve.rotl=Ve.rotateLeft;Ve.rotateRight=function rotateRight(v){var E;if(isLong(v))v=v.toInt();if((v&=63)===0)return this;if(v===32)return fromBits(this.high,this.low,this.unsigned);if(v<32){E=32-v;return fromBits(this.high<>>v,this.low<>>v,this.unsigned)}v-=32;E=32-v;return fromBits(this.low<>>v,this.high<>>v,this.unsigned)};Ve.rotr=Ve.rotateRight;Ve.toSigned=function toSigned(){if(!this.unsigned)return this;return fromBits(this.low,this.high,false)};Ve.toUnsigned=function toUnsigned(){if(this.unsigned)return this;return fromBits(this.low,this.high,true)};Ve.toBytes=function toBytes(v){return v?this.toBytesLE():this.toBytesBE()};Ve.toBytesLE=function toBytesLE(){var v=this.high,E=this.low;return[E&255,E>>>8&255,E>>>16&255,E>>>24,v&255,v>>>8&255,v>>>16&255,v>>>24]};Ve.toBytesBE=function toBytesBE(){var v=this.high,E=this.low;return[v>>>24,v>>>16&255,v>>>8&255,v&255,E>>>24,E>>>16&255,E>>>8&255,E&255]};Long.fromBytes=function fromBytes(v,E,P){return P?Long.fromBytesLE(v,E):Long.fromBytesBE(v,E)};Long.fromBytesLE=function fromBytesLE(v,E){return new Long(v[0]|v[1]<<8|v[2]<<16|v[3]<<24,v[4]|v[5]<<8|v[6]<<16|v[7]<<24,E)};Long.fromBytesBE=function fromBytesBE(v,E){return new Long(v[4]<<24|v[5]<<16|v[6]<<8|v[7],v[0]<<24|v[1]<<16|v[2]<<8|v[3],E)}},4411:function(v,E,P){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.importAssertions=importAssertions;var R=_interopRequireWildcard(P(31988));function _getRequireWildcardCache(v){if(typeof WeakMap!=="function")return null;var E=new WeakMap;var P=new WeakMap;return(_getRequireWildcardCache=function(v){return v?P:E})(v)}function _interopRequireWildcard(v,E){if(!E&&v&&v.__esModule){return v}if(v===null||typeof v!=="object"&&typeof v!=="function"){return{default:v}}var P=_getRequireWildcardCache(E);if(P&&P.has(v)){return P.get(v)}var R={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in v){if(N!=="default"&&Object.prototype.hasOwnProperty.call(v,N)){var L=$?Object.getOwnPropertyDescriptor(v,N):null;if(L&&(L.get||L.set)){Object.defineProperty(R,N,L)}else{R[N]=v[N]}}}R.default=v;if(P){P.set(v,R)}return R}const $="{".charCodeAt(0);const N=" ".charCodeAt(0);const L="assert";const q=1,K=2,ae=4;function importAssertions(v){const E=v.acorn||R;const{tokTypes:P,TokenType:K}=E;return class extends v{constructor(...v){super(...v);this.assertToken=new K(L)}_codeAt(v){return this.input.charCodeAt(v)}_eat(v){if(this.type!==v){this.unexpected()}this.next()}readToken(v){let E=0;for(;E=11){if(this.eatContextual("as")){v.exported=this.parseIdent(true);this.checkExport(E,v.exported.name,this.lastTokStart)}else{v.exported=null}}this.expectContextual("from");if(this.type!==P.string){this.unexpected()}v.source=this.parseExprAtom();if(this.type===this.assertToken||this.type===P._with){this.next();const E=this.parseImportAssertions();if(E){v.assertions=E}}this.semicolon();return this.finishNode(v,"ExportAllDeclaration")}if(this.eat(P._default)){this.checkExport(E,"default",this.lastTokStart);var R;if(this.type===P._function||(R=this.isAsyncFunction())){var $=this.startNode();this.next();if(R){this.next()}v.declaration=this.parseFunction($,q|ae,false,R)}else if(this.type===P._class){var N=this.startNode();v.declaration=this.parseClass(N,"nullableID")}else{v.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(v,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){v.declaration=this.parseStatement(null);if(v.declaration.type==="VariableDeclaration"){this.checkVariableExport(E,v.declaration.declarations)}else{this.checkExport(E,v.declaration.id.name,v.declaration.id.start)}v.specifiers=[];v.source=null}else{v.declaration=null;v.specifiers=this.parseExportSpecifiers(E);if(this.eatContextual("from")){if(this.type!==P.string){this.unexpected()}v.source=this.parseExprAtom();if(this.type===this.assertToken||this.type===P._with){this.next();const E=this.parseImportAssertions();if(E){v.assertions=E}}}else{for(var L=0,K=v.specifiers;L{if(!P.descriptionFileData)return L();const q=$(v,P);if(!q)return L();const K=R.getField(P.descriptionFileData,this.field);if(K===null||typeof K!=="object"){if(N.log)N.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return L()}const ae=Object.prototype.hasOwnProperty.call(K,q)?K[q]:q.startsWith("./")?K[q.slice(2)]:undefined;if(ae===q)return L();if(ae===undefined)return L();if(ae===false){const v={...P,path:false};if(typeof N.yield==="function"){N.yield(v);return L(null,null)}return L(null,v)}const ge={...P,path:P.descriptionFileRoot,request:ae,fullySpecified:false};v.doResolve(E,ge,"aliased from description file "+P.descriptionFilePath+" with mapping '"+q+"' to '"+ae+"'",N,((v,E)=>{if(v)return L(v);if(E===undefined)return L(null,null);L(null,E)}))}))}}},94185:function(v,E,P){"use strict";const R=P(85723);const{PathType:$,getType:N}=P(1287);v.exports=class AliasPlugin{constructor(v,E,P){this.source=v;this.options=Array.isArray(E)?E:[E];this.target=P}apply(v){const E=v.ensureHook(this.target);const getAbsolutePathWithSlashEnding=E=>{const P=N(E);if(P===$.AbsolutePosix||P===$.AbsoluteWin){return v.join(E,"_").slice(0,-1)}return null};const isSubPath=(v,E)=>{const P=getAbsolutePathWithSlashEnding(E);if(!P)return false;return v.startsWith(P)};v.getHook(this.source).tapAsync("AliasPlugin",((P,$,N)=>{const L=P.request||P.path;if(!L)return N();R(this.options,((N,q)=>{let K=false;if(L===N.name||!N.onlyModule&&(P.request?L.startsWith(`${N.name}/`):isSubPath(L,N.name))){const ae=L.slice(N.name.length);const resolveWithAlias=(R,q)=>{if(R===false){const v={...P,path:false};if(typeof $.yield==="function"){$.yield(v);return q(null,null)}return q(null,v)}if(L!==R&&!L.startsWith(R+"/")){K=true;const L=R+ae;const ge={...P,request:L,fullySpecified:false};return v.doResolve(E,ge,"aliased with mapping '"+N.name+"': '"+R+"' to '"+L+"'",$,((v,E)=>{if(v)return q(v);if(E)return q(null,E);return q()}))}return q()};const stoppingCallback=(v,E)=>{if(v)return q(v);if(E)return q(null,E);if(K)return q(null,null);return q()};if(Array.isArray(N.alias)){return R(N.alias,resolveWithAlias,stoppingCallback)}else{return resolveWithAlias(N.alias,stoppingCallback)}}return q()}),N)}))}}},96174:function(v){"use strict";v.exports=class AppendPlugin{constructor(v,E,P){this.source=v;this.appending=E;this.target=P}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("AppendPlugin",((P,R,$)=>{const N={...P,path:P.path+this.appending,relativePath:P.relativePath&&P.relativePath+this.appending};v.doResolve(E,N,this.appending,R,$)}))}}},82755:function(v,E,P){"use strict";const R=P(77282).nextTick;const dirname=v=>{let E=v.length-1;while(E>=0){const P=v.charCodeAt(E);if(P===47||P===92)break;E--}if(E<0)return"";return v.slice(0,E)};const runCallbacks=(v,E,P)=>{if(v.length===1){v[0](E,P);v.length=0;return}let R;for(const $ of v){try{$(E,P)}catch(v){if(!R)R=v}}v.length=0;if(R)throw R};class OperationMergerBackend{constructor(v,E,P){this._provider=v;this._syncProvider=E;this._providerContext=P;this._activeAsyncOperations=new Map;this.provide=this._provider?(E,P,R)=>{if(typeof P==="function"){R=P;P=undefined}if(typeof E!=="string"&&!Buffer.isBuffer(E)&&!(E instanceof URL)&&typeof E!=="number"){R(new TypeError("path must be a string, Buffer, URL or number"));return}if(P){return this._provider.call(this._providerContext,E,P,R)}let $=this._activeAsyncOperations.get(E);if($){$.push(R);return}this._activeAsyncOperations.set(E,$=[R]);v(E,((v,P)=>{this._activeAsyncOperations.delete(E);runCallbacks($,v,P)}))}:null;this.provideSync=this._syncProvider?(v,E)=>this._syncProvider.call(this._providerContext,v,E):null}purge(){}purgeParent(){}}const $=0;const N=1;const L=2;class CacheBackend{constructor(v,E,P,R){this._duration=v;this._provider=E;this._syncProvider=P;this._providerContext=R;this._activeAsyncOperations=new Map;this._data=new Map;this._levels=[];for(let v=0;v<10;v++)this._levels.push(new Set);for(let E=5e3;E{this._activeAsyncOperations.delete($);this._storeResult($,v,E);this._enterAsyncMode();runCallbacks(q,v,E)}))}provideSync(v,E){if(typeof v!=="string"&&!Buffer.isBuffer(v)&&!(v instanceof URL)&&typeof v!=="number"){throw new TypeError("path must be a string")}const P=typeof v!=="string"?v.toString():v;if(E){return this._syncProvider.call(this._providerContext,v,E)}if(this._mode===N){this._runDecays()}let R=this._data.get(P);if(R!==undefined){if(R.err)throw R.err;return R.result}const $=this._activeAsyncOperations.get(P);this._activeAsyncOperations.delete(P);let L;try{L=this._syncProvider.call(this._providerContext,v)}catch(v){this._storeResult(P,v,undefined);this._enterSyncModeWhenIdle();if($){runCallbacks($,v,undefined)}throw v}this._storeResult(P,null,L);this._enterSyncModeWhenIdle();if($){runCallbacks($,null,L)}return L}purge(v){if(!v){if(this._mode!==$){this._data.clear();for(const v of this._levels){v.clear()}this._enterIdleMode()}}else if(typeof v==="string"||Buffer.isBuffer(v)||v instanceof URL||typeof v==="number"){const E=typeof v!=="string"?v.toString():v;for(let[v,P]of this._data){if(v.startsWith(E)){this._data.delete(v);P.level.delete(v)}}if(this._data.size===0){this._enterIdleMode()}}else{for(let[E,P]of this._data){for(const R of v){const v=typeof R!=="string"?R.toString():R;if(E.startsWith(v)){this._data.delete(E);P.level.delete(E);break}}}if(this._data.size===0){this._enterIdleMode()}}}purgeParent(v){if(!v){this.purge()}else if(typeof v==="string"||Buffer.isBuffer(v)||v instanceof URL||typeof v==="number"){const E=typeof v!=="string"?v.toString():v;this.purge(dirname(E))}else{const E=new Set;for(const P of v){const v=typeof P!=="string"?P.toString():P;E.add(dirname(v))}this.purge(E)}}_storeResult(v,E,P){if(this._data.has(v))return;const R=this._levels[this._currentLevel];this._data.set(v,{err:E,result:P,level:R});R.add(v)}_decayLevel(){const v=(this._currentLevel+1)%this._levels.length;const E=this._levels[v];this._currentLevel=v;for(let v of E){this._data.delete(v)}E.clear();if(this._data.size===0){this._enterIdleMode()}else{this._nextDecay+=this._tickInterval}}_runDecays(){while(this._nextDecay<=Date.now()&&this._mode!==$){this._decayLevel()}}_enterAsyncMode(){let v=0;switch(this._mode){case L:return;case $:this._nextDecay=Date.now()+this._tickInterval;v=this._tickInterval;break;case N:this._runDecays();if(this._mode===$)return;v=Math.max(0,this._nextDecay-Date.now());break}this._mode=L;const E=setTimeout((()=>{this._mode=N;this._runDecays()}),v);if(E.unref)E.unref();this._timeout=E}_enterSyncModeWhenIdle(){if(this._mode===$){this._mode=N;this._nextDecay=Date.now()+this._tickInterval}}_enterIdleMode(){this._mode=$;this._nextDecay=undefined;if(this._timeout)clearTimeout(this._timeout)}}const createBackend=(v,E,P,R)=>{if(v>0){return new CacheBackend(v,E,P,R)}return new OperationMergerBackend(E,P,R)};v.exports=class CachedInputFileSystem{constructor(v,E){this.fileSystem=v;this._lstatBackend=createBackend(E,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const P=this._lstatBackend.provide;this.lstat=P;const R=this._lstatBackend.provideSync;this.lstatSync=R;this._statBackend=createBackend(E,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const $=this._statBackend.provide;this.stat=$;const N=this._statBackend.provideSync;this.statSync=N;this._readdirBackend=createBackend(E,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const L=this._readdirBackend.provide;this.readdir=L;const q=this._readdirBackend.provideSync;this.readdirSync=q;this._readFileBackend=createBackend(E,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const K=this._readFileBackend.provide;this.readFile=K;const ae=this._readFileBackend.provideSync;this.readFileSync=ae;this._readJsonBackend=createBackend(E,this.fileSystem.readJson||this.readFile&&((v,E)=>{this.readFile(v,((v,P)=>{if(v)return E(v);if(!P||P.length===0)return E(new Error("No file content"));let R;try{R=JSON.parse(P.toString("utf-8"))}catch(v){return E(v)}E(null,R)}))}),this.fileSystem.readJsonSync||this.readFileSync&&(v=>{const E=this.readFileSync(v);const P=JSON.parse(E.toString("utf-8"));return P}),this.fileSystem);const ge=this._readJsonBackend.provide;this.readJson=ge;const be=this._readJsonBackend.provideSync;this.readJsonSync=be;this._readlinkBackend=createBackend(E,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const xe=this._readlinkBackend.provide;this.readlink=xe;const ve=this._readlinkBackend.provideSync;this.readlinkSync=ve;this._realpathBackend=createBackend(E,this.fileSystem.realpath,this.fileSystem.realpathSync,this.fileSystem);const Ae=this._realpathBackend.provide;this.realpath=Ae;const Ie=this._realpathBackend.provideSync;this.realpathSync=Ie}purge(v){this._statBackend.purge(v);this._lstatBackend.purge(v);this._readdirBackend.purgeParent(v);this._readFileBackend.purge(v);this._readlinkBackend.purge(v);this._readJsonBackend.purge(v);this._realpathBackend.purge(v)}}},21405:function(v,E,P){"use strict";const R=P(70257).basename;v.exports=class CloneBasenamePlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("CloneBasenamePlugin",((P,$,N)=>{const L=P.path;const q=R(L);const K=v.join(L,q);const ae={...P,path:K,relativePath:P.relativePath&&v.join(P.relativePath,q)};v.doResolve(E,ae,"using path: "+K,$,N)}))}}},67616:function(v){"use strict";v.exports=class ConditionalPlugin{constructor(v,E,P,R,$){this.source=v;this.test=E;this.message=P;this.allowAlternatives=R;this.target=$}apply(v){const E=v.ensureHook(this.target);const{test:P,message:R,allowAlternatives:$}=this;const N=Object.keys(P);v.getHook(this.source).tapAsync("ConditionalPlugin",((L,q,K)=>{for(const v of N){if(L[v]!==P[v])return K()}v.doResolve(E,L,R,q,$?K:(v,E)=>{if(v)return K(v);if(E===undefined)return K(null,null);K(null,E)})}))}}},35914:function(v,E,P){"use strict";const R=P(64826);v.exports=class DescriptionFilePlugin{constructor(v,E,P,R){this.source=v;this.filenames=E;this.pathIsFile=P;this.target=R}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("DescriptionFilePlugin",((P,$,N)=>{const L=P.path;if(!L)return N();const q=this.pathIsFile?R.cdUp(L):L;if(!q)return N();R.loadDescriptionFile(v,q,this.filenames,P.descriptionFilePath?{path:P.descriptionFilePath,content:P.descriptionFileData,directory:P.descriptionFileRoot}:undefined,$,((R,K)=>{if(R)return N(R);if(!K){if($.log)$.log(`No description file found in ${q} or above`);return N()}const ae="."+L.slice(K.directory.length).replace(/\\/g,"/");const ge={...P,descriptionFilePath:K.path,descriptionFileData:K.content,descriptionFileRoot:K.directory,relativePath:ae};v.doResolve(E,ge,"using description file: "+K.path+" (relative path: "+ae+")",$,((v,E)=>{if(v)return N(v);if(E===undefined)return N(null,null);N(null,E)}))}))}))}}},64826:function(v,E,P){"use strict";const R=P(85723);function loadDescriptionFile(v,E,P,$,N,L){(function findDescriptionFile(){if($&&$.directory===E){return L(null,$)}R(P,((P,R)=>{const $=v.join(E,P);if(v.fileSystem.readJson){v.fileSystem.readJson($,((v,E)=>{if(v){if(typeof v.code!=="undefined"){if(N.missingDependencies){N.missingDependencies.add($)}return R()}if(N.fileDependencies){N.fileDependencies.add($)}return onJson(v)}if(N.fileDependencies){N.fileDependencies.add($)}onJson(null,E)}))}else{v.fileSystem.readFile($,((v,E)=>{if(v){if(N.missingDependencies){N.missingDependencies.add($)}return R()}if(N.fileDependencies){N.fileDependencies.add($)}let P;if(E){try{P=JSON.parse(E.toString())}catch(v){return onJson(v)}}else{return onJson(new Error("No content in file"))}onJson(null,P)}))}function onJson(v,P){if(v){if(N.log)N.log($+" (directory description file): "+v);else v.message=$+" (directory description file): "+v;return R(v)}R(null,{content:P,directory:E,path:$})}}),((v,P)=>{if(v)return L(v);if(P){return L(null,P)}else{const v=cdUp(E);if(!v){return L()}else{E=v;return findDescriptionFile()}}}))})()}function getField(v,E){if(!v)return undefined;if(Array.isArray(E)){let P=v;for(let v=0;v{const N=v.fileSystem;const L=P.path;if(!L)return $();N.stat(L,((N,q)=>{if(N||!q){if(R.missingDependencies)R.missingDependencies.add(L);if(R.log)R.log(L+" doesn't exist");return $()}if(!q.isDirectory()){if(R.missingDependencies)R.missingDependencies.add(L);if(R.log)R.log(L+" is not a directory");return $()}if(R.fileDependencies)R.fileDependencies.add(L);v.doResolve(E,P,`existing directory ${L}`,R,$)}))}))}}},13037:function(v,E,P){"use strict";const R=P(71017);const $=P(64826);const N=P(85723);const{processExportsField:L}=P(43035);const{parseIdentifier:q}=P(98162);const{checkImportsExportsFieldTarget:K}=P(1287);v.exports=class ExportsFieldPlugin{constructor(v,E,P,R){this.source=v;this.target=R;this.conditionNames=E;this.fieldName=P;this.fieldProcessorCache=new WeakMap}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("ExportsFieldPlugin",((P,ae,ge)=>{if(!P.descriptionFilePath)return ge();if(P.relativePath!=="."||P.request===undefined)return ge();const be=P.query||P.fragment?(P.request==="."?"./":P.request)+P.query+P.fragment:P.request;const xe=$.getField(P.descriptionFileData,this.fieldName);if(!xe)return ge();if(P.directory){return ge(new Error(`Resolving to directories is not possible with the exports field (request was ${be}/)`))}let ve;try{let v=this.fieldProcessorCache.get(P.descriptionFileData);if(v===undefined){v=L(xe);this.fieldProcessorCache.set(P.descriptionFileData,v)}ve=v(be,this.conditionNames)}catch(v){if(ae.log){ae.log(`Exports field in ${P.descriptionFilePath} can't be processed: ${v}`)}return ge(v)}if(ve.length===0){return ge(new Error(`Package path ${be} is not exported from package ${P.descriptionFileRoot} (see exports field in ${P.descriptionFilePath})`))}N(ve,(($,N)=>{const L=q($);if(!L)return N();const[ge,be,xe]=L;const ve=K(ge);if(ve){return N(ve)}const Ae={...P,request:undefined,path:R.join(P.descriptionFileRoot,ge),relativePath:ge,query:be,fragment:xe};v.doResolve(E,Ae,"using exports field: "+$,ae,N)}),((v,E)=>ge(v,E||null)))}))}}},95457:function(v,E,P){"use strict";const R=P(85723);v.exports=class ExtensionAliasPlugin{constructor(v,E,P){this.source=v;this.options=E;this.target=P}apply(v){const E=v.ensureHook(this.target);const{extension:P,alias:$}=this.options;v.getHook(this.source).tapAsync("ExtensionAliasPlugin",((N,L,q)=>{const K=N.request;if(!K||!K.endsWith(P))return q();const ae=typeof $==="string";const resolve=(R,$,q)=>{const ge=`${K.slice(0,-P.length)}${R}`;return v.doResolve(E,{...N,request:ge,fullySpecified:true},`aliased from extension alias with mapping '${P}' to '${R}'`,L,((v,E)=>{if(!ae&&q){if(q!==this.options.alias.length){if(L.log){L.log(`Failed to alias from extension alias with mapping '${P}' to '${R}' for '${ge}': ${v}`)}return $(null,E)}return $(v,E)}else{$(v,E)}}))};const stoppingCallback=(v,E)=>{if(v)return q(v);if(E)return q(null,E);return q(null,null)};if(ae){resolve($,stoppingCallback)}else if($.length>1){R($,resolve,stoppingCallback)}else{resolve($[0],stoppingCallback)}}))}}},34048:function(v){"use strict";v.exports=class FileExistsPlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const E=v.ensureHook(this.target);const P=v.fileSystem;v.getHook(this.source).tapAsync("FileExistsPlugin",((R,$,N)=>{const L=R.path;if(!L)return N();P.stat(L,((P,q)=>{if(P||!q){if($.missingDependencies)$.missingDependencies.add(L);if($.log)$.log(L+" doesn't exist");return N()}if(!q.isFile()){if($.missingDependencies)$.missingDependencies.add(L);if($.log)$.log(L+" is not a file");return N()}if($.fileDependencies)$.fileDependencies.add(L);v.doResolve(E,R,"existing file: "+L,$,N)}))}))}}},15174:function(v,E,P){"use strict";const R=P(71017);const $=P(64826);const N=P(85723);const{processImportsField:L}=P(43035);const{parseIdentifier:q}=P(98162);const{checkImportsExportsFieldTarget:K}=P(1287);const ae=".".charCodeAt(0);v.exports=class ImportsFieldPlugin{constructor(v,E,P,R,$){this.source=v;this.targetFile=R;this.targetPackage=$;this.conditionNames=E;this.fieldName=P;this.fieldProcessorCache=new WeakMap}apply(v){const E=v.ensureHook(this.targetFile);const P=v.ensureHook(this.targetPackage);v.getHook(this.source).tapAsync("ImportsFieldPlugin",((ge,be,xe)=>{if(!ge.descriptionFilePath||ge.request===undefined){return xe()}const ve=ge.request+ge.query+ge.fragment;const Ae=$.getField(ge.descriptionFileData,this.fieldName);if(!Ae)return xe();if(ge.directory){return xe(new Error(`Resolving to directories is not possible with the imports field (request was ${ve}/)`))}let Ie;try{let v=this.fieldProcessorCache.get(ge.descriptionFileData);if(v===undefined){v=L(Ae);this.fieldProcessorCache.set(ge.descriptionFileData,v)}Ie=v(ve,this.conditionNames)}catch(v){if(be.log){be.log(`Imports field in ${ge.descriptionFilePath} can't be processed: ${v}`)}return xe(v)}if(Ie.length===0){return xe(new Error(`Package import ${ve} is not imported from package ${ge.descriptionFileRoot} (see imports field in ${ge.descriptionFilePath})`))}N(Ie,(($,N)=>{const L=q($);if(!L)return N();const[xe,ve,Ae]=L;const Ie=K(xe);if(Ie){return N(Ie)}switch(xe.charCodeAt(0)){case ae:{const P={...ge,request:undefined,path:R.join(ge.descriptionFileRoot,xe),relativePath:xe,query:ve,fragment:Ae};v.doResolve(E,P,"using imports field: "+$,be,N);break}default:{const E={...ge,request:xe,relativePath:xe,fullySpecified:true,query:ve,fragment:Ae};v.doResolve(P,E,"using imports field: "+$,be,N)}}}),((v,E)=>xe(v,E||null)))}))}}},79267:function(v){"use strict";const E="@".charCodeAt(0);v.exports=class JoinRequestPartPlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const P=v.ensureHook(this.target);v.getHook(this.source).tapAsync("JoinRequestPartPlugin",((R,$,N)=>{const L=R.request||"";let q=L.indexOf("/",3);if(q>=0&&L.charCodeAt(2)===E){q=L.indexOf("/",q+1)}let K;let ae;let ge;if(q<0){K=L;ae=".";ge=false}else{K=L.slice(0,q);ae="."+L.slice(q);ge=R.fullySpecified}const be={...R,path:v.join(R.path,K),relativePath:R.relativePath&&v.join(R.relativePath,K),request:ae,fullySpecified:ge};v.doResolve(P,be,null,$,N)}))}}},7796:function(v){"use strict";v.exports=class JoinRequestPlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("JoinRequestPlugin",((P,R,$)=>{const N=P.path;const L=P.request;const q={...P,path:v.join(N,L),relativePath:P.relativePath&&v.join(P.relativePath,L),request:undefined};v.doResolve(E,q,null,R,$)}))}}},65320:function(v){"use strict";v.exports=class LogInfoPlugin{constructor(v){this.source=v}apply(v){const E=this.source;v.getHook(this.source).tapAsync("LogInfoPlugin",((v,P,R)=>{if(!P.log)return R();const $=P.log;const N="["+E+"] ";if(v.path)$(N+"Resolving in directory: "+v.path);if(v.request)$(N+"Resolving request: "+v.request);if(v.module)$(N+"Request is an module request.");if(v.directory)$(N+"Request is a directory request.");if(v.query)$(N+"Resolving request query: "+v.query);if(v.fragment)$(N+"Resolving request fragment: "+v.fragment);if(v.descriptionFilePath)$(N+"Has description data from "+v.descriptionFilePath);if(v.relativePath)$(N+"Relative path from description file is: "+v.relativePath);R()}))}}},65488:function(v,E,P){"use strict";const R=P(71017);const $=P(64826);const N=Symbol("alreadyTriedMainField");v.exports=class MainFieldPlugin{constructor(v,E,P){this.source=v;this.options=E;this.target=P}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("MainFieldPlugin",((P,L,q)=>{if(P.path!==P.descriptionFileRoot||P[N]===P.descriptionFilePath||!P.descriptionFilePath)return q();const K=R.basename(P.descriptionFilePath);let ae=$.getField(P.descriptionFileData,this.options.name);if(!ae||typeof ae!=="string"||ae==="."||ae==="./"){return q()}if(this.options.forceRelative&&!/^\.\.?\//.test(ae))ae="./"+ae;const ge={...P,request:ae,module:false,directory:ae.endsWith("/"),[N]:P.descriptionFilePath};return v.doResolve(E,ge,"use "+ae+" from "+this.options.name+" in "+K,L,q)}))}}},22778:function(v,E,P){"use strict";const R=P(85723);const $=P(70257);v.exports=class ModulesInHierarchicalDirectoriesPlugin{constructor(v,E,P){this.source=v;this.directories=[].concat(E);this.target=P}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("ModulesInHierarchicalDirectoriesPlugin",((P,N,L)=>{const q=v.fileSystem;const K=$(P.path).paths.map((E=>this.directories.map((P=>v.join(E,P))))).reduce(((v,E)=>{v.push.apply(v,E);return v}),[]);R(K,((R,$)=>{q.stat(R,((L,q)=>{if(!L&&q&&q.isDirectory()){const L={...P,path:R,request:"./"+P.request,module:false};const q="looking for modules in "+R;return v.doResolve(E,L,q,N,$)}if(N.log)N.log(R+" doesn't exist or is not a directory");if(N.missingDependencies)N.missingDependencies.add(R);return $()}))}),L)}))}}},8504:function(v){"use strict";v.exports=class ModulesInRootPlugin{constructor(v,E,P){this.source=v;this.path=E;this.target=P}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("ModulesInRootPlugin",((P,R,$)=>{const N={...P,path:this.path,request:"./"+P.request,module:false};v.doResolve(E,N,"looking for modules in "+this.path,R,$)}))}}},81233:function(v){"use strict";v.exports=class NextPlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("NextPlugin",((P,R,$)=>{v.doResolve(E,P,null,R,$)}))}}},44559:function(v){"use strict";v.exports=class ParsePlugin{constructor(v,E,P){this.source=v;this.requestOptions=E;this.target=P}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("ParsePlugin",((P,R,$)=>{const N=v.parse(P.request);const L={...P,...N,...this.requestOptions};if(P.query&&!N.query){L.query=P.query}if(P.fragment&&!N.fragment){L.fragment=P.fragment}if(N&&R.log){if(N.module)R.log("Parsed request is a module");if(N.directory)R.log("Parsed request is a directory")}if(L.request&&!L.query&&L.fragment){const P=L.fragment.endsWith("/");const N={...L,directory:P,request:L.request+(L.directory?"/":"")+(P?L.fragment.slice(0,-1):L.fragment),fragment:""};v.doResolve(E,N,null,R,((P,N)=>{if(P)return $(P);if(N)return $(null,N);v.doResolve(E,L,null,R,$)}));return}v.doResolve(E,L,null,R,$)}))}}},88992:function(v){"use strict";v.exports=class PnpPlugin{constructor(v,E,P,R){this.source=v;this.pnpApi=E;this.target=P;this.alternateTarget=R}apply(v){const E=v.ensureHook(this.target);const P=v.ensureHook(this.alternateTarget);v.getHook(this.source).tapAsync("PnpPlugin",((R,$,N)=>{const L=R.request;if(!L)return N();const q=`${R.path}/`;const K=/^(@[^/]+\/)?[^/]+/.exec(L);if(!K)return N();const ae=K[0];const ge=`.${L.slice(ae.length)}`;let be;let xe;try{be=this.pnpApi.resolveToUnqualified(ae,q,{considerBuiltins:false});if(be===null){v.doResolve(P,R,"issuer is not managed by a pnpapi",$,((v,E)=>{if(v)return N(v);if(E)return N(null,E);return N(null,null)}));return}if($.fileDependencies){xe=this.pnpApi.resolveToUnqualified("pnpapi",q,{considerBuiltins:false})}}catch(v){if(v.code==="MODULE_NOT_FOUND"&&v.pnpCode==="UNDECLARED_DEPENDENCY"){if($.log){$.log(`request is not managed by the pnpapi`);for(const E of v.message.split("\n").filter(Boolean))$.log(` ${E}`)}return N()}return N(v)}if(be===ae)return N();if(xe&&$.fileDependencies){$.fileDependencies.add(xe)}const ve={...R,path:be,request:ge,ignoreSymlinks:true,fullySpecified:R.fullySpecified&&ge!=="."};v.doResolve(E,ve,`resolved by pnp to ${be}`,$,((v,E)=>{if(v)return N(v);if(E)return N(null,E);return N(null,null)}))}))}}},76517:function(v,E,P){"use strict";const{AsyncSeriesBailHook:R,AsyncSeriesHook:$,SyncHook:N}=P(79846);const L=P(96923);const{parseIdentifier:q}=P(98162);const{normalize:K,cachedJoin:ae,getType:ge,PathType:be}=P(1287);function toCamelCase(v){return v.replace(/-([a-z])/g,(v=>v.slice(1).toUpperCase()))}class Resolver{static createStackEntry(v,E){return v.name+": ("+E.path+") "+(E.request||"")+(E.query||"")+(E.fragment||"")+(E.directory?" directory":"")+(E.module?" module":"")}constructor(v,E){this.fileSystem=v;this.options=E;this.hooks={resolveStep:new N(["hook","request"],"resolveStep"),noResolve:new N(["request","error"],"noResolve"),resolve:new R(["request","resolveContext"],"resolve"),result:new $(["result","resolveContext"],"result")}}ensureHook(v){if(typeof v!=="string"){return v}v=toCamelCase(v);if(/^before/.test(v)){return this.ensureHook(v[6].toLowerCase()+v.slice(7)).withOptions({stage:-10})}if(/^after/.test(v)){return this.ensureHook(v[5].toLowerCase()+v.slice(6)).withOptions({stage:10})}const E=this.hooks[v];if(!E){this.hooks[v]=new R(["request","resolveContext"],v);return this.hooks[v]}return E}getHook(v){if(typeof v!=="string"){return v}v=toCamelCase(v);if(/^before/.test(v)){return this.getHook(v[6].toLowerCase()+v.slice(7)).withOptions({stage:-10})}if(/^after/.test(v)){return this.getHook(v[5].toLowerCase()+v.slice(6)).withOptions({stage:10})}const E=this.hooks[v];if(!E){throw new Error(`Hook ${v} doesn't exist`)}return E}resolveSync(v,E,P){let R=undefined;let $=undefined;let N=false;this.resolve(v,E,P,{},((v,E)=>{R=v;$=E;N=true}));if(!N){throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!")}if(R)throw R;if($===undefined)throw new Error("No result");return $}resolve(v,E,P,R,$){if(!v||typeof v!=="object")return $(new Error("context argument is not an object"));if(typeof E!=="string")return $(new Error("path argument is not a string"));if(typeof P!=="string")return $(new Error("request argument is not a string"));if(!R)return $(new Error("resolveContext argument is not set"));const N={context:v,path:E,request:P};let L;let q=false;let K;if(typeof R.yield==="function"){const v=R.yield;L=E=>{v(E);q=true};K=v=>{if(v){L(v)}$(null)}}const ae=`resolve '${P}' in '${E}'`;const finishResolved=v=>$(null,v.path===false?false:`${v.path.replace(/#/g,"\0#")}${v.query?v.query.replace(/#/g,"\0#"):""}${v.fragment||""}`,v);const finishWithoutResolve=v=>{const E=new Error("Can't "+ae);E.details=v.join("\n");this.hooks.noResolve.call(N,E);return $(E)};if(R.log){const v=R.log;const E=[];return this.doResolve(this.hooks.resolve,N,ae,{log:P=>{v(P);E.push(P)},yield:L,fileDependencies:R.fileDependencies,contextDependencies:R.contextDependencies,missingDependencies:R.missingDependencies,stack:R.stack},((v,P)=>{if(v)return $(v);if(q||P&&L){return K(P)}if(P)return finishResolved(P);return finishWithoutResolve(E)}))}else{return this.doResolve(this.hooks.resolve,N,ae,{log:undefined,yield:L,fileDependencies:R.fileDependencies,contextDependencies:R.contextDependencies,missingDependencies:R.missingDependencies,stack:R.stack},((v,E)=>{if(v)return $(v);if(q||E&&L){return K(E)}if(E)return finishResolved(E);const P=[];return this.doResolve(this.hooks.resolve,N,ae,{log:v=>P.push(v),yield:L,stack:R.stack},((v,E)=>{if(v)return $(v);if(q||E&&L){return K(E)}return finishWithoutResolve(P)}))}))}}doResolve(v,E,P,R,$){const N=Resolver.createStackEntry(v,E);let q;if(R.stack){q=new Set(R.stack);if(R.stack.has(N)){const v=new Error("Recursion in resolving\nStack:\n "+Array.from(q).join("\n "));v.recursion=true;if(R.log)R.log("abort resolving because of recursion");return $(v)}q.add(N)}else{q=new Set([N])}this.hooks.resolveStep.call(v,E);if(v.isUsed()){const N=L({log:R.log,yield:R.yield,fileDependencies:R.fileDependencies,contextDependencies:R.contextDependencies,missingDependencies:R.missingDependencies,stack:q},P);return v.callAsync(E,N,((v,E)=>{if(v)return $(v);if(E)return $(null,E);$()}))}else{$()}}parse(v){const E={request:"",query:"",fragment:"",module:false,directory:false,file:false,internal:false};const P=q(v);if(!P)return E;[E.request,E.query,E.fragment]=P;if(E.request.length>0){E.internal=this.isPrivate(v);E.module=this.isModule(E.request);E.directory=this.isDirectory(E.request);if(E.directory){E.request=E.request.slice(0,-1)}}return E}isModule(v){return ge(v)===be.Normal}isPrivate(v){return ge(v)===be.Internal}isDirectory(v){return v.endsWith("/")}join(v,E){return ae(v,E)}normalize(v){return K(v)}}v.exports=Resolver},45718:function(v,E,P){"use strict";const R=P(77282).versions;const $=P(76517);const{getType:N,PathType:L}=P(1287);const q=P(43190);const K=P(57157);const ae=P(94185);const ge=P(96174);const be=P(67616);const xe=P(35914);const ve=P(12075);const Ae=P(13037);const Ie=P(95457);const He=P(34048);const Qe=P(15174);const Je=P(79267);const Ve=P(7796);const Ke=P(65488);const Ye=P(22778);const Xe=P(8504);const Ze=P(81233);const et=P(44559);const tt=P(88992);const nt=P(6915);const st=P(67496);const rt=P(30239);const ot=P(66219);const it=P(74354);const at=P(25327);const ct=P(49040);const lt=P(4303);function processPnpApiOption(v){if(v===undefined&&R.pnp){const v=P(98188).findPnpApi;if(v){return{resolveToUnqualified(E,P,R){const $=v(P);if(!$){return null}return $.resolveToUnqualified(E,P,R)}}}}return v||null}function normalizeAlias(v){return typeof v==="object"&&!Array.isArray(v)&&v!==null?Object.keys(v).map((E=>{const P={name:E,onlyModule:false,alias:v[E]};if(/\$$/.test(E)){P.onlyModule=true;P.name=E.slice(0,-1)}return P})):v||[]}function createOptions(v){const E=new Set(v.mainFields||["main"]);const P=[];for(const v of E){if(typeof v==="string"){P.push({name:[v],forceRelative:true})}else if(Array.isArray(v)){P.push({name:v,forceRelative:true})}else{P.push({name:Array.isArray(v.name)?v.name:[v.name],forceRelative:v.forceRelative})}}return{alias:normalizeAlias(v.alias),fallback:normalizeAlias(v.fallback),aliasFields:new Set(v.aliasFields),cachePredicate:v.cachePredicate||function(){return true},cacheWithContext:typeof v.cacheWithContext!=="undefined"?v.cacheWithContext:true,exportsFields:new Set(v.exportsFields||["exports"]),importsFields:new Set(v.importsFields||["imports"]),conditionNames:new Set(v.conditionNames),descriptionFiles:Array.from(new Set(v.descriptionFiles||["package.json"])),enforceExtension:v.enforceExtension===undefined?v.extensions&&v.extensions.includes("")?true:false:v.enforceExtension,extensions:new Set(v.extensions||[".js",".json",".node"]),extensionAlias:v.extensionAlias?Object.keys(v.extensionAlias).map((E=>({extension:E,alias:v.extensionAlias[E]}))):[],fileSystem:v.useSyncFileSystemCalls?new q(v.fileSystem):v.fileSystem,unsafeCache:v.unsafeCache&&typeof v.unsafeCache!=="object"?{}:v.unsafeCache||false,symlinks:typeof v.symlinks!=="undefined"?v.symlinks:true,resolver:v.resolver,modules:mergeFilteredToArray(Array.isArray(v.modules)?v.modules:v.modules?[v.modules]:["node_modules"],(v=>{const E=N(v);return E===L.Normal||E===L.Relative})),mainFields:P,mainFiles:new Set(v.mainFiles||["index"]),plugins:v.plugins||[],pnpApi:processPnpApiOption(v.pnpApi),roots:new Set(v.roots||undefined),fullySpecified:v.fullySpecified||false,resolveToContext:v.resolveToContext||false,preferRelative:v.preferRelative||false,preferAbsolute:v.preferAbsolute||false,restrictions:new Set(v.restrictions)}}E.createResolver=function(v){const E=createOptions(v);const{alias:P,fallback:R,aliasFields:N,cachePredicate:L,cacheWithContext:q,conditionNames:ut,descriptionFiles:pt,enforceExtension:dt,exportsFields:ft,extensionAlias:ht,importsFields:mt,extensions:gt,fileSystem:yt,fullySpecified:bt,mainFields:xt,mainFiles:kt,modules:vt,plugins:wt,pnpApi:Et,resolveToContext:At,preferRelative:Ct,preferAbsolute:St,symlinks:_t,unsafeCache:Pt,resolver:Mt,restrictions:It,roots:Ot}=E;const Dt=wt.slice();const Rt=Mt?Mt:new $(yt,E);Rt.ensureHook("resolve");Rt.ensureHook("internalResolve");Rt.ensureHook("newInternalResolve");Rt.ensureHook("parsedResolve");Rt.ensureHook("describedResolve");Rt.ensureHook("rawResolve");Rt.ensureHook("normalResolve");Rt.ensureHook("internal");Rt.ensureHook("rawModule");Rt.ensureHook("alternateRawModule");Rt.ensureHook("module");Rt.ensureHook("resolveAsModule");Rt.ensureHook("undescribedResolveInPackage");Rt.ensureHook("resolveInPackage");Rt.ensureHook("resolveInExistingDirectory");Rt.ensureHook("relative");Rt.ensureHook("describedRelative");Rt.ensureHook("directory");Rt.ensureHook("undescribedExistingDirectory");Rt.ensureHook("existingDirectory");Rt.ensureHook("undescribedRawFile");Rt.ensureHook("rawFile");Rt.ensureHook("file");Rt.ensureHook("finalFile");Rt.ensureHook("existingFile");Rt.ensureHook("resolved");Rt.hooks.newInteralResolve=Rt.hooks.newInternalResolve;for(const{source:v,resolveOptions:E}of[{source:"resolve",resolveOptions:{fullySpecified:bt}},{source:"internal-resolve",resolveOptions:{fullySpecified:false}}]){if(Pt){Dt.push(new ct(v,L,Pt,q,`new-${v}`));Dt.push(new et(`new-${v}`,E,"parsed-resolve"))}else{Dt.push(new et(v,E,"parsed-resolve"))}}Dt.push(new xe("parsed-resolve",pt,false,"described-resolve"));Dt.push(new Ze("after-parsed-resolve","described-resolve"));Dt.push(new Ze("described-resolve","raw-resolve"));if(R.length>0){Dt.push(new ae("described-resolve",R,"internal-resolve"))}if(P.length>0){Dt.push(new ae("raw-resolve",P,"internal-resolve"))}N.forEach((v=>{Dt.push(new K("raw-resolve",v,"internal-resolve"))}));ht.forEach((v=>Dt.push(new Ie("raw-resolve",v,"normal-resolve"))));Dt.push(new Ze("raw-resolve","normal-resolve"));if(Ct){Dt.push(new Ve("after-normal-resolve","relative"))}Dt.push(new be("after-normal-resolve",{module:true},"resolve as module",false,"raw-module"));Dt.push(new be("after-normal-resolve",{internal:true},"resolve as internal import",false,"internal"));if(St){Dt.push(new Ve("after-normal-resolve","relative"))}if(Ot.size>0){Dt.push(new rt("after-normal-resolve",Ot,"relative"))}if(!Ct&&!St){Dt.push(new Ve("after-normal-resolve","relative"))}mt.forEach((v=>{Dt.push(new Qe("internal",ut,v,"relative","internal-resolve"))}));ft.forEach((v=>{Dt.push(new ot("raw-module",v,"resolve-as-module"))}));vt.forEach((v=>{if(Array.isArray(v)){if(v.includes("node_modules")&&Et){Dt.push(new Ye("raw-module",v.filter((v=>v!=="node_modules")),"module"));Dt.push(new tt("raw-module",Et,"undescribed-resolve-in-package","alternate-raw-module"));Dt.push(new Ye("alternate-raw-module",["node_modules"],"module"))}else{Dt.push(new Ye("raw-module",v,"module"))}}else{Dt.push(new Xe("raw-module",v,"module"))}}));Dt.push(new Je("module","resolve-as-module"));if(!At){Dt.push(new be("resolve-as-module",{directory:false,request:"."},"single file module",true,"undescribed-raw-file"))}Dt.push(new ve("resolve-as-module","undescribed-resolve-in-package"));Dt.push(new xe("undescribed-resolve-in-package",pt,false,"resolve-in-package"));Dt.push(new Ze("after-undescribed-resolve-in-package","resolve-in-package"));ft.forEach((v=>{Dt.push(new Ae("resolve-in-package",ut,v,"relative"))}));Dt.push(new Ze("resolve-in-package","resolve-in-existing-directory"));Dt.push(new Ve("resolve-in-existing-directory","relative"));Dt.push(new xe("relative",pt,true,"described-relative"));Dt.push(new Ze("after-relative","described-relative"));if(At){Dt.push(new Ze("described-relative","directory"))}else{Dt.push(new be("described-relative",{directory:false},null,true,"raw-file"));Dt.push(new be("described-relative",{fullySpecified:false},"as directory",true,"directory"))}Dt.push(new ve("directory","undescribed-existing-directory"));if(At){Dt.push(new Ze("undescribed-existing-directory","resolved"))}else{Dt.push(new xe("undescribed-existing-directory",pt,false,"existing-directory"));kt.forEach((v=>{Dt.push(new lt("undescribed-existing-directory",v,"undescribed-raw-file"))}));xt.forEach((v=>{Dt.push(new Ke("existing-directory",v,"resolve-in-existing-directory"))}));kt.forEach((v=>{Dt.push(new lt("existing-directory",v,"undescribed-raw-file"))}));Dt.push(new xe("undescribed-raw-file",pt,true,"raw-file"));Dt.push(new Ze("after-undescribed-raw-file","raw-file"));Dt.push(new be("raw-file",{fullySpecified:true},null,false,"file"));if(!dt){Dt.push(new at("raw-file","no extension","file"))}gt.forEach((v=>{Dt.push(new ge("raw-file",v,"file"))}));if(P.length>0)Dt.push(new ae("file",P,"internal-resolve"));N.forEach((v=>{Dt.push(new K("file",v,"internal-resolve"))}));Dt.push(new Ze("file","final-file"));Dt.push(new He("final-file","existing-file"));if(_t)Dt.push(new it("existing-file","existing-file"));Dt.push(new Ze("existing-file","resolved"))}const Tt=Rt.hooks.resolved;if(It.size>0){Dt.push(new nt(Tt,It))}Dt.push(new st(Tt));for(const v of Dt){if(typeof v==="function"){v.call(Rt,Rt)}else if(v){v.apply(Rt)}}return Rt};function mergeFilteredToArray(v,E){const P=[];const R=new Set(v);for(const v of R){if(E(v)){const E=P.length>0?P[P.length-1]:undefined;if(Array.isArray(E)){E.push(v)}else{P.push([v])}}else{P.push(v)}}return P}},6915:function(v){"use strict";const E="/".charCodeAt(0);const P="\\".charCodeAt(0);const isInside=(v,R)=>{if(!v.startsWith(R))return false;if(v.length===R.length)return true;const $=v.charCodeAt(R.length);return $===E||$===P};v.exports=class RestrictionsPlugin{constructor(v,E){this.source=v;this.restrictions=E}apply(v){v.getHook(this.source).tapAsync("RestrictionsPlugin",((v,E,P)=>{if(typeof v.path==="string"){const R=v.path;for(const v of this.restrictions){if(typeof v==="string"){if(!isInside(R,v)){if(E.log){E.log(`${R} is not inside of the restriction ${v}`)}return P(null,null)}}else if(!v.test(R)){if(E.log){E.log(`${R} doesn't match the restriction ${v}`)}return P(null,null)}}}P()}))}}},67496:function(v){"use strict";v.exports=class ResultPlugin{constructor(v){this.source=v}apply(v){this.source.tapAsync("ResultPlugin",((E,P,R)=>{const $={...E};if(P.log)P.log("reporting result "+$.path);v.hooks.result.callAsync($,P,(v=>{if(v)return R(v);if(typeof P.yield==="function"){P.yield($);R(null,null)}else{R(null,$)}}))}))}}},30239:function(v,E,P){"use strict";const R=P(85723);class RootsPlugin{constructor(v,E,P){this.roots=Array.from(E);this.source=v;this.target=P}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("RootsPlugin",((P,$,N)=>{const L=P.request;if(!L)return N();if(!L.startsWith("/"))return N();R(this.roots,((R,N)=>{const q=v.join(R,L.slice(1));const K={...P,path:q,relativePath:P.relativePath&&q};v.doResolve(E,K,`root path ${R}`,$,N)}),N)}))}}v.exports=RootsPlugin},66219:function(v,E,P){"use strict";const R=P(64826);const $="/".charCodeAt(0);v.exports=class SelfReferencePlugin{constructor(v,E,P){this.source=v;this.target=P;this.fieldName=E}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("SelfReferencePlugin",((P,N,L)=>{if(!P.descriptionFilePath)return L();const q=P.request;if(!q)return L();const K=R.getField(P.descriptionFileData,this.fieldName);if(!K)return L();const ae=R.getField(P.descriptionFileData,"name");if(typeof ae!=="string")return L();if(q.startsWith(ae)&&(q.length===ae.length||q.charCodeAt(ae.length)===$)){const R=`.${q.slice(ae.length)}`;const $={...P,request:R,path:P.descriptionFileRoot,relativePath:"."};v.doResolve(E,$,"self reference",N,L)}else{return L()}}))}}},74354:function(v,E,P){"use strict";const R=P(85723);const $=P(70257);const{getType:N,PathType:L}=P(1287);v.exports=class SymlinkPlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const E=v.ensureHook(this.target);const P=v.fileSystem;v.getHook(this.source).tapAsync("SymlinkPlugin",((q,K,ae)=>{if(q.ignoreSymlinks)return ae();const ge=$(q.path);const be=ge.segments;const xe=ge.paths;let ve=false;let Ae=-1;R(xe,((v,E)=>{Ae++;if(K.fileDependencies)K.fileDependencies.add(v);P.readlink(v,((v,P)=>{if(!v&&P){be[Ae]=P;ve=true;const v=N(P.toString());if(v===L.AbsoluteWin||v===L.AbsolutePosix){return E(null,Ae)}}E()}))}),((P,R)=>{if(!ve)return ae();const $=typeof R==="number"?be.slice(0,R+1):be.slice();const N=$.reduceRight(((E,P)=>v.join(E,P)));const L={...q,path:N};v.doResolve(E,L,"resolved symlink to "+N,K,ae)}))}))}}},43190:function(v){"use strict";function SyncAsyncFileSystemDecorator(v){this.fs=v;this.lstat=undefined;this.lstatSync=undefined;const E=v.lstatSync;if(E){this.lstat=(P,R,$)=>{let N;try{N=$?E.call(v,P,R):E.call(v,P)}catch(v){return($||R)(v)}($||R)(null,N)};this.lstatSync=(P,R)=>E.call(v,P,R)}this.stat=(E,P,R)=>{let $;try{$=R?v.statSync(E,P):v.statSync(E)}catch(v){return(R||P)(v)}(R||P)(null,$)};this.statSync=(E,P)=>v.statSync(E,P);this.readdir=(E,P,R)=>{let $;try{$=R?v.readdirSync(E,P):v.readdirSync(E)}catch(v){return(R||P)(v)}(R||P)(null,$)};this.readdirSync=(E,P)=>v.readdirSync(E,P);this.readFile=(E,P,R)=>{let $;try{$=R?v.readFileSync(E,P):v.readFileSync(E)}catch(v){return(R||P)(v)}(R||P)(null,$)};this.readFileSync=(E,P)=>v.readFileSync(E,P);this.readlink=(E,P,R)=>{let $;try{$=R?v.readlinkSync(E,P):v.readlinkSync(E)}catch(v){return(R||P)(v)}(R||P)(null,$)};this.readlinkSync=(E,P)=>v.readlinkSync(E,P);this.readJson=undefined;this.readJsonSync=undefined;const P=v.readJsonSync;if(P){this.readJson=(E,R)=>{let $;try{$=P.call(v,E)}catch(v){return R(v)}R(null,$)};this.readJsonSync=E=>P.call(v,E)}this.realpath=undefined;this.realpathSync=undefined;const R=v.realpathSync;if(R){this.realpath=(E,P,$)=>{let N;try{N=$?R.call(v,E,P):R.call(v,E)}catch(v){return($||P)(v)}($||P)(null,N)};this.realpathSync=(E,P)=>R.call(v,E,P)}}v.exports=SyncAsyncFileSystemDecorator},25327:function(v){"use strict";v.exports=class TryNextPlugin{constructor(v,E,P){this.source=v;this.message=E;this.target=P}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("TryNextPlugin",((P,R,$)=>{v.doResolve(E,P,this.message,R,$)}))}}},49040:function(v){"use strict";function getCacheId(v,E,P){return JSON.stringify({type:v,context:P?E.context:"",path:E.path,query:E.query,fragment:E.fragment,request:E.request})}v.exports=class UnsafeCachePlugin{constructor(v,E,P,R,$){this.source=v;this.filterPredicate=E;this.withContext=R;this.cache=P;this.target=$}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("UnsafeCachePlugin",((P,R,$)=>{if(!this.filterPredicate(P))return $();const N=typeof R.yield==="function";const L=getCacheId(N?"yield":"default",P,this.withContext);const q=this.cache[L];if(q){if(N){const v=R.yield;if(Array.isArray(q)){for(const E of q)v(E)}else{v(q)}return $(null,null)}return $(null,q)}let K;let ae;const ge=[];if(N){K=R.yield;ae=v=>{ge.push(v)}}v.doResolve(E,P,null,ae?{...R,yield:ae}:R,((v,E)=>{if(v)return $(v);if(N){if(E)ge.push(E);for(const v of ge){K(v)}this.cache[L]=ge;return $(null,null)}if(E)return $(null,this.cache[L]=E);$()}))}))}}},4303:function(v){"use strict";v.exports=class UseFilePlugin{constructor(v,E,P){this.source=v;this.filename=E;this.target=P}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("UseFilePlugin",((P,R,$)=>{const N=v.join(P.path,this.filename);const L={...P,path:N,relativePath:P.relativePath&&v.join(P.relativePath,this.filename)};v.doResolve(E,L,"using path: "+N,R,$)}))}}},96923:function(v){"use strict";v.exports=function createInnerContext(v,E){let P=false;let R=undefined;if(v.log){if(E){R=R=>{if(!P){v.log(E);P=true}v.log(" "+R)}}else{R=v.log}}return{log:R,yield:v.yield,fileDependencies:v.fileDependencies,contextDependencies:v.contextDependencies,missingDependencies:v.missingDependencies,stack:v.stack}}},85723:function(v){"use strict";v.exports=function forEachBail(v,E,P){if(v.length===0)return P();let R=0;const next=()=>{let $=undefined;E(v[R++],((E,N)=>{if(E||N!==undefined||R>=v.length){return P(E,N)}if($===false)while(next());$=true}),R);if(!$)$=false;return $};while(next());}},61663:function(v){"use strict";v.exports=function getInnerRequest(v,E){if(typeof E.__innerRequest==="string"&&E.__innerRequest_request===E.request&&E.__innerRequest_relativePath===E.relativePath)return E.__innerRequest;let P;if(E.request){P=E.request;if(/^\.\.?(?:\/|$)/.test(P)&&E.relativePath){P=v.join(E.relativePath,P)}}else{P=E.relativePath}E.__innerRequest_request=E.request;E.__innerRequest_relativePath=E.relativePath;return E.__innerRequest=P}},70257:function(v){"use strict";v.exports=function getPaths(v){if(v==="/")return{paths:["/"],segments:[""]};const E=v.split(/(.*?[\\/]+)/);const P=[v];const R=[E[E.length-1]];let $=E[E.length-1];v=v.substring(0,v.length-$.length-1);for(let N=E.length-2;N>2;N-=2){P.push(v);$=E[N];v=v.substring(0,v.length-$.length)||"/";R.push($.slice(0,-1))}$=E[1];R.push($);P.push($);return{paths:P,segments:R}};v.exports.basename=function basename(v){const E=v.lastIndexOf("/"),P=v.lastIndexOf("\\");const R=E<0?P:P<0?E:E{if(typeof v==="string"){$=R;R=P;P=E;E=v;v=q}if(typeof $!=="function"){$=R}K.resolve(v,E,P,R,$)};const ae=N.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:L});const resolveSync=(v,E,P)=>{if(typeof v==="string"){P=E;E=v;v=q}return ae.resolveSync(v,E,P)};function create(v){const E=N.createResolver({fileSystem:L,...v});return function(v,P,R,$,N){if(typeof v==="string"){N=$;$=R;R=P;P=v;v=q}if(typeof N!=="function"){N=$}E.resolve(v,P,R,$,N)}}function createSync(v){const E=N.createResolver({useSyncFileSystemCalls:true,fileSystem:L,...v});return function(v,P,R){if(typeof v==="string"){R=P;P=v;v=q}return E.resolveSync(v,P,R)}}const mergeExports=(v,E)=>{const P=Object.getOwnPropertyDescriptors(E);Object.defineProperties(v,P);return Object.freeze(v)};v.exports=mergeExports(resolve,{get sync(){return resolveSync},create:mergeExports(create,{get sync(){return createSync}}),ResolverFactory:N,CachedInputFileSystem:$,get CloneBasenamePlugin(){return P(21405)},get LogInfoPlugin(){return P(65320)},get forEachBail(){return P(85723)}})},43035:function(v){"use strict";const E="/".charCodeAt(0);const P=".".charCodeAt(0);const R="#".charCodeAt(0);const $=/\*/g;v.exports.processExportsField=function processExportsField(v){return createFieldProcessor(buildExportsField(v),(v=>v.length===0?".":"./"+v),assertExportsFieldRequest,assertExportTarget)};v.exports.processImportsField=function processImportsField(v){return createFieldProcessor(buildImportsField(v),(v=>"#"+v),assertImportsFieldRequest,assertImportTarget)};function createFieldProcessor(v,E,P,R){return function fieldProcessor($,N){$=P($);const L=findMatch(E($),v);if(L===null)return[];const[q,K,ae,ge]=L;let be=null;if(isConditionalMapping(q)){be=conditionalMapping(q,N);if(be===null)return[]}else{be=q}return directMapping(K,ge,ae,be,N,R)}}function assertExportsFieldRequest(v){if(v.charCodeAt(0)!==P){throw new Error('Request should be relative path and start with "."')}if(v.length===1)return"";if(v.charCodeAt(1)!==E){throw new Error('Request should be relative path and start with "./"')}if(v.charCodeAt(v.length-1)===E){throw new Error("Only requesting file allowed")}return v.slice(2)}function assertImportsFieldRequest(v){if(v.charCodeAt(0)!==R){throw new Error('Request should start with "#"')}if(v.length===1){throw new Error("Request should have at least 2 characters")}if(v.charCodeAt(1)===E){throw new Error('Request should not start with "#/"')}if(v.charCodeAt(v.length-1)===E){throw new Error("Only requesting file allowed")}return v.slice(1)}function assertExportTarget(v,R){if(v.charCodeAt(0)===E||v.charCodeAt(0)===P&&v.charCodeAt(1)!==E){throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(v)}.`)}const $=v.charCodeAt(v.length-1)===E;if($!==R){throw new Error(R?`Expecting folder to folder mapping. ${JSON.stringify(v)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(v)} should not end with "/"`)}}function assertImportTarget(v,P){const R=v.charCodeAt(v.length-1)===E;if(R!==P){throw new Error(P?`Expecting folder to folder mapping. ${JSON.stringify(v)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(v)} should not end with "/"`)}}function patternKeyCompare(v,E){const P=v.indexOf("*");const R=E.indexOf("*");const $=P===-1?v.length:P+1;const N=R===-1?E.length:R+1;if($>N)return-1;if(N>$)return 1;if(P===-1)return 1;if(R===-1)return-1;if(v.length>E.length)return-1;if(E.length>v.length)return 1;return 0}function findMatch(v,E){if(Object.prototype.hasOwnProperty.call(E,v)&&!v.includes("*")&&!v.endsWith("/")){const P=E[v];return[P,"",false,false]}let P="";let R;const $=Object.getOwnPropertyNames(E);for(let E=0;E<$.length;E++){const N=$[E];const L=N.indexOf("*");if(L!==-1&&v.startsWith(N.slice(0,L))){const E=N.slice(L+1);if(v.length>=N.length&&v.endsWith(E)&&patternKeyCompare(P,N)===1&&N.lastIndexOf("*")===L){P=N;R=v.slice(L,v.length-E.length)}}else if(N[N.length-1]==="/"&&v.startsWith(N)&&patternKeyCompare(P,N)===1){P=N;R=v.slice(N.length)}}if(P==="")return null;const N=E[P];const L=P.endsWith("/");const q=P.includes("*");return[N,R,L,q]}function isConditionalMapping(v){return v!==null&&typeof v==="object"&&!Array.isArray(v)}function directMapping(v,E,P,R,$,N){if(R===null)return[];if(typeof R==="string"){return[targetMapping(v,E,P,R,N)]}const L=[];for(const q of R){if(typeof q==="string"){L.push(targetMapping(v,E,P,q,N));continue}const R=conditionalMapping(q,$);if(!R)continue;const K=directMapping(v,E,P,R,$,N);for(const v of K){L.push(v)}}return L}function targetMapping(v,E,P,R,N){if(v===undefined){N(R,false);return R}if(P){N(R,true);return R+v}N(R,false);let L=R;if(E){L=L.replace($,v.replace(/\$/g,"$$"))}return L}function conditionalMapping(v,E){let P=[[v,Object.keys(v),0]];e:while(P.length>0){const[v,R,$]=P[P.length-1];const N=R.length-1;for(let L=$;L{switch(v.length){case 0:return Ie.Empty;case 1:{const E=v.charCodeAt(0);switch(E){case be:return Ie.Relative;case N:return Ie.AbsolutePosix;case $:return Ie.Internal}return Ie.Normal}case 2:{const E=v.charCodeAt(0);switch(E){case be:{const E=v.charCodeAt(1);switch(E){case be:case N:return Ie.Relative}return Ie.Normal}case N:return Ie.AbsolutePosix;case $:return Ie.Internal}const P=v.charCodeAt(1);if(P===xe){if(E>=q&&E<=K||E>=ae&&E<=ge){return Ie.AbsoluteWin}}return Ie.Normal}}const E=v.charCodeAt(0);switch(E){case be:{const E=v.charCodeAt(1);switch(E){case N:return Ie.Relative;case be:{const E=v.charCodeAt(2);if(E===N)return Ie.Relative;return Ie.Normal}}return Ie.Normal}case N:return Ie.AbsolutePosix;case $:return Ie.Internal}const P=v.charCodeAt(1);if(P===xe){const P=v.charCodeAt(2);if((P===L||P===N)&&(E>=q&&E<=K||E>=ae&&E<=ge)){return Ie.AbsoluteWin}}return Ie.Normal};E.getType=getType;const normalize=v=>{switch(getType(v)){case Ie.Empty:return v;case Ie.AbsoluteWin:return Ae(v);case Ie.Relative:{const E=ve(v);return getType(E)===Ie.Relative?E:`./${E}`}}return ve(v)};E.normalize=normalize;const join=(v,E)=>{if(!E)return normalize(v);const P=getType(E);switch(P){case Ie.AbsolutePosix:return ve(E);case Ie.AbsoluteWin:return Ae(E)}switch(getType(v)){case Ie.Normal:case Ie.Relative:case Ie.AbsolutePosix:return ve(`${v}/${E}`);case Ie.AbsoluteWin:return Ae(`${v}\\${E}`)}switch(P){case Ie.Empty:return v;case Ie.Relative:{const E=ve(v);return getType(E)===Ie.Relative?E:`./${E}`}}return ve(v)};E.join=join;const He=new Map;const cachedJoin=(v,E)=>{let P;let R=He.get(v);if(R===undefined){He.set(v,R=new Map)}else{P=R.get(E);if(P!==undefined)return P}P=join(v,E);R.set(E,P);return P};E.cachedJoin=cachedJoin;const checkImportsExportsFieldTarget=v=>{let E=0;let P=v.indexOf("/",1);let R=0;while(P!==-1){const $=v.slice(E,P);switch($){case"..":{R--;if(R<0)return new Error(`Trying to access out of package scope. Requesting ${v}`);break}case".":break;default:R++;break}E=P+1;P=v.indexOf("/",E)}};E.checkImportsExportsFieldTarget=checkImportsExportsFieldTarget},84494:function(v,E,P){"use strict";const R=P(30529);class Definition{constructor(v,E,P,R,$,N){this.type=v;this.name=E;this.node=P;this.parent=R;this.index=$;this.kind=N}}class ParameterDefinition extends Definition{constructor(v,E,P,$){super(R.Parameter,v,E,null,P,null);this.rest=$}}v.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},12836:function(v,E,P){"use strict";const R=P(39491);const $=P(40680);const N=P(48648);const L=P(21621);const q=P(30529);const K=P(18802).Scope;const ae=P(13348).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(v,E){function isHashObject(v){return typeof v==="object"&&v instanceof Object&&!(v instanceof Array)&&!(v instanceof RegExp)}for(const P in E){if(Object.prototype.hasOwnProperty.call(E,P)){const R=E[P];if(isHashObject(R)){if(isHashObject(v[P])){updateDeeply(v[P],R)}else{v[P]=updateDeeply({},R)}}else{v[P]=R}}}return v}function analyze(v,E){const P=updateDeeply(defaultOptions(),E);const L=new $(P);const q=new N(P,L);q.visit(v);R(L.__currentScope===null,"currentScope should be null.");return L}v.exports={version:ae,Reference:L,Variable:q,Scope:K,ScopeManager:$,analyze:analyze}},62999:function(v,E,P){"use strict";const R=P(12205).Syntax;const $=P(41396);function getLast(v){return v[v.length-1]||null}class PatternVisitor extends $.Visitor{static isPattern(v){const E=v.type;return E===R.Identifier||E===R.ObjectPattern||E===R.ArrayPattern||E===R.SpreadElement||E===R.RestElement||E===R.AssignmentPattern}constructor(v,E,P){super(null,v);this.rootPattern=E;this.callback=P;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(v){const E=getLast(this.restElements);this.callback(v,{topLevel:v===this.rootPattern,rest:E!==null&&E!==undefined&&E.argument===v,assignments:this.assignments})}Property(v){if(v.computed){this.rightHandNodes.push(v.key)}this.visit(v.value)}ArrayPattern(v){for(let E=0,P=v.elements.length;E{this.rightHandNodes.push(v)}));this.visit(v.callee)}}v.exports=PatternVisitor},21621:function(v){"use strict";const E=1;const P=2;const R=E|P;class Reference{constructor(v,E,P,R,$,N,L){this.identifier=v;this.from=E;this.tainted=false;this.resolved=null;this.flag=P;if(this.isWrite()){this.writeExpr=R;this.partial=N;this.init=L}this.__maybeImplicitGlobal=$}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=E;Reference.WRITE=P;Reference.RW=R;v.exports=Reference},48648:function(v,E,P){"use strict";const R=P(12205).Syntax;const $=P(41396);const N=P(21621);const L=P(30529);const q=P(62999);const K=P(84494);const ae=P(39491);const ge=K.ParameterDefinition;const be=K.Definition;function traverseIdentifierInPattern(v,E,P,R){const $=new q(v,E,R);$.visit(E);if(P!==null&&P!==undefined){$.rightHandNodes.forEach(P.visit,P)}}class Importer extends $.Visitor{constructor(v,E){super(null,E.options);this.declaration=v;this.referencer=E}visitImport(v,E){this.referencer.visitPattern(v,(v=>{this.referencer.currentScope().__define(v,new be(L.ImportBinding,v,E,this.declaration,null,null))}))}ImportNamespaceSpecifier(v){const E=v.local||v.id;if(E){this.visitImport(E,v)}}ImportDefaultSpecifier(v){const E=v.local||v.id;this.visitImport(E,v)}ImportSpecifier(v){const E=v.local||v.id;if(v.name){this.visitImport(v.name,v)}else{this.visitImport(E,v)}}}class Referencer extends $.Visitor{constructor(v,E){super(null,v);this.options=v;this.scopeManager=E;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(v){while(this.currentScope()&&v===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(v){const E=this.isInnerMethodDefinition;this.isInnerMethodDefinition=v;return E}popInnerMethodDefinition(v){this.isInnerMethodDefinition=v}referencingDefaultValue(v,E,P,R){const $=this.currentScope();E.forEach((E=>{$.__referencing(v,N.WRITE,E.right,P,v!==E.left,R)}))}visitPattern(v,E,P){let R=E;let $=P;if(typeof E==="function"){$=E;R={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,v,R.processRightHandNodes?this:null,$)}visitFunction(v){let E,P;if(v.type===R.FunctionDeclaration){this.currentScope().__define(v.id,new be(L.FunctionName,v.id,v,null,null,null))}if(v.type===R.FunctionExpression&&v.id){this.scopeManager.__nestFunctionExpressionNameScope(v)}this.scopeManager.__nestFunctionScope(v,this.isInnerMethodDefinition);const $=this;function visitPatternCallback(P,R){$.currentScope().__define(P,new ge(P,v,E,R.rest));$.referencingDefaultValue(P,R.assignments,null,true)}for(E=0,P=v.params.length;E
{this.currentScope().__define(E,new ge(E,v,v.params.length,true))}))}if(v.body){if(v.body.type===R.BlockStatement){this.visitChildren(v.body)}else{this.visit(v.body)}}this.close(v)}visitClass(v){if(v.type===R.ClassDeclaration){this.currentScope().__define(v.id,new be(L.ClassName,v.id,v,null,null,null))}this.visit(v.superClass);this.scopeManager.__nestClassScope(v);if(v.id){this.currentScope().__define(v.id,new be(L.ClassName,v.id,v))}this.visit(v.body);this.close(v)}visitProperty(v){let E;if(v.computed){this.visit(v.key)}const P=v.type===R.MethodDefinition;if(P){E=this.pushInnerMethodDefinition(true)}this.visit(v.value);if(P){this.popInnerMethodDefinition(E)}}visitForIn(v){if(v.left.type===R.VariableDeclaration&&v.left.kind!=="var"){this.scopeManager.__nestForScope(v)}if(v.left.type===R.VariableDeclaration){this.visit(v.left);this.visitPattern(v.left.declarations[0].id,(E=>{this.currentScope().__referencing(E,N.WRITE,v.right,null,true,true)}))}else{this.visitPattern(v.left,{processRightHandNodes:true},((E,P)=>{let R=null;if(!this.currentScope().isStrict){R={pattern:E,node:v}}this.referencingDefaultValue(E,P.assignments,R,false);this.currentScope().__referencing(E,N.WRITE,v.right,R,true,false)}))}this.visit(v.right);this.visit(v.body);this.close(v)}visitVariableDeclaration(v,E,P,R){const $=P.declarations[R];const L=$.init;this.visitPattern($.id,{processRightHandNodes:true},((q,K)=>{v.__define(q,new be(E,q,$,P,R,P.kind));this.referencingDefaultValue(q,K.assignments,null,true);if(L){this.currentScope().__referencing(q,N.WRITE,L,null,!K.topLevel,true)}}))}AssignmentExpression(v){if(q.isPattern(v.left)){if(v.operator==="="){this.visitPattern(v.left,{processRightHandNodes:true},((E,P)=>{let R=null;if(!this.currentScope().isStrict){R={pattern:E,node:v}}this.referencingDefaultValue(E,P.assignments,R,false);this.currentScope().__referencing(E,N.WRITE,v.right,R,!P.topLevel,false)}))}else{this.currentScope().__referencing(v.left,N.RW,v.right)}}else{this.visit(v.left)}this.visit(v.right)}CatchClause(v){this.scopeManager.__nestCatchScope(v);this.visitPattern(v.param,{processRightHandNodes:true},((E,P)=>{this.currentScope().__define(E,new be(L.CatchClause,v.param,v,null,null,null));this.referencingDefaultValue(E,P.assignments,null,true)}));this.visit(v.body);this.close(v)}Program(v){this.scopeManager.__nestGlobalScope(v);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(v,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(v)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(v);this.close(v)}Identifier(v){this.currentScope().__referencing(v)}UpdateExpression(v){if(q.isPattern(v.argument)){this.currentScope().__referencing(v.argument,N.RW,null)}else{this.visitChildren(v)}}MemberExpression(v){this.visit(v.object);if(v.computed){this.visit(v.property)}}Property(v){this.visitProperty(v)}MethodDefinition(v){this.visitProperty(v)}BreakStatement(){}ContinueStatement(){}LabeledStatement(v){this.visit(v.body)}ForStatement(v){if(v.init&&v.init.type===R.VariableDeclaration&&v.init.kind!=="var"){this.scopeManager.__nestForScope(v)}this.visitChildren(v);this.close(v)}ClassExpression(v){this.visitClass(v)}ClassDeclaration(v){this.visitClass(v)}CallExpression(v){if(!this.scopeManager.__ignoreEval()&&v.callee.type===R.Identifier&&v.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(v)}BlockStatement(v){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(v)}this.visitChildren(v);this.close(v)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(v){this.visit(v.object);this.scopeManager.__nestWithScope(v);this.visit(v.body);this.close(v)}VariableDeclaration(v){const E=v.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let P=0,R=v.declarations.length;P=5}__get(v){return this.__nodeToScope.get(v)}getDeclaredVariables(v){return this.__declaredVariables.get(v)||[]}acquire(v,E){function predicate(v){if(v.type==="function"&&v.functionExpressionScope){return false}return true}const P=this.__get(v);if(!P||P.length===0){return null}if(P.length===1){return P[0]}if(E){for(let v=P.length-1;v>=0;--v){const E=P[v];if(predicate(E)){return E}}}else{for(let v=0,E=P.length;v=6}}v.exports=ScopeManager},18802:function(v,E,P){"use strict";const R=P(12205).Syntax;const $=P(21621);const N=P(30529);const L=P(84494).Definition;const q=P(39491);function isStrictScope(v,E,P,$){let N;if(v.upper&&v.upper.isStrict){return true}if(P){return true}if(v.type==="class"||v.type==="module"){return true}if(v.type==="block"||v.type==="switch"){return false}if(v.type==="function"){if(E.type===R.ArrowFunctionExpression&&E.body.type!==R.BlockStatement){return false}if(E.type===R.Program){N=E}else{N=E.body}if(!N){return false}}else if(v.type==="global"){N=E}else{return false}if($){for(let v=0,E=N.body.length;v0&&R.every(shouldBeStatically)}__staticCloseRef(v){if(!this.__resolve(v)){this.__delegateToUpperScope(v)}}__dynamicCloseRef(v){let E=this;do{E.through.push(v);E=E.upper}while(E)}__globalCloseRef(v){if(this.__shouldStaticallyCloseForGlobal(v)){this.__staticCloseRef(v)}else{this.__dynamicCloseRef(v)}}__close(v){let E;if(this.__shouldStaticallyClose(v)){E=this.__staticCloseRef}else if(this.type!=="global"){E=this.__dynamicCloseRef}else{E=this.__globalCloseRef}for(let v=0,P=this.__left.length;vv.name.range[0]>=P)))}}class ForScope extends Scope{constructor(v,E,P){super(v,"for",E,P,false)}}class ClassScope extends Scope{constructor(v,E,P){super(v,"class",E,P,false)}}v.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},30529:function(v){"use strict";class Variable{constructor(v,E){this.name=v;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=E}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";v.exports=Variable},41396:function(v,E,P){(function(){"use strict";var v=P(41731);function isNode(v){if(v==null){return false}return typeof v==="object"&&typeof v.type==="string"}function isProperty(E,P){return(E===v.Syntax.ObjectExpression||E===v.Syntax.ObjectPattern)&&P==="properties"}function Visitor(E,P){P=P||{};this.__visitor=E||this;this.__childVisitorKeys=P.childVisitorKeys?Object.assign({},v.VisitorKeys,P.childVisitorKeys):v.VisitorKeys;if(P.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof P.fallback==="function"){this.__fallback=P.fallback}}Visitor.prototype.visitChildren=function(E){var P,R,$,N,L,q,K;if(E==null){return}P=E.type||v.Syntax.Property;R=this.__childVisitorKeys[P];if(!R){if(this.__fallback){R=this.__fallback(E)}else{throw new Error("Unknown node type "+P+".")}}for($=0,N=R.length;$>>1;N=$+P;if(E(v[N])){R=P}else{$=N+1;R-=P+1}}return $}E={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};$={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};N={};L={};q={};R={Break:N,Skip:L,Remove:q};function Reference(v,E){this.parent=v;this.key=E}Reference.prototype.replace=function replace(v){this.parent[this.key]=v};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(v,E,P,R){this.node=v;this.path=E;this.wrap=P;this.ref=R}function Controller(){}Controller.prototype.path=function path(){var v,E,P,R,$,N;function addToPath(v,E){if(Array.isArray(E)){for(P=0,R=E.length;P=0){ge=ve[be];Ae=q[ge];if(!Ae){continue}if(Array.isArray(Ae)){xe=Ae.length;while((xe-=1)>=0){if(!Ae[xe]){continue}if(isProperty(K,ve[be])){$=new Element(Ae[xe],[ge,xe],"Property",null)}else if(isNode(Ae[xe])){$=new Element(Ae[xe],[ge,xe],null,null)}else{continue}P.push($)}}else if(isNode(Ae)){P.push(new Element(Ae,ge,null,null))}}}}};Controller.prototype.replace=function replace(v,E){var P,R,$,K,ae,ge,be,xe,ve,Ae,Ie,He,Qe;function removeElem(v){var E,R,$,N;if(v.ref.remove()){R=v.ref.key;N=v.ref.parent;E=P.length;while(E--){$=P[E];if($.ref&&$.ref.parent===N){if($.ref.key=0){Qe=ve[be];Ae=$[Qe];if(!Ae){continue}if(Array.isArray(Ae)){xe=Ae.length;while((xe-=1)>=0){if(!Ae[xe]){continue}if(isProperty(K,ve[be])){ge=new Element(Ae[xe],[Qe,xe],"Property",new Reference(Ae,xe))}else if(isNode(Ae[xe])){ge=new Element(Ae[xe],[Qe,xe],null,new Reference(Ae,xe))}else{continue}P.push(ge)}}else if(isNode(Ae)){P.push(new Element(Ae,Qe,null,new Reference($,Qe)))}}}return He.root};function traverse(v,E){var P=new Controller;return P.traverse(v,E)}function replace(v,E){var P=new Controller;return P.replace(v,E)}function extendCommentRange(v,E){var P;P=upperBound(E,(function search(E){return E.range[0]>v.range[0]}));v.extendedRange=[v.range[0],v.range[1]];if(P!==E.length){v.extendedRange[1]=E[P].range[0]}P-=1;if(P>=0){v.extendedRange[0]=E[P].range[1]}return v}function attachComments(v,E,P){var $=[],N,L,q,K;if(!v.range){throw new Error("attachComments needs range information")}if(!P.length){if(E.length){for(q=0,L=E.length;qv.range[0]){break}if(E.extendedRange[1]===v.range[0]){if(!v.leadingComments){v.leadingComments=[]}v.leadingComments.push(E);$.splice(K,1)}else{K+=1}}if(K===$.length){return R.Break}if($[K].extendedRange[0]>v.range[1]){return R.Skip}}});K=0;traverse(v,{leave:function(v){var E;while(K<$.length){E=$[K];if(v.range[1]v.range[1]){return R.Skip}}});return v}v.version=P(61752).i8;v.Syntax=E;v.traverse=traverse;v.replace=replace;v.attachComments=attachComments;v.VisitorKeys=$;v.VisitorOption=R;v.Controller=Controller;v.cloneEnvironment=function(){return clone({})};return v})(E)},41731:function(v,E){(function clone(v){"use strict";var E,P,R,$,N,L;function deepCopy(v){var E={},P,R;for(P in v){if(v.hasOwnProperty(P)){R=v[P];if(typeof R==="object"&&R!==null){E[P]=deepCopy(R)}else{E[P]=R}}}return E}function upperBound(v,E){var P,R,$,N;R=v.length;$=0;while(R){P=R>>>1;N=$+P;if(E(v[N])){R=P}else{$=N+1;R-=P+1}}return $}E={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};R={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};$={};N={};L={};P={Break:$,Skip:N,Remove:L};function Reference(v,E){this.parent=v;this.key=E}Reference.prototype.replace=function replace(v){this.parent[this.key]=v};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(v,E,P,R){this.node=v;this.path=E;this.wrap=P;this.ref=R}function Controller(){}Controller.prototype.path=function path(){var v,E,P,R,$,N;function addToPath(v,E){if(Array.isArray(E)){for(P=0,R=E.length;P=0;--P){if(v[P].node===E){return true}}return false}Controller.prototype.traverse=function traverse(v,E){var P,R,L,q,K,ae,ge,be,xe,ve,Ae,Ie;this.__initialize(v,E);Ie={};P=this.__worklist;R=this.__leavelist;P.push(new Element(v,null,null,null));R.push(new Element(null,null,null,null));while(P.length){L=P.pop();if(L===Ie){L=R.pop();ae=this.__execute(E.leave,L);if(this.__state===$||ae===$){return}continue}if(L.node){ae=this.__execute(E.enter,L);if(this.__state===$||ae===$){return}P.push(Ie);R.push(L);if(this.__state===N||ae===N){continue}q=L.node;K=q.type||L.wrap;ve=this.__keys[K];if(!ve){if(this.__fallback){ve=this.__fallback(q)}else{throw new Error("Unknown node type "+K+".")}}be=ve.length;while((be-=1)>=0){ge=ve[be];Ae=q[ge];if(!Ae){continue}if(Array.isArray(Ae)){xe=Ae.length;while((xe-=1)>=0){if(!Ae[xe]){continue}if(candidateExistsInLeaveList(R,Ae[xe])){continue}if(isProperty(K,ve[be])){L=new Element(Ae[xe],[ge,xe],"Property",null)}else if(isNode(Ae[xe])){L=new Element(Ae[xe],[ge,xe],null,null)}else{continue}P.push(L)}}else if(isNode(Ae)){if(candidateExistsInLeaveList(R,Ae)){continue}P.push(new Element(Ae,ge,null,null))}}}}};Controller.prototype.replace=function replace(v,E){var P,R,q,K,ae,ge,be,xe,ve,Ae,Ie,He,Qe;function removeElem(v){var E,R,$,N;if(v.ref.remove()){R=v.ref.key;N=v.ref.parent;E=P.length;while(E--){$=P[E];if($.ref&&$.ref.parent===N){if($.ref.key=0){Qe=ve[be];Ae=q[Qe];if(!Ae){continue}if(Array.isArray(Ae)){xe=Ae.length;while((xe-=1)>=0){if(!Ae[xe]){continue}if(isProperty(K,ve[be])){ge=new Element(Ae[xe],[Qe,xe],"Property",new Reference(Ae,xe))}else if(isNode(Ae[xe])){ge=new Element(Ae[xe],[Qe,xe],null,new Reference(Ae,xe))}else{continue}P.push(ge)}}else if(isNode(Ae)){P.push(new Element(Ae,Qe,null,new Reference(q,Qe)))}}}return He.root};function traverse(v,E){var P=new Controller;return P.traverse(v,E)}function replace(v,E){var P=new Controller;return P.replace(v,E)}function extendCommentRange(v,E){var P;P=upperBound(E,(function search(E){return E.range[0]>v.range[0]}));v.extendedRange=[v.range[0],v.range[1]];if(P!==E.length){v.extendedRange[1]=E[P].range[0]}P-=1;if(P>=0){v.extendedRange[0]=E[P].range[1]}return v}function attachComments(v,E,R){var $=[],N,L,q,K;if(!v.range){throw new Error("attachComments needs range information")}if(!R.length){if(E.length){for(q=0,L=E.length;qv.range[0]){break}if(E.extendedRange[1]===v.range[0]){if(!v.leadingComments){v.leadingComments=[]}v.leadingComments.push(E);$.splice(K,1)}else{K+=1}}if(K===$.length){return P.Break}if($[K].extendedRange[0]>v.range[1]){return P.Skip}}});K=0;traverse(v,{leave:function(v){var E;while(K<$.length){E=$[K];if(v.range[1]v.range[1]){return P.Skip}}});return v}v.Syntax=E;v.traverse=traverse;v.replace=replace;v.attachComments=attachComments;v.VisitorKeys=R;v.VisitorOption=P;v.Controller=Controller;v.cloneEnvironment=function(){return clone({})};return v})(E)},21660:function(v){v.exports=function(v,E){if(typeof v!=="string"){throw new TypeError("Expected a string")}var P=String(v);var R="";var $=E?!!E.extended:false;var N=E?!!E.globstar:false;var L=false;var q=E&&typeof E.flags==="string"?E.flags:"";var K;for(var ae=0,ge=P.length;ae1&&(be==="/"||be===undefined)&&(ve==="/"||ve===undefined);if(Ae){R+="((?:[^/]*(?:/|$))*)";ae++}else{R+="([^/]*)"}}break;default:R+=K}}if(!q||!~q.indexOf("g")){R="^"+R+"$"}return new RegExp(R,q)}},8567:function(v){"use strict";v.exports=clone;var E=Object.getPrototypeOf||function(v){return v.__proto__};function clone(v){if(v===null||typeof v!=="object")return v;if(v instanceof Object)var P={__proto__:E(v)};else var P=Object.create(null);Object.getOwnPropertyNames(v).forEach((function(E){Object.defineProperty(P,E,Object.getOwnPropertyDescriptor(v,E))}));return P}},56450:function(v,E,P){var R=P(57147);var $=P(72164);var N=P(55653);var L=P(8567);var q=P(73837);var K;var ae;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){K=Symbol.for("graceful-fs.queue");ae=Symbol.for("graceful-fs.previous")}else{K="___graceful-fs.queue";ae="___graceful-fs.previous"}function noop(){}function publishQueue(v,E){Object.defineProperty(v,K,{get:function(){return E}})}var ge=noop;if(q.debuglog)ge=q.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))ge=function(){var v=q.format.apply(q,arguments);v="GFS4: "+v.split(/\n/).join("\nGFS4: ");console.error(v)};if(!R[K]){var be=global[K]||[];publishQueue(R,be);R.close=function(v){function close(E,P){return v.call(R,E,(function(v){if(!v){resetQueue()}if(typeof P==="function")P.apply(this,arguments)}))}Object.defineProperty(close,ae,{value:v});return close}(R.close);R.closeSync=function(v){function closeSync(E){v.apply(R,arguments);resetQueue()}Object.defineProperty(closeSync,ae,{value:v});return closeSync}(R.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){ge(R[K]);P(39491).equal(R[K].length,0)}))}}if(!global[K]){publishQueue(global,R[K])}v.exports=patch(L(R));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!R.__patched){v.exports=patch(R);R.__patched=true}function patch(v){$(v);v.gracefulify=patch;v.createReadStream=createReadStream;v.createWriteStream=createWriteStream;var E=v.readFile;v.readFile=readFile;function readFile(v,P,R){if(typeof P==="function")R=P,P=null;return go$readFile(v,P,R);function go$readFile(v,P,R,$){return E(v,P,(function(E){if(E&&(E.code==="EMFILE"||E.code==="ENFILE"))enqueue([go$readFile,[v,P,R],E,$||Date.now(),Date.now()]);else{if(typeof R==="function")R.apply(this,arguments)}}))}}var P=v.writeFile;v.writeFile=writeFile;function writeFile(v,E,R,$){if(typeof R==="function")$=R,R=null;return go$writeFile(v,E,R,$);function go$writeFile(v,E,R,$,N){return P(v,E,R,(function(P){if(P&&(P.code==="EMFILE"||P.code==="ENFILE"))enqueue([go$writeFile,[v,E,R,$],P,N||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var R=v.appendFile;if(R)v.appendFile=appendFile;function appendFile(v,E,P,$){if(typeof P==="function")$=P,P=null;return go$appendFile(v,E,P,$);function go$appendFile(v,E,P,$,N){return R(v,E,P,(function(R){if(R&&(R.code==="EMFILE"||R.code==="ENFILE"))enqueue([go$appendFile,[v,E,P,$],R,N||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var L=v.copyFile;if(L)v.copyFile=copyFile;function copyFile(v,E,P,R){if(typeof P==="function"){R=P;P=0}return go$copyFile(v,E,P,R);function go$copyFile(v,E,P,R,$){return L(v,E,P,(function(N){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([go$copyFile,[v,E,P,R],N,$||Date.now(),Date.now()]);else{if(typeof R==="function")R.apply(this,arguments)}}))}}var q=v.readdir;v.readdir=readdir;var K=/^v[0-5]\./;function readdir(v,E,P){if(typeof E==="function")P=E,E=null;var R=K.test(process.version)?function go$readdir(v,E,P,R){return q(v,fs$readdirCallback(v,E,P,R))}:function go$readdir(v,E,P,R){return q(v,E,fs$readdirCallback(v,E,P,R))};return R(v,E,P);function fs$readdirCallback(v,E,P,$){return function(N,L){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([R,[v,E,P],N,$||Date.now(),Date.now()]);else{if(L&&L.sort)L.sort();if(typeof P==="function")P.call(this,N,L)}}}}if(process.version.substr(0,4)==="v0.8"){var ae=N(v);ReadStream=ae.ReadStream;WriteStream=ae.WriteStream}var ge=v.ReadStream;if(ge){ReadStream.prototype=Object.create(ge.prototype);ReadStream.prototype.open=ReadStream$open}var be=v.WriteStream;if(be){WriteStream.prototype=Object.create(be.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(v,"ReadStream",{get:function(){return ReadStream},set:function(v){ReadStream=v},enumerable:true,configurable:true});Object.defineProperty(v,"WriteStream",{get:function(){return WriteStream},set:function(v){WriteStream=v},enumerable:true,configurable:true});var xe=ReadStream;Object.defineProperty(v,"FileReadStream",{get:function(){return xe},set:function(v){xe=v},enumerable:true,configurable:true});var ve=WriteStream;Object.defineProperty(v,"FileWriteStream",{get:function(){return ve},set:function(v){ve=v},enumerable:true,configurable:true});function ReadStream(v,E){if(this instanceof ReadStream)return ge.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var v=this;open(v.path,v.flags,v.mode,(function(E,P){if(E){if(v.autoClose)v.destroy();v.emit("error",E)}else{v.fd=P;v.emit("open",P);v.read()}}))}function WriteStream(v,E){if(this instanceof WriteStream)return be.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var v=this;open(v.path,v.flags,v.mode,(function(E,P){if(E){v.destroy();v.emit("error",E)}else{v.fd=P;v.emit("open",P)}}))}function createReadStream(E,P){return new v.ReadStream(E,P)}function createWriteStream(E,P){return new v.WriteStream(E,P)}var Ae=v.open;v.open=open;function open(v,E,P,R){if(typeof P==="function")R=P,P=null;return go$open(v,E,P,R);function go$open(v,E,P,R,$){return Ae(v,E,P,(function(N,L){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([go$open,[v,E,P,R],N,$||Date.now(),Date.now()]);else{if(typeof R==="function")R.apply(this,arguments)}}))}}return v}function enqueue(v){ge("ENQUEUE",v[0].name,v[1]);R[K].push(v);retry()}var xe;function resetQueue(){var v=Date.now();for(var E=0;E2){R[K][E][3]=v;R[K][E][4]=v}}retry()}function retry(){clearTimeout(xe);xe=undefined;if(R[K].length===0)return;var v=R[K].shift();var E=v[0];var P=v[1];var $=v[2];var N=v[3];var L=v[4];if(N===undefined){ge("RETRY",E.name,P);E.apply(null,P)}else if(Date.now()-N>=6e4){ge("TIMEOUT",E.name,P);var q=P.pop();if(typeof q==="function")q.call(null,$)}else{var ae=Date.now()-L;var be=Math.max(L-N,1);var ve=Math.min(be*1.2,100);if(ae>=ve){ge("RETRY",E.name,P);E.apply(null,P.concat([N]))}else{R[K].push(v)}}if(xe===undefined){xe=setTimeout(retry,0)}}},55653:function(v,E,P){var R=P(12781).Stream;v.exports=legacy;function legacy(v){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(E,P){if(!(this instanceof ReadStream))return new ReadStream(E,P);R.call(this);var $=this;this.path=E;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;P=P||{};var N=Object.keys(P);for(var L=0,q=N.length;Lthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){$._read()}));return}v.open(this.path,this.flags,this.mode,(function(v,E){if(v){$.emit("error",v);$.readable=false;return}$.fd=E;$.emit("open",E);$._read()}))}function WriteStream(E,P){if(!(this instanceof WriteStream))return new WriteStream(E,P);R.call(this);this.path=E;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;P=P||{};var $=Object.keys(P);for(var N=0,L=$.length;N= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=v.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},72164:function(v,E,P){var R=P(22057);var $=process.cwd;var N=null;var L=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!N)N=$.call(process);return N};try{process.cwd()}catch(v){}if(typeof process.chdir==="function"){var q=process.chdir;process.chdir=function(v){N=null;q.call(process,v)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,q)}v.exports=patch;function patch(v){if(R.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(v)}if(!v.lutimes){patchLutimes(v)}v.chown=chownFix(v.chown);v.fchown=chownFix(v.fchown);v.lchown=chownFix(v.lchown);v.chmod=chmodFix(v.chmod);v.fchmod=chmodFix(v.fchmod);v.lchmod=chmodFix(v.lchmod);v.chownSync=chownFixSync(v.chownSync);v.fchownSync=chownFixSync(v.fchownSync);v.lchownSync=chownFixSync(v.lchownSync);v.chmodSync=chmodFixSync(v.chmodSync);v.fchmodSync=chmodFixSync(v.fchmodSync);v.lchmodSync=chmodFixSync(v.lchmodSync);v.stat=statFix(v.stat);v.fstat=statFix(v.fstat);v.lstat=statFix(v.lstat);v.statSync=statFixSync(v.statSync);v.fstatSync=statFixSync(v.fstatSync);v.lstatSync=statFixSync(v.lstatSync);if(v.chmod&&!v.lchmod){v.lchmod=function(v,E,P){if(P)process.nextTick(P)};v.lchmodSync=function(){}}if(v.chown&&!v.lchown){v.lchown=function(v,E,P,R){if(R)process.nextTick(R)};v.lchownSync=function(){}}if(L==="win32"){v.rename=typeof v.rename!=="function"?v.rename:function(E){function rename(P,R,$){var N=Date.now();var L=0;E(P,R,(function CB(q){if(q&&(q.code==="EACCES"||q.code==="EPERM"||q.code==="EBUSY")&&Date.now()-N<6e4){setTimeout((function(){v.stat(R,(function(v,N){if(v&&v.code==="ENOENT")E(P,R,CB);else $(q)}))}),L);if(L<100)L+=10;return}if($)$(q)}))}if(Object.setPrototypeOf)Object.setPrototypeOf(rename,E);return rename}(v.rename)}v.read=typeof v.read!=="function"?v.read:function(E){function read(P,R,$,N,L,q){var K;if(q&&typeof q==="function"){var ae=0;K=function(ge,be,xe){if(ge&&ge.code==="EAGAIN"&&ae<10){ae++;return E.call(v,P,R,$,N,L,K)}q.apply(this,arguments)}}return E.call(v,P,R,$,N,L,K)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,E);return read}(v.read);v.readSync=typeof v.readSync!=="function"?v.readSync:function(E){return function(P,R,$,N,L){var q=0;while(true){try{return E.call(v,P,R,$,N,L)}catch(v){if(v.code==="EAGAIN"&&q<10){q++;continue}throw v}}}}(v.readSync);function patchLchmod(v){v.lchmod=function(E,P,$){v.open(E,R.O_WRONLY|R.O_SYMLINK,P,(function(E,R){if(E){if($)$(E);return}v.fchmod(R,P,(function(E){v.close(R,(function(v){if($)$(E||v)}))}))}))};v.lchmodSync=function(E,P){var $=v.openSync(E,R.O_WRONLY|R.O_SYMLINK,P);var N=true;var L;try{L=v.fchmodSync($,P);N=false}finally{if(N){try{v.closeSync($)}catch(v){}}else{v.closeSync($)}}return L}}function patchLutimes(v){if(R.hasOwnProperty("O_SYMLINK")&&v.futimes){v.lutimes=function(E,P,$,N){v.open(E,R.O_SYMLINK,(function(E,R){if(E){if(N)N(E);return}v.futimes(R,P,$,(function(E){v.close(R,(function(v){if(N)N(E||v)}))}))}))};v.lutimesSync=function(E,P,$){var N=v.openSync(E,R.O_SYMLINK);var L;var q=true;try{L=v.futimesSync(N,P,$);q=false}finally{if(q){try{v.closeSync(N)}catch(v){}}else{v.closeSync(N)}}return L}}else if(v.futimes){v.lutimes=function(v,E,P,R){if(R)process.nextTick(R)};v.lutimesSync=function(){}}}function chmodFix(E){if(!E)return E;return function(P,R,$){return E.call(v,P,R,(function(v){if(chownErOk(v))v=null;if($)$.apply(this,arguments)}))}}function chmodFixSync(E){if(!E)return E;return function(P,R){try{return E.call(v,P,R)}catch(v){if(!chownErOk(v))throw v}}}function chownFix(E){if(!E)return E;return function(P,R,$,N){return E.call(v,P,R,$,(function(v){if(chownErOk(v))v=null;if(N)N.apply(this,arguments)}))}}function chownFixSync(E){if(!E)return E;return function(P,R,$){try{return E.call(v,P,R,$)}catch(v){if(!chownErOk(v))throw v}}}function statFix(E){if(!E)return E;return function(P,R,$){if(typeof R==="function"){$=R;R=null}function callback(v,E){if(E){if(E.uid<0)E.uid+=4294967296;if(E.gid<0)E.gid+=4294967296}if($)$.apply(this,arguments)}return R?E.call(v,P,R,callback):E.call(v,P,callback)}}function statFixSync(E){if(!E)return E;return function(P,R){var $=R?E.call(v,P,R):E.call(v,P);if($){if($.uid<0)$.uid+=4294967296;if($.gid<0)$.gid+=4294967296}return $}}function chownErOk(v){if(!v)return true;if(v.code==="ENOSYS")return true;var E=!process.getuid||process.getuid()!==0;if(E){if(v.code==="EINVAL"||v.code==="EPERM")return true}return false}}},54650:function(v){"use strict";const hexify=v=>{const E=v.charCodeAt(0).toString(16).toUpperCase();return"0x"+(E.length%2?"0":"")+E};const parseError=(v,E,P)=>{if(!E){return{message:v.message+" while parsing empty string",position:0}}const R=v.message.match(/^Unexpected token (.) .*position\s+(\d+)/i);const $=R?+R[2]:v.message.match(/^Unexpected end of JSON.*/i)?E.length-1:null;const N=R?v.message.replace(/^Unexpected token ./,`Unexpected token ${JSON.stringify(R[1])} (${hexify(R[1])})`):v.message;if($!==null&&$!==undefined){const v=$<=P?0:$-P;const R=$+P>=E.length?E.length:$+P;const L=(v===0?"":"...")+E.slice(v,R)+(R===E.length?"":"...");const q=E===L?"":"near ";return{message:N+` while parsing ${q}${JSON.stringify(L)}`,position:$}}else{return{message:N+` while parsing '${E.slice(0,P*2)}'`,position:0}}};class JSONParseError extends SyntaxError{constructor(v,E,P,R){P=P||20;const $=parseError(v,E,P);super($.message);Object.assign(this,$);this.code="EJSONPARSE";this.systemError=v;Error.captureStackTrace(this,R||this.constructor)}get name(){return this.constructor.name}set name(v){}get[Symbol.toStringTag](){return this.constructor.name}}const E=Symbol.for("indent");const P=Symbol.for("newline");const R=/^\s*[{\[]((?:\r?\n)+)([\s\t]*)/;const $=/^(?:\{\}|\[\])((?:\r?\n)+)?$/;const parseJson=(v,N,L)=>{const q=stripBOM(v);L=L||20;try{const[,v="\n",L=" "]=q.match($)||q.match(R)||[,"",""];const K=JSON.parse(q,N);if(K&&typeof K==="object"){K[P]=v;K[E]=L}return K}catch(E){if(typeof v!=="string"&&!Buffer.isBuffer(v)){const P=Array.isArray(v)&&v.length===0;throw Object.assign(new TypeError(`Cannot parse ${P?"an empty array":String(v)}`),{code:"EJSONPARSE",systemError:E})}throw new JSONParseError(E,q,L,parseJson)}};const stripBOM=v=>String(v).replace(/^\uFEFF/,"");v.exports=parseJson;parseJson.JSONParseError=JSONParseError;parseJson.noExceptions=(v,E)=>{try{return JSON.parse(stripBOM(v),E)}catch(v){}}},95183:function(v,E,P){
/*!
* mime-db
* Copyright(c) 2014 Jonathan Ong
@@ -25,4 +25,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
-var E;var P;var R;var $;var N;var L;var q;var K;var ae;var ge;var be;var xe;var ve;var Ae;var Ie;var He;var Qe;var Je;var Ve;var Ke;var Ye;var Xe;var Ze;(function(E){var P=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(v){E(createExporter(P,createExporter(v)))}))}else if(true&&typeof v.exports==="object"){E(createExporter(P,createExporter(v.exports)))}else{E(createExporter(P))}function createExporter(v,E){if(v!==P){if(typeof Object.create==="function"){Object.defineProperty(v,"__esModule",{value:true})}else{v.__esModule=true}}return function(P,R){return v[P]=E?E(P,R):R}}})((function(v){var et=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,E){v.__proto__=E}||function(v,E){for(var P in E)if(E.hasOwnProperty(P))v[P]=E[P]};E=function(v,E){et(v,E);function __(){this.constructor=v}v.prototype=E===null?Object.create(E):(__.prototype=E.prototype,new __)};P=Object.assign||function(v){for(var E,P=1,R=arguments.length;P=0;q--)if(L=v[q])N=($<3?L(N):$>3?L(E,P,N):L(E,P))||N;return $>3&&N&&Object.defineProperty(E,P,N),N};N=function(v,E){return function(P,R){E(P,R,v)}};L=function(v,E){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(v,E)};q=function(v,E,P,R){function adopt(v){return v instanceof P?v:new P((function(E){E(v)}))}return new(P||(P=Promise))((function(P,$){function fulfilled(v){try{step(R.next(v))}catch(v){$(v)}}function rejected(v){try{step(R["throw"](v))}catch(v){$(v)}}function step(v){v.done?P(v.value):adopt(v.value).then(fulfilled,rejected)}step((R=R.apply(v,E||[])).next())}))};K=function(v,E){var P={label:0,sent:function(){if(N[0]&1)throw N[1];return N[1]},trys:[],ops:[]},R,$,N,L;return L={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(L[Symbol.iterator]=function(){return this}),L;function verb(v){return function(E){return step([v,E])}}function step(L){if(R)throw new TypeError("Generator is already executing.");while(P)try{if(R=1,$&&(N=L[0]&2?$["return"]:L[0]?$["throw"]||((N=$["return"])&&N.call($),0):$.next)&&!(N=N.call($,L[1])).done)return N;if($=0,N)L=[L[0]&2,N.value];switch(L[0]){case 0:case 1:N=L;break;case 4:P.label++;return{value:L[1],done:false};case 5:P.label++;$=L[1];L=[0];continue;case 7:L=P.ops.pop();P.trys.pop();continue;default:if(!(N=P.trys,N=N.length>0&&N[N.length-1])&&(L[0]===6||L[0]===2)){P=0;continue}if(L[0]===3&&(!N||L[1]>N[0]&&L[1]=v.length)v=void 0;return{value:v&&v[R++],done:!v}}};throw new TypeError(E?"Object is not iterable.":"Symbol.iterator is not defined.")};be=function(v,E){var P=typeof Symbol==="function"&&v[Symbol.iterator];if(!P)return v;var R=P.call(v),$,N=[],L;try{while((E===void 0||E-- >0)&&!($=R.next()).done)N.push($.value)}catch(v){L={error:v}}finally{try{if($&&!$.done&&(P=R["return"]))P.call(R)}finally{if(L)throw L.error}}return N};xe=function(){for(var v=[],E=0;E1||resume(v,E)}))}}function resume(v,E){try{step(R[v](E))}catch(v){settle(N[0][3],v)}}function step(v){v.value instanceof Ae?Promise.resolve(v.value.v).then(fulfill,reject):settle(N[0][2],v)}function fulfill(v){resume("next",v)}function reject(v){resume("throw",v)}function settle(v,E){if(v(E),N.shift(),N.length)resume(N[0][0],N[0][1])}};He=function(v){var E,P;return E={},verb("next"),verb("throw",(function(v){throw v})),verb("return"),E[Symbol.iterator]=function(){return this},E;function verb(R,$){E[R]=v[R]?function(E){return(P=!P)?{value:Ae(v[R](E)),done:R==="return"}:$?$(E):E}:$}};Qe=function(v){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E=v[Symbol.asyncIterator],P;return E?E.call(v):(v=typeof ge==="function"?ge(v):v[Symbol.iterator](),P={},verb("next"),verb("throw"),verb("return"),P[Symbol.asyncIterator]=function(){return this},P);function verb(E){P[E]=v[E]&&function(P){return new Promise((function(R,$){P=v[E](P),settle(R,$,P.done,P.value)}))}}function settle(v,E,P,R){Promise.resolve(R).then((function(E){v({value:E,done:P})}),E)}};Je=function(v,E){if(Object.defineProperty){Object.defineProperty(v,"raw",{value:E})}else{v.raw=E}return v};Ve=function(v){if(v&&v.__esModule)return v;var E={};if(v!=null)for(var P in v)if(Object.hasOwnProperty.call(v,P))E[P]=v[P];E["default"]=v;return E};Ke=function(v){return v&&v.__esModule?v:{default:v}};Ye=function(v,E){if(!E.has(v)){throw new TypeError("attempted to get private field on non-instance")}return E.get(v)};Xe=function(v,E,P){if(!E.has(v)){throw new TypeError("attempted to set private field on non-instance")}E.set(v,P);return P};v("__extends",E);v("__assign",P);v("__rest",R);v("__decorate",$);v("__param",N);v("__metadata",L);v("__awaiter",q);v("__generator",K);v("__exportStar",ae);v("__createBinding",Ze);v("__values",ge);v("__read",be);v("__spread",xe);v("__spreadArrays",ve);v("__await",Ae);v("__asyncGenerator",Ie);v("__asyncDelegator",He);v("__asyncValues",Qe);v("__makeTemplateObject",Je);v("__importStar",Ve);v("__importDefault",Ke);v("__classPrivateFieldGet",Ye);v("__classPrivateFieldSet",Xe)}))},41591:function(v,E,P){"use strict";const R=P(36196);const{JAVASCRIPT_MODULE_TYPE_AUTO:$,JAVASCRIPT_MODULE_TYPE_DYNAMIC:N,JAVASCRIPT_MODULE_TYPE_ESM:L}=P(41851);const q=P(65376);const K=P(88379);const ae=P(65235);const ge=P(3643);const be=P(50533);const{toConstantDependency:xe,evaluateToString:ve}=P(24810);const Ae=P(58199);const Ie=P(18629);function getReplacements(v,E){return{__webpack_require__:{expr:q.require,req:[q.require],type:"function",assign:false},__webpack_public_path__:{expr:q.publicPath,req:[q.publicPath],type:"string",assign:true},__webpack_base_uri__:{expr:q.baseURI,req:[q.baseURI],type:"string",assign:true},__webpack_modules__:{expr:q.moduleFactories,req:[q.moduleFactories],type:"object",assign:false},__webpack_chunk_load__:{expr:q.ensureChunk,req:[q.ensureChunk],type:"function",assign:true},__non_webpack_require__:{expr:v?`__WEBPACK_EXTERNAL_createRequire(${E}.url)`:"require",req:null,type:undefined,assign:true},__webpack_nonce__:{expr:q.scriptNonce,req:[q.scriptNonce],type:"string",assign:true},__webpack_hash__:{expr:`${q.getFullHash}()`,req:[q.getFullHash],type:"string",assign:false},__webpack_chunkname__:{expr:q.chunkName,req:[q.chunkName],type:"string",assign:false},__webpack_get_script_filename__:{expr:q.getChunkScriptFilename,req:[q.getChunkScriptFilename],type:"function",assign:true},__webpack_runtime_id__:{expr:q.runtimeId,req:[q.runtimeId],assign:false},"require.onError":{expr:q.uncaughtErrorHandler,req:[q.uncaughtErrorHandler],type:undefined,assign:true},__system_context__:{expr:q.systemContext,req:[q.systemContext],type:"object",assign:false},__webpack_share_scopes__:{expr:q.shareScopeMap,req:[q.shareScopeMap],type:"object",assign:false},__webpack_init_sharing__:{expr:q.initializeSharing,req:[q.initializeSharing],type:"function",assign:true}}}const He="APIPlugin";class APIPlugin{constructor(v={}){this.options=v}apply(v){v.hooks.compilation.tap(He,((v,{normalModuleFactory:E})=>{const{importMetaName:P}=v.outputOptions;const Qe=getReplacements(this.options.module,P);v.dependencyTemplates.set(ae,new ae.Template);v.hooks.runtimeRequirementInTree.for(q.chunkName).tap(He,(E=>{v.addRuntimeModule(E,new Ae(E.name));return true}));v.hooks.runtimeRequirementInTree.for(q.getFullHash).tap(He,((E,P)=>{v.addRuntimeModule(E,new Ie);return true}));const Je=be.getCompilationHooks(v);Je.renderModuleContent.tap(He,((v,E,P)=>{if(E.buildInfo.needCreateRequire){const v=[new R('import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n',R.STAGE_HARMONY_IMPORTS,0,"external module node-commonjs")];P.chunkInitFragments.push(...v)}return v}));const handler=v=>{Object.keys(Qe).forEach((E=>{const P=Qe[E];v.hooks.expression.for(E).tap(He,(R=>{const $=xe(v,P.expr,P.req);if(E==="__non_webpack_require__"&&this.options.module){v.state.module.buildInfo.needCreateRequire=true}return $(R)}));if(P.assign===false){v.hooks.assign.for(E).tap(He,(v=>{const P=new K(`${E} must not be assigned`);P.loc=v.loc;throw P}))}if(P.type){v.hooks.evaluateTypeof.for(E).tap(He,ve(P.type))}}));v.hooks.expression.for("__webpack_layer__").tap(He,(E=>{const P=new ae(JSON.stringify(v.state.module.layer),E.range);P.loc=E.loc;v.state.module.addPresentationalDependency(P);return true}));v.hooks.evaluateIdentifier.for("__webpack_layer__").tap(He,(E=>(v.state.module.layer===null?(new ge).setNull():(new ge).setString(v.state.module.layer)).setRange(E.range)));v.hooks.evaluateTypeof.for("__webpack_layer__").tap(He,(E=>(new ge).setString(v.state.module.layer===null?"object":"string").setRange(E.range)));v.hooks.expression.for("__webpack_module__.id").tap(He,(E=>{v.state.module.buildInfo.moduleConcatenationBailout="__webpack_module__.id";const P=new ae(v.state.module.moduleArgument+".id",E.range,[q.moduleId]);P.loc=E.loc;v.state.module.addPresentationalDependency(P);return true}));v.hooks.expression.for("__webpack_module__").tap(He,(E=>{v.state.module.buildInfo.moduleConcatenationBailout="__webpack_module__";const P=new ae(v.state.module.moduleArgument,E.range,[q.module]);P.loc=E.loc;v.state.module.addPresentationalDependency(P);return true}));v.hooks.evaluateTypeof.for("__webpack_module__").tap(He,ve("object"))};E.hooks.parser.for($).tap(He,handler);E.hooks.parser.for(N).tap(He,handler);E.hooks.parser.for(L).tap(He,handler)}))}}v.exports=APIPlugin},40633:function(v,E,P){"use strict";const R=P(88379);const $=/at ([a-zA-Z0-9_.]*)/;function createMessage(v){return`Abstract method${v?" "+v:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const v=this.stack.split("\n")[3].match($);this.message=v&&v[1]?createMessage(v[1]):createMessage()}class AbstractMethodError extends R{constructor(){super((new Message).message);this.name="AbstractMethodError"}}v.exports=AbstractMethodError},56906:function(v,E,P){"use strict";const R=P(51932);const $=P(57243);class AsyncDependenciesBlock extends R{constructor(v,E,P){super();if(typeof v==="string"){v={name:v}}else if(!v){v={name:undefined}}this.groupOptions=v;this.loc=E;this.request=P;this._stringifiedGroupOptions=undefined}get chunkName(){return this.groupOptions.name}set chunkName(v){if(this.groupOptions.name!==v){this.groupOptions.name=v;this._stringifiedGroupOptions=undefined}}updateHash(v,E){const{chunkGraph:P}=E;if(this._stringifiedGroupOptions===undefined){this._stringifiedGroupOptions=JSON.stringify(this.groupOptions)}const R=P.getBlockChunkGroup(this);v.update(`${this._stringifiedGroupOptions}${R?R.id:""}`);super.updateHash(v,E)}serialize(v){const{write:E}=v;E(this.groupOptions);E(this.loc);E(this.request);super.serialize(v)}deserialize(v){const{read:E}=v;this.groupOptions=E();this.loc=E();this.request=E();super.deserialize(v)}}$(AsyncDependenciesBlock,"webpack/lib/AsyncDependenciesBlock");Object.defineProperty(AsyncDependenciesBlock.prototype,"module",{get(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")},set(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")}});v.exports=AsyncDependenciesBlock},25394:function(v,E,P){"use strict";const R=P(88379);class AsyncDependencyToInitialChunkError extends R{constructor(v,E,P){super(`It's not allowed to load an initial chunk on demand. The chunk name "${v}" is already used by an entrypoint.`);this.name="AsyncDependencyToInitialChunkError";this.module=E;this.loc=P}}v.exports=AsyncDependencyToInitialChunkError},85284:function(v,E,P){"use strict";const R=P(78175);const $=P(48479);const N=P(52773);class AutomaticPrefetchPlugin{apply(v){v.hooks.compilation.tap("AutomaticPrefetchPlugin",((v,{normalModuleFactory:E})=>{v.dependencyFactories.set(N,E)}));let E=null;v.hooks.afterCompile.tap("AutomaticPrefetchPlugin",(v=>{E=[];for(const P of v.modules){if(P instanceof $){E.push({context:P.context,request:P.request})}}}));v.hooks.make.tapAsync("AutomaticPrefetchPlugin",((P,$)=>{if(!E)return $();R.forEach(E,((E,R)=>{P.addModuleChain(E.context||v.context,new N(`!!${E.request}`),R)}),(v=>{E=null;$(v)}))}))}}v.exports=AutomaticPrefetchPlugin},83134:function(v,E,P){"use strict";const{ConcatSource:R}=P(51255);const $=P(18990);const N=P(67678);const L=P(92202);const q=P(29505);const K=q(P(80535),(()=>P(46732)),{name:"Banner Plugin",baseDataPath:"options"});const wrapComment=v=>{if(!v.includes("\n")){return L.toComment(v)}return`/*!\n * ${v.replace(/\*\//g,"* /").split("\n").join("\n * ").replace(/\s+\n/g,"\n").trimEnd()}\n */`};class BannerPlugin{constructor(v){if(typeof v==="string"||typeof v==="function"){v={banner:v}}K(v);this.options=v;const E=v.banner;if(typeof E==="function"){const v=E;this.banner=this.options.raw?v:E=>wrapComment(v(E))}else{const v=this.options.raw?E:wrapComment(E);this.banner=()=>v}}apply(v){const E=this.options;const P=this.banner;const L=N.matchObject.bind(undefined,E);const q=new WeakMap;v.hooks.compilation.tap("BannerPlugin",(v=>{v.hooks.processAssets.tap({name:"BannerPlugin",stage:$.PROCESS_ASSETS_STAGE_ADDITIONS},(()=>{for(const $ of v.chunks){if(E.entryOnly&&!$.canBeInitial()){continue}for(const N of $.files){if(!L(N)){continue}const K={chunk:$,filename:N};const ae=v.getPath(P,K);v.updateAsset(N,(v=>{let P=q.get(v);if(!P||P.comment!==ae){const P=E.footer?new R(v,"\n",ae):new R(ae,"\n",v);q.set(v,{source:P,comment:ae});return P}return P.source}))}}}))}))}}v.exports=BannerPlugin},18292:function(v,E,P){"use strict";const{AsyncParallelHook:R,AsyncSeriesBailHook:$,SyncHook:N}=P(79846);const{makeWebpackError:L,makeWebpackErrorCallback:q}=P(68610);const needCalls=(v,E)=>P=>{if(--v===0){return E(P)}if(P&&v>0){v=0;return E(P)}};class Cache{constructor(){this.hooks={get:new $(["identifier","etag","gotHandlers"]),store:new R(["identifier","etag","data"]),storeBuildDependencies:new R(["dependencies"]),beginIdle:new N([]),endIdle:new R([]),shutdown:new R([])}}get(v,E,P){const R=[];this.hooks.get.callAsync(v,E,R,((v,E)=>{if(v){P(L(v,"Cache.hooks.get"));return}if(E===null){E=undefined}if(R.length>1){const v=needCalls(R.length,(()=>P(null,E)));for(const P of R){P(E,v)}}else if(R.length===1){R[0](E,(()=>P(null,E)))}else{P(null,E)}}))}store(v,E,P,R){this.hooks.store.callAsync(v,E,P,q(R,"Cache.hooks.store"))}storeBuildDependencies(v,E){this.hooks.storeBuildDependencies.callAsync(v,q(E,"Cache.hooks.storeBuildDependencies"))}beginIdle(){this.hooks.beginIdle.call()}endIdle(v){this.hooks.endIdle.callAsync(q(v,"Cache.hooks.endIdle"))}shutdown(v){this.hooks.shutdown.callAsync(q(v,"Cache.hooks.shutdown"))}}Cache.STAGE_MEMORY=-10;Cache.STAGE_DEFAULT=0;Cache.STAGE_DISK=10;Cache.STAGE_NETWORK=20;v.exports=Cache},10613:function(v,E,P){"use strict";const{forEachBail:R}=P(32613);const $=P(78175);const N=P(83498);const L=P(48232);class MultiItemCache{constructor(v){this._items=v;if(v.length===1)return v[0]}get(v){R(this._items,((v,E)=>v.get(E)),v)}getPromise(){const next=v=>this._items[v].getPromise().then((E=>{if(E!==undefined)return E;if(++vE.store(v,P)),E)}storePromise(v){return Promise.all(this._items.map((E=>E.storePromise(v)))).then((()=>{}))}}class ItemCacheFacade{constructor(v,E,P){this._cache=v;this._name=E;this._etag=P}get(v){this._cache.get(this._name,this._etag,v)}getPromise(){return new Promise(((v,E)=>{this._cache.get(this._name,this._etag,((P,R)=>{if(P){E(P)}else{v(R)}}))}))}store(v,E){this._cache.store(this._name,this._etag,v,E)}storePromise(v){return new Promise(((E,P)=>{this._cache.store(this._name,this._etag,v,(v=>{if(v){P(v)}else{E()}}))}))}provide(v,E){this.get(((P,R)=>{if(P)return E(P);if(R!==undefined)return R;v(((v,P)=>{if(v)return E(v);this.store(P,(v=>{if(v)return E(v);E(null,P)}))}))}))}async providePromise(v){const E=await this.getPromise();if(E!==undefined)return E;const P=await v();await this.storePromise(P);return P}}class CacheFacade{constructor(v,E,P){this._cache=v;this._name=E;this._hashFunction=P}getChildCache(v){return new CacheFacade(this._cache,`${this._name}|${v}`,this._hashFunction)}getItemCache(v,E){return new ItemCacheFacade(this._cache,`${this._name}|${v}`,E)}getLazyHashedEtag(v){return N(v,this._hashFunction)}mergeEtags(v,E){return L(v,E)}get(v,E,P){this._cache.get(`${this._name}|${v}`,E,P)}getPromise(v,E){return new Promise(((P,R)=>{this._cache.get(`${this._name}|${v}`,E,((v,E)=>{if(v){R(v)}else{P(E)}}))}))}store(v,E,P,R){this._cache.store(`${this._name}|${v}`,E,P,R)}storePromise(v,E,P){return new Promise(((R,$)=>{this._cache.store(`${this._name}|${v}`,E,P,(v=>{if(v){$(v)}else{R()}}))}))}provide(v,E,P,R){this.get(v,E,(($,N)=>{if($)return R($);if(N!==undefined)return N;P(((P,$)=>{if(P)return R(P);this.store(v,E,$,(v=>{if(v)return R(v);R(null,$)}))}))}))}async providePromise(v,E,P){const R=await this.getPromise(v,E);if(R!==undefined)return R;const $=await P();await this.storePromise(v,E,$);return $}}v.exports=CacheFacade;v.exports.ItemCacheFacade=ItemCacheFacade;v.exports.MultiItemCache=MultiItemCache},17341:function(v,E,P){"use strict";const R=P(88379);const sortModules=v=>v.sort(((v,E)=>{const P=v.identifier();const R=E.identifier();if(PR)return 1;return 0}));const createModulesListMessage=(v,E)=>v.map((v=>{let P=`* ${v.identifier()}`;const R=Array.from(E.getIncomingConnectionsByOriginModule(v).keys()).filter((v=>v));if(R.length>0){P+=`\n Used by ${R.length} module(s), i. e.`;P+=`\n ${R[0].identifier()}`}return P})).join("\n");class CaseSensitiveModulesWarning extends R{constructor(v,E){const P=sortModules(Array.from(v));const R=createModulesListMessage(P,E);super(`There are multiple modules with names that only differ in casing.\nThis can lead to unexpected behavior when compiling on a filesystem with other case-semantic.\nUse equal casing. Compare these module identifiers:\n${R}`);this.name="CaseSensitiveModulesWarning";this.module=P[0]}}v.exports=CaseSensitiveModulesWarning},48611:function(v,E,P){"use strict";const R=P(87022);const $=P(8203);const{intersect:N}=P(95793);const L=P(33244);const q=P(1187);const{compareModulesByIdentifier:K,compareChunkGroupsByIndex:ae,compareModulesById:ge}=P(62737);const{createArrayToSetDeprecationSet:be}=P(46724);const{mergeRuntime:xe}=P(41302);const ve=be("chunk.files");let Ae=1e3;class Chunk{constructor(v,E=true){this.id=null;this.ids=null;this.debugId=Ae++;this.name=v;this.idNameHints=new L;this.preventIntegration=false;this.filenameTemplate=undefined;this.cssFilenameTemplate=undefined;this._groups=new L(undefined,ae);this.runtime=undefined;this.files=E?new ve:new Set;this.auxiliaryFiles=new Set;this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false}get entryModule(){const v=Array.from(R.getChunkGraphForChunk(this,"Chunk.entryModule","DEP_WEBPACK_CHUNK_ENTRY_MODULE").getChunkEntryModulesIterable(this));if(v.length===0){return undefined}else if(v.length===1){return v[0]}else{throw new Error("Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)")}}hasEntryModule(){return R.getChunkGraphForChunk(this,"Chunk.hasEntryModule","DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE").getNumberOfEntryModules(this)>0}addModule(v){const E=R.getChunkGraphForChunk(this,"Chunk.addModule","DEP_WEBPACK_CHUNK_ADD_MODULE");if(E.isModuleInChunk(v,this))return false;E.connectChunkAndModule(this,v);return true}removeModule(v){R.getChunkGraphForChunk(this,"Chunk.removeModule","DEP_WEBPACK_CHUNK_REMOVE_MODULE").disconnectChunkAndModule(this,v)}getNumberOfModules(){return R.getChunkGraphForChunk(this,"Chunk.getNumberOfModules","DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES").getNumberOfChunkModules(this)}get modulesIterable(){const v=R.getChunkGraphForChunk(this,"Chunk.modulesIterable","DEP_WEBPACK_CHUNK_MODULES_ITERABLE");return v.getOrderedChunkModulesIterable(this,K)}compareTo(v){const E=R.getChunkGraphForChunk(this,"Chunk.compareTo","DEP_WEBPACK_CHUNK_COMPARE_TO");return E.compareChunks(this,v)}containsModule(v){return R.getChunkGraphForChunk(this,"Chunk.containsModule","DEP_WEBPACK_CHUNK_CONTAINS_MODULE").isModuleInChunk(v,this)}getModules(){return R.getChunkGraphForChunk(this,"Chunk.getModules","DEP_WEBPACK_CHUNK_GET_MODULES").getChunkModules(this)}remove(){const v=R.getChunkGraphForChunk(this,"Chunk.remove","DEP_WEBPACK_CHUNK_REMOVE");v.disconnectChunk(this);this.disconnectFromGroups()}moveModule(v,E){const P=R.getChunkGraphForChunk(this,"Chunk.moveModule","DEP_WEBPACK_CHUNK_MOVE_MODULE");P.disconnectChunkAndModule(this,v);P.connectChunkAndModule(E,v)}integrate(v){const E=R.getChunkGraphForChunk(this,"Chunk.integrate","DEP_WEBPACK_CHUNK_INTEGRATE");if(E.canChunksBeIntegrated(this,v)){E.integrateChunks(this,v);return true}else{return false}}canBeIntegrated(v){const E=R.getChunkGraphForChunk(this,"Chunk.canBeIntegrated","DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED");return E.canChunksBeIntegrated(this,v)}isEmpty(){const v=R.getChunkGraphForChunk(this,"Chunk.isEmpty","DEP_WEBPACK_CHUNK_IS_EMPTY");return v.getNumberOfChunkModules(this)===0}modulesSize(){const v=R.getChunkGraphForChunk(this,"Chunk.modulesSize","DEP_WEBPACK_CHUNK_MODULES_SIZE");return v.getChunkModulesSize(this)}size(v={}){const E=R.getChunkGraphForChunk(this,"Chunk.size","DEP_WEBPACK_CHUNK_SIZE");return E.getChunkSize(this,v)}integratedSize(v,E){const P=R.getChunkGraphForChunk(this,"Chunk.integratedSize","DEP_WEBPACK_CHUNK_INTEGRATED_SIZE");return P.getIntegratedChunksSize(this,v,E)}getChunkModuleMaps(v){const E=R.getChunkGraphForChunk(this,"Chunk.getChunkModuleMaps","DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS");const P=Object.create(null);const $=Object.create(null);for(const R of this.getAllAsyncChunks()){let N;for(const L of E.getOrderedChunkModulesIterable(R,ge(E))){if(v(L)){if(N===undefined){N=[];P[R.id]=N}const v=E.getModuleId(L);N.push(v);$[v]=E.getRenderedModuleHash(L,undefined)}}}return{id:P,hash:$}}hasModuleInGraph(v,E){const P=R.getChunkGraphForChunk(this,"Chunk.hasModuleInGraph","DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH");return P.hasModuleInGraph(this,v,E)}getChunkMaps(v){const E=Object.create(null);const P=Object.create(null);const R=Object.create(null);for(const $ of this.getAllAsyncChunks()){const N=$.id;E[N]=v?$.hash:$.renderedHash;for(const v of Object.keys($.contentHash)){if(!P[v]){P[v]=Object.create(null)}P[v][N]=$.contentHash[v]}if($.name){R[N]=$.name}}return{hash:E,contentHash:P,name:R}}hasRuntime(){for(const v of this._groups){if(v instanceof $&&v.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const v of this._groups){if(v.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const v of this._groups){if(!v.isInitial())return false}return true}getEntryOptions(){for(const v of this._groups){if(v instanceof $){return v.options}}return undefined}addGroup(v){this._groups.add(v)}removeGroup(v){this._groups.delete(v)}isInGroup(v){return this._groups.has(v)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){this._groups.sort();return this._groups}disconnectFromGroups(){for(const v of this._groups){v.removeChunk(this)}}split(v){for(const E of this._groups){E.insertChunk(v,this);v.addGroup(E)}for(const E of this.idNameHints){v.idNameHints.add(E)}v.runtime=xe(v.runtime,this.runtime)}updateHash(v,E){v.update(`${this.id} ${this.ids?this.ids.join():""} ${this.name||""} `);const P=new q;for(const v of E.getChunkModulesIterable(this)){P.add(E.getModuleHash(v,this.runtime))}P.updateHash(v);const R=E.getChunkEntryModulesWithChunkGroupIterable(this);for(const[P,$]of R){v.update(`entry${E.getModuleId(P)}${$.id}`)}}getAllAsyncChunks(){const v=new Set;const E=new Set;const P=N(Array.from(this.groupsIterable,(v=>new Set(v.chunks))));const R=new Set(this.groupsIterable);for(const E of R){for(const P of E.childrenIterable){if(P instanceof $){R.add(P)}else{v.add(P)}}}for(const R of v){for(const v of R.chunks){if(!P.has(v)){E.add(v)}}for(const E of R.childrenIterable){v.add(E)}}return E}getAllInitialChunks(){const v=new Set;const E=new Set(this.groupsIterable);for(const P of E){if(P.isInitial()){for(const E of P.chunks)v.add(E);for(const v of P.childrenIterable)E.add(v)}}return v}getAllReferencedChunks(){const v=new Set(this.groupsIterable);const E=new Set;for(const P of v){for(const v of P.chunks){E.add(v)}for(const E of P.childrenIterable){v.add(E)}}return E}getAllReferencedAsyncEntrypoints(){const v=new Set(this.groupsIterable);const E=new Set;for(const P of v){for(const v of P.asyncEntrypointsIterable){E.add(v)}for(const E of P.childrenIterable){v.add(E)}}return E}hasAsyncChunks(){const v=new Set;const E=N(Array.from(this.groupsIterable,(v=>new Set(v.chunks))));for(const E of this.groupsIterable){for(const P of E.childrenIterable){v.add(P)}}for(const P of v){for(const v of P.chunks){if(!E.has(v)){return true}}for(const E of P.childrenIterable){v.add(E)}}return false}getChildIdsByOrders(v,E){const P=new Map;for(const v of this.groupsIterable){if(v.chunks[v.chunks.length-1]===this){for(const E of v.childrenIterable){for(const v of Object.keys(E.options)){if(v.endsWith("Order")){const R=v.slice(0,v.length-"Order".length);let $=P.get(R);if($===undefined){$=[];P.set(R,$)}$.push({order:E.options[v],group:E})}}}}}const R=Object.create(null);for(const[$,N]of P){N.sort(((E,P)=>{const R=P.order-E.order;if(R!==0)return R;return E.group.compareTo(v,P.group)}));const P=new Set;for(const R of N){for(const $ of R.group.chunks){if(E&&!E($,v))continue;P.add($.id)}}if(P.size>0){R[$]=Array.from(P)}}return R}getChildrenOfTypeInOrder(v,E){const P=[];for(const v of this.groupsIterable){for(const R of v.childrenIterable){const $=R.options[E];if($===undefined)continue;P.push({order:$,group:v,childGroup:R})}}if(P.length===0)return undefined;P.sort(((E,P)=>{const R=P.order-E.order;if(R!==0)return R;return E.group.compareTo(v,P.group)}));const R=[];let $;for(const{group:v,childGroup:E}of P){if($&&$.onChunks===v.chunks){for(const v of E.chunks){$.chunks.add(v)}}else{R.push($={onChunks:v.chunks,chunks:new Set(E.chunks)})}}return R}getChildIdsByOrdersMap(v,E,P){const R=Object.create(null);const addChildIdsByOrdersToMap=E=>{const $=E.getChildIdsByOrders(v,P);for(const v of Object.keys($)){let P=R[v];if(P===undefined){R[v]=P=Object.create(null)}P[E.id]=$[v]}};if(E){const v=new Set;for(const E of this.groupsIterable){for(const P of E.chunks){v.add(P)}}for(const E of v){addChildIdsByOrdersToMap(E)}}for(const v of this.getAllAsyncChunks()){addChildIdsByOrdersToMap(v)}return R}}v.exports=Chunk},87022:function(v,E,P){"use strict";const R=P(73837);const $=P(8203);const N=P(23116);const{first:L}=P(95793);const q=P(33244);const{compareModulesById:K,compareIterables:ae,compareModulesByIdentifier:ge,concatComparators:be,compareSelect:xe,compareIds:ve}=P(62737);const Ae=P(14485);const Ie=P(64997);const{RuntimeSpecMap:He,RuntimeSpecSet:Qe,runtimeToString:Je,mergeRuntime:Ve,forEachRuntime:Ke}=P(41302);const Ye=new Set;const Xe=BigInt(0);const Ze=ae(ge);class ModuleHashInfo{constructor(v,E){this.hash=v;this.renderedHash=E}}const getArray=v=>Array.from(v);const getModuleRuntimes=v=>{const E=new Qe;for(const P of v){E.add(P.runtime)}return E};const modulesBySourceType=v=>E=>{const P=new Map;for(const R of E){const E=v&&v.get(R)||R.getSourceTypes();for(const v of E){let E=P.get(v);if(E===undefined){E=new q;P.set(v,E)}E.add(R)}}for(const[v,R]of P){if(R.size===E.size){P.set(v,E)}}return P};const et=modulesBySourceType(undefined);const tt=new WeakMap;const createOrderedArrayFunction=v=>{let E=tt.get(v);if(E!==undefined)return E;E=E=>{E.sortWith(v);return Array.from(E)};tt.set(v,E);return E};const getModulesSize=v=>{let E=0;for(const P of v){for(const v of P.getSourceTypes()){E+=P.size(v)}}return E};const getModulesSizes=v=>{let E=Object.create(null);for(const P of v){for(const v of P.getSourceTypes()){E[v]=(E[v]||0)+P.size(v)}}return E};const isAvailableChunk=(v,E)=>{const P=new Set(E.groupsIterable);for(const E of P){if(v.isInGroup(E))continue;if(E.isInitial())return false;for(const v of E.parentsIterable){P.add(v)}}return true};class ChunkGraphModule{constructor(){this.chunks=new q;this.entryInChunks=undefined;this.runtimeInChunks=undefined;this.hashes=undefined;this.id=null;this.runtimeRequirements=undefined;this.graphHashes=undefined;this.graphHashesWithConnections=undefined}}class ChunkGraphChunk{constructor(){this.modules=new q;this.sourceTypesByModule=undefined;this.entryModules=new Map;this.runtimeModules=new q;this.fullHashModules=undefined;this.dependentHashModules=undefined;this.runtimeRequirements=undefined;this.runtimeRequirementsInTree=new Set;this._modulesBySourceType=et}}class ChunkGraph{constructor(v,E="md4"){this._modules=new WeakMap;this._chunks=new WeakMap;this._blockChunkGroups=new WeakMap;this._runtimeIds=new Map;this.moduleGraph=v;this._hashFunction=E;this._getGraphRoots=this._getGraphRoots.bind(this)}_getChunkGraphModule(v){let E=this._modules.get(v);if(E===undefined){E=new ChunkGraphModule;this._modules.set(v,E)}return E}_getChunkGraphChunk(v){let E=this._chunks.get(v);if(E===undefined){E=new ChunkGraphChunk;this._chunks.set(v,E)}return E}_getGraphRoots(v){const{moduleGraph:E}=this;return Array.from(Ie(v,(v=>{const P=new Set;const addDependencies=v=>{for(const R of E.getOutgoingConnections(v)){if(!R.module)continue;const v=R.getActiveState(undefined);if(v===false)continue;if(v===N.TRANSITIVE_ONLY){addDependencies(R.module);continue}P.add(R.module)}};addDependencies(v);return P}))).sort(ge)}connectChunkAndModule(v,E){const P=this._getChunkGraphModule(E);const R=this._getChunkGraphChunk(v);P.chunks.add(v);R.modules.add(E)}disconnectChunkAndModule(v,E){const P=this._getChunkGraphModule(E);const R=this._getChunkGraphChunk(v);R.modules.delete(E);if(R.sourceTypesByModule)R.sourceTypesByModule.delete(E);P.chunks.delete(v)}disconnectChunk(v){const E=this._getChunkGraphChunk(v);for(const P of E.modules){const E=this._getChunkGraphModule(P);E.chunks.delete(v)}E.modules.clear();v.disconnectFromGroups();ChunkGraph.clearChunkGraphForChunk(v)}attachModules(v,E){const P=this._getChunkGraphChunk(v);for(const v of E){P.modules.add(v)}}attachRuntimeModules(v,E){const P=this._getChunkGraphChunk(v);for(const v of E){P.runtimeModules.add(v)}}attachFullHashModules(v,E){const P=this._getChunkGraphChunk(v);if(P.fullHashModules===undefined)P.fullHashModules=new Set;for(const v of E){P.fullHashModules.add(v)}}attachDependentHashModules(v,E){const P=this._getChunkGraphChunk(v);if(P.dependentHashModules===undefined)P.dependentHashModules=new Set;for(const v of E){P.dependentHashModules.add(v)}}replaceModule(v,E){const P=this._getChunkGraphModule(v);const R=this._getChunkGraphModule(E);for(const $ of P.chunks){const P=this._getChunkGraphChunk($);P.modules.delete(v);P.modules.add(E);R.chunks.add($)}P.chunks.clear();if(P.entryInChunks!==undefined){if(R.entryInChunks===undefined){R.entryInChunks=new Set}for(const $ of P.entryInChunks){const P=this._getChunkGraphChunk($);const N=P.entryModules.get(v);const L=new Map;for(const[R,$]of P.entryModules){if(R===v){L.set(E,N)}else{L.set(R,$)}}P.entryModules=L;R.entryInChunks.add($)}P.entryInChunks=undefined}if(P.runtimeInChunks!==undefined){if(R.runtimeInChunks===undefined){R.runtimeInChunks=new Set}for(const $ of P.runtimeInChunks){const P=this._getChunkGraphChunk($);P.runtimeModules.delete(v);P.runtimeModules.add(E);R.runtimeInChunks.add($);if(P.fullHashModules!==undefined&&P.fullHashModules.has(v)){P.fullHashModules.delete(v);P.fullHashModules.add(E)}if(P.dependentHashModules!==undefined&&P.dependentHashModules.has(v)){P.dependentHashModules.delete(v);P.dependentHashModules.add(E)}}P.runtimeInChunks=undefined}}isModuleInChunk(v,E){const P=this._getChunkGraphChunk(E);return P.modules.has(v)}isModuleInChunkGroup(v,E){for(const P of E.chunks){if(this.isModuleInChunk(v,P))return true}return false}isEntryModule(v){const E=this._getChunkGraphModule(v);return E.entryInChunks!==undefined}getModuleChunksIterable(v){const E=this._getChunkGraphModule(v);return E.chunks}getOrderedModuleChunksIterable(v,E){const P=this._getChunkGraphModule(v);P.chunks.sortWith(E);return P.chunks}getModuleChunks(v){const E=this._getChunkGraphModule(v);return E.chunks.getFromCache(getArray)}getNumberOfModuleChunks(v){const E=this._getChunkGraphModule(v);return E.chunks.size}getModuleRuntimes(v){const E=this._getChunkGraphModule(v);return E.chunks.getFromUnorderedCache(getModuleRuntimes)}getNumberOfChunkModules(v){const E=this._getChunkGraphChunk(v);return E.modules.size}getNumberOfChunkFullHashModules(v){const E=this._getChunkGraphChunk(v);return E.fullHashModules===undefined?0:E.fullHashModules.size}getChunkModulesIterable(v){const E=this._getChunkGraphChunk(v);return E.modules}getChunkModulesIterableBySourceType(v,E){const P=this._getChunkGraphChunk(v);const R=P.modules.getFromUnorderedCache(P._modulesBySourceType).get(E);return R}setChunkModuleSourceTypes(v,E,P){const R=this._getChunkGraphChunk(v);if(R.sourceTypesByModule===undefined){R.sourceTypesByModule=new WeakMap}R.sourceTypesByModule.set(E,P);R._modulesBySourceType=modulesBySourceType(R.sourceTypesByModule)}getChunkModuleSourceTypes(v,E){const P=this._getChunkGraphChunk(v);if(P.sourceTypesByModule===undefined){return E.getSourceTypes()}return P.sourceTypesByModule.get(E)||E.getSourceTypes()}getModuleSourceTypes(v){return this._getOverwrittenModuleSourceTypes(v)||v.getSourceTypes()}_getOverwrittenModuleSourceTypes(v){let E=false;let P;for(const R of this.getModuleChunksIterable(v)){const $=this._getChunkGraphChunk(R);if($.sourceTypesByModule===undefined)return;const N=$.sourceTypesByModule.get(v);if(N===undefined)return;if(!P){P=N;continue}else if(!E){for(const v of N){if(!E){if(!P.has(v)){E=true;P=new Set(P);P.add(v)}}else{P.add(v)}}}else{for(const v of N)P.add(v)}}return P}getOrderedChunkModulesIterable(v,E){const P=this._getChunkGraphChunk(v);P.modules.sortWith(E);return P.modules}getOrderedChunkModulesIterableBySourceType(v,E,P){const R=this._getChunkGraphChunk(v);const $=R.modules.getFromUnorderedCache(R._modulesBySourceType).get(E);if($===undefined)return undefined;$.sortWith(P);return $}getChunkModules(v){const E=this._getChunkGraphChunk(v);return E.modules.getFromUnorderedCache(getArray)}getOrderedChunkModules(v,E){const P=this._getChunkGraphChunk(v);const R=createOrderedArrayFunction(E);return P.modules.getFromUnorderedCache(R)}getChunkModuleIdMap(v,E,P=false){const R=Object.create(null);for(const $ of P?v.getAllReferencedChunks():v.getAllAsyncChunks()){let v;for(const P of this.getOrderedChunkModulesIterable($,K(this))){if(E(P)){if(v===undefined){v=[];R[$.id]=v}const E=this.getModuleId(P);v.push(E)}}}return R}getChunkModuleRenderedHashMap(v,E,P=0,R=false){const $=Object.create(null);for(const N of R?v.getAllReferencedChunks():v.getAllAsyncChunks()){let v;for(const R of this.getOrderedChunkModulesIterable(N,K(this))){if(E(R)){if(v===undefined){v=Object.create(null);$[N.id]=v}const E=this.getModuleId(R);const L=this.getRenderedModuleHash(R,N.runtime);v[E]=P?L.slice(0,P):L}}}return $}getChunkConditionMap(v,E){const P=Object.create(null);for(const R of v.getAllReferencedChunks()){P[R.id]=E(R,this)}return P}hasModuleInGraph(v,E,P){const R=new Set(v.groupsIterable);const $=new Set;for(const v of R){for(const R of v.chunks){if(!$.has(R)){$.add(R);if(!P||P(R,this)){for(const v of this.getChunkModulesIterable(R)){if(E(v)){return true}}}}}for(const E of v.childrenIterable){R.add(E)}}return false}compareChunks(v,E){const P=this._getChunkGraphChunk(v);const R=this._getChunkGraphChunk(E);if(P.modules.size>R.modules.size)return-1;if(P.modules.size0||this.getNumberOfEntryModules(E)>0){return false}return true}integrateChunks(v,E){if(v.name&&E.name){if(this.getNumberOfEntryModules(v)>0===this.getNumberOfEntryModules(E)>0){if(v.name.length!==E.name.length){v.name=v.name.length0){v.name=E.name}}else if(E.name){v.name=E.name}for(const P of E.idNameHints){v.idNameHints.add(P)}v.runtime=Ve(v.runtime,E.runtime);for(const P of this.getChunkModules(E)){this.disconnectChunkAndModule(E,P);this.connectChunkAndModule(v,P)}for(const[P,R]of Array.from(this.getChunkEntryModulesWithChunkGroupIterable(E))){this.disconnectChunkAndEntryModule(E,P);this.connectChunkAndEntryModule(v,P,R)}for(const P of E.groupsIterable){P.replaceChunk(E,v);v.addGroup(P);E.removeGroup(P)}ChunkGraph.clearChunkGraphForChunk(E)}upgradeDependentToFullHashModules(v){const E=this._getChunkGraphChunk(v);if(E.dependentHashModules===undefined)return;if(E.fullHashModules===undefined){E.fullHashModules=E.dependentHashModules}else{for(const v of E.dependentHashModules){E.fullHashModules.add(v)}E.dependentHashModules=undefined}}isEntryModuleInChunk(v,E){const P=this._getChunkGraphChunk(E);return P.entryModules.has(v)}connectChunkAndEntryModule(v,E,P){const R=this._getChunkGraphModule(E);const $=this._getChunkGraphChunk(v);if(R.entryInChunks===undefined){R.entryInChunks=new Set}R.entryInChunks.add(v);$.entryModules.set(E,P)}connectChunkAndRuntimeModule(v,E){const P=this._getChunkGraphModule(E);const R=this._getChunkGraphChunk(v);if(P.runtimeInChunks===undefined){P.runtimeInChunks=new Set}P.runtimeInChunks.add(v);R.runtimeModules.add(E)}addFullHashModuleToChunk(v,E){const P=this._getChunkGraphChunk(v);if(P.fullHashModules===undefined)P.fullHashModules=new Set;P.fullHashModules.add(E)}addDependentHashModuleToChunk(v,E){const P=this._getChunkGraphChunk(v);if(P.dependentHashModules===undefined)P.dependentHashModules=new Set;P.dependentHashModules.add(E)}disconnectChunkAndEntryModule(v,E){const P=this._getChunkGraphModule(E);const R=this._getChunkGraphChunk(v);P.entryInChunks.delete(v);if(P.entryInChunks.size===0){P.entryInChunks=undefined}R.entryModules.delete(E)}disconnectChunkAndRuntimeModule(v,E){const P=this._getChunkGraphModule(E);const R=this._getChunkGraphChunk(v);P.runtimeInChunks.delete(v);if(P.runtimeInChunks.size===0){P.runtimeInChunks=undefined}R.runtimeModules.delete(E)}disconnectEntryModule(v){const E=this._getChunkGraphModule(v);for(const P of E.entryInChunks){const E=this._getChunkGraphChunk(P);E.entryModules.delete(v)}E.entryInChunks=undefined}disconnectEntries(v){const E=this._getChunkGraphChunk(v);for(const P of E.entryModules.keys()){const E=this._getChunkGraphModule(P);E.entryInChunks.delete(v);if(E.entryInChunks.size===0){E.entryInChunks=undefined}}E.entryModules.clear()}getNumberOfEntryModules(v){const E=this._getChunkGraphChunk(v);return E.entryModules.size}getNumberOfRuntimeModules(v){const E=this._getChunkGraphChunk(v);return E.runtimeModules.size}getChunkEntryModulesIterable(v){const E=this._getChunkGraphChunk(v);return E.entryModules.keys()}getChunkEntryDependentChunksIterable(v){const E=new Set;for(const P of v.groupsIterable){if(P instanceof $){const R=P.getEntrypointChunk();const $=this._getChunkGraphChunk(R);for(const P of $.entryModules.values()){for(const $ of P.chunks){if($!==v&&$!==R&&!$.hasRuntime()){E.add($)}}}}}return E}hasChunkEntryDependentChunks(v){const E=this._getChunkGraphChunk(v);for(const P of E.entryModules.values()){for(const E of P.chunks){if(E!==v){return true}}}return false}getChunkRuntimeModulesIterable(v){const E=this._getChunkGraphChunk(v);return E.runtimeModules}getChunkRuntimeModulesInOrder(v){const E=this._getChunkGraphChunk(v);const P=Array.from(E.runtimeModules);P.sort(be(xe((v=>v.stage),ve),ge));return P}getChunkFullHashModulesIterable(v){const E=this._getChunkGraphChunk(v);return E.fullHashModules}getChunkFullHashModulesSet(v){const E=this._getChunkGraphChunk(v);return E.fullHashModules}getChunkDependentHashModulesIterable(v){const E=this._getChunkGraphChunk(v);return E.dependentHashModules}getChunkEntryModulesWithChunkGroupIterable(v){const E=this._getChunkGraphChunk(v);return E.entryModules}getBlockChunkGroup(v){return this._blockChunkGroups.get(v)}connectBlockAndChunkGroup(v,E){this._blockChunkGroups.set(v,E);E.addBlock(v)}disconnectChunkGroup(v){for(const E of v.blocksIterable){this._blockChunkGroups.delete(E)}v._blocks.clear()}getModuleId(v){const E=this._getChunkGraphModule(v);return E.id}setModuleId(v,E){const P=this._getChunkGraphModule(v);P.id=E}getRuntimeId(v){return this._runtimeIds.get(v)}setRuntimeId(v,E){this._runtimeIds.set(v,E)}_getModuleHashInfo(v,E,P){if(!E){throw new Error(`Module ${v.identifier()} has no hash info for runtime ${Je(P)} (hashes not set at all)`)}else if(P===undefined){const P=new Set(E.values());if(P.size!==1){throw new Error(`No unique hash info entry for unspecified runtime for ${v.identifier()} (existing runtimes: ${Array.from(E.keys(),(v=>Je(v))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return L(P)}else{const R=E.get(P);if(!R){throw new Error(`Module ${v.identifier()} has no hash info for runtime ${Je(P)} (available runtimes ${Array.from(E.keys(),Je).join(", ")})`)}return R}}hasModuleHashes(v,E){const P=this._getChunkGraphModule(v);const R=P.hashes;return R&&R.has(E)}getModuleHash(v,E){const P=this._getChunkGraphModule(v);const R=P.hashes;return this._getModuleHashInfo(v,R,E).hash}getRenderedModuleHash(v,E){const P=this._getChunkGraphModule(v);const R=P.hashes;return this._getModuleHashInfo(v,R,E).renderedHash}setModuleHashes(v,E,P,R){const $=this._getChunkGraphModule(v);if($.hashes===undefined){$.hashes=new He}$.hashes.set(E,new ModuleHashInfo(P,R))}addModuleRuntimeRequirements(v,E,P,R=true){const $=this._getChunkGraphModule(v);const N=$.runtimeRequirements;if(N===undefined){const v=new He;v.set(E,R?P:new Set(P));$.runtimeRequirements=v;return}N.update(E,(v=>{if(v===undefined){return R?P:new Set(P)}else if(!R||v.size>=P.size){for(const E of P)v.add(E);return v}else{for(const E of v)P.add(E);return P}}))}addChunkRuntimeRequirements(v,E){const P=this._getChunkGraphChunk(v);const R=P.runtimeRequirements;if(R===undefined){P.runtimeRequirements=E}else if(R.size>=E.size){for(const v of E)R.add(v)}else{for(const v of R)E.add(v);P.runtimeRequirements=E}}addTreeRuntimeRequirements(v,E){const P=this._getChunkGraphChunk(v);const R=P.runtimeRequirementsInTree;for(const v of E)R.add(v)}getModuleRuntimeRequirements(v,E){const P=this._getChunkGraphModule(v);const R=P.runtimeRequirements&&P.runtimeRequirements.get(E);return R===undefined?Ye:R}getChunkRuntimeRequirements(v){const E=this._getChunkGraphChunk(v);const P=E.runtimeRequirements;return P===undefined?Ye:P}getModuleGraphHash(v,E,P=true){const R=this._getChunkGraphModule(v);return P?this._getModuleGraphHashWithConnections(R,v,E):this._getModuleGraphHashBigInt(R,v,E).toString(16)}getModuleGraphHashBigInt(v,E,P=true){const R=this._getChunkGraphModule(v);return P?BigInt(`0x${this._getModuleGraphHashWithConnections(R,v,E)}`):this._getModuleGraphHashBigInt(R,v,E)}_getModuleGraphHashBigInt(v,E,P){if(v.graphHashes===undefined){v.graphHashes=new He}const R=v.graphHashes.provide(P,(()=>{const R=Ae(this._hashFunction);R.update(`${v.id}${this.moduleGraph.isAsync(E)}`);const $=this._getOverwrittenModuleSourceTypes(E);if($!==undefined){for(const v of $)R.update(v)}this.moduleGraph.getExportsInfo(E).updateHash(R,P);return BigInt(`0x${R.digest("hex")}`)}));return R}_getModuleGraphHashWithConnections(v,E,P){if(v.graphHashesWithConnections===undefined){v.graphHashesWithConnections=new He}const activeStateToString=v=>{if(v===false)return"F";if(v===true)return"T";if(v===N.TRANSITIVE_ONLY)return"O";throw new Error("Not implemented active state")};const R=E.buildMeta&&E.buildMeta.strictHarmonyModule;return v.graphHashesWithConnections.provide(P,(()=>{const $=this._getModuleGraphHashBigInt(v,E,P).toString(16);const N=this.moduleGraph.getOutgoingConnections(E);const q=new Set;const K=new Map;const processConnection=(v,E)=>{const P=v.module;E+=P.getExportsType(this.moduleGraph,R);if(E==="Tnamespace")q.add(P);else{const v=K.get(E);if(v===undefined){K.set(E,P)}else if(v instanceof Set){v.add(P)}else if(v!==P){K.set(E,new Set([v,P]))}}};if(P===undefined||typeof P==="string"){for(const v of N){const E=v.getActiveState(P);if(E===false)continue;processConnection(v,E===true?"T":"O")}}else{for(const v of N){const E=new Set;let R="";Ke(P,(P=>{const $=v.getActiveState(P);E.add($);R+=activeStateToString($)+P}),true);if(E.size===1){const v=L(E);if(v===false)continue;R=activeStateToString(v)}processConnection(v,R)}}if(q.size===0&&K.size===0)return $;const ae=K.size>1?Array.from(K).sort((([v],[E])=>v{ge.update(this._getModuleGraphHashBigInt(this._getChunkGraphModule(v),v,P).toString(16))};const addModulesToHash=v=>{let E=Xe;for(const R of v){E=E^this._getModuleGraphHashBigInt(this._getChunkGraphModule(R),R,P)}ge.update(E.toString(16))};if(q.size===1)addModuleToHash(q.values().next().value);else if(q.size>1)addModulesToHash(q);for(const[v,E]of ae){ge.update(v);if(E instanceof Set){addModulesToHash(E)}else{addModuleToHash(E)}}ge.update($);return ge.digest("hex")}))}getTreeRuntimeRequirements(v){const E=this._getChunkGraphChunk(v);return E.runtimeRequirementsInTree}static getChunkGraphForModule(v,E,P){const $=rt.get(E);if($)return $(v);const N=R.deprecate((v=>{const P=nt.get(v);if(!P)throw new Error(E+": There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)");return P}),E+": Use new ChunkGraph API",P);rt.set(E,N);return N(v)}static setChunkGraphForModule(v,E){nt.set(v,E)}static clearChunkGraphForModule(v){nt.delete(v)}static getChunkGraphForChunk(v,E,P){const $=ot.get(E);if($)return $(v);const N=R.deprecate((v=>{const P=st.get(v);if(!P)throw new Error(E+"There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)");return P}),E+": Use new ChunkGraph API",P);ot.set(E,N);return N(v)}static setChunkGraphForChunk(v,E){st.set(v,E)}static clearChunkGraphForChunk(v){st.delete(v)}}const nt=new WeakMap;const st=new WeakMap;const rt=new Map;const ot=new Map;v.exports=ChunkGraph},31581:function(v,E,P){"use strict";const R=P(73837);const $=P(33244);const{compareLocations:N,compareChunks:L,compareIterables:q}=P(62737);let K=5e3;const getArray=v=>Array.from(v);const sortById=(v,E)=>{if(v.id{const P=v.module?v.module.identifier():"";const R=E.module?E.module.identifier():"";if(PR)return 1;return N(v.loc,E.loc)};class ChunkGroup{constructor(v){if(typeof v==="string"){v={name:v}}else if(!v){v={name:undefined}}this.groupDebugId=K++;this.options=v;this._children=new $(undefined,sortById);this._parents=new $(undefined,sortById);this._asyncEntrypoints=new $(undefined,sortById);this._blocks=new $;this.chunks=[];this.origins=[];this._modulePreOrderIndices=new Map;this._modulePostOrderIndices=new Map;this.index=undefined}addOptions(v){for(const E of Object.keys(v)){if(this.options[E]===undefined){this.options[E]=v[E]}else if(this.options[E]!==v[E]){if(E.endsWith("Order")){this.options[E]=Math.max(this.options[E],v[E])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${E}`)}}}}get name(){return this.options.name}set name(v){this.options.name=v}get debugId(){return Array.from(this.chunks,(v=>v.debugId)).join("+")}get id(){return Array.from(this.chunks,(v=>v.id)).join("+")}unshiftChunk(v){const E=this.chunks.indexOf(v);if(E>0){this.chunks.splice(E,1);this.chunks.unshift(v)}else if(E<0){this.chunks.unshift(v);return true}return false}insertChunk(v,E){const P=this.chunks.indexOf(v);const R=this.chunks.indexOf(E);if(R<0){throw new Error("before chunk not found")}if(P>=0&&P>R){this.chunks.splice(P,1);this.chunks.splice(R,0,v)}else if(P<0){this.chunks.splice(R,0,v);return true}return false}pushChunk(v){const E=this.chunks.indexOf(v);if(E>=0){return false}this.chunks.push(v);return true}replaceChunk(v,E){const P=this.chunks.indexOf(v);if(P<0)return false;const R=this.chunks.indexOf(E);if(R<0){this.chunks[P]=E;return true}if(R=0){this.chunks.splice(E,1);return true}return false}isInitial(){return false}addChild(v){const E=this._children.size;this._children.add(v);return E!==this._children.size}getChildren(){return this._children.getFromCache(getArray)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(v){if(!this._children.has(v)){return false}this._children.delete(v);v.removeParent(this);return true}addParent(v){if(!this._parents.has(v)){this._parents.add(v);return true}return false}getParents(){return this._parents.getFromCache(getArray)}getNumberOfParents(){return this._parents.size}hasParent(v){return this._parents.has(v)}get parentsIterable(){return this._parents}removeParent(v){if(this._parents.delete(v)){v.removeChild(this);return true}return false}addAsyncEntrypoint(v){const E=this._asyncEntrypoints.size;this._asyncEntrypoints.add(v);return E!==this._asyncEntrypoints.size}get asyncEntrypointsIterable(){return this._asyncEntrypoints}getBlocks(){return this._blocks.getFromCache(getArray)}getNumberOfBlocks(){return this._blocks.size}hasBlock(v){return this._blocks.has(v)}get blocksIterable(){return this._blocks}addBlock(v){if(!this._blocks.has(v)){this._blocks.add(v);return true}return false}addOrigin(v,E,P){this.origins.push({module:v,loc:E,request:P})}getFiles(){const v=new Set;for(const E of this.chunks){for(const P of E.files){v.add(P)}}return Array.from(v)}remove(){for(const v of this._parents){v._children.delete(this);for(const E of this._children){E.addParent(v);v.addChild(E)}}for(const v of this._children){v._parents.delete(this)}for(const v of this.chunks){v.removeGroup(this)}}sortItems(){this.origins.sort(sortOrigin)}compareTo(v,E){if(this.chunks.length>E.chunks.length)return-1;if(this.chunks.length{const R=P.order-v.order;if(R!==0)return R;return v.group.compareTo(E,P.group)}));R[v]=$.map((v=>v.group))}return R}setModulePreOrderIndex(v,E){this._modulePreOrderIndices.set(v,E)}getModulePreOrderIndex(v){return this._modulePreOrderIndices.get(v)}setModulePostOrderIndex(v,E){this._modulePostOrderIndices.set(v,E)}getModulePostOrderIndex(v){return this._modulePostOrderIndices.get(v)}checkConstraints(){const v=this;for(const E of v._children){if(!E._parents.has(v)){throw new Error(`checkConstraints: child missing parent ${v.debugId} -> ${E.debugId}`)}}for(const E of v._parents){if(!E._children.has(v)){throw new Error(`checkConstraints: parent missing child ${E.debugId} <- ${v.debugId}`)}}}}ChunkGroup.prototype.getModuleIndex=R.deprecate(ChunkGroup.prototype.getModulePreOrderIndex,"ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX");ChunkGroup.prototype.getModuleIndex2=R.deprecate(ChunkGroup.prototype.getModulePostOrderIndex,"ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2");v.exports=ChunkGroup},70201:function(v,E,P){"use strict";const R=P(88379);class ChunkRenderError extends R{constructor(v,E,P){super();this.name="ChunkRenderError";this.error=P;this.message=P.message;this.details=P.stack;this.file=E;this.chunk=v}}v.exports=ChunkRenderError},19545:function(v,E,P){"use strict";const R=P(73837);const $=P(79171);const N=$((()=>P(50533)));class ChunkTemplate{constructor(v,E){this._outputOptions=v||{};this.hooks=Object.freeze({renderManifest:{tap:R.deprecate(((v,P)=>{E.hooks.renderManifest.tap(v,((v,E)=>{if(E.chunk.hasRuntime())return v;return P(v,E)}))}),"ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST")},modules:{tap:R.deprecate(((v,P)=>{N().getCompilationHooks(E).renderChunk.tap(v,((v,R)=>P(v,E.moduleTemplates.javascript,R)))}),"ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_MODULES")},render:{tap:R.deprecate(((v,P)=>{N().getCompilationHooks(E).renderChunk.tap(v,((v,R)=>P(v,E.moduleTemplates.javascript,R)))}),"ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER")},renderWithEntry:{tap:R.deprecate(((v,P)=>{N().getCompilationHooks(E).render.tap(v,((v,E)=>{if(E.chunkGraph.getNumberOfEntryModules(E.chunk)===0||E.chunk.hasRuntime()){return v}return P(v,E.chunk)}))}),"ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY")},hash:{tap:R.deprecate(((v,P)=>{E.hooks.fullHash.tap(v,P)}),"ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH")},hashForChunk:{tap:R.deprecate(((v,P)=>{N().getCompilationHooks(E).chunkHash.tap(v,((v,E,R)=>{if(v.hasRuntime())return;P(E,v,R)}))}),"ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK")}})}}Object.defineProperty(ChunkTemplate.prototype,"outputOptions",{get:R.deprecate((function(){return this._outputOptions}),"ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});v.exports=ChunkTemplate},47304:function(v,E,P){"use strict";const R=P(78175);const{SyncBailHook:$}=P(79846);const N=P(18990);const L=P(29505);const{join:q}=P(59914);const K=P(95970);const ae=L(undefined,(()=>{const{definitions:v}=P(18197);return{definitions:v,oneOf:[{$ref:"#/definitions/CleanOptions"}]}}),{name:"Clean Plugin",baseDataPath:"options"});const ge=10*1e3;const mergeAssets=(v,E)=>{for(const[P,R]of E){const E=v.get(P);if(!E||R>E)v.set(P,R)}};const getDiffToFs=(v,E,P,$)=>{const N=new Set;for(const[v]of P){N.add(v.replace(/(^|\/)[^/]*$/,""))}for(const v of N){N.add(v.replace(/(^|\/)[^/]*$/,""))}const L=new Set;R.forEachLimit(N,10,((R,$)=>{v.readdir(q(v,E,R),((v,E)=>{if(v){if(v.code==="ENOENT")return $();if(v.code==="ENOTDIR"){L.add(R);return $()}return $(v)}for(const v of E){const E=v;const $=R?`${R}/${E}`:E;if(!N.has($)&&!P.has($)){L.add($)}}$()}))}),(v=>{if(v)return $(v);$(null,L)}))};const getDiffToOldAssets=(v,E)=>{const P=new Set;const R=Date.now();for(const[$,N]of E){if(N>=R)continue;if(!v.has($))P.add($)}return P};const doStat=(v,E,P)=>{if("lstat"in v){v.lstat(E,P)}else{v.stat(E,P)}};const applyDiff=(v,E,P,R,$,N,L)=>{const log=v=>{if(P){R.info(v)}else{R.log(v)}};const ae=Array.from($.keys(),(v=>({type:"check",filename:v,parent:undefined})));const ge=new Map;K(ae,10,(({type:$,filename:L,parent:K},ae,be)=>{const handleError=v=>{if(v.code==="ENOENT"){log(`${L} was removed during cleaning by something else`);handleParent();return be()}return be(v)};const handleParent=()=>{if(K&&--K.remaining===0)ae(K.job)};const xe=q(v,E,L);switch($){case"check":if(N(L)){ge.set(L,0);log(`${L} will be kept`);return process.nextTick(be)}doStat(v,xe,((E,P)=>{if(E)return handleError(E);if(!P.isDirectory()){ae({type:"unlink",filename:L,parent:K});return be()}v.readdir(xe,((v,E)=>{if(v)return handleError(v);const P={type:"rmdir",filename:L,parent:K};if(E.length===0){ae(P)}else{const v={remaining:E.length,job:P};for(const P of E){const E=P;if(E.startsWith(".")){log(`${L} will be kept (dot-files will never be removed)`);continue}ae({type:"check",filename:`${L}/${E}`,parent:v})}}return be()}))}));break;case"rmdir":log(`${L} will be removed`);if(P){handleParent();return process.nextTick(be)}if(!v.rmdir){R.warn(`${L} can't be removed because output file system doesn't support removing directories (rmdir)`);return process.nextTick(be)}v.rmdir(xe,(v=>{if(v)return handleError(v);handleParent();be()}));break;case"unlink":log(`${L} will be removed`);if(P){handleParent();return process.nextTick(be)}if(!v.unlink){R.warn(`${L} can't be removed because output file system doesn't support removing files (rmdir)`);return process.nextTick(be)}v.unlink(xe,(v=>{if(v)return handleError(v);handleParent();be()}));break}}),(v=>{if(v)return L(v);L(undefined,ge)}))};const be=new WeakMap;class CleanPlugin{static getCompilationHooks(v){if(!(v instanceof N)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let E=be.get(v);if(E===undefined){E={keep:new $(["ignore"])};be.set(v,E)}return E}constructor(v={}){ae(v);this.options={dry:false,...v}}apply(v){const{dry:E,keep:P}=this.options;const R=typeof P==="function"?P:typeof P==="string"?v=>v.startsWith(P):typeof P==="object"&&P.test?v=>P.test(v):()=>false;let $;v.hooks.emit.tapAsync({name:"CleanPlugin",stage:100},((P,N)=>{const L=CleanPlugin.getCompilationHooks(P);const q=P.getLogger("webpack.CleanPlugin");const K=v.outputFileSystem;if(!K.readdir){return N(new Error("CleanPlugin: Output filesystem doesn't support listing directories (readdir)"))}const ae=new Map;const be=Date.now();for(const v of Object.keys(P.assets)){if(/^[A-Za-z]:\\|^\/|^\\\\/.test(v))continue;let E;let R=v.replace(/\\/g,"/");do{E=R;R=E.replace(/(^|\/)(?!\.\.)[^/]+\/\.\.\//g,"$1")}while(R!==E);if(E.startsWith("../"))continue;const $=P.assetsInfo.get(v);if($&&$.hotModuleReplacement){ae.set(E,be+ge)}else{ae.set(E,0)}}const xe=P.getPath(v.outputPath,{});const isKept=v=>{const E=L.keep.call(v);if(E!==undefined)return E;return R(v)};const diffCallback=(v,P)=>{if(v){$=undefined;N(v);return}applyDiff(K,xe,E,q,P,isKept,((v,E)=>{if(v){$=undefined}else{if($)mergeAssets(ae,$);$=ae;if(E)mergeAssets($,E)}N(v)}))};if($){diffCallback(null,getDiffToOldAssets(ae,$))}else{getDiffToFs(K,xe,ae,diffCallback)}}))}}v.exports=CleanPlugin},5185:function(v,E,P){"use strict";const R=P(88379);class CodeGenerationError extends R{constructor(v,E){super();this.name="CodeGenerationError";this.error=E;this.message=E.message;this.details=E.stack;this.module=v}}v.exports=CodeGenerationError},12931:function(v,E,P){"use strict";const{getOrInsert:R}=P(83136);const{first:$}=P(95793);const N=P(14485);const{runtimeToString:L,RuntimeSpecMap:q}=P(41302);class CodeGenerationResults{constructor(v="md4"){this.map=new Map;this._hashFunction=v}get(v,E){const P=this.map.get(v);if(P===undefined){throw new Error(`No code generation entry for ${v.identifier()} (existing entries: ${Array.from(this.map.keys(),(v=>v.identifier())).join(", ")})`)}if(E===undefined){if(P.size>1){const E=new Set(P.values());if(E.size!==1){throw new Error(`No unique code generation entry for unspecified runtime for ${v.identifier()} (existing runtimes: ${Array.from(P.keys(),(v=>L(v))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return $(E)}return P.values().next().value}const R=P.get(E);if(R===undefined){throw new Error(`No code generation entry for runtime ${L(E)} for ${v.identifier()} (existing runtimes: ${Array.from(P.keys(),(v=>L(v))).join(", ")})`)}return R}has(v,E){const P=this.map.get(v);if(P===undefined){return false}if(E!==undefined){return P.has(E)}else if(P.size>1){const v=new Set(P.values());return v.size===1}else{return P.size===1}}getSource(v,E,P){return this.get(v,E).sources.get(P)}getRuntimeRequirements(v,E){return this.get(v,E).runtimeRequirements}getData(v,E,P){const R=this.get(v,E).data;return R===undefined?undefined:R.get(P)}getHash(v,E){const P=this.get(v,E);if(P.hash!==undefined)return P.hash;const R=N(this._hashFunction);for(const[v,E]of P.sources){R.update(v);E.updateHash(R)}if(P.runtimeRequirements){for(const v of P.runtimeRequirements)R.update(v)}return P.hash=R.digest("hex")}add(v,E,P){const $=R(this.map,v,(()=>new q));$.set(E,P)}}v.exports=CodeGenerationResults},45776:function(v,E,P){"use strict";const R=P(88379);const $=P(57243);class CommentCompilationWarning extends R{constructor(v,E){super(v);this.name="CommentCompilationWarning";this.loc=E}}$(CommentCompilationWarning,"webpack/lib/CommentCompilationWarning");v.exports=CommentCompilationWarning},66343:function(v,E,P){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:R,JAVASCRIPT_MODULE_TYPE_DYNAMIC:$,JAVASCRIPT_MODULE_TYPE_ESM:N}=P(41851);const L=P(65376);const q=P(65235);const K=Symbol("nested webpack identifier");const ae="CompatibilityPlugin";class CompatibilityPlugin{apply(v){v.hooks.compilation.tap(ae,((v,{normalModuleFactory:E})=>{v.dependencyTemplates.set(q,new q.Template);E.hooks.parser.for(R).tap(ae,((v,E)=>{if(E.browserify!==undefined&&!E.browserify)return;v.hooks.call.for("require").tap(ae,(E=>{if(E.arguments.length!==2)return;const P=v.evaluateExpression(E.arguments[1]);if(!P.isBoolean())return;if(P.asBool()!==true)return;const R=new q("require",E.callee.range);R.loc=E.loc;if(v.state.current.dependencies.length>0){const E=v.state.current.dependencies[v.state.current.dependencies.length-1];if(E.critical&&E.options&&E.options.request==="."&&E.userRequest==="."&&E.options.recursive)v.state.current.dependencies.pop()}v.state.module.addPresentationalDependency(R);return true}))}));const handler=v=>{v.hooks.preStatement.tap(ae,(E=>{if(E.type==="FunctionDeclaration"&&E.id&&E.id.name===L.require){const P=`__nested_webpack_require_${E.range[0]}__`;v.tagVariable(E.id.name,K,{name:P,declaration:{updated:false,loc:E.id.loc,range:E.id.range}});return true}}));v.hooks.pattern.for(L.require).tap(ae,(E=>{const P=`__nested_webpack_require_${E.range[0]}__`;v.tagVariable(E.name,K,{name:P,declaration:{updated:false,loc:E.loc,range:E.range}});return true}));v.hooks.pattern.for(L.exports).tap(ae,(E=>{v.tagVariable(E.name,K,{name:"__nested_webpack_exports__",declaration:{updated:false,loc:E.loc,range:E.range}});return true}));v.hooks.expression.for(K).tap(ae,(E=>{const{name:P,declaration:R}=v.currentTagData;if(!R.updated){const E=new q(P,R.range);E.loc=R.loc;v.state.module.addPresentationalDependency(E);R.updated=true}const $=new q(P,E.range);$.loc=E.loc;v.state.module.addPresentationalDependency($);return true}));v.hooks.program.tap(ae,((E,P)=>{if(P.length===0)return;const R=P[0];if(R.type==="Line"&&R.range[0]===0){if(v.state.source.slice(0,2).toString()!=="#!")return;const E=new q("//",0);E.loc=R.loc;v.state.module.addPresentationalDependency(E)}}))};E.hooks.parser.for(R).tap(ae,handler);E.hooks.parser.for($).tap(ae,handler);E.hooks.parser.for(N).tap(ae,handler)}))}}v.exports=CompatibilityPlugin},18990:function(v,E,P){"use strict";const R=P(78175);const{HookMap:$,SyncHook:N,SyncBailHook:L,SyncWaterfallHook:q,AsyncSeriesHook:K,AsyncSeriesBailHook:ae,AsyncParallelHook:ge}=P(79846);const be=P(73837);const{CachedSource:xe}=P(51255);const{MultiItemCache:ve}=P(10613);const Ae=P(48611);const Ie=P(87022);const He=P(31581);const Qe=P(70201);const Je=P(19545);const Ve=P(5185);const Ke=P(12931);const Ye=P(86505);const Xe=P(89116);const Ze=P(8203);const et=P(78244);const tt=P(80255);const{connectChunkGroupAndChunk:nt,connectChunkGroupParentAndChild:st}=P(47504);const{makeWebpackError:rt,tryRunOrWebpackError:ot}=P(68610);const it=P(83476);const at=P(28230);const ct=P(25831);const lt=P(1336);const ut=P(10059);const pt=P(65990);const dt=P(56377);const ft=P(70313);const ht=P(90269);const mt=P(41952);const gt=P(72587);const{WEBPACK_MODULE_TYPE_RUNTIME:yt}=P(41851);const bt=P(65376);const xt=P(57444);const kt=P(22786);const vt=P(88379);const wt=P(23234);const Et=P(86894);const{Logger:At,LogType:Ct}=P(29550);const St=P(31046);const _t=P(96648);const{equals:Pt}=P(6537);const Mt=P(51012);const It=P(39860);const{getOrInsert:Ot}=P(83136);const Dt=P(81199);const{cachedCleverMerge:Rt}=P(98625);const{compareLocations:Tt,concatComparators:$t,compareSelect:Ft,compareIds:jt,compareStringsNumeric:Nt,compareModulesByIdentifier:Lt}=P(62737);const Bt=P(14485);const{arrayToSetDeprecation:qt,soonFrozenObjectDeprecation:zt,createFakeHook:Ut}=P(46724);const Gt=P(95970);const{getRuntimeKey:Ht}=P(41302);const{isSourceEqual:Wt}=P(27575);const Qt=Object.freeze({});const Jt="esm";const Vt=be.deprecate((v=>P(48479).getCompilationHooks(v).loader),"Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader","DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK");const defineRemovedModuleTemplates=v=>{Object.defineProperties(v,{asset:{enumerable:false,configurable:false,get:()=>{throw new vt("Compilation.moduleTemplates.asset has been removed")}},webassembly:{enumerable:false,configurable:false,get:()=>{throw new vt("Compilation.moduleTemplates.webassembly has been removed")}}});v=undefined};const Kt=Ft((v=>v.id),jt);const Yt=$t(Ft((v=>v.name),jt),Ft((v=>v.fullHash),jt));const Xt=Ft((v=>`${v.message}`),Nt);const Zt=Ft((v=>v.module&&v.module.identifier()||""),Nt);const en=Ft((v=>v.loc),Tt);const tn=$t(Zt,en,Xt);const nn=new WeakMap;const sn=new WeakMap;class Compilation{constructor(v,E){this._backCompat=v._backCompat;const getNormalModuleLoader=()=>Vt(this);const P=new K(["assets"]);let R=new Set;const popNewAssets=v=>{let E=undefined;for(const P of Object.keys(v)){if(R.has(P))continue;if(E===undefined){E=Object.create(null)}E[P]=v[P];R.add(P)}return E};P.intercept({name:"Compilation",call:()=>{R=new Set(Object.keys(this.assets))},register:v=>{const{type:E,name:P}=v;const{fn:R,additionalAssets:$,...N}=v;const L=$===true?R:$;const q=L?new WeakSet:undefined;switch(E){case"sync":if(L){this.hooks.processAdditionalAssets.tap(P,(v=>{if(q.has(this.assets))L(v)}))}return{...N,type:"async",fn:(v,E)=>{try{R(v)}catch(v){return E(v)}if(q!==undefined)q.add(this.assets);const P=popNewAssets(v);if(P!==undefined){this.hooks.processAdditionalAssets.callAsync(P,E);return}E()}};case"async":if(L){this.hooks.processAdditionalAssets.tapAsync(P,((v,E)=>{if(q.has(this.assets))return L(v,E);E()}))}return{...N,fn:(v,E)=>{R(v,(P=>{if(P)return E(P);if(q!==undefined)q.add(this.assets);const R=popNewAssets(v);if(R!==undefined){this.hooks.processAdditionalAssets.callAsync(R,E);return}E()}))}};case"promise":if(L){this.hooks.processAdditionalAssets.tapPromise(P,(v=>{if(q.has(this.assets))return L(v);return Promise.resolve()}))}return{...N,fn:v=>{const E=R(v);if(!E||!E.then)return E;return E.then((()=>{if(q!==undefined)q.add(this.assets);const E=popNewAssets(v);if(E!==undefined){return this.hooks.processAdditionalAssets.promise(E)}}))}}}}});const xe=new N(["assets"]);const createProcessAssetsHook=(v,E,R,$)=>{if(!this._backCompat&&$)return undefined;const errorMessage=E=>`Can't automatically convert plugin using Compilation.hooks.${v} to Compilation.hooks.processAssets because ${E}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.`;const getOptions=v=>{if(typeof v==="string")v={name:v};if(v.stage){throw new Error(errorMessage("it's using the 'stage' option"))}return{...v,stage:E}};return Ut({name:v,intercept(v){throw new Error(errorMessage("it's using 'intercept'"))},tap:(v,E)=>{P.tap(getOptions(v),(()=>E(...R())))},tapAsync:(v,E)=>{P.tapAsync(getOptions(v),((v,P)=>E(...R(),P)))},tapPromise:(v,E)=>{P.tapPromise(getOptions(v),(()=>E(...R())))}},`${v} is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`,$)};this.hooks=Object.freeze({buildModule:new N(["module"]),rebuildModule:new N(["module"]),failedModule:new N(["module","error"]),succeedModule:new N(["module"]),stillValidModule:new N(["module"]),addEntry:new N(["entry","options"]),failedEntry:new N(["entry","options","error"]),succeedEntry:new N(["entry","options","module"]),dependencyReferencedExports:new q(["referencedExports","dependency","runtime"]),executeModule:new N(["options","context"]),prepareModuleExecution:new ge(["options","context"]),finishModules:new K(["modules"]),finishRebuildingModule:new K(["module"]),unseal:new N([]),seal:new N([]),beforeChunks:new N([]),afterChunks:new N(["chunks"]),optimizeDependencies:new L(["modules"]),afterOptimizeDependencies:new N(["modules"]),optimize:new N([]),optimizeModules:new L(["modules"]),afterOptimizeModules:new N(["modules"]),optimizeChunks:new L(["chunks","chunkGroups"]),afterOptimizeChunks:new N(["chunks","chunkGroups"]),optimizeTree:new K(["chunks","modules"]),afterOptimizeTree:new N(["chunks","modules"]),optimizeChunkModules:new ae(["chunks","modules"]),afterOptimizeChunkModules:new N(["chunks","modules"]),shouldRecord:new L([]),additionalChunkRuntimeRequirements:new N(["chunk","runtimeRequirements","context"]),runtimeRequirementInChunk:new $((()=>new L(["chunk","runtimeRequirements","context"]))),additionalModuleRuntimeRequirements:new N(["module","runtimeRequirements","context"]),runtimeRequirementInModule:new $((()=>new L(["module","runtimeRequirements","context"]))),additionalTreeRuntimeRequirements:new N(["chunk","runtimeRequirements","context"]),runtimeRequirementInTree:new $((()=>new L(["chunk","runtimeRequirements","context"]))),runtimeModule:new N(["module","chunk"]),reviveModules:new N(["modules","records"]),beforeModuleIds:new N(["modules"]),moduleIds:new N(["modules"]),optimizeModuleIds:new N(["modules"]),afterOptimizeModuleIds:new N(["modules"]),reviveChunks:new N(["chunks","records"]),beforeChunkIds:new N(["chunks"]),chunkIds:new N(["chunks"]),optimizeChunkIds:new N(["chunks"]),afterOptimizeChunkIds:new N(["chunks"]),recordModules:new N(["modules","records"]),recordChunks:new N(["chunks","records"]),optimizeCodeGeneration:new N(["modules"]),beforeModuleHash:new N([]),afterModuleHash:new N([]),beforeCodeGeneration:new N([]),afterCodeGeneration:new N([]),beforeRuntimeRequirements:new N([]),afterRuntimeRequirements:new N([]),beforeHash:new N([]),contentHash:new N(["chunk"]),afterHash:new N([]),recordHash:new N(["records"]),record:new N(["compilation","records"]),beforeModuleAssets:new N([]),shouldGenerateChunkAssets:new L([]),beforeChunkAssets:new N([]),additionalChunkAssets:createProcessAssetsHook("additionalChunkAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS"),additionalAssets:createProcessAssetsHook("additionalAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[])),optimizeChunkAssets:createProcessAssetsHook("optimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS"),afterOptimizeChunkAssets:createProcessAssetsHook("afterOptimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE+1,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS"),optimizeAssets:P,afterOptimizeAssets:xe,processAssets:P,afterProcessAssets:xe,processAdditionalAssets:new K(["assets"]),needAdditionalSeal:new L([]),afterSeal:new K([]),renderManifest:new q(["result","options"]),fullHash:new N(["hash"]),chunkHash:new N(["chunk","chunkHash","ChunkHashContext"]),moduleAsset:new N(["module","filename"]),chunkAsset:new N(["chunk","filename"]),assetPath:new q(["path","options","assetInfo"]),needAdditionalPass:new L([]),childCompiler:new N(["childCompiler","compilerName","compilerIndex"]),log:new L(["origin","logEntry"]),processWarnings:new q(["warnings"]),processErrors:new q(["errors"]),statsPreset:new $((()=>new N(["options","context"]))),statsNormalize:new N(["options","context"]),statsFactory:new N(["statsFactory","options"]),statsPrinter:new N(["statsPrinter","options"]),get normalModuleLoader(){return getNormalModuleLoader()}});this.name=undefined;this.startTime=undefined;this.endTime=undefined;this.compiler=v;this.resolverFactory=v.resolverFactory;this.inputFileSystem=v.inputFileSystem;this.fileSystemInfo=new tt(this.inputFileSystem,{unmanagedPaths:v.unmanagedPaths,managedPaths:v.managedPaths,immutablePaths:v.immutablePaths,logger:this.getLogger("webpack.FileSystemInfo"),hashFunction:v.options.output.hashFunction});if(v.fileTimestamps){this.fileSystemInfo.addFileTimestamps(v.fileTimestamps,true)}if(v.contextTimestamps){this.fileSystemInfo.addContextTimestamps(v.contextTimestamps,true)}this.valueCacheVersions=new Map;this.requestShortener=v.requestShortener;this.compilerPath=v.compilerPath;this.logger=this.getLogger("webpack.Compilation");const ve=v.options;this.options=ve;this.outputOptions=ve&&ve.output;this.bail=ve&&ve.bail||false;this.profile=ve&&ve.profile||false;this.params=E;this.mainTemplate=new it(this.outputOptions,this);this.chunkTemplate=new Je(this.outputOptions,this);this.runtimeTemplate=new xt(this,this.outputOptions,this.requestShortener);this.moduleTemplates={javascript:new gt(this.runtimeTemplate,this)};defineRemovedModuleTemplates(this.moduleTemplates);this.moduleMemCaches=undefined;this.moduleMemCaches2=undefined;this.moduleGraph=new ut;this.chunkGraph=undefined;this.codeGenerationResults=undefined;this.processDependenciesQueue=new Mt({name:"processDependencies",parallelism:ve.parallelism||100,processor:this._processModuleDependencies.bind(this)});this.addModuleQueue=new Mt({name:"addModule",parent:this.processDependenciesQueue,getKey:v=>v.identifier(),processor:this._addModule.bind(this)});this.factorizeQueue=new Mt({name:"factorize",parent:this.addModuleQueue,processor:this._factorizeModule.bind(this)});this.buildQueue=new Mt({name:"build",parent:this.factorizeQueue,processor:this._buildModule.bind(this)});this.rebuildQueue=new Mt({name:"rebuild",parallelism:ve.parallelism||100,processor:this._rebuildModule.bind(this)});this.creatingModuleDuringBuild=new WeakMap;this.entries=new Map;this.globalEntry={dependencies:[],includeDependencies:[],options:{name:undefined}};this.entrypoints=new Map;this.asyncEntrypoints=[];this.chunks=new Set;this.chunkGroups=[];this.namedChunkGroups=new Map;this.namedChunks=new Map;this.modules=new Set;if(this._backCompat){qt(this.chunks,"Compilation.chunks");qt(this.modules,"Compilation.modules")}this._modules=new Map;this.records=null;this.additionalChunkAssets=[];this.assets={};this.assetsInfo=new Map;this._assetsRelatedIn=new Map;this.errors=[];this.warnings=[];this.children=[];this.logging=new Map;this.dependencyFactories=new Map;this.dependencyTemplates=new Xe(this.outputOptions.hashFunction);this.childrenCounters={};this.usedChunkIds=null;this.usedModuleIds=null;this.needAdditionalPass=false;this._restoredUnsafeCacheModuleEntries=new Set;this._restoredUnsafeCacheEntries=new Map;this.builtModules=new WeakSet;this.codeGeneratedModules=new WeakSet;this.buildTimeExecutedModules=new WeakSet;this._rebuildingModules=new Map;this.emittedAssets=new Set;this.comparedForEmitAssets=new Set;this.fileDependencies=new It;this.contextDependencies=new It;this.missingDependencies=new It;this.buildDependencies=new It;this.compilationDependencies={add:be.deprecate((v=>this.fileDependencies.add(v)),"Compilation.compilationDependencies is deprecated (used Compilation.fileDependencies instead)","DEP_WEBPACK_COMPILATION_COMPILATION_DEPENDENCIES")};this._modulesCache=this.getCache("Compilation/modules");this._assetsCache=this.getCache("Compilation/assets");this._codeGenerationCache=this.getCache("Compilation/codeGeneration");const Ae=ve.module.unsafeCache;this._unsafeCache=!!Ae;this._unsafeCachePredicate=typeof Ae==="function"?Ae:()=>true}getStats(){return new kt(this)}createStatsOptions(v,E={}){if(typeof v==="boolean"||typeof v==="string"){v={preset:v}}if(typeof v==="object"&&v!==null){const P={};for(const E in v){P[E]=v[E]}if(P.preset!==undefined){this.hooks.statsPreset.for(P.preset).call(P,E)}this.hooks.statsNormalize.call(P,E);return P}else{const v={};this.hooks.statsNormalize.call(v,E);return v}}createStatsFactory(v){const E=new St;this.hooks.statsFactory.call(E,v);return E}createStatsPrinter(v){const E=new _t;this.hooks.statsPrinter.call(E,v);return E}getCache(v){return this.compiler.getCache(v)}getLogger(v){if(!v){throw new TypeError("Compilation.getLogger(name) called without a name")}let E;return new At(((P,R)=>{if(typeof v==="function"){v=v();if(!v){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}let $;switch(P){case Ct.warn:case Ct.error:case Ct.trace:$=et.cutOffLoaderExecution(new Error("Trace").stack).split("\n").slice(3);break}const N={time:Date.now(),type:P,args:R,trace:$};if(this.hooks.log.call(v,N)===undefined){if(N.type===Ct.profileEnd){if(typeof console.profileEnd==="function"){console.profileEnd(`[${v}] ${N.args[0]}`)}}if(E===undefined){E=this.logging.get(v);if(E===undefined){E=[];this.logging.set(v,E)}}E.push(N);if(N.type===Ct.profile){if(typeof console.profile==="function"){console.profile(`[${v}] ${N.args[0]}`)}}}}),(E=>{if(typeof v==="function"){if(typeof E==="function"){return this.getLogger((()=>{if(typeof v==="function"){v=v();if(!v){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}if(typeof E==="function"){E=E();if(!E){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${v}/${E}`}))}else{return this.getLogger((()=>{if(typeof v==="function"){v=v();if(!v){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}return`${v}/${E}`}))}}else{if(typeof E==="function"){return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${v}/${E}`}))}else{return this.getLogger(`${v}/${E}`)}}}))}addModule(v,E){this.addModuleQueue.add(v,E)}_addModule(v,E){const P=v.identifier();const R=this._modules.get(P);if(R){return E(null,R)}const $=this.profile?this.moduleGraph.getProfile(v):undefined;if($!==undefined){$.markRestoringStart()}this._modulesCache.get(P,null,((R,N)=>{if(R)return E(new ht(v,R));if($!==undefined){$.markRestoringEnd();$.markIntegrationStart()}if(N){N.updateCacheModule(v);v=N}this._modules.set(P,v);this.modules.add(v);if(this._backCompat)ut.setModuleGraphForModule(v,this.moduleGraph);if($!==undefined){$.markIntegrationEnd()}E(null,v)}))}getModule(v){const E=v.identifier();return this._modules.get(E)}findModule(v){return this._modules.get(v)}buildModule(v,E){this.buildQueue.add(v,E)}_buildModule(v,E){const P=this.profile?this.moduleGraph.getProfile(v):undefined;if(P!==undefined){P.markBuildingStart()}v.needBuild({compilation:this,fileSystemInfo:this.fileSystemInfo,valueCacheVersions:this.valueCacheVersions},((R,$)=>{if(R)return E(R);if(!$){if(P!==undefined){P.markBuildingEnd()}this.hooks.stillValidModule.call(v);return E()}this.hooks.buildModule.call(v);this.builtModules.add(v);v.build(this.options,this,this.resolverFactory.get("normal",v.resolveOptions),this.inputFileSystem,(R=>{if(P!==undefined){P.markBuildingEnd()}if(R){this.hooks.failedModule.call(v,R);return E(R)}if(P!==undefined){P.markStoringStart()}this._modulesCache.store(v.identifier(),null,v,(R=>{if(P!==undefined){P.markStoringEnd()}if(R){this.hooks.failedModule.call(v,R);return E(new mt(v,R))}this.hooks.succeedModule.call(v);return E()}))}))}))}processModuleDependencies(v,E){this.processDependenciesQueue.add(v,E)}processModuleDependenciesNonRecursive(v){const processDependenciesBlock=E=>{if(E.dependencies){let P=0;for(const R of E.dependencies){this.moduleGraph.setParents(R,E,v,P++)}}if(E.blocks){for(const v of E.blocks)processDependenciesBlock(v)}};processDependenciesBlock(v)}_processModuleDependencies(v,E){const P=[];let R;let $;let N;let L;let q;let K;let ae;let ge;let be=1;let xe=1;const onDependenciesSorted=v=>{if(v)return E(v);if(P.length===0&&xe===1){return E()}this.processDependenciesQueue.increaseParallelism();for(const v of P){xe++;this.handleModuleCreation(v,(v=>{if(v&&this.bail){if(xe<=0)return;xe=-1;v.stack=v.stack;onTransitiveTasksFinished(v);return}if(--xe===0)onTransitiveTasksFinished()}))}if(--xe===0)onTransitiveTasksFinished()};const onTransitiveTasksFinished=v=>{if(v)return E(v);this.processDependenciesQueue.decreaseParallelism();return E()};const processDependency=(E,P)=>{this.moduleGraph.setParents(E,R,v,P);if(this._unsafeCache){try{const P=nn.get(E);if(P===null)return;if(P!==undefined){if(this._restoredUnsafeCacheModuleEntries.has(P)){this._handleExistingModuleFromUnsafeCache(v,E,P);return}const R=P.identifier();const $=this._restoredUnsafeCacheEntries.get(R);if($!==undefined){nn.set(E,$);this._handleExistingModuleFromUnsafeCache(v,E,$);return}be++;this._modulesCache.get(R,null,(($,N)=>{if($){if(be<=0)return;be=-1;onDependenciesSorted($);return}try{if(!this._restoredUnsafeCacheEntries.has(R)){const $=sn.get(N);if($===undefined){processDependencyForResolving(E);if(--be===0)onDependenciesSorted();return}if(N!==P){nn.set(E,N)}N.restoreFromUnsafeCache($,this.params.normalModuleFactory,this.params);this._restoredUnsafeCacheEntries.set(R,N);this._restoredUnsafeCacheModuleEntries.add(N);if(!this.modules.has(N)){xe++;this._handleNewModuleFromUnsafeCache(v,E,N,(v=>{if(v){if(xe<=0)return;xe=-1;onTransitiveTasksFinished(v)}if(--xe===0)return onTransitiveTasksFinished()}));if(--be===0)onDependenciesSorted();return}}if(P!==N){nn.set(E,N)}this._handleExistingModuleFromUnsafeCache(v,E,N)}catch($){if(be<=0)return;be=-1;onDependenciesSorted($);return}if(--be===0)onDependenciesSorted()}));return}}catch(v){console.error(v)}}processDependencyForResolving(E)};const processDependencyForResolving=E=>{const R=E.getResourceIdentifier();if(R!==undefined&&R!==null){const be=E.category;const xe=E.constructor;if(N===xe){if(K===be&&ae===R){ge.push(E);return}}else{const v=this.dependencyFactories.get(xe);if(v===undefined){throw new Error(`No module factory available for dependency type: ${xe.name}`)}if(L===v){N=xe;if(K===be&&ae===R){ge.push(E);return}}else{if(L!==undefined){if($===undefined)$=new Map;$.set(L,q);q=$.get(v);if(q===undefined){q=new Map}}else{q=new Map}N=xe;L=v}}const ve=be===Jt?R:`${be}${R}`;let Ae=q.get(ve);if(Ae===undefined){q.set(ve,Ae=[]);P.push({factory:L,dependencies:Ae,context:E.getContext(),originModule:v})}Ae.push(E);K=be;ae=R;ge=Ae}};try{const E=[v];do{const v=E.pop();if(v.dependencies){R=v;let E=0;for(const P of v.dependencies)processDependency(P,E++)}if(v.blocks){for(const P of v.blocks)E.push(P)}}while(E.length!==0)}catch(v){return E(v)}if(--be===0)onDependenciesSorted()}_handleNewModuleFromUnsafeCache(v,E,P,R){const $=this.moduleGraph;$.setResolvedModule(v,E,P);$.setIssuerIfUnset(P,v!==undefined?v:null);this._modules.set(P.identifier(),P);this.modules.add(P);if(this._backCompat)ut.setModuleGraphForModule(P,this.moduleGraph);this._handleModuleBuildAndDependencies(v,P,true,false,R)}_handleExistingModuleFromUnsafeCache(v,E,P){const R=this.moduleGraph;R.setResolvedModule(v,E,P)}handleModuleCreation({factory:v,dependencies:E,originModule:P,contextInfo:R,context:$,recursive:N=true,connectOrigin:L=N,checkCycle:q=!N},K){const ae=this.moduleGraph;const ge=this.profile?new ft:undefined;this.factorizeModule({currentProfile:ge,factory:v,dependencies:E,factoryResult:true,originModule:P,contextInfo:R,context:$},((v,R)=>{const applyFactoryResultDependencies=()=>{const{fileDependencies:v,contextDependencies:E,missingDependencies:P}=R;if(v){this.fileDependencies.addAll(v)}if(E){this.contextDependencies.addAll(E)}if(P){this.missingDependencies.addAll(P)}};if(v){if(R)applyFactoryResultDependencies();if(E.every((v=>v.optional))){this.warnings.push(v);return K()}else{this.errors.push(v);return K(v)}}const $=R.module;if(!$){applyFactoryResultDependencies();return K()}if(ge!==undefined){ae.setProfile($,ge)}this.addModule($,((v,be)=>{if(v){applyFactoryResultDependencies();if(!v.module){v.module=be}this.errors.push(v);return K(v)}if(this._unsafeCache&&R.cacheable!==false&&be.restoreFromUnsafeCache&&this._unsafeCachePredicate(be)){const v=be;for(let R=0;R{if(N!==undefined){N.delete(E)}if(v){if(!v.module){v.module=E}this.errors.push(v);return $(v)}if(!P){this.processModuleDependenciesNonRecursive(E);$(null,E);return}if(this.processDependenciesQueue.isProcessing(E)){return $(null,E)}this.processModuleDependencies(E,(v=>{if(v){return $(v)}$(null,E)}))}))}_factorizeModule({currentProfile:v,factory:E,dependencies:P,originModule:R,factoryResult:$,contextInfo:N,context:L},q){if(v!==undefined){v.markFactoryStart()}E.create({contextInfo:{issuer:R?R.nameForCondition():"",issuerLayer:R?R.layer:null,compiler:this.compiler.name,...N},resolveOptions:R?R.resolveOptions:undefined,context:L?L:R?R.context:this.compiler.context,dependencies:P},((E,N)=>{if(N){if(N.module===undefined&&N instanceof at){N={module:N}}if(!$){const{fileDependencies:v,contextDependencies:E,missingDependencies:P}=N;if(v){this.fileDependencies.addAll(v)}if(E){this.contextDependencies.addAll(E)}if(P){this.missingDependencies.addAll(P)}}}if(E){const v=new dt(R,E,P.map((v=>v.loc)).filter(Boolean)[0]);return q(v,$?N:undefined)}if(!N){return q()}if(v!==undefined){v.markFactoryEnd()}q(null,$?N:N.module)}))}addModuleChain(v,E,P){return this.addModuleTree({context:v,dependency:E},P)}addModuleTree({context:v,dependency:E,contextInfo:P},R){if(typeof E!=="object"||E===null||!E.constructor){return R(new vt("Parameter 'dependency' must be a Dependency"))}const $=E.constructor;const N=this.dependencyFactories.get($);if(!N){return R(new vt(`No dependency factory available for this dependency type: ${E.constructor.name}`))}this.handleModuleCreation({factory:N,dependencies:[E],originModule:null,contextInfo:P,context:v},((v,E)=>{if(v&&this.bail){R(v);this.buildQueue.stop();this.rebuildQueue.stop();this.processDependenciesQueue.stop();this.factorizeQueue.stop()}else if(!v&&E){R(null,E)}else{R()}}))}addEntry(v,E,P,R){const $=typeof P==="object"?P:{name:P};this._addEntryItem(v,E,"dependencies",$,R)}addInclude(v,E,P,R){this._addEntryItem(v,E,"includeDependencies",P,R)}_addEntryItem(v,E,P,R,$){const{name:N}=R;let L=N!==undefined?this.entries.get(N):this.globalEntry;if(L===undefined){L={dependencies:[],includeDependencies:[],options:{name:undefined,...R}};L[P].push(E);this.entries.set(N,L)}else{L[P].push(E);for(const v of Object.keys(R)){if(R[v]===undefined)continue;if(L.options[v]===R[v])continue;if(Array.isArray(L.options[v])&&Array.isArray(R[v])&&Pt(L.options[v],R[v])){continue}if(L.options[v]===undefined){L.options[v]=R[v]}else{return $(new vt(`Conflicting entry option ${v} = ${L.options[v]} vs ${R[v]}`))}}}this.hooks.addEntry.call(E,R);this.addModuleTree({context:v,dependency:E,contextInfo:L.options.layer?{issuerLayer:L.options.layer}:undefined},((v,P)=>{if(v){this.hooks.failedEntry.call(E,R,v);return $(v)}this.hooks.succeedEntry.call(E,R,P);return $(null,P)}))}rebuildModule(v,E){this.rebuildQueue.add(v,E)}_rebuildModule(v,E){this.hooks.rebuildModule.call(v);const P=v.dependencies.slice();const R=v.blocks.slice();v.invalidateBuild();this.buildQueue.invalidate(v);this.buildModule(v,($=>{if($){return this.hooks.finishRebuildingModule.callAsync(v,(v=>{if(v){E(rt(v,"Compilation.hooks.finishRebuildingModule"));return}E($)}))}this.processDependenciesQueue.invalidate(v);this.moduleGraph.unfreeze();this.processModuleDependencies(v,($=>{if($)return E($);this.removeReasonsOfDependencyBlock(v,{dependencies:P,blocks:R});this.hooks.finishRebuildingModule.callAsync(v,(P=>{if(P){E(rt(P,"Compilation.hooks.finishRebuildingModule"));return}E(null,v)}))}))}))}_computeAffectedModules(v){const E=this.compiler.moduleMemCaches;if(!E)return;if(!this.moduleMemCaches){this.moduleMemCaches=new Map;this.moduleGraph.setModuleMemCaches(this.moduleMemCaches)}const{moduleGraph:P,moduleMemCaches:R}=this;const $=new Set;const N=new Set;let L=0;let q=0;let K=0;let ae=0;let ge=0;const computeReferences=v=>{let E=undefined;for(const R of P.getOutgoingConnections(v)){const v=R.dependency;const P=R.module;if(!v||!P||nn.has(v))continue;if(E===undefined)E=new WeakMap;E.set(v,P)}return E};const compareReferences=(v,E)=>{if(E===undefined)return true;for(const R of P.getOutgoingConnections(v)){const v=R.dependency;if(!v)continue;const P=E.get(v);if(P===undefined)continue;if(P!==R.module)return false}return true};const be=new Set(v);for(const[v,P]of E){if(be.has(v)){const L=v.buildInfo;if(L){if(P.buildInfo!==L){const E=new Dt;R.set(v,E);$.add(v);P.buildInfo=L;P.references=computeReferences(v);P.memCache=E;q++}else if(!compareReferences(v,P.references)){const E=new Dt;R.set(v,E);$.add(v);P.references=computeReferences(v);P.memCache=E;ae++}else{R.set(v,P.memCache);K++}}else{N.add(v);E.delete(v);ge++}be.delete(v)}else{E.delete(v)}}for(const v of be){const P=v.buildInfo;if(P){const N=new Dt;E.set(v,{buildInfo:P,references:computeReferences(v),memCache:N});R.set(v,N);$.add(v);L++}else{N.add(v);ge++}}const reduceAffectType=v=>{let E=false;for(const{dependency:P}of v){if(!P)continue;const v=P.couldAffectReferencingModule();if(v===Ye.TRANSITIVE)return Ye.TRANSITIVE;if(v===false)continue;E=true}return E};const xe=new Set;for(const v of N){for(const[E,R]of P.getIncomingConnectionsByOriginModule(v)){if(!E)continue;if(N.has(E))continue;const v=reduceAffectType(R);if(!v)continue;if(v===true){xe.add(E)}else{N.add(E)}}}for(const v of xe)N.add(v);const ve=new Set;for(const v of $){for(const[L,q]of P.getIncomingConnectionsByOriginModule(v)){if(!L)continue;if(N.has(L))continue;if($.has(L))continue;const v=reduceAffectType(q);if(!v)continue;if(v===true){ve.add(L)}else{$.add(L)}const P=new Dt;const K=E.get(L);K.memCache=P;R.set(L,P)}}for(const v of ve)$.add(v);this.logger.log(`${Math.round(100*($.size+N.size)/this.modules.size)}% (${$.size} affected + ${N.size} infected of ${this.modules.size}) modules flagged as affected (${L} new modules, ${q} changed, ${ae} references changed, ${K} unchanged, ${ge} were not built)`)}_computeAffectedModulesWithChunkGraph(){const{moduleMemCaches:v}=this;if(!v)return;const E=this.moduleMemCaches2=new Map;const{moduleGraph:P,chunkGraph:R}=this;const $="memCache2";let N=0;let L=0;let q=0;const computeReferences=v=>{const E=R.getModuleId(v);let $=undefined;let N=undefined;const L=P.getOutgoingConnectionsByModule(v);if(L!==undefined){for(const v of L.keys()){if(!v)continue;if($===undefined)$=new Map;$.set(v,R.getModuleId(v))}}if(v.blocks.length>0){N=[];const E=Array.from(v.blocks);for(const v of E){const P=R.getBlockChunkGroup(v);if(P){for(const v of P.chunks){N.push(v.id)}}else{N.push(null)}E.push.apply(E,v.blocks)}}return{id:E,modules:$,blocks:N}};const compareReferences=(v,{id:E,modules:P,blocks:$})=>{if(E!==R.getModuleId(v))return false;if(P!==undefined){for(const[v,E]of P){if(R.getModuleId(v)!==E)return false}}if($!==undefined){const E=Array.from(v.blocks);let P=0;for(const v of E){const N=R.getBlockChunkGroup(v);if(N){for(const v of N.chunks){if(P>=$.length||$[P++]!==v.id)return false}}else{if(P>=$.length||$[P++]!==null)return false}E.push.apply(E,v.blocks)}if(P!==$.length)return false}return true};for(const[P,R]of v){const v=R.get($);if(v===undefined){const v=new Dt;R.set($,{references:computeReferences(P),memCache:v});E.set(P,v);q++}else if(!compareReferences(P,v.references)){const R=new Dt;v.references=computeReferences(P);v.memCache=R;E.set(P,R);L++}else{E.set(P,v.memCache);N++}}this.logger.log(`${Math.round(100*L/(q+L+N))}% modules flagged as affected by chunk graph (${q} new modules, ${L} changed, ${N} unchanged)`)}finish(v){this.factorizeQueue.clear();if(this.profile){this.logger.time("finish module profiles");const v=P(45341);const E=new v;const R=this.moduleGraph;const $=new Map;for(const v of this.modules){const P=R.getProfile(v);if(!P)continue;$.set(v,P);E.range(P.buildingStartTime,P.buildingEndTime,(v=>P.buildingParallelismFactor=v));E.range(P.factoryStartTime,P.factoryEndTime,(v=>P.factoryParallelismFactor=v));E.range(P.integrationStartTime,P.integrationEndTime,(v=>P.integrationParallelismFactor=v));E.range(P.storingStartTime,P.storingEndTime,(v=>P.storingParallelismFactor=v));E.range(P.restoringStartTime,P.restoringEndTime,(v=>P.restoringParallelismFactor=v));if(P.additionalFactoryTimes){for(const{start:v,end:R}of P.additionalFactoryTimes){const $=(R-v)/P.additionalFactories;E.range(v,R,(v=>P.additionalFactoriesParallelismFactor+=v*$))}}}E.calculate();const N=this.getLogger("webpack.Compilation.ModuleProfile");const logByValue=(v,E)=>{if(v>1e3){N.error(E)}else if(v>500){N.warn(E)}else if(v>200){N.info(E)}else if(v>30){N.log(E)}else{N.debug(E)}};const logNormalSummary=(v,E,P)=>{let R=0;let N=0;for(const[L,q]of $){const $=P(q);const K=E(q);if(K===0||$===0)continue;const ae=K/$;R+=ae;if(ae<=10)continue;logByValue(ae,` | ${Math.round(ae)} ms${$>=1.1?` (parallelism ${Math.round($*10)/10})`:""} ${v} > ${L.readableIdentifier(this.requestShortener)}`);N=Math.max(N,ae)}if(R<=10)return;logByValue(Math.max(R/10,N),`${Math.round(R)} ms ${v}`)};const logByLoadersSummary=(v,E,P)=>{const R=new Map;for(const[v,E]of $){const P=Ot(R,v.type+"!"+v.identifier().replace(/(!|^)[^!]*$/,""),(()=>[]));P.push({module:v,profile:E})}let N=0;let L=0;for(const[$,q]of R){let R=0;let K=0;for(const{module:$,profile:N}of q){const L=P(N);const q=E(N);if(q===0||L===0)continue;const ae=q/L;R+=ae;if(ae<=10)continue;logByValue(ae,` | | ${Math.round(ae)} ms${L>=1.1?` (parallelism ${Math.round(L*10)/10})`:""} ${v} > ${$.readableIdentifier(this.requestShortener)}`);K=Math.max(K,ae)}N+=R;if(R<=10)continue;const ae=$.indexOf("!");const ge=$.slice(ae+1);const be=$.slice(0,ae);const xe=Math.max(R/10,K);logByValue(xe,` | ${Math.round(R)} ms ${v} > ${ge?`${q.length} x ${be} with ${this.requestShortener.shorten(ge)}`:`${q.length} x ${be}`}`);L=Math.max(L,xe)}if(N<=10)return;logByValue(Math.max(N/10,L),`${Math.round(N)} ms ${v}`)};logNormalSummary("resolve to new modules",(v=>v.factory),(v=>v.factoryParallelismFactor));logNormalSummary("resolve to existing modules",(v=>v.additionalFactories),(v=>v.additionalFactoriesParallelismFactor));logNormalSummary("integrate modules",(v=>v.restoring),(v=>v.restoringParallelismFactor));logByLoadersSummary("build modules",(v=>v.building),(v=>v.buildingParallelismFactor));logNormalSummary("store modules",(v=>v.storing),(v=>v.storingParallelismFactor));logNormalSummary("restore modules",(v=>v.restoring),(v=>v.restoringParallelismFactor));this.logger.timeEnd("finish module profiles")}this.logger.time("compute affected modules");this._computeAffectedModules(this.modules);this.logger.timeEnd("compute affected modules");this.logger.time("finish modules");const{modules:E,moduleMemCaches:R}=this;this.hooks.finishModules.callAsync(E,(P=>{this.logger.timeEnd("finish modules");if(P)return v(P);this.moduleGraph.freeze("dependency errors");this.logger.time("report dependency errors and warnings");for(const v of E){const E=R&&R.get(v);if(E&&E.get("noWarningsOrErrors"))continue;let P=this.reportDependencyErrorsAndWarnings(v,[v]);const $=v.getErrors();if($!==undefined){for(const E of $){if(!E.module){E.module=v}this.errors.push(E);P=true}}const N=v.getWarnings();if(N!==undefined){for(const E of N){if(!E.module){E.module=v}this.warnings.push(E);P=true}}if(!P&&E)E.set("noWarningsOrErrors",true)}this.moduleGraph.unfreeze();this.logger.timeEnd("report dependency errors and warnings");v()}))}unseal(){this.hooks.unseal.call();this.chunks.clear();this.chunkGroups.length=0;this.namedChunks.clear();this.namedChunkGroups.clear();this.entrypoints.clear();this.additionalChunkAssets.length=0;this.assets={};this.assetsInfo.clear();this.moduleGraph.removeAllModuleAttributes();this.moduleGraph.unfreeze();this.moduleMemCaches2=undefined}seal(v){const finalCallback=E=>{this.factorizeQueue.clear();this.buildQueue.clear();this.rebuildQueue.clear();this.processDependenciesQueue.clear();this.addModuleQueue.clear();return v(E)};const E=new Ie(this.moduleGraph,this.outputOptions.hashFunction);this.chunkGraph=E;if(this._backCompat){for(const v of this.modules){Ie.setChunkGraphForModule(v,E)}}this.hooks.seal.call();this.logger.time("optimize dependencies");while(this.hooks.optimizeDependencies.call(this.modules)){}this.hooks.afterOptimizeDependencies.call(this.modules);this.logger.timeEnd("optimize dependencies");this.logger.time("create chunks");this.hooks.beforeChunks.call();this.moduleGraph.freeze("seal");const P=new Map;for(const[v,{dependencies:R,includeDependencies:$,options:N}]of this.entries){const L=this.addChunk(v);if(N.filename){L.filenameTemplate=N.filename}const q=new Ze(N);if(!N.dependOn&&!N.runtime){q.setRuntimeChunk(L)}q.setEntrypointChunk(L);this.namedChunkGroups.set(v,q);this.entrypoints.set(v,q);this.chunkGroups.push(q);nt(q,L);const K=new Set;for(const $ of[...this.globalEntry.dependencies,...R]){q.addOrigin(null,{name:v},$.request);const R=this.moduleGraph.getModule($);if(R){E.connectChunkAndEntryModule(L,R,q);K.add(R);const v=P.get(q);if(v===undefined){P.set(q,[R])}else{v.push(R)}}}this.assignDepths(K);const mapAndSort=v=>v.map((v=>this.moduleGraph.getModule(v))).filter(Boolean).sort(Lt);const ae=[...mapAndSort(this.globalEntry.includeDependencies),...mapAndSort($)];let ge=P.get(q);if(ge===undefined){P.set(q,ge=[])}for(const v of ae){this.assignDepth(v);ge.push(v)}}const R=new Set;e:for(const[v,{options:{dependOn:E,runtime:P}}]of this.entries){if(E&&P){const E=new vt(`Entrypoint '${v}' has 'dependOn' and 'runtime' specified. This is not valid.\nEntrypoints that depend on other entrypoints do not have their own runtime.\nThey will use the runtime(s) from referenced entrypoints instead.\nRemove the 'runtime' option from the entrypoint.`);const P=this.entrypoints.get(v);E.chunk=P.getEntrypointChunk();this.errors.push(E)}if(E){const P=this.entrypoints.get(v);const R=P.getEntrypointChunk().getAllReferencedChunks();const $=[];for(const N of E){const E=this.entrypoints.get(N);if(!E){throw new Error(`Entry ${v} depends on ${N}, but this entry was not found`)}if(R.has(E.getEntrypointChunk())){const E=new vt(`Entrypoints '${v}' and '${N}' use 'dependOn' to depend on each other in a circular way.`);const R=P.getEntrypointChunk();E.chunk=R;this.errors.push(E);P.setRuntimeChunk(R);continue e}$.push(E)}for(const v of $){st(v,P)}}else if(P){const E=this.entrypoints.get(v);let $=this.namedChunks.get(P);if($){if(!R.has($)){const R=new vt(`Entrypoint '${v}' has a 'runtime' option which points to another entrypoint named '${P}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify(P)}' instead to allow using entrypoint '${v}' within the runtime of entrypoint '${P}'? For this '${P}' must always be loaded when '${v}' is used.\nOr do you want to use the entrypoints '${v}' and '${P}' independently on the same page with a shared runtime? In this case give them both the same value for the 'runtime' option. It must be a name not already used by an entrypoint.`);const $=E.getEntrypointChunk();R.chunk=$;this.errors.push(R);E.setRuntimeChunk($);continue}}else{$=this.addChunk(P);$.preventIntegration=true;R.add($)}E.unshiftChunk($);$.addGroup(E);E.setRuntimeChunk($)}}wt(this,P);this.hooks.afterChunks.call(this.chunks);this.logger.timeEnd("create chunks");this.logger.time("optimize");this.hooks.optimize.call();while(this.hooks.optimizeModules.call(this.modules)){}this.hooks.afterOptimizeModules.call(this.modules);while(this.hooks.optimizeChunks.call(this.chunks,this.chunkGroups)){}this.hooks.afterOptimizeChunks.call(this.chunks,this.chunkGroups);this.hooks.optimizeTree.callAsync(this.chunks,this.modules,(E=>{if(E){return finalCallback(rt(E,"Compilation.hooks.optimizeTree"))}this.hooks.afterOptimizeTree.call(this.chunks,this.modules);this.hooks.optimizeChunkModules.callAsync(this.chunks,this.modules,(E=>{if(E){return finalCallback(rt(E,"Compilation.hooks.optimizeChunkModules"))}this.hooks.afterOptimizeChunkModules.call(this.chunks,this.modules);const P=this.hooks.shouldRecord.call()!==false;this.hooks.reviveModules.call(this.modules,this.records);this.hooks.beforeModuleIds.call(this.modules);this.hooks.moduleIds.call(this.modules);this.hooks.optimizeModuleIds.call(this.modules);this.hooks.afterOptimizeModuleIds.call(this.modules);this.hooks.reviveChunks.call(this.chunks,this.records);this.hooks.beforeChunkIds.call(this.chunks);this.hooks.chunkIds.call(this.chunks);this.hooks.optimizeChunkIds.call(this.chunks);this.hooks.afterOptimizeChunkIds.call(this.chunks);this.assignRuntimeIds();this.logger.time("compute affected modules with chunk graph");this._computeAffectedModulesWithChunkGraph();this.logger.timeEnd("compute affected modules with chunk graph");this.sortItemsWithChunkIds();if(P){this.hooks.recordModules.call(this.modules,this.records);this.hooks.recordChunks.call(this.chunks,this.records)}this.hooks.optimizeCodeGeneration.call(this.modules);this.logger.timeEnd("optimize");this.logger.time("module hashing");this.hooks.beforeModuleHash.call();this.createModuleHashes();this.hooks.afterModuleHash.call();this.logger.timeEnd("module hashing");this.logger.time("code generation");this.hooks.beforeCodeGeneration.call();this.codeGeneration((E=>{if(E){return finalCallback(E)}this.hooks.afterCodeGeneration.call();this.logger.timeEnd("code generation");this.logger.time("runtime requirements");this.hooks.beforeRuntimeRequirements.call();this.processRuntimeRequirements();this.hooks.afterRuntimeRequirements.call();this.logger.timeEnd("runtime requirements");this.logger.time("hashing");this.hooks.beforeHash.call();const R=this.createHash();this.hooks.afterHash.call();this.logger.timeEnd("hashing");this._runCodeGenerationJobs(R,(E=>{if(E){return finalCallback(E)}if(P){this.logger.time("record hash");this.hooks.recordHash.call(this.records);this.logger.timeEnd("record hash")}this.logger.time("module assets");this.clearAssets();this.hooks.beforeModuleAssets.call();this.createModuleAssets();this.logger.timeEnd("module assets");const cont=()=>{this.logger.time("process assets");this.hooks.processAssets.callAsync(this.assets,(E=>{if(E){return finalCallback(rt(E,"Compilation.hooks.processAssets"))}this.hooks.afterProcessAssets.call(this.assets);this.logger.timeEnd("process assets");this.assets=this._backCompat?zt(this.assets,"Compilation.assets","DEP_WEBPACK_COMPILATION_ASSETS",`BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.\n\tDo changes to assets earlier, e. g. in Compilation.hooks.processAssets.\n\tMake sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.`):Object.freeze(this.assets);this.summarizeDependencies();if(P){this.hooks.record.call(this,this.records)}if(this.hooks.needAdditionalSeal.call()){this.unseal();return this.seal(v)}return this.hooks.afterSeal.callAsync((v=>{if(v){return finalCallback(rt(v,"Compilation.hooks.afterSeal"))}this.fileSystemInfo.logStatistics();finalCallback()}))}))};this.logger.time("create chunk assets");if(this.hooks.shouldGenerateChunkAssets.call()!==false){this.hooks.beforeChunkAssets.call();this.createChunkAssets((v=>{this.logger.timeEnd("create chunk assets");if(v){return finalCallback(v)}cont()}))}else{this.logger.timeEnd("create chunk assets");cont()}}))}))}))}))}reportDependencyErrorsAndWarnings(v,E){let P=false;for(let R=0;R1){const $=new Map;for(const N of R){const R=E.getModuleHash(v,N);const L=$.get(R);if(L===undefined){const E={module:v,hash:R,runtime:N,runtimes:[N]};P.push(E);$.set(R,E)}else{L.runtimes.push(N)}}}}this._runCodeGenerationJobs(P,v)}_runCodeGenerationJobs(v,E){if(v.length===0){return E()}let P=0;let $=0;const{chunkGraph:N,moduleGraph:L,dependencyTemplates:q,runtimeTemplate:K}=this;const ae=this.codeGenerationResults;const ge=[];let be=undefined;const runIteration=()=>{let xe=[];let ve=new Set;R.eachLimit(v,this.options.parallelism,((v,E)=>{const{module:R}=v;const{codeGenerationDependencies:Ae}=R;if(Ae!==undefined){if(be===undefined||Ae.some((v=>{const E=L.getModule(v);return be.has(E)}))){xe.push(v);ve.add(R);return E()}}const{hash:Ie,runtime:He,runtimes:Qe}=v;this._codeGenerationModule(R,He,Qe,Ie,q,N,L,K,ge,ae,((v,R)=>{if(R)$++;else P++;E(v)}))}),(R=>{if(R)return E(R);if(xe.length>0){if(xe.length===v.length){return E(new Error(`Unable to make progress during code generation because of circular code generation dependency: ${Array.from(ve,(v=>v.identifier())).join(", ")}`))}v=xe;xe=[];be=ve;ve=new Set;return runIteration()}if(ge.length>0){ge.sort(Ft((v=>v.module),Lt));for(const v of ge){this.errors.push(v)}}this.logger.log(`${Math.round(100*$/($+P))}% code generated (${$} generated, ${P} from cache)`);E()}))};runIteration()}_codeGenerationModule(v,E,P,R,$,N,L,q,K,ae,ge){let be=false;const xe=new ve(P.map((E=>this._codeGenerationCache.getItemCache(`${v.identifier()}|${Ht(E)}`,`${R}|${$.getHash()}`))));xe.get(((R,ve)=>{if(R)return ge(R);let Ae;if(!ve){try{be=true;this.codeGeneratedModules.add(v);Ae=v.codeGeneration({chunkGraph:N,moduleGraph:L,dependencyTemplates:$,runtimeTemplate:q,runtime:E,runtimes:P,codeGenerationResults:ae,compilation:this})}catch(R){K.push(new Ve(v,R));Ae=ve={sources:new Map,runtimeRequirements:null}}}else{Ae=ve}for(const E of P){ae.add(v,E,Ae)}if(!ve){xe.store(Ae,(v=>ge(v,be)))}else{ge(null,be)}}))}_getChunkGraphEntries(){const v=new Set;for(const E of this.entrypoints.values()){const P=E.getRuntimeChunk();if(P)v.add(P)}for(const E of this.asyncEntrypoints){const P=E.getRuntimeChunk();if(P)v.add(P)}return v}processRuntimeRequirements({chunkGraph:v=this.chunkGraph,modules:E=this.modules,chunks:P=this.chunks,codeGenerationResults:R=this.codeGenerationResults,chunkGraphEntries:$=this._getChunkGraphEntries()}={}){const N={chunkGraph:v,codeGenerationResults:R};const{moduleMemCaches2:L}=this;this.logger.time("runtime requirements.modules");const q=this.hooks.additionalModuleRuntimeRequirements;const K=this.hooks.runtimeRequirementInModule;for(const P of E){if(v.getNumberOfModuleChunks(P)>0){const E=L&&L.get(P);for(const $ of v.getModuleRuntimes(P)){if(E){const R=E.get(`moduleRuntimeRequirements-${Ht($)}`);if(R!==undefined){if(R!==null){v.addModuleRuntimeRequirements(P,$,R,false)}continue}}let L;const ae=R.getRuntimeRequirements(P,$);if(ae&&ae.size>0){L=new Set(ae)}else if(q.isUsed()){L=new Set}else{if(E){E.set(`moduleRuntimeRequirements-${Ht($)}`,null)}continue}q.call(P,L,N);for(const v of L){const E=K.get(v);if(E!==undefined)E.call(P,L,N)}if(L.size===0){if(E){E.set(`moduleRuntimeRequirements-${Ht($)}`,null)}}else{if(E){E.set(`moduleRuntimeRequirements-${Ht($)}`,L);v.addModuleRuntimeRequirements(P,$,L,false)}else{v.addModuleRuntimeRequirements(P,$,L)}}}}}this.logger.timeEnd("runtime requirements.modules");this.logger.time("runtime requirements.chunks");for(const E of P){const P=new Set;for(const R of v.getChunkModulesIterable(E)){const $=v.getModuleRuntimeRequirements(R,E.runtime);for(const v of $)P.add(v)}this.hooks.additionalChunkRuntimeRequirements.call(E,P,N);for(const v of P){this.hooks.runtimeRequirementInChunk.for(v).call(E,P,N)}v.addChunkRuntimeRequirements(E,P)}this.logger.timeEnd("runtime requirements.chunks");this.logger.time("runtime requirements.entries");for(const E of $){const P=new Set;for(const R of E.getAllReferencedChunks()){const E=v.getChunkRuntimeRequirements(R);for(const v of E)P.add(v)}this.hooks.additionalTreeRuntimeRequirements.call(E,P,N);for(const v of P){this.hooks.runtimeRequirementInTree.for(v).call(E,P,N)}v.addTreeRuntimeRequirements(E,P)}this.logger.timeEnd("runtime requirements.entries")}addRuntimeModule(v,E,P=this.chunkGraph){if(this._backCompat)ut.setModuleGraphForModule(E,this.moduleGraph);this.modules.add(E);this._modules.set(E.identifier(),E);P.connectChunkAndModule(v,E);P.connectChunkAndRuntimeModule(v,E);if(E.fullHash){P.addFullHashModuleToChunk(v,E)}else if(E.dependentHash){P.addDependentHashModuleToChunk(v,E)}E.attach(this,v,P);const R=this.moduleGraph.getExportsInfo(E);R.setHasProvideInfo();if(typeof v.runtime==="string"){R.setUsedForSideEffectsOnly(v.runtime)}else if(v.runtime===undefined){R.setUsedForSideEffectsOnly(undefined)}else{for(const E of v.runtime){R.setUsedForSideEffectsOnly(E)}}P.addModuleRuntimeRequirements(E,v.runtime,new Set([bt.requireScope]));P.setModuleId(E,"");this.hooks.runtimeModule.call(E,v)}addChunkInGroup(v,E,P,R){if(typeof v==="string"){v={name:v}}const $=v.name;if($){const N=this.namedChunkGroups.get($);if(N!==undefined){N.addOptions(v);if(E){N.addOrigin(E,P,R)}return N}}const N=new He(v);if(E)N.addOrigin(E,P,R);const L=this.addChunk($);nt(N,L);this.chunkGroups.push(N);if($){this.namedChunkGroups.set($,N)}return N}addAsyncEntrypoint(v,E,P,R){const $=v.name;if($){const v=this.namedChunkGroups.get($);if(v instanceof Ze){if(v!==undefined){if(E){v.addOrigin(E,P,R)}return v}}else if(v){throw new Error(`Cannot add an async entrypoint with the name '${$}', because there is already an chunk group with this name`)}}const N=this.addChunk($);if(v.filename){N.filenameTemplate=v.filename}const L=new Ze(v,false);L.setRuntimeChunk(N);L.setEntrypointChunk(N);if($){this.namedChunkGroups.set($,L)}this.chunkGroups.push(L);this.asyncEntrypoints.push(L);nt(L,N);if(E){L.addOrigin(E,P,R)}return L}addChunk(v){if(v){const E=this.namedChunks.get(v);if(E!==undefined){return E}}const E=new Ae(v,this._backCompat);this.chunks.add(E);if(this._backCompat)Ie.setChunkGraphForChunk(E,this.chunkGraph);if(v){this.namedChunks.set(v,E)}return E}assignDepth(v){const E=this.moduleGraph;const P=new Set([v]);let R;E.setDepth(v,0);const processModule=v=>{if(!E.setDepthIfLower(v,R))return;P.add(v)};for(v of P){P.delete(v);R=E.getDepth(v)+1;for(const P of E.getOutgoingConnections(v)){const v=P.module;if(v){processModule(v)}}}}assignDepths(v){const E=this.moduleGraph;const P=new Set(v);P.add(1);let R=0;let $=0;for(const v of P){$++;if(typeof v==="number"){R=v;if(P.size===$)return;P.add(R+1)}else{E.setDepth(v,R);for(const{module:R}of E.getOutgoingConnections(v)){if(R){P.add(R)}}}}}getDependencyReferencedExports(v,E){const P=v.getReferencedExports(this.moduleGraph,E);return this.hooks.dependencyReferencedExports.call(P,v,E)}removeReasonsOfDependencyBlock(v,E){if(E.blocks){for(const P of E.blocks){this.removeReasonsOfDependencyBlock(v,P)}}if(E.dependencies){for(const v of E.dependencies){const E=this.moduleGraph.getModule(v);if(E){this.moduleGraph.removeConnection(v);if(this.chunkGraph){for(const v of this.chunkGraph.getModuleChunks(E)){this.patchChunksAfterReasonRemoval(E,v)}}}}}}patchChunksAfterReasonRemoval(v,E){if(!v.hasReasons(this.moduleGraph,E.runtime)){this.removeReasonsOfDependencyBlock(v,v)}if(!v.hasReasonForChunk(E,this.moduleGraph,this.chunkGraph)){if(this.chunkGraph.isModuleInChunk(v,E)){this.chunkGraph.disconnectChunkAndModule(E,v);this.removeChunkFromDependencies(v,E)}}}removeChunkFromDependencies(v,E){const iteratorDependency=v=>{const P=this.moduleGraph.getModule(v);if(!P){return}this.patchChunksAfterReasonRemoval(P,E)};const P=v.blocks;for(let E=0;E{const P=E.options.runtime||E.name;const R=E.getRuntimeChunk();v.setRuntimeId(P,R.id)};for(const v of this.entrypoints.values()){processEntrypoint(v)}for(const v of this.asyncEntrypoints){processEntrypoint(v)}}sortItemsWithChunkIds(){for(const v of this.chunkGroups){v.sortItems()}this.errors.sort(tn);this.warnings.sort(tn);this.children.sort(Yt)}summarizeDependencies(){for(let v=0;v0){K.sort(Ft((v=>v.module),Lt));for(const v of K){this.errors.push(v)}}this.logger.log(`${v} modules hashed, ${E} from cache (${Math.round(100*(v+E)/this.modules.size)/100} variants per module in average)`)}_createModuleHash(v,E,P,R,$,N,L,q){let K;try{const L=Bt(R);v.updateHash(L,{chunkGraph:E,runtime:P,runtimeTemplate:$});K=L.digest(N)}catch(E){q.push(new pt(v,E));K="XXXXXX"}E.setModuleHashes(v,P,K,K.slice(0,L));return K}createHash(){this.logger.time("hashing: initialize hash");const v=this.chunkGraph;const E=this.runtimeTemplate;const P=this.outputOptions;const R=P.hashFunction;const $=P.hashDigest;const N=P.hashDigestLength;const L=Bt(R);if(P.hashSalt){L.update(P.hashSalt)}this.logger.timeEnd("hashing: initialize hash");if(this.children.length>0){this.logger.time("hashing: hash child compilations");for(const v of this.children){L.update(v.hash)}this.logger.timeEnd("hashing: hash child compilations")}if(this.warnings.length>0){this.logger.time("hashing: hash warnings");for(const v of this.warnings){L.update(`${v.message}`)}this.logger.timeEnd("hashing: hash warnings")}if(this.errors.length>0){this.logger.time("hashing: hash errors");for(const v of this.errors){L.update(`${v.message}`)}this.logger.timeEnd("hashing: hash errors")}this.logger.time("hashing: sort chunks");const q=[];const K=[];for(const v of this.chunks){if(v.hasRuntime()){q.push(v)}else{K.push(v)}}q.sort(Kt);K.sort(Kt);const ae=new Map;for(const v of q){ae.set(v,{chunk:v,referencedBy:[],remaining:0})}let ge=0;for(const v of ae.values()){for(const E of new Set(Array.from(v.chunk.getAllReferencedAsyncEntrypoints()).map((v=>v.chunks[v.chunks.length-1])))){const P=ae.get(E);P.referencedBy.push(v);v.remaining++;ge++}}const be=[];for(const v of ae.values()){if(v.remaining===0){be.push(v.chunk)}}if(ge>0){const E=[];for(const P of be){const R=v.getNumberOfChunkFullHashModules(P)!==0;const $=ae.get(P);for(const P of $.referencedBy){if(R){v.upgradeDependentToFullHashModules(P.chunk)}ge--;if(--P.remaining===0){E.push(P.chunk)}}if(E.length>0){E.sort(Kt);for(const v of E)be.push(v);E.length=0}}}if(ge>0){let v=[];for(const E of ae.values()){if(E.remaining!==0){v.push(E)}}v.sort(Ft((v=>v.chunk),Kt));const E=new vt(`Circular dependency between chunks with runtime (${Array.from(v,(v=>v.chunk.name||v.chunk.id)).join(", ")})\nThis prevents using hashes of each other and should be avoided.`);E.chunk=v[0].chunk;this.warnings.push(E);for(const E of v)be.push(E.chunk)}this.logger.timeEnd("hashing: sort chunks");const xe=new Set;const ve=[];const Ae=new Map;const Ie=[];const processChunk=q=>{this.logger.time("hashing: hash runtime modules");const K=q.runtime;for(const P of v.getChunkModulesIterable(q)){if(!v.hasModuleHashes(P,K)){const L=this._createModuleHash(P,v,K,R,E,$,N,Ie);let q=Ae.get(L);if(q){const v=q.get(P);if(v){v.runtimes.push(K);continue}}else{q=new Map;Ae.set(L,q)}const ae={module:P,hash:L,runtime:K,runtimes:[K]};q.set(P,ae);ve.push(ae)}}this.logger.timeAggregate("hashing: hash runtime modules");try{this.logger.time("hashing: hash chunks");const E=Bt(R);if(P.hashSalt){E.update(P.hashSalt)}q.updateHash(E,v);this.hooks.chunkHash.call(q,E,{chunkGraph:v,codeGenerationResults:this.codeGenerationResults,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate});const K=E.digest($);L.update(K);q.hash=K;q.renderedHash=q.hash.slice(0,N);const ae=v.getChunkFullHashModulesIterable(q);if(ae){xe.add(q)}else{this.hooks.contentHash.call(q)}}catch(v){this.errors.push(new Qe(q,"",v))}this.logger.timeAggregate("hashing: hash chunks")};K.forEach(processChunk);for(const v of be)processChunk(v);if(Ie.length>0){Ie.sort(Ft((v=>v.module),Lt));for(const v of Ie){this.errors.push(v)}}this.logger.timeAggregateEnd("hashing: hash runtime modules");this.logger.timeAggregateEnd("hashing: hash chunks");this.logger.time("hashing: hash digest");this.hooks.fullHash.call(L);this.fullHash=L.digest($);this.hash=this.fullHash.slice(0,N);this.logger.timeEnd("hashing: hash digest");this.logger.time("hashing: process full hash modules");for(const P of xe){for(const L of v.getChunkFullHashModulesIterable(P)){const q=Bt(R);L.updateHash(q,{chunkGraph:v,runtime:P.runtime,runtimeTemplate:E});const K=q.digest($);const ae=v.getModuleHash(L,P.runtime);v.setModuleHashes(L,P.runtime,K,K.slice(0,N));Ae.get(ae).get(L).hash=K}const L=Bt(R);L.update(P.hash);L.update(this.hash);const q=L.digest($);P.hash=q;P.renderedHash=P.hash.slice(0,N);this.hooks.contentHash.call(P)}this.logger.timeEnd("hashing: process full hash modules");return ve}emitAsset(v,E,P={}){if(this.assets[v]){if(!Wt(this.assets[v],E)){this.errors.push(new vt(`Conflict: Multiple assets emit different content to the same filename ${v}${P.sourceFilename?`. Original source ${P.sourceFilename}`:""}`));this.assets[v]=E;this._setAssetInfo(v,P);return}const R=this.assetsInfo.get(v);const $=Object.assign({},R,P);this._setAssetInfo(v,$,R);return}this.assets[v]=E;this._setAssetInfo(v,P,undefined)}_setAssetInfo(v,E,P=this.assetsInfo.get(v)){if(E===undefined){this.assetsInfo.delete(v)}else{this.assetsInfo.set(v,E)}const R=P&&P.related;const $=E&&E.related;if(R){for(const E of Object.keys(R)){const remove=P=>{const R=this._assetsRelatedIn.get(P);if(R===undefined)return;const $=R.get(E);if($===undefined)return;$.delete(v);if($.size!==0)return;R.delete(E);if(R.size===0)this._assetsRelatedIn.delete(P)};const P=R[E];if(Array.isArray(P)){P.forEach(remove)}else if(P){remove(P)}}}if($){for(const E of Object.keys($)){const add=P=>{let R=this._assetsRelatedIn.get(P);if(R===undefined){this._assetsRelatedIn.set(P,R=new Map)}let $=R.get(E);if($===undefined){R.set(E,$=new Set)}$.add(v)};const P=$[E];if(Array.isArray(P)){P.forEach(add)}else if(P){add(P)}}}}updateAsset(v,E,P=undefined){if(!this.assets[v]){throw new Error(`Called Compilation.updateAsset for not existing filename ${v}`)}if(typeof E==="function"){this.assets[v]=E(this.assets[v])}else{this.assets[v]=E}if(P!==undefined){const E=this.assetsInfo.get(v)||Qt;if(typeof P==="function"){this._setAssetInfo(v,P(E),E)}else{this._setAssetInfo(v,Rt(E,P),E)}}}renameAsset(v,E){const P=this.assets[v];if(!P){throw new Error(`Called Compilation.renameAsset for not existing filename ${v}`)}if(this.assets[E]){if(!Wt(this.assets[v],P)){this.errors.push(new vt(`Conflict: Called Compilation.renameAsset for already existing filename ${E} with different content`))}}const R=this.assetsInfo.get(v);const $=this._assetsRelatedIn.get(v);if($){for(const[P,R]of $){for(const $ of R){const R=this.assetsInfo.get($);if(!R)continue;const N=R.related;if(!N)continue;const L=N[P];let q;if(Array.isArray(L)){q=L.map((P=>P===v?E:P))}else if(L===v){q=E}else continue;this.assetsInfo.set($,{...R,related:{...N,[P]:q}})}}}this._setAssetInfo(v,undefined,R);this._setAssetInfo(E,R);delete this.assets[v];this.assets[E]=P;for(const P of this.chunks){{const R=P.files.size;P.files.delete(v);if(R!==P.files.size){P.files.add(E)}}{const R=P.auxiliaryFiles.size;P.auxiliaryFiles.delete(v);if(R!==P.auxiliaryFiles.size){P.auxiliaryFiles.add(E)}}}}deleteAsset(v){if(!this.assets[v]){return}delete this.assets[v];const E=this.assetsInfo.get(v);this._setAssetInfo(v,undefined,E);const P=E&&E.related;if(P){for(const v of Object.keys(P)){const checkUsedAndDelete=v=>{if(!this._assetsRelatedIn.has(v)){this.deleteAsset(v)}};const E=P[v];if(Array.isArray(E)){E.forEach(checkUsedAndDelete)}else if(E){checkUsedAndDelete(E)}}}for(const E of this.chunks){E.files.delete(v);E.auxiliaryFiles.delete(v)}}getAssets(){const v=[];for(const E of Object.keys(this.assets)){if(Object.prototype.hasOwnProperty.call(this.assets,E)){v.push({name:E,source:this.assets[E],info:this.assetsInfo.get(E)||Qt})}}return v}getAsset(v){if(!Object.prototype.hasOwnProperty.call(this.assets,v))return undefined;return{name:v,source:this.assets[v],info:this.assetsInfo.get(v)||Qt}}clearAssets(){for(const v of this.chunks){v.files.clear();v.auxiliaryFiles.clear()}}createModuleAssets(){const{chunkGraph:v}=this;for(const E of this.modules){if(E.buildInfo.assets){const P=E.buildInfo.assetsInfo;for(const R of Object.keys(E.buildInfo.assets)){const $=this.getPath(R,{chunkGraph:this.chunkGraph,module:E});for(const P of v.getModuleChunksIterable(E)){P.auxiliaryFiles.add($)}this.emitAsset($,E.buildInfo.assets[R],P?P.get(R):undefined);this.hooks.moduleAsset.call(E,$)}}}}getRenderManifest(v){return this.hooks.renderManifest.call([],v)}createChunkAssets(v){const E=this.outputOptions;const P=new WeakMap;const $=new Map;R.forEachLimit(this.chunks,15,((v,N)=>{let L;try{L=this.getRenderManifest({chunk:v,hash:this.hash,fullHash:this.fullHash,outputOptions:E,codeGenerationResults:this.codeGenerationResults,moduleTemplates:this.moduleTemplates,dependencyTemplates:this.dependencyTemplates,chunkGraph:this.chunkGraph,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate})}catch(E){this.errors.push(new Qe(v,"",E));return N()}R.forEach(L,((E,R)=>{const N=E.identifier;const L=E.hash;const q=this._assetsCache.getItemCache(N,L);q.get(((N,K)=>{let ae;let ge;let be;let ve=true;const errorAndCallback=E=>{const P=ge||(typeof ge==="string"?ge:typeof ae==="string"?ae:"");this.errors.push(new Qe(v,P,E));ve=false;return R()};try{if("filename"in E){ge=E.filename;be=E.info}else{ae=E.filenameTemplate;const v=this.getPathWithInfo(ae,E.pathOptions);ge=v.path;be=E.info?{...v.info,...E.info}:v.info}if(N){return errorAndCallback(N)}let Ae=K;const Ie=$.get(ge);if(Ie!==undefined){if(Ie.hash!==L){ve=false;return R(new vt(`Conflict: Multiple chunks emit assets to the same filename ${ge}`+` (chunks ${Ie.chunk.id} and ${v.id})`))}else{Ae=Ie.source}}else if(!Ae){Ae=E.render();if(!(Ae instanceof xe)){const v=P.get(Ae);if(v){Ae=v}else{const v=new xe(Ae);P.set(Ae,v);Ae=v}}}this.emitAsset(ge,Ae,be);if(E.auxiliary){v.auxiliaryFiles.add(ge)}else{v.files.add(ge)}this.hooks.chunkAsset.call(v,ge);$.set(ge,{hash:L,source:Ae,chunk:v});if(Ae!==K){q.store(Ae,(v=>{if(v)return errorAndCallback(v);ve=false;return R()}))}else{ve=false;R()}}catch(N){if(!ve)throw N;errorAndCallback(N)}}))}),N)}),v)}getPath(v,E={}){if(!E.hash){E={hash:this.hash,...E}}return this.getAssetPath(v,E)}getPathWithInfo(v,E={}){if(!E.hash){E={hash:this.hash,...E}}return this.getAssetPathWithInfo(v,E)}getAssetPath(v,E){return this.hooks.assetPath.call(typeof v==="function"?v(E):v,E,undefined)}getAssetPathWithInfo(v,E){const P={};const R=this.hooks.assetPath.call(typeof v==="function"?v(E,P):v,E,P);return{path:R,info:P}}getWarnings(){return this.hooks.processWarnings.call(this.warnings)}getErrors(){return this.hooks.processErrors.call(this.errors)}createChildCompiler(v,E,P){const R=this.childrenCounters[v]||0;this.childrenCounters[v]=R+1;return this.compiler.createChildCompiler(this,v,R,E,P)}executeModule(v,E,P){const $=new Set([v]);Gt($,10,((v,E,P)=>{this.buildQueue.waitFor(v,(R=>{if(R)return P(R);this.processDependenciesQueue.waitFor(v,(R=>{if(R)return P(R);for(const{module:P}of this.moduleGraph.getOutgoingConnections(v)){const v=$.size;$.add(P);if($.size!==v)E(P)}P()}))}))}),(N=>{if(N)return P(N);const L=new Ie(this.moduleGraph,this.outputOptions.hashFunction);const q="build time";const{hashFunction:K,hashDigest:ae,hashDigestLength:ge}=this.outputOptions;const be=this.runtimeTemplate;const xe=new Ae("build time chunk",this._backCompat);xe.id=xe.name;xe.ids=[xe.id];xe.runtime=q;const ve=new Ze({runtime:q,chunkLoading:false,...E.entryOptions});L.connectChunkAndEntryModule(xe,v,ve);nt(ve,xe);ve.setRuntimeChunk(xe);ve.setEntrypointChunk(xe);const He=new Set([xe]);for(const v of $){const E=v.identifier();L.setModuleId(v,E);L.connectChunkAndModule(xe,v)}const Qe=[];for(const v of $){this._createModuleHash(v,L,q,K,be,ae,ge,Qe)}const Je=new Ke(this.outputOptions.hashFunction);const codeGen=(v,E)=>{this._codeGenerationModule(v,q,[q],L.getModuleHash(v,q),this.dependencyTemplates,L,this.moduleGraph,be,Qe,Je,((v,P)=>{E(v)}))};const reportErrors=()=>{if(Qe.length>0){Qe.sort(Ft((v=>v.module),Lt));for(const v of Qe){this.errors.push(v)}Qe.length=0}};R.eachLimit($,10,codeGen,(E=>{if(E)return P(E);reportErrors();const N=this.chunkGraph;this.chunkGraph=L;this.processRuntimeRequirements({chunkGraph:L,modules:$,chunks:He,codeGenerationResults:Je,chunkGraphEntries:He});this.chunkGraph=N;const ve=L.getChunkRuntimeModulesIterable(xe);for(const v of ve){$.add(v);this._createModuleHash(v,L,q,K,be,ae,ge,Qe)}R.eachLimit(ve,10,codeGen,(E=>{if(E)return P(E);reportErrors();const N=new Map;const K=new Map;const ae=new It;const ge=new It;const be=new It;const ve=new It;const Ae=new Map;let Ie=true;const He={assets:Ae,__webpack_require__:undefined,chunk:xe,chunkGraph:L};R.eachLimit($,10,((v,E)=>{const P=Je.get(v,q);const R={module:v,codeGenerationResult:P,preparedInfo:undefined,moduleObject:undefined};N.set(v,R);K.set(v.identifier(),R);v.addCacheDependencies(ae,ge,be,ve);if(v.buildInfo.cacheable===false){Ie=false}if(v.buildInfo&&v.buildInfo.assets){const{assets:E,assetsInfo:P}=v.buildInfo;for(const v of Object.keys(E)){Ae.set(v,{source:E[v],info:P?P.get(v):undefined})}}this.hooks.prepareModuleExecution.callAsync(R,He,E)}),(E=>{if(E)return P(E);let R;try{const{strictModuleErrorHandling:E,strictModuleExceptionHandling:P}=this.outputOptions;const __nested_webpack_require_153728__=v=>{const E=q[v];if(E!==undefined){if(E.error)throw E.error;return E.exports}const P=K.get(v);return __webpack_require_module__(P,v)};const $=__nested_webpack_require_153728__[bt.interceptModuleExecution.replace(`${bt.require}.`,"")]=[];const q=__nested_webpack_require_153728__[bt.moduleCache.replace(`${bt.require}.`,"")]={};He.__webpack_require__=__nested_webpack_require_153728__;const __webpack_require_module__=(v,R)=>{var N={id:R,module:{id:R,exports:{},loaded:false,error:undefined},require:__nested_webpack_require_153728__};$.forEach((v=>v(N)));const L=v.module;this.buildTimeExecutedModules.add(L);const K=N.module;v.moduleObject=K;try{if(R)q[R]=K;ot((()=>this.hooks.executeModule.call(v,He)),"Compilation.hooks.executeModule");K.loaded=true;return K.exports}catch(v){if(P){if(R)delete q[R]}else if(E){K.error=v}if(!v.module)v.module=L;throw v}};for(const v of L.getChunkRuntimeModulesInOrder(xe)){__webpack_require_module__(N.get(v))}R=__nested_webpack_require_153728__(v.identifier())}catch(E){const R=new vt(`Execution of module code from module graph (${v.readableIdentifier(this.requestShortener)}) failed: ${E.message}`);R.stack=E.stack;R.module=E.module;return P(R)}P(null,{exports:R,assets:Ae,cacheable:Ie,fileDependencies:ae,contextDependencies:ge,missingDependencies:be,buildDependencies:ve})}))}))}))}))}checkConstraints(){const v=this.chunkGraph;const E=new Set;for(const P of this.modules){if(P.type===yt)continue;const R=v.getModuleId(P);if(R===null)continue;if(E.has(R)){throw new Error(`checkConstraints: duplicate module id ${R}`)}E.add(R)}for(const E of this.chunks){for(const P of v.getChunkModulesIterable(E)){if(!this.modules.has(P)){throw new Error("checkConstraints: module in chunk but not in compilation "+` ${E.debugId} ${P.debugId}`)}}for(const P of v.getChunkEntryModulesIterable(E)){if(!this.modules.has(P)){throw new Error("checkConstraints: entry module in chunk but not in compilation "+` ${E.debugId} ${P.debugId}`)}}}for(const v of this.chunkGroups){v.checkConstraints()}}}Compilation.prototype.factorizeModule=function(v,E){this.factorizeQueue.add(v,E)};const rn=Compilation.prototype;Object.defineProperty(rn,"modifyHash",{writable:false,enumerable:false,configurable:false,value:()=>{throw new Error("Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash")}});Object.defineProperty(rn,"cache",{enumerable:false,configurable:false,get:be.deprecate((function(){return this.compiler.cache}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE"),set:be.deprecate((v=>{}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE")});Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL=-2e3;Compilation.PROCESS_ASSETS_STAGE_PRE_PROCESS=-1e3;Compilation.PROCESS_ASSETS_STAGE_DERIVED=-200;Compilation.PROCESS_ASSETS_STAGE_ADDITIONS=-100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE=100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COUNT=200;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY=300;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE=400;Compilation.PROCESS_ASSETS_STAGE_DEV_TOOLING=500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE=700;Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE=1e3;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH=2500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_TRANSFER=3e3;Compilation.PROCESS_ASSETS_STAGE_ANALYSE=4e3;Compilation.PROCESS_ASSETS_STAGE_REPORT=5e3;v.exports=Compilation},44687:function(v,E,P){"use strict";const R=P(54650);const $=P(78175);const{SyncHook:N,SyncBailHook:L,AsyncParallelHook:q,AsyncSeriesHook:K}=P(79846);const{SizeOnlySource:ae}=P(51255);const ge=P(87986);const be=P(18292);const xe=P(10613);const ve=P(87022);const Ae=P(18990);const Ie=P(81884);const He=P(86573);const Qe=P(10059);const Je=P(49117);const Ve=P(57283);const Ke=P(94811);const Ye=P(22786);const Xe=P(27752);const Ze=P(88379);const{Logger:et}=P(29550);const{join:tt,dirname:nt,mkdirp:st}=P(59914);const{makePathsRelative:rt}=P(98509);const{isSourceEqual:ot}=P(27575);const isSorted=v=>{for(let E=1;Ev[E])return false}return true};const sortObject=(v,E)=>{const P={};for(const R of E.sort()){P[R]=v[R]}return P};const includesHash=(v,E)=>{if(!E)return false;if(Array.isArray(E)){return E.some((E=>v.includes(E)))}else{return v.includes(E)}};class Compiler{constructor(v,E={}){this.hooks=Object.freeze({initialize:new N([]),shouldEmit:new L(["compilation"]),done:new K(["stats"]),afterDone:new N(["stats"]),additionalPass:new K([]),beforeRun:new K(["compiler"]),run:new K(["compiler"]),emit:new K(["compilation"]),assetEmitted:new K(["file","info"]),afterEmit:new K(["compilation"]),thisCompilation:new N(["compilation","params"]),compilation:new N(["compilation","params"]),normalModuleFactory:new N(["normalModuleFactory"]),contextModuleFactory:new N(["contextModuleFactory"]),beforeCompile:new K(["params"]),compile:new N(["params"]),make:new q(["compilation"]),finishMake:new K(["compilation"]),afterCompile:new K(["compilation"]),readRecords:new K([]),emitRecords:new K([]),watchRun:new K(["compiler"]),failed:new N(["error"]),invalid:new N(["filename","changeTime"]),watchClose:new N([]),shutdown:new K([]),infrastructureLog:new L(["origin","type","args"]),environment:new N([]),afterEnvironment:new N([]),afterPlugins:new N(["compiler"]),afterResolvers:new N(["compiler"]),entryOption:new L(["context","entry"])});this.webpack=ge;this.name=undefined;this.parentCompilation=undefined;this.root=this;this.outputPath="";this.watching=undefined;this.outputFileSystem=null;this.intermediateFileSystem=null;this.inputFileSystem=null;this.watchFileSystem=null;this.recordsInputPath=null;this.recordsOutputPath=null;this.records={};this.managedPaths=new Set;this.unmanagedPaths=new Set;this.immutablePaths=new Set;this.modifiedFiles=undefined;this.removedFiles=undefined;this.fileTimestamps=undefined;this.contextTimestamps=undefined;this.fsStartTime=undefined;this.resolverFactory=new Ke;this.infrastructureLogger=undefined;this.options=E;this.context=v;this.requestShortener=new Ve(v,this.root);this.cache=new be;this.moduleMemCaches=undefined;this.compilerPath="";this.running=false;this.idle=false;this.watchMode=false;this._backCompat=this.options.experiments.backCompat!==false;this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this._assetEmittingSourceCache=new WeakMap;this._assetEmittingWrittenFiles=new Map;this._assetEmittingPreviousFiles=new Set}getCache(v){return new xe(this.cache,`${this.compilerPath}${v}`,this.options.output.hashFunction)}getInfrastructureLogger(v){if(!v){throw new TypeError("Compiler.getInfrastructureLogger(name) called without a name")}return new et(((E,P)=>{if(typeof v==="function"){v=v();if(!v){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(this.hooks.infrastructureLog.call(v,E,P)===undefined){if(this.infrastructureLogger!==undefined){this.infrastructureLogger(v,E,P)}}}),(E=>{if(typeof v==="function"){if(typeof E==="function"){return this.getInfrastructureLogger((()=>{if(typeof v==="function"){v=v();if(!v){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(typeof E==="function"){E=E();if(!E){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${v}/${E}`}))}else{return this.getInfrastructureLogger((()=>{if(typeof v==="function"){v=v();if(!v){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}return`${v}/${E}`}))}}else{if(typeof E==="function"){return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${v}/${E}`}))}else{return this.getInfrastructureLogger(`${v}/${E}`)}}}))}_cleanupLastCompilation(){if(this._lastCompilation!==undefined){for(const v of this._lastCompilation.children){for(const E of v.modules){ve.clearChunkGraphForModule(E);Qe.clearModuleGraphForModule(E);E.cleanupForCache()}for(const E of v.chunks){ve.clearChunkGraphForChunk(E)}}for(const v of this._lastCompilation.modules){ve.clearChunkGraphForModule(v);Qe.clearModuleGraphForModule(v);v.cleanupForCache()}for(const v of this._lastCompilation.chunks){ve.clearChunkGraphForChunk(v)}this._lastCompilation=undefined}}_cleanupLastNormalModuleFactory(){if(this._lastNormalModuleFactory!==undefined){this._lastNormalModuleFactory.cleanupForCache();this._lastNormalModuleFactory=undefined}}watch(v,E){if(this.running){return E(new Ie)}this.running=true;this.watchMode=true;this.watching=new Xe(this,v,E);return this.watching}run(v){if(this.running){return v(new Ie)}let E;const finalCallback=(P,R)=>{if(E)E.time("beginIdle");this.idle=true;this.cache.beginIdle();this.idle=true;if(E)E.timeEnd("beginIdle");this.running=false;if(P){this.hooks.failed.call(P)}if(v!==undefined)v(P,R);this.hooks.afterDone.call(R)};const P=Date.now();this.running=true;const onCompiled=(v,R)=>{if(v)return finalCallback(v);if(this.hooks.shouldEmit.call(R)===false){R.startTime=P;R.endTime=Date.now();const v=new Ye(R);this.hooks.done.callAsync(v,(E=>{if(E)return finalCallback(E);return finalCallback(null,v)}));return}process.nextTick((()=>{E=R.getLogger("webpack.Compiler");E.time("emitAssets");this.emitAssets(R,(v=>{E.timeEnd("emitAssets");if(v)return finalCallback(v);if(R.hooks.needAdditionalPass.call()){R.needAdditionalPass=true;R.startTime=P;R.endTime=Date.now();E.time("done hook");const v=new Ye(R);this.hooks.done.callAsync(v,(v=>{E.timeEnd("done hook");if(v)return finalCallback(v);this.hooks.additionalPass.callAsync((v=>{if(v)return finalCallback(v);this.compile(onCompiled)}))}));return}E.time("emitRecords");this.emitRecords((v=>{E.timeEnd("emitRecords");if(v)return finalCallback(v);R.startTime=P;R.endTime=Date.now();E.time("done hook");const $=new Ye(R);this.hooks.done.callAsync($,(v=>{E.timeEnd("done hook");if(v)return finalCallback(v);this.cache.storeBuildDependencies(R.buildDependencies,(v=>{if(v)return finalCallback(v);return finalCallback(null,$)}))}))}))}))}))};const run=()=>{this.hooks.beforeRun.callAsync(this,(v=>{if(v)return finalCallback(v);this.hooks.run.callAsync(this,(v=>{if(v)return finalCallback(v);this.readRecords((v=>{if(v)return finalCallback(v);this.compile(onCompiled)}))}))}))};if(this.idle){this.cache.endIdle((v=>{if(v)return finalCallback(v);this.idle=false;run()}))}else{run()}}runAsChild(v){const E=Date.now();const finalCallback=(E,P,R)=>{try{v(E,P,R)}catch(v){const E=new Ze(`compiler.runAsChild callback error: ${v}`);E.details=v.stack;this.parentCompilation.errors.push(E)}};this.compile(((v,P)=>{if(v)return finalCallback(v);this.parentCompilation.children.push(P);for(const{name:v,source:E,info:R}of P.getAssets()){this.parentCompilation.emitAsset(v,E,R)}const R=[];for(const v of P.entrypoints.values()){R.push(...v.chunks)}P.startTime=E;P.endTime=Date.now();return finalCallback(null,R,P)}))}purgeInputFileSystem(){if(this.inputFileSystem&&this.inputFileSystem.purge){this.inputFileSystem.purge()}}emitAssets(v,E){let P;const emitFiles=R=>{if(R)return E(R);const N=v.getAssets();v.assets={...v.assets};const L=new Map;const q=new Set;$.forEachLimit(N,15,(({name:E,source:R,info:$},N)=>{let K=E;let ge=$.immutable;const be=K.indexOf("?");if(be>=0){K=K.slice(0,be);ge=ge&&(includesHash(K,$.contenthash)||includesHash(K,$.chunkhash)||includesHash(K,$.modulehash)||includesHash(K,$.fullhash))}const writeOut=$=>{if($)return N($);const be=tt(this.outputFileSystem,P,K);q.add(be);const xe=this._assetEmittingWrittenFiles.get(be);let ve=this._assetEmittingSourceCache.get(R);if(ve===undefined){ve={sizeOnlySource:undefined,writtenTo:new Map};this._assetEmittingSourceCache.set(R,ve)}let Ae;const checkSimilarFile=()=>{const v=be.toLowerCase();Ae=L.get(v);if(Ae!==undefined){const{path:v,source:P}=Ae;if(ot(P,R)){if(Ae.size!==undefined){updateWithReplacementSource(Ae.size)}else{if(!Ae.waiting)Ae.waiting=[];Ae.waiting.push({file:E,cacheEntry:ve})}alreadyWritten()}else{const P=new Ze(`Prevent writing to file that only differs in casing or query string from already written file.\nThis will lead to a race-condition and corrupted files on case-insensitive file systems.\n${be}\n${v}`);P.file=E;N(P)}return true}else{L.set(v,Ae={path:be,source:R,size:undefined,waiting:undefined});return false}};const getContent=()=>{if(typeof R.buffer==="function"){return R.buffer()}else{const v=R.source();if(Buffer.isBuffer(v)){return v}else{return Buffer.from(v,"utf8")}}};const alreadyWritten=()=>{if(xe===undefined){const v=1;this._assetEmittingWrittenFiles.set(be,v);ve.writtenTo.set(be,v)}else{ve.writtenTo.set(be,xe)}N()};const doWrite=$=>{this.outputFileSystem.writeFile(be,$,(L=>{if(L)return N(L);v.emittedAssets.add(E);const q=xe===undefined?1:xe+1;ve.writtenTo.set(be,q);this._assetEmittingWrittenFiles.set(be,q);this.hooks.assetEmitted.callAsync(E,{content:$,source:R,outputPath:P,compilation:v,targetPath:be},N)}))};const updateWithReplacementSource=v=>{updateFileWithReplacementSource(E,ve,v);Ae.size=v;if(Ae.waiting!==undefined){for(const{file:E,cacheEntry:P}of Ae.waiting){updateFileWithReplacementSource(E,P,v)}}};const updateFileWithReplacementSource=(E,P,R)=>{if(!P.sizeOnlySource){P.sizeOnlySource=new ae(R)}v.updateAsset(E,P.sizeOnlySource,{size:R})};const processExistingFile=P=>{if(ge){updateWithReplacementSource(P.size);return alreadyWritten()}const R=getContent();updateWithReplacementSource(R.length);if(R.length===P.size){v.comparedForEmitAssets.add(E);return this.outputFileSystem.readFile(be,((v,E)=>{if(v||!R.equals(E)){return doWrite(R)}else{return alreadyWritten()}}))}return doWrite(R)};const processMissingFile=()=>{const v=getContent();updateWithReplacementSource(v.length);return doWrite(v)};if(xe!==undefined){const P=ve.writtenTo.get(be);if(P===xe){if(this._assetEmittingPreviousFiles.has(be)){v.updateAsset(E,ve.sizeOnlySource,{size:ve.sizeOnlySource.size()});return N()}else{ge=true}}else if(!ge){if(checkSimilarFile())return;return processMissingFile()}}if(checkSimilarFile())return;if(this.options.output.compareBeforeEmit){this.outputFileSystem.stat(be,((v,E)=>{const P=!v&&E.isFile();if(P){processExistingFile(E)}else{processMissingFile()}}))}else{processMissingFile()}};if(K.match(/\/|\\/)){const v=this.outputFileSystem;const E=nt(v,tt(v,P,K));st(v,E,writeOut)}else{writeOut()}}),(P=>{L.clear();if(P){this._assetEmittingPreviousFiles.clear();return E(P)}this._assetEmittingPreviousFiles=q;this.hooks.afterEmit.callAsync(v,(v=>{if(v)return E(v);return E()}))}))};this.hooks.emit.callAsync(v,(R=>{if(R)return E(R);P=v.getPath(this.outputPath,{});st(this.outputFileSystem,P,emitFiles)}))}emitRecords(v){if(this.hooks.emitRecords.isUsed()){if(this.recordsOutputPath){$.parallel([v=>this.hooks.emitRecords.callAsync(v),this._emitRecords.bind(this)],(E=>v(E)))}else{this.hooks.emitRecords.callAsync(v)}}else{if(this.recordsOutputPath){this._emitRecords(v)}else{v()}}}_emitRecords(v){const writeFile=()=>{this.outputFileSystem.writeFile(this.recordsOutputPath,JSON.stringify(this.records,((v,E)=>{if(typeof E==="object"&&E!==null&&!Array.isArray(E)){const v=Object.keys(E);if(!isSorted(v)){return sortObject(E,v)}}return E}),2),v)};const E=nt(this.outputFileSystem,this.recordsOutputPath);if(!E){return writeFile()}st(this.outputFileSystem,E,(E=>{if(E)return v(E);writeFile()}))}readRecords(v){if(this.hooks.readRecords.isUsed()){if(this.recordsInputPath){$.parallel([v=>this.hooks.readRecords.callAsync(v),this._readRecords.bind(this)],(E=>v(E)))}else{this.records={};this.hooks.readRecords.callAsync(v)}}else{if(this.recordsInputPath){this._readRecords(v)}else{this.records={};v()}}}_readRecords(v){if(!this.recordsInputPath){this.records={};return v()}this.inputFileSystem.stat(this.recordsInputPath,(E=>{if(E)return v();this.inputFileSystem.readFile(this.recordsInputPath,((E,P)=>{if(E)return v(E);try{this.records=R(P.toString("utf-8"))}catch(E){return v(new Error(`Cannot parse records: ${E.message}`))}return v()}))}))}createChildCompiler(v,E,P,R,$){const N=new Compiler(this.context,{...this.options,output:{...this.options.output,...R}});N.name=E;N.outputPath=this.outputPath;N.inputFileSystem=this.inputFileSystem;N.outputFileSystem=null;N.resolverFactory=this.resolverFactory;N.modifiedFiles=this.modifiedFiles;N.removedFiles=this.removedFiles;N.fileTimestamps=this.fileTimestamps;N.contextTimestamps=this.contextTimestamps;N.fsStartTime=this.fsStartTime;N.cache=this.cache;N.compilerPath=`${this.compilerPath}${E}|${P}|`;N._backCompat=this._backCompat;const L=rt(this.context,E,this.root);if(!this.records[L]){this.records[L]=[]}if(this.records[L][P]){N.records=this.records[L][P]}else{this.records[L].push(N.records={})}N.parentCompilation=v;N.root=this.root;if(Array.isArray($)){for(const v of $){if(v){v.apply(N)}}}for(const v in this.hooks){if(!["make","compile","emit","afterEmit","invalid","done","thisCompilation"].includes(v)){if(N.hooks[v]){N.hooks[v].taps=this.hooks[v].taps.slice()}}}v.hooks.childCompiler.call(N,E,P);return N}isChild(){return!!this.parentCompilation}createCompilation(v){this._cleanupLastCompilation();return this._lastCompilation=new Ae(this,v)}newCompilation(v){const E=this.createCompilation(v);E.name=this.name;E.records=this.records;this.hooks.thisCompilation.call(E,v);this.hooks.compilation.call(E,v);return E}createNormalModuleFactory(){this._cleanupLastNormalModuleFactory();const v=new Je({context:this.options.context,fs:this.inputFileSystem,resolverFactory:this.resolverFactory,options:this.options.module,associatedObjectForCache:this.root,layers:this.options.experiments.layers});this._lastNormalModuleFactory=v;this.hooks.normalModuleFactory.call(v);return v}createContextModuleFactory(){const v=new He(this.resolverFactory);this.hooks.contextModuleFactory.call(v);return v}newCompilationParams(){const v={normalModuleFactory:this.createNormalModuleFactory(),contextModuleFactory:this.createContextModuleFactory()};return v}compile(v){const E=this.newCompilationParams();this.hooks.beforeCompile.callAsync(E,(P=>{if(P)return v(P);this.hooks.compile.call(E);const R=this.newCompilation(E);const $=R.getLogger("webpack.Compiler");$.time("make hook");this.hooks.make.callAsync(R,(E=>{$.timeEnd("make hook");if(E)return v(E);$.time("finish make hook");this.hooks.finishMake.callAsync(R,(E=>{$.timeEnd("finish make hook");if(E)return v(E);process.nextTick((()=>{$.time("finish compilation");R.finish((E=>{$.timeEnd("finish compilation");if(E)return v(E);$.time("seal compilation");R.seal((E=>{$.timeEnd("seal compilation");if(E)return v(E);$.time("afterCompile hook");this.hooks.afterCompile.callAsync(R,(E=>{$.timeEnd("afterCompile hook");if(E)return v(E);return v(null,R)}))}))}))}))}))}))}))}close(v){if(this.watching){this.watching.close((E=>{this.close(v)}));return}this.hooks.shutdown.callAsync((E=>{if(E)return v(E);this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this.cache.shutdown(v)}))}}v.exports=Compiler},32668:function(v){"use strict";const E=/^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\d))?__$/;const P="__WEBPACK_DEFAULT_EXPORT__";const R="__WEBPACK_NAMESPACE_OBJECT__";class ConcatenationScope{constructor(v,E){this._currentModule=E;if(Array.isArray(v)){const E=new Map;for(const P of v){E.set(P.module,P)}v=E}this._modulesMap=v}isModuleInScope(v){return this._modulesMap.has(v)}registerExport(v,E){if(!this._currentModule.exportMap){this._currentModule.exportMap=new Map}if(!this._currentModule.exportMap.has(v)){this._currentModule.exportMap.set(v,E)}}registerRawExport(v,E){if(!this._currentModule.rawExportMap){this._currentModule.rawExportMap=new Map}if(!this._currentModule.rawExportMap.has(v)){this._currentModule.rawExportMap.set(v,E)}}registerNamespaceExport(v){this._currentModule.namespaceExportSymbol=v}createModuleReference(v,{ids:E=undefined,call:P=false,directImport:R=false,asiSafe:$=false}){const N=this._modulesMap.get(v);const L=P?"_call":"";const q=R?"_directImport":"";const K=$?"_asiSafe1":$===false?"_asiSafe0":"";const ae=E?Buffer.from(JSON.stringify(E),"utf-8").toString("hex"):"ns";return`__WEBPACK_MODULE_REFERENCE__${N.index}_${ae}${L}${q}${K}__._`}static isModuleReference(v){return E.test(v)}static matchModuleReference(v){const P=E.exec(v);if(!P)return null;const R=+P[1];const $=P[5];return{index:R,ids:P[2]==="ns"?[]:JSON.parse(Buffer.from(P[2],"hex").toString("utf-8")),call:!!P[3],directImport:!!P[4],asiSafe:$?$==="1":undefined}}}ConcatenationScope.DEFAULT_EXPORT=P;ConcatenationScope.NAMESPACE_OBJECT_EXPORT=R;v.exports=ConcatenationScope},81884:function(v,E,P){"use strict";const R=P(88379);v.exports=class ConcurrentCompilationError extends R{constructor(){super();this.name="ConcurrentCompilationError";this.message="You ran Webpack twice. Each instance only supports a single concurrent compilation at a time."}}},64060:function(v,E,P){"use strict";const{ConcatSource:R,PrefixSource:$}=P(51255);const N=P(36196);const L=P(92202);const{mergeRuntime:q}=P(41302);const wrapInCondition=(v,E)=>{if(typeof E==="string"){return L.asString([`if (${v}) {`,L.indent(E),"}",""])}else{return new R(`if (${v}) {\n`,new $("\t",E),"}\n")}};class ConditionalInitFragment extends N{constructor(v,E,P,R,$=true,N){super(v,E,P,R,N);this.runtimeCondition=$}getContent(v){if(this.runtimeCondition===false||!this.content)return"";if(this.runtimeCondition===true)return this.content;const E=v.runtimeTemplate.runtimeConditionExpression({chunkGraph:v.chunkGraph,runtimeRequirements:v.runtimeRequirements,runtime:v.runtime,runtimeCondition:this.runtimeCondition});if(E==="true")return this.content;return wrapInCondition(E,this.content)}getEndContent(v){if(this.runtimeCondition===false||!this.endContent)return"";if(this.runtimeCondition===true)return this.endContent;const E=v.runtimeTemplate.runtimeConditionExpression({chunkGraph:v.chunkGraph,runtimeRequirements:v.runtimeRequirements,runtime:v.runtime,runtimeCondition:this.runtimeCondition});if(E==="true")return this.endContent;return wrapInCondition(E,this.endContent)}merge(v){if(this.runtimeCondition===true)return this;if(v.runtimeCondition===true)return v;if(this.runtimeCondition===false)return v;if(v.runtimeCondition===false)return this;const E=q(this.runtimeCondition,v.runtimeCondition);return new ConditionalInitFragment(this.content,this.stage,this.position,this.key,E,this.endContent)}}v.exports=ConditionalInitFragment},734:function(v,E,P){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:R,JAVASCRIPT_MODULE_TYPE_DYNAMIC:$,JAVASCRIPT_MODULE_TYPE_ESM:N}=P(41851);const L=P(76270);const q=P(65235);const{evaluateToString:K}=P(24810);const{parseResource:ae}=P(98509);const collectDeclaration=(v,E)=>{const P=[E];while(P.length>0){const E=P.pop();switch(E.type){case"Identifier":v.add(E.name);break;case"ArrayPattern":for(const v of E.elements){if(v){P.push(v)}}break;case"AssignmentPattern":P.push(E.left);break;case"ObjectPattern":for(const v of E.properties){P.push(v.value)}break;case"RestElement":P.push(E.argument);break}}};const getHoistedDeclarations=(v,E)=>{const P=new Set;const R=[v];while(R.length>0){const v=R.pop();if(!v)continue;switch(v.type){case"BlockStatement":for(const E of v.body){R.push(E)}break;case"IfStatement":R.push(v.consequent);R.push(v.alternate);break;case"ForStatement":R.push(v.init);R.push(v.body);break;case"ForInStatement":case"ForOfStatement":R.push(v.left);R.push(v.body);break;case"DoWhileStatement":case"WhileStatement":case"LabeledStatement":R.push(v.body);break;case"SwitchStatement":for(const E of v.cases){for(const v of E.consequent){R.push(v)}}break;case"TryStatement":R.push(v.block);if(v.handler){R.push(v.handler.body)}R.push(v.finalizer);break;case"FunctionDeclaration":if(E){collectDeclaration(P,v.id)}break;case"VariableDeclaration":if(v.kind==="var"){for(const E of v.declarations){collectDeclaration(P,E.id)}}break}}return Array.from(P)};const ge="ConstPlugin";class ConstPlugin{apply(v){const E=ae.bindCache(v.root);v.hooks.compilation.tap(ge,((v,{normalModuleFactory:P})=>{v.dependencyTemplates.set(q,new q.Template);v.dependencyTemplates.set(L,new L.Template);const handler=v=>{v.hooks.statementIf.tap(ge,(E=>{if(v.scope.isAsmJs)return;const P=v.evaluateExpression(E.test);const R=P.asBool();if(typeof R==="boolean"){if(!P.couldHaveSideEffects()){const $=new q(`${R}`,P.range);$.loc=E.loc;v.state.module.addPresentationalDependency($)}else{v.walkExpression(E.test)}const $=R?E.alternate:E.consequent;if($){let E;if(v.scope.isStrict){E=getHoistedDeclarations($,false)}else{E=getHoistedDeclarations($,true)}let P;if(E.length>0){P=`{ var ${E.join(", ")}; }`}else{P="{}"}const R=new q(P,$.range);R.loc=$.loc;v.state.module.addPresentationalDependency(R)}return R}}));v.hooks.expressionConditionalOperator.tap(ge,(E=>{if(v.scope.isAsmJs)return;const P=v.evaluateExpression(E.test);const R=P.asBool();if(typeof R==="boolean"){if(!P.couldHaveSideEffects()){const $=new q(` ${R}`,P.range);$.loc=E.loc;v.state.module.addPresentationalDependency($)}else{v.walkExpression(E.test)}const $=R?E.alternate:E.consequent;const N=new q("0",$.range);N.loc=$.loc;v.state.module.addPresentationalDependency(N);return R}}));v.hooks.expressionLogicalOperator.tap(ge,(E=>{if(v.scope.isAsmJs)return;if(E.operator==="&&"||E.operator==="||"){const P=v.evaluateExpression(E.left);const R=P.asBool();if(typeof R==="boolean"){const $=E.operator==="&&"&&R||E.operator==="||"&&!R;if(!P.couldHaveSideEffects()&&(P.isBoolean()||$)){const $=new q(` ${R}`,P.range);$.loc=E.loc;v.state.module.addPresentationalDependency($)}else{v.walkExpression(E.left)}if(!$){const P=new q("0",E.right.range);P.loc=E.loc;v.state.module.addPresentationalDependency(P)}return $}}else if(E.operator==="??"){const P=v.evaluateExpression(E.left);const R=P.asNullish();if(typeof R==="boolean"){if(!P.couldHaveSideEffects()&&R){const R=new q(" null",P.range);R.loc=E.loc;v.state.module.addPresentationalDependency(R)}else{const P=new q("0",E.right.range);P.loc=E.loc;v.state.module.addPresentationalDependency(P);v.walkExpression(E.left)}return R}}}));v.hooks.optionalChaining.tap(ge,(E=>{const P=[];let R=E.expression;while(R.type==="MemberExpression"||R.type==="CallExpression"){if(R.type==="MemberExpression"){if(R.optional){P.push(R.object)}R=R.object}else{if(R.optional){P.push(R.callee)}R=R.callee}}while(P.length){const R=P.pop();const $=v.evaluateExpression(R);if($.asNullish()){const P=new q(" undefined",E.range);P.loc=E.loc;v.state.module.addPresentationalDependency(P);return true}}}));v.hooks.evaluateIdentifier.for("__resourceQuery").tap(ge,(P=>{if(v.scope.isAsmJs)return;if(!v.state.module)return;return K(E(v.state.module.resource).query)(P)}));v.hooks.expression.for("__resourceQuery").tap(ge,(P=>{if(v.scope.isAsmJs)return;if(!v.state.module)return;const R=new L(JSON.stringify(E(v.state.module.resource).query),P.range,"__resourceQuery");R.loc=P.loc;v.state.module.addPresentationalDependency(R);return true}));v.hooks.evaluateIdentifier.for("__resourceFragment").tap(ge,(P=>{if(v.scope.isAsmJs)return;if(!v.state.module)return;return K(E(v.state.module.resource).fragment)(P)}));v.hooks.expression.for("__resourceFragment").tap(ge,(P=>{if(v.scope.isAsmJs)return;if(!v.state.module)return;const R=new L(JSON.stringify(E(v.state.module.resource).fragment),P.range,"__resourceFragment");R.loc=P.loc;v.state.module.addPresentationalDependency(R);return true}))};P.hooks.parser.for(R).tap(ge,handler);P.hooks.parser.for($).tap(ge,handler);P.hooks.parser.for(N).tap(ge,handler)}))}}v.exports=ConstPlugin},84355:function(v){"use strict";class ContextExclusionPlugin{constructor(v){this.negativeMatcher=v}apply(v){v.hooks.contextModuleFactory.tap("ContextExclusionPlugin",(v=>{v.hooks.contextModuleFiles.tap("ContextExclusionPlugin",(v=>v.filter((v=>!this.negativeMatcher.test(v)))))}))}}v.exports=ContextExclusionPlugin},41225:function(v,E,P){"use strict";const{OriginalSource:R,RawSource:$}=P(51255);const N=P(56906);const{makeWebpackError:L}=P(68610);const q=P(28230);const{JAVASCRIPT_MODULE_TYPE_DYNAMIC:K}=P(41851);const ae=P(65376);const ge=P(92202);const be=P(88379);const{compareLocations:xe,concatComparators:ve,compareSelect:Ae,keepOriginalOrder:Ie,compareModulesById:He}=P(62737);const{contextify:Qe,parseResource:Je,makePathsRelative:Ve}=P(98509);const Ke=P(57243);const Ye={timestamp:true};const Xe=new Set(["javascript"]);class ContextModule extends q{constructor(v,E){if(!E||typeof E.resource==="string"){const v=Je(E?E.resource:"");const P=v.path;const R=E&&E.resourceQuery||v.query;const $=E&&E.resourceFragment||v.fragment;const N=E&&E.layer;super(K,P,N);this.options={...E,resource:P,resourceQuery:R,resourceFragment:$}}else{super(K,undefined,E.layer);this.options={...E,resource:E.resource,resourceQuery:E.resourceQuery||"",resourceFragment:E.resourceFragment||""}}this.resolveDependencies=v;if(E&&E.resolveOptions!==undefined){this.resolveOptions=E.resolveOptions}if(E&&typeof E.mode!=="string"){throw new Error("options.mode is a required option")}this._identifier=this._createIdentifier();this._forceBuild=true}getSourceTypes(){return Xe}updateCacheModule(v){const E=v;this.resolveDependencies=E.resolveDependencies;this.options=E.options}cleanupForCache(){super.cleanupForCache();this.resolveDependencies=undefined}_prettyRegExp(v,E=true){const P=(v+"").replace(/!/g,"%21").replace(/\|/g,"%7C");return E?P.substring(1,P.length-1):P}_createIdentifier(){let v=this.context||(typeof this.options.resource==="string"||this.options.resource===false?`${this.options.resource}`:this.options.resource.join("|"));if(this.options.resourceQuery){v+=`|${this.options.resourceQuery}`}if(this.options.resourceFragment){v+=`|${this.options.resourceFragment}`}if(this.options.mode){v+=`|${this.options.mode}`}if(!this.options.recursive){v+="|nonrecursive"}if(this.options.addon){v+=`|${this.options.addon}`}if(this.options.regExp){v+=`|${this._prettyRegExp(this.options.regExp,false)}`}if(this.options.include){v+=`|include: ${this._prettyRegExp(this.options.include,false)}`}if(this.options.exclude){v+=`|exclude: ${this._prettyRegExp(this.options.exclude,false)}`}if(this.options.referencedExports){v+=`|referencedExports: ${JSON.stringify(this.options.referencedExports)}`}if(this.options.chunkName){v+=`|chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){v+=`|groupOptions: ${JSON.stringify(this.options.groupOptions)}`}if(this.options.namespaceObject==="strict"){v+="|strict namespace object"}else if(this.options.namespaceObject){v+="|namespace object"}if(this.layer){v+=`|layer: ${this.layer}`}return v}identifier(){return this._identifier}readableIdentifier(v){let E;if(this.context){E=v.shorten(this.context)+"/"}else if(typeof this.options.resource==="string"||this.options.resource===false){E=v.shorten(`${this.options.resource}`)+"/"}else{E=this.options.resource.map((E=>v.shorten(E)+"/")).join(" ")}if(this.options.resourceQuery){E+=` ${this.options.resourceQuery}`}if(this.options.mode){E+=` ${this.options.mode}`}if(!this.options.recursive){E+=" nonrecursive"}if(this.options.addon){E+=` ${v.shorten(this.options.addon)}`}if(this.options.regExp){E+=` ${this._prettyRegExp(this.options.regExp)}`}if(this.options.include){E+=` include: ${this._prettyRegExp(this.options.include)}`}if(this.options.exclude){E+=` exclude: ${this._prettyRegExp(this.options.exclude)}`}if(this.options.referencedExports){E+=` referencedExports: ${this.options.referencedExports.map((v=>v.join("."))).join(", ")}`}if(this.options.chunkName){E+=` chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){const v=this.options.groupOptions;for(const P of Object.keys(v)){E+=` ${P}: ${v[P]}`}}if(this.options.namespaceObject==="strict"){E+=" strict namespace object"}else if(this.options.namespaceObject){E+=" namespace object"}return E}libIdent(v){let E;if(this.context){E=Qe(v.context,this.context,v.associatedObjectForCache)}else if(typeof this.options.resource==="string"){E=Qe(v.context,this.options.resource,v.associatedObjectForCache)}else if(this.options.resource===false){E="false"}else{E=this.options.resource.map((E=>Qe(v.context,E,v.associatedObjectForCache))).join(" ")}if(this.layer)E=`(${this.layer})/${E}`;if(this.options.mode){E+=` ${this.options.mode}`}if(this.options.recursive){E+=" recursive"}if(this.options.addon){E+=` ${Qe(v.context,this.options.addon,v.associatedObjectForCache)}`}if(this.options.regExp){E+=` ${this._prettyRegExp(this.options.regExp)}`}if(this.options.include){E+=` include: ${this._prettyRegExp(this.options.include)}`}if(this.options.exclude){E+=` exclude: ${this._prettyRegExp(this.options.exclude)}`}if(this.options.referencedExports){E+=` referencedExports: ${this.options.referencedExports.map((v=>v.join("."))).join(", ")}`}return E}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:v},E){if(this._forceBuild)return E(null,true);if(!this.buildInfo.snapshot)return E(null,Boolean(this.context||this.options.resource));v.checkSnapshotValid(this.buildInfo.snapshot,((v,P)=>{E(v,!P)}))}build(v,E,P,R,$){this._forceBuild=false;this.buildMeta={exportsType:"default",defaultObject:"redirect-warn"};this.buildInfo={snapshot:undefined};this.dependencies.length=0;this.blocks.length=0;const q=Date.now();this.resolveDependencies(R,this.options,((v,P)=>{if(v){return $(L(v,"ContextModule.resolveDependencies"))}if(!P){$();return}for(const v of P){v.loc={name:v.userRequest};v.request=this.options.addon+v.request}P.sort(ve(Ae((v=>v.loc),xe),Ie(this.dependencies)));if(this.options.mode==="sync"||this.options.mode==="eager"){this.dependencies=P}else if(this.options.mode==="lazy-once"){if(P.length>0){const v=new N({...this.options.groupOptions,name:this.options.chunkName});for(const E of P){v.addDependency(E)}this.addBlock(v)}}else if(this.options.mode==="weak"||this.options.mode==="async-weak"){for(const v of P){v.weak=true}this.dependencies=P}else if(this.options.mode==="lazy"){let v=0;for(const E of P){let P=this.options.chunkName;if(P){if(!/\[(index|request)\]/.test(P)){P+="[index]"}P=P.replace(/\[index\]/g,`${v++}`);P=P.replace(/\[request\]/g,ge.toPath(E.userRequest))}const R=new N({...this.options.groupOptions,name:P},E.loc,E.userRequest);R.addDependency(E);this.addBlock(R)}}else{$(new be(`Unsupported mode "${this.options.mode}" in context`));return}if(!this.context&&!this.options.resource)return $();E.fileSystemInfo.createSnapshot(q,null,this.context?[this.context]:typeof this.options.resource==="string"?[this.options.resource]:this.options.resource,null,Ye,((v,E)=>{if(v)return $(v);this.buildInfo.snapshot=E;$()}))}))}addCacheDependencies(v,E,P,R){if(this.context){E.add(this.context)}else if(typeof this.options.resource==="string"){E.add(this.options.resource)}else if(this.options.resource===false){return}else{for(const v of this.options.resource)E.add(v)}}getUserRequestMap(v,E){const P=E.moduleGraph;const R=v.filter((v=>P.getModule(v))).sort(((v,E)=>{if(v.userRequest===E.userRequest){return 0}return v.userRequestP.getModule(v))).filter(Boolean).sort($);const L=Object.create(null);for(const v of N){const $=v.getExportsType(P,this.options.namespaceObject==="strict");const N=E.getModuleId(v);switch($){case"namespace":L[N]=9;R|=1;break;case"dynamic":L[N]=7;R|=2;break;case"default-only":L[N]=1;R|=4;break;case"default-with-named":L[N]=3;R|=8;break;default:throw new Error(`Unexpected exports type ${$}`)}}if(R===1){return 9}if(R===2){return 7}if(R===4){return 1}if(R===8){return 3}if(R===0){return 9}return L}getFakeMapInitStatement(v){return typeof v==="object"?`var fakeMap = ${JSON.stringify(v,null,"\t")};`:""}getReturn(v,E){if(v===9){return`${ae.require}(id)`}return`${ae.createFakeNamespaceObject}(id, ${v}${E?" | 16":""})`}getReturnModuleObjectSource(v,E,P="fakeMap[id]"){if(typeof v==="number"){return`return ${this.getReturn(v,E)};`}return`return ${ae.createFakeNamespaceObject}(id, ${P}${E?" | 16":""})`}getSyncSource(v,E,P){const R=this.getUserRequestMap(v,P);const $=this.getFakeMap(v,P);const N=this.getReturnModuleObjectSource($);return`var map = ${JSON.stringify(R,null,"\t")};\n${this.getFakeMapInitStatement($)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${N}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = ${JSON.stringify(E)};`}getWeakSyncSource(v,E,P){const R=this.getUserRequestMap(v,P);const $=this.getFakeMap(v,P);const N=this.getReturnModuleObjectSource($);return`var map = ${JSON.stringify(R,null,"\t")};\n${this.getFakeMapInitStatement($)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${ae.moduleFactories}[id]) {\n\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t${N}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nwebpackContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackContext;`}getAsyncWeakSource(v,E,{chunkGraph:P,runtimeTemplate:R}){const $=R.supportsArrowFunction();const N=this.getUserRequestMap(v,P);const L=this.getFakeMap(v,P);const q=this.getReturnModuleObjectSource(L,true);return`var map = ${JSON.stringify(N,null,"\t")};\n${this.getFakeMapInitStatement(L)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${$?"id =>":"function(id)"} {\n\t\tif(!${ae.moduleFactories}[id]) {\n\t\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\t${q}\n\t});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${$?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${R.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackAsyncContext;`}getEagerSource(v,E,{chunkGraph:P,runtimeTemplate:R}){const $=R.supportsArrowFunction();const N=this.getUserRequestMap(v,P);const L=this.getFakeMap(v,P);const q=L!==9?`${$?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(L)}\n\t}`:ae.require;return`var map = ${JSON.stringify(N,null,"\t")};\n${this.getFakeMapInitStatement(L)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${q});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${$?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${R.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackAsyncContext;`}getLazyOnceSource(v,E,P,{runtimeTemplate:R,chunkGraph:$}){const N=R.blockPromise({chunkGraph:$,block:v,message:"lazy-once context",runtimeRequirements:new Set});const L=R.supportsArrowFunction();const q=this.getUserRequestMap(E,$);const K=this.getFakeMap(E,$);const ge=K!==9?`${L?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(K,true)};\n\t}`:ae.require;return`var map = ${JSON.stringify(q,null,"\t")};\n${this.getFakeMapInitStatement(K)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${ge});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${N}.then(${L?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${R.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(P)};\nmodule.exports = webpackAsyncContext;`}getLazySource(v,E,{chunkGraph:P,runtimeTemplate:R}){const $=P.moduleGraph;const N=R.supportsArrowFunction();let L=false;let q=true;const K=this.getFakeMap(v.map((v=>v.dependencies[0])),P);const ge=typeof K==="object";const be=v.map((v=>{const E=v.dependencies[0];return{dependency:E,module:$.getModule(E),block:v,userRequest:E.userRequest,chunks:undefined}})).filter((v=>v.module));for(const v of be){const E=P.getBlockChunkGroup(v.block);const R=E&&E.chunks||[];v.chunks=R;if(R.length>0){q=false}if(R.length!==1){L=true}}const xe=q&&!ge;const ve=be.sort(((v,E)=>{if(v.userRequest===E.userRequest)return 0;return v.userRequestv.id)))}}const Ie=ge?2:1;const He=q?"Promise.resolve()":L?`Promise.all(ids.slice(${Ie}).map(${ae.ensureChunk}))`:`${ae.ensureChunk}(ids[${Ie}])`;const Qe=this.getReturnModuleObjectSource(K,true,xe?"invalid":"ids[1]");const Je=He==="Promise.resolve()"?`\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${N?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\n\t\t${xe?"var id = map[req];":"var ids = map[req], id = ids[0];"}\n\t\t${Qe}\n\t});\n}`:`function webpackAsyncContext(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\treturn Promise.resolve().then(${N?"() =>":"function()"} {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn ${He}.then(${N?"() =>":"function()"} {\n\t\t${Qe}\n\t});\n}`;return`var map = ${JSON.stringify(Ae,null,"\t")};\n${Je}\nwebpackAsyncContext.keys = ${R.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackAsyncContext;`}getSourceForEmptyContext(v,E){return`function webpackEmptyContext(req) {\n\tvar e = new Error("Cannot find module '" + req + "'");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = ${E.returningFunction("[]")};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify(v)};\nmodule.exports = webpackEmptyContext;`}getSourceForEmptyAsyncContext(v,E){const P=E.supportsArrowFunction();return`function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${P?"() =>":"function()"} {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = ${E.returningFunction("[]")};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify(v)};\nmodule.exports = webpackEmptyAsyncContext;`}getSourceString(v,{runtimeTemplate:E,chunkGraph:P}){const R=P.getModuleId(this);if(v==="lazy"){if(this.blocks&&this.blocks.length>0){return this.getLazySource(this.blocks,R,{runtimeTemplate:E,chunkGraph:P})}return this.getSourceForEmptyAsyncContext(R,E)}if(v==="eager"){if(this.dependencies&&this.dependencies.length>0){return this.getEagerSource(this.dependencies,R,{chunkGraph:P,runtimeTemplate:E})}return this.getSourceForEmptyAsyncContext(R,E)}if(v==="lazy-once"){const v=this.blocks[0];if(v){return this.getLazyOnceSource(v,v.dependencies,R,{runtimeTemplate:E,chunkGraph:P})}return this.getSourceForEmptyAsyncContext(R,E)}if(v==="async-weak"){if(this.dependencies&&this.dependencies.length>0){return this.getAsyncWeakSource(this.dependencies,R,{chunkGraph:P,runtimeTemplate:E})}return this.getSourceForEmptyAsyncContext(R,E)}if(v==="weak"){if(this.dependencies&&this.dependencies.length>0){return this.getWeakSyncSource(this.dependencies,R,P)}}if(this.dependencies&&this.dependencies.length>0){return this.getSyncSource(this.dependencies,R,P)}return this.getSourceForEmptyContext(R,E)}getSource(v,E){if(this.useSourceMap||this.useSimpleSourceMap){return new R(v,`webpack://${Ve(E&&E.compiler.context||"",this.identifier(),E&&E.compiler.root)}`)}return new $(v)}codeGeneration(v){const{chunkGraph:E,compilation:P}=v;const R=new Map;R.set("javascript",this.getSource(this.getSourceString(this.options.mode,v),P));const $=new Set;const N=this.dependencies.length>0?this.dependencies.slice():[];for(const v of this.blocks)for(const E of v.dependencies)N.push(E);$.add(ae.module);$.add(ae.hasOwnProperty);if(N.length>0){const v=this.options.mode;$.add(ae.require);if(v==="weak"){$.add(ae.moduleFactories)}else if(v==="async-weak"){$.add(ae.moduleFactories);$.add(ae.ensureChunk)}else if(v==="lazy"||v==="lazy-once"){$.add(ae.ensureChunk)}if(this.getFakeMap(N,E)!==9){$.add(ae.createFakeNamespaceObject)}}return{sources:R,runtimeRequirements:$}}size(v){let E=160;for(const v of this.dependencies){const P=v;E+=5+P.userRequest.length}return E}serialize(v){const{write:E}=v;E(this._identifier);E(this._forceBuild);super.serialize(v)}deserialize(v){const{read:E}=v;this._identifier=E();this._forceBuild=E();super.deserialize(v)}}Ke(ContextModule,"webpack/lib/ContextModule");v.exports=ContextModule},86573:function(v,E,P){"use strict";const R=P(78175);const{AsyncSeriesWaterfallHook:$,SyncWaterfallHook:N}=P(79846);const L=P(41225);const q=P(20364);const K=P(38974);const ae=P(39860);const{cachedSetProperty:ge}=P(98625);const{createFakeHook:be}=P(46724);const{join:xe}=P(59914);const ve={};v.exports=class ContextModuleFactory extends q{constructor(v){super();const E=new $(["modules","options"]);this.hooks=Object.freeze({beforeResolve:new $(["data"]),afterResolve:new $(["data"]),contextModuleFiles:new N(["files"]),alternatives:be({name:"alternatives",intercept:v=>{throw new Error("Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead")},tap:(v,P)=>{E.tap(v,P)},tapAsync:(v,P)=>{E.tapAsync(v,((v,E,R)=>P(v,R)))},tapPromise:(v,P)=>{E.tapPromise(v,P)}},"ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.","DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES"),alternativeRequests:E});this.resolverFactory=v}create(v,E){const P=v.context;const $=v.dependencies;const N=v.resolveOptions;const q=$[0];const K=new ae;const be=new ae;const xe=new ae;this.hooks.beforeResolve.callAsync({context:P,dependencies:$,layer:v.contextInfo.issuerLayer,resolveOptions:N,fileDependencies:K,missingDependencies:be,contextDependencies:xe,...q.options},((v,P)=>{if(v){return E(v,{fileDependencies:K,missingDependencies:be,contextDependencies:xe})}if(!P){return E(null,{fileDependencies:K,missingDependencies:be,contextDependencies:xe})}const N=P.context;const q=P.request;const ae=P.resolveOptions;let Ae,Ie,He="";const Qe=q.lastIndexOf("!");if(Qe>=0){let v=q.slice(0,Qe+1);let E;for(E=0;E0?ge(ae||ve,"dependencyType",$[0].category):ae);const Ve=this.resolverFactory.get("loader");R.parallel([v=>{const E=[];const yield_=v=>E.push(v);Je.resolve({},N,Ie,{fileDependencies:K,missingDependencies:be,contextDependencies:xe,yield:yield_},(P=>{if(P)return v(P);v(null,E)}))},v=>{R.map(Ae,((v,E)=>{Ve.resolve({},N,v,{fileDependencies:K,missingDependencies:be,contextDependencies:xe},((v,P)=>{if(v)return E(v);E(null,P)}))}),v)}],((v,R)=>{if(v){return E(v,{fileDependencies:K,missingDependencies:be,contextDependencies:xe})}let[$,N]=R;if($.length>1){const v=$[0];$=$.filter((v=>v.path));if($.length===0)$.push(v)}this.hooks.afterResolve.callAsync({addon:He+N.join("!")+(N.length>0?"!":""),resource:$.length>1?$.map((v=>v.path)):$[0].path,resolveDependencies:this.resolveDependencies.bind(this),resourceQuery:$[0].query,resourceFragment:$[0].fragment,...P},((v,P)=>{if(v){return E(v,{fileDependencies:K,missingDependencies:be,contextDependencies:xe})}if(!P){return E(null,{fileDependencies:K,missingDependencies:be,contextDependencies:xe})}return E(null,{module:new L(P.resolveDependencies,P),fileDependencies:K,missingDependencies:be,contextDependencies:xe})}))}))}))}resolveDependencies(v,E,P){const $=this;const{resource:N,resourceQuery:L,resourceFragment:q,recursive:ae,regExp:ge,include:be,exclude:ve,referencedExports:Ae,category:Ie,typePrefix:He}=E;if(!ge||!N)return P(null,[]);const addDirectoryChecked=(E,P,R,$)=>{v.realpath(P,((v,N)=>{if(v)return $(v);if(R.has(N))return $(null,[]);let L;addDirectory(E,P,((v,P,$)=>{if(L===undefined){L=new Set(R);L.add(N)}addDirectoryChecked(E,P,L,$)}),$)}))};const addDirectory=(P,N,Qe,Je)=>{v.readdir(N,((Ve,Ke)=>{if(Ve)return Je(Ve);const Ye=$.hooks.contextModuleFiles.call(Ke.map((v=>v.normalize("NFC"))));if(!Ye||Ye.length===0)return Je(null,[]);R.map(Ye.filter((v=>v.indexOf(".")!==0)),((R,$)=>{const Je=xe(v,N,R);if(!ve||!Je.match(ve)){v.stat(Je,((v,R)=>{if(v){if(v.code==="ENOENT"){return $()}else{return $(v)}}if(R.isDirectory()){if(!ae)return $();Qe(P,Je,$)}else if(R.isFile()&&(!be||Je.match(be))){const v={context:P,request:"."+Je.slice(P.length).replace(/\\/g,"/")};this.hooks.alternativeRequests.callAsync([v],E,((v,E)=>{if(v)return $(v);E=E.filter((v=>ge.test(v.request))).map((v=>{const E=new K(`${v.request}${L}${q}`,v.request,He,Ie,Ae,v.context);E.optional=true;return E}));$(null,E)}))}else{$()}}))}else{$()}}),((v,E)=>{if(v)return Je(v);if(!E)return Je(null,[]);const P=[];for(const v of E){if(v)P.push(...v)}Je(null,P)}))}))};const addSubDirectory=(v,E,P)=>addDirectory(v,E,addSubDirectory,P);const visitResource=(E,P)=>{if(typeof v.realpath==="function"){addDirectoryChecked(E,E,new Set,P)}else{addDirectory(E,E,addSubDirectory,P)}};if(typeof N==="string"){visitResource(N,P)}else{R.map(N,visitResource,((v,E)=>{if(v)return P(v);const R=new Set;const $=[];for(let v=0;v{E(null,P)}}else if(typeof E==="string"&&typeof P==="function"){this.newContentResource=E;this.newContentCreateContextMap=P}else{if(typeof E!=="string"){R=P;P=E;E=undefined}if(typeof P!=="boolean"){R=P;P=undefined}this.newContentResource=E;this.newContentRecursive=P;this.newContentRegExp=R}}apply(v){const E=this.resourceRegExp;const P=this.newContentCallback;const R=this.newContentResource;const N=this.newContentRecursive;const L=this.newContentRegExp;const q=this.newContentCreateContextMap;v.hooks.contextModuleFactory.tap("ContextReplacementPlugin",(K=>{K.hooks.beforeResolve.tap("ContextReplacementPlugin",(v=>{if(!v)return;if(E.test(v.request)){if(R!==undefined){v.request=R}if(N!==undefined){v.recursive=N}if(L!==undefined){v.regExp=L}if(typeof P==="function"){P(v)}else{for(const E of v.dependencies){if(E.critical)E.critical=false}}}return v}));K.hooks.afterResolve.tap("ContextReplacementPlugin",(K=>{if(!K)return;if(E.test(K.resource)){if(R!==undefined){if(R.startsWith("/")||R.length>1&&R[1]===":"){K.resource=R}else{K.resource=$(v.inputFileSystem,K.resource,R)}}if(N!==undefined){K.recursive=N}if(L!==undefined){K.regExp=L}if(typeof q==="function"){K.resolveDependencies=createResolveDependenciesFromContextMap(q)}if(typeof P==="function"){const E=K.resource;P(K);if(K.resource!==E&&!K.resource.startsWith("/")&&(K.resource.length<=1||K.resource[1]!==":")){K.resource=$(v.inputFileSystem,E,K.resource)}}else{for(const v of K.dependencies){if(v.critical)v.critical=false}}}return K}))}))}}const createResolveDependenciesFromContextMap=v=>{const resolveDependenciesFromContextMap=(E,P,$)=>{v(E,((v,E)=>{if(v)return $(v);const N=Object.keys(E).map((v=>new R(E[v]+P.resourceQuery+P.resourceFragment,v,P.category,P.referencedExports)));$(null,N)}))};return resolveDependenciesFromContextMap};v.exports=ContextReplacementPlugin},20649:function(v,E,P){"use strict";const R=P(48479);const $=P(57243);class CssModule extends R{constructor(v){super(v);this.cssLayer=v.cssLayer;this.supports=v.supports;this.media=v.media;this.inheritance=v.inheritance}identifier(){let v=super.identifier();if(this.cssLayer){v+=`|${this.cssLayer}`}if(this.supports){v+=`|${this.supports}`}if(this.media){v+=`|${this.media}`}if(this.inheritance){const E=this.inheritance.map(((v,E)=>`inheritance_${E}|${v[0]||""}|${v[1]||""}|${v[2]||""}`));v+=`|${E.join("|")}`}return v}readableIdentifier(v){const E=super.readableIdentifier(v);let P=`css ${E}`;if(this.cssLayer){P+=` (layer: ${this.cssLayer})`}if(this.supports){P+=` (supports: ${this.supports})`}if(this.media){P+=` (media: ${this.media})`}return P}updateCacheModule(v){super.updateCacheModule(v);const E=v;this.cssLayer=E.cssLayer;this.supports=E.supports;this.media=E.media;this.inheritance=E.inheritance}serialize(v){const{write:E}=v;E(this.cssLayer);E(this.supports);E(this.media);E(this.inheritance);super.serialize(v)}static deserialize(v){const E=new CssModule({layer:null,type:"",resource:"",context:"",request:null,userRequest:null,rawRequest:null,loaders:null,matchResource:null,parser:null,parserOptions:null,generator:null,generatorOptions:null,resolveOptions:null,cssLayer:null,supports:null,media:null,inheritance:null});E.deserialize(v);return E}deserialize(v){const{read:E}=v;this.cssLayer=E();this.supports=E();this.media=E();this.inheritance=E();super.deserialize(v)}}$(CssModule,"webpack/lib/CssModule");v.exports=CssModule},81424:function(v,E,P){"use strict";const{JAVASCRIPT_MODULE_TYPE_AUTO:R,JAVASCRIPT_MODULE_TYPE_ESM:$,JAVASCRIPT_MODULE_TYPE_DYNAMIC:N}=P(41851);const L=P(65376);const q=P(88379);const K=P(65235);const ae=P(3643);const{evaluateToString:ge,toConstantDependency:be}=P(24810);const xe=P(14485);class RuntimeValue{constructor(v,E){this.fn=v;if(Array.isArray(E)){E={fileDependencies:E}}this.options=E||{}}get fileDependencies(){return this.options===true?true:this.options.fileDependencies}exec(v,E,P){const R=v.state.module.buildInfo;if(this.options===true){R.cacheable=false}else{if(this.options.fileDependencies){for(const v of this.options.fileDependencies){R.fileDependencies.add(v)}}if(this.options.contextDependencies){for(const v of this.options.contextDependencies){R.contextDependencies.add(v)}}if(this.options.missingDependencies){for(const v of this.options.missingDependencies){R.missingDependencies.add(v)}}if(this.options.buildDependencies){for(const v of this.options.buildDependencies){R.buildDependencies.add(v)}}}return this.fn({module:v.state.module,key:P,get version(){return E.get(Ae+P)}})}getCacheVersion(){return this.options===true?undefined:(typeof this.options.version==="function"?this.options.version():this.options.version)||"unset"}}const stringifyObj=(v,E,P,R,$,N,L,q)=>{let K;let ae=Array.isArray(v);if(ae){K=`[${v.map((v=>toCode(v,E,P,R,$,N,null))).join(",")}]`}else{let R=Object.keys(v);if(q){if(q.size===0)R=[];else R=R.filter((v=>q.has(v)))}K=`{${R.map((R=>{const L=v[R];return JSON.stringify(R)+":"+toCode(L,E,P,R,$,N,null)})).join(",")}}`}switch(L){case null:return K;case true:return ae?K:`(${K})`;case false:return ae?`;${K}`:`;(${K})`;default:return`/*#__PURE__*/Object(${K})`}};const toCode=(v,E,P,R,$,N,L,q)=>{const transformToCode=()=>{if(v===null){return"null"}if(v===undefined){return"undefined"}if(Object.is(v,-0)){return"-0"}if(v instanceof RuntimeValue){return toCode(v.exec(E,P,R),E,P,R,$,N,L)}if(v instanceof RegExp&&v.toString){return v.toString()}if(typeof v==="function"&&v.toString){return"("+v.toString()+")"}if(typeof v==="object"){return stringifyObj(v,E,P,R,$,N,L,q)}if(typeof v==="bigint"){return $.supportsBigIntLiteral()?`${v}n`:`BigInt("${v}")`}return v+""};const K=transformToCode();N.log(`Replaced "${R}" with "${K}"`);return K};const toCacheVersion=v=>{if(v===null){return"null"}if(v===undefined){return"undefined"}if(Object.is(v,-0)){return"-0"}if(v instanceof RuntimeValue){return v.getCacheVersion()}if(v instanceof RegExp&&v.toString){return v.toString()}if(typeof v==="function"&&v.toString){return"("+v.toString()+")"}if(typeof v==="object"){const E=Object.keys(v).map((E=>({key:E,value:toCacheVersion(v[E])})));if(E.some((({value:v})=>v===undefined)))return undefined;return`{${E.map((({key:v,value:E})=>`${v}: ${E}`)).join(", ")}}`}if(typeof v==="bigint"){return`${v}n`}return v+""};const ve="DefinePlugin";const Ae=`webpack/${ve} `;const Ie=`webpack/${ve}_hash`;const He=/^typeof\s+/;const Qe=/__webpack_require__\s*(!?\.)/;const Je=/__webpack_require__/;class DefinePlugin{constructor(v){this.definitions=v}static runtimeValue(v,E){return new RuntimeValue(v,E)}apply(v){const E=this.definitions;v.hooks.compilation.tap(ve,((v,{normalModuleFactory:P})=>{const Ve=v.getLogger("webpack.DefinePlugin");v.dependencyTemplates.set(K,new K.Template);const{runtimeTemplate:Ke}=v;const Ye=xe(v.outputOptions.hashFunction);Ye.update(v.valueCacheVersions.get(Ie)||"");const handler=P=>{const R=v.valueCacheVersions.get(Ie);P.hooks.program.tap(ve,(()=>{const{buildInfo:v}=P.state.module;if(!v.valueDependencies)v.valueDependencies=new Map;v.valueDependencies.set(Ie,R)}));const addValueDependency=E=>{const{buildInfo:R}=P.state.module;R.valueDependencies.set(Ae+E,v.valueCacheVersions.get(Ae+E))};const withValueDependency=(v,E)=>(...P)=>{addValueDependency(v);return E(...P)};const walkDefinitions=(v,E)=>{Object.keys(v).forEach((P=>{const R=v[P];if(R&&typeof R==="object"&&!(R instanceof RuntimeValue)&&!(R instanceof RegExp)){walkDefinitions(R,E+P+".");applyObjectDefine(E+P,R);return}applyDefineKey(E,P);applyDefine(E+P,R)}))};const applyDefineKey=(v,E)=>{const R=E.split(".");R.slice(1).forEach((($,N)=>{const L=v+R.slice(0,N+1).join(".");P.hooks.canRename.for(L).tap(ve,(()=>{addValueDependency(E);return true}))}))};const applyDefine=(E,R)=>{const $=E;const N=He.test(E);if(N)E=E.replace(He,"");let q=false;let K=false;if(!N){P.hooks.canRename.for(E).tap(ve,(()=>{addValueDependency($);return true}));P.hooks.evaluateIdentifier.for(E).tap(ve,(N=>{if(q)return;addValueDependency($);q=true;const L=P.evaluate(toCode(R,P,v.valueCacheVersions,E,Ke,Ve,null));q=false;L.setRange(N.range);return L}));P.hooks.expression.for(E).tap(ve,(E=>{addValueDependency($);let N=toCode(R,P,v.valueCacheVersions,$,Ke,Ve,!P.isAsiPosition(E.range[0]),P.destructuringAssignmentPropertiesFor(E));if(P.scope.inShorthand){N=P.scope.inShorthand+":"+N}if(Qe.test(N)){return be(P,N,[L.require])(E)}else if(Je.test(N)){return be(P,N,[L.requireScope])(E)}else{return be(P,N)(E)}}))}P.hooks.evaluateTypeof.for(E).tap(ve,(E=>{if(K)return;K=true;addValueDependency($);const L=toCode(R,P,v.valueCacheVersions,$,Ke,Ve,null);const q=N?L:"typeof ("+L+")";const ae=P.evaluate(q);K=false;ae.setRange(E.range);return ae}));P.hooks.typeof.for(E).tap(ve,(E=>{addValueDependency($);const L=toCode(R,P,v.valueCacheVersions,$,Ke,Ve,null);const q=N?L:"typeof ("+L+")";const K=P.evaluate(q);if(!K.isString())return;return be(P,JSON.stringify(K.string)).bind(P)(E)}))};const applyObjectDefine=(E,R)=>{P.hooks.canRename.for(E).tap(ve,(()=>{addValueDependency(E);return true}));P.hooks.evaluateIdentifier.for(E).tap(ve,(v=>{addValueDependency(E);return(new ae).setTruthy().setSideEffects(false).setRange(v.range)}));P.hooks.evaluateTypeof.for(E).tap(ve,withValueDependency(E,ge("object")));P.hooks.expression.for(E).tap(ve,($=>{addValueDependency(E);let N=stringifyObj(R,P,v.valueCacheVersions,E,Ke,Ve,!P.isAsiPosition($.range[0]),P.destructuringAssignmentPropertiesFor($));if(P.scope.inShorthand){N=P.scope.inShorthand+":"+N}if(Qe.test(N)){return be(P,N,[L.require])($)}else if(Je.test(N)){return be(P,N,[L.requireScope])($)}else{return be(P,N)($)}}));P.hooks.typeof.for(E).tap(ve,withValueDependency(E,be(P,JSON.stringify("object"))))};walkDefinitions(E,"")};P.hooks.parser.for(R).tap(ve,handler);P.hooks.parser.for(N).tap(ve,handler);P.hooks.parser.for($).tap(ve,handler);const walkDefinitionsForValues=(E,P)=>{Object.keys(E).forEach((R=>{const $=E[R];const N=toCacheVersion($);const L=Ae+P+R;Ye.update("|"+P+R);const K=v.valueCacheVersions.get(L);if(K===undefined){v.valueCacheVersions.set(L,N)}else if(K!==N){const E=new q(`${ve}\nConflicting values for '${P+R}'`);E.details=`'${K}' !== '${N}'`;E.hideStack=true;v.warnings.push(E)}if($&&typeof $==="object"&&!($ instanceof RuntimeValue)&&!($ instanceof RegExp)){walkDefinitionsForValues($,P+R+".")}}))};walkDefinitionsForValues(E,"");v.valueCacheVersions.set(Ie,Ye.digest("hex").slice(0,8))}))}}v.exports=DefinePlugin},23911:function(v,E,P){"use strict";const{OriginalSource:R,RawSource:$}=P(51255);const N=P(28230);const{JAVASCRIPT_MODULE_TYPE_DYNAMIC:L}=P(41851);const q=P(65376);const K=P(25843);const ae=P(75382);const ge=P(57243);const be=new Set(["javascript"]);const xe=new Set([q.module,q.require]);class DelegatedModule extends N{constructor(v,E,P,R,$){super(L,null);this.sourceRequest=v;this.request=E.id;this.delegationType=P;this.userRequest=R;this.originalRequest=$;this.delegateData=E;this.delegatedSourceDependency=undefined}getSourceTypes(){return be}libIdent(v){return typeof this.originalRequest==="string"?this.originalRequest:this.originalRequest.libIdent(v)}identifier(){return`delegated ${JSON.stringify(this.request)} from ${this.sourceRequest}`}readableIdentifier(v){return`delegated ${this.userRequest} from ${this.sourceRequest}`}needBuild(v,E){return E(null,!this.buildMeta)}build(v,E,P,R,$){const N=this.delegateData;this.buildMeta={...N.buildMeta};this.buildInfo={};this.dependencies.length=0;this.delegatedSourceDependency=new K(this.sourceRequest);this.addDependency(this.delegatedSourceDependency);this.addDependency(new ae(N.exports||true,false));$()}codeGeneration({runtimeTemplate:v,moduleGraph:E,chunkGraph:P}){const N=this.dependencies[0];const L=E.getModule(N);let q;if(!L){q=v.throwMissingModuleErrorBlock({request:this.sourceRequest})}else{q=`module.exports = (${v.moduleExports({module:L,chunkGraph:P,request:N.request,runtimeRequirements:new Set})})`;switch(this.delegationType){case"require":q+=`(${JSON.stringify(this.request)})`;break;case"object":q+=`[${JSON.stringify(this.request)}]`;break}q+=";"}const K=new Map;if(this.useSourceMap||this.useSimpleSourceMap){K.set("javascript",new R(q,this.identifier()))}else{K.set("javascript",new $(q))}return{sources:K,runtimeRequirements:xe}}size(v){return 42}updateHash(v,E){v.update(this.delegationType);v.update(JSON.stringify(this.request));super.updateHash(v,E)}serialize(v){const{write:E}=v;E(this.sourceRequest);E(this.delegateData);E(this.delegationType);E(this.userRequest);E(this.originalRequest);super.serialize(v)}static deserialize(v){const{read:E}=v;const P=new DelegatedModule(E(),E(),E(),E(),E());P.deserialize(v);return P}updateCacheModule(v){super.updateCacheModule(v);const E=v;this.delegationType=E.delegationType;this.userRequest=E.userRequest;this.originalRequest=E.originalRequest;this.delegateData=E.delegateData}cleanupForCache(){super.cleanupForCache();this.delegateData=undefined}}ge(DelegatedModule,"webpack/lib/DelegatedModule");v.exports=DelegatedModule},3216:function(v,E,P){"use strict";const R=P(23911);class DelegatedModuleFactoryPlugin{constructor(v){this.options=v;v.type=v.type||"require";v.extensions=v.extensions||["",".js",".json",".wasm"]}apply(v){const E=this.options.scope;if(E){v.hooks.factorize.tapAsync("DelegatedModuleFactoryPlugin",((v,P)=>{const[$]=v.dependencies;const{request:N}=$;if(N&&N.startsWith(`${E}/`)){const v="."+N.slice(E.length);let $;if(v in this.options.content){$=this.options.content[v];return P(null,new R(this.options.source,$,this.options.type,v,N))}for(let E=0;E{const E=v.libIdent(this.options);if(E){if(E in this.options.content){const P=this.options.content[E];return new R(this.options.source,P,this.options.type,E,v)}}return v}))}}}v.exports=DelegatedModuleFactoryPlugin},3419:function(v,E,P){"use strict";const R=P(3216);const $=P(25843);class DelegatedPlugin{constructor(v){this.options=v}apply(v){v.hooks.compilation.tap("DelegatedPlugin",((v,{normalModuleFactory:E})=>{v.dependencyFactories.set($,E)}));v.hooks.compile.tap("DelegatedPlugin",(({normalModuleFactory:E})=>{new R({associatedObjectForCache:v.root,...this.options}).apply(E)}))}}v.exports=DelegatedPlugin},51932:function(v,E,P){"use strict";const R=P(57243);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[];this.parent=undefined}getRootBlock(){let v=this;while(v.parent)v=v.parent;return v}addBlock(v){this.blocks.push(v);v.parent=this}addDependency(v){this.dependencies.push(v)}removeDependency(v){const E=this.dependencies.indexOf(v);if(E>=0){this.dependencies.splice(E,1)}}clearDependenciesAndBlocks(){this.dependencies.length=0;this.blocks.length=0}updateHash(v,E){for(const P of this.dependencies){P.updateHash(v,E)}for(const P of this.blocks){P.updateHash(v,E)}}serialize({write:v}){v(this.dependencies);v(this.blocks)}deserialize({read:v}){this.dependencies=v();this.blocks=v();for(const v of this.blocks){v.parent=this}}}R(DependenciesBlock,"webpack/lib/DependenciesBlock");v.exports=DependenciesBlock},86505:function(v,E,P){"use strict";const R=P(79171);const $=Symbol("transitive");const N=R((()=>{const v=P(15724);return new v("/* (ignored) */",`ignored`,`(ignored)`)}));class Dependency{constructor(){this._parentModule=undefined;this._parentDependenciesBlock=undefined;this._parentDependenciesBlockIndex=-1;this.weak=false;this.optional=false;this._locSL=0;this._locSC=0;this._locEL=0;this._locEC=0;this._locI=undefined;this._locN=undefined;this._loc=undefined}get type(){return"unknown"}get category(){return"unknown"}get loc(){if(this._loc!==undefined)return this._loc;const v={};if(this._locSL>0){v.start={line:this._locSL,column:this._locSC}}if(this._locEL>0){v.end={line:this._locEL,column:this._locEC}}if(this._locN!==undefined){v.name=this._locN}if(this._locI!==undefined){v.index=this._locI}return this._loc=v}set loc(v){if("start"in v&&typeof v.start==="object"){this._locSL=v.start.line||0;this._locSC=v.start.column||0}else{this._locSL=0;this._locSC=0}if("end"in v&&typeof v.end==="object"){this._locEL=v.end.line||0;this._locEC=v.end.column||0}else{this._locEL=0;this._locEC=0}if("index"in v){this._locI=v.index}else{this._locI=undefined}if("name"in v){this._locN=v.name}else{this._locN=undefined}this._loc=v}setLoc(v,E,P,R){this._locSL=v;this._locSC=E;this._locEL=P;this._locEC=R;this._locI=undefined;this._locN=undefined;this._loc=undefined}getContext(){return undefined}getResourceIdentifier(){return null}couldAffectReferencingModule(){return $}getReference(v){throw new Error("Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active")}getReferencedExports(v,E){return Dependency.EXPORTS_OBJECT_REFERENCED}getCondition(v){return null}getExports(v){return undefined}getWarnings(v){return null}getErrors(v){return null}updateHash(v,E){}getNumberOfIdOccurrences(){return 1}getModuleEvaluationSideEffectsState(v){return true}createIgnoredModule(v){return N()}serialize({write:v}){v(this.weak);v(this.optional);v(this._locSL);v(this._locSC);v(this._locEL);v(this._locEC);v(this._locI);v(this._locN)}deserialize({read:v}){this.weak=v();this.optional=v();this._locSL=v();this._locSC=v();this._locEL=v();this._locEC=v();this._locI=v();this._locN=v()}}Dependency.NO_EXPORTS_REFERENCED=[];Dependency.EXPORTS_OBJECT_REFERENCED=[[]];Object.defineProperty(Dependency.prototype,"module",{get(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.getModule(dependency) instead)")},set(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.updateModule(dependency, module) instead)")}});Object.defineProperty(Dependency.prototype,"disconnect",{get(){throw new Error("disconnect was removed from Dependency (Dependency no longer carries graph specific information)")}});Dependency.TRANSITIVE=$;v.exports=Dependency},33720:function(v,E,P){"use strict";class DependencyTemplate{apply(v,E,R){const $=P(40633);throw new $}}v.exports=DependencyTemplate},89116:function(v,E,P){"use strict";const R=P(14485);class DependencyTemplates{constructor(v="md4"){this._map=new Map;this._hash="31d6cfe0d16ae931b73c59d7e0c089c0";this._hashFunction=v}get(v){return this._map.get(v)}set(v,E){this._map.set(v,E)}updateHash(v){const E=R(this._hashFunction);E.update(`${this._hash}${v}`);this._hash=E.digest("hex")}getHash(){return this._hash}clone(){const v=new DependencyTemplates(this._hashFunction);v._map=new Map(this._map);v._hash=this._hash;return v}}v.exports=DependencyTemplates},10062:function(v,E,P){"use strict";const R=P(62602);const $=P(65304);const N=P(20877);class DllEntryPlugin{constructor(v,E,P){this.context=v;this.entries=E;this.options=P}apply(v){v.hooks.compilation.tap("DllEntryPlugin",((v,{normalModuleFactory:E})=>{const P=new R;v.dependencyFactories.set($,P);v.dependencyFactories.set(N,E)}));v.hooks.make.tapAsync("DllEntryPlugin",((v,E)=>{v.addEntry(this.context,new $(this.entries.map(((v,E)=>{const P=new N(v);P.loc={name:this.options.name,index:E};return P})),this.options.name),this.options,(v=>{if(v)return E(v);E()}))}))}}v.exports=DllEntryPlugin},11573:function(v,E,P){"use strict";const{RawSource:R}=P(51255);const $=P(28230);const{JAVASCRIPT_MODULE_TYPE_DYNAMIC:N}=P(41851);const L=P(65376);const q=P(57243);const K=new Set(["javascript"]);const ae=new Set([L.require,L.module]);class DllModule extends ${constructor(v,E,P){super(N,v);this.dependencies=E;this.name=P}getSourceTypes(){return K}identifier(){return`dll ${this.name}`}readableIdentifier(v){return`dll ${this.name}`}build(v,E,P,R,$){this.buildMeta={};this.buildInfo={};return $()}codeGeneration(v){const E=new Map;E.set("javascript",new R(`module.exports = ${L.require};`));return{sources:E,runtimeRequirements:ae}}needBuild(v,E){return E(null,!this.buildMeta)}size(v){return 12}updateHash(v,E){v.update(`dll module${this.name||""}`);super.updateHash(v,E)}serialize(v){v.write(this.name);super.serialize(v)}deserialize(v){this.name=v.read();super.deserialize(v)}updateCacheModule(v){super.updateCacheModule(v);this.dependencies=v.dependencies}cleanupForCache(){super.cleanupForCache();this.dependencies=undefined}}q(DllModule,"webpack/lib/DllModule");v.exports=DllModule},62602:function(v,E,P){"use strict";const R=P(11573);const $=P(20364);class DllModuleFactory extends ${constructor(){super();this.hooks=Object.freeze({})}create(v,E){const P=v.dependencies[0];E(null,{module:new R(v.context,P.dependencies,P.name)})}}v.exports=DllModuleFactory},23129:function(v,E,P){"use strict";const R=P(10062);const $=P(87473);const N=P(64241);const L=P(29505);const q=L(P(28358),(()=>P(4367)),{name:"Dll Plugin",baseDataPath:"options"});class DllPlugin{constructor(v){q(v);this.options={...v,entryOnly:v.entryOnly!==false}}apply(v){v.hooks.entryOption.tap("DllPlugin",((E,P)=>{if(typeof P!=="function"){for(const $ of Object.keys(P)){const N={name:$,filename:P.filename};new R(E,P[$].import,N).apply(v)}}else{throw new Error("DllPlugin doesn't support dynamic entry (function) yet")}return true}));new N(this.options).apply(v);if(!this.options.entryOnly){new $("DllPlugin").apply(v)}}}v.exports=DllPlugin},91347:function(v,E,P){"use strict";const R=P(54650);const $=P(3216);const N=P(88530);const L=P(88379);const q=P(25843);const K=P(29505);const ae=P(98509).makePathsRelative;const ge=K(P(49557),(()=>P(92649)),{name:"Dll Reference Plugin",baseDataPath:"options"});class DllReferencePlugin{constructor(v){ge(v);this.options=v;this._compilationData=new WeakMap}apply(v){v.hooks.compilation.tap("DllReferencePlugin",((v,{normalModuleFactory:E})=>{v.dependencyFactories.set(q,E)}));v.hooks.beforeCompile.tapAsync("DllReferencePlugin",((E,P)=>{if("manifest"in this.options){const $=this.options.manifest;if(typeof $==="string"){v.inputFileSystem.readFile($,((N,L)=>{if(N)return P(N);const q={path:$,data:undefined,error:undefined};try{q.data=R(L.toString("utf-8"))}catch(E){const P=ae(v.options.context,$,v.root);q.error=new DllManifestError(P,E.message)}this._compilationData.set(E,q);return P()}));return}}return P()}));v.hooks.compile.tap("DllReferencePlugin",(E=>{let P=this.options.name;let R=this.options.sourceType;let L="content"in this.options?this.options.content:undefined;if("manifest"in this.options){let v=this.options.manifest;let $;if(typeof v==="string"){const v=this._compilationData.get(E);if(v.error){return}$=v.data}else{$=v}if($){if(!P)P=$.name;if(!R)R=$.type;if(!L)L=$.content}}const q={};const K="dll-reference "+P;q[K]=P;const ae=E.normalModuleFactory;new N(R||"var",q).apply(ae);new $({source:K,type:this.options.type,scope:this.options.scope,context:this.options.context||v.options.context,content:L,extensions:this.options.extensions,associatedObjectForCache:v.root}).apply(ae)}));v.hooks.compilation.tap("DllReferencePlugin",((v,E)=>{if("manifest"in this.options){let P=this.options.manifest;if(typeof P==="string"){const R=this._compilationData.get(E);if(R.error){v.errors.push(R.error)}v.fileDependencies.add(P)}}}))}}class DllManifestError extends L{constructor(v,E){super();this.name="DllManifestError";this.message=`Dll manifest ${v}\n${E}`}}v.exports=DllReferencePlugin},56447:function(v,E,P){"use strict";const R=P(45275);const $=P(73949);const N=P(20877);class DynamicEntryPlugin{constructor(v,E){this.context=v;this.entry=E}apply(v){v.hooks.compilation.tap("DynamicEntryPlugin",((v,{normalModuleFactory:E})=>{v.dependencyFactories.set(N,E)}));v.hooks.make.tapPromise("DynamicEntryPlugin",((E,P)=>Promise.resolve(this.entry()).then((P=>{const N=[];for(const L of Object.keys(P)){const q=P[L];const K=R.entryDescriptionToOptions(v,L,q);for(const v of q.import){N.push(new Promise(((P,R)=>{E.addEntry(this.context,$.createDependency(v,K),K,(v=>{if(v)return R(v);P()}))})))}}return Promise.all(N)})).then((v=>{}))))}}v.exports=DynamicEntryPlugin},45275:function(v,E,P){"use strict";class EntryOptionPlugin{apply(v){v.hooks.entryOption.tap("EntryOptionPlugin",((E,P)=>{EntryOptionPlugin.applyEntryOption(v,E,P);return true}))}static applyEntryOption(v,E,R){if(typeof R==="function"){const $=P(56447);new $(E,R).apply(v)}else{const $=P(73949);for(const P of Object.keys(R)){const N=R[P];const L=EntryOptionPlugin.entryDescriptionToOptions(v,P,N);for(const P of N.import){new $(E,P,L).apply(v)}}}}static entryDescriptionToOptions(v,E,R){const $={name:E,filename:R.filename,runtime:R.runtime,layer:R.layer,dependOn:R.dependOn,baseUri:R.baseUri,publicPath:R.publicPath,chunkLoading:R.chunkLoading,asyncChunks:R.asyncChunks,wasmLoading:R.wasmLoading,library:R.library};if(R.layer!==undefined&&!v.options.experiments.layers){throw new Error("'entryOptions.layer' is only allowed when 'experiments.layers' is enabled")}if(R.chunkLoading){const E=P(4472);E.checkEnabled(v,R.chunkLoading)}if(R.wasmLoading){const E=P(75727);E.checkEnabled(v,R.wasmLoading)}if(R.library){const E=P(29392);E.checkEnabled(v,R.library.type)}return $}}v.exports=EntryOptionPlugin},73949:function(v,E,P){"use strict";const R=P(20877);class EntryPlugin{constructor(v,E,P){this.context=v;this.entry=E;this.options=P||""}apply(v){v.hooks.compilation.tap("EntryPlugin",((v,{normalModuleFactory:E})=>{v.dependencyFactories.set(R,E)}));const{entry:E,options:P,context:$}=this;const N=EntryPlugin.createDependency(E,P);v.hooks.make.tapAsync("EntryPlugin",((v,E)=>{v.addEntry($,N,P,(v=>{E(v)}))}))}static createDependency(v,E){const P=new R(v);P.loc={name:typeof E==="object"?E.name:E};return P}}v.exports=EntryPlugin},8203:function(v,E,P){"use strict";const R=P(31581);class Entrypoint extends R{constructor(v,E=true){if(typeof v==="string"){v={name:v}}super({name:v.name});this.options=v;this._runtimeChunk=undefined;this._entrypointChunk=undefined;this._initial=E}isInitial(){return this._initial}setRuntimeChunk(v){this._runtimeChunk=v}getRuntimeChunk(){if(this._runtimeChunk)return this._runtimeChunk;for(const v of this.parentsIterable){if(v instanceof Entrypoint)return v.getRuntimeChunk()}return null}setEntrypointChunk(v){this._entrypointChunk=v}getEntrypointChunk(){return this._entrypointChunk}replaceChunk(v,E){if(this._runtimeChunk===v)this._runtimeChunk=E;if(this._entrypointChunk===v)this._entrypointChunk=E;return super.replaceChunk(v,E)}}v.exports=Entrypoint},86336:function(v,E,P){"use strict";const R=P(88379);const $=P(57243);class EnvironmentNotSupportAsyncWarning extends R{constructor(v,E){const P=`The generated code contains 'async/await' because this module is using "${E}".\nHowever, your target environment does not appear to support 'async/await'.\nAs a result, the code may not run as expected or may cause runtime errors.`;super(P);this.name="EnvironmentNotSupportAsyncWarning";this.module=v}static check(v,E,P){if(!E.supportsAsyncFunction()){v.addWarning(new EnvironmentNotSupportAsyncWarning(v,P))}}}$(EnvironmentNotSupportAsyncWarning,"webpack/lib/EnvironmentNotSupportAsyncWarning");v.exports=EnvironmentNotSupportAsyncWarning},88744:function(v,E,P){"use strict";const R=P(81424);const $=P(88379);class EnvironmentPlugin{constructor(...v){if(v.length===1&&Array.isArray(v[0])){this.keys=v[0];this.defaultValues={}}else if(v.length===1&&v[0]&&typeof v[0]==="object"){this.keys=Object.keys(v[0]);this.defaultValues=v[0]}else{this.keys=v;this.defaultValues={}}}apply(v){const E={};for(const P of this.keys){const R=process.env[P]!==undefined?process.env[P]:this.defaultValues[P];if(R===undefined){v.hooks.thisCompilation.tap("EnvironmentPlugin",(v=>{const E=new $(`EnvironmentPlugin - ${P} environment variable is undefined.\n\n`+"You can pass an object with default values to suppress this warning.\n"+"See https://webpack.js.org/plugins/environment-plugin for example.");E.name="EnvVariableNotDefinedError";v.errors.push(E)}))}E[`process.env.${P}`]=R===undefined?"undefined":JSON.stringify(R)}new R(E).apply(v)}}v.exports=EnvironmentPlugin},78244:function(v,E){"use strict";const P="LOADER_EXECUTION";const R="WEBPACK_OPTIONS";const cutOffByFlag=(v,E)=>{const P=v.split("\n");for(let v=0;vcutOffByFlag(v,P);const cutOffWebpackOptions=v=>cutOffByFlag(v,R);const cutOffMultilineMessage=(v,E)=>{const P=v.split("\n");const R=E.split("\n");const $=[];P.forEach(((v,E)=>{if(!v.includes(R[E]))$.push(v)}));return $.join("\n")};const cutOffMessage=(v,E)=>{const P=v.indexOf("\n");if(P===-1){return v===E?"":v}else{const R=v.slice(0,P);return R===E?v.slice(P+1):v}};const cleanUp=(v,E)=>{v=cutOffLoaderExecution(v);v=cutOffMessage(v,E);return v};const cleanUpWebpackOptions=(v,E)=>{v=cutOffWebpackOptions(v);v=cutOffMultilineMessage(v,E);return v};E.cutOffByFlag=cutOffByFlag;E.cutOffLoaderExecution=cutOffLoaderExecution;E.cutOffWebpackOptions=cutOffWebpackOptions;E.cutOffMultilineMessage=cutOffMultilineMessage;E.cutOffMessage=cutOffMessage;E.cleanUp=cleanUp;E.cleanUpWebpackOptions=cleanUpWebpackOptions},84018:function(v,E,P){"use strict";const{ConcatSource:R,RawSource:$}=P(51255);const N=P(80442);const L=P(67678);const q=P(65376);const K=P(50533);const ae=new WeakMap;const ge=new $(`/*\n * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalDevToolModulePlugin{constructor(v){this.namespace=v.namespace||"";this.sourceUrlComment=v.sourceUrlComment||"\n//# sourceURL=[url]";this.moduleFilenameTemplate=v.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[loaders]"}apply(v){v.hooks.compilation.tap("EvalDevToolModulePlugin",(v=>{const E=K.getCompilationHooks(v);E.renderModuleContent.tap("EvalDevToolModulePlugin",((E,P,{runtimeTemplate:R,chunkGraph:K})=>{const ge=ae.get(E);if(ge!==undefined)return ge;if(P instanceof N){ae.set(E,E);return E}const be=E.source();const xe=L.createFilename(P,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:R.requestShortener,chunkGraph:K,hashFunction:v.outputOptions.hashFunction});const ve="\n"+this.sourceUrlComment.replace(/\[url\]/g,encodeURI(xe).replace(/%2F/g,"/").replace(/%20/g,"_").replace(/%5E/g,"^").replace(/%5C/g,"\\").replace(/^\//,""));const Ae=new $(`eval(${v.outputOptions.trustedTypes?`${q.createScript}(${JSON.stringify(be+ve)})`:JSON.stringify(be+ve)});`);ae.set(E,Ae);return Ae}));E.inlineInRuntimeBailout.tap("EvalDevToolModulePlugin",(()=>"the eval devtool is used."));E.render.tap("EvalDevToolModulePlugin",(v=>new R(ge,v)));E.chunkHash.tap("EvalDevToolModulePlugin",((v,E)=>{E.update("EvalDevToolModulePlugin");E.update("2")}));if(v.outputOptions.trustedTypes){v.hooks.additionalModuleRuntimeRequirements.tap("EvalDevToolModulePlugin",((v,E,P)=>{E.add(q.createScript)}))}}))}}v.exports=EvalDevToolModulePlugin},68296:function(v,E,P){"use strict";const{ConcatSource:R,RawSource:$}=P(51255);const N=P(67678);const L=P(48479);const q=P(65376);const K=P(95069);const ae=P(50533);const ge=P(70746);const{makePathsAbsolute:be}=P(98509);const xe=new WeakMap;const ve=new $(`/*\n * ATTENTION: An "eval-source-map" devtool has been used.\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalSourceMapDevToolPlugin{constructor(v){let E;if(typeof v==="string"){E={append:v}}else{E=v}this.sourceMapComment=E.append&&typeof E.append!=="function"?E.append:"//# sourceURL=[module]\n//# sourceMappingURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resource-path]?[hash]";this.namespace=E.namespace||"";this.options=E}apply(v){const E=this.options;v.hooks.compilation.tap("EvalSourceMapDevToolPlugin",(P=>{const Ae=ae.getCompilationHooks(P);new K(E).apply(P);const Ie=N.matchObject.bind(N,E);Ae.renderModuleContent.tap("EvalSourceMapDevToolPlugin",((R,K,{runtimeTemplate:ae,chunkGraph:ve})=>{const Ae=xe.get(R);if(Ae!==undefined){return Ae}const result=v=>{xe.set(R,v);return v};if(K instanceof L){const v=K;if(!Ie(v.resource)){return result(R)}}else if(K instanceof ge){const v=K;if(v.rootModule instanceof L){const E=v.rootModule;if(!Ie(E.resource)){return result(R)}}else{return result(R)}}else{return result(R)}let He;let Qe;if(R.sourceAndMap){const v=R.sourceAndMap(E);He=v.map;Qe=v.source}else{He=R.map(E);Qe=R.source()}if(!He){return result(R)}He={...He};const Je=v.options.context;const Ve=v.root;const Ke=He.sources.map((v=>{if(!v.startsWith("webpack://"))return v;v=be(Je,v.slice(10),Ve);const E=P.findModule(v);return E||v}));let Ye=Ke.map((v=>N.createFilename(v,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:ae.requestShortener,chunkGraph:ve,hashFunction:P.outputOptions.hashFunction})));Ye=N.replaceDuplicates(Ye,((v,E,P)=>{for(let E=0;E"the eval-source-map devtool is used."));Ae.render.tap("EvalSourceMapDevToolPlugin",(v=>new R(ve,v)));Ae.chunkHash.tap("EvalSourceMapDevToolPlugin",((v,E)=>{E.update("EvalSourceMapDevToolPlugin");E.update("2")}));if(P.outputOptions.trustedTypes){P.hooks.additionalModuleRuntimeRequirements.tap("EvalSourceMapDevToolPlugin",((v,E,P)=>{E.add(q.createScript)}))}}))}}v.exports=EvalSourceMapDevToolPlugin},1314:function(v,E,P){"use strict";const{equals:R}=P(6537);const $=P(33244);const N=P(57243);const{forEachRuntime:L}=P(41302);const q=Object.freeze({Unused:0,OnlyPropertiesUsed:1,NoInfo:2,Unknown:3,Used:4});const RETURNS_TRUE=()=>true;const K=Symbol("circular target");class RestoreProvidedData{constructor(v,E,P,R){this.exports=v;this.otherProvided=E;this.otherCanMangleProvide=P;this.otherTerminalBinding=R}serialize({write:v}){v(this.exports);v(this.otherProvided);v(this.otherCanMangleProvide);v(this.otherTerminalBinding)}static deserialize({read:v}){return new RestoreProvidedData(v(),v(),v(),v())}}N(RestoreProvidedData,"webpack/lib/ModuleGraph","RestoreProvidedData");class ExportsInfo{constructor(){this._exports=new Map;this._otherExportsInfo=new ExportInfo(null);this._sideEffectsOnlyInfo=new ExportInfo("*side effects only*");this._exportsAreOrdered=false;this._redirectTo=undefined}get ownedExports(){return this._exports.values()}get orderedOwnedExports(){if(!this._exportsAreOrdered){this._sortExports()}return this._exports.values()}get exports(){if(this._redirectTo!==undefined){const v=new Map(this._redirectTo._exports);for(const[E,P]of this._exports){v.set(E,P)}return v.values()}return this._exports.values()}get orderedExports(){if(!this._exportsAreOrdered){this._sortExports()}if(this._redirectTo!==undefined){const v=new Map(Array.from(this._redirectTo.orderedExports,(v=>[v.name,v])));for(const[E,P]of this._exports){v.set(E,P)}this._sortExportsMap(v);return v.values()}return this._exports.values()}get otherExportsInfo(){if(this._redirectTo!==undefined)return this._redirectTo.otherExportsInfo;return this._otherExportsInfo}_sortExportsMap(v){if(v.size>1){const E=[];for(const P of v.values()){E.push(P.name)}E.sort();let P=0;for(const R of v.values()){const v=E[P];if(R.name!==v)break;P++}for(;P0){const E=this.getReadOnlyExportInfo(v[0]);if(!E.exportsInfo)return undefined;return E.exportsInfo.getNestedExportsInfo(v.slice(1))}return this}setUnknownExportsProvided(v,E,P,R,$){let N=false;if(E){for(const v of E){this.getExportInfo(v)}}for(const $ of this._exports.values()){if(!v&&$.canMangleProvide!==false){$.canMangleProvide=false;N=true}if(E&&E.has($.name))continue;if($.provided!==true&&$.provided!==null){$.provided=null;N=true}if(P){$.setTarget(P,R,[$.name],-1)}}if(this._redirectTo!==undefined){if(this._redirectTo.setUnknownExportsProvided(v,E,P,R,$)){N=true}}else{if(this._otherExportsInfo.provided!==true&&this._otherExportsInfo.provided!==null){this._otherExportsInfo.provided=null;N=true}if(!v&&this._otherExportsInfo.canMangleProvide!==false){this._otherExportsInfo.canMangleProvide=false;N=true}if(P){this._otherExportsInfo.setTarget(P,R,undefined,$)}}return N}setUsedInUnknownWay(v){let E=false;for(const P of this._exports.values()){if(P.setUsedInUnknownWay(v)){E=true}}if(this._redirectTo!==undefined){if(this._redirectTo.setUsedInUnknownWay(v)){E=true}}else{if(this._otherExportsInfo.setUsedConditionally((v=>vv===q.Unused),q.Used,v)}isUsed(v){if(this._redirectTo!==undefined){if(this._redirectTo.isUsed(v)){return true}}else{if(this._otherExportsInfo.getUsed(v)!==q.Unused){return true}}for(const E of this._exports.values()){if(E.getUsed(v)!==q.Unused){return true}}return false}isModuleUsed(v){if(this.isUsed(v))return true;if(this._sideEffectsOnlyInfo.getUsed(v)!==q.Unused)return true;return false}getUsedExports(v){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.getUsed(v)){case q.NoInfo:return null;case q.Unknown:case q.OnlyPropertiesUsed:case q.Used:return true}}const E=[];if(!this._exportsAreOrdered)this._sortExports();for(const P of this._exports.values()){switch(P.getUsed(v)){case q.NoInfo:return null;case q.Unknown:return true;case q.OnlyPropertiesUsed:case q.Used:E.push(P.name)}}if(this._redirectTo!==undefined){const P=this._redirectTo.getUsedExports(v);if(P===null)return null;if(P===true)return true;if(P!==false){for(const v of P){E.push(v)}}}if(E.length===0){switch(this._sideEffectsOnlyInfo.getUsed(v)){case q.NoInfo:return null;case q.Unused:return false}}return new $(E)}getProvidedExports(){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.provided){case undefined:return null;case null:return true;case true:return true}}const v=[];if(!this._exportsAreOrdered)this._sortExports();for(const E of this._exports.values()){switch(E.provided){case undefined:return null;case null:return true;case true:v.push(E.name)}}if(this._redirectTo!==undefined){const E=this._redirectTo.getProvidedExports();if(E===null)return null;if(E===true)return true;for(const P of E){if(!v.includes(P)){v.push(P)}}}return v}getRelevantExports(v){const E=[];for(const P of this._exports.values()){const R=P.getUsed(v);if(R===q.Unused)continue;if(P.provided===false)continue;E.push(P)}if(this._redirectTo!==undefined){for(const P of this._redirectTo.getRelevantExports(v)){if(!this._exports.has(P.name))E.push(P)}}if(this._otherExportsInfo.provided!==false&&this._otherExportsInfo.getUsed(v)!==q.Unused){E.push(this._otherExportsInfo)}return E}isExportProvided(v){if(Array.isArray(v)){const E=this.getReadOnlyExportInfo(v[0]);if(E.exportsInfo&&v.length>1){return E.exportsInfo.isExportProvided(v.slice(1))}return E.provided?v.length===1||undefined:E.provided}const E=this.getReadOnlyExportInfo(v);return E.provided}getUsageKey(v){const E=[];if(this._redirectTo!==undefined){E.push(this._redirectTo.getUsageKey(v))}else{E.push(this._otherExportsInfo.getUsed(v))}E.push(this._sideEffectsOnlyInfo.getUsed(v));for(const P of this.orderedOwnedExports){E.push(P.getUsed(v))}return E.join("|")}isEquallyUsed(v,E){if(this._redirectTo!==undefined){if(!this._redirectTo.isEquallyUsed(v,E))return false}else{if(this._otherExportsInfo.getUsed(v)!==this._otherExportsInfo.getUsed(E)){return false}}if(this._sideEffectsOnlyInfo.getUsed(v)!==this._sideEffectsOnlyInfo.getUsed(E)){return false}for(const P of this.ownedExports){if(P.getUsed(v)!==P.getUsed(E))return false}return true}getUsed(v,E){if(Array.isArray(v)){if(v.length===0)return this.otherExportsInfo.getUsed(E);let P=this.getReadOnlyExportInfo(v[0]);if(P.exportsInfo&&v.length>1){return P.exportsInfo.getUsed(v.slice(1),E)}return P.getUsed(E)}let P=this.getReadOnlyExportInfo(v);return P.getUsed(E)}getUsedName(v,E){if(Array.isArray(v)){if(v.length===0){if(!this.isUsed(E))return false;return v}let P=this.getReadOnlyExportInfo(v[0]);const R=P.getUsedName(v[0],E);if(R===false)return false;const $=R===v[0]&&v.length===1?v:[R];if(v.length===1){return $}if(P.exportsInfo&&P.getUsed(E)===q.OnlyPropertiesUsed){const R=P.exportsInfo.getUsedName(v.slice(1),E);if(!R)return false;return $.concat(R)}else{return $.concat(v.slice(1))}}else{let P=this.getReadOnlyExportInfo(v);const R=P.getUsedName(v,E);return R}}updateHash(v,E){this._updateHash(v,E,new Set)}_updateHash(v,E,P){const R=new Set(P);R.add(this);for(const P of this.orderedExports){if(P.hasInfo(this._otherExportsInfo,E)){P._updateHash(v,E,R)}}this._sideEffectsOnlyInfo._updateHash(v,E,R);this._otherExportsInfo._updateHash(v,E,R);if(this._redirectTo!==undefined){this._redirectTo._updateHash(v,E,R)}}getRestoreProvidedData(){const v=this._otherExportsInfo.provided;const E=this._otherExportsInfo.canMangleProvide;const P=this._otherExportsInfo.terminalBinding;const R=[];for(const $ of this.orderedExports){if($.provided!==v||$.canMangleProvide!==E||$.terminalBinding!==P||$.exportsInfoOwned){R.push({name:$.name,provided:$.provided,canMangleProvide:$.canMangleProvide,terminalBinding:$.terminalBinding,exportsInfo:$.exportsInfoOwned?$.exportsInfo.getRestoreProvidedData():undefined})}}return new RestoreProvidedData(R,v,E,P)}restoreProvided({otherProvided:v,otherCanMangleProvide:E,otherTerminalBinding:P,exports:R}){let $=true;for(const R of this._exports.values()){$=false;R.provided=v;R.canMangleProvide=E;R.terminalBinding=P}this._otherExportsInfo.provided=v;this._otherExportsInfo.canMangleProvide=E;this._otherExportsInfo.terminalBinding=P;for(const v of R){const E=this.getExportInfo(v.name);E.provided=v.provided;E.canMangleProvide=v.canMangleProvide;E.terminalBinding=v.terminalBinding;if(v.exportsInfo){const P=E.createNestedExportsInfo();P.restoreProvided(v.exportsInfo)}}if($)this._exportsAreOrdered=true}}class ExportInfo{constructor(v,E){this.name=v;this._usedName=E?E._usedName:null;this._globalUsed=E?E._globalUsed:undefined;this._usedInRuntime=E&&E._usedInRuntime?new Map(E._usedInRuntime):undefined;this._hasUseInRuntimeInfo=E?E._hasUseInRuntimeInfo:false;this.provided=E?E.provided:undefined;this.terminalBinding=E?E.terminalBinding:false;this.canMangleProvide=E?E.canMangleProvide:undefined;this.canMangleUse=E?E.canMangleUse:undefined;this.exportsInfoOwned=false;this.exportsInfo=undefined;this._target=undefined;if(E&&E._target){this._target=new Map;for(const[P,R]of E._target){this._target.set(P,{connection:R.connection,export:R.export||[v],priority:R.priority})}}this._maxTarget=undefined}get used(){throw new Error("REMOVED")}get usedName(){throw new Error("REMOVED")}set used(v){throw new Error("REMOVED")}set usedName(v){throw new Error("REMOVED")}get canMangle(){switch(this.canMangleProvide){case undefined:return this.canMangleUse===false?false:undefined;case false:return false;case true:switch(this.canMangleUse){case undefined:return undefined;case false:return false;case true:return true}}throw new Error(`Unexpected flags for canMangle ${this.canMangleProvide} ${this.canMangleUse}`)}setUsedInUnknownWay(v){let E=false;if(this.setUsedConditionally((v=>vthis._usedInRuntime.set(v,E)));return true}}else{let R=false;L(P,(P=>{let $=this._usedInRuntime.get(P);if($===undefined)$=q.Unused;if(E!==$&&v($)){if(E===q.Unused){this._usedInRuntime.delete(P)}else{this._usedInRuntime.set(P,E)}R=true}}));if(R){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}setUsed(v,E){if(E===undefined){if(this._globalUsed!==v){this._globalUsed=v;return true}}else if(this._usedInRuntime===undefined){if(v!==q.Unused){this._usedInRuntime=new Map;L(E,(E=>this._usedInRuntime.set(E,v)));return true}}else{let P=false;L(E,(E=>{let R=this._usedInRuntime.get(E);if(R===undefined)R=q.Unused;if(v!==R){if(v===q.Unused){this._usedInRuntime.delete(E)}else{this._usedInRuntime.set(E,v)}P=true}}));if(P){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}unsetTarget(v){if(!this._target)return false;if(this._target.delete(v)){this._maxTarget=undefined;return true}return false}setTarget(v,E,P,$=0){if(P)P=[...P];if(!this._target){this._target=new Map;this._target.set(v,{connection:E,export:P,priority:$});return true}const N=this._target.get(v);if(!N){if(N===null&&!E)return false;this._target.set(v,{connection:E,export:P,priority:$});this._maxTarget=undefined;return true}if(N.connection!==E||N.priority!==$||(P?!N.export||!R(N.export,P):N.export)){N.connection=E;N.export=P;N.priority=$;this._maxTarget=undefined;return true}return false}getUsed(v){if(!this._hasUseInRuntimeInfo)return q.NoInfo;if(this._globalUsed!==undefined)return this._globalUsed;if(this._usedInRuntime===undefined){return q.Unused}else if(typeof v==="string"){const E=this._usedInRuntime.get(v);return E===undefined?q.Unused:E}else if(v===undefined){let v=q.Unused;for(const E of this._usedInRuntime.values()){if(E===q.Used){return q.Used}if(v!this._usedInRuntime.has(v)))){return false}}}}if(this._usedName!==null)return this._usedName;return this.name||v}hasUsedName(){return this._usedName!==null}setUsedName(v){this._usedName=v}getTerminalBinding(v,E=RETURNS_TRUE){if(this.terminalBinding)return this;const P=this.getTarget(v,E);if(!P)return undefined;const R=v.getExportsInfo(P.module);if(!P.export)return R;return R.getReadOnlyExportInfoRecursive(P.export)}isReexport(){return!this.terminalBinding&&this._target&&this._target.size>0}_getMaxTarget(){if(this._maxTarget!==undefined)return this._maxTarget;if(this._target.size<=1)return this._maxTarget=this._target;let v=-Infinity;let E=Infinity;for(const{priority:P}of this._target.values()){if(v