expo-env-info 1.0.1 → 1.0.4

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/build/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- module.exports=(()=>{var e={152:(e,t,n)=>{e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=78)}([function(e,t){e.exports=n(622)},function(e,t,n){"use strict";n(22),n(101),n(21),n(103),n(114),n(16),n(27),n(74),n(116),n(2);var r=n(0),o=n(5),i=n(17),s=n(49),a=n(76),c=n(45),u=n(121),l=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).unify,n=void 0!==t&&t;return new Promise(function(t){s.exec(e,{stdio:[0,"pipe","ignore"]},function(e,r,o){var i="";i=n?r.toString()+o.toString():r.toString(),t((e?"":i).trim())})})},f=function(e){var t=Object.values(Array.prototype.slice.call(arguments).slice(1));(process.env.ENVINFO_DEBUG||"").toLowerCase()===e&&console.log(e,JSON.stringify(t))},p=function(e){return new Promise(function(t){o.readFile(e,"utf8",function(e,n){return t(n||null)})})},h=function(e){return p(e).then(function(e){return e?JSON.parse(e):null})},d=/\d+\.[\d+|.]+/g,m=function(e){f("trace","findDarwinApplication",e);var t=`mdfind "kMDItemCFBundleIdentifier=='${e}'"`;return f("trace",t),l(t).then(function(e){return e.replace(/(\s)/g,"\\ ")})},g=function(e,t){var n=(t||["CFBundleShortVersionString"]).map(function(e){return"-c Print:"+e});return["/usr/libexec/PlistBuddy"].concat(n).concat([e]).join(" ")},v=function(e,t){for(var n=[],r=null;null!==(r=e.exec(t));)n.push(r);return n};e.exports={run:l,log:f,fileExists:function(e){return new Promise(function(t){o.stat(e,function(n){return t(n?null:e)})})},readFile:p,requireJson:h,versionRegex:d,findDarwinApplication:m,generatePlistBuddyCommand:g,matchAll:v,parseSDKManagerOutput:function(e){var t=e.split("Available")[0];return{apiLevels:v(u.androidAPILevels,t).map(function(e){return e[1]}),buildTools:v(u.androidBuildTools,t).map(function(e){return e[1]}),systemImages:v(u.androidSystemImages,t).map(function(e){return e[1].split("|").map(function(e){return e.trim()})}).map(function(e){return e[0].split(";")[0]+" | "+e[2].split(" System Image")[0]})}},isLinux:"linux"===process.platform,isMacOS:"darwin"===process.platform,NA:"N/A",NotFound:"Not Found",isWindows:process.platform.startsWith("win"),isObject:function(e){return"object"==typeof e&&!Array.isArray(e)},noop:function(e){return e},pipe:function(e){return function(t){return e.reduce(function(e,t){return t(e)},t)}},browserBundleIdentifiers:{"Brave Browser":"com.brave.Browser",Chrome:"com.google.Chrome","Chrome Canary":"com.google.Chrome.canary",Firefox:"org.mozilla.firefox","Firefox Developer Edition":"org.mozilla.firefoxdeveloperedition","Firefox Nightly":"org.mozilla.nightly","Microsoft Edge":"com.microsoft.edgemac",Safari:"com.apple.Safari","Safari Technology Preview":"com.apple.SafariTechnologyPreview"},ideBundleIdentifiers:{Atom:"com.github.atom",IntelliJ:"com.jetbrains.intellij",PhpStorm:"com.jetbrains.PhpStorm","Sublime Text":"com.sublimetext.3",WebStorm:"com.jetbrains.WebStorm"},runSync:function(e){return(s.execSync(e,{stdio:[0,"pipe","ignore"]}).toString()||"").trim()},which:function(e){return new Promise(function(t){return a(e,function(e,n){return t(n)})})},getDarwinApplicationVersion:function(e){var t;return f("trace","getDarwinApplicationVersion",e),t="darwin"!==process.platform?"N/A":m(e).then(function(e){return l(g(r.join(e,"Contents","Info.plist"),["CFBundleShortVersionString"]))}),Promise.resolve(t)},uniq:function(e){return Array.from(new Set(e))},toReadableBytes:function(e){var t=Math.floor(Math.log(e)/Math.log(1024));return e?(e/Math.pow(1024,t)).toFixed(2)+" "+["B","KB","MB","GB","TB","PB"][t]:"0 Bytes"},omit:function(e,t){return Object.keys(e).filter(function(e){return t.indexOf(e)<0}).reduce(function(t,n){return Object.assign(t,{[n]:e[n]})},{})},pick:function(e,t){return Object.keys(e).filter(function(e){return t.indexOf(e)>=0}).reduce(function(t,n){return Object.assign(t,{[n]:e[n]})},{})},getPackageJsonByName:function(e){return h(r.join(process.cwd(),"node_modules",e,"package.json"))},getPackageJsonByPath:function(e){return h(r.join(process.cwd(),e))},getPackageJsonByFullPath:function(e){return f("trace","getPackageJsonByFullPath",e),h(e)},getAllPackageJsonPaths:function(e){return f("trace","getAllPackageJsonPaths",e),new Promise(function(t){var n=function(e,n){return t(n.map(r.normalize)||[])};return c(e?r.join("node_modules",e,"package.json"):r.join("node_modules","**","package.json"),n)})},sortObject:function(e){return Object.keys(e).sort().reduce(function(t,n){return t[n]=e[n],t},{})},findVersion:function(e,t,n){f("trace","findVersion",e,t,n);var r=n||0,o=t||d,i=e.match(o);return i?i[r]:e},condensePath:function(e){return(e||"").replace(i.homedir(),"~")},determineFound:function(e,t,n){return f("trace","determineFound",e,t,n),"N/A"===t?Promise.resolve([e,"N/A"]):t&&0!==Object.keys(t).length?n?Promise.resolve([e,t,n]):Promise.resolve([e,t]):Promise.resolve([e,"Not Found"])}}},function(e,t,n){"use strict";var r,o,i,s,a=n(36),c=n(4),u=n(12),l=n(56),f=n(8),p=n(6),h=n(19),d=n(37),m=n(38),g=n(81),v=n(60).set,y=n(83)(),b=n(62),w=n(84),x=n(85),S=n(86),P=c.TypeError,_=c.process,O=_&&_.versions,j=O&&O.v8||"",E=c.Promise,I="process"==l(_),k=function(){},A=o=b.f,N=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[n(3)("species")]=function(e){e(k,k)};return(I||"function"==typeof PromiseRejectionEvent)&&e.then(k)instanceof t&&0!==j.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),F=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},C=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,o=1==e._s,i=0,s=function(t){var n,i,s,a=o?t.ok:t.fail,c=t.resolve,u=t.reject,l=t.domain;try{a?(o||(2==e._h&&V(e),e._h=1),!0===a?n=r:(l&&l.enter(),n=a(r),l&&(l.exit(),s=!0)),n===t.promise?u(P("Promise-chain cycle")):(i=F(n))?i.call(n,c,u):c(n)):u(r)}catch(e){l&&!s&&l.exit(),u(e)}};n.length>i;)s(n[i++]);e._c=[],e._n=!1,t&&!e._h&&M(e)})}},M=function(e){v.call(c,function(){var t,n,r,o=e._v,i=T(e);if(i&&(t=w(function(){I?_.emit("unhandledRejection",o,e):(n=c.onunhandledrejection)?n({promise:e,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=I||T(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},T=function(e){return 1!==e._h&&0===(e._a||e._c).length},V=function(e){v.call(c,function(){var t;I?_.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},D=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),C(t,!0))},B=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw P("Promise can't be resolved itself");(t=F(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,u(B,r,1),u(D,r,1))}catch(e){D.call(r,e)}}):(n._v=e,n._s=1,C(n,!1))}catch(e){D.call({_w:n,_d:!1},e)}}};N||(E=function(e){d(this,E,"Promise","_h"),h(e),r.call(this);try{e(u(B,this,1),u(D,this,1))}catch(e){D.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(40)(E.prototype,{then:function(e,t){var n=A(g(this,E));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=I?_.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&C(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=u(B,e,1),this.reject=u(D,e,1)},b.f=A=function(e){return e===E||e===s?new i(e):o(e)}),f(f.G+f.W+f.F*!N,{Promise:E}),n(26)(E,"Promise"),n(63)("Promise"),s=n(18).Promise,f(f.S+f.F*!N,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(a||!N),"Promise",{resolve:function(e){return S(a&&this===s?E:this,e)}}),f(f.S+f.F*!(N&&n(41)(function(e){E.all(e).catch(k)})),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,o=n.reject,i=w(function(){var n=[],i=0,s=1;m(e,!1,function(e){var a=i++,c=!1;n.push(void 0),s++,t.resolve(e).then(function(e){c||(c=!0,n[a]=e,--s||r(n))},o)}),--s||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,o=w(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){var r=n(55)("wks"),o=n(24),i=n(4).Symbol,s="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=s&&i[e]||(s?i:o)("Symbol."+e))}).store=r},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=n(747)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(6);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var r=n(4),o=n(18),i=n(13),s=n(14),a=n(12),c=function(e,t,n){var u,l,f,p,h=e&c.F,d=e&c.G,m=e&c.S,g=e&c.P,v=e&c.B,y=d?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,b=d?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(u in d&&(n=t),n)f=((l=!h&&y&&void 0!==y[u])?y:n)[u],p=v&&l?a(f,r):g&&"function"==typeof f?a(Function.call,f):f,y&&s(y,u,f,e&c.U),b[u]!=f&&i(b,u,p),g&&w[u]!=f&&(w[u]=f)};r.core=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,e.exports=c},function(e,t,n){e.exports=!n(10)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(7),o=n(50),i=n(51),s=Object.defineProperty;t.f=n(9)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(19);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(11),o=n(23);e.exports=n(9)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(4),o=n(13),i=n(15),s=n(24)("src"),a=Function.toString,c=(""+a).split("toString");n(18).inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,a){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(u&&(i(n,s)||o(n,s,e[t]?""+e[t]:c.join(String(t)))),e===r?e[t]=n:a?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){n(28)("split",2,function(e,t,r){"use strict";var o=n(92),i=r,s=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var a=void 0===/()??/.exec("")[1];r=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!o(e))return i.call(n,e,t);var r,c,u,l,f,p=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,m=void 0===t?4294967295:t>>>0,g=new RegExp(e.source,h+"g");for(a||(r=new RegExp("^"+g.source+"$(?!\\s)",h));(c=g.exec(n))&&!((u=c.index+c[0].length)>d&&(p.push(n.slice(d,c.index)),!a&&c.length>1&&c[0].replace(r,function(){for(f=1;f<arguments.length-2;f++)void 0===arguments[f]&&(c[f]=void 0)}),c.length>1&&c.index<n.length&&s.apply(p,c.slice(1)),l=c[0].length,d=u,p.length>=m));)g.lastIndex===c.index&&g.lastIndex++;return d===n.length?!l&&g.test("")||p.push(""):p.push(n.slice(d)),p.length>m?p.slice(0,m):p}}else"0".split(void 0,0).length&&(r=function(e,t){return void 0===e&&0===t?[]:i.call(this,e,t)});return[function(n,o){var i=e(this),s=null==n?void 0:n[t];return void 0!==s?s.call(n,i,o):r.call(String(i),n,o)},r]})},function(e,t){e.exports=n(87)},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(8);r(r.S+r.F,"Object",{assign:n(88)})},function(e,t,n){n(28)("match",1,function(e,t,n){return[function(n){"use strict";var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},n]})},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(53),o=n(34);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(11).f,o=n(15),i=n(3)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){n(28)("replace",2,function(e,t,n){return[function(r,o){"use strict";var i=e(this),s=null==r?void 0:r[t];return void 0!==s?s.call(r,i,o):n.call(String(i),r,o)},n]})},function(e,t,n){"use strict";var r=n(13),o=n(14),i=n(10),s=n(34),a=n(3);e.exports=function(e,t,n){var c=a(e),u=n(s,c,""[e]),l=u[0],f=u[1];i(function(){var t={};return t[c]=function(){return 7},7!=""[e](t)})&&(o(String.prototype,e,l),r(RegExp.prototype,c,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)}))}},function(e,t,n){var r=n(34);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=n(669)},function(e,t,n){var r=n(70);function o(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function i(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},n=e.name||"Function wrapped with `once`";return t.onceError=n+" shouldn't be called more than once",t.called=!1,t}e.exports=r(o),e.exports.strict=r(i),o.proto=o(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return o(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return i(this)},configurable:!0})})},function(e,t,n){"use strict";var r=n(8),o=n(52)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(80)("includes")},function(e,t,n){var r=n(6),o=n(4).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(54),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){e.exports=!1},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(12),o=n(57),i=n(58),s=n(7),a=n(35),c=n(59),u={},l={};(t=e.exports=function(e,t,n,f,p){var h,d,m,g,v=p?function(){return e}:c(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(i(v)){for(h=a(e.length);h>b;b++)if((g=t?y(s(d=e[b])[0],d[1]):y(e[b]))===u||g===l)return g}else for(m=v.call(e);!(d=m.next()).done;)if((g=o(m,y,d.value,t))===u||g===l)return g}).BREAK=u,t.RETURN=l},function(e,t){e.exports={}},function(e,t,n){var r=n(14);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){var r=n(3)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:n=!0}},i[r]=function(){return s},e(i)}catch(e){}return n}},function(e,t,n){var r=n(87),o=n(66);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(55)("keys"),o=n(24);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){e.exports=b;var r=n(5),o=n(67),i=n(46),s=(i.Minimatch,n(97)),c=n(68).EventEmitter,u=n(0),l=n(47),f=n(48),p=n(99),h=n(69),d=(h.alphasort,h.alphasorti,h.setopts),m=h.ownProp,g=n(100),v=(n(30),h.childrenIgnored),y=h.isIgnored,w=n(31);function b(e,t,n){if("function"==typeof t&&(n=t,t={}),t||(t={}),t.sync){if(n)throw new TypeError("callback provided to sync glob");return p(e,t)}return new x(e,t,n)}b.sync=p;var S=b.GlobSync=p.GlobSync;function x(e,t,n){if("function"==typeof t&&(n=t,t=null),t&&t.sync){if(n)throw new TypeError("callback provided to sync glob");return new S(e,t)}if(!(this instanceof x))return new x(e,t,n);d(this,e,t),this._didRealPath=!1;var r=this.minimatch.set.length;this.matches=new Array(r),"function"==typeof n&&(n=w(n),this.on("error",n),this.on("end",function(e){n(null,e)}));var o=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===r)return a();for(var i=!0,s=0;s<r;s++)this._process(this.minimatch.set[s],s,!1,a);function a(){--o._processing,o._processing<=0&&(i?process.nextTick(function(){o._finish()}):o._finish())}i=!1}b.glob=b,b.hasMagic=function(e,t){var n=function(e,t){if(null===t||"object"!=typeof t)return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}({},t);n.noprocess=!0;var r=new x(e,n).minimatch.set;if(!e)return!1;if(r.length>1)return!0;for(var o=0;o<r[0].length;o++)if("string"!=typeof r[0][o])return!0;return!1},b.Glob=x,s(x,c),x.prototype._finish=function(){if(l(this instanceof x),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();h.finish(this),this.emit("end",this.found)}},x.prototype._realpath=function(){if(!this._didRealpath){this._didRealpath=!0;var e=this.matches.length;if(0===e)return this._finish();for(var t=this,n=0;n<this.matches.length;n++)this._realpathSet(n,r)}function r(){0==--e&&t._finish()}},x.prototype._realpathSet=function(e,t){var n=this.matches[e];if(!n)return t();var r=Object.keys(n),i=this,s=r.length;if(0===s)return t();var a=this.matches[e]=Object.create(null);r.forEach(function(n,r){n=i._makeAbs(n),o.realpath(n,i.realpathCache,function(r,o){r?"stat"===r.syscall?a[n]=!0:i.emit("error",r):a[o]=!0,0==--s&&(i.matches[e]=a,t())})})},x.prototype._mark=function(e){return h.mark(this,e)},x.prototype._makeAbs=function(e){return h.makeAbs(this,e)},x.prototype.abort=function(){this.aborted=!0,this.emit("abort")},x.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},x.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var e=this._emitQueue.slice(0);this._emitQueue.length=0;for(var t=0;t<e.length;t++){var n=e[t];this._emitMatch(n[0],n[1])}}if(this._processQueue.length){var r=this._processQueue.slice(0);this._processQueue.length=0;for(t=0;t<r.length;t++){var o=r[t];this._processing--,this._process(o[0],o[1],o[2],o[3])}}}},x.prototype._process=function(e,t,n,r){if(l(this instanceof x),l("function"==typeof r),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([e,t,n,r]);else{for(var o,s=0;"string"==typeof e[s];)s++;switch(s){case e.length:return void this._processSimple(e.join("/"),t,r);case 0:o=null;break;default:o=e.slice(0,s).join("/")}var a,c=e.slice(s);null===o?a=".":f(o)||f(e.join("/"))?(o&&f(o)||(o="/"+o),a=o):a=o;var u=this._makeAbs(a);if(v(this,a))return r();c[0]===i.GLOBSTAR?this._processGlobStar(o,a,u,c,t,n,r):this._processReaddir(o,a,u,c,t,n,r)}},x.prototype._processReaddir=function(e,t,n,r,o,i,s){var a=this;this._readdir(n,i,function(c,u){return a._processReaddir2(e,t,n,r,o,i,u,s)})},x.prototype._processReaddir2=function(e,t,n,r,o,i,s,a){if(!s)return a();for(var c=r[0],l=!!this.minimatch.negate,f=c._glob,p=this.dot||"."===f.charAt(0),h=[],d=0;d<s.length;d++){if("."!==(g=s[d]).charAt(0)||p)(l&&!e?!g.match(c):g.match(c))&&h.push(g)}var m=h.length;if(0===m)return a();if(1===r.length&&!this.mark&&!this.stat){this.matches[o]||(this.matches[o]=Object.create(null));for(d=0;d<m;d++){var g=h[d];e&&(g="/"!==e?e+"/"+g:e+g),"/"!==g.charAt(0)||this.nomount||(g=u.join(this.root,g)),this._emitMatch(o,g)}return a()}r.shift();for(d=0;d<m;d++){g=h[d];e&&(g="/"!==e?e+"/"+g:e+g),this._process([g].concat(r),o,i,a)}a()},x.prototype._emitMatch=function(e,t){if(!this.aborted&&!y(this,t))if(this.paused)this._emitQueue.push([e,t]);else{var n=f(t)?t:this._makeAbs(t);if(this.mark&&(t=this._mark(t)),this.absolute&&(t=n),!this.matches[e][t]){if(this.nodir){var r=this.cache[n];if("DIR"===r||Array.isArray(r))return}this.matches[e][t]=!0;var o=this.statCache[n];o&&this.emit("stat",t,o),this.emit("match",t)}}},x.prototype._readdirInGlobStar=function(e,t){if(!this.aborted){if(this.follow)return this._readdir(e,!1,t);var n=this,o=g("lstat\0"+e,function(r,o){if(r&&"ENOENT"===r.code)return t();var i=o&&o.isSymbolicLink();n.symlinks[e]=i,i||!o||o.isDirectory()?n._readdir(e,!1,t):(n.cache[e]="FILE",t())});o&&r.lstat(e,o)}},x.prototype._readdir=function(e,t,n){if(!this.aborted&&(n=g("readdir\0"+e+"\0"+t,n))){if(t&&!m(this.symlinks,e))return this._readdirInGlobStar(e,n);if(m(this.cache,e)){var o=this.cache[e];if(!o||"FILE"===o)return n();if(Array.isArray(o))return n(null,o)}r.readdir(e,function(e,t,n){return function(r,o){r?e._readdirError(t,r,n):e._readdirEntries(t,o,n)}}(this,e,n))}},x.prototype._readdirEntries=function(e,t,n){if(!this.aborted){if(!this.mark&&!this.stat)for(var r=0;r<t.length;r++){var o=t[r];o="/"===e?e+o:e+"/"+o,this.cache[o]=!0}return this.cache[e]=t,n(null,t)}},x.prototype._readdirError=function(e,t,n){if(!this.aborted){switch(t.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(e);if(this.cache[r]="FILE",r===this.cwdAbs){var o=new Error(t.code+" invalid cwd "+this.cwd);o.path=this.cwd,o.code=t.code,this.emit("error",o),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=!1;break;default:this.cache[this._makeAbs(e)]=!1,this.strict&&(this.emit("error",t),this.abort()),this.silent||console.error("glob error",t)}return n()}},x.prototype._processGlobStar=function(e,t,n,r,o,i,s){var a=this;this._readdir(n,i,function(c,u){a._processGlobStar2(e,t,n,r,o,i,u,s)})},x.prototype._processGlobStar2=function(e,t,n,r,o,i,s,a){if(!s)return a();var c=r.slice(1),u=e?[e]:[],l=u.concat(c);this._process(l,o,!1,a);var f=this.symlinks[n],p=s.length;if(f&&i)return a();for(var h=0;h<p;h++){if("."!==s[h].charAt(0)||this.dot){var d=u.concat(s[h],c);this._process(d,o,!0,a);var m=u.concat(s[h],r);this._process(m,o,!0,a)}}a()},x.prototype._processSimple=function(e,t,n){var r=this;this._stat(e,function(o,i){r._processSimple2(e,t,o,i,n)})},x.prototype._processSimple2=function(e,t,n,r,o){if(this.matches[t]||(this.matches[t]=Object.create(null)),!r)return o();if(e&&f(e)&&!this.nomount){var i=/[\/\\]$/.test(e);"/"===e.charAt(0)?e=u.join(this.root,e):(e=u.resolve(this.root,e),i&&(e+="/"))}"win32"===process.platform&&(e=e.replace(/\\/g,"/")),this._emitMatch(t,e),o()},x.prototype._stat=function(e,t){var n=this._makeAbs(e),o="/"===e.slice(-1);if(e.length>this.maxLength)return t();if(!this.stat&&m(this.cache,n)){var i=this.cache[n];if(Array.isArray(i)&&(i="DIR"),!o||"DIR"===i)return t(null,i);if(o&&"FILE"===i)return t()}var s=this.statCache[n];if(void 0!==s){if(!1===s)return t(null,s);var a=s.isDirectory()?"DIR":"FILE";return o&&"FILE"===a?t():t(null,a,s)}var c=this,u=g("stat\0"+n,function(o,i){if(i&&i.isSymbolicLink())return r.stat(n,function(r,o){r?c._stat2(e,n,null,i,t):c._stat2(e,n,r,o,t)});c._stat2(e,n,o,i,t)});u&&r.lstat(n,u)},x.prototype._stat2=function(e,t,n,r,o){if(n&&("ENOENT"===n.code||"ENOTDIR"===n.code))return this.statCache[t]=!1,o();var i="/"===e.slice(-1);if(this.statCache[t]=r,"/"===t.slice(-1)&&r&&!r.isDirectory())return o(null,!1,r);var s=!0;return r&&(s=r.isDirectory()?"DIR":"FILE"),this.cache[t]=this.cache[t]||s,i&&"FILE"===s?o():o(null,s,r)}},function(e,t,n){e.exports=d,d.Minimatch=m;var r={sep:"/"};try{r=n(0)}catch(e){}var o=d.GLOBSTAR=m.GLOBSTAR={},i=n(94),s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="[^/]",c=a+"*?",u="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",l="(?:(?!(?:\\/|^)\\.).)*?",f="().*{}+?[]^$\\!".split("").reduce(function(e,t){return e[t]=!0,e},{});var p=/\/+/;function h(e,t){e=e||{},t=t||{};var n={};return Object.keys(t).forEach(function(e){n[e]=t[e]}),Object.keys(e).forEach(function(t){n[t]=e[t]}),n}function d(e,t,n){if("string"!=typeof t)throw new TypeError("glob pattern string required");return n||(n={}),!(!n.nocomment&&"#"===t.charAt(0))&&(""===t.trim()?""===e:new m(t,n).match(e))}function m(e,t){if(!(this instanceof m))return new m(e,t);if("string"!=typeof e)throw new TypeError("glob pattern string required");t||(t={}),e=e.trim(),"/"!==r.sep&&(e=e.split(r.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function g(e,t){if(t||(t=this instanceof m?this.options:{}),void 0===(e=void 0===e?this.pattern:e))throw new TypeError("undefined pattern");return t.nobrace||!e.match(/\{.*\}/)?[e]:i(e)}d.filter=function(e,t){return t=t||{},function(n,r,o){return d(n,e,t)}},d.defaults=function(e){if(!e||!Object.keys(e).length)return d;var t=d,n=function(n,r,o){return t.minimatch(n,r,h(e,o))};return n.Minimatch=function(n,r){return new t.Minimatch(n,h(e,r))},n},m.defaults=function(e){return e&&Object.keys(e).length?d.defaults(e).Minimatch:m},m.prototype.debug=function(){},m.prototype.make=function(){if(this._made)return;var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var n=this.globSet=this.braceExpand();t.debug&&(this.debug=console.error);this.debug(this.pattern,n),n=this.globParts=n.map(function(e){return e.split(p)}),this.debug(this.pattern,n),n=n.map(function(e,t,n){return e.map(this.parse,this)},this),this.debug(this.pattern,n),n=n.filter(function(e){return-1===e.indexOf(!1)}),this.debug(this.pattern,n),this.set=n},m.prototype.parseNegate=function(){var e=this.pattern,t=!1,n=this.options,r=0;if(n.nonegate)return;for(var o=0,i=e.length;o<i&&"!"===e.charAt(o);o++)t=!t,r++;r&&(this.pattern=e.substr(r));this.negate=t},d.braceExpand=function(e,t){return g(e,t)},m.prototype.braceExpand=g,m.prototype.parse=function(e,t){if(e.length>65536)throw new TypeError("pattern is too long");var n=this.options;if(!n.noglobstar&&"**"===e)return o;if(""===e)return"";var r,i="",u=!!n.nocase,l=!1,p=[],h=[],d=!1,m=-1,g=-1,y="."===e.charAt(0)?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",b=this;function w(){if(r){switch(r){case"*":i+=c,u=!0;break;case"?":i+=a,u=!0;break;default:i+="\\"+r}b.debug("clearStateChar %j %j",r,i),r=!1}}for(var x,S=0,P=e.length;S<P&&(x=e.charAt(S));S++)if(this.debug("%s\t%s %s %j",e,S,i,x),l&&f[x])i+="\\"+x,l=!1;else switch(x){case"/":return!1;case"\\":w(),l=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,S,i,x),d){this.debug(" in class"),"!"===x&&S===g+1&&(x="^"),i+=x;continue}b.debug("call clearStateChar %j",r),w(),r=x,n.noext&&w();continue;case"(":if(d){i+="(";continue}if(!r){i+="\\(";continue}p.push({type:r,start:S-1,reStart:i.length,open:s[r].open,close:s[r].close}),i+="!"===r?"(?:(?!(?:":"(?:",this.debug("plType %j %j",r,i),r=!1;continue;case")":if(d||!p.length){i+="\\)";continue}w(),u=!0;var _=p.pop();i+=_.close,"!"===_.type&&h.push(_),_.reEnd=i.length;continue;case"|":if(d||!p.length||l){i+="\\|",l=!1;continue}w(),i+="|";continue;case"[":if(w(),d){i+="\\"+x;continue}d=!0,g=S,m=i.length,i+=x;continue;case"]":if(S===g+1||!d){i+="\\"+x,l=!1;continue}if(d){var O=e.substring(g+1,S);try{RegExp("["+O+"]")}catch(e){var j=this.parse(O,v);i=i.substr(0,m)+"\\["+j[0]+"\\]",u=u||j[1],d=!1;continue}}u=!0,d=!1,i+=x;continue;default:w(),l?l=!1:!f[x]||"^"===x&&d||(i+="\\"),i+=x}d&&(O=e.substr(g+1),j=this.parse(O,v),i=i.substr(0,m)+"\\["+j[0],u=u||j[1]);for(_=p.pop();_;_=p.pop()){var E=i.slice(_.reStart+_.open.length);this.debug("setting tail",i,_),E=E.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(e,t,n){return n||(n="\\"),t+t+n+"|"}),this.debug("tail=%j\n %s",E,E,_,i);var I="*"===_.type?c:"?"===_.type?a:"\\"+_.type;u=!0,i=i.slice(0,_.reStart)+I+"\\("+E}w(),l&&(i+="\\\\");var k=!1;switch(i.charAt(0)){case".":case"[":case"(":k=!0}for(var A=h.length-1;A>-1;A--){var N=h[A],F=i.slice(0,N.reStart),C=i.slice(N.reStart,N.reEnd-8),M=i.slice(N.reEnd-8,N.reEnd),T=i.slice(N.reEnd);M+=T;var V=F.split("(").length-1,D=T;for(S=0;S<V;S++)D=D.replace(/\)[+*?]?/,"");var B="";""===(T=D)&&t!==v&&(B="$");var $=F+C+T+B+M;i=$}""!==i&&u&&(i="(?=.)"+i);k&&(i=y+i);if(t===v)return[i,u];if(!u)return e.replace(/\\(.)/g,"$1");var L=n.nocase?"i":"";try{var R=new RegExp("^"+i+"$",L)}catch(e){return new RegExp("$.")}return R._glob=e,R._src=i,R};var v={};d.makeRe=function(e,t){return new m(e,t||{}).makeRe()},m.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,n=t.noglobstar?c:t.dot?u:l,r=t.nocase?"i":"",i=e.map(function(e){return e.map(function(e){return e===o?n:"string"==typeof e?e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):e._src}).join("\\/")}).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,r)}catch(e){this.regexp=!1}return this.regexp},d.match=function(e,t,n){var r=new m(t,n=n||{});return e=e.filter(function(e){return r.match(e)}),r.options.nonull&&!e.length&&e.push(t),e},m.prototype.match=function(e,t){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;var n=this.options;"/"!==r.sep&&(e=e.split(r.sep).join("/"));e=e.split(p),this.debug(this.pattern,"split",e);var o,i,s=this.set;for(this.debug(this.pattern,"set",s),i=e.length-1;i>=0&&!(o=e[i]);i--);for(i=0;i<s.length;i++){var a=s[i],c=e;n.matchBase&&1===a.length&&(c=[o]);var u=this.matchOne(c,a,t);if(u)return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate},m.prototype.matchOne=function(e,t,n){var r=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var i=0,s=0,a=e.length,c=t.length;i<a&&s<c;i++,s++){this.debug("matchOne loop");var u,l=t[s],f=e[i];if(this.debug(t,l,f),!1===l)return!1;if(l===o){this.debug("GLOBSTAR",[t,l,f]);var p=i,h=s+1;if(h===c){for(this.debug("** at the end");i<a;i++)if("."===e[i]||".."===e[i]||!r.dot&&"."===e[i].charAt(0))return!1;return!0}for(;p<a;){var d=e[p];if(this.debug("\nglobstar while",e,p,t,h,d),this.matchOne(e.slice(p),t.slice(h),n))return this.debug("globstar found match!",p,a,d),!0;if("."===d||".."===d||!r.dot&&"."===d.charAt(0)){this.debug("dot detected!",e,p,t,h);break}this.debug("globstar swallow a segment, and continue"),p++}return!(!n||(this.debug("\n>>> no match, partial?",e,p,t,h),p!==a))}if("string"==typeof l?(u=r.nocase?f.toLowerCase()===l.toLowerCase():f===l,this.debug("string match",l,f,u)):(u=f.match(l),this.debug("pattern match",l,f,u)),!u)return!1}if(i===a&&s===c)return!0;if(i===a)return n;if(s===c)return i===a-1&&""===e[i];throw new Error("wtf?")}},function(e,t){e.exports=n(357)},function(e,t,n){"use strict";function r(e){return"/"===e.charAt(0)}function o(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(e),n=t[1]||"",r=Boolean(n&&":"!==n.charAt(1));return Boolean(t[2]||r)}e.exports="win32"===process.platform?o:r,e.exports.posix=r,e.exports.win32=o},function(e,t){e.exports=n(129)},function(e,t,n){e.exports=!n(9)&&!n(10)(function(){return 7!=Object.defineProperty(n(33)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(6);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(25),o=n(35),i=n(79);e.exports=function(e){return function(t,n,s){var a,c=r(t),u=o(c.length),l=i(s,u);if(e&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var r=n(20);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(18),o=n(4),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(36)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(20),o=n(3)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){var r=n(7);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(39),o=n(3)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){var r=n(56),o=n(3)("iterator"),i=n(39);e.exports=n(18).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r,o,i,s=n(12),a=n(82),c=n(61),u=n(33),l=n(4),f=l.process,p=l.setImmediate,h=l.clearImmediate,d=l.MessageChannel,m=l.Dispatch,g=0,v={},y=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},b=function(e){y.call(e.data)};p&&h||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++g]=function(){a("function"==typeof e?e:Function(e),t)},r(g),g},h=function(e){delete v[e]},"process"==n(20)(f)?r=function(e){f.nextTick(s(y,e,1))}:m&&m.now?r=function(e){m.now(s(y,e,1))}:d?(i=(o=new d).port2,o.port1.onmessage=b,r=s(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(e){l.postMessage(e+"","*")},l.addEventListener("message",b,!1)):r="onreadystatechange"in u("script")?function(e){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),y.call(e)}}:function(e){setTimeout(s(y,e,1),0)}),e.exports={set:p,clear:h}},function(e,t,n){var r=n(4).document;e.exports=r&&r.documentElement},function(e,t,n){"use strict";var r=n(19);function o(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){"use strict";var r=n(4),o=n(11),i=n(9),s=n(3)("species");e.exports=function(e){var t=r[e];i&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(8),o=n(65)(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},function(e,t,n){var r=n(42),o=n(25),i=n(44).f;e.exports=function(e){return function(t){for(var n,s=o(t),a=r(s),c=a.length,u=0,l=[];c>u;)i.call(s,n=a[u++])&&l.push(e?[n,s[n]]:s[n]);return l}}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){e.exports=l,l.realpath=l,l.sync=f,l.realpathSync=f,l.monkeypatch=function(){r.realpath=l,r.realpathSync=f},l.unmonkeypatch=function(){r.realpath=o,r.realpathSync=i};var r=n(5),o=r.realpath,i=r.realpathSync,s=process.version,a=/^v[0-5]\./.test(s),c=n(93);function u(e){return e&&"realpath"===e.syscall&&("ELOOP"===e.code||"ENOMEM"===e.code||"ENAMETOOLONG"===e.code)}function l(e,t,n){if(a)return o(e,t,n);"function"==typeof t&&(n=t,t=null),o(e,t,function(r,o){u(r)?c.realpath(e,t,n):n(r,o)})}function f(e,t){if(a)return i(e,t);try{return i(e,t)}catch(n){if(u(n))return c.realpathSync(e,t);throw n}}},function(e,t){e.exports=n(614)},function(e,t,n){function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.alphasort=u,t.alphasorti=c,t.setopts=function(e,t,n){n||(n={});if(n.matchBase&&-1===t.indexOf("/")){if(n.noglobstar)throw new Error("base matching requires globstar");t="**/"+t}e.silent=!!n.silent,e.pattern=t,e.strict=!1!==n.strict,e.realpath=!!n.realpath,e.realpathCache=n.realpathCache||Object.create(null),e.follow=!!n.follow,e.dot=!!n.dot,e.mark=!!n.mark,e.nodir=!!n.nodir,e.nodir&&(e.mark=!0);e.sync=!!n.sync,e.nounique=!!n.nounique,e.nonull=!!n.nonull,e.nosort=!!n.nosort,e.nocase=!!n.nocase,e.stat=!!n.stat,e.noprocess=!!n.noprocess,e.absolute=!!n.absolute,e.maxLength=n.maxLength||1/0,e.cache=n.cache||Object.create(null),e.statCache=n.statCache||Object.create(null),e.symlinks=n.symlinks||Object.create(null),function(e,t){e.ignore=t.ignore||[],Array.isArray(e.ignore)||(e.ignore=[e.ignore]);e.ignore.length&&(e.ignore=e.ignore.map(l))}(e,n),e.changedCwd=!1;var i=process.cwd();r(n,"cwd")?(e.cwd=o.resolve(n.cwd),e.changedCwd=e.cwd!==i):e.cwd=i;e.root=n.root||o.resolve(e.cwd,"/"),e.root=o.resolve(e.root),"win32"===process.platform&&(e.root=e.root.replace(/\\/g,"/"));e.cwdAbs=s(e.cwd)?e.cwd:f(e,e.cwd),"win32"===process.platform&&(e.cwdAbs=e.cwdAbs.replace(/\\/g,"/"));e.nomount=!!n.nomount,n.nonegate=!0,n.nocomment=!0,e.minimatch=new a(t,n),e.options=e.minimatch.options},t.ownProp=r,t.makeAbs=f,t.finish=function(e){for(var t=e.nounique,n=t?[]:Object.create(null),r=0,o=e.matches.length;r<o;r++){var i=e.matches[r];if(i&&0!==Object.keys(i).length){var s=Object.keys(i);t?n.push.apply(n,s):s.forEach(function(e){n[e]=!0})}else if(e.nonull){var a=e.minimatch.globSet[r];t?n.push(a):n[a]=!0}}t||(n=Object.keys(n));e.nosort||(n=n.sort(e.nocase?c:u));if(e.mark){for(var r=0;r<n.length;r++)n[r]=e._mark(n[r]);e.nodir&&(n=n.filter(function(t){var n=!/\/$/.test(t),r=e.cache[t]||e.cache[f(e,t)];return n&&r&&(n="DIR"!==r&&!Array.isArray(r)),n}))}e.ignore.length&&(n=n.filter(function(t){return!p(e,t)}));e.found=n},t.mark=function(e,t){var n=f(e,t),r=e.cache[n],o=t;if(r){var i="DIR"===r||Array.isArray(r),s="/"===t.slice(-1);if(i&&!s?o+="/":!i&&s&&(o=o.slice(0,-1)),o!==t){var a=f(e,o);e.statCache[a]=e.statCache[n],e.cache[a]=e.cache[n]}}return o},t.isIgnored=p,t.childrenIgnored=function(e,t){return!!e.ignore.length&&e.ignore.some(function(e){return!(!e.gmatcher||!e.gmatcher.match(t))})};var o=n(0),i=n(46),s=n(48),a=i.Minimatch;function c(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())}function u(e,t){return e.localeCompare(t)}function l(e){var t=null;if("/**"===e.slice(-3)){var n=e.replace(/(\/\*\*)+$/,"");t=new a(n,{dot:!0})}return{matcher:new a(e,{dot:!0}),gmatcher:t}}function f(e,t){var n=t;return n="/"===t.charAt(0)?o.join(e.root,t):s(t)||""===t?t:e.changedCwd?o.resolve(e.cwd,t):o.resolve(t),"win32"===process.platform&&(n=n.replace(/\\/g,"/")),n}function p(e,t){return!!e.ignore.length&&e.ignore.some(function(e){return e.matcher.match(t)||!(!e.gmatcher||!e.gmatcher.match(t))})}},function(e,t){e.exports=function e(t,n){if(t&&n)return e(t)(n);if("function"!=typeof t)throw new TypeError("need wrapper function");Object.keys(t).forEach(function(e){r[e]=t[e]});return r;function r(){for(var e=new Array(arguments.length),n=0;n<e.length;n++)e[n]=arguments[n];var r=t.apply(this,e),o=e[e.length-1];return"function"==typeof r&&r!==o&&Object.keys(o).forEach(function(e){r[e]=o[e]}),r}}},function(e,t,n){var r=n(7),o=n(105),i=n(66),s=n(43)("IE_PROTO"),a=function(){},c=function(){var e,t=n(33)("iframe"),r=i.length;for(t.style.display="none",n(61).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[i[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(a.prototype=r(e),n=new a,a.prototype=null,n[s]=e):n=c(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(24)("meta"),o=n(6),i=n(15),s=n(11).f,a=0,c=Object.isExtensible||function(){return!0},u=!n(10)(function(){return c(Object.preventExtensions({}))}),l=function(e){s(e,r,{value:{i:"O"+ ++a,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!c(e))return"F";if(!t)return"E";l(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!c(e))return!0;if(!t)return!1;l(e)}return e[r].w},onFreeze:function(e){return u&&f.NEED&&c(e)&&!i(e,r)&&l(e),e}}},function(e,t,n){var r=n(6);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){var r=n(8),o=n(65)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){"use strict";var r=n(7);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(t,n,o){t.exports=u,u.sync=function(e,t){for(var n=c(e,t=t||{}),r=n.env,o=n.ext,i=n.extExe,u=[],l=0,p=r.length;l<p;l++){var h=r[l];'"'===h.charAt(0)&&'"'===h.slice(-1)&&(h=h.slice(1,-1));var d=s.join(h,e);!h&&/^\.[\\\/]/.test(e)&&(d=e.slice(0,2)+d);for(var m=0,g=o.length;m<g;m++){var v=d+o[m];try{if(f.sync(v,{pathExt:i})){if(!t.all)return v;u.push(v)}}catch(e){}}}if(t.all&&u.length)return u;if(t.nothrow)return null;throw a(e)};var i="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,s=o(0),l=i?";":":",f=o(118);function a(e){var t=new Error("not found: "+e);return t.code="ENOENT",t}function c(e,t){var n=t.colon||l,r=t.path||process.env.PATH||"",o=[""];r=r.split(n);var s="";return i&&(r.unshift(process.cwd()),o=(s=t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM").split(n),-1!==e.indexOf(".")&&""!==o[0]&&o.unshift("")),(e.match(/\//)||i&&e.match(/\\/))&&(r=[""]),{env:r,ext:o,extExe:s}}function u(t,n,o){"function"==typeof n&&(o=n,n={});var i=c(t,n),u=i.env,l=i.ext,p=i.extExe,h=[];!function r(i,c){if(i===c)return n.all&&h.length?o(null,h):o(a(t));var d=u[i];'"'===d.charAt(0)&&'"'===d.slice(-1)&&(d=d.slice(1,-1));var m=s.join(d,t);!d&&/^\.[\\\/]/.test(t)&&(m=t.slice(0,2)+m),function e(t,s){if(t===s)return r(i+1,c);var a=l[t];f(m+a,{pathExt:p},function(r,i){if(!r&&i){if(!n.all)return o(null,m+a);h.push(m+a)}return e(t+1,s)})}(0,l.length)}(0,u.length)}},function(e,t,n){"use strict";e.exports=(e=>{const t=(e=e||{}).env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).find(e=>"PATH"===e.toUpperCase())||"Path"})},function(e,t,n){"use strict";n(32),n(2),n(27),n(64),n(21);var r=n(90),o=n(161),i=n(170),s=n(1);function a(e,t){(t=t||{}).clipboard&&console.log("\n*** Clipboard option removed - use clipboardy or clipboard-cli directly ***\n");var n=Object.keys(e).length>0?e:i.defaults,s=Object.entries(n).reduce(function(e,n){var o=n[0],i=n[1],s=r[`get${o}`];return s?(i&&e.push(s(i,t)),e):e=e.concat((i||[]).map(function(e){var t=r[`get${e.replace(/\s/g,"")}Info`];return t?t():Promise.resolve(["Unknown"])}))},[]);return Promise.all(s).then(function(e){var n=e.reduce(function(e,t){return t&&t[0]&&Object.assign(e,{[t[0]]:t}),e},{});return function(e,t){var n=t.json?o.json:t.markdown?o.markdown:o.yaml;if(t.console){var r=!1;process.stdout.isTTY&&(r=!0),console.log(n(e,Object.assign({},t,{console:r})))}return n(e,Object.assign({},t,{console:!1}))}(Object.entries(i.defaults).reduce(function(e,t){var r=t[0],o=t[1];return n[r]?Object.assign(e,{[r]:n[r][1]}):Object.assign(e,{[r]:(o||[]).reduce(function(e,t){return n[t]?(n[t].shift(),1===n[t].length?Object.assign(e,{[t]:n[t][0]}):Object.assign(e,{[t]:{version:n[t][0],path:n[t][1]}})):e},{})})},{}),t)})}e.exports={cli:function(e){if(e.all)return a(Object.assign({},i.defaults,{npmPackages:!0,npmGlobalPackages:!0}),e);if(e.raw)return a(JSON.parse(e.raw),e);if(e.helper){var t=r[`get${e.helper}`]||r[`get${e.helper}Info`]||r[e.helper];return t?t().then(console.log):console.error("Not Found")}var n=function(e,t){return e.toLowerCase().includes(t.toLowerCase())},o=Object.keys(e).filter(function(e){return Object.keys(i.defaults).some(function(t){return n(t,e)})}),c=Object.entries(i.defaults).reduce(function(t,r){return o.some(function(e){return n(e,r[0])})?Object.assign(t,{[r[0]]:r[1]||e[r[0]]}):t},{});return e.preset?i[e.preset]?a(Object.assign({},s.omit(i[e.preset],["options"]),c),Object.assign({},i[e.preset].options,s.pick(e,["duplicates","fullTree","json","markdown","console"]))):console.error(`\nNo "${e.preset}" preset found.`):a(c,e)},helpers:r,main:a,run:function(e,t){return"string"==typeof e.preset?a(i[e.preset],t):a(e,t)}}},function(e,t,n){var r=n(54),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(3)("unscopables"),o=Array.prototype;null==o[r]&&n(13)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,t,n){var r=n(7),o=n(19),i=n(3)("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||null==(n=r(s)[i])?t:o(n)}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(4),o=n(60).set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==n(20)(s);e.exports=function(){var e,t,n,u=function(){var r,o;for(c&&(r=s.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(c)n=function(){s.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(u)}}else n=function(){o.call(r,u)};else{var f=!0,p=document.createTextNode("");new i(u).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(4).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){var r=n(7),o=n(6),i=n(62);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(15),o=n(25),i=n(52)(!1),s=n(43)("IE_PROTO");e.exports=function(e,t){var n,a=o(e),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);for(;t.length>c;)r(a,n=t[c++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){"use strict";var r=n(42),o=n(89),i=n(44),s=n(29),a=n(53),c=Object.assign;e.exports=!c||n(10)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r})?function(e,t){for(var n=s(e),c=arguments.length,u=1,l=o.f,f=i.f;c>u;)for(var p,h=a(arguments[u++]),d=l?r(h).concat(l(h)):r(h),m=d.length,g=0;m>g;)f.call(h,p=d[g++])&&(n[p]=h[p]);return n}:c},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n(21);var o=n(91),i=n(1),s=n(122),a=n(123),c=n(124),u=n(125),l=n(126),f=n(127),p=n(128),h=n(129),d=n(130),m=n(131),g=n(159),v=n(160);e.exports=Object.assign({},i,o,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(t){r(e,t,n[t])})}return e}({},s,a,c,u,l,f,p,h,d,m,g,v))},function(e,t,n){"use strict";n(22),n(21),n(2),n(32),n(16);var r=n(45),o=n(0),i=n(1),s=function(e){var t=e.split("node_modules"+o.sep),n=t[t.length-1];return"@"===n.charAt(0)?[n.split(o.sep)[0],n.split(o.sep)[1]].join("/"):n.split(o.sep)[0]};e.exports={getnpmPackages:function(e,t){i.log("trace","getnpmPackages"),t||(t={});var n=null,r=null;return"string"==typeof e&&(e.includes("*")||e.includes("?")||e.includes("+")||e.includes("!")?n=e:e=e.split(",")),Promise.all(["npmPackages",i.getPackageJsonByPath("package.json").then(function(e){return Object.assign({},(e||{}).devDependencies||{},(e||{}).dependencies||{})}).then(function(e){return r=e,t.fullTree||t.duplicates||n?i.getAllPackageJsonPaths(n):Promise.resolve(Object.keys(e||[]).map(function(e){return o.join("node_modules",e,"package.json")}))}).then(function(o){return!n&&"boolean"!=typeof e||t.fullTree?Array.isArray(e)?Promise.resolve((o||[]).filter(function(t){return e.includes(s(t))})):Promise.resolve(o):Promise.resolve((o||[]).filter(function(e){return Object.keys(r||[]).includes(s(e))}))}).then(function(e){return Promise.all([e,Promise.all(e.map(function(e){return i.getPackageJsonByPath(e)}))])}).then(function(e){var n=e[0],o=e[1].reduce(function(e,r,o){return r&&r.name?(e[r.name]||(e[r.name]={}),t.duplicates&&(e[r.name].duplicates=i.uniq((e[r.name].duplicates||[]).concat(r.version))),1===(n[o].match(/node_modules/g)||[]).length&&(e[r.name].installed=r.version),e):e},{});return Object.keys(o).forEach(function(e){o[e].duplicates&&o[e].installed&&(o[e].duplicates=o[e].duplicates.filter(function(t){return t!==o[e].installed})),r[e]&&(o[e].wanted=r[e])}),o}).then(function(n){return t.showNotFound&&Array.isArray(e)&&e.forEach(function(e){n[e]||(n[e]="Not Found")}),n}).then(function(e){return i.sortObject(e)})])},getnpmGlobalPackages:function(e,t){i.log("trace","getnpmGlobalPackages",e);var n=null;return"string"==typeof e?e.includes("*")||e.includes("?")||e.includes("+")||e.includes("!")?n=e:e=e.split(","):Array.isArray(e)||(e=!0),Promise.all(["npmGlobalPackages",i.run("npm get prefix --global").then(function(e){return new Promise(function(t,s){return r(o.join(e,i.isWindows?"":"lib","node_modules",n||"{*,@*/*}","package.json"),function(e,n){e||t(n),s(e)})})}).then(function(t){return Promise.all(t.filter(function(t){return"boolean"==typeof e||null!==n||e.includes(s(t))}).map(function(e){return i.getPackageJsonByFullPath(e)}))}).then(function(e){return e.reduce(function(e,t){return t?Object.assign(e,{[t.name]:t.version}):e},{})}).then(function(n){return t.showNotFound&&Array.isArray(e)&&e.forEach(function(e){n[e]||(n[e]="Not Found")}),n})])}}},function(e,t,n){var r=n(6),o=n(20),i=n(3)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,r){var o=r(0),i="win32"===process.platform,s=r(5),c=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function a(e){return"function"==typeof e?e:function(){var e;if(c){var t=new Error;e=function(e){e&&(t.message=e.message,n(e=t))}}else e=n;return e;function n(e){if(e){if(process.throwDeprecation)throw e;if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);process.traceDeprecation?console.trace(t):console.error(t)}}}}()}o.normalize;if(i)var u=/(.*?)(?:[\/\\]+|$)/g;else u=/(.*?)(?:[\/]+|$)/g;if(i)var l=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else l=/^[\/]*/;t.realpathSync=function(e,t){if(e=o.resolve(e),t&&Object.prototype.hasOwnProperty.call(t,e))return t[e];var n,r,a,c,f=e,p={},h={};function d(){var t=l.exec(e);n=t[0].length,r=t[0],a=t[0],c="",i&&!h[a]&&(s.lstatSync(a),h[a]=!0)}for(d();n<e.length;){u.lastIndex=n;var m=u.exec(e);if(c=r,r+=m[0],a=c+m[1],n=u.lastIndex,!(h[a]||t&&t[a]===a)){var g;if(t&&Object.prototype.hasOwnProperty.call(t,a))g=t[a];else{var v=s.lstatSync(a);if(!v.isSymbolicLink()){h[a]=!0,t&&(t[a]=a);continue}var y=null;if(!i){var b=v.dev.toString(32)+":"+v.ino.toString(32);p.hasOwnProperty(b)&&(y=p[b])}null===y&&(s.statSync(a),y=s.readlinkSync(a)),g=o.resolve(c,y),t&&(t[a]=g),i||(p[b]=y)}e=o.resolve(g,e.slice(n)),d()}}return t&&(t[f]=e),e},t.realpath=function(e,t,n){if("function"!=typeof n&&(n=a(t),t=null),e=o.resolve(e),t&&Object.prototype.hasOwnProperty.call(t,e))return process.nextTick(n.bind(null,null,t[e]));var r,c,f,p,h=e,d={},m={};function g(){var t=l.exec(e);r=t[0].length,c=t[0],f=t[0],p="",i&&!m[f]?s.lstat(f,function(e){if(e)return n(e);m[f]=!0,v()}):process.nextTick(v)}function v(){if(r>=e.length)return t&&(t[h]=e),n(null,e);u.lastIndex=r;var o=u.exec(e);return p=c,c+=o[0],f=p+o[1],r=u.lastIndex,m[f]||t&&t[f]===f?process.nextTick(v):t&&Object.prototype.hasOwnProperty.call(t,f)?w(t[f]):s.lstat(f,y)}function y(e,r){if(e)return n(e);if(!r.isSymbolicLink())return m[f]=!0,t&&(t[f]=f),process.nextTick(v);if(!i){var o=r.dev.toString(32)+":"+r.ino.toString(32);if(d.hasOwnProperty(o))return b(null,d[o],f)}s.stat(f,function(e){if(e)return n(e);s.readlink(f,function(e,t){i||(d[o]=t),b(e,t)})})}function b(e,r,i){if(e)return n(e);var s=o.resolve(p,r);t&&(t[i]=s),w(s)}function w(t){e=o.resolve(t,e.slice(r)),g()}g()}},function(t,n,r){var o=r(95),i=r(96);t.exports=function(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return function e(t,n){var r=[];var s=i("{","}",t);if(!s||/\$$/.test(s.pre))return[t];var a=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body);var u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body);var f=a||u;var g=s.body.indexOf(",")>=0;if(!f&&!g)return s.post.match(/,.*\}/)?(t=s.pre+"{"+s.body+c+s.post,e(t)):[t];var v;if(f)v=s.body.split(/\.\./);else if(1===(v=function e(t){if(!t)return[""];var n=[];var r=i("{","}",t);if(!r)return t.split(",");var o=r.pre;var s=r.body;var a=r.post;var c=o.split(",");c[c.length-1]+="{"+s+"}";var u=e(a);a.length&&(c[c.length-1]+=u.shift(),c.push.apply(c,u));n.push.apply(n,c);return n}(s.body)).length&&1===(v=e(v[0],!1).map(p)).length){var y=s.post.length?e(s.post,!1):[""];return y.map(function(e){return s.pre+v[0]+e})}var b=s.pre;var y=s.post.length?e(s.post,!1):[""];var w;if(f){var x=l(v[0]),S=l(v[1]),P=Math.max(v[0].length,v[1].length),_=3==v.length?Math.abs(l(v[2])):1,O=d,j=S<x;j&&(_*=-1,O=m);var E=v.some(h);w=[];for(var I=x;O(I,S);I+=_){var k;if(u)"\\"===(k=String.fromCharCode(I))&&(k="");else if(k=String(I),E){var A=P-k.length;if(A>0){var N=new Array(A+1).join("0");k=I<0?"-"+N+k.slice(1):N+k}}w.push(k)}}else w=o(v,function(t){return e(t,!1)});for(var F=0;F<w.length;F++)for(var C=0;C<y.length;C++){var M=b+w[F]+y[C];(!n||f||M)&&r.push(M)}return r}(function(e){return e.split("\\\\").join(s).split("\\{").join(a).split("\\}").join(c).split("\\,").join(u).split("\\.").join(g)}(e),!0).map(f)};var s="\0SLASH"+Math.random()+"\0",a="\0OPEN"+Math.random()+"\0",c="\0CLOSE"+Math.random()+"\0",u="\0COMMA"+Math.random()+"\0",g="\0PERIOD"+Math.random()+"\0";function l(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function f(e){return e.split(s).join("\\").split(a).join("{").split(c).join("}").split(u).join(",").split(g).join(".")}function p(e){return"{"+e+"}"}function h(e){return/^-?0\d/.test(e)}function d(e,t){return e<=t}function m(e,t){return e>=t}},function(e,t){e.exports=function(e,t){for(var r=[],o=0;o<e.length;o++){var i=t(e[o],o);n(i)?r.push.apply(r,i):r.push(i)}return r};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";function r(e,t,n){e instanceof RegExp&&(e=o(e,n)),t instanceof RegExp&&(t=o(t,n));var r=i(e,t,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+e.length,r[1]),post:n.slice(r[1]+t.length)}}function o(e,t){var n=t.match(e);return n?n[0]:null}function i(e,t,n){var r,o,i,s,a,c=n.indexOf(e),u=n.indexOf(t,c+1),l=c;if(c>=0&&u>0){for(r=[],i=n.length;l>=0&&!a;)l==c?(r.push(l),c=n.indexOf(e,l+1)):1==r.length?a=[r.pop(),u]:((o=r.pop())<i&&(i=o,s=u),u=n.indexOf(t,l+1)),l=c<u&&c>=0?c:u;r.length&&(a=[i,s])}return a}e.exports=r,r.range=i},function(e,t,n){try{var r=n(30);if("function"!=typeof r.inherits)throw"";e.exports=r.inherits}catch(t){e.exports=n(98)}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){e.exports=d,d.GlobSync=m;var r=n(5),o=n(67),i=n(46),s=(i.Minimatch,n(45).Glob,n(30),n(0)),a=n(47),c=n(48),u=n(69),l=(u.alphasort,u.alphasorti,u.setopts),f=u.ownProp,p=u.childrenIgnored,h=u.isIgnored;function d(e,t){if("function"==typeof t||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");return new m(e,t).found}function m(e,t){if(!e)throw new Error("must provide pattern");if("function"==typeof t||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof m))return new m(e,t);if(l(this,e,t),this.noprocess)return this;var n=this.minimatch.set.length;this.matches=new Array(n);for(var r=0;r<n;r++)this._process(this.minimatch.set[r],r,!1);this._finish()}m.prototype._finish=function(){if(a(this instanceof m),this.realpath){var e=this;this.matches.forEach(function(t,n){var r=e.matches[n]=Object.create(null);for(var i in t)try{i=e._makeAbs(i),r[o.realpathSync(i,e.realpathCache)]=!0}catch(t){if("stat"!==t.syscall)throw t;r[e._makeAbs(i)]=!0}})}u.finish(this)},m.prototype._process=function(e,t,n){a(this instanceof m);for(var r,o=0;"string"==typeof e[o];)o++;switch(o){case e.length:return void this._processSimple(e.join("/"),t);case 0:r=null;break;default:r=e.slice(0,o).join("/")}var s,u=e.slice(o);null===r?s=".":c(r)||c(e.join("/"))?(r&&c(r)||(r="/"+r),s=r):s=r;var l=this._makeAbs(s);p(this,s)||(u[0]===i.GLOBSTAR?this._processGlobStar(r,s,l,u,t,n):this._processReaddir(r,s,l,u,t,n))},m.prototype._processReaddir=function(e,t,n,r,o,i){var a=this._readdir(n,i);if(a){for(var c=r[0],u=!!this.minimatch.negate,l=c._glob,f=this.dot||"."===l.charAt(0),p=[],h=0;h<a.length;h++){if("."!==(g=a[h]).charAt(0)||f)(u&&!e?!g.match(c):g.match(c))&&p.push(g)}var d=p.length;if(0!==d)if(1!==r.length||this.mark||this.stat){r.shift();for(h=0;h<d;h++){var m;g=p[h];m=e?[e,g]:[g],this._process(m.concat(r),o,i)}}else{this.matches[o]||(this.matches[o]=Object.create(null));for(var h=0;h<d;h++){var g=p[h];e&&(g="/"!==e.slice(-1)?e+"/"+g:e+g),"/"!==g.charAt(0)||this.nomount||(g=s.join(this.root,g)),this._emitMatch(o,g)}}}},m.prototype._emitMatch=function(e,t){if(!h(this,t)){var n=this._makeAbs(t);if(this.mark&&(t=this._mark(t)),this.absolute&&(t=n),!this.matches[e][t]){if(this.nodir){var r=this.cache[n];if("DIR"===r||Array.isArray(r))return}this.matches[e][t]=!0,this.stat&&this._stat(t)}}},m.prototype._readdirInGlobStar=function(e){if(this.follow)return this._readdir(e,!1);var t,n;try{n=r.lstatSync(e)}catch(e){if("ENOENT"===e.code)return null}var o=n&&n.isSymbolicLink();return this.symlinks[e]=o,o||!n||n.isDirectory()?t=this._readdir(e,!1):this.cache[e]="FILE",t},m.prototype._readdir=function(e,t){if(t&&!f(this.symlinks,e))return this._readdirInGlobStar(e);if(f(this.cache,e)){var n=this.cache[e];if(!n||"FILE"===n)return null;if(Array.isArray(n))return n}try{return this._readdirEntries(e,r.readdirSync(e))}catch(t){return this._readdirError(e,t),null}},m.prototype._readdirEntries=function(e,t){if(!this.mark&&!this.stat)for(var n=0;n<t.length;n++){var r=t[n];r="/"===e?e+r:e+"/"+r,this.cache[r]=!0}return this.cache[e]=t,t},m.prototype._readdirError=function(e,t){switch(t.code){case"ENOTSUP":case"ENOTDIR":var n=this._makeAbs(e);if(this.cache[n]="FILE",n===this.cwdAbs){var r=new Error(t.code+" invalid cwd "+this.cwd);throw r.path=this.cwd,r.code=t.code,r}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=!1;break;default:if(this.cache[this._makeAbs(e)]=!1,this.strict)throw t;this.silent||console.error("glob error",t)}},m.prototype._processGlobStar=function(e,t,n,r,o,i){var s=this._readdir(n,i);if(s){var a=r.slice(1),c=e?[e]:[],u=c.concat(a);this._process(u,o,!1);var l=s.length;if(!this.symlinks[n]||!i)for(var f=0;f<l;f++){if("."!==s[f].charAt(0)||this.dot){var p=c.concat(s[f],a);this._process(p,o,!0);var h=c.concat(s[f],r);this._process(h,o,!0)}}}},m.prototype._processSimple=function(e,t){var n=this._stat(e);if(this.matches[t]||(this.matches[t]=Object.create(null)),n){if(e&&c(e)&&!this.nomount){var r=/[\/\\]$/.test(e);"/"===e.charAt(0)?e=s.join(this.root,e):(e=s.resolve(this.root,e),r&&(e+="/"))}"win32"===process.platform&&(e=e.replace(/\\/g,"/")),this._emitMatch(t,e)}},m.prototype._stat=function(e){var t=this._makeAbs(e),n="/"===e.slice(-1);if(e.length>this.maxLength)return!1;if(!this.stat&&f(this.cache,t)){var o=this.cache[t];if(Array.isArray(o)&&(o="DIR"),!n||"DIR"===o)return o;if(n&&"FILE"===o)return!1}var i=this.statCache[t];if(!i){var s;try{s=r.lstatSync(t)}catch(e){if(e&&("ENOENT"===e.code||"ENOTDIR"===e.code))return this.statCache[t]=!1,!1}if(s&&s.isSymbolicLink())try{i=r.statSync(t)}catch(e){i=s}else i=s}this.statCache[t]=i;o=!0;return i&&(o=i.isDirectory()?"DIR":"FILE"),this.cache[t]=this.cache[t]||o,(!n||"FILE"!==o)&&o},m.prototype._mark=function(e){return u.mark(this,e)},m.prototype._makeAbs=function(e){return u.makeAbs(this,e)}},function(e,n,r){var o=r(70),i=Object.create(null),s=r(31);e.exports=o(function(e,t){return i[e]?(i[e].push(t),null):(i[e]=[t],function(e){return s(function t(){var n=i[e],r=n.length,o=function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r]=e[r];return n}(arguments);try{for(var s=0;s<r;s++)n[s].apply(null,o)}finally{n.length>r?(n.splice(0,r),process.nextTick(function(){t.apply(null,o)})):delete i[e]}})}(e))})},function(e,t,n){"use strict";var r=n(8),o=n(19),i=n(29),s=n(10),a=[].sort,c=[1,2,3];r(r.P+r.F*(s(function(){c.sort(void 0)})||!s(function(){c.sort(null)})||!n(102)(a)),"Array",{sort:function(e){return void 0===e?a.call(i(this)):a.call(i(this),o(e))}})},function(e,t,n){"use strict";var r=n(10);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){"use strict";var r=n(104),o=n(73);e.exports=n(110)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(o(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r=n(11).f,o=n(71),i=n(40),s=n(12),a=n(37),c=n(38),u=n(106),l=n(109),f=n(63),p=n(9),h=n(72).fastKey,d=n(73),m=p?"_s":"size",g=function(e,t){var n,r=h(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var l=e(function(e,r){a(e,l,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[m]=0,null!=r&&c(r,n,e[u],e)});return i(l.prototype,{clear:function(){for(var e=d(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=d(this,t),r=g(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[m]--}return!!r},forEach:function(e){d(this,t);for(var n,r=s(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!g(d(this,t),e)}}),p&&r(l.prototype,"size",{get:function(){return d(this,t)[m]}}),l},def:function(e,t,n){var r,o,i=g(e,t);return i?i.v=n:(e._l=i={i:o=h(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[m]++,"F"!==o&&(e._i[o]=i)),e},getEntry:g,setStrong:function(e,t,n){u(e,t,function(e,n){this._t=d(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?l(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,l(1))},n?"entries":"values",!n,!0),f(t)}}},function(e,t,n){var r=n(11),o=n(7),i=n(42);e.exports=n(9)?Object.defineProperties:function(e,t){o(e);for(var n,s=i(t),a=s.length,c=0;a>c;)r.f(e,n=s[c++],t[n]);return e}},function(e,t,n){"use strict";var r=n(36),o=n(8),i=n(14),s=n(13),a=n(39),c=n(107),u=n(26),l=n(108),f=n(3)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,d,m,g,v){c(n,t,d);var y,b,w,x=function(e){if(!p&&e in O)return O[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",P="values"==m,_=!1,O=e.prototype,j=O[f]||O["@@iterator"]||m&&O[m],E=j||x(m),I=m?P?x("entries"):E:void 0,k="Array"==t&&O.entries||j;if(k&&(w=l(k.call(new e)))!==Object.prototype&&w.next&&(u(w,S,!0),r||"function"==typeof w[f]||s(w,f,h)),P&&j&&"values"!==j.name&&(_=!0,E=function(){return j.call(this)}),r&&!v||!p&&!_&&O[f]||s(O,f,E),a[t]=E,a[S]=h,m)if(y={values:P?E:x("values"),keys:g?E:x("keys"),entries:I},v)for(b in y)b in O||i(O,b,y[b]);else o(o.P+o.F*(p||_),t,y);return y}},function(e,t,n){"use strict";var r=n(71),o=n(23),i=n(26),s={};n(13)(s,n(3)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(s,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(15),o=n(29),i=n(43)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(4),o=n(8),i=n(14),s=n(40),a=n(72),c=n(38),u=n(37),l=n(6),f=n(10),p=n(41),h=n(26),d=n(111);e.exports=function(e,t,n,m,g,v){var y=r[e],b=y,w=g?"set":"add",x=b&&b.prototype,S={},P=function(e){var t=x[e];i(x,e,"delete"==e?function(e){return!(v&&!l(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!l(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(v||x.forEach&&!f(function(){(new b).entries().next()}))){var _=new b,O=_[w](v?{}:-0,1)!=_,j=f(function(){_.has(1)}),E=p(function(e){new b(e)}),I=!v&&f(function(){for(var e=new b,t=5;t--;)e[w](t,t);return!e.has(-0)});E||((b=t(function(t,n){u(t,b,e);var r=d(new y,t,b);return null!=n&&c(n,g,r[w],r),r})).prototype=x,x.constructor=b),(j||I)&&(P("delete"),P("has"),g&&P("get")),(I||O)&&P(w),v&&x.clear&&delete x.clear}else b=m.getConstructor(t,e,g,w),s(b.prototype,n),a.NEED=!0;return h(b,e),S[e]=b,o(o.G+o.W+o.F*(b!=y),S),v||m.setStrong(b,e,g),b}},function(e,t,n){var r=n(6),o=n(112).set;e.exports=function(e,t,n){var i,s=t.constructor;return s!==n&&"function"==typeof s&&(i=s.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},function(e,t,n){var r=n(6),o=n(7),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(12)(Function.call,n(113).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){var r=n(44),o=n(23),i=n(25),s=n(51),a=n(15),c=n(50),u=Object.getOwnPropertyDescriptor;t.f=n(9)?u:function(e,t){if(e=i(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(a(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";var r=n(12),o=n(8),i=n(29),s=n(57),a=n(58),c=n(35),u=n(115),l=n(59);o(o.S+o.F*!n(41)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,f,p=i(e),h="function"==typeof this?this:Array,d=arguments.length,m=d>1?arguments[1]:void 0,g=void 0!==m,v=0,y=l(p);if(g&&(m=r(m,d>2?arguments[2]:void 0,2)),null==y||h==Array&&a(y))for(n=new h(t=c(p.length));t>v;v++)u(n,v,g?m(p[v],v):p[v]);else for(f=y.call(p),n=new h;!(o=f.next()).done;v++)u(n,v,g?s(f,m,[o.value,v],!0):o.value);return n.length=v,n}})},function(e,t,n){"use strict";var r=n(11),o=n(23);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){"use strict";n(117);var r=n(7),o=n(75),i=n(9),s=/./.toString,a=function(e){n(14)(RegExp.prototype,"toString",e,!0)};n(10)(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?a(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)}):"toString"!=s.name&&a(function(){return s.call(this)})},function(e,t,n){n(9)&&"g"!=/./g.flags&&n(11).f(RegExp.prototype,"flags",{configurable:!0,get:n(75)})},function(e,t,n){var r;n(5);function o(e,t,n){if("function"==typeof t&&(n=t,t={}),!n){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise(function(n,r){o(e,t||{},function(e,t){e?r(e):n(t)})})}r(e,t||{},function(e,r){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,r=!1),n(e,r)})}r="win32"===process.platform||global.TESTING_WINDOWS?n(119):n(120),e.exports=o,o.sync=function(e,t){try{return r.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}}},function(e,t,n){e.exports=i,i.sync=function(e,t){return o(r.statSync(e),e,t)};var r=n(5);function o(e,t,n){return!(!e.isSymbolicLink()&&!e.isFile())&&function(e,t){var n=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!n)return!0;if(-1!==(n=n.split(";")).indexOf(""))return!0;for(var r=0;r<n.length;r++){var o=n[r].toLowerCase();if(o&&e.substr(-o.length).toLowerCase()===o)return!0}return!1}(t,n)}function i(e,t,n){r.stat(e,function(r,i){n(r,!r&&o(i,e,t))})}},function(e,t,n){e.exports=o,o.sync=function(e,t){return i(r.statSync(e),t)};var r=n(5);function o(e,t,n){r.stat(e,function(e,r){n(e,!e&&i(r,t))})}function i(e,t){return e.isFile()&&function(e,t){var n=e.mode,r=e.uid,o=e.gid,i=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),s=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),c=parseInt("010",8),u=parseInt("001",8),l=a|c;return n&u||n&c&&o===s||n&a&&r===i||n&l&&0===i}(e,t)}},function(e,t,n){"use strict";e.exports={androidSystemImages:/system-images;([\S \t]+)/g,androidAPILevels:/platforms;android-(\d+)[\S\s]/g,androidBuildTools:/build-tools;([\d|.]+)[\S\s]/g}},function(e,t,n){"use strict";n(2);var r=n(1);e.exports={getNodeInfo:function(){return r.log("trace","getNodeInfo"),Promise.all([r.isWindows?r.run("node -v").then(r.findVersion):r.which("node").then(function(e){return e?r.run(e+" -v"):Promise.resolve("")}).then(r.findVersion),r.which("node").then(r.condensePath)]).then(function(e){return r.determineFound("Node",e[0],e[1])})},getnpmInfo:function(){return r.log("trace","getnpmInfo"),Promise.all([r.run("npm -v"),r.which("npm").then(r.condensePath)]).then(function(e){return r.determineFound("npm",e[0],e[1])})},getWatchmanInfo:function(){return r.log("trace","getWatchmanInfo"),Promise.all([r.which("watchman").then(function(e){return e?r.run(e+" -v"):void 0}),r.which("watchman")]).then(function(e){return r.determineFound("Watchman",e[0],e[1])})},getYarnInfo:function(){return r.log("trace","getYarnInfo"),Promise.all([r.run("yarn -v"),r.which("yarn").then(r.condensePath)]).then(function(e){return r.determineFound("Yarn",e[0],e[1])})}}},function(e,t,n){"use strict";n(16),n(2),n(27);var r=n(5),o=n(17),i=n(1),s=n(0);e.exports={getBraveBrowserInfo:function(){return i.log("trace","getBraveBrowser"),(i.isLinux?i.run("brave --version || brave-browser --version").then(function(e){return e.replace(/^.* ([^ ]*)/g,"$1")}):i.isMacOS?i.getDarwinApplicationVersion(i.browserBundleIdentifiers["Brave Browser"]).then(i.findVersion):Promise.resolve("N/A")).then(function(e){return i.determineFound("Brave Browser",e,"N/A")})},getChromeInfo:function(){var e;if(i.log("trace","getChromeInfo"),i.isLinux)e=i.run("google-chrome --version").then(function(e){return e.replace(" dev","").replace(/^.* ([^ ]*)/g,"$1")});else if(i.isMacOS)e=i.getDarwinApplicationVersion(i.browserBundleIdentifiers.Chrome).then(i.findVersion);else if(i.isWindows){var t;try{t=i.findVersion(r.readdirSync(s.join(process.env["ProgramFiles(x86)"],"Google/Chrome/Application")).join("\n"))}catch(e){t=i.NotFound}e=Promise.resolve(t)}else e=Promise.resolve("N/A");return e.then(function(e){return i.determineFound("Chrome",e,"N/A")})},getChromeCanaryInfo:function(){return i.log("trace","getChromeCanaryInfo"),i.getDarwinApplicationVersion(i.browserBundleIdentifiers["Chrome Canary"]).then(function(e){return i.determineFound("Chrome Canary",e,"N/A")})},getChromiumInfo:function(){return i.log("trace","getChromiumInfo"),(i.isLinux?i.run("chromium --version").then(i.findVersion):Promise.resolve("N/A")).then(function(e){return i.determineFound("Chromium",e,"N/A")})},getEdgeInfo:function(){var e;if(i.log("trace","getEdgeInfo"),i.isWindows&&"10"===o.release().split(".")[0]){var t={Spartan:"Microsoft.MicrosoftEdge",Chromium:"Microsoft.MicrosoftEdge.Stable",ChromiumDev:"Microsoft.MicrosoftEdge.Dev"};e=Promise.all(Object.keys(t).map(function(e){return function(e,t){return i.run(`powershell get-appxpackage ${e}`).then(function(e){if(""!==i.findVersion(e))return`${t} (${i.findVersion(e)})`})}(t[e],e)}).filter(function(e){return void 0!==e}))}else{if(!i.isMacOS)return Promise.resolve("N/A");e=i.getDarwinApplicationVersion(i.browserBundleIdentifiers["Microsoft Edge"])}return e.then(function(e){return i.determineFound("Edge",Array.isArray(e)?e.filter(function(e){return void 0!==e}):e,i.NA)})},getFirefoxInfo:function(){return i.log("trace","getFirefoxInfo"),(i.isLinux?i.run("firefox --version").then(function(e){return e.replace(/^.* ([^ ]*)/g,"$1")}):i.isMacOS?i.getDarwinApplicationVersion(i.browserBundleIdentifiers.Firefox):Promise.resolve("N/A")).then(function(e){return i.determineFound("Firefox",e,"N/A")})},getFirefoxDeveloperEditionInfo:function(){return i.log("trace","getFirefoxDeveloperEditionInfo"),i.getDarwinApplicationVersion(i.browserBundleIdentifiers["Firefox Developer Edition"]).then(function(e){return i.determineFound("Firefox Developer Edition",e,"N/A")})},getFirefoxNightlyInfo:function(){return i.log("trace","getFirefoxNightlyInfo"),(i.isLinux?i.run("firefox-trunk --version").then(function(e){return e.replace(/^.* ([^ ]*)/g,"$1")}):i.isMacOS?i.getDarwinApplicationVersion(i.browserBundleIdentifiers["Firefox Nightly"]):Promise.resolve("N/A")).then(function(e){return i.determineFound("Firefox Nightly",e,"N/A")})},getInternetExplorerInfo:function(){var e;if(i.log("trace","getInternetExplorerInfo"),i.isWindows){var t=[process.env.SYSTEMDRIVE||"C:","Program Files","Internet Explorer","iexplore.exe"].join("\\\\");e=i.run(`wmic datafile where "name='${t}'" get Version`).then(i.findVersion)}else e=Promise.resolve("N/A");return e.then(function(e){return i.determineFound("Internet Explorer",e,"N/A")})},getSafariTechnologyPreviewInfo:function(){return i.log("trace","getSafariTechnologyPreviewInfo"),i.getDarwinApplicationVersion(i.browserBundleIdentifiers["Safari Technology Preview"]).then(function(e){return i.determineFound("Safari Technology Preview",e,"N/A")})},getSafariInfo:function(){return i.log("trace","getSafariInfo"),i.getDarwinApplicationVersion(i.browserBundleIdentifiers.Safari).then(function(e){return i.determineFound("Safari",e,"N/A")})}}},function(e,t,n){"use strict";n(32),n(2);var r=n(1);e.exports={getMongoDBInfo:function(){return r.log("trace","getMongoDBInfo"),Promise.all([r.run("mongo --version").then(r.findVersion),r.which("mongo")]).then(function(e){return r.determineFound("MongoDB",e[0],e[1])})},getMySQLInfo:function(){return r.log("trace","getMySQLInfo"),Promise.all([r.run("mysql --version").then(function(e){return`${r.findVersion(e,null,1)}${e.includes("MariaDB")?" (MariaDB)":""}`}),r.which("mysql")]).then(function(e){return r.determineFound("MySQL",e[0],e[1])})},getPostgreSQLInfo:function(){return r.log("trace","getPostgreSQLInfo"),Promise.all([r.run("postgres --version").then(r.findVersion),r.which("postgres")]).then(function(e){return r.determineFound("PostgreSQL",e[0],e[1])})},getSQLiteInfo:function(){return r.log("trace","getSQLiteInfo"),Promise.all([r.run("sqlite3 --version").then(r.findVersion),r.which("sqlite3")]).then(function(e){return r.determineFound("SQLite",e[0],e[1])})}}},function(e,t,n){"use strict";n(27),n(16),n(2);var r=n(0),o=n(1);e.exports={getAndroidStudioInfo:function(){var e=Promise.resolve("N/A");return o.isMacOS?e=o.run(o.generatePlistBuddyCommand(r.join("/","Applications","Android\\ Studio.app","Contents","Info.plist"),["CFBundleShortVersionString","CFBundleVersion"])).then(function(e){return e||o.run(o.generatePlistBuddyCommand(r.join("~","Applications","JetBrains\\ Toolbox","Android\\ Studio.app","Contents","Info.plist"),["CFBundleShortVersionString","CFBundleVersion"]))}).then(function(e){return e.split("\n").join(" ")}):o.isLinux?e=Promise.all([o.run('cat /opt/android-studio/bin/studio.sh | grep "$Home/.AndroidStudio" | head -1').then(o.findVersion),o.run("cat /opt/android-studio/build.txt")]).then(function(e){return`${e[0]} ${e[1]}`.trim()||o.NotFound}):o.isWindows&&(e=Promise.all([o.run('wmic datafile where name="C:\\\\Program Files\\\\Android\\\\Android Studio\\\\bin\\\\studio.exe" get Version').then(function(e){return e.replace(/(\r\n|\n|\r)/gm,"")}),o.run('type "C:\\\\Program Files\\\\Android\\\\Android Studio\\\\build.txt"').then(function(e){return e.replace(/(\r\n|\n|\r)/gm,"")})]).then(function(e){return`${e[0]} ${e[1]}`.trim()||o.NotFound})),e.then(function(e){return o.determineFound("Android Studio",e)})},getAtomInfo:function(){return o.log("trace","getAtomInfo"),Promise.all([o.getDarwinApplicationVersion(o.ideBundleIdentifiers.Atom),"N/A"]).then(function(e){return o.determineFound("Atom",e[0],e[1])})},getEmacsInfo:function(){return o.log("trace","getEmacsInfo"),o.isMacOS||o.isLinux?Promise.all([o.run("emacs --version").then(o.findVersion),o.run("which emacs")]).then(function(e){return o.determineFound("Emacs",e[0],e[1])}):Promise.resolve(["Emacs","N/A"])},getIntelliJInfo:function(){return o.log("trace","getIntelliJInfo"),o.getDarwinApplicationVersion(o.ideBundleIdentifiers.IntelliJ).then(function(e){return o.determineFound("IntelliJ",e)})},getNanoInfo:function(){return o.log("trace","getNanoInfo"),o.isMacOS||o.isLinux?Promise.all([o.run("nano --version").then(o.findVersion),o.run("which nano")]).then(function(e){return o.determineFound("Nano",e[0],e[1])}):Promise.resolve(["Nano","N/A"])},getNvimInfo:function(){return o.log("trace","getNvimInfo"),o.isMacOS||o.isLinux?Promise.all([o.run("nvim --version").then(o.findVersion),o.run("which nvim")]).then(function(e){return o.determineFound("Nvim",e[0],e[1])}):Promise.resolve(["Vim","N/A"])},getPhpStormInfo:function(){return o.log("trace","getPhpStormInfo"),o.getDarwinApplicationVersion(o.ideBundleIdentifiers.PhpStorm).then(function(e){return o.determineFound("PhpStorm",e)})},getSublimeTextInfo:function(){return o.log("trace","getSublimeTextInfo"),Promise.all([o.run("subl --version").then(function(e){return o.findVersion(e,/\d+/)}),o.which("subl")]).then(function(e){return""===e[0]&&o.isMacOS?(o.log("trace","getSublimeTextInfo using plist"),Promise.all([o.getDarwinApplicationVersion(o.ideBundleIdentifiers["Sublime Text"]),"N/A"])):e}).then(function(e){return o.determineFound("Sublime Text",e[0],e[1])})},getVimInfo:function(){return o.log("trace","getVimInfo"),o.isMacOS||o.isLinux?Promise.all([o.run("vim --version").then(o.findVersion),o.run("which vim")]).then(function(e){return o.determineFound("Vim",e[0],e[1])}):Promise.resolve(["Vim","N/A"])},getVSCodeInfo:function(){return o.log("trace","getVSCodeInfo"),Promise.all([o.run("code --version").then(o.findVersion),o.which("code")]).then(function(e){return o.determineFound("VSCode",e[0],e[1])})},getVisualStudioInfo:function(){return o.log("trace","getVisualStudioInfo"),o.isWindows?o.run(`"${process.env["ProgramFiles(x86)"]}/Microsoft Visual Studio/Installer/vswhere.exe" -format json -prerelease`).then(function(e){var t=JSON.parse(e).map(function(e){return{Version:e.installationVersion,DisplayName:e.displayName}});return o.determineFound("Visual Studio",t.map(function(e){return`${e.Version} (${e.DisplayName})`}))}).catch(function(){return Promise.resolve(["Visual Studio",o.NotFound])}):Promise.resolve(["Visual Studio",o.NA])},getWebStormInfo:function(){return o.log("trace","getWebStormInfo"),o.getDarwinApplicationVersion(o.ideBundleIdentifiers.WebStorm).then(function(e){return o.determineFound("WebStorm",e)})},getXcodeInfo:function(){return o.log("trace","getXcodeInfo"),o.isMacOS?Promise.all([o.which("xcodebuild").then(function(e){return o.run(e+" -version")}).then(function(e){return`${o.findVersion(e)}/${e.split("Build version ")[1]}`}),o.which("xcodebuild")]).then(function(e){return o.determineFound("Xcode",e[0],e[1])}):Promise.resolve(["Xcode","N/A"])}}},function(e,t,n){"use strict";n(2);var r=n(1);e.exports={getBashInfo:function(){return r.log("trace","getBashInfo"),Promise.all([r.run("bash --version").then(r.findVersion),r.which("bash")]).then(function(e){return r.determineFound("Bash",e[0],e[1])})},getElixirInfo:function(){return r.log("trace","getElixirInfo"),Promise.all([r.run("elixir --version").then(function(e){return r.findVersion(e,/[Elixir]+\s([\d+.[\d+|.]+)/,1)}),r.which("elixir")]).then(function(e){return Promise.resolve(r.determineFound("Elixir",e[0],e[1]))})},getErlangInfo:function(){return r.log("trace","getErlangInfo"),Promise.all([r.run("erl -eval \"{ok, Version} = file:read_file(filename:join([code:root_dir(), 'releases', erlang:system_info(otp_release), 'OTP_VERSION'])), io:fwrite(Version), halt().\" -noshell").then(r.findVersion),r.which("erl")]).then(function(e){return Promise.resolve(r.determineFound("Erlang",e[0],e[1]))})},getGoInfo:function(){return r.log("trace","getGoInfo"),Promise.all([r.run("go version").then(r.findVersion),r.which("go")]).then(function(e){return r.determineFound("Go",e[0],e[1])})},getJavaInfo:function(){return r.log("trace","getJavaInfo"),Promise.all([r.run("javac -version",{unify:!0}).then(function(e){return r.findVersion(e,/\d+\.[\w+|.|_|-]+/)}),r.run("which javac")]).then(function(e){return r.determineFound("Java",e[0],e[1])})},getPerlInfo:function(){return r.log("trace","getPerlInfo"),Promise.all([r.run("perl -v").then(r.findVersion),r.which("perl")]).then(function(e){return r.determineFound("Perl",e[0],e[1])})},getPHPInfo:function(){return r.log("trace","getPHPInfo"),Promise.all([r.run("php -v").then(r.findVersion),r.which("php")]).then(function(e){return r.determineFound("PHP",e[0],e[1])})},getProtocInfo:function(){return r.log("trace","getProtocInfo"),Promise.all([r.run("protoc --version").then(r.findVersion),r.run("which protoc")]).then(function(e){return r.determineFound("Protoc",e[0],e[1])})},getPythonInfo:function(){return r.log("trace","getPythonInfo"),Promise.all([r.run("python -V 2>&1").then(r.findVersion),r.run("which python")]).then(function(e){return r.determineFound("Python",e[0],e[1])})},getPython3Info:function(){return r.log("trace","getPython3Info"),Promise.all([r.run("python3 -V 2>&1").then(r.findVersion),r.run("which python3")]).then(function(e){return r.determineFound("Python3",e[0],e[1])})},getRInfo:function(){return r.log("trace","getRInfo"),Promise.all([r.run("R --version",{unify:!0}).then(r.findVersion),r.which("R")]).then(function(e){return r.determineFound("R",e[0],e[1])})},getRubyInfo:function(){return r.log("trace","getRubyInfo"),Promise.all([r.run("ruby -v").then(r.findVersion),r.which("ruby")]).then(function(e){return r.determineFound("Ruby",e[0],e[1])})},getRustInfo:function(){return r.log("trace","getRustInfo"),Promise.all([r.run("rustc --version").then(r.findVersion),r.run("which rustc")]).then(function(e){return r.determineFound("Rust",e[0],e[1])})},getScalaInfo:function(){return r.log("trace","getScalaInfo"),r.isMacOS||r.isLinux?Promise.all([r.run("scalac -version").then(r.findVersion),r.run("which scalac")]).then(function(e){return r.determineFound("Scala",e[0],e[1])}):Promise.resolve(["Scala","N/A"])}}},function(e,t,n){"use strict";n(2);var r=n(1);e.exports={getAptInfo:function(){return r.log("trace","getAptInfo"),r.isLinux?Promise.all([r.run("apt --version").then(r.findVersion),r.which("apt")]).then(function(e){return r.determineFound("Apt",e[0],e[1])}):Promise.all(["Apt","N/A"])},getCargoInfo:function(){return r.log("trace","getCargoInfo"),Promise.all([r.run("cargo --version").then(r.findVersion),r.which("cargo").then(r.condensePath)]).then(function(e){return r.determineFound("Cargo",e[0],e[1])})},getCocoaPodsInfo:function(){return r.log("trace","getCocoaPodsInfo"),r.isMacOS?Promise.all([r.run("pod --version").then(r.findVersion),r.which("pod")]).then(function(e){return r.determineFound("CocoaPods",e[0],e[1])}):Promise.all(["CocoaPods","N/A"])},getComposerInfo:function(){return r.log("trace","getComposerInfo"),Promise.all([r.run("composer --version").then(r.findVersion),r.which("composer").then(r.condensePath)]).then(function(e){return r.determineFound("Composer",e[0],e[1])})},getGradleInfo:function(){return r.log("trace","getGradleInfo"),Promise.all([r.run("gradle --version").then(r.findVersion),r.which("gradle").then(r.condensePath)]).then(function(e){return r.determineFound("Gradle",e[0],e[1])})},getHomebrewInfo:function(){return r.log("trace","getHomebrewInfo"),r.isMacOS?Promise.all([r.run("brew --version").then(r.findVersion),r.which("brew")]).then(function(e){return r.determineFound("Homebrew",e[0],e[1])}):Promise.all(["Homebrew","N/A"])},getMavenInfo:function(){return r.log("trace","getMavenInfo"),Promise.all([r.run("mvn --version").then(r.findVersion),r.which("mvn").then(r.condensePath)]).then(function(e){return r.determineFound("Maven",e[0],e[1])})},getpip2Info:function(){return r.log("trace","getpip2Info"),Promise.all([r.run("pip2 --version").then(r.findVersion),r.which("pip2").then(r.condensePath)]).then(function(e){return r.determineFound("pip2",e[0],e[1])})},getpip3Info:function(){return r.log("trace","getpip3Info"),Promise.all([r.run("pip3 --version").then(r.findVersion),r.which("pip3").then(r.condensePath)]).then(function(e){return r.determineFound("pip3",e[0],e[1])})},getRubyGemsInfo:function(){return r.log("trace","getRubyGemsInfo"),Promise.all([r.run("gem --version").then(r.findVersion),r.which("gem")]).then(function(e){return r.determineFound("RubyGems",e[0],e[1])})},getYumInfo:function(){return r.log("trace","getYumInfo"),r.isLinux?Promise.all([r.run("yum --version").then(r.findVersion),r.which("yum")]).then(function(e){return r.determineFound("Yum",e[0],e[1])}):Promise.all(["Yum","N/A"])}}},function(e,t,n){"use strict";n(2);var r=n(1),o=n(0);e.exports={getYarnWorkspacesInfo:function(){return r.log("trace","getYarnWorkspacesInfo"),Promise.all([r.run("yarn -v"),r.getPackageJsonByPath("package.json").then(function(e){return e&&"workspaces"in e})]).then(function(e){var t="Yarn Workspaces";return e[0]&&e[1]?Promise.resolve([t,e[0]]):Promise.resolve([t,"Not Found"])})},getLernaInfo:function(){return r.log("trace","getLernaInfo"),Promise.all([r.getPackageJsonByName("lerna").then(function(e){return e&&e.version}),r.fileExists(o.join(process.cwd(),"lerna.json"))]).then(function(e){return e[0]&&e[1]?Promise.resolve(["Lerna",e[0]]):Promise.resolve(["Lerna","Not Found"])})}}},function(e,t,n){"use strict";n(22),n(2),n(16);var r=n(5),o=n(0),i=n(1);e.exports={getAndroidSDKInfo:function(){return i.run("sdkmanager --list").then(function(e){return!e&&process.env.ANDROID_HOME?i.run(`${process.env.ANDROID_HOME}/tools/bin/sdkmanager --list`):e}).then(function(e){return!e&&process.env.ANDROID_HOME?i.run(`${process.env.ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --list`):e}).then(function(e){return!e&&i.isMacOS?i.run("~/Library/Android/sdk/tools/bin/sdkmanager --list"):e}).then(function(e){var t=i.parseSDKManagerOutput(e),n=function(e){var t,n=o.join(e,"source.properties");try{t=r.readFileSync(n,"utf8")}catch(e){if("ENOENT"===e.code)return;throw e}for(var i=t.split("\n"),s=0;s<i.length;s+=1){var a=i[s].split("=");if(2===a.length&&"Pkg.Revision"===a[0].trim())return a[1].trim()}},s=process.env.ANDROID_NDK?n(process.env.ANDROID_NDK):process.env.ANDROID_NDK_HOME?n(process.env.ANDROID_NDK_HOME):process.env.ANDROID_HOME?n(o.join(process.env.ANDROID_HOME,"ndk-bundle")):void 0;return t.buildTools.length||t.apiLevels.length||t.systemImages.length||s?Promise.resolve(["Android SDK",{"API Levels":t.apiLevels||i.NotFound,"Build Tools":t.buildTools||i.NotFound,"System Images":t.systemImages||i.NotFound,"Android NDK":s||i.NotFound}]):Promise.resolve(["Android SDK",i.NotFound])})},getiOSSDKInfo:function(){return i.isMacOS?i.run("xcodebuild -showsdks").then(function(e){return e.match(/[\w]+\s[\d|.]+/g)}).then(i.uniq).then(function(e){return e.length?["iOS SDK",{Platforms:e}]:["iOS SDK",i.NotFound]}):Promise.resolve(["iOS SDK","N/A"])},getWindowsSDKInfo:function(){if(i.log("trace","getWindowsSDKInfo"),i.isWindows){var e=i.NotFound;return i.run("reg query HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\AppModelUnlock").then(function(t){e=t.split(/[\r\n]/g).slice(1).filter(function(e){return""!==e}).reduce(function(e,t){var n=t.match(/[^\s]+/g);return"0x0"!==n[2]&&"0x1"!==n[2]||(n[2]="0x1"===n[2]?"Enabled":"Disabled"),e[n[0]]=n[2],e},{}),0===Object.keys(e).length&&(e=i.NotFound);try{var n=r.readdirSync(`${process.env["ProgramFiles(x86)"]}/Windows Kits/10/Platforms/UAP`);e.Versions=n}catch(e){}return Promise.resolve(["Windows SDK",e])})}return Promise.resolve(["Windows SDK",i.NA])}}},function(e,t,n){"use strict";n(2);var r=n(1);e.exports={getApacheInfo:function(){return r.log("trace","getApacheInfo"),r.isMacOS||r.isLinux?Promise.all([r.run("apachectl -v").then(r.findVersion),r.run("which apachectl")]).then(function(e){return r.determineFound("Apache",e[0],e[1])}):Promise.resolve(["Apache","N/A"])},getNginxInfo:function(){return r.log("trace","getNginxInfo"),r.isMacOS||r.isLinux?Promise.all([r.run("nginx -v 2>&1").then(r.findVersion),r.run("which nginx")]).then(function(e){return r.determineFound("Nginx",e[0],e[1])}):Promise.resolve(["Nginx","N/A"])}}},function(e,t,n){"use strict";n(22),n(2);var r=n(132),o=n(1),i=n(17);e.exports={getContainerInfo:function(){return o.log("trace","getContainerInfo"),o.isLinux?Promise.all([o.fileExists("/.dockerenv"),o.readFile("/proc/self/cgroup")]).then(function(e){return o.log("trace","getContainerInfoThen",e),Promise.resolve(["Container",e[0]||e[1]?"Yes":"N/A"])}).catch(function(e){return o.log("trace","getContainerInfoCatch",e)}):Promise.resolve(["Container","N/A"])},getCPUInfo:function(){var e;o.log("trace","getCPUInfo");try{var t=i.cpus();e="("+t.length+") "+i.arch()+" "+t[0].model}catch(t){e="Unknown"}return Promise.all(["CPU",e])},getMemoryInfo:function(){return o.log("trace","getMemoryInfo"),Promise.all(["Memory",`${o.toReadableBytes(i.freemem())} / ${o.toReadableBytes(i.totalmem())}`])},getOSInfo:function(){return o.log("trace","getOSInfo"),(o.isMacOS?o.run("sw_vers -productVersion "):o.isLinux?o.run("cat /etc/os-release").then(function(e){var t=(e||"").match(/NAME="(.+)"/)||"",n=(e||"").match(/VERSION="(.+)"/)||["",""],r=null!==n?n[1]:"";return`${t[1]} ${r}`.trim()||""}):o.isWindows?Promise.resolve(i.release()):Promise.resolve()).then(function(e){var t=r(i.platform(),i.release());return e&&(t+=` ${e}`),["OS",t]})},getShellInfo:function(){if(o.log("trace","getShellInfo",process.env),o.isMacOS||o.isLinux){var e=process.env.SHELL||o.runSync("getent passwd $LOGNAME | cut -d: -f7 | head -1"),t=`${e} --version 2>&1`;return e.match("/bin/ash")&&(t=`${e} --help 2>&1`),Promise.all([o.run(t).then(o.findVersion),o.which(e)]).then(function(e){return o.determineFound("Shell",e[0]||"Unknown",e[1])})}return Promise.resolve(["Shell","N/A"])},getGLibcInfo:function(){return o.log("trace","getGLibc"),o.isLinux?Promise.all([o.run("ldd --version").then(o.findVersion)]).then(function(e){return o.determineFound("GLibc",e[0]||"Unknown")}):Promise.resolve(["GLibc","N/A"])}}},function(e,t,n){"use strict";const r=n(17),o=n(133),i=n(134);e.exports=((e,t)=>{if(!e&&t)throw new Error("You can't specify a `release` without specifying `platform`");let n;if("darwin"===(e=e||r.platform()))return t||"darwin"!==r.platform()||(t=r.release()),(t?Number(t.split(".")[0])>15?"macOS":"OS X":"macOS")+((n=t?o(t).name:"")?" "+n:"");return"linux"===e?(t||"linux"!==r.platform()||(t=r.release()),"Linux"+((n=t?t.replace(/^(\d+\.\d+).*/,"$1"):"")?" "+n:"")):"win32"===e?(t||"win32"!==r.platform()||(t=r.release()),"Windows"+((n=t?i(t):"")?" "+n:"")):e})},function(e,t,n){"use strict";const r=n(17),o=new Map([[18,"Mojave"],[17,"High Sierra"],[16,"Sierra"],[15,"El Capitan"],[14,"Yosemite"],[13,"Mavericks"],[12,"Mountain Lion"],[11,"Lion"],[10,"Snow Leopard"],[9,"Leopard"],[8,"Tiger"],[7,"Panther"],[6,"Jaguar"],[5,"Puma"]]),i=e=>(e=Number((e||r.release()).split(".")[0]),{name:o.get(e),version:"10."+(e-4)});e.exports=i,e.exports.default=i},function(e,t,n){"use strict";const r=n(17),o=n(135),i=new Map([["10.0","10"],["6.3","8.1"],["6.2","8"],["6.1","7"],["6.0","Vista"],["5.2","Server 2003"],["5.1","XP"],["5.0","2000"],["4.9","ME"],["4.1","98"],["4.0","95"]]);e.exports=(e=>{const t=/\d+\.\d/.exec(e||r.release());if(e&&!t)throw new Error("`release` argument doesn't match `n.n`");const n=(t||[])[0];if((!e||e===r.release())&&["6.1","6.2","6.3","10.0"].includes(n)){const e=((o.sync("wmic",["os","get","Caption"]).stdout||"").match(/2008|2012|2016/)||[])[0];if(e)return`Server ${e}`}return i.get(n)})},function(e,t,n){"use strict";const r=n(0),o=n(49),i=n(136),s=n(146),a=n(147),c=n(148),u=n(149),l=n(154),f=n(155),p=n(157),h=n(158),d=1e7;function m(e,t,n){let o;return(n=Object.assign({extendEnv:!0,env:{}},n)).extendEnv&&(n.env=Object.assign({},process.env,n.env)),!0===n.__winShell?(delete n.__winShell,o={command:e,args:t,options:n,file:e,original:{cmd:e,args:t}}):o=i._parse(e,t,n),(n=Object.assign({maxBuffer:d,buffer:!0,stripEof:!0,preferLocal:!0,localDir:o.options.cwd||process.cwd(),encoding:"utf8",reject:!0,cleanup:!0},o.options)).stdio=h(n),n.preferLocal&&(n.env=a.env(Object.assign({},n,{cwd:n.localDir}))),n.detached&&(n.cleanup=!1),"win32"===process.platform&&"cmd.exe"===r.basename(o.command)&&o.args.unshift("/q"),{cmd:o.command,args:o.args,opts:n,parsed:o}}function g(e,t){return t&&e.stripEof&&(t=s(t)),t}function v(e,t,n){let r="/bin/sh",o=["-c",t];return n=Object.assign({},n),"win32"===process.platform&&(n.__winShell=!0,r=process.env.comspec||"cmd.exe",o=["/s","/c",`"${t}"`],n.windowsVerbatimArguments=!0),n.shell&&(r=n.shell,delete n.shell),e(r,o,n)}function y(e,t,{encoding:n,buffer:r,maxBuffer:o}){if(!e[t])return null;let i;return(i=r?n?u(e[t],{encoding:n,maxBuffer:o}):u.buffer(e[t],{maxBuffer:o}):new Promise((n,r)=>{e[t].once("end",n).once("error",r)})).catch(e=>{throw e.stream=t,e.message=`${t} ${e.message}`,e})}function b(e,t){const{stdout:n,stderr:r}=e;let o=e.error;const{code:i,signal:s}=e,{parsed:a,joinedCmd:c}=t,u=t.timedOut||!1;if(!o){let e="";Array.isArray(a.opts.stdio)?("inherit"!==a.opts.stdio[2]&&(e+=e.length>0?r:`\n${r}`),"inherit"!==a.opts.stdio[1]&&(e+=`\n${n}`)):"inherit"!==a.opts.stdio&&(e=`\n${r}${n}`),(o=new Error(`Command failed: ${c}${e}`)).code=i<0?p(i):i}return o.stdout=n,o.stderr=r,o.failed=!0,o.signal=s||null,o.cmd=c,o.timedOut=u,o}function w(e,t){let n=e;return Array.isArray(t)&&t.length>0&&(n+=" "+t.join(" ")),n}e.exports=((e,t,n)=>{const r=m(e,t,n),{encoding:s,buffer:a,maxBuffer:u}=r.opts,p=w(e,t);let h,d;try{h=o.spawn(r.cmd,r.args,r.opts)}catch(e){return Promise.reject(e)}r.opts.cleanup&&(d=f(()=>{h.kill()}));let v=null,x=!1;const S=()=>{v&&(clearTimeout(v),v=null),d&&d()};r.opts.timeout>0&&(v=setTimeout(()=>{v=null,x=!0,h.kill(r.opts.killSignal)},r.opts.timeout));const P=new Promise(e=>{h.on("exit",(t,n)=>{S(),e({code:t,signal:n})}),h.on("error",t=>{S(),e({error:t})}),h.stdin&&h.stdin.on("error",t=>{S(),e({error:t})})});function O(){h.stdout&&h.stdout.destroy(),h.stderr&&h.stderr.destroy()}const _=()=>l(Promise.all([P,y(h,"stdout",{encoding:s,buffer:a,maxBuffer:u}),y(h,"stderr",{encoding:s,buffer:a,maxBuffer:u})]).then(e=>{const t=e[0];if(t.stdout=e[1],t.stderr=e[2],t.error||0!==t.code||null!==t.signal){const e=b(t,{joinedCmd:p,parsed:r,timedOut:x});if(e.killed=e.killed||h.killed,!r.opts.reject)return e;throw e}return{stdout:g(r.opts,t.stdout),stderr:g(r.opts,t.stderr),code:0,failed:!1,killed:!1,signal:null,cmd:p,timedOut:!1}}),O);return i._enoent.hookChildProcess(h,r.parsed),function(e,t){null!=t&&(c(t)?t.pipe(e.stdin):e.stdin.end(t))}(h,r.opts.input),h.then=((e,t)=>_().then(e,t)),h.catch=(e=>_().catch(e)),h}),e.exports.stdout=((...t)=>e.exports(...t).then(e=>e.stdout)),e.exports.stderr=((...t)=>e.exports(...t).then(e=>e.stderr)),e.exports.shell=((t,n)=>v(e.exports,t,n)),e.exports.sync=((e,t,n)=>{const r=m(e,t,n),i=w(e,t);if(c(r.opts.input))throw new TypeError("The `input` option cannot be a stream in sync mode");const s=o.spawnSync(r.cmd,r.args,r.opts);if(s.code=s.status,s.error||0!==s.status||null!==s.signal){const e=b(s,{joinedCmd:i,parsed:r});if(!r.opts.reject)return e;throw e}return{stdout:g(r.opts,s.stdout),stderr:g(r.opts,s.stderr),code:0,failed:!1,signal:null,cmd:i,timedOut:!1}}),e.exports.shellSync=((t,n)=>v(e.exports.sync,t,n))},function(e,t,n){"use strict";const r=n(49),o=n(137),i=n(145);function s(e,t,n){const s=o(e,t,n),a=r.spawn(s.command,s.args,s.options);return i.hookChildProcess(a,s),a}e.exports=s,e.exports.spawn=s,e.exports.sync=function(e,t,n){const s=o(e,t,n),a=r.spawnSync(s.command,s.args,s.options);return a.error=a.error||i.verifyENOENTSync(a.status,s),a},e.exports._parse=o,e.exports._enoent=i},function(e,t,n){"use strict";const r=n(0),o=n(138),i=n(139),s=n(140),a=n(141),c=n(144),u="win32"===process.platform,l=/\.(?:com|exe)$/i,f=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i,p=o(()=>c.satisfies(process.version,"^4.8.0 || ^5.7.0 || >= 6.0.0",!0))||!1;function h(e){if(!u)return e;const t=function(e){e.file=i(e);const t=e.file&&a(e.file);return t?(e.args.unshift(e.file),e.command=t,i(e)):e.file}(e),n=!l.test(t);if(e.options.forceShell||n){const n=f.test(t);e.command=r.normalize(e.command),e.command=s.command(e.command),e.args=e.args.map(e=>s.argument(e,n));const o=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${o}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}e.exports=function(e,t,n){t&&!Array.isArray(t)&&(n=t,t=null);const r={command:e,args:t=t?t.slice(0):[],options:n=Object.assign({},n),file:void 0,original:{command:e,args:t}};return n.shell?function(e){if(p)return e;const t=[e.command].concat(e.args).join(" ");return u?(e.command="string"==typeof e.options.shell?e.options.shell:process.env.comspec||"cmd.exe",e.args=["/d","/s","/c",`"${t}"`],e.options.windowsVerbatimArguments=!0):("string"==typeof e.options.shell?e.command=e.options.shell:"android"===process.platform?e.command="/system/bin/sh":e.command="/bin/sh",e.args=["-c",t]),e}(r):h(r)}},function(e,t,n){"use strict";e.exports=function(e){try{return e()}catch(e){}}},function(e,t,n){"use strict";const r=n(0),o=n(76),i=n(77)();function s(e,t){const n=process.cwd(),s=null!=e.options.cwd;if(s)try{process.chdir(e.options.cwd)}catch(e){}let a;try{a=o.sync(e.command,{path:(e.options.env||process.env)[i],pathExt:t?r.delimiter:void 0})}catch(e){}finally{process.chdir(n)}return a&&(a=r.resolve(s?e.options.cwd:"",a)),a}e.exports=function(e){return s(e)||s(e,!0)}},function(e,t,n){"use strict";const r=/([()\][%!^"`<>&|;, *?])/g;e.exports.command=function(e){return e=e.replace(r,"^$1")},e.exports.argument=function(e,t){return e=(e=`"${e=(e=(e=`${e}`).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(r,"^$1"),t&&(e=e.replace(r,"^$1")),e}},function(e,t,n){"use strict";const r=n(5),o=n(142);e.exports=function(e){let t,n;Buffer.alloc?t=Buffer.alloc(150):(t=new Buffer(150)).fill(0);try{n=r.openSync(e,"r"),r.readSync(n,t,0,150,0),r.closeSync(n)}catch(e){}return o(t.toString())}},function(e,t,n){"use strict";var r=n(143);e.exports=function(e){var t=e.match(r);if(!t)return null;var n=t[0].replace(/#! ?/,"").split(" "),o=n[0].split("/").pop(),i=n[1];return"env"===o?i:o+(i?" "+i:"")}},function(e,t,n){"use strict";e.exports=/^#!.*/},function(e,t){var n;t=e.exports=Y,n="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var r=256,o=Number.MAX_SAFE_INTEGER||9007199254740991,i=t.re=[],s=t.src=[],a=0,c=a++;s[c]="0|[1-9]\\d*";var u=a++;s[u]="[0-9]+";var l=a++;s[l]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var f=a++;s[f]="("+s[c]+")\\.("+s[c]+")\\.("+s[c]+")";var p=a++;s[p]="("+s[u]+")\\.("+s[u]+")\\.("+s[u]+")";var h=a++;s[h]="(?:"+s[c]+"|"+s[l]+")";var d=a++;s[d]="(?:"+s[u]+"|"+s[l]+")";var m=a++;s[m]="(?:-("+s[h]+"(?:\\."+s[h]+")*))";var g=a++;s[g]="(?:-?("+s[d]+"(?:\\."+s[d]+")*))";var v=a++;s[v]="[0-9A-Za-z-]+";var y=a++;s[y]="(?:\\+("+s[v]+"(?:\\."+s[v]+")*))";var b=a++,w="v?"+s[f]+s[m]+"?"+s[y]+"?";s[b]="^"+w+"$";var x="[v=\\s]*"+s[p]+s[g]+"?"+s[y]+"?",S=a++;s[S]="^"+x+"$";var P=a++;s[P]="((?:<|>)?=?)";var _=a++;s[_]=s[u]+"|x|X|\\*";var O=a++;s[O]=s[c]+"|x|X|\\*";var j=a++;s[j]="[v=\\s]*("+s[O]+")(?:\\.("+s[O]+")(?:\\.("+s[O]+")(?:"+s[m]+")?"+s[y]+"?)?)?";var E=a++;s[E]="[v=\\s]*("+s[_]+")(?:\\.("+s[_]+")(?:\\.("+s[_]+")(?:"+s[g]+")?"+s[y]+"?)?)?";var I=a++;s[I]="^"+s[P]+"\\s*"+s[j]+"$";var k=a++;s[k]="^"+s[P]+"\\s*"+s[E]+"$";var A=a++;s[A]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var N=a++;s[N]="(?:~>?)";var F=a++;s[F]="(\\s*)"+s[N]+"\\s+",i[F]=new RegExp(s[F],"g");var C=a++;s[C]="^"+s[N]+s[j]+"$";var M=a++;s[M]="^"+s[N]+s[E]+"$";var T=a++;s[T]="(?:\\^)";var V=a++;s[V]="(\\s*)"+s[T]+"\\s+",i[V]=new RegExp(s[V],"g");var D=a++;s[D]="^"+s[T]+s[j]+"$";var B=a++;s[B]="^"+s[T]+s[E]+"$";var $=a++;s[$]="^"+s[P]+"\\s*("+x+")$|^$";var L=a++;s[L]="^"+s[P]+"\\s*("+w+")$|^$";var R=a++;s[R]="(\\s*)"+s[P]+"\\s*("+x+"|"+s[j]+")",i[R]=new RegExp(s[R],"g");var G=a++;s[G]="^\\s*("+s[j]+")\\s+-\\s+("+s[j]+")\\s*$";var W=a++;s[W]="^\\s*("+s[E]+")\\s+-\\s+("+s[E]+")\\s*$";var q=a++;s[q]="(<|>)?=?\\s*\\*";for(var U=0;U<35;U++)n(U,s[U]),i[U]||(i[U]=new RegExp(s[U]));function K(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof Y)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?i[S]:i[b]).test(e))return null;try{return new Y(e,t)}catch(e){return null}}function Y(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof Y){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>r)throw new TypeError("version is longer than "+r+" characters");if(!(this instanceof Y))return new Y(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var s=e.trim().match(t.loose?i[S]:i[b]);if(!s)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<o)return t}return e}):this.prerelease=[],this.build=s[5]?s[5].split("."):[],this.format()}t.parse=K,t.valid=function(e,t){var n=K(e,t);return n?n.version:null},t.clean=function(e,t){var n=K(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null},t.SemVer=Y,Y.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},Y.prototype.toString=function(){return this.version},Y.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof Y||(e=new Y(e,this.options)),this.compareMain(e)||this.comparePre(e)},Y.prototype.compareMain=function(e){return e instanceof Y||(e=new Y(e,this.options)),J(this.major,e.major)||J(this.minor,e.minor)||J(this.patch,e.patch)},Y.prototype.comparePre=function(e){if(e instanceof Y||(e=new Y(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;var t=0;do{var r=this.prerelease[t],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return J(r,o)}while(++t)},Y.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new Y(e,n).inc(t,r).version}catch(e){return null}},t.diff=function(e,t){if(Z(e,t))return null;var n=K(e),r=K(t);if(n.prerelease.length||r.prerelease.length){for(var o in n)if(("major"===o||"minor"===o||"patch"===o)&&n[o]!==r[o])return"pre"+o;return"prerelease"}for(var o in n)if(("major"===o||"minor"===o||"patch"===o)&&n[o]!==r[o])return o},t.compareIdentifiers=J;var H=/^[0-9]+$/;function J(e,t){var n=H.test(e),r=H.test(t);return n&&r&&(e=+e,t=+t),n&&!r?-1:r&&!n?1:e<t?-1:e>t?1:0}function z(e,t,n){return new Y(e,n).compare(new Y(t,n))}function Q(e,t,n){return z(e,t,n)>0}function X(e,t,n){return z(e,t,n)<0}function Z(e,t,n){return 0===z(e,t,n)}function ee(e,t,n){return 0!==z(e,t,n)}function te(e,t,n){return z(e,t,n)>=0}function ne(e,t,n){return z(e,t,n)<=0}function re(e,t,n,r){var o;switch(t){case"===":"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),o=e===n;break;case"!==":"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),o=e!==n;break;case"":case"=":case"==":o=Z(e,n,r);break;case"!=":o=ee(e,n,r);break;case">":o=Q(e,n,r);break;case">=":o=te(e,n,r);break;case"<":o=X(e,n,r);break;case"<=":o=ne(e,n,r);break;default:throw new TypeError("Invalid operator: "+t)}return o}function oe(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof oe){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof oe))return new oe(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===ie?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return J(t,e)},t.major=function(e,t){return new Y(e,t).major},t.minor=function(e,t){return new Y(e,t).minor},t.patch=function(e,t){return new Y(e,t).patch},t.compare=z,t.compareLoose=function(e,t){return z(e,t,!0)},t.rcompare=function(e,t,n){return z(t,e,n)},t.sort=function(e,n){return e.sort(function(e,r){return t.compare(e,r,n)})},t.rsort=function(e,n){return e.sort(function(e,r){return t.rcompare(e,r,n)})},t.gt=Q,t.lt=X,t.eq=Z,t.neq=ee,t.gte=te,t.lte=ne,t.cmp=re,t.Comparator=oe;var ie={};function se(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof se)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new se(e.raw,t);if(e instanceof oe)return new se(e.value,t);if(!(this instanceof se))return new se(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function ae(e){return!e||"x"===e.toLowerCase()||"*"===e}function ce(e,t,n,r,o,i,s,a,c,u,l,f,p){return((t=ae(n)?"":ae(r)?">="+n+".0.0":ae(o)?">="+n+"."+r+".0":">="+t)+" "+(a=ae(c)?"":ae(u)?"<"+(+c+1)+".0.0":ae(l)?"<"+c+"."+(+u+1)+".0":f?"<="+c+"."+u+"."+l+"-"+f:"<="+a)).trim()}function ue(e,t,r){for(var o=0;o<e.length;o++)if(!e[o].test(t))return!1;if(r||(r={}),t.prerelease.length&&!r.includePrerelease){for(o=0;o<e.length;o++)if(n(e[o].semver),e[o].semver!==ie&&e[o].semver.prerelease.length>0){var i=e[o].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}function le(e,t,n){try{t=new se(t,n)}catch(e){return!1}return t.test(e)}function fe(e,t,n,r){var o,i,s,a,c;switch(e=new Y(e,r),t=new se(t,r),n){case">":o=Q,i=ne,s=X,a=">",c=">=";break;case"<":o=X,i=te,s=Q,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(le(e,t,r))return!1;for(var u=0;u<t.set.length;++u){var l=t.set[u],f=null,p=null;if(l.forEach(function(e){e.semver===ie&&(e=new oe(">=0.0.0")),f=f||e,p=p||e,o(e.semver,f.semver,r)?f=e:s(e.semver,p.semver,r)&&(p=e)}),f.operator===a||f.operator===c)return!1;if((!p.operator||p.operator===a)&&i(e,p.semver))return!1;if(p.operator===c&&s(e,p.semver))return!1}return!0}oe.prototype.parse=function(e){var t=this.options.loose?i[$]:i[L],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=n[1],"="===this.operator&&(this.operator=""),n[2]?this.semver=new Y(n[2],this.options.loose):this.semver=ie},oe.prototype.toString=function(){return this.value},oe.prototype.test=function(e){return n("Comparator.test",e,this.options.loose),this.semver===ie||("string"==typeof e&&(e=new Y(e,this.options)),re(e,this.operator,this.semver,this.options))},oe.prototype.intersects=function(e,t){if(!(e instanceof oe))throw new TypeError("a Comparator is required");var n;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return n=new se(e.value,t),le(this.value,n,t);if(""===e.operator)return n=new se(this.value,t),le(e.semver,n,t);var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=re(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=re(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||i&&s||a||c},t.Range=se,se.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range},se.prototype.toString=function(){return this.range},se.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?i[W]:i[G];e=e.replace(r,ce),n("hyphen replace",e),e=e.replace(i[R],"$1$2$3"),n("comparator trim",e,i[R]),e=(e=(e=e.replace(i[F],"$1~")).replace(i[V],"$1^")).split(/\s+/).join(" ");var o=t?i[$]:i[L],s=e.split(" ").map(function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map(function(e){return function(e,t){n("caret",e,t),t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1});var r=t.loose?i[B]:i[D];return e.replace(r,function(t,r,o,i,s){var a;return n("caret",e,t,r,o,i,s),ae(r)?a="":ae(o)?a=">="+r+".0.0 <"+(+r+1)+".0.0":ae(i)?a="0"===r?">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":">="+r+"."+o+".0 <"+(+r+1)+".0.0":s?(n("replaceCaret pr",s),"-"!==s.charAt(0)&&(s="-"+s),a="0"===r?"0"===o?">="+r+"."+o+"."+i+s+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+s+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+s+" <"+(+r+1)+".0.0"):(n("no pr"),a="0"===r?"0"===o?">="+r+"."+o+"."+i+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+" <"+(+r+1)+".0.0"),n("caret return",a),a})}(e,t)}).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map(function(e){return function(e,t){t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1});var r=t.loose?i[M]:i[C];return e.replace(r,function(t,r,o,i,s){var a;return n("tilde",e,t,r,o,i,s),ae(r)?a="":ae(o)?a=">="+r+".0.0 <"+(+r+1)+".0.0":ae(i)?a=">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":s?(n("replaceTilde pr",s),"-"!==s.charAt(0)&&(s="-"+s),a=">="+r+"."+o+"."+i+s+" <"+r+"."+(+o+1)+".0"):a=">="+r+"."+o+"."+i+" <"+r+"."+(+o+1)+".0",n("tilde return",a),a})}(e,t)}).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map(function(e){return function(e,t){e=e.trim(),t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1});var r=t.loose?i[k]:i[I];return e.replace(r,function(t,r,o,i,s,a){n("xRange",e,t,r,o,i,s,a);var c=ae(o),u=c||ae(i),l=u||ae(s),f=l;return"="===r&&f&&(r=""),c?t=">"===r||"<"===r?"<0.0.0":"*":r&&f?(u&&(i=0),l&&(s=0),">"===r?(r=">=",u?(o=+o+1,i=0,s=0):l&&(i=+i+1,s=0)):"<="===r&&(r="<",u?o=+o+1:i=+i+1),t=r+o+"."+i+"."+s):u?t=">="+o+".0.0 <"+(+o+1)+".0.0":l&&(t=">="+o+"."+i+".0 <"+o+"."+(+i+1)+".0"),n("xRange return",t),t})}(e,t)}).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(i[q],"")}(e,t),n("stars",e),e}(e,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(s=s.filter(function(e){return!!e.match(o)})),s=s.map(function(e){return new oe(e,this.options)},this)},se.prototype.intersects=function(e,t){if(!(e instanceof se))throw new TypeError("a Range is required");return this.set.some(function(n){return n.every(function(n){return e.set.some(function(e){return e.every(function(e){return n.intersects(e,t)})})})})},t.toComparators=function(e,t){return new se(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})},se.prototype.test=function(e){if(!e)return!1;"string"==typeof e&&(e=new Y(e,this.options));for(var t=0;t<this.set.length;t++)if(ue(this.set[t],e,this.options))return!0;return!1},t.satisfies=le,t.maxSatisfying=function(e,t,n){var r=null,o=null;try{var i=new se(t,n)}catch(e){return null}return e.forEach(function(e){i.test(e)&&(r&&-1!==o.compare(e)||(o=new Y(r=e,n)))}),r},t.minSatisfying=function(e,t,n){var r=null,o=null;try{var i=new se(t,n)}catch(e){return null}return e.forEach(function(e){i.test(e)&&(r&&1!==o.compare(e)||(o=new Y(r=e,n)))}),r},t.validRange=function(e,t){try{return new se(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return fe(e,t,"<",n)},t.gtr=function(e,t,n){return fe(e,t,">",n)},t.outside=fe,t.prerelease=function(e,t){var n=K(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new se(e,n),t=new se(t,n),e.intersects(t)},t.coerce=function(e){if(e instanceof Y)return e;if("string"!=typeof e)return null;var t=e.match(i[A]);return null==t?null:K((t[1]||"0")+"."+(t[2]||"0")+"."+(t[3]||"0"))}},function(e,t,n){"use strict";const r="win32"===process.platform;function o(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function i(e,t){return r&&1===e&&!t.file?o(t.original,"spawn"):null}e.exports={hookChildProcess:function(e,t){if(!r)return;const n=e.emit;e.emit=function(r,o){if("exit"===r){const r=i(o,t);if(r)return n.call(e,"error",r)}return n.apply(e,arguments)}},verifyENOENT:i,verifyENOENTSync:function(e,t){return r&&1===e&&!t.file?o(t.original,"spawnSync"):null},notFoundError:o}},function(e,t,n){"use strict";e.exports=function(e){var t="string"==typeof e?"\n":"\n".charCodeAt(),n="string"==typeof e?"\r":"\r".charCodeAt();return e[e.length-1]===t&&(e=e.slice(0,e.length-1)),e[e.length-1]===n&&(e=e.slice(0,e.length-1)),e}},function(e,t,n){"use strict";const r=n(0),o=n(77);e.exports=(e=>{let t;e=Object.assign({cwd:process.cwd(),path:process.env[o()]},e);let n=r.resolve(e.cwd);const i=[];for(;t!==n;)i.push(r.join(n,"node_modules/.bin")),t=n,n=r.resolve(n,"..");return i.push(r.dirname(process.execPath)),i.concat(e.path).join(r.delimiter)}),e.exports.env=(t=>{t=Object.assign({env:process.env},t);const n=Object.assign({},t.env),r=o({env:n});return t.path=n[r],n[r]=e.exports(t),n})},function(e,t,n){"use strict";var r=e.exports=function(e){return null!==e&&"object"==typeof e&&"function"==typeof e.pipe};r.writable=function(e){return r(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState},r.readable=function(e){return r(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState},r.duplex=function(e){return r.writable(e)&&r.readable(e)},r.transform=function(e){return r.duplex(e)&&"function"==typeof e._transform&&"object"==typeof e._transformState}},function(e,t,n){"use strict";const r=n(150),o=n(152);class i extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}}function s(e,t){if(!e)return Promise.reject(new Error("Expected a stream"));t=Object.assign({maxBuffer:1/0},t);const{maxBuffer:n}=t;let s;return new Promise((a,c)=>{const u=e=>{e&&(e.bufferedData=s.getBufferedValue()),c(e)};(s=r(e,o(t),e=>{e?u(e):a()})).on("data",()=>{s.getBufferedLength()>n&&u(new i)})}).then(()=>s.getBufferedValue())}e.exports=s,e.exports.buffer=((e,t)=>s(e,Object.assign({},t,{encoding:"buffer"}))),e.exports.array=((e,t)=>s(e,Object.assign({},t,{array:!0}))),e.exports.MaxBufferError=i},function(e,t,n){var r=n(31),o=n(151),i=n(5),s=function(){},a=/^v?\.0/.test(process.version),c=function(e){return"function"==typeof e},u=function(e,t,n,u){u=r(u);var l=!1;e.on("close",function(){l=!0}),o(e,{readable:t,writable:n},function(e){if(e)return u(e);l=!0,u()});var f=!1;return function(t){if(!l&&!f)return f=!0,function(e){return!!a&&!!i&&(e instanceof(i.ReadStream||s)||e instanceof(i.WriteStream||s))&&c(e.close)}(e)?e.close(s):function(e){return e.setHeader&&c(e.abort)}(e)?e.abort():c(e.destroy)?e.destroy():void u(t||new Error("stream was destroyed"))}},l=function(e){e()},f=function(e,t){return e.pipe(t)};e.exports=function(){var e,t=Array.prototype.slice.call(arguments),n=c(t[t.length-1]||s)&&t.pop()||s;if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Error("pump requires two streams per minimum");var r=t.map(function(o,i){var s=i<t.length-1;return u(o,s,i>0,function(t){e||(e=t),t&&r.forEach(l),s||(r.forEach(l),n(e))})});return t.reduce(f)}},function(e,t,n){var r=n(31),o=function(){},i=function(e,t,n){if("function"==typeof t)return i(e,null,t);t||(t={}),n=r(n||o);var s=e._writableState,a=e._readableState,c=t.readable||!1!==t.readable&&e.readable,u=t.writable||!1!==t.writable&&e.writable,l=function(){e.writable||f()},f=function(){u=!1,c||n.call(e)},p=function(){c=!1,u||n.call(e)},h=function(t){n.call(e,t?new Error("exited with error code: "+t):null)},d=function(t){n.call(e,t)},m=function(){return(!c||a&&a.ended)&&(!u||s&&s.ended)?void 0:n.call(e,new Error("premature close"))},g=function(){e.req.on("finish",f)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(e)?u&&!s&&(e.on("end",l),e.on("close",l)):(e.on("complete",f),e.on("abort",m),e.req?g():e.on("request",g)),function(e){return e.stdio&&Array.isArray(e.stdio)&&3===e.stdio.length}(e)&&e.on("exit",h),e.on("end",p),e.on("finish",f),!1!==t.error&&e.on("error",d),e.on("close",m),function(){e.removeListener("complete",f),e.removeListener("abort",m),e.removeListener("request",g),e.req&&e.req.removeListener("finish",f),e.removeListener("end",l),e.removeListener("close",l),e.removeListener("finish",f),e.removeListener("exit",h),e.removeListener("end",p),e.removeListener("error",d),e.removeListener("close",m)}};e.exports=i},function(e,t,n){"use strict";const{PassThrough:r}=n(153);e.exports=(e=>{e=Object.assign({},e);const{array:t}=e;let{encoding:n}=e;const o="buffer"===n;let i=!1;t?i=!(n||o):n=n||"utf8",o&&(n=null);let s=0;const a=[],c=new r({objectMode:i});return n&&c.setEncoding(n),c.on("data",e=>{a.push(e),i?s=a.length:s+=e.length}),c.getBufferedValue=(()=>t?a:o?Buffer.concat(a,s):a.join("")),c.getBufferedLength=(()=>s),c})},function(e,t){e.exports=n(413)},function(e,t,n){"use strict";e.exports=((e,t)=>(t=t||(()=>{}),e.then(e=>new Promise(e=>{e(t())}).then(()=>e),e=>new Promise(e=>{e(t())}).then(()=>{throw e}))))},function(e,t,n){var r,o=n(47),i=n(156),s=n(68);function a(){l&&(l=!1,i.forEach(function(e){try{process.removeListener(e,u[e])}catch(e){}}),process.emit=d,process.reallyExit=p,r.count-=1)}function c(e,t,n){r.emitted[e]||(r.emitted[e]=!0,r.emit(e,t,n))}"function"!=typeof s&&(s=s.EventEmitter),process.__signal_exit_emitter__?r=process.__signal_exit_emitter__:((r=process.__signal_exit_emitter__=new s).count=0,r.emitted={}),r.infinite||(r.setMaxListeners(1/0),r.infinite=!0),e.exports=function(e,t){o.equal(typeof e,"function","a callback must be provided for exit handler"),!1===l&&f();var n="exit";t&&t.alwaysLast&&(n="afterexit");return r.on(n,e),function(){r.removeListener(n,e),0===r.listeners("exit").length&&0===r.listeners("afterexit").length&&a()}},e.exports.unload=a;var u={};i.forEach(function(e){u[e]=function(){process.listeners(e).length===r.count&&(a(),c("exit",null,e),c("afterexit",null,e),process.kill(process.pid,e))}}),e.exports.signals=function(){return i},e.exports.load=f;var l=!1;function f(){l||(l=!0,r.count+=1,i=i.filter(function(e){try{return process.on(e,u[e]),!0}catch(e){return!1}}),process.emit=m,process.reallyExit=h)}var p=process.reallyExit;function h(e){process.exitCode=e||0,c("exit",process.exitCode,null),c("afterexit",process.exitCode,null),p.call(process,process.exitCode)}var d=process.emit;function m(e,t){if("exit"===e){void 0!==t&&(process.exitCode=t);var n=d.apply(this,arguments);return c("exit",process.exitCode,null),c("afterexit",process.exitCode,null),n}return d.apply(this,arguments)}},function(e,t){e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")},function(e,t,n){"use strict";const r=n(30);let o;if("function"==typeof r.getSystemErrorName)e.exports=r.getSystemErrorName;else{try{if("function"!=typeof(o=process.binding("uv")).errname)throw new TypeError("uv.errname is not a function")}catch(e){console.error("execa/lib/errname: unable to establish process.binding('uv')",e),o=null}e.exports=(e=>i(o,e))}function i(e,t){if(e)return e.errname(t);if(!(t<0))throw new Error("err >= 0");return`Unknown system error ${t}`}e.exports.__test__=i},function(e,t,n){"use strict";const r=["stdin","stdout","stderr"];e.exports=(e=>{if(!e)return null;if(e.stdio&&(e=>r.some(t=>Boolean(e[t])))(e))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${r.map(e=>`\`${e}\``).join(", ")}`);if("string"==typeof e.stdio)return e.stdio;const t=e.stdio||[];if(!Array.isArray(t))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);const n=[],o=Math.max(t.length,r.length);for(let i=0;i<o;i++){let o=null;void 0!==t[i]?o=t[i]:void 0!==e[r[i]]&&(o=e[r[i]]),n[i]=o}return n})},function(e,t,n){"use strict";n(2);var r=n(1);e.exports={getBazelInfo:function(){return r.log("trace","getBazelInfo"),Promise.all([r.run("bazel --version").then(r.findVersion),r.run("which bazel")]).then(function(e){return r.determineFound("Bazel",e[0],e[1])})},getCMakeInfo:function(){return r.log("trace","getCMakeInfo"),Promise.all([r.run("cmake --version").then(r.findVersion),r.run("which cmake")]).then(function(e){return r.determineFound("CMake",e[0],e[1])})},getGCCInfo:function(){return r.log("trace","getGCCInfo"),r.isMacOS||r.isLinux?Promise.all([r.run("gcc -v 2>&1").then(r.findVersion),r.run("which gcc")]).then(function(e){return r.determineFound("GCC",e[0],e[1])}):Promise.resolve(["GCC","N/A"])},getClangInfo:function(){return r.log("trace","getClangInfo"),Promise.all([r.run("clang --version").then(r.findVersion),r.which("clang")]).then(function(e){return r.determineFound("Clang",e[0],e[1])})},getGitInfo:function(){return r.log("trace","getGitInfo"),Promise.all([r.run("git --version").then(r.findVersion),r.run("which git")]).then(function(e){return r.determineFound("Git",e[0],e[1])})},getMakeInfo:function(){return r.log("trace","getMakeInfo"),r.isMacOS||r.isLinux?Promise.all([r.run("make --version").then(r.findVersion),r.run("which make")]).then(function(e){return r.determineFound("Make",e[0],e[1])}):Promise.resolve(["Make","N/A"])},getNinjaInfo:function(){return r.log("trace","getNinjaInfo"),Promise.all([r.run("ninja --version").then(r.findVersion),r.run("which ninja")]).then(function(e){return r.determineFound("Ninja",e[0],e[1])})},getMercurialInfo:function(){return r.log("trace","getMercurialInfo"),r.isMacOS||r.isLinux?Promise.all([r.run("hg --version").then(r.findVersion),r.run("which hg")]).then(function(e){return r.determineFound("Mercurial",e[0],e[1])}):Promise.resolve(["Mercurial","N/A"])},getSubversionInfo:function(){return r.log("trace","getSubversionInfo"),r.isMacOS||r.isLinux?Promise.all([r.run("svn --version").then(r.findVersion),r.run("which svn")]).then(function(e){return r.determineFound("Subversion",e[0],e[1])}):Promise.resolve(["Subversion","N/A"])},getFFmpegInfo:function(){return r.log("trace","getFFmpegInfo"),Promise.all([r.run("ffmpeg -version").then(r.findVersion),r.which("ffmpeg")]).then(function(e){return r.determineFound("FFmpeg",e[0],e[1])})}}},function(e,t,n){"use strict";n(2);var r=n(1);e.exports={getDockerInfo:function(){return r.log("trace","getDockerInfo"),Promise.all([r.run("docker --version").then(r.findVersion),r.which("docker")]).then(function(e){return r.determineFound("Docker",e[0],e[1])})},getParallelsInfo:function(){return r.log("trace","getParallelsInfo"),Promise.all([r.run("prlctl --version").then(r.findVersion),r.which("prlctl")]).then(function(e){return r.determineFound("Parallels",e[0],e[1])})},getVirtualBoxInfo:function(){return r.log("trace","getVirtualBoxInfo"),Promise.all([r.run("vboxmanage --version").then(r.findVersion),r.which("vboxmanage")]).then(function(e){return r.determineFound("VirtualBox",e[0],e[1])})},getVMwareFusionInfo:function(){return r.log("trace","getVMwareFusionInfo"),r.getDarwinApplicationVersion("com.vmware.fusion").then(function(e){return r.determineFound("VMWare Fusion",e,"N/A")})}}},function(t,n,r){"use strict";r(162),r(64),r(22),r(16),r(21),r(74);var o=r(163),d=r(1);function i(e,t){return d.log("trace","clean",e),Object.keys(e).reduce(function(n,r){return!t.showNotFound&&"Not Found"===e[r]||"N/A"===e[r]||void 0===e[r]||0===Object.keys(e[r]).length?n:d.isObject(e[r])?Object.values(e[r]).every(function(e){return"N/A"===e||!t.showNotFound&&"Not Found"===e})?n:Object.assign(n,{[r]:i(e[r],t)}):Object.assign(n,{[r]:e[r]})},{})}function s(e,t){d.log("trace","formatHeaders"),t||(t={type:"underline"});var n={underline:["",""]};return e.slice().split("\n").map(function(e){if(":"===e.slice("-1")){var r=e.match(/^[\s]*/g)[0];return`${r}${n[t.type][0]}${e.slice(r.length)}${n[t.type][1]}`}return e}).join("\n")}function a(e){return d.log("trace","formatPackages"),e.npmPackages?Object.assign(e,{npmPackages:Object.entries(e.npmPackages||{}).reduce(function(e,t){var n=t[0],r=t[1];if("Not Found"===r)return Object.assign(e,{[n]:r});var o=r.wanted?`${r.wanted} =>`:"",i=Array.isArray(r.installed)?r.installed.join(", "):r.installed,s=r.duplicates?`(${r.duplicates.join(", ")})`:"";return Object.assign(e,{[n]:`${o} ${i} ${s}`})},{})}):e}function c(e,t,n){return n||(n={emptyMessage:"None"}),Array.isArray(t)&&(t=t.length>0?t.join(", "):n.emptyMessage),{[e]:t}}function u(e){return d.log("trace","serializeArrays"),function e(t,n){return Object.entries(t).reduce(function(t,r){var o=r[0],i=r[1];return d.isObject(i)?Object.assign(t,{[o]:e(i,n)}):Object.assign(t,n(o,i))},{})}(e,c)}function l(e){return d.log("trace","serializeVersionsAndPaths"),Object.entries(e).reduce(function(e,t){return Object.assign(e,{[t[0]]:Object.entries(t[1]).reduce(function(e,t){var n=t[0],r=t[1];return r.version?Object.assign(e,{[n]:[r.version,r.path].filter(Boolean).join(" - ")}):Object.assign(e,{[n]:[r][0]})},{})},{})},{})}function f(e){return o(e,{indent:" ",prefix:"\n",postfix:"\n"})}function p(e){return e.slice().split("\n").map(function(e){if(""!==e){var t=":"===e.slice("-1"),n=e.search(/\S|$/);return t?`${"#".repeat(n/2+1)} `+e.slice(n):" - "+e.slice(n)}return""}).join("\n")}function h(e,t){return t||(t={indent:" "}),JSON.stringify(e,null,t.indent)}t.exports={json:function(e,t){return d.log("trace","formatToJson"),t||(t={}),e=d.pipe([function(){return i(e,t)},t.title?function(e){return{[t.title]:e}}:d.noop,h])(e),e=t.console?`\n${e}\n`:e},markdown:function(e,t){return d.log("trace","formatToMarkdown"),d.pipe([function(){return i(e,t)},a,u,l,f,p,t.title?function(e){return`\n# ${t.title}${e}`}:d.noop])(e,t)},yaml:function(e,t){return d.log("trace","formatToYaml",t),d.pipe([function(){return i(e,t)},a,u,l,t.title?function(e){return{[t.title]:e}}:d.noop,f,t.console?s:d.noop])(e,t)}}},function(e,t,n){n(28)("search",1,function(e,t,n){return[function(n){"use strict";var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},n]})},function(e,t,n){"use strict";var r=n(164),o=n(165),i=n(169),s=["object","array"];e.exports=function(e,t){var n=o(t),a=n.colors,c=n.prefix,u=n.postfix,l=n.dateToString,f=n.errorToString,p=n.indent,h=new Map;function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===Object.keys(e).length)return" {}";var o="\n",a=i(t,p);return Object.keys(e).forEach(function(c){var u=e[c],l=r(u),f=i(n," "),p=-1!==s.indexOf(l)?"":" ",h=v(u)?" [Circular]":g(l,u,t+1,n);o+=`${f}${a}${c}:${p}${h}\n`}),o.substring(0,o.length-1)}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===e.length)return" []";var o="\n",s=i(t,p);return e.forEach(function(e){var a=r(e),c=i(n," "),u=v(e)?"[Circular]":g(a,e,t,n+1).toString().trimLeft();o+=`${c}${s}- ${u}\n`}),o.substring(0,o.length-1)}function g(e,t,n,r){switch(e){case"array":return m(t,n,r);case"object":return d(t,n,r);case"string":return a.string(t);case"symbol":return a.symbol(t.toString());case"number":return a.number(t);case"boolean":return a.boolean(t);case"null":return a.null("null");case"undefined":return a.undefined("undefined");case"date":return a.date(l(t));case"error":return a.error(f(t));default:return t&&t.toString?t.toString():Object.prototype.toString.call(t)}}function v(e){return-1!==["object","array"].indexOf(r(e))&&(!!h.has(e)||(h.set(e),!1))}var y="";return h.set(e),"object"===r(e)&&Object.keys(e).length>0?y=d(e):"array"===r(e)&&e.length>0&&(y=m(e)),0===y.length?"":`${c}${y.slice(1)}${u}`}},function(e,t,n){"use strict";e.exports=function(e){return Array.isArray(e)?"array":e instanceof Date?"date":e instanceof Error?"error":null===e?"null":"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)?"object":typeof e}},function(e,t,n){"use strict";var r=n(166),o=n(167),i=n(168),s=" ",a="\n",c="";function u(e,t){return void 0===e?t:e}e.exports=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{indent:u(e.indent,s),prefix:u(e.prefix,a),postfix:u(e.postfix,c),errorToString:e.errorToString||r,dateToString:e.dateToString||o,colors:Object.assign({},i,e.colors)}}},function(e,t,n){"use strict";e.exports=function(e){return Error.prototype.toString.call(e)}},function(e,t,n){"use strict";e.exports=function(e){return`new Date(${Date.prototype.toISOString.call(e)})`}},function(e,t,n){"use strict";function r(e){return e}e.exports={date:r,error:r,symbol:r,string:r,number:r,boolean:r,null:r,undefined:r}},function(e,t,n){"use strict";e.exports=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",n="",r=0;r<e;r+=1)n+=t;return n}},function(e,t,n){"use strict";e.exports={defaults:{System:["OS","CPU","Memory","Container","Shell"],Binaries:["Node","Yarn","npm","Watchman"],Managers:["Apt","Cargo","CocoaPods","Composer","Gradle","Homebrew","Maven","pip2","pip3","RubyGems","Yum"],Utilities:["Bazel","CMake","Make","GCC","Git","Clang","Ninja","Mercurial","Subversion","FFmpeg"],Servers:["Apache","Nginx"],Virtualization:["Docker","Parallels","VirtualBox","VMware Fusion"],SDKs:["iOS SDK","Android SDK","Windows SDK"],IDEs:["Android Studio","Atom","Emacs","IntelliJ","NVim","Nano","PhpStorm","Sublime Text","VSCode","Visual Studio","Vim","WebStorm","Xcode"],Languages:["Bash","Go","Elixir","Erlang","Java","Perl","PHP","Protoc","Python","Python3","R","Ruby","Rust","Scala"],Databases:["MongoDB","MySQL","PostgreSQL","SQLite"],Browsers:["Brave Browser","Chrome","Chrome Canary","Chromium","Edge","Firefox","Firefox Developer Edition","Firefox Nightly","Internet Explorer","Safari","Safari Technology Preview"],Monorepos:["Yarn Workspaces","Lerna"],npmPackages:null,npmGlobalPackages:null},jest:{System:["OS","CPU"],Binaries:["Node","Yarn","npm"],npmPackages:["jest"]},"react-native":{System:["OS","CPU"],Binaries:["Node","Yarn","npm","Watchman"],SDKs:["iOS SDK","Android SDK","Windows SDK"],IDEs:["Android Studio","Xcode","Visual Studio"],npmPackages:["react","react-native"],npmGlobalPackages:["react-native-cli"]},nyc:{System:["OS","CPU","Memory"],Binaries:["Node","Yarn","npm"],npmPackages:"/**/{*babel*,@babel/*/,*istanbul*,nyc,source-map-support,typescript,ts-node}"},webpack:{System:["OS","CPU"],Binaries:["Node","Yarn","npm"],npmPackages:"*webpack*",npmGlobalPackages:["webpack","webpack-cli"]},"styled-components":{System:["OS","CPU"],Binaries:["Node","Yarn","npm"],Browsers:["Chrome","Firefox","Safari"],npmPackages:"*styled-components*"},"create-react-app":{System:["OS","CPU"],Binaries:["Node","npm","Yarn"],Browsers:["Chrome","Edge","Internet Explorer","Firefox","Safari"],npmPackages:["react","react-dom","react-scripts"],npmGlobalPackages:["create-react-app"],options:{duplicates:!0,showNotFound:!0}},apollo:{System:["OS"],Binaries:["Node","npm","Yarn"],Browsers:["Chrome","Edge","Firefox","Safari"],npmPackages:"{*apollo*,@apollo/*}",npmGlobalPackages:"{*apollo*,@apollo/*}"},"react-native-web":{System:["OS","CPU"],Binaries:["Node","npm","Yarn"],Browsers:["Chrome","Edge","Internet Explorer","Firefox","Safari"],npmPackages:["react","react-native-web"],options:{showNotFound:!0}},babel:{System:["OS"],Binaries:["Node","npm","Yarn"],Monorepos:["Yarn Workspaces","Lerna"],npmPackages:"{*babel*,@babel/*,eslint,webpack,create-react-app,react-native,lerna,jest}"},playwright:{System:["OS","Memory","Container"],Binaries:["Node","Yarn","npm"],Languages:["Bash"],npmPackages:"playwright*"}}}])},899:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.actionAsync=t.isBareWorkflowProject=void 0;const o=r(n(152));const i=r(n(622));const s=n(508);const a=n(306);function getEnvironmentInfoAsync(){return o.default.run({System:["OS","Shell"],Binaries:["Node","Yarn","npm","Watchman"],IDEs:["Xcode","Android Studio"],Managers:["CocoaPods"],SDKs:["iOS SDK","Android SDK"],npmPackages:["expo","react","react-dom","react-native","react-native-web","react-navigation","@expo/webpack-config","@expo/metro-config","babel-preset-expo","metro"],npmGlobalPackages:["expo-cli","eas-cli"]},{yaml:true,title:`expo-env-info ${a.version} environment info`})}async function isBareWorkflowProject(e){const t=await s.findFile(i.default.join(e,"ios"),".xcodeproj");const n=await s.findFile(i.default.join(e,"android"),".gradle");return t||n}t.isBareWorkflowProject=isBareWorkflowProject;async function actionAsync(e){process.chdir(e!==null&&e!==void 0?e:process.cwd());const t=await getEnvironmentInfoAsync();const n=t.split("\n");const r=await isBareWorkflowProject(e)?"bare":"managed";n.pop();n.push(` Expo Workflow: ${r}`);console.log(n.join("\n")+"\n")}t.actionAsync=actionAsync},508:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.findFile=void 0;const o=n(747);const i=r(n(622));async function*walk(e){for await(const t of await o.promises.readdir(e,{withFileTypes:true})){const n=i.default.join(e,t.name);if(t.isDirectory()||t.isSymbolicLink()){yield n;yield*walk(n)}else if(t.isFile()){yield n}}}async function findFile(e,t){return o.promises.access(e,o.constants.F_OK).then(async()=>{for await(const n of walk(e)){if(i.default.extname(n)===t)return true}return false}).catch(()=>{return false})}t.findFile=findFile},855:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const o=n(747);const i=r(n(622));const s=n(899);const a=()=>n(306);async function run(){var e;const t=process.argv.slice(2);if(t.some(e=>["-V","-v","--version"].includes(e))){logVersionAndExit()}if(t.some(e=>["-h","--help"].includes(e))){logHelpAndExit()}const n=i.default.resolve(process.cwd(),(e=t[0])!==null&&e!==void 0?e:process.cwd());await o.promises.access(n,o.constants.F_OK).catch(e=>{if(e){console.error(`Project directory ${n} does not exist`);process.exit(1)}});await s.actionAsync(n)}function logVersionAndExit(){console.log(a().version);process.exit(0)}function logHelpAndExit(){console.log(`\n Usage: npx expo-env-info [path] [options]\n\n Log environment info to the console\n\n Options:\n\n -h, --help output usage information\n -v, --version output the version number`);process.exit(0)}run()},306:e=>{"use strict";e.exports=JSON.parse('{"name":"expo-env-info","version":"1.0.1","main":"build","preferGlobal":true,"keywords":["expo","ios","expo-env-info","android"],"description":"Fetch Expo project information for GitHub issue diagnostics","repository":{"type":"git","url":"https://github.com/expo/expo-cli.git","directory":"packages/expo-env-info"},"author":"Expo <support@expo.dev>","license":"MIT","bin":{"expo-env-info":"./build/index.js"},"files":["build"],"scripts":{"prepare":"yarn run clean && yarn run build:prod","lint":"eslint .","watch":"yarn run build -w","test":"jest","build":"ncc build ./src/index.ts -o build/","build:prod":"ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register","clean":"rimraf ./build/"},"devDependencies":{"envinfo":"7.8.1"}}')},357:e=>{"use strict";e.exports=require("assert")},129:e=>{"use strict";e.exports=require("child_process")},614:e=>{"use strict";e.exports=require("events")},747:e=>{"use strict";e.exports=require("fs")},87:e=>{"use strict";e.exports=require("os")},622:e=>{"use strict";e.exports=require("path")},413:e=>{"use strict";e.exports=require("stream")},669:e=>{"use strict";e.exports=require("util")}};var t={};function __nccwpck_require__(n){if(t[n]){return t[n].exports}var r=t[n]={exports:{}};var o=true;try{e[n].call(r.exports,r,r.exports,__nccwpck_require__);o=false}finally{if(o)delete t[n]}return r.exports}__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(855)})();
2
+ import{createRequire as _}from"module";var E={152:(_,E,I)=>{_.exports=function(_){var E={};function n(I){if(E[I])return E[I].exports;var k=E[I]={i:I,l:!1,exports:{}};return _[I].call(k.exports,k,k.exports,n),k.l=!0,k.exports}return n.m=_,n.c=E,n.d=function(_,E,I){n.o(_,E)||Object.defineProperty(_,E,{enumerable:!0,get:I})},n.r=function(_){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(_,"__esModule",{value:!0})},n.t=function(_,E){if(1&E&&(_=n(_)),8&E)return _;if(4&E&&"object"==typeof _&&_&&_.__esModule)return _;var I=Object.create(null);if(n.r(I),Object.defineProperty(I,"default",{enumerable:!0,value:_}),2&E&&"string"!=typeof _)for(var k in _)n.d(I,k,function(E){return _[E]}.bind(null,k));return I},n.n=function(_){var E=_&&_.__esModule?function(){return _.default}:function(){return _};return n.d(E,"a",E),E},n.o=function(_,E){return Object.prototype.hasOwnProperty.call(_,E)},n.p="",n(n.s=78)}([function(_,E){_.exports=I(17)},function(_,E,I){"use strict";I(22),I(101),I(21),I(103),I(114),I(16),I(27),I(74),I(116),I(2);var k=I(0),N=I(5),L=I(17),$=I(49),R=I(76),G=I(45),W=I(121),l=function(_){var E=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).unify,I=void 0!==E&&E;return new Promise((function(E){$.exec(_,{stdio:[0,"pipe","ignore"]},(function(_,k,N){var L="";L=I?k.toString()+N.toString():k.toString(),E((_?"":L).trim())}))}))},f=function(_){var E=Object.values(Array.prototype.slice.call(arguments).slice(1));(process.env.ENVINFO_DEBUG||"").toLowerCase()===_&&console.log(_,JSON.stringify(E))},p=function(_){return new Promise((function(E){N.readFile(_,"utf8",(function(_,I){return E(I||null)}))}))},h=function(_){return p(_).then((function(_){return _?JSON.parse(_):null}))},q=/\d+\.[\d+|.]+/g,m=function(_){f("trace","findDarwinApplication",_);var E=`mdfind "kMDItemCFBundleIdentifier=='${_}'"`;return f("trace",E),l(E).then((function(_){return _.replace(/(\s)/g,"\\ ")}))},g=function(_,E){var I=(E||["CFBundleShortVersionString"]).map((function(_){return"-c Print:"+_}));return["/usr/libexec/PlistBuddy"].concat(I).concat([_]).join(" ")},v=function(_,E){for(var I=[],k=null;null!==(k=_.exec(E));)I.push(k);return I};_.exports={run:l,log:f,fileExists:function(_){return new Promise((function(E){N.stat(_,(function(I){return E(I?null:_)}))}))},readFile:p,requireJson:h,versionRegex:q,findDarwinApplication:m,generatePlistBuddyCommand:g,matchAll:v,parseSDKManagerOutput:function(_){var E=_.split("Available")[0];return{apiLevels:v(W.androidAPILevels,E).map((function(_){return _[1]})),buildTools:v(W.androidBuildTools,E).map((function(_){return _[1]})),systemImages:v(W.androidSystemImages,E).map((function(_){return _[1].split("|").map((function(_){return _.trim()}))})).map((function(_){return _[0].split(";")[0]+" | "+_[2].split(" System Image")[0]}))}},isLinux:"linux"===process.platform,isMacOS:"darwin"===process.platform,NA:"N/A",NotFound:"Not Found",isWindows:process.platform.startsWith("win"),isObject:function(_){return"object"==typeof _&&!Array.isArray(_)},noop:function(_){return _},pipe:function(_){return function(E){return _.reduce((function(_,E){return E(_)}),E)}},browserBundleIdentifiers:{"Brave Browser":"com.brave.Browser",Chrome:"com.google.Chrome","Chrome Canary":"com.google.Chrome.canary",Firefox:"org.mozilla.firefox","Firefox Developer Edition":"org.mozilla.firefoxdeveloperedition","Firefox Nightly":"org.mozilla.nightly","Microsoft Edge":"com.microsoft.edgemac",Safari:"com.apple.Safari","Safari Technology Preview":"com.apple.SafariTechnologyPreview"},ideBundleIdentifiers:{Atom:"com.github.atom",IntelliJ:"com.jetbrains.intellij",PhpStorm:"com.jetbrains.PhpStorm","Sublime Text":"com.sublimetext.3",WebStorm:"com.jetbrains.WebStorm"},runSync:function(_){return($.execSync(_,{stdio:[0,"pipe","ignore"]}).toString()||"").trim()},which:function(_){return new Promise((function(E){return R(_,(function(_,I){return E(I)}))}))},getDarwinApplicationVersion:function(_){var E;return f("trace","getDarwinApplicationVersion",_),E="darwin"!==process.platform?"N/A":m(_).then((function(_){return l(g(k.join(_,"Contents","Info.plist"),["CFBundleShortVersionString"]))})),Promise.resolve(E)},uniq:function(_){return Array.from(new Set(_))},toReadableBytes:function(_){var E=Math.floor(Math.log(_)/Math.log(1024));return _?(_/Math.pow(1024,E)).toFixed(2)+" "+["B","KB","MB","GB","TB","PB"][E]:"0 Bytes"},omit:function(_,E){return Object.keys(_).filter((function(_){return E.indexOf(_)<0})).reduce((function(E,I){return Object.assign(E,{[I]:_[I]})}),{})},pick:function(_,E){return Object.keys(_).filter((function(_){return E.indexOf(_)>=0})).reduce((function(E,I){return Object.assign(E,{[I]:_[I]})}),{})},getPackageJsonByName:function(_){return h(k.join(process.cwd(),"node_modules",_,"package.json"))},getPackageJsonByPath:function(_){return h(k.join(process.cwd(),_))},getPackageJsonByFullPath:function(_){return f("trace","getPackageJsonByFullPath",_),h(_)},getAllPackageJsonPaths:function(_){return f("trace","getAllPackageJsonPaths",_),new Promise((function(E){var n=function(_,I){return E(I.map(k.normalize)||[])};return G(_?k.join("node_modules",_,"package.json"):k.join("node_modules","**","package.json"),n)}))},sortObject:function(_){return Object.keys(_).sort().reduce((function(E,I){return E[I]=_[I],E}),{})},findVersion:function(_,E,I){f("trace","findVersion",_,E,I);var k=I||0,N=E||q,L=_.match(N);return L?L[k]:_},condensePath:function(_){return(_||"").replace(L.homedir(),"~")},determineFound:function(_,E,I){return f("trace","determineFound",_,E,I),"N/A"===E?Promise.resolve([_,"N/A"]):E&&0!==Object.keys(E).length?I?Promise.resolve([_,E,I]):Promise.resolve([_,E]):Promise.resolve([_,"Not Found"])}}},function(_,E,I){"use strict";var k,N,L,$,R=I(36),G=I(4),W=I(12),q=I(56),U=I(8),H=I(6),ie=I(19),pe=I(37),he=I(38),de=I(81),me=I(60).set,ge=I(83)(),ve=I(62),ye=I(84),be=I(85),we=I(86),xe=G.TypeError,Se=G.process,_e=Se&&Se.versions,Pe=_e&&_e.v8||"",Oe=G.Promise,je="process"==q(Se),A=function(){},Ee=N=ve.f,Ie=!!function(){try{var _=Oe.resolve(1),E=(_.constructor={})[I(3)("species")]=function(_){_(A,A)};return(je||"function"==typeof PromiseRejectionEvent)&&_.then(A)instanceof E&&0!==Pe.indexOf("6.6")&&-1===be.indexOf("Chrome/66")}catch(_){}}(),F=function(_){var E;return!(!H(_)||"function"!=typeof(E=_.then))&&E},C=function(_,E){if(!_._n){_._n=!0;var I=_._c;ge((function(){for(var k=_._v,N=1==_._s,L=0,s=function(E){var I,L,$,R=N?E.ok:E.fail,G=E.resolve,W=E.reject,q=E.domain;try{R?(N||(2==_._h&&V(_),_._h=1),!0===R?I=k:(q&&q.enter(),I=R(k),q&&(q.exit(),$=!0)),I===E.promise?W(xe("Promise-chain cycle")):(L=F(I))?L.call(I,G,W):G(I)):W(k)}catch(_){q&&!$&&q.exit(),W(_)}};I.length>L;)s(I[L++]);_._c=[],_._n=!1,E&&!_._h&&M(_)}))}},M=function(_){me.call(G,(function(){var E,I,k,N=_._v,L=T(_);if(L&&(E=ye((function(){je?Se.emit("unhandledRejection",N,_):(I=G.onunhandledrejection)?I({promise:_,reason:N}):(k=G.console)&&k.error&&k.error("Unhandled promise rejection",N)})),_._h=je||T(_)?2:1),_._a=void 0,L&&E.e)throw E.v}))},T=function(_){return 1!==_._h&&0===(_._a||_._c).length},V=function(_){me.call(G,(function(){var E;je?Se.emit("rejectionHandled",_):(E=G.onrejectionhandled)&&E({promise:_,reason:_._v})}))},D=function(_){var E=this;E._d||(E._d=!0,(E=E._w||E)._v=_,E._s=2,E._a||(E._a=E._c.slice()),C(E,!0))},B=function(_){var E,I=this;if(!I._d){I._d=!0,I=I._w||I;try{if(I===_)throw xe("Promise can't be resolved itself");(E=F(_))?ge((function(){var k={_w:I,_d:!1};try{E.call(_,W(B,k,1),W(D,k,1))}catch(_){D.call(k,_)}})):(I._v=_,I._s=1,C(I,!1))}catch(_){D.call({_w:I,_d:!1},_)}}};Ie||(Oe=function(_){pe(this,Oe,"Promise","_h"),ie(_),k.call(this);try{_(W(B,this,1),W(D,this,1))}catch(_){D.call(this,_)}},(k=function(_){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=I(40)(Oe.prototype,{then:function(_,E){var I=Ee(de(this,Oe));return I.ok="function"!=typeof _||_,I.fail="function"==typeof E&&E,I.domain=je?Se.domain:void 0,this._c.push(I),this._a&&this._a.push(I),this._s&&C(this,!1),I.promise},catch:function(_){return this.then(void 0,_)}}),L=function(){var _=new k;this.promise=_,this.resolve=W(B,_,1),this.reject=W(D,_,1)},ve.f=Ee=function(_){return _===Oe||_===$?new L(_):N(_)}),U(U.G+U.W+U.F*!Ie,{Promise:Oe}),I(26)(Oe,"Promise"),I(63)("Promise"),$=I(18).Promise,U(U.S+U.F*!Ie,"Promise",{reject:function(_){var E=Ee(this);return(0,E.reject)(_),E.promise}}),U(U.S+U.F*(R||!Ie),"Promise",{resolve:function(_){return we(R&&this===$?Oe:this,_)}}),U(U.S+U.F*!(Ie&&I(41)((function(_){Oe.all(_).catch(A)}))),"Promise",{all:function(_){var E=this,I=Ee(E),k=I.resolve,N=I.reject,L=ye((function(){var I=[],L=0,$=1;he(_,!1,(function(_){var R=L++,G=!1;I.push(void 0),$++,E.resolve(_).then((function(_){G||(G=!0,I[R]=_,--$||k(I))}),N)})),--$||k(I)}));return L.e&&N(L.v),I.promise},race:function(_){var E=this,I=Ee(E),k=I.reject,N=ye((function(){he(_,!1,(function(_){E.resolve(_).then(I.resolve,k)}))}));return N.e&&k(N.v),I.promise}})},function(_,E,I){var k=I(55)("wks"),N=I(24),L=I(4).Symbol,$="function"==typeof L;(_.exports=function(_){return k[_]||(k[_]=$&&L[_]||($?L:N)("Symbol."+_))}).store=k},function(_,E){var I=_.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=I)},function(_,E){_.exports=I(147)},function(_,E){_.exports=function(_){return"object"==typeof _?null!==_:"function"==typeof _}},function(_,E,I){var k=I(6);_.exports=function(_){if(!k(_))throw TypeError(_+" is not an object!");return _}},function(_,E,I){var k=I(4),N=I(18),L=I(13),$=I(14),R=I(12),c=function(_,E,I){var G,W,q,U,H=_&c.F,ie=_&c.G,pe=_&c.S,he=_&c.P,de=_&c.B,me=ie?k:pe?k[E]||(k[E]={}):(k[E]||{}).prototype,ge=ie?N:N[E]||(N[E]={}),ve=ge.prototype||(ge.prototype={});for(G in ie&&(I=E),I)q=((W=!H&&me&&void 0!==me[G])?me:I)[G],U=de&&W?R(q,k):he&&"function"==typeof q?R(Function.call,q):q,me&&$(me,G,q,_&c.U),ge[G]!=q&&L(ge,G,U),he&&ve[G]!=q&&(ve[G]=q)};k.core=N,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,_.exports=c},function(_,E,I){_.exports=!I(10)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(_,E){_.exports=function(_){try{return!!_()}catch(_){return!0}}},function(_,E,I){var k=I(7),N=I(50),L=I(51),$=Object.defineProperty;E.f=I(9)?Object.defineProperty:function(_,E,I){if(k(_),E=L(E,!0),k(I),N)try{return $(_,E,I)}catch(_){}if("get"in I||"set"in I)throw TypeError("Accessors not supported!");return"value"in I&&(_[E]=I.value),_}},function(_,E,I){var k=I(19);_.exports=function(_,E,I){if(k(_),void 0===E)return _;switch(I){case 1:return function(I){return _.call(E,I)};case 2:return function(I,k){return _.call(E,I,k)};case 3:return function(I,k,N){return _.call(E,I,k,N)}}return function(){return _.apply(E,arguments)}}},function(_,E,I){var k=I(11),N=I(23);_.exports=I(9)?function(_,E,I){return k.f(_,E,N(1,I))}:function(_,E,I){return _[E]=I,_}},function(_,E,I){var k=I(4),N=I(13),L=I(15),$=I(24)("src"),R=Function.toString,G=(""+R).split("toString");I(18).inspectSource=function(_){return R.call(_)},(_.exports=function(_,E,I,R){var W="function"==typeof I;W&&(L(I,"name")||N(I,"name",E)),_[E]!==I&&(W&&(L(I,$)||N(I,$,_[E]?""+_[E]:G.join(String(E)))),_===k?_[E]=I:R?_[E]?_[E]=I:N(_,E,I):(delete _[E],N(_,E,I)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[$]||R.call(this)}))},function(_,E){var I={}.hasOwnProperty;_.exports=function(_,E){return I.call(_,E)}},function(_,E,I){I(28)("split",2,(function(_,E,k){"use strict";var N=I(92),L=k,$=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var R=void 0===/()??/.exec("")[1];k=function(_,E){var I=String(this);if(void 0===_&&0===E)return[];if(!N(_))return L.call(I,_,E);var k,G,W,q,U,H=[],ie=(_.ignoreCase?"i":"")+(_.multiline?"m":"")+(_.unicode?"u":"")+(_.sticky?"y":""),pe=0,he=void 0===E?4294967295:E>>>0,de=new RegExp(_.source,ie+"g");for(R||(k=new RegExp("^"+de.source+"$(?!\\s)",ie));(G=de.exec(I))&&!((W=G.index+G[0].length)>pe&&(H.push(I.slice(pe,G.index)),!R&&G.length>1&&G[0].replace(k,(function(){for(U=1;U<arguments.length-2;U++)void 0===arguments[U]&&(G[U]=void 0)})),G.length>1&&G.index<I.length&&$.apply(H,G.slice(1)),q=G[0].length,pe=W,H.length>=he));)de.lastIndex===G.index&&de.lastIndex++;return pe===I.length?!q&&de.test("")||H.push(""):H.push(I.slice(pe)),H.length>he?H.slice(0,he):H}}else"0".split(void 0,0).length&&(k=function(_,E){return void 0===_&&0===E?[]:L.call(this,_,E)});return[function(I,N){var L=_(this),$=null==I?void 0:I[E];return void 0!==$?$.call(I,L,N):k.call(String(L),I,N)},k]}))},function(_,E){_.exports=I(37)},function(_,E){var I=_.exports={version:"2.5.7"};"number"==typeof __e&&(__e=I)},function(_,E){_.exports=function(_){if("function"!=typeof _)throw TypeError(_+" is not a function!");return _}},function(_,E){var I={}.toString;_.exports=function(_){return I.call(_).slice(8,-1)}},function(_,E,I){var k=I(8);k(k.S+k.F,"Object",{assign:I(88)})},function(_,E,I){I(28)("match",1,(function(_,E,I){return[function(I){"use strict";var k=_(this),N=null==I?void 0:I[E];return void 0!==N?N.call(I,k):new RegExp(I)[E](String(k))},I]}))},function(_,E){_.exports=function(_,E){return{enumerable:!(1&_),configurable:!(2&_),writable:!(4&_),value:E}}},function(_,E){var I=0,k=Math.random();_.exports=function(_){return"Symbol(".concat(void 0===_?"":_,")_",(++I+k).toString(36))}},function(_,E,I){var k=I(53),N=I(34);_.exports=function(_){return k(N(_))}},function(_,E,I){var k=I(11).f,N=I(15),L=I(3)("toStringTag");_.exports=function(_,E,I){_&&!N(_=I?_:_.prototype,L)&&k(_,L,{configurable:!0,value:E})}},function(_,E,I){I(28)("replace",2,(function(_,E,I){return[function(k,N){"use strict";var L=_(this),$=null==k?void 0:k[E];return void 0!==$?$.call(k,L,N):I.call(String(L),k,N)},I]}))},function(_,E,I){"use strict";var k=I(13),N=I(14),L=I(10),$=I(34),R=I(3);_.exports=function(_,E,I){var G=R(_),W=I($,G,""[_]),q=W[0],U=W[1];L((function(){var E={};return E[G]=function(){return 7},7!=""[_](E)}))&&(N(String.prototype,_,q),k(RegExp.prototype,G,2==E?function(_,E){return U.call(_,this,E)}:function(_){return U.call(_,this)}))}},function(_,E,I){var k=I(34);_.exports=function(_){return Object(k(_))}},function(_,E){_.exports=I(837)},function(_,E,I){var k=I(70);function o(_){var t=function(){return t.called?t.value:(t.called=!0,t.value=_.apply(this,arguments))};return t.called=!1,t}function i(_){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=_.apply(this,arguments)},E=_.name||"Function wrapped with `once`";return t.onceError=E+" shouldn't be called more than once",t.called=!1,t}_.exports=k(o),_.exports.strict=k(i),o.proto=o((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return o(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return i(this)},configurable:!0})}))},function(_,E,I){"use strict";var k=I(8),N=I(52)(!0);k(k.P,"Array",{includes:function(_){return N(this,_,arguments.length>1?arguments[1]:void 0)}}),I(80)("includes")},function(_,E,I){var k=I(6),N=I(4).document,L=k(N)&&k(N.createElement);_.exports=function(_){return L?N.createElement(_):{}}},function(_,E){_.exports=function(_){if(null==_)throw TypeError("Can't call method on "+_);return _}},function(_,E,I){var k=I(54),N=Math.min;_.exports=function(_){return _>0?N(k(_),9007199254740991):0}},function(_,E){_.exports=!1},function(_,E){_.exports=function(_,E,I,k){if(!(_ instanceof E)||void 0!==k&&k in _)throw TypeError(I+": incorrect invocation!");return _}},function(_,E,I){var k=I(12),N=I(57),L=I(58),$=I(7),R=I(35),G=I(59),W={},q={};(E=_.exports=function(_,E,I,U,H){var ie,pe,he,de,me=H?function(){return _}:G(_),ge=k(I,U,E?2:1),ve=0;if("function"!=typeof me)throw TypeError(_+" is not iterable!");if(L(me)){for(ie=R(_.length);ie>ve;ve++)if((de=E?ge($(pe=_[ve])[0],pe[1]):ge(_[ve]))===W||de===q)return de}else for(he=me.call(_);!(pe=he.next()).done;)if((de=N(he,ge,pe.value,E))===W||de===q)return de}).BREAK=W,E.RETURN=q},function(_,E){_.exports={}},function(_,E,I){var k=I(14);_.exports=function(_,E,I){for(var N in E)k(_,N,E[N],I);return _}},function(_,E,I){var k=I(3)("iterator"),N=!1;try{var L=[7][k]();L.return=function(){N=!0},Array.from(L,(function(){throw 2}))}catch(_){}_.exports=function(_,E){if(!E&&!N)return!1;var I=!1;try{var L=[7],$=L[k]();$.next=function(){return{done:I=!0}},L[k]=function(){return $},_(L)}catch(_){}return I}},function(_,E,I){var k=I(87),N=I(66);_.exports=Object.keys||function(_){return k(_,N)}},function(_,E,I){var k=I(55)("keys"),N=I(24);_.exports=function(_){return k[_]||(k[_]=N(_))}},function(_,E){E.f={}.propertyIsEnumerable},function(_,E,I){_.exports=b;var k=I(5),N=I(67),L=I(46),$=(L.Minimatch,I(97)),R=I(68).EventEmitter,G=I(0),W=I(47),q=I(48),U=I(99),H=I(69),ie=(H.alphasort,H.alphasorti,H.setopts),pe=H.ownProp,he=I(100),de=(I(30),H.childrenIgnored),me=H.isIgnored,ge=I(31);function b(_,E,I){if("function"==typeof E&&(I=E,E={}),E||(E={}),E.sync){if(I)throw new TypeError("callback provided to sync glob");return U(_,E)}return new x(_,E,I)}b.sync=U;var ve=b.GlobSync=U.GlobSync;function x(_,E,I){if("function"==typeof E&&(I=E,E=null),E&&E.sync){if(I)throw new TypeError("callback provided to sync glob");return new ve(_,E)}if(!(this instanceof x))return new x(_,E,I);ie(this,_,E),this._didRealPath=!1;var k=this.minimatch.set.length;this.matches=new Array(k),"function"==typeof I&&(I=ge(I),this.on("error",I),this.on("end",(function(_){I(null,_)})));var N=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===k)return a();for(var L=!0,$=0;$<k;$++)this._process(this.minimatch.set[$],$,!1,a);function a(){--N._processing,N._processing<=0&&(L?process.nextTick((function(){N._finish()})):N._finish())}L=!1}b.glob=b,b.hasMagic=function(_,E){var I=function(_,E){if(null===E||"object"!=typeof E)return _;for(var I=Object.keys(E),k=I.length;k--;)_[I[k]]=E[I[k]];return _}({},E);I.noprocess=!0;var k=new x(_,I).minimatch.set;if(!_)return!1;if(k.length>1)return!0;for(var N=0;N<k[0].length;N++)if("string"!=typeof k[0][N])return!0;return!1},b.Glob=x,$(x,R),x.prototype._finish=function(){if(W(this instanceof x),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();H.finish(this),this.emit("end",this.found)}},x.prototype._realpath=function(){if(!this._didRealpath){this._didRealpath=!0;var _=this.matches.length;if(0===_)return this._finish();for(var E=this,I=0;I<this.matches.length;I++)this._realpathSet(I,r)}function r(){0==--_&&E._finish()}},x.prototype._realpathSet=function(_,E){var I=this.matches[_];if(!I)return E();var k=Object.keys(I),L=this,$=k.length;if(0===$)return E();var R=this.matches[_]=Object.create(null);k.forEach((function(I,k){I=L._makeAbs(I),N.realpath(I,L.realpathCache,(function(k,N){k?"stat"===k.syscall?R[I]=!0:L.emit("error",k):R[N]=!0,0==--$&&(L.matches[_]=R,E())}))}))},x.prototype._mark=function(_){return H.mark(this,_)},x.prototype._makeAbs=function(_){return H.makeAbs(this,_)},x.prototype.abort=function(){this.aborted=!0,this.emit("abort")},x.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},x.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var _=this._emitQueue.slice(0);this._emitQueue.length=0;for(var E=0;E<_.length;E++){var I=_[E];this._emitMatch(I[0],I[1])}}if(this._processQueue.length){var k=this._processQueue.slice(0);this._processQueue.length=0;for(E=0;E<k.length;E++){var N=k[E];this._processing--,this._process(N[0],N[1],N[2],N[3])}}}},x.prototype._process=function(_,E,I,k){if(W(this instanceof x),W("function"==typeof k),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([_,E,I,k]);else{for(var N,$=0;"string"==typeof _[$];)$++;switch($){case _.length:return void this._processSimple(_.join("/"),E,k);case 0:N=null;break;default:N=_.slice(0,$).join("/")}var R,G=_.slice($);null===N?R=".":q(N)||q(_.join("/"))?(N&&q(N)||(N="/"+N),R=N):R=N;var U=this._makeAbs(R);if(de(this,R))return k();G[0]===L.GLOBSTAR?this._processGlobStar(N,R,U,G,E,I,k):this._processReaddir(N,R,U,G,E,I,k)}},x.prototype._processReaddir=function(_,E,I,k,N,L,$){var R=this;this._readdir(I,L,(function(G,W){return R._processReaddir2(_,E,I,k,N,L,W,$)}))},x.prototype._processReaddir2=function(_,E,I,k,N,L,$,R){if(!$)return R();for(var W=k[0],q=!!this.minimatch.negate,U=W._glob,H=this.dot||"."===U.charAt(0),ie=[],pe=0;pe<$.length;pe++){if("."!==(de=$[pe]).charAt(0)||H)(q&&!_?!de.match(W):de.match(W))&&ie.push(de)}var he=ie.length;if(0===he)return R();if(1===k.length&&!this.mark&&!this.stat){this.matches[N]||(this.matches[N]=Object.create(null));for(pe=0;pe<he;pe++){var de=ie[pe];_&&(de="/"!==_?_+"/"+de:_+de),"/"!==de.charAt(0)||this.nomount||(de=G.join(this.root,de)),this._emitMatch(N,de)}return R()}k.shift();for(pe=0;pe<he;pe++){de=ie[pe];_&&(de="/"!==_?_+"/"+de:_+de),this._process([de].concat(k),N,L,R)}R()},x.prototype._emitMatch=function(_,E){if(!this.aborted&&!me(this,E))if(this.paused)this._emitQueue.push([_,E]);else{var I=q(E)?E:this._makeAbs(E);if(this.mark&&(E=this._mark(E)),this.absolute&&(E=I),!this.matches[_][E]){if(this.nodir){var k=this.cache[I];if("DIR"===k||Array.isArray(k))return}this.matches[_][E]=!0;var N=this.statCache[I];N&&this.emit("stat",E,N),this.emit("match",E)}}},x.prototype._readdirInGlobStar=function(_,E){if(!this.aborted){if(this.follow)return this._readdir(_,!1,E);var I=this,N=he("lstat\0"+_,(function(k,N){if(k&&"ENOENT"===k.code)return E();var L=N&&N.isSymbolicLink();I.symlinks[_]=L,L||!N||N.isDirectory()?I._readdir(_,!1,E):(I.cache[_]="FILE",E())}));N&&k.lstat(_,N)}},x.prototype._readdir=function(_,E,I){if(!this.aborted&&(I=he("readdir\0"+_+"\0"+E,I))){if(E&&!pe(this.symlinks,_))return this._readdirInGlobStar(_,I);if(pe(this.cache,_)){var N=this.cache[_];if(!N||"FILE"===N)return I();if(Array.isArray(N))return I(null,N)}k.readdir(_,function(_,E,I){return function(k,N){k?_._readdirError(E,k,I):_._readdirEntries(E,N,I)}}(this,_,I))}},x.prototype._readdirEntries=function(_,E,I){if(!this.aborted){if(!this.mark&&!this.stat)for(var k=0;k<E.length;k++){var N=E[k];N="/"===_?_+N:_+"/"+N,this.cache[N]=!0}return this.cache[_]=E,I(null,E)}},x.prototype._readdirError=function(_,E,I){if(!this.aborted){switch(E.code){case"ENOTSUP":case"ENOTDIR":var k=this._makeAbs(_);if(this.cache[k]="FILE",k===this.cwdAbs){var N=new Error(E.code+" invalid cwd "+this.cwd);N.path=this.cwd,N.code=E.code,this.emit("error",N),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(_)]=!1;break;default:this.cache[this._makeAbs(_)]=!1,this.strict&&(this.emit("error",E),this.abort()),this.silent||console.error("glob error",E)}return I()}},x.prototype._processGlobStar=function(_,E,I,k,N,L,$){var R=this;this._readdir(I,L,(function(G,W){R._processGlobStar2(_,E,I,k,N,L,W,$)}))},x.prototype._processGlobStar2=function(_,E,I,k,N,L,$,R){if(!$)return R();var G=k.slice(1),W=_?[_]:[],q=W.concat(G);this._process(q,N,!1,R);var U=this.symlinks[I],H=$.length;if(U&&L)return R();for(var ie=0;ie<H;ie++){if("."!==$[ie].charAt(0)||this.dot){var pe=W.concat($[ie],G);this._process(pe,N,!0,R);var he=W.concat($[ie],k);this._process(he,N,!0,R)}}R()},x.prototype._processSimple=function(_,E,I){var k=this;this._stat(_,(function(N,L){k._processSimple2(_,E,N,L,I)}))},x.prototype._processSimple2=function(_,E,I,k,N){if(this.matches[E]||(this.matches[E]=Object.create(null)),!k)return N();if(_&&q(_)&&!this.nomount){var L=/[\/\\]$/.test(_);"/"===_.charAt(0)?_=G.join(this.root,_):(_=G.resolve(this.root,_),L&&(_+="/"))}"win32"===process.platform&&(_=_.replace(/\\/g,"/")),this._emitMatch(E,_),N()},x.prototype._stat=function(_,E){var I=this._makeAbs(_),N="/"===_.slice(-1);if(_.length>this.maxLength)return E();if(!this.stat&&pe(this.cache,I)){var L=this.cache[I];if(Array.isArray(L)&&(L="DIR"),!N||"DIR"===L)return E(null,L);if(N&&"FILE"===L)return E()}var $=this.statCache[I];if(void 0!==$){if(!1===$)return E(null,$);var R=$.isDirectory()?"DIR":"FILE";return N&&"FILE"===R?E():E(null,R,$)}var G=this,W=he("stat\0"+I,(function(N,L){if(L&&L.isSymbolicLink())return k.stat(I,(function(k,N){k?G._stat2(_,I,null,L,E):G._stat2(_,I,k,N,E)}));G._stat2(_,I,N,L,E)}));W&&k.lstat(I,W)},x.prototype._stat2=function(_,E,I,k,N){if(I&&("ENOENT"===I.code||"ENOTDIR"===I.code))return this.statCache[E]=!1,N();var L="/"===_.slice(-1);if(this.statCache[E]=k,"/"===E.slice(-1)&&k&&!k.isDirectory())return N(null,!1,k);var $=!0;return k&&($=k.isDirectory()?"DIR":"FILE"),this.cache[E]=this.cache[E]||$,L&&"FILE"===$?N():N(null,$,k)}},function(_,E,I){_.exports=d,d.Minimatch=m;var k={sep:"/"};try{k=I(0)}catch(_){}var N=d.GLOBSTAR=m.GLOBSTAR={},L=I(94),$={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},R="[^/]",G=R+"*?",W="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",q="(?:(?!(?:\\/|^)\\.).)*?",U="().*{}+?[]^$\\!".split("").reduce((function(_,E){return _[E]=!0,_}),{});var H=/\/+/;function h(_,E){_=_||{},E=E||{};var I={};return Object.keys(E).forEach((function(_){I[_]=E[_]})),Object.keys(_).forEach((function(E){I[E]=_[E]})),I}function d(_,E,I){if("string"!=typeof E)throw new TypeError("glob pattern string required");return I||(I={}),!(!I.nocomment&&"#"===E.charAt(0))&&(""===E.trim()?""===_:new m(E,I).match(_))}function m(_,E){if(!(this instanceof m))return new m(_,E);if("string"!=typeof _)throw new TypeError("glob pattern string required");E||(E={}),_=_.trim(),"/"!==k.sep&&(_=_.split(k.sep).join("/")),this.options=E,this.set=[],this.pattern=_,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function g(_,E){if(E||(E=this instanceof m?this.options:{}),void 0===(_=void 0===_?this.pattern:_))throw new TypeError("undefined pattern");return E.nobrace||!_.match(/\{.*\}/)?[_]:L(_)}d.filter=function(_,E){return E=E||{},function(I,k,N){return d(I,_,E)}},d.defaults=function(_){if(!_||!Object.keys(_).length)return d;var E=d,n=function(I,k,N){return E.minimatch(I,k,h(_,N))};return n.Minimatch=function(I,k){return new E.Minimatch(I,h(_,k))},n},m.defaults=function(_){return _&&Object.keys(_).length?d.defaults(_).Minimatch:m},m.prototype.debug=function(){},m.prototype.make=function(){if(this._made)return;var _=this.pattern,E=this.options;if(!E.nocomment&&"#"===_.charAt(0))return void(this.comment=!0);if(!_)return void(this.empty=!0);this.parseNegate();var I=this.globSet=this.braceExpand();E.debug&&(this.debug=console.error);this.debug(this.pattern,I),I=this.globParts=I.map((function(_){return _.split(H)})),this.debug(this.pattern,I),I=I.map((function(_,E,I){return _.map(this.parse,this)}),this),this.debug(this.pattern,I),I=I.filter((function(_){return-1===_.indexOf(!1)})),this.debug(this.pattern,I),this.set=I},m.prototype.parseNegate=function(){var _=this.pattern,E=!1,I=this.options,k=0;if(I.nonegate)return;for(var N=0,L=_.length;N<L&&"!"===_.charAt(N);N++)E=!E,k++;k&&(this.pattern=_.substr(k));this.negate=E},d.braceExpand=function(_,E){return g(_,E)},m.prototype.braceExpand=g,m.prototype.parse=function(_,E){if(_.length>65536)throw new TypeError("pattern is too long");var I=this.options;if(!I.noglobstar&&"**"===_)return N;if(""===_)return"";var k,L="",W=!!I.nocase,q=!1,H=[],pe=[],he=!1,de=-1,me=-1,ge="."===_.charAt(0)?"":I.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",ve=this;function w(){if(k){switch(k){case"*":L+=G,W=!0;break;case"?":L+=R,W=!0;break;default:L+="\\"+k}ve.debug("clearStateChar %j %j",k,L),k=!1}}for(var ye,be=0,we=_.length;be<we&&(ye=_.charAt(be));be++)if(this.debug("%s\t%s %s %j",_,be,L,ye),q&&U[ye])L+="\\"+ye,q=!1;else switch(ye){case"/":return!1;case"\\":w(),q=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",_,be,L,ye),he){this.debug(" in class"),"!"===ye&&be===me+1&&(ye="^"),L+=ye;continue}ve.debug("call clearStateChar %j",k),w(),k=ye,I.noext&&w();continue;case"(":if(he){L+="(";continue}if(!k){L+="\\(";continue}H.push({type:k,start:be-1,reStart:L.length,open:$[k].open,close:$[k].close}),L+="!"===k?"(?:(?!(?:":"(?:",this.debug("plType %j %j",k,L),k=!1;continue;case")":if(he||!H.length){L+="\\)";continue}w(),W=!0;var xe=H.pop();L+=xe.close,"!"===xe.type&&pe.push(xe),xe.reEnd=L.length;continue;case"|":if(he||!H.length||q){L+="\\|",q=!1;continue}w(),L+="|";continue;case"[":if(w(),he){L+="\\"+ye;continue}he=!0,me=be,de=L.length,L+=ye;continue;case"]":if(be===me+1||!he){L+="\\"+ye,q=!1;continue}if(he){var Se=_.substring(me+1,be);try{RegExp("["+Se+"]")}catch(_){var _e=this.parse(Se,ie);L=L.substr(0,de)+"\\["+_e[0]+"\\]",W=W||_e[1],he=!1;continue}}W=!0,he=!1,L+=ye;continue;default:w(),q?q=!1:!U[ye]||"^"===ye&&he||(L+="\\"),L+=ye}he&&(Se=_.substr(me+1),_e=this.parse(Se,ie),L=L.substr(0,de)+"\\["+_e[0],W=W||_e[1]);for(xe=H.pop();xe;xe=H.pop()){var Pe=L.slice(xe.reStart+xe.open.length);this.debug("setting tail",L,xe),Pe=Pe.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(_,E,I){return I||(I="\\"),E+E+I+"|"})),this.debug("tail=%j\n %s",Pe,Pe,xe,L);var Oe="*"===xe.type?G:"?"===xe.type?R:"\\"+xe.type;W=!0,L=L.slice(0,xe.reStart)+Oe+"\\("+Pe}w(),q&&(L+="\\\\");var je=!1;switch(L.charAt(0)){case".":case"[":case"(":je=!0}for(var Ee=pe.length-1;Ee>-1;Ee--){var Ie=pe[Ee],Ae=L.slice(0,Ie.reStart),ke=L.slice(Ie.reStart,Ie.reEnd-8),Ne=L.slice(Ie.reEnd-8,Ie.reEnd),Fe=L.slice(Ie.reEnd);Ne+=Fe;var Ce=Ae.split("(").length-1,Me=Fe;for(be=0;be<Ce;be++)Me=Me.replace(/\)[+*?]?/,"");var Te="";""===(Fe=Me)&&E!==ie&&(Te="$");var Ve=Ae+ke+Fe+Te+Ne;L=Ve}""!==L&&W&&(L="(?=.)"+L);je&&(L=ge+L);if(E===ie)return[L,W];if(!W)return _.replace(/\\(.)/g,"$1");var De=I.nocase?"i":"";try{var Be=new RegExp("^"+L+"$",De)}catch(_){return new RegExp("$.")}return Be._glob=_,Be._src=L,Be};var ie={};d.makeRe=function(_,E){return new m(_,E||{}).makeRe()},m.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var _=this.set;if(!_.length)return this.regexp=!1,this.regexp;var E=this.options,I=E.noglobstar?G:E.dot?W:q,k=E.nocase?"i":"",L=_.map((function(_){return _.map((function(_){return _===N?I:"string"==typeof _?_.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):_._src})).join("\\/")})).join("|");L="^(?:"+L+")$",this.negate&&(L="^(?!"+L+").*$");try{this.regexp=new RegExp(L,k)}catch(_){this.regexp=!1}return this.regexp},d.match=function(_,E,I){var k=new m(E,I=I||{});return _=_.filter((function(_){return k.match(_)})),k.options.nonull&&!_.length&&_.push(E),_},m.prototype.match=function(_,E){if(this.debug("match",_,this.pattern),this.comment)return!1;if(this.empty)return""===_;if("/"===_&&E)return!0;var I=this.options;"/"!==k.sep&&(_=_.split(k.sep).join("/"));_=_.split(H),this.debug(this.pattern,"split",_);var N,L,$=this.set;for(this.debug(this.pattern,"set",$),L=_.length-1;L>=0&&!(N=_[L]);L--);for(L=0;L<$.length;L++){var R=$[L],G=_;I.matchBase&&1===R.length&&(G=[N]);var W=this.matchOne(G,R,E);if(W)return!!I.flipNegate||!this.negate}return!I.flipNegate&&this.negate},m.prototype.matchOne=function(_,E,I){var k=this.options;this.debug("matchOne",{this:this,file:_,pattern:E}),this.debug("matchOne",_.length,E.length);for(var L=0,$=0,R=_.length,G=E.length;L<R&&$<G;L++,$++){this.debug("matchOne loop");var W,q=E[$],U=_[L];if(this.debug(E,q,U),!1===q)return!1;if(q===N){this.debug("GLOBSTAR",[E,q,U]);var H=L,ie=$+1;if(ie===G){for(this.debug("** at the end");L<R;L++)if("."===_[L]||".."===_[L]||!k.dot&&"."===_[L].charAt(0))return!1;return!0}for(;H<R;){var pe=_[H];if(this.debug("\nglobstar while",_,H,E,ie,pe),this.matchOne(_.slice(H),E.slice(ie),I))return this.debug("globstar found match!",H,R,pe),!0;if("."===pe||".."===pe||!k.dot&&"."===pe.charAt(0)){this.debug("dot detected!",_,H,E,ie);break}this.debug("globstar swallow a segment, and continue"),H++}return!(!I||(this.debug("\n>>> no match, partial?",_,H,E,ie),H!==R))}if("string"==typeof q?(W=k.nocase?U.toLowerCase()===q.toLowerCase():U===q,this.debug("string match",q,U,W)):(W=U.match(q),this.debug("pattern match",q,U,W)),!W)return!1}if(L===R&&$===G)return!0;if(L===R)return I;if($===G)return L===R-1&&""===_[L];throw new Error("wtf?")}},function(_,E){_.exports=I(491)},function(_,E,I){"use strict";function r(_){return"/"===_.charAt(0)}function o(_){var E=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(_),I=E[1]||"",k=Boolean(I&&":"!==I.charAt(1));return Boolean(E[2]||k)}_.exports="win32"===process.platform?o:r,_.exports.posix=r,_.exports.win32=o},function(_,E){_.exports=I(81)},function(_,E,I){_.exports=!I(9)&&!I(10)((function(){return 7!=Object.defineProperty(I(33)("div"),"a",{get:function(){return 7}}).a}))},function(_,E,I){var k=I(6);_.exports=function(_,E){if(!k(_))return _;var I,N;if(E&&"function"==typeof(I=_.toString)&&!k(N=I.call(_)))return N;if("function"==typeof(I=_.valueOf)&&!k(N=I.call(_)))return N;if(!E&&"function"==typeof(I=_.toString)&&!k(N=I.call(_)))return N;throw TypeError("Can't convert object to primitive value")}},function(_,E,I){var k=I(25),N=I(35),L=I(79);_.exports=function(_){return function(E,I,$){var R,G=k(E),W=N(G.length),q=L($,W);if(_&&I!=I){for(;W>q;)if((R=G[q++])!=R)return!0}else for(;W>q;q++)if((_||q in G)&&G[q]===I)return _||q||0;return!_&&-1}}},function(_,E,I){var k=I(20);_.exports=Object("z").propertyIsEnumerable(0)?Object:function(_){return"String"==k(_)?_.split(""):Object(_)}},function(_,E){var I=Math.ceil,k=Math.floor;_.exports=function(_){return isNaN(_=+_)?0:(_>0?k:I)(_)}},function(_,E,I){var k=I(18),N=I(4),L=N["__core-js_shared__"]||(N["__core-js_shared__"]={});(_.exports=function(_,E){return L[_]||(L[_]=void 0!==E?E:{})})("versions",[]).push({version:k.version,mode:I(36)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(_,E,I){var k=I(20),N=I(3)("toStringTag"),L="Arguments"==k(function(){return arguments}());_.exports=function(_){var E,I,$;return void 0===_?"Undefined":null===_?"Null":"string"==typeof(I=function(_,E){try{return _[E]}catch(_){}}(E=Object(_),N))?I:L?k(E):"Object"==($=k(E))&&"function"==typeof E.callee?"Arguments":$}},function(_,E,I){var k=I(7);_.exports=function(_,E,I,N){try{return N?E(k(I)[0],I[1]):E(I)}catch(E){var L=_.return;throw void 0!==L&&k(L.call(_)),E}}},function(_,E,I){var k=I(39),N=I(3)("iterator"),L=Array.prototype;_.exports=function(_){return void 0!==_&&(k.Array===_||L[N]===_)}},function(_,E,I){var k=I(56),N=I(3)("iterator"),L=I(39);_.exports=I(18).getIteratorMethod=function(_){if(null!=_)return _[N]||_["@@iterator"]||L[k(_)]}},function(_,E,I){var k,N,L,$=I(12),R=I(82),G=I(61),W=I(33),q=I(4),U=q.process,H=q.setImmediate,ie=q.clearImmediate,pe=q.MessageChannel,he=q.Dispatch,de=0,me={},y=function(){var _=+this;if(me.hasOwnProperty(_)){var E=me[_];delete me[_],E()}},b=function(_){y.call(_.data)};H&&ie||(H=function(_){for(var E=[],I=1;arguments.length>I;)E.push(arguments[I++]);return me[++de]=function(){R("function"==typeof _?_:Function(_),E)},k(de),de},ie=function(_){delete me[_]},"process"==I(20)(U)?k=function(_){U.nextTick($(y,_,1))}:he&&he.now?k=function(_){he.now($(y,_,1))}:pe?(L=(N=new pe).port2,N.port1.onmessage=b,k=$(L.postMessage,L,1)):q.addEventListener&&"function"==typeof postMessage&&!q.importScripts?(k=function(_){q.postMessage(_+"","*")},q.addEventListener("message",b,!1)):k="onreadystatechange"in W("script")?function(_){G.appendChild(W("script")).onreadystatechange=function(){G.removeChild(this),y.call(_)}}:function(_){setTimeout($(y,_,1),0)}),_.exports={set:H,clear:ie}},function(_,E,I){var k=I(4).document;_.exports=k&&k.documentElement},function(_,E,I){"use strict";var k=I(19);function o(_){var E,I;this.promise=new _((function(_,k){if(void 0!==E||void 0!==I)throw TypeError("Bad Promise constructor");E=_,I=k})),this.resolve=k(E),this.reject=k(I)}_.exports.f=function(_){return new o(_)}},function(_,E,I){"use strict";var k=I(4),N=I(11),L=I(9),$=I(3)("species");_.exports=function(_){var E=k[_];L&&E&&!E[$]&&N.f(E,$,{configurable:!0,get:function(){return this}})}},function(_,E,I){var k=I(8),N=I(65)(!0);k(k.S,"Object",{entries:function(_){return N(_)}})},function(_,E,I){var k=I(42),N=I(25),L=I(44).f;_.exports=function(_){return function(E){for(var I,$=N(E),R=k($),G=R.length,W=0,q=[];G>W;)L.call($,I=R[W++])&&q.push(_?[I,$[I]]:$[I]);return q}}},function(_,E){_.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(_,E,I){_.exports=l,l.realpath=l,l.sync=f,l.realpathSync=f,l.monkeypatch=function(){k.realpath=l,k.realpathSync=f},l.unmonkeypatch=function(){k.realpath=N,k.realpathSync=L};var k=I(5),N=k.realpath,L=k.realpathSync,$=process.version,R=/^v[0-5]\./.test($),G=I(93);function u(_){return _&&"realpath"===_.syscall&&("ELOOP"===_.code||"ENOMEM"===_.code||"ENAMETOOLONG"===_.code)}function l(_,E,I){if(R)return N(_,E,I);"function"==typeof E&&(I=E,E=null),N(_,E,(function(k,N){u(k)?G.realpath(_,E,I):I(k,N)}))}function f(_,E){if(R)return L(_,E);try{return L(_,E)}catch(I){if(u(I))return G.realpathSync(_,E);throw I}}},function(_,E){_.exports=I(361)},function(_,E,I){function r(_,E){return Object.prototype.hasOwnProperty.call(_,E)}E.alphasort=u,E.alphasorti=c,E.setopts=function(_,E,I){I||(I={});if(I.matchBase&&-1===E.indexOf("/")){if(I.noglobstar)throw new Error("base matching requires globstar");E="**/"+E}_.silent=!!I.silent,_.pattern=E,_.strict=!1!==I.strict,_.realpath=!!I.realpath,_.realpathCache=I.realpathCache||Object.create(null),_.follow=!!I.follow,_.dot=!!I.dot,_.mark=!!I.mark,_.nodir=!!I.nodir,_.nodir&&(_.mark=!0);_.sync=!!I.sync,_.nounique=!!I.nounique,_.nonull=!!I.nonull,_.nosort=!!I.nosort,_.nocase=!!I.nocase,_.stat=!!I.stat,_.noprocess=!!I.noprocess,_.absolute=!!I.absolute,_.maxLength=I.maxLength||1/0,_.cache=I.cache||Object.create(null),_.statCache=I.statCache||Object.create(null),_.symlinks=I.symlinks||Object.create(null),function(_,E){_.ignore=E.ignore||[],Array.isArray(_.ignore)||(_.ignore=[_.ignore]);_.ignore.length&&(_.ignore=_.ignore.map(l))}(_,I),_.changedCwd=!1;var N=process.cwd();r(I,"cwd")?(_.cwd=k.resolve(I.cwd),_.changedCwd=_.cwd!==N):_.cwd=N;_.root=I.root||k.resolve(_.cwd,"/"),_.root=k.resolve(_.root),"win32"===process.platform&&(_.root=_.root.replace(/\\/g,"/"));_.cwdAbs=L(_.cwd)?_.cwd:f(_,_.cwd),"win32"===process.platform&&(_.cwdAbs=_.cwdAbs.replace(/\\/g,"/"));_.nomount=!!I.nomount,I.nonegate=!0,I.nocomment=!0,_.minimatch=new $(E,I),_.options=_.minimatch.options},E.ownProp=r,E.makeAbs=f,E.finish=function(_){for(var E=_.nounique,I=E?[]:Object.create(null),k=0,N=_.matches.length;k<N;k++){var L=_.matches[k];if(L&&0!==Object.keys(L).length){var $=Object.keys(L);E?I.push.apply(I,$):$.forEach((function(_){I[_]=!0}))}else if(_.nonull){var R=_.minimatch.globSet[k];E?I.push(R):I[R]=!0}}E||(I=Object.keys(I));_.nosort||(I=I.sort(_.nocase?c:u));if(_.mark){for(var k=0;k<I.length;k++)I[k]=_._mark(I[k]);_.nodir&&(I=I.filter((function(E){var I=!/\/$/.test(E),k=_.cache[E]||_.cache[f(_,E)];return I&&k&&(I="DIR"!==k&&!Array.isArray(k)),I})))}_.ignore.length&&(I=I.filter((function(E){return!p(_,E)})));_.found=I},E.mark=function(_,E){var I=f(_,E),k=_.cache[I],N=E;if(k){var L="DIR"===k||Array.isArray(k),$="/"===E.slice(-1);if(L&&!$?N+="/":!L&&$&&(N=N.slice(0,-1)),N!==E){var R=f(_,N);_.statCache[R]=_.statCache[I],_.cache[R]=_.cache[I]}}return N},E.isIgnored=p,E.childrenIgnored=function(_,E){return!!_.ignore.length&&_.ignore.some((function(_){return!(!_.gmatcher||!_.gmatcher.match(E))}))};var k=I(0),N=I(46),L=I(48),$=N.Minimatch;function c(_,E){return _.toLowerCase().localeCompare(E.toLowerCase())}function u(_,E){return _.localeCompare(E)}function l(_){var E=null;if("/**"===_.slice(-3)){var I=_.replace(/(\/\*\*)+$/,"");E=new $(I,{dot:!0})}return{matcher:new $(_,{dot:!0}),gmatcher:E}}function f(_,E){var I=E;return I="/"===E.charAt(0)?k.join(_.root,E):L(E)||""===E?E:_.changedCwd?k.resolve(_.cwd,E):k.resolve(E),"win32"===process.platform&&(I=I.replace(/\\/g,"/")),I}function p(_,E){return!!_.ignore.length&&_.ignore.some((function(_){return _.matcher.match(E)||!(!_.gmatcher||!_.gmatcher.match(E))}))}},function(_,E){_.exports=function e(_,E){if(_&&E)return e(_)(E);if("function"!=typeof _)throw new TypeError("need wrapper function");Object.keys(_).forEach((function(E){r[E]=_[E]}));return r;function r(){for(var E=new Array(arguments.length),I=0;I<E.length;I++)E[I]=arguments[I];var k=_.apply(this,E),N=E[E.length-1];return"function"==typeof k&&k!==N&&Object.keys(N).forEach((function(_){k[_]=N[_]})),k}}},function(_,E,I){var k=I(7),N=I(105),L=I(66),$=I(43)("IE_PROTO"),a=function(){},c=function(){var _,E=I(33)("iframe"),k=L.length;for(E.style.display="none",I(61).appendChild(E),E.src="javascript:",(_=E.contentWindow.document).open(),_.write("<script>document.F=Object<\/script>"),_.close(),c=_.F;k--;)delete c.prototype[L[k]];return c()};_.exports=Object.create||function(_,E){var I;return null!==_?(a.prototype=k(_),I=new a,a.prototype=null,I[$]=_):I=c(),void 0===E?I:N(I,E)}},function(_,E,I){var k=I(24)("meta"),N=I(6),L=I(15),$=I(11).f,R=0,G=Object.isExtensible||function(){return!0},W=!I(10)((function(){return G(Object.preventExtensions({}))})),l=function(_){$(_,k,{value:{i:"O"+ ++R,w:{}}})},q=_.exports={KEY:k,NEED:!1,fastKey:function(_,E){if(!N(_))return"symbol"==typeof _?_:("string"==typeof _?"S":"P")+_;if(!L(_,k)){if(!G(_))return"F";if(!E)return"E";l(_)}return _[k].i},getWeak:function(_,E){if(!L(_,k)){if(!G(_))return!0;if(!E)return!1;l(_)}return _[k].w},onFreeze:function(_){return W&&q.NEED&&G(_)&&!L(_,k)&&l(_),_}}},function(_,E,I){var k=I(6);_.exports=function(_,E){if(!k(_)||_._t!==E)throw TypeError("Incompatible receiver, "+E+" required!");return _}},function(_,E,I){var k=I(8),N=I(65)(!1);k(k.S,"Object",{values:function(_){return N(_)}})},function(_,E,I){"use strict";var k=I(7);_.exports=function(){var _=k(this),E="";return _.global&&(E+="g"),_.ignoreCase&&(E+="i"),_.multiline&&(E+="m"),_.unicode&&(E+="u"),_.sticky&&(E+="y"),E}},function(_,E,I){_.exports=u,u.sync=function(_,E){for(var I=c(_,E=E||{}),k=I.env,L=I.ext,R=I.extExe,G=[],W=0,q=k.length;W<q;W++){var U=k[W];'"'===U.charAt(0)&&'"'===U.slice(-1)&&(U=U.slice(1,-1));var H=N.join(U,_);!U&&/^\.[\\\/]/.test(_)&&(H=_.slice(0,2)+H);for(var ie=0,pe=L.length;ie<pe;ie++){var he=H+L[ie];try{if($.sync(he,{pathExt:R})){if(!E.all)return he;G.push(he)}}catch(_){}}}if(E.all&&G.length)return G;if(E.nothrow)return null;throw a(_)};var k="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,N=I(0),L=k?";":":",$=I(118);function a(_){var E=new Error("not found: "+_);return E.code="ENOENT",E}function c(_,E){var I=E.colon||L,N=E.path||process.env.PATH||"",$=[""];N=N.split(I);var R="";return k&&(N.unshift(process.cwd()),$=(R=E.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM").split(I),-1!==_.indexOf(".")&&""!==$[0]&&$.unshift("")),(_.match(/\//)||k&&_.match(/\\/))&&(N=[""]),{env:N,ext:$,extExe:R}}function u(_,E,I){"function"==typeof E&&(I=E,E={});var k=c(_,E),L=k.env,R=k.ext,G=k.extExe,W=[];!function r(k,q){if(k===q)return E.all&&W.length?I(null,W):I(a(_));var U=L[k];'"'===U.charAt(0)&&'"'===U.slice(-1)&&(U=U.slice(1,-1));var H=N.join(U,_);!U&&/^\.[\\\/]/.test(_)&&(H=_.slice(0,2)+H),function e(_,N){if(_===N)return r(k+1,q);var L=R[_];$(H+L,{pathExt:G},(function(k,$){if(!k&&$){if(!E.all)return I(null,H+L);W.push(H+L)}return e(_+1,N)}))}(0,R.length)}(0,L.length)}},function(_,E,I){"use strict";_.exports=_=>{const E=(_=_||{}).env||process.env;return"win32"!==(_.platform||process.platform)?"PATH":Object.keys(E).find((_=>"PATH"===_.toUpperCase()))||"Path"}},function(_,E,I){"use strict";I(32),I(2),I(27),I(64),I(21);var k=I(90),N=I(161),L=I(170),$=I(1);function a(_,E){(E=E||{}).clipboard&&console.log("\n*** Clipboard option removed - use clipboardy or clipboard-cli directly ***\n");var I=Object.keys(_).length>0?_:L.defaults,$=Object.entries(I).reduce((function(_,I){var N=I[0],L=I[1],$=k[`get${N}`];return $?(L&&_.push($(L,E)),_):_=_.concat((L||[]).map((function(_){var E=k[`get${_.replace(/\s/g,"")}Info`];return E?E():Promise.resolve(["Unknown"])})))}),[]);return Promise.all($).then((function(_){var I=_.reduce((function(_,E){return E&&E[0]&&Object.assign(_,{[E[0]]:E}),_}),{});return function(_,E){var I=E.json?N.json:E.markdown?N.markdown:N.yaml;if(E.console){var k=!1;process.stdout.isTTY&&(k=!0),console.log(I(_,Object.assign({},E,{console:k})))}return I(_,Object.assign({},E,{console:!1}))}(Object.entries(L.defaults).reduce((function(_,E){var k=E[0],N=E[1];return I[k]?Object.assign(_,{[k]:I[k][1]}):Object.assign(_,{[k]:(N||[]).reduce((function(_,E){return I[E]?(I[E].shift(),1===I[E].length?Object.assign(_,{[E]:I[E][0]}):Object.assign(_,{[E]:{version:I[E][0],path:I[E][1]}})):_}),{})})}),{}),E)}))}_.exports={cli:function(_){if(_.all)return a(Object.assign({},L.defaults,{npmPackages:!0,npmGlobalPackages:!0}),_);if(_.raw)return a(JSON.parse(_.raw),_);if(_.helper){var E=k[`get${_.helper}`]||k[`get${_.helper}Info`]||k[_.helper];return E?E().then(console.log):console.error("Not Found")}var n=function(_,E){return _.toLowerCase().includes(E.toLowerCase())},I=Object.keys(_).filter((function(_){return Object.keys(L.defaults).some((function(E){return n(E,_)}))})),N=Object.entries(L.defaults).reduce((function(E,k){return I.some((function(_){return n(_,k[0])}))?Object.assign(E,{[k[0]]:k[1]||_[k[0]]}):E}),{});return _.preset?L[_.preset]?a(Object.assign({},$.omit(L[_.preset],["options"]),N),Object.assign({},L[_.preset].options,$.pick(_,["duplicates","fullTree","json","markdown","console"]))):console.error(`\nNo "${_.preset}" preset found.`):a(N,_)},helpers:k,main:a,run:function(_,E){return"string"==typeof _.preset?a(L[_.preset],E):a(_,E)}}},function(_,E,I){var k=I(54),N=Math.max,L=Math.min;_.exports=function(_,E){return(_=k(_))<0?N(_+E,0):L(_,E)}},function(_,E,I){var k=I(3)("unscopables"),N=Array.prototype;null==N[k]&&I(13)(N,k,{}),_.exports=function(_){N[k][_]=!0}},function(_,E,I){var k=I(7),N=I(19),L=I(3)("species");_.exports=function(_,E){var I,$=k(_).constructor;return void 0===$||null==(I=k($)[L])?E:N(I)}},function(_,E){_.exports=function(_,E,I){var k=void 0===I;switch(E.length){case 0:return k?_():_.call(I);case 1:return k?_(E[0]):_.call(I,E[0]);case 2:return k?_(E[0],E[1]):_.call(I,E[0],E[1]);case 3:return k?_(E[0],E[1],E[2]):_.call(I,E[0],E[1],E[2]);case 4:return k?_(E[0],E[1],E[2],E[3]):_.call(I,E[0],E[1],E[2],E[3])}return _.apply(I,E)}},function(_,E,I){var k=I(4),N=I(60).set,L=k.MutationObserver||k.WebKitMutationObserver,$=k.process,R=k.Promise,G="process"==I(20)($);_.exports=function(){var _,E,I,u=function(){var k,N;for(G&&(k=$.domain)&&k.exit();_;){N=_.fn,_=_.next;try{N()}catch(k){throw _?I():E=void 0,k}}E=void 0,k&&k.enter()};if(G)I=function(){$.nextTick(u)};else if(!L||k.navigator&&k.navigator.standalone)if(R&&R.resolve){var W=R.resolve(void 0);I=function(){W.then(u)}}else I=function(){N.call(k,u)};else{var q=!0,U=document.createTextNode("");new L(u).observe(U,{characterData:!0}),I=function(){U.data=q=!q}}return function(k){var N={fn:k,next:void 0};E&&(E.next=N),_||(_=N,I()),E=N}}},function(_,E){_.exports=function(_){try{return{e:!1,v:_()}}catch(_){return{e:!0,v:_}}}},function(_,E,I){var k=I(4).navigator;_.exports=k&&k.userAgent||""},function(_,E,I){var k=I(7),N=I(6),L=I(62);_.exports=function(_,E){if(k(_),N(E)&&E.constructor===_)return E;var I=L.f(_);return(0,I.resolve)(E),I.promise}},function(_,E,I){var k=I(15),N=I(25),L=I(52)(!1),$=I(43)("IE_PROTO");_.exports=function(_,E){var I,R=N(_),G=0,W=[];for(I in R)I!=$&&k(R,I)&&W.push(I);for(;E.length>G;)k(R,I=E[G++])&&(~L(W,I)||W.push(I));return W}},function(_,E,I){"use strict";var k=I(42),N=I(89),L=I(44),$=I(29),R=I(53),G=Object.assign;_.exports=!G||I(10)((function(){var _={},E={},I=Symbol(),k="abcdefghijklmnopqrst";return _[I]=7,k.split("").forEach((function(_){E[_]=_})),7!=G({},_)[I]||Object.keys(G({},E)).join("")!=k}))?function(_,E){for(var I=$(_),G=arguments.length,W=1,q=N.f,U=L.f;G>W;)for(var H,ie=R(arguments[W++]),pe=q?k(ie).concat(q(ie)):k(ie),he=pe.length,de=0;he>de;)U.call(ie,H=pe[de++])&&(I[H]=ie[H]);return I}:G},function(_,E){E.f=Object.getOwnPropertySymbols},function(_,E,I){"use strict";function r(_,E,I){return E in _?Object.defineProperty(_,E,{value:I,enumerable:!0,configurable:!0,writable:!0}):_[E]=I,_}I(21);var k=I(91),N=I(1),L=I(122),$=I(123),R=I(124),G=I(125),W=I(126),q=I(127),U=I(128),H=I(129),ie=I(130),pe=I(131),he=I(159),de=I(160);_.exports=Object.assign({},N,k,function(_){for(var E=1;E<arguments.length;E++){var I=null!=arguments[E]?arguments[E]:{},k=Object.keys(I);"function"==typeof Object.getOwnPropertySymbols&&(k=k.concat(Object.getOwnPropertySymbols(I).filter((function(_){return Object.getOwnPropertyDescriptor(I,_).enumerable})))),k.forEach((function(E){r(_,E,I[E])}))}return _}({},L,$,R,G,W,q,U,H,ie,pe,he,de))},function(_,E,I){"use strict";I(22),I(21),I(2),I(32),I(16);var k=I(45),N=I(0),L=I(1),s=function(_){var E=_.split("node_modules"+N.sep),I=E[E.length-1];return"@"===I.charAt(0)?[I.split(N.sep)[0],I.split(N.sep)[1]].join("/"):I.split(N.sep)[0]};_.exports={getnpmPackages:function(_,E){L.log("trace","getnpmPackages"),E||(E={});var I=null,k=null;return"string"==typeof _&&(_.includes("*")||_.includes("?")||_.includes("+")||_.includes("!")?I=_:_=_.split(",")),Promise.all(["npmPackages",L.getPackageJsonByPath("package.json").then((function(_){return Object.assign({},(_||{}).devDependencies||{},(_||{}).dependencies||{})})).then((function(_){return k=_,E.fullTree||E.duplicates||I?L.getAllPackageJsonPaths(I):Promise.resolve(Object.keys(_||[]).map((function(_){return N.join("node_modules",_,"package.json")})))})).then((function(N){return!I&&"boolean"!=typeof _||E.fullTree?Array.isArray(_)?Promise.resolve((N||[]).filter((function(E){return _.includes(s(E))}))):Promise.resolve(N):Promise.resolve((N||[]).filter((function(_){return Object.keys(k||[]).includes(s(_))})))})).then((function(_){return Promise.all([_,Promise.all(_.map((function(_){return L.getPackageJsonByPath(_)})))])})).then((function(_){var I=_[0],N=_[1].reduce((function(_,k,N){return k&&k.name?(_[k.name]||(_[k.name]={}),E.duplicates&&(_[k.name].duplicates=L.uniq((_[k.name].duplicates||[]).concat(k.version))),1===(I[N].match(/node_modules/g)||[]).length&&(_[k.name].installed=k.version),_):_}),{});return Object.keys(N).forEach((function(_){N[_].duplicates&&N[_].installed&&(N[_].duplicates=N[_].duplicates.filter((function(E){return E!==N[_].installed}))),k[_]&&(N[_].wanted=k[_])})),N})).then((function(I){return E.showNotFound&&Array.isArray(_)&&_.forEach((function(_){I[_]||(I[_]="Not Found")})),I})).then((function(_){return L.sortObject(_)}))])},getnpmGlobalPackages:function(_,E){L.log("trace","getnpmGlobalPackages",_);var I=null;return"string"==typeof _?_.includes("*")||_.includes("?")||_.includes("+")||_.includes("!")?I=_:_=_.split(","):Array.isArray(_)||(_=!0),Promise.all(["npmGlobalPackages",L.run("npm get prefix --global").then((function(_){return new Promise((function(E,$){return k(N.join(_,L.isWindows?"":"lib","node_modules",I||"{*,@*/*}","package.json"),(function(_,I){_||E(I),$(_)}))}))})).then((function(E){return Promise.all(E.filter((function(E){return"boolean"==typeof _||null!==I||_.includes(s(E))})).map((function(_){return L.getPackageJsonByFullPath(_)})))})).then((function(_){return _.reduce((function(_,E){return E?Object.assign(_,{[E.name]:E.version}):_}),{})})).then((function(I){return E.showNotFound&&Array.isArray(_)&&_.forEach((function(_){I[_]||(I[_]="Not Found")})),I}))])}}},function(_,E,I){var k=I(6),N=I(20),L=I(3)("match");_.exports=function(_){var E;return k(_)&&(void 0!==(E=_[L])?!!E:"RegExp"==N(_))}},function(_,E,I){var k=I(0),N="win32"===process.platform,L=I(5),$=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function a(_){return"function"==typeof _?_:function(){var _;if($){var E=new Error;_=function(_){_&&(E.message=_.message,n(_=E))}}else _=n;return _;function n(_){if(_){if(process.throwDeprecation)throw _;if(!process.noDeprecation){var E="fs: missing callback "+(_.stack||_.message);process.traceDeprecation?console.trace(E):console.error(E)}}}}()}k.normalize;if(N)var R=/(.*?)(?:[\/\\]+|$)/g;else R=/(.*?)(?:[\/]+|$)/g;if(N)var G=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else G=/^[\/]*/;E.realpathSync=function(_,E){if(_=k.resolve(_),E&&Object.prototype.hasOwnProperty.call(E,_))return E[_];var I,$,W,q,U=_,H={},ie={};function d(){var E=G.exec(_);I=E[0].length,$=E[0],W=E[0],q="",N&&!ie[W]&&(L.lstatSync(W),ie[W]=!0)}for(d();I<_.length;){R.lastIndex=I;var pe=R.exec(_);if(q=$,$+=pe[0],W=q+pe[1],I=R.lastIndex,!(ie[W]||E&&E[W]===W)){var he;if(E&&Object.prototype.hasOwnProperty.call(E,W))he=E[W];else{var de=L.lstatSync(W);if(!de.isSymbolicLink()){ie[W]=!0,E&&(E[W]=W);continue}var me=null;if(!N){var ge=de.dev.toString(32)+":"+de.ino.toString(32);H.hasOwnProperty(ge)&&(me=H[ge])}null===me&&(L.statSync(W),me=L.readlinkSync(W)),he=k.resolve(q,me),E&&(E[W]=he),N||(H[ge]=me)}_=k.resolve(he,_.slice(I)),d()}}return E&&(E[U]=_),_},E.realpath=function(_,E,I){if("function"!=typeof I&&(I=a(E),E=null),_=k.resolve(_),E&&Object.prototype.hasOwnProperty.call(E,_))return process.nextTick(I.bind(null,null,E[_]));var $,W,q,U,H=_,ie={},pe={};function g(){var E=G.exec(_);$=E[0].length,W=E[0],q=E[0],U="",N&&!pe[q]?L.lstat(q,(function(_){if(_)return I(_);pe[q]=!0,v()})):process.nextTick(v)}function v(){if($>=_.length)return E&&(E[H]=_),I(null,_);R.lastIndex=$;var k=R.exec(_);return U=W,W+=k[0],q=U+k[1],$=R.lastIndex,pe[q]||E&&E[q]===q?process.nextTick(v):E&&Object.prototype.hasOwnProperty.call(E,q)?w(E[q]):L.lstat(q,y)}function y(_,k){if(_)return I(_);if(!k.isSymbolicLink())return pe[q]=!0,E&&(E[q]=q),process.nextTick(v);if(!N){var $=k.dev.toString(32)+":"+k.ino.toString(32);if(ie.hasOwnProperty($))return b(null,ie[$],q)}L.stat(q,(function(_){if(_)return I(_);L.readlink(q,(function(_,E){N||(ie[$]=E),b(_,E)}))}))}function b(_,N,L){if(_)return I(_);var $=k.resolve(U,N);E&&(E[L]=$),w($)}function w(E){_=k.resolve(E,_.slice($)),g()}g()}},function(_,E,I){var k=I(95),N=I(96);_.exports=function(_){if(!_)return[];"{}"===_.substr(0,2)&&(_="\\{\\}"+_.substr(2));return function e(_,E){var I=[];var L=N("{","}",_);if(!L||/\$$/.test(L.pre))return[_];var $=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(L.body);var G=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(L.body);var W=$||G;var q=L.body.indexOf(",")>=0;if(!W&&!q)return L.post.match(/,.*\}/)?(_=L.pre+"{"+L.body+R+L.post,e(_)):[_];var U;if(W)U=L.body.split(/\.\./);else if(1===(U=function e(_){if(!_)return[""];var E=[];var I=N("{","}",_);if(!I)return _.split(",");var k=I.pre;var L=I.body;var $=I.post;var R=k.split(",");R[R.length-1]+="{"+L+"}";var G=e($);$.length&&(R[R.length-1]+=G.shift(),R.push.apply(R,G));E.push.apply(E,R);return E}(L.body)).length&&1===(U=e(U[0],!1).map(p)).length){var H=L.post.length?e(L.post,!1):[""];return H.map((function(_){return L.pre+U[0]+_}))}var ie=L.pre;var H=L.post.length?e(L.post,!1):[""];var pe;if(W){var he=l(U[0]),de=l(U[1]),me=Math.max(U[0].length,U[1].length),ge=3==U.length?Math.abs(l(U[2])):1,ve=d,ye=de<he;ye&&(ge*=-1,ve=m);var be=U.some(h);pe=[];for(var we=he;ve(we,de);we+=ge){var xe;if(G)"\\"===(xe=String.fromCharCode(we))&&(xe="");else if(xe=String(we),be){var Se=me-xe.length;if(Se>0){var _e=new Array(Se+1).join("0");xe=we<0?"-"+_e+xe.slice(1):_e+xe}}pe.push(xe)}}else pe=k(U,(function(_){return e(_,!1)}));for(var Pe=0;Pe<pe.length;Pe++)for(var Oe=0;Oe<H.length;Oe++){var je=ie+pe[Pe]+H[Oe];(!E||W||je)&&I.push(je)}return I}(function(_){return _.split("\\\\").join(L).split("\\{").join($).split("\\}").join(R).split("\\,").join(G).split("\\.").join(W)}(_),!0).map(f)};var L="\0SLASH"+Math.random()+"\0",$="\0OPEN"+Math.random()+"\0",R="\0CLOSE"+Math.random()+"\0",G="\0COMMA"+Math.random()+"\0",W="\0PERIOD"+Math.random()+"\0";function l(_){return parseInt(_,10)==_?parseInt(_,10):_.charCodeAt(0)}function f(_){return _.split(L).join("\\").split($).join("{").split(R).join("}").split(G).join(",").split(W).join(".")}function p(_){return"{"+_+"}"}function h(_){return/^-?0\d/.test(_)}function d(_,E){return _<=E}function m(_,E){return _>=E}},function(_,E){_.exports=function(_,E){for(var k=[],N=0;N<_.length;N++){var L=E(_[N],N);I(L)?k.push.apply(k,L):k.push(L)}return k};var I=Array.isArray||function(_){return"[object Array]"===Object.prototype.toString.call(_)}},function(_,E,I){"use strict";function r(_,E,I){_ instanceof RegExp&&(_=o(_,I)),E instanceof RegExp&&(E=o(E,I));var k=i(_,E,I);return k&&{start:k[0],end:k[1],pre:I.slice(0,k[0]),body:I.slice(k[0]+_.length,k[1]),post:I.slice(k[1]+E.length)}}function o(_,E){var I=E.match(_);return I?I[0]:null}function i(_,E,I){var k,N,L,$,R,G=I.indexOf(_),W=I.indexOf(E,G+1),q=G;if(G>=0&&W>0){for(k=[],L=I.length;q>=0&&!R;)q==G?(k.push(q),G=I.indexOf(_,q+1)):1==k.length?R=[k.pop(),W]:((N=k.pop())<L&&(L=N,$=W),W=I.indexOf(E,q+1)),q=G<W&&G>=0?G:W;k.length&&(R=[L,$])}return R}_.exports=r,r.range=i},function(_,E,I){try{var k=I(30);if("function"!=typeof k.inherits)throw"";_.exports=k.inherits}catch(E){_.exports=I(98)}},function(_,E){"function"==typeof Object.create?_.exports=function(_,E){_.super_=E,_.prototype=Object.create(E.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}})}:_.exports=function(_,E){_.super_=E;var n=function(){};n.prototype=E.prototype,_.prototype=new n,_.prototype.constructor=_}},function(_,E,I){_.exports=d,d.GlobSync=m;var k=I(5),N=I(67),L=I(46),$=(L.Minimatch,I(45).Glob,I(30),I(0)),R=I(47),G=I(48),W=I(69),q=(W.alphasort,W.alphasorti,W.setopts),U=W.ownProp,H=W.childrenIgnored,ie=W.isIgnored;function d(_,E){if("function"==typeof E||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");return new m(_,E).found}function m(_,E){if(!_)throw new Error("must provide pattern");if("function"==typeof E||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof m))return new m(_,E);if(q(this,_,E),this.noprocess)return this;var I=this.minimatch.set.length;this.matches=new Array(I);for(var k=0;k<I;k++)this._process(this.minimatch.set[k],k,!1);this._finish()}m.prototype._finish=function(){if(R(this instanceof m),this.realpath){var _=this;this.matches.forEach((function(E,I){var k=_.matches[I]=Object.create(null);for(var L in E)try{L=_._makeAbs(L),k[N.realpathSync(L,_.realpathCache)]=!0}catch(E){if("stat"!==E.syscall)throw E;k[_._makeAbs(L)]=!0}}))}W.finish(this)},m.prototype._process=function(_,E,I){R(this instanceof m);for(var k,N=0;"string"==typeof _[N];)N++;switch(N){case _.length:return void this._processSimple(_.join("/"),E);case 0:k=null;break;default:k=_.slice(0,N).join("/")}var $,W=_.slice(N);null===k?$=".":G(k)||G(_.join("/"))?(k&&G(k)||(k="/"+k),$=k):$=k;var q=this._makeAbs($);H(this,$)||(W[0]===L.GLOBSTAR?this._processGlobStar(k,$,q,W,E,I):this._processReaddir(k,$,q,W,E,I))},m.prototype._processReaddir=function(_,E,I,k,N,L){var R=this._readdir(I,L);if(R){for(var G=k[0],W=!!this.minimatch.negate,q=G._glob,U=this.dot||"."===q.charAt(0),H=[],ie=0;ie<R.length;ie++){if("."!==(de=R[ie]).charAt(0)||U)(W&&!_?!de.match(G):de.match(G))&&H.push(de)}var pe=H.length;if(0!==pe)if(1!==k.length||this.mark||this.stat){k.shift();for(ie=0;ie<pe;ie++){var he;de=H[ie];he=_?[_,de]:[de],this._process(he.concat(k),N,L)}}else{this.matches[N]||(this.matches[N]=Object.create(null));for(var ie=0;ie<pe;ie++){var de=H[ie];_&&(de="/"!==_.slice(-1)?_+"/"+de:_+de),"/"!==de.charAt(0)||this.nomount||(de=$.join(this.root,de)),this._emitMatch(N,de)}}}},m.prototype._emitMatch=function(_,E){if(!ie(this,E)){var I=this._makeAbs(E);if(this.mark&&(E=this._mark(E)),this.absolute&&(E=I),!this.matches[_][E]){if(this.nodir){var k=this.cache[I];if("DIR"===k||Array.isArray(k))return}this.matches[_][E]=!0,this.stat&&this._stat(E)}}},m.prototype._readdirInGlobStar=function(_){if(this.follow)return this._readdir(_,!1);var E,I;try{I=k.lstatSync(_)}catch(_){if("ENOENT"===_.code)return null}var N=I&&I.isSymbolicLink();return this.symlinks[_]=N,N||!I||I.isDirectory()?E=this._readdir(_,!1):this.cache[_]="FILE",E},m.prototype._readdir=function(_,E){if(E&&!U(this.symlinks,_))return this._readdirInGlobStar(_);if(U(this.cache,_)){var I=this.cache[_];if(!I||"FILE"===I)return null;if(Array.isArray(I))return I}try{return this._readdirEntries(_,k.readdirSync(_))}catch(E){return this._readdirError(_,E),null}},m.prototype._readdirEntries=function(_,E){if(!this.mark&&!this.stat)for(var I=0;I<E.length;I++){var k=E[I];k="/"===_?_+k:_+"/"+k,this.cache[k]=!0}return this.cache[_]=E,E},m.prototype._readdirError=function(_,E){switch(E.code){case"ENOTSUP":case"ENOTDIR":var I=this._makeAbs(_);if(this.cache[I]="FILE",I===this.cwdAbs){var k=new Error(E.code+" invalid cwd "+this.cwd);throw k.path=this.cwd,k.code=E.code,k}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(_)]=!1;break;default:if(this.cache[this._makeAbs(_)]=!1,this.strict)throw E;this.silent||console.error("glob error",E)}},m.prototype._processGlobStar=function(_,E,I,k,N,L){var $=this._readdir(I,L);if($){var R=k.slice(1),G=_?[_]:[],W=G.concat(R);this._process(W,N,!1);var q=$.length;if(!this.symlinks[I]||!L)for(var U=0;U<q;U++){if("."!==$[U].charAt(0)||this.dot){var H=G.concat($[U],R);this._process(H,N,!0);var ie=G.concat($[U],k);this._process(ie,N,!0)}}}},m.prototype._processSimple=function(_,E){var I=this._stat(_);if(this.matches[E]||(this.matches[E]=Object.create(null)),I){if(_&&G(_)&&!this.nomount){var k=/[\/\\]$/.test(_);"/"===_.charAt(0)?_=$.join(this.root,_):(_=$.resolve(this.root,_),k&&(_+="/"))}"win32"===process.platform&&(_=_.replace(/\\/g,"/")),this._emitMatch(E,_)}},m.prototype._stat=function(_){var E=this._makeAbs(_),I="/"===_.slice(-1);if(_.length>this.maxLength)return!1;if(!this.stat&&U(this.cache,E)){var N=this.cache[E];if(Array.isArray(N)&&(N="DIR"),!I||"DIR"===N)return N;if(I&&"FILE"===N)return!1}var L=this.statCache[E];if(!L){var $;try{$=k.lstatSync(E)}catch(_){if(_&&("ENOENT"===_.code||"ENOTDIR"===_.code))return this.statCache[E]=!1,!1}if($&&$.isSymbolicLink())try{L=k.statSync(E)}catch(_){L=$}else L=$}this.statCache[E]=L;N=!0;return L&&(N=L.isDirectory()?"DIR":"FILE"),this.cache[E]=this.cache[E]||N,(!I||"FILE"!==N)&&N},m.prototype._mark=function(_){return W.mark(this,_)},m.prototype._makeAbs=function(_){return W.makeAbs(this,_)}},function(_,E,I){var k=I(70),N=Object.create(null),L=I(31);_.exports=k((function(_,E){return N[_]?(N[_].push(E),null):(N[_]=[E],function(_){return L((function t(){var E=N[_],I=E.length,k=function(_){for(var E=_.length,I=[],k=0;k<E;k++)I[k]=_[k];return I}(arguments);try{for(var L=0;L<I;L++)E[L].apply(null,k)}finally{E.length>I?(E.splice(0,I),process.nextTick((function(){t.apply(null,k)}))):delete N[_]}}))}(_))}))},function(_,E,I){"use strict";var k=I(8),N=I(19),L=I(29),$=I(10),R=[].sort,G=[1,2,3];k(k.P+k.F*($((function(){G.sort(void 0)}))||!$((function(){G.sort(null)}))||!I(102)(R)),"Array",{sort:function(_){return void 0===_?R.call(L(this)):R.call(L(this),N(_))}})},function(_,E,I){"use strict";var k=I(10);_.exports=function(_,E){return!!_&&k((function(){E?_.call(null,(function(){}),1):_.call(null)}))}},function(_,E,I){"use strict";var k=I(104),N=I(73);_.exports=I(110)("Set",(function(_){return function(){return _(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(_){return k.def(N(this,"Set"),_=0===_?0:_,_)}},k)},function(_,E,I){"use strict";var k=I(11).f,N=I(71),L=I(40),$=I(12),R=I(37),G=I(38),W=I(106),q=I(109),U=I(63),H=I(9),ie=I(72).fastKey,pe=I(73),he=H?"_s":"size",g=function(_,E){var I,k=ie(E);if("F"!==k)return _._i[k];for(I=_._f;I;I=I.n)if(I.k==E)return I};_.exports={getConstructor:function(_,E,I,W){var q=_((function(_,k){R(_,q,E,"_i"),_._t=E,_._i=N(null),_._f=void 0,_._l=void 0,_[he]=0,null!=k&&G(k,I,_[W],_)}));return L(q.prototype,{clear:function(){for(var _=pe(this,E),I=_._i,k=_._f;k;k=k.n)k.r=!0,k.p&&(k.p=k.p.n=void 0),delete I[k.i];_._f=_._l=void 0,_[he]=0},delete:function(_){var I=pe(this,E),k=g(I,_);if(k){var N=k.n,L=k.p;delete I._i[k.i],k.r=!0,L&&(L.n=N),N&&(N.p=L),I._f==k&&(I._f=N),I._l==k&&(I._l=L),I[he]--}return!!k},forEach:function(_){pe(this,E);for(var I,k=$(_,arguments.length>1?arguments[1]:void 0,3);I=I?I.n:this._f;)for(k(I.v,I.k,this);I&&I.r;)I=I.p},has:function(_){return!!g(pe(this,E),_)}}),H&&k(q.prototype,"size",{get:function(){return pe(this,E)[he]}}),q},def:function(_,E,I){var k,N,L=g(_,E);return L?L.v=I:(_._l=L={i:N=ie(E,!0),k:E,v:I,p:k=_._l,n:void 0,r:!1},_._f||(_._f=L),k&&(k.n=L),_[he]++,"F"!==N&&(_._i[N]=L)),_},getEntry:g,setStrong:function(_,E,I){W(_,E,(function(_,I){this._t=pe(_,E),this._k=I,this._l=void 0}),(function(){for(var _=this._k,E=this._l;E&&E.r;)E=E.p;return this._t&&(this._l=E=E?E.n:this._t._f)?q(0,"keys"==_?E.k:"values"==_?E.v:[E.k,E.v]):(this._t=void 0,q(1))}),I?"entries":"values",!I,!0),U(E)}}},function(_,E,I){var k=I(11),N=I(7),L=I(42);_.exports=I(9)?Object.defineProperties:function(_,E){N(_);for(var I,$=L(E),R=$.length,G=0;R>G;)k.f(_,I=$[G++],E[I]);return _}},function(_,E,I){"use strict";var k=I(36),N=I(8),L=I(14),$=I(13),R=I(39),G=I(107),W=I(26),q=I(108),U=I(3)("iterator"),H=!([].keys&&"next"in[].keys()),h=function(){return this};_.exports=function(_,E,I,ie,pe,he,de){G(I,E,ie);var me,ge,ve,x=function(_){if(!H&&_ in xe)return xe[_];switch(_){case"keys":case"values":return function(){return new I(this,_)}}return function(){return new I(this,_)}},ye=E+" Iterator",be="values"==pe,we=!1,xe=_.prototype,Se=xe[U]||xe["@@iterator"]||pe&&xe[pe],_e=Se||x(pe),Pe=pe?be?x("entries"):_e:void 0,Oe="Array"==E&&xe.entries||Se;if(Oe&&(ve=q(Oe.call(new _)))!==Object.prototype&&ve.next&&(W(ve,ye,!0),k||"function"==typeof ve[U]||$(ve,U,h)),be&&Se&&"values"!==Se.name&&(we=!0,_e=function(){return Se.call(this)}),k&&!de||!H&&!we&&xe[U]||$(xe,U,_e),R[E]=_e,R[ye]=h,pe)if(me={values:be?_e:x("values"),keys:he?_e:x("keys"),entries:Pe},de)for(ge in me)ge in xe||L(xe,ge,me[ge]);else N(N.P+N.F*(H||we),E,me);return me}},function(_,E,I){"use strict";var k=I(71),N=I(23),L=I(26),$={};I(13)($,I(3)("iterator"),(function(){return this})),_.exports=function(_,E,I){_.prototype=k($,{next:N(1,I)}),L(_,E+" Iterator")}},function(_,E,I){var k=I(15),N=I(29),L=I(43)("IE_PROTO"),$=Object.prototype;_.exports=Object.getPrototypeOf||function(_){return _=N(_),k(_,L)?_[L]:"function"==typeof _.constructor&&_ instanceof _.constructor?_.constructor.prototype:_ instanceof Object?$:null}},function(_,E){_.exports=function(_,E){return{value:E,done:!!_}}},function(_,E,I){"use strict";var k=I(4),N=I(8),L=I(14),$=I(40),R=I(72),G=I(38),W=I(37),q=I(6),U=I(10),H=I(41),ie=I(26),pe=I(111);_.exports=function(_,E,I,he,de,me){var ge=k[_],ve=ge,ye=de?"set":"add",be=ve&&ve.prototype,we={},P=function(_){var E=be[_];L(be,_,"delete"==_?function(_){return!(me&&!q(_))&&E.call(this,0===_?0:_)}:"has"==_?function(_){return!(me&&!q(_))&&E.call(this,0===_?0:_)}:"get"==_?function(_){return me&&!q(_)?void 0:E.call(this,0===_?0:_)}:"add"==_?function(_){return E.call(this,0===_?0:_),this}:function(_,I){return E.call(this,0===_?0:_,I),this})};if("function"==typeof ve&&(me||be.forEach&&!U((function(){(new ve).entries().next()})))){var xe=new ve,Se=xe[ye](me?{}:-0,1)!=xe,_e=U((function(){xe.has(1)})),Pe=H((function(_){new ve(_)})),Oe=!me&&U((function(){for(var _=new ve,E=5;E--;)_[ye](E,E);return!_.has(-0)}));Pe||((ve=E((function(E,I){W(E,ve,_);var k=pe(new ge,E,ve);return null!=I&&G(I,de,k[ye],k),k}))).prototype=be,be.constructor=ve),(_e||Oe)&&(P("delete"),P("has"),de&&P("get")),(Oe||Se)&&P(ye),me&&be.clear&&delete be.clear}else ve=he.getConstructor(E,_,de,ye),$(ve.prototype,I),R.NEED=!0;return ie(ve,_),we[_]=ve,N(N.G+N.W+N.F*(ve!=ge),we),me||he.setStrong(ve,_,de),ve}},function(_,E,I){var k=I(6),N=I(112).set;_.exports=function(_,E,I){var L,$=E.constructor;return $!==I&&"function"==typeof $&&(L=$.prototype)!==I.prototype&&k(L)&&N&&N(_,L),_}},function(_,E,I){var k=I(6),N=I(7),i=function(_,E){if(N(_),!k(E)&&null!==E)throw TypeError(E+": can't set as prototype!")};_.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(_,E,k){try{(k=I(12)(Function.call,I(113).f(Object.prototype,"__proto__").set,2))(_,[]),E=!(_ instanceof Array)}catch(_){E=!0}return function(_,I){return i(_,I),E?_.__proto__=I:k(_,I),_}}({},!1):void 0),check:i}},function(_,E,I){var k=I(44),N=I(23),L=I(25),$=I(51),R=I(15),G=I(50),W=Object.getOwnPropertyDescriptor;E.f=I(9)?W:function(_,E){if(_=L(_),E=$(E,!0),G)try{return W(_,E)}catch(_){}if(R(_,E))return N(!k.f.call(_,E),_[E])}},function(_,E,I){"use strict";var k=I(12),N=I(8),L=I(29),$=I(57),R=I(58),G=I(35),W=I(115),q=I(59);N(N.S+N.F*!I(41)((function(_){Array.from(_)})),"Array",{from:function(_){var E,I,N,U,H=L(_),ie="function"==typeof this?this:Array,pe=arguments.length,he=pe>1?arguments[1]:void 0,de=void 0!==he,me=0,ge=q(H);if(de&&(he=k(he,pe>2?arguments[2]:void 0,2)),null==ge||ie==Array&&R(ge))for(I=new ie(E=G(H.length));E>me;me++)W(I,me,de?he(H[me],me):H[me]);else for(U=ge.call(H),I=new ie;!(N=U.next()).done;me++)W(I,me,de?$(U,he,[N.value,me],!0):N.value);return I.length=me,I}})},function(_,E,I){"use strict";var k=I(11),N=I(23);_.exports=function(_,E,I){E in _?k.f(_,E,N(0,I)):_[E]=I}},function(_,E,I){"use strict";I(117);var k=I(7),N=I(75),L=I(9),$=/./.toString,a=function(_){I(14)(RegExp.prototype,"toString",_,!0)};I(10)((function(){return"/a/b"!=$.call({source:"a",flags:"b"})}))?a((function(){var _=k(this);return"/".concat(_.source,"/","flags"in _?_.flags:!L&&_ instanceof RegExp?N.call(_):void 0)})):"toString"!=$.name&&a((function(){return $.call(this)}))},function(_,E,I){I(9)&&"g"!=/./g.flags&&I(11).f(RegExp.prototype,"flags",{configurable:!0,get:I(75)})},function(_,E,I){var k;I(5);function o(_,E,I){if("function"==typeof E&&(I=E,E={}),!I){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise((function(I,k){o(_,E||{},(function(_,E){_?k(_):I(E)}))}))}k(_,E||{},(function(_,k){_&&("EACCES"===_.code||E&&E.ignoreErrors)&&(_=null,k=!1),I(_,k)}))}k="win32"===process.platform||global.TESTING_WINDOWS?I(119):I(120),_.exports=o,o.sync=function(_,E){try{return k.sync(_,E||{})}catch(_){if(E&&E.ignoreErrors||"EACCES"===_.code)return!1;throw _}}},function(_,E,I){_.exports=i,i.sync=function(_,E){return o(k.statSync(_),_,E)};var k=I(5);function o(_,E,I){return!(!_.isSymbolicLink()&&!_.isFile())&&function(_,E){var I=void 0!==E.pathExt?E.pathExt:process.env.PATHEXT;if(!I)return!0;if(-1!==(I=I.split(";")).indexOf(""))return!0;for(var k=0;k<I.length;k++){var N=I[k].toLowerCase();if(N&&_.substr(-N.length).toLowerCase()===N)return!0}return!1}(E,I)}function i(_,E,I){k.stat(_,(function(k,N){I(k,!k&&o(N,_,E))}))}},function(_,E,I){_.exports=o,o.sync=function(_,E){return i(k.statSync(_),E)};var k=I(5);function o(_,E,I){k.stat(_,(function(_,k){I(_,!_&&i(k,E))}))}function i(_,E){return _.isFile()&&function(_,E){var I=_.mode,k=_.uid,N=_.gid,L=void 0!==E.uid?E.uid:process.getuid&&process.getuid(),$=void 0!==E.gid?E.gid:process.getgid&&process.getgid(),R=parseInt("100",8),G=parseInt("010",8),W=parseInt("001",8),q=R|G;return I&W||I&G&&N===$||I&R&&k===L||I&q&&0===L}(_,E)}},function(_,E,I){"use strict";_.exports={androidSystemImages:/system-images;([\S \t]+)/g,androidAPILevels:/platforms;android-(\d+)[\S\s]/g,androidBuildTools:/build-tools;([\d|.]+)[\S\s]/g}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getNodeInfo:function(){return k.log("trace","getNodeInfo"),Promise.all([k.isWindows?k.run("node -v").then(k.findVersion):k.which("node").then((function(_){return _?k.run(_+" -v"):Promise.resolve("")})).then(k.findVersion),k.which("node").then(k.condensePath)]).then((function(_){return k.determineFound("Node",_[0],_[1])}))},getnpmInfo:function(){return k.log("trace","getnpmInfo"),Promise.all([k.run("npm -v"),k.which("npm").then(k.condensePath)]).then((function(_){return k.determineFound("npm",_[0],_[1])}))},getWatchmanInfo:function(){return k.log("trace","getWatchmanInfo"),Promise.all([k.which("watchman").then((function(_){return _?k.run(_+" -v"):void 0})),k.which("watchman")]).then((function(_){return k.determineFound("Watchman",_[0],_[1])}))},getYarnInfo:function(){return k.log("trace","getYarnInfo"),Promise.all([k.run("yarn -v"),k.which("yarn").then(k.condensePath)]).then((function(_){return k.determineFound("Yarn",_[0],_[1])}))}}},function(_,E,I){"use strict";I(16),I(2),I(27);var k=I(5),N=I(17),L=I(1),$=I(0);_.exports={getBraveBrowserInfo:function(){return L.log("trace","getBraveBrowser"),(L.isLinux?L.run("brave --version || brave-browser --version").then((function(_){return _.replace(/^.* ([^ ]*)/g,"$1")})):L.isMacOS?L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Brave Browser"]).then(L.findVersion):Promise.resolve("N/A")).then((function(_){return L.determineFound("Brave Browser",_,"N/A")}))},getChromeInfo:function(){var _;if(L.log("trace","getChromeInfo"),L.isLinux)_=L.run("google-chrome --version").then((function(_){return _.replace(" dev","").replace(/^.* ([^ ]*)/g,"$1")}));else if(L.isMacOS)_=L.getDarwinApplicationVersion(L.browserBundleIdentifiers.Chrome).then(L.findVersion);else if(L.isWindows){var E;try{E=L.findVersion(k.readdirSync($.join(process.env["ProgramFiles(x86)"],"Google/Chrome/Application")).join("\n"))}catch(_){E=L.NotFound}_=Promise.resolve(E)}else _=Promise.resolve("N/A");return _.then((function(_){return L.determineFound("Chrome",_,"N/A")}))},getChromeCanaryInfo:function(){return L.log("trace","getChromeCanaryInfo"),L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Chrome Canary"]).then((function(_){return L.determineFound("Chrome Canary",_,"N/A")}))},getChromiumInfo:function(){return L.log("trace","getChromiumInfo"),(L.isLinux?L.run("chromium --version").then(L.findVersion):Promise.resolve("N/A")).then((function(_){return L.determineFound("Chromium",_,"N/A")}))},getEdgeInfo:function(){var _;if(L.log("trace","getEdgeInfo"),L.isWindows&&"10"===N.release().split(".")[0]){var E={Spartan:"Microsoft.MicrosoftEdge",Chromium:"Microsoft.MicrosoftEdge.Stable",ChromiumDev:"Microsoft.MicrosoftEdge.Dev"};_=Promise.all(Object.keys(E).map((function(_){return function(_,E){return L.run(`powershell get-appxpackage ${_}`).then((function(_){if(""!==L.findVersion(_))return`${E} (${L.findVersion(_)})`}))}(E[_],_)})).filter((function(_){return void 0!==_})))}else{if(!L.isMacOS)return Promise.resolve("N/A");_=L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Microsoft Edge"])}return _.then((function(_){return L.determineFound("Edge",Array.isArray(_)?_.filter((function(_){return void 0!==_})):_,L.NA)}))},getFirefoxInfo:function(){return L.log("trace","getFirefoxInfo"),(L.isLinux?L.run("firefox --version").then((function(_){return _.replace(/^.* ([^ ]*)/g,"$1")})):L.isMacOS?L.getDarwinApplicationVersion(L.browserBundleIdentifiers.Firefox):Promise.resolve("N/A")).then((function(_){return L.determineFound("Firefox",_,"N/A")}))},getFirefoxDeveloperEditionInfo:function(){return L.log("trace","getFirefoxDeveloperEditionInfo"),L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Firefox Developer Edition"]).then((function(_){return L.determineFound("Firefox Developer Edition",_,"N/A")}))},getFirefoxNightlyInfo:function(){return L.log("trace","getFirefoxNightlyInfo"),(L.isLinux?L.run("firefox-trunk --version").then((function(_){return _.replace(/^.* ([^ ]*)/g,"$1")})):L.isMacOS?L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Firefox Nightly"]):Promise.resolve("N/A")).then((function(_){return L.determineFound("Firefox Nightly",_,"N/A")}))},getInternetExplorerInfo:function(){var _;if(L.log("trace","getInternetExplorerInfo"),L.isWindows){var E=[process.env.SYSTEMDRIVE||"C:","Program Files","Internet Explorer","iexplore.exe"].join("\\\\");_=L.run(`wmic datafile where "name='${E}'" get Version`).then(L.findVersion)}else _=Promise.resolve("N/A");return _.then((function(_){return L.determineFound("Internet Explorer",_,"N/A")}))},getSafariTechnologyPreviewInfo:function(){return L.log("trace","getSafariTechnologyPreviewInfo"),L.getDarwinApplicationVersion(L.browserBundleIdentifiers["Safari Technology Preview"]).then((function(_){return L.determineFound("Safari Technology Preview",_,"N/A")}))},getSafariInfo:function(){return L.log("trace","getSafariInfo"),L.getDarwinApplicationVersion(L.browserBundleIdentifiers.Safari).then((function(_){return L.determineFound("Safari",_,"N/A")}))}}},function(_,E,I){"use strict";I(32),I(2);var k=I(1);_.exports={getMongoDBInfo:function(){return k.log("trace","getMongoDBInfo"),Promise.all([k.run("mongo --version").then(k.findVersion),k.which("mongo")]).then((function(_){return k.determineFound("MongoDB",_[0],_[1])}))},getMySQLInfo:function(){return k.log("trace","getMySQLInfo"),Promise.all([k.run("mysql --version").then((function(_){return`${k.findVersion(_,null,1)}${_.includes("MariaDB")?" (MariaDB)":""}`})),k.which("mysql")]).then((function(_){return k.determineFound("MySQL",_[0],_[1])}))},getPostgreSQLInfo:function(){return k.log("trace","getPostgreSQLInfo"),Promise.all([k.run("postgres --version").then(k.findVersion),k.which("postgres")]).then((function(_){return k.determineFound("PostgreSQL",_[0],_[1])}))},getSQLiteInfo:function(){return k.log("trace","getSQLiteInfo"),Promise.all([k.run("sqlite3 --version").then(k.findVersion),k.which("sqlite3")]).then((function(_){return k.determineFound("SQLite",_[0],_[1])}))}}},function(_,E,I){"use strict";I(27),I(16),I(2);var k=I(0),N=I(1);_.exports={getAndroidStudioInfo:function(){var _=Promise.resolve("N/A");return N.isMacOS?_=N.run(N.generatePlistBuddyCommand(k.join("/","Applications","Android\\ Studio.app","Contents","Info.plist"),["CFBundleShortVersionString","CFBundleVersion"])).then((function(_){return _||N.run(N.generatePlistBuddyCommand(k.join("~","Applications","JetBrains\\ Toolbox","Android\\ Studio.app","Contents","Info.plist"),["CFBundleShortVersionString","CFBundleVersion"]))})).then((function(_){return _.split("\n").join(" ")})):N.isLinux?_=Promise.all([N.run('cat /opt/android-studio/bin/studio.sh | grep "$Home/.AndroidStudio" | head -1').then(N.findVersion),N.run("cat /opt/android-studio/build.txt")]).then((function(_){return`${_[0]} ${_[1]}`.trim()||N.NotFound})):N.isWindows&&(_=Promise.all([N.run('wmic datafile where name="C:\\\\Program Files\\\\Android\\\\Android Studio\\\\bin\\\\studio.exe" get Version').then((function(_){return _.replace(/(\r\n|\n|\r)/gm,"")})),N.run('type "C:\\\\Program Files\\\\Android\\\\Android Studio\\\\build.txt"').then((function(_){return _.replace(/(\r\n|\n|\r)/gm,"")}))]).then((function(_){return`${_[0]} ${_[1]}`.trim()||N.NotFound}))),_.then((function(_){return N.determineFound("Android Studio",_)}))},getAtomInfo:function(){return N.log("trace","getAtomInfo"),Promise.all([N.getDarwinApplicationVersion(N.ideBundleIdentifiers.Atom),"N/A"]).then((function(_){return N.determineFound("Atom",_[0],_[1])}))},getEmacsInfo:function(){return N.log("trace","getEmacsInfo"),N.isMacOS||N.isLinux?Promise.all([N.run("emacs --version").then(N.findVersion),N.run("which emacs")]).then((function(_){return N.determineFound("Emacs",_[0],_[1])})):Promise.resolve(["Emacs","N/A"])},getIntelliJInfo:function(){return N.log("trace","getIntelliJInfo"),N.getDarwinApplicationVersion(N.ideBundleIdentifiers.IntelliJ).then((function(_){return N.determineFound("IntelliJ",_)}))},getNanoInfo:function(){return N.log("trace","getNanoInfo"),N.isMacOS||N.isLinux?Promise.all([N.run("nano --version").then(N.findVersion),N.run("which nano")]).then((function(_){return N.determineFound("Nano",_[0],_[1])})):Promise.resolve(["Nano","N/A"])},getNvimInfo:function(){return N.log("trace","getNvimInfo"),N.isMacOS||N.isLinux?Promise.all([N.run("nvim --version").then(N.findVersion),N.run("which nvim")]).then((function(_){return N.determineFound("Nvim",_[0],_[1])})):Promise.resolve(["Vim","N/A"])},getPhpStormInfo:function(){return N.log("trace","getPhpStormInfo"),N.getDarwinApplicationVersion(N.ideBundleIdentifiers.PhpStorm).then((function(_){return N.determineFound("PhpStorm",_)}))},getSublimeTextInfo:function(){return N.log("trace","getSublimeTextInfo"),Promise.all([N.run("subl --version").then((function(_){return N.findVersion(_,/\d+/)})),N.which("subl")]).then((function(_){return""===_[0]&&N.isMacOS?(N.log("trace","getSublimeTextInfo using plist"),Promise.all([N.getDarwinApplicationVersion(N.ideBundleIdentifiers["Sublime Text"]),"N/A"])):_})).then((function(_){return N.determineFound("Sublime Text",_[0],_[1])}))},getVimInfo:function(){return N.log("trace","getVimInfo"),N.isMacOS||N.isLinux?Promise.all([N.run("vim --version").then(N.findVersion),N.run("which vim")]).then((function(_){return N.determineFound("Vim",_[0],_[1])})):Promise.resolve(["Vim","N/A"])},getVSCodeInfo:function(){return N.log("trace","getVSCodeInfo"),Promise.all([N.run("code --version").then(N.findVersion),N.which("code")]).then((function(_){return N.determineFound("VSCode",_[0],_[1])}))},getVisualStudioInfo:function(){return N.log("trace","getVisualStudioInfo"),N.isWindows?N.run(`"${process.env["ProgramFiles(x86)"]}/Microsoft Visual Studio/Installer/vswhere.exe" -format json -prerelease`).then((function(_){var E=JSON.parse(_).map((function(_){return{Version:_.installationVersion,DisplayName:_.displayName}}));return N.determineFound("Visual Studio",E.map((function(_){return`${_.Version} (${_.DisplayName})`})))})).catch((function(){return Promise.resolve(["Visual Studio",N.NotFound])})):Promise.resolve(["Visual Studio",N.NA])},getWebStormInfo:function(){return N.log("trace","getWebStormInfo"),N.getDarwinApplicationVersion(N.ideBundleIdentifiers.WebStorm).then((function(_){return N.determineFound("WebStorm",_)}))},getXcodeInfo:function(){return N.log("trace","getXcodeInfo"),N.isMacOS?Promise.all([N.which("xcodebuild").then((function(_){return N.run(_+" -version")})).then((function(_){return`${N.findVersion(_)}/${_.split("Build version ")[1]}`})),N.which("xcodebuild")]).then((function(_){return N.determineFound("Xcode",_[0],_[1])})):Promise.resolve(["Xcode","N/A"])}}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getBashInfo:function(){return k.log("trace","getBashInfo"),Promise.all([k.run("bash --version").then(k.findVersion),k.which("bash")]).then((function(_){return k.determineFound("Bash",_[0],_[1])}))},getElixirInfo:function(){return k.log("trace","getElixirInfo"),Promise.all([k.run("elixir --version").then((function(_){return k.findVersion(_,/[Elixir]+\s([\d+.[\d+|.]+)/,1)})),k.which("elixir")]).then((function(_){return Promise.resolve(k.determineFound("Elixir",_[0],_[1]))}))},getErlangInfo:function(){return k.log("trace","getErlangInfo"),Promise.all([k.run("erl -eval \"{ok, Version} = file:read_file(filename:join([code:root_dir(), 'releases', erlang:system_info(otp_release), 'OTP_VERSION'])), io:fwrite(Version), halt().\" -noshell").then(k.findVersion),k.which("erl")]).then((function(_){return Promise.resolve(k.determineFound("Erlang",_[0],_[1]))}))},getGoInfo:function(){return k.log("trace","getGoInfo"),Promise.all([k.run("go version").then(k.findVersion),k.which("go")]).then((function(_){return k.determineFound("Go",_[0],_[1])}))},getJavaInfo:function(){return k.log("trace","getJavaInfo"),Promise.all([k.run("javac -version",{unify:!0}).then((function(_){return k.findVersion(_,/\d+\.[\w+|.|_|-]+/)})),k.run("which javac")]).then((function(_){return k.determineFound("Java",_[0],_[1])}))},getPerlInfo:function(){return k.log("trace","getPerlInfo"),Promise.all([k.run("perl -v").then(k.findVersion),k.which("perl")]).then((function(_){return k.determineFound("Perl",_[0],_[1])}))},getPHPInfo:function(){return k.log("trace","getPHPInfo"),Promise.all([k.run("php -v").then(k.findVersion),k.which("php")]).then((function(_){return k.determineFound("PHP",_[0],_[1])}))},getProtocInfo:function(){return k.log("trace","getProtocInfo"),Promise.all([k.run("protoc --version").then(k.findVersion),k.run("which protoc")]).then((function(_){return k.determineFound("Protoc",_[0],_[1])}))},getPythonInfo:function(){return k.log("trace","getPythonInfo"),Promise.all([k.run("python -V 2>&1").then(k.findVersion),k.run("which python")]).then((function(_){return k.determineFound("Python",_[0],_[1])}))},getPython3Info:function(){return k.log("trace","getPython3Info"),Promise.all([k.run("python3 -V 2>&1").then(k.findVersion),k.run("which python3")]).then((function(_){return k.determineFound("Python3",_[0],_[1])}))},getRInfo:function(){return k.log("trace","getRInfo"),Promise.all([k.run("R --version",{unify:!0}).then(k.findVersion),k.which("R")]).then((function(_){return k.determineFound("R",_[0],_[1])}))},getRubyInfo:function(){return k.log("trace","getRubyInfo"),Promise.all([k.run("ruby -v").then(k.findVersion),k.which("ruby")]).then((function(_){return k.determineFound("Ruby",_[0],_[1])}))},getRustInfo:function(){return k.log("trace","getRustInfo"),Promise.all([k.run("rustc --version").then(k.findVersion),k.run("which rustc")]).then((function(_){return k.determineFound("Rust",_[0],_[1])}))},getScalaInfo:function(){return k.log("trace","getScalaInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("scalac -version").then(k.findVersion),k.run("which scalac")]).then((function(_){return k.determineFound("Scala",_[0],_[1])})):Promise.resolve(["Scala","N/A"])}}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getAptInfo:function(){return k.log("trace","getAptInfo"),k.isLinux?Promise.all([k.run("apt --version").then(k.findVersion),k.which("apt")]).then((function(_){return k.determineFound("Apt",_[0],_[1])})):Promise.all(["Apt","N/A"])},getCargoInfo:function(){return k.log("trace","getCargoInfo"),Promise.all([k.run("cargo --version").then(k.findVersion),k.which("cargo").then(k.condensePath)]).then((function(_){return k.determineFound("Cargo",_[0],_[1])}))},getCocoaPodsInfo:function(){return k.log("trace","getCocoaPodsInfo"),k.isMacOS?Promise.all([k.run("pod --version").then(k.findVersion),k.which("pod")]).then((function(_){return k.determineFound("CocoaPods",_[0],_[1])})):Promise.all(["CocoaPods","N/A"])},getComposerInfo:function(){return k.log("trace","getComposerInfo"),Promise.all([k.run("composer --version").then(k.findVersion),k.which("composer").then(k.condensePath)]).then((function(_){return k.determineFound("Composer",_[0],_[1])}))},getGradleInfo:function(){return k.log("trace","getGradleInfo"),Promise.all([k.run("gradle --version").then(k.findVersion),k.which("gradle").then(k.condensePath)]).then((function(_){return k.determineFound("Gradle",_[0],_[1])}))},getHomebrewInfo:function(){return k.log("trace","getHomebrewInfo"),k.isMacOS?Promise.all([k.run("brew --version").then(k.findVersion),k.which("brew")]).then((function(_){return k.determineFound("Homebrew",_[0],_[1])})):Promise.all(["Homebrew","N/A"])},getMavenInfo:function(){return k.log("trace","getMavenInfo"),Promise.all([k.run("mvn --version").then(k.findVersion),k.which("mvn").then(k.condensePath)]).then((function(_){return k.determineFound("Maven",_[0],_[1])}))},getpip2Info:function(){return k.log("trace","getpip2Info"),Promise.all([k.run("pip2 --version").then(k.findVersion),k.which("pip2").then(k.condensePath)]).then((function(_){return k.determineFound("pip2",_[0],_[1])}))},getpip3Info:function(){return k.log("trace","getpip3Info"),Promise.all([k.run("pip3 --version").then(k.findVersion),k.which("pip3").then(k.condensePath)]).then((function(_){return k.determineFound("pip3",_[0],_[1])}))},getRubyGemsInfo:function(){return k.log("trace","getRubyGemsInfo"),Promise.all([k.run("gem --version").then(k.findVersion),k.which("gem")]).then((function(_){return k.determineFound("RubyGems",_[0],_[1])}))},getYumInfo:function(){return k.log("trace","getYumInfo"),k.isLinux?Promise.all([k.run("yum --version").then(k.findVersion),k.which("yum")]).then((function(_){return k.determineFound("Yum",_[0],_[1])})):Promise.all(["Yum","N/A"])}}},function(_,E,I){"use strict";I(2);var k=I(1),N=I(0);_.exports={getYarnWorkspacesInfo:function(){return k.log("trace","getYarnWorkspacesInfo"),Promise.all([k.run("yarn -v"),k.getPackageJsonByPath("package.json").then((function(_){return _&&"workspaces"in _}))]).then((function(_){var E="Yarn Workspaces";return _[0]&&_[1]?Promise.resolve([E,_[0]]):Promise.resolve([E,"Not Found"])}))},getLernaInfo:function(){return k.log("trace","getLernaInfo"),Promise.all([k.getPackageJsonByName("lerna").then((function(_){return _&&_.version})),k.fileExists(N.join(process.cwd(),"lerna.json"))]).then((function(_){return _[0]&&_[1]?Promise.resolve(["Lerna",_[0]]):Promise.resolve(["Lerna","Not Found"])}))}}},function(_,E,I){"use strict";I(22),I(2),I(16);var k=I(5),N=I(0),L=I(1);_.exports={getAndroidSDKInfo:function(){return L.run("sdkmanager --list").then((function(_){return!_&&process.env.ANDROID_HOME?L.run(`${process.env.ANDROID_HOME}/tools/bin/sdkmanager --list`):_})).then((function(_){return!_&&process.env.ANDROID_HOME?L.run(`${process.env.ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --list`):_})).then((function(_){return!_&&L.isMacOS?L.run("~/Library/Android/sdk/tools/bin/sdkmanager --list"):_})).then((function(_){var E=L.parseSDKManagerOutput(_),n=function(_){var E,I=N.join(_,"source.properties");try{E=k.readFileSync(I,"utf8")}catch(_){if("ENOENT"===_.code)return;throw _}for(var L=E.split("\n"),$=0;$<L.length;$+=1){var R=L[$].split("=");if(2===R.length&&"Pkg.Revision"===R[0].trim())return R[1].trim()}},I=process.env.ANDROID_NDK?n(process.env.ANDROID_NDK):process.env.ANDROID_NDK_HOME?n(process.env.ANDROID_NDK_HOME):process.env.ANDROID_HOME?n(N.join(process.env.ANDROID_HOME,"ndk-bundle")):void 0;return E.buildTools.length||E.apiLevels.length||E.systemImages.length||I?Promise.resolve(["Android SDK",{"API Levels":E.apiLevels||L.NotFound,"Build Tools":E.buildTools||L.NotFound,"System Images":E.systemImages||L.NotFound,"Android NDK":I||L.NotFound}]):Promise.resolve(["Android SDK",L.NotFound])}))},getiOSSDKInfo:function(){return L.isMacOS?L.run("xcodebuild -showsdks").then((function(_){return _.match(/[\w]+\s[\d|.]+/g)})).then(L.uniq).then((function(_){return _.length?["iOS SDK",{Platforms:_}]:["iOS SDK",L.NotFound]})):Promise.resolve(["iOS SDK","N/A"])},getWindowsSDKInfo:function(){if(L.log("trace","getWindowsSDKInfo"),L.isWindows){var _=L.NotFound;return L.run("reg query HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\AppModelUnlock").then((function(E){_=E.split(/[\r\n]/g).slice(1).filter((function(_){return""!==_})).reduce((function(_,E){var I=E.match(/[^\s]+/g);return"0x0"!==I[2]&&"0x1"!==I[2]||(I[2]="0x1"===I[2]?"Enabled":"Disabled"),_[I[0]]=I[2],_}),{}),0===Object.keys(_).length&&(_=L.NotFound);try{var I=k.readdirSync(`${process.env["ProgramFiles(x86)"]}/Windows Kits/10/Platforms/UAP`);_.Versions=I}catch(_){}return Promise.resolve(["Windows SDK",_])}))}return Promise.resolve(["Windows SDK",L.NA])}}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getApacheInfo:function(){return k.log("trace","getApacheInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("apachectl -v").then(k.findVersion),k.run("which apachectl")]).then((function(_){return k.determineFound("Apache",_[0],_[1])})):Promise.resolve(["Apache","N/A"])},getNginxInfo:function(){return k.log("trace","getNginxInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("nginx -v 2>&1").then(k.findVersion),k.run("which nginx")]).then((function(_){return k.determineFound("Nginx",_[0],_[1])})):Promise.resolve(["Nginx","N/A"])}}},function(_,E,I){"use strict";I(22),I(2);var k=I(132),N=I(1),L=I(17);_.exports={getContainerInfo:function(){return N.log("trace","getContainerInfo"),N.isLinux?Promise.all([N.fileExists("/.dockerenv"),N.readFile("/proc/self/cgroup")]).then((function(_){return N.log("trace","getContainerInfoThen",_),Promise.resolve(["Container",_[0]||_[1]?"Yes":"N/A"])})).catch((function(_){return N.log("trace","getContainerInfoCatch",_)})):Promise.resolve(["Container","N/A"])},getCPUInfo:function(){var _;N.log("trace","getCPUInfo");try{var E=L.cpus();_="("+E.length+") "+L.arch()+" "+E[0].model}catch(E){_="Unknown"}return Promise.all(["CPU",_])},getMemoryInfo:function(){return N.log("trace","getMemoryInfo"),Promise.all(["Memory",`${N.toReadableBytes(L.freemem())} / ${N.toReadableBytes(L.totalmem())}`])},getOSInfo:function(){return N.log("trace","getOSInfo"),(N.isMacOS?N.run("sw_vers -productVersion "):N.isLinux?N.run("cat /etc/os-release").then((function(_){var E=(_||"").match(/NAME="(.+)"/)||"",I=(_||"").match(/VERSION="(.+)"/)||["",""],k=null!==I?I[1]:"";return`${E[1]} ${k}`.trim()||""})):N.isWindows?Promise.resolve(L.release()):Promise.resolve()).then((function(_){var E=k(L.platform(),L.release());return _&&(E+=` ${_}`),["OS",E]}))},getShellInfo:function(){if(N.log("trace","getShellInfo",process.env),N.isMacOS||N.isLinux){var _=process.env.SHELL||N.runSync("getent passwd $LOGNAME | cut -d: -f7 | head -1"),E=`${_} --version 2>&1`;return _.match("/bin/ash")&&(E=`${_} --help 2>&1`),Promise.all([N.run(E).then(N.findVersion),N.which(_)]).then((function(_){return N.determineFound("Shell",_[0]||"Unknown",_[1])}))}return Promise.resolve(["Shell","N/A"])},getGLibcInfo:function(){return N.log("trace","getGLibc"),N.isLinux?Promise.all([N.run("ldd --version").then(N.findVersion)]).then((function(_){return N.determineFound("GLibc",_[0]||"Unknown")})):Promise.resolve(["GLibc","N/A"])}}},function(_,E,I){"use strict";const k=I(17),N=I(133),L=I(134);_.exports=(_,E)=>{if(!_&&E)throw new Error("You can't specify a `release` without specifying `platform`");let I;if("darwin"===(_=_||k.platform()))return E||"darwin"!==k.platform()||(E=k.release()),(E?Number(E.split(".")[0])>15?"macOS":"OS X":"macOS")+((I=E?N(E).name:"")?" "+I:"");return"linux"===_?(E||"linux"!==k.platform()||(E=k.release()),"Linux"+((I=E?E.replace(/^(\d+\.\d+).*/,"$1"):"")?" "+I:"")):"win32"===_?(E||"win32"!==k.platform()||(E=k.release()),"Windows"+((I=E?L(E):"")?" "+I:"")):_}},function(_,E,I){"use strict";const k=I(17),N=new Map([[18,"Mojave"],[17,"High Sierra"],[16,"Sierra"],[15,"El Capitan"],[14,"Yosemite"],[13,"Mavericks"],[12,"Mountain Lion"],[11,"Lion"],[10,"Snow Leopard"],[9,"Leopard"],[8,"Tiger"],[7,"Panther"],[6,"Jaguar"],[5,"Puma"]]),i=_=>(_=Number((_||k.release()).split(".")[0]),{name:N.get(_),version:"10."+(_-4)});_.exports=i,_.exports.default=i},function(_,E,I){"use strict";const k=I(17),N=I(135),L=new Map([["10.0","10"],["6.3","8.1"],["6.2","8"],["6.1","7"],["6.0","Vista"],["5.2","Server 2003"],["5.1","XP"],["5.0","2000"],["4.9","ME"],["4.1","98"],["4.0","95"]]);_.exports=_=>{const E=/\d+\.\d/.exec(_||k.release());if(_&&!E)throw new Error("`release` argument doesn't match `n.n`");const I=(E||[])[0];if((!_||_===k.release())&&["6.1","6.2","6.3","10.0"].includes(I)){const _=((N.sync("wmic",["os","get","Caption"]).stdout||"").match(/2008|2012|2016/)||[])[0];if(_)return`Server ${_}`}return L.get(I)}},function(_,E,I){"use strict";const k=I(0),N=I(49),L=I(136),$=I(146),R=I(147),G=I(148),W=I(149),q=I(154),U=I(155),H=I(157),ie=I(158),pe=1e7;function m(_,E,I){let N;return(I=Object.assign({extendEnv:!0,env:{}},I)).extendEnv&&(I.env=Object.assign({},process.env,I.env)),!0===I.__winShell?(delete I.__winShell,N={command:_,args:E,options:I,file:_,original:{cmd:_,args:E}}):N=L._parse(_,E,I),(I=Object.assign({maxBuffer:pe,buffer:!0,stripEof:!0,preferLocal:!0,localDir:N.options.cwd||process.cwd(),encoding:"utf8",reject:!0,cleanup:!0},N.options)).stdio=ie(I),I.preferLocal&&(I.env=R.env(Object.assign({},I,{cwd:I.localDir}))),I.detached&&(I.cleanup=!1),"win32"===process.platform&&"cmd.exe"===k.basename(N.command)&&N.args.unshift("/q"),{cmd:N.command,args:N.args,opts:I,parsed:N}}function g(_,E){return E&&_.stripEof&&(E=$(E)),E}function v(_,E,I){let k="/bin/sh",N=["-c",E];return I=Object.assign({},I),"win32"===process.platform&&(I.__winShell=!0,k=process.env.comspec||"cmd.exe",N=["/s","/c",`"${E}"`],I.windowsVerbatimArguments=!0),I.shell&&(k=I.shell,delete I.shell),_(k,N,I)}function y(_,E,{encoding:I,buffer:k,maxBuffer:N}){if(!_[E])return null;let L;return(L=k?I?W(_[E],{encoding:I,maxBuffer:N}):W.buffer(_[E],{maxBuffer:N}):new Promise(((I,k)=>{_[E].once("end",I).once("error",k)}))).catch((_=>{throw _.stream=E,_.message=`${E} ${_.message}`,_}))}function b(_,E){const{stdout:I,stderr:k}=_;let N=_.error;const{code:L,signal:$}=_,{parsed:R,joinedCmd:G}=E,W=E.timedOut||!1;if(!N){let _="";Array.isArray(R.opts.stdio)?("inherit"!==R.opts.stdio[2]&&(_+=_.length>0?k:`\n${k}`),"inherit"!==R.opts.stdio[1]&&(_+=`\n${I}`)):"inherit"!==R.opts.stdio&&(_=`\n${k}${I}`),(N=new Error(`Command failed: ${G}${_}`)).code=L<0?H(L):L}return N.stdout=I,N.stderr=k,N.failed=!0,N.signal=$||null,N.cmd=G,N.timedOut=W,N}function w(_,E){let I=_;return Array.isArray(E)&&E.length>0&&(I+=" "+E.join(" ")),I}_.exports=(_,E,I)=>{const k=m(_,E,I),{encoding:$,buffer:R,maxBuffer:W}=k.opts,H=w(_,E);let ie,pe;try{ie=N.spawn(k.cmd,k.args,k.opts)}catch(_){return Promise.reject(_)}k.opts.cleanup&&(pe=U((()=>{ie.kill()})));let he=null,de=!1;const S=()=>{he&&(clearTimeout(he),he=null),pe&&pe()};k.opts.timeout>0&&(he=setTimeout((()=>{he=null,de=!0,ie.kill(k.opts.killSignal)}),k.opts.timeout));const me=new Promise((_=>{ie.on("exit",((E,I)=>{S(),_({code:E,signal:I})})),ie.on("error",(E=>{S(),_({error:E})})),ie.stdin&&ie.stdin.on("error",(E=>{S(),_({error:E})}))}));function O(){ie.stdout&&ie.stdout.destroy(),ie.stderr&&ie.stderr.destroy()}const j=()=>q(Promise.all([me,y(ie,"stdout",{encoding:$,buffer:R,maxBuffer:W}),y(ie,"stderr",{encoding:$,buffer:R,maxBuffer:W})]).then((_=>{const E=_[0];if(E.stdout=_[1],E.stderr=_[2],E.error||0!==E.code||null!==E.signal){const _=b(E,{joinedCmd:H,parsed:k,timedOut:de});if(_.killed=_.killed||ie.killed,!k.opts.reject)return _;throw _}return{stdout:g(k.opts,E.stdout),stderr:g(k.opts,E.stderr),code:0,failed:!1,killed:!1,signal:null,cmd:H,timedOut:!1}})),O);return L._enoent.hookChildProcess(ie,k.parsed),function(_,E){null!=E&&(G(E)?E.pipe(_.stdin):_.stdin.end(E))}(ie,k.opts.input),ie.then=(_,E)=>j().then(_,E),ie.catch=_=>j().catch(_),ie},_.exports.stdout=(...E)=>_.exports(...E).then((_=>_.stdout)),_.exports.stderr=(...E)=>_.exports(...E).then((_=>_.stderr)),_.exports.shell=(E,I)=>v(_.exports,E,I),_.exports.sync=(_,E,I)=>{const k=m(_,E,I),L=w(_,E);if(G(k.opts.input))throw new TypeError("The `input` option cannot be a stream in sync mode");const $=N.spawnSync(k.cmd,k.args,k.opts);if($.code=$.status,$.error||0!==$.status||null!==$.signal){const _=b($,{joinedCmd:L,parsed:k});if(!k.opts.reject)return _;throw _}return{stdout:g(k.opts,$.stdout),stderr:g(k.opts,$.stderr),code:0,failed:!1,signal:null,cmd:L,timedOut:!1}},_.exports.shellSync=(E,I)=>v(_.exports.sync,E,I)},function(_,E,I){"use strict";const k=I(49),N=I(137),L=I(145);function s(_,E,I){const $=N(_,E,I),R=k.spawn($.command,$.args,$.options);return L.hookChildProcess(R,$),R}_.exports=s,_.exports.spawn=s,_.exports.sync=function(_,E,I){const $=N(_,E,I),R=k.spawnSync($.command,$.args,$.options);return R.error=R.error||L.verifyENOENTSync(R.status,$),R},_.exports._parse=N,_.exports._enoent=L},function(_,E,I){"use strict";const k=I(0),N=I(138),L=I(139),$=I(140),R=I(141),G=I(144),W="win32"===process.platform,q=/\.(?:com|exe)$/i,U=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i,H=N((()=>G.satisfies(process.version,"^4.8.0 || ^5.7.0 || >= 6.0.0",!0)))||!1;function h(_){if(!W)return _;const E=function(_){_.file=L(_);const E=_.file&&R(_.file);return E?(_.args.unshift(_.file),_.command=E,L(_)):_.file}(_),I=!q.test(E);if(_.options.forceShell||I){const I=U.test(E);_.command=k.normalize(_.command),_.command=$.command(_.command),_.args=_.args.map((_=>$.argument(_,I)));const N=[_.command].concat(_.args).join(" ");_.args=["/d","/s","/c",`"${N}"`],_.command=process.env.comspec||"cmd.exe",_.options.windowsVerbatimArguments=!0}return _}_.exports=function(_,E,I){E&&!Array.isArray(E)&&(I=E,E=null);const k={command:_,args:E=E?E.slice(0):[],options:I=Object.assign({},I),file:void 0,original:{command:_,args:E}};return I.shell?function(_){if(H)return _;const E=[_.command].concat(_.args).join(" ");return W?(_.command="string"==typeof _.options.shell?_.options.shell:process.env.comspec||"cmd.exe",_.args=["/d","/s","/c",`"${E}"`],_.options.windowsVerbatimArguments=!0):("string"==typeof _.options.shell?_.command=_.options.shell:"android"===process.platform?_.command="/system/bin/sh":_.command="/bin/sh",_.args=["-c",E]),_}(k):h(k)}},function(_,E,I){"use strict";_.exports=function(_){try{return _()}catch(_){}}},function(_,E,I){"use strict";const k=I(0),N=I(76),L=I(77)();function s(_,E){const I=process.cwd(),$=null!=_.options.cwd;if($)try{process.chdir(_.options.cwd)}catch(_){}let R;try{R=N.sync(_.command,{path:(_.options.env||process.env)[L],pathExt:E?k.delimiter:void 0})}catch(_){}finally{process.chdir(I)}return R&&(R=k.resolve($?_.options.cwd:"",R)),R}_.exports=function(_){return s(_)||s(_,!0)}},function(_,E,I){"use strict";const k=/([()\][%!^"`<>&|;, *?])/g;_.exports.command=function(_){return _=_.replace(k,"^$1")},_.exports.argument=function(_,E){return _=(_=`"${_=(_=(_=`${_}`).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(k,"^$1"),E&&(_=_.replace(k,"^$1")),_}},function(_,E,I){"use strict";const k=I(5),N=I(142);_.exports=function(_){let E,I;Buffer.alloc?E=Buffer.alloc(150):(E=new Buffer(150)).fill(0);try{I=k.openSync(_,"r"),k.readSync(I,E,0,150,0),k.closeSync(I)}catch(_){}return N(E.toString())}},function(_,E,I){"use strict";var k=I(143);_.exports=function(_){var E=_.match(k);if(!E)return null;var I=E[0].replace(/#! ?/,"").split(" "),N=I[0].split("/").pop(),L=I[1];return"env"===N?L:N+(L?" "+L:"")}},function(_,E,I){"use strict";_.exports=/^#!.*/},function(_,E){var I;E=_.exports=Y,I="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var _=Array.prototype.slice.call(arguments,0);_.unshift("SEMVER"),console.log.apply(console,_)}:function(){},E.SEMVER_SPEC_VERSION="2.0.0";var k=256,N=Number.MAX_SAFE_INTEGER||9007199254740991,L=E.re=[],$=E.src=[],R=0,G=R++;$[G]="0|[1-9]\\d*";var W=R++;$[W]="[0-9]+";var q=R++;$[q]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var U=R++;$[U]="("+$[G]+")\\.("+$[G]+")\\.("+$[G]+")";var H=R++;$[H]="("+$[W]+")\\.("+$[W]+")\\.("+$[W]+")";var ie=R++;$[ie]="(?:"+$[G]+"|"+$[q]+")";var pe=R++;$[pe]="(?:"+$[W]+"|"+$[q]+")";var he=R++;$[he]="(?:-("+$[ie]+"(?:\\."+$[ie]+")*))";var de=R++;$[de]="(?:-?("+$[pe]+"(?:\\."+$[pe]+")*))";var me=R++;$[me]="[0-9A-Za-z-]+";var ge=R++;$[ge]="(?:\\+("+$[me]+"(?:\\."+$[me]+")*))";var ve=R++,ye="v?"+$[U]+$[he]+"?"+$[ge]+"?";$[ve]="^"+ye+"$";var be="[v=\\s]*"+$[H]+$[de]+"?"+$[ge]+"?",we=R++;$[we]="^"+be+"$";var xe=R++;$[xe]="((?:<|>)?=?)";var Se=R++;$[Se]=$[W]+"|x|X|\\*";var _e=R++;$[_e]=$[G]+"|x|X|\\*";var Pe=R++;$[Pe]="[v=\\s]*("+$[_e]+")(?:\\.("+$[_e]+")(?:\\.("+$[_e]+")(?:"+$[he]+")?"+$[ge]+"?)?)?";var Oe=R++;$[Oe]="[v=\\s]*("+$[Se]+")(?:\\.("+$[Se]+")(?:\\.("+$[Se]+")(?:"+$[de]+")?"+$[ge]+"?)?)?";var je=R++;$[je]="^"+$[xe]+"\\s*"+$[Pe]+"$";var Ee=R++;$[Ee]="^"+$[xe]+"\\s*"+$[Oe]+"$";var Ie=R++;$[Ie]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var Ae=R++;$[Ae]="(?:~>?)";var ke=R++;$[ke]="(\\s*)"+$[Ae]+"\\s+",L[ke]=new RegExp($[ke],"g");var Ne=R++;$[Ne]="^"+$[Ae]+$[Pe]+"$";var Fe=R++;$[Fe]="^"+$[Ae]+$[Oe]+"$";var Ce=R++;$[Ce]="(?:\\^)";var Me=R++;$[Me]="(\\s*)"+$[Ce]+"\\s+",L[Me]=new RegExp($[Me],"g");var Te=R++;$[Te]="^"+$[Ce]+$[Pe]+"$";var Ve=R++;$[Ve]="^"+$[Ce]+$[Oe]+"$";var De=R++;$[De]="^"+$[xe]+"\\s*("+be+")$|^$";var Be=R++;$[Be]="^"+$[xe]+"\\s*("+ye+")$|^$";var Le=R++;$[Le]="(\\s*)"+$[xe]+"\\s*("+be+"|"+$[Pe]+")",L[Le]=new RegExp($[Le],"g");var $e=R++;$[$e]="^\\s*("+$[Pe]+")\\s+-\\s+("+$[Pe]+")\\s*$";var Re=R++;$[Re]="^\\s*("+$[Oe]+")\\s+-\\s+("+$[Oe]+")\\s*$";var Ge=R++;$[Ge]="(<|>)?=?\\s*\\*";for(var Ye=0;Ye<35;Ye++)I(Ye,$[Ye]),L[Ye]||(L[Ye]=new RegExp($[Ye]));function K(_,E){if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),_ instanceof Y)return _;if("string"!=typeof _)return null;if(_.length>k)return null;if(!(E.loose?L[we]:L[ve]).test(_))return null;try{return new Y(_,E)}catch(_){return null}}function Y(_,E){if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),_ instanceof Y){if(_.loose===E.loose)return _;_=_.version}else if("string"!=typeof _)throw new TypeError("Invalid Version: "+_);if(_.length>k)throw new TypeError("version is longer than "+k+" characters");if(!(this instanceof Y))return new Y(_,E);I("SemVer",_,E),this.options=E,this.loose=!!E.loose;var $=_.trim().match(E.loose?L[we]:L[ve]);if(!$)throw new TypeError("Invalid Version: "+_);if(this.raw=_,this.major=+$[1],this.minor=+$[2],this.patch=+$[3],this.major>N||this.major<0)throw new TypeError("Invalid major version");if(this.minor>N||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>N||this.patch<0)throw new TypeError("Invalid patch version");$[4]?this.prerelease=$[4].split(".").map((function(_){if(/^[0-9]+$/.test(_)){var E=+_;if(E>=0&&E<N)return E}return _})):this.prerelease=[],this.build=$[5]?$[5].split("."):[],this.format()}E.parse=K,E.valid=function(_,E){var I=K(_,E);return I?I.version:null},E.clean=function(_,E){var I=K(_.trim().replace(/^[=v]+/,""),E);return I?I.version:null},E.SemVer=Y,Y.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},Y.prototype.toString=function(){return this.version},Y.prototype.compare=function(_){return I("SemVer.compare",this.version,this.options,_),_ instanceof Y||(_=new Y(_,this.options)),this.compareMain(_)||this.comparePre(_)},Y.prototype.compareMain=function(_){return _ instanceof Y||(_=new Y(_,this.options)),J(this.major,_.major)||J(this.minor,_.minor)||J(this.patch,_.patch)},Y.prototype.comparePre=function(_){if(_ instanceof Y||(_=new Y(_,this.options)),this.prerelease.length&&!_.prerelease.length)return-1;if(!this.prerelease.length&&_.prerelease.length)return 1;if(!this.prerelease.length&&!_.prerelease.length)return 0;var E=0;do{var k=this.prerelease[E],N=_.prerelease[E];if(I("prerelease compare",E,k,N),void 0===k&&void 0===N)return 0;if(void 0===N)return 1;if(void 0===k)return-1;if(k!==N)return J(k,N)}while(++E)},Y.prototype.inc=function(_,E){switch(_){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",E);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",E);break;case"prepatch":this.prerelease.length=0,this.inc("patch",E),this.inc("pre",E);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",E),this.inc("pre",E);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var I=this.prerelease.length;--I>=0;)"number"==typeof this.prerelease[I]&&(this.prerelease[I]++,I=-2);-1===I&&this.prerelease.push(0)}E&&(this.prerelease[0]===E?isNaN(this.prerelease[1])&&(this.prerelease=[E,0]):this.prerelease=[E,0]);break;default:throw new Error("invalid increment argument: "+_)}return this.format(),this.raw=this.version,this},E.inc=function(_,E,I,k){"string"==typeof I&&(k=I,I=void 0);try{return new Y(_,I).inc(E,k).version}catch(_){return null}},E.diff=function(_,E){if(Z(_,E))return null;var I=K(_),k=K(E);if(I.prerelease.length||k.prerelease.length){for(var N in I)if(("major"===N||"minor"===N||"patch"===N)&&I[N]!==k[N])return"pre"+N;return"prerelease"}for(var N in I)if(("major"===N||"minor"===N||"patch"===N)&&I[N]!==k[N])return N},E.compareIdentifiers=J;var We=/^[0-9]+$/;function J(_,E){var I=We.test(_),k=We.test(E);return I&&k&&(_=+_,E=+E),I&&!k?-1:k&&!I?1:_<E?-1:_>E?1:0}function z(_,E,I){return new Y(_,I).compare(new Y(E,I))}function Q(_,E,I){return z(_,E,I)>0}function X(_,E,I){return z(_,E,I)<0}function Z(_,E,I){return 0===z(_,E,I)}function ee(_,E,I){return 0!==z(_,E,I)}function te(_,E,I){return z(_,E,I)>=0}function ne(_,E,I){return z(_,E,I)<=0}function re(_,E,I,k){var N;switch(E){case"===":"object"==typeof _&&(_=_.version),"object"==typeof I&&(I=I.version),N=_===I;break;case"!==":"object"==typeof _&&(_=_.version),"object"==typeof I&&(I=I.version),N=_!==I;break;case"":case"=":case"==":N=Z(_,I,k);break;case"!=":N=ee(_,I,k);break;case">":N=Q(_,I,k);break;case">=":N=te(_,I,k);break;case"<":N=X(_,I,k);break;case"<=":N=ne(_,I,k);break;default:throw new TypeError("Invalid operator: "+E)}return N}function oe(_,E){if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),_ instanceof oe){if(_.loose===!!E.loose)return _;_=_.value}if(!(this instanceof oe))return new oe(_,E);I("comparator",_,E),this.options=E,this.loose=!!E.loose,this.parse(_),this.semver===Ke?this.value="":this.value=this.operator+this.semver.version,I("comp",this)}E.rcompareIdentifiers=function(_,E){return J(E,_)},E.major=function(_,E){return new Y(_,E).major},E.minor=function(_,E){return new Y(_,E).minor},E.patch=function(_,E){return new Y(_,E).patch},E.compare=z,E.compareLoose=function(_,E){return z(_,E,!0)},E.rcompare=function(_,E,I){return z(E,_,I)},E.sort=function(_,I){return _.sort((function(_,k){return E.compare(_,k,I)}))},E.rsort=function(_,I){return _.sort((function(_,k){return E.rcompare(_,k,I)}))},E.gt=Q,E.lt=X,E.eq=Z,E.neq=ee,E.gte=te,E.lte=ne,E.cmp=re,E.Comparator=oe;var Ke={};function se(_,E){if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),_ instanceof se)return _.loose===!!E.loose&&_.includePrerelease===!!E.includePrerelease?_:new se(_.raw,E);if(_ instanceof oe)return new se(_.value,E);if(!(this instanceof se))return new se(_,E);if(this.options=E,this.loose=!!E.loose,this.includePrerelease=!!E.includePrerelease,this.raw=_,this.set=_.split(/\s*\|\|\s*/).map((function(_){return this.parseRange(_.trim())}),this).filter((function(_){return _.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+_);this.format()}function ae(_){return!_||"x"===_.toLowerCase()||"*"===_}function ce(_,E,I,k,N,L,$,R,G,W,q,U,H){return((E=ae(I)?"":ae(k)?">="+I+".0.0":ae(N)?">="+I+"."+k+".0":">="+E)+" "+(R=ae(G)?"":ae(W)?"<"+(+G+1)+".0.0":ae(q)?"<"+G+"."+(+W+1)+".0":U?"<="+G+"."+W+"."+q+"-"+U:"<="+R)).trim()}function ue(_,E,k){for(var N=0;N<_.length;N++)if(!_[N].test(E))return!1;if(k||(k={}),E.prerelease.length&&!k.includePrerelease){for(N=0;N<_.length;N++)if(I(_[N].semver),_[N].semver!==Ke&&_[N].semver.prerelease.length>0){var L=_[N].semver;if(L.major===E.major&&L.minor===E.minor&&L.patch===E.patch)return!0}return!1}return!0}function le(_,E,I){try{E=new se(E,I)}catch(_){return!1}return E.test(_)}function fe(_,E,I,k){var N,L,$,R,G;switch(_=new Y(_,k),E=new se(E,k),I){case">":N=Q,L=ne,$=X,R=">",G=">=";break;case"<":N=X,L=te,$=Q,R="<",G="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(le(_,E,k))return!1;for(var W=0;W<E.set.length;++W){var q=E.set[W],U=null,H=null;if(q.forEach((function(_){_.semver===Ke&&(_=new oe(">=0.0.0")),U=U||_,H=H||_,N(_.semver,U.semver,k)?U=_:$(_.semver,H.semver,k)&&(H=_)})),U.operator===R||U.operator===G)return!1;if((!H.operator||H.operator===R)&&L(_,H.semver))return!1;if(H.operator===G&&$(_,H.semver))return!1}return!0}oe.prototype.parse=function(_){var E=this.options.loose?L[De]:L[Be],I=_.match(E);if(!I)throw new TypeError("Invalid comparator: "+_);this.operator=I[1],"="===this.operator&&(this.operator=""),I[2]?this.semver=new Y(I[2],this.options.loose):this.semver=Ke},oe.prototype.toString=function(){return this.value},oe.prototype.test=function(_){return I("Comparator.test",_,this.options.loose),this.semver===Ke||("string"==typeof _&&(_=new Y(_,this.options)),re(_,this.operator,this.semver,this.options))},oe.prototype.intersects=function(_,E){if(!(_ instanceof oe))throw new TypeError("a Comparator is required");var I;if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),""===this.operator)return I=new se(_.value,E),le(this.value,I,E);if(""===_.operator)return I=new se(this.value,E),le(_.semver,I,E);var k=!(">="!==this.operator&&">"!==this.operator||">="!==_.operator&&">"!==_.operator),N=!("<="!==this.operator&&"<"!==this.operator||"<="!==_.operator&&"<"!==_.operator),L=this.semver.version===_.semver.version,$=!(">="!==this.operator&&"<="!==this.operator||">="!==_.operator&&"<="!==_.operator),R=re(this.semver,"<",_.semver,E)&&(">="===this.operator||">"===this.operator)&&("<="===_.operator||"<"===_.operator),G=re(this.semver,">",_.semver,E)&&("<="===this.operator||"<"===this.operator)&&(">="===_.operator||">"===_.operator);return k||N||L&&$||R||G},E.Range=se,se.prototype.format=function(){return this.range=this.set.map((function(_){return _.join(" ").trim()})).join("||").trim(),this.range},se.prototype.toString=function(){return this.range},se.prototype.parseRange=function(_){var E=this.options.loose;_=_.trim();var k=E?L[Re]:L[$e];_=_.replace(k,ce),I("hyphen replace",_),_=_.replace(L[Le],"$1$2$3"),I("comparator trim",_,L[Le]),_=(_=(_=_.replace(L[ke],"$1~")).replace(L[Me],"$1^")).split(/\s+/).join(" ");var N=E?L[De]:L[Be],$=_.split(" ").map((function(_){return function(_,E){return I("comp",_,E),_=function(_,E){return _.trim().split(/\s+/).map((function(_){return function(_,E){I("caret",_,E),E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1});var k=E.loose?L[Ve]:L[Te];return _.replace(k,(function(E,k,N,L,$){var R;return I("caret",_,E,k,N,L,$),ae(k)?R="":ae(N)?R=">="+k+".0.0 <"+(+k+1)+".0.0":ae(L)?R="0"===k?">="+k+"."+N+".0 <"+k+"."+(+N+1)+".0":">="+k+"."+N+".0 <"+(+k+1)+".0.0":$?(I("replaceCaret pr",$),"-"!==$.charAt(0)&&($="-"+$),R="0"===k?"0"===N?">="+k+"."+N+"."+L+$+" <"+k+"."+N+"."+(+L+1):">="+k+"."+N+"."+L+$+" <"+k+"."+(+N+1)+".0":">="+k+"."+N+"."+L+$+" <"+(+k+1)+".0.0"):(I("no pr"),R="0"===k?"0"===N?">="+k+"."+N+"."+L+" <"+k+"."+N+"."+(+L+1):">="+k+"."+N+"."+L+" <"+k+"."+(+N+1)+".0":">="+k+"."+N+"."+L+" <"+(+k+1)+".0.0"),I("caret return",R),R}))}(_,E)})).join(" ")}(_,E),I("caret",_),_=function(_,E){return _.trim().split(/\s+/).map((function(_){return function(_,E){E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1});var k=E.loose?L[Fe]:L[Ne];return _.replace(k,(function(E,k,N,L,$){var R;return I("tilde",_,E,k,N,L,$),ae(k)?R="":ae(N)?R=">="+k+".0.0 <"+(+k+1)+".0.0":ae(L)?R=">="+k+"."+N+".0 <"+k+"."+(+N+1)+".0":$?(I("replaceTilde pr",$),"-"!==$.charAt(0)&&($="-"+$),R=">="+k+"."+N+"."+L+$+" <"+k+"."+(+N+1)+".0"):R=">="+k+"."+N+"."+L+" <"+k+"."+(+N+1)+".0",I("tilde return",R),R}))}(_,E)})).join(" ")}(_,E),I("tildes",_),_=function(_,E){return I("replaceXRanges",_,E),_.split(/\s+/).map((function(_){return function(_,E){_=_.trim(),E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1});var k=E.loose?L[Ee]:L[je];return _.replace(k,(function(E,k,N,L,$,R){I("xRange",_,E,k,N,L,$,R);var G=ae(N),W=G||ae(L),q=W||ae($),U=q;return"="===k&&U&&(k=""),G?E=">"===k||"<"===k?"<0.0.0":"*":k&&U?(W&&(L=0),q&&($=0),">"===k?(k=">=",W?(N=+N+1,L=0,$=0):q&&(L=+L+1,$=0)):"<="===k&&(k="<",W?N=+N+1:L=+L+1),E=k+N+"."+L+"."+$):W?E=">="+N+".0.0 <"+(+N+1)+".0.0":q&&(E=">="+N+"."+L+".0 <"+N+"."+(+L+1)+".0"),I("xRange return",E),E}))}(_,E)})).join(" ")}(_,E),I("xrange",_),_=function(_,E){return I("replaceStars",_,E),_.trim().replace(L[Ge],"")}(_,E),I("stars",_),_}(_,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&($=$.filter((function(_){return!!_.match(N)}))),$=$.map((function(_){return new oe(_,this.options)}),this)},se.prototype.intersects=function(_,E){if(!(_ instanceof se))throw new TypeError("a Range is required");return this.set.some((function(I){return I.every((function(I){return _.set.some((function(_){return _.every((function(_){return I.intersects(_,E)}))}))}))}))},E.toComparators=function(_,E){return new se(_,E).set.map((function(_){return _.map((function(_){return _.value})).join(" ").trim().split(" ")}))},se.prototype.test=function(_){if(!_)return!1;"string"==typeof _&&(_=new Y(_,this.options));for(var E=0;E<this.set.length;E++)if(ue(this.set[E],_,this.options))return!0;return!1},E.satisfies=le,E.maxSatisfying=function(_,E,I){var k=null,N=null;try{var L=new se(E,I)}catch(_){return null}return _.forEach((function(_){L.test(_)&&(k&&-1!==N.compare(_)||(N=new Y(k=_,I)))})),k},E.minSatisfying=function(_,E,I){var k=null,N=null;try{var L=new se(E,I)}catch(_){return null}return _.forEach((function(_){L.test(_)&&(k&&1!==N.compare(_)||(N=new Y(k=_,I)))})),k},E.validRange=function(_,E){try{return new se(_,E).range||"*"}catch(_){return null}},E.ltr=function(_,E,I){return fe(_,E,"<",I)},E.gtr=function(_,E,I){return fe(_,E,">",I)},E.outside=fe,E.prerelease=function(_,E){var I=K(_,E);return I&&I.prerelease.length?I.prerelease:null},E.intersects=function(_,E,I){return _=new se(_,I),E=new se(E,I),_.intersects(E)},E.coerce=function(_){if(_ instanceof Y)return _;if("string"!=typeof _)return null;var E=_.match(L[Ie]);return null==E?null:K((E[1]||"0")+"."+(E[2]||"0")+"."+(E[3]||"0"))}},function(_,E,I){"use strict";const k="win32"===process.platform;function o(_,E){return Object.assign(new Error(`${E} ${_.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${E} ${_.command}`,path:_.command,spawnargs:_.args})}function i(_,E){return k&&1===_&&!E.file?o(E.original,"spawn"):null}_.exports={hookChildProcess:function(_,E){if(!k)return;const I=_.emit;_.emit=function(k,N){if("exit"===k){const k=i(N,E);if(k)return I.call(_,"error",k)}return I.apply(_,arguments)}},verifyENOENT:i,verifyENOENTSync:function(_,E){return k&&1===_&&!E.file?o(E.original,"spawnSync"):null},notFoundError:o}},function(_,E,I){"use strict";_.exports=function(_){var E="string"==typeof _?"\n":"\n".charCodeAt(),I="string"==typeof _?"\r":"\r".charCodeAt();return _[_.length-1]===E&&(_=_.slice(0,_.length-1)),_[_.length-1]===I&&(_=_.slice(0,_.length-1)),_}},function(_,E,I){"use strict";const k=I(0),N=I(77);_.exports=_=>{let E;_=Object.assign({cwd:process.cwd(),path:process.env[N()]},_);let I=k.resolve(_.cwd);const L=[];for(;E!==I;)L.push(k.join(I,"node_modules/.bin")),E=I,I=k.resolve(I,"..");return L.push(k.dirname(process.execPath)),L.concat(_.path).join(k.delimiter)},_.exports.env=E=>{E=Object.assign({env:process.env},E);const I=Object.assign({},E.env),k=N({env:I});return E.path=I[k],I[k]=_.exports(E),I}},function(_,E,I){"use strict";var k=_.exports=function(_){return null!==_&&"object"==typeof _&&"function"==typeof _.pipe};k.writable=function(_){return k(_)&&!1!==_.writable&&"function"==typeof _._write&&"object"==typeof _._writableState},k.readable=function(_){return k(_)&&!1!==_.readable&&"function"==typeof _._read&&"object"==typeof _._readableState},k.duplex=function(_){return k.writable(_)&&k.readable(_)},k.transform=function(_){return k.duplex(_)&&"function"==typeof _._transform&&"object"==typeof _._transformState}},function(_,E,I){"use strict";const k=I(150),N=I(152);class i extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}}function s(_,E){if(!_)return Promise.reject(new Error("Expected a stream"));E=Object.assign({maxBuffer:1/0},E);const{maxBuffer:I}=E;let L;return new Promise((($,R)=>{const u=_=>{_&&(_.bufferedData=L.getBufferedValue()),R(_)};(L=k(_,N(E),(_=>{_?u(_):$()}))).on("data",(()=>{L.getBufferedLength()>I&&u(new i)}))})).then((()=>L.getBufferedValue()))}_.exports=s,_.exports.buffer=(_,E)=>s(_,Object.assign({},E,{encoding:"buffer"})),_.exports.array=(_,E)=>s(_,Object.assign({},E,{array:!0})),_.exports.MaxBufferError=i},function(_,E,I){var k=I(31),N=I(151),L=I(5),s=function(){},$=/^v?\.0/.test(process.version),c=function(_){return"function"==typeof _},u=function(_,E,I,R){R=k(R);var G=!1;_.on("close",(function(){G=!0})),N(_,{readable:E,writable:I},(function(_){if(_)return R(_);G=!0,R()}));var W=!1;return function(E){if(!G&&!W)return W=!0,function(_){return!!$&&!!L&&(_ instanceof(L.ReadStream||s)||_ instanceof(L.WriteStream||s))&&c(_.close)}(_)?_.close(s):function(_){return _.setHeader&&c(_.abort)}(_)?_.abort():c(_.destroy)?_.destroy():void R(E||new Error("stream was destroyed"))}},l=function(_){_()},f=function(_,E){return _.pipe(E)};_.exports=function(){var _,E=Array.prototype.slice.call(arguments),I=c(E[E.length-1]||s)&&E.pop()||s;if(Array.isArray(E[0])&&(E=E[0]),E.length<2)throw new Error("pump requires two streams per minimum");var k=E.map((function(N,L){var $=L<E.length-1;return u(N,$,L>0,(function(E){_||(_=E),E&&k.forEach(l),$||(k.forEach(l),I(_))}))}));return E.reduce(f)}},function(_,E,I){var k=I(31),o=function(){},i=function(_,E,I){if("function"==typeof E)return i(_,null,E);E||(E={}),I=k(I||o);var N=_._writableState,L=_._readableState,$=E.readable||!1!==E.readable&&_.readable,R=E.writable||!1!==E.writable&&_.writable,l=function(){_.writable||f()},f=function(){R=!1,$||I.call(_)},p=function(){$=!1,R||I.call(_)},h=function(E){I.call(_,E?new Error("exited with error code: "+E):null)},d=function(E){I.call(_,E)},m=function(){return(!$||L&&L.ended)&&(!R||N&&N.ended)?void 0:I.call(_,new Error("premature close"))},g=function(){_.req.on("finish",f)};return!function(_){return _.setHeader&&"function"==typeof _.abort}(_)?R&&!N&&(_.on("end",l),_.on("close",l)):(_.on("complete",f),_.on("abort",m),_.req?g():_.on("request",g)),function(_){return _.stdio&&Array.isArray(_.stdio)&&3===_.stdio.length}(_)&&_.on("exit",h),_.on("end",p),_.on("finish",f),!1!==E.error&&_.on("error",d),_.on("close",m),function(){_.removeListener("complete",f),_.removeListener("abort",m),_.removeListener("request",g),_.req&&_.req.removeListener("finish",f),_.removeListener("end",l),_.removeListener("close",l),_.removeListener("finish",f),_.removeListener("exit",h),_.removeListener("end",p),_.removeListener("error",d),_.removeListener("close",m)}};_.exports=i},function(_,E,I){"use strict";const{PassThrough:k}=I(153);_.exports=_=>{_=Object.assign({},_);const{array:E}=_;let{encoding:I}=_;const N="buffer"===I;let L=!1;E?L=!(I||N):I=I||"utf8",N&&(I=null);let $=0;const R=[],G=new k({objectMode:L});return I&&G.setEncoding(I),G.on("data",(_=>{R.push(_),L?$=R.length:$+=_.length})),G.getBufferedValue=()=>E?R:N?Buffer.concat(R,$):R.join(""),G.getBufferedLength=()=>$,G}},function(_,E){_.exports=I(781)},function(_,E,I){"use strict";_.exports=(_,E)=>(E=E||(()=>{}),_.then((_=>new Promise((_=>{_(E())})).then((()=>_))),(_=>new Promise((_=>{_(E())})).then((()=>{throw _})))))},function(_,E,I){var k,N=I(47),L=I(156),$=I(68);function a(){G&&(G=!1,L.forEach((function(_){try{process.removeListener(_,R[_])}catch(_){}})),process.emit=q,process.reallyExit=W,k.count-=1)}function c(_,E,I){k.emitted[_]||(k.emitted[_]=!0,k.emit(_,E,I))}"function"!=typeof $&&($=$.EventEmitter),process.__signal_exit_emitter__?k=process.__signal_exit_emitter__:((k=process.__signal_exit_emitter__=new $).count=0,k.emitted={}),k.infinite||(k.setMaxListeners(1/0),k.infinite=!0),_.exports=function(_,E){N.equal(typeof _,"function","a callback must be provided for exit handler"),!1===G&&f();var I="exit";E&&E.alwaysLast&&(I="afterexit");return k.on(I,_),function(){k.removeListener(I,_),0===k.listeners("exit").length&&0===k.listeners("afterexit").length&&a()}},_.exports.unload=a;var R={};L.forEach((function(_){R[_]=function(){process.listeners(_).length===k.count&&(a(),c("exit",null,_),c("afterexit",null,_),process.kill(process.pid,_))}})),_.exports.signals=function(){return L},_.exports.load=f;var G=!1;function f(){G||(G=!0,k.count+=1,L=L.filter((function(_){try{return process.on(_,R[_]),!0}catch(_){return!1}})),process.emit=m,process.reallyExit=h)}var W=process.reallyExit;function h(_){process.exitCode=_||0,c("exit",process.exitCode,null),c("afterexit",process.exitCode,null),W.call(process,process.exitCode)}var q=process.emit;function m(_,E){if("exit"===_){void 0!==E&&(process.exitCode=E);var I=q.apply(this,arguments);return c("exit",process.exitCode,null),c("afterexit",process.exitCode,null),I}return q.apply(this,arguments)}},function(_,E){_.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&_.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&_.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")},function(_,E,I){"use strict";const k=I(30);let N;if("function"==typeof k.getSystemErrorName)_.exports=k.getSystemErrorName;else{try{if("function"!=typeof(N=process.binding("uv")).errname)throw new TypeError("uv.errname is not a function")}catch(_){console.error("execa/lib/errname: unable to establish process.binding('uv')",_),N=null}_.exports=_=>i(N,_)}function i(_,E){if(_)return _.errname(E);if(!(E<0))throw new Error("err >= 0");return`Unknown system error ${E}`}_.exports.__test__=i},function(_,E,I){"use strict";const k=["stdin","stdout","stderr"];_.exports=_=>{if(!_)return null;if(_.stdio&&(_=>k.some((E=>Boolean(_[E]))))(_))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${k.map((_=>`\`${_}\``)).join(", ")}`);if("string"==typeof _.stdio)return _.stdio;const E=_.stdio||[];if(!Array.isArray(E))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof E}\``);const I=[],N=Math.max(E.length,k.length);for(let L=0;L<N;L++){let N=null;void 0!==E[L]?N=E[L]:void 0!==_[k[L]]&&(N=_[k[L]]),I[L]=N}return I}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getBazelInfo:function(){return k.log("trace","getBazelInfo"),Promise.all([k.run("bazel --version").then(k.findVersion),k.run("which bazel")]).then((function(_){return k.determineFound("Bazel",_[0],_[1])}))},getCMakeInfo:function(){return k.log("trace","getCMakeInfo"),Promise.all([k.run("cmake --version").then(k.findVersion),k.run("which cmake")]).then((function(_){return k.determineFound("CMake",_[0],_[1])}))},getGCCInfo:function(){return k.log("trace","getGCCInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("gcc -v 2>&1").then(k.findVersion),k.run("which gcc")]).then((function(_){return k.determineFound("GCC",_[0],_[1])})):Promise.resolve(["GCC","N/A"])},getClangInfo:function(){return k.log("trace","getClangInfo"),Promise.all([k.run("clang --version").then(k.findVersion),k.which("clang")]).then((function(_){return k.determineFound("Clang",_[0],_[1])}))},getGitInfo:function(){return k.log("trace","getGitInfo"),Promise.all([k.run("git --version").then(k.findVersion),k.run("which git")]).then((function(_){return k.determineFound("Git",_[0],_[1])}))},getMakeInfo:function(){return k.log("trace","getMakeInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("make --version").then(k.findVersion),k.run("which make")]).then((function(_){return k.determineFound("Make",_[0],_[1])})):Promise.resolve(["Make","N/A"])},getNinjaInfo:function(){return k.log("trace","getNinjaInfo"),Promise.all([k.run("ninja --version").then(k.findVersion),k.run("which ninja")]).then((function(_){return k.determineFound("Ninja",_[0],_[1])}))},getMercurialInfo:function(){return k.log("trace","getMercurialInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("hg --version").then(k.findVersion),k.run("which hg")]).then((function(_){return k.determineFound("Mercurial",_[0],_[1])})):Promise.resolve(["Mercurial","N/A"])},getSubversionInfo:function(){return k.log("trace","getSubversionInfo"),k.isMacOS||k.isLinux?Promise.all([k.run("svn --version").then(k.findVersion),k.run("which svn")]).then((function(_){return k.determineFound("Subversion",_[0],_[1])})):Promise.resolve(["Subversion","N/A"])},getFFmpegInfo:function(){return k.log("trace","getFFmpegInfo"),Promise.all([k.run("ffmpeg -version").then(k.findVersion),k.which("ffmpeg")]).then((function(_){return k.determineFound("FFmpeg",_[0],_[1])}))}}},function(_,E,I){"use strict";I(2);var k=I(1);_.exports={getDockerInfo:function(){return k.log("trace","getDockerInfo"),Promise.all([k.run("docker --version").then(k.findVersion),k.which("docker")]).then((function(_){return k.determineFound("Docker",_[0],_[1])}))},getParallelsInfo:function(){return k.log("trace","getParallelsInfo"),Promise.all([k.run("prlctl --version").then(k.findVersion),k.which("prlctl")]).then((function(_){return k.determineFound("Parallels",_[0],_[1])}))},getVirtualBoxInfo:function(){return k.log("trace","getVirtualBoxInfo"),Promise.all([k.run("vboxmanage --version").then(k.findVersion),k.which("vboxmanage")]).then((function(_){return k.determineFound("VirtualBox",_[0],_[1])}))},getVMwareFusionInfo:function(){return k.log("trace","getVMwareFusionInfo"),k.getDarwinApplicationVersion("com.vmware.fusion").then((function(_){return k.determineFound("VMWare Fusion",_,"N/A")}))}}},function(_,E,I){"use strict";I(162),I(64),I(22),I(16),I(21),I(74);var k=I(163),N=I(1);function i(_,E){return N.log("trace","clean",_),Object.keys(_).reduce((function(I,k){return!E.showNotFound&&"Not Found"===_[k]||"N/A"===_[k]||void 0===_[k]||0===Object.keys(_[k]).length?I:N.isObject(_[k])?Object.values(_[k]).every((function(_){return"N/A"===_||!E.showNotFound&&"Not Found"===_}))?I:Object.assign(I,{[k]:i(_[k],E)}):Object.assign(I,{[k]:_[k]})}),{})}function s(_,E){N.log("trace","formatHeaders"),E||(E={type:"underline"});var I={underline:["",""]};return _.slice().split("\n").map((function(_){if(":"===_.slice("-1")){var k=_.match(/^[\s]*/g)[0];return`${k}${I[E.type][0]}${_.slice(k.length)}${I[E.type][1]}`}return _})).join("\n")}function a(_){return N.log("trace","formatPackages"),_.npmPackages?Object.assign(_,{npmPackages:Object.entries(_.npmPackages||{}).reduce((function(_,E){var I=E[0],k=E[1];if("Not Found"===k)return Object.assign(_,{[I]:k});var N=k.wanted?`${k.wanted} =>`:"",L=Array.isArray(k.installed)?k.installed.join(", "):k.installed,$=k.duplicates?`(${k.duplicates.join(", ")})`:"";return Object.assign(_,{[I]:`${N} ${L} ${$}`})}),{})}):_}function c(_,E,I){return I||(I={emptyMessage:"None"}),Array.isArray(E)&&(E=E.length>0?E.join(", "):I.emptyMessage),{[_]:E}}function u(_){return N.log("trace","serializeArrays"),function e(_,E){return Object.entries(_).reduce((function(_,I){var k=I[0],L=I[1];return N.isObject(L)?Object.assign(_,{[k]:e(L,E)}):Object.assign(_,E(k,L))}),{})}(_,c)}function l(_){return N.log("trace","serializeVersionsAndPaths"),Object.entries(_).reduce((function(_,E){return Object.assign(_,{[E[0]]:Object.entries(E[1]).reduce((function(_,E){var I=E[0],k=E[1];return k.version?Object.assign(_,{[I]:[k.version,k.path].filter(Boolean).join(" - ")}):Object.assign(_,{[I]:[k][0]})}),{})},{})}),{})}function f(_){return k(_,{indent:" ",prefix:"\n",postfix:"\n"})}function p(_){return _.slice().split("\n").map((function(_){if(""!==_){var E=":"===_.slice("-1"),I=_.search(/\S|$/);return E?`${"#".repeat(I/2+1)} `+_.slice(I):" - "+_.slice(I)}return""})).join("\n")}function h(_,E){return E||(E={indent:" "}),JSON.stringify(_,null,E.indent)}_.exports={json:function(_,E){return N.log("trace","formatToJson"),E||(E={}),_=N.pipe([function(){return i(_,E)},E.title?function(_){return{[E.title]:_}}:N.noop,h])(_),_=E.console?`\n${_}\n`:_},markdown:function(_,E){return N.log("trace","formatToMarkdown"),N.pipe([function(){return i(_,E)},a,u,l,f,p,E.title?function(_){return`\n# ${E.title}${_}`}:N.noop])(_,E)},yaml:function(_,E){return N.log("trace","formatToYaml",E),N.pipe([function(){return i(_,E)},a,u,l,E.title?function(_){return{[E.title]:_}}:N.noop,f,E.console?s:N.noop])(_,E)}}},function(_,E,I){I(28)("search",1,(function(_,E,I){return[function(I){"use strict";var k=_(this),N=null==I?void 0:I[E];return void 0!==N?N.call(I,k):new RegExp(I)[E](String(k))},I]}))},function(_,E,I){"use strict";var k=I(164),N=I(165),L=I(169),$=["object","array"];_.exports=function(_,E){var I=N(E),R=I.colors,G=I.prefix,W=I.postfix,q=I.dateToString,U=I.errorToString,H=I.indent,ie=new Map;function d(_){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===Object.keys(_).length)return" {}";var N="\n",R=L(E,H);return Object.keys(_).forEach((function(G){var W=_[G],q=k(W),U=L(I," "),H=-1!==$.indexOf(q)?"":" ",ie=v(W)?" [Circular]":g(q,W,E+1,I);N+=`${U}${R}${G}:${H}${ie}\n`})),N.substring(0,N.length-1)}function m(_){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===_.length)return" []";var N="\n",$=L(E,H);return _.forEach((function(_){var R=k(_),G=L(I," "),W=v(_)?"[Circular]":g(R,_,E,I+1).toString().trimLeft();N+=`${G}${$}- ${W}\n`})),N.substring(0,N.length-1)}function g(_,E,I,k){switch(_){case"array":return m(E,I,k);case"object":return d(E,I,k);case"string":return R.string(E);case"symbol":return R.symbol(E.toString());case"number":return R.number(E);case"boolean":return R.boolean(E);case"null":return R.null("null");case"undefined":return R.undefined("undefined");case"date":return R.date(q(E));case"error":return R.error(U(E));default:return E&&E.toString?E.toString():Object.prototype.toString.call(E)}}function v(_){return-1!==["object","array"].indexOf(k(_))&&(!!ie.has(_)||(ie.set(_),!1))}var pe="";return ie.set(_),"object"===k(_)&&Object.keys(_).length>0?pe=d(_):"array"===k(_)&&_.length>0&&(pe=m(_)),0===pe.length?"":`${G}${pe.slice(1)}${W}`}},function(_,E,I){"use strict";_.exports=function(_){return Array.isArray(_)?"array":_ instanceof Date?"date":_ instanceof Error?"error":null===_?"null":"object"==typeof _&&"[object Object]"===Object.prototype.toString.call(_)?"object":typeof _}},function(_,E,I){"use strict";var k=I(166),N=I(167),L=I(168),$=" ",R="\n",G="";function u(_,E){return void 0===_?E:_}_.exports=function(){var _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{indent:u(_.indent,$),prefix:u(_.prefix,R),postfix:u(_.postfix,G),errorToString:_.errorToString||k,dateToString:_.dateToString||N,colors:Object.assign({},L,_.colors)}}},function(_,E,I){"use strict";_.exports=function(_){return Error.prototype.toString.call(_)}},function(_,E,I){"use strict";_.exports=function(_){return`new Date(${Date.prototype.toISOString.call(_)})`}},function(_,E,I){"use strict";function r(_){return _}_.exports={date:r,error:r,symbol:r,string:r,number:r,boolean:r,null:r,undefined:r}},function(_,E,I){"use strict";_.exports=function(){for(var _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",I="",k=0;k<_;k+=1)I+=E;return I}},function(_,E,I){"use strict";_.exports={defaults:{System:["OS","CPU","Memory","Container","Shell"],Binaries:["Node","Yarn","npm","Watchman"],Managers:["Apt","Cargo","CocoaPods","Composer","Gradle","Homebrew","Maven","pip2","pip3","RubyGems","Yum"],Utilities:["Bazel","CMake","Make","GCC","Git","Clang","Ninja","Mercurial","Subversion","FFmpeg"],Servers:["Apache","Nginx"],Virtualization:["Docker","Parallels","VirtualBox","VMware Fusion"],SDKs:["iOS SDK","Android SDK","Windows SDK"],IDEs:["Android Studio","Atom","Emacs","IntelliJ","NVim","Nano","PhpStorm","Sublime Text","VSCode","Visual Studio","Vim","WebStorm","Xcode"],Languages:["Bash","Go","Elixir","Erlang","Java","Perl","PHP","Protoc","Python","Python3","R","Ruby","Rust","Scala"],Databases:["MongoDB","MySQL","PostgreSQL","SQLite"],Browsers:["Brave Browser","Chrome","Chrome Canary","Chromium","Edge","Firefox","Firefox Developer Edition","Firefox Nightly","Internet Explorer","Safari","Safari Technology Preview"],Monorepos:["Yarn Workspaces","Lerna"],npmPackages:null,npmGlobalPackages:null},jest:{System:["OS","CPU"],Binaries:["Node","Yarn","npm"],npmPackages:["jest"]},"react-native":{System:["OS","CPU"],Binaries:["Node","Yarn","npm","Watchman"],SDKs:["iOS SDK","Android SDK","Windows SDK"],IDEs:["Android Studio","Xcode","Visual Studio"],npmPackages:["react","react-native"],npmGlobalPackages:["react-native-cli"]},nyc:{System:["OS","CPU","Memory"],Binaries:["Node","Yarn","npm"],npmPackages:"/**/{*babel*,@babel/*/,*istanbul*,nyc,source-map-support,typescript,ts-node}"},webpack:{System:["OS","CPU"],Binaries:["Node","Yarn","npm"],npmPackages:"*webpack*",npmGlobalPackages:["webpack","webpack-cli"]},"styled-components":{System:["OS","CPU"],Binaries:["Node","Yarn","npm"],Browsers:["Chrome","Firefox","Safari"],npmPackages:"*styled-components*"},"create-react-app":{System:["OS","CPU"],Binaries:["Node","npm","Yarn"],Browsers:["Chrome","Edge","Internet Explorer","Firefox","Safari"],npmPackages:["react","react-dom","react-scripts"],npmGlobalPackages:["create-react-app"],options:{duplicates:!0,showNotFound:!0}},apollo:{System:["OS"],Binaries:["Node","npm","Yarn"],Browsers:["Chrome","Edge","Firefox","Safari"],npmPackages:"{*apollo*,@apollo/*}",npmGlobalPackages:"{*apollo*,@apollo/*}"},"react-native-web":{System:["OS","CPU"],Binaries:["Node","npm","Yarn"],Browsers:["Chrome","Edge","Internet Explorer","Firefox","Safari"],npmPackages:["react","react-native-web"],options:{showNotFound:!0}},babel:{System:["OS"],Binaries:["Node","npm","Yarn"],Monorepos:["Yarn Workspaces","Lerna"],npmPackages:"{*babel*,@babel/*,eslint,webpack,create-react-app,react-native,lerna,jest}"},playwright:{System:["OS","Memory","Container"],Binaries:["Node","Yarn","npm"],Languages:["Bash"],npmPackages:"playwright*"}}}])},491:E=>{E.exports=_(import.meta.url)("assert")},81:E=>{E.exports=_(import.meta.url)("child_process")},361:E=>{E.exports=_(import.meta.url)("events")},147:E=>{E.exports=_(import.meta.url)("fs")},37:E=>{E.exports=_(import.meta.url)("os")},17:E=>{E.exports=_(import.meta.url)("path")},781:E=>{E.exports=_(import.meta.url)("stream")},837:E=>{E.exports=_(import.meta.url)("util")},598:_=>{_.exports=JSON.parse('{"name":"expo-env-info","version":"1.0.4","preferGlobal":true,"type":"module","keywords":["expo","ios","expo-env-info","android"],"description":"Fetch Expo project information for GitHub issue diagnostics","repository":{"type":"git","url":"https://github.com/expo/expo-cli.git","directory":"packages/expo-env-info"},"author":"Expo <support@expo.dev>","license":"MIT","bin":{"expo-env-info":"./build/index.js"},"files":["build"],"scripts":{"prepare":"yarn run clean && yarn run build:prod","lint":"eslint .","watch":"yarn run build -w","test":"jest","build":"ncc build ./src/index.ts -o build/","build:prod":"ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register","clean":"rimraf ./build/"},"devDependencies":{"@types/envinfo":"^7.8.1"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"dependencies":{"envinfo":"^7.8.1"}}')}};var I={};function __nccwpck_require__(_){var k=I[_];if(k!==undefined){return k.exports}var N=I[_]={exports:{}};var L=true;try{E[_](N,N.exports,__nccwpck_require__);L=false}finally{if(L)delete I[_]}return N.exports}(()=>{__nccwpck_require__.n=_=>{var E=_&&_.__esModule?()=>_["default"]:()=>_;__nccwpck_require__.d(E,{a:E});return E}})();(()=>{__nccwpck_require__.d=(_,E)=>{for(var I in E){if(__nccwpck_require__.o(E,I)&&!__nccwpck_require__.o(_,I)){Object.defineProperty(_,I,{enumerable:true,get:E[I]})}}}})();(()=>{__nccwpck_require__.o=(_,E)=>Object.prototype.hasOwnProperty.call(_,E)})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=new URL(".",import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";var k={};(()=>{var _=__nccwpck_require__(147);var E=__nccwpck_require__(17);var I=__nccwpck_require__.n(E);var k=__nccwpck_require__(152);var N=__nccwpck_require__.n(k);async function*walk(E){for await(const k of await _.promises.readdir(E,{withFileTypes:true})){const _=I().join(E,k.name);if(k.isDirectory()||k.isSymbolicLink()){yield _;yield*walk(_)}else if(k.isFile()){yield _}}}async function findFile(E,k){return _.promises.access(E,_.constants.F_OK).then((async()=>{for await(const _ of walk(E)){if(I().extname(_)===k)return true}return false})).catch((()=>false))}const L=__nccwpck_require__(598);function getEnvironmentInfoAsync(){return N().run({System:["OS","Shell"],Binaries:["Node","Yarn","npm","Watchman"],IDEs:["Xcode","Android Studio"],Managers:["CocoaPods"],SDKs:["iOS SDK","Android SDK"],npmPackages:["expo","react","react-dom","react-native","react-native-web","react-navigation","@expo/webpack-config","@expo/metro-config","babel-preset-expo","metro"],npmGlobalPackages:["expo-cli","eas-cli"]},{title:`expo-env-info ${L.version} environment info`})}async function isInsideProjectAsync(E){try{await _.promises.access(I().join(E||process.cwd(),"./package.json"),_.constants.F_OK);return true}catch(_){return false}}async function isBareWorkflowProject(_){const E=await findFile(I().join(_,"ios"),".xcodeproj");const k=await findFile(I().join(_,"android"),".gradle");return E||k}async function actionAsync(_){process.chdir(_!==null&&_!==void 0?_:process.cwd());const E=await getEnvironmentInfoAsync();const I=E.split("\n");if(await isInsideProjectAsync(_)){const E=await isBareWorkflowProject(_)?"bare":"managed";I.pop();I.push(` Expo Workflow: ${E}`)}console.log(I.join("\n")+"\n")}const packageJson=()=>__nccwpck_require__(598);async function run(){var E;const k=process.argv.slice(2);if(k.some((_=>["-V","-v","--version"].includes(_)))){logVersionAndExit()}if(k.some((_=>["-h","--help"].includes(_)))){logHelpAndExit()}const N=I().resolve(process.cwd(),(E=k[0])!==null&&E!==void 0?E:process.cwd());await _.promises.access(N,_.constants.F_OK).catch((_=>{if(_){console.error(`Project directory ${N} does not exist`);process.exit(1)}}));await actionAsync(N)}function logVersionAndExit(){console.log(packageJson().version);process.exit(0)}function logHelpAndExit(){console.log(`\n Usage: npx expo-env-info [path] [options]\n\n Log environment info to the console\n\n Options:\n\n -h, --help output usage information\n -v, --version output the version number`);process.exit(0)}run()})();
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "expo-env-info",
3
- "version": "1.0.1",
4
- "main": "build",
3
+ "version": "1.0.4",
5
4
  "preferGlobal": true,
5
+ "type": "module",
6
6
  "keywords": [
7
7
  "expo",
8
8
  "ios",
@@ -33,6 +33,12 @@
33
33
  "clean": "rimraf ./build/"
34
34
  },
35
35
  "devDependencies": {
36
- "envinfo": "7.8.1"
36
+ "@types/envinfo": "^7.8.1"
37
+ },
38
+ "engines": {
39
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
40
+ },
41
+ "dependencies": {
42
+ "envinfo": "^7.8.1"
37
43
  }
38
44
  }