@stencil/core 4.39.0-dev.1766380053.d3b8b7a → 4.39.0-dev.1766466419.b73a44b

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/sys/node/index.js CHANGED
@@ -1,55 +1,55 @@
1
1
  /*!
2
- Stencil Node System v4.39.0-dev.1766380053.d3b8b7a | MIT Licensed | https://stenciljs.com
2
+ Stencil Node System v4.39.0-dev.1766466419.b73a44b | MIT Licensed | https://stenciljs.com
3
3
  */
4
- "use strict";var vo=Object.create;var ln=Object.defineProperty;var bo=Object.getOwnPropertyDescriptor;var Eo=Object.getOwnPropertyNames;var So=Object.getPrototypeOf,$o=Object.prototype.hasOwnProperty;var Fr=r=>{throw TypeError(r)};var xo=(r,e,t)=>e in r?ln(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var ge=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),Hr=(r,e)=>{for(var t in e)ln(r,t,{get:e[t],enumerable:!0})},Br=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Eo(e))!$o.call(r,s)&&s!==t&&ln(r,s,{get:()=>e[s],enumerable:!(n=bo(e,s))||n.enumerable});return r};var be=(r,e,t)=>(t=r!=null?vo(So(r)):{},Br(e||!r||!r.__esModule?ln(t,"default",{value:r,enumerable:!0}):t,r)),To=r=>Br(ln({},"__esModule",{value:!0}),r);var Yn=(r,e,t)=>xo(r,typeof e!="symbol"?e+"":e,t),Qn=(r,e,t)=>e.has(r)||Fr("Cannot "+t);var W=(r,e,t)=>(Qn(r,e,"read from private field"),t?t.call(r):e.get(r)),ze=(r,e,t)=>e.has(r)?Fr("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,t),Se=(r,e,t,n)=>(Qn(r,e,"write to private field"),n?n.call(r,t):e.set(r,t),t),wt=(r,e,t)=>(Qn(r,e,"access private method"),t);var Wr=ge((vu,cn)=>{"use strict";var Co=typeof process<"u"&&process.env.TERM_PROGRAM==="Hyper",Lo=typeof process<"u"&&process.platform==="win32",jr=typeof process<"u"&&process.platform==="linux",Zn={ballotDisabled:"\u2612",ballotOff:"\u2610",ballotOn:"\u2611",bullet:"\u2022",bulletWhite:"\u25E6",fullBlock:"\u2588",heart:"\u2764",identicalTo:"\u2261",line:"\u2500",mark:"\u203B",middot:"\xB7",minus:"\uFF0D",multiplication:"\xD7",obelus:"\xF7",pencilDownRight:"\u270E",pencilRight:"\u270F",pencilUpRight:"\u2710",percent:"%",pilcrow2:"\u2761",pilcrow:"\xB6",plusMinus:"\xB1",question:"?",section:"\xA7",starsOff:"\u2606",starsOn:"\u2605",upDownArrow:"\u2195"},Ur=Object.assign({},Zn,{check:"\u221A",cross:"\xD7",ellipsisLarge:"...",ellipsis:"...",info:"i",questionSmall:"?",pointer:">",pointerSmall:"\xBB",radioOff:"( )",radioOn:"(*)",warning:"\u203C"}),zr=Object.assign({},Zn,{ballotCross:"\u2718",check:"\u2714",cross:"\u2716",ellipsisLarge:"\u22EF",ellipsis:"\u2026",info:"\u2139",questionFull:"\uFF1F",questionSmall:"\uFE56",pointer:jr?"\u25B8":"\u276F",pointerSmall:jr?"\u2023":"\u203A",radioOff:"\u25EF",radioOn:"\u25C9",warning:"\u26A0"});cn.exports=Lo&&!Co?Ur:zr;Reflect.defineProperty(cn.exports,"common",{enumerable:!1,value:Zn});Reflect.defineProperty(cn.exports,"windows",{enumerable:!1,value:Ur});Reflect.defineProperty(cn.exports,"other",{enumerable:!1,value:zr})});var Gr=ge((bu,qn)=>{"use strict";var Ro=r=>r!==null&&typeof r=="object"&&!Array.isArray(r),Ao=/[\u001b\u009b][[\]#;?()]*(?:(?:(?:[^\W_]*;?[^\W_]*)\u0007)|(?:(?:[0-9]{1,4}(;[0-9]{0,4})*)?[~0-9=<>cf-nqrtyA-PRZ]))/g,Oo=()=>typeof process<"u"?process.env.FORCE_COLOR!=="0":!1,Xr=()=>{let r={enabled:Oo(),visible:!0,styles:{},keys:{}},e=i=>{let o=i.open=`\x1B[${i.codes[0]}m`,a=i.close=`\x1B[${i.codes[1]}m`,u=i.regex=new RegExp(`\\u001b\\[${i.codes[1]}m`,"g");return i.wrap=(c,p)=>{c.includes(a)&&(c=c.replace(u,a+o));let h=o+c+a;return p?h.replace(/\r*\n/g,`${a}$&${o}`):h},i},t=(i,o,a)=>typeof i=="function"?i(o):i.wrap(o,a),n=(i,o)=>{if(i===""||i==null)return"";if(r.enabled===!1)return i;if(r.visible===!1)return"";let a=""+i,u=a.includes(`
5
- `),c=o.length;for(c>0&&o.includes("unstyle")&&(o=[...new Set(["unstyle",...o])].reverse());c-- >0;)a=t(r.styles[o[c]],a,u);return a},s=(i,o,a)=>{r.styles[i]=e({name:i,codes:o}),(r.keys[a]||(r.keys[a]=[])).push(i),Reflect.defineProperty(r,i,{configurable:!0,enumerable:!0,set(c){r.alias(i,c)},get(){let c=p=>n(p,c.stack);return Reflect.setPrototypeOf(c,r),c.stack=this.stack?this.stack.concat(i):[i],c}})};return s("reset",[0,0],"modifier"),s("bold",[1,22],"modifier"),s("dim",[2,22],"modifier"),s("italic",[3,23],"modifier"),s("underline",[4,24],"modifier"),s("inverse",[7,27],"modifier"),s("hidden",[8,28],"modifier"),s("strikethrough",[9,29],"modifier"),s("black",[30,39],"color"),s("red",[31,39],"color"),s("green",[32,39],"color"),s("yellow",[33,39],"color"),s("blue",[34,39],"color"),s("magenta",[35,39],"color"),s("cyan",[36,39],"color"),s("white",[37,39],"color"),s("gray",[90,39],"color"),s("grey",[90,39],"color"),s("bgBlack",[40,49],"bg"),s("bgRed",[41,49],"bg"),s("bgGreen",[42,49],"bg"),s("bgYellow",[43,49],"bg"),s("bgBlue",[44,49],"bg"),s("bgMagenta",[45,49],"bg"),s("bgCyan",[46,49],"bg"),s("bgWhite",[47,49],"bg"),s("blackBright",[90,39],"bright"),s("redBright",[91,39],"bright"),s("greenBright",[92,39],"bright"),s("yellowBright",[93,39],"bright"),s("blueBright",[94,39],"bright"),s("magentaBright",[95,39],"bright"),s("cyanBright",[96,39],"bright"),s("whiteBright",[97,39],"bright"),s("bgBlackBright",[100,49],"bgBright"),s("bgRedBright",[101,49],"bgBright"),s("bgGreenBright",[102,49],"bgBright"),s("bgYellowBright",[103,49],"bgBright"),s("bgBlueBright",[104,49],"bgBright"),s("bgMagentaBright",[105,49],"bgBright"),s("bgCyanBright",[106,49],"bgBright"),s("bgWhiteBright",[107,49],"bgBright"),r.ansiRegex=Ao,r.hasColor=r.hasAnsi=i=>(r.ansiRegex.lastIndex=0,typeof i=="string"&&i!==""&&r.ansiRegex.test(i)),r.alias=(i,o)=>{let a=typeof o=="string"?r[o]:o;if(typeof a!="function")throw new TypeError("Expected alias to be the name of an existing color (string) or a function");a.stack||(Reflect.defineProperty(a,"name",{value:i}),r.styles[i]=a,a.stack=[i]),Reflect.defineProperty(r,i,{configurable:!0,enumerable:!0,set(u){r.alias(i,u)},get(){let u=c=>n(c,u.stack);return Reflect.setPrototypeOf(u,r),u.stack=this.stack?this.stack.concat(a.stack):a.stack,u}})},r.theme=i=>{if(!Ro(i))throw new TypeError("Expected theme to be an object");for(let o of Object.keys(i))r.alias(o,i[o]);return r},r.alias("unstyle",i=>typeof i=="string"&&i!==""?(r.ansiRegex.lastIndex=0,i.replace(r.ansiRegex,"")):""),r.alias("noop",i=>i),r.none=r.clear=r.noop,r.stripColor=r.unstyle,r.symbols=Wr(),r.define=s,r};qn.exports=Xr();qn.exports.create=Xr});var os=ge((ad,is)=>{"use strict";is.exports=rs;function rs(r,e,t){r instanceof RegExp&&(r=ns(r,t)),e instanceof RegExp&&(e=ns(e,t));var n=ss(r,e,t);return n&&{start:n[0],end:n[1],pre:t.slice(0,n[0]),body:t.slice(n[0]+r.length,n[1]),post:t.slice(n[1]+e.length)}}function ns(r,e){var t=e.match(r);return t?t[0]:null}rs.range=ss;function ss(r,e,t){var n,s,i,o,a,u=t.indexOf(r),c=t.indexOf(e,u+1),p=u;if(u>=0&&c>0){if(r===e)return[u,c];for(n=[],i=t.length;p>=0&&!a;)p==u?(n.push(p),u=t.indexOf(r,p+1)):n.length==1?a=[n.pop(),c]:(s=n.pop(),s<i&&(i=s,o=c),c=t.indexOf(e,p+1)),p=u<c&&u>=0?u:c;n.length&&(a=[i,o])}return a}});var ms=ge((ld,ps)=>{var as=os();ps.exports=Zo;var ls="\0SLASH"+Math.random()+"\0",cs="\0OPEN"+Math.random()+"\0",ir="\0CLOSE"+Math.random()+"\0",us="\0COMMA"+Math.random()+"\0",ds="\0PERIOD"+Math.random()+"\0";function sr(r){return parseInt(r,10)==r?parseInt(r,10):r.charCodeAt(0)}function Yo(r){return r.split("\\\\").join(ls).split("\\{").join(cs).split("\\}").join(ir).split("\\,").join(us).split("\\.").join(ds)}function Qo(r){return r.split(ls).join("\\").split(cs).join("{").split(ir).join("}").split(us).join(",").split(ds).join(".")}function fs(r){if(!r)return[""];var e=[],t=as("{","}",r);if(!t)return r.split(",");var n=t.pre,s=t.body,i=t.post,o=n.split(",");o[o.length-1]+="{"+s+"}";var a=fs(i);return i.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function Zo(r){return r?(r.substr(0,2)==="{}"&&(r="\\{\\}"+r.substr(2)),dn(Yo(r),!0).map(Qo)):[]}function qo(r){return"{"+r+"}"}function _o(r){return/^-?0\d/.test(r)}function ea(r,e){return r<=e}function ta(r,e){return r>=e}function dn(r,e){var t=[],n=as("{","}",r);if(!n)return[r];var s=n.pre,i=n.post.length?dn(n.post,!1):[""];if(/\$$/.test(n.pre))for(var o=0;o<i.length;o++){var a=s+"{"+n.body+"}"+i[o];t.push(a)}else{var u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),p=u||c,h=n.body.indexOf(",")>=0;if(!p&&!h)return n.post.match(/,(?!,).*\}/)?(r=n.pre+"{"+n.body+ir+n.post,dn(r)):[r];var S;if(p)S=n.body.split(/\.\./);else if(S=fs(n.body),S.length===1&&(S=dn(S[0],!1).map(qo),S.length===1))return i.map(function(L){return n.pre+S[0]+L});var T;if(p){var m=sr(S[0]),b=sr(S[1]),$=Math.max(S[0].length,S[1].length),D=S.length==3?Math.abs(sr(S[2])):1,A=ea,I=b<m;I&&(D*=-1,A=ta);var w=S.some(_o);T=[];for(var g=m;A(g,b);g+=D){var x;if(c)x=String.fromCharCode(g),x==="\\"&&(x="");else if(x=String(g),w){var C=$-x.length;if(C>0){var O=new Array(C+1).join("0");g<0?x="-"+O+x.slice(1):x=O+x}}T.push(x)}}else{T=[];for(var k=0;k<S.length;k++)T.push.apply(T,dn(S[k],!1))}for(var k=0;k<T.length;k++)for(var o=0;o<i.length;o++){var a=s+T[k]+i[o];(!e||p||a)&&t.push(a)}}return t}});var Xs=ge((kv,Ws)=>{Ws.exports=(function(r){var e={};function t(n){if(e[n])return e[n].exports;var s=e[n]={i:n,l:!1,exports:{}};return r[n].call(s.exports,s,s.exports,t),s.l=!0,s.exports}return t.m=r,t.c=e,t.i=function(n){return n},t.d=function(n,s,i){t.o(n,s)||Object.defineProperty(n,s,{configurable:!1,enumerable:!0,get:i})},t.n=function(n){var s=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(s,"a",s),s},t.o=function(n,s){return Object.prototype.hasOwnProperty.call(n,s)},t.p="",t(t.s=14)})([(function(r,e){r.exports=require("path")}),(function(r,e,t){"use strict";e.__esModule=!0;var n=t(173),s=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.default=function(o){return function(){var a=o.apply(this,arguments);return new s.default(function(u,c){function p(h,S){try{var T=a[h](S),m=T.value}catch(b){c(b);return}if(T.done)u(m);else return s.default.resolve(m).then(function(b){p("next",b)},function(b){p("throw",b)})}return p("next")})}}}),(function(r,e){r.exports=require("util")}),(function(r,e){r.exports=require("fs")}),(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class n extends Error{constructor(c,p){super(c),this.code=p}}e.MessageError=n;class s extends n{constructor(c,p,h){super(c,p),this.process=h}}e.ProcessSpawnError=s;class i extends n{}e.SecurityError=i;class o extends n{}e.ProcessTermError=o;class a extends Error{constructor(c,p){super(c),this.responseCode=p}}e.ResponseError=a}),(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getFirstSuitableFolder=e.readFirstAvailableStream=e.makeTempDir=e.hardlinksWork=e.writeFilePreservingEol=e.getFileSizeOnDisk=e.walk=e.symlink=e.find=e.readJsonAndFile=e.readJson=e.readFileAny=e.hardlinkBulk=e.copyBulk=e.unlink=e.glob=e.link=e.chmod=e.lstat=e.exists=e.mkdirp=e.stat=e.access=e.rename=e.readdir=e.realpath=e.readlink=e.writeFile=e.open=e.readFileBuffer=e.lockQueue=e.constants=void 0;var n;function s(){return n=F(t(1))}let i=(()=>{var Y=(0,(n||s()).default)(function*(J,U,j,G){let ne=(()=>{var ae=(0,(n||s()).default)(function*(we){let he=we.src,re=we.dest,an=we.type,Qe=we.onFresh||tt,$e=we.onDone||tt;if(le.has(re.toLowerCase())?G.verbose(`The case-insensitive file ${re} shouldn't be copied twice in one bulk copy`):le.add(re.toLowerCase()),an==="symlink"){yield Ce((l||d()).default.dirname(re)),Qe(),Fe.symlink.push({dest:re,linkname:he}),$e();return}if(U.ignoreBasenames.indexOf((l||d()).default.basename(he))>=0)return;let xe=yield Oe(he),St;xe.isDirectory()&&(St=yield Ne(he));let Je;try{Je=yield Oe(re)}catch(Ue){if(Ue.code!=="ENOENT")throw Ue}if(Je){let Ue=xe.isSymbolicLink()&&Je.isSymbolicLink(),$t=xe.isDirectory()&&Je.isDirectory(),pt=xe.isFile()&&Je.isFile();if(pt&&me.has(re)){$e(),G.verbose(G.lang("verboseFileSkipArtifact",he));return}if(pt&&xe.size===Je.size&&(0,(z||Z()).fileDatesEqual)(xe.mtime,Je.mtime)){$e(),G.verbose(G.lang("verboseFileSkip",he,re,xe.size,+xe.mtime));return}if(Ue){let Pe=yield ce(he);if(Pe===(yield ce(re))){$e(),G.verbose(G.lang("verboseFileSkipSymlink",he,re,Pe));return}}if($t){let Pe=yield Ne(re);Kt(St,"src files not initialised");for(var ut=Pe,At=Array.isArray(ut),Ze=0,ut=At?ut:ut[Symbol.iterator]();;){var Qt;if(At){if(Ze>=ut.length)break;Qt=ut[Ze++]}else{if(Ze=ut.next(),Ze.done)break;Qt=Ze.value}let Nt=Qt;if(St.indexOf(Nt)<0){let xt=(l||d()).default.join(re,Nt);if(j.add(xt),(yield Oe(xt)).isDirectory())for(var dt=yield Ne(xt),Ot=Array.isArray(dt),qe=0,dt=Ot?dt:dt[Symbol.iterator]();;){var Zt;if(Ot){if(qe>=dt.length)break;Zt=dt[qe++]}else{if(qe=dt.next(),qe.done)break;Zt=qe.value}let Kn=Zt;j.add((l||d()).default.join(xt,Kn))}}}}}if(Je&&Je.isSymbolicLink()&&(yield(0,(z||Z()).unlink)(re),Je=null),xe.isSymbolicLink()){Qe();let Ue=yield ce(he);Fe.symlink.push({dest:re,linkname:Ue}),$e()}else if(xe.isDirectory()){Je||(G.verbose(G.lang("verboseFileFolder",re)),yield Ce(re));let Ue=re.split((l||d()).default.sep);for(;Ue.length;)le.add(Ue.join((l||d()).default.sep).toLowerCase()),Ue.pop();Kt(St,"src files not initialised");let $t=St.length;$t||$e();for(var ft=St,Dt=Array.isArray(ft),_e=0,ft=Dt?ft:ft[Symbol.iterator]();;){var je;if(Dt){if(_e>=ft.length)break;je=ft[_e++]}else{if(_e=ft.next(),_e.done)break;je=_e.value}let pt=je;J.push({dest:(l||d()).default.join(re,pt),onFresh:Qe,onDone:(function(Pe){function Nt(){return Pe.apply(this,arguments)}return Nt.toString=function(){return Pe.toString()},Nt})(function(){--$t===0&&$e()}),src:(l||d()).default.join(he,pt)})}}else if(xe.isFile())Qe(),Fe.file.push({src:he,dest:re,atime:xe.atime,mtime:xe.mtime,mode:xe.mode}),$e();else throw new Error(`unsure how to copy this: ${he}`)});return function(he){return ae.apply(this,arguments)}})(),me=new Set(U.artifactFiles||[]),le=new Set;for(var oe=J,ue=Array.isArray(oe),ie=0,oe=ue?oe:oe[Symbol.iterator]();;){var Ye;if(ue){if(ie>=oe.length)break;Ye=oe[ie++]}else{if(ie=oe.next(),ie.done)break;Ye=ie.value}let ae=Ye,we=ae.onDone;ae.onDone=function(){U.onProgress(ae.dest),we&&we()}}U.onStart(J.length);let Fe={file:[],symlink:[],link:[]};for(;J.length;){let ae=J.splice(0,Ft);yield Promise.all(ae.map(ne))}for(var He=me,Rt=Array.isArray(He),lt=0,He=Rt?He:He[Symbol.iterator]();;){var Ht;if(Rt){if(lt>=He.length)break;Ht=He[lt++]}else{if(lt=He.next(),lt.done)break;Ht=lt.value}let ae=Ht;j.has(ae)&&(G.verbose(G.lang("verboseFilePhantomExtraneous",ae)),j.delete(ae))}for(var Be=j,on=Array.isArray(Be),ct=0,Be=on?Be:Be[Symbol.iterator]();;){var Bt;if(on){if(ct>=Be.length)break;Bt=Be[ct++]}else{if(ct=Be.next(),ct.done)break;Bt=ct.value}let ae=Bt;le.has(ae.toLowerCase())&&j.delete(ae)}return Fe});return function(U,j,G,ne){return Y.apply(this,arguments)}})(),o=(()=>{var Y=(0,(n||s()).default)(function*(J,U,j,G){let ne=(()=>{var ae=(0,(n||s()).default)(function*(we){let he=we.src,re=we.dest,an=we.onFresh||tt,Qe=we.onDone||tt;if(le.has(re.toLowerCase())){Qe();return}if(le.add(re.toLowerCase()),U.ignoreBasenames.indexOf((l||d()).default.basename(he))>=0)return;let $e=yield Oe(he),xe;$e.isDirectory()&&(xe=yield Ne(he));let St=yield at(re);if(St){let je=yield Oe(re),Ue=$e.isSymbolicLink()&&je.isSymbolicLink(),$t=$e.isDirectory()&&je.isDirectory(),pt=$e.isFile()&&je.isFile();if($e.mode!==je.mode)try{yield Re(re,$e.mode)}catch(Pe){G.verbose(Pe)}if(pt&&me.has(re)){Qe(),G.verbose(G.lang("verboseFileSkipArtifact",he));return}if(pt&&$e.ino!==null&&$e.ino===je.ino){Qe(),G.verbose(G.lang("verboseFileSkip",he,re,$e.ino));return}if(Ue){let Pe=yield ce(he);if(Pe===(yield ce(re))){Qe(),G.verbose(G.lang("verboseFileSkipSymlink",he,re,Pe));return}}if($t){let Pe=yield Ne(re);Kt(xe,"src files not initialised");for(var Ze=Pe,Je=Array.isArray(Ze),At=0,Ze=Je?Ze:Ze[Symbol.iterator]();;){var ut;if(Je){if(At>=Ze.length)break;ut=Ze[At++]}else{if(At=Ze.next(),At.done)break;ut=At.value}let Nt=ut;if(xe.indexOf(Nt)<0){let xt=(l||d()).default.join(re,Nt);if(j.add(xt),(yield Oe(xt)).isDirectory())for(var qe=yield Ne(xt),Qt=Array.isArray(qe),Ot=0,qe=Qt?qe:qe[Symbol.iterator]();;){var dt;if(Qt){if(Ot>=qe.length)break;dt=qe[Ot++]}else{if(Ot=qe.next(),Ot.done)break;dt=Ot.value}let Kn=dt;j.add((l||d()).default.join(xt,Kn))}}}}}if($e.isSymbolicLink()){an();let je=yield ce(he);Fe.symlink.push({dest:re,linkname:je}),Qe()}else if($e.isDirectory()){G.verbose(G.lang("verboseFileFolder",re)),yield Ce(re);let je=re.split((l||d()).default.sep);for(;je.length;)le.add(je.join((l||d()).default.sep).toLowerCase()),je.pop();Kt(xe,"src files not initialised");let Ue=xe.length;Ue||Qe();for(var _e=xe,Zt=Array.isArray(_e),Dt=0,_e=Zt?_e:_e[Symbol.iterator]();;){var ft;if(Zt){if(Dt>=_e.length)break;ft=_e[Dt++]}else{if(Dt=_e.next(),Dt.done)break;ft=Dt.value}let $t=ft;J.push({onFresh:an,src:(l||d()).default.join(he,$t),dest:(l||d()).default.join(re,$t),onDone:(function(pt){function Pe(){return pt.apply(this,arguments)}return Pe.toString=function(){return pt.toString()},Pe})(function(){--Ue===0&&Qe()})})}}else if($e.isFile())an(),Fe.link.push({src:he,dest:re,removeDest:St}),Qe();else throw new Error(`unsure how to copy this: ${he}`)});return function(he){return ae.apply(this,arguments)}})(),me=new Set(U.artifactFiles||[]),le=new Set;for(var oe=J,ue=Array.isArray(oe),ie=0,oe=ue?oe:oe[Symbol.iterator]();;){var Ye;if(ue){if(ie>=oe.length)break;Ye=oe[ie++]}else{if(ie=oe.next(),ie.done)break;Ye=ie.value}let ae=Ye,we=ae.onDone||tt;ae.onDone=function(){U.onProgress(ae.dest),we()}}U.onStart(J.length);let Fe={file:[],symlink:[],link:[]};for(;J.length;){let ae=J.splice(0,Ft);yield Promise.all(ae.map(ne))}for(var He=me,Rt=Array.isArray(He),lt=0,He=Rt?He:He[Symbol.iterator]();;){var Ht;if(Rt){if(lt>=He.length)break;Ht=He[lt++]}else{if(lt=He.next(),lt.done)break;Ht=lt.value}let ae=Ht;j.has(ae)&&(G.verbose(G.lang("verboseFilePhantomExtraneous",ae)),j.delete(ae))}for(var Be=j,on=Array.isArray(Be),ct=0,Be=on?Be:Be[Symbol.iterator]();;){var Bt;if(on){if(ct>=Be.length)break;Bt=Be[ct++]}else{if(ct=Be.next(),ct.done)break;Bt=ct.value}let ae=Bt;le.has(ae.toLowerCase())&&j.delete(ae)}return Fe});return function(U,j,G,ne){return Y.apply(this,arguments)}})(),a=e.copyBulk=(()=>{var Y=(0,(n||s()).default)(function*(J,U,j){let G={onStart:j&&j.onStart||tt,onProgress:j&&j.onProgress||tt,possibleExtraneous:j?j.possibleExtraneous:new Set,ignoreBasenames:j&&j.ignoreBasenames||[],artifactFiles:j&&j.artifactFiles||[]},ne=yield i(J,G,G.possibleExtraneous,U);G.onStart(ne.file.length+ne.symlink.length+ne.link.length);let me=ne.file,le=new Map;yield(E||R()).queue(me,(()=>{var ie=(0,(n||s()).default)(function*(oe){let Ye;for(;Ye=le.get(oe.dest);)yield Ye;U.verbose(U.lang("verboseFileCopy",oe.src,oe.dest));let Fe=(0,(z||Z()).copyFile)(oe,function(){return le.delete(oe.dest)});return le.set(oe.dest,Fe),G.onProgress(oe.dest),Fe});return function(oe){return ie.apply(this,arguments)}})(),Ft);let ue=ne.symlink;yield(E||R()).queue(ue,function(ie){let oe=(l||d()).default.resolve((l||d()).default.dirname(ie.dest),ie.linkname);return U.verbose(U.lang("verboseFileSymlink",ie.dest,oe)),T(oe,ie.dest)})});return function(U,j,G){return Y.apply(this,arguments)}})(),u=e.hardlinkBulk=(()=>{var Y=(0,(n||s()).default)(function*(J,U,j){let G={onStart:j&&j.onStart||tt,onProgress:j&&j.onProgress||tt,possibleExtraneous:j?j.possibleExtraneous:new Set,artifactFiles:j&&j.artifactFiles||[],ignoreBasenames:[]},ne=yield o(J,G,G.possibleExtraneous,U);G.onStart(ne.file.length+ne.symlink.length+ne.link.length);let me=ne.link;yield(E||R()).queue(me,(()=>{var ue=(0,(n||s()).default)(function*(ie){U.verbose(U.lang("verboseFileLink",ie.src,ie.dest)),ie.removeDest&&(yield(0,(z||Z()).unlink)(ie.dest)),yield $n(ie.src,ie.dest)});return function(ie){return ue.apply(this,arguments)}})(),Ft);let le=ne.symlink;yield(E||R()).queue(le,function(ue){let ie=(l||d()).default.resolve((l||d()).default.dirname(ue.dest),ue.linkname);return U.verbose(U.lang("verboseFileSymlink",ue.dest,ie)),T(ie,ue.dest)})});return function(U,j,G){return Y.apply(this,arguments)}})(),c=e.readFileAny=(()=>{var Y=(0,(n||s()).default)(function*(J){for(var G=J,U=Array.isArray(G),j=0,G=U?G:G[Symbol.iterator]();;){var ne;if(U){if(j>=G.length)break;ne=G[j++]}else{if(j=G.next(),j.done)break;ne=j.value}let me=ne;if(yield at(me))return Vn(me)}return null});return function(U){return Y.apply(this,arguments)}})(),p=e.readJson=(()=>{var Y=(0,(n||s()).default)(function*(J){return(yield h(J)).object});return function(U){return Y.apply(this,arguments)}})(),h=e.readJsonAndFile=(()=>{var Y=(0,(n||s()).default)(function*(J){let U=yield Vn(J);try{return{object:(0,(M||B()).default)(JSON.parse(sn(U))),content:U}}catch(j){throw j.message=`${J}: ${j.message}`,j}});return function(U){return Y.apply(this,arguments)}})(),S=e.find=(()=>{var Y=(0,(n||s()).default)(function*(J,U){let j=U.split((l||d()).default.sep);for(;j.length;){let G=j.concat(J).join((l||d()).default.sep);if(yield at(G))return G;j.pop()}return!1});return function(U,j){return Y.apply(this,arguments)}})(),T=e.symlink=(()=>{var Y=(0,(n||s()).default)(function*(J,U){try{if((yield Oe(U)).isSymbolicLink()&&(yield ke(U))===J)return}catch(j){if(j.code!=="ENOENT")throw j}if(yield(0,(z||Z()).unlink)(U),process.platform==="win32")yield Tn(J,U,"junction");else{let j;try{j=(l||d()).default.relative((x||C()).default.realpathSync((l||d()).default.dirname(U)),(x||C()).default.realpathSync(J))}catch(G){if(G.code!=="ENOENT")throw G;j=(l||d()).default.relative((l||d()).default.dirname(U),J)}yield Tn(j||".",U)}});return function(U,j){return Y.apply(this,arguments)}})(),m=e.walk=(()=>{var Y=(0,(n||s()).default)(function*(J,U,j=new Set){let G=[],ne=yield Ne(J);j.size&&(ne=ne.filter(function(oe){return!j.has(oe)}));for(var ue=ne,me=Array.isArray(ue),le=0,ue=me?ue:ue[Symbol.iterator]();;){var ie;if(me){if(le>=ue.length)break;ie=ue[le++]}else{if(le=ue.next(),le.done)break;ie=le.value}let oe=ie,Ye=U?(l||d()).default.join(U,oe):oe,Fe=(l||d()).default.join(J,oe),Rt=yield Oe(Fe);G.push({relative:Ye,basename:oe,absolute:Fe,mtime:+Rt.mtime}),Rt.isDirectory()&&(G=G.concat(yield m(Fe,Ye,j)))}return G});return function(U,j){return Y.apply(this,arguments)}})(),b=e.getFileSizeOnDisk=(()=>{var Y=(0,(n||s()).default)(function*(J){let U=yield Oe(J),j=U.size,G=U.blksize;return Math.ceil(j/G)*G});return function(U){return Y.apply(this,arguments)}})(),$=(()=>{var Y=(0,(n||s()).default)(function*(J){if(!(yield at(J)))return;let U=yield Q(J);for(let j=0;j<U.length;++j){if(U[j]===go)return`\r
4
+ "use strict";var vo=Object.create;var ln=Object.defineProperty;var bo=Object.getOwnPropertyDescriptor;var Eo=Object.getOwnPropertyNames;var So=Object.getPrototypeOf,$o=Object.prototype.hasOwnProperty;var Fr=r=>{throw TypeError(r)};var xo=(r,e,t)=>e in r?ln(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var ge=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),Hr=(r,e)=>{for(var t in e)ln(r,t,{get:e[t],enumerable:!0})},Br=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Eo(e))!$o.call(r,s)&&s!==t&&ln(r,s,{get:()=>e[s],enumerable:!(n=bo(e,s))||n.enumerable});return r};var be=(r,e,t)=>(t=r!=null?vo(So(r)):{},Br(e||!r||!r.__esModule?ln(t,"default",{value:r,enumerable:!0}):t,r)),To=r=>Br(ln({},"__esModule",{value:!0}),r);var Yn=(r,e,t)=>xo(r,typeof e!="symbol"?e+"":e,t),Qn=(r,e,t)=>e.has(r)||Fr("Cannot "+t);var W=(r,e,t)=>(Qn(r,e,"read from private field"),t?t.call(r):e.get(r)),ze=(r,e,t)=>e.has(r)?Fr("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,t),Se=(r,e,t,n)=>(Qn(r,e,"write to private field"),n?n.call(r,t):e.set(r,t),t),wt=(r,e,t)=>(Qn(r,e,"access private method"),t);var Wr=ge((vu,cn)=>{"use strict";var Co=typeof process<"u"&&process.env.TERM_PROGRAM==="Hyper",Lo=typeof process<"u"&&process.platform==="win32",jr=typeof process<"u"&&process.platform==="linux",Zn={ballotDisabled:"\u2612",ballotOff:"\u2610",ballotOn:"\u2611",bullet:"\u2022",bulletWhite:"\u25E6",fullBlock:"\u2588",heart:"\u2764",identicalTo:"\u2261",line:"\u2500",mark:"\u203B",middot:"\xB7",minus:"\uFF0D",multiplication:"\xD7",obelus:"\xF7",pencilDownRight:"\u270E",pencilRight:"\u270F",pencilUpRight:"\u2710",percent:"%",pilcrow2:"\u2761",pilcrow:"\xB6",plusMinus:"\xB1",question:"?",section:"\xA7",starsOff:"\u2606",starsOn:"\u2605",upDownArrow:"\u2195"},Ur=Object.assign({},Zn,{check:"\u221A",cross:"\xD7",ellipsisLarge:"...",ellipsis:"...",info:"i",questionSmall:"?",pointer:">",pointerSmall:"\xBB",radioOff:"( )",radioOn:"(*)",warning:"\u203C"}),zr=Object.assign({},Zn,{ballotCross:"\u2718",check:"\u2714",cross:"\u2716",ellipsisLarge:"\u22EF",ellipsis:"\u2026",info:"\u2139",questionFull:"\uFF1F",questionSmall:"\uFE56",pointer:jr?"\u25B8":"\u276F",pointerSmall:jr?"\u2023":"\u203A",radioOff:"\u25EF",radioOn:"\u25C9",warning:"\u26A0"});cn.exports=Lo&&!Co?Ur:zr;Reflect.defineProperty(cn.exports,"common",{enumerable:!1,value:Zn});Reflect.defineProperty(cn.exports,"windows",{enumerable:!1,value:Ur});Reflect.defineProperty(cn.exports,"other",{enumerable:!1,value:zr})});var Gr=ge((bu,qn)=>{"use strict";var Ro=r=>r!==null&&typeof r=="object"&&!Array.isArray(r),Ao=/[\u001b\u009b][[\]#;?()]*(?:(?:(?:[^\W_]*;?[^\W_]*)\u0007)|(?:(?:[0-9]{1,4}(;[0-9]{0,4})*)?[~0-9=<>cf-nqrtyA-PRZ]))/g,Oo=()=>typeof process<"u"?process.env.FORCE_COLOR!=="0":!1,Xr=()=>{let r={enabled:Oo(),visible:!0,styles:{},keys:{}},e=i=>{let o=i.open=`\x1B[${i.codes[0]}m`,a=i.close=`\x1B[${i.codes[1]}m`,u=i.regex=new RegExp(`\\u001b\\[${i.codes[1]}m`,"g");return i.wrap=(c,p)=>{c.includes(a)&&(c=c.replace(u,a+o));let m=o+c+a;return p?m.replace(/\r*\n/g,`${a}$&${o}`):m},i},t=(i,o,a)=>typeof i=="function"?i(o):i.wrap(o,a),n=(i,o)=>{if(i===""||i==null)return"";if(r.enabled===!1)return i;if(r.visible===!1)return"";let a=""+i,u=a.includes(`
5
+ `),c=o.length;for(c>0&&o.includes("unstyle")&&(o=[...new Set(["unstyle",...o])].reverse());c-- >0;)a=t(r.styles[o[c]],a,u);return a},s=(i,o,a)=>{r.styles[i]=e({name:i,codes:o}),(r.keys[a]||(r.keys[a]=[])).push(i),Reflect.defineProperty(r,i,{configurable:!0,enumerable:!0,set(c){r.alias(i,c)},get(){let c=p=>n(p,c.stack);return Reflect.setPrototypeOf(c,r),c.stack=this.stack?this.stack.concat(i):[i],c}})};return s("reset",[0,0],"modifier"),s("bold",[1,22],"modifier"),s("dim",[2,22],"modifier"),s("italic",[3,23],"modifier"),s("underline",[4,24],"modifier"),s("inverse",[7,27],"modifier"),s("hidden",[8,28],"modifier"),s("strikethrough",[9,29],"modifier"),s("black",[30,39],"color"),s("red",[31,39],"color"),s("green",[32,39],"color"),s("yellow",[33,39],"color"),s("blue",[34,39],"color"),s("magenta",[35,39],"color"),s("cyan",[36,39],"color"),s("white",[37,39],"color"),s("gray",[90,39],"color"),s("grey",[90,39],"color"),s("bgBlack",[40,49],"bg"),s("bgRed",[41,49],"bg"),s("bgGreen",[42,49],"bg"),s("bgYellow",[43,49],"bg"),s("bgBlue",[44,49],"bg"),s("bgMagenta",[45,49],"bg"),s("bgCyan",[46,49],"bg"),s("bgWhite",[47,49],"bg"),s("blackBright",[90,39],"bright"),s("redBright",[91,39],"bright"),s("greenBright",[92,39],"bright"),s("yellowBright",[93,39],"bright"),s("blueBright",[94,39],"bright"),s("magentaBright",[95,39],"bright"),s("cyanBright",[96,39],"bright"),s("whiteBright",[97,39],"bright"),s("bgBlackBright",[100,49],"bgBright"),s("bgRedBright",[101,49],"bgBright"),s("bgGreenBright",[102,49],"bgBright"),s("bgYellowBright",[103,49],"bgBright"),s("bgBlueBright",[104,49],"bgBright"),s("bgMagentaBright",[105,49],"bgBright"),s("bgCyanBright",[106,49],"bgBright"),s("bgWhiteBright",[107,49],"bgBright"),r.ansiRegex=Ao,r.hasColor=r.hasAnsi=i=>(r.ansiRegex.lastIndex=0,typeof i=="string"&&i!==""&&r.ansiRegex.test(i)),r.alias=(i,o)=>{let a=typeof o=="string"?r[o]:o;if(typeof a!="function")throw new TypeError("Expected alias to be the name of an existing color (string) or a function");a.stack||(Reflect.defineProperty(a,"name",{value:i}),r.styles[i]=a,a.stack=[i]),Reflect.defineProperty(r,i,{configurable:!0,enumerable:!0,set(u){r.alias(i,u)},get(){let u=c=>n(c,u.stack);return Reflect.setPrototypeOf(u,r),u.stack=this.stack?this.stack.concat(a.stack):a.stack,u}})},r.theme=i=>{if(!Ro(i))throw new TypeError("Expected theme to be an object");for(let o of Object.keys(i))r.alias(o,i[o]);return r},r.alias("unstyle",i=>typeof i=="string"&&i!==""?(r.ansiRegex.lastIndex=0,i.replace(r.ansiRegex,"")):""),r.alias("noop",i=>i),r.none=r.clear=r.noop,r.stripColor=r.unstyle,r.symbols=Wr(),r.define=s,r};qn.exports=Xr();qn.exports.create=Xr});var os=ge((ad,is)=>{"use strict";is.exports=rs;function rs(r,e,t){r instanceof RegExp&&(r=ns(r,t)),e instanceof RegExp&&(e=ns(e,t));var n=ss(r,e,t);return n&&{start:n[0],end:n[1],pre:t.slice(0,n[0]),body:t.slice(n[0]+r.length,n[1]),post:t.slice(n[1]+e.length)}}function ns(r,e){var t=e.match(r);return t?t[0]:null}rs.range=ss;function ss(r,e,t){var n,s,i,o,a,u=t.indexOf(r),c=t.indexOf(e,u+1),p=u;if(u>=0&&c>0){if(r===e)return[u,c];for(n=[],i=t.length;p>=0&&!a;)p==u?(n.push(p),u=t.indexOf(r,p+1)):n.length==1?a=[n.pop(),c]:(s=n.pop(),s<i&&(i=s,o=c),c=t.indexOf(e,p+1)),p=u<c&&u>=0?u:c;n.length&&(a=[i,o])}return a}});var hs=ge((ld,ps)=>{var as=os();ps.exports=Zo;var ls="\0SLASH"+Math.random()+"\0",cs="\0OPEN"+Math.random()+"\0",ir="\0CLOSE"+Math.random()+"\0",us="\0COMMA"+Math.random()+"\0",ds="\0PERIOD"+Math.random()+"\0";function sr(r){return parseInt(r,10)==r?parseInt(r,10):r.charCodeAt(0)}function Yo(r){return r.split("\\\\").join(ls).split("\\{").join(cs).split("\\}").join(ir).split("\\,").join(us).split("\\.").join(ds)}function Qo(r){return r.split(ls).join("\\").split(cs).join("{").split(ir).join("}").split(us).join(",").split(ds).join(".")}function fs(r){if(!r)return[""];var e=[],t=as("{","}",r);if(!t)return r.split(",");var n=t.pre,s=t.body,i=t.post,o=n.split(",");o[o.length-1]+="{"+s+"}";var a=fs(i);return i.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function Zo(r){return r?(r.substr(0,2)==="{}"&&(r="\\{\\}"+r.substr(2)),dn(Yo(r),!0).map(Qo)):[]}function qo(r){return"{"+r+"}"}function _o(r){return/^-?0\d/.test(r)}function ea(r,e){return r<=e}function ta(r,e){return r>=e}function dn(r,e){var t=[],n=as("{","}",r);if(!n)return[r];var s=n.pre,i=n.post.length?dn(n.post,!1):[""];if(/\$$/.test(n.pre))for(var o=0;o<i.length;o++){var a=s+"{"+n.body+"}"+i[o];t.push(a)}else{var u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),p=u||c,m=n.body.indexOf(",")>=0;if(!p&&!m)return n.post.match(/,(?!,).*\}/)?(r=n.pre+"{"+n.body+ir+n.post,dn(r)):[r];var S;if(p)S=n.body.split(/\.\./);else if(S=fs(n.body),S.length===1&&(S=dn(S[0],!1).map(qo),S.length===1))return i.map(function(L){return n.pre+S[0]+L});var T;if(p){var h=sr(S[0]),b=sr(S[1]),$=Math.max(S[0].length,S[1].length),D=S.length==3?Math.abs(sr(S[2])):1,A=ea,I=b<h;I&&(D*=-1,A=ta);var w=S.some(_o);T=[];for(var g=h;A(g,b);g+=D){var x;if(c)x=String.fromCharCode(g),x==="\\"&&(x="");else if(x=String(g),w){var C=$-x.length;if(C>0){var O=new Array(C+1).join("0");g<0?x="-"+O+x.slice(1):x=O+x}}T.push(x)}}else{T=[];for(var k=0;k<S.length;k++)T.push.apply(T,dn(S[k],!1))}for(var k=0;k<T.length;k++)for(var o=0;o<i.length;o++){var a=s+T[k]+i[o];(!e||p||a)&&t.push(a)}}return t}});var Xs=ge((kv,Ws)=>{Ws.exports=(function(r){var e={};function t(n){if(e[n])return e[n].exports;var s=e[n]={i:n,l:!1,exports:{}};return r[n].call(s.exports,s,s.exports,t),s.l=!0,s.exports}return t.m=r,t.c=e,t.i=function(n){return n},t.d=function(n,s,i){t.o(n,s)||Object.defineProperty(n,s,{configurable:!1,enumerable:!0,get:i})},t.n=function(n){var s=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(s,"a",s),s},t.o=function(n,s){return Object.prototype.hasOwnProperty.call(n,s)},t.p="",t(t.s=14)})([(function(r,e){r.exports=require("path")}),(function(r,e,t){"use strict";e.__esModule=!0;var n=t(173),s=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.default=function(o){return function(){var a=o.apply(this,arguments);return new s.default(function(u,c){function p(m,S){try{var T=a[m](S),h=T.value}catch(b){c(b);return}if(T.done)u(h);else return s.default.resolve(h).then(function(b){p("next",b)},function(b){p("throw",b)})}return p("next")})}}}),(function(r,e){r.exports=require("util")}),(function(r,e){r.exports=require("fs")}),(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class n extends Error{constructor(c,p){super(c),this.code=p}}e.MessageError=n;class s extends n{constructor(c,p,m){super(c,p),this.process=m}}e.ProcessSpawnError=s;class i extends n{}e.SecurityError=i;class o extends n{}e.ProcessTermError=o;class a extends Error{constructor(c,p){super(c),this.responseCode=p}}e.ResponseError=a}),(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getFirstSuitableFolder=e.readFirstAvailableStream=e.makeTempDir=e.hardlinksWork=e.writeFilePreservingEol=e.getFileSizeOnDisk=e.walk=e.symlink=e.find=e.readJsonAndFile=e.readJson=e.readFileAny=e.hardlinkBulk=e.copyBulk=e.unlink=e.glob=e.link=e.chmod=e.lstat=e.exists=e.mkdirp=e.stat=e.access=e.rename=e.readdir=e.realpath=e.readlink=e.writeFile=e.open=e.readFileBuffer=e.lockQueue=e.constants=void 0;var n;function s(){return n=F(t(1))}let i=(()=>{var Y=(0,(n||s()).default)(function*(J,U,j,G){let ne=(()=>{var ae=(0,(n||s()).default)(function*(we){let me=we.src,re=we.dest,an=we.type,Qe=we.onFresh||tt,$e=we.onDone||tt;if(le.has(re.toLowerCase())?G.verbose(`The case-insensitive file ${re} shouldn't be copied twice in one bulk copy`):le.add(re.toLowerCase()),an==="symlink"){yield Ce((l||d()).default.dirname(re)),Qe(),Fe.symlink.push({dest:re,linkname:me}),$e();return}if(U.ignoreBasenames.indexOf((l||d()).default.basename(me))>=0)return;let xe=yield Oe(me),St;xe.isDirectory()&&(St=yield Ne(me));let Je;try{Je=yield Oe(re)}catch(Ue){if(Ue.code!=="ENOENT")throw Ue}if(Je){let Ue=xe.isSymbolicLink()&&Je.isSymbolicLink(),$t=xe.isDirectory()&&Je.isDirectory(),pt=xe.isFile()&&Je.isFile();if(pt&&he.has(re)){$e(),G.verbose(G.lang("verboseFileSkipArtifact",me));return}if(pt&&xe.size===Je.size&&(0,(z||Z()).fileDatesEqual)(xe.mtime,Je.mtime)){$e(),G.verbose(G.lang("verboseFileSkip",me,re,xe.size,+xe.mtime));return}if(Ue){let Pe=yield ce(me);if(Pe===(yield ce(re))){$e(),G.verbose(G.lang("verboseFileSkipSymlink",me,re,Pe));return}}if($t){let Pe=yield Ne(re);Kt(St,"src files not initialised");for(var ut=Pe,At=Array.isArray(ut),Ze=0,ut=At?ut:ut[Symbol.iterator]();;){var Qt;if(At){if(Ze>=ut.length)break;Qt=ut[Ze++]}else{if(Ze=ut.next(),Ze.done)break;Qt=Ze.value}let Nt=Qt;if(St.indexOf(Nt)<0){let xt=(l||d()).default.join(re,Nt);if(j.add(xt),(yield Oe(xt)).isDirectory())for(var dt=yield Ne(xt),Ot=Array.isArray(dt),qe=0,dt=Ot?dt:dt[Symbol.iterator]();;){var Zt;if(Ot){if(qe>=dt.length)break;Zt=dt[qe++]}else{if(qe=dt.next(),qe.done)break;Zt=qe.value}let Kn=Zt;j.add((l||d()).default.join(xt,Kn))}}}}}if(Je&&Je.isSymbolicLink()&&(yield(0,(z||Z()).unlink)(re),Je=null),xe.isSymbolicLink()){Qe();let Ue=yield ce(me);Fe.symlink.push({dest:re,linkname:Ue}),$e()}else if(xe.isDirectory()){Je||(G.verbose(G.lang("verboseFileFolder",re)),yield Ce(re));let Ue=re.split((l||d()).default.sep);for(;Ue.length;)le.add(Ue.join((l||d()).default.sep).toLowerCase()),Ue.pop();Kt(St,"src files not initialised");let $t=St.length;$t||$e();for(var ft=St,Dt=Array.isArray(ft),_e=0,ft=Dt?ft:ft[Symbol.iterator]();;){var je;if(Dt){if(_e>=ft.length)break;je=ft[_e++]}else{if(_e=ft.next(),_e.done)break;je=_e.value}let pt=je;J.push({dest:(l||d()).default.join(re,pt),onFresh:Qe,onDone:(function(Pe){function Nt(){return Pe.apply(this,arguments)}return Nt.toString=function(){return Pe.toString()},Nt})(function(){--$t===0&&$e()}),src:(l||d()).default.join(me,pt)})}}else if(xe.isFile())Qe(),Fe.file.push({src:me,dest:re,atime:xe.atime,mtime:xe.mtime,mode:xe.mode}),$e();else throw new Error(`unsure how to copy this: ${me}`)});return function(me){return ae.apply(this,arguments)}})(),he=new Set(U.artifactFiles||[]),le=new Set;for(var oe=J,ue=Array.isArray(oe),ie=0,oe=ue?oe:oe[Symbol.iterator]();;){var Ye;if(ue){if(ie>=oe.length)break;Ye=oe[ie++]}else{if(ie=oe.next(),ie.done)break;Ye=ie.value}let ae=Ye,we=ae.onDone;ae.onDone=function(){U.onProgress(ae.dest),we&&we()}}U.onStart(J.length);let Fe={file:[],symlink:[],link:[]};for(;J.length;){let ae=J.splice(0,Ft);yield Promise.all(ae.map(ne))}for(var He=he,Rt=Array.isArray(He),lt=0,He=Rt?He:He[Symbol.iterator]();;){var Ht;if(Rt){if(lt>=He.length)break;Ht=He[lt++]}else{if(lt=He.next(),lt.done)break;Ht=lt.value}let ae=Ht;j.has(ae)&&(G.verbose(G.lang("verboseFilePhantomExtraneous",ae)),j.delete(ae))}for(var Be=j,on=Array.isArray(Be),ct=0,Be=on?Be:Be[Symbol.iterator]();;){var Bt;if(on){if(ct>=Be.length)break;Bt=Be[ct++]}else{if(ct=Be.next(),ct.done)break;Bt=ct.value}let ae=Bt;le.has(ae.toLowerCase())&&j.delete(ae)}return Fe});return function(U,j,G,ne){return Y.apply(this,arguments)}})(),o=(()=>{var Y=(0,(n||s()).default)(function*(J,U,j,G){let ne=(()=>{var ae=(0,(n||s()).default)(function*(we){let me=we.src,re=we.dest,an=we.onFresh||tt,Qe=we.onDone||tt;if(le.has(re.toLowerCase())){Qe();return}if(le.add(re.toLowerCase()),U.ignoreBasenames.indexOf((l||d()).default.basename(me))>=0)return;let $e=yield Oe(me),xe;$e.isDirectory()&&(xe=yield Ne(me));let St=yield at(re);if(St){let je=yield Oe(re),Ue=$e.isSymbolicLink()&&je.isSymbolicLink(),$t=$e.isDirectory()&&je.isDirectory(),pt=$e.isFile()&&je.isFile();if($e.mode!==je.mode)try{yield Re(re,$e.mode)}catch(Pe){G.verbose(Pe)}if(pt&&he.has(re)){Qe(),G.verbose(G.lang("verboseFileSkipArtifact",me));return}if(pt&&$e.ino!==null&&$e.ino===je.ino){Qe(),G.verbose(G.lang("verboseFileSkip",me,re,$e.ino));return}if(Ue){let Pe=yield ce(me);if(Pe===(yield ce(re))){Qe(),G.verbose(G.lang("verboseFileSkipSymlink",me,re,Pe));return}}if($t){let Pe=yield Ne(re);Kt(xe,"src files not initialised");for(var Ze=Pe,Je=Array.isArray(Ze),At=0,Ze=Je?Ze:Ze[Symbol.iterator]();;){var ut;if(Je){if(At>=Ze.length)break;ut=Ze[At++]}else{if(At=Ze.next(),At.done)break;ut=At.value}let Nt=ut;if(xe.indexOf(Nt)<0){let xt=(l||d()).default.join(re,Nt);if(j.add(xt),(yield Oe(xt)).isDirectory())for(var qe=yield Ne(xt),Qt=Array.isArray(qe),Ot=0,qe=Qt?qe:qe[Symbol.iterator]();;){var dt;if(Qt){if(Ot>=qe.length)break;dt=qe[Ot++]}else{if(Ot=qe.next(),Ot.done)break;dt=Ot.value}let Kn=dt;j.add((l||d()).default.join(xt,Kn))}}}}}if($e.isSymbolicLink()){an();let je=yield ce(me);Fe.symlink.push({dest:re,linkname:je}),Qe()}else if($e.isDirectory()){G.verbose(G.lang("verboseFileFolder",re)),yield Ce(re);let je=re.split((l||d()).default.sep);for(;je.length;)le.add(je.join((l||d()).default.sep).toLowerCase()),je.pop();Kt(xe,"src files not initialised");let Ue=xe.length;Ue||Qe();for(var _e=xe,Zt=Array.isArray(_e),Dt=0,_e=Zt?_e:_e[Symbol.iterator]();;){var ft;if(Zt){if(Dt>=_e.length)break;ft=_e[Dt++]}else{if(Dt=_e.next(),Dt.done)break;ft=Dt.value}let $t=ft;J.push({onFresh:an,src:(l||d()).default.join(me,$t),dest:(l||d()).default.join(re,$t),onDone:(function(pt){function Pe(){return pt.apply(this,arguments)}return Pe.toString=function(){return pt.toString()},Pe})(function(){--Ue===0&&Qe()})})}}else if($e.isFile())an(),Fe.link.push({src:me,dest:re,removeDest:St}),Qe();else throw new Error(`unsure how to copy this: ${me}`)});return function(me){return ae.apply(this,arguments)}})(),he=new Set(U.artifactFiles||[]),le=new Set;for(var oe=J,ue=Array.isArray(oe),ie=0,oe=ue?oe:oe[Symbol.iterator]();;){var Ye;if(ue){if(ie>=oe.length)break;Ye=oe[ie++]}else{if(ie=oe.next(),ie.done)break;Ye=ie.value}let ae=Ye,we=ae.onDone||tt;ae.onDone=function(){U.onProgress(ae.dest),we()}}U.onStart(J.length);let Fe={file:[],symlink:[],link:[]};for(;J.length;){let ae=J.splice(0,Ft);yield Promise.all(ae.map(ne))}for(var He=he,Rt=Array.isArray(He),lt=0,He=Rt?He:He[Symbol.iterator]();;){var Ht;if(Rt){if(lt>=He.length)break;Ht=He[lt++]}else{if(lt=He.next(),lt.done)break;Ht=lt.value}let ae=Ht;j.has(ae)&&(G.verbose(G.lang("verboseFilePhantomExtraneous",ae)),j.delete(ae))}for(var Be=j,on=Array.isArray(Be),ct=0,Be=on?Be:Be[Symbol.iterator]();;){var Bt;if(on){if(ct>=Be.length)break;Bt=Be[ct++]}else{if(ct=Be.next(),ct.done)break;Bt=ct.value}let ae=Bt;le.has(ae.toLowerCase())&&j.delete(ae)}return Fe});return function(U,j,G,ne){return Y.apply(this,arguments)}})(),a=e.copyBulk=(()=>{var Y=(0,(n||s()).default)(function*(J,U,j){let G={onStart:j&&j.onStart||tt,onProgress:j&&j.onProgress||tt,possibleExtraneous:j?j.possibleExtraneous:new Set,ignoreBasenames:j&&j.ignoreBasenames||[],artifactFiles:j&&j.artifactFiles||[]},ne=yield i(J,G,G.possibleExtraneous,U);G.onStart(ne.file.length+ne.symlink.length+ne.link.length);let he=ne.file,le=new Map;yield(E||R()).queue(he,(()=>{var ie=(0,(n||s()).default)(function*(oe){let Ye;for(;Ye=le.get(oe.dest);)yield Ye;U.verbose(U.lang("verboseFileCopy",oe.src,oe.dest));let Fe=(0,(z||Z()).copyFile)(oe,function(){return le.delete(oe.dest)});return le.set(oe.dest,Fe),G.onProgress(oe.dest),Fe});return function(oe){return ie.apply(this,arguments)}})(),Ft);let ue=ne.symlink;yield(E||R()).queue(ue,function(ie){let oe=(l||d()).default.resolve((l||d()).default.dirname(ie.dest),ie.linkname);return U.verbose(U.lang("verboseFileSymlink",ie.dest,oe)),T(oe,ie.dest)})});return function(U,j,G){return Y.apply(this,arguments)}})(),u=e.hardlinkBulk=(()=>{var Y=(0,(n||s()).default)(function*(J,U,j){let G={onStart:j&&j.onStart||tt,onProgress:j&&j.onProgress||tt,possibleExtraneous:j?j.possibleExtraneous:new Set,artifactFiles:j&&j.artifactFiles||[],ignoreBasenames:[]},ne=yield o(J,G,G.possibleExtraneous,U);G.onStart(ne.file.length+ne.symlink.length+ne.link.length);let he=ne.link;yield(E||R()).queue(he,(()=>{var ue=(0,(n||s()).default)(function*(ie){U.verbose(U.lang("verboseFileLink",ie.src,ie.dest)),ie.removeDest&&(yield(0,(z||Z()).unlink)(ie.dest)),yield $n(ie.src,ie.dest)});return function(ie){return ue.apply(this,arguments)}})(),Ft);let le=ne.symlink;yield(E||R()).queue(le,function(ue){let ie=(l||d()).default.resolve((l||d()).default.dirname(ue.dest),ue.linkname);return U.verbose(U.lang("verboseFileSymlink",ue.dest,ie)),T(ie,ue.dest)})});return function(U,j,G){return Y.apply(this,arguments)}})(),c=e.readFileAny=(()=>{var Y=(0,(n||s()).default)(function*(J){for(var G=J,U=Array.isArray(G),j=0,G=U?G:G[Symbol.iterator]();;){var ne;if(U){if(j>=G.length)break;ne=G[j++]}else{if(j=G.next(),j.done)break;ne=j.value}let he=ne;if(yield at(he))return Vn(he)}return null});return function(U){return Y.apply(this,arguments)}})(),p=e.readJson=(()=>{var Y=(0,(n||s()).default)(function*(J){return(yield m(J)).object});return function(U){return Y.apply(this,arguments)}})(),m=e.readJsonAndFile=(()=>{var Y=(0,(n||s()).default)(function*(J){let U=yield Vn(J);try{return{object:(0,(M||B()).default)(JSON.parse(sn(U))),content:U}}catch(j){throw j.message=`${J}: ${j.message}`,j}});return function(U){return Y.apply(this,arguments)}})(),S=e.find=(()=>{var Y=(0,(n||s()).default)(function*(J,U){let j=U.split((l||d()).default.sep);for(;j.length;){let G=j.concat(J).join((l||d()).default.sep);if(yield at(G))return G;j.pop()}return!1});return function(U,j){return Y.apply(this,arguments)}})(),T=e.symlink=(()=>{var Y=(0,(n||s()).default)(function*(J,U){try{if((yield Oe(U)).isSymbolicLink()&&(yield ke(U))===J)return}catch(j){if(j.code!=="ENOENT")throw j}if(yield(0,(z||Z()).unlink)(U),process.platform==="win32")yield Tn(J,U,"junction");else{let j;try{j=(l||d()).default.relative((x||C()).default.realpathSync((l||d()).default.dirname(U)),(x||C()).default.realpathSync(J))}catch(G){if(G.code!=="ENOENT")throw G;j=(l||d()).default.relative((l||d()).default.dirname(U),J)}yield Tn(j||".",U)}});return function(U,j){return Y.apply(this,arguments)}})(),h=e.walk=(()=>{var Y=(0,(n||s()).default)(function*(J,U,j=new Set){let G=[],ne=yield Ne(J);j.size&&(ne=ne.filter(function(oe){return!j.has(oe)}));for(var ue=ne,he=Array.isArray(ue),le=0,ue=he?ue:ue[Symbol.iterator]();;){var ie;if(he){if(le>=ue.length)break;ie=ue[le++]}else{if(le=ue.next(),le.done)break;ie=le.value}let oe=ie,Ye=U?(l||d()).default.join(U,oe):oe,Fe=(l||d()).default.join(J,oe),Rt=yield Oe(Fe);G.push({relative:Ye,basename:oe,absolute:Fe,mtime:+Rt.mtime}),Rt.isDirectory()&&(G=G.concat(yield h(Fe,Ye,j)))}return G});return function(U,j){return Y.apply(this,arguments)}})(),b=e.getFileSizeOnDisk=(()=>{var Y=(0,(n||s()).default)(function*(J){let U=yield Oe(J),j=U.size,G=U.blksize;return Math.ceil(j/G)*G});return function(U){return Y.apply(this,arguments)}})(),$=(()=>{var Y=(0,(n||s()).default)(function*(J){if(!(yield at(J)))return;let U=yield Q(J);for(let j=0;j<U.length;++j){if(U[j]===go)return`\r
6
6
  `;if(U[j]===yo)return`
7
7
  `}});return function(U){return Y.apply(this,arguments)}})(),D=e.writeFilePreservingEol=(()=>{var Y=(0,(n||s()).default)(function*(J,U){let j=(yield $(J))||(L||y()).default.EOL;j!==`
8
- `&&(U=U.replace(/\n/g,j)),yield pe(J,U)});return function(U,j){return Y.apply(this,arguments)}})(),A=e.hardlinksWork=(()=>{var Y=(0,(n||s()).default)(function*(J){let U="test-file"+Math.random(),j=(l||d()).default.join(J,U),G=(l||d()).default.join(J,U+"-link");try{yield pe(j,"test"),yield $n(j,G)}catch{return!1}finally{yield(0,(z||Z()).unlink)(j),yield(0,(z||Z()).unlink)(G)}return!0});return function(U){return Y.apply(this,arguments)}})(),I=e.makeTempDir=(()=>{var Y=(0,(n||s()).default)(function*(J){let U=(l||d()).default.join((L||y()).default.tmpdir(),`yarn-${J||""}-${Date.now()}-${Math.random()}`);return yield(0,(z||Z()).unlink)(U),yield Ce(U),U});return function(U){return Y.apply(this,arguments)}})(),w=e.readFirstAvailableStream=(()=>{var Y=(0,(n||s()).default)(function*(J){for(var G=J,U=Array.isArray(G),j=0,G=U?G:G[Symbol.iterator]();;){var ne;if(U){if(j>=G.length)break;ne=G[j++]}else{if(j=G.next(),j.done)break;ne=j.value}let me=ne;try{let le=yield _(me,"r");return(x||C()).default.createReadStream(me,{fd:le})}catch{}}return null});return function(U){return Y.apply(this,arguments)}})(),g=e.getFirstSuitableFolder=(()=>{var Y=(0,(n||s()).default)(function*(J,U=X.W_OK|X.X_OK){let j={skipped:[],folder:null};for(var me=J,G=Array.isArray(me),ne=0,me=G?me:me[Symbol.iterator]();;){var le;if(G){if(ne>=me.length)break;le=me[ne++]}else{if(ne=me.next(),ne.done)break;le=ne.value}let ue=le;try{return yield Ce(ue),yield Re(ue,U),j.folder=ue,j}catch(ie){j.skipped.push({error:ie,folder:ue})}}return j});return function(U){return Y.apply(this,arguments)}})();e.copy=Cn,e.readFile=Vn,e.readFileRaw=ho,e.normalizeOS=Mr;var x;function C(){return x=F(t(3))}var O;function k(){return O=F(t(75))}var L;function y(){return L=F(t(36))}var l;function d(){return l=F(t(0))}var f;function v(){return f=F(t(84))}var E;function R(){return E=H(t(40))}var N;function P(){return N=t(40)}var M;function B(){return M=F(t(20))}var z;function Z(){return z=t(164)}function H(Y){if(Y&&Y.__esModule)return Y;var J={};if(Y!=null)for(var U in Y)Object.prototype.hasOwnProperty.call(Y,U)&&(J[U]=Y[U]);return J.default=Y,J}function F(Y){return Y&&Y.__esModule?Y:{default:Y}}let X=e.constants=typeof(x||C()).default.constants<"u"?(x||C()).default.constants:{R_OK:(x||C()).default.R_OK,W_OK:(x||C()).default.W_OK,X_OK:(x||C()).default.X_OK},q=e.lockQueue=new(f||v()).default("fs lock"),Q=e.readFileBuffer=(0,(N||P()).promisify)((x||C()).default.readFile),_=e.open=(0,(N||P()).promisify)((x||C()).default.open),pe=e.writeFile=(0,(N||P()).promisify)((x||C()).default.writeFile),ce=e.readlink=(0,(N||P()).promisify)((x||C()).default.readlink),ke=e.realpath=(0,(N||P()).promisify)((x||C()).default.realpath),Ne=e.readdir=(0,(N||P()).promisify)((x||C()).default.readdir),ot=e.rename=(0,(N||P()).promisify)((x||C()).default.rename),Re=e.access=(0,(N||P()).promisify)((x||C()).default.access),Ae=e.stat=(0,(N||P()).promisify)((x||C()).default.stat),Ce=e.mkdirp=(0,(N||P()).promisify)(t(116)),at=e.exists=(0,(N||P()).promisify)((x||C()).default.exists,!0),Oe=e.lstat=(0,(N||P()).promisify)((x||C()).default.lstat),Et=e.chmod=(0,(N||P()).promisify)((x||C()).default.chmod),$n=e.link=(0,(N||P()).promisify)((x||C()).default.link),xn=e.glob=(0,(N||P()).promisify)((O||k()).default);e.unlink=(z||Z()).unlink;let Ft=(x||C()).default.copyFile?128:4,Tn=(0,(N||P()).promisify)((x||C()).default.symlink),Kt=t(7),sn=t(122),tt=()=>{};function Cn(Y,J,U){return a([{src:Y,dest:J}],U)}function Yt(Y,J){return new Promise((U,j)=>{(x||C()).default.readFile(Y,J,function(G,ne){G?j(G):U(ne)})})}function Vn(Y){return Yt(Y,"utf8").then(Mr)}function ho(Y){return Yt(Y,"binary")}function Mr(Y){return Y.replace(/\r\n/g,`
9
- `)}let go=13,yo=10}),(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPathKey=Re;let n=t(36),s=t(0),i=t(45).default;var o=t(171);let a=o.getCacheDir,u=o.getConfigDir,c=o.getDataDir,p=t(227),h=e.DEPENDENCY_TYPES=["devDependencies","dependencies","optionalDependencies","peerDependencies"],S=e.RESOLUTIONS="resolutions",T=e.MANIFEST_FIELDS=[S,...h],m=e.SUPPORTED_NODE_VERSIONS="^4.8.0 || ^5.7.0 || ^6.2.2 || >=8.0.0",b=e.YARN_REGISTRY="https://registry.yarnpkg.com",$=e.YARN_DOCS="https://yarnpkg.com/en/docs/cli/",D=e.YARN_INSTALLER_SH="https://yarnpkg.com/install.sh",A=e.YARN_INSTALLER_MSI="https://yarnpkg.com/latest.msi",I=e.SELF_UPDATE_VERSION_URL="https://yarnpkg.com/latest-version",w=e.CACHE_VERSION=2,g=e.LOCKFILE_VERSION=1,x=e.NETWORK_CONCURRENCY=8,C=e.NETWORK_TIMEOUT=30*1e3,O=e.CHILD_CONCURRENCY=5,k=e.REQUIRED_PACKAGE_KEYS=["name","version","_uid"];function L(){let Ce=[a()];return process.getuid&&Ce.push(s.join(n.tmpdir(),`.yarn-cache-${process.getuid()}`)),Ce.push(s.join(n.tmpdir(),".yarn-cache")),Ce}let y=e.PREFERRED_MODULE_CACHE_DIRECTORIES=L(),l=e.CONFIG_DIRECTORY=u(),d=e.DATA_DIRECTORY=c(),f=e.LINK_REGISTRY_DIRECTORY=s.join(d,"link"),v=e.GLOBAL_MODULE_DIRECTORY=s.join(d,"global"),E=e.NODE_BIN_PATH=process.execPath,R=e.YARN_BIN_PATH=N();function N(){return p?__filename:s.join(__dirname,"..","bin","yarn.js")}let P=e.NODE_MODULES_FOLDER="node_modules",M=e.NODE_PACKAGE_JSON="package.json",B=e.POSIX_GLOBAL_PREFIX=`${process.env.DESTDIR||""}/usr/local`,z=e.FALLBACK_GLOBAL_PREFIX=s.join(i,".yarn"),Z=e.META_FOLDER=".yarn-meta",H=e.INTEGRITY_FILENAME=".yarn-integrity",F=e.LOCKFILE_FILENAME="yarn.lock",X=e.METADATA_FILENAME=".yarn-metadata.json",q=e.TARBALL_FILENAME=".yarn-tarball.tgz",Q=e.CLEAN_FILENAME=".yarnclean",_=e.NPM_LOCK_FILENAME="package-lock.json",pe=e.NPM_SHRINKWRAP_FILENAME="npm-shrinkwrap.json",ce=e.DEFAULT_INDENT=" ",ke=e.SINGLE_INSTANCE_PORT=31997,Ne=e.SINGLE_INSTANCE_FILENAME=".yarn-single-instance",ot=e.ENV_PATH_KEY=Re(process.platform,process.env);function Re(Ce,at){let Oe="PATH";if(Ce==="win32"){Oe="Path";for(let Et in at)Et.toLowerCase()==="path"&&(Oe=Et)}return Oe}let Ae=e.VERSION_COLOR_SCHEME={major:"red",premajor:"red",minor:"yellow",preminor:"yellow",patch:"green",prepatch:"green",prerelease:"red",unchanged:"white",unknown:"red"}}),(function(r,e,t){"use strict";var n=process.env.NODE_ENV,s=function(i,o,a,u,c,p,h,S){if(n!=="production"&&o===void 0)throw new Error("invariant requires an error message argument");if(!i){var T;if(o===void 0)T=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var m=[a,u,c,p,h,S],b=0;T=new Error(o.replace(/%s/g,function(){return m[b++]})),T.name="Invariant Violation"}throw T.framesToPop=1,T}};r.exports=s}),,(function(r,e){r.exports=require("crypto")}),,(function(r,e){var t=r.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=t)}),(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sortAlpha=s,e.entries=i,e.removePrefix=o,e.removeSuffix=a,e.addSuffix=u,e.hyphenate=c,e.camelCase=p,e.compareSortedArrays=h,e.sleep=S;let n=t(176);function s(T,m){let b=Math.min(T.length,m.length);for(let $=0;$<b;$++){let D=T.charCodeAt($),A=m.charCodeAt($);if(D!==A)return D-A}return T.length-m.length}function i(T){let m=[];if(T)for(let b in T)m.push([b,T[b]]);return m}function o(T,m){return T.startsWith(m)&&(T=T.slice(m.length)),T}function a(T,m){return T.endsWith(m)?T.slice(0,-m.length):T}function u(T,m){return T.endsWith(m)?T:T+m}function c(T){return T.replace(/[A-Z]/g,m=>"-"+m.charAt(0).toLowerCase())}function p(T){return/[A-Z]/.test(T)?null:n(T)}function h(T,m){if(T.length!==m.length)return!1;for(let b=0,$=T.length;b<$;b++)if(T[b]!==m[b])return!1;return!0}function S(T){return new Promise(m=>{setTimeout(m,T)})}}),(function(r,e,t){var n=t(107)("wks"),s=t(111),i=t(11).Symbol,o=typeof i=="function",a=r.exports=function(u){return n[u]||(n[u]=o&&i[u]||(o?i:s)("Symbol."+u))};a.store=n}),(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n;function s(){return n=w(t(1))}var i;function o(){return i=t(81)}Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return w(i||o()).default}});var a;function u(){return a=t(150)}Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return w(a||u()).default}}),e.implodeEntry=l,e.explodeEntry=d;var c;function p(){return c=t(12)}var h;function S(){return h=t(29)}var T;function m(){return T=w(t(81))}var b;function $(){return b=t(6)}var D;function A(){return D=I(t(5))}function I(v){if(v&&v.__esModule)return v;var E={};if(v!=null)for(var R in v)Object.prototype.hasOwnProperty.call(v,R)&&(E[R]=v[R]);return E.default=v,E}function w(v){return v&&v.__esModule?v:{default:v}}let g=t(7),x=t(0),C=t(55);function O(v){return(0,(h||S()).normalizePattern)(v).name}function k(v){return v&&Object.keys(v).length?v:void 0}function L(v){return v.resolved||(v.reference&&v.hash?`${v.reference}#${v.hash}`:null)}function y(v){return v.toString().split(" ").sort().join(" ")}function l(v,E){let R=O(v),N=E.integrity?y(E.integrity):"",P={name:R===E.name?void 0:E.name,version:E.version,uid:E.uid===E.version?void 0:E.uid,resolved:E.resolved,registry:E.registry==="npm"?void 0:E.registry,dependencies:k(E.dependencies),optionalDependencies:k(E.optionalDependencies),permissions:k(E.permissions),prebuiltVariants:k(E.prebuiltVariants)};return N&&(P.integrity=N),P}function d(v,E){E.optionalDependencies=E.optionalDependencies||{},E.dependencies=E.dependencies||{},E.uid=E.uid||E.version,E.permissions=E.permissions||{},E.registry=E.registry||"npm",E.name=E.name||O(v);let R=E.integrity;return R&&R.isIntegrity&&(E.integrity=C.parse(R)),E}class f{constructor({cache:E,source:R,parseResultType:N}={}){this.source=R||"",this.cache=E,this.parseResultType=N}hasEntriesExistWithoutIntegrity(){if(!this.cache)return!1;for(let E in this.cache)if(!/^.*@(file:|http)/.test(E)&&this.cache[E]&&!this.cache[E].integrity)return!0;return!1}static fromDirectory(E,R){return(0,(n||s()).default)(function*(){let N=x.join(E,(b||$()).LOCKFILE_FILENAME),P,M="",B;return(yield(D||A()).exists(N))?(M=yield(D||A()).readFile(N),B=(0,(T||m()).default)(M,N),R&&(B.type==="merge"?R.info(R.lang("lockfileMerged")):B.type==="conflict"&&R.warn(R.lang("lockfileConflict"))),P=B.object):R&&R.info(R.lang("noLockfileFound")),new f({cache:P,source:M,parseResultType:B&&B.type})})()}getLocked(E){let R=this.cache;if(!R)return;let N=E in R&&R[E];if(typeof N=="string")return this.getLocked(N);if(N)return d(E,N),N}removePattern(E){let R=this.cache;R&&delete R[E]}getLockfile(E){let R={},N=new Map,P=Object.keys(E).sort((c||p()).sortAlpha);for(var z=P,M=Array.isArray(z),B=0,z=M?z:z[Symbol.iterator]();;){var Z;if(M){if(B>=z.length)break;Z=z[B++]}else{if(B=z.next(),B.done)break;Z=B.value}let H=Z,F=E[H],X=F._remote,q=F._reference;g(q,"Package is missing a reference"),g(X,"Package is missing a remote");let Q=L(X),_=Q&&N.get(Q);if(_){R[H]=_,!_.name&&O(H)!==F.name&&(_.name=F.name);continue}let pe=l(H,{name:F.name,version:F.version,uid:F._uid,resolved:X.resolved,integrity:X.integrity,registry:X.registry,dependencies:F.dependencies,peerDependencies:F.peerDependencies,optionalDependencies:F.optionalDependencies,permissions:q.permissions,prebuiltVariants:F.prebuiltVariants});R[H]=pe,Q&&N.set(Q,pe)}return R}}e.default=f}),,,(function(r,e){r.exports=require("stream")}),,,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;function n(s={}){if(Array.isArray(s))for(var a=s,i=Array.isArray(a),o=0,a=i?a:a[Symbol.iterator]();;){var u;if(i){if(o>=a.length)break;u=a[o++]}else{if(o=a.next(),o.done)break;u=o.value}n(u)}else if((s!==null&&typeof s=="object"||typeof s=="function")&&(Object.setPrototypeOf(s,null),typeof s=="object"))for(let c in s)n(s[c]);return s}}),,(function(r,e){r.exports=require("assert")}),(function(r,e){var t=r.exports={version:"2.5.7"};typeof __e=="number"&&(__e=t)}),,,,(function(r,e,t){var n=t(34);r.exports=function(s){if(!n(s))throw TypeError(s+" is not an object!");return s}}),,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizePattern=n;function n(s){let i=!1,o="latest",a=s,u=!1;a[0]==="@"&&(u=!0,a=a.slice(1));let c=a.split("@");return c.length>1&&(a=c.shift(),o=c.join("@"),o?i=!0:o="*"),u&&(a=`@${a}`),{name:a,range:o,hasVersion:i}}}),,(function(r,e,t){var n=t(50),s=t(106);r.exports=t(33)?function(i,o,a){return n.f(i,o,s(1,a))}:function(i,o,a){return i[o]=a,i}}),(function(r,e,t){var n=t(63),s=n.Buffer;function i(a,u){for(var c in a)u[c]=a[c]}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?r.exports=n:(i(n,e),e.Buffer=o);function o(a,u,c){return s(a,u,c)}i(s,o),o.from=function(a,u,c){if(typeof a=="number")throw new TypeError("Argument must not be a number");return s(a,u,c)},o.alloc=function(a,u,c){if(typeof a!="number")throw new TypeError("Argument must be a number");var p=s(a);return u!==void 0?typeof c=="string"?p.fill(u,c):p.fill(u):p.fill(0),p},o.allocUnsafe=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return s(a)},o.allocUnsafeSlow=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(a)}}),(function(r,e,t){r.exports=!t(85)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})}),(function(r,e){r.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}}),(function(r,e){r.exports={}}),(function(r,e){r.exports=require("os")}),,,,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wait=n,e.promisify=s,e.queue=i;function n(o){return new Promise(a=>{setTimeout(a,o)})}function s(o,a){return function(...u){return new Promise(function(c,p){u.push(function(h,...S){let T=S;S.length<=1&&(T=S[0]),a&&(T=h,h=null),h?p(h):c(T)}),o.apply(null,u)})}}function i(o,a,u=1/0){u=Math.min(u,o.length),o=o.slice();let c=[],p=o.length;return p?new Promise((h,S)=>{for(let m=0;m<u;m++)T();function T(){let m=o.shift();a(m).then(function($){c.push($),p--,p===0?h(c):o.length&&T()},S)}}):Promise.resolve(c)}}),(function(r,e,t){var n=t(11),s=t(23),i=t(48),o=t(31),a=t(49),u="prototype",c=function(p,h,S){var T=p&c.F,m=p&c.G,b=p&c.S,$=p&c.P,D=p&c.B,A=p&c.W,I=m?s:s[h]||(s[h]={}),w=I[u],g=m?n:b?n[h]:(n[h]||{})[u],x,C,O;m&&(S=h);for(x in S)C=!T&&g&&g[x]!==void 0,!(C&&a(I,x))&&(O=C?g[x]:S[x],I[x]=m&&typeof g[x]!="function"?S[x]:D&&C?i(O,n):A&&g[x]==O?(function(k){var L=function(y,l,d){if(this instanceof k){switch(arguments.length){case 0:return new k;case 1:return new k(y);case 2:return new k(y,l)}return new k(y,l,d)}return k.apply(this,arguments)};return L[u]=k[u],L})(O):$&&typeof O=="function"?i(Function.call,O):O,$&&((I.virtual||(I.virtual={}))[x]=O,p&c.R&&w&&!w[x]&&o(w,x,O)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,r.exports=c}),(function(r,e,t){try{var n=t(2);if(typeof n.inherits!="function")throw"";r.exports=n.inherits}catch{r.exports=t(224)}}),,,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.home=void 0;var n;function s(){return n=i(t(169))}function i(c){return c&&c.__esModule?c:{default:c}}let o=t(0),a=e.home=t(36).homedir(),u=(n||s()).default?o.resolve("/usr/local/share"):a;e.default=u}),(function(r,e){r.exports=function(t){if(typeof t!="function")throw TypeError(t+" is not a function!");return t}}),(function(r,e){var t={}.toString;r.exports=function(n){return t.call(n).slice(8,-1)}}),(function(r,e,t){var n=t(46);r.exports=function(s,i,o){if(n(s),i===void 0)return s;switch(o){case 1:return function(a){return s.call(i,a)};case 2:return function(a,u){return s.call(i,a,u)};case 3:return function(a,u,c){return s.call(i,a,u,c)}}return function(){return s.apply(i,arguments)}}}),(function(r,e){var t={}.hasOwnProperty;r.exports=function(n,s){return t.call(n,s)}}),(function(r,e,t){var n=t(27),s=t(184),i=t(201),o=Object.defineProperty;e.f=t(33)?Object.defineProperty:function(u,c,p){if(n(u),c=i(c,!0),n(p),s)try{return o(u,c,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported!");return"value"in p&&(u[c]=p.value),u}}),,,,(function(r,e){r.exports=require("events")}),(function(r,e,t){"use strict";let n=t(32).Buffer,s=t(9),i=t(17).Transform,o=["sha256","sha384","sha512"],a=/^[a-z0-9+/]+(?:=?=?)$/i,u=/^([^-]+)-([^?]+)([?\S*]*)$/,c=/^([^-]+)-([A-Za-z0-9+/=]{44,88})(\?[\x21-\x7E]*)*$/,p=/^[\x21-\x7E]+$/;class h{get isHash(){return!0}constructor(y,l){let d=!!(l&&l.strict);this.source=y.trim();let f=this.source.match(d?c:u);if(!f||d&&!o.some(E=>E===f[1]))return;this.algorithm=f[1],this.digest=f[2];let v=f[3];this.options=v?v.slice(1).split("?"):[]}hexDigest(){return this.digest&&n.from(this.digest,"base64").toString("hex")}toJSON(){return this.toString()}toString(y){if(y&&y.strict&&!(o.some(d=>d===this.algorithm)&&this.digest.match(a)&&(this.options||[]).every(d=>d.match(p))))return"";let l=this.options&&this.options.length?`?${this.options.join("?")}`:"";return`${this.algorithm}-${this.digest}${l}`}}class S{get isIntegrity(){return!0}toJSON(){return this.toString()}toString(y){y=y||{};let l=y.sep||" ";return y.strict&&(l=l.replace(/\S+/g," ")),Object.keys(this).map(d=>this[d].map(f=>h.prototype.toString.call(f,y)).filter(f=>f.length).join(l)).filter(d=>d.length).join(l)}concat(y,l){let d=typeof y=="string"?y:b(y,l);return T(`${this.toString(l)} ${d}`,l)}hexDigest(){return T(this,{single:!0}).hexDigest()}match(y,l){let d=T(y,l),f=d.pickAlgorithm(l);return this[f]&&d[f]&&this[f].find(v=>d[f].find(E=>v.digest===E.digest))||!1}pickAlgorithm(y){let l=y&&y.pickAlgorithm||k,d=Object.keys(this);if(!d.length)throw new Error(`No algorithms available for ${JSON.stringify(this.toString())}`);return d.reduce((f,v)=>l(f,v)||f)}}r.exports.parse=T;function T(L,y){if(y=y||{},typeof L=="string")return m(L,y);if(L.algorithm&&L.digest){let l=new S;return l[L.algorithm]=[L],m(b(l,y),y)}else return m(b(L,y),y)}function m(L,y){return y.single?new h(L,y):L.trim().split(/\s+/).reduce((l,d)=>{let f=new h(d,y);if(f.algorithm&&f.digest){let v=f.algorithm;l[v]||(l[v]=[]),l[v].push(f)}return l},new S)}r.exports.stringify=b;function b(L,y){return L.algorithm&&L.digest?h.prototype.toString.call(L,y):typeof L=="string"?b(T(L,y),y):S.prototype.toString.call(L,y)}r.exports.fromHex=$;function $(L,y,l){let d=l&&l.options&&l.options.length?`?${l.options.join("?")}`:"";return T(`${y}-${n.from(L,"hex").toString("base64")}${d}`,l)}r.exports.fromData=D;function D(L,y){y=y||{};let l=y.algorithms||["sha512"],d=y.options&&y.options.length?`?${y.options.join("?")}`:"";return l.reduce((f,v)=>{let E=s.createHash(v).update(L).digest("base64"),R=new h(`${v}-${E}${d}`,y);if(R.algorithm&&R.digest){let N=R.algorithm;f[N]||(f[N]=[]),f[N].push(R)}return f},new S)}r.exports.fromStream=A;function A(L,y){y=y||{};let l=y.Promise||Promise,d=g(y);return new l((f,v)=>{L.pipe(d),L.on("error",v),d.on("error",v);let E;d.on("integrity",R=>{E=R}),d.on("end",()=>f(E)),d.on("data",()=>{})})}r.exports.checkData=I;function I(L,y,l){if(l=l||{},y=T(y,l),!Object.keys(y).length){if(l.error)throw Object.assign(new Error("No valid integrity hashes to check against"),{code:"EINTEGRITY"});return!1}let d=y.pickAlgorithm(l),f=s.createHash(d).update(L).digest("base64"),v=T({algorithm:d,digest:f}),E=v.match(y,l);if(E||!l.error)return E;if(typeof l.size=="number"&&L.length!==l.size){let R=new Error(`data size mismatch when checking ${y}.
8
+ `&&(U=U.replace(/\n/g,j)),yield pe(J,U)});return function(U,j){return Y.apply(this,arguments)}})(),A=e.hardlinksWork=(()=>{var Y=(0,(n||s()).default)(function*(J){let U="test-file"+Math.random(),j=(l||d()).default.join(J,U),G=(l||d()).default.join(J,U+"-link");try{yield pe(j,"test"),yield $n(j,G)}catch{return!1}finally{yield(0,(z||Z()).unlink)(j),yield(0,(z||Z()).unlink)(G)}return!0});return function(U){return Y.apply(this,arguments)}})(),I=e.makeTempDir=(()=>{var Y=(0,(n||s()).default)(function*(J){let U=(l||d()).default.join((L||y()).default.tmpdir(),`yarn-${J||""}-${Date.now()}-${Math.random()}`);return yield(0,(z||Z()).unlink)(U),yield Ce(U),U});return function(U){return Y.apply(this,arguments)}})(),w=e.readFirstAvailableStream=(()=>{var Y=(0,(n||s()).default)(function*(J){for(var G=J,U=Array.isArray(G),j=0,G=U?G:G[Symbol.iterator]();;){var ne;if(U){if(j>=G.length)break;ne=G[j++]}else{if(j=G.next(),j.done)break;ne=j.value}let he=ne;try{let le=yield _(he,"r");return(x||C()).default.createReadStream(he,{fd:le})}catch{}}return null});return function(U){return Y.apply(this,arguments)}})(),g=e.getFirstSuitableFolder=(()=>{var Y=(0,(n||s()).default)(function*(J,U=X.W_OK|X.X_OK){let j={skipped:[],folder:null};for(var he=J,G=Array.isArray(he),ne=0,he=G?he:he[Symbol.iterator]();;){var le;if(G){if(ne>=he.length)break;le=he[ne++]}else{if(ne=he.next(),ne.done)break;le=ne.value}let ue=le;try{return yield Ce(ue),yield Re(ue,U),j.folder=ue,j}catch(ie){j.skipped.push({error:ie,folder:ue})}}return j});return function(U){return Y.apply(this,arguments)}})();e.copy=Cn,e.readFile=Vn,e.readFileRaw=mo,e.normalizeOS=Mr;var x;function C(){return x=F(t(3))}var O;function k(){return O=F(t(75))}var L;function y(){return L=F(t(36))}var l;function d(){return l=F(t(0))}var f;function v(){return f=F(t(84))}var E;function R(){return E=H(t(40))}var N;function P(){return N=t(40)}var M;function B(){return M=F(t(20))}var z;function Z(){return z=t(164)}function H(Y){if(Y&&Y.__esModule)return Y;var J={};if(Y!=null)for(var U in Y)Object.prototype.hasOwnProperty.call(Y,U)&&(J[U]=Y[U]);return J.default=Y,J}function F(Y){return Y&&Y.__esModule?Y:{default:Y}}let X=e.constants=typeof(x||C()).default.constants<"u"?(x||C()).default.constants:{R_OK:(x||C()).default.R_OK,W_OK:(x||C()).default.W_OK,X_OK:(x||C()).default.X_OK},q=e.lockQueue=new(f||v()).default("fs lock"),Q=e.readFileBuffer=(0,(N||P()).promisify)((x||C()).default.readFile),_=e.open=(0,(N||P()).promisify)((x||C()).default.open),pe=e.writeFile=(0,(N||P()).promisify)((x||C()).default.writeFile),ce=e.readlink=(0,(N||P()).promisify)((x||C()).default.readlink),ke=e.realpath=(0,(N||P()).promisify)((x||C()).default.realpath),Ne=e.readdir=(0,(N||P()).promisify)((x||C()).default.readdir),ot=e.rename=(0,(N||P()).promisify)((x||C()).default.rename),Re=e.access=(0,(N||P()).promisify)((x||C()).default.access),Ae=e.stat=(0,(N||P()).promisify)((x||C()).default.stat),Ce=e.mkdirp=(0,(N||P()).promisify)(t(116)),at=e.exists=(0,(N||P()).promisify)((x||C()).default.exists,!0),Oe=e.lstat=(0,(N||P()).promisify)((x||C()).default.lstat),Et=e.chmod=(0,(N||P()).promisify)((x||C()).default.chmod),$n=e.link=(0,(N||P()).promisify)((x||C()).default.link),xn=e.glob=(0,(N||P()).promisify)((O||k()).default);e.unlink=(z||Z()).unlink;let Ft=(x||C()).default.copyFile?128:4,Tn=(0,(N||P()).promisify)((x||C()).default.symlink),Kt=t(7),sn=t(122),tt=()=>{};function Cn(Y,J,U){return a([{src:Y,dest:J}],U)}function Yt(Y,J){return new Promise((U,j)=>{(x||C()).default.readFile(Y,J,function(G,ne){G?j(G):U(ne)})})}function Vn(Y){return Yt(Y,"utf8").then(Mr)}function mo(Y){return Yt(Y,"binary")}function Mr(Y){return Y.replace(/\r\n/g,`
9
+ `)}let go=13,yo=10}),(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPathKey=Re;let n=t(36),s=t(0),i=t(45).default;var o=t(171);let a=o.getCacheDir,u=o.getConfigDir,c=o.getDataDir,p=t(227),m=e.DEPENDENCY_TYPES=["devDependencies","dependencies","optionalDependencies","peerDependencies"],S=e.RESOLUTIONS="resolutions",T=e.MANIFEST_FIELDS=[S,...m],h=e.SUPPORTED_NODE_VERSIONS="^4.8.0 || ^5.7.0 || ^6.2.2 || >=8.0.0",b=e.YARN_REGISTRY="https://registry.yarnpkg.com",$=e.YARN_DOCS="https://yarnpkg.com/en/docs/cli/",D=e.YARN_INSTALLER_SH="https://yarnpkg.com/install.sh",A=e.YARN_INSTALLER_MSI="https://yarnpkg.com/latest.msi",I=e.SELF_UPDATE_VERSION_URL="https://yarnpkg.com/latest-version",w=e.CACHE_VERSION=2,g=e.LOCKFILE_VERSION=1,x=e.NETWORK_CONCURRENCY=8,C=e.NETWORK_TIMEOUT=30*1e3,O=e.CHILD_CONCURRENCY=5,k=e.REQUIRED_PACKAGE_KEYS=["name","version","_uid"];function L(){let Ce=[a()];return process.getuid&&Ce.push(s.join(n.tmpdir(),`.yarn-cache-${process.getuid()}`)),Ce.push(s.join(n.tmpdir(),".yarn-cache")),Ce}let y=e.PREFERRED_MODULE_CACHE_DIRECTORIES=L(),l=e.CONFIG_DIRECTORY=u(),d=e.DATA_DIRECTORY=c(),f=e.LINK_REGISTRY_DIRECTORY=s.join(d,"link"),v=e.GLOBAL_MODULE_DIRECTORY=s.join(d,"global"),E=e.NODE_BIN_PATH=process.execPath,R=e.YARN_BIN_PATH=N();function N(){return p?__filename:s.join(__dirname,"..","bin","yarn.js")}let P=e.NODE_MODULES_FOLDER="node_modules",M=e.NODE_PACKAGE_JSON="package.json",B=e.POSIX_GLOBAL_PREFIX=`${process.env.DESTDIR||""}/usr/local`,z=e.FALLBACK_GLOBAL_PREFIX=s.join(i,".yarn"),Z=e.META_FOLDER=".yarn-meta",H=e.INTEGRITY_FILENAME=".yarn-integrity",F=e.LOCKFILE_FILENAME="yarn.lock",X=e.METADATA_FILENAME=".yarn-metadata.json",q=e.TARBALL_FILENAME=".yarn-tarball.tgz",Q=e.CLEAN_FILENAME=".yarnclean",_=e.NPM_LOCK_FILENAME="package-lock.json",pe=e.NPM_SHRINKWRAP_FILENAME="npm-shrinkwrap.json",ce=e.DEFAULT_INDENT=" ",ke=e.SINGLE_INSTANCE_PORT=31997,Ne=e.SINGLE_INSTANCE_FILENAME=".yarn-single-instance",ot=e.ENV_PATH_KEY=Re(process.platform,process.env);function Re(Ce,at){let Oe="PATH";if(Ce==="win32"){Oe="Path";for(let Et in at)Et.toLowerCase()==="path"&&(Oe=Et)}return Oe}let Ae=e.VERSION_COLOR_SCHEME={major:"red",premajor:"red",minor:"yellow",preminor:"yellow",patch:"green",prepatch:"green",prerelease:"red",unchanged:"white",unknown:"red"}}),(function(r,e,t){"use strict";var n=process.env.NODE_ENV,s=function(i,o,a,u,c,p,m,S){if(n!=="production"&&o===void 0)throw new Error("invariant requires an error message argument");if(!i){var T;if(o===void 0)T=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var h=[a,u,c,p,m,S],b=0;T=new Error(o.replace(/%s/g,function(){return h[b++]})),T.name="Invariant Violation"}throw T.framesToPop=1,T}};r.exports=s}),,(function(r,e){r.exports=require("crypto")}),,(function(r,e){var t=r.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=t)}),(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sortAlpha=s,e.entries=i,e.removePrefix=o,e.removeSuffix=a,e.addSuffix=u,e.hyphenate=c,e.camelCase=p,e.compareSortedArrays=m,e.sleep=S;let n=t(176);function s(T,h){let b=Math.min(T.length,h.length);for(let $=0;$<b;$++){let D=T.charCodeAt($),A=h.charCodeAt($);if(D!==A)return D-A}return T.length-h.length}function i(T){let h=[];if(T)for(let b in T)h.push([b,T[b]]);return h}function o(T,h){return T.startsWith(h)&&(T=T.slice(h.length)),T}function a(T,h){return T.endsWith(h)?T.slice(0,-h.length):T}function u(T,h){return T.endsWith(h)?T:T+h}function c(T){return T.replace(/[A-Z]/g,h=>"-"+h.charAt(0).toLowerCase())}function p(T){return/[A-Z]/.test(T)?null:n(T)}function m(T,h){if(T.length!==h.length)return!1;for(let b=0,$=T.length;b<$;b++)if(T[b]!==h[b])return!1;return!0}function S(T){return new Promise(h=>{setTimeout(h,T)})}}),(function(r,e,t){var n=t(107)("wks"),s=t(111),i=t(11).Symbol,o=typeof i=="function",a=r.exports=function(u){return n[u]||(n[u]=o&&i[u]||(o?i:s)("Symbol."+u))};a.store=n}),(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n;function s(){return n=w(t(1))}var i;function o(){return i=t(81)}Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return w(i||o()).default}});var a;function u(){return a=t(150)}Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return w(a||u()).default}}),e.implodeEntry=l,e.explodeEntry=d;var c;function p(){return c=t(12)}var m;function S(){return m=t(29)}var T;function h(){return T=w(t(81))}var b;function $(){return b=t(6)}var D;function A(){return D=I(t(5))}function I(v){if(v&&v.__esModule)return v;var E={};if(v!=null)for(var R in v)Object.prototype.hasOwnProperty.call(v,R)&&(E[R]=v[R]);return E.default=v,E}function w(v){return v&&v.__esModule?v:{default:v}}let g=t(7),x=t(0),C=t(55);function O(v){return(0,(m||S()).normalizePattern)(v).name}function k(v){return v&&Object.keys(v).length?v:void 0}function L(v){return v.resolved||(v.reference&&v.hash?`${v.reference}#${v.hash}`:null)}function y(v){return v.toString().split(" ").sort().join(" ")}function l(v,E){let R=O(v),N=E.integrity?y(E.integrity):"",P={name:R===E.name?void 0:E.name,version:E.version,uid:E.uid===E.version?void 0:E.uid,resolved:E.resolved,registry:E.registry==="npm"?void 0:E.registry,dependencies:k(E.dependencies),optionalDependencies:k(E.optionalDependencies),permissions:k(E.permissions),prebuiltVariants:k(E.prebuiltVariants)};return N&&(P.integrity=N),P}function d(v,E){E.optionalDependencies=E.optionalDependencies||{},E.dependencies=E.dependencies||{},E.uid=E.uid||E.version,E.permissions=E.permissions||{},E.registry=E.registry||"npm",E.name=E.name||O(v);let R=E.integrity;return R&&R.isIntegrity&&(E.integrity=C.parse(R)),E}class f{constructor({cache:E,source:R,parseResultType:N}={}){this.source=R||"",this.cache=E,this.parseResultType=N}hasEntriesExistWithoutIntegrity(){if(!this.cache)return!1;for(let E in this.cache)if(!/^.*@(file:|http)/.test(E)&&this.cache[E]&&!this.cache[E].integrity)return!0;return!1}static fromDirectory(E,R){return(0,(n||s()).default)(function*(){let N=x.join(E,(b||$()).LOCKFILE_FILENAME),P,M="",B;return(yield(D||A()).exists(N))?(M=yield(D||A()).readFile(N),B=(0,(T||h()).default)(M,N),R&&(B.type==="merge"?R.info(R.lang("lockfileMerged")):B.type==="conflict"&&R.warn(R.lang("lockfileConflict"))),P=B.object):R&&R.info(R.lang("noLockfileFound")),new f({cache:P,source:M,parseResultType:B&&B.type})})()}getLocked(E){let R=this.cache;if(!R)return;let N=E in R&&R[E];if(typeof N=="string")return this.getLocked(N);if(N)return d(E,N),N}removePattern(E){let R=this.cache;R&&delete R[E]}getLockfile(E){let R={},N=new Map,P=Object.keys(E).sort((c||p()).sortAlpha);for(var z=P,M=Array.isArray(z),B=0,z=M?z:z[Symbol.iterator]();;){var Z;if(M){if(B>=z.length)break;Z=z[B++]}else{if(B=z.next(),B.done)break;Z=B.value}let H=Z,F=E[H],X=F._remote,q=F._reference;g(q,"Package is missing a reference"),g(X,"Package is missing a remote");let Q=L(X),_=Q&&N.get(Q);if(_){R[H]=_,!_.name&&O(H)!==F.name&&(_.name=F.name);continue}let pe=l(H,{name:F.name,version:F.version,uid:F._uid,resolved:X.resolved,integrity:X.integrity,registry:X.registry,dependencies:F.dependencies,peerDependencies:F.peerDependencies,optionalDependencies:F.optionalDependencies,permissions:q.permissions,prebuiltVariants:F.prebuiltVariants});R[H]=pe,Q&&N.set(Q,pe)}return R}}e.default=f}),,,(function(r,e){r.exports=require("stream")}),,,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;function n(s={}){if(Array.isArray(s))for(var a=s,i=Array.isArray(a),o=0,a=i?a:a[Symbol.iterator]();;){var u;if(i){if(o>=a.length)break;u=a[o++]}else{if(o=a.next(),o.done)break;u=o.value}n(u)}else if((s!==null&&typeof s=="object"||typeof s=="function")&&(Object.setPrototypeOf(s,null),typeof s=="object"))for(let c in s)n(s[c]);return s}}),,(function(r,e){r.exports=require("assert")}),(function(r,e){var t=r.exports={version:"2.5.7"};typeof __e=="number"&&(__e=t)}),,,,(function(r,e,t){var n=t(34);r.exports=function(s){if(!n(s))throw TypeError(s+" is not an object!");return s}}),,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizePattern=n;function n(s){let i=!1,o="latest",a=s,u=!1;a[0]==="@"&&(u=!0,a=a.slice(1));let c=a.split("@");return c.length>1&&(a=c.shift(),o=c.join("@"),o?i=!0:o="*"),u&&(a=`@${a}`),{name:a,range:o,hasVersion:i}}}),,(function(r,e,t){var n=t(50),s=t(106);r.exports=t(33)?function(i,o,a){return n.f(i,o,s(1,a))}:function(i,o,a){return i[o]=a,i}}),(function(r,e,t){var n=t(63),s=n.Buffer;function i(a,u){for(var c in a)u[c]=a[c]}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?r.exports=n:(i(n,e),e.Buffer=o);function o(a,u,c){return s(a,u,c)}i(s,o),o.from=function(a,u,c){if(typeof a=="number")throw new TypeError("Argument must not be a number");return s(a,u,c)},o.alloc=function(a,u,c){if(typeof a!="number")throw new TypeError("Argument must be a number");var p=s(a);return u!==void 0?typeof c=="string"?p.fill(u,c):p.fill(u):p.fill(0),p},o.allocUnsafe=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return s(a)},o.allocUnsafeSlow=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(a)}}),(function(r,e,t){r.exports=!t(85)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})}),(function(r,e){r.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}}),(function(r,e){r.exports={}}),(function(r,e){r.exports=require("os")}),,,,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wait=n,e.promisify=s,e.queue=i;function n(o){return new Promise(a=>{setTimeout(a,o)})}function s(o,a){return function(...u){return new Promise(function(c,p){u.push(function(m,...S){let T=S;S.length<=1&&(T=S[0]),a&&(T=m,m=null),m?p(m):c(T)}),o.apply(null,u)})}}function i(o,a,u=1/0){u=Math.min(u,o.length),o=o.slice();let c=[],p=o.length;return p?new Promise((m,S)=>{for(let h=0;h<u;h++)T();function T(){let h=o.shift();a(h).then(function($){c.push($),p--,p===0?m(c):o.length&&T()},S)}}):Promise.resolve(c)}}),(function(r,e,t){var n=t(11),s=t(23),i=t(48),o=t(31),a=t(49),u="prototype",c=function(p,m,S){var T=p&c.F,h=p&c.G,b=p&c.S,$=p&c.P,D=p&c.B,A=p&c.W,I=h?s:s[m]||(s[m]={}),w=I[u],g=h?n:b?n[m]:(n[m]||{})[u],x,C,O;h&&(S=m);for(x in S)C=!T&&g&&g[x]!==void 0,!(C&&a(I,x))&&(O=C?g[x]:S[x],I[x]=h&&typeof g[x]!="function"?S[x]:D&&C?i(O,n):A&&g[x]==O?(function(k){var L=function(y,l,d){if(this instanceof k){switch(arguments.length){case 0:return new k;case 1:return new k(y);case 2:return new k(y,l)}return new k(y,l,d)}return k.apply(this,arguments)};return L[u]=k[u],L})(O):$&&typeof O=="function"?i(Function.call,O):O,$&&((I.virtual||(I.virtual={}))[x]=O,p&c.R&&w&&!w[x]&&o(w,x,O)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,r.exports=c}),(function(r,e,t){try{var n=t(2);if(typeof n.inherits!="function")throw"";r.exports=n.inherits}catch{r.exports=t(224)}}),,,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.home=void 0;var n;function s(){return n=i(t(169))}function i(c){return c&&c.__esModule?c:{default:c}}let o=t(0),a=e.home=t(36).homedir(),u=(n||s()).default?o.resolve("/usr/local/share"):a;e.default=u}),(function(r,e){r.exports=function(t){if(typeof t!="function")throw TypeError(t+" is not a function!");return t}}),(function(r,e){var t={}.toString;r.exports=function(n){return t.call(n).slice(8,-1)}}),(function(r,e,t){var n=t(46);r.exports=function(s,i,o){if(n(s),i===void 0)return s;switch(o){case 1:return function(a){return s.call(i,a)};case 2:return function(a,u){return s.call(i,a,u)};case 3:return function(a,u,c){return s.call(i,a,u,c)}}return function(){return s.apply(i,arguments)}}}),(function(r,e){var t={}.hasOwnProperty;r.exports=function(n,s){return t.call(n,s)}}),(function(r,e,t){var n=t(27),s=t(184),i=t(201),o=Object.defineProperty;e.f=t(33)?Object.defineProperty:function(u,c,p){if(n(u),c=i(c,!0),n(p),s)try{return o(u,c,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported!");return"value"in p&&(u[c]=p.value),u}}),,,,(function(r,e){r.exports=require("events")}),(function(r,e,t){"use strict";let n=t(32).Buffer,s=t(9),i=t(17).Transform,o=["sha256","sha384","sha512"],a=/^[a-z0-9+/]+(?:=?=?)$/i,u=/^([^-]+)-([^?]+)([?\S*]*)$/,c=/^([^-]+)-([A-Za-z0-9+/=]{44,88})(\?[\x21-\x7E]*)*$/,p=/^[\x21-\x7E]+$/;class m{get isHash(){return!0}constructor(y,l){let d=!!(l&&l.strict);this.source=y.trim();let f=this.source.match(d?c:u);if(!f||d&&!o.some(E=>E===f[1]))return;this.algorithm=f[1],this.digest=f[2];let v=f[3];this.options=v?v.slice(1).split("?"):[]}hexDigest(){return this.digest&&n.from(this.digest,"base64").toString("hex")}toJSON(){return this.toString()}toString(y){if(y&&y.strict&&!(o.some(d=>d===this.algorithm)&&this.digest.match(a)&&(this.options||[]).every(d=>d.match(p))))return"";let l=this.options&&this.options.length?`?${this.options.join("?")}`:"";return`${this.algorithm}-${this.digest}${l}`}}class S{get isIntegrity(){return!0}toJSON(){return this.toString()}toString(y){y=y||{};let l=y.sep||" ";return y.strict&&(l=l.replace(/\S+/g," ")),Object.keys(this).map(d=>this[d].map(f=>m.prototype.toString.call(f,y)).filter(f=>f.length).join(l)).filter(d=>d.length).join(l)}concat(y,l){let d=typeof y=="string"?y:b(y,l);return T(`${this.toString(l)} ${d}`,l)}hexDigest(){return T(this,{single:!0}).hexDigest()}match(y,l){let d=T(y,l),f=d.pickAlgorithm(l);return this[f]&&d[f]&&this[f].find(v=>d[f].find(E=>v.digest===E.digest))||!1}pickAlgorithm(y){let l=y&&y.pickAlgorithm||k,d=Object.keys(this);if(!d.length)throw new Error(`No algorithms available for ${JSON.stringify(this.toString())}`);return d.reduce((f,v)=>l(f,v)||f)}}r.exports.parse=T;function T(L,y){if(y=y||{},typeof L=="string")return h(L,y);if(L.algorithm&&L.digest){let l=new S;return l[L.algorithm]=[L],h(b(l,y),y)}else return h(b(L,y),y)}function h(L,y){return y.single?new m(L,y):L.trim().split(/\s+/).reduce((l,d)=>{let f=new m(d,y);if(f.algorithm&&f.digest){let v=f.algorithm;l[v]||(l[v]=[]),l[v].push(f)}return l},new S)}r.exports.stringify=b;function b(L,y){return L.algorithm&&L.digest?m.prototype.toString.call(L,y):typeof L=="string"?b(T(L,y),y):S.prototype.toString.call(L,y)}r.exports.fromHex=$;function $(L,y,l){let d=l&&l.options&&l.options.length?`?${l.options.join("?")}`:"";return T(`${y}-${n.from(L,"hex").toString("base64")}${d}`,l)}r.exports.fromData=D;function D(L,y){y=y||{};let l=y.algorithms||["sha512"],d=y.options&&y.options.length?`?${y.options.join("?")}`:"";return l.reduce((f,v)=>{let E=s.createHash(v).update(L).digest("base64"),R=new m(`${v}-${E}${d}`,y);if(R.algorithm&&R.digest){let N=R.algorithm;f[N]||(f[N]=[]),f[N].push(R)}return f},new S)}r.exports.fromStream=A;function A(L,y){y=y||{};let l=y.Promise||Promise,d=g(y);return new l((f,v)=>{L.pipe(d),L.on("error",v),d.on("error",v);let E;d.on("integrity",R=>{E=R}),d.on("end",()=>f(E)),d.on("data",()=>{})})}r.exports.checkData=I;function I(L,y,l){if(l=l||{},y=T(y,l),!Object.keys(y).length){if(l.error)throw Object.assign(new Error("No valid integrity hashes to check against"),{code:"EINTEGRITY"});return!1}let d=y.pickAlgorithm(l),f=s.createHash(d).update(L).digest("base64"),v=T({algorithm:d,digest:f}),E=v.match(y,l);if(E||!l.error)return E;if(typeof l.size=="number"&&L.length!==l.size){let R=new Error(`data size mismatch when checking ${y}.
10
10
  Wanted: ${l.size}
11
11
  Found: ${L.length}`);throw R.code="EBADSIZE",R.found=L.length,R.expected=l.size,R.sri=y,R}else{let R=new Error(`Integrity checksum failed when using ${d}: Wanted ${y}, but got ${v}. (${L.length} bytes)`);throw R.code="EINTEGRITY",R.found=v,R.expected=y,R.algorithm=d,R.sri=y,R}}r.exports.checkStream=w;function w(L,y,l){l=l||{};let d=l.Promise||Promise,f=g(Object.assign({},l,{integrity:y}));return new d((v,E)=>{L.pipe(f),L.on("error",E),f.on("error",E);let R;f.on("verified",N=>{R=N}),f.on("end",()=>v(R)),f.on("data",()=>{})})}r.exports.integrityStream=g;function g(L){L=L||{};let y=L.integrity&&T(L.integrity,L),l=y&&Object.keys(y).length,d=l&&y.pickAlgorithm(L),f=l&&y[d],v=Array.from(new Set((L.algorithms||["sha512"]).concat(d?[d]:[]))),E=v.map(s.createHash),R=0,N=new i({transform(P,M,B){R+=P.length,E.forEach(z=>z.update(P,M)),B(null,P,M)}}).on("end",()=>{let P=L.options&&L.options.length?`?${L.options.join("?")}`:"",M=T(E.map((z,Z)=>`${v[Z]}-${z.digest("base64")}${P}`).join(" "),L),B=l&&M.match(y,L);if(typeof L.size=="number"&&R!==L.size){let z=new Error(`stream size mismatch when checking ${y}.
12
12
  Wanted: ${L.size}
13
- Found: ${R}`);z.code="EBADSIZE",z.found=R,z.expected=L.size,z.sri=y,N.emit("error",z)}else if(L.integrity&&!B){let z=new Error(`${y} integrity checksum failed when using ${d}: wanted ${f} but got ${M}. (${R} bytes)`);z.code="EINTEGRITY",z.found=M,z.expected=f,z.algorithm=d,z.sri=y,N.emit("error",z)}else N.emit("size",R),N.emit("integrity",M),B&&N.emit("verified",B)});return N}r.exports.create=x;function x(L){L=L||{};let y=L.algorithms||["sha512"],l=L.options&&L.options.length?`?${L.options.join("?")}`:"",d=y.map(s.createHash);return{update:function(f,v){return d.forEach(E=>E.update(f,v)),this},digest:function(f){return y.reduce((E,R)=>{let N=d.shift().digest("base64"),P=new h(`${R}-${N}${l}`,L);if(P.algorithm&&P.digest){let M=P.algorithm;E[M]||(E[M]=[]),E[M].push(P)}return E},new S)}}}let C=new Set(s.getHashes()),O=["md5","whirlpool","sha1","sha224","sha256","sha384","sha512","sha3","sha3-256","sha3-384","sha3-512","sha3_256","sha3_384","sha3_512"].filter(L=>C.has(L));function k(L,y){return O.indexOf(L.toLowerCase())>=O.indexOf(y.toLowerCase())?L:y}}),,,,,(function(r,e,t){r.exports=$,$.Minimatch=D;var n={sep:"/"};try{n=t(0)}catch{}var s=$.GLOBSTAR=D.GLOBSTAR={},i=t(175),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="[^/]",u=a+"*?",c="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",p="(?:(?!(?:\\/|^)\\.).)*?",h=S("().*{}+?[]^$\\!");function S(y){return y.split("").reduce(function(l,d){return l[d]=!0,l},{})}var T=/\/+/;$.filter=m;function m(y,l){return l=l||{},function(d,f,v){return $(d,y,l)}}function b(y,l){y=y||{},l=l||{};var d={};return Object.keys(l).forEach(function(f){d[f]=l[f]}),Object.keys(y).forEach(function(f){d[f]=y[f]}),d}$.defaults=function(y){if(!y||!Object.keys(y).length)return $;var l=$,d=function(v,E,R){return l.minimatch(v,E,b(y,R))};return d.Minimatch=function(v,E){return new l.Minimatch(v,b(y,E))},d},D.defaults=function(y){return!y||!Object.keys(y).length?D:$.defaults(y).Minimatch};function $(y,l,d){if(typeof l!="string")throw new TypeError("glob pattern string required");return d||(d={}),!d.nocomment&&l.charAt(0)==="#"?!1:l.trim()===""?y==="":new D(l,d).match(y)}function D(y,l){if(!(this instanceof D))return new D(y,l);if(typeof y!="string")throw new TypeError("glob pattern string required");l||(l={}),y=y.trim(),n.sep!=="/"&&(y=y.split(n.sep).join("/")),this.options=l,this.set=[],this.pattern=y,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}D.prototype.debug=function(){},D.prototype.make=A;function A(){if(!this._made){var y=this.pattern,l=this.options;if(!l.nocomment&&y.charAt(0)==="#"){this.comment=!0;return}if(!y){this.empty=!0;return}this.parseNegate();var d=this.globSet=this.braceExpand();l.debug&&(this.debug=console.error),this.debug(this.pattern,d),d=this.globParts=d.map(function(f){return f.split(T)}),this.debug(this.pattern,d),d=d.map(function(f,v,E){return f.map(this.parse,this)},this),this.debug(this.pattern,d),d=d.filter(function(f){return f.indexOf(!1)===-1}),this.debug(this.pattern,d),this.set=d}}D.prototype.parseNegate=I;function I(){var y=this.pattern,l=!1,d=this.options,f=0;if(!d.nonegate){for(var v=0,E=y.length;v<E&&y.charAt(v)==="!";v++)l=!l,f++;f&&(this.pattern=y.substr(f)),this.negate=l}}$.braceExpand=function(y,l){return w(y,l)},D.prototype.braceExpand=w;function w(y,l){if(l||(this instanceof D?l=this.options:l={}),y=typeof y>"u"?this.pattern:y,typeof y>"u")throw new TypeError("undefined pattern");return l.nobrace||!y.match(/\{.*\}/)?[y]:i(y)}D.prototype.parse=x;var g={};function x(y,l){if(y.length>1024*64)throw new TypeError("pattern is too long");var d=this.options;if(!d.noglobstar&&y==="**")return s;if(y==="")return"";var f="",v=!!d.nocase,E=!1,R=[],N=[],P,M=!1,B=-1,z=-1,Z=y.charAt(0)==="."?"":d.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",H=this;function F(){if(P){switch(P){case"*":f+=u,v=!0;break;case"?":f+=a,v=!0;break;default:f+="\\"+P;break}H.debug("clearStateChar %j %j",P,f),P=!1}}for(var X=0,q=y.length,Q;X<q&&(Q=y.charAt(X));X++){if(this.debug("%s %s %s %j",y,X,f,Q),E&&h[Q]){f+="\\"+Q,E=!1;continue}switch(Q){case"/":return!1;case"\\":F(),E=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",y,X,f,Q),M){this.debug(" in class"),Q==="!"&&X===z+1&&(Q="^"),f+=Q;continue}H.debug("call clearStateChar %j",P),F(),P=Q,d.noext&&F();continue;case"(":if(M){f+="(";continue}if(!P){f+="\\(";continue}R.push({type:P,start:X-1,reStart:f.length,open:o[P].open,close:o[P].close}),f+=P==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",P,f),P=!1;continue;case")":if(M||!R.length){f+="\\)";continue}F(),v=!0;var _=R.pop();f+=_.close,_.type==="!"&&N.push(_),_.reEnd=f.length;continue;case"|":if(M||!R.length||E){f+="\\|",E=!1;continue}F(),f+="|";continue;case"[":if(F(),M){f+="\\"+Q;continue}M=!0,z=X,B=f.length,f+=Q;continue;case"]":if(X===z+1||!M){f+="\\"+Q,E=!1;continue}if(M){var pe=y.substring(z+1,X);try{RegExp("["+pe+"]")}catch{var ce=this.parse(pe,g);f=f.substr(0,B)+"\\["+ce[0]+"\\]",v=v||ce[1],M=!1;continue}}v=!0,M=!1,f+=Q;continue;default:F(),E?E=!1:h[Q]&&!(Q==="^"&&M)&&(f+="\\"),f+=Q}}for(M&&(pe=y.substr(z+1),ce=this.parse(pe,g),f=f.substr(0,B)+"\\["+ce[0],v=v||ce[1]),_=R.pop();_;_=R.pop()){var ke=f.slice(_.reStart+_.open.length);this.debug("setting tail",f,_),ke=ke.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(tt,Cn,Yt){return Yt||(Yt="\\"),Cn+Cn+Yt+"|"}),this.debug(`tail=%j
13
+ Found: ${R}`);z.code="EBADSIZE",z.found=R,z.expected=L.size,z.sri=y,N.emit("error",z)}else if(L.integrity&&!B){let z=new Error(`${y} integrity checksum failed when using ${d}: wanted ${f} but got ${M}. (${R} bytes)`);z.code="EINTEGRITY",z.found=M,z.expected=f,z.algorithm=d,z.sri=y,N.emit("error",z)}else N.emit("size",R),N.emit("integrity",M),B&&N.emit("verified",B)});return N}r.exports.create=x;function x(L){L=L||{};let y=L.algorithms||["sha512"],l=L.options&&L.options.length?`?${L.options.join("?")}`:"",d=y.map(s.createHash);return{update:function(f,v){return d.forEach(E=>E.update(f,v)),this},digest:function(f){return y.reduce((E,R)=>{let N=d.shift().digest("base64"),P=new m(`${R}-${N}${l}`,L);if(P.algorithm&&P.digest){let M=P.algorithm;E[M]||(E[M]=[]),E[M].push(P)}return E},new S)}}}let C=new Set(s.getHashes()),O=["md5","whirlpool","sha1","sha224","sha256","sha384","sha512","sha3","sha3-256","sha3-384","sha3-512","sha3_256","sha3_384","sha3_512"].filter(L=>C.has(L));function k(L,y){return O.indexOf(L.toLowerCase())>=O.indexOf(y.toLowerCase())?L:y}}),,,,,(function(r,e,t){r.exports=$,$.Minimatch=D;var n={sep:"/"};try{n=t(0)}catch{}var s=$.GLOBSTAR=D.GLOBSTAR={},i=t(175),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="[^/]",u=a+"*?",c="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",p="(?:(?!(?:\\/|^)\\.).)*?",m=S("().*{}+?[]^$\\!");function S(y){return y.split("").reduce(function(l,d){return l[d]=!0,l},{})}var T=/\/+/;$.filter=h;function h(y,l){return l=l||{},function(d,f,v){return $(d,y,l)}}function b(y,l){y=y||{},l=l||{};var d={};return Object.keys(l).forEach(function(f){d[f]=l[f]}),Object.keys(y).forEach(function(f){d[f]=y[f]}),d}$.defaults=function(y){if(!y||!Object.keys(y).length)return $;var l=$,d=function(v,E,R){return l.minimatch(v,E,b(y,R))};return d.Minimatch=function(v,E){return new l.Minimatch(v,b(y,E))},d},D.defaults=function(y){return!y||!Object.keys(y).length?D:$.defaults(y).Minimatch};function $(y,l,d){if(typeof l!="string")throw new TypeError("glob pattern string required");return d||(d={}),!d.nocomment&&l.charAt(0)==="#"?!1:l.trim()===""?y==="":new D(l,d).match(y)}function D(y,l){if(!(this instanceof D))return new D(y,l);if(typeof y!="string")throw new TypeError("glob pattern string required");l||(l={}),y=y.trim(),n.sep!=="/"&&(y=y.split(n.sep).join("/")),this.options=l,this.set=[],this.pattern=y,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}D.prototype.debug=function(){},D.prototype.make=A;function A(){if(!this._made){var y=this.pattern,l=this.options;if(!l.nocomment&&y.charAt(0)==="#"){this.comment=!0;return}if(!y){this.empty=!0;return}this.parseNegate();var d=this.globSet=this.braceExpand();l.debug&&(this.debug=console.error),this.debug(this.pattern,d),d=this.globParts=d.map(function(f){return f.split(T)}),this.debug(this.pattern,d),d=d.map(function(f,v,E){return f.map(this.parse,this)},this),this.debug(this.pattern,d),d=d.filter(function(f){return f.indexOf(!1)===-1}),this.debug(this.pattern,d),this.set=d}}D.prototype.parseNegate=I;function I(){var y=this.pattern,l=!1,d=this.options,f=0;if(!d.nonegate){for(var v=0,E=y.length;v<E&&y.charAt(v)==="!";v++)l=!l,f++;f&&(this.pattern=y.substr(f)),this.negate=l}}$.braceExpand=function(y,l){return w(y,l)},D.prototype.braceExpand=w;function w(y,l){if(l||(this instanceof D?l=this.options:l={}),y=typeof y>"u"?this.pattern:y,typeof y>"u")throw new TypeError("undefined pattern");return l.nobrace||!y.match(/\{.*\}/)?[y]:i(y)}D.prototype.parse=x;var g={};function x(y,l){if(y.length>1024*64)throw new TypeError("pattern is too long");var d=this.options;if(!d.noglobstar&&y==="**")return s;if(y==="")return"";var f="",v=!!d.nocase,E=!1,R=[],N=[],P,M=!1,B=-1,z=-1,Z=y.charAt(0)==="."?"":d.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",H=this;function F(){if(P){switch(P){case"*":f+=u,v=!0;break;case"?":f+=a,v=!0;break;default:f+="\\"+P;break}H.debug("clearStateChar %j %j",P,f),P=!1}}for(var X=0,q=y.length,Q;X<q&&(Q=y.charAt(X));X++){if(this.debug("%s %s %s %j",y,X,f,Q),E&&m[Q]){f+="\\"+Q,E=!1;continue}switch(Q){case"/":return!1;case"\\":F(),E=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",y,X,f,Q),M){this.debug(" in class"),Q==="!"&&X===z+1&&(Q="^"),f+=Q;continue}H.debug("call clearStateChar %j",P),F(),P=Q,d.noext&&F();continue;case"(":if(M){f+="(";continue}if(!P){f+="\\(";continue}R.push({type:P,start:X-1,reStart:f.length,open:o[P].open,close:o[P].close}),f+=P==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",P,f),P=!1;continue;case")":if(M||!R.length){f+="\\)";continue}F(),v=!0;var _=R.pop();f+=_.close,_.type==="!"&&N.push(_),_.reEnd=f.length;continue;case"|":if(M||!R.length||E){f+="\\|",E=!1;continue}F(),f+="|";continue;case"[":if(F(),M){f+="\\"+Q;continue}M=!0,z=X,B=f.length,f+=Q;continue;case"]":if(X===z+1||!M){f+="\\"+Q,E=!1;continue}if(M){var pe=y.substring(z+1,X);try{RegExp("["+pe+"]")}catch{var ce=this.parse(pe,g);f=f.substr(0,B)+"\\["+ce[0]+"\\]",v=v||ce[1],M=!1;continue}}v=!0,M=!1,f+=Q;continue;default:F(),E?E=!1:m[Q]&&!(Q==="^"&&M)&&(f+="\\"),f+=Q}}for(M&&(pe=y.substr(z+1),ce=this.parse(pe,g),f=f.substr(0,B)+"\\["+ce[0],v=v||ce[1]),_=R.pop();_;_=R.pop()){var ke=f.slice(_.reStart+_.open.length);this.debug("setting tail",f,_),ke=ke.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(tt,Cn,Yt){return Yt||(Yt="\\"),Cn+Cn+Yt+"|"}),this.debug(`tail=%j
14
14
  %s`,ke,ke,_,f);var Ne=_.type==="*"?u:_.type==="?"?a:"\\"+_.type;v=!0,f=f.slice(0,_.reStart)+Ne+"\\("+ke}F(),E&&(f+="\\\\");var ot=!1;switch(f.charAt(0)){case".":case"[":case"(":ot=!0}for(var Re=N.length-1;Re>-1;Re--){var Ae=N[Re],Ce=f.slice(0,Ae.reStart),at=f.slice(Ae.reStart,Ae.reEnd-8),Oe=f.slice(Ae.reEnd-8,Ae.reEnd),Et=f.slice(Ae.reEnd);Oe+=Et;var $n=Ce.split("(").length-1,xn=Et;for(X=0;X<$n;X++)xn=xn.replace(/\)[+*?]?/,"");Et=xn;var Ft="";Et===""&&l!==g&&(Ft="$");var Tn=Ce+at+Et+Ft+Oe;f=Tn}if(f!==""&&v&&(f="(?=.)"+f),ot&&(f=Z+f),l===g)return[f,v];if(!v)return k(y);var Kt=d.nocase?"i":"";try{var sn=new RegExp("^"+f+"$",Kt)}catch{return new RegExp("$.")}return sn._glob=y,sn._src=f,sn}$.makeRe=function(y,l){return new D(y,l||{}).makeRe()},D.prototype.makeRe=C;function C(){if(this.regexp||this.regexp===!1)return this.regexp;var y=this.set;if(!y.length)return this.regexp=!1,this.regexp;var l=this.options,d=l.noglobstar?u:l.dot?c:p,f=l.nocase?"i":"",v=y.map(function(E){return E.map(function(R){return R===s?d:typeof R=="string"?L(R):R._src}).join("\\/")}).join("|");v="^(?:"+v+")$",this.negate&&(v="^(?!"+v+").*$");try{this.regexp=new RegExp(v,f)}catch{this.regexp=!1}return this.regexp}$.match=function(y,l,d){d=d||{};var f=new D(l,d);return y=y.filter(function(v){return f.match(v)}),f.options.nonull&&!y.length&&y.push(l),y},D.prototype.match=O;function O(y,l){if(this.debug("match",y,this.pattern),this.comment)return!1;if(this.empty)return y==="";if(y==="/"&&l)return!0;var d=this.options;n.sep!=="/"&&(y=y.split(n.sep).join("/")),y=y.split(T),this.debug(this.pattern,"split",y);var f=this.set;this.debug(this.pattern,"set",f);var v,E;for(E=y.length-1;E>=0&&(v=y[E],!v);E--);for(E=0;E<f.length;E++){var R=f[E],N=y;d.matchBase&&R.length===1&&(N=[v]);var P=this.matchOne(N,R,l);if(P)return d.flipNegate?!0:!this.negate}return d.flipNegate?!1:this.negate}D.prototype.matchOne=function(y,l,d){var f=this.options;this.debug("matchOne",{this:this,file:y,pattern:l}),this.debug("matchOne",y.length,l.length);for(var v=0,E=0,R=y.length,N=l.length;v<R&&E<N;v++,E++){this.debug("matchOne loop");var P=l[E],M=y[v];if(this.debug(l,P,M),P===!1)return!1;if(P===s){this.debug("GLOBSTAR",[l,P,M]);var B=v,z=E+1;if(z===N){for(this.debug("** at the end");v<R;v++)if(y[v]==="."||y[v]===".."||!f.dot&&y[v].charAt(0)===".")return!1;return!0}for(;B<R;){var Z=y[B];if(this.debug(`
15
15
  globstar while`,y,B,l,z,Z),this.matchOne(y.slice(B),l.slice(z),d))return this.debug("globstar found match!",B,R,Z),!0;if(Z==="."||Z===".."||!f.dot&&Z.charAt(0)==="."){this.debug("dot detected!",y,B,l,z);break}this.debug("globstar swallow a segment, and continue"),B++}return!!(d&&(this.debug(`
16
- >>> no match, partial?`,y,B,l,z),B===R))}var H;if(typeof P=="string"?(f.nocase?H=M.toLowerCase()===P.toLowerCase():H=M===P,this.debug("string match",P,M,H)):(H=M.match(P),this.debug("pattern match",P,M,H)),!H)return!1}if(v===R&&E===N)return!0;if(v===R)return d;if(E===N){var F=v===R-1&&y[v]==="";return F}throw new Error("wtf?")};function k(y){return y.replace(/\\(.)/g,"$1")}function L(y){return y.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}}),(function(r,e,t){var n=t(123);r.exports=n(s),r.exports.strict=n(i),s.proto=s(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return s(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return i(this)},configurable:!0})});function s(o){var a=function(){return a.called?a.value:(a.called=!0,a.value=o.apply(this,arguments))};return a.called=!1,a}function i(o){var a=function(){if(a.called)throw new Error(a.onceError);return a.called=!0,a.value=o.apply(this,arguments)},u=o.name||"Function wrapped with `once`";return a.onceError=u+" shouldn't be called more than once",a.called=!1,a}}),,(function(r,e){r.exports=require("buffer")}),,,,(function(r,e){r.exports=function(t){if(t==null)throw TypeError("Can't call method on "+t);return t}}),(function(r,e,t){var n=t(34),s=t(11).document,i=n(s)&&n(s.createElement);r.exports=function(o){return i?s.createElement(o):{}}}),(function(r,e){r.exports=!0}),(function(r,e,t){"use strict";var n=t(46);function s(i){var o,a;this.promise=new i(function(u,c){if(o!==void 0||a!==void 0)throw TypeError("Bad Promise constructor");o=u,a=c}),this.resolve=n(o),this.reject=n(a)}r.exports.f=function(i){return new s(i)}}),(function(r,e,t){var n=t(50).f,s=t(49),i=t(13)("toStringTag");r.exports=function(o,a,u){o&&!s(o=u?o:o.prototype,i)&&n(o,i,{configurable:!0,value:a})}}),(function(r,e,t){var n=t(107)("keys"),s=t(111);r.exports=function(i){return n[i]||(n[i]=s(i))}}),(function(r,e){var t=Math.ceil,n=Math.floor;r.exports=function(s){return isNaN(s=+s)?0:(s>0?n:t)(s)}}),(function(r,e,t){var n=t(131),s=t(67);r.exports=function(i){return n(s(i))}}),(function(r,e,t){r.exports=C;var n=t(3),s=t(114),i=t(60),o=i.Minimatch,a=t(42),u=t(54).EventEmitter,c=t(0),p=t(22),h=t(76),S=t(218),T=t(115),m=T.alphasort,b=T.alphasorti,$=T.setopts,D=T.ownProp,A=t(223),I=t(2),w=T.childrenIgnored,g=T.isIgnored,x=t(61);function C(l,d,f){if(typeof d=="function"&&(f=d,d={}),d||(d={}),d.sync){if(f)throw new TypeError("callback provided to sync glob");return S(l,d)}return new L(l,d,f)}C.sync=S;var O=C.GlobSync=S.GlobSync;C.glob=C;function k(l,d){if(d===null||typeof d!="object")return l;for(var f=Object.keys(d),v=f.length;v--;)l[f[v]]=d[f[v]];return l}C.hasMagic=function(l,d){var f=k({},d);f.noprocess=!0;var v=new L(l,f),E=v.minimatch.set;if(!l)return!1;if(E.length>1)return!0;for(var R=0;R<E[0].length;R++)if(typeof E[0][R]!="string")return!0;return!1},C.Glob=L,a(L,u);function L(l,d,f){if(typeof d=="function"&&(f=d,d=null),d&&d.sync){if(f)throw new TypeError("callback provided to sync glob");return new O(l,d)}if(!(this instanceof L))return new L(l,d,f);$(this,l,d),this._didRealPath=!1;var v=this.minimatch.set.length;this.matches=new Array(v),typeof f=="function"&&(f=x(f),this.on("error",f),this.on("end",function(M){f(null,M)}));var E=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(v===0)return P();for(var R=!0,N=0;N<v;N++)this._process(this.minimatch.set[N],N,!1,P);R=!1;function P(){--E._processing,E._processing<=0&&(R?process.nextTick(function(){E._finish()}):E._finish())}}L.prototype._finish=function(){if(p(this instanceof L),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();T.finish(this),this.emit("end",this.found)}},L.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var l=this.matches.length;if(l===0)return this._finish();for(var d=this,f=0;f<this.matches.length;f++)this._realpathSet(f,v);function v(){--l===0&&d._finish()}},L.prototype._realpathSet=function(l,d){var f=this.matches[l];if(!f)return d();var v=Object.keys(f),E=this,R=v.length;if(R===0)return d();var N=this.matches[l]=Object.create(null);v.forEach(function(P,M){P=E._makeAbs(P),s.realpath(P,E.realpathCache,function(B,z){B?B.syscall==="stat"?N[P]=!0:E.emit("error",B):N[z]=!0,--R===0&&(E.matches[l]=N,d())})})},L.prototype._mark=function(l){return T.mark(this,l)},L.prototype._makeAbs=function(l){return T.makeAbs(this,l)},L.prototype.abort=function(){this.aborted=!0,this.emit("abort")},L.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},L.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var l=this._emitQueue.slice(0);this._emitQueue.length=0;for(var d=0;d<l.length;d++){var f=l[d];this._emitMatch(f[0],f[1])}}if(this._processQueue.length){var v=this._processQueue.slice(0);this._processQueue.length=0;for(var d=0;d<v.length;d++){var E=v[d];this._processing--,this._process(E[0],E[1],E[2],E[3])}}}},L.prototype._process=function(l,d,f,v){if(p(this instanceof L),p(typeof v=="function"),!this.aborted){if(this._processing++,this.paused){this._processQueue.push([l,d,f,v]);return}for(var E=0;typeof l[E]=="string";)E++;var R;switch(E){case l.length:this._processSimple(l.join("/"),d,v);return;case 0:R=null;break;default:R=l.slice(0,E).join("/");break}var N=l.slice(E),P;R===null?P=".":((h(R)||h(l.join("/")))&&(!R||!h(R))&&(R="/"+R),P=R);var M=this._makeAbs(P);if(w(this,P))return v();var B=N[0]===i.GLOBSTAR;B?this._processGlobStar(R,P,M,N,d,f,v):this._processReaddir(R,P,M,N,d,f,v)}},L.prototype._processReaddir=function(l,d,f,v,E,R,N){var P=this;this._readdir(f,R,function(M,B){return P._processReaddir2(l,d,f,v,E,R,B,N)})},L.prototype._processReaddir2=function(l,d,f,v,E,R,N,P){if(!N)return P();for(var M=v[0],B=!!this.minimatch.negate,z=M._glob,Z=this.dot||z.charAt(0)===".",H=[],F=0;F<N.length;F++){var X=N[F];if(X.charAt(0)!=="."||Z){var q;B&&!l?q=!X.match(M):q=X.match(M),q&&H.push(X)}}var Q=H.length;if(Q===0)return P();if(v.length===1&&!this.mark&&!this.stat){this.matches[E]||(this.matches[E]=Object.create(null));for(var F=0;F<Q;F++){var X=H[F];l&&(l!=="/"?X=l+"/"+X:X=l+X),X.charAt(0)==="/"&&!this.nomount&&(X=c.join(this.root,X)),this._emitMatch(E,X)}return P()}v.shift();for(var F=0;F<Q;F++){var X=H[F],_;l&&(l!=="/"?X=l+"/"+X:X=l+X),this._process([X].concat(v),E,R,P)}P()},L.prototype._emitMatch=function(l,d){if(!this.aborted&&!g(this,d)){if(this.paused){this._emitQueue.push([l,d]);return}var f=h(d)?d:this._makeAbs(d);if(this.mark&&(d=this._mark(d)),this.absolute&&(d=f),!this.matches[l][d]){if(this.nodir){var v=this.cache[f];if(v==="DIR"||Array.isArray(v))return}this.matches[l][d]=!0;var E=this.statCache[f];E&&this.emit("stat",d,E),this.emit("match",d)}}},L.prototype._readdirInGlobStar=function(l,d){if(this.aborted)return;if(this.follow)return this._readdir(l,!1,d);var f="lstat\0"+l,v=this,E=A(f,R);E&&n.lstat(l,E);function R(N,P){if(N&&N.code==="ENOENT")return d();var M=P&&P.isSymbolicLink();v.symlinks[l]=M,!M&&P&&!P.isDirectory()?(v.cache[l]="FILE",d()):v._readdir(l,!1,d)}},L.prototype._readdir=function(l,d,f){if(!this.aborted&&(f=A("readdir\0"+l+"\0"+d,f),!!f)){if(d&&!D(this.symlinks,l))return this._readdirInGlobStar(l,f);if(D(this.cache,l)){var v=this.cache[l];if(!v||v==="FILE")return f();if(Array.isArray(v))return f(null,v)}var E=this;n.readdir(l,y(this,l,f))}};function y(l,d,f){return function(v,E){v?l._readdirError(d,v,f):l._readdirEntries(d,E,f)}}L.prototype._readdirEntries=function(l,d,f){if(!this.aborted){if(!this.mark&&!this.stat)for(var v=0;v<d.length;v++){var E=d[v];l==="/"?E=l+E:E=l+"/"+E,this.cache[E]=!0}return this.cache[l]=d,f(null,d)}},L.prototype._readdirError=function(l,d,f){if(!this.aborted){switch(d.code){case"ENOTSUP":case"ENOTDIR":var v=this._makeAbs(l);if(this.cache[v]="FILE",v===this.cwdAbs){var E=new Error(d.code+" invalid cwd "+this.cwd);E.path=this.cwd,E.code=d.code,this.emit("error",E),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(l)]=!1;break;default:this.cache[this._makeAbs(l)]=!1,this.strict&&(this.emit("error",d),this.abort()),this.silent||console.error("glob error",d);break}return f()}},L.prototype._processGlobStar=function(l,d,f,v,E,R,N){var P=this;this._readdir(f,R,function(M,B){P._processGlobStar2(l,d,f,v,E,R,B,N)})},L.prototype._processGlobStar2=function(l,d,f,v,E,R,N,P){if(!N)return P();var M=v.slice(1),B=l?[l]:[],z=B.concat(M);this._process(z,E,!1,P);var Z=this.symlinks[f],H=N.length;if(Z&&R)return P();for(var F=0;F<H;F++){var X=N[F];if(!(X.charAt(0)==="."&&!this.dot)){var q=B.concat(N[F],M);this._process(q,E,!0,P);var Q=B.concat(N[F],v);this._process(Q,E,!0,P)}}P()},L.prototype._processSimple=function(l,d,f){var v=this;this._stat(l,function(E,R){v._processSimple2(l,d,E,R,f)})},L.prototype._processSimple2=function(l,d,f,v,E){if(this.matches[d]||(this.matches[d]=Object.create(null)),!v)return E();if(l&&h(l)&&!this.nomount){var R=/[\/\\]$/.test(l);l.charAt(0)==="/"?l=c.join(this.root,l):(l=c.resolve(this.root,l),R&&(l+="/"))}process.platform==="win32"&&(l=l.replace(/\\/g,"/")),this._emitMatch(d,l),E()},L.prototype._stat=function(l,d){var f=this._makeAbs(l),v=l.slice(-1)==="/";if(l.length>this.maxLength)return d();if(!this.stat&&D(this.cache,f)){var E=this.cache[f];if(Array.isArray(E)&&(E="DIR"),!v||E==="DIR")return d(null,E);if(v&&E==="FILE")return d()}var R,N=this.statCache[f];if(N!==void 0){if(N===!1)return d(null,N);var P=N.isDirectory()?"DIR":"FILE";return v&&P==="FILE"?d():d(null,P,N)}var M=this,B=A("stat\0"+f,z);B&&n.lstat(f,B);function z(Z,H){if(H&&H.isSymbolicLink())return n.stat(f,function(F,X){F?M._stat2(l,f,null,H,d):M._stat2(l,f,F,X,d)});M._stat2(l,f,Z,H,d)}},L.prototype._stat2=function(l,d,f,v,E){if(f&&(f.code==="ENOENT"||f.code==="ENOTDIR"))return this.statCache[d]=!1,E();var R=l.slice(-1)==="/";if(this.statCache[d]=v,d.slice(-1)==="/"&&v&&!v.isDirectory())return E(null,!1,v);var N=!0;return v&&(N=v.isDirectory()?"DIR":"FILE"),this.cache[d]=this.cache[d]||N,R&&N==="FILE"?E():E(null,N,v)}}),(function(r,e,t){"use strict";function n(i){return i.charAt(0)==="/"}function s(i){var o=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,a=o.exec(i),u=a[1]||"",c=!!(u&&u.charAt(1)!==":");return!!(a[2]||c)}r.exports=process.platform==="win32"?s:n,r.exports.posix=n,r.exports.win32=s}),,,(function(r,e){r.exports=require("tty")}),,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f,v="lockfile"){return f=(0,(a||u()).default)(f),y(f)?d(f,v):{type:"success",object:l(f,v)}};var n;function s(){return n=b(t(2))}var i;function o(){return i=b(t(7))}var a;function u(){return a=b(t(122))}var c;function p(){return c=t(6)}var h;function S(){return h=t(4)}var T;function m(){return T=b(t(20))}function b(f){return f&&f.__esModule?f:{default:f}}let $=/^yarn lockfile v(\d+)$/,D={boolean:"BOOLEAN",string:"STRING",identifier:"IDENTIFIER",eof:"EOF",colon:"COLON",newline:"NEWLINE",comment:"COMMENT",indent:"INDENT",invalid:"INVALID",number:"NUMBER",comma:"COMMA"},A=[D.boolean,D.string,D.number];function I(f){return A.indexOf(f.type)>=0}function*w(f){let v=!1,E=1,R=0;function N(P,M){return{line:E,col:R,type:P,value:M}}for(;f.length;){let P=0;if(f[0]===`
16
+ >>> no match, partial?`,y,B,l,z),B===R))}var H;if(typeof P=="string"?(f.nocase?H=M.toLowerCase()===P.toLowerCase():H=M===P,this.debug("string match",P,M,H)):(H=M.match(P),this.debug("pattern match",P,M,H)),!H)return!1}if(v===R&&E===N)return!0;if(v===R)return d;if(E===N){var F=v===R-1&&y[v]==="";return F}throw new Error("wtf?")};function k(y){return y.replace(/\\(.)/g,"$1")}function L(y){return y.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}}),(function(r,e,t){var n=t(123);r.exports=n(s),r.exports.strict=n(i),s.proto=s(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return s(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return i(this)},configurable:!0})});function s(o){var a=function(){return a.called?a.value:(a.called=!0,a.value=o.apply(this,arguments))};return a.called=!1,a}function i(o){var a=function(){if(a.called)throw new Error(a.onceError);return a.called=!0,a.value=o.apply(this,arguments)},u=o.name||"Function wrapped with `once`";return a.onceError=u+" shouldn't be called more than once",a.called=!1,a}}),,(function(r,e){r.exports=require("buffer")}),,,,(function(r,e){r.exports=function(t){if(t==null)throw TypeError("Can't call method on "+t);return t}}),(function(r,e,t){var n=t(34),s=t(11).document,i=n(s)&&n(s.createElement);r.exports=function(o){return i?s.createElement(o):{}}}),(function(r,e){r.exports=!0}),(function(r,e,t){"use strict";var n=t(46);function s(i){var o,a;this.promise=new i(function(u,c){if(o!==void 0||a!==void 0)throw TypeError("Bad Promise constructor");o=u,a=c}),this.resolve=n(o),this.reject=n(a)}r.exports.f=function(i){return new s(i)}}),(function(r,e,t){var n=t(50).f,s=t(49),i=t(13)("toStringTag");r.exports=function(o,a,u){o&&!s(o=u?o:o.prototype,i)&&n(o,i,{configurable:!0,value:a})}}),(function(r,e,t){var n=t(107)("keys"),s=t(111);r.exports=function(i){return n[i]||(n[i]=s(i))}}),(function(r,e){var t=Math.ceil,n=Math.floor;r.exports=function(s){return isNaN(s=+s)?0:(s>0?n:t)(s)}}),(function(r,e,t){var n=t(131),s=t(67);r.exports=function(i){return n(s(i))}}),(function(r,e,t){r.exports=C;var n=t(3),s=t(114),i=t(60),o=i.Minimatch,a=t(42),u=t(54).EventEmitter,c=t(0),p=t(22),m=t(76),S=t(218),T=t(115),h=T.alphasort,b=T.alphasorti,$=T.setopts,D=T.ownProp,A=t(223),I=t(2),w=T.childrenIgnored,g=T.isIgnored,x=t(61);function C(l,d,f){if(typeof d=="function"&&(f=d,d={}),d||(d={}),d.sync){if(f)throw new TypeError("callback provided to sync glob");return S(l,d)}return new L(l,d,f)}C.sync=S;var O=C.GlobSync=S.GlobSync;C.glob=C;function k(l,d){if(d===null||typeof d!="object")return l;for(var f=Object.keys(d),v=f.length;v--;)l[f[v]]=d[f[v]];return l}C.hasMagic=function(l,d){var f=k({},d);f.noprocess=!0;var v=new L(l,f),E=v.minimatch.set;if(!l)return!1;if(E.length>1)return!0;for(var R=0;R<E[0].length;R++)if(typeof E[0][R]!="string")return!0;return!1},C.Glob=L,a(L,u);function L(l,d,f){if(typeof d=="function"&&(f=d,d=null),d&&d.sync){if(f)throw new TypeError("callback provided to sync glob");return new O(l,d)}if(!(this instanceof L))return new L(l,d,f);$(this,l,d),this._didRealPath=!1;var v=this.minimatch.set.length;this.matches=new Array(v),typeof f=="function"&&(f=x(f),this.on("error",f),this.on("end",function(M){f(null,M)}));var E=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(v===0)return P();for(var R=!0,N=0;N<v;N++)this._process(this.minimatch.set[N],N,!1,P);R=!1;function P(){--E._processing,E._processing<=0&&(R?process.nextTick(function(){E._finish()}):E._finish())}}L.prototype._finish=function(){if(p(this instanceof L),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();T.finish(this),this.emit("end",this.found)}},L.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var l=this.matches.length;if(l===0)return this._finish();for(var d=this,f=0;f<this.matches.length;f++)this._realpathSet(f,v);function v(){--l===0&&d._finish()}},L.prototype._realpathSet=function(l,d){var f=this.matches[l];if(!f)return d();var v=Object.keys(f),E=this,R=v.length;if(R===0)return d();var N=this.matches[l]=Object.create(null);v.forEach(function(P,M){P=E._makeAbs(P),s.realpath(P,E.realpathCache,function(B,z){B?B.syscall==="stat"?N[P]=!0:E.emit("error",B):N[z]=!0,--R===0&&(E.matches[l]=N,d())})})},L.prototype._mark=function(l){return T.mark(this,l)},L.prototype._makeAbs=function(l){return T.makeAbs(this,l)},L.prototype.abort=function(){this.aborted=!0,this.emit("abort")},L.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},L.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var l=this._emitQueue.slice(0);this._emitQueue.length=0;for(var d=0;d<l.length;d++){var f=l[d];this._emitMatch(f[0],f[1])}}if(this._processQueue.length){var v=this._processQueue.slice(0);this._processQueue.length=0;for(var d=0;d<v.length;d++){var E=v[d];this._processing--,this._process(E[0],E[1],E[2],E[3])}}}},L.prototype._process=function(l,d,f,v){if(p(this instanceof L),p(typeof v=="function"),!this.aborted){if(this._processing++,this.paused){this._processQueue.push([l,d,f,v]);return}for(var E=0;typeof l[E]=="string";)E++;var R;switch(E){case l.length:this._processSimple(l.join("/"),d,v);return;case 0:R=null;break;default:R=l.slice(0,E).join("/");break}var N=l.slice(E),P;R===null?P=".":((m(R)||m(l.join("/")))&&(!R||!m(R))&&(R="/"+R),P=R);var M=this._makeAbs(P);if(w(this,P))return v();var B=N[0]===i.GLOBSTAR;B?this._processGlobStar(R,P,M,N,d,f,v):this._processReaddir(R,P,M,N,d,f,v)}},L.prototype._processReaddir=function(l,d,f,v,E,R,N){var P=this;this._readdir(f,R,function(M,B){return P._processReaddir2(l,d,f,v,E,R,B,N)})},L.prototype._processReaddir2=function(l,d,f,v,E,R,N,P){if(!N)return P();for(var M=v[0],B=!!this.minimatch.negate,z=M._glob,Z=this.dot||z.charAt(0)===".",H=[],F=0;F<N.length;F++){var X=N[F];if(X.charAt(0)!=="."||Z){var q;B&&!l?q=!X.match(M):q=X.match(M),q&&H.push(X)}}var Q=H.length;if(Q===0)return P();if(v.length===1&&!this.mark&&!this.stat){this.matches[E]||(this.matches[E]=Object.create(null));for(var F=0;F<Q;F++){var X=H[F];l&&(l!=="/"?X=l+"/"+X:X=l+X),X.charAt(0)==="/"&&!this.nomount&&(X=c.join(this.root,X)),this._emitMatch(E,X)}return P()}v.shift();for(var F=0;F<Q;F++){var X=H[F],_;l&&(l!=="/"?X=l+"/"+X:X=l+X),this._process([X].concat(v),E,R,P)}P()},L.prototype._emitMatch=function(l,d){if(!this.aborted&&!g(this,d)){if(this.paused){this._emitQueue.push([l,d]);return}var f=m(d)?d:this._makeAbs(d);if(this.mark&&(d=this._mark(d)),this.absolute&&(d=f),!this.matches[l][d]){if(this.nodir){var v=this.cache[f];if(v==="DIR"||Array.isArray(v))return}this.matches[l][d]=!0;var E=this.statCache[f];E&&this.emit("stat",d,E),this.emit("match",d)}}},L.prototype._readdirInGlobStar=function(l,d){if(this.aborted)return;if(this.follow)return this._readdir(l,!1,d);var f="lstat\0"+l,v=this,E=A(f,R);E&&n.lstat(l,E);function R(N,P){if(N&&N.code==="ENOENT")return d();var M=P&&P.isSymbolicLink();v.symlinks[l]=M,!M&&P&&!P.isDirectory()?(v.cache[l]="FILE",d()):v._readdir(l,!1,d)}},L.prototype._readdir=function(l,d,f){if(!this.aborted&&(f=A("readdir\0"+l+"\0"+d,f),!!f)){if(d&&!D(this.symlinks,l))return this._readdirInGlobStar(l,f);if(D(this.cache,l)){var v=this.cache[l];if(!v||v==="FILE")return f();if(Array.isArray(v))return f(null,v)}var E=this;n.readdir(l,y(this,l,f))}};function y(l,d,f){return function(v,E){v?l._readdirError(d,v,f):l._readdirEntries(d,E,f)}}L.prototype._readdirEntries=function(l,d,f){if(!this.aborted){if(!this.mark&&!this.stat)for(var v=0;v<d.length;v++){var E=d[v];l==="/"?E=l+E:E=l+"/"+E,this.cache[E]=!0}return this.cache[l]=d,f(null,d)}},L.prototype._readdirError=function(l,d,f){if(!this.aborted){switch(d.code){case"ENOTSUP":case"ENOTDIR":var v=this._makeAbs(l);if(this.cache[v]="FILE",v===this.cwdAbs){var E=new Error(d.code+" invalid cwd "+this.cwd);E.path=this.cwd,E.code=d.code,this.emit("error",E),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(l)]=!1;break;default:this.cache[this._makeAbs(l)]=!1,this.strict&&(this.emit("error",d),this.abort()),this.silent||console.error("glob error",d);break}return f()}},L.prototype._processGlobStar=function(l,d,f,v,E,R,N){var P=this;this._readdir(f,R,function(M,B){P._processGlobStar2(l,d,f,v,E,R,B,N)})},L.prototype._processGlobStar2=function(l,d,f,v,E,R,N,P){if(!N)return P();var M=v.slice(1),B=l?[l]:[],z=B.concat(M);this._process(z,E,!1,P);var Z=this.symlinks[f],H=N.length;if(Z&&R)return P();for(var F=0;F<H;F++){var X=N[F];if(!(X.charAt(0)==="."&&!this.dot)){var q=B.concat(N[F],M);this._process(q,E,!0,P);var Q=B.concat(N[F],v);this._process(Q,E,!0,P)}}P()},L.prototype._processSimple=function(l,d,f){var v=this;this._stat(l,function(E,R){v._processSimple2(l,d,E,R,f)})},L.prototype._processSimple2=function(l,d,f,v,E){if(this.matches[d]||(this.matches[d]=Object.create(null)),!v)return E();if(l&&m(l)&&!this.nomount){var R=/[\/\\]$/.test(l);l.charAt(0)==="/"?l=c.join(this.root,l):(l=c.resolve(this.root,l),R&&(l+="/"))}process.platform==="win32"&&(l=l.replace(/\\/g,"/")),this._emitMatch(d,l),E()},L.prototype._stat=function(l,d){var f=this._makeAbs(l),v=l.slice(-1)==="/";if(l.length>this.maxLength)return d();if(!this.stat&&D(this.cache,f)){var E=this.cache[f];if(Array.isArray(E)&&(E="DIR"),!v||E==="DIR")return d(null,E);if(v&&E==="FILE")return d()}var R,N=this.statCache[f];if(N!==void 0){if(N===!1)return d(null,N);var P=N.isDirectory()?"DIR":"FILE";return v&&P==="FILE"?d():d(null,P,N)}var M=this,B=A("stat\0"+f,z);B&&n.lstat(f,B);function z(Z,H){if(H&&H.isSymbolicLink())return n.stat(f,function(F,X){F?M._stat2(l,f,null,H,d):M._stat2(l,f,F,X,d)});M._stat2(l,f,Z,H,d)}},L.prototype._stat2=function(l,d,f,v,E){if(f&&(f.code==="ENOENT"||f.code==="ENOTDIR"))return this.statCache[d]=!1,E();var R=l.slice(-1)==="/";if(this.statCache[d]=v,d.slice(-1)==="/"&&v&&!v.isDirectory())return E(null,!1,v);var N=!0;return v&&(N=v.isDirectory()?"DIR":"FILE"),this.cache[d]=this.cache[d]||N,R&&N==="FILE"?E():E(null,N,v)}}),(function(r,e,t){"use strict";function n(i){return i.charAt(0)==="/"}function s(i){var o=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,a=o.exec(i),u=a[1]||"",c=!!(u&&u.charAt(1)!==":");return!!(a[2]||c)}r.exports=process.platform==="win32"?s:n,r.exports.posix=n,r.exports.win32=s}),,,(function(r,e){r.exports=require("tty")}),,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f,v="lockfile"){return f=(0,(a||u()).default)(f),y(f)?d(f,v):{type:"success",object:l(f,v)}};var n;function s(){return n=b(t(2))}var i;function o(){return i=b(t(7))}var a;function u(){return a=b(t(122))}var c;function p(){return c=t(6)}var m;function S(){return m=t(4)}var T;function h(){return T=b(t(20))}function b(f){return f&&f.__esModule?f:{default:f}}let $=/^yarn lockfile v(\d+)$/,D={boolean:"BOOLEAN",string:"STRING",identifier:"IDENTIFIER",eof:"EOF",colon:"COLON",newline:"NEWLINE",comment:"COMMENT",indent:"INDENT",invalid:"INVALID",number:"NUMBER",comma:"COMMA"},A=[D.boolean,D.string,D.number];function I(f){return A.indexOf(f.type)>=0}function*w(f){let v=!1,E=1,R=0;function N(P,M){return{line:E,col:R,type:P,value:M}}for(;f.length;){let P=0;if(f[0]===`
17
17
  `||f[0]==="\r")P++,f[1]===`
18
18
  `&&P++,E++,R=0,yield N(D.newline);else if(f[0]==="#"){P++;let M="";for(;f[P]!==`
19
19
  `;)M+=f[P],P++;yield N(D.comment,M)}else if(f[0]===" ")if(v){let M="";for(let B=0;f[B]===" ";B++)M+=f[B];if(M.length%2)throw new TypeError("Invalid number of spaces");P=M.length,yield N(D.indent,M.length/2)}else P++;else if(f[0]==='"'){let M="";for(let B=0;;B++){let z=f[B];if(M+=z,B>0&&z==='"'&&!(f[B-1]==="\\"&&f[B-2]!=="\\"))break}P=M.length;try{yield N(D.string,JSON.parse(M))}catch(B){if(B instanceof SyntaxError)yield N(D.invalid);else throw B}}else if(/^[0-9]/.test(f)){let M="";for(let B=0;/^[0-9]$/.test(f[B]);B++)M+=f[B];P=M.length,yield N(D.number,+M)}else if(/^true/.test(f))yield N(D.boolean,!0),P=4;else if(/^false/.test(f))yield N(D.boolean,!1),P=5;else if(f[0]===":")yield N(D.colon),P++;else if(f[0]===",")yield N(D.comma),P++;else if(/^[a-zA-Z\/-]/g.test(f)){let M="";for(let B=0;B<f.length;B++){let z=f[B];if(z===":"||z===" "||z===`
20
20
  `||z==="\r"||z===",")break;M+=z}P=M.length,yield N(D.string,M)}else yield N(D.invalid);P||(yield N(D.invalid)),R+=P,v=f[0]===`
21
21
  `||f[0]==="\r"&&f[1]===`
22
- `,f=f.slice(P)}yield N(D.eof)}class g{constructor(v,E="lockfile"){this.comments=[],this.tokens=w(v),this.fileLoc=E}onComment(v){let E=v.value;(0,(i||o()).default)(typeof E=="string","expected token value to be a string");let R=E.trim(),N=R.match($);if(N){let P=+N[1];if(P>(c||p()).LOCKFILE_VERSION)throw new(h||S()).MessageError(`Can't install from a lockfile of version ${P} as you're on an old yarn version that only supports versions up to ${(c||p()).LOCKFILE_VERSION}. Run \`$ yarn self-update\` to upgrade to the latest version.`)}this.comments.push(R)}next(){let v=this.tokens.next();(0,(i||o()).default)(v,"expected a token");let E=v.done,R=v.value;if(E||!R)throw new Error("No more tokens");return R.type===D.comment?(this.onComment(R),this.next()):this.token=R}unexpected(v="Unexpected token"){throw new SyntaxError(`${v} ${this.token.line}:${this.token.col} in ${this.fileLoc}`)}expect(v){this.token.type===v?this.next():this.unexpected()}eat(v){return this.token.type===v?(this.next(),!0):!1}parse(v=0){let E=(0,(T||m()).default)();for(;;){let F=this.token;if(F.type===D.newline){let X=this.next();if(!v)continue;if(X.type!==D.indent)break;if(X.value===v)this.next();else break}else if(F.type===D.indent)if(F.value===v)this.next();else break;else{if(F.type===D.eof)break;if(F.type===D.string){let X=F.value;(0,(i||o()).default)(X,"Expected a key");let q=[X];for(this.next();this.token.type===D.comma;){this.next();let _=this.token;_.type!==D.string&&this.unexpected("Expected string");let pe=_.value;(0,(i||o()).default)(pe,"Expected a key"),q.push(pe),this.next()}let Q=this.token;if(Q.type===D.colon){this.next();let _=this.parse(v+1);for(var P=q,R=Array.isArray(P),N=0,P=R?P:P[Symbol.iterator]();;){var M;if(R){if(N>=P.length)break;M=P[N++]}else{if(N=P.next(),N.done)break;M=N.value}let pe=M;E[pe]=_}if(v&&this.token.type!==D.indent)break}else if(I(Q)){for(var Z=q,B=Array.isArray(Z),z=0,Z=B?Z:Z[Symbol.iterator]();;){var H;if(B){if(z>=Z.length)break;H=Z[z++]}else{if(z=Z.next(),z.done)break;H=z.value}let _=H;E[_]=Q.value}this.next()}else this.unexpected("Invalid value type")}else this.unexpected(`Unknown token: ${(n||s()).default.inspect(F)}`)}}return E}}let x="|||||||",C=">>>>>>>",O="=======",k="<<<<<<<";function L(f){let v=[[],[]],E=f.split(/\r?\n/g),R=!1;for(;E.length;){let N=E.shift();if(N.startsWith(k)){for(;E.length;){let P=E.shift();if(P===O){R=!1;break}else if(R||P.startsWith(x)){R=!0;continue}else v[0].push(P)}for(;E.length;){let P=E.shift();if(P.startsWith(C))break;v[1].push(P)}}else v[0].push(N),v[1].push(N)}return[v[0].join(`
22
+ `,f=f.slice(P)}yield N(D.eof)}class g{constructor(v,E="lockfile"){this.comments=[],this.tokens=w(v),this.fileLoc=E}onComment(v){let E=v.value;(0,(i||o()).default)(typeof E=="string","expected token value to be a string");let R=E.trim(),N=R.match($);if(N){let P=+N[1];if(P>(c||p()).LOCKFILE_VERSION)throw new(m||S()).MessageError(`Can't install from a lockfile of version ${P} as you're on an old yarn version that only supports versions up to ${(c||p()).LOCKFILE_VERSION}. Run \`$ yarn self-update\` to upgrade to the latest version.`)}this.comments.push(R)}next(){let v=this.tokens.next();(0,(i||o()).default)(v,"expected a token");let E=v.done,R=v.value;if(E||!R)throw new Error("No more tokens");return R.type===D.comment?(this.onComment(R),this.next()):this.token=R}unexpected(v="Unexpected token"){throw new SyntaxError(`${v} ${this.token.line}:${this.token.col} in ${this.fileLoc}`)}expect(v){this.token.type===v?this.next():this.unexpected()}eat(v){return this.token.type===v?(this.next(),!0):!1}parse(v=0){let E=(0,(T||h()).default)();for(;;){let F=this.token;if(F.type===D.newline){let X=this.next();if(!v)continue;if(X.type!==D.indent)break;if(X.value===v)this.next();else break}else if(F.type===D.indent)if(F.value===v)this.next();else break;else{if(F.type===D.eof)break;if(F.type===D.string){let X=F.value;(0,(i||o()).default)(X,"Expected a key");let q=[X];for(this.next();this.token.type===D.comma;){this.next();let _=this.token;_.type!==D.string&&this.unexpected("Expected string");let pe=_.value;(0,(i||o()).default)(pe,"Expected a key"),q.push(pe),this.next()}let Q=this.token;if(Q.type===D.colon){this.next();let _=this.parse(v+1);for(var P=q,R=Array.isArray(P),N=0,P=R?P:P[Symbol.iterator]();;){var M;if(R){if(N>=P.length)break;M=P[N++]}else{if(N=P.next(),N.done)break;M=N.value}let pe=M;E[pe]=_}if(v&&this.token.type!==D.indent)break}else if(I(Q)){for(var Z=q,B=Array.isArray(Z),z=0,Z=B?Z:Z[Symbol.iterator]();;){var H;if(B){if(z>=Z.length)break;H=Z[z++]}else{if(z=Z.next(),z.done)break;H=z.value}let _=H;E[_]=Q.value}this.next()}else this.unexpected("Invalid value type")}else this.unexpected(`Unknown token: ${(n||s()).default.inspect(F)}`)}}return E}}let x="|||||||",C=">>>>>>>",O="=======",k="<<<<<<<";function L(f){let v=[[],[]],E=f.split(/\r?\n/g),R=!1;for(;E.length;){let N=E.shift();if(N.startsWith(k)){for(;E.length;){let P=E.shift();if(P===O){R=!1;break}else if(R||P.startsWith(x)){R=!0;continue}else v[0].push(P)}for(;E.length;){let P=E.shift();if(P.startsWith(C))break;v[1].push(P)}}else v[0].push(N),v[1].push(N)}return[v[0].join(`
23
23
  `),v[1].join(`
24
- `)]}function y(f){return f.includes(k)&&f.includes(O)&&f.includes(C)}function l(f,v){let E=new g(f,v);return E.next(),E.parse()}function d(f,v){let E=L(f);try{return{type:"merge",object:Object.assign({},l(E[0],v),l(E[1],v))}}catch(R){if(R instanceof SyntaxError)return{type:"conflict",object:{}};throw R}}}),,,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n;function s(){return n=i(t(20))}function i(u){return u&&u.__esModule?u:{default:u}}let o=t(212)("yarn");class a{constructor(c,p=1/0){this.concurrencyQueue=[],this.maxConcurrency=p,this.runningCount=0,this.warnedStuck=!1,this.alias=c,this.first=!0,this.running=(0,(n||s()).default)(),this.queue=(0,(n||s()).default)(),this.stuckTick=this.stuckTick.bind(this)}stillActive(){this.stuckTimer&&clearTimeout(this.stuckTimer),this.stuckTimer=setTimeout(this.stuckTick,5e3),this.stuckTimer.unref&&this.stuckTimer.unref()}stuckTick(){this.runningCount===1&&(this.warnedStuck=!0,o(`The ${JSON.stringify(this.alias)} blocking queue may be stuck. 5 seconds without any activity with 1 worker: ${Object.keys(this.running)[0]}`))}push(c,p){return this.first?this.first=!1:this.stillActive(),new Promise((h,S)=>{(this.queue[c]=this.queue[c]||[]).push({factory:p,resolve:h,reject:S}),this.running[c]||this.shift(c)})}shift(c){this.running[c]&&(delete this.running[c],this.runningCount--,this.stuckTimer&&(clearTimeout(this.stuckTimer),this.stuckTimer=null),this.warnedStuck&&(this.warnedStuck=!1,o(`${JSON.stringify(this.alias)} blocking queue finally resolved. Nothing to worry about.`)));let p=this.queue[c];if(!p)return;var h=p.shift();let S=h.resolve,T=h.reject,m=h.factory;p.length||delete this.queue[c];let b=()=>{this.shift(c),this.shiftConcurrencyQueue()},$=()=>{this.running[c]=!0,this.runningCount++,m().then(function(D){return S(D),b(),null}).catch(function(D){T(D),b()})};this.maybePushConcurrencyQueue($)}maybePushConcurrencyQueue(c){this.runningCount<this.maxConcurrency?c():this.concurrencyQueue.push(c)}shiftConcurrencyQueue(){if(this.runningCount<this.maxConcurrency){let c=this.concurrencyQueue.shift();c&&c()}}}e.default=a}),(function(r,e){r.exports=function(t){try{return!!t()}catch{return!0}}}),,,,,,,,,,,,,,,(function(r,e,t){var n=t(47),s=t(13)("toStringTag"),i=n((function(){return arguments})())=="Arguments",o=function(a,u){try{return a[u]}catch{}};r.exports=function(a){var u,c,p;return a===void 0?"Undefined":a===null?"Null":typeof(c=o(u=Object(a),s))=="string"?c:i?n(u):(p=n(u))=="Object"&&typeof u.callee=="function"?"Arguments":p}}),(function(r,e){r.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")}),(function(r,e,t){var n=t(11).document;r.exports=n&&n.documentElement}),(function(r,e,t){"use strict";var n=t(69),s=t(41),i=t(197),o=t(31),a=t(35),u=t(188),c=t(71),p=t(194),h=t(13)("iterator"),S=!([].keys&&"next"in[].keys()),T="@@iterator",m="keys",b="values",$=function(){return this};r.exports=function(D,A,I,w,g,x,C){u(I,A,w);var O=function(M){if(!S&&M in l)return l[M];switch(M){case m:return function(){return new I(this,M)};case b:return function(){return new I(this,M)}}return function(){return new I(this,M)}},k=A+" Iterator",L=g==b,y=!1,l=D.prototype,d=l[h]||l[T]||g&&l[g],f=d||O(g),v=g?L?O("entries"):f:void 0,E=A=="Array"&&l.entries||d,R,N,P;if(E&&(P=p(E.call(new D)),P!==Object.prototype&&P.next&&(c(P,k,!0),!n&&typeof P[h]!="function"&&o(P,h,$))),L&&d&&d.name!==b&&(y=!0,f=function(){return d.call(this)}),(!n||C)&&(S||y||!l[h])&&o(l,h,f),a[A]=f,a[k]=$,g)if(R={values:L?f:O(b),keys:x?f:O(m),entries:v},C)for(N in R)N in l||i(l,N,R[N]);else s(s.P+s.F*(S||y),A,R);return R}}),(function(r,e){r.exports=function(t){try{return{e:!1,v:t()}}catch(n){return{e:!0,v:n}}}}),(function(r,e,t){var n=t(27),s=t(34),i=t(70);r.exports=function(o,a){if(n(o),s(a)&&a.constructor===o)return a;var u=i.f(o),c=u.resolve;return c(a),u.promise}}),(function(r,e){r.exports=function(t,n){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:n}}}),(function(r,e,t){var n=t(23),s=t(11),i="__core-js_shared__",o=s[i]||(s[i]={});(r.exports=function(a,u){return o[a]||(o[a]=u!==void 0?u:{})})("versions",[]).push({version:n.version,mode:t(69)?"pure":"global",copyright:"\xA9 2018 Denis Pushkarev (zloirock.ru)"})}),(function(r,e,t){var n=t(27),s=t(46),i=t(13)("species");r.exports=function(o,a){var u=n(o).constructor,c;return u===void 0||(c=n(u)[i])==null?a:s(c)}}),(function(r,e,t){var n=t(48),s=t(185),i=t(102),o=t(68),a=t(11),u=a.process,c=a.setImmediate,p=a.clearImmediate,h=a.MessageChannel,S=a.Dispatch,T=0,m={},b="onreadystatechange",$,D,A,I=function(){var g=+this;if(m.hasOwnProperty(g)){var x=m[g];delete m[g],x()}},w=function(g){I.call(g.data)};(!c||!p)&&(c=function(x){for(var C=[],O=1;arguments.length>O;)C.push(arguments[O++]);return m[++T]=function(){s(typeof x=="function"?x:Function(x),C)},$(T),T},p=function(x){delete m[x]},t(47)(u)=="process"?$=function(g){u.nextTick(n(I,g,1))}:S&&S.now?$=function(g){S.now(n(I,g,1))}:h?(D=new h,A=D.port2,D.port1.onmessage=w,$=n(A.postMessage,A,1)):a.addEventListener&&typeof postMessage=="function"&&!a.importScripts?($=function(g){a.postMessage(g+"","*")},a.addEventListener("message",w,!1)):b in o("script")?$=function(g){i.appendChild(o("script"))[b]=function(){i.removeChild(this),I.call(g)}}:$=function(g){setTimeout(n(I,g,1),0)}),r.exports={set:c,clear:p}}),(function(r,e,t){var n=t(73),s=Math.min;r.exports=function(i){return i>0?s(n(i),9007199254740991):0}}),(function(r,e){var t=0,n=Math.random();r.exports=function(s){return"Symbol(".concat(s===void 0?"":s,")_",(++t+n).toString(36))}}),(function(r,e,t){e=r.exports=s.debug=s.default=s,e.coerce=c,e.disable=a,e.enable=o,e.enabled=u,e.humanize=t(229),e.instances=[],e.names=[],e.skips=[],e.formatters={};function n(p){var h=0,S;for(S in p)h=(h<<5)-h+p.charCodeAt(S),h|=0;return e.colors[Math.abs(h)%e.colors.length]}function s(p){var h;function S(){if(S.enabled){var T=S,m=+new Date,b=m-(h||m);T.diff=b,T.prev=h,T.curr=m,h=m;for(var $=new Array(arguments.length),D=0;D<$.length;D++)$[D]=arguments[D];$[0]=e.coerce($[0]),typeof $[0]!="string"&&$.unshift("%O");var A=0;$[0]=$[0].replace(/%([a-zA-Z%])/g,function(w,g){if(w==="%%")return w;A++;var x=e.formatters[g];if(typeof x=="function"){var C=$[A];w=x.call(T,C),$.splice(A,1),A--}return w}),e.formatArgs.call(T,$);var I=S.log||e.log||console.log.bind(console);I.apply(T,$)}}return S.namespace=p,S.enabled=e.enabled(p),S.useColors=e.useColors(),S.color=n(p),S.destroy=i,typeof e.init=="function"&&e.init(S),e.instances.push(S),S}function i(){var p=e.instances.indexOf(this);return p!==-1?(e.instances.splice(p,1),!0):!1}function o(p){e.save(p),e.names=[],e.skips=[];var h,S=(typeof p=="string"?p:"").split(/[\s,]+/),T=S.length;for(h=0;h<T;h++)S[h]&&(p=S[h].replace(/\*/g,".*?"),p[0]==="-"?e.skips.push(new RegExp("^"+p.substr(1)+"$")):e.names.push(new RegExp("^"+p+"$")));for(h=0;h<e.instances.length;h++){var m=e.instances[h];m.enabled=e.enabled(m.namespace)}}function a(){e.enable("")}function u(p){if(p[p.length-1]==="*")return!0;var h,S;for(h=0,S=e.skips.length;h<S;h++)if(e.skips[h].test(p))return!1;for(h=0,S=e.names.length;h<S;h++)if(e.names[h].test(p))return!0;return!1}function c(p){return p instanceof Error?p.stack||p.message:p}}),,(function(r,e,t){r.exports=p,p.realpath=p,p.sync=h,p.realpathSync=h,p.monkeypatch=S,p.unmonkeypatch=T;var n=t(3),s=n.realpath,i=n.realpathSync,o=process.version,a=/^v[0-5]\./.test(o),u=t(217);function c(m){return m&&m.syscall==="realpath"&&(m.code==="ELOOP"||m.code==="ENOMEM"||m.code==="ENAMETOOLONG")}function p(m,b,$){if(a)return s(m,b,$);typeof b=="function"&&($=b,b=null),s(m,b,function(D,A){c(D)?u.realpath(m,b,$):$(D,A)})}function h(m,b){if(a)return i(m,b);try{return i(m,b)}catch($){if(c($))return u.realpathSync(m,b);throw $}}function S(){n.realpath=p,n.realpathSync=h}function T(){n.realpath=s,n.realpathSync=i}}),(function(r,e,t){e.alphasort=c,e.alphasorti=u,e.setopts=S,e.ownProp=n,e.makeAbs=b,e.finish=T,e.mark=m,e.isIgnored=$,e.childrenIgnored=D;function n(A,I){return Object.prototype.hasOwnProperty.call(A,I)}var s=t(0),i=t(60),o=t(76),a=i.Minimatch;function u(A,I){return A.toLowerCase().localeCompare(I.toLowerCase())}function c(A,I){return A.localeCompare(I)}function p(A,I){A.ignore=I.ignore||[],Array.isArray(A.ignore)||(A.ignore=[A.ignore]),A.ignore.length&&(A.ignore=A.ignore.map(h))}function h(A){var I=null;if(A.slice(-3)==="/**"){var w=A.replace(/(\/\*\*)+$/,"");I=new a(w,{dot:!0})}return{matcher:new a(A,{dot:!0}),gmatcher:I}}function S(A,I,w){if(w||(w={}),w.matchBase&&I.indexOf("/")===-1){if(w.noglobstar)throw new Error("base matching requires globstar");I="**/"+I}A.silent=!!w.silent,A.pattern=I,A.strict=w.strict!==!1,A.realpath=!!w.realpath,A.realpathCache=w.realpathCache||Object.create(null),A.follow=!!w.follow,A.dot=!!w.dot,A.mark=!!w.mark,A.nodir=!!w.nodir,A.nodir&&(A.mark=!0),A.sync=!!w.sync,A.nounique=!!w.nounique,A.nonull=!!w.nonull,A.nosort=!!w.nosort,A.nocase=!!w.nocase,A.stat=!!w.stat,A.noprocess=!!w.noprocess,A.absolute=!!w.absolute,A.maxLength=w.maxLength||1/0,A.cache=w.cache||Object.create(null),A.statCache=w.statCache||Object.create(null),A.symlinks=w.symlinks||Object.create(null),p(A,w),A.changedCwd=!1;var g=process.cwd();n(w,"cwd")?(A.cwd=s.resolve(w.cwd),A.changedCwd=A.cwd!==g):A.cwd=g,A.root=w.root||s.resolve(A.cwd,"/"),A.root=s.resolve(A.root),process.platform==="win32"&&(A.root=A.root.replace(/\\/g,"/")),A.cwdAbs=o(A.cwd)?A.cwd:b(A,A.cwd),process.platform==="win32"&&(A.cwdAbs=A.cwdAbs.replace(/\\/g,"/")),A.nomount=!!w.nomount,w.nonegate=!0,w.nocomment=!0,A.minimatch=new a(I,w),A.options=A.minimatch.options}function T(A){for(var I=A.nounique,w=I?[]:Object.create(null),g=0,x=A.matches.length;g<x;g++){var C=A.matches[g];if(!C||Object.keys(C).length===0){if(A.nonull){var O=A.minimatch.globSet[g];I?w.push(O):w[O]=!0}}else{var k=Object.keys(C);I?w.push.apply(w,k):k.forEach(function(L){w[L]=!0})}}if(I||(w=Object.keys(w)),A.nosort||(w=w.sort(A.nocase?u:c)),A.mark){for(var g=0;g<w.length;g++)w[g]=A._mark(w[g]);A.nodir&&(w=w.filter(function(L){var y=!/\/$/.test(L),l=A.cache[L]||A.cache[b(A,L)];return y&&l&&(y=l!=="DIR"&&!Array.isArray(l)),y}))}A.ignore.length&&(w=w.filter(function(L){return!$(A,L)})),A.found=w}function m(A,I){var w=b(A,I),g=A.cache[w],x=I;if(g){var C=g==="DIR"||Array.isArray(g),O=I.slice(-1)==="/";if(C&&!O?x+="/":!C&&O&&(x=x.slice(0,-1)),x!==I){var k=b(A,x);A.statCache[k]=A.statCache[w],A.cache[k]=A.cache[w]}}return x}function b(A,I){var w=I;return I.charAt(0)==="/"?w=s.join(A.root,I):o(I)||I===""?w=I:A.changedCwd?w=s.resolve(A.cwd,I):w=s.resolve(I),process.platform==="win32"&&(w=w.replace(/\\/g,"/")),w}function $(A,I){return A.ignore.length?A.ignore.some(function(w){return w.matcher.match(I)||!!(w.gmatcher&&w.gmatcher.match(I))}):!1}function D(A,I){return A.ignore.length?A.ignore.some(function(w){return!!(w.gmatcher&&w.gmatcher.match(I))}):!1}}),(function(r,e,t){var n=t(0),s=t(3),i=parseInt("0777",8);r.exports=o.mkdirp=o.mkdirP=o;function o(a,u,c,p){typeof u=="function"?(c=u,u={}):(!u||typeof u!="object")&&(u={mode:u});var h=u.mode,S=u.fs||s;h===void 0&&(h=i&~process.umask()),p||(p=null);var T=c||function(){};a=n.resolve(a),S.mkdir(a,h,function(m){if(!m)return p=p||a,T(null,p);switch(m.code){case"ENOENT":o(n.dirname(a),u,function(b,$){b?T(b,$):o(a,u,T,$)});break;default:S.stat(a,function(b,$){b||!$.isDirectory()?T(m,p):T(null,p)});break}})}o.sync=function a(u,c,p){(!c||typeof c!="object")&&(c={mode:c});var h=c.mode,S=c.fs||s;h===void 0&&(h=i&~process.umask()),p||(p=null),u=n.resolve(u);try{S.mkdirSync(u,h),p=p||u}catch(m){switch(m.code){case"ENOENT":p=a(n.dirname(u),c,p),a(u,c,p);break;default:var T;try{T=S.statSync(u)}catch{throw m}if(!T.isDirectory())throw m;break}}return p}}),,,,,,(function(r,e,t){"use strict";r.exports=n=>{if(typeof n!="string")throw new TypeError("Expected a string, got "+typeof n);return n.charCodeAt(0)===65279?n.slice(1):n}}),(function(r,e){r.exports=t;function t(n,s){if(n&&s)return t(n)(s);if(typeof n!="function")throw new TypeError("need wrapper function");return Object.keys(n).forEach(function(o){i[o]=n[o]}),i;function i(){for(var o=new Array(arguments.length),a=0;a<o.length;a++)o[a]=arguments[a];var u=n.apply(this,o),c=o[o.length-1];return typeof u=="function"&&u!==c&&Object.keys(c).forEach(function(p){u[p]=c[p]}),u}}}),,,,,,,,(function(r,e,t){var n=t(47);r.exports=Object("z").propertyIsEnumerable(0)?Object:function(s){return n(s)=="String"?s.split(""):Object(s)}}),(function(r,e,t){var n=t(195),s=t(101);r.exports=Object.keys||function(o){return n(o,s)}}),(function(r,e,t){var n=t(67);r.exports=function(s){return Object(n(s))}}),,,,,,,,,,,,(function(r,e){r.exports={name:"yarn",installationMethod:"unknown",version:"1.10.0-0",license:"BSD-2-Clause",preferGlobal:!0,description:"\u{1F4E6}\u{1F408} Fast, reliable, and secure dependency management.",dependencies:{"@zkochan/cmd-shim":"^2.2.4","babel-runtime":"^6.26.0",bytes:"^3.0.0",camelcase:"^4.0.0",chalk:"^2.1.0",commander:"^2.9.0",death:"^1.0.0",debug:"^3.0.0","deep-equal":"^1.0.1","detect-indent":"^5.0.0",dnscache:"^1.0.1",glob:"^7.1.1","gunzip-maybe":"^1.4.0","hash-for-dep":"^1.2.3","imports-loader":"^0.8.0",ini:"^1.3.4",inquirer:"^3.0.1",invariant:"^2.2.0","is-builtin-module":"^2.0.0","is-ci":"^1.0.10","is-webpack-bundle":"^1.0.0",leven:"^2.0.0","loud-rejection":"^1.2.0",micromatch:"^2.3.11",mkdirp:"^0.5.1","node-emoji":"^1.6.1","normalize-url":"^2.0.0","npm-logical-tree":"^1.2.1","object-path":"^0.11.2","proper-lockfile":"^2.0.0",puka:"^1.0.0",read:"^1.0.7",request:"^2.87.0","request-capture-har":"^1.2.2",rimraf:"^2.5.0",semver:"^5.1.0",ssri:"^5.3.0","strip-ansi":"^4.0.0","strip-bom":"^3.0.0","tar-fs":"^1.16.0","tar-stream":"^1.6.1",uuid:"^3.0.1","v8-compile-cache":"^2.0.0","validate-npm-package-license":"^3.0.3",yn:"^2.0.0"},devDependencies:{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-loader":"^6.2.5","babel-plugin-array-includes":"^2.0.3","babel-plugin-transform-builtin-extend":"^1.1.2","babel-plugin-transform-inline-imports-commonjs":"^1.0.0","babel-plugin-transform-runtime":"^6.4.3","babel-preset-env":"^1.6.0","babel-preset-flow":"^6.23.0","babel-preset-stage-0":"^6.0.0",babylon:"^6.5.0",commitizen:"^2.9.6","cz-conventional-changelog":"^2.0.0",eslint:"^4.3.0","eslint-config-fb-strict":"^22.0.0","eslint-plugin-babel":"^5.0.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-jasmine":"^2.6.2","eslint-plugin-jest":"^21.0.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prefer-object-spread":"^1.2.1","eslint-plugin-prettier":"^2.1.2","eslint-plugin-react":"^7.1.0","eslint-plugin-relay":"^0.0.24","eslint-plugin-yarn-internal":"file:scripts/eslint-rules",execa:"^0.10.0","flow-bin":"^0.66.0","git-release-notes":"^3.0.0",gulp:"^3.9.0","gulp-babel":"^7.0.0","gulp-if":"^2.0.1","gulp-newer":"^1.0.0","gulp-plumber":"^1.0.1","gulp-sourcemaps":"^2.2.0","gulp-util":"^3.0.7","gulp-watch":"^5.0.0",jest:"^22.4.4",jsinspect:"^0.12.6",minimatch:"^3.0.4","mock-stdin":"^0.3.0",prettier:"^1.5.2",temp:"^0.8.3",webpack:"^2.1.0-beta.25",yargs:"^6.3.0"},resolutions:{sshpk:"^1.14.2"},engines:{node:">=4.0.0"},repository:"yarnpkg/yarn",bin:{yarn:"./bin/yarn.js",yarnpkg:"./bin/yarn.js"},scripts:{build:"gulp build","build-bundle":"node ./scripts/build-webpack.js","build-chocolatey":"powershell ./scripts/build-chocolatey.ps1","build-deb":"./scripts/build-deb.sh","build-dist":"bash ./scripts/build-dist.sh","build-win-installer":"scripts\\build-windows-installer.bat",changelog:"git-release-notes $(git describe --tags --abbrev=0 $(git describe --tags --abbrev=0)^)..$(git describe --tags --abbrev=0) scripts/changelog.md","dupe-check":"yarn jsinspect ./src",lint:"eslint . && flow check","pkg-tests":"yarn --cwd packages/pkg-tests jest yarn.test.js",prettier:"eslint src __tests__ --fix","release-branch":"./scripts/release-branch.sh",test:"yarn lint && yarn test-only","test-only":"node --max_old_space_size=4096 node_modules/jest/bin/jest.js --verbose","test-only-debug":"node --inspect-brk --max_old_space_size=4096 node_modules/jest/bin/jest.js --runInBand --verbose","test-coverage":"node --max_old_space_size=4096 node_modules/jest/bin/jest.js --coverage --verbose",watch:"gulp watch",commit:"git-cz"},jest:{collectCoverageFrom:["src/**/*.js"],testEnvironment:"node",modulePathIgnorePatterns:["__tests__/fixtures/","packages/pkg-tests/pkg-tests-fixtures","dist/"],testPathIgnorePatterns:["__tests__/(fixtures|__mocks__)/","updates/","_(temp|mock|install|init|helpers).js$","packages/pkg-tests"]},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}}}}),,,,,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=b;var n;function s(){return n=t(12)}var i;function o(){return i=t(6)}var a;function u(){return a=t(145)}let c=process.version;function p($){return $.indexOf("true")===0||$.indexOf("false")===0||/[:\s\n\\",\[\]]/g.test($)||/^[0-9]/g.test($)||!/^[a-zA-Z]/g.test($)}function h($){return typeof $=="boolean"||typeof $=="number"||p($)?JSON.stringify($):$}let S={name:1,version:2,uid:3,resolved:4,integrity:5,registry:6,dependencies:7};function T($,D){return S[$]||S[D]?(S[$]||100)>(S[D]||100)?1:-1:(0,(n||s()).sortAlpha)($,D)}function m($,D){if(typeof $!="object")throw new TypeError;let A=D.indent,I=[],w=Object.keys($).sort(T),g=[];for(let x=0;x<w.length;x++){let C=w[x],O=$[C];if(O==null||g.indexOf(C)>=0)continue;let k=[C];if(typeof O=="object")for(let y=x+1;y<w.length;y++){let l=w[y];O===$[l]&&k.push(l)}let L=k.sort((n||s()).sortAlpha).map(h).join(", ");if(typeof O=="string"||typeof O=="boolean"||typeof O=="number")I.push(`${L} ${h(O)}`);else if(typeof O=="object")I.push(`${L}:
25
- ${m(O,{indent:A+" "})}`+(D.topLevel?`
24
+ `)]}function y(f){return f.includes(k)&&f.includes(O)&&f.includes(C)}function l(f,v){let E=new g(f,v);return E.next(),E.parse()}function d(f,v){let E=L(f);try{return{type:"merge",object:Object.assign({},l(E[0],v),l(E[1],v))}}catch(R){if(R instanceof SyntaxError)return{type:"conflict",object:{}};throw R}}}),,,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n;function s(){return n=i(t(20))}function i(u){return u&&u.__esModule?u:{default:u}}let o=t(212)("yarn");class a{constructor(c,p=1/0){this.concurrencyQueue=[],this.maxConcurrency=p,this.runningCount=0,this.warnedStuck=!1,this.alias=c,this.first=!0,this.running=(0,(n||s()).default)(),this.queue=(0,(n||s()).default)(),this.stuckTick=this.stuckTick.bind(this)}stillActive(){this.stuckTimer&&clearTimeout(this.stuckTimer),this.stuckTimer=setTimeout(this.stuckTick,5e3),this.stuckTimer.unref&&this.stuckTimer.unref()}stuckTick(){this.runningCount===1&&(this.warnedStuck=!0,o(`The ${JSON.stringify(this.alias)} blocking queue may be stuck. 5 seconds without any activity with 1 worker: ${Object.keys(this.running)[0]}`))}push(c,p){return this.first?this.first=!1:this.stillActive(),new Promise((m,S)=>{(this.queue[c]=this.queue[c]||[]).push({factory:p,resolve:m,reject:S}),this.running[c]||this.shift(c)})}shift(c){this.running[c]&&(delete this.running[c],this.runningCount--,this.stuckTimer&&(clearTimeout(this.stuckTimer),this.stuckTimer=null),this.warnedStuck&&(this.warnedStuck=!1,o(`${JSON.stringify(this.alias)} blocking queue finally resolved. Nothing to worry about.`)));let p=this.queue[c];if(!p)return;var m=p.shift();let S=m.resolve,T=m.reject,h=m.factory;p.length||delete this.queue[c];let b=()=>{this.shift(c),this.shiftConcurrencyQueue()},$=()=>{this.running[c]=!0,this.runningCount++,h().then(function(D){return S(D),b(),null}).catch(function(D){T(D),b()})};this.maybePushConcurrencyQueue($)}maybePushConcurrencyQueue(c){this.runningCount<this.maxConcurrency?c():this.concurrencyQueue.push(c)}shiftConcurrencyQueue(){if(this.runningCount<this.maxConcurrency){let c=this.concurrencyQueue.shift();c&&c()}}}e.default=a}),(function(r,e){r.exports=function(t){try{return!!t()}catch{return!0}}}),,,,,,,,,,,,,,,(function(r,e,t){var n=t(47),s=t(13)("toStringTag"),i=n((function(){return arguments})())=="Arguments",o=function(a,u){try{return a[u]}catch{}};r.exports=function(a){var u,c,p;return a===void 0?"Undefined":a===null?"Null":typeof(c=o(u=Object(a),s))=="string"?c:i?n(u):(p=n(u))=="Object"&&typeof u.callee=="function"?"Arguments":p}}),(function(r,e){r.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")}),(function(r,e,t){var n=t(11).document;r.exports=n&&n.documentElement}),(function(r,e,t){"use strict";var n=t(69),s=t(41),i=t(197),o=t(31),a=t(35),u=t(188),c=t(71),p=t(194),m=t(13)("iterator"),S=!([].keys&&"next"in[].keys()),T="@@iterator",h="keys",b="values",$=function(){return this};r.exports=function(D,A,I,w,g,x,C){u(I,A,w);var O=function(M){if(!S&&M in l)return l[M];switch(M){case h:return function(){return new I(this,M)};case b:return function(){return new I(this,M)}}return function(){return new I(this,M)}},k=A+" Iterator",L=g==b,y=!1,l=D.prototype,d=l[m]||l[T]||g&&l[g],f=d||O(g),v=g?L?O("entries"):f:void 0,E=A=="Array"&&l.entries||d,R,N,P;if(E&&(P=p(E.call(new D)),P!==Object.prototype&&P.next&&(c(P,k,!0),!n&&typeof P[m]!="function"&&o(P,m,$))),L&&d&&d.name!==b&&(y=!0,f=function(){return d.call(this)}),(!n||C)&&(S||y||!l[m])&&o(l,m,f),a[A]=f,a[k]=$,g)if(R={values:L?f:O(b),keys:x?f:O(h),entries:v},C)for(N in R)N in l||i(l,N,R[N]);else s(s.P+s.F*(S||y),A,R);return R}}),(function(r,e){r.exports=function(t){try{return{e:!1,v:t()}}catch(n){return{e:!0,v:n}}}}),(function(r,e,t){var n=t(27),s=t(34),i=t(70);r.exports=function(o,a){if(n(o),s(a)&&a.constructor===o)return a;var u=i.f(o),c=u.resolve;return c(a),u.promise}}),(function(r,e){r.exports=function(t,n){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:n}}}),(function(r,e,t){var n=t(23),s=t(11),i="__core-js_shared__",o=s[i]||(s[i]={});(r.exports=function(a,u){return o[a]||(o[a]=u!==void 0?u:{})})("versions",[]).push({version:n.version,mode:t(69)?"pure":"global",copyright:"\xA9 2018 Denis Pushkarev (zloirock.ru)"})}),(function(r,e,t){var n=t(27),s=t(46),i=t(13)("species");r.exports=function(o,a){var u=n(o).constructor,c;return u===void 0||(c=n(u)[i])==null?a:s(c)}}),(function(r,e,t){var n=t(48),s=t(185),i=t(102),o=t(68),a=t(11),u=a.process,c=a.setImmediate,p=a.clearImmediate,m=a.MessageChannel,S=a.Dispatch,T=0,h={},b="onreadystatechange",$,D,A,I=function(){var g=+this;if(h.hasOwnProperty(g)){var x=h[g];delete h[g],x()}},w=function(g){I.call(g.data)};(!c||!p)&&(c=function(x){for(var C=[],O=1;arguments.length>O;)C.push(arguments[O++]);return h[++T]=function(){s(typeof x=="function"?x:Function(x),C)},$(T),T},p=function(x){delete h[x]},t(47)(u)=="process"?$=function(g){u.nextTick(n(I,g,1))}:S&&S.now?$=function(g){S.now(n(I,g,1))}:m?(D=new m,A=D.port2,D.port1.onmessage=w,$=n(A.postMessage,A,1)):a.addEventListener&&typeof postMessage=="function"&&!a.importScripts?($=function(g){a.postMessage(g+"","*")},a.addEventListener("message",w,!1)):b in o("script")?$=function(g){i.appendChild(o("script"))[b]=function(){i.removeChild(this),I.call(g)}}:$=function(g){setTimeout(n(I,g,1),0)}),r.exports={set:c,clear:p}}),(function(r,e,t){var n=t(73),s=Math.min;r.exports=function(i){return i>0?s(n(i),9007199254740991):0}}),(function(r,e){var t=0,n=Math.random();r.exports=function(s){return"Symbol(".concat(s===void 0?"":s,")_",(++t+n).toString(36))}}),(function(r,e,t){e=r.exports=s.debug=s.default=s,e.coerce=c,e.disable=a,e.enable=o,e.enabled=u,e.humanize=t(229),e.instances=[],e.names=[],e.skips=[],e.formatters={};function n(p){var m=0,S;for(S in p)m=(m<<5)-m+p.charCodeAt(S),m|=0;return e.colors[Math.abs(m)%e.colors.length]}function s(p){var m;function S(){if(S.enabled){var T=S,h=+new Date,b=h-(m||h);T.diff=b,T.prev=m,T.curr=h,m=h;for(var $=new Array(arguments.length),D=0;D<$.length;D++)$[D]=arguments[D];$[0]=e.coerce($[0]),typeof $[0]!="string"&&$.unshift("%O");var A=0;$[0]=$[0].replace(/%([a-zA-Z%])/g,function(w,g){if(w==="%%")return w;A++;var x=e.formatters[g];if(typeof x=="function"){var C=$[A];w=x.call(T,C),$.splice(A,1),A--}return w}),e.formatArgs.call(T,$);var I=S.log||e.log||console.log.bind(console);I.apply(T,$)}}return S.namespace=p,S.enabled=e.enabled(p),S.useColors=e.useColors(),S.color=n(p),S.destroy=i,typeof e.init=="function"&&e.init(S),e.instances.push(S),S}function i(){var p=e.instances.indexOf(this);return p!==-1?(e.instances.splice(p,1),!0):!1}function o(p){e.save(p),e.names=[],e.skips=[];var m,S=(typeof p=="string"?p:"").split(/[\s,]+/),T=S.length;for(m=0;m<T;m++)S[m]&&(p=S[m].replace(/\*/g,".*?"),p[0]==="-"?e.skips.push(new RegExp("^"+p.substr(1)+"$")):e.names.push(new RegExp("^"+p+"$")));for(m=0;m<e.instances.length;m++){var h=e.instances[m];h.enabled=e.enabled(h.namespace)}}function a(){e.enable("")}function u(p){if(p[p.length-1]==="*")return!0;var m,S;for(m=0,S=e.skips.length;m<S;m++)if(e.skips[m].test(p))return!1;for(m=0,S=e.names.length;m<S;m++)if(e.names[m].test(p))return!0;return!1}function c(p){return p instanceof Error?p.stack||p.message:p}}),,(function(r,e,t){r.exports=p,p.realpath=p,p.sync=m,p.realpathSync=m,p.monkeypatch=S,p.unmonkeypatch=T;var n=t(3),s=n.realpath,i=n.realpathSync,o=process.version,a=/^v[0-5]\./.test(o),u=t(217);function c(h){return h&&h.syscall==="realpath"&&(h.code==="ELOOP"||h.code==="ENOMEM"||h.code==="ENAMETOOLONG")}function p(h,b,$){if(a)return s(h,b,$);typeof b=="function"&&($=b,b=null),s(h,b,function(D,A){c(D)?u.realpath(h,b,$):$(D,A)})}function m(h,b){if(a)return i(h,b);try{return i(h,b)}catch($){if(c($))return u.realpathSync(h,b);throw $}}function S(){n.realpath=p,n.realpathSync=m}function T(){n.realpath=s,n.realpathSync=i}}),(function(r,e,t){e.alphasort=c,e.alphasorti=u,e.setopts=S,e.ownProp=n,e.makeAbs=b,e.finish=T,e.mark=h,e.isIgnored=$,e.childrenIgnored=D;function n(A,I){return Object.prototype.hasOwnProperty.call(A,I)}var s=t(0),i=t(60),o=t(76),a=i.Minimatch;function u(A,I){return A.toLowerCase().localeCompare(I.toLowerCase())}function c(A,I){return A.localeCompare(I)}function p(A,I){A.ignore=I.ignore||[],Array.isArray(A.ignore)||(A.ignore=[A.ignore]),A.ignore.length&&(A.ignore=A.ignore.map(m))}function m(A){var I=null;if(A.slice(-3)==="/**"){var w=A.replace(/(\/\*\*)+$/,"");I=new a(w,{dot:!0})}return{matcher:new a(A,{dot:!0}),gmatcher:I}}function S(A,I,w){if(w||(w={}),w.matchBase&&I.indexOf("/")===-1){if(w.noglobstar)throw new Error("base matching requires globstar");I="**/"+I}A.silent=!!w.silent,A.pattern=I,A.strict=w.strict!==!1,A.realpath=!!w.realpath,A.realpathCache=w.realpathCache||Object.create(null),A.follow=!!w.follow,A.dot=!!w.dot,A.mark=!!w.mark,A.nodir=!!w.nodir,A.nodir&&(A.mark=!0),A.sync=!!w.sync,A.nounique=!!w.nounique,A.nonull=!!w.nonull,A.nosort=!!w.nosort,A.nocase=!!w.nocase,A.stat=!!w.stat,A.noprocess=!!w.noprocess,A.absolute=!!w.absolute,A.maxLength=w.maxLength||1/0,A.cache=w.cache||Object.create(null),A.statCache=w.statCache||Object.create(null),A.symlinks=w.symlinks||Object.create(null),p(A,w),A.changedCwd=!1;var g=process.cwd();n(w,"cwd")?(A.cwd=s.resolve(w.cwd),A.changedCwd=A.cwd!==g):A.cwd=g,A.root=w.root||s.resolve(A.cwd,"/"),A.root=s.resolve(A.root),process.platform==="win32"&&(A.root=A.root.replace(/\\/g,"/")),A.cwdAbs=o(A.cwd)?A.cwd:b(A,A.cwd),process.platform==="win32"&&(A.cwdAbs=A.cwdAbs.replace(/\\/g,"/")),A.nomount=!!w.nomount,w.nonegate=!0,w.nocomment=!0,A.minimatch=new a(I,w),A.options=A.minimatch.options}function T(A){for(var I=A.nounique,w=I?[]:Object.create(null),g=0,x=A.matches.length;g<x;g++){var C=A.matches[g];if(!C||Object.keys(C).length===0){if(A.nonull){var O=A.minimatch.globSet[g];I?w.push(O):w[O]=!0}}else{var k=Object.keys(C);I?w.push.apply(w,k):k.forEach(function(L){w[L]=!0})}}if(I||(w=Object.keys(w)),A.nosort||(w=w.sort(A.nocase?u:c)),A.mark){for(var g=0;g<w.length;g++)w[g]=A._mark(w[g]);A.nodir&&(w=w.filter(function(L){var y=!/\/$/.test(L),l=A.cache[L]||A.cache[b(A,L)];return y&&l&&(y=l!=="DIR"&&!Array.isArray(l)),y}))}A.ignore.length&&(w=w.filter(function(L){return!$(A,L)})),A.found=w}function h(A,I){var w=b(A,I),g=A.cache[w],x=I;if(g){var C=g==="DIR"||Array.isArray(g),O=I.slice(-1)==="/";if(C&&!O?x+="/":!C&&O&&(x=x.slice(0,-1)),x!==I){var k=b(A,x);A.statCache[k]=A.statCache[w],A.cache[k]=A.cache[w]}}return x}function b(A,I){var w=I;return I.charAt(0)==="/"?w=s.join(A.root,I):o(I)||I===""?w=I:A.changedCwd?w=s.resolve(A.cwd,I):w=s.resolve(I),process.platform==="win32"&&(w=w.replace(/\\/g,"/")),w}function $(A,I){return A.ignore.length?A.ignore.some(function(w){return w.matcher.match(I)||!!(w.gmatcher&&w.gmatcher.match(I))}):!1}function D(A,I){return A.ignore.length?A.ignore.some(function(w){return!!(w.gmatcher&&w.gmatcher.match(I))}):!1}}),(function(r,e,t){var n=t(0),s=t(3),i=parseInt("0777",8);r.exports=o.mkdirp=o.mkdirP=o;function o(a,u,c,p){typeof u=="function"?(c=u,u={}):(!u||typeof u!="object")&&(u={mode:u});var m=u.mode,S=u.fs||s;m===void 0&&(m=i&~process.umask()),p||(p=null);var T=c||function(){};a=n.resolve(a),S.mkdir(a,m,function(h){if(!h)return p=p||a,T(null,p);switch(h.code){case"ENOENT":o(n.dirname(a),u,function(b,$){b?T(b,$):o(a,u,T,$)});break;default:S.stat(a,function(b,$){b||!$.isDirectory()?T(h,p):T(null,p)});break}})}o.sync=function a(u,c,p){(!c||typeof c!="object")&&(c={mode:c});var m=c.mode,S=c.fs||s;m===void 0&&(m=i&~process.umask()),p||(p=null),u=n.resolve(u);try{S.mkdirSync(u,m),p=p||u}catch(h){switch(h.code){case"ENOENT":p=a(n.dirname(u),c,p),a(u,c,p);break;default:var T;try{T=S.statSync(u)}catch{throw h}if(!T.isDirectory())throw h;break}}return p}}),,,,,,(function(r,e,t){"use strict";r.exports=n=>{if(typeof n!="string")throw new TypeError("Expected a string, got "+typeof n);return n.charCodeAt(0)===65279?n.slice(1):n}}),(function(r,e){r.exports=t;function t(n,s){if(n&&s)return t(n)(s);if(typeof n!="function")throw new TypeError("need wrapper function");return Object.keys(n).forEach(function(o){i[o]=n[o]}),i;function i(){for(var o=new Array(arguments.length),a=0;a<o.length;a++)o[a]=arguments[a];var u=n.apply(this,o),c=o[o.length-1];return typeof u=="function"&&u!==c&&Object.keys(c).forEach(function(p){u[p]=c[p]}),u}}}),,,,,,,,(function(r,e,t){var n=t(47);r.exports=Object("z").propertyIsEnumerable(0)?Object:function(s){return n(s)=="String"?s.split(""):Object(s)}}),(function(r,e,t){var n=t(195),s=t(101);r.exports=Object.keys||function(o){return n(o,s)}}),(function(r,e,t){var n=t(67);r.exports=function(s){return Object(n(s))}}),,,,,,,,,,,,(function(r,e){r.exports={name:"yarn",installationMethod:"unknown",version:"1.10.0-0",license:"BSD-2-Clause",preferGlobal:!0,description:"\u{1F4E6}\u{1F408} Fast, reliable, and secure dependency management.",dependencies:{"@zkochan/cmd-shim":"^2.2.4","babel-runtime":"^6.26.0",bytes:"^3.0.0",camelcase:"^4.0.0",chalk:"^2.1.0",commander:"^2.9.0",death:"^1.0.0",debug:"^3.0.0","deep-equal":"^1.0.1","detect-indent":"^5.0.0",dnscache:"^1.0.1",glob:"^7.1.1","gunzip-maybe":"^1.4.0","hash-for-dep":"^1.2.3","imports-loader":"^0.8.0",ini:"^1.3.4",inquirer:"^3.0.1",invariant:"^2.2.0","is-builtin-module":"^2.0.0","is-ci":"^1.0.10","is-webpack-bundle":"^1.0.0",leven:"^2.0.0","loud-rejection":"^1.2.0",micromatch:"^2.3.11",mkdirp:"^0.5.1","node-emoji":"^1.6.1","normalize-url":"^2.0.0","npm-logical-tree":"^1.2.1","object-path":"^0.11.2","proper-lockfile":"^2.0.0",puka:"^1.0.0",read:"^1.0.7",request:"^2.87.0","request-capture-har":"^1.2.2",rimraf:"^2.5.0",semver:"^5.1.0",ssri:"^5.3.0","strip-ansi":"^4.0.0","strip-bom":"^3.0.0","tar-fs":"^1.16.0","tar-stream":"^1.6.1",uuid:"^3.0.1","v8-compile-cache":"^2.0.0","validate-npm-package-license":"^3.0.3",yn:"^2.0.0"},devDependencies:{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-loader":"^6.2.5","babel-plugin-array-includes":"^2.0.3","babel-plugin-transform-builtin-extend":"^1.1.2","babel-plugin-transform-inline-imports-commonjs":"^1.0.0","babel-plugin-transform-runtime":"^6.4.3","babel-preset-env":"^1.6.0","babel-preset-flow":"^6.23.0","babel-preset-stage-0":"^6.0.0",babylon:"^6.5.0",commitizen:"^2.9.6","cz-conventional-changelog":"^2.0.0",eslint:"^4.3.0","eslint-config-fb-strict":"^22.0.0","eslint-plugin-babel":"^5.0.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-jasmine":"^2.6.2","eslint-plugin-jest":"^21.0.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prefer-object-spread":"^1.2.1","eslint-plugin-prettier":"^2.1.2","eslint-plugin-react":"^7.1.0","eslint-plugin-relay":"^0.0.24","eslint-plugin-yarn-internal":"file:scripts/eslint-rules",execa:"^0.10.0","flow-bin":"^0.66.0","git-release-notes":"^3.0.0",gulp:"^3.9.0","gulp-babel":"^7.0.0","gulp-if":"^2.0.1","gulp-newer":"^1.0.0","gulp-plumber":"^1.0.1","gulp-sourcemaps":"^2.2.0","gulp-util":"^3.0.7","gulp-watch":"^5.0.0",jest:"^22.4.4",jsinspect:"^0.12.6",minimatch:"^3.0.4","mock-stdin":"^0.3.0",prettier:"^1.5.2",temp:"^0.8.3",webpack:"^2.1.0-beta.25",yargs:"^6.3.0"},resolutions:{sshpk:"^1.14.2"},engines:{node:">=4.0.0"},repository:"yarnpkg/yarn",bin:{yarn:"./bin/yarn.js",yarnpkg:"./bin/yarn.js"},scripts:{build:"gulp build","build-bundle":"node ./scripts/build-webpack.js","build-chocolatey":"powershell ./scripts/build-chocolatey.ps1","build-deb":"./scripts/build-deb.sh","build-dist":"bash ./scripts/build-dist.sh","build-win-installer":"scripts\\build-windows-installer.bat",changelog:"git-release-notes $(git describe --tags --abbrev=0 $(git describe --tags --abbrev=0)^)..$(git describe --tags --abbrev=0) scripts/changelog.md","dupe-check":"yarn jsinspect ./src",lint:"eslint . && flow check","pkg-tests":"yarn --cwd packages/pkg-tests jest yarn.test.js",prettier:"eslint src __tests__ --fix","release-branch":"./scripts/release-branch.sh",test:"yarn lint && yarn test-only","test-only":"node --max_old_space_size=4096 node_modules/jest/bin/jest.js --verbose","test-only-debug":"node --inspect-brk --max_old_space_size=4096 node_modules/jest/bin/jest.js --runInBand --verbose","test-coverage":"node --max_old_space_size=4096 node_modules/jest/bin/jest.js --coverage --verbose",watch:"gulp watch",commit:"git-cz"},jest:{collectCoverageFrom:["src/**/*.js"],testEnvironment:"node",modulePathIgnorePatterns:["__tests__/fixtures/","packages/pkg-tests/pkg-tests-fixtures","dist/"],testPathIgnorePatterns:["__tests__/(fixtures|__mocks__)/","updates/","_(temp|mock|install|init|helpers).js$","packages/pkg-tests"]},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}}}}),,,,,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=b;var n;function s(){return n=t(12)}var i;function o(){return i=t(6)}var a;function u(){return a=t(145)}let c=process.version;function p($){return $.indexOf("true")===0||$.indexOf("false")===0||/[:\s\n\\",\[\]]/g.test($)||/^[0-9]/g.test($)||!/^[a-zA-Z]/g.test($)}function m($){return typeof $=="boolean"||typeof $=="number"||p($)?JSON.stringify($):$}let S={name:1,version:2,uid:3,resolved:4,integrity:5,registry:6,dependencies:7};function T($,D){return S[$]||S[D]?(S[$]||100)>(S[D]||100)?1:-1:(0,(n||s()).sortAlpha)($,D)}function h($,D){if(typeof $!="object")throw new TypeError;let A=D.indent,I=[],w=Object.keys($).sort(T),g=[];for(let x=0;x<w.length;x++){let C=w[x],O=$[C];if(O==null||g.indexOf(C)>=0)continue;let k=[C];if(typeof O=="object")for(let y=x+1;y<w.length;y++){let l=w[y];O===$[l]&&k.push(l)}let L=k.sort((n||s()).sortAlpha).map(m).join(", ");if(typeof O=="string"||typeof O=="boolean"||typeof O=="number")I.push(`${L} ${m(O)}`);else if(typeof O=="object")I.push(`${L}:
25
+ ${h(O,{indent:A+" "})}`+(D.topLevel?`
26
26
  `:""));else throw new TypeError;g=g.concat(k)}return A+I.join(`
27
- ${A}`)}function b($,D,A){let I=m($,{indent:"",topLevel:!0});if(D)return I;let w=[];return w.push("# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY."),w.push(`# yarn lockfile v${(i||o()).LOCKFILE_VERSION}`),A&&(w.push(`# yarn v${(a||u()).version}`),w.push(`# node ${c}`)),w.push(`
27
+ ${A}`)}function b($,D,A){let I=h($,{indent:"",topLevel:!0});if(D)return I;let w=[];return w.push("# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY."),w.push(`# yarn lockfile v${(i||o()).LOCKFILE_VERSION}`),A&&(w.push(`# yarn v${(a||u()).version}`),w.push(`# node ${c}`)),w.push(`
28
28
  `),w.push(I),w.join(`
29
- `)}}),,,,,,,,,,,,,,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fileDatesEqual=e.copyFile=e.unlink=void 0;var n;function s(){return n=p(t(1))}let i=(()=>{var C=(0,(n||s()).default)(function*(O,k,L){let y=O===void 0,l=O||-1;if(h===void 0){let d=yield m(k);h=x(d.mtime,L.mtime)}if(!h){if(y)try{l=yield b(k,"a",L.mode)}catch{try{l=yield b(k,"r",L.mode)}catch{return}}try{l&&(yield $(l,L.atime,L.mtime))}catch{}finally{y&&l&&(yield T(l))}}});return function(k,L,y){return C.apply(this,arguments)}})();var o;function a(){return o=p(t(3))}var u;function c(){return u=t(40)}function p(C){return C&&C.__esModule?C:{default:C}}let h,S=(0,(u||c()).promisify)((o||a()).default.readFile),T=(0,(u||c()).promisify)((o||a()).default.close),m=(0,(u||c()).promisify)((o||a()).default.lstat),b=(0,(u||c()).promisify)((o||a()).default.open),$=(0,(u||c()).promisify)((o||a()).default.futimes),D=(0,(u||c()).promisify)((o||a()).default.write),A=e.unlink=(0,(u||c()).promisify)(t(233)),I=e.copyFile=(()=>{var C=(0,(n||s()).default)(function*(O,k){try{yield A(O.dest),yield w(O.src,O.dest,0,O)}finally{k&&k()}});return function(k,L){return C.apply(this,arguments)}})(),w=(C,O,k,L)=>(o||a()).default.copyFile?new Promise((y,l)=>(o||a()).default.copyFile(C,O,k,d=>{d?l(d):i(void 0,O,L).then(()=>y()).catch(f=>l(f))})):g(C,O,k,L),g=(()=>{var C=(0,(n||s()).default)(function*(O,k,L,y){let l=yield b(k,"w",y.mode);try{let d=yield S(O);yield D(l,d,0,d.length),yield i(l,k,y)}finally{yield T(l)}});return function(k,L,y,l){return C.apply(this,arguments)}})(),x=e.fileDatesEqual=(C,O)=>{let k=C.getTime(),L=O.getTime();if(process.platform!=="win32")return k===L;if(Math.abs(k-L)<=1)return!0;let y=Math.floor(k/1e3),l=Math.floor(L/1e3);return k-y*1e3===0||L-l*1e3===0?y===l:k===L}}),,,,,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFakeRoot=s,e.isRootUser=i;function n(){return process.platform!=="win32"&&process.getuid?process.getuid():null}e.default=i(n())&&!s();function s(){return!!process.env.FAKEROOTKEY}function i(o){return o===0}}),,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDataDir=a,e.getCacheDir=u,e.getConfigDir=c;let n=t(0),s=t(45).default,i=n.join(s,".config","yarn"),o=n.join(s,".cache","yarn");function a(){if(process.platform==="win32"){let h=p();return h==null?i:n.join(h,"Data")}else return process.env.XDG_DATA_HOME?n.join(process.env.XDG_DATA_HOME,"yarn"):i}function u(){return process.platform==="win32"?n.join(p()||n.join(s,"AppData","Local","Yarn"),"Cache"):process.env.XDG_CACHE_HOME?n.join(process.env.XDG_CACHE_HOME,"yarn"):process.platform==="darwin"?n.join(s,"Library","Caches","Yarn"):o}function c(){if(process.platform==="win32"){let h=p();return h==null?i:n.join(h,"Config")}else return process.env.XDG_CONFIG_HOME?n.join(process.env.XDG_CONFIG_HOME,"yarn"):i}function p(){return process.env.LOCALAPPDATA?n.join(process.env.LOCALAPPDATA,"Yarn"):null}}),,(function(r,e,t){r.exports={default:t(179),__esModule:!0}}),(function(r,e,t){"use strict";r.exports=n;function n(o,a,u){o instanceof RegExp&&(o=s(o,u)),a instanceof RegExp&&(a=s(a,u));var c=i(o,a,u);return c&&{start:c[0],end:c[1],pre:u.slice(0,c[0]),body:u.slice(c[0]+o.length,c[1]),post:u.slice(c[1]+a.length)}}function s(o,a){var u=a.match(o);return u?u[0]:null}n.range=i;function i(o,a,u){var c,p,h,S,T,m=u.indexOf(o),b=u.indexOf(a,m+1),$=m;if(m>=0&&b>0){for(c=[],h=u.length;$>=0&&!T;)$==m?(c.push($),m=u.indexOf(o,$+1)):c.length==1?T=[c.pop(),b]:(p=c.pop(),p<h&&(h=p,S=b),b=u.indexOf(a,$+1)),$=m<b&&m>=0?m:b;c.length&&(T=[h,S])}return T}}),(function(r,e,t){var n=t(178),s=t(174);r.exports=m;var i="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",a="\0CLOSE"+Math.random()+"\0",u="\0COMMA"+Math.random()+"\0",c="\0PERIOD"+Math.random()+"\0";function p(g){return parseInt(g,10)==g?parseInt(g,10):g.charCodeAt(0)}function h(g){return g.split("\\\\").join(i).split("\\{").join(o).split("\\}").join(a).split("\\,").join(u).split("\\.").join(c)}function S(g){return g.split(i).join("\\").split(o).join("{").split(a).join("}").split(u).join(",").split(c).join(".")}function T(g){if(!g)return[""];var x=[],C=s("{","}",g);if(!C)return g.split(",");var O=C.pre,k=C.body,L=C.post,y=O.split(",");y[y.length-1]+="{"+k+"}";var l=T(L);return L.length&&(y[y.length-1]+=l.shift(),y.push.apply(y,l)),x.push.apply(x,y),x}function m(g){return g?(g.substr(0,2)==="{}"&&(g="\\{\\}"+g.substr(2)),w(h(g),!0).map(S)):[]}function b(g){return g}function $(g){return"{"+g+"}"}function D(g){return/^-?0\d/.test(g)}function A(g,x){return g<=x}function I(g,x){return g>=x}function w(g,x){var C=[],O=s("{","}",g);if(!O||/\$$/.test(O.pre))return[g];var k=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(O.body),L=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(O.body),y=k||L,l=O.body.indexOf(",")>=0;if(!y&&!l)return O.post.match(/,.*\}/)?(g=O.pre+"{"+O.body+a+O.post,w(g)):[g];var d;if(y)d=O.body.split(/\.\./);else if(d=T(O.body),d.length===1&&(d=w(d[0],!1).map($),d.length===1)){var v=O.post.length?w(O.post,!1):[""];return v.map(function(ke){return O.pre+d[0]+ke})}var f=O.pre,v=O.post.length?w(O.post,!1):[""],E;if(y){var R=p(d[0]),N=p(d[1]),P=Math.max(d[0].length,d[1].length),M=d.length==3?Math.abs(p(d[2])):1,B=A,z=N<R;z&&(M*=-1,B=I);var Z=d.some(D);E=[];for(var H=R;B(H,N);H+=M){var F;if(L)F=String.fromCharCode(H),F==="\\"&&(F="");else if(F=String(H),Z){var X=P-F.length;if(X>0){var q=new Array(X+1).join("0");H<0?F="-"+q+F.slice(1):F=q+F}}E.push(F)}}else E=n(d,function(ce){return w(ce,!1)});for(var Q=0;Q<E.length;Q++)for(var _=0;_<v.length;_++){var pe=f+E[Q]+v[_];(!x||y||pe)&&C.push(pe)}return C}}),(function(r,e,t){"use strict";function n(s){let i=!1,o=!1,a=!1;for(let u=0;u<s.length;u++){let c=s[u];i&&/[a-zA-Z]/.test(c)&&c.toUpperCase()===c?(s=s.substr(0,u)+"-"+s.substr(u),i=!1,a=o,o=!0,u++):o&&a&&/[a-zA-Z]/.test(c)&&c.toLowerCase()===c?(s=s.substr(0,u-1)+"-"+s.substr(u-1),a=o,o=!1,i=!0):(i=c.toLowerCase()===c,a=o,o=c.toUpperCase()===c)}return s}r.exports=function(s){return arguments.length>1?s=Array.from(arguments).map(o=>o.trim()).filter(o=>o.length).join("-"):s=s.trim(),s.length===0?"":s.length===1?s.toLowerCase():/^[a-z0-9]+$/.test(s)?s:(s!==s.toLowerCase()&&(s=n(s)),s.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(o,a)=>a.toUpperCase()))}}),,(function(r,e){r.exports=function(n,s){for(var i=[],o=0;o<n.length;o++){var a=s(n[o],o);t(a)?i.push.apply(i,a):i.push(a)}return i};var t=Array.isArray||function(n){return Object.prototype.toString.call(n)==="[object Array]"}}),(function(r,e,t){t(205),t(207),t(210),t(206),t(208),t(209),r.exports=t(23).Promise}),(function(r,e){r.exports=function(){}}),(function(r,e){r.exports=function(t,n,s,i){if(!(t instanceof n)||i!==void 0&&i in t)throw TypeError(s+": incorrect invocation!");return t}}),(function(r,e,t){var n=t(74),s=t(110),i=t(200);r.exports=function(o){return function(a,u,c){var p=n(a),h=s(p.length),S=i(c,h),T;if(o&&u!=u){for(;h>S;)if(T=p[S++],T!=T)return!0}else for(;h>S;S++)if((o||S in p)&&p[S]===u)return o||S||0;return!o&&-1}}}),(function(r,h,t){var n=t(48),s=t(187),i=t(186),o=t(27),a=t(110),u=t(203),c={},p={},h=r.exports=function(S,T,m,b,$){var D=$?function(){return S}:u(S),A=n(m,b,T?2:1),I=0,w,g,x,C;if(typeof D!="function")throw TypeError(S+" is not iterable!");if(i(D)){for(w=a(S.length);w>I;I++)if(C=T?A(o(g=S[I])[0],g[1]):A(S[I]),C===c||C===p)return C}else for(x=D.call(S);!(g=x.next()).done;)if(C=s(x,A,g.value,T),C===c||C===p)return C};h.BREAK=c,h.RETURN=p}),(function(r,e,t){r.exports=!t(33)&&!t(85)(function(){return Object.defineProperty(t(68)("div"),"a",{get:function(){return 7}}).a!=7})}),(function(r,e){r.exports=function(t,n,s){var i=s===void 0;switch(n.length){case 0:return i?t():t.call(s);case 1:return i?t(n[0]):t.call(s,n[0]);case 2:return i?t(n[0],n[1]):t.call(s,n[0],n[1]);case 3:return i?t(n[0],n[1],n[2]):t.call(s,n[0],n[1],n[2]);case 4:return i?t(n[0],n[1],n[2],n[3]):t.call(s,n[0],n[1],n[2],n[3])}return t.apply(s,n)}}),(function(r,e,t){var n=t(35),s=t(13)("iterator"),i=Array.prototype;r.exports=function(o){return o!==void 0&&(n.Array===o||i[s]===o)}}),(function(r,e,t){var n=t(27);r.exports=function(s,i,o,a){try{return a?i(n(o)[0],o[1]):i(o)}catch(c){var u=s.return;throw u!==void 0&&n(u.call(s)),c}}}),(function(r,e,t){"use strict";var n=t(192),s=t(106),i=t(71),o={};t(31)(o,t(13)("iterator"),function(){return this}),r.exports=function(a,u,c){a.prototype=n(o,{next:s(1,c)}),i(a,u+" Iterator")}}),(function(r,e,t){var n=t(13)("iterator"),s=!1;try{var i=[7][n]();i.return=function(){s=!0},Array.from(i,function(){throw 2})}catch{}r.exports=function(o,a){if(!a&&!s)return!1;var u=!1;try{var c=[7],p=c[n]();p.next=function(){return{done:u=!0}},c[n]=function(){return p},o(c)}catch{}return u}}),(function(r,e){r.exports=function(t,n){return{value:n,done:!!t}}}),(function(r,e,t){var n=t(11),s=t(109).set,i=n.MutationObserver||n.WebKitMutationObserver,o=n.process,a=n.Promise,u=t(47)(o)=="process";r.exports=function(){var c,p,h,S=function(){var $,D;for(u&&($=o.domain)&&$.exit();c;){D=c.fn,c=c.next;try{D()}catch(A){throw c?h():p=void 0,A}}p=void 0,$&&$.enter()};if(u)h=function(){o.nextTick(S)};else if(i&&!(n.navigator&&n.navigator.standalone)){var T=!0,m=document.createTextNode("");new i(S).observe(m,{characterData:!0}),h=function(){m.data=T=!T}}else if(a&&a.resolve){var b=a.resolve(void 0);h=function(){b.then(S)}}else h=function(){s.call(n,S)};return function($){var D={fn:$,next:void 0};p&&(p.next=D),c||(c=D,h()),p=D}}}),(function(r,e,t){var n=t(27),s=t(193),i=t(101),o=t(72)("IE_PROTO"),a=function(){},u="prototype",c=function(){var p=t(68)("iframe"),h=i.length,S="<",T=">",m;for(p.style.display="none",t(102).appendChild(p),p.src="javascript:",m=p.contentWindow.document,m.open(),m.write(S+"script"+T+"document.F=Object"+S+"/script"+T),m.close(),c=m.F;h--;)delete c[u][i[h]];return c()};r.exports=Object.create||function(h,S){var T;return h!==null?(a[u]=n(h),T=new a,a[u]=null,T[o]=h):T=c(),S===void 0?T:s(T,S)}}),(function(r,e,t){var n=t(50),s=t(27),i=t(132);r.exports=t(33)?Object.defineProperties:function(a,u){s(a);for(var c=i(u),p=c.length,h=0,S;p>h;)n.f(a,S=c[h++],u[S]);return a}}),(function(r,e,t){var n=t(49),s=t(133),i=t(72)("IE_PROTO"),o=Object.prototype;r.exports=Object.getPrototypeOf||function(a){return a=s(a),n(a,i)?a[i]:typeof a.constructor=="function"&&a instanceof a.constructor?a.constructor.prototype:a instanceof Object?o:null}}),(function(r,e,t){var n=t(49),s=t(74),i=t(182)(!1),o=t(72)("IE_PROTO");r.exports=function(a,u){var c=s(a),p=0,h=[],S;for(S in c)S!=o&&n(c,S)&&h.push(S);for(;u.length>p;)n(c,S=u[p++])&&(~i(h,S)||h.push(S));return h}}),(function(r,e,t){var n=t(31);r.exports=function(s,i,o){for(var a in i)o&&s[a]?s[a]=i[a]:n(s,a,i[a]);return s}}),(function(r,e,t){r.exports=t(31)}),(function(r,e,t){"use strict";var n=t(11),s=t(23),i=t(50),o=t(33),a=t(13)("species");r.exports=function(u){var c=typeof s[u]=="function"?s[u]:n[u];o&&c&&!c[a]&&i.f(c,a,{configurable:!0,get:function(){return this}})}}),(function(r,e,t){var n=t(73),s=t(67);r.exports=function(i){return function(o,a){var u=String(s(o)),c=n(a),p=u.length,h,S;return c<0||c>=p?i?"":void 0:(h=u.charCodeAt(c),h<55296||h>56319||c+1===p||(S=u.charCodeAt(c+1))<56320||S>57343?i?u.charAt(c):h:i?u.slice(c,c+2):(h-55296<<10)+(S-56320)+65536)}}}),(function(r,e,t){var n=t(73),s=Math.max,i=Math.min;r.exports=function(o,a){return o=n(o),o<0?s(o+a,0):i(o,a)}}),(function(r,e,t){var n=t(34);r.exports=function(s,i){if(!n(s))return s;var o,a;if(i&&typeof(o=s.toString)=="function"&&!n(a=o.call(s))||typeof(o=s.valueOf)=="function"&&!n(a=o.call(s))||!i&&typeof(o=s.toString)=="function"&&!n(a=o.call(s)))return a;throw TypeError("Can't convert object to primitive value")}}),(function(r,e,t){var n=t(11),s=n.navigator;r.exports=s&&s.userAgent||""}),(function(r,e,t){var n=t(100),s=t(13)("iterator"),i=t(35);r.exports=t(23).getIteratorMethod=function(o){if(o!=null)return o[s]||o["@@iterator"]||i[n(o)]}}),(function(r,e,t){"use strict";var n=t(180),s=t(190),i=t(35),o=t(74);r.exports=t(103)(Array,"Array",function(a,u){this._t=o(a),this._i=0,this._k=u},function(){var a=this._t,u=this._k,c=this._i++;return!a||c>=a.length?(this._t=void 0,s(1)):u=="keys"?s(0,c):u=="values"?s(0,a[c]):s(0,[c,a[c]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")}),(function(r,e){}),(function(r,e,t){"use strict";var n=t(69),s=t(11),i=t(48),o=t(100),a=t(41),u=t(34),c=t(46),p=t(181),h=t(183),S=t(108),T=t(109).set,m=t(191)(),b=t(70),$=t(104),D=t(202),A=t(105),I="Promise",w=s.TypeError,g=s.process,x=g&&g.versions,C=x&&x.v8||"",O=s[I],k=o(g)=="process",L=function(){},y,l,d,f,v=l=b.f,E=!!(function(){try{var H=O.resolve(1),F=(H.constructor={})[t(13)("species")]=function(X){X(L,L)};return(k||typeof PromiseRejectionEvent=="function")&&H.then(L)instanceof F&&C.indexOf("6.6")!==0&&D.indexOf("Chrome/66")===-1}catch{}})(),R=function(H){var F;return u(H)&&typeof(F=H.then)=="function"?F:!1},N=function(H,F){if(!H._n){H._n=!0;var X=H._c;m(function(){for(var q=H._v,Q=H._s==1,_=0,pe=function(ce){var ke=Q?ce.ok:ce.fail,Ne=ce.resolve,ot=ce.reject,Re=ce.domain,Ae,Ce,at;try{ke?(Q||(H._h==2&&B(H),H._h=1),ke===!0?Ae=q:(Re&&Re.enter(),Ae=ke(q),Re&&(Re.exit(),at=!0)),Ae===ce.promise?ot(w("Promise-chain cycle")):(Ce=R(Ae))?Ce.call(Ae,Ne,ot):Ne(Ae)):ot(q)}catch(Oe){Re&&!at&&Re.exit(),ot(Oe)}};X.length>_;)pe(X[_++]);H._c=[],H._n=!1,F&&!H._h&&P(H)})}},P=function(H){T.call(s,function(){var F=H._v,X=M(H),q,Q,_;if(X&&(q=$(function(){k?g.emit("unhandledRejection",F,H):(Q=s.onunhandledrejection)?Q({promise:H,reason:F}):(_=s.console)&&_.error&&_.error("Unhandled promise rejection",F)}),H._h=k||M(H)?2:1),H._a=void 0,X&&q.e)throw q.v})},M=function(H){return H._h!==1&&(H._a||H._c).length===0},B=function(H){T.call(s,function(){var F;k?g.emit("rejectionHandled",H):(F=s.onrejectionhandled)&&F({promise:H,reason:H._v})})},z=function(H){var F=this;F._d||(F._d=!0,F=F._w||F,F._v=H,F._s=2,F._a||(F._a=F._c.slice()),N(F,!0))},Z=function(H){var F=this,X;if(!F._d){F._d=!0,F=F._w||F;try{if(F===H)throw w("Promise can't be resolved itself");(X=R(H))?m(function(){var q={_w:F,_d:!1};try{X.call(H,i(Z,q,1),i(z,q,1))}catch(Q){z.call(q,Q)}}):(F._v=H,F._s=1,N(F,!1))}catch(q){z.call({_w:F,_d:!1},q)}}};E||(O=function(F){p(this,O,I,"_h"),c(F),y.call(this);try{F(i(Z,this,1),i(z,this,1))}catch(X){z.call(this,X)}},y=function(F){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},y.prototype=t(196)(O.prototype,{then:function(F,X){var q=v(S(this,O));return q.ok=typeof F=="function"?F:!0,q.fail=typeof X=="function"&&X,q.domain=k?g.domain:void 0,this._c.push(q),this._a&&this._a.push(q),this._s&&N(this,!1),q.promise},catch:function(H){return this.then(void 0,H)}}),d=function(){var H=new y;this.promise=H,this.resolve=i(Z,H,1),this.reject=i(z,H,1)},b.f=v=function(H){return H===O||H===f?new d(H):l(H)}),a(a.G+a.W+a.F*!E,{Promise:O}),t(71)(O,I),t(198)(I),f=t(23)[I],a(a.S+a.F*!E,I,{reject:function(F){var X=v(this),q=X.reject;return q(F),X.promise}}),a(a.S+a.F*(n||!E),I,{resolve:function(F){return A(n&&this===f?O:this,F)}}),a(a.S+a.F*!(E&&t(189)(function(H){O.all(H).catch(L)})),I,{all:function(F){var X=this,q=v(X),Q=q.resolve,_=q.reject,pe=$(function(){var ce=[],ke=0,Ne=1;h(F,!1,function(ot){var Re=ke++,Ae=!1;ce.push(void 0),Ne++,X.resolve(ot).then(function(Ce){Ae||(Ae=!0,ce[Re]=Ce,--Ne||Q(ce))},_)}),--Ne||Q(ce)});return pe.e&&_(pe.v),q.promise},race:function(F){var X=this,q=v(X),Q=q.reject,_=$(function(){h(F,!1,function(pe){X.resolve(pe).then(q.resolve,Q)})});return _.e&&Q(_.v),q.promise}})}),(function(r,e,t){"use strict";var n=t(199)(!0);t(103)(String,"String",function(s){this._t=String(s),this._i=0},function(){var s=this._t,i=this._i,o;return i>=s.length?{value:void 0,done:!0}:(o=n(s,i),this._i+=o.length,{value:o,done:!1})})}),(function(r,e,t){"use strict";var n=t(41),s=t(23),i=t(11),o=t(108),a=t(105);n(n.P+n.R,"Promise",{finally:function(u){var c=o(this,s.Promise||i.Promise),p=typeof u=="function";return this.then(p?function(h){return a(c,u()).then(function(){return h})}:u,p?function(h){return a(c,u()).then(function(){throw h})}:u)}})}),(function(r,e,t){"use strict";var n=t(41),s=t(70),i=t(104);n(n.S,"Promise",{try:function(o){var a=s.f(this),u=i(o);return(u.e?a.reject:a.resolve)(u.v),a.promise}})}),(function(r,e,t){t(204);for(var n=t(11),s=t(31),i=t(35),o=t(13)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<a.length;u++){var c=a[u],p=n[c],h=p&&p.prototype;h&&!h[o]&&s(h,o,c),i[c]=i.Array}}),(function(r,e,t){e=r.exports=t(112),e.log=i,e.formatArgs=s,e.save=o,e.load=a,e.useColors=n,e.storage=typeof chrome<"u"&&typeof chrome.storage<"u"?chrome.storage.local:u(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){return typeof window<"u"&&window.process&&window.process.type==="renderer"?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}e.formatters.j=function(c){try{return JSON.stringify(c)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}};function s(c){var p=this.useColors;if(c[0]=(p?"%c":"")+this.namespace+(p?" %c":" ")+c[0]+(p?"%c ":" ")+"+"+e.humanize(this.diff),!!p){var h="color: "+this.color;c.splice(1,0,h,"color: inherit");var S=0,T=0;c[0].replace(/%[a-zA-Z%]/g,function(m){m!=="%%"&&(S++,m==="%c"&&(T=S))}),c.splice(T,0,h)}}function i(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function o(c){try{c==null?e.storage.removeItem("debug"):e.storage.debug=c}catch{}}function a(){var c;try{c=e.storage.debug}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=process.env.DEBUG),c}e.enable(a());function u(){try{return window.localStorage}catch{}}}),(function(r,e,t){typeof process>"u"||process.type==="renderer"?r.exports=t(211):r.exports=t(213)}),(function(r,e,t){var n=t(79),s=t(2);e=r.exports=t(112),e.init=S,e.log=c,e.formatArgs=a,e.save=p,e.load=h,e.useColors=o,e.colors=[6,2,3,4,5,1];try{var i=t(239);i&&i.level>=2&&(e.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}e.inspectOpts=Object.keys(process.env).filter(function(T){return/^debug_/i.test(T)}).reduce(function(T,m){var b=m.substring(6).toLowerCase().replace(/_([a-z])/g,function(D,A){return A.toUpperCase()}),$=process.env[m];return/^(yes|on|true|enabled)$/i.test($)?$=!0:/^(no|off|false|disabled)$/i.test($)?$=!1:$==="null"?$=null:$=Number($),T[b]=$,T},{});function o(){return"colors"in e.inspectOpts?!!e.inspectOpts.colors:n.isatty(process.stderr.fd)}e.formatters.o=function(T){return this.inspectOpts.colors=this.useColors,s.inspect(T,this.inspectOpts).split(`
30
- `).map(function(m){return m.trim()}).join(" ")},e.formatters.O=function(T){return this.inspectOpts.colors=this.useColors,s.inspect(T,this.inspectOpts)};function a(T){var m=this.namespace,b=this.useColors;if(b){var $=this.color,D="\x1B[3"+($<8?$:"8;5;"+$),A=" "+D+";1m"+m+" \x1B[0m";T[0]=A+T[0].split(`
29
+ `)}}),,,,,,,,,,,,,,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fileDatesEqual=e.copyFile=e.unlink=void 0;var n;function s(){return n=p(t(1))}let i=(()=>{var C=(0,(n||s()).default)(function*(O,k,L){let y=O===void 0,l=O||-1;if(m===void 0){let d=yield h(k);m=x(d.mtime,L.mtime)}if(!m){if(y)try{l=yield b(k,"a",L.mode)}catch{try{l=yield b(k,"r",L.mode)}catch{return}}try{l&&(yield $(l,L.atime,L.mtime))}catch{}finally{y&&l&&(yield T(l))}}});return function(k,L,y){return C.apply(this,arguments)}})();var o;function a(){return o=p(t(3))}var u;function c(){return u=t(40)}function p(C){return C&&C.__esModule?C:{default:C}}let m,S=(0,(u||c()).promisify)((o||a()).default.readFile),T=(0,(u||c()).promisify)((o||a()).default.close),h=(0,(u||c()).promisify)((o||a()).default.lstat),b=(0,(u||c()).promisify)((o||a()).default.open),$=(0,(u||c()).promisify)((o||a()).default.futimes),D=(0,(u||c()).promisify)((o||a()).default.write),A=e.unlink=(0,(u||c()).promisify)(t(233)),I=e.copyFile=(()=>{var C=(0,(n||s()).default)(function*(O,k){try{yield A(O.dest),yield w(O.src,O.dest,0,O)}finally{k&&k()}});return function(k,L){return C.apply(this,arguments)}})(),w=(C,O,k,L)=>(o||a()).default.copyFile?new Promise((y,l)=>(o||a()).default.copyFile(C,O,k,d=>{d?l(d):i(void 0,O,L).then(()=>y()).catch(f=>l(f))})):g(C,O,k,L),g=(()=>{var C=(0,(n||s()).default)(function*(O,k,L,y){let l=yield b(k,"w",y.mode);try{let d=yield S(O);yield D(l,d,0,d.length),yield i(l,k,y)}finally{yield T(l)}});return function(k,L,y,l){return C.apply(this,arguments)}})(),x=e.fileDatesEqual=(C,O)=>{let k=C.getTime(),L=O.getTime();if(process.platform!=="win32")return k===L;if(Math.abs(k-L)<=1)return!0;let y=Math.floor(k/1e3),l=Math.floor(L/1e3);return k-y*1e3===0||L-l*1e3===0?y===l:k===L}}),,,,,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFakeRoot=s,e.isRootUser=i;function n(){return process.platform!=="win32"&&process.getuid?process.getuid():null}e.default=i(n())&&!s();function s(){return!!process.env.FAKEROOTKEY}function i(o){return o===0}}),,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDataDir=a,e.getCacheDir=u,e.getConfigDir=c;let n=t(0),s=t(45).default,i=n.join(s,".config","yarn"),o=n.join(s,".cache","yarn");function a(){if(process.platform==="win32"){let m=p();return m==null?i:n.join(m,"Data")}else return process.env.XDG_DATA_HOME?n.join(process.env.XDG_DATA_HOME,"yarn"):i}function u(){return process.platform==="win32"?n.join(p()||n.join(s,"AppData","Local","Yarn"),"Cache"):process.env.XDG_CACHE_HOME?n.join(process.env.XDG_CACHE_HOME,"yarn"):process.platform==="darwin"?n.join(s,"Library","Caches","Yarn"):o}function c(){if(process.platform==="win32"){let m=p();return m==null?i:n.join(m,"Config")}else return process.env.XDG_CONFIG_HOME?n.join(process.env.XDG_CONFIG_HOME,"yarn"):i}function p(){return process.env.LOCALAPPDATA?n.join(process.env.LOCALAPPDATA,"Yarn"):null}}),,(function(r,e,t){r.exports={default:t(179),__esModule:!0}}),(function(r,e,t){"use strict";r.exports=n;function n(o,a,u){o instanceof RegExp&&(o=s(o,u)),a instanceof RegExp&&(a=s(a,u));var c=i(o,a,u);return c&&{start:c[0],end:c[1],pre:u.slice(0,c[0]),body:u.slice(c[0]+o.length,c[1]),post:u.slice(c[1]+a.length)}}function s(o,a){var u=a.match(o);return u?u[0]:null}n.range=i;function i(o,a,u){var c,p,m,S,T,h=u.indexOf(o),b=u.indexOf(a,h+1),$=h;if(h>=0&&b>0){for(c=[],m=u.length;$>=0&&!T;)$==h?(c.push($),h=u.indexOf(o,$+1)):c.length==1?T=[c.pop(),b]:(p=c.pop(),p<m&&(m=p,S=b),b=u.indexOf(a,$+1)),$=h<b&&h>=0?h:b;c.length&&(T=[m,S])}return T}}),(function(r,e,t){var n=t(178),s=t(174);r.exports=h;var i="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",a="\0CLOSE"+Math.random()+"\0",u="\0COMMA"+Math.random()+"\0",c="\0PERIOD"+Math.random()+"\0";function p(g){return parseInt(g,10)==g?parseInt(g,10):g.charCodeAt(0)}function m(g){return g.split("\\\\").join(i).split("\\{").join(o).split("\\}").join(a).split("\\,").join(u).split("\\.").join(c)}function S(g){return g.split(i).join("\\").split(o).join("{").split(a).join("}").split(u).join(",").split(c).join(".")}function T(g){if(!g)return[""];var x=[],C=s("{","}",g);if(!C)return g.split(",");var O=C.pre,k=C.body,L=C.post,y=O.split(",");y[y.length-1]+="{"+k+"}";var l=T(L);return L.length&&(y[y.length-1]+=l.shift(),y.push.apply(y,l)),x.push.apply(x,y),x}function h(g){return g?(g.substr(0,2)==="{}"&&(g="\\{\\}"+g.substr(2)),w(m(g),!0).map(S)):[]}function b(g){return g}function $(g){return"{"+g+"}"}function D(g){return/^-?0\d/.test(g)}function A(g,x){return g<=x}function I(g,x){return g>=x}function w(g,x){var C=[],O=s("{","}",g);if(!O||/\$$/.test(O.pre))return[g];var k=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(O.body),L=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(O.body),y=k||L,l=O.body.indexOf(",")>=0;if(!y&&!l)return O.post.match(/,.*\}/)?(g=O.pre+"{"+O.body+a+O.post,w(g)):[g];var d;if(y)d=O.body.split(/\.\./);else if(d=T(O.body),d.length===1&&(d=w(d[0],!1).map($),d.length===1)){var v=O.post.length?w(O.post,!1):[""];return v.map(function(ke){return O.pre+d[0]+ke})}var f=O.pre,v=O.post.length?w(O.post,!1):[""],E;if(y){var R=p(d[0]),N=p(d[1]),P=Math.max(d[0].length,d[1].length),M=d.length==3?Math.abs(p(d[2])):1,B=A,z=N<R;z&&(M*=-1,B=I);var Z=d.some(D);E=[];for(var H=R;B(H,N);H+=M){var F;if(L)F=String.fromCharCode(H),F==="\\"&&(F="");else if(F=String(H),Z){var X=P-F.length;if(X>0){var q=new Array(X+1).join("0");H<0?F="-"+q+F.slice(1):F=q+F}}E.push(F)}}else E=n(d,function(ce){return w(ce,!1)});for(var Q=0;Q<E.length;Q++)for(var _=0;_<v.length;_++){var pe=f+E[Q]+v[_];(!x||y||pe)&&C.push(pe)}return C}}),(function(r,e,t){"use strict";function n(s){let i=!1,o=!1,a=!1;for(let u=0;u<s.length;u++){let c=s[u];i&&/[a-zA-Z]/.test(c)&&c.toUpperCase()===c?(s=s.substr(0,u)+"-"+s.substr(u),i=!1,a=o,o=!0,u++):o&&a&&/[a-zA-Z]/.test(c)&&c.toLowerCase()===c?(s=s.substr(0,u-1)+"-"+s.substr(u-1),a=o,o=!1,i=!0):(i=c.toLowerCase()===c,a=o,o=c.toUpperCase()===c)}return s}r.exports=function(s){return arguments.length>1?s=Array.from(arguments).map(o=>o.trim()).filter(o=>o.length).join("-"):s=s.trim(),s.length===0?"":s.length===1?s.toLowerCase():/^[a-z0-9]+$/.test(s)?s:(s!==s.toLowerCase()&&(s=n(s)),s.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(o,a)=>a.toUpperCase()))}}),,(function(r,e){r.exports=function(n,s){for(var i=[],o=0;o<n.length;o++){var a=s(n[o],o);t(a)?i.push.apply(i,a):i.push(a)}return i};var t=Array.isArray||function(n){return Object.prototype.toString.call(n)==="[object Array]"}}),(function(r,e,t){t(205),t(207),t(210),t(206),t(208),t(209),r.exports=t(23).Promise}),(function(r,e){r.exports=function(){}}),(function(r,e){r.exports=function(t,n,s,i){if(!(t instanceof n)||i!==void 0&&i in t)throw TypeError(s+": incorrect invocation!");return t}}),(function(r,e,t){var n=t(74),s=t(110),i=t(200);r.exports=function(o){return function(a,u,c){var p=n(a),m=s(p.length),S=i(c,m),T;if(o&&u!=u){for(;m>S;)if(T=p[S++],T!=T)return!0}else for(;m>S;S++)if((o||S in p)&&p[S]===u)return o||S||0;return!o&&-1}}}),(function(r,m,t){var n=t(48),s=t(187),i=t(186),o=t(27),a=t(110),u=t(203),c={},p={},m=r.exports=function(S,T,h,b,$){var D=$?function(){return S}:u(S),A=n(h,b,T?2:1),I=0,w,g,x,C;if(typeof D!="function")throw TypeError(S+" is not iterable!");if(i(D)){for(w=a(S.length);w>I;I++)if(C=T?A(o(g=S[I])[0],g[1]):A(S[I]),C===c||C===p)return C}else for(x=D.call(S);!(g=x.next()).done;)if(C=s(x,A,g.value,T),C===c||C===p)return C};m.BREAK=c,m.RETURN=p}),(function(r,e,t){r.exports=!t(33)&&!t(85)(function(){return Object.defineProperty(t(68)("div"),"a",{get:function(){return 7}}).a!=7})}),(function(r,e){r.exports=function(t,n,s){var i=s===void 0;switch(n.length){case 0:return i?t():t.call(s);case 1:return i?t(n[0]):t.call(s,n[0]);case 2:return i?t(n[0],n[1]):t.call(s,n[0],n[1]);case 3:return i?t(n[0],n[1],n[2]):t.call(s,n[0],n[1],n[2]);case 4:return i?t(n[0],n[1],n[2],n[3]):t.call(s,n[0],n[1],n[2],n[3])}return t.apply(s,n)}}),(function(r,e,t){var n=t(35),s=t(13)("iterator"),i=Array.prototype;r.exports=function(o){return o!==void 0&&(n.Array===o||i[s]===o)}}),(function(r,e,t){var n=t(27);r.exports=function(s,i,o,a){try{return a?i(n(o)[0],o[1]):i(o)}catch(c){var u=s.return;throw u!==void 0&&n(u.call(s)),c}}}),(function(r,e,t){"use strict";var n=t(192),s=t(106),i=t(71),o={};t(31)(o,t(13)("iterator"),function(){return this}),r.exports=function(a,u,c){a.prototype=n(o,{next:s(1,c)}),i(a,u+" Iterator")}}),(function(r,e,t){var n=t(13)("iterator"),s=!1;try{var i=[7][n]();i.return=function(){s=!0},Array.from(i,function(){throw 2})}catch{}r.exports=function(o,a){if(!a&&!s)return!1;var u=!1;try{var c=[7],p=c[n]();p.next=function(){return{done:u=!0}},c[n]=function(){return p},o(c)}catch{}return u}}),(function(r,e){r.exports=function(t,n){return{value:n,done:!!t}}}),(function(r,e,t){var n=t(11),s=t(109).set,i=n.MutationObserver||n.WebKitMutationObserver,o=n.process,a=n.Promise,u=t(47)(o)=="process";r.exports=function(){var c,p,m,S=function(){var $,D;for(u&&($=o.domain)&&$.exit();c;){D=c.fn,c=c.next;try{D()}catch(A){throw c?m():p=void 0,A}}p=void 0,$&&$.enter()};if(u)m=function(){o.nextTick(S)};else if(i&&!(n.navigator&&n.navigator.standalone)){var T=!0,h=document.createTextNode("");new i(S).observe(h,{characterData:!0}),m=function(){h.data=T=!T}}else if(a&&a.resolve){var b=a.resolve(void 0);m=function(){b.then(S)}}else m=function(){s.call(n,S)};return function($){var D={fn:$,next:void 0};p&&(p.next=D),c||(c=D,m()),p=D}}}),(function(r,e,t){var n=t(27),s=t(193),i=t(101),o=t(72)("IE_PROTO"),a=function(){},u="prototype",c=function(){var p=t(68)("iframe"),m=i.length,S="<",T=">",h;for(p.style.display="none",t(102).appendChild(p),p.src="javascript:",h=p.contentWindow.document,h.open(),h.write(S+"script"+T+"document.F=Object"+S+"/script"+T),h.close(),c=h.F;m--;)delete c[u][i[m]];return c()};r.exports=Object.create||function(m,S){var T;return m!==null?(a[u]=n(m),T=new a,a[u]=null,T[o]=m):T=c(),S===void 0?T:s(T,S)}}),(function(r,e,t){var n=t(50),s=t(27),i=t(132);r.exports=t(33)?Object.defineProperties:function(a,u){s(a);for(var c=i(u),p=c.length,m=0,S;p>m;)n.f(a,S=c[m++],u[S]);return a}}),(function(r,e,t){var n=t(49),s=t(133),i=t(72)("IE_PROTO"),o=Object.prototype;r.exports=Object.getPrototypeOf||function(a){return a=s(a),n(a,i)?a[i]:typeof a.constructor=="function"&&a instanceof a.constructor?a.constructor.prototype:a instanceof Object?o:null}}),(function(r,e,t){var n=t(49),s=t(74),i=t(182)(!1),o=t(72)("IE_PROTO");r.exports=function(a,u){var c=s(a),p=0,m=[],S;for(S in c)S!=o&&n(c,S)&&m.push(S);for(;u.length>p;)n(c,S=u[p++])&&(~i(m,S)||m.push(S));return m}}),(function(r,e,t){var n=t(31);r.exports=function(s,i,o){for(var a in i)o&&s[a]?s[a]=i[a]:n(s,a,i[a]);return s}}),(function(r,e,t){r.exports=t(31)}),(function(r,e,t){"use strict";var n=t(11),s=t(23),i=t(50),o=t(33),a=t(13)("species");r.exports=function(u){var c=typeof s[u]=="function"?s[u]:n[u];o&&c&&!c[a]&&i.f(c,a,{configurable:!0,get:function(){return this}})}}),(function(r,e,t){var n=t(73),s=t(67);r.exports=function(i){return function(o,a){var u=String(s(o)),c=n(a),p=u.length,m,S;return c<0||c>=p?i?"":void 0:(m=u.charCodeAt(c),m<55296||m>56319||c+1===p||(S=u.charCodeAt(c+1))<56320||S>57343?i?u.charAt(c):m:i?u.slice(c,c+2):(m-55296<<10)+(S-56320)+65536)}}}),(function(r,e,t){var n=t(73),s=Math.max,i=Math.min;r.exports=function(o,a){return o=n(o),o<0?s(o+a,0):i(o,a)}}),(function(r,e,t){var n=t(34);r.exports=function(s,i){if(!n(s))return s;var o,a;if(i&&typeof(o=s.toString)=="function"&&!n(a=o.call(s))||typeof(o=s.valueOf)=="function"&&!n(a=o.call(s))||!i&&typeof(o=s.toString)=="function"&&!n(a=o.call(s)))return a;throw TypeError("Can't convert object to primitive value")}}),(function(r,e,t){var n=t(11),s=n.navigator;r.exports=s&&s.userAgent||""}),(function(r,e,t){var n=t(100),s=t(13)("iterator"),i=t(35);r.exports=t(23).getIteratorMethod=function(o){if(o!=null)return o[s]||o["@@iterator"]||i[n(o)]}}),(function(r,e,t){"use strict";var n=t(180),s=t(190),i=t(35),o=t(74);r.exports=t(103)(Array,"Array",function(a,u){this._t=o(a),this._i=0,this._k=u},function(){var a=this._t,u=this._k,c=this._i++;return!a||c>=a.length?(this._t=void 0,s(1)):u=="keys"?s(0,c):u=="values"?s(0,a[c]):s(0,[c,a[c]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")}),(function(r,e){}),(function(r,e,t){"use strict";var n=t(69),s=t(11),i=t(48),o=t(100),a=t(41),u=t(34),c=t(46),p=t(181),m=t(183),S=t(108),T=t(109).set,h=t(191)(),b=t(70),$=t(104),D=t(202),A=t(105),I="Promise",w=s.TypeError,g=s.process,x=g&&g.versions,C=x&&x.v8||"",O=s[I],k=o(g)=="process",L=function(){},y,l,d,f,v=l=b.f,E=!!(function(){try{var H=O.resolve(1),F=(H.constructor={})[t(13)("species")]=function(X){X(L,L)};return(k||typeof PromiseRejectionEvent=="function")&&H.then(L)instanceof F&&C.indexOf("6.6")!==0&&D.indexOf("Chrome/66")===-1}catch{}})(),R=function(H){var F;return u(H)&&typeof(F=H.then)=="function"?F:!1},N=function(H,F){if(!H._n){H._n=!0;var X=H._c;h(function(){for(var q=H._v,Q=H._s==1,_=0,pe=function(ce){var ke=Q?ce.ok:ce.fail,Ne=ce.resolve,ot=ce.reject,Re=ce.domain,Ae,Ce,at;try{ke?(Q||(H._h==2&&B(H),H._h=1),ke===!0?Ae=q:(Re&&Re.enter(),Ae=ke(q),Re&&(Re.exit(),at=!0)),Ae===ce.promise?ot(w("Promise-chain cycle")):(Ce=R(Ae))?Ce.call(Ae,Ne,ot):Ne(Ae)):ot(q)}catch(Oe){Re&&!at&&Re.exit(),ot(Oe)}};X.length>_;)pe(X[_++]);H._c=[],H._n=!1,F&&!H._h&&P(H)})}},P=function(H){T.call(s,function(){var F=H._v,X=M(H),q,Q,_;if(X&&(q=$(function(){k?g.emit("unhandledRejection",F,H):(Q=s.onunhandledrejection)?Q({promise:H,reason:F}):(_=s.console)&&_.error&&_.error("Unhandled promise rejection",F)}),H._h=k||M(H)?2:1),H._a=void 0,X&&q.e)throw q.v})},M=function(H){return H._h!==1&&(H._a||H._c).length===0},B=function(H){T.call(s,function(){var F;k?g.emit("rejectionHandled",H):(F=s.onrejectionhandled)&&F({promise:H,reason:H._v})})},z=function(H){var F=this;F._d||(F._d=!0,F=F._w||F,F._v=H,F._s=2,F._a||(F._a=F._c.slice()),N(F,!0))},Z=function(H){var F=this,X;if(!F._d){F._d=!0,F=F._w||F;try{if(F===H)throw w("Promise can't be resolved itself");(X=R(H))?h(function(){var q={_w:F,_d:!1};try{X.call(H,i(Z,q,1),i(z,q,1))}catch(Q){z.call(q,Q)}}):(F._v=H,F._s=1,N(F,!1))}catch(q){z.call({_w:F,_d:!1},q)}}};E||(O=function(F){p(this,O,I,"_h"),c(F),y.call(this);try{F(i(Z,this,1),i(z,this,1))}catch(X){z.call(this,X)}},y=function(F){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},y.prototype=t(196)(O.prototype,{then:function(F,X){var q=v(S(this,O));return q.ok=typeof F=="function"?F:!0,q.fail=typeof X=="function"&&X,q.domain=k?g.domain:void 0,this._c.push(q),this._a&&this._a.push(q),this._s&&N(this,!1),q.promise},catch:function(H){return this.then(void 0,H)}}),d=function(){var H=new y;this.promise=H,this.resolve=i(Z,H,1),this.reject=i(z,H,1)},b.f=v=function(H){return H===O||H===f?new d(H):l(H)}),a(a.G+a.W+a.F*!E,{Promise:O}),t(71)(O,I),t(198)(I),f=t(23)[I],a(a.S+a.F*!E,I,{reject:function(F){var X=v(this),q=X.reject;return q(F),X.promise}}),a(a.S+a.F*(n||!E),I,{resolve:function(F){return A(n&&this===f?O:this,F)}}),a(a.S+a.F*!(E&&t(189)(function(H){O.all(H).catch(L)})),I,{all:function(F){var X=this,q=v(X),Q=q.resolve,_=q.reject,pe=$(function(){var ce=[],ke=0,Ne=1;m(F,!1,function(ot){var Re=ke++,Ae=!1;ce.push(void 0),Ne++,X.resolve(ot).then(function(Ce){Ae||(Ae=!0,ce[Re]=Ce,--Ne||Q(ce))},_)}),--Ne||Q(ce)});return pe.e&&_(pe.v),q.promise},race:function(F){var X=this,q=v(X),Q=q.reject,_=$(function(){m(F,!1,function(pe){X.resolve(pe).then(q.resolve,Q)})});return _.e&&Q(_.v),q.promise}})}),(function(r,e,t){"use strict";var n=t(199)(!0);t(103)(String,"String",function(s){this._t=String(s),this._i=0},function(){var s=this._t,i=this._i,o;return i>=s.length?{value:void 0,done:!0}:(o=n(s,i),this._i+=o.length,{value:o,done:!1})})}),(function(r,e,t){"use strict";var n=t(41),s=t(23),i=t(11),o=t(108),a=t(105);n(n.P+n.R,"Promise",{finally:function(u){var c=o(this,s.Promise||i.Promise),p=typeof u=="function";return this.then(p?function(m){return a(c,u()).then(function(){return m})}:u,p?function(m){return a(c,u()).then(function(){throw m})}:u)}})}),(function(r,e,t){"use strict";var n=t(41),s=t(70),i=t(104);n(n.S,"Promise",{try:function(o){var a=s.f(this),u=i(o);return(u.e?a.reject:a.resolve)(u.v),a.promise}})}),(function(r,e,t){t(204);for(var n=t(11),s=t(31),i=t(35),o=t(13)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<a.length;u++){var c=a[u],p=n[c],m=p&&p.prototype;m&&!m[o]&&s(m,o,c),i[c]=i.Array}}),(function(r,e,t){e=r.exports=t(112),e.log=i,e.formatArgs=s,e.save=o,e.load=a,e.useColors=n,e.storage=typeof chrome<"u"&&typeof chrome.storage<"u"?chrome.storage.local:u(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){return typeof window<"u"&&window.process&&window.process.type==="renderer"?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}e.formatters.j=function(c){try{return JSON.stringify(c)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}};function s(c){var p=this.useColors;if(c[0]=(p?"%c":"")+this.namespace+(p?" %c":" ")+c[0]+(p?"%c ":" ")+"+"+e.humanize(this.diff),!!p){var m="color: "+this.color;c.splice(1,0,m,"color: inherit");var S=0,T=0;c[0].replace(/%[a-zA-Z%]/g,function(h){h!=="%%"&&(S++,h==="%c"&&(T=S))}),c.splice(T,0,m)}}function i(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function o(c){try{c==null?e.storage.removeItem("debug"):e.storage.debug=c}catch{}}function a(){var c;try{c=e.storage.debug}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=process.env.DEBUG),c}e.enable(a());function u(){try{return window.localStorage}catch{}}}),(function(r,e,t){typeof process>"u"||process.type==="renderer"?r.exports=t(211):r.exports=t(213)}),(function(r,e,t){var n=t(79),s=t(2);e=r.exports=t(112),e.init=S,e.log=c,e.formatArgs=a,e.save=p,e.load=m,e.useColors=o,e.colors=[6,2,3,4,5,1];try{var i=t(239);i&&i.level>=2&&(e.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}e.inspectOpts=Object.keys(process.env).filter(function(T){return/^debug_/i.test(T)}).reduce(function(T,h){var b=h.substring(6).toLowerCase().replace(/_([a-z])/g,function(D,A){return A.toUpperCase()}),$=process.env[h];return/^(yes|on|true|enabled)$/i.test($)?$=!0:/^(no|off|false|disabled)$/i.test($)?$=!1:$==="null"?$=null:$=Number($),T[b]=$,T},{});function o(){return"colors"in e.inspectOpts?!!e.inspectOpts.colors:n.isatty(process.stderr.fd)}e.formatters.o=function(T){return this.inspectOpts.colors=this.useColors,s.inspect(T,this.inspectOpts).split(`
30
+ `).map(function(h){return h.trim()}).join(" ")},e.formatters.O=function(T){return this.inspectOpts.colors=this.useColors,s.inspect(T,this.inspectOpts)};function a(T){var h=this.namespace,b=this.useColors;if(b){var $=this.color,D="\x1B[3"+($<8?$:"8;5;"+$),A=" "+D+";1m"+h+" \x1B[0m";T[0]=A+T[0].split(`
31
31
  `).join(`
32
- `+A),T.push(D+"m+"+e.humanize(this.diff)+"\x1B[0m")}else T[0]=u()+m+" "+T[0]}function u(){return e.inspectOpts.hideDate?"":new Date().toISOString()+" "}function c(){return process.stderr.write(s.format.apply(s,arguments)+`
33
- `)}function p(T){T==null?delete process.env.DEBUG:process.env.DEBUG=T}function h(){return process.env.DEBUG}function S(T){T.inspectOpts={};for(var m=Object.keys(e.inspectOpts),b=0;b<m.length;b++)T.inspectOpts[m[b]]=e.inspectOpts[m[b]]}e.enable(h())}),,,,(function(r,e,t){var n=t(0),s=process.platform==="win32",i=t(3),o=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function a(){var S;if(o){var T=new Error;S=m}else S=b;return S;function m($){$&&(T.message=$.message,$=T,b($))}function b($){if($){if(process.throwDeprecation)throw $;if(!process.noDeprecation){var D="fs: missing callback "+($.stack||$.message);process.traceDeprecation?console.trace(D):console.error(D)}}}}function u(S){return typeof S=="function"?S:a()}var c=n.normalize;if(s)var p=/(.*?)(?:[\/\\]+|$)/g;else var p=/(.*?)(?:[\/]+|$)/g;if(s)var h=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else var h=/^[\/]*/;e.realpathSync=function(T,m){if(T=n.resolve(T),m&&Object.prototype.hasOwnProperty.call(m,T))return m[T];var b=T,$={},D={},A,I,w,g;x();function x(){var l=h.exec(T);A=l[0].length,I=l[0],w=l[0],g="",s&&!D[w]&&(i.lstatSync(w),D[w]=!0)}for(;A<T.length;){p.lastIndex=A;var C=p.exec(T);if(g=I,I+=C[0],w=g+C[1],A=p.lastIndex,!(D[w]||m&&m[w]===w)){var O;if(m&&Object.prototype.hasOwnProperty.call(m,w))O=m[w];else{var k=i.lstatSync(w);if(!k.isSymbolicLink()){D[w]=!0,m&&(m[w]=w);continue}var L=null;if(!s){var y=k.dev.toString(32)+":"+k.ino.toString(32);$.hasOwnProperty(y)&&(L=$[y])}L===null&&(i.statSync(w),L=i.readlinkSync(w)),O=n.resolve(g,L),m&&(m[w]=O),s||($[y]=L)}T=n.resolve(O,T.slice(A)),x()}}return m&&(m[b]=T),T},e.realpath=function(T,m,b){if(typeof b!="function"&&(b=u(m),m=null),T=n.resolve(T),m&&Object.prototype.hasOwnProperty.call(m,T))return process.nextTick(b.bind(null,null,m[T]));var $=T,D={},A={},I,w,g,x;C();function C(){var l=h.exec(T);I=l[0].length,w=l[0],g=l[0],x="",s&&!A[g]?i.lstat(g,function(d){if(d)return b(d);A[g]=!0,O()}):process.nextTick(O)}function O(){if(I>=T.length)return m&&(m[$]=T),b(null,T);p.lastIndex=I;var l=p.exec(T);return x=w,w+=l[0],g=x+l[1],I=p.lastIndex,A[g]||m&&m[g]===g?process.nextTick(O):m&&Object.prototype.hasOwnProperty.call(m,g)?y(m[g]):i.lstat(g,k)}function k(l,d){if(l)return b(l);if(!d.isSymbolicLink())return A[g]=!0,m&&(m[g]=g),process.nextTick(O);if(!s){var f=d.dev.toString(32)+":"+d.ino.toString(32);if(D.hasOwnProperty(f))return L(null,D[f],g)}i.stat(g,function(v){if(v)return b(v);i.readlink(g,function(E,R){s||(D[f]=R),L(E,R)})})}function L(l,d,f){if(l)return b(l);var v=n.resolve(x,d);m&&(m[f]=v),y(v)}function y(l){T=n.resolve(l,T.slice(I)),C()}}}),(function(r,e,t){r.exports=I,I.GlobSync=w;var n=t(3),s=t(114),i=t(60),o=i.Minimatch,a=t(75).Glob,u=t(2),c=t(0),p=t(22),h=t(76),S=t(115),T=S.alphasort,m=S.alphasorti,b=S.setopts,$=S.ownProp,D=S.childrenIgnored,A=S.isIgnored;function I(g,x){if(typeof x=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
32
+ `+A),T.push(D+"m+"+e.humanize(this.diff)+"\x1B[0m")}else T[0]=u()+h+" "+T[0]}function u(){return e.inspectOpts.hideDate?"":new Date().toISOString()+" "}function c(){return process.stderr.write(s.format.apply(s,arguments)+`
33
+ `)}function p(T){T==null?delete process.env.DEBUG:process.env.DEBUG=T}function m(){return process.env.DEBUG}function S(T){T.inspectOpts={};for(var h=Object.keys(e.inspectOpts),b=0;b<h.length;b++)T.inspectOpts[h[b]]=e.inspectOpts[h[b]]}e.enable(m())}),,,,(function(r,e,t){var n=t(0),s=process.platform==="win32",i=t(3),o=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function a(){var S;if(o){var T=new Error;S=h}else S=b;return S;function h($){$&&(T.message=$.message,$=T,b($))}function b($){if($){if(process.throwDeprecation)throw $;if(!process.noDeprecation){var D="fs: missing callback "+($.stack||$.message);process.traceDeprecation?console.trace(D):console.error(D)}}}}function u(S){return typeof S=="function"?S:a()}var c=n.normalize;if(s)var p=/(.*?)(?:[\/\\]+|$)/g;else var p=/(.*?)(?:[\/]+|$)/g;if(s)var m=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else var m=/^[\/]*/;e.realpathSync=function(T,h){if(T=n.resolve(T),h&&Object.prototype.hasOwnProperty.call(h,T))return h[T];var b=T,$={},D={},A,I,w,g;x();function x(){var l=m.exec(T);A=l[0].length,I=l[0],w=l[0],g="",s&&!D[w]&&(i.lstatSync(w),D[w]=!0)}for(;A<T.length;){p.lastIndex=A;var C=p.exec(T);if(g=I,I+=C[0],w=g+C[1],A=p.lastIndex,!(D[w]||h&&h[w]===w)){var O;if(h&&Object.prototype.hasOwnProperty.call(h,w))O=h[w];else{var k=i.lstatSync(w);if(!k.isSymbolicLink()){D[w]=!0,h&&(h[w]=w);continue}var L=null;if(!s){var y=k.dev.toString(32)+":"+k.ino.toString(32);$.hasOwnProperty(y)&&(L=$[y])}L===null&&(i.statSync(w),L=i.readlinkSync(w)),O=n.resolve(g,L),h&&(h[w]=O),s||($[y]=L)}T=n.resolve(O,T.slice(A)),x()}}return h&&(h[b]=T),T},e.realpath=function(T,h,b){if(typeof b!="function"&&(b=u(h),h=null),T=n.resolve(T),h&&Object.prototype.hasOwnProperty.call(h,T))return process.nextTick(b.bind(null,null,h[T]));var $=T,D={},A={},I,w,g,x;C();function C(){var l=m.exec(T);I=l[0].length,w=l[0],g=l[0],x="",s&&!A[g]?i.lstat(g,function(d){if(d)return b(d);A[g]=!0,O()}):process.nextTick(O)}function O(){if(I>=T.length)return h&&(h[$]=T),b(null,T);p.lastIndex=I;var l=p.exec(T);return x=w,w+=l[0],g=x+l[1],I=p.lastIndex,A[g]||h&&h[g]===g?process.nextTick(O):h&&Object.prototype.hasOwnProperty.call(h,g)?y(h[g]):i.lstat(g,k)}function k(l,d){if(l)return b(l);if(!d.isSymbolicLink())return A[g]=!0,h&&(h[g]=g),process.nextTick(O);if(!s){var f=d.dev.toString(32)+":"+d.ino.toString(32);if(D.hasOwnProperty(f))return L(null,D[f],g)}i.stat(g,function(v){if(v)return b(v);i.readlink(g,function(E,R){s||(D[f]=R),L(E,R)})})}function L(l,d,f){if(l)return b(l);var v=n.resolve(x,d);h&&(h[f]=v),y(v)}function y(l){T=n.resolve(l,T.slice(I)),C()}}}),(function(r,e,t){r.exports=I,I.GlobSync=w;var n=t(3),s=t(114),i=t(60),o=i.Minimatch,a=t(75).Glob,u=t(2),c=t(0),p=t(22),m=t(76),S=t(115),T=S.alphasort,h=S.alphasorti,b=S.setopts,$=S.ownProp,D=S.childrenIgnored,A=S.isIgnored;function I(g,x){if(typeof x=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
34
34
  See: https://github.com/isaacs/node-glob/issues/167`);return new w(g,x).found}function w(g,x){if(!g)throw new Error("must provide pattern");if(typeof x=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
35
- See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof w))return new w(g,x);if(b(this,g,x),this.noprocess)return this;var C=this.minimatch.set.length;this.matches=new Array(C);for(var O=0;O<C;O++)this._process(this.minimatch.set[O],O,!1);this._finish()}w.prototype._finish=function(){if(p(this instanceof w),this.realpath){var g=this;this.matches.forEach(function(x,C){var O=g.matches[C]=Object.create(null);for(var k in x)try{k=g._makeAbs(k);var L=s.realpathSync(k,g.realpathCache);O[L]=!0}catch(y){if(y.syscall==="stat")O[g._makeAbs(k)]=!0;else throw y}})}S.finish(this)},w.prototype._process=function(g,x,C){p(this instanceof w);for(var O=0;typeof g[O]=="string";)O++;var k;switch(O){case g.length:this._processSimple(g.join("/"),x);return;case 0:k=null;break;default:k=g.slice(0,O).join("/");break}var L=g.slice(O),y;k===null?y=".":((h(k)||h(g.join("/")))&&(!k||!h(k))&&(k="/"+k),y=k);var l=this._makeAbs(y);if(!D(this,y)){var d=L[0]===i.GLOBSTAR;d?this._processGlobStar(k,y,l,L,x,C):this._processReaddir(k,y,l,L,x,C)}},w.prototype._processReaddir=function(g,x,C,O,k,L){var y=this._readdir(C,L);if(y){for(var l=O[0],d=!!this.minimatch.negate,f=l._glob,v=this.dot||f.charAt(0)===".",E=[],R=0;R<y.length;R++){var N=y[R];if(N.charAt(0)!=="."||v){var P;d&&!g?P=!N.match(l):P=N.match(l),P&&E.push(N)}}var M=E.length;if(M!==0){if(O.length===1&&!this.mark&&!this.stat){this.matches[k]||(this.matches[k]=Object.create(null));for(var R=0;R<M;R++){var N=E[R];g&&(g.slice(-1)!=="/"?N=g+"/"+N:N=g+N),N.charAt(0)==="/"&&!this.nomount&&(N=c.join(this.root,N)),this._emitMatch(k,N)}return}O.shift();for(var R=0;R<M;R++){var N=E[R],B;g?B=[g,N]:B=[N],this._process(B.concat(O),k,L)}}}},w.prototype._emitMatch=function(g,x){if(!A(this,x)){var C=this._makeAbs(x);if(this.mark&&(x=this._mark(x)),this.absolute&&(x=C),!this.matches[g][x]){if(this.nodir){var O=this.cache[C];if(O==="DIR"||Array.isArray(O))return}this.matches[g][x]=!0,this.stat&&this._stat(x)}}},w.prototype._readdirInGlobStar=function(g){if(this.follow)return this._readdir(g,!1);var x,C,O;try{C=n.lstatSync(g)}catch(L){if(L.code==="ENOENT")return null}var k=C&&C.isSymbolicLink();return this.symlinks[g]=k,!k&&C&&!C.isDirectory()?this.cache[g]="FILE":x=this._readdir(g,!1),x},w.prototype._readdir=function(g,x){var C;if(x&&!$(this.symlinks,g))return this._readdirInGlobStar(g);if($(this.cache,g)){var O=this.cache[g];if(!O||O==="FILE")return null;if(Array.isArray(O))return O}try{return this._readdirEntries(g,n.readdirSync(g))}catch(k){return this._readdirError(g,k),null}},w.prototype._readdirEntries=function(g,x){if(!this.mark&&!this.stat)for(var C=0;C<x.length;C++){var O=x[C];g==="/"?O=g+O:O=g+"/"+O,this.cache[O]=!0}return this.cache[g]=x,x},w.prototype._readdirError=function(g,x){switch(x.code){case"ENOTSUP":case"ENOTDIR":var C=this._makeAbs(g);if(this.cache[C]="FILE",C===this.cwdAbs){var O=new Error(x.code+" invalid cwd "+this.cwd);throw O.path=this.cwd,O.code=x.code,O}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(g)]=!1;break;default:if(this.cache[this._makeAbs(g)]=!1,this.strict)throw x;this.silent||console.error("glob error",x);break}},w.prototype._processGlobStar=function(g,x,C,O,k,L){var y=this._readdir(C,L);if(y){var l=O.slice(1),d=g?[g]:[],f=d.concat(l);this._process(f,k,!1);var v=y.length,E=this.symlinks[C];if(!(E&&L))for(var R=0;R<v;R++){var N=y[R];if(!(N.charAt(0)==="."&&!this.dot)){var P=d.concat(y[R],l);this._process(P,k,!0);var M=d.concat(y[R],O);this._process(M,k,!0)}}}},w.prototype._processSimple=function(g,x){var C=this._stat(g);if(this.matches[x]||(this.matches[x]=Object.create(null)),!!C){if(g&&h(g)&&!this.nomount){var O=/[\/\\]$/.test(g);g.charAt(0)==="/"?g=c.join(this.root,g):(g=c.resolve(this.root,g),O&&(g+="/"))}process.platform==="win32"&&(g=g.replace(/\\/g,"/")),this._emitMatch(x,g)}},w.prototype._stat=function(g){var x=this._makeAbs(g),C=g.slice(-1)==="/";if(g.length>this.maxLength)return!1;if(!this.stat&&$(this.cache,x)){var y=this.cache[x];if(Array.isArray(y)&&(y="DIR"),!C||y==="DIR")return y;if(C&&y==="FILE")return!1}var O,k=this.statCache[x];if(!k){var L;try{L=n.lstatSync(x)}catch(l){if(l&&(l.code==="ENOENT"||l.code==="ENOTDIR"))return this.statCache[x]=!1,!1}if(L&&L.isSymbolicLink())try{k=n.statSync(x)}catch{k=L}else k=L}this.statCache[x]=k;var y=!0;return k&&(y=k.isDirectory()?"DIR":"FILE"),this.cache[x]=this.cache[x]||y,C&&y==="FILE"?!1:y},w.prototype._mark=function(g){return S.mark(this,g)},w.prototype._makeAbs=function(g){return S.makeAbs(this,g)}}),,,(function(r,e,t){"use strict";r.exports=function(n,s){s=s||process.argv;var i=s.indexOf("--"),o=/^--/.test(n)?"":"--",a=s.indexOf(o+n);return a!==-1&&(i!==-1?a<i:!0)}}),,(function(r,e,t){var n=t(123),s=Object.create(null),i=t(61);r.exports=n(o);function o(c,p){return s[c]?(s[c].push(p),null):(s[c]=[p],a(c))}function a(c){return i(function p(){var h=s[c],S=h.length,T=u(arguments);try{for(var m=0;m<S;m++)h[m].apply(null,T)}finally{h.length>S?(h.splice(0,S),process.nextTick(function(){p.apply(null,T)})):delete s[c]}})}function u(c){for(var p=c.length,h=[],S=0;S<p;S++)h[S]=c[S];return h}}),(function(r,e){typeof Object.create=="function"?r.exports=function(n,s){n.super_=s,n.prototype=Object.create(s.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}})}:r.exports=function(n,s){n.super_=s;var i=function(){};i.prototype=s.prototype,n.prototype=new i,n.prototype.constructor=n}}),,,(function(r,e,t){r.exports=typeof t<"u"}),,(function(r,e){var t=1e3,n=t*60,s=n*60,i=s*24,o=i*365.25;r.exports=function(h,S){S=S||{};var T=typeof h;if(T==="string"&&h.length>0)return a(h);if(T==="number"&&isNaN(h)===!1)return S.long?c(h):u(h);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(h))};function a(h){if(h=String(h),!(h.length>100)){var S=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(h);if(S){var T=parseFloat(S[1]),m=(S[2]||"ms").toLowerCase();switch(m){case"years":case"year":case"yrs":case"yr":case"y":return T*o;case"days":case"day":case"d":return T*i;case"hours":case"hour":case"hrs":case"hr":case"h":return T*s;case"minutes":case"minute":case"mins":case"min":case"m":return T*n;case"seconds":case"second":case"secs":case"sec":case"s":return T*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return T;default:return}}}}function u(h){return h>=i?Math.round(h/i)+"d":h>=s?Math.round(h/s)+"h":h>=n?Math.round(h/n)+"m":h>=t?Math.round(h/t)+"s":h+"ms"}function c(h){return p(h,i,"day")||p(h,s,"hour")||p(h,n,"minute")||p(h,t,"second")||h+" ms"}function p(h,S,T){if(!(h<S))return h<S*1.5?Math.floor(h/S)+" "+T:Math.ceil(h/S)+" "+T+"s"}}),,,,(function(r,e,t){r.exports=S,S.sync=A;var n=t(22),s=t(0),i=t(3),o=t(75),a=parseInt("666",8),u={nosort:!0,silent:!0},c=0,p=process.platform==="win32";function h(g){var x=["unlink","chmod","stat","lstat","rmdir","readdir"];x.forEach(function(C){g[C]=g[C]||i[C],C=C+"Sync",g[C]=g[C]||i[C]}),g.maxBusyTries=g.maxBusyTries||3,g.emfileWait=g.emfileWait||1e3,g.glob===!1&&(g.disableGlob=!0),g.disableGlob=g.disableGlob||!1,g.glob=g.glob||u}function S(g,x,C){typeof x=="function"&&(C=x,x={}),n(g,"rimraf: missing path"),n.equal(typeof g,"string","rimraf: path should be a string"),n.equal(typeof C,"function","rimraf: callback function required"),n(x,"rimraf: invalid options argument provided"),n.equal(typeof x,"object","rimraf: options should be object"),h(x);var O=0,k=null,L=0;if(x.disableGlob||!o.hasMagic(g))return l(null,[g]);x.lstat(g,function(d,f){if(!d)return l(null,[g]);o(g,x.glob,l)});function y(d){k=k||d,--L===0&&C(k)}function l(d,f){if(d)return C(d);if(L=f.length,L===0)return C();f.forEach(function(v){T(v,x,function E(R){if(R){if((R.code==="EBUSY"||R.code==="ENOTEMPTY"||R.code==="EPERM")&&O<x.maxBusyTries){O++;var N=O*100;return setTimeout(function(){T(v,x,E)},N)}if(R.code==="EMFILE"&&c<x.emfileWait)return setTimeout(function(){T(v,x,E)},c++);R.code==="ENOENT"&&(R=null)}c=0,y(R)})})}}function T(g,x,C){n(g),n(x),n(typeof C=="function"),x.lstat(g,function(O,k){if(O&&O.code==="ENOENT")return C(null);if(O&&O.code==="EPERM"&&p&&m(g,x,O,C),k&&k.isDirectory())return $(g,x,O,C);x.unlink(g,function(L){if(L){if(L.code==="ENOENT")return C(null);if(L.code==="EPERM")return p?m(g,x,L,C):$(g,x,L,C);if(L.code==="EISDIR")return $(g,x,L,C)}return C(L)})})}function m(g,x,C,O){n(g),n(x),n(typeof O=="function"),C&&n(C instanceof Error),x.chmod(g,a,function(k){k?O(k.code==="ENOENT"?null:C):x.stat(g,function(L,y){L?O(L.code==="ENOENT"?null:C):y.isDirectory()?$(g,x,C,O):x.unlink(g,O)})})}function b(g,x,C){n(g),n(x),C&&n(C instanceof Error);try{x.chmodSync(g,a)}catch(k){if(k.code==="ENOENT")return;throw C}try{var O=x.statSync(g)}catch(k){if(k.code==="ENOENT")return;throw C}O.isDirectory()?I(g,x,C):x.unlinkSync(g)}function $(g,x,C,O){n(g),n(x),C&&n(C instanceof Error),n(typeof O=="function"),x.rmdir(g,function(k){k&&(k.code==="ENOTEMPTY"||k.code==="EEXIST"||k.code==="EPERM")?D(g,x,O):k&&k.code==="ENOTDIR"?O(C):O(k)})}function D(g,x,C){n(g),n(x),n(typeof C=="function"),x.readdir(g,function(O,k){if(O)return C(O);var L=k.length;if(L===0)return x.rmdir(g,C);var y;k.forEach(function(l){S(s.join(g,l),x,function(d){if(!y){if(d)return C(y=d);--L===0&&x.rmdir(g,C)}})})})}function A(g,x){x=x||{},h(x),n(g,"rimraf: missing path"),n.equal(typeof g,"string","rimraf: path should be a string"),n(x,"rimraf: missing options"),n.equal(typeof x,"object","rimraf: options should be object");var C;if(x.disableGlob||!o.hasMagic(g))C=[g];else try{x.lstatSync(g),C=[g]}catch{C=o.sync(g,x.glob)}if(C.length)for(var O=0;O<C.length;O++){var g=C[O];try{var k=x.lstatSync(g)}catch(y){if(y.code==="ENOENT")return;y.code==="EPERM"&&p&&b(g,x,y)}try{k&&k.isDirectory()?I(g,x,null):x.unlinkSync(g)}catch(y){if(y.code==="ENOENT")return;if(y.code==="EPERM")return p?b(g,x,y):I(g,x,y);if(y.code!=="EISDIR")throw y;I(g,x,y)}}}function I(g,x,C){n(g),n(x),C&&n(C instanceof Error);try{x.rmdirSync(g)}catch(O){if(O.code==="ENOENT")return;if(O.code==="ENOTDIR")throw C;(O.code==="ENOTEMPTY"||O.code==="EEXIST"||O.code==="EPERM")&&w(g,x)}}function w(g,x){n(g),n(x),x.readdirSync(g).forEach(function(y){A(s.join(g,y),x)});var C=p?100:1,O=0;do{var k=!0;try{var L=x.rmdirSync(g,x);return k=!1,L}finally{if(++O<C&&k)continue}}while(!0)}}),,,,,,(function(r,e,t){"use strict";var n=t(221),s=function(o){return o===0?!1:{level:o,hasBasic:!0,has256:o>=2,has16m:o>=3}},i=(function(){return n("no-color")||n("no-colors")||n("color=false")?0:n("color=16m")||n("color=full")||n("color=truecolor")?3:n("color=256")?2:n("color")||n("colors")||n("color=true")||n("color=always")?1:process.stdout&&!process.stdout.isTTY?0:process.platform==="win32"?1:"CI"in process.env?"TRAVIS"in process.env||process.env.CI==="Travis"?1:0:"TEAMCITY_VERSION"in process.env?process.env.TEAMCITY_VERSION.match(/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/)===null?0:1:/^(screen|xterm)-256(?:color)?/.test(process.env.TERM)?2:/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)||"COLORTERM"in process.env?1:(process.env.TERM==="dumb",0)})();i===0&&"FORCE_COLOR"in process.env&&(i=1),r.exports=process&&s(i)})])});var Js=ge((Iv,Gs)=>{"use strict";Gs.exports=function(e,t){t||(t=[process.stdout,process.stderr]);var n=0;function s(){n===t.length&&process.exit(e)}t.forEach(function(i){i.bufferSize===0?n++:i.write("","utf-8",function(){n++,s()}),i.write=function(){}}),s(),process.on("exit",function(){process.exit(e)})}});var bn=ge((ob,ii)=>{"use strict";var Jl=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{};ii.exports=Jl});var kn=ge((ab,oi)=>{"use strict";var Vl="2.0.0",Kl=Number.MAX_SAFE_INTEGER||9007199254740991,Yl=16,Ql=250,Zl=["major","premajor","minor","preminor","patch","prepatch","prerelease"];oi.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Yl,MAX_SAFE_BUILD_LENGTH:Ql,MAX_SAFE_INTEGER:Kl,RELEASE_TYPES:Zl,SEMVER_SPEC_VERSION:Vl,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var In=ge((bt,ai)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Er,MAX_SAFE_BUILD_LENGTH:ql,MAX_LENGTH:_l}=kn(),ec=bn();bt=ai.exports={};var tc=bt.re=[],nc=bt.safeRe=[],V=bt.src=[],rc=bt.safeSrc=[],K=bt.t={},sc=0,Sr="[a-zA-Z0-9-]",ic=[["\\s",1],["\\d",_l],[Sr,ql]],oc=r=>{for(let[e,t]of ic)r=r.split(`${e}*`).join(`${e}{0,${t}}`).split(`${e}+`).join(`${e}{1,${t}}`);return r},te=(r,e,t)=>{let n=oc(e),s=sc++;ec(r,s,e),K[r]=s,V[s]=e,rc[s]=n,tc[s]=new RegExp(e,t?"g":void 0),nc[s]=new RegExp(n,t?"g":void 0)};te("NUMERICIDENTIFIER","0|[1-9]\\d*");te("NUMERICIDENTIFIERLOOSE","\\d+");te("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Sr}*`);te("MAINVERSION",`(${V[K.NUMERICIDENTIFIER]})\\.(${V[K.NUMERICIDENTIFIER]})\\.(${V[K.NUMERICIDENTIFIER]})`);te("MAINVERSIONLOOSE",`(${V[K.NUMERICIDENTIFIERLOOSE]})\\.(${V[K.NUMERICIDENTIFIERLOOSE]})\\.(${V[K.NUMERICIDENTIFIERLOOSE]})`);te("PRERELEASEIDENTIFIER",`(?:${V[K.NONNUMERICIDENTIFIER]}|${V[K.NUMERICIDENTIFIER]})`);te("PRERELEASEIDENTIFIERLOOSE",`(?:${V[K.NONNUMERICIDENTIFIER]}|${V[K.NUMERICIDENTIFIERLOOSE]})`);te("PRERELEASE",`(?:-(${V[K.PRERELEASEIDENTIFIER]}(?:\\.${V[K.PRERELEASEIDENTIFIER]})*))`);te("PRERELEASELOOSE",`(?:-?(${V[K.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${V[K.PRERELEASEIDENTIFIERLOOSE]})*))`);te("BUILDIDENTIFIER",`${Sr}+`);te("BUILD",`(?:\\+(${V[K.BUILDIDENTIFIER]}(?:\\.${V[K.BUILDIDENTIFIER]})*))`);te("FULLPLAIN",`v?${V[K.MAINVERSION]}${V[K.PRERELEASE]}?${V[K.BUILD]}?`);te("FULL",`^${V[K.FULLPLAIN]}$`);te("LOOSEPLAIN",`[v=\\s]*${V[K.MAINVERSIONLOOSE]}${V[K.PRERELEASELOOSE]}?${V[K.BUILD]}?`);te("LOOSE",`^${V[K.LOOSEPLAIN]}$`);te("GTLT","((?:<|>)?=?)");te("XRANGEIDENTIFIERLOOSE",`${V[K.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);te("XRANGEIDENTIFIER",`${V[K.NUMERICIDENTIFIER]}|x|X|\\*`);te("XRANGEPLAIN",`[v=\\s]*(${V[K.XRANGEIDENTIFIER]})(?:\\.(${V[K.XRANGEIDENTIFIER]})(?:\\.(${V[K.XRANGEIDENTIFIER]})(?:${V[K.PRERELEASE]})?${V[K.BUILD]}?)?)?`);te("XRANGEPLAINLOOSE",`[v=\\s]*(${V[K.XRANGEIDENTIFIERLOOSE]})(?:\\.(${V[K.XRANGEIDENTIFIERLOOSE]})(?:\\.(${V[K.XRANGEIDENTIFIERLOOSE]})(?:${V[K.PRERELEASELOOSE]})?${V[K.BUILD]}?)?)?`);te("XRANGE",`^${V[K.GTLT]}\\s*${V[K.XRANGEPLAIN]}$`);te("XRANGELOOSE",`^${V[K.GTLT]}\\s*${V[K.XRANGEPLAINLOOSE]}$`);te("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Er}})(?:\\.(\\d{1,${Er}}))?(?:\\.(\\d{1,${Er}}))?`);te("COERCE",`${V[K.COERCEPLAIN]}(?:$|[^\\d])`);te("COERCEFULL",V[K.COERCEPLAIN]+`(?:${V[K.PRERELEASE]})?(?:${V[K.BUILD]})?(?:$|[^\\d])`);te("COERCERTL",V[K.COERCE],!0);te("COERCERTLFULL",V[K.COERCEFULL],!0);te("LONETILDE","(?:~>?)");te("TILDETRIM",`(\\s*)${V[K.LONETILDE]}\\s+`,!0);bt.tildeTrimReplace="$1~";te("TILDE",`^${V[K.LONETILDE]}${V[K.XRANGEPLAIN]}$`);te("TILDELOOSE",`^${V[K.LONETILDE]}${V[K.XRANGEPLAINLOOSE]}$`);te("LONECARET","(?:\\^)");te("CARETTRIM",`(\\s*)${V[K.LONECARET]}\\s+`,!0);bt.caretTrimReplace="$1^";te("CARET",`^${V[K.LONECARET]}${V[K.XRANGEPLAIN]}$`);te("CARETLOOSE",`^${V[K.LONECARET]}${V[K.XRANGEPLAINLOOSE]}$`);te("COMPARATORLOOSE",`^${V[K.GTLT]}\\s*(${V[K.LOOSEPLAIN]})$|^$`);te("COMPARATOR",`^${V[K.GTLT]}\\s*(${V[K.FULLPLAIN]})$|^$`);te("COMPARATORTRIM",`(\\s*)${V[K.GTLT]}\\s*(${V[K.LOOSEPLAIN]}|${V[K.XRANGEPLAIN]})`,!0);bt.comparatorTrimReplace="$1$2$3";te("HYPHENRANGE",`^\\s*(${V[K.XRANGEPLAIN]})\\s+-\\s+(${V[K.XRANGEPLAIN]})\\s*$`);te("HYPHENRANGELOOSE",`^\\s*(${V[K.XRANGEPLAINLOOSE]})\\s+-\\s+(${V[K.XRANGEPLAINLOOSE]})\\s*$`);te("STAR","(<|>)?=?\\s*\\*");te("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");te("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Mn=ge((lb,li)=>{"use strict";var ac=Object.freeze({loose:!0}),lc=Object.freeze({}),cc=r=>r?typeof r!="object"?ac:r:lc;li.exports=cc});var fi=ge((cb,di)=>{"use strict";var ci=/^[0-9]+$/,ui=(r,e)=>{if(typeof r=="number"&&typeof e=="number")return r===e?0:r<e?-1:1;let t=ci.test(r),n=ci.test(e);return t&&n&&(r=+r,e=+e),r===e?0:t&&!n?-1:n&&!t?1:r<e?-1:1},uc=(r,e)=>ui(e,r);di.exports={compareIdentifiers:ui,rcompareIdentifiers:uc}});var En=ge((ub,mi)=>{"use strict";var Fn=bn(),{MAX_LENGTH:pi,MAX_SAFE_INTEGER:Hn}=kn(),{safeRe:Bn,t:jn}=In(),dc=Mn(),{compareIdentifiers:$r}=fi(),xr=class r{constructor(e,t){if(t=dc(t),e instanceof r){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>pi)throw new TypeError(`version is longer than ${pi} characters`);Fn("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let n=e.trim().match(t.loose?Bn[jn.LOOSE]:Bn[jn.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Hn||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Hn||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Hn||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){let i=+s;if(i>=0&&i<Hn)return i}return s}):this.prerelease=[],this.build=n[5]?n[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(Fn("SemVer.compare",this.version,this.options,e),!(e instanceof r)){if(typeof e=="string"&&e===this.version)return 0;e=new r(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof r||(e=new r(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof r||(e=new r(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{let n=this.prerelease[t],s=e.prerelease[t];if(Fn("prerelease compare",t,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return $r(n,s)}while(++t)}compareBuild(e){e instanceof r||(e=new r(e,this.options));let t=0;do{let n=this.build[t],s=e.build[t];if(Fn("build compare",t,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return $r(n,s)}while(++t)}inc(e,t,n){if(e.startsWith("pre")){if(!t&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(t){let s=`-${t}`.match(this.options.loose?Bn[jn.PRERELEASELOOSE]:Bn[jn.PRERELEASE]);if(!s||s[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,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let s=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[s];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(t===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(t){let i=[t,s];n===!1&&(i=[t]),$r(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};mi.exports=xr});var Vt=ge((db,gi)=>{"use strict";var hi=En(),fc=(r,e,t)=>new hi(r,t).compare(new hi(e,t));gi.exports=fc});var Tr=ge((fb,yi)=>{"use strict";var pc=Vt(),mc=(r,e,t)=>pc(r,e,t)<=0;yi.exports=mc});var bi=ge((pb,vi)=>{"use strict";var hc=En(),gc=(r,e)=>new hc(r,e).major;vi.exports=gc});var Si=ge((mb,Ei)=>{"use strict";var Cr=class{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(t!==void 0)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){let s=this.map.keys().next().value;this.delete(s)}this.map.set(e,t)}return this}};Ei.exports=Cr});var xi=ge((hb,$i)=>{"use strict";var yc=Vt(),vc=(r,e,t)=>yc(r,e,t)===0;$i.exports=vc});var Ci=ge((gb,Ti)=>{"use strict";var bc=Vt(),Ec=(r,e,t)=>bc(r,e,t)!==0;Ti.exports=Ec});var Ri=ge((yb,Li)=>{"use strict";var Sc=Vt(),$c=(r,e,t)=>Sc(r,e,t)>0;Li.exports=$c});var Oi=ge((vb,Ai)=>{"use strict";var xc=Vt(),Tc=(r,e,t)=>xc(r,e,t)>=0;Ai.exports=Tc});var Lr=ge((bb,Di)=>{"use strict";var Cc=Vt(),Lc=(r,e,t)=>Cc(r,e,t)<0;Di.exports=Lc});var wi=ge((Eb,Ni)=>{"use strict";var Rc=xi(),Ac=Ci(),Oc=Ri(),Dc=Oi(),Nc=Lr(),wc=Tr(),Pc=(r,e,t,n)=>{switch(e){case"===":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r===t;case"!==":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r!==t;case"":case"=":case"==":return Rc(r,t,n);case"!=":return Ac(r,t,n);case">":return Oc(r,t,n);case">=":return Dc(r,t,n);case"<":return Nc(r,t,n);case"<=":return wc(r,t,n);default:throw new TypeError(`Invalid operator: ${e}`)}};Ni.exports=Pc});var Bi=ge((Sb,Hi)=>{"use strict";var Sn=Symbol("SemVer ANY"),Or=class r{static get ANY(){return Sn}constructor(e,t){if(t=Pi(t),e instanceof r){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Ar("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===Sn?this.value="":this.value=this.operator+this.semver.version,Ar("comp",this)}parse(e){let t=this.options.loose?ki[Ii.COMPARATORLOOSE]:ki[Ii.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new Mi(n[2],this.options.loose):this.semver=Sn}toString(){return this.value}test(e){if(Ar("Comparator.test",e,this.options.loose),this.semver===Sn||e===Sn)return!0;if(typeof e=="string")try{e=new Mi(e,this.options)}catch{return!1}return Rr(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new Fi(e.value,t).test(this.value):e.operator===""?e.value===""?!0:new Fi(this.value,t).test(e.semver):(t=Pi(t),t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||Rr(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Rr(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Hi.exports=Or;var Pi=Mn(),{safeRe:ki,t:Ii}=In(),Rr=wi(),Ar=bn(),Mi=En(),Fi=Dr()});var Dr=ge(($b,Wi)=>{"use strict";var kc=/\s+/g,Nr=class r{constructor(e,t){if(t=Mc(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof wr)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(kc," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(s=>!Ui(s[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let s of this.set)if(s.length===1&&Wc(s[0])){this.set=[s];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let t=this.set[e];for(let n=0;n<t.length;n++)n>0&&(this.formatted+=" "),this.formatted+=t[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let n=((this.options.includePrerelease&&Uc)|(this.options.loose&&zc))+":"+e,s=ji.get(n);if(s)return s;let i=this.options.loose,o=i?Xe[Me.HYPHENRANGELOOSE]:Xe[Me.HYPHENRANGE];e=e.replace(o,_c(this.options.includePrerelease)),ve("hyphen replace",e),e=e.replace(Xe[Me.COMPARATORTRIM],Hc),ve("comparator trim",e),e=e.replace(Xe[Me.TILDETRIM],Bc),ve("tilde trim",e),e=e.replace(Xe[Me.CARETTRIM],jc),ve("caret trim",e);let a=e.split(" ").map(h=>Xc(h,this.options)).join(" ").split(/\s+/).map(h=>qc(h,this.options));i&&(a=a.filter(h=>(ve("loose invalid filter",h,this.options),!!h.match(Xe[Me.COMPARATORLOOSE])))),ve("range list",a);let u=new Map,c=a.map(h=>new wr(h,this.options));for(let h of c){if(Ui(h))return[h];u.set(h.value,h)}u.size>1&&u.has("")&&u.delete("");let p=[...u.values()];return ji.set(n,p),p}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some(n=>zi(n,t)&&e.set.some(s=>zi(s,t)&&n.every(i=>s.every(o=>i.intersects(o,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new Fc(e,this.options)}catch{return!1}for(let t=0;t<this.set.length;t++)if(eu(this.set[t],e,this.options))return!0;return!1}};Wi.exports=Nr;var Ic=Si(),ji=new Ic,Mc=Mn(),wr=Bi(),ve=bn(),Fc=En(),{safeRe:Xe,t:Me,comparatorTrimReplace:Hc,tildeTrimReplace:Bc,caretTrimReplace:jc}=In(),{FLAG_INCLUDE_PRERELEASE:Uc,FLAG_LOOSE:zc}=kn(),Ui=r=>r.value==="<0.0.0-0",Wc=r=>r.value==="",zi=(r,e)=>{let t=!0,n=r.slice(),s=n.pop();for(;t&&n.length;)t=n.every(i=>s.intersects(i,e)),s=n.pop();return t},Xc=(r,e)=>(r=r.replace(Xe[Me.BUILD],""),ve("comp",r,e),r=Vc(r,e),ve("caret",r),r=Gc(r,e),ve("tildes",r),r=Yc(r,e),ve("xrange",r),r=Zc(r,e),ve("stars",r),r),Ge=r=>!r||r.toLowerCase()==="x"||r==="*",Gc=(r,e)=>r.trim().split(/\s+/).map(t=>Jc(t,e)).join(" "),Jc=(r,e)=>{let t=e.loose?Xe[Me.TILDELOOSE]:Xe[Me.TILDE];return r.replace(t,(n,s,i,o,a)=>{ve("tilde",r,n,s,i,o,a);let u;return Ge(s)?u="":Ge(i)?u=`>=${s}.0.0 <${+s+1}.0.0-0`:Ge(o)?u=`>=${s}.${i}.0 <${s}.${+i+1}.0-0`:a?(ve("replaceTilde pr",a),u=`>=${s}.${i}.${o}-${a} <${s}.${+i+1}.0-0`):u=`>=${s}.${i}.${o} <${s}.${+i+1}.0-0`,ve("tilde return",u),u})},Vc=(r,e)=>r.trim().split(/\s+/).map(t=>Kc(t,e)).join(" "),Kc=(r,e)=>{ve("caret",r,e);let t=e.loose?Xe[Me.CARETLOOSE]:Xe[Me.CARET],n=e.includePrerelease?"-0":"";return r.replace(t,(s,i,o,a,u)=>{ve("caret",r,s,i,o,a,u);let c;return Ge(i)?c="":Ge(o)?c=`>=${i}.0.0${n} <${+i+1}.0.0-0`:Ge(a)?i==="0"?c=`>=${i}.${o}.0${n} <${i}.${+o+1}.0-0`:c=`>=${i}.${o}.0${n} <${+i+1}.0.0-0`:u?(ve("replaceCaret pr",u),i==="0"?o==="0"?c=`>=${i}.${o}.${a}-${u} <${i}.${o}.${+a+1}-0`:c=`>=${i}.${o}.${a}-${u} <${i}.${+o+1}.0-0`:c=`>=${i}.${o}.${a}-${u} <${+i+1}.0.0-0`):(ve("no pr"),i==="0"?o==="0"?c=`>=${i}.${o}.${a}${n} <${i}.${o}.${+a+1}-0`:c=`>=${i}.${o}.${a}${n} <${i}.${+o+1}.0-0`:c=`>=${i}.${o}.${a} <${+i+1}.0.0-0`),ve("caret return",c),c})},Yc=(r,e)=>(ve("replaceXRanges",r,e),r.split(/\s+/).map(t=>Qc(t,e)).join(" ")),Qc=(r,e)=>{r=r.trim();let t=e.loose?Xe[Me.XRANGELOOSE]:Xe[Me.XRANGE];return r.replace(t,(n,s,i,o,a,u)=>{ve("xRange",r,n,s,i,o,a,u);let c=Ge(i),p=c||Ge(o),h=p||Ge(a),S=h;return s==="="&&S&&(s=""),u=e.includePrerelease?"-0":"",c?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&S?(p&&(o=0),a=0,s===">"?(s=">=",p?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):s==="<="&&(s="<",p?i=+i+1:o=+o+1),s==="<"&&(u="-0"),n=`${s+i}.${o}.${a}${u}`):p?n=`>=${i}.0.0${u} <${+i+1}.0.0-0`:h&&(n=`>=${i}.${o}.0${u} <${i}.${+o+1}.0-0`),ve("xRange return",n),n})},Zc=(r,e)=>(ve("replaceStars",r,e),r.trim().replace(Xe[Me.STAR],"")),qc=(r,e)=>(ve("replaceGTE0",r,e),r.trim().replace(Xe[e.includePrerelease?Me.GTE0PRE:Me.GTE0],"")),_c=r=>(e,t,n,s,i,o,a,u,c,p,h,S)=>(Ge(n)?t="":Ge(s)?t=`>=${n}.0.0${r?"-0":""}`:Ge(i)?t=`>=${n}.${s}.0${r?"-0":""}`:o?t=`>=${t}`:t=`>=${t}${r?"-0":""}`,Ge(c)?u="":Ge(p)?u=`<${+c+1}.0.0-0`:Ge(h)?u=`<${c}.${+p+1}.0-0`:S?u=`<=${c}.${p}.${h}-${S}`:r?u=`<${c}.${p}.${+h+1}-0`:u=`<=${u}`,`${t} ${u}`.trim()),eu=(r,e,t)=>{for(let n=0;n<r.length;n++)if(!r[n].test(e))return!1;if(e.prerelease.length&&!t.includePrerelease){for(let n=0;n<r.length;n++)if(ve(r[n].semver),r[n].semver!==wr.ANY&&r[n].semver.prerelease.length>0){let s=r[n].semver;if(s.major===e.major&&s.minor===e.minor&&s.patch===e.patch)return!0}return!1}return!0}});var Gi=ge((xb,Xi)=>{"use strict";var tu=Dr(),nu=(r,e,t)=>{try{e=new tu(e,t)}catch{return!1}return e.test(r)};Xi.exports=nu});var gu={};Hr(gu,{createNodeLogger:()=>Qr,createNodeSys:()=>mo,setupNodeProcess:()=>zs});module.exports=To(gu);var Ln=be(require("./graceful-fs.js")),Yr=be(require("path"));var ee=be(Gr());var _n=["debug","info","warn","error"];var Kr=r=>{let e="info",t=null,n=[],s=l=>e=l,i=()=>e,o=l=>t=l,a=(...l)=>{if(qt(e,"info")){let d=yt(l,r.getColumns());u(d),console.log(d.join(`
35
+ See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof w))return new w(g,x);if(b(this,g,x),this.noprocess)return this;var C=this.minimatch.set.length;this.matches=new Array(C);for(var O=0;O<C;O++)this._process(this.minimatch.set[O],O,!1);this._finish()}w.prototype._finish=function(){if(p(this instanceof w),this.realpath){var g=this;this.matches.forEach(function(x,C){var O=g.matches[C]=Object.create(null);for(var k in x)try{k=g._makeAbs(k);var L=s.realpathSync(k,g.realpathCache);O[L]=!0}catch(y){if(y.syscall==="stat")O[g._makeAbs(k)]=!0;else throw y}})}S.finish(this)},w.prototype._process=function(g,x,C){p(this instanceof w);for(var O=0;typeof g[O]=="string";)O++;var k;switch(O){case g.length:this._processSimple(g.join("/"),x);return;case 0:k=null;break;default:k=g.slice(0,O).join("/");break}var L=g.slice(O),y;k===null?y=".":((m(k)||m(g.join("/")))&&(!k||!m(k))&&(k="/"+k),y=k);var l=this._makeAbs(y);if(!D(this,y)){var d=L[0]===i.GLOBSTAR;d?this._processGlobStar(k,y,l,L,x,C):this._processReaddir(k,y,l,L,x,C)}},w.prototype._processReaddir=function(g,x,C,O,k,L){var y=this._readdir(C,L);if(y){for(var l=O[0],d=!!this.minimatch.negate,f=l._glob,v=this.dot||f.charAt(0)===".",E=[],R=0;R<y.length;R++){var N=y[R];if(N.charAt(0)!=="."||v){var P;d&&!g?P=!N.match(l):P=N.match(l),P&&E.push(N)}}var M=E.length;if(M!==0){if(O.length===1&&!this.mark&&!this.stat){this.matches[k]||(this.matches[k]=Object.create(null));for(var R=0;R<M;R++){var N=E[R];g&&(g.slice(-1)!=="/"?N=g+"/"+N:N=g+N),N.charAt(0)==="/"&&!this.nomount&&(N=c.join(this.root,N)),this._emitMatch(k,N)}return}O.shift();for(var R=0;R<M;R++){var N=E[R],B;g?B=[g,N]:B=[N],this._process(B.concat(O),k,L)}}}},w.prototype._emitMatch=function(g,x){if(!A(this,x)){var C=this._makeAbs(x);if(this.mark&&(x=this._mark(x)),this.absolute&&(x=C),!this.matches[g][x]){if(this.nodir){var O=this.cache[C];if(O==="DIR"||Array.isArray(O))return}this.matches[g][x]=!0,this.stat&&this._stat(x)}}},w.prototype._readdirInGlobStar=function(g){if(this.follow)return this._readdir(g,!1);var x,C,O;try{C=n.lstatSync(g)}catch(L){if(L.code==="ENOENT")return null}var k=C&&C.isSymbolicLink();return this.symlinks[g]=k,!k&&C&&!C.isDirectory()?this.cache[g]="FILE":x=this._readdir(g,!1),x},w.prototype._readdir=function(g,x){var C;if(x&&!$(this.symlinks,g))return this._readdirInGlobStar(g);if($(this.cache,g)){var O=this.cache[g];if(!O||O==="FILE")return null;if(Array.isArray(O))return O}try{return this._readdirEntries(g,n.readdirSync(g))}catch(k){return this._readdirError(g,k),null}},w.prototype._readdirEntries=function(g,x){if(!this.mark&&!this.stat)for(var C=0;C<x.length;C++){var O=x[C];g==="/"?O=g+O:O=g+"/"+O,this.cache[O]=!0}return this.cache[g]=x,x},w.prototype._readdirError=function(g,x){switch(x.code){case"ENOTSUP":case"ENOTDIR":var C=this._makeAbs(g);if(this.cache[C]="FILE",C===this.cwdAbs){var O=new Error(x.code+" invalid cwd "+this.cwd);throw O.path=this.cwd,O.code=x.code,O}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(g)]=!1;break;default:if(this.cache[this._makeAbs(g)]=!1,this.strict)throw x;this.silent||console.error("glob error",x);break}},w.prototype._processGlobStar=function(g,x,C,O,k,L){var y=this._readdir(C,L);if(y){var l=O.slice(1),d=g?[g]:[],f=d.concat(l);this._process(f,k,!1);var v=y.length,E=this.symlinks[C];if(!(E&&L))for(var R=0;R<v;R++){var N=y[R];if(!(N.charAt(0)==="."&&!this.dot)){var P=d.concat(y[R],l);this._process(P,k,!0);var M=d.concat(y[R],O);this._process(M,k,!0)}}}},w.prototype._processSimple=function(g,x){var C=this._stat(g);if(this.matches[x]||(this.matches[x]=Object.create(null)),!!C){if(g&&m(g)&&!this.nomount){var O=/[\/\\]$/.test(g);g.charAt(0)==="/"?g=c.join(this.root,g):(g=c.resolve(this.root,g),O&&(g+="/"))}process.platform==="win32"&&(g=g.replace(/\\/g,"/")),this._emitMatch(x,g)}},w.prototype._stat=function(g){var x=this._makeAbs(g),C=g.slice(-1)==="/";if(g.length>this.maxLength)return!1;if(!this.stat&&$(this.cache,x)){var y=this.cache[x];if(Array.isArray(y)&&(y="DIR"),!C||y==="DIR")return y;if(C&&y==="FILE")return!1}var O,k=this.statCache[x];if(!k){var L;try{L=n.lstatSync(x)}catch(l){if(l&&(l.code==="ENOENT"||l.code==="ENOTDIR"))return this.statCache[x]=!1,!1}if(L&&L.isSymbolicLink())try{k=n.statSync(x)}catch{k=L}else k=L}this.statCache[x]=k;var y=!0;return k&&(y=k.isDirectory()?"DIR":"FILE"),this.cache[x]=this.cache[x]||y,C&&y==="FILE"?!1:y},w.prototype._mark=function(g){return S.mark(this,g)},w.prototype._makeAbs=function(g){return S.makeAbs(this,g)}}),,,(function(r,e,t){"use strict";r.exports=function(n,s){s=s||process.argv;var i=s.indexOf("--"),o=/^--/.test(n)?"":"--",a=s.indexOf(o+n);return a!==-1&&(i!==-1?a<i:!0)}}),,(function(r,e,t){var n=t(123),s=Object.create(null),i=t(61);r.exports=n(o);function o(c,p){return s[c]?(s[c].push(p),null):(s[c]=[p],a(c))}function a(c){return i(function p(){var m=s[c],S=m.length,T=u(arguments);try{for(var h=0;h<S;h++)m[h].apply(null,T)}finally{m.length>S?(m.splice(0,S),process.nextTick(function(){p.apply(null,T)})):delete s[c]}})}function u(c){for(var p=c.length,m=[],S=0;S<p;S++)m[S]=c[S];return m}}),(function(r,e){typeof Object.create=="function"?r.exports=function(n,s){n.super_=s,n.prototype=Object.create(s.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}})}:r.exports=function(n,s){n.super_=s;var i=function(){};i.prototype=s.prototype,n.prototype=new i,n.prototype.constructor=n}}),,,(function(r,e,t){r.exports=typeof t<"u"}),,(function(r,e){var t=1e3,n=t*60,s=n*60,i=s*24,o=i*365.25;r.exports=function(m,S){S=S||{};var T=typeof m;if(T==="string"&&m.length>0)return a(m);if(T==="number"&&isNaN(m)===!1)return S.long?c(m):u(m);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(m))};function a(m){if(m=String(m),!(m.length>100)){var S=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(m);if(S){var T=parseFloat(S[1]),h=(S[2]||"ms").toLowerCase();switch(h){case"years":case"year":case"yrs":case"yr":case"y":return T*o;case"days":case"day":case"d":return T*i;case"hours":case"hour":case"hrs":case"hr":case"h":return T*s;case"minutes":case"minute":case"mins":case"min":case"m":return T*n;case"seconds":case"second":case"secs":case"sec":case"s":return T*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return T;default:return}}}}function u(m){return m>=i?Math.round(m/i)+"d":m>=s?Math.round(m/s)+"h":m>=n?Math.round(m/n)+"m":m>=t?Math.round(m/t)+"s":m+"ms"}function c(m){return p(m,i,"day")||p(m,s,"hour")||p(m,n,"minute")||p(m,t,"second")||m+" ms"}function p(m,S,T){if(!(m<S))return m<S*1.5?Math.floor(m/S)+" "+T:Math.ceil(m/S)+" "+T+"s"}}),,,,(function(r,e,t){r.exports=S,S.sync=A;var n=t(22),s=t(0),i=t(3),o=t(75),a=parseInt("666",8),u={nosort:!0,silent:!0},c=0,p=process.platform==="win32";function m(g){var x=["unlink","chmod","stat","lstat","rmdir","readdir"];x.forEach(function(C){g[C]=g[C]||i[C],C=C+"Sync",g[C]=g[C]||i[C]}),g.maxBusyTries=g.maxBusyTries||3,g.emfileWait=g.emfileWait||1e3,g.glob===!1&&(g.disableGlob=!0),g.disableGlob=g.disableGlob||!1,g.glob=g.glob||u}function S(g,x,C){typeof x=="function"&&(C=x,x={}),n(g,"rimraf: missing path"),n.equal(typeof g,"string","rimraf: path should be a string"),n.equal(typeof C,"function","rimraf: callback function required"),n(x,"rimraf: invalid options argument provided"),n.equal(typeof x,"object","rimraf: options should be object"),m(x);var O=0,k=null,L=0;if(x.disableGlob||!o.hasMagic(g))return l(null,[g]);x.lstat(g,function(d,f){if(!d)return l(null,[g]);o(g,x.glob,l)});function y(d){k=k||d,--L===0&&C(k)}function l(d,f){if(d)return C(d);if(L=f.length,L===0)return C();f.forEach(function(v){T(v,x,function E(R){if(R){if((R.code==="EBUSY"||R.code==="ENOTEMPTY"||R.code==="EPERM")&&O<x.maxBusyTries){O++;var N=O*100;return setTimeout(function(){T(v,x,E)},N)}if(R.code==="EMFILE"&&c<x.emfileWait)return setTimeout(function(){T(v,x,E)},c++);R.code==="ENOENT"&&(R=null)}c=0,y(R)})})}}function T(g,x,C){n(g),n(x),n(typeof C=="function"),x.lstat(g,function(O,k){if(O&&O.code==="ENOENT")return C(null);if(O&&O.code==="EPERM"&&p&&h(g,x,O,C),k&&k.isDirectory())return $(g,x,O,C);x.unlink(g,function(L){if(L){if(L.code==="ENOENT")return C(null);if(L.code==="EPERM")return p?h(g,x,L,C):$(g,x,L,C);if(L.code==="EISDIR")return $(g,x,L,C)}return C(L)})})}function h(g,x,C,O){n(g),n(x),n(typeof O=="function"),C&&n(C instanceof Error),x.chmod(g,a,function(k){k?O(k.code==="ENOENT"?null:C):x.stat(g,function(L,y){L?O(L.code==="ENOENT"?null:C):y.isDirectory()?$(g,x,C,O):x.unlink(g,O)})})}function b(g,x,C){n(g),n(x),C&&n(C instanceof Error);try{x.chmodSync(g,a)}catch(k){if(k.code==="ENOENT")return;throw C}try{var O=x.statSync(g)}catch(k){if(k.code==="ENOENT")return;throw C}O.isDirectory()?I(g,x,C):x.unlinkSync(g)}function $(g,x,C,O){n(g),n(x),C&&n(C instanceof Error),n(typeof O=="function"),x.rmdir(g,function(k){k&&(k.code==="ENOTEMPTY"||k.code==="EEXIST"||k.code==="EPERM")?D(g,x,O):k&&k.code==="ENOTDIR"?O(C):O(k)})}function D(g,x,C){n(g),n(x),n(typeof C=="function"),x.readdir(g,function(O,k){if(O)return C(O);var L=k.length;if(L===0)return x.rmdir(g,C);var y;k.forEach(function(l){S(s.join(g,l),x,function(d){if(!y){if(d)return C(y=d);--L===0&&x.rmdir(g,C)}})})})}function A(g,x){x=x||{},m(x),n(g,"rimraf: missing path"),n.equal(typeof g,"string","rimraf: path should be a string"),n(x,"rimraf: missing options"),n.equal(typeof x,"object","rimraf: options should be object");var C;if(x.disableGlob||!o.hasMagic(g))C=[g];else try{x.lstatSync(g),C=[g]}catch{C=o.sync(g,x.glob)}if(C.length)for(var O=0;O<C.length;O++){var g=C[O];try{var k=x.lstatSync(g)}catch(y){if(y.code==="ENOENT")return;y.code==="EPERM"&&p&&b(g,x,y)}try{k&&k.isDirectory()?I(g,x,null):x.unlinkSync(g)}catch(y){if(y.code==="ENOENT")return;if(y.code==="EPERM")return p?b(g,x,y):I(g,x,y);if(y.code!=="EISDIR")throw y;I(g,x,y)}}}function I(g,x,C){n(g),n(x),C&&n(C instanceof Error);try{x.rmdirSync(g)}catch(O){if(O.code==="ENOENT")return;if(O.code==="ENOTDIR")throw C;(O.code==="ENOTEMPTY"||O.code==="EEXIST"||O.code==="EPERM")&&w(g,x)}}function w(g,x){n(g),n(x),x.readdirSync(g).forEach(function(y){A(s.join(g,y),x)});var C=p?100:1,O=0;do{var k=!0;try{var L=x.rmdirSync(g,x);return k=!1,L}finally{if(++O<C&&k)continue}}while(!0)}}),,,,,,(function(r,e,t){"use strict";var n=t(221),s=function(o){return o===0?!1:{level:o,hasBasic:!0,has256:o>=2,has16m:o>=3}},i=(function(){return n("no-color")||n("no-colors")||n("color=false")?0:n("color=16m")||n("color=full")||n("color=truecolor")?3:n("color=256")?2:n("color")||n("colors")||n("color=true")||n("color=always")?1:process.stdout&&!process.stdout.isTTY?0:process.platform==="win32"?1:"CI"in process.env?"TRAVIS"in process.env||process.env.CI==="Travis"?1:0:"TEAMCITY_VERSION"in process.env?process.env.TEAMCITY_VERSION.match(/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/)===null?0:1:/^(screen|xterm)-256(?:color)?/.test(process.env.TERM)?2:/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)||"COLORTERM"in process.env?1:(process.env.TERM==="dumb",0)})();i===0&&"FORCE_COLOR"in process.env&&(i=1),r.exports=process&&s(i)})])});var Js=ge((Iv,Gs)=>{"use strict";Gs.exports=function(e,t){t||(t=[process.stdout,process.stderr]);var n=0;function s(){n===t.length&&process.exit(e)}t.forEach(function(i){i.bufferSize===0?n++:i.write("","utf-8",function(){n++,s()}),i.write=function(){}}),s(),process.on("exit",function(){process.exit(e)})}});var bn=ge((ob,ii)=>{"use strict";var Jl=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{};ii.exports=Jl});var kn=ge((ab,oi)=>{"use strict";var Vl="2.0.0",Kl=Number.MAX_SAFE_INTEGER||9007199254740991,Yl=16,Ql=250,Zl=["major","premajor","minor","preminor","patch","prepatch","prerelease"];oi.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Yl,MAX_SAFE_BUILD_LENGTH:Ql,MAX_SAFE_INTEGER:Kl,RELEASE_TYPES:Zl,SEMVER_SPEC_VERSION:Vl,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var In=ge((bt,ai)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Er,MAX_SAFE_BUILD_LENGTH:ql,MAX_LENGTH:_l}=kn(),ec=bn();bt=ai.exports={};var tc=bt.re=[],nc=bt.safeRe=[],V=bt.src=[],rc=bt.safeSrc=[],K=bt.t={},sc=0,Sr="[a-zA-Z0-9-]",ic=[["\\s",1],["\\d",_l],[Sr,ql]],oc=r=>{for(let[e,t]of ic)r=r.split(`${e}*`).join(`${e}{0,${t}}`).split(`${e}+`).join(`${e}{1,${t}}`);return r},te=(r,e,t)=>{let n=oc(e),s=sc++;ec(r,s,e),K[r]=s,V[s]=e,rc[s]=n,tc[s]=new RegExp(e,t?"g":void 0),nc[s]=new RegExp(n,t?"g":void 0)};te("NUMERICIDENTIFIER","0|[1-9]\\d*");te("NUMERICIDENTIFIERLOOSE","\\d+");te("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Sr}*`);te("MAINVERSION",`(${V[K.NUMERICIDENTIFIER]})\\.(${V[K.NUMERICIDENTIFIER]})\\.(${V[K.NUMERICIDENTIFIER]})`);te("MAINVERSIONLOOSE",`(${V[K.NUMERICIDENTIFIERLOOSE]})\\.(${V[K.NUMERICIDENTIFIERLOOSE]})\\.(${V[K.NUMERICIDENTIFIERLOOSE]})`);te("PRERELEASEIDENTIFIER",`(?:${V[K.NONNUMERICIDENTIFIER]}|${V[K.NUMERICIDENTIFIER]})`);te("PRERELEASEIDENTIFIERLOOSE",`(?:${V[K.NONNUMERICIDENTIFIER]}|${V[K.NUMERICIDENTIFIERLOOSE]})`);te("PRERELEASE",`(?:-(${V[K.PRERELEASEIDENTIFIER]}(?:\\.${V[K.PRERELEASEIDENTIFIER]})*))`);te("PRERELEASELOOSE",`(?:-?(${V[K.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${V[K.PRERELEASEIDENTIFIERLOOSE]})*))`);te("BUILDIDENTIFIER",`${Sr}+`);te("BUILD",`(?:\\+(${V[K.BUILDIDENTIFIER]}(?:\\.${V[K.BUILDIDENTIFIER]})*))`);te("FULLPLAIN",`v?${V[K.MAINVERSION]}${V[K.PRERELEASE]}?${V[K.BUILD]}?`);te("FULL",`^${V[K.FULLPLAIN]}$`);te("LOOSEPLAIN",`[v=\\s]*${V[K.MAINVERSIONLOOSE]}${V[K.PRERELEASELOOSE]}?${V[K.BUILD]}?`);te("LOOSE",`^${V[K.LOOSEPLAIN]}$`);te("GTLT","((?:<|>)?=?)");te("XRANGEIDENTIFIERLOOSE",`${V[K.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);te("XRANGEIDENTIFIER",`${V[K.NUMERICIDENTIFIER]}|x|X|\\*`);te("XRANGEPLAIN",`[v=\\s]*(${V[K.XRANGEIDENTIFIER]})(?:\\.(${V[K.XRANGEIDENTIFIER]})(?:\\.(${V[K.XRANGEIDENTIFIER]})(?:${V[K.PRERELEASE]})?${V[K.BUILD]}?)?)?`);te("XRANGEPLAINLOOSE",`[v=\\s]*(${V[K.XRANGEIDENTIFIERLOOSE]})(?:\\.(${V[K.XRANGEIDENTIFIERLOOSE]})(?:\\.(${V[K.XRANGEIDENTIFIERLOOSE]})(?:${V[K.PRERELEASELOOSE]})?${V[K.BUILD]}?)?)?`);te("XRANGE",`^${V[K.GTLT]}\\s*${V[K.XRANGEPLAIN]}$`);te("XRANGELOOSE",`^${V[K.GTLT]}\\s*${V[K.XRANGEPLAINLOOSE]}$`);te("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Er}})(?:\\.(\\d{1,${Er}}))?(?:\\.(\\d{1,${Er}}))?`);te("COERCE",`${V[K.COERCEPLAIN]}(?:$|[^\\d])`);te("COERCEFULL",V[K.COERCEPLAIN]+`(?:${V[K.PRERELEASE]})?(?:${V[K.BUILD]})?(?:$|[^\\d])`);te("COERCERTL",V[K.COERCE],!0);te("COERCERTLFULL",V[K.COERCEFULL],!0);te("LONETILDE","(?:~>?)");te("TILDETRIM",`(\\s*)${V[K.LONETILDE]}\\s+`,!0);bt.tildeTrimReplace="$1~";te("TILDE",`^${V[K.LONETILDE]}${V[K.XRANGEPLAIN]}$`);te("TILDELOOSE",`^${V[K.LONETILDE]}${V[K.XRANGEPLAINLOOSE]}$`);te("LONECARET","(?:\\^)");te("CARETTRIM",`(\\s*)${V[K.LONECARET]}\\s+`,!0);bt.caretTrimReplace="$1^";te("CARET",`^${V[K.LONECARET]}${V[K.XRANGEPLAIN]}$`);te("CARETLOOSE",`^${V[K.LONECARET]}${V[K.XRANGEPLAINLOOSE]}$`);te("COMPARATORLOOSE",`^${V[K.GTLT]}\\s*(${V[K.LOOSEPLAIN]})$|^$`);te("COMPARATOR",`^${V[K.GTLT]}\\s*(${V[K.FULLPLAIN]})$|^$`);te("COMPARATORTRIM",`(\\s*)${V[K.GTLT]}\\s*(${V[K.LOOSEPLAIN]}|${V[K.XRANGEPLAIN]})`,!0);bt.comparatorTrimReplace="$1$2$3";te("HYPHENRANGE",`^\\s*(${V[K.XRANGEPLAIN]})\\s+-\\s+(${V[K.XRANGEPLAIN]})\\s*$`);te("HYPHENRANGELOOSE",`^\\s*(${V[K.XRANGEPLAINLOOSE]})\\s+-\\s+(${V[K.XRANGEPLAINLOOSE]})\\s*$`);te("STAR","(<|>)?=?\\s*\\*");te("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");te("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Mn=ge((lb,li)=>{"use strict";var ac=Object.freeze({loose:!0}),lc=Object.freeze({}),cc=r=>r?typeof r!="object"?ac:r:lc;li.exports=cc});var fi=ge((cb,di)=>{"use strict";var ci=/^[0-9]+$/,ui=(r,e)=>{if(typeof r=="number"&&typeof e=="number")return r===e?0:r<e?-1:1;let t=ci.test(r),n=ci.test(e);return t&&n&&(r=+r,e=+e),r===e?0:t&&!n?-1:n&&!t?1:r<e?-1:1},uc=(r,e)=>ui(e,r);di.exports={compareIdentifiers:ui,rcompareIdentifiers:uc}});var En=ge((ub,hi)=>{"use strict";var Fn=bn(),{MAX_LENGTH:pi,MAX_SAFE_INTEGER:Hn}=kn(),{safeRe:Bn,t:jn}=In(),dc=Mn(),{compareIdentifiers:$r}=fi(),xr=class r{constructor(e,t){if(t=dc(t),e instanceof r){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>pi)throw new TypeError(`version is longer than ${pi} characters`);Fn("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let n=e.trim().match(t.loose?Bn[jn.LOOSE]:Bn[jn.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Hn||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Hn||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Hn||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){let i=+s;if(i>=0&&i<Hn)return i}return s}):this.prerelease=[],this.build=n[5]?n[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(Fn("SemVer.compare",this.version,this.options,e),!(e instanceof r)){if(typeof e=="string"&&e===this.version)return 0;e=new r(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof r||(e=new r(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof r||(e=new r(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{let n=this.prerelease[t],s=e.prerelease[t];if(Fn("prerelease compare",t,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return $r(n,s)}while(++t)}compareBuild(e){e instanceof r||(e=new r(e,this.options));let t=0;do{let n=this.build[t],s=e.build[t];if(Fn("build compare",t,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return $r(n,s)}while(++t)}inc(e,t,n){if(e.startsWith("pre")){if(!t&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(t){let s=`-${t}`.match(this.options.loose?Bn[jn.PRERELEASELOOSE]:Bn[jn.PRERELEASE]);if(!s||s[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,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let s=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[s];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(t===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(t){let i=[t,s];n===!1&&(i=[t]),$r(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};hi.exports=xr});var Vt=ge((db,gi)=>{"use strict";var mi=En(),fc=(r,e,t)=>new mi(r,t).compare(new mi(e,t));gi.exports=fc});var Tr=ge((fb,yi)=>{"use strict";var pc=Vt(),hc=(r,e,t)=>pc(r,e,t)<=0;yi.exports=hc});var bi=ge((pb,vi)=>{"use strict";var mc=En(),gc=(r,e)=>new mc(r,e).major;vi.exports=gc});var Si=ge((hb,Ei)=>{"use strict";var Cr=class{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(t!==void 0)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){let s=this.map.keys().next().value;this.delete(s)}this.map.set(e,t)}return this}};Ei.exports=Cr});var xi=ge((mb,$i)=>{"use strict";var yc=Vt(),vc=(r,e,t)=>yc(r,e,t)===0;$i.exports=vc});var Ci=ge((gb,Ti)=>{"use strict";var bc=Vt(),Ec=(r,e,t)=>bc(r,e,t)!==0;Ti.exports=Ec});var Ri=ge((yb,Li)=>{"use strict";var Sc=Vt(),$c=(r,e,t)=>Sc(r,e,t)>0;Li.exports=$c});var Oi=ge((vb,Ai)=>{"use strict";var xc=Vt(),Tc=(r,e,t)=>xc(r,e,t)>=0;Ai.exports=Tc});var Lr=ge((bb,Di)=>{"use strict";var Cc=Vt(),Lc=(r,e,t)=>Cc(r,e,t)<0;Di.exports=Lc});var wi=ge((Eb,Ni)=>{"use strict";var Rc=xi(),Ac=Ci(),Oc=Ri(),Dc=Oi(),Nc=Lr(),wc=Tr(),Pc=(r,e,t,n)=>{switch(e){case"===":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r===t;case"!==":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r!==t;case"":case"=":case"==":return Rc(r,t,n);case"!=":return Ac(r,t,n);case">":return Oc(r,t,n);case">=":return Dc(r,t,n);case"<":return Nc(r,t,n);case"<=":return wc(r,t,n);default:throw new TypeError(`Invalid operator: ${e}`)}};Ni.exports=Pc});var Bi=ge((Sb,Hi)=>{"use strict";var Sn=Symbol("SemVer ANY"),Or=class r{static get ANY(){return Sn}constructor(e,t){if(t=Pi(t),e instanceof r){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Ar("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===Sn?this.value="":this.value=this.operator+this.semver.version,Ar("comp",this)}parse(e){let t=this.options.loose?ki[Ii.COMPARATORLOOSE]:ki[Ii.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new Mi(n[2],this.options.loose):this.semver=Sn}toString(){return this.value}test(e){if(Ar("Comparator.test",e,this.options.loose),this.semver===Sn||e===Sn)return!0;if(typeof e=="string")try{e=new Mi(e,this.options)}catch{return!1}return Rr(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new Fi(e.value,t).test(this.value):e.operator===""?e.value===""?!0:new Fi(this.value,t).test(e.semver):(t=Pi(t),t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||Rr(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Rr(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Hi.exports=Or;var Pi=Mn(),{safeRe:ki,t:Ii}=In(),Rr=wi(),Ar=bn(),Mi=En(),Fi=Dr()});var Dr=ge(($b,Wi)=>{"use strict";var kc=/\s+/g,Nr=class r{constructor(e,t){if(t=Mc(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof wr)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(kc," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(s=>!Ui(s[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let s of this.set)if(s.length===1&&Wc(s[0])){this.set=[s];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let t=this.set[e];for(let n=0;n<t.length;n++)n>0&&(this.formatted+=" "),this.formatted+=t[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let n=((this.options.includePrerelease&&Uc)|(this.options.loose&&zc))+":"+e,s=ji.get(n);if(s)return s;let i=this.options.loose,o=i?Xe[Me.HYPHENRANGELOOSE]:Xe[Me.HYPHENRANGE];e=e.replace(o,_c(this.options.includePrerelease)),ve("hyphen replace",e),e=e.replace(Xe[Me.COMPARATORTRIM],Hc),ve("comparator trim",e),e=e.replace(Xe[Me.TILDETRIM],Bc),ve("tilde trim",e),e=e.replace(Xe[Me.CARETTRIM],jc),ve("caret trim",e);let a=e.split(" ").map(m=>Xc(m,this.options)).join(" ").split(/\s+/).map(m=>qc(m,this.options));i&&(a=a.filter(m=>(ve("loose invalid filter",m,this.options),!!m.match(Xe[Me.COMPARATORLOOSE])))),ve("range list",a);let u=new Map,c=a.map(m=>new wr(m,this.options));for(let m of c){if(Ui(m))return[m];u.set(m.value,m)}u.size>1&&u.has("")&&u.delete("");let p=[...u.values()];return ji.set(n,p),p}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some(n=>zi(n,t)&&e.set.some(s=>zi(s,t)&&n.every(i=>s.every(o=>i.intersects(o,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new Fc(e,this.options)}catch{return!1}for(let t=0;t<this.set.length;t++)if(eu(this.set[t],e,this.options))return!0;return!1}};Wi.exports=Nr;var Ic=Si(),ji=new Ic,Mc=Mn(),wr=Bi(),ve=bn(),Fc=En(),{safeRe:Xe,t:Me,comparatorTrimReplace:Hc,tildeTrimReplace:Bc,caretTrimReplace:jc}=In(),{FLAG_INCLUDE_PRERELEASE:Uc,FLAG_LOOSE:zc}=kn(),Ui=r=>r.value==="<0.0.0-0",Wc=r=>r.value==="",zi=(r,e)=>{let t=!0,n=r.slice(),s=n.pop();for(;t&&n.length;)t=n.every(i=>s.intersects(i,e)),s=n.pop();return t},Xc=(r,e)=>(r=r.replace(Xe[Me.BUILD],""),ve("comp",r,e),r=Vc(r,e),ve("caret",r),r=Gc(r,e),ve("tildes",r),r=Yc(r,e),ve("xrange",r),r=Zc(r,e),ve("stars",r),r),Ge=r=>!r||r.toLowerCase()==="x"||r==="*",Gc=(r,e)=>r.trim().split(/\s+/).map(t=>Jc(t,e)).join(" "),Jc=(r,e)=>{let t=e.loose?Xe[Me.TILDELOOSE]:Xe[Me.TILDE];return r.replace(t,(n,s,i,o,a)=>{ve("tilde",r,n,s,i,o,a);let u;return Ge(s)?u="":Ge(i)?u=`>=${s}.0.0 <${+s+1}.0.0-0`:Ge(o)?u=`>=${s}.${i}.0 <${s}.${+i+1}.0-0`:a?(ve("replaceTilde pr",a),u=`>=${s}.${i}.${o}-${a} <${s}.${+i+1}.0-0`):u=`>=${s}.${i}.${o} <${s}.${+i+1}.0-0`,ve("tilde return",u),u})},Vc=(r,e)=>r.trim().split(/\s+/).map(t=>Kc(t,e)).join(" "),Kc=(r,e)=>{ve("caret",r,e);let t=e.loose?Xe[Me.CARETLOOSE]:Xe[Me.CARET],n=e.includePrerelease?"-0":"";return r.replace(t,(s,i,o,a,u)=>{ve("caret",r,s,i,o,a,u);let c;return Ge(i)?c="":Ge(o)?c=`>=${i}.0.0${n} <${+i+1}.0.0-0`:Ge(a)?i==="0"?c=`>=${i}.${o}.0${n} <${i}.${+o+1}.0-0`:c=`>=${i}.${o}.0${n} <${+i+1}.0.0-0`:u?(ve("replaceCaret pr",u),i==="0"?o==="0"?c=`>=${i}.${o}.${a}-${u} <${i}.${o}.${+a+1}-0`:c=`>=${i}.${o}.${a}-${u} <${i}.${+o+1}.0-0`:c=`>=${i}.${o}.${a}-${u} <${+i+1}.0.0-0`):(ve("no pr"),i==="0"?o==="0"?c=`>=${i}.${o}.${a}${n} <${i}.${o}.${+a+1}-0`:c=`>=${i}.${o}.${a}${n} <${i}.${+o+1}.0-0`:c=`>=${i}.${o}.${a} <${+i+1}.0.0-0`),ve("caret return",c),c})},Yc=(r,e)=>(ve("replaceXRanges",r,e),r.split(/\s+/).map(t=>Qc(t,e)).join(" ")),Qc=(r,e)=>{r=r.trim();let t=e.loose?Xe[Me.XRANGELOOSE]:Xe[Me.XRANGE];return r.replace(t,(n,s,i,o,a,u)=>{ve("xRange",r,n,s,i,o,a,u);let c=Ge(i),p=c||Ge(o),m=p||Ge(a),S=m;return s==="="&&S&&(s=""),u=e.includePrerelease?"-0":"",c?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&S?(p&&(o=0),a=0,s===">"?(s=">=",p?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):s==="<="&&(s="<",p?i=+i+1:o=+o+1),s==="<"&&(u="-0"),n=`${s+i}.${o}.${a}${u}`):p?n=`>=${i}.0.0${u} <${+i+1}.0.0-0`:m&&(n=`>=${i}.${o}.0${u} <${i}.${+o+1}.0-0`),ve("xRange return",n),n})},Zc=(r,e)=>(ve("replaceStars",r,e),r.trim().replace(Xe[Me.STAR],"")),qc=(r,e)=>(ve("replaceGTE0",r,e),r.trim().replace(Xe[e.includePrerelease?Me.GTE0PRE:Me.GTE0],"")),_c=r=>(e,t,n,s,i,o,a,u,c,p,m,S)=>(Ge(n)?t="":Ge(s)?t=`>=${n}.0.0${r?"-0":""}`:Ge(i)?t=`>=${n}.${s}.0${r?"-0":""}`:o?t=`>=${t}`:t=`>=${t}${r?"-0":""}`,Ge(c)?u="":Ge(p)?u=`<${+c+1}.0.0-0`:Ge(m)?u=`<${c}.${+p+1}.0-0`:S?u=`<=${c}.${p}.${m}-${S}`:r?u=`<${c}.${p}.${+m+1}-0`:u=`<=${u}`,`${t} ${u}`.trim()),eu=(r,e,t)=>{for(let n=0;n<r.length;n++)if(!r[n].test(e))return!1;if(e.prerelease.length&&!t.includePrerelease){for(let n=0;n<r.length;n++)if(ve(r[n].semver),r[n].semver!==wr.ANY&&r[n].semver.prerelease.length>0){let s=r[n].semver;if(s.major===e.major&&s.minor===e.minor&&s.patch===e.patch)return!0}return!1}return!0}});var Gi=ge((xb,Xi)=>{"use strict";var tu=Dr(),nu=(r,e,t)=>{try{e=new tu(e,t)}catch{return!1}return e.test(r)};Xi.exports=nu});var gu={};Hr(gu,{createNodeLogger:()=>Qr,createNodeSys:()=>ho,setupNodeProcess:()=>zs});module.exports=To(gu);var Ln=be(require("./graceful-fs.js")),Yr=be(require("path"));var ee=be(Gr());var _n=["debug","info","warn","error"];var Kr=r=>{let e="info",t=null,n=[],s=l=>e=l,i=()=>e,o=l=>t=l,a=(...l)=>{if(qt(e,"info")){let d=yt(l,r.getColumns());u(d),console.log(d.join(`
36
36
  `))}I("I",l)},u=l=>{if(l.length>0){let d=Jr();l[0]=(0,ee.dim)(d)+l[0].slice(d.length)}},c=(...l)=>{if(qt(e,"warn")){let d=yt(l,r.getColumns());p(d),console.warn(`
37
37
  `+d.join(`
38
38
  `)+`
39
- `)}I("W",l)},p=l=>{if(l.length){let d="[ WARN ]";l[0]=(0,ee.bold)((0,ee.yellow)(d))+l[0].slice(d.length)}},h=(...l)=>{for(let d=0;d<l.length;d++)if(l[d]instanceof Error){let f=l[d];l[d]=f.message,f.stack&&(l[d]+=`
39
+ `)}I("W",l)},p=l=>{if(l.length){let d="[ WARN ]";l[0]=(0,ee.bold)((0,ee.yellow)(d))+l[0].slice(d.length)}},m=(...l)=>{for(let d=0;d<l.length;d++)if(l[d]instanceof Error){let f=l[d];l[d]=f.message,f.stack&&(l[d]+=`
40
40
  `+f.stack)}if(qt(e,"error")){let d=yt(l,r.getColumns());S(d),console.error(`
41
41
  `+d.join(`
42
42
  `)+`
43
- `)}I("E",l)},S=l=>{if(l.length){let d="[ ERROR ]";l[0]=(0,ee.bold)((0,ee.red)(d))+l[0].slice(d.length)}},T=(...l)=>{if(qt(e,"debug")){$(l);let d=yt(l,r.getColumns());m(d),console.log(d.join(`
44
- `))}I("D",l)},m=l=>{if(l.length){let d=Jr();l[0]=(0,ee.cyan)(d)+l[0].slice(d.length)}},b=(l,d,f)=>{let v=[`${l} ${(0,ee.dim)("...")}`];if(d){if(qt(e,"debug")){$(v);let E=yt(v,r.getColumns());m(E),console.log(E.join(`
43
+ `)}I("E",l)},S=l=>{if(l.length){let d="[ ERROR ]";l[0]=(0,ee.bold)((0,ee.red)(d))+l[0].slice(d.length)}},T=(...l)=>{if(qt(e,"debug")){$(l);let d=yt(l,r.getColumns());h(d),console.log(d.join(`
44
+ `))}I("D",l)},h=l=>{if(l.length){let d=Jr();l[0]=(0,ee.cyan)(d)+l[0].slice(d.length)}},b=(l,d,f)=>{let v=[`${l} ${(0,ee.dim)("...")}`];if(d){if(qt(e,"debug")){$(v);let E=yt(v,r.getColumns());h(E),console.log(E.join(`
45
45
  `)),I("D",[`${l} ...`])}}else{let E=yt(v,r.getColumns());u(E),console.log(E.join(`
46
- `)),I("I",[`${l} ...`]),f&&f.push(`${l} ...`)}},$=l=>{let d=r.memoryUsage();d>0&&l.push((0,ee.dim)(` MEM: ${(d/1e6).toFixed(1)}MB`))},D=(l,d,f,v,E,R,N)=>{let P=l;if(f&&(P=ee.default[f](l)),v&&(P=(0,ee.bold)(P)),P+=" "+(0,ee.dim)(d),R){if(qt(e,"debug")){let M=[P];$(M);let B=yt(M,r.getColumns());m(B),console.log(B.join(`
46
+ `)),I("I",[`${l} ...`]),f&&f.push(`${l} ...`)}},$=l=>{let d=r.memoryUsage();d>0&&l.push((0,ee.dim)(` MEM: ${(d/1e6).toFixed(1)}MB`))},D=(l,d,f,v,E,R,N)=>{let P=l;if(f&&(P=ee.default[f](l)),v&&(P=(0,ee.bold)(P)),P+=" "+(0,ee.dim)(d),R){if(qt(e,"debug")){let M=[P];$(M);let B=yt(M,r.getColumns());h(B),console.log(B.join(`
47
47
  `))}I("D",[`${l} ${d}`])}else{let M=yt([P],r.getColumns());u(M),console.log(M.join(`
48
48
  `)),I("I",[`${l} ${d}`]),N&&N.push(`${l} ${d}`)}E&&console.log("")},A=(l,d=!1,f)=>{let v=Date.now(),E=()=>Date.now()-v,R={duration:E,finish:(N,P,M,B)=>{let z=E(),Z;return z>1e3?Z="in "+(z/1e3).toFixed(2)+" s":parseFloat(z.toFixed(3))>0?Z="in "+z+" ms":Z="in less than 1 ms",D(N,Z,P,!!M,!!B,d,f),z}};return b(l,d,f),R},I=(l,d)=>{if(t){let f=new Date,v=""+("0"+f.getHours()).slice(-2)+":"+("0"+f.getMinutes()).slice(-2)+":"+("0"+f.getSeconds()).slice(-2)+"."+("0"+Math.floor(f.getMilliseconds()/1e3*10))+" "+("000"+(r.memoryUsage()/1e6).toFixed(1)).slice(-6)+"MB "+l+" "+d.join(", ");n.push(v)}},w=l=>{if(t)try{I("F",["--------------------------------------"]),r.writeLogs(t,n.join(`
49
49
  `),l)}catch{}n.length=0},g=l=>{ee.default.enabled=l},x=(l,d)=>{if(!l||l.length===0)return;let f=[""];l.forEach(v=>{f=f.concat(C(v,d))}),console.log(f.join(`
50
- `))},C=(l,d)=>{let f=yt([l.messageText],r.getColumns()),v="";l.header&&l.header!=="Build Error"&&(v+=l.header),typeof l.absFilePath=="string"&&typeof l.relFilePath!="string"&&(typeof d!="string"&&(d=r.cwd()),l.relFilePath=r.relativePath(d,l.absFilePath),l.relFilePath.includes("/")||(l.relFilePath="./"+l.relFilePath));let E=l.relFilePath;return typeof E!="string"&&(E=l.absFilePath),typeof E=="string"&&(v.length>0&&(v+=": "),v+=(0,ee.cyan)(E),typeof l.lineNumber=="number"&&l.lineNumber>-1&&(v+=(0,ee.dim)(":"),v+=(0,ee.yellow)(`${l.lineNumber}`),typeof l.columnNumber=="number"&&l.columnNumber>-1&&(v+=(0,ee.dim)(":"),v+=(0,ee.yellow)(`${l.columnNumber}`)))),v.length>0&&f.unshift(Tt+v),f.push(""),l.lines&&l.lines.length&&(Do(l.lines).forEach(N=>{if(!wo(N.text))return;let P="";for(N.lineNumber>-1&&(P=`L${N.lineNumber}: `);P.length<Tt.length;)P=" "+P;let M=N.text;N.errorCharStart>-1&&(M=O(M,N.errorCharStart,N.errorLength)),P=(0,ee.dim)(P),l.language==="typescript"||l.language==="javascript"?P+=k(M):l.language==="scss"||l.language==="css"?P+=L(M):P+=M,f.push(P)}),f.push("")),l.level==="error"?S(f):l.level==="warn"?p(f):l.level==="debug"?m(f):u(f),l.debugText!=null&&e==="debug"&&(f.push(l.debugText),m(yt([l.debugText],r.getColumns()))),f},O=(l,d,f=0)=>{let v=l.length-d+f-1;for(;l.length+Tt.length>r.getColumns();)if(d>l.length-d+f&&d>5)l=l.slice(1),d--;else if(v>1)l=l.slice(0,-1),v--;else break;let E=[],R=Math.max(l.length,d+f);for(let N=0;N<R;N++){let P=l.charAt(N);N>=d&&N<d+f&&(P=(0,ee.bgRed)(P===""?" ":P)),E.push(P)}return E.join("")},k=l=>l.trim().startsWith("//")?(0,ee.dim)(l):l.split(" ").map(f=>Po.indexOf(f)>-1?(0,ee.cyan)(f):f).join(" "),L=l=>{let d=!0,f="abcdefghijklmnopqrstuvwxyz-_",v=".#,:}@$[]/*",E=[];for(let R=0;R<l.length;R++){let N=l.charAt(R);if(N===";"||N==="{"?d=!0:v.indexOf(N)>-1&&(d=!1),d&&f.indexOf(N.toLowerCase())>-1){E.push((0,ee.cyan)(N));continue}E.push(N)}return E.join("")};return{createLineUpdater:r.createLineUpdater,createTimeSpan:A,debug:T,emoji:r.emoji,enableColors:g,error:h,getLevel:i,info:a,printDiagnostics:x,setLevel:s,setLogFilePath:o,warn:c,writeLogs:w,bgRed:ee.bgRed,blue:ee.blue,bold:ee.bold,cyan:ee.cyan,dim:ee.dim,gray:ee.gray,green:ee.green,magenta:ee.magenta,red:ee.red,yellow:ee.yellow}},qt=(r,e)=>_n.indexOf(e)>=_n.indexOf(r),Jr=()=>{let r=new Date,e=Vr(r.getMinutes()),t=Vr(r.getSeconds()),n=Math.floor(r.getMilliseconds()/1e3*10);return`[${e}:${t}.${n}]`},Vr=r=>("0"+r.toString()).slice(-2),yt=(r,e)=>{let t=[],n=[];r.forEach(i=>{i===null?n.push("null"):typeof i>"u"?n.push("undefined"):typeof i=="string"?i.replace(/\s/gm," ").split(" ").forEach(o=>{o.trim().length&&n.push(o.trim())}):typeof i=="number"||typeof i=="boolean"||typeof i=="function"?n.push(i.toString()):Array.isArray(i)?n.push(()=>i.toString()):Object(i)===i?n.push(()=>i.toString()):n.push(i.toString())});let s=Tt;return n.forEach(i=>{t.length>25||(typeof i=="function"?(s.trim().length&&t.push(s),t.push(i()),s=Tt):Tt.length+i.length>e-1?(s.trim().length&&t.push(s),t.push(Tt+i),s=Tt):i.length+s.length>e-1?(t.push(s),s=Tt+i+" "):s+=i+" ")}),s.trim().length&&t.push(s),t.map(i=>i.trimRight())},Do=r=>{let t=JSON.parse(JSON.stringify(r));for(let n=0;n<100;n++){if(!No(t))return t;for(let s=0;s<t.length;s++)if(t[s].text=t[s].text.slice(1),t[s].errorCharStart--,!t[s].text.length)return t}return t},No=r=>{if(!r.length)return!1;for(let e=0;e<r.length;e++){if(!r[e].text||r[e].text.length<1)return!1;let t=r[e].text.charAt(0);if(t!==" "&&t!==" ")return!1}return!0},wo=r=>r?(r=r.trim(),r.length>0):!1,Po=["abstract","any","as","break","boolean","case","catch","class","console","const","continue","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","import","in","implements","Infinity","instanceof","let","module","namespace","NaN","new","number","null","public","private","protected","require","return","static","set","string","super","switch","this","throw","try","true","type","typeof","undefined","var","void","with","while","yield"],Tt=" ";var Qr=()=>{let r=ko();return Kr(r)};function ko(){return{cwd:()=>process.cwd(),emoji:a=>process.platform!=="win32"?a:"",getColumns:()=>{var h,S;let p=(S=(h=process==null?void 0:process.stdout)==null?void 0:h.columns)!=null?S:80;return Math.max(Math.min(p,120),60)},memoryUsage:()=>process.memoryUsage().rss,relativePath:(a,u)=>Yr.default.relative(a,u),writeLogs:(a,u,c)=>{if(c)try{Ln.default.accessSync(a)}catch{c=!1}c?Ln.default.appendFileSync(a,u):Ln.default.writeFileSync(a,u)},createLineUpdater:async()=>{let a=await import("readline"),u=Promise.resolve(),c=h=>(h=h.substring(0,process.stdout.columns-5)+"\x1B[0m",u=u.then(()=>new Promise(S=>{a.clearLine(process.stdout,0),a.cursorTo(process.stdout,0,void 0),process.stdout.write(h,S)}))),p=()=>c("\x1B[?25h");return process.stdout.write("\x1B[?25l"),{update:c,stop:p}}}}var qr=()=>{};var er=r=>r.flat?r.flat(1):r.reduce((e,t)=>(e.push(...t),e),[]);var _r=r=>typeof r=="function";var jt=r=>typeof r=="string";var tr=r=>{let e={"{":"}","(":")","[":"]"},t=/\\(.)|(^!|\*|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;if(r==="")return!1;let n;for(;n=t.exec(r);){if(n[2])return!0;let s=n.index+n[0].length,i=n[1],o=i?e[i]:null;if(i&&o){let a=r.indexOf(o,s);a!==-1&&(s=a+1)}r=r.slice(s)}return!1};var un=r=>{let e={level:"error",type:"build",header:"Build Error",messageText:"build error",relFilePath:void 0,absFilePath:void 0,lines:[]};return r&&r.push(e),e};var nr=(r,e,t)=>{let n={level:"error",type:"build",header:"Build Error",messageText:"build error",lines:[]};return jt(t)?n.messageText=t.length?t:"UNKNOWN ERROR":e!=null&&(e.stack!=null?n.messageText=e.stack.toString():e.message!=null?n.messageText=e.message.length?e.message:"UNKNOWN ERROR":n.messageText=e.toString()),r!=null&&!rr(n.messageText)&&r.push(n),n};var rr=r=>r===Ut,Ut="task canceled";var ye=(r,e=!0)=>{if(typeof r!="string")throw new Error("invalid path to normalize");r=Uo(r.trim());let t=Ko(r,Go(r)),n=Xo(t),s=n[0],i=n[1],o=s+n.slice(1).join("/");return o===""?".":s===""&&i&&r.includes("/")&&!i.startsWith(".")&&!i.startsWith("@")&&e?"./"+o:o},Uo=r=>r.replace(Wo,"/"),zo="\\",es="://",Wo=/\\/g,Xo=r=>{if(!Array.isArray(r)||r.length===0)return[];let e=[r[0]];for(let t=1;t<r.length;t++){let n=r[t];if(n&&n!=="."){if(n===".."){if(e.length>1){if(e[e.length-1]!==".."){e.pop();continue}}else if(e[0])continue}e.push(n)}}return e},Go=r=>{let e=Jo(r);return e<0?~e:e},Jo=r=>{if(!r)return 0;let e=r.charCodeAt(0);if(e===47||e===92){if(r.charCodeAt(1)!==e)return 1;let n=r.indexOf(e===47?"/":zo,2);return n<0?r.length:n+1}if(ts(e)&&r.charCodeAt(1)===58){let n=r.charCodeAt(2);if(n===47||n===92)return 3;if(r.length===2)return 2}let t=r.indexOf(es);if(t!==-1){let n=t+es.length,s=r.indexOf("/",n);if(s!==-1){let i=r.slice(0,t),o=r.slice(n,s);if(i==="file"&&(o===""||o==="localhost")&&ts(r.charCodeAt(s+1))){let a=Vo(r,s+2);if(a!==-1){if(r.charCodeAt(a)===47)return~(a+1);if(a===r.length)return~a}}return~(s+1)}return~r.length}return 0},ts=r=>r>=97&&r<=122||r>=65&&r<=90,Vo=(r,e)=>{let t=r.charCodeAt(e);if(t===58)return e+1;if(t===37&&r.charCodeAt(e+1)===51){let n=r.charCodeAt(e+2);if(n===97||n===65)return e+3}return-1},Ko=(r,e)=>{let t=r.substring(0,e),n=r.substring(e).split("/"),s=n.length;return s>0&&!n[s-1]&&n.pop(),[t,...n]};var Ts=be(ms(),1);var fn=r=>{if(typeof r!="string")throw new TypeError("invalid pattern");if(r.length>65536)throw new TypeError("pattern is too long")};var na={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},pn=r=>r.replace(/[[\]\\-]/g,"\\$&"),ra=r=>r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),hs=r=>r.join(""),gs=(r,e)=>{let t=e;if(r.charAt(t)!=="[")throw new Error("not in a brace expression");let n=[],s=[],i=t+1,o=!1,a=!1,u=!1,c=!1,p=t,h="";e:for(;i<r.length;){let b=r.charAt(i);if((b==="!"||b==="^")&&i===t+1){c=!0,i++;continue}if(b==="]"&&o&&!u){p=i+1;break}if(o=!0,b==="\\"&&!u){u=!0,i++;continue}if(b==="["&&!u){for(let[$,[D,A,I]]of Object.entries(na))if(r.startsWith($,i)){if(h)return["$.",!1,r.length-t,!0];i+=$.length,I?s.push(D):n.push(D),a=a||A;continue e}}if(u=!1,h){b>h?n.push(pn(h)+"-"+pn(b)):b===h&&n.push(pn(b)),h="",i++;continue}if(r.startsWith("-]",i+1)){n.push(pn(b+"-")),i+=2;continue}if(r.startsWith("-",i+1)){h=b,i+=2;continue}n.push(pn(b)),i++}if(p<i)return["",!1,0,!1];if(!n.length&&!s.length)return["$.",!1,r.length-t,!0];if(s.length===0&&n.length===1&&/^\\?.$/.test(n[0])&&!c){let b=n[0].length===2?n[0].slice(-1):n[0];return[ra(b),!1,p-t,!1]}let S="["+(c?"^":"")+hs(n)+"]",T="["+(c?"":"^")+hs(s)+"]";return[n.length&&s.length?"("+S+"|"+T+")":n.length?S:T,a,p-t,!0]};var mt=(r,{windowsPathsNoEscape:e=!1}={})=>e?r.replace(/\[([^\/\\])\]/g,"$1"):r.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");var sa=new Set(["!","?","+","*","@"]),ys=r=>sa.has(r),ia="(?!(?:^|/)\\.\\.?(?:$|/))",An="(?!\\.)",oa=new Set(["[","."]),aa=new Set(["..","."]),la=new Set("().*{}+?[]^$\\!"),ca=r=>r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),ar="[^/]",vs=ar+"*?",bs=ar+"+?",Le,De,Ct,Ee,Te,Pt,zt,kt,vt,Wt,mn,Xt,Es,It,On,or,Ss,We=class We{constructor(e,t,n={}){ze(this,Xt);Yn(this,"type");ze(this,Le);ze(this,De);ze(this,Ct,!1);ze(this,Ee,[]);ze(this,Te);ze(this,Pt);ze(this,zt);ze(this,kt,!1);ze(this,vt);ze(this,Wt);ze(this,mn,!1);this.type=e,e&&Se(this,De,!0),Se(this,Te,t),Se(this,Le,W(this,Te)?W(W(this,Te),Le):this),Se(this,vt,W(this,Le)===this?n:W(W(this,Le),vt)),Se(this,zt,W(this,Le)===this?[]:W(W(this,Le),zt)),e==="!"&&!W(W(this,Le),kt)&&W(this,zt).push(this),Se(this,Pt,W(this,Te)?W(W(this,Te),Ee).length:0)}get hasMagic(){if(W(this,De)!==void 0)return W(this,De);for(let e of W(this,Ee))if(typeof e!="string"&&(e.type||e.hasMagic))return Se(this,De,!0);return W(this,De)}toString(){return W(this,Wt)!==void 0?W(this,Wt):this.type?Se(this,Wt,this.type+"("+W(this,Ee).map(e=>String(e)).join("|")+")"):Se(this,Wt,W(this,Ee).map(e=>String(e)).join(""))}push(...e){for(let t of e)if(t!==""){if(typeof t!="string"&&!(t instanceof We&&W(t,Te)===this))throw new Error("invalid part: "+t);W(this,Ee).push(t)}}toJSON(){var t;let e=this.type===null?W(this,Ee).slice().map(n=>typeof n=="string"?n:n.toJSON()):[this.type,...W(this,Ee).map(n=>n.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===W(this,Le)||W(W(this,Le),kt)&&((t=W(this,Te))==null?void 0:t.type)==="!")&&e.push({}),e}isStart(){var t;if(W(this,Le)===this)return!0;if(!((t=W(this,Te))!=null&&t.isStart()))return!1;if(W(this,Pt)===0)return!0;let e=W(this,Te);for(let n=0;n<W(this,Pt);n++){let s=W(e,Ee)[n];if(!(s instanceof We&&s.type==="!"))return!1}return!0}isEnd(){var t,n,s;if(W(this,Le)===this||((t=W(this,Te))==null?void 0:t.type)==="!")return!0;if(!((n=W(this,Te))!=null&&n.isEnd()))return!1;if(!this.type)return(s=W(this,Te))==null?void 0:s.isEnd();let e=W(this,Te)?W(W(this,Te),Ee).length:0;return W(this,Pt)===e-1}copyIn(e){typeof e=="string"?this.push(e):this.push(e.clone(this))}clone(e){let t=new We(this.type,e);for(let n of W(this,Ee))t.copyIn(n);return t}static fromGlob(e,t={}){var s;let n=new We(null,void 0,t);return wt(s=We,It,On).call(s,e,n,0,t),n}toMMPattern(){if(this!==W(this,Le))return W(this,Le).toMMPattern();let e=this.toString(),[t,n,s,i]=this.toRegExpSource();if(!(s||W(this,De)||W(this,vt).nocase&&!W(this,vt).nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return n;let a=(W(this,vt).nocase?"i":"")+(i?"u":"");return Object.assign(new RegExp(`^${t}$`,a),{_src:t,_glob:e})}get options(){return W(this,vt)}toRegExpSource(e){var u;let t=e!=null?e:!!W(this,vt).dot;if(W(this,Le)===this&&wt(this,Xt,Es).call(this),!this.type){let c=this.isStart()&&this.isEnd(),p=W(this,Ee).map(m=>{var I;let[b,$,D,A]=typeof m=="string"?wt(I=We,It,Ss).call(I,m,W(this,De),c):m.toRegExpSource(e);return Se(this,De,W(this,De)||D),Se(this,Ct,W(this,Ct)||A),b}).join(""),h="";if(this.isStart()&&typeof W(this,Ee)[0]=="string"&&!(W(this,Ee).length===1&&aa.has(W(this,Ee)[0]))){let b=oa,$=t&&b.has(p.charAt(0))||p.startsWith("\\.")&&b.has(p.charAt(2))||p.startsWith("\\.\\.")&&b.has(p.charAt(4)),D=!t&&!e&&b.has(p.charAt(0));h=$?ia:D?An:""}let S="";return this.isEnd()&&W(W(this,Le),kt)&&((u=W(this,Te))==null?void 0:u.type)==="!"&&(S="(?:$|\\/)"),[h+p+S,mt(p),Se(this,De,!!W(this,De)),W(this,Ct)]}let n=this.type==="*"||this.type==="+",s=this.type==="!"?"(?:(?!(?:":"(?:",i=wt(this,Xt,or).call(this,t);if(this.isStart()&&this.isEnd()&&!i&&this.type!=="!"){let c=this.toString();return Se(this,Ee,[c]),this.type=null,Se(this,De,void 0),[c,mt(this.toString()),!1,!1]}let o=!n||e||t||!An?"":wt(this,Xt,or).call(this,!0);o===i&&(o=""),o&&(i=`(?:${i})(?:${o})*?`);let a="";if(this.type==="!"&&W(this,mn))a=(this.isStart()&&!t?An:"")+bs;else{let c=this.type==="!"?"))"+(this.isStart()&&!t&&!e?An:"")+vs+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&o?")":this.type==="*"&&o?")?":`)${this.type}`;a=s+i+c}return[a,mt(i),Se(this,De,!!W(this,De)),W(this,Ct)]}};Le=new WeakMap,De=new WeakMap,Ct=new WeakMap,Ee=new WeakMap,Te=new WeakMap,Pt=new WeakMap,zt=new WeakMap,kt=new WeakMap,vt=new WeakMap,Wt=new WeakMap,mn=new WeakMap,Xt=new WeakSet,Es=function(){if(this!==W(this,Le))throw new Error("should only call on root");if(W(this,kt))return this;this.toString(),Se(this,kt,!0);let e;for(;e=W(this,zt).pop();){if(e.type!=="!")continue;let t=e,n=W(t,Te);for(;n;){for(let s=W(t,Pt)+1;!n.type&&s<W(n,Ee).length;s++)for(let i of W(e,Ee)){if(typeof i=="string")throw new Error("string part in extglob AST??");i.copyIn(W(n,Ee)[s])}t=n,n=W(t,Te)}}return this},It=new WeakSet,On=function(e,t,n,s){var T,m;let i=!1,o=!1,a=-1,u=!1;if(t.type===null){let b=n,$="";for(;b<e.length;){let D=e.charAt(b++);if(i||D==="\\"){i=!i,$+=D;continue}if(o){b===a+1?(D==="^"||D==="!")&&(u=!0):D==="]"&&!(b===a+2&&u)&&(o=!1),$+=D;continue}else if(D==="["){o=!0,a=b,u=!1,$+=D;continue}if(!s.noext&&ys(D)&&e.charAt(b)==="("){t.push($),$="";let A=new We(D,t);b=wt(T=We,It,On).call(T,e,A,b,s),t.push(A);continue}$+=D}return t.push($),b}let c=n+1,p=new We(null,t),h=[],S="";for(;c<e.length;){let b=e.charAt(c++);if(i||b==="\\"){i=!i,S+=b;continue}if(o){c===a+1?(b==="^"||b==="!")&&(u=!0):b==="]"&&!(c===a+2&&u)&&(o=!1),S+=b;continue}else if(b==="["){o=!0,a=c,u=!1,S+=b;continue}if(ys(b)&&e.charAt(c)==="("){p.push(S),S="";let $=new We(b,p);p.push($),c=wt(m=We,It,On).call(m,e,$,c,s);continue}if(b==="|"){p.push(S),S="",h.push(p),p=new We(null,t);continue}if(b===")")return S===""&&W(t,Ee).length===0&&Se(t,mn,!0),p.push(S),S="",t.push(...h,p),c;S+=b}return t.type=null,Se(t,De,void 0),Se(t,Ee,[e.substring(n-1)]),c},or=function(e){return W(this,Ee).map(t=>{if(typeof t=="string")throw new Error("string type in extglob ast??");let[n,s,i,o]=t.toRegExpSource(e);return Se(this,Ct,W(this,Ct)||o),n}).filter(t=>!(this.isStart()&&this.isEnd())||!!t).join("|")},Ss=function(e,t,n=!1){let s=!1,i="",o=!1;for(let a=0;a<e.length;a++){let u=e.charAt(a);if(s){s=!1,i+=(la.has(u)?"\\":"")+u;continue}if(u==="\\"){a===e.length-1?i+="\\\\":s=!0;continue}if(u==="["){let[c,p,h,S]=gs(e,a);if(h){i+=c,o=o||p,a+=h-1,t=t||S;continue}}if(u==="*"){n&&e==="*"?i+=bs:i+=vs,t=!0;continue}if(u==="?"){i+=ar,t=!0;continue}i+=ca(u)}return[i,mt(e),!!t,o]},ze(We,It);var _t=We;var en=(r,{windowsPathsNoEscape:e=!1}={})=>e?r.replace(/[?*()[\]]/g,"[$&]"):r.replace(/[?*()[\]\\]/g,"\\$&");var Ie=(r,e,t={})=>(fn(e),!t.nocomment&&e.charAt(0)==="#"?!1:new Lt(e,t).match(r)),ua=/^\*+([^+@!?\*\[\(]*)$/,da=r=>e=>!e.startsWith(".")&&e.endsWith(r),fa=r=>e=>e.endsWith(r),pa=r=>(r=r.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(r)),ma=r=>(r=r.toLowerCase(),e=>e.toLowerCase().endsWith(r)),ha=/^\*+\.\*+$/,ga=r=>!r.startsWith(".")&&r.includes("."),ya=r=>r!=="."&&r!==".."&&r.includes("."),va=/^\.\*+$/,ba=r=>r!=="."&&r!==".."&&r.startsWith("."),Ea=/^\*+$/,Sa=r=>r.length!==0&&!r.startsWith("."),$a=r=>r.length!==0&&r!=="."&&r!=="..",xa=/^\?+([^+@!?\*\[\(]*)?$/,Ta=([r,e=""])=>{let t=Cs([r]);return e?(e=e.toLowerCase(),n=>t(n)&&n.toLowerCase().endsWith(e)):t},Ca=([r,e=""])=>{let t=Ls([r]);return e?(e=e.toLowerCase(),n=>t(n)&&n.toLowerCase().endsWith(e)):t},La=([r,e=""])=>{let t=Ls([r]);return e?n=>t(n)&&n.endsWith(e):t},Ra=([r,e=""])=>{let t=Cs([r]);return e?n=>t(n)&&n.endsWith(e):t},Cs=([r])=>{let e=r.length;return t=>t.length===e&&!t.startsWith(".")},Ls=([r])=>{let e=r.length;return t=>t.length===e&&t!=="."&&t!==".."},Rs=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",$s={win32:{sep:"\\"},posix:{sep:"/"}},Aa=Rs==="win32"?$s.win32.sep:$s.posix.sep;Ie.sep=Aa;var et=Symbol("globstar **");Ie.GLOBSTAR=et;var Oa="[^/]",Da=Oa+"*?",Na="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",wa="(?:(?!(?:\\/|^)\\.).)*?",Pa=(r,e={})=>t=>Ie(t,r,e);Ie.filter=Pa;var rt=(r,e={})=>Object.assign({},r,e),ka=r=>{if(!r||typeof r!="object"||!Object.keys(r).length)return Ie;let e=Ie;return Object.assign((n,s,i={})=>e(n,s,rt(r,i)),{Minimatch:class extends e.Minimatch{constructor(s,i={}){super(s,rt(r,i))}static defaults(s){return e.defaults(rt(r,s)).Minimatch}},AST:class extends e.AST{constructor(s,i,o={}){super(s,i,rt(r,o))}static fromGlob(s,i={}){return e.AST.fromGlob(s,rt(r,i))}},unescape:(n,s={})=>e.unescape(n,rt(r,s)),escape:(n,s={})=>e.escape(n,rt(r,s)),filter:(n,s={})=>e.filter(n,rt(r,s)),defaults:n=>e.defaults(rt(r,n)),makeRe:(n,s={})=>e.makeRe(n,rt(r,s)),braceExpand:(n,s={})=>e.braceExpand(n,rt(r,s)),match:(n,s,i={})=>e.match(n,s,rt(r,i)),sep:e.sep,GLOBSTAR:et})};Ie.defaults=ka;var As=(r,e={})=>(fn(r),e.nobrace||!/\{(?:(?!\{).)*\}/.test(r)?[r]:(0,Ts.default)(r));Ie.braceExpand=As;var Ia=(r,e={})=>new Lt(r,e).makeRe();Ie.makeRe=Ia;var Ma=(r,e,t={})=>{let n=new Lt(e,t);return r=r.filter(s=>n.match(s)),n.options.nonull&&!r.length&&r.push(e),r};Ie.match=Ma;var xs=/[?*]|[+@!]\(.*?\)|\[|\]/,Fa=r=>r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Lt=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(e,t={}){fn(e),t=t||{},this.options=t,this.pattern=e,this.platform=t.platform||Rs,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=t.windowsNoMagicRoot!==void 0?t.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let t of e)if(typeof t!="string")return!0;return!1}debug(...e){}make(){let e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],t.debug&&(this.debug=(...i)=>console.error(...i)),this.debug(this.pattern,this.globSet);let n=this.globSet.map(i=>this.slashSplit(i));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let s=this.globParts.map((i,o,a)=>{if(this.isWindows&&this.windowsNoMagicRoot){let u=i[0]===""&&i[1]===""&&(i[2]==="?"||!xs.test(i[2]))&&!xs.test(i[3]),c=/^[a-z]:/i.test(i[0]);if(u)return[...i.slice(0,4),...i.slice(4).map(p=>this.parse(p))];if(c)return[i[0],...i.slice(1).map(p=>this.parse(p))]}return i.map(u=>this.parse(u))});if(this.debug(this.pattern,s),this.set=s.filter(i=>i.indexOf(!1)===-1),this.isWindows)for(let i=0;i<this.set.length;i++){let o=this.set[i];o[0]===""&&o[1]===""&&this.globParts[i][2]==="?"&&typeof o[3]=="string"&&/^[a-z]:$/i.test(o[3])&&(o[2]="?")}this.debug(this.pattern,this.set)}preprocess(e){if(this.options.noglobstar)for(let n=0;n<e.length;n++)for(let s=0;s<e[n].length;s++)e[n][s]==="**"&&(e[n][s]="*");let{optimizationLevel:t=1}=this.options;return t>=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):t>=1?e=this.levelOneOptimize(e):e=this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(t=>{let n=-1;for(;(n=t.indexOf("**",n+1))!==-1;){let s=n;for(;t[s+1]==="**";)s++;s!==n&&t.splice(n,s-n)}return t})}levelOneOptimize(e){return e.map(t=>(t=t.reduce((n,s)=>{let i=n[n.length-1];return s==="**"&&i==="**"?n:s===".."&&i&&i!==".."&&i!=="."&&i!=="**"?(n.pop(),n):(n.push(s),n)},[]),t.length===0?[""]:t))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let t=!1;do{if(t=!1,!this.preserveMultipleSlashes){for(let s=1;s<e.length-1;s++){let i=e[s];s===1&&i===""&&e[0]===""||(i==="."||i==="")&&(t=!0,e.splice(s,1),s--)}e[0]==="."&&e.length===2&&(e[1]==="."||e[1]==="")&&(t=!0,e.pop())}let n=0;for(;(n=e.indexOf("..",n+1))!==-1;){let s=e[n-1];s&&s!=="."&&s!==".."&&s!=="**"&&(t=!0,e.splice(n-1,2),n-=2)}}while(t);return e.length===0?[""]:e}firstPhasePreProcess(e){let t=!1;do{t=!1;for(let n of e){let s=-1;for(;(s=n.indexOf("**",s+1))!==-1;){let o=s;for(;n[o+1]==="**";)o++;o>s&&n.splice(s+1,o-s);let a=n[s+1],u=n[s+2],c=n[s+3];if(a!==".."||!u||u==="."||u===".."||!c||c==="."||c==="..")continue;t=!0,n.splice(s,1);let p=n.slice(0);p[s]="**",e.push(p),s--}if(!this.preserveMultipleSlashes){for(let o=1;o<n.length-1;o++){let a=n[o];o===1&&a===""&&n[0]===""||(a==="."||a==="")&&(t=!0,n.splice(o,1),o--)}n[0]==="."&&n.length===2&&(n[1]==="."||n[1]==="")&&(t=!0,n.pop())}let i=0;for(;(i=n.indexOf("..",i+1))!==-1;){let o=n[i-1];if(o&&o!=="."&&o!==".."&&o!=="**"){t=!0;let u=i===1&&n[i+1]==="**"?["."]:[];n.splice(i-1,2,...u),n.length===0&&n.push(""),i-=2}}}}while(t);return e}secondPhasePreProcess(e){for(let t=0;t<e.length-1;t++)for(let n=t+1;n<e.length;n++){let s=this.partsMatch(e[t],e[n],!this.preserveMultipleSlashes);s&&(e[t]=s,e[n]=[])}return e.filter(t=>t.length)}partsMatch(e,t,n=!1){let s=0,i=0,o=[],a="";for(;s<e.length&&i<t.length;)if(e[s]===t[i])o.push(a==="b"?t[i]:e[s]),s++,i++;else if(n&&e[s]==="**"&&t[i]===e[s+1])o.push(e[s]),s++;else if(n&&t[i]==="**"&&e[s]===t[i+1])o.push(t[i]),i++;else if(e[s]==="*"&&t[i]&&(this.options.dot||!t[i].startsWith("."))&&t[i]!=="**"){if(a==="b")return!1;a="a",o.push(e[s]),s++,i++}else if(t[i]==="*"&&e[s]&&(this.options.dot||!e[s].startsWith("."))&&e[s]!=="**"){if(a==="a")return!1;a="b",o.push(t[i]),s++,i++}else return!1;return e.length===t.length&&o}parseNegate(){if(this.nonegate)return;let e=this.pattern,t=!1,n=0;for(let s=0;s<e.length&&e.charAt(s)==="!";s++)t=!t,n++;n&&(this.pattern=e.slice(n)),this.negate=t}matchOne(e,t,n=!1){let s=this.options;if(this.isWindows){let b=typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0]),$=!b&&e[0]===""&&e[1]===""&&e[2]==="?"&&/^[a-z]:$/i.test(e[3]),D=typeof t[0]=="string"&&/^[a-z]:$/i.test(t[0]),A=!D&&t[0]===""&&t[1]===""&&t[2]==="?"&&typeof t[3]=="string"&&/^[a-z]:$/i.test(t[3]),I=$?3:b?0:void 0,w=A?3:D?0:void 0;if(typeof I=="number"&&typeof w=="number"){let[g,x]=[e[I],t[w]];g.toLowerCase()===x.toLowerCase()&&(t[w]=g,w>I?t=t.slice(w):I>w&&(e=e.slice(I)))}}let{optimizationLevel:i=1}=this.options;i>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var o=0,a=0,u=e.length,c=t.length;o<u&&a<c;o++,a++){this.debug("matchOne loop");var p=t[a],h=e[o];if(this.debug(t,p,h),p===!1)return!1;if(p===et){this.debug("GLOBSTAR",[t,p,h]);var S=o,T=a+1;if(T===c){for(this.debug("** at the end");o<u;o++)if(e[o]==="."||e[o]===".."||!s.dot&&e[o].charAt(0)===".")return!1;return!0}for(;S<u;){var m=e[S];if(this.debug(`
51
- globstar while`,e,S,t,T,m),this.matchOne(e.slice(S),t.slice(T),n))return this.debug("globstar found match!",S,u,m),!0;if(m==="."||m===".."||!s.dot&&m.charAt(0)==="."){this.debug("dot detected!",e,S,t,T);break}this.debug("globstar swallow a segment, and continue"),S++}return!!(n&&(this.debug(`
52
- >>> no match, partial?`,e,S,t,T),S===u))}let b;if(typeof p=="string"?(b=h===p,this.debug("string match",p,h,b)):(b=p.test(h),this.debug("pattern match",p,h,b)),!b)return!1}if(o===u&&a===c)return!0;if(o===u)return n;if(a===c)return o===u-1&&e[o]==="";throw new Error("wtf?")}braceExpand(){return As(this.pattern,this.options)}parse(e){fn(e);let t=this.options;if(e==="**")return et;if(e==="")return"";let n,s=null;(n=e.match(Ea))?s=t.dot?$a:Sa:(n=e.match(ua))?s=(t.nocase?t.dot?ma:pa:t.dot?fa:da)(n[1]):(n=e.match(xa))?s=(t.nocase?t.dot?Ca:Ta:t.dot?La:Ra)(n):(n=e.match(ha))?s=t.dot?ya:ga:(n=e.match(va))&&(s=ba);let i=_t.fromGlob(e,this.options).toMMPattern();return s&&typeof i=="object"&&Reflect.defineProperty(i,"test",{value:s}),i}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,n=t.noglobstar?Da:t.dot?Na:wa,s=new Set(t.nocase?["i"]:[]),i=e.map(u=>{let c=u.map(p=>{if(p instanceof RegExp)for(let h of p.flags.split(""))s.add(h);return typeof p=="string"?Fa(p):p===et?et:p._src});return c.forEach((p,h)=>{let S=c[h+1],T=c[h-1];p!==et||T===et||(T===void 0?S!==void 0&&S!==et?c[h+1]="(?:\\/|"+n+"\\/)?"+S:c[h]=n:S===void 0?c[h-1]=T+"(?:\\/|"+n+")?":S!==et&&(c[h-1]=T+"(?:\\/|\\/"+n+"\\/)"+S,c[h+1]=et))}),c.filter(p=>p!==et).join("/")}).join("|"),[o,a]=e.length>1?["(?:",")"]:["",""];i="^"+o+i+a+"$",this.negate&&(i="^(?!"+i+").+$");try{this.regexp=new RegExp(i,[...s].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&t)return!0;let n=this.options;this.isWindows&&(e=e.split("\\").join("/"));let s=this.slashSplit(e);this.debug(this.pattern,"split",s);let i=this.set;this.debug(this.pattern,"set",i);let o=s[s.length-1];if(!o)for(let a=s.length-2;!o&&a>=0;a--)o=s[a];for(let a=0;a<i.length;a++){let u=i[a],c=s;if(n.matchBase&&u.length===1&&(c=[o]),this.matchOne(c,u,t))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(e){return Ie.defaults(e).Minimatch}};Ie.AST=_t;Ie.Minimatch=Lt;Ie.escape=en;Ie.unescape=mt;var Os=r=>r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var cr={};Hr(cr,{err:()=>Ds,map:()=>Ha,ok:()=>lr,unwrap:()=>Ba,unwrapErr:()=>ja});var lr=r=>({isOk:!0,isErr:!1,value:r}),Ds=r=>({isOk:!1,isErr:!0,value:r});function Ha(r,e){if(r.isOk){let t=e(r.value);return t instanceof Promise?t.then(n=>lr(n)):lr(t)}if(r.isErr){let t=r.value;return Ds(t)}throw"should never get here"}var Ba=r=>{if(r.isOk)return r.value;throw r.value},ja=r=>{if(r.isErr)return r.value;throw r.value};var se={allRenderFn:!1,element:!0,event:!0,hasRenderFn:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,propChangeCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,devTools:!1,shadowDelegatesFocus:!0,shadowSlotAssignmentManual:!1,initializeNextTick:!1,asyncLoading:!0,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1};var za={isDev:!!se.isDev,isBrowser:!0,isServer:!1,isTesting:!!se.isTesting};var $f=se.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"];var ht=typeof window<"u"?window:{},Df=ht.HTMLElement||class{};var tn=se.shadowDom;var ur=se.constructableCSS?(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})():!1;/**
50
+ `))},C=(l,d)=>{let f=yt([l.messageText],r.getColumns()),v="";l.header&&l.header!=="Build Error"&&(v+=l.header),typeof l.absFilePath=="string"&&typeof l.relFilePath!="string"&&(typeof d!="string"&&(d=r.cwd()),l.relFilePath=r.relativePath(d,l.absFilePath),l.relFilePath.includes("/")||(l.relFilePath="./"+l.relFilePath));let E=l.relFilePath;return typeof E!="string"&&(E=l.absFilePath),typeof E=="string"&&(v.length>0&&(v+=": "),v+=(0,ee.cyan)(E),typeof l.lineNumber=="number"&&l.lineNumber>-1&&(v+=(0,ee.dim)(":"),v+=(0,ee.yellow)(`${l.lineNumber}`),typeof l.columnNumber=="number"&&l.columnNumber>-1&&(v+=(0,ee.dim)(":"),v+=(0,ee.yellow)(`${l.columnNumber}`)))),v.length>0&&f.unshift(Tt+v),f.push(""),l.lines&&l.lines.length&&(Do(l.lines).forEach(N=>{if(!wo(N.text))return;let P="";for(N.lineNumber>-1&&(P=`L${N.lineNumber}: `);P.length<Tt.length;)P=" "+P;let M=N.text;N.errorCharStart>-1&&(M=O(M,N.errorCharStart,N.errorLength)),P=(0,ee.dim)(P),l.language==="typescript"||l.language==="javascript"?P+=k(M):l.language==="scss"||l.language==="css"?P+=L(M):P+=M,f.push(P)}),f.push("")),l.level==="error"?S(f):l.level==="warn"?p(f):l.level==="debug"?h(f):u(f),l.debugText!=null&&e==="debug"&&(f.push(l.debugText),h(yt([l.debugText],r.getColumns()))),f},O=(l,d,f=0)=>{let v=l.length-d+f-1;for(;l.length+Tt.length>r.getColumns();)if(d>l.length-d+f&&d>5)l=l.slice(1),d--;else if(v>1)l=l.slice(0,-1),v--;else break;let E=[],R=Math.max(l.length,d+f);for(let N=0;N<R;N++){let P=l.charAt(N);N>=d&&N<d+f&&(P=(0,ee.bgRed)(P===""?" ":P)),E.push(P)}return E.join("")},k=l=>l.trim().startsWith("//")?(0,ee.dim)(l):l.split(" ").map(f=>Po.indexOf(f)>-1?(0,ee.cyan)(f):f).join(" "),L=l=>{let d=!0,f="abcdefghijklmnopqrstuvwxyz-_",v=".#,:}@$[]/*",E=[];for(let R=0;R<l.length;R++){let N=l.charAt(R);if(N===";"||N==="{"?d=!0:v.indexOf(N)>-1&&(d=!1),d&&f.indexOf(N.toLowerCase())>-1){E.push((0,ee.cyan)(N));continue}E.push(N)}return E.join("")};return{createLineUpdater:r.createLineUpdater,createTimeSpan:A,debug:T,emoji:r.emoji,enableColors:g,error:m,getLevel:i,info:a,printDiagnostics:x,setLevel:s,setLogFilePath:o,warn:c,writeLogs:w,bgRed:ee.bgRed,blue:ee.blue,bold:ee.bold,cyan:ee.cyan,dim:ee.dim,gray:ee.gray,green:ee.green,magenta:ee.magenta,red:ee.red,yellow:ee.yellow}},qt=(r,e)=>_n.indexOf(e)>=_n.indexOf(r),Jr=()=>{let r=new Date,e=Vr(r.getMinutes()),t=Vr(r.getSeconds()),n=Math.floor(r.getMilliseconds()/1e3*10);return`[${e}:${t}.${n}]`},Vr=r=>("0"+r.toString()).slice(-2),yt=(r,e)=>{let t=[],n=[];r.forEach(i=>{i===null?n.push("null"):typeof i>"u"?n.push("undefined"):typeof i=="string"?i.replace(/\s/gm," ").split(" ").forEach(o=>{o.trim().length&&n.push(o.trim())}):typeof i=="number"||typeof i=="boolean"||typeof i=="function"?n.push(i.toString()):Array.isArray(i)?n.push(()=>i.toString()):Object(i)===i?n.push(()=>i.toString()):n.push(i.toString())});let s=Tt;return n.forEach(i=>{t.length>25||(typeof i=="function"?(s.trim().length&&t.push(s),t.push(i()),s=Tt):Tt.length+i.length>e-1?(s.trim().length&&t.push(s),t.push(Tt+i),s=Tt):i.length+s.length>e-1?(t.push(s),s=Tt+i+" "):s+=i+" ")}),s.trim().length&&t.push(s),t.map(i=>i.trimRight())},Do=r=>{let t=JSON.parse(JSON.stringify(r));for(let n=0;n<100;n++){if(!No(t))return t;for(let s=0;s<t.length;s++)if(t[s].text=t[s].text.slice(1),t[s].errorCharStart--,!t[s].text.length)return t}return t},No=r=>{if(!r.length)return!1;for(let e=0;e<r.length;e++){if(!r[e].text||r[e].text.length<1)return!1;let t=r[e].text.charAt(0);if(t!==" "&&t!==" ")return!1}return!0},wo=r=>r?(r=r.trim(),r.length>0):!1,Po=["abstract","any","as","break","boolean","case","catch","class","console","const","continue","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","import","in","implements","Infinity","instanceof","let","module","namespace","NaN","new","number","null","public","private","protected","require","return","static","set","string","super","switch","this","throw","try","true","type","typeof","undefined","var","void","with","while","yield"],Tt=" ";var Qr=()=>{let r=ko();return Kr(r)};function ko(){return{cwd:()=>process.cwd(),emoji:a=>process.platform!=="win32"?a:"",getColumns:()=>{var m,S;let p=(S=(m=process==null?void 0:process.stdout)==null?void 0:m.columns)!=null?S:80;return Math.max(Math.min(p,120),60)},memoryUsage:()=>process.memoryUsage().rss,relativePath:(a,u)=>Yr.default.relative(a,u),writeLogs:(a,u,c)=>{if(c)try{Ln.default.accessSync(a)}catch{c=!1}c?Ln.default.appendFileSync(a,u):Ln.default.writeFileSync(a,u)},createLineUpdater:async()=>{let a=await import("readline"),u=Promise.resolve(),c=m=>(m=m.substring(0,process.stdout.columns-5)+"\x1B[0m",u=u.then(()=>new Promise(S=>{a.clearLine(process.stdout,0),a.cursorTo(process.stdout,0,void 0),process.stdout.write(m,S)}))),p=()=>c("\x1B[?25h");return process.stdout.write("\x1B[?25l"),{update:c,stop:p}}}}var qr=()=>{};var er=r=>r.flat?r.flat(1):r.reduce((e,t)=>(e.push(...t),e),[]);var _r=r=>typeof r=="function";var jt=r=>typeof r=="string";var tr=r=>{let e={"{":"}","(":")","[":"]"},t=/\\(.)|(^!|\*|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;if(r==="")return!1;let n;for(;n=t.exec(r);){if(n[2])return!0;let s=n.index+n[0].length,i=n[1],o=i?e[i]:null;if(i&&o){let a=r.indexOf(o,s);a!==-1&&(s=a+1)}r=r.slice(s)}return!1};var un=r=>{let e={level:"error",type:"build",header:"Build Error",messageText:"build error",relFilePath:void 0,absFilePath:void 0,lines:[]};return r&&r.push(e),e};var nr=(r,e,t)=>{let n={level:"error",type:"build",header:"Build Error",messageText:"build error",lines:[]};return jt(t)?n.messageText=t.length?t:"UNKNOWN ERROR":e!=null&&(e.stack!=null?n.messageText=e.stack.toString():e.message!=null?n.messageText=e.message.length?e.message:"UNKNOWN ERROR":n.messageText=e.toString()),r!=null&&!rr(n.messageText)&&r.push(n),n};var rr=r=>r===Ut,Ut="task canceled";var ye=(r,e=!0)=>{if(typeof r!="string")throw new Error("invalid path to normalize");r=Uo(r.trim());let t=Ko(r,Go(r)),n=Xo(t),s=n[0],i=n[1],o=s+n.slice(1).join("/");return o===""?".":s===""&&i&&r.includes("/")&&!i.startsWith(".")&&!i.startsWith("@")&&e?"./"+o:o},Uo=r=>r.replace(Wo,"/"),zo="\\",es="://",Wo=/\\/g,Xo=r=>{if(!Array.isArray(r)||r.length===0)return[];let e=[r[0]];for(let t=1;t<r.length;t++){let n=r[t];if(n&&n!=="."){if(n===".."){if(e.length>1){if(e[e.length-1]!==".."){e.pop();continue}}else if(e[0])continue}e.push(n)}}return e},Go=r=>{let e=Jo(r);return e<0?~e:e},Jo=r=>{if(!r)return 0;let e=r.charCodeAt(0);if(e===47||e===92){if(r.charCodeAt(1)!==e)return 1;let n=r.indexOf(e===47?"/":zo,2);return n<0?r.length:n+1}if(ts(e)&&r.charCodeAt(1)===58){let n=r.charCodeAt(2);if(n===47||n===92)return 3;if(r.length===2)return 2}let t=r.indexOf(es);if(t!==-1){let n=t+es.length,s=r.indexOf("/",n);if(s!==-1){let i=r.slice(0,t),o=r.slice(n,s);if(i==="file"&&(o===""||o==="localhost")&&ts(r.charCodeAt(s+1))){let a=Vo(r,s+2);if(a!==-1){if(r.charCodeAt(a)===47)return~(a+1);if(a===r.length)return~a}}return~(s+1)}return~r.length}return 0},ts=r=>r>=97&&r<=122||r>=65&&r<=90,Vo=(r,e)=>{let t=r.charCodeAt(e);if(t===58)return e+1;if(t===37&&r.charCodeAt(e+1)===51){let n=r.charCodeAt(e+2);if(n===97||n===65)return e+3}return-1},Ko=(r,e)=>{let t=r.substring(0,e),n=r.substring(e).split("/"),s=n.length;return s>0&&!n[s-1]&&n.pop(),[t,...n]};var Ts=be(hs(),1);var fn=r=>{if(typeof r!="string")throw new TypeError("invalid pattern");if(r.length>65536)throw new TypeError("pattern is too long")};var na={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},pn=r=>r.replace(/[[\]\\-]/g,"\\$&"),ra=r=>r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),ms=r=>r.join(""),gs=(r,e)=>{let t=e;if(r.charAt(t)!=="[")throw new Error("not in a brace expression");let n=[],s=[],i=t+1,o=!1,a=!1,u=!1,c=!1,p=t,m="";e:for(;i<r.length;){let b=r.charAt(i);if((b==="!"||b==="^")&&i===t+1){c=!0,i++;continue}if(b==="]"&&o&&!u){p=i+1;break}if(o=!0,b==="\\"&&!u){u=!0,i++;continue}if(b==="["&&!u){for(let[$,[D,A,I]]of Object.entries(na))if(r.startsWith($,i)){if(m)return["$.",!1,r.length-t,!0];i+=$.length,I?s.push(D):n.push(D),a=a||A;continue e}}if(u=!1,m){b>m?n.push(pn(m)+"-"+pn(b)):b===m&&n.push(pn(b)),m="",i++;continue}if(r.startsWith("-]",i+1)){n.push(pn(b+"-")),i+=2;continue}if(r.startsWith("-",i+1)){m=b,i+=2;continue}n.push(pn(b)),i++}if(p<i)return["",!1,0,!1];if(!n.length&&!s.length)return["$.",!1,r.length-t,!0];if(s.length===0&&n.length===1&&/^\\?.$/.test(n[0])&&!c){let b=n[0].length===2?n[0].slice(-1):n[0];return[ra(b),!1,p-t,!1]}let S="["+(c?"^":"")+ms(n)+"]",T="["+(c?"":"^")+ms(s)+"]";return[n.length&&s.length?"("+S+"|"+T+")":n.length?S:T,a,p-t,!0]};var ht=(r,{windowsPathsNoEscape:e=!1}={})=>e?r.replace(/\[([^\/\\])\]/g,"$1"):r.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");var sa=new Set(["!","?","+","*","@"]),ys=r=>sa.has(r),ia="(?!(?:^|/)\\.\\.?(?:$|/))",An="(?!\\.)",oa=new Set(["[","."]),aa=new Set(["..","."]),la=new Set("().*{}+?[]^$\\!"),ca=r=>r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),ar="[^/]",vs=ar+"*?",bs=ar+"+?",Le,De,Ct,Ee,Te,Pt,zt,kt,vt,Wt,hn,Xt,Es,It,On,or,Ss,We=class We{constructor(e,t,n={}){ze(this,Xt);Yn(this,"type");ze(this,Le);ze(this,De);ze(this,Ct,!1);ze(this,Ee,[]);ze(this,Te);ze(this,Pt);ze(this,zt);ze(this,kt,!1);ze(this,vt);ze(this,Wt);ze(this,hn,!1);this.type=e,e&&Se(this,De,!0),Se(this,Te,t),Se(this,Le,W(this,Te)?W(W(this,Te),Le):this),Se(this,vt,W(this,Le)===this?n:W(W(this,Le),vt)),Se(this,zt,W(this,Le)===this?[]:W(W(this,Le),zt)),e==="!"&&!W(W(this,Le),kt)&&W(this,zt).push(this),Se(this,Pt,W(this,Te)?W(W(this,Te),Ee).length:0)}get hasMagic(){if(W(this,De)!==void 0)return W(this,De);for(let e of W(this,Ee))if(typeof e!="string"&&(e.type||e.hasMagic))return Se(this,De,!0);return W(this,De)}toString(){return W(this,Wt)!==void 0?W(this,Wt):this.type?Se(this,Wt,this.type+"("+W(this,Ee).map(e=>String(e)).join("|")+")"):Se(this,Wt,W(this,Ee).map(e=>String(e)).join(""))}push(...e){for(let t of e)if(t!==""){if(typeof t!="string"&&!(t instanceof We&&W(t,Te)===this))throw new Error("invalid part: "+t);W(this,Ee).push(t)}}toJSON(){var t;let e=this.type===null?W(this,Ee).slice().map(n=>typeof n=="string"?n:n.toJSON()):[this.type,...W(this,Ee).map(n=>n.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===W(this,Le)||W(W(this,Le),kt)&&((t=W(this,Te))==null?void 0:t.type)==="!")&&e.push({}),e}isStart(){var t;if(W(this,Le)===this)return!0;if(!((t=W(this,Te))!=null&&t.isStart()))return!1;if(W(this,Pt)===0)return!0;let e=W(this,Te);for(let n=0;n<W(this,Pt);n++){let s=W(e,Ee)[n];if(!(s instanceof We&&s.type==="!"))return!1}return!0}isEnd(){var t,n,s;if(W(this,Le)===this||((t=W(this,Te))==null?void 0:t.type)==="!")return!0;if(!((n=W(this,Te))!=null&&n.isEnd()))return!1;if(!this.type)return(s=W(this,Te))==null?void 0:s.isEnd();let e=W(this,Te)?W(W(this,Te),Ee).length:0;return W(this,Pt)===e-1}copyIn(e){typeof e=="string"?this.push(e):this.push(e.clone(this))}clone(e){let t=new We(this.type,e);for(let n of W(this,Ee))t.copyIn(n);return t}static fromGlob(e,t={}){var s;let n=new We(null,void 0,t);return wt(s=We,It,On).call(s,e,n,0,t),n}toMMPattern(){if(this!==W(this,Le))return W(this,Le).toMMPattern();let e=this.toString(),[t,n,s,i]=this.toRegExpSource();if(!(s||W(this,De)||W(this,vt).nocase&&!W(this,vt).nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return n;let a=(W(this,vt).nocase?"i":"")+(i?"u":"");return Object.assign(new RegExp(`^${t}$`,a),{_src:t,_glob:e})}get options(){return W(this,vt)}toRegExpSource(e){var u;let t=e!=null?e:!!W(this,vt).dot;if(W(this,Le)===this&&wt(this,Xt,Es).call(this),!this.type){let c=this.isStart()&&this.isEnd(),p=W(this,Ee).map(h=>{var I;let[b,$,D,A]=typeof h=="string"?wt(I=We,It,Ss).call(I,h,W(this,De),c):h.toRegExpSource(e);return Se(this,De,W(this,De)||D),Se(this,Ct,W(this,Ct)||A),b}).join(""),m="";if(this.isStart()&&typeof W(this,Ee)[0]=="string"&&!(W(this,Ee).length===1&&aa.has(W(this,Ee)[0]))){let b=oa,$=t&&b.has(p.charAt(0))||p.startsWith("\\.")&&b.has(p.charAt(2))||p.startsWith("\\.\\.")&&b.has(p.charAt(4)),D=!t&&!e&&b.has(p.charAt(0));m=$?ia:D?An:""}let S="";return this.isEnd()&&W(W(this,Le),kt)&&((u=W(this,Te))==null?void 0:u.type)==="!"&&(S="(?:$|\\/)"),[m+p+S,ht(p),Se(this,De,!!W(this,De)),W(this,Ct)]}let n=this.type==="*"||this.type==="+",s=this.type==="!"?"(?:(?!(?:":"(?:",i=wt(this,Xt,or).call(this,t);if(this.isStart()&&this.isEnd()&&!i&&this.type!=="!"){let c=this.toString();return Se(this,Ee,[c]),this.type=null,Se(this,De,void 0),[c,ht(this.toString()),!1,!1]}let o=!n||e||t||!An?"":wt(this,Xt,or).call(this,!0);o===i&&(o=""),o&&(i=`(?:${i})(?:${o})*?`);let a="";if(this.type==="!"&&W(this,hn))a=(this.isStart()&&!t?An:"")+bs;else{let c=this.type==="!"?"))"+(this.isStart()&&!t&&!e?An:"")+vs+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&o?")":this.type==="*"&&o?")?":`)${this.type}`;a=s+i+c}return[a,ht(i),Se(this,De,!!W(this,De)),W(this,Ct)]}};Le=new WeakMap,De=new WeakMap,Ct=new WeakMap,Ee=new WeakMap,Te=new WeakMap,Pt=new WeakMap,zt=new WeakMap,kt=new WeakMap,vt=new WeakMap,Wt=new WeakMap,hn=new WeakMap,Xt=new WeakSet,Es=function(){if(this!==W(this,Le))throw new Error("should only call on root");if(W(this,kt))return this;this.toString(),Se(this,kt,!0);let e;for(;e=W(this,zt).pop();){if(e.type!=="!")continue;let t=e,n=W(t,Te);for(;n;){for(let s=W(t,Pt)+1;!n.type&&s<W(n,Ee).length;s++)for(let i of W(e,Ee)){if(typeof i=="string")throw new Error("string part in extglob AST??");i.copyIn(W(n,Ee)[s])}t=n,n=W(t,Te)}}return this},It=new WeakSet,On=function(e,t,n,s){var T,h;let i=!1,o=!1,a=-1,u=!1;if(t.type===null){let b=n,$="";for(;b<e.length;){let D=e.charAt(b++);if(i||D==="\\"){i=!i,$+=D;continue}if(o){b===a+1?(D==="^"||D==="!")&&(u=!0):D==="]"&&!(b===a+2&&u)&&(o=!1),$+=D;continue}else if(D==="["){o=!0,a=b,u=!1,$+=D;continue}if(!s.noext&&ys(D)&&e.charAt(b)==="("){t.push($),$="";let A=new We(D,t);b=wt(T=We,It,On).call(T,e,A,b,s),t.push(A);continue}$+=D}return t.push($),b}let c=n+1,p=new We(null,t),m=[],S="";for(;c<e.length;){let b=e.charAt(c++);if(i||b==="\\"){i=!i,S+=b;continue}if(o){c===a+1?(b==="^"||b==="!")&&(u=!0):b==="]"&&!(c===a+2&&u)&&(o=!1),S+=b;continue}else if(b==="["){o=!0,a=c,u=!1,S+=b;continue}if(ys(b)&&e.charAt(c)==="("){p.push(S),S="";let $=new We(b,p);p.push($),c=wt(h=We,It,On).call(h,e,$,c,s);continue}if(b==="|"){p.push(S),S="",m.push(p),p=new We(null,t);continue}if(b===")")return S===""&&W(t,Ee).length===0&&Se(t,hn,!0),p.push(S),S="",t.push(...m,p),c;S+=b}return t.type=null,Se(t,De,void 0),Se(t,Ee,[e.substring(n-1)]),c},or=function(e){return W(this,Ee).map(t=>{if(typeof t=="string")throw new Error("string type in extglob ast??");let[n,s,i,o]=t.toRegExpSource(e);return Se(this,Ct,W(this,Ct)||o),n}).filter(t=>!(this.isStart()&&this.isEnd())||!!t).join("|")},Ss=function(e,t,n=!1){let s=!1,i="",o=!1;for(let a=0;a<e.length;a++){let u=e.charAt(a);if(s){s=!1,i+=(la.has(u)?"\\":"")+u;continue}if(u==="\\"){a===e.length-1?i+="\\\\":s=!0;continue}if(u==="["){let[c,p,m,S]=gs(e,a);if(m){i+=c,o=o||p,a+=m-1,t=t||S;continue}}if(u==="*"){n&&e==="*"?i+=bs:i+=vs,t=!0;continue}if(u==="?"){i+=ar,t=!0;continue}i+=ca(u)}return[i,ht(e),!!t,o]},ze(We,It);var _t=We;var en=(r,{windowsPathsNoEscape:e=!1}={})=>e?r.replace(/[?*()[\]]/g,"[$&]"):r.replace(/[?*()[\]\\]/g,"\\$&");var Ie=(r,e,t={})=>(fn(e),!t.nocomment&&e.charAt(0)==="#"?!1:new Lt(e,t).match(r)),ua=/^\*+([^+@!?\*\[\(]*)$/,da=r=>e=>!e.startsWith(".")&&e.endsWith(r),fa=r=>e=>e.endsWith(r),pa=r=>(r=r.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(r)),ha=r=>(r=r.toLowerCase(),e=>e.toLowerCase().endsWith(r)),ma=/^\*+\.\*+$/,ga=r=>!r.startsWith(".")&&r.includes("."),ya=r=>r!=="."&&r!==".."&&r.includes("."),va=/^\.\*+$/,ba=r=>r!=="."&&r!==".."&&r.startsWith("."),Ea=/^\*+$/,Sa=r=>r.length!==0&&!r.startsWith("."),$a=r=>r.length!==0&&r!=="."&&r!=="..",xa=/^\?+([^+@!?\*\[\(]*)?$/,Ta=([r,e=""])=>{let t=Cs([r]);return e?(e=e.toLowerCase(),n=>t(n)&&n.toLowerCase().endsWith(e)):t},Ca=([r,e=""])=>{let t=Ls([r]);return e?(e=e.toLowerCase(),n=>t(n)&&n.toLowerCase().endsWith(e)):t},La=([r,e=""])=>{let t=Ls([r]);return e?n=>t(n)&&n.endsWith(e):t},Ra=([r,e=""])=>{let t=Cs([r]);return e?n=>t(n)&&n.endsWith(e):t},Cs=([r])=>{let e=r.length;return t=>t.length===e&&!t.startsWith(".")},Ls=([r])=>{let e=r.length;return t=>t.length===e&&t!=="."&&t!==".."},Rs=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",$s={win32:{sep:"\\"},posix:{sep:"/"}},Aa=Rs==="win32"?$s.win32.sep:$s.posix.sep;Ie.sep=Aa;var et=Symbol("globstar **");Ie.GLOBSTAR=et;var Oa="[^/]",Da=Oa+"*?",Na="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",wa="(?:(?!(?:\\/|^)\\.).)*?",Pa=(r,e={})=>t=>Ie(t,r,e);Ie.filter=Pa;var rt=(r,e={})=>Object.assign({},r,e),ka=r=>{if(!r||typeof r!="object"||!Object.keys(r).length)return Ie;let e=Ie;return Object.assign((n,s,i={})=>e(n,s,rt(r,i)),{Minimatch:class extends e.Minimatch{constructor(s,i={}){super(s,rt(r,i))}static defaults(s){return e.defaults(rt(r,s)).Minimatch}},AST:class extends e.AST{constructor(s,i,o={}){super(s,i,rt(r,o))}static fromGlob(s,i={}){return e.AST.fromGlob(s,rt(r,i))}},unescape:(n,s={})=>e.unescape(n,rt(r,s)),escape:(n,s={})=>e.escape(n,rt(r,s)),filter:(n,s={})=>e.filter(n,rt(r,s)),defaults:n=>e.defaults(rt(r,n)),makeRe:(n,s={})=>e.makeRe(n,rt(r,s)),braceExpand:(n,s={})=>e.braceExpand(n,rt(r,s)),match:(n,s,i={})=>e.match(n,s,rt(r,i)),sep:e.sep,GLOBSTAR:et})};Ie.defaults=ka;var As=(r,e={})=>(fn(r),e.nobrace||!/\{(?:(?!\{).)*\}/.test(r)?[r]:(0,Ts.default)(r));Ie.braceExpand=As;var Ia=(r,e={})=>new Lt(r,e).makeRe();Ie.makeRe=Ia;var Ma=(r,e,t={})=>{let n=new Lt(e,t);return r=r.filter(s=>n.match(s)),n.options.nonull&&!r.length&&r.push(e),r};Ie.match=Ma;var xs=/[?*]|[+@!]\(.*?\)|\[|\]/,Fa=r=>r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Lt=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(e,t={}){fn(e),t=t||{},this.options=t,this.pattern=e,this.platform=t.platform||Rs,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=t.windowsNoMagicRoot!==void 0?t.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let t of e)if(typeof t!="string")return!0;return!1}debug(...e){}make(){let e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],t.debug&&(this.debug=(...i)=>console.error(...i)),this.debug(this.pattern,this.globSet);let n=this.globSet.map(i=>this.slashSplit(i));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let s=this.globParts.map((i,o,a)=>{if(this.isWindows&&this.windowsNoMagicRoot){let u=i[0]===""&&i[1]===""&&(i[2]==="?"||!xs.test(i[2]))&&!xs.test(i[3]),c=/^[a-z]:/i.test(i[0]);if(u)return[...i.slice(0,4),...i.slice(4).map(p=>this.parse(p))];if(c)return[i[0],...i.slice(1).map(p=>this.parse(p))]}return i.map(u=>this.parse(u))});if(this.debug(this.pattern,s),this.set=s.filter(i=>i.indexOf(!1)===-1),this.isWindows)for(let i=0;i<this.set.length;i++){let o=this.set[i];o[0]===""&&o[1]===""&&this.globParts[i][2]==="?"&&typeof o[3]=="string"&&/^[a-z]:$/i.test(o[3])&&(o[2]="?")}this.debug(this.pattern,this.set)}preprocess(e){if(this.options.noglobstar)for(let n=0;n<e.length;n++)for(let s=0;s<e[n].length;s++)e[n][s]==="**"&&(e[n][s]="*");let{optimizationLevel:t=1}=this.options;return t>=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):t>=1?e=this.levelOneOptimize(e):e=this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(t=>{let n=-1;for(;(n=t.indexOf("**",n+1))!==-1;){let s=n;for(;t[s+1]==="**";)s++;s!==n&&t.splice(n,s-n)}return t})}levelOneOptimize(e){return e.map(t=>(t=t.reduce((n,s)=>{let i=n[n.length-1];return s==="**"&&i==="**"?n:s===".."&&i&&i!==".."&&i!=="."&&i!=="**"?(n.pop(),n):(n.push(s),n)},[]),t.length===0?[""]:t))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let t=!1;do{if(t=!1,!this.preserveMultipleSlashes){for(let s=1;s<e.length-1;s++){let i=e[s];s===1&&i===""&&e[0]===""||(i==="."||i==="")&&(t=!0,e.splice(s,1),s--)}e[0]==="."&&e.length===2&&(e[1]==="."||e[1]==="")&&(t=!0,e.pop())}let n=0;for(;(n=e.indexOf("..",n+1))!==-1;){let s=e[n-1];s&&s!=="."&&s!==".."&&s!=="**"&&(t=!0,e.splice(n-1,2),n-=2)}}while(t);return e.length===0?[""]:e}firstPhasePreProcess(e){let t=!1;do{t=!1;for(let n of e){let s=-1;for(;(s=n.indexOf("**",s+1))!==-1;){let o=s;for(;n[o+1]==="**";)o++;o>s&&n.splice(s+1,o-s);let a=n[s+1],u=n[s+2],c=n[s+3];if(a!==".."||!u||u==="."||u===".."||!c||c==="."||c==="..")continue;t=!0,n.splice(s,1);let p=n.slice(0);p[s]="**",e.push(p),s--}if(!this.preserveMultipleSlashes){for(let o=1;o<n.length-1;o++){let a=n[o];o===1&&a===""&&n[0]===""||(a==="."||a==="")&&(t=!0,n.splice(o,1),o--)}n[0]==="."&&n.length===2&&(n[1]==="."||n[1]==="")&&(t=!0,n.pop())}let i=0;for(;(i=n.indexOf("..",i+1))!==-1;){let o=n[i-1];if(o&&o!=="."&&o!==".."&&o!=="**"){t=!0;let u=i===1&&n[i+1]==="**"?["."]:[];n.splice(i-1,2,...u),n.length===0&&n.push(""),i-=2}}}}while(t);return e}secondPhasePreProcess(e){for(let t=0;t<e.length-1;t++)for(let n=t+1;n<e.length;n++){let s=this.partsMatch(e[t],e[n],!this.preserveMultipleSlashes);s&&(e[t]=s,e[n]=[])}return e.filter(t=>t.length)}partsMatch(e,t,n=!1){let s=0,i=0,o=[],a="";for(;s<e.length&&i<t.length;)if(e[s]===t[i])o.push(a==="b"?t[i]:e[s]),s++,i++;else if(n&&e[s]==="**"&&t[i]===e[s+1])o.push(e[s]),s++;else if(n&&t[i]==="**"&&e[s]===t[i+1])o.push(t[i]),i++;else if(e[s]==="*"&&t[i]&&(this.options.dot||!t[i].startsWith("."))&&t[i]!=="**"){if(a==="b")return!1;a="a",o.push(e[s]),s++,i++}else if(t[i]==="*"&&e[s]&&(this.options.dot||!e[s].startsWith("."))&&e[s]!=="**"){if(a==="a")return!1;a="b",o.push(t[i]),s++,i++}else return!1;return e.length===t.length&&o}parseNegate(){if(this.nonegate)return;let e=this.pattern,t=!1,n=0;for(let s=0;s<e.length&&e.charAt(s)==="!";s++)t=!t,n++;n&&(this.pattern=e.slice(n)),this.negate=t}matchOne(e,t,n=!1){let s=this.options;if(this.isWindows){let b=typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0]),$=!b&&e[0]===""&&e[1]===""&&e[2]==="?"&&/^[a-z]:$/i.test(e[3]),D=typeof t[0]=="string"&&/^[a-z]:$/i.test(t[0]),A=!D&&t[0]===""&&t[1]===""&&t[2]==="?"&&typeof t[3]=="string"&&/^[a-z]:$/i.test(t[3]),I=$?3:b?0:void 0,w=A?3:D?0:void 0;if(typeof I=="number"&&typeof w=="number"){let[g,x]=[e[I],t[w]];g.toLowerCase()===x.toLowerCase()&&(t[w]=g,w>I?t=t.slice(w):I>w&&(e=e.slice(I)))}}let{optimizationLevel:i=1}=this.options;i>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var o=0,a=0,u=e.length,c=t.length;o<u&&a<c;o++,a++){this.debug("matchOne loop");var p=t[a],m=e[o];if(this.debug(t,p,m),p===!1)return!1;if(p===et){this.debug("GLOBSTAR",[t,p,m]);var S=o,T=a+1;if(T===c){for(this.debug("** at the end");o<u;o++)if(e[o]==="."||e[o]===".."||!s.dot&&e[o].charAt(0)===".")return!1;return!0}for(;S<u;){var h=e[S];if(this.debug(`
51
+ globstar while`,e,S,t,T,h),this.matchOne(e.slice(S),t.slice(T),n))return this.debug("globstar found match!",S,u,h),!0;if(h==="."||h===".."||!s.dot&&h.charAt(0)==="."){this.debug("dot detected!",e,S,t,T);break}this.debug("globstar swallow a segment, and continue"),S++}return!!(n&&(this.debug(`
52
+ >>> no match, partial?`,e,S,t,T),S===u))}let b;if(typeof p=="string"?(b=m===p,this.debug("string match",p,m,b)):(b=p.test(m),this.debug("pattern match",p,m,b)),!b)return!1}if(o===u&&a===c)return!0;if(o===u)return n;if(a===c)return o===u-1&&e[o]==="";throw new Error("wtf?")}braceExpand(){return As(this.pattern,this.options)}parse(e){fn(e);let t=this.options;if(e==="**")return et;if(e==="")return"";let n,s=null;(n=e.match(Ea))?s=t.dot?$a:Sa:(n=e.match(ua))?s=(t.nocase?t.dot?ha:pa:t.dot?fa:da)(n[1]):(n=e.match(xa))?s=(t.nocase?t.dot?Ca:Ta:t.dot?La:Ra)(n):(n=e.match(ma))?s=t.dot?ya:ga:(n=e.match(va))&&(s=ba);let i=_t.fromGlob(e,this.options).toMMPattern();return s&&typeof i=="object"&&Reflect.defineProperty(i,"test",{value:s}),i}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,n=t.noglobstar?Da:t.dot?Na:wa,s=new Set(t.nocase?["i"]:[]),i=e.map(u=>{let c=u.map(p=>{if(p instanceof RegExp)for(let m of p.flags.split(""))s.add(m);return typeof p=="string"?Fa(p):p===et?et:p._src});return c.forEach((p,m)=>{let S=c[m+1],T=c[m-1];p!==et||T===et||(T===void 0?S!==void 0&&S!==et?c[m+1]="(?:\\/|"+n+"\\/)?"+S:c[m]=n:S===void 0?c[m-1]=T+"(?:\\/|"+n+")?":S!==et&&(c[m-1]=T+"(?:\\/|\\/"+n+"\\/)"+S,c[m+1]=et))}),c.filter(p=>p!==et).join("/")}).join("|"),[o,a]=e.length>1?["(?:",")"]:["",""];i="^"+o+i+a+"$",this.negate&&(i="^(?!"+i+").+$");try{this.regexp=new RegExp(i,[...s].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&t)return!0;let n=this.options;this.isWindows&&(e=e.split("\\").join("/"));let s=this.slashSplit(e);this.debug(this.pattern,"split",s);let i=this.set;this.debug(this.pattern,"set",i);let o=s[s.length-1];if(!o)for(let a=s.length-2;!o&&a>=0;a--)o=s[a];for(let a=0;a<i.length;a++){let u=i[a],c=s;if(n.matchBase&&u.length===1&&(c=[o]),this.matchOne(c,u,t))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(e){return Ie.defaults(e).Minimatch}};Ie.AST=_t;Ie.Minimatch=Lt;Ie.escape=en;Ie.unescape=ht;var Os=r=>r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var cr={};Hr(cr,{err:()=>Ds,map:()=>Ha,ok:()=>lr,unwrap:()=>Ba,unwrapErr:()=>ja});var lr=r=>({isOk:!0,isErr:!1,value:r}),Ds=r=>({isOk:!1,isErr:!0,value:r});function Ha(r,e){if(r.isOk){let t=e(r.value);return t instanceof Promise?t.then(n=>lr(n)):lr(t)}if(r.isErr){let t=r.value;return Ds(t)}throw"should never get here"}var Ba=r=>{if(r.isOk)return r.value;throw r.value},ja=r=>{if(r.isErr)return r.value;throw r.value};var se={allRenderFn:!1,element:!0,event:!0,hasRenderFn:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,propChangeCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,devTools:!1,shadowDelegatesFocus:!0,shadowSlotAssignmentManual:!1,initializeNextTick:!1,asyncLoading:!0,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1};var za={isDev:!!se.isDev,isBrowser:!0,isServer:!1,isTesting:!!se.isTesting};var $f=se.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"];var mt=typeof window<"u"?window:{},Df=mt.HTMLElement||class{};var tn=se.shadowDom;var ur=se.constructableCSS?(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})():!1;/**
53
53
  * @license
54
54
  * Copyright Google Inc. All Rights Reserved.
55
55
  *
@@ -59,6 +59,6 @@ globstar while`,e,S,t,T,m),this.matchOne(e.slice(S),t.slice(T),n))return this.de
59
59
  * This file is a port of shadowCSS from `webcomponents.js` to TypeScript.
60
60
  * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
61
61
  * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
62
- */var Fs="-shadowcsshost",il="-shadowcssslotted",ol="-shadowcsscontext",pr=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",Cp=new RegExp("("+Fs+pr,"gim"),Lp=new RegExp("("+ol+pr,"gim"),Rp=new RegExp("("+il+pr,"gim"),Ap=Fs+"-no-combinator";var mr=r=>{let e=Os(r);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")},Op=mr("::slotted"),Dp=mr(":host"),Np=mr(":host-context");var ll="Capture",tm=new RegExp(ll+"$");var Sg=se.lazyLoad?class{}:globalThis.HTMLElement||class{};var vn=r=>e=>r(e.toLowerCase()),Nl=vn(r=>r.endsWith(".d.ts")||r.endsWith(".d.mts")||r.endsWith(".d.cts")),nv=vn(r=>!Nl(r)&&(r.endsWith(".ts")||r.endsWith(".mts")||r.endsWith(".cts"))),rv=vn(r=>r.endsWith(".tsx")||r.endsWith(".mtsx")||r.endsWith(".ctsx")),sv=vn(r=>r.endsWith(".jsx")||r.endsWith(".mjsx")||r.endsWith(".cjsx")),iv=vn(r=>r.endsWith(".js")||r.endsWith(".mjs")||r.endsWith(".cjs"));function zs(r){r.process.on("unhandledRejection",e=>{if(!rr(e)){let t="unhandledRejection";e!=null&&(typeof e=="string"?t+=": "+e:e.stack?t+=": "+e.stack:e.message&&(t+=": "+e.message)),r.logger.error(t)}})}var uo=be(Xs()),Ir=require("crypto"),fo=be(Js()),de=be(require("./graceful-fs.js")),it=require("os"),po=be(require("os")),fe=be(require("path"));var Vs=()=>{let r=[],e=i=>{let o=r.findIndex(a=>a.callback===i);return o>-1?(r.splice(o,1),!0):!1};return{emit:(i,o)=>{let a=i.toLowerCase().trim(),u=r.slice();for(let c of u)if(c.eventName==null)try{c.callback(i,o)}catch(p){console.error(p)}else if(c.eventName===a)try{c.callback(o)}catch(p){console.error(p)}},on:(i,o)=>{if(typeof i=="function"){let u=i;return r.push({eventName:null,callback:u}),()=>e(u)}else if(typeof i=="string"&&typeof o=="function"){let a=i.toLowerCase().trim(),u=o;return r.push({eventName:a,callback:u}),()=>e(u)}return()=>!1},unsubscribeAll:()=>{r.length=0}}};var Mt=require("./glob.js");var vr=(r,e={})=>{Array.isArray(r)||(r=[r]);for(let t of r)if(new Lt(t,e).hasMagic())return!0;return!1};var Fl=require("./glob.js");var Gv=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux";function wn(r,e={}){return new Mt.Glob(r,e).streamSync()}function Ys(r,e={}){return new Mt.Glob(r,e).stream()}function Qs(r,e={}){return new Mt.Glob(r,e).walkSync()}async function Ks(r,e={}){return new Mt.Glob(r,e).walk()}function Pn(r,e={}){return new Mt.Glob(r,e).iterateSync()}function Zs(r,e={}){return new Mt.Glob(r,e).iterate()}var wl=wn,Pl=Object.assign(Ys,{sync:wn}),kl=Pn,Il=Object.assign(Zs,{sync:Pn}),Ml=Object.assign(Qs,{stream:wn,iterate:Pn}),Nn=Object.assign(Ks,{glob:Ks,globSync:Qs,sync:Ml,globStream:Ys,stream:Pl,globStreamSync:wn,streamSync:wl,globIterate:Zs,iterate:Il,globIterateSync:Pn,iterateSync:kl,Glob:Mt.Glob,hasMagic:vr,escape:en,unescape:mt});Nn.glob=Nn;var gt=be(require("path"));var nn=be(require("./graceful-fs.js")),rn=require("util"),qs=(0,rn.promisify)(nn.default.copyFile),_s=(0,rn.promisify)(nn.default.mkdir),ei=(0,rn.promisify)(nn.default.readdir),eb=(0,rn.promisify)(nn.default.readFile),ti=(0,rn.promisify)(nn.default.stat);async function ri(r,e){let t={diagnostics:[],dirPaths:[],filePaths:[]};try{r=er(await Promise.all(r.map(i=>Hl(i,e))));let n=[];for(;r.length>0;){let i=r.splice(0,100);await Promise.all(i.map(o=>si(t,n,o)))}let s=Wl(n);try{await Promise.all(s.map(i=>_s(i,{recursive:!0})))}catch{}for(;n.length>0;){let i=n.splice(0,100);await Promise.all(i.map(o=>qs(o.src,o.dest)))}}catch(n){nr(t.diagnostics,n)}return t}async function Hl(r,e){return tr(r.src)?await jl(r,e):[{src:Bl(e,r.src),dest:r.keepDirStructure?gt.default.join(r.dest,r.src):r.dest,warn:r.warn,ignore:r.ignore,keepDirStructure:r.keepDirStructure}]}function Bl(r,e){return gt.default.isAbsolute(e)?e:gt.default.join(r,e)}async function jl(r,e){return(await br(r.src,{cwd:e,nodir:!0,ignore:r.ignore})).map(n=>Ul(r,e,n))}function Ul(r,e,t){let n=gt.default.join(r.dest,r.keepDirStructure?t:gt.default.basename(t));return{src:gt.default.join(e,t),dest:n,ignore:r.ignore,warn:r.warn,keepDirStructure:r.keepDirStructure}}async function si(r,e,t){try{t.src=ye(t.src),t.dest=ye(t.dest),(await ti(t.src)).isDirectory()?(r.dirPaths.includes(t.dest)||r.dirPaths.push(t.dest),await zl(r,e,t)):Gl(t)||(r.filePaths.includes(t.dest)||r.filePaths.push(t.dest),e.push(t))}catch(n){if(t.warn!==!1){let s=un(r.diagnostics);n instanceof Error&&(s.messageText=n.message)}}}async function zl(r,e,t){try{let n=await ei(t.src);await Promise.all(n.map(async s=>{let i={src:gt.default.join(t.src,s),dest:gt.default.join(t.dest,s),warn:t.warn};await si(r,e,i)}))}catch(n){nr(r.diagnostics,n)}}function Wl(r){let e=[];return r.forEach(t=>{Xl(e,gt.default.dirname(t.dest))}),e.sort((t,n)=>{let s=t.split("/").length,i=n.split("/").length;return s<i?-1:s>i?1:t<n?-1:t>n?1:0}),e}function Xl(r,e){e=ye(e),!(e===ni||e+"/"===ni||e==="")&&(r.includes(e)||r.push(e))}var ni=ye(gt.default.resolve("/"));function Gl({src:r,ignore:e=[]}){let t=r.trim().toLowerCase();return e.some(n=>t.endsWith(n))}function br(r,e){return Nn(r,e)}var Ji=be(require("./graceful-fs.js")),Vi=be(require("path")),Ki=be(Tr()),Yi=be(bi()),Qi=be(Gi()),Un=class{constructor(e,t){this.nodeResolveModule=e;this.lazyDependencies=t;this.ensured=new Set}async ensure(e,t){let n=[],s=[];if(t.forEach(i=>{if(!this.ensured.has(i)){let{minVersion:o,recommendedVersion:a,maxVersion:u}=this.lazyDependencies[i];try{let c=this.nodeResolveModule.resolveModule(e,i),p=JSON.parse(Ji.default.readFileSync(c,"utf8"));if(u?(0,Qi.default)(p.version,`${o} - ${(0,Yi.default)(u)}.x`):(0,Ki.default)(o,p.version)){this.ensured.add(i);return}}catch{}s.push(`${i}@${a}`)}}),s.length>0){let i=un(n);i.header="Please install supported versions of dev dependencies with either npm or yarn.",i.messageText=`npm install --save-dev ${s.join(" ")}`}return n}require(e,t){let n=this.getModulePath(e,t);return require(n)}getModulePath(e,t){let n=this.nodeResolveModule.resolveModule(e,t);return Vi.default.dirname(n)}};var zn=be(require("./graceful-fs.js")),Ke=be(require("path")),Wn=class{constructor(){this.resolveModuleCache=new Map}resolveModule(e,t,n){let s=`${e}:${t}`,i=this.resolveModuleCache.get(s);if(i)return i;if(n&&n.manuallyResolve)return this.resolveModuleManually(e,t,s);if(t.startsWith("@types/"))return this.resolveTypesModule(e,t,s);let o=require("module");e=Ke.default.resolve(e);let a=Ke.default.join(e,"noop.js"),u=ye(o._resolveFilename(t,{id:a,filename:a,paths:o._nodeModulePaths(e)})),c=ye(Ke.default.parse(e).root),p;for(;u!==c;)if(u=ye(Ke.default.dirname(u)),p=Ke.default.join(u,"package.json"),!!zn.default.existsSync(p))return this.resolveModuleCache.set(s,p),p;throw new Error(`error loading "${t}" from "${e}"`)}resolveTypesModule(e,t,n){let s=t.split("/"),i=ye(Ke.default.parse(e).root),o=ye(Ke.default.join(e,"noop.js")),a;for(;o!==i;)if(o=ye(Ke.default.dirname(o)),a=Ke.default.join(o,"node_modules",s[0],s[1],"package.json"),!!zn.default.existsSync(a))return this.resolveModuleCache.set(n,a),a;throw new Error(`error loading "${t}" from "${e}"`)}resolveModuleManually(e,t,n){let s=ye(Ke.default.parse(e).root),i=ye(Ke.default.join(e,"noop.js")),o;for(;i!==s;)if(i=ye(Ke.default.dirname(i)),o=Ke.default.join(i,"node_modules",t,"package.json"),!!zn.default.existsSync(o))return this.resolveModuleCache.set(n,o),o;throw new Error(`error loading "${t}" from "${e}"`)}};var kr=be(require("./graceful-fs.js")),to=require("os"),no=be(require("path")),ro=be(Lr()),ru="https://registry.npmjs.org/@stencil/core",su=1e3*60*60*24*7,Pr="https://github.com/stenciljs/core/blob/main/CHANGELOG.md";async function so(r,e){try{let t=await iu(r);if(t!=null)return()=>{(0,ro.default)(e,t)?cu(r,e,t):console.debug(`${r.cyan("@stencil/core")} version ${r.green(e)} is the latest version`)}}catch(t){r.debug(`unable to load latest compiler version: ${t}`)}return qr}async function iu(r){try{let e=await lu();if(e==null)return Zi(),null;if(!au(Date.now(),e,su))return null;let t=Zi(),n=await ou(ru),s=JSON.parse(n);return await t,s["dist-tags"].latest}catch(e){r.debug(`getLatestCompilerVersion error: ${e}`)}return null}async function ou(r){let e=await import("https");return new Promise((t,n)=>{let s=e.request(r,i=>{if(i.statusCode>299){n(`url: ${r}, staus: ${i.statusCode}`);return}i.once("error",n);let o=[];i.once("end",()=>{t(o.join(""))}),i.on("data",a=>{o.push(a)})});s.once("error",n),s.end()})}function au(r,e,t){return e+t<r}function lu(){return new Promise(r=>{kr.default.readFile(io(),"utf8",(e,t)=>{if(!e&&jt(t))try{r(JSON.parse(t))}catch{}r(null)})})}function Zi(){return new Promise(r=>{let e=JSON.stringify(Date.now());kr.default.writeFile(io(),e,()=>{r()})})}function io(){return no.default.join((0,to.tmpdir)(),"stencil_last_version_node.json")}function cu(r,e,t){let n="npm install @stencil/core",s=[`Update available: ${e} ${uu} ${t}`,"To get the latest, please run:",n,Pr],i=s.reduce((p,h)=>h.length>p?h.length:p,0),o=[],a=du;for(;a.length<=i+Xn*2;)a+=_i;a+=fu,o.push(a),s.forEach(p=>{let h=qi;for(let S=0;S<Xn;S++)h+=" ";for(h+=p;h.length<=i+Xn*2;)h+=" ";h+=qi,o.push(h)});let u=pu;for(;u.length<=i+Xn*2;)u+=_i;u+=mu,o.push(u);let c=`${eo}${o.join(`
62
+ */var Fs="-shadowcsshost",il="-shadowcssslotted",ol="-shadowcsscontext",pr=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",Cp=new RegExp("("+Fs+pr,"gim"),Lp=new RegExp("("+ol+pr,"gim"),Rp=new RegExp("("+il+pr,"gim"),Ap=Fs+"-no-combinator";var hr=r=>{let e=Os(r);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")},Op=hr("::slotted"),Dp=hr(":host"),Np=hr(":host-context");var ll="Capture",th=new RegExp(ll+"$");var Sg=se.lazyLoad?class{}:globalThis.HTMLElement||class{};var vn=r=>e=>r(e.toLowerCase()),Nl=vn(r=>r.endsWith(".d.ts")||r.endsWith(".d.mts")||r.endsWith(".d.cts")),nv=vn(r=>!Nl(r)&&(r.endsWith(".ts")||r.endsWith(".mts")||r.endsWith(".cts"))),rv=vn(r=>r.endsWith(".tsx")||r.endsWith(".mtsx")||r.endsWith(".ctsx")),sv=vn(r=>r.endsWith(".jsx")||r.endsWith(".mjsx")||r.endsWith(".cjsx")),iv=vn(r=>r.endsWith(".js")||r.endsWith(".mjs")||r.endsWith(".cjs"));function zs(r){r.process.on("unhandledRejection",e=>{if(!rr(e)){let t="unhandledRejection";e!=null&&(typeof e=="string"?t+=": "+e:e.stack?t+=": "+e.stack:e.message&&(t+=": "+e.message)),r.logger.error(t)}})}var uo=be(Xs()),Ir=require("crypto"),fo=be(Js()),de=be(require("./graceful-fs.js")),it=require("os"),po=be(require("os")),fe=be(require("path"));var Vs=()=>{let r=[],e=i=>{let o=r.findIndex(a=>a.callback===i);return o>-1?(r.splice(o,1),!0):!1};return{emit:(i,o)=>{let a=i.toLowerCase().trim(),u=r.slice();for(let c of u)if(c.eventName==null)try{c.callback(i,o)}catch(p){console.error(p)}else if(c.eventName===a)try{c.callback(o)}catch(p){console.error(p)}},on:(i,o)=>{if(typeof i=="function"){let u=i;return r.push({eventName:null,callback:u}),()=>e(u)}else if(typeof i=="string"&&typeof o=="function"){let a=i.toLowerCase().trim(),u=o;return r.push({eventName:a,callback:u}),()=>e(u)}return()=>!1},unsubscribeAll:()=>{r.length=0}}};var Mt=require("./glob.js");var vr=(r,e={})=>{Array.isArray(r)||(r=[r]);for(let t of r)if(new Lt(t,e).hasMagic())return!0;return!1};var Fl=require("./glob.js");var Gv=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux";function wn(r,e={}){return new Mt.Glob(r,e).streamSync()}function Ys(r,e={}){return new Mt.Glob(r,e).stream()}function Qs(r,e={}){return new Mt.Glob(r,e).walkSync()}async function Ks(r,e={}){return new Mt.Glob(r,e).walk()}function Pn(r,e={}){return new Mt.Glob(r,e).iterateSync()}function Zs(r,e={}){return new Mt.Glob(r,e).iterate()}var wl=wn,Pl=Object.assign(Ys,{sync:wn}),kl=Pn,Il=Object.assign(Zs,{sync:Pn}),Ml=Object.assign(Qs,{stream:wn,iterate:Pn}),Nn=Object.assign(Ks,{glob:Ks,globSync:Qs,sync:Ml,globStream:Ys,stream:Pl,globStreamSync:wn,streamSync:wl,globIterate:Zs,iterate:Il,globIterateSync:Pn,iterateSync:kl,Glob:Mt.Glob,hasMagic:vr,escape:en,unescape:ht});Nn.glob=Nn;var gt=be(require("path"));var nn=be(require("./graceful-fs.js")),rn=require("util"),qs=(0,rn.promisify)(nn.default.copyFile),_s=(0,rn.promisify)(nn.default.mkdir),ei=(0,rn.promisify)(nn.default.readdir),eb=(0,rn.promisify)(nn.default.readFile),ti=(0,rn.promisify)(nn.default.stat);async function ri(r,e){let t={diagnostics:[],dirPaths:[],filePaths:[]};try{r=er(await Promise.all(r.map(i=>Hl(i,e))));let n=[];for(;r.length>0;){let i=r.splice(0,100);await Promise.all(i.map(o=>si(t,n,o)))}let s=Wl(n);try{await Promise.all(s.map(i=>_s(i,{recursive:!0})))}catch{}for(;n.length>0;){let i=n.splice(0,100);await Promise.all(i.map(o=>qs(o.src,o.dest)))}}catch(n){nr(t.diagnostics,n)}return t}async function Hl(r,e){return tr(r.src)?await jl(r,e):[{src:Bl(e,r.src),dest:r.keepDirStructure?gt.default.join(r.dest,r.src):r.dest,warn:r.warn,ignore:r.ignore,keepDirStructure:r.keepDirStructure}]}function Bl(r,e){return gt.default.isAbsolute(e)?e:gt.default.join(r,e)}async function jl(r,e){return(await br(r.src,{cwd:e,nodir:!0,ignore:r.ignore})).map(n=>Ul(r,e,n))}function Ul(r,e,t){let n=gt.default.join(r.dest,r.keepDirStructure?t:gt.default.basename(t));return{src:gt.default.join(e,t),dest:n,ignore:r.ignore,warn:r.warn,keepDirStructure:r.keepDirStructure}}async function si(r,e,t){try{t.src=ye(t.src),t.dest=ye(t.dest),(await ti(t.src)).isDirectory()?(r.dirPaths.includes(t.dest)||r.dirPaths.push(t.dest),await zl(r,e,t)):Gl(t)||(r.filePaths.includes(t.dest)||r.filePaths.push(t.dest),e.push(t))}catch(n){if(t.warn!==!1){let s=un(r.diagnostics);n instanceof Error&&(s.messageText=n.message)}}}async function zl(r,e,t){try{let n=await ei(t.src);await Promise.all(n.map(async s=>{let i={src:gt.default.join(t.src,s),dest:gt.default.join(t.dest,s),warn:t.warn};await si(r,e,i)}))}catch(n){nr(r.diagnostics,n)}}function Wl(r){let e=[];return r.forEach(t=>{Xl(e,gt.default.dirname(t.dest))}),e.sort((t,n)=>{let s=t.split("/").length,i=n.split("/").length;return s<i?-1:s>i?1:t<n?-1:t>n?1:0}),e}function Xl(r,e){e=ye(e),!(e===ni||e+"/"===ni||e==="")&&(r.includes(e)||r.push(e))}var ni=ye(gt.default.resolve("/"));function Gl({src:r,ignore:e=[]}){let t=r.trim().toLowerCase();return e.some(n=>t.endsWith(n))}function br(r,e){return Nn(r,e)}var Ji=be(require("./graceful-fs.js")),Vi=be(require("path")),Ki=be(Tr()),Yi=be(bi()),Qi=be(Gi()),Un=class{constructor(e,t){this.nodeResolveModule=e;this.lazyDependencies=t;this.ensured=new Set}async ensure(e,t){let n=[],s=[];if(t.forEach(i=>{if(!this.ensured.has(i)){let{minVersion:o,recommendedVersion:a,maxVersion:u}=this.lazyDependencies[i];try{let c=this.nodeResolveModule.resolveModule(e,i),p=JSON.parse(Ji.default.readFileSync(c,"utf8"));if(u?(0,Qi.default)(p.version,`${o} - ${(0,Yi.default)(u)}.x`):(0,Ki.default)(o,p.version)){this.ensured.add(i);return}}catch{}s.push(`${i}@${a}`)}}),s.length>0){let i=un(n);i.header="Please install supported versions of dev dependencies with either npm or yarn.",i.messageText=`npm install --save-dev ${s.join(" ")}`}return n}require(e,t){let n=this.getModulePath(e,t);return require(n)}getModulePath(e,t){let n=this.nodeResolveModule.resolveModule(e,t);return Vi.default.dirname(n)}};var zn=be(require("./graceful-fs.js")),Ke=be(require("path")),Wn=class{constructor(){this.resolveModuleCache=new Map}resolveModule(e,t,n){let s=`${e}:${t}`,i=this.resolveModuleCache.get(s);if(i)return i;if(n&&n.manuallyResolve)return this.resolveModuleManually(e,t,s);if(t.startsWith("@types/"))return this.resolveTypesModule(e,t,s);let o=require("module");e=Ke.default.resolve(e);let a=Ke.default.join(e,"noop.js"),u=ye(o._resolveFilename(t,{id:a,filename:a,paths:o._nodeModulePaths(e)})),c=ye(Ke.default.parse(e).root),p;for(;u!==c;)if(u=ye(Ke.default.dirname(u)),p=Ke.default.join(u,"package.json"),!!zn.default.existsSync(p))return this.resolveModuleCache.set(s,p),p;throw new Error(`error loading "${t}" from "${e}"`)}resolveTypesModule(e,t,n){let s=t.split("/"),i=ye(Ke.default.parse(e).root),o=ye(Ke.default.join(e,"noop.js")),a;for(;o!==i;)if(o=ye(Ke.default.dirname(o)),a=Ke.default.join(o,"node_modules",s[0],s[1],"package.json"),!!zn.default.existsSync(a))return this.resolveModuleCache.set(n,a),a;throw new Error(`error loading "${t}" from "${e}"`)}resolveModuleManually(e,t,n){let s=ye(Ke.default.parse(e).root),i=ye(Ke.default.join(e,"noop.js")),o;for(;i!==s;)if(i=ye(Ke.default.dirname(i)),o=Ke.default.join(i,"node_modules",t,"package.json"),!!zn.default.existsSync(o))return this.resolveModuleCache.set(n,o),o;throw new Error(`error loading "${t}" from "${e}"`)}};var kr=be(require("./graceful-fs.js")),to=require("os"),no=be(require("path")),ro=be(Lr()),ru="https://registry.npmjs.org/@stencil/core",su=1e3*60*60*24*7,Pr="https://github.com/stenciljs/core/blob/main/CHANGELOG.md";async function so(r,e){try{let t=await iu(r);if(t!=null)return()=>{(0,ro.default)(e,t)?cu(r,e,t):console.debug(`${r.cyan("@stencil/core")} version ${r.green(e)} is the latest version`)}}catch(t){r.debug(`unable to load latest compiler version: ${t}`)}return qr}async function iu(r){try{let e=await lu();if(e==null)return Zi(),null;if(!au(Date.now(),e,su))return null;let t=Zi(),n=await ou(ru),s=JSON.parse(n);return await t,s["dist-tags"].latest}catch(e){r.debug(`getLatestCompilerVersion error: ${e}`)}return null}async function ou(r){let e=await import("https");return new Promise((t,n)=>{let s=e.request(r,i=>{if(i.statusCode>299){n(`url: ${r}, staus: ${i.statusCode}`);return}i.once("error",n);let o=[];i.once("end",()=>{t(o.join(""))}),i.on("data",a=>{o.push(a)})});s.once("error",n),s.end()})}function au(r,e,t){return e+t<r}function lu(){return new Promise(r=>{kr.default.readFile(io(),"utf8",(e,t)=>{if(!e&&jt(t))try{r(JSON.parse(t))}catch{}r(null)})})}function Zi(){return new Promise(r=>{let e=JSON.stringify(Date.now());kr.default.writeFile(io(),e,()=>{r()})})}function io(){return no.default.join((0,to.tmpdir)(),"stencil_last_version_node.json")}function cu(r,e,t){let n="npm install @stencil/core",s=[`Update available: ${e} ${uu} ${t}`,"To get the latest, please run:",n,Pr],i=s.reduce((p,m)=>m.length>p?m.length:p,0),o=[],a=du;for(;a.length<=i+Xn*2;)a+=_i;a+=fu,o.push(a),s.forEach(p=>{let m=qi;for(let S=0;S<Xn;S++)m+=" ";for(m+=p;m.length<=i+Xn*2;)m+=" ";m+=qi,o.push(m)});let u=pu;for(;u.length<=i+Xn*2;)u+=_i;u+=hu,o.push(u);let c=`${eo}${o.join(`
63
63
  ${eo}`)}
64
- `;c=c.replace(e,r.red(e)),c=c.replace(t,r.green(t)),c=c.replace(n,r.cyan(n)),c=c.replace(Pr,r.dim(Pr)),console.log(c)}var uu="\u2192",du="\u256D",fu="\u256E",pu="\u2570",mu="\u256F",qi="\u2502",_i="\u2500",Xn=2,eo=" ";var lo=require("events"),co=require("os");var oo=be(require("child_process")),ao=require("events"),Gn=class extends ao.EventEmitter{constructor(t,n){super();this.id=t;this.tasks=new Map;this.exitCode=null;this.processQueue=!0;this.sendQueue=[];this.stopped=!1;this.successfulMessage=!1;this.totalTasksAssigned=0;this.fork(n)}fork(t){let s={execArgv:process.execArgv.filter(i=>!/^--(debug|inspect)/.test(i)),env:process.env,cwd:process.cwd(),silent:!0};this.childProcess=oo.fork(t,[],s),this.childProcess.stdout.setEncoding("utf8"),this.childProcess.stdout.on("data",i=>{console.log(i)}),this.childProcess.stderr.setEncoding("utf8"),this.childProcess.stderr.on("data",i=>{console.log(i)}),this.childProcess.on("message",this.receiveFromWorker.bind(this)),this.childProcess.on("error",i=>{this.emit("error",i)}),this.childProcess.once("exit",i=>{this.exitCode=i,this.emit("exit",i)})}run(t){this.totalTasksAssigned++,this.tasks.set(t.stencilId,t);let[n,...s]=t.inputArgs;this.sendToWorker({stencilId:t.stencilId,method:n,args:s})}sendToWorker(t){if(!this.processQueue){this.sendQueue.push(t);return}(!this.childProcess.send(t,s=>{if(!(s&&s instanceof Error)&&(this.processQueue=!0,this.sendQueue.length>0)){let i=this.sendQueue.slice();this.sendQueue=[],i.forEach(o=>this.sendToWorker(o))}})||/^win/.test(process.platform))&&(this.processQueue=!1)}receiveFromWorker(t){if(this.successfulMessage=!0,this.stopped)return;let n=this.tasks.get(t.stencilId);if(!n){t.stencilRtnError!=null&&this.emit("error",t.stencilRtnError);return}t.stencilRtnError!=null?n.reject(t.stencilRtnError):n.resolve(t.stencilRtnValue),this.tasks.delete(t.stencilId),this.emit("response",t)}stop(){this.stopped=!0,this.tasks.forEach(t=>t.reject(Ut)),this.tasks.clear(),this.successfulMessage?(this.childProcess.send({exit:!0}),setTimeout(()=>{this.exitCode===null&&this.childProcess.kill("SIGKILL")},100)):this.childProcess.kill("SIGKILL")}};var Jn=class extends lo.EventEmitter{constructor(t,n){super();this.forkModulePath=t;this.workerIds=0;this.stencilId=0;this.isEnding=!1;this.taskQueue=[];this.workers=[];let s=(0,co.cpus)().length;this.useForkedWorkers=n>0,this.maxWorkers=Math.max(Math.min(n,s),2)-1,this.useForkedWorkers?this.startWorkers():this.mainThreadRunner=require(t)}onError(t,n){if(t.code==="ERR_IPC_CHANNEL_CLOSED")return this.stopWorker(n);t.code!=="EPIPE"&&console.error(t)}onExit(t){setTimeout(()=>{let n=!1,s=this.workers.find(i=>i.id===t);s&&(s.tasks.forEach(i=>{i.retries++,this.taskQueue.unshift(i),n=!0}),s.tasks.clear()),this.stopWorker(t),n&&this.processTaskQueue()},10)}startWorkers(){for(;this.workers.length<this.maxWorkers;)this.startWorker()}startWorker(){let t=this.workerIds++,n=new Gn(t,this.forkModulePath);n.on("response",this.processTaskQueue.bind(this)),n.once("exit",()=>{this.onExit(t)}),n.on("error",s=>{this.onError(s,t)}),this.workers.push(n)}stopWorker(t){let n=this.workers.find(s=>s.id===t);if(n){n.stop();let s=this.workers.indexOf(n);s>-1&&this.workers.splice(s,1)}}processTaskQueue(){if(!this.isEnding)for(this.useForkedWorkers&&this.startWorkers();this.taskQueue.length>0;){let t=hu(this.workers);if(!t)break;t.run(this.taskQueue.shift())}}send(...t){return this.isEnding?Promise.reject(Ut):this.useForkedWorkers?new Promise((n,s)=>{let i={stencilId:this.stencilId++,inputArgs:t,retries:0,resolve:n,reject:s};this.taskQueue.push(i),this.processTaskQueue()}):this.mainThreadRunner[t[0]].apply(null,t.slice(1))}handler(t){return(...n)=>this.send(t,...n)}cancelTasks(){for(let t of this.workers)t.tasks.forEach(n=>n.reject(Ut)),t.tasks.clear();this.taskQueue.length=0}destroy(){if(!this.isEnding){this.isEnding=!0;for(let n of this.taskQueue)n.reject(Ut);this.taskQueue.length=0;let t=this.workers.map(n=>n.id);for(let n of t)this.stopWorker(n)}}};function hu(r){let e=r.filter(n=>!n.stopped);return e.length===0?null:e.sort((n,s)=>n.tasks.size<s.tasks.size?-1:n.tasks.size>s.tasks.size?1:n.totalTasksAssigned<s.totalTasksAssigned?-1:n.totalTasksAssigned>s.totalTasksAssigned?1:0)[0]}function mo(r={}){var T;let e=(T=r==null?void 0:r.process)!=null?T:global.process,t=r==null?void 0:r.logger,n=new Set,s=[],i=(0,it.cpus)(),o=i.length,a=(0,it.platform)(),u=fe.default.join(__dirname,"..","..","compiler","stencil.js"),c=fe.default.join(__dirname,"..","..","dev-server","index.js"),p=()=>{let m=[],b;for(;_r(b=s.pop());)try{let $=b();m.push($)}catch{}return Promise.all(m).then(()=>{})},h={name:"node",version:e.versions.node,access(m){return new Promise(b=>{de.default.access(m,$=>b(!$))})},accessSync(m){let b=!1;try{de.default.accessSync(m),b=!0}catch{}return b},addDestroy(m){n.add(m)},removeDestroy(m){n.delete(m)},applyPrerenderGlobalPatch(m){if(typeof global.fetch!="function"){let b=require(fe.default.join(__dirname,"node-fetch.js"));global.fetch=($,D)=>{if(typeof $=="string"){let A=new URL($,m.devServerHostUrl).href;return b.fetch(A,D)}else return $.url=new URL($.url,m.devServerHostUrl).href,b.fetch($,D)},global.Headers=b.Headers,global.Request=b.Request,global.Response=b.Response,global.FetchError=b.FetchError}m.window.fetch=global.fetch,m.window.Headers=global.Headers,m.window.Request=global.Request,m.window.Response=global.Response,m.window.FetchError=global.FetchError},fetch:(m,b)=>{let $=require(fe.default.join(__dirname,"node-fetch.js"));if(typeof m=="string"){let D=new URL(m).href;return $.fetch(D,b)}else return m.url=new URL(m.url).href,$.fetch(m,b)},checkVersion:so,copyFile(m,b){return new Promise($=>{de.default.copyFile(m,b,D=>{$(!D)})})},createDir(m,b){return new Promise($=>{b?de.default.mkdir(m,b,D=>{$({basename:fe.default.basename(m),dirname:fe.default.dirname(m),path:m,newDirs:[],error:D})}):de.default.mkdir(m,D=>{$({basename:fe.default.basename(m),dirname:fe.default.dirname(m),path:m,newDirs:[],error:D})})})},createDirSync(m,b){let $={basename:fe.default.basename(m),dirname:fe.default.dirname(m),path:m,newDirs:[],error:null};try{de.default.mkdirSync(m,b)}catch(D){$.error=D}return $},createWorkerController(m){let b=fe.default.join(__dirname,"worker.js");return new Jn(b,m)},async destroy(){let m=[];n.forEach(b=>{try{let $=b();$&&typeof $.then=="function"&&m.push($)}catch($){console.error(`node sys destroy: ${$}`)}}),m.length>0&&await Promise.all(m),n.clear()},dynamicImport(m){return Promise.resolve(require(m))},encodeToBase64(m){return Buffer.from(m).toString("base64")},async ensureDependencies(){return console.warn("ensureDependencies will be removed in a future version of Stencil."),console.warn("To get the stencilPath, please use getCompilerExecutingPath()."),{stencilPath:h.getCompilerExecutingPath(),diagnostics:[]}},async ensureResources(){console.warn("ensureResources is a no-op, and will be removed in a future version of Stencil")},exit:async m=>{await p(),(0,fo.default)(m)},getCurrentDirectory(){return ye(e.cwd())},getCompilerExecutingPath(){return u},getDevServerExecutingPath(){return c},getEnvironmentVar(m){return process.env[m]},getLocalModulePath(){return null},getRemoteModuleUrl(){return null},glob:br,hardwareConcurrency:o,isSymbolicLink(m){return new Promise(b=>{try{de.default.lstat(m,($,D)=>{b($?!1:D.isSymbolicLink())})}catch{b(!1)}})},nextTick:e.nextTick,normalizePath:ye,onProcessInterrupt:m=>{s.includes(m)||s.push(m)},platformPath:fe.default,readDir(m){return new Promise(b=>{de.default.readdir(m,($,D)=>{b($?[]:D.map(A=>ye(fe.default.join(m,A))))})})},parseYarnLockFile(m){return(0,uo.parse)(m)},isTTY(){var m;return!!((m=process==null?void 0:process.stdout)!=null&&m.isTTY)},readDirSync(m){try{return de.default.readdirSync(m).map(b=>ye(fe.default.join(m,b)))}catch{}return[]},readFile(m,b){return b==="binary"?new Promise($=>{de.default.readFile(m,(D,A)=>{$(A)})}):new Promise($=>{de.default.readFile(m,"utf8",(D,A)=>{$(A)})})},readFileSync(m){try{return de.default.readFileSync(m,"utf8")}catch{}},homeDir(){try{return po.homedir()}catch{}},realpath(m){return new Promise(b=>{de.default.realpath(m,"utf8",($,D)=>{b({path:D,error:$})})})},realpathSync(m){let b={path:void 0,error:null};try{b.path=de.default.realpathSync(m,"utf8")}catch($){b.error=$}return b},rename(m,b){return new Promise($=>{de.default.rename(m,b,D=>{$({oldPath:m,newPath:b,error:D,oldDirs:[],oldFiles:[],newDirs:[],newFiles:[],renamed:[],isFile:!1,isDirectory:!1})})})},resolvePath(m){return ye(m)},removeDir(m,b){return new Promise($=>{!!(b&&b.recursive)?de.default.rm(m,{recursive:!0,force:!0},A=>{$({basename:fe.default.basename(m),dirname:fe.default.dirname(m),path:m,removedDirs:[],removedFiles:[],error:A})}):de.default.rmdir(m,A=>{$({basename:fe.default.basename(m),dirname:fe.default.dirname(m),path:m,removedDirs:[],removedFiles:[],error:A})})})},removeDirSync(m,b){try{return!!(b&&b.recursive)?de.default.rmSync(m,{recursive:!0,force:!0}):de.default.rmdirSync(m),{basename:fe.default.basename(m),dirname:fe.default.dirname(m),path:m,removedDirs:[],removedFiles:[],error:null}}catch($){return{basename:fe.default.basename(m),dirname:fe.default.dirname(m),path:m,removedDirs:[],removedFiles:[],error:$}}},removeFile(m){return new Promise(b=>{de.default.unlink(m,$=>{b({basename:fe.default.basename(m),dirname:fe.default.dirname(m),path:m,error:$})})})},removeFileSync(m){let b={basename:fe.default.basename(m),dirname:fe.default.dirname(m),path:m,error:null};try{de.default.unlinkSync(m)}catch($){b.error=$}return b},setupCompiler(m){let b=m.ts,$=b.sys.watchDirectory,D=b.sys.watchFile;h.watchTimeout=80,h.events=Vs(),h.watchDirectory=(A,I,w)=>{t==null||t.debug(`NODE_SYS_DEBUG::watchDir ${A}`);let g=$(A,C=>{t==null||t.debug(`NODE_SYS_DEBUG::watchDir:callback dir=${A} changedPath=${C}`),I(ye(C),"fileUpdate")},w),x=()=>{g.close()};return h.addDestroy(x),{close(){h.removeDestroy(x),g.close()}}},h.watchFile=(A,I)=>{t==null||t.debug(`NODE_SYS_DEBUG::watchFile ${A}`);let w=D(A,(x,C)=>{x=ye(x),C===b.FileWatcherEventKind.Created?(I(x,"fileAdd"),h.events.emit("fileAdd",x)):C===b.FileWatcherEventKind.Changed?(I(x,"fileUpdate"),h.events.emit("fileUpdate",x)):C===b.FileWatcherEventKind.Deleted&&(I(x,"fileDelete"),h.events.emit("fileDelete",x))},250,{watchFile:b.WatchFileKind.FixedPollingInterval,fallbackPolling:b.PollingWatchKind.FixedInterval}),g=()=>{w.close()};return h.addDestroy(g),{close(){h.removeDestroy(g),w.close()}}}},stat(m){return new Promise(b=>{de.default.stat(m,($,D)=>{b($?{isDirectory:!1,isFile:!1,isSymbolicLink:!1,size:0,mtimeMs:0,error:$}:{isDirectory:D.isDirectory(),isFile:D.isFile(),isSymbolicLink:D.isSymbolicLink(),size:D.size,mtimeMs:D.mtimeMs,error:null})})})},statSync(m){try{let b=de.default.statSync(m);return{isDirectory:b.isDirectory(),isFile:b.isFile(),isSymbolicLink:b.isSymbolicLink(),size:b.size,mtimeMs:b.mtimeMs,error:null}}catch(b){return{isDirectory:!1,isFile:!1,isSymbolicLink:!1,size:0,mtimeMs:0,error:b}}},tmpDirSync(){return(0,it.tmpdir)()},writeFile(m,b){return new Promise($=>{de.default.writeFile(m,b,D=>{$({path:m,error:D})})})},writeFileSync(m,b){let $={path:m,error:null};try{de.default.writeFileSync(m,b)}catch(D){$.error=D}return $},generateContentHash(m,b){let $=(0,Ir.createHash)("sha1").update(m).digest("hex").toLowerCase();return typeof b=="number"&&($=$.slice(0,b)),Promise.resolve($)},generateFileHash(m,b){return new Promise(($,D)=>{let A=(0,Ir.createHash)("sha1");de.default.createReadStream(m).on("error",I=>D(I)).on("data",I=>A.update(I)).on("end",()=>{let I=A.digest("hex").toLowerCase();typeof b=="number"&&(I=I.slice(0,b)),$(I)})})},copy:ri,details:{cpuModel:(Array.isArray(i)&&i.length>0?i[0]&&i[0].model:"")||"",freemem(){return(0,it.freemem)()},platform:a==="darwin"||a==="linux"?a:a==="win32"?"windows":"",release:(0,it.release)(),totalmem:(0,it.totalmem)()}},S=new Wn;return h.lazyRequire=new Un(S,{"@types/jest":{minVersion:"24.9.1",recommendedVersion:"29",maxVersion:"29.0.0"},jest:{minVersion:"24.9.0",recommendedVersion:"29",maxVersion:"29.0.0"},"jest-cli":{minVersion:"24.9.0",recommendedVersion:"29",maxVersion:"29.0.0"},puppeteer:{minVersion:"10.0.0",recommendedVersion:"20"},"puppeteer-core":{minVersion:"10.0.0",recommendedVersion:"20"},"workbox-build":{minVersion:"4.3.1",recommendedVersion:"4.3.1"}}),e.on("SIGINT",p),e.on("exit",p),h}0&&(module.exports={createNodeLogger,createNodeSys,setupNodeProcess});
64
+ `;c=c.replace(e,r.red(e)),c=c.replace(t,r.green(t)),c=c.replace(n,r.cyan(n)),c=c.replace(Pr,r.dim(Pr)),console.log(c)}var uu="\u2192",du="\u256D",fu="\u256E",pu="\u2570",hu="\u256F",qi="\u2502",_i="\u2500",Xn=2,eo=" ";var lo=require("events"),co=require("os");var oo=be(require("child_process")),ao=require("events"),Gn=class extends ao.EventEmitter{constructor(t,n){super();this.id=t;this.tasks=new Map;this.exitCode=null;this.processQueue=!0;this.sendQueue=[];this.stopped=!1;this.successfulMessage=!1;this.totalTasksAssigned=0;this.fork(n)}fork(t){let s={execArgv:process.execArgv.filter(i=>!/^--(debug|inspect)/.test(i)),env:process.env,cwd:process.cwd(),silent:!0};this.childProcess=oo.fork(t,[],s),this.childProcess.stdout.setEncoding("utf8"),this.childProcess.stdout.on("data",i=>{console.log(i)}),this.childProcess.stderr.setEncoding("utf8"),this.childProcess.stderr.on("data",i=>{console.log(i)}),this.childProcess.on("message",this.receiveFromWorker.bind(this)),this.childProcess.on("error",i=>{this.emit("error",i)}),this.childProcess.once("exit",i=>{this.exitCode=i,this.emit("exit",i)})}run(t){this.totalTasksAssigned++,this.tasks.set(t.stencilId,t);let[n,...s]=t.inputArgs;this.sendToWorker({stencilId:t.stencilId,method:n,args:s})}sendToWorker(t){if(!this.processQueue){this.sendQueue.push(t);return}(!this.childProcess.send(t,s=>{if(!(s&&s instanceof Error)&&(this.processQueue=!0,this.sendQueue.length>0)){let i=this.sendQueue.slice();this.sendQueue=[],i.forEach(o=>this.sendToWorker(o))}})||/^win/.test(process.platform))&&(this.processQueue=!1)}receiveFromWorker(t){if(this.successfulMessage=!0,this.stopped)return;let n=this.tasks.get(t.stencilId);if(!n){t.stencilRtnError!=null&&this.emit("error",t.stencilRtnError);return}t.stencilRtnError!=null?n.reject(t.stencilRtnError):n.resolve(t.stencilRtnValue),this.tasks.delete(t.stencilId),this.emit("response",t)}stop(){this.stopped=!0,this.tasks.forEach(t=>t.reject(Ut)),this.tasks.clear(),this.successfulMessage?(this.childProcess.send({exit:!0}),setTimeout(()=>{this.exitCode===null&&this.childProcess.kill("SIGKILL")},100)):this.childProcess.kill("SIGKILL")}};var Jn=class extends lo.EventEmitter{constructor(t,n){super();this.forkModulePath=t;this.workerIds=0;this.stencilId=0;this.isEnding=!1;this.taskQueue=[];this.workers=[];let s=(0,co.cpus)().length;this.useForkedWorkers=n>0,this.maxWorkers=Math.max(Math.min(n,s),2)-1,this.useForkedWorkers?this.startWorkers():this.mainThreadRunner=require(t)}onError(t,n){if(t.code==="ERR_IPC_CHANNEL_CLOSED")return this.stopWorker(n);t.code!=="EPIPE"&&console.error(t)}onExit(t){setTimeout(()=>{let n=!1,s=this.workers.find(i=>i.id===t);s&&(s.tasks.forEach(i=>{i.retries++,this.taskQueue.unshift(i),n=!0}),s.tasks.clear()),this.stopWorker(t),n&&this.processTaskQueue()},10)}startWorkers(){for(;this.workers.length<this.maxWorkers;)this.startWorker()}startWorker(){let t=this.workerIds++,n=new Gn(t,this.forkModulePath);n.on("response",this.processTaskQueue.bind(this)),n.once("exit",()=>{this.onExit(t)}),n.on("error",s=>{this.onError(s,t)}),this.workers.push(n)}stopWorker(t){let n=this.workers.find(s=>s.id===t);if(n){n.stop();let s=this.workers.indexOf(n);s>-1&&this.workers.splice(s,1)}}processTaskQueue(){if(!this.isEnding)for(this.useForkedWorkers&&this.startWorkers();this.taskQueue.length>0;){let t=mu(this.workers);if(!t)break;t.run(this.taskQueue.shift())}}send(...t){return this.isEnding?Promise.reject(Ut):this.useForkedWorkers?new Promise((n,s)=>{let i={stencilId:this.stencilId++,inputArgs:t,retries:0,resolve:n,reject:s};this.taskQueue.push(i),this.processTaskQueue()}):this.mainThreadRunner[t[0]].apply(null,t.slice(1))}handler(t){return(...n)=>this.send(t,...n)}cancelTasks(){for(let t of this.workers)t.tasks.forEach(n=>n.reject(Ut)),t.tasks.clear();this.taskQueue.length=0}destroy(){if(!this.isEnding){this.isEnding=!0;for(let n of this.taskQueue)n.reject(Ut);this.taskQueue.length=0;let t=this.workers.map(n=>n.id);for(let n of t)this.stopWorker(n)}}};function mu(r){let e=r.filter(n=>!n.stopped);return e.length===0?null:e.sort((n,s)=>n.tasks.size<s.tasks.size?-1:n.tasks.size>s.tasks.size?1:n.totalTasksAssigned<s.totalTasksAssigned?-1:n.totalTasksAssigned>s.totalTasksAssigned?1:0)[0]}function ho(r={}){var T;let e=(T=r==null?void 0:r.process)!=null?T:global.process,t=r==null?void 0:r.logger,n=new Set,s=[],i=(0,it.cpus)(),o=i.length,a=(0,it.platform)(),u=fe.default.join(__dirname,"..","..","compiler","stencil.js"),c=fe.default.join(__dirname,"..","..","dev-server","index.js"),p=()=>{let h=[],b;for(;_r(b=s.pop());)try{let $=b();h.push($)}catch{}return Promise.all(h).then(()=>{})},m={name:"node",version:e.versions.node,access(h){return new Promise(b=>{de.default.access(h,$=>b(!$))})},accessSync(h){let b=!1;try{de.default.accessSync(h),b=!0}catch{}return b},addDestroy(h){n.add(h)},removeDestroy(h){n.delete(h)},applyPrerenderGlobalPatch(h){if(typeof global.fetch!="function"){let b=require(fe.default.join(__dirname,"node-fetch.js"));global.fetch=($,D)=>{if(typeof $=="string"){let A=new URL($,h.devServerHostUrl).href;return b.fetch(A,D)}else return $.url=new URL($.url,h.devServerHostUrl).href,b.fetch($,D)},global.Headers=b.Headers,global.Request=b.Request,global.Response=b.Response,global.FetchError=b.FetchError}h.window.fetch=global.fetch,h.window.Headers=global.Headers,h.window.Request=global.Request,h.window.Response=global.Response,h.window.FetchError=global.FetchError},fetch:(h,b)=>{let $=require(fe.default.join(__dirname,"node-fetch.js"));if(typeof h=="string"){let D=new URL(h).href;return $.fetch(D,b)}else return h.url=new URL(h.url).href,$.fetch(h,b)},checkVersion:so,copyFile(h,b){return new Promise($=>{de.default.copyFile(h,b,D=>{$(!D)})})},createDir(h,b){return new Promise($=>{b?de.default.mkdir(h,b,D=>{$({basename:fe.default.basename(h),dirname:fe.default.dirname(h),path:h,newDirs:[],error:D})}):de.default.mkdir(h,D=>{$({basename:fe.default.basename(h),dirname:fe.default.dirname(h),path:h,newDirs:[],error:D})})})},createDirSync(h,b){let $={basename:fe.default.basename(h),dirname:fe.default.dirname(h),path:h,newDirs:[],error:null};try{de.default.mkdirSync(h,b)}catch(D){$.error=D}return $},createWorkerController(h){let b=fe.default.join(__dirname,"worker.js");return new Jn(b,h)},async destroy(){let h=[];n.forEach(b=>{try{let $=b();$&&typeof $.then=="function"&&h.push($)}catch($){console.error(`node sys destroy: ${$}`)}}),h.length>0&&await Promise.all(h),n.clear()},dynamicImport(h){return Promise.resolve(require(h))},encodeToBase64(h){return Buffer.from(h).toString("base64")},async ensureDependencies(){return console.warn("ensureDependencies will be removed in a future version of Stencil."),console.warn("To get the stencilPath, please use getCompilerExecutingPath()."),{stencilPath:m.getCompilerExecutingPath(),diagnostics:[]}},async ensureResources(){console.warn("ensureResources is a no-op, and will be removed in a future version of Stencil")},exit:async h=>{await p(),(0,fo.default)(h)},getCurrentDirectory(){return ye(e.cwd())},getCompilerExecutingPath(){return u},getDevServerExecutingPath(){return c},getEnvironmentVar(h){return process.env[h]},getLocalModulePath(){return null},getRemoteModuleUrl(){return null},glob:br,hardwareConcurrency:o,isSymbolicLink(h){return new Promise(b=>{try{de.default.lstat(h,($,D)=>{b($?!1:D.isSymbolicLink())})}catch{b(!1)}})},nextTick:e.nextTick,normalizePath:ye,onProcessInterrupt:h=>{s.includes(h)||s.push(h)},platformPath:fe.default,readDir(h){return new Promise(b=>{de.default.readdir(h,($,D)=>{b($?[]:D.map(A=>ye(fe.default.join(h,A))))})})},parseYarnLockFile(h){return(0,uo.parse)(h)},isTTY(){var h;return!!((h=process==null?void 0:process.stdout)!=null&&h.isTTY)},readDirSync(h){try{return de.default.readdirSync(h).map(b=>ye(fe.default.join(h,b)))}catch{}return[]},readFile(h,b){return b==="binary"?new Promise($=>{de.default.readFile(h,(D,A)=>{$(A)})}):new Promise($=>{de.default.readFile(h,"utf8",(D,A)=>{$(A)})})},readFileSync(h){try{return de.default.readFileSync(h,"utf8")}catch{}},homeDir(){try{return po.homedir()}catch{}},realpath(h){return new Promise(b=>{de.default.realpath(h,"utf8",($,D)=>{b({path:D,error:$})})})},realpathSync(h){let b={path:void 0,error:null};try{b.path=de.default.realpathSync(h,"utf8")}catch($){b.error=$}return b},rename(h,b){return new Promise($=>{de.default.rename(h,b,D=>{$({oldPath:h,newPath:b,error:D,oldDirs:[],oldFiles:[],newDirs:[],newFiles:[],renamed:[],isFile:!1,isDirectory:!1})})})},resolvePath(h){return ye(h)},removeDir(h,b){return new Promise($=>{!!(b&&b.recursive)?de.default.rm(h,{recursive:!0,force:!0},A=>{$({basename:fe.default.basename(h),dirname:fe.default.dirname(h),path:h,removedDirs:[],removedFiles:[],error:A})}):de.default.rmdir(h,A=>{$({basename:fe.default.basename(h),dirname:fe.default.dirname(h),path:h,removedDirs:[],removedFiles:[],error:A})})})},removeDirSync(h,b){try{return!!(b&&b.recursive)?de.default.rmSync(h,{recursive:!0,force:!0}):de.default.rmdirSync(h),{basename:fe.default.basename(h),dirname:fe.default.dirname(h),path:h,removedDirs:[],removedFiles:[],error:null}}catch($){return{basename:fe.default.basename(h),dirname:fe.default.dirname(h),path:h,removedDirs:[],removedFiles:[],error:$}}},removeFile(h){return new Promise(b=>{de.default.unlink(h,$=>{b({basename:fe.default.basename(h),dirname:fe.default.dirname(h),path:h,error:$})})})},removeFileSync(h){let b={basename:fe.default.basename(h),dirname:fe.default.dirname(h),path:h,error:null};try{de.default.unlinkSync(h)}catch($){b.error=$}return b},setupCompiler(h){let b=h.ts,$=b.sys.watchDirectory,D=b.sys.watchFile;m.watchTimeout=80,m.events=Vs(),m.watchDirectory=(A,I,w)=>{t==null||t.debug(`NODE_SYS_DEBUG::watchDir ${A}`);let g=$(A,C=>{t==null||t.debug(`NODE_SYS_DEBUG::watchDir:callback dir=${A} changedPath=${C}`),I(ye(C),"fileUpdate")},w),x=()=>{g.close()};return m.addDestroy(x),{close(){m.removeDestroy(x),g.close()}}},m.watchFile=(A,I)=>{t==null||t.debug(`NODE_SYS_DEBUG::watchFile ${A}`);let w=D(A,(x,C)=>{x=ye(x),C===b.FileWatcherEventKind.Created?(I(x,"fileAdd"),m.events.emit("fileAdd",x)):C===b.FileWatcherEventKind.Changed?(I(x,"fileUpdate"),m.events.emit("fileUpdate",x)):C===b.FileWatcherEventKind.Deleted&&(I(x,"fileDelete"),m.events.emit("fileDelete",x))},250,{watchFile:b.WatchFileKind.FixedPollingInterval,fallbackPolling:b.PollingWatchKind.FixedInterval}),g=()=>{w.close()};return m.addDestroy(g),{close(){m.removeDestroy(g),w.close()}}}},stat(h){return new Promise(b=>{de.default.stat(h,($,D)=>{b($?{isDirectory:!1,isFile:!1,isSymbolicLink:!1,size:0,mtimeMs:0,error:$}:{isDirectory:D.isDirectory(),isFile:D.isFile(),isSymbolicLink:D.isSymbolicLink(),size:D.size,mtimeMs:D.mtimeMs,error:null})})})},statSync(h){try{let b=de.default.statSync(h);return{isDirectory:b.isDirectory(),isFile:b.isFile(),isSymbolicLink:b.isSymbolicLink(),size:b.size,mtimeMs:b.mtimeMs,error:null}}catch(b){return{isDirectory:!1,isFile:!1,isSymbolicLink:!1,size:0,mtimeMs:0,error:b}}},tmpDirSync(){return(0,it.tmpdir)()},writeFile(h,b){return new Promise($=>{de.default.writeFile(h,b,D=>{$({path:h,error:D})})})},writeFileSync(h,b){let $={path:h,error:null};try{de.default.writeFileSync(h,b)}catch(D){$.error=D}return $},generateContentHash(h,b){let $=(0,Ir.createHash)("sha1").update(h).digest("hex").toLowerCase();return typeof b=="number"&&($=$.slice(0,b)),Promise.resolve($)},generateFileHash(h,b){return new Promise(($,D)=>{let A=(0,Ir.createHash)("sha1");de.default.createReadStream(h).on("error",I=>D(I)).on("data",I=>A.update(I)).on("end",()=>{let I=A.digest("hex").toLowerCase();typeof b=="number"&&(I=I.slice(0,b)),$(I)})})},copy:ri,details:{cpuModel:(Array.isArray(i)&&i.length>0?i[0]&&i[0].model:"")||"",freemem(){return(0,it.freemem)()},platform:a==="darwin"||a==="linux"?a:a==="win32"?"windows":"",release:(0,it.release)(),totalmem:(0,it.totalmem)()}},S=new Wn;return m.lazyRequire=new Un(S,{"@types/jest":{minVersion:"24.9.1",recommendedVersion:"29",maxVersion:"29.0.0"},jest:{minVersion:"24.9.0",recommendedVersion:"29",maxVersion:"29.0.0"},"jest-cli":{minVersion:"24.9.0",recommendedVersion:"29",maxVersion:"29.0.0"},puppeteer:{minVersion:"10.0.0",recommendedVersion:"20"},"puppeteer-core":{minVersion:"10.0.0",recommendedVersion:"20"},"workbox-build":{minVersion:"4.3.1",recommendedVersion:"4.3.1"}}),e.on("SIGINT",p),e.on("exit",p),m}0&&(module.exports={createNodeLogger,createNodeSys,setupNodeProcess});