valaxy 0.7.0 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/components/PostCard.vue +1 -1
- package/dist/{chunk-35O5DRGK.mjs → chunk-6MWMH5HB.mjs} +21 -21
- package/dist/{chunk-RGBLPQZ2.js → chunk-EFF4TH4Z.js} +20 -20
- package/dist/node/cli.js +4 -4
- package/dist/node/cli.mjs +3 -3
- package/dist/node/index.js +1 -1
- package/dist/node/index.mjs +1 -1
- package/index.d.ts +3 -0
- package/package.json +4 -2
- package/shared/index.ts +20 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkCDIW2WTIjs = require('./chunk-CDIW2WTI.js');var Al=_chunkCDIW2WTIjs.b.call(void 0, os=>{os.remove=bm;var as=[{base:" ",chars:"\xA0"},{base:"0",chars:"\u07C0"},{base:"A",chars:"\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"},{base:"AA",chars:"\uA732"},{base:"AE",chars:"\xC6\u01FC\u01E2"},{base:"AO",chars:"\uA734"},{base:"AU",chars:"\uA736"},{base:"AV",chars:"\uA738\uA73A"},{base:"AY",chars:"\uA73C"},{base:"B",chars:"\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0181"},{base:"C",chars:"\u24B8\uFF23\uA73E\u1E08\u0106C\u0108\u010A\u010C\xC7\u0187\u023B"},{base:"D",chars:"\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018A\u0189\u1D05\uA779"},{base:"Dh",chars:"\xD0"},{base:"DZ",chars:"\u01F1\u01C4"},{base:"Dz",chars:"\u01F2\u01C5"},{base:"E",chars:"\u025B\u24BA\uFF25\xC8\xC9\xCA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\xCB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E\u1D07"},{base:"F",chars:"\uA77C\u24BB\uFF26\u1E1E\u0191\uA77B"},{base:"G",chars:"\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E\u0262"},{base:"H",chars:"\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D"},{base:"I",chars:"\u24BE\uFF29\xCC\xCD\xCE\u0128\u012A\u012C\u0130\xCF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197"},{base:"J",chars:"\u24BF\uFF2A\u0134\u0248\u0237"},{base:"K",chars:"\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2"},{base:"L",chars:"\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780"},{base:"LJ",chars:"\u01C7"},{base:"Lj",chars:"\u01C8"},{base:"M",chars:"\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C\u03FB"},{base:"N",chars:"\uA7A4\u0220\u24C3\uFF2E\u01F8\u0143\xD1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u019D\uA790\u1D0E"},{base:"NJ",chars:"\u01CA"},{base:"Nj",chars:"\u01CB"},{base:"O",chars:"\u24C4\uFF2F\xD2\xD3\xD4\u1ED2\u1ED0\u1ED6\u1ED4\xD5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\xD6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\xD8\u01FE\u0186\u019F\uA74A\uA74C"},{base:"OE",chars:"\u0152"},{base:"OI",chars:"\u01A2"},{base:"OO",chars:"\uA74E"},{base:"OU",chars:"\u0222"},{base:"P",chars:"\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754"},{base:"Q",chars:"\u24C6\uFF31\uA756\uA758\u024A"},{base:"R",chars:"\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782"},{base:"S",chars:"\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784"},{base:"T",chars:"\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786"},{base:"Th",chars:"\xDE"},{base:"TZ",chars:"\uA728"},{base:"U",chars:"\u24CA\uFF35\xD9\xDA\xDB\u0168\u1E78\u016A\u1E7A\u016C\xDC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244"},{base:"V",chars:"\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245"},{base:"VY",chars:"\uA760"},{base:"W",chars:"\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72"},{base:"X",chars:"\u24CD\uFF38\u1E8A\u1E8C"},{base:"Y",chars:"\u24CE\uFF39\u1EF2\xDD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE"},{base:"Z",chars:"\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762"},{base:"a",chars:"\u24D0\uFF41\u1E9A\xE0\xE1\xE2\u1EA7\u1EA5\u1EAB\u1EA9\xE3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\xE4\u01DF\u1EA3\xE5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250\u0251"},{base:"aa",chars:"\uA733"},{base:"ae",chars:"\xE6\u01FD\u01E3"},{base:"ao",chars:"\uA735"},{base:"au",chars:"\uA737"},{base:"av",chars:"\uA739\uA73B"},{base:"ay",chars:"\uA73D"},{base:"b",chars:"\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253\u0182"},{base:"c",chars:"\uFF43\u24D2\u0107\u0109\u010B\u010D\xE7\u1E09\u0188\u023C\uA73F\u2184"},{base:"d",chars:"\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\u018B\u13E7\u0501\uA7AA"},{base:"dh",chars:"\xF0"},{base:"dz",chars:"\u01F3\u01C6"},{base:"e",chars:"\u24D4\uFF45\xE8\xE9\xEA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\xEB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u01DD"},{base:"f",chars:"\u24D5\uFF46\u1E1F\u0192"},{base:"ff",chars:"\uFB00"},{base:"fi",chars:"\uFB01"},{base:"fl",chars:"\uFB02"},{base:"ffi",chars:"\uFB03"},{base:"ffl",chars:"\uFB04"},{base:"g",chars:"\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\uA77F\u1D79"},{base:"h",chars:"\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265"},{base:"hv",chars:"\u0195"},{base:"i",chars:"\u24D8\uFF49\xEC\xED\xEE\u0129\u012B\u012D\xEF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131"},{base:"j",chars:"\u24D9\uFF4A\u0135\u01F0\u0249"},{base:"k",chars:"\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3"},{base:"l",chars:"\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747\u026D"},{base:"lj",chars:"\u01C9"},{base:"m",chars:"\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F"},{base:"n",chars:"\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u043B\u0509"},{base:"nj",chars:"\u01CC"},{base:"o",chars:"\u24DE\uFF4F\xF2\xF3\xF4\u1ED3\u1ED1\u1ED7\u1ED5\xF5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\xF6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\xF8\u01FF\uA74B\uA74D\u0275\u0254\u1D11"},{base:"oe",chars:"\u0153"},{base:"oi",chars:"\u01A3"},{base:"oo",chars:"\uA74F"},{base:"ou",chars:"\u0223"},{base:"p",chars:"\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755\u03C1"},{base:"q",chars:"\u24E0\uFF51\u024B\uA757\uA759"},{base:"r",chars:"\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783"},{base:"s",chars:"\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u0282"},{base:"ss",chars:"\xDF"},{base:"t",chars:"\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787"},{base:"th",chars:"\xFE"},{base:"tz",chars:"\uA729"},{base:"u",chars:"\u24E4\uFF55\xF9\xFA\xFB\u0169\u1E79\u016B\u1E7B\u016D\xFC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289"},{base:"v",chars:"\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C"},{base:"vy",chars:"\uA761"},{base:"w",chars:"\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73"},{base:"x",chars:"\u24E7\uFF58\u1E8B\u1E8D"},{base:"y",chars:"\u24E8\uFF59\u1EF3\xFD\u0177\u1EF9\u0233\u1E8F\xFF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF"},{base:"z",chars:"\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763"}],Sa={};for(pi=0;pi<as.length;pi+=1)for(Ta=as[pi].chars,ss=0;ss<Ta.length;ss+=1)Sa[Ta[ss]]=as[pi].base;var Ta,ss,pi;function bm(P){return P.replace(/[^\u0000-\u007e]/g,function(N){return Sa[N]||N})}os.replacementList=as;os.diacriticsMap=Sa});var Rl=_chunkCDIW2WTIjs.b.call(void 0, (vv,jl)=>{(()=>{var P={"./node_modules/create-require/create-require.js":(A,e,c)=>{let n=c("module"),t=c("path"),r=c("fs");A.exports=function(i){return i||(i=process.cwd()),function(a){try{return r.lstatSync(a).isDirectory()}catch (e2){return!1}}(i)&&(i=t.join(i,"index.js")),n.createRequire?n.createRequire(i):n.createRequireFromPath?n.createRequireFromPath(i):function(a){let u=new n.Module(a,null);return u.filename=a,u.paths=n.Module._nodeModulePaths(t.dirname(a)),u._compile("module.exports = require;",a),u.exports}(i)}},"./node_modules/lru-cache/index.js":(A,e,c)=>{"use strict";let n=c("./node_modules/yallist/yallist.js"),t=Symbol("max"),r=Symbol("length"),i=Symbol("lengthCalculator"),a=Symbol("allowStale"),u=Symbol("maxAge"),f=Symbol("dispose"),h=Symbol("noDisposeOnSet"),p=Symbol("lruList"),o=Symbol("cache"),y=Symbol("updateAgeOnGet"),d=()=>1,m=(O,x,M)=>{let $=O[o].get(x);if($){let H=$.value;if(S(O,H)){if(C(O,$),!O[a])return}else M&&(O[y]&&($.value.now=Date.now()),O[p].unshiftNode($));return H.value}},S=(O,x)=>{if(!x||!x.maxAge&&!O[u])return!1;let M=Date.now()-x.now;return x.maxAge?M>x.maxAge:O[u]&&M>O[u]},T=O=>{if(O[r]>O[t])for(let x=O[p].tail;O[r]>O[t]&&x!==null;){let M=x.prev;C(O,x),x=M}},C=(O,x)=>{if(x){let M=x.value;O[f]&&O[f](M.key,M.value),O[r]-=M.length,O[o].delete(M.key),O[p].removeNode(x)}};class v{constructor(x,M,$,H,Q){this.key=x,this.value=M,this.length=$,this.now=H,this.maxAge=Q||0}}let k=(O,x,M,$)=>{let H=M.value;S(O,H)&&(C(O,M),O[a]||(H=void 0)),H&&x.call($,H.value,H.key,O)};A.exports=class{constructor(O){if(typeof O=="number"&&(O={max:O}),O||(O={}),O.max&&(typeof O.max!="number"||O.max<0))throw new TypeError("max must be a non-negative number");this[t]=O.max||1/0;let x=O.length||d;if(this[i]=typeof x!="function"?d:x,this[a]=O.stale||!1,O.maxAge&&typeof O.maxAge!="number")throw new TypeError("maxAge must be a number");this[u]=O.maxAge||0,this[f]=O.dispose,this[h]=O.noDisposeOnSet||!1,this[y]=O.updateAgeOnGet||!1,this.reset()}set max(O){if(typeof O!="number"||O<0)throw new TypeError("max must be a non-negative number");this[t]=O||1/0,T(this)}get max(){return this[t]}set allowStale(O){this[a]=!!O}get allowStale(){return this[a]}set maxAge(O){if(typeof O!="number")throw new TypeError("maxAge must be a non-negative number");this[u]=O,T(this)}get maxAge(){return this[u]}set lengthCalculator(O){typeof O!="function"&&(O=d),O!==this[i]&&(this[i]=O,this[r]=0,this[p].forEach(x=>{x.length=this[i](x.value,x.key),this[r]+=x.length})),T(this)}get lengthCalculator(){return this[i]}get length(){return this[r]}get itemCount(){return this[p].length}rforEach(O,x){x=x||this;for(let M=this[p].tail;M!==null;){let $=M.prev;k(this,O,M,x),M=$}}forEach(O,x){x=x||this;for(let M=this[p].head;M!==null;){let $=M.next;k(this,O,M,x),M=$}}keys(){return this[p].toArray().map(O=>O.key)}values(){return this[p].toArray().map(O=>O.value)}reset(){this[f]&&this[p]&&this[p].length&&this[p].forEach(O=>this[f](O.key,O.value)),this[o]=new Map,this[p]=new n,this[r]=0}dump(){return this[p].map(O=>!S(this,O)&&{k:O.key,v:O.value,e:O.now+(O.maxAge||0)}).toArray().filter(O=>O)}dumpLru(){return this[p]}set(O,x,M){if((M=M||this[u])&&typeof M!="number")throw new TypeError("maxAge must be a number");let $=M?Date.now():0,H=this[i](x,O);if(this[o].has(O)){if(H>this[t])return C(this,this[o].get(O)),!1;let K=this[o].get(O).value;return this[f]&&(this[h]||this[f](O,K.value)),K.now=$,K.maxAge=M,K.value=x,this[r]+=H-K.length,K.length=H,this.get(O),T(this),!0}let Q=new v(O,x,H,$,M);return Q.length>this[t]?(this[f]&&this[f](O,x),!1):(this[r]+=Q.length,this[p].unshift(Q),this[o].set(O,this[p].head),T(this),!0)}has(O){if(!this[o].has(O))return!1;let x=this[o].get(O).value;return!S(this,x)}get(O){return m(this,O,!0)}peek(O){return m(this,O,!1)}pop(){let O=this[p].tail;return O?(C(this,O),O.value):null}del(O){C(this,this[o].get(O))}load(O){this.reset();let x=Date.now();for(let M=O.length-1;M>=0;M--){let $=O[M],H=$.e||0;if(H===0)this.set($.k,$.v);else{let Q=H-x;Q>0&&this.set($.k,$.v,Q)}}}prune(){this[o].forEach((O,x)=>m(this,x,!1))}}},"./node_modules/mkdirp/index.js":(A,e,c)=>{let n=c("./node_modules/mkdirp/lib/opts-arg.js"),t=c("./node_modules/mkdirp/lib/path-arg.js"),{mkdirpNative:r,mkdirpNativeSync:i}=c("./node_modules/mkdirp/lib/mkdirp-native.js"),{mkdirpManual:a,mkdirpManualSync:u}=c("./node_modules/mkdirp/lib/mkdirp-manual.js"),{useNative:f,useNativeSync:h}=c("./node_modules/mkdirp/lib/use-native.js"),p=(o,y)=>(o=t(o),y=n(y),f(y)?r(o,y):a(o,y));p.sync=(o,y)=>(o=t(o),y=n(y),h(y)?i(o,y):u(o,y)),p.native=(o,y)=>r(t(o),n(y)),p.manual=(o,y)=>a(t(o),n(y)),p.nativeSync=(o,y)=>i(t(o),n(y)),p.manualSync=(o,y)=>u(t(o),n(y)),A.exports=p},"./node_modules/mkdirp/lib/find-made.js":(A,e,c)=>{let{dirname:n}=c("path"),t=(i,a,u)=>u===a?Promise.resolve():i.statAsync(a).then(f=>f.isDirectory()?u:void 0,f=>f.code==="ENOENT"?t(i,n(a),a):void 0),r=(i,a,u)=>{if(u!==a)try{return i.statSync(a).isDirectory()?u:void 0}catch(f){return f.code==="ENOENT"?r(i,n(a),a):void 0}};A.exports={findMade:t,findMadeSync:r}},"./node_modules/mkdirp/lib/mkdirp-manual.js":(A,e,c)=>{let{dirname:n}=c("path"),t=(i,a,u)=>{a.recursive=!1;let f=n(i);return f===i?a.mkdirAsync(i,a).catch(h=>{if(h.code!=="EISDIR")throw h}):a.mkdirAsync(i,a).then(()=>u||i,h=>{if(h.code==="ENOENT")return t(f,a).then(p=>t(i,a,p));if(h.code!=="EEXIST"&&h.code!=="EROFS")throw h;return a.statAsync(i).then(p=>{if(p.isDirectory())return u;throw h},()=>{throw h})})},r=(i,a,u)=>{let f=n(i);if(a.recursive=!1,f===i)try{return a.mkdirSync(i,a)}catch(h){if(h.code!=="EISDIR")throw h;return}try{return a.mkdirSync(i,a),u||i}catch(h){if(h.code==="ENOENT")return r(i,a,r(f,a,u));if(h.code!=="EEXIST"&&h.code!=="EROFS")throw h;try{if(!a.statSync(i).isDirectory())throw h}catch (e3){throw h}}};A.exports={mkdirpManual:t,mkdirpManualSync:r}},"./node_modules/mkdirp/lib/mkdirp-native.js":(A,e,c)=>{let{dirname:n}=c("path"),{findMade:t,findMadeSync:r}=c("./node_modules/mkdirp/lib/find-made.js"),{mkdirpManual:i,mkdirpManualSync:a}=c("./node_modules/mkdirp/lib/mkdirp-manual.js");A.exports={mkdirpNative:(u,f)=>(f.recursive=!0,n(u)===u?f.mkdirAsync(u,f):t(f,u).then(h=>f.mkdirAsync(u,f).then(()=>h).catch(p=>{if(p.code==="ENOENT")return i(u,f);throw p}))),mkdirpNativeSync:(u,f)=>{if(f.recursive=!0,n(u)===u)return f.mkdirSync(u,f);let h=r(f,u);try{return f.mkdirSync(u,f),h}catch(p){if(p.code==="ENOENT")return a(u,f);throw p}}}},"./node_modules/mkdirp/lib/opts-arg.js":(A,e,c)=>{let{promisify:n}=c("util"),t=c("fs");A.exports=r=>{if(r)if(typeof r=="object")r={mode:511,fs:t,...r};else if(typeof r=="number")r={mode:r,fs:t};else{if(typeof r!="string")throw new TypeError("invalid options argument");r={mode:parseInt(r,8),fs:t}}else r={mode:511,fs:t};return r.mkdir=r.mkdir||r.fs.mkdir||t.mkdir,r.mkdirAsync=n(r.mkdir),r.stat=r.stat||r.fs.stat||t.stat,r.statAsync=n(r.stat),r.statSync=r.statSync||r.fs.statSync||t.statSync,r.mkdirSync=r.mkdirSync||r.fs.mkdirSync||t.mkdirSync,r}},"./node_modules/mkdirp/lib/path-arg.js":(A,e,c)=>{let n=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,{resolve:t,parse:r}=c("path");A.exports=i=>{if(/\0/.test(i))throw Object.assign(new TypeError("path must be a string without null bytes"),{path:i,code:"ERR_INVALID_ARG_VALUE"});if(i=t(i),n==="win32"){let a=/[*|"<>?:]/,{root:u}=r(i);if(a.test(i.substr(u.length)))throw Object.assign(new Error("Illegal characters in path."),{path:i,code:"EINVAL"})}return i}},"./node_modules/mkdirp/lib/use-native.js":(A,e,c)=>{let n=c("fs"),t=(process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version).replace(/^v/,"").split("."),r=+t[0]>10||+t[0]==10&&+t[1]>=12,i=r?u=>u.mkdir===n.mkdir:()=>!1,a=r?u=>u.mkdirSync===n.mkdirSync:()=>!1;A.exports={useNative:i,useNativeSync:a}},"./node_modules/mlly/dist lazy recursive":A=>{function e(c){return Promise.resolve().then(()=>{var n=new Error("Cannot find module '"+c+"'");throw n.code="MODULE_NOT_FOUND",n})}e.keys=()=>[],e.resolve=e,e.id="./node_modules/mlly/dist lazy recursive",A.exports=e},"./node_modules/object-hash/index.js":(A,e,c)=>{"use strict";var n=c("crypto");function t(p,o){return function(y,d){var m;if(m=d.algorithm!=="passthrough"?n.createHash(d.algorithm):new h,m.write===void 0&&(m.write=m.update,m.end=m.update),f(d,m).dispatch(y),m.update||m.end(""),m.digest)return m.digest(d.encoding==="buffer"?void 0:d.encoding);var S=m.read();return d.encoding==="buffer"?S:S.toString(d.encoding)}(p,o=a(p,o))}(e=A.exports=t).sha1=function(p){return t(p)},e.keys=function(p){return t(p,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},e.MD5=function(p){return t(p,{algorithm:"md5",encoding:"hex"})},e.keysMD5=function(p){return t(p,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var r=n.getHashes?n.getHashes().slice():["sha1","md5"];r.push("passthrough");var i=["buffer","hex","binary","base64"];function a(p,o){o=o||{};var y={};if(y.algorithm=o.algorithm||"sha1",y.encoding=o.encoding||"hex",y.excludeValues=!!o.excludeValues,y.algorithm=y.algorithm.toLowerCase(),y.encoding=y.encoding.toLowerCase(),y.ignoreUnknown=o.ignoreUnknown===!0,y.respectType=o.respectType!==!1,y.respectFunctionNames=o.respectFunctionNames!==!1,y.respectFunctionProperties=o.respectFunctionProperties!==!1,y.unorderedArrays=o.unorderedArrays===!0,y.unorderedSets=o.unorderedSets!==!1,y.unorderedObjects=o.unorderedObjects!==!1,y.replacer=o.replacer||void 0,y.excludeKeys=o.excludeKeys||void 0,p===void 0)throw new Error("Object argument required.");for(var d=0;d<r.length;++d)r[d].toLowerCase()===y.algorithm.toLowerCase()&&(y.algorithm=r[d]);if(r.indexOf(y.algorithm)===-1)throw new Error('Algorithm "'+y.algorithm+'" not supported. supported values: '+r.join(", "));if(i.indexOf(y.encoding)===-1&&y.algorithm!=="passthrough")throw new Error('Encoding "'+y.encoding+'" not supported. supported values: '+i.join(", "));return y}function u(p){return typeof p!="function"?!1:/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(p))!=null}function f(p,o,y){y=y||[];var d=function(m){return o.update?o.update(m,"utf8"):o.write(m,"utf8")};return{dispatch:function(m){p.replacer&&(m=p.replacer(m));var S=typeof m;return m===null&&(S="null"),this["_"+S](m)},_object:function(m){var S=Object.prototype.toString.call(m),T=/\[object (.*)\]/i.exec(S);T=(T=T?T[1]:"unknown:["+S+"]").toLowerCase();var C;if((C=y.indexOf(m))>=0)return this.dispatch("[CIRCULAR:"+C+"]");if(y.push(m),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(m))return d("buffer:"),d(m);if(T==="object"||T==="function"||T==="asyncfunction"){var v=Object.keys(m);p.unorderedObjects&&(v=v.sort()),p.respectType===!1||u(m)||v.splice(0,0,"prototype","__proto__","constructor"),p.excludeKeys&&(v=v.filter(function(O){return!p.excludeKeys(O)})),d("object:"+v.length+":");var k=this;return v.forEach(function(O){k.dispatch(O),d(":"),p.excludeValues||k.dispatch(m[O]),d(",")})}if(!this["_"+T]){if(p.ignoreUnknown)return d("["+T+"]");throw new Error('Unknown object type "'+T+'"')}this["_"+T](m)},_array:function(m,S){S=S!==void 0?S:p.unorderedArrays!==!1;var T=this;if(d("array:"+m.length+":"),!S||m.length<=1)return m.forEach(function(k){return T.dispatch(k)});var C=[],v=m.map(function(k){var O=new h,x=y.slice();return f(p,O,x).dispatch(k),C=C.concat(x.slice(y.length)),O.read().toString()});return y=y.concat(C),v.sort(),this._array(v,!1)},_date:function(m){return d("date:"+m.toJSON())},_symbol:function(m){return d("symbol:"+m.toString())},_error:function(m){return d("error:"+m.toString())},_boolean:function(m){return d("bool:"+m.toString())},_string:function(m){d("string:"+m.length+":"),d(m.toString())},_function:function(m){d("fn:"),u(m)?this.dispatch("[native]"):this.dispatch(m.toString()),p.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(m.name)),p.respectFunctionProperties&&this._object(m)},_number:function(m){return d("number:"+m.toString())},_xml:function(m){return d("xml:"+m.toString())},_null:function(){return d("Null")},_undefined:function(){return d("Undefined")},_regexp:function(m){return d("regex:"+m.toString())},_uint8array:function(m){return d("uint8array:"),this.dispatch(Array.prototype.slice.call(m))},_uint8clampedarray:function(m){return d("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(m))},_int8array:function(m){return d("uint8array:"),this.dispatch(Array.prototype.slice.call(m))},_uint16array:function(m){return d("uint16array:"),this.dispatch(Array.prototype.slice.call(m))},_int16array:function(m){return d("uint16array:"),this.dispatch(Array.prototype.slice.call(m))},_uint32array:function(m){return d("uint32array:"),this.dispatch(Array.prototype.slice.call(m))},_int32array:function(m){return d("uint32array:"),this.dispatch(Array.prototype.slice.call(m))},_float32array:function(m){return d("float32array:"),this.dispatch(Array.prototype.slice.call(m))},_float64array:function(m){return d("float64array:"),this.dispatch(Array.prototype.slice.call(m))},_arraybuffer:function(m){return d("arraybuffer:"),this.dispatch(new Uint8Array(m))},_url:function(m){return d("url:"+m.toString())},_map:function(m){d("map:");var S=Array.from(m);return this._array(S,p.unorderedSets!==!1)},_set:function(m){d("set:");var S=Array.from(m);return this._array(S,p.unorderedSets!==!1)},_file:function(m){return d("file:"),this.dispatch([m.name,m.size,m.type,m.lastModfied])},_blob:function(){if(p.ignoreUnknown)return d("[blob]");throw Error(`Hashing Blob objects is currently not supported
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkCDIW2WTIjs = require('./chunk-CDIW2WTI.js');var Al=_chunkCDIW2WTIjs.b.call(void 0, os=>{os.remove=bm;var as=[{base:" ",chars:"\xA0"},{base:"0",chars:"\u07C0"},{base:"A",chars:"\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"},{base:"AA",chars:"\uA732"},{base:"AE",chars:"\xC6\u01FC\u01E2"},{base:"AO",chars:"\uA734"},{base:"AU",chars:"\uA736"},{base:"AV",chars:"\uA738\uA73A"},{base:"AY",chars:"\uA73C"},{base:"B",chars:"\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0181"},{base:"C",chars:"\u24B8\uFF23\uA73E\u1E08\u0106C\u0108\u010A\u010C\xC7\u0187\u023B"},{base:"D",chars:"\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018A\u0189\u1D05\uA779"},{base:"Dh",chars:"\xD0"},{base:"DZ",chars:"\u01F1\u01C4"},{base:"Dz",chars:"\u01F2\u01C5"},{base:"E",chars:"\u025B\u24BA\uFF25\xC8\xC9\xCA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\xCB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E\u1D07"},{base:"F",chars:"\uA77C\u24BB\uFF26\u1E1E\u0191\uA77B"},{base:"G",chars:"\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E\u0262"},{base:"H",chars:"\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D"},{base:"I",chars:"\u24BE\uFF29\xCC\xCD\xCE\u0128\u012A\u012C\u0130\xCF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197"},{base:"J",chars:"\u24BF\uFF2A\u0134\u0248\u0237"},{base:"K",chars:"\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2"},{base:"L",chars:"\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780"},{base:"LJ",chars:"\u01C7"},{base:"Lj",chars:"\u01C8"},{base:"M",chars:"\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C\u03FB"},{base:"N",chars:"\uA7A4\u0220\u24C3\uFF2E\u01F8\u0143\xD1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u019D\uA790\u1D0E"},{base:"NJ",chars:"\u01CA"},{base:"Nj",chars:"\u01CB"},{base:"O",chars:"\u24C4\uFF2F\xD2\xD3\xD4\u1ED2\u1ED0\u1ED6\u1ED4\xD5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\xD6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\xD8\u01FE\u0186\u019F\uA74A\uA74C"},{base:"OE",chars:"\u0152"},{base:"OI",chars:"\u01A2"},{base:"OO",chars:"\uA74E"},{base:"OU",chars:"\u0222"},{base:"P",chars:"\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754"},{base:"Q",chars:"\u24C6\uFF31\uA756\uA758\u024A"},{base:"R",chars:"\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782"},{base:"S",chars:"\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784"},{base:"T",chars:"\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786"},{base:"Th",chars:"\xDE"},{base:"TZ",chars:"\uA728"},{base:"U",chars:"\u24CA\uFF35\xD9\xDA\xDB\u0168\u1E78\u016A\u1E7A\u016C\xDC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244"},{base:"V",chars:"\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245"},{base:"VY",chars:"\uA760"},{base:"W",chars:"\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72"},{base:"X",chars:"\u24CD\uFF38\u1E8A\u1E8C"},{base:"Y",chars:"\u24CE\uFF39\u1EF2\xDD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE"},{base:"Z",chars:"\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762"},{base:"a",chars:"\u24D0\uFF41\u1E9A\xE0\xE1\xE2\u1EA7\u1EA5\u1EAB\u1EA9\xE3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\xE4\u01DF\u1EA3\xE5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250\u0251"},{base:"aa",chars:"\uA733"},{base:"ae",chars:"\xE6\u01FD\u01E3"},{base:"ao",chars:"\uA735"},{base:"au",chars:"\uA737"},{base:"av",chars:"\uA739\uA73B"},{base:"ay",chars:"\uA73D"},{base:"b",chars:"\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253\u0182"},{base:"c",chars:"\uFF43\u24D2\u0107\u0109\u010B\u010D\xE7\u1E09\u0188\u023C\uA73F\u2184"},{base:"d",chars:"\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\u018B\u13E7\u0501\uA7AA"},{base:"dh",chars:"\xF0"},{base:"dz",chars:"\u01F3\u01C6"},{base:"e",chars:"\u24D4\uFF45\xE8\xE9\xEA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\xEB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u01DD"},{base:"f",chars:"\u24D5\uFF46\u1E1F\u0192"},{base:"ff",chars:"\uFB00"},{base:"fi",chars:"\uFB01"},{base:"fl",chars:"\uFB02"},{base:"ffi",chars:"\uFB03"},{base:"ffl",chars:"\uFB04"},{base:"g",chars:"\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\uA77F\u1D79"},{base:"h",chars:"\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265"},{base:"hv",chars:"\u0195"},{base:"i",chars:"\u24D8\uFF49\xEC\xED\xEE\u0129\u012B\u012D\xEF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131"},{base:"j",chars:"\u24D9\uFF4A\u0135\u01F0\u0249"},{base:"k",chars:"\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3"},{base:"l",chars:"\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747\u026D"},{base:"lj",chars:"\u01C9"},{base:"m",chars:"\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F"},{base:"n",chars:"\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u043B\u0509"},{base:"nj",chars:"\u01CC"},{base:"o",chars:"\u24DE\uFF4F\xF2\xF3\xF4\u1ED3\u1ED1\u1ED7\u1ED5\xF5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\xF6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\xF8\u01FF\uA74B\uA74D\u0275\u0254\u1D11"},{base:"oe",chars:"\u0153"},{base:"oi",chars:"\u01A3"},{base:"oo",chars:"\uA74F"},{base:"ou",chars:"\u0223"},{base:"p",chars:"\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755\u03C1"},{base:"q",chars:"\u24E0\uFF51\u024B\uA757\uA759"},{base:"r",chars:"\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783"},{base:"s",chars:"\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u0282"},{base:"ss",chars:"\xDF"},{base:"t",chars:"\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787"},{base:"th",chars:"\xFE"},{base:"tz",chars:"\uA729"},{base:"u",chars:"\u24E4\uFF55\xF9\xFA\xFB\u0169\u1E79\u016B\u1E7B\u016D\xFC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289"},{base:"v",chars:"\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C"},{base:"vy",chars:"\uA761"},{base:"w",chars:"\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73"},{base:"x",chars:"\u24E7\uFF58\u1E8B\u1E8D"},{base:"y",chars:"\u24E8\uFF59\u1EF3\xFD\u0177\u1EF9\u0233\u1E8F\xFF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF"},{base:"z",chars:"\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763"}],Sa={};for(pi=0;pi<as.length;pi+=1)for(Ta=as[pi].chars,ss=0;ss<Ta.length;ss+=1)Sa[Ta[ss]]=as[pi].base;var Ta,ss,pi;function bm(P){return P.replace(/[^\u0000-\u007e]/g,function(N){return Sa[N]||N})}os.replacementList=as;os.diacriticsMap=Sa});var Rl=_chunkCDIW2WTIjs.b.call(void 0, (Tv,jl)=>{(()=>{var P={"./node_modules/create-require/create-require.js":(A,e,c)=>{let n=c("module"),t=c("path"),r=c("fs");A.exports=function(i){return i||(i=process.cwd()),function(a){try{return r.lstatSync(a).isDirectory()}catch (e2){return!1}}(i)&&(i=t.join(i,"index.js")),n.createRequire?n.createRequire(i):n.createRequireFromPath?n.createRequireFromPath(i):function(a){let u=new n.Module(a,null);return u.filename=a,u.paths=n.Module._nodeModulePaths(t.dirname(a)),u._compile("module.exports = require;",a),u.exports}(i)}},"./node_modules/lru-cache/index.js":(A,e,c)=>{"use strict";let n=c("./node_modules/yallist/yallist.js"),t=Symbol("max"),r=Symbol("length"),i=Symbol("lengthCalculator"),a=Symbol("allowStale"),u=Symbol("maxAge"),f=Symbol("dispose"),h=Symbol("noDisposeOnSet"),p=Symbol("lruList"),o=Symbol("cache"),y=Symbol("updateAgeOnGet"),d=()=>1,m=(O,x,M)=>{let $=O[o].get(x);if($){let H=$.value;if(S(O,H)){if(C(O,$),!O[a])return}else M&&(O[y]&&($.value.now=Date.now()),O[p].unshiftNode($));return H.value}},S=(O,x)=>{if(!x||!x.maxAge&&!O[u])return!1;let M=Date.now()-x.now;return x.maxAge?M>x.maxAge:O[u]&&M>O[u]},T=O=>{if(O[r]>O[t])for(let x=O[p].tail;O[r]>O[t]&&x!==null;){let M=x.prev;C(O,x),x=M}},C=(O,x)=>{if(x){let M=x.value;O[f]&&O[f](M.key,M.value),O[r]-=M.length,O[o].delete(M.key),O[p].removeNode(x)}};class v{constructor(x,M,$,H,Q){this.key=x,this.value=M,this.length=$,this.now=H,this.maxAge=Q||0}}let k=(O,x,M,$)=>{let H=M.value;S(O,H)&&(C(O,M),O[a]||(H=void 0)),H&&x.call($,H.value,H.key,O)};A.exports=class{constructor(O){if(typeof O=="number"&&(O={max:O}),O||(O={}),O.max&&(typeof O.max!="number"||O.max<0))throw new TypeError("max must be a non-negative number");this[t]=O.max||1/0;let x=O.length||d;if(this[i]=typeof x!="function"?d:x,this[a]=O.stale||!1,O.maxAge&&typeof O.maxAge!="number")throw new TypeError("maxAge must be a number");this[u]=O.maxAge||0,this[f]=O.dispose,this[h]=O.noDisposeOnSet||!1,this[y]=O.updateAgeOnGet||!1,this.reset()}set max(O){if(typeof O!="number"||O<0)throw new TypeError("max must be a non-negative number");this[t]=O||1/0,T(this)}get max(){return this[t]}set allowStale(O){this[a]=!!O}get allowStale(){return this[a]}set maxAge(O){if(typeof O!="number")throw new TypeError("maxAge must be a non-negative number");this[u]=O,T(this)}get maxAge(){return this[u]}set lengthCalculator(O){typeof O!="function"&&(O=d),O!==this[i]&&(this[i]=O,this[r]=0,this[p].forEach(x=>{x.length=this[i](x.value,x.key),this[r]+=x.length})),T(this)}get lengthCalculator(){return this[i]}get length(){return this[r]}get itemCount(){return this[p].length}rforEach(O,x){x=x||this;for(let M=this[p].tail;M!==null;){let $=M.prev;k(this,O,M,x),M=$}}forEach(O,x){x=x||this;for(let M=this[p].head;M!==null;){let $=M.next;k(this,O,M,x),M=$}}keys(){return this[p].toArray().map(O=>O.key)}values(){return this[p].toArray().map(O=>O.value)}reset(){this[f]&&this[p]&&this[p].length&&this[p].forEach(O=>this[f](O.key,O.value)),this[o]=new Map,this[p]=new n,this[r]=0}dump(){return this[p].map(O=>!S(this,O)&&{k:O.key,v:O.value,e:O.now+(O.maxAge||0)}).toArray().filter(O=>O)}dumpLru(){return this[p]}set(O,x,M){if((M=M||this[u])&&typeof M!="number")throw new TypeError("maxAge must be a number");let $=M?Date.now():0,H=this[i](x,O);if(this[o].has(O)){if(H>this[t])return C(this,this[o].get(O)),!1;let K=this[o].get(O).value;return this[f]&&(this[h]||this[f](O,K.value)),K.now=$,K.maxAge=M,K.value=x,this[r]+=H-K.length,K.length=H,this.get(O),T(this),!0}let Q=new v(O,x,H,$,M);return Q.length>this[t]?(this[f]&&this[f](O,x),!1):(this[r]+=Q.length,this[p].unshift(Q),this[o].set(O,this[p].head),T(this),!0)}has(O){if(!this[o].has(O))return!1;let x=this[o].get(O).value;return!S(this,x)}get(O){return m(this,O,!0)}peek(O){return m(this,O,!1)}pop(){let O=this[p].tail;return O?(C(this,O),O.value):null}del(O){C(this,this[o].get(O))}load(O){this.reset();let x=Date.now();for(let M=O.length-1;M>=0;M--){let $=O[M],H=$.e||0;if(H===0)this.set($.k,$.v);else{let Q=H-x;Q>0&&this.set($.k,$.v,Q)}}}prune(){this[o].forEach((O,x)=>m(this,x,!1))}}},"./node_modules/mkdirp/index.js":(A,e,c)=>{let n=c("./node_modules/mkdirp/lib/opts-arg.js"),t=c("./node_modules/mkdirp/lib/path-arg.js"),{mkdirpNative:r,mkdirpNativeSync:i}=c("./node_modules/mkdirp/lib/mkdirp-native.js"),{mkdirpManual:a,mkdirpManualSync:u}=c("./node_modules/mkdirp/lib/mkdirp-manual.js"),{useNative:f,useNativeSync:h}=c("./node_modules/mkdirp/lib/use-native.js"),p=(o,y)=>(o=t(o),y=n(y),f(y)?r(o,y):a(o,y));p.sync=(o,y)=>(o=t(o),y=n(y),h(y)?i(o,y):u(o,y)),p.native=(o,y)=>r(t(o),n(y)),p.manual=(o,y)=>a(t(o),n(y)),p.nativeSync=(o,y)=>i(t(o),n(y)),p.manualSync=(o,y)=>u(t(o),n(y)),A.exports=p},"./node_modules/mkdirp/lib/find-made.js":(A,e,c)=>{let{dirname:n}=c("path"),t=(i,a,u)=>u===a?Promise.resolve():i.statAsync(a).then(f=>f.isDirectory()?u:void 0,f=>f.code==="ENOENT"?t(i,n(a),a):void 0),r=(i,a,u)=>{if(u!==a)try{return i.statSync(a).isDirectory()?u:void 0}catch(f){return f.code==="ENOENT"?r(i,n(a),a):void 0}};A.exports={findMade:t,findMadeSync:r}},"./node_modules/mkdirp/lib/mkdirp-manual.js":(A,e,c)=>{let{dirname:n}=c("path"),t=(i,a,u)=>{a.recursive=!1;let f=n(i);return f===i?a.mkdirAsync(i,a).catch(h=>{if(h.code!=="EISDIR")throw h}):a.mkdirAsync(i,a).then(()=>u||i,h=>{if(h.code==="ENOENT")return t(f,a).then(p=>t(i,a,p));if(h.code!=="EEXIST"&&h.code!=="EROFS")throw h;return a.statAsync(i).then(p=>{if(p.isDirectory())return u;throw h},()=>{throw h})})},r=(i,a,u)=>{let f=n(i);if(a.recursive=!1,f===i)try{return a.mkdirSync(i,a)}catch(h){if(h.code!=="EISDIR")throw h;return}try{return a.mkdirSync(i,a),u||i}catch(h){if(h.code==="ENOENT")return r(i,a,r(f,a,u));if(h.code!=="EEXIST"&&h.code!=="EROFS")throw h;try{if(!a.statSync(i).isDirectory())throw h}catch (e3){throw h}}};A.exports={mkdirpManual:t,mkdirpManualSync:r}},"./node_modules/mkdirp/lib/mkdirp-native.js":(A,e,c)=>{let{dirname:n}=c("path"),{findMade:t,findMadeSync:r}=c("./node_modules/mkdirp/lib/find-made.js"),{mkdirpManual:i,mkdirpManualSync:a}=c("./node_modules/mkdirp/lib/mkdirp-manual.js");A.exports={mkdirpNative:(u,f)=>(f.recursive=!0,n(u)===u?f.mkdirAsync(u,f):t(f,u).then(h=>f.mkdirAsync(u,f).then(()=>h).catch(p=>{if(p.code==="ENOENT")return i(u,f);throw p}))),mkdirpNativeSync:(u,f)=>{if(f.recursive=!0,n(u)===u)return f.mkdirSync(u,f);let h=r(f,u);try{return f.mkdirSync(u,f),h}catch(p){if(p.code==="ENOENT")return a(u,f);throw p}}}},"./node_modules/mkdirp/lib/opts-arg.js":(A,e,c)=>{let{promisify:n}=c("util"),t=c("fs");A.exports=r=>{if(r)if(typeof r=="object")r={mode:511,fs:t,...r};else if(typeof r=="number")r={mode:r,fs:t};else{if(typeof r!="string")throw new TypeError("invalid options argument");r={mode:parseInt(r,8),fs:t}}else r={mode:511,fs:t};return r.mkdir=r.mkdir||r.fs.mkdir||t.mkdir,r.mkdirAsync=n(r.mkdir),r.stat=r.stat||r.fs.stat||t.stat,r.statAsync=n(r.stat),r.statSync=r.statSync||r.fs.statSync||t.statSync,r.mkdirSync=r.mkdirSync||r.fs.mkdirSync||t.mkdirSync,r}},"./node_modules/mkdirp/lib/path-arg.js":(A,e,c)=>{let n=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,{resolve:t,parse:r}=c("path");A.exports=i=>{if(/\0/.test(i))throw Object.assign(new TypeError("path must be a string without null bytes"),{path:i,code:"ERR_INVALID_ARG_VALUE"});if(i=t(i),n==="win32"){let a=/[*|"<>?:]/,{root:u}=r(i);if(a.test(i.substr(u.length)))throw Object.assign(new Error("Illegal characters in path."),{path:i,code:"EINVAL"})}return i}},"./node_modules/mkdirp/lib/use-native.js":(A,e,c)=>{let n=c("fs"),t=(process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version).replace(/^v/,"").split("."),r=+t[0]>10||+t[0]==10&&+t[1]>=12,i=r?u=>u.mkdir===n.mkdir:()=>!1,a=r?u=>u.mkdirSync===n.mkdirSync:()=>!1;A.exports={useNative:i,useNativeSync:a}},"./node_modules/mlly/dist lazy recursive":A=>{function e(c){return Promise.resolve().then(()=>{var n=new Error("Cannot find module '"+c+"'");throw n.code="MODULE_NOT_FOUND",n})}e.keys=()=>[],e.resolve=e,e.id="./node_modules/mlly/dist lazy recursive",A.exports=e},"./node_modules/object-hash/index.js":(A,e,c)=>{"use strict";var n=c("crypto");function t(p,o){return function(y,d){var m;if(m=d.algorithm!=="passthrough"?n.createHash(d.algorithm):new h,m.write===void 0&&(m.write=m.update,m.end=m.update),f(d,m).dispatch(y),m.update||m.end(""),m.digest)return m.digest(d.encoding==="buffer"?void 0:d.encoding);var S=m.read();return d.encoding==="buffer"?S:S.toString(d.encoding)}(p,o=a(p,o))}(e=A.exports=t).sha1=function(p){return t(p)},e.keys=function(p){return t(p,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},e.MD5=function(p){return t(p,{algorithm:"md5",encoding:"hex"})},e.keysMD5=function(p){return t(p,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var r=n.getHashes?n.getHashes().slice():["sha1","md5"];r.push("passthrough");var i=["buffer","hex","binary","base64"];function a(p,o){o=o||{};var y={};if(y.algorithm=o.algorithm||"sha1",y.encoding=o.encoding||"hex",y.excludeValues=!!o.excludeValues,y.algorithm=y.algorithm.toLowerCase(),y.encoding=y.encoding.toLowerCase(),y.ignoreUnknown=o.ignoreUnknown===!0,y.respectType=o.respectType!==!1,y.respectFunctionNames=o.respectFunctionNames!==!1,y.respectFunctionProperties=o.respectFunctionProperties!==!1,y.unorderedArrays=o.unorderedArrays===!0,y.unorderedSets=o.unorderedSets!==!1,y.unorderedObjects=o.unorderedObjects!==!1,y.replacer=o.replacer||void 0,y.excludeKeys=o.excludeKeys||void 0,p===void 0)throw new Error("Object argument required.");for(var d=0;d<r.length;++d)r[d].toLowerCase()===y.algorithm.toLowerCase()&&(y.algorithm=r[d]);if(r.indexOf(y.algorithm)===-1)throw new Error('Algorithm "'+y.algorithm+'" not supported. supported values: '+r.join(", "));if(i.indexOf(y.encoding)===-1&&y.algorithm!=="passthrough")throw new Error('Encoding "'+y.encoding+'" not supported. supported values: '+i.join(", "));return y}function u(p){return typeof p!="function"?!1:/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(p))!=null}function f(p,o,y){y=y||[];var d=function(m){return o.update?o.update(m,"utf8"):o.write(m,"utf8")};return{dispatch:function(m){p.replacer&&(m=p.replacer(m));var S=typeof m;return m===null&&(S="null"),this["_"+S](m)},_object:function(m){var S=Object.prototype.toString.call(m),T=/\[object (.*)\]/i.exec(S);T=(T=T?T[1]:"unknown:["+S+"]").toLowerCase();var C;if((C=y.indexOf(m))>=0)return this.dispatch("[CIRCULAR:"+C+"]");if(y.push(m),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(m))return d("buffer:"),d(m);if(T==="object"||T==="function"||T==="asyncfunction"){var v=Object.keys(m);p.unorderedObjects&&(v=v.sort()),p.respectType===!1||u(m)||v.splice(0,0,"prototype","__proto__","constructor"),p.excludeKeys&&(v=v.filter(function(O){return!p.excludeKeys(O)})),d("object:"+v.length+":");var k=this;return v.forEach(function(O){k.dispatch(O),d(":"),p.excludeValues||k.dispatch(m[O]),d(",")})}if(!this["_"+T]){if(p.ignoreUnknown)return d("["+T+"]");throw new Error('Unknown object type "'+T+'"')}this["_"+T](m)},_array:function(m,S){S=S!==void 0?S:p.unorderedArrays!==!1;var T=this;if(d("array:"+m.length+":"),!S||m.length<=1)return m.forEach(function(k){return T.dispatch(k)});var C=[],v=m.map(function(k){var O=new h,x=y.slice();return f(p,O,x).dispatch(k),C=C.concat(x.slice(y.length)),O.read().toString()});return y=y.concat(C),v.sort(),this._array(v,!1)},_date:function(m){return d("date:"+m.toJSON())},_symbol:function(m){return d("symbol:"+m.toString())},_error:function(m){return d("error:"+m.toString())},_boolean:function(m){return d("bool:"+m.toString())},_string:function(m){d("string:"+m.length+":"),d(m.toString())},_function:function(m){d("fn:"),u(m)?this.dispatch("[native]"):this.dispatch(m.toString()),p.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(m.name)),p.respectFunctionProperties&&this._object(m)},_number:function(m){return d("number:"+m.toString())},_xml:function(m){return d("xml:"+m.toString())},_null:function(){return d("Null")},_undefined:function(){return d("Undefined")},_regexp:function(m){return d("regex:"+m.toString())},_uint8array:function(m){return d("uint8array:"),this.dispatch(Array.prototype.slice.call(m))},_uint8clampedarray:function(m){return d("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(m))},_int8array:function(m){return d("uint8array:"),this.dispatch(Array.prototype.slice.call(m))},_uint16array:function(m){return d("uint16array:"),this.dispatch(Array.prototype.slice.call(m))},_int16array:function(m){return d("uint16array:"),this.dispatch(Array.prototype.slice.call(m))},_uint32array:function(m){return d("uint32array:"),this.dispatch(Array.prototype.slice.call(m))},_int32array:function(m){return d("uint32array:"),this.dispatch(Array.prototype.slice.call(m))},_float32array:function(m){return d("float32array:"),this.dispatch(Array.prototype.slice.call(m))},_float64array:function(m){return d("float64array:"),this.dispatch(Array.prototype.slice.call(m))},_arraybuffer:function(m){return d("arraybuffer:"),this.dispatch(new Uint8Array(m))},_url:function(m){return d("url:"+m.toString())},_map:function(m){d("map:");var S=Array.from(m);return this._array(S,p.unorderedSets!==!1)},_set:function(m){d("set:");var S=Array.from(m);return this._array(S,p.unorderedSets!==!1)},_file:function(m){return d("file:"),this.dispatch([m.name,m.size,m.type,m.lastModfied])},_blob:function(){if(p.ignoreUnknown)return d("[blob]");throw Error(`Hashing Blob objects is currently not supported
|
|
2
2
|
(see https://github.com/puleos/object-hash/issues/26)
|
|
3
3
|
Use "options.replacer" or "options.ignoreUnknown"
|
|
4
4
|
`)},_domwindow:function(){return d("domwindow")},_bigint:function(m){return d("bigint:"+m.toString())},_process:function(){return d("process")},_timer:function(){return d("timer")},_pipe:function(){return d("pipe")},_tcp:function(){return d("tcp")},_udp:function(){return d("udp")},_tty:function(){return d("tty")},_statwatcher:function(){return d("statwatcher")},_securecontext:function(){return d("securecontext")},_connection:function(){return d("connection")},_zlib:function(){return d("zlib")},_context:function(){return d("context")},_nodescript:function(){return d("nodescript")},_httpparser:function(){return d("httpparser")},_dataview:function(){return d("dataview")},_signal:function(){return d("signal")},_fsevent:function(){return d("fsevent")},_tlswrap:function(){return d("tlswrap")}}}function h(){return{buf:"",write:function(p){this.buf+=p},end:function(p){this.buf+=p},read:function(){return this.buf}}}e.writeToStream=function(p,o,y){return y===void 0&&(y=o,o={}),f(o=a(p,o),y).dispatch(p)}},"./node_modules/pirates/lib/index.js":(A,e,c)=>{"use strict";A=c.nmd(A),Object.defineProperty(e,"__esModule",{value:!0}),e.addHook=function(u,f={}){let h=!1,p=[],o=[],y,d=a._extensions[".js"],m=f.matcher||null,S=f.ignoreNodeModules!==!1;return y=f.extensions||f.exts||f.extension||f.ext||[".js"],Array.isArray(y)||(y=[y]),y.forEach(T=>{if(typeof T!="string")throw new TypeError(`Invalid Extension: ${T}`);let C=a._extensions[T]||d;o[T]=a._extensions[T],p[T]=a._extensions[T]=function(v,k){let O;h||function(x,M,$,H){if(typeof x!="string"||M.indexOf(t.default.extname(x))===-1)return!1;let Q=t.default.resolve(x);return H&&i.test(Q)?!1:$&&typeof $=="function"?!!$(Q):!0}(k,y,m,S)&&(O=v._compile,v._compile=function(x){v._compile=O;let M=u(x,k);if(typeof M!="string")throw new Error(`[Pirates] A hook returned a non-string, or nothing at all! This is a violation of intergalactic law!
|
|
5
5
|
--------------------
|
|
6
|
-
If you have no idea what this means or what Pirates is, let me explain: Pirates is a module that makes is easy to implement require hooks. One of the require hooks you're using uses it. One of these require hooks didn't return anything from it's handler, so we don't know what to do. You might want to debug this.`);return v._compile(M,k)}),C(v,k)}}),function(){h||(h=!0,y.forEach(T=>{a._extensions[T]===p[T]&&(o[T]?a._extensions[T]=o[T]:delete a._extensions[T])}))}};var n=r(c("module")),t=r(c("path"));function r(u){return u&&u.__esModule?u:{default:u}}let i=/^(?:.*[\\/])?node_modules(?:[\\/].*)?$/,a=A.constructor.length>1?A.constructor:n.default},"./node_modules/semver/classes/comparator.js":(A,e,c)=>{let n=Symbol("SemVer ANY");class t{static get ANY(){return n}constructor(y,d){if(d=r(d),y instanceof t){if(y.loose===!!d.loose)return y;y=y.value}f("comparator",y,d),this.options=d,this.loose=!!d.loose,this.parse(y),this.semver===n?this.value="":this.value=this.operator+this.semver.version,f("comp",this)}parse(y){let d=this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR],m=y.match(d);if(!m)throw new TypeError(`Invalid comparator: ${y}`);this.operator=m[1]!==void 0?m[1]:"",this.operator==="="&&(this.operator=""),m[2]?this.semver=new h(m[2],this.options.loose):this.semver=n}toString(){return this.value}test(y){if(f("Comparator.test",y,this.options.loose),this.semver===n||y===n)return!0;if(typeof y=="string")try{y=new h(y,this.options)}catch (e4){return!1}return u(y,this.operator,this.semver,this.options)}intersects(y,d){if(!(y instanceof t))throw new TypeError("a Comparator is required");if(d&&typeof d=="object"||(d={loose:!!d,includePrerelease:!1}),this.operator==="")return this.value===""||new p(y.value,d).test(this.value);if(y.operator==="")return y.value===""||new p(this.value,d).test(y.semver);let m=!(this.operator!==">="&&this.operator!==">"||y.operator!==">="&&y.operator!==">"),S=!(this.operator!=="<="&&this.operator!=="<"||y.operator!=="<="&&y.operator!=="<"),T=this.semver.version===y.semver.version,C=!(this.operator!==">="&&this.operator!=="<="||y.operator!==">="&&y.operator!=="<="),v=u(this.semver,"<",y.semver,d)&&(this.operator===">="||this.operator===">")&&(y.operator==="<="||y.operator==="<"),k=u(this.semver,">",y.semver,d)&&(this.operator==="<="||this.operator==="<")&&(y.operator===">="||y.operator===">");return m||S||T&&C||v||k}}A.exports=t;let r=c("./node_modules/semver/internal/parse-options.js"),{re:i,t:a}=c("./node_modules/semver/internal/re.js"),u=c("./node_modules/semver/functions/cmp.js"),f=c("./node_modules/semver/internal/debug.js"),h=c("./node_modules/semver/classes/semver.js"),p=c("./node_modules/semver/classes/range.js")},"./node_modules/semver/classes/range.js":(A,e,c)=>{class n{constructor(D,_){if(_=r(_),D instanceof n)return D.loose===!!_.loose&&D.includePrerelease===!!_.includePrerelease?D:new n(D.raw,_);if(D instanceof i)return this.raw=D.value,this.set=[[D]],this.format(),this;if(this.options=_,this.loose=!!_.loose,this.includePrerelease=!!_.includePrerelease,this.raw=D,this.set=D.split(/\s*\|\|\s*/).map(F=>this.parseRange(F.trim())).filter(F=>F.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${D}`);if(this.set.length>1){let F=this.set[0];if(this.set=this.set.filter(R=>!d(R[0])),this.set.length===0)this.set=[F];else if(this.set.length>1){for(let R of this.set)if(R.length===1&&m(R[0])){this.set=[R];break}}}this.format()}format(){return this.range=this.set.map(D=>D.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(D){D=D.trim();let _=`parseRange:${Object.keys(this.options).join(",")}:${D}`,F=t.get(_);if(F)return F;let R=this.options.loose,W=R?f[h.HYPHENRANGELOOSE]:f[h.HYPHENRANGE];D=D.replace(W,K(this.options.includePrerelease)),a("hyphen replace",D),D=D.replace(f[h.COMPARATORTRIM],p),a("comparator trim",D,f[h.COMPARATORTRIM]),D=(D=(D=D.replace(f[h.TILDETRIM],o)).replace(f[h.CARETTRIM],y)).split(/\s+/).join(" ");let J=R?f[h.COMPARATORLOOSE]:f[h.COMPARATOR],ne=D.split(" ").map(de=>T(de,this.options)).join(" ").split(/\s+/).map(de=>Q(de,this.options)).filter(this.options.loose?de=>!!de.match(J):()=>!0).map(de=>new i(de,this.options)),re=(ne.length,new Map);for(let de of ne){if(d(de))return[de];re.set(de.value,de)}re.size>1&&re.has("")&&re.delete("");let ae=[...re.values()];return t.set(_,ae),ae}intersects(D,_){if(!(D instanceof n))throw new TypeError("a Range is required");return this.set.some(F=>S(F,_)&&D.set.some(R=>S(R,_)&&F.every(W=>R.every(J=>W.intersects(J,_)))))}test(D){if(!D)return!1;if(typeof D=="string")try{D=new u(D,this.options)}catch (e5){return!1}for(let _=0;_<this.set.length;_++)if(Y(this.set[_],D,this.options))return!0;return!1}}A.exports=n;let t=new(c("./node_modules/lru-cache/index.js"))({max:1e3}),r=c("./node_modules/semver/internal/parse-options.js"),i=c("./node_modules/semver/classes/comparator.js"),a=c("./node_modules/semver/internal/debug.js"),u=c("./node_modules/semver/classes/semver.js"),{re:f,t:h,comparatorTrimReplace:p,tildeTrimReplace:o,caretTrimReplace:y}=c("./node_modules/semver/internal/re.js"),d=L=>L.value==="<0.0.0-0",m=L=>L.value==="",S=(L,D)=>{let _=!0,F=L.slice(),R=F.pop();for(;_&&F.length;)_=F.every(W=>R.intersects(W,D)),R=F.pop();return _},T=(L,D)=>(a("comp",L,D),L=O(L,D),a("caret",L),L=v(L,D),a("tildes",L),L=M(L,D),a("xrange",L),L=H(L,D),a("stars",L),L),C=L=>!L||L.toLowerCase()==="x"||L==="*",v=(L,D)=>L.trim().split(/\s+/).map(_=>k(_,D)).join(" "),k=(L,D)=>{let _=D.loose?f[h.TILDELOOSE]:f[h.TILDE];return L.replace(_,(F,R,W,J,ne)=>{let re;return a("tilde",L,F,R,W,J,ne),C(R)?re="":C(W)?re=`>=${R}.0.0 <${+R+1}.0.0-0`:C(J)?re=`>=${R}.${W}.0 <${R}.${+W+1}.0-0`:ne?(a("replaceTilde pr",ne),re=`>=${R}.${W}.${J}-${ne} <${R}.${+W+1}.0-0`):re=`>=${R}.${W}.${J} <${R}.${+W+1}.0-0`,a("tilde return",re),re})},O=(L,D)=>L.trim().split(/\s+/).map(_=>x(_,D)).join(" "),x=(L,D)=>{a("caret",L,D);let _=D.loose?f[h.CARETLOOSE]:f[h.CARET],F=D.includePrerelease?"-0":"";return L.replace(_,(R,W,J,ne,re)=>{let ae;return a("caret",L,R,W,J,ne,re),C(W)?ae="":C(J)?ae=`>=${W}.0.0${F} <${+W+1}.0.0-0`:C(ne)?ae=W==="0"?`>=${W}.${J}.0${F} <${W}.${+J+1}.0-0`:`>=${W}.${J}.0${F} <${+W+1}.0.0-0`:re?(a("replaceCaret pr",re),ae=W==="0"?J==="0"?`>=${W}.${J}.${ne}-${re} <${W}.${J}.${+ne+1}-0`:`>=${W}.${J}.${ne}-${re} <${W}.${+J+1}.0-0`:`>=${W}.${J}.${ne}-${re} <${+W+1}.0.0-0`):(a("no pr"),ae=W==="0"?J==="0"?`>=${W}.${J}.${ne}${F} <${W}.${J}.${+ne+1}-0`:`>=${W}.${J}.${ne}${F} <${W}.${+J+1}.0-0`:`>=${W}.${J}.${ne} <${+W+1}.0.0-0`),a("caret return",ae),ae})},M=(L,D)=>(a("replaceXRanges",L,D),L.split(/\s+/).map(_=>$(_,D)).join(" ")),$=(L,D)=>{L=L.trim();let _=D.loose?f[h.XRANGELOOSE]:f[h.XRANGE];return L.replace(_,(F,R,W,J,ne,re)=>{a("xRange",L,F,R,W,J,ne,re);let ae=C(W),de=ae||C(J),he=de||C(ne),De=he;return R==="="&&De&&(R=""),re=D.includePrerelease?"-0":"",ae?F=R===">"||R==="<"?"<0.0.0-0":"*":R&&De?(de&&(J=0),ne=0,R===">"?(R=">=",de?(W=+W+1,J=0,ne=0):(J=+J+1,ne=0)):R==="<="&&(R="<",de?W=+W+1:J=+J+1),R==="<"&&(re="-0"),F=`${R+W}.${J}.${ne}${re}`):de?F=`>=${W}.0.0${re} <${+W+1}.0.0-0`:he&&(F=`>=${W}.${J}.0${re} <${W}.${+J+1}.0-0`),a("xRange return",F),F})},H=(L,D)=>(a("replaceStars",L,D),L.trim().replace(f[h.STAR],"")),Q=(L,D)=>(a("replaceGTE0",L,D),L.trim().replace(f[D.includePrerelease?h.GTE0PRE:h.GTE0],"")),K=L=>(D,_,F,R,W,J,ne,re,ae,de,he,De,Te)=>`${_=C(F)?"":C(R)?`>=${F}.0.0${L?"-0":""}`:C(W)?`>=${F}.${R}.0${L?"-0":""}`:J?`>=${_}`:`>=${_}${L?"-0":""}`} ${re=C(ae)?"":C(de)?`<${+ae+1}.0.0-0`:C(he)?`<${ae}.${+de+1}.0-0`:De?`<=${ae}.${de}.${he}-${De}`:L?`<${ae}.${de}.${+he+1}-0`:`<=${re}`}`.trim(),Y=(L,D,_)=>{for(let F=0;F<L.length;F++)if(!L[F].test(D))return!1;if(D.prerelease.length&&!_.includePrerelease){for(let F=0;F<L.length;F++)if(a(L[F].semver),L[F].semver!==i.ANY&&L[F].semver.prerelease.length>0){let R=L[F].semver;if(R.major===D.major&&R.minor===D.minor&&R.patch===D.patch)return!0}return!1}return!0}},"./node_modules/semver/classes/semver.js":(A,e,c)=>{let n=c("./node_modules/semver/internal/debug.js"),{MAX_LENGTH:t,MAX_SAFE_INTEGER:r}=c("./node_modules/semver/internal/constants.js"),{re:i,t:a}=c("./node_modules/semver/internal/re.js"),u=c("./node_modules/semver/internal/parse-options.js"),{compareIdentifiers:f}=c("./node_modules/semver/internal/identifiers.js");class h{constructor(o,y){if(y=u(y),o instanceof h){if(o.loose===!!y.loose&&o.includePrerelease===!!y.includePrerelease)return o;o=o.version}else if(typeof o!="string")throw new TypeError(`Invalid Version: ${o}`);if(o.length>t)throw new TypeError(`version is longer than ${t} characters`);n("SemVer",o,y),this.options=y,this.loose=!!y.loose,this.includePrerelease=!!y.includePrerelease;let d=o.trim().match(y.loose?i[a.LOOSE]:i[a.FULL]);if(!d)throw new TypeError(`Invalid Version: ${o}`);if(this.raw=o,this.major=+d[1],this.minor=+d[2],this.patch=+d[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");d[4]?this.prerelease=d[4].split(".").map(m=>{if(/^[0-9]+$/.test(m)){let S=+m;if(S>=0&&S<r)return S}return m}):this.prerelease=[],this.build=d[5]?d[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(o){if(n("SemVer.compare",this.version,this.options,o),!(o instanceof h)){if(typeof o=="string"&&o===this.version)return 0;o=new h(o,this.options)}return o.version===this.version?0:this.compareMain(o)||this.comparePre(o)}compareMain(o){return o instanceof h||(o=new h(o,this.options)),f(this.major,o.major)||f(this.minor,o.minor)||f(this.patch,o.patch)}comparePre(o){if(o instanceof h||(o=new h(o,this.options)),this.prerelease.length&&!o.prerelease.length)return-1;if(!this.prerelease.length&&o.prerelease.length)return 1;if(!this.prerelease.length&&!o.prerelease.length)return 0;let y=0;do{let d=this.prerelease[y],m=o.prerelease[y];if(n("prerelease compare",y,d,m),d===void 0&&m===void 0)return 0;if(m===void 0)return 1;if(d===void 0)return-1;if(d!==m)return f(d,m)}while(++y)}compareBuild(o){o instanceof h||(o=new h(o,this.options));let y=0;do{let d=this.build[y],m=o.build[y];if(n("prerelease compare",y,d,m),d===void 0&&m===void 0)return 0;if(m===void 0)return 1;if(d===void 0)return-1;if(d!==m)return f(d,m)}while(++y)}inc(o,y){switch(o){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",y);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",y);break;case"prepatch":this.prerelease.length=0,this.inc("patch",y),this.inc("pre",y);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",y),this.inc("pre",y);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let d=this.prerelease.length;for(;--d>=0;)typeof this.prerelease[d]=="number"&&(this.prerelease[d]++,d=-2);d===-1&&this.prerelease.push(0)}y&&(this.prerelease[0]===y?isNaN(this.prerelease[1])&&(this.prerelease=[y,0]):this.prerelease=[y,0]);break;default:throw new Error(`invalid increment argument: ${o}`)}return this.format(),this.raw=this.version,this}}A.exports=h},"./node_modules/semver/functions/clean.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/parse.js");A.exports=(t,r)=>{let i=n(t.trim().replace(/^[=v]+/,""),r);return i?i.version:null}},"./node_modules/semver/functions/cmp.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/eq.js"),t=c("./node_modules/semver/functions/neq.js"),r=c("./node_modules/semver/functions/gt.js"),i=c("./node_modules/semver/functions/gte.js"),a=c("./node_modules/semver/functions/lt.js"),u=c("./node_modules/semver/functions/lte.js");A.exports=(f,h,p,o)=>{switch(h){case"===":return typeof f=="object"&&(f=f.version),typeof p=="object"&&(p=p.version),f===p;case"!==":return typeof f=="object"&&(f=f.version),typeof p=="object"&&(p=p.version),f!==p;case"":case"=":case"==":return n(f,p,o);case"!=":return t(f,p,o);case">":return r(f,p,o);case">=":return i(f,p,o);case"<":return a(f,p,o);case"<=":return u(f,p,o);default:throw new TypeError(`Invalid operator: ${h}`)}}},"./node_modules/semver/functions/coerce.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js"),t=c("./node_modules/semver/functions/parse.js"),{re:r,t:i}=c("./node_modules/semver/internal/re.js");A.exports=(a,u)=>{if(a instanceof n)return a;if(typeof a=="number"&&(a=String(a)),typeof a!="string")return null;let f=null;if((u=u||{}).rtl){let h;for(;(h=r[i.COERCERTL].exec(a))&&(!f||f.index+f[0].length!==a.length);)f&&h.index+h[0].length===f.index+f[0].length||(f=h),r[i.COERCERTL].lastIndex=h.index+h[1].length+h[2].length;r[i.COERCERTL].lastIndex=-1}else f=a.match(r[i.COERCE]);return f===null?null:t(`${f[2]}.${f[3]||"0"}.${f[4]||"0"}`,u)}},"./node_modules/semver/functions/compare-build.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js");A.exports=(t,r,i)=>{let a=new n(t,i),u=new n(r,i);return a.compare(u)||a.compareBuild(u)}},"./node_modules/semver/functions/compare-loose.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare.js");A.exports=(t,r)=>n(t,r,!0)},"./node_modules/semver/functions/compare.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js");A.exports=(t,r,i)=>new n(t,i).compare(new n(r,i))},"./node_modules/semver/functions/diff.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/parse.js"),t=c("./node_modules/semver/functions/eq.js");A.exports=(r,i)=>{if(t(r,i))return null;{let a=n(r),u=n(i),f=a.prerelease.length||u.prerelease.length,h=f?"pre":"",p=f?"prerelease":"";for(let o in a)if((o==="major"||o==="minor"||o==="patch")&&a[o]!==u[o])return h+o;return p}}},"./node_modules/semver/functions/eq.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare.js");A.exports=(t,r,i)=>n(t,r,i)===0},"./node_modules/semver/functions/gt.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare.js");A.exports=(t,r,i)=>n(t,r,i)>0},"./node_modules/semver/functions/gte.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare.js");A.exports=(t,r,i)=>n(t,r,i)>=0},"./node_modules/semver/functions/inc.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js");A.exports=(t,r,i,a)=>{typeof i=="string"&&(a=i,i=void 0);try{return new n(t,i).inc(r,a).version}catch (e6){return null}}},"./node_modules/semver/functions/lt.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare.js");A.exports=(t,r,i)=>n(t,r,i)<0},"./node_modules/semver/functions/lte.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare.js");A.exports=(t,r,i)=>n(t,r,i)<=0},"./node_modules/semver/functions/major.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js");A.exports=(t,r)=>new n(t,r).major},"./node_modules/semver/functions/minor.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js");A.exports=(t,r)=>new n(t,r).minor},"./node_modules/semver/functions/neq.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare.js");A.exports=(t,r,i)=>n(t,r,i)!==0},"./node_modules/semver/functions/parse.js":(A,e,c)=>{let{MAX_LENGTH:n}=c("./node_modules/semver/internal/constants.js"),{re:t,t:r}=c("./node_modules/semver/internal/re.js"),i=c("./node_modules/semver/classes/semver.js"),a=c("./node_modules/semver/internal/parse-options.js");A.exports=(u,f)=>{if(f=a(f),u instanceof i)return u;if(typeof u!="string"||u.length>n||!(f.loose?t[r.LOOSE]:t[r.FULL]).test(u))return null;try{return new i(u,f)}catch (e7){return null}}},"./node_modules/semver/functions/patch.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js");A.exports=(t,r)=>new n(t,r).patch},"./node_modules/semver/functions/prerelease.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/parse.js");A.exports=(t,r)=>{let i=n(t,r);return i&&i.prerelease.length?i.prerelease:null}},"./node_modules/semver/functions/rcompare.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare.js");A.exports=(t,r,i)=>n(r,t,i)},"./node_modules/semver/functions/rsort.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare-build.js");A.exports=(t,r)=>t.sort((i,a)=>n(a,i,r))},"./node_modules/semver/functions/satisfies.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/range.js");A.exports=(t,r,i)=>{try{r=new n(r,i)}catch (e8){return!1}return r.test(t)}},"./node_modules/semver/functions/sort.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare-build.js");A.exports=(t,r)=>t.sort((i,a)=>n(i,a,r))},"./node_modules/semver/functions/valid.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/parse.js");A.exports=(t,r)=>{let i=n(t,r);return i?i.version:null}},"./node_modules/semver/index.js":(A,e,c)=>{let n=c("./node_modules/semver/internal/re.js");A.exports={re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:c("./node_modules/semver/internal/constants.js").SEMVER_SPEC_VERSION,SemVer:c("./node_modules/semver/classes/semver.js"),compareIdentifiers:c("./node_modules/semver/internal/identifiers.js").compareIdentifiers,rcompareIdentifiers:c("./node_modules/semver/internal/identifiers.js").rcompareIdentifiers,parse:c("./node_modules/semver/functions/parse.js"),valid:c("./node_modules/semver/functions/valid.js"),clean:c("./node_modules/semver/functions/clean.js"),inc:c("./node_modules/semver/functions/inc.js"),diff:c("./node_modules/semver/functions/diff.js"),major:c("./node_modules/semver/functions/major.js"),minor:c("./node_modules/semver/functions/minor.js"),patch:c("./node_modules/semver/functions/patch.js"),prerelease:c("./node_modules/semver/functions/prerelease.js"),compare:c("./node_modules/semver/functions/compare.js"),rcompare:c("./node_modules/semver/functions/rcompare.js"),compareLoose:c("./node_modules/semver/functions/compare-loose.js"),compareBuild:c("./node_modules/semver/functions/compare-build.js"),sort:c("./node_modules/semver/functions/sort.js"),rsort:c("./node_modules/semver/functions/rsort.js"),gt:c("./node_modules/semver/functions/gt.js"),lt:c("./node_modules/semver/functions/lt.js"),eq:c("./node_modules/semver/functions/eq.js"),neq:c("./node_modules/semver/functions/neq.js"),gte:c("./node_modules/semver/functions/gte.js"),lte:c("./node_modules/semver/functions/lte.js"),cmp:c("./node_modules/semver/functions/cmp.js"),coerce:c("./node_modules/semver/functions/coerce.js"),Comparator:c("./node_modules/semver/classes/comparator.js"),Range:c("./node_modules/semver/classes/range.js"),satisfies:c("./node_modules/semver/functions/satisfies.js"),toComparators:c("./node_modules/semver/ranges/to-comparators.js"),maxSatisfying:c("./node_modules/semver/ranges/max-satisfying.js"),minSatisfying:c("./node_modules/semver/ranges/min-satisfying.js"),minVersion:c("./node_modules/semver/ranges/min-version.js"),validRange:c("./node_modules/semver/ranges/valid.js"),outside:c("./node_modules/semver/ranges/outside.js"),gtr:c("./node_modules/semver/ranges/gtr.js"),ltr:c("./node_modules/semver/ranges/ltr.js"),intersects:c("./node_modules/semver/ranges/intersects.js"),simplifyRange:c("./node_modules/semver/ranges/simplify.js"),subset:c("./node_modules/semver/ranges/subset.js")}},"./node_modules/semver/internal/constants.js":A=>{let e=Number.MAX_SAFE_INTEGER||9007199254740991;A.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:e,MAX_SAFE_COMPONENT_LENGTH:16}},"./node_modules/semver/internal/debug.js":A=>{let e=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...c)=>console.error("SEMVER",...c):()=>{};A.exports=e},"./node_modules/semver/internal/identifiers.js":A=>{let e=/^[0-9]+$/,c=(n,t)=>{let r=e.test(n),i=e.test(t);return r&&i&&(n=+n,t=+t),n===t?0:r&&!i?-1:i&&!r?1:n<t?-1:1};A.exports={compareIdentifiers:c,rcompareIdentifiers:(n,t)=>c(t,n)}},"./node_modules/semver/internal/parse-options.js":A=>{let e=["includePrerelease","loose","rtl"];A.exports=c=>c?typeof c!="object"?{loose:!0}:e.filter(n=>c[n]).reduce((n,t)=>(n[t]=!0,n),{}):{}},"./node_modules/semver/internal/re.js":(A,e,c)=>{let{MAX_SAFE_COMPONENT_LENGTH:n}=c("./node_modules/semver/internal/constants.js"),t=c("./node_modules/semver/internal/debug.js"),r=(e=A.exports={}).re=[],i=e.src=[],a=e.t={},u=0,f=(h,p,o)=>{let y=u++;t(y,p),a[h]=y,i[y]=p,r[y]=new RegExp(p,o?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","[0-9]+"),f("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),f("MAINVERSION",`(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${i[a.NUMERICIDENTIFIER]}|${i[a.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${i[a.NUMERICIDENTIFIERLOOSE]}|${i[a.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${i[a.PRERELEASEIDENTIFIER]}(?:\\.${i[a.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${i[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[a.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER","[0-9A-Za-z-]+"),f("BUILD",`(?:\\+(${i[a.BUILDIDENTIFIER]}(?:\\.${i[a.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${i[a.MAINVERSION]}${i[a.PRERELEASE]}?${i[a.BUILD]}?`),f("FULL",`^${i[a.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${i[a.MAINVERSIONLOOSE]}${i[a.PRERELEASELOOSE]}?${i[a.BUILD]}?`),f("LOOSE",`^${i[a.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${i[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${i[a.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:${i[a.PRERELEASE]})?${i[a.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:${i[a.PRERELEASELOOSE]})?${i[a.BUILD]}?)?)?`),f("XRANGE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAINLOOSE]}$`),f("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),f("COERCERTL",i[a.COERCE],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${i[a.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",f("TILDE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${i[a.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",f("CARET",`^${i[a.LONECARET]}${i[a.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${i[a.LONECARET]}${i[a.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${i[a.GTLT]}\\s*(${i[a.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]}|${i[a.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${i[a.XRANGEPLAIN]})\\s+-\\s+(${i[a.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${i[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[a.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0.0.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},"./node_modules/semver/ranges/gtr.js":(A,e,c)=>{let n=c("./node_modules/semver/ranges/outside.js");A.exports=(t,r,i)=>n(t,r,">",i)},"./node_modules/semver/ranges/intersects.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/range.js");A.exports=(t,r,i)=>(t=new n(t,i),r=new n(r,i),t.intersects(r))},"./node_modules/semver/ranges/ltr.js":(A,e,c)=>{let n=c("./node_modules/semver/ranges/outside.js");A.exports=(t,r,i)=>n(t,r,"<",i)},"./node_modules/semver/ranges/max-satisfying.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js"),t=c("./node_modules/semver/classes/range.js");A.exports=(r,i,a)=>{let u=null,f=null,h=null;try{h=new t(i,a)}catch (e9){return null}return r.forEach(p=>{h.test(p)&&(u&&f.compare(p)!==-1||(u=p,f=new n(u,a)))}),u}},"./node_modules/semver/ranges/min-satisfying.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js"),t=c("./node_modules/semver/classes/range.js");A.exports=(r,i,a)=>{let u=null,f=null,h=null;try{h=new t(i,a)}catch (e10){return null}return r.forEach(p=>{h.test(p)&&(u&&f.compare(p)!==1||(u=p,f=new n(u,a)))}),u}},"./node_modules/semver/ranges/min-version.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js"),t=c("./node_modules/semver/classes/range.js"),r=c("./node_modules/semver/functions/gt.js");A.exports=(i,a)=>{i=new t(i,a);let u=new n("0.0.0");if(i.test(u)||(u=new n("0.0.0-0"),i.test(u)))return u;u=null;for(let f=0;f<i.set.length;++f){let h=i.set[f],p=null;h.forEach(o=>{let y=new n(o.semver.version);switch(o.operator){case">":y.prerelease.length===0?y.patch++:y.prerelease.push(0),y.raw=y.format();case"":case">=":p&&!r(y,p)||(p=y);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),!p||u&&!r(u,p)||(u=p)}return u&&i.test(u)?u:null}},"./node_modules/semver/ranges/outside.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js"),t=c("./node_modules/semver/classes/comparator.js"),{ANY:r}=t,i=c("./node_modules/semver/classes/range.js"),a=c("./node_modules/semver/functions/satisfies.js"),u=c("./node_modules/semver/functions/gt.js"),f=c("./node_modules/semver/functions/lt.js"),h=c("./node_modules/semver/functions/lte.js"),p=c("./node_modules/semver/functions/gte.js");A.exports=(o,y,d,m)=>{let S,T,C,v,k;switch(o=new n(o,m),y=new i(y,m),d){case">":S=u,T=h,C=f,v=">",k=">=";break;case"<":S=f,T=p,C=u,v="<",k="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(o,y,m))return!1;for(let O=0;O<y.set.length;++O){let x=y.set[O],M=null,$=null;if(x.forEach(H=>{H.semver===r&&(H=new t(">=0.0.0")),M=M||H,$=$||H,S(H.semver,M.semver,m)?M=H:C(H.semver,$.semver,m)&&($=H)}),M.operator===v||M.operator===k||(!$.operator||$.operator===v)&&T(o,$.semver)||$.operator===k&&C(o,$.semver))return!1}return!0}},"./node_modules/semver/ranges/simplify.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/satisfies.js"),t=c("./node_modules/semver/functions/compare.js");A.exports=(r,i,a)=>{let u=[],f=null,h=null,p=r.sort((m,S)=>t(m,S,a));for(let m of p)n(m,i,a)?(h=m,f||(f=m)):(h&&u.push([f,h]),h=null,f=null);f&&u.push([f,null]);let o=[];for(let[m,S]of u)m===S?o.push(m):S||m!==p[0]?S?m===p[0]?o.push(`<=${S}`):o.push(`${m} - ${S}`):o.push(`>=${m}`):o.push("*");let y=o.join(" || "),d=typeof i.raw=="string"?i.raw:String(i);return y.length<d.length?y:i}},"./node_modules/semver/ranges/subset.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/range.js"),t=c("./node_modules/semver/classes/comparator.js"),{ANY:r}=t,i=c("./node_modules/semver/functions/satisfies.js"),a=c("./node_modules/semver/functions/compare.js"),u=(p,o,y)=>{if(p===o)return!0;if(p.length===1&&p[0].semver===r){if(o.length===1&&o[0].semver===r)return!0;p=y.includePrerelease?[new t(">=0.0.0-0")]:[new t(">=0.0.0")]}if(o.length===1&&o[0].semver===r){if(y.includePrerelease)return!0;o=[new t(">=0.0.0")]}let d=new Set,m,S,T,C,v,k,O;for(let $ of p)$.operator===">"||$.operator===">="?m=f(m,$,y):$.operator==="<"||$.operator==="<="?S=h(S,$,y):d.add($.semver);if(d.size>1||m&&S&&(T=a(m.semver,S.semver,y),T>0||T===0&&(m.operator!==">="||S.operator!=="<=")))return null;for(let $ of d){if(m&&!i($,String(m),y)||S&&!i($,String(S),y))return null;for(let H of o)if(!i($,String(H),y))return!1;return!0}let x=!(!S||y.includePrerelease||!S.semver.prerelease.length)&&S.semver,M=!(!m||y.includePrerelease||!m.semver.prerelease.length)&&m.semver;x&&x.prerelease.length===1&&S.operator==="<"&&x.prerelease[0]===0&&(x=!1);for(let $ of o){if(O=O||$.operator===">"||$.operator===">=",k=k||$.operator==="<"||$.operator==="<=",m){if(M&&$.semver.prerelease&&$.semver.prerelease.length&&$.semver.major===M.major&&$.semver.minor===M.minor&&$.semver.patch===M.patch&&(M=!1),$.operator===">"||$.operator===">="){if(C=f(m,$,y),C===$&&C!==m)return!1}else if(m.operator===">="&&!i(m.semver,String($),y))return!1}if(S){if(x&&$.semver.prerelease&&$.semver.prerelease.length&&$.semver.major===x.major&&$.semver.minor===x.minor&&$.semver.patch===x.patch&&(x=!1),$.operator==="<"||$.operator==="<="){if(v=h(S,$,y),v===$&&v!==S)return!1}else if(S.operator==="<="&&!i(S.semver,String($),y))return!1}if(!$.operator&&(S||m)&&T!==0)return!1}return!(m&&k&&!S&&T!==0)&&!(S&&O&&!m&&T!==0)&&!M&&!x},f=(p,o,y)=>{if(!p)return o;let d=a(p.semver,o.semver,y);return d>0?p:d<0||o.operator===">"&&p.operator===">="?o:p},h=(p,o,y)=>{if(!p)return o;let d=a(p.semver,o.semver,y);return d<0?p:d>0||o.operator==="<"&&p.operator==="<="?o:p};A.exports=(p,o,y={})=>{if(p===o)return!0;p=new n(p,y),o=new n(o,y);let d=!1;e:for(let m of p.set){for(let S of o.set){let T=u(m,S,y);if(d=d||T!==null,T)continue e}if(d)return!1}return!0}},"./node_modules/semver/ranges/to-comparators.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/range.js");A.exports=(t,r)=>new n(t,r).set.map(i=>i.map(a=>a.value).join(" ").trim().split(" "))},"./node_modules/semver/ranges/valid.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/range.js");A.exports=(t,r)=>{try{return new n(t,r).range||"*"}catch (e11){return null}}},"./node_modules/yallist/iterator.js":A=>{"use strict";A.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let c=this.head;c;c=c.next)yield c.value}}},"./node_modules/yallist/yallist.js":(A,e,c)=>{"use strict";function n(u){var f=this;if(f instanceof n||(f=new n),f.tail=null,f.head=null,f.length=0,u&&typeof u.forEach=="function")u.forEach(function(o){f.push(o)});else if(arguments.length>0)for(var h=0,p=arguments.length;h<p;h++)f.push(arguments[h]);return f}function t(u,f,h){var p=f===u.head?new a(h,null,f,u):new a(h,f,f.next,u);return p.next===null&&(u.tail=p),p.prev===null&&(u.head=p),u.length++,p}function r(u,f){u.tail=new a(f,u.tail,null,u),u.head||(u.head=u.tail),u.length++}function i(u,f){u.head=new a(f,null,u.head,u),u.tail||(u.tail=u.head),u.length++}function a(u,f,h,p){if(!(this instanceof a))return new a(u,f,h,p);this.list=p,this.value=u,f?(f.next=this,this.prev=f):this.prev=null,h?(h.prev=this,this.next=h):this.next=null}A.exports=n,n.Node=a,n.create=n,n.prototype.removeNode=function(u){if(u.list!==this)throw new Error("removing node which does not belong to this list");var f=u.next,h=u.prev;return f&&(f.prev=h),h&&(h.next=f),u===this.head&&(this.head=f),u===this.tail&&(this.tail=h),u.list.length--,u.next=null,u.prev=null,u.list=null,f},n.prototype.unshiftNode=function(u){if(u!==this.head){u.list&&u.list.removeNode(u);var f=this.head;u.list=this,u.next=f,f&&(f.prev=u),this.head=u,this.tail||(this.tail=u),this.length++}},n.prototype.pushNode=function(u){if(u!==this.tail){u.list&&u.list.removeNode(u);var f=this.tail;u.list=this,u.prev=f,f&&(f.next=u),this.tail=u,this.head||(this.head=u),this.length++}},n.prototype.push=function(){for(var u=0,f=arguments.length;u<f;u++)r(this,arguments[u]);return this.length},n.prototype.unshift=function(){for(var u=0,f=arguments.length;u<f;u++)i(this,arguments[u]);return this.length},n.prototype.pop=function(){if(this.tail){var u=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,u}},n.prototype.shift=function(){if(this.head){var u=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,u}},n.prototype.forEach=function(u,f){f=f||this;for(var h=this.head,p=0;h!==null;p++)u.call(f,h.value,p,this),h=h.next},n.prototype.forEachReverse=function(u,f){f=f||this;for(var h=this.tail,p=this.length-1;h!==null;p--)u.call(f,h.value,p,this),h=h.prev},n.prototype.get=function(u){for(var f=0,h=this.head;h!==null&&f<u;f++)h=h.next;if(f===u&&h!==null)return h.value},n.prototype.getReverse=function(u){for(var f=0,h=this.tail;h!==null&&f<u;f++)h=h.prev;if(f===u&&h!==null)return h.value},n.prototype.map=function(u,f){f=f||this;for(var h=new n,p=this.head;p!==null;)h.push(u.call(f,p.value,this)),p=p.next;return h},n.prototype.mapReverse=function(u,f){f=f||this;for(var h=new n,p=this.tail;p!==null;)h.push(u.call(f,p.value,this)),p=p.prev;return h},n.prototype.reduce=function(u,f){var h,p=this.head;if(arguments.length>1)h=f;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");p=this.head.next,h=this.head.value}for(var o=0;p!==null;o++)h=u(h,p.value,o),p=p.next;return h},n.prototype.reduceReverse=function(u,f){var h,p=this.tail;if(arguments.length>1)h=f;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");p=this.tail.prev,h=this.tail.value}for(var o=this.length-1;p!==null;o--)h=u(h,p.value,o),p=p.prev;return h},n.prototype.toArray=function(){for(var u=new Array(this.length),f=0,h=this.head;h!==null;f++)u[f]=h.value,h=h.next;return u},n.prototype.toArrayReverse=function(){for(var u=new Array(this.length),f=0,h=this.tail;h!==null;f++)u[f]=h.value,h=h.prev;return u},n.prototype.slice=function(u,f){(f=f||this.length)<0&&(f+=this.length),(u=u||0)<0&&(u+=this.length);var h=new n;if(f<u||f<0)return h;u<0&&(u=0),f>this.length&&(f=this.length);for(var p=0,o=this.head;o!==null&&p<u;p++)o=o.next;for(;o!==null&&p<f;p++,o=o.next)h.push(o.value);return h},n.prototype.sliceReverse=function(u,f){(f=f||this.length)<0&&(f+=this.length),(u=u||0)<0&&(u+=this.length);var h=new n;if(f<u||f<0)return h;u<0&&(u=0),f>this.length&&(f=this.length);for(var p=this.length,o=this.tail;o!==null&&p>f;p--)o=o.prev;for(;o!==null&&p>u;p--,o=o.prev)h.push(o.value);return h},n.prototype.splice=function(u,f,...h){u>this.length&&(u=this.length-1),u<0&&(u=this.length+u);for(var p=0,o=this.head;o!==null&&p<u;p++)o=o.next;var y=[];for(p=0;o&&p<f;p++)y.push(o.value),o=this.removeNode(o);for(o===null&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev),p=0;p<h.length;p++)o=t(this,o,h[p]);return y},n.prototype.reverse=function(){for(var u=this.head,f=this.tail,h=u;h!==null;h=h.prev){var p=h.prev;h.prev=h.next,h.next=p}return this.head=f,this.tail=u,this};try{c("./node_modules/yallist/iterator.js")(n)}catch (e12){}},crypto:A=>{"use strict";A.exports=_chunkCDIW2WTIjs.a.call(void 0, "crypto")},fs:A=>{"use strict";A.exports=_chunkCDIW2WTIjs.a.call(void 0, "fs")},module:A=>{"use strict";A.exports=_chunkCDIW2WTIjs.a.call(void 0, "module")},path:A=>{"use strict";A.exports=_chunkCDIW2WTIjs.a.call(void 0, "path")},util:A=>{"use strict";A.exports=_chunkCDIW2WTIjs.a.call(void 0, "util")}},N={};function j(A){var e=N[A];if(e!==void 0)return e.exports;var c=N[A]={id:A,loaded:!1,exports:{}};return P[A](c,c.exports,j),c.loaded=!0,c.exports}j.n=A=>{var e=A&&A.__esModule?()=>A.default:()=>A;return j.d(e,{a:e}),e},j.d=(A,e)=>{for(var c in e)j.o(e,c)&&!j.o(A,c)&&Object.defineProperty(A,c,{enumerable:!0,get:e[c]})},j.o=(A,e)=>Object.prototype.hasOwnProperty.call(A,e),j.nmd=A=>(A.paths=[],A.children||(A.children=[]),A);var X={};(()=>{"use strict";j.d(X,{default:()=>hl});var A=j("fs"),e=j("module"),c=j("path");let n=_chunkCDIW2WTIjs.a.call(void 0, "os"),t=_chunkCDIW2WTIjs.a.call(void 0, "vm");var r=j.n(t);let i=_chunkCDIW2WTIjs.a.call(void 0, "url");var a=j("./node_modules/mkdirp/index.js");let u=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,f=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,h=/^["{[]|^-?[0-9][0-9.]{0,14}$/;function p(b,E){if(b!=="__proto__"&&b!=="constructor")return E}let o=function(b){if(typeof b!="string")return b;let E=b.toLowerCase();if(E==="true")return!0;if(E==="false")return!1;if(E==="null")return null;if(E==="nan")return NaN;if(E==="infinity")return 1/0;if(E!=="undefined"){if(!h.test(b))return b;try{return u.test(b)||f.test(b)?JSON.parse(b,p):JSON.parse(b)}catch (e13){return b}}};var y=j("./node_modules/create-require/create-require.js"),d=j.n(y),m=j("./node_modules/semver/index.js"),S=j("./node_modules/pirates/lib/index.js"),T=j("./node_modules/object-hash/index.js"),C=j.n(T);let v=_chunkCDIW2WTIjs.a.call(void 0, "assert");var k=j("util");let O=new Set(e.builtinModules);function x(b){return b.replace(/\\/g,"/")}function M(b){return typeof b!="string"||b.startsWith("file://")?x((0,i.fileURLToPath)(b)):x(b)}let $=/^\/|^\\|^[a-zA-Z]:[/\\]/,H=function(b){return $.test(b)};var Q={exports:{}},K={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Y=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...b)=>console.error("SEMVER",...b):()=>{};(function(b,E){let{MAX_SAFE_COMPONENT_LENGTH:I}=K,G=Y,Z=(E=b.exports={}).re=[],te=E.src=[],ie=E.t={},Se=0,ge=(Le,je,Me)=>{let Fe=Se++;G(Fe,je),ie[Le]=Fe,te[Fe]=je,Z[Fe]=new RegExp(je,Me?"g":void 0)};ge("NUMERICIDENTIFIER","0|[1-9]\\d*"),ge("NUMERICIDENTIFIERLOOSE","[0-9]+"),ge("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),ge("MAINVERSION",`(${te[ie.NUMERICIDENTIFIER]})\\.(${te[ie.NUMERICIDENTIFIER]})\\.(${te[ie.NUMERICIDENTIFIER]})`),ge("MAINVERSIONLOOSE",`(${te[ie.NUMERICIDENTIFIERLOOSE]})\\.(${te[ie.NUMERICIDENTIFIERLOOSE]})\\.(${te[ie.NUMERICIDENTIFIERLOOSE]})`),ge("PRERELEASEIDENTIFIER",`(?:${te[ie.NUMERICIDENTIFIER]}|${te[ie.NONNUMERICIDENTIFIER]})`),ge("PRERELEASEIDENTIFIERLOOSE",`(?:${te[ie.NUMERICIDENTIFIERLOOSE]}|${te[ie.NONNUMERICIDENTIFIER]})`),ge("PRERELEASE",`(?:-(${te[ie.PRERELEASEIDENTIFIER]}(?:\\.${te[ie.PRERELEASEIDENTIFIER]})*))`),ge("PRERELEASELOOSE",`(?:-?(${te[ie.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${te[ie.PRERELEASEIDENTIFIERLOOSE]})*))`),ge("BUILDIDENTIFIER","[0-9A-Za-z-]+"),ge("BUILD",`(?:\\+(${te[ie.BUILDIDENTIFIER]}(?:\\.${te[ie.BUILDIDENTIFIER]})*))`),ge("FULLPLAIN",`v?${te[ie.MAINVERSION]}${te[ie.PRERELEASE]}?${te[ie.BUILD]}?`),ge("FULL",`^${te[ie.FULLPLAIN]}$`),ge("LOOSEPLAIN",`[v=\\s]*${te[ie.MAINVERSIONLOOSE]}${te[ie.PRERELEASELOOSE]}?${te[ie.BUILD]}?`),ge("LOOSE",`^${te[ie.LOOSEPLAIN]}$`),ge("GTLT","((?:<|>)?=?)"),ge("XRANGEIDENTIFIERLOOSE",`${te[ie.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),ge("XRANGEIDENTIFIER",`${te[ie.NUMERICIDENTIFIER]}|x|X|\\*`),ge("XRANGEPLAIN",`[v=\\s]*(${te[ie.XRANGEIDENTIFIER]})(?:\\.(${te[ie.XRANGEIDENTIFIER]})(?:\\.(${te[ie.XRANGEIDENTIFIER]})(?:${te[ie.PRERELEASE]})?${te[ie.BUILD]}?)?)?`),ge("XRANGEPLAINLOOSE",`[v=\\s]*(${te[ie.XRANGEIDENTIFIERLOOSE]})(?:\\.(${te[ie.XRANGEIDENTIFIERLOOSE]})(?:\\.(${te[ie.XRANGEIDENTIFIERLOOSE]})(?:${te[ie.PRERELEASELOOSE]})?${te[ie.BUILD]}?)?)?`),ge("XRANGE",`^${te[ie.GTLT]}\\s*${te[ie.XRANGEPLAIN]}$`),ge("XRANGELOOSE",`^${te[ie.GTLT]}\\s*${te[ie.XRANGEPLAINLOOSE]}$`),ge("COERCE",`(^|[^\\d])(\\d{1,${I}})(?:\\.(\\d{1,${I}}))?(?:\\.(\\d{1,${I}}))?(?:$|[^\\d])`),ge("COERCERTL",te[ie.COERCE],!0),ge("LONETILDE","(?:~>?)"),ge("TILDETRIM",`(\\s*)${te[ie.LONETILDE]}\\s+`,!0),E.tildeTrimReplace="$1~",ge("TILDE",`^${te[ie.LONETILDE]}${te[ie.XRANGEPLAIN]}$`),ge("TILDELOOSE",`^${te[ie.LONETILDE]}${te[ie.XRANGEPLAINLOOSE]}$`),ge("LONECARET","(?:\\^)"),ge("CARETTRIM",`(\\s*)${te[ie.LONECARET]}\\s+`,!0),E.caretTrimReplace="$1^",ge("CARET",`^${te[ie.LONECARET]}${te[ie.XRANGEPLAIN]}$`),ge("CARETLOOSE",`^${te[ie.LONECARET]}${te[ie.XRANGEPLAINLOOSE]}$`),ge("COMPARATORLOOSE",`^${te[ie.GTLT]}\\s*(${te[ie.LOOSEPLAIN]})$|^$`),ge("COMPARATOR",`^${te[ie.GTLT]}\\s*(${te[ie.FULLPLAIN]})$|^$`),ge("COMPARATORTRIM",`(\\s*)${te[ie.GTLT]}\\s*(${te[ie.LOOSEPLAIN]}|${te[ie.XRANGEPLAIN]})`,!0),E.comparatorTrimReplace="$1$2$3",ge("HYPHENRANGE",`^\\s*(${te[ie.XRANGEPLAIN]})\\s+-\\s+(${te[ie.XRANGEPLAIN]})\\s*$`),ge("HYPHENRANGELOOSE",`^\\s*(${te[ie.XRANGEPLAINLOOSE]})\\s+-\\s+(${te[ie.XRANGEPLAINLOOSE]})\\s*$`),ge("STAR","(<|>)?=?\\s*\\*"),ge("GTE0","^\\s*>=\\s*0.0.0\\s*$"),ge("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})(Q,Q.exports);let L=["includePrerelease","loose","rtl"];var D=b=>b?typeof b!="object"?{loose:!0}:L.filter(E=>b[E]).reduce((E,I)=>(E[I]=!0,E),{}):{};let _=/^[0-9]+$/,F=(b,E)=>{let I=_.test(b),G=_.test(E);return I&&G&&(b=+b,E=+E),b===E?0:I&&!G?-1:G&&!I?1:b<E?-1:1};var R={compareIdentifiers:F,rcompareIdentifiers:(b,E)=>F(E,b)};let W=Y,{MAX_LENGTH:J,MAX_SAFE_INTEGER:ne}=K,{re,t:ae}=Q.exports,de=D,{compareIdentifiers:he}=R;class De{constructor(E,I){if(I=de(I),E instanceof De){if(E.loose===!!I.loose&&E.includePrerelease===!!I.includePrerelease)return E;E=E.version}else if(typeof E!="string")throw new TypeError(`Invalid Version: ${E}`);if(E.length>J)throw new TypeError(`version is longer than ${J} characters`);W("SemVer",E,I),this.options=I,this.loose=!!I.loose,this.includePrerelease=!!I.includePrerelease;let G=E.trim().match(I.loose?re[ae.LOOSE]:re[ae.FULL]);if(!G)throw new TypeError(`Invalid Version: ${E}`);if(this.raw=E,this.major=+G[1],this.minor=+G[2],this.patch=+G[3],this.major>ne||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ne||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ne||this.patch<0)throw new TypeError("Invalid patch version");G[4]?this.prerelease=G[4].split(".").map(Z=>{if(/^[0-9]+$/.test(Z)){let te=+Z;if(te>=0&&te<ne)return te}return Z}):this.prerelease=[],this.build=G[5]?G[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(E){if(W("SemVer.compare",this.version,this.options,E),!(E instanceof De)){if(typeof E=="string"&&E===this.version)return 0;E=new De(E,this.options)}return E.version===this.version?0:this.compareMain(E)||this.comparePre(E)}compareMain(E){return E instanceof De||(E=new De(E,this.options)),he(this.major,E.major)||he(this.minor,E.minor)||he(this.patch,E.patch)}comparePre(E){if(E instanceof De||(E=new De(E,this.options)),this.prerelease.length&&!E.prerelease.length)return-1;if(!this.prerelease.length&&E.prerelease.length)return 1;if(!this.prerelease.length&&!E.prerelease.length)return 0;let I=0;do{let G=this.prerelease[I],Z=E.prerelease[I];if(W("prerelease compare",I,G,Z),G===void 0&&Z===void 0)return 0;if(Z===void 0)return 1;if(G===void 0)return-1;if(G!==Z)return he(G,Z)}while(++I)}compareBuild(E){E instanceof De||(E=new De(E,this.options));let I=0;do{let G=this.build[I],Z=E.build[I];if(W("prerelease compare",I,G,Z),G===void 0&&Z===void 0)return 0;if(Z===void 0)return 1;if(G===void 0)return-1;if(G!==Z)return he(G,Z)}while(++I)}inc(E,I){switch(E){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",I);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",I);break;case"prepatch":this.prerelease.length=0,this.inc("patch",I),this.inc("pre",I);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",I),this.inc("pre",I);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let G=this.prerelease.length;for(;--G>=0;)typeof this.prerelease[G]=="number"&&(this.prerelease[G]++,G=-2);G===-1&&this.prerelease.push(0)}I&&(this.prerelease[0]===I?isNaN(this.prerelease[1])&&(this.prerelease=[I,0]):this.prerelease=[I,0]);break;default:throw new Error(`invalid increment argument: ${E}`)}return this.format(),this.raw=this.version,this}}var Te=De;let{MAX_LENGTH:Ce}=K,{re:ye,t:me}=Q.exports,Pe=Te,xe=D;var Re=(b,E)=>{if(E=xe(E),b instanceof Pe)return b;if(typeof b!="string"||b.length>Ce||!(E.loose?ye[me.LOOSE]:ye[me.FULL]).test(b))return null;try{return new Pe(b,E)}catch (e14){return null}};let pe=Re;var ee=(b,E)=>{let I=pe(b,E);return I?I.version:null};let ue=Re;var be=(b,E)=>{let I=ue(b.trim().replace(/^[=v]+/,""),E);return I?I.version:null};let Oe=Te;var $e=(b,E,I,G)=>{typeof I=="string"&&(G=I,I=void 0);try{return new Oe(b,I).inc(E,G).version}catch (e15){return null}};let Be=Te;var Ye=(b,E,I)=>new Be(b,I).compare(new Be(E,I));let ke=Ye;var we=(b,E,I)=>ke(b,E,I)===0;let et=Re,st=we;var lt=(b,E)=>{if(st(b,E))return null;{let I=et(b),G=et(E),Z=I.prerelease.length||G.prerelease.length,te=Z?"pre":"",ie=Z?"prerelease":"";for(let Se in I)if((Se==="major"||Se==="minor"||Se==="patch")&&I[Se]!==G[Se])return te+Se;return ie}};let ot=Te;var At=(b,E)=>new ot(b,E).major;let pt=Te;var at=(b,E)=>new pt(b,E).minor;let ft=Te;var mt=(b,E)=>new ft(b,E).patch;let gt=Re;var _t=(b,E)=>{let I=gt(b,E);return I&&I.prerelease.length?I.prerelease:null};let yr=Ye;var Xe=(b,E,I)=>yr(E,b,I);let kr=Ye;var jt=(b,E)=>kr(b,E,!0);let Rt=Te;var cn=(b,E,I)=>{let G=new Rt(b,I),Z=new Rt(E,I);return G.compare(Z)||G.compareBuild(Z)};let _n=cn;var Xr=(b,E)=>b.sort((I,G)=>_n(I,G,E));let Nr=cn;var Lt=(b,E)=>b.sort((I,G)=>Nr(G,I,E));let dn=Ye;var Ct=(b,E,I)=>dn(b,E,I)>0;let Tt=Ye;var xr=(b,E,I)=>Tt(b,E,I)<0;let Yr=Ye;var Hr=(b,E,I)=>Yr(b,E,I)!==0;let tr=Ye;var pn=(b,E,I)=>tr(b,E,I)>=0;let In=Ye;var tt=(b,E,I)=>In(b,E,I)<=0;let It=we,Nn=Hr,Zn=Ct,ei=pn,ti=xr,ri=tt;var xn=(b,E,I,G)=>{switch(E){case"===":return typeof b=="object"&&(b=b.version),typeof I=="object"&&(I=I.version),b===I;case"!==":return typeof b=="object"&&(b=b.version),typeof I=="object"&&(I=I.version),b!==I;case"":case"=":case"==":return It(b,I,G);case"!=":return Nn(b,I,G);case">":return Zn(b,I,G);case">=":return ei(b,I,G);case"<":return ti(b,I,G);case"<=":return ri(b,I,G);default:throw new TypeError(`Invalid operator: ${E}`)}};let gr=Te,pr=Re,{re:ur,t:Jr}=Q.exports;var Mr=(b,E)=>{if(b instanceof gr)return b;if(typeof b=="number"&&(b=String(b)),typeof b!="string")return null;let I=null;if((E=E||{}).rtl){let G;for(;(G=ur[Jr.COERCERTL].exec(b))&&(!I||I.index+I[0].length!==b.length);)I&&G.index+G[0].length===I.index+I[0].length||(I=G),ur[Jr.COERCERTL].lastIndex=G.index+G[1].length+G[2].length;ur[Jr.COERCERTL].lastIndex=-1}else I=b.match(ur[Jr.COERCE]);return I===null?null:pr(`${I[2]}.${I[3]||"0"}.${I[4]||"0"}`,E)},Br=Ge;function Ge(b){var E=this;if(E instanceof Ge||(E=new Ge),E.tail=null,E.head=null,E.length=0,b&&typeof b.forEach=="function")b.forEach(function(Z){E.push(Z)});else if(arguments.length>0)for(var I=0,G=arguments.length;I<G;I++)E.push(arguments[I]);return E}function fn(b,E,I){var G=E===b.head?new Jt(I,null,E,b):new Jt(I,E,E.next,b);return G.next===null&&(b.tail=G),G.prev===null&&(b.head=G),b.length++,G}function jn(b,E){b.tail=new Jt(E,b.tail,null,b),b.head||(b.head=b.tail),b.length++}function bt(b,E){b.head=new Jt(E,null,b.head,b),b.tail||(b.tail=b.head),b.length++}function Jt(b,E,I,G){if(!(this instanceof Jt))return new Jt(b,E,I,G);this.list=G,this.value=b,E?(E.next=this,this.prev=E):this.prev=null,I?(I.prev=this,this.next=I):this.next=null}Ge.Node=Jt,Ge.create=Ge,Ge.prototype.removeNode=function(b){if(b.list!==this)throw new Error("removing node which does not belong to this list");var E=b.next,I=b.prev;return E&&(E.prev=I),I&&(I.next=E),b===this.head&&(this.head=E),b===this.tail&&(this.tail=I),b.list.length--,b.next=null,b.prev=null,b.list=null,E},Ge.prototype.unshiftNode=function(b){if(b!==this.head){b.list&&b.list.removeNode(b);var E=this.head;b.list=this,b.next=E,E&&(E.prev=b),this.head=b,this.tail||(this.tail=b),this.length++}},Ge.prototype.pushNode=function(b){if(b!==this.tail){b.list&&b.list.removeNode(b);var E=this.tail;b.list=this,b.prev=E,E&&(E.next=b),this.tail=b,this.head||(this.head=b),this.length++}},Ge.prototype.push=function(){for(var b=0,E=arguments.length;b<E;b++)jn(this,arguments[b]);return this.length},Ge.prototype.unshift=function(){for(var b=0,E=arguments.length;b<E;b++)bt(this,arguments[b]);return this.length},Ge.prototype.pop=function(){if(this.tail){var b=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,b}},Ge.prototype.shift=function(){if(this.head){var b=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,b}},Ge.prototype.forEach=function(b,E){E=E||this;for(var I=this.head,G=0;I!==null;G++)b.call(E,I.value,G,this),I=I.next},Ge.prototype.forEachReverse=function(b,E){E=E||this;for(var I=this.tail,G=this.length-1;I!==null;G--)b.call(E,I.value,G,this),I=I.prev},Ge.prototype.get=function(b){for(var E=0,I=this.head;I!==null&&E<b;E++)I=I.next;if(E===b&&I!==null)return I.value},Ge.prototype.getReverse=function(b){for(var E=0,I=this.tail;I!==null&&E<b;E++)I=I.prev;if(E===b&&I!==null)return I.value},Ge.prototype.map=function(b,E){E=E||this;for(var I=new Ge,G=this.head;G!==null;)I.push(b.call(E,G.value,this)),G=G.next;return I},Ge.prototype.mapReverse=function(b,E){E=E||this;for(var I=new Ge,G=this.tail;G!==null;)I.push(b.call(E,G.value,this)),G=G.prev;return I},Ge.prototype.reduce=function(b,E){var I,G=this.head;if(arguments.length>1)I=E;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");G=this.head.next,I=this.head.value}for(var Z=0;G!==null;Z++)I=b(I,G.value,Z),G=G.next;return I},Ge.prototype.reduceReverse=function(b,E){var I,G=this.tail;if(arguments.length>1)I=E;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");G=this.tail.prev,I=this.tail.value}for(var Z=this.length-1;G!==null;Z--)I=b(I,G.value,Z),G=G.prev;return I},Ge.prototype.toArray=function(){for(var b=new Array(this.length),E=0,I=this.head;I!==null;E++)b[E]=I.value,I=I.next;return b},Ge.prototype.toArrayReverse=function(){for(var b=new Array(this.length),E=0,I=this.tail;I!==null;E++)b[E]=I.value,I=I.prev;return b},Ge.prototype.slice=function(b,E){(E=E||this.length)<0&&(E+=this.length),(b=b||0)<0&&(b+=this.length);var I=new Ge;if(E<b||E<0)return I;b<0&&(b=0),E>this.length&&(E=this.length);for(var G=0,Z=this.head;Z!==null&&G<b;G++)Z=Z.next;for(;Z!==null&&G<E;G++,Z=Z.next)I.push(Z.value);return I},Ge.prototype.sliceReverse=function(b,E){(E=E||this.length)<0&&(E+=this.length),(b=b||0)<0&&(b+=this.length);var I=new Ge;if(E<b||E<0)return I;b<0&&(b=0),E>this.length&&(E=this.length);for(var G=this.length,Z=this.tail;Z!==null&&G>E;G--)Z=Z.prev;for(;Z!==null&&G>b;G--,Z=Z.prev)I.push(Z.value);return I},Ge.prototype.splice=function(b,E,...I){b>this.length&&(b=this.length-1),b<0&&(b=this.length+b);for(var G=0,Z=this.head;Z!==null&&G<b;G++)Z=Z.next;var te=[];for(G=0;Z&&G<E;G++)te.push(Z.value),Z=this.removeNode(Z);for(Z===null&&(Z=this.tail),Z!==this.head&&Z!==this.tail&&(Z=Z.prev),G=0;G<I.length;G++)Z=fn(this,Z,I[G]);return te},Ge.prototype.reverse=function(){for(var b=this.head,E=this.tail,I=b;I!==null;I=I.prev){var G=I.prev;I.prev=I.next,I.next=G}return this.head=E,this.tail=b,this};try{_chunkCDIW2WTIjs.a.call(void 0, "./iterator.js")(Ge)}catch (e16){}let Rn=Br,fr=Symbol("max"),rr=Symbol("length"),br=Symbol("lengthCalculator"),$r=Symbol("allowStale"),nr=Symbol("maxAge"),zt=Symbol("dispose"),hn=Symbol("noDisposeOnSet"),St=Symbol("lruList"),Bt=Symbol("cache"),Ln=Symbol("updateAgeOnGet"),jr=()=>1,Ur=(b,E,I)=>{let G=b[Bt].get(E);if(G){let Z=G.value;if(zr(b,Z)){if(Er(b,G),!b[$r])return}else I&&(b[Ln]&&(G.value.now=Date.now()),b[St].unshiftNode(G));return Z.value}},zr=(b,E)=>{if(!E||!E.maxAge&&!b[nr])return!1;let I=Date.now()-E.now;return E.maxAge?I>E.maxAge:b[nr]&&I>b[nr]},wt=b=>{if(b[rr]>b[fr])for(let E=b[St].tail;b[rr]>b[fr]&&E!==null;){let I=E.prev;Er(b,E),E=I}},Er=(b,E)=>{if(E){let I=E.value;b[zt]&&b[zt](I.key,I.value),b[rr]-=I.length,b[Bt].delete(I.key),b[St].removeNode(E)}};class Ee{constructor(E,I,G,Z,te){this.key=E,this.value=I,this.length=G,this.now=Z,this.maxAge=te||0}}let s=(b,E,I,G)=>{let Z=I.value;zr(b,Z)&&(Er(b,I),b[$r]||(Z=void 0)),Z&&E.call(G,Z.value,Z.key,b)};var l=class{constructor(b){if(typeof b=="number"&&(b={max:b}),b||(b={}),b.max&&(typeof b.max!="number"||b.max<0))throw new TypeError("max must be a non-negative number");this[fr]=b.max||1/0;let E=b.length||jr;if(this[br]=typeof E!="function"?jr:E,this[$r]=b.stale||!1,b.maxAge&&typeof b.maxAge!="number")throw new TypeError("maxAge must be a number");this[nr]=b.maxAge||0,this[zt]=b.dispose,this[hn]=b.noDisposeOnSet||!1,this[Ln]=b.updateAgeOnGet||!1,this.reset()}set max(b){if(typeof b!="number"||b<0)throw new TypeError("max must be a non-negative number");this[fr]=b||1/0,wt(this)}get max(){return this[fr]}set allowStale(b){this[$r]=!!b}get allowStale(){return this[$r]}set maxAge(b){if(typeof b!="number")throw new TypeError("maxAge must be a non-negative number");this[nr]=b,wt(this)}get maxAge(){return this[nr]}set lengthCalculator(b){typeof b!="function"&&(b=jr),b!==this[br]&&(this[br]=b,this[rr]=0,this[St].forEach(E=>{E.length=this[br](E.value,E.key),this[rr]+=E.length})),wt(this)}get lengthCalculator(){return this[br]}get length(){return this[rr]}get itemCount(){return this[St].length}rforEach(b,E){E=E||this;for(let I=this[St].tail;I!==null;){let G=I.prev;s(this,b,I,E),I=G}}forEach(b,E){E=E||this;for(let I=this[St].head;I!==null;){let G=I.next;s(this,b,I,E),I=G}}keys(){return this[St].toArray().map(b=>b.key)}values(){return this[St].toArray().map(b=>b.value)}reset(){this[zt]&&this[St]&&this[St].length&&this[St].forEach(b=>this[zt](b.key,b.value)),this[Bt]=new Map,this[St]=new Rn,this[rr]=0}dump(){return this[St].map(b=>!zr(this,b)&&{k:b.key,v:b.value,e:b.now+(b.maxAge||0)}).toArray().filter(b=>b)}dumpLru(){return this[St]}set(b,E,I){if((I=I||this[nr])&&typeof I!="number")throw new TypeError("maxAge must be a number");let G=I?Date.now():0,Z=this[br](E,b);if(this[Bt].has(b)){if(Z>this[fr])return Er(this,this[Bt].get(b)),!1;let ie=this[Bt].get(b).value;return this[zt]&&(this[hn]||this[zt](b,ie.value)),ie.now=G,ie.maxAge=I,ie.value=E,this[rr]+=Z-ie.length,ie.length=Z,this.get(b),wt(this),!0}let te=new Ee(b,E,Z,G,I);return te.length>this[fr]?(this[zt]&&this[zt](b,E),!1):(this[rr]+=te.length,this[St].unshift(te),this[Bt].set(b,this[St].head),wt(this),!0)}has(b){if(!this[Bt].has(b))return!1;let E=this[Bt].get(b).value;return!zr(this,E)}get(b){return Ur(this,b,!0)}peek(b){return Ur(this,b,!1)}pop(){let b=this[St].tail;return b?(Er(this,b),b.value):null}del(b){Er(this,this[Bt].get(b))}load(b){this.reset();let E=Date.now();for(let I=b.length-1;I>=0;I--){let G=b[I],Z=G.e||0;if(Z===0)this.set(G.k,G.v);else{let te=Z-E;te>0&&this.set(G.k,G.v,te)}}}prune(){this[Bt].forEach((b,E)=>Ur(this,E,!1))}};class g{constructor(E,I){if(I=q(I),E instanceof g)return E.loose===!!I.loose&&E.includePrerelease===!!I.includePrerelease?E:new g(E.raw,I);if(E instanceof oe)return this.raw=E.value,this.set=[[E]],this.format(),this;if(this.options=I,this.loose=!!I.loose,this.includePrerelease=!!I.includePrerelease,this.raw=E,this.set=E.split(/\s*\|\|\s*/).map(G=>this.parseRange(G.trim())).filter(G=>G.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${E}`);if(this.set.length>1){let G=this.set[0];if(this.set=this.set.filter(Z=>!it(Z[0])),this.set.length===0)this.set=[G];else if(this.set.length>1){for(let Z of this.set)if(Z.length===1&&ht(Z[0])){this.set=[Z];break}}}this.format()}format(){return this.range=this.set.map(E=>E.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(E){E=E.trim();let I=`parseRange:${Object.keys(this.options).join(",")}:${E}`,G=U.get(I);if(G)return G;let Z=this.options.loose,te=Z?Ie[We.HYPHENRANGELOOSE]:Ie[We.HYPHENRANGE];E=E.replace(te,Ri(this.options.includePrerelease)),ce("hyphen replace",E),E=E.replace(Ie[We.COMPARATORTRIM],Qe),ce("comparator trim",E,Ie[We.COMPARATORTRIM]),E=(E=(E=E.replace(Ie[We.TILDETRIM],qe)).replace(Ie[We.CARETTRIM],yt)).split(/\s+/).join(" ");let ie=Z?Ie[We.COMPARATORLOOSE]:Ie[We.COMPARATOR],Se=E.split(" ").map(je=>ir(je,this.options)).join(" ").split(/\s+/).map(je=>ji(je,this.options)).filter(this.options.loose?je=>!!je.match(ie):()=>!0).map(je=>new oe(je,this.options));Se.length;let ge=new Map;for(let je of Se){if(it(je))return[je];ge.set(je.value,je)}ge.size>1&&ge.has("")&&ge.delete("");let Le=[...ge.values()];return U.set(I,Le),Le}intersects(E,I){if(!(E instanceof g))throw new TypeError("a Range is required");return this.set.some(G=>Et(G,I)&&E.set.some(Z=>Et(Z,I)&&G.every(te=>Z.every(ie=>te.intersects(ie,I)))))}test(E){if(!E)return!1;if(typeof E=="string")try{E=new ve(E,this.options)}catch (e17){return!1}for(let I=0;I<this.set.length;I++)if(Bs(this.set[I],E,this.options))return!0;return!1}}var w=g;let U=new l({max:1e3}),q=D,oe=mn,ce=Y,ve=Te,{re:Ie,t:We,comparatorTrimReplace:Qe,tildeTrimReplace:qe,caretTrimReplace:yt}=Q.exports,it=b=>b.value==="<0.0.0-0",ht=b=>b.value==="",Et=(b,E)=>{let I=!0,G=b.slice(),Z=G.pop();for(;I&&G.length;)I=G.every(te=>Z.intersects(te,E)),Z=G.pop();return I},ir=(b,E)=>(ce("comp",b,E),b=Fs(b,E),ce("caret",b),b=Rs(b,E),ce("tildes",b),b=Ni(b,E),ce("xrange",b),b=Ms(b,E),ce("stars",b),b),$t=b=>!b||b.toLowerCase()==="x"||b==="*",Rs=(b,E)=>b.trim().split(/\s+/).map(I=>Ls(I,E)).join(" "),Ls=(b,E)=>{let I=E.loose?Ie[We.TILDELOOSE]:Ie[We.TILDE];return b.replace(I,(G,Z,te,ie,Se)=>{let ge;return ce("tilde",b,G,Z,te,ie,Se),$t(Z)?ge="":$t(te)?ge=`>=${Z}.0.0 <${+Z+1}.0.0-0`:$t(ie)?ge=`>=${Z}.${te}.0 <${Z}.${+te+1}.0-0`:Se?(ce("replaceTilde pr",Se),ge=`>=${Z}.${te}.${ie}-${Se} <${Z}.${+te+1}.0-0`):ge=`>=${Z}.${te}.${ie} <${Z}.${+te+1}.0-0`,ce("tilde return",ge),ge})},Fs=(b,E)=>b.trim().split(/\s+/).map(I=>ks(I,E)).join(" "),ks=(b,E)=>{ce("caret",b,E);let I=E.loose?Ie[We.CARETLOOSE]:Ie[We.CARET],G=E.includePrerelease?"-0":"";return b.replace(I,(Z,te,ie,Se,ge)=>{let Le;return ce("caret",b,Z,te,ie,Se,ge),$t(te)?Le="":$t(ie)?Le=`>=${te}.0.0${G} <${+te+1}.0.0-0`:$t(Se)?Le=te==="0"?`>=${te}.${ie}.0${G} <${te}.${+ie+1}.0-0`:`>=${te}.${ie}.0${G} <${+te+1}.0.0-0`:ge?(ce("replaceCaret pr",ge),Le=te==="0"?ie==="0"?`>=${te}.${ie}.${Se}-${ge} <${te}.${ie}.${+Se+1}-0`:`>=${te}.${ie}.${Se}-${ge} <${te}.${+ie+1}.0-0`:`>=${te}.${ie}.${Se}-${ge} <${+te+1}.0.0-0`):(ce("no pr"),Le=te==="0"?ie==="0"?`>=${te}.${ie}.${Se}${G} <${te}.${ie}.${+Se+1}-0`:`>=${te}.${ie}.${Se}${G} <${te}.${+ie+1}.0-0`:`>=${te}.${ie}.${Se} <${+te+1}.0.0-0`),ce("caret return",Le),Le})},Ni=(b,E)=>(ce("replaceXRanges",b,E),b.split(/\s+/).map(I=>xi(I,E)).join(" ")),xi=(b,E)=>{b=b.trim();let I=E.loose?Ie[We.XRANGELOOSE]:Ie[We.XRANGE];return b.replace(I,(G,Z,te,ie,Se,ge)=>{ce("xRange",b,G,Z,te,ie,Se,ge);let Le=$t(te),je=Le||$t(ie),Me=je||$t(Se),Fe=Me;return Z==="="&&Fe&&(Z=""),ge=E.includePrerelease?"-0":"",Le?G=Z===">"||Z==="<"?"<0.0.0-0":"*":Z&&Fe?(je&&(ie=0),Se=0,Z===">"?(Z=">=",je?(te=+te+1,ie=0,Se=0):(ie=+ie+1,Se=0)):Z==="<="&&(Z="<",je?te=+te+1:ie=+ie+1),Z==="<"&&(ge="-0"),G=`${Z+te}.${ie}.${Se}${ge}`):je?G=`>=${te}.0.0${ge} <${+te+1}.0.0-0`:Me&&(G=`>=${te}.${ie}.0${ge} <${te}.${+ie+1}.0-0`),ce("xRange return",G),G})},Ms=(b,E)=>(ce("replaceStars",b,E),b.trim().replace(Ie[We.STAR],"")),ji=(b,E)=>(ce("replaceGTE0",b,E),b.trim().replace(Ie[E.includePrerelease?We.GTE0PRE:We.GTE0],"")),Ri=b=>(E,I,G,Z,te,ie,Se,ge,Le,je,Me,Fe,_e)=>`${I=$t(G)?"":$t(Z)?`>=${G}.0.0${b?"-0":""}`:$t(te)?`>=${G}.${Z}.0${b?"-0":""}`:ie?`>=${I}`:`>=${I}${b?"-0":""}`} ${ge=$t(Le)?"":$t(je)?`<${+Le+1}.0.0-0`:$t(Me)?`<${Le}.${+je+1}.0-0`:Fe?`<=${Le}.${je}.${Me}-${Fe}`:b?`<${Le}.${je}.${+Me+1}-0`:`<=${ge}`}`.trim(),Bs=(b,E,I)=>{for(let G=0;G<b.length;G++)if(!b[G].test(E))return!1;if(E.prerelease.length&&!I.includePrerelease){for(let G=0;G<b.length;G++)if(ce(b[G].semver),b[G].semver!==oe.ANY&&b[G].semver.prerelease.length>0){let Z=b[G].semver;if(Z.major===E.major&&Z.minor===E.minor&&Z.patch===E.patch)return!0}return!1}return!0},qr=Symbol("SemVer ANY");class Vr{static get ANY(){return qr}constructor(E,I){if(I=Li(I),E instanceof Vr){if(E.loose===!!I.loose)return E;E=E.value}gn("comparator",E,I),this.options=I,this.loose=!!I.loose,this.parse(E),this.semver===qr?this.value="":this.value=this.operator+this.semver.version,gn("comp",this)}parse(E){let I=this.options.loose?Fn[ni.COMPARATORLOOSE]:Fn[ni.COMPARATOR],G=E.match(I);if(!G)throw new TypeError(`Invalid comparator: ${E}`);this.operator=G[1]!==void 0?G[1]:"",this.operator==="="&&(this.operator=""),G[2]?this.semver=new Fi(G[2],this.options.loose):this.semver=qr}toString(){return this.value}test(E){if(gn("Comparator.test",E,this.options.loose),this.semver===qr||E===qr)return!0;if(typeof E=="string")try{E=new Fi(E,this.options)}catch (e18){return!1}return yn(E,this.operator,this.semver,this.options)}intersects(E,I){if(!(E instanceof Vr))throw new TypeError("a Comparator is required");if(I&&typeof I=="object"||(I={loose:!!I,includePrerelease:!1}),this.operator==="")return this.value===""||new kn(E.value,I).test(this.value);if(E.operator==="")return E.value===""||new kn(this.value,I).test(E.semver);let G=!(this.operator!==">="&&this.operator!==">"||E.operator!==">="&&E.operator!==">"),Z=!(this.operator!=="<="&&this.operator!=="<"||E.operator!=="<="&&E.operator!=="<"),te=this.semver.version===E.semver.version,ie=!(this.operator!==">="&&this.operator!=="<="||E.operator!==">="&&E.operator!=="<="),Se=yn(this.semver,"<",E.semver,I)&&(this.operator===">="||this.operator===">")&&(E.operator==="<="||E.operator==="<"),ge=yn(this.semver,">",E.semver,I)&&(this.operator==="<="||this.operator==="<")&&(E.operator===">="||E.operator===">");return G||Z||te&&ie||Se||ge}}var mn=Vr;let Li=D,{re:Fn,t:ni}=Q.exports,yn=xn,gn=Y,Fi=Te,kn=w,bn=w;var Mn=(b,E,I)=>{try{E=new bn(E,I)}catch (e19){return!1}return E.test(b)};let $s=w;var Qr=(b,E)=>new $s(b,E).set.map(I=>I.map(G=>G.value).join(" ").trim().split(" "));let ki=Te,Us=w;var Mi=(b,E,I)=>{let G=null,Z=null,te=null;try{te=new Us(E,I)}catch (e20){return null}return b.forEach(ie=>{te.test(ie)&&(G&&Z.compare(ie)!==-1||(G=ie,Z=new ki(G,I)))}),G};let Bi=Te,Vs=w;var $i=(b,E,I)=>{let G=null,Z=null,te=null;try{te=new Vs(E,I)}catch (e21){return null}return b.forEach(ie=>{te.test(ie)&&(G&&Z.compare(ie)!==1||(G=ie,Z=new Bi(G,I)))}),G};let B=Te,V=w,z=Ct;var se=(b,E)=>{b=new V(b,E);let I=new B("0.0.0");if(b.test(I)||(I=new B("0.0.0-0"),b.test(I)))return I;I=null;for(let G=0;G<b.set.length;++G){let Z=b.set[G],te=null;Z.forEach(ie=>{let Se=new B(ie.semver.version);switch(ie.operator){case">":Se.prerelease.length===0?Se.patch++:Se.prerelease.push(0),Se.raw=Se.format();case"":case">=":te&&!z(Se,te)||(te=Se);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${ie.operator}`)}}),!te||I&&!z(I,te)||(I=te)}return I&&b.test(I)?I:null};let le=w;var fe=(b,E)=>{try{return new le(b,E).range||"*"}catch (e22){return null}};let Ae=Te,Ne=mn,{ANY:Ve}=Ne,Ue=w,Ke=Mn,He=Ct,nt=xr,Je=tt,sr=pn;var cr=(b,E,I,G)=>{let Z,te,ie,Se,ge;switch(b=new Ae(b,G),E=new Ue(E,G),I){case">":Z=He,te=Je,ie=nt,Se=">",ge=">=";break;case"<":Z=nt,te=sr,ie=He,Se="<",ge="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Ke(b,E,G))return!1;for(let Le=0;Le<E.set.length;++Le){let je=E.set[Le],Me=null,Fe=null;if(je.forEach(_e=>{_e.semver===Ve&&(_e=new Ne(">=0.0.0")),Me=Me||_e,Fe=Fe||_e,Z(_e.semver,Me.semver,G)?Me=_e:ie(_e.semver,Fe.semver,G)&&(Fe=_e)}),Me.operator===Se||Me.operator===ge||(!Fe.operator||Fe.operator===Se)&&te(b,Fe.semver)||Fe.operator===ge&&ie(b,Fe.semver))return!1}return!0};let Zr=cr;var Ui=(b,E,I)=>Zr(b,E,">",I);let Ap=cr;var Cp=(b,E,I)=>Ap(b,E,"<",I);let co=w;var wp=(b,E,I)=>(b=new co(b,I),E=new co(E,I),b.intersects(E));let Dp=Mn,Op=Ye,po=w,Vi=mn,{ANY:Gs}=Vi,ii=Mn,Ws=Ye,_p=(b,E,I)=>{if(b===E)return!0;if(b.length===1&&b[0].semver===Gs){if(E.length===1&&E[0].semver===Gs)return!0;b=I.includePrerelease?[new Vi(">=0.0.0-0")]:[new Vi(">=0.0.0")]}if(E.length===1&&E[0].semver===Gs){if(I.includePrerelease)return!0;E=[new Vi(">=0.0.0")]}let G=new Set,Z,te,ie,Se,ge,Le,je;for(let _e of b)_e.operator===">"||_e.operator===">="?Z=fo(Z,_e,I):_e.operator==="<"||_e.operator==="<="?te=ho(te,_e,I):G.add(_e.semver);if(G.size>1||Z&&te&&(ie=Ws(Z.semver,te.semver,I),ie>0||ie===0&&(Z.operator!==">="||te.operator!=="<=")))return null;for(let _e of G){if(Z&&!ii(_e,String(Z),I)||te&&!ii(_e,String(te),I))return null;for(let rt of E)if(!ii(_e,String(rt),I))return!1;return!0}let Me=!(!te||I.includePrerelease||!te.semver.prerelease.length)&&te.semver,Fe=!(!Z||I.includePrerelease||!Z.semver.prerelease.length)&&Z.semver;Me&&Me.prerelease.length===1&&te.operator==="<"&&Me.prerelease[0]===0&&(Me=!1);for(let _e of E){if(je=je||_e.operator===">"||_e.operator===">=",Le=Le||_e.operator==="<"||_e.operator==="<=",Z){if(Fe&&_e.semver.prerelease&&_e.semver.prerelease.length&&_e.semver.major===Fe.major&&_e.semver.minor===Fe.minor&&_e.semver.patch===Fe.patch&&(Fe=!1),_e.operator===">"||_e.operator===">="){if(Se=fo(Z,_e,I),Se===_e&&Se!==Z)return!1}else if(Z.operator===">="&&!ii(Z.semver,String(_e),I))return!1}if(te){if(Me&&_e.semver.prerelease&&_e.semver.prerelease.length&&_e.semver.major===Me.major&&_e.semver.minor===Me.minor&&_e.semver.patch===Me.patch&&(Me=!1),_e.operator==="<"||_e.operator==="<="){if(ge=ho(te,_e,I),ge===_e&&ge!==te)return!1}else if(te.operator==="<="&&!ii(te.semver,String(_e),I))return!1}if(!_e.operator&&(te||Z)&&ie!==0)return!1}return!(Z&&Le&&!te&&ie!==0)&&!(te&&je&&!Z&&ie!==0)&&!Fe&&!Me},fo=(b,E,I)=>{if(!b)return E;let G=Ws(b.semver,E.semver,I);return G>0?b:G<0||E.operator===">"&&b.operator===">="?E:b},ho=(b,E,I)=>{if(!b)return E;let G=Ws(b.semver,E.semver,I);return G<0?b:G>0||E.operator==="<"&&b.operator==="<="?E:b};var Ip=(b,E,I={})=>{if(b===E)return!0;b=new po(b,I),E=new po(E,I);let G=!1;e:for(let Z of b.set){for(let te of E.set){let ie=_p(Z,te,I);if(G=G||ie!==null,ie)continue e}if(G)return!1}return!0};let Ks=Q.exports;var Np={re:Ks.re,src:Ks.src,tokens:Ks.t,SEMVER_SPEC_VERSION:K.SEMVER_SPEC_VERSION,SemVer:Te,compareIdentifiers:R.compareIdentifiers,rcompareIdentifiers:R.rcompareIdentifiers,parse:Re,valid:ee,clean:be,inc:$e,diff:lt,major:At,minor:at,patch:mt,prerelease:_t,compare:Ye,rcompare:Xe,compareLoose:jt,compareBuild:cn,sort:Xr,rsort:Lt,gt:Ct,lt:xr,eq:we,neq:Hr,gte:pn,lte:tt,cmp:xn,coerce:Mr,Comparator:mn,Range:w,satisfies:Mn,toComparators:Qr,maxSatisfying:Mi,minSatisfying:$i,minVersion:se,validRange:fe,outside:cr,gtr:Ui,ltr:Cp,intersects:wp,simplifyRange:(b,E,I)=>{let G=[],Z=null,te=null,ie=b.sort((je,Me)=>Op(je,Me,I));for(let je of ie)Dp(je,E,I)?(te=je,Z||(Z=je)):(te&&G.push([Z,te]),te=null,Z=null);Z&&G.push([Z,null]);let Se=[];for(let[je,Me]of G)je===Me?Se.push(je):Me||je!==ie[0]?Me?je===ie[0]?Se.push(`<=${Me}`):Se.push(`${je} - ${Me}`):Se.push(`>=${je}`):Se.push("*");let ge=Se.join(" || "),Le=typeof E.raw=="string"?E.raw:String(E);return ge.length<Le.length?ge:E},subset:Ip},vr=Np;let xp={read:function(b){return mo(c.dirname(b))}};function mo(b){try{return{string:A.readFileSync(c.toNamespacedPath(c.join(b,"package.json")),"utf8")}}catch(E){if(E.code==="ENOENT"){let I=c.dirname(b);return b!==I?mo(I):{string:void 0}}throw E}}let jp=process.platform==="win32",Rp={}.hasOwnProperty,hr={},yo=new Map,go;function Rr(b,E,I){return yo.set(b,E),function(G,Z){return te;function te(...ie){let Se=Error.stackTraceLimit;Xs()&&(Error.stackTraceLimit=0);let ge=new G;Xs()&&(Error.stackTraceLimit=Se);let Le=function(je,Me,Fe){let _e=yo.get(je);if(typeof _e=="function")return v(_e.length<=Me.length,`Code: ${je}; The provided arguments length (${Me.length}) does not match the required ones (${_e.length}).`),Reflect.apply(_e,Fe,Me);let rt=(_e.match(/%[dfijoOs]/g)||[]).length;return v(rt===Me.length,`Code: ${je}; The provided arguments length (${Me.length}) does not match the required ones (${rt}).`),Me.length===0?_e:(Me.unshift(_e),Reflect.apply(k.format,null,Me))}(Z,ie,ge);return Object.defineProperty(ge,"message",{value:Le,enumerable:!1,writable:!0,configurable:!0}),Object.defineProperty(ge,"toString",{value(){return`${this.name} [${Z}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}),Lp(ge,G.name,Z),ge.code=Z,ge}}(I,b)}hr.ERR_INVALID_MODULE_SPECIFIER=Rr("ERR_INVALID_MODULE_SPECIFIER",(b,E,I)=>`Invalid module "${b}" ${E}${I?` imported from ${I}`:""}`,TypeError),hr.ERR_INVALID_PACKAGE_CONFIG=Rr("ERR_INVALID_PACKAGE_CONFIG",(b,E,I)=>`Invalid package config ${b}${E?` while importing ${E}`:""}${I?`. ${I}`:""}`,Error),hr.ERR_INVALID_PACKAGE_TARGET=Rr("ERR_INVALID_PACKAGE_TARGET",(b,E,I,G=!1,Z)=>{let te=typeof I=="string"&&!G&&I.length>0&&!I.startsWith("./");return E==="."?(v(G===!1),`Invalid "exports" main target ${JSON.stringify(I)} defined in the package config ${b}package.json${Z?` imported from ${Z}`:""}${te?'; targets must start with "./"':""}`):`Invalid "${G?"imports":"exports"}" target ${JSON.stringify(I)} defined for '${E}' in the package config ${b}package.json${Z?` imported from ${Z}`:""}${te?'; targets must start with "./"':""}`},Error),hr.ERR_MODULE_NOT_FOUND=Rr("ERR_MODULE_NOT_FOUND",(b,E,I="package")=>`Cannot find ${I} '${b}' imported from ${E}`,Error),hr.ERR_PACKAGE_IMPORT_NOT_DEFINED=Rr("ERR_PACKAGE_IMPORT_NOT_DEFINED",(b,E,I)=>`Package import specifier "${b}" is not defined${E?` in package ${E}package.json`:""} imported from ${I}`,TypeError),hr.ERR_PACKAGE_PATH_NOT_EXPORTED=Rr("ERR_PACKAGE_PATH_NOT_EXPORTED",(b,E,I)=>E==="."?`No "exports" main defined in ${b}package.json${I?` imported from ${I}`:""}`:`Package subpath '${E}' is not defined by "exports" in ${b}package.json${I?` imported from ${I}`:""}`,Error),hr.ERR_UNSUPPORTED_DIR_IMPORT=Rr("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),hr.ERR_UNKNOWN_FILE_EXTENSION=Rr("ERR_UNKNOWN_FILE_EXTENSION",'Unknown file extension "%s" for %s',TypeError),hr.ERR_INVALID_ARG_VALUE=Rr("ERR_INVALID_ARG_VALUE",(b,E,I="is invalid")=>{let G=(0,k.inspect)(E);return G.length>128&&(G=`${G.slice(0,128)}...`),`The ${b.includes(".")?"property":"argument"} '${b}' ${I}. Received ${G}`},TypeError),hr.ERR_UNSUPPORTED_ESM_URL_SCHEME=Rr("ERR_UNSUPPORTED_ESM_URL_SCHEME",b=>{let E="Only file and data URLs are supported by the default ESM loader";return jp&&b.protocol.length===2&&(E+=". On Windows, absolute paths must be valid file:// URLs"),E+=`. Received protocol '${b.protocol}'`,E},Error);let Lp=bo(function(b,E,I){(b=Fp(b)).name=`${E} [${I}]`,b.stack,E==="SystemError"?Object.defineProperty(b,"name",{value:E,enumerable:!1,writable:!0,configurable:!0}):delete b.name});function Xs(){let b=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return b===void 0?Object.isExtensible(Error):Rp.call(b,"writable")?b.writable:b.set!==void 0}function bo(b){let E="__node_internal_"+b.name;return Object.defineProperty(b,"name",{value:E}),b}let Fp=bo(function(b){let E=Xs();return E&&(go=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(b),E&&(Error.stackTraceLimit=go),b}),{ERR_UNKNOWN_FILE_EXTENSION:kp}=hr,Mp={__proto__:null,".cjs":"commonjs",".js":"module",".mjs":"module"};function Bp(b){if(b.startsWith("node:"))return{format:"builtin"};let E=new i.URL(b);if(E.protocol==="data:"){let{1:I}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(E.pathname)||[null,null];return{format:I==="text/javascript"?"module":null}}if(E.protocol==="file:"){let I=c.extname(E.pathname),G;if(G=I===".js"?function(Z){return zs(Z).type}(E.href)==="module"?"module":"commonjs":Mp[I],!G)throw new kp(I,(0,i.fileURLToPath)(b));return{format:G||null}}return{format:null}}(function({version:b=process.version,experimental:E=!1}={}){var I=["assert","buffer","child_process","cluster","console","constants","crypto","dgram","dns","domain","events","fs","http","https","module","net","os","path","punycode","querystring","readline","repl","stream","string_decoder","sys","timers","tls","tty","url","util","vm","zlib"];vr.lt(b,"6.0.0")&&I.push("freelist"),vr.gte(b,"1.0.0")&&I.push("v8"),vr.gte(b,"1.1.0")&&I.push("process"),vr.gte(b,"8.0.0")&&I.push("inspector"),vr.gte(b,"8.1.0")&&I.push("async_hooks"),vr.gte(b,"8.4.0")&&I.push("http2"),vr.gte(b,"8.5.0")&&I.push("perf_hooks"),vr.gte(b,"10.0.0")&&I.push("trace_events"),vr.gte(b,"10.5.0")&&(E||vr.gte(b,"12.0.0"))&&I.push("worker_threads"),vr.gte(b,"12.16.0")&&E&&I.push("wasi")})();let{ERR_INVALID_MODULE_SPECIFIER:Gi,ERR_INVALID_PACKAGE_CONFIG:Ys,ERR_INVALID_PACKAGE_TARGET:$p,ERR_MODULE_NOT_FOUND:Hs,ERR_PACKAGE_IMPORT_NOT_DEFINED:Up,ERR_PACKAGE_PATH_NOT_EXPORTED:Vp,ERR_UNSUPPORTED_DIR_IMPORT:Gp,ERR_UNSUPPORTED_ESM_URL_SCHEME:EE,ERR_INVALID_ARG_VALUE:vE}=hr,Eo={}.hasOwnProperty;Object.freeze(["node","import"]);let vo=/(^|\\|\/)(\.\.?|node_modules)(\\|\/|$)/,To=/\*/g,Wp=/%2f|%2c/i,So=new Set,Wi=new Map;function Po(b,E,I,G){let Z=(0,i.fileURLToPath)(E);So.has(Z+"|"+b)||(So.add(Z+"|"+b),process.emitWarning(`Use of deprecated folder mapping "${b}" in the ${I?'"exports"':'"imports"'} field module resolution of the package at ${Z}${G?` imported from ${(0,i.fileURLToPath)(G)}`:""}.
|
|
6
|
+
If you have no idea what this means or what Pirates is, let me explain: Pirates is a module that makes is easy to implement require hooks. One of the require hooks you're using uses it. One of these require hooks didn't return anything from it's handler, so we don't know what to do. You might want to debug this.`);return v._compile(M,k)}),C(v,k)}}),function(){h||(h=!0,y.forEach(T=>{a._extensions[T]===p[T]&&(o[T]?a._extensions[T]=o[T]:delete a._extensions[T])}))}};var n=r(c("module")),t=r(c("path"));function r(u){return u&&u.__esModule?u:{default:u}}let i=/^(?:.*[\\/])?node_modules(?:[\\/].*)?$/,a=A.constructor.length>1?A.constructor:n.default},"./node_modules/semver/classes/comparator.js":(A,e,c)=>{let n=Symbol("SemVer ANY");class t{static get ANY(){return n}constructor(y,d){if(d=r(d),y instanceof t){if(y.loose===!!d.loose)return y;y=y.value}f("comparator",y,d),this.options=d,this.loose=!!d.loose,this.parse(y),this.semver===n?this.value="":this.value=this.operator+this.semver.version,f("comp",this)}parse(y){let d=this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR],m=y.match(d);if(!m)throw new TypeError(`Invalid comparator: ${y}`);this.operator=m[1]!==void 0?m[1]:"",this.operator==="="&&(this.operator=""),m[2]?this.semver=new h(m[2],this.options.loose):this.semver=n}toString(){return this.value}test(y){if(f("Comparator.test",y,this.options.loose),this.semver===n||y===n)return!0;if(typeof y=="string")try{y=new h(y,this.options)}catch (e4){return!1}return u(y,this.operator,this.semver,this.options)}intersects(y,d){if(!(y instanceof t))throw new TypeError("a Comparator is required");if(d&&typeof d=="object"||(d={loose:!!d,includePrerelease:!1}),this.operator==="")return this.value===""||new p(y.value,d).test(this.value);if(y.operator==="")return y.value===""||new p(this.value,d).test(y.semver);let m=!(this.operator!==">="&&this.operator!==">"||y.operator!==">="&&y.operator!==">"),S=!(this.operator!=="<="&&this.operator!=="<"||y.operator!=="<="&&y.operator!=="<"),T=this.semver.version===y.semver.version,C=!(this.operator!==">="&&this.operator!=="<="||y.operator!==">="&&y.operator!=="<="),v=u(this.semver,"<",y.semver,d)&&(this.operator===">="||this.operator===">")&&(y.operator==="<="||y.operator==="<"),k=u(this.semver,">",y.semver,d)&&(this.operator==="<="||this.operator==="<")&&(y.operator===">="||y.operator===">");return m||S||T&&C||v||k}}A.exports=t;let r=c("./node_modules/semver/internal/parse-options.js"),{re:i,t:a}=c("./node_modules/semver/internal/re.js"),u=c("./node_modules/semver/functions/cmp.js"),f=c("./node_modules/semver/internal/debug.js"),h=c("./node_modules/semver/classes/semver.js"),p=c("./node_modules/semver/classes/range.js")},"./node_modules/semver/classes/range.js":(A,e,c)=>{class n{constructor(D,_){if(_=r(_),D instanceof n)return D.loose===!!_.loose&&D.includePrerelease===!!_.includePrerelease?D:new n(D.raw,_);if(D instanceof i)return this.raw=D.value,this.set=[[D]],this.format(),this;if(this.options=_,this.loose=!!_.loose,this.includePrerelease=!!_.includePrerelease,this.raw=D,this.set=D.split(/\s*\|\|\s*/).map(F=>this.parseRange(F.trim())).filter(F=>F.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${D}`);if(this.set.length>1){let F=this.set[0];if(this.set=this.set.filter(R=>!d(R[0])),this.set.length===0)this.set=[F];else if(this.set.length>1){for(let R of this.set)if(R.length===1&&m(R[0])){this.set=[R];break}}}this.format()}format(){return this.range=this.set.map(D=>D.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(D){D=D.trim();let _=`parseRange:${Object.keys(this.options).join(",")}:${D}`,F=t.get(_);if(F)return F;let R=this.options.loose,W=R?f[h.HYPHENRANGELOOSE]:f[h.HYPHENRANGE];D=D.replace(W,K(this.options.includePrerelease)),a("hyphen replace",D),D=D.replace(f[h.COMPARATORTRIM],p),a("comparator trim",D,f[h.COMPARATORTRIM]),D=(D=(D=D.replace(f[h.TILDETRIM],o)).replace(f[h.CARETTRIM],y)).split(/\s+/).join(" ");let J=R?f[h.COMPARATORLOOSE]:f[h.COMPARATOR],ne=D.split(" ").map(de=>T(de,this.options)).join(" ").split(/\s+/).map(de=>Q(de,this.options)).filter(this.options.loose?de=>!!de.match(J):()=>!0).map(de=>new i(de,this.options)),re=(ne.length,new Map);for(let de of ne){if(d(de))return[de];re.set(de.value,de)}re.size>1&&re.has("")&&re.delete("");let ae=[...re.values()];return t.set(_,ae),ae}intersects(D,_){if(!(D instanceof n))throw new TypeError("a Range is required");return this.set.some(F=>S(F,_)&&D.set.some(R=>S(R,_)&&F.every(W=>R.every(J=>W.intersects(J,_)))))}test(D){if(!D)return!1;if(typeof D=="string")try{D=new u(D,this.options)}catch (e5){return!1}for(let _=0;_<this.set.length;_++)if(Y(this.set[_],D,this.options))return!0;return!1}}A.exports=n;let t=new(c("./node_modules/lru-cache/index.js"))({max:1e3}),r=c("./node_modules/semver/internal/parse-options.js"),i=c("./node_modules/semver/classes/comparator.js"),a=c("./node_modules/semver/internal/debug.js"),u=c("./node_modules/semver/classes/semver.js"),{re:f,t:h,comparatorTrimReplace:p,tildeTrimReplace:o,caretTrimReplace:y}=c("./node_modules/semver/internal/re.js"),d=L=>L.value==="<0.0.0-0",m=L=>L.value==="",S=(L,D)=>{let _=!0,F=L.slice(),R=F.pop();for(;_&&F.length;)_=F.every(W=>R.intersects(W,D)),R=F.pop();return _},T=(L,D)=>(a("comp",L,D),L=O(L,D),a("caret",L),L=v(L,D),a("tildes",L),L=M(L,D),a("xrange",L),L=H(L,D),a("stars",L),L),C=L=>!L||L.toLowerCase()==="x"||L==="*",v=(L,D)=>L.trim().split(/\s+/).map(_=>k(_,D)).join(" "),k=(L,D)=>{let _=D.loose?f[h.TILDELOOSE]:f[h.TILDE];return L.replace(_,(F,R,W,J,ne)=>{let re;return a("tilde",L,F,R,W,J,ne),C(R)?re="":C(W)?re=`>=${R}.0.0 <${+R+1}.0.0-0`:C(J)?re=`>=${R}.${W}.0 <${R}.${+W+1}.0-0`:ne?(a("replaceTilde pr",ne),re=`>=${R}.${W}.${J}-${ne} <${R}.${+W+1}.0-0`):re=`>=${R}.${W}.${J} <${R}.${+W+1}.0-0`,a("tilde return",re),re})},O=(L,D)=>L.trim().split(/\s+/).map(_=>x(_,D)).join(" "),x=(L,D)=>{a("caret",L,D);let _=D.loose?f[h.CARETLOOSE]:f[h.CARET],F=D.includePrerelease?"-0":"";return L.replace(_,(R,W,J,ne,re)=>{let ae;return a("caret",L,R,W,J,ne,re),C(W)?ae="":C(J)?ae=`>=${W}.0.0${F} <${+W+1}.0.0-0`:C(ne)?ae=W==="0"?`>=${W}.${J}.0${F} <${W}.${+J+1}.0-0`:`>=${W}.${J}.0${F} <${+W+1}.0.0-0`:re?(a("replaceCaret pr",re),ae=W==="0"?J==="0"?`>=${W}.${J}.${ne}-${re} <${W}.${J}.${+ne+1}-0`:`>=${W}.${J}.${ne}-${re} <${W}.${+J+1}.0-0`:`>=${W}.${J}.${ne}-${re} <${+W+1}.0.0-0`):(a("no pr"),ae=W==="0"?J==="0"?`>=${W}.${J}.${ne}${F} <${W}.${J}.${+ne+1}-0`:`>=${W}.${J}.${ne}${F} <${W}.${+J+1}.0-0`:`>=${W}.${J}.${ne} <${+W+1}.0.0-0`),a("caret return",ae),ae})},M=(L,D)=>(a("replaceXRanges",L,D),L.split(/\s+/).map(_=>$(_,D)).join(" ")),$=(L,D)=>{L=L.trim();let _=D.loose?f[h.XRANGELOOSE]:f[h.XRANGE];return L.replace(_,(F,R,W,J,ne,re)=>{a("xRange",L,F,R,W,J,ne,re);let ae=C(W),de=ae||C(J),he=de||C(ne),De=he;return R==="="&&De&&(R=""),re=D.includePrerelease?"-0":"",ae?F=R===">"||R==="<"?"<0.0.0-0":"*":R&&De?(de&&(J=0),ne=0,R===">"?(R=">=",de?(W=+W+1,J=0,ne=0):(J=+J+1,ne=0)):R==="<="&&(R="<",de?W=+W+1:J=+J+1),R==="<"&&(re="-0"),F=`${R+W}.${J}.${ne}${re}`):de?F=`>=${W}.0.0${re} <${+W+1}.0.0-0`:he&&(F=`>=${W}.${J}.0${re} <${W}.${+J+1}.0-0`),a("xRange return",F),F})},H=(L,D)=>(a("replaceStars",L,D),L.trim().replace(f[h.STAR],"")),Q=(L,D)=>(a("replaceGTE0",L,D),L.trim().replace(f[D.includePrerelease?h.GTE0PRE:h.GTE0],"")),K=L=>(D,_,F,R,W,J,ne,re,ae,de,he,De,Te)=>`${_=C(F)?"":C(R)?`>=${F}.0.0${L?"-0":""}`:C(W)?`>=${F}.${R}.0${L?"-0":""}`:J?`>=${_}`:`>=${_}${L?"-0":""}`} ${re=C(ae)?"":C(de)?`<${+ae+1}.0.0-0`:C(he)?`<${ae}.${+de+1}.0-0`:De?`<=${ae}.${de}.${he}-${De}`:L?`<${ae}.${de}.${+he+1}-0`:`<=${re}`}`.trim(),Y=(L,D,_)=>{for(let F=0;F<L.length;F++)if(!L[F].test(D))return!1;if(D.prerelease.length&&!_.includePrerelease){for(let F=0;F<L.length;F++)if(a(L[F].semver),L[F].semver!==i.ANY&&L[F].semver.prerelease.length>0){let R=L[F].semver;if(R.major===D.major&&R.minor===D.minor&&R.patch===D.patch)return!0}return!1}return!0}},"./node_modules/semver/classes/semver.js":(A,e,c)=>{let n=c("./node_modules/semver/internal/debug.js"),{MAX_LENGTH:t,MAX_SAFE_INTEGER:r}=c("./node_modules/semver/internal/constants.js"),{re:i,t:a}=c("./node_modules/semver/internal/re.js"),u=c("./node_modules/semver/internal/parse-options.js"),{compareIdentifiers:f}=c("./node_modules/semver/internal/identifiers.js");class h{constructor(o,y){if(y=u(y),o instanceof h){if(o.loose===!!y.loose&&o.includePrerelease===!!y.includePrerelease)return o;o=o.version}else if(typeof o!="string")throw new TypeError(`Invalid Version: ${o}`);if(o.length>t)throw new TypeError(`version is longer than ${t} characters`);n("SemVer",o,y),this.options=y,this.loose=!!y.loose,this.includePrerelease=!!y.includePrerelease;let d=o.trim().match(y.loose?i[a.LOOSE]:i[a.FULL]);if(!d)throw new TypeError(`Invalid Version: ${o}`);if(this.raw=o,this.major=+d[1],this.minor=+d[2],this.patch=+d[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");d[4]?this.prerelease=d[4].split(".").map(m=>{if(/^[0-9]+$/.test(m)){let S=+m;if(S>=0&&S<r)return S}return m}):this.prerelease=[],this.build=d[5]?d[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(o){if(n("SemVer.compare",this.version,this.options,o),!(o instanceof h)){if(typeof o=="string"&&o===this.version)return 0;o=new h(o,this.options)}return o.version===this.version?0:this.compareMain(o)||this.comparePre(o)}compareMain(o){return o instanceof h||(o=new h(o,this.options)),f(this.major,o.major)||f(this.minor,o.minor)||f(this.patch,o.patch)}comparePre(o){if(o instanceof h||(o=new h(o,this.options)),this.prerelease.length&&!o.prerelease.length)return-1;if(!this.prerelease.length&&o.prerelease.length)return 1;if(!this.prerelease.length&&!o.prerelease.length)return 0;let y=0;do{let d=this.prerelease[y],m=o.prerelease[y];if(n("prerelease compare",y,d,m),d===void 0&&m===void 0)return 0;if(m===void 0)return 1;if(d===void 0)return-1;if(d!==m)return f(d,m)}while(++y)}compareBuild(o){o instanceof h||(o=new h(o,this.options));let y=0;do{let d=this.build[y],m=o.build[y];if(n("prerelease compare",y,d,m),d===void 0&&m===void 0)return 0;if(m===void 0)return 1;if(d===void 0)return-1;if(d!==m)return f(d,m)}while(++y)}inc(o,y){switch(o){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",y);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",y);break;case"prepatch":this.prerelease.length=0,this.inc("patch",y),this.inc("pre",y);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",y),this.inc("pre",y);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let d=this.prerelease.length;for(;--d>=0;)typeof this.prerelease[d]=="number"&&(this.prerelease[d]++,d=-2);d===-1&&this.prerelease.push(0)}y&&(this.prerelease[0]===y?isNaN(this.prerelease[1])&&(this.prerelease=[y,0]):this.prerelease=[y,0]);break;default:throw new Error(`invalid increment argument: ${o}`)}return this.format(),this.raw=this.version,this}}A.exports=h},"./node_modules/semver/functions/clean.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/parse.js");A.exports=(t,r)=>{let i=n(t.trim().replace(/^[=v]+/,""),r);return i?i.version:null}},"./node_modules/semver/functions/cmp.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/eq.js"),t=c("./node_modules/semver/functions/neq.js"),r=c("./node_modules/semver/functions/gt.js"),i=c("./node_modules/semver/functions/gte.js"),a=c("./node_modules/semver/functions/lt.js"),u=c("./node_modules/semver/functions/lte.js");A.exports=(f,h,p,o)=>{switch(h){case"===":return typeof f=="object"&&(f=f.version),typeof p=="object"&&(p=p.version),f===p;case"!==":return typeof f=="object"&&(f=f.version),typeof p=="object"&&(p=p.version),f!==p;case"":case"=":case"==":return n(f,p,o);case"!=":return t(f,p,o);case">":return r(f,p,o);case">=":return i(f,p,o);case"<":return a(f,p,o);case"<=":return u(f,p,o);default:throw new TypeError(`Invalid operator: ${h}`)}}},"./node_modules/semver/functions/coerce.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js"),t=c("./node_modules/semver/functions/parse.js"),{re:r,t:i}=c("./node_modules/semver/internal/re.js");A.exports=(a,u)=>{if(a instanceof n)return a;if(typeof a=="number"&&(a=String(a)),typeof a!="string")return null;let f=null;if((u=u||{}).rtl){let h;for(;(h=r[i.COERCERTL].exec(a))&&(!f||f.index+f[0].length!==a.length);)f&&h.index+h[0].length===f.index+f[0].length||(f=h),r[i.COERCERTL].lastIndex=h.index+h[1].length+h[2].length;r[i.COERCERTL].lastIndex=-1}else f=a.match(r[i.COERCE]);return f===null?null:t(`${f[2]}.${f[3]||"0"}.${f[4]||"0"}`,u)}},"./node_modules/semver/functions/compare-build.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js");A.exports=(t,r,i)=>{let a=new n(t,i),u=new n(r,i);return a.compare(u)||a.compareBuild(u)}},"./node_modules/semver/functions/compare-loose.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare.js");A.exports=(t,r)=>n(t,r,!0)},"./node_modules/semver/functions/compare.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js");A.exports=(t,r,i)=>new n(t,i).compare(new n(r,i))},"./node_modules/semver/functions/diff.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/parse.js"),t=c("./node_modules/semver/functions/eq.js");A.exports=(r,i)=>{if(t(r,i))return null;{let a=n(r),u=n(i),f=a.prerelease.length||u.prerelease.length,h=f?"pre":"",p=f?"prerelease":"";for(let o in a)if((o==="major"||o==="minor"||o==="patch")&&a[o]!==u[o])return h+o;return p}}},"./node_modules/semver/functions/eq.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare.js");A.exports=(t,r,i)=>n(t,r,i)===0},"./node_modules/semver/functions/gt.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare.js");A.exports=(t,r,i)=>n(t,r,i)>0},"./node_modules/semver/functions/gte.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare.js");A.exports=(t,r,i)=>n(t,r,i)>=0},"./node_modules/semver/functions/inc.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js");A.exports=(t,r,i,a)=>{typeof i=="string"&&(a=i,i=void 0);try{return new n(t,i).inc(r,a).version}catch (e6){return null}}},"./node_modules/semver/functions/lt.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare.js");A.exports=(t,r,i)=>n(t,r,i)<0},"./node_modules/semver/functions/lte.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare.js");A.exports=(t,r,i)=>n(t,r,i)<=0},"./node_modules/semver/functions/major.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js");A.exports=(t,r)=>new n(t,r).major},"./node_modules/semver/functions/minor.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js");A.exports=(t,r)=>new n(t,r).minor},"./node_modules/semver/functions/neq.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare.js");A.exports=(t,r,i)=>n(t,r,i)!==0},"./node_modules/semver/functions/parse.js":(A,e,c)=>{let{MAX_LENGTH:n}=c("./node_modules/semver/internal/constants.js"),{re:t,t:r}=c("./node_modules/semver/internal/re.js"),i=c("./node_modules/semver/classes/semver.js"),a=c("./node_modules/semver/internal/parse-options.js");A.exports=(u,f)=>{if(f=a(f),u instanceof i)return u;if(typeof u!="string"||u.length>n||!(f.loose?t[r.LOOSE]:t[r.FULL]).test(u))return null;try{return new i(u,f)}catch (e7){return null}}},"./node_modules/semver/functions/patch.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js");A.exports=(t,r)=>new n(t,r).patch},"./node_modules/semver/functions/prerelease.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/parse.js");A.exports=(t,r)=>{let i=n(t,r);return i&&i.prerelease.length?i.prerelease:null}},"./node_modules/semver/functions/rcompare.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare.js");A.exports=(t,r,i)=>n(r,t,i)},"./node_modules/semver/functions/rsort.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare-build.js");A.exports=(t,r)=>t.sort((i,a)=>n(a,i,r))},"./node_modules/semver/functions/satisfies.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/range.js");A.exports=(t,r,i)=>{try{r=new n(r,i)}catch (e8){return!1}return r.test(t)}},"./node_modules/semver/functions/sort.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/compare-build.js");A.exports=(t,r)=>t.sort((i,a)=>n(i,a,r))},"./node_modules/semver/functions/valid.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/parse.js");A.exports=(t,r)=>{let i=n(t,r);return i?i.version:null}},"./node_modules/semver/index.js":(A,e,c)=>{let n=c("./node_modules/semver/internal/re.js");A.exports={re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:c("./node_modules/semver/internal/constants.js").SEMVER_SPEC_VERSION,SemVer:c("./node_modules/semver/classes/semver.js"),compareIdentifiers:c("./node_modules/semver/internal/identifiers.js").compareIdentifiers,rcompareIdentifiers:c("./node_modules/semver/internal/identifiers.js").rcompareIdentifiers,parse:c("./node_modules/semver/functions/parse.js"),valid:c("./node_modules/semver/functions/valid.js"),clean:c("./node_modules/semver/functions/clean.js"),inc:c("./node_modules/semver/functions/inc.js"),diff:c("./node_modules/semver/functions/diff.js"),major:c("./node_modules/semver/functions/major.js"),minor:c("./node_modules/semver/functions/minor.js"),patch:c("./node_modules/semver/functions/patch.js"),prerelease:c("./node_modules/semver/functions/prerelease.js"),compare:c("./node_modules/semver/functions/compare.js"),rcompare:c("./node_modules/semver/functions/rcompare.js"),compareLoose:c("./node_modules/semver/functions/compare-loose.js"),compareBuild:c("./node_modules/semver/functions/compare-build.js"),sort:c("./node_modules/semver/functions/sort.js"),rsort:c("./node_modules/semver/functions/rsort.js"),gt:c("./node_modules/semver/functions/gt.js"),lt:c("./node_modules/semver/functions/lt.js"),eq:c("./node_modules/semver/functions/eq.js"),neq:c("./node_modules/semver/functions/neq.js"),gte:c("./node_modules/semver/functions/gte.js"),lte:c("./node_modules/semver/functions/lte.js"),cmp:c("./node_modules/semver/functions/cmp.js"),coerce:c("./node_modules/semver/functions/coerce.js"),Comparator:c("./node_modules/semver/classes/comparator.js"),Range:c("./node_modules/semver/classes/range.js"),satisfies:c("./node_modules/semver/functions/satisfies.js"),toComparators:c("./node_modules/semver/ranges/to-comparators.js"),maxSatisfying:c("./node_modules/semver/ranges/max-satisfying.js"),minSatisfying:c("./node_modules/semver/ranges/min-satisfying.js"),minVersion:c("./node_modules/semver/ranges/min-version.js"),validRange:c("./node_modules/semver/ranges/valid.js"),outside:c("./node_modules/semver/ranges/outside.js"),gtr:c("./node_modules/semver/ranges/gtr.js"),ltr:c("./node_modules/semver/ranges/ltr.js"),intersects:c("./node_modules/semver/ranges/intersects.js"),simplifyRange:c("./node_modules/semver/ranges/simplify.js"),subset:c("./node_modules/semver/ranges/subset.js")}},"./node_modules/semver/internal/constants.js":A=>{let e=Number.MAX_SAFE_INTEGER||9007199254740991;A.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:e,MAX_SAFE_COMPONENT_LENGTH:16}},"./node_modules/semver/internal/debug.js":A=>{let e=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...c)=>console.error("SEMVER",...c):()=>{};A.exports=e},"./node_modules/semver/internal/identifiers.js":A=>{let e=/^[0-9]+$/,c=(n,t)=>{let r=e.test(n),i=e.test(t);return r&&i&&(n=+n,t=+t),n===t?0:r&&!i?-1:i&&!r?1:n<t?-1:1};A.exports={compareIdentifiers:c,rcompareIdentifiers:(n,t)=>c(t,n)}},"./node_modules/semver/internal/parse-options.js":A=>{let e=["includePrerelease","loose","rtl"];A.exports=c=>c?typeof c!="object"?{loose:!0}:e.filter(n=>c[n]).reduce((n,t)=>(n[t]=!0,n),{}):{}},"./node_modules/semver/internal/re.js":(A,e,c)=>{let{MAX_SAFE_COMPONENT_LENGTH:n}=c("./node_modules/semver/internal/constants.js"),t=c("./node_modules/semver/internal/debug.js"),r=(e=A.exports={}).re=[],i=e.src=[],a=e.t={},u=0,f=(h,p,o)=>{let y=u++;t(y,p),a[h]=y,i[y]=p,r[y]=new RegExp(p,o?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","[0-9]+"),f("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),f("MAINVERSION",`(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${i[a.NUMERICIDENTIFIER]}|${i[a.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${i[a.NUMERICIDENTIFIERLOOSE]}|${i[a.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${i[a.PRERELEASEIDENTIFIER]}(?:\\.${i[a.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${i[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[a.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER","[0-9A-Za-z-]+"),f("BUILD",`(?:\\+(${i[a.BUILDIDENTIFIER]}(?:\\.${i[a.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${i[a.MAINVERSION]}${i[a.PRERELEASE]}?${i[a.BUILD]}?`),f("FULL",`^${i[a.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${i[a.MAINVERSIONLOOSE]}${i[a.PRERELEASELOOSE]}?${i[a.BUILD]}?`),f("LOOSE",`^${i[a.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${i[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${i[a.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:${i[a.PRERELEASE]})?${i[a.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:${i[a.PRERELEASELOOSE]})?${i[a.BUILD]}?)?)?`),f("XRANGE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAINLOOSE]}$`),f("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),f("COERCERTL",i[a.COERCE],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${i[a.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",f("TILDE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${i[a.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",f("CARET",`^${i[a.LONECARET]}${i[a.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${i[a.LONECARET]}${i[a.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${i[a.GTLT]}\\s*(${i[a.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]}|${i[a.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${i[a.XRANGEPLAIN]})\\s+-\\s+(${i[a.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${i[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[a.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0.0.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},"./node_modules/semver/ranges/gtr.js":(A,e,c)=>{let n=c("./node_modules/semver/ranges/outside.js");A.exports=(t,r,i)=>n(t,r,">",i)},"./node_modules/semver/ranges/intersects.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/range.js");A.exports=(t,r,i)=>(t=new n(t,i),r=new n(r,i),t.intersects(r))},"./node_modules/semver/ranges/ltr.js":(A,e,c)=>{let n=c("./node_modules/semver/ranges/outside.js");A.exports=(t,r,i)=>n(t,r,"<",i)},"./node_modules/semver/ranges/max-satisfying.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js"),t=c("./node_modules/semver/classes/range.js");A.exports=(r,i,a)=>{let u=null,f=null,h=null;try{h=new t(i,a)}catch (e9){return null}return r.forEach(p=>{h.test(p)&&(u&&f.compare(p)!==-1||(u=p,f=new n(u,a)))}),u}},"./node_modules/semver/ranges/min-satisfying.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js"),t=c("./node_modules/semver/classes/range.js");A.exports=(r,i,a)=>{let u=null,f=null,h=null;try{h=new t(i,a)}catch (e10){return null}return r.forEach(p=>{h.test(p)&&(u&&f.compare(p)!==1||(u=p,f=new n(u,a)))}),u}},"./node_modules/semver/ranges/min-version.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js"),t=c("./node_modules/semver/classes/range.js"),r=c("./node_modules/semver/functions/gt.js");A.exports=(i,a)=>{i=new t(i,a);let u=new n("0.0.0");if(i.test(u)||(u=new n("0.0.0-0"),i.test(u)))return u;u=null;for(let f=0;f<i.set.length;++f){let h=i.set[f],p=null;h.forEach(o=>{let y=new n(o.semver.version);switch(o.operator){case">":y.prerelease.length===0?y.patch++:y.prerelease.push(0),y.raw=y.format();case"":case">=":p&&!r(y,p)||(p=y);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),!p||u&&!r(u,p)||(u=p)}return u&&i.test(u)?u:null}},"./node_modules/semver/ranges/outside.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/semver.js"),t=c("./node_modules/semver/classes/comparator.js"),{ANY:r}=t,i=c("./node_modules/semver/classes/range.js"),a=c("./node_modules/semver/functions/satisfies.js"),u=c("./node_modules/semver/functions/gt.js"),f=c("./node_modules/semver/functions/lt.js"),h=c("./node_modules/semver/functions/lte.js"),p=c("./node_modules/semver/functions/gte.js");A.exports=(o,y,d,m)=>{let S,T,C,v,k;switch(o=new n(o,m),y=new i(y,m),d){case">":S=u,T=h,C=f,v=">",k=">=";break;case"<":S=f,T=p,C=u,v="<",k="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(o,y,m))return!1;for(let O=0;O<y.set.length;++O){let x=y.set[O],M=null,$=null;if(x.forEach(H=>{H.semver===r&&(H=new t(">=0.0.0")),M=M||H,$=$||H,S(H.semver,M.semver,m)?M=H:C(H.semver,$.semver,m)&&($=H)}),M.operator===v||M.operator===k||(!$.operator||$.operator===v)&&T(o,$.semver)||$.operator===k&&C(o,$.semver))return!1}return!0}},"./node_modules/semver/ranges/simplify.js":(A,e,c)=>{let n=c("./node_modules/semver/functions/satisfies.js"),t=c("./node_modules/semver/functions/compare.js");A.exports=(r,i,a)=>{let u=[],f=null,h=null,p=r.sort((m,S)=>t(m,S,a));for(let m of p)n(m,i,a)?(h=m,f||(f=m)):(h&&u.push([f,h]),h=null,f=null);f&&u.push([f,null]);let o=[];for(let[m,S]of u)m===S?o.push(m):S||m!==p[0]?S?m===p[0]?o.push(`<=${S}`):o.push(`${m} - ${S}`):o.push(`>=${m}`):o.push("*");let y=o.join(" || "),d=typeof i.raw=="string"?i.raw:String(i);return y.length<d.length?y:i}},"./node_modules/semver/ranges/subset.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/range.js"),t=c("./node_modules/semver/classes/comparator.js"),{ANY:r}=t,i=c("./node_modules/semver/functions/satisfies.js"),a=c("./node_modules/semver/functions/compare.js"),u=(p,o,y)=>{if(p===o)return!0;if(p.length===1&&p[0].semver===r){if(o.length===1&&o[0].semver===r)return!0;p=y.includePrerelease?[new t(">=0.0.0-0")]:[new t(">=0.0.0")]}if(o.length===1&&o[0].semver===r){if(y.includePrerelease)return!0;o=[new t(">=0.0.0")]}let d=new Set,m,S,T,C,v,k,O;for(let $ of p)$.operator===">"||$.operator===">="?m=f(m,$,y):$.operator==="<"||$.operator==="<="?S=h(S,$,y):d.add($.semver);if(d.size>1||m&&S&&(T=a(m.semver,S.semver,y),T>0||T===0&&(m.operator!==">="||S.operator!=="<=")))return null;for(let $ of d){if(m&&!i($,String(m),y)||S&&!i($,String(S),y))return null;for(let H of o)if(!i($,String(H),y))return!1;return!0}let x=!(!S||y.includePrerelease||!S.semver.prerelease.length)&&S.semver,M=!(!m||y.includePrerelease||!m.semver.prerelease.length)&&m.semver;x&&x.prerelease.length===1&&S.operator==="<"&&x.prerelease[0]===0&&(x=!1);for(let $ of o){if(O=O||$.operator===">"||$.operator===">=",k=k||$.operator==="<"||$.operator==="<=",m){if(M&&$.semver.prerelease&&$.semver.prerelease.length&&$.semver.major===M.major&&$.semver.minor===M.minor&&$.semver.patch===M.patch&&(M=!1),$.operator===">"||$.operator===">="){if(C=f(m,$,y),C===$&&C!==m)return!1}else if(m.operator===">="&&!i(m.semver,String($),y))return!1}if(S){if(x&&$.semver.prerelease&&$.semver.prerelease.length&&$.semver.major===x.major&&$.semver.minor===x.minor&&$.semver.patch===x.patch&&(x=!1),$.operator==="<"||$.operator==="<="){if(v=h(S,$,y),v===$&&v!==S)return!1}else if(S.operator==="<="&&!i(S.semver,String($),y))return!1}if(!$.operator&&(S||m)&&T!==0)return!1}return!(m&&k&&!S&&T!==0)&&!(S&&O&&!m&&T!==0)&&!M&&!x},f=(p,o,y)=>{if(!p)return o;let d=a(p.semver,o.semver,y);return d>0?p:d<0||o.operator===">"&&p.operator===">="?o:p},h=(p,o,y)=>{if(!p)return o;let d=a(p.semver,o.semver,y);return d<0?p:d>0||o.operator==="<"&&p.operator==="<="?o:p};A.exports=(p,o,y={})=>{if(p===o)return!0;p=new n(p,y),o=new n(o,y);let d=!1;e:for(let m of p.set){for(let S of o.set){let T=u(m,S,y);if(d=d||T!==null,T)continue e}if(d)return!1}return!0}},"./node_modules/semver/ranges/to-comparators.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/range.js");A.exports=(t,r)=>new n(t,r).set.map(i=>i.map(a=>a.value).join(" ").trim().split(" "))},"./node_modules/semver/ranges/valid.js":(A,e,c)=>{let n=c("./node_modules/semver/classes/range.js");A.exports=(t,r)=>{try{return new n(t,r).range||"*"}catch (e11){return null}}},"./node_modules/yallist/iterator.js":A=>{"use strict";A.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let c=this.head;c;c=c.next)yield c.value}}},"./node_modules/yallist/yallist.js":(A,e,c)=>{"use strict";function n(u){var f=this;if(f instanceof n||(f=new n),f.tail=null,f.head=null,f.length=0,u&&typeof u.forEach=="function")u.forEach(function(o){f.push(o)});else if(arguments.length>0)for(var h=0,p=arguments.length;h<p;h++)f.push(arguments[h]);return f}function t(u,f,h){var p=f===u.head?new a(h,null,f,u):new a(h,f,f.next,u);return p.next===null&&(u.tail=p),p.prev===null&&(u.head=p),u.length++,p}function r(u,f){u.tail=new a(f,u.tail,null,u),u.head||(u.head=u.tail),u.length++}function i(u,f){u.head=new a(f,null,u.head,u),u.tail||(u.tail=u.head),u.length++}function a(u,f,h,p){if(!(this instanceof a))return new a(u,f,h,p);this.list=p,this.value=u,f?(f.next=this,this.prev=f):this.prev=null,h?(h.prev=this,this.next=h):this.next=null}A.exports=n,n.Node=a,n.create=n,n.prototype.removeNode=function(u){if(u.list!==this)throw new Error("removing node which does not belong to this list");var f=u.next,h=u.prev;return f&&(f.prev=h),h&&(h.next=f),u===this.head&&(this.head=f),u===this.tail&&(this.tail=h),u.list.length--,u.next=null,u.prev=null,u.list=null,f},n.prototype.unshiftNode=function(u){if(u!==this.head){u.list&&u.list.removeNode(u);var f=this.head;u.list=this,u.next=f,f&&(f.prev=u),this.head=u,this.tail||(this.tail=u),this.length++}},n.prototype.pushNode=function(u){if(u!==this.tail){u.list&&u.list.removeNode(u);var f=this.tail;u.list=this,u.prev=f,f&&(f.next=u),this.tail=u,this.head||(this.head=u),this.length++}},n.prototype.push=function(){for(var u=0,f=arguments.length;u<f;u++)r(this,arguments[u]);return this.length},n.prototype.unshift=function(){for(var u=0,f=arguments.length;u<f;u++)i(this,arguments[u]);return this.length},n.prototype.pop=function(){if(this.tail){var u=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,u}},n.prototype.shift=function(){if(this.head){var u=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,u}},n.prototype.forEach=function(u,f){f=f||this;for(var h=this.head,p=0;h!==null;p++)u.call(f,h.value,p,this),h=h.next},n.prototype.forEachReverse=function(u,f){f=f||this;for(var h=this.tail,p=this.length-1;h!==null;p--)u.call(f,h.value,p,this),h=h.prev},n.prototype.get=function(u){for(var f=0,h=this.head;h!==null&&f<u;f++)h=h.next;if(f===u&&h!==null)return h.value},n.prototype.getReverse=function(u){for(var f=0,h=this.tail;h!==null&&f<u;f++)h=h.prev;if(f===u&&h!==null)return h.value},n.prototype.map=function(u,f){f=f||this;for(var h=new n,p=this.head;p!==null;)h.push(u.call(f,p.value,this)),p=p.next;return h},n.prototype.mapReverse=function(u,f){f=f||this;for(var h=new n,p=this.tail;p!==null;)h.push(u.call(f,p.value,this)),p=p.prev;return h},n.prototype.reduce=function(u,f){var h,p=this.head;if(arguments.length>1)h=f;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");p=this.head.next,h=this.head.value}for(var o=0;p!==null;o++)h=u(h,p.value,o),p=p.next;return h},n.prototype.reduceReverse=function(u,f){var h,p=this.tail;if(arguments.length>1)h=f;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");p=this.tail.prev,h=this.tail.value}for(var o=this.length-1;p!==null;o--)h=u(h,p.value,o),p=p.prev;return h},n.prototype.toArray=function(){for(var u=new Array(this.length),f=0,h=this.head;h!==null;f++)u[f]=h.value,h=h.next;return u},n.prototype.toArrayReverse=function(){for(var u=new Array(this.length),f=0,h=this.tail;h!==null;f++)u[f]=h.value,h=h.prev;return u},n.prototype.slice=function(u,f){(f=f||this.length)<0&&(f+=this.length),(u=u||0)<0&&(u+=this.length);var h=new n;if(f<u||f<0)return h;u<0&&(u=0),f>this.length&&(f=this.length);for(var p=0,o=this.head;o!==null&&p<u;p++)o=o.next;for(;o!==null&&p<f;p++,o=o.next)h.push(o.value);return h},n.prototype.sliceReverse=function(u,f){(f=f||this.length)<0&&(f+=this.length),(u=u||0)<0&&(u+=this.length);var h=new n;if(f<u||f<0)return h;u<0&&(u=0),f>this.length&&(f=this.length);for(var p=this.length,o=this.tail;o!==null&&p>f;p--)o=o.prev;for(;o!==null&&p>u;p--,o=o.prev)h.push(o.value);return h},n.prototype.splice=function(u,f,...h){u>this.length&&(u=this.length-1),u<0&&(u=this.length+u);for(var p=0,o=this.head;o!==null&&p<u;p++)o=o.next;var y=[];for(p=0;o&&p<f;p++)y.push(o.value),o=this.removeNode(o);for(o===null&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev),p=0;p<h.length;p++)o=t(this,o,h[p]);return y},n.prototype.reverse=function(){for(var u=this.head,f=this.tail,h=u;h!==null;h=h.prev){var p=h.prev;h.prev=h.next,h.next=p}return this.head=f,this.tail=u,this};try{c("./node_modules/yallist/iterator.js")(n)}catch (e12){}},crypto:A=>{"use strict";A.exports=_chunkCDIW2WTIjs.a.call(void 0, "crypto")},fs:A=>{"use strict";A.exports=_chunkCDIW2WTIjs.a.call(void 0, "fs")},module:A=>{"use strict";A.exports=_chunkCDIW2WTIjs.a.call(void 0, "module")},path:A=>{"use strict";A.exports=_chunkCDIW2WTIjs.a.call(void 0, "path")},util:A=>{"use strict";A.exports=_chunkCDIW2WTIjs.a.call(void 0, "util")}},N={};function j(A){var e=N[A];if(e!==void 0)return e.exports;var c=N[A]={id:A,loaded:!1,exports:{}};return P[A](c,c.exports,j),c.loaded=!0,c.exports}j.n=A=>{var e=A&&A.__esModule?()=>A.default:()=>A;return j.d(e,{a:e}),e},j.d=(A,e)=>{for(var c in e)j.o(e,c)&&!j.o(A,c)&&Object.defineProperty(A,c,{enumerable:!0,get:e[c]})},j.o=(A,e)=>Object.prototype.hasOwnProperty.call(A,e),j.nmd=A=>(A.paths=[],A.children||(A.children=[]),A);var X={};(()=>{"use strict";j.d(X,{default:()=>hl});var A=j("fs"),e=j("module"),c=j("path");let n=_chunkCDIW2WTIjs.a.call(void 0, "os"),t=_chunkCDIW2WTIjs.a.call(void 0, "vm");var r=j.n(t);let i=_chunkCDIW2WTIjs.a.call(void 0, "url");var a=j("./node_modules/mkdirp/index.js");let u=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,f=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,h=/^["{[]|^-?[0-9][0-9.]{0,14}$/;function p(b,E){if(b!=="__proto__"&&b!=="constructor")return E}let o=function(b){if(typeof b!="string")return b;let E=b.toLowerCase();if(E==="true")return!0;if(E==="false")return!1;if(E==="null")return null;if(E==="nan")return NaN;if(E==="infinity")return 1/0;if(E!=="undefined"){if(!h.test(b))return b;try{return u.test(b)||f.test(b)?JSON.parse(b,p):JSON.parse(b)}catch (e13){return b}}};var y=j("./node_modules/create-require/create-require.js"),d=j.n(y),m=j("./node_modules/semver/index.js"),S=j("./node_modules/pirates/lib/index.js"),T=j("./node_modules/object-hash/index.js"),C=j.n(T);let v=_chunkCDIW2WTIjs.a.call(void 0, "assert");var k=j("util");let O=new Set(e.builtinModules);function x(b){return b.replace(/\\/g,"/")}function M(b){return typeof b!="string"||b.startsWith("file://")?x((0,i.fileURLToPath)(b)):x(b)}let $=/^\/|^\\|^[a-zA-Z]:[/\\]/,H=function(b){return $.test(b)};var Q={exports:{}},K={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Y=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...b)=>console.error("SEMVER",...b):()=>{};(function(b,E){let{MAX_SAFE_COMPONENT_LENGTH:I}=K,G=Y,Z=(E=b.exports={}).re=[],te=E.src=[],ie=E.t={},Se=0,ge=(Le,je,Me)=>{let Fe=Se++;G(Fe,je),ie[Le]=Fe,te[Fe]=je,Z[Fe]=new RegExp(je,Me?"g":void 0)};ge("NUMERICIDENTIFIER","0|[1-9]\\d*"),ge("NUMERICIDENTIFIERLOOSE","[0-9]+"),ge("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),ge("MAINVERSION",`(${te[ie.NUMERICIDENTIFIER]})\\.(${te[ie.NUMERICIDENTIFIER]})\\.(${te[ie.NUMERICIDENTIFIER]})`),ge("MAINVERSIONLOOSE",`(${te[ie.NUMERICIDENTIFIERLOOSE]})\\.(${te[ie.NUMERICIDENTIFIERLOOSE]})\\.(${te[ie.NUMERICIDENTIFIERLOOSE]})`),ge("PRERELEASEIDENTIFIER",`(?:${te[ie.NUMERICIDENTIFIER]}|${te[ie.NONNUMERICIDENTIFIER]})`),ge("PRERELEASEIDENTIFIERLOOSE",`(?:${te[ie.NUMERICIDENTIFIERLOOSE]}|${te[ie.NONNUMERICIDENTIFIER]})`),ge("PRERELEASE",`(?:-(${te[ie.PRERELEASEIDENTIFIER]}(?:\\.${te[ie.PRERELEASEIDENTIFIER]})*))`),ge("PRERELEASELOOSE",`(?:-?(${te[ie.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${te[ie.PRERELEASEIDENTIFIERLOOSE]})*))`),ge("BUILDIDENTIFIER","[0-9A-Za-z-]+"),ge("BUILD",`(?:\\+(${te[ie.BUILDIDENTIFIER]}(?:\\.${te[ie.BUILDIDENTIFIER]})*))`),ge("FULLPLAIN",`v?${te[ie.MAINVERSION]}${te[ie.PRERELEASE]}?${te[ie.BUILD]}?`),ge("FULL",`^${te[ie.FULLPLAIN]}$`),ge("LOOSEPLAIN",`[v=\\s]*${te[ie.MAINVERSIONLOOSE]}${te[ie.PRERELEASELOOSE]}?${te[ie.BUILD]}?`),ge("LOOSE",`^${te[ie.LOOSEPLAIN]}$`),ge("GTLT","((?:<|>)?=?)"),ge("XRANGEIDENTIFIERLOOSE",`${te[ie.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),ge("XRANGEIDENTIFIER",`${te[ie.NUMERICIDENTIFIER]}|x|X|\\*`),ge("XRANGEPLAIN",`[v=\\s]*(${te[ie.XRANGEIDENTIFIER]})(?:\\.(${te[ie.XRANGEIDENTIFIER]})(?:\\.(${te[ie.XRANGEIDENTIFIER]})(?:${te[ie.PRERELEASE]})?${te[ie.BUILD]}?)?)?`),ge("XRANGEPLAINLOOSE",`[v=\\s]*(${te[ie.XRANGEIDENTIFIERLOOSE]})(?:\\.(${te[ie.XRANGEIDENTIFIERLOOSE]})(?:\\.(${te[ie.XRANGEIDENTIFIERLOOSE]})(?:${te[ie.PRERELEASELOOSE]})?${te[ie.BUILD]}?)?)?`),ge("XRANGE",`^${te[ie.GTLT]}\\s*${te[ie.XRANGEPLAIN]}$`),ge("XRANGELOOSE",`^${te[ie.GTLT]}\\s*${te[ie.XRANGEPLAINLOOSE]}$`),ge("COERCE",`(^|[^\\d])(\\d{1,${I}})(?:\\.(\\d{1,${I}}))?(?:\\.(\\d{1,${I}}))?(?:$|[^\\d])`),ge("COERCERTL",te[ie.COERCE],!0),ge("LONETILDE","(?:~>?)"),ge("TILDETRIM",`(\\s*)${te[ie.LONETILDE]}\\s+`,!0),E.tildeTrimReplace="$1~",ge("TILDE",`^${te[ie.LONETILDE]}${te[ie.XRANGEPLAIN]}$`),ge("TILDELOOSE",`^${te[ie.LONETILDE]}${te[ie.XRANGEPLAINLOOSE]}$`),ge("LONECARET","(?:\\^)"),ge("CARETTRIM",`(\\s*)${te[ie.LONECARET]}\\s+`,!0),E.caretTrimReplace="$1^",ge("CARET",`^${te[ie.LONECARET]}${te[ie.XRANGEPLAIN]}$`),ge("CARETLOOSE",`^${te[ie.LONECARET]}${te[ie.XRANGEPLAINLOOSE]}$`),ge("COMPARATORLOOSE",`^${te[ie.GTLT]}\\s*(${te[ie.LOOSEPLAIN]})$|^$`),ge("COMPARATOR",`^${te[ie.GTLT]}\\s*(${te[ie.FULLPLAIN]})$|^$`),ge("COMPARATORTRIM",`(\\s*)${te[ie.GTLT]}\\s*(${te[ie.LOOSEPLAIN]}|${te[ie.XRANGEPLAIN]})`,!0),E.comparatorTrimReplace="$1$2$3",ge("HYPHENRANGE",`^\\s*(${te[ie.XRANGEPLAIN]})\\s+-\\s+(${te[ie.XRANGEPLAIN]})\\s*$`),ge("HYPHENRANGELOOSE",`^\\s*(${te[ie.XRANGEPLAINLOOSE]})\\s+-\\s+(${te[ie.XRANGEPLAINLOOSE]})\\s*$`),ge("STAR","(<|>)?=?\\s*\\*"),ge("GTE0","^\\s*>=\\s*0.0.0\\s*$"),ge("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})(Q,Q.exports);let L=["includePrerelease","loose","rtl"];var D=b=>b?typeof b!="object"?{loose:!0}:L.filter(E=>b[E]).reduce((E,I)=>(E[I]=!0,E),{}):{};let _=/^[0-9]+$/,F=(b,E)=>{let I=_.test(b),G=_.test(E);return I&&G&&(b=+b,E=+E),b===E?0:I&&!G?-1:G&&!I?1:b<E?-1:1};var R={compareIdentifiers:F,rcompareIdentifiers:(b,E)=>F(E,b)};let W=Y,{MAX_LENGTH:J,MAX_SAFE_INTEGER:ne}=K,{re,t:ae}=Q.exports,de=D,{compareIdentifiers:he}=R;class De{constructor(E,I){if(I=de(I),E instanceof De){if(E.loose===!!I.loose&&E.includePrerelease===!!I.includePrerelease)return E;E=E.version}else if(typeof E!="string")throw new TypeError(`Invalid Version: ${E}`);if(E.length>J)throw new TypeError(`version is longer than ${J} characters`);W("SemVer",E,I),this.options=I,this.loose=!!I.loose,this.includePrerelease=!!I.includePrerelease;let G=E.trim().match(I.loose?re[ae.LOOSE]:re[ae.FULL]);if(!G)throw new TypeError(`Invalid Version: ${E}`);if(this.raw=E,this.major=+G[1],this.minor=+G[2],this.patch=+G[3],this.major>ne||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ne||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ne||this.patch<0)throw new TypeError("Invalid patch version");G[4]?this.prerelease=G[4].split(".").map(Z=>{if(/^[0-9]+$/.test(Z)){let te=+Z;if(te>=0&&te<ne)return te}return Z}):this.prerelease=[],this.build=G[5]?G[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(E){if(W("SemVer.compare",this.version,this.options,E),!(E instanceof De)){if(typeof E=="string"&&E===this.version)return 0;E=new De(E,this.options)}return E.version===this.version?0:this.compareMain(E)||this.comparePre(E)}compareMain(E){return E instanceof De||(E=new De(E,this.options)),he(this.major,E.major)||he(this.minor,E.minor)||he(this.patch,E.patch)}comparePre(E){if(E instanceof De||(E=new De(E,this.options)),this.prerelease.length&&!E.prerelease.length)return-1;if(!this.prerelease.length&&E.prerelease.length)return 1;if(!this.prerelease.length&&!E.prerelease.length)return 0;let I=0;do{let G=this.prerelease[I],Z=E.prerelease[I];if(W("prerelease compare",I,G,Z),G===void 0&&Z===void 0)return 0;if(Z===void 0)return 1;if(G===void 0)return-1;if(G!==Z)return he(G,Z)}while(++I)}compareBuild(E){E instanceof De||(E=new De(E,this.options));let I=0;do{let G=this.build[I],Z=E.build[I];if(W("prerelease compare",I,G,Z),G===void 0&&Z===void 0)return 0;if(Z===void 0)return 1;if(G===void 0)return-1;if(G!==Z)return he(G,Z)}while(++I)}inc(E,I){switch(E){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",I);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",I);break;case"prepatch":this.prerelease.length=0,this.inc("patch",I),this.inc("pre",I);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",I),this.inc("pre",I);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let G=this.prerelease.length;for(;--G>=0;)typeof this.prerelease[G]=="number"&&(this.prerelease[G]++,G=-2);G===-1&&this.prerelease.push(0)}I&&(this.prerelease[0]===I?isNaN(this.prerelease[1])&&(this.prerelease=[I,0]):this.prerelease=[I,0]);break;default:throw new Error(`invalid increment argument: ${E}`)}return this.format(),this.raw=this.version,this}}var Te=De;let{MAX_LENGTH:Ce}=K,{re:ye,t:me}=Q.exports,Pe=Te,xe=D;var Re=(b,E)=>{if(E=xe(E),b instanceof Pe)return b;if(typeof b!="string"||b.length>Ce||!(E.loose?ye[me.LOOSE]:ye[me.FULL]).test(b))return null;try{return new Pe(b,E)}catch (e14){return null}};let pe=Re;var ee=(b,E)=>{let I=pe(b,E);return I?I.version:null};let ue=Re;var be=(b,E)=>{let I=ue(b.trim().replace(/^[=v]+/,""),E);return I?I.version:null};let Oe=Te;var $e=(b,E,I,G)=>{typeof I=="string"&&(G=I,I=void 0);try{return new Oe(b,I).inc(E,G).version}catch (e15){return null}};let Be=Te;var Ye=(b,E,I)=>new Be(b,I).compare(new Be(E,I));let ke=Ye;var we=(b,E,I)=>ke(b,E,I)===0;let et=Re,st=we;var lt=(b,E)=>{if(st(b,E))return null;{let I=et(b),G=et(E),Z=I.prerelease.length||G.prerelease.length,te=Z?"pre":"",ie=Z?"prerelease":"";for(let Se in I)if((Se==="major"||Se==="minor"||Se==="patch")&&I[Se]!==G[Se])return te+Se;return ie}};let ot=Te;var At=(b,E)=>new ot(b,E).major;let pt=Te;var at=(b,E)=>new pt(b,E).minor;let ft=Te;var mt=(b,E)=>new ft(b,E).patch;let gt=Re;var _t=(b,E)=>{let I=gt(b,E);return I&&I.prerelease.length?I.prerelease:null};let yr=Ye;var Xe=(b,E,I)=>yr(E,b,I);let kr=Ye;var jt=(b,E)=>kr(b,E,!0);let Rt=Te;var cn=(b,E,I)=>{let G=new Rt(b,I),Z=new Rt(E,I);return G.compare(Z)||G.compareBuild(Z)};let _n=cn;var Xr=(b,E)=>b.sort((I,G)=>_n(I,G,E));let Nr=cn;var Lt=(b,E)=>b.sort((I,G)=>Nr(G,I,E));let dn=Ye;var Ct=(b,E,I)=>dn(b,E,I)>0;let Tt=Ye;var xr=(b,E,I)=>Tt(b,E,I)<0;let Yr=Ye;var Hr=(b,E,I)=>Yr(b,E,I)!==0;let tr=Ye;var pn=(b,E,I)=>tr(b,E,I)>=0;let In=Ye;var tt=(b,E,I)=>In(b,E,I)<=0;let It=we,Nn=Hr,Qn=Ct,Zn=pn,ei=xr,ti=tt;var xn=(b,E,I,G)=>{switch(E){case"===":return typeof b=="object"&&(b=b.version),typeof I=="object"&&(I=I.version),b===I;case"!==":return typeof b=="object"&&(b=b.version),typeof I=="object"&&(I=I.version),b!==I;case"":case"=":case"==":return It(b,I,G);case"!=":return Nn(b,I,G);case">":return Qn(b,I,G);case">=":return Zn(b,I,G);case"<":return ei(b,I,G);case"<=":return ti(b,I,G);default:throw new TypeError(`Invalid operator: ${E}`)}};let gr=Te,pr=Re,{re:ur,t:Jr}=Q.exports;var Mr=(b,E)=>{if(b instanceof gr)return b;if(typeof b=="number"&&(b=String(b)),typeof b!="string")return null;let I=null;if((E=E||{}).rtl){let G;for(;(G=ur[Jr.COERCERTL].exec(b))&&(!I||I.index+I[0].length!==b.length);)I&&G.index+G[0].length===I.index+I[0].length||(I=G),ur[Jr.COERCERTL].lastIndex=G.index+G[1].length+G[2].length;ur[Jr.COERCERTL].lastIndex=-1}else I=b.match(ur[Jr.COERCE]);return I===null?null:pr(`${I[2]}.${I[3]||"0"}.${I[4]||"0"}`,E)},Br=Ge;function Ge(b){var E=this;if(E instanceof Ge||(E=new Ge),E.tail=null,E.head=null,E.length=0,b&&typeof b.forEach=="function")b.forEach(function(Z){E.push(Z)});else if(arguments.length>0)for(var I=0,G=arguments.length;I<G;I++)E.push(arguments[I]);return E}function fn(b,E,I){var G=E===b.head?new Jt(I,null,E,b):new Jt(I,E,E.next,b);return G.next===null&&(b.tail=G),G.prev===null&&(b.head=G),b.length++,G}function jn(b,E){b.tail=new Jt(E,b.tail,null,b),b.head||(b.head=b.tail),b.length++}function bt(b,E){b.head=new Jt(E,null,b.head,b),b.tail||(b.tail=b.head),b.length++}function Jt(b,E,I,G){if(!(this instanceof Jt))return new Jt(b,E,I,G);this.list=G,this.value=b,E?(E.next=this,this.prev=E):this.prev=null,I?(I.prev=this,this.next=I):this.next=null}Ge.Node=Jt,Ge.create=Ge,Ge.prototype.removeNode=function(b){if(b.list!==this)throw new Error("removing node which does not belong to this list");var E=b.next,I=b.prev;return E&&(E.prev=I),I&&(I.next=E),b===this.head&&(this.head=E),b===this.tail&&(this.tail=I),b.list.length--,b.next=null,b.prev=null,b.list=null,E},Ge.prototype.unshiftNode=function(b){if(b!==this.head){b.list&&b.list.removeNode(b);var E=this.head;b.list=this,b.next=E,E&&(E.prev=b),this.head=b,this.tail||(this.tail=b),this.length++}},Ge.prototype.pushNode=function(b){if(b!==this.tail){b.list&&b.list.removeNode(b);var E=this.tail;b.list=this,b.prev=E,E&&(E.next=b),this.tail=b,this.head||(this.head=b),this.length++}},Ge.prototype.push=function(){for(var b=0,E=arguments.length;b<E;b++)jn(this,arguments[b]);return this.length},Ge.prototype.unshift=function(){for(var b=0,E=arguments.length;b<E;b++)bt(this,arguments[b]);return this.length},Ge.prototype.pop=function(){if(this.tail){var b=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,b}},Ge.prototype.shift=function(){if(this.head){var b=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,b}},Ge.prototype.forEach=function(b,E){E=E||this;for(var I=this.head,G=0;I!==null;G++)b.call(E,I.value,G,this),I=I.next},Ge.prototype.forEachReverse=function(b,E){E=E||this;for(var I=this.tail,G=this.length-1;I!==null;G--)b.call(E,I.value,G,this),I=I.prev},Ge.prototype.get=function(b){for(var E=0,I=this.head;I!==null&&E<b;E++)I=I.next;if(E===b&&I!==null)return I.value},Ge.prototype.getReverse=function(b){for(var E=0,I=this.tail;I!==null&&E<b;E++)I=I.prev;if(E===b&&I!==null)return I.value},Ge.prototype.map=function(b,E){E=E||this;for(var I=new Ge,G=this.head;G!==null;)I.push(b.call(E,G.value,this)),G=G.next;return I},Ge.prototype.mapReverse=function(b,E){E=E||this;for(var I=new Ge,G=this.tail;G!==null;)I.push(b.call(E,G.value,this)),G=G.prev;return I},Ge.prototype.reduce=function(b,E){var I,G=this.head;if(arguments.length>1)I=E;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");G=this.head.next,I=this.head.value}for(var Z=0;G!==null;Z++)I=b(I,G.value,Z),G=G.next;return I},Ge.prototype.reduceReverse=function(b,E){var I,G=this.tail;if(arguments.length>1)I=E;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");G=this.tail.prev,I=this.tail.value}for(var Z=this.length-1;G!==null;Z--)I=b(I,G.value,Z),G=G.prev;return I},Ge.prototype.toArray=function(){for(var b=new Array(this.length),E=0,I=this.head;I!==null;E++)b[E]=I.value,I=I.next;return b},Ge.prototype.toArrayReverse=function(){for(var b=new Array(this.length),E=0,I=this.tail;I!==null;E++)b[E]=I.value,I=I.prev;return b},Ge.prototype.slice=function(b,E){(E=E||this.length)<0&&(E+=this.length),(b=b||0)<0&&(b+=this.length);var I=new Ge;if(E<b||E<0)return I;b<0&&(b=0),E>this.length&&(E=this.length);for(var G=0,Z=this.head;Z!==null&&G<b;G++)Z=Z.next;for(;Z!==null&&G<E;G++,Z=Z.next)I.push(Z.value);return I},Ge.prototype.sliceReverse=function(b,E){(E=E||this.length)<0&&(E+=this.length),(b=b||0)<0&&(b+=this.length);var I=new Ge;if(E<b||E<0)return I;b<0&&(b=0),E>this.length&&(E=this.length);for(var G=this.length,Z=this.tail;Z!==null&&G>E;G--)Z=Z.prev;for(;Z!==null&&G>b;G--,Z=Z.prev)I.push(Z.value);return I},Ge.prototype.splice=function(b,E,...I){b>this.length&&(b=this.length-1),b<0&&(b=this.length+b);for(var G=0,Z=this.head;Z!==null&&G<b;G++)Z=Z.next;var te=[];for(G=0;Z&&G<E;G++)te.push(Z.value),Z=this.removeNode(Z);for(Z===null&&(Z=this.tail),Z!==this.head&&Z!==this.tail&&(Z=Z.prev),G=0;G<I.length;G++)Z=fn(this,Z,I[G]);return te},Ge.prototype.reverse=function(){for(var b=this.head,E=this.tail,I=b;I!==null;I=I.prev){var G=I.prev;I.prev=I.next,I.next=G}return this.head=E,this.tail=b,this};try{_chunkCDIW2WTIjs.a.call(void 0, "./iterator.js")(Ge)}catch (e16){}let Rn=Br,fr=Symbol("max"),rr=Symbol("length"),br=Symbol("lengthCalculator"),$r=Symbol("allowStale"),nr=Symbol("maxAge"),zt=Symbol("dispose"),hn=Symbol("noDisposeOnSet"),St=Symbol("lruList"),Bt=Symbol("cache"),Ln=Symbol("updateAgeOnGet"),jr=()=>1,Ur=(b,E,I)=>{let G=b[Bt].get(E);if(G){let Z=G.value;if(zr(b,Z)){if(Er(b,G),!b[$r])return}else I&&(b[Ln]&&(G.value.now=Date.now()),b[St].unshiftNode(G));return Z.value}},zr=(b,E)=>{if(!E||!E.maxAge&&!b[nr])return!1;let I=Date.now()-E.now;return E.maxAge?I>E.maxAge:b[nr]&&I>b[nr]},wt=b=>{if(b[rr]>b[fr])for(let E=b[St].tail;b[rr]>b[fr]&&E!==null;){let I=E.prev;Er(b,E),E=I}},Er=(b,E)=>{if(E){let I=E.value;b[zt]&&b[zt](I.key,I.value),b[rr]-=I.length,b[Bt].delete(I.key),b[St].removeNode(E)}};class Ee{constructor(E,I,G,Z,te){this.key=E,this.value=I,this.length=G,this.now=Z,this.maxAge=te||0}}let s=(b,E,I,G)=>{let Z=I.value;zr(b,Z)&&(Er(b,I),b[$r]||(Z=void 0)),Z&&E.call(G,Z.value,Z.key,b)};var l=class{constructor(b){if(typeof b=="number"&&(b={max:b}),b||(b={}),b.max&&(typeof b.max!="number"||b.max<0))throw new TypeError("max must be a non-negative number");this[fr]=b.max||1/0;let E=b.length||jr;if(this[br]=typeof E!="function"?jr:E,this[$r]=b.stale||!1,b.maxAge&&typeof b.maxAge!="number")throw new TypeError("maxAge must be a number");this[nr]=b.maxAge||0,this[zt]=b.dispose,this[hn]=b.noDisposeOnSet||!1,this[Ln]=b.updateAgeOnGet||!1,this.reset()}set max(b){if(typeof b!="number"||b<0)throw new TypeError("max must be a non-negative number");this[fr]=b||1/0,wt(this)}get max(){return this[fr]}set allowStale(b){this[$r]=!!b}get allowStale(){return this[$r]}set maxAge(b){if(typeof b!="number")throw new TypeError("maxAge must be a non-negative number");this[nr]=b,wt(this)}get maxAge(){return this[nr]}set lengthCalculator(b){typeof b!="function"&&(b=jr),b!==this[br]&&(this[br]=b,this[rr]=0,this[St].forEach(E=>{E.length=this[br](E.value,E.key),this[rr]+=E.length})),wt(this)}get lengthCalculator(){return this[br]}get length(){return this[rr]}get itemCount(){return this[St].length}rforEach(b,E){E=E||this;for(let I=this[St].tail;I!==null;){let G=I.prev;s(this,b,I,E),I=G}}forEach(b,E){E=E||this;for(let I=this[St].head;I!==null;){let G=I.next;s(this,b,I,E),I=G}}keys(){return this[St].toArray().map(b=>b.key)}values(){return this[St].toArray().map(b=>b.value)}reset(){this[zt]&&this[St]&&this[St].length&&this[St].forEach(b=>this[zt](b.key,b.value)),this[Bt]=new Map,this[St]=new Rn,this[rr]=0}dump(){return this[St].map(b=>!zr(this,b)&&{k:b.key,v:b.value,e:b.now+(b.maxAge||0)}).toArray().filter(b=>b)}dumpLru(){return this[St]}set(b,E,I){if((I=I||this[nr])&&typeof I!="number")throw new TypeError("maxAge must be a number");let G=I?Date.now():0,Z=this[br](E,b);if(this[Bt].has(b)){if(Z>this[fr])return Er(this,this[Bt].get(b)),!1;let ie=this[Bt].get(b).value;return this[zt]&&(this[hn]||this[zt](b,ie.value)),ie.now=G,ie.maxAge=I,ie.value=E,this[rr]+=Z-ie.length,ie.length=Z,this.get(b),wt(this),!0}let te=new Ee(b,E,Z,G,I);return te.length>this[fr]?(this[zt]&&this[zt](b,E),!1):(this[rr]+=te.length,this[St].unshift(te),this[Bt].set(b,this[St].head),wt(this),!0)}has(b){if(!this[Bt].has(b))return!1;let E=this[Bt].get(b).value;return!zr(this,E)}get(b){return Ur(this,b,!0)}peek(b){return Ur(this,b,!1)}pop(){let b=this[St].tail;return b?(Er(this,b),b.value):null}del(b){Er(this,this[Bt].get(b))}load(b){this.reset();let E=Date.now();for(let I=b.length-1;I>=0;I--){let G=b[I],Z=G.e||0;if(Z===0)this.set(G.k,G.v);else{let te=Z-E;te>0&&this.set(G.k,G.v,te)}}}prune(){this[Bt].forEach((b,E)=>Ur(this,E,!1))}};class g{constructor(E,I){if(I=q(I),E instanceof g)return E.loose===!!I.loose&&E.includePrerelease===!!I.includePrerelease?E:new g(E.raw,I);if(E instanceof oe)return this.raw=E.value,this.set=[[E]],this.format(),this;if(this.options=I,this.loose=!!I.loose,this.includePrerelease=!!I.includePrerelease,this.raw=E,this.set=E.split(/\s*\|\|\s*/).map(G=>this.parseRange(G.trim())).filter(G=>G.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${E}`);if(this.set.length>1){let G=this.set[0];if(this.set=this.set.filter(Z=>!it(Z[0])),this.set.length===0)this.set=[G];else if(this.set.length>1){for(let Z of this.set)if(Z.length===1&&ht(Z[0])){this.set=[Z];break}}}this.format()}format(){return this.range=this.set.map(E=>E.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(E){E=E.trim();let I=`parseRange:${Object.keys(this.options).join(",")}:${E}`,G=U.get(I);if(G)return G;let Z=this.options.loose,te=Z?Ie[We.HYPHENRANGELOOSE]:Ie[We.HYPHENRANGE];E=E.replace(te,Ri(this.options.includePrerelease)),ce("hyphen replace",E),E=E.replace(Ie[We.COMPARATORTRIM],Qe),ce("comparator trim",E,Ie[We.COMPARATORTRIM]),E=(E=(E=E.replace(Ie[We.TILDETRIM],qe)).replace(Ie[We.CARETTRIM],yt)).split(/\s+/).join(" ");let ie=Z?Ie[We.COMPARATORLOOSE]:Ie[We.COMPARATOR],Se=E.split(" ").map(je=>ir(je,this.options)).join(" ").split(/\s+/).map(je=>ji(je,this.options)).filter(this.options.loose?je=>!!je.match(ie):()=>!0).map(je=>new oe(je,this.options));Se.length;let ge=new Map;for(let je of Se){if(it(je))return[je];ge.set(je.value,je)}ge.size>1&&ge.has("")&&ge.delete("");let Le=[...ge.values()];return U.set(I,Le),Le}intersects(E,I){if(!(E instanceof g))throw new TypeError("a Range is required");return this.set.some(G=>Et(G,I)&&E.set.some(Z=>Et(Z,I)&&G.every(te=>Z.every(ie=>te.intersects(ie,I)))))}test(E){if(!E)return!1;if(typeof E=="string")try{E=new ve(E,this.options)}catch (e17){return!1}for(let I=0;I<this.set.length;I++)if(Bs(this.set[I],E,this.options))return!0;return!1}}var w=g;let U=new l({max:1e3}),q=D,oe=mn,ce=Y,ve=Te,{re:Ie,t:We,comparatorTrimReplace:Qe,tildeTrimReplace:qe,caretTrimReplace:yt}=Q.exports,it=b=>b.value==="<0.0.0-0",ht=b=>b.value==="",Et=(b,E)=>{let I=!0,G=b.slice(),Z=G.pop();for(;I&&G.length;)I=G.every(te=>Z.intersects(te,E)),Z=G.pop();return I},ir=(b,E)=>(ce("comp",b,E),b=Fs(b,E),ce("caret",b),b=Rs(b,E),ce("tildes",b),b=Ni(b,E),ce("xrange",b),b=Ms(b,E),ce("stars",b),b),$t=b=>!b||b.toLowerCase()==="x"||b==="*",Rs=(b,E)=>b.trim().split(/\s+/).map(I=>Ls(I,E)).join(" "),Ls=(b,E)=>{let I=E.loose?Ie[We.TILDELOOSE]:Ie[We.TILDE];return b.replace(I,(G,Z,te,ie,Se)=>{let ge;return ce("tilde",b,G,Z,te,ie,Se),$t(Z)?ge="":$t(te)?ge=`>=${Z}.0.0 <${+Z+1}.0.0-0`:$t(ie)?ge=`>=${Z}.${te}.0 <${Z}.${+te+1}.0-0`:Se?(ce("replaceTilde pr",Se),ge=`>=${Z}.${te}.${ie}-${Se} <${Z}.${+te+1}.0-0`):ge=`>=${Z}.${te}.${ie} <${Z}.${+te+1}.0-0`,ce("tilde return",ge),ge})},Fs=(b,E)=>b.trim().split(/\s+/).map(I=>ks(I,E)).join(" "),ks=(b,E)=>{ce("caret",b,E);let I=E.loose?Ie[We.CARETLOOSE]:Ie[We.CARET],G=E.includePrerelease?"-0":"";return b.replace(I,(Z,te,ie,Se,ge)=>{let Le;return ce("caret",b,Z,te,ie,Se,ge),$t(te)?Le="":$t(ie)?Le=`>=${te}.0.0${G} <${+te+1}.0.0-0`:$t(Se)?Le=te==="0"?`>=${te}.${ie}.0${G} <${te}.${+ie+1}.0-0`:`>=${te}.${ie}.0${G} <${+te+1}.0.0-0`:ge?(ce("replaceCaret pr",ge),Le=te==="0"?ie==="0"?`>=${te}.${ie}.${Se}-${ge} <${te}.${ie}.${+Se+1}-0`:`>=${te}.${ie}.${Se}-${ge} <${te}.${+ie+1}.0-0`:`>=${te}.${ie}.${Se}-${ge} <${+te+1}.0.0-0`):(ce("no pr"),Le=te==="0"?ie==="0"?`>=${te}.${ie}.${Se}${G} <${te}.${ie}.${+Se+1}-0`:`>=${te}.${ie}.${Se}${G} <${te}.${+ie+1}.0-0`:`>=${te}.${ie}.${Se} <${+te+1}.0.0-0`),ce("caret return",Le),Le})},Ni=(b,E)=>(ce("replaceXRanges",b,E),b.split(/\s+/).map(I=>xi(I,E)).join(" ")),xi=(b,E)=>{b=b.trim();let I=E.loose?Ie[We.XRANGELOOSE]:Ie[We.XRANGE];return b.replace(I,(G,Z,te,ie,Se,ge)=>{ce("xRange",b,G,Z,te,ie,Se,ge);let Le=$t(te),je=Le||$t(ie),Me=je||$t(Se),Fe=Me;return Z==="="&&Fe&&(Z=""),ge=E.includePrerelease?"-0":"",Le?G=Z===">"||Z==="<"?"<0.0.0-0":"*":Z&&Fe?(je&&(ie=0),Se=0,Z===">"?(Z=">=",je?(te=+te+1,ie=0,Se=0):(ie=+ie+1,Se=0)):Z==="<="&&(Z="<",je?te=+te+1:ie=+ie+1),Z==="<"&&(ge="-0"),G=`${Z+te}.${ie}.${Se}${ge}`):je?G=`>=${te}.0.0${ge} <${+te+1}.0.0-0`:Me&&(G=`>=${te}.${ie}.0${ge} <${te}.${+ie+1}.0-0`),ce("xRange return",G),G})},Ms=(b,E)=>(ce("replaceStars",b,E),b.trim().replace(Ie[We.STAR],"")),ji=(b,E)=>(ce("replaceGTE0",b,E),b.trim().replace(Ie[E.includePrerelease?We.GTE0PRE:We.GTE0],"")),Ri=b=>(E,I,G,Z,te,ie,Se,ge,Le,je,Me,Fe,_e)=>`${I=$t(G)?"":$t(Z)?`>=${G}.0.0${b?"-0":""}`:$t(te)?`>=${G}.${Z}.0${b?"-0":""}`:ie?`>=${I}`:`>=${I}${b?"-0":""}`} ${ge=$t(Le)?"":$t(je)?`<${+Le+1}.0.0-0`:$t(Me)?`<${Le}.${+je+1}.0-0`:Fe?`<=${Le}.${je}.${Me}-${Fe}`:b?`<${Le}.${je}.${+Me+1}-0`:`<=${ge}`}`.trim(),Bs=(b,E,I)=>{for(let G=0;G<b.length;G++)if(!b[G].test(E))return!1;if(E.prerelease.length&&!I.includePrerelease){for(let G=0;G<b.length;G++)if(ce(b[G].semver),b[G].semver!==oe.ANY&&b[G].semver.prerelease.length>0){let Z=b[G].semver;if(Z.major===E.major&&Z.minor===E.minor&&Z.patch===E.patch)return!0}return!1}return!0},qr=Symbol("SemVer ANY");class Vr{static get ANY(){return qr}constructor(E,I){if(I=Li(I),E instanceof Vr){if(E.loose===!!I.loose)return E;E=E.value}gn("comparator",E,I),this.options=I,this.loose=!!I.loose,this.parse(E),this.semver===qr?this.value="":this.value=this.operator+this.semver.version,gn("comp",this)}parse(E){let I=this.options.loose?Fn[ri.COMPARATORLOOSE]:Fn[ri.COMPARATOR],G=E.match(I);if(!G)throw new TypeError(`Invalid comparator: ${E}`);this.operator=G[1]!==void 0?G[1]:"",this.operator==="="&&(this.operator=""),G[2]?this.semver=new Fi(G[2],this.options.loose):this.semver=qr}toString(){return this.value}test(E){if(gn("Comparator.test",E,this.options.loose),this.semver===qr||E===qr)return!0;if(typeof E=="string")try{E=new Fi(E,this.options)}catch (e18){return!1}return yn(E,this.operator,this.semver,this.options)}intersects(E,I){if(!(E instanceof Vr))throw new TypeError("a Comparator is required");if(I&&typeof I=="object"||(I={loose:!!I,includePrerelease:!1}),this.operator==="")return this.value===""||new kn(E.value,I).test(this.value);if(E.operator==="")return E.value===""||new kn(this.value,I).test(E.semver);let G=!(this.operator!==">="&&this.operator!==">"||E.operator!==">="&&E.operator!==">"),Z=!(this.operator!=="<="&&this.operator!=="<"||E.operator!=="<="&&E.operator!=="<"),te=this.semver.version===E.semver.version,ie=!(this.operator!==">="&&this.operator!=="<="||E.operator!==">="&&E.operator!=="<="),Se=yn(this.semver,"<",E.semver,I)&&(this.operator===">="||this.operator===">")&&(E.operator==="<="||E.operator==="<"),ge=yn(this.semver,">",E.semver,I)&&(this.operator==="<="||this.operator==="<")&&(E.operator===">="||E.operator===">");return G||Z||te&&ie||Se||ge}}var mn=Vr;let Li=D,{re:Fn,t:ri}=Q.exports,yn=xn,gn=Y,Fi=Te,kn=w,bn=w;var Mn=(b,E,I)=>{try{E=new bn(E,I)}catch (e19){return!1}return E.test(b)};let $s=w;var Qr=(b,E)=>new $s(b,E).set.map(I=>I.map(G=>G.value).join(" ").trim().split(" "));let ki=Te,Us=w;var Mi=(b,E,I)=>{let G=null,Z=null,te=null;try{te=new Us(E,I)}catch (e20){return null}return b.forEach(ie=>{te.test(ie)&&(G&&Z.compare(ie)!==-1||(G=ie,Z=new ki(G,I)))}),G};let Bi=Te,Vs=w;var $i=(b,E,I)=>{let G=null,Z=null,te=null;try{te=new Vs(E,I)}catch (e21){return null}return b.forEach(ie=>{te.test(ie)&&(G&&Z.compare(ie)!==1||(G=ie,Z=new Bi(G,I)))}),G};let B=Te,V=w,z=Ct;var se=(b,E)=>{b=new V(b,E);let I=new B("0.0.0");if(b.test(I)||(I=new B("0.0.0-0"),b.test(I)))return I;I=null;for(let G=0;G<b.set.length;++G){let Z=b.set[G],te=null;Z.forEach(ie=>{let Se=new B(ie.semver.version);switch(ie.operator){case">":Se.prerelease.length===0?Se.patch++:Se.prerelease.push(0),Se.raw=Se.format();case"":case">=":te&&!z(Se,te)||(te=Se);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${ie.operator}`)}}),!te||I&&!z(I,te)||(I=te)}return I&&b.test(I)?I:null};let le=w;var fe=(b,E)=>{try{return new le(b,E).range||"*"}catch (e22){return null}};let Ae=Te,Ne=mn,{ANY:Ve}=Ne,Ue=w,Ke=Mn,He=Ct,nt=xr,Je=tt,sr=pn;var cr=(b,E,I,G)=>{let Z,te,ie,Se,ge;switch(b=new Ae(b,G),E=new Ue(E,G),I){case">":Z=He,te=Je,ie=nt,Se=">",ge=">=";break;case"<":Z=nt,te=sr,ie=He,Se="<",ge="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Ke(b,E,G))return!1;for(let Le=0;Le<E.set.length;++Le){let je=E.set[Le],Me=null,Fe=null;if(je.forEach(_e=>{_e.semver===Ve&&(_e=new Ne(">=0.0.0")),Me=Me||_e,Fe=Fe||_e,Z(_e.semver,Me.semver,G)?Me=_e:ie(_e.semver,Fe.semver,G)&&(Fe=_e)}),Me.operator===Se||Me.operator===ge||(!Fe.operator||Fe.operator===Se)&&te(b,Fe.semver)||Fe.operator===ge&&ie(b,Fe.semver))return!1}return!0};let Zr=cr;var Ui=(b,E,I)=>Zr(b,E,">",I);let Ap=cr;var Cp=(b,E,I)=>Ap(b,E,"<",I);let co=w;var wp=(b,E,I)=>(b=new co(b,I),E=new co(E,I),b.intersects(E));let Dp=Mn,Op=Ye,po=w,Vi=mn,{ANY:Gs}=Vi,ni=Mn,Ws=Ye,_p=(b,E,I)=>{if(b===E)return!0;if(b.length===1&&b[0].semver===Gs){if(E.length===1&&E[0].semver===Gs)return!0;b=I.includePrerelease?[new Vi(">=0.0.0-0")]:[new Vi(">=0.0.0")]}if(E.length===1&&E[0].semver===Gs){if(I.includePrerelease)return!0;E=[new Vi(">=0.0.0")]}let G=new Set,Z,te,ie,Se,ge,Le,je;for(let _e of b)_e.operator===">"||_e.operator===">="?Z=fo(Z,_e,I):_e.operator==="<"||_e.operator==="<="?te=ho(te,_e,I):G.add(_e.semver);if(G.size>1||Z&&te&&(ie=Ws(Z.semver,te.semver,I),ie>0||ie===0&&(Z.operator!==">="||te.operator!=="<=")))return null;for(let _e of G){if(Z&&!ni(_e,String(Z),I)||te&&!ni(_e,String(te),I))return null;for(let rt of E)if(!ni(_e,String(rt),I))return!1;return!0}let Me=!(!te||I.includePrerelease||!te.semver.prerelease.length)&&te.semver,Fe=!(!Z||I.includePrerelease||!Z.semver.prerelease.length)&&Z.semver;Me&&Me.prerelease.length===1&&te.operator==="<"&&Me.prerelease[0]===0&&(Me=!1);for(let _e of E){if(je=je||_e.operator===">"||_e.operator===">=",Le=Le||_e.operator==="<"||_e.operator==="<=",Z){if(Fe&&_e.semver.prerelease&&_e.semver.prerelease.length&&_e.semver.major===Fe.major&&_e.semver.minor===Fe.minor&&_e.semver.patch===Fe.patch&&(Fe=!1),_e.operator===">"||_e.operator===">="){if(Se=fo(Z,_e,I),Se===_e&&Se!==Z)return!1}else if(Z.operator===">="&&!ni(Z.semver,String(_e),I))return!1}if(te){if(Me&&_e.semver.prerelease&&_e.semver.prerelease.length&&_e.semver.major===Me.major&&_e.semver.minor===Me.minor&&_e.semver.patch===Me.patch&&(Me=!1),_e.operator==="<"||_e.operator==="<="){if(ge=ho(te,_e,I),ge===_e&&ge!==te)return!1}else if(te.operator==="<="&&!ni(te.semver,String(_e),I))return!1}if(!_e.operator&&(te||Z)&&ie!==0)return!1}return!(Z&&Le&&!te&&ie!==0)&&!(te&&je&&!Z&&ie!==0)&&!Fe&&!Me},fo=(b,E,I)=>{if(!b)return E;let G=Ws(b.semver,E.semver,I);return G>0?b:G<0||E.operator===">"&&b.operator===">="?E:b},ho=(b,E,I)=>{if(!b)return E;let G=Ws(b.semver,E.semver,I);return G<0?b:G>0||E.operator==="<"&&b.operator==="<="?E:b};var Ip=(b,E,I={})=>{if(b===E)return!0;b=new po(b,I),E=new po(E,I);let G=!1;e:for(let Z of b.set){for(let te of E.set){let ie=_p(Z,te,I);if(G=G||ie!==null,ie)continue e}if(G)return!1}return!0};let Ks=Q.exports;var Np={re:Ks.re,src:Ks.src,tokens:Ks.t,SEMVER_SPEC_VERSION:K.SEMVER_SPEC_VERSION,SemVer:Te,compareIdentifiers:R.compareIdentifiers,rcompareIdentifiers:R.rcompareIdentifiers,parse:Re,valid:ee,clean:be,inc:$e,diff:lt,major:At,minor:at,patch:mt,prerelease:_t,compare:Ye,rcompare:Xe,compareLoose:jt,compareBuild:cn,sort:Xr,rsort:Lt,gt:Ct,lt:xr,eq:we,neq:Hr,gte:pn,lte:tt,cmp:xn,coerce:Mr,Comparator:mn,Range:w,satisfies:Mn,toComparators:Qr,maxSatisfying:Mi,minSatisfying:$i,minVersion:se,validRange:fe,outside:cr,gtr:Ui,ltr:Cp,intersects:wp,simplifyRange:(b,E,I)=>{let G=[],Z=null,te=null,ie=b.sort((je,Me)=>Op(je,Me,I));for(let je of ie)Dp(je,E,I)?(te=je,Z||(Z=je)):(te&&G.push([Z,te]),te=null,Z=null);Z&&G.push([Z,null]);let Se=[];for(let[je,Me]of G)je===Me?Se.push(je):Me||je!==ie[0]?Me?je===ie[0]?Se.push(`<=${Me}`):Se.push(`${je} - ${Me}`):Se.push(`>=${je}`):Se.push("*");let ge=Se.join(" || "),Le=typeof E.raw=="string"?E.raw:String(E);return ge.length<Le.length?ge:E},subset:Ip},vr=Np;let xp={read:function(b){return mo(c.dirname(b))}};function mo(b){try{return{string:A.readFileSync(c.toNamespacedPath(c.join(b,"package.json")),"utf8")}}catch(E){if(E.code==="ENOENT"){let I=c.dirname(b);return b!==I?mo(I):{string:void 0}}throw E}}let jp=process.platform==="win32",Rp={}.hasOwnProperty,hr={},yo=new Map,go;function Rr(b,E,I){return yo.set(b,E),function(G,Z){return te;function te(...ie){let Se=Error.stackTraceLimit;Xs()&&(Error.stackTraceLimit=0);let ge=new G;Xs()&&(Error.stackTraceLimit=Se);let Le=function(je,Me,Fe){let _e=yo.get(je);if(typeof _e=="function")return v(_e.length<=Me.length,`Code: ${je}; The provided arguments length (${Me.length}) does not match the required ones (${_e.length}).`),Reflect.apply(_e,Fe,Me);let rt=(_e.match(/%[dfijoOs]/g)||[]).length;return v(rt===Me.length,`Code: ${je}; The provided arguments length (${Me.length}) does not match the required ones (${rt}).`),Me.length===0?_e:(Me.unshift(_e),Reflect.apply(k.format,null,Me))}(Z,ie,ge);return Object.defineProperty(ge,"message",{value:Le,enumerable:!1,writable:!0,configurable:!0}),Object.defineProperty(ge,"toString",{value(){return`${this.name} [${Z}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}),Lp(ge,G.name,Z),ge.code=Z,ge}}(I,b)}hr.ERR_INVALID_MODULE_SPECIFIER=Rr("ERR_INVALID_MODULE_SPECIFIER",(b,E,I)=>`Invalid module "${b}" ${E}${I?` imported from ${I}`:""}`,TypeError),hr.ERR_INVALID_PACKAGE_CONFIG=Rr("ERR_INVALID_PACKAGE_CONFIG",(b,E,I)=>`Invalid package config ${b}${E?` while importing ${E}`:""}${I?`. ${I}`:""}`,Error),hr.ERR_INVALID_PACKAGE_TARGET=Rr("ERR_INVALID_PACKAGE_TARGET",(b,E,I,G=!1,Z)=>{let te=typeof I=="string"&&!G&&I.length>0&&!I.startsWith("./");return E==="."?(v(G===!1),`Invalid "exports" main target ${JSON.stringify(I)} defined in the package config ${b}package.json${Z?` imported from ${Z}`:""}${te?'; targets must start with "./"':""}`):`Invalid "${G?"imports":"exports"}" target ${JSON.stringify(I)} defined for '${E}' in the package config ${b}package.json${Z?` imported from ${Z}`:""}${te?'; targets must start with "./"':""}`},Error),hr.ERR_MODULE_NOT_FOUND=Rr("ERR_MODULE_NOT_FOUND",(b,E,I="package")=>`Cannot find ${I} '${b}' imported from ${E}`,Error),hr.ERR_PACKAGE_IMPORT_NOT_DEFINED=Rr("ERR_PACKAGE_IMPORT_NOT_DEFINED",(b,E,I)=>`Package import specifier "${b}" is not defined${E?` in package ${E}package.json`:""} imported from ${I}`,TypeError),hr.ERR_PACKAGE_PATH_NOT_EXPORTED=Rr("ERR_PACKAGE_PATH_NOT_EXPORTED",(b,E,I)=>E==="."?`No "exports" main defined in ${b}package.json${I?` imported from ${I}`:""}`:`Package subpath '${E}' is not defined by "exports" in ${b}package.json${I?` imported from ${I}`:""}`,Error),hr.ERR_UNSUPPORTED_DIR_IMPORT=Rr("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),hr.ERR_UNKNOWN_FILE_EXTENSION=Rr("ERR_UNKNOWN_FILE_EXTENSION",'Unknown file extension "%s" for %s',TypeError),hr.ERR_INVALID_ARG_VALUE=Rr("ERR_INVALID_ARG_VALUE",(b,E,I="is invalid")=>{let G=(0,k.inspect)(E);return G.length>128&&(G=`${G.slice(0,128)}...`),`The ${b.includes(".")?"property":"argument"} '${b}' ${I}. Received ${G}`},TypeError),hr.ERR_UNSUPPORTED_ESM_URL_SCHEME=Rr("ERR_UNSUPPORTED_ESM_URL_SCHEME",b=>{let E="Only file and data URLs are supported by the default ESM loader";return jp&&b.protocol.length===2&&(E+=". On Windows, absolute paths must be valid file:// URLs"),E+=`. Received protocol '${b.protocol}'`,E},Error);let Lp=bo(function(b,E,I){(b=Fp(b)).name=`${E} [${I}]`,b.stack,E==="SystemError"?Object.defineProperty(b,"name",{value:E,enumerable:!1,writable:!0,configurable:!0}):delete b.name});function Xs(){let b=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return b===void 0?Object.isExtensible(Error):Rp.call(b,"writable")?b.writable:b.set!==void 0}function bo(b){let E="__node_internal_"+b.name;return Object.defineProperty(b,"name",{value:E}),b}let Fp=bo(function(b){let E=Xs();return E&&(go=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(b),E&&(Error.stackTraceLimit=go),b}),{ERR_UNKNOWN_FILE_EXTENSION:kp}=hr,Mp={__proto__:null,".cjs":"commonjs",".js":"module",".mjs":"module"};function Bp(b){if(b.startsWith("node:"))return{format:"builtin"};let E=new i.URL(b);if(E.protocol==="data:"){let{1:I}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(E.pathname)||[null,null];return{format:I==="text/javascript"?"module":null}}if(E.protocol==="file:"){let I=c.extname(E.pathname),G;if(G=I===".js"?function(Z){return zs(Z).type}(E.href)==="module"?"module":"commonjs":Mp[I],!G)throw new kp(I,(0,i.fileURLToPath)(b));return{format:G||null}}return{format:null}}(function({version:b=process.version,experimental:E=!1}={}){var I=["assert","buffer","child_process","cluster","console","constants","crypto","dgram","dns","domain","events","fs","http","https","module","net","os","path","punycode","querystring","readline","repl","stream","string_decoder","sys","timers","tls","tty","url","util","vm","zlib"];vr.lt(b,"6.0.0")&&I.push("freelist"),vr.gte(b,"1.0.0")&&I.push("v8"),vr.gte(b,"1.1.0")&&I.push("process"),vr.gte(b,"8.0.0")&&I.push("inspector"),vr.gte(b,"8.1.0")&&I.push("async_hooks"),vr.gte(b,"8.4.0")&&I.push("http2"),vr.gte(b,"8.5.0")&&I.push("perf_hooks"),vr.gte(b,"10.0.0")&&I.push("trace_events"),vr.gte(b,"10.5.0")&&(E||vr.gte(b,"12.0.0"))&&I.push("worker_threads"),vr.gte(b,"12.16.0")&&E&&I.push("wasi")})();let{ERR_INVALID_MODULE_SPECIFIER:Gi,ERR_INVALID_PACKAGE_CONFIG:Ys,ERR_INVALID_PACKAGE_TARGET:$p,ERR_MODULE_NOT_FOUND:Hs,ERR_PACKAGE_IMPORT_NOT_DEFINED:Up,ERR_PACKAGE_PATH_NOT_EXPORTED:Vp,ERR_UNSUPPORTED_DIR_IMPORT:Gp,ERR_UNSUPPORTED_ESM_URL_SCHEME:vE,ERR_INVALID_ARG_VALUE:TE}=hr,Eo={}.hasOwnProperty;Object.freeze(["node","import"]);let vo=/(^|\\|\/)(\.\.?|node_modules)(\\|\/|$)/,To=/\*/g,Wp=/%2f|%2c/i,So=new Set,Wi=new Map;function Po(b,E,I,G){let Z=(0,i.fileURLToPath)(E);So.has(Z+"|"+b)||(So.add(Z+"|"+b),process.emitWarning(`Use of deprecated folder mapping "${b}" in the ${I?'"exports"':'"imports"'} field module resolution of the package at ${Z}${G?` imported from ${(0,i.fileURLToPath)(G)}`:""}.
|
|
7
7
|
Update this package.json to use a subpath pattern like "${b}*".`,"DeprecationWarning","DEP0148"))}function Ao(b,E,I,G){let{format:Z}=Bp(b.href);if(Z!=="module")return;let te=(0,i.fileURLToPath)(b.href),ie=(0,i.fileURLToPath)(new i.URL(".",E)),Se=(0,i.fileURLToPath)(I);G?process.emitWarning(`Package ${ie} has a "main" field set to ${JSON.stringify(G)}, excluding the full filename and extension to the resolved file at "${te.slice(ie.length)}", imported from ${Se}.
|
|
8
8
|
Automatic extension resolution of the "main" field isdeprecated for ES modules.`,"DeprecationWarning","DEP0151"):process.emitWarning(`No "main" or "exports" field defined in the package.json for ${ie} resolving the main entry point "${te.slice(ie.length)}", imported from ${Se}.
|
|
9
|
-
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function Js(b){try{return(0,A.statSync)(b)}catch (e23){return new A.Stats}}function Co(b,E,I){let G=Wi.get(b);if(G!==void 0)return G;let Z=xp.read(b).string;if(Z===void 0){let Fe={pjsonPath:b,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return Wi.set(b,Fe),Fe}let te;try{te=JSON.parse(Z)}catch(Fe){throw new Ys(b,(I?`"${E}" from `:"")+(0,i.fileURLToPath)(I||E),Fe.message)}let{exports:ie,imports:Se,main:ge,name:Le,type:je}=te,Me={pjsonPath:b,exists:!0,main:typeof ge=="string"?ge:void 0,name:typeof Le=="string"?Le:void 0,type:je==="module"||je==="commonjs"?je:"none",exports:ie,imports:Se&&typeof Se=="object"?Se:void 0};return Wi.set(b,Me),Me}function zs(b){let E=new i.URL("./package.json",b);for(;!E.pathname.endsWith("node_modules/package.json");){let Z=Co((0,i.fileURLToPath)(E),b);if(Z.exists)return Z;let te=E;if(E=new i.URL("../package.json",E),E.pathname===te.pathname)break}let I=(0,i.fileURLToPath)(E),G={pjsonPath:I,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return Wi.set(I,G),G}function qs(b){return Js((0,i.fileURLToPath)(b)).isFile()}function Kp(b,E,I){let G;if(E.main!==void 0){if(G=new i.URL(`./${E.main}`,b),qs(G))return G;let ie=[`./${E.main}.js`,`./${E.main}.json`,`./${E.main}.node`,`./${E.main}/index.js`,`./${E.main}/index.json`,`./${E.main}/index.node`],Se=-1;for(;++Se<ie.length&&(G=new i.URL(ie[Se],b),!qs(G));)G=void 0;if(G)return Ao(G,b,I,E.main),G}let Z=["./index.js","./index.json","./index.node"],te=-1;for(;++te<Z.length&&(G=new i.URL(Z[te],b),!qs(G));)G=void 0;if(G)return Ao(G,b,I,E.main),G;throw new Hs((0,i.fileURLToPath)(new i.URL(".",b)),(0,i.fileURLToPath)(I))}function Qs(b,E,I){throw new Vp((0,i.fileURLToPath)(new i.URL(".",E)),b,I&&(0,i.fileURLToPath)(I))}function si(b,E,I,G,Z){throw E=typeof E=="object"&&E!==null?JSON.stringify(E,null,""):`${E}`,new $p((0,i.fileURLToPath)(new i.URL(".",I)),b,E,G,Z&&(0,i.fileURLToPath)(Z))}function Xp(b,E,I,G,Z,te,ie,Se){if(E===""||te||b[b.length-1]==="/"||si(I,b,G,ie,Z),!b.startsWith("./")){if(ie&&!b.startsWith("../")&&!b.startsWith("/")){let Me=!1;try{new i.URL(b),Me=!0}catch (e24){}if(!Me)return Do(te?b.replace(To,E):b+E,G,Se)}si(I,b,G,ie,Z)}vo.test(b.slice(2))&&si(I,b,G,ie,Z);let ge=new i.URL(b,G),Le=ge.pathname,je=new i.URL(".",G).pathname;return Le.startsWith(je)||si(I,b,G,ie,Z),E===""?ge:(vo.test(E)&&function(Me,Fe,_e,rt){let ct=`request is not a valid subpath for the "${_e?"imports":"exports"}" resolution of ${(0,i.fileURLToPath)(Fe)}`;throw new Gi(Me,ct,rt&&(0,i.fileURLToPath)(rt))}(I+E,G,ie,Z),te?new i.URL(ge.href.replace(To,E)):new i.URL(E,ge))}function Yp(b){let E=Number(b);return`${E}`===b&&E>=0&&E<4294967295}function Bn(b,E,I,G,Z,te,ie,Se){if(typeof E=="string")return Xp(E,I,G,b,Z,te,ie,Se);if(Array.isArray(E)){let ge=E;if(ge.length===0)return null;let Le,je=-1;for(;++je<ge.length;){let Me=ge[je],Fe;try{Fe=Bn(b,Me,I,G,Z,te,ie,Se)}catch(_e){if(Le=_e,_e.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw _e}if(Fe!==void 0){if(Fe!==null)return Fe;Le=null}}if(Le==null)return Le;throw Le}if(typeof E!="object"||E===null){if(E===null)return null;si(G,E,b,ie,Z)}else{let ge=Object.getOwnPropertyNames(E),Le=-1;for(;++Le<ge.length;)if(Yp(ge[Le]))throw new Ys((0,i.fileURLToPath)(b),Z,'"exports" cannot contain numeric property keys.');for(Le=-1;++Le<ge.length;){let je=ge[Le];if(je==="default"||Se&&Se.has(je)){let Me=Bn(b,E[je],I,G,Z,te,ie,Se);if(Me===void 0)continue;return Me}}}}function wo(b,E,I,G,Z){let te=I.exports;if(function(Le,je,Me){if(typeof Le=="string"||Array.isArray(Le))return!0;if(typeof Le!="object"||Le===null)return!1;let Fe=Object.getOwnPropertyNames(Le),_e=!1,rt=0,ct=-1;for(;++ct<Fe.length;){let dt=Fe[ct],wr=dt===""||dt[0]!==".";if(rt++==0)_e=wr;else if(_e!==wr)throw new Ys((0,i.fileURLToPath)(je),Me,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return _e}(te,b,G)&&(te={".":te}),Eo.call(te,E)){let Le=Bn(b,te[E],"",E,G,!1,!1,Z);return Le==null&&Qs(E,b,G),{resolved:Le,exact:!0}}let ie="",Se=Object.getOwnPropertyNames(te),ge=-1;for(;++ge<Se.length;){let Le=Se[ge];(Le[Le.length-1]==="*"&&E.startsWith(Le.slice(0,-1))&&E.length>=Le.length&&Le.length>ie.length||Le[Le.length-1]==="/"&&E.startsWith(Le)&&Le.length>ie.length)&&(ie=Le)}if(ie){let Le=te[ie],je=ie[ie.length-1]==="*",Me=Bn(b,Le,E.slice(ie.length-(je?1:0)),ie,G,je,!1,Z);return Me==null&&Qs(E,b,G),je||Po(ie,b,!0,G),{resolved:Me,exact:je}}Qs(E,b,G)}function Hp(b,E,I){if(b==="#"||b.startsWith("#/"))throw new Gi(b,"is not a valid internal imports specifier name",(0,i.fileURLToPath)(E));let G,Z=zs(E);if(Z.exists){G=(0,i.pathToFileURL)(Z.pjsonPath);let te=Z.imports;if(te)if(Eo.call(te,b)){let ie=Bn(G,te[b],"",b,E,!1,!0,I);if(ie!==null)return{resolved:ie,exact:!0}}else{let ie="",Se=Object.getOwnPropertyNames(te),ge=-1;for(;++ge<Se.length;){let Le=Se[ge];(Le[Le.length-1]==="*"&&b.startsWith(Le.slice(0,-1))&&b.length>=Le.length&&Le.length>ie.length||Le[Le.length-1]==="/"&&b.startsWith(Le)&&Le.length>ie.length)&&(ie=Le)}if(ie){let Le=te[ie],je=ie[ie.length-1]==="*",Me=Bn(G,Le,b.slice(ie.length-(je?1:0)),ie,E,je,!0,I);if(Me!==null)return je||Po(ie,G,!1,E),{resolved:Me,exact:je}}}}(function(te,ie,Se){throw new Up(te,ie&&(0,i.fileURLToPath)(new i.URL(".",ie)),(0,i.fileURLToPath)(Se))})(b,G,E)}function Do(b,E,I){let{packageName:G,packageSubpath:Z,isScoped:te}=function(je,Me){let Fe=je.indexOf("/"),_e=!0,rt=!1;je[0]==="@"&&(rt=!0,Fe===-1||je.length===0?_e=!1:Fe=je.indexOf("/",Fe+1));let ct=Fe===-1?je:je.slice(0,Fe),dt=-1;for(;++dt<ct.length;)if(ct[dt]==="%"||ct[dt]==="\\"){_e=!1;break}if(!_e)throw new Gi(je,"is not a valid package name",(0,i.fileURLToPath)(Me));return{packageName:ct,packageSubpath:"."+(Fe===-1?"":je.slice(Fe)),isScoped:rt}}(b,E),ie=zs(E);if(ie.exists){let je=(0,i.pathToFileURL)(ie.pjsonPath);if(ie.name===G&&ie.exports!==void 0&&ie.exports!==null)return wo(je,Z,ie,E,I).resolved}let Se,ge=new i.URL("./node_modules/"+G+"/package.json",E),Le=(0,i.fileURLToPath)(ge);do{if(!Js(Le.slice(0,-13)).isDirectory()){Se=Le,ge=new i.URL((te?"../../../../node_modules/":"../../../node_modules/")+G+"/package.json",ge),Le=(0,i.fileURLToPath)(ge);continue}let je=Co(Le,b,E);return je.exports!==void 0&&je.exports!==null?wo(ge,Z,je,E,I).resolved:Z==="."?Kp(ge,je,E):new i.URL(Z,ge)}while(Le.length!==Se.length);throw new Hs(G,(0,i.fileURLToPath)(E))}function Jp(b,E,I){let G;if(function(Z){return Z!==""&&(Z[0]==="/"||function(te){return te[0]==="."&&(te.length===1||te[1]==="/"||te[1]==="."&&(te.length===2||te[2]==="/"))}(Z))}(b))G=new i.URL(b,E);else if(b[0]==="#")({resolved:G}=Hp(b,E,I));else try{G=new i.URL(b)}catch (e25){G=Do(b,E,I)}return function(Z,te){if(Wp.test(Z.pathname))throw new Gi(Z.pathname,'must not include encoded "/" or "\\" characters',(0,i.fileURLToPath)(te));let ie=(0,i.fileURLToPath)(Z),Se=Js(ie.endsWith("/")?ie.slice(-1):ie);if(Se.isDirectory()){let ge=new Gp(ie,(0,i.fileURLToPath)(te));throw ge.url=String(Z),ge}if(!Se.isFile())throw new Hs(ie||Z.pathname,te&&(0,i.fileURLToPath)(te),"module");return Z}(G,E)}let zp=new Set(["node","import"]),qp=(0,i.pathToFileURL)(process.cwd()),Qp=[".mjs",".cjs",".js",".json"],Zp=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND"]);function Oo(b,E,I){try{return Jp(b,E,I)}catch(G){if(!Zp.has(G.code))throw G;return null}}function ef(b,E={}){if(/(node|data|http|https):/.test(b))return b;if(O.has(b))return"node:"+b;if(H(b)&&(0,A.existsSync)(b)){let Se=(0,A.realpathSync)(M(b));return(0,i.pathToFileURL)(Se).toString()}let I=E.conditions?new Set(E.conditions):zp,G=(Array.isArray(E.url)?E.url:[E.url]).filter(Boolean).map(Se=>new URL(function(ge){return typeof ge!="string"&&(ge=ge.toString()),/(node|data|http|https|file):/.test(ge)?ge:O.has(ge)?"node:"+ge:"file://"+x(ge)}(Se.toString())));G.length||G.push(qp);let Z=[...G];for(let Se of G)if(Se.protocol==="file:"&&!Se.pathname.includes("node_modules")){let ge=new URL(Se);ge.pathname+="/node_modules",Z.push(ge)}let te;for(let Se of Z){if(te=Oo(b,Se,I),te)break;for(let ge of["","/index"]){for(let Le of E.extensions||Qp)if(te=Oo(b+ge+Le,Se,I),te)break;if(te)break}}if(!te){let Se=new Error(`Cannot find module ${b} imported from ${Z.join(", ")}`);throw Se.code="ERR_MODULE_NOT_FOUND",Se}let ie=(0,A.realpathSync)(M(te));return(0,i.pathToFileURL)(ie).toString()}function tf(b,E){return ef(b,E)}function rf(b,E){return M(tf(b,E))}var _o;(function(b){b.DEFAULT={allowTrailingComma:!1}})(_o||(_o={})),new Set(e.builtinModules);var en={exports:{}},Ki={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Xi=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...b)=>console.error("SEMVER",...b):()=>{};(function(b,E){let{MAX_SAFE_COMPONENT_LENGTH:I}=Ki,G=Xi,Z=(E=b.exports={}).re=[],te=E.src=[],ie=E.t={},Se=0,ge=(Le,je,Me)=>{let Fe=Se++;G(Fe,je),ie[Le]=Fe,te[Fe]=je,Z[Fe]=new RegExp(je,Me?"g":void 0)};ge("NUMERICIDENTIFIER","0|[1-9]\\d*"),ge("NUMERICIDENTIFIERLOOSE","[0-9]+"),ge("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),ge("MAINVERSION",`(${te[ie.NUMERICIDENTIFIER]})\\.(${te[ie.NUMERICIDENTIFIER]})\\.(${te[ie.NUMERICIDENTIFIER]})`),ge("MAINVERSIONLOOSE",`(${te[ie.NUMERICIDENTIFIERLOOSE]})\\.(${te[ie.NUMERICIDENTIFIERLOOSE]})\\.(${te[ie.NUMERICIDENTIFIERLOOSE]})`),ge("PRERELEASEIDENTIFIER",`(?:${te[ie.NUMERICIDENTIFIER]}|${te[ie.NONNUMERICIDENTIFIER]})`),ge("PRERELEASEIDENTIFIERLOOSE",`(?:${te[ie.NUMERICIDENTIFIERLOOSE]}|${te[ie.NONNUMERICIDENTIFIER]})`),ge("PRERELEASE",`(?:-(${te[ie.PRERELEASEIDENTIFIER]}(?:\\.${te[ie.PRERELEASEIDENTIFIER]})*))`),ge("PRERELEASELOOSE",`(?:-?(${te[ie.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${te[ie.PRERELEASEIDENTIFIERLOOSE]})*))`),ge("BUILDIDENTIFIER","[0-9A-Za-z-]+"),ge("BUILD",`(?:\\+(${te[ie.BUILDIDENTIFIER]}(?:\\.${te[ie.BUILDIDENTIFIER]})*))`),ge("FULLPLAIN",`v?${te[ie.MAINVERSION]}${te[ie.PRERELEASE]}?${te[ie.BUILD]}?`),ge("FULL",`^${te[ie.FULLPLAIN]}$`),ge("LOOSEPLAIN",`[v=\\s]*${te[ie.MAINVERSIONLOOSE]}${te[ie.PRERELEASELOOSE]}?${te[ie.BUILD]}?`),ge("LOOSE",`^${te[ie.LOOSEPLAIN]}$`),ge("GTLT","((?:<|>)?=?)"),ge("XRANGEIDENTIFIERLOOSE",`${te[ie.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),ge("XRANGEIDENTIFIER",`${te[ie.NUMERICIDENTIFIER]}|x|X|\\*`),ge("XRANGEPLAIN",`[v=\\s]*(${te[ie.XRANGEIDENTIFIER]})(?:\\.(${te[ie.XRANGEIDENTIFIER]})(?:\\.(${te[ie.XRANGEIDENTIFIER]})(?:${te[ie.PRERELEASE]})?${te[ie.BUILD]}?)?)?`),ge("XRANGEPLAINLOOSE",`[v=\\s]*(${te[ie.XRANGEIDENTIFIERLOOSE]})(?:\\.(${te[ie.XRANGEIDENTIFIERLOOSE]})(?:\\.(${te[ie.XRANGEIDENTIFIERLOOSE]})(?:${te[ie.PRERELEASELOOSE]})?${te[ie.BUILD]}?)?)?`),ge("XRANGE",`^${te[ie.GTLT]}\\s*${te[ie.XRANGEPLAIN]}$`),ge("XRANGELOOSE",`^${te[ie.GTLT]}\\s*${te[ie.XRANGEPLAINLOOSE]}$`),ge("COERCE",`(^|[^\\d])(\\d{1,${I}})(?:\\.(\\d{1,${I}}))?(?:\\.(\\d{1,${I}}))?(?:$|[^\\d])`),ge("COERCERTL",te[ie.COERCE],!0),ge("LONETILDE","(?:~>?)"),ge("TILDETRIM",`(\\s*)${te[ie.LONETILDE]}\\s+`,!0),E.tildeTrimReplace="$1~",ge("TILDE",`^${te[ie.LONETILDE]}${te[ie.XRANGEPLAIN]}$`),ge("TILDELOOSE",`^${te[ie.LONETILDE]}${te[ie.XRANGEPLAINLOOSE]}$`),ge("LONECARET","(?:\\^)"),ge("CARETTRIM",`(\\s*)${te[ie.LONECARET]}\\s+`,!0),E.caretTrimReplace="$1^",ge("CARET",`^${te[ie.LONECARET]}${te[ie.XRANGEPLAIN]}$`),ge("CARETLOOSE",`^${te[ie.LONECARET]}${te[ie.XRANGEPLAINLOOSE]}$`),ge("COMPARATORLOOSE",`^${te[ie.GTLT]}\\s*(${te[ie.LOOSEPLAIN]})$|^$`),ge("COMPARATOR",`^${te[ie.GTLT]}\\s*(${te[ie.FULLPLAIN]})$|^$`),ge("COMPARATORTRIM",`(\\s*)${te[ie.GTLT]}\\s*(${te[ie.LOOSEPLAIN]}|${te[ie.XRANGEPLAIN]})`,!0),E.comparatorTrimReplace="$1$2$3",ge("HYPHENRANGE",`^\\s*(${te[ie.XRANGEPLAIN]})\\s+-\\s+(${te[ie.XRANGEPLAIN]})\\s*$`),ge("HYPHENRANGELOOSE",`^\\s*(${te[ie.XRANGEPLAINLOOSE]})\\s+-\\s+(${te[ie.XRANGEPLAINLOOSE]})\\s*$`),ge("STAR","(<|>)?=?\\s*\\*"),ge("GTE0","^\\s*>=\\s*0.0.0\\s*$"),ge("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})(en,en.exports);let nf=["includePrerelease","loose","rtl"];var Yi=b=>b?typeof b!="object"?{loose:!0}:nf.filter(E=>b[E]).reduce((E,I)=>(E[I]=!0,E),{}):{};let Io=/^[0-9]+$/,No=(b,E)=>{let I=Io.test(b),G=Io.test(E);return I&&G&&(b=+b,E=+E),b===E?0:I&&!G?-1:G&&!I?1:b<E?-1:1};var Zs={compareIdentifiers:No,rcompareIdentifiers:(b,E)=>No(E,b)};let Hi=Xi,{MAX_LENGTH:xo,MAX_SAFE_INTEGER:Ji}=Ki,{re:jo,t:Ro}=en.exports,sf=Yi,{compareIdentifiers:ai}=Zs;class Tr{constructor(E,I){if(I=sf(I),E instanceof Tr){if(E.loose===!!I.loose&&E.includePrerelease===!!I.includePrerelease)return E;E=E.version}else if(typeof E!="string")throw new TypeError(`Invalid Version: ${E}`);if(E.length>xo)throw new TypeError(`version is longer than ${xo} characters`);Hi("SemVer",E,I),this.options=I,this.loose=!!I.loose,this.includePrerelease=!!I.includePrerelease;let G=E.trim().match(I.loose?jo[Ro.LOOSE]:jo[Ro.FULL]);if(!G)throw new TypeError(`Invalid Version: ${E}`);if(this.raw=E,this.major=+G[1],this.minor=+G[2],this.patch=+G[3],this.major>Ji||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ji||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ji||this.patch<0)throw new TypeError("Invalid patch version");G[4]?this.prerelease=G[4].split(".").map(Z=>{if(/^[0-9]+$/.test(Z)){let te=+Z;if(te>=0&&te<Ji)return te}return Z}):this.prerelease=[],this.build=G[5]?G[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(E){if(Hi("SemVer.compare",this.version,this.options,E),!(E instanceof Tr)){if(typeof E=="string"&&E===this.version)return 0;E=new Tr(E,this.options)}return E.version===this.version?0:this.compareMain(E)||this.comparePre(E)}compareMain(E){return E instanceof Tr||(E=new Tr(E,this.options)),ai(this.major,E.major)||ai(this.minor,E.minor)||ai(this.patch,E.patch)}comparePre(E){if(E instanceof Tr||(E=new Tr(E,this.options)),this.prerelease.length&&!E.prerelease.length)return-1;if(!this.prerelease.length&&E.prerelease.length)return 1;if(!this.prerelease.length&&!E.prerelease.length)return 0;let I=0;do{let G=this.prerelease[I],Z=E.prerelease[I];if(Hi("prerelease compare",I,G,Z),G===void 0&&Z===void 0)return 0;if(Z===void 0)return 1;if(G===void 0)return-1;if(G!==Z)return ai(G,Z)}while(++I)}compareBuild(E){E instanceof Tr||(E=new Tr(E,this.options));let I=0;do{let G=this.build[I],Z=E.build[I];if(Hi("prerelease compare",I,G,Z),G===void 0&&Z===void 0)return 0;if(Z===void 0)return 1;if(G===void 0)return-1;if(G!==Z)return ai(G,Z)}while(++I)}inc(E,I){switch(E){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",I);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",I);break;case"prepatch":this.prerelease.length=0,this.inc("patch",I),this.inc("pre",I);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",I),this.inc("pre",I);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let G=this.prerelease.length;for(;--G>=0;)typeof this.prerelease[G]=="number"&&(this.prerelease[G]++,G=-2);G===-1&&this.prerelease.push(0)}I&&(this.prerelease[0]===I?isNaN(this.prerelease[1])&&(this.prerelease=[I,0]):this.prerelease=[I,0]);break;default:throw new Error(`invalid increment argument: ${E}`)}return this.format(),this.raw=this.version,this}}var qt=Tr;let{MAX_LENGTH:af}=Ki,{re:Lo,t:Fo}=en.exports,ko=qt,of=Yi;var $n=(b,E)=>{if(E=of(E),b instanceof ko)return b;if(typeof b!="string"||b.length>af||!(E.loose?Lo[Fo.LOOSE]:Lo[Fo.FULL]).test(b))return null;try{return new ko(b,E)}catch (e26){return null}};let lf=$n;var uf=(b,E)=>{let I=lf(b,E);return I?I.version:null};let cf=$n;var df=(b,E)=>{let I=cf(b.trim().replace(/^[=v]+/,""),E);return I?I.version:null};let pf=qt;var ff=(b,E,I,G)=>{typeof I=="string"&&(G=I,I=void 0);try{return new pf(b,I).inc(E,G).version}catch (e27){return null}};let Mo=qt;var Sr=(b,E,I)=>new Mo(b,I).compare(new Mo(E,I));let hf=Sr;var ea=(b,E,I)=>hf(b,E,I)===0;let Bo=$n,mf=ea;var yf=(b,E)=>{if(mf(b,E))return null;{let I=Bo(b),G=Bo(E),Z=I.prerelease.length||G.prerelease.length,te=Z?"pre":"",ie=Z?"prerelease":"";for(let Se in I)if((Se==="major"||Se==="minor"||Se==="patch")&&I[Se]!==G[Se])return te+Se;return ie}};let gf=qt;var bf=(b,E)=>new gf(b,E).major;let Ef=qt;var vf=(b,E)=>new Ef(b,E).minor;let Tf=qt;var Sf=(b,E)=>new Tf(b,E).patch;let Pf=$n;var Af=(b,E)=>{let I=Pf(b,E);return I&&I.prerelease.length?I.prerelease:null};let Cf=Sr;var wf=(b,E,I)=>Cf(E,b,I);let Df=Sr;var Of=(b,E)=>Df(b,E,!0);let $o=qt;var ta=(b,E,I)=>{let G=new $o(b,I),Z=new $o(E,I);return G.compare(Z)||G.compareBuild(Z)};let _f=ta;var If=(b,E)=>b.sort((I,G)=>_f(I,G,E));let Nf=ta;var xf=(b,E)=>b.sort((I,G)=>Nf(G,I,E));let jf=Sr;var zi=(b,E,I)=>jf(b,E,I)>0;let Rf=Sr;var ra=(b,E,I)=>Rf(b,E,I)<0;let Lf=Sr;var Uo=(b,E,I)=>Lf(b,E,I)!==0;let Ff=Sr;var na=(b,E,I)=>Ff(b,E,I)>=0;let kf=Sr;var ia=(b,E,I)=>kf(b,E,I)<=0;let Mf=ea,Bf=Uo,$f=zi,Uf=na,Vf=ra,Gf=ia;var Vo=(b,E,I,G)=>{switch(E){case"===":return typeof b=="object"&&(b=b.version),typeof I=="object"&&(I=I.version),b===I;case"!==":return typeof b=="object"&&(b=b.version),typeof I=="object"&&(I=I.version),b!==I;case"":case"=":case"==":return Mf(b,I,G);case"!=":return Bf(b,I,G);case">":return $f(b,I,G);case">=":return Uf(b,I,G);case"<":return Vf(b,I,G);case"<=":return Gf(b,I,G);default:throw new TypeError(`Invalid operator: ${E}`)}};let Wf=qt,Kf=$n,{re:qi,t:Qi}=en.exports;var Xf=(b,E)=>{if(b instanceof Wf)return b;if(typeof b=="number"&&(b=String(b)),typeof b!="string")return null;let I=null;if((E=E||{}).rtl){let G;for(;(G=qi[Qi.COERCERTL].exec(b))&&(!I||I.index+I[0].length!==b.length);)I&&G.index+G[0].length===I.index+I[0].length||(I=G),qi[Qi.COERCERTL].lastIndex=G.index+G[1].length+G[2].length;qi[Qi.COERCERTL].lastIndex=-1}else I=b.match(qi[Qi.COERCE]);return I===null?null:Kf(`${I[2]}.${I[3]||"0"}.${I[4]||"0"}`,E)},Yf=ut;function ut(b){var E=this;if(E instanceof ut||(E=new ut),E.tail=null,E.head=null,E.length=0,b&&typeof b.forEach=="function")b.forEach(function(Z){E.push(Z)});else if(arguments.length>0)for(var I=0,G=arguments.length;I<G;I++)E.push(arguments[I]);return E}function Hf(b,E,I){var G=E===b.head?new En(I,null,E,b):new En(I,E,E.next,b);return G.next===null&&(b.tail=G),G.prev===null&&(b.head=G),b.length++,G}function Jf(b,E){b.tail=new En(E,b.tail,null,b),b.head||(b.head=b.tail),b.length++}function zf(b,E){b.head=new En(E,null,b.head,b),b.tail||(b.tail=b.head),b.length++}function En(b,E,I,G){if(!(this instanceof En))return new En(b,E,I,G);this.list=G,this.value=b,E?(E.next=this,this.prev=E):this.prev=null,I?(I.prev=this,this.next=I):this.next=null}ut.Node=En,ut.create=ut,ut.prototype.removeNode=function(b){if(b.list!==this)throw new Error("removing node which does not belong to this list");var E=b.next,I=b.prev;return E&&(E.prev=I),I&&(I.next=E),b===this.head&&(this.head=E),b===this.tail&&(this.tail=I),b.list.length--,b.next=null,b.prev=null,b.list=null,E},ut.prototype.unshiftNode=function(b){if(b!==this.head){b.list&&b.list.removeNode(b);var E=this.head;b.list=this,b.next=E,E&&(E.prev=b),this.head=b,this.tail||(this.tail=b),this.length++}},ut.prototype.pushNode=function(b){if(b!==this.tail){b.list&&b.list.removeNode(b);var E=this.tail;b.list=this,b.prev=E,E&&(E.next=b),this.tail=b,this.head||(this.head=b),this.length++}},ut.prototype.push=function(){for(var b=0,E=arguments.length;b<E;b++)Jf(this,arguments[b]);return this.length},ut.prototype.unshift=function(){for(var b=0,E=arguments.length;b<E;b++)zf(this,arguments[b]);return this.length},ut.prototype.pop=function(){if(this.tail){var b=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,b}},ut.prototype.shift=function(){if(this.head){var b=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,b}},ut.prototype.forEach=function(b,E){E=E||this;for(var I=this.head,G=0;I!==null;G++)b.call(E,I.value,G,this),I=I.next},ut.prototype.forEachReverse=function(b,E){E=E||this;for(var I=this.tail,G=this.length-1;I!==null;G--)b.call(E,I.value,G,this),I=I.prev},ut.prototype.get=function(b){for(var E=0,I=this.head;I!==null&&E<b;E++)I=I.next;if(E===b&&I!==null)return I.value},ut.prototype.getReverse=function(b){for(var E=0,I=this.tail;I!==null&&E<b;E++)I=I.prev;if(E===b&&I!==null)return I.value},ut.prototype.map=function(b,E){E=E||this;for(var I=new ut,G=this.head;G!==null;)I.push(b.call(E,G.value,this)),G=G.next;return I},ut.prototype.mapReverse=function(b,E){E=E||this;for(var I=new ut,G=this.tail;G!==null;)I.push(b.call(E,G.value,this)),G=G.prev;return I},ut.prototype.reduce=function(b,E){var I,G=this.head;if(arguments.length>1)I=E;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");G=this.head.next,I=this.head.value}for(var Z=0;G!==null;Z++)I=b(I,G.value,Z),G=G.next;return I},ut.prototype.reduceReverse=function(b,E){var I,G=this.tail;if(arguments.length>1)I=E;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");G=this.tail.prev,I=this.tail.value}for(var Z=this.length-1;G!==null;Z--)I=b(I,G.value,Z),G=G.prev;return I},ut.prototype.toArray=function(){for(var b=new Array(this.length),E=0,I=this.head;I!==null;E++)b[E]=I.value,I=I.next;return b},ut.prototype.toArrayReverse=function(){for(var b=new Array(this.length),E=0,I=this.tail;I!==null;E++)b[E]=I.value,I=I.prev;return b},ut.prototype.slice=function(b,E){(E=E||this.length)<0&&(E+=this.length),(b=b||0)<0&&(b+=this.length);var I=new ut;if(E<b||E<0)return I;b<0&&(b=0),E>this.length&&(E=this.length);for(var G=0,Z=this.head;Z!==null&&G<b;G++)Z=Z.next;for(;Z!==null&&G<E;G++,Z=Z.next)I.push(Z.value);return I},ut.prototype.sliceReverse=function(b,E){(E=E||this.length)<0&&(E+=this.length),(b=b||0)<0&&(b+=this.length);var I=new ut;if(E<b||E<0)return I;b<0&&(b=0),E>this.length&&(E=this.length);for(var G=this.length,Z=this.tail;Z!==null&&G>E;G--)Z=Z.prev;for(;Z!==null&&G>b;G--,Z=Z.prev)I.push(Z.value);return I},ut.prototype.splice=function(b,E,...I){b>this.length&&(b=this.length-1),b<0&&(b=this.length+b);for(var G=0,Z=this.head;Z!==null&&G<b;G++)Z=Z.next;var te=[];for(G=0;Z&&G<E;G++)te.push(Z.value),Z=this.removeNode(Z);for(Z===null&&(Z=this.tail),Z!==this.head&&Z!==this.tail&&(Z=Z.prev),G=0;G<I.length;G++)Z=Hf(this,Z,I[G]);return te},ut.prototype.reverse=function(){for(var b=this.head,E=this.tail,I=b;I!==null;I=I.prev){var G=I.prev;I.prev=I.next,I.next=G}return this.head=E,this.tail=b,this};try{_chunkCDIW2WTIjs.a.call(void 0, "./iterator.js")(ut)}catch (e28){}let qf=Yf,vn=Symbol("max"),Gr=Symbol("length"),Un=Symbol("lengthCalculator"),oi=Symbol("allowStale"),Tn=Symbol("maxAge"),Wr=Symbol("dispose"),Go=Symbol("noDisposeOnSet"),Ft=Symbol("lruList"),Pr=Symbol("cache"),Wo=Symbol("updateAgeOnGet"),sa=()=>1,aa=(b,E,I)=>{let G=b[Pr].get(E);if(G){let Z=G.value;if(Zi(b,Z)){if(Vn(b,G),!b[oi])return}else I&&(b[Wo]&&(G.value.now=Date.now()),b[Ft].unshiftNode(G));return Z.value}},Zi=(b,E)=>{if(!E||!E.maxAge&&!b[Tn])return!1;let I=Date.now()-E.now;return E.maxAge?I>E.maxAge:b[Tn]&&I>b[Tn]},li=b=>{if(b[Gr]>b[vn])for(let E=b[Ft].tail;b[Gr]>b[vn]&&E!==null;){let I=E.prev;Vn(b,E),E=I}},Vn=(b,E)=>{if(E){let I=E.value;b[Wr]&&b[Wr](I.key,I.value),b[Gr]-=I.length,b[Pr].delete(I.key),b[Ft].removeNode(E)}};class Qf{constructor(E,I,G,Z,te){this.key=E,this.value=I,this.length=G,this.now=Z,this.maxAge=te||0}}let Ko=(b,E,I,G)=>{let Z=I.value;Zi(b,Z)&&(Vn(b,I),b[oi]||(Z=void 0)),Z&&E.call(G,Z.value,Z.key,b)};var Zf=class{constructor(b){if(typeof b=="number"&&(b={max:b}),b||(b={}),b.max&&(typeof b.max!="number"||b.max<0))throw new TypeError("max must be a non-negative number");this[vn]=b.max||1/0;let E=b.length||sa;if(this[Un]=typeof E!="function"?sa:E,this[oi]=b.stale||!1,b.maxAge&&typeof b.maxAge!="number")throw new TypeError("maxAge must be a number");this[Tn]=b.maxAge||0,this[Wr]=b.dispose,this[Go]=b.noDisposeOnSet||!1,this[Wo]=b.updateAgeOnGet||!1,this.reset()}set max(b){if(typeof b!="number"||b<0)throw new TypeError("max must be a non-negative number");this[vn]=b||1/0,li(this)}get max(){return this[vn]}set allowStale(b){this[oi]=!!b}get allowStale(){return this[oi]}set maxAge(b){if(typeof b!="number")throw new TypeError("maxAge must be a non-negative number");this[Tn]=b,li(this)}get maxAge(){return this[Tn]}set lengthCalculator(b){typeof b!="function"&&(b=sa),b!==this[Un]&&(this[Un]=b,this[Gr]=0,this[Ft].forEach(E=>{E.length=this[Un](E.value,E.key),this[Gr]+=E.length})),li(this)}get lengthCalculator(){return this[Un]}get length(){return this[Gr]}get itemCount(){return this[Ft].length}rforEach(b,E){E=E||this;for(let I=this[Ft].tail;I!==null;){let G=I.prev;Ko(this,b,I,E),I=G}}forEach(b,E){E=E||this;for(let I=this[Ft].head;I!==null;){let G=I.next;Ko(this,b,I,E),I=G}}keys(){return this[Ft].toArray().map(b=>b.key)}values(){return this[Ft].toArray().map(b=>b.value)}reset(){this[Wr]&&this[Ft]&&this[Ft].length&&this[Ft].forEach(b=>this[Wr](b.key,b.value)),this[Pr]=new Map,this[Ft]=new qf,this[Gr]=0}dump(){return this[Ft].map(b=>!Zi(this,b)&&{k:b.key,v:b.value,e:b.now+(b.maxAge||0)}).toArray().filter(b=>b)}dumpLru(){return this[Ft]}set(b,E,I){if((I=I||this[Tn])&&typeof I!="number")throw new TypeError("maxAge must be a number");let G=I?Date.now():0,Z=this[Un](E,b);if(this[Pr].has(b)){if(Z>this[vn])return Vn(this,this[Pr].get(b)),!1;let ie=this[Pr].get(b).value;return this[Wr]&&(this[Go]||this[Wr](b,ie.value)),ie.now=G,ie.maxAge=I,ie.value=E,this[Gr]+=Z-ie.length,ie.length=Z,this.get(b),li(this),!0}let te=new Qf(b,E,Z,G,I);return te.length>this[vn]?(this[Wr]&&this[Wr](b,E),!1):(this[Gr]+=te.length,this[Ft].unshift(te),this[Pr].set(b,this[Ft].head),li(this),!0)}has(b){if(!this[Pr].has(b))return!1;let E=this[Pr].get(b).value;return!Zi(this,E)}get(b){return aa(this,b,!0)}peek(b){return aa(this,b,!1)}pop(){let b=this[Ft].tail;return b?(Vn(this,b),b.value):null}del(b){Vn(this,this[Pr].get(b))}load(b){this.reset();let E=Date.now();for(let I=b.length-1;I>=0;I--){let G=b[I],Z=G.e||0;if(Z===0)this.set(G.k,G.v);else{let te=Z-E;te>0&&this.set(G.k,G.v,te)}}}prune(){this[Pr].forEach((b,E)=>aa(this,E,!1))}};class ui{constructor(E,I){if(I=eh(I),E instanceof ui)return E.loose===!!I.loose&&E.includePrerelease===!!I.includePrerelease?E:new ui(E.raw,I);if(E instanceof oa)return this.raw=E.value,this.set=[[E]],this.format(),this;if(this.options=I,this.loose=!!I.loose,this.includePrerelease=!!I.includePrerelease,this.raw=E,this.set=E.split(/\s*\|\|\s*/).map(G=>this.parseRange(G.trim())).filter(G=>G.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${E}`);if(this.set.length>1){let G=this.set[0];if(this.set=this.set.filter(Z=>!Yo(Z[0])),this.set.length===0)this.set=[G];else if(this.set.length>1){for(let Z of this.set)if(Z.length===1&&sh(Z[0])){this.set=[Z];break}}}this.format()}format(){return this.range=this.set.map(E=>E.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(E){E=E.trim();let I=`parseRange:${Object.keys(this.options).join(",")}:${E}`,G=Xo.get(I);if(G)return G;let Z=this.options.loose,te=Z?Wt[Ut.HYPHENRANGELOOSE]:Wt[Ut.HYPHENRANGE];E=E.replace(te,mh(this.options.includePrerelease)),Nt("hyphen replace",E),E=E.replace(Wt[Ut.COMPARATORTRIM],rh),Nt("comparator trim",E,Wt[Ut.COMPARATORTRIM]),E=(E=(E=E.replace(Wt[Ut.TILDETRIM],nh)).replace(Wt[Ut.CARETTRIM],ih)).split(/\s+/).join(" ");let ie=Z?Wt[Ut.COMPARATORLOOSE]:Wt[Ut.COMPARATOR],Se=E.split(" ").map(je=>ah(je,this.options)).join(" ").split(/\s+/).map(je=>hh(je,this.options)).filter(this.options.loose?je=>!!je.match(ie):()=>!0).map(je=>new oa(je,this.options));Se.length;let ge=new Map;for(let je of Se){if(Yo(je))return[je];ge.set(je.value,je)}ge.size>1&&ge.has("")&&ge.delete("");let Le=[...ge.values()];return Xo.set(I,Le),Le}intersects(E,I){if(!(E instanceof ui))throw new TypeError("a Range is required");return this.set.some(G=>Ho(G,I)&&E.set.some(Z=>Ho(Z,I)&&G.every(te=>Z.every(ie=>te.intersects(ie,I)))))}test(E){if(!E)return!1;if(typeof E=="string")try{E=new th(E,this.options)}catch (e29){return!1}for(let I=0;I<this.set.length;I++)if(yh(this.set[I],E,this.options))return!0;return!1}}var Ar=ui;let Xo=new Zf({max:1e3}),eh=Yi,oa=ts,Nt=Xi,th=qt,{re:Wt,t:Ut,comparatorTrimReplace:rh,tildeTrimReplace:nh,caretTrimReplace:ih}=en.exports,Yo=b=>b.value==="<0.0.0-0",sh=b=>b.value==="",Ho=(b,E)=>{let I=!0,G=b.slice(),Z=G.pop();for(;I&&G.length;)I=G.every(te=>Z.intersects(te,E)),Z=G.pop();return I},ah=(b,E)=>(Nt("comp",b,E),b=uh(b,E),Nt("caret",b),b=oh(b,E),Nt("tildes",b),b=dh(b,E),Nt("xrange",b),b=fh(b,E),Nt("stars",b),b),Qt=b=>!b||b.toLowerCase()==="x"||b==="*",oh=(b,E)=>b.trim().split(/\s+/).map(I=>lh(I,E)).join(" "),lh=(b,E)=>{let I=E.loose?Wt[Ut.TILDELOOSE]:Wt[Ut.TILDE];return b.replace(I,(G,Z,te,ie,Se)=>{let ge;return Nt("tilde",b,G,Z,te,ie,Se),Qt(Z)?ge="":Qt(te)?ge=`>=${Z}.0.0 <${+Z+1}.0.0-0`:Qt(ie)?ge=`>=${Z}.${te}.0 <${Z}.${+te+1}.0-0`:Se?(Nt("replaceTilde pr",Se),ge=`>=${Z}.${te}.${ie}-${Se} <${Z}.${+te+1}.0-0`):ge=`>=${Z}.${te}.${ie} <${Z}.${+te+1}.0-0`,Nt("tilde return",ge),ge})},uh=(b,E)=>b.trim().split(/\s+/).map(I=>ch(I,E)).join(" "),ch=(b,E)=>{Nt("caret",b,E);let I=E.loose?Wt[Ut.CARETLOOSE]:Wt[Ut.CARET],G=E.includePrerelease?"-0":"";return b.replace(I,(Z,te,ie,Se,ge)=>{let Le;return Nt("caret",b,Z,te,ie,Se,ge),Qt(te)?Le="":Qt(ie)?Le=`>=${te}.0.0${G} <${+te+1}.0.0-0`:Qt(Se)?Le=te==="0"?`>=${te}.${ie}.0${G} <${te}.${+ie+1}.0-0`:`>=${te}.${ie}.0${G} <${+te+1}.0.0-0`:ge?(Nt("replaceCaret pr",ge),Le=te==="0"?ie==="0"?`>=${te}.${ie}.${Se}-${ge} <${te}.${ie}.${+Se+1}-0`:`>=${te}.${ie}.${Se}-${ge} <${te}.${+ie+1}.0-0`:`>=${te}.${ie}.${Se}-${ge} <${+te+1}.0.0-0`):(Nt("no pr"),Le=te==="0"?ie==="0"?`>=${te}.${ie}.${Se}${G} <${te}.${ie}.${+Se+1}-0`:`>=${te}.${ie}.${Se}${G} <${te}.${+ie+1}.0-0`:`>=${te}.${ie}.${Se} <${+te+1}.0.0-0`),Nt("caret return",Le),Le})},dh=(b,E)=>(Nt("replaceXRanges",b,E),b.split(/\s+/).map(I=>ph(I,E)).join(" ")),ph=(b,E)=>{b=b.trim();let I=E.loose?Wt[Ut.XRANGELOOSE]:Wt[Ut.XRANGE];return b.replace(I,(G,Z,te,ie,Se,ge)=>{Nt("xRange",b,G,Z,te,ie,Se,ge);let Le=Qt(te),je=Le||Qt(ie),Me=je||Qt(Se),Fe=Me;return Z==="="&&Fe&&(Z=""),ge=E.includePrerelease?"-0":"",Le?G=Z===">"||Z==="<"?"<0.0.0-0":"*":Z&&Fe?(je&&(ie=0),Se=0,Z===">"?(Z=">=",je?(te=+te+1,ie=0,Se=0):(ie=+ie+1,Se=0)):Z==="<="&&(Z="<",je?te=+te+1:ie=+ie+1),Z==="<"&&(ge="-0"),G=`${Z+te}.${ie}.${Se}${ge}`):je?G=`>=${te}.0.0${ge} <${+te+1}.0.0-0`:Me&&(G=`>=${te}.${ie}.0${ge} <${te}.${+ie+1}.0-0`),Nt("xRange return",G),G})},fh=(b,E)=>(Nt("replaceStars",b,E),b.trim().replace(Wt[Ut.STAR],"")),hh=(b,E)=>(Nt("replaceGTE0",b,E),b.trim().replace(Wt[E.includePrerelease?Ut.GTE0PRE:Ut.GTE0],"")),mh=b=>(E,I,G,Z,te,ie,Se,ge,Le,je,Me,Fe,_e)=>`${I=Qt(G)?"":Qt(Z)?`>=${G}.0.0${b?"-0":""}`:Qt(te)?`>=${G}.${Z}.0${b?"-0":""}`:ie?`>=${I}`:`>=${I}${b?"-0":""}`} ${ge=Qt(Le)?"":Qt(je)?`<${+Le+1}.0.0-0`:Qt(Me)?`<${Le}.${+je+1}.0-0`:Fe?`<=${Le}.${je}.${Me}-${Fe}`:b?`<${Le}.${je}.${+Me+1}-0`:`<=${ge}`}`.trim(),yh=(b,E,I)=>{for(let G=0;G<b.length;G++)if(!b[G].test(E))return!1;if(E.prerelease.length&&!I.includePrerelease){for(let G=0;G<b.length;G++)if(Nt(b[G].semver),b[G].semver!==oa.ANY&&b[G].semver.prerelease.length>0){let Z=b[G].semver;if(Z.major===E.major&&Z.minor===E.minor&&Z.patch===E.patch)return!0}return!1}return!0},ci=Symbol("SemVer ANY");class es{static get ANY(){return ci}constructor(E,I){if(I=gh(I),E instanceof es){if(E.loose===!!I.loose)return E;E=E.value}ua("comparator",E,I),this.options=I,this.loose=!!I.loose,this.parse(E),this.semver===ci?this.value="":this.value=this.operator+this.semver.version,ua("comp",this)}parse(E){let I=this.options.loose?Jo[zo.COMPARATORLOOSE]:Jo[zo.COMPARATOR],G=E.match(I);if(!G)throw new TypeError(`Invalid comparator: ${E}`);this.operator=G[1]!==void 0?G[1]:"",this.operator==="="&&(this.operator=""),G[2]?this.semver=new qo(G[2],this.options.loose):this.semver=ci}toString(){return this.value}test(E){if(ua("Comparator.test",E,this.options.loose),this.semver===ci||E===ci)return!0;if(typeof E=="string")try{E=new qo(E,this.options)}catch (e30){return!1}return la(E,this.operator,this.semver,this.options)}intersects(E,I){if(!(E instanceof es))throw new TypeError("a Comparator is required");if(I&&typeof I=="object"||(I={loose:!!I,includePrerelease:!1}),this.operator==="")return this.value===""||new Qo(E.value,I).test(this.value);if(E.operator==="")return E.value===""||new Qo(this.value,I).test(E.semver);let G=!(this.operator!==">="&&this.operator!==">"||E.operator!==">="&&E.operator!==">"),Z=!(this.operator!=="<="&&this.operator!=="<"||E.operator!=="<="&&E.operator!=="<"),te=this.semver.version===E.semver.version,ie=!(this.operator!==">="&&this.operator!=="<="||E.operator!==">="&&E.operator!=="<="),Se=la(this.semver,"<",E.semver,I)&&(this.operator===">="||this.operator===">")&&(E.operator==="<="||E.operator==="<"),ge=la(this.semver,">",E.semver,I)&&(this.operator==="<="||this.operator==="<")&&(E.operator===">="||E.operator===">");return G||Z||te&&ie||Se||ge}}var ts=es;let gh=Yi,{re:Jo,t:zo}=en.exports,la=Vo,ua=Xi,qo=qt,Qo=Ar,bh=Ar;var rs=(b,E,I)=>{try{E=new bh(E,I)}catch (e31){return!1}return E.test(b)};let Eh=Ar;var vh=(b,E)=>new Eh(b,E).set.map(I=>I.map(G=>G.value).join(" ").trim().split(" "));let Th=qt,Sh=Ar;var Ph=(b,E,I)=>{let G=null,Z=null,te=null;try{te=new Sh(E,I)}catch (e32){return null}return b.forEach(ie=>{te.test(ie)&&(G&&Z.compare(ie)!==-1||(G=ie,Z=new Th(G,I)))}),G};let Ah=qt,Ch=Ar;var wh=(b,E,I)=>{let G=null,Z=null,te=null;try{te=new Ch(E,I)}catch (e33){return null}return b.forEach(ie=>{te.test(ie)&&(G&&Z.compare(ie)!==1||(G=ie,Z=new Ah(G,I)))}),G};let ca=qt,Dh=Ar,Zo=zi;var Oh=(b,E)=>{b=new Dh(b,E);let I=new ca("0.0.0");if(b.test(I)||(I=new ca("0.0.0-0"),b.test(I)))return I;I=null;for(let G=0;G<b.set.length;++G){let Z=b.set[G],te=null;Z.forEach(ie=>{let Se=new ca(ie.semver.version);switch(ie.operator){case">":Se.prerelease.length===0?Se.patch++:Se.prerelease.push(0),Se.raw=Se.format();case"":case">=":te&&!Zo(Se,te)||(te=Se);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${ie.operator}`)}}),!te||I&&!Zo(I,te)||(I=te)}return I&&b.test(I)?I:null};let _h=Ar;var Ih=(b,E)=>{try{return new _h(b,E).range||"*"}catch (e34){return null}};let Nh=qt,el=ts,{ANY:xh}=el,jh=Ar,Rh=rs,tl=zi,rl=ra,Lh=ia,Fh=na;var da=(b,E,I,G)=>{let Z,te,ie,Se,ge;switch(b=new Nh(b,G),E=new jh(E,G),I){case">":Z=tl,te=Lh,ie=rl,Se=">",ge=">=";break;case"<":Z=rl,te=Fh,ie=tl,Se="<",ge="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Rh(b,E,G))return!1;for(let Le=0;Le<E.set.length;++Le){let je=E.set[Le],Me=null,Fe=null;if(je.forEach(_e=>{_e.semver===xh&&(_e=new el(">=0.0.0")),Me=Me||_e,Fe=Fe||_e,Z(_e.semver,Me.semver,G)?Me=_e:ie(_e.semver,Fe.semver,G)&&(Fe=_e)}),Me.operator===Se||Me.operator===ge||(!Fe.operator||Fe.operator===Se)&&te(b,Fe.semver)||Fe.operator===ge&&ie(b,Fe.semver))return!1}return!0};let kh=da;var Mh=(b,E,I)=>kh(b,E,">",I);let Bh=da;var $h=(b,E,I)=>Bh(b,E,"<",I);let nl=Ar;var Uh=(b,E,I)=>(b=new nl(b,I),E=new nl(E,I),b.intersects(E));let Vh=rs,Gh=Sr,il=Ar,ns=ts,{ANY:pa}=ns,di=rs,fa=Sr,Wh=(b,E,I)=>{if(b===E)return!0;if(b.length===1&&b[0].semver===pa){if(E.length===1&&E[0].semver===pa)return!0;b=I.includePrerelease?[new ns(">=0.0.0-0")]:[new ns(">=0.0.0")]}if(E.length===1&&E[0].semver===pa){if(I.includePrerelease)return!0;E=[new ns(">=0.0.0")]}let G=new Set,Z,te,ie,Se,ge,Le,je;for(let _e of b)_e.operator===">"||_e.operator===">="?Z=sl(Z,_e,I):_e.operator==="<"||_e.operator==="<="?te=al(te,_e,I):G.add(_e.semver);if(G.size>1||Z&&te&&(ie=fa(Z.semver,te.semver,I),ie>0||ie===0&&(Z.operator!==">="||te.operator!=="<=")))return null;for(let _e of G){if(Z&&!di(_e,String(Z),I)||te&&!di(_e,String(te),I))return null;for(let rt of E)if(!di(_e,String(rt),I))return!1;return!0}let Me=!(!te||I.includePrerelease||!te.semver.prerelease.length)&&te.semver,Fe=!(!Z||I.includePrerelease||!Z.semver.prerelease.length)&&Z.semver;Me&&Me.prerelease.length===1&&te.operator==="<"&&Me.prerelease[0]===0&&(Me=!1);for(let _e of E){if(je=je||_e.operator===">"||_e.operator===">=",Le=Le||_e.operator==="<"||_e.operator==="<=",Z){if(Fe&&_e.semver.prerelease&&_e.semver.prerelease.length&&_e.semver.major===Fe.major&&_e.semver.minor===Fe.minor&&_e.semver.patch===Fe.patch&&(Fe=!1),_e.operator===">"||_e.operator===">="){if(Se=sl(Z,_e,I),Se===_e&&Se!==Z)return!1}else if(Z.operator===">="&&!di(Z.semver,String(_e),I))return!1}if(te){if(Me&&_e.semver.prerelease&&_e.semver.prerelease.length&&_e.semver.major===Me.major&&_e.semver.minor===Me.minor&&_e.semver.patch===Me.patch&&(Me=!1),_e.operator==="<"||_e.operator==="<="){if(ge=al(te,_e,I),ge===_e&&ge!==te)return!1}else if(te.operator==="<="&&!di(te.semver,String(_e),I))return!1}if(!_e.operator&&(te||Z)&&ie!==0)return!1}return!(Z&&Le&&!te&&ie!==0)&&!(te&&je&&!Z&&ie!==0)&&!Fe&&!Me},sl=(b,E,I)=>{if(!b)return E;let G=fa(b.semver,E.semver,I);return G>0?b:G<0||E.operator===">"&&b.operator===">="?E:b},al=(b,E,I)=>{if(!b)return E;let G=fa(b.semver,E.semver,I);return G<0?b:G>0||E.operator==="<"&&b.operator==="<="?E:b};var Kh=(b,E,I={})=>{if(b===E)return!0;b=new il(b,I),E=new il(E,I);let G=!1;e:for(let Z of b.set){for(let te of E.set){let ie=Wh(Z,te,I);if(G=G||ie!==null,ie)continue e}if(G)return!1}return!0};let ha=en.exports;var Xh={re:ha.re,src:ha.src,tokens:ha.t,SEMVER_SPEC_VERSION:Ki.SEMVER_SPEC_VERSION,SemVer:qt,compareIdentifiers:Zs.compareIdentifiers,rcompareIdentifiers:Zs.rcompareIdentifiers,parse:$n,valid:uf,clean:df,inc:ff,diff:yf,major:bf,minor:vf,patch:Sf,prerelease:Af,compare:Sr,rcompare:wf,compareLoose:Of,compareBuild:ta,sort:If,rsort:xf,gt:zi,lt:ra,eq:ea,neq:Uo,gte:na,lte:ia,cmp:Vo,coerce:Xf,Comparator:ts,Range:Ar,satisfies:rs,toComparators:vh,maxSatisfying:Ph,minSatisfying:wh,minVersion:Oh,validRange:Ih,outside:da,gtr:Mh,ltr:$h,intersects:Uh,simplifyRange:(b,E,I)=>{let G=[],Z=null,te=null,ie=b.sort((je,Me)=>Gh(je,Me,I));for(let je of ie)Vh(je,E,I)?(te=je,Z||(Z=je)):(te&&G.push([Z,te]),te=null,Z=null);Z&&G.push([Z,null]);let Se=[];for(let[je,Me]of G)je===Me?Se.push(je):Me||je!==ie[0]?Me?je===ie[0]?Se.push(`<=${Me}`):Se.push(`${je} - ${Me}`):Se.push(`>=${je}`):Se.push("*");let ge=Se.join(" || "),Le=typeof E.raw=="string"?E.raw:String(E);return ge.length<Le.length?ge:E},subset:Kh},Cr=Xh;let Yh=process.platform==="win32",Hh={}.hasOwnProperty,mr={},ol=new Map,ll;function Lr(b,E,I){return ol.set(b,E),function(G,Z){return te;function te(...ie){let Se=Error.stackTraceLimit;ma()&&(Error.stackTraceLimit=0);let ge=new G;ma()&&(Error.stackTraceLimit=Se);let Le=function(je,Me,Fe){let _e=ol.get(je);if(typeof _e=="function")return v(_e.length<=Me.length,`Code: ${je}; The provided arguments length (${Me.length}) does not match the required ones (${_e.length}).`),Reflect.apply(_e,Fe,Me);let rt=(_e.match(/%[dfijoOs]/g)||[]).length;return v(rt===Me.length,`Code: ${je}; The provided arguments length (${Me.length}) does not match the required ones (${rt}).`),Me.length===0?_e:(Me.unshift(_e),Reflect.apply(k.format,null,Me))}(Z,ie,ge);return Object.defineProperty(ge,"message",{value:Le,enumerable:!1,writable:!0,configurable:!0}),Object.defineProperty(ge,"toString",{value(){return`${this.name} [${Z}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}),Jh(ge,G.name,Z),ge.code=Z,ge}}(I,b)}mr.ERR_INVALID_MODULE_SPECIFIER=Lr("ERR_INVALID_MODULE_SPECIFIER",(b,E,I)=>`Invalid module "${b}" ${E}${I?` imported from ${I}`:""}`,TypeError),mr.ERR_INVALID_PACKAGE_CONFIG=Lr("ERR_INVALID_PACKAGE_CONFIG",(b,E,I)=>`Invalid package config ${b}${E?` while importing ${E}`:""}${I?`. ${I}`:""}`,Error),mr.ERR_INVALID_PACKAGE_TARGET=Lr("ERR_INVALID_PACKAGE_TARGET",(b,E,I,G=!1,Z)=>{let te=typeof I=="string"&&!G&&I.length>0&&!I.startsWith("./");return E==="."?(v(G===!1),`Invalid "exports" main target ${JSON.stringify(I)} defined in the package config ${b}package.json${Z?` imported from ${Z}`:""}${te?'; targets must start with "./"':""}`):`Invalid "${G?"imports":"exports"}" target ${JSON.stringify(I)} defined for '${E}' in the package config ${b}package.json${Z?` imported from ${Z}`:""}${te?'; targets must start with "./"':""}`},Error),mr.ERR_MODULE_NOT_FOUND=Lr("ERR_MODULE_NOT_FOUND",(b,E,I="package")=>`Cannot find ${I} '${b}' imported from ${E}`,Error),mr.ERR_PACKAGE_IMPORT_NOT_DEFINED=Lr("ERR_PACKAGE_IMPORT_NOT_DEFINED",(b,E,I)=>`Package import specifier "${b}" is not defined${E?` in package ${E}package.json`:""} imported from ${I}`,TypeError),mr.ERR_PACKAGE_PATH_NOT_EXPORTED=Lr("ERR_PACKAGE_PATH_NOT_EXPORTED",(b,E,I)=>E==="."?`No "exports" main defined in ${b}package.json${I?` imported from ${I}`:""}`:`Package subpath '${E}' is not defined by "exports" in ${b}package.json${I?` imported from ${I}`:""}`,Error),mr.ERR_UNSUPPORTED_DIR_IMPORT=Lr("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),mr.ERR_UNKNOWN_FILE_EXTENSION=Lr("ERR_UNKNOWN_FILE_EXTENSION",'Unknown file extension "%s" for %s',TypeError),mr.ERR_INVALID_ARG_VALUE=Lr("ERR_INVALID_ARG_VALUE",(b,E,I="is invalid")=>{let G=(0,k.inspect)(E);return G.length>128&&(G=`${G.slice(0,128)}...`),`The ${b.includes(".")?"property":"argument"} '${b}' ${I}. Received ${G}`},TypeError),mr.ERR_UNSUPPORTED_ESM_URL_SCHEME=Lr("ERR_UNSUPPORTED_ESM_URL_SCHEME",b=>{let E="Only file and data URLs are supported by the default ESM loader";return Yh&&b.protocol.length===2&&(E+=". On Windows, absolute paths must be valid file:// URLs"),E+=`. Received protocol '${b.protocol}'`,E},Error);let Jh=ul(function(b,E,I){(b=zh(b)).name=`${E} [${I}]`,b.stack,E==="SystemError"?Object.defineProperty(b,"name",{value:E,enumerable:!1,writable:!0,configurable:!0}):delete b.name});function ma(){let b=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return b===void 0?Object.isExtensible(Error):Hh.call(b,"writable")?b.writable:b.set!==void 0}function ul(b){let E="__node_internal_"+b.name;return Object.defineProperty(b,"name",{value:E}),b}let zh=ul(function(b){let E=ma();return E&&(ll=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(b),E&&(Error.stackTraceLimit=ll),b}),{ERR_UNKNOWN_FILE_EXTENSION:TE}=mr;(function({version:b=process.version,experimental:E=!1}={}){var I=["assert","buffer","child_process","cluster","console","constants","crypto","dgram","dns","domain","events","fs","http","https","module","net","os","path","punycode","querystring","readline","repl","stream","string_decoder","sys","timers","tls","tty","url","util","vm","zlib"];Cr.lt(b,"6.0.0")&&I.push("freelist"),Cr.gte(b,"1.0.0")&&I.push("v8"),Cr.gte(b,"1.1.0")&&I.push("process"),Cr.gte(b,"8.0.0")&&I.push("inspector"),Cr.gte(b,"8.1.0")&&I.push("async_hooks"),Cr.gte(b,"8.4.0")&&I.push("http2"),Cr.gte(b,"8.5.0")&&I.push("perf_hooks"),Cr.gte(b,"10.0.0")&&I.push("trace_events"),Cr.gte(b,"10.5.0")&&(E||Cr.gte(b,"12.0.0"))&&I.push("worker_threads"),Cr.gte(b,"12.16.0")&&E&&I.push("wasi")})();let{ERR_INVALID_MODULE_SPECIFIER:SE,ERR_INVALID_PACKAGE_CONFIG:PE,ERR_INVALID_PACKAGE_TARGET:AE,ERR_MODULE_NOT_FOUND:CE,ERR_PACKAGE_IMPORT_NOT_DEFINED:wE,ERR_PACKAGE_PATH_NOT_EXPORTED:DE,ERR_UNSUPPORTED_DIR_IMPORT:OE,ERR_UNSUPPORTED_ESM_URL_SCHEME:_E,ERR_INVALID_ARG_VALUE:IE}=mr;Object.freeze(["node","import"]),(0,i.pathToFileURL)(process.cwd());let qh=/([\s;]|^)(import[\w,{}\s*]*from|import\s*['"*{]|export\b\s*(?:[*{]|default|type|function|const|var|let|async function)|import\.meta\b)/m;function Qh(b){return qh.test(b)}var Zh=j("crypto");function cl(b,E=8){return(0,Zh.createHash)("md5").update(b).digest("hex").slice(0,E)}let em=o(process.env.JITI_DEBUG),dl=o(process.env.JITI_CACHE),tm=o(process.env.JITI_ESM_RESOLVE),pl=o(process.env.JITI_REQUIRE_CACHE),fl=o(process.env.JITI_SOURCE_MAPS),rm=(0,n.platform)()==="win32",nm={debug:em,cache:dl===void 0||!!dl,requireCache:pl===void 0||!!pl,sourceMaps:fl!==void 0&&!!fl,interopDefault:!1,esmResolve:tm||!1,cacheVersion:"6",legacy:(0,m.lt)(process.version||"0.0.0","14.0.0"),extensions:[".js",".mjs",".cjs",".ts"]};function hl(b,E={},I){function G(...Fe){E.debug&&console.log("[jiti]",...Fe)}if((E=Object.assign(Object.assign({},nm),E)).legacy&&(E.cacheVersion+="-legacy"),E.transformOptions&&(E.cacheVersion+="-"+C()(E.transformOptions)),b||(b=process.cwd()),function(Fe){try{return(0,A.lstatSync)(Fe).isDirectory()}catch (e35){return!1}}(b)&&(b=(0,c.join)(b,"index.js")),E.cache===!0&&(E.cache=(0,c.join)((0,n.tmpdir)(),"node-jiti")),E.cache)try{if((0,a.sync)(E.cache),!function(Fe){try{return(0,A.accessSync)(Fe,A.constants.W_OK),!0}catch (e36){return!1}}(E.cache))throw new Error("directory is not writable")}catch(Fe){G("Error creating cache directory at ",E.cache,Fe),E.cache=!1}let Z=d()(rm?b.replace(/\//g,"\\"):b),te=(Fe,_e)=>{try{return Z.resolve(Fe,_e)}catch (e37){}},ie=(0,i.pathToFileURL)(b),Se=[...E.extensions].filter(Fe=>Fe!==".js"),ge=(Fe,_e)=>{let rt,ct;if(E.esmResolve){try{rt=rf(Fe,{url:ie,conditions:["node","require","import"]})}catch(dt){ct=dt}if(rt)return rt}if(E.extensions.includes((0,c.extname)(Fe)))return Z.resolve(Fe,_e);try{return Z.resolve(Fe,_e)}catch(dt){ct=dt}for(let dt of Se)if(rt=te(Fe+dt,_e)||te(Fe+"/index"+dt,_e),rt)return rt;throw ct};function Le(Fe){let _e=function(rt,ct,dt){if(!E.cache||!rt)return dt();let wr=` /* v${E.cacheVersion}-${cl(ct,16)} */`,Ot=(0,c.basename)((0,c.dirname)(rt))+"-"+(0,c.basename)(rt),Sn=(0,c.join)(E.cache,Ot+"."+cl(rt)+".js");if((0,A.existsSync)(Sn)){let is=(0,A.readFileSync)(Sn,"utf-8");if(is.endsWith(wr))return G("[cache hit]",rt,"~>",Sn),is}G("[cache miss]",rt);let Dr=dt();return Dr.includes("__JITI_ERROR__")||(0,A.writeFileSync)(Sn,Dr+wr,"utf-8"),Dr}(Fe.filename,Fe.source,()=>{var rt;let ct=E.transform(Object.assign(Object.assign(Object.assign({legacy:E.legacy},E.transformOptions),{babel:Object.assign(Object.assign({},E.sourceMaps?{sourceFileName:Fe.filename,sourceMaps:"inline"}:{}),(rt=E.transformOptions)===null||rt===void 0?void 0:rt.babel)}),Fe));return ct.error&&E.debug&&G(ct.error),ct.code});return _e.startsWith("#!")&&(_e="// "+_e),_e}function je(Fe){return E.interopDefault?function(_e){if((rt=_e)===null||typeof rt!="object"||!("default"in _e))return _e;var rt;let ct=_e.default;for(let dt in _e)if(dt==="default")try{dt in ct||Object.defineProperty(ct,dt,{enumerable:!1,configurable:!1,get:()=>ct})}catch (e38){}else try{dt in ct||Object.defineProperty(ct,dt,{enumerable:!0,configurable:!0,get:()=>_e[dt]})}catch (e39){}return ct}(Fe):Fe}function Me(Fe){var _e;if(Fe.startsWith("node:")?Fe=Fe.substr(5):Fe.startsWith("file:")&&(Fe=(0,i.fileURLToPath)(Fe)),e.builtinModules.includes(Fe)||Fe===".pnp.js")return Z(Fe);let rt=ge(Fe),ct=(0,c.extname)(rt);if(ct&&!E.extensions.includes(ct))return G("[unknown]",rt),Z(Fe);if(E.requireCache&&Z.cache[rt])return je((_e=Z.cache[rt])===null||_e===void 0?void 0:_e.exports);let dt=(0,A.readFileSync)(rt,"utf-8"),wr=ct===".ts";if(ct!==".cjs"&&(wr||ct===".mjs"||Qh(dt)||E.legacy&&dt.match(/\?\.|\?\?/)||rt.includes("node_modules/config/")))G("[transpile]",rt),dt=Le({filename:rt,source:dt,ts:wr});else try{return G("[native]",rt),je(Z(Fe))}catch(Dr){G("Native require error:",Dr),G("[fallback]",rt),dt=Le({filename:rt,source:dt,ts:wr})}let Ot=new e.Module(rt),Sn;Ot.filename=rt,I&&(Ot.parent=I,Array.isArray(I.children)&&!I.children.includes(Ot)&&I.children.push(Ot)),Ot.require=hl(rt,E,Ot),Ot.path=(0,c.dirname)(rt),Ot.paths=e.Module._nodeModulePaths(Ot.path),E.requireCache&&(Z.cache[rt]=Ot);try{Sn=r().runInThisContext(e.Module.wrap(dt),{filename:rt,lineOffset:0,displayErrors:!1})}catch(Dr){E.requireCache&&delete Z.cache[rt],E.onError(Dr)}try{Sn(Ot.exports,Ot.require,Ot,Ot.filename,(0,c.dirname)(Ot.filename))}catch(Dr){E.requireCache&&delete Z.cache[rt],E.onError(Dr)}if(Ot.exports&&Ot.exports.__JITI_ERROR__){let{filename:Dr,line:is,column:im,code:sm,message:am}=Ot.exports.__JITI_ERROR__,ml=new Error(`${sm}: ${am}
|
|
10
|
-
${`${Dr}:${is}:${im}`}`);Error.captureStackTrace(ml,Me),E.onError(ml)}return Ot.loaded=!0,je(Ot.exports)}return ge.paths=Z.resolve.paths,Me.resolve=ge,Me.cache=E.requireCache?Z.cache:{},Me.extensions=Z.extensions,Me.main=Z.main,Me.transform=Le,Me.register=function(){return(0,S.addHook)((Fe,_e)=>Me.transform({source:Fe,filename:_e,ts:!!_e.match(/.ts$/)}),{exts:E.extensions})},Me}})(),jl.exports=X.default})()});var Fl=_chunkCDIW2WTIjs.b.call(void 0, (
|
|
9
|
+
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function Js(b){try{return(0,A.statSync)(b)}catch (e23){return new A.Stats}}function Co(b,E,I){let G=Wi.get(b);if(G!==void 0)return G;let Z=xp.read(b).string;if(Z===void 0){let Fe={pjsonPath:b,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return Wi.set(b,Fe),Fe}let te;try{te=JSON.parse(Z)}catch(Fe){throw new Ys(b,(I?`"${E}" from `:"")+(0,i.fileURLToPath)(I||E),Fe.message)}let{exports:ie,imports:Se,main:ge,name:Le,type:je}=te,Me={pjsonPath:b,exists:!0,main:typeof ge=="string"?ge:void 0,name:typeof Le=="string"?Le:void 0,type:je==="module"||je==="commonjs"?je:"none",exports:ie,imports:Se&&typeof Se=="object"?Se:void 0};return Wi.set(b,Me),Me}function zs(b){let E=new i.URL("./package.json",b);for(;!E.pathname.endsWith("node_modules/package.json");){let Z=Co((0,i.fileURLToPath)(E),b);if(Z.exists)return Z;let te=E;if(E=new i.URL("../package.json",E),E.pathname===te.pathname)break}let I=(0,i.fileURLToPath)(E),G={pjsonPath:I,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return Wi.set(I,G),G}function qs(b){return Js((0,i.fileURLToPath)(b)).isFile()}function Kp(b,E,I){let G;if(E.main!==void 0){if(G=new i.URL(`./${E.main}`,b),qs(G))return G;let ie=[`./${E.main}.js`,`./${E.main}.json`,`./${E.main}.node`,`./${E.main}/index.js`,`./${E.main}/index.json`,`./${E.main}/index.node`],Se=-1;for(;++Se<ie.length&&(G=new i.URL(ie[Se],b),!qs(G));)G=void 0;if(G)return Ao(G,b,I,E.main),G}let Z=["./index.js","./index.json","./index.node"],te=-1;for(;++te<Z.length&&(G=new i.URL(Z[te],b),!qs(G));)G=void 0;if(G)return Ao(G,b,I,E.main),G;throw new Hs((0,i.fileURLToPath)(new i.URL(".",b)),(0,i.fileURLToPath)(I))}function Qs(b,E,I){throw new Vp((0,i.fileURLToPath)(new i.URL(".",E)),b,I&&(0,i.fileURLToPath)(I))}function ii(b,E,I,G,Z){throw E=typeof E=="object"&&E!==null?JSON.stringify(E,null,""):`${E}`,new $p((0,i.fileURLToPath)(new i.URL(".",I)),b,E,G,Z&&(0,i.fileURLToPath)(Z))}function Xp(b,E,I,G,Z,te,ie,Se){if(E===""||te||b[b.length-1]==="/"||ii(I,b,G,ie,Z),!b.startsWith("./")){if(ie&&!b.startsWith("../")&&!b.startsWith("/")){let Me=!1;try{new i.URL(b),Me=!0}catch (e24){}if(!Me)return Do(te?b.replace(To,E):b+E,G,Se)}ii(I,b,G,ie,Z)}vo.test(b.slice(2))&&ii(I,b,G,ie,Z);let ge=new i.URL(b,G),Le=ge.pathname,je=new i.URL(".",G).pathname;return Le.startsWith(je)||ii(I,b,G,ie,Z),E===""?ge:(vo.test(E)&&function(Me,Fe,_e,rt){let ct=`request is not a valid subpath for the "${_e?"imports":"exports"}" resolution of ${(0,i.fileURLToPath)(Fe)}`;throw new Gi(Me,ct,rt&&(0,i.fileURLToPath)(rt))}(I+E,G,ie,Z),te?new i.URL(ge.href.replace(To,E)):new i.URL(E,ge))}function Yp(b){let E=Number(b);return`${E}`===b&&E>=0&&E<4294967295}function Bn(b,E,I,G,Z,te,ie,Se){if(typeof E=="string")return Xp(E,I,G,b,Z,te,ie,Se);if(Array.isArray(E)){let ge=E;if(ge.length===0)return null;let Le,je=-1;for(;++je<ge.length;){let Me=ge[je],Fe;try{Fe=Bn(b,Me,I,G,Z,te,ie,Se)}catch(_e){if(Le=_e,_e.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw _e}if(Fe!==void 0){if(Fe!==null)return Fe;Le=null}}if(Le==null)return Le;throw Le}if(typeof E!="object"||E===null){if(E===null)return null;ii(G,E,b,ie,Z)}else{let ge=Object.getOwnPropertyNames(E),Le=-1;for(;++Le<ge.length;)if(Yp(ge[Le]))throw new Ys((0,i.fileURLToPath)(b),Z,'"exports" cannot contain numeric property keys.');for(Le=-1;++Le<ge.length;){let je=ge[Le];if(je==="default"||Se&&Se.has(je)){let Me=Bn(b,E[je],I,G,Z,te,ie,Se);if(Me===void 0)continue;return Me}}}}function wo(b,E,I,G,Z){let te=I.exports;if(function(Le,je,Me){if(typeof Le=="string"||Array.isArray(Le))return!0;if(typeof Le!="object"||Le===null)return!1;let Fe=Object.getOwnPropertyNames(Le),_e=!1,rt=0,ct=-1;for(;++ct<Fe.length;){let dt=Fe[ct],wr=dt===""||dt[0]!==".";if(rt++==0)_e=wr;else if(_e!==wr)throw new Ys((0,i.fileURLToPath)(je),Me,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return _e}(te,b,G)&&(te={".":te}),Eo.call(te,E)){let Le=Bn(b,te[E],"",E,G,!1,!1,Z);return Le==null&&Qs(E,b,G),{resolved:Le,exact:!0}}let ie="",Se=Object.getOwnPropertyNames(te),ge=-1;for(;++ge<Se.length;){let Le=Se[ge];(Le[Le.length-1]==="*"&&E.startsWith(Le.slice(0,-1))&&E.length>=Le.length&&Le.length>ie.length||Le[Le.length-1]==="/"&&E.startsWith(Le)&&Le.length>ie.length)&&(ie=Le)}if(ie){let Le=te[ie],je=ie[ie.length-1]==="*",Me=Bn(b,Le,E.slice(ie.length-(je?1:0)),ie,G,je,!1,Z);return Me==null&&Qs(E,b,G),je||Po(ie,b,!0,G),{resolved:Me,exact:je}}Qs(E,b,G)}function Hp(b,E,I){if(b==="#"||b.startsWith("#/"))throw new Gi(b,"is not a valid internal imports specifier name",(0,i.fileURLToPath)(E));let G,Z=zs(E);if(Z.exists){G=(0,i.pathToFileURL)(Z.pjsonPath);let te=Z.imports;if(te)if(Eo.call(te,b)){let ie=Bn(G,te[b],"",b,E,!1,!0,I);if(ie!==null)return{resolved:ie,exact:!0}}else{let ie="",Se=Object.getOwnPropertyNames(te),ge=-1;for(;++ge<Se.length;){let Le=Se[ge];(Le[Le.length-1]==="*"&&b.startsWith(Le.slice(0,-1))&&b.length>=Le.length&&Le.length>ie.length||Le[Le.length-1]==="/"&&b.startsWith(Le)&&Le.length>ie.length)&&(ie=Le)}if(ie){let Le=te[ie],je=ie[ie.length-1]==="*",Me=Bn(G,Le,b.slice(ie.length-(je?1:0)),ie,E,je,!0,I);if(Me!==null)return je||Po(ie,G,!1,E),{resolved:Me,exact:je}}}}(function(te,ie,Se){throw new Up(te,ie&&(0,i.fileURLToPath)(new i.URL(".",ie)),(0,i.fileURLToPath)(Se))})(b,G,E)}function Do(b,E,I){let{packageName:G,packageSubpath:Z,isScoped:te}=function(je,Me){let Fe=je.indexOf("/"),_e=!0,rt=!1;je[0]==="@"&&(rt=!0,Fe===-1||je.length===0?_e=!1:Fe=je.indexOf("/",Fe+1));let ct=Fe===-1?je:je.slice(0,Fe),dt=-1;for(;++dt<ct.length;)if(ct[dt]==="%"||ct[dt]==="\\"){_e=!1;break}if(!_e)throw new Gi(je,"is not a valid package name",(0,i.fileURLToPath)(Me));return{packageName:ct,packageSubpath:"."+(Fe===-1?"":je.slice(Fe)),isScoped:rt}}(b,E),ie=zs(E);if(ie.exists){let je=(0,i.pathToFileURL)(ie.pjsonPath);if(ie.name===G&&ie.exports!==void 0&&ie.exports!==null)return wo(je,Z,ie,E,I).resolved}let Se,ge=new i.URL("./node_modules/"+G+"/package.json",E),Le=(0,i.fileURLToPath)(ge);do{if(!Js(Le.slice(0,-13)).isDirectory()){Se=Le,ge=new i.URL((te?"../../../../node_modules/":"../../../node_modules/")+G+"/package.json",ge),Le=(0,i.fileURLToPath)(ge);continue}let je=Co(Le,b,E);return je.exports!==void 0&&je.exports!==null?wo(ge,Z,je,E,I).resolved:Z==="."?Kp(ge,je,E):new i.URL(Z,ge)}while(Le.length!==Se.length);throw new Hs(G,(0,i.fileURLToPath)(E))}function Jp(b,E,I){let G;if(function(Z){return Z!==""&&(Z[0]==="/"||function(te){return te[0]==="."&&(te.length===1||te[1]==="/"||te[1]==="."&&(te.length===2||te[2]==="/"))}(Z))}(b))G=new i.URL(b,E);else if(b[0]==="#")({resolved:G}=Hp(b,E,I));else try{G=new i.URL(b)}catch (e25){G=Do(b,E,I)}return function(Z,te){if(Wp.test(Z.pathname))throw new Gi(Z.pathname,'must not include encoded "/" or "\\" characters',(0,i.fileURLToPath)(te));let ie=(0,i.fileURLToPath)(Z),Se=Js(ie.endsWith("/")?ie.slice(-1):ie);if(Se.isDirectory()){let ge=new Gp(ie,(0,i.fileURLToPath)(te));throw ge.url=String(Z),ge}if(!Se.isFile())throw new Hs(ie||Z.pathname,te&&(0,i.fileURLToPath)(te),"module");return Z}(G,E)}let zp=new Set(["node","import"]),qp=(0,i.pathToFileURL)(process.cwd()),Qp=[".mjs",".cjs",".js",".json"],Zp=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND"]);function Oo(b,E,I){try{return Jp(b,E,I)}catch(G){if(!Zp.has(G.code))throw G;return null}}function ef(b,E={}){if(/(node|data|http|https):/.test(b))return b;if(O.has(b))return"node:"+b;if(H(b)&&(0,A.existsSync)(b)){let Se=(0,A.realpathSync)(M(b));return(0,i.pathToFileURL)(Se).toString()}let I=E.conditions?new Set(E.conditions):zp,G=(Array.isArray(E.url)?E.url:[E.url]).filter(Boolean).map(Se=>new URL(function(ge){return typeof ge!="string"&&(ge=ge.toString()),/(node|data|http|https|file):/.test(ge)?ge:O.has(ge)?"node:"+ge:"file://"+x(ge)}(Se.toString())));G.length||G.push(qp);let Z=[...G];for(let Se of G)if(Se.protocol==="file:"&&!Se.pathname.includes("node_modules")){let ge=new URL(Se);ge.pathname+="/node_modules",Z.push(ge)}let te;for(let Se of Z){if(te=Oo(b,Se,I),te)break;for(let ge of["","/index"]){for(let Le of E.extensions||Qp)if(te=Oo(b+ge+Le,Se,I),te)break;if(te)break}}if(!te){let Se=new Error(`Cannot find module ${b} imported from ${Z.join(", ")}`);throw Se.code="ERR_MODULE_NOT_FOUND",Se}let ie=(0,A.realpathSync)(M(te));return(0,i.pathToFileURL)(ie).toString()}function tf(b,E){return ef(b,E)}function rf(b,E){return M(tf(b,E))}var _o;(function(b){b.DEFAULT={allowTrailingComma:!1}})(_o||(_o={})),new Set(e.builtinModules);var en={exports:{}},Ki={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Xi=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...b)=>console.error("SEMVER",...b):()=>{};(function(b,E){let{MAX_SAFE_COMPONENT_LENGTH:I}=Ki,G=Xi,Z=(E=b.exports={}).re=[],te=E.src=[],ie=E.t={},Se=0,ge=(Le,je,Me)=>{let Fe=Se++;G(Fe,je),ie[Le]=Fe,te[Fe]=je,Z[Fe]=new RegExp(je,Me?"g":void 0)};ge("NUMERICIDENTIFIER","0|[1-9]\\d*"),ge("NUMERICIDENTIFIERLOOSE","[0-9]+"),ge("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),ge("MAINVERSION",`(${te[ie.NUMERICIDENTIFIER]})\\.(${te[ie.NUMERICIDENTIFIER]})\\.(${te[ie.NUMERICIDENTIFIER]})`),ge("MAINVERSIONLOOSE",`(${te[ie.NUMERICIDENTIFIERLOOSE]})\\.(${te[ie.NUMERICIDENTIFIERLOOSE]})\\.(${te[ie.NUMERICIDENTIFIERLOOSE]})`),ge("PRERELEASEIDENTIFIER",`(?:${te[ie.NUMERICIDENTIFIER]}|${te[ie.NONNUMERICIDENTIFIER]})`),ge("PRERELEASEIDENTIFIERLOOSE",`(?:${te[ie.NUMERICIDENTIFIERLOOSE]}|${te[ie.NONNUMERICIDENTIFIER]})`),ge("PRERELEASE",`(?:-(${te[ie.PRERELEASEIDENTIFIER]}(?:\\.${te[ie.PRERELEASEIDENTIFIER]})*))`),ge("PRERELEASELOOSE",`(?:-?(${te[ie.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${te[ie.PRERELEASEIDENTIFIERLOOSE]})*))`),ge("BUILDIDENTIFIER","[0-9A-Za-z-]+"),ge("BUILD",`(?:\\+(${te[ie.BUILDIDENTIFIER]}(?:\\.${te[ie.BUILDIDENTIFIER]})*))`),ge("FULLPLAIN",`v?${te[ie.MAINVERSION]}${te[ie.PRERELEASE]}?${te[ie.BUILD]}?`),ge("FULL",`^${te[ie.FULLPLAIN]}$`),ge("LOOSEPLAIN",`[v=\\s]*${te[ie.MAINVERSIONLOOSE]}${te[ie.PRERELEASELOOSE]}?${te[ie.BUILD]}?`),ge("LOOSE",`^${te[ie.LOOSEPLAIN]}$`),ge("GTLT","((?:<|>)?=?)"),ge("XRANGEIDENTIFIERLOOSE",`${te[ie.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),ge("XRANGEIDENTIFIER",`${te[ie.NUMERICIDENTIFIER]}|x|X|\\*`),ge("XRANGEPLAIN",`[v=\\s]*(${te[ie.XRANGEIDENTIFIER]})(?:\\.(${te[ie.XRANGEIDENTIFIER]})(?:\\.(${te[ie.XRANGEIDENTIFIER]})(?:${te[ie.PRERELEASE]})?${te[ie.BUILD]}?)?)?`),ge("XRANGEPLAINLOOSE",`[v=\\s]*(${te[ie.XRANGEIDENTIFIERLOOSE]})(?:\\.(${te[ie.XRANGEIDENTIFIERLOOSE]})(?:\\.(${te[ie.XRANGEIDENTIFIERLOOSE]})(?:${te[ie.PRERELEASELOOSE]})?${te[ie.BUILD]}?)?)?`),ge("XRANGE",`^${te[ie.GTLT]}\\s*${te[ie.XRANGEPLAIN]}$`),ge("XRANGELOOSE",`^${te[ie.GTLT]}\\s*${te[ie.XRANGEPLAINLOOSE]}$`),ge("COERCE",`(^|[^\\d])(\\d{1,${I}})(?:\\.(\\d{1,${I}}))?(?:\\.(\\d{1,${I}}))?(?:$|[^\\d])`),ge("COERCERTL",te[ie.COERCE],!0),ge("LONETILDE","(?:~>?)"),ge("TILDETRIM",`(\\s*)${te[ie.LONETILDE]}\\s+`,!0),E.tildeTrimReplace="$1~",ge("TILDE",`^${te[ie.LONETILDE]}${te[ie.XRANGEPLAIN]}$`),ge("TILDELOOSE",`^${te[ie.LONETILDE]}${te[ie.XRANGEPLAINLOOSE]}$`),ge("LONECARET","(?:\\^)"),ge("CARETTRIM",`(\\s*)${te[ie.LONECARET]}\\s+`,!0),E.caretTrimReplace="$1^",ge("CARET",`^${te[ie.LONECARET]}${te[ie.XRANGEPLAIN]}$`),ge("CARETLOOSE",`^${te[ie.LONECARET]}${te[ie.XRANGEPLAINLOOSE]}$`),ge("COMPARATORLOOSE",`^${te[ie.GTLT]}\\s*(${te[ie.LOOSEPLAIN]})$|^$`),ge("COMPARATOR",`^${te[ie.GTLT]}\\s*(${te[ie.FULLPLAIN]})$|^$`),ge("COMPARATORTRIM",`(\\s*)${te[ie.GTLT]}\\s*(${te[ie.LOOSEPLAIN]}|${te[ie.XRANGEPLAIN]})`,!0),E.comparatorTrimReplace="$1$2$3",ge("HYPHENRANGE",`^\\s*(${te[ie.XRANGEPLAIN]})\\s+-\\s+(${te[ie.XRANGEPLAIN]})\\s*$`),ge("HYPHENRANGELOOSE",`^\\s*(${te[ie.XRANGEPLAINLOOSE]})\\s+-\\s+(${te[ie.XRANGEPLAINLOOSE]})\\s*$`),ge("STAR","(<|>)?=?\\s*\\*"),ge("GTE0","^\\s*>=\\s*0.0.0\\s*$"),ge("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})(en,en.exports);let nf=["includePrerelease","loose","rtl"];var Yi=b=>b?typeof b!="object"?{loose:!0}:nf.filter(E=>b[E]).reduce((E,I)=>(E[I]=!0,E),{}):{};let Io=/^[0-9]+$/,No=(b,E)=>{let I=Io.test(b),G=Io.test(E);return I&&G&&(b=+b,E=+E),b===E?0:I&&!G?-1:G&&!I?1:b<E?-1:1};var Zs={compareIdentifiers:No,rcompareIdentifiers:(b,E)=>No(E,b)};let Hi=Xi,{MAX_LENGTH:xo,MAX_SAFE_INTEGER:Ji}=Ki,{re:jo,t:Ro}=en.exports,sf=Yi,{compareIdentifiers:si}=Zs;class Tr{constructor(E,I){if(I=sf(I),E instanceof Tr){if(E.loose===!!I.loose&&E.includePrerelease===!!I.includePrerelease)return E;E=E.version}else if(typeof E!="string")throw new TypeError(`Invalid Version: ${E}`);if(E.length>xo)throw new TypeError(`version is longer than ${xo} characters`);Hi("SemVer",E,I),this.options=I,this.loose=!!I.loose,this.includePrerelease=!!I.includePrerelease;let G=E.trim().match(I.loose?jo[Ro.LOOSE]:jo[Ro.FULL]);if(!G)throw new TypeError(`Invalid Version: ${E}`);if(this.raw=E,this.major=+G[1],this.minor=+G[2],this.patch=+G[3],this.major>Ji||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ji||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ji||this.patch<0)throw new TypeError("Invalid patch version");G[4]?this.prerelease=G[4].split(".").map(Z=>{if(/^[0-9]+$/.test(Z)){let te=+Z;if(te>=0&&te<Ji)return te}return Z}):this.prerelease=[],this.build=G[5]?G[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(E){if(Hi("SemVer.compare",this.version,this.options,E),!(E instanceof Tr)){if(typeof E=="string"&&E===this.version)return 0;E=new Tr(E,this.options)}return E.version===this.version?0:this.compareMain(E)||this.comparePre(E)}compareMain(E){return E instanceof Tr||(E=new Tr(E,this.options)),si(this.major,E.major)||si(this.minor,E.minor)||si(this.patch,E.patch)}comparePre(E){if(E instanceof Tr||(E=new Tr(E,this.options)),this.prerelease.length&&!E.prerelease.length)return-1;if(!this.prerelease.length&&E.prerelease.length)return 1;if(!this.prerelease.length&&!E.prerelease.length)return 0;let I=0;do{let G=this.prerelease[I],Z=E.prerelease[I];if(Hi("prerelease compare",I,G,Z),G===void 0&&Z===void 0)return 0;if(Z===void 0)return 1;if(G===void 0)return-1;if(G!==Z)return si(G,Z)}while(++I)}compareBuild(E){E instanceof Tr||(E=new Tr(E,this.options));let I=0;do{let G=this.build[I],Z=E.build[I];if(Hi("prerelease compare",I,G,Z),G===void 0&&Z===void 0)return 0;if(Z===void 0)return 1;if(G===void 0)return-1;if(G!==Z)return si(G,Z)}while(++I)}inc(E,I){switch(E){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",I);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",I);break;case"prepatch":this.prerelease.length=0,this.inc("patch",I),this.inc("pre",I);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",I),this.inc("pre",I);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let G=this.prerelease.length;for(;--G>=0;)typeof this.prerelease[G]=="number"&&(this.prerelease[G]++,G=-2);G===-1&&this.prerelease.push(0)}I&&(this.prerelease[0]===I?isNaN(this.prerelease[1])&&(this.prerelease=[I,0]):this.prerelease=[I,0]);break;default:throw new Error(`invalid increment argument: ${E}`)}return this.format(),this.raw=this.version,this}}var qt=Tr;let{MAX_LENGTH:af}=Ki,{re:Lo,t:Fo}=en.exports,ko=qt,of=Yi;var $n=(b,E)=>{if(E=of(E),b instanceof ko)return b;if(typeof b!="string"||b.length>af||!(E.loose?Lo[Fo.LOOSE]:Lo[Fo.FULL]).test(b))return null;try{return new ko(b,E)}catch (e26){return null}};let lf=$n;var uf=(b,E)=>{let I=lf(b,E);return I?I.version:null};let cf=$n;var df=(b,E)=>{let I=cf(b.trim().replace(/^[=v]+/,""),E);return I?I.version:null};let pf=qt;var ff=(b,E,I,G)=>{typeof I=="string"&&(G=I,I=void 0);try{return new pf(b,I).inc(E,G).version}catch (e27){return null}};let Mo=qt;var Sr=(b,E,I)=>new Mo(b,I).compare(new Mo(E,I));let hf=Sr;var ea=(b,E,I)=>hf(b,E,I)===0;let Bo=$n,mf=ea;var yf=(b,E)=>{if(mf(b,E))return null;{let I=Bo(b),G=Bo(E),Z=I.prerelease.length||G.prerelease.length,te=Z?"pre":"",ie=Z?"prerelease":"";for(let Se in I)if((Se==="major"||Se==="minor"||Se==="patch")&&I[Se]!==G[Se])return te+Se;return ie}};let gf=qt;var bf=(b,E)=>new gf(b,E).major;let Ef=qt;var vf=(b,E)=>new Ef(b,E).minor;let Tf=qt;var Sf=(b,E)=>new Tf(b,E).patch;let Pf=$n;var Af=(b,E)=>{let I=Pf(b,E);return I&&I.prerelease.length?I.prerelease:null};let Cf=Sr;var wf=(b,E,I)=>Cf(E,b,I);let Df=Sr;var Of=(b,E)=>Df(b,E,!0);let $o=qt;var ta=(b,E,I)=>{let G=new $o(b,I),Z=new $o(E,I);return G.compare(Z)||G.compareBuild(Z)};let _f=ta;var If=(b,E)=>b.sort((I,G)=>_f(I,G,E));let Nf=ta;var xf=(b,E)=>b.sort((I,G)=>Nf(G,I,E));let jf=Sr;var zi=(b,E,I)=>jf(b,E,I)>0;let Rf=Sr;var ra=(b,E,I)=>Rf(b,E,I)<0;let Lf=Sr;var Uo=(b,E,I)=>Lf(b,E,I)!==0;let Ff=Sr;var na=(b,E,I)=>Ff(b,E,I)>=0;let kf=Sr;var ia=(b,E,I)=>kf(b,E,I)<=0;let Mf=ea,Bf=Uo,$f=zi,Uf=na,Vf=ra,Gf=ia;var Vo=(b,E,I,G)=>{switch(E){case"===":return typeof b=="object"&&(b=b.version),typeof I=="object"&&(I=I.version),b===I;case"!==":return typeof b=="object"&&(b=b.version),typeof I=="object"&&(I=I.version),b!==I;case"":case"=":case"==":return Mf(b,I,G);case"!=":return Bf(b,I,G);case">":return $f(b,I,G);case">=":return Uf(b,I,G);case"<":return Vf(b,I,G);case"<=":return Gf(b,I,G);default:throw new TypeError(`Invalid operator: ${E}`)}};let Wf=qt,Kf=$n,{re:qi,t:Qi}=en.exports;var Xf=(b,E)=>{if(b instanceof Wf)return b;if(typeof b=="number"&&(b=String(b)),typeof b!="string")return null;let I=null;if((E=E||{}).rtl){let G;for(;(G=qi[Qi.COERCERTL].exec(b))&&(!I||I.index+I[0].length!==b.length);)I&&G.index+G[0].length===I.index+I[0].length||(I=G),qi[Qi.COERCERTL].lastIndex=G.index+G[1].length+G[2].length;qi[Qi.COERCERTL].lastIndex=-1}else I=b.match(qi[Qi.COERCE]);return I===null?null:Kf(`${I[2]}.${I[3]||"0"}.${I[4]||"0"}`,E)},Yf=ut;function ut(b){var E=this;if(E instanceof ut||(E=new ut),E.tail=null,E.head=null,E.length=0,b&&typeof b.forEach=="function")b.forEach(function(Z){E.push(Z)});else if(arguments.length>0)for(var I=0,G=arguments.length;I<G;I++)E.push(arguments[I]);return E}function Hf(b,E,I){var G=E===b.head?new En(I,null,E,b):new En(I,E,E.next,b);return G.next===null&&(b.tail=G),G.prev===null&&(b.head=G),b.length++,G}function Jf(b,E){b.tail=new En(E,b.tail,null,b),b.head||(b.head=b.tail),b.length++}function zf(b,E){b.head=new En(E,null,b.head,b),b.tail||(b.tail=b.head),b.length++}function En(b,E,I,G){if(!(this instanceof En))return new En(b,E,I,G);this.list=G,this.value=b,E?(E.next=this,this.prev=E):this.prev=null,I?(I.prev=this,this.next=I):this.next=null}ut.Node=En,ut.create=ut,ut.prototype.removeNode=function(b){if(b.list!==this)throw new Error("removing node which does not belong to this list");var E=b.next,I=b.prev;return E&&(E.prev=I),I&&(I.next=E),b===this.head&&(this.head=E),b===this.tail&&(this.tail=I),b.list.length--,b.next=null,b.prev=null,b.list=null,E},ut.prototype.unshiftNode=function(b){if(b!==this.head){b.list&&b.list.removeNode(b);var E=this.head;b.list=this,b.next=E,E&&(E.prev=b),this.head=b,this.tail||(this.tail=b),this.length++}},ut.prototype.pushNode=function(b){if(b!==this.tail){b.list&&b.list.removeNode(b);var E=this.tail;b.list=this,b.prev=E,E&&(E.next=b),this.tail=b,this.head||(this.head=b),this.length++}},ut.prototype.push=function(){for(var b=0,E=arguments.length;b<E;b++)Jf(this,arguments[b]);return this.length},ut.prototype.unshift=function(){for(var b=0,E=arguments.length;b<E;b++)zf(this,arguments[b]);return this.length},ut.prototype.pop=function(){if(this.tail){var b=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,b}},ut.prototype.shift=function(){if(this.head){var b=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,b}},ut.prototype.forEach=function(b,E){E=E||this;for(var I=this.head,G=0;I!==null;G++)b.call(E,I.value,G,this),I=I.next},ut.prototype.forEachReverse=function(b,E){E=E||this;for(var I=this.tail,G=this.length-1;I!==null;G--)b.call(E,I.value,G,this),I=I.prev},ut.prototype.get=function(b){for(var E=0,I=this.head;I!==null&&E<b;E++)I=I.next;if(E===b&&I!==null)return I.value},ut.prototype.getReverse=function(b){for(var E=0,I=this.tail;I!==null&&E<b;E++)I=I.prev;if(E===b&&I!==null)return I.value},ut.prototype.map=function(b,E){E=E||this;for(var I=new ut,G=this.head;G!==null;)I.push(b.call(E,G.value,this)),G=G.next;return I},ut.prototype.mapReverse=function(b,E){E=E||this;for(var I=new ut,G=this.tail;G!==null;)I.push(b.call(E,G.value,this)),G=G.prev;return I},ut.prototype.reduce=function(b,E){var I,G=this.head;if(arguments.length>1)I=E;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");G=this.head.next,I=this.head.value}for(var Z=0;G!==null;Z++)I=b(I,G.value,Z),G=G.next;return I},ut.prototype.reduceReverse=function(b,E){var I,G=this.tail;if(arguments.length>1)I=E;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");G=this.tail.prev,I=this.tail.value}for(var Z=this.length-1;G!==null;Z--)I=b(I,G.value,Z),G=G.prev;return I},ut.prototype.toArray=function(){for(var b=new Array(this.length),E=0,I=this.head;I!==null;E++)b[E]=I.value,I=I.next;return b},ut.prototype.toArrayReverse=function(){for(var b=new Array(this.length),E=0,I=this.tail;I!==null;E++)b[E]=I.value,I=I.prev;return b},ut.prototype.slice=function(b,E){(E=E||this.length)<0&&(E+=this.length),(b=b||0)<0&&(b+=this.length);var I=new ut;if(E<b||E<0)return I;b<0&&(b=0),E>this.length&&(E=this.length);for(var G=0,Z=this.head;Z!==null&&G<b;G++)Z=Z.next;for(;Z!==null&&G<E;G++,Z=Z.next)I.push(Z.value);return I},ut.prototype.sliceReverse=function(b,E){(E=E||this.length)<0&&(E+=this.length),(b=b||0)<0&&(b+=this.length);var I=new ut;if(E<b||E<0)return I;b<0&&(b=0),E>this.length&&(E=this.length);for(var G=this.length,Z=this.tail;Z!==null&&G>E;G--)Z=Z.prev;for(;Z!==null&&G>b;G--,Z=Z.prev)I.push(Z.value);return I},ut.prototype.splice=function(b,E,...I){b>this.length&&(b=this.length-1),b<0&&(b=this.length+b);for(var G=0,Z=this.head;Z!==null&&G<b;G++)Z=Z.next;var te=[];for(G=0;Z&&G<E;G++)te.push(Z.value),Z=this.removeNode(Z);for(Z===null&&(Z=this.tail),Z!==this.head&&Z!==this.tail&&(Z=Z.prev),G=0;G<I.length;G++)Z=Hf(this,Z,I[G]);return te},ut.prototype.reverse=function(){for(var b=this.head,E=this.tail,I=b;I!==null;I=I.prev){var G=I.prev;I.prev=I.next,I.next=G}return this.head=E,this.tail=b,this};try{_chunkCDIW2WTIjs.a.call(void 0, "./iterator.js")(ut)}catch (e28){}let qf=Yf,vn=Symbol("max"),Gr=Symbol("length"),Un=Symbol("lengthCalculator"),ai=Symbol("allowStale"),Tn=Symbol("maxAge"),Wr=Symbol("dispose"),Go=Symbol("noDisposeOnSet"),Ft=Symbol("lruList"),Pr=Symbol("cache"),Wo=Symbol("updateAgeOnGet"),sa=()=>1,aa=(b,E,I)=>{let G=b[Pr].get(E);if(G){let Z=G.value;if(Zi(b,Z)){if(Vn(b,G),!b[ai])return}else I&&(b[Wo]&&(G.value.now=Date.now()),b[Ft].unshiftNode(G));return Z.value}},Zi=(b,E)=>{if(!E||!E.maxAge&&!b[Tn])return!1;let I=Date.now()-E.now;return E.maxAge?I>E.maxAge:b[Tn]&&I>b[Tn]},oi=b=>{if(b[Gr]>b[vn])for(let E=b[Ft].tail;b[Gr]>b[vn]&&E!==null;){let I=E.prev;Vn(b,E),E=I}},Vn=(b,E)=>{if(E){let I=E.value;b[Wr]&&b[Wr](I.key,I.value),b[Gr]-=I.length,b[Pr].delete(I.key),b[Ft].removeNode(E)}};class Qf{constructor(E,I,G,Z,te){this.key=E,this.value=I,this.length=G,this.now=Z,this.maxAge=te||0}}let Ko=(b,E,I,G)=>{let Z=I.value;Zi(b,Z)&&(Vn(b,I),b[ai]||(Z=void 0)),Z&&E.call(G,Z.value,Z.key,b)};var Zf=class{constructor(b){if(typeof b=="number"&&(b={max:b}),b||(b={}),b.max&&(typeof b.max!="number"||b.max<0))throw new TypeError("max must be a non-negative number");this[vn]=b.max||1/0;let E=b.length||sa;if(this[Un]=typeof E!="function"?sa:E,this[ai]=b.stale||!1,b.maxAge&&typeof b.maxAge!="number")throw new TypeError("maxAge must be a number");this[Tn]=b.maxAge||0,this[Wr]=b.dispose,this[Go]=b.noDisposeOnSet||!1,this[Wo]=b.updateAgeOnGet||!1,this.reset()}set max(b){if(typeof b!="number"||b<0)throw new TypeError("max must be a non-negative number");this[vn]=b||1/0,oi(this)}get max(){return this[vn]}set allowStale(b){this[ai]=!!b}get allowStale(){return this[ai]}set maxAge(b){if(typeof b!="number")throw new TypeError("maxAge must be a non-negative number");this[Tn]=b,oi(this)}get maxAge(){return this[Tn]}set lengthCalculator(b){typeof b!="function"&&(b=sa),b!==this[Un]&&(this[Un]=b,this[Gr]=0,this[Ft].forEach(E=>{E.length=this[Un](E.value,E.key),this[Gr]+=E.length})),oi(this)}get lengthCalculator(){return this[Un]}get length(){return this[Gr]}get itemCount(){return this[Ft].length}rforEach(b,E){E=E||this;for(let I=this[Ft].tail;I!==null;){let G=I.prev;Ko(this,b,I,E),I=G}}forEach(b,E){E=E||this;for(let I=this[Ft].head;I!==null;){let G=I.next;Ko(this,b,I,E),I=G}}keys(){return this[Ft].toArray().map(b=>b.key)}values(){return this[Ft].toArray().map(b=>b.value)}reset(){this[Wr]&&this[Ft]&&this[Ft].length&&this[Ft].forEach(b=>this[Wr](b.key,b.value)),this[Pr]=new Map,this[Ft]=new qf,this[Gr]=0}dump(){return this[Ft].map(b=>!Zi(this,b)&&{k:b.key,v:b.value,e:b.now+(b.maxAge||0)}).toArray().filter(b=>b)}dumpLru(){return this[Ft]}set(b,E,I){if((I=I||this[Tn])&&typeof I!="number")throw new TypeError("maxAge must be a number");let G=I?Date.now():0,Z=this[Un](E,b);if(this[Pr].has(b)){if(Z>this[vn])return Vn(this,this[Pr].get(b)),!1;let ie=this[Pr].get(b).value;return this[Wr]&&(this[Go]||this[Wr](b,ie.value)),ie.now=G,ie.maxAge=I,ie.value=E,this[Gr]+=Z-ie.length,ie.length=Z,this.get(b),oi(this),!0}let te=new Qf(b,E,Z,G,I);return te.length>this[vn]?(this[Wr]&&this[Wr](b,E),!1):(this[Gr]+=te.length,this[Ft].unshift(te),this[Pr].set(b,this[Ft].head),oi(this),!0)}has(b){if(!this[Pr].has(b))return!1;let E=this[Pr].get(b).value;return!Zi(this,E)}get(b){return aa(this,b,!0)}peek(b){return aa(this,b,!1)}pop(){let b=this[Ft].tail;return b?(Vn(this,b),b.value):null}del(b){Vn(this,this[Pr].get(b))}load(b){this.reset();let E=Date.now();for(let I=b.length-1;I>=0;I--){let G=b[I],Z=G.e||0;if(Z===0)this.set(G.k,G.v);else{let te=Z-E;te>0&&this.set(G.k,G.v,te)}}}prune(){this[Pr].forEach((b,E)=>aa(this,E,!1))}};class li{constructor(E,I){if(I=eh(I),E instanceof li)return E.loose===!!I.loose&&E.includePrerelease===!!I.includePrerelease?E:new li(E.raw,I);if(E instanceof oa)return this.raw=E.value,this.set=[[E]],this.format(),this;if(this.options=I,this.loose=!!I.loose,this.includePrerelease=!!I.includePrerelease,this.raw=E,this.set=E.split(/\s*\|\|\s*/).map(G=>this.parseRange(G.trim())).filter(G=>G.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${E}`);if(this.set.length>1){let G=this.set[0];if(this.set=this.set.filter(Z=>!Yo(Z[0])),this.set.length===0)this.set=[G];else if(this.set.length>1){for(let Z of this.set)if(Z.length===1&&sh(Z[0])){this.set=[Z];break}}}this.format()}format(){return this.range=this.set.map(E=>E.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(E){E=E.trim();let I=`parseRange:${Object.keys(this.options).join(",")}:${E}`,G=Xo.get(I);if(G)return G;let Z=this.options.loose,te=Z?Wt[Ut.HYPHENRANGELOOSE]:Wt[Ut.HYPHENRANGE];E=E.replace(te,mh(this.options.includePrerelease)),Nt("hyphen replace",E),E=E.replace(Wt[Ut.COMPARATORTRIM],rh),Nt("comparator trim",E,Wt[Ut.COMPARATORTRIM]),E=(E=(E=E.replace(Wt[Ut.TILDETRIM],nh)).replace(Wt[Ut.CARETTRIM],ih)).split(/\s+/).join(" ");let ie=Z?Wt[Ut.COMPARATORLOOSE]:Wt[Ut.COMPARATOR],Se=E.split(" ").map(je=>ah(je,this.options)).join(" ").split(/\s+/).map(je=>hh(je,this.options)).filter(this.options.loose?je=>!!je.match(ie):()=>!0).map(je=>new oa(je,this.options));Se.length;let ge=new Map;for(let je of Se){if(Yo(je))return[je];ge.set(je.value,je)}ge.size>1&&ge.has("")&&ge.delete("");let Le=[...ge.values()];return Xo.set(I,Le),Le}intersects(E,I){if(!(E instanceof li))throw new TypeError("a Range is required");return this.set.some(G=>Ho(G,I)&&E.set.some(Z=>Ho(Z,I)&&G.every(te=>Z.every(ie=>te.intersects(ie,I)))))}test(E){if(!E)return!1;if(typeof E=="string")try{E=new th(E,this.options)}catch (e29){return!1}for(let I=0;I<this.set.length;I++)if(yh(this.set[I],E,this.options))return!0;return!1}}var Ar=li;let Xo=new Zf({max:1e3}),eh=Yi,oa=ts,Nt=Xi,th=qt,{re:Wt,t:Ut,comparatorTrimReplace:rh,tildeTrimReplace:nh,caretTrimReplace:ih}=en.exports,Yo=b=>b.value==="<0.0.0-0",sh=b=>b.value==="",Ho=(b,E)=>{let I=!0,G=b.slice(),Z=G.pop();for(;I&&G.length;)I=G.every(te=>Z.intersects(te,E)),Z=G.pop();return I},ah=(b,E)=>(Nt("comp",b,E),b=uh(b,E),Nt("caret",b),b=oh(b,E),Nt("tildes",b),b=dh(b,E),Nt("xrange",b),b=fh(b,E),Nt("stars",b),b),Qt=b=>!b||b.toLowerCase()==="x"||b==="*",oh=(b,E)=>b.trim().split(/\s+/).map(I=>lh(I,E)).join(" "),lh=(b,E)=>{let I=E.loose?Wt[Ut.TILDELOOSE]:Wt[Ut.TILDE];return b.replace(I,(G,Z,te,ie,Se)=>{let ge;return Nt("tilde",b,G,Z,te,ie,Se),Qt(Z)?ge="":Qt(te)?ge=`>=${Z}.0.0 <${+Z+1}.0.0-0`:Qt(ie)?ge=`>=${Z}.${te}.0 <${Z}.${+te+1}.0-0`:Se?(Nt("replaceTilde pr",Se),ge=`>=${Z}.${te}.${ie}-${Se} <${Z}.${+te+1}.0-0`):ge=`>=${Z}.${te}.${ie} <${Z}.${+te+1}.0-0`,Nt("tilde return",ge),ge})},uh=(b,E)=>b.trim().split(/\s+/).map(I=>ch(I,E)).join(" "),ch=(b,E)=>{Nt("caret",b,E);let I=E.loose?Wt[Ut.CARETLOOSE]:Wt[Ut.CARET],G=E.includePrerelease?"-0":"";return b.replace(I,(Z,te,ie,Se,ge)=>{let Le;return Nt("caret",b,Z,te,ie,Se,ge),Qt(te)?Le="":Qt(ie)?Le=`>=${te}.0.0${G} <${+te+1}.0.0-0`:Qt(Se)?Le=te==="0"?`>=${te}.${ie}.0${G} <${te}.${+ie+1}.0-0`:`>=${te}.${ie}.0${G} <${+te+1}.0.0-0`:ge?(Nt("replaceCaret pr",ge),Le=te==="0"?ie==="0"?`>=${te}.${ie}.${Se}-${ge} <${te}.${ie}.${+Se+1}-0`:`>=${te}.${ie}.${Se}-${ge} <${te}.${+ie+1}.0-0`:`>=${te}.${ie}.${Se}-${ge} <${+te+1}.0.0-0`):(Nt("no pr"),Le=te==="0"?ie==="0"?`>=${te}.${ie}.${Se}${G} <${te}.${ie}.${+Se+1}-0`:`>=${te}.${ie}.${Se}${G} <${te}.${+ie+1}.0-0`:`>=${te}.${ie}.${Se} <${+te+1}.0.0-0`),Nt("caret return",Le),Le})},dh=(b,E)=>(Nt("replaceXRanges",b,E),b.split(/\s+/).map(I=>ph(I,E)).join(" ")),ph=(b,E)=>{b=b.trim();let I=E.loose?Wt[Ut.XRANGELOOSE]:Wt[Ut.XRANGE];return b.replace(I,(G,Z,te,ie,Se,ge)=>{Nt("xRange",b,G,Z,te,ie,Se,ge);let Le=Qt(te),je=Le||Qt(ie),Me=je||Qt(Se),Fe=Me;return Z==="="&&Fe&&(Z=""),ge=E.includePrerelease?"-0":"",Le?G=Z===">"||Z==="<"?"<0.0.0-0":"*":Z&&Fe?(je&&(ie=0),Se=0,Z===">"?(Z=">=",je?(te=+te+1,ie=0,Se=0):(ie=+ie+1,Se=0)):Z==="<="&&(Z="<",je?te=+te+1:ie=+ie+1),Z==="<"&&(ge="-0"),G=`${Z+te}.${ie}.${Se}${ge}`):je?G=`>=${te}.0.0${ge} <${+te+1}.0.0-0`:Me&&(G=`>=${te}.${ie}.0${ge} <${te}.${+ie+1}.0-0`),Nt("xRange return",G),G})},fh=(b,E)=>(Nt("replaceStars",b,E),b.trim().replace(Wt[Ut.STAR],"")),hh=(b,E)=>(Nt("replaceGTE0",b,E),b.trim().replace(Wt[E.includePrerelease?Ut.GTE0PRE:Ut.GTE0],"")),mh=b=>(E,I,G,Z,te,ie,Se,ge,Le,je,Me,Fe,_e)=>`${I=Qt(G)?"":Qt(Z)?`>=${G}.0.0${b?"-0":""}`:Qt(te)?`>=${G}.${Z}.0${b?"-0":""}`:ie?`>=${I}`:`>=${I}${b?"-0":""}`} ${ge=Qt(Le)?"":Qt(je)?`<${+Le+1}.0.0-0`:Qt(Me)?`<${Le}.${+je+1}.0-0`:Fe?`<=${Le}.${je}.${Me}-${Fe}`:b?`<${Le}.${je}.${+Me+1}-0`:`<=${ge}`}`.trim(),yh=(b,E,I)=>{for(let G=0;G<b.length;G++)if(!b[G].test(E))return!1;if(E.prerelease.length&&!I.includePrerelease){for(let G=0;G<b.length;G++)if(Nt(b[G].semver),b[G].semver!==oa.ANY&&b[G].semver.prerelease.length>0){let Z=b[G].semver;if(Z.major===E.major&&Z.minor===E.minor&&Z.patch===E.patch)return!0}return!1}return!0},ui=Symbol("SemVer ANY");class es{static get ANY(){return ui}constructor(E,I){if(I=gh(I),E instanceof es){if(E.loose===!!I.loose)return E;E=E.value}ua("comparator",E,I),this.options=I,this.loose=!!I.loose,this.parse(E),this.semver===ui?this.value="":this.value=this.operator+this.semver.version,ua("comp",this)}parse(E){let I=this.options.loose?Jo[zo.COMPARATORLOOSE]:Jo[zo.COMPARATOR],G=E.match(I);if(!G)throw new TypeError(`Invalid comparator: ${E}`);this.operator=G[1]!==void 0?G[1]:"",this.operator==="="&&(this.operator=""),G[2]?this.semver=new qo(G[2],this.options.loose):this.semver=ui}toString(){return this.value}test(E){if(ua("Comparator.test",E,this.options.loose),this.semver===ui||E===ui)return!0;if(typeof E=="string")try{E=new qo(E,this.options)}catch (e30){return!1}return la(E,this.operator,this.semver,this.options)}intersects(E,I){if(!(E instanceof es))throw new TypeError("a Comparator is required");if(I&&typeof I=="object"||(I={loose:!!I,includePrerelease:!1}),this.operator==="")return this.value===""||new Qo(E.value,I).test(this.value);if(E.operator==="")return E.value===""||new Qo(this.value,I).test(E.semver);let G=!(this.operator!==">="&&this.operator!==">"||E.operator!==">="&&E.operator!==">"),Z=!(this.operator!=="<="&&this.operator!=="<"||E.operator!=="<="&&E.operator!=="<"),te=this.semver.version===E.semver.version,ie=!(this.operator!==">="&&this.operator!=="<="||E.operator!==">="&&E.operator!=="<="),Se=la(this.semver,"<",E.semver,I)&&(this.operator===">="||this.operator===">")&&(E.operator==="<="||E.operator==="<"),ge=la(this.semver,">",E.semver,I)&&(this.operator==="<="||this.operator==="<")&&(E.operator===">="||E.operator===">");return G||Z||te&&ie||Se||ge}}var ts=es;let gh=Yi,{re:Jo,t:zo}=en.exports,la=Vo,ua=Xi,qo=qt,Qo=Ar,bh=Ar;var rs=(b,E,I)=>{try{E=new bh(E,I)}catch (e31){return!1}return E.test(b)};let Eh=Ar;var vh=(b,E)=>new Eh(b,E).set.map(I=>I.map(G=>G.value).join(" ").trim().split(" "));let Th=qt,Sh=Ar;var Ph=(b,E,I)=>{let G=null,Z=null,te=null;try{te=new Sh(E,I)}catch (e32){return null}return b.forEach(ie=>{te.test(ie)&&(G&&Z.compare(ie)!==-1||(G=ie,Z=new Th(G,I)))}),G};let Ah=qt,Ch=Ar;var wh=(b,E,I)=>{let G=null,Z=null,te=null;try{te=new Ch(E,I)}catch (e33){return null}return b.forEach(ie=>{te.test(ie)&&(G&&Z.compare(ie)!==1||(G=ie,Z=new Ah(G,I)))}),G};let ca=qt,Dh=Ar,Zo=zi;var Oh=(b,E)=>{b=new Dh(b,E);let I=new ca("0.0.0");if(b.test(I)||(I=new ca("0.0.0-0"),b.test(I)))return I;I=null;for(let G=0;G<b.set.length;++G){let Z=b.set[G],te=null;Z.forEach(ie=>{let Se=new ca(ie.semver.version);switch(ie.operator){case">":Se.prerelease.length===0?Se.patch++:Se.prerelease.push(0),Se.raw=Se.format();case"":case">=":te&&!Zo(Se,te)||(te=Se);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${ie.operator}`)}}),!te||I&&!Zo(I,te)||(I=te)}return I&&b.test(I)?I:null};let _h=Ar;var Ih=(b,E)=>{try{return new _h(b,E).range||"*"}catch (e34){return null}};let Nh=qt,el=ts,{ANY:xh}=el,jh=Ar,Rh=rs,tl=zi,rl=ra,Lh=ia,Fh=na;var da=(b,E,I,G)=>{let Z,te,ie,Se,ge;switch(b=new Nh(b,G),E=new jh(E,G),I){case">":Z=tl,te=Lh,ie=rl,Se=">",ge=">=";break;case"<":Z=rl,te=Fh,ie=tl,Se="<",ge="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Rh(b,E,G))return!1;for(let Le=0;Le<E.set.length;++Le){let je=E.set[Le],Me=null,Fe=null;if(je.forEach(_e=>{_e.semver===xh&&(_e=new el(">=0.0.0")),Me=Me||_e,Fe=Fe||_e,Z(_e.semver,Me.semver,G)?Me=_e:ie(_e.semver,Fe.semver,G)&&(Fe=_e)}),Me.operator===Se||Me.operator===ge||(!Fe.operator||Fe.operator===Se)&&te(b,Fe.semver)||Fe.operator===ge&&ie(b,Fe.semver))return!1}return!0};let kh=da;var Mh=(b,E,I)=>kh(b,E,">",I);let Bh=da;var $h=(b,E,I)=>Bh(b,E,"<",I);let nl=Ar;var Uh=(b,E,I)=>(b=new nl(b,I),E=new nl(E,I),b.intersects(E));let Vh=rs,Gh=Sr,il=Ar,ns=ts,{ANY:pa}=ns,ci=rs,fa=Sr,Wh=(b,E,I)=>{if(b===E)return!0;if(b.length===1&&b[0].semver===pa){if(E.length===1&&E[0].semver===pa)return!0;b=I.includePrerelease?[new ns(">=0.0.0-0")]:[new ns(">=0.0.0")]}if(E.length===1&&E[0].semver===pa){if(I.includePrerelease)return!0;E=[new ns(">=0.0.0")]}let G=new Set,Z,te,ie,Se,ge,Le,je;for(let _e of b)_e.operator===">"||_e.operator===">="?Z=sl(Z,_e,I):_e.operator==="<"||_e.operator==="<="?te=al(te,_e,I):G.add(_e.semver);if(G.size>1||Z&&te&&(ie=fa(Z.semver,te.semver,I),ie>0||ie===0&&(Z.operator!==">="||te.operator!=="<=")))return null;for(let _e of G){if(Z&&!ci(_e,String(Z),I)||te&&!ci(_e,String(te),I))return null;for(let rt of E)if(!ci(_e,String(rt),I))return!1;return!0}let Me=!(!te||I.includePrerelease||!te.semver.prerelease.length)&&te.semver,Fe=!(!Z||I.includePrerelease||!Z.semver.prerelease.length)&&Z.semver;Me&&Me.prerelease.length===1&&te.operator==="<"&&Me.prerelease[0]===0&&(Me=!1);for(let _e of E){if(je=je||_e.operator===">"||_e.operator===">=",Le=Le||_e.operator==="<"||_e.operator==="<=",Z){if(Fe&&_e.semver.prerelease&&_e.semver.prerelease.length&&_e.semver.major===Fe.major&&_e.semver.minor===Fe.minor&&_e.semver.patch===Fe.patch&&(Fe=!1),_e.operator===">"||_e.operator===">="){if(Se=sl(Z,_e,I),Se===_e&&Se!==Z)return!1}else if(Z.operator===">="&&!ci(Z.semver,String(_e),I))return!1}if(te){if(Me&&_e.semver.prerelease&&_e.semver.prerelease.length&&_e.semver.major===Me.major&&_e.semver.minor===Me.minor&&_e.semver.patch===Me.patch&&(Me=!1),_e.operator==="<"||_e.operator==="<="){if(ge=al(te,_e,I),ge===_e&&ge!==te)return!1}else if(te.operator==="<="&&!ci(te.semver,String(_e),I))return!1}if(!_e.operator&&(te||Z)&&ie!==0)return!1}return!(Z&&Le&&!te&&ie!==0)&&!(te&&je&&!Z&&ie!==0)&&!Fe&&!Me},sl=(b,E,I)=>{if(!b)return E;let G=fa(b.semver,E.semver,I);return G>0?b:G<0||E.operator===">"&&b.operator===">="?E:b},al=(b,E,I)=>{if(!b)return E;let G=fa(b.semver,E.semver,I);return G<0?b:G>0||E.operator==="<"&&b.operator==="<="?E:b};var Kh=(b,E,I={})=>{if(b===E)return!0;b=new il(b,I),E=new il(E,I);let G=!1;e:for(let Z of b.set){for(let te of E.set){let ie=Wh(Z,te,I);if(G=G||ie!==null,ie)continue e}if(G)return!1}return!0};let ha=en.exports;var Xh={re:ha.re,src:ha.src,tokens:ha.t,SEMVER_SPEC_VERSION:Ki.SEMVER_SPEC_VERSION,SemVer:qt,compareIdentifiers:Zs.compareIdentifiers,rcompareIdentifiers:Zs.rcompareIdentifiers,parse:$n,valid:uf,clean:df,inc:ff,diff:yf,major:bf,minor:vf,patch:Sf,prerelease:Af,compare:Sr,rcompare:wf,compareLoose:Of,compareBuild:ta,sort:If,rsort:xf,gt:zi,lt:ra,eq:ea,neq:Uo,gte:na,lte:ia,cmp:Vo,coerce:Xf,Comparator:ts,Range:Ar,satisfies:rs,toComparators:vh,maxSatisfying:Ph,minSatisfying:wh,minVersion:Oh,validRange:Ih,outside:da,gtr:Mh,ltr:$h,intersects:Uh,simplifyRange:(b,E,I)=>{let G=[],Z=null,te=null,ie=b.sort((je,Me)=>Gh(je,Me,I));for(let je of ie)Vh(je,E,I)?(te=je,Z||(Z=je)):(te&&G.push([Z,te]),te=null,Z=null);Z&&G.push([Z,null]);let Se=[];for(let[je,Me]of G)je===Me?Se.push(je):Me||je!==ie[0]?Me?je===ie[0]?Se.push(`<=${Me}`):Se.push(`${je} - ${Me}`):Se.push(`>=${je}`):Se.push("*");let ge=Se.join(" || "),Le=typeof E.raw=="string"?E.raw:String(E);return ge.length<Le.length?ge:E},subset:Kh},Cr=Xh;let Yh=process.platform==="win32",Hh={}.hasOwnProperty,mr={},ol=new Map,ll;function Lr(b,E,I){return ol.set(b,E),function(G,Z){return te;function te(...ie){let Se=Error.stackTraceLimit;ma()&&(Error.stackTraceLimit=0);let ge=new G;ma()&&(Error.stackTraceLimit=Se);let Le=function(je,Me,Fe){let _e=ol.get(je);if(typeof _e=="function")return v(_e.length<=Me.length,`Code: ${je}; The provided arguments length (${Me.length}) does not match the required ones (${_e.length}).`),Reflect.apply(_e,Fe,Me);let rt=(_e.match(/%[dfijoOs]/g)||[]).length;return v(rt===Me.length,`Code: ${je}; The provided arguments length (${Me.length}) does not match the required ones (${rt}).`),Me.length===0?_e:(Me.unshift(_e),Reflect.apply(k.format,null,Me))}(Z,ie,ge);return Object.defineProperty(ge,"message",{value:Le,enumerable:!1,writable:!0,configurable:!0}),Object.defineProperty(ge,"toString",{value(){return`${this.name} [${Z}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}),Jh(ge,G.name,Z),ge.code=Z,ge}}(I,b)}mr.ERR_INVALID_MODULE_SPECIFIER=Lr("ERR_INVALID_MODULE_SPECIFIER",(b,E,I)=>`Invalid module "${b}" ${E}${I?` imported from ${I}`:""}`,TypeError),mr.ERR_INVALID_PACKAGE_CONFIG=Lr("ERR_INVALID_PACKAGE_CONFIG",(b,E,I)=>`Invalid package config ${b}${E?` while importing ${E}`:""}${I?`. ${I}`:""}`,Error),mr.ERR_INVALID_PACKAGE_TARGET=Lr("ERR_INVALID_PACKAGE_TARGET",(b,E,I,G=!1,Z)=>{let te=typeof I=="string"&&!G&&I.length>0&&!I.startsWith("./");return E==="."?(v(G===!1),`Invalid "exports" main target ${JSON.stringify(I)} defined in the package config ${b}package.json${Z?` imported from ${Z}`:""}${te?'; targets must start with "./"':""}`):`Invalid "${G?"imports":"exports"}" target ${JSON.stringify(I)} defined for '${E}' in the package config ${b}package.json${Z?` imported from ${Z}`:""}${te?'; targets must start with "./"':""}`},Error),mr.ERR_MODULE_NOT_FOUND=Lr("ERR_MODULE_NOT_FOUND",(b,E,I="package")=>`Cannot find ${I} '${b}' imported from ${E}`,Error),mr.ERR_PACKAGE_IMPORT_NOT_DEFINED=Lr("ERR_PACKAGE_IMPORT_NOT_DEFINED",(b,E,I)=>`Package import specifier "${b}" is not defined${E?` in package ${E}package.json`:""} imported from ${I}`,TypeError),mr.ERR_PACKAGE_PATH_NOT_EXPORTED=Lr("ERR_PACKAGE_PATH_NOT_EXPORTED",(b,E,I)=>E==="."?`No "exports" main defined in ${b}package.json${I?` imported from ${I}`:""}`:`Package subpath '${E}' is not defined by "exports" in ${b}package.json${I?` imported from ${I}`:""}`,Error),mr.ERR_UNSUPPORTED_DIR_IMPORT=Lr("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),mr.ERR_UNKNOWN_FILE_EXTENSION=Lr("ERR_UNKNOWN_FILE_EXTENSION",'Unknown file extension "%s" for %s',TypeError),mr.ERR_INVALID_ARG_VALUE=Lr("ERR_INVALID_ARG_VALUE",(b,E,I="is invalid")=>{let G=(0,k.inspect)(E);return G.length>128&&(G=`${G.slice(0,128)}...`),`The ${b.includes(".")?"property":"argument"} '${b}' ${I}. Received ${G}`},TypeError),mr.ERR_UNSUPPORTED_ESM_URL_SCHEME=Lr("ERR_UNSUPPORTED_ESM_URL_SCHEME",b=>{let E="Only file and data URLs are supported by the default ESM loader";return Yh&&b.protocol.length===2&&(E+=". On Windows, absolute paths must be valid file:// URLs"),E+=`. Received protocol '${b.protocol}'`,E},Error);let Jh=ul(function(b,E,I){(b=zh(b)).name=`${E} [${I}]`,b.stack,E==="SystemError"?Object.defineProperty(b,"name",{value:E,enumerable:!1,writable:!0,configurable:!0}):delete b.name});function ma(){let b=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return b===void 0?Object.isExtensible(Error):Hh.call(b,"writable")?b.writable:b.set!==void 0}function ul(b){let E="__node_internal_"+b.name;return Object.defineProperty(b,"name",{value:E}),b}let zh=ul(function(b){let E=ma();return E&&(ll=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(b),E&&(Error.stackTraceLimit=ll),b}),{ERR_UNKNOWN_FILE_EXTENSION:SE}=mr;(function({version:b=process.version,experimental:E=!1}={}){var I=["assert","buffer","child_process","cluster","console","constants","crypto","dgram","dns","domain","events","fs","http","https","module","net","os","path","punycode","querystring","readline","repl","stream","string_decoder","sys","timers","tls","tty","url","util","vm","zlib"];Cr.lt(b,"6.0.0")&&I.push("freelist"),Cr.gte(b,"1.0.0")&&I.push("v8"),Cr.gte(b,"1.1.0")&&I.push("process"),Cr.gte(b,"8.0.0")&&I.push("inspector"),Cr.gte(b,"8.1.0")&&I.push("async_hooks"),Cr.gte(b,"8.4.0")&&I.push("http2"),Cr.gte(b,"8.5.0")&&I.push("perf_hooks"),Cr.gte(b,"10.0.0")&&I.push("trace_events"),Cr.gte(b,"10.5.0")&&(E||Cr.gte(b,"12.0.0"))&&I.push("worker_threads"),Cr.gte(b,"12.16.0")&&E&&I.push("wasi")})();let{ERR_INVALID_MODULE_SPECIFIER:PE,ERR_INVALID_PACKAGE_CONFIG:AE,ERR_INVALID_PACKAGE_TARGET:CE,ERR_MODULE_NOT_FOUND:wE,ERR_PACKAGE_IMPORT_NOT_DEFINED:DE,ERR_PACKAGE_PATH_NOT_EXPORTED:OE,ERR_UNSUPPORTED_DIR_IMPORT:_E,ERR_UNSUPPORTED_ESM_URL_SCHEME:IE,ERR_INVALID_ARG_VALUE:NE}=mr;Object.freeze(["node","import"]),(0,i.pathToFileURL)(process.cwd());let qh=/([\s;]|^)(import[\w,{}\s*]*from|import\s*['"*{]|export\b\s*(?:[*{]|default|type|function|const|var|let|async function)|import\.meta\b)/m;function Qh(b){return qh.test(b)}var Zh=j("crypto");function cl(b,E=8){return(0,Zh.createHash)("md5").update(b).digest("hex").slice(0,E)}let em=o(process.env.JITI_DEBUG),dl=o(process.env.JITI_CACHE),tm=o(process.env.JITI_ESM_RESOLVE),pl=o(process.env.JITI_REQUIRE_CACHE),fl=o(process.env.JITI_SOURCE_MAPS),rm=(0,n.platform)()==="win32",nm={debug:em,cache:dl===void 0||!!dl,requireCache:pl===void 0||!!pl,sourceMaps:fl!==void 0&&!!fl,interopDefault:!1,esmResolve:tm||!1,cacheVersion:"6",legacy:(0,m.lt)(process.version||"0.0.0","14.0.0"),extensions:[".js",".mjs",".cjs",".ts"]};function hl(b,E={},I){function G(...Fe){E.debug&&console.log("[jiti]",...Fe)}if((E=Object.assign(Object.assign({},nm),E)).legacy&&(E.cacheVersion+="-legacy"),E.transformOptions&&(E.cacheVersion+="-"+C()(E.transformOptions)),b||(b=process.cwd()),function(Fe){try{return(0,A.lstatSync)(Fe).isDirectory()}catch (e35){return!1}}(b)&&(b=(0,c.join)(b,"index.js")),E.cache===!0&&(E.cache=(0,c.join)((0,n.tmpdir)(),"node-jiti")),E.cache)try{if((0,a.sync)(E.cache),!function(Fe){try{return(0,A.accessSync)(Fe,A.constants.W_OK),!0}catch (e36){return!1}}(E.cache))throw new Error("directory is not writable")}catch(Fe){G("Error creating cache directory at ",E.cache,Fe),E.cache=!1}let Z=d()(rm?b.replace(/\//g,"\\"):b),te=(Fe,_e)=>{try{return Z.resolve(Fe,_e)}catch (e37){}},ie=(0,i.pathToFileURL)(b),Se=[...E.extensions].filter(Fe=>Fe!==".js"),ge=(Fe,_e)=>{let rt,ct;if(E.esmResolve){try{rt=rf(Fe,{url:ie,conditions:["node","require","import"]})}catch(dt){ct=dt}if(rt)return rt}if(E.extensions.includes((0,c.extname)(Fe)))return Z.resolve(Fe,_e);try{return Z.resolve(Fe,_e)}catch(dt){ct=dt}for(let dt of Se)if(rt=te(Fe+dt,_e)||te(Fe+"/index"+dt,_e),rt)return rt;throw ct};function Le(Fe){let _e=function(rt,ct,dt){if(!E.cache||!rt)return dt();let wr=` /* v${E.cacheVersion}-${cl(ct,16)} */`,Ot=(0,c.basename)((0,c.dirname)(rt))+"-"+(0,c.basename)(rt),Sn=(0,c.join)(E.cache,Ot+"."+cl(rt)+".js");if((0,A.existsSync)(Sn)){let is=(0,A.readFileSync)(Sn,"utf-8");if(is.endsWith(wr))return G("[cache hit]",rt,"~>",Sn),is}G("[cache miss]",rt);let Dr=dt();return Dr.includes("__JITI_ERROR__")||(0,A.writeFileSync)(Sn,Dr+wr,"utf-8"),Dr}(Fe.filename,Fe.source,()=>{var rt;let ct=E.transform(Object.assign(Object.assign(Object.assign({legacy:E.legacy},E.transformOptions),{babel:Object.assign(Object.assign({},E.sourceMaps?{sourceFileName:Fe.filename,sourceMaps:"inline"}:{}),(rt=E.transformOptions)===null||rt===void 0?void 0:rt.babel)}),Fe));return ct.error&&E.debug&&G(ct.error),ct.code});return _e.startsWith("#!")&&(_e="// "+_e),_e}function je(Fe){return E.interopDefault?function(_e){if((rt=_e)===null||typeof rt!="object"||!("default"in _e))return _e;var rt;let ct=_e.default;for(let dt in _e)if(dt==="default")try{dt in ct||Object.defineProperty(ct,dt,{enumerable:!1,configurable:!1,get:()=>ct})}catch (e38){}else try{dt in ct||Object.defineProperty(ct,dt,{enumerable:!0,configurable:!0,get:()=>_e[dt]})}catch (e39){}return ct}(Fe):Fe}function Me(Fe){var _e;if(Fe.startsWith("node:")?Fe=Fe.substr(5):Fe.startsWith("file:")&&(Fe=(0,i.fileURLToPath)(Fe)),e.builtinModules.includes(Fe)||Fe===".pnp.js")return Z(Fe);let rt=ge(Fe),ct=(0,c.extname)(rt);if(ct&&!E.extensions.includes(ct))return G("[unknown]",rt),Z(Fe);if(E.requireCache&&Z.cache[rt])return je((_e=Z.cache[rt])===null||_e===void 0?void 0:_e.exports);let dt=(0,A.readFileSync)(rt,"utf-8"),wr=ct===".ts";if(ct!==".cjs"&&(wr||ct===".mjs"||Qh(dt)||E.legacy&&dt.match(/\?\.|\?\?/)||rt.includes("node_modules/config/")))G("[transpile]",rt),dt=Le({filename:rt,source:dt,ts:wr});else try{return G("[native]",rt),je(Z(Fe))}catch(Dr){G("Native require error:",Dr),G("[fallback]",rt),dt=Le({filename:rt,source:dt,ts:wr})}let Ot=new e.Module(rt),Sn;Ot.filename=rt,I&&(Ot.parent=I,Array.isArray(I.children)&&!I.children.includes(Ot)&&I.children.push(Ot)),Ot.require=hl(rt,E,Ot),Ot.path=(0,c.dirname)(rt),Ot.paths=e.Module._nodeModulePaths(Ot.path),E.requireCache&&(Z.cache[rt]=Ot);try{Sn=r().runInThisContext(e.Module.wrap(dt),{filename:rt,lineOffset:0,displayErrors:!1})}catch(Dr){E.requireCache&&delete Z.cache[rt],E.onError(Dr)}try{Sn(Ot.exports,Ot.require,Ot,Ot.filename,(0,c.dirname)(Ot.filename))}catch(Dr){E.requireCache&&delete Z.cache[rt],E.onError(Dr)}if(Ot.exports&&Ot.exports.__JITI_ERROR__){let{filename:Dr,line:is,column:im,code:sm,message:am}=Ot.exports.__JITI_ERROR__,ml=new Error(`${sm}: ${am}
|
|
10
|
+
${`${Dr}:${is}:${im}`}`);Error.captureStackTrace(ml,Me),E.onError(ml)}return Ot.loaded=!0,je(Ot.exports)}return ge.paths=Z.resolve.paths,Me.resolve=ge,Me.cache=E.requireCache?Z.cache:{},Me.extensions=Z.extensions,Me.main=Z.main,Me.transform=Le,Me.register=function(){return(0,S.addHook)((Fe,_e)=>Me.transform({source:Fe,filename:_e,ts:!!_e.match(/.ts$/)}),{exts:E.extensions})},Me}})(),jl.exports=X.default})()});var Fl=_chunkCDIW2WTIjs.b.call(void 0, (Cv,Ll)=>{(()=>{var P={"./node_modules/@babel/core/lib/config/cache-contexts.js":()=>{},"./node_modules/@babel/core/lib/config/caching.js":(A,e,c)=>{"use strict";function n(){let S=c("./node_modules/gensync/index.js");return n=function(){return S},S}Object.defineProperty(e,"__esModule",{value:!0}),e.assertSimpleType=d,e.makeStrongCache=f,e.makeStrongCacheSync=function(S){return i(f(S))},e.makeWeakCache=u,e.makeWeakCacheSync=function(S){return i(u(S))};var t=c("./node_modules/@babel/core/lib/gensync-utils/async.js"),r=c("./node_modules/@babel/core/lib/config/util.js");let i=S=>n()(S).sync;function*a(){return!0}function u(S){return h(WeakMap,S)}function f(S){return h(Map,S)}function h(S,T){let C=new S,v=new S,k=new S;return function*(O,x){let M=yield*(0,t.isAsync)(),$=M?v:C,H=yield*function*(D,_,F,R,W){let J=yield*p(_,R,W);if(J.valid)return J;if(D){let ne=yield*p(F,R,W);if(ne.valid)return{valid:!0,value:yield*(0,t.waitFor)(ne.value.promise)}}return{valid:!1,value:null}}(M,$,k,O,x);if(H.valid)return H.value;let Q=new y(x),K=T(O,Q),Y,L;if((0,r.isIterableIterator)(K)){let D=K;L=yield*(0,t.onFirstPause)(D,()=>{Y=function(_,F,R){let W=new m;return o(F,_,R,W),W}(Q,k,O)})}else L=K;return o($,Q,O,L),Y&&(k.delete(O),Y.release(L)),L}}function*p(S,T,C){let v=S.get(T);if(v){for(let{value:k,valid:O}of v)if(yield*O(C))return{valid:!0,value:k}}return{valid:!1,value:null}}function o(S,T,C,v){T.configured()||T.forever();let k=S.get(C);switch(T.deactivate(),T.mode()){case"forever":k=[{value:v,valid:a}],S.set(C,k);break;case"invalidate":k=[{value:v,valid:T.validator()}],S.set(C,k);break;case"valid":k?k.push({value:v,valid:T.validator()}):(k=[{value:v,valid:T.validator()}],S.set(C,k))}}class y{constructor(T){this._active=!0,this._never=!1,this._forever=!1,this._invalidate=!1,this._configured=!1,this._pairs=[],this._data=void 0,this._data=T}simple(){return function(T){function C(v){if(typeof v!="boolean")return T.using(()=>d(v()));v?T.forever():T.never()}return C.forever=()=>T.forever(),C.never=()=>T.never(),C.using=v=>T.using(()=>d(v())),C.invalidate=v=>T.invalidate(()=>d(v())),C}(this)}mode(){return this._never?"never":this._forever?"forever":this._invalidate?"invalidate":"valid"}forever(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never)throw new Error("Caching has already been configured with .never()");this._forever=!0,this._configured=!0}never(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._forever)throw new Error("Caching has already been configured with .forever()");this._never=!0,this._configured=!0}using(T){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never||this._forever)throw new Error("Caching has already been configured with .never or .forever()");this._configured=!0;let C=T(this._data),v=(0,t.maybeAsync)(T,"You appear to be using an async cache handler, but Babel has been called synchronously");return(0,t.isThenable)(C)?C.then(k=>(this._pairs.push([k,v]),k)):(this._pairs.push([C,v]),C)}invalidate(T){return this._invalidate=!0,this.using(T)}validator(){let T=this._pairs;return function*(C){for(let[v,k]of T)if(v!==(yield*k(C)))return!1;return!0}}deactivate(){this._active=!1}configured(){return this._configured}}function d(S){if((0,t.isThenable)(S))throw new Error("You appear to be using an async cache handler, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously handle your caching logic.");if(S!=null&&typeof S!="string"&&typeof S!="boolean"&&typeof S!="number")throw new Error("Cache keys must be either string, boolean, number, null, or undefined.");return S}class m{constructor(){this.released=!1,this.promise=void 0,this._resolve=void 0,this.promise=new Promise(T=>{this._resolve=T})}release(T){this.released=!0,this._resolve(T)}}},"./node_modules/@babel/core/lib/config/config-chain.js":(A,e,c)=>{"use strict";function n(){let ye=c("path");return n=function(){return ye},ye}function t(){let ye=c("./node_modules/debug/src/index.js");return t=function(){return ye},ye}Object.defineProperty(e,"__esModule",{value:!0}),e.buildPresetChain=function*(ye,me){let Pe=yield*o(ye,me);return Pe?{plugins:re(Pe.plugins),presets:re(Pe.presets),options:Pe.options.map(xe=>ne(xe)),files:new Set}:null},e.buildPresetChainWalker=void 0,e.buildRootChain=function*(ye,me){let Pe,xe,Re=new a.ConfigPrinter,pe=yield*k({options:ye,dirname:me.cwd},me,void 0,Re);if(!pe)return null;let ee=yield*Re.output(),ue;typeof ye.configFile=="string"?ue=yield*(0,u.loadConfig)(ye.configFile,me.cwd,me.envName,me.caller):ye.configFile!==!1&&(ue=yield*(0,u.findRootConfig)(me.root,me.envName,me.caller));let{babelrc:be,babelrcRoots:Oe}=ye,$e=me.cwd,Be=J(),Ye=new a.ConfigPrinter;if(ue){let ot=T(ue),At=yield*x(ot,me,void 0,Ye);if(!At)return null;Pe=yield*Ye.output(),be===void 0&&(be=ot.options.babelrc),Oe===void 0&&($e=ot.dirname,Oe=ot.options.babelrcRoots),R(Be,At)}let ke,we,et=!1,st=J();if((be===!0||be===void 0)&&typeof me.filename=="string"){let ot=yield*(0,u.findPackageData)(me.filename);if(ot&&function(At,pt,at,ft){if(typeof at=="boolean")return at;let mt=At.root;if(at===void 0)return pt.directories.indexOf(mt)!==-1;let gt=at;return Array.isArray(gt)||(gt=[gt]),gt=gt.map(_t=>typeof _t=="string"?n().resolve(ft,_t):_t),gt.length===1&>[0]===mt?pt.directories.indexOf(mt)!==-1:gt.some(_t=>(typeof _t=="string"&&(_t=(0,i.default)(_t,ft)),pt.directories.some(yr=>Ce(_t,ft,yr,At))))}(me,ot,Oe,$e)){if({ignore:ke,config:we}=yield*(0,u.findRelativeConfig)(ot,me.envName,me.caller),ke&&st.files.add(ke.filepath),ke&&De(me,ke.ignore,null,ke.dirname)&&(et=!0),we&&!et){let At=C(we),pt=new a.ConfigPrinter,at=yield*x(At,me,void 0,pt);at?(xe=yield*pt.output(),R(st,at)):et=!0}we&&et&&st.files.add(we.filepath)}}me.showConfig&&console.log(`Babel configs on "${me.filename}" (ascending priority):
|
|
11
11
|
`+[Pe,xe,ee].filter(ot=>!!ot).join(`
|
|
12
12
|
|
|
13
13
|
`)+`
|
|
@@ -89,10 +89,10 @@ Add ${p} to the 'plugins' section of your Babel config to enable parsing.`}}retu
|
|
|
89
89
|
});
|
|
90
90
|
`(J))]);var J}function D(F){let R=v("babelHelpers"),W=[];W.push(H("var",[Q(R,O([]))]));let J=x(W);return _(W,R,F),W.push(T(R)),J}function _(F,R,W){let J=re=>R?k(R,v(re)):v(`_${re}`),ne={};return n().list.forEach(function(re){if(W&&W.indexOf(re)<0)return;let ae=ne[re]=J(re);n().ensure(re,a.default);let{nodes:de}=n().get(re,J,ae);F.push(...de)}),ne}},"./node_modules/@babel/core/lib/transform-ast.js":(A,e,c)=>{"use strict";function n(){let f=c("./node_modules/gensync/index.js");return n=function(){return f},f}Object.defineProperty(e,"__esModule",{value:!0}),e.transformFromAstSync=e.transformFromAstAsync=e.transformFromAst=void 0;var t=c("./node_modules/@babel/core/lib/config/index.js"),r=c("./node_modules/@babel/core/lib/transformation/index.js");let i=n()(function*(f,h,p){let o=yield*(0,t.default)(p);if(o===null)return null;if(!f)throw new Error("No AST given");return yield*(0,r.run)(o,h,f)});e.transformFromAst=function(f,h,p,o){if(typeof p=="function"&&(o=p,p=void 0),o===void 0)return i.sync(f,h,p);i.errback(f,h,p,o)};let a=i.sync;e.transformFromAstSync=a;let u=i.async;e.transformFromAstAsync=u},"./node_modules/@babel/core/lib/transform-file.js":(A,e,c)=>{"use strict";function n(){let p=c("./node_modules/gensync/index.js");return n=function(){return p},p}Object.defineProperty(e,"__esModule",{value:!0}),e.transformFileSync=e.transformFileAsync=e.transformFile=void 0;var t=c("./node_modules/@babel/core/lib/config/index.js"),r=c("./node_modules/@babel/core/lib/transformation/index.js"),i=c("./node_modules/@babel/core/lib/gensync-utils/fs.js");let a=n()(function*(p,o){let y=Object.assign({},o,{filename:p}),d=yield*(0,t.default)(y);if(d===null)return null;let m=yield*i.readFile(p,"utf8");return yield*(0,r.run)(d,m)}),u=a.errback;e.transformFile=u;let f=a.sync;e.transformFileSync=f;let h=a.async;e.transformFileAsync=h},"./node_modules/@babel/core/lib/transform.js":(A,e,c)=>{"use strict";function n(){let f=c("./node_modules/gensync/index.js");return n=function(){return f},f}Object.defineProperty(e,"__esModule",{value:!0}),e.transformSync=e.transformAsync=e.transform=void 0;var t=c("./node_modules/@babel/core/lib/config/index.js"),r=c("./node_modules/@babel/core/lib/transformation/index.js");let i=n()(function*(f,h){let p=yield*(0,t.default)(h);return p===null?null:yield*(0,r.run)(p,f)});e.transform=function(f,h,p){if(typeof h=="function"&&(p=h,h=void 0),p===void 0)return i.sync(f,h);i.errback(f,h,p)};let a=i.sync;e.transformSync=a;let u=i.async;e.transformAsync=u},"./node_modules/@babel/core/lib/transformation/block-hoist-plugin.js":(A,e,c)=>{"use strict";function n(){let u=c("./node_modules/@babel/traverse/lib/index.js");return n=function(){return u},u}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return r||(r=new t.default(Object.assign({},a,{visitor:n().default.explode(a.visitor)}),{})),r};var t=c("./node_modules/@babel/core/lib/config/plugin.js");let r;function i(u){let f=u==null?void 0:u._blockHoist;return f==null?1:f===!0?2:f}let a={name:"internal.blockHoist",visitor:{Block:{exit({node:u}){let{body:f}=u,h=Math.pow(2,30)-1,p=!1;for(let o=0;o<f.length;o++){let y=i(f[o]);if(y>h){p=!0;break}h=y}p&&(u.body=function(o){let y=Object.create(null);for(let S=0;S<o.length;S++){let T=o[S],C=i(T);(y[C]||(y[C]=[])).push(T)}let d=Object.keys(y).map(S=>+S).sort((S,T)=>T-S),m=0;for(let S of d){let T=y[S];for(let C of T)o[m++]=C}return o}(f.slice()))}}}}},"./node_modules/@babel/core/lib/transformation/file/file.js":(A,e,c)=>{"use strict";function n(){let y=c("./node_modules/@babel/helpers/lib/index.js");return n=function(){return y},y}function t(){let y=c("./node_modules/@babel/traverse/lib/index.js");return t=function(){return y},y}function r(){let y=c("./stubs/babel_codeframe.js");return r=function(){return y},y}function i(){let y=c("./node_modules/@babel/types/lib/index.js");return i=function(){return y},y}function a(){let y=c("./node_modules/@babel/helper-module-transforms/lib/index.js");return a=function(){return y},y}function u(){let y=c("./node_modules/@babel/core/node_modules/semver/semver.js");return u=function(){return y},y}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;let{cloneNode:f,interpreterDirective:h}=i(),p={enter(y,d){let m=y.node.loc;m&&(d.loc=m,y.stop())}};class o{constructor(d,{code:m,ast:S,inputMap:T}){this._map=new Map,this.opts=void 0,this.declarations={},this.path=null,this.ast={},this.scope=void 0,this.metadata={},this.code="",this.inputMap=null,this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)},this.opts=d,this.code=m,this.ast=S,this.inputMap=T,this.path=t().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext(),this.scope=this.path.scope}get shebang(){let{interpreter:d}=this.path.node;return d?d.value:""}set shebang(d){d?this.path.get("interpreter").replaceWith(h(d)):this.path.get("interpreter").remove()}set(d,m){if(d==="helpersNamespace")throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility.If you are using @babel/plugin-external-helpers you will need to use a newer version than the one you currently have installed. If you have your own implementation, you'll want to explore using 'helperGenerator' alongside 'file.availableHelper()'.");this._map.set(d,m)}get(d){return this._map.get(d)}has(d){return this._map.has(d)}getModuleName(){return(0,a().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this functionality in Babel 7, you should import the '@babel/helper-module-imports' module and use the functions exposed from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(d,m){let S;try{S=n().minVersion(d)}catch(T){if(T.code!=="BABEL_HELPER_UNKNOWN")throw T;return!1}return typeof m!="string"||(u().valid(m)&&(m=`^${m}`),!u().intersects(`<${S}`,m)&&!u().intersects(">=8.0.0",m))}addHelper(d){let m=this.declarations[d];if(m)return f(m);let S=this.get("helperGenerator");if(S){let O=S(d);if(O)return O}n().ensure(d,o);let T=this.declarations[d]=this.scope.generateUidIdentifier(d),C={};for(let O of n().getDependencies(d))C[O]=this.addHelper(O);let{nodes:v,globals:k}=n().get(d,O=>C[O],T,Object.keys(this.scope.getAllBindings()));return k.forEach(O=>{this.path.scope.hasBinding(O,!0)&&this.path.scope.rename(O)}),v.forEach(O=>{O._compact=!0}),this.path.unshiftContainer("body",v),this.path.get("body").forEach(O=>{v.indexOf(O.node)!==-1&&O.isVariableDeclaration()&&this.scope.registerDeclaration(O)}),T}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(d,m,S=SyntaxError){let T=d&&(d.loc||d._loc);if(!T&&d){let C={loc:null};(0,t().default)(d,p,this.scope,C),T=C.loc;let v="This is an error on an internal node. Probably an internal error.";T&&(v+=" Location has been estimated."),m+=` (${v})`}if(T){let{highlightCode:C=!0}=this.opts;m+=`
|
|
91
91
|
`+(0,r().codeFrameColumns)(this.code,{start:{line:T.start.line,column:T.start.column+1},end:T.end&&T.start.line===T.end.line?{line:T.end.line,column:T.end.column+1}:void 0},{highlightCode:C})}return new S(m)}}e.default=o},"./node_modules/@babel/core/lib/transformation/file/generate.js":(A,e,c)=>{"use strict";function n(){let i=c("./node_modules/convert-source-map/index.js");return n=function(){return i},i}function t(){let i=c("./node_modules/@babel/generator/lib/index.js");return t=function(){return i},i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i,a){let{opts:u,ast:f,code:h,inputMap:p}=a,o=[];for(let S of i)for(let T of S){let{generatorOverride:C}=T;if(C){let v=C(f,u.generatorOpts,h,t().default);v!==void 0&&o.push(v)}}let y;if(o.length===0)y=(0,t().default)(f,u.generatorOpts,h);else{if(o.length!==1)throw new Error("More than one plugin attempted to override codegen.");if(y=o[0],typeof y.then=="function")throw new Error("You appear to be using an async codegen plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}let{code:d,map:m}=y;return m&&p&&(m=(0,r.default)(p.toObject(),m)),u.sourceMaps!=="inline"&&u.sourceMaps!=="both"||(d+=`
|
|
92
|
-
`+n().fromObject(m).toComment()),u.sourceMaps==="inline"&&(m=null),{outputCode:d,outputMap:m}};var r=c("./node_modules/@babel/core/lib/transformation/file/merge-map.js")},"./node_modules/@babel/core/lib/transformation/file/merge-map.js":(A,e,c)=>{"use strict";function n(){let i=c("./node_modules/@babel/core/node_modules/source-map/source-map.js");return n=function(){return i},i}function t(i){return`${i.line}/${i.columnStart}`}function r(i){let a=new(n()).SourceMapConsumer(Object.assign({},i,{sourceRoot:null})),u=new Map,f=new Map,h=null;return a.computeColumnSpans(),a.eachMapping(p=>{if(p.originalLine===null)return;let o=u.get(p.source);o||(o={path:p.source,content:a.sourceContentFor(p.source,!0)},u.set(p.source,o));let y=f.get(o);y||(y={source:o,mappings:[]},f.set(o,y));let d={line:p.originalLine,columnStart:p.originalColumn,columnEnd:1/0,name:p.name};h&&h.source===o&&h.mapping.line===p.originalLine&&(h.mapping.columnEnd=p.originalColumn),h={source:o,mapping:d},y.mappings.push({original:d,generated:a.allGeneratedPositionsFor({source:p.source,line:p.originalLine,column:p.originalColumn}).map(m=>({line:m.line,columnStart:m.column,columnEnd:m.lastColumn+1}))})},null,n().SourceMapConsumer.ORIGINAL_ORDER),{file:i.file,sourceRoot:i.sourceRoot,sources:Array.from(f.values())}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i,a){let u=r(i),f=r(a),h=new(n()).SourceMapGenerator;for(let{source:o}of u.sources)typeof o.content=="string"&&h.setSourceContent(o.path,o.content);if(f.sources.length===1){let o=f.sources[0],y=new Map;(function(d,m){for(let{source:S,mappings:T}of d.sources)for(let{original:C,generated:v}of T)for(let k of v)m(k,C,S)})(u,(d,m,S)=>{(function(T,C,v){let k=function({mappings:O},{line:x,columnStart:M,columnEnd:$}){return function(H,Q){let K=function(L,D){let _=0,F=L.length;for(;_<F;){let W=Math.floor((_+F)/2),J=D(L[W]);if(J===0){_=W;break}J>=0?F=W:_=W+1}let R=_;if(R<L.length){for(;R>=0&&D(L[R])>=0;)R--;return R+1}return R}(H,Q),Y=[];for(let L=K;L<H.length&&Q(H[L])===0;L++)Y.push(H[L]);return Y}(O,({original:H})=>x>H.line?-1:x<H.line?1:M>=H.columnEnd?-1:$<=H.columnStart?1:0)}(T,C);for(let{generated:O}of k)for(let x of O)v(x)})(o,d,T=>{let C=t(T);y.has(C)||(y.set(C,T),h.addMapping({source:S.path,original:{line:m.line,column:m.columnStart},generated:{line:T.line,column:T.columnStart},name:m.name}))})});for(let d of y.values()){if(d.columnEnd===1/0)continue;let m={line:d.line,columnStart:d.columnEnd},S=t(m);y.has(S)||h.addMapping({generated:{line:m.line,column:m.columnStart}})}}let p=h.toJSON();return typeof u.sourceRoot=="string"&&(p.sourceRoot=u.sourceRoot),p}},"./node_modules/@babel/core/lib/transformation/index.js":(A,e,c)=>{"use strict";function n(){let h=c("./node_modules/@babel/traverse/lib/index.js");return n=function(){return h},h}Object.defineProperty(e,"__esModule",{value:!0}),e.run=function*(h,p,o){let y=yield*(0,a.default)(h.passes,(0,i.default)(h),p,o),d=y.opts;try{yield*function*(v,k){for(let O of k){let x=[],M=[],$=[];for(let Q of O.concat([(0,r.default)()])){let K=new t.default(v,Q.key,Q.options);x.push([Q,K]),M.push(K),$.push(Q.visitor)}for(let[Q,K]of x){let Y=Q.pre;if(Y){let L=Y.call(K,v);if(yield*[],f(L))throw new Error("You appear to be using an plugin with an async .pre, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}}let H=n().default.visitors.merge($,M,v.opts.wrapPluginVisitorMethod);(0,n().default)(v.ast,H,v.scope);for(let[Q,K]of x){let Y=Q.post;if(Y){let L=Y.call(K,v);if(yield*[],f(L))throw new Error("You appear to be using an plugin with an async .post, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}}}}(y,h.passes)}catch(v){var m;throw v.message=`${(m=d.filename)!=null?m:"unknown"}: ${v.message}`,v.code||(v.code="BABEL_TRANSFORM_ERROR"),v}let S,T;try{d.code!==!1&&({outputCode:S,outputMap:T}=(0,u.default)(h.passes,y))}catch(v){var C;throw v.message=`${(C=d.filename)!=null?C:"unknown"}: ${v.message}`,v.code||(v.code="BABEL_GENERATE_ERROR"),v}return{metadata:y.metadata,options:d,ast:d.ast===!0?y.ast:null,code:S===void 0?null:S,map:T===void 0?null:T,sourceType:y.ast.program.sourceType}};var t=c("./node_modules/@babel/core/lib/transformation/plugin-pass.js"),r=c("./node_modules/@babel/core/lib/transformation/block-hoist-plugin.js"),i=c("./node_modules/@babel/core/lib/transformation/normalize-opts.js"),a=c("./node_modules/@babel/core/lib/transformation/normalize-file.js"),u=c("./node_modules/@babel/core/lib/transformation/file/generate.js");function f(h){return!(!h||typeof h!="object"&&typeof h!="function"||!h.then||typeof h.then!="function")}},"./node_modules/@babel/core/lib/transformation/normalize-file.js":(A,e,c)=>{"use strict";function n(){let C=c("fs");return n=function(){return C},C}function t(){let C=c("path");return t=function(){return C},C}function r(){let C=c("./node_modules/debug/src/index.js");return r=function(){return C},C}function i(){let C=c("./node_modules/@babel/types/lib/index.js");return i=function(){return C},C}function a(){let C=c("./node_modules/convert-source-map/index.js");return a=function(){return C},C}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function*(C,v,k,O){if(k=`${k||""}`,O){if(O.type==="Program")O=p(O,[],[]);else if(O.type!=="File")throw new Error("AST root must be a Program or File node");v.cloneInputAst&&(O=(0,h.default)(O))}else O=yield*(0,f.default)(C,v,k);let x=null;if(v.inputSourceMap!==!1){if(typeof v.inputSourceMap=="object"&&(x=a().fromObject(v.inputSourceMap)),!x){let M=T(d,O);if(M)try{x=a().fromComment(M)}catch($){y("discarding unknown inline input sourcemap",$)}}if(!x){let M=T(m,O);if(typeof v.filename=="string"&&M)try{let $=m.exec(M),H=n().readFileSync(t().resolve(t().dirname(v.filename),$[1]));H.length>1e6?y("skip merging input map > 1 MB"):x=a().fromJSON(H)}catch($){y("discarding unknown file input sourcemap",$)}else M&&y("discarding un-loadable file input sourcemap")}}return new u.default(v,{code:k,ast:O,inputMap:x})};var u=c("./node_modules/@babel/core/lib/transformation/file/file.js"),f=c("./node_modules/@babel/core/lib/parser/index.js"),h=c("./node_modules/@babel/core/lib/transformation/util/clone-deep.js");let{file:p,traverseFast:o}=i(),y=r()("babel:transform:file"),d=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/,m=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function S(C,v,k){return v&&(v=v.filter(({value:O})=>!C.test(O)||(k=O,!1))),[v,k]}function T(C,v){let k=null;return o(v,O=>{[O.leadingComments,k]=S(C,O.leadingComments,k),[O.innerComments,k]=S(C,O.innerComments,k),[O.trailingComments,k]=S(C,O.trailingComments,k)}),k}},"./node_modules/@babel/core/lib/transformation/normalize-opts.js":(A,e,c)=>{"use strict";function n(){let t=c("path");return n=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){let{filename:r,cwd:i,filenameRelative:a=typeof r=="string"?n().relative(i,r):"unknown",sourceType:u="module",inputSourceMap:f,sourceMaps:h=!!f,sourceRoot:p=t.options.moduleRoot,sourceFileName:o=n().basename(a),comments:y=!0,compact:d="auto"}=t.options,m=t.options,S=Object.assign({},m,{parserOpts:Object.assign({sourceType:n().extname(a)===".mjs"?"module":u,sourceFileName:r,plugins:[]},m.parserOpts),generatorOpts:Object.assign({filename:r,auxiliaryCommentBefore:m.auxiliaryCommentBefore,auxiliaryCommentAfter:m.auxiliaryCommentAfter,retainLines:m.retainLines,comments:y,shouldPrintComment:m.shouldPrintComment,compact:d,minified:m.minified,sourceMaps:h,sourceRoot:p,sourceFileName:o},m.generatorOpts)});for(let T of t.passes)for(let C of T)C.manipulateOptions&&C.manipulateOptions(S,S.parserOpts);return S}},"./node_modules/@babel/core/lib/transformation/plugin-pass.js":(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;class c{constructor(t,r,i){this._map=new Map,this.key=void 0,this.file=void 0,this.opts=void 0,this.cwd=void 0,this.filename=void 0,this.key=r,this.file=t,this.opts=i||{},this.cwd=t.opts.cwd,this.filename=t.opts.filename}set(t,r){this._map.set(t,r)}get(t){return this._map.get(t)}availableHelper(t,r){return this.file.availableHelper(t,r)}addHelper(t){return this.file.addHelper(t)}addImport(){return this.file.addImport()}buildCodeFrameError(t,r,i){return this.file.buildCodeFrameError(t,r,i)}}e.default=c,c.prototype.getModuleName=function(){return this.file.getModuleName()}},"./node_modules/@babel/core/lib/transformation/util/clone-deep-browser.js":(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(r){return JSON.parse(JSON.stringify(r,n),t)};let c="$$ babel internal serialized type"+Math.random();function n(r,i){return typeof i!="bigint"?i:{[c]:"BigInt",value:i.toString()}}function t(r,i){return i&&typeof i=="object"?i[c]!=="BigInt"?i:BigInt(i.value):i}},"./node_modules/@babel/core/lib/transformation/util/clone-deep.js":(A,e,c)=>{"use strict";function n(){let r=c("v8");return n=function(){return r},r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(r){return n().deserialize&&n().serialize?n().deserialize(n().serialize(r)):(0,t.default)(r)};var t=c("./node_modules/@babel/core/lib/transformation/util/clone-deep-browser.js")},"./node_modules/@babel/core/lib/vendor/import-meta-resolve.js":(A,e,c)=>{"use strict";function n(){let B=c("url");return n=function(){return B},B}function t(){let B=function(V,z){if(!z&&V&&V.__esModule)return V;if(V===null||typeof V!="object"&&typeof V!="function")return{default:V};var se=u(z);if(se&&se.has(V))return se.get(V);var le={},fe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ae in V)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(V,Ae)){var Ne=fe?Object.getOwnPropertyDescriptor(V,Ae):null;Ne&&(Ne.get||Ne.set)?Object.defineProperty(le,Ae,Ne):le[Ae]=V[Ae]}return le.default=V,se&&se.set(V,le),le}(c("fs"),!0);return t=function(){return B},B}function r(){let B=c("path");return r=function(){return B},B}function i(){let B=c("assert");return i=function(){return B},B}function a(){let B=c("util");return a=function(){return B},B}function u(B){if(typeof WeakMap!="function")return null;var V=new WeakMap,z=new WeakMap;return(u=function(se){return se?z:V})(B)}function f(B,V,z,se,le,fe,Ae){try{var Ne=B[fe](Ae),Ve=Ne.value}catch(Ue){return void z(Ue)}Ne.done?V(Ve):Promise.resolve(Ve).then(se,le)}function h(B){return function(){var V=this,z=arguments;return new Promise(function(se,le){var fe=B.apply(V,z);function Ae(Ve){f(fe,se,le,Ae,Ne,"next",Ve)}function Ne(Ve){f(fe,se,le,Ae,Ne,"throw",Ve)}Ae(void 0)})}}Object.defineProperty(e,"__esModule",{value:!0}),e.moduleResolve=Bi,e.resolve=function(B,V){return $i.apply(this,arguments)};var p={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},o=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...B)=>console.error("SEMVER",...B):()=>{},y=function(B){var V={exports:{}};return B(V,V.exports),V.exports}(function(B,V){let{MAX_SAFE_COMPONENT_LENGTH:z}=p,se=(V=B.exports={}).re=[],le=V.src=[],fe=V.t={},Ae=0,Ne=(Ve,Ue,Ke)=>{let He=Ae++;o(He,Ue),fe[Ve]=He,le[He]=Ue,se[He]=new RegExp(Ue,Ke?"g":void 0)};Ne("NUMERICIDENTIFIER","0|[1-9]\\d*"),Ne("NUMERICIDENTIFIERLOOSE","[0-9]+"),Ne("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),Ne("MAINVERSION",`(${le[fe.NUMERICIDENTIFIER]})\\.(${le[fe.NUMERICIDENTIFIER]})\\.(${le[fe.NUMERICIDENTIFIER]})`),Ne("MAINVERSIONLOOSE",`(${le[fe.NUMERICIDENTIFIERLOOSE]})\\.(${le[fe.NUMERICIDENTIFIERLOOSE]})\\.(${le[fe.NUMERICIDENTIFIERLOOSE]})`),Ne("PRERELEASEIDENTIFIER",`(?:${le[fe.NUMERICIDENTIFIER]}|${le[fe.NONNUMERICIDENTIFIER]})`),Ne("PRERELEASEIDENTIFIERLOOSE",`(?:${le[fe.NUMERICIDENTIFIERLOOSE]}|${le[fe.NONNUMERICIDENTIFIER]})`),Ne("PRERELEASE",`(?:-(${le[fe.PRERELEASEIDENTIFIER]}(?:\\.${le[fe.PRERELEASEIDENTIFIER]})*))`),Ne("PRERELEASELOOSE",`(?:-?(${le[fe.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${le[fe.PRERELEASEIDENTIFIERLOOSE]})*))`),Ne("BUILDIDENTIFIER","[0-9A-Za-z-]+"),Ne("BUILD",`(?:\\+(${le[fe.BUILDIDENTIFIER]}(?:\\.${le[fe.BUILDIDENTIFIER]})*))`),Ne("FULLPLAIN",`v?${le[fe.MAINVERSION]}${le[fe.PRERELEASE]}?${le[fe.BUILD]}?`),Ne("FULL",`^${le[fe.FULLPLAIN]}$`),Ne("LOOSEPLAIN",`[v=\\s]*${le[fe.MAINVERSIONLOOSE]}${le[fe.PRERELEASELOOSE]}?${le[fe.BUILD]}?`),Ne("LOOSE",`^${le[fe.LOOSEPLAIN]}$`),Ne("GTLT","((?:<|>)?=?)"),Ne("XRANGEIDENTIFIERLOOSE",`${le[fe.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Ne("XRANGEIDENTIFIER",`${le[fe.NUMERICIDENTIFIER]}|x|X|\\*`),Ne("XRANGEPLAIN",`[v=\\s]*(${le[fe.XRANGEIDENTIFIER]})(?:\\.(${le[fe.XRANGEIDENTIFIER]})(?:\\.(${le[fe.XRANGEIDENTIFIER]})(?:${le[fe.PRERELEASE]})?${le[fe.BUILD]}?)?)?`),Ne("XRANGEPLAINLOOSE",`[v=\\s]*(${le[fe.XRANGEIDENTIFIERLOOSE]})(?:\\.(${le[fe.XRANGEIDENTIFIERLOOSE]})(?:\\.(${le[fe.XRANGEIDENTIFIERLOOSE]})(?:${le[fe.PRERELEASELOOSE]})?${le[fe.BUILD]}?)?)?`),Ne("XRANGE",`^${le[fe.GTLT]}\\s*${le[fe.XRANGEPLAIN]}$`),Ne("XRANGELOOSE",`^${le[fe.GTLT]}\\s*${le[fe.XRANGEPLAINLOOSE]}$`),Ne("COERCE",`(^|[^\\d])(\\d{1,${z}})(?:\\.(\\d{1,${z}}))?(?:\\.(\\d{1,${z}}))?(?:$|[^\\d])`),Ne("COERCERTL",le[fe.COERCE],!0),Ne("LONETILDE","(?:~>?)"),Ne("TILDETRIM",`(\\s*)${le[fe.LONETILDE]}\\s+`,!0),V.tildeTrimReplace="$1~",Ne("TILDE",`^${le[fe.LONETILDE]}${le[fe.XRANGEPLAIN]}$`),Ne("TILDELOOSE",`^${le[fe.LONETILDE]}${le[fe.XRANGEPLAINLOOSE]}$`),Ne("LONECARET","(?:\\^)"),Ne("CARETTRIM",`(\\s*)${le[fe.LONECARET]}\\s+`,!0),V.caretTrimReplace="$1^",Ne("CARET",`^${le[fe.LONECARET]}${le[fe.XRANGEPLAIN]}$`),Ne("CARETLOOSE",`^${le[fe.LONECARET]}${le[fe.XRANGEPLAINLOOSE]}$`),Ne("COMPARATORLOOSE",`^${le[fe.GTLT]}\\s*(${le[fe.LOOSEPLAIN]})$|^$`),Ne("COMPARATOR",`^${le[fe.GTLT]}\\s*(${le[fe.FULLPLAIN]})$|^$`),Ne("COMPARATORTRIM",`(\\s*)${le[fe.GTLT]}\\s*(${le[fe.LOOSEPLAIN]}|${le[fe.XRANGEPLAIN]})`,!0),V.comparatorTrimReplace="$1$2$3",Ne("HYPHENRANGE",`^\\s*(${le[fe.XRANGEPLAIN]})\\s+-\\s+(${le[fe.XRANGEPLAIN]})\\s*$`),Ne("HYPHENRANGELOOSE",`^\\s*(${le[fe.XRANGEPLAINLOOSE]})\\s+-\\s+(${le[fe.XRANGEPLAINLOOSE]})\\s*$`),Ne("STAR","(<|>)?=?\\s*\\*"),Ne("GTE0","^\\s*>=\\s*0.0.0\\s*$"),Ne("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")});let d=["includePrerelease","loose","rtl"];var m=B=>B?typeof B!="object"?{loose:!0}:d.filter(V=>B[V]).reduce((V,z)=>(V[z]=!0,V),{}):{};let S=/^[0-9]+$/,T=(B,V)=>{let z=S.test(B),se=S.test(V);return z&&se&&(B=+B,V=+V),B===V?0:z&&!se?-1:se&&!z?1:B<V?-1:1};var C={compareIdentifiers:T,rcompareIdentifiers:(B,V)=>T(V,B)};let{MAX_LENGTH:v,MAX_SAFE_INTEGER:k}=p,{re:O,t:x}=y,{compareIdentifiers:M}=C;class ${constructor(V,z){if(z=m(z),V instanceof $){if(V.loose===!!z.loose&&V.includePrerelease===!!z.includePrerelease)return V;V=V.version}else if(typeof V!="string")throw new TypeError(`Invalid Version: ${V}`);if(V.length>v)throw new TypeError(`version is longer than ${v} characters`);o("SemVer",V,z),this.options=z,this.loose=!!z.loose,this.includePrerelease=!!z.includePrerelease;let se=V.trim().match(z.loose?O[x.LOOSE]:O[x.FULL]);if(!se)throw new TypeError(`Invalid Version: ${V}`);if(this.raw=V,this.major=+se[1],this.minor=+se[2],this.patch=+se[3],this.major>k||this.major<0)throw new TypeError("Invalid major version");if(this.minor>k||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>k||this.patch<0)throw new TypeError("Invalid patch version");se[4]?this.prerelease=se[4].split(".").map(le=>{if(/^[0-9]+$/.test(le)){let fe=+le;if(fe>=0&&fe<k)return fe}return le}):this.prerelease=[],this.build=se[5]?se[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(V){if(o("SemVer.compare",this.version,this.options,V),!(V instanceof $)){if(typeof V=="string"&&V===this.version)return 0;V=new $(V,this.options)}return V.version===this.version?0:this.compareMain(V)||this.comparePre(V)}compareMain(V){return V instanceof $||(V=new $(V,this.options)),M(this.major,V.major)||M(this.minor,V.minor)||M(this.patch,V.patch)}comparePre(V){if(V instanceof $||(V=new $(V,this.options)),this.prerelease.length&&!V.prerelease.length)return-1;if(!this.prerelease.length&&V.prerelease.length)return 1;if(!this.prerelease.length&&!V.prerelease.length)return 0;let z=0;do{let se=this.prerelease[z],le=V.prerelease[z];if(o("prerelease compare",z,se,le),se===void 0&&le===void 0)return 0;if(le===void 0)return 1;if(se===void 0)return-1;if(se!==le)return M(se,le)}while(++z)}compareBuild(V){V instanceof $||(V=new $(V,this.options));let z=0;do{let se=this.build[z],le=V.build[z];if(o("prerelease compare",z,se,le),se===void 0&&le===void 0)return 0;if(le===void 0)return 1;if(se===void 0)return-1;if(se!==le)return M(se,le)}while(++z)}inc(V,z){switch(V){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",z);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",z);break;case"prepatch":this.prerelease.length=0,this.inc("patch",z),this.inc("pre",z);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",z),this.inc("pre",z);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let se=this.prerelease.length;for(;--se>=0;)typeof this.prerelease[se]=="number"&&(this.prerelease[se]++,se=-2);se===-1&&this.prerelease.push(0)}z&&(this.prerelease[0]===z?isNaN(this.prerelease[1])&&(this.prerelease=[z,0]):this.prerelease=[z,0]);break;default:throw new Error(`invalid increment argument: ${V}`)}return this.format(),this.raw=this.version,this}}var H=$;let{MAX_LENGTH:Q}=p,{re:K,t:Y}=y;var L=(B,V)=>{if(V=m(V),B instanceof H)return B;if(typeof B!="string"||B.length>Q||!(V.loose?K[Y.LOOSE]:K[Y.FULL]).test(B))return null;try{return new H(B,V)}catch (e42){return null}},D=(B,V)=>{let z=L(B,V);return z?z.version:null},_=(B,V)=>{let z=L(B.trim().replace(/^[=v]+/,""),V);return z?z.version:null},F=(B,V,z,se)=>{typeof z=="string"&&(se=z,z=void 0);try{return new H(B,z).inc(V,se).version}catch (e43){return null}},R=(B,V,z)=>new H(B,z).compare(new H(V,z)),W=(B,V,z)=>R(B,V,z)===0,J=(B,V)=>{if(W(B,V))return null;{let z=L(B),se=L(V),le=z.prerelease.length||se.prerelease.length,fe=le?"pre":"",Ae=le?"prerelease":"";for(let Ne in z)if((Ne==="major"||Ne==="minor"||Ne==="patch")&&z[Ne]!==se[Ne])return fe+Ne;return Ae}},ne=(B,V)=>new H(B,V).major,re=(B,V)=>new H(B,V).minor,ae=(B,V)=>new H(B,V).patch,de=(B,V)=>{let z=L(B,V);return z&&z.prerelease.length?z.prerelease:null},he=(B,V,z)=>R(V,B,z),De=(B,V)=>R(B,V,!0),Te=(B,V,z)=>{let se=new H(B,z),le=new H(V,z);return se.compare(le)||se.compareBuild(le)},Ce=(B,V)=>B.sort((z,se)=>Te(z,se,V)),ye=(B,V)=>B.sort((z,se)=>Te(se,z,V)),me=(B,V,z)=>R(B,V,z)>0,Pe=(B,V,z)=>R(B,V,z)<0,xe=(B,V,z)=>R(B,V,z)!==0,Re=(B,V,z)=>R(B,V,z)>=0,pe=(B,V,z)=>R(B,V,z)<=0,ee=(B,V,z,se)=>{switch(V){case"===":return typeof B=="object"&&(B=B.version),typeof z=="object"&&(z=z.version),B===z;case"!==":return typeof B=="object"&&(B=B.version),typeof z=="object"&&(z=z.version),B!==z;case"":case"=":case"==":return W(B,z,se);case"!=":return xe(B,z,se);case">":return me(B,z,se);case">=":return Re(B,z,se);case"<":return Pe(B,z,se);case"<=":return pe(B,z,se);default:throw new TypeError(`Invalid operator: ${V}`)}};let{re:ue,t:be}=y;var Oe=(B,V)=>{if(B instanceof H)return B;if(typeof B=="number"&&(B=String(B)),typeof B!="string")return null;let z=null;if((V=V||{}).rtl){let se;for(;(se=ue[be.COERCERTL].exec(B))&&(!z||z.index+z[0].length!==B.length);)z&&se.index+se[0].length===z.index+z[0].length||(z=se),ue[be.COERCERTL].lastIndex=se.index+se[1].length+se[2].length;ue[be.COERCERTL].lastIndex=-1}else z=B.match(ue[be.COERCE]);return z===null?null:L(`${z[2]}.${z[3]||"0"}.${z[4]||"0"}`,V)},$e=Be;function Be(B){var V=this;if(V instanceof Be||(V=new Be),V.tail=null,V.head=null,V.length=0,B&&typeof B.forEach=="function")B.forEach(function(le){V.push(le)});else if(arguments.length>0)for(var z=0,se=arguments.length;z<se;z++)V.push(arguments[z]);return V}function Ye(B,V,z){var se=V===B.head?new et(z,null,V,B):new et(z,V,V.next,B);return se.next===null&&(B.tail=se),se.prev===null&&(B.head=se),B.length++,se}function ke(B,V){B.tail=new et(V,B.tail,null,B),B.head||(B.head=B.tail),B.length++}function we(B,V){B.head=new et(V,null,B.head,B),B.tail||(B.tail=B.head),B.length++}function et(B,V,z,se){if(!(this instanceof et))return new et(B,V,z,se);this.list=se,this.value=B,V?(V.next=this,this.prev=V):this.prev=null,z?(z.prev=this,this.next=z):this.next=null}Be.Node=et,Be.create=Be,Be.prototype.removeNode=function(B){if(B.list!==this)throw new Error("removing node which does not belong to this list");var V=B.next,z=B.prev;return V&&(V.prev=z),z&&(z.next=V),B===this.head&&(this.head=V),B===this.tail&&(this.tail=z),B.list.length--,B.next=null,B.prev=null,B.list=null,V},Be.prototype.unshiftNode=function(B){if(B!==this.head){B.list&&B.list.removeNode(B);var V=this.head;B.list=this,B.next=V,V&&(V.prev=B),this.head=B,this.tail||(this.tail=B),this.length++}},Be.prototype.pushNode=function(B){if(B!==this.tail){B.list&&B.list.removeNode(B);var V=this.tail;B.list=this,B.prev=V,V&&(V.next=B),this.tail=B,this.head||(this.head=B),this.length++}},Be.prototype.push=function(){for(var B=0,V=arguments.length;B<V;B++)ke(this,arguments[B]);return this.length},Be.prototype.unshift=function(){for(var B=0,V=arguments.length;B<V;B++)we(this,arguments[B]);return this.length},Be.prototype.pop=function(){if(this.tail){var B=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,B}},Be.prototype.shift=function(){if(this.head){var B=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,B}},Be.prototype.forEach=function(B,V){V=V||this;for(var z=this.head,se=0;z!==null;se++)B.call(V,z.value,se,this),z=z.next},Be.prototype.forEachReverse=function(B,V){V=V||this;for(var z=this.tail,se=this.length-1;z!==null;se--)B.call(V,z.value,se,this),z=z.prev},Be.prototype.get=function(B){for(var V=0,z=this.head;z!==null&&V<B;V++)z=z.next;if(V===B&&z!==null)return z.value},Be.prototype.getReverse=function(B){for(var V=0,z=this.tail;z!==null&&V<B;V++)z=z.prev;if(V===B&&z!==null)return z.value},Be.prototype.map=function(B,V){V=V||this;for(var z=new Be,se=this.head;se!==null;)z.push(B.call(V,se.value,this)),se=se.next;return z},Be.prototype.mapReverse=function(B,V){V=V||this;for(var z=new Be,se=this.tail;se!==null;)z.push(B.call(V,se.value,this)),se=se.prev;return z},Be.prototype.reduce=function(B,V){var z,se=this.head;if(arguments.length>1)z=V;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");se=this.head.next,z=this.head.value}for(var le=0;se!==null;le++)z=B(z,se.value,le),se=se.next;return z},Be.prototype.reduceReverse=function(B,V){var z,se=this.tail;if(arguments.length>1)z=V;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");se=this.tail.prev,z=this.tail.value}for(var le=this.length-1;se!==null;le--)z=B(z,se.value,le),se=se.prev;return z},Be.prototype.toArray=function(){for(var B=new Array(this.length),V=0,z=this.head;z!==null;V++)B[V]=z.value,z=z.next;return B},Be.prototype.toArrayReverse=function(){for(var B=new Array(this.length),V=0,z=this.tail;z!==null;V++)B[V]=z.value,z=z.prev;return B},Be.prototype.slice=function(B,V){(V=V||this.length)<0&&(V+=this.length),(B=B||0)<0&&(B+=this.length);var z=new Be;if(V<B||V<0)return z;B<0&&(B=0),V>this.length&&(V=this.length);for(var se=0,le=this.head;le!==null&&se<B;se++)le=le.next;for(;le!==null&&se<V;se++,le=le.next)z.push(le.value);return z},Be.prototype.sliceReverse=function(B,V){(V=V||this.length)<0&&(V+=this.length),(B=B||0)<0&&(B+=this.length);var z=new Be;if(V<B||V<0)return z;B<0&&(B=0),V>this.length&&(V=this.length);for(var se=this.length,le=this.tail;le!==null&&se>V;se--)le=le.prev;for(;le!==null&&se>B;se--,le=le.prev)z.push(le.value);return z},Be.prototype.splice=function(B,V,...z){B>this.length&&(B=this.length-1),B<0&&(B=this.length+B);for(var se=0,le=this.head;le!==null&&se<B;se++)le=le.next;var fe=[];for(se=0;le&&se<V;se++)fe.push(le.value),le=this.removeNode(le);for(le===null&&(le=this.tail),le!==this.head&&le!==this.tail&&(le=le.prev),se=0;se<z.length;se++)le=Ye(this,le,z[se]);return fe},Be.prototype.reverse=function(){for(var B=this.head,V=this.tail,z=B;z!==null;z=z.prev){var se=z.prev;z.prev=z.next,z.next=se}return this.head=V,this.tail=B,this};try{(function(B){B.prototype[Symbol.iterator]=function*(){for(let V=this.head;V;V=V.next)yield V.value}})(Be)}catch (e44){}let st=Symbol("max"),lt=Symbol("length"),ot=Symbol("lengthCalculator"),At=Symbol("allowStale"),pt=Symbol("maxAge"),at=Symbol("dispose"),ft=Symbol("noDisposeOnSet"),mt=Symbol("lruList"),gt=Symbol("cache"),_t=Symbol("updateAgeOnGet"),yr=()=>1,Xe=(B,V,z)=>{let se=B[gt].get(V);if(se){let le=se.value;if(kr(B,le)){if(Rt(B,se),!B[At])return}else z&&(B[_t]&&(se.value.now=Date.now()),B[mt].unshiftNode(se));return le.value}},kr=(B,V)=>{if(!V||!V.maxAge&&!B[pt])return!1;let z=Date.now()-V.now;return V.maxAge?z>V.maxAge:B[pt]&&z>B[pt]},jt=B=>{if(B[lt]>B[st])for(let V=B[mt].tail;B[lt]>B[st]&&V!==null;){let z=V.prev;Rt(B,V),V=z}},Rt=(B,V)=>{if(V){let z=V.value;B[at]&&B[at](z.key,z.value),B[lt]-=z.length,B[gt].delete(z.key),B[mt].removeNode(V)}};class cn{constructor(V,z,se,le,fe){this.key=V,this.value=z,this.length=se,this.now=le,this.maxAge=fe||0}}let _n=(B,V,z,se)=>{let le=z.value;kr(B,le)&&(Rt(B,z),B[At]||(le=void 0)),le&&V.call(se,le.value,le.key,B)};var Xr=class{constructor(B){if(typeof B=="number"&&(B={max:B}),B||(B={}),B.max&&(typeof B.max!="number"||B.max<0))throw new TypeError("max must be a non-negative number");this[st]=B.max||1/0;let V=B.length||yr;if(this[ot]=typeof V!="function"?yr:V,this[At]=B.stale||!1,B.maxAge&&typeof B.maxAge!="number")throw new TypeError("maxAge must be a number");this[pt]=B.maxAge||0,this[at]=B.dispose,this[ft]=B.noDisposeOnSet||!1,this[_t]=B.updateAgeOnGet||!1,this.reset()}set max(B){if(typeof B!="number"||B<0)throw new TypeError("max must be a non-negative number");this[st]=B||1/0,jt(this)}get max(){return this[st]}set allowStale(B){this[At]=!!B}get allowStale(){return this[At]}set maxAge(B){if(typeof B!="number")throw new TypeError("maxAge must be a non-negative number");this[pt]=B,jt(this)}get maxAge(){return this[pt]}set lengthCalculator(B){typeof B!="function"&&(B=yr),B!==this[ot]&&(this[ot]=B,this[lt]=0,this[mt].forEach(V=>{V.length=this[ot](V.value,V.key),this[lt]+=V.length})),jt(this)}get lengthCalculator(){return this[ot]}get length(){return this[lt]}get itemCount(){return this[mt].length}rforEach(B,V){V=V||this;for(let z=this[mt].tail;z!==null;){let se=z.prev;_n(this,B,z,V),z=se}}forEach(B,V){V=V||this;for(let z=this[mt].head;z!==null;){let se=z.next;_n(this,B,z,V),z=se}}keys(){return this[mt].toArray().map(B=>B.key)}values(){return this[mt].toArray().map(B=>B.value)}reset(){this[at]&&this[mt]&&this[mt].length&&this[mt].forEach(B=>this[at](B.key,B.value)),this[gt]=new Map,this[mt]=new $e,this[lt]=0}dump(){return this[mt].map(B=>!kr(this,B)&&{k:B.key,v:B.value,e:B.now+(B.maxAge||0)}).toArray().filter(B=>B)}dumpLru(){return this[mt]}set(B,V,z){if((z=z||this[pt])&&typeof z!="number")throw new TypeError("maxAge must be a number");let se=z?Date.now():0,le=this[ot](V,B);if(this[gt].has(B)){if(le>this[st])return Rt(this,this[gt].get(B)),!1;let Ae=this[gt].get(B).value;return this[at]&&(this[ft]||this[at](B,Ae.value)),Ae.now=se,Ae.maxAge=z,Ae.value=V,this[lt]+=le-Ae.length,Ae.length=le,this.get(B),jt(this),!0}let fe=new cn(B,V,le,se,z);return fe.length>this[st]?(this[at]&&this[at](B,V),!1):(this[lt]+=fe.length,this[mt].unshift(fe),this[gt].set(B,this[mt].head),jt(this),!0)}has(B){if(!this[gt].has(B))return!1;let V=this[gt].get(B).value;return!kr(this,V)}get(B){return Xe(this,B,!0)}peek(B){return Xe(this,B,!1)}pop(){let B=this[mt].tail;return B?(Rt(this,B),B.value):null}del(B){Rt(this,this[gt].get(B))}load(B){this.reset();let V=Date.now();for(let z=B.length-1;z>=0;z--){let se=B[z],le=se.e||0;if(le===0)this.set(se.k,se.v);else{let fe=le-V;fe>0&&this.set(se.k,se.v,fe)}}}prune(){this[gt].forEach((B,V)=>Xe(this,V,!1))}};class Nr{constructor(V,z){if(z=m(z),V instanceof Nr)return V.loose===!!z.loose&&V.includePrerelease===!!z.includePrerelease?V:new Nr(V.raw,z);if(V instanceof Ge)return this.raw=V.value,this.set=[[V]],this.format(),this;if(this.options=z,this.loose=!!z.loose,this.includePrerelease=!!z.includePrerelease,this.raw=V,this.set=V.split(/\s*\|\|\s*/).map(se=>this.parseRange(se.trim())).filter(se=>se.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${V}`);if(this.set.length>1){let se=this.set[0];if(this.set=this.set.filter(le=>!tr(le[0])),this.set.length===0)this.set=[se];else if(this.set.length>1){for(let le of this.set)if(le.length===1&&pn(le[0])){this.set=[le];break}}}this.format()}format(){return this.range=this.set.map(V=>V.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(V){V=V.trim();let z=`parseRange:${Object.keys(this.options).join(",")}:${V}`,se=dn.get(z);if(se)return se;let le=this.options.loose,fe=le?Ct[Tt.HYPHENRANGELOOSE]:Ct[Tt.HYPHENRANGE];V=V.replace(fe,ur(this.options.includePrerelease)),o("hyphen replace",V),V=V.replace(Ct[Tt.COMPARATORTRIM],xr),o("comparator trim",V,Ct[Tt.COMPARATORTRIM]),V=(V=(V=V.replace(Ct[Tt.TILDETRIM],Yr)).replace(Ct[Tt.CARETTRIM],Hr)).split(/\s+/).join(" ");let Ae=le?Ct[Tt.COMPARATORLOOSE]:Ct[Tt.COMPARATOR],Ne=V.split(" ").map(Ke=>tt(Ke,this.options)).join(" ").split(/\s+/).map(Ke=>pr(Ke,this.options)).filter(this.options.loose?Ke=>!!Ke.match(Ae):()=>!0).map(Ke=>new Ge(Ke,this.options));Ne.length;let Ve=new Map;for(let Ke of Ne){if(tr(Ke))return[Ke];Ve.set(Ke.value,Ke)}Ve.size>1&&Ve.has("")&&Ve.delete("");let Ue=[...Ve.values()];return dn.set(z,Ue),Ue}intersects(V,z){if(!(V instanceof Nr))throw new TypeError("a Range is required");return this.set.some(se=>In(se,z)&&V.set.some(le=>In(le,z)&&se.every(fe=>le.every(Ae=>fe.intersects(Ae,z)))))}test(V){if(!V)return!1;if(typeof V=="string")try{V=new H(V,this.options)}catch (e45){return!1}for(let z=0;z<this.set.length;z++)if(Jr(this.set[z],V,this.options))return!0;return!1}}var Lt=Nr;let dn=new Xr({max:1e3}),{re:Ct,t:Tt,comparatorTrimReplace:xr,tildeTrimReplace:Yr,caretTrimReplace:Hr}=y,tr=B=>B.value==="<0.0.0-0",pn=B=>B.value==="",In=(B,V)=>{let z=!0,se=B.slice(),le=se.pop();for(;z&&se.length;)z=se.every(fe=>le.intersects(fe,V)),le=se.pop();return z},tt=(B,V)=>(o("comp",B,V),B=ei(B,V),o("caret",B),B=Nn(B,V),o("tildes",B),B=ri(B,V),o("xrange",B),B=gr(B,V),o("stars",B),B),It=B=>!B||B.toLowerCase()==="x"||B==="*",Nn=(B,V)=>B.trim().split(/\s+/).map(z=>Zn(z,V)).join(" "),Zn=(B,V)=>{let z=V.loose?Ct[Tt.TILDELOOSE]:Ct[Tt.TILDE];return B.replace(z,(se,le,fe,Ae,Ne)=>{let Ve;return o("tilde",B,se,le,fe,Ae,Ne),It(le)?Ve="":It(fe)?Ve=`>=${le}.0.0 <${+le+1}.0.0-0`:It(Ae)?Ve=`>=${le}.${fe}.0 <${le}.${+fe+1}.0-0`:Ne?(o("replaceTilde pr",Ne),Ve=`>=${le}.${fe}.${Ae}-${Ne} <${le}.${+fe+1}.0-0`):Ve=`>=${le}.${fe}.${Ae} <${le}.${+fe+1}.0-0`,o("tilde return",Ve),Ve})},ei=(B,V)=>B.trim().split(/\s+/).map(z=>ti(z,V)).join(" "),ti=(B,V)=>{o("caret",B,V);let z=V.loose?Ct[Tt.CARETLOOSE]:Ct[Tt.CARET],se=V.includePrerelease?"-0":"";return B.replace(z,(le,fe,Ae,Ne,Ve)=>{let Ue;return o("caret",B,le,fe,Ae,Ne,Ve),It(fe)?Ue="":It(Ae)?Ue=`>=${fe}.0.0${se} <${+fe+1}.0.0-0`:It(Ne)?Ue=fe==="0"?`>=${fe}.${Ae}.0${se} <${fe}.${+Ae+1}.0-0`:`>=${fe}.${Ae}.0${se} <${+fe+1}.0.0-0`:Ve?(o("replaceCaret pr",Ve),Ue=fe==="0"?Ae==="0"?`>=${fe}.${Ae}.${Ne}-${Ve} <${fe}.${Ae}.${+Ne+1}-0`:`>=${fe}.${Ae}.${Ne}-${Ve} <${fe}.${+Ae+1}.0-0`:`>=${fe}.${Ae}.${Ne}-${Ve} <${+fe+1}.0.0-0`):(o("no pr"),Ue=fe==="0"?Ae==="0"?`>=${fe}.${Ae}.${Ne}${se} <${fe}.${Ae}.${+Ne+1}-0`:`>=${fe}.${Ae}.${Ne}${se} <${fe}.${+Ae+1}.0-0`:`>=${fe}.${Ae}.${Ne} <${+fe+1}.0.0-0`),o("caret return",Ue),Ue})},ri=(B,V)=>(o("replaceXRanges",B,V),B.split(/\s+/).map(z=>xn(z,V)).join(" ")),xn=(B,V)=>{B=B.trim();let z=V.loose?Ct[Tt.XRANGELOOSE]:Ct[Tt.XRANGE];return B.replace(z,(se,le,fe,Ae,Ne,Ve)=>{o("xRange",B,se,le,fe,Ae,Ne,Ve);let Ue=It(fe),Ke=Ue||It(Ae),He=Ke||It(Ne),nt=He;return le==="="&&nt&&(le=""),Ve=V.includePrerelease?"-0":"",Ue?se=le===">"||le==="<"?"<0.0.0-0":"*":le&&nt?(Ke&&(Ae=0),Ne=0,le===">"?(le=">=",Ke?(fe=+fe+1,Ae=0,Ne=0):(Ae=+Ae+1,Ne=0)):le==="<="&&(le="<",Ke?fe=+fe+1:Ae=+Ae+1),le==="<"&&(Ve="-0"),se=`${le+fe}.${Ae}.${Ne}${Ve}`):Ke?se=`>=${fe}.0.0${Ve} <${+fe+1}.0.0-0`:He&&(se=`>=${fe}.${Ae}.0${Ve} <${fe}.${+Ae+1}.0-0`),o("xRange return",se),se})},gr=(B,V)=>(o("replaceStars",B,V),B.trim().replace(Ct[Tt.STAR],"")),pr=(B,V)=>(o("replaceGTE0",B,V),B.trim().replace(Ct[V.includePrerelease?Tt.GTE0PRE:Tt.GTE0],"")),ur=B=>(V,z,se,le,fe,Ae,Ne,Ve,Ue,Ke,He,nt,Je)=>`${z=It(se)?"":It(le)?`>=${se}.0.0${B?"-0":""}`:It(fe)?`>=${se}.${le}.0${B?"-0":""}`:Ae?`>=${z}`:`>=${z}${B?"-0":""}`} ${Ve=It(Ue)?"":It(Ke)?`<${+Ue+1}.0.0-0`:It(He)?`<${Ue}.${+Ke+1}.0-0`:nt?`<=${Ue}.${Ke}.${He}-${nt}`:B?`<${Ue}.${Ke}.${+He+1}-0`:`<=${Ve}`}`.trim(),Jr=(B,V,z)=>{for(let se=0;se<B.length;se++)if(!B[se].test(V))return!1;if(V.prerelease.length&&!z.includePrerelease){for(let se=0;se<B.length;se++)if(o(B[se].semver),B[se].semver!==Ge.ANY&&B[se].semver.prerelease.length>0){let le=B[se].semver;if(le.major===V.major&&le.minor===V.minor&&le.patch===V.patch)return!0}return!1}return!0},Mr=Symbol("SemVer ANY");class Br{static get ANY(){return Mr}constructor(V,z){if(z=m(z),V instanceof Br){if(V.loose===!!z.loose)return V;V=V.value}o("comparator",V,z),this.options=z,this.loose=!!z.loose,this.parse(V),this.semver===Mr?this.value="":this.value=this.operator+this.semver.version,o("comp",this)}parse(V){let z=this.options.loose?fn[jn.COMPARATORLOOSE]:fn[jn.COMPARATOR],se=V.match(z);if(!se)throw new TypeError(`Invalid comparator: ${V}`);this.operator=se[1]!==void 0?se[1]:"",this.operator==="="&&(this.operator=""),se[2]?this.semver=new H(se[2],this.options.loose):this.semver=Mr}toString(){return this.value}test(V){if(o("Comparator.test",V,this.options.loose),this.semver===Mr||V===Mr)return!0;if(typeof V=="string")try{V=new H(V,this.options)}catch (e46){return!1}return ee(V,this.operator,this.semver,this.options)}intersects(V,z){if(!(V instanceof Br))throw new TypeError("a Comparator is required");if(z&&typeof z=="object"||(z={loose:!!z,includePrerelease:!1}),this.operator==="")return this.value===""||new Lt(V.value,z).test(this.value);if(V.operator==="")return V.value===""||new Lt(this.value,z).test(V.semver);let se=!(this.operator!==">="&&this.operator!==">"||V.operator!==">="&&V.operator!==">"),le=!(this.operator!=="<="&&this.operator!=="<"||V.operator!=="<="&&V.operator!=="<"),fe=this.semver.version===V.semver.version,Ae=!(this.operator!==">="&&this.operator!=="<="||V.operator!==">="&&V.operator!=="<="),Ne=ee(this.semver,"<",V.semver,z)&&(this.operator===">="||this.operator===">")&&(V.operator==="<="||V.operator==="<"),Ve=ee(this.semver,">",V.semver,z)&&(this.operator==="<="||this.operator==="<")&&(V.operator===">="||V.operator===">");return se||le||fe&&Ae||Ne||Ve}}var Ge=Br;let{re:fn,t:jn}=y;var bt=(B,V,z)=>{try{V=new Lt(V,z)}catch (e47){return!1}return V.test(B)},Jt=(B,V)=>new Lt(B,V).set.map(z=>z.map(se=>se.value).join(" ").trim().split(" ")),Rn=(B,V,z)=>{let se=null,le=null,fe=null;try{fe=new Lt(V,z)}catch (e48){return null}return B.forEach(Ae=>{fe.test(Ae)&&(se&&le.compare(Ae)!==-1||(se=Ae,le=new H(se,z)))}),se},fr=(B,V,z)=>{let se=null,le=null,fe=null;try{fe=new Lt(V,z)}catch (e49){return null}return B.forEach(Ae=>{fe.test(Ae)&&(se&&le.compare(Ae)!==1||(se=Ae,le=new H(se,z)))}),se},rr=(B,V)=>{B=new Lt(B,V);let z=new H("0.0.0");if(B.test(z)||(z=new H("0.0.0-0"),B.test(z)))return z;z=null;for(let se=0;se<B.set.length;++se){let le=B.set[se],fe=null;le.forEach(Ae=>{let Ne=new H(Ae.semver.version);switch(Ae.operator){case">":Ne.prerelease.length===0?Ne.patch++:Ne.prerelease.push(0),Ne.raw=Ne.format();case"":case">=":fe&&!me(Ne,fe)||(fe=Ne);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${Ae.operator}`)}}),!fe||z&&!me(z,fe)||(z=fe)}return z&&B.test(z)?z:null},br=(B,V)=>{try{return new Lt(B,V).range||"*"}catch (e50){return null}};let{ANY:$r}=Ge;var nr=(B,V,z,se)=>{let le,fe,Ae,Ne,Ve;switch(B=new H(B,se),V=new Lt(V,se),z){case">":le=me,fe=pe,Ae=Pe,Ne=">",Ve=">=";break;case"<":le=Pe,fe=Re,Ae=me,Ne="<",Ve="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(bt(B,V,se))return!1;for(let Ue=0;Ue<V.set.length;++Ue){let Ke=V.set[Ue],He=null,nt=null;if(Ke.forEach(Je=>{Je.semver===$r&&(Je=new Ge(">=0.0.0")),He=He||Je,nt=nt||Je,le(Je.semver,He.semver,se)?He=Je:Ae(Je.semver,nt.semver,se)&&(nt=Je)}),He.operator===Ne||He.operator===Ve||(!nt.operator||nt.operator===Ne)&&fe(B,nt.semver)||nt.operator===Ve&&Ae(B,nt.semver))return!1}return!0},zt=(B,V,z)=>nr(B,V,">",z),hn=(B,V,z)=>nr(B,V,"<",z),St=(B,V,z)=>(B=new Lt(B,z),V=new Lt(V,z),B.intersects(V));let{ANY:Bt}=Ge,Ln=(B,V,z)=>{if(B===V)return!0;if(B.length===1&&B[0].semver===Bt){if(V.length===1&&V[0].semver===Bt)return!0;B=z.includePrerelease?[new Ge(">=0.0.0-0")]:[new Ge(">=0.0.0")]}if(V.length===1&&V[0].semver===Bt){if(z.includePrerelease)return!0;V=[new Ge(">=0.0.0")]}let se=new Set,le,fe,Ae,Ne,Ve,Ue,Ke;for(let Je of B)Je.operator===">"||Je.operator===">="?le=jr(le,Je,z):Je.operator==="<"||Je.operator==="<="?fe=Ur(fe,Je,z):se.add(Je.semver);if(se.size>1||le&&fe&&(Ae=R(le.semver,fe.semver,z),Ae>0||Ae===0&&(le.operator!==">="||fe.operator!=="<=")))return null;for(let Je of se){if(le&&!bt(Je,String(le),z)||fe&&!bt(Je,String(fe),z))return null;for(let sr of V)if(!bt(Je,String(sr),z))return!1;return!0}let He=!(!fe||z.includePrerelease||!fe.semver.prerelease.length)&&fe.semver,nt=!(!le||z.includePrerelease||!le.semver.prerelease.length)&&le.semver;He&&He.prerelease.length===1&&fe.operator==="<"&&He.prerelease[0]===0&&(He=!1);for(let Je of V){if(Ke=Ke||Je.operator===">"||Je.operator===">=",Ue=Ue||Je.operator==="<"||Je.operator==="<=",le){if(nt&&Je.semver.prerelease&&Je.semver.prerelease.length&&Je.semver.major===nt.major&&Je.semver.minor===nt.minor&&Je.semver.patch===nt.patch&&(nt=!1),Je.operator===">"||Je.operator===">="){if(Ne=jr(le,Je,z),Ne===Je&&Ne!==le)return!1}else if(le.operator===">="&&!bt(le.semver,String(Je),z))return!1}if(fe){if(He&&Je.semver.prerelease&&Je.semver.prerelease.length&&Je.semver.major===He.major&&Je.semver.minor===He.minor&&Je.semver.patch===He.patch&&(He=!1),Je.operator==="<"||Je.operator==="<="){if(Ve=Ur(fe,Je,z),Ve===Je&&Ve!==fe)return!1}else if(fe.operator==="<="&&!bt(fe.semver,String(Je),z))return!1}if(!Je.operator&&(fe||le)&&Ae!==0)return!1}return!(le&&Ue&&!fe&&Ae!==0)&&!(fe&&Ke&&!le&&Ae!==0)&&!nt&&!He},jr=(B,V,z)=>{if(!B)return V;let se=R(B.semver,V.semver,z);return se>0?B:se<0||V.operator===">"&&B.operator===">="?V:B},Ur=(B,V,z)=>{if(!B)return V;let se=R(B.semver,V.semver,z);return se<0?B:se>0||V.operator==="<"&&B.operator==="<="?V:B};var zr=(B,V,z={})=>{if(B===V)return!0;B=new Lt(B,z),V=new Lt(V,z);let se=!1;e:for(let le of B.set){for(let fe of V.set){let Ae=Ln(le,fe,z);if(se=se||Ae!==null,Ae)continue e}if(se)return!1}return!0},wt={re:y.re,src:y.src,tokens:y.t,SEMVER_SPEC_VERSION:p.SEMVER_SPEC_VERSION,SemVer:H,compareIdentifiers:C.compareIdentifiers,rcompareIdentifiers:C.rcompareIdentifiers,parse:L,valid:D,clean:_,inc:F,diff:J,major:ne,minor:re,patch:ae,prerelease:de,compare:R,rcompare:he,compareLoose:De,compareBuild:Te,sort:Ce,rsort:ye,gt:me,lt:Pe,eq:W,neq:xe,gte:Re,lte:pe,cmp:ee,coerce:Oe,Comparator:Ge,Range:Lt,satisfies:bt,toComparators:Jt,maxSatisfying:Rn,minSatisfying:fr,minVersion:rr,validRange:br,outside:nr,gtr:zt,ltr:hn,intersects:St,simplifyRange:(B,V,z)=>{let se=[],le=null,fe=null,Ae=B.sort((Ke,He)=>R(Ke,He,z));for(let Ke of Ae)bt(Ke,V,z)?(fe=Ke,le||(le=Ke)):(fe&&se.push([le,fe]),fe=null,le=null);le&&se.push([le,null]);let Ne=[];for(let[Ke,He]of se)Ke===He?Ne.push(Ke):He||Ke!==Ae[0]?He?Ke===Ae[0]?Ne.push(`<=${He}`):Ne.push(`${Ke} - ${He}`):Ne.push(`>=${Ke}`):Ne.push("*");let Ve=Ne.join(" || "),Ue=typeof V.raw=="string"?V.raw:String(V);return Ve.length<Ue.length?Ve:V},subset:zr};let Er={read:function(B){return Ee(r().dirname(B))}};function Ee(B){try{return{string:t().default.readFileSync(r().toNamespacedPath(r().join(B,"package.json")),"utf8")}}catch(V){if(V.code==="ENOENT"){let z=r().dirname(B);return B!==z?Ee(z):{string:void 0}}throw V}}let s=process.platform==="win32",l={}.hasOwnProperty,g={},w=new Map,U;function q(B,V,z){return w.set(B,V),function(se,le){return fe;function fe(...Ae){let Ne=Error.stackTraceLimit;ce()&&(Error.stackTraceLimit=0);let Ve=new se;ce()&&(Error.stackTraceLimit=Ne);let Ue=function(Ke,He,nt){let Je=w.get(Ke);if(typeof Je=="function")return i()(Je.length<=He.length,`Code: ${Ke}; The provided arguments length (${He.length}) does not match the required ones (${Je.length}).`),Reflect.apply(Je,nt,He);let sr=(Je.match(/%[dfijoOs]/g)||[]).length;return i()(sr===He.length,`Code: ${Ke}; The provided arguments length (${He.length}) does not match the required ones (${sr}).`),He.length===0?Je:(He.unshift(Je),Reflect.apply(a().format,null,He))}(le,Ae,Ve);return Object.defineProperty(Ve,"message",{value:Ue,enumerable:!1,writable:!0,configurable:!0}),Object.defineProperty(Ve,"toString",{value(){return`${this.name} [${le}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}),oe(Ve,se.name,le),Ve.code=le,Ve}}(z,B)}g.ERR_INVALID_MODULE_SPECIFIER=q("ERR_INVALID_MODULE_SPECIFIER",(B,V,z)=>`Invalid module "${B}" ${V}${z?` imported from ${z}`:""}`,TypeError),g.ERR_INVALID_PACKAGE_CONFIG=q("ERR_INVALID_PACKAGE_CONFIG",(B,V,z)=>`Invalid package config ${B}${V?` while importing ${V}`:""}${z?`. ${z}`:""}`,Error),g.ERR_INVALID_PACKAGE_TARGET=q("ERR_INVALID_PACKAGE_TARGET",(B,V,z,se=!1,le)=>{let fe=typeof z=="string"&&!se&&z.length>0&&!z.startsWith("./");return V==="."?(i()(se===!1),`Invalid "exports" main target ${JSON.stringify(z)} defined in the package config ${B}package.json${le?` imported from ${le}`:""}${fe?'; targets must start with "./"':""}`):`Invalid "${se?"imports":"exports"}" target ${JSON.stringify(z)} defined for '${V}' in the package config ${B}package.json${le?` imported from ${le}`:""}${fe?'; targets must start with "./"':""}`},Error),g.ERR_MODULE_NOT_FOUND=q("ERR_MODULE_NOT_FOUND",(B,V,z="package")=>`Cannot find ${z} '${B}' imported from ${V}`,Error),g.ERR_PACKAGE_IMPORT_NOT_DEFINED=q("ERR_PACKAGE_IMPORT_NOT_DEFINED",(B,V,z)=>`Package import specifier "${B}" is not defined${V?` in package ${V}package.json`:""} imported from ${z}`,TypeError),g.ERR_PACKAGE_PATH_NOT_EXPORTED=q("ERR_PACKAGE_PATH_NOT_EXPORTED",(B,V,z)=>V==="."?`No "exports" main defined in ${B}package.json${z?` imported from ${z}`:""}`:`Package subpath '${V}' is not defined by "exports" in ${B}package.json${z?` imported from ${z}`:""}`,Error),g.ERR_UNSUPPORTED_DIR_IMPORT=q("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),g.ERR_UNKNOWN_FILE_EXTENSION=q("ERR_UNKNOWN_FILE_EXTENSION",'Unknown file extension "%s" for %s',TypeError),g.ERR_INVALID_ARG_VALUE=q("ERR_INVALID_ARG_VALUE",(B,V,z="is invalid")=>{let se=(0,a().inspect)(V);return se.length>128&&(se=`${se.slice(0,128)}...`),`The ${B.includes(".")?"property":"argument"} '${B}' ${z}. Received ${se}`},TypeError),g.ERR_UNSUPPORTED_ESM_URL_SCHEME=q("ERR_UNSUPPORTED_ESM_URL_SCHEME",B=>{let V="Only file and data URLs are supported by the default ESM loader";return s&&B.protocol.length===2&&(V+=". On Windows, absolute paths must be valid file:// URLs"),V+=`. Received protocol '${B.protocol}'`,V},Error);let oe=ve(function(B,V,z){(B=Ie(B)).name=`${V} [${z}]`,B.stack,V==="SystemError"?Object.defineProperty(B,"name",{value:V,enumerable:!1,writable:!0,configurable:!0}):delete B.name});function ce(){let B=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return B===void 0?Object.isExtensible(Error):l.call(B,"writable")?B.writable:B.set!==void 0}function ve(B){let V="__node_internal_"+B.name;return Object.defineProperty(B,"name",{value:V}),B}let Ie=ve(function(B){let V=ce();return V&&(U=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(B),V&&(Error.stackTraceLimit=U),B}),{ERR_UNKNOWN_FILE_EXTENSION:We}=g,Qe={__proto__:null,".cjs":"commonjs",".js":"module",".mjs":"module"};function qe(B){if(B.startsWith("node:"))return{format:"builtin"};let V=new(n()).URL(B);if(V.protocol==="data:"){let{1:z}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(V.pathname)||[null,null];return{format:z==="text/javascript"?"module":null}}if(V.protocol==="file:"){let z=r().extname(V.pathname),se;if(se=z===".js"?function(le){return yn(le).type}(V.href)==="module"?"module":"commonjs":Qe[z],!se)throw new We(z,(0,n().fileURLToPath)(B));return{format:se||null}}return{format:null}}let yt=function({version:B=process.version,experimental:V=!1}={}){var z=["assert","buffer","child_process","cluster","console","constants","crypto","dgram","dns","domain","events","fs","http","https","module","net","os","path","punycode","querystring","readline","repl","stream","string_decoder","sys","timers","tls","tty","url","util","vm","zlib"];return wt.lt(B,"6.0.0")&&z.push("freelist"),wt.gte(B,"1.0.0")&&z.push("v8"),wt.gte(B,"1.1.0")&&z.push("process"),wt.gte(B,"8.0.0")&&z.push("inspector"),wt.gte(B,"8.1.0")&&z.push("async_hooks"),wt.gte(B,"8.4.0")&&z.push("http2"),wt.gte(B,"8.5.0")&&z.push("perf_hooks"),wt.gte(B,"10.0.0")&&z.push("trace_events"),wt.gte(B,"10.5.0")&&(V||wt.gte(B,"12.0.0"))&&z.push("worker_threads"),wt.gte(B,"12.16.0")&&V&&z.push("wasi"),z}(),{ERR_INVALID_MODULE_SPECIFIER:it,ERR_INVALID_PACKAGE_CONFIG:ht,ERR_INVALID_PACKAGE_TARGET:Et,ERR_MODULE_NOT_FOUND:ir,ERR_PACKAGE_IMPORT_NOT_DEFINED:$t,ERR_PACKAGE_PATH_NOT_EXPORTED:Rs,ERR_UNSUPPORTED_DIR_IMPORT:Ls,ERR_UNSUPPORTED_ESM_URL_SCHEME:Fs,ERR_INVALID_ARG_VALUE:ks}=g,Ni={}.hasOwnProperty,xi=Object.freeze(["node","import"]),Ms=new Set(xi),ji=/(^|\\|\/)(\.\.?|node_modules)(\\|\/|$)/,Ri=/\*/g,Bs=/%2f|%2c/i,qr=new Set,Vr=new Map;function mn(B,V,z,se){let le=(0,n().fileURLToPath)(V);qr.has(le+"|"+B)||(qr.add(le+"|"+B),process.emitWarning(`Use of deprecated folder mapping "${B}" in the ${z?'"exports"':'"imports"'} field module resolution of the package at ${le}${se?` imported from ${(0,n().fileURLToPath)(se)}`:""}.
|
|
92
|
+
`+n().fromObject(m).toComment()),u.sourceMaps==="inline"&&(m=null),{outputCode:d,outputMap:m}};var r=c("./node_modules/@babel/core/lib/transformation/file/merge-map.js")},"./node_modules/@babel/core/lib/transformation/file/merge-map.js":(A,e,c)=>{"use strict";function n(){let i=c("./node_modules/@babel/core/node_modules/source-map/source-map.js");return n=function(){return i},i}function t(i){return`${i.line}/${i.columnStart}`}function r(i){let a=new(n()).SourceMapConsumer(Object.assign({},i,{sourceRoot:null})),u=new Map,f=new Map,h=null;return a.computeColumnSpans(),a.eachMapping(p=>{if(p.originalLine===null)return;let o=u.get(p.source);o||(o={path:p.source,content:a.sourceContentFor(p.source,!0)},u.set(p.source,o));let y=f.get(o);y||(y={source:o,mappings:[]},f.set(o,y));let d={line:p.originalLine,columnStart:p.originalColumn,columnEnd:1/0,name:p.name};h&&h.source===o&&h.mapping.line===p.originalLine&&(h.mapping.columnEnd=p.originalColumn),h={source:o,mapping:d},y.mappings.push({original:d,generated:a.allGeneratedPositionsFor({source:p.source,line:p.originalLine,column:p.originalColumn}).map(m=>({line:m.line,columnStart:m.column,columnEnd:m.lastColumn+1}))})},null,n().SourceMapConsumer.ORIGINAL_ORDER),{file:i.file,sourceRoot:i.sourceRoot,sources:Array.from(f.values())}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i,a){let u=r(i),f=r(a),h=new(n()).SourceMapGenerator;for(let{source:o}of u.sources)typeof o.content=="string"&&h.setSourceContent(o.path,o.content);if(f.sources.length===1){let o=f.sources[0],y=new Map;(function(d,m){for(let{source:S,mappings:T}of d.sources)for(let{original:C,generated:v}of T)for(let k of v)m(k,C,S)})(u,(d,m,S)=>{(function(T,C,v){let k=function({mappings:O},{line:x,columnStart:M,columnEnd:$}){return function(H,Q){let K=function(L,D){let _=0,F=L.length;for(;_<F;){let W=Math.floor((_+F)/2),J=D(L[W]);if(J===0){_=W;break}J>=0?F=W:_=W+1}let R=_;if(R<L.length){for(;R>=0&&D(L[R])>=0;)R--;return R+1}return R}(H,Q),Y=[];for(let L=K;L<H.length&&Q(H[L])===0;L++)Y.push(H[L]);return Y}(O,({original:H})=>x>H.line?-1:x<H.line?1:M>=H.columnEnd?-1:$<=H.columnStart?1:0)}(T,C);for(let{generated:O}of k)for(let x of O)v(x)})(o,d,T=>{let C=t(T);y.has(C)||(y.set(C,T),h.addMapping({source:S.path,original:{line:m.line,column:m.columnStart},generated:{line:T.line,column:T.columnStart},name:m.name}))})});for(let d of y.values()){if(d.columnEnd===1/0)continue;let m={line:d.line,columnStart:d.columnEnd},S=t(m);y.has(S)||h.addMapping({generated:{line:m.line,column:m.columnStart}})}}let p=h.toJSON();return typeof u.sourceRoot=="string"&&(p.sourceRoot=u.sourceRoot),p}},"./node_modules/@babel/core/lib/transformation/index.js":(A,e,c)=>{"use strict";function n(){let h=c("./node_modules/@babel/traverse/lib/index.js");return n=function(){return h},h}Object.defineProperty(e,"__esModule",{value:!0}),e.run=function*(h,p,o){let y=yield*(0,a.default)(h.passes,(0,i.default)(h),p,o),d=y.opts;try{yield*function*(v,k){for(let O of k){let x=[],M=[],$=[];for(let Q of O.concat([(0,r.default)()])){let K=new t.default(v,Q.key,Q.options);x.push([Q,K]),M.push(K),$.push(Q.visitor)}for(let[Q,K]of x){let Y=Q.pre;if(Y){let L=Y.call(K,v);if(yield*[],f(L))throw new Error("You appear to be using an plugin with an async .pre, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}}let H=n().default.visitors.merge($,M,v.opts.wrapPluginVisitorMethod);(0,n().default)(v.ast,H,v.scope);for(let[Q,K]of x){let Y=Q.post;if(Y){let L=Y.call(K,v);if(yield*[],f(L))throw new Error("You appear to be using an plugin with an async .post, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}}}}(y,h.passes)}catch(v){var m;throw v.message=`${(m=d.filename)!=null?m:"unknown"}: ${v.message}`,v.code||(v.code="BABEL_TRANSFORM_ERROR"),v}let S,T;try{d.code!==!1&&({outputCode:S,outputMap:T}=(0,u.default)(h.passes,y))}catch(v){var C;throw v.message=`${(C=d.filename)!=null?C:"unknown"}: ${v.message}`,v.code||(v.code="BABEL_GENERATE_ERROR"),v}return{metadata:y.metadata,options:d,ast:d.ast===!0?y.ast:null,code:S===void 0?null:S,map:T===void 0?null:T,sourceType:y.ast.program.sourceType}};var t=c("./node_modules/@babel/core/lib/transformation/plugin-pass.js"),r=c("./node_modules/@babel/core/lib/transformation/block-hoist-plugin.js"),i=c("./node_modules/@babel/core/lib/transformation/normalize-opts.js"),a=c("./node_modules/@babel/core/lib/transformation/normalize-file.js"),u=c("./node_modules/@babel/core/lib/transformation/file/generate.js");function f(h){return!(!h||typeof h!="object"&&typeof h!="function"||!h.then||typeof h.then!="function")}},"./node_modules/@babel/core/lib/transformation/normalize-file.js":(A,e,c)=>{"use strict";function n(){let C=c("fs");return n=function(){return C},C}function t(){let C=c("path");return t=function(){return C},C}function r(){let C=c("./node_modules/debug/src/index.js");return r=function(){return C},C}function i(){let C=c("./node_modules/@babel/types/lib/index.js");return i=function(){return C},C}function a(){let C=c("./node_modules/convert-source-map/index.js");return a=function(){return C},C}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function*(C,v,k,O){if(k=`${k||""}`,O){if(O.type==="Program")O=p(O,[],[]);else if(O.type!=="File")throw new Error("AST root must be a Program or File node");v.cloneInputAst&&(O=(0,h.default)(O))}else O=yield*(0,f.default)(C,v,k);let x=null;if(v.inputSourceMap!==!1){if(typeof v.inputSourceMap=="object"&&(x=a().fromObject(v.inputSourceMap)),!x){let M=T(d,O);if(M)try{x=a().fromComment(M)}catch($){y("discarding unknown inline input sourcemap",$)}}if(!x){let M=T(m,O);if(typeof v.filename=="string"&&M)try{let $=m.exec(M),H=n().readFileSync(t().resolve(t().dirname(v.filename),$[1]));H.length>1e6?y("skip merging input map > 1 MB"):x=a().fromJSON(H)}catch($){y("discarding unknown file input sourcemap",$)}else M&&y("discarding un-loadable file input sourcemap")}}return new u.default(v,{code:k,ast:O,inputMap:x})};var u=c("./node_modules/@babel/core/lib/transformation/file/file.js"),f=c("./node_modules/@babel/core/lib/parser/index.js"),h=c("./node_modules/@babel/core/lib/transformation/util/clone-deep.js");let{file:p,traverseFast:o}=i(),y=r()("babel:transform:file"),d=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/,m=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function S(C,v,k){return v&&(v=v.filter(({value:O})=>!C.test(O)||(k=O,!1))),[v,k]}function T(C,v){let k=null;return o(v,O=>{[O.leadingComments,k]=S(C,O.leadingComments,k),[O.innerComments,k]=S(C,O.innerComments,k),[O.trailingComments,k]=S(C,O.trailingComments,k)}),k}},"./node_modules/@babel/core/lib/transformation/normalize-opts.js":(A,e,c)=>{"use strict";function n(){let t=c("path");return n=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){let{filename:r,cwd:i,filenameRelative:a=typeof r=="string"?n().relative(i,r):"unknown",sourceType:u="module",inputSourceMap:f,sourceMaps:h=!!f,sourceRoot:p=t.options.moduleRoot,sourceFileName:o=n().basename(a),comments:y=!0,compact:d="auto"}=t.options,m=t.options,S=Object.assign({},m,{parserOpts:Object.assign({sourceType:n().extname(a)===".mjs"?"module":u,sourceFileName:r,plugins:[]},m.parserOpts),generatorOpts:Object.assign({filename:r,auxiliaryCommentBefore:m.auxiliaryCommentBefore,auxiliaryCommentAfter:m.auxiliaryCommentAfter,retainLines:m.retainLines,comments:y,shouldPrintComment:m.shouldPrintComment,compact:d,minified:m.minified,sourceMaps:h,sourceRoot:p,sourceFileName:o},m.generatorOpts)});for(let T of t.passes)for(let C of T)C.manipulateOptions&&C.manipulateOptions(S,S.parserOpts);return S}},"./node_modules/@babel/core/lib/transformation/plugin-pass.js":(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;class c{constructor(t,r,i){this._map=new Map,this.key=void 0,this.file=void 0,this.opts=void 0,this.cwd=void 0,this.filename=void 0,this.key=r,this.file=t,this.opts=i||{},this.cwd=t.opts.cwd,this.filename=t.opts.filename}set(t,r){this._map.set(t,r)}get(t){return this._map.get(t)}availableHelper(t,r){return this.file.availableHelper(t,r)}addHelper(t){return this.file.addHelper(t)}addImport(){return this.file.addImport()}buildCodeFrameError(t,r,i){return this.file.buildCodeFrameError(t,r,i)}}e.default=c,c.prototype.getModuleName=function(){return this.file.getModuleName()}},"./node_modules/@babel/core/lib/transformation/util/clone-deep-browser.js":(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(r){return JSON.parse(JSON.stringify(r,n),t)};let c="$$ babel internal serialized type"+Math.random();function n(r,i){return typeof i!="bigint"?i:{[c]:"BigInt",value:i.toString()}}function t(r,i){return i&&typeof i=="object"?i[c]!=="BigInt"?i:BigInt(i.value):i}},"./node_modules/@babel/core/lib/transformation/util/clone-deep.js":(A,e,c)=>{"use strict";function n(){let r=c("v8");return n=function(){return r},r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(r){return n().deserialize&&n().serialize?n().deserialize(n().serialize(r)):(0,t.default)(r)};var t=c("./node_modules/@babel/core/lib/transformation/util/clone-deep-browser.js")},"./node_modules/@babel/core/lib/vendor/import-meta-resolve.js":(A,e,c)=>{"use strict";function n(){let B=c("url");return n=function(){return B},B}function t(){let B=function(V,z){if(!z&&V&&V.__esModule)return V;if(V===null||typeof V!="object"&&typeof V!="function")return{default:V};var se=u(z);if(se&&se.has(V))return se.get(V);var le={},fe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ae in V)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(V,Ae)){var Ne=fe?Object.getOwnPropertyDescriptor(V,Ae):null;Ne&&(Ne.get||Ne.set)?Object.defineProperty(le,Ae,Ne):le[Ae]=V[Ae]}return le.default=V,se&&se.set(V,le),le}(c("fs"),!0);return t=function(){return B},B}function r(){let B=c("path");return r=function(){return B},B}function i(){let B=c("assert");return i=function(){return B},B}function a(){let B=c("util");return a=function(){return B},B}function u(B){if(typeof WeakMap!="function")return null;var V=new WeakMap,z=new WeakMap;return(u=function(se){return se?z:V})(B)}function f(B,V,z,se,le,fe,Ae){try{var Ne=B[fe](Ae),Ve=Ne.value}catch(Ue){return void z(Ue)}Ne.done?V(Ve):Promise.resolve(Ve).then(se,le)}function h(B){return function(){var V=this,z=arguments;return new Promise(function(se,le){var fe=B.apply(V,z);function Ae(Ve){f(fe,se,le,Ae,Ne,"next",Ve)}function Ne(Ve){f(fe,se,le,Ae,Ne,"throw",Ve)}Ae(void 0)})}}Object.defineProperty(e,"__esModule",{value:!0}),e.moduleResolve=Bi,e.resolve=function(B,V){return $i.apply(this,arguments)};var p={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},o=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...B)=>console.error("SEMVER",...B):()=>{},y=function(B){var V={exports:{}};return B(V,V.exports),V.exports}(function(B,V){let{MAX_SAFE_COMPONENT_LENGTH:z}=p,se=(V=B.exports={}).re=[],le=V.src=[],fe=V.t={},Ae=0,Ne=(Ve,Ue,Ke)=>{let He=Ae++;o(He,Ue),fe[Ve]=He,le[He]=Ue,se[He]=new RegExp(Ue,Ke?"g":void 0)};Ne("NUMERICIDENTIFIER","0|[1-9]\\d*"),Ne("NUMERICIDENTIFIERLOOSE","[0-9]+"),Ne("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),Ne("MAINVERSION",`(${le[fe.NUMERICIDENTIFIER]})\\.(${le[fe.NUMERICIDENTIFIER]})\\.(${le[fe.NUMERICIDENTIFIER]})`),Ne("MAINVERSIONLOOSE",`(${le[fe.NUMERICIDENTIFIERLOOSE]})\\.(${le[fe.NUMERICIDENTIFIERLOOSE]})\\.(${le[fe.NUMERICIDENTIFIERLOOSE]})`),Ne("PRERELEASEIDENTIFIER",`(?:${le[fe.NUMERICIDENTIFIER]}|${le[fe.NONNUMERICIDENTIFIER]})`),Ne("PRERELEASEIDENTIFIERLOOSE",`(?:${le[fe.NUMERICIDENTIFIERLOOSE]}|${le[fe.NONNUMERICIDENTIFIER]})`),Ne("PRERELEASE",`(?:-(${le[fe.PRERELEASEIDENTIFIER]}(?:\\.${le[fe.PRERELEASEIDENTIFIER]})*))`),Ne("PRERELEASELOOSE",`(?:-?(${le[fe.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${le[fe.PRERELEASEIDENTIFIERLOOSE]})*))`),Ne("BUILDIDENTIFIER","[0-9A-Za-z-]+"),Ne("BUILD",`(?:\\+(${le[fe.BUILDIDENTIFIER]}(?:\\.${le[fe.BUILDIDENTIFIER]})*))`),Ne("FULLPLAIN",`v?${le[fe.MAINVERSION]}${le[fe.PRERELEASE]}?${le[fe.BUILD]}?`),Ne("FULL",`^${le[fe.FULLPLAIN]}$`),Ne("LOOSEPLAIN",`[v=\\s]*${le[fe.MAINVERSIONLOOSE]}${le[fe.PRERELEASELOOSE]}?${le[fe.BUILD]}?`),Ne("LOOSE",`^${le[fe.LOOSEPLAIN]}$`),Ne("GTLT","((?:<|>)?=?)"),Ne("XRANGEIDENTIFIERLOOSE",`${le[fe.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Ne("XRANGEIDENTIFIER",`${le[fe.NUMERICIDENTIFIER]}|x|X|\\*`),Ne("XRANGEPLAIN",`[v=\\s]*(${le[fe.XRANGEIDENTIFIER]})(?:\\.(${le[fe.XRANGEIDENTIFIER]})(?:\\.(${le[fe.XRANGEIDENTIFIER]})(?:${le[fe.PRERELEASE]})?${le[fe.BUILD]}?)?)?`),Ne("XRANGEPLAINLOOSE",`[v=\\s]*(${le[fe.XRANGEIDENTIFIERLOOSE]})(?:\\.(${le[fe.XRANGEIDENTIFIERLOOSE]})(?:\\.(${le[fe.XRANGEIDENTIFIERLOOSE]})(?:${le[fe.PRERELEASELOOSE]})?${le[fe.BUILD]}?)?)?`),Ne("XRANGE",`^${le[fe.GTLT]}\\s*${le[fe.XRANGEPLAIN]}$`),Ne("XRANGELOOSE",`^${le[fe.GTLT]}\\s*${le[fe.XRANGEPLAINLOOSE]}$`),Ne("COERCE",`(^|[^\\d])(\\d{1,${z}})(?:\\.(\\d{1,${z}}))?(?:\\.(\\d{1,${z}}))?(?:$|[^\\d])`),Ne("COERCERTL",le[fe.COERCE],!0),Ne("LONETILDE","(?:~>?)"),Ne("TILDETRIM",`(\\s*)${le[fe.LONETILDE]}\\s+`,!0),V.tildeTrimReplace="$1~",Ne("TILDE",`^${le[fe.LONETILDE]}${le[fe.XRANGEPLAIN]}$`),Ne("TILDELOOSE",`^${le[fe.LONETILDE]}${le[fe.XRANGEPLAINLOOSE]}$`),Ne("LONECARET","(?:\\^)"),Ne("CARETTRIM",`(\\s*)${le[fe.LONECARET]}\\s+`,!0),V.caretTrimReplace="$1^",Ne("CARET",`^${le[fe.LONECARET]}${le[fe.XRANGEPLAIN]}$`),Ne("CARETLOOSE",`^${le[fe.LONECARET]}${le[fe.XRANGEPLAINLOOSE]}$`),Ne("COMPARATORLOOSE",`^${le[fe.GTLT]}\\s*(${le[fe.LOOSEPLAIN]})$|^$`),Ne("COMPARATOR",`^${le[fe.GTLT]}\\s*(${le[fe.FULLPLAIN]})$|^$`),Ne("COMPARATORTRIM",`(\\s*)${le[fe.GTLT]}\\s*(${le[fe.LOOSEPLAIN]}|${le[fe.XRANGEPLAIN]})`,!0),V.comparatorTrimReplace="$1$2$3",Ne("HYPHENRANGE",`^\\s*(${le[fe.XRANGEPLAIN]})\\s+-\\s+(${le[fe.XRANGEPLAIN]})\\s*$`),Ne("HYPHENRANGELOOSE",`^\\s*(${le[fe.XRANGEPLAINLOOSE]})\\s+-\\s+(${le[fe.XRANGEPLAINLOOSE]})\\s*$`),Ne("STAR","(<|>)?=?\\s*\\*"),Ne("GTE0","^\\s*>=\\s*0.0.0\\s*$"),Ne("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")});let d=["includePrerelease","loose","rtl"];var m=B=>B?typeof B!="object"?{loose:!0}:d.filter(V=>B[V]).reduce((V,z)=>(V[z]=!0,V),{}):{};let S=/^[0-9]+$/,T=(B,V)=>{let z=S.test(B),se=S.test(V);return z&&se&&(B=+B,V=+V),B===V?0:z&&!se?-1:se&&!z?1:B<V?-1:1};var C={compareIdentifiers:T,rcompareIdentifiers:(B,V)=>T(V,B)};let{MAX_LENGTH:v,MAX_SAFE_INTEGER:k}=p,{re:O,t:x}=y,{compareIdentifiers:M}=C;class ${constructor(V,z){if(z=m(z),V instanceof $){if(V.loose===!!z.loose&&V.includePrerelease===!!z.includePrerelease)return V;V=V.version}else if(typeof V!="string")throw new TypeError(`Invalid Version: ${V}`);if(V.length>v)throw new TypeError(`version is longer than ${v} characters`);o("SemVer",V,z),this.options=z,this.loose=!!z.loose,this.includePrerelease=!!z.includePrerelease;let se=V.trim().match(z.loose?O[x.LOOSE]:O[x.FULL]);if(!se)throw new TypeError(`Invalid Version: ${V}`);if(this.raw=V,this.major=+se[1],this.minor=+se[2],this.patch=+se[3],this.major>k||this.major<0)throw new TypeError("Invalid major version");if(this.minor>k||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>k||this.patch<0)throw new TypeError("Invalid patch version");se[4]?this.prerelease=se[4].split(".").map(le=>{if(/^[0-9]+$/.test(le)){let fe=+le;if(fe>=0&&fe<k)return fe}return le}):this.prerelease=[],this.build=se[5]?se[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(V){if(o("SemVer.compare",this.version,this.options,V),!(V instanceof $)){if(typeof V=="string"&&V===this.version)return 0;V=new $(V,this.options)}return V.version===this.version?0:this.compareMain(V)||this.comparePre(V)}compareMain(V){return V instanceof $||(V=new $(V,this.options)),M(this.major,V.major)||M(this.minor,V.minor)||M(this.patch,V.patch)}comparePre(V){if(V instanceof $||(V=new $(V,this.options)),this.prerelease.length&&!V.prerelease.length)return-1;if(!this.prerelease.length&&V.prerelease.length)return 1;if(!this.prerelease.length&&!V.prerelease.length)return 0;let z=0;do{let se=this.prerelease[z],le=V.prerelease[z];if(o("prerelease compare",z,se,le),se===void 0&&le===void 0)return 0;if(le===void 0)return 1;if(se===void 0)return-1;if(se!==le)return M(se,le)}while(++z)}compareBuild(V){V instanceof $||(V=new $(V,this.options));let z=0;do{let se=this.build[z],le=V.build[z];if(o("prerelease compare",z,se,le),se===void 0&&le===void 0)return 0;if(le===void 0)return 1;if(se===void 0)return-1;if(se!==le)return M(se,le)}while(++z)}inc(V,z){switch(V){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",z);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",z);break;case"prepatch":this.prerelease.length=0,this.inc("patch",z),this.inc("pre",z);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",z),this.inc("pre",z);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let se=this.prerelease.length;for(;--se>=0;)typeof this.prerelease[se]=="number"&&(this.prerelease[se]++,se=-2);se===-1&&this.prerelease.push(0)}z&&(this.prerelease[0]===z?isNaN(this.prerelease[1])&&(this.prerelease=[z,0]):this.prerelease=[z,0]);break;default:throw new Error(`invalid increment argument: ${V}`)}return this.format(),this.raw=this.version,this}}var H=$;let{MAX_LENGTH:Q}=p,{re:K,t:Y}=y;var L=(B,V)=>{if(V=m(V),B instanceof H)return B;if(typeof B!="string"||B.length>Q||!(V.loose?K[Y.LOOSE]:K[Y.FULL]).test(B))return null;try{return new H(B,V)}catch (e42){return null}},D=(B,V)=>{let z=L(B,V);return z?z.version:null},_=(B,V)=>{let z=L(B.trim().replace(/^[=v]+/,""),V);return z?z.version:null},F=(B,V,z,se)=>{typeof z=="string"&&(se=z,z=void 0);try{return new H(B,z).inc(V,se).version}catch (e43){return null}},R=(B,V,z)=>new H(B,z).compare(new H(V,z)),W=(B,V,z)=>R(B,V,z)===0,J=(B,V)=>{if(W(B,V))return null;{let z=L(B),se=L(V),le=z.prerelease.length||se.prerelease.length,fe=le?"pre":"",Ae=le?"prerelease":"";for(let Ne in z)if((Ne==="major"||Ne==="minor"||Ne==="patch")&&z[Ne]!==se[Ne])return fe+Ne;return Ae}},ne=(B,V)=>new H(B,V).major,re=(B,V)=>new H(B,V).minor,ae=(B,V)=>new H(B,V).patch,de=(B,V)=>{let z=L(B,V);return z&&z.prerelease.length?z.prerelease:null},he=(B,V,z)=>R(V,B,z),De=(B,V)=>R(B,V,!0),Te=(B,V,z)=>{let se=new H(B,z),le=new H(V,z);return se.compare(le)||se.compareBuild(le)},Ce=(B,V)=>B.sort((z,se)=>Te(z,se,V)),ye=(B,V)=>B.sort((z,se)=>Te(se,z,V)),me=(B,V,z)=>R(B,V,z)>0,Pe=(B,V,z)=>R(B,V,z)<0,xe=(B,V,z)=>R(B,V,z)!==0,Re=(B,V,z)=>R(B,V,z)>=0,pe=(B,V,z)=>R(B,V,z)<=0,ee=(B,V,z,se)=>{switch(V){case"===":return typeof B=="object"&&(B=B.version),typeof z=="object"&&(z=z.version),B===z;case"!==":return typeof B=="object"&&(B=B.version),typeof z=="object"&&(z=z.version),B!==z;case"":case"=":case"==":return W(B,z,se);case"!=":return xe(B,z,se);case">":return me(B,z,se);case">=":return Re(B,z,se);case"<":return Pe(B,z,se);case"<=":return pe(B,z,se);default:throw new TypeError(`Invalid operator: ${V}`)}};let{re:ue,t:be}=y;var Oe=(B,V)=>{if(B instanceof H)return B;if(typeof B=="number"&&(B=String(B)),typeof B!="string")return null;let z=null;if((V=V||{}).rtl){let se;for(;(se=ue[be.COERCERTL].exec(B))&&(!z||z.index+z[0].length!==B.length);)z&&se.index+se[0].length===z.index+z[0].length||(z=se),ue[be.COERCERTL].lastIndex=se.index+se[1].length+se[2].length;ue[be.COERCERTL].lastIndex=-1}else z=B.match(ue[be.COERCE]);return z===null?null:L(`${z[2]}.${z[3]||"0"}.${z[4]||"0"}`,V)},$e=Be;function Be(B){var V=this;if(V instanceof Be||(V=new Be),V.tail=null,V.head=null,V.length=0,B&&typeof B.forEach=="function")B.forEach(function(le){V.push(le)});else if(arguments.length>0)for(var z=0,se=arguments.length;z<se;z++)V.push(arguments[z]);return V}function Ye(B,V,z){var se=V===B.head?new et(z,null,V,B):new et(z,V,V.next,B);return se.next===null&&(B.tail=se),se.prev===null&&(B.head=se),B.length++,se}function ke(B,V){B.tail=new et(V,B.tail,null,B),B.head||(B.head=B.tail),B.length++}function we(B,V){B.head=new et(V,null,B.head,B),B.tail||(B.tail=B.head),B.length++}function et(B,V,z,se){if(!(this instanceof et))return new et(B,V,z,se);this.list=se,this.value=B,V?(V.next=this,this.prev=V):this.prev=null,z?(z.prev=this,this.next=z):this.next=null}Be.Node=et,Be.create=Be,Be.prototype.removeNode=function(B){if(B.list!==this)throw new Error("removing node which does not belong to this list");var V=B.next,z=B.prev;return V&&(V.prev=z),z&&(z.next=V),B===this.head&&(this.head=V),B===this.tail&&(this.tail=z),B.list.length--,B.next=null,B.prev=null,B.list=null,V},Be.prototype.unshiftNode=function(B){if(B!==this.head){B.list&&B.list.removeNode(B);var V=this.head;B.list=this,B.next=V,V&&(V.prev=B),this.head=B,this.tail||(this.tail=B),this.length++}},Be.prototype.pushNode=function(B){if(B!==this.tail){B.list&&B.list.removeNode(B);var V=this.tail;B.list=this,B.prev=V,V&&(V.next=B),this.tail=B,this.head||(this.head=B),this.length++}},Be.prototype.push=function(){for(var B=0,V=arguments.length;B<V;B++)ke(this,arguments[B]);return this.length},Be.prototype.unshift=function(){for(var B=0,V=arguments.length;B<V;B++)we(this,arguments[B]);return this.length},Be.prototype.pop=function(){if(this.tail){var B=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,B}},Be.prototype.shift=function(){if(this.head){var B=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,B}},Be.prototype.forEach=function(B,V){V=V||this;for(var z=this.head,se=0;z!==null;se++)B.call(V,z.value,se,this),z=z.next},Be.prototype.forEachReverse=function(B,V){V=V||this;for(var z=this.tail,se=this.length-1;z!==null;se--)B.call(V,z.value,se,this),z=z.prev},Be.prototype.get=function(B){for(var V=0,z=this.head;z!==null&&V<B;V++)z=z.next;if(V===B&&z!==null)return z.value},Be.prototype.getReverse=function(B){for(var V=0,z=this.tail;z!==null&&V<B;V++)z=z.prev;if(V===B&&z!==null)return z.value},Be.prototype.map=function(B,V){V=V||this;for(var z=new Be,se=this.head;se!==null;)z.push(B.call(V,se.value,this)),se=se.next;return z},Be.prototype.mapReverse=function(B,V){V=V||this;for(var z=new Be,se=this.tail;se!==null;)z.push(B.call(V,se.value,this)),se=se.prev;return z},Be.prototype.reduce=function(B,V){var z,se=this.head;if(arguments.length>1)z=V;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");se=this.head.next,z=this.head.value}for(var le=0;se!==null;le++)z=B(z,se.value,le),se=se.next;return z},Be.prototype.reduceReverse=function(B,V){var z,se=this.tail;if(arguments.length>1)z=V;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");se=this.tail.prev,z=this.tail.value}for(var le=this.length-1;se!==null;le--)z=B(z,se.value,le),se=se.prev;return z},Be.prototype.toArray=function(){for(var B=new Array(this.length),V=0,z=this.head;z!==null;V++)B[V]=z.value,z=z.next;return B},Be.prototype.toArrayReverse=function(){for(var B=new Array(this.length),V=0,z=this.tail;z!==null;V++)B[V]=z.value,z=z.prev;return B},Be.prototype.slice=function(B,V){(V=V||this.length)<0&&(V+=this.length),(B=B||0)<0&&(B+=this.length);var z=new Be;if(V<B||V<0)return z;B<0&&(B=0),V>this.length&&(V=this.length);for(var se=0,le=this.head;le!==null&&se<B;se++)le=le.next;for(;le!==null&&se<V;se++,le=le.next)z.push(le.value);return z},Be.prototype.sliceReverse=function(B,V){(V=V||this.length)<0&&(V+=this.length),(B=B||0)<0&&(B+=this.length);var z=new Be;if(V<B||V<0)return z;B<0&&(B=0),V>this.length&&(V=this.length);for(var se=this.length,le=this.tail;le!==null&&se>V;se--)le=le.prev;for(;le!==null&&se>B;se--,le=le.prev)z.push(le.value);return z},Be.prototype.splice=function(B,V,...z){B>this.length&&(B=this.length-1),B<0&&(B=this.length+B);for(var se=0,le=this.head;le!==null&&se<B;se++)le=le.next;var fe=[];for(se=0;le&&se<V;se++)fe.push(le.value),le=this.removeNode(le);for(le===null&&(le=this.tail),le!==this.head&&le!==this.tail&&(le=le.prev),se=0;se<z.length;se++)le=Ye(this,le,z[se]);return fe},Be.prototype.reverse=function(){for(var B=this.head,V=this.tail,z=B;z!==null;z=z.prev){var se=z.prev;z.prev=z.next,z.next=se}return this.head=V,this.tail=B,this};try{(function(B){B.prototype[Symbol.iterator]=function*(){for(let V=this.head;V;V=V.next)yield V.value}})(Be)}catch (e44){}let st=Symbol("max"),lt=Symbol("length"),ot=Symbol("lengthCalculator"),At=Symbol("allowStale"),pt=Symbol("maxAge"),at=Symbol("dispose"),ft=Symbol("noDisposeOnSet"),mt=Symbol("lruList"),gt=Symbol("cache"),_t=Symbol("updateAgeOnGet"),yr=()=>1,Xe=(B,V,z)=>{let se=B[gt].get(V);if(se){let le=se.value;if(kr(B,le)){if(Rt(B,se),!B[At])return}else z&&(B[_t]&&(se.value.now=Date.now()),B[mt].unshiftNode(se));return le.value}},kr=(B,V)=>{if(!V||!V.maxAge&&!B[pt])return!1;let z=Date.now()-V.now;return V.maxAge?z>V.maxAge:B[pt]&&z>B[pt]},jt=B=>{if(B[lt]>B[st])for(let V=B[mt].tail;B[lt]>B[st]&&V!==null;){let z=V.prev;Rt(B,V),V=z}},Rt=(B,V)=>{if(V){let z=V.value;B[at]&&B[at](z.key,z.value),B[lt]-=z.length,B[gt].delete(z.key),B[mt].removeNode(V)}};class cn{constructor(V,z,se,le,fe){this.key=V,this.value=z,this.length=se,this.now=le,this.maxAge=fe||0}}let _n=(B,V,z,se)=>{let le=z.value;kr(B,le)&&(Rt(B,z),B[At]||(le=void 0)),le&&V.call(se,le.value,le.key,B)};var Xr=class{constructor(B){if(typeof B=="number"&&(B={max:B}),B||(B={}),B.max&&(typeof B.max!="number"||B.max<0))throw new TypeError("max must be a non-negative number");this[st]=B.max||1/0;let V=B.length||yr;if(this[ot]=typeof V!="function"?yr:V,this[At]=B.stale||!1,B.maxAge&&typeof B.maxAge!="number")throw new TypeError("maxAge must be a number");this[pt]=B.maxAge||0,this[at]=B.dispose,this[ft]=B.noDisposeOnSet||!1,this[_t]=B.updateAgeOnGet||!1,this.reset()}set max(B){if(typeof B!="number"||B<0)throw new TypeError("max must be a non-negative number");this[st]=B||1/0,jt(this)}get max(){return this[st]}set allowStale(B){this[At]=!!B}get allowStale(){return this[At]}set maxAge(B){if(typeof B!="number")throw new TypeError("maxAge must be a non-negative number");this[pt]=B,jt(this)}get maxAge(){return this[pt]}set lengthCalculator(B){typeof B!="function"&&(B=yr),B!==this[ot]&&(this[ot]=B,this[lt]=0,this[mt].forEach(V=>{V.length=this[ot](V.value,V.key),this[lt]+=V.length})),jt(this)}get lengthCalculator(){return this[ot]}get length(){return this[lt]}get itemCount(){return this[mt].length}rforEach(B,V){V=V||this;for(let z=this[mt].tail;z!==null;){let se=z.prev;_n(this,B,z,V),z=se}}forEach(B,V){V=V||this;for(let z=this[mt].head;z!==null;){let se=z.next;_n(this,B,z,V),z=se}}keys(){return this[mt].toArray().map(B=>B.key)}values(){return this[mt].toArray().map(B=>B.value)}reset(){this[at]&&this[mt]&&this[mt].length&&this[mt].forEach(B=>this[at](B.key,B.value)),this[gt]=new Map,this[mt]=new $e,this[lt]=0}dump(){return this[mt].map(B=>!kr(this,B)&&{k:B.key,v:B.value,e:B.now+(B.maxAge||0)}).toArray().filter(B=>B)}dumpLru(){return this[mt]}set(B,V,z){if((z=z||this[pt])&&typeof z!="number")throw new TypeError("maxAge must be a number");let se=z?Date.now():0,le=this[ot](V,B);if(this[gt].has(B)){if(le>this[st])return Rt(this,this[gt].get(B)),!1;let Ae=this[gt].get(B).value;return this[at]&&(this[ft]||this[at](B,Ae.value)),Ae.now=se,Ae.maxAge=z,Ae.value=V,this[lt]+=le-Ae.length,Ae.length=le,this.get(B),jt(this),!0}let fe=new cn(B,V,le,se,z);return fe.length>this[st]?(this[at]&&this[at](B,V),!1):(this[lt]+=fe.length,this[mt].unshift(fe),this[gt].set(B,this[mt].head),jt(this),!0)}has(B){if(!this[gt].has(B))return!1;let V=this[gt].get(B).value;return!kr(this,V)}get(B){return Xe(this,B,!0)}peek(B){return Xe(this,B,!1)}pop(){let B=this[mt].tail;return B?(Rt(this,B),B.value):null}del(B){Rt(this,this[gt].get(B))}load(B){this.reset();let V=Date.now();for(let z=B.length-1;z>=0;z--){let se=B[z],le=se.e||0;if(le===0)this.set(se.k,se.v);else{let fe=le-V;fe>0&&this.set(se.k,se.v,fe)}}}prune(){this[gt].forEach((B,V)=>Xe(this,V,!1))}};class Nr{constructor(V,z){if(z=m(z),V instanceof Nr)return V.loose===!!z.loose&&V.includePrerelease===!!z.includePrerelease?V:new Nr(V.raw,z);if(V instanceof Ge)return this.raw=V.value,this.set=[[V]],this.format(),this;if(this.options=z,this.loose=!!z.loose,this.includePrerelease=!!z.includePrerelease,this.raw=V,this.set=V.split(/\s*\|\|\s*/).map(se=>this.parseRange(se.trim())).filter(se=>se.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${V}`);if(this.set.length>1){let se=this.set[0];if(this.set=this.set.filter(le=>!tr(le[0])),this.set.length===0)this.set=[se];else if(this.set.length>1){for(let le of this.set)if(le.length===1&&pn(le[0])){this.set=[le];break}}}this.format()}format(){return this.range=this.set.map(V=>V.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(V){V=V.trim();let z=`parseRange:${Object.keys(this.options).join(",")}:${V}`,se=dn.get(z);if(se)return se;let le=this.options.loose,fe=le?Ct[Tt.HYPHENRANGELOOSE]:Ct[Tt.HYPHENRANGE];V=V.replace(fe,ur(this.options.includePrerelease)),o("hyphen replace",V),V=V.replace(Ct[Tt.COMPARATORTRIM],xr),o("comparator trim",V,Ct[Tt.COMPARATORTRIM]),V=(V=(V=V.replace(Ct[Tt.TILDETRIM],Yr)).replace(Ct[Tt.CARETTRIM],Hr)).split(/\s+/).join(" ");let Ae=le?Ct[Tt.COMPARATORLOOSE]:Ct[Tt.COMPARATOR],Ne=V.split(" ").map(Ke=>tt(Ke,this.options)).join(" ").split(/\s+/).map(Ke=>pr(Ke,this.options)).filter(this.options.loose?Ke=>!!Ke.match(Ae):()=>!0).map(Ke=>new Ge(Ke,this.options));Ne.length;let Ve=new Map;for(let Ke of Ne){if(tr(Ke))return[Ke];Ve.set(Ke.value,Ke)}Ve.size>1&&Ve.has("")&&Ve.delete("");let Ue=[...Ve.values()];return dn.set(z,Ue),Ue}intersects(V,z){if(!(V instanceof Nr))throw new TypeError("a Range is required");return this.set.some(se=>In(se,z)&&V.set.some(le=>In(le,z)&&se.every(fe=>le.every(Ae=>fe.intersects(Ae,z)))))}test(V){if(!V)return!1;if(typeof V=="string")try{V=new H(V,this.options)}catch (e45){return!1}for(let z=0;z<this.set.length;z++)if(Jr(this.set[z],V,this.options))return!0;return!1}}var Lt=Nr;let dn=new Xr({max:1e3}),{re:Ct,t:Tt,comparatorTrimReplace:xr,tildeTrimReplace:Yr,caretTrimReplace:Hr}=y,tr=B=>B.value==="<0.0.0-0",pn=B=>B.value==="",In=(B,V)=>{let z=!0,se=B.slice(),le=se.pop();for(;z&&se.length;)z=se.every(fe=>le.intersects(fe,V)),le=se.pop();return z},tt=(B,V)=>(o("comp",B,V),B=Zn(B,V),o("caret",B),B=Nn(B,V),o("tildes",B),B=ti(B,V),o("xrange",B),B=gr(B,V),o("stars",B),B),It=B=>!B||B.toLowerCase()==="x"||B==="*",Nn=(B,V)=>B.trim().split(/\s+/).map(z=>Qn(z,V)).join(" "),Qn=(B,V)=>{let z=V.loose?Ct[Tt.TILDELOOSE]:Ct[Tt.TILDE];return B.replace(z,(se,le,fe,Ae,Ne)=>{let Ve;return o("tilde",B,se,le,fe,Ae,Ne),It(le)?Ve="":It(fe)?Ve=`>=${le}.0.0 <${+le+1}.0.0-0`:It(Ae)?Ve=`>=${le}.${fe}.0 <${le}.${+fe+1}.0-0`:Ne?(o("replaceTilde pr",Ne),Ve=`>=${le}.${fe}.${Ae}-${Ne} <${le}.${+fe+1}.0-0`):Ve=`>=${le}.${fe}.${Ae} <${le}.${+fe+1}.0-0`,o("tilde return",Ve),Ve})},Zn=(B,V)=>B.trim().split(/\s+/).map(z=>ei(z,V)).join(" "),ei=(B,V)=>{o("caret",B,V);let z=V.loose?Ct[Tt.CARETLOOSE]:Ct[Tt.CARET],se=V.includePrerelease?"-0":"";return B.replace(z,(le,fe,Ae,Ne,Ve)=>{let Ue;return o("caret",B,le,fe,Ae,Ne,Ve),It(fe)?Ue="":It(Ae)?Ue=`>=${fe}.0.0${se} <${+fe+1}.0.0-0`:It(Ne)?Ue=fe==="0"?`>=${fe}.${Ae}.0${se} <${fe}.${+Ae+1}.0-0`:`>=${fe}.${Ae}.0${se} <${+fe+1}.0.0-0`:Ve?(o("replaceCaret pr",Ve),Ue=fe==="0"?Ae==="0"?`>=${fe}.${Ae}.${Ne}-${Ve} <${fe}.${Ae}.${+Ne+1}-0`:`>=${fe}.${Ae}.${Ne}-${Ve} <${fe}.${+Ae+1}.0-0`:`>=${fe}.${Ae}.${Ne}-${Ve} <${+fe+1}.0.0-0`):(o("no pr"),Ue=fe==="0"?Ae==="0"?`>=${fe}.${Ae}.${Ne}${se} <${fe}.${Ae}.${+Ne+1}-0`:`>=${fe}.${Ae}.${Ne}${se} <${fe}.${+Ae+1}.0-0`:`>=${fe}.${Ae}.${Ne} <${+fe+1}.0.0-0`),o("caret return",Ue),Ue})},ti=(B,V)=>(o("replaceXRanges",B,V),B.split(/\s+/).map(z=>xn(z,V)).join(" ")),xn=(B,V)=>{B=B.trim();let z=V.loose?Ct[Tt.XRANGELOOSE]:Ct[Tt.XRANGE];return B.replace(z,(se,le,fe,Ae,Ne,Ve)=>{o("xRange",B,se,le,fe,Ae,Ne,Ve);let Ue=It(fe),Ke=Ue||It(Ae),He=Ke||It(Ne),nt=He;return le==="="&&nt&&(le=""),Ve=V.includePrerelease?"-0":"",Ue?se=le===">"||le==="<"?"<0.0.0-0":"*":le&&nt?(Ke&&(Ae=0),Ne=0,le===">"?(le=">=",Ke?(fe=+fe+1,Ae=0,Ne=0):(Ae=+Ae+1,Ne=0)):le==="<="&&(le="<",Ke?fe=+fe+1:Ae=+Ae+1),le==="<"&&(Ve="-0"),se=`${le+fe}.${Ae}.${Ne}${Ve}`):Ke?se=`>=${fe}.0.0${Ve} <${+fe+1}.0.0-0`:He&&(se=`>=${fe}.${Ae}.0${Ve} <${fe}.${+Ae+1}.0-0`),o("xRange return",se),se})},gr=(B,V)=>(o("replaceStars",B,V),B.trim().replace(Ct[Tt.STAR],"")),pr=(B,V)=>(o("replaceGTE0",B,V),B.trim().replace(Ct[V.includePrerelease?Tt.GTE0PRE:Tt.GTE0],"")),ur=B=>(V,z,se,le,fe,Ae,Ne,Ve,Ue,Ke,He,nt,Je)=>`${z=It(se)?"":It(le)?`>=${se}.0.0${B?"-0":""}`:It(fe)?`>=${se}.${le}.0${B?"-0":""}`:Ae?`>=${z}`:`>=${z}${B?"-0":""}`} ${Ve=It(Ue)?"":It(Ke)?`<${+Ue+1}.0.0-0`:It(He)?`<${Ue}.${+Ke+1}.0-0`:nt?`<=${Ue}.${Ke}.${He}-${nt}`:B?`<${Ue}.${Ke}.${+He+1}-0`:`<=${Ve}`}`.trim(),Jr=(B,V,z)=>{for(let se=0;se<B.length;se++)if(!B[se].test(V))return!1;if(V.prerelease.length&&!z.includePrerelease){for(let se=0;se<B.length;se++)if(o(B[se].semver),B[se].semver!==Ge.ANY&&B[se].semver.prerelease.length>0){let le=B[se].semver;if(le.major===V.major&&le.minor===V.minor&&le.patch===V.patch)return!0}return!1}return!0},Mr=Symbol("SemVer ANY");class Br{static get ANY(){return Mr}constructor(V,z){if(z=m(z),V instanceof Br){if(V.loose===!!z.loose)return V;V=V.value}o("comparator",V,z),this.options=z,this.loose=!!z.loose,this.parse(V),this.semver===Mr?this.value="":this.value=this.operator+this.semver.version,o("comp",this)}parse(V){let z=this.options.loose?fn[jn.COMPARATORLOOSE]:fn[jn.COMPARATOR],se=V.match(z);if(!se)throw new TypeError(`Invalid comparator: ${V}`);this.operator=se[1]!==void 0?se[1]:"",this.operator==="="&&(this.operator=""),se[2]?this.semver=new H(se[2],this.options.loose):this.semver=Mr}toString(){return this.value}test(V){if(o("Comparator.test",V,this.options.loose),this.semver===Mr||V===Mr)return!0;if(typeof V=="string")try{V=new H(V,this.options)}catch (e46){return!1}return ee(V,this.operator,this.semver,this.options)}intersects(V,z){if(!(V instanceof Br))throw new TypeError("a Comparator is required");if(z&&typeof z=="object"||(z={loose:!!z,includePrerelease:!1}),this.operator==="")return this.value===""||new Lt(V.value,z).test(this.value);if(V.operator==="")return V.value===""||new Lt(this.value,z).test(V.semver);let se=!(this.operator!==">="&&this.operator!==">"||V.operator!==">="&&V.operator!==">"),le=!(this.operator!=="<="&&this.operator!=="<"||V.operator!=="<="&&V.operator!=="<"),fe=this.semver.version===V.semver.version,Ae=!(this.operator!==">="&&this.operator!=="<="||V.operator!==">="&&V.operator!=="<="),Ne=ee(this.semver,"<",V.semver,z)&&(this.operator===">="||this.operator===">")&&(V.operator==="<="||V.operator==="<"),Ve=ee(this.semver,">",V.semver,z)&&(this.operator==="<="||this.operator==="<")&&(V.operator===">="||V.operator===">");return se||le||fe&&Ae||Ne||Ve}}var Ge=Br;let{re:fn,t:jn}=y;var bt=(B,V,z)=>{try{V=new Lt(V,z)}catch (e47){return!1}return V.test(B)},Jt=(B,V)=>new Lt(B,V).set.map(z=>z.map(se=>se.value).join(" ").trim().split(" ")),Rn=(B,V,z)=>{let se=null,le=null,fe=null;try{fe=new Lt(V,z)}catch (e48){return null}return B.forEach(Ae=>{fe.test(Ae)&&(se&&le.compare(Ae)!==-1||(se=Ae,le=new H(se,z)))}),se},fr=(B,V,z)=>{let se=null,le=null,fe=null;try{fe=new Lt(V,z)}catch (e49){return null}return B.forEach(Ae=>{fe.test(Ae)&&(se&&le.compare(Ae)!==1||(se=Ae,le=new H(se,z)))}),se},rr=(B,V)=>{B=new Lt(B,V);let z=new H("0.0.0");if(B.test(z)||(z=new H("0.0.0-0"),B.test(z)))return z;z=null;for(let se=0;se<B.set.length;++se){let le=B.set[se],fe=null;le.forEach(Ae=>{let Ne=new H(Ae.semver.version);switch(Ae.operator){case">":Ne.prerelease.length===0?Ne.patch++:Ne.prerelease.push(0),Ne.raw=Ne.format();case"":case">=":fe&&!me(Ne,fe)||(fe=Ne);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${Ae.operator}`)}}),!fe||z&&!me(z,fe)||(z=fe)}return z&&B.test(z)?z:null},br=(B,V)=>{try{return new Lt(B,V).range||"*"}catch (e50){return null}};let{ANY:$r}=Ge;var nr=(B,V,z,se)=>{let le,fe,Ae,Ne,Ve;switch(B=new H(B,se),V=new Lt(V,se),z){case">":le=me,fe=pe,Ae=Pe,Ne=">",Ve=">=";break;case"<":le=Pe,fe=Re,Ae=me,Ne="<",Ve="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(bt(B,V,se))return!1;for(let Ue=0;Ue<V.set.length;++Ue){let Ke=V.set[Ue],He=null,nt=null;if(Ke.forEach(Je=>{Je.semver===$r&&(Je=new Ge(">=0.0.0")),He=He||Je,nt=nt||Je,le(Je.semver,He.semver,se)?He=Je:Ae(Je.semver,nt.semver,se)&&(nt=Je)}),He.operator===Ne||He.operator===Ve||(!nt.operator||nt.operator===Ne)&&fe(B,nt.semver)||nt.operator===Ve&&Ae(B,nt.semver))return!1}return!0},zt=(B,V,z)=>nr(B,V,">",z),hn=(B,V,z)=>nr(B,V,"<",z),St=(B,V,z)=>(B=new Lt(B,z),V=new Lt(V,z),B.intersects(V));let{ANY:Bt}=Ge,Ln=(B,V,z)=>{if(B===V)return!0;if(B.length===1&&B[0].semver===Bt){if(V.length===1&&V[0].semver===Bt)return!0;B=z.includePrerelease?[new Ge(">=0.0.0-0")]:[new Ge(">=0.0.0")]}if(V.length===1&&V[0].semver===Bt){if(z.includePrerelease)return!0;V=[new Ge(">=0.0.0")]}let se=new Set,le,fe,Ae,Ne,Ve,Ue,Ke;for(let Je of B)Je.operator===">"||Je.operator===">="?le=jr(le,Je,z):Je.operator==="<"||Je.operator==="<="?fe=Ur(fe,Je,z):se.add(Je.semver);if(se.size>1||le&&fe&&(Ae=R(le.semver,fe.semver,z),Ae>0||Ae===0&&(le.operator!==">="||fe.operator!=="<=")))return null;for(let Je of se){if(le&&!bt(Je,String(le),z)||fe&&!bt(Je,String(fe),z))return null;for(let sr of V)if(!bt(Je,String(sr),z))return!1;return!0}let He=!(!fe||z.includePrerelease||!fe.semver.prerelease.length)&&fe.semver,nt=!(!le||z.includePrerelease||!le.semver.prerelease.length)&&le.semver;He&&He.prerelease.length===1&&fe.operator==="<"&&He.prerelease[0]===0&&(He=!1);for(let Je of V){if(Ke=Ke||Je.operator===">"||Je.operator===">=",Ue=Ue||Je.operator==="<"||Je.operator==="<=",le){if(nt&&Je.semver.prerelease&&Je.semver.prerelease.length&&Je.semver.major===nt.major&&Je.semver.minor===nt.minor&&Je.semver.patch===nt.patch&&(nt=!1),Je.operator===">"||Je.operator===">="){if(Ne=jr(le,Je,z),Ne===Je&&Ne!==le)return!1}else if(le.operator===">="&&!bt(le.semver,String(Je),z))return!1}if(fe){if(He&&Je.semver.prerelease&&Je.semver.prerelease.length&&Je.semver.major===He.major&&Je.semver.minor===He.minor&&Je.semver.patch===He.patch&&(He=!1),Je.operator==="<"||Je.operator==="<="){if(Ve=Ur(fe,Je,z),Ve===Je&&Ve!==fe)return!1}else if(fe.operator==="<="&&!bt(fe.semver,String(Je),z))return!1}if(!Je.operator&&(fe||le)&&Ae!==0)return!1}return!(le&&Ue&&!fe&&Ae!==0)&&!(fe&&Ke&&!le&&Ae!==0)&&!nt&&!He},jr=(B,V,z)=>{if(!B)return V;let se=R(B.semver,V.semver,z);return se>0?B:se<0||V.operator===">"&&B.operator===">="?V:B},Ur=(B,V,z)=>{if(!B)return V;let se=R(B.semver,V.semver,z);return se<0?B:se>0||V.operator==="<"&&B.operator==="<="?V:B};var zr=(B,V,z={})=>{if(B===V)return!0;B=new Lt(B,z),V=new Lt(V,z);let se=!1;e:for(let le of B.set){for(let fe of V.set){let Ae=Ln(le,fe,z);if(se=se||Ae!==null,Ae)continue e}if(se)return!1}return!0},wt={re:y.re,src:y.src,tokens:y.t,SEMVER_SPEC_VERSION:p.SEMVER_SPEC_VERSION,SemVer:H,compareIdentifiers:C.compareIdentifiers,rcompareIdentifiers:C.rcompareIdentifiers,parse:L,valid:D,clean:_,inc:F,diff:J,major:ne,minor:re,patch:ae,prerelease:de,compare:R,rcompare:he,compareLoose:De,compareBuild:Te,sort:Ce,rsort:ye,gt:me,lt:Pe,eq:W,neq:xe,gte:Re,lte:pe,cmp:ee,coerce:Oe,Comparator:Ge,Range:Lt,satisfies:bt,toComparators:Jt,maxSatisfying:Rn,minSatisfying:fr,minVersion:rr,validRange:br,outside:nr,gtr:zt,ltr:hn,intersects:St,simplifyRange:(B,V,z)=>{let se=[],le=null,fe=null,Ae=B.sort((Ke,He)=>R(Ke,He,z));for(let Ke of Ae)bt(Ke,V,z)?(fe=Ke,le||(le=Ke)):(fe&&se.push([le,fe]),fe=null,le=null);le&&se.push([le,null]);let Ne=[];for(let[Ke,He]of se)Ke===He?Ne.push(Ke):He||Ke!==Ae[0]?He?Ke===Ae[0]?Ne.push(`<=${He}`):Ne.push(`${Ke} - ${He}`):Ne.push(`>=${Ke}`):Ne.push("*");let Ve=Ne.join(" || "),Ue=typeof V.raw=="string"?V.raw:String(V);return Ve.length<Ue.length?Ve:V},subset:zr};let Er={read:function(B){return Ee(r().dirname(B))}};function Ee(B){try{return{string:t().default.readFileSync(r().toNamespacedPath(r().join(B,"package.json")),"utf8")}}catch(V){if(V.code==="ENOENT"){let z=r().dirname(B);return B!==z?Ee(z):{string:void 0}}throw V}}let s=process.platform==="win32",l={}.hasOwnProperty,g={},w=new Map,U;function q(B,V,z){return w.set(B,V),function(se,le){return fe;function fe(...Ae){let Ne=Error.stackTraceLimit;ce()&&(Error.stackTraceLimit=0);let Ve=new se;ce()&&(Error.stackTraceLimit=Ne);let Ue=function(Ke,He,nt){let Je=w.get(Ke);if(typeof Je=="function")return i()(Je.length<=He.length,`Code: ${Ke}; The provided arguments length (${He.length}) does not match the required ones (${Je.length}).`),Reflect.apply(Je,nt,He);let sr=(Je.match(/%[dfijoOs]/g)||[]).length;return i()(sr===He.length,`Code: ${Ke}; The provided arguments length (${He.length}) does not match the required ones (${sr}).`),He.length===0?Je:(He.unshift(Je),Reflect.apply(a().format,null,He))}(le,Ae,Ve);return Object.defineProperty(Ve,"message",{value:Ue,enumerable:!1,writable:!0,configurable:!0}),Object.defineProperty(Ve,"toString",{value(){return`${this.name} [${le}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}),oe(Ve,se.name,le),Ve.code=le,Ve}}(z,B)}g.ERR_INVALID_MODULE_SPECIFIER=q("ERR_INVALID_MODULE_SPECIFIER",(B,V,z)=>`Invalid module "${B}" ${V}${z?` imported from ${z}`:""}`,TypeError),g.ERR_INVALID_PACKAGE_CONFIG=q("ERR_INVALID_PACKAGE_CONFIG",(B,V,z)=>`Invalid package config ${B}${V?` while importing ${V}`:""}${z?`. ${z}`:""}`,Error),g.ERR_INVALID_PACKAGE_TARGET=q("ERR_INVALID_PACKAGE_TARGET",(B,V,z,se=!1,le)=>{let fe=typeof z=="string"&&!se&&z.length>0&&!z.startsWith("./");return V==="."?(i()(se===!1),`Invalid "exports" main target ${JSON.stringify(z)} defined in the package config ${B}package.json${le?` imported from ${le}`:""}${fe?'; targets must start with "./"':""}`):`Invalid "${se?"imports":"exports"}" target ${JSON.stringify(z)} defined for '${V}' in the package config ${B}package.json${le?` imported from ${le}`:""}${fe?'; targets must start with "./"':""}`},Error),g.ERR_MODULE_NOT_FOUND=q("ERR_MODULE_NOT_FOUND",(B,V,z="package")=>`Cannot find ${z} '${B}' imported from ${V}`,Error),g.ERR_PACKAGE_IMPORT_NOT_DEFINED=q("ERR_PACKAGE_IMPORT_NOT_DEFINED",(B,V,z)=>`Package import specifier "${B}" is not defined${V?` in package ${V}package.json`:""} imported from ${z}`,TypeError),g.ERR_PACKAGE_PATH_NOT_EXPORTED=q("ERR_PACKAGE_PATH_NOT_EXPORTED",(B,V,z)=>V==="."?`No "exports" main defined in ${B}package.json${z?` imported from ${z}`:""}`:`Package subpath '${V}' is not defined by "exports" in ${B}package.json${z?` imported from ${z}`:""}`,Error),g.ERR_UNSUPPORTED_DIR_IMPORT=q("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),g.ERR_UNKNOWN_FILE_EXTENSION=q("ERR_UNKNOWN_FILE_EXTENSION",'Unknown file extension "%s" for %s',TypeError),g.ERR_INVALID_ARG_VALUE=q("ERR_INVALID_ARG_VALUE",(B,V,z="is invalid")=>{let se=(0,a().inspect)(V);return se.length>128&&(se=`${se.slice(0,128)}...`),`The ${B.includes(".")?"property":"argument"} '${B}' ${z}. Received ${se}`},TypeError),g.ERR_UNSUPPORTED_ESM_URL_SCHEME=q("ERR_UNSUPPORTED_ESM_URL_SCHEME",B=>{let V="Only file and data URLs are supported by the default ESM loader";return s&&B.protocol.length===2&&(V+=". On Windows, absolute paths must be valid file:// URLs"),V+=`. Received protocol '${B.protocol}'`,V},Error);let oe=ve(function(B,V,z){(B=Ie(B)).name=`${V} [${z}]`,B.stack,V==="SystemError"?Object.defineProperty(B,"name",{value:V,enumerable:!1,writable:!0,configurable:!0}):delete B.name});function ce(){let B=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return B===void 0?Object.isExtensible(Error):l.call(B,"writable")?B.writable:B.set!==void 0}function ve(B){let V="__node_internal_"+B.name;return Object.defineProperty(B,"name",{value:V}),B}let Ie=ve(function(B){let V=ce();return V&&(U=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(B),V&&(Error.stackTraceLimit=U),B}),{ERR_UNKNOWN_FILE_EXTENSION:We}=g,Qe={__proto__:null,".cjs":"commonjs",".js":"module",".mjs":"module"};function qe(B){if(B.startsWith("node:"))return{format:"builtin"};let V=new(n()).URL(B);if(V.protocol==="data:"){let{1:z}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(V.pathname)||[null,null];return{format:z==="text/javascript"?"module":null}}if(V.protocol==="file:"){let z=r().extname(V.pathname),se;if(se=z===".js"?function(le){return yn(le).type}(V.href)==="module"?"module":"commonjs":Qe[z],!se)throw new We(z,(0,n().fileURLToPath)(B));return{format:se||null}}return{format:null}}let yt=function({version:B=process.version,experimental:V=!1}={}){var z=["assert","buffer","child_process","cluster","console","constants","crypto","dgram","dns","domain","events","fs","http","https","module","net","os","path","punycode","querystring","readline","repl","stream","string_decoder","sys","timers","tls","tty","url","util","vm","zlib"];return wt.lt(B,"6.0.0")&&z.push("freelist"),wt.gte(B,"1.0.0")&&z.push("v8"),wt.gte(B,"1.1.0")&&z.push("process"),wt.gte(B,"8.0.0")&&z.push("inspector"),wt.gte(B,"8.1.0")&&z.push("async_hooks"),wt.gte(B,"8.4.0")&&z.push("http2"),wt.gte(B,"8.5.0")&&z.push("perf_hooks"),wt.gte(B,"10.0.0")&&z.push("trace_events"),wt.gte(B,"10.5.0")&&(V||wt.gte(B,"12.0.0"))&&z.push("worker_threads"),wt.gte(B,"12.16.0")&&V&&z.push("wasi"),z}(),{ERR_INVALID_MODULE_SPECIFIER:it,ERR_INVALID_PACKAGE_CONFIG:ht,ERR_INVALID_PACKAGE_TARGET:Et,ERR_MODULE_NOT_FOUND:ir,ERR_PACKAGE_IMPORT_NOT_DEFINED:$t,ERR_PACKAGE_PATH_NOT_EXPORTED:Rs,ERR_UNSUPPORTED_DIR_IMPORT:Ls,ERR_UNSUPPORTED_ESM_URL_SCHEME:Fs,ERR_INVALID_ARG_VALUE:ks}=g,Ni={}.hasOwnProperty,xi=Object.freeze(["node","import"]),Ms=new Set(xi),ji=/(^|\\|\/)(\.\.?|node_modules)(\\|\/|$)/,Ri=/\*/g,Bs=/%2f|%2c/i,qr=new Set,Vr=new Map;function mn(B,V,z,se){let le=(0,n().fileURLToPath)(V);qr.has(le+"|"+B)||(qr.add(le+"|"+B),process.emitWarning(`Use of deprecated folder mapping "${B}" in the ${z?'"exports"':'"imports"'} field module resolution of the package at ${le}${se?` imported from ${(0,n().fileURLToPath)(se)}`:""}.
|
|
93
93
|
Update this package.json to use a subpath pattern like "${B}*".`,"DeprecationWarning","DEP0148"))}function Li(B,V,z,se){let{format:le}=qe(B.href);if(le!=="module")return;let fe=(0,n().fileURLToPath)(B.href),Ae=(0,n().fileURLToPath)(new(n()).URL(".",V)),Ne=(0,n().fileURLToPath)(z);se?process.emitWarning(`Package ${Ae} has a "main" field set to ${JSON.stringify(se)}, excluding the full filename and extension to the resolved file at "${fe.slice(Ae.length)}", imported from ${Ne}.
|
|
94
94
|
Automatic extension resolution of the "main" field isdeprecated for ES modules.`,"DeprecationWarning","DEP0151"):process.emitWarning(`No "main" or "exports" field defined in the package.json for ${Ae} resolving the main entry point "${fe.slice(Ae.length)}", imported from ${Ne}.
|
|
95
|
-
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function Fn(B){try{return(0,t().statSync)(B)}catch (e51){return new(t()).Stats}}function ni(B,V,z){let se=Vr.get(B);if(se!==void 0)return se;let le=Er.read(B).string;if(le===void 0){let nt={pjsonPath:B,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return Vr.set(B,nt),nt}let fe;try{fe=JSON.parse(le)}catch(nt){throw new ht(B,(z?`"${V}" from `:"")+(0,n().fileURLToPath)(z||V),nt.message)}let{exports:Ae,imports:Ne,main:Ve,name:Ue,type:Ke}=fe,He={pjsonPath:B,exists:!0,main:typeof Ve=="string"?Ve:void 0,name:typeof Ue=="string"?Ue:void 0,type:Ke==="module"||Ke==="commonjs"?Ke:"none",exports:Ae,imports:Ne&&typeof Ne=="object"?Ne:void 0};return Vr.set(B,He),He}function yn(B){let V=new(n()).URL("./package.json",B);for(;!V.pathname.endsWith("node_modules/package.json");){let le=ni((0,n().fileURLToPath)(V),B);if(le.exists)return le;let fe=V;if(V=new(n()).URL("../package.json",V),V.pathname===fe.pathname)break}let z=(0,n().fileURLToPath)(V),se={pjsonPath:z,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return Vr.set(z,se),se}function gn(B){return Fn((0,n().fileURLToPath)(B)).isFile()}function Fi(B,V,z){let se;if(V.main!==void 0){if(se=new(n()).URL(`./${V.main}`,B),gn(se))return se;let Ae=[`./${V.main}.js`,`./${V.main}.json`,`./${V.main}.node`,`./${V.main}/index.js`,`./${V.main}/index.json`,`./${V.main}/index.node`],Ne=-1;for(;++Ne<Ae.length&&(se=new(n()).URL(Ae[Ne],B),!gn(se));)se=void 0;if(se)return Li(se,B,z,V.main),se}let le=["./index.js","./index.json","./index.node"],fe=-1;for(;++fe<le.length&&(se=new(n()).URL(le[fe],B),!gn(se));)se=void 0;if(se)return Li(se,B,z,V.main),se;throw new ir((0,n().fileURLToPath)(new(n()).URL(".",B)),(0,n().fileURLToPath)(z))}function kn(B,V,z){throw new Rs((0,n().fileURLToPath)(new(n()).URL(".",V)),B,z&&(0,n().fileURLToPath)(z))}function bn(B,V,z,se,le){throw V=typeof V=="object"&&V!==null?JSON.stringify(V,null,""):`${V}`,new Et((0,n().fileURLToPath)(new(n()).URL(".",z)),B,V,se,le&&(0,n().fileURLToPath)(le))}function Mn(B,V,z,se,le,fe,Ae,Ne){if(V===""||fe||B[B.length-1]==="/"||bn(z,B,se,Ae,le),!B.startsWith("./")){if(Ae&&!B.startsWith("../")&&!B.startsWith("/")){let He=!1;try{new(n()).URL(B),He=!0}catch (e52){}if(!He)return Mi(fe?B.replace(Ri,V):B+V,se,Ne)}bn(z,B,se,Ae,le)}ji.test(B.slice(2))&&bn(z,B,se,Ae,le);let Ve=new(n()).URL(B,se),Ue=Ve.pathname,Ke=new(n()).URL(".",se).pathname;return Ue.startsWith(Ke)||bn(z,B,se,Ae,le),V===""?Ve:(ji.test(V)&&function(He,nt,Je,sr){let cr=`request is not a valid subpath for the "${Je?"imports":"exports"}" resolution of ${(0,n().fileURLToPath)(nt)}`;throw new it(He,cr,sr&&(0,n().fileURLToPath)(sr))}(z+V,se,Ae,le),fe?new(n()).URL(Ve.href.replace(Ri,V)):new(n()).URL(V,Ve))}function $s(B){let V=Number(B);return`${V}`===B&&V>=0&&V<4294967295}function Qr(B,V,z,se,le,fe,Ae,Ne){if(typeof V=="string")return Mn(V,z,se,B,le,fe,Ae,Ne);if(Array.isArray(V)){let Ve=V;if(Ve.length===0)return null;let Ue,Ke=-1;for(;++Ke<Ve.length;){let He=Ve[Ke],nt;try{nt=Qr(B,He,z,se,le,fe,Ae,Ne)}catch(Je){if(Ue=Je,Je.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw Je}if(nt!==void 0){if(nt!==null)return nt;Ue=null}}if(Ue==null)return Ue;throw Ue}if(typeof V!="object"||V===null){if(V===null)return null;bn(se,V,B,Ae,le)}else{let Ve=Object.getOwnPropertyNames(V),Ue=-1;for(;++Ue<Ve.length;)if($s(Ve[Ue]))throw new ht((0,n().fileURLToPath)(B),le,'"exports" cannot contain numeric property keys.');for(Ue=-1;++Ue<Ve.length;){let Ke=Ve[Ue];if(Ke==="default"||Ne&&Ne.has(Ke)){let He=Qr(B,V[Ke],z,se,le,fe,Ae,Ne);if(He===void 0)continue;return He}}}}function ki(B,V,z,se,le){let fe=z.exports;if(function(Ue,Ke,He){if(typeof Ue=="string"||Array.isArray(Ue))return!0;if(typeof Ue!="object"||Ue===null)return!1;let nt=Object.getOwnPropertyNames(Ue),Je=!1,sr=0,cr=-1;for(;++cr<nt.length;){let Zr=nt[cr],Ui=Zr===""||Zr[0]!==".";if(sr++==0)Je=Ui;else if(Je!==Ui)throw new ht((0,n().fileURLToPath)(Ke),He,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return Je}(fe,B,se)&&(fe={".":fe}),Ni.call(fe,V)){let Ue=Qr(B,fe[V],"",V,se,!1,!1,le);return Ue==null&&kn(V,B,se),{resolved:Ue,exact:!0}}let Ae="",Ne=Object.getOwnPropertyNames(fe),Ve=-1;for(;++Ve<Ne.length;){let Ue=Ne[Ve];(Ue[Ue.length-1]==="*"&&V.startsWith(Ue.slice(0,-1))&&V.length>=Ue.length&&Ue.length>Ae.length||Ue[Ue.length-1]==="/"&&V.startsWith(Ue)&&Ue.length>Ae.length)&&(Ae=Ue)}if(Ae){let Ue=fe[Ae],Ke=Ae[Ae.length-1]==="*",He=Qr(B,Ue,V.slice(Ae.length-(Ke?1:0)),Ae,se,Ke,!1,le);return He==null&&kn(V,B,se),Ke||mn(Ae,B,!0,se),{resolved:He,exact:Ke}}kn(V,B,se)}function Us(B,V,z){if(B==="#"||B.startsWith("#/"))throw new it(B,"is not a valid internal imports specifier name",(0,n().fileURLToPath)(V));let se,le=yn(V);if(le.exists){se=(0,n().pathToFileURL)(le.pjsonPath);let fe=le.imports;if(fe)if(Ni.call(fe,B)){let Ae=Qr(se,fe[B],"",B,V,!1,!0,z);if(Ae!==null)return{resolved:Ae,exact:!0}}else{let Ae="",Ne=Object.getOwnPropertyNames(fe),Ve=-1;for(;++Ve<Ne.length;){let Ue=Ne[Ve];(Ue[Ue.length-1]==="*"&&B.startsWith(Ue.slice(0,-1))&&B.length>=Ue.length&&Ue.length>Ae.length||Ue[Ue.length-1]==="/"&&B.startsWith(Ue)&&Ue.length>Ae.length)&&(Ae=Ue)}if(Ae){let Ue=fe[Ae],Ke=Ae[Ae.length-1]==="*",He=Qr(se,Ue,B.slice(Ae.length-(Ke?1:0)),Ae,V,Ke,!0,z);if(He!==null)return Ke||mn(Ae,se,!1,V),{resolved:He,exact:Ke}}}}(function(fe,Ae,Ne){throw new $t(fe,Ae&&(0,n().fileURLToPath)(new(n()).URL(".",Ae)),(0,n().fileURLToPath)(Ne))})(B,se,V)}function Mi(B,V,z){let{packageName:se,packageSubpath:le,isScoped:fe}=function(Ke,He){let nt=Ke.indexOf("/"),Je=!0,sr=!1;Ke[0]==="@"&&(sr=!0,nt===-1||Ke.length===0?Je=!1:nt=Ke.indexOf("/",nt+1));let cr=nt===-1?Ke:Ke.slice(0,nt),Zr=-1;for(;++Zr<cr.length;)if(cr[Zr]==="%"||cr[Zr]==="\\"){Je=!1;break}if(!Je)throw new it(Ke,"is not a valid package name",(0,n().fileURLToPath)(He));return{packageName:cr,packageSubpath:"."+(nt===-1?"":Ke.slice(nt)),isScoped:sr}}(B,V),Ae=yn(V);if(Ae.exists){let Ke=(0,n().pathToFileURL)(Ae.pjsonPath);if(Ae.name===se&&Ae.exports!==void 0&&Ae.exports!==null)return ki(Ke,le,Ae,V,z).resolved}let Ne,Ve=new(n()).URL("./node_modules/"+se+"/package.json",V),Ue=(0,n().fileURLToPath)(Ve);do{if(!Fn(Ue.slice(0,-13)).isDirectory()){Ne=Ue,Ve=new(n()).URL((fe?"../../../../node_modules/":"../../../node_modules/")+se+"/package.json",Ve),Ue=(0,n().fileURLToPath)(Ve);continue}let Ke=ni(Ue,B,V);return Ke.exports!==void 0&&Ke.exports!==null?ki(Ve,le,Ke,V,z).resolved:le==="."?Fi(Ve,Ke,V):new(n()).URL(le,Ve)}while(Ue.length!==Ne.length);throw new ir(se,(0,n().fileURLToPath)(V))}function Bi(B,V,z){let se;if(function(le){return le!==""&&(le[0]==="/"||function(fe){return fe[0]==="."&&(fe.length===1||fe[1]==="/"||fe[1]==="."&&(fe.length===2||fe[2]==="/"))}(le))}(B))se=new(n()).URL(B,V);else if(B[0]==="#")({resolved:se}=Us(B,V,z));else try{se=new(n()).URL(B)}catch (e53){se=Mi(B,V,z)}return function(le,fe){if(Bs.test(le.pathname))throw new it(le.pathname,'must not include encoded "/" or "\\" characters',(0,n().fileURLToPath)(fe));let Ae=(0,n().fileURLToPath)(le),Ne=Fn(Ae.endsWith("/")?Ae.slice(-1):Ae);if(Ne.isDirectory()){let Ve=new Ls(Ae,(0,n().fileURLToPath)(fe));throw Ve.url=String(le),Ve}if(!Ne.isFile())throw new ir(Ae||le.pathname,fe&&(0,n().fileURLToPath)(fe),"module");return le}(se,V)}function Vs(B,V={}){let{parentURL:z}=V,se;try{if(se=new(n()).URL(B),se.protocol==="data:")return{url:B}}catch (e54){}if(se&&se.protocol==="node:")return{url:B};if(se&&se.protocol!=="file:"&&se.protocol!=="data:")throw new Fs(se);if(yt.includes(B))return{url:"node:"+B};z.startsWith("data:")&&new(n()).URL(B,z);let le=function(Ue){if(Ue!==void 0&&Ue!==xi){if(!Array.isArray(Ue))throw new ks("conditions",Ue,"expected an array");return new Set(Ue)}return Ms}(V.conditions),fe=Bi(B,new(n()).URL(z),le),Ae=(0,n().fileURLToPath)(fe),Ne=(0,t().realpathSync)(Ae),Ve=fe;return fe=(0,n().pathToFileURL)(Ne+(Ae.endsWith(r().sep)?"/":"")),fe.search=Ve.search,fe.hash=Ve.hash,{url:`${fe}`}}function $i(){return($i=h(function*(B,V){if(!V)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return Vs(B,{parentURL:V}).url}catch(z){return z.code==="ERR_UNSUPPORTED_DIR_IMPORT"?z.url:Promise.reject(z)}})).apply(this,arguments)}},"./node_modules/@babel/core/node_modules/semver/semver.js":(A,e)=>{var c;e=A.exports=p,c=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var _=Array.prototype.slice.call(arguments,0);_.unshift("SEMVER"),console.log.apply(console,_)}:function(){},e.SEMVER_SPEC_VERSION="2.0.0";var n=Number.MAX_SAFE_INTEGER||9007199254740991,t=e.re=[],r=e.src=[],i=e.tokens={},a=0;function u(_){i[_]=a++}u("NUMERICIDENTIFIER"),r[i.NUMERICIDENTIFIER]="0|[1-9]\\d*",u("NUMERICIDENTIFIERLOOSE"),r[i.NUMERICIDENTIFIERLOOSE]="[0-9]+",u("NONNUMERICIDENTIFIER"),r[i.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",u("MAINVERSION"),r[i.MAINVERSION]="("+r[i.NUMERICIDENTIFIER]+")\\.("+r[i.NUMERICIDENTIFIER]+")\\.("+r[i.NUMERICIDENTIFIER]+")",u("MAINVERSIONLOOSE"),r[i.MAINVERSIONLOOSE]="("+r[i.NUMERICIDENTIFIERLOOSE]+")\\.("+r[i.NUMERICIDENTIFIERLOOSE]+")\\.("+r[i.NUMERICIDENTIFIERLOOSE]+")",u("PRERELEASEIDENTIFIER"),r[i.PRERELEASEIDENTIFIER]="(?:"+r[i.NUMERICIDENTIFIER]+"|"+r[i.NONNUMERICIDENTIFIER]+")",u("PRERELEASEIDENTIFIERLOOSE"),r[i.PRERELEASEIDENTIFIERLOOSE]="(?:"+r[i.NUMERICIDENTIFIERLOOSE]+"|"+r[i.NONNUMERICIDENTIFIER]+")",u("PRERELEASE"),r[i.PRERELEASE]="(?:-("+r[i.PRERELEASEIDENTIFIER]+"(?:\\."+r[i.PRERELEASEIDENTIFIER]+")*))",u("PRERELEASELOOSE"),r[i.PRERELEASELOOSE]="(?:-?("+r[i.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+r[i.PRERELEASEIDENTIFIERLOOSE]+")*))",u("BUILDIDENTIFIER"),r[i.BUILDIDENTIFIER]="[0-9A-Za-z-]+",u("BUILD"),r[i.BUILD]="(?:\\+("+r[i.BUILDIDENTIFIER]+"(?:\\."+r[i.BUILDIDENTIFIER]+")*))",u("FULL"),u("FULLPLAIN"),r[i.FULLPLAIN]="v?"+r[i.MAINVERSION]+r[i.PRERELEASE]+"?"+r[i.BUILD]+"?",r[i.FULL]="^"+r[i.FULLPLAIN]+"$",u("LOOSEPLAIN"),r[i.LOOSEPLAIN]="[v=\\s]*"+r[i.MAINVERSIONLOOSE]+r[i.PRERELEASELOOSE]+"?"+r[i.BUILD]+"?",u("LOOSE"),r[i.LOOSE]="^"+r[i.LOOSEPLAIN]+"$",u("GTLT"),r[i.GTLT]="((?:<|>)?=?)",u("XRANGEIDENTIFIERLOOSE"),r[i.XRANGEIDENTIFIERLOOSE]=r[i.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",u("XRANGEIDENTIFIER"),r[i.XRANGEIDENTIFIER]=r[i.NUMERICIDENTIFIER]+"|x|X|\\*",u("XRANGEPLAIN"),r[i.XRANGEPLAIN]="[v=\\s]*("+r[i.XRANGEIDENTIFIER]+")(?:\\.("+r[i.XRANGEIDENTIFIER]+")(?:\\.("+r[i.XRANGEIDENTIFIER]+")(?:"+r[i.PRERELEASE]+")?"+r[i.BUILD]+"?)?)?",u("XRANGEPLAINLOOSE"),r[i.XRANGEPLAINLOOSE]="[v=\\s]*("+r[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+r[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+r[i.XRANGEIDENTIFIERLOOSE]+")(?:"+r[i.PRERELEASELOOSE]+")?"+r[i.BUILD]+"?)?)?",u("XRANGE"),r[i.XRANGE]="^"+r[i.GTLT]+"\\s*"+r[i.XRANGEPLAIN]+"$",u("XRANGELOOSE"),r[i.XRANGELOOSE]="^"+r[i.GTLT]+"\\s*"+r[i.XRANGEPLAINLOOSE]+"$",u("COERCE"),r[i.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",u("COERCERTL"),t[i.COERCERTL]=new RegExp(r[i.COERCE],"g"),u("LONETILDE"),r[i.LONETILDE]="(?:~>?)",u("TILDETRIM"),r[i.TILDETRIM]="(\\s*)"+r[i.LONETILDE]+"\\s+",t[i.TILDETRIM]=new RegExp(r[i.TILDETRIM],"g"),u("TILDE"),r[i.TILDE]="^"+r[i.LONETILDE]+r[i.XRANGEPLAIN]+"$",u("TILDELOOSE"),r[i.TILDELOOSE]="^"+r[i.LONETILDE]+r[i.XRANGEPLAINLOOSE]+"$",u("LONECARET"),r[i.LONECARET]="(?:\\^)",u("CARETTRIM"),r[i.CARETTRIM]="(\\s*)"+r[i.LONECARET]+"\\s+",t[i.CARETTRIM]=new RegExp(r[i.CARETTRIM],"g"),u("CARET"),r[i.CARET]="^"+r[i.LONECARET]+r[i.XRANGEPLAIN]+"$",u("CARETLOOSE"),r[i.CARETLOOSE]="^"+r[i.LONECARET]+r[i.XRANGEPLAINLOOSE]+"$",u("COMPARATORLOOSE"),r[i.COMPARATORLOOSE]="^"+r[i.GTLT]+"\\s*("+r[i.LOOSEPLAIN]+")$|^$",u("COMPARATOR"),r[i.COMPARATOR]="^"+r[i.GTLT]+"\\s*("+r[i.FULLPLAIN]+")$|^$",u("COMPARATORTRIM"),r[i.COMPARATORTRIM]="(\\s*)"+r[i.GTLT]+"\\s*("+r[i.LOOSEPLAIN]+"|"+r[i.XRANGEPLAIN]+")",t[i.COMPARATORTRIM]=new RegExp(r[i.COMPARATORTRIM],"g"),u("HYPHENRANGE"),r[i.HYPHENRANGE]="^\\s*("+r[i.XRANGEPLAIN]+")\\s+-\\s+("+r[i.XRANGEPLAIN]+")\\s*$",u("HYPHENRANGELOOSE"),r[i.HYPHENRANGELOOSE]="^\\s*("+r[i.XRANGEPLAINLOOSE]+")\\s+-\\s+("+r[i.XRANGEPLAINLOOSE]+")\\s*$",u("STAR"),r[i.STAR]="(<|>)?=?\\s*\\*";for(var f=0;f<a;f++)c(f,r[f]),t[f]||(t[f]=new RegExp(r[f]));function h(_,F){if(F&&typeof F=="object"||(F={loose:!!F,includePrerelease:!1}),_ instanceof p)return _;if(typeof _!="string"||_.length>256||!(F.loose?t[i.LOOSE]:t[i.FULL]).test(_))return null;try{return new p(_,F)}catch (e55){return null}}function p(_,F){if(F&&typeof F=="object"||(F={loose:!!F,includePrerelease:!1}),_ instanceof p){if(_.loose===F.loose)return _;_=_.version}else if(typeof _!="string")throw new TypeError("Invalid Version: "+_);if(_.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof p))return new p(_,F);c("SemVer",_,F),this.options=F,this.loose=!!F.loose;var R=_.trim().match(F.loose?t[i.LOOSE]:t[i.FULL]);if(!R)throw new TypeError("Invalid Version: "+_);if(this.raw=_,this.major=+R[1],this.minor=+R[2],this.patch=+R[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");R[4]?this.prerelease=R[4].split(".").map(function(W){if(/^[0-9]+$/.test(W)){var J=+W;if(J>=0&&J<n)return J}return W}):this.prerelease=[],this.build=R[5]?R[5].split("."):[],this.format()}e.parse=h,e.valid=function(_,F){var R=h(_,F);return R?R.version:null},e.clean=function(_,F){var R=h(_.trim().replace(/^[=v]+/,""),F);return R?R.version:null},e.SemVer=p,p.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},p.prototype.toString=function(){return this.version},p.prototype.compare=function(_){return c("SemVer.compare",this.version,this.options,_),_ instanceof p||(_=new p(_,this.options)),this.compareMain(_)||this.comparePre(_)},p.prototype.compareMain=function(_){return _ instanceof p||(_=new p(_,this.options)),y(this.major,_.major)||y(this.minor,_.minor)||y(this.patch,_.patch)},p.prototype.comparePre=function(_){if(_ instanceof p||(_=new p(_,this.options)),this.prerelease.length&&!_.prerelease.length)return-1;if(!this.prerelease.length&&_.prerelease.length)return 1;if(!this.prerelease.length&&!_.prerelease.length)return 0;var F=0;do{var R=this.prerelease[F],W=_.prerelease[F];if(c("prerelease compare",F,R,W),R===void 0&&W===void 0)return 0;if(W===void 0)return 1;if(R===void 0)return-1;if(R!==W)return y(R,W)}while(++F)},p.prototype.compareBuild=function(_){_ instanceof p||(_=new p(_,this.options));var F=0;do{var R=this.build[F],W=_.build[F];if(c("prerelease compare",F,R,W),R===void 0&&W===void 0)return 0;if(W===void 0)return 1;if(R===void 0)return-1;if(R!==W)return y(R,W)}while(++F)},p.prototype.inc=function(_,F){switch(_){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",F);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",F);break;case"prepatch":this.prerelease.length=0,this.inc("patch",F),this.inc("pre",F);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",F),this.inc("pre",F);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var R=this.prerelease.length;--R>=0;)typeof this.prerelease[R]=="number"&&(this.prerelease[R]++,R=-2);R===-1&&this.prerelease.push(0)}F&&(this.prerelease[0]===F?isNaN(this.prerelease[1])&&(this.prerelease=[F,0]):this.prerelease=[F,0]);break;default:throw new Error("invalid increment argument: "+_)}return this.format(),this.raw=this.version,this},e.inc=function(_,F,R,W){typeof R=="string"&&(W=R,R=void 0);try{return new p(_,R).inc(F,W).version}catch (e56){return null}},e.diff=function(_,F){if(T(_,F))return null;var R=h(_),W=h(F),J="";if(R.prerelease.length||W.prerelease.length){J="pre";var ne="prerelease"}for(var re in R)if((re==="major"||re==="minor"||re==="patch")&&R[re]!==W[re])return J+re;return ne},e.compareIdentifiers=y;var o=/^[0-9]+$/;function y(_,F){var R=o.test(_),W=o.test(F);return R&&W&&(_=+_,F=+F),_===F?0:R&&!W?-1:W&&!R?1:_<F?-1:1}function d(_,F,R){return new p(_,R).compare(new p(F,R))}function m(_,F,R){return d(_,F,R)>0}function S(_,F,R){return d(_,F,R)<0}function T(_,F,R){return d(_,F,R)===0}function C(_,F,R){return d(_,F,R)!==0}function v(_,F,R){return d(_,F,R)>=0}function k(_,F,R){return d(_,F,R)<=0}function O(_,F,R,W){switch(F){case"===":return typeof _=="object"&&(_=_.version),typeof R=="object"&&(R=R.version),_===R;case"!==":return typeof _=="object"&&(_=_.version),typeof R=="object"&&(R=R.version),_!==R;case"":case"=":case"==":return T(_,R,W);case"!=":return C(_,R,W);case">":return m(_,R,W);case">=":return v(_,R,W);case"<":return S(_,R,W);case"<=":return k(_,R,W);default:throw new TypeError("Invalid operator: "+F)}}function x(_,F){if(F&&typeof F=="object"||(F={loose:!!F,includePrerelease:!1}),_ instanceof x){if(_.loose===!!F.loose)return _;_=_.value}if(!(this instanceof x))return new x(_,F);c("comparator",_,F),this.options=F,this.loose=!!F.loose,this.parse(_),this.semver===M?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}e.rcompareIdentifiers=function(_,F){return y(F,_)},e.major=function(_,F){return new p(_,F).major},e.minor=function(_,F){return new p(_,F).minor},e.patch=function(_,F){return new p(_,F).patch},e.compare=d,e.compareLoose=function(_,F){return d(_,F,!0)},e.compareBuild=function(_,F,R){var W=new p(_,R),J=new p(F,R);return W.compare(J)||W.compareBuild(J)},e.rcompare=function(_,F,R){return d(F,_,R)},e.sort=function(_,F){return _.sort(function(R,W){return e.compareBuild(R,W,F)})},e.rsort=function(_,F){return _.sort(function(R,W){return e.compareBuild(W,R,F)})},e.gt=m,e.lt=S,e.eq=T,e.neq=C,e.gte=v,e.lte=k,e.cmp=O,e.Comparator=x;var M={};function $(_,F){if(F&&typeof F=="object"||(F={loose:!!F,includePrerelease:!1}),_ instanceof $)return _.loose===!!F.loose&&_.includePrerelease===!!F.includePrerelease?_:new $(_.raw,F);if(_ instanceof x)return new $(_.value,F);if(!(this instanceof $))return new $(_,F);if(this.options=F,this.loose=!!F.loose,this.includePrerelease=!!F.includePrerelease,this.raw=_,this.set=_.split(/\s*\|\|\s*/).map(function(R){return this.parseRange(R.trim())},this).filter(function(R){return R.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+_);this.format()}function H(_,F){for(var R=!0,W=_.slice(),J=W.pop();R&&W.length;)R=W.every(function(ne){return J.intersects(ne,F)}),J=W.pop();return R}function Q(_){return!_||_.toLowerCase()==="x"||_==="*"}function K(_,F,R,W,J,ne,re,ae,de,he,De,Te,Ce){return((F=Q(R)?"":Q(W)?">="+R+".0.0":Q(J)?">="+R+"."+W+".0":">="+F)+" "+(ae=Q(de)?"":Q(he)?"<"+(+de+1)+".0.0":Q(De)?"<"+de+"."+(+he+1)+".0":Te?"<="+de+"."+he+"."+De+"-"+Te:"<="+ae)).trim()}function Y(_,F,R){for(var W=0;W<_.length;W++)if(!_[W].test(F))return!1;if(F.prerelease.length&&!R.includePrerelease){for(W=0;W<_.length;W++)if(c(_[W].semver),_[W].semver!==M&&_[W].semver.prerelease.length>0){var J=_[W].semver;if(J.major===F.major&&J.minor===F.minor&&J.patch===F.patch)return!0}return!1}return!0}function L(_,F,R){try{F=new $(F,R)}catch (e57){return!1}return F.test(_)}function D(_,F,R,W){var J,ne,re,ae,de;switch(_=new p(_,W),F=new $(F,W),R){case">":J=m,ne=k,re=S,ae=">",de=">=";break;case"<":J=S,ne=v,re=m,ae="<",de="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(L(_,F,W))return!1;for(var he=0;he<F.set.length;++he){var De=F.set[he],Te=null,Ce=null;if(De.forEach(function(ye){ye.semver===M&&(ye=new x(">=0.0.0")),Te=Te||ye,Ce=Ce||ye,J(ye.semver,Te.semver,W)?Te=ye:re(ye.semver,Ce.semver,W)&&(Ce=ye)}),Te.operator===ae||Te.operator===de||(!Ce.operator||Ce.operator===ae)&&ne(_,Ce.semver)||Ce.operator===de&&re(_,Ce.semver))return!1}return!0}x.prototype.parse=function(_){var F=this.options.loose?t[i.COMPARATORLOOSE]:t[i.COMPARATOR],R=_.match(F);if(!R)throw new TypeError("Invalid comparator: "+_);this.operator=R[1]!==void 0?R[1]:"",this.operator==="="&&(this.operator=""),R[2]?this.semver=new p(R[2],this.options.loose):this.semver=M},x.prototype.toString=function(){return this.value},x.prototype.test=function(_){if(c("Comparator.test",_,this.options.loose),this.semver===M||_===M)return!0;if(typeof _=="string")try{_=new p(_,this.options)}catch (e58){return!1}return O(_,this.operator,this.semver,this.options)},x.prototype.intersects=function(_,F){if(!(_ instanceof x))throw new TypeError("a Comparator is required");var R;if(F&&typeof F=="object"||(F={loose:!!F,includePrerelease:!1}),this.operator==="")return this.value===""||(R=new $(_.value,F),L(this.value,R,F));if(_.operator==="")return _.value===""||(R=new $(this.value,F),L(_.semver,R,F));var W=!(this.operator!==">="&&this.operator!==">"||_.operator!==">="&&_.operator!==">"),J=!(this.operator!=="<="&&this.operator!=="<"||_.operator!=="<="&&_.operator!=="<"),ne=this.semver.version===_.semver.version,re=!(this.operator!==">="&&this.operator!=="<="||_.operator!==">="&&_.operator!=="<="),ae=O(this.semver,"<",_.semver,F)&&(this.operator===">="||this.operator===">")&&(_.operator==="<="||_.operator==="<"),de=O(this.semver,">",_.semver,F)&&(this.operator==="<="||this.operator==="<")&&(_.operator===">="||_.operator===">");return W||J||ne&&re||ae||de},e.Range=$,$.prototype.format=function(){return this.range=this.set.map(function(_){return _.join(" ").trim()}).join("||").trim(),this.range},$.prototype.toString=function(){return this.range},$.prototype.parseRange=function(_){var F=this.options.loose;_=_.trim();var R=F?t[i.HYPHENRANGELOOSE]:t[i.HYPHENRANGE];_=_.replace(R,K),c("hyphen replace",_),_=_.replace(t[i.COMPARATORTRIM],"$1$2$3"),c("comparator trim",_,t[i.COMPARATORTRIM]),_=(_=(_=_.replace(t[i.TILDETRIM],"$1~")).replace(t[i.CARETTRIM],"$1^")).split(/\s+/).join(" ");var W=F?t[i.COMPARATORLOOSE]:t[i.COMPARATOR],J=_.split(" ").map(function(ne){return function(re,ae){return c("comp",re,ae),re=function(de,he){return de.trim().split(/\s+/).map(function(De){return function(Te,Ce){c("caret",Te,Ce);var ye=Ce.loose?t[i.CARETLOOSE]:t[i.CARET];return Te.replace(ye,function(me,Pe,xe,Re,pe){var ee;return c("caret",Te,me,Pe,xe,Re,pe),Q(Pe)?ee="":Q(xe)?ee=">="+Pe+".0.0 <"+(+Pe+1)+".0.0":Q(Re)?ee=Pe==="0"?">="+Pe+"."+xe+".0 <"+Pe+"."+(+xe+1)+".0":">="+Pe+"."+xe+".0 <"+(+Pe+1)+".0.0":pe?(c("replaceCaret pr",pe),ee=Pe==="0"?xe==="0"?">="+Pe+"."+xe+"."+Re+"-"+pe+" <"+Pe+"."+xe+"."+(+Re+1):">="+Pe+"."+xe+"."+Re+"-"+pe+" <"+Pe+"."+(+xe+1)+".0":">="+Pe+"."+xe+"."+Re+"-"+pe+" <"+(+Pe+1)+".0.0"):(c("no pr"),ee=Pe==="0"?xe==="0"?">="+Pe+"."+xe+"."+Re+" <"+Pe+"."+xe+"."+(+Re+1):">="+Pe+"."+xe+"."+Re+" <"+Pe+"."+(+xe+1)+".0":">="+Pe+"."+xe+"."+Re+" <"+(+Pe+1)+".0.0"),c("caret return",ee),ee})}(De,he)}).join(" ")}(re,ae),c("caret",re),re=function(de,he){return de.trim().split(/\s+/).map(function(De){return function(Te,Ce){var ye=Ce.loose?t[i.TILDELOOSE]:t[i.TILDE];return Te.replace(ye,function(me,Pe,xe,Re,pe){var ee;return c("tilde",Te,me,Pe,xe,Re,pe),Q(Pe)?ee="":Q(xe)?ee=">="+Pe+".0.0 <"+(+Pe+1)+".0.0":Q(Re)?ee=">="+Pe+"."+xe+".0 <"+Pe+"."+(+xe+1)+".0":pe?(c("replaceTilde pr",pe),ee=">="+Pe+"."+xe+"."+Re+"-"+pe+" <"+Pe+"."+(+xe+1)+".0"):ee=">="+Pe+"."+xe+"."+Re+" <"+Pe+"."+(+xe+1)+".0",c("tilde return",ee),ee})}(De,he)}).join(" ")}(re,ae),c("tildes",re),re=function(de,he){return c("replaceXRanges",de,he),de.split(/\s+/).map(function(De){return function(Te,Ce){Te=Te.trim();var ye=Ce.loose?t[i.XRANGELOOSE]:t[i.XRANGE];return Te.replace(ye,function(me,Pe,xe,Re,pe,ee){c("xRange",Te,me,Pe,xe,Re,pe,ee);var ue=Q(xe),be=ue||Q(Re),Oe=be||Q(pe),$e=Oe;return Pe==="="&&$e&&(Pe=""),ee=Ce.includePrerelease?"-0":"",ue?me=Pe===">"||Pe==="<"?"<0.0.0-0":"*":Pe&&$e?(be&&(Re=0),pe=0,Pe===">"?(Pe=">=",be?(xe=+xe+1,Re=0,pe=0):(Re=+Re+1,pe=0)):Pe==="<="&&(Pe="<",be?xe=+xe+1:Re=+Re+1),me=Pe+xe+"."+Re+"."+pe+ee):be?me=">="+xe+".0.0"+ee+" <"+(+xe+1)+".0.0"+ee:Oe&&(me=">="+xe+"."+Re+".0"+ee+" <"+xe+"."+(+Re+1)+".0"+ee),c("xRange return",me),me})}(De,he)}).join(" ")}(re,ae),c("xrange",re),re=function(de,he){return c("replaceStars",de,he),de.trim().replace(t[i.STAR],"")}(re,ae),c("stars",re),re}(ne,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(J=J.filter(function(ne){return!!ne.match(W)})),J=J.map(function(ne){return new x(ne,this.options)},this)},$.prototype.intersects=function(_,F){if(!(_ instanceof $))throw new TypeError("a Range is required");return this.set.some(function(R){return H(R,F)&&_.set.some(function(W){return H(W,F)&&R.every(function(J){return W.every(function(ne){return J.intersects(ne,F)})})})})},e.toComparators=function(_,F){return new $(_,F).set.map(function(R){return R.map(function(W){return W.value}).join(" ").trim().split(" ")})},$.prototype.test=function(_){if(!_)return!1;if(typeof _=="string")try{_=new p(_,this.options)}catch (e59){return!1}for(var F=0;F<this.set.length;F++)if(Y(this.set[F],_,this.options))return!0;return!1},e.satisfies=L,e.maxSatisfying=function(_,F,R){var W=null,J=null;try{var ne=new $(F,R)}catch (e60){return null}return _.forEach(function(re){ne.test(re)&&(W&&J.compare(re)!==-1||(J=new p(W=re,R)))}),W},e.minSatisfying=function(_,F,R){var W=null,J=null;try{var ne=new $(F,R)}catch (e61){return null}return _.forEach(function(re){ne.test(re)&&(W&&J.compare(re)!==1||(J=new p(W=re,R)))}),W},e.minVersion=function(_,F){_=new $(_,F);var R=new p("0.0.0");if(_.test(R)||(R=new p("0.0.0-0"),_.test(R)))return R;R=null;for(var W=0;W<_.set.length;++W)_.set[W].forEach(function(J){var ne=new p(J.semver.version);switch(J.operator){case">":ne.prerelease.length===0?ne.patch++:ne.prerelease.push(0),ne.raw=ne.format();case"":case">=":R&&!m(R,ne)||(R=ne);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+J.operator)}});return R&&_.test(R)?R:null},e.validRange=function(_,F){try{return new $(_,F).range||"*"}catch (e62){return null}},e.ltr=function(_,F,R){return D(_,F,"<",R)},e.gtr=function(_,F,R){return D(_,F,">",R)},e.outside=D,e.prerelease=function(_,F){var R=h(_,F);return R&&R.prerelease.length?R.prerelease:null},e.intersects=function(_,F,R){return _=new $(_,R),F=new $(F,R),_.intersects(F)},e.coerce=function(_,F){if(_ instanceof p)return _;if(typeof _=="number"&&(_=String(_)),typeof _!="string")return null;var R=null;if((F=F||{}).rtl){for(var W;(W=t[i.COERCERTL].exec(_))&&(!R||R.index+R[0].length!==_.length);)R&&W.index+W[0].length===R.index+R[0].length||(R=W),t[i.COERCERTL].lastIndex=W.index+W[1].length+W[2].length;t[i.COERCERTL].lastIndex=-1}else R=_.match(t[i.COERCE]);return R===null?null:h(R[2]+"."+(R[3]||"0")+"."+(R[4]||"0"),F)}},"./node_modules/@babel/core/node_modules/source-map/lib/array-set.js":(A,e,c)=>{var n=c("./node_modules/@babel/core/node_modules/source-map/lib/util.js"),t=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}i.fromArray=function(a,u){for(var f=new i,h=0,p=a.length;h<p;h++)f.add(a[h],u);return f},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(a,u){var f=r?a:n.toSetString(a),h=r?this.has(a):t.call(this._set,f),p=this._array.length;h&&!u||this._array.push(a),h||(r?this._set.set(a,p):this._set[f]=p)},i.prototype.has=function(a){if(r)return this._set.has(a);var u=n.toSetString(a);return t.call(this._set,u)},i.prototype.indexOf=function(a){if(r){var u=this._set.get(a);if(u>=0)return u}else{var f=n.toSetString(a);if(t.call(this._set,f))return this._set[f]}throw new Error('"'+a+'" is not in the set.')},i.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},i.prototype.toArray=function(){return this._array.slice()},e.I=i},"./node_modules/@babel/core/node_modules/source-map/lib/base64-vlq.js":(A,e,c)=>{var n=c("./node_modules/@babel/core/node_modules/source-map/lib/base64.js");e.encode=function(t){var r,i="",a=function(u){return u<0?1+(-u<<1):0+(u<<1)}(t);do r=31&a,(a>>>=5)>0&&(r|=32),i+=n.encode(r);while(a>0);return i},e.decode=function(t,r,i){var a,u,f,h,p=t.length,o=0,y=0;do{if(r>=p)throw new Error("Expected more digits in base 64 VLQ value.");if((u=n.decode(t.charCodeAt(r++)))===-1)throw new Error("Invalid base64 digit: "+t.charAt(r-1));a=!!(32&u),o+=(u&=31)<<y,y+=5}while(a);i.value=(h=(f=o)>>1,(1&f)==1?-h:h),i.rest=r}},"./node_modules/@babel/core/node_modules/source-map/lib/base64.js":(A,e)=>{var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(n){if(0<=n&&n<c.length)return c[n];throw new TypeError("Must be between 0 and 63: "+n)},e.decode=function(n){return 65<=n&&n<=90?n-65:97<=n&&n<=122?n-97+26:48<=n&&n<=57?n-48+52:n==43?62:n==47?63:-1}},"./node_modules/@babel/core/node_modules/source-map/lib/binary-search.js":(A,e)=>{function c(n,t,r,i,a,u){var f=Math.floor((t-n)/2)+n,h=a(r,i[f],!0);return h===0?f:h>0?t-f>1?c(f,t,r,i,a,u):u==e.LEAST_UPPER_BOUND?t<i.length?t:-1:f:f-n>1?c(n,f,r,i,a,u):u==e.LEAST_UPPER_BOUND?f:n<0?-1:n}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(n,t,r,i){if(t.length===0)return-1;var a=c(-1,t.length,n,t,r,i||e.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&r(t[a],t[a-1],!0)===0;)--a;return a}},"./node_modules/@babel/core/node_modules/source-map/lib/mapping-list.js":(A,e,c)=>{var n=c("./node_modules/@babel/core/node_modules/source-map/lib/util.js");function t(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}t.prototype.unsortedForEach=function(r,i){this._array.forEach(r,i)},t.prototype.add=function(r){var i,a,u,f,h,p;i=this._last,a=r,u=i.generatedLine,f=a.generatedLine,h=i.generatedColumn,p=a.generatedColumn,f>u||f==u&&p>=h||n.compareByGeneratedPositionsInflated(i,a)<=0?(this._last=r,this._array.push(r)):(this._sorted=!1,this._array.push(r))},t.prototype.toArray=function(){return this._sorted||(this._array.sort(n.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.H=t},"./node_modules/@babel/core/node_modules/source-map/lib/quick-sort.js":(A,e)=>{function c(t,r,i){var a=t[r];t[r]=t[i],t[i]=a}function n(t,r,i,a){if(i<a){var u=i-1;c(t,(o=i,y=a,Math.round(o+Math.random()*(y-o))),a);for(var f=t[a],h=i;h<a;h++)r(t[h],f)<=0&&c(t,u+=1,h);c(t,u+1,h);var p=u+1;n(t,r,i,p-1),n(t,r,p+1,a)}var o,y}e.U=function(t,r){n(t,r,0,t.length-1)}},"./node_modules/@babel/core/node_modules/source-map/lib/source-map-consumer.js":(A,e,c)=>{var n=c("./node_modules/@babel/core/node_modules/source-map/lib/util.js"),t=c("./node_modules/@babel/core/node_modules/source-map/lib/binary-search.js"),r=c("./node_modules/@babel/core/node_modules/source-map/lib/array-set.js").I,i=c("./node_modules/@babel/core/node_modules/source-map/lib/base64-vlq.js"),a=c("./node_modules/@babel/core/node_modules/source-map/lib/quick-sort.js").U;function u(o){var y=o;return typeof o=="string"&&(y=JSON.parse(o.replace(/^\)\]\}'/,""))),y.sections!=null?new p(y):new f(y)}function f(o){var y=o;typeof o=="string"&&(y=JSON.parse(o.replace(/^\)\]\}'/,"")));var d=n.getArg(y,"version"),m=n.getArg(y,"sources"),S=n.getArg(y,"names",[]),T=n.getArg(y,"sourceRoot",null),C=n.getArg(y,"sourcesContent",null),v=n.getArg(y,"mappings"),k=n.getArg(y,"file",null);if(d!=this._version)throw new Error("Unsupported version: "+d);m=m.map(String).map(n.normalize).map(function(O){return T&&n.isAbsolute(T)&&n.isAbsolute(O)?n.relative(T,O):O}),this._names=r.fromArray(S.map(String),!0),this._sources=r.fromArray(m,!0),this.sourceRoot=T,this.sourcesContent=C,this._mappings=v,this.file=k}function h(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function p(o){var y=o;typeof o=="string"&&(y=JSON.parse(o.replace(/^\)\]\}'/,"")));var d=n.getArg(y,"version"),m=n.getArg(y,"sections");if(d!=this._version)throw new Error("Unsupported version: "+d);this._sources=new r,this._names=new r;var S={line:-1,column:0};this._sections=m.map(function(T){if(T.url)throw new Error("Support for url field in sections not implemented.");var C=n.getArg(T,"offset"),v=n.getArg(C,"line"),k=n.getArg(C,"column");if(v<S.line||v===S.line&&k<S.column)throw new Error("Section offsets must be ordered and non-overlapping.");return S=C,{generatedOffset:{generatedLine:v+1,generatedColumn:k+1},consumer:new u(n.getArg(T,"map"))}})}u.fromSourceMap=function(o){return f.fromSourceMap(o)},u.prototype._version=3,u.prototype.__generatedMappings=null,Object.defineProperty(u.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),u.prototype.__originalMappings=null,Object.defineProperty(u.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),u.prototype._charIsMappingSeparator=function(o,y){var d=o.charAt(y);return d===";"||d===","},u.prototype._parseMappings=function(o,y){throw new Error("Subclasses must implement _parseMappings")},u.GENERATED_ORDER=1,u.ORIGINAL_ORDER=2,u.GREATEST_LOWER_BOUND=1,u.LEAST_UPPER_BOUND=2,u.prototype.eachMapping=function(o,y,d){var m,S=y||null;switch(d||u.GENERATED_ORDER){case u.GENERATED_ORDER:m=this._generatedMappings;break;case u.ORIGINAL_ORDER:m=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var T=this.sourceRoot;m.map(function(C){var v=C.source===null?null:this._sources.at(C.source);return v!=null&&T!=null&&(v=n.join(T,v)),{source:v,generatedLine:C.generatedLine,generatedColumn:C.generatedColumn,originalLine:C.originalLine,originalColumn:C.originalColumn,name:C.name===null?null:this._names.at(C.name)}},this).forEach(o,S)},u.prototype.allGeneratedPositionsFor=function(o){var y=n.getArg(o,"line"),d={source:n.getArg(o,"source"),originalLine:y,originalColumn:n.getArg(o,"column",0)};if(this.sourceRoot!=null&&(d.source=n.relative(this.sourceRoot,d.source)),!this._sources.has(d.source))return[];d.source=this._sources.indexOf(d.source);var m=[],S=this._findMapping(d,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(S>=0){var T=this._originalMappings[S];if(o.column===void 0)for(var C=T.originalLine;T&&T.originalLine===C;)m.push({line:n.getArg(T,"generatedLine",null),column:n.getArg(T,"generatedColumn",null),lastColumn:n.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++S];else for(var v=T.originalColumn;T&&T.originalLine===y&&T.originalColumn==v;)m.push({line:n.getArg(T,"generatedLine",null),column:n.getArg(T,"generatedColumn",null),lastColumn:n.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++S]}return m},e.SourceMapConsumer=u,f.prototype=Object.create(u.prototype),f.prototype.consumer=u,f.fromSourceMap=function(o){var y=Object.create(f.prototype),d=y._names=r.fromArray(o._names.toArray(),!0),m=y._sources=r.fromArray(o._sources.toArray(),!0);y.sourceRoot=o._sourceRoot,y.sourcesContent=o._generateSourcesContent(y._sources.toArray(),y.sourceRoot),y.file=o._file;for(var S=o._mappings.toArray().slice(),T=y.__generatedMappings=[],C=y.__originalMappings=[],v=0,k=S.length;v<k;v++){var O=S[v],x=new h;x.generatedLine=O.generatedLine,x.generatedColumn=O.generatedColumn,O.source&&(x.source=m.indexOf(O.source),x.originalLine=O.originalLine,x.originalColumn=O.originalColumn,O.name&&(x.name=d.indexOf(O.name)),C.push(x)),T.push(x)}return a(y.__originalMappings,n.compareByOriginalPositions),y},f.prototype._version=3,Object.defineProperty(f.prototype,"sources",{get:function(){return this._sources.toArray().map(function(o){return this.sourceRoot!=null?n.join(this.sourceRoot,o):o},this)}}),f.prototype._parseMappings=function(o,y){for(var d,m,S,T,C,v=1,k=0,O=0,x=0,M=0,$=0,H=o.length,Q=0,K={},Y={},L=[],D=[];Q<H;)if(o.charAt(Q)===";")v++,Q++,k=0;else if(o.charAt(Q)===",")Q++;else{for((d=new h).generatedLine=v,T=Q;T<H&&!this._charIsMappingSeparator(o,T);T++);if(S=K[m=o.slice(Q,T)])Q+=m.length;else{for(S=[];Q<T;)i.decode(o,Q,Y),C=Y.value,Q=Y.rest,S.push(C);if(S.length===2)throw new Error("Found a source, but no line and column");if(S.length===3)throw new Error("Found a source and line, but no column");K[m]=S}d.generatedColumn=k+S[0],k=d.generatedColumn,S.length>1&&(d.source=M+S[1],M+=S[1],d.originalLine=O+S[2],O=d.originalLine,d.originalLine+=1,d.originalColumn=x+S[3],x=d.originalColumn,S.length>4&&(d.name=$+S[4],$+=S[4])),D.push(d),typeof d.originalLine=="number"&&L.push(d)}a(D,n.compareByGeneratedPositionsDeflated),this.__generatedMappings=D,a(L,n.compareByOriginalPositions),this.__originalMappings=L},f.prototype._findMapping=function(o,y,d,m,S,T){if(o[d]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+o[d]);if(o[m]<0)throw new TypeError("Column must be greater than or equal to 0, got "+o[m]);return t.search(o,y,S,T)},f.prototype.computeColumnSpans=function(){for(var o=0;o<this._generatedMappings.length;++o){var y=this._generatedMappings[o];if(o+1<this._generatedMappings.length){var d=this._generatedMappings[o+1];if(y.generatedLine===d.generatedLine){y.lastGeneratedColumn=d.generatedColumn-1;continue}}y.lastGeneratedColumn=1/0}},f.prototype.originalPositionFor=function(o){var y={generatedLine:n.getArg(o,"line"),generatedColumn:n.getArg(o,"column")},d=this._findMapping(y,this._generatedMappings,"generatedLine","generatedColumn",n.compareByGeneratedPositionsDeflated,n.getArg(o,"bias",u.GREATEST_LOWER_BOUND));if(d>=0){var m=this._generatedMappings[d];if(m.generatedLine===y.generatedLine){var S=n.getArg(m,"source",null);S!==null&&(S=this._sources.at(S),this.sourceRoot!=null&&(S=n.join(this.sourceRoot,S)));var T=n.getArg(m,"name",null);return T!==null&&(T=this._names.at(T)),{source:S,line:n.getArg(m,"originalLine",null),column:n.getArg(m,"originalColumn",null),name:T}}}return{source:null,line:null,column:null,name:null}},f.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(o){return o==null})},f.prototype.sourceContentFor=function(o,y){if(!this.sourcesContent)return null;if(this.sourceRoot!=null&&(o=n.relative(this.sourceRoot,o)),this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];var d;if(this.sourceRoot!=null&&(d=n.urlParse(this.sourceRoot))){var m=o.replace(/^file:\/\//,"");if(d.scheme=="file"&&this._sources.has(m))return this.sourcesContent[this._sources.indexOf(m)];if((!d.path||d.path=="/")&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(y)return null;throw new Error('"'+o+'" is not in the SourceMap.')},f.prototype.generatedPositionFor=function(o){var y=n.getArg(o,"source");if(this.sourceRoot!=null&&(y=n.relative(this.sourceRoot,y)),!this._sources.has(y))return{line:null,column:null,lastColumn:null};var d={source:y=this._sources.indexOf(y),originalLine:n.getArg(o,"line"),originalColumn:n.getArg(o,"column")},m=this._findMapping(d,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,n.getArg(o,"bias",u.GREATEST_LOWER_BOUND));if(m>=0){var S=this._originalMappings[m];if(S.source===d.source)return{line:n.getArg(S,"generatedLine",null),column:n.getArg(S,"generatedColumn",null),lastColumn:n.getArg(S,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},p.prototype=Object.create(u.prototype),p.prototype.constructor=u,p.prototype._version=3,Object.defineProperty(p.prototype,"sources",{get:function(){for(var o=[],y=0;y<this._sections.length;y++)for(var d=0;d<this._sections[y].consumer.sources.length;d++)o.push(this._sections[y].consumer.sources[d]);return o}}),p.prototype.originalPositionFor=function(o){var y={generatedLine:n.getArg(o,"line"),generatedColumn:n.getArg(o,"column")},d=t.search(y,this._sections,function(S,T){var C=S.generatedLine-T.generatedOffset.generatedLine;return C||S.generatedColumn-T.generatedOffset.generatedColumn}),m=this._sections[d];return m?m.consumer.originalPositionFor({line:y.generatedLine-(m.generatedOffset.generatedLine-1),column:y.generatedColumn-(m.generatedOffset.generatedLine===y.generatedLine?m.generatedOffset.generatedColumn-1:0),bias:o.bias}):{source:null,line:null,column:null,name:null}},p.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(o){return o.consumer.hasContentsOfAllSources()})},p.prototype.sourceContentFor=function(o,y){for(var d=0;d<this._sections.length;d++){var m=this._sections[d].consumer.sourceContentFor(o,!0);if(m)return m}if(y)return null;throw new Error('"'+o+'" is not in the SourceMap.')},p.prototype.generatedPositionFor=function(o){for(var y=0;y<this._sections.length;y++){var d=this._sections[y];if(d.consumer.sources.indexOf(n.getArg(o,"source"))!==-1){var m=d.consumer.generatedPositionFor(o);if(m)return{line:m.line+(d.generatedOffset.generatedLine-1),column:m.column+(d.generatedOffset.generatedLine===m.line?d.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},p.prototype._parseMappings=function(o,y){this.__generatedMappings=[],this.__originalMappings=[];for(var d=0;d<this._sections.length;d++)for(var m=this._sections[d],S=m.consumer._generatedMappings,T=0;T<S.length;T++){var C=S[T],v=m.consumer._sources.at(C.source);m.consumer.sourceRoot!==null&&(v=n.join(m.consumer.sourceRoot,v)),this._sources.add(v),v=this._sources.indexOf(v);var k=m.consumer._names.at(C.name);this._names.add(k),k=this._names.indexOf(k);var O={source:v,generatedLine:C.generatedLine+(m.generatedOffset.generatedLine-1),generatedColumn:C.generatedColumn+(m.generatedOffset.generatedLine===C.generatedLine?m.generatedOffset.generatedColumn-1:0),originalLine:C.originalLine,originalColumn:C.originalColumn,name:k};this.__generatedMappings.push(O),typeof O.originalLine=="number"&&this.__originalMappings.push(O)}a(this.__generatedMappings,n.compareByGeneratedPositionsDeflated),a(this.__originalMappings,n.compareByOriginalPositions)}},"./node_modules/@babel/core/node_modules/source-map/lib/source-map-generator.js":(A,e,c)=>{var n=c("./node_modules/@babel/core/node_modules/source-map/lib/base64-vlq.js"),t=c("./node_modules/@babel/core/node_modules/source-map/lib/util.js"),r=c("./node_modules/@babel/core/node_modules/source-map/lib/array-set.js").I,i=c("./node_modules/@babel/core/node_modules/source-map/lib/mapping-list.js").H;function a(u){u||(u={}),this._file=t.getArg(u,"file",null),this._sourceRoot=t.getArg(u,"sourceRoot",null),this._skipValidation=t.getArg(u,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(u){var f=u.sourceRoot,h=new a({file:u.file,sourceRoot:f});return u.eachMapping(function(p){var o={generated:{line:p.generatedLine,column:p.generatedColumn}};p.source!=null&&(o.source=p.source,f!=null&&(o.source=t.relative(f,o.source)),o.original={line:p.originalLine,column:p.originalColumn},p.name!=null&&(o.name=p.name)),h.addMapping(o)}),u.sources.forEach(function(p){var o=u.sourceContentFor(p);o!=null&&h.setSourceContent(p,o)}),h},a.prototype.addMapping=function(u){var f=t.getArg(u,"generated"),h=t.getArg(u,"original",null),p=t.getArg(u,"source",null),o=t.getArg(u,"name",null);this._skipValidation||this._validateMapping(f,h,p,o),p!=null&&(p=String(p),this._sources.has(p)||this._sources.add(p)),o!=null&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:f.line,generatedColumn:f.column,originalLine:h!=null&&h.line,originalColumn:h!=null&&h.column,source:p,name:o})},a.prototype.setSourceContent=function(u,f){var h=u;this._sourceRoot!=null&&(h=t.relative(this._sourceRoot,h)),f!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(h)]=f):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(h)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(u,f,h){var p=f;if(f==null){if(u.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);p=u.file}var o=this._sourceRoot;o!=null&&(p=t.relative(o,p));var y=new r,d=new r;this._mappings.unsortedForEach(function(m){if(m.source===p&&m.originalLine!=null){var S=u.originalPositionFor({line:m.originalLine,column:m.originalColumn});S.source!=null&&(m.source=S.source,h!=null&&(m.source=t.join(h,m.source)),o!=null&&(m.source=t.relative(o,m.source)),m.originalLine=S.line,m.originalColumn=S.column,S.name!=null&&(m.name=S.name))}var T=m.source;T==null||y.has(T)||y.add(T);var C=m.name;C==null||d.has(C)||d.add(C)},this),this._sources=y,this._names=d,u.sources.forEach(function(m){var S=u.sourceContentFor(m);S!=null&&(h!=null&&(m=t.join(h,m)),o!=null&&(m=t.relative(o,m)),this.setSourceContent(m,S))},this)},a.prototype._validateMapping=function(u,f,h,p){if(f&&typeof f.line!="number"&&typeof f.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(u&&"line"in u&&"column"in u&&u.line>0&&u.column>=0)||f||h||p)&&!(u&&"line"in u&&"column"in u&&f&&"line"in f&&"column"in f&&u.line>0&&u.column>=0&&f.line>0&&f.column>=0&&h))throw new Error("Invalid mapping: "+JSON.stringify({generated:u,source:h,original:f,name:p}))},a.prototype._serializeMappings=function(){for(var u,f,h,p,o=0,y=1,d=0,m=0,S=0,T=0,C="",v=this._mappings.toArray(),k=0,O=v.length;k<O;k++){if(u="",(f=v[k]).generatedLine!==y)for(o=0;f.generatedLine!==y;)u+=";",y++;else if(k>0){if(!t.compareByGeneratedPositionsInflated(f,v[k-1]))continue;u+=","}u+=n.encode(f.generatedColumn-o),o=f.generatedColumn,f.source!=null&&(p=this._sources.indexOf(f.source),u+=n.encode(p-T),T=p,u+=n.encode(f.originalLine-1-m),m=f.originalLine-1,u+=n.encode(f.originalColumn-d),d=f.originalColumn,f.name!=null&&(h=this._names.indexOf(f.name),u+=n.encode(h-S),S=h)),C+=u}return C},a.prototype._generateSourcesContent=function(u,f){return u.map(function(h){if(!this._sourcesContents)return null;f!=null&&(h=t.relative(f,h));var p=t.toSetString(h);return Object.prototype.hasOwnProperty.call(this._sourcesContents,p)?this._sourcesContents[p]:null},this)},a.prototype.toJSON=function(){var u={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(u.file=this._file),this._sourceRoot!=null&&(u.sourceRoot=this._sourceRoot),this._sourcesContents&&(u.sourcesContent=this._generateSourcesContent(u.sources,u.sourceRoot)),u},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=a},"./node_modules/@babel/core/node_modules/source-map/lib/source-node.js":(A,e,c)=>{var n=c("./node_modules/@babel/core/node_modules/source-map/lib/source-map-generator.js").SourceMapGenerator,t=c("./node_modules/@babel/core/node_modules/source-map/lib/util.js"),r=/(\r?\n)/,i="$$$isSourceNode$$$";function a(u,f,h,p,o){this.children=[],this.sourceContents={},this.line=_nullishCoalesce(u, () => (null)),this.column=_nullishCoalesce(f, () => (null)),this.source=_nullishCoalesce(h, () => (null)),this.name=_nullishCoalesce(o, () => (null)),this[i]=!0,p!=null&&this.add(p)}a.fromStringWithSourceMap=function(u,f,h){var p=new a,o=u.split(r),y=0,d=function(){return v()+(v()||"");function v(){return y<o.length?o[y++]:void 0}},m=1,S=0,T=null;return f.eachMapping(function(v){if(T!==null){if(!(m<v.generatedLine)){var k=(O=o[y]).substr(0,v.generatedColumn-S);return o[y]=O.substr(v.generatedColumn-S),S=v.generatedColumn,C(T,k),void(T=v)}C(T,d()),m++,S=0}for(;m<v.generatedLine;)p.add(d()),m++;if(S<v.generatedColumn){var O=o[y];p.add(O.substr(0,v.generatedColumn)),o[y]=O.substr(v.generatedColumn),S=v.generatedColumn}T=v},this),y<o.length&&(T&&C(T,d()),p.add(o.splice(y).join(""))),f.sources.forEach(function(v){var k=f.sourceContentFor(v);k!=null&&(h!=null&&(v=t.join(h,v)),p.setSourceContent(v,k))}),p;function C(v,k){if(v===null||v.source===void 0)p.add(k);else{var O=h?t.join(h,v.source):v.source;p.add(new a(v.originalLine,v.originalColumn,O,k,v.name))}}},a.prototype.add=function(u){if(Array.isArray(u))u.forEach(function(f){this.add(f)},this);else{if(!u[i]&&typeof u!="string")throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+u);u&&this.children.push(u)}return this},a.prototype.prepend=function(u){if(Array.isArray(u))for(var f=u.length-1;f>=0;f--)this.prepend(u[f]);else{if(!u[i]&&typeof u!="string")throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+u);this.children.unshift(u)}return this},a.prototype.walk=function(u){for(var f,h=0,p=this.children.length;h<p;h++)(f=this.children[h])[i]?f.walk(u):f!==""&&u(f,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(u){var f,h,p=this.children.length;if(p>0){for(f=[],h=0;h<p-1;h++)f.push(this.children[h]),f.push(u);f.push(this.children[h]),this.children=f}return this},a.prototype.replaceRight=function(u,f){var h=this.children[this.children.length-1];return h[i]?h.replaceRight(u,f):typeof h=="string"?this.children[this.children.length-1]=h.replace(u,f):this.children.push("".replace(u,f)),this},a.prototype.setSourceContent=function(u,f){this.sourceContents[t.toSetString(u)]=f},a.prototype.walkSourceContents=function(u){for(var f=0,h=this.children.length;f<h;f++)this.children[f][i]&&this.children[f].walkSourceContents(u);var p=Object.keys(this.sourceContents);for(f=0,h=p.length;f<h;f++)u(t.fromSetString(p[f]),this.sourceContents[p[f]])},a.prototype.toString=function(){var u="";return this.walk(function(f){u+=f}),u},a.prototype.toStringWithSourceMap=function(u){var f={code:"",line:1,column:0},h=new n(u),p=!1,o=null,y=null,d=null,m=null;return this.walk(function(S,T){f.code+=S,T.source!==null&&T.line!==null&&T.column!==null?(o===T.source&&y===T.line&&d===T.column&&m===T.name||h.addMapping({source:T.source,original:{line:T.line,column:T.column},generated:{line:f.line,column:f.column},name:T.name}),o=T.source,y=T.line,d=T.column,m=T.name,p=!0):p&&(h.addMapping({generated:{line:f.line,column:f.column}}),o=null,p=!1);for(var C=0,v=S.length;C<v;C++)S.charCodeAt(C)===10?(f.line++,f.column=0,C+1===v?(o=null,p=!1):p&&h.addMapping({source:T.source,original:{line:T.line,column:T.column},generated:{line:f.line,column:f.column},name:T.name})):f.column++}),this.walkSourceContents(function(S,T){h.setSourceContent(S,T)}),{code:f.code,map:h}},e.SourceNode=a},"./node_modules/@babel/core/node_modules/source-map/lib/util.js":(A,e)=>{e.getArg=function(p,o,y){if(o in p)return p[o];if(arguments.length===3)return y;throw new Error('"'+o+'" is a required argument.')};var c=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,n=/^data:.+\,.+$/;function t(p){var o=p.match(c);return o?{scheme:o[1],auth:o[2],host:o[3],port:o[4],path:o[5]}:null}function r(p){var o="";return p.scheme&&(o+=p.scheme+":"),o+="//",p.auth&&(o+=p.auth+"@"),p.host&&(o+=p.host),p.port&&(o+=":"+p.port),p.path&&(o+=p.path),o}function i(p){var o=p,y=t(p);if(y){if(!y.path)return p;o=y.path}for(var d,m=e.isAbsolute(o),S=o.split(/\/+/),T=0,C=S.length-1;C>=0;C--)(d=S[C])==="."?S.splice(C,1):d===".."?T++:T>0&&(d===""?(S.splice(C+1,T),T=0):(S.splice(C,2),T--));return(o=S.join("/"))===""&&(o=m?"/":"."),y?(y.path=o,r(y)):o}e.urlParse=t,e.urlGenerate=r,e.normalize=i,e.join=function(p,o){p===""&&(p="."),o===""&&(o=".");var y=t(o),d=t(p);if(d&&(p=d.path||"/"),y&&!y.scheme)return d&&(y.scheme=d.scheme),r(y);if(y||o.match(n))return o;if(d&&!d.host&&!d.path)return d.host=o,r(d);var m=o.charAt(0)==="/"?o:i(p.replace(/\/+$/,"")+"/"+o);return d?(d.path=m,r(d)):m},e.isAbsolute=function(p){return p.charAt(0)==="/"||!!p.match(c)},e.relative=function(p,o){p===""&&(p="."),p=p.replace(/\/$/,"");for(var y=0;o.indexOf(p+"/")!==0;){var d=p.lastIndexOf("/");if(d<0||(p=p.slice(0,d)).match(/^([^\/]+:\/)?\/*$/))return o;++y}return Array(y+1).join("../")+o.substr(p.length+1)};var a=!("__proto__"in Object.create(null));function u(p){return p}function f(p){if(!p)return!1;var o=p.length;if(o<9||p.charCodeAt(o-1)!==95||p.charCodeAt(o-2)!==95||p.charCodeAt(o-3)!==111||p.charCodeAt(o-4)!==116||p.charCodeAt(o-5)!==111||p.charCodeAt(o-6)!==114||p.charCodeAt(o-7)!==112||p.charCodeAt(o-8)!==95||p.charCodeAt(o-9)!==95)return!1;for(var y=o-10;y>=0;y--)if(p.charCodeAt(y)!==36)return!1;return!0}function h(p,o){return p===o?0:p>o?1:-1}e.toSetString=a?u:function(p){return f(p)?"$"+p:p},e.fromSetString=a?u:function(p){return f(p)?p.slice(1):p},e.compareByOriginalPositions=function(p,o,y){var d=p.source-o.source;return d!==0||(d=p.originalLine-o.originalLine)!==0||(d=p.originalColumn-o.originalColumn)!==0||y||(d=p.generatedColumn-o.generatedColumn)!==0||(d=p.generatedLine-o.generatedLine)!==0?d:p.name-o.name},e.compareByGeneratedPositionsDeflated=function(p,o,y){var d=p.generatedLine-o.generatedLine;return d!==0||(d=p.generatedColumn-o.generatedColumn)!==0||y||(d=p.source-o.source)!==0||(d=p.originalLine-o.originalLine)!==0||(d=p.originalColumn-o.originalColumn)!==0?d:p.name-o.name},e.compareByGeneratedPositionsInflated=function(p,o){var y=p.generatedLine-o.generatedLine;return y!==0||(y=p.generatedColumn-o.generatedColumn)!==0||(y=h(p.source,o.source))!==0||(y=p.originalLine-o.originalLine)!==0||(y=p.originalColumn-o.originalColumn)!==0?y:h(p.name,o.name)}},"./node_modules/@babel/core/node_modules/source-map/source-map.js":(A,e,c)=>{e.SourceMapGenerator=c("./node_modules/@babel/core/node_modules/source-map/lib/source-map-generator.js").SourceMapGenerator,e.SourceMapConsumer=c("./node_modules/@babel/core/node_modules/source-map/lib/source-map-consumer.js").SourceMapConsumer,e.SourceNode=c("./node_modules/@babel/core/node_modules/source-map/lib/source-node.js").SourceNode},"./node_modules/@babel/generator/lib/buffer.js":(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;let c=/^[ \t]+$/;e.default=class{constructor(n){this._map=null,this._buf="",this._last=0,this._queue=[],this._position={line:1,column:0},this._sourcePosition={identifierName:null,line:null,column:null,filename:null},this._disallowedPop=null,this._map=n}get(){this._flush();let n=this._map,t={code:this._buf.trimRight(),map:null,rawMappings:n==null?void 0:n.getRawMappings()};return n&&Object.defineProperty(t,"map",{configurable:!0,enumerable:!0,get(){return this.map=n.get()},set(r){Object.defineProperty(this,"map",{value:r,writable:!0})}}),t}append(n){this._flush();let{line:t,column:r,filename:i,identifierName:a,force:u}=this._sourcePosition;this._append(n,t,r,a,i,u)}queue(n){if(n===`
|
|
95
|
+
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function Fn(B){try{return(0,t().statSync)(B)}catch (e51){return new(t()).Stats}}function ri(B,V,z){let se=Vr.get(B);if(se!==void 0)return se;let le=Er.read(B).string;if(le===void 0){let nt={pjsonPath:B,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return Vr.set(B,nt),nt}let fe;try{fe=JSON.parse(le)}catch(nt){throw new ht(B,(z?`"${V}" from `:"")+(0,n().fileURLToPath)(z||V),nt.message)}let{exports:Ae,imports:Ne,main:Ve,name:Ue,type:Ke}=fe,He={pjsonPath:B,exists:!0,main:typeof Ve=="string"?Ve:void 0,name:typeof Ue=="string"?Ue:void 0,type:Ke==="module"||Ke==="commonjs"?Ke:"none",exports:Ae,imports:Ne&&typeof Ne=="object"?Ne:void 0};return Vr.set(B,He),He}function yn(B){let V=new(n()).URL("./package.json",B);for(;!V.pathname.endsWith("node_modules/package.json");){let le=ri((0,n().fileURLToPath)(V),B);if(le.exists)return le;let fe=V;if(V=new(n()).URL("../package.json",V),V.pathname===fe.pathname)break}let z=(0,n().fileURLToPath)(V),se={pjsonPath:z,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return Vr.set(z,se),se}function gn(B){return Fn((0,n().fileURLToPath)(B)).isFile()}function Fi(B,V,z){let se;if(V.main!==void 0){if(se=new(n()).URL(`./${V.main}`,B),gn(se))return se;let Ae=[`./${V.main}.js`,`./${V.main}.json`,`./${V.main}.node`,`./${V.main}/index.js`,`./${V.main}/index.json`,`./${V.main}/index.node`],Ne=-1;for(;++Ne<Ae.length&&(se=new(n()).URL(Ae[Ne],B),!gn(se));)se=void 0;if(se)return Li(se,B,z,V.main),se}let le=["./index.js","./index.json","./index.node"],fe=-1;for(;++fe<le.length&&(se=new(n()).URL(le[fe],B),!gn(se));)se=void 0;if(se)return Li(se,B,z,V.main),se;throw new ir((0,n().fileURLToPath)(new(n()).URL(".",B)),(0,n().fileURLToPath)(z))}function kn(B,V,z){throw new Rs((0,n().fileURLToPath)(new(n()).URL(".",V)),B,z&&(0,n().fileURLToPath)(z))}function bn(B,V,z,se,le){throw V=typeof V=="object"&&V!==null?JSON.stringify(V,null,""):`${V}`,new Et((0,n().fileURLToPath)(new(n()).URL(".",z)),B,V,se,le&&(0,n().fileURLToPath)(le))}function Mn(B,V,z,se,le,fe,Ae,Ne){if(V===""||fe||B[B.length-1]==="/"||bn(z,B,se,Ae,le),!B.startsWith("./")){if(Ae&&!B.startsWith("../")&&!B.startsWith("/")){let He=!1;try{new(n()).URL(B),He=!0}catch (e52){}if(!He)return Mi(fe?B.replace(Ri,V):B+V,se,Ne)}bn(z,B,se,Ae,le)}ji.test(B.slice(2))&&bn(z,B,se,Ae,le);let Ve=new(n()).URL(B,se),Ue=Ve.pathname,Ke=new(n()).URL(".",se).pathname;return Ue.startsWith(Ke)||bn(z,B,se,Ae,le),V===""?Ve:(ji.test(V)&&function(He,nt,Je,sr){let cr=`request is not a valid subpath for the "${Je?"imports":"exports"}" resolution of ${(0,n().fileURLToPath)(nt)}`;throw new it(He,cr,sr&&(0,n().fileURLToPath)(sr))}(z+V,se,Ae,le),fe?new(n()).URL(Ve.href.replace(Ri,V)):new(n()).URL(V,Ve))}function $s(B){let V=Number(B);return`${V}`===B&&V>=0&&V<4294967295}function Qr(B,V,z,se,le,fe,Ae,Ne){if(typeof V=="string")return Mn(V,z,se,B,le,fe,Ae,Ne);if(Array.isArray(V)){let Ve=V;if(Ve.length===0)return null;let Ue,Ke=-1;for(;++Ke<Ve.length;){let He=Ve[Ke],nt;try{nt=Qr(B,He,z,se,le,fe,Ae,Ne)}catch(Je){if(Ue=Je,Je.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw Je}if(nt!==void 0){if(nt!==null)return nt;Ue=null}}if(Ue==null)return Ue;throw Ue}if(typeof V!="object"||V===null){if(V===null)return null;bn(se,V,B,Ae,le)}else{let Ve=Object.getOwnPropertyNames(V),Ue=-1;for(;++Ue<Ve.length;)if($s(Ve[Ue]))throw new ht((0,n().fileURLToPath)(B),le,'"exports" cannot contain numeric property keys.');for(Ue=-1;++Ue<Ve.length;){let Ke=Ve[Ue];if(Ke==="default"||Ne&&Ne.has(Ke)){let He=Qr(B,V[Ke],z,se,le,fe,Ae,Ne);if(He===void 0)continue;return He}}}}function ki(B,V,z,se,le){let fe=z.exports;if(function(Ue,Ke,He){if(typeof Ue=="string"||Array.isArray(Ue))return!0;if(typeof Ue!="object"||Ue===null)return!1;let nt=Object.getOwnPropertyNames(Ue),Je=!1,sr=0,cr=-1;for(;++cr<nt.length;){let Zr=nt[cr],Ui=Zr===""||Zr[0]!==".";if(sr++==0)Je=Ui;else if(Je!==Ui)throw new ht((0,n().fileURLToPath)(Ke),He,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return Je}(fe,B,se)&&(fe={".":fe}),Ni.call(fe,V)){let Ue=Qr(B,fe[V],"",V,se,!1,!1,le);return Ue==null&&kn(V,B,se),{resolved:Ue,exact:!0}}let Ae="",Ne=Object.getOwnPropertyNames(fe),Ve=-1;for(;++Ve<Ne.length;){let Ue=Ne[Ve];(Ue[Ue.length-1]==="*"&&V.startsWith(Ue.slice(0,-1))&&V.length>=Ue.length&&Ue.length>Ae.length||Ue[Ue.length-1]==="/"&&V.startsWith(Ue)&&Ue.length>Ae.length)&&(Ae=Ue)}if(Ae){let Ue=fe[Ae],Ke=Ae[Ae.length-1]==="*",He=Qr(B,Ue,V.slice(Ae.length-(Ke?1:0)),Ae,se,Ke,!1,le);return He==null&&kn(V,B,se),Ke||mn(Ae,B,!0,se),{resolved:He,exact:Ke}}kn(V,B,se)}function Us(B,V,z){if(B==="#"||B.startsWith("#/"))throw new it(B,"is not a valid internal imports specifier name",(0,n().fileURLToPath)(V));let se,le=yn(V);if(le.exists){se=(0,n().pathToFileURL)(le.pjsonPath);let fe=le.imports;if(fe)if(Ni.call(fe,B)){let Ae=Qr(se,fe[B],"",B,V,!1,!0,z);if(Ae!==null)return{resolved:Ae,exact:!0}}else{let Ae="",Ne=Object.getOwnPropertyNames(fe),Ve=-1;for(;++Ve<Ne.length;){let Ue=Ne[Ve];(Ue[Ue.length-1]==="*"&&B.startsWith(Ue.slice(0,-1))&&B.length>=Ue.length&&Ue.length>Ae.length||Ue[Ue.length-1]==="/"&&B.startsWith(Ue)&&Ue.length>Ae.length)&&(Ae=Ue)}if(Ae){let Ue=fe[Ae],Ke=Ae[Ae.length-1]==="*",He=Qr(se,Ue,B.slice(Ae.length-(Ke?1:0)),Ae,V,Ke,!0,z);if(He!==null)return Ke||mn(Ae,se,!1,V),{resolved:He,exact:Ke}}}}(function(fe,Ae,Ne){throw new $t(fe,Ae&&(0,n().fileURLToPath)(new(n()).URL(".",Ae)),(0,n().fileURLToPath)(Ne))})(B,se,V)}function Mi(B,V,z){let{packageName:se,packageSubpath:le,isScoped:fe}=function(Ke,He){let nt=Ke.indexOf("/"),Je=!0,sr=!1;Ke[0]==="@"&&(sr=!0,nt===-1||Ke.length===0?Je=!1:nt=Ke.indexOf("/",nt+1));let cr=nt===-1?Ke:Ke.slice(0,nt),Zr=-1;for(;++Zr<cr.length;)if(cr[Zr]==="%"||cr[Zr]==="\\"){Je=!1;break}if(!Je)throw new it(Ke,"is not a valid package name",(0,n().fileURLToPath)(He));return{packageName:cr,packageSubpath:"."+(nt===-1?"":Ke.slice(nt)),isScoped:sr}}(B,V),Ae=yn(V);if(Ae.exists){let Ke=(0,n().pathToFileURL)(Ae.pjsonPath);if(Ae.name===se&&Ae.exports!==void 0&&Ae.exports!==null)return ki(Ke,le,Ae,V,z).resolved}let Ne,Ve=new(n()).URL("./node_modules/"+se+"/package.json",V),Ue=(0,n().fileURLToPath)(Ve);do{if(!Fn(Ue.slice(0,-13)).isDirectory()){Ne=Ue,Ve=new(n()).URL((fe?"../../../../node_modules/":"../../../node_modules/")+se+"/package.json",Ve),Ue=(0,n().fileURLToPath)(Ve);continue}let Ke=ri(Ue,B,V);return Ke.exports!==void 0&&Ke.exports!==null?ki(Ve,le,Ke,V,z).resolved:le==="."?Fi(Ve,Ke,V):new(n()).URL(le,Ve)}while(Ue.length!==Ne.length);throw new ir(se,(0,n().fileURLToPath)(V))}function Bi(B,V,z){let se;if(function(le){return le!==""&&(le[0]==="/"||function(fe){return fe[0]==="."&&(fe.length===1||fe[1]==="/"||fe[1]==="."&&(fe.length===2||fe[2]==="/"))}(le))}(B))se=new(n()).URL(B,V);else if(B[0]==="#")({resolved:se}=Us(B,V,z));else try{se=new(n()).URL(B)}catch (e53){se=Mi(B,V,z)}return function(le,fe){if(Bs.test(le.pathname))throw new it(le.pathname,'must not include encoded "/" or "\\" characters',(0,n().fileURLToPath)(fe));let Ae=(0,n().fileURLToPath)(le),Ne=Fn(Ae.endsWith("/")?Ae.slice(-1):Ae);if(Ne.isDirectory()){let Ve=new Ls(Ae,(0,n().fileURLToPath)(fe));throw Ve.url=String(le),Ve}if(!Ne.isFile())throw new ir(Ae||le.pathname,fe&&(0,n().fileURLToPath)(fe),"module");return le}(se,V)}function Vs(B,V={}){let{parentURL:z}=V,se;try{if(se=new(n()).URL(B),se.protocol==="data:")return{url:B}}catch (e54){}if(se&&se.protocol==="node:")return{url:B};if(se&&se.protocol!=="file:"&&se.protocol!=="data:")throw new Fs(se);if(yt.includes(B))return{url:"node:"+B};z.startsWith("data:")&&new(n()).URL(B,z);let le=function(Ue){if(Ue!==void 0&&Ue!==xi){if(!Array.isArray(Ue))throw new ks("conditions",Ue,"expected an array");return new Set(Ue)}return Ms}(V.conditions),fe=Bi(B,new(n()).URL(z),le),Ae=(0,n().fileURLToPath)(fe),Ne=(0,t().realpathSync)(Ae),Ve=fe;return fe=(0,n().pathToFileURL)(Ne+(Ae.endsWith(r().sep)?"/":"")),fe.search=Ve.search,fe.hash=Ve.hash,{url:`${fe}`}}function $i(){return($i=h(function*(B,V){if(!V)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return Vs(B,{parentURL:V}).url}catch(z){return z.code==="ERR_UNSUPPORTED_DIR_IMPORT"?z.url:Promise.reject(z)}})).apply(this,arguments)}},"./node_modules/@babel/core/node_modules/semver/semver.js":(A,e)=>{var c;e=A.exports=p,c=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var _=Array.prototype.slice.call(arguments,0);_.unshift("SEMVER"),console.log.apply(console,_)}:function(){},e.SEMVER_SPEC_VERSION="2.0.0";var n=Number.MAX_SAFE_INTEGER||9007199254740991,t=e.re=[],r=e.src=[],i=e.tokens={},a=0;function u(_){i[_]=a++}u("NUMERICIDENTIFIER"),r[i.NUMERICIDENTIFIER]="0|[1-9]\\d*",u("NUMERICIDENTIFIERLOOSE"),r[i.NUMERICIDENTIFIERLOOSE]="[0-9]+",u("NONNUMERICIDENTIFIER"),r[i.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",u("MAINVERSION"),r[i.MAINVERSION]="("+r[i.NUMERICIDENTIFIER]+")\\.("+r[i.NUMERICIDENTIFIER]+")\\.("+r[i.NUMERICIDENTIFIER]+")",u("MAINVERSIONLOOSE"),r[i.MAINVERSIONLOOSE]="("+r[i.NUMERICIDENTIFIERLOOSE]+")\\.("+r[i.NUMERICIDENTIFIERLOOSE]+")\\.("+r[i.NUMERICIDENTIFIERLOOSE]+")",u("PRERELEASEIDENTIFIER"),r[i.PRERELEASEIDENTIFIER]="(?:"+r[i.NUMERICIDENTIFIER]+"|"+r[i.NONNUMERICIDENTIFIER]+")",u("PRERELEASEIDENTIFIERLOOSE"),r[i.PRERELEASEIDENTIFIERLOOSE]="(?:"+r[i.NUMERICIDENTIFIERLOOSE]+"|"+r[i.NONNUMERICIDENTIFIER]+")",u("PRERELEASE"),r[i.PRERELEASE]="(?:-("+r[i.PRERELEASEIDENTIFIER]+"(?:\\."+r[i.PRERELEASEIDENTIFIER]+")*))",u("PRERELEASELOOSE"),r[i.PRERELEASELOOSE]="(?:-?("+r[i.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+r[i.PRERELEASEIDENTIFIERLOOSE]+")*))",u("BUILDIDENTIFIER"),r[i.BUILDIDENTIFIER]="[0-9A-Za-z-]+",u("BUILD"),r[i.BUILD]="(?:\\+("+r[i.BUILDIDENTIFIER]+"(?:\\."+r[i.BUILDIDENTIFIER]+")*))",u("FULL"),u("FULLPLAIN"),r[i.FULLPLAIN]="v?"+r[i.MAINVERSION]+r[i.PRERELEASE]+"?"+r[i.BUILD]+"?",r[i.FULL]="^"+r[i.FULLPLAIN]+"$",u("LOOSEPLAIN"),r[i.LOOSEPLAIN]="[v=\\s]*"+r[i.MAINVERSIONLOOSE]+r[i.PRERELEASELOOSE]+"?"+r[i.BUILD]+"?",u("LOOSE"),r[i.LOOSE]="^"+r[i.LOOSEPLAIN]+"$",u("GTLT"),r[i.GTLT]="((?:<|>)?=?)",u("XRANGEIDENTIFIERLOOSE"),r[i.XRANGEIDENTIFIERLOOSE]=r[i.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",u("XRANGEIDENTIFIER"),r[i.XRANGEIDENTIFIER]=r[i.NUMERICIDENTIFIER]+"|x|X|\\*",u("XRANGEPLAIN"),r[i.XRANGEPLAIN]="[v=\\s]*("+r[i.XRANGEIDENTIFIER]+")(?:\\.("+r[i.XRANGEIDENTIFIER]+")(?:\\.("+r[i.XRANGEIDENTIFIER]+")(?:"+r[i.PRERELEASE]+")?"+r[i.BUILD]+"?)?)?",u("XRANGEPLAINLOOSE"),r[i.XRANGEPLAINLOOSE]="[v=\\s]*("+r[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+r[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+r[i.XRANGEIDENTIFIERLOOSE]+")(?:"+r[i.PRERELEASELOOSE]+")?"+r[i.BUILD]+"?)?)?",u("XRANGE"),r[i.XRANGE]="^"+r[i.GTLT]+"\\s*"+r[i.XRANGEPLAIN]+"$",u("XRANGELOOSE"),r[i.XRANGELOOSE]="^"+r[i.GTLT]+"\\s*"+r[i.XRANGEPLAINLOOSE]+"$",u("COERCE"),r[i.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",u("COERCERTL"),t[i.COERCERTL]=new RegExp(r[i.COERCE],"g"),u("LONETILDE"),r[i.LONETILDE]="(?:~>?)",u("TILDETRIM"),r[i.TILDETRIM]="(\\s*)"+r[i.LONETILDE]+"\\s+",t[i.TILDETRIM]=new RegExp(r[i.TILDETRIM],"g"),u("TILDE"),r[i.TILDE]="^"+r[i.LONETILDE]+r[i.XRANGEPLAIN]+"$",u("TILDELOOSE"),r[i.TILDELOOSE]="^"+r[i.LONETILDE]+r[i.XRANGEPLAINLOOSE]+"$",u("LONECARET"),r[i.LONECARET]="(?:\\^)",u("CARETTRIM"),r[i.CARETTRIM]="(\\s*)"+r[i.LONECARET]+"\\s+",t[i.CARETTRIM]=new RegExp(r[i.CARETTRIM],"g"),u("CARET"),r[i.CARET]="^"+r[i.LONECARET]+r[i.XRANGEPLAIN]+"$",u("CARETLOOSE"),r[i.CARETLOOSE]="^"+r[i.LONECARET]+r[i.XRANGEPLAINLOOSE]+"$",u("COMPARATORLOOSE"),r[i.COMPARATORLOOSE]="^"+r[i.GTLT]+"\\s*("+r[i.LOOSEPLAIN]+")$|^$",u("COMPARATOR"),r[i.COMPARATOR]="^"+r[i.GTLT]+"\\s*("+r[i.FULLPLAIN]+")$|^$",u("COMPARATORTRIM"),r[i.COMPARATORTRIM]="(\\s*)"+r[i.GTLT]+"\\s*("+r[i.LOOSEPLAIN]+"|"+r[i.XRANGEPLAIN]+")",t[i.COMPARATORTRIM]=new RegExp(r[i.COMPARATORTRIM],"g"),u("HYPHENRANGE"),r[i.HYPHENRANGE]="^\\s*("+r[i.XRANGEPLAIN]+")\\s+-\\s+("+r[i.XRANGEPLAIN]+")\\s*$",u("HYPHENRANGELOOSE"),r[i.HYPHENRANGELOOSE]="^\\s*("+r[i.XRANGEPLAINLOOSE]+")\\s+-\\s+("+r[i.XRANGEPLAINLOOSE]+")\\s*$",u("STAR"),r[i.STAR]="(<|>)?=?\\s*\\*";for(var f=0;f<a;f++)c(f,r[f]),t[f]||(t[f]=new RegExp(r[f]));function h(_,F){if(F&&typeof F=="object"||(F={loose:!!F,includePrerelease:!1}),_ instanceof p)return _;if(typeof _!="string"||_.length>256||!(F.loose?t[i.LOOSE]:t[i.FULL]).test(_))return null;try{return new p(_,F)}catch (e55){return null}}function p(_,F){if(F&&typeof F=="object"||(F={loose:!!F,includePrerelease:!1}),_ instanceof p){if(_.loose===F.loose)return _;_=_.version}else if(typeof _!="string")throw new TypeError("Invalid Version: "+_);if(_.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof p))return new p(_,F);c("SemVer",_,F),this.options=F,this.loose=!!F.loose;var R=_.trim().match(F.loose?t[i.LOOSE]:t[i.FULL]);if(!R)throw new TypeError("Invalid Version: "+_);if(this.raw=_,this.major=+R[1],this.minor=+R[2],this.patch=+R[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");R[4]?this.prerelease=R[4].split(".").map(function(W){if(/^[0-9]+$/.test(W)){var J=+W;if(J>=0&&J<n)return J}return W}):this.prerelease=[],this.build=R[5]?R[5].split("."):[],this.format()}e.parse=h,e.valid=function(_,F){var R=h(_,F);return R?R.version:null},e.clean=function(_,F){var R=h(_.trim().replace(/^[=v]+/,""),F);return R?R.version:null},e.SemVer=p,p.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},p.prototype.toString=function(){return this.version},p.prototype.compare=function(_){return c("SemVer.compare",this.version,this.options,_),_ instanceof p||(_=new p(_,this.options)),this.compareMain(_)||this.comparePre(_)},p.prototype.compareMain=function(_){return _ instanceof p||(_=new p(_,this.options)),y(this.major,_.major)||y(this.minor,_.minor)||y(this.patch,_.patch)},p.prototype.comparePre=function(_){if(_ instanceof p||(_=new p(_,this.options)),this.prerelease.length&&!_.prerelease.length)return-1;if(!this.prerelease.length&&_.prerelease.length)return 1;if(!this.prerelease.length&&!_.prerelease.length)return 0;var F=0;do{var R=this.prerelease[F],W=_.prerelease[F];if(c("prerelease compare",F,R,W),R===void 0&&W===void 0)return 0;if(W===void 0)return 1;if(R===void 0)return-1;if(R!==W)return y(R,W)}while(++F)},p.prototype.compareBuild=function(_){_ instanceof p||(_=new p(_,this.options));var F=0;do{var R=this.build[F],W=_.build[F];if(c("prerelease compare",F,R,W),R===void 0&&W===void 0)return 0;if(W===void 0)return 1;if(R===void 0)return-1;if(R!==W)return y(R,W)}while(++F)},p.prototype.inc=function(_,F){switch(_){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",F);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",F);break;case"prepatch":this.prerelease.length=0,this.inc("patch",F),this.inc("pre",F);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",F),this.inc("pre",F);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var R=this.prerelease.length;--R>=0;)typeof this.prerelease[R]=="number"&&(this.prerelease[R]++,R=-2);R===-1&&this.prerelease.push(0)}F&&(this.prerelease[0]===F?isNaN(this.prerelease[1])&&(this.prerelease=[F,0]):this.prerelease=[F,0]);break;default:throw new Error("invalid increment argument: "+_)}return this.format(),this.raw=this.version,this},e.inc=function(_,F,R,W){typeof R=="string"&&(W=R,R=void 0);try{return new p(_,R).inc(F,W).version}catch (e56){return null}},e.diff=function(_,F){if(T(_,F))return null;var R=h(_),W=h(F),J="";if(R.prerelease.length||W.prerelease.length){J="pre";var ne="prerelease"}for(var re in R)if((re==="major"||re==="minor"||re==="patch")&&R[re]!==W[re])return J+re;return ne},e.compareIdentifiers=y;var o=/^[0-9]+$/;function y(_,F){var R=o.test(_),W=o.test(F);return R&&W&&(_=+_,F=+F),_===F?0:R&&!W?-1:W&&!R?1:_<F?-1:1}function d(_,F,R){return new p(_,R).compare(new p(F,R))}function m(_,F,R){return d(_,F,R)>0}function S(_,F,R){return d(_,F,R)<0}function T(_,F,R){return d(_,F,R)===0}function C(_,F,R){return d(_,F,R)!==0}function v(_,F,R){return d(_,F,R)>=0}function k(_,F,R){return d(_,F,R)<=0}function O(_,F,R,W){switch(F){case"===":return typeof _=="object"&&(_=_.version),typeof R=="object"&&(R=R.version),_===R;case"!==":return typeof _=="object"&&(_=_.version),typeof R=="object"&&(R=R.version),_!==R;case"":case"=":case"==":return T(_,R,W);case"!=":return C(_,R,W);case">":return m(_,R,W);case">=":return v(_,R,W);case"<":return S(_,R,W);case"<=":return k(_,R,W);default:throw new TypeError("Invalid operator: "+F)}}function x(_,F){if(F&&typeof F=="object"||(F={loose:!!F,includePrerelease:!1}),_ instanceof x){if(_.loose===!!F.loose)return _;_=_.value}if(!(this instanceof x))return new x(_,F);c("comparator",_,F),this.options=F,this.loose=!!F.loose,this.parse(_),this.semver===M?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}e.rcompareIdentifiers=function(_,F){return y(F,_)},e.major=function(_,F){return new p(_,F).major},e.minor=function(_,F){return new p(_,F).minor},e.patch=function(_,F){return new p(_,F).patch},e.compare=d,e.compareLoose=function(_,F){return d(_,F,!0)},e.compareBuild=function(_,F,R){var W=new p(_,R),J=new p(F,R);return W.compare(J)||W.compareBuild(J)},e.rcompare=function(_,F,R){return d(F,_,R)},e.sort=function(_,F){return _.sort(function(R,W){return e.compareBuild(R,W,F)})},e.rsort=function(_,F){return _.sort(function(R,W){return e.compareBuild(W,R,F)})},e.gt=m,e.lt=S,e.eq=T,e.neq=C,e.gte=v,e.lte=k,e.cmp=O,e.Comparator=x;var M={};function $(_,F){if(F&&typeof F=="object"||(F={loose:!!F,includePrerelease:!1}),_ instanceof $)return _.loose===!!F.loose&&_.includePrerelease===!!F.includePrerelease?_:new $(_.raw,F);if(_ instanceof x)return new $(_.value,F);if(!(this instanceof $))return new $(_,F);if(this.options=F,this.loose=!!F.loose,this.includePrerelease=!!F.includePrerelease,this.raw=_,this.set=_.split(/\s*\|\|\s*/).map(function(R){return this.parseRange(R.trim())},this).filter(function(R){return R.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+_);this.format()}function H(_,F){for(var R=!0,W=_.slice(),J=W.pop();R&&W.length;)R=W.every(function(ne){return J.intersects(ne,F)}),J=W.pop();return R}function Q(_){return!_||_.toLowerCase()==="x"||_==="*"}function K(_,F,R,W,J,ne,re,ae,de,he,De,Te,Ce){return((F=Q(R)?"":Q(W)?">="+R+".0.0":Q(J)?">="+R+"."+W+".0":">="+F)+" "+(ae=Q(de)?"":Q(he)?"<"+(+de+1)+".0.0":Q(De)?"<"+de+"."+(+he+1)+".0":Te?"<="+de+"."+he+"."+De+"-"+Te:"<="+ae)).trim()}function Y(_,F,R){for(var W=0;W<_.length;W++)if(!_[W].test(F))return!1;if(F.prerelease.length&&!R.includePrerelease){for(W=0;W<_.length;W++)if(c(_[W].semver),_[W].semver!==M&&_[W].semver.prerelease.length>0){var J=_[W].semver;if(J.major===F.major&&J.minor===F.minor&&J.patch===F.patch)return!0}return!1}return!0}function L(_,F,R){try{F=new $(F,R)}catch (e57){return!1}return F.test(_)}function D(_,F,R,W){var J,ne,re,ae,de;switch(_=new p(_,W),F=new $(F,W),R){case">":J=m,ne=k,re=S,ae=">",de=">=";break;case"<":J=S,ne=v,re=m,ae="<",de="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(L(_,F,W))return!1;for(var he=0;he<F.set.length;++he){var De=F.set[he],Te=null,Ce=null;if(De.forEach(function(ye){ye.semver===M&&(ye=new x(">=0.0.0")),Te=Te||ye,Ce=Ce||ye,J(ye.semver,Te.semver,W)?Te=ye:re(ye.semver,Ce.semver,W)&&(Ce=ye)}),Te.operator===ae||Te.operator===de||(!Ce.operator||Ce.operator===ae)&&ne(_,Ce.semver)||Ce.operator===de&&re(_,Ce.semver))return!1}return!0}x.prototype.parse=function(_){var F=this.options.loose?t[i.COMPARATORLOOSE]:t[i.COMPARATOR],R=_.match(F);if(!R)throw new TypeError("Invalid comparator: "+_);this.operator=R[1]!==void 0?R[1]:"",this.operator==="="&&(this.operator=""),R[2]?this.semver=new p(R[2],this.options.loose):this.semver=M},x.prototype.toString=function(){return this.value},x.prototype.test=function(_){if(c("Comparator.test",_,this.options.loose),this.semver===M||_===M)return!0;if(typeof _=="string")try{_=new p(_,this.options)}catch (e58){return!1}return O(_,this.operator,this.semver,this.options)},x.prototype.intersects=function(_,F){if(!(_ instanceof x))throw new TypeError("a Comparator is required");var R;if(F&&typeof F=="object"||(F={loose:!!F,includePrerelease:!1}),this.operator==="")return this.value===""||(R=new $(_.value,F),L(this.value,R,F));if(_.operator==="")return _.value===""||(R=new $(this.value,F),L(_.semver,R,F));var W=!(this.operator!==">="&&this.operator!==">"||_.operator!==">="&&_.operator!==">"),J=!(this.operator!=="<="&&this.operator!=="<"||_.operator!=="<="&&_.operator!=="<"),ne=this.semver.version===_.semver.version,re=!(this.operator!==">="&&this.operator!=="<="||_.operator!==">="&&_.operator!=="<="),ae=O(this.semver,"<",_.semver,F)&&(this.operator===">="||this.operator===">")&&(_.operator==="<="||_.operator==="<"),de=O(this.semver,">",_.semver,F)&&(this.operator==="<="||this.operator==="<")&&(_.operator===">="||_.operator===">");return W||J||ne&&re||ae||de},e.Range=$,$.prototype.format=function(){return this.range=this.set.map(function(_){return _.join(" ").trim()}).join("||").trim(),this.range},$.prototype.toString=function(){return this.range},$.prototype.parseRange=function(_){var F=this.options.loose;_=_.trim();var R=F?t[i.HYPHENRANGELOOSE]:t[i.HYPHENRANGE];_=_.replace(R,K),c("hyphen replace",_),_=_.replace(t[i.COMPARATORTRIM],"$1$2$3"),c("comparator trim",_,t[i.COMPARATORTRIM]),_=(_=(_=_.replace(t[i.TILDETRIM],"$1~")).replace(t[i.CARETTRIM],"$1^")).split(/\s+/).join(" ");var W=F?t[i.COMPARATORLOOSE]:t[i.COMPARATOR],J=_.split(" ").map(function(ne){return function(re,ae){return c("comp",re,ae),re=function(de,he){return de.trim().split(/\s+/).map(function(De){return function(Te,Ce){c("caret",Te,Ce);var ye=Ce.loose?t[i.CARETLOOSE]:t[i.CARET];return Te.replace(ye,function(me,Pe,xe,Re,pe){var ee;return c("caret",Te,me,Pe,xe,Re,pe),Q(Pe)?ee="":Q(xe)?ee=">="+Pe+".0.0 <"+(+Pe+1)+".0.0":Q(Re)?ee=Pe==="0"?">="+Pe+"."+xe+".0 <"+Pe+"."+(+xe+1)+".0":">="+Pe+"."+xe+".0 <"+(+Pe+1)+".0.0":pe?(c("replaceCaret pr",pe),ee=Pe==="0"?xe==="0"?">="+Pe+"."+xe+"."+Re+"-"+pe+" <"+Pe+"."+xe+"."+(+Re+1):">="+Pe+"."+xe+"."+Re+"-"+pe+" <"+Pe+"."+(+xe+1)+".0":">="+Pe+"."+xe+"."+Re+"-"+pe+" <"+(+Pe+1)+".0.0"):(c("no pr"),ee=Pe==="0"?xe==="0"?">="+Pe+"."+xe+"."+Re+" <"+Pe+"."+xe+"."+(+Re+1):">="+Pe+"."+xe+"."+Re+" <"+Pe+"."+(+xe+1)+".0":">="+Pe+"."+xe+"."+Re+" <"+(+Pe+1)+".0.0"),c("caret return",ee),ee})}(De,he)}).join(" ")}(re,ae),c("caret",re),re=function(de,he){return de.trim().split(/\s+/).map(function(De){return function(Te,Ce){var ye=Ce.loose?t[i.TILDELOOSE]:t[i.TILDE];return Te.replace(ye,function(me,Pe,xe,Re,pe){var ee;return c("tilde",Te,me,Pe,xe,Re,pe),Q(Pe)?ee="":Q(xe)?ee=">="+Pe+".0.0 <"+(+Pe+1)+".0.0":Q(Re)?ee=">="+Pe+"."+xe+".0 <"+Pe+"."+(+xe+1)+".0":pe?(c("replaceTilde pr",pe),ee=">="+Pe+"."+xe+"."+Re+"-"+pe+" <"+Pe+"."+(+xe+1)+".0"):ee=">="+Pe+"."+xe+"."+Re+" <"+Pe+"."+(+xe+1)+".0",c("tilde return",ee),ee})}(De,he)}).join(" ")}(re,ae),c("tildes",re),re=function(de,he){return c("replaceXRanges",de,he),de.split(/\s+/).map(function(De){return function(Te,Ce){Te=Te.trim();var ye=Ce.loose?t[i.XRANGELOOSE]:t[i.XRANGE];return Te.replace(ye,function(me,Pe,xe,Re,pe,ee){c("xRange",Te,me,Pe,xe,Re,pe,ee);var ue=Q(xe),be=ue||Q(Re),Oe=be||Q(pe),$e=Oe;return Pe==="="&&$e&&(Pe=""),ee=Ce.includePrerelease?"-0":"",ue?me=Pe===">"||Pe==="<"?"<0.0.0-0":"*":Pe&&$e?(be&&(Re=0),pe=0,Pe===">"?(Pe=">=",be?(xe=+xe+1,Re=0,pe=0):(Re=+Re+1,pe=0)):Pe==="<="&&(Pe="<",be?xe=+xe+1:Re=+Re+1),me=Pe+xe+"."+Re+"."+pe+ee):be?me=">="+xe+".0.0"+ee+" <"+(+xe+1)+".0.0"+ee:Oe&&(me=">="+xe+"."+Re+".0"+ee+" <"+xe+"."+(+Re+1)+".0"+ee),c("xRange return",me),me})}(De,he)}).join(" ")}(re,ae),c("xrange",re),re=function(de,he){return c("replaceStars",de,he),de.trim().replace(t[i.STAR],"")}(re,ae),c("stars",re),re}(ne,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(J=J.filter(function(ne){return!!ne.match(W)})),J=J.map(function(ne){return new x(ne,this.options)},this)},$.prototype.intersects=function(_,F){if(!(_ instanceof $))throw new TypeError("a Range is required");return this.set.some(function(R){return H(R,F)&&_.set.some(function(W){return H(W,F)&&R.every(function(J){return W.every(function(ne){return J.intersects(ne,F)})})})})},e.toComparators=function(_,F){return new $(_,F).set.map(function(R){return R.map(function(W){return W.value}).join(" ").trim().split(" ")})},$.prototype.test=function(_){if(!_)return!1;if(typeof _=="string")try{_=new p(_,this.options)}catch (e59){return!1}for(var F=0;F<this.set.length;F++)if(Y(this.set[F],_,this.options))return!0;return!1},e.satisfies=L,e.maxSatisfying=function(_,F,R){var W=null,J=null;try{var ne=new $(F,R)}catch (e60){return null}return _.forEach(function(re){ne.test(re)&&(W&&J.compare(re)!==-1||(J=new p(W=re,R)))}),W},e.minSatisfying=function(_,F,R){var W=null,J=null;try{var ne=new $(F,R)}catch (e61){return null}return _.forEach(function(re){ne.test(re)&&(W&&J.compare(re)!==1||(J=new p(W=re,R)))}),W},e.minVersion=function(_,F){_=new $(_,F);var R=new p("0.0.0");if(_.test(R)||(R=new p("0.0.0-0"),_.test(R)))return R;R=null;for(var W=0;W<_.set.length;++W)_.set[W].forEach(function(J){var ne=new p(J.semver.version);switch(J.operator){case">":ne.prerelease.length===0?ne.patch++:ne.prerelease.push(0),ne.raw=ne.format();case"":case">=":R&&!m(R,ne)||(R=ne);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+J.operator)}});return R&&_.test(R)?R:null},e.validRange=function(_,F){try{return new $(_,F).range||"*"}catch (e62){return null}},e.ltr=function(_,F,R){return D(_,F,"<",R)},e.gtr=function(_,F,R){return D(_,F,">",R)},e.outside=D,e.prerelease=function(_,F){var R=h(_,F);return R&&R.prerelease.length?R.prerelease:null},e.intersects=function(_,F,R){return _=new $(_,R),F=new $(F,R),_.intersects(F)},e.coerce=function(_,F){if(_ instanceof p)return _;if(typeof _=="number"&&(_=String(_)),typeof _!="string")return null;var R=null;if((F=F||{}).rtl){for(var W;(W=t[i.COERCERTL].exec(_))&&(!R||R.index+R[0].length!==_.length);)R&&W.index+W[0].length===R.index+R[0].length||(R=W),t[i.COERCERTL].lastIndex=W.index+W[1].length+W[2].length;t[i.COERCERTL].lastIndex=-1}else R=_.match(t[i.COERCE]);return R===null?null:h(R[2]+"."+(R[3]||"0")+"."+(R[4]||"0"),F)}},"./node_modules/@babel/core/node_modules/source-map/lib/array-set.js":(A,e,c)=>{var n=c("./node_modules/@babel/core/node_modules/source-map/lib/util.js"),t=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}i.fromArray=function(a,u){for(var f=new i,h=0,p=a.length;h<p;h++)f.add(a[h],u);return f},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(a,u){var f=r?a:n.toSetString(a),h=r?this.has(a):t.call(this._set,f),p=this._array.length;h&&!u||this._array.push(a),h||(r?this._set.set(a,p):this._set[f]=p)},i.prototype.has=function(a){if(r)return this._set.has(a);var u=n.toSetString(a);return t.call(this._set,u)},i.prototype.indexOf=function(a){if(r){var u=this._set.get(a);if(u>=0)return u}else{var f=n.toSetString(a);if(t.call(this._set,f))return this._set[f]}throw new Error('"'+a+'" is not in the set.')},i.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},i.prototype.toArray=function(){return this._array.slice()},e.I=i},"./node_modules/@babel/core/node_modules/source-map/lib/base64-vlq.js":(A,e,c)=>{var n=c("./node_modules/@babel/core/node_modules/source-map/lib/base64.js");e.encode=function(t){var r,i="",a=function(u){return u<0?1+(-u<<1):0+(u<<1)}(t);do r=31&a,(a>>>=5)>0&&(r|=32),i+=n.encode(r);while(a>0);return i},e.decode=function(t,r,i){var a,u,f,h,p=t.length,o=0,y=0;do{if(r>=p)throw new Error("Expected more digits in base 64 VLQ value.");if((u=n.decode(t.charCodeAt(r++)))===-1)throw new Error("Invalid base64 digit: "+t.charAt(r-1));a=!!(32&u),o+=(u&=31)<<y,y+=5}while(a);i.value=(h=(f=o)>>1,(1&f)==1?-h:h),i.rest=r}},"./node_modules/@babel/core/node_modules/source-map/lib/base64.js":(A,e)=>{var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(n){if(0<=n&&n<c.length)return c[n];throw new TypeError("Must be between 0 and 63: "+n)},e.decode=function(n){return 65<=n&&n<=90?n-65:97<=n&&n<=122?n-97+26:48<=n&&n<=57?n-48+52:n==43?62:n==47?63:-1}},"./node_modules/@babel/core/node_modules/source-map/lib/binary-search.js":(A,e)=>{function c(n,t,r,i,a,u){var f=Math.floor((t-n)/2)+n,h=a(r,i[f],!0);return h===0?f:h>0?t-f>1?c(f,t,r,i,a,u):u==e.LEAST_UPPER_BOUND?t<i.length?t:-1:f:f-n>1?c(n,f,r,i,a,u):u==e.LEAST_UPPER_BOUND?f:n<0?-1:n}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(n,t,r,i){if(t.length===0)return-1;var a=c(-1,t.length,n,t,r,i||e.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&r(t[a],t[a-1],!0)===0;)--a;return a}},"./node_modules/@babel/core/node_modules/source-map/lib/mapping-list.js":(A,e,c)=>{var n=c("./node_modules/@babel/core/node_modules/source-map/lib/util.js");function t(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}t.prototype.unsortedForEach=function(r,i){this._array.forEach(r,i)},t.prototype.add=function(r){var i,a,u,f,h,p;i=this._last,a=r,u=i.generatedLine,f=a.generatedLine,h=i.generatedColumn,p=a.generatedColumn,f>u||f==u&&p>=h||n.compareByGeneratedPositionsInflated(i,a)<=0?(this._last=r,this._array.push(r)):(this._sorted=!1,this._array.push(r))},t.prototype.toArray=function(){return this._sorted||(this._array.sort(n.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.H=t},"./node_modules/@babel/core/node_modules/source-map/lib/quick-sort.js":(A,e)=>{function c(t,r,i){var a=t[r];t[r]=t[i],t[i]=a}function n(t,r,i,a){if(i<a){var u=i-1;c(t,(o=i,y=a,Math.round(o+Math.random()*(y-o))),a);for(var f=t[a],h=i;h<a;h++)r(t[h],f)<=0&&c(t,u+=1,h);c(t,u+1,h);var p=u+1;n(t,r,i,p-1),n(t,r,p+1,a)}var o,y}e.U=function(t,r){n(t,r,0,t.length-1)}},"./node_modules/@babel/core/node_modules/source-map/lib/source-map-consumer.js":(A,e,c)=>{var n=c("./node_modules/@babel/core/node_modules/source-map/lib/util.js"),t=c("./node_modules/@babel/core/node_modules/source-map/lib/binary-search.js"),r=c("./node_modules/@babel/core/node_modules/source-map/lib/array-set.js").I,i=c("./node_modules/@babel/core/node_modules/source-map/lib/base64-vlq.js"),a=c("./node_modules/@babel/core/node_modules/source-map/lib/quick-sort.js").U;function u(o){var y=o;return typeof o=="string"&&(y=JSON.parse(o.replace(/^\)\]\}'/,""))),y.sections!=null?new p(y):new f(y)}function f(o){var y=o;typeof o=="string"&&(y=JSON.parse(o.replace(/^\)\]\}'/,"")));var d=n.getArg(y,"version"),m=n.getArg(y,"sources"),S=n.getArg(y,"names",[]),T=n.getArg(y,"sourceRoot",null),C=n.getArg(y,"sourcesContent",null),v=n.getArg(y,"mappings"),k=n.getArg(y,"file",null);if(d!=this._version)throw new Error("Unsupported version: "+d);m=m.map(String).map(n.normalize).map(function(O){return T&&n.isAbsolute(T)&&n.isAbsolute(O)?n.relative(T,O):O}),this._names=r.fromArray(S.map(String),!0),this._sources=r.fromArray(m,!0),this.sourceRoot=T,this.sourcesContent=C,this._mappings=v,this.file=k}function h(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function p(o){var y=o;typeof o=="string"&&(y=JSON.parse(o.replace(/^\)\]\}'/,"")));var d=n.getArg(y,"version"),m=n.getArg(y,"sections");if(d!=this._version)throw new Error("Unsupported version: "+d);this._sources=new r,this._names=new r;var S={line:-1,column:0};this._sections=m.map(function(T){if(T.url)throw new Error("Support for url field in sections not implemented.");var C=n.getArg(T,"offset"),v=n.getArg(C,"line"),k=n.getArg(C,"column");if(v<S.line||v===S.line&&k<S.column)throw new Error("Section offsets must be ordered and non-overlapping.");return S=C,{generatedOffset:{generatedLine:v+1,generatedColumn:k+1},consumer:new u(n.getArg(T,"map"))}})}u.fromSourceMap=function(o){return f.fromSourceMap(o)},u.prototype._version=3,u.prototype.__generatedMappings=null,Object.defineProperty(u.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),u.prototype.__originalMappings=null,Object.defineProperty(u.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),u.prototype._charIsMappingSeparator=function(o,y){var d=o.charAt(y);return d===";"||d===","},u.prototype._parseMappings=function(o,y){throw new Error("Subclasses must implement _parseMappings")},u.GENERATED_ORDER=1,u.ORIGINAL_ORDER=2,u.GREATEST_LOWER_BOUND=1,u.LEAST_UPPER_BOUND=2,u.prototype.eachMapping=function(o,y,d){var m,S=y||null;switch(d||u.GENERATED_ORDER){case u.GENERATED_ORDER:m=this._generatedMappings;break;case u.ORIGINAL_ORDER:m=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var T=this.sourceRoot;m.map(function(C){var v=C.source===null?null:this._sources.at(C.source);return v!=null&&T!=null&&(v=n.join(T,v)),{source:v,generatedLine:C.generatedLine,generatedColumn:C.generatedColumn,originalLine:C.originalLine,originalColumn:C.originalColumn,name:C.name===null?null:this._names.at(C.name)}},this).forEach(o,S)},u.prototype.allGeneratedPositionsFor=function(o){var y=n.getArg(o,"line"),d={source:n.getArg(o,"source"),originalLine:y,originalColumn:n.getArg(o,"column",0)};if(this.sourceRoot!=null&&(d.source=n.relative(this.sourceRoot,d.source)),!this._sources.has(d.source))return[];d.source=this._sources.indexOf(d.source);var m=[],S=this._findMapping(d,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(S>=0){var T=this._originalMappings[S];if(o.column===void 0)for(var C=T.originalLine;T&&T.originalLine===C;)m.push({line:n.getArg(T,"generatedLine",null),column:n.getArg(T,"generatedColumn",null),lastColumn:n.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++S];else for(var v=T.originalColumn;T&&T.originalLine===y&&T.originalColumn==v;)m.push({line:n.getArg(T,"generatedLine",null),column:n.getArg(T,"generatedColumn",null),lastColumn:n.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++S]}return m},e.SourceMapConsumer=u,f.prototype=Object.create(u.prototype),f.prototype.consumer=u,f.fromSourceMap=function(o){var y=Object.create(f.prototype),d=y._names=r.fromArray(o._names.toArray(),!0),m=y._sources=r.fromArray(o._sources.toArray(),!0);y.sourceRoot=o._sourceRoot,y.sourcesContent=o._generateSourcesContent(y._sources.toArray(),y.sourceRoot),y.file=o._file;for(var S=o._mappings.toArray().slice(),T=y.__generatedMappings=[],C=y.__originalMappings=[],v=0,k=S.length;v<k;v++){var O=S[v],x=new h;x.generatedLine=O.generatedLine,x.generatedColumn=O.generatedColumn,O.source&&(x.source=m.indexOf(O.source),x.originalLine=O.originalLine,x.originalColumn=O.originalColumn,O.name&&(x.name=d.indexOf(O.name)),C.push(x)),T.push(x)}return a(y.__originalMappings,n.compareByOriginalPositions),y},f.prototype._version=3,Object.defineProperty(f.prototype,"sources",{get:function(){return this._sources.toArray().map(function(o){return this.sourceRoot!=null?n.join(this.sourceRoot,o):o},this)}}),f.prototype._parseMappings=function(o,y){for(var d,m,S,T,C,v=1,k=0,O=0,x=0,M=0,$=0,H=o.length,Q=0,K={},Y={},L=[],D=[];Q<H;)if(o.charAt(Q)===";")v++,Q++,k=0;else if(o.charAt(Q)===",")Q++;else{for((d=new h).generatedLine=v,T=Q;T<H&&!this._charIsMappingSeparator(o,T);T++);if(S=K[m=o.slice(Q,T)])Q+=m.length;else{for(S=[];Q<T;)i.decode(o,Q,Y),C=Y.value,Q=Y.rest,S.push(C);if(S.length===2)throw new Error("Found a source, but no line and column");if(S.length===3)throw new Error("Found a source and line, but no column");K[m]=S}d.generatedColumn=k+S[0],k=d.generatedColumn,S.length>1&&(d.source=M+S[1],M+=S[1],d.originalLine=O+S[2],O=d.originalLine,d.originalLine+=1,d.originalColumn=x+S[3],x=d.originalColumn,S.length>4&&(d.name=$+S[4],$+=S[4])),D.push(d),typeof d.originalLine=="number"&&L.push(d)}a(D,n.compareByGeneratedPositionsDeflated),this.__generatedMappings=D,a(L,n.compareByOriginalPositions),this.__originalMappings=L},f.prototype._findMapping=function(o,y,d,m,S,T){if(o[d]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+o[d]);if(o[m]<0)throw new TypeError("Column must be greater than or equal to 0, got "+o[m]);return t.search(o,y,S,T)},f.prototype.computeColumnSpans=function(){for(var o=0;o<this._generatedMappings.length;++o){var y=this._generatedMappings[o];if(o+1<this._generatedMappings.length){var d=this._generatedMappings[o+1];if(y.generatedLine===d.generatedLine){y.lastGeneratedColumn=d.generatedColumn-1;continue}}y.lastGeneratedColumn=1/0}},f.prototype.originalPositionFor=function(o){var y={generatedLine:n.getArg(o,"line"),generatedColumn:n.getArg(o,"column")},d=this._findMapping(y,this._generatedMappings,"generatedLine","generatedColumn",n.compareByGeneratedPositionsDeflated,n.getArg(o,"bias",u.GREATEST_LOWER_BOUND));if(d>=0){var m=this._generatedMappings[d];if(m.generatedLine===y.generatedLine){var S=n.getArg(m,"source",null);S!==null&&(S=this._sources.at(S),this.sourceRoot!=null&&(S=n.join(this.sourceRoot,S)));var T=n.getArg(m,"name",null);return T!==null&&(T=this._names.at(T)),{source:S,line:n.getArg(m,"originalLine",null),column:n.getArg(m,"originalColumn",null),name:T}}}return{source:null,line:null,column:null,name:null}},f.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(o){return o==null})},f.prototype.sourceContentFor=function(o,y){if(!this.sourcesContent)return null;if(this.sourceRoot!=null&&(o=n.relative(this.sourceRoot,o)),this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];var d;if(this.sourceRoot!=null&&(d=n.urlParse(this.sourceRoot))){var m=o.replace(/^file:\/\//,"");if(d.scheme=="file"&&this._sources.has(m))return this.sourcesContent[this._sources.indexOf(m)];if((!d.path||d.path=="/")&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(y)return null;throw new Error('"'+o+'" is not in the SourceMap.')},f.prototype.generatedPositionFor=function(o){var y=n.getArg(o,"source");if(this.sourceRoot!=null&&(y=n.relative(this.sourceRoot,y)),!this._sources.has(y))return{line:null,column:null,lastColumn:null};var d={source:y=this._sources.indexOf(y),originalLine:n.getArg(o,"line"),originalColumn:n.getArg(o,"column")},m=this._findMapping(d,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,n.getArg(o,"bias",u.GREATEST_LOWER_BOUND));if(m>=0){var S=this._originalMappings[m];if(S.source===d.source)return{line:n.getArg(S,"generatedLine",null),column:n.getArg(S,"generatedColumn",null),lastColumn:n.getArg(S,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},p.prototype=Object.create(u.prototype),p.prototype.constructor=u,p.prototype._version=3,Object.defineProperty(p.prototype,"sources",{get:function(){for(var o=[],y=0;y<this._sections.length;y++)for(var d=0;d<this._sections[y].consumer.sources.length;d++)o.push(this._sections[y].consumer.sources[d]);return o}}),p.prototype.originalPositionFor=function(o){var y={generatedLine:n.getArg(o,"line"),generatedColumn:n.getArg(o,"column")},d=t.search(y,this._sections,function(S,T){var C=S.generatedLine-T.generatedOffset.generatedLine;return C||S.generatedColumn-T.generatedOffset.generatedColumn}),m=this._sections[d];return m?m.consumer.originalPositionFor({line:y.generatedLine-(m.generatedOffset.generatedLine-1),column:y.generatedColumn-(m.generatedOffset.generatedLine===y.generatedLine?m.generatedOffset.generatedColumn-1:0),bias:o.bias}):{source:null,line:null,column:null,name:null}},p.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(o){return o.consumer.hasContentsOfAllSources()})},p.prototype.sourceContentFor=function(o,y){for(var d=0;d<this._sections.length;d++){var m=this._sections[d].consumer.sourceContentFor(o,!0);if(m)return m}if(y)return null;throw new Error('"'+o+'" is not in the SourceMap.')},p.prototype.generatedPositionFor=function(o){for(var y=0;y<this._sections.length;y++){var d=this._sections[y];if(d.consumer.sources.indexOf(n.getArg(o,"source"))!==-1){var m=d.consumer.generatedPositionFor(o);if(m)return{line:m.line+(d.generatedOffset.generatedLine-1),column:m.column+(d.generatedOffset.generatedLine===m.line?d.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},p.prototype._parseMappings=function(o,y){this.__generatedMappings=[],this.__originalMappings=[];for(var d=0;d<this._sections.length;d++)for(var m=this._sections[d],S=m.consumer._generatedMappings,T=0;T<S.length;T++){var C=S[T],v=m.consumer._sources.at(C.source);m.consumer.sourceRoot!==null&&(v=n.join(m.consumer.sourceRoot,v)),this._sources.add(v),v=this._sources.indexOf(v);var k=m.consumer._names.at(C.name);this._names.add(k),k=this._names.indexOf(k);var O={source:v,generatedLine:C.generatedLine+(m.generatedOffset.generatedLine-1),generatedColumn:C.generatedColumn+(m.generatedOffset.generatedLine===C.generatedLine?m.generatedOffset.generatedColumn-1:0),originalLine:C.originalLine,originalColumn:C.originalColumn,name:k};this.__generatedMappings.push(O),typeof O.originalLine=="number"&&this.__originalMappings.push(O)}a(this.__generatedMappings,n.compareByGeneratedPositionsDeflated),a(this.__originalMappings,n.compareByOriginalPositions)}},"./node_modules/@babel/core/node_modules/source-map/lib/source-map-generator.js":(A,e,c)=>{var n=c("./node_modules/@babel/core/node_modules/source-map/lib/base64-vlq.js"),t=c("./node_modules/@babel/core/node_modules/source-map/lib/util.js"),r=c("./node_modules/@babel/core/node_modules/source-map/lib/array-set.js").I,i=c("./node_modules/@babel/core/node_modules/source-map/lib/mapping-list.js").H;function a(u){u||(u={}),this._file=t.getArg(u,"file",null),this._sourceRoot=t.getArg(u,"sourceRoot",null),this._skipValidation=t.getArg(u,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(u){var f=u.sourceRoot,h=new a({file:u.file,sourceRoot:f});return u.eachMapping(function(p){var o={generated:{line:p.generatedLine,column:p.generatedColumn}};p.source!=null&&(o.source=p.source,f!=null&&(o.source=t.relative(f,o.source)),o.original={line:p.originalLine,column:p.originalColumn},p.name!=null&&(o.name=p.name)),h.addMapping(o)}),u.sources.forEach(function(p){var o=u.sourceContentFor(p);o!=null&&h.setSourceContent(p,o)}),h},a.prototype.addMapping=function(u){var f=t.getArg(u,"generated"),h=t.getArg(u,"original",null),p=t.getArg(u,"source",null),o=t.getArg(u,"name",null);this._skipValidation||this._validateMapping(f,h,p,o),p!=null&&(p=String(p),this._sources.has(p)||this._sources.add(p)),o!=null&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:f.line,generatedColumn:f.column,originalLine:h!=null&&h.line,originalColumn:h!=null&&h.column,source:p,name:o})},a.prototype.setSourceContent=function(u,f){var h=u;this._sourceRoot!=null&&(h=t.relative(this._sourceRoot,h)),f!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(h)]=f):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(h)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(u,f,h){var p=f;if(f==null){if(u.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);p=u.file}var o=this._sourceRoot;o!=null&&(p=t.relative(o,p));var y=new r,d=new r;this._mappings.unsortedForEach(function(m){if(m.source===p&&m.originalLine!=null){var S=u.originalPositionFor({line:m.originalLine,column:m.originalColumn});S.source!=null&&(m.source=S.source,h!=null&&(m.source=t.join(h,m.source)),o!=null&&(m.source=t.relative(o,m.source)),m.originalLine=S.line,m.originalColumn=S.column,S.name!=null&&(m.name=S.name))}var T=m.source;T==null||y.has(T)||y.add(T);var C=m.name;C==null||d.has(C)||d.add(C)},this),this._sources=y,this._names=d,u.sources.forEach(function(m){var S=u.sourceContentFor(m);S!=null&&(h!=null&&(m=t.join(h,m)),o!=null&&(m=t.relative(o,m)),this.setSourceContent(m,S))},this)},a.prototype._validateMapping=function(u,f,h,p){if(f&&typeof f.line!="number"&&typeof f.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(u&&"line"in u&&"column"in u&&u.line>0&&u.column>=0)||f||h||p)&&!(u&&"line"in u&&"column"in u&&f&&"line"in f&&"column"in f&&u.line>0&&u.column>=0&&f.line>0&&f.column>=0&&h))throw new Error("Invalid mapping: "+JSON.stringify({generated:u,source:h,original:f,name:p}))},a.prototype._serializeMappings=function(){for(var u,f,h,p,o=0,y=1,d=0,m=0,S=0,T=0,C="",v=this._mappings.toArray(),k=0,O=v.length;k<O;k++){if(u="",(f=v[k]).generatedLine!==y)for(o=0;f.generatedLine!==y;)u+=";",y++;else if(k>0){if(!t.compareByGeneratedPositionsInflated(f,v[k-1]))continue;u+=","}u+=n.encode(f.generatedColumn-o),o=f.generatedColumn,f.source!=null&&(p=this._sources.indexOf(f.source),u+=n.encode(p-T),T=p,u+=n.encode(f.originalLine-1-m),m=f.originalLine-1,u+=n.encode(f.originalColumn-d),d=f.originalColumn,f.name!=null&&(h=this._names.indexOf(f.name),u+=n.encode(h-S),S=h)),C+=u}return C},a.prototype._generateSourcesContent=function(u,f){return u.map(function(h){if(!this._sourcesContents)return null;f!=null&&(h=t.relative(f,h));var p=t.toSetString(h);return Object.prototype.hasOwnProperty.call(this._sourcesContents,p)?this._sourcesContents[p]:null},this)},a.prototype.toJSON=function(){var u={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(u.file=this._file),this._sourceRoot!=null&&(u.sourceRoot=this._sourceRoot),this._sourcesContents&&(u.sourcesContent=this._generateSourcesContent(u.sources,u.sourceRoot)),u},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=a},"./node_modules/@babel/core/node_modules/source-map/lib/source-node.js":(A,e,c)=>{var n=c("./node_modules/@babel/core/node_modules/source-map/lib/source-map-generator.js").SourceMapGenerator,t=c("./node_modules/@babel/core/node_modules/source-map/lib/util.js"),r=/(\r?\n)/,i="$$$isSourceNode$$$";function a(u,f,h,p,o){this.children=[],this.sourceContents={},this.line=_nullishCoalesce(u, () => (null)),this.column=_nullishCoalesce(f, () => (null)),this.source=_nullishCoalesce(h, () => (null)),this.name=_nullishCoalesce(o, () => (null)),this[i]=!0,p!=null&&this.add(p)}a.fromStringWithSourceMap=function(u,f,h){var p=new a,o=u.split(r),y=0,d=function(){return v()+(v()||"");function v(){return y<o.length?o[y++]:void 0}},m=1,S=0,T=null;return f.eachMapping(function(v){if(T!==null){if(!(m<v.generatedLine)){var k=(O=o[y]).substr(0,v.generatedColumn-S);return o[y]=O.substr(v.generatedColumn-S),S=v.generatedColumn,C(T,k),void(T=v)}C(T,d()),m++,S=0}for(;m<v.generatedLine;)p.add(d()),m++;if(S<v.generatedColumn){var O=o[y];p.add(O.substr(0,v.generatedColumn)),o[y]=O.substr(v.generatedColumn),S=v.generatedColumn}T=v},this),y<o.length&&(T&&C(T,d()),p.add(o.splice(y).join(""))),f.sources.forEach(function(v){var k=f.sourceContentFor(v);k!=null&&(h!=null&&(v=t.join(h,v)),p.setSourceContent(v,k))}),p;function C(v,k){if(v===null||v.source===void 0)p.add(k);else{var O=h?t.join(h,v.source):v.source;p.add(new a(v.originalLine,v.originalColumn,O,k,v.name))}}},a.prototype.add=function(u){if(Array.isArray(u))u.forEach(function(f){this.add(f)},this);else{if(!u[i]&&typeof u!="string")throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+u);u&&this.children.push(u)}return this},a.prototype.prepend=function(u){if(Array.isArray(u))for(var f=u.length-1;f>=0;f--)this.prepend(u[f]);else{if(!u[i]&&typeof u!="string")throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+u);this.children.unshift(u)}return this},a.prototype.walk=function(u){for(var f,h=0,p=this.children.length;h<p;h++)(f=this.children[h])[i]?f.walk(u):f!==""&&u(f,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(u){var f,h,p=this.children.length;if(p>0){for(f=[],h=0;h<p-1;h++)f.push(this.children[h]),f.push(u);f.push(this.children[h]),this.children=f}return this},a.prototype.replaceRight=function(u,f){var h=this.children[this.children.length-1];return h[i]?h.replaceRight(u,f):typeof h=="string"?this.children[this.children.length-1]=h.replace(u,f):this.children.push("".replace(u,f)),this},a.prototype.setSourceContent=function(u,f){this.sourceContents[t.toSetString(u)]=f},a.prototype.walkSourceContents=function(u){for(var f=0,h=this.children.length;f<h;f++)this.children[f][i]&&this.children[f].walkSourceContents(u);var p=Object.keys(this.sourceContents);for(f=0,h=p.length;f<h;f++)u(t.fromSetString(p[f]),this.sourceContents[p[f]])},a.prototype.toString=function(){var u="";return this.walk(function(f){u+=f}),u},a.prototype.toStringWithSourceMap=function(u){var f={code:"",line:1,column:0},h=new n(u),p=!1,o=null,y=null,d=null,m=null;return this.walk(function(S,T){f.code+=S,T.source!==null&&T.line!==null&&T.column!==null?(o===T.source&&y===T.line&&d===T.column&&m===T.name||h.addMapping({source:T.source,original:{line:T.line,column:T.column},generated:{line:f.line,column:f.column},name:T.name}),o=T.source,y=T.line,d=T.column,m=T.name,p=!0):p&&(h.addMapping({generated:{line:f.line,column:f.column}}),o=null,p=!1);for(var C=0,v=S.length;C<v;C++)S.charCodeAt(C)===10?(f.line++,f.column=0,C+1===v?(o=null,p=!1):p&&h.addMapping({source:T.source,original:{line:T.line,column:T.column},generated:{line:f.line,column:f.column},name:T.name})):f.column++}),this.walkSourceContents(function(S,T){h.setSourceContent(S,T)}),{code:f.code,map:h}},e.SourceNode=a},"./node_modules/@babel/core/node_modules/source-map/lib/util.js":(A,e)=>{e.getArg=function(p,o,y){if(o in p)return p[o];if(arguments.length===3)return y;throw new Error('"'+o+'" is a required argument.')};var c=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,n=/^data:.+\,.+$/;function t(p){var o=p.match(c);return o?{scheme:o[1],auth:o[2],host:o[3],port:o[4],path:o[5]}:null}function r(p){var o="";return p.scheme&&(o+=p.scheme+":"),o+="//",p.auth&&(o+=p.auth+"@"),p.host&&(o+=p.host),p.port&&(o+=":"+p.port),p.path&&(o+=p.path),o}function i(p){var o=p,y=t(p);if(y){if(!y.path)return p;o=y.path}for(var d,m=e.isAbsolute(o),S=o.split(/\/+/),T=0,C=S.length-1;C>=0;C--)(d=S[C])==="."?S.splice(C,1):d===".."?T++:T>0&&(d===""?(S.splice(C+1,T),T=0):(S.splice(C,2),T--));return(o=S.join("/"))===""&&(o=m?"/":"."),y?(y.path=o,r(y)):o}e.urlParse=t,e.urlGenerate=r,e.normalize=i,e.join=function(p,o){p===""&&(p="."),o===""&&(o=".");var y=t(o),d=t(p);if(d&&(p=d.path||"/"),y&&!y.scheme)return d&&(y.scheme=d.scheme),r(y);if(y||o.match(n))return o;if(d&&!d.host&&!d.path)return d.host=o,r(d);var m=o.charAt(0)==="/"?o:i(p.replace(/\/+$/,"")+"/"+o);return d?(d.path=m,r(d)):m},e.isAbsolute=function(p){return p.charAt(0)==="/"||!!p.match(c)},e.relative=function(p,o){p===""&&(p="."),p=p.replace(/\/$/,"");for(var y=0;o.indexOf(p+"/")!==0;){var d=p.lastIndexOf("/");if(d<0||(p=p.slice(0,d)).match(/^([^\/]+:\/)?\/*$/))return o;++y}return Array(y+1).join("../")+o.substr(p.length+1)};var a=!("__proto__"in Object.create(null));function u(p){return p}function f(p){if(!p)return!1;var o=p.length;if(o<9||p.charCodeAt(o-1)!==95||p.charCodeAt(o-2)!==95||p.charCodeAt(o-3)!==111||p.charCodeAt(o-4)!==116||p.charCodeAt(o-5)!==111||p.charCodeAt(o-6)!==114||p.charCodeAt(o-7)!==112||p.charCodeAt(o-8)!==95||p.charCodeAt(o-9)!==95)return!1;for(var y=o-10;y>=0;y--)if(p.charCodeAt(y)!==36)return!1;return!0}function h(p,o){return p===o?0:p>o?1:-1}e.toSetString=a?u:function(p){return f(p)?"$"+p:p},e.fromSetString=a?u:function(p){return f(p)?p.slice(1):p},e.compareByOriginalPositions=function(p,o,y){var d=p.source-o.source;return d!==0||(d=p.originalLine-o.originalLine)!==0||(d=p.originalColumn-o.originalColumn)!==0||y||(d=p.generatedColumn-o.generatedColumn)!==0||(d=p.generatedLine-o.generatedLine)!==0?d:p.name-o.name},e.compareByGeneratedPositionsDeflated=function(p,o,y){var d=p.generatedLine-o.generatedLine;return d!==0||(d=p.generatedColumn-o.generatedColumn)!==0||y||(d=p.source-o.source)!==0||(d=p.originalLine-o.originalLine)!==0||(d=p.originalColumn-o.originalColumn)!==0?d:p.name-o.name},e.compareByGeneratedPositionsInflated=function(p,o){var y=p.generatedLine-o.generatedLine;return y!==0||(y=p.generatedColumn-o.generatedColumn)!==0||(y=h(p.source,o.source))!==0||(y=p.originalLine-o.originalLine)!==0||(y=p.originalColumn-o.originalColumn)!==0?y:h(p.name,o.name)}},"./node_modules/@babel/core/node_modules/source-map/source-map.js":(A,e,c)=>{e.SourceMapGenerator=c("./node_modules/@babel/core/node_modules/source-map/lib/source-map-generator.js").SourceMapGenerator,e.SourceMapConsumer=c("./node_modules/@babel/core/node_modules/source-map/lib/source-map-consumer.js").SourceMapConsumer,e.SourceNode=c("./node_modules/@babel/core/node_modules/source-map/lib/source-node.js").SourceNode},"./node_modules/@babel/generator/lib/buffer.js":(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;let c=/^[ \t]+$/;e.default=class{constructor(n){this._map=null,this._buf="",this._last=0,this._queue=[],this._position={line:1,column:0},this._sourcePosition={identifierName:null,line:null,column:null,filename:null},this._disallowedPop=null,this._map=n}get(){this._flush();let n=this._map,t={code:this._buf.trimRight(),map:null,rawMappings:n==null?void 0:n.getRawMappings()};return n&&Object.defineProperty(t,"map",{configurable:!0,enumerable:!0,get(){return this.map=n.get()},set(r){Object.defineProperty(this,"map",{value:r,writable:!0})}}),t}append(n){this._flush();let{line:t,column:r,filename:i,identifierName:a,force:u}=this._sourcePosition;this._append(n,t,r,a,i,u)}queue(n){if(n===`
|
|
96
96
|
`)for(;this._queue.length>0&&c.test(this._queue[0][0]);)this._queue.shift();let{line:t,column:r,filename:i,identifierName:a,force:u}=this._sourcePosition;this._queue.unshift([n,t,r,a,i,u])}_flush(){let n;for(;n=this._queue.pop();)this._append(...n)}_append(n,t,r,i,a,u){this._buf+=n,this._last=n.charCodeAt(n.length-1);let f=n.indexOf(`
|
|
97
97
|
`),h=0;for(f!==0&&this._mark(t,r,i,a,u);f!==-1;)this._position.line++,this._position.column=0,h=f+1,h<n.length&&this._mark(++t,0,i,a,u),f=n.indexOf(`
|
|
98
98
|
`,h);this._position.column+=n.length-h}_mark(n,t,r,i,a){var u;(u=this._map)==null||u.mark(this._position.line,this._position.column,n,t,r,i,a)}removeTrailingNewline(){this._queue.length>0&&this._queue[0][0]===`
|
|
@@ -2124,9 +2124,9 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
2124
2124
|
export default function _classPrivateMethodSet() {
|
|
2125
2125
|
throw new TypeError("attempted to reassign private method");
|
|
2126
2126
|
}
|
|
2127
|
-
`},"./node_modules/@babel/helpers/lib/index.js":(A,e,c)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.ensure=function(k,O){d||(d=O),S(k)},e.get=T,e.getDependencies=function(k){return Array.from(S(k).dependencies.values())},e.list=void 0,e.minVersion=function(k){return S(k).minVersion()};var n=c("./node_modules/@babel/traverse/lib/index.js"),t=c("./node_modules/@babel/types/lib/index.js"),r=c("./node_modules/@babel/helpers/lib/helpers.js");let{assignmentExpression:i,cloneNode:a,expressionStatement:u,file:f,identifier:h,variableDeclaration:p,variableDeclarator:o}=t;function y(k){let O=[];for(;k.parentPath;k=k.parentPath)O.push(k.key),k.inList&&O.push(k.listKey);return O.reverse().join(".")}let d,m=Object.create(null);function S(k){if(!m[k]){let O=r.default[k];if(!O)throw Object.assign(new ReferenceError(`Unknown helper ${k}`),{code:"BABEL_HELPER_UNKNOWN",helper:k});let x=()=>{let $={ast:f(O.ast())};return d?new d({filename:`babel-helper://${k}`},$):$},M=function($){let H=new Set,Q=new Set,K=new Map,Y,L,D=[],_=[],F=[],R={ImportDeclaration(J){let ne=J.node.source.value;if(!r.default[ne])throw J.buildCodeFrameError(`Unknown helper ${ne}`);if(J.get("specifiers").length!==1||!J.get("specifiers.0").isImportDefaultSpecifier())throw J.buildCodeFrameError("Helpers can only import a default value");let re=J.node.specifiers[0].local;K.set(re,ne),_.push(y(J))},ExportDefaultDeclaration(J){let ne=J.get("declaration");if(ne.isFunctionDeclaration()){if(!ne.node.id)throw ne.buildCodeFrameError("Helpers should give names to their exported func declaration");Y=ne.node.id.name}L=y(J)},ExportAllDeclaration(J){throw J.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(J){throw J.buildCodeFrameError("Helpers can only export default")},Statement(J){J.isModuleDeclaration()||J.skip()}},W={Program(J){let ne=J.scope.getAllBindings();Object.keys(ne).forEach(re=>{re!==Y&&(K.has(ne[re].identifier)||Q.add(re))})},ReferencedIdentifier(J){let ne=J.node.name,re=J.scope.getBinding(ne);re?K.has(re.identifier)&&F.push(y(J)):H.add(ne)},AssignmentExpression(J){let ne=J.get("left");if(!(Y in ne.getBindingIdentifiers()))return;if(!ne.isIdentifier())throw ne.buildCodeFrameError("Only simple assignments to exports are allowed in helpers");let re=J.scope.getBinding(Y);re!=null&&re.scope.path.isProgram()&&D.push(y(J))}};if((0,n.default)($.ast,R,$.scope),(0,n.default)($.ast,W,$.scope),!L)throw new Error("Helpers must default-export something.");return D.reverse(),{globals:Array.from(H),localBindingNames:Array.from(Q),dependencies:K,exportBindingAssignments:D,exportPath:L,exportName:Y,importBindingsReferences:F,importPaths:_}}(x());m[k]={build($,H,Q){let K=x();return function(Y,L,D,_,F){if(_&&!D)throw new Error("Unexpected local bindings for module-based helpers.");if(!D)return;let{localBindingNames:R,dependencies:W,exportBindingAssignments:J,exportPath:ne,exportName:re,importBindingsReferences:ae,importPaths:de}=L,he={};W.forEach((ye,me)=>{he[me.name]=typeof F=="function"&&F(ye)||me});let De={},Te=new Set(_||[]);R.forEach(ye=>{let me=ye;for(;Te.has(me);)me="_"+me;me!==ye&&(De[ye]=me)}),D.type==="Identifier"&&re!==D.name&&(De[re]=D.name);let Ce={Program(ye){let me=ye.get(ne),Pe=de.map(pe=>ye.get(pe)),xe=ae.map(pe=>ye.get(pe)),Re=me.get("declaration");if(D.type==="Identifier")Re.isFunctionDeclaration()?me.replaceWith(Re):me.replaceWith(p("var",[o(D,Re.node)]));else{if(D.type!=="MemberExpression")throw new Error("Unexpected helper format.");Re.isFunctionDeclaration()?(J.forEach(pe=>{let ee=ye.get(pe);ee.replaceWith(i("=",D,ee.node))}),me.replaceWith(Re),ye.pushContainer("body",u(i("=",D,h(re))))):me.replaceWith(u(i("=",D,Re.node)))}Object.keys(De).forEach(pe=>{ye.scope.rename(pe,De[pe])});for(let pe of Pe)pe.remove();for(let pe of xe){let ee=a(he[pe.node.name]);pe.replaceWith(ee)}ye.stop()}};(0,n.default)(Y.ast,Ce,Y.scope)}(K,M,H,Q,$),{nodes:K.ast.program.body,globals:M.globals}},minVersion:()=>O.minVersion,dependencies:M.dependencies}}return m[k]}function T(k,O,x,M){return S(k).build(O,x,M)}let C=Object.keys(r.default).map(k=>k.replace(/^_/,""));e.list=C;var v=T;e.default=v},"./node_modules/@babel/parser/lib/index.js":(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});class c{constructor(s,l,g){this.line=void 0,this.column=void 0,this.index=void 0,this.line=s,this.column=l,t.set(this,g)}}class n{constructor(s,l){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=s,this.end=l}}let t=new WeakMap;function r(Ee,s){let{line:l,column:g}=Ee;return new c(l,g+s,t.get(Ee)+s)}function i(Ee,s){Ee.trailingComments===void 0?Ee.trailingComments=s:Ee.trailingComments.unshift(...s)}function a(Ee,s){Ee.innerComments===void 0?Ee.innerComments=s:Ee.innerComments.unshift(...s)}function u(Ee,s,l){let g=null,w=s.length;for(;g===null&&w>0;)g=s[--w];g===null||g.start>l.start?a(Ee,l.comments):i(g,l.comments)}let f=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"}),h=y({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipeBodyIsTighter:"Unexpected %0 after pipeline body; any %0 expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:'Invalid topic token %0. In order to use %0 as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "%0" }.',PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:"Hack-style pipe body cannot be an unparenthesized %0 expression; please wrap it in parentheses.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},f.SyntaxError),p=y({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},f.SourceTypeModuleError);function o(Ee,s){return s==="flow"&&Ee==="PatternIsOptional"?"OptionalBindingPattern":Ee}function y(Ee,s,l){let g={};return Object.keys(Ee).forEach(w=>{g[w]=Object.freeze({code:s,reasonCode:o(w,l),template:Ee[w]})}),Object.freeze(g)}class d{constructor(s,l){this.token=void 0,this.preserveSpace=void 0,this.token=s,this.preserveSpace=!!l}}let m={brace:new d("{"),j_oTag:new d("<tag"),j_cTag:new d("</tag"),j_expr:new d("<tag>...</tag>",!0)};m.template=new d("`",!0);class S{constructor(s,l={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=s,this.keyword=l.keyword,this.beforeExpr=!!l.beforeExpr,this.startsExpr=!!l.startsExpr,this.rightAssociative=!!l.rightAssociative,this.isLoop=!!l.isLoop,this.isAssign=!!l.isAssign,this.prefix=!!l.prefix,this.postfix=!!l.postfix,this.binop=l.binop!=null?l.binop:null,this.updateContext=null}}let T=new Map;function C(Ee,s={}){s.keyword=Ee;let l=K(Ee,s);return T.set(Ee,l),l}function v(Ee,s){return K(Ee,{beforeExpr:!0,binop:s})}let k=-1,O=[],x=[],M=[],$=[],H=[],Q=[];function K(Ee,s={}){var l,g,w,U;return++k,x.push(Ee),M.push((l=s.binop)!=null?l:-1),$.push((g=s.beforeExpr)!=null&&g),H.push((w=s.startsExpr)!=null&&w),Q.push((U=s.prefix)!=null&&U),O.push(new S(Ee,s)),k}function Y(Ee,s={}){var l,g,w,U;return++k,T.set(Ee,k),x.push(Ee),M.push((l=s.binop)!=null?l:-1),$.push((g=s.beforeExpr)!=null&&g),H.push((w=s.startsExpr)!=null&&w),Q.push((U=s.prefix)!=null&&U),O.push(new S("name",s)),k}let L={bracketL:K("[",{beforeExpr:!0,startsExpr:!0}),bracketHashL:K("#[",{beforeExpr:!0,startsExpr:!0}),bracketBarL:K("[|",{beforeExpr:!0,startsExpr:!0}),bracketR:K("]"),bracketBarR:K("|]"),braceL:K("{",{beforeExpr:!0,startsExpr:!0}),braceBarL:K("{|",{beforeExpr:!0,startsExpr:!0}),braceHashL:K("#{",{beforeExpr:!0,startsExpr:!0}),braceR:K("}",{beforeExpr:!0}),braceBarR:K("|}"),parenL:K("(",{beforeExpr:!0,startsExpr:!0}),parenR:K(")"),comma:K(",",{beforeExpr:!0}),semi:K(";",{beforeExpr:!0}),colon:K(":",{beforeExpr:!0}),doubleColon:K("::",{beforeExpr:!0}),dot:K("."),question:K("?",{beforeExpr:!0}),questionDot:K("?."),arrow:K("=>",{beforeExpr:!0}),template:K("template"),ellipsis:K("...",{beforeExpr:!0}),backQuote:K("`",{startsExpr:!0}),dollarBraceL:K("${",{beforeExpr:!0,startsExpr:!0}),templateTail:K("...`",{startsExpr:!0}),templateNonTail:K("...${",{beforeExpr:!0,startsExpr:!0}),at:K("@"),hash:K("#",{startsExpr:!0}),interpreterDirective:K("#!..."),eq:K("=",{beforeExpr:!0,isAssign:!0}),assign:K("_=",{beforeExpr:!0,isAssign:!0}),slashAssign:K("_=",{beforeExpr:!0,isAssign:!0}),xorAssign:K("_=",{beforeExpr:!0,isAssign:!0}),moduloAssign:K("_=",{beforeExpr:!0,isAssign:!0}),incDec:K("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:K("!",{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:K("~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),pipeline:v("|>",0),nullishCoalescing:v("??",1),logicalOR:v("||",1),logicalAND:v("&&",2),bitwiseOR:v("|",3),bitwiseXOR:v("^",4),bitwiseAND:v("&",5),equality:v("==/!=/===/!==",6),lt:v("</>/<=/>=",7),gt:v("</>/<=/>=",7),relational:v("</>/<=/>=",7),bitShift:v("<</>>/>>>",8),plusMin:K("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:K("%",{binop:10,startsExpr:!0}),star:K("*",{binop:10}),slash:v("/",10),exponent:K("**",{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:C("in",{beforeExpr:!0,binop:7}),_instanceof:C("instanceof",{beforeExpr:!0,binop:7}),_break:C("break"),_case:C("case",{beforeExpr:!0}),_catch:C("catch"),_continue:C("continue"),_debugger:C("debugger"),_default:C("default",{beforeExpr:!0}),_else:C("else",{beforeExpr:!0}),_finally:C("finally"),_function:C("function",{startsExpr:!0}),_if:C("if"),_return:C("return",{beforeExpr:!0}),_switch:C("switch"),_throw:C("throw",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:C("try"),_var:C("var"),_const:C("const"),_with:C("with"),_new:C("new",{beforeExpr:!0,startsExpr:!0}),_this:C("this",{startsExpr:!0}),_super:C("super",{startsExpr:!0}),_class:C("class",{startsExpr:!0}),_extends:C("extends",{beforeExpr:!0}),_export:C("export"),_import:C("import",{startsExpr:!0}),_null:C("null",{startsExpr:!0}),_true:C("true",{startsExpr:!0}),_false:C("false",{startsExpr:!0}),_typeof:C("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:C("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:C("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:C("do",{isLoop:!0,beforeExpr:!0}),_for:C("for",{isLoop:!0}),_while:C("while",{isLoop:!0}),_as:Y("as",{startsExpr:!0}),_assert:Y("assert",{startsExpr:!0}),_async:Y("async",{startsExpr:!0}),_await:Y("await",{startsExpr:!0}),_from:Y("from",{startsExpr:!0}),_get:Y("get",{startsExpr:!0}),_let:Y("let",{startsExpr:!0}),_meta:Y("meta",{startsExpr:!0}),_of:Y("of",{startsExpr:!0}),_sent:Y("sent",{startsExpr:!0}),_set:Y("set",{startsExpr:!0}),_static:Y("static",{startsExpr:!0}),_yield:Y("yield",{startsExpr:!0}),_asserts:Y("asserts",{startsExpr:!0}),_checks:Y("checks",{startsExpr:!0}),_exports:Y("exports",{startsExpr:!0}),_global:Y("global",{startsExpr:!0}),_implements:Y("implements",{startsExpr:!0}),_intrinsic:Y("intrinsic",{startsExpr:!0}),_infer:Y("infer",{startsExpr:!0}),_is:Y("is",{startsExpr:!0}),_mixins:Y("mixins",{startsExpr:!0}),_proto:Y("proto",{startsExpr:!0}),_require:Y("require",{startsExpr:!0}),_keyof:Y("keyof",{startsExpr:!0}),_readonly:Y("readonly",{startsExpr:!0}),_unique:Y("unique",{startsExpr:!0}),_abstract:Y("abstract",{startsExpr:!0}),_declare:Y("declare",{startsExpr:!0}),_enum:Y("enum",{startsExpr:!0}),_module:Y("module",{startsExpr:!0}),_namespace:Y("namespace",{startsExpr:!0}),_interface:Y("interface",{startsExpr:!0}),_type:Y("type",{startsExpr:!0}),_opaque:Y("opaque",{startsExpr:!0}),name:K("name",{startsExpr:!0}),string:K("string",{startsExpr:!0}),num:K("num",{startsExpr:!0}),bigint:K("bigint",{startsExpr:!0}),decimal:K("decimal",{startsExpr:!0}),regexp:K("regexp",{startsExpr:!0}),privateName:K("#name",{startsExpr:!0}),eof:K("eof"),jsxName:K("jsxName"),jsxText:K("jsxText",{beforeExpr:!0}),jsxTagStart:K("jsxTagStart",{startsExpr:!0}),jsxTagEnd:K("jsxTagEnd"),placeholder:K("%%",{startsExpr:!0})};function D(Ee){return Ee>=89&&Ee<=124}function _(Ee){return Ee>=54&&Ee<=124}function F(Ee){return Ee>=54&&Ee<=128}function R(Ee){return H[Ee]}function W(Ee){return Ee>=121&&Ee<=123}function J(Ee){return Ee>=54&&Ee<=88}function ne(Ee){return x[Ee]}function re(Ee){return M[Ee]}function ae(Ee){return Ee>=24&&Ee<=25}function de(Ee){return O[Ee]}O[8].updateContext=Ee=>{Ee.pop()},O[5].updateContext=O[7].updateContext=O[23].updateContext=Ee=>{Ee.push(m.brace)},O[22].updateContext=Ee=>{Ee[Ee.length-1]===m.template?Ee.pop():Ee.push(m.template)},O[134].updateContext=Ee=>{Ee.push(m.j_expr,m.j_oTag)};let he="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",De="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",Te=new RegExp("["+he+"]"),Ce=new RegExp("["+he+De+"]");he=De=null;let ye=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,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,4152,8,221,3,5761,15,7472,3104,541,1507,4938],me=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,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,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function Pe(Ee,s){let l=65536;for(let g=0,w=s.length;g<w;g+=2){if(l+=s[g],l>Ee)return!1;if(l+=s[g+1],l>=Ee)return!0}return!1}function xe(Ee){return Ee<65?Ee===36:Ee<=90||(Ee<97?Ee===95:Ee<=122||(Ee<=65535?Ee>=170&&Te.test(String.fromCharCode(Ee)):Pe(Ee,ye)))}function Re(Ee){return Ee<48?Ee===36:Ee<58||!(Ee<65)&&(Ee<=90||(Ee<97?Ee===95:Ee<=122||(Ee<=65535?Ee>=170&&Ce.test(String.fromCharCode(Ee)):Pe(Ee,ye)||Pe(Ee,me))))}let pe=["implements","interface","let","package","private","protected","public","static","yield"],ee=["eval","arguments"],ue=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"]),be=new Set(pe),Oe=new Set(ee);function $e(Ee,s){return s&&Ee==="await"||Ee==="enum"}function Be(Ee,s){return $e(Ee,s)||be.has(Ee)}function Ye(Ee){return Oe.has(Ee)}function ke(Ee,s){return Be(Ee,s)||Ye(Ee)}let we=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","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);class et{constructor(s){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=s}}class st{constructor(s,l){this.scopeStack=[],this.undefinedExports=new Map,this.raise=s,this.inModule=l}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){let s=this.currentThisScopeFlags();return(64&s)>0&&(2&s)==0}get inStaticBlock(){for(let s=this.scopeStack.length-1;;s--){let{flags:l}=this.scopeStack[s];if(128&l)return!0;if(323&l)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(s){return new et(s)}enter(s){this.scopeStack.push(this.createScope(s))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(s){return!!(2&s.flags||!this.inModule&&1&s.flags)}declareName(s,l,g){let w=this.currentScope();if(8&l||16&l)this.checkRedeclarationInScope(w,s,l,g),16&l?w.functions.add(s):w.lexical.add(s),8&l&&this.maybeExportDefined(w,s);else if(4&l)for(let U=this.scopeStack.length-1;U>=0&&(w=this.scopeStack[U],this.checkRedeclarationInScope(w,s,l,g),w.var.add(s),this.maybeExportDefined(w,s),!(259&w.flags));--U);this.inModule&&1&w.flags&&this.undefinedExports.delete(s)}maybeExportDefined(s,l){this.inModule&&1&s.flags&&this.undefinedExports.delete(l)}checkRedeclarationInScope(s,l,g,w){this.isRedeclaredInScope(s,l,g)&&this.raise(h.VarRedeclaration,{at:w},l)}isRedeclaredInScope(s,l,g){return!!(1&g)&&(8&g?s.lexical.has(l)||s.functions.has(l)||s.var.has(l):16&g?s.lexical.has(l)||!this.treatFunctionsAsVarInScope(s)&&s.var.has(l):s.lexical.has(l)&&!(8&s.flags&&s.lexical.values().next().value===l)||!this.treatFunctionsAsVarInScope(s)&&s.functions.has(l))}checkLocalExport(s){let{name:l}=s,g=this.scopeStack[0];g.lexical.has(l)||g.var.has(l)||g.functions.has(l)||this.undefinedExports.set(l,s.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let s=this.scopeStack.length-1;;s--){let{flags:l}=this.scopeStack[s];if(259&l)return l}}currentThisScopeFlags(){for(let s=this.scopeStack.length-1;;s--){let{flags:l}=this.scopeStack[s];if(323&l&&!(4&l))return l}}}class lt extends et{constructor(...s){super(...s),this.declareFunctions=new Set}}class ot extends st{createScope(s){return new lt(s)}declareName(s,l,g){let w=this.currentScope();if(2048&l)return this.checkRedeclarationInScope(w,s,l,g),this.maybeExportDefined(w,s),void w.declareFunctions.add(s);super.declareName(...arguments)}isRedeclaredInScope(s,l,g){return!!super.isRedeclaredInScope(...arguments)||!!(2048&g)&&!s.declareFunctions.has(l)&&(s.lexical.has(l)||s.functions.has(l))}checkLocalExport(s){this.scopeStack[0].declareFunctions.has(s.name)||super.checkLocalExport(s)}}let At=/\r\n?|[\n\u2028\u2029]/,pt=new RegExp(At.source,"g");function at(Ee){switch(Ee){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}let ft=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,mt=new RegExp("(?=("+/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function gt(Ee){switch(Ee){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class _t{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.decoratorStack=[[]],this.comments=[],this.commentStack=[],this.pos=0,this.type=131,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[m.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.strictErrors=new Map,this.tokensLength=0}init({strictMode:s,sourceType:l,startLine:g,startColumn:w}){this.strict=s!==!1&&(s===!0||l==="module"),this.curLine=g,this.lineStart=-w,this.startLoc=this.endLoc=new c(g,w,0)}curPosition(){return new c(this.curLine,this.pos-this.lineStart,this.pos)}clone(s){let l=new _t,g=Object.keys(this);for(let w=0,U=g.length;w<U;w++){let q=g[w],oe=this[q];!s&&Array.isArray(oe)&&(oe=oe.slice()),l[q]=oe}return l}}var yr=function(Ee){return Ee>=48&&Ee<=57};let Xe=new Set([103,109,115,105,121,117,100]),kr={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]},jt={bin:[48,49]};jt.oct=[...jt.bin,50,51,52,53,54,55],jt.dec=[...jt.oct,56,57],jt.hex=[...jt.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Rt{constructor(s){this.type=s.type,this.value=s.value,this.start=s.start,this.end=s.end,this.loc=new n(s.startLoc,s.endLoc)}}class cn{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class _n{constructor(s){this.stack=[],this.undefinedPrivateNames=new Map,this.raise=s}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new cn)}exit(){let s=this.stack.pop(),l=this.current();for(let[g,w]of Array.from(s.undefinedPrivateNames))l?l.undefinedPrivateNames.has(g)||l.undefinedPrivateNames.set(g,w):this.raise(h.InvalidPrivateFieldResolution,{at:w},g)}declarePrivateName(s,l,g){let{privateNames:w,loneAccessors:U,undefinedPrivateNames:q}=this.current(),oe=w.has(s);if(3&l){let ce=oe&&U.get(s);if(ce){let ve=4&ce,Ie=4&l;oe=(3&ce)===(3&l)||ve!==Ie,oe||U.delete(s)}else oe||U.set(s,l)}oe&&this.raise(h.PrivateNameRedeclaration,{at:g},s),w.add(s),q.delete(s)}usePrivateName(s,l){let g;for(g of this.stack)if(g.privateNames.has(s))return;g?g.undefinedPrivateNames.set(s,l):this.raise(h.InvalidPrivateFieldResolution,{at:l},s)}}class Xr{constructor(s=0){this.type=void 0,this.type=s}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class Nr extends Xr{constructor(s){super(s),this.errors=new Map}recordDeclarationError(s,l){this.errors.set(t.get(l),{message:s,loc:l})}clearDeclarationError(s){this.errors.delete(t.get(s))}iterateErrors(s){this.errors.forEach(s)}}class Lt{constructor(s){this.stack=[new Xr],this.raise=s}enter(s){this.stack.push(s)}exit(){this.stack.pop()}recordParameterInitializerError(s,l){let{stack:g}=this,w=g.length-1,U=g[w];for(;!U.isCertainlyParameterDeclaration();){if(!U.canBeArrowParameterDeclaration())return;U.recordDeclarationError(l,s),U=g[--w]}this.raise(l,{at:s})}recordParenthesizedIdentifierError(s,l){let{stack:g}=this,w=g[g.length-1];if(w.isCertainlyParameterDeclaration())this.raise(s,{at:l});else{if(!w.canBeArrowParameterDeclaration())return;w.recordDeclarationError(s,l)}}recordAsyncArrowParametersError(s,l){let{stack:g}=this,w=g.length-1,U=g[w];for(;U.canBeArrowParameterDeclaration();)U.type===2&&U.recordDeclarationError(s,l),U=g[--w]}validateAsPattern(){let{stack:s}=this,l=s[s.length-1];l.canBeArrowParameterDeclaration()&&l.iterateErrors(({message:g,loc:w})=>{this.raise(g,{at:w});let U=s.length-2,q=s[U];for(;q.canBeArrowParameterDeclaration();)q.clearDeclarationError(w),q=s[--U]})}}function dn(){return new Xr}class Ct{constructor(){this.stacks=[]}enter(s){this.stacks.push(s)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}}function Tt(Ee,s){return(Ee?2:0)|(s?1:0)}class xr{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.optionalParametersLoc=null}}class Yr{constructor(s,l,g){this.type="",this.start=l,this.end=0,this.loc=new n(g),s!=null&&s.options.ranges&&(this.range=[l,0]),s!=null&&s.filename&&(this.loc.filename=s.filename)}}let Hr=Yr.prototype;function tr(Ee){let{type:s,start:l,end:g,loc:w,range:U,extra:q,name:oe}=Ee,ce=Object.create(Hr);return ce.type=s,ce.start=l,ce.end=g,ce.loc=w,ce.range=U,ce.extra=q,ce.name=oe,s==="Placeholder"&&(ce.expectedNode=Ee.expectedNode),ce}function pn(Ee){let{type:s,start:l,end:g,loc:w,range:U,extra:q}=Ee;if(s==="Placeholder")return function(ce){return tr(ce)}(Ee);let oe=Object.create(Hr);return oe.type=s,oe.start=l,oe.end=g,oe.loc=w,oe.range=U,Ee.raw!==void 0?oe.raw=Ee.raw:oe.extra=q,oe.value=Ee.value,oe}Hr.__clone=function(){let Ee=new Yr,s=Object.keys(this);for(let l=0,g=s.length;l<g;l++){let w=s[l];w!=="leadingComments"&&w!=="trailingComments"&&w!=="innerComments"&&(Ee[w]=this[w])}return Ee};let In=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),tt=y({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:"Cannot overwrite reserved type %0.",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:"Unexpected reserved type %0.",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},f.SyntaxError,"flow");function It(Ee){return Ee.importKind==="type"||Ee.importKind==="typeof"}function Nn(Ee){return _(Ee)&&Ee!==93}let Zn={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},ei=/\*?\s*@((?:no)?flow)\b/,ti={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},ri=/^[\da-fA-F]+$/,xn=/^\d+$/,gr=y({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:"Expected corresponding JSX closing tag for <%0>.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"},f.SyntaxError,"jsx");function pr(Ee){return!!Ee&&(Ee.type==="JSXOpeningFragment"||Ee.type==="JSXClosingFragment")}function ur(Ee){if(Ee.type==="JSXIdentifier")return Ee.name;if(Ee.type==="JSXNamespacedName")return Ee.namespace.name+":"+Ee.name.name;if(Ee.type==="JSXMemberExpression")return ur(Ee.object)+"."+ur(Ee.property);throw new Error("Node had unexpected type: "+Ee.type)}class Jr extends et{constructor(...s){super(...s),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}}class Mr extends st{createScope(s){return new Jr(s)}declareName(s,l,g){let w=this.currentScope();if(1024&l)return this.maybeExportDefined(w,s),void w.exportOnlyBindings.add(s);super.declareName(...arguments),2&l&&(1&l||(this.checkRedeclarationInScope(w,s,l,g),this.maybeExportDefined(w,s)),w.types.add(s)),256&l&&w.enums.add(s),512&l&&w.constEnums.add(s),128&l&&w.classes.add(s)}isRedeclaredInScope(s,l,g){return s.enums.has(l)?256&g?!!(512&g)!==s.constEnums.has(l):!0:128&g&&s.classes.has(l)?!!s.lexical.has(l)&&!!(1&g):!!(2&g&&s.types.has(l))||super.isRedeclaredInScope(...arguments)}checkLocalExport(s){let l=this.scopeStack[0],{name:g}=s;l.types.has(g)||l.exportOnlyBindings.has(g)||super.checkLocalExport(s)}}function Br(Ee){if(!Ee)throw new Error("Assert fail")}let Ge=y({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AbstractPropertyHasInitializer:"Property '%0' cannot have an initializer because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},f.SyntaxError,"typescript");function fn(Ee){return Ee==="private"||Ee==="public"||Ee==="protected"}let jn=y({ClassNameIsRequired:"A class name is required."},f.SyntaxError,"placeholders");function bt(Ee,s){let[l,g]=typeof s=="string"?[s,{}]:s,w=Object.keys(g),U=w.length===0;return Ee.some(q=>{if(typeof q=="string")return U&&q===l;{let[oe,ce]=q;if(oe!==l)return!1;for(let ve of w)if(ce[ve]!==g[ve])return!1;return!0}})}function Jt(Ee,s,l){let g=Ee.find(w=>Array.isArray(w)?w[0]===s:w===s);return g&&Array.isArray(g)?g[1][l]:null}let Rn=["minimal","fsharp","hack","smart"],fr=["^","%","#"],rr=["hash","bar"],br={estree:Ee=>class extends Ee{parseRegExpLiteral({pattern:s,flags:l}){let g=null;try{g=new RegExp(s,l)}catch (e64){}let w=this.estreeParseLiteral(g);return w.regex={pattern:s,flags:l},w}parseBigIntLiteral(s){let l;try{l=BigInt(s)}catch (e65){l=null}let g=this.estreeParseLiteral(l);return g.bigint=String(g.value||s),g}parseDecimalLiteral(s){let l=this.estreeParseLiteral(null);return l.decimal=String(l.value||s),l}estreeParseLiteral(s){return this.parseLiteral(s,"Literal")}parseStringLiteral(s){return this.estreeParseLiteral(s)}parseNumericLiteral(s){return this.estreeParseLiteral(s)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(s){return this.estreeParseLiteral(s)}directiveToStmt(s){let l=s.value,g=this.startNodeAt(s.start,s.loc.start),w=this.startNodeAt(l.start,l.loc.start);return w.value=l.extra.expressionValue,w.raw=l.extra.raw,g.expression=this.finishNodeAt(w,"Literal",l.loc.end),g.directive=l.extra.raw.slice(1,-1),this.finishNodeAt(g,"ExpressionStatement",s.loc.end)}initFunction(s,l){super.initFunction(s,l),s.expression=!1}checkDeclaration(s){s!=null&&this.isObjectProperty(s)?this.checkDeclaration(s.value):super.checkDeclaration(s)}getObjectOrClassMethodParams(s){return s.value.params}isValidDirective(s){var l;return s.type==="ExpressionStatement"&&s.expression.type==="Literal"&&typeof s.expression.value=="string"&&!((l=s.expression.extra)!=null&&l.parenthesized)}parseBlockBody(s,...l){super.parseBlockBody(s,...l);let g=s.directives.map(w=>this.directiveToStmt(w));s.body=g.concat(s.body),delete s.directives}pushClassMethod(s,l,g,w,U,q){this.parseMethod(l,g,w,U,q,"ClassMethod",!0),l.typeParameters&&(l.value.typeParameters=l.typeParameters,delete l.typeParameters),s.body.push(l)}parsePrivateName(){let s=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(s):s}convertPrivateNameToPrivateIdentifier(s){let l=super.getPrivateNameSV(s);return delete(s=s).id,s.name=l,s.type="PrivateIdentifier",s}isPrivateName(s){return this.getPluginOption("estree","classFeatures")?s.type==="PrivateIdentifier":super.isPrivateName(s)}getPrivateNameSV(s){return this.getPluginOption("estree","classFeatures")?s.name:super.getPrivateNameSV(s)}parseLiteral(s,l){let g=super.parseLiteral(s,l);return g.raw=g.extra.raw,delete g.extra,g}parseFunctionBody(s,l,g=!1){super.parseFunctionBody(s,l,g),s.expression=s.body.type!=="BlockStatement"}parseMethod(s,l,g,w,U,q,oe=!1){let ce=this.startNode();return ce.kind=s.kind,ce=super.parseMethod(ce,l,g,w,U,q,oe),ce.type="FunctionExpression",delete ce.kind,s.value=ce,q==="ClassPrivateMethod"&&(s.computed=!1),q="MethodDefinition",this.finishNode(s,q)}parseClassProperty(...s){let l=super.parseClassProperty(...s);return this.getPluginOption("estree","classFeatures")&&(l.type="PropertyDefinition"),l}parseClassPrivateProperty(...s){let l=super.parseClassPrivateProperty(...s);return this.getPluginOption("estree","classFeatures")&&(l.type="PropertyDefinition",l.computed=!1),l}parseObjectMethod(s,l,g,w,U){let q=super.parseObjectMethod(s,l,g,w,U);return q&&(q.type="Property",q.kind==="method"&&(q.kind="init"),q.shorthand=!1),q}parseObjectProperty(s,l,g,w,U){let q=super.parseObjectProperty(s,l,g,w,U);return q&&(q.kind="init",q.type="Property"),q}isAssignable(s,l){return s!=null&&this.isObjectProperty(s)?this.isAssignable(s.value,l):super.isAssignable(s,l)}toAssignable(s,l=!1){return s!=null&&this.isObjectProperty(s)?(this.toAssignable(s.value,l),s):super.toAssignable(s,l)}toAssignableObjectExpressionProp(s,...l){s.kind==="get"||s.kind==="set"?this.raise(h.PatternHasAccessor,{node:s.key}):s.method?this.raise(h.PatternHasMethod,{node:s.key}):super.toAssignableObjectExpressionProp(s,...l)}finishCallExpression(s,l){if(super.finishCallExpression(s,l),s.callee.type==="Import"){var g;s.type="ImportExpression",s.source=s.arguments[0],this.hasPlugin("importAssertions")&&(s.attributes=(g=s.arguments[1])!=null?g:null),delete s.arguments,delete s.callee}return s}toReferencedArguments(s){s.type!=="ImportExpression"&&super.toReferencedArguments(s)}parseExport(s){switch(super.parseExport(s),s.type){case"ExportAllDeclaration":s.exported=null;break;case"ExportNamedDeclaration":s.specifiers.length===1&&s.specifiers[0].type==="ExportNamespaceSpecifier"&&(s.type="ExportAllDeclaration",s.exported=s.specifiers[0].exported,delete s.specifiers)}return s}parseSubscript(s,l,g,w,U){let q=super.parseSubscript(s,l,g,w,U);if(U.optionalChainMember){if(q.type!=="OptionalMemberExpression"&&q.type!=="OptionalCallExpression"||(q.type=q.type.substring(8)),U.stop){let oe=this.startNodeAtNode(q);return oe.expression=q,this.finishNode(oe,"ChainExpression")}}else q.type!=="MemberExpression"&&q.type!=="CallExpression"||(q.optional=!1);return q}hasPropertyAsPrivateName(s){return s.type==="ChainExpression"&&(s=s.expression),super.hasPropertyAsPrivateName(s)}isOptionalChain(s){return s.type==="ChainExpression"}isObjectProperty(s){return s.type==="Property"&&s.kind==="init"&&!s.method}isObjectMethod(s){return s.method||s.kind==="get"||s.kind==="set"}},jsx:Ee=>class extends Ee{jsxReadToken(){let s="",l=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(gr.UnterminatedJsxContent,{at:this.state.startLoc});let g=this.input.charCodeAt(this.state.pos);switch(g){case 60:case 123:return this.state.pos===this.state.start?g===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(134)):super.getTokenFromCode(g):(s+=this.input.slice(l,this.state.pos),this.finishToken(133,s));case 38:s+=this.input.slice(l,this.state.pos),s+=this.jsxReadEntity(),l=this.state.pos;break;default:at(g)?(s+=this.input.slice(l,this.state.pos),s+=this.jsxReadNewLine(!0),l=this.state.pos):++this.state.pos}}}jsxReadNewLine(s){let l=this.input.charCodeAt(this.state.pos),g;return++this.state.pos,l===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,g=s?`
|
|
2127
|
+
`},"./node_modules/@babel/helpers/lib/index.js":(A,e,c)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.ensure=function(k,O){d||(d=O),S(k)},e.get=T,e.getDependencies=function(k){return Array.from(S(k).dependencies.values())},e.list=void 0,e.minVersion=function(k){return S(k).minVersion()};var n=c("./node_modules/@babel/traverse/lib/index.js"),t=c("./node_modules/@babel/types/lib/index.js"),r=c("./node_modules/@babel/helpers/lib/helpers.js");let{assignmentExpression:i,cloneNode:a,expressionStatement:u,file:f,identifier:h,variableDeclaration:p,variableDeclarator:o}=t;function y(k){let O=[];for(;k.parentPath;k=k.parentPath)O.push(k.key),k.inList&&O.push(k.listKey);return O.reverse().join(".")}let d,m=Object.create(null);function S(k){if(!m[k]){let O=r.default[k];if(!O)throw Object.assign(new ReferenceError(`Unknown helper ${k}`),{code:"BABEL_HELPER_UNKNOWN",helper:k});let x=()=>{let $={ast:f(O.ast())};return d?new d({filename:`babel-helper://${k}`},$):$},M=function($){let H=new Set,Q=new Set,K=new Map,Y,L,D=[],_=[],F=[],R={ImportDeclaration(J){let ne=J.node.source.value;if(!r.default[ne])throw J.buildCodeFrameError(`Unknown helper ${ne}`);if(J.get("specifiers").length!==1||!J.get("specifiers.0").isImportDefaultSpecifier())throw J.buildCodeFrameError("Helpers can only import a default value");let re=J.node.specifiers[0].local;K.set(re,ne),_.push(y(J))},ExportDefaultDeclaration(J){let ne=J.get("declaration");if(ne.isFunctionDeclaration()){if(!ne.node.id)throw ne.buildCodeFrameError("Helpers should give names to their exported func declaration");Y=ne.node.id.name}L=y(J)},ExportAllDeclaration(J){throw J.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(J){throw J.buildCodeFrameError("Helpers can only export default")},Statement(J){J.isModuleDeclaration()||J.skip()}},W={Program(J){let ne=J.scope.getAllBindings();Object.keys(ne).forEach(re=>{re!==Y&&(K.has(ne[re].identifier)||Q.add(re))})},ReferencedIdentifier(J){let ne=J.node.name,re=J.scope.getBinding(ne);re?K.has(re.identifier)&&F.push(y(J)):H.add(ne)},AssignmentExpression(J){let ne=J.get("left");if(!(Y in ne.getBindingIdentifiers()))return;if(!ne.isIdentifier())throw ne.buildCodeFrameError("Only simple assignments to exports are allowed in helpers");let re=J.scope.getBinding(Y);re!=null&&re.scope.path.isProgram()&&D.push(y(J))}};if((0,n.default)($.ast,R,$.scope),(0,n.default)($.ast,W,$.scope),!L)throw new Error("Helpers must default-export something.");return D.reverse(),{globals:Array.from(H),localBindingNames:Array.from(Q),dependencies:K,exportBindingAssignments:D,exportPath:L,exportName:Y,importBindingsReferences:F,importPaths:_}}(x());m[k]={build($,H,Q){let K=x();return function(Y,L,D,_,F){if(_&&!D)throw new Error("Unexpected local bindings for module-based helpers.");if(!D)return;let{localBindingNames:R,dependencies:W,exportBindingAssignments:J,exportPath:ne,exportName:re,importBindingsReferences:ae,importPaths:de}=L,he={};W.forEach((ye,me)=>{he[me.name]=typeof F=="function"&&F(ye)||me});let De={},Te=new Set(_||[]);R.forEach(ye=>{let me=ye;for(;Te.has(me);)me="_"+me;me!==ye&&(De[ye]=me)}),D.type==="Identifier"&&re!==D.name&&(De[re]=D.name);let Ce={Program(ye){let me=ye.get(ne),Pe=de.map(pe=>ye.get(pe)),xe=ae.map(pe=>ye.get(pe)),Re=me.get("declaration");if(D.type==="Identifier")Re.isFunctionDeclaration()?me.replaceWith(Re):me.replaceWith(p("var",[o(D,Re.node)]));else{if(D.type!=="MemberExpression")throw new Error("Unexpected helper format.");Re.isFunctionDeclaration()?(J.forEach(pe=>{let ee=ye.get(pe);ee.replaceWith(i("=",D,ee.node))}),me.replaceWith(Re),ye.pushContainer("body",u(i("=",D,h(re))))):me.replaceWith(u(i("=",D,Re.node)))}Object.keys(De).forEach(pe=>{ye.scope.rename(pe,De[pe])});for(let pe of Pe)pe.remove();for(let pe of xe){let ee=a(he[pe.node.name]);pe.replaceWith(ee)}ye.stop()}};(0,n.default)(Y.ast,Ce,Y.scope)}(K,M,H,Q,$),{nodes:K.ast.program.body,globals:M.globals}},minVersion:()=>O.minVersion,dependencies:M.dependencies}}return m[k]}function T(k,O,x,M){return S(k).build(O,x,M)}let C=Object.keys(r.default).map(k=>k.replace(/^_/,""));e.list=C;var v=T;e.default=v},"./node_modules/@babel/parser/lib/index.js":(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});class c{constructor(s,l,g){this.line=void 0,this.column=void 0,this.index=void 0,this.line=s,this.column=l,t.set(this,g)}}class n{constructor(s,l){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=s,this.end=l}}let t=new WeakMap;function r(Ee,s){let{line:l,column:g}=Ee;return new c(l,g+s,t.get(Ee)+s)}function i(Ee,s){Ee.trailingComments===void 0?Ee.trailingComments=s:Ee.trailingComments.unshift(...s)}function a(Ee,s){Ee.innerComments===void 0?Ee.innerComments=s:Ee.innerComments.unshift(...s)}function u(Ee,s,l){let g=null,w=s.length;for(;g===null&&w>0;)g=s[--w];g===null||g.start>l.start?a(Ee,l.comments):i(g,l.comments)}let f=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"}),h=y({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipeBodyIsTighter:"Unexpected %0 after pipeline body; any %0 expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:'Invalid topic token %0. In order to use %0 as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "%0" }.',PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:"Hack-style pipe body cannot be an unparenthesized %0 expression; please wrap it in parentheses.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},f.SyntaxError),p=y({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},f.SourceTypeModuleError);function o(Ee,s){return s==="flow"&&Ee==="PatternIsOptional"?"OptionalBindingPattern":Ee}function y(Ee,s,l){let g={};return Object.keys(Ee).forEach(w=>{g[w]=Object.freeze({code:s,reasonCode:o(w,l),template:Ee[w]})}),Object.freeze(g)}class d{constructor(s,l){this.token=void 0,this.preserveSpace=void 0,this.token=s,this.preserveSpace=!!l}}let m={brace:new d("{"),j_oTag:new d("<tag"),j_cTag:new d("</tag"),j_expr:new d("<tag>...</tag>",!0)};m.template=new d("`",!0);class S{constructor(s,l={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=s,this.keyword=l.keyword,this.beforeExpr=!!l.beforeExpr,this.startsExpr=!!l.startsExpr,this.rightAssociative=!!l.rightAssociative,this.isLoop=!!l.isLoop,this.isAssign=!!l.isAssign,this.prefix=!!l.prefix,this.postfix=!!l.postfix,this.binop=l.binop!=null?l.binop:null,this.updateContext=null}}let T=new Map;function C(Ee,s={}){s.keyword=Ee;let l=K(Ee,s);return T.set(Ee,l),l}function v(Ee,s){return K(Ee,{beforeExpr:!0,binop:s})}let k=-1,O=[],x=[],M=[],$=[],H=[],Q=[];function K(Ee,s={}){var l,g,w,U;return++k,x.push(Ee),M.push((l=s.binop)!=null?l:-1),$.push((g=s.beforeExpr)!=null&&g),H.push((w=s.startsExpr)!=null&&w),Q.push((U=s.prefix)!=null&&U),O.push(new S(Ee,s)),k}function Y(Ee,s={}){var l,g,w,U;return++k,T.set(Ee,k),x.push(Ee),M.push((l=s.binop)!=null?l:-1),$.push((g=s.beforeExpr)!=null&&g),H.push((w=s.startsExpr)!=null&&w),Q.push((U=s.prefix)!=null&&U),O.push(new S("name",s)),k}let L={bracketL:K("[",{beforeExpr:!0,startsExpr:!0}),bracketHashL:K("#[",{beforeExpr:!0,startsExpr:!0}),bracketBarL:K("[|",{beforeExpr:!0,startsExpr:!0}),bracketR:K("]"),bracketBarR:K("|]"),braceL:K("{",{beforeExpr:!0,startsExpr:!0}),braceBarL:K("{|",{beforeExpr:!0,startsExpr:!0}),braceHashL:K("#{",{beforeExpr:!0,startsExpr:!0}),braceR:K("}",{beforeExpr:!0}),braceBarR:K("|}"),parenL:K("(",{beforeExpr:!0,startsExpr:!0}),parenR:K(")"),comma:K(",",{beforeExpr:!0}),semi:K(";",{beforeExpr:!0}),colon:K(":",{beforeExpr:!0}),doubleColon:K("::",{beforeExpr:!0}),dot:K("."),question:K("?",{beforeExpr:!0}),questionDot:K("?."),arrow:K("=>",{beforeExpr:!0}),template:K("template"),ellipsis:K("...",{beforeExpr:!0}),backQuote:K("`",{startsExpr:!0}),dollarBraceL:K("${",{beforeExpr:!0,startsExpr:!0}),templateTail:K("...`",{startsExpr:!0}),templateNonTail:K("...${",{beforeExpr:!0,startsExpr:!0}),at:K("@"),hash:K("#",{startsExpr:!0}),interpreterDirective:K("#!..."),eq:K("=",{beforeExpr:!0,isAssign:!0}),assign:K("_=",{beforeExpr:!0,isAssign:!0}),slashAssign:K("_=",{beforeExpr:!0,isAssign:!0}),xorAssign:K("_=",{beforeExpr:!0,isAssign:!0}),moduloAssign:K("_=",{beforeExpr:!0,isAssign:!0}),incDec:K("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:K("!",{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:K("~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),pipeline:v("|>",0),nullishCoalescing:v("??",1),logicalOR:v("||",1),logicalAND:v("&&",2),bitwiseOR:v("|",3),bitwiseXOR:v("^",4),bitwiseAND:v("&",5),equality:v("==/!=/===/!==",6),lt:v("</>/<=/>=",7),gt:v("</>/<=/>=",7),relational:v("</>/<=/>=",7),bitShift:v("<</>>/>>>",8),plusMin:K("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:K("%",{binop:10,startsExpr:!0}),star:K("*",{binop:10}),slash:v("/",10),exponent:K("**",{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:C("in",{beforeExpr:!0,binop:7}),_instanceof:C("instanceof",{beforeExpr:!0,binop:7}),_break:C("break"),_case:C("case",{beforeExpr:!0}),_catch:C("catch"),_continue:C("continue"),_debugger:C("debugger"),_default:C("default",{beforeExpr:!0}),_else:C("else",{beforeExpr:!0}),_finally:C("finally"),_function:C("function",{startsExpr:!0}),_if:C("if"),_return:C("return",{beforeExpr:!0}),_switch:C("switch"),_throw:C("throw",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:C("try"),_var:C("var"),_const:C("const"),_with:C("with"),_new:C("new",{beforeExpr:!0,startsExpr:!0}),_this:C("this",{startsExpr:!0}),_super:C("super",{startsExpr:!0}),_class:C("class",{startsExpr:!0}),_extends:C("extends",{beforeExpr:!0}),_export:C("export"),_import:C("import",{startsExpr:!0}),_null:C("null",{startsExpr:!0}),_true:C("true",{startsExpr:!0}),_false:C("false",{startsExpr:!0}),_typeof:C("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:C("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:C("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:C("do",{isLoop:!0,beforeExpr:!0}),_for:C("for",{isLoop:!0}),_while:C("while",{isLoop:!0}),_as:Y("as",{startsExpr:!0}),_assert:Y("assert",{startsExpr:!0}),_async:Y("async",{startsExpr:!0}),_await:Y("await",{startsExpr:!0}),_from:Y("from",{startsExpr:!0}),_get:Y("get",{startsExpr:!0}),_let:Y("let",{startsExpr:!0}),_meta:Y("meta",{startsExpr:!0}),_of:Y("of",{startsExpr:!0}),_sent:Y("sent",{startsExpr:!0}),_set:Y("set",{startsExpr:!0}),_static:Y("static",{startsExpr:!0}),_yield:Y("yield",{startsExpr:!0}),_asserts:Y("asserts",{startsExpr:!0}),_checks:Y("checks",{startsExpr:!0}),_exports:Y("exports",{startsExpr:!0}),_global:Y("global",{startsExpr:!0}),_implements:Y("implements",{startsExpr:!0}),_intrinsic:Y("intrinsic",{startsExpr:!0}),_infer:Y("infer",{startsExpr:!0}),_is:Y("is",{startsExpr:!0}),_mixins:Y("mixins",{startsExpr:!0}),_proto:Y("proto",{startsExpr:!0}),_require:Y("require",{startsExpr:!0}),_keyof:Y("keyof",{startsExpr:!0}),_readonly:Y("readonly",{startsExpr:!0}),_unique:Y("unique",{startsExpr:!0}),_abstract:Y("abstract",{startsExpr:!0}),_declare:Y("declare",{startsExpr:!0}),_enum:Y("enum",{startsExpr:!0}),_module:Y("module",{startsExpr:!0}),_namespace:Y("namespace",{startsExpr:!0}),_interface:Y("interface",{startsExpr:!0}),_type:Y("type",{startsExpr:!0}),_opaque:Y("opaque",{startsExpr:!0}),name:K("name",{startsExpr:!0}),string:K("string",{startsExpr:!0}),num:K("num",{startsExpr:!0}),bigint:K("bigint",{startsExpr:!0}),decimal:K("decimal",{startsExpr:!0}),regexp:K("regexp",{startsExpr:!0}),privateName:K("#name",{startsExpr:!0}),eof:K("eof"),jsxName:K("jsxName"),jsxText:K("jsxText",{beforeExpr:!0}),jsxTagStart:K("jsxTagStart",{startsExpr:!0}),jsxTagEnd:K("jsxTagEnd"),placeholder:K("%%",{startsExpr:!0})};function D(Ee){return Ee>=89&&Ee<=124}function _(Ee){return Ee>=54&&Ee<=124}function F(Ee){return Ee>=54&&Ee<=128}function R(Ee){return H[Ee]}function W(Ee){return Ee>=121&&Ee<=123}function J(Ee){return Ee>=54&&Ee<=88}function ne(Ee){return x[Ee]}function re(Ee){return M[Ee]}function ae(Ee){return Ee>=24&&Ee<=25}function de(Ee){return O[Ee]}O[8].updateContext=Ee=>{Ee.pop()},O[5].updateContext=O[7].updateContext=O[23].updateContext=Ee=>{Ee.push(m.brace)},O[22].updateContext=Ee=>{Ee[Ee.length-1]===m.template?Ee.pop():Ee.push(m.template)},O[134].updateContext=Ee=>{Ee.push(m.j_expr,m.j_oTag)};let he="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",De="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",Te=new RegExp("["+he+"]"),Ce=new RegExp("["+he+De+"]");he=De=null;let ye=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,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,4152,8,221,3,5761,15,7472,3104,541,1507,4938],me=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,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,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function Pe(Ee,s){let l=65536;for(let g=0,w=s.length;g<w;g+=2){if(l+=s[g],l>Ee)return!1;if(l+=s[g+1],l>=Ee)return!0}return!1}function xe(Ee){return Ee<65?Ee===36:Ee<=90||(Ee<97?Ee===95:Ee<=122||(Ee<=65535?Ee>=170&&Te.test(String.fromCharCode(Ee)):Pe(Ee,ye)))}function Re(Ee){return Ee<48?Ee===36:Ee<58||!(Ee<65)&&(Ee<=90||(Ee<97?Ee===95:Ee<=122||(Ee<=65535?Ee>=170&&Ce.test(String.fromCharCode(Ee)):Pe(Ee,ye)||Pe(Ee,me))))}let pe=["implements","interface","let","package","private","protected","public","static","yield"],ee=["eval","arguments"],ue=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"]),be=new Set(pe),Oe=new Set(ee);function $e(Ee,s){return s&&Ee==="await"||Ee==="enum"}function Be(Ee,s){return $e(Ee,s)||be.has(Ee)}function Ye(Ee){return Oe.has(Ee)}function ke(Ee,s){return Be(Ee,s)||Ye(Ee)}let we=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","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);class et{constructor(s){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=s}}class st{constructor(s,l){this.scopeStack=[],this.undefinedExports=new Map,this.raise=s,this.inModule=l}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){let s=this.currentThisScopeFlags();return(64&s)>0&&(2&s)==0}get inStaticBlock(){for(let s=this.scopeStack.length-1;;s--){let{flags:l}=this.scopeStack[s];if(128&l)return!0;if(323&l)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(s){return new et(s)}enter(s){this.scopeStack.push(this.createScope(s))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(s){return!!(2&s.flags||!this.inModule&&1&s.flags)}declareName(s,l,g){let w=this.currentScope();if(8&l||16&l)this.checkRedeclarationInScope(w,s,l,g),16&l?w.functions.add(s):w.lexical.add(s),8&l&&this.maybeExportDefined(w,s);else if(4&l)for(let U=this.scopeStack.length-1;U>=0&&(w=this.scopeStack[U],this.checkRedeclarationInScope(w,s,l,g),w.var.add(s),this.maybeExportDefined(w,s),!(259&w.flags));--U);this.inModule&&1&w.flags&&this.undefinedExports.delete(s)}maybeExportDefined(s,l){this.inModule&&1&s.flags&&this.undefinedExports.delete(l)}checkRedeclarationInScope(s,l,g,w){this.isRedeclaredInScope(s,l,g)&&this.raise(h.VarRedeclaration,{at:w},l)}isRedeclaredInScope(s,l,g){return!!(1&g)&&(8&g?s.lexical.has(l)||s.functions.has(l)||s.var.has(l):16&g?s.lexical.has(l)||!this.treatFunctionsAsVarInScope(s)&&s.var.has(l):s.lexical.has(l)&&!(8&s.flags&&s.lexical.values().next().value===l)||!this.treatFunctionsAsVarInScope(s)&&s.functions.has(l))}checkLocalExport(s){let{name:l}=s,g=this.scopeStack[0];g.lexical.has(l)||g.var.has(l)||g.functions.has(l)||this.undefinedExports.set(l,s.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let s=this.scopeStack.length-1;;s--){let{flags:l}=this.scopeStack[s];if(259&l)return l}}currentThisScopeFlags(){for(let s=this.scopeStack.length-1;;s--){let{flags:l}=this.scopeStack[s];if(323&l&&!(4&l))return l}}}class lt extends et{constructor(...s){super(...s),this.declareFunctions=new Set}}class ot extends st{createScope(s){return new lt(s)}declareName(s,l,g){let w=this.currentScope();if(2048&l)return this.checkRedeclarationInScope(w,s,l,g),this.maybeExportDefined(w,s),void w.declareFunctions.add(s);super.declareName(...arguments)}isRedeclaredInScope(s,l,g){return!!super.isRedeclaredInScope(...arguments)||!!(2048&g)&&!s.declareFunctions.has(l)&&(s.lexical.has(l)||s.functions.has(l))}checkLocalExport(s){this.scopeStack[0].declareFunctions.has(s.name)||super.checkLocalExport(s)}}let At=/\r\n?|[\n\u2028\u2029]/,pt=new RegExp(At.source,"g");function at(Ee){switch(Ee){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}let ft=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,mt=new RegExp("(?=("+/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function gt(Ee){switch(Ee){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class _t{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.decoratorStack=[[]],this.comments=[],this.commentStack=[],this.pos=0,this.type=131,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[m.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.strictErrors=new Map,this.tokensLength=0}init({strictMode:s,sourceType:l,startLine:g,startColumn:w}){this.strict=s!==!1&&(s===!0||l==="module"),this.curLine=g,this.lineStart=-w,this.startLoc=this.endLoc=new c(g,w,0)}curPosition(){return new c(this.curLine,this.pos-this.lineStart,this.pos)}clone(s){let l=new _t,g=Object.keys(this);for(let w=0,U=g.length;w<U;w++){let q=g[w],oe=this[q];!s&&Array.isArray(oe)&&(oe=oe.slice()),l[q]=oe}return l}}var yr=function(Ee){return Ee>=48&&Ee<=57};let Xe=new Set([103,109,115,105,121,117,100]),kr={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]},jt={bin:[48,49]};jt.oct=[...jt.bin,50,51,52,53,54,55],jt.dec=[...jt.oct,56,57],jt.hex=[...jt.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Rt{constructor(s){this.type=s.type,this.value=s.value,this.start=s.start,this.end=s.end,this.loc=new n(s.startLoc,s.endLoc)}}class cn{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class _n{constructor(s){this.stack=[],this.undefinedPrivateNames=new Map,this.raise=s}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new cn)}exit(){let s=this.stack.pop(),l=this.current();for(let[g,w]of Array.from(s.undefinedPrivateNames))l?l.undefinedPrivateNames.has(g)||l.undefinedPrivateNames.set(g,w):this.raise(h.InvalidPrivateFieldResolution,{at:w},g)}declarePrivateName(s,l,g){let{privateNames:w,loneAccessors:U,undefinedPrivateNames:q}=this.current(),oe=w.has(s);if(3&l){let ce=oe&&U.get(s);if(ce){let ve=4&ce,Ie=4&l;oe=(3&ce)===(3&l)||ve!==Ie,oe||U.delete(s)}else oe||U.set(s,l)}oe&&this.raise(h.PrivateNameRedeclaration,{at:g},s),w.add(s),q.delete(s)}usePrivateName(s,l){let g;for(g of this.stack)if(g.privateNames.has(s))return;g?g.undefinedPrivateNames.set(s,l):this.raise(h.InvalidPrivateFieldResolution,{at:l},s)}}class Xr{constructor(s=0){this.type=void 0,this.type=s}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class Nr extends Xr{constructor(s){super(s),this.errors=new Map}recordDeclarationError(s,l){this.errors.set(t.get(l),{message:s,loc:l})}clearDeclarationError(s){this.errors.delete(t.get(s))}iterateErrors(s){this.errors.forEach(s)}}class Lt{constructor(s){this.stack=[new Xr],this.raise=s}enter(s){this.stack.push(s)}exit(){this.stack.pop()}recordParameterInitializerError(s,l){let{stack:g}=this,w=g.length-1,U=g[w];for(;!U.isCertainlyParameterDeclaration();){if(!U.canBeArrowParameterDeclaration())return;U.recordDeclarationError(l,s),U=g[--w]}this.raise(l,{at:s})}recordParenthesizedIdentifierError(s,l){let{stack:g}=this,w=g[g.length-1];if(w.isCertainlyParameterDeclaration())this.raise(s,{at:l});else{if(!w.canBeArrowParameterDeclaration())return;w.recordDeclarationError(s,l)}}recordAsyncArrowParametersError(s,l){let{stack:g}=this,w=g.length-1,U=g[w];for(;U.canBeArrowParameterDeclaration();)U.type===2&&U.recordDeclarationError(s,l),U=g[--w]}validateAsPattern(){let{stack:s}=this,l=s[s.length-1];l.canBeArrowParameterDeclaration()&&l.iterateErrors(({message:g,loc:w})=>{this.raise(g,{at:w});let U=s.length-2,q=s[U];for(;q.canBeArrowParameterDeclaration();)q.clearDeclarationError(w),q=s[--U]})}}function dn(){return new Xr}class Ct{constructor(){this.stacks=[]}enter(s){this.stacks.push(s)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}}function Tt(Ee,s){return(Ee?2:0)|(s?1:0)}class xr{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.optionalParametersLoc=null}}class Yr{constructor(s,l,g){this.type="",this.start=l,this.end=0,this.loc=new n(g),s!=null&&s.options.ranges&&(this.range=[l,0]),s!=null&&s.filename&&(this.loc.filename=s.filename)}}let Hr=Yr.prototype;function tr(Ee){let{type:s,start:l,end:g,loc:w,range:U,extra:q,name:oe}=Ee,ce=Object.create(Hr);return ce.type=s,ce.start=l,ce.end=g,ce.loc=w,ce.range=U,ce.extra=q,ce.name=oe,s==="Placeholder"&&(ce.expectedNode=Ee.expectedNode),ce}function pn(Ee){let{type:s,start:l,end:g,loc:w,range:U,extra:q}=Ee;if(s==="Placeholder")return function(ce){return tr(ce)}(Ee);let oe=Object.create(Hr);return oe.type=s,oe.start=l,oe.end=g,oe.loc=w,oe.range=U,Ee.raw!==void 0?oe.raw=Ee.raw:oe.extra=q,oe.value=Ee.value,oe}Hr.__clone=function(){let Ee=new Yr,s=Object.keys(this);for(let l=0,g=s.length;l<g;l++){let w=s[l];w!=="leadingComments"&&w!=="trailingComments"&&w!=="innerComments"&&(Ee[w]=this[w])}return Ee};let In=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),tt=y({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:"Cannot overwrite reserved type %0.",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:"Unexpected reserved type %0.",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},f.SyntaxError,"flow");function It(Ee){return Ee.importKind==="type"||Ee.importKind==="typeof"}function Nn(Ee){return _(Ee)&&Ee!==93}let Qn={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},Zn=/\*?\s*@((?:no)?flow)\b/,ei={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},ti=/^[\da-fA-F]+$/,xn=/^\d+$/,gr=y({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:"Expected corresponding JSX closing tag for <%0>.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"},f.SyntaxError,"jsx");function pr(Ee){return!!Ee&&(Ee.type==="JSXOpeningFragment"||Ee.type==="JSXClosingFragment")}function ur(Ee){if(Ee.type==="JSXIdentifier")return Ee.name;if(Ee.type==="JSXNamespacedName")return Ee.namespace.name+":"+Ee.name.name;if(Ee.type==="JSXMemberExpression")return ur(Ee.object)+"."+ur(Ee.property);throw new Error("Node had unexpected type: "+Ee.type)}class Jr extends et{constructor(...s){super(...s),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}}class Mr extends st{createScope(s){return new Jr(s)}declareName(s,l,g){let w=this.currentScope();if(1024&l)return this.maybeExportDefined(w,s),void w.exportOnlyBindings.add(s);super.declareName(...arguments),2&l&&(1&l||(this.checkRedeclarationInScope(w,s,l,g),this.maybeExportDefined(w,s)),w.types.add(s)),256&l&&w.enums.add(s),512&l&&w.constEnums.add(s),128&l&&w.classes.add(s)}isRedeclaredInScope(s,l,g){return s.enums.has(l)?256&g?!!(512&g)!==s.constEnums.has(l):!0:128&g&&s.classes.has(l)?!!s.lexical.has(l)&&!!(1&g):!!(2&g&&s.types.has(l))||super.isRedeclaredInScope(...arguments)}checkLocalExport(s){let l=this.scopeStack[0],{name:g}=s;l.types.has(g)||l.exportOnlyBindings.has(g)||super.checkLocalExport(s)}}function Br(Ee){if(!Ee)throw new Error("Assert fail")}let Ge=y({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AbstractPropertyHasInitializer:"Property '%0' cannot have an initializer because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},f.SyntaxError,"typescript");function fn(Ee){return Ee==="private"||Ee==="public"||Ee==="protected"}let jn=y({ClassNameIsRequired:"A class name is required."},f.SyntaxError,"placeholders");function bt(Ee,s){let[l,g]=typeof s=="string"?[s,{}]:s,w=Object.keys(g),U=w.length===0;return Ee.some(q=>{if(typeof q=="string")return U&&q===l;{let[oe,ce]=q;if(oe!==l)return!1;for(let ve of w)if(ce[ve]!==g[ve])return!1;return!0}})}function Jt(Ee,s,l){let g=Ee.find(w=>Array.isArray(w)?w[0]===s:w===s);return g&&Array.isArray(g)?g[1][l]:null}let Rn=["minimal","fsharp","hack","smart"],fr=["^","%","#"],rr=["hash","bar"],br={estree:Ee=>class extends Ee{parseRegExpLiteral({pattern:s,flags:l}){let g=null;try{g=new RegExp(s,l)}catch (e64){}let w=this.estreeParseLiteral(g);return w.regex={pattern:s,flags:l},w}parseBigIntLiteral(s){let l;try{l=BigInt(s)}catch (e65){l=null}let g=this.estreeParseLiteral(l);return g.bigint=String(g.value||s),g}parseDecimalLiteral(s){let l=this.estreeParseLiteral(null);return l.decimal=String(l.value||s),l}estreeParseLiteral(s){return this.parseLiteral(s,"Literal")}parseStringLiteral(s){return this.estreeParseLiteral(s)}parseNumericLiteral(s){return this.estreeParseLiteral(s)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(s){return this.estreeParseLiteral(s)}directiveToStmt(s){let l=s.value,g=this.startNodeAt(s.start,s.loc.start),w=this.startNodeAt(l.start,l.loc.start);return w.value=l.extra.expressionValue,w.raw=l.extra.raw,g.expression=this.finishNodeAt(w,"Literal",l.loc.end),g.directive=l.extra.raw.slice(1,-1),this.finishNodeAt(g,"ExpressionStatement",s.loc.end)}initFunction(s,l){super.initFunction(s,l),s.expression=!1}checkDeclaration(s){s!=null&&this.isObjectProperty(s)?this.checkDeclaration(s.value):super.checkDeclaration(s)}getObjectOrClassMethodParams(s){return s.value.params}isValidDirective(s){var l;return s.type==="ExpressionStatement"&&s.expression.type==="Literal"&&typeof s.expression.value=="string"&&!((l=s.expression.extra)!=null&&l.parenthesized)}parseBlockBody(s,...l){super.parseBlockBody(s,...l);let g=s.directives.map(w=>this.directiveToStmt(w));s.body=g.concat(s.body),delete s.directives}pushClassMethod(s,l,g,w,U,q){this.parseMethod(l,g,w,U,q,"ClassMethod",!0),l.typeParameters&&(l.value.typeParameters=l.typeParameters,delete l.typeParameters),s.body.push(l)}parsePrivateName(){let s=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(s):s}convertPrivateNameToPrivateIdentifier(s){let l=super.getPrivateNameSV(s);return delete(s=s).id,s.name=l,s.type="PrivateIdentifier",s}isPrivateName(s){return this.getPluginOption("estree","classFeatures")?s.type==="PrivateIdentifier":super.isPrivateName(s)}getPrivateNameSV(s){return this.getPluginOption("estree","classFeatures")?s.name:super.getPrivateNameSV(s)}parseLiteral(s,l){let g=super.parseLiteral(s,l);return g.raw=g.extra.raw,delete g.extra,g}parseFunctionBody(s,l,g=!1){super.parseFunctionBody(s,l,g),s.expression=s.body.type!=="BlockStatement"}parseMethod(s,l,g,w,U,q,oe=!1){let ce=this.startNode();return ce.kind=s.kind,ce=super.parseMethod(ce,l,g,w,U,q,oe),ce.type="FunctionExpression",delete ce.kind,s.value=ce,q==="ClassPrivateMethod"&&(s.computed=!1),q="MethodDefinition",this.finishNode(s,q)}parseClassProperty(...s){let l=super.parseClassProperty(...s);return this.getPluginOption("estree","classFeatures")&&(l.type="PropertyDefinition"),l}parseClassPrivateProperty(...s){let l=super.parseClassPrivateProperty(...s);return this.getPluginOption("estree","classFeatures")&&(l.type="PropertyDefinition",l.computed=!1),l}parseObjectMethod(s,l,g,w,U){let q=super.parseObjectMethod(s,l,g,w,U);return q&&(q.type="Property",q.kind==="method"&&(q.kind="init"),q.shorthand=!1),q}parseObjectProperty(s,l,g,w,U){let q=super.parseObjectProperty(s,l,g,w,U);return q&&(q.kind="init",q.type="Property"),q}isAssignable(s,l){return s!=null&&this.isObjectProperty(s)?this.isAssignable(s.value,l):super.isAssignable(s,l)}toAssignable(s,l=!1){return s!=null&&this.isObjectProperty(s)?(this.toAssignable(s.value,l),s):super.toAssignable(s,l)}toAssignableObjectExpressionProp(s,...l){s.kind==="get"||s.kind==="set"?this.raise(h.PatternHasAccessor,{node:s.key}):s.method?this.raise(h.PatternHasMethod,{node:s.key}):super.toAssignableObjectExpressionProp(s,...l)}finishCallExpression(s,l){if(super.finishCallExpression(s,l),s.callee.type==="Import"){var g;s.type="ImportExpression",s.source=s.arguments[0],this.hasPlugin("importAssertions")&&(s.attributes=(g=s.arguments[1])!=null?g:null),delete s.arguments,delete s.callee}return s}toReferencedArguments(s){s.type!=="ImportExpression"&&super.toReferencedArguments(s)}parseExport(s){switch(super.parseExport(s),s.type){case"ExportAllDeclaration":s.exported=null;break;case"ExportNamedDeclaration":s.specifiers.length===1&&s.specifiers[0].type==="ExportNamespaceSpecifier"&&(s.type="ExportAllDeclaration",s.exported=s.specifiers[0].exported,delete s.specifiers)}return s}parseSubscript(s,l,g,w,U){let q=super.parseSubscript(s,l,g,w,U);if(U.optionalChainMember){if(q.type!=="OptionalMemberExpression"&&q.type!=="OptionalCallExpression"||(q.type=q.type.substring(8)),U.stop){let oe=this.startNodeAtNode(q);return oe.expression=q,this.finishNode(oe,"ChainExpression")}}else q.type!=="MemberExpression"&&q.type!=="CallExpression"||(q.optional=!1);return q}hasPropertyAsPrivateName(s){return s.type==="ChainExpression"&&(s=s.expression),super.hasPropertyAsPrivateName(s)}isOptionalChain(s){return s.type==="ChainExpression"}isObjectProperty(s){return s.type==="Property"&&s.kind==="init"&&!s.method}isObjectMethod(s){return s.method||s.kind==="get"||s.kind==="set"}},jsx:Ee=>class extends Ee{jsxReadToken(){let s="",l=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(gr.UnterminatedJsxContent,{at:this.state.startLoc});let g=this.input.charCodeAt(this.state.pos);switch(g){case 60:case 123:return this.state.pos===this.state.start?g===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(134)):super.getTokenFromCode(g):(s+=this.input.slice(l,this.state.pos),this.finishToken(133,s));case 38:s+=this.input.slice(l,this.state.pos),s+=this.jsxReadEntity(),l=this.state.pos;break;default:at(g)?(s+=this.input.slice(l,this.state.pos),s+=this.jsxReadNewLine(!0),l=this.state.pos):++this.state.pos}}}jsxReadNewLine(s){let l=this.input.charCodeAt(this.state.pos),g;return++this.state.pos,l===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,g=s?`
|
|
2128
2128
|
`:`\r
|
|
2129
|
-
`):g=String.fromCharCode(l),++this.state.curLine,this.state.lineStart=this.state.pos,g}jsxReadString(s){let l="",g=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(h.UnterminatedString,{at:this.state.startLoc});let w=this.input.charCodeAt(this.state.pos);if(w===s)break;w===38?(l+=this.input.slice(g,this.state.pos),l+=this.jsxReadEntity(),g=this.state.pos):at(w)?(l+=this.input.slice(g,this.state.pos),l+=this.jsxReadNewLine(!1),g=this.state.pos):++this.state.pos}return l+=this.input.slice(g,this.state.pos++),this.finishToken(125,l)}jsxReadEntity(){let s,l="",g=0,w=this.input[this.state.pos],U=++this.state.pos;for(;this.state.pos<this.length&&g++<10;){if(w=this.input[this.state.pos++],w===";"){l[0]==="#"?l[1]==="x"?(l=l.substr(2),ri.test(l)&&(s=String.fromCodePoint(parseInt(l,16)))):(l=l.substr(1),xn.test(l)&&(s=String.fromCodePoint(parseInt(l,10)))):s=ti[l];break}l+=w}return s||(this.state.pos=U,"&")}jsxReadWord(){let s,l=this.state.pos;do s=this.input.charCodeAt(++this.state.pos);while(Re(s)||s===45);return this.finishToken(132,this.input.slice(l,this.state.pos))}jsxParseIdentifier(){let s=this.startNode();return this.match(132)?s.name=this.state.value:J(this.state.type)?s.name=ne(this.state.type):this.unexpected(),this.next(),this.finishNode(s,"JSXIdentifier")}jsxParseNamespacedName(){let s=this.state.start,l=this.state.startLoc,g=this.jsxParseIdentifier();if(!this.eat(14))return g;let w=this.startNodeAt(s,l);return w.namespace=g,w.name=this.jsxParseIdentifier(),this.finishNode(w,"JSXNamespacedName")}jsxParseElementName(){let s=this.state.start,l=this.state.startLoc,g=this.jsxParseNamespacedName();if(g.type==="JSXNamespacedName")return g;for(;this.eat(16);){let w=this.startNodeAt(s,l);w.object=g,w.property=this.jsxParseIdentifier(),g=this.finishNode(w,"JSXMemberExpression")}return g}jsxParseAttributeValue(){let s;switch(this.state.type){case 5:return s=this.startNode(),this.setContext(m.brace),this.next(),s=this.jsxParseExpressionContainer(s,m.j_oTag),s.expression.type==="JSXEmptyExpression"&&this.raise(gr.AttributeIsEmpty,{node:s}),s;case 134:case 125:return this.parseExprAtom();default:throw this.raise(gr.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){let s=this.startNodeAt(t.get(this.state.lastTokEndLoc),this.state.lastTokEndLoc);return this.finishNodeAt(s,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(s){return this.next(),s.expression=this.parseExpression(),this.setContext(m.j_oTag),this.expect(8),this.finishNode(s,"JSXSpreadChild")}jsxParseExpressionContainer(s,l){if(this.match(8))s.expression=this.jsxParseEmptyExpression();else{let g=this.parseExpression();s.expression=g}return this.setContext(l),this.expect(8),this.finishNode(s,"JSXExpressionContainer")}jsxParseAttribute(){let s=this.startNode();return this.match(5)?(this.setContext(m.brace),this.next(),this.expect(21),s.argument=this.parseMaybeAssignAllowIn(),this.setContext(m.j_oTag),this.expect(8),this.finishNode(s,"JSXSpreadAttribute")):(s.name=this.jsxParseNamespacedName(),s.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(s,"JSXAttribute"))}jsxParseOpeningElementAt(s,l){let g=this.startNodeAt(s,l);return this.match(135)?(this.expect(135),this.finishNode(g,"JSXOpeningFragment")):(g.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(g))}jsxParseOpeningElementAfterName(s){let l=[];for(;!this.match(52)&&!this.match(135);)l.push(this.jsxParseAttribute());return s.attributes=l,s.selfClosing=this.eat(52),this.expect(135),this.finishNode(s,"JSXOpeningElement")}jsxParseClosingElementAt(s,l){let g=this.startNodeAt(s,l);return this.match(135)?(this.expect(135),this.finishNode(g,"JSXClosingFragment")):(g.name=this.jsxParseElementName(),this.expect(135),this.finishNode(g,"JSXClosingElement"))}jsxParseElementAt(s,l){let g=this.startNodeAt(s,l),w=[],U=this.jsxParseOpeningElementAt(s,l),q=null;if(!U.selfClosing){e:for(;;)switch(this.state.type){case 134:if(s=this.state.start,l=this.state.startLoc,this.next(),this.eat(52)){q=this.jsxParseClosingElementAt(s,l);break e}w.push(this.jsxParseElementAt(s,l));break;case 133:w.push(this.parseExprAtom());break;case 5:{let oe=this.startNode();this.setContext(m.brace),this.next(),this.match(21)?w.push(this.jsxParseSpreadChild(oe)):w.push(this.jsxParseExpressionContainer(oe,m.j_expr));break}default:throw this.unexpected()}pr(U)&&!pr(q)&&q!==null?this.raise(gr.MissingClosingTagFragment,{node:q}):!pr(U)&&pr(q)?this.raise(gr.MissingClosingTagElement,{node:q},ur(U.name)):pr(U)||pr(q)||ur(q.name)!==ur(U.name)&&this.raise(gr.MissingClosingTagElement,{node:q},ur(U.name))}if(pr(U)?(g.openingFragment=U,g.closingFragment=q):(g.openingElement=U,g.closingElement=q),g.children=w,this.match(45))throw this.raise(gr.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return pr(U)?this.finishNode(g,"JSXFragment"):this.finishNode(g,"JSXElement")}jsxParseElement(){let s=this.state.start,l=this.state.startLoc;return this.next(),this.jsxParseElementAt(s,l)}setContext(s){let{context:l}=this.state;l[l.length-1]=s}parseExprAtom(s){return this.match(133)?this.parseLiteral(this.state.value,"JSXText"):this.match(134)?this.jsxParseElement():this.match(45)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(134),this.jsxParseElement()):super.parseExprAtom(s)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(s){let l=this.curContext();if(l===m.j_expr)return this.jsxReadToken();if(l===m.j_oTag||l===m.j_cTag){if(xe(s))return this.jsxReadWord();if(s===62)return++this.state.pos,this.finishToken(135);if((s===34||s===39)&&l===m.j_oTag)return this.jsxReadString(s)}return s===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33?(++this.state.pos,this.finishToken(134)):super.getTokenFromCode(s)}updateContext(s){let{context:l,type:g}=this.state;if(g===52&&s===134)l.splice(-2,2,m.j_cTag),this.state.canStartJSXElement=!1;else if(g===134)l.push(m.j_oTag);else if(g===135){let w=l[l.length-1];w===m.j_oTag&&s===52||w===m.j_cTag?(l.pop(),this.state.canStartJSXElement=l[l.length-1]===m.j_expr):(this.setContext(m.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=$[g]}},flow:Ee=>class extends Ee{constructor(...s){super(...s),this.flowPragma=void 0}getScopeHandler(){return ot}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(s,l){return s!==125&&s!==13&&s!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(s,l)}addComment(s){if(this.flowPragma===void 0){let l=ei.exec(s.value);if(l)if(l[1]==="flow")this.flowPragma="flow";else{if(l[1]!=="noflow")throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}return super.addComment(s)}flowParseTypeInitialiser(s){let l=this.state.inType;this.state.inType=!0,this.expect(s||14);let g=this.flowParseType();return this.state.inType=l,g}flowParsePredicate(){let s=this.startNode(),l=this.state.startLoc;return this.next(),this.expectContextual(103),this.state.lastTokStart>t.get(l)+1&&this.raise(tt.UnexpectedSpaceBetweenModuloChecks,{at:l}),this.eat(10)?(s.value=this.parseExpression(),this.expect(11),this.finishNode(s,"DeclaredPredicate")):this.finishNode(s,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let s=this.state.inType;this.state.inType=!0,this.expect(14);let l=null,g=null;return this.match(50)?(this.state.inType=s,g=this.flowParsePredicate()):(l=this.flowParseType(),this.state.inType=s,this.match(50)&&(g=this.flowParsePredicate())),[l,g]}flowParseDeclareClass(s){return this.next(),this.flowParseInterfaceish(s,!0),this.finishNode(s,"DeclareClass")}flowParseDeclareFunction(s){this.next();let l=s.id=this.parseIdentifier(),g=this.startNode(),w=this.startNode();this.match(45)?g.typeParameters=this.flowParseTypeParameterDeclaration():g.typeParameters=null,this.expect(10);let U=this.flowParseFunctionTypeParams();return g.params=U.params,g.rest=U.rest,g.this=U._this,this.expect(11),[g.returnType,s.predicate]=this.flowParseTypeAndPredicateInitialiser(),w.typeAnnotation=this.finishNode(g,"FunctionTypeAnnotation"),l.typeAnnotation=this.finishNode(w,"TypeAnnotation"),this.resetEndLocation(l),this.semicolon(),this.scope.declareName(s.id.name,2048,s.id.loc.start),this.finishNode(s,"DeclareFunction")}flowParseDeclare(s,l){if(this.match(76))return this.flowParseDeclareClass(s);if(this.match(64))return this.flowParseDeclareFunction(s);if(this.match(70))return this.flowParseDeclareVariable(s);if(this.eatContextual(119))return this.match(16)?this.flowParseDeclareModuleExports(s):(l&&this.raise(tt.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(s));if(this.isContextual(122))return this.flowParseDeclareTypeAlias(s);if(this.isContextual(123))return this.flowParseDeclareOpaqueType(s);if(this.isContextual(121))return this.flowParseDeclareInterface(s);if(this.match(78))return this.flowParseDeclareExportDeclaration(s,l);throw this.unexpected()}flowParseDeclareVariable(s){return this.next(),s.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(s.id.name,5,s.id.loc.start),this.semicolon(),this.finishNode(s,"DeclareVariable")}flowParseDeclareModule(s){this.scope.enter(0),this.match(125)?s.id=this.parseExprAtom():s.id=this.parseIdentifier();let l=s.body=this.startNode(),g=l.body=[];for(this.expect(5);!this.match(8);){let q=this.startNode();this.match(79)?(this.next(),this.isContextual(122)||this.match(83)||this.raise(tt.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),this.parseImport(q)):(this.expectContextual(117,tt.UnsupportedStatementInDeclareModule),q=this.flowParseDeclare(q,!0)),g.push(q)}this.scope.exit(),this.expect(8),this.finishNode(l,"BlockStatement");let w=null,U=!1;return g.forEach(q=>{(function(oe){return oe.type==="DeclareExportAllDeclaration"||oe.type==="DeclareExportDeclaration"&&(!oe.declaration||oe.declaration.type!=="TypeAlias"&&oe.declaration.type!=="InterfaceDeclaration")})(q)?(w==="CommonJS"&&this.raise(tt.AmbiguousDeclareModuleKind,{node:q}),w="ES"):q.type==="DeclareModuleExports"&&(U&&this.raise(tt.DuplicateDeclareModuleExports,{node:q}),w==="ES"&&this.raise(tt.AmbiguousDeclareModuleKind,{node:q}),w="CommonJS",U=!0)}),s.kind=w||"CommonJS",this.finishNode(s,"DeclareModule")}flowParseDeclareExportDeclaration(s,l){if(this.expect(78),this.eat(61))return this.match(64)||this.match(76)?s.declaration=this.flowParseDeclare(this.startNode()):(s.declaration=this.flowParseType(),this.semicolon()),s.default=!0,this.finishNode(s,"DeclareExportDeclaration");if(this.match(71)||this.isLet()||(this.isContextual(122)||this.isContextual(121))&&!l){let g=this.state.value,w=Zn[g];throw this.raise(tt.UnsupportedDeclareExportKind,{at:this.state.startLoc},g,w)}if(this.match(70)||this.match(64)||this.match(76)||this.isContextual(123))return s.declaration=this.flowParseDeclare(this.startNode()),s.default=!1,this.finishNode(s,"DeclareExportDeclaration");if(this.match(51)||this.match(5)||this.isContextual(121)||this.isContextual(122)||this.isContextual(123))return(s=this.parseExport(s)).type==="ExportNamedDeclaration"&&(s.type="ExportDeclaration",s.default=!1,delete s.exportKind),s.type="Declare"+s.type,s;throw this.unexpected()}flowParseDeclareModuleExports(s){return this.next(),this.expectContextual(104),s.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(s,"DeclareModuleExports")}flowParseDeclareTypeAlias(s){return this.next(),this.flowParseTypeAlias(s),s.type="DeclareTypeAlias",s}flowParseDeclareOpaqueType(s){return this.next(),this.flowParseOpaqueType(s,!0),s.type="DeclareOpaqueType",s}flowParseDeclareInterface(s){return this.next(),this.flowParseInterfaceish(s),this.finishNode(s,"DeclareInterface")}flowParseInterfaceish(s,l=!1){if(s.id=this.flowParseRestrictedIdentifier(!l,!0),this.scope.declareName(s.id.name,l?17:9,s.id.loc.start),this.match(45)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,s.extends=[],s.implements=[],s.mixins=[],this.eat(77))do s.extends.push(this.flowParseInterfaceExtends());while(!l&&this.eat(12));if(this.isContextual(110)){this.next();do s.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12))}if(this.isContextual(106)){this.next();do s.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}s.body=this.flowParseObjectType({allowStatic:l,allowExact:!1,allowSpread:!1,allowProto:l,allowInexact:!1})}flowParseInterfaceExtends(){let s=this.startNode();return s.id=this.flowParseQualifiedTypeIdentifier(),this.match(45)?s.typeParameters=this.flowParseTypeParameterInstantiation():s.typeParameters=null,this.finishNode(s,"InterfaceExtends")}flowParseInterface(s){return this.flowParseInterfaceish(s),this.finishNode(s,"InterfaceDeclaration")}checkNotUnderscore(s){s==="_"&&this.raise(tt.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(s,l,g){In.has(s)&&this.raise(g?tt.AssignReservedType:tt.UnexpectedReservedType,{at:l},s)}flowParseRestrictedIdentifier(s,l){return this.checkReservedType(this.state.value,this.state.startLoc,l),this.parseIdentifier(s)}flowParseTypeAlias(s){return s.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(s.id.name,9,s.id.loc.start),this.match(45)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,s.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(s,"TypeAlias")}flowParseOpaqueType(s,l){return this.expectContextual(122),s.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(s.id.name,9,s.id.loc.start),this.match(45)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,s.supertype=null,this.match(14)&&(s.supertype=this.flowParseTypeInitialiser(14)),s.impltype=null,l||(s.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(s,"OpaqueType")}flowParseTypeParameter(s=!1){let l=this.state.startLoc,g=this.startNode(),w=this.flowParseVariance(),U=this.flowParseTypeAnnotatableIdentifier();return g.name=U.name,g.variance=w,g.bound=U.typeAnnotation,this.match(29)?(this.eat(29),g.default=this.flowParseType()):s&&this.raise(tt.MissingTypeParamDefault,{at:l}),this.finishNode(g,"TypeParameter")}flowParseTypeParameterDeclaration(){let s=this.state.inType,l=this.startNode();l.params=[],this.state.inType=!0,this.match(45)||this.match(134)?this.next():this.unexpected();let g=!1;do{let w=this.flowParseTypeParameter(g);l.params.push(w),w.default&&(g=!0),this.match(46)||this.expect(12)}while(!this.match(46));return this.expect(46),this.state.inType=s,this.finishNode(l,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let s=this.startNode(),l=this.state.inType;s.params=[],this.state.inType=!0,this.expect(45);let g=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(46);)s.params.push(this.flowParseType()),this.match(46)||this.expect(12);return this.state.noAnonFunctionType=g,this.expect(46),this.state.inType=l,this.finishNode(s,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let s=this.startNode(),l=this.state.inType;for(s.params=[],this.state.inType=!0,this.expect(45);!this.match(46);)s.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(46)||this.expect(12);return this.expect(46),this.state.inType=l,this.finishNode(s,"TypeParameterInstantiation")}flowParseInterfaceType(){let s=this.startNode();if(this.expectContextual(121),s.extends=[],this.eat(77))do s.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return s.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(s,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(126)||this.match(125)?this.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(s,l,g){return s.static=l,this.lookahead().type===14?(s.id=this.flowParseObjectPropertyKey(),s.key=this.flowParseTypeInitialiser()):(s.id=null,s.key=this.flowParseType()),this.expect(3),s.value=this.flowParseTypeInitialiser(),s.variance=g,this.finishNode(s,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(s,l){return s.static=l,s.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(45)||this.match(10)?(s.method=!0,s.optional=!1,s.value=this.flowParseObjectTypeMethodish(this.startNodeAt(s.start,s.loc.start))):(s.method=!1,this.eat(17)&&(s.optional=!0),s.value=this.flowParseTypeInitialiser()),this.finishNode(s,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(s){for(s.params=[],s.rest=null,s.typeParameters=null,s.this=null,this.match(45)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(74)&&(s.this=this.flowParseFunctionTypeParam(!0),s.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)s.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(s.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),s.returnType=this.flowParseTypeInitialiser(),this.finishNode(s,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(s,l){let g=this.startNode();return s.static=l,s.value=this.flowParseObjectTypeMethodish(g),this.finishNode(s,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:s,allowExact:l,allowSpread:g,allowProto:w,allowInexact:U}){let q=this.state.inType;this.state.inType=!0;let oe=this.startNode(),ce,ve;oe.callProperties=[],oe.properties=[],oe.indexers=[],oe.internalSlots=[];let Ie=!1;for(l&&this.match(6)?(this.expect(6),ce=9,ve=!0):(this.expect(5),ce=8,ve=!1),oe.exact=ve;!this.match(ce);){let Qe=!1,qe=null,yt=null,it=this.startNode();if(w&&this.isContextual(111)){let Et=this.lookahead();Et.type!==14&&Et.type!==17&&(this.next(),qe=this.state.startLoc,s=!1)}if(s&&this.isContextual(100)){let Et=this.lookahead();Et.type!==14&&Et.type!==17&&(this.next(),Qe=!0)}let ht=this.flowParseVariance();if(this.eat(0))qe!=null&&this.unexpected(qe),this.eat(0)?(ht&&this.unexpected(ht.loc.start),oe.internalSlots.push(this.flowParseObjectTypeInternalSlot(it,Qe))):oe.indexers.push(this.flowParseObjectTypeIndexer(it,Qe,ht));else if(this.match(10)||this.match(45))qe!=null&&this.unexpected(qe),ht&&this.unexpected(ht.loc.start),oe.callProperties.push(this.flowParseObjectTypeCallProperty(it,Qe));else{let Et="init";(this.isContextual(94)||this.isContextual(99))&&F(this.lookahead().type)&&(Et=this.state.value,this.next());let ir=this.flowParseObjectTypeProperty(it,Qe,qe,ht,Et,g,_nullishCoalesce(U, () => (!ve)));ir===null?(Ie=!0,yt=this.state.lastTokStartLoc):oe.properties.push(ir)}this.flowObjectTypeSemicolon(),!yt||this.match(8)||this.match(9)||this.raise(tt.UnexpectedExplicitInexactInObject,{at:yt})}this.expect(ce),g&&(oe.inexact=Ie);let We=this.finishNode(oe,"ObjectTypeAnnotation");return this.state.inType=q,We}flowParseObjectTypeProperty(s,l,g,w,U,q,oe){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(q?oe||this.raise(tt.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(tt.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),w&&this.raise(tt.InexactVariance,{node:w}),null):(q||this.raise(tt.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),g!=null&&this.unexpected(g),w&&this.raise(tt.SpreadVariance,{node:w}),s.argument=this.flowParseType(),this.finishNode(s,"ObjectTypeSpreadProperty"));{s.key=this.flowParseObjectPropertyKey(),s.static=l,s.proto=g!=null,s.kind=U;let ce=!1;return this.match(45)||this.match(10)?(s.method=!0,g!=null&&this.unexpected(g),w&&this.unexpected(w.loc.start),s.value=this.flowParseObjectTypeMethodish(this.startNodeAt(s.start,s.loc.start)),U!=="get"&&U!=="set"||this.flowCheckGetterSetterParams(s),!q&&s.key.name==="constructor"&&s.value.this&&this.raise(tt.ThisParamBannedInConstructor,{node:s.value.this})):(U!=="init"&&this.unexpected(),s.method=!1,this.eat(17)&&(ce=!0),s.value=this.flowParseTypeInitialiser(),s.variance=w),s.optional=ce,this.finishNode(s,"ObjectTypeProperty")}}flowCheckGetterSetterParams(s){let l=s.kind==="get"?0:1,g=s.value.params.length+(s.value.rest?1:0);s.value.this&&this.raise(s.kind==="get"?tt.GetterMayNotHaveThisParam:tt.SetterMayNotHaveThisParam,{node:s.value.this}),g!==l&&this.raise(s.kind==="get"?h.BadGetterArity:h.BadSetterArity,{node:s}),s.kind==="set"&&s.value.rest&&this.raise(h.BadSetterRestParameter,{node:s})}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(s,l,g){s=s||this.state.start,l=l||this.state.startLoc;let w=g||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let U=this.startNodeAt(s,l);U.qualification=w,U.id=this.flowParseRestrictedIdentifier(!0),w=this.finishNode(U,"QualifiedTypeIdentifier")}return w}flowParseGenericType(s,l,g){let w=this.startNodeAt(s,l);return w.typeParameters=null,w.id=this.flowParseQualifiedTypeIdentifier(s,l,g),this.match(45)&&(w.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(w,"GenericTypeAnnotation")}flowParseTypeofType(){let s=this.startNode();return this.expect(83),s.argument=this.flowParsePrimaryType(),this.finishNode(s,"TypeofTypeAnnotation")}flowParseTupleType(){let s=this.startNode();for(s.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(s.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(s,"TupleTypeAnnotation")}flowParseFunctionTypeParam(s){let l=null,g=!1,w=null,U=this.startNode(),q=this.lookahead(),oe=this.state.type===74;return q.type===14||q.type===17?(oe&&!s&&this.raise(tt.ThisParamMustBeFirst,{node:U}),l=this.parseIdentifier(oe),this.eat(17)&&(g=!0,oe&&this.raise(tt.ThisParamMayNotBeOptional,{node:U})),w=this.flowParseTypeInitialiser()):w=this.flowParseType(),U.name=l,U.optional=g,U.typeAnnotation=w,this.finishNode(U,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(s){let l=this.startNodeAt(s.start,s.loc.start);return l.name=null,l.optional=!1,l.typeAnnotation=s,this.finishNode(l,"FunctionTypeParam")}flowParseFunctionTypeParams(s=[]){let l=null,g=null;for(this.match(74)&&(g=this.flowParseFunctionTypeParam(!0),g.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)s.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(l=this.flowParseFunctionTypeParam(!1)),{params:s,rest:l,_this:g}}flowIdentToTypeAnnotation(s,l,g,w){switch(w.name){case"any":return this.finishNode(g,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(g,"BooleanTypeAnnotation");case"mixed":return this.finishNode(g,"MixedTypeAnnotation");case"empty":return this.finishNode(g,"EmptyTypeAnnotation");case"number":return this.finishNode(g,"NumberTypeAnnotation");case"string":return this.finishNode(g,"StringTypeAnnotation");case"symbol":return this.finishNode(g,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(w.name),this.flowParseGenericType(s,l,w)}}flowParsePrimaryType(){let s=this.state.start,l=this.state.startLoc,g=this.startNode(),w,U,q=!1,oe=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,U=this.flowParseTupleType(),this.state.noAnonFunctionType=oe,U;case 45:return g.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),w=this.flowParseFunctionTypeParams(),g.params=w.params,g.rest=w.rest,g.this=w._this,this.expect(11),this.expect(19),g.returnType=this.flowParseType(),this.finishNode(g,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(D(this.state.type)||this.match(74)){let ce=this.lookahead().type;q=ce!==17&&ce!==14}else q=!0;if(q){if(this.state.noAnonFunctionType=!1,U=this.flowParseType(),this.state.noAnonFunctionType=oe,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),U;this.eat(12)}return w=U?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(U)]):this.flowParseFunctionTypeParams(),g.params=w.params,g.rest=w.rest,g.this=w._this,this.expect(11),this.expect(19),g.returnType=this.flowParseType(),g.typeParameters=null,this.finishNode(g,"FunctionTypeAnnotation");case 125:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 81:case 82:return g.value=this.match(81),this.next(),this.finishNode(g,"BooleanLiteralTypeAnnotation");case 49:if(this.state.value==="-"){if(this.next(),this.match(126))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",g);if(this.match(127))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",g);throw this.raise(tt.UnexpectedSubtractionOperand,{at:this.state.startLoc})}throw this.unexpected();case 126:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 127:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 84:return this.next(),this.finishNode(g,"VoidTypeAnnotation");case 80:return this.next(),this.finishNode(g,"NullLiteralTypeAnnotation");case 74:return this.next(),this.finishNode(g,"ThisTypeAnnotation");case 51:return this.next(),this.finishNode(g,"ExistsTypeAnnotation");case 83:return this.flowParseTypeofType();default:if(J(this.state.type)){let ce=ne(this.state.type);return this.next(),super.createIdentifier(g,ce)}if(D(this.state.type))return this.isContextual(121)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(s,l,g,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){let s=this.state.start,l=this.state.startLoc,g=this.flowParsePrimaryType(),w=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let U=this.startNodeAt(s,l),q=this.eat(18);w=w||q,this.expect(0),!q&&this.match(3)?(U.elementType=g,this.next(),g=this.finishNode(U,"ArrayTypeAnnotation")):(U.objectType=g,U.indexType=this.flowParseType(),this.expect(3),w?(U.optional=q,g=this.finishNode(U,"OptionalIndexedAccessType")):g=this.finishNode(U,"IndexedAccessType"))}return g}flowParsePrefixType(){let s=this.startNode();return this.eat(17)?(s.typeAnnotation=this.flowParsePrefixType(),this.finishNode(s,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let s=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let l=this.startNodeAt(s.start,s.loc.start);return l.params=[this.reinterpretTypeAsFunctionTypeParam(s)],l.rest=null,l.this=null,l.returnType=this.flowParseType(),l.typeParameters=null,this.finishNode(l,"FunctionTypeAnnotation")}return s}flowParseIntersectionType(){let s=this.startNode();this.eat(43);let l=this.flowParseAnonFunctionWithoutParens();for(s.types=[l];this.eat(43);)s.types.push(this.flowParseAnonFunctionWithoutParens());return s.types.length===1?l:this.finishNode(s,"IntersectionTypeAnnotation")}flowParseUnionType(){let s=this.startNode();this.eat(41);let l=this.flowParseIntersectionType();for(s.types=[l];this.eat(41);)s.types.push(this.flowParseIntersectionType());return s.types.length===1?l:this.finishNode(s,"UnionTypeAnnotation")}flowParseType(){let s=this.state.inType;this.state.inType=!0;let l=this.flowParseUnionType();return this.state.inType=s,l}flowParseTypeOrImplicitInstantiation(){if(this.state.type===124&&this.state.value==="_"){let s=this.state.start,l=this.state.startLoc,g=this.parseIdentifier();return this.flowParseGenericType(s,l,g)}return this.flowParseType()}flowParseTypeAnnotation(){let s=this.startNode();return s.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(s,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(s){let l=s?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(l.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(l)),l}typeCastToParameter(s){return s.expression.typeAnnotation=s.typeAnnotation,this.resetEndLocation(s.expression,s.typeAnnotation.loc.end),s.expression}flowParseVariance(){let s=null;return this.match(49)&&(s=this.startNode(),this.state.value==="+"?s.kind="plus":s.kind="minus",this.next(),this.finishNode(s,"Variance")),s}parseFunctionBody(s,l,g=!1){return l?this.forwardNoArrowParamsConversionAt(s,()=>super.parseFunctionBody(s,!0,g)):super.parseFunctionBody(s,!1,g)}parseFunctionBodyAndFinish(s,l,g=!1){if(this.match(14)){let w=this.startNode();[w.typeAnnotation,s.predicate]=this.flowParseTypeAndPredicateInitialiser(),s.returnType=w.typeAnnotation?this.finishNode(w,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(s,l,g)}parseStatement(s,l){if(this.state.strict&&this.isContextual(121)){if(_(this.lookahead().type)){let w=this.startNode();return this.next(),this.flowParseInterface(w)}}else if(this.shouldParseEnums()&&this.isContextual(118)){let w=this.startNode();return this.next(),this.flowParseEnumDeclaration(w)}let g=super.parseStatement(s,l);return this.flowPragma!==void 0||this.isValidDirective(g)||(this.flowPragma=null),g}parseExpressionStatement(s,l){if(l.type==="Identifier"){if(l.name==="declare"){if(this.match(76)||D(this.state.type)||this.match(64)||this.match(70)||this.match(78))return this.flowParseDeclare(s)}else if(D(this.state.type)){if(l.name==="interface")return this.flowParseInterface(s);if(l.name==="type")return this.flowParseTypeAlias(s);if(l.name==="opaque")return this.flowParseOpaqueType(s,!1)}}return super.parseExpressionStatement(s,l)}shouldParseExportDeclaration(){let{type:s}=this.state;return W(s)||this.shouldParseEnums()&&s===118?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:s}=this.state;return W(s)||this.shouldParseEnums()&&s===118?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(118)){let s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}return super.parseExportDefaultExpression()}parseConditional(s,l,g,w){if(!this.match(17))return s;if(this.state.maybeInArrowParameters){let Qe=this.lookaheadCharCode();if(Qe===44||Qe===61||Qe===58||Qe===41)return this.setOptionalParametersError(w),s}this.expect(17);let U=this.state.clone(),q=this.state.noArrowAt,oe=this.startNodeAt(l,g),{consequent:ce,failed:ve}=this.tryParseConditionalConsequent(),[Ie,We]=this.getArrowLikeExpressions(ce);if(ve||We.length>0){let Qe=[...q];if(We.length>0){this.state=U,this.state.noArrowAt=Qe;for(let qe=0;qe<We.length;qe++)Qe.push(We[qe].start);({consequent:ce,failed:ve}=this.tryParseConditionalConsequent()),[Ie,We]=this.getArrowLikeExpressions(ce)}ve&&Ie.length>1&&this.raise(tt.AmbiguousConditionalArrow,{at:U.startLoc}),ve&&Ie.length===1&&(this.state=U,Qe.push(Ie[0].start),this.state.noArrowAt=Qe,{consequent:ce,failed:ve}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(ce,!0),this.state.noArrowAt=q,this.expect(14),oe.test=s,oe.consequent=ce,oe.alternate=this.forwardNoArrowParamsConversionAt(oe,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(oe,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let s=this.parseMaybeAssignAllowIn(),l=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:s,failed:l}}getArrowLikeExpressions(s,l){let g=[s],w=[];for(;g.length!==0;){let U=g.pop();U.type==="ArrowFunctionExpression"?(U.typeParameters||!U.returnType?this.finishArrowValidation(U):w.push(U),g.push(U.body)):U.type==="ConditionalExpression"&&(g.push(U.consequent),g.push(U.alternate))}return l?(w.forEach(U=>this.finishArrowValidation(U)),[w,[]]):function(U,q){let oe=[],ce=[];for(let ve=0;ve<U.length;ve++)(q(U[ve],ve,U)?oe:ce).push(U[ve]);return[oe,ce]}(w,U=>U.params.every(q=>this.isAssignable(q,!0)))}finishArrowValidation(s){var l;this.toAssignableList(s.params,(l=s.extra)==null?void 0:l.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(s,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(s,l){let g;return this.state.noArrowParamsConversionAt.indexOf(s.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),g=l(),this.state.noArrowParamsConversionAt.pop()):g=l(),g}parseParenItem(s,l,g){if(s=super.parseParenItem(s,l,g),this.eat(17)&&(s.optional=!0,this.resetEndLocation(s)),this.match(14)){let w=this.startNodeAt(l,g);return w.expression=s,w.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(w,"TypeCastExpression")}return s}assertModuleNodeAllowed(s){s.type==="ImportDeclaration"&&(s.importKind==="type"||s.importKind==="typeof")||s.type==="ExportNamedDeclaration"&&s.exportKind==="type"||s.type==="ExportAllDeclaration"&&s.exportKind==="type"||super.assertModuleNodeAllowed(s)}parseExport(s){let l=super.parseExport(s);return l.type!=="ExportNamedDeclaration"&&l.type!=="ExportAllDeclaration"||(l.exportKind=l.exportKind||"value"),l}parseExportDeclaration(s){if(this.isContextual(122)){s.exportKind="type";let l=this.startNode();return this.next(),this.match(5)?(s.specifiers=this.parseExportSpecifiers(!0),this.parseExportFrom(s),null):this.flowParseTypeAlias(l)}if(this.isContextual(123)){s.exportKind="type";let l=this.startNode();return this.next(),this.flowParseOpaqueType(l,!1)}if(this.isContextual(121)){s.exportKind="type";let l=this.startNode();return this.next(),this.flowParseInterface(l)}if(this.shouldParseEnums()&&this.isContextual(118)){s.exportKind="value";let l=this.startNode();return this.next(),this.flowParseEnumDeclaration(l)}return super.parseExportDeclaration(s)}eatExportStar(s){return!!super.eatExportStar(...arguments)||!(!this.isContextual(122)||this.lookahead().type!==51)&&(s.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(s){let{startLoc:l}=this.state,g=super.maybeParseExportNamespaceSpecifier(s);return g&&s.exportKind==="type"&&this.unexpected(l),g}parseClassId(s,l,g){super.parseClassId(s,l,g),this.match(45)&&(s.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(s,l,g){let{startLoc:w}=this.state;if(this.isContextual(117)){if(this.parseClassMemberFromModifier(s,l))return;l.declare=!0}super.parseClassMember(s,l,g),l.declare&&(l.type!=="ClassProperty"&&l.type!=="ClassPrivateProperty"&&l.type!=="PropertyDefinition"?this.raise(tt.DeclareClassElement,{at:w}):l.value&&this.raise(tt.DeclareClassFieldInitializer,{node:l.value}))}isIterator(s){return s==="iterator"||s==="asyncIterator"}readIterator(){let s=super.readWord1(),l="@@"+s;this.isIterator(s)&&this.state.inType||this.raise(h.InvalidIdentifier,{at:this.state.curPosition()},l),this.finishToken(124,l)}getTokenFromCode(s){let l=this.input.charCodeAt(this.state.pos+1);return s===123&&l===124?this.finishOp(6,2):!this.state.inType||s!==62&&s!==60?this.state.inType&&s===63?l===46?this.finishOp(18,2):this.finishOp(17,1):function(g,w){return g===64&&w===64}(s,l)?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(s):this.finishOp(s===62?46:45,1)}isAssignable(s,l){return s.type==="TypeCastExpression"?this.isAssignable(s.expression,l):super.isAssignable(s,l)}toAssignable(s,l=!1){return s.type==="TypeCastExpression"?super.toAssignable(this.typeCastToParameter(s),l):super.toAssignable(s,l)}toAssignableList(s,l,g){for(let w=0;w<s.length;w++){let U=s[w];(U==null?void 0:U.type)==="TypeCastExpression"&&(s[w]=this.typeCastToParameter(U))}return super.toAssignableList(s,l,g)}toReferencedList(s,l){for(let w=0;w<s.length;w++){var g;let U=s[w];!U||U.type!=="TypeCastExpression"||(g=U.extra)!=null&&g.parenthesized||!(s.length>1)&&l||this.raise(tt.TypeCastInPattern,{node:U.typeAnnotation})}return s}parseArrayLike(s,l,g,w){let U=super.parseArrayLike(s,l,g,w);return l&&!this.state.maybeInArrowParameters&&this.toReferencedList(U.elements),U}checkLVal(s,...l){if(s.type!=="TypeCastExpression")return super.checkLVal(s,...l)}parseClassProperty(s){return this.match(14)&&(s.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(s)}parseClassPrivateProperty(s){return this.match(14)&&(s.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(s)}isClassMethod(){return this.match(45)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(s){return!this.match(14)&&super.isNonstaticConstructor(s)}pushClassMethod(s,l,g,w,U,q){if(l.variance&&this.unexpected(l.variance.loc.start),delete l.variance,this.match(45)&&(l.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(s,l,g,w,U,q),l.params&&U){let oe=l.params;oe.length>0&&this.isThisParam(oe[0])&&this.raise(tt.ThisParamBannedInConstructor,{node:l})}else if(l.type==="MethodDefinition"&&U&&l.value.params){let oe=l.value.params;oe.length>0&&this.isThisParam(oe[0])&&this.raise(tt.ThisParamBannedInConstructor,{node:l})}}pushClassPrivateMethod(s,l,g,w){l.variance&&this.unexpected(l.variance.loc.start),delete l.variance,this.match(45)&&(l.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(s,l,g,w)}parseClassSuper(s){if(super.parseClassSuper(s),s.superClass&&this.match(45)&&(s.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(106)){this.next();let l=s.implements=[];do{let g=this.startNode();g.id=this.flowParseRestrictedIdentifier(!0),this.match(45)?g.typeParameters=this.flowParseTypeParameterInstantiation():g.typeParameters=null,l.push(this.finishNode(g,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(s){super.checkGetterSetterParams(s);let l=this.getObjectOrClassMethodParams(s);if(l.length>0){let g=l[0];this.isThisParam(g)&&s.kind==="get"?this.raise(tt.GetterMayNotHaveThisParam,{node:g}):this.isThisParam(g)&&this.raise(tt.SetterMayNotHaveThisParam,{node:g})}}parsePropertyNamePrefixOperator(s){s.variance=this.flowParseVariance()}parseObjPropValue(s,l,g,w,U,q,oe,ce){let ve;s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(45)&&!oe&&(ve=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected()),super.parseObjPropValue(s,l,g,w,U,q,oe,ce),ve&&((s.value||s).typeParameters=ve)}parseAssignableListItemTypes(s){return this.eat(17)&&(s.type!=="Identifier"&&this.raise(tt.PatternIsOptional,{node:s}),this.isThisParam(s)&&this.raise(tt.ThisParamMayNotBeOptional,{node:s}),s.optional=!0),this.match(14)?s.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(s)&&this.raise(tt.ThisParamAnnotationRequired,{node:s}),this.match(29)&&this.isThisParam(s)&&this.raise(tt.ThisParamNoDefault,{node:s}),this.resetEndLocation(s),s}parseMaybeDefault(s,l,g){let w=super.parseMaybeDefault(s,l,g);return w.type==="AssignmentPattern"&&w.typeAnnotation&&w.right.start<w.typeAnnotation.start&&this.raise(tt.TypeBeforeInitializer,{node:w.typeAnnotation}),w}shouldParseDefaultImport(s){return It(s)?Nn(this.state.type):super.shouldParseDefaultImport(s)}parseImportSpecifierLocal(s,l,g,w){l.local=It(s)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),this.checkLVal(l.local,w,9),s.specifiers.push(this.finishNode(l,g))}maybeParseDefaultImportSpecifier(s){s.importKind="value";let l=null;if(this.match(83)?l="typeof":this.isContextual(122)&&(l="type"),l){let g=this.lookahead(),{type:w}=g;l==="type"&&w===51&&this.unexpected(null,g.type),(Nn(w)||w===5||w===51)&&(this.next(),s.importKind=l)}return super.maybeParseDefaultImportSpecifier(s)}parseImportSpecifier(s,l,g,w){let U=s.imported,q=null;U.type==="Identifier"&&(U.name==="type"?q="type":U.name==="typeof"&&(q="typeof"));let oe=!1;if(this.isContextual(89)&&!this.isLookaheadContextual("as")){let ve=this.parseIdentifier(!0);q===null||_(this.state.type)?(s.imported=U,s.importKind=null,s.local=this.parseIdentifier()):(s.imported=ve,s.importKind=q,s.local=tr(ve))}else{if(q!==null&&_(this.state.type))s.imported=this.parseIdentifier(!0),s.importKind=q;else{if(l)throw this.raise(h.ImportBindingIsString,{node:s},U.value);s.imported=U,s.importKind=null}this.eatContextual(89)?s.local=this.parseIdentifier():(oe=!0,s.local=tr(s.imported))}let ce=It(s);return g&&ce&&this.raise(tt.ImportTypeShorthandOnlyInPureImport,{node:s}),(g||ce)&&this.checkReservedType(s.local.name,s.local.loc.start,!0),!oe||g||ce||this.checkReservedWord(s.local.name,s.loc.start,!0,!0),this.checkLVal(s.local,"import specifier",9),this.finishNode(s,"ImportSpecifier")}parseBindingAtom(){return this.state.type===74?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(s,l){let g=s.kind;g!=="get"&&g!=="set"&&this.match(45)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(s,l)}parseVarId(s,l){super.parseVarId(s,l),this.match(14)&&(s.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(s.id))}parseAsyncArrowFromCallExpression(s,l){if(this.match(14)){let g=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,s.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=g}return super.parseAsyncArrowFromCallExpression(s,l)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(s,l){var g;let w,U=null;if(this.hasPlugin("jsx")&&(this.match(134)||this.match(45))){if(U=this.state.clone(),w=this.tryParse(()=>super.parseMaybeAssign(s,l),U),!w.error)return w.node;let{context:ce}=this.state,ve=ce[ce.length-1];ve!==m.j_oTag&&ve!==m.j_expr||ce.pop()}if((g=w)!=null&&g.error||this.match(45)){var q,oe;let ce;U=U||this.state.clone();let ve=this.tryParse(We=>{var Qe;ce=this.flowParseTypeParameterDeclaration();let qe=this.forwardNoArrowParamsConversionAt(ce,()=>{let it=super.parseMaybeAssign(s,l);return this.resetStartLocationFromNode(it,ce),it});(Qe=qe.extra)!=null&&Qe.parenthesized&&We();let yt=this.maybeUnwrapTypeCastExpression(qe);return yt.type!=="ArrowFunctionExpression"&&We(),yt.typeParameters=ce,this.resetStartLocationFromNode(yt,ce),qe},U),Ie=null;if(ve.node&&this.maybeUnwrapTypeCastExpression(ve.node).type==="ArrowFunctionExpression"){if(!ve.error&&!ve.aborted)return ve.node.async&&this.raise(tt.UnexpectedTypeParameterBeforeAsyncArrowFunction,{node:ce}),ve.node;Ie=ve.node}if((q=w)!=null&&q.node)return this.state=w.failState,w.node;if(Ie)return this.state=ve.failState,Ie;throw(oe=w)!=null&&oe.thrown?w.error:ve.thrown?ve.error:this.raise(tt.UnexpectedTokenAfterTypeParameter,{node:ce})}return super.parseMaybeAssign(s,l)}parseArrow(s){if(this.match(14)){let l=this.tryParse(()=>{let g=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let w=this.startNode();return[w.typeAnnotation,s.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=g,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),w});if(l.thrown)return null;l.error&&(this.state=l.failState),s.returnType=l.node.typeAnnotation?this.finishNode(l.node,"TypeAnnotation"):null}return super.parseArrow(s)}shouldParseArrow(s){return this.match(14)||super.shouldParseArrow(s)}setArrowFunctionParameters(s,l){this.state.noArrowParamsConversionAt.indexOf(s.start)!==-1?s.params=l:super.setArrowFunctionParameters(s,l)}checkParams(s,l,g){if(!g||this.state.noArrowParamsConversionAt.indexOf(s.start)===-1){for(let w=0;w<s.params.length;w++)this.isThisParam(s.params[w])&&w>0&&this.raise(tt.ThisParamMustBeFirst,{node:s.params[w]});return super.checkParams(...arguments)}}parseParenAndDistinguishExpression(s){return super.parseParenAndDistinguishExpression(s&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(s,l,g,w){if(s.type==="Identifier"&&s.name==="async"&&this.state.noArrowAt.indexOf(l)!==-1){this.next();let U=this.startNodeAt(l,g);U.callee=s,U.arguments=this.parseCallExpressionArguments(11,!1),s=this.finishNode(U,"CallExpression")}else if(s.type==="Identifier"&&s.name==="async"&&this.match(45)){let U=this.state.clone(),q=this.tryParse(ce=>this.parseAsyncArrowWithTypeParameters(l,g)||ce(),U);if(!q.error&&!q.aborted)return q.node;let oe=this.tryParse(()=>super.parseSubscripts(s,l,g,w),U);if(oe.node&&!oe.error)return oe.node;if(q.node)return this.state=q.failState,q.node;if(oe.node)return this.state=oe.failState,oe.node;throw q.error||oe.error}return super.parseSubscripts(s,l,g,w)}parseSubscript(s,l,g,w,U){if(this.match(18)&&this.isLookaheadToken_lt()){if(U.optionalChainMember=!0,w)return U.stop=!0,s;this.next();let q=this.startNodeAt(l,g);return q.callee=s,q.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),q.arguments=this.parseCallExpressionArguments(11,!1),q.optional=!0,this.finishCallExpression(q,!0)}if(!w&&this.shouldParseTypes()&&this.match(45)){let q=this.startNodeAt(l,g);q.callee=s;let oe=this.tryParse(()=>(q.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),q.arguments=this.parseCallExpressionArguments(11,!1),U.optionalChainMember&&(q.optional=!1),this.finishCallExpression(q,U.optionalChainMember)));if(oe.node)return oe.error&&(this.state=oe.failState),oe.node}return super.parseSubscript(s,l,g,w,U)}parseNewArguments(s){let l=null;this.shouldParseTypes()&&this.match(45)&&(l=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),s.typeArguments=l,super.parseNewArguments(s)}parseAsyncArrowWithTypeParameters(s,l){let g=this.startNodeAt(s,l);if(this.parseFunctionParams(g),this.parseArrow(g))return this.parseArrowExpression(g,void 0,!0)}readToken_mult_modulo(s){let l=this.input.charCodeAt(this.state.pos+1);if(s===42&&l===47&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(s)}readToken_pipe_amp(s){let l=this.input.charCodeAt(this.state.pos+1);s!==124||l!==125?super.readToken_pipe_amp(s):this.finishOp(9,2)}parseTopLevel(s,l){let g=super.parseTopLevel(s,l);return this.state.hasFlowComment&&this.raise(tt.UnterminatedFlowComment,{at:this.state.curPosition()}),g}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(tt.NestedFlowComment,{at:this.state.startLoc});return this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),void(this.state.hasFlowComment=!0)}if(!this.state.hasFlowComment)return super.skipBlockComment();{let s=this.input.indexOf("*-/",this.state.pos+2);if(s===-1)throw this.raise(h.UnterminatedComment,{at:this.state.curPosition()});this.state.pos=s+2+3}}skipFlowComment(){let{pos:s}=this.state,l=2;for(;[32,9].includes(this.input.charCodeAt(s+l));)l++;let g=this.input.charCodeAt(l+s),w=this.input.charCodeAt(l+s+1);return g===58&&w===58?l+2:this.input.slice(l+s,l+s+12)==="flow-include"?l+12:g===58&&w!==58&&l}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(h.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(s,{enumName:l,memberName:g}){this.raise(tt.EnumBooleanMemberNotInitialized,{at:s},g,l)}flowEnumErrorInvalidExplicitType(s,{enumName:l,suppliedType:g}){return this.raise(g===null?tt.EnumInvalidExplicitTypeUnknownSupplied:tt.EnumInvalidExplicitType,{at:s},l,g)}flowEnumErrorInvalidMemberInitializer(s,{enumName:l,explicitType:g,memberName:w}){return this.raise(g==="boolean"||g==="number"||g==="string"?tt.EnumInvalidMemberInitializerPrimaryType:g==="symbol"?tt.EnumInvalidMemberInitializerSymbolType:tt.EnumInvalidMemberInitializerUnknownType,{at:s},l,w,g)}flowEnumErrorNumberMemberNotInitialized(s,{enumName:l,memberName:g}){this.raise(tt.EnumNumberMemberNotInitialized,{at:s},l,g)}flowEnumErrorStringMemberInconsistentlyInitailized(s,{enumName:l}){this.raise(tt.EnumStringMemberInconsistentlyInitailized,{node:s},l)}flowEnumMemberInit(){let s=this.state.startLoc,l=()=>this.match(12)||this.match(8);switch(this.state.type){case 126:{let g=this.parseNumericLiteral(this.state.value);return l()?{type:"number",loc:g.loc.start,value:g}:{type:"invalid",loc:s}}case 125:{let g=this.parseStringLiteral(this.state.value);return l()?{type:"string",loc:g.loc.start,value:g}:{type:"invalid",loc:s}}case 81:case 82:{let g=this.parseBooleanLiteral(this.match(81));return l()?{type:"boolean",loc:g.loc.start,value:g}:{type:"invalid",loc:s}}default:return{type:"invalid",loc:s}}}flowEnumMemberRaw(){let s=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:s}}}flowEnumCheckExplicitTypeMismatch(s,l,g){let{explicitType:w}=l;w!==null&&w!==g&&this.flowEnumErrorInvalidMemberInitializer(s,l)}flowEnumMembers({enumName:s,explicitType:l}){let g=new Set,w={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},U=!1;for(;!this.match(8);){if(this.eat(21)){U=!0;break}let q=this.startNode(),{id:oe,init:ce}=this.flowEnumMemberRaw(),ve=oe.name;if(ve==="")continue;/^[a-z]/.test(ve)&&this.raise(tt.EnumInvalidMemberName,{node:oe},ve,ve[0].toUpperCase()+ve.slice(1),s),g.has(ve)&&this.raise(tt.EnumDuplicateMemberName,{node:oe},ve,s),g.add(ve);let Ie={enumName:s,explicitType:l,memberName:ve};switch(q.id=oe,ce.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(ce.loc,Ie,"boolean"),q.init=ce.value,w.booleanMembers.push(this.finishNode(q,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(ce.loc,Ie,"number"),q.init=ce.value,w.numberMembers.push(this.finishNode(q,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(ce.loc,Ie,"string"),q.init=ce.value,w.stringMembers.push(this.finishNode(q,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(ce.loc,Ie);case"none":switch(l){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(ce.loc,Ie);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(ce.loc,Ie);break;default:w.defaultedMembers.push(this.finishNode(q,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:w,hasUnknownMembers:U}}flowEnumStringMembers(s,l,{enumName:g}){if(s.length===0)return l;if(l.length===0)return s;if(l.length>s.length){for(let w of s)this.flowEnumErrorStringMemberInconsistentlyInitailized(w,{enumName:g});return l}for(let w of l)this.flowEnumErrorStringMemberInconsistentlyInitailized(w,{enumName:g});return s}flowEnumParseExplicitType({enumName:s}){if(this.eatContextual(97)){if(!D(this.state.type))throw this.flowEnumErrorInvalidExplicitType(this.state.startLoc,{enumName:s,suppliedType:null});let{value:l}=this.state;return this.next(),l!=="boolean"&&l!=="number"&&l!=="string"&&l!=="symbol"&&this.flowEnumErrorInvalidExplicitType(this.state.startLoc,{enumName:s,suppliedType:l}),l}return null}flowEnumBody(s,l){let g=l.name,w=l.loc.start,U=this.flowEnumParseExplicitType({enumName:g});this.expect(5);let{members:q,hasUnknownMembers:oe}=this.flowEnumMembers({enumName:g,explicitType:U});switch(s.hasUnknownMembers=oe,U){case"boolean":return s.explicitType=!0,s.members=q.booleanMembers,this.expect(8),this.finishNode(s,"EnumBooleanBody");case"number":return s.explicitType=!0,s.members=q.numberMembers,this.expect(8),this.finishNode(s,"EnumNumberBody");case"string":return s.explicitType=!0,s.members=this.flowEnumStringMembers(q.stringMembers,q.defaultedMembers,{enumName:g}),this.expect(8),this.finishNode(s,"EnumStringBody");case"symbol":return s.members=q.defaultedMembers,this.expect(8),this.finishNode(s,"EnumSymbolBody");default:{let ce=()=>(s.members=[],this.expect(8),this.finishNode(s,"EnumStringBody"));s.explicitType=!1;let ve=q.booleanMembers.length,Ie=q.numberMembers.length,We=q.stringMembers.length,Qe=q.defaultedMembers.length;if(ve||Ie||We||Qe){if(ve||Ie){if(!Ie&&!We&&ve>=Qe){for(let qe of q.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(qe.loc.start,{enumName:g,memberName:qe.id.name});return s.members=q.booleanMembers,this.expect(8),this.finishNode(s,"EnumBooleanBody")}if(!ve&&!We&&Ie>=Qe){for(let qe of q.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(qe.loc.start,{enumName:g,memberName:qe.id.name});return s.members=q.numberMembers,this.expect(8),this.finishNode(s,"EnumNumberBody")}return this.raise(tt.EnumInconsistentMemberValues,{at:w},g),ce()}return s.members=this.flowEnumStringMembers(q.stringMembers,q.defaultedMembers,{enumName:g}),this.expect(8),this.finishNode(s,"EnumStringBody")}return ce()}}}flowParseEnumDeclaration(s){let l=this.parseIdentifier();return s.id=l,s.body=this.flowEnumBody(this.startNode(),l),this.finishNode(s,"EnumDeclaration")}isLookaheadToken_lt(){let s=this.nextTokenStart();if(this.input.charCodeAt(s)===60){let l=this.input.charCodeAt(s+1);return l!==60&&l!==61}return!1}maybeUnwrapTypeCastExpression(s){return s.type==="TypeCastExpression"?s.expression:s}},typescript:Ee=>class extends Ee{getScopeHandler(){return Mr}tsIsIdentifier(){return D(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(51)||this.match(21)||this.match(130)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(s,l){if(!D(this.state.type))return;let g=this.state.value;if(s.indexOf(g)!==-1){if(l&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return g}}tsParseModifiers(s,l,g,w,U){let q=(ce,ve,Ie,We)=>{ve===Ie&&s[We]&&this.raise(Ge.InvalidModifiersOrder,{at:ce},Ie,We)},oe=(ce,ve,Ie,We)=>{(s[Ie]&&ve===We||s[We]&&ve===Ie)&&this.raise(Ge.IncompatibleModifiers,{at:ce},Ie,We)};for(;;){let{startLoc:ce}=this.state,ve=this.tsParseModifier(l.concat(_nullishCoalesce(g, () => ([]))),U);if(!ve)break;fn(ve)?s.accessibility?this.raise(Ge.DuplicateAccessibilityModifier,{at:ce}):(q(ce,ve,ve,"override"),q(ce,ve,ve,"static"),q(ce,ve,ve,"readonly"),s.accessibility=ve):(Object.hasOwnProperty.call(s,ve)?this.raise(Ge.DuplicateModifier,{at:ce},ve):(q(ce,ve,"static","readonly"),q(ce,ve,"static","override"),q(ce,ve,"override","readonly"),q(ce,ve,"abstract","override"),oe(ce,ve,"declare","override"),oe(ce,ve,"static","abstract")),s[ve]=!0),g!=null&&g.includes(ve)&&this.raise(w,{at:ce},ve)}}tsIsListTerminator(s){switch(s){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(46)}throw new Error("Unreachable")}tsParseList(s,l){let g=[];for(;!this.tsIsListTerminator(s);)g.push(l());return g}tsParseDelimitedList(s,l,g){return function(w){if(w==null)throw new Error(`Unexpected ${w} value.`);return w}(this.tsParseDelimitedListWorker(s,l,!0,g))}tsParseDelimitedListWorker(s,l,g,w){let U=[],q=-1;for(;!this.tsIsListTerminator(s);){q=-1;let oe=l();if(oe==null)return;if(U.push(oe),!this.eat(12)){if(this.tsIsListTerminator(s))break;return void(g&&this.expect(12))}q=this.state.lastTokStart}return w&&(w.value=q),U}tsParseBracketedList(s,l,g,w,U){w||(g?this.expect(0):this.expect(45));let q=this.tsParseDelimitedList(s,l,U);return g?this.expect(3):this.expect(46),q}tsParseImportType(){let s=this.startNode();return this.expect(79),this.expect(10),this.match(125)||this.raise(Ge.UnsupportedImportTypeArgument,{at:this.state.startLoc}),s.argument=this.parseExprAtom(),this.expect(11),this.eat(16)&&(s.qualifier=this.tsParseEntityName(!0)),this.match(45)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSImportType")}tsParseEntityName(s){let l=this.parseIdentifier();for(;this.eat(16);){let g=this.startNodeAtNode(l);g.left=l,g.right=this.parseIdentifier(s),l=this.finishNode(g,"TSQualifiedName")}return l}tsParseTypeReference(){let s=this.startNode();return s.typeName=this.tsParseEntityName(!1),!this.hasPrecedingLineBreak()&&this.match(45)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSTypeReference")}tsParseThisTypePredicate(s){this.next();let l=this.startNodeAtNode(s);return l.parameterName=s,l.typeAnnotation=this.tsParseTypeAnnotation(!1),l.asserts=!1,this.finishNode(l,"TSTypePredicate")}tsParseThisTypeNode(){let s=this.startNode();return this.next(),this.finishNode(s,"TSThisType")}tsParseTypeQuery(){let s=this.startNode();return this.expect(83),this.match(79)?s.exprName=this.tsParseImportType():s.exprName=this.tsParseEntityName(!0),this.finishNode(s,"TSTypeQuery")}tsParseTypeParameter(){let s=this.startNode();return s.name=this.tsParseTypeParameterName(),s.constraint=this.tsEatThenParseType(77),s.default=this.tsEatThenParseType(29),this.finishNode(s,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.match(45))return this.tsParseTypeParameters()}tsParseTypeParameters(){let s=this.startNode();this.match(45)||this.match(134)?this.next():this.unexpected();let l={value:-1};return s.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),!1,!0,l),s.params.length===0&&this.raise(Ge.EmptyTypeParameters,{node:s}),l.value!==-1&&this.addExtra(s,"trailingComma",l.value),this.finishNode(s,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){return this.lookahead().type===71?(this.next(),this.tsParseTypeReference()):null}tsFillSignature(s,l){let g=s===19;l.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),l.parameters=this.tsParseBindingListForSignature(),(g||this.match(s))&&(l.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(s))}tsParseBindingListForSignature(){return this.parseBindingList(11,41).map(s=>(s.type!=="Identifier"&&s.type!=="RestElement"&&s.type!=="ObjectPattern"&&s.type!=="ArrayPattern"&&this.raise(Ge.UnsupportedSignatureParameterKind,{node:s},s.type),s))}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(s,l){return this.tsFillSignature(14,l),this.tsParseTypeMemberSemicolon(),this.finishNode(l,s)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!D(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(s){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);let l=this.parseIdentifier();l.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(l),this.expect(3),s.parameters=[l];let g=this.tsTryParseTypeAnnotation();return g&&(s.typeAnnotation=g),this.tsParseTypeMemberSemicolon(),this.finishNode(s,"TSIndexSignature")}tsParsePropertyOrMethodSignature(s,l){this.eat(17)&&(s.optional=!0);let g=s;if(this.match(10)||this.match(45)){l&&this.raise(Ge.ReadonlyForMethodSignature,{node:s});let w=g;w.kind&&this.match(45)&&this.raise(Ge.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,w),this.tsParseTypeMemberSemicolon();let U="parameters",q="typeAnnotation";if(w.kind==="get")w[U].length>0&&(this.raise(h.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(w[U][0])&&this.raise(Ge.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(w.kind==="set"){if(w[U].length!==1)this.raise(h.BadSetterArity,{at:this.state.curPosition()});else{let oe=w[U][0];this.isThisParam(oe)&&this.raise(Ge.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),oe.type==="Identifier"&&oe.optional&&this.raise(Ge.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),oe.type==="RestElement"&&this.raise(Ge.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}w[q]&&this.raise(Ge.SetAccesorCannotHaveReturnType,{node:w[q]})}else w.kind="method";return this.finishNode(w,"TSMethodSignature")}{let w=g;l&&(w.readonly=!0);let U=this.tsTryParseTypeAnnotation();return U&&(w.typeAnnotation=U),this.tsParseTypeMemberSemicolon(),this.finishNode(w,"TSPropertySignature")}}tsParseTypeMember(){let s=this.startNode();if(this.match(10)||this.match(45))return this.tsParseSignatureMember("TSCallSignatureDeclaration",s);if(this.match(73)){let g=this.startNode();return this.next(),this.match(10)||this.match(45)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",s):(s.key=this.createIdentifier(g,"new"),this.tsParsePropertyOrMethodSignature(s,!1))}return this.tsParseModifiers(s,["readonly"],["declare","abstract","private","protected","public","static","override"],Ge.InvalidModifierOnTypeMember),this.tsTryParseIndexSignature(s)||(this.parsePropertyName(s),s.computed||s.key.type!=="Identifier"||s.key.name!=="get"&&s.key.name!=="set"||!this.tsTokenCanFollowModifier()||(s.kind=s.key.name,this.parsePropertyName(s)),this.tsParsePropertyOrMethodSignature(s,!!s.readonly))}tsParseTypeLiteral(){let s=this.startNode();return s.members=this.tsParseObjectTypeMembers(),this.finishNode(s,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let s=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),s}tsIsStartOfMappedType(){return this.next(),this.eat(49)?this.isContextual(114):(this.isContextual(114)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(54))))}tsParseMappedTypeParameter(){let s=this.startNode();return s.name=this.tsParseTypeParameterName(),s.constraint=this.tsExpectThenParseType(54),this.finishNode(s,"TSTypeParameter")}tsParseMappedType(){let s=this.startNode();return this.expect(5),this.match(49)?(s.readonly=this.state.value,this.next(),this.expectContextual(114)):this.eatContextual(114)&&(s.readonly=!0),this.expect(0),s.typeParameter=this.tsParseMappedTypeParameter(),s.nameType=this.eatContextual(89)?this.tsParseType():null,this.expect(3),this.match(49)?(s.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(s.optional=!0),s.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(s,"TSMappedType")}tsParseTupleType(){let s=this.startNode();s.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let l=!1,g=null;return s.elementTypes.forEach(w=>{var U;let{type:q}=w;!l||q==="TSRestType"||q==="TSOptionalType"||q==="TSNamedTupleMember"&&w.optional||this.raise(Ge.OptionalTypeBeforeRequired,{node:w}),l=l||q==="TSNamedTupleMember"&&w.optional||q==="TSOptionalType",q==="TSRestType"&&(q=(w=w.typeAnnotation).type);let oe=q==="TSNamedTupleMember";g=(U=g)!=null?U:oe,g!==oe&&this.raise(Ge.MixedLabeledAndUnlabeledElements,{node:w})}),this.finishNode(s,"TSTupleType")}tsParseTupleElementType(){let{start:s,startLoc:l}=this.state,g=this.eat(21),w=this.tsParseType(),U=this.eat(17);if(this.eat(14)){let q=this.startNodeAtNode(w);q.optional=U,w.type!=="TSTypeReference"||w.typeParameters||w.typeName.type!=="Identifier"?(this.raise(Ge.InvalidTupleMemberLabel,{node:w}),q.label=w):q.label=w.typeName,q.elementType=this.tsParseType(),w=this.finishNode(q,"TSNamedTupleMember")}else if(U){let q=this.startNodeAtNode(w);q.typeAnnotation=w,w=this.finishNode(q,"TSOptionalType")}if(g){let q=this.startNodeAt(s,l);q.typeAnnotation=w,w=this.finishNode(q,"TSRestType")}return w}tsParseParenthesizedType(){let s=this.startNode();return this.expect(10),s.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(s,"TSParenthesizedType")}tsParseFunctionOrConstructorType(s,l){let g=this.startNode();return s==="TSConstructorType"&&(g.abstract=!!l,l&&this.next(),this.next()),this.tsFillSignature(19,g),this.finishNode(g,s)}tsParseLiteralTypeNode(){let s=this.startNode();return s.literal=(()=>{switch(this.state.type){case 126:case 127:case 125:case 81:case 82:return this.parseExprAtom();default:throw this.unexpected()}})(),this.finishNode(s,"TSLiteralType")}tsParseTemplateLiteralType(){let s=this.startNode();return s.literal=this.parseTemplate(!1),this.finishNode(s,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let s=this.tsParseThisTypeNode();return this.isContextual(109)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(s):s}tsParseNonArrayType(){switch(this.state.type){case 125:case 126:case 127:case 81:case 82:return this.tsParseLiteralTypeNode();case 49:if(this.state.value==="-"){let s=this.startNode(),l=this.lookahead();if(l.type!==126&&l.type!==127)throw this.unexpected();return s.literal=this.parseMaybeUnary(),this.finishNode(s,"TSLiteralType")}break;case 74:return this.tsParseThisTypeOrThisTypePredicate();case 83:return this.tsParseTypeQuery();case 79:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:s}=this.state;if(D(s)||s===84||s===80){let l=s===84?"TSVoidKeyword":s===80?"TSNullKeyword":function(g){switch(g){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.state.value);if(l!==void 0&&this.lookaheadCharCode()!==46){let g=this.startNode();return this.next(),this.finishNode(g,l)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let s=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let l=this.startNodeAtNode(s);l.elementType=s,this.expect(3),s=this.finishNode(l,"TSArrayType")}else{let l=this.startNodeAtNode(s);l.objectType=s,l.indexType=this.tsParseType(),this.expect(3),s=this.finishNode(l,"TSIndexedAccessType")}return s}tsParseTypeOperator(){let s=this.startNode(),l=this.state.value;return this.next(),s.operator=l,s.typeAnnotation=this.tsParseTypeOperatorOrHigher(),l==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(s),this.finishNode(s,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(s){switch(s.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Ge.UnexpectedReadonly,{node:s})}}tsParseInferType(){let s=this.startNode();this.expectContextual(108);let l=this.startNode();return l.name=this.tsParseTypeParameterName(),s.typeParameter=this.finishNode(l,"TSTypeParameter"),this.finishNode(s,"TSInferType")}tsParseTypeOperatorOrHigher(){var s;return(s=this.state.type)>=113&&s<=115&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(108)?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(s,l,g){let w=this.startNode(),U=this.eat(g),q=[];do q.push(l());while(this.eat(g));return q.length!==1||U?(w.types=q,this.finishNode(w,s)):q[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),43)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),41)}tsIsStartOfFunctionType(){return!!this.match(45)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(D(this.state.type)||this.match(74))return this.next(),!0;if(this.match(5)){let s=1;for(this.next();s>0;)this.match(5)?++s:this.match(8)&&--s,this.next();return!0}if(this.match(0)){let s=1;for(this.next();s>0;)this.match(0)?++s:this.match(3)&&--s,this.next();return!0}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(s){return this.tsInType(()=>{let l=this.startNode();this.expect(s);let g=this.startNode(),w=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(w&&this.match(74)){let oe=this.tsParseThisTypeOrThisTypePredicate();return oe.type==="TSThisType"?(g.parameterName=oe,g.asserts=!0,g.typeAnnotation=null,oe=this.finishNode(g,"TSTypePredicate")):(this.resetStartLocationFromNode(oe,g),oe.asserts=!0),l.typeAnnotation=oe,this.finishNode(l,"TSTypeAnnotation")}let U=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!U)return w?(g.parameterName=this.parseIdentifier(),g.asserts=w,g.typeAnnotation=null,l.typeAnnotation=this.finishNode(g,"TSTypePredicate"),this.finishNode(l,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,l);let q=this.tsParseTypeAnnotation(!1);return g.parameterName=U,g.typeAnnotation=q,g.asserts=w,l.typeAnnotation=this.finishNode(g,"TSTypePredicate"),this.finishNode(l,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let s=this.parseIdentifier();if(this.isContextual(109)&&!this.hasPrecedingLineBreak())return this.next(),s}tsParseTypePredicateAsserts(){if(this.state.type!==102)return!1;let s=this.state.containsEsc;return this.next(),!(!D(this.state.type)&&!this.match(74))&&(s&&this.raise(h.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc},"asserts"),!0)}tsParseTypeAnnotation(s=!0,l=this.startNode()){return this.tsInType(()=>{s&&this.expect(14),l.typeAnnotation=this.tsParseType()}),this.finishNode(l,"TSTypeAnnotation")}tsParseType(){Br(this.state.inType);let s=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(77))return s;let l=this.startNodeAtNode(s);return l.checkType=s,l.extendsType=this.tsParseNonConditionalType(),this.expect(17),l.trueType=this.tsParseType(),this.expect(14),l.falseType=this.tsParseType(),this.finishNode(l,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(116)&&this.lookahead().type===73}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(73)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Ge.ReservedTypeAssertion,{at:this.state.startLoc});let s=this.startNode(),l=this.tsTryNextParseConstantContext();return s.typeAnnotation=l||this.tsNextThenParseType(),this.expect(46),s.expression=this.parseMaybeUnary(),this.finishNode(s,"TSTypeAssertion")}tsParseHeritageClause(s){let l=this.state.startLoc,g=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));return g.length||this.raise(Ge.EmptyHeritageClauseType,{at:l},s),g}tsParseExpressionWithTypeArguments(){let s=this.startNode();return s.expression=this.tsParseEntityName(!1),this.match(45)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(s){D(this.state.type)?(s.id=this.parseIdentifier(),this.checkLVal(s.id,"typescript interface declaration",130)):(s.id=null,this.raise(Ge.MissingInterfaceName,{at:this.state.startLoc})),s.typeParameters=this.tsTryParseTypeParameters(),this.eat(77)&&(s.extends=this.tsParseHeritageClause("extends"));let l=this.startNode();return l.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),s.body=this.finishNode(l,"TSInterfaceBody"),this.finishNode(s,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(s){return s.id=this.parseIdentifier(),this.checkLVal(s.id,"typescript type alias",2),s.typeParameters=this.tsTryParseTypeParameters(),s.typeAnnotation=this.tsInType(()=>{if(this.expect(29),this.isContextual(107)&&this.lookahead().type!==16){let l=this.startNode();return this.next(),this.finishNode(l,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(s,"TSTypeAliasDeclaration")}tsInNoContext(s){let l=this.state.context;this.state.context=[l[0]];try{return s()}finally{this.state.context=l}}tsInType(s){let l=this.state.inType;this.state.inType=!0;try{return s()}finally{this.state.inType=l}}tsEatThenParseType(s){return this.match(s)?this.tsNextThenParseType():void 0}tsExpectThenParseType(s){return this.tsDoThenParseType(()=>this.expect(s))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(s){return this.tsInType(()=>(s(),this.tsParseType()))}tsParseEnumMember(){let s=this.startNode();return s.id=this.match(125)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(29)&&(s.initializer=this.parseMaybeAssignAllowIn()),this.finishNode(s,"TSEnumMember")}tsParseEnumDeclaration(s,l){return l&&(s.const=!0),s.id=this.parseIdentifier(),this.checkLVal(s.id,"typescript enum declaration",l?779:267),this.expect(5),s.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(s,"TSEnumDeclaration")}tsParseModuleBlock(){let s=this.startNode();return this.scope.enter(0),this.expect(5),this.parseBlockOrModuleBlockBody(s.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(s,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(s,l=!1){if(s.id=this.parseIdentifier(),l||this.checkLVal(s.id,"module or namespace declaration",1024),this.eat(16)){let g=this.startNode();this.tsParseModuleOrNamespaceDeclaration(g,!0),s.body=g}else this.scope.enter(256),this.prodParam.enter(0),s.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(s,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(s){return this.isContextual(105)?(s.global=!0,s.id=this.parseIdentifier()):this.match(125)?s.id=this.parseExprAtom():this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),s.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(s,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(s,l){s.isExport=l||!1,s.id=this.parseIdentifier(),this.checkLVal(s.id,"import equals declaration",9),this.expect(29);let g=this.tsParseModuleReference();return s.importKind==="type"&&g.type!=="TSExternalModuleReference"&&this.raise(Ge.ImportAliasHasImportType,{node:g}),s.moduleReference=g,this.semicolon(),this.finishNode(s,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(112)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let s=this.startNode();if(this.expectContextual(112),this.expect(10),!this.match(125))throw this.unexpected();return s.expression=this.parseExprAtom(),this.expect(11),this.finishNode(s,"TSExternalModuleReference")}tsLookAhead(s){let l=this.state.clone(),g=s();return this.state=l,g}tsTryParseAndCatch(s){let l=this.tryParse(g=>s()||g());if(!l.aborted&&l.node)return l.error&&(this.state=l.failState),l.node}tsTryParse(s){let l=this.state.clone(),g=s();return g!==void 0&&g!==!1?g:void(this.state=l)}tsTryParseDeclare(s){if(this.isLineTerminator())return;let l,g=this.state.type;return this.isContextual(95)&&(g=70,l="let"),this.tsInAmbientContext(()=>{switch(g){case 64:return s.declare=!0,this.parseFunctionStatement(s,!1,!0);case 76:return s.declare=!0,this.parseClass(s,!0,!1);case 71:if(this.match(71)&&this.isLookaheadContextual("enum"))return this.expect(71),this.expectContextual(118),this.tsParseEnumDeclaration(s,!0);case 70:return l=l||this.state.value,this.parseVarStatement(s,l);case 105:return this.tsParseAmbientExternalModuleDeclaration(s);default:if(D(g))return this.tsParseDeclaration(s,this.state.value,!0)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}tsParseExpressionStatement(s,l){switch(l.name){case"declare":{let g=this.tsTryParseDeclare(s);if(g)return g.declare=!0,g;break}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let g=s;return g.global=!0,g.id=l,g.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(g,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(s,l.name,!1)}}tsParseDeclaration(s,l,g){switch(l){case"abstract":if(this.tsCheckLineTerminator(g)&&(this.match(76)||D(this.state.type)))return this.tsParseAbstractDeclaration(s);break;case"enum":if(g||D(this.state.type))return g&&this.next(),this.tsParseEnumDeclaration(s,!1);break;case"interface":if(this.tsCheckLineTerminator(g)&&D(this.state.type))return this.tsParseInterfaceDeclaration(s);break;case"module":if(this.tsCheckLineTerminator(g)){if(this.match(125))return this.tsParseAmbientExternalModuleDeclaration(s);if(D(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(s)}break;case"namespace":if(this.tsCheckLineTerminator(g)&&D(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(s);break;case"type":if(this.tsCheckLineTerminator(g)&&D(this.state.type))return this.tsParseTypeAliasDeclaration(s)}}tsCheckLineTerminator(s){return s?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(s,l){if(!this.match(45))return;let g=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let w=this.tsTryParseAndCatch(()=>{let U=this.startNodeAt(s,l);return U.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams(U),U.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),U});return this.state.maybeInArrowParameters=g,w?this.parseArrowExpression(w,null,!0):void 0}tsParseTypeArguments(){let s=this.startNode();return s.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(45),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),s.params.length===0&&this.raise(Ge.EmptyTypeArguments,{node:s}),this.expect(46),this.finishNode(s,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(s=this.state.type)>=116&&s<=122;var s}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(s,l){let g=this.state.start,w=this.state.startLoc,U,q=!1,oe=!1;if(s!==void 0){let Ie={};this.tsParseModifiers(Ie,["public","private","protected","override","readonly"]),U=Ie.accessibility,oe=Ie.override,q=Ie.readonly,s===!1&&(U||q||oe)&&this.raise(Ge.UnexpectedParameterModifier,{at:w})}let ce=this.parseMaybeDefault();this.parseAssignableListItemTypes(ce);let ve=this.parseMaybeDefault(ce.start,ce.loc.start,ce);if(U||q||oe){let Ie=this.startNodeAt(g,w);return l.length&&(Ie.decorators=l),U&&(Ie.accessibility=U),q&&(Ie.readonly=q),oe&&(Ie.override=oe),ve.type!=="Identifier"&&ve.type!=="AssignmentPattern"&&this.raise(Ge.UnsupportedParameterPropertyKind,{node:Ie}),Ie.parameter=ve,this.finishNode(Ie,"TSParameterProperty")}return l.length&&(ce.decorators=l),ve}parseFunctionBodyAndFinish(s,l,g=!1){this.match(14)&&(s.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let w=l==="FunctionDeclaration"?"TSDeclareFunction":l==="ClassMethod"||l==="ClassPrivateMethod"?"TSDeclareMethod":void 0;w&&!this.match(5)&&this.isLineTerminator()?this.finishNode(s,w):w==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(Ge.DeclareFunctionHasImplementation,{node:s}),s.declare)?super.parseFunctionBodyAndFinish(s,w,g):super.parseFunctionBodyAndFinish(s,l,g)}registerFunctionStatementId(s){!s.body&&s.id?this.checkLVal(s.id,"function name",1024):super.registerFunctionStatementId(...arguments)}tsCheckForInvalidTypeCasts(s){s.forEach(l=>{(l==null?void 0:l.type)==="TSTypeCastExpression"&&this.raise(Ge.UnexpectedTypeAnnotation,{node:l.typeAnnotation})})}toReferencedList(s,l){return this.tsCheckForInvalidTypeCasts(s),s}parseArrayLike(...s){let l=super.parseArrayLike(...s);return l.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(l.elements),l}parseSubscript(s,l,g,w,U){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let oe=this.startNodeAt(l,g);return oe.expression=s,this.finishNode(oe,"TSNonNullExpression")}let q=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(w)return U.stop=!0,s;U.optionalChainMember=q=!0,this.next()}if(this.match(45)){let oe,ce=this.tsTryParseAndCatch(()=>{if(!w&&this.atPossibleAsyncArrow(s)){let We=this.tsTryParseGenericAsyncArrowFunction(l,g);if(We)return We}let ve=this.startNodeAt(l,g);ve.callee=s;let Ie=this.tsParseTypeArguments();if(Ie){if(q&&!this.match(10)&&(oe=this.state.curPosition(),this.unexpected()),!w&&this.eat(10))return ve.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(ve.arguments),ve.typeParameters=Ie,U.optionalChainMember&&(ve.optional=q),this.finishCallExpression(ve,U.optionalChainMember);if(ae(this.state.type)){let We=this.parseTaggedTemplateExpression(s,l,g,U);return We.typeParameters=Ie,We}}this.unexpected()});if(oe&&this.unexpected(oe,10),ce)return ce}return super.parseSubscript(s,l,g,w,U)}parseNewArguments(s){if(this.match(45)){let l=this.tsTryParseAndCatch(()=>{let g=this.tsParseTypeArguments();return this.match(10)||this.unexpected(),g});l&&(s.typeParameters=l)}super.parseNewArguments(s)}parseExprOp(s,l,g,w){if(re(54)>w&&!this.hasPrecedingLineBreak()&&this.isContextual(89)){let U=this.startNodeAt(l,g);U.expression=s;let q=this.tsTryNextParseConstantContext();return U.typeAnnotation=q||this.tsNextThenParseType(),this.finishNode(U,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(U,l,g,w)}return super.parseExprOp(s,l,g,w)}checkReservedWord(s,l,g,w){}checkDuplicateExports(){}parseImport(s){if(s.importKind="value",D(this.state.type)||this.match(51)||this.match(5)){let g=this.lookahead();if(this.isContextual(122)&&g.type!==12&&g.type!==93&&g.type!==29&&(s.importKind="type",this.next(),g=this.lookahead()),D(this.state.type)&&g.type===29)return this.tsParseImportEqualsDeclaration(s)}let l=super.parseImport(s);return l.importKind==="type"&&l.specifiers.length>1&&l.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(Ge.TypeImportCannotSpecifyDefaultAndNamed,{node:l}),l}parseExport(s){if(this.match(79))return this.next(),this.isContextual(122)&&this.lookaheadCharCode()!==61?(s.importKind="type",this.next()):s.importKind="value",this.tsParseImportEqualsDeclaration(s,!0);if(this.eat(29)){let l=s;return l.expression=this.parseExpression(),this.semicolon(),this.finishNode(l,"TSExportAssignment")}if(this.eatContextual(89)){let l=s;return this.expectContextual(120),l.id=this.parseIdentifier(),this.semicolon(),this.finishNode(l,"TSNamespaceExportDeclaration")}return this.isContextual(122)&&this.lookahead().type===5?(this.next(),s.exportKind="type"):s.exportKind="value",super.parseExport(s)}isAbstractClass(){return this.isContextual(116)&&this.lookahead().type===76}parseExportDefaultExpression(){if(this.isAbstractClass()){let s=this.startNode();return this.next(),s.abstract=!0,this.parseClass(s,!0,!0),s}if(this.match(121)){let s=this.startNode();this.next();let l=this.tsParseInterfaceDeclaration(s);if(l)return l}return super.parseExportDefaultExpression()}parseStatementContent(s,l){if(this.state.type===71&&this.lookahead().type===118){let g=this.startNode();return this.next(),this.expectContextual(118),this.tsParseEnumDeclaration(g,!0)}return super.parseStatementContent(s,l)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(s,l){return l.some(g=>fn(g)?s.accessibility===g:!!s[g])}tsIsStartOfStaticBlocks(){return this.isContextual(100)&&this.lookaheadCharCode()===123}parseClassMember(s,l,g){let w=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers(l,w,void 0,void 0,!0);let U=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(l,w)&&this.raise(Ge.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),this.parseClassStaticBlock(s,l)):this.parseClassMemberWithIsStatic(s,l,g,!!l.static)};l.declare?this.tsInAmbientContext(U):U()}parseClassMemberWithIsStatic(s,l,g,w){let U=this.tsTryParseIndexSignature(l);if(U)return s.body.push(U),l.abstract&&this.raise(Ge.IndexSignatureHasAbstract,{node:l}),l.accessibility&&this.raise(Ge.IndexSignatureHasAccessibility,{node:l},l.accessibility),l.declare&&this.raise(Ge.IndexSignatureHasDeclare,{node:l}),void(l.override&&this.raise(Ge.IndexSignatureHasOverride,{node:l}));!this.state.inAbstractClass&&l.abstract&&this.raise(Ge.NonAbstractClassHasAbstractMethod,{node:l}),l.override&&(g.hadSuperClass||this.raise(Ge.OverrideNotInSubClass,{node:l})),super.parseClassMemberWithIsStatic(s,l,g,w)}parsePostMemberNameModifiers(s){this.eat(17)&&(s.optional=!0),s.readonly&&this.match(10)&&this.raise(Ge.ClassMethodHasReadonly,{node:s}),s.declare&&this.match(10)&&this.raise(Ge.ClassMethodHasDeclare,{node:s})}parseExpressionStatement(s,l){return(l.type==="Identifier"?this.tsParseExpressionStatement(s,l):void 0)||super.parseExpressionStatement(s,l)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(s,l,g,w){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(s,l,g,w);let U=this.tryParse(()=>super.parseConditional(s,l,g));return U.node?(U.error&&(this.state=U.failState),U.node):(U.error&&super.setOptionalParametersError(w,U.error),s)}parseParenItem(s,l,g){if(s=super.parseParenItem(s,l,g),this.eat(17)&&(s.optional=!0,this.resetEndLocation(s)),this.match(14)){let w=this.startNodeAt(l,g);return w.expression=s,w.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(w,"TSTypeCastExpression")}return s}parseExportDeclaration(s){let l=this.state.start,g=this.state.startLoc,w=this.eatContextual(117);if(w&&(this.isContextual(117)||!this.shouldParseExportDeclaration()))throw this.raise(Ge.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let U;return D(this.state.type)&&(U=this.tsTryParseExportDeclaration()),U||(U=super.parseExportDeclaration(s)),U&&(U.type==="TSInterfaceDeclaration"||U.type==="TSTypeAliasDeclaration"||w)&&(s.exportKind="type"),U&&w&&(this.resetStartLocation(U,l,g),U.declare=!0),U}parseClassId(s,l,g){if((!l||g)&&this.isContextual(106))return;super.parseClassId(s,l,g,s.declare?1024:139);let w=this.tsTryParseTypeParameters();w&&(s.typeParameters=w)}parseClassPropertyAnnotation(s){!s.optional&&this.eat(35)&&(s.definite=!0);let l=this.tsTryParseTypeAnnotation();l&&(s.typeAnnotation=l)}parseClassProperty(s){if(this.parseClassPropertyAnnotation(s),this.state.isAmbientContext&&this.match(29)&&this.raise(Ge.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),s.abstract&&this.match(29)){let{key:l}=s;this.raise(Ge.AbstractPropertyHasInitializer,{at:this.state.startLoc},l.type!=="Identifier"||s.computed?`[${this.input.slice(l.start,l.end)}]`:l.name)}return super.parseClassProperty(s)}parseClassPrivateProperty(s){return s.abstract&&this.raise(Ge.PrivateElementHasAbstract,{node:s}),s.accessibility&&this.raise(Ge.PrivateElementHasAccessibility,{node:s},s.accessibility),this.parseClassPropertyAnnotation(s),super.parseClassPrivateProperty(s)}pushClassMethod(s,l,g,w,U,q){let oe=this.tsTryParseTypeParameters();oe&&U&&this.raise(Ge.ConstructorHasTypeParameters,{node:oe}),!l.declare||l.kind!=="get"&&l.kind!=="set"||this.raise(Ge.DeclareAccessor,{node:l},l.kind),oe&&(l.typeParameters=oe),super.pushClassMethod(s,l,g,w,U,q)}pushClassPrivateMethod(s,l,g,w){let U=this.tsTryParseTypeParameters();U&&(l.typeParameters=U),super.pushClassPrivateMethod(s,l,g,w)}declareClassPrivateMethodInScope(s,l){s.type!=="TSDeclareMethod"&&(s.type!=="MethodDefinition"||s.value.body)&&super.declareClassPrivateMethodInScope(s,l)}parseClassSuper(s){super.parseClassSuper(s),s.superClass&&this.match(45)&&(s.superTypeParameters=this.tsParseTypeArguments()),this.eatContextual(106)&&(s.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(s,...l){let g=this.tsTryParseTypeParameters();g&&(s.typeParameters=g),super.parseObjPropValue(s,...l)}parseFunctionParams(s,l){let g=this.tsTryParseTypeParameters();g&&(s.typeParameters=g),super.parseFunctionParams(s,l)}parseVarId(s,l){super.parseVarId(s,l),s.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(s.definite=!0);let g=this.tsTryParseTypeAnnotation();g&&(s.id.typeAnnotation=g,this.resetEndLocation(s.id))}parseAsyncArrowFromCallExpression(s,l){return this.match(14)&&(s.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(s,l)}parseMaybeAssign(...s){var l,g,w,U,q,oe,ce;let ve,Ie,We,Qe;if(this.hasPlugin("jsx")&&(this.match(134)||this.match(45))){if(ve=this.state.clone(),Ie=this.tryParse(()=>super.parseMaybeAssign(...s),ve),!Ie.error)return Ie.node;let{context:yt}=this.state,it=yt[yt.length-1];it!==m.j_oTag&&it!==m.j_expr||yt.pop()}if(!((l=Ie)!=null&&l.error||this.match(45)))return super.parseMaybeAssign(...s);ve=ve||this.state.clone();let qe=this.tryParse(yt=>{var it,ht;Qe=this.tsParseTypeParameters();let Et=super.parseMaybeAssign(...s);return(Et.type!=="ArrowFunctionExpression"||(it=Et.extra)!=null&&it.parenthesized)&&yt(),((ht=Qe)==null?void 0:ht.params.length)!==0&&this.resetStartLocationFromNode(Et,Qe),Et.typeParameters=Qe,Et},ve);if(!qe.error&&!qe.aborted)return Qe&&this.reportReservedArrowTypeParam(Qe),qe.node;if(!Ie&&(Br(!this.hasPlugin("jsx")),We=this.tryParse(()=>super.parseMaybeAssign(...s),ve),!We.error))return We.node;if((g=Ie)!=null&&g.node)return this.state=Ie.failState,Ie.node;if(qe.node)return this.state=qe.failState,Qe&&this.reportReservedArrowTypeParam(Qe),qe.node;if((w=We)!=null&&w.node)return this.state=We.failState,We.node;throw(U=Ie)!=null&&U.thrown?Ie.error:qe.thrown?qe.error:(q=We)!=null&&q.thrown?We.error:((oe=Ie)==null?void 0:oe.error)||qe.error||((ce=We)==null?void 0:ce.error)}reportReservedArrowTypeParam(s){var l;s.params.length!==1||(l=s.extra)!=null&&l.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(Ge.ReservedArrowTypeParam,{node:s})}parseMaybeUnary(s){return!this.hasPlugin("jsx")&&this.match(45)?this.tsParseTypeAssertion():super.parseMaybeUnary(s)}parseArrow(s){if(this.match(14)){let l=this.tryParse(g=>{let w=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||g(),w});if(l.aborted)return;l.thrown||(l.error&&(this.state=l.failState),s.returnType=l.node)}return super.parseArrow(s)}parseAssignableListItemTypes(s){this.eat(17)&&(s.type==="Identifier"||this.state.isAmbientContext||this.state.inType||this.raise(Ge.PatternIsOptional,{node:s}),s.optional=!0);let l=this.tsTryParseTypeAnnotation();return l&&(s.typeAnnotation=l),this.resetEndLocation(s),s}isAssignable(s,l){switch(s.type){case"TSTypeCastExpression":return this.isAssignable(s.expression,l);case"TSParameterProperty":return!0;default:return super.isAssignable(s,l)}}toAssignable(s,l=!1){switch(s.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(s),l);case"TSParameterProperty":default:return super.toAssignable(s,l);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(s,l);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":return s.expression=this.toAssignable(s.expression,l),s}}toAssignableParenthesizedExpression(s,l){switch(s.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":return s.expression=this.toAssignable(s.expression,l),s;default:return super.toAssignable(s,l)}}checkLVal(s,l,...g){var w;switch(s.type){case"TSTypeCastExpression":return;case"TSParameterProperty":return void this.checkLVal(s.parameter,"parameter property",...g);case"TSAsExpression":case"TSTypeAssertion":if(!(g[0]||l==="parenthesized expression"||(w=s.extra)!=null&&w.parenthesized)){this.raise(h.InvalidLhs,{node:s},l);break}return void this.checkLVal(s.expression,"parenthesized expression",...g);case"TSNonNullExpression":return void this.checkLVal(s.expression,l,...g);default:return void super.checkLVal(s,l,...g)}}parseBindingAtom(){return this.state.type===74?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(s){if(this.match(45)){let l=this.tsParseTypeArguments();if(this.match(10)){let g=super.parseMaybeDecoratorArguments(s);return g.typeParameters=l,g}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(s)}checkCommaAfterRest(s){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===s?(this.next(),!1):super.checkCommaAfterRest(s)}isClassMethod(){return this.match(45)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(...s){let l=super.parseMaybeDefault(...s);return l.type==="AssignmentPattern"&&l.typeAnnotation&&l.right.start<l.typeAnnotation.start&&this.raise(Ge.TypeAnnotationAfterAssign,{node:l.typeAnnotation}),l}getTokenFromCode(s){if(this.state.inType){if(s===62)return this.finishOp(46,1);if(s===60)return this.finishOp(45,1)}return super.getTokenFromCode(s)}reScan_lt_gt(){let{type:s}=this.state;s===45?(this.state.pos-=1,this.readToken_lt()):s===46&&(this.state.pos-=1,this.readToken_gt())}toAssignableList(s){for(let l=0;l<s.length;l++){let g=s[l];if(g)switch(g.type){case"TSTypeCastExpression":s[l]=this.typeCastToParameter(g);break;case"TSAsExpression":case"TSTypeAssertion":this.state.maybeInArrowParameters?this.raise(Ge.UnexpectedTypeCastInParameter,{node:g}):s[l]=this.typeCastToParameter(g)}}return super.toAssignableList(...arguments)}typeCastToParameter(s){return s.expression.typeAnnotation=s.typeAnnotation,this.resetEndLocation(s.expression,s.typeAnnotation.loc.end),s.expression}shouldParseArrow(s){return this.match(14)?s.every(l=>this.isAssignable(l,!0)):super.shouldParseArrow(s)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(s){if(this.match(45)){let l=this.tsTryParseAndCatch(()=>this.tsParseTypeArguments());l&&(s.typeParameters=l)}return super.jsxParseOpeningElementAfterName(s)}getGetterSetterExpectedParamCount(s){let l=super.getGetterSetterExpectedParamCount(s),g=this.getObjectOrClassMethodParams(s)[0];return g&&this.isThisParam(g)?l+1:l}parseCatchClauseParam(){let s=super.parseCatchClauseParam(),l=this.tsTryParseTypeAnnotation();return l&&(s.typeAnnotation=l,this.resetEndLocation(s)),s}tsInAmbientContext(s){let l=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return s()}finally{this.state.isAmbientContext=l}}parseClass(s,...l){let g=this.state.inAbstractClass;this.state.inAbstractClass=!!s.abstract;try{return super.parseClass(s,...l)}finally{this.state.inAbstractClass=g}}tsParseAbstractDeclaration(s){if(this.match(76))return s.abstract=!0,this.parseClass(s,!0,!1);if(this.isContextual(121)){if(!this.hasFollowingLineBreak())return s.abstract=!0,this.raise(Ge.NonClassMethodPropertyHasAbstractModifer,{node:s}),this.next(),this.tsParseInterfaceDeclaration(s)}else this.unexpected(null,76)}parseMethod(...s){let l=super.parseMethod(...s);if(l.abstract&&(this.hasPlugin("estree")?!!l.value.body:!!l.body)){let{key:g}=l;this.raise(Ge.AbstractMethodHasImplementation,{node:l},g.type!=="Identifier"||l.computed?`[${this.input.slice(g.start,g.end)}]`:g.name)}return l}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(s,l,g,w){return!l&&w?(this.parseTypeOnlyImportExportSpecifier(s,!1,g),this.finishNode(s,"ExportSpecifier")):(s.exportKind="value",super.parseExportSpecifier(s,l,g,w))}parseImportSpecifier(s,l,g,w){return!l&&w?(this.parseTypeOnlyImportExportSpecifier(s,!0,g),this.finishNode(s,"ImportSpecifier")):(s.importKind="value",super.parseImportSpecifier(s,l,g,w))}parseTypeOnlyImportExportSpecifier(s,l,g){let w=l?"imported":"local",U=l?"local":"exported",q,oe=s[w],ce=!1,ve=!0,Ie=oe.loc.start;if(this.isContextual(89)){let We=this.parseIdentifier();if(this.isContextual(89)){let Qe=this.parseIdentifier();_(this.state.type)?(ce=!0,oe=We,q=this.parseIdentifier(),ve=!1):(q=Qe,ve=!1)}else _(this.state.type)?(ve=!1,q=this.parseIdentifier()):(ce=!0,oe=We)}else _(this.state.type)&&(ce=!0,oe=this.parseIdentifier());ce&&g&&this.raise(l?Ge.TypeModifierIsUsedInTypeImports:Ge.TypeModifierIsUsedInTypeExports,{at:Ie}),s[w]=oe,s[U]=q,s[l?"importKind":"exportKind"]=ce?"type":"value",ve&&this.eatContextual(89)&&(s[U]=l?this.parseIdentifier():this.parseModuleExportName()),s[U]||(s[U]=tr(s[w])),l&&this.checkLVal(s[U],"import specifier",9)}},v8intrinsic:Ee=>class extends Ee{parseV8Intrinsic(){if(this.match(50)){let s=this.state.startLoc,l=this.startNode();if(this.next(),D(this.state.type)){let g=this.parseIdentifierName(this.state.start),w=this.createIdentifier(l,g);if(w.type="V8IntrinsicIdentifier",this.match(10))return w}this.unexpected(s)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}},placeholders:Ee=>class extends Ee{parsePlaceholder(s){if(this.match(136)){let l=this.startNode();return this.next(),this.assertNoSpace("Unexpected space in placeholder."),l.name=super.parseIdentifier(!0),this.assertNoSpace("Unexpected space in placeholder."),this.expect(136),this.finishPlaceholder(l,s)}}finishPlaceholder(s,l){let g=!(!s.expectedNode||s.type!=="Placeholder");return s.expectedNode=l,g?s:this.finishNode(s,"Placeholder")}getTokenFromCode(s){return s===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(136,2):super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(s){s!==void 0&&super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(s){s.type!=="Placeholder"&&super.checkLVal(...arguments)}toAssignable(s){return s&&s.type==="Placeholder"&&s.expectedNode==="Expression"?(s.expectedNode="Pattern",s):super.toAssignable(...arguments)}isLet(s){return super.isLet(s)?!0:!this.isContextual(95)||s?!1:this.lookahead().type===136}verifyBreakContinue(s){s.label&&s.label.type==="Placeholder"||super.verifyBreakContinue(...arguments)}parseExpressionStatement(s,l){if(l.type!=="Placeholder"||l.extra&&l.extra.parenthesized)return super.parseExpressionStatement(...arguments);if(this.match(14)){let g=s;return g.label=this.finishPlaceholder(l,"Identifier"),this.next(),g.body=this.parseStatement("label"),this.finishNode(g,"LabeledStatement")}return this.semicolon(),s.name=l.name,this.finishPlaceholder(s,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(s,l,g){let w=l?"ClassDeclaration":"ClassExpression";this.next(),this.takeDecorators(s);let U=this.state.strict,q=this.parsePlaceholder("Identifier");if(q){if(!(this.match(77)||this.match(136)||this.match(5))){if(g||!l)return s.id=null,s.body=this.finishPlaceholder(q,"ClassBody"),this.finishNode(s,w);throw this.raise(jn.ClassNameIsRequired,{at:this.state.startLoc})}s.id=q}else this.parseClassId(s,l,g);return this.parseClassSuper(s),s.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!s.superClass,U),this.finishNode(s,w)}parseExport(s){let l=this.parsePlaceholder("Identifier");if(!l)return super.parseExport(...arguments);if(!this.isContextual(93)&&!this.match(12))return s.specifiers=[],s.source=null,s.declaration=this.finishPlaceholder(l,"Declaration"),this.finishNode(s,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let g=this.startNode();return g.exported=l,s.specifiers=[this.finishNode(g,"ExportDefaultSpecifier")],super.parseExport(s)}isExportDefaultSpecifier(){if(this.match(61)){let s=this.nextTokenStart();if(this.isUnparsedContextual(s,"from")&&this.input.startsWith(ne(136),this.nextTokenStartSince(s+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(s){return!!(s.specifiers&&s.specifiers.length>0)||super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(s){let{specifiers:l}=s;l!=null&&l.length&&(s.specifiers=l.filter(g=>g.exported.type==="Placeholder")),super.checkExport(s),s.specifiers=l}parseImport(s){let l=this.parsePlaceholder("Identifier");if(!l)return super.parseImport(...arguments);if(s.specifiers=[],!this.isContextual(93)&&!this.match(12))return s.source=this.finishPlaceholder(l,"StringLiteral"),this.semicolon(),this.finishNode(s,"ImportDeclaration");let g=this.startNodeAtNode(l);return g.local=l,this.finishNode(g,"ImportDefaultSpecifier"),s.specifiers.push(g),this.eat(12)&&(this.maybeParseStarImportSpecifier(s)||this.parseNamedImportSpecifiers(s)),this.expectContextual(93),s.source=this.parseImportSource(),this.semicolon(),this.finishNode(s,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}}},$r=Object.keys(br),nr={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0},zt=Ee=>Ee.type==="ParenthesizedExpression"?zt(Ee.expression):Ee,hn=new Map([["ArrowFunctionExpression","arrow function"],["AssignmentExpression","assignment"],["ConditionalExpression","conditional"],["YieldExpression","yield"]]),St={kind:"loop"},Bt={kind:"switch"},Ln=/[\uD800-\uDFFF]/u,jr=/in(?:stanceof)?/y;class Ur extends class extends class extends class extends class extends class extends class extends class extends class extends class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(s){if(typeof s=="string")return this.plugins.has(s);{let[l,g]=s;if(!this.hasPlugin(l))return!1;let w=this.plugins.get(l);for(let U of Object.keys(g))if((w==null?void 0:w[U])!==g[U])return!1;return!0}}getPluginOption(s,l){var g;return(g=this.plugins.get(s))==null?void 0:g[l]}}{addComment(s){this.filename&&(s.loc.filename=this.filename),this.state.comments.push(s)}processComment(s){let{commentStack:l}=this.state,g=l.length;if(g===0)return;let w=g-1,U=l[w];U.start===s.end&&(U.leadingNode=s,w--);let{start:q}=s;for(;w>=0;w--){let oe=l[w],ce=oe.end;if(!(ce>q)){ce===q&&(oe.trailingNode=s);break}oe.containingNode=s,this.finalizeComment(oe),l.splice(w,1)}}finalizeComment(s){let{comments:l}=s;if(s.leadingNode!==null||s.trailingNode!==null)s.leadingNode!==null&&i(s.leadingNode,l),s.trailingNode!==null&&function(g,w){g.leadingComments===void 0?g.leadingComments=w:g.leadingComments.unshift(...w)}(s.trailingNode,l);else{let{containingNode:g,start:w}=s;if(this.input.charCodeAt(w-1)===44)switch(g.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":u(g,g.properties,s);break;case"CallExpression":case"OptionalCallExpression":u(g,g.arguments,s);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":u(g,g.params,s);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":u(g,g.elements,s);break;case"ExportNamedDeclaration":case"ImportDeclaration":u(g,g.specifiers,s);break;default:a(g,l)}else a(g,l)}}finalizeRemainingComments(){let{commentStack:s}=this.state;for(let l=s.length-1;l>=0;l--)this.finalizeComment(s[l]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(s){let{commentStack:l}=this.state,{length:g}=l;if(g===0)return;let w=l[g-1];w.leadingNode===s&&(w.leadingNode=null)}takeSurroundingComments(s,l,g){let{commentStack:w}=this.state,U=w.length;if(U===0)return;let q=U-1;for(;q>=0;q--){let oe=w[q],ce=oe.end;if(oe.start===g)oe.leadingNode=s;else if(ce===l)oe.trailingNode=s;else if(ce<l)break}}}{raise({code:s,reasonCode:l,template:g},w,...U){return this.raiseWithData(w.node?w.node.loc.start:w.at,{code:s,reasonCode:l},g,...U)}raiseOverwrite(s,{code:l,template:g},...w){let U=t.get(s),q=g.replace(/%(\d+)/g,(oe,ce)=>w[ce])+` (${s.line}:${s.column})`;if(this.options.errorRecovery){let oe=this.state.errors;for(let ce=oe.length-1;ce>=0;ce--){let ve=oe[ce];if(ve.pos===U)return Object.assign(ve,{message:q});if(ve.pos<U)break}}return this._raise({code:l,loc:s,pos:U},q)}raiseWithData(s,l,g,...w){let U=t.get(s),q=g.replace(/%(\d+)/g,(oe,ce)=>w[ce])+` (${s.line}:${s.column})`;return this._raise(Object.assign({loc:s,pos:U},l),q)}_raise(s,l){let g=new SyntaxError(l);if(Object.assign(g,s),this.options.errorRecovery)return this.isLookahead||this.state.errors.push(g),g;throw g}}{constructor(s,l){super(),this.isLookahead=void 0,this.tokens=[],this.state=new _t,this.state.init(s),this.input=l,this.length=l.length,this.isLookahead=!1}pushToken(s){this.tokens.length=this.state.tokensLength,this.tokens.push(s),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Rt(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(s){return!!this.match(s)&&(this.next(),!0)}match(s){return this.state.type===s}createLookaheadState(s){return{pos:s.pos,value:null,type:s.type,start:s.start,end:s.end,context:[this.curContext()],inType:s.inType,startLoc:s.startLoc,lastTokEndLoc:s.lastTokEndLoc,curLine:s.curLine,lineStart:s.lineStart,curPosition:s.curPosition}}lookahead(){let s=this.state;this.state=this.createLookaheadState(s),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let l=this.state;return this.state=s,l}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(s){return ft.lastIndex=s,ft.test(this.input)?ft.lastIndex:s}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(s){let l=this.input.charCodeAt(s);if((64512&l)==55296&&++s<this.input.length){let g=this.input.charCodeAt(s);(64512&g)==56320&&(l=65536+((1023&l)<<10)+(1023&g))}return l}setStrict(s){this.state.strict=s,s&&(this.state.strictErrors.forEach(({message:l,loc:g})=>this.raise(l,{at:g})),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(131):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(){let s;this.isLookahead||(s=this.state.curPosition());let l=this.state.pos,g=this.input.indexOf("*/",l+2);if(g===-1)throw this.raise(h.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=g+2,pt.lastIndex=l+2;pt.test(this.input)&&pt.lastIndex<=g;)++this.state.curLine,this.state.lineStart=pt.lastIndex;if(this.isLookahead)return;let w={type:"CommentBlock",value:this.input.slice(l+2,g),start:l,end:g+2,loc:new n(s,this.state.curPosition())};return this.options.tokens&&this.pushToken(w),w}skipLineComment(s){let l=this.state.pos,g;this.isLookahead||(g=this.state.curPosition());let w=this.input.charCodeAt(this.state.pos+=s);if(this.state.pos<this.length)for(;!at(w)&&++this.state.pos<this.length;)w=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let U=this.state.pos,q={type:"CommentLine",value:this.input.slice(l+s,U),start:l,end:U,loc:new n(g,this.state.curPosition())};return this.options.tokens&&this.pushToken(q),q}skipSpace(){let s=this.state.pos,l=[];e:for(;this.state.pos<this.length;){let g=this.input.charCodeAt(this.state.pos);switch(g){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let w=this.skipBlockComment();w!==void 0&&(this.addComment(w),this.options.attachComment&&l.push(w));break}case 47:{let w=this.skipLineComment(2);w!==void 0&&(this.addComment(w),this.options.attachComment&&l.push(w));break}default:break e}break;default:if(gt(g))++this.state.pos;else if(g!==45||this.inModule){if(g!==60||this.inModule)break e;{let w=this.state.pos;if(this.input.charCodeAt(w+1)!==33||this.input.charCodeAt(w+2)!==45||this.input.charCodeAt(w+3)!==45)break e;{let U=this.skipLineComment(4);U!==void 0&&(this.addComment(U),this.options.attachComment&&l.push(U))}}}else{let w=this.state.pos;if(this.input.charCodeAt(w+1)!==45||this.input.charCodeAt(w+2)!==62||!(s===0||this.state.lineStart>s))break e;{let U=this.skipLineComment(3);U!==void 0&&(this.addComment(U),this.options.attachComment&&l.push(U))}}}}if(l.length>0){let g={start:s,end:this.state.pos,comments:l,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(g)}}finishToken(s,l){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let g=this.state.type;this.state.type=s,this.state.value=l,this.isLookahead||this.updateContext(g)}replaceToken(s){this.state.type=s,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let s=this.state.pos+1,l=this.codePointAtPos(s);if(l>=48&&l<=57)throw this.raise(h.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(l===123||l===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")!=="hash")throw this.raise(l===123?h.RecordExpressionHashIncorrectStartSyntaxType:h.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,l===123?this.finishToken(7):this.finishToken(1)}else xe(l)?(++this.state.pos,this.finishToken(130,this.readWord1(l))):l===92?(++this.state.pos,this.finishToken(130,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let s=this.input.charCodeAt(this.state.pos+1);s>=48&&s<=57?this.readNumber(!0):s===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(52,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let s=this.input.charCodeAt(this.state.pos+1);if(s!==33)return!1;let l=this.state.pos;for(this.state.pos+=1;!at(s)&&++this.state.pos<this.length;)s=this.input.charCodeAt(this.state.pos);let g=this.input.slice(l+2,this.state.pos);return this.finishToken(28,g),!0}readToken_mult_modulo(s){let l=s===42?51:50,g=1,w=this.input.charCodeAt(this.state.pos+1);s===42&&w===42&&(g++,w=this.input.charCodeAt(this.state.pos+2),l=53),w!==61||this.state.inType||(g++,l=s===37?33:30),this.finishOp(l,g)}readToken_pipe_amp(s){let l=this.input.charCodeAt(this.state.pos+1);if(l!==s){if(s===124){if(l===62)return void this.finishOp(37,2);if(this.hasPlugin("recordAndTuple")&&l===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(h.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&l===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(h.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(4)}}l!==61?this.finishOp(s===124?41:43,1):this.finishOp(30,2)}else this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(s===124?39:40,2)}readToken_caret(){this.input.charCodeAt(this.state.pos+1)!==61||this.state.inType?this.finishOp(42,1):this.finishOp(32,2)}readToken_plus_min(s){let l=this.input.charCodeAt(this.state.pos+1);l!==s?l===61?this.finishOp(30,2):this.finishOp(49,1):this.finishOp(34,2)}readToken_lt(){let{pos:s}=this.state,l=this.input.charCodeAt(s+1);if(l===60)return this.input.charCodeAt(s+2)===61?void this.finishOp(30,3):void this.finishOp(48,2);l!==61?this.finishOp(45,1):this.finishOp(47,2)}readToken_gt(){let{pos:s}=this.state,l=this.input.charCodeAt(s+1);if(l===62){let g=this.input.charCodeAt(s+2)===62?3:2;return this.input.charCodeAt(s+g)===61?void this.finishOp(30,g+1):void this.finishOp(48,g)}l!==61?this.finishOp(46,1):this.finishOp(47,2)}readToken_eq_excl(s){let l=this.input.charCodeAt(this.state.pos+1);if(l!==61)return s===61&&l===62?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(s===61?29:35,1);this.finishOp(44,this.input.charCodeAt(this.state.pos+2)===61?3:2)}readToken_question(){let s=this.input.charCodeAt(this.state.pos+1),l=this.input.charCodeAt(this.state.pos+2);s===63?l===61?this.finishOp(30,3):this.finishOp(38,2):s!==46||l>=48&&l<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(s){switch(s){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(h.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(h.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{let l=this.input.charCodeAt(this.state.pos+1);if(l===120||l===88)return void this.readRadixNumber(16);if(l===111||l===79)return void this.readRadixNumber(8);if(l===98||l===66)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(s);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(s);case 124:case 38:return void this.readToken_pipe_amp(s);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(s);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(s);case 126:return void this.finishOp(36,1);case 64:return++this.state.pos,void this.finishToken(26);case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(xe(s))return void this.readWord(s)}throw this.raise(h.InvalidOrUnexpectedToken,{at:this.state.curPosition()},String.fromCodePoint(s))}finishOp(s,l){let g=this.input.slice(this.state.pos,this.state.pos+l);this.state.pos+=l,this.finishToken(s,g)}readRegexp(){let s=this.state.startLoc,l=this.state.start+1,g,w,{pos:U}=this.state;for(;;++U){if(U>=this.length)throw this.raise(h.UnterminatedRegExp,{at:r(s,1)});let ce=this.input.charCodeAt(U);if(at(ce))throw this.raise(h.UnterminatedRegExp,{at:r(s,1)});if(g)g=!1;else{if(ce===91)w=!0;else if(ce===93&&w)w=!1;else if(ce===47&&!w)break;g=ce===92}}let q=this.input.slice(l,U);++U;let oe="";for(;U<this.length;){let ce=this.codePointAtPos(U),ve=String.fromCharCode(ce);if(Xe.has(ce))oe.includes(ve)&&this.raise(h.DuplicateRegExpFlags,{at:r(s,U+2-l)});else{if(!Re(ce)&&ce!==92)break;this.raise(h.MalformedRegExpFlags,{at:r(s,U+2-l)})}++U,oe+=ve}this.state.pos=U,this.finishToken(129,{pattern:q,flags:oe})}readInt(s,l,g,w=!0){let U=this.state.pos,q=s===16?kr.hex:kr.decBinOct,oe=s===16?jt.hex:s===10?jt.dec:s===8?jt.oct:jt.bin,ce=!1,ve=0;for(let Ie=0,We=_nullishCoalesce(l, () => (1/0));Ie<We;++Ie){let Qe=this.input.charCodeAt(this.state.pos),qe;if(Qe!==95){if(qe=Qe>=97?Qe-97+10:Qe>=65?Qe-65+10:yr(Qe)?Qe-48:1/0,qe>=s)if(this.options.errorRecovery&&qe<=9)qe=0,this.raise(h.InvalidDigit,{at:this.state.curPosition()},s);else{if(!g)break;qe=0,ce=!0}++this.state.pos,ve=ve*s+qe}else{let yt=this.input.charCodeAt(this.state.pos-1),it=this.input.charCodeAt(this.state.pos+1);(oe.indexOf(it)===-1||q.indexOf(yt)>-1||q.indexOf(it)>-1||Number.isNaN(it))&&this.raise(h.UnexpectedNumericSeparator,{at:this.state.curPosition()}),w||this.raise(h.NumericSeparatorInEscapeSequence,{at:this.state.curPosition()}),++this.state.pos}}return this.state.pos===U||l!=null&&this.state.pos-U!==l||ce?null:ve}readRadixNumber(s){let l=this.state.curPosition(),g=!1;this.state.pos+=2;let w=this.readInt(s);w==null&&this.raise(h.InvalidDigit,{at:r(l,2)},s);let U=this.input.charCodeAt(this.state.pos);if(U===110)++this.state.pos,g=!0;else if(U===109)throw this.raise(h.InvalidDecimal,{at:l});if(xe(this.codePointAtPos(this.state.pos)))throw this.raise(h.NumberIdentifier,{at:this.state.curPosition()});if(g){let q=this.input.slice(t.get(l),this.state.pos).replace(/[_n]/g,"");this.finishToken(127,q)}else this.finishToken(126,w)}readNumber(s){let l=this.state.pos,g=this.state.curPosition(),w=!1,U=!1,q=!1,oe=!1,ce=!1;s||this.readInt(10)!==null||this.raise(h.InvalidNumber,{at:this.state.curPosition()});let ve=this.state.pos-l>=2&&this.input.charCodeAt(l)===48;if(ve){let qe=this.input.slice(l,this.state.pos);if(this.recordStrictModeErrors(h.StrictOctalLiteral,g),!this.state.strict){let yt=qe.indexOf("_");yt>0&&this.raise(h.ZeroDigitNumericSeparator,{at:r(g,yt)})}ce=ve&&!/[89]/.test(qe)}let Ie=this.input.charCodeAt(this.state.pos);if(Ie!==46||ce||(++this.state.pos,this.readInt(10),w=!0,Ie=this.input.charCodeAt(this.state.pos)),Ie!==69&&Ie!==101||ce||(Ie=this.input.charCodeAt(++this.state.pos),Ie!==43&&Ie!==45||++this.state.pos,this.readInt(10)===null&&this.raise(h.InvalidOrMissingExponent,{at:g}),w=!0,oe=!0,Ie=this.input.charCodeAt(this.state.pos)),Ie===110&&((w||ve)&&this.raise(h.InvalidBigIntLiteral,{at:g}),++this.state.pos,U=!0),Ie===109&&(this.expectPlugin("decimal",this.state.curPosition()),(oe||ve)&&this.raise(h.InvalidDecimal,{at:g}),++this.state.pos,q=!0),xe(this.codePointAtPos(this.state.pos)))throw this.raise(h.NumberIdentifier,{at:this.state.curPosition()});let We=this.input.slice(l,this.state.pos).replace(/[_mn]/g,"");if(U)return void this.finishToken(127,We);if(q)return void this.finishToken(128,We);let Qe=ce?parseInt(We,8):parseFloat(We);this.finishToken(126,Qe)}readCodePoint(s){let l;if(this.input.charCodeAt(this.state.pos)===123){if(++this.state.pos,l=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,!0,s),++this.state.pos,l!==null&&l>1114111){if(!s)return null;this.raise(h.InvalidCodePoint,{at:this.state.curPosition()})}}else l=this.readHexChar(4,!1,s);return l}readString(s){let l="",g=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(h.UnterminatedString,{at:this.state.startLoc});let w=this.input.charCodeAt(this.state.pos);if(w===s)break;if(w===92)l+=this.input.slice(g,this.state.pos),l+=this.readEscapedChar(!1),g=this.state.pos;else if(w===8232||w===8233)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(at(w))throw this.raise(h.UnterminatedString,{at:this.state.startLoc});++this.state.pos}}l+=this.input.slice(g,this.state.pos++),this.finishToken(125,l)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let s="",l=this.state.pos,g=!1;for(++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(h.UnterminatedTemplate,{at:r(this.state.startLoc,1)});let w=this.input.charCodeAt(this.state.pos);if(w===96)return++this.state.pos,s+=this.input.slice(l,this.state.pos),void this.finishToken(24,g?null:s);if(w===36&&this.input.charCodeAt(this.state.pos+1)===123)return this.state.pos+=2,s+=this.input.slice(l,this.state.pos),void this.finishToken(25,g?null:s);if(w===92){s+=this.input.slice(l,this.state.pos);let U=this.readEscapedChar(!0);U===null?g=!0:s+=U,l=this.state.pos}else if(at(w)){switch(s+=this.input.slice(l,this.state.pos),++this.state.pos,w){case 13:this.input.charCodeAt(this.state.pos)===10&&++this.state.pos;case 10:s+=`
|
|
2129
|
+
`):g=String.fromCharCode(l),++this.state.curLine,this.state.lineStart=this.state.pos,g}jsxReadString(s){let l="",g=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(h.UnterminatedString,{at:this.state.startLoc});let w=this.input.charCodeAt(this.state.pos);if(w===s)break;w===38?(l+=this.input.slice(g,this.state.pos),l+=this.jsxReadEntity(),g=this.state.pos):at(w)?(l+=this.input.slice(g,this.state.pos),l+=this.jsxReadNewLine(!1),g=this.state.pos):++this.state.pos}return l+=this.input.slice(g,this.state.pos++),this.finishToken(125,l)}jsxReadEntity(){let s,l="",g=0,w=this.input[this.state.pos],U=++this.state.pos;for(;this.state.pos<this.length&&g++<10;){if(w=this.input[this.state.pos++],w===";"){l[0]==="#"?l[1]==="x"?(l=l.substr(2),ti.test(l)&&(s=String.fromCodePoint(parseInt(l,16)))):(l=l.substr(1),xn.test(l)&&(s=String.fromCodePoint(parseInt(l,10)))):s=ei[l];break}l+=w}return s||(this.state.pos=U,"&")}jsxReadWord(){let s,l=this.state.pos;do s=this.input.charCodeAt(++this.state.pos);while(Re(s)||s===45);return this.finishToken(132,this.input.slice(l,this.state.pos))}jsxParseIdentifier(){let s=this.startNode();return this.match(132)?s.name=this.state.value:J(this.state.type)?s.name=ne(this.state.type):this.unexpected(),this.next(),this.finishNode(s,"JSXIdentifier")}jsxParseNamespacedName(){let s=this.state.start,l=this.state.startLoc,g=this.jsxParseIdentifier();if(!this.eat(14))return g;let w=this.startNodeAt(s,l);return w.namespace=g,w.name=this.jsxParseIdentifier(),this.finishNode(w,"JSXNamespacedName")}jsxParseElementName(){let s=this.state.start,l=this.state.startLoc,g=this.jsxParseNamespacedName();if(g.type==="JSXNamespacedName")return g;for(;this.eat(16);){let w=this.startNodeAt(s,l);w.object=g,w.property=this.jsxParseIdentifier(),g=this.finishNode(w,"JSXMemberExpression")}return g}jsxParseAttributeValue(){let s;switch(this.state.type){case 5:return s=this.startNode(),this.setContext(m.brace),this.next(),s=this.jsxParseExpressionContainer(s,m.j_oTag),s.expression.type==="JSXEmptyExpression"&&this.raise(gr.AttributeIsEmpty,{node:s}),s;case 134:case 125:return this.parseExprAtom();default:throw this.raise(gr.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){let s=this.startNodeAt(t.get(this.state.lastTokEndLoc),this.state.lastTokEndLoc);return this.finishNodeAt(s,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(s){return this.next(),s.expression=this.parseExpression(),this.setContext(m.j_oTag),this.expect(8),this.finishNode(s,"JSXSpreadChild")}jsxParseExpressionContainer(s,l){if(this.match(8))s.expression=this.jsxParseEmptyExpression();else{let g=this.parseExpression();s.expression=g}return this.setContext(l),this.expect(8),this.finishNode(s,"JSXExpressionContainer")}jsxParseAttribute(){let s=this.startNode();return this.match(5)?(this.setContext(m.brace),this.next(),this.expect(21),s.argument=this.parseMaybeAssignAllowIn(),this.setContext(m.j_oTag),this.expect(8),this.finishNode(s,"JSXSpreadAttribute")):(s.name=this.jsxParseNamespacedName(),s.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(s,"JSXAttribute"))}jsxParseOpeningElementAt(s,l){let g=this.startNodeAt(s,l);return this.match(135)?(this.expect(135),this.finishNode(g,"JSXOpeningFragment")):(g.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(g))}jsxParseOpeningElementAfterName(s){let l=[];for(;!this.match(52)&&!this.match(135);)l.push(this.jsxParseAttribute());return s.attributes=l,s.selfClosing=this.eat(52),this.expect(135),this.finishNode(s,"JSXOpeningElement")}jsxParseClosingElementAt(s,l){let g=this.startNodeAt(s,l);return this.match(135)?(this.expect(135),this.finishNode(g,"JSXClosingFragment")):(g.name=this.jsxParseElementName(),this.expect(135),this.finishNode(g,"JSXClosingElement"))}jsxParseElementAt(s,l){let g=this.startNodeAt(s,l),w=[],U=this.jsxParseOpeningElementAt(s,l),q=null;if(!U.selfClosing){e:for(;;)switch(this.state.type){case 134:if(s=this.state.start,l=this.state.startLoc,this.next(),this.eat(52)){q=this.jsxParseClosingElementAt(s,l);break e}w.push(this.jsxParseElementAt(s,l));break;case 133:w.push(this.parseExprAtom());break;case 5:{let oe=this.startNode();this.setContext(m.brace),this.next(),this.match(21)?w.push(this.jsxParseSpreadChild(oe)):w.push(this.jsxParseExpressionContainer(oe,m.j_expr));break}default:throw this.unexpected()}pr(U)&&!pr(q)&&q!==null?this.raise(gr.MissingClosingTagFragment,{node:q}):!pr(U)&&pr(q)?this.raise(gr.MissingClosingTagElement,{node:q},ur(U.name)):pr(U)||pr(q)||ur(q.name)!==ur(U.name)&&this.raise(gr.MissingClosingTagElement,{node:q},ur(U.name))}if(pr(U)?(g.openingFragment=U,g.closingFragment=q):(g.openingElement=U,g.closingElement=q),g.children=w,this.match(45))throw this.raise(gr.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return pr(U)?this.finishNode(g,"JSXFragment"):this.finishNode(g,"JSXElement")}jsxParseElement(){let s=this.state.start,l=this.state.startLoc;return this.next(),this.jsxParseElementAt(s,l)}setContext(s){let{context:l}=this.state;l[l.length-1]=s}parseExprAtom(s){return this.match(133)?this.parseLiteral(this.state.value,"JSXText"):this.match(134)?this.jsxParseElement():this.match(45)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(134),this.jsxParseElement()):super.parseExprAtom(s)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(s){let l=this.curContext();if(l===m.j_expr)return this.jsxReadToken();if(l===m.j_oTag||l===m.j_cTag){if(xe(s))return this.jsxReadWord();if(s===62)return++this.state.pos,this.finishToken(135);if((s===34||s===39)&&l===m.j_oTag)return this.jsxReadString(s)}return s===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33?(++this.state.pos,this.finishToken(134)):super.getTokenFromCode(s)}updateContext(s){let{context:l,type:g}=this.state;if(g===52&&s===134)l.splice(-2,2,m.j_cTag),this.state.canStartJSXElement=!1;else if(g===134)l.push(m.j_oTag);else if(g===135){let w=l[l.length-1];w===m.j_oTag&&s===52||w===m.j_cTag?(l.pop(),this.state.canStartJSXElement=l[l.length-1]===m.j_expr):(this.setContext(m.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=$[g]}},flow:Ee=>class extends Ee{constructor(...s){super(...s),this.flowPragma=void 0}getScopeHandler(){return ot}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(s,l){return s!==125&&s!==13&&s!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(s,l)}addComment(s){if(this.flowPragma===void 0){let l=Zn.exec(s.value);if(l)if(l[1]==="flow")this.flowPragma="flow";else{if(l[1]!=="noflow")throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}return super.addComment(s)}flowParseTypeInitialiser(s){let l=this.state.inType;this.state.inType=!0,this.expect(s||14);let g=this.flowParseType();return this.state.inType=l,g}flowParsePredicate(){let s=this.startNode(),l=this.state.startLoc;return this.next(),this.expectContextual(103),this.state.lastTokStart>t.get(l)+1&&this.raise(tt.UnexpectedSpaceBetweenModuloChecks,{at:l}),this.eat(10)?(s.value=this.parseExpression(),this.expect(11),this.finishNode(s,"DeclaredPredicate")):this.finishNode(s,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let s=this.state.inType;this.state.inType=!0,this.expect(14);let l=null,g=null;return this.match(50)?(this.state.inType=s,g=this.flowParsePredicate()):(l=this.flowParseType(),this.state.inType=s,this.match(50)&&(g=this.flowParsePredicate())),[l,g]}flowParseDeclareClass(s){return this.next(),this.flowParseInterfaceish(s,!0),this.finishNode(s,"DeclareClass")}flowParseDeclareFunction(s){this.next();let l=s.id=this.parseIdentifier(),g=this.startNode(),w=this.startNode();this.match(45)?g.typeParameters=this.flowParseTypeParameterDeclaration():g.typeParameters=null,this.expect(10);let U=this.flowParseFunctionTypeParams();return g.params=U.params,g.rest=U.rest,g.this=U._this,this.expect(11),[g.returnType,s.predicate]=this.flowParseTypeAndPredicateInitialiser(),w.typeAnnotation=this.finishNode(g,"FunctionTypeAnnotation"),l.typeAnnotation=this.finishNode(w,"TypeAnnotation"),this.resetEndLocation(l),this.semicolon(),this.scope.declareName(s.id.name,2048,s.id.loc.start),this.finishNode(s,"DeclareFunction")}flowParseDeclare(s,l){if(this.match(76))return this.flowParseDeclareClass(s);if(this.match(64))return this.flowParseDeclareFunction(s);if(this.match(70))return this.flowParseDeclareVariable(s);if(this.eatContextual(119))return this.match(16)?this.flowParseDeclareModuleExports(s):(l&&this.raise(tt.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(s));if(this.isContextual(122))return this.flowParseDeclareTypeAlias(s);if(this.isContextual(123))return this.flowParseDeclareOpaqueType(s);if(this.isContextual(121))return this.flowParseDeclareInterface(s);if(this.match(78))return this.flowParseDeclareExportDeclaration(s,l);throw this.unexpected()}flowParseDeclareVariable(s){return this.next(),s.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(s.id.name,5,s.id.loc.start),this.semicolon(),this.finishNode(s,"DeclareVariable")}flowParseDeclareModule(s){this.scope.enter(0),this.match(125)?s.id=this.parseExprAtom():s.id=this.parseIdentifier();let l=s.body=this.startNode(),g=l.body=[];for(this.expect(5);!this.match(8);){let q=this.startNode();this.match(79)?(this.next(),this.isContextual(122)||this.match(83)||this.raise(tt.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),this.parseImport(q)):(this.expectContextual(117,tt.UnsupportedStatementInDeclareModule),q=this.flowParseDeclare(q,!0)),g.push(q)}this.scope.exit(),this.expect(8),this.finishNode(l,"BlockStatement");let w=null,U=!1;return g.forEach(q=>{(function(oe){return oe.type==="DeclareExportAllDeclaration"||oe.type==="DeclareExportDeclaration"&&(!oe.declaration||oe.declaration.type!=="TypeAlias"&&oe.declaration.type!=="InterfaceDeclaration")})(q)?(w==="CommonJS"&&this.raise(tt.AmbiguousDeclareModuleKind,{node:q}),w="ES"):q.type==="DeclareModuleExports"&&(U&&this.raise(tt.DuplicateDeclareModuleExports,{node:q}),w==="ES"&&this.raise(tt.AmbiguousDeclareModuleKind,{node:q}),w="CommonJS",U=!0)}),s.kind=w||"CommonJS",this.finishNode(s,"DeclareModule")}flowParseDeclareExportDeclaration(s,l){if(this.expect(78),this.eat(61))return this.match(64)||this.match(76)?s.declaration=this.flowParseDeclare(this.startNode()):(s.declaration=this.flowParseType(),this.semicolon()),s.default=!0,this.finishNode(s,"DeclareExportDeclaration");if(this.match(71)||this.isLet()||(this.isContextual(122)||this.isContextual(121))&&!l){let g=this.state.value,w=Qn[g];throw this.raise(tt.UnsupportedDeclareExportKind,{at:this.state.startLoc},g,w)}if(this.match(70)||this.match(64)||this.match(76)||this.isContextual(123))return s.declaration=this.flowParseDeclare(this.startNode()),s.default=!1,this.finishNode(s,"DeclareExportDeclaration");if(this.match(51)||this.match(5)||this.isContextual(121)||this.isContextual(122)||this.isContextual(123))return(s=this.parseExport(s)).type==="ExportNamedDeclaration"&&(s.type="ExportDeclaration",s.default=!1,delete s.exportKind),s.type="Declare"+s.type,s;throw this.unexpected()}flowParseDeclareModuleExports(s){return this.next(),this.expectContextual(104),s.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(s,"DeclareModuleExports")}flowParseDeclareTypeAlias(s){return this.next(),this.flowParseTypeAlias(s),s.type="DeclareTypeAlias",s}flowParseDeclareOpaqueType(s){return this.next(),this.flowParseOpaqueType(s,!0),s.type="DeclareOpaqueType",s}flowParseDeclareInterface(s){return this.next(),this.flowParseInterfaceish(s),this.finishNode(s,"DeclareInterface")}flowParseInterfaceish(s,l=!1){if(s.id=this.flowParseRestrictedIdentifier(!l,!0),this.scope.declareName(s.id.name,l?17:9,s.id.loc.start),this.match(45)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,s.extends=[],s.implements=[],s.mixins=[],this.eat(77))do s.extends.push(this.flowParseInterfaceExtends());while(!l&&this.eat(12));if(this.isContextual(110)){this.next();do s.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12))}if(this.isContextual(106)){this.next();do s.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}s.body=this.flowParseObjectType({allowStatic:l,allowExact:!1,allowSpread:!1,allowProto:l,allowInexact:!1})}flowParseInterfaceExtends(){let s=this.startNode();return s.id=this.flowParseQualifiedTypeIdentifier(),this.match(45)?s.typeParameters=this.flowParseTypeParameterInstantiation():s.typeParameters=null,this.finishNode(s,"InterfaceExtends")}flowParseInterface(s){return this.flowParseInterfaceish(s),this.finishNode(s,"InterfaceDeclaration")}checkNotUnderscore(s){s==="_"&&this.raise(tt.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(s,l,g){In.has(s)&&this.raise(g?tt.AssignReservedType:tt.UnexpectedReservedType,{at:l},s)}flowParseRestrictedIdentifier(s,l){return this.checkReservedType(this.state.value,this.state.startLoc,l),this.parseIdentifier(s)}flowParseTypeAlias(s){return s.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(s.id.name,9,s.id.loc.start),this.match(45)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,s.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(s,"TypeAlias")}flowParseOpaqueType(s,l){return this.expectContextual(122),s.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(s.id.name,9,s.id.loc.start),this.match(45)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,s.supertype=null,this.match(14)&&(s.supertype=this.flowParseTypeInitialiser(14)),s.impltype=null,l||(s.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(s,"OpaqueType")}flowParseTypeParameter(s=!1){let l=this.state.startLoc,g=this.startNode(),w=this.flowParseVariance(),U=this.flowParseTypeAnnotatableIdentifier();return g.name=U.name,g.variance=w,g.bound=U.typeAnnotation,this.match(29)?(this.eat(29),g.default=this.flowParseType()):s&&this.raise(tt.MissingTypeParamDefault,{at:l}),this.finishNode(g,"TypeParameter")}flowParseTypeParameterDeclaration(){let s=this.state.inType,l=this.startNode();l.params=[],this.state.inType=!0,this.match(45)||this.match(134)?this.next():this.unexpected();let g=!1;do{let w=this.flowParseTypeParameter(g);l.params.push(w),w.default&&(g=!0),this.match(46)||this.expect(12)}while(!this.match(46));return this.expect(46),this.state.inType=s,this.finishNode(l,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let s=this.startNode(),l=this.state.inType;s.params=[],this.state.inType=!0,this.expect(45);let g=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(46);)s.params.push(this.flowParseType()),this.match(46)||this.expect(12);return this.state.noAnonFunctionType=g,this.expect(46),this.state.inType=l,this.finishNode(s,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let s=this.startNode(),l=this.state.inType;for(s.params=[],this.state.inType=!0,this.expect(45);!this.match(46);)s.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(46)||this.expect(12);return this.expect(46),this.state.inType=l,this.finishNode(s,"TypeParameterInstantiation")}flowParseInterfaceType(){let s=this.startNode();if(this.expectContextual(121),s.extends=[],this.eat(77))do s.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return s.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(s,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(126)||this.match(125)?this.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(s,l,g){return s.static=l,this.lookahead().type===14?(s.id=this.flowParseObjectPropertyKey(),s.key=this.flowParseTypeInitialiser()):(s.id=null,s.key=this.flowParseType()),this.expect(3),s.value=this.flowParseTypeInitialiser(),s.variance=g,this.finishNode(s,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(s,l){return s.static=l,s.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(45)||this.match(10)?(s.method=!0,s.optional=!1,s.value=this.flowParseObjectTypeMethodish(this.startNodeAt(s.start,s.loc.start))):(s.method=!1,this.eat(17)&&(s.optional=!0),s.value=this.flowParseTypeInitialiser()),this.finishNode(s,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(s){for(s.params=[],s.rest=null,s.typeParameters=null,s.this=null,this.match(45)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(74)&&(s.this=this.flowParseFunctionTypeParam(!0),s.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)s.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(s.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),s.returnType=this.flowParseTypeInitialiser(),this.finishNode(s,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(s,l){let g=this.startNode();return s.static=l,s.value=this.flowParseObjectTypeMethodish(g),this.finishNode(s,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:s,allowExact:l,allowSpread:g,allowProto:w,allowInexact:U}){let q=this.state.inType;this.state.inType=!0;let oe=this.startNode(),ce,ve;oe.callProperties=[],oe.properties=[],oe.indexers=[],oe.internalSlots=[];let Ie=!1;for(l&&this.match(6)?(this.expect(6),ce=9,ve=!0):(this.expect(5),ce=8,ve=!1),oe.exact=ve;!this.match(ce);){let Qe=!1,qe=null,yt=null,it=this.startNode();if(w&&this.isContextual(111)){let Et=this.lookahead();Et.type!==14&&Et.type!==17&&(this.next(),qe=this.state.startLoc,s=!1)}if(s&&this.isContextual(100)){let Et=this.lookahead();Et.type!==14&&Et.type!==17&&(this.next(),Qe=!0)}let ht=this.flowParseVariance();if(this.eat(0))qe!=null&&this.unexpected(qe),this.eat(0)?(ht&&this.unexpected(ht.loc.start),oe.internalSlots.push(this.flowParseObjectTypeInternalSlot(it,Qe))):oe.indexers.push(this.flowParseObjectTypeIndexer(it,Qe,ht));else if(this.match(10)||this.match(45))qe!=null&&this.unexpected(qe),ht&&this.unexpected(ht.loc.start),oe.callProperties.push(this.flowParseObjectTypeCallProperty(it,Qe));else{let Et="init";(this.isContextual(94)||this.isContextual(99))&&F(this.lookahead().type)&&(Et=this.state.value,this.next());let ir=this.flowParseObjectTypeProperty(it,Qe,qe,ht,Et,g,_nullishCoalesce(U, () => (!ve)));ir===null?(Ie=!0,yt=this.state.lastTokStartLoc):oe.properties.push(ir)}this.flowObjectTypeSemicolon(),!yt||this.match(8)||this.match(9)||this.raise(tt.UnexpectedExplicitInexactInObject,{at:yt})}this.expect(ce),g&&(oe.inexact=Ie);let We=this.finishNode(oe,"ObjectTypeAnnotation");return this.state.inType=q,We}flowParseObjectTypeProperty(s,l,g,w,U,q,oe){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(q?oe||this.raise(tt.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(tt.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),w&&this.raise(tt.InexactVariance,{node:w}),null):(q||this.raise(tt.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),g!=null&&this.unexpected(g),w&&this.raise(tt.SpreadVariance,{node:w}),s.argument=this.flowParseType(),this.finishNode(s,"ObjectTypeSpreadProperty"));{s.key=this.flowParseObjectPropertyKey(),s.static=l,s.proto=g!=null,s.kind=U;let ce=!1;return this.match(45)||this.match(10)?(s.method=!0,g!=null&&this.unexpected(g),w&&this.unexpected(w.loc.start),s.value=this.flowParseObjectTypeMethodish(this.startNodeAt(s.start,s.loc.start)),U!=="get"&&U!=="set"||this.flowCheckGetterSetterParams(s),!q&&s.key.name==="constructor"&&s.value.this&&this.raise(tt.ThisParamBannedInConstructor,{node:s.value.this})):(U!=="init"&&this.unexpected(),s.method=!1,this.eat(17)&&(ce=!0),s.value=this.flowParseTypeInitialiser(),s.variance=w),s.optional=ce,this.finishNode(s,"ObjectTypeProperty")}}flowCheckGetterSetterParams(s){let l=s.kind==="get"?0:1,g=s.value.params.length+(s.value.rest?1:0);s.value.this&&this.raise(s.kind==="get"?tt.GetterMayNotHaveThisParam:tt.SetterMayNotHaveThisParam,{node:s.value.this}),g!==l&&this.raise(s.kind==="get"?h.BadGetterArity:h.BadSetterArity,{node:s}),s.kind==="set"&&s.value.rest&&this.raise(h.BadSetterRestParameter,{node:s})}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(s,l,g){s=s||this.state.start,l=l||this.state.startLoc;let w=g||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let U=this.startNodeAt(s,l);U.qualification=w,U.id=this.flowParseRestrictedIdentifier(!0),w=this.finishNode(U,"QualifiedTypeIdentifier")}return w}flowParseGenericType(s,l,g){let w=this.startNodeAt(s,l);return w.typeParameters=null,w.id=this.flowParseQualifiedTypeIdentifier(s,l,g),this.match(45)&&(w.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(w,"GenericTypeAnnotation")}flowParseTypeofType(){let s=this.startNode();return this.expect(83),s.argument=this.flowParsePrimaryType(),this.finishNode(s,"TypeofTypeAnnotation")}flowParseTupleType(){let s=this.startNode();for(s.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(s.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(s,"TupleTypeAnnotation")}flowParseFunctionTypeParam(s){let l=null,g=!1,w=null,U=this.startNode(),q=this.lookahead(),oe=this.state.type===74;return q.type===14||q.type===17?(oe&&!s&&this.raise(tt.ThisParamMustBeFirst,{node:U}),l=this.parseIdentifier(oe),this.eat(17)&&(g=!0,oe&&this.raise(tt.ThisParamMayNotBeOptional,{node:U})),w=this.flowParseTypeInitialiser()):w=this.flowParseType(),U.name=l,U.optional=g,U.typeAnnotation=w,this.finishNode(U,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(s){let l=this.startNodeAt(s.start,s.loc.start);return l.name=null,l.optional=!1,l.typeAnnotation=s,this.finishNode(l,"FunctionTypeParam")}flowParseFunctionTypeParams(s=[]){let l=null,g=null;for(this.match(74)&&(g=this.flowParseFunctionTypeParam(!0),g.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)s.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(l=this.flowParseFunctionTypeParam(!1)),{params:s,rest:l,_this:g}}flowIdentToTypeAnnotation(s,l,g,w){switch(w.name){case"any":return this.finishNode(g,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(g,"BooleanTypeAnnotation");case"mixed":return this.finishNode(g,"MixedTypeAnnotation");case"empty":return this.finishNode(g,"EmptyTypeAnnotation");case"number":return this.finishNode(g,"NumberTypeAnnotation");case"string":return this.finishNode(g,"StringTypeAnnotation");case"symbol":return this.finishNode(g,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(w.name),this.flowParseGenericType(s,l,w)}}flowParsePrimaryType(){let s=this.state.start,l=this.state.startLoc,g=this.startNode(),w,U,q=!1,oe=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,U=this.flowParseTupleType(),this.state.noAnonFunctionType=oe,U;case 45:return g.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),w=this.flowParseFunctionTypeParams(),g.params=w.params,g.rest=w.rest,g.this=w._this,this.expect(11),this.expect(19),g.returnType=this.flowParseType(),this.finishNode(g,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(D(this.state.type)||this.match(74)){let ce=this.lookahead().type;q=ce!==17&&ce!==14}else q=!0;if(q){if(this.state.noAnonFunctionType=!1,U=this.flowParseType(),this.state.noAnonFunctionType=oe,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),U;this.eat(12)}return w=U?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(U)]):this.flowParseFunctionTypeParams(),g.params=w.params,g.rest=w.rest,g.this=w._this,this.expect(11),this.expect(19),g.returnType=this.flowParseType(),g.typeParameters=null,this.finishNode(g,"FunctionTypeAnnotation");case 125:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 81:case 82:return g.value=this.match(81),this.next(),this.finishNode(g,"BooleanLiteralTypeAnnotation");case 49:if(this.state.value==="-"){if(this.next(),this.match(126))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",g);if(this.match(127))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",g);throw this.raise(tt.UnexpectedSubtractionOperand,{at:this.state.startLoc})}throw this.unexpected();case 126:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 127:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 84:return this.next(),this.finishNode(g,"VoidTypeAnnotation");case 80:return this.next(),this.finishNode(g,"NullLiteralTypeAnnotation");case 74:return this.next(),this.finishNode(g,"ThisTypeAnnotation");case 51:return this.next(),this.finishNode(g,"ExistsTypeAnnotation");case 83:return this.flowParseTypeofType();default:if(J(this.state.type)){let ce=ne(this.state.type);return this.next(),super.createIdentifier(g,ce)}if(D(this.state.type))return this.isContextual(121)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(s,l,g,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){let s=this.state.start,l=this.state.startLoc,g=this.flowParsePrimaryType(),w=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let U=this.startNodeAt(s,l),q=this.eat(18);w=w||q,this.expect(0),!q&&this.match(3)?(U.elementType=g,this.next(),g=this.finishNode(U,"ArrayTypeAnnotation")):(U.objectType=g,U.indexType=this.flowParseType(),this.expect(3),w?(U.optional=q,g=this.finishNode(U,"OptionalIndexedAccessType")):g=this.finishNode(U,"IndexedAccessType"))}return g}flowParsePrefixType(){let s=this.startNode();return this.eat(17)?(s.typeAnnotation=this.flowParsePrefixType(),this.finishNode(s,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let s=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let l=this.startNodeAt(s.start,s.loc.start);return l.params=[this.reinterpretTypeAsFunctionTypeParam(s)],l.rest=null,l.this=null,l.returnType=this.flowParseType(),l.typeParameters=null,this.finishNode(l,"FunctionTypeAnnotation")}return s}flowParseIntersectionType(){let s=this.startNode();this.eat(43);let l=this.flowParseAnonFunctionWithoutParens();for(s.types=[l];this.eat(43);)s.types.push(this.flowParseAnonFunctionWithoutParens());return s.types.length===1?l:this.finishNode(s,"IntersectionTypeAnnotation")}flowParseUnionType(){let s=this.startNode();this.eat(41);let l=this.flowParseIntersectionType();for(s.types=[l];this.eat(41);)s.types.push(this.flowParseIntersectionType());return s.types.length===1?l:this.finishNode(s,"UnionTypeAnnotation")}flowParseType(){let s=this.state.inType;this.state.inType=!0;let l=this.flowParseUnionType();return this.state.inType=s,l}flowParseTypeOrImplicitInstantiation(){if(this.state.type===124&&this.state.value==="_"){let s=this.state.start,l=this.state.startLoc,g=this.parseIdentifier();return this.flowParseGenericType(s,l,g)}return this.flowParseType()}flowParseTypeAnnotation(){let s=this.startNode();return s.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(s,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(s){let l=s?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(l.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(l)),l}typeCastToParameter(s){return s.expression.typeAnnotation=s.typeAnnotation,this.resetEndLocation(s.expression,s.typeAnnotation.loc.end),s.expression}flowParseVariance(){let s=null;return this.match(49)&&(s=this.startNode(),this.state.value==="+"?s.kind="plus":s.kind="minus",this.next(),this.finishNode(s,"Variance")),s}parseFunctionBody(s,l,g=!1){return l?this.forwardNoArrowParamsConversionAt(s,()=>super.parseFunctionBody(s,!0,g)):super.parseFunctionBody(s,!1,g)}parseFunctionBodyAndFinish(s,l,g=!1){if(this.match(14)){let w=this.startNode();[w.typeAnnotation,s.predicate]=this.flowParseTypeAndPredicateInitialiser(),s.returnType=w.typeAnnotation?this.finishNode(w,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(s,l,g)}parseStatement(s,l){if(this.state.strict&&this.isContextual(121)){if(_(this.lookahead().type)){let w=this.startNode();return this.next(),this.flowParseInterface(w)}}else if(this.shouldParseEnums()&&this.isContextual(118)){let w=this.startNode();return this.next(),this.flowParseEnumDeclaration(w)}let g=super.parseStatement(s,l);return this.flowPragma!==void 0||this.isValidDirective(g)||(this.flowPragma=null),g}parseExpressionStatement(s,l){if(l.type==="Identifier"){if(l.name==="declare"){if(this.match(76)||D(this.state.type)||this.match(64)||this.match(70)||this.match(78))return this.flowParseDeclare(s)}else if(D(this.state.type)){if(l.name==="interface")return this.flowParseInterface(s);if(l.name==="type")return this.flowParseTypeAlias(s);if(l.name==="opaque")return this.flowParseOpaqueType(s,!1)}}return super.parseExpressionStatement(s,l)}shouldParseExportDeclaration(){let{type:s}=this.state;return W(s)||this.shouldParseEnums()&&s===118?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:s}=this.state;return W(s)||this.shouldParseEnums()&&s===118?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(118)){let s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}return super.parseExportDefaultExpression()}parseConditional(s,l,g,w){if(!this.match(17))return s;if(this.state.maybeInArrowParameters){let Qe=this.lookaheadCharCode();if(Qe===44||Qe===61||Qe===58||Qe===41)return this.setOptionalParametersError(w),s}this.expect(17);let U=this.state.clone(),q=this.state.noArrowAt,oe=this.startNodeAt(l,g),{consequent:ce,failed:ve}=this.tryParseConditionalConsequent(),[Ie,We]=this.getArrowLikeExpressions(ce);if(ve||We.length>0){let Qe=[...q];if(We.length>0){this.state=U,this.state.noArrowAt=Qe;for(let qe=0;qe<We.length;qe++)Qe.push(We[qe].start);({consequent:ce,failed:ve}=this.tryParseConditionalConsequent()),[Ie,We]=this.getArrowLikeExpressions(ce)}ve&&Ie.length>1&&this.raise(tt.AmbiguousConditionalArrow,{at:U.startLoc}),ve&&Ie.length===1&&(this.state=U,Qe.push(Ie[0].start),this.state.noArrowAt=Qe,{consequent:ce,failed:ve}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(ce,!0),this.state.noArrowAt=q,this.expect(14),oe.test=s,oe.consequent=ce,oe.alternate=this.forwardNoArrowParamsConversionAt(oe,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(oe,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let s=this.parseMaybeAssignAllowIn(),l=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:s,failed:l}}getArrowLikeExpressions(s,l){let g=[s],w=[];for(;g.length!==0;){let U=g.pop();U.type==="ArrowFunctionExpression"?(U.typeParameters||!U.returnType?this.finishArrowValidation(U):w.push(U),g.push(U.body)):U.type==="ConditionalExpression"&&(g.push(U.consequent),g.push(U.alternate))}return l?(w.forEach(U=>this.finishArrowValidation(U)),[w,[]]):function(U,q){let oe=[],ce=[];for(let ve=0;ve<U.length;ve++)(q(U[ve],ve,U)?oe:ce).push(U[ve]);return[oe,ce]}(w,U=>U.params.every(q=>this.isAssignable(q,!0)))}finishArrowValidation(s){var l;this.toAssignableList(s.params,(l=s.extra)==null?void 0:l.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(s,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(s,l){let g;return this.state.noArrowParamsConversionAt.indexOf(s.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),g=l(),this.state.noArrowParamsConversionAt.pop()):g=l(),g}parseParenItem(s,l,g){if(s=super.parseParenItem(s,l,g),this.eat(17)&&(s.optional=!0,this.resetEndLocation(s)),this.match(14)){let w=this.startNodeAt(l,g);return w.expression=s,w.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(w,"TypeCastExpression")}return s}assertModuleNodeAllowed(s){s.type==="ImportDeclaration"&&(s.importKind==="type"||s.importKind==="typeof")||s.type==="ExportNamedDeclaration"&&s.exportKind==="type"||s.type==="ExportAllDeclaration"&&s.exportKind==="type"||super.assertModuleNodeAllowed(s)}parseExport(s){let l=super.parseExport(s);return l.type!=="ExportNamedDeclaration"&&l.type!=="ExportAllDeclaration"||(l.exportKind=l.exportKind||"value"),l}parseExportDeclaration(s){if(this.isContextual(122)){s.exportKind="type";let l=this.startNode();return this.next(),this.match(5)?(s.specifiers=this.parseExportSpecifiers(!0),this.parseExportFrom(s),null):this.flowParseTypeAlias(l)}if(this.isContextual(123)){s.exportKind="type";let l=this.startNode();return this.next(),this.flowParseOpaqueType(l,!1)}if(this.isContextual(121)){s.exportKind="type";let l=this.startNode();return this.next(),this.flowParseInterface(l)}if(this.shouldParseEnums()&&this.isContextual(118)){s.exportKind="value";let l=this.startNode();return this.next(),this.flowParseEnumDeclaration(l)}return super.parseExportDeclaration(s)}eatExportStar(s){return!!super.eatExportStar(...arguments)||!(!this.isContextual(122)||this.lookahead().type!==51)&&(s.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(s){let{startLoc:l}=this.state,g=super.maybeParseExportNamespaceSpecifier(s);return g&&s.exportKind==="type"&&this.unexpected(l),g}parseClassId(s,l,g){super.parseClassId(s,l,g),this.match(45)&&(s.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(s,l,g){let{startLoc:w}=this.state;if(this.isContextual(117)){if(this.parseClassMemberFromModifier(s,l))return;l.declare=!0}super.parseClassMember(s,l,g),l.declare&&(l.type!=="ClassProperty"&&l.type!=="ClassPrivateProperty"&&l.type!=="PropertyDefinition"?this.raise(tt.DeclareClassElement,{at:w}):l.value&&this.raise(tt.DeclareClassFieldInitializer,{node:l.value}))}isIterator(s){return s==="iterator"||s==="asyncIterator"}readIterator(){let s=super.readWord1(),l="@@"+s;this.isIterator(s)&&this.state.inType||this.raise(h.InvalidIdentifier,{at:this.state.curPosition()},l),this.finishToken(124,l)}getTokenFromCode(s){let l=this.input.charCodeAt(this.state.pos+1);return s===123&&l===124?this.finishOp(6,2):!this.state.inType||s!==62&&s!==60?this.state.inType&&s===63?l===46?this.finishOp(18,2):this.finishOp(17,1):function(g,w){return g===64&&w===64}(s,l)?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(s):this.finishOp(s===62?46:45,1)}isAssignable(s,l){return s.type==="TypeCastExpression"?this.isAssignable(s.expression,l):super.isAssignable(s,l)}toAssignable(s,l=!1){return s.type==="TypeCastExpression"?super.toAssignable(this.typeCastToParameter(s),l):super.toAssignable(s,l)}toAssignableList(s,l,g){for(let w=0;w<s.length;w++){let U=s[w];(U==null?void 0:U.type)==="TypeCastExpression"&&(s[w]=this.typeCastToParameter(U))}return super.toAssignableList(s,l,g)}toReferencedList(s,l){for(let w=0;w<s.length;w++){var g;let U=s[w];!U||U.type!=="TypeCastExpression"||(g=U.extra)!=null&&g.parenthesized||!(s.length>1)&&l||this.raise(tt.TypeCastInPattern,{node:U.typeAnnotation})}return s}parseArrayLike(s,l,g,w){let U=super.parseArrayLike(s,l,g,w);return l&&!this.state.maybeInArrowParameters&&this.toReferencedList(U.elements),U}checkLVal(s,...l){if(s.type!=="TypeCastExpression")return super.checkLVal(s,...l)}parseClassProperty(s){return this.match(14)&&(s.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(s)}parseClassPrivateProperty(s){return this.match(14)&&(s.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(s)}isClassMethod(){return this.match(45)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(s){return!this.match(14)&&super.isNonstaticConstructor(s)}pushClassMethod(s,l,g,w,U,q){if(l.variance&&this.unexpected(l.variance.loc.start),delete l.variance,this.match(45)&&(l.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(s,l,g,w,U,q),l.params&&U){let oe=l.params;oe.length>0&&this.isThisParam(oe[0])&&this.raise(tt.ThisParamBannedInConstructor,{node:l})}else if(l.type==="MethodDefinition"&&U&&l.value.params){let oe=l.value.params;oe.length>0&&this.isThisParam(oe[0])&&this.raise(tt.ThisParamBannedInConstructor,{node:l})}}pushClassPrivateMethod(s,l,g,w){l.variance&&this.unexpected(l.variance.loc.start),delete l.variance,this.match(45)&&(l.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(s,l,g,w)}parseClassSuper(s){if(super.parseClassSuper(s),s.superClass&&this.match(45)&&(s.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(106)){this.next();let l=s.implements=[];do{let g=this.startNode();g.id=this.flowParseRestrictedIdentifier(!0),this.match(45)?g.typeParameters=this.flowParseTypeParameterInstantiation():g.typeParameters=null,l.push(this.finishNode(g,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(s){super.checkGetterSetterParams(s);let l=this.getObjectOrClassMethodParams(s);if(l.length>0){let g=l[0];this.isThisParam(g)&&s.kind==="get"?this.raise(tt.GetterMayNotHaveThisParam,{node:g}):this.isThisParam(g)&&this.raise(tt.SetterMayNotHaveThisParam,{node:g})}}parsePropertyNamePrefixOperator(s){s.variance=this.flowParseVariance()}parseObjPropValue(s,l,g,w,U,q,oe,ce){let ve;s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(45)&&!oe&&(ve=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected()),super.parseObjPropValue(s,l,g,w,U,q,oe,ce),ve&&((s.value||s).typeParameters=ve)}parseAssignableListItemTypes(s){return this.eat(17)&&(s.type!=="Identifier"&&this.raise(tt.PatternIsOptional,{node:s}),this.isThisParam(s)&&this.raise(tt.ThisParamMayNotBeOptional,{node:s}),s.optional=!0),this.match(14)?s.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(s)&&this.raise(tt.ThisParamAnnotationRequired,{node:s}),this.match(29)&&this.isThisParam(s)&&this.raise(tt.ThisParamNoDefault,{node:s}),this.resetEndLocation(s),s}parseMaybeDefault(s,l,g){let w=super.parseMaybeDefault(s,l,g);return w.type==="AssignmentPattern"&&w.typeAnnotation&&w.right.start<w.typeAnnotation.start&&this.raise(tt.TypeBeforeInitializer,{node:w.typeAnnotation}),w}shouldParseDefaultImport(s){return It(s)?Nn(this.state.type):super.shouldParseDefaultImport(s)}parseImportSpecifierLocal(s,l,g,w){l.local=It(s)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),this.checkLVal(l.local,w,9),s.specifiers.push(this.finishNode(l,g))}maybeParseDefaultImportSpecifier(s){s.importKind="value";let l=null;if(this.match(83)?l="typeof":this.isContextual(122)&&(l="type"),l){let g=this.lookahead(),{type:w}=g;l==="type"&&w===51&&this.unexpected(null,g.type),(Nn(w)||w===5||w===51)&&(this.next(),s.importKind=l)}return super.maybeParseDefaultImportSpecifier(s)}parseImportSpecifier(s,l,g,w){let U=s.imported,q=null;U.type==="Identifier"&&(U.name==="type"?q="type":U.name==="typeof"&&(q="typeof"));let oe=!1;if(this.isContextual(89)&&!this.isLookaheadContextual("as")){let ve=this.parseIdentifier(!0);q===null||_(this.state.type)?(s.imported=U,s.importKind=null,s.local=this.parseIdentifier()):(s.imported=ve,s.importKind=q,s.local=tr(ve))}else{if(q!==null&&_(this.state.type))s.imported=this.parseIdentifier(!0),s.importKind=q;else{if(l)throw this.raise(h.ImportBindingIsString,{node:s},U.value);s.imported=U,s.importKind=null}this.eatContextual(89)?s.local=this.parseIdentifier():(oe=!0,s.local=tr(s.imported))}let ce=It(s);return g&&ce&&this.raise(tt.ImportTypeShorthandOnlyInPureImport,{node:s}),(g||ce)&&this.checkReservedType(s.local.name,s.local.loc.start,!0),!oe||g||ce||this.checkReservedWord(s.local.name,s.loc.start,!0,!0),this.checkLVal(s.local,"import specifier",9),this.finishNode(s,"ImportSpecifier")}parseBindingAtom(){return this.state.type===74?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(s,l){let g=s.kind;g!=="get"&&g!=="set"&&this.match(45)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(s,l)}parseVarId(s,l){super.parseVarId(s,l),this.match(14)&&(s.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(s.id))}parseAsyncArrowFromCallExpression(s,l){if(this.match(14)){let g=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,s.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=g}return super.parseAsyncArrowFromCallExpression(s,l)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(s,l){var g;let w,U=null;if(this.hasPlugin("jsx")&&(this.match(134)||this.match(45))){if(U=this.state.clone(),w=this.tryParse(()=>super.parseMaybeAssign(s,l),U),!w.error)return w.node;let{context:ce}=this.state,ve=ce[ce.length-1];ve!==m.j_oTag&&ve!==m.j_expr||ce.pop()}if((g=w)!=null&&g.error||this.match(45)){var q,oe;let ce;U=U||this.state.clone();let ve=this.tryParse(We=>{var Qe;ce=this.flowParseTypeParameterDeclaration();let qe=this.forwardNoArrowParamsConversionAt(ce,()=>{let it=super.parseMaybeAssign(s,l);return this.resetStartLocationFromNode(it,ce),it});(Qe=qe.extra)!=null&&Qe.parenthesized&&We();let yt=this.maybeUnwrapTypeCastExpression(qe);return yt.type!=="ArrowFunctionExpression"&&We(),yt.typeParameters=ce,this.resetStartLocationFromNode(yt,ce),qe},U),Ie=null;if(ve.node&&this.maybeUnwrapTypeCastExpression(ve.node).type==="ArrowFunctionExpression"){if(!ve.error&&!ve.aborted)return ve.node.async&&this.raise(tt.UnexpectedTypeParameterBeforeAsyncArrowFunction,{node:ce}),ve.node;Ie=ve.node}if((q=w)!=null&&q.node)return this.state=w.failState,w.node;if(Ie)return this.state=ve.failState,Ie;throw(oe=w)!=null&&oe.thrown?w.error:ve.thrown?ve.error:this.raise(tt.UnexpectedTokenAfterTypeParameter,{node:ce})}return super.parseMaybeAssign(s,l)}parseArrow(s){if(this.match(14)){let l=this.tryParse(()=>{let g=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let w=this.startNode();return[w.typeAnnotation,s.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=g,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),w});if(l.thrown)return null;l.error&&(this.state=l.failState),s.returnType=l.node.typeAnnotation?this.finishNode(l.node,"TypeAnnotation"):null}return super.parseArrow(s)}shouldParseArrow(s){return this.match(14)||super.shouldParseArrow(s)}setArrowFunctionParameters(s,l){this.state.noArrowParamsConversionAt.indexOf(s.start)!==-1?s.params=l:super.setArrowFunctionParameters(s,l)}checkParams(s,l,g){if(!g||this.state.noArrowParamsConversionAt.indexOf(s.start)===-1){for(let w=0;w<s.params.length;w++)this.isThisParam(s.params[w])&&w>0&&this.raise(tt.ThisParamMustBeFirst,{node:s.params[w]});return super.checkParams(...arguments)}}parseParenAndDistinguishExpression(s){return super.parseParenAndDistinguishExpression(s&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(s,l,g,w){if(s.type==="Identifier"&&s.name==="async"&&this.state.noArrowAt.indexOf(l)!==-1){this.next();let U=this.startNodeAt(l,g);U.callee=s,U.arguments=this.parseCallExpressionArguments(11,!1),s=this.finishNode(U,"CallExpression")}else if(s.type==="Identifier"&&s.name==="async"&&this.match(45)){let U=this.state.clone(),q=this.tryParse(ce=>this.parseAsyncArrowWithTypeParameters(l,g)||ce(),U);if(!q.error&&!q.aborted)return q.node;let oe=this.tryParse(()=>super.parseSubscripts(s,l,g,w),U);if(oe.node&&!oe.error)return oe.node;if(q.node)return this.state=q.failState,q.node;if(oe.node)return this.state=oe.failState,oe.node;throw q.error||oe.error}return super.parseSubscripts(s,l,g,w)}parseSubscript(s,l,g,w,U){if(this.match(18)&&this.isLookaheadToken_lt()){if(U.optionalChainMember=!0,w)return U.stop=!0,s;this.next();let q=this.startNodeAt(l,g);return q.callee=s,q.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),q.arguments=this.parseCallExpressionArguments(11,!1),q.optional=!0,this.finishCallExpression(q,!0)}if(!w&&this.shouldParseTypes()&&this.match(45)){let q=this.startNodeAt(l,g);q.callee=s;let oe=this.tryParse(()=>(q.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),q.arguments=this.parseCallExpressionArguments(11,!1),U.optionalChainMember&&(q.optional=!1),this.finishCallExpression(q,U.optionalChainMember)));if(oe.node)return oe.error&&(this.state=oe.failState),oe.node}return super.parseSubscript(s,l,g,w,U)}parseNewArguments(s){let l=null;this.shouldParseTypes()&&this.match(45)&&(l=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),s.typeArguments=l,super.parseNewArguments(s)}parseAsyncArrowWithTypeParameters(s,l){let g=this.startNodeAt(s,l);if(this.parseFunctionParams(g),this.parseArrow(g))return this.parseArrowExpression(g,void 0,!0)}readToken_mult_modulo(s){let l=this.input.charCodeAt(this.state.pos+1);if(s===42&&l===47&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(s)}readToken_pipe_amp(s){let l=this.input.charCodeAt(this.state.pos+1);s!==124||l!==125?super.readToken_pipe_amp(s):this.finishOp(9,2)}parseTopLevel(s,l){let g=super.parseTopLevel(s,l);return this.state.hasFlowComment&&this.raise(tt.UnterminatedFlowComment,{at:this.state.curPosition()}),g}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(tt.NestedFlowComment,{at:this.state.startLoc});return this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),void(this.state.hasFlowComment=!0)}if(!this.state.hasFlowComment)return super.skipBlockComment();{let s=this.input.indexOf("*-/",this.state.pos+2);if(s===-1)throw this.raise(h.UnterminatedComment,{at:this.state.curPosition()});this.state.pos=s+2+3}}skipFlowComment(){let{pos:s}=this.state,l=2;for(;[32,9].includes(this.input.charCodeAt(s+l));)l++;let g=this.input.charCodeAt(l+s),w=this.input.charCodeAt(l+s+1);return g===58&&w===58?l+2:this.input.slice(l+s,l+s+12)==="flow-include"?l+12:g===58&&w!==58&&l}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(h.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(s,{enumName:l,memberName:g}){this.raise(tt.EnumBooleanMemberNotInitialized,{at:s},g,l)}flowEnumErrorInvalidExplicitType(s,{enumName:l,suppliedType:g}){return this.raise(g===null?tt.EnumInvalidExplicitTypeUnknownSupplied:tt.EnumInvalidExplicitType,{at:s},l,g)}flowEnumErrorInvalidMemberInitializer(s,{enumName:l,explicitType:g,memberName:w}){return this.raise(g==="boolean"||g==="number"||g==="string"?tt.EnumInvalidMemberInitializerPrimaryType:g==="symbol"?tt.EnumInvalidMemberInitializerSymbolType:tt.EnumInvalidMemberInitializerUnknownType,{at:s},l,w,g)}flowEnumErrorNumberMemberNotInitialized(s,{enumName:l,memberName:g}){this.raise(tt.EnumNumberMemberNotInitialized,{at:s},l,g)}flowEnumErrorStringMemberInconsistentlyInitailized(s,{enumName:l}){this.raise(tt.EnumStringMemberInconsistentlyInitailized,{node:s},l)}flowEnumMemberInit(){let s=this.state.startLoc,l=()=>this.match(12)||this.match(8);switch(this.state.type){case 126:{let g=this.parseNumericLiteral(this.state.value);return l()?{type:"number",loc:g.loc.start,value:g}:{type:"invalid",loc:s}}case 125:{let g=this.parseStringLiteral(this.state.value);return l()?{type:"string",loc:g.loc.start,value:g}:{type:"invalid",loc:s}}case 81:case 82:{let g=this.parseBooleanLiteral(this.match(81));return l()?{type:"boolean",loc:g.loc.start,value:g}:{type:"invalid",loc:s}}default:return{type:"invalid",loc:s}}}flowEnumMemberRaw(){let s=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:s}}}flowEnumCheckExplicitTypeMismatch(s,l,g){let{explicitType:w}=l;w!==null&&w!==g&&this.flowEnumErrorInvalidMemberInitializer(s,l)}flowEnumMembers({enumName:s,explicitType:l}){let g=new Set,w={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},U=!1;for(;!this.match(8);){if(this.eat(21)){U=!0;break}let q=this.startNode(),{id:oe,init:ce}=this.flowEnumMemberRaw(),ve=oe.name;if(ve==="")continue;/^[a-z]/.test(ve)&&this.raise(tt.EnumInvalidMemberName,{node:oe},ve,ve[0].toUpperCase()+ve.slice(1),s),g.has(ve)&&this.raise(tt.EnumDuplicateMemberName,{node:oe},ve,s),g.add(ve);let Ie={enumName:s,explicitType:l,memberName:ve};switch(q.id=oe,ce.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(ce.loc,Ie,"boolean"),q.init=ce.value,w.booleanMembers.push(this.finishNode(q,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(ce.loc,Ie,"number"),q.init=ce.value,w.numberMembers.push(this.finishNode(q,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(ce.loc,Ie,"string"),q.init=ce.value,w.stringMembers.push(this.finishNode(q,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(ce.loc,Ie);case"none":switch(l){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(ce.loc,Ie);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(ce.loc,Ie);break;default:w.defaultedMembers.push(this.finishNode(q,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:w,hasUnknownMembers:U}}flowEnumStringMembers(s,l,{enumName:g}){if(s.length===0)return l;if(l.length===0)return s;if(l.length>s.length){for(let w of s)this.flowEnumErrorStringMemberInconsistentlyInitailized(w,{enumName:g});return l}for(let w of l)this.flowEnumErrorStringMemberInconsistentlyInitailized(w,{enumName:g});return s}flowEnumParseExplicitType({enumName:s}){if(this.eatContextual(97)){if(!D(this.state.type))throw this.flowEnumErrorInvalidExplicitType(this.state.startLoc,{enumName:s,suppliedType:null});let{value:l}=this.state;return this.next(),l!=="boolean"&&l!=="number"&&l!=="string"&&l!=="symbol"&&this.flowEnumErrorInvalidExplicitType(this.state.startLoc,{enumName:s,suppliedType:l}),l}return null}flowEnumBody(s,l){let g=l.name,w=l.loc.start,U=this.flowEnumParseExplicitType({enumName:g});this.expect(5);let{members:q,hasUnknownMembers:oe}=this.flowEnumMembers({enumName:g,explicitType:U});switch(s.hasUnknownMembers=oe,U){case"boolean":return s.explicitType=!0,s.members=q.booleanMembers,this.expect(8),this.finishNode(s,"EnumBooleanBody");case"number":return s.explicitType=!0,s.members=q.numberMembers,this.expect(8),this.finishNode(s,"EnumNumberBody");case"string":return s.explicitType=!0,s.members=this.flowEnumStringMembers(q.stringMembers,q.defaultedMembers,{enumName:g}),this.expect(8),this.finishNode(s,"EnumStringBody");case"symbol":return s.members=q.defaultedMembers,this.expect(8),this.finishNode(s,"EnumSymbolBody");default:{let ce=()=>(s.members=[],this.expect(8),this.finishNode(s,"EnumStringBody"));s.explicitType=!1;let ve=q.booleanMembers.length,Ie=q.numberMembers.length,We=q.stringMembers.length,Qe=q.defaultedMembers.length;if(ve||Ie||We||Qe){if(ve||Ie){if(!Ie&&!We&&ve>=Qe){for(let qe of q.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(qe.loc.start,{enumName:g,memberName:qe.id.name});return s.members=q.booleanMembers,this.expect(8),this.finishNode(s,"EnumBooleanBody")}if(!ve&&!We&&Ie>=Qe){for(let qe of q.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(qe.loc.start,{enumName:g,memberName:qe.id.name});return s.members=q.numberMembers,this.expect(8),this.finishNode(s,"EnumNumberBody")}return this.raise(tt.EnumInconsistentMemberValues,{at:w},g),ce()}return s.members=this.flowEnumStringMembers(q.stringMembers,q.defaultedMembers,{enumName:g}),this.expect(8),this.finishNode(s,"EnumStringBody")}return ce()}}}flowParseEnumDeclaration(s){let l=this.parseIdentifier();return s.id=l,s.body=this.flowEnumBody(this.startNode(),l),this.finishNode(s,"EnumDeclaration")}isLookaheadToken_lt(){let s=this.nextTokenStart();if(this.input.charCodeAt(s)===60){let l=this.input.charCodeAt(s+1);return l!==60&&l!==61}return!1}maybeUnwrapTypeCastExpression(s){return s.type==="TypeCastExpression"?s.expression:s}},typescript:Ee=>class extends Ee{getScopeHandler(){return Mr}tsIsIdentifier(){return D(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(51)||this.match(21)||this.match(130)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(s,l){if(!D(this.state.type))return;let g=this.state.value;if(s.indexOf(g)!==-1){if(l&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return g}}tsParseModifiers(s,l,g,w,U){let q=(ce,ve,Ie,We)=>{ve===Ie&&s[We]&&this.raise(Ge.InvalidModifiersOrder,{at:ce},Ie,We)},oe=(ce,ve,Ie,We)=>{(s[Ie]&&ve===We||s[We]&&ve===Ie)&&this.raise(Ge.IncompatibleModifiers,{at:ce},Ie,We)};for(;;){let{startLoc:ce}=this.state,ve=this.tsParseModifier(l.concat(_nullishCoalesce(g, () => ([]))),U);if(!ve)break;fn(ve)?s.accessibility?this.raise(Ge.DuplicateAccessibilityModifier,{at:ce}):(q(ce,ve,ve,"override"),q(ce,ve,ve,"static"),q(ce,ve,ve,"readonly"),s.accessibility=ve):(Object.hasOwnProperty.call(s,ve)?this.raise(Ge.DuplicateModifier,{at:ce},ve):(q(ce,ve,"static","readonly"),q(ce,ve,"static","override"),q(ce,ve,"override","readonly"),q(ce,ve,"abstract","override"),oe(ce,ve,"declare","override"),oe(ce,ve,"static","abstract")),s[ve]=!0),g!=null&&g.includes(ve)&&this.raise(w,{at:ce},ve)}}tsIsListTerminator(s){switch(s){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(46)}throw new Error("Unreachable")}tsParseList(s,l){let g=[];for(;!this.tsIsListTerminator(s);)g.push(l());return g}tsParseDelimitedList(s,l,g){return function(w){if(w==null)throw new Error(`Unexpected ${w} value.`);return w}(this.tsParseDelimitedListWorker(s,l,!0,g))}tsParseDelimitedListWorker(s,l,g,w){let U=[],q=-1;for(;!this.tsIsListTerminator(s);){q=-1;let oe=l();if(oe==null)return;if(U.push(oe),!this.eat(12)){if(this.tsIsListTerminator(s))break;return void(g&&this.expect(12))}q=this.state.lastTokStart}return w&&(w.value=q),U}tsParseBracketedList(s,l,g,w,U){w||(g?this.expect(0):this.expect(45));let q=this.tsParseDelimitedList(s,l,U);return g?this.expect(3):this.expect(46),q}tsParseImportType(){let s=this.startNode();return this.expect(79),this.expect(10),this.match(125)||this.raise(Ge.UnsupportedImportTypeArgument,{at:this.state.startLoc}),s.argument=this.parseExprAtom(),this.expect(11),this.eat(16)&&(s.qualifier=this.tsParseEntityName(!0)),this.match(45)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSImportType")}tsParseEntityName(s){let l=this.parseIdentifier();for(;this.eat(16);){let g=this.startNodeAtNode(l);g.left=l,g.right=this.parseIdentifier(s),l=this.finishNode(g,"TSQualifiedName")}return l}tsParseTypeReference(){let s=this.startNode();return s.typeName=this.tsParseEntityName(!1),!this.hasPrecedingLineBreak()&&this.match(45)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSTypeReference")}tsParseThisTypePredicate(s){this.next();let l=this.startNodeAtNode(s);return l.parameterName=s,l.typeAnnotation=this.tsParseTypeAnnotation(!1),l.asserts=!1,this.finishNode(l,"TSTypePredicate")}tsParseThisTypeNode(){let s=this.startNode();return this.next(),this.finishNode(s,"TSThisType")}tsParseTypeQuery(){let s=this.startNode();return this.expect(83),this.match(79)?s.exprName=this.tsParseImportType():s.exprName=this.tsParseEntityName(!0),this.finishNode(s,"TSTypeQuery")}tsParseTypeParameter(){let s=this.startNode();return s.name=this.tsParseTypeParameterName(),s.constraint=this.tsEatThenParseType(77),s.default=this.tsEatThenParseType(29),this.finishNode(s,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.match(45))return this.tsParseTypeParameters()}tsParseTypeParameters(){let s=this.startNode();this.match(45)||this.match(134)?this.next():this.unexpected();let l={value:-1};return s.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),!1,!0,l),s.params.length===0&&this.raise(Ge.EmptyTypeParameters,{node:s}),l.value!==-1&&this.addExtra(s,"trailingComma",l.value),this.finishNode(s,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){return this.lookahead().type===71?(this.next(),this.tsParseTypeReference()):null}tsFillSignature(s,l){let g=s===19;l.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),l.parameters=this.tsParseBindingListForSignature(),(g||this.match(s))&&(l.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(s))}tsParseBindingListForSignature(){return this.parseBindingList(11,41).map(s=>(s.type!=="Identifier"&&s.type!=="RestElement"&&s.type!=="ObjectPattern"&&s.type!=="ArrayPattern"&&this.raise(Ge.UnsupportedSignatureParameterKind,{node:s},s.type),s))}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(s,l){return this.tsFillSignature(14,l),this.tsParseTypeMemberSemicolon(),this.finishNode(l,s)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!D(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(s){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);let l=this.parseIdentifier();l.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(l),this.expect(3),s.parameters=[l];let g=this.tsTryParseTypeAnnotation();return g&&(s.typeAnnotation=g),this.tsParseTypeMemberSemicolon(),this.finishNode(s,"TSIndexSignature")}tsParsePropertyOrMethodSignature(s,l){this.eat(17)&&(s.optional=!0);let g=s;if(this.match(10)||this.match(45)){l&&this.raise(Ge.ReadonlyForMethodSignature,{node:s});let w=g;w.kind&&this.match(45)&&this.raise(Ge.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,w),this.tsParseTypeMemberSemicolon();let U="parameters",q="typeAnnotation";if(w.kind==="get")w[U].length>0&&(this.raise(h.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(w[U][0])&&this.raise(Ge.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(w.kind==="set"){if(w[U].length!==1)this.raise(h.BadSetterArity,{at:this.state.curPosition()});else{let oe=w[U][0];this.isThisParam(oe)&&this.raise(Ge.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),oe.type==="Identifier"&&oe.optional&&this.raise(Ge.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),oe.type==="RestElement"&&this.raise(Ge.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}w[q]&&this.raise(Ge.SetAccesorCannotHaveReturnType,{node:w[q]})}else w.kind="method";return this.finishNode(w,"TSMethodSignature")}{let w=g;l&&(w.readonly=!0);let U=this.tsTryParseTypeAnnotation();return U&&(w.typeAnnotation=U),this.tsParseTypeMemberSemicolon(),this.finishNode(w,"TSPropertySignature")}}tsParseTypeMember(){let s=this.startNode();if(this.match(10)||this.match(45))return this.tsParseSignatureMember("TSCallSignatureDeclaration",s);if(this.match(73)){let g=this.startNode();return this.next(),this.match(10)||this.match(45)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",s):(s.key=this.createIdentifier(g,"new"),this.tsParsePropertyOrMethodSignature(s,!1))}return this.tsParseModifiers(s,["readonly"],["declare","abstract","private","protected","public","static","override"],Ge.InvalidModifierOnTypeMember),this.tsTryParseIndexSignature(s)||(this.parsePropertyName(s),s.computed||s.key.type!=="Identifier"||s.key.name!=="get"&&s.key.name!=="set"||!this.tsTokenCanFollowModifier()||(s.kind=s.key.name,this.parsePropertyName(s)),this.tsParsePropertyOrMethodSignature(s,!!s.readonly))}tsParseTypeLiteral(){let s=this.startNode();return s.members=this.tsParseObjectTypeMembers(),this.finishNode(s,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let s=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),s}tsIsStartOfMappedType(){return this.next(),this.eat(49)?this.isContextual(114):(this.isContextual(114)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(54))))}tsParseMappedTypeParameter(){let s=this.startNode();return s.name=this.tsParseTypeParameterName(),s.constraint=this.tsExpectThenParseType(54),this.finishNode(s,"TSTypeParameter")}tsParseMappedType(){let s=this.startNode();return this.expect(5),this.match(49)?(s.readonly=this.state.value,this.next(),this.expectContextual(114)):this.eatContextual(114)&&(s.readonly=!0),this.expect(0),s.typeParameter=this.tsParseMappedTypeParameter(),s.nameType=this.eatContextual(89)?this.tsParseType():null,this.expect(3),this.match(49)?(s.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(s.optional=!0),s.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(s,"TSMappedType")}tsParseTupleType(){let s=this.startNode();s.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let l=!1,g=null;return s.elementTypes.forEach(w=>{var U;let{type:q}=w;!l||q==="TSRestType"||q==="TSOptionalType"||q==="TSNamedTupleMember"&&w.optional||this.raise(Ge.OptionalTypeBeforeRequired,{node:w}),l=l||q==="TSNamedTupleMember"&&w.optional||q==="TSOptionalType",q==="TSRestType"&&(q=(w=w.typeAnnotation).type);let oe=q==="TSNamedTupleMember";g=(U=g)!=null?U:oe,g!==oe&&this.raise(Ge.MixedLabeledAndUnlabeledElements,{node:w})}),this.finishNode(s,"TSTupleType")}tsParseTupleElementType(){let{start:s,startLoc:l}=this.state,g=this.eat(21),w=this.tsParseType(),U=this.eat(17);if(this.eat(14)){let q=this.startNodeAtNode(w);q.optional=U,w.type!=="TSTypeReference"||w.typeParameters||w.typeName.type!=="Identifier"?(this.raise(Ge.InvalidTupleMemberLabel,{node:w}),q.label=w):q.label=w.typeName,q.elementType=this.tsParseType(),w=this.finishNode(q,"TSNamedTupleMember")}else if(U){let q=this.startNodeAtNode(w);q.typeAnnotation=w,w=this.finishNode(q,"TSOptionalType")}if(g){let q=this.startNodeAt(s,l);q.typeAnnotation=w,w=this.finishNode(q,"TSRestType")}return w}tsParseParenthesizedType(){let s=this.startNode();return this.expect(10),s.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(s,"TSParenthesizedType")}tsParseFunctionOrConstructorType(s,l){let g=this.startNode();return s==="TSConstructorType"&&(g.abstract=!!l,l&&this.next(),this.next()),this.tsFillSignature(19,g),this.finishNode(g,s)}tsParseLiteralTypeNode(){let s=this.startNode();return s.literal=(()=>{switch(this.state.type){case 126:case 127:case 125:case 81:case 82:return this.parseExprAtom();default:throw this.unexpected()}})(),this.finishNode(s,"TSLiteralType")}tsParseTemplateLiteralType(){let s=this.startNode();return s.literal=this.parseTemplate(!1),this.finishNode(s,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let s=this.tsParseThisTypeNode();return this.isContextual(109)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(s):s}tsParseNonArrayType(){switch(this.state.type){case 125:case 126:case 127:case 81:case 82:return this.tsParseLiteralTypeNode();case 49:if(this.state.value==="-"){let s=this.startNode(),l=this.lookahead();if(l.type!==126&&l.type!==127)throw this.unexpected();return s.literal=this.parseMaybeUnary(),this.finishNode(s,"TSLiteralType")}break;case 74:return this.tsParseThisTypeOrThisTypePredicate();case 83:return this.tsParseTypeQuery();case 79:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:s}=this.state;if(D(s)||s===84||s===80){let l=s===84?"TSVoidKeyword":s===80?"TSNullKeyword":function(g){switch(g){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.state.value);if(l!==void 0&&this.lookaheadCharCode()!==46){let g=this.startNode();return this.next(),this.finishNode(g,l)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let s=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let l=this.startNodeAtNode(s);l.elementType=s,this.expect(3),s=this.finishNode(l,"TSArrayType")}else{let l=this.startNodeAtNode(s);l.objectType=s,l.indexType=this.tsParseType(),this.expect(3),s=this.finishNode(l,"TSIndexedAccessType")}return s}tsParseTypeOperator(){let s=this.startNode(),l=this.state.value;return this.next(),s.operator=l,s.typeAnnotation=this.tsParseTypeOperatorOrHigher(),l==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(s),this.finishNode(s,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(s){switch(s.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Ge.UnexpectedReadonly,{node:s})}}tsParseInferType(){let s=this.startNode();this.expectContextual(108);let l=this.startNode();return l.name=this.tsParseTypeParameterName(),s.typeParameter=this.finishNode(l,"TSTypeParameter"),this.finishNode(s,"TSInferType")}tsParseTypeOperatorOrHigher(){var s;return(s=this.state.type)>=113&&s<=115&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(108)?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(s,l,g){let w=this.startNode(),U=this.eat(g),q=[];do q.push(l());while(this.eat(g));return q.length!==1||U?(w.types=q,this.finishNode(w,s)):q[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),43)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),41)}tsIsStartOfFunctionType(){return!!this.match(45)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(D(this.state.type)||this.match(74))return this.next(),!0;if(this.match(5)){let s=1;for(this.next();s>0;)this.match(5)?++s:this.match(8)&&--s,this.next();return!0}if(this.match(0)){let s=1;for(this.next();s>0;)this.match(0)?++s:this.match(3)&&--s,this.next();return!0}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(s){return this.tsInType(()=>{let l=this.startNode();this.expect(s);let g=this.startNode(),w=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(w&&this.match(74)){let oe=this.tsParseThisTypeOrThisTypePredicate();return oe.type==="TSThisType"?(g.parameterName=oe,g.asserts=!0,g.typeAnnotation=null,oe=this.finishNode(g,"TSTypePredicate")):(this.resetStartLocationFromNode(oe,g),oe.asserts=!0),l.typeAnnotation=oe,this.finishNode(l,"TSTypeAnnotation")}let U=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!U)return w?(g.parameterName=this.parseIdentifier(),g.asserts=w,g.typeAnnotation=null,l.typeAnnotation=this.finishNode(g,"TSTypePredicate"),this.finishNode(l,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,l);let q=this.tsParseTypeAnnotation(!1);return g.parameterName=U,g.typeAnnotation=q,g.asserts=w,l.typeAnnotation=this.finishNode(g,"TSTypePredicate"),this.finishNode(l,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let s=this.parseIdentifier();if(this.isContextual(109)&&!this.hasPrecedingLineBreak())return this.next(),s}tsParseTypePredicateAsserts(){if(this.state.type!==102)return!1;let s=this.state.containsEsc;return this.next(),!(!D(this.state.type)&&!this.match(74))&&(s&&this.raise(h.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc},"asserts"),!0)}tsParseTypeAnnotation(s=!0,l=this.startNode()){return this.tsInType(()=>{s&&this.expect(14),l.typeAnnotation=this.tsParseType()}),this.finishNode(l,"TSTypeAnnotation")}tsParseType(){Br(this.state.inType);let s=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(77))return s;let l=this.startNodeAtNode(s);return l.checkType=s,l.extendsType=this.tsParseNonConditionalType(),this.expect(17),l.trueType=this.tsParseType(),this.expect(14),l.falseType=this.tsParseType(),this.finishNode(l,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(116)&&this.lookahead().type===73}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(73)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Ge.ReservedTypeAssertion,{at:this.state.startLoc});let s=this.startNode(),l=this.tsTryNextParseConstantContext();return s.typeAnnotation=l||this.tsNextThenParseType(),this.expect(46),s.expression=this.parseMaybeUnary(),this.finishNode(s,"TSTypeAssertion")}tsParseHeritageClause(s){let l=this.state.startLoc,g=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));return g.length||this.raise(Ge.EmptyHeritageClauseType,{at:l},s),g}tsParseExpressionWithTypeArguments(){let s=this.startNode();return s.expression=this.tsParseEntityName(!1),this.match(45)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(s){D(this.state.type)?(s.id=this.parseIdentifier(),this.checkLVal(s.id,"typescript interface declaration",130)):(s.id=null,this.raise(Ge.MissingInterfaceName,{at:this.state.startLoc})),s.typeParameters=this.tsTryParseTypeParameters(),this.eat(77)&&(s.extends=this.tsParseHeritageClause("extends"));let l=this.startNode();return l.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),s.body=this.finishNode(l,"TSInterfaceBody"),this.finishNode(s,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(s){return s.id=this.parseIdentifier(),this.checkLVal(s.id,"typescript type alias",2),s.typeParameters=this.tsTryParseTypeParameters(),s.typeAnnotation=this.tsInType(()=>{if(this.expect(29),this.isContextual(107)&&this.lookahead().type!==16){let l=this.startNode();return this.next(),this.finishNode(l,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(s,"TSTypeAliasDeclaration")}tsInNoContext(s){let l=this.state.context;this.state.context=[l[0]];try{return s()}finally{this.state.context=l}}tsInType(s){let l=this.state.inType;this.state.inType=!0;try{return s()}finally{this.state.inType=l}}tsEatThenParseType(s){return this.match(s)?this.tsNextThenParseType():void 0}tsExpectThenParseType(s){return this.tsDoThenParseType(()=>this.expect(s))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(s){return this.tsInType(()=>(s(),this.tsParseType()))}tsParseEnumMember(){let s=this.startNode();return s.id=this.match(125)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(29)&&(s.initializer=this.parseMaybeAssignAllowIn()),this.finishNode(s,"TSEnumMember")}tsParseEnumDeclaration(s,l){return l&&(s.const=!0),s.id=this.parseIdentifier(),this.checkLVal(s.id,"typescript enum declaration",l?779:267),this.expect(5),s.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(s,"TSEnumDeclaration")}tsParseModuleBlock(){let s=this.startNode();return this.scope.enter(0),this.expect(5),this.parseBlockOrModuleBlockBody(s.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(s,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(s,l=!1){if(s.id=this.parseIdentifier(),l||this.checkLVal(s.id,"module or namespace declaration",1024),this.eat(16)){let g=this.startNode();this.tsParseModuleOrNamespaceDeclaration(g,!0),s.body=g}else this.scope.enter(256),this.prodParam.enter(0),s.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(s,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(s){return this.isContextual(105)?(s.global=!0,s.id=this.parseIdentifier()):this.match(125)?s.id=this.parseExprAtom():this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),s.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(s,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(s,l){s.isExport=l||!1,s.id=this.parseIdentifier(),this.checkLVal(s.id,"import equals declaration",9),this.expect(29);let g=this.tsParseModuleReference();return s.importKind==="type"&&g.type!=="TSExternalModuleReference"&&this.raise(Ge.ImportAliasHasImportType,{node:g}),s.moduleReference=g,this.semicolon(),this.finishNode(s,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(112)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let s=this.startNode();if(this.expectContextual(112),this.expect(10),!this.match(125))throw this.unexpected();return s.expression=this.parseExprAtom(),this.expect(11),this.finishNode(s,"TSExternalModuleReference")}tsLookAhead(s){let l=this.state.clone(),g=s();return this.state=l,g}tsTryParseAndCatch(s){let l=this.tryParse(g=>s()||g());if(!l.aborted&&l.node)return l.error&&(this.state=l.failState),l.node}tsTryParse(s){let l=this.state.clone(),g=s();return g!==void 0&&g!==!1?g:void(this.state=l)}tsTryParseDeclare(s){if(this.isLineTerminator())return;let l,g=this.state.type;return this.isContextual(95)&&(g=70,l="let"),this.tsInAmbientContext(()=>{switch(g){case 64:return s.declare=!0,this.parseFunctionStatement(s,!1,!0);case 76:return s.declare=!0,this.parseClass(s,!0,!1);case 71:if(this.match(71)&&this.isLookaheadContextual("enum"))return this.expect(71),this.expectContextual(118),this.tsParseEnumDeclaration(s,!0);case 70:return l=l||this.state.value,this.parseVarStatement(s,l);case 105:return this.tsParseAmbientExternalModuleDeclaration(s);default:if(D(g))return this.tsParseDeclaration(s,this.state.value,!0)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}tsParseExpressionStatement(s,l){switch(l.name){case"declare":{let g=this.tsTryParseDeclare(s);if(g)return g.declare=!0,g;break}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let g=s;return g.global=!0,g.id=l,g.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(g,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(s,l.name,!1)}}tsParseDeclaration(s,l,g){switch(l){case"abstract":if(this.tsCheckLineTerminator(g)&&(this.match(76)||D(this.state.type)))return this.tsParseAbstractDeclaration(s);break;case"enum":if(g||D(this.state.type))return g&&this.next(),this.tsParseEnumDeclaration(s,!1);break;case"interface":if(this.tsCheckLineTerminator(g)&&D(this.state.type))return this.tsParseInterfaceDeclaration(s);break;case"module":if(this.tsCheckLineTerminator(g)){if(this.match(125))return this.tsParseAmbientExternalModuleDeclaration(s);if(D(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(s)}break;case"namespace":if(this.tsCheckLineTerminator(g)&&D(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(s);break;case"type":if(this.tsCheckLineTerminator(g)&&D(this.state.type))return this.tsParseTypeAliasDeclaration(s)}}tsCheckLineTerminator(s){return s?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(s,l){if(!this.match(45))return;let g=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let w=this.tsTryParseAndCatch(()=>{let U=this.startNodeAt(s,l);return U.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams(U),U.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),U});return this.state.maybeInArrowParameters=g,w?this.parseArrowExpression(w,null,!0):void 0}tsParseTypeArguments(){let s=this.startNode();return s.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(45),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),s.params.length===0&&this.raise(Ge.EmptyTypeArguments,{node:s}),this.expect(46),this.finishNode(s,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(s=this.state.type)>=116&&s<=122;var s}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(s,l){let g=this.state.start,w=this.state.startLoc,U,q=!1,oe=!1;if(s!==void 0){let Ie={};this.tsParseModifiers(Ie,["public","private","protected","override","readonly"]),U=Ie.accessibility,oe=Ie.override,q=Ie.readonly,s===!1&&(U||q||oe)&&this.raise(Ge.UnexpectedParameterModifier,{at:w})}let ce=this.parseMaybeDefault();this.parseAssignableListItemTypes(ce);let ve=this.parseMaybeDefault(ce.start,ce.loc.start,ce);if(U||q||oe){let Ie=this.startNodeAt(g,w);return l.length&&(Ie.decorators=l),U&&(Ie.accessibility=U),q&&(Ie.readonly=q),oe&&(Ie.override=oe),ve.type!=="Identifier"&&ve.type!=="AssignmentPattern"&&this.raise(Ge.UnsupportedParameterPropertyKind,{node:Ie}),Ie.parameter=ve,this.finishNode(Ie,"TSParameterProperty")}return l.length&&(ce.decorators=l),ve}parseFunctionBodyAndFinish(s,l,g=!1){this.match(14)&&(s.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let w=l==="FunctionDeclaration"?"TSDeclareFunction":l==="ClassMethod"||l==="ClassPrivateMethod"?"TSDeclareMethod":void 0;w&&!this.match(5)&&this.isLineTerminator()?this.finishNode(s,w):w==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(Ge.DeclareFunctionHasImplementation,{node:s}),s.declare)?super.parseFunctionBodyAndFinish(s,w,g):super.parseFunctionBodyAndFinish(s,l,g)}registerFunctionStatementId(s){!s.body&&s.id?this.checkLVal(s.id,"function name",1024):super.registerFunctionStatementId(...arguments)}tsCheckForInvalidTypeCasts(s){s.forEach(l=>{(l==null?void 0:l.type)==="TSTypeCastExpression"&&this.raise(Ge.UnexpectedTypeAnnotation,{node:l.typeAnnotation})})}toReferencedList(s,l){return this.tsCheckForInvalidTypeCasts(s),s}parseArrayLike(...s){let l=super.parseArrayLike(...s);return l.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(l.elements),l}parseSubscript(s,l,g,w,U){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let oe=this.startNodeAt(l,g);return oe.expression=s,this.finishNode(oe,"TSNonNullExpression")}let q=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(w)return U.stop=!0,s;U.optionalChainMember=q=!0,this.next()}if(this.match(45)){let oe,ce=this.tsTryParseAndCatch(()=>{if(!w&&this.atPossibleAsyncArrow(s)){let We=this.tsTryParseGenericAsyncArrowFunction(l,g);if(We)return We}let ve=this.startNodeAt(l,g);ve.callee=s;let Ie=this.tsParseTypeArguments();if(Ie){if(q&&!this.match(10)&&(oe=this.state.curPosition(),this.unexpected()),!w&&this.eat(10))return ve.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(ve.arguments),ve.typeParameters=Ie,U.optionalChainMember&&(ve.optional=q),this.finishCallExpression(ve,U.optionalChainMember);if(ae(this.state.type)){let We=this.parseTaggedTemplateExpression(s,l,g,U);return We.typeParameters=Ie,We}}this.unexpected()});if(oe&&this.unexpected(oe,10),ce)return ce}return super.parseSubscript(s,l,g,w,U)}parseNewArguments(s){if(this.match(45)){let l=this.tsTryParseAndCatch(()=>{let g=this.tsParseTypeArguments();return this.match(10)||this.unexpected(),g});l&&(s.typeParameters=l)}super.parseNewArguments(s)}parseExprOp(s,l,g,w){if(re(54)>w&&!this.hasPrecedingLineBreak()&&this.isContextual(89)){let U=this.startNodeAt(l,g);U.expression=s;let q=this.tsTryNextParseConstantContext();return U.typeAnnotation=q||this.tsNextThenParseType(),this.finishNode(U,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(U,l,g,w)}return super.parseExprOp(s,l,g,w)}checkReservedWord(s,l,g,w){}checkDuplicateExports(){}parseImport(s){if(s.importKind="value",D(this.state.type)||this.match(51)||this.match(5)){let g=this.lookahead();if(this.isContextual(122)&&g.type!==12&&g.type!==93&&g.type!==29&&(s.importKind="type",this.next(),g=this.lookahead()),D(this.state.type)&&g.type===29)return this.tsParseImportEqualsDeclaration(s)}let l=super.parseImport(s);return l.importKind==="type"&&l.specifiers.length>1&&l.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(Ge.TypeImportCannotSpecifyDefaultAndNamed,{node:l}),l}parseExport(s){if(this.match(79))return this.next(),this.isContextual(122)&&this.lookaheadCharCode()!==61?(s.importKind="type",this.next()):s.importKind="value",this.tsParseImportEqualsDeclaration(s,!0);if(this.eat(29)){let l=s;return l.expression=this.parseExpression(),this.semicolon(),this.finishNode(l,"TSExportAssignment")}if(this.eatContextual(89)){let l=s;return this.expectContextual(120),l.id=this.parseIdentifier(),this.semicolon(),this.finishNode(l,"TSNamespaceExportDeclaration")}return this.isContextual(122)&&this.lookahead().type===5?(this.next(),s.exportKind="type"):s.exportKind="value",super.parseExport(s)}isAbstractClass(){return this.isContextual(116)&&this.lookahead().type===76}parseExportDefaultExpression(){if(this.isAbstractClass()){let s=this.startNode();return this.next(),s.abstract=!0,this.parseClass(s,!0,!0),s}if(this.match(121)){let s=this.startNode();this.next();let l=this.tsParseInterfaceDeclaration(s);if(l)return l}return super.parseExportDefaultExpression()}parseStatementContent(s,l){if(this.state.type===71&&this.lookahead().type===118){let g=this.startNode();return this.next(),this.expectContextual(118),this.tsParseEnumDeclaration(g,!0)}return super.parseStatementContent(s,l)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(s,l){return l.some(g=>fn(g)?s.accessibility===g:!!s[g])}tsIsStartOfStaticBlocks(){return this.isContextual(100)&&this.lookaheadCharCode()===123}parseClassMember(s,l,g){let w=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers(l,w,void 0,void 0,!0);let U=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(l,w)&&this.raise(Ge.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),this.parseClassStaticBlock(s,l)):this.parseClassMemberWithIsStatic(s,l,g,!!l.static)};l.declare?this.tsInAmbientContext(U):U()}parseClassMemberWithIsStatic(s,l,g,w){let U=this.tsTryParseIndexSignature(l);if(U)return s.body.push(U),l.abstract&&this.raise(Ge.IndexSignatureHasAbstract,{node:l}),l.accessibility&&this.raise(Ge.IndexSignatureHasAccessibility,{node:l},l.accessibility),l.declare&&this.raise(Ge.IndexSignatureHasDeclare,{node:l}),void(l.override&&this.raise(Ge.IndexSignatureHasOverride,{node:l}));!this.state.inAbstractClass&&l.abstract&&this.raise(Ge.NonAbstractClassHasAbstractMethod,{node:l}),l.override&&(g.hadSuperClass||this.raise(Ge.OverrideNotInSubClass,{node:l})),super.parseClassMemberWithIsStatic(s,l,g,w)}parsePostMemberNameModifiers(s){this.eat(17)&&(s.optional=!0),s.readonly&&this.match(10)&&this.raise(Ge.ClassMethodHasReadonly,{node:s}),s.declare&&this.match(10)&&this.raise(Ge.ClassMethodHasDeclare,{node:s})}parseExpressionStatement(s,l){return(l.type==="Identifier"?this.tsParseExpressionStatement(s,l):void 0)||super.parseExpressionStatement(s,l)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(s,l,g,w){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(s,l,g,w);let U=this.tryParse(()=>super.parseConditional(s,l,g));return U.node?(U.error&&(this.state=U.failState),U.node):(U.error&&super.setOptionalParametersError(w,U.error),s)}parseParenItem(s,l,g){if(s=super.parseParenItem(s,l,g),this.eat(17)&&(s.optional=!0,this.resetEndLocation(s)),this.match(14)){let w=this.startNodeAt(l,g);return w.expression=s,w.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(w,"TSTypeCastExpression")}return s}parseExportDeclaration(s){let l=this.state.start,g=this.state.startLoc,w=this.eatContextual(117);if(w&&(this.isContextual(117)||!this.shouldParseExportDeclaration()))throw this.raise(Ge.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let U;return D(this.state.type)&&(U=this.tsTryParseExportDeclaration()),U||(U=super.parseExportDeclaration(s)),U&&(U.type==="TSInterfaceDeclaration"||U.type==="TSTypeAliasDeclaration"||w)&&(s.exportKind="type"),U&&w&&(this.resetStartLocation(U,l,g),U.declare=!0),U}parseClassId(s,l,g){if((!l||g)&&this.isContextual(106))return;super.parseClassId(s,l,g,s.declare?1024:139);let w=this.tsTryParseTypeParameters();w&&(s.typeParameters=w)}parseClassPropertyAnnotation(s){!s.optional&&this.eat(35)&&(s.definite=!0);let l=this.tsTryParseTypeAnnotation();l&&(s.typeAnnotation=l)}parseClassProperty(s){if(this.parseClassPropertyAnnotation(s),this.state.isAmbientContext&&this.match(29)&&this.raise(Ge.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),s.abstract&&this.match(29)){let{key:l}=s;this.raise(Ge.AbstractPropertyHasInitializer,{at:this.state.startLoc},l.type!=="Identifier"||s.computed?`[${this.input.slice(l.start,l.end)}]`:l.name)}return super.parseClassProperty(s)}parseClassPrivateProperty(s){return s.abstract&&this.raise(Ge.PrivateElementHasAbstract,{node:s}),s.accessibility&&this.raise(Ge.PrivateElementHasAccessibility,{node:s},s.accessibility),this.parseClassPropertyAnnotation(s),super.parseClassPrivateProperty(s)}pushClassMethod(s,l,g,w,U,q){let oe=this.tsTryParseTypeParameters();oe&&U&&this.raise(Ge.ConstructorHasTypeParameters,{node:oe}),!l.declare||l.kind!=="get"&&l.kind!=="set"||this.raise(Ge.DeclareAccessor,{node:l},l.kind),oe&&(l.typeParameters=oe),super.pushClassMethod(s,l,g,w,U,q)}pushClassPrivateMethod(s,l,g,w){let U=this.tsTryParseTypeParameters();U&&(l.typeParameters=U),super.pushClassPrivateMethod(s,l,g,w)}declareClassPrivateMethodInScope(s,l){s.type!=="TSDeclareMethod"&&(s.type!=="MethodDefinition"||s.value.body)&&super.declareClassPrivateMethodInScope(s,l)}parseClassSuper(s){super.parseClassSuper(s),s.superClass&&this.match(45)&&(s.superTypeParameters=this.tsParseTypeArguments()),this.eatContextual(106)&&(s.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(s,...l){let g=this.tsTryParseTypeParameters();g&&(s.typeParameters=g),super.parseObjPropValue(s,...l)}parseFunctionParams(s,l){let g=this.tsTryParseTypeParameters();g&&(s.typeParameters=g),super.parseFunctionParams(s,l)}parseVarId(s,l){super.parseVarId(s,l),s.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(s.definite=!0);let g=this.tsTryParseTypeAnnotation();g&&(s.id.typeAnnotation=g,this.resetEndLocation(s.id))}parseAsyncArrowFromCallExpression(s,l){return this.match(14)&&(s.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(s,l)}parseMaybeAssign(...s){var l,g,w,U,q,oe,ce;let ve,Ie,We,Qe;if(this.hasPlugin("jsx")&&(this.match(134)||this.match(45))){if(ve=this.state.clone(),Ie=this.tryParse(()=>super.parseMaybeAssign(...s),ve),!Ie.error)return Ie.node;let{context:yt}=this.state,it=yt[yt.length-1];it!==m.j_oTag&&it!==m.j_expr||yt.pop()}if(!((l=Ie)!=null&&l.error||this.match(45)))return super.parseMaybeAssign(...s);ve=ve||this.state.clone();let qe=this.tryParse(yt=>{var it,ht;Qe=this.tsParseTypeParameters();let Et=super.parseMaybeAssign(...s);return(Et.type!=="ArrowFunctionExpression"||(it=Et.extra)!=null&&it.parenthesized)&&yt(),((ht=Qe)==null?void 0:ht.params.length)!==0&&this.resetStartLocationFromNode(Et,Qe),Et.typeParameters=Qe,Et},ve);if(!qe.error&&!qe.aborted)return Qe&&this.reportReservedArrowTypeParam(Qe),qe.node;if(!Ie&&(Br(!this.hasPlugin("jsx")),We=this.tryParse(()=>super.parseMaybeAssign(...s),ve),!We.error))return We.node;if((g=Ie)!=null&&g.node)return this.state=Ie.failState,Ie.node;if(qe.node)return this.state=qe.failState,Qe&&this.reportReservedArrowTypeParam(Qe),qe.node;if((w=We)!=null&&w.node)return this.state=We.failState,We.node;throw(U=Ie)!=null&&U.thrown?Ie.error:qe.thrown?qe.error:(q=We)!=null&&q.thrown?We.error:((oe=Ie)==null?void 0:oe.error)||qe.error||((ce=We)==null?void 0:ce.error)}reportReservedArrowTypeParam(s){var l;s.params.length!==1||(l=s.extra)!=null&&l.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(Ge.ReservedArrowTypeParam,{node:s})}parseMaybeUnary(s){return!this.hasPlugin("jsx")&&this.match(45)?this.tsParseTypeAssertion():super.parseMaybeUnary(s)}parseArrow(s){if(this.match(14)){let l=this.tryParse(g=>{let w=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||g(),w});if(l.aborted)return;l.thrown||(l.error&&(this.state=l.failState),s.returnType=l.node)}return super.parseArrow(s)}parseAssignableListItemTypes(s){this.eat(17)&&(s.type==="Identifier"||this.state.isAmbientContext||this.state.inType||this.raise(Ge.PatternIsOptional,{node:s}),s.optional=!0);let l=this.tsTryParseTypeAnnotation();return l&&(s.typeAnnotation=l),this.resetEndLocation(s),s}isAssignable(s,l){switch(s.type){case"TSTypeCastExpression":return this.isAssignable(s.expression,l);case"TSParameterProperty":return!0;default:return super.isAssignable(s,l)}}toAssignable(s,l=!1){switch(s.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(s),l);case"TSParameterProperty":default:return super.toAssignable(s,l);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(s,l);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":return s.expression=this.toAssignable(s.expression,l),s}}toAssignableParenthesizedExpression(s,l){switch(s.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":return s.expression=this.toAssignable(s.expression,l),s;default:return super.toAssignable(s,l)}}checkLVal(s,l,...g){var w;switch(s.type){case"TSTypeCastExpression":return;case"TSParameterProperty":return void this.checkLVal(s.parameter,"parameter property",...g);case"TSAsExpression":case"TSTypeAssertion":if(!(g[0]||l==="parenthesized expression"||(w=s.extra)!=null&&w.parenthesized)){this.raise(h.InvalidLhs,{node:s},l);break}return void this.checkLVal(s.expression,"parenthesized expression",...g);case"TSNonNullExpression":return void this.checkLVal(s.expression,l,...g);default:return void super.checkLVal(s,l,...g)}}parseBindingAtom(){return this.state.type===74?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(s){if(this.match(45)){let l=this.tsParseTypeArguments();if(this.match(10)){let g=super.parseMaybeDecoratorArguments(s);return g.typeParameters=l,g}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(s)}checkCommaAfterRest(s){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===s?(this.next(),!1):super.checkCommaAfterRest(s)}isClassMethod(){return this.match(45)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(...s){let l=super.parseMaybeDefault(...s);return l.type==="AssignmentPattern"&&l.typeAnnotation&&l.right.start<l.typeAnnotation.start&&this.raise(Ge.TypeAnnotationAfterAssign,{node:l.typeAnnotation}),l}getTokenFromCode(s){if(this.state.inType){if(s===62)return this.finishOp(46,1);if(s===60)return this.finishOp(45,1)}return super.getTokenFromCode(s)}reScan_lt_gt(){let{type:s}=this.state;s===45?(this.state.pos-=1,this.readToken_lt()):s===46&&(this.state.pos-=1,this.readToken_gt())}toAssignableList(s){for(let l=0;l<s.length;l++){let g=s[l];if(g)switch(g.type){case"TSTypeCastExpression":s[l]=this.typeCastToParameter(g);break;case"TSAsExpression":case"TSTypeAssertion":this.state.maybeInArrowParameters?this.raise(Ge.UnexpectedTypeCastInParameter,{node:g}):s[l]=this.typeCastToParameter(g)}}return super.toAssignableList(...arguments)}typeCastToParameter(s){return s.expression.typeAnnotation=s.typeAnnotation,this.resetEndLocation(s.expression,s.typeAnnotation.loc.end),s.expression}shouldParseArrow(s){return this.match(14)?s.every(l=>this.isAssignable(l,!0)):super.shouldParseArrow(s)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(s){if(this.match(45)){let l=this.tsTryParseAndCatch(()=>this.tsParseTypeArguments());l&&(s.typeParameters=l)}return super.jsxParseOpeningElementAfterName(s)}getGetterSetterExpectedParamCount(s){let l=super.getGetterSetterExpectedParamCount(s),g=this.getObjectOrClassMethodParams(s)[0];return g&&this.isThisParam(g)?l+1:l}parseCatchClauseParam(){let s=super.parseCatchClauseParam(),l=this.tsTryParseTypeAnnotation();return l&&(s.typeAnnotation=l,this.resetEndLocation(s)),s}tsInAmbientContext(s){let l=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return s()}finally{this.state.isAmbientContext=l}}parseClass(s,...l){let g=this.state.inAbstractClass;this.state.inAbstractClass=!!s.abstract;try{return super.parseClass(s,...l)}finally{this.state.inAbstractClass=g}}tsParseAbstractDeclaration(s){if(this.match(76))return s.abstract=!0,this.parseClass(s,!0,!1);if(this.isContextual(121)){if(!this.hasFollowingLineBreak())return s.abstract=!0,this.raise(Ge.NonClassMethodPropertyHasAbstractModifer,{node:s}),this.next(),this.tsParseInterfaceDeclaration(s)}else this.unexpected(null,76)}parseMethod(...s){let l=super.parseMethod(...s);if(l.abstract&&(this.hasPlugin("estree")?!!l.value.body:!!l.body)){let{key:g}=l;this.raise(Ge.AbstractMethodHasImplementation,{node:l},g.type!=="Identifier"||l.computed?`[${this.input.slice(g.start,g.end)}]`:g.name)}return l}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(s,l,g,w){return!l&&w?(this.parseTypeOnlyImportExportSpecifier(s,!1,g),this.finishNode(s,"ExportSpecifier")):(s.exportKind="value",super.parseExportSpecifier(s,l,g,w))}parseImportSpecifier(s,l,g,w){return!l&&w?(this.parseTypeOnlyImportExportSpecifier(s,!0,g),this.finishNode(s,"ImportSpecifier")):(s.importKind="value",super.parseImportSpecifier(s,l,g,w))}parseTypeOnlyImportExportSpecifier(s,l,g){let w=l?"imported":"local",U=l?"local":"exported",q,oe=s[w],ce=!1,ve=!0,Ie=oe.loc.start;if(this.isContextual(89)){let We=this.parseIdentifier();if(this.isContextual(89)){let Qe=this.parseIdentifier();_(this.state.type)?(ce=!0,oe=We,q=this.parseIdentifier(),ve=!1):(q=Qe,ve=!1)}else _(this.state.type)?(ve=!1,q=this.parseIdentifier()):(ce=!0,oe=We)}else _(this.state.type)&&(ce=!0,oe=this.parseIdentifier());ce&&g&&this.raise(l?Ge.TypeModifierIsUsedInTypeImports:Ge.TypeModifierIsUsedInTypeExports,{at:Ie}),s[w]=oe,s[U]=q,s[l?"importKind":"exportKind"]=ce?"type":"value",ve&&this.eatContextual(89)&&(s[U]=l?this.parseIdentifier():this.parseModuleExportName()),s[U]||(s[U]=tr(s[w])),l&&this.checkLVal(s[U],"import specifier",9)}},v8intrinsic:Ee=>class extends Ee{parseV8Intrinsic(){if(this.match(50)){let s=this.state.startLoc,l=this.startNode();if(this.next(),D(this.state.type)){let g=this.parseIdentifierName(this.state.start),w=this.createIdentifier(l,g);if(w.type="V8IntrinsicIdentifier",this.match(10))return w}this.unexpected(s)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}},placeholders:Ee=>class extends Ee{parsePlaceholder(s){if(this.match(136)){let l=this.startNode();return this.next(),this.assertNoSpace("Unexpected space in placeholder."),l.name=super.parseIdentifier(!0),this.assertNoSpace("Unexpected space in placeholder."),this.expect(136),this.finishPlaceholder(l,s)}}finishPlaceholder(s,l){let g=!(!s.expectedNode||s.type!=="Placeholder");return s.expectedNode=l,g?s:this.finishNode(s,"Placeholder")}getTokenFromCode(s){return s===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(136,2):super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(s){s!==void 0&&super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(s){s.type!=="Placeholder"&&super.checkLVal(...arguments)}toAssignable(s){return s&&s.type==="Placeholder"&&s.expectedNode==="Expression"?(s.expectedNode="Pattern",s):super.toAssignable(...arguments)}isLet(s){return super.isLet(s)?!0:!this.isContextual(95)||s?!1:this.lookahead().type===136}verifyBreakContinue(s){s.label&&s.label.type==="Placeholder"||super.verifyBreakContinue(...arguments)}parseExpressionStatement(s,l){if(l.type!=="Placeholder"||l.extra&&l.extra.parenthesized)return super.parseExpressionStatement(...arguments);if(this.match(14)){let g=s;return g.label=this.finishPlaceholder(l,"Identifier"),this.next(),g.body=this.parseStatement("label"),this.finishNode(g,"LabeledStatement")}return this.semicolon(),s.name=l.name,this.finishPlaceholder(s,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(s,l,g){let w=l?"ClassDeclaration":"ClassExpression";this.next(),this.takeDecorators(s);let U=this.state.strict,q=this.parsePlaceholder("Identifier");if(q){if(!(this.match(77)||this.match(136)||this.match(5))){if(g||!l)return s.id=null,s.body=this.finishPlaceholder(q,"ClassBody"),this.finishNode(s,w);throw this.raise(jn.ClassNameIsRequired,{at:this.state.startLoc})}s.id=q}else this.parseClassId(s,l,g);return this.parseClassSuper(s),s.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!s.superClass,U),this.finishNode(s,w)}parseExport(s){let l=this.parsePlaceholder("Identifier");if(!l)return super.parseExport(...arguments);if(!this.isContextual(93)&&!this.match(12))return s.specifiers=[],s.source=null,s.declaration=this.finishPlaceholder(l,"Declaration"),this.finishNode(s,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let g=this.startNode();return g.exported=l,s.specifiers=[this.finishNode(g,"ExportDefaultSpecifier")],super.parseExport(s)}isExportDefaultSpecifier(){if(this.match(61)){let s=this.nextTokenStart();if(this.isUnparsedContextual(s,"from")&&this.input.startsWith(ne(136),this.nextTokenStartSince(s+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(s){return!!(s.specifiers&&s.specifiers.length>0)||super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(s){let{specifiers:l}=s;l!=null&&l.length&&(s.specifiers=l.filter(g=>g.exported.type==="Placeholder")),super.checkExport(s),s.specifiers=l}parseImport(s){let l=this.parsePlaceholder("Identifier");if(!l)return super.parseImport(...arguments);if(s.specifiers=[],!this.isContextual(93)&&!this.match(12))return s.source=this.finishPlaceholder(l,"StringLiteral"),this.semicolon(),this.finishNode(s,"ImportDeclaration");let g=this.startNodeAtNode(l);return g.local=l,this.finishNode(g,"ImportDefaultSpecifier"),s.specifiers.push(g),this.eat(12)&&(this.maybeParseStarImportSpecifier(s)||this.parseNamedImportSpecifiers(s)),this.expectContextual(93),s.source=this.parseImportSource(),this.semicolon(),this.finishNode(s,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}}},$r=Object.keys(br),nr={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0},zt=Ee=>Ee.type==="ParenthesizedExpression"?zt(Ee.expression):Ee,hn=new Map([["ArrowFunctionExpression","arrow function"],["AssignmentExpression","assignment"],["ConditionalExpression","conditional"],["YieldExpression","yield"]]),St={kind:"loop"},Bt={kind:"switch"},Ln=/[\uD800-\uDFFF]/u,jr=/in(?:stanceof)?/y;class Ur extends class extends class extends class extends class extends class extends class extends class extends class extends class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(s){if(typeof s=="string")return this.plugins.has(s);{let[l,g]=s;if(!this.hasPlugin(l))return!1;let w=this.plugins.get(l);for(let U of Object.keys(g))if((w==null?void 0:w[U])!==g[U])return!1;return!0}}getPluginOption(s,l){var g;return(g=this.plugins.get(s))==null?void 0:g[l]}}{addComment(s){this.filename&&(s.loc.filename=this.filename),this.state.comments.push(s)}processComment(s){let{commentStack:l}=this.state,g=l.length;if(g===0)return;let w=g-1,U=l[w];U.start===s.end&&(U.leadingNode=s,w--);let{start:q}=s;for(;w>=0;w--){let oe=l[w],ce=oe.end;if(!(ce>q)){ce===q&&(oe.trailingNode=s);break}oe.containingNode=s,this.finalizeComment(oe),l.splice(w,1)}}finalizeComment(s){let{comments:l}=s;if(s.leadingNode!==null||s.trailingNode!==null)s.leadingNode!==null&&i(s.leadingNode,l),s.trailingNode!==null&&function(g,w){g.leadingComments===void 0?g.leadingComments=w:g.leadingComments.unshift(...w)}(s.trailingNode,l);else{let{containingNode:g,start:w}=s;if(this.input.charCodeAt(w-1)===44)switch(g.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":u(g,g.properties,s);break;case"CallExpression":case"OptionalCallExpression":u(g,g.arguments,s);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":u(g,g.params,s);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":u(g,g.elements,s);break;case"ExportNamedDeclaration":case"ImportDeclaration":u(g,g.specifiers,s);break;default:a(g,l)}else a(g,l)}}finalizeRemainingComments(){let{commentStack:s}=this.state;for(let l=s.length-1;l>=0;l--)this.finalizeComment(s[l]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(s){let{commentStack:l}=this.state,{length:g}=l;if(g===0)return;let w=l[g-1];w.leadingNode===s&&(w.leadingNode=null)}takeSurroundingComments(s,l,g){let{commentStack:w}=this.state,U=w.length;if(U===0)return;let q=U-1;for(;q>=0;q--){let oe=w[q],ce=oe.end;if(oe.start===g)oe.leadingNode=s;else if(ce===l)oe.trailingNode=s;else if(ce<l)break}}}{raise({code:s,reasonCode:l,template:g},w,...U){return this.raiseWithData(w.node?w.node.loc.start:w.at,{code:s,reasonCode:l},g,...U)}raiseOverwrite(s,{code:l,template:g},...w){let U=t.get(s),q=g.replace(/%(\d+)/g,(oe,ce)=>w[ce])+` (${s.line}:${s.column})`;if(this.options.errorRecovery){let oe=this.state.errors;for(let ce=oe.length-1;ce>=0;ce--){let ve=oe[ce];if(ve.pos===U)return Object.assign(ve,{message:q});if(ve.pos<U)break}}return this._raise({code:l,loc:s,pos:U},q)}raiseWithData(s,l,g,...w){let U=t.get(s),q=g.replace(/%(\d+)/g,(oe,ce)=>w[ce])+` (${s.line}:${s.column})`;return this._raise(Object.assign({loc:s,pos:U},l),q)}_raise(s,l){let g=new SyntaxError(l);if(Object.assign(g,s),this.options.errorRecovery)return this.isLookahead||this.state.errors.push(g),g;throw g}}{constructor(s,l){super(),this.isLookahead=void 0,this.tokens=[],this.state=new _t,this.state.init(s),this.input=l,this.length=l.length,this.isLookahead=!1}pushToken(s){this.tokens.length=this.state.tokensLength,this.tokens.push(s),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Rt(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(s){return!!this.match(s)&&(this.next(),!0)}match(s){return this.state.type===s}createLookaheadState(s){return{pos:s.pos,value:null,type:s.type,start:s.start,end:s.end,context:[this.curContext()],inType:s.inType,startLoc:s.startLoc,lastTokEndLoc:s.lastTokEndLoc,curLine:s.curLine,lineStart:s.lineStart,curPosition:s.curPosition}}lookahead(){let s=this.state;this.state=this.createLookaheadState(s),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let l=this.state;return this.state=s,l}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(s){return ft.lastIndex=s,ft.test(this.input)?ft.lastIndex:s}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(s){let l=this.input.charCodeAt(s);if((64512&l)==55296&&++s<this.input.length){let g=this.input.charCodeAt(s);(64512&g)==56320&&(l=65536+((1023&l)<<10)+(1023&g))}return l}setStrict(s){this.state.strict=s,s&&(this.state.strictErrors.forEach(({message:l,loc:g})=>this.raise(l,{at:g})),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(131):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(){let s;this.isLookahead||(s=this.state.curPosition());let l=this.state.pos,g=this.input.indexOf("*/",l+2);if(g===-1)throw this.raise(h.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=g+2,pt.lastIndex=l+2;pt.test(this.input)&&pt.lastIndex<=g;)++this.state.curLine,this.state.lineStart=pt.lastIndex;if(this.isLookahead)return;let w={type:"CommentBlock",value:this.input.slice(l+2,g),start:l,end:g+2,loc:new n(s,this.state.curPosition())};return this.options.tokens&&this.pushToken(w),w}skipLineComment(s){let l=this.state.pos,g;this.isLookahead||(g=this.state.curPosition());let w=this.input.charCodeAt(this.state.pos+=s);if(this.state.pos<this.length)for(;!at(w)&&++this.state.pos<this.length;)w=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let U=this.state.pos,q={type:"CommentLine",value:this.input.slice(l+s,U),start:l,end:U,loc:new n(g,this.state.curPosition())};return this.options.tokens&&this.pushToken(q),q}skipSpace(){let s=this.state.pos,l=[];e:for(;this.state.pos<this.length;){let g=this.input.charCodeAt(this.state.pos);switch(g){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let w=this.skipBlockComment();w!==void 0&&(this.addComment(w),this.options.attachComment&&l.push(w));break}case 47:{let w=this.skipLineComment(2);w!==void 0&&(this.addComment(w),this.options.attachComment&&l.push(w));break}default:break e}break;default:if(gt(g))++this.state.pos;else if(g!==45||this.inModule){if(g!==60||this.inModule)break e;{let w=this.state.pos;if(this.input.charCodeAt(w+1)!==33||this.input.charCodeAt(w+2)!==45||this.input.charCodeAt(w+3)!==45)break e;{let U=this.skipLineComment(4);U!==void 0&&(this.addComment(U),this.options.attachComment&&l.push(U))}}}else{let w=this.state.pos;if(this.input.charCodeAt(w+1)!==45||this.input.charCodeAt(w+2)!==62||!(s===0||this.state.lineStart>s))break e;{let U=this.skipLineComment(3);U!==void 0&&(this.addComment(U),this.options.attachComment&&l.push(U))}}}}if(l.length>0){let g={start:s,end:this.state.pos,comments:l,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(g)}}finishToken(s,l){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let g=this.state.type;this.state.type=s,this.state.value=l,this.isLookahead||this.updateContext(g)}replaceToken(s){this.state.type=s,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let s=this.state.pos+1,l=this.codePointAtPos(s);if(l>=48&&l<=57)throw this.raise(h.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(l===123||l===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")!=="hash")throw this.raise(l===123?h.RecordExpressionHashIncorrectStartSyntaxType:h.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,l===123?this.finishToken(7):this.finishToken(1)}else xe(l)?(++this.state.pos,this.finishToken(130,this.readWord1(l))):l===92?(++this.state.pos,this.finishToken(130,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let s=this.input.charCodeAt(this.state.pos+1);s>=48&&s<=57?this.readNumber(!0):s===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(52,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let s=this.input.charCodeAt(this.state.pos+1);if(s!==33)return!1;let l=this.state.pos;for(this.state.pos+=1;!at(s)&&++this.state.pos<this.length;)s=this.input.charCodeAt(this.state.pos);let g=this.input.slice(l+2,this.state.pos);return this.finishToken(28,g),!0}readToken_mult_modulo(s){let l=s===42?51:50,g=1,w=this.input.charCodeAt(this.state.pos+1);s===42&&w===42&&(g++,w=this.input.charCodeAt(this.state.pos+2),l=53),w!==61||this.state.inType||(g++,l=s===37?33:30),this.finishOp(l,g)}readToken_pipe_amp(s){let l=this.input.charCodeAt(this.state.pos+1);if(l!==s){if(s===124){if(l===62)return void this.finishOp(37,2);if(this.hasPlugin("recordAndTuple")&&l===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(h.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&l===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(h.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(4)}}l!==61?this.finishOp(s===124?41:43,1):this.finishOp(30,2)}else this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(s===124?39:40,2)}readToken_caret(){this.input.charCodeAt(this.state.pos+1)!==61||this.state.inType?this.finishOp(42,1):this.finishOp(32,2)}readToken_plus_min(s){let l=this.input.charCodeAt(this.state.pos+1);l!==s?l===61?this.finishOp(30,2):this.finishOp(49,1):this.finishOp(34,2)}readToken_lt(){let{pos:s}=this.state,l=this.input.charCodeAt(s+1);if(l===60)return this.input.charCodeAt(s+2)===61?void this.finishOp(30,3):void this.finishOp(48,2);l!==61?this.finishOp(45,1):this.finishOp(47,2)}readToken_gt(){let{pos:s}=this.state,l=this.input.charCodeAt(s+1);if(l===62){let g=this.input.charCodeAt(s+2)===62?3:2;return this.input.charCodeAt(s+g)===61?void this.finishOp(30,g+1):void this.finishOp(48,g)}l!==61?this.finishOp(46,1):this.finishOp(47,2)}readToken_eq_excl(s){let l=this.input.charCodeAt(this.state.pos+1);if(l!==61)return s===61&&l===62?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(s===61?29:35,1);this.finishOp(44,this.input.charCodeAt(this.state.pos+2)===61?3:2)}readToken_question(){let s=this.input.charCodeAt(this.state.pos+1),l=this.input.charCodeAt(this.state.pos+2);s===63?l===61?this.finishOp(30,3):this.finishOp(38,2):s!==46||l>=48&&l<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(s){switch(s){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(h.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(h.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{let l=this.input.charCodeAt(this.state.pos+1);if(l===120||l===88)return void this.readRadixNumber(16);if(l===111||l===79)return void this.readRadixNumber(8);if(l===98||l===66)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(s);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(s);case 124:case 38:return void this.readToken_pipe_amp(s);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(s);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(s);case 126:return void this.finishOp(36,1);case 64:return++this.state.pos,void this.finishToken(26);case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(xe(s))return void this.readWord(s)}throw this.raise(h.InvalidOrUnexpectedToken,{at:this.state.curPosition()},String.fromCodePoint(s))}finishOp(s,l){let g=this.input.slice(this.state.pos,this.state.pos+l);this.state.pos+=l,this.finishToken(s,g)}readRegexp(){let s=this.state.startLoc,l=this.state.start+1,g,w,{pos:U}=this.state;for(;;++U){if(U>=this.length)throw this.raise(h.UnterminatedRegExp,{at:r(s,1)});let ce=this.input.charCodeAt(U);if(at(ce))throw this.raise(h.UnterminatedRegExp,{at:r(s,1)});if(g)g=!1;else{if(ce===91)w=!0;else if(ce===93&&w)w=!1;else if(ce===47&&!w)break;g=ce===92}}let q=this.input.slice(l,U);++U;let oe="";for(;U<this.length;){let ce=this.codePointAtPos(U),ve=String.fromCharCode(ce);if(Xe.has(ce))oe.includes(ve)&&this.raise(h.DuplicateRegExpFlags,{at:r(s,U+2-l)});else{if(!Re(ce)&&ce!==92)break;this.raise(h.MalformedRegExpFlags,{at:r(s,U+2-l)})}++U,oe+=ve}this.state.pos=U,this.finishToken(129,{pattern:q,flags:oe})}readInt(s,l,g,w=!0){let U=this.state.pos,q=s===16?kr.hex:kr.decBinOct,oe=s===16?jt.hex:s===10?jt.dec:s===8?jt.oct:jt.bin,ce=!1,ve=0;for(let Ie=0,We=_nullishCoalesce(l, () => (1/0));Ie<We;++Ie){let Qe=this.input.charCodeAt(this.state.pos),qe;if(Qe!==95){if(qe=Qe>=97?Qe-97+10:Qe>=65?Qe-65+10:yr(Qe)?Qe-48:1/0,qe>=s)if(this.options.errorRecovery&&qe<=9)qe=0,this.raise(h.InvalidDigit,{at:this.state.curPosition()},s);else{if(!g)break;qe=0,ce=!0}++this.state.pos,ve=ve*s+qe}else{let yt=this.input.charCodeAt(this.state.pos-1),it=this.input.charCodeAt(this.state.pos+1);(oe.indexOf(it)===-1||q.indexOf(yt)>-1||q.indexOf(it)>-1||Number.isNaN(it))&&this.raise(h.UnexpectedNumericSeparator,{at:this.state.curPosition()}),w||this.raise(h.NumericSeparatorInEscapeSequence,{at:this.state.curPosition()}),++this.state.pos}}return this.state.pos===U||l!=null&&this.state.pos-U!==l||ce?null:ve}readRadixNumber(s){let l=this.state.curPosition(),g=!1;this.state.pos+=2;let w=this.readInt(s);w==null&&this.raise(h.InvalidDigit,{at:r(l,2)},s);let U=this.input.charCodeAt(this.state.pos);if(U===110)++this.state.pos,g=!0;else if(U===109)throw this.raise(h.InvalidDecimal,{at:l});if(xe(this.codePointAtPos(this.state.pos)))throw this.raise(h.NumberIdentifier,{at:this.state.curPosition()});if(g){let q=this.input.slice(t.get(l),this.state.pos).replace(/[_n]/g,"");this.finishToken(127,q)}else this.finishToken(126,w)}readNumber(s){let l=this.state.pos,g=this.state.curPosition(),w=!1,U=!1,q=!1,oe=!1,ce=!1;s||this.readInt(10)!==null||this.raise(h.InvalidNumber,{at:this.state.curPosition()});let ve=this.state.pos-l>=2&&this.input.charCodeAt(l)===48;if(ve){let qe=this.input.slice(l,this.state.pos);if(this.recordStrictModeErrors(h.StrictOctalLiteral,g),!this.state.strict){let yt=qe.indexOf("_");yt>0&&this.raise(h.ZeroDigitNumericSeparator,{at:r(g,yt)})}ce=ve&&!/[89]/.test(qe)}let Ie=this.input.charCodeAt(this.state.pos);if(Ie!==46||ce||(++this.state.pos,this.readInt(10),w=!0,Ie=this.input.charCodeAt(this.state.pos)),Ie!==69&&Ie!==101||ce||(Ie=this.input.charCodeAt(++this.state.pos),Ie!==43&&Ie!==45||++this.state.pos,this.readInt(10)===null&&this.raise(h.InvalidOrMissingExponent,{at:g}),w=!0,oe=!0,Ie=this.input.charCodeAt(this.state.pos)),Ie===110&&((w||ve)&&this.raise(h.InvalidBigIntLiteral,{at:g}),++this.state.pos,U=!0),Ie===109&&(this.expectPlugin("decimal",this.state.curPosition()),(oe||ve)&&this.raise(h.InvalidDecimal,{at:g}),++this.state.pos,q=!0),xe(this.codePointAtPos(this.state.pos)))throw this.raise(h.NumberIdentifier,{at:this.state.curPosition()});let We=this.input.slice(l,this.state.pos).replace(/[_mn]/g,"");if(U)return void this.finishToken(127,We);if(q)return void this.finishToken(128,We);let Qe=ce?parseInt(We,8):parseFloat(We);this.finishToken(126,Qe)}readCodePoint(s){let l;if(this.input.charCodeAt(this.state.pos)===123){if(++this.state.pos,l=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,!0,s),++this.state.pos,l!==null&&l>1114111){if(!s)return null;this.raise(h.InvalidCodePoint,{at:this.state.curPosition()})}}else l=this.readHexChar(4,!1,s);return l}readString(s){let l="",g=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(h.UnterminatedString,{at:this.state.startLoc});let w=this.input.charCodeAt(this.state.pos);if(w===s)break;if(w===92)l+=this.input.slice(g,this.state.pos),l+=this.readEscapedChar(!1),g=this.state.pos;else if(w===8232||w===8233)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(at(w))throw this.raise(h.UnterminatedString,{at:this.state.startLoc});++this.state.pos}}l+=this.input.slice(g,this.state.pos++),this.finishToken(125,l)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let s="",l=this.state.pos,g=!1;for(++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(h.UnterminatedTemplate,{at:r(this.state.startLoc,1)});let w=this.input.charCodeAt(this.state.pos);if(w===96)return++this.state.pos,s+=this.input.slice(l,this.state.pos),void this.finishToken(24,g?null:s);if(w===36&&this.input.charCodeAt(this.state.pos+1)===123)return this.state.pos+=2,s+=this.input.slice(l,this.state.pos),void this.finishToken(25,g?null:s);if(w===92){s+=this.input.slice(l,this.state.pos);let U=this.readEscapedChar(!0);U===null?g=!0:s+=U,l=this.state.pos}else if(at(w)){switch(s+=this.input.slice(l,this.state.pos),++this.state.pos,w){case 13:this.input.charCodeAt(this.state.pos)===10&&++this.state.pos;case 10:s+=`
|
|
2130
2130
|
`;break;default:s+=String.fromCharCode(w)}++this.state.curLine,this.state.lineStart=this.state.pos,l=this.state.pos}else++this.state.pos}}recordStrictModeErrors(s,l){let g=t.get(l);this.state.strict&&!this.state.strictErrors.has(g)?this.raise(s,{at:l}):this.state.strictErrors.set(g,{loc:l,message:s})}readEscapedChar(s){let l=!s,g=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,g){case 110:return`
|
|
2131
2131
|
`;case 114:return"\r";case 120:{let w=this.readHexChar(2,!1,l);return w===null?null:String.fromCharCode(w)}case 117:{let w=this.readCodePoint(l);return w===null?null:String.fromCodePoint(w)}case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.state.pos)===10&&++this.state.pos;case 10:this.state.lineStart=this.state.pos,++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(s)return null;this.recordStrictModeErrors(h.StrictNumericEscape,r(this.state.curPosition(),-1));default:if(g>=48&&g<=55){let w=r(this.state.curPosition(),-1),U=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/)[0],q=parseInt(U,8);q>255&&(U=U.slice(0,-1),q=parseInt(U,8)),this.state.pos+=U.length-1;let oe=this.input.charCodeAt(this.state.pos);if(U!=="0"||oe===56||oe===57){if(s)return null;this.recordStrictModeErrors(h.StrictNumericEscape,w)}return String.fromCharCode(q)}return String.fromCharCode(g)}}readHexChar(s,l,g){let w=this.state.curPosition(),U=this.readInt(16,s,l,!1);return U===null&&(g?this.raise(h.InvalidEscapeSequence,{at:w}):this.state.pos=t.get(w)-1),U}readWord1(s){this.state.containsEsc=!1;let l="",g=this.state.pos,w=this.state.pos;for(s!==void 0&&(this.state.pos+=s<=65535?1:2);this.state.pos<this.length;){let U=this.codePointAtPos(this.state.pos);if(Re(U))this.state.pos+=U<=65535?1:2;else{if(U!==92)break;{this.state.containsEsc=!0,l+=this.input.slice(w,this.state.pos);let q=this.state.curPosition(),oe=this.state.pos===g?xe:Re;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(h.MissingUnicodeEscape,{at:this.state.curPosition()}),w=this.state.pos-1;continue}++this.state.pos;let ce=this.readCodePoint(!0);ce!==null&&(oe(ce)||this.raise(h.EscapedCharNotAnIdentifier,{at:q}),l+=String.fromCodePoint(ce)),w=this.state.pos}}}return l+this.input.slice(w,this.state.pos)}readWord(s){let l=this.readWord1(s),g=T.get(l);g!==void 0?this.finishToken(g,ne(g)):this.finishToken(124,l)}checkKeywordEscapes(){let{type:s}=this.state;J(s)&&this.state.containsEsc&&this.raise(h.InvalidEscapedReservedWord,{at:this.state.startLoc},ne(s))}updateContext(s){}}{addExtra(s,l,g,w=!0){if(!s)return;let U=s.extra=s.extra||{};w?U[l]=g:Object.defineProperty(U,l,{enumerable:w,value:g})}isContextual(s){return this.state.type===s&&!this.state.containsEsc}isUnparsedContextual(s,l){let g=s+l.length;if(this.input.slice(s,g)===l){let w=this.input.charCodeAt(g);return!(Re(w)||(64512&w)==55296)}return!1}isLookaheadContextual(s){let l=this.nextTokenStart();return this.isUnparsedContextual(l,s)}eatContextual(s){return!!this.isContextual(s)&&(this.next(),!0)}expectContextual(s,l){if(!this.eatContextual(s))throw l!=null?this.raise(l,{at:this.state.startLoc}):this.unexpected(null,s)}canInsertSemicolon(){return this.match(131)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return At.test(this.input.slice(t.get(this.state.lastTokEndLoc),this.state.start))}hasFollowingLineBreak(){return mt.lastIndex=this.state.end,mt.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(s=!0){(s?this.isLineTerminator():this.eat(13))||this.raise(h.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(s,l){this.eat(s)||this.unexpected(l,s)}assertNoSpace(s="Unexpected space."){this.state.start>t.get(this.state.lastTokEndLoc)&&this.raise({code:f.SyntaxError,reasonCode:"UnexpectedSpace",template:s},{at:this.state.lastTokEndLoc})}unexpected(s,l){throw this.raise({code:f.SyntaxError,reasonCode:"UnexpectedToken",template:l!=null?`Unexpected token, expected "${ne(l)}"`:"Unexpected token"},{at:_nullishCoalesce(s, () => (this.state.startLoc))})}getPluginNamesFromConfigs(s){return s.map(l=>typeof l=="string"?l:l[0])}expectPlugin(s,l){if(!this.hasPlugin(s))throw this.raiseWithData(_nullishCoalesce(l, () => (this.state.startLoc)),{missingPlugin:this.getPluginNamesFromConfigs([s])},`This experimental syntax requires enabling the parser plugin: ${JSON.stringify(s)}.`);return!0}expectOnePlugin(s){if(!s.some(l=>this.hasPlugin(l)))throw this.raiseWithData(this.state.startLoc,{missingPlugin:this.getPluginNamesFromConfigs(s)},`This experimental syntax requires enabling one of the following parser plugin(s): ${s.map(l=>JSON.stringify(l)).join(", ")}.`)}tryParse(s,l=this.state.clone()){let g={node:null};try{let w=s((U=null)=>{throw g.node=U,g});if(this.state.errors.length>l.errors.length){let U=this.state;return this.state=l,this.state.tokensLength=U.tokensLength,{node:w,error:U.errors[l.errors.length],thrown:!1,aborted:!1,failState:U}}return{node:w,error:null,thrown:!1,aborted:!1,failState:null}}catch(w){let U=this.state;if(this.state=l,w instanceof SyntaxError)return{node:null,error:w,thrown:!0,aborted:!1,failState:U};if(w===g)return{node:g.node,error:null,thrown:!1,aborted:!0,failState:U};throw w}}checkExpressionErrors(s,l){if(!s)return!1;let{shorthandAssignLoc:g,doubleProtoLoc:w,optionalParametersLoc:U}=s;if(!l)return!!g||!!w||!!U;g!=null&&this.raise(h.InvalidCoverInitializedName,{at:g}),w!=null&&this.raise(h.DuplicateProto,{at:w}),U!=null&&this.unexpected(U)}isLiteralPropertyName(){return F(this.state.type)}isPrivateName(s){return s.type==="PrivateName"}getPrivateNameSV(s){return s.id.name}hasPropertyAsPrivateName(s){return(s.type==="MemberExpression"||s.type==="OptionalMemberExpression")&&this.isPrivateName(s.property)}isOptionalChain(s){return s.type==="OptionalMemberExpression"||s.type==="OptionalCallExpression"}isObjectProperty(s){return s.type==="ObjectProperty"}isObjectMethod(s){return s.type==="ObjectMethod"}initializeScopes(s=this.options.sourceType==="module"){let l=this.state.labels;this.state.labels=[];let g=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let w=this.inModule;this.inModule=s;let U=this.scope,q=this.getScopeHandler();this.scope=new q(this.raise.bind(this),this.inModule);let oe=this.prodParam;this.prodParam=new Ct;let ce=this.classScope;this.classScope=new _n(this.raise.bind(this));let ve=this.expressionScope;return this.expressionScope=new Lt(this.raise.bind(this)),()=>{this.state.labels=l,this.exportedIdentifiers=g,this.inModule=w,this.scope=U,this.prodParam=oe,this.classScope=ce,this.expressionScope=ve}}enterInitialScopes(){let s=0;this.inModule&&(s|=2),this.scope.enter(1),this.prodParam.enter(s)}}{startNode(){return new Yr(this,this.state.start,this.state.startLoc)}startNodeAt(s,l){return new Yr(this,s,l)}startNodeAtNode(s){return this.startNodeAt(s.start,s.loc.start)}finishNode(s,l){return this.finishNodeAt(s,l,this.state.lastTokEndLoc)}finishNodeAt(s,l,g){return s.type=l,s.end=t.get(g),s.loc.end=g,this.options.ranges&&(s.range[1]=s.end),this.options.attachComment&&this.processComment(s),s}resetStartLocation(s,l,g){s.start=l,s.loc.start=g,this.options.ranges&&(s.range[0]=l)}resetEndLocation(s,l=this.state.lastTokEndLoc){s.end=t.get(l),s.loc.end=l,this.options.ranges&&(s.range[1]=s.end)}resetStartLocationFromNode(s,l){this.resetStartLocation(s,l.start,l.loc.start)}}{toAssignable(s,l=!1){var g,w;let U;switch((s.type==="ParenthesizedExpression"||(g=s.extra)!=null&&g.parenthesized)&&(U=zt(s),l?U.type==="Identifier"?this.expressionScope.recordParenthesizedIdentifierError(h.InvalidParenthesizedAssignment,s.loc.start):U.type!=="MemberExpression"&&this.raise(h.InvalidParenthesizedAssignment,{node:s}):this.raise(h.InvalidParenthesizedAssignment,{node:s})),s.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":s.type="ObjectPattern";for(let oe=0,ce=s.properties.length,ve=ce-1;oe<ce;oe++){var q;let Ie=s.properties[oe],We=oe===ve;this.toAssignableObjectExpressionProp(Ie,We,l),We&&Ie.type==="RestElement"&&(q=s.extra)!=null&&q.trailingCommaLoc&&this.raise(h.RestTrailingComma,{at:s.extra.trailingCommaLoc})}break;case"ObjectProperty":this.toAssignable(s.value,l);break;case"SpreadElement":{this.checkToRestConversion(s),s.type="RestElement";let oe=s.argument;this.toAssignable(oe,l);break}case"ArrayExpression":s.type="ArrayPattern",this.toAssignableList(s.elements,(w=s.extra)==null?void 0:w.trailingCommaLoc,l);break;case"AssignmentExpression":s.operator!=="="&&this.raise(h.MissingEqInAssignment,{at:s.left.loc.end}),s.type="AssignmentPattern",delete s.operator,this.toAssignable(s.left,l);break;case"ParenthesizedExpression":this.toAssignable(U,l)}return s}toAssignableObjectExpressionProp(s,l,g){s.type==="ObjectMethod"?this.raise(s.kind==="get"||s.kind==="set"?h.PatternHasAccessor:h.PatternHasMethod,{node:s.key}):s.type!=="SpreadElement"||l?this.toAssignable(s,g):this.raise(h.RestTrailingComma,{node:s})}toAssignableList(s,l,g){let w=s.length;if(w){let U=s[w-1];if((U==null?void 0:U.type)==="RestElement")--w;else if((U==null?void 0:U.type)==="SpreadElement"){U.type="RestElement";let q=U.argument;this.toAssignable(q,g),q=zt(q),q.type!=="Identifier"&&q.type!=="MemberExpression"&&q.type!=="ArrayPattern"&&q.type!=="ObjectPattern"&&this.unexpected(q.start),l&&this.raise(h.RestTrailingComma,{at:l}),--w}}for(let U=0;U<w;U++){let q=s[U];q&&(this.toAssignable(q,g),q.type==="RestElement"&&this.raise(h.RestTrailingComma,{node:q}))}return s}isAssignable(s,l){switch(s.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let g=s.properties.length-1;return s.properties.every((w,U)=>w.type!=="ObjectMethod"&&(U===g||w.type!=="SpreadElement")&&this.isAssignable(w))}case"ObjectProperty":return this.isAssignable(s.value);case"SpreadElement":return this.isAssignable(s.argument);case"ArrayExpression":return s.elements.every(g=>g===null||this.isAssignable(g));case"AssignmentExpression":return s.operator==="=";case"ParenthesizedExpression":return this.isAssignable(s.expression);case"MemberExpression":case"OptionalMemberExpression":return!l;default:return!1}}toReferencedList(s,l){return s}toReferencedListDeep(s,l){this.toReferencedList(s,l);for(let g of s)(g==null?void 0:g.type)==="ArrayExpression"&&this.toReferencedListDeep(g.elements)}parseSpread(s,l){let g=this.startNode();return this.next(),g.argument=this.parseMaybeAssignAllowIn(s,void 0,l),this.finishNode(g,"SpreadElement")}parseRestBinding(){let s=this.startNode();return this.next(),s.argument=this.parseBindingAtom(),this.finishNode(s,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let s=this.startNode();return this.next(),s.elements=this.parseBindingList(3,93,!0),this.finishNode(s,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(s,l,g,w){let U=[],q=!0;for(;!this.eat(s);)if(q?q=!1:this.expect(12),g&&this.match(12))U.push(null);else{if(this.eat(s))break;if(this.match(21)){if(U.push(this.parseAssignableListItemTypes(this.parseRestBinding())),!this.checkCommaAfterRest(l)){this.expect(s);break}}else{let oe=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(h.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)oe.push(this.parseDecorator());U.push(this.parseAssignableListItem(w,oe))}}return U}parseBindingRestProperty(s){return this.next(),s.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(s,"RestElement")}parseBindingProperty(){let s=this.startNode(),{type:l,start:g,startLoc:w}=this.state;return l===21?this.parseBindingRestProperty(s):(this.parsePropertyName(s),s.method=!1,this.parseObjPropValue(s,g,w,!1,!1,!0,!1),s)}parseAssignableListItem(s,l){let g=this.parseMaybeDefault();this.parseAssignableListItemTypes(g);let w=this.parseMaybeDefault(g.start,g.loc.start,g);return l.length&&(g.decorators=l),w}parseAssignableListItemTypes(s){return s}parseMaybeDefault(s,l,g){var w,U,q;if(l=(w=l)!=null?w:this.state.startLoc,s=(U=s)!=null?U:this.state.start,g=(q=g)!=null?q:this.parseBindingAtom(),!this.eat(29))return g;let oe=this.startNodeAt(s,l);return oe.left=g,oe.right=this.parseMaybeAssignAllowIn(),this.finishNode(oe,"AssignmentPattern")}checkLVal(s,l,g=64,w,U,q=!1){switch(s.type){case"Identifier":{let{name:oe}=s;this.state.strict&&(q?ke(oe,this.inModule):Ye(oe))&&this.raise(g===64?h.StrictEvalArguments:h.StrictEvalArgumentsBinding,{node:s},oe),w&&(w.has(oe)?this.raise(h.ParamDupe,{node:s}):w.add(oe)),U&&oe==="let"&&this.raise(h.LetInLexicalBinding,{node:s}),64&g||this.scope.declareName(oe,g,s.loc.start);break}case"MemberExpression":g!==64&&this.raise(h.InvalidPropertyBindingPattern,{node:s});break;case"ObjectPattern":for(let oe of s.properties){if(this.isObjectProperty(oe))oe=oe.value;else if(this.isObjectMethod(oe))continue;this.checkLVal(oe,"object destructuring pattern",g,w,U)}break;case"ArrayPattern":for(let oe of s.elements)oe&&this.checkLVal(oe,"array destructuring pattern",g,w,U);break;case"AssignmentPattern":this.checkLVal(s.left,"assignment pattern",g,w);break;case"RestElement":this.checkLVal(s.argument,"rest element",g,w);break;case"ParenthesizedExpression":this.checkLVal(s.expression,"parenthesized expression",g,w);break;default:this.raise(g===64?h.InvalidLhs:h.InvalidLhsBinding,{node:s},l)}}checkToRestConversion(s){s.argument.type!=="Identifier"&&s.argument.type!=="MemberExpression"&&this.raise(h.InvalidRestAssignmentPattern,{node:s.argument})}checkCommaAfterRest(s){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===s?h.RestTrailingComma:h.ElementAfterRest,{at:this.state.startLoc}),!0)}}{checkProto(s,l,g,w){if(s.type==="SpreadElement"||this.isObjectMethod(s)||s.computed||s.shorthand)return;let U=s.key;if((U.type==="Identifier"?U.name:U.value)==="__proto__"){if(l)return void this.raise(h.RecordNoProto,{node:U});g.used&&(w?w.doubleProtoLoc===null&&(w.doubleProtoLoc=U.loc.start):this.raise(h.DuplicateProto,{node:U})),g.used=!0}}shouldExitDescending(s,l){return s.type==="ArrowFunctionExpression"&&s.start===l}getExpression(){this.enterInitialScopes(),this.nextToken();let s=this.parseExpression();return this.match(131)||this.unexpected(),this.finalizeRemainingComments(),s.comments=this.state.comments,s.errors=this.state.errors,this.options.tokens&&(s.tokens=this.tokens),s}parseExpression(s,l){return s?this.disallowInAnd(()=>this.parseExpressionBase(l)):this.allowInAnd(()=>this.parseExpressionBase(l))}parseExpressionBase(s){let l=this.state.start,g=this.state.startLoc,w=this.parseMaybeAssign(s);if(this.match(12)){let U=this.startNodeAt(l,g);for(U.expressions=[w];this.eat(12);)U.expressions.push(this.parseMaybeAssign(s));return this.toReferencedList(U.expressions),this.finishNode(U,"SequenceExpression")}return w}parseMaybeAssignDisallowIn(s,l){return this.disallowInAnd(()=>this.parseMaybeAssign(s,l))}parseMaybeAssignAllowIn(s,l){return this.allowInAnd(()=>this.parseMaybeAssign(s,l))}setOptionalParametersError(s,l){var g;s.optionalParametersLoc=(g=l==null?void 0:l.loc)!=null?g:this.state.startLoc}parseMaybeAssign(s,l){let g=this.state.start,w=this.state.startLoc;if(this.isContextual(101)&&this.prodParam.hasYield){let ve=this.parseYield();return l&&(ve=l.call(this,ve,g,w)),ve}let U;s?U=!1:(s=new xr,U=!0);let{type:q}=this.state;(q===10||D(q))&&(this.state.potentialArrowAt=this.state.start);let oe=this.parseMaybeConditional(s);if(l&&(oe=l.call(this,oe,g,w)),(ce=this.state.type)>=29&&ce<=33){let ve=this.startNodeAt(g,w),Ie=this.state.value;return ve.operator=Ie,this.match(29)?(ve.left=this.toAssignable(oe,!0),s.doubleProtoLoc!=null&&t.get(s.doubleProtoLoc)>=g&&(s.doubleProtoLoc=null),s.shorthandAssignLoc!=null&&t.get(s.shorthandAssignLoc)>=g&&(s.shorthandAssignLoc=null)):ve.left=oe,this.checkLVal(oe,"assignment expression"),this.next(),ve.right=this.parseMaybeAssign(),this.finishNode(ve,"AssignmentExpression")}var ce;return U&&this.checkExpressionErrors(s,!0),oe}parseMaybeConditional(s){let l=this.state.start,g=this.state.startLoc,w=this.state.potentialArrowAt,U=this.parseExprOps(s);return this.shouldExitDescending(U,w)?U:this.parseConditional(U,l,g,s)}parseConditional(s,l,g,w){if(this.eat(17)){let U=this.startNodeAt(l,g);return U.test=s,U.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),U.alternate=this.parseMaybeAssign(),this.finishNode(U,"ConditionalExpression")}return s}parseMaybeUnaryOrPrivate(s){return this.match(130)?this.parsePrivateName():this.parseMaybeUnary(s)}parseExprOps(s){let l=this.state.start,g=this.state.startLoc,w=this.state.potentialArrowAt,U=this.parseMaybeUnaryOrPrivate(s);return this.shouldExitDescending(U,w)?U:this.parseExprOp(U,l,g,-1)}parseExprOp(s,l,g,w){if(this.isPrivateName(s)){let oe=this.getPrivateNameSV(s);(w>=re(54)||!this.prodParam.hasIn||!this.match(54))&&this.raise(h.PrivateInExpectedIn,{node:s},oe),this.classScope.usePrivateName(oe,s.loc.start)}let U=this.state.type;if((q=U)>=37&&q<=55&&(this.prodParam.hasIn||!this.match(54))){let oe=re(U);if(oe>w){if(U===37){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return s;this.checkPipelineAtInfixOperator(s,g)}let ce=this.startNodeAt(l,g);ce.left=s,ce.operator=this.state.value;let ve=U===39||U===40,Ie=U===38;if(Ie&&(oe=re(40)),this.next(),U===37&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===92&&this.prodParam.hasAwait)throw this.raise(h.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});ce.right=this.parseExprOpRightExpr(U,oe),this.finishNode(ce,ve||Ie?"LogicalExpression":"BinaryExpression");let We=this.state.type;if(Ie&&(We===39||We===40)||ve&&We===38)throw this.raise(h.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(ce,l,g,w)}}var q;return s}parseExprOpRightExpr(s,l){let g=this.state.start,w=this.state.startLoc;if(s===37)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(101))throw this.raise(h.PipeBodyIsTighter,{at:this.state.startLoc},this.state.value);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(s,l),g,w)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(l))}return this.parseExprOpBaseRightExpr(s,l)}parseExprOpBaseRightExpr(s,l){let g=this.state.start,w=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),g,w,s===53?l-1:l)}parseHackPipeBody(){var s;let{startLoc:l}=this.state,g=this.parseMaybeAssign();return!hn.has(g.type)||(s=g.extra)!=null&&s.parenthesized||this.raise(h.PipeUnparenthesizedBody,{at:l},hn.get(g.type)),this.topicReferenceWasUsedInCurrentContext()||this.raise(h.PipeTopicUnused,{at:l}),g}checkExponentialAfterUnary(s){this.match(53)&&this.raise(h.UnexpectedTokenUnaryExponentiation,{node:s.argument})}parseMaybeUnary(s,l){let g=this.state.start,w=this.state.startLoc,U=this.isContextual(92);if(U&&this.isAwaitAllowed()){this.next();let Ie=this.parseAwait(g,w);return l||this.checkExponentialAfterUnary(Ie),Ie}let q=this.match(34),oe=this.startNode();if(ce=this.state.type,Q[ce]){oe.operator=this.state.value,oe.prefix=!0,this.match(68)&&this.expectPlugin("throwExpressions");let Ie=this.match(85);if(this.next(),oe.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(s,!0),this.state.strict&&Ie){let We=oe.argument;We.type==="Identifier"?this.raise(h.StrictDelete,{node:oe}):this.hasPropertyAsPrivateName(We)&&this.raise(h.DeletePrivateField,{node:oe})}if(!q)return l||this.checkExponentialAfterUnary(oe),this.finishNode(oe,"UnaryExpression")}var ce;let ve=this.parseUpdate(oe,q,s);if(U){let{type:Ie}=this.state;if((this.hasPlugin("v8intrinsic")?R(Ie):R(Ie)&&!this.match(50))&&!this.isAmbiguousAwait())return this.raiseOverwrite(w,h.AwaitNotInAsyncContext),this.parseAwait(g,w)}return ve}parseUpdate(s,l,g){if(l)return this.checkLVal(s.argument,"prefix operation"),this.finishNode(s,"UpdateExpression");let w=this.state.start,U=this.state.startLoc,q=this.parseExprSubscripts(g);if(this.checkExpressionErrors(g,!1))return q;for(;this.state.type===34&&!this.canInsertSemicolon();){let oe=this.startNodeAt(w,U);oe.operator=this.state.value,oe.prefix=!1,oe.argument=q,this.checkLVal(q,"postfix operation"),this.next(),q=this.finishNode(oe,"UpdateExpression")}return q}parseExprSubscripts(s){let l=this.state.start,g=this.state.startLoc,w=this.state.potentialArrowAt,U=this.parseExprAtom(s);return this.shouldExitDescending(U,w)?U:this.parseSubscripts(U,l,g)}parseSubscripts(s,l,g,w){let U={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(s),stop:!1};do s=this.parseSubscript(s,l,g,w,U),U.maybeAsyncArrow=!1;while(!U.stop);return s}parseSubscript(s,l,g,w,U){let{type:q}=this.state;if(!w&&q===15)return this.parseBind(s,l,g,w,U);if(ae(q))return this.parseTaggedTemplateExpression(s,l,g,U);let oe=!1;if(q===18){if(w&&this.lookaheadCharCode()===40)return U.stop=!0,s;U.optionalChainMember=oe=!0,this.next()}if(!w&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(s,l,g,U,oe);{let ce=this.eat(0);return ce||oe||this.eat(16)?this.parseMember(s,l,g,U,ce,oe):(U.stop=!0,s)}}parseMember(s,l,g,w,U,q){let oe=this.startNodeAt(l,g);return oe.object=s,oe.computed=U,U?(oe.property=this.parseExpression(),this.expect(3)):this.match(130)?(s.type==="Super"&&this.raise(h.SuperPrivateField,{at:g}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),oe.property=this.parsePrivateName()):oe.property=this.parseIdentifier(!0),w.optionalChainMember?(oe.optional=q,this.finishNode(oe,"OptionalMemberExpression")):this.finishNode(oe,"MemberExpression")}parseBind(s,l,g,w,U){let q=this.startNodeAt(l,g);return q.object=s,this.next(),q.callee=this.parseNoCallExpr(),U.stop=!0,this.parseSubscripts(this.finishNode(q,"BindExpression"),l,g,w)}parseCoverCallAndAsyncArrowHead(s,l,g,w,U){let q=this.state.maybeInArrowParameters,oe=null;this.state.maybeInArrowParameters=!0,this.next();let ce=this.startNodeAt(l,g);return ce.callee=s,w.maybeAsyncArrow&&(this.expressionScope.enter(new Nr(2)),oe=new xr),w.optionalChainMember&&(ce.optional=U),ce.arguments=U?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,s.type==="Import",s.type!=="Super",ce,oe),this.finishCallExpression(ce,w.optionalChainMember),w.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!U?(w.stop=!0,this.expressionScope.validateAsPattern(),this.expressionScope.exit(),ce=this.parseAsyncArrowFromCallExpression(this.startNodeAt(l,g),ce)):(w.maybeAsyncArrow&&(this.checkExpressionErrors(oe,!0),this.expressionScope.exit()),this.toReferencedArguments(ce)),this.state.maybeInArrowParameters=q,ce}toReferencedArguments(s,l){this.toReferencedListDeep(s.arguments,l)}parseTaggedTemplateExpression(s,l,g,w){let U=this.startNodeAt(l,g);return U.tag=s,U.quasi=this.parseTemplate(!0),w.optionalChainMember&&this.raise(h.OptionalChainingNoTemplate,{at:g}),this.finishNode(U,"TaggedTemplateExpression")}atPossibleAsyncArrow(s){return s.type==="Identifier"&&s.name==="async"&&t.get(this.state.lastTokEndLoc)===s.end&&!this.canInsertSemicolon()&&s.end-s.start==5&&s.start===this.state.potentialArrowAt}finishCallExpression(s,l){if(s.callee.type==="Import")if(s.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),s.arguments.length===0||s.arguments.length>2)this.raise(h.ImportCallArity,{node:s},this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument");else for(let g of s.arguments)g.type==="SpreadElement"&&this.raise(h.ImportCallSpreadArgument,{node:g});return this.finishNode(s,l?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(s,l,g,w,U){let q=[],oe=!0,ce=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(s);){if(oe)oe=!1;else if(this.expect(12),this.match(s)){!l||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(h.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),w&&this.addTrailingCommaExtraToNode(w),this.next();break}q.push(this.parseExprListItem(!1,U,g))}return this.state.inFSharpPipelineDirectBody=ce,q}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(s,l){var g;return this.resetPreviousNodeTrailingComments(l),this.expect(19),this.parseArrowExpression(s,l.arguments,!0,(g=l.extra)==null?void 0:g.trailingCommaLoc),l.innerComments&&a(s,l.innerComments),l.callee.trailingComments&&a(s,l.callee.trailingComments),s}parseNoCallExpr(){let s=this.state.start,l=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),s,l,!0)}parseExprAtom(s){let l,{type:g}=this.state;switch(g){case 75:return this.parseSuper();case 79:return l=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(l):(this.match(10)||this.raise(h.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(l,"Import"));case 74:return l=this.startNode(),this.next(),this.finishNode(l,"ThisExpression");case 86:return this.parseDo(this.startNode(),!1);case 52:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 126:return this.parseNumericLiteral(this.state.value);case 127:return this.parseBigIntLiteral(this.state.value);case 128:return this.parseDecimalLiteral(this.state.value);case 125:return this.parseStringLiteral(this.state.value);case 80:return this.parseNullLiteral();case 81:return this.parseBooleanLiteral(!0);case 82:return this.parseBooleanLiteral(!1);case 10:{let w=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(w)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,s);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,s);case 64:return this.parseFunctionOrFunctionSent();case 26:this.parseDecorators();case 76:return l=this.startNode(),this.takeDecorators(l),this.parseClass(l,!1);case 73:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{l=this.startNode(),this.next(),l.object=null;let w=l.callee=this.parseNoCallExpr();if(w.type==="MemberExpression")return this.finishNode(l,"BindExpression");throw this.raise(h.UnsupportedBind,{node:w})}case 130:return this.raise(h.PrivateInExpectedIn,{at:this.state.startLoc},this.state.value),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(50,"%");case 32:return this.parseTopicReferenceThenEqualsSign(42,"^");case 42:case 50:case 27:{let w=this.getPluginOption("pipelineOperator","proposal");if(w)return this.parseTopicReference(w);throw this.unexpected()}case 45:{let w=this.input.codePointAt(this.nextTokenStart());if(xe(w)||w===62){this.expectOnePlugin(["jsx","flow","typescript"]);break}throw this.unexpected()}default:if(D(g)){if(this.isContextual(119)&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let w=this.state.potentialArrowAt===this.state.start,U=this.state.containsEsc,q=this.parseIdentifier();if(!U&&q.name==="async"&&!this.canInsertSemicolon()){let{type:oe}=this.state;if(oe===64)return this.resetPreviousNodeTrailingComments(q),this.next(),this.parseFunction(this.startNodeAtNode(q),void 0,!0);if(D(oe))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(q)):q;if(oe===86)return this.resetPreviousNodeTrailingComments(q),this.parseDo(this.startNodeAtNode(q),!0)}return w&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(q),[q],!1)):q}throw this.unexpected()}}parseTopicReferenceThenEqualsSign(s,l){let g=this.getPluginOption("pipelineOperator","proposal");if(g)return this.state.type=s,this.state.value=l,this.state.pos--,this.state.end--,this.state.endLoc=r(this.state.endLoc,-1),this.parseTopicReference(g);throw this.unexpected()}parseTopicReference(s){let l=this.startNode(),g=this.state.startLoc,w=this.state.type;return this.next(),this.finishTopicReference(l,g,s,w)}finishTopicReference(s,l,g,w){if(this.testTopicReferenceConfiguration(g,l,w)){let U=g==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(g==="smart"?h.PrimaryTopicNotAllowed:h.PipeTopicUnbound,{at:l}),this.registerTopicReference(),this.finishNode(s,U)}throw this.raise(h.PipeTopicUnconfiguredToken,{at:l},ne(w))}testTopicReferenceConfiguration(s,l,g){switch(s){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:ne(g)}]);case"smart":return g===27;default:throw this.raise(h.PipeTopicRequiresHackPipes,{at:l})}}parseAsyncArrowUnaryFunction(s){this.prodParam.enter(Tt(!0,this.prodParam.hasYield));let l=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(h.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(s,l,!0),s}parseDo(s,l){this.expectPlugin("doExpressions"),l&&this.expectPlugin("asyncDoExpressions"),s.async=l,this.next();let g=this.state.labels;return this.state.labels=[],l?(this.prodParam.enter(2),s.body=this.parseBlock(),this.prodParam.exit()):s.body=this.parseBlock(),this.state.labels=g,this.finishNode(s,"DoExpression")}parseSuper(){let s=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(h.UnexpectedSuper,{node:s}):this.raise(h.SuperNotAllowed,{node:s}),this.match(10)||this.match(0)||this.match(16)||this.raise(h.UnsupportedSuper,{node:s}),this.finishNode(s,"Super")}parsePrivateName(){let s=this.startNode(),l=this.startNodeAt(this.state.start+1,new c(this.state.curLine,this.state.start+1-this.state.lineStart,this.state.start+1)),g=this.state.value;return this.next(),s.id=this.createIdentifier(l,g),this.finishNode(s,"PrivateName")}parseFunctionOrFunctionSent(){let s=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let l=this.createIdentifier(this.startNodeAtNode(s),"function");return this.next(),this.match(98)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(s,l,"sent")}return this.parseFunction(s)}parseMetaProperty(s,l,g){s.meta=l;let w=this.state.containsEsc;return s.property=this.parseIdentifier(!0),(s.property.name!==g||w)&&this.raise(h.UnsupportedMetaProperty,{node:s.property},l.name,g),this.finishNode(s,"MetaProperty")}parseImportMetaProperty(s){let l=this.createIdentifier(this.startNodeAtNode(s),"import");return this.next(),this.isContextual(96)&&(this.inModule||this.raise(p.ImportMetaOutsideModule,{node:l}),this.sawUnambiguousESM=!0),this.parseMetaProperty(s,l,"meta")}parseLiteralAtNode(s,l,g){return this.addExtra(g,"rawValue",s),this.addExtra(g,"raw",this.input.slice(g.start,this.state.end)),g.value=s,this.next(),this.finishNode(g,l)}parseLiteral(s,l){let g=this.startNode();return this.parseLiteralAtNode(s,l,g)}parseStringLiteral(s){return this.parseLiteral(s,"StringLiteral")}parseNumericLiteral(s){return this.parseLiteral(s,"NumericLiteral")}parseBigIntLiteral(s){return this.parseLiteral(s,"BigIntLiteral")}parseDecimalLiteral(s){return this.parseLiteral(s,"DecimalLiteral")}parseRegExpLiteral(s){let l=this.parseLiteral(s.value,"RegExpLiteral");return l.pattern=s.pattern,l.flags=s.flags,l}parseBooleanLiteral(s){let l=this.startNode();return l.value=s,this.next(),this.finishNode(l,"BooleanLiteral")}parseNullLiteral(){let s=this.startNode();return this.next(),this.finishNode(s,"NullLiteral")}parseParenAndDistinguishExpression(s){let l=this.state.start,g=this.state.startLoc,w;this.next(),this.expressionScope.enter(new Nr(1));let U=this.state.maybeInArrowParameters,q=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let oe=this.state.start,ce=this.state.startLoc,ve=[],Ie=new xr,We,Qe,qe=!0;for(;!this.match(11);){if(qe)qe=!1;else if(this.expect(12,Ie.optionalParametersLoc===null?null:Ie.optionalParametersLoc),this.match(11)){Qe=this.state.startLoc;break}if(this.match(21)){let Et=this.state.start,ir=this.state.startLoc;if(We=this.state.startLoc,ve.push(this.parseParenItem(this.parseRestBinding(),Et,ir)),!this.checkCommaAfterRest(41))break}else ve.push(this.parseMaybeAssignAllowIn(Ie,this.parseParenItem))}let yt=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=U,this.state.inFSharpPipelineDirectBody=q;let it=this.startNodeAt(l,g);if(s&&this.shouldParseArrow(ve)&&(it=this.parseArrow(it)))return this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(it,ve,!1),it;if(this.expressionScope.exit(),ve.length||this.unexpected(this.state.lastTokStartLoc),Qe&&this.unexpected(Qe),We&&this.unexpected(We),this.checkExpressionErrors(Ie,!0),this.toReferencedListDeep(ve,!0),ve.length>1?(w=this.startNodeAt(oe,ce),w.expressions=ve,this.finishNode(w,"SequenceExpression"),this.resetEndLocation(w,yt)):w=ve[0],!this.options.createParenthesizedExpressions)return this.addExtra(w,"parenthesized",!0),this.addExtra(w,"parenStart",l),this.takeSurroundingComments(w,l,t.get(this.state.lastTokEndLoc)),w;let ht=this.startNodeAt(l,g);return ht.expression=w,this.finishNode(ht,"ParenthesizedExpression"),ht}shouldParseArrow(s){return!this.canInsertSemicolon()}parseArrow(s){if(this.eat(19))return s}parseParenItem(s,l,g){return s}parseNewOrNewTarget(){let s=this.startNode();if(this.next(),this.match(16)){let l=this.createIdentifier(this.startNodeAtNode(s),"new");this.next();let g=this.parseMetaProperty(s,l,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.raise(h.UnexpectedNewTarget,{node:g}),g}return this.parseNew(s)}parseNew(s){return s.callee=this.parseNoCallExpr(),s.callee.type==="Import"?this.raise(h.ImportCallNotNewExpression,{node:s.callee}):this.isOptionalChain(s.callee)?this.raise(h.OptionalChainingNoNew,{at:this.state.lastTokEndLoc}):this.eat(18)&&this.raise(h.OptionalChainingNoNew,{at:this.state.startLoc}),this.parseNewArguments(s),this.finishNode(s,"NewExpression")}parseNewArguments(s){if(this.eat(10)){let l=this.parseExprList(11);this.toReferencedList(l),s.arguments=l}else s.arguments=[]}parseTemplateElement(s){let{start:l,startLoc:g,end:w,value:U}=this.state,q=l+1,oe=this.startNodeAt(q,r(g,1));U===null&&(s||this.raise(h.InvalidEscapeSequenceTemplate,{at:r(g,2)}));let ce=this.match(24),ve=ce?-1:-2,Ie=w+ve;return oe.value={raw:this.input.slice(q,Ie).replace(/\r\n?/g,`
|
|
2132
2132
|
`),cooked:U===null?null:U.slice(1,ve)},oe.tail=ce,this.next(),this.finishNode(oe,"TemplateElement"),this.resetEndLocation(oe,r(this.state.lastTokEndLoc,ve)),oe}parseTemplate(s){let l=this.startNode();l.expressions=[];let g=this.parseTemplateElement(s);for(l.quasis=[g];!g.tail;)l.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),l.quasis.push(g=this.parseTemplateElement(s));return this.finishNode(l,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(s,l,g,w){g&&this.expectPlugin("recordAndTuple");let U=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let q=Object.create(null),oe=!0,ce=this.startNode();for(ce.properties=[],this.next();!this.match(s);){if(oe)oe=!1;else if(this.expect(12),this.match(s)){this.addTrailingCommaExtraToNode(ce);break}let Ie;l?Ie=this.parseBindingProperty():(Ie=this.parsePropertyDefinition(w),this.checkProto(Ie,g,q,w)),g&&!this.isObjectProperty(Ie)&&Ie.type!=="SpreadElement"&&this.raise(h.InvalidRecordProperty,{node:Ie}),Ie.shorthand&&this.addExtra(Ie,"shorthand",!0),ce.properties.push(Ie)}this.next(),this.state.inFSharpPipelineDirectBody=U;let ve="ObjectExpression";return l?ve="ObjectPattern":g&&(ve="RecordExpression"),this.finishNode(ce,ve)}addTrailingCommaExtraToNode(s){this.addExtra(s,"trailingComma",this.state.lastTokStart),this.addExtra(s,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(s){return!s.computed&&s.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(51))}parsePropertyDefinition(s){let l=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(h.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)l.push(this.parseDecorator());let g=this.startNode(),w,U,q=!1,oe=!1;if(this.match(21))return l.length&&this.unexpected(),this.parseSpread();l.length&&(g.decorators=l,l=[]),g.method=!1,s&&(w=this.state.start,U=this.state.startLoc);let ce=this.eat(51);this.parsePropertyNamePrefixOperator(g);let ve=this.state.containsEsc,Ie=this.parsePropertyName(g);if(!ce&&!ve&&this.maybeAsyncOrAccessorProp(g)){let We=Ie.name;We!=="async"||this.hasPrecedingLineBreak()||(q=!0,this.resetPreviousNodeTrailingComments(Ie),ce=this.eat(51),this.parsePropertyName(g)),We!=="get"&&We!=="set"||(oe=!0,this.resetPreviousNodeTrailingComments(Ie),g.kind=We,this.match(51)&&(ce=!0,this.raise(h.AccessorIsGenerator,{at:this.state.curPosition()},We),this.next()),this.parsePropertyName(g))}return this.parseObjPropValue(g,w,U,ce,q,!1,oe,s),g}getGetterSetterExpectedParamCount(s){return s.kind==="get"?0:1}getObjectOrClassMethodParams(s){return s.params}checkGetterSetterParams(s){var l;let g=this.getGetterSetterExpectedParamCount(s),w=this.getObjectOrClassMethodParams(s);w.length!==g&&this.raise(s.kind==="get"?h.BadGetterArity:h.BadSetterArity,{node:s}),s.kind==="set"&&((l=w[w.length-1])==null?void 0:l.type)==="RestElement"&&this.raise(h.BadSetterRestParameter,{node:s})}parseObjectMethod(s,l,g,w,U){return U?(this.parseMethod(s,l,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(s),s):g||l||this.match(10)?(w&&this.unexpected(),s.kind="method",s.method=!0,this.parseMethod(s,l,g,!1,!1,"ObjectMethod")):void 0}parseObjectProperty(s,l,g,w,U){if(s.shorthand=!1,this.eat(14))return s.value=w?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(U),this.finishNode(s,"ObjectProperty");if(!s.computed&&s.key.type==="Identifier"){if(this.checkReservedWord(s.key.name,s.key.loc.start,!0,!1),w)s.value=this.parseMaybeDefault(l,g,tr(s.key));else if(this.match(29)){let q=this.state.startLoc;U!=null?U.shorthandAssignLoc===null&&(U.shorthandAssignLoc=q):this.raise(h.InvalidCoverInitializedName,{at:q}),s.value=this.parseMaybeDefault(l,g,tr(s.key))}else s.value=tr(s.key);return s.shorthand=!0,this.finishNode(s,"ObjectProperty")}}parseObjPropValue(s,l,g,w,U,q,oe,ce){let ve=this.parseObjectMethod(s,w,U,q,oe)||this.parseObjectProperty(s,l,g,q,ce);return ve||this.unexpected(),ve}parsePropertyName(s){if(this.eat(0))s.computed=!0,s.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:l,value:g}=this.state,w;if(_(l))w=this.parseIdentifier(!0);else switch(l){case 126:w=this.parseNumericLiteral(g);break;case 125:w=this.parseStringLiteral(g);break;case 127:w=this.parseBigIntLiteral(g);break;case 128:w=this.parseDecimalLiteral(g);break;case 130:this.raise(h.UnexpectedPrivateField,{at:r(this.state.startLoc,1)}),w=this.parsePrivateName();break;default:throw this.unexpected()}s.key=w,l!==130&&(s.computed=!1)}return s.key}initFunction(s,l){s.id=null,s.generator=!1,s.async=!!l}parseMethod(s,l,g,w,U,q,oe=!1){this.initFunction(s,g),s.generator=!!l;let ce=w;return this.scope.enter(18|(oe?64:0)|(U?32:0)),this.prodParam.enter(Tt(g,s.generator)),this.parseFunctionParams(s,ce),this.parseFunctionBodyAndFinish(s,q,!0),this.prodParam.exit(),this.scope.exit(),s}parseArrayLike(s,l,g,w){g&&this.expectPlugin("recordAndTuple");let U=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let q=this.startNode();return this.next(),q.elements=this.parseExprList(s,!g,w,q),this.state.inFSharpPipelineDirectBody=U,this.finishNode(q,g?"TupleExpression":"ArrayExpression")}parseArrowExpression(s,l,g,w){this.scope.enter(6);let U=Tt(g,!1);!this.match(5)&&this.prodParam.hasIn&&(U|=8),this.prodParam.enter(U),this.initFunction(s,g);let q=this.state.maybeInArrowParameters;return l&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(s,l,w)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(s,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=q,this.finishNode(s,"ArrowFunctionExpression")}setArrowFunctionParameters(s,l,g){s.params=this.toAssignableList(l,g,!1)}parseFunctionBodyAndFinish(s,l,g=!1){this.parseFunctionBody(s,!1,g),this.finishNode(s,l)}parseFunctionBody(s,l,g=!1){let w=l&&!this.match(5);if(this.expressionScope.enter(dn()),w)s.body=this.parseMaybeAssign(),this.checkParams(s,!1,l,!1);else{let U=this.state.strict,q=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),s.body=this.parseBlock(!0,!1,oe=>{let ce=!this.isSimpleParamList(s.params);if(oe&&ce){let Ie=s.kind!=="method"&&s.kind!=="constructor"||!s.key?{node:s}:{at:s.key.loc.end};this.raise(h.IllegalLanguageModeDirective,Ie)}let ve=!U&&this.state.strict;this.checkParams(s,!(this.state.strict||l||g||ce),l,ve),this.state.strict&&s.id&&this.checkLVal(s.id,"function name",65,void 0,void 0,ve)}),this.prodParam.exit(),this.state.labels=q}this.expressionScope.exit()}isSimpleParamList(s){for(let l=0,g=s.length;l<g;l++)if(s[l].type!=="Identifier")return!1;return!0}checkParams(s,l,g,w=!0){let U=new Set;for(let q of s.params)this.checkLVal(q,"function parameter list",5,l?null:U,void 0,w)}parseExprList(s,l,g,w){let U=[],q=!0;for(;!this.eat(s);){if(q)q=!1;else if(this.expect(12),this.match(s)){w&&this.addTrailingCommaExtraToNode(w),this.next();break}U.push(this.parseExprListItem(l,g))}return U}parseExprListItem(s,l,g){let w;if(this.match(12))s||this.raise(h.UnexpectedToken,{at:this.state.curPosition()},","),w=null;else if(this.match(21)){let U=this.state.start,q=this.state.startLoc;w=this.parseParenItem(this.parseSpread(l),U,q)}else if(this.match(17)){this.expectPlugin("partialApplication"),g||this.raise(h.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let U=this.startNode();this.next(),w=this.finishNode(U,"ArgumentPlaceholder")}else w=this.parseMaybeAssignAllowIn(l,this.parseParenItem);return w}parseIdentifier(s){let l=this.startNode(),g=this.parseIdentifierName(l.start,s);return this.createIdentifier(l,g)}createIdentifier(s,l){return s.name=l,s.loc.identifierName=l,this.finishNode(s,"Identifier")}parseIdentifierName(s,l){let g,{startLoc:w,type:U}=this.state;if(!_(U))throw this.unexpected();g=this.state.value;let q=U<=88;return l?q&&this.replaceToken(124):this.checkReservedWord(g,w,q,!1),this.next(),g}checkReservedWord(s,l,g,w){if(!(s.length>10)&&!!function(U){return we.has(U)}(s)){if(s==="yield"){if(this.prodParam.hasYield)return void this.raise(h.YieldBindingIdentifier,{at:l})}else if(s==="await"){if(this.prodParam.hasAwait)return void this.raise(h.AwaitBindingIdentifier,{at:l});if(this.scope.inStaticBlock)return void this.raise(h.AwaitBindingIdentifierInStaticBlock,{at:l});this.expressionScope.recordAsyncArrowParametersError(h.AwaitBindingIdentifier,l)}else if(s==="arguments"&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(h.ArgumentsInClass,{at:l});if(g&&function(U){return ue.has(U)}(s))return void this.raise(h.UnexpectedKeyword,{at:l},s);(this.state.strict?w?ke:Be:$e)(s,this.inModule)&&this.raise(h.UnexpectedReservedWord,{at:l},s)}}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(s,l){let g=this.startNodeAt(s,l);return this.expressionScope.recordParameterInitializerError(g.loc.start,h.AwaitExpressionFormalParameter),this.eat(51)&&this.raise(h.ObsoleteAwaitStar,{node:g}),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(g.argument=this.parseMaybeUnary(null,!0)),this.finishNode(g,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:s}=this.state;return s===49||s===10||s===0||ae(s)||s===129||s===52||this.hasPlugin("v8intrinsic")&&s===50}parseYield(){let s=this.startNode();this.expressionScope.recordParameterInitializerError(s.loc.start,h.YieldInParameter),this.next();let l=!1,g=null;if(!this.hasPrecedingLineBreak())switch(l=this.eat(51),this.state.type){case 13:case 131:case 8:case 11:case 3:case 9:case 14:case 12:if(!l)break;default:g=this.parseMaybeAssign()}return s.delegate=l,s.argument=g,this.finishNode(s,"YieldExpression")}checkPipelineAtInfixOperator(s,l){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&s.type==="SequenceExpression"&&this.raise(h.PipelineHeadSequenceExpression,{at:l})}parseSmartPipelineBodyInStyle(s,l,g){let w=this.startNodeAt(l,g);return this.isSimpleReference(s)?(w.callee=s,this.finishNode(w,"PipelineBareFunction")):(this.checkSmartPipeTopicBodyEarlyErrors(g),w.expression=s,this.finishNode(w,"PipelineTopicExpression"))}isSimpleReference(s){switch(s.type){case"MemberExpression":return!s.computed&&this.isSimpleReference(s.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(s){if(this.match(19))throw this.raise(h.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(h.PipelineTopicUnused,{at:s})}withTopicBindingContext(s){let l=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return s()}finally{this.state.topicContext=l}}withSmartMixTopicForbiddingContext(s){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return s();{let l=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return s()}finally{this.state.topicContext=l}}}withSoloAwaitPermittingContext(s){let l=this.state.soloAwait;this.state.soloAwait=!0;try{return s()}finally{this.state.soloAwait=l}}allowInAnd(s){let l=this.prodParam.currentFlags();if(8&~l){this.prodParam.enter(8|l);try{return s()}finally{this.prodParam.exit()}}return s()}disallowInAnd(s){let l=this.prodParam.currentFlags();if(8&l){this.prodParam.enter(-9&l);try{return s()}finally{this.prodParam.exit()}}return s()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(s){let l=this.state.start,g=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let w=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let U=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),l,g,s);return this.state.inFSharpPipelineDirectBody=w,U}parseModuleExpression(){this.expectPlugin("moduleBlocks");let s=this.startNode();this.next(),this.eat(5);let l=this.initializeScopes(!0);this.enterInitialScopes();let g=this.startNode();try{s.body=this.parseProgram(g,8,"module")}finally{l()}return this.eat(8),this.finishNode(s,"ModuleExpression")}parsePropertyNamePrefixOperator(s){}}{parseTopLevel(s,l){return s.program=this.parseProgram(l),s.comments=this.state.comments,this.options.tokens&&(s.tokens=function(g,w){for(let U=0;U<g.length;U++){let q=g[U],{type:oe}=q;if(typeof oe=="number"){if(oe===130){let{loc:ce,start:ve,value:Ie,end:We}=q,Qe=ve+1,qe=r(ce.start,1);g.splice(U,1,new Rt({type:de(27),value:"#",start:ve,end:Qe,startLoc:ce.start,endLoc:qe}),new Rt({type:de(124),value:Ie,start:Qe,end:We,startLoc:qe,endLoc:ce.end})),U++;continue}if(ae(oe)){let{loc:ce,start:ve,value:Ie,end:We}=q,Qe=ve+1,qe=r(ce.start,1),yt,it,ht,Et,ir;yt=w.charCodeAt(ve)===96?new Rt({type:de(22),value:"`",start:ve,end:Qe,startLoc:ce.start,endLoc:qe}):new Rt({type:de(8),value:"}",start:ve,end:Qe,startLoc:ce.start,endLoc:qe}),oe===24?(ht=We-1,Et=r(ce.end,-1),it=Ie===null?null:Ie.slice(1,-1),ir=new Rt({type:de(22),value:"`",start:ht,end:We,startLoc:Et,endLoc:ce.end})):(ht=We-2,Et=r(ce.end,-2),it=Ie===null?null:Ie.slice(1,-2),ir=new Rt({type:de(23),value:"${",start:ht,end:We,startLoc:Et,endLoc:ce.end})),g.splice(U,1,yt,new Rt({type:de(20),value:it,start:Qe,end:ht,startLoc:qe,endLoc:Et}),ir),U+=2;continue}q.type=de(oe)}}return g}(this.tokens,this.input)),this.finishNode(s,"File")}parseProgram(s,l=131,g=this.options.sourceType){if(s.sourceType=g,s.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(s,!0,!0,l),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[w,U]of Array.from(this.scope.undefinedExports))this.raise(h.ModuleExportUndefined,{at:U},w);return this.finishNode(s,"Program")}stmtToDirective(s){let l=s;l.type="Directive",l.value=l.expression,delete l.expression;let g=l.value,w=g.value,U=this.input.slice(g.start,g.end),q=g.value=U.slice(1,-1);return this.addExtra(g,"raw",U),this.addExtra(g,"rawValue",q),this.addExtra(g,"expressionValue",w),g.type="DirectiveLiteral",l}parseInterpreterDirective(){if(!this.match(28))return null;let s=this.startNode();return s.value=this.state.value,this.next(),this.finishNode(s,"InterpreterDirective")}isLet(s){return!!this.isContextual(95)&&this.isLetKeyword(s)}isLetKeyword(s){let l=this.nextTokenStart(),g=this.codePointAtPos(l);if(g===92||g===91)return!0;if(s)return!1;if(g===123)return!0;if(xe(g)){if(jr.lastIndex=l,jr.test(this.input)){let w=this.codePointAtPos(jr.lastIndex);if(!Re(w)&&w!==92)return!1}return!0}return!1}parseStatement(s,l){return this.match(26)&&this.parseDecorators(!0),this.parseStatementContent(s,l)}parseStatementContent(s,l){let g=this.state.type,w=this.startNode(),U;switch(this.isLet(s)&&(g=70,U="let"),g){case 56:return this.parseBreakContinueStatement(w,!0);case 59:return this.parseBreakContinueStatement(w,!1);case 60:return this.parseDebuggerStatement(w);case 86:return this.parseDoStatement(w);case 87:return this.parseForStatement(w);case 64:if(this.lookaheadCharCode()===46)break;return s&&(this.state.strict?this.raise(h.StrictFunction,{at:this.state.startLoc}):s!=="if"&&s!=="label"&&this.raise(h.SloppyFunction,{at:this.state.startLoc})),this.parseFunctionStatement(w,!1,!s);case 76:return s&&this.unexpected(),this.parseClass(w,!0);case 65:return this.parseIfStatement(w);case 66:return this.parseReturnStatement(w);case 67:return this.parseSwitchStatement(w);case 68:return this.parseThrowStatement(w);case 69:return this.parseTryStatement(w);case 71:case 70:return U=U||this.state.value,s&&U!=="var"&&this.raise(h.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(w,U);case 88:return this.parseWhileStatement(w);case 72:return this.parseWithStatement(w);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(w);case 79:{let ce=this.lookaheadCharCode();if(ce===40||ce===46)break}case 78:{let ce;return this.options.allowImportExportEverywhere||l||this.raise(h.UnexpectedImportExport,{at:this.state.startLoc}),this.next(),g===79?(ce=this.parseImport(w),ce.type!=="ImportDeclaration"||ce.importKind&&ce.importKind!=="value"||(this.sawUnambiguousESM=!0)):(ce=this.parseExport(w),(ce.type!=="ExportNamedDeclaration"||ce.exportKind&&ce.exportKind!=="value")&&(ce.type!=="ExportAllDeclaration"||ce.exportKind&&ce.exportKind!=="value")&&ce.type!=="ExportDefaultDeclaration"||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(w),ce}default:if(this.isAsyncFunction())return s&&this.raise(h.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(w,!0,!s)}let q=this.state.value,oe=this.parseExpression();return D(g)&&oe.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(w,q,oe,s):this.parseExpressionStatement(w,oe)}assertModuleNodeAllowed(s){this.options.allowImportExportEverywhere||this.inModule||this.raise(p.ImportOutsideModule,{node:s})}takeDecorators(s){let l=this.state.decoratorStack[this.state.decoratorStack.length-1];l.length&&(s.decorators=l,this.resetStartLocationFromNode(s,l[0]),this.state.decoratorStack[this.state.decoratorStack.length-1]=[])}canHaveLeadingDecorator(){return this.match(76)}parseDecorators(s){let l=this.state.decoratorStack[this.state.decoratorStack.length-1];for(;this.match(26);){let g=this.parseDecorator();l.push(g)}if(this.match(78))s||this.unexpected(),this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(h.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(h.UnexpectedLeadingDecorator,{at:this.state.startLoc})}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);let s=this.startNode();if(this.next(),this.hasPlugin("decorators")){this.state.decoratorStack.push([]);let l=this.state.start,g=this.state.startLoc,w;if(this.eat(10))w=this.parseExpression(),this.expect(11);else for(w=this.parseIdentifier(!1);this.eat(16);){let U=this.startNodeAt(l,g);U.object=w,U.property=this.parseIdentifier(!0),U.computed=!1,w=this.finishNode(U,"MemberExpression")}s.expression=this.parseMaybeDecoratorArguments(w),this.state.decoratorStack.pop()}else s.expression=this.parseExprSubscripts();return this.finishNode(s,"Decorator")}parseMaybeDecoratorArguments(s){if(this.eat(10)){let l=this.startNodeAtNode(s);return l.callee=s,l.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(l.arguments),this.finishNode(l,"CallExpression")}return s}parseBreakContinueStatement(s,l){return this.next(),this.isLineTerminator()?s.label=null:(s.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(s,l),this.finishNode(s,l?"BreakStatement":"ContinueStatement")}verifyBreakContinue(s,l){let g;for(g=0;g<this.state.labels.length;++g){let w=this.state.labels[g];if((s.label==null||w.name===s.label.name)&&(w.kind!=null&&(l||w.kind==="loop")||s.label&&l))break}g===this.state.labels.length&&this.raise(h.IllegalBreakContinue,{node:s},l?"break":"continue")}parseDebuggerStatement(s){return this.next(),this.semicolon(),this.finishNode(s,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let s=this.parseExpression();return this.expect(11),s}parseDoStatement(s){return this.next(),this.state.labels.push(St),s.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("do")),this.state.labels.pop(),this.expect(88),s.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(s,"DoWhileStatement")}parseForStatement(s){this.next(),this.state.labels.push(St);let l=null;if(this.isAwaitAllowed()&&this.eatContextual(92)&&(l=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return l!==null&&this.unexpected(l),this.parseFor(s,null);let g=this.isContextual(95),w=g&&this.isLetKeyword();if(this.match(70)||this.match(71)||w){let ve=this.startNode(),Ie=w?"let":this.state.value;return this.next(),this.parseVar(ve,!0,Ie),this.finishNode(ve,"VariableDeclaration"),(this.match(54)||this.isContextual(97))&&ve.declarations.length===1?this.parseForIn(s,ve,l):(l!==null&&this.unexpected(l),this.parseFor(s,ve))}let U=this.isContextual(91),q=new xr,oe=this.parseExpression(!0,q),ce=this.isContextual(97);if(ce&&(g&&this.raise(h.ForOfLet,{node:oe}),l===null&&U&&oe.type==="Identifier"&&this.raise(h.ForOfAsync,{node:oe})),ce||this.match(54)){this.toAssignable(oe,!0);let ve=ce?"for-of statement":"for-in statement";return this.checkLVal(oe,ve),this.parseForIn(s,oe,l)}return this.checkExpressionErrors(q,!0),l!==null&&this.unexpected(l),this.parseFor(s,oe)}parseFunctionStatement(s,l,g){return this.next(),this.parseFunction(s,1|(g?0:2),l)}parseIfStatement(s){return this.next(),s.test=this.parseHeaderExpression(),s.consequent=this.parseStatement("if"),s.alternate=this.eat(62)?this.parseStatement("if"):null,this.finishNode(s,"IfStatement")}parseReturnStatement(s){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(h.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?s.argument=null:(s.argument=this.parseExpression(),this.semicolon()),this.finishNode(s,"ReturnStatement")}parseSwitchStatement(s){this.next(),s.discriminant=this.parseHeaderExpression();let l=s.cases=[],g,w;for(this.expect(5),this.state.labels.push(Bt),this.scope.enter(0);!this.match(8);)if(this.match(57)||this.match(61)){let U=this.match(57);g&&this.finishNode(g,"SwitchCase"),l.push(g=this.startNode()),g.consequent=[],this.next(),U?g.test=this.parseExpression():(w&&this.raise(h.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),w=!0,g.test=null),this.expect(14)}else g?g.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),g&&this.finishNode(g,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(s,"SwitchStatement")}parseThrowStatement(s){return this.next(),this.hasPrecedingLineBreak()&&this.raise(h.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),s.argument=this.parseExpression(),this.semicolon(),this.finishNode(s,"ThrowStatement")}parseCatchClauseParam(){let s=this.parseBindingAtom(),l=s.type==="Identifier";return this.scope.enter(l?8:0),this.checkLVal(s,"catch clause",9),s}parseTryStatement(s){if(this.next(),s.block=this.parseBlock(),s.handler=null,this.match(58)){let l=this.startNode();this.next(),this.match(10)?(this.expect(10),l.param=this.parseCatchClauseParam(),this.expect(11)):(l.param=null,this.scope.enter(0)),l.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),s.handler=this.finishNode(l,"CatchClause")}return s.finalizer=this.eat(63)?this.parseBlock():null,s.handler||s.finalizer||this.raise(h.NoCatchOrFinally,{node:s}),this.finishNode(s,"TryStatement")}parseVarStatement(s,l){return this.next(),this.parseVar(s,!1,l),this.semicolon(),this.finishNode(s,"VariableDeclaration")}parseWhileStatement(s){return this.next(),s.test=this.parseHeaderExpression(),this.state.labels.push(St),s.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("while")),this.state.labels.pop(),this.finishNode(s,"WhileStatement")}parseWithStatement(s){return this.state.strict&&this.raise(h.StrictWith,{at:this.state.startLoc}),this.next(),s.object=this.parseHeaderExpression(),s.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("with")),this.finishNode(s,"WithStatement")}parseEmptyStatement(s){return this.next(),this.finishNode(s,"EmptyStatement")}parseLabeledStatement(s,l,g,w){for(let oe of this.state.labels)oe.name===l&&this.raise(h.LabelRedeclaration,{node:g},l);let U=(q=this.state.type)>=86&&q<=88?"loop":this.match(67)?"switch":null;var q;for(let oe=this.state.labels.length-1;oe>=0;oe--){let ce=this.state.labels[oe];if(ce.statementStart!==s.start)break;ce.statementStart=this.state.start,ce.kind=U}return this.state.labels.push({name:l,kind:U,statementStart:this.state.start}),s.body=this.parseStatement(w?w.indexOf("label")===-1?w+"label":w:"label"),this.state.labels.pop(),s.label=g,this.finishNode(s,"LabeledStatement")}parseExpressionStatement(s,l){return s.expression=l,this.semicolon(),this.finishNode(s,"ExpressionStatement")}parseBlock(s=!1,l=!0,g){let w=this.startNode();return s&&this.state.strictErrors.clear(),this.expect(5),l&&this.scope.enter(0),this.parseBlockBody(w,s,!1,8,g),l&&this.scope.exit(),this.finishNode(w,"BlockStatement")}isValidDirective(s){return s.type==="ExpressionStatement"&&s.expression.type==="StringLiteral"&&!s.expression.extra.parenthesized}parseBlockBody(s,l,g,w,U){let q=s.body=[],oe=s.directives=[];this.parseBlockOrModuleBlockBody(q,l?oe:void 0,g,w,U)}parseBlockOrModuleBlockBody(s,l,g,w,U){let q=this.state.strict,oe=!1,ce=!1;for(;!this.match(w);){let ve=this.parseStatement(null,g);if(l&&!ce){if(this.isValidDirective(ve)){let Ie=this.stmtToDirective(ve);l.push(Ie),oe||Ie.value.value!=="use strict"||(oe=!0,this.setStrict(!0));continue}ce=!0,this.state.strictErrors.clear()}s.push(ve)}U&&U.call(this,oe),q||this.setStrict(!1),this.next()}parseFor(s,l){return s.init=l,this.semicolon(!1),s.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),s.update=this.match(11)?null:this.parseExpression(),this.expect(11),s.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for")),this.scope.exit(),this.state.labels.pop(),this.finishNode(s,"ForStatement")}parseForIn(s,l,g){let w=this.match(54);return this.next(),w?g!==null&&this.unexpected(g):s.await=g!==null,l.type!=="VariableDeclaration"||l.declarations[0].init==null||w&&!this.state.strict&&l.kind==="var"&&l.declarations[0].id.type==="Identifier"||this.raise(h.ForInOfLoopInitializer,{node:l},w?"for-in":"for-of"),l.type==="AssignmentPattern"&&this.raise(h.InvalidLhs,{node:l},"for-loop"),s.left=l,s.right=w?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),s.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for")),this.scope.exit(),this.state.labels.pop(),this.finishNode(s,w?"ForInStatement":"ForOfStatement")}parseVar(s,l,g){let w=s.declarations=[],U=this.hasPlugin("typescript");for(s.kind=g;;){let q=this.startNode();if(this.parseVarId(q,g),this.eat(29)?q.init=l?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():(g!=="const"||this.match(54)||this.isContextual(97)?q.id.type==="Identifier"||l&&(this.match(54)||this.isContextual(97))||this.raise(h.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc},"Complex binding patterns"):U||this.raise(h.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc},"Const declarations"),q.init=null),w.push(this.finishNode(q,"VariableDeclarator")),!this.eat(12))break}return s}parseVarId(s,l){s.id=this.parseBindingAtom(),this.checkLVal(s.id,"variable declaration",l==="var"?5:9,void 0,l!=="var")}parseFunction(s,l=0,g=!1){let w=1&l,U=2&l,q=!(!w||4&l);this.initFunction(s,g),this.match(51)&&U&&this.raise(h.GeneratorInSingleStatementContext,{at:this.state.startLoc}),s.generator=this.eat(51),w&&(s.id=this.parseFunctionId(q));let oe=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(Tt(g,s.generator)),w||(s.id=this.parseFunctionId()),this.parseFunctionParams(s,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(s,w?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),w&&!U&&this.registerFunctionStatementId(s),this.state.maybeInArrowParameters=oe,s}parseFunctionId(s){return s||D(this.state.type)?this.parseIdentifier():null}parseFunctionParams(s,l){this.expect(10),this.expressionScope.enter(new Xr(3)),s.params=this.parseBindingList(11,41,!1,l),this.expressionScope.exit()}registerFunctionStatementId(s){s.id&&this.scope.declareName(s.id.name,this.state.strict||s.generator||s.async?this.scope.treatFunctionsAsVar?5:9:17,s.id.loc.start)}parseClass(s,l,g){this.next(),this.takeDecorators(s);let w=this.state.strict;return this.state.strict=!0,this.parseClassId(s,l,g),this.parseClassSuper(s),s.body=this.parseClassBody(!!s.superClass,w),this.finishNode(s,l?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(s){return!(s.computed||s.static||s.key.name!=="constructor"&&s.key.value!=="constructor")}parseClassBody(s,l){this.classScope.enter();let g={hadConstructor:!1,hadSuperClass:s},w=[],U=this.startNode();if(U.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(w.length>0)throw this.raise(h.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){w.push(this.parseDecorator());continue}let q=this.startNode();w.length&&(q.decorators=w,this.resetStartLocationFromNode(q,w[0]),w=[]),this.parseClassMember(U,q,g),q.kind==="constructor"&&q.decorators&&q.decorators.length>0&&this.raise(h.DecoratorConstructor,{node:q})}}),this.state.strict=l,this.next(),w.length)throw this.raise(h.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(U,"ClassBody")}parseClassMemberFromModifier(s,l){let g=this.parseIdentifier(!0);if(this.isClassMethod()){let w=l;return w.kind="method",w.computed=!1,w.key=g,w.static=!1,this.pushClassMethod(s,w,!1,!1,!1,!1),!0}if(this.isClassProperty()){let w=l;return w.computed=!1,w.key=g,w.static=!1,s.body.push(this.parseClassProperty(w)),!0}return this.resetPreviousNodeTrailingComments(g),!1}parseClassMember(s,l,g){let w=this.isContextual(100);if(w){if(this.parseClassMemberFromModifier(s,l))return;if(this.eat(5))return void this.parseClassStaticBlock(s,l)}this.parseClassMemberWithIsStatic(s,l,g,w)}parseClassMemberWithIsStatic(s,l,g,w){let U=l,q=l,oe=l,ce=l,ve=U,Ie=U;if(l.static=w,this.parsePropertyNamePrefixOperator(l),this.eat(51)){ve.kind="method";let it=this.match(130);return this.parseClassElementName(ve),it?void this.pushClassPrivateMethod(s,q,!0,!1):(this.isNonstaticConstructor(U)&&this.raise(h.ConstructorIsGenerator,{node:U.key}),void this.pushClassMethod(s,U,!0,!1,!1,!1))}let We=D(this.state.type)&&!this.state.containsEsc,Qe=this.match(130),qe=this.parseClassElementName(l),yt=this.state.startLoc;if(this.parsePostMemberNameModifiers(Ie),this.isClassMethod()){if(ve.kind="method",Qe)return void this.pushClassPrivateMethod(s,q,!1,!1);let it=this.isNonstaticConstructor(U),ht=!1;it&&(U.kind="constructor",g.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(h.DuplicateConstructor,{node:qe}),it&&this.hasPlugin("typescript")&&l.override&&this.raise(h.OverrideOnConstructor,{node:qe}),g.hadConstructor=!0,ht=g.hadSuperClass),this.pushClassMethod(s,U,!1,!1,it,ht)}else if(this.isClassProperty())Qe?this.pushClassPrivateProperty(s,ce):this.pushClassProperty(s,oe);else if(We&&qe.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(qe);let it=this.eat(51);Ie.optional&&this.unexpected(yt),ve.kind="method";let ht=this.match(130);this.parseClassElementName(ve),this.parsePostMemberNameModifiers(Ie),ht?this.pushClassPrivateMethod(s,q,it,!0):(this.isNonstaticConstructor(U)&&this.raise(h.ConstructorIsAsync,{node:U.key}),this.pushClassMethod(s,U,it,!0,!1,!1))}else if(!We||qe.name!=="get"&&qe.name!=="set"||this.match(51)&&this.isLineTerminator())this.isLineTerminator()?Qe?this.pushClassPrivateProperty(s,ce):this.pushClassProperty(s,oe):this.unexpected();else{this.resetPreviousNodeTrailingComments(qe),ve.kind=qe.name;let it=this.match(130);this.parseClassElementName(U),it?this.pushClassPrivateMethod(s,q,!1,!1):(this.isNonstaticConstructor(U)&&this.raise(h.ConstructorIsAccessor,{node:U.key}),this.pushClassMethod(s,U,!1,!1,!1,!1)),this.checkGetterSetterParams(U)}}parseClassElementName(s){let{type:l,value:g}=this.state;if(l!==124&&l!==125||!s.static||g!=="prototype"||this.raise(h.StaticPrototype,{at:this.state.startLoc}),l===130){g==="constructor"&&this.raise(h.ConstructorClassPrivateField,{at:this.state.startLoc});let w=this.parsePrivateName();return s.key=w,w}return this.parsePropertyName(s)}parseClassStaticBlock(s,l){var g;this.scope.enter(208);let w=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let U=l.body=[];this.parseBlockOrModuleBlockBody(U,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=w,s.body.push(this.finishNode(l,"StaticBlock")),(g=l.decorators)!=null&&g.length&&this.raise(h.DecoratorStaticBlock,{node:l})}pushClassProperty(s,l){l.computed||l.key.name!=="constructor"&&l.key.value!=="constructor"||this.raise(h.ConstructorClassField,{node:l.key}),s.body.push(this.parseClassProperty(l))}pushClassPrivateProperty(s,l){let g=this.parseClassPrivateProperty(l);s.body.push(g),this.classScope.declarePrivateName(this.getPrivateNameSV(g.key),0,g.key.loc.start)}pushClassMethod(s,l,g,w,U,q){s.body.push(this.parseMethod(l,g,w,U,q,"ClassMethod",!0))}pushClassPrivateMethod(s,l,g,w){let U=this.parseMethod(l,g,w,!1,!1,"ClassPrivateMethod",!0);s.body.push(U);let q=U.kind==="get"?U.static?6:2:U.kind==="set"?U.static?5:1:0;this.declareClassPrivateMethodInScope(U,q)}declareClassPrivateMethodInScope(s,l){this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),l,s.key.loc.start)}parsePostMemberNameModifiers(s){}parseClassPrivateProperty(s){return this.parseInitializer(s),this.semicolon(),this.finishNode(s,"ClassPrivateProperty")}parseClassProperty(s){return this.parseInitializer(s),this.semicolon(),this.finishNode(s,"ClassProperty")}parseInitializer(s){this.scope.enter(80),this.expressionScope.enter(dn()),this.prodParam.enter(0),s.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(s,l,g,w=139){if(D(this.state.type))s.id=this.parseIdentifier(),l&&this.checkLVal(s.id,"class name",w);else{if(!g&&l)throw this.raise(h.MissingClassName,{at:this.state.startLoc});s.id=null}}parseClassSuper(s){s.superClass=this.eat(77)?this.parseExprSubscripts():null}parseExport(s){let l=this.maybeParseExportDefaultSpecifier(s),g=!l||this.eat(12),w=g&&this.eatExportStar(s),U=w&&this.maybeParseExportNamespaceSpecifier(s),q=g&&(!U||this.eat(12)),oe=l||w;if(w&&!U)return l&&this.unexpected(),this.parseExportFrom(s,!0),this.finishNode(s,"ExportAllDeclaration");let ce=this.maybeParseExportNamedSpecifiers(s);if(l&&g&&!w&&!ce||U&&q&&!ce)throw this.unexpected(null,5);let ve;if(oe||ce?(ve=!1,this.parseExportFrom(s,oe)):ve=this.maybeParseExportDeclaration(s),oe||ce||ve)return this.checkExport(s,!0,!1,!!s.source),this.finishNode(s,"ExportNamedDeclaration");if(this.eat(61))return s.declaration=this.parseExportDefaultExpression(),this.checkExport(s,!0,!0),this.finishNode(s,"ExportDefaultDeclaration");throw this.unexpected(null,5)}eatExportStar(s){return this.eat(51)}maybeParseExportDefaultSpecifier(s){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");let l=this.startNode();return l.exported=this.parseIdentifier(!0),s.specifiers=[this.finishNode(l,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(s){if(this.isContextual(89)){s.specifiers||(s.specifiers=[]);let l=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),l.exported=this.parseModuleExportName(),s.specifiers.push(this.finishNode(l,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(s){if(this.match(5)){s.specifiers||(s.specifiers=[]);let l=s.exportKind==="type";return s.specifiers.push(...this.parseExportSpecifiers(l)),s.source=null,s.declaration=null,this.hasPlugin("importAssertions")&&(s.assertions=[]),!0}return!1}maybeParseExportDeclaration(s){return!!this.shouldParseExportDeclaration()&&(s.specifiers=[],s.source=null,this.hasPlugin("importAssertions")&&(s.assertions=[]),s.declaration=this.parseExportDeclaration(s),!0)}isAsyncFunction(){if(!this.isContextual(91))return!1;let s=this.nextTokenStart();return!At.test(this.input.slice(this.state.pos,s))&&this.isUnparsedContextual(s,"function")}parseExportDefaultExpression(){let s=this.startNode(),l=this.isAsyncFunction();if(this.match(64)||l)return this.next(),l&&this.next(),this.parseFunction(s,5,l);if(this.match(76))return this.parseClass(s,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(h.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseDecorators(!1),this.parseClass(s,!0,!0);if(this.match(71)||this.match(70)||this.isLet())throw this.raise(h.UnsupportedDefaultExport,{at:this.state.startLoc});let g=this.parseMaybeAssignAllowIn();return this.semicolon(),g}parseExportDeclaration(s){return this.parseStatement(null)}isExportDefaultSpecifier(){let{type:s}=this.state;if(D(s)){if(s===91&&!this.state.containsEsc||s===95)return!1;if((s===122||s===121)&&!this.state.containsEsc){let{type:w}=this.lookahead();if(D(w)&&w!==93||w===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(61))return!1;let l=this.nextTokenStart(),g=this.isUnparsedContextual(l,"from");if(this.input.charCodeAt(l)===44||D(this.state.type)&&g)return!0;if(this.match(61)&&g){let w=this.input.charCodeAt(this.nextTokenStartSince(l+4));return w===34||w===39}return!1}parseExportFrom(s,l){if(this.eatContextual(93)){s.source=this.parseImportSource(),this.checkExport(s);let g=this.maybeParseImportAssertions();g&&(s.assertions=g)}else l&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:s}=this.state;if(s===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(this.getPluginOption("decorators","decoratorsBeforeExport"))throw this.raise(h.DecoratorBeforeExport,{at:this.state.startLoc});return!0}return s===70||s===71||s===64||s===76||this.isLet()||this.isAsyncFunction()}checkExport(s,l,g,w){if(l){if(g){if(this.checkDuplicateExports(s,"default"),this.hasPlugin("exportDefaultFrom")){var U;let q=s.declaration;q.type!=="Identifier"||q.name!=="from"||q.end-q.start!=4||(U=q.extra)!=null&&U.parenthesized||this.raise(h.ExportDefaultFromAsIdentifier,{node:q})}}else if(s.specifiers&&s.specifiers.length)for(let q of s.specifiers){let{exported:oe}=q,ce=oe.type==="Identifier"?oe.name:oe.value;if(this.checkDuplicateExports(q,ce),!w&&q.local){let{local:ve}=q;ve.type!=="Identifier"?this.raise(h.ExportBindingIsString,{node:q},ve.value,ce):(this.checkReservedWord(ve.name,ve.loc.start,!0,!1),this.scope.checkLocalExport(ve))}}else if(s.declaration){if(s.declaration.type==="FunctionDeclaration"||s.declaration.type==="ClassDeclaration"){let q=s.declaration.id;if(!q)throw new Error("Assertion failure");this.checkDuplicateExports(s,q.name)}else if(s.declaration.type==="VariableDeclaration")for(let q of s.declaration.declarations)this.checkDeclaration(q.id)}}if(this.state.decoratorStack[this.state.decoratorStack.length-1].length)throw this.raise(h.UnsupportedDecoratorExport,{node:s})}checkDeclaration(s){if(s.type==="Identifier")this.checkDuplicateExports(s,s.name);else if(s.type==="ObjectPattern")for(let l of s.properties)this.checkDeclaration(l);else if(s.type==="ArrayPattern")for(let l of s.elements)l&&this.checkDeclaration(l);else s.type==="ObjectProperty"?this.checkDeclaration(s.value):s.type==="RestElement"?this.checkDeclaration(s.argument):s.type==="AssignmentPattern"&&this.checkDeclaration(s.left)}checkDuplicateExports(s,l){this.exportedIdentifiers.has(l)&&this.raise(l==="default"?h.DuplicateDefaultExport:h.DuplicateExport,{node:s},l),this.exportedIdentifiers.add(l)}parseExportSpecifiers(s){let l=[],g=!0;for(this.expect(5);!this.eat(8);){if(g)g=!1;else if(this.expect(12),this.eat(8))break;let w=this.isContextual(122),U=this.match(125),q=this.startNode();q.local=this.parseModuleExportName(),l.push(this.parseExportSpecifier(q,U,s,w))}return l}parseExportSpecifier(s,l,g,w){return this.eatContextual(89)?s.exported=this.parseModuleExportName():l?s.exported=pn(s.local):s.exported||(s.exported=tr(s.local)),this.finishNode(s,"ExportSpecifier")}parseModuleExportName(){if(this.match(125)){let s=this.parseStringLiteral(this.state.value),l=s.value.match(Ln);return l&&this.raise(h.ModuleExportNameHasLoneSurrogate,{node:s},l[0].charCodeAt(0).toString(16)),s}return this.parseIdentifier(!0)}parseImport(s){if(s.specifiers=[],!this.match(125)){let g=!this.maybeParseDefaultImportSpecifier(s)||this.eat(12),w=g&&this.maybeParseStarImportSpecifier(s);g&&!w&&this.parseNamedImportSpecifiers(s),this.expectContextual(93)}s.source=this.parseImportSource();let l=this.maybeParseImportAssertions();if(l)s.assertions=l;else{let g=this.maybeParseModuleAttributes();g&&(s.attributes=g)}return this.semicolon(),this.finishNode(s,"ImportDeclaration")}parseImportSource(){return this.match(125)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(s){return D(this.state.type)}parseImportSpecifierLocal(s,l,g,w){l.local=this.parseIdentifier(),this.checkLVal(l.local,w,9),s.specifiers.push(this.finishNode(l,g))}parseAssertEntries(){let s=[],l=new Set;do{if(this.match(8))break;let g=this.startNode(),w=this.state.value;if(l.has(w)&&this.raise(h.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc},w),l.add(w),this.match(125)?g.key=this.parseStringLiteral(w):g.key=this.parseIdentifier(!0),this.expect(14),!this.match(125))throw this.raise(h.ModuleAttributeInvalidValue,{at:this.state.startLoc});g.value=this.parseStringLiteral(this.state.value),this.finishNode(g,"ImportAttribute"),s.push(g)}while(this.eat(12));return s}maybeParseModuleAttributes(){if(!this.match(72)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();let s=[],l=new Set;do{let g=this.startNode();if(g.key=this.parseIdentifier(!0),g.key.name!=="type"&&this.raise(h.ModuleAttributeDifferentFromType,{node:g.key},g.key.name),l.has(g.key.name)&&this.raise(h.ModuleAttributesWithDuplicateKeys,{node:g.key},g.key.name),l.add(g.key.name),this.expect(14),!this.match(125))throw this.raise(h.ModuleAttributeInvalidValue,{at:this.state.startLoc});g.value=this.parseStringLiteral(this.state.value),this.finishNode(g,"ImportAttribute"),s.push(g)}while(this.eat(12));return s}maybeParseImportAssertions(){if(!this.isContextual(90)||this.hasPrecedingLineBreak())return this.hasPlugin("importAssertions")?[]:null;this.expectPlugin("importAssertions"),this.next(),this.eat(5);let s=this.parseAssertEntries();return this.eat(8),s}maybeParseDefaultImportSpecifier(s){return!!this.shouldParseDefaultImport(s)&&(this.parseImportSpecifierLocal(s,this.startNode(),"ImportDefaultSpecifier","default import specifier"),!0)}maybeParseStarImportSpecifier(s){if(this.match(51)){let l=this.startNode();return this.next(),this.expectContextual(89),this.parseImportSpecifierLocal(s,l,"ImportNamespaceSpecifier","import namespace specifier"),!0}return!1}parseNamedImportSpecifiers(s){let l=!0;for(this.expect(5);!this.eat(8);){if(l)l=!1;else{if(this.eat(14))throw this.raise(h.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let g=this.startNode(),w=this.match(125),U=this.isContextual(122);g.imported=this.parseModuleExportName();let q=this.parseImportSpecifier(g,w,s.importKind==="type"||s.importKind==="typeof",U);s.specifiers.push(q)}}parseImportSpecifier(s,l,g,w){if(this.eatContextual(89))s.local=this.parseIdentifier();else{let{imported:U}=s;if(l)throw this.raise(h.ImportBindingIsString,{node:s},U.value);this.checkReservedWord(U.name,s.loc.start,!0,!0),s.local||(s.local=tr(U))}return this.checkLVal(s.local,"import specifier",9),this.finishNode(s,"ImportSpecifier")}isThisParam(s){return s.type==="Identifier"&&s.name==="this"}}{constructor(s,l){super(s=function(g){let w={};for(let U of Object.keys(nr))w[U]=g&&g[U]!=null?g[U]:nr[U];return w}(s),l),this.options=s,this.initializeScopes(),this.plugins=function(g){let w=new Map;for(let U of g){let[q,oe]=Array.isArray(U)?U:[U,{}];w.has(q)||w.set(q,oe||{})}return w}(this.options.plugins),this.filename=s.sourceFilename}getScopeHandler(){return st}parse(){this.enterInitialScopes();let s=this.startNode(),l=this.startNode();return this.nextToken(),s.errors=null,this.parseTopLevel(s,l),s.errors=this.state.errors,s}}let zr=function(Ee){let s={};for(let l of Object.keys(Ee))s[l]=de(Ee[l]);return s}(L);function wt(Ee,s){let l=Ur;return Ee!=null&&Ee.plugins&&(function(g){if(bt(g,"decorators")){if(bt(g,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let w=Jt(g,"decorators","decoratorsBeforeExport");if(w==null)throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.");if(typeof w!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean.")}if(bt(g,"flow")&&bt(g,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(bt(g,"placeholders")&&bt(g,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(bt(g,"pipelineOperator")){let w=Jt(g,"pipelineOperator","proposal");if(!Rn.includes(w)){let q=Rn.map(oe=>`"${oe}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${q}.`)}let U=bt(g,["recordAndTuple",{syntaxType:"hash"}]);if(w==="hack"){if(bt(g,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(bt(g,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let q=Jt(g,"pipelineOperator","topicToken");if(!fr.includes(q)){let oe=fr.map(ce=>`"${ce}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${oe}.`)}if(q==="#"&&U)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(w==="smart"&&U)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(bt(g,"moduleAttributes")){if(bt(g,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if(Jt(g,"moduleAttributes","version")!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(bt(g,"recordAndTuple")&&!rr.includes(Jt(g,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+rr.map(w=>`'${w}'`).join(", "));if(bt(g,"asyncDoExpressions")&&!bt(g,"doExpressions")){let w=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw w.missingPlugins="doExpressions",w}}(Ee.plugins),l=function(g){let w=$r.filter(oe=>bt(g,oe)),U=w.join("/"),q=Er[U];if(!q){q=Ur;for(let oe of w)q=br[oe](q);Er[U]=q}return q}(Ee.plugins)),new l(Ee,s)}let Er={};e.parse=function(Ee,s){var l;if(((l=s)==null?void 0:l.sourceType)!=="unambiguous")return wt(s,Ee).parse();s=Object.assign({},s);try{s.sourceType="module";let g=wt(s,Ee),w=g.parse();if(g.sawUnambiguousESM)return w;if(g.ambiguousScriptDifferentAst)try{return s.sourceType="script",wt(s,Ee).parse()}catch (e66){}else w.program.sourceType="script";return w}catch(g){try{return s.sourceType="script",wt(s,Ee).parse()}catch (e67){}throw g}},e.parseExpression=function(Ee,s){let l=wt(s,Ee);return l.options.strictMode&&(l.state.strict=!0),l.getExpression()},e.tokTypes=zr},"./node_modules/@babel/plugin-proposal-decorators/lib/index.js":(A,e,c)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=c("./node_modules/@babel/helper-plugin-utils/lib/index.js"),t=c("./node_modules/@babel/plugin-syntax-decorators/lib/index.js"),r=c("./node_modules/@babel/helper-create-class-features-plugin/lib/index.js"),i=c("./node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js"),a=(0,n.declare)((u,f)=>{u.assertVersion(7);let{legacy:h=!1}=f;if(typeof h!="boolean")throw new Error("'legacy' must be a boolean.");let{decoratorsBeforeExport:p}=f;if(p===void 0){if(!h)throw new Error("The decorators plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you want to use the legacy decorators semantics, you can set the 'legacy: true' option.")}else{if(h)throw new Error("'decoratorsBeforeExport' can't be used with legacy decorators.");if(typeof p!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean.")}return h?{name:"proposal-decorators",inherits:t.default,manipulateOptions({generatorOpts:o}){o.decoratorsBeforeExport=p},visitor:i.default}:(0,r.createClassFeaturePlugin)({name:"proposal-decorators",api:u,feature:r.FEATURES.decorators,manipulateOptions({generatorOpts:o,parserOpts:y}){y.plugins.push(["decorators",{decoratorsBeforeExport:p}]),o.decoratorsBeforeExport=p}})});e.default=a},"./node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js":(A,e,c)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=c("./node_modules/@babel/core/lib/index.js");let t=(0,n.template)(`
|
|
@@ -2219,20 +2219,20 @@ ${D.join(`
|
|
|
2219
2219
|
`+Oe+"]"}return he.pop(),ye=Oe,$e}(ue):function(be){if(he.indexOf(be)>=0)throw TypeError("Converting circular structure to JSON5");he.push(be);let Oe=ye;ye+=me;let $e,Be=De||Object.keys(be),Ye=[];for(let ke of Be){let we=Pe(ke,be);if(we!==void 0){let et=Re(ke)+":";me!==""&&(et+=" "),et+=we,Ye.push(et)}}if(Ye.length===0)$e="{}";else{let ke;if(me==="")ke=Ye.join(","),$e="{"+ke+"}";else{let we=`,
|
|
2220
2220
|
`+ye;ke=Ye.join(we),$e=`{
|
|
2221
2221
|
`+ye+ke+`,
|
|
2222
|
-
`+Oe+"}"}}return he.pop(),ye=Oe,$e}(ue):void 0}function xe(pe){let ee={"'":.1,'"':.2},ue={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},be="";for(let $e=0;$e<pe.length;$e++){let Be=pe[$e];switch(Be){case"'":case'"':ee[Be]++,be+=Be;continue;case"\0":if(t.isDigit(pe[$e+1])){be+="\\x00";continue}}if(ue[Be])be+=ue[Be];else if(Be<" "){let Ye=Be.charCodeAt(0).toString(16);be+="\\x"+("00"+Ye).substring(Ye.length)}else be+=Be}let Oe=Ce||Object.keys(ee).reduce(($e,Be)=>ee[$e]<ee[Be]?$e:Be);return be=be.replace(new RegExp(Oe,"g"),ue[Oe]),Oe+be+Oe}function Re(pe){if(pe.length===0)return xe(pe);let ee=String.fromCodePoint(pe.codePointAt(0));if(!t.isIdStartChar(ee))return xe(pe);for(let ue=ee.length;ue<pe.length;ue++)if(!t.isIdContinueChar(String.fromCodePoint(pe.codePointAt(ue))))return xe(pe);return pe}}}},"./node_modules/@babel/traverse/node_modules/globals/globals.json":A=>{"use strict";A.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')}},N={};function j(A){var e=N[A];if(e!==void 0)return e.exports;var c=N[A]={exports:{}};return P[A](c,c.exports,j),c.exports}j.d=(A,e)=>{for(var c in e)j.o(e,c)&&!j.o(A,c)&&Object.defineProperty(A,c,{enumerable:!0,get:e[c]})},j.o=(A,e)=>Object.prototype.hasOwnProperty.call(A,e),j.r=A=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})};var X={};(()=>{"use strict";j.d(X,{default:()=>e});var A=j("./node_modules/@babel/core/lib/index.js");function e(c){var n,t,r,i,a,u;let f=Object.assign(Object.assign({babelrc:!1,configFile:!1,compact:!1,retainLines:typeof c.retainLines!="boolean"||c.retainLines,filename:"",cwd:"/"},c.babel),{plugins:[[j("./node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"),{allowTopLevelThis:!0}],[j("./node_modules/babel-plugin-dynamic-import-node/lib/index.js"),{noInterop:!0}],[j("./node_modules/babel-plugin-transform-import-meta/lib/index.js")],[j("./node_modules/@babel/plugin-syntax-class-properties/lib/index.js")]]});c.ts&&(f.plugins.push([j("./node_modules/@babel/plugin-transform-typescript/lib/index.js"),{allowDeclareFields:!0}]),f.plugins.unshift([j("./node_modules/@babel/plugin-proposal-decorators/lib/index.js"),{legacy:!0}]),f.plugins.push(j("./node_modules/babel-plugin-parameter-decorator/lib/index.js"))),c.legacy&&(f.plugins.push(j("./node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js")),f.plugins.push(j("./node_modules/@babel/plugin-proposal-optional-chaining/lib/index.js"))),c.babel&&Array.isArray(c.babel.plugins)&&((n=f.plugins)===null||n===void 0||n.push(...c.babel.plugins));try{return{code:((t=(0,A.transformSync)(c.source,f))===null||t===void 0?void 0:t.code)||""}}catch(h){return{error:h,code:"exports.__JITI_ERROR__ = "+JSON.stringify({filename:c.filename,line:((r=h.loc)===null||r===void 0?void 0:r.line)||0,column:((i=h.loc)===null||i===void 0?void 0:i.column)||0,code:(a=h.code)===null||a===void 0?void 0:a.replace("BABEL_","").replace("PARSE_ERROR","ParseError"),message:(u=h.message)===null||u===void 0?void 0:u.replace("/: ","").replace(/\(.+\)\s*$/,"")})}}}})(),Ll.exports=X.default})()});var Ca=_chunkCDIW2WTIjs.b.call(void 0, (eT,kl)=>{function km(P){throw P}kl.exports=function(P,N){let j=Rl();return N={onError:km,...N},N.transform||(N.transform=Fl()),j(P,N)}});var ar=_chunkCDIW2WTIjs.b.call(void 0, wa=>{"use strict";wa.fromCallback=function(P){return Object.defineProperty(function(...N){if(typeof N[N.length-1]=="function")P.apply(this,N);else return new Promise((j,X)=>{P.call(this,...N,(A,e)=>A!=null?X(A):j(e))})},"name",{value:P.name})};wa.fromPromise=function(P){return Object.defineProperty(function(...N){let j=N[N.length-1];if(typeof j!="function")return P.apply(this,N);P.apply(this,N.slice(0,-1)).then(X=>j(null,X),j)},"name",{value:P.name})}});var Bl=_chunkCDIW2WTIjs.b.call(void 0, (rT,Ml)=>{var tn=_chunkCDIW2WTIjs.a.call(void 0, "constants"),Mm=process.cwd,ls=null,Bm=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return ls||(ls=Mm.call(process)),ls};try{process.cwd()}catch (e72){}typeof process.chdir=="function"&&(Da=process.chdir,process.chdir=function(P){ls=null,Da.call(process,P)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,Da));var Da;Ml.exports=$m;function $m(P){tn.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&N(P),P.lutimes||j(P),P.chown=e(P.chown),P.fchown=e(P.fchown),P.lchown=e(P.lchown),P.chmod=X(P.chmod),P.fchmod=X(P.fchmod),P.lchmod=X(P.lchmod),P.chownSync=c(P.chownSync),P.fchownSync=c(P.fchownSync),P.lchownSync=c(P.lchownSync),P.chmodSync=A(P.chmodSync),P.fchmodSync=A(P.fchmodSync),P.lchmodSync=A(P.lchmodSync),P.stat=n(P.stat),P.fstat=n(P.fstat),P.lstat=n(P.lstat),P.statSync=t(P.statSync),P.fstatSync=t(P.fstatSync),P.lstatSync=t(P.lstatSync),P.chmod&&!P.lchmod&&(P.lchmod=function(i,a,u){u&&process.nextTick(u)},P.lchmodSync=function(){}),P.chown&&!P.lchown&&(P.lchown=function(i,a,u,f){f&&process.nextTick(f)},P.lchownSync=function(){}),Bm==="win32"&&(P.rename=typeof P.rename!="function"?P.rename:function(i){function a(u,f,h){var p=Date.now(),o=0;i(u,f,function y(d){if(d&&(d.code==="EACCES"||d.code==="EPERM")&&Date.now()-p<6e4){setTimeout(function(){P.stat(f,function(m,S){m&&m.code==="ENOENT"?i(u,f,y):h(d)})},o),o<100&&(o+=10);return}h&&h(d)})}return Object.setPrototypeOf&&Object.setPrototypeOf(a,i),a}(P.rename)),P.read=typeof P.read!="function"?P.read:function(i){function a(u,f,h,p,o,y){var d;if(y&&typeof y=="function"){var m=0;d=function(S,T,C){if(S&&S.code==="EAGAIN"&&m<10)return m++,i.call(P,u,f,h,p,o,d);y.apply(this,arguments)}}return i.call(P,u,f,h,p,o,d)}return Object.setPrototypeOf&&Object.setPrototypeOf(a,i),a}(P.read),P.readSync=typeof P.readSync!="function"?P.readSync:function(i){return function(a,u,f,h,p){for(var o=0;;)try{return i.call(P,a,u,f,h,p)}catch(y){if(y.code==="EAGAIN"&&o<10){o++;continue}throw y}}}(P.readSync);function N(i){i.lchmod=function(a,u,f){i.open(a,tn.O_WRONLY|tn.O_SYMLINK,u,function(h,p){if(h){f&&f(h);return}i.fchmod(p,u,function(o){i.close(p,function(y){f&&f(o||y)})})})},i.lchmodSync=function(a,u){var f=i.openSync(a,tn.O_WRONLY|tn.O_SYMLINK,u),h=!0,p;try{p=i.fchmodSync(f,u),h=!1}finally{if(h)try{i.closeSync(f)}catch (e73){}else i.closeSync(f)}return p}}function j(i){tn.hasOwnProperty("O_SYMLINK")&&i.futimes?(i.lutimes=function(a,u,f,h){i.open(a,tn.O_SYMLINK,function(p,o){if(p){h&&h(p);return}i.futimes(o,u,f,function(y){i.close(o,function(d){h&&h(y||d)})})})},i.lutimesSync=function(a,u,f){var h=i.openSync(a,tn.O_SYMLINK),p,o=!0;try{p=i.futimesSync(h,u,f),o=!1}finally{if(o)try{i.closeSync(h)}catch (e74){}else i.closeSync(h)}return p}):i.futimes&&(i.lutimes=function(a,u,f,h){h&&process.nextTick(h)},i.lutimesSync=function(){})}function X(i){return i&&function(a,u,f){return i.call(P,a,u,function(h){r(h)&&(h=null),f&&f.apply(this,arguments)})}}function A(i){return i&&function(a,u){try{return i.call(P,a,u)}catch(f){if(!r(f))throw f}}}function e(i){return i&&function(a,u,f,h){return i.call(P,a,u,f,function(p){r(p)&&(p=null),h&&h.apply(this,arguments)})}}function c(i){return i&&function(a,u,f){try{return i.call(P,a,u,f)}catch(h){if(!r(h))throw h}}}function n(i){return i&&function(a,u,f){typeof u=="function"&&(f=u,u=null);function h(p,o){o&&(o.uid<0&&(o.uid+=4294967296),o.gid<0&&(o.gid+=4294967296)),f&&f.apply(this,arguments)}return u?i.call(P,a,u,h):i.call(P,a,h)}}function t(i){return i&&function(a,u){var f=u?i.call(P,a,u):i.call(P,a);return f&&(f.uid<0&&(f.uid+=4294967296),f.gid<0&&(f.gid+=4294967296)),f}}function r(i){if(!i||i.code==="ENOSYS")return!0;var a=!process.getuid||process.getuid()!==0;return!!(a&&(i.code==="EINVAL"||i.code==="EPERM"))}}});var Vl=_chunkCDIW2WTIjs.b.call(void 0, (nT,Ul)=>{var $l=_chunkCDIW2WTIjs.a.call(void 0, "stream").Stream;Ul.exports=Um;function Um(P){return{ReadStream:N,WriteStream:j};function N(X,A){if(!(this instanceof N))return new N(X,A);$l.call(this);var e=this;this.path=X,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,A=A||{};for(var c=Object.keys(A),n=0,t=c.length;n<t;n++){var r=c[n];this[r]=A[r]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){e._read()});return}P.open(this.path,this.flags,this.mode,function(i,a){if(i){e.emit("error",i),e.readable=!1;return}e.fd=a,e.emit("open",a),e._read()})}function j(X,A){if(!(this instanceof j))return new j(X,A);$l.call(this),this.path=X,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,A=A||{};for(var e=Object.keys(A),c=0,n=e.length;c<n;c++){var t=e[c];this[t]=A[t]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=P.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}});var Wl=_chunkCDIW2WTIjs.b.call(void 0, (iT,Gl)=>{"use strict";Gl.exports=Gm;var Vm=Object.getPrototypeOf||function(P){return P.__proto__};function Gm(P){if(P===null||typeof P!="object")return P;if(P instanceof Object)var N={__proto__:Vm(P)};else var N=Object.create(null);return Object.getOwnPropertyNames(P).forEach(function(j){Object.defineProperty(N,j,Object.getOwnPropertyDescriptor(P,j))}),N}});var Zt=_chunkCDIW2WTIjs.b.call(void 0, (sT,Ia)=>{var Dt=_chunkCDIW2WTIjs.a.call(void 0, "fs"),Wm=Bl(),Km=Vl(),Xm=Wl(),us=_chunkCDIW2WTIjs.a.call(void 0, "util"),Vt,ds;typeof Symbol=="function"&&typeof Symbol.for=="function"?(Vt=Symbol.for("graceful-fs.queue"),ds=Symbol.for("graceful-fs.previous")):(Vt="___graceful-fs.queue",ds="___graceful-fs.previous");function Ym(){}function Yl(P,N){Object.defineProperty(P,Vt,{get:function(){return N}})}var Pn=Ym;us.debuglog?Pn=us.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(Pn=function(){var P=us.format.apply(us,arguments);P="GFS4: "+P.split(/\n/).join(`
|
|
2223
|
-
GFS4: `),console.error(P)});Dt[Vt]||(Kl=global[Vt]||[],Yl(Dt,Kl),Dt.close=function(P){function N(j,X){return P.call(Dt,j,function(A){A||Xl(),typeof X=="function"&&X.apply(this,arguments)})}return Object.defineProperty(N,ds,{value:P}),N}(Dt.close),Dt.closeSync=function(P){function N(j){P.apply(Dt,arguments),Xl()}return Object.defineProperty(N,ds,{value:P}),N}(Dt.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){Pn(Dt[Vt]),_chunkCDIW2WTIjs.a.call(void 0, "assert").equal(Dt[Vt].length,0)}));var Kl;global[Vt]||Yl(global,Dt[Vt]);Ia.exports=Oa(Xm(Dt));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!Dt.__patched&&(Ia.exports=Oa(Dt),Dt.__patched=!0);function Oa(P){Wm(P),P.gracefulify=Oa,P.createReadStream=T,P.createWriteStream=C;var N=P.readFile;P.readFile=j;function j(O,x,M){return typeof x=="function"&&(M=x,x=null),$(O,x,M);function $(H,Q,K,Y){return N(H,Q,function(L){L&&(L.code==="EMFILE"||L.code==="ENFILE")?Wn([$,[H,Q,K],L,Y||Date.now(),Date.now()]):typeof K=="function"&&K.apply(this,arguments)})}}var X=P.writeFile;P.writeFile=A;function A(O,x,M,$){return typeof M=="function"&&($=M,M=null),H(O,x,M,$);function H(Q,K,Y,L,D){return X(Q,K,Y,function(_){_&&(_.code==="EMFILE"||_.code==="ENFILE")?Wn([H,[Q,K,Y,L],_,D||Date.now(),Date.now()]):typeof L=="function"&&L.apply(this,arguments)})}}var e=P.appendFile;e&&(P.appendFile=c);function c(O,x,M,$){return typeof M=="function"&&($=M,M=null),H(O,x,M,$);function H(Q,K,Y,L,D){return e(Q,K,Y,function(_){_&&(_.code==="EMFILE"||_.code==="ENFILE")?Wn([H,[Q,K,Y,L],_,D||Date.now(),Date.now()]):typeof L=="function"&&L.apply(this,arguments)})}}var n=P.copyFile;n&&(P.copyFile=t);function t(O,x,M,$){return typeof M=="function"&&($=M,M=0),H(O,x,M,$);function H(Q,K,Y,L,D){return n(Q,K,Y,function(_){_&&(_.code==="EMFILE"||_.code==="ENFILE")?Wn([H,[Q,K,Y,L],_,D||Date.now(),Date.now()]):typeof L=="function"&&L.apply(this,arguments)})}}var r=P.readdir;P.readdir=a;var i=/^v[0-5]\./;function a(O,x,M){typeof x=="function"&&(M=x,x=null);var $=i.test(process.version)?function(K,Y,L,D){return r(K,H(K,Y,L,D))}:function(K,Y,L,D){return r(K,Y,H(K,Y,L,D))};return $(O,x,M);function H(Q,K,Y,L){return function(D,_){D&&(D.code==="EMFILE"||D.code==="ENFILE")?Wn([$,[Q,K,Y],D,L||Date.now(),Date.now()]):(_&&_.sort&&_.sort(),typeof Y=="function"&&Y.call(this,D,_))}}}if(process.version.substr(0,4)==="v0.8"){var u=Km(P);y=u.ReadStream,m=u.WriteStream}var f=P.ReadStream;f&&(y.prototype=Object.create(f.prototype),y.prototype.open=d);var h=P.WriteStream;h&&(m.prototype=Object.create(h.prototype),m.prototype.open=S),Object.defineProperty(P,"ReadStream",{get:function(){return y},set:function(O){y=O},enumerable:!0,configurable:!0}),Object.defineProperty(P,"WriteStream",{get:function(){return m},set:function(O){m=O},enumerable:!0,configurable:!0});var p=y;Object.defineProperty(P,"FileReadStream",{get:function(){return p},set:function(O){p=O},enumerable:!0,configurable:!0});var o=m;Object.defineProperty(P,"FileWriteStream",{get:function(){return o},set:function(O){o=O},enumerable:!0,configurable:!0});function y(O,x){return this instanceof y?(f.apply(this,arguments),this):y.apply(Object.create(y.prototype),arguments)}function d(){var O=this;k(O.path,O.flags,O.mode,function(x,M){x?(O.autoClose&&O.destroy(),O.emit("error",x)):(O.fd=M,O.emit("open",M),O.read())})}function m(O,x){return this instanceof m?(h.apply(this,arguments),this):m.apply(Object.create(m.prototype),arguments)}function S(){var O=this;k(O.path,O.flags,O.mode,function(x,M){x?(O.destroy(),O.emit("error",x)):(O.fd=M,O.emit("open",M))})}function T(O,x){return new P.ReadStream(O,x)}function C(O,x){return new P.WriteStream(O,x)}var v=P.open;P.open=k;function k(O,x,M,$){return typeof M=="function"&&($=M,M=null),H(O,x,M,$);function H(Q,K,Y,L,D){return v(Q,K,Y,function(_,F){_&&(_.code==="EMFILE"||_.code==="ENFILE")?Wn([H,[Q,K,Y,L],_,D||Date.now(),Date.now()]):typeof L=="function"&&L.apply(this,arguments)})}}return P}function Wn(P){Pn("ENQUEUE",P[0].name,P[1]),Dt[Vt].push(P),_a()}var cs;function Xl(){for(var P=Date.now(),N=0;N<Dt[Vt].length;++N)Dt[Vt][N].length>2&&(Dt[Vt][N][3]=P,Dt[Vt][N][4]=P);_a()}function _a(){if(clearTimeout(cs),cs=void 0,Dt[Vt].length!==0){var P=Dt[Vt].shift(),N=P[0],j=P[1],X=P[2],A=P[3],e=P[4];if(A===void 0)Pn("RETRY",N.name,j),N.apply(null,j);else if(Date.now()-A>=6e4){Pn("TIMEOUT",N.name,j);var c=j.pop();typeof c=="function"&&c.call(null,X)}else{var n=Date.now()-e,t=Math.max(e-A,1),r=Math.min(t*1.2,100);n>=r?(Pn("RETRY",N.name,j),N.apply(null,j.concat([A]))):Dt[Vt].push(P)}cs===void 0&&(cs=setTimeout(_a,0))}}});var An=_chunkCDIW2WTIjs.b.call(void 0, rn=>{"use strict";var Hl=ar().fromCallback,or=Zt(),Hm=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter(P=>typeof or[P]=="function");Object.assign(rn,or);Hm.forEach(P=>{rn[P]=Hl(or[P])});rn.exists=function(P,N){return typeof N=="function"?or.exists(P,N):new Promise(j=>or.exists(P,j))};rn.read=function(P,N,j,X,A,e){return typeof e=="function"?or.read(P,N,j,X,A,e):new Promise((c,n)=>{or.read(P,N,j,X,A,(t,r,i)=>{if(t)return n(t);c({bytesRead:r,buffer:i})})})};rn.write=function(P,N,...j){return typeof j[j.length-1]=="function"?or.write(P,N,...j):new Promise((X,A)=>{or.write(P,N,...j,(e,c,n)=>{if(e)return A(e);X({bytesWritten:c,buffer:n})})})};typeof or.writev=="function"&&(rn.writev=function(P,N,...j){return typeof j[j.length-1]=="function"?or.writev(P,N,...j):new Promise((X,A)=>{or.writev(P,N,...j,(e,c,n)=>{if(e)return A(e);X({bytesWritten:c,buffers:n})})})});typeof or.realpath.native=="function"?rn.realpath.native=Hl(or.realpath.native):process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003")});var zl=_chunkCDIW2WTIjs.b.call(void 0, (oT,Jl)=>{"use strict";var Jm=_chunkCDIW2WTIjs.a.call(void 0, "path");Jl.exports.checkPath=function(N){if(process.platform==="win32"&&/[<>:"|?*]/.test(N.replace(Jm.parse(N).root,""))){let X=new Error(`Path contains invalid characters: ${N}`);throw X.code="EINVAL",X}}});var eu=_chunkCDIW2WTIjs.b.call(void 0, (lT,Na)=>{"use strict";var ql=An(),{checkPath:Ql}=zl(),Zl=P=>{let N={mode:511};return typeof P=="number"?P:{...N,...P}.mode};Na.exports.makeDir=async(P,N)=>(Ql(P),ql.mkdir(P,{mode:Zl(N),recursive:!0}));Na.exports.makeDirSync=(P,N)=>(Ql(P),ql.mkdirSync(P,{mode:Zl(N),recursive:!0}))});var Or=_chunkCDIW2WTIjs.b.call(void 0, (uT,tu)=>{"use strict";var zm=ar().fromPromise,{makeDir:qm,makeDirSync:xa}=eu(),ja=zm(qm);tu.exports={mkdirs:ja,mkdirsSync:xa,mkdirp:ja,mkdirpSync:xa,ensureDir:ja,ensureDirSync:xa}});var nn=_chunkCDIW2WTIjs.b.call(void 0, (cT,nu)=>{"use strict";var Qm=ar().fromPromise,ru=An();function Zm(P){return ru.access(P).then(()=>!0).catch(()=>!1)}nu.exports={pathExists:Qm(Zm),pathExistsSync:ru.existsSync}});var Ra=_chunkCDIW2WTIjs.b.call(void 0, (dT,iu)=>{"use strict";var Kn=Zt();function ey(P,N,j,X){Kn.open(P,"r+",(A,e)=>{if(A)return X(A);Kn.futimes(e,N,j,c=>{Kn.close(e,n=>{X&&X(c||n)})})})}function ty(P,N,j){let X=Kn.openSync(P,"r+");return Kn.futimesSync(X,N,j),Kn.closeSync(X)}iu.exports={utimesMillis:ey,utimesMillisSync:ty}});var Cn=_chunkCDIW2WTIjs.b.call(void 0, (pT,ou)=>{"use strict";var Xn=An(),kt=_chunkCDIW2WTIjs.a.call(void 0, "path"),ry=_chunkCDIW2WTIjs.a.call(void 0, "util");function ny(P,N,j){let X=j.dereference?A=>Xn.stat(A,{bigint:!0}):A=>Xn.lstat(A,{bigint:!0});return Promise.all([X(P),X(N).catch(A=>{if(A.code==="ENOENT")return null;throw A})]).then(([A,e])=>({srcStat:A,destStat:e}))}function iy(P,N,j){let X,A=j.dereference?c=>Xn.statSync(c,{bigint:!0}):c=>Xn.lstatSync(c,{bigint:!0}),e=A(P);try{X=A(N)}catch(c){if(c.code==="ENOENT")return{srcStat:e,destStat:null};throw c}return{srcStat:e,destStat:X}}function sy(P,N,j,X,A){ry.callbackify(ny)(P,N,X,(e,c)=>{if(e)return A(e);let{srcStat:n,destStat:t}=c;if(t){if(mi(n,t)){let r=kt.basename(P),i=kt.basename(N);return j==="move"&&r!==i&&r.toLowerCase()===i.toLowerCase()?A(null,{srcStat:n,destStat:t,isChangingCase:!0}):A(new Error("Source and destination must not be the same."))}if(n.isDirectory()&&!t.isDirectory())return A(new Error(`Cannot overwrite non-directory '${N}' with directory '${P}'.`));if(!n.isDirectory()&&t.isDirectory())return A(new Error(`Cannot overwrite directory '${N}' with non-directory '${P}'.`))}return n.isDirectory()&&La(P,N)?A(new Error(ps(P,N,j))):A(null,{srcStat:n,destStat:t})})}function ay(P,N,j,X){let{srcStat:A,destStat:e}=iy(P,N,X);if(e){if(mi(A,e)){let c=kt.basename(P),n=kt.basename(N);if(j==="move"&&c!==n&&c.toLowerCase()===n.toLowerCase())return{srcStat:A,destStat:e,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(A.isDirectory()&&!e.isDirectory())throw new Error(`Cannot overwrite non-directory '${N}' with directory '${P}'.`);if(!A.isDirectory()&&e.isDirectory())throw new Error(`Cannot overwrite directory '${N}' with non-directory '${P}'.`)}if(A.isDirectory()&&La(P,N))throw new Error(ps(P,N,j));return{srcStat:A,destStat:e}}function su(P,N,j,X,A){let e=kt.resolve(kt.dirname(P)),c=kt.resolve(kt.dirname(j));if(c===e||c===kt.parse(c).root)return A();Xn.stat(c,{bigint:!0},(n,t)=>n?n.code==="ENOENT"?A():A(n):mi(N,t)?A(new Error(ps(P,j,X))):su(P,N,c,X,A))}function au(P,N,j,X){let A=kt.resolve(kt.dirname(P)),e=kt.resolve(kt.dirname(j));if(e===A||e===kt.parse(e).root)return;let c;try{c=Xn.statSync(e,{bigint:!0})}catch(n){if(n.code==="ENOENT")return;throw n}if(mi(N,c))throw new Error(ps(P,j,X));return au(P,N,e,X)}function mi(P,N){return N.ino&&N.dev&&N.ino===P.ino&&N.dev===P.dev}function La(P,N){let j=kt.resolve(P).split(kt.sep).filter(A=>A),X=kt.resolve(N).split(kt.sep).filter(A=>A);return j.reduce((A,e,c)=>A&&X[c]===e,!0)}function ps(P,N,j){return`Cannot ${j} '${P}' to a subdirectory of itself, '${N}'.`}ou.exports={checkPaths:sy,checkPathsSync:ay,checkParentPaths:su,checkParentPathsSync:au,isSrcSubdir:La,areIdentical:mi}});var mu=_chunkCDIW2WTIjs.b.call(void 0, (fT,hu)=>{"use strict";var lr=Zt(),yi=_chunkCDIW2WTIjs.a.call(void 0, "path"),oy=Or().mkdirs,ly=nn().pathExists,uy=Ra().utimesMillis,gi=Cn();function cy(P,N,j,X){typeof j=="function"&&!X?(X=j,j={}):typeof j=="function"&&(j={filter:j}),X=X||function(){},j=j||{},j.clobber="clobber"in j?!!j.clobber:!0,j.overwrite="overwrite"in j?!!j.overwrite:j.clobber,j.preserveTimestamps&&process.arch==="ia32"&&process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended;
|
|
2222
|
+
`+Oe+"}"}}return he.pop(),ye=Oe,$e}(ue):void 0}function xe(pe){let ee={"'":.1,'"':.2},ue={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},be="";for(let $e=0;$e<pe.length;$e++){let Be=pe[$e];switch(Be){case"'":case'"':ee[Be]++,be+=Be;continue;case"\0":if(t.isDigit(pe[$e+1])){be+="\\x00";continue}}if(ue[Be])be+=ue[Be];else if(Be<" "){let Ye=Be.charCodeAt(0).toString(16);be+="\\x"+("00"+Ye).substring(Ye.length)}else be+=Be}let Oe=Ce||Object.keys(ee).reduce(($e,Be)=>ee[$e]<ee[Be]?$e:Be);return be=be.replace(new RegExp(Oe,"g"),ue[Oe]),Oe+be+Oe}function Re(pe){if(pe.length===0)return xe(pe);let ee=String.fromCodePoint(pe.codePointAt(0));if(!t.isIdStartChar(ee))return xe(pe);for(let ue=ee.length;ue<pe.length;ue++)if(!t.isIdContinueChar(String.fromCodePoint(pe.codePointAt(ue))))return xe(pe);return pe}}}},"./node_modules/@babel/traverse/node_modules/globals/globals.json":A=>{"use strict";A.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')}},N={};function j(A){var e=N[A];if(e!==void 0)return e.exports;var c=N[A]={exports:{}};return P[A](c,c.exports,j),c.exports}j.d=(A,e)=>{for(var c in e)j.o(e,c)&&!j.o(A,c)&&Object.defineProperty(A,c,{enumerable:!0,get:e[c]})},j.o=(A,e)=>Object.prototype.hasOwnProperty.call(A,e),j.r=A=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})};var X={};(()=>{"use strict";j.d(X,{default:()=>e});var A=j("./node_modules/@babel/core/lib/index.js");function e(c){var n,t,r,i,a,u;let f=Object.assign(Object.assign({babelrc:!1,configFile:!1,compact:!1,retainLines:typeof c.retainLines!="boolean"||c.retainLines,filename:"",cwd:"/"},c.babel),{plugins:[[j("./node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"),{allowTopLevelThis:!0}],[j("./node_modules/babel-plugin-dynamic-import-node/lib/index.js"),{noInterop:!0}],[j("./node_modules/babel-plugin-transform-import-meta/lib/index.js")],[j("./node_modules/@babel/plugin-syntax-class-properties/lib/index.js")]]});c.ts&&(f.plugins.push([j("./node_modules/@babel/plugin-transform-typescript/lib/index.js"),{allowDeclareFields:!0}]),f.plugins.unshift([j("./node_modules/@babel/plugin-proposal-decorators/lib/index.js"),{legacy:!0}]),f.plugins.push(j("./node_modules/babel-plugin-parameter-decorator/lib/index.js"))),c.legacy&&(f.plugins.push(j("./node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js")),f.plugins.push(j("./node_modules/@babel/plugin-proposal-optional-chaining/lib/index.js"))),c.babel&&Array.isArray(c.babel.plugins)&&((n=f.plugins)===null||n===void 0||n.push(...c.babel.plugins));try{return{code:((t=(0,A.transformSync)(c.source,f))===null||t===void 0?void 0:t.code)||""}}catch(h){return{error:h,code:"exports.__JITI_ERROR__ = "+JSON.stringify({filename:c.filename,line:((r=h.loc)===null||r===void 0?void 0:r.line)||0,column:((i=h.loc)===null||i===void 0?void 0:i.column)||0,code:(a=h.code)===null||a===void 0?void 0:a.replace("BABEL_","").replace("PARSE_ERROR","ParseError"),message:(u=h.message)===null||u===void 0?void 0:u.replace("/: ","").replace(/\(.+\)\s*$/,"")})}}}})(),Ll.exports=X.default})()});var Ca=_chunkCDIW2WTIjs.b.call(void 0, (tT,kl)=>{function km(P){throw P}kl.exports=function(P,N){let j=Rl();return N={onError:km,...N},N.transform||(N.transform=Fl()),j(P,N)}});var ar=_chunkCDIW2WTIjs.b.call(void 0, wa=>{"use strict";wa.fromCallback=function(P){return Object.defineProperty(function(...N){if(typeof N[N.length-1]=="function")P.apply(this,N);else return new Promise((j,X)=>{P.call(this,...N,(A,e)=>A!=null?X(A):j(e))})},"name",{value:P.name})};wa.fromPromise=function(P){return Object.defineProperty(function(...N){let j=N[N.length-1];if(typeof j!="function")return P.apply(this,N);P.apply(this,N.slice(0,-1)).then(X=>j(null,X),j)},"name",{value:P.name})}});var Bl=_chunkCDIW2WTIjs.b.call(void 0, (nT,Ml)=>{var tn=_chunkCDIW2WTIjs.a.call(void 0, "constants"),Mm=process.cwd,ls=null,Bm=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return ls||(ls=Mm.call(process)),ls};try{process.cwd()}catch (e72){}typeof process.chdir=="function"&&(Da=process.chdir,process.chdir=function(P){ls=null,Da.call(process,P)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,Da));var Da;Ml.exports=$m;function $m(P){tn.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&N(P),P.lutimes||j(P),P.chown=e(P.chown),P.fchown=e(P.fchown),P.lchown=e(P.lchown),P.chmod=X(P.chmod),P.fchmod=X(P.fchmod),P.lchmod=X(P.lchmod),P.chownSync=c(P.chownSync),P.fchownSync=c(P.fchownSync),P.lchownSync=c(P.lchownSync),P.chmodSync=A(P.chmodSync),P.fchmodSync=A(P.fchmodSync),P.lchmodSync=A(P.lchmodSync),P.stat=n(P.stat),P.fstat=n(P.fstat),P.lstat=n(P.lstat),P.statSync=t(P.statSync),P.fstatSync=t(P.fstatSync),P.lstatSync=t(P.lstatSync),P.chmod&&!P.lchmod&&(P.lchmod=function(i,a,u){u&&process.nextTick(u)},P.lchmodSync=function(){}),P.chown&&!P.lchown&&(P.lchown=function(i,a,u,f){f&&process.nextTick(f)},P.lchownSync=function(){}),Bm==="win32"&&(P.rename=typeof P.rename!="function"?P.rename:function(i){function a(u,f,h){var p=Date.now(),o=0;i(u,f,function y(d){if(d&&(d.code==="EACCES"||d.code==="EPERM")&&Date.now()-p<6e4){setTimeout(function(){P.stat(f,function(m,S){m&&m.code==="ENOENT"?i(u,f,y):h(d)})},o),o<100&&(o+=10);return}h&&h(d)})}return Object.setPrototypeOf&&Object.setPrototypeOf(a,i),a}(P.rename)),P.read=typeof P.read!="function"?P.read:function(i){function a(u,f,h,p,o,y){var d;if(y&&typeof y=="function"){var m=0;d=function(S,T,C){if(S&&S.code==="EAGAIN"&&m<10)return m++,i.call(P,u,f,h,p,o,d);y.apply(this,arguments)}}return i.call(P,u,f,h,p,o,d)}return Object.setPrototypeOf&&Object.setPrototypeOf(a,i),a}(P.read),P.readSync=typeof P.readSync!="function"?P.readSync:function(i){return function(a,u,f,h,p){for(var o=0;;)try{return i.call(P,a,u,f,h,p)}catch(y){if(y.code==="EAGAIN"&&o<10){o++;continue}throw y}}}(P.readSync);function N(i){i.lchmod=function(a,u,f){i.open(a,tn.O_WRONLY|tn.O_SYMLINK,u,function(h,p){if(h){f&&f(h);return}i.fchmod(p,u,function(o){i.close(p,function(y){f&&f(o||y)})})})},i.lchmodSync=function(a,u){var f=i.openSync(a,tn.O_WRONLY|tn.O_SYMLINK,u),h=!0,p;try{p=i.fchmodSync(f,u),h=!1}finally{if(h)try{i.closeSync(f)}catch (e73){}else i.closeSync(f)}return p}}function j(i){tn.hasOwnProperty("O_SYMLINK")&&i.futimes?(i.lutimes=function(a,u,f,h){i.open(a,tn.O_SYMLINK,function(p,o){if(p){h&&h(p);return}i.futimes(o,u,f,function(y){i.close(o,function(d){h&&h(y||d)})})})},i.lutimesSync=function(a,u,f){var h=i.openSync(a,tn.O_SYMLINK),p,o=!0;try{p=i.futimesSync(h,u,f),o=!1}finally{if(o)try{i.closeSync(h)}catch (e74){}else i.closeSync(h)}return p}):i.futimes&&(i.lutimes=function(a,u,f,h){h&&process.nextTick(h)},i.lutimesSync=function(){})}function X(i){return i&&function(a,u,f){return i.call(P,a,u,function(h){r(h)&&(h=null),f&&f.apply(this,arguments)})}}function A(i){return i&&function(a,u){try{return i.call(P,a,u)}catch(f){if(!r(f))throw f}}}function e(i){return i&&function(a,u,f,h){return i.call(P,a,u,f,function(p){r(p)&&(p=null),h&&h.apply(this,arguments)})}}function c(i){return i&&function(a,u,f){try{return i.call(P,a,u,f)}catch(h){if(!r(h))throw h}}}function n(i){return i&&function(a,u,f){typeof u=="function"&&(f=u,u=null);function h(p,o){o&&(o.uid<0&&(o.uid+=4294967296),o.gid<0&&(o.gid+=4294967296)),f&&f.apply(this,arguments)}return u?i.call(P,a,u,h):i.call(P,a,h)}}function t(i){return i&&function(a,u){var f=u?i.call(P,a,u):i.call(P,a);return f&&(f.uid<0&&(f.uid+=4294967296),f.gid<0&&(f.gid+=4294967296)),f}}function r(i){if(!i||i.code==="ENOSYS")return!0;var a=!process.getuid||process.getuid()!==0;return!!(a&&(i.code==="EINVAL"||i.code==="EPERM"))}}});var Vl=_chunkCDIW2WTIjs.b.call(void 0, (iT,Ul)=>{var $l=_chunkCDIW2WTIjs.a.call(void 0, "stream").Stream;Ul.exports=Um;function Um(P){return{ReadStream:N,WriteStream:j};function N(X,A){if(!(this instanceof N))return new N(X,A);$l.call(this);var e=this;this.path=X,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,A=A||{};for(var c=Object.keys(A),n=0,t=c.length;n<t;n++){var r=c[n];this[r]=A[r]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){e._read()});return}P.open(this.path,this.flags,this.mode,function(i,a){if(i){e.emit("error",i),e.readable=!1;return}e.fd=a,e.emit("open",a),e._read()})}function j(X,A){if(!(this instanceof j))return new j(X,A);$l.call(this),this.path=X,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,A=A||{};for(var e=Object.keys(A),c=0,n=e.length;c<n;c++){var t=e[c];this[t]=A[t]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=P.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}});var Wl=_chunkCDIW2WTIjs.b.call(void 0, (sT,Gl)=>{"use strict";Gl.exports=Gm;var Vm=Object.getPrototypeOf||function(P){return P.__proto__};function Gm(P){if(P===null||typeof P!="object")return P;if(P instanceof Object)var N={__proto__:Vm(P)};else var N=Object.create(null);return Object.getOwnPropertyNames(P).forEach(function(j){Object.defineProperty(N,j,Object.getOwnPropertyDescriptor(P,j))}),N}});var Zt=_chunkCDIW2WTIjs.b.call(void 0, (aT,Ia)=>{var Dt=_chunkCDIW2WTIjs.a.call(void 0, "fs"),Wm=Bl(),Km=Vl(),Xm=Wl(),us=_chunkCDIW2WTIjs.a.call(void 0, "util"),Vt,ds;typeof Symbol=="function"&&typeof Symbol.for=="function"?(Vt=Symbol.for("graceful-fs.queue"),ds=Symbol.for("graceful-fs.previous")):(Vt="___graceful-fs.queue",ds="___graceful-fs.previous");function Ym(){}function Yl(P,N){Object.defineProperty(P,Vt,{get:function(){return N}})}var Pn=Ym;us.debuglog?Pn=us.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(Pn=function(){var P=us.format.apply(us,arguments);P="GFS4: "+P.split(/\n/).join(`
|
|
2223
|
+
GFS4: `),console.error(P)});Dt[Vt]||(Kl=global[Vt]||[],Yl(Dt,Kl),Dt.close=function(P){function N(j,X){return P.call(Dt,j,function(A){A||Xl(),typeof X=="function"&&X.apply(this,arguments)})}return Object.defineProperty(N,ds,{value:P}),N}(Dt.close),Dt.closeSync=function(P){function N(j){P.apply(Dt,arguments),Xl()}return Object.defineProperty(N,ds,{value:P}),N}(Dt.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){Pn(Dt[Vt]),_chunkCDIW2WTIjs.a.call(void 0, "assert").equal(Dt[Vt].length,0)}));var Kl;global[Vt]||Yl(global,Dt[Vt]);Ia.exports=Oa(Xm(Dt));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!Dt.__patched&&(Ia.exports=Oa(Dt),Dt.__patched=!0);function Oa(P){Wm(P),P.gracefulify=Oa,P.createReadStream=T,P.createWriteStream=C;var N=P.readFile;P.readFile=j;function j(O,x,M){return typeof x=="function"&&(M=x,x=null),$(O,x,M);function $(H,Q,K,Y){return N(H,Q,function(L){L&&(L.code==="EMFILE"||L.code==="ENFILE")?Gn([$,[H,Q,K],L,Y||Date.now(),Date.now()]):typeof K=="function"&&K.apply(this,arguments)})}}var X=P.writeFile;P.writeFile=A;function A(O,x,M,$){return typeof M=="function"&&($=M,M=null),H(O,x,M,$);function H(Q,K,Y,L,D){return X(Q,K,Y,function(_){_&&(_.code==="EMFILE"||_.code==="ENFILE")?Gn([H,[Q,K,Y,L],_,D||Date.now(),Date.now()]):typeof L=="function"&&L.apply(this,arguments)})}}var e=P.appendFile;e&&(P.appendFile=c);function c(O,x,M,$){return typeof M=="function"&&($=M,M=null),H(O,x,M,$);function H(Q,K,Y,L,D){return e(Q,K,Y,function(_){_&&(_.code==="EMFILE"||_.code==="ENFILE")?Gn([H,[Q,K,Y,L],_,D||Date.now(),Date.now()]):typeof L=="function"&&L.apply(this,arguments)})}}var n=P.copyFile;n&&(P.copyFile=t);function t(O,x,M,$){return typeof M=="function"&&($=M,M=0),H(O,x,M,$);function H(Q,K,Y,L,D){return n(Q,K,Y,function(_){_&&(_.code==="EMFILE"||_.code==="ENFILE")?Gn([H,[Q,K,Y,L],_,D||Date.now(),Date.now()]):typeof L=="function"&&L.apply(this,arguments)})}}var r=P.readdir;P.readdir=a;var i=/^v[0-5]\./;function a(O,x,M){typeof x=="function"&&(M=x,x=null);var $=i.test(process.version)?function(K,Y,L,D){return r(K,H(K,Y,L,D))}:function(K,Y,L,D){return r(K,Y,H(K,Y,L,D))};return $(O,x,M);function H(Q,K,Y,L){return function(D,_){D&&(D.code==="EMFILE"||D.code==="ENFILE")?Gn([$,[Q,K,Y],D,L||Date.now(),Date.now()]):(_&&_.sort&&_.sort(),typeof Y=="function"&&Y.call(this,D,_))}}}if(process.version.substr(0,4)==="v0.8"){var u=Km(P);y=u.ReadStream,m=u.WriteStream}var f=P.ReadStream;f&&(y.prototype=Object.create(f.prototype),y.prototype.open=d);var h=P.WriteStream;h&&(m.prototype=Object.create(h.prototype),m.prototype.open=S),Object.defineProperty(P,"ReadStream",{get:function(){return y},set:function(O){y=O},enumerable:!0,configurable:!0}),Object.defineProperty(P,"WriteStream",{get:function(){return m},set:function(O){m=O},enumerable:!0,configurable:!0});var p=y;Object.defineProperty(P,"FileReadStream",{get:function(){return p},set:function(O){p=O},enumerable:!0,configurable:!0});var o=m;Object.defineProperty(P,"FileWriteStream",{get:function(){return o},set:function(O){o=O},enumerable:!0,configurable:!0});function y(O,x){return this instanceof y?(f.apply(this,arguments),this):y.apply(Object.create(y.prototype),arguments)}function d(){var O=this;k(O.path,O.flags,O.mode,function(x,M){x?(O.autoClose&&O.destroy(),O.emit("error",x)):(O.fd=M,O.emit("open",M),O.read())})}function m(O,x){return this instanceof m?(h.apply(this,arguments),this):m.apply(Object.create(m.prototype),arguments)}function S(){var O=this;k(O.path,O.flags,O.mode,function(x,M){x?(O.destroy(),O.emit("error",x)):(O.fd=M,O.emit("open",M))})}function T(O,x){return new P.ReadStream(O,x)}function C(O,x){return new P.WriteStream(O,x)}var v=P.open;P.open=k;function k(O,x,M,$){return typeof M=="function"&&($=M,M=null),H(O,x,M,$);function H(Q,K,Y,L,D){return v(Q,K,Y,function(_,F){_&&(_.code==="EMFILE"||_.code==="ENFILE")?Gn([H,[Q,K,Y,L],_,D||Date.now(),Date.now()]):typeof L=="function"&&L.apply(this,arguments)})}}return P}function Gn(P){Pn("ENQUEUE",P[0].name,P[1]),Dt[Vt].push(P),_a()}var cs;function Xl(){for(var P=Date.now(),N=0;N<Dt[Vt].length;++N)Dt[Vt][N].length>2&&(Dt[Vt][N][3]=P,Dt[Vt][N][4]=P);_a()}function _a(){if(clearTimeout(cs),cs=void 0,Dt[Vt].length!==0){var P=Dt[Vt].shift(),N=P[0],j=P[1],X=P[2],A=P[3],e=P[4];if(A===void 0)Pn("RETRY",N.name,j),N.apply(null,j);else if(Date.now()-A>=6e4){Pn("TIMEOUT",N.name,j);var c=j.pop();typeof c=="function"&&c.call(null,X)}else{var n=Date.now()-e,t=Math.max(e-A,1),r=Math.min(t*1.2,100);n>=r?(Pn("RETRY",N.name,j),N.apply(null,j.concat([A]))):Dt[Vt].push(P)}cs===void 0&&(cs=setTimeout(_a,0))}}});var An=_chunkCDIW2WTIjs.b.call(void 0, rn=>{"use strict";var Hl=ar().fromCallback,or=Zt(),Hm=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter(P=>typeof or[P]=="function");Object.assign(rn,or);Hm.forEach(P=>{rn[P]=Hl(or[P])});rn.exists=function(P,N){return typeof N=="function"?or.exists(P,N):new Promise(j=>or.exists(P,j))};rn.read=function(P,N,j,X,A,e){return typeof e=="function"?or.read(P,N,j,X,A,e):new Promise((c,n)=>{or.read(P,N,j,X,A,(t,r,i)=>{if(t)return n(t);c({bytesRead:r,buffer:i})})})};rn.write=function(P,N,...j){return typeof j[j.length-1]=="function"?or.write(P,N,...j):new Promise((X,A)=>{or.write(P,N,...j,(e,c,n)=>{if(e)return A(e);X({bytesWritten:c,buffer:n})})})};typeof or.writev=="function"&&(rn.writev=function(P,N,...j){return typeof j[j.length-1]=="function"?or.writev(P,N,...j):new Promise((X,A)=>{or.writev(P,N,...j,(e,c,n)=>{if(e)return A(e);X({bytesWritten:c,buffers:n})})})});typeof or.realpath.native=="function"?rn.realpath.native=Hl(or.realpath.native):process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003")});var zl=_chunkCDIW2WTIjs.b.call(void 0, (lT,Jl)=>{"use strict";var Jm=_chunkCDIW2WTIjs.a.call(void 0, "path");Jl.exports.checkPath=function(N){if(process.platform==="win32"&&/[<>:"|?*]/.test(N.replace(Jm.parse(N).root,""))){let X=new Error(`Path contains invalid characters: ${N}`);throw X.code="EINVAL",X}}});var eu=_chunkCDIW2WTIjs.b.call(void 0, (uT,Na)=>{"use strict";var ql=An(),{checkPath:Ql}=zl(),Zl=P=>{let N={mode:511};return typeof P=="number"?P:{...N,...P}.mode};Na.exports.makeDir=async(P,N)=>(Ql(P),ql.mkdir(P,{mode:Zl(N),recursive:!0}));Na.exports.makeDirSync=(P,N)=>(Ql(P),ql.mkdirSync(P,{mode:Zl(N),recursive:!0}))});var Or=_chunkCDIW2WTIjs.b.call(void 0, (cT,tu)=>{"use strict";var zm=ar().fromPromise,{makeDir:qm,makeDirSync:xa}=eu(),ja=zm(qm);tu.exports={mkdirs:ja,mkdirsSync:xa,mkdirp:ja,mkdirpSync:xa,ensureDir:ja,ensureDirSync:xa}});var nn=_chunkCDIW2WTIjs.b.call(void 0, (dT,nu)=>{"use strict";var Qm=ar().fromPromise,ru=An();function Zm(P){return ru.access(P).then(()=>!0).catch(()=>!1)}nu.exports={pathExists:Qm(Zm),pathExistsSync:ru.existsSync}});var Ra=_chunkCDIW2WTIjs.b.call(void 0, (pT,iu)=>{"use strict";var Wn=Zt();function ey(P,N,j,X){Wn.open(P,"r+",(A,e)=>{if(A)return X(A);Wn.futimes(e,N,j,c=>{Wn.close(e,n=>{X&&X(c||n)})})})}function ty(P,N,j){let X=Wn.openSync(P,"r+");return Wn.futimesSync(X,N,j),Wn.closeSync(X)}iu.exports={utimesMillis:ey,utimesMillisSync:ty}});var Cn=_chunkCDIW2WTIjs.b.call(void 0, (fT,ou)=>{"use strict";var Kn=An(),kt=_chunkCDIW2WTIjs.a.call(void 0, "path"),ry=_chunkCDIW2WTIjs.a.call(void 0, "util");function ny(P,N,j){let X=j.dereference?A=>Kn.stat(A,{bigint:!0}):A=>Kn.lstat(A,{bigint:!0});return Promise.all([X(P),X(N).catch(A=>{if(A.code==="ENOENT")return null;throw A})]).then(([A,e])=>({srcStat:A,destStat:e}))}function iy(P,N,j){let X,A=j.dereference?c=>Kn.statSync(c,{bigint:!0}):c=>Kn.lstatSync(c,{bigint:!0}),e=A(P);try{X=A(N)}catch(c){if(c.code==="ENOENT")return{srcStat:e,destStat:null};throw c}return{srcStat:e,destStat:X}}function sy(P,N,j,X,A){ry.callbackify(ny)(P,N,X,(e,c)=>{if(e)return A(e);let{srcStat:n,destStat:t}=c;if(t){if(mi(n,t)){let r=kt.basename(P),i=kt.basename(N);return j==="move"&&r!==i&&r.toLowerCase()===i.toLowerCase()?A(null,{srcStat:n,destStat:t,isChangingCase:!0}):A(new Error("Source and destination must not be the same."))}if(n.isDirectory()&&!t.isDirectory())return A(new Error(`Cannot overwrite non-directory '${N}' with directory '${P}'.`));if(!n.isDirectory()&&t.isDirectory())return A(new Error(`Cannot overwrite directory '${N}' with non-directory '${P}'.`))}return n.isDirectory()&&La(P,N)?A(new Error(ps(P,N,j))):A(null,{srcStat:n,destStat:t})})}function ay(P,N,j,X){let{srcStat:A,destStat:e}=iy(P,N,X);if(e){if(mi(A,e)){let c=kt.basename(P),n=kt.basename(N);if(j==="move"&&c!==n&&c.toLowerCase()===n.toLowerCase())return{srcStat:A,destStat:e,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(A.isDirectory()&&!e.isDirectory())throw new Error(`Cannot overwrite non-directory '${N}' with directory '${P}'.`);if(!A.isDirectory()&&e.isDirectory())throw new Error(`Cannot overwrite directory '${N}' with non-directory '${P}'.`)}if(A.isDirectory()&&La(P,N))throw new Error(ps(P,N,j));return{srcStat:A,destStat:e}}function su(P,N,j,X,A){let e=kt.resolve(kt.dirname(P)),c=kt.resolve(kt.dirname(j));if(c===e||c===kt.parse(c).root)return A();Kn.stat(c,{bigint:!0},(n,t)=>n?n.code==="ENOENT"?A():A(n):mi(N,t)?A(new Error(ps(P,j,X))):su(P,N,c,X,A))}function au(P,N,j,X){let A=kt.resolve(kt.dirname(P)),e=kt.resolve(kt.dirname(j));if(e===A||e===kt.parse(e).root)return;let c;try{c=Kn.statSync(e,{bigint:!0})}catch(n){if(n.code==="ENOENT")return;throw n}if(mi(N,c))throw new Error(ps(P,j,X));return au(P,N,e,X)}function mi(P,N){return N.ino&&N.dev&&N.ino===P.ino&&N.dev===P.dev}function La(P,N){let j=kt.resolve(P).split(kt.sep).filter(A=>A),X=kt.resolve(N).split(kt.sep).filter(A=>A);return j.reduce((A,e,c)=>A&&X[c]===e,!0)}function ps(P,N,j){return`Cannot ${j} '${P}' to a subdirectory of itself, '${N}'.`}ou.exports={checkPaths:sy,checkPathsSync:ay,checkParentPaths:su,checkParentPathsSync:au,isSrcSubdir:La,areIdentical:mi}});var mu=_chunkCDIW2WTIjs.b.call(void 0, (hT,hu)=>{"use strict";var lr=Zt(),yi=_chunkCDIW2WTIjs.a.call(void 0, "path"),oy=Or().mkdirs,ly=nn().pathExists,uy=Ra().utimesMillis,gi=Cn();function cy(P,N,j,X){typeof j=="function"&&!X?(X=j,j={}):typeof j=="function"&&(j={filter:j}),X=X||function(){},j=j||{},j.clobber="clobber"in j?!!j.clobber:!0,j.overwrite="overwrite"in j?!!j.overwrite:j.clobber,j.preserveTimestamps&&process.arch==="ia32"&&process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended;
|
|
2224
2224
|
|
|
2225
|
-
see https://github.com/jprichardson/node-fs-extra/issues/269`,"Warning","fs-extra-WARN0001"),gi.checkPaths(P,N,"copy",j,(A,e)=>{if(A)return X(A);let{srcStat:c,destStat:n}=e;gi.checkParentPaths(P,c,N,"copy",t=>t?X(t):j.filter?cu(lu,n,P,N,j,X):lu(n,P,N,j,X))})}function lu(P,N,j,X,A){let e=yi.dirname(j);ly(e,(c,n)=>{if(c)return A(c);if(n)return fs(P,N,j,X,A);oy(e,t=>t?A(t):fs(P,N,j,X,A))})}function cu(P,N,j,X,A,e){Promise.resolve(A.filter(j,X)).then(c=>c?P(N,j,X,A,e):e(),c=>e(c))}function dy(P,N,j,X,A){return X.filter?cu(fs,P,N,j,X,A):fs(P,N,j,X,A)}function fs(P,N,j,X,A){(X.dereference?lr.stat:lr.lstat)(N,(c,n)=>c?A(c):n.isDirectory()?by(n,P,N,j,X,A):n.isFile()||n.isCharacterDevice()||n.isBlockDevice()?py(n,P,N,j,X,A):n.isSymbolicLink()?Ty(P,N,j,X,A):n.isSocket()?A(new Error(`Cannot copy a socket file: ${N}`)):n.isFIFO()?A(new Error(`Cannot copy a FIFO pipe: ${N}`)):A(new Error(`Unknown file: ${N}`)))}function py(P,N,j,X,A,e){return N?fy(P,j,X,A,e):du(P,j,X,A,e)}function fy(P,N,j,X,A){if(X.overwrite)lr.unlink(j,e=>e?A(e):du(P,N,j,X,A));else return X.errorOnExist?A(new Error(`'${j}' already exists`)):A()}function du(P,N,j,X,A){lr.copyFile(N,j,e=>e?A(e):X.preserveTimestamps?hy(P.mode,N,j,A):hs(j,P.mode,A))}function hy(P,N,j,X){return my(P)?yy(j,P,A=>A?X(A):uu(P,N,j,X)):uu(P,N,j,X)}function my(P){return(P&128)===0}function yy(P,N,j){return hs(P,N|128,j)}function uu(P,N,j,X){gy(N,j,A=>A?X(A):hs(j,P,X))}function hs(P,N,j){return lr.chmod(P,N,j)}function gy(P,N,j){lr.stat(P,(X,A)=>X?j(X):uy(N,A.atime,A.mtime,j))}function by(P,N,j,X,A,e){return N?pu(j,X,A,e):Ey(P.mode,j,X,A,e)}function Ey(P,N,j,X,A){lr.mkdir(j,e=>{if(e)return A(e);pu(N,j,X,c=>c?A(c):hs(j,P,A))})}function pu(P,N,j,X){lr.readdir(P,(A,e)=>A?X(A):fu(e,P,N,j,X))}function fu(P,N,j,X,A){let e=P.pop();return e?vy(P,e,N,j,X,A):A()}function vy(P,N,j,X,A,e){let c=yi.join(j,N),n=yi.join(X,N);gi.checkPaths(c,n,"copy",A,(t,r)=>{if(t)return e(t);let{destStat:i}=r;dy(i,c,n,A,a=>a?e(a):fu(P,j,X,A,e))})}function Ty(P,N,j,X,A){lr.readlink(N,(e,c)=>{if(e)return A(e);if(X.dereference&&(c=yi.resolve(process.cwd(),c)),P)lr.readlink(j,(n,t)=>n?n.code==="EINVAL"||n.code==="UNKNOWN"?lr.symlink(c,j,A):A(n):(X.dereference&&(t=yi.resolve(process.cwd(),t)),gi.isSrcSubdir(c,t)?A(new Error(`Cannot copy '${c}' to a subdirectory of itself, '${t}'.`)):P.isDirectory()&&gi.isSrcSubdir(t,c)?A(new Error(`Cannot overwrite '${t}' with '${c}'.`)):Sy(c,j,A)));else return lr.symlink(c,j,A)})}function Sy(P,N,j){lr.unlink(N,X=>X?j(X):lr.symlink(P,N,j))}hu.exports=cy});var vu=_chunkCDIW2WTIjs.b.call(void 0, (
|
|
2225
|
+
see https://github.com/jprichardson/node-fs-extra/issues/269`,"Warning","fs-extra-WARN0001"),gi.checkPaths(P,N,"copy",j,(A,e)=>{if(A)return X(A);let{srcStat:c,destStat:n}=e;gi.checkParentPaths(P,c,N,"copy",t=>t?X(t):j.filter?cu(lu,n,P,N,j,X):lu(n,P,N,j,X))})}function lu(P,N,j,X,A){let e=yi.dirname(j);ly(e,(c,n)=>{if(c)return A(c);if(n)return fs(P,N,j,X,A);oy(e,t=>t?A(t):fs(P,N,j,X,A))})}function cu(P,N,j,X,A,e){Promise.resolve(A.filter(j,X)).then(c=>c?P(N,j,X,A,e):e(),c=>e(c))}function dy(P,N,j,X,A){return X.filter?cu(fs,P,N,j,X,A):fs(P,N,j,X,A)}function fs(P,N,j,X,A){(X.dereference?lr.stat:lr.lstat)(N,(c,n)=>c?A(c):n.isDirectory()?by(n,P,N,j,X,A):n.isFile()||n.isCharacterDevice()||n.isBlockDevice()?py(n,P,N,j,X,A):n.isSymbolicLink()?Ty(P,N,j,X,A):n.isSocket()?A(new Error(`Cannot copy a socket file: ${N}`)):n.isFIFO()?A(new Error(`Cannot copy a FIFO pipe: ${N}`)):A(new Error(`Unknown file: ${N}`)))}function py(P,N,j,X,A,e){return N?fy(P,j,X,A,e):du(P,j,X,A,e)}function fy(P,N,j,X,A){if(X.overwrite)lr.unlink(j,e=>e?A(e):du(P,N,j,X,A));else return X.errorOnExist?A(new Error(`'${j}' already exists`)):A()}function du(P,N,j,X,A){lr.copyFile(N,j,e=>e?A(e):X.preserveTimestamps?hy(P.mode,N,j,A):hs(j,P.mode,A))}function hy(P,N,j,X){return my(P)?yy(j,P,A=>A?X(A):uu(P,N,j,X)):uu(P,N,j,X)}function my(P){return(P&128)===0}function yy(P,N,j){return hs(P,N|128,j)}function uu(P,N,j,X){gy(N,j,A=>A?X(A):hs(j,P,X))}function hs(P,N,j){return lr.chmod(P,N,j)}function gy(P,N,j){lr.stat(P,(X,A)=>X?j(X):uy(N,A.atime,A.mtime,j))}function by(P,N,j,X,A,e){return N?pu(j,X,A,e):Ey(P.mode,j,X,A,e)}function Ey(P,N,j,X,A){lr.mkdir(j,e=>{if(e)return A(e);pu(N,j,X,c=>c?A(c):hs(j,P,A))})}function pu(P,N,j,X){lr.readdir(P,(A,e)=>A?X(A):fu(e,P,N,j,X))}function fu(P,N,j,X,A){let e=P.pop();return e?vy(P,e,N,j,X,A):A()}function vy(P,N,j,X,A,e){let c=yi.join(j,N),n=yi.join(X,N);gi.checkPaths(c,n,"copy",A,(t,r)=>{if(t)return e(t);let{destStat:i}=r;dy(i,c,n,A,a=>a?e(a):fu(P,j,X,A,e))})}function Ty(P,N,j,X,A){lr.readlink(N,(e,c)=>{if(e)return A(e);if(X.dereference&&(c=yi.resolve(process.cwd(),c)),P)lr.readlink(j,(n,t)=>n?n.code==="EINVAL"||n.code==="UNKNOWN"?lr.symlink(c,j,A):A(n):(X.dereference&&(t=yi.resolve(process.cwd(),t)),gi.isSrcSubdir(c,t)?A(new Error(`Cannot copy '${c}' to a subdirectory of itself, '${t}'.`)):P.isDirectory()&&gi.isSrcSubdir(t,c)?A(new Error(`Cannot overwrite '${t}' with '${c}'.`)):Sy(c,j,A)));else return lr.symlink(c,j,A)})}function Sy(P,N,j){lr.unlink(N,X=>X?j(X):lr.symlink(P,N,j))}hu.exports=cy});var vu=_chunkCDIW2WTIjs.b.call(void 0, (mT,Eu)=>{"use strict";var Kt=Zt(),bi=_chunkCDIW2WTIjs.a.call(void 0, "path"),Py=Or().mkdirsSync,Ay=Ra().utimesMillisSync,Ei=Cn();function Cy(P,N,j){typeof j=="function"&&(j={filter:j}),j=j||{},j.clobber="clobber"in j?!!j.clobber:!0,j.overwrite="overwrite"in j?!!j.overwrite:j.clobber,j.preserveTimestamps&&process.arch==="ia32"&&process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended;
|
|
2226
2226
|
|
|
2227
|
-
see https://github.com/jprichardson/node-fs-extra/issues/269`,"Warning","fs-extra-WARN0002");let{srcStat:X,destStat:A}=Ei.checkPathsSync(P,N,"copy",j);return Ei.checkParentPathsSync(P,X,N,"copy"),wy(A,P,N,j)}function wy(P,N,j,X){if(X.filter&&!X.filter(N,j))return;let A=bi.dirname(j);return Kt.existsSync(A)||Py(A),yu(P,N,j,X)}function Dy(P,N,j,X){if(!(X.filter&&!X.filter(N,j)))return yu(P,N,j,X)}function yu(P,N,j,X){let e=(X.dereference?Kt.statSync:Kt.lstatSync)(N);if(e.isDirectory())return Ry(e,P,N,j,X);if(e.isFile()||e.isCharacterDevice()||e.isBlockDevice())return Oy(e,P,N,j,X);if(e.isSymbolicLink())return ky(P,N,j,X);throw e.isSocket()?new Error(`Cannot copy a socket file: ${N}`):e.isFIFO()?new Error(`Cannot copy a FIFO pipe: ${N}`):new Error(`Unknown file: ${N}`)}function Oy(P,N,j,X,A){return N?_y(P,j,X,A):gu(P,j,X,A)}function _y(P,N,j,X){if(X.overwrite)return Kt.unlinkSync(j),gu(P,N,j,X);if(X.errorOnExist)throw new Error(`'${j}' already exists`)}function gu(P,N,j,X){return Kt.copyFileSync(N,j),X.preserveTimestamps&&Iy(P.mode,N,j),Fa(j,P.mode)}function Iy(P,N,j){return Ny(P)&&xy(j,P),jy(N,j)}function Ny(P){return(P&128)===0}function xy(P,N){return Fa(P,N|128)}function Fa(P,N){return Kt.chmodSync(P,N)}function jy(P,N){let j=Kt.statSync(P);return Ay(N,j.atime,j.mtime)}function Ry(P,N,j,X,A){return N?bu(j,X,A):Ly(P.mode,j,X,A)}function Ly(P,N,j,X){return Kt.mkdirSync(j),bu(N,j,X),Fa(j,P)}function bu(P,N,j){Kt.readdirSync(P).forEach(X=>Fy(X,P,N,j))}function Fy(P,N,j,X){let A=bi.join(N,P),e=bi.join(j,P),{destStat:c}=Ei.checkPathsSync(A,e,"copy",X);return Dy(c,A,e,X)}function ky(P,N,j,X){let A=Kt.readlinkSync(N);if(X.dereference&&(A=bi.resolve(process.cwd(),A)),P){let e;try{e=Kt.readlinkSync(j)}catch(c){if(c.code==="EINVAL"||c.code==="UNKNOWN")return Kt.symlinkSync(A,j);throw c}if(X.dereference&&(e=bi.resolve(process.cwd(),e)),Ei.isSrcSubdir(A,e))throw new Error(`Cannot copy '${A}' to a subdirectory of itself, '${e}'.`);if(Kt.statSync(j).isDirectory()&&Ei.isSrcSubdir(e,A))throw new Error(`Cannot overwrite '${e}' with '${A}'.`);return My(A,j)}else return Kt.symlinkSync(A,j)}function My(P,N){return Kt.unlinkSync(N),Kt.symlinkSync(P,N)}Eu.exports=Cy});var ms=_chunkCDIW2WTIjs.b.call(void 0, (mT,Tu)=>{"use strict";var By=ar().fromCallback;Tu.exports={copy:By(mu()),copySync:vu()}});var Iu=_chunkCDIW2WTIjs.b.call(void 0, (yT,_u)=>{"use strict";var Su=Zt(),wu=_chunkCDIW2WTIjs.a.call(void 0, "path"),vt=_chunkCDIW2WTIjs.a.call(void 0, "assert"),vi=process.platform==="win32";function Du(P){["unlink","chmod","stat","lstat","rmdir","readdir"].forEach(j=>{P[j]=P[j]||Su[j],j=j+"Sync",P[j]=P[j]||Su[j]}),P.maxBusyTries=P.maxBusyTries||3}function ka(P,N,j){let X=0;typeof N=="function"&&(j=N,N={}),vt(P,"rimraf: missing path"),vt.strictEqual(typeof P,"string","rimraf: path should be a string"),vt.strictEqual(typeof j,"function","rimraf: callback function required"),vt(N,"rimraf: invalid options argument provided"),vt.strictEqual(typeof N,"object","rimraf: options should be object"),Du(N),Pu(P,N,function A(e){if(e){if((e.code==="EBUSY"||e.code==="ENOTEMPTY"||e.code==="EPERM")&&X<N.maxBusyTries){X++;let c=X*100;return setTimeout(()=>Pu(P,N,A),c)}e.code==="ENOENT"&&(e=null)}j(e)})}function Pu(P,N,j){vt(P),vt(N),vt(typeof j=="function"),N.lstat(P,(X,A)=>{if(X&&X.code==="ENOENT")return j(null);if(X&&X.code==="EPERM"&&vi)return Au(P,N,X,j);if(A&&A.isDirectory())return ys(P,N,X,j);N.unlink(P,e=>{if(e){if(e.code==="ENOENT")return j(null);if(e.code==="EPERM")return vi?Au(P,N,e,j):ys(P,N,e,j);if(e.code==="EISDIR")return ys(P,N,e,j)}return j(e)})})}function Au(P,N,j,X){vt(P),vt(N),vt(typeof X=="function"),N.chmod(P,438,A=>{A?X(A.code==="ENOENT"?null:j):N.stat(P,(e,c)=>{e?X(e.code==="ENOENT"?null:j):c.isDirectory()?ys(P,N,j,X):N.unlink(P,X)})})}function Cu(P,N,j){let X;vt(P),vt(N);try{N.chmodSync(P,438)}catch(A){if(A.code==="ENOENT")return;throw j}try{X=N.statSync(P)}catch(A){if(A.code==="ENOENT")return;throw j}X.isDirectory()?gs(P,N,j):N.unlinkSync(P)}function ys(P,N,j,X){vt(P),vt(N),vt(typeof X=="function"),N.rmdir(P,A=>{A&&(A.code==="ENOTEMPTY"||A.code==="EEXIST"||A.code==="EPERM")?$y(P,N,X):A&&A.code==="ENOTDIR"?X(j):X(A)})}function $y(P,N,j){vt(P),vt(N),vt(typeof j=="function"),N.readdir(P,(X,A)=>{if(X)return j(X);let e=A.length,c;if(e===0)return N.rmdir(P,j);A.forEach(n=>{ka(wu.join(P,n),N,t=>{if(!c){if(t)return j(c=t);--e===0&&N.rmdir(P,j)}})})})}function Ou(P,N){let j;N=N||{},Du(N),vt(P,"rimraf: missing path"),vt.strictEqual(typeof P,"string","rimraf: path should be a string"),vt(N,"rimraf: missing options"),vt.strictEqual(typeof N,"object","rimraf: options should be object");try{j=N.lstatSync(P)}catch(X){if(X.code==="ENOENT")return;X.code==="EPERM"&&vi&&Cu(P,N,X)}try{j&&j.isDirectory()?gs(P,N,null):N.unlinkSync(P)}catch(X){if(X.code==="ENOENT")return;if(X.code==="EPERM")return vi?Cu(P,N,X):gs(P,N,X);if(X.code!=="EISDIR")throw X;gs(P,N,X)}}function gs(P,N,j){vt(P),vt(N);try{N.rmdirSync(P)}catch(X){if(X.code==="ENOTDIR")throw j;if(X.code==="ENOTEMPTY"||X.code==="EEXIST"||X.code==="EPERM")Uy(P,N);else if(X.code!=="ENOENT")throw X}}function Uy(P,N){if(vt(P),vt(N),N.readdirSync(P).forEach(j=>Ou(wu.join(P,j),N)),vi){let j=Date.now();do try{return N.rmdirSync(P,N)}catch (e75){}while(Date.now()-j<500)}else return N.rmdirSync(P,N)}_u.exports=ka;ka.sync=Ou});var Ti=_chunkCDIW2WTIjs.b.call(void 0, (gT,xu)=>{"use strict";var bs=Zt(),Vy=ar().fromCallback,Nu=Iu();function Gy(P,N){if(bs.rm)return bs.rm(P,{recursive:!0,force:!0},N);Nu(P,N)}function Wy(P){if(bs.rmSync)return bs.rmSync(P,{recursive:!0,force:!0});Nu.sync(P)}xu.exports={remove:Vy(Gy),removeSync:Wy}});var $u=_chunkCDIW2WTIjs.b.call(void 0, (bT,Bu)=>{"use strict";var Ky=ar().fromPromise,Lu=An(),Fu=_chunkCDIW2WTIjs.a.call(void 0, "path"),ku=Or(),Mu=Ti(),ju=Ky(async function(N){let j;try{j=await Lu.readdir(N)}catch (e76){return ku.mkdirs(N)}return Promise.all(j.map(X=>Mu.remove(Fu.join(N,X))))});function Ru(P){let N;try{N=Lu.readdirSync(P)}catch (e77){return ku.mkdirsSync(P)}N.forEach(j=>{j=Fu.join(P,j),Mu.removeSync(j)})}Bu.exports={emptyDirSync:Ru,emptydirSync:Ru,emptyDir:ju,emptydir:ju}});var Wu=_chunkCDIW2WTIjs.b.call(void 0, (ET,Gu)=>{"use strict";var Xy=ar().fromCallback,Uu=_chunkCDIW2WTIjs.a.call(void 0, "path"),sn=Zt(),Vu=Or();function Yy(P,N){function j(){sn.writeFile(P,"",X=>{if(X)return N(X);N()})}sn.stat(P,(X,A)=>{if(!X&&A.isFile())return N();let e=Uu.dirname(P);sn.stat(e,(c,n)=>{if(c)return c.code==="ENOENT"?Vu.mkdirs(e,t=>{if(t)return N(t);j()}):N(c);n.isDirectory()?j():sn.readdir(e,t=>{if(t)return N(t)})})})}function Hy(P){let N;try{N=sn.statSync(P)}catch (e78){}if(N&&N.isFile())return;let j=Uu.dirname(P);try{sn.statSync(j).isDirectory()||sn.readdirSync(j)}catch(X){if(X&&X.code==="ENOENT")Vu.mkdirsSync(j);else throw X}sn.writeFileSync(P,"")}Gu.exports={createFile:Xy(Yy),createFileSync:Hy}});var Ju=_chunkCDIW2WTIjs.b.call(void 0, (vT,Hu)=>{"use strict";var Jy=ar().fromCallback,Ku=_chunkCDIW2WTIjs.a.call(void 0, "path"),an=Zt(),Xu=Or(),zy=nn().pathExists,{areIdentical:Yu}=Cn();function qy(P,N,j){function X(A,e){an.link(A,e,c=>{if(c)return j(c);j(null)})}an.lstat(N,(A,e)=>{an.lstat(P,(c,n)=>{if(c)return c.message=c.message.replace("lstat","ensureLink"),j(c);if(e&&Yu(n,e))return j(null);let t=Ku.dirname(N);zy(t,(r,i)=>{if(r)return j(r);if(i)return X(P,N);Xu.mkdirs(t,a=>{if(a)return j(a);X(P,N)})})})})}function Qy(P,N){let j;try{j=an.lstatSync(N)}catch (e79){}try{let e=an.lstatSync(P);if(j&&Yu(e,j))return}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}let X=Ku.dirname(N);return an.existsSync(X)||Xu.mkdirsSync(X),an.linkSync(P,N)}Hu.exports={createLink:Jy(qy),createLinkSync:Qy}});var qu=_chunkCDIW2WTIjs.b.call(void 0, (TT,zu)=>{"use strict";var on=_chunkCDIW2WTIjs.a.call(void 0, "path"),Si=Zt(),Zy=nn().pathExists;function eg(P,N,j){if(on.isAbsolute(P))return Si.lstat(P,X=>X?(X.message=X.message.replace("lstat","ensureSymlink"),j(X)):j(null,{toCwd:P,toDst:P}));{let X=on.dirname(N),A=on.join(X,P);return Zy(A,(e,c)=>e?j(e):c?j(null,{toCwd:A,toDst:P}):Si.lstat(P,n=>n?(n.message=n.message.replace("lstat","ensureSymlink"),j(n)):j(null,{toCwd:P,toDst:on.relative(X,P)})))}}function tg(P,N){let j;if(on.isAbsolute(P)){if(j=Si.existsSync(P),!j)throw new Error("absolute srcpath does not exist");return{toCwd:P,toDst:P}}else{let X=on.dirname(N),A=on.join(X,P);if(j=Si.existsSync(A),j)return{toCwd:A,toDst:P};if(j=Si.existsSync(P),!j)throw new Error("relative srcpath does not exist");return{toCwd:P,toDst:on.relative(X,P)}}}zu.exports={symlinkPaths:eg,symlinkPathsSync:tg}});var ec=_chunkCDIW2WTIjs.b.call(void 0, (ST,Zu)=>{"use strict";var Qu=Zt();function rg(P,N,j){if(j=typeof N=="function"?N:j,N=typeof N=="function"?!1:N,N)return j(null,N);Qu.lstat(P,(X,A)=>{if(X)return j(null,"file");N=A&&A.isDirectory()?"dir":"file",j(null,N)})}function ng(P,N){let j;if(N)return N;try{j=Qu.lstatSync(P)}catch (e80){return"file"}return j&&j.isDirectory()?"dir":"file"}Zu.exports={symlinkType:rg,symlinkTypeSync:ng}});var lc=_chunkCDIW2WTIjs.b.call(void 0, (PT,oc)=>{"use strict";var ig=ar().fromCallback,rc=_chunkCDIW2WTIjs.a.call(void 0, "path"),_r=An(),nc=Or(),sg=nc.mkdirs,ag=nc.mkdirsSync,ic=qu(),og=ic.symlinkPaths,lg=ic.symlinkPathsSync,sc=ec(),ug=sc.symlinkType,cg=sc.symlinkTypeSync,dg=nn().pathExists,{areIdentical:ac}=Cn();function pg(P,N,j,X){X=typeof j=="function"?j:X,j=typeof j=="function"?!1:j,_r.lstat(N,(A,e)=>{!A&&e.isSymbolicLink()?Promise.all([_r.stat(P),_r.stat(N)]).then(([c,n])=>{if(ac(c,n))return X(null);tc(P,N,j,X)}):tc(P,N,j,X)})}function tc(P,N,j,X){og(P,N,(A,e)=>{if(A)return X(A);P=e.toDst,ug(e.toCwd,j,(c,n)=>{if(c)return X(c);let t=rc.dirname(N);dg(t,(r,i)=>{if(r)return X(r);if(i)return _r.symlink(P,N,n,X);sg(t,a=>{if(a)return X(a);_r.symlink(P,N,n,X)})})})})}function fg(P,N,j){let X;try{X=_r.lstatSync(N)}catch (e81){}if(X&&X.isSymbolicLink()){let n=_r.statSync(P),t=_r.statSync(N);if(ac(n,t))return}let A=lg(P,N);P=A.toDst,j=cg(A.toCwd,j);let e=rc.dirname(N);return _r.existsSync(e)||ag(e),_r.symlinkSync(P,N,j)}oc.exports={createSymlink:ig(pg),createSymlinkSync:fg}});var yc=_chunkCDIW2WTIjs.b.call(void 0, (AT,mc)=>{"use strict";var{createFile:uc,createFileSync:cc}=Wu(),{createLink:dc,createLinkSync:pc}=Ju(),{createSymlink:fc,createSymlinkSync:hc}=lc();mc.exports={createFile:uc,createFileSync:cc,ensureFile:uc,ensureFileSync:cc,createLink:dc,createLinkSync:pc,ensureLink:dc,ensureLinkSync:pc,createSymlink:fc,createSymlinkSync:hc,ensureSymlink:fc,ensureSymlinkSync:hc}});var Es=_chunkCDIW2WTIjs.b.call(void 0, (CT,gc)=>{function hg(P,{EOL:N=`
|
|
2228
|
-
`,finalEOL:j=!0,replacer:X=null,spaces:A}={}){let e=j?N:"";return JSON.stringify(P,X,A).replace(/\n/g,N)+e}function mg(P){return Buffer.isBuffer(P)&&(P=P.toString("utf8")),P.replace(/^\uFEFF/,"")}gc.exports={stringify:hg,stripBom:mg}});var Tc=_chunkCDIW2WTIjs.b.call(void 0, (
|
|
2227
|
+
see https://github.com/jprichardson/node-fs-extra/issues/269`,"Warning","fs-extra-WARN0002");let{srcStat:X,destStat:A}=Ei.checkPathsSync(P,N,"copy",j);return Ei.checkParentPathsSync(P,X,N,"copy"),wy(A,P,N,j)}function wy(P,N,j,X){if(X.filter&&!X.filter(N,j))return;let A=bi.dirname(j);return Kt.existsSync(A)||Py(A),yu(P,N,j,X)}function Dy(P,N,j,X){if(!(X.filter&&!X.filter(N,j)))return yu(P,N,j,X)}function yu(P,N,j,X){let e=(X.dereference?Kt.statSync:Kt.lstatSync)(N);if(e.isDirectory())return Ry(e,P,N,j,X);if(e.isFile()||e.isCharacterDevice()||e.isBlockDevice())return Oy(e,P,N,j,X);if(e.isSymbolicLink())return ky(P,N,j,X);throw e.isSocket()?new Error(`Cannot copy a socket file: ${N}`):e.isFIFO()?new Error(`Cannot copy a FIFO pipe: ${N}`):new Error(`Unknown file: ${N}`)}function Oy(P,N,j,X,A){return N?_y(P,j,X,A):gu(P,j,X,A)}function _y(P,N,j,X){if(X.overwrite)return Kt.unlinkSync(j),gu(P,N,j,X);if(X.errorOnExist)throw new Error(`'${j}' already exists`)}function gu(P,N,j,X){return Kt.copyFileSync(N,j),X.preserveTimestamps&&Iy(P.mode,N,j),Fa(j,P.mode)}function Iy(P,N,j){return Ny(P)&&xy(j,P),jy(N,j)}function Ny(P){return(P&128)===0}function xy(P,N){return Fa(P,N|128)}function Fa(P,N){return Kt.chmodSync(P,N)}function jy(P,N){let j=Kt.statSync(P);return Ay(N,j.atime,j.mtime)}function Ry(P,N,j,X,A){return N?bu(j,X,A):Ly(P.mode,j,X,A)}function Ly(P,N,j,X){return Kt.mkdirSync(j),bu(N,j,X),Fa(j,P)}function bu(P,N,j){Kt.readdirSync(P).forEach(X=>Fy(X,P,N,j))}function Fy(P,N,j,X){let A=bi.join(N,P),e=bi.join(j,P),{destStat:c}=Ei.checkPathsSync(A,e,"copy",X);return Dy(c,A,e,X)}function ky(P,N,j,X){let A=Kt.readlinkSync(N);if(X.dereference&&(A=bi.resolve(process.cwd(),A)),P){let e;try{e=Kt.readlinkSync(j)}catch(c){if(c.code==="EINVAL"||c.code==="UNKNOWN")return Kt.symlinkSync(A,j);throw c}if(X.dereference&&(e=bi.resolve(process.cwd(),e)),Ei.isSrcSubdir(A,e))throw new Error(`Cannot copy '${A}' to a subdirectory of itself, '${e}'.`);if(Kt.statSync(j).isDirectory()&&Ei.isSrcSubdir(e,A))throw new Error(`Cannot overwrite '${e}' with '${A}'.`);return My(A,j)}else return Kt.symlinkSync(A,j)}function My(P,N){return Kt.unlinkSync(N),Kt.symlinkSync(P,N)}Eu.exports=Cy});var ms=_chunkCDIW2WTIjs.b.call(void 0, (yT,Tu)=>{"use strict";var By=ar().fromCallback;Tu.exports={copy:By(mu()),copySync:vu()}});var Iu=_chunkCDIW2WTIjs.b.call(void 0, (gT,_u)=>{"use strict";var Su=Zt(),wu=_chunkCDIW2WTIjs.a.call(void 0, "path"),vt=_chunkCDIW2WTIjs.a.call(void 0, "assert"),vi=process.platform==="win32";function Du(P){["unlink","chmod","stat","lstat","rmdir","readdir"].forEach(j=>{P[j]=P[j]||Su[j],j=j+"Sync",P[j]=P[j]||Su[j]}),P.maxBusyTries=P.maxBusyTries||3}function ka(P,N,j){let X=0;typeof N=="function"&&(j=N,N={}),vt(P,"rimraf: missing path"),vt.strictEqual(typeof P,"string","rimraf: path should be a string"),vt.strictEqual(typeof j,"function","rimraf: callback function required"),vt(N,"rimraf: invalid options argument provided"),vt.strictEqual(typeof N,"object","rimraf: options should be object"),Du(N),Pu(P,N,function A(e){if(e){if((e.code==="EBUSY"||e.code==="ENOTEMPTY"||e.code==="EPERM")&&X<N.maxBusyTries){X++;let c=X*100;return setTimeout(()=>Pu(P,N,A),c)}e.code==="ENOENT"&&(e=null)}j(e)})}function Pu(P,N,j){vt(P),vt(N),vt(typeof j=="function"),N.lstat(P,(X,A)=>{if(X&&X.code==="ENOENT")return j(null);if(X&&X.code==="EPERM"&&vi)return Au(P,N,X,j);if(A&&A.isDirectory())return ys(P,N,X,j);N.unlink(P,e=>{if(e){if(e.code==="ENOENT")return j(null);if(e.code==="EPERM")return vi?Au(P,N,e,j):ys(P,N,e,j);if(e.code==="EISDIR")return ys(P,N,e,j)}return j(e)})})}function Au(P,N,j,X){vt(P),vt(N),vt(typeof X=="function"),N.chmod(P,438,A=>{A?X(A.code==="ENOENT"?null:j):N.stat(P,(e,c)=>{e?X(e.code==="ENOENT"?null:j):c.isDirectory()?ys(P,N,j,X):N.unlink(P,X)})})}function Cu(P,N,j){let X;vt(P),vt(N);try{N.chmodSync(P,438)}catch(A){if(A.code==="ENOENT")return;throw j}try{X=N.statSync(P)}catch(A){if(A.code==="ENOENT")return;throw j}X.isDirectory()?gs(P,N,j):N.unlinkSync(P)}function ys(P,N,j,X){vt(P),vt(N),vt(typeof X=="function"),N.rmdir(P,A=>{A&&(A.code==="ENOTEMPTY"||A.code==="EEXIST"||A.code==="EPERM")?$y(P,N,X):A&&A.code==="ENOTDIR"?X(j):X(A)})}function $y(P,N,j){vt(P),vt(N),vt(typeof j=="function"),N.readdir(P,(X,A)=>{if(X)return j(X);let e=A.length,c;if(e===0)return N.rmdir(P,j);A.forEach(n=>{ka(wu.join(P,n),N,t=>{if(!c){if(t)return j(c=t);--e===0&&N.rmdir(P,j)}})})})}function Ou(P,N){let j;N=N||{},Du(N),vt(P,"rimraf: missing path"),vt.strictEqual(typeof P,"string","rimraf: path should be a string"),vt(N,"rimraf: missing options"),vt.strictEqual(typeof N,"object","rimraf: options should be object");try{j=N.lstatSync(P)}catch(X){if(X.code==="ENOENT")return;X.code==="EPERM"&&vi&&Cu(P,N,X)}try{j&&j.isDirectory()?gs(P,N,null):N.unlinkSync(P)}catch(X){if(X.code==="ENOENT")return;if(X.code==="EPERM")return vi?Cu(P,N,X):gs(P,N,X);if(X.code!=="EISDIR")throw X;gs(P,N,X)}}function gs(P,N,j){vt(P),vt(N);try{N.rmdirSync(P)}catch(X){if(X.code==="ENOTDIR")throw j;if(X.code==="ENOTEMPTY"||X.code==="EEXIST"||X.code==="EPERM")Uy(P,N);else if(X.code!=="ENOENT")throw X}}function Uy(P,N){if(vt(P),vt(N),N.readdirSync(P).forEach(j=>Ou(wu.join(P,j),N)),vi){let j=Date.now();do try{return N.rmdirSync(P,N)}catch (e75){}while(Date.now()-j<500)}else return N.rmdirSync(P,N)}_u.exports=ka;ka.sync=Ou});var Ti=_chunkCDIW2WTIjs.b.call(void 0, (bT,xu)=>{"use strict";var bs=Zt(),Vy=ar().fromCallback,Nu=Iu();function Gy(P,N){if(bs.rm)return bs.rm(P,{recursive:!0,force:!0},N);Nu(P,N)}function Wy(P){if(bs.rmSync)return bs.rmSync(P,{recursive:!0,force:!0});Nu.sync(P)}xu.exports={remove:Vy(Gy),removeSync:Wy}});var $u=_chunkCDIW2WTIjs.b.call(void 0, (ET,Bu)=>{"use strict";var Ky=ar().fromPromise,Lu=An(),Fu=_chunkCDIW2WTIjs.a.call(void 0, "path"),ku=Or(),Mu=Ti(),ju=Ky(async function(N){let j;try{j=await Lu.readdir(N)}catch (e76){return ku.mkdirs(N)}return Promise.all(j.map(X=>Mu.remove(Fu.join(N,X))))});function Ru(P){let N;try{N=Lu.readdirSync(P)}catch (e77){return ku.mkdirsSync(P)}N.forEach(j=>{j=Fu.join(P,j),Mu.removeSync(j)})}Bu.exports={emptyDirSync:Ru,emptydirSync:Ru,emptyDir:ju,emptydir:ju}});var Wu=_chunkCDIW2WTIjs.b.call(void 0, (vT,Gu)=>{"use strict";var Xy=ar().fromCallback,Uu=_chunkCDIW2WTIjs.a.call(void 0, "path"),sn=Zt(),Vu=Or();function Yy(P,N){function j(){sn.writeFile(P,"",X=>{if(X)return N(X);N()})}sn.stat(P,(X,A)=>{if(!X&&A.isFile())return N();let e=Uu.dirname(P);sn.stat(e,(c,n)=>{if(c)return c.code==="ENOENT"?Vu.mkdirs(e,t=>{if(t)return N(t);j()}):N(c);n.isDirectory()?j():sn.readdir(e,t=>{if(t)return N(t)})})})}function Hy(P){let N;try{N=sn.statSync(P)}catch (e78){}if(N&&N.isFile())return;let j=Uu.dirname(P);try{sn.statSync(j).isDirectory()||sn.readdirSync(j)}catch(X){if(X&&X.code==="ENOENT")Vu.mkdirsSync(j);else throw X}sn.writeFileSync(P,"")}Gu.exports={createFile:Xy(Yy),createFileSync:Hy}});var Ju=_chunkCDIW2WTIjs.b.call(void 0, (TT,Hu)=>{"use strict";var Jy=ar().fromCallback,Ku=_chunkCDIW2WTIjs.a.call(void 0, "path"),an=Zt(),Xu=Or(),zy=nn().pathExists,{areIdentical:Yu}=Cn();function qy(P,N,j){function X(A,e){an.link(A,e,c=>{if(c)return j(c);j(null)})}an.lstat(N,(A,e)=>{an.lstat(P,(c,n)=>{if(c)return c.message=c.message.replace("lstat","ensureLink"),j(c);if(e&&Yu(n,e))return j(null);let t=Ku.dirname(N);zy(t,(r,i)=>{if(r)return j(r);if(i)return X(P,N);Xu.mkdirs(t,a=>{if(a)return j(a);X(P,N)})})})})}function Qy(P,N){let j;try{j=an.lstatSync(N)}catch (e79){}try{let e=an.lstatSync(P);if(j&&Yu(e,j))return}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}let X=Ku.dirname(N);return an.existsSync(X)||Xu.mkdirsSync(X),an.linkSync(P,N)}Hu.exports={createLink:Jy(qy),createLinkSync:Qy}});var qu=_chunkCDIW2WTIjs.b.call(void 0, (ST,zu)=>{"use strict";var on=_chunkCDIW2WTIjs.a.call(void 0, "path"),Si=Zt(),Zy=nn().pathExists;function eg(P,N,j){if(on.isAbsolute(P))return Si.lstat(P,X=>X?(X.message=X.message.replace("lstat","ensureSymlink"),j(X)):j(null,{toCwd:P,toDst:P}));{let X=on.dirname(N),A=on.join(X,P);return Zy(A,(e,c)=>e?j(e):c?j(null,{toCwd:A,toDst:P}):Si.lstat(P,n=>n?(n.message=n.message.replace("lstat","ensureSymlink"),j(n)):j(null,{toCwd:P,toDst:on.relative(X,P)})))}}function tg(P,N){let j;if(on.isAbsolute(P)){if(j=Si.existsSync(P),!j)throw new Error("absolute srcpath does not exist");return{toCwd:P,toDst:P}}else{let X=on.dirname(N),A=on.join(X,P);if(j=Si.existsSync(A),j)return{toCwd:A,toDst:P};if(j=Si.existsSync(P),!j)throw new Error("relative srcpath does not exist");return{toCwd:P,toDst:on.relative(X,P)}}}zu.exports={symlinkPaths:eg,symlinkPathsSync:tg}});var ec=_chunkCDIW2WTIjs.b.call(void 0, (PT,Zu)=>{"use strict";var Qu=Zt();function rg(P,N,j){if(j=typeof N=="function"?N:j,N=typeof N=="function"?!1:N,N)return j(null,N);Qu.lstat(P,(X,A)=>{if(X)return j(null,"file");N=A&&A.isDirectory()?"dir":"file",j(null,N)})}function ng(P,N){let j;if(N)return N;try{j=Qu.lstatSync(P)}catch (e80){return"file"}return j&&j.isDirectory()?"dir":"file"}Zu.exports={symlinkType:rg,symlinkTypeSync:ng}});var lc=_chunkCDIW2WTIjs.b.call(void 0, (AT,oc)=>{"use strict";var ig=ar().fromCallback,rc=_chunkCDIW2WTIjs.a.call(void 0, "path"),_r=An(),nc=Or(),sg=nc.mkdirs,ag=nc.mkdirsSync,ic=qu(),og=ic.symlinkPaths,lg=ic.symlinkPathsSync,sc=ec(),ug=sc.symlinkType,cg=sc.symlinkTypeSync,dg=nn().pathExists,{areIdentical:ac}=Cn();function pg(P,N,j,X){X=typeof j=="function"?j:X,j=typeof j=="function"?!1:j,_r.lstat(N,(A,e)=>{!A&&e.isSymbolicLink()?Promise.all([_r.stat(P),_r.stat(N)]).then(([c,n])=>{if(ac(c,n))return X(null);tc(P,N,j,X)}):tc(P,N,j,X)})}function tc(P,N,j,X){og(P,N,(A,e)=>{if(A)return X(A);P=e.toDst,ug(e.toCwd,j,(c,n)=>{if(c)return X(c);let t=rc.dirname(N);dg(t,(r,i)=>{if(r)return X(r);if(i)return _r.symlink(P,N,n,X);sg(t,a=>{if(a)return X(a);_r.symlink(P,N,n,X)})})})})}function fg(P,N,j){let X;try{X=_r.lstatSync(N)}catch (e81){}if(X&&X.isSymbolicLink()){let n=_r.statSync(P),t=_r.statSync(N);if(ac(n,t))return}let A=lg(P,N);P=A.toDst,j=cg(A.toCwd,j);let e=rc.dirname(N);return _r.existsSync(e)||ag(e),_r.symlinkSync(P,N,j)}oc.exports={createSymlink:ig(pg),createSymlinkSync:fg}});var yc=_chunkCDIW2WTIjs.b.call(void 0, (CT,mc)=>{"use strict";var{createFile:uc,createFileSync:cc}=Wu(),{createLink:dc,createLinkSync:pc}=Ju(),{createSymlink:fc,createSymlinkSync:hc}=lc();mc.exports={createFile:uc,createFileSync:cc,ensureFile:uc,ensureFileSync:cc,createLink:dc,createLinkSync:pc,ensureLink:dc,ensureLinkSync:pc,createSymlink:fc,createSymlinkSync:hc,ensureSymlink:fc,ensureSymlinkSync:hc}});var Es=_chunkCDIW2WTIjs.b.call(void 0, (wT,gc)=>{function hg(P,{EOL:N=`
|
|
2228
|
+
`,finalEOL:j=!0,replacer:X=null,spaces:A}={}){let e=j?N:"";return JSON.stringify(P,X,A).replace(/\n/g,N)+e}function mg(P){return Buffer.isBuffer(P)&&(P=P.toString("utf8")),P.replace(/^\uFEFF/,"")}gc.exports={stringify:hg,stripBom:mg}});var Tc=_chunkCDIW2WTIjs.b.call(void 0, (DT,vc)=>{var Xn;try{Xn=Zt()}catch (e82){Xn=_chunkCDIW2WTIjs.a.call(void 0, "fs")}var vs=ar(),{stringify:bc,stripBom:Ec}=Es();async function yg(P,N={}){typeof N=="string"&&(N={encoding:N});let j=N.fs||Xn,X="throws"in N?N.throws:!0,A=await vs.fromCallback(j.readFile)(P,N);A=Ec(A);let e;try{e=JSON.parse(A,N?N.reviver:null)}catch(c){if(X)throw c.message=`${P}: ${c.message}`,c;return null}return e}var gg=vs.fromPromise(yg);function bg(P,N={}){typeof N=="string"&&(N={encoding:N});let j=N.fs||Xn,X="throws"in N?N.throws:!0;try{let A=j.readFileSync(P,N);return A=Ec(A),JSON.parse(A,N.reviver)}catch(A){if(X)throw A.message=`${P}: ${A.message}`,A;return null}}async function Eg(P,N,j={}){let X=j.fs||Xn,A=bc(N,j);await vs.fromCallback(X.writeFile)(P,A,j)}var vg=vs.fromPromise(Eg);function Tg(P,N,j={}){let X=j.fs||Xn,A=bc(N,j);return X.writeFileSync(P,A,j)}var Sg={readFile:gg,readFileSync:bg,writeFile:vg,writeFileSync:Tg};vc.exports=Sg});var Pc=_chunkCDIW2WTIjs.b.call(void 0, (OT,Sc)=>{"use strict";var Ts=Tc();Sc.exports={readJson:Ts.readFile,readJsonSync:Ts.readFileSync,writeJson:Ts.writeFile,writeJsonSync:Ts.writeFileSync}});var Ss=_chunkCDIW2WTIjs.b.call(void 0, (_T,wc)=>{"use strict";var Pg=ar().fromCallback,Pi=Zt(),Ac=_chunkCDIW2WTIjs.a.call(void 0, "path"),Cc=Or(),Ag=nn().pathExists;function Cg(P,N,j,X){typeof j=="function"&&(X=j,j="utf8");let A=Ac.dirname(P);Ag(A,(e,c)=>{if(e)return X(e);if(c)return Pi.writeFile(P,N,j,X);Cc.mkdirs(A,n=>{if(n)return X(n);Pi.writeFile(P,N,j,X)})})}function wg(P,...N){let j=Ac.dirname(P);if(Pi.existsSync(j))return Pi.writeFileSync(P,...N);Cc.mkdirsSync(j),Pi.writeFileSync(P,...N)}wc.exports={outputFile:Pg(Cg),outputFileSync:wg}});var Oc=_chunkCDIW2WTIjs.b.call(void 0, (IT,Dc)=>{"use strict";var{stringify:Dg}=Es(),{outputFile:Og}=Ss();async function _g(P,N,j={}){let X=Dg(N,j);await Og(P,X,j)}Dc.exports=_g});var Ic=_chunkCDIW2WTIjs.b.call(void 0, (NT,_c)=>{"use strict";var{stringify:Ig}=Es(),{outputFileSync:Ng}=Ss();function xg(P,N,j){let X=Ig(N,j);Ng(P,X,j)}_c.exports=xg});var xc=_chunkCDIW2WTIjs.b.call(void 0, (xT,Nc)=>{"use strict";var jg=ar().fromPromise,er=Pc();er.outputJson=jg(Oc());er.outputJsonSync=Ic();er.outputJSON=er.outputJson;er.outputJSONSync=er.outputJsonSync;er.writeJSON=er.writeJson;er.writeJSONSync=er.writeJsonSync;er.readJSON=er.readJson;er.readJSONSync=er.readJsonSync;Nc.exports=er});var kc=_chunkCDIW2WTIjs.b.call(void 0, (jT,Fc)=>{"use strict";var Rg=Zt(),Ba=_chunkCDIW2WTIjs.a.call(void 0, "path"),Lg=ms().copy,Lc=Ti().remove,Fg=Or().mkdirp,kg=nn().pathExists,jc=Cn();function Mg(P,N,j,X){typeof j=="function"&&(X=j,j={}),j=j||{};let A=j.overwrite||j.clobber||!1;jc.checkPaths(P,N,"move",j,(e,c)=>{if(e)return X(e);let{srcStat:n,isChangingCase:t=!1}=c;jc.checkParentPaths(P,n,N,"move",r=>{if(r)return X(r);if(Bg(N))return Rc(P,N,A,t,X);Fg(Ba.dirname(N),i=>i?X(i):Rc(P,N,A,t,X))})})}function Bg(P){let N=Ba.dirname(P);return Ba.parse(N).root===N}function Rc(P,N,j,X,A){if(X)return Ma(P,N,j,A);if(j)return Lc(N,e=>e?A(e):Ma(P,N,j,A));kg(N,(e,c)=>e?A(e):c?A(new Error("dest already exists.")):Ma(P,N,j,A))}function Ma(P,N,j,X){Rg.rename(P,N,A=>A?A.code!=="EXDEV"?X(A):$g(P,N,j,X):X())}function $g(P,N,j,X){Lg(P,N,{overwrite:j,errorOnExist:!0},e=>e?X(e):Lc(P,X))}Fc.exports=Mg});var Vc=_chunkCDIW2WTIjs.b.call(void 0, (RT,Uc)=>{"use strict";var Bc=Zt(),Ua=_chunkCDIW2WTIjs.a.call(void 0, "path"),Ug=ms().copySync,$c=Ti().removeSync,Vg=Or().mkdirpSync,Mc=Cn();function Gg(P,N,j){j=j||{};let X=j.overwrite||j.clobber||!1,{srcStat:A,isChangingCase:e=!1}=Mc.checkPathsSync(P,N,"move",j);return Mc.checkParentPathsSync(P,A,N,"move"),Wg(N)||Vg(Ua.dirname(N)),Kg(P,N,X,e)}function Wg(P){let N=Ua.dirname(P);return Ua.parse(N).root===N}function Kg(P,N,j,X){if(X)return $a(P,N,j);if(j)return $c(N),$a(P,N,j);if(Bc.existsSync(N))throw new Error("dest already exists.");return $a(P,N,j)}function $a(P,N,j){try{Bc.renameSync(P,N)}catch(X){if(X.code!=="EXDEV")throw X;return Xg(P,N,j)}}function Xg(P,N,j){return Ug(P,N,{overwrite:j,errorOnExist:!0}),$c(P)}Uc.exports=Gg});var Wc=_chunkCDIW2WTIjs.b.call(void 0, (LT,Gc)=>{"use strict";var Yg=ar().fromCallback;Gc.exports={move:Yg(kc()),moveSync:Vc()}});var Xc=_chunkCDIW2WTIjs.b.call(void 0, (FT,Kc)=>{"use strict";Kc.exports={...An(),...ms(),...$u(),...yc(),...xc(),...Or(),...Wc(),...Ss(),...nn(),...Ti()}});var id=_chunkCDIW2WTIjs.b.call(void 0, (HT,nd)=>{var{hasOwnProperty:Va}=Object.prototype,Ga=typeof process<"u"&&process.platform==="win32"?`\r
|
|
2229
2229
|
`:`
|
|
2230
|
-
`,Wa=(P,N)=>{let j=[],X="";typeof N=="string"?N={section:N,whitespace:!1}:(N=N||Object.create(null),N.whitespace=N.whitespace===!0);let A=N.whitespace?" = ":"=";for(let e of Object.keys(P)){let c=P[e];if(c&&Array.isArray(c))for(let n of c)X+=
|
|
2231
|
-
`;else c&&typeof c=="object"?j.push(e):X+=Hn(e)+A+Hn(c)+Ga}N.section&&X.length&&(X="["+Hn(N.section)+"]"+Ga+X);for(let e of j){let c=td(e).join("\\."),n=(N.section?N.section+".":"")+c,{whitespace:t}=N,r=Wa(P[e],{section:n,whitespace:t});X.length&&r.length&&(X+=Ga),X+=r}return X},td=P=>P.replace(/\1/g,"LITERAL\\1LITERAL").replace(/\\\./g,"").split(/\./).map(N=>N.replace(/\1/g,"\\.").replace(/\2LITERAL\\1LITERAL\2/g,"")),ed=P=>{let N=Object.create(null),j=N,X=null,A=/^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i,e=P.split(/[\r\n]+/g);for(let n of e){if(!n||n.match(/^\s*[;#]/))continue;let t=n.match(A);if(!t)continue;if(t[1]!==void 0){if(X=Ps(t[1]),X==="__proto__"){j=Object.create(null);continue}j=N[X]=N[X]||Object.create(null);continue}let r=Ps(t[2]),i=r.length>2&&r.slice(-2)==="[]",a=i?r.slice(0,-2):r;if(a==="__proto__")continue;let u=t[3]?Ps(t[4]):!0,f=u==="true"||u==="false"||u==="null"?JSON.parse(u):u;i&&(Va.call(j,a)?Array.isArray(j[a])||(j[a]=[j[a]]):j[a]=[]),Array.isArray(j[a])?j[a].push(f):j[a]=f}let c=[];for(let n of Object.keys(N)){if(!Va.call(N,n)||typeof N[n]!="object"||Array.isArray(N[n]))continue;let t=td(n),r=N,i=t.pop(),a=i.replace(/\\\./g,".");for(let u of t)u!=="__proto__"&&((!Va.call(r,u)||typeof r[u]!="object")&&(r[u]=Object.create(null)),r=r[u]);r===N&&a===i||(r[a]=N[n],c.push(n))}for(let n of c)delete N[n];return N},rd=P=>P.charAt(0)==='"'&&P.slice(-1)==='"'||P.charAt(0)==="'"&&P.slice(-1)==="'",Hn=P=>typeof P!="string"||P.match(/[=\r\n]/)||P.match(/^\[/)||P.length>1&&rd(P)||P!==P.trim()?JSON.stringify(P):P.replace(/;/g,"\\;").replace(/#/g,"\\#"),Ps=(P,N)=>{if(P=(P||"").trim(),rd(P)){P.charAt(0)==="'"&&(P=P.substr(1,P.length-2));try{P=JSON.parse(P)}catch (e83){}}else{let j=!1,X="";for(let A=0,e=P.length;A<e;A++){let c=P.charAt(A);if(j)"\\;#".indexOf(c)!==-1?X+=c:X+="\\"+c,j=!1;else{if(";#".indexOf(c)!==-1)break;c==="\\"?j=!0:X+=c}}return j&&(X+="\\"),X.trim()}return P};nd.exports={parse:ed,decode:ed,stringify:Wa,encode:Wa,safe:Hn,unsafe:Ps}});var Xa=_chunkCDIW2WTIjs.b.call(void 0, Fr=>{"use strict";var Mt=_chunkCDIW2WTIjs.a.call(void 0, "path"),Ka=_chunkCDIW2WTIjs.a.call(void 0, "os"),As=_chunkCDIW2WTIjs.a.call(void 0, "fs"),ob=id(),Ci=process.platform==="win32",sd=P=>{try{return ob.parse(As.readFileSync(P,"utf8")).prefix}catch (e84){}},lb=()=>Object.keys(process.env).reduce((P,N)=>/^npm_config_prefix$/i.test(N)?process.env[N]:P,void 0),ub=()=>{if(Ci&&process.env.APPDATA)return Mt.join(process.env.APPDATA,"/npm/etc/npmrc");if(process.execPath.includes("/Cellar/node")){let P=process.execPath.slice(0,process.execPath.indexOf("/Cellar/node"));return Mt.join(P,"/lib/node_modules/npm/npmrc")}if(process.execPath.endsWith("/bin/node")){let P=Mt.dirname(Mt.dirname(process.execPath));return Mt.join(P,"/etc/npmrc")}},cb=()=>Ci?Mt.dirname(process.execPath):Mt.dirname(Mt.dirname(process.execPath)),db=()=>{let P=lb();if(P)return P;let N=sd(Mt.join(Ka.homedir(),".npmrc"));if(N)return N;if(process.env.PREFIX)return process.env.PREFIX;let j=sd(ub());return j||cb()},Ai=Mt.resolve(db()),ad=()=>{if(Ci&&process.env.LOCALAPPDATA){let P=Mt.join(process.env.LOCALAPPDATA,"Yarn");if(As.existsSync(P))return P}return!1},pb=()=>{if(process.env.PREFIX)return process.env.PREFIX;let P=ad();if(P)return P;let N=Mt.join(Ka.homedir(),".config/yarn");if(As.existsSync(N))return N;let j=Mt.join(Ka.homedir(),".yarn-config");return As.existsSync(j)?j:Ai};Fr.npm={};Fr.npm.prefix=Ai;Fr.npm.packages=Mt.join(Ai,Ci?"node_modules":"lib/node_modules");Fr.npm.binaries=Ci?Ai:Mt.join(Ai,"bin");var od=Mt.resolve(pb());Fr.yarn={};Fr.yarn.prefix=od;Fr.yarn.packages=Mt.join(od,ad()?"Data/global/node_modules":"global/node_modules");Fr.yarn.binaries=Mt.join(Fr.yarn.packages,".bin")});var ud=_chunkCDIW2WTIjs.b.call(void 0, (JT,ld)=>{"use strict";var Ya=_chunkCDIW2WTIjs.a.call(void 0, "path");ld.exports=(P,N)=>{let j=Ya.relative(N,P);return Boolean(j&&j!==".."&&!j.startsWith(`..${Ya.sep}`)&&j!==Ya.resolve(P))}});var fd=_chunkCDIW2WTIjs.b.call(void 0, (zT,pd)=>{"use strict";var fb=_chunkCDIW2WTIjs.a.call(void 0, "fs"),cd=Xa(),dd=ud();pd.exports=(()=>{try{return dd(__dirname,cd.yarn.packages)||dd(__dirname,fb.realpathSync(cd.npm.packages))}catch (e85){return!1}})()});var Ha=_chunkCDIW2WTIjs.b.call(void 0, (qT,hd)=>{"use strict";var hb=_chunkCDIW2WTIjs.a.call(void 0, "os");hd.exports=hb.homedir||function(){var N=process.env.HOME,j=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;return process.platform==="win32"?process.env.USERPROFILE||process.env.HOMEDRIVE+process.env.HOMEPATH||N||null:process.platform==="darwin"?N||(j?"/Users/"+j:null):process.platform==="linux"?N||(process.getuid()===0?"/root":j?"/home/"+j:null):N||null}});var Ja=_chunkCDIW2WTIjs.b.call(void 0, (QT,md)=>{md.exports=function(){var P=Error.prepareStackTrace;Error.prepareStackTrace=function(j,X){return X};var N=new Error().stack;return Error.prepareStackTrace=P,N[2].getFileName()}});var yd=_chunkCDIW2WTIjs.b.call(void 0, (ZT,wi)=>{"use strict";var mb=process.platform==="win32",yb=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/,za={};function gb(P){return yb.exec(P).slice(1)}za.parse=function(P){if(typeof P!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof P);var N=gb(P);if(!N||N.length!==5)throw new TypeError("Invalid path '"+P+"'");return{root:N[1],dir:N[0]===N[1]?N[0]:N[0].slice(0,-1),base:N[2],ext:N[4],name:N[3]}};var bb=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,qa={};function Eb(P){return bb.exec(P).slice(1)}qa.parse=function(P){if(typeof P!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof P);var N=Eb(P);if(!N||N.length!==5)throw new TypeError("Invalid path '"+P+"'");return{root:N[1],dir:N[0].slice(0,-1),base:N[2],ext:N[4],name:N[3]}};mb?wi.exports=za.parse:wi.exports=qa.parse;wi.exports.posix=qa.parse;wi.exports.win32=za.parse});var Qa=_chunkCDIW2WTIjs.b.call(void 0, (eS,vd)=>{var Ed=_chunkCDIW2WTIjs.a.call(void 0, "path"),gd=Ed.parse||yd(),bd=function(N,j){var X="/";/^([A-Za-z]:)/.test(N)?X="":/^\\\\/.test(N)&&(X="\\\\");for(var A=[N],e=gd(N);e.dir!==A[A.length-1];)A.push(e.dir),e=gd(e.dir);return A.reduce(function(c,n){return c.concat(j.map(function(t){return Ed.resolve(X,n,t)}))},[])};vd.exports=function(N,j,X){var A=j&&j.moduleDirectory?[].concat(j.moduleDirectory):["node_modules"];if(j&&typeof j.paths=="function")return j.paths(X,N,function(){return bd(N,A)},j);var e=bd(N,A);return j&&j.paths?e.concat(j.paths):e}});var Za=_chunkCDIW2WTIjs.b.call(void 0, (tS,Td)=>{Td.exports=function(P,N){return N||{}}});var Pd=_chunkCDIW2WTIjs.b.call(void 0, (rS,Sd)=>{"use strict";var vb="Function.prototype.bind called on incompatible ",eo=Array.prototype.slice,Tb=Object.prototype.toString,Sb="[object Function]";Sd.exports=function(N){var j=this;if(typeof j!="function"||Tb.call(j)!==Sb)throw new TypeError(vb+j);for(var X=eo.call(arguments,1),A,e=function(){if(this instanceof A){var i=j.apply(this,X.concat(eo.call(arguments)));return Object(i)===i?i:this}else return j.apply(N,X.concat(eo.call(arguments)))},c=Math.max(0,j.length-X.length),n=[],t=0;t<c;t++)n.push("$"+t);if(A=Function("binder","return function ("+n.join(",")+"){ return binder.apply(this,arguments); }")(e),j.prototype){var r=function(){};r.prototype=j.prototype,A.prototype=new r,r.prototype=null}return A}});var Cd=_chunkCDIW2WTIjs.b.call(void 0, (nS,Ad)=>{"use strict";var Pb=Pd();Ad.exports=Function.prototype.bind||Pb});var Dd=_chunkCDIW2WTIjs.b.call(void 0, (iS,wd)=>{"use strict";var Ab=Cd();wd.exports=Ab.call(Function.call,Object.prototype.hasOwnProperty)});var Od=_chunkCDIW2WTIjs.b.call(void 0, (sS,Cb)=>{Cb.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"node:test":">= 18",timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:">= 13.4 && < 13.5",worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}});var Cs=_chunkCDIW2WTIjs.b.call(void 0, (aS,Nd)=>{"use strict";var wb=Dd();function Db(P,N){for(var j=P.split("."),X=N.split(" "),A=X.length>1?X[0]:"=",e=(X.length>1?X[1]:X[0]).split("."),c=0;c<3;++c){var n=parseInt(j[c]||0,10),t=parseInt(e[c]||0,10);if(n!==t)return A==="<"?n<t:A===">="?n>=t:!1}return A===">="}function _d(P,N){var j=N.split(/ ?&& ?/);if(j.length===0)return!1;for(var X=0;X<j.length;++X)if(!Db(P,j[X]))return!1;return!0}function Ob(P,N){if(typeof N=="boolean")return N;var j=typeof P>"u"?process.versions&&process.versions.node:P;if(typeof j!="string")throw new TypeError(typeof P>"u"?"Unable to determine current node version":"If provided, a valid node version is required");if(N&&typeof N=="object"){for(var X=0;X<N.length;++X)if(_d(j,N[X]))return!0;return!1}return _d(j,N)}var Id=Od();Nd.exports=function(N,j){return wb(Id,N)&&Ob(j,Id[N])}});var Rd=_chunkCDIW2WTIjs.b.call(void 0, (oS,jd)=>{var wn=_chunkCDIW2WTIjs.a.call(void 0, "fs"),_b=Ha(),xt=_chunkCDIW2WTIjs.a.call(void 0, "path"),Ib=Ja(),Nb=Qa(),xb=Za(),jb=Cs(),Rb=process.platform!=="win32"&&wn.realpath&&typeof wn.realpath.native=="function"?wn.realpath.native:wn.realpath,xd=_b(),Lb=function(){return[xt.join(xd,".node_modules"),xt.join(xd,".node_libraries")]},Fb=function(N,j){wn.stat(N,function(X,A){return X?X.code==="ENOENT"||X.code==="ENOTDIR"?j(null,!1):j(X):j(null,A.isFile()||A.isFIFO())})},kb=function(N,j){wn.stat(N,function(X,A){return X?X.code==="ENOENT"||X.code==="ENOTDIR"?j(null,!1):j(X):j(null,A.isDirectory())})},Mb=function(N,j){Rb(N,function(X,A){X&&X.code!=="ENOENT"?j(X):j(null,X?N:A)})},Di=function(N,j,X,A){X&&X.preserveSymlinks===!1?N(j,A):A(null,j)},Bb=function(N,j,X){N(j,function(A,e){if(A)X(A);else try{var c=JSON.parse(e);X(null,c)}catch (e86){X(null)}})},$b=function(N,j,X){for(var A=Nb(j,X,N),e=0;e<A.length;e++)A[e]=xt.join(A[e],N);return A};jd.exports=function(N,j,X){var A=X,e=j;if(typeof j=="function"&&(A=e,e={}),typeof N!="string"){var c=new TypeError("Path must be a string.");return process.nextTick(function(){A(c)})}e=xb(N,e);var n=e.isFile||Fb,t=e.isDirectory||kb,r=e.readFile||wn.readFile,i=e.realpath||Mb,a=e.readPackage||Bb;if(e.readFile&&e.readPackage){var u=new TypeError("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick(function(){A(u)})}var f=e.packageIterator,h=e.extensions||[".js"],p=e.includeCoreModules!==!1,o=e.basedir||xt.dirname(Ib()),y=e.filename||o;e.paths=e.paths||Lb();var d=xt.resolve(o);Di(i,d,e,function(M,$){M?A(M):S($)});var m;function S(M){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(N))m=xt.resolve(M,N),(N==="."||N===".."||N.slice(-1)==="/")&&(m+="/"),/\/$/.test(N)&&m===M?k(m,e.package,T):C(m,e.package,T);else{if(p&&jb(N))return A(null,N);x(N,M,function($,H,Q){if($)A($);else{if(H)return Di(i,H,e,function(Y,L){Y?A(Y):A(null,L,Q)});var K=new Error("Cannot find module '"+N+"' from '"+y+"'");K.code="MODULE_NOT_FOUND",A(K)}})}}function T(M,$,H){M?A(M):$?A(null,$,H):k(m,function(Q,K,Y){if(Q)A(Q);else if(K)Di(i,K,e,function(D,_){D?A(D):A(null,_,Y)});else{var L=new Error("Cannot find module '"+N+"' from '"+y+"'");L.code="MODULE_NOT_FOUND",A(L)}})}function C(M,$,H){var Q=$,K=H;typeof Q=="function"&&(K=Q,Q=void 0);var Y=[""].concat(h);L(Y,M,Q);function L(D,_,F){if(D.length===0)return K(null,void 0,F);var R=_+D[0],W=F;W?J(null,W):v(xt.dirname(R),J);function J(re,ae,de){if(W=ae,re)return K(re);if(de&&W&&e.pathFilter){var he=xt.relative(de,R),De=he.slice(0,he.length-D[0].length),Te=e.pathFilter(W,_,De);if(Te)return L([""].concat(h.slice()),xt.resolve(de,Te),W)}n(R,ne)}function ne(re,ae){if(re)return K(re);if(ae)return K(null,R,W);L(D.slice(1),_,W)}}}function v(M,$){if(M===""||M==="/"||process.platform==="win32"&&/^\w:[/\\]*$/.test(M)||/[/\\]node_modules[/\\]*$/.test(M))return $(null);Di(i,M,e,function(H,Q){if(H)return v(xt.dirname(M),$);var K=xt.join(Q,"package.json");n(K,function(Y,L){if(!L)return v(xt.dirname(M),$);a(r,K,function(D,_){D&&$(D);var F=_;F&&e.packageFilter&&(F=e.packageFilter(F,K)),$(null,F,M)})})})}function k(M,$,H){var Q=H,K=$;typeof K=="function"&&(Q=K,K=e.package),Di(i,M,e,function(Y,L){if(Y)return Q(Y);var D=xt.join(L,"package.json");n(D,function(_,F){if(_)return Q(_);if(!F)return C(xt.join(M,"index"),K,Q);a(r,D,function(R,W){if(R)return Q(R);var J=W;if(J&&e.packageFilter&&(J=e.packageFilter(J,D)),J&&J.main){if(typeof J.main!="string"){var ne=new TypeError("package \u201C"+J.name+"\u201D `main` must be a string");return ne.code="INVALID_PACKAGE_MAIN",Q(ne)}(J.main==="."||J.main==="./")&&(J.main="index"),C(xt.resolve(M,J.main),J,function(re,ae,de){if(re)return Q(re);if(ae)return Q(null,ae,de);if(!de)return C(xt.join(M,"index"),de,Q);var he=xt.resolve(M,de.main);k(he,de,function(De,Te,Ce){if(De)return Q(De);if(Te)return Q(null,Te,Ce);C(xt.join(M,"index"),Ce,Q)})});return}C(xt.join(M,"/index"),J,Q)})})})}function O(M,$){if($.length===0)return M(null,void 0);var H=$[0];t(xt.dirname(H),Q);function Q(L,D){if(L)return M(L);if(!D)return O(M,$.slice(1));C(H,e.package,K)}function K(L,D,_){if(L)return M(L);if(D)return M(null,D,_);k(H,e.package,Y)}function Y(L,D,_){if(L)return M(L);if(D)return M(null,D,_);O(M,$.slice(1))}}function x(M,$,H){var Q=function(){return $b(M,$,e)};O(H,f?f(M,$,Q,e):Q())}}});var Ld=_chunkCDIW2WTIjs.b.call(void 0, (lS,Ub)=>{Ub.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"node:test":">= 18",timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:">= 13.4 && < 13.5",worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}});var Bd=_chunkCDIW2WTIjs.b.call(void 0, (uS,Md)=>{var Vb=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function Gb(P){for(var N=P.split(" "),j=N.length>1?N[0]:"=",X=(N.length>1?N[1]:N[0]).split("."),A=0;A<3;++A){var e=parseInt(Vb[A]||0,10),c=parseInt(X[A]||0,10);if(e!==c)return j==="<"?e<c:j===">="?e>=c:!1}return j===">="}function Fd(P){var N=P.split(/ ?&& ?/);if(N.length===0)return!1;for(var j=0;j<N.length;++j)if(!Gb(N[j]))return!1;return!0}function Wb(P){if(typeof P=="boolean")return P;if(P&&typeof P=="object"){for(var N=0;N<P.length;++N)if(Fd(P[N]))return!0;return!1}return Fd(P)}var to=Ld(),kd={};for(ws in to)Object.prototype.hasOwnProperty.call(to,ws)&&(kd[ws]=Wb(to[ws]));var ws;Md.exports=kd});var Ud=_chunkCDIW2WTIjs.b.call(void 0, (cS,$d)=>{var Kb=Cs();$d.exports=function(N){return Kb(N)}});var Wd=_chunkCDIW2WTIjs.b.call(void 0, (dS,Gd)=>{var Xb=Cs(),Dn=_chunkCDIW2WTIjs.a.call(void 0, "fs"),Xt=_chunkCDIW2WTIjs.a.call(void 0, "path"),Yb=Ha(),Hb=Ja(),Jb=Qa(),zb=Za(),qb=process.platform!=="win32"&&Dn.realpathSync&&typeof Dn.realpathSync.native=="function"?Dn.realpathSync.native:Dn.realpathSync,Vd=Yb(),Qb=function(){return[Xt.join(Vd,".node_modules"),Xt.join(Vd,".node_libraries")]},Zb=function(N){try{var j=Dn.statSync(N,{throwIfNoEntry:!1})}catch(X){if(X&&(X.code==="ENOENT"||X.code==="ENOTDIR"))return!1;throw X}return!!j&&(j.isFile()||j.isFIFO())},e0=function(N){try{var j=Dn.statSync(N,{throwIfNoEntry:!1})}catch(X){if(X&&(X.code==="ENOENT"||X.code==="ENOTDIR"))return!1;throw X}return!!j&&j.isDirectory()},t0=function(N){try{return qb(N)}catch(j){if(j.code!=="ENOENT")throw j}return N},Oi=function(N,j,X){return X&&X.preserveSymlinks===!1?N(j):j},r0=function(N,j){var X=N(j);try{var A=JSON.parse(X);return A}catch (e87){}},n0=function(N,j,X){for(var A=Jb(j,X,N),e=0;e<A.length;e++)A[e]=Xt.join(A[e],N);return A};Gd.exports=function(N,j){if(typeof N!="string")throw new TypeError("Path must be a string.");var X=zb(N,j),A=X.isFile||Zb,e=X.readFileSync||Dn.readFileSync,c=X.isDirectory||e0,n=X.realpathSync||t0,t=X.readPackageSync||r0;if(X.readFileSync&&X.readPackageSync)throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.");var r=X.packageIterator,i=X.extensions||[".js"],a=X.includeCoreModules!==!1,u=X.basedir||Xt.dirname(Hb()),f=X.filename||u;X.paths=X.paths||Qb();var h=Oi(n,Xt.resolve(u),X);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(N)){var p=Xt.resolve(h,N);(N==="."||N===".."||N.slice(-1)==="/")&&(p+="/");var o=m(p)||T(p);if(o)return Oi(n,o,X)}else{if(a&&Xb(N))return N;var y=C(N,h);if(y)return Oi(n,y,X)}var d=new Error("Cannot find module '"+N+"' from '"+f+"'");throw d.code="MODULE_NOT_FOUND",d;function m(v){var k=S(Xt.dirname(v));if(k&&k.dir&&k.pkg&&X.pathFilter){var O=Xt.relative(k.dir,v),x=X.pathFilter(k.pkg,v,O);x&&(v=Xt.resolve(k.dir,x))}if(A(v))return v;for(var M=0;M<i.length;M++){var $=v+i[M];if(A($))return $}}function S(v){if(!(v===""||v==="/")&&!(process.platform==="win32"&&/^\w:[/\\]*$/.test(v))&&!/[/\\]node_modules[/\\]*$/.test(v)){var k=Xt.join(Oi(n,v,X),"package.json");if(!A(k))return S(Xt.dirname(v));var O=t(e,k);return O&&X.packageFilter&&(O=X.packageFilter(O,v)),{pkg:O,dir:v}}}function T(v){var k=Xt.join(Oi(n,v,X),"/package.json");if(A(k)){try{var O=t(e,k)}catch (e88){}if(O&&X.packageFilter&&(O=X.packageFilter(O,v)),O&&O.main){if(typeof O.main!="string"){var x=new TypeError("package \u201C"+O.name+"\u201D `main` must be a string");throw x.code="INVALID_PACKAGE_MAIN",x}(O.main==="."||O.main==="./")&&(O.main="index");try{var M=m(Xt.resolve(v,O.main));if(M)return M;var $=T(Xt.resolve(v,O.main));if($)return $}catch (e89){}}}return m(Xt.join(v,"/index"))}function C(v,k){for(var O=function(){return n0(v,k,X)},x=r?r(v,k,O,X):O(),M=0;M<x.length;M++){var $=x[M];if(c(Xt.dirname($))){var H=m($);if(H)return H;var Q=T($);if(Q)return Q}}}}});var Xd=_chunkCDIW2WTIjs.b.call(void 0, (pS,Kd)=>{var Ds=Rd();Ds.core=Bd();Ds.isCore=Ud();Ds.sync=Wd();Kd.exports=Ds});var tp=_chunkCDIW2WTIjs.b.call(void 0, (OS,io)=>{var f0=_chunkCDIW2WTIjs.a.call(void 0, "tty"),h0=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||f0.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env),Pt=(P,N,j=P)=>X=>{let A=""+X,e=A.indexOf(N,P.length);return~e?P+Zd(A,N,j,e)+N:P+A+N},Zd=(P,N,j,X)=>{let A=P.substring(0,X)+j,e=P.substring(X+N.length),c=e.indexOf(N);return~c?A+Zd(e,N,j,c):A+e},ep=(P=h0)=>({isColorSupported:P,reset:P?N=>`\x1B[0m${N}\x1B[0m`:String,bold:P?Pt("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"):String,dim:P?Pt("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"):String,italic:P?Pt("\x1B[3m","\x1B[23m"):String,underline:P?Pt("\x1B[4m","\x1B[24m"):String,inverse:P?Pt("\x1B[7m","\x1B[27m"):String,hidden:P?Pt("\x1B[8m","\x1B[28m"):String,strikethrough:P?Pt("\x1B[9m","\x1B[29m"):String,black:P?Pt("\x1B[30m","\x1B[39m"):String,red:P?Pt("\x1B[31m","\x1B[39m"):String,green:P?Pt("\x1B[32m","\x1B[39m"):String,yellow:P?Pt("\x1B[33m","\x1B[39m"):String,blue:P?Pt("\x1B[34m","\x1B[39m"):String,magenta:P?Pt("\x1B[35m","\x1B[39m"):String,cyan:P?Pt("\x1B[36m","\x1B[39m"):String,white:P?Pt("\x1B[37m","\x1B[39m"):String,gray:P?Pt("\x1B[90m","\x1B[39m"):String,bgBlack:P?Pt("\x1B[40m","\x1B[49m"):String,bgRed:P?Pt("\x1B[41m","\x1B[49m"):String,bgGreen:P?Pt("\x1B[42m","\x1B[49m"):String,bgYellow:P?Pt("\x1B[43m","\x1B[49m"):String,bgBlue:P?Pt("\x1B[44m","\x1B[49m"):String,bgMagenta:P?Pt("\x1B[45m","\x1B[49m"):String,bgCyan:P?Pt("\x1B[46m","\x1B[49m"):String,bgWhite:P?Pt("\x1B[47m","\x1B[49m"):String});io.exports=ep();io.exports.createColors=ep});var np=_chunkCDIW2WTIjs.b.call(void 0, (_S,rp)=>{var Jn=1e3,zn=Jn*60,qn=zn*60,On=qn*24,m0=On*7,y0=On*365.25;rp.exports=function(P,N){N=N||{};var j=typeof P;if(j==="string"&&P.length>0)return g0(P);if(j==="number"&&isFinite(P))return N.long?E0(P):b0(P);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(P))};function g0(P){if(P=String(P),!(P.length>100)){var N=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(P);if(!!N){var j=parseFloat(N[1]),X=(N[2]||"ms").toLowerCase();switch(X){case"years":case"year":case"yrs":case"yr":case"y":return j*y0;case"weeks":case"week":case"w":return j*m0;case"days":case"day":case"d":return j*On;case"hours":case"hour":case"hrs":case"hr":case"h":return j*qn;case"minutes":case"minute":case"mins":case"min":case"m":return j*zn;case"seconds":case"second":case"secs":case"sec":case"s":return j*Jn;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return j;default:return}}}}function b0(P){var N=Math.abs(P);return N>=On?Math.round(P/On)+"d":N>=qn?Math.round(P/qn)+"h":N>=zn?Math.round(P/zn)+"m":N>=Jn?Math.round(P/Jn)+"s":P+"ms"}function E0(P){var N=Math.abs(P);return N>=On?_s(P,N,On,"day"):N>=qn?_s(P,N,qn,"hour"):N>=zn?_s(P,N,zn,"minute"):N>=Jn?_s(P,N,Jn,"second"):P+" ms"}function _s(P,N,j,X){var A=N>=j*1.5;return Math.round(P/j)+" "+X+(A?"s":"")}});var so=_chunkCDIW2WTIjs.b.call(void 0, (IS,ip)=>{function v0(P){j.debug=j,j.default=j,j.coerce=t,j.disable=e,j.enable=A,j.enabled=c,j.humanize=np(),j.destroy=r,Object.keys(P).forEach(i=>{j[i]=P[i]}),j.names=[],j.skips=[],j.formatters={};function N(i){let a=0;for(let u=0;u<i.length;u++)a=(a<<5)-a+i.charCodeAt(u),a|=0;return j.colors[Math.abs(a)%j.colors.length]}j.selectColor=N;function j(i){let a,u=null,f,h;function p(...o){if(!p.enabled)return;let y=p,d=Number(new Date),m=d-(a||d);y.diff=m,y.prev=a,y.curr=d,a=d,o[0]=j.coerce(o[0]),typeof o[0]!="string"&&o.unshift("%O");let S=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,(C,v)=>{if(C==="%%")return"%";S++;let k=j.formatters[v];if(typeof k=="function"){let O=o[S];C=k.call(y,O),o.splice(S,1),S--}return C}),j.formatArgs.call(y,o),(y.log||j.log).apply(y,o)}return p.namespace=i,p.useColors=j.useColors(),p.color=j.selectColor(i),p.extend=X,p.destroy=j.destroy,Object.defineProperty(p,"enabled",{enumerable:!0,configurable:!1,get:()=>u!==null?u:(f!==j.namespaces&&(f=j.namespaces,h=j.enabled(i)),h),set:o=>{u=o}}),typeof j.init=="function"&&j.init(p),p}function X(i,a){let u=j(this.namespace+(typeof a>"u"?":":a)+i);return u.log=this.log,u}function A(i){j.save(i),j.namespaces=i,j.names=[],j.skips=[];let a,u=(typeof i=="string"?i:"").split(/[\s,]+/),f=u.length;for(a=0;a<f;a++)!u[a]||(i=u[a].replace(/\*/g,".*?"),i[0]==="-"?j.skips.push(new RegExp("^"+i.slice(1)+"$")):j.names.push(new RegExp("^"+i+"$")))}function e(){let i=[...j.names.map(n),...j.skips.map(n).map(a=>"-"+a)].join(",");return j.enable(""),i}function c(i){if(i[i.length-1]==="*")return!0;let a,u;for(a=0,u=j.skips.length;a<u;a++)if(j.skips[a].test(i))return!1;for(a=0,u=j.names.length;a<u;a++)if(j.names[a].test(i))return!0;return!1}function n(i){return i.toString().substring(2,i.toString().length-2).replace(/\.\*\?$/,"*")}function t(i){return i instanceof Error?i.stack||i.message:i}function r(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return j.enable(j.load()),j}ip.exports=v0});var sp=_chunkCDIW2WTIjs.b.call(void 0, (dr,Is)=>{dr.formatArgs=S0;dr.save=P0;dr.load=A0;dr.useColors=T0;dr.storage=C0();dr.destroy=(()=>{let P=!1;return()=>{P||(P=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();dr.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function T0(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function S0(P){if(P[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+P[0]+(this.useColors?"%c ":" ")+"+"+Is.exports.humanize(this.diff),!this.useColors)return;let N="color: "+this.color;P.splice(1,0,N,"color: inherit");let j=0,X=0;P[0].replace(/%[a-zA-Z%]/g,A=>{A!=="%%"&&(j++,A==="%c"&&(X=j))}),P.splice(X,0,N)}dr.log=console.debug||console.log||(()=>{});function P0(P){try{P?dr.storage.setItem("debug",P):dr.storage.removeItem("debug")}catch (e90){}}function A0(){let P;try{P=dr.storage.getItem("debug")}catch (e91){}return!P&&typeof process<"u"&&"env"in process&&(P=process.env.DEBUG),P}function C0(){try{return localStorage}catch (e92){}}Is.exports=so()(dr);var{formatters:w0}=Is.exports;w0.j=function(P){try{return JSON.stringify(P)}catch(N){return"[UnexpectedJSONParseError]: "+N.message}}});var op=_chunkCDIW2WTIjs.b.call(void 0, (NS,ap)=>{"use strict";ap.exports=(P,N)=>{N=N||process.argv;let j=P.startsWith("-")?"":P.length===1?"-":"--",X=N.indexOf(j+P),A=N.indexOf("--");return X!==-1&&(A===-1?!0:X<A)}});var up=_chunkCDIW2WTIjs.b.call(void 0, (xS,lp)=>{"use strict";var D0=_chunkCDIW2WTIjs.a.call(void 0, "os"),Ir=op(),Ht=process.env,Qn;Ir("no-color")||Ir("no-colors")||Ir("color=false")?Qn=!1:(Ir("color")||Ir("colors")||Ir("color=true")||Ir("color=always"))&&(Qn=!0);"FORCE_COLOR"in Ht&&(Qn=Ht.FORCE_COLOR.length===0||parseInt(Ht.FORCE_COLOR,10)!==0);function O0(P){return P===0?!1:{level:P,hasBasic:!0,has256:P>=2,has16m:P>=3}}function _0(P){if(Qn===!1)return 0;if(Ir("color=16m")||Ir("color=full")||Ir("color=truecolor"))return 3;if(Ir("color=256"))return 2;if(P&&!P.isTTY&&Qn!==!0)return 0;let N=Qn?1:0;if(process.platform==="win32"){let j=D0.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(j[0])>=10&&Number(j[2])>=10586?Number(j[2])>=14931?3:2:1}if("CI"in Ht)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(j=>j in Ht)||Ht.CI_NAME==="codeship"?1:N;if("TEAMCITY_VERSION"in Ht)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ht.TEAMCITY_VERSION)?1:0;if(Ht.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Ht){let j=parseInt((Ht.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ht.TERM_PROGRAM){case"iTerm.app":return j>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ht.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ht.TERM)||"COLORTERM"in Ht?1:(Ht.TERM==="dumb",N)}function ao(P){let N=_0(P);return O0(N)}lp.exports={supportsColor:ao,stdout:ao(process.stdout),stderr:ao(process.stderr)}});var dp=_chunkCDIW2WTIjs.b.call(void 0, (Gt,xs)=>{var I0=_chunkCDIW2WTIjs.a.call(void 0, "tty"),Ns=_chunkCDIW2WTIjs.a.call(void 0, "util");Gt.init=k0;Gt.log=R0;Gt.formatArgs=x0;Gt.save=L0;Gt.load=F0;Gt.useColors=N0;Gt.destroy=Ns.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Gt.colors=[6,2,3,4,5,1];try{let P=up();P&&(P.stderr||P).level>=2&&(Gt.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch (e93){}Gt.inspectOpts=Object.keys(process.env).filter(P=>/^debug_/i.test(P)).reduce((P,N)=>{let j=N.substring(6).toLowerCase().replace(/_([a-z])/g,(A,e)=>e.toUpperCase()),X=process.env[N];return/^(yes|on|true|enabled)$/i.test(X)?X=!0:/^(no|off|false|disabled)$/i.test(X)?X=!1:X==="null"?X=null:X=Number(X),P[j]=X,P},{});function N0(){return"colors"in Gt.inspectOpts?Boolean(Gt.inspectOpts.colors):I0.isatty(process.stderr.fd)}function x0(P){let{namespace:N,useColors:j}=this;if(j){let X=this.color,A="\x1B[3"+(X<8?X:"8;5;"+X),e=` ${A};1m${N} \x1B[0m`;P[0]=e+P[0].split(`
|
|
2230
|
+
`,Wa=(P,N)=>{let j=[],X="";typeof N=="string"?N={section:N,whitespace:!1}:(N=N||Object.create(null),N.whitespace=N.whitespace===!0);let A=N.whitespace?" = ":"=";for(let e of Object.keys(P)){let c=P[e];if(c&&Array.isArray(c))for(let n of c)X+=Yn(e+"[]")+A+Yn(n)+`
|
|
2231
|
+
`;else c&&typeof c=="object"?j.push(e):X+=Yn(e)+A+Yn(c)+Ga}N.section&&X.length&&(X="["+Yn(N.section)+"]"+Ga+X);for(let e of j){let c=td(e).join("\\."),n=(N.section?N.section+".":"")+c,{whitespace:t}=N,r=Wa(P[e],{section:n,whitespace:t});X.length&&r.length&&(X+=Ga),X+=r}return X},td=P=>P.replace(/\1/g,"LITERAL\\1LITERAL").replace(/\\\./g,"").split(/\./).map(N=>N.replace(/\1/g,"\\.").replace(/\2LITERAL\\1LITERAL\2/g,"")),ed=P=>{let N=Object.create(null),j=N,X=null,A=/^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i,e=P.split(/[\r\n]+/g);for(let n of e){if(!n||n.match(/^\s*[;#]/))continue;let t=n.match(A);if(!t)continue;if(t[1]!==void 0){if(X=Ps(t[1]),X==="__proto__"){j=Object.create(null);continue}j=N[X]=N[X]||Object.create(null);continue}let r=Ps(t[2]),i=r.length>2&&r.slice(-2)==="[]",a=i?r.slice(0,-2):r;if(a==="__proto__")continue;let u=t[3]?Ps(t[4]):!0,f=u==="true"||u==="false"||u==="null"?JSON.parse(u):u;i&&(Va.call(j,a)?Array.isArray(j[a])||(j[a]=[j[a]]):j[a]=[]),Array.isArray(j[a])?j[a].push(f):j[a]=f}let c=[];for(let n of Object.keys(N)){if(!Va.call(N,n)||typeof N[n]!="object"||Array.isArray(N[n]))continue;let t=td(n),r=N,i=t.pop(),a=i.replace(/\\\./g,".");for(let u of t)u!=="__proto__"&&((!Va.call(r,u)||typeof r[u]!="object")&&(r[u]=Object.create(null)),r=r[u]);r===N&&a===i||(r[a]=N[n],c.push(n))}for(let n of c)delete N[n];return N},rd=P=>P.charAt(0)==='"'&&P.slice(-1)==='"'||P.charAt(0)==="'"&&P.slice(-1)==="'",Yn=P=>typeof P!="string"||P.match(/[=\r\n]/)||P.match(/^\[/)||P.length>1&&rd(P)||P!==P.trim()?JSON.stringify(P):P.replace(/;/g,"\\;").replace(/#/g,"\\#"),Ps=(P,N)=>{if(P=(P||"").trim(),rd(P)){P.charAt(0)==="'"&&(P=P.substr(1,P.length-2));try{P=JSON.parse(P)}catch (e83){}}else{let j=!1,X="";for(let A=0,e=P.length;A<e;A++){let c=P.charAt(A);if(j)"\\;#".indexOf(c)!==-1?X+=c:X+="\\"+c,j=!1;else{if(";#".indexOf(c)!==-1)break;c==="\\"?j=!0:X+=c}}return j&&(X+="\\"),X.trim()}return P};nd.exports={parse:ed,decode:ed,stringify:Wa,encode:Wa,safe:Yn,unsafe:Ps}});var Xa=_chunkCDIW2WTIjs.b.call(void 0, Fr=>{"use strict";var Mt=_chunkCDIW2WTIjs.a.call(void 0, "path"),Ka=_chunkCDIW2WTIjs.a.call(void 0, "os"),As=_chunkCDIW2WTIjs.a.call(void 0, "fs"),ob=id(),Ci=process.platform==="win32",sd=P=>{try{return ob.parse(As.readFileSync(P,"utf8")).prefix}catch (e84){}},lb=()=>Object.keys(process.env).reduce((P,N)=>/^npm_config_prefix$/i.test(N)?process.env[N]:P,void 0),ub=()=>{if(Ci&&process.env.APPDATA)return Mt.join(process.env.APPDATA,"/npm/etc/npmrc");if(process.execPath.includes("/Cellar/node")){let P=process.execPath.slice(0,process.execPath.indexOf("/Cellar/node"));return Mt.join(P,"/lib/node_modules/npm/npmrc")}if(process.execPath.endsWith("/bin/node")){let P=Mt.dirname(Mt.dirname(process.execPath));return Mt.join(P,"/etc/npmrc")}},cb=()=>Ci?Mt.dirname(process.execPath):Mt.dirname(Mt.dirname(process.execPath)),db=()=>{let P=lb();if(P)return P;let N=sd(Mt.join(Ka.homedir(),".npmrc"));if(N)return N;if(process.env.PREFIX)return process.env.PREFIX;let j=sd(ub());return j||cb()},Ai=Mt.resolve(db()),ad=()=>{if(Ci&&process.env.LOCALAPPDATA){let P=Mt.join(process.env.LOCALAPPDATA,"Yarn");if(As.existsSync(P))return P}return!1},pb=()=>{if(process.env.PREFIX)return process.env.PREFIX;let P=ad();if(P)return P;let N=Mt.join(Ka.homedir(),".config/yarn");if(As.existsSync(N))return N;let j=Mt.join(Ka.homedir(),".yarn-config");return As.existsSync(j)?j:Ai};Fr.npm={};Fr.npm.prefix=Ai;Fr.npm.packages=Mt.join(Ai,Ci?"node_modules":"lib/node_modules");Fr.npm.binaries=Ci?Ai:Mt.join(Ai,"bin");var od=Mt.resolve(pb());Fr.yarn={};Fr.yarn.prefix=od;Fr.yarn.packages=Mt.join(od,ad()?"Data/global/node_modules":"global/node_modules");Fr.yarn.binaries=Mt.join(Fr.yarn.packages,".bin")});var ud=_chunkCDIW2WTIjs.b.call(void 0, (zT,ld)=>{"use strict";var Ya=_chunkCDIW2WTIjs.a.call(void 0, "path");ld.exports=(P,N)=>{let j=Ya.relative(N,P);return Boolean(j&&j!==".."&&!j.startsWith(`..${Ya.sep}`)&&j!==Ya.resolve(P))}});var fd=_chunkCDIW2WTIjs.b.call(void 0, (qT,pd)=>{"use strict";var fb=_chunkCDIW2WTIjs.a.call(void 0, "fs"),cd=Xa(),dd=ud();pd.exports=(()=>{try{return dd(__dirname,cd.yarn.packages)||dd(__dirname,fb.realpathSync(cd.npm.packages))}catch (e85){return!1}})()});var Ha=_chunkCDIW2WTIjs.b.call(void 0, (QT,hd)=>{"use strict";var hb=_chunkCDIW2WTIjs.a.call(void 0, "os");hd.exports=hb.homedir||function(){var N=process.env.HOME,j=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;return process.platform==="win32"?process.env.USERPROFILE||process.env.HOMEDRIVE+process.env.HOMEPATH||N||null:process.platform==="darwin"?N||(j?"/Users/"+j:null):process.platform==="linux"?N||(process.getuid()===0?"/root":j?"/home/"+j:null):N||null}});var Ja=_chunkCDIW2WTIjs.b.call(void 0, (ZT,md)=>{md.exports=function(){var P=Error.prepareStackTrace;Error.prepareStackTrace=function(j,X){return X};var N=new Error().stack;return Error.prepareStackTrace=P,N[2].getFileName()}});var yd=_chunkCDIW2WTIjs.b.call(void 0, (eS,wi)=>{"use strict";var mb=process.platform==="win32",yb=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/,za={};function gb(P){return yb.exec(P).slice(1)}za.parse=function(P){if(typeof P!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof P);var N=gb(P);if(!N||N.length!==5)throw new TypeError("Invalid path '"+P+"'");return{root:N[1],dir:N[0]===N[1]?N[0]:N[0].slice(0,-1),base:N[2],ext:N[4],name:N[3]}};var bb=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,qa={};function Eb(P){return bb.exec(P).slice(1)}qa.parse=function(P){if(typeof P!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof P);var N=Eb(P);if(!N||N.length!==5)throw new TypeError("Invalid path '"+P+"'");return{root:N[1],dir:N[0].slice(0,-1),base:N[2],ext:N[4],name:N[3]}};mb?wi.exports=za.parse:wi.exports=qa.parse;wi.exports.posix=qa.parse;wi.exports.win32=za.parse});var Qa=_chunkCDIW2WTIjs.b.call(void 0, (tS,vd)=>{var Ed=_chunkCDIW2WTIjs.a.call(void 0, "path"),gd=Ed.parse||yd(),bd=function(N,j){var X="/";/^([A-Za-z]:)/.test(N)?X="":/^\\\\/.test(N)&&(X="\\\\");for(var A=[N],e=gd(N);e.dir!==A[A.length-1];)A.push(e.dir),e=gd(e.dir);return A.reduce(function(c,n){return c.concat(j.map(function(t){return Ed.resolve(X,n,t)}))},[])};vd.exports=function(N,j,X){var A=j&&j.moduleDirectory?[].concat(j.moduleDirectory):["node_modules"];if(j&&typeof j.paths=="function")return j.paths(X,N,function(){return bd(N,A)},j);var e=bd(N,A);return j&&j.paths?e.concat(j.paths):e}});var Za=_chunkCDIW2WTIjs.b.call(void 0, (rS,Td)=>{Td.exports=function(P,N){return N||{}}});var Pd=_chunkCDIW2WTIjs.b.call(void 0, (nS,Sd)=>{"use strict";var vb="Function.prototype.bind called on incompatible ",eo=Array.prototype.slice,Tb=Object.prototype.toString,Sb="[object Function]";Sd.exports=function(N){var j=this;if(typeof j!="function"||Tb.call(j)!==Sb)throw new TypeError(vb+j);for(var X=eo.call(arguments,1),A,e=function(){if(this instanceof A){var i=j.apply(this,X.concat(eo.call(arguments)));return Object(i)===i?i:this}else return j.apply(N,X.concat(eo.call(arguments)))},c=Math.max(0,j.length-X.length),n=[],t=0;t<c;t++)n.push("$"+t);if(A=Function("binder","return function ("+n.join(",")+"){ return binder.apply(this,arguments); }")(e),j.prototype){var r=function(){};r.prototype=j.prototype,A.prototype=new r,r.prototype=null}return A}});var Cd=_chunkCDIW2WTIjs.b.call(void 0, (iS,Ad)=>{"use strict";var Pb=Pd();Ad.exports=Function.prototype.bind||Pb});var Dd=_chunkCDIW2WTIjs.b.call(void 0, (sS,wd)=>{"use strict";var Ab=Cd();wd.exports=Ab.call(Function.call,Object.prototype.hasOwnProperty)});var Od=_chunkCDIW2WTIjs.b.call(void 0, (aS,Cb)=>{Cb.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"node:test":">= 18",timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:">= 13.4 && < 13.5",worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}});var Cs=_chunkCDIW2WTIjs.b.call(void 0, (oS,Nd)=>{"use strict";var wb=Dd();function Db(P,N){for(var j=P.split("."),X=N.split(" "),A=X.length>1?X[0]:"=",e=(X.length>1?X[1]:X[0]).split("."),c=0;c<3;++c){var n=parseInt(j[c]||0,10),t=parseInt(e[c]||0,10);if(n!==t)return A==="<"?n<t:A===">="?n>=t:!1}return A===">="}function _d(P,N){var j=N.split(/ ?&& ?/);if(j.length===0)return!1;for(var X=0;X<j.length;++X)if(!Db(P,j[X]))return!1;return!0}function Ob(P,N){if(typeof N=="boolean")return N;var j=typeof P>"u"?process.versions&&process.versions.node:P;if(typeof j!="string")throw new TypeError(typeof P>"u"?"Unable to determine current node version":"If provided, a valid node version is required");if(N&&typeof N=="object"){for(var X=0;X<N.length;++X)if(_d(j,N[X]))return!0;return!1}return _d(j,N)}var Id=Od();Nd.exports=function(N,j){return wb(Id,N)&&Ob(j,Id[N])}});var Rd=_chunkCDIW2WTIjs.b.call(void 0, (lS,jd)=>{var wn=_chunkCDIW2WTIjs.a.call(void 0, "fs"),_b=Ha(),xt=_chunkCDIW2WTIjs.a.call(void 0, "path"),Ib=Ja(),Nb=Qa(),xb=Za(),jb=Cs(),Rb=process.platform!=="win32"&&wn.realpath&&typeof wn.realpath.native=="function"?wn.realpath.native:wn.realpath,xd=_b(),Lb=function(){return[xt.join(xd,".node_modules"),xt.join(xd,".node_libraries")]},Fb=function(N,j){wn.stat(N,function(X,A){return X?X.code==="ENOENT"||X.code==="ENOTDIR"?j(null,!1):j(X):j(null,A.isFile()||A.isFIFO())})},kb=function(N,j){wn.stat(N,function(X,A){return X?X.code==="ENOENT"||X.code==="ENOTDIR"?j(null,!1):j(X):j(null,A.isDirectory())})},Mb=function(N,j){Rb(N,function(X,A){X&&X.code!=="ENOENT"?j(X):j(null,X?N:A)})},Di=function(N,j,X,A){X&&X.preserveSymlinks===!1?N(j,A):A(null,j)},Bb=function(N,j,X){N(j,function(A,e){if(A)X(A);else try{var c=JSON.parse(e);X(null,c)}catch (e86){X(null)}})},$b=function(N,j,X){for(var A=Nb(j,X,N),e=0;e<A.length;e++)A[e]=xt.join(A[e],N);return A};jd.exports=function(N,j,X){var A=X,e=j;if(typeof j=="function"&&(A=e,e={}),typeof N!="string"){var c=new TypeError("Path must be a string.");return process.nextTick(function(){A(c)})}e=xb(N,e);var n=e.isFile||Fb,t=e.isDirectory||kb,r=e.readFile||wn.readFile,i=e.realpath||Mb,a=e.readPackage||Bb;if(e.readFile&&e.readPackage){var u=new TypeError("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick(function(){A(u)})}var f=e.packageIterator,h=e.extensions||[".js"],p=e.includeCoreModules!==!1,o=e.basedir||xt.dirname(Ib()),y=e.filename||o;e.paths=e.paths||Lb();var d=xt.resolve(o);Di(i,d,e,function(M,$){M?A(M):S($)});var m;function S(M){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(N))m=xt.resolve(M,N),(N==="."||N===".."||N.slice(-1)==="/")&&(m+="/"),/\/$/.test(N)&&m===M?k(m,e.package,T):C(m,e.package,T);else{if(p&&jb(N))return A(null,N);x(N,M,function($,H,Q){if($)A($);else{if(H)return Di(i,H,e,function(Y,L){Y?A(Y):A(null,L,Q)});var K=new Error("Cannot find module '"+N+"' from '"+y+"'");K.code="MODULE_NOT_FOUND",A(K)}})}}function T(M,$,H){M?A(M):$?A(null,$,H):k(m,function(Q,K,Y){if(Q)A(Q);else if(K)Di(i,K,e,function(D,_){D?A(D):A(null,_,Y)});else{var L=new Error("Cannot find module '"+N+"' from '"+y+"'");L.code="MODULE_NOT_FOUND",A(L)}})}function C(M,$,H){var Q=$,K=H;typeof Q=="function"&&(K=Q,Q=void 0);var Y=[""].concat(h);L(Y,M,Q);function L(D,_,F){if(D.length===0)return K(null,void 0,F);var R=_+D[0],W=F;W?J(null,W):v(xt.dirname(R),J);function J(re,ae,de){if(W=ae,re)return K(re);if(de&&W&&e.pathFilter){var he=xt.relative(de,R),De=he.slice(0,he.length-D[0].length),Te=e.pathFilter(W,_,De);if(Te)return L([""].concat(h.slice()),xt.resolve(de,Te),W)}n(R,ne)}function ne(re,ae){if(re)return K(re);if(ae)return K(null,R,W);L(D.slice(1),_,W)}}}function v(M,$){if(M===""||M==="/"||process.platform==="win32"&&/^\w:[/\\]*$/.test(M)||/[/\\]node_modules[/\\]*$/.test(M))return $(null);Di(i,M,e,function(H,Q){if(H)return v(xt.dirname(M),$);var K=xt.join(Q,"package.json");n(K,function(Y,L){if(!L)return v(xt.dirname(M),$);a(r,K,function(D,_){D&&$(D);var F=_;F&&e.packageFilter&&(F=e.packageFilter(F,K)),$(null,F,M)})})})}function k(M,$,H){var Q=H,K=$;typeof K=="function"&&(Q=K,K=e.package),Di(i,M,e,function(Y,L){if(Y)return Q(Y);var D=xt.join(L,"package.json");n(D,function(_,F){if(_)return Q(_);if(!F)return C(xt.join(M,"index"),K,Q);a(r,D,function(R,W){if(R)return Q(R);var J=W;if(J&&e.packageFilter&&(J=e.packageFilter(J,D)),J&&J.main){if(typeof J.main!="string"){var ne=new TypeError("package \u201C"+J.name+"\u201D `main` must be a string");return ne.code="INVALID_PACKAGE_MAIN",Q(ne)}(J.main==="."||J.main==="./")&&(J.main="index"),C(xt.resolve(M,J.main),J,function(re,ae,de){if(re)return Q(re);if(ae)return Q(null,ae,de);if(!de)return C(xt.join(M,"index"),de,Q);var he=xt.resolve(M,de.main);k(he,de,function(De,Te,Ce){if(De)return Q(De);if(Te)return Q(null,Te,Ce);C(xt.join(M,"index"),Ce,Q)})});return}C(xt.join(M,"/index"),J,Q)})})})}function O(M,$){if($.length===0)return M(null,void 0);var H=$[0];t(xt.dirname(H),Q);function Q(L,D){if(L)return M(L);if(!D)return O(M,$.slice(1));C(H,e.package,K)}function K(L,D,_){if(L)return M(L);if(D)return M(null,D,_);k(H,e.package,Y)}function Y(L,D,_){if(L)return M(L);if(D)return M(null,D,_);O(M,$.slice(1))}}function x(M,$,H){var Q=function(){return $b(M,$,e)};O(H,f?f(M,$,Q,e):Q())}}});var Ld=_chunkCDIW2WTIjs.b.call(void 0, (uS,Ub)=>{Ub.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"node:test":">= 18",timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:">= 13.4 && < 13.5",worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}});var Bd=_chunkCDIW2WTIjs.b.call(void 0, (cS,Md)=>{var Vb=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function Gb(P){for(var N=P.split(" "),j=N.length>1?N[0]:"=",X=(N.length>1?N[1]:N[0]).split("."),A=0;A<3;++A){var e=parseInt(Vb[A]||0,10),c=parseInt(X[A]||0,10);if(e!==c)return j==="<"?e<c:j===">="?e>=c:!1}return j===">="}function Fd(P){var N=P.split(/ ?&& ?/);if(N.length===0)return!1;for(var j=0;j<N.length;++j)if(!Gb(N[j]))return!1;return!0}function Wb(P){if(typeof P=="boolean")return P;if(P&&typeof P=="object"){for(var N=0;N<P.length;++N)if(Fd(P[N]))return!0;return!1}return Fd(P)}var to=Ld(),kd={};for(ws in to)Object.prototype.hasOwnProperty.call(to,ws)&&(kd[ws]=Wb(to[ws]));var ws;Md.exports=kd});var Ud=_chunkCDIW2WTIjs.b.call(void 0, (dS,$d)=>{var Kb=Cs();$d.exports=function(N){return Kb(N)}});var Wd=_chunkCDIW2WTIjs.b.call(void 0, (pS,Gd)=>{var Xb=Cs(),Dn=_chunkCDIW2WTIjs.a.call(void 0, "fs"),Xt=_chunkCDIW2WTIjs.a.call(void 0, "path"),Yb=Ha(),Hb=Ja(),Jb=Qa(),zb=Za(),qb=process.platform!=="win32"&&Dn.realpathSync&&typeof Dn.realpathSync.native=="function"?Dn.realpathSync.native:Dn.realpathSync,Vd=Yb(),Qb=function(){return[Xt.join(Vd,".node_modules"),Xt.join(Vd,".node_libraries")]},Zb=function(N){try{var j=Dn.statSync(N,{throwIfNoEntry:!1})}catch(X){if(X&&(X.code==="ENOENT"||X.code==="ENOTDIR"))return!1;throw X}return!!j&&(j.isFile()||j.isFIFO())},e0=function(N){try{var j=Dn.statSync(N,{throwIfNoEntry:!1})}catch(X){if(X&&(X.code==="ENOENT"||X.code==="ENOTDIR"))return!1;throw X}return!!j&&j.isDirectory()},t0=function(N){try{return qb(N)}catch(j){if(j.code!=="ENOENT")throw j}return N},Oi=function(N,j,X){return X&&X.preserveSymlinks===!1?N(j):j},r0=function(N,j){var X=N(j);try{var A=JSON.parse(X);return A}catch (e87){}},n0=function(N,j,X){for(var A=Jb(j,X,N),e=0;e<A.length;e++)A[e]=Xt.join(A[e],N);return A};Gd.exports=function(N,j){if(typeof N!="string")throw new TypeError("Path must be a string.");var X=zb(N,j),A=X.isFile||Zb,e=X.readFileSync||Dn.readFileSync,c=X.isDirectory||e0,n=X.realpathSync||t0,t=X.readPackageSync||r0;if(X.readFileSync&&X.readPackageSync)throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.");var r=X.packageIterator,i=X.extensions||[".js"],a=X.includeCoreModules!==!1,u=X.basedir||Xt.dirname(Hb()),f=X.filename||u;X.paths=X.paths||Qb();var h=Oi(n,Xt.resolve(u),X);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(N)){var p=Xt.resolve(h,N);(N==="."||N===".."||N.slice(-1)==="/")&&(p+="/");var o=m(p)||T(p);if(o)return Oi(n,o,X)}else{if(a&&Xb(N))return N;var y=C(N,h);if(y)return Oi(n,y,X)}var d=new Error("Cannot find module '"+N+"' from '"+f+"'");throw d.code="MODULE_NOT_FOUND",d;function m(v){var k=S(Xt.dirname(v));if(k&&k.dir&&k.pkg&&X.pathFilter){var O=Xt.relative(k.dir,v),x=X.pathFilter(k.pkg,v,O);x&&(v=Xt.resolve(k.dir,x))}if(A(v))return v;for(var M=0;M<i.length;M++){var $=v+i[M];if(A($))return $}}function S(v){if(!(v===""||v==="/")&&!(process.platform==="win32"&&/^\w:[/\\]*$/.test(v))&&!/[/\\]node_modules[/\\]*$/.test(v)){var k=Xt.join(Oi(n,v,X),"package.json");if(!A(k))return S(Xt.dirname(v));var O=t(e,k);return O&&X.packageFilter&&(O=X.packageFilter(O,v)),{pkg:O,dir:v}}}function T(v){var k=Xt.join(Oi(n,v,X),"/package.json");if(A(k)){try{var O=t(e,k)}catch (e88){}if(O&&X.packageFilter&&(O=X.packageFilter(O,v)),O&&O.main){if(typeof O.main!="string"){var x=new TypeError("package \u201C"+O.name+"\u201D `main` must be a string");throw x.code="INVALID_PACKAGE_MAIN",x}(O.main==="."||O.main==="./")&&(O.main="index");try{var M=m(Xt.resolve(v,O.main));if(M)return M;var $=T(Xt.resolve(v,O.main));if($)return $}catch (e89){}}}return m(Xt.join(v,"/index"))}function C(v,k){for(var O=function(){return n0(v,k,X)},x=r?r(v,k,O,X):O(),M=0;M<x.length;M++){var $=x[M];if(c(Xt.dirname($))){var H=m($);if(H)return H;var Q=T($);if(Q)return Q}}}}});var Xd=_chunkCDIW2WTIjs.b.call(void 0, (fS,Kd)=>{var Ds=Rd();Ds.core=Bd();Ds.isCore=Ud();Ds.sync=Wd();Kd.exports=Ds});var tp=_chunkCDIW2WTIjs.b.call(void 0, (_S,io)=>{var f0=_chunkCDIW2WTIjs.a.call(void 0, "tty"),h0=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||f0.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env),Pt=(P,N,j=P)=>X=>{let A=""+X,e=A.indexOf(N,P.length);return~e?P+Zd(A,N,j,e)+N:P+A+N},Zd=(P,N,j,X)=>{let A=P.substring(0,X)+j,e=P.substring(X+N.length),c=e.indexOf(N);return~c?A+Zd(e,N,j,c):A+e},ep=(P=h0)=>({isColorSupported:P,reset:P?N=>`\x1B[0m${N}\x1B[0m`:String,bold:P?Pt("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"):String,dim:P?Pt("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"):String,italic:P?Pt("\x1B[3m","\x1B[23m"):String,underline:P?Pt("\x1B[4m","\x1B[24m"):String,inverse:P?Pt("\x1B[7m","\x1B[27m"):String,hidden:P?Pt("\x1B[8m","\x1B[28m"):String,strikethrough:P?Pt("\x1B[9m","\x1B[29m"):String,black:P?Pt("\x1B[30m","\x1B[39m"):String,red:P?Pt("\x1B[31m","\x1B[39m"):String,green:P?Pt("\x1B[32m","\x1B[39m"):String,yellow:P?Pt("\x1B[33m","\x1B[39m"):String,blue:P?Pt("\x1B[34m","\x1B[39m"):String,magenta:P?Pt("\x1B[35m","\x1B[39m"):String,cyan:P?Pt("\x1B[36m","\x1B[39m"):String,white:P?Pt("\x1B[37m","\x1B[39m"):String,gray:P?Pt("\x1B[90m","\x1B[39m"):String,bgBlack:P?Pt("\x1B[40m","\x1B[49m"):String,bgRed:P?Pt("\x1B[41m","\x1B[49m"):String,bgGreen:P?Pt("\x1B[42m","\x1B[49m"):String,bgYellow:P?Pt("\x1B[43m","\x1B[49m"):String,bgBlue:P?Pt("\x1B[44m","\x1B[49m"):String,bgMagenta:P?Pt("\x1B[45m","\x1B[49m"):String,bgCyan:P?Pt("\x1B[46m","\x1B[49m"):String,bgWhite:P?Pt("\x1B[47m","\x1B[49m"):String});io.exports=ep();io.exports.createColors=ep});var np=_chunkCDIW2WTIjs.b.call(void 0, (IS,rp)=>{var Hn=1e3,Jn=Hn*60,zn=Jn*60,On=zn*24,m0=On*7,y0=On*365.25;rp.exports=function(P,N){N=N||{};var j=typeof P;if(j==="string"&&P.length>0)return g0(P);if(j==="number"&&isFinite(P))return N.long?E0(P):b0(P);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(P))};function g0(P){if(P=String(P),!(P.length>100)){var N=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(P);if(!!N){var j=parseFloat(N[1]),X=(N[2]||"ms").toLowerCase();switch(X){case"years":case"year":case"yrs":case"yr":case"y":return j*y0;case"weeks":case"week":case"w":return j*m0;case"days":case"day":case"d":return j*On;case"hours":case"hour":case"hrs":case"hr":case"h":return j*zn;case"minutes":case"minute":case"mins":case"min":case"m":return j*Jn;case"seconds":case"second":case"secs":case"sec":case"s":return j*Hn;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return j;default:return}}}}function b0(P){var N=Math.abs(P);return N>=On?Math.round(P/On)+"d":N>=zn?Math.round(P/zn)+"h":N>=Jn?Math.round(P/Jn)+"m":N>=Hn?Math.round(P/Hn)+"s":P+"ms"}function E0(P){var N=Math.abs(P);return N>=On?_s(P,N,On,"day"):N>=zn?_s(P,N,zn,"hour"):N>=Jn?_s(P,N,Jn,"minute"):N>=Hn?_s(P,N,Hn,"second"):P+" ms"}function _s(P,N,j,X){var A=N>=j*1.5;return Math.round(P/j)+" "+X+(A?"s":"")}});var so=_chunkCDIW2WTIjs.b.call(void 0, (NS,ip)=>{function v0(P){j.debug=j,j.default=j,j.coerce=t,j.disable=e,j.enable=A,j.enabled=c,j.humanize=np(),j.destroy=r,Object.keys(P).forEach(i=>{j[i]=P[i]}),j.names=[],j.skips=[],j.formatters={};function N(i){let a=0;for(let u=0;u<i.length;u++)a=(a<<5)-a+i.charCodeAt(u),a|=0;return j.colors[Math.abs(a)%j.colors.length]}j.selectColor=N;function j(i){let a,u=null,f,h;function p(...o){if(!p.enabled)return;let y=p,d=Number(new Date),m=d-(a||d);y.diff=m,y.prev=a,y.curr=d,a=d,o[0]=j.coerce(o[0]),typeof o[0]!="string"&&o.unshift("%O");let S=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,(C,v)=>{if(C==="%%")return"%";S++;let k=j.formatters[v];if(typeof k=="function"){let O=o[S];C=k.call(y,O),o.splice(S,1),S--}return C}),j.formatArgs.call(y,o),(y.log||j.log).apply(y,o)}return p.namespace=i,p.useColors=j.useColors(),p.color=j.selectColor(i),p.extend=X,p.destroy=j.destroy,Object.defineProperty(p,"enabled",{enumerable:!0,configurable:!1,get:()=>u!==null?u:(f!==j.namespaces&&(f=j.namespaces,h=j.enabled(i)),h),set:o=>{u=o}}),typeof j.init=="function"&&j.init(p),p}function X(i,a){let u=j(this.namespace+(typeof a>"u"?":":a)+i);return u.log=this.log,u}function A(i){j.save(i),j.namespaces=i,j.names=[],j.skips=[];let a,u=(typeof i=="string"?i:"").split(/[\s,]+/),f=u.length;for(a=0;a<f;a++)!u[a]||(i=u[a].replace(/\*/g,".*?"),i[0]==="-"?j.skips.push(new RegExp("^"+i.slice(1)+"$")):j.names.push(new RegExp("^"+i+"$")))}function e(){let i=[...j.names.map(n),...j.skips.map(n).map(a=>"-"+a)].join(",");return j.enable(""),i}function c(i){if(i[i.length-1]==="*")return!0;let a,u;for(a=0,u=j.skips.length;a<u;a++)if(j.skips[a].test(i))return!1;for(a=0,u=j.names.length;a<u;a++)if(j.names[a].test(i))return!0;return!1}function n(i){return i.toString().substring(2,i.toString().length-2).replace(/\.\*\?$/,"*")}function t(i){return i instanceof Error?i.stack||i.message:i}function r(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return j.enable(j.load()),j}ip.exports=v0});var sp=_chunkCDIW2WTIjs.b.call(void 0, (dr,Is)=>{dr.formatArgs=S0;dr.save=P0;dr.load=A0;dr.useColors=T0;dr.storage=C0();dr.destroy=(()=>{let P=!1;return()=>{P||(P=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();dr.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function T0(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function S0(P){if(P[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+P[0]+(this.useColors?"%c ":" ")+"+"+Is.exports.humanize(this.diff),!this.useColors)return;let N="color: "+this.color;P.splice(1,0,N,"color: inherit");let j=0,X=0;P[0].replace(/%[a-zA-Z%]/g,A=>{A!=="%%"&&(j++,A==="%c"&&(X=j))}),P.splice(X,0,N)}dr.log=console.debug||console.log||(()=>{});function P0(P){try{P?dr.storage.setItem("debug",P):dr.storage.removeItem("debug")}catch (e90){}}function A0(){let P;try{P=dr.storage.getItem("debug")}catch (e91){}return!P&&typeof process<"u"&&"env"in process&&(P=process.env.DEBUG),P}function C0(){try{return localStorage}catch (e92){}}Is.exports=so()(dr);var{formatters:w0}=Is.exports;w0.j=function(P){try{return JSON.stringify(P)}catch(N){return"[UnexpectedJSONParseError]: "+N.message}}});var op=_chunkCDIW2WTIjs.b.call(void 0, (xS,ap)=>{"use strict";ap.exports=(P,N)=>{N=N||process.argv;let j=P.startsWith("-")?"":P.length===1?"-":"--",X=N.indexOf(j+P),A=N.indexOf("--");return X!==-1&&(A===-1?!0:X<A)}});var up=_chunkCDIW2WTIjs.b.call(void 0, (jS,lp)=>{"use strict";var D0=_chunkCDIW2WTIjs.a.call(void 0, "os"),Ir=op(),Ht=process.env,qn;Ir("no-color")||Ir("no-colors")||Ir("color=false")?qn=!1:(Ir("color")||Ir("colors")||Ir("color=true")||Ir("color=always"))&&(qn=!0);"FORCE_COLOR"in Ht&&(qn=Ht.FORCE_COLOR.length===0||parseInt(Ht.FORCE_COLOR,10)!==0);function O0(P){return P===0?!1:{level:P,hasBasic:!0,has256:P>=2,has16m:P>=3}}function _0(P){if(qn===!1)return 0;if(Ir("color=16m")||Ir("color=full")||Ir("color=truecolor"))return 3;if(Ir("color=256"))return 2;if(P&&!P.isTTY&&qn!==!0)return 0;let N=qn?1:0;if(process.platform==="win32"){let j=D0.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(j[0])>=10&&Number(j[2])>=10586?Number(j[2])>=14931?3:2:1}if("CI"in Ht)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(j=>j in Ht)||Ht.CI_NAME==="codeship"?1:N;if("TEAMCITY_VERSION"in Ht)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ht.TEAMCITY_VERSION)?1:0;if(Ht.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Ht){let j=parseInt((Ht.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ht.TERM_PROGRAM){case"iTerm.app":return j>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ht.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ht.TERM)||"COLORTERM"in Ht?1:(Ht.TERM==="dumb",N)}function ao(P){let N=_0(P);return O0(N)}lp.exports={supportsColor:ao,stdout:ao(process.stdout),stderr:ao(process.stderr)}});var dp=_chunkCDIW2WTIjs.b.call(void 0, (Gt,xs)=>{var I0=_chunkCDIW2WTIjs.a.call(void 0, "tty"),Ns=_chunkCDIW2WTIjs.a.call(void 0, "util");Gt.init=k0;Gt.log=R0;Gt.formatArgs=x0;Gt.save=L0;Gt.load=F0;Gt.useColors=N0;Gt.destroy=Ns.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Gt.colors=[6,2,3,4,5,1];try{let P=up();P&&(P.stderr||P).level>=2&&(Gt.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch (e93){}Gt.inspectOpts=Object.keys(process.env).filter(P=>/^debug_/i.test(P)).reduce((P,N)=>{let j=N.substring(6).toLowerCase().replace(/_([a-z])/g,(A,e)=>e.toUpperCase()),X=process.env[N];return/^(yes|on|true|enabled)$/i.test(X)?X=!0:/^(no|off|false|disabled)$/i.test(X)?X=!1:X==="null"?X=null:X=Number(X),P[j]=X,P},{});function N0(){return"colors"in Gt.inspectOpts?Boolean(Gt.inspectOpts.colors):I0.isatty(process.stderr.fd)}function x0(P){let{namespace:N,useColors:j}=this;if(j){let X=this.color,A="\x1B[3"+(X<8?X:"8;5;"+X),e=` ${A};1m${N} \x1B[0m`;P[0]=e+P[0].split(`
|
|
2232
2232
|
`).join(`
|
|
2233
2233
|
`+e),P.push(A+"m+"+xs.exports.humanize(this.diff)+"\x1B[0m")}else P[0]=j0()+N+" "+P[0]}function j0(){return Gt.inspectOpts.hideDate?"":new Date().toISOString()+" "}function R0(...P){return process.stderr.write(Ns.format(...P)+`
|
|
2234
2234
|
`)}function L0(P){P?process.env.DEBUG=P:delete process.env.DEBUG}function F0(){return process.env.DEBUG}function k0(P){P.inspectOpts={};let N=Object.keys(Gt.inspectOpts);for(let j=0;j<N.length;j++)P.inspectOpts[N[j]]=Gt.inspectOpts[N[j]]}xs.exports=so()(Gt);var{formatters:cp}=xs.exports;cp.o=function(P){return this.inspectOpts.colors=this.useColors,Ns.inspect(P,this.inspectOpts).split(`
|
|
2235
|
-
`).map(N=>N.trim()).join(" ")};cp.O=function(P){return this.inspectOpts.colors=this.useColors,Ns.inspect(P,this.inspectOpts)}});var pp=_chunkCDIW2WTIjs.b.call(void 0, (
|
|
2235
|
+
`).map(N=>N.trim()).join(" ")};cp.O=function(P){return this.inspectOpts.colors=this.useColors,Ns.inspect(P,this.inspectOpts)}});var pp=_chunkCDIW2WTIjs.b.call(void 0, (RS,oo)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?oo.exports=sp():oo.exports=dp()});var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);var _unconfig = require('unconfig');function ya(P){return P!==null&&typeof P=="object"}function ga(P,N,j=".",X){if(!ya(N))return ga(P,{},j,X);let A=Object.assign({},N);for(let e in P){if(e==="__proto__"||e==="constructor")continue;let c=P[e];c!=null&&(X&&X(A,e,c,j)||(Array.isArray(c)&&Array.isArray(A[e])?A[e]=c.concat(A[e]):ya(c)&&ya(A[e])?A[e]=ga(c,A[e],(j?`${j}.`:"")+e.toString(),X):A[e]=c))}return A}function ba(P){return(...N)=>N.reduce((j,X)=>ga(j,X,"",P),{})}var di=ba(),xE=ba((P,N,j,X)=>{if(typeof P[N]<"u"&&typeof j=="function")return P[N]=j(P[N]),!0}),jE=ba((P,N,j,X)=>{if(Array.isArray(P[N])&&typeof j=="function")return P[N]=j(P[N]),!0});var _utils = require('@antfu/utils');var cm={url:"/",lang:"en",title:"Valaxy Blog",description:"A blog generated by Valaxy.",subtitle:"Next Generation Static Blog Framework.",author:{avatar:"https://cdn.jsdelivr.net/gh/YunYouJun/yun/images/meme/yun-good-with-bg.jpg",email:"me@yunyoujun.cn",link:"https://www.yunyoujun.cn",name:"YunYouJun",status:{emoji:"\u{1F60A}",message:"All at sea."}},favicon:"/favicon.svg",feed:{name:"",favicon:"/favicon.svg"},social:[],lastUpdated:!0,license:{enabled:!0,language:"",type:"by-nc-sa"},sponsor:{enable:!0,title:"\u6211\u5F88\u53EF\u7231\uFF0C\u8BF7\u7ED9\u6211\u94B1",methods:[]},search:{enable:!0,algolia:{enable:!1,appId:"",apiKey:"",indexName:""}},comment:{enable:!1,waline:{enable:!1,serverURL:""},twikoo:{enable:!1,envId:"https://twikoo.vercel.app"}},features:{katex:!0},theme:"yun",themeConfig:{pkg:{name:"",version:""}},markdownIt:{toc:{includeLevel:[1,2,3,4],listType:"ol"},katex:{}}};async function gl(P={}){let{config:N,sources:j}=await _unconfig.loadConfig.call(void 0, {sources:[{files:"valaxy.config",extensions:["ts","js","mjs","cjs","json"]}],merge:!1}),X=j[0],A=di(N,cm),e=P.theme||A.theme||"yun";try{let{defaultThemeConfig:c}=await Promise.resolve().then(() => require(`valaxy-theme-${e}`));A.themeConfig=di(A.themeConfig,c)}catch (e94){console.error(`valaxy-theme-${e} doesn't have default config`)}try{let c=_fs2.default.readFileSync(_chunkCDIW2WTIjs.a.resolve(`valaxy-theme-${e}/package.json`),"utf-8");A.themeConfig.pkg=JSON.parse(c)}catch (e95){console.error(`valaxy-theme-${e} doesn't have package.json`)}return A.url=_utils.ensureSuffix.call(void 0, "/",A.url),{config:A,configFile:X,theme:e}}var _path = require('path'); var _path2 = _interopRequireDefault(_path);var _vite = require('vite');async function El({userRoot:P,themeRoot:N},j,X,A){let e={mode:"development",command:A},c=_utils.uniq.call(void 0, [P,N]).map(n=>_path.join.call(void 0, n,"vite.config.ts"));for await(let n of c){if(!_fs.existsSync.call(void 0, n))continue;let t=await _vite.loadConfigFromFile.call(void 0, e,n);!(t!=null&&t.config)||(X=_vite.mergeConfig.call(void 0, X,t.config))}return _vite.mergeConfig.call(void 0, j,X)}var _consola = require('consola'); var _consola2 = _interopRequireDefault(_consola);var _markdownit = require('markdown-it'); var _markdownit2 = _interopRequireDefault(_markdownit);var _graymatter = require('gray-matter'); var _graymatter2 = _interopRequireDefault(_graymatter);var _pluginvue = require('@vitejs/plugin-vue'); var _pluginvue2 = _interopRequireDefault(_pluginvue);var _vitepluginpages = require('vite-plugin-pages'); var _vitepluginpages2 = _interopRequireDefault(_vitepluginpages);var _vitepluginvuelayouts = require('vite-plugin-vue-layouts'); var _vitepluginvuelayouts2 = _interopRequireDefault(_vitepluginvuelayouts);var _vite3 = require('unplugin-vue-components/vite'); var _vite4 = _interopRequireDefault(_vite3);var _vitepluginvuei18n = require('@intlify/vite-plugin-vue-i18n'); var _vitepluginvuei18n2 = _interopRequireDefault(_vitepluginvuei18n);var _viteplugininspect = require('vite-plugin-inspect'); var _viteplugininspect2 = _interopRequireDefault(_viteplugininspect);var _kolorist = require('kolorist');var _markdownitanchor = require('markdown-it-anchor'); var _markdownitanchor2 = _interopRequireDefault(_markdownitanchor);var _markdownitemoji = require('markdown-it-emoji'); var _markdownitemoji2 = _interopRequireDefault(_markdownitemoji);var _markdownitlinkattributes = require('markdown-it-link-attributes'); var _markdownitlinkattributes2 = _interopRequireDefault(_markdownitlinkattributes);var _markdownittableofcontents = require('markdown-it-table-of-contents'); var _markdownittableofcontents2 = _interopRequireDefault(_markdownittableofcontents);var _markdownittasklists = require('markdown-it-task-lists'); var _markdownittasklists2 = _interopRequireDefault(_markdownittasklists);var _markdownitattrs = require('markdown-it-attrs'); var _markdownitattrs2 = _interopRequireDefault(_markdownitattrs);var _katex = require('katex'); var _katex2 = _interopRequireDefault(_katex);function Tl(P,N){let j=P.posMax,X=!0,A=!0,e=N>0?P.src.charCodeAt(N-1):-1,c=N+1<=j?P.src.charCodeAt(N+1):-1;return(e===32||e===9||c>=48&&c<=57)&&(A=!1),(c===32||c===9)&&(X=!1),{can_open:X,can_close:A}}function mm(P,N){let j,X,A,e;if(P.src[P.pos]!=="$")return!1;if(A=Tl(P,P.pos),!A.can_open)return N||(P.pending+="$"),P.pos+=1,!0;let c=P.pos+1;for(j=c;(j=P.src.indexOf("$",j))!==-1;){for(e=j-1;P.src[e]==="\\";)e-=1;if((j-e)%2===1)break;j+=1}return j===-1?(N||(P.pending+="$"),P.pos=c,!0):j-c===0?(N||(P.pending+="$$"),P.pos=c+1,!0):(A=Tl(P,j),A.can_close?(N||(X=P.push("math_inline","math",0),X.markup="$",X.content=P.src.slice(c,j)),P.pos=j+1,!0):(N||(P.pending+="$"),P.pos=c,!0))}function ym(P,N,j,X){let A,e,c,n,t=!1,r=P.bMarks[N]+P.tShift[N],i=P.eMarks[N];if(r+2>i||P.src.slice(r,r+2)!=="$$")return!1;if(r+=2,A=P.src.slice(r,i),X)return!0;for(A.trim().slice(-2)==="$$"&&(A=A.trim().slice(0,-2),t=!0),c=N;!t&&(c++,!(c>=j||(r=P.bMarks[c]+P.tShift[c],i=P.eMarks[c],r<i&&P.tShift[c]<P.blkIndent)));)P.src.slice(r,i).trim().slice(-2)==="$$"&&(n=P.src.slice(0,i).lastIndexOf("$$"),e=P.src.slice(r,n),t=!0);P.line=c+1;let a=P.push("math_block","math",0);return a.block=!0,a.content=(A&&A.trim()?`${A}
|
|
2236
2236
|
`:"")+P.getLines(N+1,c,P.tShift[N],!0)+(e&&e.trim()?e:""),a.map=[N,P.line],a.markup="$$",!0}function Ea(P,N){N=N||{};let j=function(c){N.displayMode=!1;try{return _katex2.default.renderToString(c,N)}catch(n){return N.throwOnError&&console.warn(n),c}},X=function(c,n){return j(c[n].content)},A=function(c){N.displayMode=!0;try{return`<p>${_katex2.default.renderToString(c,N)}</p>`}catch(n){return N.throwOnError&&console.warn(n),c}},e=function(c,n){return`${A(c[n].content)}
|
|
2237
2237
|
`};P.inline.ruler.after("escape","math_inline",mm),P.block.ruler.after("blockquote","math_block",ym,{alt:["paragraph","reference","blockquote","list"]}),P.renderer.rules.math_inline=X,P.renderer.rules.math_block=e}var _markdownitcontainer = require('markdown-it-container'); var _markdownitcontainer2 = _interopRequireDefault(_markdownitcontainer);function gm(P,N,{icon:j,color:X}={}){return[_markdownitcontainer2.default,P,{render(A,e){let c=A[e],n=c.info.trim().slice(P.length).trim();if(c.nesting===1){if(P==="details")return`<details class="${P} custom-block">${`<summary>${n}</summary>`}
|
|
2238
2238
|
`;let t="";return j&&(t=`<i class="icon ${j}" ${X?`style="color: ${X}"`:""}></i>`),`<div class="${P} custom-block"><p class="custom-block-title">${t}${n||N}</p>
|
|
@@ -2243,7 +2243,7 @@ GFS4: `),console.error(P)});Dt[Vt]||(Kl=global[Vt]||[],Yl(Dt,Kl),Dt.close=functi
|
|
|
2243
2243
|
`}),["zh-CN","en"].forEach(X=>{P.use(_markdownitcontainer2.default,X,{render:(A,e)=>A[e].nesting===1?`<div lang="${X}">
|
|
2244
2244
|
`:`</div>
|
|
2245
2245
|
`})})};var Cl=_chunkCDIW2WTIjs.c.call(void 0, Al()),Em=/[\u0000-\u001F]/g,vm=/[\s~`!@#$%^&*()\-_+=[\]{}|\\;:"'<>,.…?/]+/g,fi=P=>(0,Cl.remove)(P).replace(Em,"").replace(vm,"-").replace(/\-{2,}/g,"-").replace(/^\-+|\-+$/g,"").replace(/^(\d)/,"_$1").toLowerCase();var _fulljson = require('markdown-it-emoji/lib/data/full.json'); var _fulljson2 = _interopRequireDefault(_fulljson);var Sm=P=>P.replace(/:(.+?):/g,(N,j)=>_fulljson2.default[j]||N),Pm=P=>P.replace(/"/g,'"').replace(/'/g,"'").replace(/:/g,":").replace(/</g,"<").replace(/>/g,">"),Am=P=>P.replace(/(\[(.[^\]]+)\]\((.[^)]+)\))/g,"$2").replace(/(`|\*{1,3}|_)(.*?[^\\])\1/g,"$2").replace(/(\\)(\*|_|`|\!|<|\$)/g,"$2"),Cm=P=>P.replace(/\{#([a-z0-9\-_]+?)\}\s*$/,""),wm=P=>P.trim(),Dm=P=>String(P).replace(/(^|[^><`\\])<.*>([^><`]|$)/g,"$1$2"),wl=(...P)=>P.length===0?N=>N:P.length===1?P[0]:P.reduce((N,j)=>X=>j(N(X))),Pa=wl(Pm,Sm,Cm,Am,wm),hi=wl(Dm,Pa);var Dl=(P,N=[1,2,3,4])=>{P.renderer.rules.heading_open=(j,X,A,e,c)=>{let n=j[X];if(N.map(r=>`h${r}`).includes(n.tag)){let r=j[X+1].content,i=n.attrs.find(([d])=>d==="id"),a=i&&i[1],u=P.__data,f=u.headers||(u.headers=[]),h=r.indexOf("{"),p=h===-1?r:r.slice(0,h).trim(),o=r.match(/\{lang=\"(.*)\"\}/),y=o?o[1]:"";f.push({level:parseInt(n.tag.slice(1),10),title:hi(p),slug:a||fi(p),lang:y})}return c.renderToken(j,X,A)}};var _shiki = require('shiki');async function Ol(P="material-palenight"){let N=typeof P=="string"?[P]:[P.dark,P.light],j=await _shiki.getHighlighter.call(void 0, {themes:N}),X=/^<pre.*?>/;return(A,e)=>{if(e=e||"text",e==="yml"&&(e="yaml",_consola2.default.warn("[shiki] It is recommended to use `.yaml` instead of `.yml`.")),typeof P=="string")return j.codeToHtml(A,{lang:e,theme:P}).replace(X,"<pre v-pre>");let c=j.codeToHtml(A,{lang:e,theme:P.dark}).replace(X,'<pre v-pre class="vp-code-dark">'),n=j.codeToHtml(A,{lang:e,theme:P.light}).replace(X,'<pre v-pre class="vp-code-light">');return c+n}}var Im=/^<pre .*?><code>/,_l=P=>{let N=P.renderer.rules.fence;P.renderer.rules.fence=(...j)=>{let[X,A,e]=j,c=X[A],n=c.attrs&&c.attrs[0];if(!n)return N(...j);let t=n[0];if(!t||!/[\d,-]+/.test(t))return N(...j);let r=t.split(",").map(h=>h.split("-").map(p=>parseInt(p,10))),i=e.highlight?e.highlight(c.content,c.info,""):c.content;return`<div class="highlight-lines">${i.replace(Im,"").split(`
|
|
2246
|
-
`).map((h,p)=>{let o=p+1;return r.some(([d,m])=>d&&m?o>=d&&o<=m:o===d)?'<div class="highlighted"> </div>':"<br>"}).join("")}</div>`+i}},Il=P=>{let N=P.renderer.rules.fence;P.renderer.rules.fence=(...j)=>{let[X,A]=j,e=X[A],c=N(...j);return`<div class="language-${e.info.trim()}"><span class="copy"></span>${c}</div>`}};async function Aa(P,N={},j=!1){var A;P.use(_l).use(Il).use(Pl,N.blocks).use(_markdownitattrs2.default),j||P.use(Dl,(A=N==null?void 0:N.toc)==null?void 0:A.includeLevel),P.use(_markdownitlinkattributes2.default,{matcher:e=>/^https?:\/\//.test(e),attrs:{target:"_blank",rel:"noopener"}}),P.use(Ea,N.katex),j||P.use(_markdownitanchor2.default,{slugify:fi,permalink:_markdownitanchor2.default.permalink.ariaHidden({})}).use(_markdownittableofcontents2.default,{slugify:fi,includeLevel:[2,3,4],format:Pa,...N.toc}),P.use(_markdownitemoji2.default).use(_markdownittasklists2.default);let X=P.render;return P.render=(...e)=>(P.__data={},X.call(P,...e)),P}var xl=async(P,N={},j="/")=>{let X=_markdownit2.default.call(void 0, {html:!0,linkify:!0,highlight:await Ol(N.theme),...N});return await Aa(X,N),X};var Qc=_chunkCDIW2WTIjs.c.call(void 0, Ca());var _vite5 = require('unocss/vite'); var _vite6 = _interopRequireDefault(_vite5);var _unocss = require('unocss');var Yc=_chunkCDIW2WTIjs.c.call(void 0, Xc()),Hc=_chunkCDIW2WTIjs.c.call(void 0, Ca());function Jc(P,N,j=""){return P={...P},Object.keys(N).forEach(X=>{_utils.isObject.call(void 0, P[X])?P[X]=Jc(P[X],N[X],j?`${j}.${X}`:X):Array.isArray(P[X])?P[X]=[...P[X],...N[X]]:P[X]=N[X]}),P}async function zc(P,N,j,X,A=!0){let e=X;for(let c of P){let n=_path.resolve.call(void 0, c,"setup",N);if((0,Yc.existsSync)(n)){let{default:t}=(0,Hc.default)(__filename)(n),r=await t(j);r!==null&&(e=A?Jc(e,r):r)}}return e}var sb=async P=>{let{generateSafelist:N}=await Promise.resolve().then(() => require(`valaxy-theme-${P.theme}`)),j=["i-ri-archive-line","i-ri-folder-2-line","i-ri-price-tag-3-line","i-ri-cloud-line"],X=[];typeof N=="function"&&(X=N(P.themeConfig));let A="animate-fade-in m-auto text-left".split(" ").concat(["rotate-y-180"]).concat(j).concat(X);return P.social.length&&P.social.forEach(e=>A.push(e.icon)),P.sponsor.methods.length&&P.sponsor.methods.forEach(e=>A.push(e.icon)),A},ab=async P=>({shortcuts:[["yun-main","lt-md:pl-0"],["yun-card","transition yun-transition shadow hover:shadow-lg"],["btn","px-4 py-1 rounded inline-block bg-sky-600 text-white cursor-pointer hover:bg-sky-700 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50"],["icon-btn","inline-block cursor-pointer select-none opacity-75 transition duration-200 ease-in-out hover:opacity-100 hover:text-sky-600"],["va-card","shadow hover:shadow-lg"]],presets:[_unocss.presetUno.call(void 0, ),_unocss.presetAttributify.call(void 0, ),_unocss.presetIcons.call(void 0, {scale:1.2}),_unocss.presetTypography.call(void 0, )],rules:[["yun-transition",{"transition-duration":"var(--va-transition-duration)"}],["yun-text-light",{color:"var(--va-c-text-light)"}],["font-serif",{"font-family":"var(--va-font-serif)"}],["font-sans",{"font-family":"var(--va-font-sans)"}],["font-mono",{"font-family":"var(--va-font-mono)"}]],transformers:[_unocss.transformerDirectives.call(void 0, ),_unocss.transformerVariantGroup.call(void 0, )],safelist:await sb(P.config)}),Zc=async(P,{unocss:N})=>{let j=await ab(P),{themeRoot:X,clientRoot:A,roots:e}=P,n=_utils.uniq.call(void 0, [_path.resolve.call(void 0, X,"uno.config.ts"),_path.resolve.call(void 0, A,"uno.config.ts")]).find(
|
|
2246
|
+
`).map((h,p)=>{let o=p+1;return r.some(([d,m])=>d&&m?o>=d&&o<=m:o===d)?'<div class="highlighted"> </div>':"<br>"}).join("")}</div>`+i}},Il=P=>{let N=P.renderer.rules.fence;P.renderer.rules.fence=(...j)=>{let[X,A]=j,e=X[A],c=N(...j);return`<div class="language-${e.info.trim()}"><span class="copy"></span>${c}</div>`}};async function Aa(P,N={},j=!1){var A;P.use(_l).use(Il).use(Pl,N.blocks).use(_markdownitattrs2.default),j||P.use(Dl,(A=N==null?void 0:N.toc)==null?void 0:A.includeLevel),P.use(_markdownitlinkattributes2.default,{matcher:e=>/^https?:\/\//.test(e),attrs:{target:"_blank",rel:"noopener"}}),P.use(Ea,N.katex),j||P.use(_markdownitanchor2.default,{slugify:fi,permalink:_markdownitanchor2.default.permalink.ariaHidden({})}).use(_markdownittableofcontents2.default,{slugify:fi,includeLevel:[2,3,4],format:Pa,...N.toc}),P.use(_markdownitemoji2.default).use(_markdownittasklists2.default);let X=P.render;return P.render=(...e)=>(P.__data={},X.call(P,...e)),P}var xl=async(P,N={},j="/")=>{let X=_markdownit2.default.call(void 0, {html:!0,linkify:!0,highlight:await Ol(N.theme),...N});return await Aa(X,N),X};var Qc=_chunkCDIW2WTIjs.c.call(void 0, Ca());var _vite5 = require('unocss/vite'); var _vite6 = _interopRequireDefault(_vite5);var _unocss = require('unocss');var Yc=_chunkCDIW2WTIjs.c.call(void 0, Xc()),Hc=_chunkCDIW2WTIjs.c.call(void 0, Ca());function Jc(P,N,j=""){return P={...P},Object.keys(N).forEach(X=>{_utils.isObject.call(void 0, P[X])?P[X]=Jc(P[X],N[X],j?`${j}.${X}`:X):Array.isArray(P[X])?P[X]=[...P[X],...N[X]]:P[X]=N[X]}),P}async function zc(P,N,j,X,A=!0){let e=X;for(let c of P){let n=_path.resolve.call(void 0, c,"setup",N);if((0,Yc.existsSync)(n)){let{default:t}=(0,Hc.default)(__filename)(n),r=await t(j);r!==null&&(e=A?Jc(e,r):r)}}return e}var sb=async P=>{let{generateSafelist:N}=await Promise.resolve().then(() => require(`valaxy-theme-${P.theme}`)),j=["i-ri-archive-line","i-ri-folder-2-line","i-ri-price-tag-3-line","i-ri-cloud-line"],X=[];typeof N=="function"&&(X=N(P.themeConfig));let A="animate-fade-in m-auto text-left".split(" ").concat(["rotate-y-180"]).concat(j).concat(X);return P.social.length&&P.social.forEach(e=>A.push(e.icon)),P.sponsor.methods.length&&P.sponsor.methods.forEach(e=>A.push(e.icon)),A},ab=async P=>({shortcuts:[["yun-main","lt-md:pl-0"],["yun-card","transition yun-transition shadow hover:shadow-lg"],["btn","px-4 py-1 rounded inline-block bg-sky-600 text-white cursor-pointer hover:bg-sky-700 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50"],["icon-btn","inline-block cursor-pointer select-none opacity-75 transition duration-200 ease-in-out hover:opacity-100 hover:text-sky-600"],["va-card","shadow hover:shadow-lg"]],presets:[_unocss.presetUno.call(void 0, ),_unocss.presetAttributify.call(void 0, ),_unocss.presetIcons.call(void 0, {scale:1.2}),_unocss.presetTypography.call(void 0, )],rules:[["yun-transition",{"transition-duration":"var(--va-transition-duration)"}],["yun-text-light",{color:"var(--va-c-text-light)"}],["font-serif",{"font-family":"var(--va-font-serif)"}],["font-sans",{"font-family":"var(--va-font-sans)"}],["font-mono",{"font-family":"var(--va-font-mono)"}]],transformers:[_unocss.transformerDirectives.call(void 0, ),_unocss.transformerVariantGroup.call(void 0, )],safelist:await sb(P.config)}),Zc=async(P,{unocss:N})=>{let j=await ab(P),{themeRoot:X,clientRoot:A,roots:e}=P,n=_utils.uniq.call(void 0, [_path.resolve.call(void 0, X,"uno.config.ts"),_path.resolve.call(void 0, A,"uno.config.ts")]).find(r=>_fs.existsSync.call(void 0, r)),t={};return n&&(t=(0,Qc.default)(__filename)(n),"default"in t&&(t=t.default)),t=await zc(e,"unocss.ts",{},t,!0),_vite6.default.call(void 0, {configFile:!1,...di(N||{},t,j)})};var Jd=_chunkCDIW2WTIjs.c.call(void 0, fd()),ro=_chunkCDIW2WTIjs.c.call(void 0, Xa()),zd=_chunkCDIW2WTIjs.c.call(void 0, Xd());var _crossspawn = require('cross-spawn');function Yd(P){return new Promise((N,j)=>{let X=_crossspawn.spawn.call(void 0, "git",["log","-1",'--pretty="%ci"',P]),A="";X.stdout.on("data",e=>A+=String(e)),X.on("close",()=>{N(+new Date(A))}),X.on("error",j)})}var no=P=>`JSON.parse(${JSON.stringify(JSON.stringify(P))})`;function ln(P){return P.replace(/\\/g,"/")}function a0(P,N){return N.startsWith(P)?N:P+N}function Yt(P){return`/@fs${a0("/",ln(P))}`}function Os(P,N=!1){try{return(0,zd.sync)(P,{preserveSymlinks:!1})}catch (e96){}if(Jd.default){try{return _chunkCDIW2WTIjs.a.resolve(_path.join.call(void 0, ro.default.yarn.packages,P))}catch (e97){}try{return _chunkCDIW2WTIjs.a.resolve(_path.join.call(void 0, ro.default.npm.packages,P))}catch (e98){}}if(N)throw new Error(`Failed to resolve package ${P}`);_consola2.default.error(`Failed to resolve package ${P}`)}function qd(P){return{name:"valaxy:config",config(N){let j={resolve:{alias:{"@/":`${Yt(P.userRoot)}/`,"~/":`${Yt(P.clientRoot)}/`,"valaxy/client":`${Yt(P.clientRoot)}/`,"valaxy/package.json":Yt(_path.resolve.call(void 0, P.clientRoot,"../../package.json")),valaxy:Yt(_path.resolve.call(void 0, P.clientRoot,"index.ts")),"@valaxyjs/client":`${Yt(P.clientRoot)}/`,"@valaxyjs/config":"/@valaxyjs/config","@valaxyjs/context":"/@valaxyjs/context",[`valaxy-theme-${P.theme}/`]:`${Yt(_path.resolve.call(void 0, P.themeRoot))}/`,[`valaxy-theme-${P.theme}`]:`${Yt(_path.resolve.call(void 0, P.themeRoot))}/index.ts`}},optimizeDeps:{entries:[_path.resolve.call(void 0, P.clientRoot,"main.ts"),P.configFile],include:["vue","vue-router","@vueuse/core","@vueuse/head","dayjs","nprogress"],exclude:["@docsearch/js"]}};return _vite.mergeConfig.call(void 0, N,j)}}}function Qd({clientRoot:P,themeRoot:N,userRoot:j}){let X=_utils.slash.call(void 0, _path.resolve.call(void 0, P,"setup"));return{name:"valaxy:setup",enforce:"pre",async transform(A,e){if(e.startsWith(X)){let c=e.slice(X.length+1),n=[],t=[];return _utils.uniq.call(void 0, [N,j]).map(i=>_path.join.call(void 0, i,"setup",c)).forEach((i,a)=>{if(!_fs.existsSync.call(void 0, i))return;n.push(`import __n${a} from '${Yt(i)}'`);let u=`__n${a}`;/\binjection_return\b/g.test(A)&&(u=`injection_return = ${u}`),/\binjection_arg\b/g.test(A)?u+="(injection_arg)":u+="()",t.push(`// ${i}`,u)}),A=A.replace("/* __imports__ */",n.join(`
|
|
2247
2247
|
`)),A=A.replace("/* __injections__ */",t.join(`
|
|
2248
2248
|
`)),A}return null}}}var Ii=_chunkCDIW2WTIjs.c.call(void 0, tp()),gp=_chunkCDIW2WTIjs.c.call(void 0, pp());var _lrucache = require('lru-cache'); var _lrucache2 = _interopRequireDefault(_lrucache);var hp=(0,gp.default)("vitepress:md"),mp=new (0, _lrucache2.default)({max:1024}),$0=/<!--\s*@include:\s*(.*?)\s*-->/g,U0=(P,N)=>{if(P.title)return hi(P.title);let j=N.match(/^\s*#+\s+(.*)/m);return j?hi(j[1].trim()):""},V0=(P,N)=>{if(!P||!P.length)return;let j=P.find(([X,A={}])=>X==="meta"&&A.name===N&&A.content);return j&&j[1].content},G0=P=>{let{description:N,head:j}=P;return N!==void 0?N:j&&V0(j,"description")||""};async function bp(P,N={},j,X,A=!1,e="/",c=!1){let n=await xl(P,N,e);j=j.map(r=>ln(r.replace(/\.md$/,"")));let t=X?new RegExp(`\\b(${Object.keys(X).map(r=>r.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")).join("|")})`,"g"):null;return async(r,i,a)=>{let u=ln(_path2.default.relative(P,i)),f=_path2.default.dirname(i),h=mp.get(r);if(h)return hp(`[cache hit] ${u}`),h;let p=Date.now(),o=[];r=r.replace($0,($,H)=>{let Q=_path2.default.join(f,H),K=_fs2.default.readFileSync(Q,"utf-8");return o.push(ln(Q)),K});let{content:y,data:d}=_graymatter2.default.call(void 0, r);n.__path=i,n.__relativePath=u;let m=n.render(y),S=n.__data;A&&(m=m.replace(/\bimport\.meta/g,"import.<wbr/>meta").replace(/\bprocess\.env/g,"process.<wbr/>env"),t&&(m=m.replace(t,$=>`${$[0]}<wbr/>${$.slice(1)}`)));let T=[],C=$=>{console.warn(Ii.default.yellow(`
|
|
2249
2249
|
(!) Found dead link ${Ii.default.cyan($)} in file ${Ii.default.white(Ii.default.dim(i))}`)),T.push($)};if(S.links){let $=_path2.default.dirname(i);for(let H of S.links){if(/\.(?!html|md)\w+($|\?)/i.test(H))continue;if(H.replace(_chunkCDIW2WTIjs.d,"").startsWith("//localhost:")){C(H);continue}H=H.replace(/[?#].*$/,"").replace(/\.(html|md)$/,""),H.endsWith("/")&&(H+="index");let Q=decodeURIComponent(ln(H.startsWith("/")?H.slice(1):_path2.default.relative(P,_path2.default.resolve($,H))));!j.includes(Q)&&!_fs2.default.existsSync(_path2.default.resolve($,a,`${Q}.html`))&&C(H)}}let v={title:U0(d,y),titleTemplate:d.titleTemplate,description:G0(d),frontmatter:d,headers:S.headers||[],relativePath:u,path:_path2.default.join(P,u)};c&&(v.lastUpdated=await Yd(i));let k="ValaxyMain";function O(){return["main-header","main-header-after","main-nav","main-content","main-content-after","main-nav-before","main-nav-after","comment","footer","aside","aside-custom"].map(Q=>`<template #${Q}><slot name="${Q}" /></template>`).join("")}let x=`${J0(S.hoistedTags||[],v).join(`
|
|
@@ -2264,7 +2264,7 @@ GFS4: `),console.error(P)});Dt[Vt]||(Kl=global[Vt]||[],Yl(Dt,Kl),Dt.close=functi
|
|
|
2264
2264
|
}`;if(X>-1){let c=P[X],n=Y0.test(c)||H0.test(c);P[X]=c.replace(yp,`${j+(n?"":`
|
|
2265
2265
|
${e}`)}<\/script>`)}else P.unshift(`<script ${A?'lang="ts"':""}>${j}
|
|
2266
2266
|
${e}<\/script>`);return P}function Ep(P,N){P.includes("{%")&&P.includes("%}")&&_consola2.default.error(`${`${N}
|
|
2267
|
-
`} Please ${_kolorist.red.call(void 0, "remove")} ${_kolorist.cyan.call(void 0, "{% %}")}, because it conflicts with ${_kolorist.yellow.call(void 0, "markdown-it-attrs")}.`)}var lo="@valaxyjs/config";function
|
|
2268
|
-
`)}function
|
|
2269
|
-
`)}function vp(P,N={}){let j="/@valaxy",X=P.config,A=[P.clientRoot,P.themeRoot,P.userRoot],e,c=!1,n;return{name:"valaxy",enforce:"pre",async configResolved(t){n=t,e=await bp(P.userRoot,P.config.markdownIt,P.pages,n.define,n.command==="build",n.base,P.config.lastUpdated)},configureServer(t){t.watcher.add([P.configFile,P.userRoot,P.themeRoot])},resolveId(t){return t.startsWith(j)?t:null},load(t){if(t===`/${lo}`)return`export default ${JSON.stringify(JSON.stringify(X))}`;if(t==="/@valaxyjs/context")return`export default ${JSON.stringify(JSON.stringify({userRoot:P.userRoot}))}`;if(t==="/@valaxyjs/styles")return
|
|
2267
|
+
`} Please ${_kolorist.red.call(void 0, "remove")} ${_kolorist.cyan.call(void 0, "{% %}")}, because it conflicts with ${_kolorist.yellow.call(void 0, "markdown-it-attrs")}.`)}var lo="@valaxyjs/config";function rE(P,N){let j=[];N.config.features.katex&&(j.push(`import "${Yt(Os("katex/dist/katex.min.css",!0))}"`),j.push(`import "${Yt(_path.join.call(void 0, N.clientRoot,"styles/third/katex.scss"))}"`));for(let X of P){let A=[];["index","css-vars"].forEach(c=>{A.push(_path.join.call(void 0, X,"styles",`${c}.css`)),A.push(_path.join.call(void 0, X,"styles",`${c}.scss`))});for(let c of A)_fs2.default.existsSync(c)&&j.push(`import "${Yt(c)}"`)}return j.join(`
|
|
2268
|
+
`)}function nE(P){let N=['const messages = { "zh-CN": {}, en: {} }'],j=["zh-CN","en"];return P.forEach((X,A)=>{j.forEach(e=>{let c=`${X}/locales/${e}.yml`;if(_fs2.default.existsSync(c)&&_fs2.default.readFileSync(c,"utf-8")){let n=e.replace("-","")+A;N.push(`import ${n} from "${Yt(c)}"`),N.push(`Object.assign(messages['${e}'], ${n})`)}})}),N.push("export default messages"),N.join(`
|
|
2269
|
+
`)}function vp(P,N={}){let j="/@valaxy",X=P.config,A=[P.clientRoot,P.themeRoot,P.userRoot],e,c=!1,n;return{name:"valaxy",enforce:"pre",async configResolved(t){n=t,e=await bp(P.userRoot,P.config.markdownIt,P.pages,n.define,n.command==="build",n.base,P.config.lastUpdated)},configureServer(t){t.watcher.add([P.configFile,P.userRoot,P.themeRoot])},resolveId(t){return t.startsWith(j)?t:null},load(t){if(t===`/${lo}`)return`export default ${JSON.stringify(JSON.stringify(X))}`;if(t==="/@valaxyjs/context")return`export default ${JSON.stringify(JSON.stringify({userRoot:P.userRoot}))}`;if(t==="/@valaxyjs/styles")return rE(A,P);if(t==="/@valaxyjs/locales")return nE(A);if(t.startsWith(j))return""},async transform(t,r){if(r.endsWith(".md")){Ep(t,r),t.replace("{%","{%"),t.replace("%}","%}");let{vueSrc:i,deadLinks:a,includes:u}=await e(t,r,n.publicDir);return a.length&&(c=!0),u.length&&u.forEach(f=>{this.addWatchFile(f)}),i}},renderStart(){if(c)throw new Error("One or more pages contain dead links.")},async handleHotUpdate(t){var p;let{file:r,server:i,read:a}=t;if(r!==_vite.normalizePath.call(void 0, P.configFile))return;if(r.endsWith(".md")){let o=await a(),{pageData:y,vueSrc:d}=await e(o,r,_path.join.call(void 0, P.userRoot,"public")),S={path:`/${ln(_path.relative.call(void 0, `${P.userRoot}/pages`,r))}`,pageData:y};i.ws.send({type:"custom",event:"valaxy:pageData",data:S}),t.read=()=>d}let{config:u}=await gl();(p=N.onConfigReload)==null||p.call(N,u,P.config),Object.assign(P.config,u),X=u;let f=[`/${lo}`,"/@valaxyjs/context"];return[...Array.from(f).map(o=>i.moduleGraph.getModuleById(o))].filter(o=>!!o)}}}async function Sp(P,N={},j={}){let{vue:X={},components:A={}}=N,{clientRoot:e,themeRoot:c,userRoot:n}=P,t=await Zc(P,N),r=vp(P,j),i=new (0, _markdownit2.default)({html:!0});await Aa(i,P.config.markdownIt,!0);let a=[e,c,n],{default:u}=await Promise.resolve().then(() => require(`valaxy-theme-${P.theme}`)),f=new Set(["annotation","math","menclose","mfrac","mglyph","mi","mlabeledtr","mn","mo","mover","mpadded","mphantom","mroot","mrow","mspace","msqrt","mstyle","msub","msubsup","msup","mtable","mtd","mtext","mtr","munder","munderover","semantics","meting-js"]);return[_pluginvue2.default.call(void 0, {include:[/\.vue$/,/\.md$/],template:{compilerOptions:{isCustomElement:h=>f.has(h)},...X==null?void 0:X.template},...X}),qd(P),Qd(P),r,u(P.config.themeConfig),_vitepluginpages2.default.call(void 0, {extensions:["vue","md"],dirs:a.map(h=>`${h}/pages`),extendRoute(h){let p=h.component;h.meta||(h.meta={}),h.path==="/"&&(h.meta.layout="home"),a.forEach(m=>{let S=m+h.component;_fs2.default.existsSync(S)&&(p=S)});let o=_fs2.default.readFileSync(p,"utf-8"),{data:y,excerpt:d}=_graymatter2.default.call(void 0, o,{excerpt_separator:"<!-- more -->"});return h.path.startsWith("/posts/")&&(h.meta.layout="post",y.date||_consola2.default.warn(`You forgot to write ${_kolorist.yellow.call(void 0, "date")} for post: ${_kolorist.dim.call(void 0, `${h.component}`)}`)),h.meta=Object.assign(h.meta,{frontmatter:Object.assign({date:new Date},y),excerpt:d?i.render(d):""}),h.meta.frontmatter.updated&&(h.meta.frontmatter.updated=h.meta.frontmatter.date),y.layout&&(h.meta.layout=y.layout),h}}),_vitepluginvuelayouts2.default.call(void 0, {layoutsDirs:a.map(h=>`${h}/layouts`)}),_vite4.default.call(void 0, {extensions:["vue","md"],include:[/\.vue$/,/\.vue\?vue/,/\.md$/],exclude:[],allowOverrides:!0,dirs:a.map(h=>`${h}/components`).concat(a.map(h=>`${h}/layouts`)).concat(["src/components","components"]),dts:`${P.userRoot}/components.d.ts`,...A}),t,_vitepluginvuei18n2.default.call(void 0, {runtimeOnly:!0,compositionOnly:!0,include:a.map(h=>`${h}/locales/**`)}),P.mode==="dev"&&_viteplugininspect2.default.call(void 0, )]}async function Pp(P,N,j={}){return{define:{__DEV__:P.mode==="dev"?"true":"false",__ALGOLIA__:!!P.config.search.algolia.enable},root:P.clientRoot,publicDir:_path.join.call(void 0, P.userRoot,"public"),plugins:[await Sp(P,N,j),_vite.splitVendorChunkPlugin.call(void 0, )],server:{fs:{allow:[P.clientRoot,P.themeRoot,P.userRoot,_path.dirname.call(void 0, Os("katex/package.json",!0))]}}}}async function O1(P,N={},j={}){let A=(await _vite.resolveConfig.call(void 0, {},"serve")).valaxy||{};return process.env.EDITOR=process.env.EDITOR||"code",await _vite.createServer.call(void 0, await El(P,N,await Pp(P,A,j),"serve"))}exports.a = gl; exports.b = El; exports.c = Xc; exports.d = sb; exports.e = Os; exports.f = pp; exports.g = Pp; exports.h = O1;
|
|
2270
2270
|
/*! For license information please see babel.js.LICENSE.txt */
|