(()=>{var __webpack_modules__={"./node_modules/create-require/create-require.js":(module,__unused_webpack_exports,__webpack_require__)=>{const nativeModule=__webpack_require__("module"),path=__webpack_require__("path"),fs=__webpack_require__("fs");module.exports=function(filename){return filename||(filename=process.cwd()),function(path){try{return fs.lstatSync(path).isDirectory()}catch(e){return!1}}(filename)&&(filename=path.join(filename,"index.js")),nativeModule.createRequire?nativeModule.createRequire(filename):nativeModule.createRequireFromPath?nativeModule.createRequireFromPath(filename):function(filename){const mod=new nativeModule.Module(filename,null);return mod.filename=filename,mod.paths=nativeModule.Module._nodeModulePaths(path.dirname(filename)),mod._compile("module.exports = require;",filename),mod.exports}(filename)}},"./node_modules/lru-cache/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";const Yallist=__webpack_require__("./node_modules/yallist/yallist.js"),MAX=Symbol("max"),LENGTH=Symbol("length"),LENGTH_CALCULATOR=Symbol("lengthCalculator"),ALLOW_STALE=Symbol("allowStale"),MAX_AGE=Symbol("maxAge"),DISPOSE=Symbol("dispose"),NO_DISPOSE_ON_SET=Symbol("noDisposeOnSet"),LRU_LIST=Symbol("lruList"),CACHE=Symbol("cache"),UPDATE_AGE_ON_GET=Symbol("updateAgeOnGet"),naiveLength=()=>1;const get=(self,key,doUse)=>{const node=self[CACHE].get(key);if(node){const hit=node.value;if(isStale(self,hit)){if(del(self,node),!self[ALLOW_STALE])return}else doUse&&(self[UPDATE_AGE_ON_GET]&&(node.value.now=Date.now()),self[LRU_LIST].unshiftNode(node));return hit.value}},isStale=(self,hit)=>{if(!hit||!hit.maxAge&&!self[MAX_AGE])return!1;const diff=Date.now()-hit.now;return hit.maxAge?diff>hit.maxAge:self[MAX_AGE]&&diff>self[MAX_AGE]},trim=self=>{if(self[LENGTH]>self[MAX])for(let walker=self[LRU_LIST].tail;self[LENGTH]>self[MAX]&&null!==walker;){const prev=walker.prev;del(self,walker),walker=prev}},del=(self,node)=>{if(node){const hit=node.value;self[DISPOSE]&&self[DISPOSE](hit.key,hit.value),self[LENGTH]-=hit.length,self[CACHE].delete(hit.key),self[LRU_LIST].removeNode(node)}};class Entry{constructor(key,value,length,now,maxAge){this.key=key,this.value=value,this.length=length,this.now=now,this.maxAge=maxAge||0}}const forEachStep=(self,fn,node,thisp)=>{let hit=node.value;isStale(self,hit)&&(del(self,node),self[ALLOW_STALE]||(hit=void 0)),hit&&fn.call(thisp,hit.value,hit.key,self)};module.exports=class{constructor(options){if("number"==typeof options&&(options={max:options}),options||(options={}),options.max&&("number"!=typeof options.max||options.max<0))throw new TypeError("max must be a non-negative number");this[MAX]=options.max||1/0;const lc=options.length||naiveLength;if(this[LENGTH_CALCULATOR]="function"!=typeof lc?naiveLength:lc,this[ALLOW_STALE]=options.stale||!1,options.maxAge&&"number"!=typeof options.maxAge)throw new TypeError("maxAge must be a number");this[MAX_AGE]=options.maxAge||0,this[DISPOSE]=options.dispose,this[NO_DISPOSE_ON_SET]=options.noDisposeOnSet||!1,this[UPDATE_AGE_ON_GET]=options.updateAgeOnGet||!1,this.reset()}set max(mL){if("number"!=typeof mL||mL<0)throw new TypeError("max must be a non-negative number");this[MAX]=mL||1/0,trim(this)}get max(){return this[MAX]}set allowStale(allowStale){this[ALLOW_STALE]=!!allowStale}get allowStale(){return this[ALLOW_STALE]}set maxAge(mA){if("number"!=typeof mA)throw new TypeError("maxAge must be a non-negative number");this[MAX_AGE]=mA,trim(this)}get maxAge(){return this[MAX_AGE]}set lengthCalculator(lC){"function"!=typeof lC&&(lC=naiveLength),lC!==this[LENGTH_CALCULATOR]&&(this[LENGTH_CALCULATOR]=lC,this[LENGTH]=0,this[LRU_LIST].forEach((hit=>{hit.length=this[LENGTH_CALCULATOR](hit.value,hit.key),this[LENGTH]+=hit.length}))),trim(this)}get lengthCalculator(){return this[LENGTH_CALCULATOR]}get length(){return this[LENGTH]}get itemCount(){return this[LRU_LIST].length}rforEach(fn,thisp){thisp=thisp||this;for(let walker=this[LRU_LIST].tail;null!==walker;){const prev=walker.prev;forEachStep(this,fn,walker,thisp),walker=prev}}forEach(fn,thisp){thisp=thisp||this;for(let walker=this[LRU_LIST].head;null!==walker;){const next=walker.next;forEachStep(this,fn,walker,thisp),walker=next}}keys(){return this[LRU_LIST].toArray().map((k=>k.key))}values(){return this[LRU_LIST].toArray().map((k=>k.value))}reset(){this[DISPOSE]&&this[LRU_LIST]&&this[LRU_LIST].length&&this[LRU_LIST].forEach((hit=>this[DISPOSE](hit.key,hit.value))),this[CACHE]=new Map,this[LRU_LIST]=new Yallist,this[LENGTH]=0}dump(){return this[LRU_LIST].map((hit=>!isStale(this,hit)&&{k:hit.key,v:hit.value,e:hit.now+(hit.maxAge||0)})).toArray().filter((h=>h))}dumpLru(){return this[LRU_LIST]}set(key,value,maxAge){if((maxAge=maxAge||this[MAX_AGE])&&"number"!=typeof maxAge)throw new TypeError("maxAge must be a number");const now=maxAge?Date.now():0,len=this[LENGTH_CALCULATOR](value,key);if(this[CACHE].has(key)){if(len>this[MAX])return del(this,this[CACHE].get(key)),!1;const item=this[CACHE].get(key).value;return this[DISPOSE]&&(this[NO_DISPOSE_ON_SET]||this[DISPOSE](key,item.value)),item.now=now,item.maxAge=maxAge,item.value=value,this[LENGTH]+=len-item.length,item.length=len,this.get(key),trim(this),!0}const hit=new Entry(key,value,len,now,maxAge);return hit.length>this[MAX]?(this[DISPOSE]&&this[DISPOSE](key,value),!1):(this[LENGTH]+=hit.length,this[LRU_LIST].unshift(hit),this[CACHE].set(key,this[LRU_LIST].head),trim(this),!0)}has(key){if(!this[CACHE].has(key))return!1;const hit=this[CACHE].get(key).value;return!isStale(this,hit)}get(key){return get(this,key,!0)}peek(key){return get(this,key,!1)}pop(){const node=this[LRU_LIST].tail;return node?(del(this,node),node.value):null}del(key){del(this,this[CACHE].get(key))}load(arr){this.reset();const now=Date.now();for(let l=arr.length-1;l>=0;l--){const hit=arr[l],expiresAt=hit.e||0;if(0===expiresAt)this.set(hit.k,hit.v);else{const maxAge=expiresAt-now;maxAge>0&&this.set(hit.k,hit.v,maxAge)}}}prune(){this[CACHE].forEach(((value,key)=>get(this,key,!1)))}}},"./node_modules/mkdirp/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{const optsArg=__webpack_require__("./node_modules/mkdirp/lib/opts-arg.js"),pathArg=__webpack_require__("./node_modules/mkdirp/lib/path-arg.js"),{mkdirpNative,mkdirpNativeSync}=__webpack_require__("./node_modules/mkdirp/lib/mkdirp-native.js"),{mkdirpManual,mkdirpManualSync}=__webpack_require__("./node_modules/mkdirp/lib/mkdirp-manual.js"),{useNative,useNativeSync}=__webpack_require__("./node_modules/mkdirp/lib/use-native.js"),mkdirp=(path,opts)=>(path=pathArg(path),opts=optsArg(opts),useNative(opts)?mkdirpNative(path,opts):mkdirpManual(path,opts));mkdirp.sync=(path,opts)=>(path=pathArg(path),opts=optsArg(opts),useNativeSync(opts)?mkdirpNativeSync(path,opts):mkdirpManualSync(path,opts)),mkdirp.native=(path,opts)=>mkdirpNative(pathArg(path),optsArg(opts)),mkdirp.manual=(path,opts)=>mkdirpManual(pathArg(path),optsArg(opts)),mkdirp.nativeSync=(path,opts)=>mkdirpNativeSync(pathArg(path),optsArg(opts)),mkdirp.manualSync=(path,opts)=>mkdirpManualSync(pathArg(path),optsArg(opts)),module.exports=mkdirp},"./node_modules/mkdirp/lib/find-made.js":(module,__unused_webpack_exports,__webpack_require__)=>{const{dirname}=__webpack_require__("path"),findMade=(opts,parent,path)=>path===parent?Promise.resolve():opts.statAsync(parent).then((st=>st.isDirectory()?path:void 0),(er=>"ENOENT"===er.code?findMade(opts,dirname(parent),parent):void 0)),findMadeSync=(opts,parent,path)=>{if(path!==parent)try{return opts.statSync(parent).isDirectory()?path:void 0}catch(er){return"ENOENT"===er.code?findMadeSync(opts,dirname(parent),parent):void 0}};module.exports={findMade,findMadeSync}},"./node_modules/mkdirp/lib/mkdirp-manual.js":(module,__unused_webpack_exports,__webpack_require__)=>{const{dirname}=__webpack_require__("path"),mkdirpManual=(path,opts,made)=>{opts.recursive=!1;const parent=dirname(path);return parent===path?opts.mkdirAsync(path,opts).catch((er=>{if("EISDIR"!==er.code)throw er})):opts.mkdirAsync(path,opts).then((()=>made||path),(er=>{if("ENOENT"===er.code)return mkdirpManual(parent,opts).then((made=>mkdirpManual(path,opts,made)));if("EEXIST"!==er.code&&"EROFS"!==er.code)throw er;return opts.statAsync(path).then((st=>{if(st.isDirectory())return made;throw er}),(()=>{throw er}))}))},mkdirpManualSync=(path,opts,made)=>{const parent=dirname(path);if(opts.recursive=!1,parent===path)try{return opts.mkdirSync(path,opts)}catch(er){if("EISDIR"!==er.code)throw er;return}try{return opts.mkdirSync(path,opts),made||path}catch(er){if("ENOENT"===er.code)return mkdirpManualSync(path,opts,mkdirpManualSync(parent,opts,made));if("EEXIST"!==er.code&&"EROFS"!==er.code)throw er;try{if(!opts.statSync(path).isDirectory())throw er}catch(_){throw er}}};module.exports={mkdirpManual,mkdirpManualSync}},"./node_modules/mkdirp/lib/mkdirp-native.js":(module,__unused_webpack_exports,__webpack_require__)=>{const{dirname}=__webpack_require__("path"),{findMade,findMadeSync}=__webpack_require__("./node_modules/mkdirp/lib/find-made.js"),{mkdirpManual,mkdirpManualSync}=__webpack_require__("./node_modules/mkdirp/lib/mkdirp-manual.js");module.exports={mkdirpNative:(path,opts)=>{opts.recursive=!0;return dirname(path)===path?opts.mkdirAsync(path,opts):findMade(opts,path).then((made=>opts.mkdirAsync(path,opts).then((()=>made)).catch((er=>{if("ENOENT"===er.code)return mkdirpManual(path,opts);throw er}))))},mkdirpNativeSync:(path,opts)=>{opts.recursive=!0;if(dirname(path)===path)return opts.mkdirSync(path,opts);const made=findMadeSync(opts,path);try{return opts.mkdirSync(path,opts),made}catch(er){if("ENOENT"===er.code)return mkdirpManualSync(path,opts);throw er}}}},"./node_modules/mkdirp/lib/opts-arg.js":(module,__unused_webpack_exports,__webpack_require__)=>{const{promisify}=__webpack_require__("util"),fs=__webpack_require__("fs");module.exports=opts=>{if(opts)if("object"==typeof opts)opts={mode:511,fs,...opts};else if("number"==typeof opts)opts={mode:opts,fs};else{if("string"!=typeof opts)throw new TypeError("invalid options argument");opts={mode:parseInt(opts,8),fs}}else opts={mode:511,fs};return opts.mkdir=opts.mkdir||opts.fs.mkdir||fs.mkdir,opts.mkdirAsync=promisify(opts.mkdir),opts.stat=opts.stat||opts.fs.stat||fs.stat,opts.statAsync=promisify(opts.stat),opts.statSync=opts.statSync||opts.fs.statSync||fs.statSync,opts.mkdirSync=opts.mkdirSync||opts.fs.mkdirSync||fs.mkdirSync,opts}},"./node_modules/mkdirp/lib/path-arg.js":(module,__unused_webpack_exports,__webpack_require__)=>{const platform=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,{resolve,parse}=__webpack_require__("path");module.exports=path=>{if(/\0/.test(path))throw Object.assign(new TypeError("path must be a string without null bytes"),{path,code:"ERR_INVALID_ARG_VALUE"});if(path=resolve(path),"win32"===platform){const badWinChars=/[*|"<>?:]/,{root}=parse(path);if(badWinChars.test(path.substr(root.length)))throw Object.assign(new Error("Illegal characters in path."),{path,code:"EINVAL"})}return path}},"./node_modules/mkdirp/lib/use-native.js":(module,__unused_webpack_exports,__webpack_require__)=>{const fs=__webpack_require__("fs"),versArr=(process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version).replace(/^v/,"").split("."),hasNative=+versArr[0]>10||10==+versArr[0]&&+versArr[1]>=12,useNative=hasNative?opts=>opts.mkdir===fs.mkdir:()=>!1,useNativeSync=hasNative?opts=>opts.mkdirSync===fs.mkdirSync:()=>!1;module.exports={useNative,useNativeSync}},"./node_modules/mlly/dist lazy recursive":module=>{function webpackEmptyAsyncContext(req){return Promise.resolve().then((()=>{var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}))}webpackEmptyAsyncContext.keys=()=>[],webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext,webpackEmptyAsyncContext.id="./node_modules/mlly/dist lazy recursive",module.exports=webpackEmptyAsyncContext},"./node_modules/object-hash/index.js":(module,exports,__webpack_require__)=>{"use strict";var crypto=__webpack_require__("crypto");function objectHash(object,options){return function(object,options){var hashingStream;hashingStream="passthrough"!==options.algorithm?crypto.createHash(options.algorithm):new PassThrough;void 0===hashingStream.write&&(hashingStream.write=hashingStream.update,hashingStream.end=hashingStream.update);typeHasher(options,hashingStream).dispatch(object),hashingStream.update||hashingStream.end("");if(hashingStream.digest)return hashingStream.digest("buffer"===options.encoding?void 0:options.encoding);var buf=hashingStream.read();if("buffer"===options.encoding)return buf;return buf.toString(options.encoding)}(object,options=applyDefaults(object,options))}(exports=module.exports=objectHash).sha1=function(object){return objectHash(object)},exports.keys=function(object){return objectHash(object,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},exports.MD5=function(object){return objectHash(object,{algorithm:"md5",encoding:"hex"})},exports.keysMD5=function(object){return objectHash(object,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var hashes=crypto.getHashes?crypto.getHashes().slice():["sha1","md5"];hashes.push("passthrough");var encodings=["buffer","hex","binary","base64"];function applyDefaults(object,sourceOptions){sourceOptions=sourceOptions||{};var options={};if(options.algorithm=sourceOptions.algorithm||"sha1",options.encoding=sourceOptions.encoding||"hex",options.excludeValues=!!sourceOptions.excludeValues,options.algorithm=options.algorithm.toLowerCase(),options.encoding=options.encoding.toLowerCase(),options.ignoreUnknown=!0===sourceOptions.ignoreUnknown,options.respectType=!1!==sourceOptions.respectType,options.respectFunctionNames=!1!==sourceOptions.respectFunctionNames,options.respectFunctionProperties=!1!==sourceOptions.respectFunctionProperties,options.unorderedArrays=!0===sourceOptions.unorderedArrays,options.unorderedSets=!1!==sourceOptions.unorderedSets,options.unorderedObjects=!1!==sourceOptions.unorderedObjects,options.replacer=sourceOptions.replacer||void 0,options.excludeKeys=sourceOptions.excludeKeys||void 0,void 0===object)throw new Error("Object argument required.");for(var i=0;i=0)return this.dispatch("[CIRCULAR:"+objectNumber+"]");if(context.push(object),"undefined"!=typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(object))return write("buffer:"),write(object);if("object"===objType||"function"===objType||"asyncfunction"===objType){var keys=Object.keys(object);options.unorderedObjects&&(keys=keys.sort()),!1===options.respectType||isNativeFunction(object)||keys.splice(0,0,"prototype","__proto__","constructor"),options.excludeKeys&&(keys=keys.filter((function(key){return!options.excludeKeys(key)}))),write("object:"+keys.length+":");var self=this;return keys.forEach((function(key){self.dispatch(key),write(":"),options.excludeValues||self.dispatch(object[key]),write(",")}))}if(!this["_"+objType]){if(options.ignoreUnknown)return write("["+objType+"]");throw new Error('Unknown object type "'+objType+'"')}this["_"+objType](object)},_array:function(arr,unordered){unordered=void 0!==unordered?unordered:!1!==options.unorderedArrays;var self=this;if(write("array:"+arr.length+":"),!unordered||arr.length<=1)return arr.forEach((function(entry){return self.dispatch(entry)}));var contextAdditions=[],entries=arr.map((function(entry){var strm=new PassThrough,localContext=context.slice();return typeHasher(options,strm,localContext).dispatch(entry),contextAdditions=contextAdditions.concat(localContext.slice(context.length)),strm.read().toString()}));return context=context.concat(contextAdditions),entries.sort(),this._array(entries,!1)},_date:function(date){return write("date:"+date.toJSON())},_symbol:function(sym){return write("symbol:"+sym.toString())},_error:function(err){return write("error:"+err.toString())},_boolean:function(bool){return write("bool:"+bool.toString())},_string:function(string){write("string:"+string.length+":"),write(string.toString())},_function:function(fn){write("fn:"),isNativeFunction(fn)?this.dispatch("[native]"):this.dispatch(fn.toString()),!1!==options.respectFunctionNames&&this.dispatch("function-name:"+String(fn.name)),options.respectFunctionProperties&&this._object(fn)},_number:function(number){return write("number:"+number.toString())},_xml:function(xml){return write("xml:"+xml.toString())},_null:function(){return write("Null")},_undefined:function(){return write("Undefined")},_regexp:function(regex){return write("regex:"+regex.toString())},_uint8array:function(arr){return write("uint8array:"),this.dispatch(Array.prototype.slice.call(arr))},_uint8clampedarray:function(arr){return write("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(arr))},_int8array:function(arr){return write("uint8array:"),this.dispatch(Array.prototype.slice.call(arr))},_uint16array:function(arr){return write("uint16array:"),this.dispatch(Array.prototype.slice.call(arr))},_int16array:function(arr){return write("uint16array:"),this.dispatch(Array.prototype.slice.call(arr))},_uint32array:function(arr){return write("uint32array:"),this.dispatch(Array.prototype.slice.call(arr))},_int32array:function(arr){return write("uint32array:"),this.dispatch(Array.prototype.slice.call(arr))},_float32array:function(arr){return write("float32array:"),this.dispatch(Array.prototype.slice.call(arr))},_float64array:function(arr){return write("float64array:"),this.dispatch(Array.prototype.slice.call(arr))},_arraybuffer:function(arr){return write("arraybuffer:"),this.dispatch(new Uint8Array(arr))},_url:function(url){return write("url:"+url.toString())},_map:function(map){write("map:");var arr=Array.from(map);return this._array(arr,!1!==options.unorderedSets)},_set:function(set){write("set:");var arr=Array.from(set);return this._array(arr,!1!==options.unorderedSets)},_file:function(file){return write("file:"),this.dispatch([file.name,file.size,file.type,file.lastModfied])},_blob:function(){if(options.ignoreUnknown)return write("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return write("domwindow")},_bigint:function(number){return write("bigint:"+number.toString())},_process:function(){return write("process")},_timer:function(){return write("timer")},_pipe:function(){return write("pipe")},_tcp:function(){return write("tcp")},_udp:function(){return write("udp")},_tty:function(){return write("tty")},_statwatcher:function(){return write("statwatcher")},_securecontext:function(){return write("securecontext")},_connection:function(){return write("connection")},_zlib:function(){return write("zlib")},_context:function(){return write("context")},_nodescript:function(){return write("nodescript")},_httpparser:function(){return write("httpparser")},_dataview:function(){return write("dataview")},_signal:function(){return write("signal")},_fsevent:function(){return write("fsevent")},_tlswrap:function(){return write("tlswrap")}}}function PassThrough(){return{buf:"",write:function(b){this.buf+=b},end:function(b){this.buf+=b},read:function(){return this.buf}}}exports.writeToStream=function(object,options,stream){return void 0===stream&&(stream=options,options={}),typeHasher(options=applyDefaults(object,options),stream).dispatch(object)}},"./node_modules/pirates/lib/index.js":(module,exports,__webpack_require__)=>{"use strict";module=__webpack_require__.nmd(module),Object.defineProperty(exports,"__esModule",{value:!0}),exports.addHook=function(hook,opts={}){let reverted=!1;const loaders=[],oldLoaders=[];let exts;const originalJSLoader=Module._extensions[".js"],matcher=opts.matcher||null,ignoreNodeModules=!1!==opts.ignoreNodeModules;exts=opts.extensions||opts.exts||opts.extension||opts.ext||[".js"],Array.isArray(exts)||(exts=[exts]);return exts.forEach((ext=>{if("string"!=typeof ext)throw new TypeError(`Invalid Extension: ${ext}`);const oldLoader=Module._extensions[ext]||originalJSLoader;oldLoaders[ext]=Module._extensions[ext],loaders[ext]=Module._extensions[ext]=function(mod,filename){let compile;reverted||function(filename,exts,matcher,ignoreNodeModules){if("string"!=typeof filename)return!1;if(-1===exts.indexOf(_path.default.extname(filename)))return!1;const resolvedFilename=_path.default.resolve(filename);if(ignoreNodeModules&&nodeModulesRegex.test(resolvedFilename))return!1;if(matcher&&"function"==typeof matcher)return!!matcher(resolvedFilename);return!0}(filename,exts,matcher,ignoreNodeModules)&&(compile=mod._compile,mod._compile=function(code){mod._compile=compile;const newCode=hook(code,filename);if("string"!=typeof newCode)throw new Error("[Pirates] A hook returned a non-string, or nothing at all! This is a violation of intergalactic law!\n--------------------\nIf 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 mod._compile(newCode,filename)}),oldLoader(mod,filename)}})),function(){reverted||(reverted=!0,exts.forEach((ext=>{Module._extensions[ext]===loaders[ext]&&(oldLoaders[ext]?Module._extensions[ext]=oldLoaders[ext]:delete Module._extensions[ext])})))}};var _module=_interopRequireDefault(__webpack_require__("module")),_path=_interopRequireDefault(__webpack_require__("path"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}const nodeModulesRegex=/^(?:.*[\\/])?node_modules(?:[\\/].*)?$/,Module=module.constructor.length>1?module.constructor:_module.default},"./node_modules/semver/classes/comparator.js":(module,__unused_webpack_exports,__webpack_require__)=>{const ANY=Symbol("SemVer ANY");class Comparator{static get ANY(){return ANY}constructor(comp,options){if(options=parseOptions(options),comp instanceof Comparator){if(comp.loose===!!options.loose)return comp;comp=comp.value}debug("comparator",comp,options),this.options=options,this.loose=!!options.loose,this.parse(comp),this.semver===ANY?this.value="":this.value=this.operator+this.semver.version,debug("comp",this)}parse(comp){const r=this.options.loose?re[t.COMPARATORLOOSE]:re[t.COMPARATOR],m=comp.match(r);if(!m)throw new TypeError(`Invalid comparator: ${comp}`);this.operator=void 0!==m[1]?m[1]:"","="===this.operator&&(this.operator=""),m[2]?this.semver=new SemVer(m[2],this.options.loose):this.semver=ANY}toString(){return this.value}test(version){if(debug("Comparator.test",version,this.options.loose),this.semver===ANY||version===ANY)return!0;if("string"==typeof version)try{version=new SemVer(version,this.options)}catch(er){return!1}return cmp(version,this.operator,this.semver,this.options)}intersects(comp,options){if(!(comp instanceof Comparator))throw new TypeError("a Comparator is required");if(options&&"object"==typeof options||(options={loose:!!options,includePrerelease:!1}),""===this.operator)return""===this.value||new Range(comp.value,options).test(this.value);if(""===comp.operator)return""===comp.value||new Range(this.value,options).test(comp.semver);const sameDirectionIncreasing=!(">="!==this.operator&&">"!==this.operator||">="!==comp.operator&&">"!==comp.operator),sameDirectionDecreasing=!("<="!==this.operator&&"<"!==this.operator||"<="!==comp.operator&&"<"!==comp.operator),sameSemVer=this.semver.version===comp.semver.version,differentDirectionsInclusive=!(">="!==this.operator&&"<="!==this.operator||">="!==comp.operator&&"<="!==comp.operator),oppositeDirectionsLessThan=cmp(this.semver,"<",comp.semver,options)&&(">="===this.operator||">"===this.operator)&&("<="===comp.operator||"<"===comp.operator),oppositeDirectionsGreaterThan=cmp(this.semver,">",comp.semver,options)&&("<="===this.operator||"<"===this.operator)&&(">="===comp.operator||">"===comp.operator);return sameDirectionIncreasing||sameDirectionDecreasing||sameSemVer&&differentDirectionsInclusive||oppositeDirectionsLessThan||oppositeDirectionsGreaterThan}}module.exports=Comparator;const parseOptions=__webpack_require__("./node_modules/semver/internal/parse-options.js"),{re,t}=__webpack_require__("./node_modules/semver/internal/re.js"),cmp=__webpack_require__("./node_modules/semver/functions/cmp.js"),debug=__webpack_require__("./node_modules/semver/internal/debug.js"),SemVer=__webpack_require__("./node_modules/semver/classes/semver.js"),Range=__webpack_require__("./node_modules/semver/classes/range.js")},"./node_modules/semver/classes/range.js":(module,__unused_webpack_exports,__webpack_require__)=>{class Range{constructor(range,options){if(options=parseOptions(options),range instanceof Range)return range.loose===!!options.loose&&range.includePrerelease===!!options.includePrerelease?range:new Range(range.raw,options);if(range instanceof Comparator)return this.raw=range.value,this.set=[[range]],this.format(),this;if(this.options=options,this.loose=!!options.loose,this.includePrerelease=!!options.includePrerelease,this.raw=range,this.set=range.split(/\s*\|\|\s*/).map((range=>this.parseRange(range.trim()))).filter((c=>c.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${range}`);if(this.set.length>1){const first=this.set[0];if(this.set=this.set.filter((c=>!isNullSet(c[0]))),0===this.set.length)this.set=[first];else if(this.set.length>1)for(const c of this.set)if(1===c.length&&isAny(c[0])){this.set=[c];break}}this.format()}format(){return this.range=this.set.map((comps=>comps.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(range){range=range.trim();const memoKey=`parseRange:${Object.keys(this.options).join(",")}:${range}`,cached=cache.get(memoKey);if(cached)return cached;const loose=this.options.loose,hr=loose?re[t.HYPHENRANGELOOSE]:re[t.HYPHENRANGE];range=range.replace(hr,hyphenReplace(this.options.includePrerelease)),debug("hyphen replace",range),range=range.replace(re[t.COMPARATORTRIM],comparatorTrimReplace),debug("comparator trim",range,re[t.COMPARATORTRIM]),range=(range=(range=range.replace(re[t.TILDETRIM],tildeTrimReplace)).replace(re[t.CARETTRIM],caretTrimReplace)).split(/\s+/).join(" ");const compRe=loose?re[t.COMPARATORLOOSE]:re[t.COMPARATOR],rangeList=range.split(" ").map((comp=>parseComparator(comp,this.options))).join(" ").split(/\s+/).map((comp=>replaceGTE0(comp,this.options))).filter(this.options.loose?comp=>!!comp.match(compRe):()=>!0).map((comp=>new Comparator(comp,this.options))),rangeMap=(rangeList.length,new Map);for(const comp of rangeList){if(isNullSet(comp))return[comp];rangeMap.set(comp.value,comp)}rangeMap.size>1&&rangeMap.has("")&&rangeMap.delete("");const result=[...rangeMap.values()];return cache.set(memoKey,result),result}intersects(range,options){if(!(range instanceof Range))throw new TypeError("a Range is required");return this.set.some((thisComparators=>isSatisfiable(thisComparators,options)&&range.set.some((rangeComparators=>isSatisfiable(rangeComparators,options)&&thisComparators.every((thisComparator=>rangeComparators.every((rangeComparator=>thisComparator.intersects(rangeComparator,options)))))))))}test(version){if(!version)return!1;if("string"==typeof version)try{version=new SemVer(version,this.options)}catch(er){return!1}for(let i=0;i"<0.0.0-0"===c.value,isAny=c=>""===c.value,isSatisfiable=(comparators,options)=>{let result=!0;const remainingComparators=comparators.slice();let testComparator=remainingComparators.pop();for(;result&&remainingComparators.length;)result=remainingComparators.every((otherComparator=>testComparator.intersects(otherComparator,options))),testComparator=remainingComparators.pop();return result},parseComparator=(comp,options)=>(debug("comp",comp,options),comp=replaceCarets(comp,options),debug("caret",comp),comp=replaceTildes(comp,options),debug("tildes",comp),comp=replaceXRanges(comp,options),debug("xrange",comp),comp=replaceStars(comp,options),debug("stars",comp),comp),isX=id=>!id||"x"===id.toLowerCase()||"*"===id,replaceTildes=(comp,options)=>comp.trim().split(/\s+/).map((comp=>replaceTilde(comp,options))).join(" "),replaceTilde=(comp,options)=>{const r=options.loose?re[t.TILDELOOSE]:re[t.TILDE];return comp.replace(r,((_,M,m,p,pr)=>{let ret;return debug("tilde",comp,_,M,m,p,pr),isX(M)?ret="":isX(m)?ret=`>=${M}.0.0 <${+M+1}.0.0-0`:isX(p)?ret=`>=${M}.${m}.0 <${M}.${+m+1}.0-0`:pr?(debug("replaceTilde pr",pr),ret=`>=${M}.${m}.${p}-${pr} <${M}.${+m+1}.0-0`):ret=`>=${M}.${m}.${p} <${M}.${+m+1}.0-0`,debug("tilde return",ret),ret}))},replaceCarets=(comp,options)=>comp.trim().split(/\s+/).map((comp=>replaceCaret(comp,options))).join(" "),replaceCaret=(comp,options)=>{debug("caret",comp,options);const r=options.loose?re[t.CARETLOOSE]:re[t.CARET],z=options.includePrerelease?"-0":"";return comp.replace(r,((_,M,m,p,pr)=>{let ret;return debug("caret",comp,_,M,m,p,pr),isX(M)?ret="":isX(m)?ret=`>=${M}.0.0${z} <${+M+1}.0.0-0`:isX(p)?ret="0"===M?`>=${M}.${m}.0${z} <${M}.${+m+1}.0-0`:`>=${M}.${m}.0${z} <${+M+1}.0.0-0`:pr?(debug("replaceCaret pr",pr),ret="0"===M?"0"===m?`>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p+1}-0`:`>=${M}.${m}.${p}-${pr} <${M}.${+m+1}.0-0`:`>=${M}.${m}.${p}-${pr} <${+M+1}.0.0-0`):(debug("no pr"),ret="0"===M?"0"===m?`>=${M}.${m}.${p}${z} <${M}.${m}.${+p+1}-0`:`>=${M}.${m}.${p}${z} <${M}.${+m+1}.0-0`:`>=${M}.${m}.${p} <${+M+1}.0.0-0`),debug("caret return",ret),ret}))},replaceXRanges=(comp,options)=>(debug("replaceXRanges",comp,options),comp.split(/\s+/).map((comp=>replaceXRange(comp,options))).join(" ")),replaceXRange=(comp,options)=>{comp=comp.trim();const r=options.loose?re[t.XRANGELOOSE]:re[t.XRANGE];return comp.replace(r,((ret,gtlt,M,m,p,pr)=>{debug("xRange",comp,ret,gtlt,M,m,p,pr);const xM=isX(M),xm=xM||isX(m),xp=xm||isX(p),anyX=xp;return"="===gtlt&&anyX&&(gtlt=""),pr=options.includePrerelease?"-0":"",xM?ret=">"===gtlt||"<"===gtlt?"<0.0.0-0":"*":gtlt&&anyX?(xm&&(m=0),p=0,">"===gtlt?(gtlt=">=",xm?(M=+M+1,m=0,p=0):(m=+m+1,p=0)):"<="===gtlt&&(gtlt="<",xm?M=+M+1:m=+m+1),"<"===gtlt&&(pr="-0"),ret=`${gtlt+M}.${m}.${p}${pr}`):xm?ret=`>=${M}.0.0${pr} <${+M+1}.0.0-0`:xp&&(ret=`>=${M}.${m}.0${pr} <${M}.${+m+1}.0-0`),debug("xRange return",ret),ret}))},replaceStars=(comp,options)=>(debug("replaceStars",comp,options),comp.trim().replace(re[t.STAR],"")),replaceGTE0=(comp,options)=>(debug("replaceGTE0",comp,options),comp.trim().replace(re[options.includePrerelease?t.GTE0PRE:t.GTE0],"")),hyphenReplace=incPr=>($0,from,fM,fm,fp,fpr,fb,to,tM,tm,tp,tpr,tb)=>`${from=isX(fM)?"":isX(fm)?`>=${fM}.0.0${incPr?"-0":""}`:isX(fp)?`>=${fM}.${fm}.0${incPr?"-0":""}`:fpr?`>=${from}`:`>=${from}${incPr?"-0":""}`} ${to=isX(tM)?"":isX(tm)?`<${+tM+1}.0.0-0`:isX(tp)?`<${tM}.${+tm+1}.0-0`:tpr?`<=${tM}.${tm}.${tp}-${tpr}`:incPr?`<${tM}.${tm}.${+tp+1}-0`:`<=${to}`}`.trim(),testSet=(set,version,options)=>{for(let i=0;i0){const allowed=set[i].semver;if(allowed.major===version.major&&allowed.minor===version.minor&&allowed.patch===version.patch)return!0}return!1}return!0}},"./node_modules/semver/classes/semver.js":(module,__unused_webpack_exports,__webpack_require__)=>{const debug=__webpack_require__("./node_modules/semver/internal/debug.js"),{MAX_LENGTH,MAX_SAFE_INTEGER}=__webpack_require__("./node_modules/semver/internal/constants.js"),{re,t}=__webpack_require__("./node_modules/semver/internal/re.js"),parseOptions=__webpack_require__("./node_modules/semver/internal/parse-options.js"),{compareIdentifiers}=__webpack_require__("./node_modules/semver/internal/identifiers.js");class SemVer{constructor(version,options){if(options=parseOptions(options),version instanceof SemVer){if(version.loose===!!options.loose&&version.includePrerelease===!!options.includePrerelease)return version;version=version.version}else if("string"!=typeof version)throw new TypeError(`Invalid Version: ${version}`);if(version.length>MAX_LENGTH)throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);debug("SemVer",version,options),this.options=options,this.loose=!!options.loose,this.includePrerelease=!!options.includePrerelease;const m=version.trim().match(options.loose?re[t.LOOSE]:re[t.FULL]);if(!m)throw new TypeError(`Invalid Version: ${version}`);if(this.raw=version,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>MAX_SAFE_INTEGER||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map((id=>{if(/^[0-9]+$/.test(id)){const num=+id;if(num>=0&&num=0;)"number"==typeof this.prerelease[i]&&(this.prerelease[i]++,i=-2);-1===i&&this.prerelease.push(0)}identifier&&(this.prerelease[0]===identifier?isNaN(this.prerelease[1])&&(this.prerelease=[identifier,0]):this.prerelease=[identifier,0]);break;default:throw new Error(`invalid increment argument: ${release}`)}return this.format(),this.raw=this.version,this}}module.exports=SemVer},"./node_modules/semver/functions/clean.js":(module,__unused_webpack_exports,__webpack_require__)=>{const parse=__webpack_require__("./node_modules/semver/functions/parse.js");module.exports=(version,options)=>{const s=parse(version.trim().replace(/^[=v]+/,""),options);return s?s.version:null}},"./node_modules/semver/functions/cmp.js":(module,__unused_webpack_exports,__webpack_require__)=>{const eq=__webpack_require__("./node_modules/semver/functions/eq.js"),neq=__webpack_require__("./node_modules/semver/functions/neq.js"),gt=__webpack_require__("./node_modules/semver/functions/gt.js"),gte=__webpack_require__("./node_modules/semver/functions/gte.js"),lt=__webpack_require__("./node_modules/semver/functions/lt.js"),lte=__webpack_require__("./node_modules/semver/functions/lte.js");module.exports=(a,op,b,loose)=>{switch(op){case"===":return"object"==typeof a&&(a=a.version),"object"==typeof b&&(b=b.version),a===b;case"!==":return"object"==typeof a&&(a=a.version),"object"==typeof b&&(b=b.version),a!==b;case"":case"=":case"==":return eq(a,b,loose);case"!=":return neq(a,b,loose);case">":return gt(a,b,loose);case">=":return gte(a,b,loose);case"<":return lt(a,b,loose);case"<=":return lte(a,b,loose);default:throw new TypeError(`Invalid operator: ${op}`)}}},"./node_modules/semver/functions/coerce.js":(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__("./node_modules/semver/classes/semver.js"),parse=__webpack_require__("./node_modules/semver/functions/parse.js"),{re,t}=__webpack_require__("./node_modules/semver/internal/re.js");module.exports=(version,options)=>{if(version instanceof SemVer)return version;if("number"==typeof version&&(version=String(version)),"string"!=typeof version)return null;let match=null;if((options=options||{}).rtl){let next;for(;(next=re[t.COERCERTL].exec(version))&&(!match||match.index+match[0].length!==version.length);)match&&next.index+next[0].length===match.index+match[0].length||(match=next),re[t.COERCERTL].lastIndex=next.index+next[1].length+next[2].length;re[t.COERCERTL].lastIndex=-1}else match=version.match(re[t.COERCE]);return null===match?null:parse(`${match[2]}.${match[3]||"0"}.${match[4]||"0"}`,options)}},"./node_modules/semver/functions/compare-build.js":(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__("./node_modules/semver/classes/semver.js");module.exports=(a,b,loose)=>{const versionA=new SemVer(a,loose),versionB=new SemVer(b,loose);return versionA.compare(versionB)||versionA.compareBuild(versionB)}},"./node_modules/semver/functions/compare-loose.js":(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__("./node_modules/semver/functions/compare.js");module.exports=(a,b)=>compare(a,b,!0)},"./node_modules/semver/functions/compare.js":(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__("./node_modules/semver/classes/semver.js");module.exports=(a,b,loose)=>new SemVer(a,loose).compare(new SemVer(b,loose))},"./node_modules/semver/functions/diff.js":(module,__unused_webpack_exports,__webpack_require__)=>{const parse=__webpack_require__("./node_modules/semver/functions/parse.js"),eq=__webpack_require__("./node_modules/semver/functions/eq.js");module.exports=(version1,version2)=>{if(eq(version1,version2))return null;{const v1=parse(version1),v2=parse(version2),hasPre=v1.prerelease.length||v2.prerelease.length,prefix=hasPre?"pre":"",defaultResult=hasPre?"prerelease":"";for(const key in v1)if(("major"===key||"minor"===key||"patch"===key)&&v1[key]!==v2[key])return prefix+key;return defaultResult}}},"./node_modules/semver/functions/eq.js":(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__("./node_modules/semver/functions/compare.js");module.exports=(a,b,loose)=>0===compare(a,b,loose)},"./node_modules/semver/functions/gt.js":(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__("./node_modules/semver/functions/compare.js");module.exports=(a,b,loose)=>compare(a,b,loose)>0},"./node_modules/semver/functions/gte.js":(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__("./node_modules/semver/functions/compare.js");module.exports=(a,b,loose)=>compare(a,b,loose)>=0},"./node_modules/semver/functions/inc.js":(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__("./node_modules/semver/classes/semver.js");module.exports=(version,release,options,identifier)=>{"string"==typeof options&&(identifier=options,options=void 0);try{return new SemVer(version,options).inc(release,identifier).version}catch(er){return null}}},"./node_modules/semver/functions/lt.js":(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__("./node_modules/semver/functions/compare.js");module.exports=(a,b,loose)=>compare(a,b,loose)<0},"./node_modules/semver/functions/lte.js":(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__("./node_modules/semver/functions/compare.js");module.exports=(a,b,loose)=>compare(a,b,loose)<=0},"./node_modules/semver/functions/major.js":(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__("./node_modules/semver/classes/semver.js");module.exports=(a,loose)=>new SemVer(a,loose).major},"./node_modules/semver/functions/minor.js":(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__("./node_modules/semver/classes/semver.js");module.exports=(a,loose)=>new SemVer(a,loose).minor},"./node_modules/semver/functions/neq.js":(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__("./node_modules/semver/functions/compare.js");module.exports=(a,b,loose)=>0!==compare(a,b,loose)},"./node_modules/semver/functions/parse.js":(module,__unused_webpack_exports,__webpack_require__)=>{const{MAX_LENGTH}=__webpack_require__("./node_modules/semver/internal/constants.js"),{re,t}=__webpack_require__("./node_modules/semver/internal/re.js"),SemVer=__webpack_require__("./node_modules/semver/classes/semver.js"),parseOptions=__webpack_require__("./node_modules/semver/internal/parse-options.js");module.exports=(version,options)=>{if(options=parseOptions(options),version instanceof SemVer)return version;if("string"!=typeof version)return null;if(version.length>MAX_LENGTH)return null;if(!(options.loose?re[t.LOOSE]:re[t.FULL]).test(version))return null;try{return new SemVer(version,options)}catch(er){return null}}},"./node_modules/semver/functions/patch.js":(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__("./node_modules/semver/classes/semver.js");module.exports=(a,loose)=>new SemVer(a,loose).patch},"./node_modules/semver/functions/prerelease.js":(module,__unused_webpack_exports,__webpack_require__)=>{const parse=__webpack_require__("./node_modules/semver/functions/parse.js");module.exports=(version,options)=>{const parsed=parse(version,options);return parsed&&parsed.prerelease.length?parsed.prerelease:null}},"./node_modules/semver/functions/rcompare.js":(module,__unused_webpack_exports,__webpack_require__)=>{const compare=__webpack_require__("./node_modules/semver/functions/compare.js");module.exports=(a,b,loose)=>compare(b,a,loose)},"./node_modules/semver/functions/rsort.js":(module,__unused_webpack_exports,__webpack_require__)=>{const compareBuild=__webpack_require__("./node_modules/semver/functions/compare-build.js");module.exports=(list,loose)=>list.sort(((a,b)=>compareBuild(b,a,loose)))},"./node_modules/semver/functions/satisfies.js":(module,__unused_webpack_exports,__webpack_require__)=>{const Range=__webpack_require__("./node_modules/semver/classes/range.js");module.exports=(version,range,options)=>{try{range=new Range(range,options)}catch(er){return!1}return range.test(version)}},"./node_modules/semver/functions/sort.js":(module,__unused_webpack_exports,__webpack_require__)=>{const compareBuild=__webpack_require__("./node_modules/semver/functions/compare-build.js");module.exports=(list,loose)=>list.sort(((a,b)=>compareBuild(a,b,loose)))},"./node_modules/semver/functions/valid.js":(module,__unused_webpack_exports,__webpack_require__)=>{const parse=__webpack_require__("./node_modules/semver/functions/parse.js");module.exports=(version,options)=>{const v=parse(version,options);return v?v.version:null}},"./node_modules/semver/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{const internalRe=__webpack_require__("./node_modules/semver/internal/re.js");module.exports={re:internalRe.re,src:internalRe.src,tokens:internalRe.t,SEMVER_SPEC_VERSION:__webpack_require__("./node_modules/semver/internal/constants.js").SEMVER_SPEC_VERSION,SemVer:__webpack_require__("./node_modules/semver/classes/semver.js"),compareIdentifiers:__webpack_require__("./node_modules/semver/internal/identifiers.js").compareIdentifiers,rcompareIdentifiers:__webpack_require__("./node_modules/semver/internal/identifiers.js").rcompareIdentifiers,parse:__webpack_require__("./node_modules/semver/functions/parse.js"),valid:__webpack_require__("./node_modules/semver/functions/valid.js"),clean:__webpack_require__("./node_modules/semver/functions/clean.js"),inc:__webpack_require__("./node_modules/semver/functions/inc.js"),diff:__webpack_require__("./node_modules/semver/functions/diff.js"),major:__webpack_require__("./node_modules/semver/functions/major.js"),minor:__webpack_require__("./node_modules/semver/functions/minor.js"),patch:__webpack_require__("./node_modules/semver/functions/patch.js"),prerelease:__webpack_require__("./node_modules/semver/functions/prerelease.js"),compare:__webpack_require__("./node_modules/semver/functions/compare.js"),rcompare:__webpack_require__("./node_modules/semver/functions/rcompare.js"),compareLoose:__webpack_require__("./node_modules/semver/functions/compare-loose.js"),compareBuild:__webpack_require__("./node_modules/semver/functions/compare-build.js"),sort:__webpack_require__("./node_modules/semver/functions/sort.js"),rsort:__webpack_require__("./node_modules/semver/functions/rsort.js"),gt:__webpack_require__("./node_modules/semver/functions/gt.js"),lt:__webpack_require__("./node_modules/semver/functions/lt.js"),eq:__webpack_require__("./node_modules/semver/functions/eq.js"),neq:__webpack_require__("./node_modules/semver/functions/neq.js"),gte:__webpack_require__("./node_modules/semver/functions/gte.js"),lte:__webpack_require__("./node_modules/semver/functions/lte.js"),cmp:__webpack_require__("./node_modules/semver/functions/cmp.js"),coerce:__webpack_require__("./node_modules/semver/functions/coerce.js"),Comparator:__webpack_require__("./node_modules/semver/classes/comparator.js"),Range:__webpack_require__("./node_modules/semver/classes/range.js"),satisfies:__webpack_require__("./node_modules/semver/functions/satisfies.js"),toComparators:__webpack_require__("./node_modules/semver/ranges/to-comparators.js"),maxSatisfying:__webpack_require__("./node_modules/semver/ranges/max-satisfying.js"),minSatisfying:__webpack_require__("./node_modules/semver/ranges/min-satisfying.js"),minVersion:__webpack_require__("./node_modules/semver/ranges/min-version.js"),validRange:__webpack_require__("./node_modules/semver/ranges/valid.js"),outside:__webpack_require__("./node_modules/semver/ranges/outside.js"),gtr:__webpack_require__("./node_modules/semver/ranges/gtr.js"),ltr:__webpack_require__("./node_modules/semver/ranges/ltr.js"),intersects:__webpack_require__("./node_modules/semver/ranges/intersects.js"),simplifyRange:__webpack_require__("./node_modules/semver/ranges/simplify.js"),subset:__webpack_require__("./node_modules/semver/ranges/subset.js")}},"./node_modules/semver/internal/constants.js":module=>{const MAX_SAFE_INTEGER=Number.MAX_SAFE_INTEGER||9007199254740991;module.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER,MAX_SAFE_COMPONENT_LENGTH:16}},"./node_modules/semver/internal/debug.js":module=>{const debug="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...args)=>console.error("SEMVER",...args):()=>{};module.exports=debug},"./node_modules/semver/internal/identifiers.js":module=>{const numeric=/^[0-9]+$/,compareIdentifiers=(a,b)=>{const anum=numeric.test(a),bnum=numeric.test(b);return anum&&bnum&&(a=+a,b=+b),a===b?0:anum&&!bnum?-1:bnum&&!anum?1:acompareIdentifiers(b,a)}},"./node_modules/semver/internal/parse-options.js":module=>{const opts=["includePrerelease","loose","rtl"];module.exports=options=>options?"object"!=typeof options?{loose:!0}:opts.filter((k=>options[k])).reduce(((options,k)=>(options[k]=!0,options)),{}):{}},"./node_modules/semver/internal/re.js":(module,exports,__webpack_require__)=>{const{MAX_SAFE_COMPONENT_LENGTH}=__webpack_require__("./node_modules/semver/internal/constants.js"),debug=__webpack_require__("./node_modules/semver/internal/debug.js"),re=(exports=module.exports={}).re=[],src=exports.src=[],t=exports.t={};let R=0;const createToken=(name,value,isGlobal)=>{const index=R++;debug(index,value),t[name]=index,src[index]=value,re[index]=new RegExp(value,isGlobal?"g":void 0)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*"),createToken("NUMERICIDENTIFIERLOOSE","[0-9]+"),createToken("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),createToken("MAINVERSION",`(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`),createToken("MAINVERSIONLOOSE",`(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`),createToken("PRERELEASEIDENTIFIER",`(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`),createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`),createToken("PRERELEASE",`(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`),createToken("PRERELEASELOOSE",`(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`),createToken("BUILDIDENTIFIER","[0-9A-Za-z-]+"),createToken("BUILD",`(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`),createToken("FULLPLAIN",`v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`),createToken("FULL",`^${src[t.FULLPLAIN]}$`),createToken("LOOSEPLAIN",`[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`),createToken("LOOSE",`^${src[t.LOOSEPLAIN]}$`),createToken("GTLT","((?:<|>)?=?)"),createToken("XRANGEIDENTIFIERLOOSE",`${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),createToken("XRANGEIDENTIFIER",`${src[t.NUMERICIDENTIFIER]}|x|X|\\*`),createToken("XRANGEPLAIN",`[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`),createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`),createToken("XRANGE",`^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`),createToken("XRANGELOOSE",`^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`),createToken("COERCE",`(^|[^\\d])(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:$|[^\\d])`),createToken("COERCERTL",src[t.COERCE],!0),createToken("LONETILDE","(?:~>?)"),createToken("TILDETRIM",`(\\s*)${src[t.LONETILDE]}\\s+`,!0),exports.tildeTrimReplace="$1~",createToken("TILDE",`^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`),createToken("TILDELOOSE",`^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`),createToken("LONECARET","(?:\\^)"),createToken("CARETTRIM",`(\\s*)${src[t.LONECARET]}\\s+`,!0),exports.caretTrimReplace="$1^",createToken("CARET",`^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`),createToken("CARETLOOSE",`^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`),createToken("COMPARATORLOOSE",`^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`),createToken("COMPARATOR",`^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`),createToken("COMPARATORTRIM",`(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`,!0),exports.comparatorTrimReplace="$1$2$3",createToken("HYPHENRANGE",`^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`),createToken("HYPHENRANGELOOSE",`^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`),createToken("STAR","(<|>)?=?\\s*\\*"),createToken("GTE0","^\\s*>=\\s*0.0.0\\s*$"),createToken("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},"./node_modules/semver/ranges/gtr.js":(module,__unused_webpack_exports,__webpack_require__)=>{const outside=__webpack_require__("./node_modules/semver/ranges/outside.js");module.exports=(version,range,options)=>outside(version,range,">",options)},"./node_modules/semver/ranges/intersects.js":(module,__unused_webpack_exports,__webpack_require__)=>{const Range=__webpack_require__("./node_modules/semver/classes/range.js");module.exports=(r1,r2,options)=>(r1=new Range(r1,options),r2=new Range(r2,options),r1.intersects(r2))},"./node_modules/semver/ranges/ltr.js":(module,__unused_webpack_exports,__webpack_require__)=>{const outside=__webpack_require__("./node_modules/semver/ranges/outside.js");module.exports=(version,range,options)=>outside(version,range,"<",options)},"./node_modules/semver/ranges/max-satisfying.js":(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__("./node_modules/semver/classes/semver.js"),Range=__webpack_require__("./node_modules/semver/classes/range.js");module.exports=(versions,range,options)=>{let max=null,maxSV=null,rangeObj=null;try{rangeObj=new Range(range,options)}catch(er){return null}return versions.forEach((v=>{rangeObj.test(v)&&(max&&-1!==maxSV.compare(v)||(max=v,maxSV=new SemVer(max,options)))})),max}},"./node_modules/semver/ranges/min-satisfying.js":(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__("./node_modules/semver/classes/semver.js"),Range=__webpack_require__("./node_modules/semver/classes/range.js");module.exports=(versions,range,options)=>{let min=null,minSV=null,rangeObj=null;try{rangeObj=new Range(range,options)}catch(er){return null}return versions.forEach((v=>{rangeObj.test(v)&&(min&&1!==minSV.compare(v)||(min=v,minSV=new SemVer(min,options)))})),min}},"./node_modules/semver/ranges/min-version.js":(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__("./node_modules/semver/classes/semver.js"),Range=__webpack_require__("./node_modules/semver/classes/range.js"),gt=__webpack_require__("./node_modules/semver/functions/gt.js");module.exports=(range,loose)=>{range=new Range(range,loose);let minver=new SemVer("0.0.0");if(range.test(minver))return minver;if(minver=new SemVer("0.0.0-0"),range.test(minver))return minver;minver=null;for(let i=0;i{const compver=new SemVer(comparator.semver.version);switch(comparator.operator){case">":0===compver.prerelease.length?compver.patch++:compver.prerelease.push(0),compver.raw=compver.format();case"":case">=":setMin&&!gt(compver,setMin)||(setMin=compver);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${comparator.operator}`)}})),!setMin||minver&&!gt(minver,setMin)||(minver=setMin)}return minver&&range.test(minver)?minver:null}},"./node_modules/semver/ranges/outside.js":(module,__unused_webpack_exports,__webpack_require__)=>{const SemVer=__webpack_require__("./node_modules/semver/classes/semver.js"),Comparator=__webpack_require__("./node_modules/semver/classes/comparator.js"),{ANY}=Comparator,Range=__webpack_require__("./node_modules/semver/classes/range.js"),satisfies=__webpack_require__("./node_modules/semver/functions/satisfies.js"),gt=__webpack_require__("./node_modules/semver/functions/gt.js"),lt=__webpack_require__("./node_modules/semver/functions/lt.js"),lte=__webpack_require__("./node_modules/semver/functions/lte.js"),gte=__webpack_require__("./node_modules/semver/functions/gte.js");module.exports=(version,range,hilo,options)=>{let gtfn,ltefn,ltfn,comp,ecomp;switch(version=new SemVer(version,options),range=new Range(range,options),hilo){case">":gtfn=gt,ltefn=lte,ltfn=lt,comp=">",ecomp=">=";break;case"<":gtfn=lt,ltefn=gte,ltfn=gt,comp="<",ecomp="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(version,range,options))return!1;for(let i=0;i{comparator.semver===ANY&&(comparator=new Comparator(">=0.0.0")),high=high||comparator,low=low||comparator,gtfn(comparator.semver,high.semver,options)?high=comparator:ltfn(comparator.semver,low.semver,options)&&(low=comparator)})),high.operator===comp||high.operator===ecomp)return!1;if((!low.operator||low.operator===comp)&<efn(version,low.semver))return!1;if(low.operator===ecomp&<fn(version,low.semver))return!1}return!0}},"./node_modules/semver/ranges/simplify.js":(module,__unused_webpack_exports,__webpack_require__)=>{const satisfies=__webpack_require__("./node_modules/semver/functions/satisfies.js"),compare=__webpack_require__("./node_modules/semver/functions/compare.js");module.exports=(versions,range,options)=>{const set=[];let min=null,prev=null;const v=versions.sort(((a,b)=>compare(a,b,options)));for(const version of v){satisfies(version,range,options)?(prev=version,min||(min=version)):(prev&&set.push([min,prev]),prev=null,min=null)}min&&set.push([min,null]);const ranges=[];for(const[min,max]of set)min===max?ranges.push(min):max||min!==v[0]?max?min===v[0]?ranges.push(`<=${max}`):ranges.push(`${min} - ${max}`):ranges.push(`>=${min}`):ranges.push("*");const simplified=ranges.join(" || "),original="string"==typeof range.raw?range.raw:String(range);return simplified.length{const Range=__webpack_require__("./node_modules/semver/classes/range.js"),Comparator=__webpack_require__("./node_modules/semver/classes/comparator.js"),{ANY}=Comparator,satisfies=__webpack_require__("./node_modules/semver/functions/satisfies.js"),compare=__webpack_require__("./node_modules/semver/functions/compare.js"),simpleSubset=(sub,dom,options)=>{if(sub===dom)return!0;if(1===sub.length&&sub[0].semver===ANY){if(1===dom.length&&dom[0].semver===ANY)return!0;sub=options.includePrerelease?[new Comparator(">=0.0.0-0")]:[new Comparator(">=0.0.0")]}if(1===dom.length&&dom[0].semver===ANY){if(options.includePrerelease)return!0;dom=[new Comparator(">=0.0.0")]}const eqSet=new Set;let gt,lt,gtltComp,higher,lower,hasDomLT,hasDomGT;for(const c of sub)">"===c.operator||">="===c.operator?gt=higherGT(gt,c,options):"<"===c.operator||"<="===c.operator?lt=lowerLT(lt,c,options):eqSet.add(c.semver);if(eqSet.size>1)return null;if(gt&<){if(gtltComp=compare(gt.semver,lt.semver,options),gtltComp>0)return null;if(0===gtltComp&&(">="!==gt.operator||"<="!==lt.operator))return null}for(const eq of eqSet){if(gt&&!satisfies(eq,String(gt),options))return null;if(lt&&!satisfies(eq,String(lt),options))return null;for(const c of dom)if(!satisfies(eq,String(c),options))return!1;return!0}let needDomLTPre=!(!lt||options.includePrerelease||!lt.semver.prerelease.length)&<.semver,needDomGTPre=!(!gt||options.includePrerelease||!gt.semver.prerelease.length)&>.semver;needDomLTPre&&1===needDomLTPre.prerelease.length&&"<"===lt.operator&&0===needDomLTPre.prerelease[0]&&(needDomLTPre=!1);for(const c of dom){if(hasDomGT=hasDomGT||">"===c.operator||">="===c.operator,hasDomLT=hasDomLT||"<"===c.operator||"<="===c.operator,gt)if(needDomGTPre&&c.semver.prerelease&&c.semver.prerelease.length&&c.semver.major===needDomGTPre.major&&c.semver.minor===needDomGTPre.minor&&c.semver.patch===needDomGTPre.patch&&(needDomGTPre=!1),">"===c.operator||">="===c.operator){if(higher=higherGT(gt,c,options),higher===c&&higher!==gt)return!1}else if(">="===gt.operator&&!satisfies(gt.semver,String(c),options))return!1;if(lt)if(needDomLTPre&&c.semver.prerelease&&c.semver.prerelease.length&&c.semver.major===needDomLTPre.major&&c.semver.minor===needDomLTPre.minor&&c.semver.patch===needDomLTPre.patch&&(needDomLTPre=!1),"<"===c.operator||"<="===c.operator){if(lower=lowerLT(lt,c,options),lower===c&&lower!==lt)return!1}else if("<="===lt.operator&&!satisfies(lt.semver,String(c),options))return!1;if(!c.operator&&(lt||gt)&&0!==gtltComp)return!1}return!(gt&&hasDomLT&&!lt&&0!==gtltComp)&&(!(lt&&hasDomGT&&!gt&&0!==gtltComp)&&(!needDomGTPre&&!needDomLTPre))},higherGT=(a,b,options)=>{if(!a)return b;const comp=compare(a.semver,b.semver,options);return comp>0?a:comp<0||">"===b.operator&&">="===a.operator?b:a},lowerLT=(a,b,options)=>{if(!a)return b;const comp=compare(a.semver,b.semver,options);return comp<0?a:comp>0||"<"===b.operator&&"<="===a.operator?b:a};module.exports=(sub,dom,options={})=>{if(sub===dom)return!0;sub=new Range(sub,options),dom=new Range(dom,options);let sawNonNull=!1;OUTER:for(const simpleSub of sub.set){for(const simpleDom of dom.set){const isSub=simpleSubset(simpleSub,simpleDom,options);if(sawNonNull=sawNonNull||null!==isSub,isSub)continue OUTER}if(sawNonNull)return!1}return!0}},"./node_modules/semver/ranges/to-comparators.js":(module,__unused_webpack_exports,__webpack_require__)=>{const Range=__webpack_require__("./node_modules/semver/classes/range.js");module.exports=(range,options)=>new Range(range,options).set.map((comp=>comp.map((c=>c.value)).join(" ").trim().split(" ")))},"./node_modules/semver/ranges/valid.js":(module,__unused_webpack_exports,__webpack_require__)=>{const Range=__webpack_require__("./node_modules/semver/classes/range.js");module.exports=(range,options)=>{try{return new Range(range,options).range||"*"}catch(er){return null}}},"./node_modules/yallist/iterator.js":module=>{"use strict";module.exports=function(Yallist){Yallist.prototype[Symbol.iterator]=function*(){for(let walker=this.head;walker;walker=walker.next)yield walker.value}}},"./node_modules/yallist/yallist.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";function Yallist(list){var self=this;if(self instanceof Yallist||(self=new Yallist),self.tail=null,self.head=null,self.length=0,list&&"function"==typeof list.forEach)list.forEach((function(item){self.push(item)}));else if(arguments.length>0)for(var i=0,l=arguments.length;i1)acc=initial;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");walker=this.head.next,acc=this.head.value}for(var i=0;null!==walker;i++)acc=fn(acc,walker.value,i),walker=walker.next;return acc},Yallist.prototype.reduceReverse=function(fn,initial){var acc,walker=this.tail;if(arguments.length>1)acc=initial;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");walker=this.tail.prev,acc=this.tail.value}for(var i=this.length-1;null!==walker;i--)acc=fn(acc,walker.value,i),walker=walker.prev;return acc},Yallist.prototype.toArray=function(){for(var arr=new Array(this.length),i=0,walker=this.head;null!==walker;i++)arr[i]=walker.value,walker=walker.next;return arr},Yallist.prototype.toArrayReverse=function(){for(var arr=new Array(this.length),i=0,walker=this.tail;null!==walker;i++)arr[i]=walker.value,walker=walker.prev;return arr},Yallist.prototype.slice=function(from,to){(to=to||this.length)<0&&(to+=this.length),(from=from||0)<0&&(from+=this.length);var ret=new Yallist;if(tothis.length&&(to=this.length);for(var i=0,walker=this.head;null!==walker&&ithis.length&&(to=this.length);for(var i=this.length,walker=this.tail;null!==walker&&i>to;i--)walker=walker.prev;for(;null!==walker&&i>from;i--,walker=walker.prev)ret.push(walker.value);return ret},Yallist.prototype.splice=function(start,deleteCount,...nodes){start>this.length&&(start=this.length-1),start<0&&(start=this.length+start);for(var i=0,walker=this.head;null!==walker&&i{"use strict";module.exports=require("crypto")},fs:module=>{"use strict";module.exports=require("fs")},module:module=>{"use strict";module.exports=require("module")},path:module=>{"use strict";module.exports=require("path")},util:module=>{"use strict";module.exports=require("util")}},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module=__webpack_module_cache__[moduleId]={id:moduleId,loaded:!1,exports:{}};return __webpack_modules__[moduleId](module,module.exports,__webpack_require__),module.loaded=!0,module.exports}__webpack_require__.n=module=>{var getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},__webpack_require__.d=(exports,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),__webpack_require__.nmd=module=>(module.paths=[],module.children||(module.children=[]),module);var __webpack_exports__={};(()=>{"use strict";__webpack_require__.d(__webpack_exports__,{default:()=>createJITI});var external_fs_=__webpack_require__("fs"),external_module_=__webpack_require__("module"),external_path_=__webpack_require__("path");const external_os_namespaceObject=require("os"),external_vm_namespaceObject=require("vm");var external_vm_default=__webpack_require__.n(external_vm_namespaceObject);const external_url_namespaceObject=require("url");var mkdirp=__webpack_require__("./node_modules/mkdirp/index.js");const suspectProtoRx=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,suspectConstructorRx=/"(?: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*:/,JsonSigRx=/^["{[]|^-?[0-9][0-9.]{0,14}$/;function jsonParseTransform(key,value){if("__proto__"!==key&&"constructor"!==key)return value}const dist=function(val){if("string"!=typeof val)return val;const _lval=val.toLowerCase();if("true"===_lval)return!0;if("false"===_lval)return!1;if("null"===_lval)return null;if("nan"===_lval)return NaN;if("infinity"===_lval)return 1/0;if("undefined"!==_lval){if(!JsonSigRx.test(val))return val;try{return suspectProtoRx.test(val)||suspectConstructorRx.test(val)?JSON.parse(val,jsonParseTransform):JSON.parse(val)}catch(_e){return val}}};var create_require=__webpack_require__("./node_modules/create-require/create-require.js"),create_require_default=__webpack_require__.n(create_require),semver=__webpack_require__("./node_modules/semver/index.js"),lib=__webpack_require__("./node_modules/pirates/lib/index.js"),object_hash=__webpack_require__("./node_modules/object-hash/index.js"),object_hash_default=__webpack_require__.n(object_hash);const external_assert_namespaceObject=require("assert");var external_util_=__webpack_require__("util");const BUILTIN_MODULES$1=new Set(external_module_.builtinModules);function normalizeSlash$1(str){return str.replace(/\\/g,"/")}function fileURLToPath$1(id){return"string"!=typeof id||id.startsWith("file://")?normalizeSlash$1((0,external_url_namespaceObject.fileURLToPath)(id)):normalizeSlash$1(id)}const _IS_ABSOLUTE_RE$1=/^\/|^\\|^[a-zA-Z]:[/\\]/;const isAbsolute$1=function(p){return _IS_ABSOLUTE_RE$1.test(p)};var re$b={exports:{}};var constants$1={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16};var debug_1$1="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...args)=>console.error("SEMVER",...args):()=>{};!function(module,exports){const{MAX_SAFE_COMPONENT_LENGTH}=constants$1,debug=debug_1$1,re=(exports=module.exports={}).re=[],src=exports.src=[],t=exports.t={};let R=0;const createToken=(name,value,isGlobal)=>{const index=R++;debug(index,value),t[name]=index,src[index]=value,re[index]=new RegExp(value,isGlobal?"g":void 0)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*"),createToken("NUMERICIDENTIFIERLOOSE","[0-9]+"),createToken("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),createToken("MAINVERSION",`(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`),createToken("MAINVERSIONLOOSE",`(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`),createToken("PRERELEASEIDENTIFIER",`(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`),createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`),createToken("PRERELEASE",`(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`),createToken("PRERELEASELOOSE",`(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`),createToken("BUILDIDENTIFIER","[0-9A-Za-z-]+"),createToken("BUILD",`(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`),createToken("FULLPLAIN",`v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`),createToken("FULL",`^${src[t.FULLPLAIN]}$`),createToken("LOOSEPLAIN",`[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`),createToken("LOOSE",`^${src[t.LOOSEPLAIN]}$`),createToken("GTLT","((?:<|>)?=?)"),createToken("XRANGEIDENTIFIERLOOSE",`${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),createToken("XRANGEIDENTIFIER",`${src[t.NUMERICIDENTIFIER]}|x|X|\\*`),createToken("XRANGEPLAIN",`[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`),createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`),createToken("XRANGE",`^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`),createToken("XRANGELOOSE",`^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`),createToken("COERCE",`(^|[^\\d])(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:$|[^\\d])`),createToken("COERCERTL",src[t.COERCE],!0),createToken("LONETILDE","(?:~>?)"),createToken("TILDETRIM",`(\\s*)${src[t.LONETILDE]}\\s+`,!0),exports.tildeTrimReplace="$1~",createToken("TILDE",`^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`),createToken("TILDELOOSE",`^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`),createToken("LONECARET","(?:\\^)"),createToken("CARETTRIM",`(\\s*)${src[t.LONECARET]}\\s+`,!0),exports.caretTrimReplace="$1^",createToken("CARET",`^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`),createToken("CARETLOOSE",`^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`),createToken("COMPARATORLOOSE",`^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`),createToken("COMPARATOR",`^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`),createToken("COMPARATORTRIM",`(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`,!0),exports.comparatorTrimReplace="$1$2$3",createToken("HYPHENRANGE",`^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`),createToken("HYPHENRANGELOOSE",`^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`),createToken("STAR","(<|>)?=?\\s*\\*"),createToken("GTE0","^\\s*>=\\s*0.0.0\\s*$"),createToken("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}(re$b,re$b.exports);const opts$1=["includePrerelease","loose","rtl"];var parseOptions_1$1=options=>options?"object"!=typeof options?{loose:!0}:opts$1.filter((k=>options[k])).reduce(((options,k)=>(options[k]=!0,options)),{}):{};const numeric$1=/^[0-9]+$/,compareIdentifiers$3=(a,b)=>{const anum=numeric$1.test(a),bnum=numeric$1.test(b);return anum&&bnum&&(a=+a,b=+b),a===b?0:anum&&!bnum?-1:bnum&&!anum?1:acompareIdentifiers$3(b,a)};const debug$6=debug_1$1,{MAX_LENGTH:MAX_LENGTH$4,MAX_SAFE_INTEGER:MAX_SAFE_INTEGER$2}=constants$1,{re:re$a,t:t$9}=re$b.exports,parseOptions$8=parseOptions_1$1,{compareIdentifiers:compareIdentifiers$2}=identifiers$1;class SemVer$t{constructor(version,options){if(options=parseOptions$8(options),version instanceof SemVer$t){if(version.loose===!!options.loose&&version.includePrerelease===!!options.includePrerelease)return version;version=version.version}else if("string"!=typeof version)throw new TypeError(`Invalid Version: ${version}`);if(version.length>MAX_LENGTH$4)throw new TypeError(`version is longer than ${MAX_LENGTH$4} characters`);debug$6("SemVer",version,options),this.options=options,this.loose=!!options.loose,this.includePrerelease=!!options.includePrerelease;const m=version.trim().match(options.loose?re$a[t$9.LOOSE]:re$a[t$9.FULL]);if(!m)throw new TypeError(`Invalid Version: ${version}`);if(this.raw=version,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>MAX_SAFE_INTEGER$2||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER$2||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER$2||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map((id=>{if(/^[0-9]+$/.test(id)){const num=+id;if(num>=0&&num=0;)"number"==typeof this.prerelease[i]&&(this.prerelease[i]++,i=-2);-1===i&&this.prerelease.push(0)}identifier&&(this.prerelease[0]===identifier?isNaN(this.prerelease[1])&&(this.prerelease=[identifier,0]):this.prerelease=[identifier,0]);break;default:throw new Error(`invalid increment argument: ${release}`)}return this.format(),this.raw=this.version,this}}var semver$5=SemVer$t;const{MAX_LENGTH:MAX_LENGTH$3}=constants$1,{re:re$9,t:t$8}=re$b.exports,SemVer$s=semver$5,parseOptions$7=parseOptions_1$1;var parse_1$1=(version,options)=>{if(options=parseOptions$7(options),version instanceof SemVer$s)return version;if("string"!=typeof version)return null;if(version.length>MAX_LENGTH$3)return null;if(!(options.loose?re$9[t$8.LOOSE]:re$9[t$8.FULL]).test(version))return null;try{return new SemVer$s(version,options)}catch(er){return null}};const parse$b=parse_1$1;var valid_1$1=(version,options)=>{const v=parse$b(version,options);return v?v.version:null};const parse$a=parse_1$1;var clean_1$1=(version,options)=>{const s=parse$a(version.trim().replace(/^[=v]+/,""),options);return s?s.version:null};const SemVer$r=semver$5;var inc_1$1=(version,release,options,identifier)=>{"string"==typeof options&&(identifier=options,options=void 0);try{return new SemVer$r(version,options).inc(release,identifier).version}catch(er){return null}};const SemVer$q=semver$5;var compare_1$1=(a,b,loose)=>new SemVer$q(a,loose).compare(new SemVer$q(b,loose));const compare$k=compare_1$1;var eq_1$1=(a,b,loose)=>0===compare$k(a,b,loose);const parse$9=parse_1$1,eq$4=eq_1$1;var diff_1$1=(version1,version2)=>{if(eq$4(version1,version2))return null;{const v1=parse$9(version1),v2=parse$9(version2),hasPre=v1.prerelease.length||v2.prerelease.length,prefix=hasPre?"pre":"",defaultResult=hasPre?"prerelease":"";for(const key in v1)if(("major"===key||"minor"===key||"patch"===key)&&v1[key]!==v2[key])return prefix+key;return defaultResult}};const SemVer$p=semver$5;var major_1$1=(a,loose)=>new SemVer$p(a,loose).major;const SemVer$o=semver$5;var minor_1$1=(a,loose)=>new SemVer$o(a,loose).minor;const SemVer$n=semver$5;var patch_1$1=(a,loose)=>new SemVer$n(a,loose).patch;const parse$8=parse_1$1;var prerelease_1$1=(version,options)=>{const parsed=parse$8(version,options);return parsed&&parsed.prerelease.length?parsed.prerelease:null};const compare$j=compare_1$1;var rcompare_1$1=(a,b,loose)=>compare$j(b,a,loose);const compare$i=compare_1$1;var compareLoose_1$1=(a,b)=>compare$i(a,b,!0);const SemVer$m=semver$5;var compareBuild_1$1=(a,b,loose)=>{const versionA=new SemVer$m(a,loose),versionB=new SemVer$m(b,loose);return versionA.compare(versionB)||versionA.compareBuild(versionB)};const compareBuild$4=compareBuild_1$1;var sort_1$1=(list,loose)=>list.sort(((a,b)=>compareBuild$4(a,b,loose)));const compareBuild$3=compareBuild_1$1;var rsort_1$1=(list,loose)=>list.sort(((a,b)=>compareBuild$3(b,a,loose)));const compare$h=compare_1$1;var gt_1$1=(a,b,loose)=>compare$h(a,b,loose)>0;const compare$g=compare_1$1;var lt_1$1=(a,b,loose)=>compare$g(a,b,loose)<0;const compare$f=compare_1$1;var neq_1$1=(a,b,loose)=>0!==compare$f(a,b,loose);const compare$e=compare_1$1;var gte_1$1=(a,b,loose)=>compare$e(a,b,loose)>=0;const compare$d=compare_1$1;var lte_1$1=(a,b,loose)=>compare$d(a,b,loose)<=0;const eq$3=eq_1$1,neq$2=neq_1$1,gt$6=gt_1$1,gte$4=gte_1$1,lt$4=lt_1$1,lte$4=lte_1$1;var cmp_1$1=(a,op,b,loose)=>{switch(op){case"===":return"object"==typeof a&&(a=a.version),"object"==typeof b&&(b=b.version),a===b;case"!==":return"object"==typeof a&&(a=a.version),"object"==typeof b&&(b=b.version),a!==b;case"":case"=":case"==":return eq$3(a,b,loose);case"!=":return neq$2(a,b,loose);case">":return gt$6(a,b,loose);case">=":return gte$4(a,b,loose);case"<":return lt$4(a,b,loose);case"<=":return lte$4(a,b,loose);default:throw new TypeError(`Invalid operator: ${op}`)}};const SemVer$l=semver$5,parse$7=parse_1$1,{re:re$8,t:t$7}=re$b.exports;var coerce_1$1=(version,options)=>{if(version instanceof SemVer$l)return version;if("number"==typeof version&&(version=String(version)),"string"!=typeof version)return null;let match=null;if((options=options||{}).rtl){let next;for(;(next=re$8[t$7.COERCERTL].exec(version))&&(!match||match.index+match[0].length!==version.length);)match&&next.index+next[0].length===match.index+match[0].length||(match=next),re$8[t$7.COERCERTL].lastIndex=next.index+next[1].length+next[2].length;re$8[t$7.COERCERTL].lastIndex=-1}else match=version.match(re$8[t$7.COERCE]);return null===match?null:parse$7(`${match[2]}.${match[3]||"0"}.${match[4]||"0"}`,options)},yallist$1=Yallist$3;function Yallist$3(list){var self=this;if(self instanceof Yallist$3||(self=new Yallist$3),self.tail=null,self.head=null,self.length=0,list&&"function"==typeof list.forEach)list.forEach((function(item){self.push(item)}));else if(arguments.length>0)for(var i=0,l=arguments.length;i1)acc=initial;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");walker=this.head.next,acc=this.head.value}for(var i=0;null!==walker;i++)acc=fn(acc,walker.value,i),walker=walker.next;return acc},Yallist$3.prototype.reduceReverse=function(fn,initial){var acc,walker=this.tail;if(arguments.length>1)acc=initial;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");walker=this.tail.prev,acc=this.tail.value}for(var i=this.length-1;null!==walker;i--)acc=fn(acc,walker.value,i),walker=walker.prev;return acc},Yallist$3.prototype.toArray=function(){for(var arr=new Array(this.length),i=0,walker=this.head;null!==walker;i++)arr[i]=walker.value,walker=walker.next;return arr},Yallist$3.prototype.toArrayReverse=function(){for(var arr=new Array(this.length),i=0,walker=this.tail;null!==walker;i++)arr[i]=walker.value,walker=walker.prev;return arr},Yallist$3.prototype.slice=function(from,to){(to=to||this.length)<0&&(to+=this.length),(from=from||0)<0&&(from+=this.length);var ret=new Yallist$3;if(tothis.length&&(to=this.length);for(var i=0,walker=this.head;null!==walker&&ithis.length&&(to=this.length);for(var i=this.length,walker=this.tail;null!==walker&&i>to;i--)walker=walker.prev;for(;null!==walker&&i>from;i--,walker=walker.prev)ret.push(walker.value);return ret},Yallist$3.prototype.splice=function(start,deleteCount,...nodes){start>this.length&&(start=this.length-1),start<0&&(start=this.length+start);for(var i=0,walker=this.head;null!==walker&&i1;const get$1=(self,key,doUse)=>{const node=self[CACHE$1].get(key);if(node){const hit=node.value;if(isStale$1(self,hit)){if(del$1(self,node),!self[ALLOW_STALE$1])return}else doUse&&(self[UPDATE_AGE_ON_GET$1]&&(node.value.now=Date.now()),self[LRU_LIST$1].unshiftNode(node));return hit.value}},isStale$1=(self,hit)=>{if(!hit||!hit.maxAge&&!self[MAX_AGE$1])return!1;const diff=Date.now()-hit.now;return hit.maxAge?diff>hit.maxAge:self[MAX_AGE$1]&&diff>self[MAX_AGE$1]},trim$1=self=>{if(self[LENGTH$1]>self[MAX$1])for(let walker=self[LRU_LIST$1].tail;self[LENGTH$1]>self[MAX$1]&&null!==walker;){const prev=walker.prev;del$1(self,walker),walker=prev}},del$1=(self,node)=>{if(node){const hit=node.value;self[DISPOSE$1]&&self[DISPOSE$1](hit.key,hit.value),self[LENGTH$1]-=hit.length,self[CACHE$1].delete(hit.key),self[LRU_LIST$1].removeNode(node)}};class Entry$1{constructor(key,value,length,now,maxAge){this.key=key,this.value=value,this.length=length,this.now=now,this.maxAge=maxAge||0}}const forEachStep$1=(self,fn,node,thisp)=>{let hit=node.value;isStale$1(self,hit)&&(del$1(self,node),self[ALLOW_STALE$1]||(hit=void 0)),hit&&fn.call(thisp,hit.value,hit.key,self)};var lruCache$1=class{constructor(options){if("number"==typeof options&&(options={max:options}),options||(options={}),options.max&&("number"!=typeof options.max||options.max<0))throw new TypeError("max must be a non-negative number");this[MAX$1]=options.max||1/0;const lc=options.length||naiveLength$1;if(this[LENGTH_CALCULATOR$1]="function"!=typeof lc?naiveLength$1:lc,this[ALLOW_STALE$1]=options.stale||!1,options.maxAge&&"number"!=typeof options.maxAge)throw new TypeError("maxAge must be a number");this[MAX_AGE$1]=options.maxAge||0,this[DISPOSE$1]=options.dispose,this[NO_DISPOSE_ON_SET$1]=options.noDisposeOnSet||!1,this[UPDATE_AGE_ON_GET$1]=options.updateAgeOnGet||!1,this.reset()}set max(mL){if("number"!=typeof mL||mL<0)throw new TypeError("max must be a non-negative number");this[MAX$1]=mL||1/0,trim$1(this)}get max(){return this[MAX$1]}set allowStale(allowStale){this[ALLOW_STALE$1]=!!allowStale}get allowStale(){return this[ALLOW_STALE$1]}set maxAge(mA){if("number"!=typeof mA)throw new TypeError("maxAge must be a non-negative number");this[MAX_AGE$1]=mA,trim$1(this)}get maxAge(){return this[MAX_AGE$1]}set lengthCalculator(lC){"function"!=typeof lC&&(lC=naiveLength$1),lC!==this[LENGTH_CALCULATOR$1]&&(this[LENGTH_CALCULATOR$1]=lC,this[LENGTH$1]=0,this[LRU_LIST$1].forEach((hit=>{hit.length=this[LENGTH_CALCULATOR$1](hit.value,hit.key),this[LENGTH$1]+=hit.length}))),trim$1(this)}get lengthCalculator(){return this[LENGTH_CALCULATOR$1]}get length(){return this[LENGTH$1]}get itemCount(){return this[LRU_LIST$1].length}rforEach(fn,thisp){thisp=thisp||this;for(let walker=this[LRU_LIST$1].tail;null!==walker;){const prev=walker.prev;forEachStep$1(this,fn,walker,thisp),walker=prev}}forEach(fn,thisp){thisp=thisp||this;for(let walker=this[LRU_LIST$1].head;null!==walker;){const next=walker.next;forEachStep$1(this,fn,walker,thisp),walker=next}}keys(){return this[LRU_LIST$1].toArray().map((k=>k.key))}values(){return this[LRU_LIST$1].toArray().map((k=>k.value))}reset(){this[DISPOSE$1]&&this[LRU_LIST$1]&&this[LRU_LIST$1].length&&this[LRU_LIST$1].forEach((hit=>this[DISPOSE$1](hit.key,hit.value))),this[CACHE$1]=new Map,this[LRU_LIST$1]=new Yallist$2,this[LENGTH$1]=0}dump(){return this[LRU_LIST$1].map((hit=>!isStale$1(this,hit)&&{k:hit.key,v:hit.value,e:hit.now+(hit.maxAge||0)})).toArray().filter((h=>h))}dumpLru(){return this[LRU_LIST$1]}set(key,value,maxAge){if((maxAge=maxAge||this[MAX_AGE$1])&&"number"!=typeof maxAge)throw new TypeError("maxAge must be a number");const now=maxAge?Date.now():0,len=this[LENGTH_CALCULATOR$1](value,key);if(this[CACHE$1].has(key)){if(len>this[MAX$1])return del$1(this,this[CACHE$1].get(key)),!1;const item=this[CACHE$1].get(key).value;return this[DISPOSE$1]&&(this[NO_DISPOSE_ON_SET$1]||this[DISPOSE$1](key,item.value)),item.now=now,item.maxAge=maxAge,item.value=value,this[LENGTH$1]+=len-item.length,item.length=len,this.get(key),trim$1(this),!0}const hit=new Entry$1(key,value,len,now,maxAge);return hit.length>this[MAX$1]?(this[DISPOSE$1]&&this[DISPOSE$1](key,value),!1):(this[LENGTH$1]+=hit.length,this[LRU_LIST$1].unshift(hit),this[CACHE$1].set(key,this[LRU_LIST$1].head),trim$1(this),!0)}has(key){if(!this[CACHE$1].has(key))return!1;const hit=this[CACHE$1].get(key).value;return!isStale$1(this,hit)}get(key){return get$1(this,key,!0)}peek(key){return get$1(this,key,!1)}pop(){const node=this[LRU_LIST$1].tail;return node?(del$1(this,node),node.value):null}del(key){del$1(this,this[CACHE$1].get(key))}load(arr){this.reset();const now=Date.now();for(let l=arr.length-1;l>=0;l--){const hit=arr[l],expiresAt=hit.e||0;if(0===expiresAt)this.set(hit.k,hit.v);else{const maxAge=expiresAt-now;maxAge>0&&this.set(hit.k,hit.v,maxAge)}}}prune(){this[CACHE$1].forEach(((value,key)=>get$1(this,key,!1)))}};class Range$l{constructor(range,options){if(options=parseOptions$6(options),range instanceof Range$l)return range.loose===!!options.loose&&range.includePrerelease===!!options.includePrerelease?range:new Range$l(range.raw,options);if(range instanceof Comparator$7)return this.raw=range.value,this.set=[[range]],this.format(),this;if(this.options=options,this.loose=!!options.loose,this.includePrerelease=!!options.includePrerelease,this.raw=range,this.set=range.split(/\s*\|\|\s*/).map((range=>this.parseRange(range.trim()))).filter((c=>c.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${range}`);if(this.set.length>1){const first=this.set[0];if(this.set=this.set.filter((c=>!isNullSet$1(c[0]))),0===this.set.length)this.set=[first];else if(this.set.length>1)for(const c of this.set)if(1===c.length&&isAny$1(c[0])){this.set=[c];break}}this.format()}format(){return this.range=this.set.map((comps=>comps.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(range){range=range.trim();const memoKey=`parseRange:${Object.keys(this.options).join(",")}:${range}`,cached=cache$1.get(memoKey);if(cached)return cached;const loose=this.options.loose,hr=loose?re$7[t$6.HYPHENRANGELOOSE]:re$7[t$6.HYPHENRANGE];range=range.replace(hr,hyphenReplace$1(this.options.includePrerelease)),debug$5("hyphen replace",range),range=range.replace(re$7[t$6.COMPARATORTRIM],comparatorTrimReplace$1),debug$5("comparator trim",range,re$7[t$6.COMPARATORTRIM]),range=(range=(range=range.replace(re$7[t$6.TILDETRIM],tildeTrimReplace$1)).replace(re$7[t$6.CARETTRIM],caretTrimReplace$1)).split(/\s+/).join(" ");const compRe=loose?re$7[t$6.COMPARATORLOOSE]:re$7[t$6.COMPARATOR],rangeList=range.split(" ").map((comp=>parseComparator$1(comp,this.options))).join(" ").split(/\s+/).map((comp=>replaceGTE0$1(comp,this.options))).filter(this.options.loose?comp=>!!comp.match(compRe):()=>!0).map((comp=>new Comparator$7(comp,this.options)));rangeList.length;const rangeMap=new Map;for(const comp of rangeList){if(isNullSet$1(comp))return[comp];rangeMap.set(comp.value,comp)}rangeMap.size>1&&rangeMap.has("")&&rangeMap.delete("");const result=[...rangeMap.values()];return cache$1.set(memoKey,result),result}intersects(range,options){if(!(range instanceof Range$l))throw new TypeError("a Range is required");return this.set.some((thisComparators=>isSatisfiable$1(thisComparators,options)&&range.set.some((rangeComparators=>isSatisfiable$1(rangeComparators,options)&&thisComparators.every((thisComparator=>rangeComparators.every((rangeComparator=>thisComparator.intersects(rangeComparator,options)))))))))}test(version){if(!version)return!1;if("string"==typeof version)try{version=new SemVer$k(version,this.options)}catch(er){return!1}for(let i=0;i"<0.0.0-0"===c.value,isAny$1=c=>""===c.value,isSatisfiable$1=(comparators,options)=>{let result=!0;const remainingComparators=comparators.slice();let testComparator=remainingComparators.pop();for(;result&&remainingComparators.length;)result=remainingComparators.every((otherComparator=>testComparator.intersects(otherComparator,options))),testComparator=remainingComparators.pop();return result},parseComparator$1=(comp,options)=>(debug$5("comp",comp,options),comp=replaceCarets$1(comp,options),debug$5("caret",comp),comp=replaceTildes$1(comp,options),debug$5("tildes",comp),comp=replaceXRanges$1(comp,options),debug$5("xrange",comp),comp=replaceStars$1(comp,options),debug$5("stars",comp),comp),isX$1=id=>!id||"x"===id.toLowerCase()||"*"===id,replaceTildes$1=(comp,options)=>comp.trim().split(/\s+/).map((comp=>replaceTilde$1(comp,options))).join(" "),replaceTilde$1=(comp,options)=>{const r=options.loose?re$7[t$6.TILDELOOSE]:re$7[t$6.TILDE];return comp.replace(r,((_,M,m,p,pr)=>{let ret;return debug$5("tilde",comp,_,M,m,p,pr),isX$1(M)?ret="":isX$1(m)?ret=`>=${M}.0.0 <${+M+1}.0.0-0`:isX$1(p)?ret=`>=${M}.${m}.0 <${M}.${+m+1}.0-0`:pr?(debug$5("replaceTilde pr",pr),ret=`>=${M}.${m}.${p}-${pr} <${M}.${+m+1}.0-0`):ret=`>=${M}.${m}.${p} <${M}.${+m+1}.0-0`,debug$5("tilde return",ret),ret}))},replaceCarets$1=(comp,options)=>comp.trim().split(/\s+/).map((comp=>replaceCaret$1(comp,options))).join(" "),replaceCaret$1=(comp,options)=>{debug$5("caret",comp,options);const r=options.loose?re$7[t$6.CARETLOOSE]:re$7[t$6.CARET],z=options.includePrerelease?"-0":"";return comp.replace(r,((_,M,m,p,pr)=>{let ret;return debug$5("caret",comp,_,M,m,p,pr),isX$1(M)?ret="":isX$1(m)?ret=`>=${M}.0.0${z} <${+M+1}.0.0-0`:isX$1(p)?ret="0"===M?`>=${M}.${m}.0${z} <${M}.${+m+1}.0-0`:`>=${M}.${m}.0${z} <${+M+1}.0.0-0`:pr?(debug$5("replaceCaret pr",pr),ret="0"===M?"0"===m?`>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p+1}-0`:`>=${M}.${m}.${p}-${pr} <${M}.${+m+1}.0-0`:`>=${M}.${m}.${p}-${pr} <${+M+1}.0.0-0`):(debug$5("no pr"),ret="0"===M?"0"===m?`>=${M}.${m}.${p}${z} <${M}.${m}.${+p+1}-0`:`>=${M}.${m}.${p}${z} <${M}.${+m+1}.0-0`:`>=${M}.${m}.${p} <${+M+1}.0.0-0`),debug$5("caret return",ret),ret}))},replaceXRanges$1=(comp,options)=>(debug$5("replaceXRanges",comp,options),comp.split(/\s+/).map((comp=>replaceXRange$1(comp,options))).join(" ")),replaceXRange$1=(comp,options)=>{comp=comp.trim();const r=options.loose?re$7[t$6.XRANGELOOSE]:re$7[t$6.XRANGE];return comp.replace(r,((ret,gtlt,M,m,p,pr)=>{debug$5("xRange",comp,ret,gtlt,M,m,p,pr);const xM=isX$1(M),xm=xM||isX$1(m),xp=xm||isX$1(p),anyX=xp;return"="===gtlt&&anyX&&(gtlt=""),pr=options.includePrerelease?"-0":"",xM?ret=">"===gtlt||"<"===gtlt?"<0.0.0-0":"*":gtlt&&anyX?(xm&&(m=0),p=0,">"===gtlt?(gtlt=">=",xm?(M=+M+1,m=0,p=0):(m=+m+1,p=0)):"<="===gtlt&&(gtlt="<",xm?M=+M+1:m=+m+1),"<"===gtlt&&(pr="-0"),ret=`${gtlt+M}.${m}.${p}${pr}`):xm?ret=`>=${M}.0.0${pr} <${+M+1}.0.0-0`:xp&&(ret=`>=${M}.${m}.0${pr} <${M}.${+m+1}.0-0`),debug$5("xRange return",ret),ret}))},replaceStars$1=(comp,options)=>(debug$5("replaceStars",comp,options),comp.trim().replace(re$7[t$6.STAR],"")),replaceGTE0$1=(comp,options)=>(debug$5("replaceGTE0",comp,options),comp.trim().replace(re$7[options.includePrerelease?t$6.GTE0PRE:t$6.GTE0],"")),hyphenReplace$1=incPr=>($0,from,fM,fm,fp,fpr,fb,to,tM,tm,tp,tpr,tb)=>`${from=isX$1(fM)?"":isX$1(fm)?`>=${fM}.0.0${incPr?"-0":""}`:isX$1(fp)?`>=${fM}.${fm}.0${incPr?"-0":""}`:fpr?`>=${from}`:`>=${from}${incPr?"-0":""}`} ${to=isX$1(tM)?"":isX$1(tm)?`<${+tM+1}.0.0-0`:isX$1(tp)?`<${tM}.${+tm+1}.0-0`:tpr?`<=${tM}.${tm}.${tp}-${tpr}`:incPr?`<${tM}.${tm}.${+tp+1}-0`:`<=${to}`}`.trim(),testSet$1=(set,version,options)=>{for(let i=0;i0){const allowed=set[i].semver;if(allowed.major===version.major&&allowed.minor===version.minor&&allowed.patch===version.patch)return!0}return!1}return!0},ANY$5=Symbol("SemVer ANY");class Comparator$6{static get ANY(){return ANY$5}constructor(comp,options){if(options=parseOptions$5(options),comp instanceof Comparator$6){if(comp.loose===!!options.loose)return comp;comp=comp.value}debug$4("comparator",comp,options),this.options=options,this.loose=!!options.loose,this.parse(comp),this.semver===ANY$5?this.value="":this.value=this.operator+this.semver.version,debug$4("comp",this)}parse(comp){const r=this.options.loose?re$6[t$5.COMPARATORLOOSE]:re$6[t$5.COMPARATOR],m=comp.match(r);if(!m)throw new TypeError(`Invalid comparator: ${comp}`);this.operator=void 0!==m[1]?m[1]:"","="===this.operator&&(this.operator=""),m[2]?this.semver=new SemVer$j(m[2],this.options.loose):this.semver=ANY$5}toString(){return this.value}test(version){if(debug$4("Comparator.test",version,this.options.loose),this.semver===ANY$5||version===ANY$5)return!0;if("string"==typeof version)try{version=new SemVer$j(version,this.options)}catch(er){return!1}return cmp$2(version,this.operator,this.semver,this.options)}intersects(comp,options){if(!(comp instanceof Comparator$6))throw new TypeError("a Comparator is required");if(options&&"object"==typeof options||(options={loose:!!options,includePrerelease:!1}),""===this.operator)return""===this.value||new Range$k(comp.value,options).test(this.value);if(""===comp.operator)return""===comp.value||new Range$k(this.value,options).test(comp.semver);const sameDirectionIncreasing=!(">="!==this.operator&&">"!==this.operator||">="!==comp.operator&&">"!==comp.operator),sameDirectionDecreasing=!("<="!==this.operator&&"<"!==this.operator||"<="!==comp.operator&&"<"!==comp.operator),sameSemVer=this.semver.version===comp.semver.version,differentDirectionsInclusive=!(">="!==this.operator&&"<="!==this.operator||">="!==comp.operator&&"<="!==comp.operator),oppositeDirectionsLessThan=cmp$2(this.semver,"<",comp.semver,options)&&(">="===this.operator||">"===this.operator)&&("<="===comp.operator||"<"===comp.operator),oppositeDirectionsGreaterThan=cmp$2(this.semver,">",comp.semver,options)&&("<="===this.operator||"<"===this.operator)&&(">="===comp.operator||">"===comp.operator);return sameDirectionIncreasing||sameDirectionDecreasing||sameSemVer&&differentDirectionsInclusive||oppositeDirectionsLessThan||oppositeDirectionsGreaterThan}}var comparator$1=Comparator$6;const parseOptions$5=parseOptions_1$1,{re:re$6,t:t$5}=re$b.exports,cmp$2=cmp_1$1,debug$4=debug_1$1,SemVer$j=semver$5,Range$k=range$1,Range$j=range$1;var satisfies_1$1=(version,range,options)=>{try{range=new Range$j(range,options)}catch(er){return!1}return range.test(version)};const Range$i=range$1;var toComparators_1$1=(range,options)=>new Range$i(range,options).set.map((comp=>comp.map((c=>c.value)).join(" ").trim().split(" ")));const SemVer$i=semver$5,Range$h=range$1;var maxSatisfying_1$1=(versions,range,options)=>{let max=null,maxSV=null,rangeObj=null;try{rangeObj=new Range$h(range,options)}catch(er){return null}return versions.forEach((v=>{rangeObj.test(v)&&(max&&-1!==maxSV.compare(v)||(max=v,maxSV=new SemVer$i(max,options)))})),max};const SemVer$h=semver$5,Range$g=range$1;var minSatisfying_1$1=(versions,range,options)=>{let min=null,minSV=null,rangeObj=null;try{rangeObj=new Range$g(range,options)}catch(er){return null}return versions.forEach((v=>{rangeObj.test(v)&&(min&&1!==minSV.compare(v)||(min=v,minSV=new SemVer$h(min,options)))})),min};const SemVer$g=semver$5,Range$f=range$1,gt$5=gt_1$1;var minVersion_1$1=(range,loose)=>{range=new Range$f(range,loose);let minver=new SemVer$g("0.0.0");if(range.test(minver))return minver;if(minver=new SemVer$g("0.0.0-0"),range.test(minver))return minver;minver=null;for(let i=0;i{const compver=new SemVer$g(comparator.semver.version);switch(comparator.operator){case">":0===compver.prerelease.length?compver.patch++:compver.prerelease.push(0),compver.raw=compver.format();case"":case">=":setMin&&!gt$5(compver,setMin)||(setMin=compver);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${comparator.operator}`)}})),!setMin||minver&&!gt$5(minver,setMin)||(minver=setMin)}return minver&&range.test(minver)?minver:null};const Range$e=range$1;var valid$2=(range,options)=>{try{return new Range$e(range,options).range||"*"}catch(er){return null}};const SemVer$f=semver$5,Comparator$5=comparator$1,{ANY:ANY$4}=Comparator$5,Range$d=range$1,satisfies$6=satisfies_1$1,gt$4=gt_1$1,lt$3=lt_1$1,lte$3=lte_1$1,gte$3=gte_1$1;var outside_1$1=(version,range,hilo,options)=>{let gtfn,ltefn,ltfn,comp,ecomp;switch(version=new SemVer$f(version,options),range=new Range$d(range,options),hilo){case">":gtfn=gt$4,ltefn=lte$3,ltfn=lt$3,comp=">",ecomp=">=";break;case"<":gtfn=lt$3,ltefn=gte$3,ltfn=gt$4,comp="<",ecomp="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies$6(version,range,options))return!1;for(let i=0;i{comparator.semver===ANY$4&&(comparator=new Comparator$5(">=0.0.0")),high=high||comparator,low=low||comparator,gtfn(comparator.semver,high.semver,options)?high=comparator:ltfn(comparator.semver,low.semver,options)&&(low=comparator)})),high.operator===comp||high.operator===ecomp)return!1;if((!low.operator||low.operator===comp)&<efn(version,low.semver))return!1;if(low.operator===ecomp&<fn(version,low.semver))return!1}return!0};const outside$4=outside_1$1;var gtr_1$1=(version,range,options)=>outside$4(version,range,">",options);const outside$3=outside_1$1;var ltr_1$1=(version,range,options)=>outside$3(version,range,"<",options);const Range$c=range$1;var intersects_1$1=(r1,r2,options)=>(r1=new Range$c(r1,options),r2=new Range$c(r2,options),r1.intersects(r2));const satisfies$5=satisfies_1$1,compare$c=compare_1$1;const Range$b=range$1,Comparator$4=comparator$1,{ANY:ANY$3}=Comparator$4,satisfies$4=satisfies_1$1,compare$b=compare_1$1,simpleSubset$1=(sub,dom,options)=>{if(sub===dom)return!0;if(1===sub.length&&sub[0].semver===ANY$3){if(1===dom.length&&dom[0].semver===ANY$3)return!0;sub=options.includePrerelease?[new Comparator$4(">=0.0.0-0")]:[new Comparator$4(">=0.0.0")]}if(1===dom.length&&dom[0].semver===ANY$3){if(options.includePrerelease)return!0;dom=[new Comparator$4(">=0.0.0")]}const eqSet=new Set;let gt,lt,gtltComp,higher,lower,hasDomLT,hasDomGT;for(const c of sub)">"===c.operator||">="===c.operator?gt=higherGT$1(gt,c,options):"<"===c.operator||"<="===c.operator?lt=lowerLT$1(lt,c,options):eqSet.add(c.semver);if(eqSet.size>1)return null;if(gt&<){if(gtltComp=compare$b(gt.semver,lt.semver,options),gtltComp>0)return null;if(0===gtltComp&&(">="!==gt.operator||"<="!==lt.operator))return null}for(const eq of eqSet){if(gt&&!satisfies$4(eq,String(gt),options))return null;if(lt&&!satisfies$4(eq,String(lt),options))return null;for(const c of dom)if(!satisfies$4(eq,String(c),options))return!1;return!0}let needDomLTPre=!(!lt||options.includePrerelease||!lt.semver.prerelease.length)&<.semver,needDomGTPre=!(!gt||options.includePrerelease||!gt.semver.prerelease.length)&>.semver;needDomLTPre&&1===needDomLTPre.prerelease.length&&"<"===lt.operator&&0===needDomLTPre.prerelease[0]&&(needDomLTPre=!1);for(const c of dom){if(hasDomGT=hasDomGT||">"===c.operator||">="===c.operator,hasDomLT=hasDomLT||"<"===c.operator||"<="===c.operator,gt)if(needDomGTPre&&c.semver.prerelease&&c.semver.prerelease.length&&c.semver.major===needDomGTPre.major&&c.semver.minor===needDomGTPre.minor&&c.semver.patch===needDomGTPre.patch&&(needDomGTPre=!1),">"===c.operator||">="===c.operator){if(higher=higherGT$1(gt,c,options),higher===c&&higher!==gt)return!1}else if(">="===gt.operator&&!satisfies$4(gt.semver,String(c),options))return!1;if(lt)if(needDomLTPre&&c.semver.prerelease&&c.semver.prerelease.length&&c.semver.major===needDomLTPre.major&&c.semver.minor===needDomLTPre.minor&&c.semver.patch===needDomLTPre.patch&&(needDomLTPre=!1),"<"===c.operator||"<="===c.operator){if(lower=lowerLT$1(lt,c,options),lower===c&&lower!==lt)return!1}else if("<="===lt.operator&&!satisfies$4(lt.semver,String(c),options))return!1;if(!c.operator&&(lt||gt)&&0!==gtltComp)return!1}return!(gt&&hasDomLT&&!lt&&0!==gtltComp)&&(!(lt&&hasDomGT&&!gt&&0!==gtltComp)&&(!needDomGTPre&&!needDomLTPre))},higherGT$1=(a,b,options)=>{if(!a)return b;const comp=compare$b(a.semver,b.semver,options);return comp>0?a:comp<0||">"===b.operator&&">="===a.operator?b:a},lowerLT$1=(a,b,options)=>{if(!a)return b;const comp=compare$b(a.semver,b.semver,options);return comp<0?a:comp>0||"<"===b.operator&&"<="===a.operator?b:a};var subset_1$1=(sub,dom,options={})=>{if(sub===dom)return!0;sub=new Range$b(sub,options),dom=new Range$b(dom,options);let sawNonNull=!1;OUTER:for(const simpleSub of sub.set){for(const simpleDom of dom.set){const isSub=simpleSubset$1(simpleSub,simpleDom,options);if(sawNonNull=sawNonNull||null!==isSub,isSub)continue OUTER}if(sawNonNull)return!1}return!0};const internalRe$1=re$b.exports;var semver$4={re:internalRe$1.re,src:internalRe$1.src,tokens:internalRe$1.t,SEMVER_SPEC_VERSION:constants$1.SEMVER_SPEC_VERSION,SemVer:semver$5,compareIdentifiers:identifiers$1.compareIdentifiers,rcompareIdentifiers:identifiers$1.rcompareIdentifiers,parse:parse_1$1,valid:valid_1$1,clean:clean_1$1,inc:inc_1$1,diff:diff_1$1,major:major_1$1,minor:minor_1$1,patch:patch_1$1,prerelease:prerelease_1$1,compare:compare_1$1,rcompare:rcompare_1$1,compareLoose:compareLoose_1$1,compareBuild:compareBuild_1$1,sort:sort_1$1,rsort:rsort_1$1,gt:gt_1$1,lt:lt_1$1,eq:eq_1$1,neq:neq_1$1,gte:gte_1$1,lte:lte_1$1,cmp:cmp_1$1,coerce:coerce_1$1,Comparator:comparator$1,Range:range$1,satisfies:satisfies_1$1,toComparators:toComparators_1$1,maxSatisfying:maxSatisfying_1$1,minSatisfying:minSatisfying_1$1,minVersion:minVersion_1$1,validRange:valid$2,outside:outside_1$1,gtr:gtr_1$1,ltr:ltr_1$1,intersects:intersects_1$1,simplifyRange:(versions,range,options)=>{const set=[];let min=null,prev=null;const v=versions.sort(((a,b)=>compare$c(a,b,options)));for(const version of v){satisfies$5(version,range,options)?(prev=version,min||(min=version)):(prev&&set.push([min,prev]),prev=null,min=null)}min&&set.push([min,null]);const ranges=[];for(const[min,max]of set)min===max?ranges.push(min):max||min!==v[0]?max?min===v[0]?ranges.push(`<=${max}`):ranges.push(`${min} - ${max}`):ranges.push(`>=${min}`):ranges.push("*");const simplified=ranges.join(" || "),original="string"==typeof range.raw?range.raw:String(range);return simplified.length`Invalid module "${request}" ${reason}${base?` imported from ${base}`:""}`),TypeError),codes$1.ERR_INVALID_PACKAGE_CONFIG=createError$1("ERR_INVALID_PACKAGE_CONFIG",((path,base,message)=>`Invalid package config ${path}${base?` while importing ${base}`:""}${message?`. ${message}`:""}`),Error),codes$1.ERR_INVALID_PACKAGE_TARGET=createError$1("ERR_INVALID_PACKAGE_TARGET",((pkgPath,key,target,isImport=!1,base)=>{const relError="string"==typeof target&&!isImport&&target.length>0&&!target.startsWith("./");return"."===key?(external_assert_namespaceObject(!1===isImport),`Invalid "exports" main target ${JSON.stringify(target)} defined in the package config ${pkgPath}package.json${base?` imported from ${base}`:""}${relError?'; targets must start with "./"':""}`):`Invalid "${isImport?"imports":"exports"}" target ${JSON.stringify(target)} defined for '${key}' in the package config ${pkgPath}package.json${base?` imported from ${base}`:""}${relError?'; targets must start with "./"':""}`}),Error),codes$1.ERR_MODULE_NOT_FOUND=createError$1("ERR_MODULE_NOT_FOUND",((path,base,type="package")=>`Cannot find ${type} '${path}' imported from ${base}`),Error),codes$1.ERR_PACKAGE_IMPORT_NOT_DEFINED=createError$1("ERR_PACKAGE_IMPORT_NOT_DEFINED",((specifier,packagePath,base)=>`Package import specifier "${specifier}" is not defined${packagePath?` in package ${packagePath}package.json`:""} imported from ${base}`),TypeError),codes$1.ERR_PACKAGE_PATH_NOT_EXPORTED=createError$1("ERR_PACKAGE_PATH_NOT_EXPORTED",((pkgPath,subpath,base)=>"."===subpath?`No "exports" main defined in ${pkgPath}package.json${base?` imported from ${base}`:""}`:`Package subpath '${subpath}' is not defined by "exports" in ${pkgPath}package.json${base?` imported from ${base}`:""}`),Error),codes$1.ERR_UNSUPPORTED_DIR_IMPORT=createError$1("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),codes$1.ERR_UNKNOWN_FILE_EXTENSION=createError$1("ERR_UNKNOWN_FILE_EXTENSION",'Unknown file extension "%s" for %s',TypeError),codes$1.ERR_INVALID_ARG_VALUE=createError$1("ERR_INVALID_ARG_VALUE",((name,value,reason="is invalid")=>{let inspected=(0,external_util_.inspect)(value);inspected.length>128&&(inspected=`${inspected.slice(0,128)}...`);return`The ${name.includes(".")?"property":"argument"} '${name}' ${reason}. Received ${inspected}`}),TypeError),codes$1.ERR_UNSUPPORTED_ESM_URL_SCHEME=createError$1("ERR_UNSUPPORTED_ESM_URL_SCHEME",(url=>{let message="Only file and data URLs are supported by the default ESM loader";return isWindows$1&&2===url.protocol.length&&(message+=". On Windows, absolute paths must be valid file:// URLs"),message+=`. Received protocol '${url.protocol}'`,message}),Error);const addCodeToName$1=hideStackFrames$1((function(error,name,code){(error=captureLargerStackTrace$1(error)).name=`${name} [${code}]`,error.stack,"SystemError"===name?Object.defineProperty(error,"name",{value:name,enumerable:!1,writable:!0,configurable:!0}):delete error.name}));function isErrorStackTraceLimitWritable$1(){const desc=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return void 0===desc?Object.isExtensible(Error):own$3.call(desc,"writable")?desc.writable:void 0!==desc.set}function hideStackFrames$1(fn){const hidden="__node_internal_"+fn.name;return Object.defineProperty(fn,"name",{value:hidden}),fn}const captureLargerStackTrace$1=hideStackFrames$1((function(error){const stackTraceLimitIsWritable=isErrorStackTraceLimitWritable$1();return stackTraceLimitIsWritable&&(userStackTraceLimit$1=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(error),stackTraceLimitIsWritable&&(Error.stackTraceLimit=userStackTraceLimit$1),error}));const{ERR_UNKNOWN_FILE_EXTENSION:ERR_UNKNOWN_FILE_EXTENSION$1}=codes$1,extensionFormatMap$1={__proto__:null,".cjs":"commonjs",".js":"module",".mjs":"module"};function defaultGetFormat$1(url){if(url.startsWith("node:"))return{format:"builtin"};const parsed=new external_url_namespaceObject.URL(url);if("data:"===parsed.protocol){const{1:mime}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(parsed.pathname)||[null,null];return{format:"text/javascript"===mime?"module":null}}if("file:"===parsed.protocol){const ext=external_path_.extname(parsed.pathname);let format;if(format=".js"===ext?"module"===function(url){return getPackageScopeConfig$1(url).type}(parsed.href)?"module":"commonjs":extensionFormatMap$1[ext],!format)throw new ERR_UNKNOWN_FILE_EXTENSION$1(ext,(0,external_url_namespaceObject.fileURLToPath)(url));return{format:format||null}}return{format:null}}!function({version=process.version,experimental=!1}={}){var coreModules=["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"];semver$3.lt(version,"6.0.0")&&coreModules.push("freelist"),semver$3.gte(version,"1.0.0")&&coreModules.push("v8"),semver$3.gte(version,"1.1.0")&&coreModules.push("process"),semver$3.gte(version,"8.0.0")&&coreModules.push("inspector"),semver$3.gte(version,"8.1.0")&&coreModules.push("async_hooks"),semver$3.gte(version,"8.4.0")&&coreModules.push("http2"),semver$3.gte(version,"8.5.0")&&coreModules.push("perf_hooks"),semver$3.gte(version,"10.0.0")&&coreModules.push("trace_events"),semver$3.gte(version,"10.5.0")&&(experimental||semver$3.gte(version,"12.0.0"))&&coreModules.push("worker_threads"),semver$3.gte(version,"12.16.0")&&experimental&&coreModules.push("wasi")}();const{ERR_INVALID_MODULE_SPECIFIER:ERR_INVALID_MODULE_SPECIFIER$1,ERR_INVALID_PACKAGE_CONFIG:ERR_INVALID_PACKAGE_CONFIG$1,ERR_INVALID_PACKAGE_TARGET:ERR_INVALID_PACKAGE_TARGET$1,ERR_MODULE_NOT_FOUND:ERR_MODULE_NOT_FOUND$1,ERR_PACKAGE_IMPORT_NOT_DEFINED:ERR_PACKAGE_IMPORT_NOT_DEFINED$1,ERR_PACKAGE_PATH_NOT_EXPORTED:ERR_PACKAGE_PATH_NOT_EXPORTED$1,ERR_UNSUPPORTED_DIR_IMPORT:ERR_UNSUPPORTED_DIR_IMPORT$1,ERR_UNSUPPORTED_ESM_URL_SCHEME:ERR_UNSUPPORTED_ESM_URL_SCHEME$1,ERR_INVALID_ARG_VALUE:ERR_INVALID_ARG_VALUE$1}=codes$1,own$2={}.hasOwnProperty;Object.freeze(["node","import"]);const invalidSegmentRegEx$1=/(^|\\|\/)(\.\.?|node_modules)(\\|\/|$)/,patternRegEx$1=/\*/g,encodedSepRegEx$1=/%2f|%2c/i,emittedPackageWarnings$1=new Set,packageJsonCache$1=new Map;function emitFolderMapDeprecation$1(match,pjsonUrl,isExports,base){const pjsonPath=(0,external_url_namespaceObject.fileURLToPath)(pjsonUrl);emittedPackageWarnings$1.has(pjsonPath+"|"+match)||(emittedPackageWarnings$1.add(pjsonPath+"|"+match),process.emitWarning(`Use of deprecated folder mapping "${match}" in the ${isExports?'"exports"':'"imports"'} field module resolution of the package at ${pjsonPath}${base?` imported from ${(0,external_url_namespaceObject.fileURLToPath)(base)}`:""}.\nUpdate this package.json to use a subpath pattern like "${match}*".`,"DeprecationWarning","DEP0148"))}function emitLegacyIndexDeprecation$1(url,packageJsonUrl,base,main){const{format}=defaultGetFormat$1(url.href);if("module"!==format)return;const path=(0,external_url_namespaceObject.fileURLToPath)(url.href),pkgPath=(0,external_url_namespaceObject.fileURLToPath)(new external_url_namespaceObject.URL(".",packageJsonUrl)),basePath=(0,external_url_namespaceObject.fileURLToPath)(base);main?process.emitWarning(`Package ${pkgPath} has a "main" field set to ${JSON.stringify(main)}, excluding the full filename and extension to the resolved file at "${path.slice(pkgPath.length)}", imported from ${basePath}.\n 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 ${pkgPath} resolving the main entry point "${path.slice(pkgPath.length)}", imported from ${basePath}.\nDefault "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function tryStatSync$1(path){try{return(0,external_fs_.statSync)(path)}catch{return new external_fs_.Stats}}function getPackageConfig$1(path,specifier,base){const existing=packageJsonCache$1.get(path);if(void 0!==existing)return existing;const source=packageJsonReader$1.read(path).string;if(void 0===source){const packageConfig={pjsonPath:path,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return packageJsonCache$1.set(path,packageConfig),packageConfig}let packageJson;try{packageJson=JSON.parse(source)}catch(error){throw new ERR_INVALID_PACKAGE_CONFIG$1(path,(base?`"${specifier}" from `:"")+(0,external_url_namespaceObject.fileURLToPath)(base||specifier),error.message)}const{exports,imports,main,name,type}=packageJson,packageConfig={pjsonPath:path,exists:!0,main:"string"==typeof main?main:void 0,name:"string"==typeof name?name:void 0,type:"module"===type||"commonjs"===type?type:"none",exports,imports:imports&&"object"==typeof imports?imports:void 0};return packageJsonCache$1.set(path,packageConfig),packageConfig}function getPackageScopeConfig$1(resolved){let packageJsonUrl=new external_url_namespaceObject.URL("./package.json",resolved);for(;;){if(packageJsonUrl.pathname.endsWith("node_modules/package.json"))break;const packageConfig=getPackageConfig$1((0,external_url_namespaceObject.fileURLToPath)(packageJsonUrl),resolved);if(packageConfig.exists)return packageConfig;const lastPackageJsonUrl=packageJsonUrl;if(packageJsonUrl=new external_url_namespaceObject.URL("../package.json",packageJsonUrl),packageJsonUrl.pathname===lastPackageJsonUrl.pathname)break}const packageJsonPath=(0,external_url_namespaceObject.fileURLToPath)(packageJsonUrl),packageConfig={pjsonPath:packageJsonPath,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return packageJsonCache$1.set(packageJsonPath,packageConfig),packageConfig}function fileExists$1(url){return tryStatSync$1((0,external_url_namespaceObject.fileURLToPath)(url)).isFile()}function legacyMainResolve$1(packageJsonUrl,packageConfig,base){let guess;if(void 0!==packageConfig.main){if(guess=new external_url_namespaceObject.URL(`./${packageConfig.main}`,packageJsonUrl),fileExists$1(guess))return guess;const tries=[`./${packageConfig.main}.js`,`./${packageConfig.main}.json`,`./${packageConfig.main}.node`,`./${packageConfig.main}/index.js`,`./${packageConfig.main}/index.json`,`./${packageConfig.main}/index.node`];let i=-1;for(;++i=0&&keyNumber<4294967295)}function resolvePackageTarget$1(packageJsonUrl,target,subpath,packageSubpath,base,pattern,internal,conditions){if("string"==typeof target)return resolvePackageTargetString$1(target,subpath,packageSubpath,packageJsonUrl,base,pattern,internal,conditions);if(Array.isArray(target)){const targetList=target;if(0===targetList.length)return null;let lastException,i=-1;for(;++i=key.length&&key.length>bestMatch.length||"/"===key[key.length-1]&&packageSubpath.startsWith(key)&&key.length>bestMatch.length)&&(bestMatch=key)}if(bestMatch){const target=exports[bestMatch],pattern="*"===bestMatch[bestMatch.length-1],resolved=resolvePackageTarget$1(packageJsonUrl,target,packageSubpath.slice(bestMatch.length-(pattern?1:0)),bestMatch,base,pattern,!1,conditions);return null==resolved&&throwExportsNotFound$1(packageSubpath,packageJsonUrl,base),pattern||emitFolderMapDeprecation$1(bestMatch,packageJsonUrl,!0,base),{resolved,exact:pattern}}throwExportsNotFound$1(packageSubpath,packageJsonUrl,base)}function packageImportsResolve$1(name,base,conditions){if("#"===name||name.startsWith("#/")){throw new ERR_INVALID_MODULE_SPECIFIER$1(name,"is not a valid internal imports specifier name",(0,external_url_namespaceObject.fileURLToPath)(base))}let packageJsonUrl;const packageConfig=getPackageScopeConfig$1(base);if(packageConfig.exists){packageJsonUrl=(0,external_url_namespaceObject.pathToFileURL)(packageConfig.pjsonPath);const imports=packageConfig.imports;if(imports)if(own$2.call(imports,name)){const resolved=resolvePackageTarget$1(packageJsonUrl,imports[name],"",name,base,!1,!0,conditions);if(null!==resolved)return{resolved,exact:!0}}else{let bestMatch="";const keys=Object.getOwnPropertyNames(imports);let i=-1;for(;++i=key.length&&key.length>bestMatch.length||"/"===key[key.length-1]&&name.startsWith(key)&&key.length>bestMatch.length)&&(bestMatch=key)}if(bestMatch){const target=imports[bestMatch],pattern="*"===bestMatch[bestMatch.length-1],resolved=resolvePackageTarget$1(packageJsonUrl,target,name.slice(bestMatch.length-(pattern?1:0)),bestMatch,base,pattern,!0,conditions);if(null!==resolved)return pattern||emitFolderMapDeprecation$1(bestMatch,packageJsonUrl,!1,base),{resolved,exact:pattern}}}}!function(specifier,packageJsonUrl,base){throw new ERR_PACKAGE_IMPORT_NOT_DEFINED$1(specifier,packageJsonUrl&&(0,external_url_namespaceObject.fileURLToPath)(new external_url_namespaceObject.URL(".",packageJsonUrl)),(0,external_url_namespaceObject.fileURLToPath)(base))}(name,packageJsonUrl,base)}function packageResolve$1(specifier,base,conditions){const{packageName,packageSubpath,isScoped}=function(specifier,base){let separatorIndex=specifier.indexOf("/"),validPackageName=!0,isScoped=!1;"@"===specifier[0]&&(isScoped=!0,-1===separatorIndex||0===specifier.length?validPackageName=!1:separatorIndex=specifier.indexOf("/",separatorIndex+1));const packageName=-1===separatorIndex?specifier:specifier.slice(0,separatorIndex);let i=-1;for(;++inew URL(function(id){return"string"!=typeof id&&(id=id.toString()),/(node|data|http|https|file):/.test(id)?id:BUILTIN_MODULES$1.has(id)?"node:"+id:"file://"+normalizeSlash$1(id)}(u.toString()))));_urls.length||_urls.push(DEFAULT_URL$1);const urls=[..._urls];for(const url of _urls)if("file:"===url.protocol&&!url.pathname.includes("node_modules")){const newURL=new URL(url);newURL.pathname+="/node_modules",urls.push(newURL)}let resolved;for(const url of urls){if(resolved=_tryModuleResolve$1(id,url,conditionsSet),resolved)break;for(const prefix of["","/index"]){for(const ext of opts.extensions||DEFAULT_EXTENSIONS$1)if(resolved=_tryModuleResolve$1(id+prefix+ext,url,conditionsSet),resolved)break;if(resolved)break}}if(!resolved){const err=new Error(`Cannot find module ${id} imported from ${urls.join(", ")}`);throw err.code="ERR_MODULE_NOT_FOUND",err}const realPath=(0,external_fs_.realpathSync)(fileURLToPath$1(resolved));return(0,external_url_namespaceObject.pathToFileURL)(realPath).toString()}function resolveSync$1(id,opts){return _resolve$1(id,opts)}function resolvePathSync$1(id,opts){return fileURLToPath$1(resolveSync$1(id,opts))}var ParseOptions;!function(ParseOptions){ParseOptions.DEFAULT={allowTrailingComma:!1}}(ParseOptions||(ParseOptions={}));new Set(external_module_.builtinModules);var re$5={exports:{}};var constants={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16};var debug_1="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...args)=>console.error("SEMVER",...args):()=>{};!function(module,exports){const{MAX_SAFE_COMPONENT_LENGTH}=constants,debug=debug_1,re=(exports=module.exports={}).re=[],src=exports.src=[],t=exports.t={};let R=0;const createToken=(name,value,isGlobal)=>{const index=R++;debug(index,value),t[name]=index,src[index]=value,re[index]=new RegExp(value,isGlobal?"g":void 0)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*"),createToken("NUMERICIDENTIFIERLOOSE","[0-9]+"),createToken("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),createToken("MAINVERSION",`(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`),createToken("MAINVERSIONLOOSE",`(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`),createToken("PRERELEASEIDENTIFIER",`(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`),createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`),createToken("PRERELEASE",`(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`),createToken("PRERELEASELOOSE",`(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`),createToken("BUILDIDENTIFIER","[0-9A-Za-z-]+"),createToken("BUILD",`(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`),createToken("FULLPLAIN",`v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`),createToken("FULL",`^${src[t.FULLPLAIN]}$`),createToken("LOOSEPLAIN",`[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`),createToken("LOOSE",`^${src[t.LOOSEPLAIN]}$`),createToken("GTLT","((?:<|>)?=?)"),createToken("XRANGEIDENTIFIERLOOSE",`${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),createToken("XRANGEIDENTIFIER",`${src[t.NUMERICIDENTIFIER]}|x|X|\\*`),createToken("XRANGEPLAIN",`[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`),createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`),createToken("XRANGE",`^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`),createToken("XRANGELOOSE",`^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`),createToken("COERCE",`(^|[^\\d])(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:$|[^\\d])`),createToken("COERCERTL",src[t.COERCE],!0),createToken("LONETILDE","(?:~>?)"),createToken("TILDETRIM",`(\\s*)${src[t.LONETILDE]}\\s+`,!0),exports.tildeTrimReplace="$1~",createToken("TILDE",`^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`),createToken("TILDELOOSE",`^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`),createToken("LONECARET","(?:\\^)"),createToken("CARETTRIM",`(\\s*)${src[t.LONECARET]}\\s+`,!0),exports.caretTrimReplace="$1^",createToken("CARET",`^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`),createToken("CARETLOOSE",`^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`),createToken("COMPARATORLOOSE",`^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`),createToken("COMPARATOR",`^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`),createToken("COMPARATORTRIM",`(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`,!0),exports.comparatorTrimReplace="$1$2$3",createToken("HYPHENRANGE",`^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`),createToken("HYPHENRANGELOOSE",`^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`),createToken("STAR","(<|>)?=?\\s*\\*"),createToken("GTE0","^\\s*>=\\s*0.0.0\\s*$"),createToken("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}(re$5,re$5.exports);const opts=["includePrerelease","loose","rtl"];var parseOptions_1=options=>options?"object"!=typeof options?{loose:!0}:opts.filter((k=>options[k])).reduce(((options,k)=>(options[k]=!0,options)),{}):{};const numeric=/^[0-9]+$/,compareIdentifiers$1=(a,b)=>{const anum=numeric.test(a),bnum=numeric.test(b);return anum&&bnum&&(a=+a,b=+b),a===b?0:anum&&!bnum?-1:bnum&&!anum?1:acompareIdentifiers$1(b,a)};const debug$2=debug_1,{MAX_LENGTH:MAX_LENGTH$1,MAX_SAFE_INTEGER}=constants,{re:re$4,t:t$4}=re$5.exports,parseOptions$3=parseOptions_1,{compareIdentifiers}=identifiers;class SemVer$e{constructor(version,options){if(options=parseOptions$3(options),version instanceof SemVer$e){if(version.loose===!!options.loose&&version.includePrerelease===!!options.includePrerelease)return version;version=version.version}else if("string"!=typeof version)throw new TypeError(`Invalid Version: ${version}`);if(version.length>MAX_LENGTH$1)throw new TypeError(`version is longer than ${MAX_LENGTH$1} characters`);debug$2("SemVer",version,options),this.options=options,this.loose=!!options.loose,this.includePrerelease=!!options.includePrerelease;const m=version.trim().match(options.loose?re$4[t$4.LOOSE]:re$4[t$4.FULL]);if(!m)throw new TypeError(`Invalid Version: ${version}`);if(this.raw=version,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>MAX_SAFE_INTEGER||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map((id=>{if(/^[0-9]+$/.test(id)){const num=+id;if(num>=0&&num=0;)"number"==typeof this.prerelease[i]&&(this.prerelease[i]++,i=-2);-1===i&&this.prerelease.push(0)}identifier&&(this.prerelease[0]===identifier?isNaN(this.prerelease[1])&&(this.prerelease=[identifier,0]):this.prerelease=[identifier,0]);break;default:throw new Error(`invalid increment argument: ${release}`)}return this.format(),this.raw=this.version,this}}var semver$2=SemVer$e;const{MAX_LENGTH}=constants,{re:re$3,t:t$3}=re$5.exports,SemVer$d=semver$2,parseOptions$2=parseOptions_1;var parse_1=(version,options)=>{if(options=parseOptions$2(options),version instanceof SemVer$d)return version;if("string"!=typeof version)return null;if(version.length>MAX_LENGTH)return null;if(!(options.loose?re$3[t$3.LOOSE]:re$3[t$3.FULL]).test(version))return null;try{return new SemVer$d(version,options)}catch(er){return null}};const parse$4=parse_1;var valid_1=(version,options)=>{const v=parse$4(version,options);return v?v.version:null};const parse$3=parse_1;var clean_1=(version,options)=>{const s=parse$3(version.trim().replace(/^[=v]+/,""),options);return s?s.version:null};const SemVer$c=semver$2;var inc_1=(version,release,options,identifier)=>{"string"==typeof options&&(identifier=options,options=void 0);try{return new SemVer$c(version,options).inc(release,identifier).version}catch(er){return null}};const SemVer$b=semver$2;var compare_1=(a,b,loose)=>new SemVer$b(a,loose).compare(new SemVer$b(b,loose));const compare$9=compare_1;var eq_1=(a,b,loose)=>0===compare$9(a,b,loose);const parse$2=parse_1,eq$1=eq_1;var diff_1=(version1,version2)=>{if(eq$1(version1,version2))return null;{const v1=parse$2(version1),v2=parse$2(version2),hasPre=v1.prerelease.length||v2.prerelease.length,prefix=hasPre?"pre":"",defaultResult=hasPre?"prerelease":"";for(const key in v1)if(("major"===key||"minor"===key||"patch"===key)&&v1[key]!==v2[key])return prefix+key;return defaultResult}};const SemVer$a=semver$2;var major_1=(a,loose)=>new SemVer$a(a,loose).major;const SemVer$9=semver$2;var minor_1=(a,loose)=>new SemVer$9(a,loose).minor;const SemVer$8=semver$2;var patch_1=(a,loose)=>new SemVer$8(a,loose).patch;const parse$1=parse_1;var prerelease_1=(version,options)=>{const parsed=parse$1(version,options);return parsed&&parsed.prerelease.length?parsed.prerelease:null};const compare$8=compare_1;var rcompare_1=(a,b,loose)=>compare$8(b,a,loose);const compare$7=compare_1;var compareLoose_1=(a,b)=>compare$7(a,b,!0);const SemVer$7=semver$2;var compareBuild_1=(a,b,loose)=>{const versionA=new SemVer$7(a,loose),versionB=new SemVer$7(b,loose);return versionA.compare(versionB)||versionA.compareBuild(versionB)};const compareBuild$1=compareBuild_1;var sort_1=(list,loose)=>list.sort(((a,b)=>compareBuild$1(a,b,loose)));const compareBuild=compareBuild_1;var rsort_1=(list,loose)=>list.sort(((a,b)=>compareBuild(b,a,loose)));const compare$6=compare_1;var gt_1=(a,b,loose)=>compare$6(a,b,loose)>0;const compare$5=compare_1;var lt_1=(a,b,loose)=>compare$5(a,b,loose)<0;const compare$4=compare_1;var neq_1=(a,b,loose)=>0!==compare$4(a,b,loose);const compare$3=compare_1;var gte_1=(a,b,loose)=>compare$3(a,b,loose)>=0;const compare$2=compare_1;var lte_1=(a,b,loose)=>compare$2(a,b,loose)<=0;const eq=eq_1,neq=neq_1,gt$2=gt_1,gte$1=gte_1,lt$1=lt_1,lte$1=lte_1;var cmp_1=(a,op,b,loose)=>{switch(op){case"===":return"object"==typeof a&&(a=a.version),"object"==typeof b&&(b=b.version),a===b;case"!==":return"object"==typeof a&&(a=a.version),"object"==typeof b&&(b=b.version),a!==b;case"":case"=":case"==":return eq(a,b,loose);case"!=":return neq(a,b,loose);case">":return gt$2(a,b,loose);case">=":return gte$1(a,b,loose);case"<":return lt$1(a,b,loose);case"<=":return lte$1(a,b,loose);default:throw new TypeError(`Invalid operator: ${op}`)}};const SemVer$6=semver$2,parse=parse_1,{re:re$2,t:t$2}=re$5.exports;var coerce_1=(version,options)=>{if(version instanceof SemVer$6)return version;if("number"==typeof version&&(version=String(version)),"string"!=typeof version)return null;let match=null;if((options=options||{}).rtl){let next;for(;(next=re$2[t$2.COERCERTL].exec(version))&&(!match||match.index+match[0].length!==version.length);)match&&next.index+next[0].length===match.index+match[0].length||(match=next),re$2[t$2.COERCERTL].lastIndex=next.index+next[1].length+next[2].length;re$2[t$2.COERCERTL].lastIndex=-1}else match=version.match(re$2[t$2.COERCE]);return null===match?null:parse(`${match[2]}.${match[3]||"0"}.${match[4]||"0"}`,options)},yallist=Yallist$1;function Yallist$1(list){var self=this;if(self instanceof Yallist$1||(self=new Yallist$1),self.tail=null,self.head=null,self.length=0,list&&"function"==typeof list.forEach)list.forEach((function(item){self.push(item)}));else if(arguments.length>0)for(var i=0,l=arguments.length;i1)acc=initial;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");walker=this.head.next,acc=this.head.value}for(var i=0;null!==walker;i++)acc=fn(acc,walker.value,i),walker=walker.next;return acc},Yallist$1.prototype.reduceReverse=function(fn,initial){var acc,walker=this.tail;if(arguments.length>1)acc=initial;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");walker=this.tail.prev,acc=this.tail.value}for(var i=this.length-1;null!==walker;i--)acc=fn(acc,walker.value,i),walker=walker.prev;return acc},Yallist$1.prototype.toArray=function(){for(var arr=new Array(this.length),i=0,walker=this.head;null!==walker;i++)arr[i]=walker.value,walker=walker.next;return arr},Yallist$1.prototype.toArrayReverse=function(){for(var arr=new Array(this.length),i=0,walker=this.tail;null!==walker;i++)arr[i]=walker.value,walker=walker.prev;return arr},Yallist$1.prototype.slice=function(from,to){(to=to||this.length)<0&&(to+=this.length),(from=from||0)<0&&(from+=this.length);var ret=new Yallist$1;if(tothis.length&&(to=this.length);for(var i=0,walker=this.head;null!==walker&&ithis.length&&(to=this.length);for(var i=this.length,walker=this.tail;null!==walker&&i>to;i--)walker=walker.prev;for(;null!==walker&&i>from;i--,walker=walker.prev)ret.push(walker.value);return ret},Yallist$1.prototype.splice=function(start,deleteCount,...nodes){start>this.length&&(start=this.length-1),start<0&&(start=this.length+start);for(var i=0,walker=this.head;null!==walker&&i1;const get=(self,key,doUse)=>{const node=self[CACHE].get(key);if(node){const hit=node.value;if(isStale(self,hit)){if(del(self,node),!self[ALLOW_STALE])return}else doUse&&(self[UPDATE_AGE_ON_GET]&&(node.value.now=Date.now()),self[LRU_LIST].unshiftNode(node));return hit.value}},isStale=(self,hit)=>{if(!hit||!hit.maxAge&&!self[MAX_AGE])return!1;const diff=Date.now()-hit.now;return hit.maxAge?diff>hit.maxAge:self[MAX_AGE]&&diff>self[MAX_AGE]},trim=self=>{if(self[LENGTH]>self[MAX])for(let walker=self[LRU_LIST].tail;self[LENGTH]>self[MAX]&&null!==walker;){const prev=walker.prev;del(self,walker),walker=prev}},del=(self,node)=>{if(node){const hit=node.value;self[DISPOSE]&&self[DISPOSE](hit.key,hit.value),self[LENGTH]-=hit.length,self[CACHE].delete(hit.key),self[LRU_LIST].removeNode(node)}};class Entry{constructor(key,value,length,now,maxAge){this.key=key,this.value=value,this.length=length,this.now=now,this.maxAge=maxAge||0}}const forEachStep=(self,fn,node,thisp)=>{let hit=node.value;isStale(self,hit)&&(del(self,node),self[ALLOW_STALE]||(hit=void 0)),hit&&fn.call(thisp,hit.value,hit.key,self)};var lruCache=class{constructor(options){if("number"==typeof options&&(options={max:options}),options||(options={}),options.max&&("number"!=typeof options.max||options.max<0))throw new TypeError("max must be a non-negative number");this[MAX]=options.max||1/0;const lc=options.length||naiveLength;if(this[LENGTH_CALCULATOR]="function"!=typeof lc?naiveLength:lc,this[ALLOW_STALE]=options.stale||!1,options.maxAge&&"number"!=typeof options.maxAge)throw new TypeError("maxAge must be a number");this[MAX_AGE]=options.maxAge||0,this[DISPOSE]=options.dispose,this[NO_DISPOSE_ON_SET]=options.noDisposeOnSet||!1,this[UPDATE_AGE_ON_GET]=options.updateAgeOnGet||!1,this.reset()}set max(mL){if("number"!=typeof mL||mL<0)throw new TypeError("max must be a non-negative number");this[MAX]=mL||1/0,trim(this)}get max(){return this[MAX]}set allowStale(allowStale){this[ALLOW_STALE]=!!allowStale}get allowStale(){return this[ALLOW_STALE]}set maxAge(mA){if("number"!=typeof mA)throw new TypeError("maxAge must be a non-negative number");this[MAX_AGE]=mA,trim(this)}get maxAge(){return this[MAX_AGE]}set lengthCalculator(lC){"function"!=typeof lC&&(lC=naiveLength),lC!==this[LENGTH_CALCULATOR]&&(this[LENGTH_CALCULATOR]=lC,this[LENGTH]=0,this[LRU_LIST].forEach((hit=>{hit.length=this[LENGTH_CALCULATOR](hit.value,hit.key),this[LENGTH]+=hit.length}))),trim(this)}get lengthCalculator(){return this[LENGTH_CALCULATOR]}get length(){return this[LENGTH]}get itemCount(){return this[LRU_LIST].length}rforEach(fn,thisp){thisp=thisp||this;for(let walker=this[LRU_LIST].tail;null!==walker;){const prev=walker.prev;forEachStep(this,fn,walker,thisp),walker=prev}}forEach(fn,thisp){thisp=thisp||this;for(let walker=this[LRU_LIST].head;null!==walker;){const next=walker.next;forEachStep(this,fn,walker,thisp),walker=next}}keys(){return this[LRU_LIST].toArray().map((k=>k.key))}values(){return this[LRU_LIST].toArray().map((k=>k.value))}reset(){this[DISPOSE]&&this[LRU_LIST]&&this[LRU_LIST].length&&this[LRU_LIST].forEach((hit=>this[DISPOSE](hit.key,hit.value))),this[CACHE]=new Map,this[LRU_LIST]=new Yallist,this[LENGTH]=0}dump(){return this[LRU_LIST].map((hit=>!isStale(this,hit)&&{k:hit.key,v:hit.value,e:hit.now+(hit.maxAge||0)})).toArray().filter((h=>h))}dumpLru(){return this[LRU_LIST]}set(key,value,maxAge){if((maxAge=maxAge||this[MAX_AGE])&&"number"!=typeof maxAge)throw new TypeError("maxAge must be a number");const now=maxAge?Date.now():0,len=this[LENGTH_CALCULATOR](value,key);if(this[CACHE].has(key)){if(len>this[MAX])return del(this,this[CACHE].get(key)),!1;const item=this[CACHE].get(key).value;return this[DISPOSE]&&(this[NO_DISPOSE_ON_SET]||this[DISPOSE](key,item.value)),item.now=now,item.maxAge=maxAge,item.value=value,this[LENGTH]+=len-item.length,item.length=len,this.get(key),trim(this),!0}const hit=new Entry(key,value,len,now,maxAge);return hit.length>this[MAX]?(this[DISPOSE]&&this[DISPOSE](key,value),!1):(this[LENGTH]+=hit.length,this[LRU_LIST].unshift(hit),this[CACHE].set(key,this[LRU_LIST].head),trim(this),!0)}has(key){if(!this[CACHE].has(key))return!1;const hit=this[CACHE].get(key).value;return!isStale(this,hit)}get(key){return get(this,key,!0)}peek(key){return get(this,key,!1)}pop(){const node=this[LRU_LIST].tail;return node?(del(this,node),node.value):null}del(key){del(this,this[CACHE].get(key))}load(arr){this.reset();const now=Date.now();for(let l=arr.length-1;l>=0;l--){const hit=arr[l],expiresAt=hit.e||0;if(0===expiresAt)this.set(hit.k,hit.v);else{const maxAge=expiresAt-now;maxAge>0&&this.set(hit.k,hit.v,maxAge)}}}prune(){this[CACHE].forEach(((value,key)=>get(this,key,!1)))}};class Range$a{constructor(range,options){if(options=parseOptions$1(options),range instanceof Range$a)return range.loose===!!options.loose&&range.includePrerelease===!!options.includePrerelease?range:new Range$a(range.raw,options);if(range instanceof Comparator$3)return this.raw=range.value,this.set=[[range]],this.format(),this;if(this.options=options,this.loose=!!options.loose,this.includePrerelease=!!options.includePrerelease,this.raw=range,this.set=range.split(/\s*\|\|\s*/).map((range=>this.parseRange(range.trim()))).filter((c=>c.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${range}`);if(this.set.length>1){const first=this.set[0];if(this.set=this.set.filter((c=>!isNullSet(c[0]))),0===this.set.length)this.set=[first];else if(this.set.length>1)for(const c of this.set)if(1===c.length&&isAny(c[0])){this.set=[c];break}}this.format()}format(){return this.range=this.set.map((comps=>comps.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(range){range=range.trim();const memoKey=`parseRange:${Object.keys(this.options).join(",")}:${range}`,cached=cache.get(memoKey);if(cached)return cached;const loose=this.options.loose,hr=loose?re$1[t$1.HYPHENRANGELOOSE]:re$1[t$1.HYPHENRANGE];range=range.replace(hr,hyphenReplace(this.options.includePrerelease)),debug$1("hyphen replace",range),range=range.replace(re$1[t$1.COMPARATORTRIM],comparatorTrimReplace),debug$1("comparator trim",range,re$1[t$1.COMPARATORTRIM]),range=(range=(range=range.replace(re$1[t$1.TILDETRIM],tildeTrimReplace)).replace(re$1[t$1.CARETTRIM],caretTrimReplace)).split(/\s+/).join(" ");const compRe=loose?re$1[t$1.COMPARATORLOOSE]:re$1[t$1.COMPARATOR],rangeList=range.split(" ").map((comp=>parseComparator(comp,this.options))).join(" ").split(/\s+/).map((comp=>replaceGTE0(comp,this.options))).filter(this.options.loose?comp=>!!comp.match(compRe):()=>!0).map((comp=>new Comparator$3(comp,this.options)));rangeList.length;const rangeMap=new Map;for(const comp of rangeList){if(isNullSet(comp))return[comp];rangeMap.set(comp.value,comp)}rangeMap.size>1&&rangeMap.has("")&&rangeMap.delete("");const result=[...rangeMap.values()];return cache.set(memoKey,result),result}intersects(range,options){if(!(range instanceof Range$a))throw new TypeError("a Range is required");return this.set.some((thisComparators=>isSatisfiable(thisComparators,options)&&range.set.some((rangeComparators=>isSatisfiable(rangeComparators,options)&&thisComparators.every((thisComparator=>rangeComparators.every((rangeComparator=>thisComparator.intersects(rangeComparator,options)))))))))}test(version){if(!version)return!1;if("string"==typeof version)try{version=new SemVer$5(version,this.options)}catch(er){return!1}for(let i=0;i"<0.0.0-0"===c.value,isAny=c=>""===c.value,isSatisfiable=(comparators,options)=>{let result=!0;const remainingComparators=comparators.slice();let testComparator=remainingComparators.pop();for(;result&&remainingComparators.length;)result=remainingComparators.every((otherComparator=>testComparator.intersects(otherComparator,options))),testComparator=remainingComparators.pop();return result},parseComparator=(comp,options)=>(debug$1("comp",comp,options),comp=replaceCarets(comp,options),debug$1("caret",comp),comp=replaceTildes(comp,options),debug$1("tildes",comp),comp=replaceXRanges(comp,options),debug$1("xrange",comp),comp=replaceStars(comp,options),debug$1("stars",comp),comp),isX=id=>!id||"x"===id.toLowerCase()||"*"===id,replaceTildes=(comp,options)=>comp.trim().split(/\s+/).map((comp=>replaceTilde(comp,options))).join(" "),replaceTilde=(comp,options)=>{const r=options.loose?re$1[t$1.TILDELOOSE]:re$1[t$1.TILDE];return comp.replace(r,((_,M,m,p,pr)=>{let ret;return debug$1("tilde",comp,_,M,m,p,pr),isX(M)?ret="":isX(m)?ret=`>=${M}.0.0 <${+M+1}.0.0-0`:isX(p)?ret=`>=${M}.${m}.0 <${M}.${+m+1}.0-0`:pr?(debug$1("replaceTilde pr",pr),ret=`>=${M}.${m}.${p}-${pr} <${M}.${+m+1}.0-0`):ret=`>=${M}.${m}.${p} <${M}.${+m+1}.0-0`,debug$1("tilde return",ret),ret}))},replaceCarets=(comp,options)=>comp.trim().split(/\s+/).map((comp=>replaceCaret(comp,options))).join(" "),replaceCaret=(comp,options)=>{debug$1("caret",comp,options);const r=options.loose?re$1[t$1.CARETLOOSE]:re$1[t$1.CARET],z=options.includePrerelease?"-0":"";return comp.replace(r,((_,M,m,p,pr)=>{let ret;return debug$1("caret",comp,_,M,m,p,pr),isX(M)?ret="":isX(m)?ret=`>=${M}.0.0${z} <${+M+1}.0.0-0`:isX(p)?ret="0"===M?`>=${M}.${m}.0${z} <${M}.${+m+1}.0-0`:`>=${M}.${m}.0${z} <${+M+1}.0.0-0`:pr?(debug$1("replaceCaret pr",pr),ret="0"===M?"0"===m?`>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p+1}-0`:`>=${M}.${m}.${p}-${pr} <${M}.${+m+1}.0-0`:`>=${M}.${m}.${p}-${pr} <${+M+1}.0.0-0`):(debug$1("no pr"),ret="0"===M?"0"===m?`>=${M}.${m}.${p}${z} <${M}.${m}.${+p+1}-0`:`>=${M}.${m}.${p}${z} <${M}.${+m+1}.0-0`:`>=${M}.${m}.${p} <${+M+1}.0.0-0`),debug$1("caret return",ret),ret}))},replaceXRanges=(comp,options)=>(debug$1("replaceXRanges",comp,options),comp.split(/\s+/).map((comp=>replaceXRange(comp,options))).join(" ")),replaceXRange=(comp,options)=>{comp=comp.trim();const r=options.loose?re$1[t$1.XRANGELOOSE]:re$1[t$1.XRANGE];return comp.replace(r,((ret,gtlt,M,m,p,pr)=>{debug$1("xRange",comp,ret,gtlt,M,m,p,pr);const xM=isX(M),xm=xM||isX(m),xp=xm||isX(p),anyX=xp;return"="===gtlt&&anyX&&(gtlt=""),pr=options.includePrerelease?"-0":"",xM?ret=">"===gtlt||"<"===gtlt?"<0.0.0-0":"*":gtlt&&anyX?(xm&&(m=0),p=0,">"===gtlt?(gtlt=">=",xm?(M=+M+1,m=0,p=0):(m=+m+1,p=0)):"<="===gtlt&&(gtlt="<",xm?M=+M+1:m=+m+1),"<"===gtlt&&(pr="-0"),ret=`${gtlt+M}.${m}.${p}${pr}`):xm?ret=`>=${M}.0.0${pr} <${+M+1}.0.0-0`:xp&&(ret=`>=${M}.${m}.0${pr} <${M}.${+m+1}.0-0`),debug$1("xRange return",ret),ret}))},replaceStars=(comp,options)=>(debug$1("replaceStars",comp,options),comp.trim().replace(re$1[t$1.STAR],"")),replaceGTE0=(comp,options)=>(debug$1("replaceGTE0",comp,options),comp.trim().replace(re$1[options.includePrerelease?t$1.GTE0PRE:t$1.GTE0],"")),hyphenReplace=incPr=>($0,from,fM,fm,fp,fpr,fb,to,tM,tm,tp,tpr,tb)=>`${from=isX(fM)?"":isX(fm)?`>=${fM}.0.0${incPr?"-0":""}`:isX(fp)?`>=${fM}.${fm}.0${incPr?"-0":""}`:fpr?`>=${from}`:`>=${from}${incPr?"-0":""}`} ${to=isX(tM)?"":isX(tm)?`<${+tM+1}.0.0-0`:isX(tp)?`<${tM}.${+tm+1}.0-0`:tpr?`<=${tM}.${tm}.${tp}-${tpr}`:incPr?`<${tM}.${tm}.${+tp+1}-0`:`<=${to}`}`.trim(),testSet=(set,version,options)=>{for(let i=0;i0){const allowed=set[i].semver;if(allowed.major===version.major&&allowed.minor===version.minor&&allowed.patch===version.patch)return!0}return!1}return!0},ANY$2=Symbol("SemVer ANY");class Comparator$2{static get ANY(){return ANY$2}constructor(comp,options){if(options=parseOptions(options),comp instanceof Comparator$2){if(comp.loose===!!options.loose)return comp;comp=comp.value}debug("comparator",comp,options),this.options=options,this.loose=!!options.loose,this.parse(comp),this.semver===ANY$2?this.value="":this.value=this.operator+this.semver.version,debug("comp",this)}parse(comp){const r=this.options.loose?re[t.COMPARATORLOOSE]:re[t.COMPARATOR],m=comp.match(r);if(!m)throw new TypeError(`Invalid comparator: ${comp}`);this.operator=void 0!==m[1]?m[1]:"","="===this.operator&&(this.operator=""),m[2]?this.semver=new SemVer$4(m[2],this.options.loose):this.semver=ANY$2}toString(){return this.value}test(version){if(debug("Comparator.test",version,this.options.loose),this.semver===ANY$2||version===ANY$2)return!0;if("string"==typeof version)try{version=new SemVer$4(version,this.options)}catch(er){return!1}return cmp(version,this.operator,this.semver,this.options)}intersects(comp,options){if(!(comp instanceof Comparator$2))throw new TypeError("a Comparator is required");if(options&&"object"==typeof options||(options={loose:!!options,includePrerelease:!1}),""===this.operator)return""===this.value||new Range$9(comp.value,options).test(this.value);if(""===comp.operator)return""===comp.value||new Range$9(this.value,options).test(comp.semver);const sameDirectionIncreasing=!(">="!==this.operator&&">"!==this.operator||">="!==comp.operator&&">"!==comp.operator),sameDirectionDecreasing=!("<="!==this.operator&&"<"!==this.operator||"<="!==comp.operator&&"<"!==comp.operator),sameSemVer=this.semver.version===comp.semver.version,differentDirectionsInclusive=!(">="!==this.operator&&"<="!==this.operator||">="!==comp.operator&&"<="!==comp.operator),oppositeDirectionsLessThan=cmp(this.semver,"<",comp.semver,options)&&(">="===this.operator||">"===this.operator)&&("<="===comp.operator||"<"===comp.operator),oppositeDirectionsGreaterThan=cmp(this.semver,">",comp.semver,options)&&("<="===this.operator||"<"===this.operator)&&(">="===comp.operator||">"===comp.operator);return sameDirectionIncreasing||sameDirectionDecreasing||sameSemVer&&differentDirectionsInclusive||oppositeDirectionsLessThan||oppositeDirectionsGreaterThan}}var comparator=Comparator$2;const parseOptions=parseOptions_1,{re,t}=re$5.exports,cmp=cmp_1,debug=debug_1,SemVer$4=semver$2,Range$9=range,Range$8=range;var satisfies_1=(version,range,options)=>{try{range=new Range$8(range,options)}catch(er){return!1}return range.test(version)};const Range$7=range;var toComparators_1=(range,options)=>new Range$7(range,options).set.map((comp=>comp.map((c=>c.value)).join(" ").trim().split(" ")));const SemVer$3=semver$2,Range$6=range;var maxSatisfying_1=(versions,range,options)=>{let max=null,maxSV=null,rangeObj=null;try{rangeObj=new Range$6(range,options)}catch(er){return null}return versions.forEach((v=>{rangeObj.test(v)&&(max&&-1!==maxSV.compare(v)||(max=v,maxSV=new SemVer$3(max,options)))})),max};const SemVer$2=semver$2,Range$5=range;var minSatisfying_1=(versions,range,options)=>{let min=null,minSV=null,rangeObj=null;try{rangeObj=new Range$5(range,options)}catch(er){return null}return versions.forEach((v=>{rangeObj.test(v)&&(min&&1!==minSV.compare(v)||(min=v,minSV=new SemVer$2(min,options)))})),min};const SemVer$1=semver$2,Range$4=range,gt$1=gt_1;var minVersion_1=(range,loose)=>{range=new Range$4(range,loose);let minver=new SemVer$1("0.0.0");if(range.test(minver))return minver;if(minver=new SemVer$1("0.0.0-0"),range.test(minver))return minver;minver=null;for(let i=0;i{const compver=new SemVer$1(comparator.semver.version);switch(comparator.operator){case">":0===compver.prerelease.length?compver.patch++:compver.prerelease.push(0),compver.raw=compver.format();case"":case">=":setMin&&!gt$1(compver,setMin)||(setMin=compver);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${comparator.operator}`)}})),!setMin||minver&&!gt$1(minver,setMin)||(minver=setMin)}return minver&&range.test(minver)?minver:null};const Range$3=range;var valid=(range,options)=>{try{return new Range$3(range,options).range||"*"}catch(er){return null}};const SemVer=semver$2,Comparator$1=comparator,{ANY:ANY$1}=Comparator$1,Range$2=range,satisfies$2=satisfies_1,gt=gt_1,lt=lt_1,lte=lte_1,gte=gte_1;var outside_1=(version,range,hilo,options)=>{let gtfn,ltefn,ltfn,comp,ecomp;switch(version=new SemVer(version,options),range=new Range$2(range,options),hilo){case">":gtfn=gt,ltefn=lte,ltfn=lt,comp=">",ecomp=">=";break;case"<":gtfn=lt,ltefn=gte,ltfn=gt,comp="<",ecomp="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies$2(version,range,options))return!1;for(let i=0;i{comparator.semver===ANY$1&&(comparator=new Comparator$1(">=0.0.0")),high=high||comparator,low=low||comparator,gtfn(comparator.semver,high.semver,options)?high=comparator:ltfn(comparator.semver,low.semver,options)&&(low=comparator)})),high.operator===comp||high.operator===ecomp)return!1;if((!low.operator||low.operator===comp)&<efn(version,low.semver))return!1;if(low.operator===ecomp&<fn(version,low.semver))return!1}return!0};const outside$1=outside_1;var gtr_1=(version,range,options)=>outside$1(version,range,">",options);const outside=outside_1;var ltr_1=(version,range,options)=>outside(version,range,"<",options);const Range$1=range;var intersects_1=(r1,r2,options)=>(r1=new Range$1(r1,options),r2=new Range$1(r2,options),r1.intersects(r2));const satisfies$1=satisfies_1,compare$1=compare_1;const Range=range,Comparator=comparator,{ANY}=Comparator,satisfies=satisfies_1,compare=compare_1,simpleSubset=(sub,dom,options)=>{if(sub===dom)return!0;if(1===sub.length&&sub[0].semver===ANY){if(1===dom.length&&dom[0].semver===ANY)return!0;sub=options.includePrerelease?[new Comparator(">=0.0.0-0")]:[new Comparator(">=0.0.0")]}if(1===dom.length&&dom[0].semver===ANY){if(options.includePrerelease)return!0;dom=[new Comparator(">=0.0.0")]}const eqSet=new Set;let gt,lt,gtltComp,higher,lower,hasDomLT,hasDomGT;for(const c of sub)">"===c.operator||">="===c.operator?gt=higherGT(gt,c,options):"<"===c.operator||"<="===c.operator?lt=lowerLT(lt,c,options):eqSet.add(c.semver);if(eqSet.size>1)return null;if(gt&<){if(gtltComp=compare(gt.semver,lt.semver,options),gtltComp>0)return null;if(0===gtltComp&&(">="!==gt.operator||"<="!==lt.operator))return null}for(const eq of eqSet){if(gt&&!satisfies(eq,String(gt),options))return null;if(lt&&!satisfies(eq,String(lt),options))return null;for(const c of dom)if(!satisfies(eq,String(c),options))return!1;return!0}let needDomLTPre=!(!lt||options.includePrerelease||!lt.semver.prerelease.length)&<.semver,needDomGTPre=!(!gt||options.includePrerelease||!gt.semver.prerelease.length)&>.semver;needDomLTPre&&1===needDomLTPre.prerelease.length&&"<"===lt.operator&&0===needDomLTPre.prerelease[0]&&(needDomLTPre=!1);for(const c of dom){if(hasDomGT=hasDomGT||">"===c.operator||">="===c.operator,hasDomLT=hasDomLT||"<"===c.operator||"<="===c.operator,gt)if(needDomGTPre&&c.semver.prerelease&&c.semver.prerelease.length&&c.semver.major===needDomGTPre.major&&c.semver.minor===needDomGTPre.minor&&c.semver.patch===needDomGTPre.patch&&(needDomGTPre=!1),">"===c.operator||">="===c.operator){if(higher=higherGT(gt,c,options),higher===c&&higher!==gt)return!1}else if(">="===gt.operator&&!satisfies(gt.semver,String(c),options))return!1;if(lt)if(needDomLTPre&&c.semver.prerelease&&c.semver.prerelease.length&&c.semver.major===needDomLTPre.major&&c.semver.minor===needDomLTPre.minor&&c.semver.patch===needDomLTPre.patch&&(needDomLTPre=!1),"<"===c.operator||"<="===c.operator){if(lower=lowerLT(lt,c,options),lower===c&&lower!==lt)return!1}else if("<="===lt.operator&&!satisfies(lt.semver,String(c),options))return!1;if(!c.operator&&(lt||gt)&&0!==gtltComp)return!1}return!(gt&&hasDomLT&&!lt&&0!==gtltComp)&&(!(lt&&hasDomGT&&!gt&&0!==gtltComp)&&(!needDomGTPre&&!needDomLTPre))},higherGT=(a,b,options)=>{if(!a)return b;const comp=compare(a.semver,b.semver,options);return comp>0?a:comp<0||">"===b.operator&&">="===a.operator?b:a},lowerLT=(a,b,options)=>{if(!a)return b;const comp=compare(a.semver,b.semver,options);return comp<0?a:comp>0||"<"===b.operator&&"<="===a.operator?b:a};var subset_1=(sub,dom,options={})=>{if(sub===dom)return!0;sub=new Range(sub,options),dom=new Range(dom,options);let sawNonNull=!1;OUTER:for(const simpleSub of sub.set){for(const simpleDom of dom.set){const isSub=simpleSubset(simpleSub,simpleDom,options);if(sawNonNull=sawNonNull||null!==isSub,isSub)continue OUTER}if(sawNonNull)return!1}return!0};const internalRe=re$5.exports;var semver$1={re:internalRe.re,src:internalRe.src,tokens:internalRe.t,SEMVER_SPEC_VERSION:constants.SEMVER_SPEC_VERSION,SemVer:semver$2,compareIdentifiers:identifiers.compareIdentifiers,rcompareIdentifiers:identifiers.rcompareIdentifiers,parse:parse_1,valid:valid_1,clean:clean_1,inc:inc_1,diff:diff_1,major:major_1,minor:minor_1,patch:patch_1,prerelease:prerelease_1,compare:compare_1,rcompare:rcompare_1,compareLoose:compareLoose_1,compareBuild:compareBuild_1,sort:sort_1,rsort:rsort_1,gt:gt_1,lt:lt_1,eq:eq_1,neq:neq_1,gte:gte_1,lte:lte_1,cmp:cmp_1,coerce:coerce_1,Comparator:comparator,Range:range,satisfies:satisfies_1,toComparators:toComparators_1,maxSatisfying:maxSatisfying_1,minSatisfying:minSatisfying_1,minVersion:minVersion_1,validRange:valid,outside:outside_1,gtr:gtr_1,ltr:ltr_1,intersects:intersects_1,simplifyRange:(versions,range,options)=>{const set=[];let min=null,prev=null;const v=versions.sort(((a,b)=>compare$1(a,b,options)));for(const version of v){satisfies$1(version,range,options)?(prev=version,min||(min=version)):(prev&&set.push([min,prev]),prev=null,min=null)}min&&set.push([min,null]);const ranges=[];for(const[min,max]of set)min===max?ranges.push(min):max||min!==v[0]?max?min===v[0]?ranges.push(`<=${max}`):ranges.push(`${min} - ${max}`):ranges.push(`>=${min}`):ranges.push("*");const simplified=ranges.join(" || "),original="string"==typeof range.raw?range.raw:String(range);return simplified.length`Invalid module "${request}" ${reason}${base?` imported from ${base}`:""}`),TypeError),codes.ERR_INVALID_PACKAGE_CONFIG=createError("ERR_INVALID_PACKAGE_CONFIG",((path,base,message)=>`Invalid package config ${path}${base?` while importing ${base}`:""}${message?`. ${message}`:""}`),Error),codes.ERR_INVALID_PACKAGE_TARGET=createError("ERR_INVALID_PACKAGE_TARGET",((pkgPath,key,target,isImport=!1,base)=>{const relError="string"==typeof target&&!isImport&&target.length>0&&!target.startsWith("./");return"."===key?(external_assert_namespaceObject(!1===isImport),`Invalid "exports" main target ${JSON.stringify(target)} defined in the package config ${pkgPath}package.json${base?` imported from ${base}`:""}${relError?'; targets must start with "./"':""}`):`Invalid "${isImport?"imports":"exports"}" target ${JSON.stringify(target)} defined for '${key}' in the package config ${pkgPath}package.json${base?` imported from ${base}`:""}${relError?'; targets must start with "./"':""}`}),Error),codes.ERR_MODULE_NOT_FOUND=createError("ERR_MODULE_NOT_FOUND",((path,base,type="package")=>`Cannot find ${type} '${path}' imported from ${base}`),Error),codes.ERR_PACKAGE_IMPORT_NOT_DEFINED=createError("ERR_PACKAGE_IMPORT_NOT_DEFINED",((specifier,packagePath,base)=>`Package import specifier "${specifier}" is not defined${packagePath?` in package ${packagePath}package.json`:""} imported from ${base}`),TypeError),codes.ERR_PACKAGE_PATH_NOT_EXPORTED=createError("ERR_PACKAGE_PATH_NOT_EXPORTED",((pkgPath,subpath,base)=>"."===subpath?`No "exports" main defined in ${pkgPath}package.json${base?` imported from ${base}`:""}`:`Package subpath '${subpath}' is not defined by "exports" in ${pkgPath}package.json${base?` imported from ${base}`:""}`),Error),codes.ERR_UNSUPPORTED_DIR_IMPORT=createError("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),codes.ERR_UNKNOWN_FILE_EXTENSION=createError("ERR_UNKNOWN_FILE_EXTENSION",'Unknown file extension "%s" for %s',TypeError),codes.ERR_INVALID_ARG_VALUE=createError("ERR_INVALID_ARG_VALUE",((name,value,reason="is invalid")=>{let inspected=(0,external_util_.inspect)(value);inspected.length>128&&(inspected=`${inspected.slice(0,128)}...`);return`The ${name.includes(".")?"property":"argument"} '${name}' ${reason}. Received ${inspected}`}),TypeError),codes.ERR_UNSUPPORTED_ESM_URL_SCHEME=createError("ERR_UNSUPPORTED_ESM_URL_SCHEME",(url=>{let message="Only file and data URLs are supported by the default ESM loader";return isWindows&&2===url.protocol.length&&(message+=". On Windows, absolute paths must be valid file:// URLs"),message+=`. Received protocol '${url.protocol}'`,message}),Error);const addCodeToName=hideStackFrames((function(error,name,code){(error=captureLargerStackTrace(error)).name=`${name} [${code}]`,error.stack,"SystemError"===name?Object.defineProperty(error,"name",{value:name,enumerable:!1,writable:!0,configurable:!0}):delete error.name}));function isErrorStackTraceLimitWritable(){const desc=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return void 0===desc?Object.isExtensible(Error):own$1.call(desc,"writable")?desc.writable:void 0!==desc.set}function hideStackFrames(fn){const hidden="__node_internal_"+fn.name;return Object.defineProperty(fn,"name",{value:hidden}),fn}const captureLargerStackTrace=hideStackFrames((function(error){const stackTraceLimitIsWritable=isErrorStackTraceLimitWritable();return stackTraceLimitIsWritable&&(userStackTraceLimit=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(error),stackTraceLimitIsWritable&&(Error.stackTraceLimit=userStackTraceLimit),error}));const{ERR_UNKNOWN_FILE_EXTENSION}=codes;!function({version=process.version,experimental=!1}={}){var coreModules=["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"];dist_semver.lt(version,"6.0.0")&&coreModules.push("freelist"),dist_semver.gte(version,"1.0.0")&&coreModules.push("v8"),dist_semver.gte(version,"1.1.0")&&coreModules.push("process"),dist_semver.gte(version,"8.0.0")&&coreModules.push("inspector"),dist_semver.gte(version,"8.1.0")&&coreModules.push("async_hooks"),dist_semver.gte(version,"8.4.0")&&coreModules.push("http2"),dist_semver.gte(version,"8.5.0")&&coreModules.push("perf_hooks"),dist_semver.gte(version,"10.0.0")&&coreModules.push("trace_events"),dist_semver.gte(version,"10.5.0")&&(experimental||dist_semver.gte(version,"12.0.0"))&&coreModules.push("worker_threads"),dist_semver.gte(version,"12.16.0")&&experimental&&coreModules.push("wasi")}();const{ERR_INVALID_MODULE_SPECIFIER,ERR_INVALID_PACKAGE_CONFIG,ERR_INVALID_PACKAGE_TARGET,ERR_MODULE_NOT_FOUND,ERR_PACKAGE_IMPORT_NOT_DEFINED,ERR_PACKAGE_PATH_NOT_EXPORTED,ERR_UNSUPPORTED_DIR_IMPORT,ERR_UNSUPPORTED_ESM_URL_SCHEME,ERR_INVALID_ARG_VALUE}=codes;Object.freeze(["node","import"]);new Set,new Map;new Set(["node","import"]),(0,external_url_namespaceObject.pathToFileURL)(process.cwd()),new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND"]);const ESM_RE=/([\s;]|^)(import[\w,{}\s*]*from|import\s*['"*{]|export\b\s*(?:[*{]|default|type|function|const|var|let|async function)|import\.meta\b)/m;new Set([".mjs",".cjs",".node",".wasm"]);function hasESMSyntax(code){return ESM_RE.test(code)}var external_crypto_=__webpack_require__("crypto");function md5(content,len=8){return(0,external_crypto_.createHash)("md5").update(content).digest("hex").slice(0,len)}const _EnvDebug=dist(process.env.JITI_DEBUG),_EnvCache=dist(process.env.JITI_CACHE),_EnvESMReolve=dist(process.env.JITI_ESM_RESOLVE),_EnvRequireCache=dist(process.env.JITI_REQUIRE_CACHE),_EnvSourceMaps=dist(process.env.JITI_SOURCE_MAPS),jiti_isWindows="win32"===(0,external_os_namespaceObject.platform)(),defaults={debug:_EnvDebug,cache:void 0===_EnvCache||!!_EnvCache,requireCache:void 0===_EnvRequireCache||!!_EnvRequireCache,sourceMaps:void 0!==_EnvSourceMaps&&!!_EnvSourceMaps,interopDefault:!1,esmResolve:_EnvESMReolve||!1,cacheVersion:"6",legacy:(0,semver.lt)(process.version||"0.0.0","14.0.0"),extensions:[".js",".mjs",".cjs",".ts"]};function createJITI(_filename,opts={},parentModule){function debug(...args){opts.debug&&console.log("[jiti]",...args)}if((opts=Object.assign(Object.assign({},defaults),opts)).legacy&&(opts.cacheVersion+="-legacy"),opts.transformOptions&&(opts.cacheVersion+="-"+object_hash_default()(opts.transformOptions)),_filename||(_filename=process.cwd()),function(filename){try{return(0,external_fs_.lstatSync)(filename).isDirectory()}catch(e){return!1}}(_filename)&&(_filename=(0,external_path_.join)(_filename,"index.js")),!0===opts.cache&&(opts.cache=(0,external_path_.join)((0,external_os_namespaceObject.tmpdir)(),"node-jiti")),opts.cache)try{if((0,mkdirp.sync)(opts.cache),!function(filename){try{return(0,external_fs_.accessSync)(filename,external_fs_.constants.W_OK),!0}catch(e){return!1}}(opts.cache))throw new Error("directory is not writable")}catch(err){debug("Error creating cache directory at ",opts.cache,err),opts.cache=!1}const nativeRequire=create_require_default()(jiti_isWindows?_filename.replace(/\//g,"\\"):_filename),tryResolve=(id,options)=>{try{return nativeRequire.resolve(id,options)}catch(e){}},_url=(0,external_url_namespaceObject.pathToFileURL)(_filename),_additionalExts=[...opts.extensions].filter((ext=>".js"!==ext)),_resolve=(id,options)=>{let resolved,err;if(opts.esmResolve){try{resolved=resolvePathSync$1(id,{url:_url,conditions:["node","require","import"]})}catch(_err){err=_err}if(resolved)return resolved}if(opts.extensions.includes((0,external_path_.extname)(id)))return nativeRequire.resolve(id,options);try{return nativeRequire.resolve(id,options)}catch(_err){err=_err}for(const ext of _additionalExts)if(resolved=tryResolve(id+ext,options)||tryResolve(id+"/index"+ext,options),resolved)return resolved;throw err};function transform(topts){let code=function(filename,source,get){if(!opts.cache||!filename)return get();const sourceHash=` /* v${opts.cacheVersion}-${md5(source,16)} */`,filebase=(0,external_path_.basename)((0,external_path_.dirname)(filename))+"-"+(0,external_path_.basename)(filename),cacheFile=(0,external_path_.join)(opts.cache,filebase+"."+md5(filename)+".js");if((0,external_fs_.existsSync)(cacheFile)){const cacheSource=(0,external_fs_.readFileSync)(cacheFile,"utf-8");if(cacheSource.endsWith(sourceHash))return debug("[cache hit]",filename,"~>",cacheFile),cacheSource}debug("[cache miss]",filename);const result=get();return result.includes("__JITI_ERROR__")||(0,external_fs_.writeFileSync)(cacheFile,result+sourceHash,"utf-8"),result}(topts.filename,topts.source,(()=>{var _a;const res=opts.transform(Object.assign(Object.assign(Object.assign({legacy:opts.legacy},opts.transformOptions),{babel:Object.assign(Object.assign({},opts.sourceMaps?{sourceFileName:topts.filename,sourceMaps:"inline"}:{}),null===(_a=opts.transformOptions)||void 0===_a?void 0:_a.babel)}),topts));return res.error&&opts.debug&&debug(res.error),res.code}));return code.startsWith("#!")&&(code="// "+code),code}function _interopDefault(mod){return opts.interopDefault?function(sourceModule){if(null===(val=sourceModule)||"object"!=typeof val||!("default"in sourceModule))return sourceModule;var val;const newModule=sourceModule.default;for(const key in sourceModule)if("default"===key)try{key in newModule||Object.defineProperty(newModule,key,{enumerable:!1,configurable:!1,get:()=>newModule})}catch(_err){}else try{key in newModule||Object.defineProperty(newModule,key,{enumerable:!0,configurable:!0,get:()=>sourceModule[key]})}catch(_err){}return newModule}(mod):mod}function jiti(id){var _a;if(id.startsWith("node:")?id=id.substr(5):id.startsWith("file:")&&(id=(0,external_url_namespaceObject.fileURLToPath)(id)),external_module_.builtinModules.includes(id)||".pnp.js"===id)return nativeRequire(id);const filename=_resolve(id),ext=(0,external_path_.extname)(filename);if(ext&&!opts.extensions.includes(ext))return debug("[unknown]",filename),nativeRequire(id);if(opts.requireCache&&nativeRequire.cache[filename])return _interopDefault(null===(_a=nativeRequire.cache[filename])||void 0===_a?void 0:_a.exports);let source=(0,external_fs_.readFileSync)(filename,"utf-8");const isTypescript=".ts"===ext;if(!(".cjs"===ext)&&(isTypescript||".mjs"===ext||hasESMSyntax(source)||opts.legacy&&source.match(/\?\.|\?\?/)||filename.includes("node_modules/config/")))debug("[transpile]",filename),source=transform({filename,source,ts:isTypescript});else try{return debug("[native]",filename),_interopDefault(nativeRequire(id))}catch(err){debug("Native require error:",err),debug("[fallback]",filename),source=transform({filename,source,ts:isTypescript})}const mod=new external_module_.Module(filename);let compiled;mod.filename=filename,parentModule&&(mod.parent=parentModule,Array.isArray(parentModule.children)&&!parentModule.children.includes(mod)&&parentModule.children.push(mod)),mod.require=createJITI(filename,opts,mod),mod.path=(0,external_path_.dirname)(filename),mod.paths=external_module_.Module._nodeModulePaths(mod.path),opts.requireCache&&(nativeRequire.cache[filename]=mod);try{compiled=external_vm_default().runInThisContext(external_module_.Module.wrap(source),{filename,lineOffset:0,displayErrors:!1})}catch(err){opts.requireCache&&delete nativeRequire.cache[filename],opts.onError(err)}try{compiled(mod.exports,mod.require,mod,mod.filename,(0,external_path_.dirname)(mod.filename))}catch(err){opts.requireCache&&delete nativeRequire.cache[filename],opts.onError(err)}if(mod.exports&&mod.exports.__JITI_ERROR__){const{filename,line,column,code,message}=mod.exports.__JITI_ERROR__,err=new Error(`${code}: ${message} \n ${`${filename}:${line}:${column}`}`);Error.captureStackTrace(err,jiti),opts.onError(err)}mod.loaded=!0;return _interopDefault(mod.exports)}return _resolve.paths=nativeRequire.resolve.paths,jiti.resolve=_resolve,jiti.cache=opts.requireCache?nativeRequire.cache:{},jiti.extensions=nativeRequire.extensions,jiti.main=nativeRequire.main,jiti.transform=transform,jiti.register=function(){return(0,lib.addHook)(((source,filename)=>jiti.transform({source,filename,ts:!!filename.match(/.ts$/)})),{exts:opts.extensions})},jiti}})(),module.exports=__webpack_exports__.default})();