@bring-it/npm
Version:
Publish npm packages when needed
1 lines • 149 kB
JavaScript
export const __webpack_id__=240;export const __webpack_ids__=[240];export const __webpack_modules__={32:(e,t,r)=>{const n=r(6999),o=r(229),i=r(2771),s=r(3436),a=r(1289),l=r(9140),c=r(9903),d=r(826),u=r(2223),p=r(4247),f=r(5363),m=r(7148),h=r(3306),b=r(5469),g=r(1861),y=r(6002),w=r(4104),v=r(7256),E=r(4240),S=r(7743),I=r(8200),T=r(1314),O=r(7238),$=r(236),x=r(3765),R=r(3566),N=r(5585),A=r(9003),D=r(2326),M=r(4163),C=r(4678),L=r(9313),P=r(3835),j=r(898),B=r(1913),k=r(6640),U=r(6460),F=r(1573),G=r(7713),_=r(2468),W=r(2809);e.exports={parse:a,valid:l,clean:c,inc:d,diff:u,major:p,minor:f,patch:m,prerelease:h,compare:b,rcompare:g,compareLoose:y,compareBuild:w,sort:v,rsort:E,gt:S,lt:I,eq:T,neq:O,gte:$,lte:x,cmp:R,coerce:N,Comparator:A,Range:D,satisfies:M,toComparators:C,maxSatisfying:L,minSatisfying:P,minVersion:j,validRange:B,outside:k,gtr:U,ltr:F,intersects:G,simplifyRange:_,subset:W,SemVer:i,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:o.SEMVER_SPEC_VERSION,RELEASE_TYPES:o.RELEASE_TYPES,compareIdentifiers:s.compareIdentifiers,rcompareIdentifiers:s.rcompareIdentifiers}},229:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},236:(e,t,r)=>{const n=r(5469);e.exports=(e,t,r)=>n(e,t,r)>=0},442:e=>{const t="win32"===process.platform;function r(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function n(e,n){return t&&1===e&&!n.file?r(n.original,"spawn"):null}e.exports={hookChildProcess:function(e,r){if(!t)return;const o=e.emit;e.emit=function(t,i){if("exit"===t){const t=n(i,r);if(t)return o.call(e,"error",t)}return o.apply(e,arguments)}},verifyENOENT:n,verifyENOENTSync:function(e,n){return t&&1===e&&!n.file?r(n.original,"spawnSync"):null},notFoundError:r}},600:(e,t,r)=>{const n=r(7257);e.exports=(e="")=>{const t=e.match(n);if(!t)return null;const[r,o]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?o:o?`${i} ${o}`:i}},709:(e,t,r)=>{e.exports=o,o.sync=function(e,t){return i(n.statSync(e),t)};var n=r(9896);function o(e,t,r){n.stat(e,(function(e,n){r(e,!e&&i(n,t))}))}function i(e,t){return e.isFile()&&function(e,t){var r=e.mode,n=e.uid,o=e.gid,i=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),s=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),l=parseInt("010",8);return r&parseInt("001",8)||r&l&&o===s||r&a&&n===i||r&(a|l)&&0===i}(e,t)}},826:(e,t,r)=>{const n=r(2771);e.exports=(e,t,r,o,i)=>{"string"==typeof r&&(i=o,o=r,r=void 0);try{return new n(e instanceof n?e.version:e,r).inc(t,o,i).version}catch(e){return null}}},898:(e,t,r)=>{const n=r(2771),o=r(2326),i=r(7743);e.exports=(e,t)=>{e=new o(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t<e.set.length;++t){const o=e.set[t];let s=null;o.forEach((e=>{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":s&&!i(t,s)||(s=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!s||r&&!i(r,s)||(r=s)}return r&&e.test(r)?r:null}},1289:(e,t,r)=>{const n=r(2771);e.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}},1314:(e,t,r)=>{const n=r(5469);e.exports=(e,t,r)=>0===n(e,t,r)},1573:(e,t,r)=>{const n=r(6640);e.exports=(e,t,r)=>n(e,t,"<",r)},1861:(e,t,r)=>{const n=r(5469);e.exports=(e,t,r)=>n(t,e,r)},1880:(e,t,r)=>{const n=r(9896),o=r(600);e.exports=function(e){const t=Buffer.alloc(150);let r;try{r=n.openSync(e,"r"),n.readSync(r,t,0,150,0),n.closeSync(r)}catch(e){}return o(t.toString())}},1905:(e,t,r)=>{const n="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,o=r(6928),i=n?";":":",s=r(9344),a=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),l=(e,t)=>{const r=t.colon||i,o=e.match(/\//)||n&&e.match(/\\/)?[""]:[...n?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],s=n?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",a=n?s.split(r):[""];return n&&-1!==e.indexOf(".")&&""!==a[0]&&a.unshift(""),{pathEnv:o,pathExt:a,pathExtExe:s}},c=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});const{pathEnv:n,pathExt:i,pathExtExe:c}=l(e,t),d=[],u=r=>new Promise(((i,s)=>{if(r===n.length)return t.all&&d.length?i(d):s(a(e));const l=n[r],c=/^".*"$/.test(l)?l.slice(1,-1):l,u=o.join(c,e),f=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;i(p(f,r,0))})),p=(e,r,n)=>new Promise(((o,a)=>{if(n===i.length)return o(u(r+1));const l=i[n];s(e+l,{pathExt:c},((i,s)=>{if(!i&&s){if(!t.all)return o(e+l);d.push(e+l)}return o(p(e,r,n+1))}))}));return r?u(0).then((e=>r(null,e)),r):u(0)};e.exports=c,c.sync=(e,t)=>{t=t||{};const{pathEnv:r,pathExt:n,pathExtExe:i}=l(e,t),c=[];for(let a=0;a<r.length;a++){const l=r[a],d=/^".*"$/.test(l)?l.slice(1,-1):l,u=o.join(d,e),p=!d&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;for(let e=0;e<n.length;e++){const r=p+n[e];try{if(s.sync(r,{pathExt:i})){if(!t.all)return r;c.push(r)}}catch(e){}}}if(t.all&&c.length)return c;if(t.nothrow)return null;throw a(e)}},1913:(e,t,r)=>{const n=r(2326);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},2077:e=>{const t=/([()\][%!^"`<>&|;, *?])/g;e.exports.command=function(e){return e.replace(t,"^$1")},e.exports.argument=function(e,r){return e=(e=`"${e=(e=(e=`${e}`).replace(/(?=(\\+?)?)\1"/g,'$1$1\\"')).replace(/(?=(\\+?)?)\1$/,"$1$1")}"`).replace(t,"^$1"),r&&(e=e.replace(t,"^$1")),e}},2223:(e,t,r)=>{const n=r(1289);e.exports=(e,t)=>{const r=n(e,null,!0),o=n(t,null,!0),i=r.compare(o);if(0===i)return null;const s=i>0,a=s?r:o,l=s?o:r,c=!!a.prerelease.length;if(l.prerelease.length&&!c){if(!l.patch&&!l.minor)return"major";if(0===l.compareMain(a))return l.minor&&!l.patch?"minor":"patch"}const d=c?"pre":"";return r.major!==o.major?d+"major":r.minor!==o.minor?d+"minor":r.patch!==o.patch?d+"patch":"prerelease"}},2326:(e,t,r)=>{const n=/\s+/g;class o{constructor(e,t){if(t=s(t),e instanceof o)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new o(e.raw,t);if(e instanceof a)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(n," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!g(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&y(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&h)|(this.options.loose&&b))+":"+e,r=i.get(t);if(r)return r;const n=this.options.loose,o=n?d[u.HYPHENRANGELOOSE]:d[u.HYPHENRANGE];e=e.replace(o,A(this.options.includePrerelease)),l("hyphen replace",e),e=e.replace(d[u.COMPARATORTRIM],p),l("comparator trim",e),e=e.replace(d[u.TILDETRIM],f),l("tilde trim",e),e=e.replace(d[u.CARETTRIM],m),l("caret trim",e);let s=e.split(" ").map((e=>v(e,this.options))).join(" ").split(/\s+/).map((e=>N(e,this.options)));n&&(s=s.filter((e=>(l("loose invalid filter",e,this.options),!!e.match(d[u.COMPARATORLOOSE]))))),l("range list",s);const c=new Map,y=s.map((e=>new a(e,this.options)));for(const e of y){if(g(e))return[e];c.set(e.value,e)}c.size>1&&c.has("")&&c.delete("");const w=[...c.values()];return i.set(t,w),w}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Range is required");return this.set.some((r=>w(r,t)&&e.set.some((e=>w(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(D(this.set[t],e,this.options))return!0;return!1}}e.exports=o;const i=new(r(2351)),s=r(2860),a=r(9003),l=r(4159),c=r(2771),{safeRe:d,t:u,comparatorTrimReplace:p,tildeTrimReplace:f,caretTrimReplace:m}=r(6999),{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:b}=r(229),g=e=>"<0.0.0-0"===e.value,y=e=>""===e.value,w=(e,t)=>{let r=!0;const n=e.slice();let o=n.pop();for(;r&&n.length;)r=n.every((e=>o.intersects(e,t))),o=n.pop();return r},v=(e,t)=>(l("comp",e,t),e=T(e,t),l("caret",e),e=S(e,t),l("tildes",e),e=$(e,t),l("xrange",e),e=R(e,t),l("stars",e),e),E=e=>!e||"x"===e.toLowerCase()||"*"===e,S=(e,t)=>e.trim().split(/\s+/).map((e=>I(e,t))).join(" "),I=(e,t)=>{const r=t.loose?d[u.TILDELOOSE]:d[u.TILDE];return e.replace(r,((t,r,n,o,i)=>{let s;return l("tilde",e,t,r,n,o,i),E(r)?s="":E(n)?s=`>=${r}.0.0 <${+r+1}.0.0-0`:E(o)?s=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:i?(l("replaceTilde pr",i),s=`>=${r}.${n}.${o}-${i} <${r}.${+n+1}.0-0`):s=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,l("tilde return",s),s}))},T=(e,t)=>e.trim().split(/\s+/).map((e=>O(e,t))).join(" "),O=(e,t)=>{l("caret",e,t);const r=t.loose?d[u.CARETLOOSE]:d[u.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,o,i,s)=>{let a;return l("caret",e,t,r,o,i,s),E(r)?a="":E(o)?a=`>=${r}.0.0${n} <${+r+1}.0.0-0`:E(i)?a="0"===r?`>=${r}.${o}.0${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${n} <${+r+1}.0.0-0`:s?(l("replaceCaret pr",s),a="0"===r?"0"===o?`>=${r}.${o}.${i}-${s} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}-${s} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i}-${s} <${+r+1}.0.0-0`):(l("no pr"),a="0"===r?"0"===o?`>=${r}.${o}.${i}${n} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i} <${+r+1}.0.0-0`),l("caret return",a),a}))},$=(e,t)=>(l("replaceXRanges",e,t),e.split(/\s+/).map((e=>x(e,t))).join(" ")),x=(e,t)=>{e=e.trim();const r=t.loose?d[u.XRANGELOOSE]:d[u.XRANGE];return e.replace(r,((r,n,o,i,s,a)=>{l("xRange",e,r,n,o,i,s,a);const c=E(o),d=c||E(i),u=d||E(s),p=u;return"="===n&&p&&(n=""),a=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(d&&(i=0),s=0,">"===n?(n=">=",d?(o=+o+1,i=0,s=0):(i=+i+1,s=0)):"<="===n&&(n="<",d?o=+o+1:i=+i+1),"<"===n&&(a="-0"),r=`${n+o}.${i}.${s}${a}`):d?r=`>=${o}.0.0${a} <${+o+1}.0.0-0`:u&&(r=`>=${o}.${i}.0${a} <${o}.${+i+1}.0-0`),l("xRange return",r),r}))},R=(e,t)=>(l("replaceStars",e,t),e.trim().replace(d[u.STAR],"")),N=(e,t)=>(l("replaceGTE0",e,t),e.trim().replace(d[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),A=e=>(t,r,n,o,i,s,a,l,c,d,u,p)=>`${r=E(n)?"":E(o)?`>=${n}.0.0${e?"-0":""}`:E(i)?`>=${n}.${o}.0${e?"-0":""}`:s?`>=${r}`:`>=${r}${e?"-0":""}`} ${l=E(c)?"":E(d)?`<${+c+1}.0.0-0`:E(u)?`<${c}.${+d+1}.0-0`:p?`<=${c}.${d}.${u}-${p}`:e?`<${c}.${d}.${+u+1}-0`:`<=${l}`}`.trim(),D=(e,t,r)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++)if(l(e[r].semver),e[r].semver!==a.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},2351:e=>{e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},2468:(e,t,r)=>{const n=r(4163),o=r(5469);e.exports=(e,t,r)=>{const i=[];let s=null,a=null;const l=e.sort(((e,t)=>o(e,t,r)));for(const e of l)n(e,t,r)?(a=e,s||(s=e)):(a&&i.push([s,a]),a=null,s=null);s&&i.push([s,null]);const c=[];for(const[e,t]of i)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const d=c.join(" || "),u="string"==typeof t.raw?t.raw:String(t);return d.length<u.length?d:t}},2771:(e,t,r)=>{const n=r(4159),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r(229),{safeRe:s,t:a}=r(6999),l=r(2860),{compareIdentifiers:c}=r(3436);class d{constructor(e,t){if(t=l(t),e instanceof d){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?s[a.LOOSE]:s[a.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(n("SemVer.compare",this.version,this.options,e),!(e instanceof d)){if("string"==typeof e&&e===this.version)return 0;e=new d(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof d||(e=new d(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof d||(e=new d(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return c(r,o)}while(++t)}compareBuild(e){e instanceof d||(e=new d(e,this.options));let t=0;do{const r=this.build[t],o=e.build[t];if(n("build compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return c(r,o)}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?s[a.PRERELEASELOOSE]:s[a.PRERELEASE]);if(!e||e[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,r),this.inc("pre",t,r);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(r)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=d},2809:(e,t,r)=>{const n=r(2326),o=r(9003),{ANY:i}=o,s=r(4163),a=r(5469),l=[new o(">=0.0.0-0")],c=[new o(">=0.0.0")],d=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?l:c}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=c}const n=new Set;let o,d,f,m,h,b,g;for(const t of e)">"===t.operator||">="===t.operator?o=u(o,t,r):"<"===t.operator||"<="===t.operator?d=p(d,t,r):n.add(t.semver);if(n.size>1)return null;if(o&&d){if(f=a(o.semver,d.semver,r),f>0)return null;if(0===f&&(">="!==o.operator||"<="!==d.operator))return null}for(const e of n){if(o&&!s(e,String(o),r))return null;if(d&&!s(e,String(d),r))return null;for(const n of t)if(!s(e,String(n),r))return!1;return!0}let y=!(!d||r.includePrerelease||!d.semver.prerelease.length)&&d.semver,w=!(!o||r.includePrerelease||!o.semver.prerelease.length)&&o.semver;y&&1===y.prerelease.length&&"<"===d.operator&&0===y.prerelease[0]&&(y=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,b=b||"<"===e.operator||"<="===e.operator,o)if(w&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===w.major&&e.semver.minor===w.minor&&e.semver.patch===w.patch&&(w=!1),">"===e.operator||">="===e.operator){if(m=u(o,e,r),m===e&&m!==o)return!1}else if(">="===o.operator&&!s(o.semver,String(e),r))return!1;if(d)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if(h=p(d,e,r),h===e&&h!==d)return!1}else if("<="===d.operator&&!s(d.semver,String(e),r))return!1;if(!e.operator&&(d||o)&&0!==f)return!1}return!(o&&b&&!d&&0!==f||d&&g&&!o&&0!==f||w||y)},u=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},p=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let o=!1;e:for(const n of e.set){for(const e of t.set){const t=d(n,e,r);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},2860:e=>{const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},3306:(e,t,r)=>{const n=r(1289);e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},3436:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const n=t.test(e),o=t.test(r);return n&&o&&(e=+e,r=+r),e===r?0:n&&!o?-1:o&&!n?1:e<r?-1:1};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}},3533:e=>{const{hasOwnProperty:t}=Object.prototype,r=(e,t={})=>{"string"==typeof t&&(t={section:t}),t.align=!0===t.align,t.newline=!0===t.newline,t.sort=!0===t.sort,t.whitespace=!0===t.whitespace||!0===t.align,t.platform=t.platform||"undefined"!=typeof process&&process.platform,t.bracketedArray=!1!==t.bracketedArray;const o="win32"===t.platform?"\r\n":"\n",i=t.whitespace?" = ":"=",a=[],l=t.sort?Object.keys(e).sort():Object.keys(e);let c=0;t.align&&(c=s(l.filter((t=>null===e[t]||Array.isArray(e[t])||"object"!=typeof e[t])).map((t=>Array.isArray(e[t])?`${t}[]`:t)).concat([""]).reduce(((e,t)=>s(e).length>=s(t).length?e:t))).length);let d="";const u=t.bracketedArray?"[]":"";for(const t of l){const r=e[t];if(r&&Array.isArray(r))for(const e of r)d+=s(`${t}${u}`).padEnd(c," ")+i+s(e)+o;else r&&"object"==typeof r?a.push(t):d+=s(t).padEnd(c," ")+i+s(r)+o}t.section&&d.length&&(d="["+s(t.section)+"]"+(t.newline?o+o:o)+d);for(const i of a){const s=n(i,".").join("\\."),a=(t.section?t.section+".":"")+s,l=r(e[i],{...t,section:a});d.length&&l.length&&(d+=o),d+=l}return d};function n(e,t){var r=0,n=0,o=0,i=[];do{if(-1!==(o=e.indexOf(t,r))){if(r=o+t.length,o>0&&"\\"===e[o-1])continue;i.push(e.slice(n,o)),n=o+t.length}}while(-1!==o);return i.push(e.slice(n)),i}const o=(e,r={})=>{r.bracketedArray=!1!==r.bracketedArray;const o=Object.create(null);let i=o,s=null;const l=/^\[([^\]]*)\]\s*$|^([^=]+)(=(.*))?$/i,c=e.split(/[\r\n]+/g),d={};for(const e of c){if(!e||e.match(/^\s*[;#]/)||e.match(/^\s*$/))continue;const n=e.match(l);if(!n)continue;if(void 0!==n[1]){if(s=a(n[1]),"__proto__"===s){i=Object.create(null);continue}i=o[s]=o[s]||Object.create(null);continue}const c=a(n[2]);let u;r.bracketedArray?u=c.length>2&&"[]"===c.slice(-2):(d[c]=(d?.[c]||0)+1,u=d[c]>1);const p=u&&c.endsWith("[]")?c.slice(0,-2):c;if("__proto__"===p)continue;const f=!n[3]||a(n[4]),m="true"===f||"false"===f||"null"===f?JSON.parse(f):f;u&&(t.call(i,p)?Array.isArray(i[p])||(i[p]=[i[p]]):i[p]=[]),Array.isArray(i[p])?i[p].push(m):i[p]=m}const u=[];for(const e of Object.keys(o)){if(!t.call(o,e)||"object"!=typeof o[e]||Array.isArray(o[e]))continue;const r=n(e,".");i=o;const s=r.pop(),a=s.replace(/\\\./g,".");for(const e of r)"__proto__"!==e&&(t.call(i,e)&&"object"==typeof i[e]||(i[e]=Object.create(null)),i=i[e]);i===o&&a===s||(i[a]=o[e],u.push(e))}for(const e of u)delete o[e];return o},i=e=>e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"),s=e=>"string"!=typeof e||e.match(/[=\r\n]/)||e.match(/^\[/)||e.length>1&&i(e)||e!==e.trim()?JSON.stringify(e):e.split(";").join("\\;").split("#").join("\\#"),a=e=>{if(e=(e||"").trim(),!i(e)){let t=!1,r="";for(let n=0,o=e.length;n<o;n++){const o=e.charAt(n);if(t)-1!=="\\;#".indexOf(o)?r+=o:r+="\\"+o,t=!1;else{if(-1!==";#".indexOf(o))break;"\\"===o?t=!0:r+=o}}return t&&(r+="\\"),r.trim()}"'"===e.charAt(0)&&(e=e.slice(1,-1));try{e=JSON.parse(e)}catch{}return e};e.exports={parse:o,decode:o,stringify:r,encode:r,safe:s,unsafe:a}},3566:(e,t,r)=>{const n=r(1314),o=r(7238),i=r(7743),s=r(236),a=r(8200),l=r(3765);e.exports=(e,t,r,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,c);case"!=":return o(e,r,c);case">":return i(e,r,c);case">=":return s(e,r,c);case"<":return a(e,r,c);case"<=":return l(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},3765:(e,t,r)=>{const n=r(5469);e.exports=(e,t,r)=>n(e,t,r)<=0},3803:(e,t,r)=>{const n=r(6928),o=r(1905),i=r(9695);function s(e,t){const r=e.options.env||process.env,s=process.cwd(),a=null!=e.options.cwd,l=a&&void 0!==process.chdir&&!process.chdir.disabled;if(l)try{process.chdir(e.options.cwd)}catch(e){}let c;try{c=o.sync(e.command,{path:r[i({env:r})],pathExt:t?n.delimiter:void 0})}catch(e){}finally{l&&process.chdir(s)}return c&&(c=n.resolve(a?e.options.cwd:"",c)),c}e.exports=function(e){return s(e)||s(e,!0)}},3835:(e,t,r)=>{const n=r(2771),o=r(2326);e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&1!==s.compare(e)||(i=e,s=new n(i,r)))})),i}},4104:(e,t,r)=>{const n=r(2771);e.exports=(e,t,r)=>{const o=new n(e,r),i=new n(t,r);return o.compare(i)||o.compareBuild(i)}},4159:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},4163:(e,t,r)=>{const n=r(2326);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},4240:(e,t,r)=>{const n=r(4104);e.exports=(e,t)=>e.sort(((e,r)=>n(r,e,t)))},4247:(e,t,r)=>{const n=r(2771);e.exports=(e,t)=>new n(e,t).major},4678:(e,t,r)=>{const n=r(2326);e.exports=(e,t)=>new n(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},5363:(e,t,r)=>{const n=r(2771);e.exports=(e,t)=>new n(e,t).minor},5469:(e,t,r)=>{const n=r(2771);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},5585:(e,t,r)=>{const n=r(2771),o=r(1289),{safeRe:i,t:s}=r(6999);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){const n=t.includePrerelease?i[s.COERCERTLFULL]:i[s.COERCERTL];let o;for(;(o=n.exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&o.index+o[0].length===r.index+r[0].length||(r=o),n.lastIndex=o.index+o[1].length+o[2].length;n.lastIndex=-1}else r=e.match(t.includePrerelease?i[s.COERCEFULL]:i[s.COERCE]);if(null===r)return null;const a=r[2],l=r[3]||"0",c=r[4]||"0",d=t.includePrerelease&&r[5]?`-${r[5]}`:"",u=t.includePrerelease&&r[6]?`+${r[6]}`:"";return o(`${a}.${l}.${c}${d}${u}`,t)}},6002:(e,t,r)=>{const n=r(5469);e.exports=(e,t)=>n(e,t,!0)},6460:(e,t,r)=>{const n=r(6640);e.exports=(e,t,r)=>n(e,t,">",r)},6507:(e,t,r)=>{const n=r(5317),o=r(8388),i=r(442);function s(e,t,r){const s=o(e,t,r),a=n.spawn(s.command,s.args,s.options);return i.hookChildProcess(a,s),a}e.exports=s,e.exports.spawn=s,e.exports.sync=function(e,t,r){const s=o(e,t,r),a=n.spawnSync(s.command,s.args,s.options);return a.error=a.error||i.verifyENOENTSync(a.status,s),a},e.exports._parse=o,e.exports._enoent=i},6640:(e,t,r)=>{const n=r(2771),o=r(9003),{ANY:i}=o,s=r(2326),a=r(4163),l=r(7743),c=r(8200),d=r(3765),u=r(236);e.exports=(e,t,r,p)=>{let f,m,h,b,g;switch(e=new n(e,p),t=new s(t,p),r){case">":f=l,m=d,h=c,b=">",g=">=";break;case"<":f=c,m=u,h=l,b="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,p))return!1;for(let r=0;r<t.set.length;++r){const n=t.set[r];let s=null,a=null;if(n.forEach((e=>{e.semver===i&&(e=new o(">=0.0.0")),s=s||e,a=a||e,f(e.semver,s.semver,p)?s=e:h(e.semver,a.semver,p)&&(a=e)})),s.operator===b||s.operator===g)return!1;if((!a.operator||a.operator===b)&&m(e,a.semver))return!1;if(a.operator===g&&h(e,a.semver))return!1}return!0}},6999:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:i}=r(229),s=r(4159),a=(t=e.exports={}).re=[],l=t.safeRe=[],c=t.src=[],d=t.safeSrc=[],u=t.t={};let p=0;const f="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",i],[f,o]],h=(e,t,r)=>{const n=(e=>{for(const[t,r]of m)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e})(t),o=p++;s(e,o,t),u[e]=o,c[o]=t,d[o]=n,a[o]=new RegExp(t,r?"g":void 0),l[o]=new RegExp(n,r?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),h("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${f}+`),h("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),h("FULL",`^${c[u.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),h("LOOSE",`^${c[u.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),h("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),h("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),h("COERCE",`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),h("COERCEFULL",c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?`+`(?:${c[u.BUILD]})?(?:$|[^\\d])`),h("COERCERTL",c[u.COERCE],!0),h("COERCERTLFULL",c[u.COERCEFULL],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},7148:(e,t,r)=>{const n=r(2771);e.exports=(e,t)=>new n(e,t).patch},7238:(e,t,r)=>{const n=r(5469);e.exports=(e,t,r)=>0!==n(e,t,r)},7256:(e,t,r)=>{const n=r(4104);e.exports=(e,t)=>e.sort(((e,r)=>n(e,r,t)))},7257:e=>{e.exports=/^#!(.*)/},7713:(e,t,r)=>{const n=r(2326);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r))},7743:(e,t,r)=>{const n=r(5469);e.exports=(e,t,r)=>n(e,t,r)>0},8127:(e,t,r)=>{r.d(t,{Ay:()=>M});const n=(e=0)=>t=>`\x1b[${t+e}m`,o=(e=0)=>t=>`\x1b[${38+e};5;${t}m`,i=(e=0)=>(t,r,n)=>`\x1b[${38+e};2;${t};${r};${n}m`,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(s.modifier),Object.keys(s.color),Object.keys(s.bgColor);const a=function(){const e=new Map;for(const[t,r]of Object.entries(s)){for(const[t,n]of Object.entries(r))s[t]={open:`\x1b[${n[0]}m`,close:`\x1b[${n[1]}m`},r[t]=s[t],e.set(n[0],n[1]);Object.defineProperty(s,t,{value:r,enumerable:!1})}return Object.defineProperty(s,"codes",{value:e,enumerable:!1}),s.color.close="\x1b[39m",s.bgColor.close="\x1b[49m",s.color.ansi=n(),s.color.ansi256=o(),s.color.ansi16m=i(),s.bgColor.ansi=n(10),s.bgColor.ansi256=o(10),s.bgColor.ansi16m=i(10),Object.defineProperties(s,{rgbToAnsi256:{value:(e,t,r)=>e===t&&t===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(r/255*5),enumerable:!1},hexToRgb:{value(e){const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[r]=t;3===r.length&&(r=[...r].map((e=>e+e)).join(""));const n=Number.parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},enumerable:!1},hexToAnsi256:{value:e=>s.rgbToAnsi256(...s.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return e-8+90;let t,r,n;if(e>=232)t=(10*(e-232)+8)/255,r=t,n=t;else{const o=(e-=16)%36;t=Math.floor(e/36)/5,r=Math.floor(o/6)/5,n=o%6/5}const o=2*Math.max(t,r,n);if(0===o)return 30;let i=30+(Math.round(n)<<2|Math.round(r)<<1|Math.round(t));return 2===o&&(i+=60),i},enumerable:!1},rgbToAnsi:{value:(e,t,r)=>s.ansi256ToAnsi(s.rgbToAnsi256(e,t,r)),enumerable:!1},hexToAnsi:{value:e=>s.ansi256ToAnsi(s.hexToAnsi256(e)),enumerable:!1}}),s}();var l=r(1708),c=r(8161),d=r(7066);function u(e,t=(globalThis.Deno?globalThis.Deno.args:l.argv)){const r=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(r+e),o=t.indexOf("--");return-1!==n&&(-1===o||n<o)}const{env:p}=l;let f;function m(e,t={}){return 0!==(r=function(e,{streamIsTTY:t,sniffFlags:r=!0}={}){const n=function(){if("FORCE_COLOR"in p)return"true"===p.FORCE_COLOR?1:"false"===p.FORCE_COLOR?0:0===p.FORCE_COLOR.length?1:Math.min(Number.parseInt(p.FORCE_COLOR,10),3)}();void 0!==n&&(f=n);const o=r?f:n;if(0===o)return 0;if(r){if(u("color=16m")||u("color=full")||u("color=truecolor"))return 3;if(u("color=256"))return 2}if("TF_BUILD"in p&&"AGENT_NAME"in p)return 1;if(e&&!t&&void 0===o)return 0;const i=o||0;if("dumb"===p.TERM)return i;if("win32"===l.platform){const e=c.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in p)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((e=>e in p))?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((e=>e in p))||"codeship"===p.CI_NAME?1:i;if("TEAMCITY_VERSION"in p)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(p.TEAMCITY_VERSION)?1:0;if("truecolor"===p.COLORTERM)return 3;if("xterm-kitty"===p.TERM)return 3;if("TERM_PROGRAM"in p){const e=Number.parseInt((p.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(p.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(p.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(p.TERM)||"COLORTERM"in p?1:i}(e,{streamIsTTY:e&&e.isTTY,...t}))&&{level:r,hasBasic:!0,has256:r>=2,has16m:r>=3};var r}u("no-color")||u("no-colors")||u("color=false")||u("color=never")?f=0:(u("color")||u("colors")||u("color=true")||u("color=always"))&&(f=1);const h={stdout:m({isTTY:d.isatty(1)}),stderr:m({isTTY:d.isatty(2)})};function b(e,t,r){let n=e.indexOf(t);if(-1===n)return e;const o=t.length;let i=0,s="";do{s+=e.slice(i,n)+t+r,i=n+o,n=e.indexOf(t,i)}while(-1!==n);return s+=e.slice(i),s}const{stdout:g,stderr:y}=h,w=Symbol("GENERATOR"),v=Symbol("STYLER"),E=Symbol("IS_EMPTY"),S=["ansi","ansi","ansi256","ansi16m"],I=Object.create(null);function T(e){return(e=>{const t=(...e)=>e.join(" ");return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const r=g?g.level:0;e.level=void 0===t.level?r:t.level})(t,e),Object.setPrototypeOf(t,T.prototype),t})(e)}Object.setPrototypeOf(T.prototype,Function.prototype);for(const[e,t]of Object.entries(a))I[e]={get(){const r=N(this,R(t.open,t.close,this[v]),this[E]);return Object.defineProperty(this,e,{value:r}),r}};I.visible={get(){const e=N(this,this[v],!0);return Object.defineProperty(this,"visible",{value:e}),e}};const O=(e,t,r,...n)=>"rgb"===e?"ansi16m"===t?a[r].ansi16m(...n):"ansi256"===t?a[r].ansi256(a.rgbToAnsi256(...n)):a[r].ansi(a.rgbToAnsi(...n)):"hex"===e?O("rgb",t,r,...a.hexToRgb(...n)):a[r][e](...n),$=["rgb","hex","ansi256"];for(const e of $)I[e]={get(){const{level:t}=this;return function(...r){const n=R(O(e,S[t],"color",...r),a.color.close,this[v]);return N(this,n,this[E])}}},I["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...r){const n=R(O(e,S[t],"bgColor",...r),a.bgColor.close,this[v]);return N(this,n,this[E])}}};const x=Object.defineProperties((()=>{}),{...I,level:{enumerable:!0,get(){return this[w].level},set(e){this[w].level=e}}}),R=(e,t,r)=>{let n,o;return void 0===r?(n=e,o=t):(n=r.openAll+e,o=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:o,parent:r}},N=(e,t,r)=>{const n=(...e)=>A(n,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(n,x),n[w]=e,n[v]=t,n[E]=r,n},A=(e,t)=>{if(e.level<=0||!t)return e[E]?"":t;let r=e[v];if(void 0===r)return t;const{openAll:n,closeAll:o}=r;if(t.includes("\x1b"))for(;void 0!==r;)t=b(t,r.close,r.open),r=r.parent;const i=t.indexOf("\n");return-1!==i&&(t=function(e,t,r,n){let o=0,i="";do{const s="\r"===e[n-1];i+=e.slice(o,s?n-1:n)+t+(s?"\r\n":"\n")+r,o=n+1,n=e.indexOf("\n",o)}while(-1!==n);return i+=e.slice(o),i}(t,o,n,i)),n+t+o};Object.defineProperties(T.prototype,I);const D=T(),M=(T({level:y?y.level:0}),D)},8200:(e,t,r)=>{const n=r(5469);e.exports=(e,t,r)=>n(e,t,r)<0},8388:(e,t,r)=>{const n=r(6928),o=r(3803),i=r(2077),s=r(1880),a="win32"===process.platform,l=/\.(?:com|exe)$/i,c=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;e.exports=function(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null);const d={command:e,args:t=t?t.slice(0):[],options:r=Object.assign({},r),file:void 0,original:{command:e,args:t}};return r.shell?d:function(e){if(!a)return e;const t=function(e){e.file=o(e);const t=e.file&&s(e.file);return t?(e.args.unshift(e.file),e.command=t,o(e)):e.file}(e),r=!l.test(t);if(e.options.forceShell||r){const r=c.test(t);e.command=n.normalize(e.command),e.command=i.command(e.command),e.args=e.args.map((e=>i.argument(e,r)));const o=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${o}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}(d)}},8399:e=>{e.exports=function(e){if("string"!=typeof e)return!1;var o=e.match(t);if(!o)return!1;var i=o[1];return!!i&&!(!r.test(i)&&!n.test(i))};var t=/^(?:\w+:)?\/\/(\S+)$/,r=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,n=/^[^\s\.]+\.\S{2,}$/},8541:(e,t,r)=>{e.exports=i,i.sync=function(e,t){return o(n.statSync(e),e,t)};var n=r(9896);function o(e,t,r){return!(!e.isSymbolicLink()&&!e.isFile())&&function(e,t){var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r)return!0;if(-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;n<r.length;n++){var o=r[n].toLowerCase();if(o&&e.substr(-o.length).toLowerCase()===o)return!0}return!1}(t,r)}function i(e,t,r){n.stat(e,(function(n,i){r(n,!n&&o(i,e,t))}))}},9003:(e,t,r)=>{const n=Symbol("SemVer ANY");class o{static get ANY(){return n}constructor(e,t){if(t=i(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new d(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new u(e.value,t).test(this.value):""===e.operator?""===e.value||new u(this.value,t).test(e.semver):!((t=i(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}e.exports=o;const i=r(2860),{safeRe:s,t:a}=r(6999),l=r(3566),c=r(4159),d=r(2771),u=r(2326)},9140:(e,t,r)=>{const n=r(1289);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},9313:(e,t,r)=>{const n=r(2771),o=r(2326);e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&-1!==s.compare(e)||(i=e,s=new n(i,r)))})),i}},9344:(e,t,r)=>{var n;function o(e,t,r){if("function"==typeof t&&(r=t,t={}),!r){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise((function(r,n){o(e,t||{},(function(e,t){e?n(e):r(t)}))}))}n(e,t||{},(function(e,n){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n)}))}r(9896),n="win32"===process.platform||global.TESTING_WINDOWS?r(8541):r(709),e.exports=o,o.sync=function(e,t){try{return n.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}}},9631:(e,t,r)=>{const{builtinModules:n}=r(3339);var o=new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"),i=["node_modules","favicon.ico"],s=function(e,t){var r={validForNewPackages:0===t.length&&0===e.length,validForOldPackages:0===t.length,warnings:e,errors:t};return r.warnings.length||delete r.warnings,r.errors.length||delete r.errors,r};e.exports=function(e){var t=[],r=[];if(null===e)return r.push("name cannot be null"),s(t,r);if(void 0===e)return r.push("name cannot be undefined"),s(t,r);if("string"!=typeof e)return r.push("name must be a string"),s(t,r);if(e.length||r.push("name length must be greater than zero"),e.startsWith(".")&&r.push("name cannot start with a period"),e.match(/^_/)&&r.push("name cannot start with an underscore"),e.trim()!==e&&r.push("name cannot contain leading or trailing spaces"),i.forEach((function(t){e.toLowerCase()===t&&r.push(t+" is a blacklisted name")})),n.includes(e.toLowerCase())&&t.push(e+" is a core module name"),e.length>214&&t.push("name can no longer contain more than 214 characters"),e.toLowerCase()!==e&&t.push("name can no longer contain capital letters"),/[~'!()*]/.test(e.split("/").slice(-1)[0])&&t.push('name can no longer contain special characters ("~\'!()*")'),encodeURIComponent(e)!==e){var a=e.match(o);if(a){var l=a[1],c=a[2];if(c.startsWith(".")&&r.push("name cannot start with a period"),encodeURIComponent(l)===l&&encodeURIComponent(c)===c)return s(t,r)}r.push("name can only contain URL-friendly characters")}return s(t,r)}},9695:e=>{const t=(e={})=>{const t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find((e=>"PATH"===e.toUpperCase()))||"Path"};e.exports=t,e.exports.default=t},9795:(e,t,r)=>{function n(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}r.d(t,{Ho:()=>xc});var o=r(3136);const i=(e,t)=>{const r=l(s(e));if("string"!=typeof r)throw new TypeError(`${t} must be a string or a file URL: ${r}.`);return r},s=e=>a(e)?e.toString():e,a=e=>"string"!=typeof e&&e&&Object.getPrototypeOf(e)===String.prototype,l=e=>e instanceof URL?(0,o.fileURLToPath)(e):e,c=(e,t=[],r={})=>{const o=i(e,"First argument"),[s,a]=n(t)?[[],t]:[t,r];if(!Array.isArray(s))throw new TypeError(`Second argument must be either an array of arguments or an options object: ${s}`);if(s.some((e=>"object"==typeof e&&null!==e)))throw new TypeError(`Second argument must be an array of strings: ${s}`);const l=s.map(String),c=l.find((e=>e.includes("\0")));if(void 0!==c)throw new TypeError(`Arguments cannot contain null bytes ("\\0"): ${c}`);if(!n(a))throw new TypeError(`Last argument must be an options object: ${a}`);return[o,l,a]};var d=r(1421),u=r(6193);const{toString:p}=Object.prototype,f=e=>"[object Uint8Array]"===p.call(e),m=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),h=new TextEncoder,b=e=>h.encode(e),g=new TextDecoder,y=e=>g.decode(e),w=e=>1===e.length&&f(e[0])?e[0]:E(v(e)),v=e=>e.map((e=>"string"==typeof e?b(e):e)),E=e=>{const t=new Uint8Array(S(e));let r=0;for(const n of e)t.set(n,r),r+=n.length;return t},S=e=>{let t=0;for(const r of e)t+=r.length;return t},I=({templates:e,expressions:t,tokens:r,index:n,template:o})=>{if(void 0===o)throw new TypeError(`Invalid backslash sequence: ${e.raw[n]}`);const{nextTokens:i,leadingWhitespaces:s,trailingWhitespaces:a}=T(o,e.raw[n]),l=x(r,i,s);if(n===t.length)return l;const c=t[n],d=Array.isArray(c)?c.map((e=>R(e))):[R(c)];return x(l,d,a)},T=(e,t)=>{if(0===t.length)return{nextTokens:[],leadingWhitespaces:!1,trailingWhitespaces:!1};const r=[];let n=0;const o=O.has(t[0]);for(let o=0,i=0;o<e.length;o+=1,i+=1){const s=t[i];if(O.has(s))n!==o&&r.push(e.slice(n,o)),n=o+1;else if("\\"===s){const e=t[i+1];"\n"===e?(o-=1,i+=1):"u"===e&&"{"===t[i+2]?i=t.indexOf("}",i+3):i+=$[e]??1}}const i=n===e.length;return i||r.push(e.slice(n)),{nextTokens:r,leadingWhitespaces:o,trailingWhitespaces:i}},O=new Set([" ","\t","\r","\n"]),$={x:3,u:5},x=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e.at(-1)}${t[0]}`,...t.slice(1)],R=e=>{const t=typeof e;if("string"===t)return e;if("number"===t)return String(e);if(n(e)&&("stdout"in e||"isMaxBuffer"in e))return N(e);if(e instanceof d.ChildProcess||"[object Promise]"===Object.prototype.toString.call(e))throw new TypeError("Unexpected subprocess in template expression. Please use ${await subprocess} instead of ${subprocess}.");throw new TypeError(`Unexpected "${t}" in template expression`)},N=({stdout:e})=>{if("string"==typeof e)return e;if(f(e))return y(e);if(void 0===e)throw new TypeError('Missing result.stdout in template expression. This is probably due to the previous subprocess\' "stdout" option.');throw new TypeError(`Unexpected "${typeof e}" stdout in template expression`)};var A=r(7975),D=r(1708);const M=e=>C.includes(e),C=[D.stdin,D.stdout,D.stderr],L=["stdin","stdout","stderr"],P=e=>L[e]??`stdio[${e}]`,j=(e,t)=>{const r=Array.from({length:B(e)+1}),n=k(e[t],r,t);return z(n,t)},B=({stdio:e})=>Array.isArray(e)?Math.max(e.length,L.length):L.length,k=(e,t,r)=>n(e)?U(e,t,r):t.fill(e),U=(e,t,r)=>{for(const n of Object.keys(e).sort(F))for(const o of _(n,r,t))t[o]=e[n];return t},F=(e,t)=>G(e)<G(t)?1:-1,G=e=>"stdout"===e||"stderr"===e?0:"all"===e?2:1,_=(e,t,r)=>{if("ipc"===e)return[r.length-1];const n=W(e);if(void 0===n||0===n)throw new TypeError(`"${t}.${e}" is invalid.\nIt must be "${t}.stdout", "${t}.stderr", "${t}.all", "${t}.ipc", or "${t}.fd3", "${t}.fd4" (and so on).`);if(n>=r.length)throw new TypeError(`"${t}.${e}" is invalid: that file descriptor does not exist.\nPlease set the "stdio" option to ensure that file descriptor exists.`);return"all"===n?[1,2]:[n]},W=e=>{if("all"===e)return e;if(L.includes(e))return L.indexOf(e);const t=V.exec(e);return null!==t?Number(t[1]):void 0},V=/^fd(\d+)$/,z=(e,t)=>e.map((e=>void 0===e?H[t]:e)),H={lines:!1,buffer:!0,maxBuffer:1e8,verbose:(0,A.debuglog)("execa").enabled?"full":"none",stripFinalNewline:!0},X=["lines","buffer","maxBuffer","verbose","stripFinalNewline"],Y=(e,t)=>"ipc"===t?e.at(-1):e[t],K=({verbose:e},t)=>"none"!==J(e,t),q=({verbose:e},t)=>!["none","short"].includes(J(e,t)),J=(e,t)=>void 0===t?Z(e):Y(e,t),Z=e=>e.find((e=>Q(e)))??ee.findLast((t=>e.includes(t))),Q=e=>"function"==typeof e,ee=["none","short","full"],te=e=>(0,A.stripVTControlCharacters)(e).split("\n").map((e=>re(e))).join("\n"),re=e=>e.replaceAll(oe,(e=>ne(e))),ne=e=>{const t=ie[e];if(void 0!==t)return t;const r=e.codePointAt(0),n=r.toString(16);return r<=se?`\\u${n.padStart(4,"0")}`:`\\U${n}`},oe=(()=>{try{return new RegExp("\\p{Separator}|\\p{Other}","gu")}catch{return/[\s\u0000-\u001F\u007F-\u009F\u00AD]/g}})(),ie={" ":" ","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},se=65535,ae=/^[\w./-]+$/,le={circleQuestionMark:"(?)",questionMarkPrefix:"(?)",square:"\u2588",squareDarkShade:"\u2593",squareMediumShade:"\u2592",squareLightShade:"\u2591",squareTop:"\u2580",squareBottom:"\u2584",squareLeft:"\u258c",squareRight:"\u2590",squareCenter:"\u25a0",bullet:"\u25cf",dot:"\u2024",ellipsis:"\u2026",pointerSmall:"\u203a",triangleUp:"\u25b2",triangleUpSmall:"\u25b4",triangleDown:"\u25bc",triangleDownSmall:"\u25be",triangleLeftSmall:"\u25c2",triangleRightSmall:"\u25b8",home:"\u2302",heart:"\u2665",musicNote:"\u266a",musicNoteBeamed:"\u266b",arrowUp:"\u2191",arrowDown:"\u2193",arrowLeft:"\u2190",arrowRight:"\u2192",arrowLeftRight:"\u2194",arrowUpDown:"\u2195",almostEqual:"\u2248",notEqual:"\u2260",lessOrEqual:"\u2264",greaterOrEqual:"\u2265",identical:"\u2261",infinity:"\u221e",subscriptZero:"\u2080",subscriptOne:"\u2081",subscriptTwo:"\u2082",subscriptThree:"\u2083",subscriptFour:"\u2084",subscriptFive:"\u2085",subscriptSix:"\u2086",subscriptSeven:"\u2087",subscriptEight:"\u2088",subscriptNine:"\u2089",oneHalf:"\xbd",oneThird:"\u2153",oneQuarter:"\xbc",oneFifth:"\u2155",oneSixth:"\u2159",oneEighth:"\u215b",twoThirds:"\u2154",twoFifths:"\u2156",threeQuarters:"\xbe",threeFifths:"\u2157",threeEighths:"\u215c",fourFifths:"\u2158",fiveSixths:"\u215a",fiveEighths:"\u215d",sevenEighths:"\u215e",line:"\u2500",lineBold:"\u2501",lineDouble:"\u2550",lineDashed0:"\u2504",lineDashed1:"\u2505",lineDashed2:"\u2508",lineDashed3:"\u2509",lineDashed4:"\u254c",lineDashed5:"\u254d",lineDashed6:"\u2574",lineDashed7:"\u2576",lineDashed8:"\u2578",lineDashed9:"\u257a",lineDashed10:"\u257c",lineDashed11:"\u257e",lineDashed12:"\u2212",lineDashed13:"\u2013",lineDashed14:"\u2010",lineDashed15:"\u2043",lineVertical:"\u2502",lineVerticalBold:"\u2503",lineVerticalDouble:"\u2551",lineVerticalDashed0:"\u2506",lineVerticalDashed1:"\u2507",lineVerticalDashed2:"\u250a",lineVerticalDashed3:"\u250b",lineVerticalDashed4:"\u254e",lineVerticalDashed5:"\u254f",lineVerticalDashed6:"\u2575",lineVerticalDashed7:"\u2577",lineVerticalDashed8:"\u2579",lineVerticalDashed9:"\u257b",lineVerticalDashed10:"\u257d",lineVerticalDashed11:"\u257f",lineDownLeft:"\u2510",lineDownLeftArc:"\u256e",lineDownBoldLeftBold:"\u2513",lineDownBoldLeft:"\u2512",lineDownLeftBold:"\u2511",lineDownDoubleLeftDouble:"\u2557",lineDownDoubleLeft:"\u2556",lineDownLeftDouble:"\u2555",lineDownRight:"\u250c",lineDownRightArc:"\u256d",lineDownBoldRightBold:"\u250f",lineDownBoldRight:"\u250e",lineDownRightBold:"\u250d",lineDownDoubleRightDouble:"\u2554",lineDownDoubleRight:"\u2553",lineDownRightDouble:"\u2552",lineUpLeft:"\u2518",lineUpLeftArc:"\u256f",lineUpBoldLeftBold:"\u251b",lineUpBoldLeft:"\u251a",lineUpLeftBold:"\u2519",lin