(function(e){if(typeofmodule==="object"&&module.exports===e)e=module.exports=K;e.SEMVER_SPEC_VERSION="2.0.0";varr=256;vart=Number.MAX_SAFE_INTEGER||9007199254740991;varn=e.re=[];vari=e.src=[];vars=0;varo=s++;i[o]="0|[1-9]\\d*";vara=s++;i[a]="[0-9]+";varf=s++;i[f]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";varu=s++;i[u]="("+i[o]+")\\."+"("+i[o]+")\\."+"("+i[o]+")";varl=s++;i[l]="("+i[a]+")\\."+"("+i[a]+")\\."+"("+i[a]+")";varp=s++;i[p]="(?:"+i[o]+"|"+i[f]+")";varh=s++;i[h]="(?:"+i[a]+"|"+i[f]+")";varc=s++;i[c]="(?:-("+i[p]+"(?:\\."+i[p]+")*))";varv=s++;i[v]="(?:-?("+i[h]+"(?:\\."+i[h]+")*))";varm=s++;i[m]="[0-9A-Za-z-]+";varg=s++;i[g]="(?:\\+("+i[m]+"(?:\\."+i[m]+")*))";varw=s++;vary="v?"+i[u]+i[c]+"?"+i[g]+"?";i[w]="^"+y+"$";vard="[v=\\s]*"+i[l]+i[v]+"?"+i[g]+"?";varj=s++;i[j]="^"+d+"$";varb=s++;i[b]="((?:<|>)?=?)";varE=s++;i[E]=i[a]+"|x|X|\\*";var$=s++;i[$]=i[o]+"|x|X|\\*";vark=s++;i[k]="[v=\\s]*("+i[$]+")"+"(?:\\.("+i[$]+")"+"(?:\\.("+i[$]+")"+"(?:"+i[c]+")?"+i[g]+"?"+")?)?";varR=s++;i[R]="[v=\\s]*("+i[E]+")"+"(?:\\.("+i[E]+")"+"(?:\\.("+i[E]+")"+"(?:"+i[v]+")?"+i[g]+"?"+")?)?";varS=s++;i[S]="^"+i[b]+"\\s*"+i[k]+"$";varx=s++;i[x]="^"+i[b]+"\\s*"+i[R]+"$";varI=s++;i[I]="(?:~>?)";varT=s++;i[T]="(\\s*)"+i[I]+"\\s+";n[T]=newRegExp(i[T],"g");varV="$1~";varA=s++;i[A]="^"+i[I]+i[k]+"$";varC=s++;i[C]="^"+i[I]+i[R]+"$";varM=s++;i[M]="(?:\\^)";varN=s++;i[N]="(\\s*)"+i[M]+"\\s+";n[N]=newRegExp(i[N],"g");var_="$1^";varz=s++;i[z]="^"+i[M]+i[k]+"$";varP=s++;i[P]="^"+i[M]+i[R]+"$";varX=s++;i[X]="^"+i[b]+"\\s*("+d+")$|^$";varZ=s++;i[Z]="^"+i[b]+"\\s*("+y+")$|^$";varq=s++;i[q]="(\\s*)"+i[b]+"\\s*("+d+"|"+i[k]+")";n[q]=newRegExp(i[q],"g");varL="$1$2$3";varF=s++;i[F]="^\\s*("+i[k]+")"+"\\s+-\\s+"+"("+i[k]+")"+"\\s*$";varG=s++;i[G]="^\\s*("+i[R]+")"+"\\s+-\\s+"+"("+i[R]+")"+"\\s*$";varO=s++;i[O]="(<|>)?=?\\s*\\*";for(varB=0;B<s;B++){if(!n[B])n[B]=newRegExp(i[B])}e.parse=D;functionD(e,t){if(einstanceofK)returne;if(typeofe!=="string")returnnull;if(e.length>r)returnnull;vari=t?n[j]:n[w];if(!i.test(e))returnnull;try{returnnewK(e,t)}catch(s){returnnull}}e.valid=H;functionH(e,r){vart=D(e,r);returnt?t.version:null}e.clean=J;functionJ(e,r){vart=D(e.trim().replace(/^[=v]+/,""),r);returnt?t.version:null}e.SemVer=K;functionK(e,i){if(einstanceofK){if(e.loose===i)returne;elsee=e.version}elseif(typeofe!=="string"){thrownewTypeError("Invalid Version: "+e)}if(e.length>r)thrownewTypeError("version is longer than "+r+" characters");if(!(thisinstanceofK))returnnewK(e,i);this.loose=i;vars=e.trim().match(i?n[j]:n[w]);if(!s)thrownewTypeError("Invalid Version: "+e);this.raw=e;this.major=+s[1];this.minor=+s[2];this.patch=+s[3];if(this.major>t||this.major<0)thrownewTypeError("Invalid major version");if(this.minor>t||this.minor<0)thrownewTypeError("Invalid minor version");if(this.patch>t||this.patch<0)thrownewTypeError("Invalid patch version");if(!s[4])this.prerelease=[];elsethis.prerelease=s[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){varr=+e;if(r>=0&&r<t)returnr}returne});this.build=s[5]?s[5].split("."):[];this.format()}K.prototype.format=function(){this.version=this.major+"."+this.minor+"."+this.patch;if(this.prerelease.length)this.version+="-"+this.prerelease.join(".");returnthis.version};K.prototype.inspect=function(){return'<SemVer "'+this+'">'};K.prototype.toString=function(){returnthis.version};K.prototype.compare=function(e){if(!(einstanceofK))e=newK(e,this.loose);returnthis.compareMain(e)||this.comparePre(e)};K.prototype.compareMain=function(e){if(!(einstanceofK))e=newK(e,this.loose);returnY(this.major,e.major)||Y(this.minor,e.minor)||Y(this.patch,e.patch)};K.prototype.comparePre=function(e){if(!(einstanceofK))e=newK(e,this.loose);if(this.prerelease.length&&!e.prerelease.length)return-1;elseif(!this.prerelease.length&&e.prerelease.length)return1;elseif(!this.prerelease.length&&!e.prerelease.length)return0;varr=0;do{vart=this.prerelease[r];varn=e.prerelease[r];if(t===undefined&&n===undefined)return0;elseif(n===undefined)return1;elseif(t===un