1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,147970,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),t.exports.jsxRuntime=e.r(686309)},721981,(e,t,s)=>{t.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"Â¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"Â",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"Ã",Aacute:"Ã",Acirc:"Ã",Atilde:"Ã",Auml:"Ã",Aring:"Ã
",AElig:"Ã",Ccedil:"Ã",Egrave:"Ã",Eacute:"Ã",Ecirc:"Ã",Euml:"Ã",Igrave:"Ã",Iacute:"Ã",Icirc:"Ã",Iuml:"Ã",ETH:"Ã",Ntilde:"Ã",Ograve:"Ã",Oacute:"Ã",Ocirc:"Ã",Otilde:"Ã",Ouml:"Ã",times:"Ã",Oslash:"Ã",Ugrave:"Ã",Uacute:"Ã",Ucirc:"Ã",Uuml:"Ã",Yacute:"Ã",THORN:"Ã",szlig:"Ã",agrave:"à ",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"Ã¥",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"Ã",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Å",oelig:"Å",Scaron:"Å ",scaron:"Å¡",Yuml:"Ÿ",fnof:"Æ",circ:"Ë",tilde:"Ë",Alpha:"Î",Beta:"Î",Gamma:"Î",Delta:"Î",Epsilon:"Î",Zeta:"Î",Eta:"Î",Theta:"Î",Iota:"Î",Kappa:"Î",Lambda:"Î",Mu:"Î",Nu:"Î",Xi:"Î",Omicron:"Î",Pi:"Î ",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Î¥",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"Ï",rho:"Ï",sigmaf:"Ï",sigma:"Ï",tau:"Ï",upsilon:"Ï
",phi:"Ï",chi:"Ï",psi:"Ï",omega:"Ï",thetasym:"Ï",upsih:"Ï",piv:"Ï",ensp:"â",emsp:"â",thinsp:"â",zwnj:"â",zwj:"â",lrm:"â",rlm:"â",ndash:"â",mdash:"â",lsquo:"â",rsquo:"â",sbquo:"â",ldquo:"â",rdquo:"â",bdquo:"â",dagger:"â ",Dagger:"â¡",bull:"â¢",hellip:"â¦",permil:"â°",prime:"â²",Prime:"â³",lsaquo:"â¹",rsaquo:"âº",oline:"â¾",frasl:"â",euro:"â¬",image:"â",weierp:"â",real:"â",trade:"â¢",alefsym:"âµ",larr:"â",uarr:"â",rarr:"â",darr:"â",harr:"â",crarr:"âµ",lArr:"â",uArr:"â",rArr:"â",dArr:"â",hArr:"â",forall:"â",part:"â",exist:"â",empty:"â
",nabla:"â",isin:"â",notin:"â",ni:"â",prod:"â",sum:"â",minus:"â",lowast:"â",radic:"â",prop:"â",infin:"â",ang:"â ",and:"â§",or:"â¨",cap:"â©",cup:"âª",int:"â«",there4:"â´",sim:"â¼",cong:"â
",asymp:"â",ne:"â ",equiv:"â¡",le:"â¤",ge:"â¥",sub:"â",sup:"â",nsub
1:"â",sube:"â",supe:"â",oplus:"â",otimes:"â",perp:"â¥",sdot:"â
",lceil:"â",rceil:"â",lfloor:"â",rfloor:"â",lang:"â©",rang:"âª",loz:"â",spades:"â ",clubs:"â£",hearts:"â¥",diams:"â¦"}},128235,(e,t,s)=>{e.e,function(e){"use strict";var t=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],s=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],i="ªµºÃ-ÃÃ-öø-ËË-ËË -ˤˬˮͰ-ʹͶͷͺ-ͽͿÎÎ-ÎÎÎ-ΡΣ-ϵϷ-ÒÒ-Ô¯Ô±-ÕÕÕ -Ö×-תׯ-×²Ø -Ùٮٯٱ-ÛÛÛ¥Û¦Û®Û¯Ûº-Û¼Û¿ÜÜ-ܯÝ-Þ¥Þ±ß-ߪߴߵߺà -à à à ¤à ¨à¡-à¡à¡ -ࡪࡰ-à¢à¢-à¢à¢ -à£à¤-हऽà¥à¥-ॡॱ-à¦à¦
-à¦à¦à¦à¦-নপ-রলশ-হঽà§à§à§à§-ৡৰৱৼà¨
-à¨à¨à¨à¨-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹà©-à©à©à©²-à©´àª
-àªàª-àªàª-નપ-રલળવ-હઽà«à« ૡૹà¬
-à¬à¬à¬à¬-ନପ-ରଲଳଵ-ହଽààà-à¡à±à®à®
-à®à®-à®à®-à®à®à®à®à®à®à®£à®¤à®¨-பம-ஹà¯à°
-à°à°-à°à°-నప-హఽà±-à±à±à± ౡà²à²
-à²à²-à²à²-ನಪ-ಳವ-ಹಽà³à³à³ ೡೱೲà´-à´à´-à´à´-ഺഽàµàµ-àµàµ-ൡൺ-ൿà¶
-à¶à¶-නඳ-රලà·-à·à¸-ะาำà¹-à¹àºàºàºàº-àºàº-ຣລວ-ະາຳຽà»-à»à»à»-à»à¼à½-à½à½-ཬà¾-à¾á-áªá¿á-áá-áá¡á¥á¦á®-á°áµ-ááá -á
ááá-áºá¼-áá-áá-ááá-áá -áá-áá-á°á²-áµá¸-á¾áá-á
á-áá-áá-áá-áá-áá -áµá¸-á½á-á¬á¯-á¿á-áá -áªá®-á¸á-áá-á±á-áá -á¬á®-á°á-á³ááá -ᡸá¢-ᢨᢪᢰ-ᣵá¤-á¤á¥-á¥á¥°-ᥴá¦-ᦫᦰ-á§á¨-á¨á¨ -á©áª§á¬
-ᬳá
-áá®-ᮠᮮᮯᮺ-ᯥá°-á°£á±-á±á±-á±½á²-á²á²-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺá´-á¶¿á¸-á¼á¼-á¼á¼ -á½
á½-á½á½-á½á½á½á½á½-á½½á¾-á¾´á¾¶-ᾼιá¿-á¿á¿-á¿á¿-á¿á¿-á¿á¿ -Ῥῲ-á¿´á¿¶-ῼâ±â¿â-ââââ-âââ-ââ¤â¦â¨âª-â¹â¼-â¿â
-â
â
â
-ââ°-ⳤⳫ-ⳮⳲⳳâ´-ⴥⴧâ´â´°-ⵧⵯâ¶-â¶â¶ -ⶦⶨ-ⶮⶰ-ⶶⶸ-â¶¾â·-â·â·-â·â·-â·â·-â·ã
-ãã¡-ã©ã±-ãµã¸-ã¼ã-ãã-ãã¡-ãºã¼-ã¿ã
-ã¯ã±-ãã -ã¿ã°-ã¿ã-ä¶¿ä¸-êê-ê½ê-êê
1-êêªê«ê-ê®ê¿-êê -ê¯ê-êê¢-êê-êêêêê-êê²-ê ê -ê
ê -ê ê -ê ¢ê¡-ꡳê¢-ꢳꣲ-ꣷꣻꣽꣾê¤-ꤥꤰ-ê¥ê¥ -ꥼê¦-ꦲê§ê§ -ꧤꧦ-ꧯꧺ-ê§¾ê¨-ꨨê©-ê©ê©-ê©ê© -ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽê«ê«ê«-ê«ê« -ꫪꫲ-ê«´ê¬-ê¬ê¬-ê¬ê¬-ê¬ê¬ -ꬦꬨ-ꬮꬰ-êê-ê©ê°-ꯢê°-í£í°-íí-í»ï¤-ï©ï©°-ï«ï¬-ï¬ï¬-ï¬ï¬ï¬-ﬨשׁ-זּטּ-לּמּïïïïï-ï®±ï¯-ï´½ïµ-ï¶ï¶-ï·ï·°-ﷻﹰ-ï¹´ï¹¶-ﻼA-Zï½-ï½ï½¦-ï¾¾ï¿-ï¿ï¿-ï¿ï¿-ï¿ï¿-ï¿",r={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"},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",a={5:n,"5module":n+" export import",6:n+" const class extends export import super"},o=/^in(stanceof)?$/,h=RegExp("["+i+"]"),l=RegExp("["+i+"ââ·Ì-ͯÎÒ-ÒÖ-Ö½Ö¿××××
ר-ØÙ-٩ٰÛ-ÛÛ-Û¤Û§Û¨Ûª-ÛÛ°-Û¹Üܰ-ÝÞ¦-Þ°ß-ßß«-߽߳à -à à -à £à ¥-à §à ©-à à¡-à¡à¢-à¢à£-ࣣ࣡-à¤à¤º-़ा-à¥à¥-à¥à¥¢à¥£à¥¦-९à¦-à¦à¦¼à¦¾-à§à§à§à§-à§à§à§¢à§£à§¦-৯৾à¨-à¨à¨¼à¨¾-à©à©à©à©-à©à©à©¦-ੱੵàª-àªàª¼àª¾-à«
à«-à«à«-à«à«¢à«£à«¦-૯ૺ-à«¿à¬-à¬à¬¼à¬¾-àààà-àà-àà¢à£à¦-à¯à®à®¾-à¯à¯-à¯à¯-à¯à¯à¯¦-௯à°-à°à°¼à°¾-à±à±-à±à±-à±à±à±à±¢à±£à±¦-౯à²-à²à²¼à²¾-à³à³-à³à³-à³à³à³à³¢à³£à³¦-೯ೳà´-à´à´»à´¼à´¾-àµàµ-àµàµ-àµàµàµ¢àµ£àµ¦-൯à¶-à¶à·à·-à·à·à·-à·à·¦-෯ෲෳัิ-ฺà¹-à¹à¹-à¹àº±àº´-ຼà»-à»à»-à»à¼à¼à¼ -༩༹༵༷༾༿ཱ-à¾à¾à¾à¾-à¾à¾-ྼà¿á«-á¾á-áá-áá-á á¢-á¤á§-áá±-á´á-áá-áá-áá©-á±á-áá²-á´ááá²á³á´-ááá -á©á -á á -á ᢩᤠ-ᤫᤰ-᤻á¥-á¥á§-á§á¨-á¨á©-á©á© -᩿᩼-áªáª-áªáª°-᪽ᪿ-á«á¬-á¬á¬´-áá-áá«-á³á®-á®á®¡-á®á®°-᮹᯦-᯳ᰤ-á°·á±-á±á±-á±á³-á³á³-᳨á³á³´á³·-á³¹á·-á·¿âââ¿âââ-ââ¡â¥-â°â³¯-⵿⳱ⷠ-â·¿ãª-ã¯ããã»ê -ê©ê¯ê´-ê½êêê°ê±ê ê ê ê £-ê §ê ¬ê¢ê¢ê¢´-ê£
ê£-ê£ê£ -꣱ꣿ-ê¤ê¤¦-ê¤ê¥-ê¥ê¦-ê¦ê¦³-ê§ê§-ê§ê§¥ê§°-꧹ꨩ-ꨶê©ê©ê©ê©-ê©ê©»-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿ê«ê««-ꫯꫵ꫶ꯣ-ꯪ꯬ê¯ê¯°-꯹ï¬ï¸-ï¸ï¸ -︯︳︴ï¹-ï¹ï¼-ï¼ï¼¿ï½¥]");function c(e,t){for(var s=65536,i=0;i<t.length&&!((s+=t[i])>e);i+=2)if((s+=t[i+1])>=e)return!0;return!1}function p(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&h.test(String.fromCharCode(e)):!1!==t&&c(e,s)))}function u(e,i){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==i&&(c(e,s)||c(e,t)))))}var d=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.
vendor: 6,836 bytes, line 1
1isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function f(e,t){return new d(e,{beforeExpr:!0,binop:t})}var m={beforeExpr:!0},g={startsExpr:!0},y={};function x(e,t){return void 0===t&&(t={}),t.keyword=e,y[e]=new d(e,t)}var v={num:new d("num",g),regexp:new d("regexp",g),string:new d("string",g),name:new d("name",g),privateId:new d("privateId",g),eof:new d("eof"),bracketL:new d("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new d("]"),braceL:new d("{",{beforeExpr:!0,startsExpr:!0}),braceR:new d("}"),parenL:new d("(",{beforeExpr:!0,startsExpr:!0}),parenR:new d(")"),comma:new d(",",m),semi:new d(";",m),colon:new d(":",m),dot:new d("."),question:new d("?",m),questionDot:new d("?."),arrow:new d("=>",m),template:new d("template"),invalidTemplate:new d("invalidTemplate"),ellipsis:new d("...",m),backQuote:new d("`",g),dollarBraceL:new d("${",{beforeExpr:!0,startsExpr:!0}),eq:new d("=",{beforeExpr:!0,isAssign:!0}),assign:new d("_=",{beforeExpr:!0,isAssign:!0}),incDec:new d("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new d("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:f("||",1),logicalAND:f("&&",2),bitwiseOR:f("|",3),bitwiseXOR:f("^",4),bitwiseAND:f("&",5),equality:f("==/!=/===/!==",6),relational:f("</>/<=/>=",7),bitShift:f("<</>>/>>>",8),plusMin:new d("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:f("%",10),star:f("*",10),slash:f("/",10),starstar:new d("**",{beforeExpr:!0}),coalesce:f("??",1),_break:x("break"),_case:x("case",m),_catch:x("catch"),_continue:x("continue"),_debugger:x("debugger"),_default:x("default",m),_do:x("do",{isLoop:!0,beforeExpr:!0}),_else:x("else",m),_finally:x("finally"),_for:x("for",{isLoop:!0}),_function:x("function",g),_if:x("if"),_return:x("return",m),_switch:x("switch"),_throw:x("throw",m),_try:x("try"),_var:x("var"),_const:x("const"),_while:x("while",{isLoop:!0}),_with:x("with"),_new:x("new",{beforeExpr:!0,startsExpr:!0}),_this:x("this",g),_super:x("super",g),_class:x("class",g),_extends:x("extends",m),_export:x("export"),_import:x("import",g),_null:x("null",g),_true:x("true",g),_false:x("false",g),_in:x("in",{beforeExpr:!0,binop:7}),_instanceof:x("instanceof",{beforeExpr:!0,binop:7}),_typeof:x("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:x("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:x("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},b=/\r\n?|\n|\u2028|\u2029/,k=RegExp(b.source,"g");function w(e){return 10===e||13===e||8232===e||8233===e}function S(e,t,s){void 0===s&&(s=e.length);for(var i=t;i<s;i++){var r=e.charCodeAt(i);if(w(r))return i<s-1&&13===r&&10===e.charCodeAt(i+1)?i+2:i+1}return -1}var _=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,E=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,C=Object.prototype,A=C.hasOwnProperty,I=C.toString,N=Object.hasOwn||function(e,t){return A.call(e,t)},T=Array.isArray||function(e){return"[object Array]"===I.call(e)},P=Object.create(null);function L(e){return P[e]||(P[e]=RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function O(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}var V=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,R=function(e,t){this.line=e,this.column=t};R.prototype.offset=function(e){return new R(this.line,this.column+e)};var D=function(e,t,s){this.start=t,this.end=s,null!==e.sourceFile&&(this.source=e.sourceFile)};function B(e,t){for(var s=1,i=0;;){var r=S(e,i,t);if(r<0)return new R(s,t-i);++s,i=r}}var M={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},j=!1;function F(e,t){return 2|4*!!e|8*!!t}var U=function(e,t,s){this.options=e=function(e){var t,s,i={};for(var r in M)i[r]=e&&N(e,r)?e[r]:M[r];if("latest"===i.ecmaVersion?i.ecmaVersion=1e8:null==i.ecmaVersion?(!j&&"object"==typeof console&&console.warn&&(j=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),i.ecmaVersion=11):i.ecmaVersion>=2015&&(i.ecmaVersion-=2009),null==i.allowReserved&&(i.allowReserved=i.ecmaVersion<5),e&&null!=e.allowHashBang||(i.allowHashBang=i.ecmaVersion>=14),T(i.onToken)){var n=i.onToken;i.onToken=function(e){return n.push(e)}}return T(i.onComment)&&(t=i,s=i.onComment,i.onComment=function(e,i,r,n,a,o){var h={type:e?"Block":"Line",value:i,start:r,end:n};t.locations&&(h.loc=new D(this,a,o)),t.ranges&&(h.range=[r,n]),s.push(h)}),i}(e),this.sourceFile=e.sourceFile,this.keywords=L(a[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var i="";!0!==e.allowReserved&&(i=r[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(i+=" await")),this.reservedWords=L(i);var n=(i?i+" ":"")+r.strict;this.reservedWordsStrict=L(n),this.reservedWordsStrictBind=L(n+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,s?(this.pos=s,this.lineStart=this.input.lastIndexOf("\n",s-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(b).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=v.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},q={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};U.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},q.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},q.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},q.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},q.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e].flags;if(768&t)return!1;if(2&t)return(4&t)>0}return this.inModule&&this.options.ecmaVersion>
vendor: 4,330 bytes, line 1
1=13||this.options.allowAwaitOutsideFunction},q.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0||this.options.allowSuperOutsideMethod},q.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},q.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},q.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e].flags;if(768&t||2&t&&!(16&t))return!0}return!1},q.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},U.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var s=this,i=0;i<e.length;i++)s=e[i](s);return s},U.parse=function(e,t){return new this(t,e).parse()},U.parseExpressionAt=function(e,t,s){var i=new this(s,e,t);return i.nextToken(),i.parseExpression()},U.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(U.prototype,q);var $=U.prototype,K=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;$.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){E.lastIndex=e,e+=E.exec(this.input)[0].length;var t=K.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2])){E.lastIndex=e+t[0].length;var s=E.exec(this.input),i=s.index+s[0].length,r=this.input.charAt(i);return";"===r||"}"===r||b.test(s[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(r)||"!"===r&&"="===this.input.charAt(i+1))}E.lastIndex=e+=t[0].length,e+=E.exec(this.input)[0].length,";"===this.input[e]&&e++}},$.eat=function(e){return this.type===e&&(this.next(),!0)},$.isContextual=function(e){return this.type===v.name&&this.value===e&&!this.containsEsc},$.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},$.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},$.canInsertSemicolon=function(){return this.type===v.eof||this.type===v.braceR||b.test(this.input.slice(this.lastTokEnd,this.start))},$.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},$.semicolon=function(){this.eat(v.semi)||this.insertSemicolon()||this.unexpected()},$.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},$.expect=function(e){this.eat(e)||this.unexpected()},$.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")};var W=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};$.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var s=t?e.parenthesizedAssign:e.parenthesizedBind;s>-1&&this.raiseRecoverable(s,t?"Assigning to rvalue":"Parenthesized pattern")}},$.checkExpressionErrors=function(e,t){if(!e)return!1;var s=e.shorthandAssign,i=e.doubleProto;if(!t)return s>=0||i>=0;s>=0&&this.raise(s,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")},$.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},$.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var G=U.prototype;G.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==v.eof;){var s=this.parseStatement(null,!0,t);e.body.push(s)}if(this.inModule)for(var i=0,r=Object.keys(this.undefinedExports);i<r.length;i+=1){var n=r[i];this.raiseRecoverable(this.undefinedExports[n].start,"Export '"+n+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var H={kind:"loop"},z={kind:"switch"};G.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;E.lastIndex=this.pos;var t=E.exec(this.input),s=this.pos+t[0].length,i=this.input.charCodeAt(s);if(91===i||92===i)return!0;
1if(e)return!1;if(123===i||i>55295&&i<56320)return!0;if(p(i,!0)){for(var r=s+1;u(i=this.input.charCodeAt(r),!0);)++r;if(92===i||i>55295&&i<56320)return!0;var n=this.input.slice(s,r);if(!o.test(n))return!0}return!1},G.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;E.lastIndex=this.pos;var e,t=E.exec(this.input),s=this.pos+t[0].length;return!b.test(this.input.slice(this.pos,s))&&"function"===this.input.slice(s,s+8)&&(s+8===this.input.length||!(u(e=this.input.charCodeAt(s+8))||e>55295&&e<56320))},G.isUsingKeyword=function(e,t){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using"))return!1;E.lastIndex=this.pos;var s=E.exec(this.input),i=this.pos+s[0].length;if(b.test(this.input.slice(this.pos,i)))return!1;if(e){var r,n=i+5;if("using"!==this.input.slice(i,n)||n===this.input.length||u(r=this.input.charCodeAt(n))||r>55295&&r<56320)return!1;E.lastIndex=n;var a=E.exec(this.input);if(a&&b.test(this.input.slice(n,n+a[0].length)))return!1}if(t){var o,h=i+2;if("of"===this.input.slice(i,h)&&(h===this.input.length||!u(o=this.input.charCodeAt(h))&&!(o>55295&&o<56320)))return!1}var l=this.input.charCodeAt(i);return p(l,!0)||92===l},G.isAwaitUsing=function(e){return this.isUsingKeyword(!0,e)},G.isUsing=function(e){return this.isUsingKeyword(!1,e)},G.parseStatement=function(e,t,s){var i,r=this.type,n=this.startNode();switch(this.isLet(e)&&(r=v._var,i="let"),r){case v._break:case v._continue:return this.parseBreakContinueStatement(n,r.keyword);case v._debugger:return this.parseDebuggerStatement(n);case v._do:return this.parseDoStatement(n);case v._for:return this.parseForStatement(n);case v._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(n,!1,!e);case v._class:return e&&this.unexpected(),this.parseClass(n,!0);case v._if:return this.parseIfStatement(n);
vendor: 4,259 bytes, line 1
1case v._return:return this.parseReturnStatement(n);case v._switch:return this.parseSwitchStatement(n);case v._throw:return this.parseThrowStatement(n);case v._try:return this.parseTryStatement(n);case v._const:case v._var:return i=i||this.value,e&&"var"!==i&&this.unexpected(),this.parseVarStatement(n,i);case v._while:return this.parseWhileStatement(n);case v._with:return this.parseWithStatement(n);case v.braceL:return this.parseBlock(!0,n);case v.semi:return this.parseEmptyStatement(n);case v._export:case v._import:if(this.options.ecmaVersion>10&&r===v._import){E.lastIndex=this.pos;var a=E.exec(this.input),o=this.pos+a[0].length,h=this.input.charCodeAt(o);if(40===h||46===h)return this.parseExpressionStatement(n,this.parseExpression())}return!this.options.allowImportExportEverywhere&&(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===v._import?this.parseImport(n):this.parseExport(n,s);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(n,!0,!e);var l=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(l)return t&&"script"===this.options.sourceType&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),"await using"===l&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(n,!1,l),this.semicolon(),this.finishNode(n,"VariableDeclaration");var c=this.value,p=this.parseExpression();if(r===v.name&&"Identifier"===p.type&&this.eat(v.colon))return this.parseLabeledStatement(n,c,p,e);return this.parseExpressionStatement(n,p)}},G.parseBreakContinueStatement=function(e,t){var s="break"===t;this.next(),this.eat(v.semi)||this.insertSemicolon()?e.label=null:this.type!==v.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var r=this.labels[i];if((null==e.label||r.name===e.label.name)&&(null!=r.kind&&(s||"loop"===r.kind)||e.label&&s))break}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,s?"BreakStatement":"ContinueStatement")},G.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},G.parseDoStatement=function(e){return this.next(),this.labels.push(H),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(v._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(v.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},G.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(H),this.enterScope(0),this.expect(v.parenL),this.type===v.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var s=this.isLet();if(this.type===v._var||this.type===v._const||s){var i=this.startNode(),r=s?"let":this.value;return this.next(),this.parseVar(i,!0,r),this.finishNode(i,"VariableDeclaration"),this.parseForAfterInit(e,i,t)}var n=this.isContextual("let"),a=!1,o=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(o){var h=this.startNode();return this.next(),"await using"===o&&this.next(),this.parseVar(h,!0,o),this.finishNode(h,"VariableDeclaration"),this.parseForAfterInit(e,h,t)}var l=this.containsEsc,c=new W,p=this.start,u=t>-1?this.parseExprSubscripts(c,"await"):this.parseExpression(!0,c);return this.type===v._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===v._in&&this.unexpected(t),e.await=!0):a&&this.options.ecmaVersion>=8&&(u.start!==p||l||"Identifier"!==u.type||"async"!==u.name?this.options.ecmaVersion>=9&&(e.await=!1):this.unexpected()),n&&a&&this.raise(u.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(u,!1,c),this.checkLValPattern(u),this.parseForIn(e,u)):(this.checkExpressionErrors(c,!0),t>-1&&this.unexpected(t),this.parseFor(e,u))},G.parseForAfterInit=function(e,t,s){return(this.type===v._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===t.declarations.length?(this.options.ecmaVersion>
vendor: 4,335 bytes, line 1
1=9&&(this.type===v._in?s>-1&&this.unexpected(s):e.await=s>-1),this.parseForIn(e,t)):(s>-1&&this.unexpected(s),this.parseFor(e,t))},G.parseFunctionStatement=function(e,t,s){return this.next(),this.parseFunction(e,J|(s?0:X),!1,t)},G.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(v._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},G.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(v.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},G.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(v.braceL),this.labels.push(z),this.enterScope(0);for(var t,s=!1;this.type!==v.braceR;)if(this.type===v._case||this.type===v._default){var i=this.type===v._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(s&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),s=!0,t.test=null),this.expect(v.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},G.parseThrowStatement=function(e){return this.next(),b.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Q=[];G.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t="Identifier"===e.type;return this.enterScope(32*!!t),this.checkLValPattern(e,t?4:2),this.expect(v.parenR),e},G.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===v._catch){var t=this.startNode();this.next(),this.eat(v.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(v._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},G.parseVarStatement=function(e,t,s){return this.next(),this.parseVar(e,!1,t,s),this.semicolon(),this.finishNode(e,"VariableDeclaration")},G.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(H),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},G.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},G.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},G.parseLabeledStatement=function(e,t,s,i){for(var r=0,n=this.labels;r<n.length;r+=1)n[r].name===t&&this.raise(s.start,"Label '"+t+"' is already declared");for(var a=this.type.isLoop?"loop":this.type===v._switch?"switch":null,o=this.labels.length-1;o>=0;o--){var h=this.labels[o];if(h.statementStart===e.start)h.statementStart=this.start,h.kind=a;else break}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(i?-1===i.indexOf("label")?i+"label":i:"label"),this.labels.pop(),e.label=s,this.finishNode(e,"LabeledStatement")},G.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},G.parseBlock=function(e,t,s){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(v.braceL),e&&this.enterScope(0);this.type!==v.braceR;){var i=this.parseStatement(null);t.body.push(i)}return s&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},G.parseFor=function(e,t){return e.init=t,this.expect(v.semi),e.test=this.type===v.semi?null:this.parseExpression(),this.expect(v.semi),e.update=this.type===v.parenR?null:this.parseExpression(),this.expect(v.parenR),e.body=this.parseStatement
vendor: 16,109 bytes, line 1
1("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},G.parseForIn=function(e,t){var s=this.type===v._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!s||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(t.start,(s?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=s?this.parseExpression():this.parseMaybeAssign(),this.expect(v.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,s?"ForInStatement":"ForOfStatement")},G.parseVar=function(e,t,s,i){for(e.declarations=[],e.kind=s;;){var r=this.startNode();if(this.parseVarId(r,s),this.eat(v.eq)?r.init=this.parseMaybeAssign(t):i||"const"!==s||this.type===v._in||this.options.ecmaVersion>=6&&this.isContextual("of")?i||"using"!==s&&"await using"!==s||!(this.options.ecmaVersion>=17)||this.type===v._in||this.isContextual("of")?i||"Identifier"===r.id.type||t&&(this.type===v._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.raise(this.lastTokEnd,"Missing initializer in "+s+" declaration"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(v.comma))break}return e},G.parseVarId=function(e,t){e.id="using"===t||"await using"===t?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?1:2,!1)};var J=1,X=2;function Y(e,t){var s=e.computed,i=e.key;return!s&&("Identifier"===i.type&&i.name===t||"Literal"===i.type&&i.value===t)}G.parseFunction=function(e,t,s,i,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===v.star&&t&X&&this.unexpected(),e.generator=this.eat(v.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&J&&(e.id=4&t&&this.type!==v.name?null:this.parseIdent(),e.id&&!(t&X)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var n=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(F(e.async,e.generator)),t&J||(e.id=this.type===v.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,s,!1,r),this.yieldPos=n,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(e,t&J?"FunctionDeclaration":"FunctionExpression")},G.parseFunctionParams=function(e){this.expect(v.parenL),e.params=this.parseBindingList(v.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},G.parseClass=function(e,t){this.next();var s=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.enterClassBody(),r=this.startNode(),n=!1;for(r.body=[],this.expect(v.braceL);this.type!==v.braceR;){var a=this.parseClassElement(null!==e.superClass);a&&(r.body.push(a),"MethodDefinition"===a.type&&"constructor"===a.kind?(n&&this.raiseRecoverable(a.start,"Duplicate constructor in the same class"),n=!0):a.key&&"PrivateIdentifier"===a.key.type&&function(e,t){var s=t.key.name,i=e[s],r="true";return("MethodDefinition"===t.type&&("get"===t.kind||"set"===t.kind)&&(r=(t.static?"s":"i")+t.kind),"iget"===i&&"iset"===r||"iset"===i&&"iget"===r||"sget"===i&&"sset"===r||"sset"===i&&"sget"===r)?(e[s]="true",!1):!!i||(e[s]=r,!1)}(i,a)&&this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared"))}return this.strict=s,this.next(),e.body=this.finishNode(r,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},G.parseClassElement=function(e){if(this.eat(v.semi))return null;var t=this.options.ecmaVersion,s=this.startNode(),i="",r=!1,n=!1,a="method",o=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(v.braceL))return this.parseClassStaticBlock(s),s;this.isClassElementNameStart()||this.type===v.star?o=!0:i="static"}if(s.static=o,!i&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===v.star)&&!this.canInsertSemicolon()?n=!0:i="async"),!i&&(t>=9||!n)&&this.eat(v.star)&&(r=!0),!i&&!n&&!r){var h=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?a=h:i=h)}if(i?(s.computed=!1,s.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),s.key.name=i,this.finishNode(s.key,"Identifier")):this.parseClassElementName(s),t<13||this.type===v.parenL||"method"!==a||r||n){var l=!s.static&&Y(s,"constructor");l&&"method"!==a&&this.raise(s.key.start,"Constructor can't have get/set modifier"),s.kind=l?"constructor":a,this.parseClassMethod(s,r,n,l&&e)}else this.parseClassField(s);return s},G.isClassElementNameStart=function(){return this.type===v.name||this.type===v.privateId||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword},G.parseClassElementName=function(e){this.type===v.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},G.parseClassMethod=function(e,t,s,i){var r=e.key;"constructor"===e.kind?(t&&this.raise(r.start,"Constructor can't be a generator"),s&&this.raise(r.start,"Constructor can't be an async method")):e.static&&Y(e,"prototype")&&this.raise(r.start,"Classes may not have a static property named prototype");var n=e.value=this.parseMethod(t,s,i);return"get"===e.kind&&0!==n.params.length&&this.raiseRecoverable(n.start,"getter should have no params"),"set"===e.kind&&1!==n.params.length&&this.raiseRecoverable(n.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===n.params[0].type&&this.raiseRecoverable(n.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},G.parseClassField=function(e){return Y(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Y(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(v.eq)?(this.enterScope(576),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")},G.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(320);this.type!==v.braceR;){var s=this.parseStatement(null);e.body.push(s)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},G.parseClassId=function(e,t){this.type===v.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},G.parseClassSuper=function(e){e.superClass=this.eat(v._extends)?this.parseExprSubscripts(null,!1):null},G.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},G.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,s=e.used;if(this.options.checkPrivateFields)for(var i=this.privateNameStack.length,r=0===i?null:this.privateNameStack[i-1],n=0;n<s.length;++n){var a=s[n];N(t,a.name)||(r?r.used.push(a):this.raiseRecoverable(a.start,"Private field '#"+a.name+"' must be declared in an enclosing class"))}},G.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==v.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},G.parseExport=function(e,t){if(this.next(),this.eat(v.star))return this.parseExportAllDeclaration(e,t);if(this.eat(v._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==v.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var s=0,i=e.specifiers;s<i.length;s+=1){var r=i[s];this.checkUnreserved(r.local),this.checkLocalExport(r.local),"Literal"===r.local.type&&this.raise(r.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},G.parseExportDeclaration=function(e){return this.parseStatement(null)},G.parseExportDefaultDeclaration=function(){if(this.type===v._function||(e=this.isAsyncFunction())){var e,t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,4|J,!1,e)}if(this.type===v._class){var s=this.startNode();return this.parseClass(s,"nullableID")}var i=this.parseMaybeAssign();return this.semicolon(),i},G.checkExport=function(e,t,s){e&&("string"!=typeof t&&(t="Identifier"===t.type?t.name:t.value),N(e,t)&&this.raiseRecoverable(s,"Duplicate export '"+t+"'"),e[t]=!0)},G.checkPatternExport=function(e,t){var s=t.type;if("Identifier"===s)this.checkExport(e,t,t.start);else if("ObjectPattern"===s)for(var i=0,r=t.properties;i<r.length;i+=1){var n=r[i];this.checkPatternExport(e,n)}else if("ArrayPattern"===s)for(var a=0,o=t.elements;a<o.length;a+=1){var h=o[a];h&&this.checkPatternExport(e,h)}else"Property"===s?this.checkPatternExport(e,t.value):"AssignmentPattern"===s?this.checkPatternExport(e,t.left):"RestElement"===s&&this.checkPatternExport(e,t.argument)},G.checkVariableExport=function(e,t){if(e)for(var s=0;s<t.length;s+=1){var i=t[s];this.checkPatternExport(e,i.id)}},G.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},G.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},G.parseExportSpecifiers=function(e){var t=[],s=!0;for(this.expect(v.braceL);!this.eat(v.braceR);){if(s)s=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;t.push(this.parseExportSpecifier(e))}return t},G.parseImport=function(e){return this.next(),this.type===v.string?(e.specifiers=Q,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===v.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},G.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportSpecifier")},G.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportDefaultSpecifier")},G.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportNamespaceSpecifier")},G.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===v.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(v.comma)))return e;if(this.type===v.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(v.braceL);!this.eat(v.braceR);){if(t)t=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;e.push(this.parseImportSpecifier())}return e},G.parseWithClause=function(){var e=[];if(!this.eat(v._with))return e;this.expect(v.braceL);for(var t={},s=!0;!this.eat(v.braceR);){if(s)s=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;var i=this.parseImportAttribute(),r="Identifier"===i.key.type?i.key.name:i.key.value;N(t,r)&&this.raiseRecoverable(i.key.start,"Duplicate attribute key '"+r+"'"),t[r]=!0,e.push(i)}return e},G.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===v.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved),this.expect(v.colon),this.type!==v.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")},G.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===v.string){var e=this.parseLiteral(this.value);return V.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},G.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},G.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};var Z=U.prototype;Z.toAssignable=function(e,t,s){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&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",s&&this.checkPatternErrors(s,!0);for(var i=0,r=e.properties;i<r.length;i+=1){var n=r[i];this.toAssignable(n,t),"RestElement"===n.type&&("ArrayPattern"===n.argument.type||"ObjectPattern"===n.argument.type)&&this.raise(n.argument.start,"Unexpected token")}break;case"Property":"init"!==e.kind&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",s&&this.checkPatternErrors(s,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),"AssignmentPattern"===e.argument.type&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,s);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else s&&this.checkPatternErrors(s,!0);return e},Z.toAssignableList=function(e,t){for(var s=e.length,i=0;i<s;i++){var r=e[i];r&&this.toAssignable(r,t)}if(s){var n=e[s-1];6===this.options.ecmaVersion&&t&&n&&"RestElement"===n.type&&"Identifier"!==n.argument.type&&this.unexpected(n.argument.start)}return e},Z.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},Z.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==v.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},Z.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case v.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(v.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case v.braceL:return this.parseObj(!0)}return this.parseIdent()},Z.parseBindingList=function(e,t,s,i){for(var r=[],n=!0;!this.eat(e);)if(n?n=!1:this.expect(v.comma),t&&this.type===v.comma)r.push(null);else if(s&&this.afterTrailingComma(e))break;
vendor: 4,183 bytes, line 1
1else if(this.type===v.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),r.push(a),this.type===v.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else r.push(this.parseAssignableListItem(i));return r},Z.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},Z.parseBindingListItem=function(e){return e},Z.parseMaybeDefault=function(e,t,s){if(s=s||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(v.eq))return s;var i=this.startNodeAt(e,t);return i.left=s,i.right=this.parseMaybeAssign(),this.finishNode(i,"AssignmentPattern")},Z.checkLValSimple=function(e,t,s){void 0===t&&(t=0);var i=0!==t;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(i?"Binding ":"Assigning to ")+e.name+" in strict mode"),i&&(2===t&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),s&&(N(s,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),s[e.name]=!0),5!==t&&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":i&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return i&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,s);default:this.raise(e.start,(i?"Binding":"Assigning to")+" rvalue")}},Z.checkLValPattern=function(e,t,s){switch(void 0===t&&(t=0),e.type){case"ObjectPattern":for(var i=0,r=e.properties;i<r.length;i+=1){var n=r[i];this.checkLValInnerPattern(n,t,s)}break;case"ArrayPattern":for(var a=0,o=e.elements;a<o.length;a+=1){var h=o[a];h&&this.checkLValInnerPattern(h,t,s)}break;default:this.checkLValSimple(e,t,s)}},Z.checkLValInnerPattern=function(e,t,s){switch(void 0===t&&(t=0),e.type){case"Property":this.checkLValInnerPattern(e.value,t,s);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,s);break;case"RestElement":this.checkLValPattern(e.argument,t,s);break;default:this.checkLValPattern(e,t,s)}};var ee=function(e,t,s,i,r){this.token=e,this.isExpr=!!t,this.preserveSpace=!!s,this.override=i,this.generator=!!r},et={b_stat:new ee("{",!1),b_expr:new ee("{",!0),b_tmpl:new ee("${",!1),p_stat:new ee("(",!1),p_expr:new ee("(",!0),q_tmpl:new ee("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new ee("function",!1),f_expr:new ee("function",!0),f_expr_gen:new ee("function",!0,!1,null,!0),f_gen:new ee("function",!1,!1,null,!0)},es=U.prototype;es.initialContext=function(){return[et.b_stat]},es.curContext=function(){return this.context[this.context.length-1]},es.braceIsBlock=function(e){var t=this.curContext();return t===et.f_expr||t===et.f_stat||(e===v.colon&&(t===et.b_stat||t===et.b_expr)?!t.isExpr:e===v._return||e===v.name&&this.exprAllowed?b.test(this.input.slice(this.lastTokEnd,this.start)):e===v._else||e===v.semi||e===v.eof||e===v.parenR||e===v.arrow||(e===v.braceL?t===et.b_stat:e!==v._var&&e!==v._const&&e!==v.name&&!this.exprAllowed))},es.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},es.updateContext=function(e){var t,s=this.type;s.keyword&&e===v.dot?this.exprAllowed=!1:(t=s.updateContext)?t.call(this,e):this.exprAllowed=s.beforeExpr},es.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},v.parenR.updateContext=v.braceR.updateContext=function(){if(1===this.context.length){this.exprAllowed=!0;return}var e=this.context.pop();e===et.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},v.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?et.b_stat:et.b_expr),this.exprAllowed=!0},v.dollarBraceL.updateContext=function(){this.context.push(et.b_tmpl),this.exprAllowed=!0},v.parenL.updateContext=function(e){var t=e===v._if||e===v._for||e===v._with||e===v._while;this.context.push(t?et.p_stat:et.p_expr),this.exprAllowed=!0}
1,v.incDec.updateContext=function(){},v._function.updateContext=v._class.updateContext=function(e){e.beforeExpr&&e!==v._else&&(e!==v.semi||this.curContext()===et.p_stat)&&!(e===v._return&&b.test(this.input.slice(this.lastTokEnd,this.start)))&&(e!==v.colon&&e!==v.braceL||this.curContext()!==et.b_stat)?this.context.push(et.f_expr):this.context.push(et.f_stat),this.exprAllowed=!1},v.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},v.backQuote.updateContext=function(){this.curContext()===et.q_tmpl?this.context.pop():this.context.push(et.q_tmpl),this.exprAllowed=!1},v.star.updateContext=function(e){if(e===v._function){var t=this.context.length-1;this.context[t]===et.f_expr?this.context[t]=et.f_expr_gen:this.context[t]=et.f_gen}this.exprAllowed=!0},v.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==v.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ei=U.prototype;ei.checkPropClash=function(e,t,s){if((!(this.options.ecmaVersion>=9)||"SpreadElement"!==e.type)&&(!(this.options.ecmaVersion>=6)||!e.computed&&!e.method&&!e.shorthand)){var i,r=e.key;switch(r.type){case"Identifier":i=r.name;break;case"Literal":i=String(r.value);break;default:return}var n=e.kind;if(this.options.ecmaVersion>=6){"__proto__"===i&&"init"===n&&(t.proto&&(s?s.doubleProto<0&&(s.doubleProto=r.start):this.raiseRecoverable(r.start,"Redefinition of __proto__ property")),t.proto=!0);return}var a=t[i="$"+i];a?("init"===n?this.strict&&a.init||a.get||a.set:a.init||a[n])&&this.raiseRecoverable(r.start,"Redefinition of property"):a=t[i]={init:!1,get:!1,set:!1},a[n]=!0}},ei.parseExpression=function(e,t){var s=this.start,i=this.startLoc,r=this.parseMaybeAssign(e,t);if(this.type===v.comma){var n=this.startNodeAt(s,i);for(n.expressions=[r];this.eat(v.comma);)n.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(n,"SequenceExpression")}return r},ei.parseMaybeAssign=function(e,t,s){if(this.isContextual("yield"))if(this.inGenerator)return this.parseYield(e);else this.exprAllowed=!1;var i=!1,r=-1,n=-1,a=-1;t?(r=t.parenthesizedAssign,n=t.trailingComma,a=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new W,i=!0);var o=this.start,h=this.startLoc;(this.type===v.parenL||this.type===v.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e);var l=this.parseMaybeConditional(e,t);if(s&&(l=s.call(this,l,o,h)),this.type.isAssign){var c=this.startNodeAt(o,h);return c.operator=this.value,this.type===v.eq&&(l=this.toAssignable(l,!1,t)),i||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=l.start&&(t.shorthandAssign=-1),this.type===v.eq?this.checkLValPattern(l):this.checkLValSimple(l),c.left=l,this.next(),c.right=this.parseMaybeAssign(e),a>-1&&(t.doubleProto=a),this.finishNode(c,"AssignmentExpression")}return i&&this.checkExpressionErrors(t,!0),r>-1&&(t.parenthesizedAssign=r),n>-1&&(t.trailingComma=n),l},ei.parseMaybeConditional=function(e,t){var s=this.start,i=this.startLoc,r=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return r;if(this.eat(v.question)){var n=this.startNodeAt(s,i);return n.test=r,n.consequent=this.parseMaybeAssign(),this.expect(v.colon),n.alternate=this.parseMaybeAssign(e),this.finishNode(n,"ConditionalExpression")}return r},ei.parseExprOps=function(e,t){var s=this.start,i=this.startLoc,r=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||r.start===s&&"ArrowFunctionExpression"===r.type?r:this.parseExprOp(r,s,i,-1,e)},ei.parseExprOp=function(e,t,s,i,r){var n=this.type.binop;if(null!=n&&(!r||this.type!==v._in)&&n>i){var a=this.type===v.logicalOR||this.type===v.logicalAND,o=this.type===v.coalesce;o&&(n=v.logicalAND.binop);var h=this.value;this.next();var l=this.start,c=this.startLoc,p=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,r),l,c,n,r),u=this.buildBinary(t,s,e,p,h,a||o);return(a&&this.type===v.coalesce||o&&(this.type===v.logicalOR||this.type===v.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(u,t,s,i,r)}return e},ei.buildBinary=function(e,t,s,i,r,n){"PrivateIdentifier"===i.type&&this.raise(i.start,"Private identifier can only be left side of binary expression");var a=this.startNodeAt(e,t);return a.left=s,a.operator=r,a.right=i,this.finishNode(a,n?"LogicalExpression":"BinaryExpression")},ei.parseMaybeUnary=function(e,t,s,i){var r,n=this.start,a=this.startLoc;if(this.isContextual("await")&&this.canAwait)r=this.parseAwait(i),t=!0;
vendor: 19,507 bytes, line 1
1else if(this.type.prefix){var o=this.startNode(),h=this.type===v.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,h,i),this.checkExpressionErrors(e,!0),h?this.checkLValSimple(o.argument):this.strict&&"delete"===o.operator&&function e(t){return"Identifier"===t.type||"ParenthesizedExpression"===t.type&&e(t.expression)}(o.argument)?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):"delete"===o.operator&&function e(t){return"MemberExpression"===t.type&&"PrivateIdentifier"===t.property.type||"ChainExpression"===t.type&&e(t.expression)||"ParenthesizedExpression"===t.type&&e(t.expression)}(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):t=!0,r=this.finishNode(o,h?"UpdateExpression":"UnaryExpression")}else if(t||this.type!==v.privateId){if(r=this.parseExprSubscripts(e,i),this.checkExpressionErrors(e))return r;for(;this.type.postfix&&!this.canInsertSemicolon();){var l=this.startNodeAt(n,a);l.operator=this.value,l.prefix=!1,l.argument=r,this.checkLValSimple(r),this.next(),r=this.finishNode(l,"UpdateExpression")}}else(i||0===this.privateNameStack.length)&&this.options.checkPrivateFields&&this.unexpected(),r=this.parsePrivateIdent(),this.type!==v._in&&this.unexpected();return!s&&this.eat(v.starstar)?t?void this.unexpected(this.lastTokStart):this.buildBinary(n,a,r,this.parseMaybeUnary(null,!1,!1,i),"**",!1):r},ei.parseExprSubscripts=function(e,t){var s=this.start,i=this.startLoc,r=this.parseExprAtom(e,t);if("ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return r;var n=this.parseSubscripts(r,s,i,!1,t);return e&&"MemberExpression"===n.type&&(e.parenthesizedAssign>=n.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=n.start&&(e.parenthesizedBind=-1),e.trailingComma>=n.start&&(e.trailingComma=-1)),n},ei.parseSubscripts=function(e,t,s,i,r){for(var n=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,a=!1;;){var o=this.parseSubscript(e,t,s,i,n,a,r);if(o.optional&&(a=!0),o===e||"ArrowFunctionExpression"===o.type){if(a){var h=this.startNodeAt(t,s);h.expression=o,o=this.finishNode(h,"ChainExpression")}return o}e=o}},ei.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(v.arrow)},ei.parseSubscriptAsyncArrow=function(e,t,s,i){return this.parseArrowExpression(this.startNodeAt(e,t),s,!0,i)},ei.parseSubscript=function(e,t,s,i,r,n,a){var o=this.options.ecmaVersion>=11,h=o&&this.eat(v.questionDot);i&&h&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var l=this.eat(v.bracketL);if(l||h&&this.type!==v.parenL&&this.type!==v.backQuote||this.eat(v.dot)){var c=this.startNodeAt(t,s);c.object=e,l?(c.property=this.parseExpression(),this.expect(v.bracketR)):this.type===v.privateId&&"Super"!==e.type?c.property=this.parsePrivateIdent():c.property=this.parseIdent("never"!==this.options.allowReserved),c.computed=!!l,o&&(c.optional=h),e=this.finishNode(c,"MemberExpression")}else if(!i&&this.eat(v.parenL)){var p=new W,u=this.yieldPos,d=this.awaitPos,f=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var m=this.parseExprList(v.parenR,this.options.ecmaVersion>=8,!1,p);if(r&&!h&&this.shouldParseAsyncArrow())return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=u,this.awaitPos=d,this.awaitIdentPos=f,this.parseSubscriptAsyncArrow(t,s,m,a);this.checkExpressionErrors(p,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=d||this.awaitPos,this.awaitIdentPos=f||this.awaitIdentPos;var g=this.startNodeAt(t,s);g.callee=e,g.arguments=m,o&&(g.optional=h),e=this.finishNode(g,"CallExpression")}else if(this.type===v.backQuote){(h||n)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var y=this.startNodeAt(t,s);y.tag=e,y.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(y,"TaggedTemplateExpression")}return e},ei.parseExprAtom=function(e,t,s){this.type===v.slash&&this.readRegexp();var i,r=this.potentialArrowAt===this.start;switch(this.type){case v._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),i=this.startNode(),this.next(),this.type!==v.parenL||this.allowDirectSuper||this.raise(i.start,"super() call outside constructor of a subclass"),this.type!==v.dot&&this.type!==v.bracketL&&this.type!==v.parenL&&this.unexpected(),this.finishNode(i,"Super");case v._this:return i=this.startNode(),this.next(),this.finishNode(i,"ThisExpression");case v.name:var n=this.start,a=this.startLoc,o=this.containsEsc,h=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&"async"===h.name&&!this.canInsertSemicolon()&&this.eat(v._function))return this.overrideContext(et.f_expr),this.parseFunction(this.startNodeAt(n,a),0,!1,!0,t);if(r&&!this.canInsertSemicolon()){if(this.eat(v.arrow))return this.parseArrowExpression(this.startNodeAt(n,a),[h],!1,t);if(this.options.ecmaVersion>=8&&"async"===h.name&&this.type===v.name&&!o&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return h=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(v.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,a),[h],!0,t)}return h;case v.regexp:var l=this.value;return(i=this.parseLiteral(l.value)).regex={pattern:l.pattern,flags:l.flags},i;case v.num:case v.string:return this.parseLiteral(this.value);case v._null:case v._true:case v._false:return(i=this.startNode()).value=this.type===v._null?null:this.type===v._true,i.raw=this.type.keyword,this.next(),this.finishNode(i,"Literal");case v.parenL:var c=this.start,p=this.parseParenAndDistinguishExpression(r,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)&&(e.parenthesizedAssign=c),e.parenthesizedBind<0&&(e.parenthesizedBind=c)),p;case v.bracketL:return i=this.startNode(),this.next(),i.elements=this.parseExprList(v.bracketR,!0,!0,e),this.finishNode(i,"ArrayExpression");case v.braceL:return this.overrideContext(et.b_expr),this.parseObj(!1,e);case v._function:return i=this.startNode(),this.next(),this.parseFunction(i,0);case v._class:return this.parseClass(this.startNode(),!1);case v._new:return this.parseNew();case v.backQuote:return this.parseTemplate();case v._import:if(this.options.ecmaVersion>=11)return this.parseExprImport(s);return this.unexpected();default:return this.parseExprAtomDefault()}},ei.parseExprAtomDefault=function(){this.unexpected()},ei.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===v.parenL&&!e)return this.parseDynamicImport(t);if(this.type===v.dot){var s=this.startNodeAt(t.start,t.loc&&t.loc.start);return s.name="import",t.meta=this.finishNode(s,"Identifier"),this.parseImportMeta(t)}this.unexpected()},ei.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(v.parenR)?e.options=null:(this.expect(v.comma),this.afterTrailingComma(v.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),!this.eat(v.parenR)&&(this.expect(v.comma),this.afterTrailingComma(v.parenR)||this.unexpected())));else if(!this.eat(v.parenR)){var t=this.start;this.eat(v.comma)&&this.eat(v.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},ei.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},ei.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=null!=t.value?t.value.toString():t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},ei.parseParenExpression=function(){this.expect(v.parenL);var e=this.parseExpression();return this.expect(v.parenR),e},ei.shouldParseArrow=function(e){return!this.canInsertSemicolon()},ei.parseParenAndDistinguishExpression=function(e,t){var s,i=this.start,r=this.startLoc,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,h=this.startLoc,l=[],c=!0,p=!1,u=new W,d=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==v.parenR;){if(c?c=!1:this.expect(v.comma),n&&this.afterTrailingComma(v.parenR,!0)){p=!0;break}if(this.type===v.ellipsis){a=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===v.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}l.push(this.parseMaybeAssign(!1,u,this.parseParenItem))}var m=this.lastTokEnd,g=this.lastTokEndLoc;if(this.expect(v.parenR),e&&this.shouldParseArrow(l)&&this.eat(v.arrow))return this.checkPatternErrors(u,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=d,this.awaitPos=f,this.parseParenArrowList(i,r,l,t);(!l.length||p)&&this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(u,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=f||this.awaitPos,l.length>1?((s=this.startNodeAt(o,h)).expressions=l,this.finishNodeAt(s,"SequenceExpression",m,g)):s=l[0]}else s=this.parseParenExpression();if(!this.options.preserveParens)return s;var y=this.startNodeAt(i,r);return y.expression=s,this.finishNode(y,"ParenthesizedExpression")},ei.parseParenItem=function(e){return e},ei.parseParenArrowList=function(e,t,s,i){return this.parseArrowExpression(this.startNodeAt(e,t),s,!1,i)};var er=[];ei.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===v.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var s=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),s&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var i=this.start,r=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),i,r,!0,!1),this.eat(v.parenL)?e.arguments=this.parseExprList(v.parenR,this.options.ecmaVersion>=8,!1):e.arguments=er,this.finishNode(e,"NewExpression")},ei.parseTemplateElement=function(e){var t=e.isTagged,s=this.startNode();return this.type===v.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),s.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):s.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),s.tail=this.type===v.backQuote,this.finishNode(s,"TemplateElement")},ei.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var s=this.startNode();this.next(),s.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(s.quasis=[i];!i.tail;)this.type===v.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(v.dollarBraceL),s.expressions.push(this.parseExpression()),this.expect(v.braceR),s.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(s,"TemplateLiteral")},ei.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===v.name||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===v.star)&&!b.test(this.input.slice(this.lastTokEnd,this.start))},ei.parseObj=function(e,t){var s=this.startNode(),i=!0,r={};for(s.properties=[],this.next();!this.eat(v.braceR);){if(i)i=!1;else if(this.expect(v.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(v.braceR))break;var n=this.parseProperty(e,t);e||this.checkPropClash(n,r,t),s.properties.push(n)}return this.finishNode(s,e?"ObjectPattern":"ObjectExpression")},ei.parseProperty=function(e,t){var s,i,r,n,a=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(v.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===v.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(a.argument=this.parseMaybeAssign(!1,t),this.type===v.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(a,"SpreadElement"));this.options.ecmaVersion>=6&&(a.method=!1,a.shorthand=!1,(e||t)&&(r=this.start,n=this.startLoc),e||(s=this.eat(v.star)));var o=this.containsEsc;return this.parsePropertyName(a),!e&&!o&&this.options.ecmaVersion>=8&&!s&&this.isAsyncProp(a)?(i=!0,s=this.options.ecmaVersion>=9&&this.eat(v.star),this.parsePropertyName(a)):i=!1,this.parsePropertyValue(a,e,s,i,r,n,t,o),this.finishNode(a,"Property")},ei.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var s=+("get"!==e.kind);if(e.value.params.length!==s){var i=e.value.start;"get"===e.kind?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},ei.parsePropertyValue=function(e,t,s,i,r,n,a,o){(s||i)&&this.type===v.colon&&this.unexpected(),this.eat(v.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init"):this.options.ecmaVersion>=6&&this.type===v.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(s,i),e.kind="init"):t||o||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===v.comma||this.type===v.braceR||this.type===v.eq?this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((s||i)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=r),t?e.value=this.parseMaybeDefault(r,n,this.copyNode(e.key)):this.type===v.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(r,n,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected():((s||i)&&this.unexpected(),this.parseGetterSetter(e))},ei.parsePropertyName=function(e){if(this.options.ecmaVersion>=6)if(this.eat(v.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(v.bracketR),e.key;else e.computed=!1;return e.key=this.type===v.num||this.type===v.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},ei.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},ei.parseMethod=function(e,t,s){var i=this.startNode(),r=this.yieldPos,n=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|F(t,i.generator)|128*!!s),this.expect(v.parenL),i.params=this.parseBindingList(v.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0,!1),this.yieldPos=r,this.awaitPos=n,this.awaitIdentPos=a,this.finishNode(i,"FunctionExpression")},ei.parseArrowExpression=function(e,t,s,i){var r=this.yieldPos,n=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(16|F(s,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!s),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,i),this.yieldPos=r,this.awaitPos=n,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")},ei.parseFunctionBody=function(e,t,s,i){var r=t&&this.type!==v.braceL,n=this.strict,a=!1;if(r)e.body=this.parseMaybeAssign(i),e.expression=!0,this.checkParams(e,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!n||o)&&(a=this.strictDirective(this.end))&&o&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var h=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!n&&!a&&!t&&!s&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,5),e.body=this.parseBlock(!1,void 0,a&&!n),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=h}this.exitScope()},ei.isSimpleParamList=function(e){for(var t=0;t<e.length;t+=1)if("Identifier"!==e[t].type)return!1;return!0},ei.checkParams=function(e,t){for(var s=Object.create(null),i=0,r=e.params;i<r.length;i+=1){var n=r[i];this.checkLValInnerPattern(n,1,t?null:s)}},ei.parseExprList=function(e,t,s,i){for(var r=[],n=!0;!this.eat(e);){if(n)n=!1;else if(this.expect(v.comma),t&&this.afterTrailingComma(e))break;var a=void 0;s&&this.type===v.comma?a=null:this.type===v.ellipsis?(a=this.parseSpread(i),i&&this.type===v.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):a=this.parseMaybeAssign(!1,i),r.push(a)}return r},ei.checkUnreserved=function(e){var t=e.start,s=e.end,i=e.name;this.inGenerator&&"yield"===i&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===i&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),259&this.currentThisScope().flags||"arguments"!==i||this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&("arguments"===i||"await"===i)&&this.raise(t,"Cannot use "+i+" in class static initialization block"),this.keywords.test(i)&&this.raise(t,"Unexpected keyword '"+i+"'"),(!(this.options.ecmaVersion<6)||-1===this.input.slice(t,s).indexOf("\\"))&&(this.strict?this.reservedWordsStrict:this.reservedWords).test(i)&&(this.inAsync||"await"!==i||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+i+"' is reserved"))},ei.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),!e&&(this.checkUnreserved(t),"await"!==t.name||this.awaitIdentPos||(this.awaitIdentPos=t.start)),t},ei.parseIdentNode=function(){var e=this.startNode();return this.type===v.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,("class"===e.name||"function"===e.name)&&(this.lastTokEnd!==this.lastTokStart+1||46!==this.input.charCodeAt(this.lastTokStart))&&this.context.pop(),this.type=v.name):this.unexpected(),e},ei.parsePrivateIdent=function(){var e=this.startNode();return this.type===v.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(0===this.privateNameStack.length?this.raise(e.start,"Private field '#"+e.n
vendor: 6,847 bytes, line 1
1ame+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},ei.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===v.semi||this.canInsertSemicolon()||this.type!==v.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(v.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},ei.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var en=U.prototype;en.raise=function(e,t){var s=B(this.input,e);t+=" ("+s.line+":"+s.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var i=SyntaxError(t);throw i.pos=e,i.loc=s,i.raisedAt=this.pos,i},en.raiseRecoverable=en.raise,en.curPosition=function(){if(this.options.locations)return new R(this.curLine,this.pos-this.lineStart)};var ea=U.prototype,eo=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[]};ea.enterScope=function(e){this.scopeStack.push(new eo(e))},ea.exitScope=function(){this.scopeStack.pop()},ea.treatFunctionsAsVarInScope=function(e){return 2&e.flags||!this.inModule&&1&e.flags},ea.declareName=function(e,t,s){var i=!1;if(2===t){var r=this.currentScope();i=r.lexical.indexOf(e)>-1||r.functions.indexOf(e)>-1||r.var.indexOf(e)>-1,r.lexical.push(e),this.inModule&&1&r.flags&&delete this.undefinedExports[e]}else if(4===t)this.currentScope().lexical.push(e);else if(3===t){var n=this.currentScope();i=this.treatFunctionsAsVar?n.lexical.indexOf(e)>-1:n.lexical.indexOf(e)>-1||n.var.indexOf(e)>-1,n.functions.push(e)}else for(var a=this.scopeStack.length-1;a>=0;--a){var o=this.scopeStack[a];if(o.lexical.indexOf(e)>-1&&!(32&o.flags&&o.lexical[0]===e)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(e)>-1){i=!0;break}if(o.var.push(e),this.inModule&&1&o.flags&&delete this.undefinedExports[e],259&o.flags)break}i&&this.raiseRecoverable(s,"Identifier '"+e+"' has already been declared")},ea.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},ea.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ea.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(771&t.flags)return t}},ea.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(771&t.flags&&!(16&t.flags))return t}};var eh=function(e,t,s){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new D(e,s)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},el=U.prototype;function ec(e,t,s,i){return e.type=t,e.end=s,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=s),e}el.startNode=function(){return new eh(this,this.start,this.startLoc)},el.startNodeAt=function(e,t){return new eh(this,e,t)},el.finishNode=function(e,t){return ec.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},el.finishNodeAt=function(e,t,s,i){return ec.call(this,e,t,s,i)},el.copyNode=function(e){var t=new eh(this,e.start,this.startLoc);for(var s in e)t[s]=e[s];return t};for(var ep="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",eu=ep+" Extended_Pictographic",ed=eu+" EBase EComp EMod EPres ExtPict",ef={9:ep,10:eu,11:eu,12:ed,13:ed,14:ed},em={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},eg="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",ey="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 Re
1jang 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",ex=ey+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ev=ex+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",eb=ev+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",ek=eb+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",ew={9:ey,10:ex,11:ev,12:eb,13:ek,14:ek+" Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz"},eS={},e_=0,eE=[9,10,11,12,13,14];e_<eE.length;e_+=1)!function(e){var t=eS[e]={binary:L(ef[e]+" "+eg),binaryOfStrings:L(em[e]),nonBinary:{General_Category:L(eg),Script:L(ew[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}(eE[e_]);var eC=U.prototype,eA=function(e,t){this.parent=e,this.base=t||this};eA.prototype.separatedFrom=function(e){for(var t=this;t;t=t.parent)for(var s=e;s;s=s.parent)if(t.base===s.base&&t!==s)return!0;return!1},eA.prototype.sibling=function(){return new eA(this.parent,this.base)};var eI=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"")+(e.options.ecmaVersion>=15?"v":""),this.unicodeProperties=eS[e.options.ecmaVersion>=14?14:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};function eN(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function eT(e){return e>=65&&e<=90||e>=97&&e<=122}function eP(e){return eT(e)||95===e}function eL(e){return e>=48&&e<=57}function eO(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function eV(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function eR(e){return e>=48&&e<=55}eI.prototype.reset=function(e,t,s){var i=-1!==s.indexOf("v"),r=-1!==s.indexOf("u");this.start=0|e,this.source=t+"",this.flags=s,i&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=r&&this.parser.options.ecmaVersion>=9)},eI.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},eI.prototype.at=function(e,t){void 0===t&&(t=!1);var s=this.source,i=s.length;if(e>=i)return -1;var r=s.charCodeAt(e);if(!(t||this.switchU)||r<=55295||r>=57344||e+1>=i)return r;var n=s.charCodeAt(e+1);return n>=56320&&n<=57343?(r<<10)+n-0x35fdc00:r},eI.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var s=this.source,i=s.length;if(e>=i)return i;var r,n=s.charCodeAt(e);return!(t||this.switchU)||n<=55295||n>=57344||e+1>=i||(r=s.charCodeAt(e+1))<56320||r>57343?e+1:e+2},eI.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},eI.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},eI.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},eI.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},eI.prototype.eatChars=function(e,t){void 0===t&&(t=!1);for(var s=this.pos,i=0;i<e.length;i+=1){var r=e[i],n=this.at(s,t);if(-1===n||n!==r)return!1;s=this.nextIndex(s,t)}return this.pos=s,!0},eC.validateRegExpFlags=function(e){for(var t=e.validFlags,s=e.flags,i=!1,r=!1,n=0;n<s.length;n++){var a=s.charAt(n);-1===t.indexOf(a)&&this.raise(e.start,"Invalid regular expression flag"),s.indexOf(a,n+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),"u"===a&&(i=!0),"v"===a&&(r=!0)}this.options.ecmaVersion>=15&&i&&r&&this.raise(e.start,"Invalid regular expression flag")},eC.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&function(e){for(var t in e)return!0;return!1}(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))},eC.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,s=e.backReferenceNames;t<s.length;t+=1){var i=s[t];e.groupNames[i]||e.raise("Invalid named capture referenced")}},eC.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new eA(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},eC.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},eC.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?!!this.regexp_eatAtom(e):!!this.regexp_eatExtendedAtom(e))&&(this.regexp_eatQuantifier(e),!0)},eC.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;
vendor: 1,578 bytes, line 1
1if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var s=!1;if(this.options.ecmaVersion>=9&&(s=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!s,!0}return e.pos=t,!1},eC.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},eC.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},eC.regexp_eatBracedQuantifier=function(e,t){var s=e.pos;if(e.eat(123)){var i=0,r=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue),e.eat(125)))return -1!==r&&r<i&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=s}return!1},eC.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},eC.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},eC.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var s=this.regexp_eatModifiers(e),i=e.eat(45);if(s||i){for(var r=0;r<s.length;r++){var n=s.charAt(r);s.indexOf(n,r+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(i){var a=this.regexp_eatModifiers(e);
1s||a||58!==e.current()||e.raise("Invalid regular expression modifiers");for(var o=0;o<a.length;o++){var h=a.charAt(o);(a.indexOf(h,o+1)>-1||s.indexOf(h)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1},eC.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},eC.regexp_eatModifiers=function(e){for(var t,s="",i=0;-1!==(i=e.current())&&(105===(t=i)||109===t||115===t);)s+=O(i),e.advance();return s},eC.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)},eC.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},eC.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!eN(t)&&(e.lastIntValue=t,e.advance(),!0)},eC.regexp_eatPatternCharacters=function(e){for(var t=e.pos,s=0;-1!==(s=e.current())&&!eN(s);)e.advance();return e.pos!==t},eC.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return -1!==t&&36!==t&&(!(t>=40)||!(t<=43))&&46!==t&&63!==t&&91!==t&&94!==t&&124!==t&&(e.advance(),!0)},eC.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,s=e.groupNames[e.lastStringValue];if(s)if(t)for(var i=0;i<s.length;i+=1)s[i].separatedFrom(e.branchID)||e.raise("Duplicate capture group name");else e.raise("Duplicate capture group name");t?(s||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}},eC.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},eC.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=O(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=O(e.lastIntValue);return!0}return!1},eC.regexp_eatRegExpIdentifierStart=function(e){var t,s=e.pos,i=this.options.ecmaVersion>=11,r=e.current(i);return(e.advance(i),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(r=e.lastIntValue),p(t=r,!0)||36===t||95===t)?(e.lastIntValue=r,!0):(e.pos=s,!1)},eC.regexp_eatRegExpIdentifierPart=function(e){var t,s=e.pos,i=this.options.ecmaVersion>=11,r=e.current(i);return(e.advance(i),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(r=e.lastIntValue),u(t=r,!0)||36===t||95===t||8204===t||8205===t)?(e.lastIntValue=r,!0):(e.pos=s,!1)},eC.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},eC.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var s=e.lastIntValue;if(e.switchU)return s>e.maxBackReference&&(e.maxBackReference=s),!0;if(s<=e.numCapturingParens)return!0;e.pos=t}return!1},eC.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},eC.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,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},eC.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},eC.regexp_eatZero=function(e){return!(48!==e.current()||eL(e.lookahead())
1)&&(e.lastIntValue=0,e.advance(),!0)},eC.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},eC.regexp_eatControlLetter=function(e){var t=e.current();return!!eT(t)&&(e.lastIntValue=t%32,e.advance(),!0)},eC.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var s=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r,n=e.lastIntValue;if(i&&n>=55296&&n<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=(n-55296)*1024+(o-56320)+65536,!0}e.pos=a,e.lastIntValue=n}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&(r=e.lastIntValue)>=0&&r<=1114111)return!0;i&&e.raise("Invalid unicode escape"),e.pos=s}return!1},eC.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return 99!==t&&(!e.switchN||107!==t)&&(e.lastIntValue=t,e.advance(),!0)},eC.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!0}return!1},eC.regexp_eatCharacterClassEscape=function(e){var t,s,i=e.current();if(100===(t=i)||68===t||115===t||83===t||119===t||87===t)return e.lastIntValue=-1,e.advance(),1;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=80===i)||112===i)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&(s=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&2===s&&e.raise("Invalid property name"),s;e.raise("Invalid property name")}return 0},eC.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var s=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,s,i),1}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,r)}return 0},eC.regexp_validateUnicodePropertyNameAndValue=function(e,t,s){N(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(s)||e.raise("Invalid property value")},eC.regexp_validateUnicodePropertyNameOrValue=function(e,t){return e.unicodeProperties.binary.test(t)?1:e.switchV&&e.unicodeProperties.binaryOfStrings.test(t)?2:void e.raise("Invalid property name")},eC.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";eP(t=e.current());)e.lastStringValue+=O(t),e.advance();return""!==e.lastStringValue},eC.regexp_eatUnicodePropertyValue=function(e){var t,s=0;for(e.lastStringValue="";eP(t=s=e.current())||eL(t);)e.lastStringValue+=O(s),e.advance();return""!==e.lastStringValue},eC.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},eC.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),s=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&2===s&&e.raise("Negated character class may contain strings"),!0}return!1},eC.regexp_classContents=function(e){return 93===e.current()?1:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),1)},eC.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var s=e.lastIntValue;e.switchU&&(-1===t||-1===s)&&e.raise("Invalid character class"),-1!==t&&-1!==s&&t>s&&e.raise("Range out of order in character class")}}},eC.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var s=e.current();(99===s||eR(s))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return 93!==i&&(e.lastIntValue=i,e.advance(),!0)},eC.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;
vendor: 8,965 bytes, line 1
1if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},eC.regexp_classSetExpression=function(e){var t,s=1;if(this.regexp_eatClassSetRange(e));else if(t=this.regexp_eatClassSetOperand(e)){2===t&&(s=2);for(var i=e.pos;e.eatChars([38,38]);){if(38!==e.current()&&(t=this.regexp_eatClassSetOperand(e))){2!==t&&(s=1);continue}e.raise("Invalid character in character class")}if(i!==e.pos)return s;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(i!==e.pos)return s}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(!(t=this.regexp_eatClassSetOperand(e)))return s;2===t&&(s=2)}},eC.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var s=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;return -1!==s&&-1!==i&&s>i&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1},eC.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?1:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},eC.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var s=e.eat(94),i=this.regexp_classContents(e);if(e.eat(93))return s&&2===i&&e.raise("Negated character class may contain strings"),i;e.pos=t}if(e.eat(92)){var r=this.regexp_eatCharacterClassEscape(e);if(r)return r;e.pos=t}return null},eC.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var s=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return s}else e.raise("Invalid escape");e.pos=t}return null},eC.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)2===this.regexp_classString(e)&&(t=2);return t},eC.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return 1===t?1:2},eC.regexp_eatClassSetCharacter=function(e){var t,s,i=e.pos;if(e.eat(92))return!!(this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e))||(e.eat(98)?(e.lastIntValue=8,!0):(e.pos=i,!1));var r=e.current();return!(r<0||r===e.lookahead()&&(33===(t=r)||t>=35&&t<=38||t>=42&&t<=44||46===t||t>=58&&t<=64||94===t||96===t||126===t)||40===(s=r)||41===s||45===s||47===s||s>=91&&s<=93||s>=123&&s<=125)&&(e.advance(),e.lastIntValue=r,!0)},eC.regexp_eatClassSetReservedPunctuator=function(e){var t,s=e.current();return!!(33===(t=s)||35===t||37===t||38===t||44===t||45===t||t>=58&&t<=62||64===t||96===t||126===t)&&(e.lastIntValue=s,e.advance(),!0)},eC.regexp_eatClassControlLetter=function(e){var t=e.current();return(!!eL(t)||95===t)&&(e.lastIntValue=t%32,e.advance(),!0)},eC.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},eC.regexp_eatDecimalDigits=function(e){var t=e.pos,s=0;for(e.lastIntValue=0;eL(s=e.current());)e.lastIntValue=10*e.lastIntValue+(s-48),e.advance();return e.pos!==t},eC.regexp_eatHexDigits=function(e){var t=e.pos,s=0;for(e.lastIntValue=0;eO(s=e.current());)e.lastIntValue=16*e.lastIntValue+eV(s),e.advance();return e.pos!==t},eC.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var s=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*s+e.lastIntValue:e.lastIntValue=8*t+s}else e.lastIntValue=t;return!0}return!1},eC.regexp_eatOctalDigit=function(e){var t=e.current();return eR(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},eC.regexp_eatFixedHexDigits=function(e,t){var s=e.pos;e.lastIntValue=0;for(var i=0;i<t;++i){var r=e.current();if(!eO(r))return e.pos=s,!1;e.lastIntValue=16*e.lastIntValue+eV(r),e.advance()}return!0};var eD=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new D(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},eB=U.prototype;function eM(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}eB.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new eD(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},eB.getToken=function(){return this.next(),new eD(this)},"undefined"!=typeof Symbol&&(eB[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===v.eof,value:t}}}}),eB.nextToken=function(){var e=this.curContext();return(e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)?this.finishToken(v.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},eB.readToken=function(e){return p(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},eB.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-0x35fdc00},eB.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,s=this.input.indexOf("*/",this.pos+=2);if(-1===s&&this.raise(this.pos-2,"Unterminated comment"),this.pos=s+2,this.options.locations)for(var i=void 0,r=t;(i=S(this.input,r,this.pos))>-1;)++this.curLine,r=this.lineStart=i;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,s),t,this.pos,e,this.curPosition())},eB.skipLineComment=function(e){for(var t=this.pos,s=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!w(i);)i=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,s,this.curPosition())},eB.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&_.test(String.fromCharCode(e)))++this.pos;else break e}}},eB.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var s=this.type;this.type=e,this.value=t,this.updateContext(s)},eB.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(v.ellipsis)):(++this.pos,this.finishToken(v.dot))},eB.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(v.assign,2):this.finishOp(v.slash,1)},eB.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),s=1,i=42===e?v.star:v.modulo;return(this.options.ecmaVersion>=7&&42===e&&42===t&&(++s,i=v.starstar,t=this.input.charCodeAt(this.pos+2)),61===t)?this.finishOp(v.assign,s+1):this.finishOp(i,s)},eB.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e)return this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(v.assign,3):this.finishOp(124===e?v.logicalOR:v.logicalAND,2);return 61===t?this.finishOp(v.assign,2):this.finishOp(124===e?v.bitwiseOR:v.bitwiseAND,1)},eB.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(v.assign,2):this.finishOp(v.bitwiseXOR,1)},eB.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45===t&&!this.inModule&&62===this.input.charCodeAt(this.pos+2)&&(0===this.lastTokEnd||b.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(v.incDec,2):61===t?this.finishOp(v.assign,2):this.finishOp(v.plusMin,1)},eB.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),s=1;return t===e?(s=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+s))?this.finishOp(v.assign,s+1):this.finishOp(v.bitShift,s):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(s=2),this.finishOp(v.relational,s)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},eB.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);
vendor: 6,234 bytes, line 1
1return 61===t?this.finishOp(v.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(v.arrow)):this.finishOp(61===e?v.eq:v.prefix,1)},eB.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var s=this.input.charCodeAt(this.pos+2);if(s<48||s>57)return this.finishOp(v.questionDot,2)}if(63===t)return e>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(v.assign,3):this.finishOp(v.coalesce,2)}return this.finishOp(v.question,1)},eB.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,p(t=this.fullCharCodeAtPos(),!0)||92===t))return this.finishToken(v.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+O(t)+"'")},eB.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(v.parenL);case 41:return++this.pos,this.finishToken(v.parenR);case 59:return++this.pos,this.finishToken(v.semi);case 44:return++this.pos,this.finishToken(v.comma);case 91:return++this.pos,this.finishToken(v.bracketL);case 93:return++this.pos,this.finishToken(v.bracketR);case 123:return++this.pos,this.finishToken(v.braceL);case 125:return++this.pos,this.finishToken(v.braceR);case 58:return++this.pos,this.finishToken(v.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(v.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)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(!1);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(v.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+O(e)+"'")},eB.finishOp=function(e,t){var s=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,s)},eB.readRegexp=function(){for(var e,t,s=this.pos;;){this.pos>=this.input.length&&this.raise(s,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(b.test(i)&&this.raise(s,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++this.pos}var r=this.input.slice(s,this.pos);++this.pos;var n=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(n);var o=this.regexpState||(this.regexpState=new eI(this));o.reset(s,r,a),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var h=null;try{h=new RegExp(r,a)}catch(e){}return this.finishToken(v.regexp,{pattern:r,flags:a,value:h})},eB.readInt=function(e,t,s){for(var i=this.options.ecmaVersion>=12&&void 0===t,r=s&&48===this.input.charCodeAt(this.pos),n=this.pos,a=0,o=0,h=0,l=null==t?1/0:t;h<l;++h,++this.pos){var c=this.input.charCodeAt(this.pos),p=void 0;if(i&&95===c){r&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===o&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===h&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),o=c;continue}if((p=c>=97?c-97+10:c>=65?c-65+10:c>=48&&c<=57?c-48:1/0)>=e)break;o=c,a=a*e+p}return(i&&95===o&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===n||null!=t&&this.pos-n!==t)?null:a},eB.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var s=this.readInt(e);return null==s&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(s=eM(this.input.slice(t,this.pos)),++this.pos):p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(v.num,s)},eB.readNumber=function(e){var t,s=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(s,"Invalid number");var i=this.pos-s>=2&&48===this.input.charCodeAt(s);i&&this.strict&&this.raise(s,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&110===r){var n=eM(this.input.slice(s,this.pos));return++this.pos,p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(v.num,n)}i&&/[89]/.test(this.input.slice(s,this.pos))&&(i=!1),46!==r||i||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||i||((43===(r=this.input.charCodeAt(++this.pos))||45===r)&&++this.pos,null===this.readInt(10)&&this.raise(s,"Invalid number")),p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=(t=this.input.slice(s,this.pos),i?parseInt(t,8):parseFloat(t.replace(/_/g,"")));return this.finishToken(v.num,a)},eB.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},eB.readString=function(e){for(var t="",s=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;92===i?(t+=this.input.slice(s,this.pos),t+=this.readEscapedChar(!1),s=this.pos):8232===i||8233===i?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(w(i)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(s,this.pos++),this.finishToken(v.string,t)};var ej={};eB.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}
1catch(e){if(e===ej)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},eB.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw ej;this.raise(e,t)},eB.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var s=this.input.charCodeAt(this.pos);if(96===s||36===s&&123===this.input.charCodeAt(this.pos+1)){if(this.pos===this.start&&(this.type===v.template||this.type===v.invalidTemplate))if(36===s)return this.pos+=2,this.finishToken(v.dollarBraceL);else return++this.pos,this.finishToken(v.backQuote);return e+=this.input.slice(t,this.pos),this.finishToken(v.template,e)}if(92===s)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(w(s)){switch(e+=this.input.slice(t,this.pos),++this.pos,s){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(s)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},eB.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(v.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":"\n"===this.input[this.pos+1]&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},eB.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return O(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var s=this.pos-1;this.invalidStringToken(s,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(i,8);return r>255&&(r=parseInt(i=i.slice(0,-1),8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),("0"!==i||56===t||57===t)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}if(w(t))return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";return String.fromCharCode(t)}},eB.readHexChar=function(e){var t=this.pos,s=this.readInt(16,e);return null===s&&this.invalidStringToken(t,"Bad character escape sequence"),s},eB.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,s=this.pos,i=this.options.ecmaVersion>=6;this.pos<this.input.length;){var r=this.fullCharCodeAtPos();if(u(r,i))this.pos+=r<=65535?1:2;else if(92===r){this.containsEsc=!0,e+=this.input.slice(s,this.pos);var n=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var a=this.readCodePoint();(t?p:u)(a,i)||this.invalidStringToken(n,"Invalid Unicode escape"),e+=O(a),s=this.pos}else break;t=!1}return e+this.input.slice(s,this.pos)},eB.readWord=function(){var e=this.readWord1(),t=v.name;return this.keywords.test(e)&&(t=y[e]),this.finishToken(t,e)};var eF="8.15.0";U.acorn={Parser:U,version:eF,defaultOptions:M,Position:R,SourceLocation:D,getLineInfo:B,Node:eh,TokenType:d,tokTypes:v,keywordTypes:y,TokContext:ee,tokContexts:et,isIdentifierChar:u,isIdentifierStart:p,Token:eD,isNewLine:w,lineBreak:b,lineBreakG:k,nonASCIIwhitespace:_},e.Node=eh,e.Parser=U,e.Position=R,e.SourceLocation=D,e.TokContext=ee,e.Token=eD,e.TokenType=d,e.defaultOptions=M,e.getLineInfo=B,e.isIdentifierChar=u,e.isIdentifierStart=p,e.isNewLine=w,e.keywordTypes=y,e.lineBreak=b,e.lineBreakG=k,e.nonASCIIwhitespace=_,e.parse=function(e,t){return U.parse(e,t)},e.parseExpressionAt=function(e,t,s){return U.parseExpressionAt(e,t,s)},e.tokContexts=et,e.tokTypes=v,e.tokenizer=function(e,t){return U.tokenizer(e,t)},e.version=eF}(s)},395552,(e,t,s)=>{"use strict";
1let i=e.r(721981),r=/^[\da-fA-F]+$/,n=/^\d+$/,a=new WeakMap;function o(e){e=e.Parser.acorn||e;let t=a.get(e);if(!t){let s=e.tokTypes,i=e.TokContext,r=e.TokenType,n=new i("<tag",!1),o=new i("</tag",!1),h=new i("<tag>...</tag>",!0,!0),l={jsxName:new r("jsxName"),jsxText:new r("jsxText",{beforeExpr:!0}),jsxTagStart:new r("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new r("jsxTagEnd")};l.jsxTagStart.updateContext=function(){this.context.push(h),this.context.push(n),this.exprAllowed=!1},l.jsxTagEnd.updateContext=function(e){let t=this.context.pop();t===n&&e===s.slash||t===o?(this.context.pop(),this.exprAllowed=this.curContext()===h):this.exprAllowed=!0},t={tokContexts:{tc_oTag:n,tc_cTag:o,tc_expr:h},tokTypes:l},a.set(e,t)}return t}function h(e){return e?"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?h(e.object)+"."+h(e.property):void 0:e}t.exports=function(t){return t=t||{},function(s){var a,l;let c,p,u,d,f,m,g,y,x,v,b;return a={allowNamespaces:!1!==t.allowNamespaces,allowNamespacedObjects:!!t.allowNamespacedObjects},l=s,p=o(c=l.acorn||e.r(128235)),u=c.tokTypes,d=p.tokTypes,f=c.tokContexts,m=p.tokContexts.tc_oTag,g=p.tokContexts.tc_cTag,y=p.tokContexts.tc_expr,x=c.isNewLine,v=c.isIdentifierStart,b=c.isIdentifierChar,class extends l{static get acornJsx(){return p}jsx_readToken(){let e="",t=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let s=this.input.charCodeAt(this.pos);switch(s){case 60:case 123:if(this.pos===this.start){if(60===s&&this.exprAllowed)return++this.pos,this.finishToken(d.jsxTagStart);return this.getTokenFromCode(s)}return e+=this.input.slice(t,this.pos),this.finishToken(d.jsxText,e);case 38:e+=this.input.slice(t,this.pos),e+=this.jsx_readEntity(),t=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(62===s?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:x(s)?(e+=this.input.slice(t,this.pos),e+=this.jsx_readNewLine(!0),t=this.pos):++this.pos}}}jsx_readNewLine(e){let t,s=this.input.charCodeAt(this.pos);return++this.pos,13===s&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(s),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t}jsx_readString(e){let t="",s=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let i=this.input.charCodeAt(this.pos);if(i===e)break;38===i?(t+=this.input.slice(s,this.pos),t+=this.jsx_readEntity(),s=this.pos):x(i)?(t+=this.input.slice(s,this.pos),t+=this.jsx_readNewLine(!1),s=this.pos):++this.pos}return t+=this.input.slice(s,this.pos++),this.finishToken(u.string,t)}jsx_readEntity(){let e="",t=0,s,a=this.input[this.pos];"&"!==a&&this.raise(this.pos,"Entity must start with an ampersand");let o=++this.pos;for(;this.pos<this.input.length&&t++<10;){if(";"===(a=this.input[this.pos++])){"#"===e[0]?"x"===e[1]?(e=e.substr(2),r.test(e)&&(s=String.fromCharCode(parseInt(e,16)))):(e=e.substr(1),n.test(e)&&(s=String.fromCharCode(parseInt(e,10)))):s=i[e];break}e+=a}return s||(this.pos=o,"&")}jsx_readWord(){let e,t=this.pos;do e=this.input.charCodeAt(++this.pos);while(b(e)||45===e)return this.finishToken(d.jsxName,this.input.slice(t,this.pos))}jsx_parseIdentifier(){let e=this.startNode();return this.type===d.jsxName?e.name=this.value:this.type.keyword?e.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsx_parseNamespacedName(){let e=this.start,t=this.startLoc,s=this.jsx_parseIdentifier();if(!a.allowNamespaces||!this.eat(u.colon))return s;var i=this.startNodeAt(e,t);return i.namespace=s,i.name=this.jsx_parseIdentifier(),this.finishNode(i,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===d.jsxTagEnd)return"";let e=this.start,t=this.startLoc,s=this.jsx_parseNamespacedName();for(this.type!==u.dot||"JSXNamespacedName"!==s.type||a.allowNamespacedObjects||this.unexpected();this.eat(u.dot);){let i=this.startNodeAt(e,t);i.object=s,i.property=this.jsx_parseIdentifier(),s=this.finishNode(i,"JSXMemberExpression")}return s}jsx_parseAttributeValue(){switch(this.type){case u.braceL:let e=this.jsx_parseExpressionContainer();return"JSXEmptyExpression"===e.expression.type&&this.raise(e.start,"JSX attributes must only be assigned a non-empty expression"),e;case d.jsxTagStart:case u.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let e=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let e=this.startNode();return this.next(),e.expression=this.type===u.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(u.braceR),this.finishNode(e,"JSXExpressionContainer")}jsx_parseAttribute(){let e=this.startNode();return this.eat(u.braceL)?(this.expect(u.ellipsis),e.argument=this.parseMaybeAssign(),this.expect(u.braceR),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsx_parseNamespacedName(),e.value=this.eat(u.eq)?this.jsx_parseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsx_parseOpeningElementAt(e,t){let s=this.startNodeAt(e,t);s.attributes=[];let i=this.jsx_parseElementName();for(i&&(s.name=i);this.type!==u.slash&&this.type!==d.jsxTagEnd;)s.attributes.push(this.jsx_parseAttribute());return s.selfClosing=this.eat(u.slash),this.expect(d.jsxTagEnd),this.finishNode(s,i?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(e,t){let s=this.startNodeAt(e,t),i=this.jsx_parseElementName();return i&&(s.name=i),this.expect(d.jsxTagEnd),this.finishNode(s,i?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(e,t){let s=this.startNodeAt(e,t),i=[],r=this.jsx_parseOpeningElementAt(e,t),n=null;if(!r.selfClosing){t:for(;;)switch(this.type){case d.jsxTagStart:if(e=this.start,t=this.startLoc,this.next(),this.eat(u.slash)){n=this.jsx_parseClosingElementAt(e,t);break t}i.push(this.jsx_parseElementAt(e,t));break;case d.jsxText:i.push(this.parseExprAtom());break;case u.braceL:i.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}h(n.name)!==h(r.name)&&this.raise(n.start,"Expected corresponding JSX closing tag for <"+h(r.name)+">")}let a=r.name?"Element":"Fragment";return s["opening"+a]=r,s["closing"+a]=n,s.children=i,this.type===u.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(s,"JSX"+a)}jsx_parseText(){let e=this.parseLiteral(this.value);return e.type="JSXText",e}jsx_parseElement(){let e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)}parseExprAtom(e){return this.type===d.jsxText?this.jsx_parseText():this.type===d.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(e)}readToken(e){let t=this.curContext();if(t===y)return this.jsx_readToken();if(t===m||t===g){if(v(e))return this.jsx_readWord();if(62==e)return++this.pos,this.finishToken(d.jsxTagEnd);if((34===e||39===e)&&t==m)return this.jsx_readString(e)}return 60===e&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(d.jsxTagStart)):super.readToken(e)}
1updateContext(e){if(this.type==u.braceL){var t=this.curContext();t==m?this.context.push(f.b_expr):t==y?this.context.push(f.b_tmpl):super.updateContext(e),this.exprAllowed=!0}else{if(this.type!==u.slash||e!==d.jsxTagStart)return super.updateContext(e);this.context.length-=2,this.context.push(g),this.exprAllowed=!1}}}}},Object.defineProperty(t.exports,"tokTypes",{get:function(){return o(e.r(128235)).tokTypes},configurable:!0,enumerable:!0})},499270,(e,t,s)=>{var i=String,r=function(){return{isColorSupported:!1,reset:i,bold:i,dim:i,italic:i,underline:i,inverse:i,hidden:i,strikethrough:i,black:i,red:i,green:i,yellow:i,blue:i,magenta:i,cyan:i,white:i,gray:i,bgBlack:i,bgRed:i,bgGreen:i,bgYellow:i,bgBlue:i,bgMagenta:i,bgCyan:i,bgWhite:i,blackBright:i,redBright:i,greenBright:i,yellowBright:i,blueBright:i,magentaBright:i,cyanBright:i,whiteBright:i,bgBlackBright:i,bgRedBright:i,bgGreenBright:i,bgYellowBright:i,bgBlueBright:i,bgMagentaBright:i,bgCyanBright:i,bgWhiteBright:i}};t.exports=r(),t.exports.createColors=r},278162,(e,t,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,s.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!!(e[3]||e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},963786,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isIdentifierChar=p,s.isIdentifierName=function(e){let t=!0;for(let s=0;s<e.length;s++){let i=e.charCodeAt(s);if((64512&i)==55296&&s+1<e.length){let t=e.charCodeAt(++s);(64512&t)==56320&&(i=65536+((1023&i)<<10)+(1023&t))}if(t){if(t=!1,!c(i))return!1}else if(!p(i))return!1}return!t},s.isIdentifierStart=c;let i="ªµºÃ-ÃÃ-öø-ËË-ËË -ˤˬˮͰ-ʹͶͷͺ-ͽͿÎÎ-ÎÎÎ-ΡΣ-ϵϷ-ÒÒ-Ô¯Ô±-ÕÕÕ -Ö×-תׯ-×²Ø -Ùٮٯٱ-ÛÛÛ¥Û¦Û®Û¯Ûº-Û¼Û¿ÜÜ-ܯÝ-Þ¥Þ±ß-ߪߴߵߺà -à à à ¤à ¨à¡-à¡à¡ -ࡪࡰ-à¢à¢-à¢à¢ -à£à¤-हऽà¥à¥-ॡॱ-à¦à¦
-à¦à¦à¦à¦-নপ-রলশ-হঽà§à§à§à§-ৡৰৱৼà¨
-à¨à¨à¨à¨-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹà©-à©à©à©²-à©´àª
-àªàª-àªàª-નપ-રલળવ-હઽà«à« ૡૹà¬
-à¬à¬à¬à¬-ନପ-ରଲଳଵ-ହଽààà-à¡à±à®à®
-à®à®-à®à®-à®à®à®à®à®à®à®£à®¤à®¨-பம-ஹà¯à°
-à°à°-à°à°-నప-హఽà±-à±à±à± ౡà²à²
-à²à²-à²à²-ನಪ-ಳವ-ಹಽà³à³à³ ೡೱೲà´-à´à´-à´à´-ഺഽàµàµ-àµàµ-ൡൺ-ൿà¶
-à¶à¶-නඳ-රලà·-à·à¸-ะาำà¹-à¹àºàºàºàº-àºàº-ຣລວ-ະາຳຽà»-à»à»à»-à»à¼à½-à½à½-ཬà¾-à¾á-áªá¿á-áá-áá¡á¥á¦á®-á°áµ-ááá -á
ááá-áºá¼-áá-áá-ááá-áá -áá-áá-á°á²-áµá¸-á¾áá-á
á-áá-áá-áá-áá-áá -áµá¸-á½á-á¬á¯-á¿á-áá -áªá®-á¸á-áá-á±á-áá -á¬á®-á°á-á³ááá -ᡸá¢-ᢨᢪᢰ-ᣵá¤-á¤á¥-á¥á¥°-ᥴá¦-ᦫᦰ-á§á¨-á¨á¨ -á©áª§á¬
-ᬳá
-áá®-ᮠᮮᮯᮺ-ᯥá°-á°£á±-á±á±-á±½á²-á²á²-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺá´-á¶¿á¸-á¼á¼-á¼á¼ -á½
á½-á½á½-á½á½á½á½á½-á½½á¾-á¾´á¾¶-ᾼιá¿-á¿á¿-á¿á¿-á¿á¿-á¿á¿ -Ῥῲ-á¿´á¿¶-ῼâ±â¿â-ââââ-âââ-ââ¤â¦â¨âª-â¹â¼-â¿â
-â
â
â
-ââ°-ⳤⳫ-ⳮⳲⳳâ´-ⴥⴧâ´â´°-ⵧⵯâ¶-â¶â¶ -ⶦⶨ-ⶮⶰ-ⶶⶸ-â¶¾â·-â·â·-â·â·-â·â·-â·ã
-ãã¡-ã©ã±-ãµã¸-ã¼ã-ãã-ãã¡-ãºã¼-ã¿ã
-ã¯ã±-ãã -ã¿ã°-ã¿ã-ä¶¿ä¸-êê-ê½ê-êê
1-êêªê«ê-ê®ê¿-êê -ê¯ê-êê¢-êê-êêêêê-êê²-ê ê -ê
ê -ê ê -ê ¢ê¡-ꡳê¢-ꢳꣲ-ꣷꣻꣽꣾê¤-ꤥꤰ-ê¥ê¥ -ꥼê¦-ꦲê§ê§ -ꧤꧦ-ꧯꧺ-ê§¾ê¨-ꨨê©-ê©ê©-ê©ê© -ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽê«ê«ê«-ê«ê« -ꫪꫲ-ê«´ê¬-ê¬ê¬-ê¬ê¬-ê¬ê¬ -ꬦꬨ-ꬮꬰ-êê-ê©ê°-ꯢê°-í£í°-íí-í»ï¤-ï©ï©°-ï«ï¬-ï¬ï¬-ï¬ï¬ï¬-ﬨשׁ-זּטּ-לּמּïïïïï-ï®±ï¯-ï´½ïµ-ï¶ï¶-ï·ï·°-ﷻﹰ-ï¹´ï¹¶-ﻼA-Zï½-ï½ï½¦-ï¾¾ï¿-ï¿ï¿-ï¿ï¿-ï¿ï¿-ï¿",r="·Ì-ͯÎÒ-ÒÖ-Ö½Ö¿××××
ר-ØÙ-٩ٰÛ-ÛÛ-Û¤Û§Û¨Ûª-ÛÛ°-Û¹Üܰ-ÝÞ¦-Þ°ß-ßß«-߽߳à -à à -à £à ¥-à §à ©-à à¡-à¡à¢-à¢à£-ࣣ࣡-à¤à¤º-़ा-à¥à¥-à¥à¥¢à¥£à¥¦-९à¦-à¦à¦¼à¦¾-à§à§à§à§-à§à§à§¢à§£à§¦-৯৾à¨-à¨à¨¼à¨¾-à©à©à©à©-à©à©à©¦-ੱੵàª-àªàª¼àª¾-à«
à«-à«à«-à«à«¢à«£à«¦-૯ૺ-à«¿à¬-à¬à¬¼à¬¾-àààà-àà-àà¢à£à¦-à¯à®à®¾-à¯à¯-à¯à¯-à¯à¯à¯¦-௯à°-à°à°¼à°¾-à±à±-à±à±-à±à±à±à±¢à±£à±¦-౯à²-à²à²¼à²¾-à³à³-à³à³-à³à³à³à³¢à³£à³¦-೯ೳà´-à´à´»à´¼à´¾-àµàµ-àµàµ-àµàµàµ¢àµ£àµ¦-൯à¶-à¶à·à·-à·à·à·-à·à·¦-෯ෲෳัิ-ฺà¹-à¹à¹-à¹àº±àº´-ຼà»-à»à»-à»à¼à¼à¼ -༩༹༵༷༾༿ཱ-à¾à¾à¾à¾-à¾à¾-ྼà¿á«-á¾á-áá-áá-á á¢-á¤á§-áá±-á´á-áá-áá-áá©-á±á-áá²-á´ááá²á³á´-ááá -á©á -á á -á ᢩᤠ-ᤫᤰ-᤻á¥-á¥á§-á§á¨-á¨á©-á©á© -᩿᩼-áªáª-áªáª°-᪽ᪿ-á«á¬-á¬á¬´-áá-áá«-á³á®-á®á®¡-á®á®°-᮹᯦-᯳ᰤ-á°·á±-á±á±-á±á³-á³á³-᳨á³á³´á³·-á³¹á·-á·¿âââ¿âââ-ââ¡â¥-â°â³¯-⵿⳱ⷠ-â·¿ãª-ã¯ããã»ê -ê©ê¯ê´-ê½êêê°ê±ê ê ê ê £-ê §ê ¬ê¢ê¢ê¢´-ê£
ê£-ê£ê£ -꣱ꣿ-ê¤ê¤¦-ê¤ê¥-ê¥ê¦-ê¦ê¦³-ê§ê§-ê§ê§¥ê§°-꧹ꨩ-ꨶê©ê©ê©ê©-ê©ê©»-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿ê«ê««-ꫯꫵ꫶ꯣ-ꯪ꯬ê¯ê¯°-꯹ï¬ï¸-ï¸ï¸ -︯︳︴ï¹-ï¹ï¼-ï¼ï¼¿ï½¥",n=RegExp("["+i+"]"),a=RegExp("["+i+r+"]");i=r=null;let o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],h=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function l(e,t){let s=65536;for(let i=0,r=t.length;i<r&&!((s+=t[i])>e);i+=2)if((s+=t[i+1])>=e)return!0;return!1}function c(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&n.test(String.fromCharCode(e)):l(e,o)))}function p(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&a.test(String.fromCharCode(e)):l(e,o)||l(e,h))))}},484344,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isKeyword=function(e){return i.has(e)},s.isReservedWord=a,s.isStrictBindOnlyReservedWord=h,s.isStrictBindReservedWord=function(e,t){return o(e,t)||h(e)},s.isStrictReservedWord=o;let i=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),r=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),n=new Set(["eval","arguments"]);function a(e,t){return t&&"await"===e||"enum"===e}function o(e,t){return a(e,t)||r.has(e)}function h(e){return n.has(e)}},440059,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"isIdentifierChar",{enumerable:!0,get:function(){return i.isIdentifierChar}}),Object.defineProperty(s,"isIdentifierName",{enumerable:!0,get:function(){return i.isIdentifierName}}),Object.defineProperty(s,"isIdentifierStart",{enumerable:!0,get:function(){return i.isIdentifierStart}}),Object.defineProperty(s,"isKeyword",{enumerable:!0,get:function(){return r.isKeyword}}),Object.defineProperty(s,"isReservedWord",{enumerable:!0,get:function(){return r.isReservedWord}}),Object.defineProperty(s,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return r.isStrictBindOnlyReservedWord}}),Object.defineProperty(s,"isStrictBindReservedWord",{enumerable:!0,get:function(){return r.isStrictBindReservedWord}}),Object.defineProperty(s,"isStrictReservedWord",{enumerable:!0,get:function(){return r.isStrictReservedWord}});var i=e.r(963786),r=e.r(484344)}
1,393065,(e,t,s)=>{"use strict";let i;var r=e.i(106226);Object.defineProperty(s,"__esModule",{value:!0});var n=e.r(499270),a=e.r(278162),o=e.r(440059);let h=(e,t)=>s=>e(t(s));function l(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:h(h(e.white,e.bgRed),e.bold),gutter:e.gray,marker:h(e.red,e.bold),message:h(e.red,e.bold),reset:e.reset}}let c=l(n.createColors(!0)),p=l(n.createColors(!1)),u=new Set(["as","async","from","get","of","set"]),d=/\r\n|[\n\r\u2028\u2029]/,f=/^[()[\]{}]$/;{let e=/^[a-z][\w-]*$/i,t=function(t,s,i){if("name"===t.type){if(o.isKeyword(t.value)||o.isStrictReservedWord(t.value,!0)||u.has(t.value))return"keyword";if(e.test(t.value)&&("<"===i[s-1]||"</"===i.slice(s-2,s)))return"jsxIdentifier";if(t.value[0]!==t.value[0].toLowerCase())return"capitalized"}return"punctuator"===t.type&&f.test(t.value)?"bracket":"invalid"===t.type&&("@"===t.value||"#"===t.value)?"punctuator":t.type};i=function*(e){let s;for(;s=a.default.exec(e);){let i=a.matchToToken(s);yield{type:t(i,s.index,e),value:i.value}}}}function m(e){if(""===e)return"";let t="";for(let{type:s,value:r}of i(e))s in c?t+=r.split(d).map(e=>c[s](e)).join("\n"):t+=r;return t}let g=!1,y=/\r\n|[\n\r\u2028\u2029]/;function x(e,t,s={}){let i=s.forceColor||("object"!=typeof r.default||"0"!==r.default.env.FORCE_COLOR&&"false"!==r.default.env.FORCE_COLOR)&&n.isColorSupported&&s.highlightCode,a=i?c:p,{start:o,end:h,markerLines:l}=function(e,t,s){let i=Object.assign({column:0,line:-1},e.start),r=Object.assign({},i,e.end),{linesAbove:n=2,linesBelow:a=3}=s||{},o=i.line,h=i.column,l=r.line,c=r.column,p=Math.max(o-(n+1),0),u=Math.min(t.length,l+a);-1===o&&(p=0),-1===l&&(u=t.length);let d=l-o,f={};if(d)for(let e=0;e<=d;e++){let s=e+o;if(h)if(0===e){let e=t[s-1].length;f[s]=[h,e-h+1]}else if(e===d)f[s]=[0,c];else{let i=t[s-e].length;f[s]=[0,i]}else f[s]=!0}else h===c?h?f[o]=[h,0]:f[o]=!0:f[o]=[h,c-h];return{start:p,end:u,markerLines:f}}(t,e.split(y),s),u=t.start&&"number"==typeof t.start.column,d=String(h).length,f=(i?m(e):e).split(y,h).slice(o,h).map((e,t)=>{let i=o+1+t,r=` ${i}`.slice(-d),n=` ${r} |`,h=l[i],c=!l[i+1];if(!h)return` ${a.gutter(n)}${e.length>0?` ${e}`:""}`;{let t="";if(Array.isArray(h)){let i=e.slice(0,Math.max(h[0]-1,0)).replace(/[^\t]/g," "),r=h[1]||1;t="\n "+a.gutter(n.replace(/\d/g," "))+" "+i+a.marker("^").repeat(r),c&&s.message&&(t+=" "+a.message(s.message))}return[a.marker(">"),a.gutter(n),e.length>0?` ${e}`:"",t].join("")}}).join("\n");return(s.message&&!u&&(f=`${" ".repeat(d+1)}${s.message} 2${f}`),i)?a.reset(f):f}s.codeFrameColumns=x,s.default=function(e,t,s,i={}){if(!g){g=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";r.default.emitWarning?r.default.emitWarning(e,"DeprecationWarning"):(Error(e).name="DeprecationWarning",console.warn(Error(e)))}return x(e,{start:{column:s=Math.max(s,0),line:t}},i)},s.highlight=m},741820,770370,e=>{"use strict";let t;e.i(331597),e.i(612486),e.i(799112),e.i(662721),e.i(538630),e.i(600195),e.i(998559);var s=e.i(686309),i=e.i(9495);function r(e){let t,r=(0,i.c)(2),{message:n}=e;return r[0]!==n?(t=(0,s.jsx)("div",{className:"flex h-[50vh] w-full flex-col items-center justify-center",children:(0,s.jsx)("p",{children:n})}),r[0]=n,r[1]=t):t=r[1],t}e.i(996463),e.i(511398),e.i(199978),e.i(526683),e.s(["Empty",()=>r],770370),e.i(24963),e.i(561444),e.i(111643),e.i(352103);let n=new(e.i(793143)).default({html:!0,linkify:!0,breaks:!0});n.renderer.rules.heading_open=function(e,t){let s=e[t].markup.length,i=e[t+1];if(i&&"inline"===i.type){let e=i.content.toLowerCase().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-").replace(/(^-|-$)/g,"");return`<h${s} id="${e}">`}return`<h${s}>`},n.renderer.rules.link_open=function(e,t,s,i,r){let n=e[t];if(n.attrIndex("href")>=0){let e=n.attrGet("href");n.attrSet("rel","nofollow"),e&&(e.startsWith("http://")||e.startsWith("https://"))&&n.attrSet("target","_blank")}return r.renderToken(e,t,s)},e.i(403732),e.i(11747);var a=e.i(323184);e.i(453007),e.i(390954),e.i(466500);var o=e.i(266438),h=e.i(692036),l=e.i(204007);let c="size-5 -me-0.5 fill-(--callout-color) text-fd-card";(0,l.forwardRef)(({className:e,children:t,title:i,type:r="info",icon:n,...a},l)=>("warn"===r&&(r="warning"),"tip"===r&&(r="info"),(0,s.jsxs)("div",{ref:l,className:(0,o.cn)("flex gap-2 my-4 roun
2ded-xl border bg-fd-card p-3 ps-1 text-sm text-fd-card-foreground shadow-md",e),...a,style:{"--callout-color":`var(--color-fd-${r}, var(--color-fd-muted))`,...a.style},children:[(0,s.jsx)("div",{role:"none",className:"w-0.5 bg-(--callout-color)/50 rounded-sm"}),n??({info:(0,s.jsx)(h.Info,{className:c}),warning:(0,s.jsx)(h.TriangleAlert,{className:c}),error:(0,s.jsx)(h.CircleX,{className:c}),success:(0,s.jsx)(h.CircleCheck,{className:c})})[r],(0,s.jsxs)("div",{className:"flex flex-col gap-2 min-w-0 flex-1",children:[i&&(0,s.jsx)("p",{className:"font-medium !my-0",children:i}),(0,s.jsx)("div",{className:"text-fd-muted-foreground prose-no-margin empty:hidden",children:t})]})]}))).displayName="Callout";var p=e.i(933959);p.CodeBlockTab,p.CodeBlockTabs,p.CodeBlockTabsList,p.CodeBlockTabsTrigger,a.default,e.i(147970),e.i(106226),e.i(159902),["md","markdown","mdown","mkdn","mkd","mdwn","mkdown","ron"].map(function(e){return"."+e});e.i(897802);e.i(465741),e.i(395552);let{stringify:u}=JSON;if(!String.prototype.repeat)throw Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");e.i(61634),e.i(417798),e.i(79694),e.i(816220),e.i(273638),e.i(899936),e.i(722365),e.i(411341),e.i(158206);
2e.i(470284),e.i(913067),e.i(764388),e.i(79719),e.i(601533),e.i(980615);var d=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],f=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],m="ªµºÃ-ÃÃ-öø-ËË-ËË -ˤˬˮͰ-ʹͶͷͺ-ͽͿÎÎ-ÎÎÎ-ΡΣ-ϵϷ-ÒÒ-Ô¯Ô±-ÕÕÕ -Ö×-תׯ-×²Ø -Ùٮٯٱ-ÛÛÛ¥Û¦Û®Û¯Ûº-Û¼Û¿ÜÜ-ܯÝ-Þ¥Þ±ß-ߪߴߵߺà -à à à ¤à ¨à¡-à¡à¡ -ࡪࡰ-à¢à¢-à¢à¢ -à£à¤-हऽà¥à¥-ॡॱ-à¦à¦
-à¦à¦à¦à¦-নপ-রলশ-হঽà§à§à§à§-ৡৰৱৼà¨
-à¨à¨à¨à¨-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹà©-à©à©à©²-à©´àª
-àªàª-àªàª-નપ-રલળવ-હઽà«à« ૡૹà¬
-à¬à¬à¬à¬-ନପ-ରଲଳଵ-ହଽààà-à¡à±à®à®
-à®à®-à®à®-à®à®à®à®à®à®à®£à®¤à®¨-பம-ஹà¯à°
-à°à°-à°à°-నప-హఽà±-à±à±à± ౡà²à²
-à²à²-à²à²-ನಪ-ಳವ-ಹಽà³à³à³ ೡೱೲà´-à´à´-à´à´-ഺഽàµàµ-àµàµ-ൡൺ-ൿà¶
-à¶à¶-නඳ-රලà·-à·à¸-ะาำà¹-à¹àºàºàºàº-àºàº-ຣລວ-ະາຳຽà»-à»à»à»-à»à¼à½-à½à½-ཬà¾-à¾á-áªá¿á-áá-áá¡á¥á¦á®-á°áµ-ááá -á
ááá-áºá¼-áá-áá-ááá-áá -áá-áá-á°á²-áµá¸-á¾áá-á
á-áá-áá-áá-áá-áá -áµá¸-á½á-á¬á¯-á¿á-áá -áªá®-á¸á-áá-á±á-áá -á¬á®-á°á-á³ááá -ᡸá¢-ᢨᢪᢰ-ᣵá¤-á¤á¥-á¥á¥°-ᥴá¦-ᦫᦰ-á§á¨-á¨á¨ -á©áª§á¬
-ᬳá
-áá®-ᮠᮮᮯᮺ-ᯥá°-á°£á±-á±á±-á±½á²-á²á²-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺá´-á¶¿á¸-á¼á¼-á¼á¼ -á½
á½-á½á½-á½á½á½á½á½-á½½á¾-á¾´á¾¶-ᾼιá¿-á¿á¿-á¿á¿-á¿á¿-á¿á¿ -Ῥῲ-á¿´á¿¶-ῼâ±â¿â-ââââ-âââ-ââ¤â¦â¨âª-â¹â¼-â¿â
-â
â
â
-ââ°-ⳤⳫ-ⳮⳲⳳâ´-ⴥⴧâ´â´°-ⵧⵯâ¶-â¶â¶ -ⶦⶨ-ⶮⶰ-ⶶⶸ-â¶¾â·-â·â·-â·â·-â·â·-â·ã
-ãã¡-ã©ã±-ãµã¸-ã¼ã-ãã-ãã¡-ãºã¼-ã¿ã
-ã¯ã±-ãã -ã¿ã°-ã¿ã-ä¶¿ä¸-êê-ê½ê-êê
2-êêªê«ê-ê®ê¿-êê -ê¯ê-êê¢-êê-êêêêê-êê²-ê ê -ê
ê -ê ê -ê ¢ê¡-ꡳê¢-ꢳꣲ-ꣷꣻꣽꣾê¤-ꤥꤰ-ê¥ê¥ -ꥼê¦-ꦲê§ê§ -ꧤꧦ-ꧯꧺ-ê§¾ê¨-ꨨê©-ê©ê©-ê©ê© -ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽê«ê«ê«-ê«ê« -ꫪꫲ-ê«´ê¬-ê¬ê¬-ê¬ê¬-ê¬ê¬ -ꬦꬨ-ꬮꬰ-êê-ê©ê°-ꯢê°-í£í°-íí-í»ï¤-ï©ï©°-ï«ï¬-ï¬ï¬-ï¬ï¬ï¬-ﬨשׁ-זּטּ-לּמּïïïïï-ï®±ï¯-ï´½ïµ-ï¶ï¶-ï·ï·°-ﷻﹰ-ï¹´ï¹¶-ﻼA-Zï½-ï½ï½¦-ï¾¾ï¿-ï¿ï¿-ï¿ï¿-ï¿ï¿-ï¿",g={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"},y="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",x={5:y,"5module":y+" export import",6:y+" const class extends export import super"},v=/^in(stanceof)?$/,b=RegExp("["+m+"]"),k=RegExp("["+m+"ââ·Ì-ͯÎÒ-ÒÖ-Ö½Ö¿××××
ר-ØÙ-٩ٰÛ-ÛÛ-Û¤Û§Û¨Ûª-ÛÛ°-Û¹Üܰ-ÝÞ¦-Þ°ß-ßß«-߽߳à -à à -à £à ¥-à §à ©-à à¡-à¡à¢-à¢à£-ࣣ࣡-à¤à¤º-़ा-à¥à¥-à¥à¥¢à¥£à¥¦-९à¦-à¦à¦¼à¦¾-à§à§à§à§-à§à§à§¢à§£à§¦-৯৾à¨-à¨à¨¼à¨¾-à©à©à©à©-à©à©à©¦-ੱੵàª-àªàª¼àª¾-à«
à«-à«à«-à«à«¢à«£à«¦-૯ૺ-à«¿à¬-à¬à¬¼à¬¾-àààà-àà-àà¢à£à¦-à¯à®à®¾-à¯à¯-à¯à¯-à¯à¯à¯¦-௯à°-à°à°¼à°¾-à±à±-à±à±-à±à±à±à±¢à±£à±¦-౯à²-à²à²¼à²¾-à³à³-à³à³-à³à³à³à³¢à³£à³¦-೯ೳà´-à´à´»à´¼à´¾-àµàµ-àµàµ-àµàµàµ¢àµ£àµ¦-൯à¶-à¶à·à·-à·à·à·-à·à·¦-෯ෲෳัิ-ฺà¹-à¹à¹-à¹àº±àº´-ຼà»-à»à»-à»à¼à¼à¼ -༩༹༵༷༾༿ཱ-à¾à¾à¾à¾-à¾à¾-ྼà¿á«-á¾á-áá-áá-á á¢-á¤á§-áá±-á´á-áá-áá-áá©-á±á-áá²-á´ááá²á³á´-ááá -á©á -á á -á ᢩᤠ-ᤫᤰ-᤻á¥-á¥á§-á§á¨-á¨á©-á©á© -᩿᩼-áªáª-áªáª°-᪽ᪿ-á«á¬-á¬á¬´-áá-áá«-á³á®-á®á®¡-á®á®°-᮹᯦-᯳ᰤ-á°·á±-á±á±-á±á³-á³á³-᳨á³á³´á³·-á³¹á·-á·¿âââ¿âââ-ââ¡â¥-â°â³¯-⵿⳱ⷠ-â·¿ãª-ã¯ããã»ê -ê©ê¯ê´-ê½êêê°ê±ê ê ê ê £-ê §ê ¬ê¢ê¢ê¢´-ê£
ê£-ê£ê£ -꣱ꣿ-ê¤ê¤¦-ê¤ê¥-ê¥ê¦-ê¦ê¦³-ê§ê§-ê§ê§¥ê§°-꧹ꨩ-ꨶê©ê©ê©ê©-ê©ê©»-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿ê«ê««-ꫯꫵ꫶ꯣ-ꯪ꯬ê¯ê¯°-꯹ï¬ï¸-ï¸ï¸ -︯︳︴ï¹-ï¹ï¼-ï¼ï¼¿ï½¥]");function w(e,t){for(var s=65536,i=0;i<t.length&&!((s+=t[i])>e);i+=2)if((s+=t[i+1])>=e)return!0;return!1}function S(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&b.test(String.fromCharCode(e)):!1!==t&&w(e,f)))}function _(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&k.test(String.fromCharCode(e)):!1!==t&&(w(e,f)||w(e,d)))))}var E=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.
vendor: 6,841 bytes, line 2
2isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function C(e,t){return new E(e,{beforeExpr:!0,binop:t})}var A={beforeExpr:!0},I={startsExpr:!0},N={};function T(e,t){return void 0===t&&(t={}),t.keyword=e,N[e]=new E(e,t)}var P={num:new E("num",I),regexp:new E("regexp",I),string:new E("string",I),name:new E("name",I),privateId:new E("privateId",I),eof:new E("eof"),bracketL:new E("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new E("]"),braceL:new E("{",{beforeExpr:!0,startsExpr:!0}),braceR:new E("}"),parenL:new E("(",{beforeExpr:!0,startsExpr:!0}),parenR:new E(")"),comma:new E(",",A),semi:new E(";",A),colon:new E(":",A),dot:new E("."),question:new E("?",A),questionDot:new E("?."),arrow:new E("=>",A),template:new E("template"),invalidTemplate:new E("invalidTemplate"),ellipsis:new E("...",A),backQuote:new E("`",I),dollarBraceL:new E("${",{beforeExpr:!0,startsExpr:!0}),eq:new E("=",{beforeExpr:!0,isAssign:!0}),assign:new E("_=",{beforeExpr:!0,isAssign:!0}),incDec:new E("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new E("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:C("||",1),logicalAND:C("&&",2),bitwiseOR:C("|",3),bitwiseXOR:C("^",4),bitwiseAND:C("&",5),equality:C("==/!=/===/!==",6),relational:C("</>/<=/>=",7),bitShift:C("<</>>/>>>",8),plusMin:new E("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:C("%",10),star:C("*",10),slash:C("/",10),starstar:new E("**",{beforeExpr:!0}),coalesce:C("??",1),_break:T("break"),_case:T("case",A),_catch:T("catch"),_continue:T("continue"),_debugger:T("debugger"),_default:T("default",A),_do:T("do",{isLoop:!0,beforeExpr:!0}),_else:T("else",A),_finally:T("finally"),_for:T("for",{isLoop:!0}),_function:T("function",I),_if:T("if"),_return:T("return",A),_switch:T("switch"),_throw:T("throw",A),_try:T("try"),_var:T("var"),_const:T("const"),_while:T("while",{isLoop:!0}),_with:T("with"),_new:T("new",{beforeExpr:!0,startsExpr:!0}),_this:T("this",I),_super:T("super",I),_class:T("class",I),_extends:T("extends",A),_export:T("export"),_import:T("import",I),_null:T("null",I),_true:T("true",I),_false:T("false",I),_in:T("in",{beforeExpr:!0,binop:7}),_instanceof:T("instanceof",{beforeExpr:!0,binop:7}),_typeof:T("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:T("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:T("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},L=/\r\n?|\n|\u2028|\u2029/,O=RegExp(L.source,"g");function V(e){return 10===e||13===e||8232===e||8233===e}function R(e,t,s){void 0===s&&(s=e.length);for(var i=t;i<s;i++){var r=e.charCodeAt(i);if(V(r))return i<s-1&&13===r&&10===e.charCodeAt(i+1)?i+2:i+1}return -1}var D=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,B=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,M=Object.prototype,j=M.hasOwnProperty,F=M.toString,U=Object.hasOwn||function(e,t){return j.call(e,t)},q=Array.isArray||function(e){return"[object Array]"===F.call(e)},$=Object.create(null);function K(e){return $[e]||($[e]=RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function W(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}var G=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,H=function(e,t){this.line=e,this.column=t};H.prototype.offset=function(e){return new H(this.line,this.column+e)};var z=function(e,t,s){this.start=t,this.end=s,null!==e.sourceFile&&(this.source=e.sourceFile)};function Q(e,t){for(var s=1,i=0;;){var r=R(e,i,t);if(r<0)return new H(s,t-i);++s,i=r}}var J={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},X=!1;function Y(e,t){return 2|4*!!e|8*!!t}var Z=function(e,t,s){this.options=e=function(e){var t,s,i={};for(var r in J)i[r]=e&&U(e,r)?e[r]:J[r];if("latest"===i.ecmaVersion?i.ecmaVersion=1e8:null==i.ecmaVersion?(!X&&"object"==typeof console&&console.warn&&(X=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),i.ecmaVersion=11):i.ecmaVersion>=2015&&(i.ecmaVersion-=2009),null==i.allowReserved&&(i.allowReserved=i.ecmaVersion<5),e&&null!=e.allowHashBang||(i.allowHashBang=i.ecmaVersion>=14),q(i.onToken)){var n=i.onToken;i.onToken=function(e){return n.push(e)}}return q(i.onComment)&&(t=i,s=i.onComment,i.onComment=function(e,i,r,n,a,o){var h={type:e?"Block":"Line",value:i,start:r,end:n};t.locations&&(h.loc=new z(this,a,o)),t.ranges&&(h.range=[r,n]),s.push(h)}),i}(e),this.sourceFile=e.sourceFile,this.keywords=K(x[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var i="";!0!==e.allowReserved&&(i=g[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(i+=" await")),this.reservedWords=K(i);var r=(i?i+" ":"")+g.strict;this.reservedWordsStrict=K(r),this.reservedWordsStrictBind=K(r+" "+g.strictBind),this.input=String(t),this.containsEsc=!1,s?(this.pos=s,this.lineStart=this.input.lastIndexOf("\n",s-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(L).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=P.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},ee={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Z.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},ee.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},ee.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},ee.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},ee.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e].flags;if(768&t)return!1;if(2&t)return(4&t)>0}return this.inModule&&this.options.ecmaVersion>
vendor: 4,360 bytes, line 2
2=13||this.options.allowAwaitOutsideFunction},ee.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0||this.options.allowSuperOutsideMethod},ee.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},ee.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},ee.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e].flags;if(768&t||2&t&&!(16&t))return!0}return!1},ee.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},Z.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var s=this,i=0;i<e.length;i++)s=e[i](s);return s},Z.parse=function(e,t){return new this(t,e).parse()},Z.parseExpressionAt=function(e,t,s){var i=new this(s,e,t);return i.nextToken(),i.parseExpression()},Z.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(Z.prototype,ee);var et=Z.prototype,es=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;et.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){B.lastIndex=e,e+=B.exec(this.input)[0].length;var t=es.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2])){B.lastIndex=e+t[0].length;var s=B.exec(this.input),i=s.index+s[0].length,r=this.input.charAt(i);return";"===r||"}"===r||L.test(s[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(r)||"!"===r&&"="===this.input.charAt(i+1))}B.lastIndex=e+=t[0].length,e+=B.exec(this.input)[0].length,";"===this.input[e]&&e++}},et.eat=function(e){return this.type===e&&(this.next(),!0)},et.isContextual=function(e){return this.type===P.name&&this.value===e&&!this.containsEsc},et.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},et.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},et.canInsertSemicolon=function(){return this.type===P.eof||this.type===P.braceR||L.test(this.input.slice(this.lastTokEnd,this.start))},et.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},et.semicolon=function(){this.eat(P.semi)||this.insertSemicolon()||this.unexpected()},et.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},et.expect=function(e){this.eat(e)||this.unexpected()},et.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")};var ei=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};et.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var s=t?e.parenthesizedAssign:e.parenthesizedBind;s>-1&&this.raiseRecoverable(s,t?"Assigning to rvalue":"Parenthesized pattern")}},et.checkExpressionErrors=function(e,t){if(!e)return!1;var s=e.shorthandAssign,i=e.doubleProto;if(!t)return s>=0||i>=0;s>=0&&this.raise(s,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")},et.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},et.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var er=Z.prototype;er.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==P.eof;){var s=this.parseStatement(null,!0,t);e.body.push(s)}if(this.inModule)for(var i=0,r=Object.keys(this.undefinedExports);i<r.length;i+=1){var n=r[i];this.raiseRecoverable(this.undefinedExports[n].start,"Export '"+n+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var en={kind:"loop"},ea={kind:"switch"};er.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;B.lastIndex=this.pos;var t=B.exec(this.input),s=this.pos+t[0].length,i=this.input.charCodeAt(s);if(91===i||92===i)return!0;
2if(e)return!1;if(123===i||i>55295&&i<56320)return!0;if(S(i,!0)){for(var r=s+1;_(i=this.input.charCodeAt(r),!0);)++r;if(92===i||i>55295&&i<56320)return!0;var n=this.input.slice(s,r);if(!v.test(n))return!0}return!1},er.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;B.lastIndex=this.pos;var e,t=B.exec(this.input),s=this.pos+t[0].length;return!L.test(this.input.slice(this.pos,s))&&"function"===this.input.slice(s,s+8)&&(s+8===this.input.length||!(_(e=this.input.charCodeAt(s+8))||e>55295&&e<56320))},er.isUsingKeyword=function(e,t){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using"))return!1;B.lastIndex=this.pos;var s=B.exec(this.input),i=this.pos+s[0].length;if(L.test(this.input.slice(this.pos,i)))return!1;if(e){var r,n=i+5;if("using"!==this.input.slice(i,n)||n===this.input.length||_(r=this.input.charCodeAt(n))||r>55295&&r<56320)return!1;B.lastIndex=n;var a=B.exec(this.input);if(a&&L.test(this.input.slice(n,n+a[0].length)))return!1}if(t){var o,h=i+2;if("of"===this.input.slice(i,h)&&(h===this.input.length||!_(o=this.input.charCodeAt(h))&&!(o>55295&&o<56320)))return!1}var l=this.input.charCodeAt(i);return S(l,!0)||92===l},er.isAwaitUsing=function(e){return this.isUsingKeyword(!0,e)},er.isUsing=function(e){return this.isUsingKeyword(!1,e)},er.parseStatement=function(e,t,s){var i,r=this.type,n=this.startNode();switch(this.isLet(e)&&(r=P._var,i="let"),r){case P._break:case P._continue:return this.parseBreakContinueStatement(n,r.keyword);case P._debugger:return this.parseDebuggerStatement(n);case P._do:return this.parseDoStatement(n);case P._for:return this.parseForStatement(n);case P._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(n,!1,!e);case P._class:return e&&this.unexpected(),this.parseClass(n,!0);case P._if:return this.parseIfStatement(n);
vendor: 4,267 bytes, line 2
2case P._return:return this.parseReturnStatement(n);case P._switch:return this.parseSwitchStatement(n);case P._throw:return this.parseThrowStatement(n);case P._try:return this.parseTryStatement(n);case P._const:case P._var:return i=i||this.value,e&&"var"!==i&&this.unexpected(),this.parseVarStatement(n,i);case P._while:return this.parseWhileStatement(n);case P._with:return this.parseWithStatement(n);case P.braceL:return this.parseBlock(!0,n);case P.semi:return this.parseEmptyStatement(n);case P._export:case P._import:if(this.options.ecmaVersion>10&&r===P._import){B.lastIndex=this.pos;var a=B.exec(this.input),o=this.pos+a[0].length,h=this.input.charCodeAt(o);if(40===h||46===h)return this.parseExpressionStatement(n,this.parseExpression())}return!this.options.allowImportExportEverywhere&&(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===P._import?this.parseImport(n):this.parseExport(n,s);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(n,!0,!e);var l=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(l)return t&&"script"===this.options.sourceType&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),"await using"===l&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(n,!1,l),this.semicolon(),this.finishNode(n,"VariableDeclaration");var c=this.value,p=this.parseExpression();if(r===P.name&&"Identifier"===p.type&&this.eat(P.colon))return this.parseLabeledStatement(n,c,p,e);return this.parseExpressionStatement(n,p)}},er.parseBreakContinueStatement=function(e,t){var s="break"===t;this.next(),this.eat(P.semi)||this.insertSemicolon()?e.label=null:this.type!==P.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var r=this.labels[i];if((null==e.label||r.name===e.label.name)&&(null!=r.kind&&(s||"loop"===r.kind)||e.label&&s))break}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,s?"BreakStatement":"ContinueStatement")},er.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},er.parseDoStatement=function(e){return this.next(),this.labels.push(en),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(P._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(P.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},er.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(en),this.enterScope(0),this.expect(P.parenL),this.type===P.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var s=this.isLet();if(this.type===P._var||this.type===P._const||s){var i=this.startNode(),r=s?"let":this.value;return this.next(),this.parseVar(i,!0,r),this.finishNode(i,"VariableDeclaration"),this.parseForAfterInit(e,i,t)}var n=this.isContextual("let"),a=!1,o=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(o){var h=this.startNode();return this.next(),"await using"===o&&this.next(),this.parseVar(h,!0,o),this.finishNode(h,"VariableDeclaration"),this.parseForAfterInit(e,h,t)}var l=this.containsEsc,c=new ei,p=this.start,u=t>-1?this.parseExprSubscripts(c,"await"):this.parseExpression(!0,c);return this.type===P._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===P._in&&this.unexpected(t),e.await=!0):a&&this.options.ecmaVersion>=8&&(u.start!==p||l||"Identifier"!==u.type||"async"!==u.name?this.options.ecmaVersion>=9&&(e.await=!1):this.unexpected()),n&&a&&this.raise(u.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(u,!1,c),this.checkLValPattern(u),this.parseForIn(e,u)):(this.checkExpressionErrors(c,!0),t>-1&&this.unexpected(t),this.parseFor(e,u))},er.parseForAfterInit=function(e,t,s){return(this.type===P._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===t.declarations.length?(this.options.ecmaVersion>
vendor: 4,355 bytes, line 2
2=9&&(this.type===P._in?s>-1&&this.unexpected(s):e.await=s>-1),this.parseForIn(e,t)):(s>-1&&this.unexpected(s),this.parseFor(e,t))},er.parseFunctionStatement=function(e,t,s){return this.next(),this.parseFunction(e,eh|(s?0:el),!1,t)},er.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(P._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},er.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(P.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},er.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(P.braceL),this.labels.push(ea),this.enterScope(0);for(var t,s=!1;this.type!==P.braceR;)if(this.type===P._case||this.type===P._default){var i=this.type===P._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(s&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),s=!0,t.test=null),this.expect(P.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},er.parseThrowStatement=function(e){return this.next(),L.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var eo=[];er.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t="Identifier"===e.type;return this.enterScope(32*!!t),this.checkLValPattern(e,t?4:2),this.expect(P.parenR),e},er.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===P._catch){var t=this.startNode();this.next(),this.eat(P.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(P._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},er.parseVarStatement=function(e,t,s){return this.next(),this.parseVar(e,!1,t,s),this.semicolon(),this.finishNode(e,"VariableDeclaration")},er.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(en),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},er.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},er.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},er.parseLabeledStatement=function(e,t,s,i){for(var r=0,n=this.labels;r<n.length;r+=1)n[r].name===t&&this.raise(s.start,"Label '"+t+"' is already declared");for(var a=this.type.isLoop?"loop":this.type===P._switch?"switch":null,o=this.labels.length-1;o>=0;o--){var h=this.labels[o];if(h.statementStart===e.start)h.statementStart=this.start,h.kind=a;else break}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(i?-1===i.indexOf("label")?i+"label":i:"label"),this.labels.pop(),e.label=s,this.finishNode(e,"LabeledStatement")},er.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},er.parseBlock=function(e,t,s){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(P.braceL),e&&this.enterScope(0);this.type!==P.braceR;){var i=this.parseStatement(null);t.body.push(i)}return s&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},er.parseFor=function(e,t){return e.init=t,this.expect(P.semi),e.test=this.type===P.semi?null:this.parseExpression(),this.expect(P.semi),e.update=this.type===P.parenR?null:this.parseExpression(),this.expect(P.parenR),e.body=this.parseStatement
vendor: 16,166 bytes, line 2
2("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},er.parseForIn=function(e,t){var s=this.type===P._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!s||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(t.start,(s?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=s?this.parseExpression():this.parseMaybeAssign(),this.expect(P.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,s?"ForInStatement":"ForOfStatement")},er.parseVar=function(e,t,s,i){for(e.declarations=[],e.kind=s;;){var r=this.startNode();if(this.parseVarId(r,s),this.eat(P.eq)?r.init=this.parseMaybeAssign(t):i||"const"!==s||this.type===P._in||this.options.ecmaVersion>=6&&this.isContextual("of")?i||"using"!==s&&"await using"!==s||!(this.options.ecmaVersion>=17)||this.type===P._in||this.isContextual("of")?i||"Identifier"===r.id.type||t&&(this.type===P._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.raise(this.lastTokEnd,"Missing initializer in "+s+" declaration"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(P.comma))break}return e},er.parseVarId=function(e,t){e.id="using"===t||"await using"===t?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?1:2,!1)};var eh=1,el=2;function ec(e,t){var s=e.computed,i=e.key;return!s&&("Identifier"===i.type&&i.name===t||"Literal"===i.type&&i.value===t)}er.parseFunction=function(e,t,s,i,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===P.star&&t&el&&this.unexpected(),e.generator=this.eat(P.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&eh&&(e.id=4&t&&this.type!==P.name?null:this.parseIdent(),e.id&&!(t&el)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var n=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Y(e.async,e.generator)),t&eh||(e.id=this.type===P.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,s,!1,r),this.yieldPos=n,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(e,t&eh?"FunctionDeclaration":"FunctionExpression")},er.parseFunctionParams=function(e){this.expect(P.parenL),e.params=this.parseBindingList(P.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},er.parseClass=function(e,t){this.next();var s=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.enterClassBody(),r=this.startNode(),n=!1;for(r.body=[],this.expect(P.braceL);this.type!==P.braceR;){var a=this.parseClassElement(null!==e.superClass);a&&(r.body.push(a),"MethodDefinition"===a.type&&"constructor"===a.kind?(n&&this.raiseRecoverable(a.start,"Duplicate constructor in the same class"),n=!0):a.key&&"PrivateIdentifier"===a.key.type&&function(e,t){var s=t.key.name,i=e[s],r="true";return("MethodDefinition"===t.type&&("get"===t.kind||"set"===t.kind)&&(r=(t.static?"s":"i")+t.kind),"iget"===i&&"iset"===r||"iset"===i&&"iget"===r||"sget"===i&&"sset"===r||"sset"===i&&"sget"===r)?(e[s]="true",!1):!!i||(e[s]=r,!1)}(i,a)&&this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared"))}return this.strict=s,this.next(),e.body=this.finishNode(r,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},er.parseClassElement=function(e){if(this.eat(P.semi))return null;var t=this.options.ecmaVersion,s=this.startNode(),i="",r=!1,n=!1,a="method",o=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(P.braceL))return this.parseClassStaticBlock(s),s;this.isClassElementNameStart()||this.type===P.star?o=!0:i="static"}if(s.static=o,!i&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===P.star)&&!this.canInsertSemicolon()?n=!0:i="async"),!i&&(t>=9||!n)&&this.eat(P.star)&&(r=!0),!i&&!n&&!r){var h=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?a=h:i=h)}if(i?(s.computed=!1,s.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),s.key.name=i,this.finishNode(s.key,"Identifier")):this.parseClassElementName(s),t<13||this.type===P.parenL||"method"!==a||r||n){var l=!s.static&&ec(s,"constructor");l&&"method"!==a&&this.raise(s.key.start,"Constructor can't have get/set modifier"),s.kind=l?"constructor":a,this.parseClassMethod(s,r,n,l&&e)}else this.parseClassField(s);return s},er.isClassElementNameStart=function(){return this.type===P.name||this.type===P.privateId||this.type===P.num||this.type===P.string||this.type===P.bracketL||this.type.keyword},er.parseClassElementName=function(e){this.type===P.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},er.parseClassMethod=function(e,t,s,i){var r=e.key;"constructor"===e.kind?(t&&this.raise(r.start,"Constructor can't be a generator"),s&&this.raise(r.start,"Constructor can't be an async method")):e.static&&ec(e,"prototype")&&this.raise(r.start,"Classes may not have a static property named prototype");var n=e.value=this.parseMethod(t,s,i);return"get"===e.kind&&0!==n.params.length&&this.raiseRecoverable(n.start,"getter should have no params"),"set"===e.kind&&1!==n.params.length&&this.raiseRecoverable(n.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===n.params[0].type&&this.raiseRecoverable(n.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},er.parseClassField=function(e){return ec(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&ec(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(P.eq)?(this.enterScope(576),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")},er.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(320);this.type!==P.braceR;){var s=this.parseStatement(null);e.body.push(s)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},er.parseClassId=function(e,t){this.type===P.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},er.parseClassSuper=function(e){e.superClass=this.eat(P._extends)?this.parseExprSubscripts(null,!1):null},er.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},er.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,s=e.used;if(this.options.checkPrivateFields)for(var i=this.privateNameStack.length,r=0===i?null:this.privateNameStack[i-1],n=0;n<s.length;++n){var a=s[n];U(t,a.name)||(r?r.used.push(a):this.raiseRecoverable(a.start,"Private field '#"+a.name+"' must be declared in an enclosing class"))}},er.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==P.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},er.parseExport=function(e,t){if(this.next(),this.eat(P.star))return this.parseExportAllDeclaration(e,t);if(this.eat(P._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==P.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var s=0,i=e.specifiers;s<i.length;s+=1){var r=i[s];this.checkUnreserved(r.local),this.checkLocalExport(r.local),"Literal"===r.local.type&&this.raise(r.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},er.parseExportDeclaration=function(e){return this.parseStatement(null)},er.parseExportDefaultDeclaration=function(){if(this.type===P._function||(e=this.isAsyncFunction())){var e,t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,4|eh,!1,e)}if(this.type===P._class){var s=this.startNode();return this.parseClass(s,"nullableID")}var i=this.parseMaybeAssign();return this.semicolon(),i},er.checkExport=function(e,t,s){e&&("string"!=typeof t&&(t="Identifier"===t.type?t.name:t.value),U(e,t)&&this.raiseRecoverable(s,"Duplicate export '"+t+"'"),e[t]=!0)},er.checkPatternExport=function(e,t){var s=t.type;if("Identifier"===s)this.checkExport(e,t,t.start);else if("ObjectPattern"===s)for(var i=0,r=t.properties;i<r.length;i+=1){var n=r[i];this.checkPatternExport(e,n)}else if("ArrayPattern"===s)for(var a=0,o=t.elements;a<o.length;a+=1){var h=o[a];h&&this.checkPatternExport(e,h)}else"Property"===s?this.checkPatternExport(e,t.value):"AssignmentPattern"===s?this.checkPatternExport(e,t.left):"RestElement"===s&&this.checkPatternExport(e,t.argument)},er.checkVariableExport=function(e,t){if(e)for(var s=0;s<t.length;s+=1){var i=t[s];this.checkPatternExport(e,i.id)}},er.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},er.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},er.parseExportSpecifiers=function(e){var t=[],s=!0;for(this.expect(P.braceL);!this.eat(P.braceR);){if(s)s=!1;else if(this.expect(P.comma),this.afterTrailingComma(P.braceR))break;t.push(this.parseExportSpecifier(e))}return t},er.parseImport=function(e){return this.next(),this.type===P.string?(e.specifiers=eo,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===P.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},er.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportSpecifier")},er.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportDefaultSpecifier")},er.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportNamespaceSpecifier")},er.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===P.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(P.comma)))return e;if(this.type===P.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(P.braceL);!this.eat(P.braceR);){if(t)t=!1;else if(this.expect(P.comma),this.afterTrailingComma(P.braceR))break;e.push(this.parseImportSpecifier())}return e},er.parseWithClause=function(){var e=[];if(!this.eat(P._with))return e;this.expect(P.braceL);for(var t={},s=!0;!this.eat(P.braceR);){if(s)s=!1;else if(this.expect(P.comma),this.afterTrailingComma(P.braceR))break;var i=this.parseImportAttribute(),r="Identifier"===i.key.type?i.key.name:i.key.value;U(t,r)&&this.raiseRecoverable(i.key.start,"Duplicate attribute key '"+r+"'"),t[r]=!0,e.push(i)}return e},er.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===P.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved),this.expect(P.colon),this.type!==P.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")},er.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===P.string){var e=this.parseLiteral(this.value);return G.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},er.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},er.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};var ep=Z.prototype;ep.toAssignable=function(e,t,s){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&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",s&&this.checkPatternErrors(s,!0);for(var i=0,r=e.properties;i<r.length;i+=1){var n=r[i];this.toAssignable(n,t),"RestElement"===n.type&&("ArrayPattern"===n.argument.type||"ObjectPattern"===n.argument.type)&&this.raise(n.argument.start,"Unexpected token")}break;case"Property":"init"!==e.kind&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",s&&this.checkPatternErrors(s,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),"AssignmentPattern"===e.argument.type&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,s);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else s&&this.checkPatternErrors(s,!0);return e},ep.toAssignableList=function(e,t){for(var s=e.length,i=0;i<s;i++){var r=e[i];r&&this.toAssignable(r,t)}if(s){var n=e[s-1];6===this.options.ecmaVersion&&t&&n&&"RestElement"===n.type&&"Identifier"!==n.argument.type&&this.unexpected(n.argument.start)}return e},ep.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},ep.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==P.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},ep.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case P.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(P.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case P.braceL:return this.parseObj(!0)}return this.parseIdent()},ep.parseBindingList=function(e,t,s,i){for(var r=[],n=!0;!this.eat(e);)if(n?n=!1:this.expect(P.comma),t&&this.type===P.comma)r.push(null);else if(s&&this.afterTrailingComma(e))break;
2else if(this.type===P.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),r.push(a),this.type===P.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else r.push(this.parseAssignableListItem(i));return r},ep.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},ep.parseBindingListItem=function(e){return e},ep.parseMaybeDefault=function(e,t,s){if(s=s||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(P.eq))return s;var i=this.startNodeAt(e,t);return i.left=s,i.right=this.parseMaybeAssign(),this.finishNode(i,"AssignmentPattern")},ep.checkLValSimple=function(e,t,s){void 0===t&&(t=0);var i=0!==t;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(i?"Binding ":"Assigning to ")+e.name+" in strict mode"),i&&(2===t&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),s&&(U(s,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),s[e.name]=!0),5!==t&&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":i&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return i&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,s);default:this.raise(e.start,(i?"Binding":"Assigning to")+" rvalue")}},ep.checkLValPattern=function(e,t,s){switch(void 0===t&&(t=0),e.type){case"ObjectPattern":for(var i=0,r=e.properties;i<r.length;i+=1){var n=r[i];this.checkLValInnerPattern(n,t,s)}break;case"ArrayPattern":for(var a=0,o=e.elements;a<o.length;a+=1){var h=o[a];h&&this.checkLValInnerPattern(h,t,s)}break;default:this.checkLValSimple(e,t,s)}},ep.checkLValInnerPattern=function(e,t,s){switch(void 0===t&&(t=0),e.type){case"Property":this.checkLValInnerPattern(e.value,t,s);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,s);break;case"RestElement":this.checkLValPattern(e.argument,t,s);break;default:this.checkLValPattern(e,t,s)}};var eu=function(e,t,s,i,r){this.token=e,this.isExpr=!!t,this.preserveSpace=!!s,this.override=i,this.generator=!!r},ed={b_stat:new eu("{",!1),b_expr:new eu("{",!0),b_tmpl:new eu("${",!1),p_stat:new eu("(",!1),p_expr:new eu("(",!0),q_tmpl:new eu("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new eu("function",!1),f_expr:new eu("function",!0),f_expr_gen:new eu("function",!0,!1,null,!0),f_gen:new eu("function",!1,!1,null,!0)},ef=Z.prototype;ef.initialContext=function(){return[ed.b_stat]},ef.curContext=function(){return this.context[this.context.length-1]},ef.braceIsBlock=function(e){var t=this.curContext();return t===ed.f_expr||t===ed.f_stat||(e===P.colon&&(t===ed.b_stat||t===ed.b_expr)?!t.isExpr:e===P._return||e===P.name&&this.exprAllowed?L.test(this.input.slice(this.lastTokEnd,this.start)):e===P._else||e===P.semi||e===P.eof||e===P.parenR||e===P.arrow||(e===P.braceL?t===ed.b_stat:e!==P._var&&e!==P._const&&e!==P.name&&!this.exprAllowed))},ef.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},ef.updateContext=function(e){var t,s=this.type;s.keyword&&e===P.dot?this.exprAllowed=!1:(t=s.updateContext)?t.call(this,e):this.exprAllowed=s.beforeExpr},ef.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},P.parenR.updateContext=P.braceR.updateContext=function(){if(1===this.context.length){this.exprAllowed=!0;return}var e=this.context.pop();e===ed.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},P.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ed.b_stat:ed.b_expr),this.exprAllowed=!0},P.dollarBraceL.updateContext=function(){this.context.push(ed.b_tmpl),this.exprAllowed=!0},P.parenL.updateContext=function(e){var t=e===P._if||e===P._for||e===P._with||e===P._while;this.context.push(t?ed.p_stat:ed.p_expr),this.exprAllowed=!0},P.incDec.updateContext=function(){},P._function.updateContext=P._class.updateContext=function(e){e.beforeExpr&&e!==P._else&&(e!==P.semi||this.curContext()===ed.p_stat)&&!(e===P._return&&L.test(this.input.slice(this.lastTokEnd,this.start)))&&(e!==P.colon&&e!==P.braceL||this.curContext()!==ed.b_stat)?this.context.push(ed.f_expr):this.context.push(ed.f_stat),this.exprAllowed=!1},P.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},P.backQuote.updateContext=function(){this.curContext()===ed.q_tmpl?this.context.pop():this.context.push(ed.q_tmpl),this.exprAllowed=!1},P.star.updateContext=function(e){if(e===P._function){var t=this.context.length-1;this.context[t]===ed.f_expr?this.context[t]=ed.f_expr_gen:this.context[t]=ed.f_gen}this.exprAllowed=!0},P.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==P.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var em=Z.prototype;em.checkPropClash=function(e,t,s){if((!(this.options.ecmaVersion>=9)||"SpreadElement"!==e.type)&&(!(this.options.ecmaVersion>=6)||!e.computed&&!e.method&&!e.shorthand)){var i,r=e.key;switch(r.type){case"Identifier":i=r.name;break;case"Literal":i=String(r.value);break;default:return}var n=e.kind;if(this.options.ecmaVersion>=6){"__proto__"===i&&"init"===n&&(t.proto&&(s?s.doubleProto<0&&(s.doubleProto=r.start):this.raiseRecoverable(r.start,"Redefinition of __proto__ property")),t.proto=!0);return}var a=t[i="$"+i];a?("init"===n?this.strict&&a.init||a.get||a.set:a.init||a[n])&&this.raiseRecoverable(r.start,"Redefinition of property"):a=t[i]={init:!1,get:!1,set:!1},a[n]=!0}},em.parseExpression=function(e,t){var s=this.start,i=this.startLoc,r=this.parseMaybeAssign(e,t);
2if(this.type===P.comma){var n=this.startNodeAt(s,i);for(n.expressions=[r];this.eat(P.comma);)n.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(n,"SequenceExpression")}return r},em.parseMaybeAssign=function(e,t,s){if(this.isContextual("yield"))if(this.inGenerator)return this.parseYield(e);else this.exprAllowed=!1;var i=!1,r=-1,n=-1,a=-1;t?(r=t.parenthesizedAssign,n=t.trailingComma,a=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new ei,i=!0);var o=this.start,h=this.startLoc;(this.type===P.parenL||this.type===P.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e);var l=this.parseMaybeConditional(e,t);if(s&&(l=s.call(this,l,o,h)),this.type.isAssign){var c=this.startNodeAt(o,h);return c.operator=this.value,this.type===P.eq&&(l=this.toAssignable(l,!1,t)),i||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=l.start&&(t.shorthandAssign=-1),this.type===P.eq?this.checkLValPattern(l):this.checkLValSimple(l),c.left=l,this.next(),c.right=this.parseMaybeAssign(e),a>-1&&(t.doubleProto=a),this.finishNode(c,"AssignmentExpression")}return i&&this.checkExpressionErrors(t,!0),r>-1&&(t.parenthesizedAssign=r),n>-1&&(t.trailingComma=n),l},em.parseMaybeConditional=function(e,t){var s=this.start,i=this.startLoc,r=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return r;if(this.eat(P.question)){var n=this.startNodeAt(s,i);return n.test=r,n.consequent=this.parseMaybeAssign(),this.expect(P.colon),n.alternate=this.parseMaybeAssign(e),this.finishNode(n,"ConditionalExpression")}return r},em.parseExprOps=function(e,t){var s=this.start,i=this.startLoc,r=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||r.start===s&&"ArrowFunctionExpression"===r.type?r:this.parseExprOp(r,s,i,-1,e)},em.parseExprOp=function(e,t,s,i,r){var n=this.type.binop;if(null!=n&&(!r||this.type!==P._in)&&n>i){var a=this.type===P.logicalOR||this.type===P.logicalAND,o=this.type===P.coalesce;o&&(n=P.logicalAND.binop);var h=this.value;this.next();var l=this.start,c=this.startLoc,p=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,r),l,c,n,r),u=this.buildBinary(t,s,e,p,h,a||o);return(a&&this.type===P.coalesce||o&&(this.type===P.logicalOR||this.type===P.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(u,t,s,i,r)}return e},em.buildBinary=function(e,t,s,i,r,n){"PrivateIdentifier"===i.type&&this.raise(i.start,"Private identifier can only be left side of binary expression");var a=this.startNodeAt(e,t);return a.left=s,a.operator=r,a.right=i,this.finishNode(a,n?"LogicalExpression":"BinaryExpression")},em.parseMaybeUnary=function(e,t,s,i){var r,n=this.start,a=this.startLoc;if(this.isContextual("await")&&this.canAwait)r=this.parseAwait(i),t=!0;else if(this.type.prefix){var o=this.startNode(),h=this.type===P.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,h,i),this.checkExpressionErrors(e,!0),h?this.checkLValSimple(o.argument):this.strict&&"delete"===o.operator&&function e(t){return"Identifier"===t.type||"ParenthesizedExpression"===t.type&&e(t.expression)}(o.argument)?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):"delete"===o.operator&&function e(t){return"MemberExpression"===t.type&&"PrivateIdentifier"===t.property.type||"ChainExpression"===t.type&&e(t.expression)||"ParenthesizedExpression"===t.type&&e(t.expression)}(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):t=!0,r=this.finishNode(o,h?"UpdateExpression":"UnaryExpression")}else if(t||this.type!==P.privateId){if(r=this.parseExprSubscripts(e,i),this.checkExpressionErrors(e))return r;for(;this.type.postfix&&!this.canInsertSemicolon();){var l=this.startNodeAt(n,a);l.operator=this.value,l.prefix=!1,l.argument=r,this.checkLValSimple(r),this.next(),r=this.finishNode(l,"UpdateExpression")}}else(i||0===this.privateNameStack.length)&&this.options.checkPrivateFields&&this.unexpected(),r=this.parsePrivateIdent(),this.type!==P._in&&this.unexpected();return!s&&this.eat(P.starstar)?t?void this.unexpected(this.lastTokStart):this.buildBinary(n,a,r,this.parseMaybeUnary(null,!1,!1,i),"**",!1):r},em.parseExprSubscripts=function(e,t){var s=this.start,i=this.startLoc,r=this.parseExprAtom(e,t);if("ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return r;var n=this.parseSubscripts(r,s,i,!1,t);
vendor: 17,852 bytes, line 2
2return e&&"MemberExpression"===n.type&&(e.parenthesizedAssign>=n.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=n.start&&(e.parenthesizedBind=-1),e.trailingComma>=n.start&&(e.trailingComma=-1)),n},em.parseSubscripts=function(e,t,s,i,r){for(var n=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,a=!1;;){var o=this.parseSubscript(e,t,s,i,n,a,r);if(o.optional&&(a=!0),o===e||"ArrowFunctionExpression"===o.type){if(a){var h=this.startNodeAt(t,s);h.expression=o,o=this.finishNode(h,"ChainExpression")}return o}e=o}},em.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(P.arrow)},em.parseSubscriptAsyncArrow=function(e,t,s,i){return this.parseArrowExpression(this.startNodeAt(e,t),s,!0,i)},em.parseSubscript=function(e,t,s,i,r,n,a){var o=this.options.ecmaVersion>=11,h=o&&this.eat(P.questionDot);i&&h&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var l=this.eat(P.bracketL);if(l||h&&this.type!==P.parenL&&this.type!==P.backQuote||this.eat(P.dot)){var c=this.startNodeAt(t,s);c.object=e,l?(c.property=this.parseExpression(),this.expect(P.bracketR)):this.type===P.privateId&&"Super"!==e.type?c.property=this.parsePrivateIdent():c.property=this.parseIdent("never"!==this.options.allowReserved),c.computed=!!l,o&&(c.optional=h),e=this.finishNode(c,"MemberExpression")}else if(!i&&this.eat(P.parenL)){var p=new ei,u=this.yieldPos,d=this.awaitPos,f=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var m=this.parseExprList(P.parenR,this.options.ecmaVersion>=8,!1,p);if(r&&!h&&this.shouldParseAsyncArrow())return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=u,this.awaitPos=d,this.awaitIdentPos=f,this.parseSubscriptAsyncArrow(t,s,m,a);this.checkExpressionErrors(p,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=d||this.awaitPos,this.awaitIdentPos=f||this.awaitIdentPos;var g=this.startNodeAt(t,s);g.callee=e,g.arguments=m,o&&(g.optional=h),e=this.finishNode(g,"CallExpression")}else if(this.type===P.backQuote){(h||n)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var y=this.startNodeAt(t,s);y.tag=e,y.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(y,"TaggedTemplateExpression")}return e},em.parseExprAtom=function(e,t,s){this.type===P.slash&&this.readRegexp();var i,r=this.potentialArrowAt===this.start;switch(this.type){case P._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),i=this.startNode(),this.next(),this.type!==P.parenL||this.allowDirectSuper||this.raise(i.start,"super() call outside constructor of a subclass"),this.type!==P.dot&&this.type!==P.bracketL&&this.type!==P.parenL&&this.unexpected(),this.finishNode(i,"Super");case P._this:return i=this.startNode(),this.next(),this.finishNode(i,"ThisExpression");case P.name:var n=this.start,a=this.startLoc,o=this.containsEsc,h=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&"async"===h.name&&!this.canInsertSemicolon()&&this.eat(P._function))return this.overrideContext(ed.f_expr),this.parseFunction(this.startNodeAt(n,a),0,!1,!0,t);if(r&&!this.canInsertSemicolon()){if(this.eat(P.arrow))return this.parseArrowExpression(this.startNodeAt(n,a),[h],!1,t);if(this.options.ecmaVersion>=8&&"async"===h.name&&this.type===P.name&&!o&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return h=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(P.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,a),[h],!0,t)}return h;case P.regexp:var l=this.value;return(i=this.parseLiteral(l.value)).regex={pattern:l.pattern,flags:l.flags},i;case P.num:case P.string:return this.parseLiteral(this.value);case P._null:case P._true:case P._false:return(i=this.startNode()).value=this.type===P._null?null:this.type===P._true,i.raw=this.type.keyword,this.next(),this.finishNode(i,"Literal");case P.parenL:var c=this.start,p=this.parseParenAndDistinguishExpression(r,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)&&(e.parenthesizedAssign=c),e.parenthesizedBind<0&&(e.parenthesizedBind=c)),p;case P.bracketL:return i=this.startNode(),this.next(),i.elements=this.parseExprList(P.bracketR,!0,!0,e),this.finishNode(i,"ArrayExpression");case P.braceL:return this.overrideContext(ed.b_expr),this.parseObj(!1,e);case P._function:return i=this.startNode(),this.next(),this.parseFunction(i,0);case P._class:return this.parseClass(this.startNode(),!1);case P._new:return this.parseNew();case P.backQuote:return this.parseTemplate();case P._import:if(this.options.ecmaVersion>=11)return this.parseExprImport(s);return this.unexpected();default:return this.parseExprAtomDefault()}},em.parseExprAtomDefault=function(){this.unexpected()},em.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===P.parenL&&!e)return this.parseDynamicImport(t);if(this.type===P.dot){var s=this.startNodeAt(t.start,t.loc&&t.loc.start);return s.name="import",t.meta=this.finishNode(s,"Identifier"),this.parseImportMeta(t)}this.unexpected()},em.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(P.parenR)?e.options=null:(this.expect(P.comma),this.afterTrailingComma(P.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),!this.eat(P.parenR)&&(this.expect(P.comma),this.afterTrailingComma(P.parenR)||this.unexpected())));else if(!this.eat(P.parenR)){var t=this.start;this.eat(P.comma)&&this.eat(P.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},em.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},em.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=null!=t.value?t.value.toString():t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},em.parseParenExpression=function(){this.expect(P.parenL);var e=this.parseExpression();return this.expect(P.parenR),e},em.shouldParseArrow=function(e){return!this.canInsertSemicolon()},em.parseParenAndDistinguishExpression=function(e,t){var s,i=this.start,r=this.startLoc,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,h=this.startLoc,l=[],c=!0,p=!1,u=new ei,d=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==P.parenR;){if(c?c=!1:this.expect(P.comma),n&&this.afterTrailingComma(P.parenR,!0)){p=!0;break}if(this.type===P.ellipsis){a=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===P.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}l.push(this.parseMaybeAssign(!1,u,this.parseParenItem))}var m=this.lastTokEnd,g=this.lastTokEndLoc;if(this.expect(P.parenR),e&&this.shouldParseArrow(l)&&this.eat(P.arrow))return this.checkPatternErrors(u,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=d,this.awaitPos=f,this.parseParenArrowList(i,r,l,t);(!l.length||p)&&this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(u,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=f||this.awaitPos,l.length>1?((s=this.startNodeAt(o,h)).expressions=l,this.finishNodeAt(s,"SequenceExpression",m,g)):s=l[0]}else s=this.parseParenExpression();if(!this.options.preserveParens)return s;var y=this.startNodeAt(i,r);return y.expression=s,this.finishNode(y,"ParenthesizedExpression")},em.parseParenItem=function(e){return e},em.parseParenArrowList=function(e,t,s,i){return this.parseArrowExpression(this.startNodeAt(e,t),s,!1,i)};var eg=[];em.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===P.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var s=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),s&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var i=this.start,r=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),i,r,!0,!1),this.eat(P.parenL)?e.arguments=this.parseExprList(P.parenR,this.options.ecmaVersion>=8,!1):e.arguments=eg,this.finishNode(e,"NewExpression")},em.parseTemplateElement=function(e){var t=e.isTagged,s=this.startNode();return this.type===P.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),s.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):s.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),s.tail=this.type===P.backQuote,this.finishNode(s,"TemplateElement")},em.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var s=this.startNode();this.next(),s.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(s.quasis=[i];!i.tail;)this.type===P.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(P.dollarBraceL),s.expressions.push(this.parseExpression()),this.expect(P.braceR),s.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(s,"TemplateLiteral")},em.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===P.name||this.type===P.num||this.type===P.string||this.type===P.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===P.star)&&!L.test(this.input.slice(this.lastTokEnd,this.start))},em.parseObj=function(e,t){var s=this.startNode(),i=!0,r={};for(s.properties=[],this.next();!this.eat(P.braceR);){if(i)i=!1;else if(this.expect(P.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(P.braceR))break;var n=this.parseProperty(e,t);e||this.checkPropClash(n,r,t),s.properties.push(n)}return this.finishNode(s,e?"ObjectPattern":"ObjectExpression")},em.parseProperty=function(e,t){var s,i,r,n,a=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(P.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===P.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(a.argument=this.parseMaybeAssign(!1,t),this.type===P.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(a,"SpreadElement"));this.options.ecmaVersion>=6&&(a.method=!1,a.shorthand=!1,(e||t)&&(r=this.start,n=this.startLoc),e||(s=this.eat(P.star)));var o=this.containsEsc;return this.parsePropertyName(a),!e&&!o&&this.options.ecmaVersion>=8&&!s&&this.isAsyncProp(a)?(i=!0,s=this.options.ecmaVersion>=9&&this.eat(P.star),this.parsePropertyName(a)):i=!1,this.parsePropertyValue(a,e,s,i,r,n,t,o),this.finishNode(a,"Property")},em.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var s=+("get"!==e.kind);if(e.value.params.length!==s){var i=e.value.start;"get"===e.kind?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},em.parsePropertyValue=function(e,t,s,i,r,n,a,o){(s||i)&&this.type===P.colon&&this.unexpected(),this.eat(P.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init"):this.options.ecmaVersion>=6&&this.type===P.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(s,i),e.kind="init"):t||o||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===P.comma||this.type===P.braceR||this.type===P.eq?this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((s||i)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=r),t?e.value=this.parseMaybeDefault(r,n,this.copyNode(e.key)):this.type===P.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(r,n,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected():((s||i)&&this.unexpected(),this.parseGetterSetter(e))},em.parsePropertyName=function(e){if(this.options.ecmaVersion>=6)if(this.eat(P.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(P.bracketR),e.key;else e.computed=!1;return e.key=this.type===P.num||this.type===P.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},em.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},em.parseMethod=function(e,t,s){var i=this.startNode(),r=this.yieldPos,n=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|Y(t,i.generator)|128*!!s),this.expect(P.parenL),i.params=this.parseBindingList(P.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0,!1),this.yieldPos=r,this.awaitPos=n,this.awaitIdentPos=a,this.finishNode(i,"FunctionExpression")},em.parseArrowExpression=function(e,t,s,i){var r=this.yieldPos,n=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(16|Y(s,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!s),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,i),this.yieldPos=r,this.awaitPos=n,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")},em.parseFunctionBody=function(e,t,s,i){var r=t&&this.type!==P.braceL,n=this.strict,a=!1;if(r)e.body=this.parseMaybeAssign(i),e.expression=!0,this.checkParams(e,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!n||o)&&(a=this.strictDirective(this.end))&&o&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var h=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!n&&!a&&!t&&!s&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,5),e.body=this.parseBlock(!1,void 0,a&&!n),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=h}this.exitScope()},em.isSimpleParamList=function(e){for(var t=0;t<e.length;t+=1)if("Identifier"!==e[t].type)return!1;return!0},em.checkParams=function(e,t){for(var s=Object.create(null),i=0,r=e.params;i<r.length;i+=1){var n=r[i];this.checkLValInnerPattern(n,1,t?null:s)}},em.parseExprList=function(e,t,s,i){for(var r=[],n=!0;!this.eat(e);){if(n)n=!1;else if(this.expect(P.comma),t&&this.afterTrailingComma(e))break;var a=void 0;s&&this.type===P.comma?a=null:this.type===P.ellipsis?(a=this.parseSpread(i),i&&this.type===P.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):a=this.parseMaybeAssign(!1,i),r.push(a)}return r},em.checkUnreserved=function(e){var t=e.start,s=e.end,i=e.name;this.inGenerator&&"yield"===i&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===i&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),259&this.currentThisScope().flags||"arguments"!==i||this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&("arguments"===i||"await"===i)&&this.raise(t,"Cannot use "+i+" in class static initialization block"),this.keywords.test(i)&&this.raise(t,"Unexpected keyword '"+i+"'"),(!(this.options.ecmaVersion<6)||-1===this.input.slice(t,s).indexOf("\\"))&&(this.strict?this.reservedWordsStrict:this.reservedWords).test(i)&&(this.inAsync||"await"!==i||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+i+"' is reserved"))},em.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),!e&&(this.checkUnreserved(t),"await"!==t.name||this.awaitIdentPos||(this.awaitIdentPos=t.start)),t},em.parseIdentNode=function(){var e=this.startNode();return this.type===P.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,("class"===e.name||"function"===e.name)&&(this.lastTokEnd!==this.lastTokStart+1||46!==this.input.charCodeAt(this.lastTokStart))&&this.context.pop(),this.type=P.name):this.unexpected(),e},em.parsePrivateIdent=function(){var e=this.startNode();return this.type===P.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(0===this.privateNameStack.length?this.raise(e.start,"Private field '#"+e.n
vendor: 6,847 bytes, line 2
2ame+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},em.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===P.semi||this.canInsertSemicolon()||this.type!==P.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(P.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},em.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var ey=Z.prototype;ey.raise=function(e,t){var s=Q(this.input,e);t+=" ("+s.line+":"+s.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var i=SyntaxError(t);throw i.pos=e,i.loc=s,i.raisedAt=this.pos,i},ey.raiseRecoverable=ey.raise,ey.curPosition=function(){if(this.options.locations)return new H(this.curLine,this.pos-this.lineStart)};var ex=Z.prototype,ev=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[]};ex.enterScope=function(e){this.scopeStack.push(new ev(e))},ex.exitScope=function(){this.scopeStack.pop()},ex.treatFunctionsAsVarInScope=function(e){return 2&e.flags||!this.inModule&&1&e.flags},ex.declareName=function(e,t,s){var i=!1;if(2===t){var r=this.currentScope();i=r.lexical.indexOf(e)>-1||r.functions.indexOf(e)>-1||r.var.indexOf(e)>-1,r.lexical.push(e),this.inModule&&1&r.flags&&delete this.undefinedExports[e]}else if(4===t)this.currentScope().lexical.push(e);else if(3===t){var n=this.currentScope();i=this.treatFunctionsAsVar?n.lexical.indexOf(e)>-1:n.lexical.indexOf(e)>-1||n.var.indexOf(e)>-1,n.functions.push(e)}else for(var a=this.scopeStack.length-1;a>=0;--a){var o=this.scopeStack[a];if(o.lexical.indexOf(e)>-1&&!(32&o.flags&&o.lexical[0]===e)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(e)>-1){i=!0;break}if(o.var.push(e),this.inModule&&1&o.flags&&delete this.undefinedExports[e],259&o.flags)break}i&&this.raiseRecoverable(s,"Identifier '"+e+"' has already been declared")},ex.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},ex.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ex.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(771&t.flags)return t}},ex.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(771&t.flags&&!(16&t.flags))return t}};var eb=function(e,t,s){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new z(e,s)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},ek=Z.prototype;function ew(e,t,s,i){return e.type=t,e.end=s,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=s),e}ek.startNode=function(){return new eb(this,this.start,this.startLoc)},ek.startNodeAt=function(e,t){return new eb(this,e,t)},ek.finishNode=function(e,t){return ew.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},ek.finishNodeAt=function(e,t,s,i){return ew.call(this,e,t,s,i)},ek.copyNode=function(e){var t=new eb(this,e.start,this.startLoc);for(var s in e)t[s]=e[s];return t};for(var eS="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",e_=eS+" Extended_Pictographic",eE=e_+" EBase EComp EMod EPres ExtPict",eC={9:eS,10:e_,11:e_,12:eE,13:eE,14:eE},eA={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},eI="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",eN="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 Re
2jang 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",eT=eN+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",eP=eT+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",eL=eP+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",eO=eL+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",eV={9:eN,10:eT,11:eP,12:eL,13:eO,14:eO+" Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz"},eR={},eD=0,eB=[9,10,11,12,13,14];eD<eB.length;eD+=1)!function(e){var t=eR[e]={binary:K(eC[e]+" "+eI),binaryOfStrings:K(eA[e]),nonBinary:{General_Category:K(eI),Script:K(eV[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}(eB[eD]);var eM=Z.prototype,ej=function(e,t){this.parent=e,this.base=t||this};ej.prototype.separatedFrom=function(e){for(var t=this;t;t=t.parent)for(var s=e;s;s=s.parent)if(t.base===s.base&&t!==s)return!0;return!1},ej.prototype.sibling=function(){return new ej(this.parent,this.base)};var eF=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"")+(e.options.ecmaVersion>=15?"v":""),this.unicodeProperties=eR[e.options.ecmaVersion>=14?14:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};function eU(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function eq(e){return e>=65&&e<=90||e>=97&&e<=122}function e$(e){return eq(e)||95===e}function eK(e){return e>=48&&e<=57}function eW(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function eG(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function eH(e){return e>=48&&e<=55}eF.prototype.reset=function(e,t,s){var i=-1!==s.indexOf("v"),r=-1!==s.indexOf("u");this.start=0|e,this.source=t+"",this.flags=s,i&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=r&&this.parser.options.ecmaVersion>=9)},eF.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},eF.prototype.at=function(e,t){void 0===t&&(t=!1);var s=this.source,i=s.length;if(e>=i)return -1;var r=s.charCodeAt(e);if(!(t||this.switchU)||r<=55295||r>=57344||e+1>=i)return r;var n=s.charCodeAt(e+1);return n>=56320&&n<=57343?(r<<10)+n-0x35fdc00:r},eF.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var s=this.source,i=s.length;if(e>=i)return i;var r,n=s.charCodeAt(e);return!(t||this.switchU)||n<=55295||n>=57344||e+1>=i||(r=s.charCodeAt(e+1))<56320||r>57343?e+1:e+2},eF.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},eF.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},eF.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},eF.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},eF.prototype.eatChars=function(e,t){void 0===t&&(t=!1);for(var s=this.pos,i=0;i<e.length;i+=1){var r=e[i],n=this.at(s,t);if(-1===n||n!==r)return!1;s=this.nextIndex(s,t)}return this.pos=s,!0},eM.validateRegExpFlags=function(e){for(var t=e.validFlags,s=e.flags,i=!1,r=!1,n=0;n<s.length;n++){var a=s.charAt(n);-1===t.indexOf(a)&&this.raise(e.start,"Invalid regular expression flag"),s.indexOf(a,n+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),"u"===a&&(i=!0),"v"===a&&(r=!0)}this.options.ecmaVersion>=15&&i&&r&&this.raise(e.start,"Invalid regular expression flag")},eM.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&function(e){for(var t in e)return!0;return!1}(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))},eM.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,s=e.backReferenceNames;t<s.length;t+=1){var i=s[t];e.groupNames[i]||e.raise("Invalid named capture referenced")}},eM.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new ej(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},eM.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},eM.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?!!this.regexp_eatAtom(e):!!this.regexp_eatExtendedAtom(e))&&(this.regexp_eatQuantifier(e),!0)},eM.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;
vendor: 1,578 bytes, line 2
2if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var s=!1;if(this.options.ecmaVersion>=9&&(s=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!s,!0}return e.pos=t,!1},eM.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},eM.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},eM.regexp_eatBracedQuantifier=function(e,t){var s=e.pos;if(e.eat(123)){var i=0,r=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue),e.eat(125)))return -1!==r&&r<i&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=s}return!1},eM.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},eM.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},eM.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var s=this.regexp_eatModifiers(e),i=e.eat(45);if(s||i){for(var r=0;r<s.length;r++){var n=s.charAt(r);s.indexOf(n,r+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(i){var a=this.regexp_eatModifiers(e);
2s||a||58!==e.current()||e.raise("Invalid regular expression modifiers");for(var o=0;o<a.length;o++){var h=a.charAt(o);(a.indexOf(h,o+1)>-1||s.indexOf(h)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1},eM.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},eM.regexp_eatModifiers=function(e){for(var t,s="",i=0;-1!==(i=e.current())&&(105===(t=i)||109===t||115===t);)s+=W(i),e.advance();return s},eM.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)},eM.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},eM.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!eU(t)&&(e.lastIntValue=t,e.advance(),!0)},eM.regexp_eatPatternCharacters=function(e){for(var t=e.pos,s=0;-1!==(s=e.current())&&!eU(s);)e.advance();return e.pos!==t},eM.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return -1!==t&&36!==t&&(!(t>=40)||!(t<=43))&&46!==t&&63!==t&&91!==t&&94!==t&&124!==t&&(e.advance(),!0)},eM.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,s=e.groupNames[e.lastStringValue];if(s)if(t)for(var i=0;i<s.length;i+=1)s[i].separatedFrom(e.branchID)||e.raise("Duplicate capture group name");else e.raise("Duplicate capture group name");t?(s||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}},eM.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},eM.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=W(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=W(e.lastIntValue);return!0}return!1},eM.regexp_eatRegExpIdentifierStart=function(e){var t,s=e.pos,i=this.options.ecmaVersion>=11,r=e.current(i);return(e.advance(i),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(r=e.lastIntValue),S(t=r,!0)||36===t||95===t)?(e.lastIntValue=r,!0):(e.pos=s,!1)},eM.regexp_eatRegExpIdentifierPart=function(e){var t,s=e.pos,i=this.options.ecmaVersion>=11,r=e.current(i);return(e.advance(i),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(r=e.lastIntValue),_(t=r,!0)||36===t||95===t||8204===t||8205===t)?(e.lastIntValue=r,!0):(e.pos=s,!1)},eM.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},eM.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var s=e.lastIntValue;if(e.switchU)return s>e.maxBackReference&&(e.maxBackReference=s),!0;if(s<=e.numCapturingParens)return!0;e.pos=t}return!1},eM.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},eM.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,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},eM.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},eM.regexp_eatZero=function(e){return!(48!==e.current()||eK(e.lookahead())
2)&&(e.lastIntValue=0,e.advance(),!0)},eM.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},eM.regexp_eatControlLetter=function(e){var t=e.current();return!!eq(t)&&(e.lastIntValue=t%32,e.advance(),!0)},eM.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var s=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r,n=e.lastIntValue;if(i&&n>=55296&&n<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=(n-55296)*1024+(o-56320)+65536,!0}e.pos=a,e.lastIntValue=n}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&(r=e.lastIntValue)>=0&&r<=1114111)return!0;i&&e.raise("Invalid unicode escape"),e.pos=s}return!1},eM.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return 99!==t&&(!e.switchN||107!==t)&&(e.lastIntValue=t,e.advance(),!0)},eM.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!0}return!1},eM.regexp_eatCharacterClassEscape=function(e){var t,s,i=e.current();if(100===(t=i)||68===t||115===t||83===t||119===t||87===t)return e.lastIntValue=-1,e.advance(),1;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=80===i)||112===i)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&(s=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&2===s&&e.raise("Invalid property name"),s;e.raise("Invalid property name")}return 0},eM.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var s=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,s,i),1}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,r)}return 0},eM.regexp_validateUnicodePropertyNameAndValue=function(e,t,s){U(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(s)||e.raise("Invalid property value")},eM.regexp_validateUnicodePropertyNameOrValue=function(e,t){return e.unicodeProperties.binary.test(t)?1:e.switchV&&e.unicodeProperties.binaryOfStrings.test(t)?2:void e.raise("Invalid property name")},eM.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";e$(t=e.current());)e.lastStringValue+=W(t),e.advance();return""!==e.lastStringValue},eM.regexp_eatUnicodePropertyValue=function(e){var t,s=0;for(e.lastStringValue="";e$(t=s=e.current())||eK(t);)e.lastStringValue+=W(s),e.advance();return""!==e.lastStringValue},eM.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},eM.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),s=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&2===s&&e.raise("Negated character class may contain strings"),!0}return!1},eM.regexp_classContents=function(e){return 93===e.current()?1:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),1)},eM.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var s=e.lastIntValue;e.switchU&&(-1===t||-1===s)&&e.raise("Invalid character class"),-1!==t&&-1!==s&&t>s&&e.raise("Range out of order in character class")}}},eM.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var s=e.current();(99===s||eH(s))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return 93!==i&&(e.lastIntValue=i,e.advance(),!0)},eM.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;
vendor: 9,336 bytes, line 2
2if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},eM.regexp_classSetExpression=function(e){var t,s=1;if(this.regexp_eatClassSetRange(e));else if(t=this.regexp_eatClassSetOperand(e)){2===t&&(s=2);for(var i=e.pos;e.eatChars([38,38]);){if(38!==e.current()&&(t=this.regexp_eatClassSetOperand(e))){2!==t&&(s=1);continue}e.raise("Invalid character in character class")}if(i!==e.pos)return s;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(i!==e.pos)return s}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(!(t=this.regexp_eatClassSetOperand(e)))return s;2===t&&(s=2)}},eM.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var s=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;return -1!==s&&-1!==i&&s>i&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1},eM.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?1:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},eM.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var s=e.eat(94),i=this.regexp_classContents(e);if(e.eat(93))return s&&2===i&&e.raise("Negated character class may contain strings"),i;e.pos=t}if(e.eat(92)){var r=this.regexp_eatCharacterClassEscape(e);if(r)return r;e.pos=t}return null},eM.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var s=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return s}else e.raise("Invalid escape");e.pos=t}return null},eM.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)2===this.regexp_classString(e)&&(t=2);return t},eM.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return 1===t?1:2},eM.regexp_eatClassSetCharacter=function(e){var t,s,i=e.pos;if(e.eat(92))return!!(this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e))||(e.eat(98)?(e.lastIntValue=8,!0):(e.pos=i,!1));var r=e.current();return!(r<0||r===e.lookahead()&&(33===(t=r)||t>=35&&t<=38||t>=42&&t<=44||46===t||t>=58&&t<=64||94===t||96===t||126===t)||40===(s=r)||41===s||45===s||47===s||s>=91&&s<=93||s>=123&&s<=125)&&(e.advance(),e.lastIntValue=r,!0)},eM.regexp_eatClassSetReservedPunctuator=function(e){var t,s=e.current();return!!(33===(t=s)||35===t||37===t||38===t||44===t||45===t||t>=58&&t<=62||64===t||96===t||126===t)&&(e.lastIntValue=s,e.advance(),!0)},eM.regexp_eatClassControlLetter=function(e){var t=e.current();return(!!eK(t)||95===t)&&(e.lastIntValue=t%32,e.advance(),!0)},eM.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},eM.regexp_eatDecimalDigits=function(e){var t=e.pos,s=0;for(e.lastIntValue=0;eK(s=e.current());)e.lastIntValue=10*e.lastIntValue+(s-48),e.advance();return e.pos!==t},eM.regexp_eatHexDigits=function(e){var t=e.pos,s=0;for(e.lastIntValue=0;eW(s=e.current());)e.lastIntValue=16*e.lastIntValue+eG(s),e.advance();return e.pos!==t},eM.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var s=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*s+e.lastIntValue:e.lastIntValue=8*t+s}else e.lastIntValue=t;return!0}return!1},eM.regexp_eatOctalDigit=function(e){var t=e.current();return eH(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},eM.regexp_eatFixedHexDigits=function(e,t){var s=e.pos;e.lastIntValue=0;for(var i=0;i<t;++i){var r=e.current();if(!eW(r))return e.pos=s,!1;e.lastIntValue=16*e.lastIntValue+eG(r),e.advance()}return!0};var ez=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new z(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},eQ=Z.prototype;function eJ(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}eQ.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new ez(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},eQ.getToken=function(){return this.next(),new ez(this)},"undefined"!=typeof Symbol&&(eQ[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===P.eof,value:t}}}}),eQ.nextToken=function(){var e=this.curContext();return(e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)?this.finishToken(P.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},eQ.readToken=function(e){return S(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},eQ.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-0x35fdc00},eQ.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,s=this.input.indexOf("*/",this.pos+=2);if(-1===s&&this.raise(this.pos-2,"Unterminated comment"),this.pos=s+2,this.options.locations)for(var i=void 0,r=t;(i=R(this.input,r,this.pos))>-1;)++this.curLine,r=this.lineStart=i;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,s),t,this.pos,e,this.curPosition())},eQ.skipLineComment=function(e){for(var t=this.pos,s=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!V(i);)i=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,s,this.curPosition())},eQ.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&D.test(String.fromCharCode(e)))++this.pos;else break e}}},eQ.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var s=this.type;this.type=e,this.value=t,this.updateContext(s)},eQ.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(P.ellipsis)):(++this.pos,this.finishToken(P.dot))},eQ.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(P.assign,2):this.finishOp(P.slash,1)},eQ.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),s=1,i=42===e?P.star:P.modulo;return(this.options.ecmaVersion>=7&&42===e&&42===t&&(++s,i=P.starstar,t=this.input.charCodeAt(this.pos+2)),61===t)?this.finishOp(P.assign,s+1):this.finishOp(i,s)},eQ.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e)return this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(P.assign,3):this.finishOp(124===e?P.logicalOR:P.logicalAND,2);return 61===t?this.finishOp(P.assign,2):this.finishOp(124===e?P.bitwiseOR:P.bitwiseAND,1)},eQ.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(P.assign,2):this.finishOp(P.bitwiseXOR,1)},eQ.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45===t&&!this.inModule&&62===this.input.charCodeAt(this.pos+2)&&(0===this.lastTokEnd||L.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(P.incDec,2):61===t?this.finishOp(P.assign,2):this.finishOp(P.plusMin,1)},eQ.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),s=1;return t===e?(s=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+s))?this.finishOp(P.assign,s+1):this.finishOp(P.bitShift,s):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(s=2),this.finishOp(P.relational,s)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},eQ.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(P.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(P.arrow)):this.finishOp(61===e?P.eq:P.prefix,1)},eQ.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var s=this.input.charCodeAt(this.pos+2);
vendor: 5,863 bytes, line 2
2if(s<48||s>57)return this.finishOp(P.questionDot,2)}if(63===t)return e>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(P.assign,3):this.finishOp(P.coalesce,2)}return this.finishOp(P.question,1)},eQ.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,S(t=this.fullCharCodeAtPos(),!0)||92===t))return this.finishToken(P.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+W(t)+"'")},eQ.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(P.parenL);case 41:return++this.pos,this.finishToken(P.parenR);case 59:return++this.pos,this.finishToken(P.semi);case 44:return++this.pos,this.finishToken(P.comma);case 91:return++this.pos,this.finishToken(P.bracketL);case 93:return++this.pos,this.finishToken(P.bracketR);case 123:return++this.pos,this.finishToken(P.braceL);case 125:return++this.pos,this.finishToken(P.braceR);case 58:return++this.pos,this.finishToken(P.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(P.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)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(!1);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(P.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+W(e)+"'")},eQ.finishOp=function(e,t){var s=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,s)},eQ.readRegexp=function(){for(var e,t,s=this.pos;;){this.pos>=this.input.length&&this.raise(s,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(L.test(i)&&this.raise(s,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++this.pos}var r=this.input.slice(s,this.pos);++this.pos;var n=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(n);var o=this.regexpState||(this.regexpState=new eF(this));o.reset(s,r,a),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var h=null;try{h=new RegExp(r,a)}catch(e){}return this.finishToken(P.regexp,{pattern:r,flags:a,value:h})},eQ.readInt=function(e,t,s){for(var i=this.options.ecmaVersion>=12&&void 0===t,r=s&&48===this.input.charCodeAt(this.pos),n=this.pos,a=0,o=0,h=0,l=null==t?1/0:t;h<l;++h,++this.pos){var c=this.input.charCodeAt(this.pos),p=void 0;if(i&&95===c){r&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===o&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===h&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),o=c;continue}if((p=c>=97?c-97+10:c>=65?c-65+10:c>=48&&c<=57?c-48:1/0)>=e)break;o=c,a=a*e+p}return(i&&95===o&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===n||null!=t&&this.pos-n!==t)?null:a},eQ.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var s=this.readInt(e);return null==s&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(s=eJ(this.input.slice(t,this.pos)),++this.pos):S(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(P.num,s)},eQ.readNumber=function(e){var t,s=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(s,"Invalid number");var i=this.pos-s>=2&&48===this.input.charCodeAt(s);i&&this.strict&&this.raise(s,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&110===r){var n=eJ(this.input.slice(s,this.pos));return++this.pos,S(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(P.num,n)}i&&/[89]/.test(this.input.slice(s,this.pos))&&(i=!1),46!==r||i||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||i||((43===(r=this.input.charCodeAt(++this.pos))||45===r)&&++this.pos,null===this.readInt(10)&&this.raise(s,"Invalid number")),S(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=(t=this.input.slice(s,this.pos),i?parseInt(t,8):parseFloat(t.replace(/_/g,"")));return this.finishToken(P.num,a)},eQ.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},eQ.readString=function(e){for(var t="",s=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;92===i?(t+=this.input.slice(s,this.pos),t+=this.readEscapedChar(!1),s=this.pos):8232===i||8233===i?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(V(i)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(s,this.pos++),this.finishToken(P.string,t)};var eX={};eQ.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}
2catch(e){if(e===eX)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},eQ.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw eX;this.raise(e,t)},eQ.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var s=this.input.charCodeAt(this.pos);if(96===s||36===s&&123===this.input.charCodeAt(this.pos+1)){if(this.pos===this.start&&(this.type===P.template||this.type===P.invalidTemplate))if(36===s)return this.pos+=2,this.finishToken(P.dollarBraceL);else return++this.pos,this.finishToken(P.backQuote);return e+=this.input.slice(t,this.pos),this.finishToken(P.template,e)}if(92===s)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(V(s)){switch(e+=this.input.slice(t,this.pos),++this.pos,s){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(s)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},eQ.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;
2case"`":return this.finishToken(P.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":"\n"===this.input[this.pos+1]&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},eQ.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return W(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var s=this.pos-1;this.invalidStringToken(s,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(i,8);return r>255&&(r=parseInt(i=i.slice(0,-1),8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),("0"!==i||56===t||57===t)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}if(V(t))return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";return String.fromCharCode(t)}},eQ.readHexChar=function(e){var t=this.pos,s=this.readInt(16,e);return null===s&&this.invalidStringToken(t,"Bad character escape sequence"),s},eQ.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,s=this.pos,i=this.options.ecmaVersion>=6;this.pos<this.input.length;){var r=this.fullCharCodeAtPos();if(_(r,i))this.pos+=r<=65535?1:2;else if(92===r){this.containsEsc=!0,e+=this.input.slice(s,this.pos);var n=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var a=this.readCodePoint();(t?S:_)(a,i)||this.invalidStringToken(n,"Invalid Unicode escape"),e+=W(a),s=this.pos}else break;t=!1}return e+this.input.slice(s,this.pos)},eQ.readWord=function(){var e=this.readWord1(),t=P.name;return this.keywords.test(e)&&(t=N[e]),this.finishToken(t,e)},Z.acorn={Parser:Z,version:"8.15.0",defaultOptions:J,Position:H,SourceLocation:z,getLineInfo:Q,Node:eb,TokenType:E,tokTypes:P,keywordTypes:N,TokContext:eu,tokContexts:ed,isIdentifierChar:_,isIdentifierStart:S,Token:ez,isNewLine:V,lineBreak:L,lineBreakG:O,nonASCIIwhitespace:D},e.i(133220),e.i(455470),Symbol("continue"),Symbol("exit"),Symbol("skip"),e.i(51256),e.i(144819),e.i(403010),e.i(652652),e.i(879302),e.i(216920);let eY=Symbol.for("yaml.alias"),eZ=Symbol.for("yaml.document"),e1=Symbol.for("yaml.map"),e0=Symbol.for("yaml.pair"),e2=Symbol.for("yaml.scalar"),e3=Symbol.for("yaml.seq"),e6=Symbol.for("yaml.node.type"),e4=e=>!!e&&"object"==typeof e&&e[e6]===eY,e5=e=>!!e&&"object"==typeof e&&e[e6]===eZ,e9=e=>!!e&&"object"==typeof e&&e[e6]===e1,e8=e=>!!e&&"object"==typeof e&&e[e6]===e0,e7=e=>!!e&&"object"==typeof e&&e[e6]===e2,te=e=>!!e&&"object"==typeof e&&e[e6]===e3;function tt(e){if(e&&"object"==typeof e)switch(e[e6]){case e1:case e3:return!0}return!1}function ts(e){if(e&&"object"==typeof e)switch(e[e6]){case eY:case e1:case e2:case e3:return!0}return!1}let ti=e=>(e7(e)||tt(e))&&!!e.anchor,tr=Symbol("break visit"),tn=Symbol("skip children"),ta=Symbol("remove node");function to(e,t){let s=tp(t);e5(e)?th(null,e.contents,s,Object.freeze([e]))===ta&&(e.contents=null):th(null,e,s,Object.freeze([]))}function th(e,t,s,i){let r=tu(e,t,s,i);if(ts(r)||e8(r))return td(e,i,r),th(e,r,s,i);if("symbol"!=typeof r){if(tt(t)){i=Object.freeze(i.concat(t));for(let e=0;e<t.items.length;++e){let r=th(e,t.items[e],s,i);if("number"==typeof r)e=r-1;else{if(r===tr)return tr;r===ta&&(t.items.splice(e,1),e-=1)}}}else if(e8(t)){i=Object.freeze(i.concat(t));let e=th("key",t.key,s,i);if(e===tr)return tr;e===ta&&(t.key=null);let r=th("value",t.value,s,i);if(r===tr)return tr;r===ta&&(t.value=null)}}return r}async function tl(e,t){let s=tp(t);e5(e)?await tc(null,e.contents,s,Object.freeze([e]))===ta&&(e.contents=null):await tc(null,e,s,Object.freeze([]))}async function tc(e,t,s,i){let r=await tu(e,t,s,i);if(ts(r)||e8(r))return td(e,i,r),tc(e,r,s,i);if("symbol"!=typeof r){if(tt(t)){i=Object.freeze(i.concat(t));for(let e=0;e<t.items.length;++e){let r=await tc(e,t.items[e],s,i);if("number"==typeof r)e=r-1;else{if(r===tr)return tr;r===ta&&(t.items.splice(e,1),e-=1)}}}else if(e8(t)){i=Object.freeze(i.concat(t));let e=await tc("key",t.key,s,i);if(e===tr)return tr;e===ta&&(t.key=null);let r=await tc("value",t.value,s,i);if(r===tr)return tr;r===ta&&(t.value=null)}}return r}function tp(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function tu(e,t,s,i){return"function"==typeof s?s(e,t,i):e9(t)?s.Map?.(e,t,i):te(t)?s.Seq?.(e,t,i):e8(t)?s.Pair?.(e,t,i):e7(t)?s.Scalar?.(e,t,i):e4(t)?s.Alias?.(e,t,i):void 0}function td(e,t,s){let i=t[t.length-1];if(tt(i))i.items[e]=s;else if(e8(i))"key"===e?i.key=s:i.value=s;else if(e5(i))i.contents=s;else{let e=e4(i)?"alias":"scalar";throw Error(`Cannot replace node with ${e} parent`)}}to.BREAK=tr,to.SKIP=tn,to.REMOVE=ta,tl.BREAK=tr,tl.SKIP=tn,tl.REMOVE=ta;
2let tf={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},tm=e=>e.replace(/[!,[\]{}]/g,e=>tf[e]);class tg{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},tg.defaultYaml,e),this.tags=Object.assign({},tg.defaultTags,t)}clone(){let e=new tg(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new tg(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:tg.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},tg.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:tg.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},tg.defaultTags),this.atNextDocument=!1);let s=e.trim().split(/[ \t]+/),i=s.shift();switch(i){case"%TAG":{if(2!==s.length&&(t(0,"%TAG directive should contain exactly two parts"),s.length<2))return!1;let[e,i]=s;return this.tags[e]=i,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==s.length)return t(0,"%YAML directive should contain exactly one part"),!1;let[e]=s;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;{let s=/^\d+\.\d+$/.test(e);return t(6,`Unsupported YAML version ${e}`,s),!1}}default:return t(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){let s=e.slice(2,-1);return"!"===s||"!!"===s?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),s)}let[,s,i]=e.match(/^(.*!)([^!]*)$/s);i||t(`The ${e} tag has no suffix`);let r=this.tags[s];if(r)try{return r+decodeURIComponent(i)}catch(e){return t(String(e)),null}return"!"===s?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,s]of Object.entries(this.tags))if(e.startsWith(s))return t+tm(e.substring(s.length));return"!"===e[0]?e:`!<${e}>`}toString(e){let t,s=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],i=Object.entries(this.tags);if(e&&i.length>0&&ts(e.contents)){let s={};to(e.contents,(e,t)=>{ts(t)&&t.tag&&(s[t.tag]=!0)}),t=Object.keys(s)}else t=[];for(let[r,n]of i)("!!"!==r||"tag:yaml.org,2002:"!==n)&&(!e||t.some(e=>e.startsWith(n)))&&s.push(`%TAG ${r} ${n}`);return s.join("\n")}}function ty(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=JSON.stringify(e);throw Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function tx(e){let t=new Set;return to(e,{Value(e,s){s.anchor&&t.add(s.anchor)}}),t}function tv(e,t){for(let s=1;;++s){let i=`${e}${s}`;if(!t.has(i))return i}}function tb(e,t,s,i){if(i&&"object"==typeof i)if(Array.isArray(i))for(let t=0,s=i.length;t<s;++t){let s=i[t],r=tb(e,i,String(t),s);void 0===r?delete i[t]:r!==s&&(i[t]=r)}else if(i instanceof Map)for(let t of Array.from(i.keys())){let s=i.get(t),r=tb(e,i,t,s);void 0===r?i.delete(t):r!==s&&i.set(t,r)}else if(i instanceof Set)for(let t of Array.from(i)){let s=tb(e,i,t,t);void 0===s?i.delete(t):s!==t&&(i.delete(t),i.add(s))}else for(let[t,s]of Object.entries(i)){let r=tb(e,i,t,s);void 0===r?delete i[t]:r!==s&&(i[t]=r)}return e.call(t,s,i)}function tk(e,t,s){if(Array.isArray(e))return e.map((e,t)=>tk(e,String(t),s));if(e&&"function"==typeof e.toJSON){if(!s||!ti(e))return e.toJSON(t,s);let i={aliasCount:0,count:1,res:void 0};s.anchors.set(e,i),s.onCreate=e=>{i.res=e,delete s.onCreate};let r=e.toJSON(t,s);return s.onCreate&&s.onCreate(r),r}return"bigint"!=typeof e||s?.keep?e:Number(e)}tg.defaultYaml={explicit:!1,version:"1.2"},tg.defaultTags={"!!":"tag:yaml.org,2002:"};class tw{constructor(e){Object.defineProperty(this,e6,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:s,onAnchor:i,reviver:r}={}){if(!e5(e))throw TypeError("A document argument is required");let n={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof s?s:100},a=tk(this,"",n);if("function"==typeof i)for(let{count:e,res:t}of n.anchors.values())i(t,e);return"function"==typeof r?tb(r,{"":a},"",a):a}}
2class tS extends tw{constructor(e){super(eY),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(e,t){let s,i;for(let r of(t?.aliasResolveCache?s=t.aliasResolveCache:(s=[],to(e,{Node:(e,t)=>{(e4(t)||ti(t))&&s.push(t)}}),t&&(t.aliasResolveCache=s)),s)){if(r===this)break;r.anchor===this.source&&(i=r)}return i}toJSON(e,t){if(!t)return{source:this.source};let{anchors:s,doc:i,maxAliasCount:r}=t,n=this.resolve(i,t);if(!n)throw ReferenceError(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);let a=s.get(n);if(a||(tk(n,null,t),a=s.get(n)),!a||void 0===a.res)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(r>=0&&(a.count+=1,0===a.aliasCount&&(a.aliasCount=function e(t,s,i){if(e4(s)){let e=s.resolve(t),r=i&&e&&i.get(e);return r?r.count*r.aliasCount:0}if(tt(s)){let r=0;for(let n of s.items){let s=e(t,n,i);s>r&&(r=s)}return r}return e8(s)?Math.max(e(t,s.key,i),e(t,s.value,i)):1}(i,n,s)),a.count*a.aliasCount>r))throw ReferenceError("Excessive alias count indicates a resource exh
2austion attack");return a.res}toString(e,t,s){let i=`*${this.source}`;if(e){if(ty(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source))throw Error(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);if(e.implicitKey)return`${i} `}return i}}let t_=e=>!e||"function"!=typeof e&&"object"!=typeof e;class tE extends tw{constructor(e){super(e2),this.value=e}toJSON(e,t){return t?.keep?this.value:tk(this.value,e,t)}toString(){return String(this.value)}}function tC(e,t,s){let i;if(e5(e)&&(e=e.contents),ts(e))return e;if(e8(e)){let t=s.schema[e1].createNode?.(s.schema,null,s);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:r,onAnchor:n,onTagObj:a,schema:o,sourceObjects:h}=s;if(r&&e&&"object"==typeof e){if(i=h.get(e))return i.anchor??(i.anchor=n(e)),new tS(i.anchor);i={anchor:null,node:null},h.set(e,i)}t?.startsWith("!!")&&(t="tag:yaml.org,2002:"+t.slice(2));let l=function(e,t,s){if(t){let e=s.filter(e=>e.tag===t),i=e.find(e=>!e.format)??e[0];if(!i)throw Error(`Tag ${t} not found`);return i}return s.find(t=>t.identify?.(e)&&!t.format)}(e,t,o.tags);if(!l){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){let t=new tE(e);return i&&(i.node=t),t}l=e instanceof Map?o[e1]:Symbol.iterator in Object(e)?o[e3]:o[e1]}a&&(a(l),delete s.onTagObj);let c=l?.createNode?l.createNode(s.schema,e,s):"function"==typeof l?.nodeClass?.from?l.nodeClass.from(s.schema,e,s):new tE(e);return t?c.tag=t:l.default||(c.tag=l.tag),i&&(i.node=c),c}function tA(e,t,s){let i=s;for(let e=t.length-1;e>=0;--e){let s=t[e];if("number"==typeof s&&Number.isInteger(s)&&s>=0){let e=[];e[s]=i,i=e}else i=new Map([[s,i]])}return tC(i,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}tE.BLOCK_FOLDED="BLOCK_FOLDED",tE.BLOCK_LITERAL="BLOCK_LITERAL",tE.PLAIN="PLAIN",tE.QUOTE_DOUBLE="QUOTE_DOUBLE",tE.QUOTE_SINGLE="QUOTE_SINGLE";let tI=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;
2class tN extends tw{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>ts(t)||e8(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(tI(e))this.add(t);else{let[s,...i]=e,r=this.get(s,!0);if(tt(r))r.addIn(i,t);else if(void 0===r&&this.schema)this.set(s,tA(this.schema,i,t));else throw Error(`Expected YAML collection at ${s}. Remaining path: ${i}`)}}deleteIn(e){let[t,...s]=e;if(0===s.length)return this.delete(t);let i=this.get(t,!0);if(tt(i))return i.deleteIn(s);throw Error(`Expected YAML collection at ${t}. Remaining path: ${s}`)}getIn(e,t){let[s,...i]=e,r=this.get(s,!0);return 0===i.length?!t&&e7(r)?r.value:r:tt(r)?r.getIn(i,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!e8(t))return!1;let s=t.value;return null==s||e&&e7(s)&&null==s.value&&!s.commentBefore&&!s.comment&&!s.tag})}hasIn(e){let[t,...s]=e;if(0===s.length)return this.has(t);let i=this.get(t,!0);return!!tt(i)&&i.hasIn(s)}setIn(e,t){let[s,...i]=e;if(0===i.length)this.set(s,t);else{let e=this.get(s,!0);if(tt(e))e.setIn(i,t);else if(void 0===e&&this.schema)this.set(s,tA(this.schema,i,t));else throw Error(`Expected YAML collection at ${s}. Remaining path: ${i}`)}}}let tT=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function tP(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}let tL=(e,t,s)=>e.endsWith("\n")?tP(s,t):s.includes("\n")?"\n"+tP(s,t):(e.endsWith(" ")?"":" ")+s,tO="flow",tV="block",tR="quoted";function tD(e,t,s="flow",{indentAtStart:i,lineWidth:r=80,minContentWidth:n=20,onFold:a,onOverflow:o}={}){let h,l,c;if(!r||r<0)return e;r<n&&(n=0);let p=Math.max(1+n,1+r-t.length);if(e.length<=p)return e;let u=[],d={},f=r-t.length;"number"==typeof i&&(i>r-Math.max(2,n)?u.push(0):f=r-i);let m=!1,g=-1,y=-1,x=-1;for(s===tV&&-1!==(g=tB(e,g,t.length))&&(f=g+p);c=e[g+=1];){if(s===tR&&"\\"===c){switch(y=g,e[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}x=g}if("\n"===c)s===tV&&(g=tB(e,g,t.length)),f=g+t.length+p,h=void 0;else{if(" "===c&&l&&" "!==l&&"\n"!==l&&" "!==l){let t=e[g+1];t&&" "!==t&&"\n"!==t&&" "!==t&&(h=g)}if(g>=f)if(h)u.push(h),f=h+p,h=void 0;else if(s===tR){for(;" "===l||" "===l;)l=c,c=e[g+=1],m=!0;let t=g>x+1?g-2:y-1;if(d[t])return e;u.push(t),d[t]=!0,f=t+p,h=void 0}else m=!0}l=c}if(m&&o&&o(),0===u.length)return e;a&&a();let v=e.slice(0,u[0]);for(let i=0;i<u.length;++i){let r=u[i],n=u[i+1]||e.length;0===r?v=` 3${t}${e.slice(0,n)}`:(s===tR&&d[r]&&(v+=`${e[r]}\\`),v+=` 4${t}${e.slice(r+1,n)}`)}return v}function tB(e,t,s){let i=t,r=t+1,n=e[r];for(;" "===n||" "===n;)if(t<r+s)n=e[++t];else{do n=e[++t];while(n&&"\n"!==n)i=t,n=e[r=t+1]}return i}let tM=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth});function tj(e,t){let s=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return s;let{implicitKey:i}=t,r=t.options.doubleQuotedMinMultiLineLength,n=t.indent||(/^(%|---|\.\.\.)/m.test(e)?" ":""),a="",o=0;for(let e=0,t=s[e];t;t=s[++e])if(" "===t&&"\\"===s[e+1]&&"n"===s[e+2]&&(a+=s.slice(o,e)+"\\ ",e+=1,o=e,t="\\"),"\\"===t)switch(s[e+1]){case"u":{a+=s.slice(o,e);let t=s.substr(e+2,4);switch(t){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:"00"===t.substr(0,2)?a+="\\x"+t.substr(2):a+=s.substr(e,6)}e+=5,o=e+1}break;case"n":if(i||'"'===s[e+2]||s.length<r)e+=1;else{for(a+=s.slice(o,e)+"\n\n";"\\"===s[e+2]&&"n"===s[e+3]&&'"'!==s[e+4];)a+="\n",e+=2;a+=n," "===s[e+2]&&(a+="\\"),e+=1,o=e+1}break;default:e+=1}return a=o?a+s.slice(o):s,i?a:tD(a,n,tR,tM(t,!1))}function tF(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return tj(e,t);let s=t.indent||(/^(%|---|\.\.\.)/m.test(e)?" ":""),i="'"+e.replace(/'/g,"''").replace(/\n+/g,`$& 5${s}`)+"'";return t.implicitKey?i:tD(i,s,tO,tM(t,!1))}function tU(e,t){let s,{singleQuote:i}=t.options;if(!1===i)s=tj;else{let t=e.includes('"'),r=e.includes("'");s=t&&!r?tF:r&&!t?tj:i?tF:tj}return s(e,t)}try{t=RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{t=/\n+(?!\n|$)/g}function tq({comment:e,type:s,value:i},r,n,a){let o,h,l,c,{blockQuote:p,commentString:u,lineWidth:d}=r.options;if(!p||/\n[\t ]+$/.test(i))return tU(i,r);let f=r.indent||(r.forceBlockIndent||(c=i,/^(%|---|\.\.\.)/m.test(c))?" ":""),m="literal"
5===p||"folded"!==p&&s!==tE.BLOCK_FOLDED&&(s===tE.BLOCK_LITERAL||!function(e,t,s){if(!t||t<0)return!1;let i=t-s,r=e.length;if(r<=i)return!1;for(let t=0,s=0;t<r;++t)if("\n"===e[t]){if(t-s>i)return!0;if(r-(s=t+1)<=i)return!1}return!0}(i,d,f.length));if(!i)return m?"|\n":">\n";for(h=i.length;h>0;--h){let e=i[h-1];if("\n"!==e&&" "!==e&&" "!==e)break}let g=i.substring(h),y=g.indexOf("\n");-1===y?o="-":i===g||y!==g.length-1?(o="+",a&&a()):o="",g&&(i=i.slice(0,-g.length),"\n"===g[g.length-1]&&(g=g.slice(0,-1)),g=g.replace(t,`$&${f}`));let x=!1,v=-1;for(l=0;l<i.length;++l){let e=i[l];if(" "===e)x=!0;else if("\n"===e)v=l;else break}let b=i.substring(0,v<l?v+1:l);b&&(i=i.substring(b.length),b=b.replace(/\n+/g,`$&${f}`));let k=f?"2":"1",w=(x?k:"")+o;if(e&&(w+=" "+u(e.replace(/ ?[\r\n]+/g," ")),n&&n()),!m){let e=i.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${f}`),t=!1,n=tM(r,!0);"folded"!==p&&s!==tE.BLOCK_FOLDED&&(n.onOverflow=()=>{t=!0});let a=tD(`${b}${e}${g}`,f,tV,n);if(!t)return`>${w} 6${f}${a}`}return i=i.replace(/\n+/g,`$&${f}`),`|${w} 7${f}${b}${i}${g}`}function t$(e,t,s,i){let{implicitKey:r,inFlow:n}=t,a="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)}),{type:o}=e;o!==tE.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(a.value)&&(o=tE.QUOTE_DOUBLE);let h=e=>{switch(e){case tE.BLOCK_FOLDED:case tE.BLOCK_LITERAL:return r||n?tU(a.value,t):tq(a,t,s,i);case tE.QUOTE_DOUBLE:return tj(a.value,t);case tE.QUOTE_SINGLE:return tF(a.value,t);case tE.PLAIN:return function(e,t,s,i){let{type:r,value:n}=e,{actualString:a,implicitKey:o,indent:h,indentStep:l,inFlow:c}=t;if(o&&n.includes("\n")||c&&/[[\]{},]/.test(n))return tU(n,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(n))return o||c||!n.includes("\n")?tU(n,t):tq(e,t,s,i);if(!o&&!c&&r!==tE.PLAIN&&n.includes("\n"))return tq(e,t,s,i);if(/^(%|---|\.\.\.)/m.test(n)){if(""===h)return t.forceBlockIndent=!0,tq(e,t,s,i);else if(o&&h===l)return tU(n,t)}let p=n.replace(/\n+/g,`$& 8${h}`);if(a){let e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(p),{compat:s,tags:i}=t.doc.schema;if(i.some(e)||s?.some(e))return tU(n,t)}return o?p:tD(p,h,tO,tM(t,!1))}(a,t,s,i);default:return null}},l=h(o);if(null===l){let{defaultKeyType:e,defaultStringType:s}=t.options,i=r&&e||s;if(null===(l=h(i)))throw Error(`Unsupported default string type ${i}`)}return l}function tK(e,t){let s,i=Object.assign({blockQuote:!0,commentString:tT,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);switch(i.collectionStyle){case"block":s=!1;break;case"flow":s=!0;break;default:s=null}return{anchors:new Set,doc:e,flowCollectionPadding:i.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof i.indent?" ".repeat(i.indent):" ",inFlow:s,options:i}}function tW(e,t,s,i){let r;if(e8(e))return e.toString(t,s,i);if(e4(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let n=ts(e)?e:t.doc.createNode(e,{onTagObj:e=>r=e});r??(r=function(e,t){let s,i;if(t.tag){let s=e.filter(e=>e.tag===t.tag);if(s.length>0)return s.find(e=>e.format===t.format)??s[0]}if(e7(t)){s=t.value;let r=e.filter(e=>e.identify?.(s));if(r.length>1){let e=r.filter(e=>e.test);e.length>0&&(r=e)}i=r.find(e=>e.format===t.format)??r.find(e=>!e.format)}else s=t,i=e.find(e=>e.nodeClass&&s instanceof e.nodeClass);if(!i){let e=s?.constructor?.name??(null===s?"null":typeof s);throw Error(`Tag not resolved for ${e} value`)}return i}(t.doc.schema.tags,n));let a=function(e,t,{anchors:s,doc:i}){if(!i.directives)return"";let r=[],n=(e7(e)||tt(e))&&e.anchor;n&&ty(n)&&(s.add(n),r.push(`&${n}`));let a=e.tag??(t.default?null:t.tag);return a&&r.push(i.directives.tagString(a)),r.join(" ")}(n,r,t);a.length>0&&(t.indentAtStart=(t.indentAtStart??0)+a.length+1);let o="function"==typeof r.stringify?r.stringify(n,t,s,i):e7(n)?t$(n,t,s,i):n.toString(t,s,i);
8return a?e7(n)||"{"===o[0]||"["===o[0]?`${a} ${o}`:`${a} 9${t.indent}${o}`:o}function tG(e,t){("debug"===e||"warn"===e)&&console.warn(t)}let tH={identify:e=>"<<"===e||"symbol"==typeof e&&"<<"===e.description,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new tE(Symbol("<<")),{addToJSMap:tz}),stringify:()=>"<<"};function tz(e,t,s){if(te(s=e&&e4(s)?s.resolve(e.doc):s))for(let i of s.items)tQ(e,t,i);else if(Array.isArray(s))for(let i of s)tQ(e,t,i);else tQ(e,t,s)}function tQ(e,t,s){let i=e&&e4(s)?s.resolve(e.doc):s;if(!e9(i))throw Error("Merge sources must be maps or map aliases");for(let[s,r]of i.toJSON(null,e,Map))t instanceof Map?t.has(s)||t.set(s,r):t instanceof Set?t.add(s):Object.prototype.hasOwnProperty.call(t,s)||Object.defineProperty(t,s,{value:r,writable:!0,enumerable:!0,configurable:!0});return t}function tJ(e,t,{key:s,value:i}){if(ts(s)&&s.addToJSMap)s.addToJSMap(e,t,i);else if((tH.identify(s)||e7(s)&&(!s.type||s.type===tE.PLAIN)&&tH.identify(s.value))&&e?.doc.schema.tags.some(e=>e.tag===tH.tag&&e.default))tz(e,t,i);else{let r=tk(s,"",e);if(t instanceof Map)t.set(r,tk(i,r,e));else if(t instanceof Set)t.add(r);else{let n=function(e,t,s){if(null===t)return"";if("object"!=typeof t)return String(t);if(ts(e)&&s?.doc){let t=tK(s.doc,{});for(let e of(t.anchors=new Set,s.anchors.keys()))t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let i=e.toString(t);if(!s.mapKeyWarned){let e=JSON.stringify(i);e.length>40&&(e=e.substring(0,36)+'..."'),tG(s.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),s.mapKeyWarned=!0}return i}return JSON.stringify(t)}(s,r,e),a=tk(i,n,e);n in t?Object.defineProperty(t,n,{value:a,writable:!0,enumerable:!0,configurable:!0}):t[n]=a}}return t}function tX(e,t,s){return new tY(tC(e,void 0,s),tC(t,void 0,s))}class tY{constructor(e,t=null){Object.defineProperty(this,e6,{value:e0}),this.key=e,this.value=t}clone(e){let{key:t,value:s}=this;return ts(t)&&(t=t.clone(e)),ts(s)&&(s=s.clone(e)),new tY(t,s)}toJSON(e,t){let s=t?.mapAsMap?new Map:{};return tJ(t,s,this)}toString(e,t,s){return e?.doc?function({key:e,value:t},s,i,r){let n,a,o,{allNullValues:h,doc:l,indent:c,indentStep:p,options:{commentString:u,indentSeq:d,simpleKeys:f}}=s,m=ts(e)&&e.comment||null;if(f){if(m)throw Error("With simple keys, key nodes cannot have comments");if(tt(e)||!ts(e)&&"object"==typeof e)throw Error("With simple keys, collection cannot be used as a key value")}let g=!f&&(!e||m&&null==t&&!s.inFlow||tt(e)||(e7(e)?e.type===tE.BLOCK_FOLDED||e.type===tE.BLOCK_LITERAL:"object"==typeof e));s=Object.assign({},s,{allNullValues:!1,implicitKey:!g&&(f||!h),indent:c+p});let y=!1,x=!1,v=tW(e,s,()=>y=!0,()=>x=!0);if(!g&&!s.inFlow&&v.length>1024){if(f)throw Error("With simple keys, single line scalar must not span more than 1024 characters");g=!0}if(s.inFlow){if(h||null==t)return y&&i&&i(),""===v?"?":g?`? ${v}`:v}else if(h&&!f||null==t&&g)return v=`? ${v}`,m&&!y?v+=tL(v,s.indent,u(m)):x&&r&&r(),v;y&&(m=null),g?(m&&(v+=tL(v,s.indent,u(m))),v=`? ${v} 10${c}:`):(v=`${v}:`,m&&(v+=tL(v,s.indent,u(m)))),ts(t)?(n=!!t.spaceBefore,a=t.commentBefore,o=t.comment):(n=!1,a=null,o=null,t&&"object"==typeof t&&(t=l.createNode(t))),s.implicitKey=!1,!g&&!m&&e7(t)&&(s.indentAtStart=v.length+1),x=!1,!(!d&&p.length>=2&&!s.inFlow&&!g&&te(t))||t.flow||t.tag||t.anchor||(s.indent=s.indent.substring(2));let b=!1,k=tW(t,s,()=>b=!0,()=>x=!0),w=" ";if(m||n||a){if(w=n?"\n":"",a){let e=u(a);w+=` 11${tP(e,s.indent)}`}""!==k||s.inFlow?w+=` 12${s.indent}`:"\n"===w&&(w="\n\n")}else if(!g&&tt(t)){let e=k[0],i=k.indexOf("\n"),r=-1!==i,n=s.inFlow??t.flow??0===t.items.length;if(r||!n){let t=!1;if(r&&("&"===e||"!"===e)){let s=k.indexOf(" ");"&"===e&&-1!==s&&s<i&&"!"===k[s+1]&&(s=k.indexOf(" ",s+1)),(-1===s||i<s)&&(t=!0)}t||(w=` 13${s.indent}`)}}else(""===k||"\n"===k[0])&&(w="");return v+=w+k,s.inFlow?b&&i&&i():o&&!b?v+=tL(v,s.indent,u(o)):x&&r&&r(),v}(this,e,t,s):JSON.stringify(this)}}function tZ(e,t,s){return(t.inFlow??e.flow?function({items:e},t,{flowChars:s,itemIndent:i}){let{indent:r,indentStep:n,flowCollectionPadding:a,options:{commentString:o}}=t,h=Object.assign({},t,{indent:i+=n,inFlow:!0,type:null}
13),l=!1,c=0,p=[];for(let s=0;s<e.length;++s){let r=e[s],n=null;if(ts(r))r.spaceBefore&&p.push(""),t1(t,p,r.commentBefore,!1),r.comment&&(n=r.comment);else if(e8(r)){let e=ts(r.key)?r.key:null;e&&(e.spaceBefore&&p.push(""),t1(t,p,e.commentBefore,!1),e.comment&&(l=!0));let s=ts(r.value)?r.value:null;s?(s.comment&&(n=s.comment),s.commentBefore&&(l=!0)):null==r.value&&e?.comment&&(n=e.comment)}n&&(l=!0);let a=tW(r,h,()=>n=null);s<e.length-1&&(a+=","),n&&(a+=tL(a,i,o(n))),!l&&(p.length>c||a.includes("\n"))&&(l=!0),p.push(a),c=p.length}let{start:u,end:d}=s;if(0===p.length)return u+d;if(!l){let e=p.reduce((e,t)=>e+t.length+2,2);l=t.options.lineWidth>0&&e>t.options.lineWidth}if(!l)return`${u}${a}${p.join(" ")}${a}${d}`;{let e=u;for(let t of p)e+=t?` 14${n}${r}${t}`:"\n";return`${e} 15${r}${d}`}}:function({comment:e,items:t},s,{blockItemPrefix:i,flowChars:r,itemIndent:n,onChompKeep:a,onComment:o}){let h,{indent:l,options:{commentString:c}}=s,p=Object.assign({},s,{indent:n,type:null}),u=!1,d=[];for(let e=0;e<t.length;++e){let r=t[e],a=null;if(ts(r))!u&&r.spaceBefore&&d.push(""),t1(s,d,r.commentBefore,u),r.comment&&(a=r.comment);else if(e8(r)){let e=ts(r.key)?r.key:null;e&&(!u&&e.spaceBefore&&d.push(""),t1(s,d,e.commentBefore,u))}u=!1;let o=tW(r,p,()=>a=null,()=>u=!0);a&&(o+=tL(o,n,c(a))),u&&a&&(u=!1),d.push(i+o)}if(0===d.length)h=r.start+r.end;else{h=d[0];for(let e=1;e<d.length;++e){let t=d[e];h+=t?` 16${l}${t}`:"\n"}}return e?(h+="\n"+tP(c(e),l),o&&o()):u&&a&&a(),h})(e,t,s)}function t1({indent:e,options:{commentString:t}},s,i,r){if(i&&r&&(i=i.replace(/^\n+/,"")),i){let r=tP(t(i),e);s.push(r.trimStart())}}function t0(e,t){let s=e7(t)?t.value:t;for(let i of e)if(e8(i)&&(i.key===t||i.key===s||e7(i.key)&&i.key.value===s))return i}class t2 extends tN{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(e1,e),this.items=[]}static from(e,t,s){let{keepUndefined:i,replacer:r}=s,n=new this(e),a=(e,a)=>{if("function"==typeof r)a=r.call(t,e,a);else if(Array.isArray(r)&&!r.includes(e))return;(void 0!==a||i)&&n.items.push(tX(e,a,s))};if(t instanceof Map)for(let[e,s]of t)a(e,s);else if(t&&"object"==typeof t)for(let e of Object.keys(t))a(e,t[e]);return"function"==typeof e.sortMapEntries&&n.items.sort(e.sortMapEntries),n}add(e,t){let s;s=e8(e)?e:e&&"object"==typeof e&&"key"in e?new tY(e.key,e.value):new tY(e,e?.value);let i=t0(this.items,s.key),r=this.schema?.sortMapEntries;if(i){if(!t)throw Error(`Key ${s.key} already set`);e7(i.value)&&t_(s.value)?i.value.value=s.value:i.value=s.value}else if(r){let e=this.items.findIndex(e=>0>r(s,e));-1===e?this.items.push(s):this.items.splice(e,0,s)}else this.items.push(s)}delete(e){let t=t0(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let s=t0(this.items,e),i=s?.value;return(!t&&e7(i)?i.value:i)??void 0}has(e){return!!t0(this.items,e)}set(e,t){this.add(new tY(e,t),!0)}toJSON(e,t,s){let i=s?new s:t?.mapAsMap?new Map:{};for(let e of(t?.onCreate&&t.onCreate(i),this.items))tJ(t,i,e);return i}toString(e,t,s){if(!e)return JSON.stringify(this);for(let e of this.items)if(!e8(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),tZ(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:s,onComment:t})}}let t3={collection:"map",default:!0,nodeClass:t2,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(e9(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,s)=>t2.from(e,t,s)};class t6 extends tN{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(e3,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=t4(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){let s=t4(e);if("number"!=typeof s)return;let i=this.items[s];return!t&&e7(i)?i.value:i}has(e){let t=t4(e);return"number"==typeof t&&t<this.items.length}set(e,t){let s=t4(e);if("number"!=typeof s)throw Error(`Expected a valid index, not ${e}.`);let i=this.items[s];e7(i)&&t_(t)?i.value=t:this.items[s]=t}toJSON(e,t){let s=[];t?.onCreate&&t.onCreate(s);let i=0;for(let e of this.items)s.push(tk(e,String(i++),t));return s}
16toString(e,t,s){return e?tZ(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:s,onComment:t}):JSON.stringify(this)}static from(e,t,s){let{replacer:i}=s,r=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let n of t){if("function"==typeof i){let s=t instanceof Set?n:String(e++);n=i.call(t,s,n)}r.items.push(tC(n,void 0,s))}}return r}}function t4(e){let t=e7(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}let t5={collection:"seq",default:!0,nodeClass:t6,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(te(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,s)=>t6.from(e,t,s)},t9={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,s,i)=>t$(e,t=Object.assign({actualString:!0},t),s,i)},t8={identify:e=>null==e,createNode:()=>new tE(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new tE(null),stringify:({source:e},t)=>"string"==typeof e&&t8.test.test(e)?e:t.options.nullStr},t7={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new tE("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},s)=>e&&t7.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?s.options.trueStr:s.options.falseStr};function se({format:e,minFractionDigits:t,tag:s,value:i}){if("bigint"==typeof i)return String(i);let r="number"==typeof i?i:Number(i);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let n=JSON.stringify(i);if(!e&&t&&(!s||"tag:yaml.org,2002:float"===s)&&/^\d/.test(n)){let e=n.indexOf(".");e<0&&(e=n.length,n+=".");let s=t-(n.length-e-1);for(;s-- >0;)n+="0"}return n}let st={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:se},ss={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():se(e)}},si={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new tE(parseFloat(e)),s=e.indexOf(".");return -1!==s&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-s-1),t},stringify:se},sr=e=>"bigint"==typeof e||Number.isInteger(e),sn=(e,t,s,{intAsBigInt:i})=>i?BigInt(e):parseInt(e.substring(t),s);function sa(e,t,s){let{value:i}=e;return sr(i)&&i>=0?s+i.toString(t):se(e)}let so={identify:e=>sr(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,s)=>sn(e,2,8,s),stringify:e=>sa(e,8,"0o")},sh={identify:sr,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,s)=>sn(e,0,10,s),stringify:se},sl={identify:e=>sr(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,s)=>sn(e,2,16,s),stringify:e=>sa(e,16,"0x")},sc=[t3,t5,t9,t8,t7,so,sh,sl,st,ss,si];function sp(e){return"bigint"==typeof e||Number.isInteger(e)}let su=({value:e})=>JSON.stringify(e),sd=[t3,t5].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:su},{identify:e=>null==e,createNode:()=>new tE(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:su},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>"true"===e,stringify:su},{identify:sp,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:s})=>s?BigInt(e):parseInt(e,10),stringify:({value:e})=>sp(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:su}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),sf={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"!=typeof atob)return t("This environment does not support reading binary tags; either Buffer or atob is required"),e;{let t=atob(e.replace(/[\n\r]/g,"")),s=new Uint8Array(t.length);for(let e=0;e<t.length;++e)s[e]=t.charCodeAt(e);return s}}
16,stringify({comment:e,type:t,value:s},i,r,n){let a;if(!s)return"";if("function"==typeof btoa){let e="";for(let t=0;t<s.length;++t)e+=String.fromCharCode(s[t]);a=btoa(e)}else throw Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=tE.BLOCK_LITERAL),t!==tE.QUOTE_DOUBLE){let e=Math.max(i.options.lineWidth-i.indent.length,i.options.minContentWidth),s=Math.ceil(a.length/e),r=Array(s);for(let t=0,i=0;t<s;++t,i+=e)r[t]=a.substr(i,e);a=r.join(t===tE.BLOCK_LITERAL?"\n":" ")}return t$({comment:e,type:t,value:a},i,r,n)}};function sm(e,t){if(te(e))for(let s=0;s<e.items.length;++s){let i=e.items[s];if(!e8(i)){if(e9(i)){i.items.length>1&&t("Each pair must have its own sequence indicator");let e=i.items[0]||new tY(new tE(null));if(i.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${i.commentBefore} 17${e.key.commentBefore}`:i.commentBefore),i.comment){let t=e.value??e.key;t.comment=t.comment?`${i.comment} 18${t.comment}`:i.comment}i=e}e.items[s]=e8(i)?i:new tY(i)}}else t("Expected a sequence for this tag");return e}function sg(e,t,s){let{replacer:i}=s,r=new t6(e);r.tag="tag:yaml.org,2002:pairs";let n=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let a,o;if("function"==typeof i&&(e=i.call(t,String(n++),e)),Array.isArray(e))if(2===e.length)a=e[0],o=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`);else if(e&&e instanceof Object){let t=Object.keys(e);if(1===t.length)o=e[a=t[0]];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else a=e;r.items.push(tX(a,o,s))}return r}let sy={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:sm,createNode:sg};class sx extends t6{constructor(){super(),this.add=t2.prototype.add.bind(this),this.delete=t2.prototype.delete.bind(this),this.get=t2.prototype.get.bind(this),this.has=t2.prototype.has.bind(this),this.set=t2.prototype.set.bind(this),this.tag=sx.tag}toJSON(e,t){if(!t)return super.toJSON(e);let s=new Map;for(let e of(t?.onCreate&&t.onCreate(s),this.items)){let i,r;if(e8(e)?(i=tk(e.key,"",t),r=tk(e.value,i,t)):i=tk(e,"",t),s.has(i))throw Error("Ordered maps must not include duplicate keys");s.set(i,r)}return s}static from(e,t,s){let i=sg(e,t,s),r=new this;return r.items=i.items,r}}sx.tag="tag:yaml.org,2002:omap";let sv={collection:"seq",identify:e=>e instanceof Map,nodeClass:sx,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let s=sm(e,t),i=[];for(let{key:e}of s.items)e7(e)&&(i.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):i.push(e.value));return Object.assign(new sx,s)},createNode:(e,t,s)=>sx.from(e,t,s)};function sb({value:e,source:t},s){return t&&(e?sk:sw).test.test(t)?t:e?s.options.trueStr:s.options.falseStr}let sk={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new tE(!0),stringify:sb},sw={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new tE(!1),stringify:sb},sS=e=>"bigint"==typeof e||Number.isInteger(e);function s_(e,t,s,{intAsBigInt:i}){let r=e[0];if(("-"===r||"+"===r)&&(t+=1),e=e.substring(t).replace(/_/g,""),i){switch(s){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}let t=BigInt(e);return"-"===r?BigInt(-1)*t:t}let n=parseInt(e,s);return"-"===r?-1*n:n}function sE(e,t,s){let{value:i}=e;if(sS(i)){let e=i.toString(t);return i<0?"-"+s+e.substr(1):s+e}return se(e)}class sC extends t2{constructor(e){super(e),this.tag=sC.tag}add(e){let t;t=e8(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new tY(e.key,null):new tY(e,null),t0(this.items,t.key)||this.items.push(t)}get(e,t){let s=t0(this.items,e);return!t&&e8(s)?e7(s.key)?s.key.value:s.key:s}set(e,t){if("boolean"!=typeof t)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let s=t0(this.items,e);s&&!t?this.items.splice(this.items.indexOf(s),1):!s&&t&&this.items.push(new tY(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,s){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,s);throw Error("Set items must all have null values")}static from(e,t,s){let{replacer:i}=s,r=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof i&&(e=i.call(t,e,e)),r.items.push(tX(e,null,s));return r}}sC.tag="tag:yaml.org,2002:set";let sA={collection:"map",identify:e=>e instanceof Set,nodeClass:sC,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,s)=>sC.from(e,t,s),resolve(e,t){if(e9(e))if(e.hasAllNullValues(!0))return Object.assign(new sC,e);else t("Set items must all have null values");else t("Expected a mapping for this tag");return e}};function sI(e,t){let s=e[0],i="-"===s||"+"===s?e.substring(1):e,r=e=>t?BigInt(e):Number(e),n=i.replace(/_/g,"").split(":").reduce((e,t)=>
18e*r(60)+r(t),r(0));return"-"===s?r(-1)*n:n}function sN(e){let{value:t}=e,s=e=>e;if("bigint"==typeof t)s=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return se(e);let i="";t<0&&(i="-",t*=s(-1));let r=s(60),n=[t%r];return t<60?n.unshift(0):(t=(t-n[0])/r,n.unshift(t%r),t>=60&&(t=(t-n[0])/r,n.unshift(t))),i+n.map(e=>String(e).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}let sT={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:s})=>sI(e,s),stringify:sN},sP={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>sI(e,!1),stringify:sN},sL={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){let t=e.match(sL.test);if(!t)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,s,i,r,n,a,o]=t.map(Number),h=Date.UTC(s,i-1,r,n||0,a||0,o||0,t[7]?Number((t[7]+"00").substr(1,3)):0),l=t[8];if(l&&"Z"!==l){let e=sI(l,!1);30>Math.abs(e)&&(e*=60),h-=6e4*e}return new Date(h)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""},sO=[t3,t5,t9,t8,sk,sw,{identify:sS,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,s)=>s_(e,2,2,s),stringify:e=>sE(e,2,"0b")},{identify:sS,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,s)=>s_(e,1,8,s),stringify:e=>sE(e,8,"0")},{identify:sS,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,s)=>s_(e,0,10,s),stringify:se},{identify:sS,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,s)=>s_(e,2,16,s),stringify:e=>sE(e,16,"0x")},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:se},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():se(e)}},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new tE(parseFloat(e.replace(/_/g,""))),s=e.indexOf(".");if(-1!==s){let i=e.substring(s+1).replace(/_/g,"");"0"===i[i.length-1]&&(t.minFractionDigits=i.length)}return t},stringify:se},sf,tH,sv,sy,sA,sT,sP,sL],sV=new Map([["core",sc],["failsafe",[t3,t5,t9]],["json",sd],["yaml11",sO],["yaml-1.1",sO]]),sR={binary:sf,bool:t7,float:si,floatExp:ss,floatNaN:st,floatTime:sP,int:sh,intHex:sl,intOct:so,intTime:sT,map:t3,merge:tH,null:t8,omap:sv,pairs:sy,seq:t5,set:sA,timestamp:sL},sD={"tag:yaml.org,2002:binary":sf,"tag:yaml.org,2002:merge":tH,"tag:yaml.org,2002:omap":sv,"tag:yaml.org,2002:pairs":sy,"tag:yaml.org,2002:set":sA,"tag:yaml.org,2002:timestamp":sL};function sB(e,t,s){let i=sV.get(t);if(i&&!e)return s&&!i.includes(tH)?i.concat(tH):i.slice();let r=i;if(!r)if(Array.isArray(e))r=[];else{let e=Array.from(sV.keys()).filter(e=>"yaml11"!==e).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}if(Array.isArray(e))for(let t of e)r=r.concat(t);else"function"==typeof e&&(r=e(r.slice()));return s&&(r=r.concat(tH)),r.reduce((e,t)=>{let s="string"==typeof t?sR[t]:t;if(!s){let e=JSON.stringify(t),s=Object.keys(sR).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown custom tag ${e}; use one of ${s}`)}return e.includes(s)||e.push(s),e},[])}let sM=(e,t)=>e.key<t.key?-1:+(e.key>t.key);class sj{constructor({compat:e,customTags:t,merge:s,resolveKnownTags:i,schema:r,sortMapEntries:n,toStringDefaults:a}){this.compat=Array.isArray(e)?sB(e,"compat"):e?sB(null,e):null,this.name="string"==typeof r&&r||"core",this.knownTags=i?sD:{},this.tags=sB(t,this.name,s),this.toStringOptions=a??null,Object.defineProperty(this,e1,{value:t3}),Object.defineProperty(this,e2,{value:t9}),Object.defineProperty(this,e3,{value:t5}),this.sortMapEntries="function"==typeof n?n:!0===n?sM:null}clone(){let e=Object.create(sj.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class sF{constructor(e,t,s){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,e6,{value:eZ});let i=null;"function"==typeof t||Array.isArray(t)?i=t:void 0===s&&t&&(s=t,t=void 0);const r=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},s);this.options=r;let{version:n}=r;s?._directives?(this.directives=s._directives.atDocument(),this.directives.yaml.explicit&&(n=this.directives.yaml.version)):this.directives=new tg({ver
18sion:n}),this.setSchema(n,s),this.contents=void 0===e?null:this.createNode(e,i,s)}clone(){let e=Object.create(sF.prototype,{[e6]:{value:eZ}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=ts(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){sU(this.contents)&&this.contents.add(e)}addIn(e,t){sU(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let s=tx(this);e.anchor=!t||s.has(t)?tv(t||"a",s):t}return new tS(e.anchor)}createNode(e,t,s){var i,r;let n,a,o,h;if("function"==typeof t)e=t.call({"":e},"",e),n=t;else if(Array.isArray(t)){let e=t.filter(e=>"number"==typeof e||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),n=t}else void 0===s&&t&&(s=t,t=void 0);let{aliasDuplicateObjects:l,anchorPrefix:c,flow:p,keepUndefined:u,onTagObj:d,tag:f}=s??{},{onAnchor:m,setAnchors:g,sourceObjects:y}=(i=this,r=c||"a",a=[],o=new Map,h=null,{onAnchor:e=>{a.push(e),h??(h=tx(i));let t=tv(r,h);return h.add(t),t},setAnchors:()=>{for(let e of a){let t=o.get(e);if("object"==typeof t&&t.anchor&&(e7(t.node)||tt(t.node)))t.node.anchor=t.anchor;else{let t=Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}}},sourceObjects:o}),x={aliasDuplicateObjects:l??!0,keepUndefined:u??!1,onAnchor:m,onTagObj:d,replacer:n,schema:this.schema,sourceObjects:y},v=tC(e,f,x);return p&&tt(v)&&(v.flow=!0),g(),v}createPair(e,t,s={}){return new tY(this.createNode(e,null,s),this.createNode(t,null,s))}delete(e){return!!sU(this.contents)&&this.contents.delete(e)}deleteIn(e){return tI(e)?null!=this.contents&&(this.contents=null,!0):!!sU(this.contents)&&this.contents.deleteIn(e)}get(e,t){return tt(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return tI(e)?!t&&e7(this.contents)?this.contents.value:this.contents:tt(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!tt(this.contents)&&this.contents.has(e)}hasIn(e){return tI(e)?void 0!==this.contents:!!tt(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=tA(this.schema,[e],t):sU(this.contents)&&this.contents.set(e,t)}setIn(e,t){tI(e)?this.contents=t:null==this.contents?this.contents=tA(this.schema,Array.from(e),t):sU(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let s;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new tg({version:"1.1"}),s={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new tg({version:e}),s={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,s=null;break;default:{let t=JSON.stringify(e);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(s)this.schema=new sj(Object.assign(s,t));else throw Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:s,maxAliasCount:i,onAnchor:r,reviver:n}={}){let a={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===s,mapKeyWarned:!1,maxAliasCount:"number"==typeof i?i:100},o=tk(this.contents,t??"",a);if("function"==typeof r)for(let{count:e,res:t}of a.anchors.values())r(t,e);return"function"==typeof n?tb(n,{"":o},"",o):o}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||0>=Number(e.indent))){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){let s=[],i=!0===t.directives;if(!1!==t.directives&&e.directives){let t=e.directives.toString(e);t?(s.push(t),i=!0):e.directives.docStart&&(i=!0)}i&&s.push("---");let r=tK(e,t),{commentString:n}=r.options;if(e.commentBefore){1!==s.length&&s.unshift("");let t=n(e.commentBefore);s.unshift(tP(t,""))}let a=!1,o=null;if(e.contents){if(ts(e.contents)){if(e.contents.spaceBefore&&i&&s.push(""),e.contents.commentBefore){let t=n(e.contents.commentBefore);s.push(tP(t,""))}r.forceBlockIndent=!!e.comment,o=e.contents.comment}let t=o?void 0:()=>a=!0,h=tW(e.contents,r,()=>o=null,t);o&&(h+=tL(h,"",n(o))),("|"===h[0]||">"===h[0])&&"---"===s[s.length-1]?s[s.length-1]=`--- ${h}`:s.push(h)}else s.push(tW(e.contents,r));if(e.directives?.docEnd)if(e.comment){let t=n(e.comment);t.includes("\n")?(s.push("..."),s.push(tP(t,""))):s.push(`... ${t}`)}else s.push("...");else{let t=e.comment;t&&a&&(t=t.replace(/^\n+/,"")),t&&((!a||o)&&""!==s[s.length-1]&&s.push(""),s.push(tP(n(t),"")))}return s.join("\n")+"\n"}(this,e)}}function sU(e){if(tt(e))return!0;throw Error("Expected a YAML collection as document contents")}
18class sq extends Error{constructor(e,t,s,i){super(),this.name=e,this.code=s,this.message=i,this.pos=t}}class s$ extends sq{constructor(e,t,s){super("YAMLParseError",e,t,s)}}class sK extends sq{constructor(e,t,s){super("YAMLWarning",e,t,s)}}let sW=(e,t)=>s=>{if(-1===s.pos[0])return;s.linePos=s.pos.map(e=>t.linePos(e));let{line:i,col:r}=s.linePos[0];s.message+=` at line ${i}, column ${r}`;let n=r-1,a=e.substring(t.lineStarts[i-1],t.lineStarts[i]).replace(/[\n\r]+$/,"");if(n>=60&&a.length>80){let e=Math.min(n-39,a.length-79);a="â¦"+a.substring(e),n-=e-1}if(a.length>80&&(a=a.substring(0,79)+"â¦"),i>1&&/^ *$/.test(a.substring(0,n))){let s=e.substring(t.lineStarts[i-2],t.lineStarts[i-1]);s.length>80&&(s=s.substring(0,79)+"â¦\n"),a=s+a}if(/[^ ]/.test(a)){let e=1,t=s.linePos[1];t&&t.line===i&&t.col>r&&(e=Math.max(1,Math.min(t.col-r,80-n)));let o=" ".repeat(n)+"^".repeat(e);s.message+=`: 19 20${a} 21${o} 22`}};function sG(e,{flow:t,indicator:s,next:i,offset:r,onError:n,parentIndent:a,startOnNewline:o}){let h=!1,l=o,c=o,p="",u="",d=!1,f=!1,m=null,g=null,y=null,x=null,v=null,b=null,k=null;for(let r of e)switch(f&&("space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&n(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),f=!1),m&&(l&&"comment"!==r.type&&"newline"!==r.type&&n(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),m=null),r.type){case"space":!t&&("doc-start"!==s||i?.type!=="flow-collection")&&r.source.includes(" ")&&(m=r),c=!0;break;case"comment":{c||n(r,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let e=r.source.substring(1)||" ";p?p+=u+e:p=e,u="",l=!1;break}case"newline":l?p?p+=r.source:b&&"seq-item-ind"===s||(h=!0):u+=r.source,l=!0,d=!0,(g||y)&&(x=r),c=!0;break;case"anchor":g&&n(r,"MULTIPLE_ANCHORS","A node can have at most one anchor"),r.source.endsWith(":")&&n(r.offset+r.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=r,k??(k=r.offset),l=!1,c=!1,f=!0;break;case"tag":y&&n(r,"MULTIPLE_TAGS","A node can have at most one tag"),y=r,k??(k=r.offset),l=!1,c=!1,f=!0;break;case s:(g||y)&&n(r,"BAD_PROP_ORDER",`Anchors and tags must be after the ${r.source} indicator`),b&&n(r,"UNEXPECTED_TOKEN",`Unexpected ${r.source} in ${t??"collection"}`),b=r,l="seq-item-ind"===s||"explicit-key-ind"===s,c=!1;break;case"comma":if(t){v&&n(r,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),v=r,l=!1,c=!1;break}default:n(r,"UNEXPECTED_TOKEN",`Unexpected ${r.type} token`),l=!1,c=!1}let w=e[e.length-1],S=w?w.offset+w.source.length:r;return f&&i&&"space"!==i.type&&"newline"!==i.type&&"comma"!==i.type&&("scalar"!==i.type||""!==i.source)&&n(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m&&(l&&m.indent<=a||i?.type==="block-map"||i?.type==="block-seq")&&n(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:v,found:b,spaceBefore:h,comment:p,hasNewline:d,anchor:g,tag:y,newlineAfterProp:x,end:S,start:k??S}}function sH(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end){for(let t of e.end)if("newline"===t.type)return!0}return!1;case"flow-collection":for(let t of e.items){for(let e of t.start)if("newline"===e.type)return!0;if(t.sep){for(let e of t.sep)if("newline"===e.type)return!0}if(sH(t.key)||sH(t.value))return!0}return!1;default:return!0}}function sz(e,t,s){if(t?.type==="flow-collection"){let i=t.end[0];i.indent===e&&("]"===i.source||"}"===i.source)&&sH(t)&&s(i,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function sQ(e,t,s){let{uniqueKeys:i}=e.options;if(!1===i)return!1;let r="function"==typeof i?i:(e,t)=>e===t||e7(e)&&e7(t)&&e.value===t.value;return t.some(e=>r(e.key,s))}let sJ="All mapping items must start at the same column";function sX(e,t,s,i){let r="";if(e){let n=!1,a="";for(let o of e){let{source:e,type:h}=o;switch(h){case"space":n=!0;break;case"comment":{s&&!n&&i(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let t=e.substring(1)||" ";r?r+=a+t:r=t,a="";break}
22case"newline":r&&(a+=e),n=!0;break;default:i(o,"UNEXPECTED_TOKEN",`Unexpected ${h} at node end`)}t+=e.length}}return{comment:r,offset:t}}let sY="Block collections are not allowed within flow collections",sZ=e=>e&&("block-map"===e.type||"block-seq"===e.type);function s1(e,t,s,i,r,n){let a="block-map"===s.type?function({composeNode:e,composeEmptyNode:t},s,i,r,n){let a=new(n?.nodeClass??t2)(s.schema);s.atRoot&&(s.atRoot=!1);let o=i.offset,h=null;for(let n of i.items){let{start:l,key:c,sep:p,value:u}=n,d=sG(l,{indicator:"explicit-key-ind",next:c??p?.[0],offset:o,onError:r,parentIndent:i.indent,startOnNewline:!0}),f=!d.found;if(f){if(c&&("block-seq"===c.type?r(o,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in c&&c.indent!==i.indent&&r(o,"BAD_INDENT",sJ)),!d.anchor&&!d.tag&&!p){h=d.end,d.comment&&(a.comment?a.comment+="\n"+d.comment:a.comment=d.comment);continue}(d.newlineAfterProp||sH(c))&&r(c??l[l.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else d.found?.indent!==i.indent&&r(o,"BAD_INDENT",sJ);s.atKey=!0;let m=d.end,g=c?e(s,c,d,r):t(s,m,l,null,d,r);s.schema.compat&&sz(i.indent,c,r),s.atKey=!1,sQ(s,a.items,g)&&r(m,"DUPLICATE_KEY","Map keys must be unique");let y=sG(p??[],{indicator:"map-value-ind",next:u,offset:g.range[2],onError:r,parentIndent:i.indent,startOnNewline:!c||"block-scalar"===c.type});if(o=y.end,y.found){f&&(u?.type!=="block-map"||y.hasNewline||r(o,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),s.options.strict&&d.start<y.found.offset-1024&&r(g.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let h=u?e(s,u,y,r):t(s,o,p,null,y,r);s.schema.compat&&sz(i.indent,u,r),o=h.range[2];let l=new tY(g,h);s.options.keepSourceTokens&&(l.srcToken=n),a.items.push(l)}else{f&&r(g.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),y.comment&&(g.comment?g.comment+="\n"+y.comment:g.comment=y.comment);let e=new tY(g);s.options.keepSourceTokens&&(e.srcToken=n),a.items.push(e)}}return h&&h<o&&r(h,"IMPOSSIBLE","Map comment with trailing content"),a.range=[i.offset,o,h??o],a}(e,t,s,i,n):"block-seq"===s.type?function({composeNode:e,composeEmptyNode:t},s,i,r,n){let a=new(n?.nodeClass??t6)(s.schema);s.atRoot&&(s.atRoot=!1),s.atKey&&(s.atKey=!1);let o=i.offset,h=null;for(let{start:n,value:l}of i.items){let c=sG(n,{indicator:"seq-item-ind",next:l,offset:o,onError:r,parentIndent:i.indent,startOnNewline:!0});if(!c.found)if(c.anchor||c.tag||l)l&&"block-seq"===l.type?r(c.end,"BAD_INDENT","All sequence items must start at the same column"):r(o,"MISSING_CHAR","Sequence item without - indicator");else{h=c.end,c.comment&&(a.comment=c.comment);continue}let p=l?e(s,l,c,r):t(s,c.end,n,null,c,r);s.schema.compat&&sz(i.indent,l,r),o=p.range[2],a.items.push(p)}return a.range=[i.offset,o,h??o],a}(e,t,s,i,n):function({composeNode:e,composeEmptyNode:t},s,i,r,n){let a="{"===i.start.source,o=a?"flow map":"flow sequence",h=new(n?.nodeClass??(a?t2:t6))(s.schema);h.flow=!0;let l=s.atRoot;l&&(s.atRoot=!1),s.atKey&&(s.atKey=!1);let c=i.offset+i.start.source.length;for(let n=0;n<i.items.length;++n){let l=i.items[n],{start:p,key:u,sep:d,value:f}=l,m=sG(p,{flow:o,indicator:"explicit-key-ind",next:u??d?.[0],offset:c,onError:r,parentIndent:i.indent,startOnNewline:!1});if(!m.found){if(!m.anchor&&!m.tag&&!d&&!f){0===n&&m.comma?r(m.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`):n<i.items.length-1&&r(m.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${o}
22`),m.comment&&(h.comment?h.comment+="\n"+m.comment:h.comment=m.comment),c=m.end;continue}!a&&s.options.strict&&sH(u)&&r(u,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===n)m.comma&&r(m.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`);else if(m.comma||r(m.start,"MISSING_CHAR",`Missing , between ${o} items`),m.comment){let e="";e:for(let t of p)switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break e;default:break e}if(e){let t=h.items[h.items.length-1];e8(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,m.comment=m.comment.substring(e.length+1)}}if(a||d||m.found){s.atKey=!0;let n=m.end,g=u?e(s,u,m,r):t(s,n,p,null,m,r);sZ(u)&&r(g.range,"BLOCK_IN_FLOW",sY),s.atKey=!1;let y=sG(d??[],{flow:o,indicator:"map-value-ind",next:f,offset:g.range[2],onError:r,parentIndent:i.indent,startOnNewline:!1});if(y.found){if(!a&&!m.found&&s.options.strict){if(d)for(let e of d){if(e===y.found)break;if("newline"===e.type){r(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}m.start<y.found.offset-1024&&r(y.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else f&&("source"in f&&f.source&&":"===f.source[0]?r(f,"MISSING_CHAR",`Missing space after : in ${o}`):r(y.start,"MISSING_CHAR",`Missing , or : between ${o} items`));let x=f?e(s,f,y,r):y.found?t(s,y.end,d,null,y,r):null;x?sZ(f)&&r(x.range,"BLOCK_IN_FLOW",sY):y.comment&&(g.comment?g.comment+="\n"+y.comment:g.comment=y.comment);let v=new tY(g,x);if(s.options.keepSourceTokens&&(v.srcToken=l),a)sQ(s,h.items,g)&&r(n,"DUPLICATE_KEY","Map keys must be unique"),h.items.push(v);else{let e=new t2(s.schema);e.flow=!0,e.items.push(v);let t=(x??g).range;e.range=[g.range[0],t[1],t[2]],h.items.push(e)}c=x?x.range[2]:y.end}else{let i=f?e(s,f,m,r):t(s,m.end,d,null,m,r);h.items.push(i),c=i.range[2],sZ(f)&&r(i.range,"BLOCK_IN_FLOW",sY)}}let p=a?"}":"]",[u,...d]=i.end,f=c;if(u&&u.source===p)f=u.offset+u.source.length;else{let e=o[0].toUpperCase()+o.substring(1),t=l?`${e} must end with a ${p}`:`${e} in block collection must be sufficiently indented and end with a ${p}`;r(c,l?"MISSING_CHAR":"BAD_INDENT",t),u&&1!==u.source.length&&d.unshift(u)}if(d.length>0){let e=sX(d,f,s.options.strict,r);
22e.comment&&(h.comment?h.comment+="\n"+e.comment:h.comment=e.comment),h.range=[i.offset,f,e.offset]}else h.range=[i.offset,f,f];return h}(e,t,s,i,n),o=a.constructor;return"!"===r||r===o.tagName?a.tag=o.tagName:r&&(a.tag=r),a}function s0(e,t,s){let i=t.offset,r=function({offset:e,props:t},s,i){if("block-scalar-header"!==t[0].type)return i(t[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:r}=t[0],n=r[0],a=0,o="",h=-1;for(let t=1;t<r.length;++t){let s=r[t];if(o||"-"!==s&&"+"!==s){let i=Number(s);!a&&i?a=i:-1===h&&(h=e+t)}else o=s}-1!==h&&i(h,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${r}`);let l=!1,c="",p=r.length;for(let e=1;e<t.length;++e){let r=t[e];switch(r.type){case"space":l=!0;case"newline":p+=r.source.length;break;case"comment":s&&!l&&i(r,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),p+=r.source.length,c=r.source.substring(1);break;case"error":i(r,"UNEXPECTED_TOKEN",r.message),p+=r.source.length;break;default:{let e=`Unexpected token in block scalar header: ${r.type}`;i(r,"UNEXPECTED_TOKEN",e);let t=r.source;t&&"string"==typeof t&&(p+=t.length)}}}return{mode:n,indent:a,chomp:o,comment:c,length:p}}(t,e.options.strict,s);if(!r)return{value:"",type:null,comment:"",range:[i,i,i]};let n=">"===r.mode?tE.BLOCK_FOLDED:tE.BLOCK_LITERAL,a=t.source?function(e){let t=e.split(/\n( *)/),s=t[0],i=s.match(/^( *)/),r=[i?.[1]?[i[1],s.slice(i[1].length)]:["",s]];for(let e=1;e<t.length;e+=2)r.push([t[e],t[e+1]]);return r}(t.source):[],o=a.length;for(let e=a.length-1;e>=0;--e){let t=a[e][1];if(""===t||"\r"===t)o=e;else break}if(0===o){let e="+"===r.chomp&&a.length>0?"\n".repeat(Math.max(1,a.length-1)):"",s=i+r.length;return t.source&&(s+=t.source.length),{value:e,type:n,comment:r.comment,range:[i,s,s]}}let h=t.indent+r.indent,l=t.offset+r.length,c=0;for(let t=0;t<o;++t){let[i,n]=a[t];if(""===n||"\r"===n)0===r.indent&&i.length>h&&(h=i.length);else{i.length<h&&s(l+i.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),0===r.indent&&(h=i.length),c=t,0!==h||e.atRoot||s(l,"BAD_INDENT","Block scalar values in collections must be indented");break}l+=i.length+n.length+1}for(let e=a.length-1;e>=o;--e)a[e][0].length>h&&(o=e+1);let p="",u="",d=!1;for(let e=0;e<c;++e)p+=a[e][0].slice(h)+"\n";for(let e=c;e<o;++e){let[t,i]=a[e];l+=t.length+i.length+1;let o="\r"===i[i.length-1];if(o&&(i=i.slice(0,-1)),i&&t.length<h){let e=r.indent?"explicit indentation indicator":"first line",n=`Block scalar lines must not be less indented than their ${e}`;s(l-i.length-(o?2:1),"BAD_INDENT",n),t=""}n===tE.BLOCK_LITERAL?(p+=u+t.slice(h)+i,u="\n"):t.length>h||" "===i[0]?(" "===u?u="\n":d||"\n"!==u||(u="\n\n"),p+=u+t.slice(h)+i,u="\n",d=!0):""===i?"\n"===u?p+="\n":u="\n":(p+=u+i,u=" ",d=!1)}switch(r.chomp){case"-":break;case"+":for(let e=o;e<a.length;++e)p+="\n"+a[e][0].slice(h);"\n"!==p[p.length-1]&&(p+="\n");break;default:p+="\n"}let f=i+r.length+t.source.length;return{value:p,type:n,comment:r.comment,range:[i,f,f]}}function s2(e,t,s){let i,r,{offset:n,type:a,source:o,end:h}=e,l=(e,t,i)=>s(n+e,t,i);switch(a){case"scalar":i=tE.PLAIN,r=function(e,t){let s="";switch(e[0]){case" ":s="a tab character";break;case",":s="flow indicator character ,";break;case"%":s="directive indicator character %";break;case"|":case">":s=`block scalar indicator ${e[0]}`;break;case"@":case"`":s=`reserved character ${e[0]}`}return s&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${s}`),s3(e)}(o,l);break;case"single-quoted-scalar":var c,p;i=tE.QUOTE_SINGLE,c=o,p=l,("'"!==c[c.length-1]||1===c.length)&&p(c.length,"MISSING_CHAR","Missing closing 'quote"),r=s3(c.slice(1,-1)).replace(/''/g,"'");break;case"double-quoted-scalar":i=tE.QUOTE_DOUBLE,r=function(e,t){let s="";for(let i=1;i<e.length-1;++i){let r=e[i];if("\r"!==r||"\n"!==e[i+1])if("\n"===r){let{fold:t,offset:r}=function(e,t){let s="",i=e[t+1];for(;(" "===i||" "===i||"\n"===i||"\r"===i)&&("\r"!==i||"\n"===e[t+2]);)"\n"===i&&(s+="\n"),t+=1,i=e[t+1];return s||(s=" "),{fold:s,offset:t}}(e,i);s+=t,i=r}else if("\\"===r){let r=e[++i],n=s6[r];if(n)s+=n;else if("\n"===r)for(r=e[i+1];" "===r||" "===r;)r=e[++i+1];else if("\r"===r&&"\n"===e[i+1])for(r=e[++i+1];" "===r||" "===r;)r=e[++i+1];else if("x"===r||"u"===r||"U"===r){let n={x:2,u:4,U:8}[r];s+=function(e,t,s,i){let r=e.substr(t,s),n=r.length===s&&/^[0-9a-fA-F]+$/.test(r)?parseInt(r,16):NaN;if(isNaN(n)){let r=e.substr(t-2,s+2);return i(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${r}`),r}return String.fromCodePoint(n)}(e,i+1,n,t),i+=n}else{let r=e.substr(i-1,2);t(i-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${r}`),s+=r}}else if(" "===r||" "===r){let t=i,n=e[i+1];for(;" "===n||" "===n;)n=e[++i+1];"\n"!==n&&("\r"!==n||"\n"!==e[i+2])&&(s+=i>t?e.slice(t,i+1):r)}else s+=r}return('"'!==e[e.length-1]||1===e.length)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),s}(o,l);break;default:return s(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${a}`),{value:"",type:null,comment:"",range:[n,n+o.length,n+o.length]}}let u=n+o.length,d=sX(h,u,t,s);return{value:r,type:i,comment:d.comment,range:[n,u,d.offset]}}function s3(e){let t,s;
22try{t=RegExp("(.*?)(?<![ ])[ ]*\r?\n","sy"),s=RegExp("[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?\n","sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,s=/[ \t]*(.*?)[ \t]*\r?\n/sy}let i=t.exec(e);if(!i)return e;let r=i[1],n=" ",a=t.lastIndex;for(s.lastIndex=a;i=s.exec(e);)""===i[1]?"\n"===n?r+=n:n="\n":(r+=n+i[1],n=" "),a=s.lastIndex;let o=/[ \t]*(.*)/sy;return o.lastIndex=a,i=o.exec(e),r+n+(i?.[1]??"")}let s6={0:"\0",a:"\x07",b:"\b",e:"\x1b",f:"\f",n:"\n",r:"\r",t:" ",v:"\v",N:"Â
",_:"Â ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function s4(e,t,s,i){let r,n,{value:a,type:o,comment:h,range:l}="block-scalar"===t.type?s0(e,t,i):s2(t,e.options.strict,i),c=s?e.directives.tagName(s.source,e=>i(s,"TAG_RESOLVE_FAILED",e)):null;r=e.options.stringKeys&&e.atKey?e.schema[e2]:c?function(e,t,s,i,r){if("!"===s)return e[e2];let n=[];for(let t of e.tags)if(!t.collection&&t.tag===s)if(!t.default||!t.test)return t;else n.push(t);for(let e of n)if(e.test?.test(t))return e;let a=e.knownTags[s];return a&&!a.collection?(e.tags.push(Object.assign({},a,{default:!1,test:void 0})),a):(r(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,"tag:yaml.org,2002:str"!==s),e[e2])}(e.schema,a,c,s,i):"scalar"===t.type?function({atKey:e,directives:t,schema:s},i,r,n){let a=s.tags.find(t=>(!0===t.default||e&&"key"===t.default)&&t.test?.test(i))||s[e2];if(s.compat){let e=s.compat.find(e=>e.default&&e.test?.test(i))??s[e2];if(a.tag!==e.tag){let s=t.tagString(a.tag),i=t.tagString(e.tag);n(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${s} or ${i}`,!0)}}return a}(e,a,t,i):e.schema[e2];try{let o=r.resolve(a,e=>i(s??t,"TAG_RESOLVE_FAILED",e),e.options);n=e7(o)?o:new tE(o)}catch(e){i(s??t,"TAG_RESOLVE_FAILED",e instanceof Error?e.message:String(e)),n=new tE(a)}return n.range=l,n.source=a,o&&(n.type=o),c&&(n.tag=c),r.format&&(n.format=r.format),h&&(n.comment=h),n}let s5={composeNode:s9,composeEmptyNode:s8};function s9(e,t,s,i){let r,n=e.atKey,{spaceBefore:a,comment:o,anchor:h,tag:l}=s,c=!0;switch(t.type){case"alias":r=function({options:e},{offset:t,source:s,end:i},r){let n=new tS(s.substring(1));""===n.source&&r(t,"BAD_ALIAS","Alias cannot be an empty string"),n.source.endsWith(":")&&r(t+s.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let a=t+s.length,o=sX(i,a,e.strict,r);return n.range=[t,a,o.offset],o.comment&&(n.comment=o.comment),n}(e,t,i),(h||l)&&i(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":r=s4(e,t,l,i),h&&(r.anchor=h.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":r=function(e,t,s,i,r){let n=i.tag,a=n?t.directives.tagName(n.source,e=>r(n,"TAG_RESOLVE_FAILED",e)):null;if("block-seq"===s.type){let{anchor:e,newlineAfterProp:t}=i,s=e&&n?e.offset>n.offset?e:n:e??n;s&&(!t||t.offset<s.offset)&&r(s,"MISSING_CHAR","Missing newline after block sequence props")}let o="block-map"===s.type?"map":"block-seq"===s.type?"seq":"{"===s.start.source?"map":"seq";if(!n||!a||"!"===a||a===t2.tagName&&"map"===o||a===t6.tagName&&"seq"===o)return s1(e,t,s,r,a);let h=t.schema.tags.find(e=>e.tag===a&&e.collection===o);if(!h){let i=t.schema.knownTags[a];if(!i||i.collection!==o)return i?r(n,"BAD_COLLECTION_TYPE",`${i.tag} used for ${o} collection, but expects ${i.collection??"scalar"}`,!0):r(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${a}`,!0),s1(e,t,s,r,a);t.schema.tags.push(Object.assign({},i,{default:!1})),h=i}let l=s1(e,t,s,r,a,h),c=h.resolve?.(l,e=>r(n,"TAG_RESOLVE_FAILED",e),t.options)??l,p=ts(c)?c:new tE(c);return p.range=l.range,p.tag=a,h?.format&&(p.format=h.format),p}(s5,e,t,s,i),h&&(r.anchor=h.source.substring(1));break;default:{let n="error"===t.type?t.message:`Unsupported token (type: ${t.type})`;i(t,"UNEXPECTED_TOKEN",n),r=s8(e,t.offset,void 0,null,s,i),c=!1}}return h&&""===r.anchor&&i(h,"BAD_ALIAS","Anchor cannot be an empty string"),n&&e.options.stringKeys&&(!e7(r)||"string"!=typeof r.value||r.tag&&"tag:yaml.org,2002:str"!==r.tag)&&i(l??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),a&&(r.spaceBefore=!0),o&&("scalar"===t.type&&""===t.source?r.comment=o:r.commentBefore=o),e.options.keepSourceTokens&&c&&(r.srcToken=t),r}function s8(e,t,s,i,{spaceBefore:r,comment:n,anchor:a,tag:o,end:h},l){let c=s4(e,{type:"scalar",offset:function(e,t,s){if(t){s??(s=t.length);for(let i=s-1;i>=0;--i){let s=t[i];switch(s.type){case"space":case"comment":case"newline":e-=s.source.length;continue}for(s=t[++i];s?.type==="space";)e+=s.source.length,s=t[++i];break}}return e}(t,s,i),indent:-1,source:""},o,l);
22return a&&(c.anchor=a.source.substring(1),""===c.anchor&&l(a,"BAD_ALIAS","Anchor cannot be an empty string")),r&&(c.spaceBefore=!0),n&&(c.comment=n,c.range[2]=h),c}function s7(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];let{offset:t,source:s}=e;return[t,t+("string"==typeof s?s.length:1)]}function ie(e){let t="",s=!1,i=!1;for(let r=0;r<e.length;++r){let n=e[r];switch(n[0]){case"#":t+=(""===t?"":i?"\n\n":"\n")+(n.substring(1)||" "),s=!0,i=!1;break;case"%":e[r+1]?.[0]!=="#"&&(r+=1),s=!1;break;default:s||(i=!0),s=!1}}return{comment:t,afterEmptyLine:i}}class it{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,s,i)=>{let r=s7(e);i?this.warnings.push(new sK(r,t,s)):this.errors.push(new s$(r,t,s))},this.directives=new tg({version:e.version||"1.2"}),this.options=e}decorate(e,t){let{comment:s,afterEmptyLine:i}=ie(this.prelude);if(s){let r=e.contents;if(t)e.comment=e.comment?`${e.comment} 23${s}`:s;else if(i||e.directives.docStart||!r)e.commentBefore=s;else if(tt(r)&&!r.flow&&r.items.length>0){let e=r.items[0];e8(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${s} 24${t}`:s}else{let e=r.commentBefore;r.commentBefore=e?`${s} 25${e}`:s}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:ie(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,s=-1){for(let t of e)yield*this.next(t);yield*this.end(t,s)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,(t,s,i)=>{let r=s7(e);r[0]+=t,this.onError(r,"BAD_DIRECTIVE",s,i)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let t=function(e,t,{offset:s,start:i,value:r,end:n},a){let o=new sF(void 0,Object.assign({_directives:t},e)),h={atKey:!1,atRoot:!0,directives:o.directives,options:o.options,schema:o.schema},l=sG(i,{indicator:"doc-start",next:r??n?.[0],offset:s,onError:a,parentIndent:0,startOnNewline:!0});l.found&&(o.directives.docStart=!0,r&&("block-map"===r.type||"block-seq"===r.type)&&!l.hasNewline&&a(l.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),o.contents=r?s9(h,r,l,a):s8(h,l.end,i,null,l,a);let c=o.contents.range[2],p=sX(n,c,!1,a);return p.comment&&(o.comment=p.comment),o.range=[s,c,p.offset],o}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{let t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,s=new s$(s7(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(s):this.doc.errors.push(s);break}case"doc-end":{if(!this.doc){this.errors.push(new s$(s7(e),"UNEXPECTED_TOKEN","Unexpected doc-end without preceding document"));break}this.doc.directives.docEnd=!0;let t=sX(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){let e=this.doc.comment;this.doc.comment=e?`${e} 26${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new s$(s7(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let e=new sF(void 0,Object.assign({_directives:this.directives},this.options));this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),e.range=[0,t,t],this.decorate(e,!1),yield e}}}function is(e,t=!0,s){if(e){let i=(e,t,i)=>{let r="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(s)s(r,t,i);else throw new s$([r,r+1],t,i)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return s2(e,t,i);case"block-scalar":return s0({options:{strict:t}},e,i)}}return null}function ii(e,t){let{implicitKey:s=!1,indent:i,inFlow:r=!1,offset:n=-1,type:a="PLAIN"}=t,o=t$({type:a,value:e},{implicitKey:s,indent:i>0?" ".repeat(i):"",inFlow:r,options:{blockQuote:!0,lineWidth:-1}}),h=t.end??[{type:"newline",offset:-1,indent:i,source:"\n"}];switch(o[0]){case"|":case">":{let e=o.indexOf("\n"),t=o.substring(0,e),s=o.substring(e+1)+"\n",r=[{type:"block-scalar-header",offset:n,indent:i,source:t}];return ia(r,h)||r.push({type:"newline",offset:-1,indent:i,source:"\n"}),{type:"block-scalar",offset:n,indent:i,props:r,source:s}}case'"':return{type:"double-quoted-scalar",offset:n,indent:i,source:o,end:h};case"'":return{type:"single-quoted-scalar",offset:n,indent:i,source:o,end:h};default:return{type:"scalar",offset:n,indent:i,source:o,end:h}}}function ir(e,t,s={}
26){let{afterKey:i=!1,implicitKey:r=!1,inFlow:n=!1,type:a}=s,o="indent"in e?e.indent:null;if(i&&"number"==typeof o&&(o+=2),!a)switch(e.type){case"single-quoted-scalar":a="QUOTE_SINGLE";break;case"double-quoted-scalar":a="QUOTE_DOUBLE";break;case"block-scalar":{let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");a=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:a="PLAIN"}let h=t$({type:a,value:t},{implicitKey:r||null===o,indent:null!==o&&o>0?" ".repeat(o):"",inFlow:n,options:{blockQuote:!0,lineWidth:-1}});switch(h[0]){case"|":case">":!function(e,t){let s=t.indexOf("\n"),i=t.substring(0,s),r=t.substring(s+1)+"\n";if("block-scalar"===e.type){let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");t.source=i,e.source=r}else{let{offset:t}=e,s="indent"in e?e.indent:-1,n=[{type:"block-scalar-header",offset:t,indent:s,source:i}];for(let t of(ia(n,"end"in e?e.end:void 0)||n.push({type:"newline",offset:-1,indent:s,source:"\n"}),Object.keys(e)))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:s,props:n,source:r})}}(e,h);break;case'"':io(e,h,"double-quoted-scalar");break;case"'":io(e,h,"single-quoted-scalar");break;default:io(e,h,"scalar")}}function ia(e,t){if(t)for(let s of t)switch(s.type){case"space":case"comment":e.push(s);break;case"newline":return e.push(s),!0}return!1}function io(e,t,s){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=s,e.source=t;break;case"block-scalar":{let i=e.props.slice(1),r=t.length;for(let t of("block-scalar-header"===e.props[0].type&&(r-=e.props[0].source.length),i))t.offset+=r;delete e.props,Object.assign(e,{type:s,source:t,end:i});break}case"block-map":case"block-seq":{let i={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:s,source:t,end:[i]});break}default:{let i="indent"in e?e.indent:-1,r="end"in e&&Array.isArray(e.end)?e.end.filter(e=>"space"===e.type||"comment"===e.type||"newline"===e.type):[];for(let t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:s,indent:i,source:t,end:r})}}}let ih=e=>"type"in e?il(e):ic(e);function il(e){switch(e.type){case"block-scalar":{let t="";for(let s of e.props)t+=il(s);return t+e.source}case"block-map":case"block-seq":{let t="";for(let s of e.items)t+=ic(s);return t}case"flow-collection":{let t=e.start.source;for(let s of e.items)t+=ic(s);for(let s of e.end)t+=s.source;return t}case"document":{let t=ic(e);if(e.end)for(let s of e.end)t+=s.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(let s of e.end)t+=s.source;return t}}}function ic({start:e,key:t,sep:s,value:i}){let r="";for(let t of e)r+=t.source;if(t&&(r+=il(t)),s)for(let e of s)r+=e.source;return i&&(r+=il(i)),r}let ip=Symbol("break visit"),iu=Symbol("skip children"),id=Symbol("remove item");function im(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),function e(t,s,i){let r=i(s,t);if("symbol"==typeof r)return r;for(let n of["key","value"]){let a=s[n];if(a&&"items"in a){for(let s=0;s<a.items.length;++s){let r=e(Object.freeze(t.concat([[n,s]])),a.items[s],i);if("number"==typeof r)s=r-1;else{if(r===ip)return ip;r===id&&(a.items.splice(s,1),s-=1)}}"function"==typeof r&&"key"===n&&(r=r(s,t))}}return"function"==typeof r?r(s,t):r}(Object.freeze([]),e,t)}im.BREAK=ip,im.SKIP=iu,im.REMOVE=id,im.itemAtPath=(e,t)=>{let s=e;for(let[e,i]of t){let t=s?.[e];if(!t||!("items"in t))return;s=t.items[i]}return s},im.parentCollection=(e,t)=>{let s=im.itemAtPath(e,t.slice(0,-1)),i=t[t.length-1][0],r=s?.[i];if(r&&"items"in r)return r;throw Error("Parent collection not found")};let ig=e=>!!e&&"items"in e,iy=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type);function ix(e){switch(e){case"\uFEFF":return"<BOM>";case"\x02":return"<DOC>";case"\x18":return"<FLOW_END>";case"\x1f":return"<SCALAR>";default:return JSON.stringify(e)}}function iv(e){switch(e){case"\uFEFF":return"byte-order-mark";case"\x02":return"doc-mode";case"\x18":return"flow-error-end";case"\x1f":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";
26case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}e.s(["BOM",()=>"\uFEFF","DOCUMENT",()=>"\x02","FLOW_END",()=>"\x18","SCALAR",()=>"\x1f","isCollection",()=>ig,"isScalar",()=>iy,"prettyToken",()=>ix,"tokenType",()=>iv],319707),e.i(319707),e.s(["BOM",()=>"\uFEFF","DOCUMENT",()=>"\x02","FLOW_END",()=>"\x18","SCALAR",()=>"\x1f","createScalarToken",()=>ii,"isCollection",()=>ig,"isScalar",()=>iy,"prettyToken",()=>ix,"resolveAsScalar",()=>is,"setScalarValue",()=>ir,"stringify",()=>ih,"tokenType",()=>iv,"visit",()=>im],539511);var ib=e.i(539511);function ik(e){switch(e){case void 0:case" ":case"\n":case"\r":case" ":return!0;default:return!1}}let iw=new Set("0123456789ABCDEFabcdef"),iS=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),i_=new Set(",[]{}"),iE=new Set(" ,[]{}\n\r "),iC=e=>!e||iE.has(e);class iA{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if("string"!=typeof e)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let s=this.next??"stream";for(;s&&(t||this.hasChars(1));)s=yield*this.parseNext(s)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||" "===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let s=0;for(;" "===t;)t=this.buffer[++s+e];if("\r"===t){let t=this.buffer[s+e+1];if("\n"===t||!t&&!this.atEnd)return e+s+1}return"\n"!==t&&!(s>=this.indentNext)&&(t||this.atEnd)?-1:e+s}if("-"===t||"."===t){let t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&ik(this.buffer[e+3]))return -1}return e}getLine(){let e=this.lineEndPos;return(("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e)?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if("\uFEFF"===e[0]&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length,s=e.indexOf("#");for(;-1!==s;){let i=e[s-1];if(" "===i||" "===i){t=s-1;break}s=e.indexOf("#",s+1)}for(;;){let s=e[t-1];if(" "===s||" "===s)t-=1;else break}let i=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){let t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield"\x02",yield*this.parseLineStart()}*parseLineStart(){let e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");let e=this.peek(3);if(("---"===e||"..."===e)&&ik(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"---"===e?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!ik(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&ik(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";
26case"*":return yield*this.pushUntil(iC),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=yield*this.parseBlockScalarHeader(),t+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,s=-1;do(e=yield*this.pushNewline())>0?(t=yield*this.pushSpaces(!1),this.indentValue=s=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0)let i=this.getLine();if(null===i)return this.setNext("flow");if((-1!==s&&s<this.indentNext&&"#"!==i[0]||0===s&&(i.startsWith("---")||i.startsWith("..."))&&ik(i[3]))&&(s!==this.indentNext-1||1!==this.flowLevel||"]"!==i[0]&&"}"!==i[0]))return this.flowLevel=0,yield"\x18",yield*this.parseLineStart();let r=0;for(;","===i[r];)r+=yield*this.pushCount(1),r+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(i[r+=yield*this.pushIndicators()]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-r),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(iC),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let e=this.charAt(1);if(this.flowKey||ik(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let e=this.charAt(0),t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break;t=this.buffer.indexOf('"',t+1)}let s=this.buffer.substring(0,t),i=s.indexOf("\n",this.pos);if(-1!==i){for(;-1!==i;){let e=this.continueScalar(i+1);if(-1===e)break;i=s.indexOf("\n",e)}-1!==i&&(t=i-("\r"===s[i-1]?2:1))}if(-1===t){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){let t=this.buffer[++e];if("+"===t)this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil(e=>ik(e)||"#"===e)}*parseBlockScalar(){let e,t=this.pos-1,s=0;e:for(let i=this.pos;e=this.buffer[i];++i)switch(e){case" ":s+=1;break;case"\n":t=i,s=0;break;case"\r":{let e=this.buffer[i+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(s>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=s:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{let e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t)if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let i=t+1;for(e=this.buffer[i];" "===e;)e=this.buffer[++i];if(" "===e){for(;" "===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++i];t=i-1}else if(!this.blockScalarKeep)for(;;){let e=t-1,i=this.buffer[e];"\r"===i&&(i=this.buffer[--e]);let r=e;for(;" "===i;)i=this.buffer[--e];if("\n"===i&&e>=this.pos&&e+1+s>r)t=e;else break}return yield"\x1f",yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e,t=this.flowLevel>0,s=this.pos-1,i=this.pos-1;for(;e=this.buffer[++i];)if(":"===e){let e=this.buffer[i+1];if(ik(e)||t&&i_.has(e))break;s=i}else if(ik(e)){let r=this.buffer[i+1];if("\r"===e&&("\n"===r?(i+=1,e="\n",r=this.buffer[i+1]):s=i),"#"===r||t&&i_.has(r))break;if("\n"===e){let e=this.continueScalar(i+1);if(-1===e)break;i=Math.max(i,e-2)}}else{if(t&&i_.has(e))break;s=i}return e||this.atEnd?(yield"\x1f",yield*this.pushToIndex(s+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let s=this.buffer.slice(this.pos,e);return s?(yield s,this.pos+=s.length,s.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(iC))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{let e=this.flowLevel>0,t=this.charAt(1);if(ik(t)||e&&i_.has(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!ik(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(iS.has(t))t=this.buffer[++e];else if("%"===t&&iw.has(this.buffer[e+1])&&iw.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,s=this.pos-1;do t=this.buffer[++s];while(" "===t||e&&" "===t)let i=s-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=s),i}*pushUntil(e){let t=this.pos,s=this.buffer[t];for(;!e(s);)s=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class iI{constructor(){this.lineStarts=[],this.addNewLine=e=>
26this.lineStarts.push(e),this.linePos=e=>{let t=0,s=this.lineStarts.length;for(;t<s;){let i=t+s>>1;this.lineStarts[i]<e?t=i+1:s=i}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(0===t)return{line:0,col:e};let i=this.lineStarts[t-1];return{line:t,col:e-i+1}}}}function iN(e,t){for(let s=0;s<e.length;++s)if(e[s].type===t)return!0;return!1}function iT(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return -1}function iP(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function iL(e){switch(e.type){case"document":return e.start;case"block-map":{let t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function iO(e){if(0===e.length)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function iV(e){if("flow-seq-start"===e.start.type)for(let t of e.items)!t.sep||t.value||iN(t.start,"explicit-key-ind")||iN(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,iP(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class iR{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new iA,this.onNewLine=e}*parse(e,t=!1){for(let s of(this.onNewLine&&0===this.offset&&this.onNewLine(0),this.lexer.lex(e,t)))yield*this.next(s);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let t=iv(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{let t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if("doc-end"===this.type&&(!e||"doc-end"!==e.type)){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{let e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&iV(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{let s=e.items[e.items.length-1];if(s.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}if(s.sep)s.value=t;else{Object.assign(s,{key:t,sep:[]}),this.onKeyLine=!s.explicitKey;return}break}case"block-seq":{let s=e.items[e.items.length-1];s.value?e.items.push({start:[],value:t}):s.value=t;break}case"flow-collection":{let s=e.items[e.items.length-1];!s||s.value?e.items.push({start:[],key:t,sep:[]}):s.sep?s.value=t:Object.assign(s,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if(("document"===e.type||"block-map"===e.type||"block-seq"===e.type)&&("block-map"===t.type||"block-seq"===t.type)){let s=t.items[t.items.length-1];s&&!s.sep&&!s.value&&s.start.length>0&&-1===iT(s.start)&&(0===t.indent||s.start.every(e=>"comment"!==e.type||e.indent<t.indent))&&("document"===e.type?e.end=s.start:e.items.push({start:s.start}),t.items.splice(-1,1))}}else yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{let e={type:"document",offset:this.offset,start:[]};"doc-start"===this.type&&e.start.push(this.sourceToken),this.stack.push(e);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":-1!==iT(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken);return;case"anchor":case"tag":case"space":case"comment":case"newline":e.start.push(this.sourceToken);return}let t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}
26*scalar(e){if("map-value-ind"===this.type){let t,s=iO(iL(this.peek(2)));e.end?((t=e.end).push(this.sourceToken),delete e.end):t=[this.sourceToken];let i={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:s,key:e,sep:t}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":e.props.push(this.sourceToken);return;case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){let s="end"in t.value?t.value.end:void 0,i=Array.isArray(s)?s[s.length-1]:void 0;i?.type==="comment"?s?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){let s=e.items[e.items.length-2],i=s?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,t.start),i.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let s=!this.onKeyLine&&this.indent===e.indent,i=s&&(t.sep||t.explicitKey)&&"seq-item-ind"!==this.type,r=[];if(i&&t.sep&&!t.value){let s=[];for(let i=0;i<t.sep.length;++i){let r=t.sep[i];switch(r.type){case"newline":s.push(i);break;case"space":break;case"comment":r.indent>e.indent&&(s.length=0);break;default:s.length=0}}s.length>=2&&(r=t.sep.splice(s[1]))}switch(this.type){case"anchor":case"tag":i||t.value?(r.push(this.sourceToken),e.items.push({start:r}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"explicit-key-ind":t.sep||t.explicitKey?i||t.value?(r.push(this.sourceToken),e.items.push({start:r,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(t.start.push(this.sourceToken),t.explicitKey=!0),this.onKeyLine=!0;return;case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(iN(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]});else if(iP(t.key)&&!iN(t.sep,"newline")){let e=iO(t.start),s=t.key,i=t.sep;i.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:s,sep:i}]})}else r.length>0?t.sep=t.sep.concat(r,this.sourceToken):t.sep.push(this.sourceToken);else if(iN(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=iO(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||i?e.items.push({start:r,key:null,sep:[this.sourceToken]}):iN(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let s=this.flowScalar(this.type);i||t.value?(e.items.push({start:r,key:s,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(s):(Object.assign(t,{key:s,sep:[]}),this.onKeyLine=!0);return}default:{let i=this.startBlockValue(e);if(i){if("block-seq"===i.type){if(!t.explicitKey&&t.sep&&!iN(t.sep,"newline"))return void(yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source}))}else s&&e.items.push({start:r});this.stack.push(i);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){let s="end"in t.value?t.value.end:void 0,i=Array.isArray(s)?s[s.length-1]:void 0;i?.type==="comment"?s?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let s=e.items[e.items.length-2],i=s?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,t.start),i.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;t.value||iN(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do yield*this.pop(),e=this.peek(1);while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case"map-value-ind":!t||t.value?e.items.push({start:[],key:null,
26sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let s=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:s,sep:[]}):t.sep?this.stack.push(s):Object.assign(t,{key:s,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let s=this.startBlockValue(e);s?this.stack.push(s):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if("block-map"!==t.type||("map-value-ind"!==this.type||t.indent!==e.indent)&&("newline"!==this.type||t.items[t.items.length-1].sep))if("map-value-ind"===this.type&&"flow-collection"!==t.type){let s=iO(iL(t));iV(e);let i=e.end.splice(1,e.end.length);i.push(this.sourceToken);let r={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:s,key:e,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(e);else yield*this.pop(),yield*this.step()}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let t=iO(iL(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let t=iO(iL(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every(e=>"newline"===e.type||"space"===e.type)}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function iD(e){let t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new iI||null,prettyErrors:t}}function iB(e,t={}){let{lineCounter:s,prettyErrors:i}=iD(t),r=new iR(s?.addNewLine),n=new it(t),a=Array.from(n.compose(r.parse(e)));if(i&&s)for(let t of a)t.errors.forEach(sW(e,s)),t.warnings.forEac
26h(sW(e,s));return a.length>0?a:Object.assign([],{empty:!0},n.streamInfo())}function iM(e,t={}){let{lineCounter:s,prettyErrors:i}=iD(t),r=new iR(s?.addNewLine),n=new it(t),a=null;for(let t of n.compose(r.parse(e),!0,e.length))if(a){if("silent"!==a.options.logLevel){a.errors.push(new s$(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else a=t;return i&&s&&(a.errors.forEach(sW(e,s)),a.warnings.forEach(sW(e,s))),a}function ij(e,t,s){let i;"function"==typeof t?i=t:void 0===s&&t&&"object"==typeof t&&(s=t);let r=iM(e,s);if(!r)return null;if(r.warnings.forEach(e=>tG(r.options.logLevel,e)),r.errors.length>0)if("silent"!==r.options.logLevel)throw r.errors[0];else r.errors=[];return r.toJS(Object.assign({reviver:i},s))}function iF(e,t,s){let i=null;if("function"==typeof t||Array.isArray(t)?i=t:void 0===s&&t&&(s=t),"string"==typeof s&&(s=s.length),"number"==typeof s){let e=Math.round(s);s=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){let{keepUndefined:e}=s??t??{};if(!e)return}return e5(e)&&!i?e.toString(s):new sF(e,i,s).toString(s)}e.s([],611706),e.i(611706),e.s(["Alias",()=>tS,"CST",0,ib,"Composer",()=>it,"Document",()=>sF,"Lexer",()=>iA,"LineCounter",()=>iI,"Pair",()=>tY,"Parser",()=>iR,"Scalar",()=>tE,"Schema",()=>sj,"YAMLError",()=>sq,"YAMLMap",()=>t2,"YAMLParseError",()=>s$,"YAMLSeq",()=>t6,"YAMLWarning",()=>sK,"isAlias",()=>e4,"isCollection",()=>tt,"isDocument",()=>e5,"isMap",()=>e9,"isNode",()=>ts,"isPair",()=>e8,"isScalar",()=>e7,"isSeq",()=>te,"parse",()=>ij,"parseAllDocuments",()=>iB,"parseDocument",()=>iM,"stringify",()=>iF,"visit",()=>to,"visitAsync",()=>tl],76947),e.i(76947),e.i(393065),e.i(53051),e.i(939049);var iU=e.i(728675);e.i(446207),new iU.default,e.i(812878),e.i(642616),e.i(599198),e.s([],741820)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.