expo-env-info 2.0.2 → 2.0.3

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.
Files changed (2) hide show
  1. package/build/index.js +1 -1
  2. package/package.json +3 -3
package/build/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import{createRequire as _}from"module";var E={107:(_,E,j)=>{(()=>{var E={2980:(_,E,j)=>{"use strict";j(7360),j(5888),j(8412),j(3852),j(5584);var A=j(9892),N=j(5008),F=j(5088),B=j(224);function a(_,E){(E=E||{}).clipboard&&console.log("\n*** Clipboard option removed - use clipboardy or clipboard-cli directly ***\n");var j=Object.keys(_).length>0?_:F.defaults,B=Object.entries(j).reduce((function(_,j){var N=j[0],F=j[1],B=A[`get${N}`];return B?(F&&_.push(B(F,E)),_):_=_.concat((F||[]).map((function(_){var E=A[`get${_.replace(/\s/g,"")}Info`];return E?E():Promise.resolve(["Unknown"])})))}),[]);return Promise.all(B).then((function(_){var j=_.reduce((function(_,E){return E&&E[0]&&Object.assign(_,{[E[0]]:E}),_}),{});return function(_,E){var j=E.json?N.json:E.markdown?N.markdown:N.yaml;if(E.console){var A=!1;process.stdout.isTTY&&(A=!0),console.log(j(_,Object.assign({},E,{console:A})))}return j(_,Object.assign({},E,{console:!1}))}(Object.entries(F.defaults).reduce((function(_,E){var A=E[0],N=E[1];return j[A]?Object.assign(_,{[A]:j[A][1]}):Object.assign(_,{[A]:(N||[]).reduce((function(_,E){return j[E]?(j[E].shift(),1===j[E].length?Object.assign(_,{[E]:j[E][0]}):Object.assign(_,{[E]:{version:j[E][0],path:j[E][1]}})):_}),{})})}),{}),E)}))}_.exports={cli:function(_){if(_.all)return a(Object.assign({},F.defaults,{npmPackages:!0,npmGlobalPackages:!0}),_);if(_.raw)return a(JSON.parse(_.raw),_);if(_.helper){var E=A[`get${_.helper}`]||A[`get${_.helper}Info`]||A[_.helper];return E?E().then(console.log):console.error("Not Found")}var r=function(_,E){return _.toLowerCase().includes(E.toLowerCase())},j=Object.keys(_).filter((function(_){return Object.keys(F.defaults).some((function(E){return r(E,_)}))})),N=Object.entries(F.defaults).reduce((function(E,A){return j.some((function(_){return r(_,A[0])}))?Object.assign(E,{[A[0]]:A[1]||_[A[0]]}):E}),{});return _.preset?F[_.preset]?a(Object.assign({},B.omit(F[_.preset],["options"]),N),Object.assign({},F[_.preset].options,B.pick(_,["duplicates","fullTree","json","markdown","console"]))):console.error(`\nNo "${_.preset}" preset found.`):a(N,_)},helpers:A,main:a,run:function(_,E){return"string"==typeof _.preset?a(F[_.preset],E):a(_,E)}}},5008:(_,E,j)=>{"use strict";j(223),j(3852),j(4880),j(3708),j(5584),j(5308);var A=j(6232),N=j(224);function i(_,E){return N.log("trace","clean",_),Object.keys(_).reduce((function(j,A){return!E.showNotFound&&"Not Found"===_[A]||"N/A"===_[A]||void 0===_[A]||0===Object.keys(_[A]).length?j:N.isObject(_[A])?Object.values(_[A]).every((function(_){return"N/A"===_||!E.showNotFound&&"Not Found"===_}))?j:Object.assign(j,{[A]:i(_[A],E)}):Object.assign(j,{[A]:_[A]})}),{})}function s(_,E){N.log("trace","formatHeaders"),E||(E={type:"underline"});var j={underline:["",""]};return _.slice().split("\n").map((function(_){if(":"===_.slice("-1")){var A=_.match(/^[\s]*/g)[0];return`${A}${j[E.type][0]}${_.slice(A.length)}${j[E.type][1]}`}return _})).join("\n")}function a(_){return N.log("trace","formatPackages"),_.npmPackages?Object.assign(_,{npmPackages:Object.entries(_.npmPackages||{}).reduce((function(_,E){var j=E[0],A=E[1];if("Not Found"===A)return Object.assign(_,{[j]:A});var N=A.wanted?`${A.wanted} =>`:"",F=Array.isArray(A.installed)?A.installed.join(", "):A.installed,B=A.duplicates?`(${A.duplicates.join(", ")})`:"";return Object.assign(_,{[j]:`${N} ${F} ${B}`})}),{})}):_}function c(_,E,j){return j||(j={emptyMessage:"None"}),Array.isArray(E)&&(E=E.length>0?E.join(", "):j.emptyMessage),{[_]:E}}function u(_,E){return Object.entries(_).reduce((function(_,j){var A=j[0],F=j[1];return N.isObject(F)?Object.assign(_,{[A]:u(F,E)}):Object.assign(_,E(A,F))}),{})}function l(_){return N.log("trace","serializeArrays"),u(_,c)}function f(_){return N.log("trace","serializeVersionsAndPaths"),Object.entries(_).reduce((function(_,E){return Object.assign(_,{[E[0]]:Object.entries(E[1]).reduce((function(_,E){var j=E[0],A=E[1];return A.version?Object.assign(_,{[j]:[A.version,A.path].filter(Boolean).join(" - ")}):Object.assign(_,{[j]:[A][0]})}),{})},{})}),{})}function p(_){return A(_,{indent:" ",prefix:"\n",postfix:"\n"})}function h(_){return _.slice().split("\n").map((function(_){if(""!==_){var E=":"===_.slice("-1"),j=_.search(/\S|$/);return E?`${"#".repeat(j/2+1)} `+_.slice(j):" - "+_.slice(j)}return""})).join("\n")}function d(_,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,d])(_),_=E.console?`\n${_}\n`:_},markdown:function(_,E){return N.log("trace","formatToMarkdown"),N.pipe([function(){return i(_,E)},a,l,f,p,h,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,l,f,E.title?function(_){return{[E.title]:_}}:N.noop,p,E.console?s:N.noop])(_,E)}}},6732:(_,E,j)=>{"use strict";j(5888);var A=j(224);_.exports={getNodeInfo:function(){return A.log("trace","getNodeInfo"),Promise.all([A.isWindows?A.run("node -v").then(A.findVersion):A.which("node").then((function(_){return _?A.run(_+" -v"):Promise.resolve("")})).then(A.findVersion),A.which("node").then(A.condensePath)]).then((function(_){return A.determineFound("Node",_[0],_[1])}))},getnpmInfo:function(){return A.log("trace","getnpmInfo"),Promise.all([A.run("npm -v"),A.which("npm").then(A.condensePath)]).then((function(_){return A.determineFound("npm",_[0],_[1])}))},getWatchmanInfo:function(){return A.log("trace","getWatchmanInfo"),Promise.all([A.which("watchman").then((function(_){return _?A.run(_+" -v"):void 0})),A.which("watchman")]).then((function(_){return A.determineFound("Watchman",_[0],_[1])}))},getYarnInfo:function(){return A.log("trace","getYarnInfo"),Promise.all([A.run("yarn -v"),A.which("yarn").then(A.condensePath)]).then((function(_){return A.determineFound("Yarn",_[0],_[1])}))},getpnpmInfo:function(){return A.log("trace","getpnpmInfo"),Promise.all([A.run("pnpm -v"),A.which("pnpm").then(A.condensePath)]).then((function(_){return A.determineFound("pnpm",_[0],_[1])}))},getbunInfo:function(){return A.log("trace","getbunInfo"),Promise.all([A.run("bun -v"),A.which("bun").then(A.condensePath)]).then((function(_){return A.determineFound("bun",_[0],_[1])}))}}},2524:(_,E,j)=>{"use strict";j(3708),j(5888),j(8412);var A=j(2058),N=j(8558),F=j(224),B=j(7072);function a(_,E){var j;return(F.isLinux?F.run("firefox --version").then((function(_){return _.replace(/^.* ([^ ]*)/g,"$1")})):F.isMacOS&&"string"==typeof _&&_?F.getDarwinApplicationVersion(_):F.isWindows&&"string"==typeof E&&E?F.windowsExeExists(E).then((function(_){return j=_,_?F.run(`powershell ". '${_}' -v | Write-Output"`).then((function(_){return F.findVersion(_)})):F.NA})):Promise.resolve(F.NA)).then((function(_){return F.determineFound("Firefox",_,j||F.NA)}))}_.exports={getBraveBrowserInfo:function(){return F.log("trace","getBraveBrowser"),(F.isLinux?F.run("brave --version || brave-browser --version").then((function(_){return _.replace(/^.* ([^ ]*)/g,"$1")})):F.isMacOS?F.getDarwinApplicationVersion(F.browserBundleIdentifiers["Brave Browser"]).then(F.findVersion):Promise.resolve("N/A")).then((function(_){return F.determineFound("Brave Browser",_,"N/A")}))},getChromeInfo:function(){var _;if(F.log("trace","getChromeInfo"),F.isLinux)_=F.run("google-chrome --version").then((function(_){return _.replace(" dev","").replace(/^.* ([^ ]*)/g,"$1")}));else if(F.isMacOS)_=F.getDarwinApplicationVersion(F.browserBundleIdentifiers.Chrome).then(F.findVersion);else if(F.isWindows){var E;try{E=F.findVersion(A.readdirSync(B.join(process.env["ProgramFiles(x86)"],"Google/Chrome/Application")).join("\n"))}catch(_){E=F.NotFound}_=Promise.resolve(E)}else _=Promise.resolve("N/A");return _.then((function(_){return F.determineFound("Chrome",_,"N/A")}))},getChromeCanaryInfo:function(){return F.log("trace","getChromeCanaryInfo"),F.getDarwinApplicationVersion(F.browserBundleIdentifiers["Chrome Canary"]).then((function(_){return F.determineFound("Chrome Canary",_,"N/A")}))},getChromiumInfo:function(){return F.log("trace","getChromiumInfo"),(F.isLinux?F.run("chromium --version").then(F.findVersion):Promise.resolve("N/A")).then((function(_){return F.determineFound("Chromium",_,"N/A")}))},getEdgeInfo:function(){var _;if(F.log("trace","getEdgeInfo"),F.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 F.run(`powershell get-appxpackage ${_}`).then((function(_){if(""!==F.findVersion(_))return`${E} (${F.findVersion(_)})`}))}(E[_],_)})).filter((function(_){return void 0!==_})))}else{if(!F.isMacOS)return Promise.resolve("N/A");_=F.getDarwinApplicationVersion(F.browserBundleIdentifiers["Microsoft Edge"])}return _.then((function(_){return F.determineFound("Edge",Array.isArray(_)?_.filter((function(_){return void 0!==_})):_,F.NA)}))},getFirefoxInfo:function(){F.log("trace","getFirefoxInfo"),a(F.browserBundleIdentifiers.Firefox,"Mozilla Firefox/firefox.exe")},getFirefoxDeveloperEditionInfo:function(){F.log("trace","getFirefoxDeveloperEditionInfo"),a(F.browserBundleIdentifiers["Firefox Developer Edition"],"Firefox Developer Edition/firefox.exe")},getFirefoxNightlyInfo:function(){return F.log("trace","getFirefoxNightlyInfo"),(F.isLinux?F.run("firefox-trunk --version").then((function(_){return _.replace(/^.* ([^ ]*)/g,"$1")})):F.isMacOS?F.getDarwinApplicationVersion(F.browserBundleIdentifiers["Firefox Nightly"]):Promise.resolve("N/A")).then((function(_){return F.determineFound("Firefox Nightly",_,"N/A")}))},getInternetExplorerInfo:function(){var _;if(F.log("trace","getInternetExplorerInfo"),F.isWindows){var E=[process.env.SYSTEMDRIVE||"C:","Program Files","Internet Explorer","iexplore.exe"].join("\\\\");_=F.run(`wmic datafile where "name='${E}'" get Version`).then(F.findVersion)}else _=Promise.resolve("N/A");return _.then((function(_){return F.determineFound("Internet Explorer",_,"N/A")}))},getSafariTechnologyPreviewInfo:function(){return F.log("trace","getSafariTechnologyPreviewInfo"),F.getDarwinApplicationVersion(F.browserBundleIdentifiers["Safari Technology Preview"]).then((function(_){return F.determineFound("Safari Technology Preview",_,"N/A")}))},getSafariInfo:function(){return F.log("trace","getSafariInfo"),F.getDarwinApplicationVersion(F.browserBundleIdentifiers.Safari).then((function(_){return F.determineFound("Safari",_,"N/A")}))}}},6620:(_,E,j)=>{"use strict";j(7360),j(5888);var A=j(224);_.exports={getMongoDBInfo:function(){return A.log("trace","getMongoDBInfo"),Promise.all([A.run("mongo --version").then(A.findVersion),A.which("mongo")]).then((function(_){return A.determineFound("MongoDB",_[0],_[1])}))},getMySQLInfo:function(){return A.log("trace","getMySQLInfo"),Promise.all([A.run("mysql --version").then((function(_){return`${A.findVersion(_,null,1)}${_.includes("MariaDB")?" (MariaDB)":""}`})),A.which("mysql")]).then((function(_){return A.determineFound("MySQL",_[0],_[1])}))},getPostgreSQLInfo:function(){return A.log("trace","getPostgreSQLInfo"),Promise.all([A.run("postgres --version").then(A.findVersion),A.which("postgres")]).then((function(_){return A.determineFound("PostgreSQL",_[0],_[1])}))},getSQLiteInfo:function(){return A.log("trace","getSQLiteInfo"),Promise.all([A.run("sqlite3 --version").then(A.findVersion),A.which("sqlite3")]).then((function(_){return A.determineFound("SQLite",_[0],_[1])}))}}},3224:(_,E,j)=>{"use strict";j(3708),j(8412),j(5888);var A=j(7072),N=j(224);_.exports={getAndroidStudioInfo:function(){var _=Promise.resolve("N/A");if(N.isMacOS){var E=[A.join("/","Applications","Android Studio.app","Contents","Info.plist"),A.join(process.env.HOME,"Applications","Android Studio.app","Contents","Info.plist"),A.join("/","Applications","JetBrains Toolbox","Android Studio.app","Contents","Info.plist"),A.join(process.env.HOME,"Applications","JetBrains Toolbox","Android Studio.app","Contents","Info.plist")];_=Promise.all(E.map((function(_){return N.fileExists(_).then((function(E){if(!E)return null;var j=N.generatePlistBuddyCommand(_.replace(/ /g,"\\ "),["CFBundleShortVersionString","CFBundleVersion"]);return N.run(j).then((function(_){return _.split("\n").join(" ")}))}))}))).then((function(_){return _.find((function(_){return null!==_}))||N.NotFound}))}else 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})));return _.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.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"])}}},9892:(_,E,j)=>{"use strict";function n(_,E,j){return E in _?Object.defineProperty(_,E,{value:j,enumerable:!0,configurable:!0,writable:!0}):_[E]=j,_}j(5584);var A=j(6304),N=j(224),F=j(6732),B=j(2524),R=j(6620),G=j(3224),W=j(6436),K=j(760),U=j(2060),Y=j(7508),ie=j(9284),pe=j(8144),he=j(5882),de=j(9676);_.exports=Object.assign({},N,A,function(_){for(var E=1;E<arguments.length;E++){var j=null!=arguments[E]?arguments[E]:{},A=Object.keys(j);"function"==typeof Object.getOwnPropertySymbols&&(A=A.concat(Object.getOwnPropertySymbols(j).filter((function(_){return Object.getOwnPropertyDescriptor(j,_).enumerable})))),A.forEach((function(E){n(_,E,j[E])}))}return _}({},F,B,R,G,W,K,U,Y,ie,pe,he,de))},6436:(_,E,j)=>{"use strict";j(5888);var A=j(224);_.exports={getBashInfo:function(){return A.log("trace","getBashInfo"),Promise.all([A.run("bash --version").then(A.findVersion),A.which("bash")]).then((function(_){return A.determineFound("Bash",_[0],_[1])}))},getElixirInfo:function(){return A.log("trace","getElixirInfo"),Promise.all([A.run("elixir --version").then((function(_){return A.findVersion(_,/[Elixir]+\s([\d+.[\d+|.]+)/,1)})),A.which("elixir")]).then((function(_){return Promise.resolve(A.determineFound("Elixir",_[0],_[1]))}))},getErlangInfo:function(){return A.log("trace","getErlangInfo"),Promise.all([A.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(A.findVersion),A.which("erl")]).then((function(_){return Promise.resolve(A.determineFound("Erlang",_[0],_[1]))}))},getGoInfo:function(){return A.log("trace","getGoInfo"),Promise.all([A.run("go version").then(A.findVersion),A.which("go")]).then((function(_){return A.determineFound("Go",_[0],_[1])}))},getJavaInfo:function(){return A.log("trace","getJavaInfo"),Promise.all([A.run("javac -version",{unify:!0}).then((function(_){return A.findVersion(_,/\d+\.[\w+|.|_|-]+/)})),A.run("which javac")]).then((function(_){return A.determineFound("Java",_[0],_[1])}))},getPerlInfo:function(){return A.log("trace","getPerlInfo"),Promise.all([A.run("perl -v").then(A.findVersion),A.which("perl")]).then((function(_){return A.determineFound("Perl",_[0],_[1])}))},getPHPInfo:function(){return A.log("trace","getPHPInfo"),Promise.all([A.run("php -v").then(A.findVersion),A.which("php")]).then((function(_){return A.determineFound("PHP",_[0],_[1])}))},getProtocInfo:function(){return A.log("trace","getProtocInfo"),Promise.all([A.run("protoc --version").then(A.findVersion),A.run("which protoc")]).then((function(_){return A.determineFound("Protoc",_[0],_[1])}))},getPythonInfo:function(){return A.log("trace","getPythonInfo"),Promise.all([A.run("python -V 2>&1").then(A.findVersion),A.run("which python")]).then((function(_){return A.determineFound("Python",_[0],_[1])}))},getPython3Info:function(){return A.log("trace","getPython3Info"),Promise.all([A.run("python3 -V 2>&1").then(A.findVersion),A.run("which python3")]).then((function(_){return A.determineFound("Python3",_[0],_[1])}))},getRInfo:function(){return A.log("trace","getRInfo"),Promise.all([A.run("R --version",{unify:!0}).then(A.findVersion),A.which("R")]).then((function(_){return A.determineFound("R",_[0],_[1])}))},getRubyInfo:function(){return A.log("trace","getRubyInfo"),Promise.all([A.run("ruby -v").then(A.findVersion),A.which("ruby")]).then((function(_){return A.determineFound("Ruby",_[0],_[1])}))},getRustInfo:function(){return A.log("trace","getRustInfo"),Promise.all([A.run("rustc --version").then(A.findVersion),A.run("which rustc")]).then((function(_){return A.determineFound("Rust",_[0],_[1])}))},getScalaInfo:function(){return A.log("trace","getScalaInfo"),A.isMacOS||A.isLinux?Promise.all([A.run("scalac -version").then(A.findVersion),A.run("which scalac")]).then((function(_){return A.determineFound("Scala",_[0],_[1])})):Promise.resolve(["Scala","N/A"])}}},760:(_,E,j)=>{"use strict";j(5888);var A=j(224);_.exports={getAptInfo:function(){return A.log("trace","getAptInfo"),A.isLinux?Promise.all([A.run("apt --version").then(A.findVersion),A.which("apt")]).then((function(_){return A.determineFound("Apt",_[0],_[1])})):Promise.all(["Apt","N/A"])},getCargoInfo:function(){return A.log("trace","getCargoInfo"),Promise.all([A.run("cargo --version").then(A.findVersion),A.which("cargo").then(A.condensePath)]).then((function(_){return A.determineFound("Cargo",_[0],_[1])}))},getCocoaPodsInfo:function(){return A.log("trace","getCocoaPodsInfo"),A.isMacOS?Promise.all([A.run("pod --version").then(A.findVersion),A.which("pod")]).then((function(_){return A.determineFound("CocoaPods",_[0],_[1])})):Promise.all(["CocoaPods","N/A"])},getComposerInfo:function(){return A.log("trace","getComposerInfo"),Promise.all([A.run("composer --version").then(A.findVersion),A.which("composer").then(A.condensePath)]).then((function(_){return A.determineFound("Composer",_[0],_[1])}))},getGradleInfo:function(){return A.log("trace","getGradleInfo"),Promise.all([A.run("gradle --version").then(A.findVersion),A.which("gradle").then(A.condensePath)]).then((function(_){return A.determineFound("Gradle",_[0],_[1])}))},getHomebrewInfo:function(){return A.log("trace","getHomebrewInfo"),A.isMacOS||A.isLinux?Promise.all([A.run("brew --version").then(A.findVersion),A.which("brew")]).then((function(_){return A.determineFound("Homebrew",_[0],_[1])})):Promise.all(["Homebrew","N/A"])},getMavenInfo:function(){return A.log("trace","getMavenInfo"),Promise.all([A.run("mvn --version").then(A.findVersion),A.which("mvn").then(A.condensePath)]).then((function(_){return A.determineFound("Maven",_[0],_[1])}))},getpip2Info:function(){return A.log("trace","getpip2Info"),Promise.all([A.run("pip2 --version").then(A.findVersion),A.which("pip2").then(A.condensePath)]).then((function(_){return A.determineFound("pip2",_[0],_[1])}))},getpip3Info:function(){return A.log("trace","getpip3Info"),Promise.all([A.run("pip3 --version").then(A.findVersion),A.which("pip3").then(A.condensePath)]).then((function(_){return A.determineFound("pip3",_[0],_[1])}))},getRubyGemsInfo:function(){return A.log("trace","getRubyGemsInfo"),Promise.all([A.run("gem --version").then(A.findVersion),A.which("gem")]).then((function(_){return A.determineFound("RubyGems",_[0],_[1])}))},getYumInfo:function(){return A.log("trace","getYumInfo"),A.isLinux?Promise.all([A.run("yum --version").then(A.findVersion),A.which("yum")]).then((function(_){return A.determineFound("Yum",_[0],_[1])})):Promise.all(["Yum","N/A"])}}},2060:(_,E,j)=>{"use strict";j(5888);var A=j(224),N=j(7072);_.exports={getYarnWorkspacesInfo:function(){return A.log("trace","getYarnWorkspacesInfo"),Promise.all([A.run("yarn -v"),A.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 A.log("trace","getLernaInfo"),Promise.all([A.getPackageJsonByName("lerna").then((function(_){return _&&_.version})),A.fileExists(N.join(process.cwd(),"lerna.json"))]).then((function(_){var E="Lerna";return _[0]&&_[1]?Promise.resolve([E,_[0]]):Promise.resolve([E,"Not Found"])}))}}},7508:(_,E,j)=>{"use strict";j(4880),j(5888),j(3708);var A=j(2058),N=j(7072),F=j(224);_.exports={getAndroidSDKInfo:function(){return F.run("sdkmanager --list").then((function(_){return!_&&process.env.ANDROID_HOME?F.run(`${process.env.ANDROID_HOME}/tools/bin/sdkmanager --list`):_})).then((function(_){return!_&&process.env.ANDROID_HOME?F.run(`${process.env.ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --list`):_})).then((function(_){return!_&&F.isMacOS?F.run("~/Library/Android/sdk/tools/bin/sdkmanager --list"):_})).then((function(_){var E=F.parseSDKManagerOutput(_),r=function(_){var E,j=N.join(_,"source.properties");try{E=A.readFileSync(j,"utf8")}catch(_){if("ENOENT"===_.code)return;throw _}for(var F=E.split("\n"),B=0;B<F.length;B+=1){var R=F[B].split("=");if(2===R.length&&"Pkg.Revision"===R[0].trim())return R[1].trim()}},j=process.env.ANDROID_NDK?r(process.env.ANDROID_NDK):process.env.ANDROID_NDK_HOME?r(process.env.ANDROID_NDK_HOME):process.env.ANDROID_HOME?r(N.join(process.env.ANDROID_HOME,"ndk-bundle")):void 0;return E.buildTools.length||E.apiLevels.length||E.systemImages.length||j?Promise.resolve(["Android SDK",{"API Levels":E.apiLevels||F.NotFound,"Build Tools":E.buildTools||F.NotFound,"System Images":E.systemImages||F.NotFound,"Android NDK":j||F.NotFound}]):Promise.resolve(["Android SDK",F.NotFound])}))},getiOSSDKInfo:function(){return F.isMacOS?F.run("xcodebuild -showsdks").then((function(_){return _.match(/[\w]+\s[\d|.]+/g)})).then(F.uniq).then((function(_){return _.length?["iOS SDK",{Platforms:_}]:["iOS SDK",F.NotFound]})):Promise.resolve(["iOS SDK","N/A"])},getWindowsSDKInfo:function(){if(F.log("trace","getWindowsSDKInfo"),F.isWindows){var _=F.NotFound;return F.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 j=E.match(/[^\s]+/g);return"0x0"!==j[2]&&"0x1"!==j[2]||(j[2]="0x1"===j[2]?"Enabled":"Disabled"),_[j[0]]=j[2],_}),{}),0===Object.keys(_).length&&(_=F.NotFound);try{var j=A.readdirSync(`${process.env["ProgramFiles(x86)"]}/Windows Kits/10/Platforms/UAP`);_.Versions=j}catch(_){}return Promise.resolve(["Windows SDK",_])}))}return Promise.resolve(["Windows SDK",F.NA])}}},9284:(_,E,j)=>{"use strict";j(5888);var A=j(224);_.exports={getApacheInfo:function(){return A.log("trace","getApacheInfo"),A.isMacOS||A.isLinux?Promise.all([A.run("apachectl -v").then(A.findVersion),A.run("which apachectl")]).then((function(_){return A.determineFound("Apache",_[0],_[1])})):Promise.resolve(["Apache","N/A"])},getNginxInfo:function(){return A.log("trace","getNginxInfo"),A.isMacOS||A.isLinux?Promise.all([A.run("nginx -v 2>&1").then(A.findVersion),A.run("which nginx")]).then((function(_){return A.determineFound("Nginx",_[0],_[1])})):Promise.resolve(["Nginx","N/A"])}}},8144:(_,E,j)=>{"use strict";j(3708),j(4880),j(5888);var A=j(2288),N=j(224),F=j(8558);_.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=F.cpus();_="("+E.length+") "+F.arch()+" "+E[0].model}catch(E){_="Unknown"}return Promise.all(["CPU",_])},getMemoryInfo:function(){return N.log("trace","getMemoryInfo"),Promise.all(["Memory",`${N.toReadableBytes(F.freemem())} / ${N.toReadableBytes(F.totalmem())}`])},getOSInfo:function(){var _,E;if(N.log("trace","getOSInfo"),N.isMacOS)_=N.run("sw_vers -productVersion ");else if(N.isLinux)_=N.run("cat /etc/os-release").then((function(_){var E=(_||"").match(/NAME="(.+)"/)||"",j=(_||"").match(/VERSION="(.+)"/)||["",""],A=null!==j?j[1]:"";return`${E[1]} ${A}`.trim()||""}));else if(N.isWindows){_=Promise.resolve(F.release());var j=F.release().split(".");"10"===j[0]&&"0"===j[1]&&j[2]>=22e3&&(E="Windows 11")}else _=Promise.resolve();return _.then((function(_){return E=E||A(F.platform(),F.release()),_&&(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"])}}},5882:(_,E,j)=>{"use strict";j(5888);var A=j(224);_.exports={getBazelInfo:function(){return A.log("trace","getBazelInfo"),Promise.all([A.run("bazel --version").then(A.findVersion),A.run("which bazel")]).then((function(_){return A.determineFound("Bazel",_[0],_[1])}))},getCMakeInfo:function(){return A.log("trace","getCMakeInfo"),Promise.all([A.run("cmake --version").then(A.findVersion),A.run("which cmake")]).then((function(_){return A.determineFound("CMake",_[0],_[1])}))},getGCCInfo:function(){return A.log("trace","getGCCInfo"),A.isMacOS||A.isLinux?Promise.all([A.run("gcc -v 2>&1").then(A.findVersion),A.run("which gcc")]).then((function(_){return A.determineFound("GCC",_[0],_[1])})):Promise.resolve(["GCC","N/A"])},getClangInfo:function(){return A.log("trace","getClangInfo"),Promise.all([A.run("clang --version").then(A.findVersion),A.which("clang")]).then((function(_){return A.determineFound("Clang",_[0],_[1])}))},getGitInfo:function(){return A.log("trace","getGitInfo"),Promise.all([A.run("git --version").then(A.findVersion),A.run("which git")]).then((function(_){return A.determineFound("Git",_[0],_[1])}))},getMakeInfo:function(){return A.log("trace","getMakeInfo"),A.isMacOS||A.isLinux?Promise.all([A.run("make --version").then(A.findVersion),A.run("which make")]).then((function(_){return A.determineFound("Make",_[0],_[1])})):Promise.resolve(["Make","N/A"])},getNinjaInfo:function(){return A.log("trace","getNinjaInfo"),Promise.all([A.run("ninja --version").then(A.findVersion),A.run("which ninja")]).then((function(_){return A.determineFound("Ninja",_[0],_[1])}))},getMercurialInfo:function(){return A.log("trace","getMercurialInfo"),A.isMacOS||A.isLinux?Promise.all([A.run("hg --version").then(A.findVersion),A.run("which hg")]).then((function(_){return A.determineFound("Mercurial",_[0],_[1])})):Promise.resolve(["Mercurial","N/A"])},getSubversionInfo:function(){return A.log("trace","getSubversionInfo"),A.isMacOS||A.isLinux?Promise.all([A.run("svn --version").then(A.findVersion),A.run("which svn")]).then((function(_){return A.determineFound("Subversion",_[0],_[1])})):Promise.resolve(["Subversion","N/A"])},getFFmpegInfo:function(){return A.log("trace","getFFmpegInfo"),Promise.all([A.run("ffmpeg -version").then(A.findVersion),A.which("ffmpeg")]).then((function(_){return A.determineFound("FFmpeg",_[0],_[1])}))},getCurlInfo:function(){return A.log("trace","getCurlInfo"),Promise.all([A.run("curl --version").then(A.findVersion),A.which("curl")]).then((function(_){return A.determineFound("Curl",_[0],_[1])}))},getOpenSSLInfo:function(){return A.log("trace","getOpenSSLInfo"),Promise.all([A.run("openssl version").then(A.findVersion),A.which("openssl")]).then((function(_){return A.determineFound("OpenSSL",_[0],_[1])}))}}},9676:(_,E,j)=>{"use strict";j(5888);var A=j(224);_.exports={getDockerInfo:function(){return A.log("trace","getDockerInfo"),Promise.all([A.run("docker --version").then(A.findVersion),A.which("docker")]).then((function(_){return A.determineFound("Docker",_[0],_[1])}))},getDockerComposeInfo:function(){return A.log("trace","getDockerComposeInfo"),Promise.all([A.run("docker-compose --version").then(A.findVersion),A.which("docker-compose")]).then((function(_){return A.determineFound("Docker Compose",_[0],_[1])}))},getParallelsInfo:function(){return A.log("trace","getParallelsInfo"),Promise.all([A.run("prlctl --version").then(A.findVersion),A.which("prlctl")]).then((function(_){return A.determineFound("Parallels",_[0],_[1])}))},getPodmanInfo:function(){return A.log("trace","getPodmanInfo"),Promise.all([A.run("podman --version").then(A.findVersion),A.which("podman")]).then((function(_){return A.determineFound("Podman",_[0],_[1])}))},getVirtualBoxInfo:function(){return A.log("trace","getVirtualBoxInfo"),Promise.all([A.run("vboxmanage --version").then(A.findVersion),A.which("vboxmanage")]).then((function(_){return A.determineFound("VirtualBox",_[0],_[1])}))},getVMwareFusionInfo:function(){return A.log("trace","getVMwareFusionInfo"),A.getDarwinApplicationVersion("com.vmware.fusion").then((function(_){return A.determineFound("VMWare Fusion",_,"N/A")}))}}},6032:_=>{"use strict";_.exports={androidSystemImages:/system-images;([\S \t]+)/g,androidAPILevels:/platforms;android-(\d+)[\S\s]/g,androidBuildTools:/build-tools;([\d|.]+)[\S\s]/g}},6304:(_,E,j)=>{"use strict";j(4880),j(5584),j(5888),j(7360),j(3708);var A=j(808),N=j(7072),F=j(224),s=function(_){var E=_.split("node_modules"+N.sep),j=E[E.length-1];return"@"===j.charAt(0)?[j.split(N.sep)[0],j.split(N.sep)[1]].join("/"):j.split(N.sep)[0]};_.exports={getnpmPackages:function(_,E){F.log("trace","getnpmPackages"),E||(E={});var j=null,A=null;return"string"==typeof _&&(_.includes("*")||_.includes("?")||_.includes("+")||_.includes("!")?j=_:_=_.split(",")),Promise.all(["npmPackages",F.getPackageJsonByPath("package.json").then((function(_){return Object.assign({},(_||{}).devDependencies||{},(_||{}).dependencies||{})})).then((function(_){return A=_,E.fullTree||E.duplicates||j?F.getAllPackageJsonPaths(j):Promise.resolve(Object.keys(_||[]).map((function(_){return N.join("node_modules",_,"package.json")})))})).then((function(N){return!j&&"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(A||[]).includes(s(_))})))})).then((function(_){return Promise.all([_,Promise.all(_.map((function(_){return F.getPackageJsonByPath(_)})))])})).then((function(_){var j=_[0],N=_[1].reduce((function(_,A,N){return A&&A.name?(_[A.name]||(_[A.name]={}),E.duplicates&&(_[A.name].duplicates=F.uniq((_[A.name].duplicates||[]).concat(A.version))),1===(j[N].match(/node_modules/g)||[]).length&&(_[A.name].installed=A.version),_):_}),{});return Object.keys(N).forEach((function(_){N[_].duplicates&&N[_].installed&&(N[_].duplicates=N[_].duplicates.filter((function(E){return E!==N[_].installed}))),A[_]&&(N[_].wanted=A[_])})),N})).then((function(j){return E.showNotFound&&Array.isArray(_)&&_.forEach((function(_){j[_]||(j[_]="Not Found")})),j})).then((function(_){return F.sortObject(_)}))])},getnpmGlobalPackages:function(_,E){F.log("trace","getnpmGlobalPackages",_);var j=null;return"string"==typeof _?_.includes("*")||_.includes("?")||_.includes("+")||_.includes("!")?j=_:_=_.split(","):Array.isArray(_)||(_=!0),Promise.all(["npmGlobalPackages",F.run("npm get prefix --global").then((function(_){return new Promise((function(E,B){return A(N.join(_,F.isWindows?"":"lib","node_modules",j||"{*,@*/*}","package.json"),(function(_,j){_||E(j),B(_)}))}))})).then((function(E){return Promise.all(E.filter((function(E){return"boolean"==typeof _||null!==j||_.includes(s(E))})).map((function(_){return F.getPackageJsonByFullPath(_)})))})).then((function(_){return _.reduce((function(_,E){return E?Object.assign(_,{[E.name]:E.version}):_}),{})})).then((function(j){return E.showNotFound&&Array.isArray(_)&&_.forEach((function(_){j[_]||(j[_]="Not Found")})),j}))])}}},5088:_=>{"use strict";_.exports={defaults:{System:["OS","CPU","Memory","Container","Shell"],Binaries:["Node","Yarn","npm","pnpm","bun","Watchman"],Managers:["Apt","Cargo","CocoaPods","Composer","Gradle","Homebrew","Maven","pip2","pip3","RubyGems","Yum"],Utilities:["Bazel","CMake","Make","GCC","Git","Clang","Ninja","Mercurial","Subversion","FFmpeg","Curl","OpenSSL"],Servers:["Apache","Nginx"],Virtualization:["Docker","Docker Compose","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","pnpm","bun"],npmPackages:["jest"]},"react-native":{System:["OS","CPU"],Binaries:["Node","Yarn","npm","pnpm","bun","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","pnpm","bun"],npmPackages:"/**/{*babel*,@babel/*/,*istanbul*,nyc,source-map-support,typescript,ts-node}"},webpack:{System:["OS","CPU"],Binaries:["Node","Yarn","npm","pnpm","bun"],npmPackages:"*webpack*",npmGlobalPackages:["webpack","webpack-cli"]},"styled-components":{System:["OS","CPU"],Binaries:["Node","Yarn","npm","pnpm","bun"],Browsers:["Chrome","Firefox","Safari"],npmPackages:"*styled-components*"},"create-react-app":{System:["OS","CPU"],Binaries:["Node","npm","Yarn","pnpm","bun"],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","pnpm","bun"],Browsers:["Chrome","Edge","Firefox","Safari"],npmPackages:"{*apollo*,@apollo/*}",npmGlobalPackages:"{*apollo*,@apollo/*}"},"react-native-web":{System:["OS","CPU"],Binaries:["Node","npm","Yarn","pnpm","bun"],Browsers:["Chrome","Edge","Internet Explorer","Firefox","Safari"],npmPackages:["react","react-native-web"],options:{showNotFound:!0}},babel:{System:["OS"],Binaries:["Node","npm","Yarn","pnpm","bun"],Monorepos:["Yarn Workspaces","Lerna"],npmPackages:"{*babel*,@babel/*,eslint,webpack,create-react-app,react-native,lerna,jest}"},playwright:{System:["OS","CPU","Memory","Container"],Binaries:["Node","Yarn","npm","pnpm","bun"],Languages:["Bash"],IDEs:["VSCode"],npmPackages:"{playwright*,@playwright/*}"}}},224:(_,E,j)=>{"use strict";j(4880),j(4260),j(5584),j(7276),j(4228),j(3708),j(8412),j(5308),j(6568),j(5888);var A=j(7072),N=j(2058),F=j(8558),B=j(4368),R=j(8460),G=j(808),W=j(6032),l=function(_){var E=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).unify,j=void 0!==E&&E;return new Promise((function(E){B.exec(_,{stdio:[0,"pipe","ignore"]},(function(_,A,N){var F;F=j?A.toString()+N.toString():A.toString(),E((_?"":F).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(_,j){return E(j||null)}))}))},h=function(_){return p(_).then((function(_){return _?JSON.parse(_):null}))},K=/\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 j=(E||["CFBundleShortVersionString"]).map((function(_){return"-c Print:"+_}));return["/usr/libexec/PlistBuddy"].concat(j).concat([_]).join(" ")},v=function(_,E){for(var j=[],A=null;null!==(A=_.exec(E));)j.push(A);return j};_.exports={run:l,log:f,fileExists:function(_){return new Promise((function(E){N.stat(_,(function(j){return E(j?null:_)}))}))},windowsExeExists:function(_){return new Promise((function(E){var j;N.access(j=A.join(process.env.ProgramFiles,`${_}`),N.constants.R_OK,(function(F){F?N.access(j=A.join(process.env["ProgramFiles(x86)"],`${_}`),N.constants.X_OK,(function(_){E(_?null:j)})):E(j)}))}))},readFile:p,requireJson:h,versionRegex:K,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(B.execSync(_,{stdio:[0,"pipe","ignore"]}).toString()||"").trim()},which:function(_){return new Promise((function(E){return R(_,(function(_,j){return E(j)}))}))},getDarwinApplicationVersion:function(_){var E;return f("trace","getDarwinApplicationVersion",_),E="darwin"!==process.platform?"N/A":m(_).then((function(_){return l(g(A.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,j){return Object.assign(E,{[j]:_[j]})}),{})},pick:function(_,E){return Object.keys(_).filter((function(_){return E.indexOf(_)>=0})).reduce((function(E,j){return Object.assign(E,{[j]:_[j]})}),{})},getPackageJsonByName:function(_){return h(A.join(process.cwd(),"node_modules",_,"package.json"))},getPackageJsonByPath:function(_){return h(A.join(process.cwd(),_))},getPackageJsonByFullPath:function(_){return f("trace","getPackageJsonByFullPath",_),h(_)},getAllPackageJsonPaths:function(_){return f("trace","getAllPackageJsonPaths",_),new Promise((function(E){return G(_?A.join("node_modules",_,"package.json"):A.join("node_modules","**","package.json"),(function(_,j){return E(j.map(A.normalize)||[])}))}))},sortObject:function(_){return Object.keys(_).sort().reduce((function(E,j){return E[j]=_[j],E}),{})},findVersion:function(_,E,j){f("trace","findVersion",_,E,j);var A=j||0,N=E||K,F=_.match(N);return F?F[A]:_},condensePath:function(_){return(_||"").replace(F.homedir(),"~")},determineFound:function(_,E,j){return f("trace","determineFound",_,E,j),"N/A"===E?Promise.resolve([_,"N/A"]):E&&0!==Object.keys(E).length?j?Promise.resolve([_,E,j]):Promise.resolve([_,E]):Promise.resolve([_,"Not Found"])}}},9016:_=>{"use strict";function t(_,E,j){_ instanceof RegExp&&(_=r(_,j)),E instanceof RegExp&&(E=r(E,j));var A=n(_,E,j);return A&&{start:A[0],end:A[1],pre:j.slice(0,A[0]),body:j.slice(A[0]+_.length,A[1]),post:j.slice(A[1]+E.length)}}function r(_,E){var j=E.match(_);return j?j[0]:null}function n(_,E,j){var A,N,F,B,R,G=j.indexOf(_),W=j.indexOf(E,G+1),K=G;if(G>=0&&W>0){for(A=[],F=j.length;K>=0&&!R;)K==G?(A.push(K),G=j.indexOf(_,K+1)):1==A.length?R=[A.pop(),W]:((N=A.pop())<F&&(F=N,B=W),W=j.indexOf(E,K+1)),K=G<W&&G>=0?G:W;A.length&&(R=[F,B])}return R}_.exports=t,t.range=n},1620:(_,E,j)=>{var A=j(6596),N=j(9016);_.exports=function(_){return _?("{}"===_.substr(0,2)&&(_="\\{\\}"+_.substr(2)),v(function(_){return _.split("\\\\").join(F).split("\\{").join(B).split("\\}").join(R).split("\\,").join(G).split("\\.").join(W)}(_),!0).map(f)):[]};var F="\0SLASH"+Math.random()+"\0",B="\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(F).join("\\").split(B).join("{").split(R).join("}").split(G).join(",").split(W).join(".")}function p(_){if(!_)return[""];var E=[],j=N("{","}",_);if(!j)return _.split(",");var A=j.pre,F=j.body,B=j.post,R=A.split(",");R[R.length-1]+="{"+F+"}";var G=p(B);return B.length&&(R[R.length-1]+=G.shift(),R.push.apply(R,G)),E.push.apply(E,R),E}function h(_){return"{"+_+"}"}function d(_){return/^-?0\d/.test(_)}function m(_,E){return _<=E}function g(_,E){return _>=E}function v(_,E){var j=[],F=N("{","}",_);if(!F||/\$$/.test(F.pre))return[_];var B,G=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(F.body),W=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(F.body),K=G||W,U=F.body.indexOf(",")>=0;if(!K&&!U)return F.post.match(/,.*\}/)?v(_=F.pre+"{"+F.body+R+F.post):[_];if(K)B=F.body.split(/\.\./);else if(1===(B=p(F.body)).length&&1===(B=v(B[0],!1).map(h)).length)return(pe=F.post.length?v(F.post,!1):[""]).map((function(_){return F.pre+B[0]+_}));var Y,ie=F.pre,pe=F.post.length?v(F.post,!1):[""];if(K){var he=l(B[0]),de=l(B[1]),me=Math.max(B[0].length,B[1].length),ge=3==B.length?Math.abs(l(B[2])):1,ve=m;de<he&&(ge*=-1,ve=g);var ye=B.some(d);Y=[];for(var be=he;ve(be,de);be+=ge){var we;if(W)"\\"===(we=String.fromCharCode(be))&&(we="");else if(we=String(be),ye){var xe=me-we.length;if(xe>0){var Se=new Array(xe+1).join("0");we=be<0?"-"+Se+we.slice(1):Se+we}}Y.push(we)}}else Y=A(B,(function(_){return v(_,!1)}));for(var _e=0;_e<Y.length;_e++)for(var Pe=0;Pe<pe.length;Pe++){var Oe=ie+Y[_e]+pe[Pe];(!E||K||Oe)&&j.push(Oe)}return j}},6596:_=>{_.exports=function(_,j){for(var A=[],N=0;N<_.length;N++){var F=j(_[N],N);E(F)?A.push.apply(A,F):A.push(F)}return A};var E=Array.isArray||function(_){return"[object Array]"===Object.prototype.toString.call(_)}},2016:_=>{_.exports=function(_){if("function"!=typeof _)throw TypeError(_+" is not a function!");return _}},7384:(_,E,j)=>{var A=j(7096)("unscopables"),N=Array.prototype;null==N[A]&&j(2336)(N,A,{}),_.exports=function(_){N[A][_]=!0}},2388:_=>{_.exports=function(_,E,j,A){if(!(_ instanceof E)||void 0!==A&&A in _)throw TypeError(j+": incorrect invocation!");return _}},3504:(_,E,j)=>{var A=j(3888);_.exports=function(_){if(!A(_))throw TypeError(_+" is not an object!");return _}},7504:(_,E,j)=>{var A=j(2780),N=j(3528),F=j(8508);_.exports=function(_){return function(E,j,B){var R,G=A(E),W=N(G.length),K=F(B,W);if(_&&j!=j){for(;W>K;)if((R=G[K++])!=R)return!0}else for(;W>K;K++)if((_||K in G)&&G[K]===j)return _||K||0;return!_&&-1}}},5848:(_,E,j)=>{var A=j(6924),N=j(7096)("toStringTag"),F="Arguments"==A(function(){return arguments}());_.exports=function(_){var E,j,B;return void 0===_?"Undefined":null===_?"Null":"string"==typeof(j=function(_,E){try{return _[E]}catch(_){}}(E=Object(_),N))?j:F?A(E):"Object"==(B=A(E))&&"function"==typeof E.callee?"Arguments":B}},6924:_=>{var E={}.toString;_.exports=function(_){return E.call(_).slice(8,-1)}},148:(_,E,j)=>{"use strict";var A=j(8520).f,N=j(3472),F=j(7704),B=j(800),R=j(2388),G=j(7228),W=j(6952),K=j(172),U=j(3384),Y=j(1668),ie=j(2020).fastKey,pe=j(2772),he=Y?"_s":"size",g=function(_,E){var j,A=ie(E);if("F"!==A)return _._i[A];for(j=_._f;j;j=j.n)if(j.k==E)return j};_.exports={getConstructor:function(_,E,j,W){var K=_((function(_,A){R(_,K,E,"_i"),_._t=E,_._i=N(null),_._f=void 0,_._l=void 0,_[he]=0,null!=A&&G(A,j,_[W],_)}));return F(K.prototype,{clear:function(){for(var _=pe(this,E),j=_._i,A=_._f;A;A=A.n)A.r=!0,A.p&&(A.p=A.p.n=void 0),delete j[A.i];_._f=_._l=void 0,_[he]=0},delete:function(_){var j=pe(this,E),A=g(j,_);if(A){var N=A.n,F=A.p;delete j._i[A.i],A.r=!0,F&&(F.n=N),N&&(N.p=F),j._f==A&&(j._f=N),j._l==A&&(j._l=F),j[he]--}return!!A},forEach:function(_){pe(this,E);for(var j,A=B(_,arguments.length>1?arguments[1]:void 0,3);j=j?j.n:this._f;)for(A(j.v,j.k,this);j&&j.r;)j=j.p},has:function(_){return!!g(pe(this,E),_)}}),Y&&A(K.prototype,"size",{get:function(){return pe(this,E)[he]}}),K},def:function(_,E,j){var A,N,F=g(_,E);return F?F.v=j:(_._l=F={i:N=ie(E,!0),k:E,v:j,p:A=_._l,n:void 0,r:!1},_._f||(_._f=F),A&&(A.n=F),_[he]++,"F"!==N&&(_._i[N]=F)),_},getEntry:g,setStrong:function(_,E,j){W(_,E,(function(_,j){this._t=pe(_,E),this._k=j,this._l=void 0}),(function(){for(var _=this,E=_._k,j=_._l;j&&j.r;)j=j.p;return _._t&&(_._l=j=j?j.n:_._t._f)?K(0,"keys"==E?j.k:"values"==E?j.v:[j.k,j.v]):(_._t=void 0,K(1))}),j?"entries":"values",!j,!0),U(E)}}},9412:(_,E,j)=>{"use strict";var A=j(2804),N=j(7076),F=j(8868),B=j(7704),R=j(2020),G=j(7228),W=j(2388),K=j(3888),U=j(9316),Y=j(8380),ie=j(6256),pe=j(2672);_.exports=function(_,E,j,he,de,me){var ge=A[_],ve=ge,ye=de?"set":"add",be=ve&&ve.prototype,we={},P=function(_){var E=be[_];F(be,_,"delete"==_||"has"==_?function(_){return!(me&&!K(_))&&E.call(this,0===_?0:_)}:"get"==_?function(_){return me&&!K(_)?void 0:E.call(this,0===_?0:_)}:"add"==_?function(_){return E.call(this,0===_?0:_),this}:function(_,j){return E.call(this,0===_?0:_,j),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=Y((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,j){W(E,ve,_);var A=pe(new ge,E,ve);return null!=j&&G(j,de,A[ye],A),A}))).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),B(ve.prototype,j),R.NEED=!0;return ie(ve,_),we[_]=ve,N(N.G+N.W+N.F*(ve!=ge),we),me||he.setStrong(ve,_,de),ve}},8432:_=>{var E=_.exports={version:"2.5.7"};"number"==typeof __e&&(__e=E)},2340:(_,E,j)=>{"use strict";var A=j(8520),N=j(8164);_.exports=function(_,E,j){E in _?A.f(_,E,N(0,j)):_[E]=j}},800:(_,E,j)=>{var A=j(2016);_.exports=function(_,E,j){if(A(_),void 0===E)return _;switch(j){case 1:return function(j){return _.call(E,j)};case 2:return function(j,A){return _.call(E,j,A)};case 3:return function(j,A,N){return _.call(E,j,A,N)}}return function(){return _.apply(E,arguments)}}},24:_=>{_.exports=function(_){if(null==_)throw TypeError("Can't call method on "+_);return _}},1668:(_,E,j)=>{_.exports=!j(9316)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},1300:(_,E,j)=>{var A=j(3888),N=j(2804).document,F=A(N)&&A(N.createElement);_.exports=function(_){return F?N.createElement(_):{}}},444:_=>{_.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},7076:(_,E,j)=>{var A=j(2804),N=j(8432),F=j(2336),B=j(8868),R=j(800),G="prototype",u=function(_,E,j){var W,K,U,Y,ie=_&u.F,pe=_&u.G,he=_&u.S,de=_&u.P,me=_&u.B,ge=pe?A:he?A[E]||(A[E]={}):(A[E]||{})[G],ve=pe?N:N[E]||(N[E]={}),ye=ve[G]||(ve[G]={});for(W in pe&&(j=E),j)U=((K=!ie&&ge&&void 0!==ge[W])?ge:j)[W],Y=me&&K?R(U,A):de&&"function"==typeof U?R(Function.call,U):U,ge&&B(ge,W,U,_&u.U),ve[W]!=U&&F(ve,W,Y),de&&ye[W]!=U&&(ye[W]=U)};A.core=N,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,_.exports=u},9316:_=>{_.exports=function(_){try{return!!_()}catch(_){return!0}}},4448:(_,E,j)=>{"use strict";var A=j(2336),N=j(8868),F=j(9316),B=j(24),R=j(7096);_.exports=function(_,E,j){var G=R(_),W=j(B,G,""[_]),K=W[0],U=W[1];F((function(){var E={};return E[G]=function(){return 7},7!=""[_](E)}))&&(N(String.prototype,_,K),A(RegExp.prototype,G,2==E?function(_,E){return U.call(_,this,E)}:function(_){return U.call(_,this)}))}},8068:(_,E,j)=>{"use strict";var A=j(3504);_.exports=function(){var _=A(this),E="";return _.global&&(E+="g"),_.ignoreCase&&(E+="i"),_.multiline&&(E+="m"),_.unicode&&(E+="u"),_.sticky&&(E+="y"),E}},7228:(_,E,j)=>{var A=j(800),N=j(2372),F=j(3164),B=j(3504),R=j(3528),G=j(2800),W={},K={},U=_.exports=function(_,E,j,U,Y){var ie,pe,he,de,me=Y?function(){return _}:G(_),ge=A(j,U,E?2:1),ve=0;if("function"!=typeof me)throw TypeError(_+" is not iterable!");if(F(me)){for(ie=R(_.length);ie>ve;ve++)if((de=E?ge(B(pe=_[ve])[0],pe[1]):ge(_[ve]))===W||de===K)return de}else for(he=me.call(_);!(pe=he.next()).done;)if((de=N(he,ge,pe.value,E))===W||de===K)return de};U.BREAK=W,U.RETURN=K},2804:_=>{var E=_.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=E)},9080:_=>{var E={}.hasOwnProperty;_.exports=function(_,j){return E.call(_,j)}},2336:(_,E,j)=>{var A=j(8520),N=j(8164);_.exports=j(1668)?function(_,E,j){return A.f(_,E,N(1,j))}:function(_,E,j){return _[E]=j,_}},4016:(_,E,j)=>{var A=j(2804).document;_.exports=A&&A.documentElement},5516:(_,E,j)=>{_.exports=!j(1668)&&!j(9316)((function(){return 7!=Object.defineProperty(j(1300)("div"),"a",{get:function(){return 7}}).a}))},2672:(_,E,j)=>{var A=j(3888),N=j(5076).set;_.exports=function(_,E,j){var F,B=E.constructor;return B!==j&&"function"==typeof B&&(F=B.prototype)!==j.prototype&&A(F)&&N&&N(_,F),_}},5628:_=>{_.exports=function(_,E,j){var A=void 0===j;switch(E.length){case 0:return A?_():_.call(j);case 1:return A?_(E[0]):_.call(j,E[0]);case 2:return A?_(E[0],E[1]):_.call(j,E[0],E[1]);case 3:return A?_(E[0],E[1],E[2]):_.call(j,E[0],E[1],E[2]);case 4:return A?_(E[0],E[1],E[2],E[3]):_.call(j,E[0],E[1],E[2],E[3])}return _.apply(j,E)}},2936:(_,E,j)=>{var A=j(6924);_.exports=Object("z").propertyIsEnumerable(0)?Object:function(_){return"String"==A(_)?_.split(""):Object(_)}},3164:(_,E,j)=>{var A=j(2488),N=j(7096)("iterator"),F=Array.prototype;_.exports=function(_){return void 0!==_&&(A.Array===_||F[N]===_)}},3888:_=>{_.exports=function(_){return"object"==typeof _?null!==_:"function"==typeof _}},7760:(_,E,j)=>{var A=j(3888),N=j(6924),F=j(7096)("match");_.exports=function(_){var E;return A(_)&&(void 0!==(E=_[F])?!!E:"RegExp"==N(_))}},2372:(_,E,j)=>{var A=j(3504);_.exports=function(_,E,j,N){try{return N?E(A(j)[0],j[1]):E(j)}catch(E){var F=_.return;throw void 0!==F&&A(F.call(_)),E}}},128:(_,E,j)=>{"use strict";var A=j(3472),N=j(8164),F=j(6256),B={};j(2336)(B,j(7096)("iterator"),(function(){return this})),_.exports=function(_,E,j){_.prototype=A(B,{next:N(1,j)}),F(_,E+" Iterator")}},6952:(_,E,j)=>{"use strict";var A=j(4440),N=j(7076),F=j(8868),B=j(2336),R=j(2488),G=j(128),W=j(6256),K=j(9556),U=j(7096)("iterator"),Y=!([].keys&&"next"in[].keys()),ie="keys",pe="values",m=function(){return this};_.exports=function(_,E,j,he,de,me,ge){G(j,E,he);var ve,ye,be,P=function(_){if(!Y&&_ in _e)return _e[_];switch(_){case ie:case pe:return function(){return new j(this,_)}}return function(){return new j(this,_)}},we=E+" Iterator",xe=de==pe,Se=!1,_e=_.prototype,Pe=_e[U]||_e["@@iterator"]||de&&_e[de],Oe=Pe||P(de),Ie=de?xe?P("entries"):Oe:void 0,Ee="Array"==E&&_e.entries||Pe;if(Ee&&(be=K(Ee.call(new _)))!==Object.prototype&&be.next&&(W(be,we,!0),A||"function"==typeof be[U]||B(be,U,m)),xe&&Pe&&Pe.name!==pe&&(Se=!0,Oe=function(){return Pe.call(this)}),A&&!ge||!Y&&!Se&&_e[U]||B(_e,U,Oe),R[E]=Oe,R[we]=m,de)if(ve={values:xe?Oe:P(pe),keys:me?Oe:P(ie),entries:Ie},ge)for(ye in ve)ye in _e||F(_e,ye,ve[ye]);else N(N.P+N.F*(Y||Se),E,ve);return ve}},8380:(_,E,j)=>{var A=j(7096)("iterator"),N=!1;try{var F=[7][A]();F.return=function(){N=!0},Array.from(F,(function(){throw 2}))}catch(_){}_.exports=function(_,E){if(!E&&!N)return!1;var j=!1;try{var F=[7],B=F[A]();B.next=function(){return{done:j=!0}},F[A]=function(){return B},_(F)}catch(_){}return j}},172:_=>{_.exports=function(_,E){return{value:E,done:!!_}}},2488:_=>{_.exports={}},4440:_=>{_.exports=!1},2020:(_,E,j)=>{var A=j(9664)("meta"),N=j(3888),F=j(9080),B=j(8520).f,R=0,G=Object.isExtensible||function(){return!0},W=!j(9316)((function(){return G(Object.preventExtensions({}))})),l=function(_){B(_,A,{value:{i:"O"+ ++R,w:{}}})},K=_.exports={KEY:A,NEED:!1,fastKey:function(_,E){if(!N(_))return"symbol"==typeof _?_:("string"==typeof _?"S":"P")+_;if(!F(_,A)){if(!G(_))return"F";if(!E)return"E";l(_)}return _[A].i},getWeak:function(_,E){if(!F(_,A)){if(!G(_))return!0;if(!E)return!1;l(_)}return _[A].w},onFreeze:function(_){return W&&K.NEED&&G(_)&&!F(_,A)&&l(_),_}}},448:(_,E,j)=>{var A=j(2804),N=j(2280).set,F=A.MutationObserver||A.WebKitMutationObserver,B=A.process,R=A.Promise,G="process"==j(6924)(B);_.exports=function(){var _,E,j,u=function(){var A,N;for(G&&(A=B.domain)&&A.exit();_;){N=_.fn,_=_.next;try{N()}catch(A){throw _?j():E=void 0,A}}E=void 0,A&&A.enter()};if(G)j=function(){B.nextTick(u)};else if(!F||A.navigator&&A.navigator.standalone)if(R&&R.resolve){var W=R.resolve(void 0);j=function(){W.then(u)}}else j=function(){N.call(A,u)};else{var K=!0,U=document.createTextNode("");new F(u).observe(U,{characterData:!0}),j=function(){U.data=K=!K}}return function(A){var N={fn:A,next:void 0};E&&(E.next=N),_||(_=N,j()),E=N}}},8024:(_,E,j)=>{"use strict";var A=j(2016);function o(_){var E,j;this.promise=new _((function(_,A){if(void 0!==E||void 0!==j)throw TypeError("Bad Promise constructor");E=_,j=A})),this.resolve=A(E),this.reject=A(j)}_.exports.f=function(_){return new o(_)}},6472:(_,E,j)=>{"use strict";var A=j(5444),N=j(5364),F=j(3875),B=j(1164),R=j(2936),G=Object.assign;_.exports=!G||j(9316)((function(){var _={},E={},j=Symbol(),A="abcdefghijklmnopqrst";return _[j]=7,A.split("").forEach((function(_){E[_]=_})),7!=G({},_)[j]||Object.keys(G({},E)).join("")!=A}))?function(_,E){for(var j=B(_),G=arguments.length,W=1,K=N.f,U=F.f;G>W;)for(var Y,ie=R(arguments[W++]),pe=K?A(ie).concat(K(ie)):A(ie),he=pe.length,de=0;he>de;)U.call(ie,Y=pe[de++])&&(j[Y]=ie[Y]);return j}:G},3472:(_,E,j)=>{var A=j(3504),N=j(1176),F=j(444),B=j(4588)("IE_PROTO"),a=function(){},R="prototype",u=function(){var _,E=j(1300)("iframe"),A=F.length;for(E.style.display="none",j(4016).appendChild(E),E.src="javascript:",(_=E.contentWindow.document).open(),_.write("<script>document.F=Object<\/script>"),_.close(),u=_.F;A--;)delete u[R][F[A]];return u()};_.exports=Object.create||function(_,E){var j;return null!==_?(a[R]=A(_),j=new a,a[R]=null,j[B]=_):j=u(),void 0===E?j:N(j,E)}},8520:(_,E,j)=>{var A=j(3504),N=j(5516),F=j(1896),B=Object.defineProperty;E.f=j(1668)?Object.defineProperty:function(_,E,j){if(A(_),E=F(E,!0),A(j),N)try{return B(_,E,j)}catch(_){}if("get"in j||"set"in j)throw TypeError("Accessors not supported!");return"value"in j&&(_[E]=j.value),_}},1176:(_,E,j)=>{var A=j(8520),N=j(3504),F=j(5444);_.exports=j(1668)?Object.defineProperties:function(_,E){N(_);for(var j,B=F(E),R=B.length,G=0;R>G;)A.f(_,j=B[G++],E[j]);return _}},6524:(_,E,j)=>{var A=j(3875),N=j(8164),F=j(2780),B=j(1896),R=j(9080),G=j(5516),W=Object.getOwnPropertyDescriptor;E.f=j(1668)?W:function(_,E){if(_=F(_),E=B(E,!0),G)try{return W(_,E)}catch(_){}if(R(_,E))return N(!A.f.call(_,E),_[E])}},5364:(_,E)=>{E.f=Object.getOwnPropertySymbols},9556:(_,E,j)=>{var A=j(9080),N=j(1164),F=j(4588)("IE_PROTO"),B=Object.prototype;_.exports=Object.getPrototypeOf||function(_){return _=N(_),A(_,F)?_[F]:"function"==typeof _.constructor&&_ instanceof _.constructor?_.constructor.prototype:_ instanceof Object?B:null}},3816:(_,E,j)=>{var A=j(9080),N=j(2780),F=j(7504)(!1),B=j(4588)("IE_PROTO");_.exports=function(_,E){var j,R=N(_),G=0,W=[];for(j in R)j!=B&&A(R,j)&&W.push(j);for(;E.length>G;)A(R,j=E[G++])&&(~F(W,j)||W.push(j));return W}},5444:(_,E,j)=>{var A=j(3816),N=j(444);_.exports=Object.keys||function(_){return A(_,N)}},3875:(_,E)=>{E.f={}.propertyIsEnumerable},2504:(_,E,j)=>{var A=j(5444),N=j(2780),F=j(3875).f;_.exports=function(_){return function(E){for(var j,B=N(E),R=A(B),G=R.length,W=0,K=[];G>W;)F.call(B,j=R[W++])&&K.push(_?[j,B[j]]:B[j]);return K}}},7904:_=>{_.exports=function(_){try{return{e:!1,v:_()}}catch(_){return{e:!0,v:_}}}},0:(_,E,j)=>{var A=j(3504),N=j(3888),F=j(8024);_.exports=function(_,E){if(A(_),N(E)&&E.constructor===_)return E;var j=F.f(_);return(0,j.resolve)(E),j.promise}},8164:_=>{_.exports=function(_,E){return{enumerable:!(1&_),configurable:!(2&_),writable:!(4&_),value:E}}},7704:(_,E,j)=>{var A=j(8868);_.exports=function(_,E,j){for(var N in E)A(_,N,E[N],j);return _}},8868:(_,E,j)=>{var A=j(2804),N=j(2336),F=j(9080),B=j(9664)("src"),R="toString",G=Function[R],W=(""+G).split(R);j(8432).inspectSource=function(_){return G.call(_)},(_.exports=function(_,E,j,R){var G="function"==typeof j;G&&(F(j,"name")||N(j,"name",E)),_[E]!==j&&(G&&(F(j,B)||N(j,B,_[E]?""+_[E]:W.join(String(E)))),_===A?_[E]=j:R?_[E]?_[E]=j:N(_,E,j):(delete _[E],N(_,E,j)))})(Function.prototype,R,(function(){return"function"==typeof this&&this[B]||G.call(this)}))},5076:(_,E,j)=>{var A=j(3888),N=j(3504),i=function(_,E){if(N(_),!A(E)&&null!==E)throw TypeError(E+": can't set as prototype!")};_.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(_,E,A){try{(A=j(800)(Function.call,j(6524).f(Object.prototype,"__proto__").set,2))(_,[]),E=!(_ instanceof Array)}catch(_){E=!0}return function(_,j){return i(_,j),E?_.__proto__=j:A(_,j),_}}({},!1):void 0),check:i}},3384:(_,E,j)=>{"use strict";var A=j(2804),N=j(8520),F=j(1668),B=j(7096)("species");_.exports=function(_){var E=A[_];F&&E&&!E[B]&&N.f(E,B,{configurable:!0,get:function(){return this}})}},6256:(_,E,j)=>{var A=j(8520).f,N=j(9080),F=j(7096)("toStringTag");_.exports=function(_,E,j){_&&!N(_=j?_:_.prototype,F)&&A(_,F,{configurable:!0,value:E})}},4588:(_,E,j)=>{var A=j(5432)("keys"),N=j(9664);_.exports=function(_){return A[_]||(A[_]=N(_))}},5432:(_,E,j)=>{var A=j(8432),N=j(2804),F="__core-js_shared__",B=N[F]||(N[F]={});(_.exports=function(_,E){return B[_]||(B[_]=void 0!==E?E:{})})("versions",[]).push({version:A.version,mode:j(4440)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},6776:(_,E,j)=>{var A=j(3504),N=j(2016),F=j(7096)("species");_.exports=function(_,E){var j,B=A(_).constructor;return void 0===B||null==(j=A(B)[F])?E:N(j)}},6712:(_,E,j)=>{"use strict";var A=j(9316);_.exports=function(_,E){return!!_&&A((function(){E?_.call(null,(function(){}),1):_.call(null)}))}},2280:(_,E,j)=>{var A,N,F,B=j(800),R=j(5628),G=j(4016),W=j(1300),K=j(2804),U=K.process,Y=K.setImmediate,ie=K.clearImmediate,pe=K.MessageChannel,he=K.Dispatch,de=0,me={},ge="onreadystatechange",b=function(){var _=+this;if(me.hasOwnProperty(_)){var E=me[_];delete me[_],E()}},w=function(_){b.call(_.data)};Y&&ie||(Y=function(_){for(var E=[],j=1;arguments.length>j;)E.push(arguments[j++]);return me[++de]=function(){R("function"==typeof _?_:Function(_),E)},A(de),de},ie=function(_){delete me[_]},"process"==j(6924)(U)?A=function(_){U.nextTick(B(b,_,1))}:he&&he.now?A=function(_){he.now(B(b,_,1))}:pe?(F=(N=new pe).port2,N.port1.onmessage=w,A=B(F.postMessage,F,1)):K.addEventListener&&"function"==typeof postMessage&&!K.importScripts?(A=function(_){K.postMessage(_+"","*")},K.addEventListener("message",w,!1)):A=ge in W("script")?function(_){G.appendChild(W("script"))[ge]=function(){G.removeChild(this),b.call(_)}}:function(_){setTimeout(B(b,_,1),0)}),_.exports={set:Y,clear:ie}},8508:(_,E,j)=>{var A=j(8236),N=Math.max,F=Math.min;_.exports=function(_,E){return(_=A(_))<0?N(_+E,0):F(_,E)}},8236:_=>{var E=Math.ceil,j=Math.floor;_.exports=function(_){return isNaN(_=+_)?0:(_>0?j:E)(_)}},2780:(_,E,j)=>{var A=j(2936),N=j(24);_.exports=function(_){return A(N(_))}},3528:(_,E,j)=>{var A=j(8236),N=Math.min;_.exports=function(_){return _>0?N(A(_),9007199254740991):0}},1164:(_,E,j)=>{var A=j(24);_.exports=function(_){return Object(A(_))}},1896:(_,E,j)=>{var A=j(3888);_.exports=function(_,E){if(!A(_))return _;var j,N;if(E&&"function"==typeof(j=_.toString)&&!A(N=j.call(_)))return N;if("function"==typeof(j=_.valueOf)&&!A(N=j.call(_)))return N;if(!E&&"function"==typeof(j=_.toString)&&!A(N=j.call(_)))return N;throw TypeError("Can't convert object to primitive value")}},9664:_=>{var E=0,j=Math.random();_.exports=function(_){return"Symbol(".concat(void 0===_?"":_,")_",(++E+j).toString(36))}},1168:(_,E,j)=>{var A=j(2804).navigator;_.exports=A&&A.userAgent||""},2772:(_,E,j)=>{var A=j(3888);_.exports=function(_,E){if(!A(_)||_._t!==E)throw TypeError("Incompatible receiver, "+E+" required!");return _}},7096:(_,E,j)=>{var A=j(5432)("wks"),N=j(9664),F=j(2804).Symbol,B="function"==typeof F;(_.exports=function(_){return A[_]||(A[_]=B&&F[_]||(B?F:N)("Symbol."+_))}).store=A},2800:(_,E,j)=>{var A=j(5848),N=j(7096)("iterator"),F=j(2488);_.exports=j(8432).getIteratorMethod=function(_){if(null!=_)return _[N]||_["@@iterator"]||F[A(_)]}},4228:(_,E,j)=>{"use strict";var A=j(800),N=j(7076),F=j(1164),B=j(2372),R=j(3164),G=j(3528),W=j(2340),K=j(2800);N(N.S+N.F*!j(8380)((function(_){Array.from(_)})),"Array",{from:function(_){var E,j,N,U,Y=F(_),ie="function"==typeof this?this:Array,pe=arguments.length,he=pe>1?arguments[1]:void 0,de=void 0!==he,me=0,ge=K(Y);if(de&&(he=A(he,pe>2?arguments[2]:void 0,2)),null==ge||ie==Array&&R(ge))for(j=new ie(E=G(Y.length));E>me;me++)W(j,me,de?he(Y[me],me):Y[me]);else for(U=ge.call(Y),j=new ie;!(N=U.next()).done;me++)W(j,me,de?B(U,he,[N.value,me],!0):N.value);return j.length=me,j}})},4260:(_,E,j)=>{"use strict";var A=j(7076),N=j(2016),F=j(1164),B=j(9316),R=[].sort,G=[1,2,3];A(A.P+A.F*(B((function(){G.sort(void 0)}))||!B((function(){G.sort(null)}))||!j(6712)(R)),"Array",{sort:function(_){return void 0===_?R.call(F(this)):R.call(F(this),N(_))}})},5584:(_,E,j)=>{var A=j(7076);A(A.S+A.F,"Object",{assign:j(6472)})},5888:(_,E,j)=>{"use strict";var A,N,F,B,R=j(4440),G=j(2804),W=j(800),K=j(5848),U=j(7076),Y=j(3888),ie=j(2016),pe=j(2388),he=j(7228),de=j(6776),me=j(2280).set,ge=j(448)(),ve=j(8024),ye=j(7904),be=j(1168),we=j(0),xe="Promise",Se=G.TypeError,_e=G.process,Pe=_e&&_e.versions,Oe=Pe&&Pe.v8||"",Ie=G[xe],Ee="process"==K(_e),k=function(){},je=N=ve.f,Ae=!!function(){try{var _=Ie.resolve(1),E=(_.constructor={})[j(7096)("species")]=function(_){_(k,k)};return(Ee||"function"==typeof PromiseRejectionEvent)&&_.then(k)instanceof E&&0!==Oe.indexOf("6.6")&&-1===be.indexOf("Chrome/66")}catch(_){}}(),C=function(_){var E;return!(!Y(_)||"function"!=typeof(E=_.then))&&E},M=function(_,E){if(!_._n){_._n=!0;var j=_._c;ge((function(){for(var A=_._v,N=1==_._s,F=0,s=function(E){var j,F,B,R=N?E.ok:E.fail,G=E.resolve,W=E.reject,K=E.domain;try{R?(N||(2==_._h&&D(_),_._h=1),!0===R?j=A:(K&&K.enter(),j=R(A),K&&(K.exit(),B=!0)),j===E.promise?W(Se("Promise-chain cycle")):(F=C(j))?F.call(j,G,W):G(j)):W(A)}catch(_){K&&!B&&K.exit(),W(_)}};j.length>F;)s(j[F++]);_._c=[],_._n=!1,E&&!_._h&&V(_)}))}},V=function(_){me.call(G,(function(){var E,j,A,N=_._v,F=T(_);if(F&&(E=ye((function(){Ee?_e.emit("unhandledRejection",N,_):(j=G.onunhandledrejection)?j({promise:_,reason:N}):(A=G.console)&&A.error&&A.error("Unhandled promise rejection",N)})),_._h=Ee||T(_)?2:1),_._a=void 0,F&&E.e)throw E.v}))},T=function(_){return 1!==_._h&&0===(_._a||_._c).length},D=function(_){me.call(G,(function(){var E;Ee?_e.emit("rejectionHandled",_):(E=G.onrejectionhandled)&&E({promise:_,reason:_._v})}))},L=function(_){var E=this;E._d||(E._d=!0,(E=E._w||E)._v=_,E._s=2,E._a||(E._a=E._c.slice()),M(E,!0))},$=function(_){var E,j=this;if(!j._d){j._d=!0,j=j._w||j;try{if(j===_)throw Se("Promise can't be resolved itself");(E=C(_))?ge((function(){var A={_w:j,_d:!1};try{E.call(_,W($,A,1),W(L,A,1))}catch(_){L.call(A,_)}})):(j._v=_,j._s=1,M(j,!1))}catch(_){L.call({_w:j,_d:!1},_)}}};Ae||(Ie=function(_){pe(this,Ie,xe,"_h"),ie(_),A.call(this);try{_(W($,this,1),W(L,this,1))}catch(_){L.call(this,_)}},(A=function(_){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=j(7704)(Ie.prototype,{then:function(_,E){var j=je(de(this,Ie));return j.ok="function"!=typeof _||_,j.fail="function"==typeof E&&E,j.domain=Ee?_e.domain:void 0,this._c.push(j),this._a&&this._a.push(j),this._s&&M(this,!1),j.promise},catch:function(_){return this.then(void 0,_)}}),F=function(){var _=new A;this.promise=_,this.resolve=W($,_,1),this.reject=W(L,_,1)},ve.f=je=function(_){return _===Ie||_===B?new F(_):N(_)}),U(U.G+U.W+U.F*!Ae,{Promise:Ie}),j(6256)(Ie,xe),j(3384)(xe),B=j(8432)[xe],U(U.S+U.F*!Ae,xe,{reject:function(_){var E=je(this);return(0,E.reject)(_),E.promise}}),U(U.S+U.F*(R||!Ae),xe,{resolve:function(_){return we(R&&this===B?Ie:this,_)}}),U(U.S+U.F*!(Ae&&j(8380)((function(_){Ie.all(_).catch(k)}))),xe,{all:function(_){var E=this,j=je(E),A=j.resolve,N=j.reject,F=ye((function(){var j=[],F=0,B=1;he(_,!1,(function(_){var R=F++,G=!1;j.push(void 0),B++,E.resolve(_).then((function(_){G||(G=!0,j[R]=_,--B||A(j))}),N)})),--B||A(j)}));return F.e&&N(F.v),j.promise},race:function(_){var E=this,j=je(E),A=j.reject,N=ye((function(){he(_,!1,(function(_){E.resolve(_).then(j.resolve,A)}))}));return N.e&&A(N.v),j.promise}})},7320:(_,E,j)=>{j(1668)&&"g"!=/./g.flags&&j(8520).f(RegExp.prototype,"flags",{configurable:!0,get:j(8068)})},4880:(_,E,j)=>{j(4448)("match",1,(function(_,E,j){return[function(j){"use strict";var A=_(this),N=null==j?void 0:j[E];return void 0!==N?N.call(j,A):new RegExp(j)[E](String(A))},j]}))},8412:(_,E,j)=>{j(4448)("replace",2,(function(_,E,j){return[function(A,N){"use strict";var F=_(this),B=null==A?void 0:A[E];return void 0!==B?B.call(A,F,N):j.call(String(F),A,N)},j]}))},223:(_,E,j)=>{j(4448)("search",1,(function(_,E,j){return[function(j){"use strict";var A=_(this),N=null==j?void 0:j[E];return void 0!==N?N.call(j,A):new RegExp(j)[E](String(A))},j]}))},3708:(_,E,j)=>{j(4448)("split",2,(function(_,E,A){"use strict";var N=j(7760),F=A,B=[].push,R="split",G="length",W="lastIndex";if("c"=="abbc"[R](/(b)*/)[1]||4!="test"[R](/(?:)/,-1)[G]||2!="ab"[R](/(?:ab)*/)[G]||4!="."[R](/(.?)(.?)/)[G]||"."[R](/()()/)[G]>1||""[R](/.?/)[G]){var K=void 0===/()??/.exec("")[1];A=function(_,E){var j=String(this);if(void 0===_&&0===E)return[];if(!N(_))return F.call(j,_,E);var A,R,U,Y,ie,pe=[],he=(_.ignoreCase?"i":"")+(_.multiline?"m":"")+(_.unicode?"u":"")+(_.sticky?"y":""),de=0,me=void 0===E?4294967295:E>>>0,ge=new RegExp(_.source,he+"g");for(K||(A=new RegExp("^"+ge.source+"$(?!\\s)",he));(R=ge.exec(j))&&!((U=R.index+R[0][G])>de&&(pe.push(j.slice(de,R.index)),!K&&R[G]>1&&R[0].replace(A,(function(){for(ie=1;ie<arguments[G]-2;ie++)void 0===arguments[ie]&&(R[ie]=void 0)})),R[G]>1&&R.index<j[G]&&B.apply(pe,R.slice(1)),Y=R[0][G],de=U,pe[G]>=me));)ge[W]===R.index&&ge[W]++;return de===j[G]?!Y&&ge.test("")||pe.push(""):pe.push(j.slice(de)),pe[G]>me?pe.slice(0,me):pe}}else"0"[R](void 0,0)[G]&&(A=function(_,E){return void 0===_&&0===E?[]:F.call(this,_,E)});return[function(j,N){var F=_(this),B=null==j?void 0:j[E];return void 0!==B?B.call(j,F,N):A.call(String(F),j,N)},A]}))},6568:(_,E,j)=>{"use strict";j(7320);var A=j(3504),N=j(8068),F=j(1668),B="toString",R=/./[B],c=function(_){j(8868)(RegExp.prototype,B,_,!0)};j(9316)((function(){return"/a/b"!=R.call({source:"a",flags:"b"})}))?c((function(){var _=A(this);return"/".concat(_.source,"/","flags"in _?_.flags:!F&&_ instanceof RegExp?N.call(_):void 0)})):R.name!=B&&c((function(){return R.call(this)}))},7276:(_,E,j)=>{"use strict";var A=j(148),N=j(2772);_.exports=j(9412)("Set",(function(_){return function(){return _(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(_){return A.def(N(this,"Set"),_=0===_?0:_,_)}},A)},7360:(_,E,j)=>{"use strict";var A=j(7076),N=j(7504)(!0);A(A.P,"Array",{includes:function(_){return N(this,_,arguments.length>1?arguments[1]:void 0)}}),j(7384)("includes")},3852:(_,E,j)=>{var A=j(7076),N=j(2504)(!0);A(A.S,"Object",{entries:function(_){return N(_)}})},5308:(_,E,j)=>{var A=j(7076),N=j(2504)(!1);A(A.S,"Object",{values:function(_){return N(_)}})},7468:(_,E,j)=>{"use strict";const A=j(4368),N=j(9624),F=j(1846);function s(_,E,j){const B=N(_,E,j),R=A.spawn(B.command,B.args,B.options);return F.hookChildProcess(R,B),R}_.exports=s,_.exports.spawn=s,_.exports.sync=function(_,E,j){const B=N(_,E,j),R=A.spawnSync(B.command,B.args,B.options);return R.error=R.error||F.verifyENOENTSync(R.status,B),R},_.exports._parse=N,_.exports._enoent=F},1846:_=>{"use strict";const E="win32"===process.platform;function r(_,E){return Object.assign(new Error(`${E} ${_.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${E} ${_.command}`,path:_.command,spawnargs:_.args})}function n(_,j){return E&&1===_&&!j.file?r(j.original,"spawn"):null}_.exports={hookChildProcess:function(_,j){if(!E)return;const A=_.emit;_.emit=function(E,N){if("exit"===E){const E=n(N,j);if(E)return A.call(_,"error",E)}return A.apply(_,arguments)}},verifyENOENT:n,verifyENOENTSync:function(_,j){return E&&1===_&&!j.file?r(j.original,"spawnSync"):null},notFoundError:r}},9624:(_,E,j)=>{"use strict";const A=j(7072),N=j(9480),F=j(8372),B=j(824),R=j(7780),G=j(1716),W="win32"===process.platform,K=/\.(?:com|exe)$/i,U=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i,Y=N((()=>G.satisfies(process.version,"^4.8.0 || ^5.7.0 || >= 6.0.0",!0)))||!1;_.exports=function(_,E,j){E&&!Array.isArray(E)&&(j=E,E=null);const N={command:_,args:E=E?E.slice(0):[],options:j=Object.assign({},j),file:void 0,original:{command:_,args:E}};return j.shell?function(_){if(Y)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]),_}(N):function(_){if(!W)return _;const E=function(_){_.file=F(_);const E=_.file&&R(_.file);return E?(_.args.unshift(_.file),_.command=E,F(_)):_.file}(_),j=!K.test(E);if(_.options.forceShell||j){const j=U.test(E);_.command=A.normalize(_.command),_.command=B.command(_.command),_.args=_.args.map((_=>B.argument(_,j)));const N=[_.command].concat(_.args).join(" ");_.args=["/d","/s","/c",`"${N}"`],_.command=process.env.comspec||"cmd.exe",_.options.windowsVerbatimArguments=!0}return _}(N)}},824:_=>{"use strict";const E=/([()\][%!^"`<>&|;, *?])/g;_.exports.command=function(_){return _.replace(E,"^$1")},_.exports.argument=function(_,j){return _=(_=`"${_=(_=(_=`${_}`).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(E,"^$1"),j&&(_=_.replace(E,"^$1")),_}},7780:(_,E,j)=>{"use strict";const A=j(2058),N=j(6176);_.exports=function(_){let E,j;Buffer.alloc?E=Buffer.alloc(150):(E=new Buffer(150),E.fill(0));try{j=A.openSync(_,"r"),A.readSync(j,E,0,150,0),A.closeSync(j)}catch(_){}return N(E.toString())}},8372:(_,E,j)=>{"use strict";const A=j(7072),N=j(8460),F=j(3032)();function s(_,E){const j=process.cwd(),B=null!=_.options.cwd;if(B)try{process.chdir(_.options.cwd)}catch(_){}let R;try{R=N.sync(_.command,{path:(_.options.env||process.env)[F],pathExt:E?A.delimiter:void 0})}catch(_){}finally{process.chdir(j)}return R&&(R=A.resolve(B?_.options.cwd:"",R)),R}_.exports=function(_){return s(_)||s(_,!0)}},9988:(_,E,j)=>{var A=j(4640),o=function(){},i=function(_,E,j){if("function"==typeof E)return i(_,null,E);E||(E={}),j=A(j||o);var N=_._writableState,F=_._readableState,B=E.readable||!1!==E.readable&&_.readable,R=E.writable||!1!==E.writable&&_.writable,l=function(){_.writable||f()},f=function(){R=!1,B||j.call(_)},p=function(){B=!1,R||j.call(_)},h=function(E){j.call(_,E?new Error("exited with error code: "+E):null)},d=function(E){j.call(_,E)},m=function(){return(!B||F&&F.ended)&&(!R||N&&N.ended)?void 0:j.call(_,new Error("premature close"))},g=function(){_.req.on("finish",f)};return function(_){return _.setHeader&&"function"==typeof _.abort}(_)?(_.on("complete",f),_.on("abort",m),_.req?g():_.on("request",g)):R&&!N&&(_.on("end",l),_.on("close",l)),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},84:(_,E,j)=>{_.exports=l,l.realpath=l,l.sync=f,l.realpathSync=f,l.monkeypatch=function(){A.realpath=l,A.realpathSync=f},l.unmonkeypatch=function(){A.realpath=N,A.realpathSync=F};var A=j(2058),N=A.realpath,F=A.realpathSync,B=process.version,R=/^v[0-5]\./.test(B),G=j(7192);function u(_){return _&&"realpath"===_.syscall&&("ELOOP"===_.code||"ENOMEM"===_.code||"ENAMETOOLONG"===_.code)}function l(_,E,j){if(R)return N(_,E,j);"function"==typeof E&&(j=E,E=null),N(_,E,(function(A,N){u(A)?G.realpath(_,E,j):j(A,N)}))}function f(_,E){if(R)return F(_,E);try{return F(_,E)}catch(j){if(u(j))return G.realpathSync(_,E);throw j}}},7192:(_,E,j)=>{var A=j(7072),N="win32"===process.platform,F=j(2058),B=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);if(A.normalize,N)var R=/(.*?)(?:[\/\\]+|$)/g;else R=/(.*?)(?:[\/]+|$)/g;if(N)var G=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else G=/^[\/]*/;E.realpathSync=function(_,E){if(_=A.resolve(_),E&&Object.prototype.hasOwnProperty.call(E,_))return E[_];var j,B,W,K,U=_,Y={},ie={};function d(){var E=G.exec(_);j=E[0].length,B=E[0],W=E[0],K="",N&&!ie[W]&&(F.lstatSync(W),ie[W]=!0)}for(d();j<_.length;){R.lastIndex=j;var pe=R.exec(_);if(K=B,B+=pe[0],W=K+pe[1],j=R.lastIndex,!(ie[W]||E&&E[W]===W)){var he;if(E&&Object.prototype.hasOwnProperty.call(E,W))he=E[W];else{var de=F.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);Y.hasOwnProperty(ge)&&(me=Y[ge])}null===me&&(F.statSync(W),me=F.readlinkSync(W)),he=A.resolve(K,me),E&&(E[W]=he),N||(Y[ge]=me)}_=A.resolve(he,_.slice(j)),d()}}return E&&(E[U]=_),_},E.realpath=function(_,E,j){if("function"!=typeof j&&(j=function(_){return"function"==typeof _?_:function(){var _;if(B){var E=new Error;_=function(_){_&&(E.message=_.message,r(_=E))}}else _=r;return _;function r(_){if(_){if(process.throwDeprecation)throw _;if(!process.noDeprecation){var E="fs: missing callback "+(_.stack||_.message);process.traceDeprecation?console.trace(E):console.error(E)}}}}()}(E),E=null),_=A.resolve(_),E&&Object.prototype.hasOwnProperty.call(E,_))return process.nextTick(j.bind(null,null,E[_]));var W,K,U,Y,ie=_,pe={},he={};function g(){var E=G.exec(_);W=E[0].length,K=E[0],U=E[0],Y="",N&&!he[U]?F.lstat(U,(function(_){if(_)return j(_);he[U]=!0,v()})):process.nextTick(v)}function v(){if(W>=_.length)return E&&(E[ie]=_),j(null,_);R.lastIndex=W;var A=R.exec(_);return Y=K,K+=A[0],U=Y+A[1],W=R.lastIndex,he[U]||E&&E[U]===U?process.nextTick(v):E&&Object.prototype.hasOwnProperty.call(E,U)?w(E[U]):F.lstat(U,y)}function y(_,A){if(_)return j(_);if(!A.isSymbolicLink())return he[U]=!0,E&&(E[U]=U),process.nextTick(v);if(!N){var B=A.dev.toString(32)+":"+A.ino.toString(32);if(pe.hasOwnProperty(B))return b(null,pe[B],U)}F.stat(U,(function(_){if(_)return j(_);F.readlink(U,(function(_,E){N||(pe[B]=E),b(_,E)}))}))}function b(_,N,F){if(_)return j(_);var B=A.resolve(Y,N);E&&(E[F]=B),w(B)}function w(E){_=A.resolve(E,_.slice(W)),g()}g()}},9712:(_,E,j)=>{function n(_,E){return Object.prototype.hasOwnProperty.call(_,E)}E.alphasort=u,E.alphasorti=c,E.setopts=function(_,E,j){if(j||(j={}),j.matchBase&&-1===E.indexOf("/")){if(j.noglobstar)throw new Error("base matching requires globstar");E="**/"+E}_.silent=!!j.silent,_.pattern=E,_.strict=!1!==j.strict,_.realpath=!!j.realpath,_.realpathCache=j.realpathCache||Object.create(null),_.follow=!!j.follow,_.dot=!!j.dot,_.mark=!!j.mark,_.nodir=!!j.nodir,_.nodir&&(_.mark=!0),_.sync=!!j.sync,_.nounique=!!j.nounique,_.nonull=!!j.nonull,_.nosort=!!j.nosort,_.nocase=!!j.nocase,_.stat=!!j.stat,_.noprocess=!!j.noprocess,_.absolute=!!j.absolute,_.maxLength=j.maxLength||1/0,_.cache=j.cache||Object.create(null),_.statCache=j.statCache||Object.create(null),_.symlinks=j.symlinks||Object.create(null),function(_,E){_.ignore=E.ignore||[],Array.isArray(_.ignore)||(_.ignore=[_.ignore]),_.ignore.length&&(_.ignore=_.ignore.map(l))}(_,j),_.changedCwd=!1;var N=process.cwd();n(j,"cwd")?(_.cwd=A.resolve(j.cwd),_.changedCwd=_.cwd!==N):_.cwd=N,_.root=j.root||A.resolve(_.cwd,"/"),_.root=A.resolve(_.root),"win32"===process.platform&&(_.root=_.root.replace(/\\/g,"/")),_.cwdAbs=F(_.cwd)?_.cwd:f(_,_.cwd),"win32"===process.platform&&(_.cwdAbs=_.cwdAbs.replace(/\\/g,"/")),_.nomount=!!j.nomount,j.nonegate=!0,j.nocomment=!0,_.minimatch=new B(E,j),_.options=_.minimatch.options},E.ownProp=n,E.makeAbs=f,E.finish=function(_){for(var E=_.nounique,j=E?[]:Object.create(null),A=0,N=_.matches.length;A<N;A++){var F=_.matches[A];if(F&&0!==Object.keys(F).length){var B=Object.keys(F);E?j.push.apply(j,B):B.forEach((function(_){j[_]=!0}))}else if(_.nonull){var R=_.minimatch.globSet[A];E?j.push(R):j[R]=!0}}if(E||(j=Object.keys(j)),_.nosort||(j=j.sort(_.nocase?c:u)),_.mark){for(A=0;A<j.length;A++)j[A]=_._mark(j[A]);_.nodir&&(j=j.filter((function(E){var j=!/\/$/.test(E),A=_.cache[E]||_.cache[f(_,E)];return j&&A&&(j="DIR"!==A&&!Array.isArray(A)),j})))}_.ignore.length&&(j=j.filter((function(E){return!p(_,E)}))),_.found=j},E.mark=function(_,E){var j=f(_,E),A=_.cache[j],N=E;if(A){var F="DIR"===A||Array.isArray(A),B="/"===E.slice(-1);if(F&&!B?N+="/":!F&&B&&(N=N.slice(0,-1)),N!==E){var R=f(_,N);_.statCache[R]=_.statCache[j],_.cache[R]=_.cache[j]}}return N},E.isIgnored=p,E.childrenIgnored=function(_,E){return!!_.ignore.length&&_.ignore.some((function(_){return!(!_.gmatcher||!_.gmatcher.match(E))}))};var A=j(7072),N=j(836),F=j(4832),B=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 j=_.replace(/(\/\*\*)+$/,"");E=new B(j,{dot:!0})}return{matcher:new B(_,{dot:!0}),gmatcher:E}}function f(_,E){var j=E;return j="/"===E.charAt(0)?A.join(_.root,E):F(E)||""===E?E:_.changedCwd?A.resolve(_.cwd,E):A.resolve(E),"win32"===process.platform&&(j=j.replace(/\\/g,"/")),j}function p(_,E){return!!_.ignore.length&&_.ignore.some((function(_){return _.matcher.match(E)||!(!_.gmatcher||!_.gmatcher.match(E))}))}},808:(_,E,j)=>{_.exports=b;var A=j(2058),N=j(84),F=j(836),B=(F.Minimatch,j(3352)),R=j(467).EventEmitter,G=j(7072),W=j(6608),K=j(4832),U=j(4548),Y=j(9712),ie=(Y.alphasort,Y.alphasorti,Y.setopts),pe=Y.ownProp,he=j(363),de=(j(970),Y.childrenIgnored),me=Y.isIgnored,ge=j(4640);function b(_,E,j){if("function"==typeof E&&(j=E,E={}),E||(E={}),E.sync){if(j)throw new TypeError("callback provided to sync glob");return U(_,E)}return new x(_,E,j)}b.sync=U;var ve=b.GlobSync=U.GlobSync;function x(_,E,j){if("function"==typeof E&&(j=E,E=null),E&&E.sync){if(j)throw new TypeError("callback provided to sync glob");return new ve(_,E)}if(!(this instanceof x))return new x(_,E,j);ie(this,_,E),this._didRealPath=!1;var A=this.minimatch.set.length;this.matches=new Array(A),"function"==typeof j&&(j=ge(j),this.on("error",j),this.on("end",(function(_){j(null,_)})));var N=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===A)return a();for(var F=!0,B=0;B<A;B++)this._process(this.minimatch.set[B],B,!1,a);function a(){--N._processing,N._processing<=0&&(F?process.nextTick((function(){N._finish()})):N._finish())}F=!1}b.glob=b,b.hasMagic=function(_,E){var j=function(_,E){if(null===E||"object"!=typeof E)return _;for(var j=Object.keys(E),A=j.length;A--;)_[j[A]]=E[j[A]];return _}({},E);j.noprocess=!0;var A=new x(_,j).minimatch.set;if(!_)return!1;if(A.length>1)return!0;for(var N=0;N<A[0].length;N++)if("string"!=typeof A[0][N])return!0;return!1},b.Glob=x,B(x,R),x.prototype._finish=function(){if(W(this instanceof x),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();Y.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,j=0;j<this.matches.length;j++)this._realpathSet(j,n)}function n(){0==--_&&E._finish()}},x.prototype._realpathSet=function(_,E){var j=this.matches[_];if(!j)return E();var A=Object.keys(j),F=this,B=A.length;if(0===B)return E();var R=this.matches[_]=Object.create(null);A.forEach((function(j,A){j=F._makeAbs(j),N.realpath(j,F.realpathCache,(function(A,N){A?"stat"===A.syscall?R[j]=!0:F.emit("error",A):R[N]=!0,0==--B&&(F.matches[_]=R,E())}))}))},x.prototype._mark=function(_){return Y.mark(this,_)},x.prototype._makeAbs=function(_){return Y.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 j=_[E];this._emitMatch(j[0],j[1])}}if(this._processQueue.length){var A=this._processQueue.slice(0);for(this._processQueue.length=0,E=0;E<A.length;E++){var N=A[E];this._processing--,this._process(N[0],N[1],N[2],N[3])}}}},x.prototype._process=function(_,E,j,A){if(W(this instanceof x),W("function"==typeof A),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([_,E,j,A]);else{for(var N,B=0;"string"==typeof _[B];)B++;switch(B){case _.length:return void this._processSimple(_.join("/"),E,A);case 0:N=null;break;default:N=_.slice(0,B).join("/")}var R,G=_.slice(B);null===N?R=".":K(N)||K(_.join("/"))?(N&&K(N)||(N="/"+N),R=N):R=N;var U=this._makeAbs(R);if(de(this,R))return A();G[0]===F.GLOBSTAR?this._processGlobStar(N,R,U,G,E,j,A):this._processReaddir(N,R,U,G,E,j,A)}},x.prototype._processReaddir=function(_,E,j,A,N,F,B){var R=this;this._readdir(j,F,(function(G,W){return R._processReaddir2(_,E,j,A,N,F,W,B)}))},x.prototype._processReaddir2=function(_,E,j,A,N,F,B,R){if(!B)return R();for(var W=A[0],K=!!this.minimatch.negate,U=W._glob,Y=this.dot||"."===U.charAt(0),ie=[],pe=0;pe<B.length;pe++)("."!==(de=B[pe]).charAt(0)||Y)&&(K&&!_?!de.match(W):de.match(W))&&ie.push(de);var he=ie.length;if(0===he)return R();if(1===A.length&&!this.mark&&!this.stat){for(this.matches[N]||(this.matches[N]=Object.create(null)),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()}for(A.shift(),pe=0;pe<he;pe++)de=ie[pe],_&&(de="/"!==_?_+"/"+de:_+de),this._process([de].concat(A),N,F,R);R()},x.prototype._emitMatch=function(_,E){if(!this.aborted&&!me(this,E))if(this.paused)this._emitQueue.push([_,E]);else{var j=K(E)?E:this._makeAbs(E);if(this.mark&&(E=this._mark(E)),this.absolute&&(E=j),!this.matches[_][E]){if(this.nodir){var A=this.cache[j];if("DIR"===A||Array.isArray(A))return}this.matches[_][E]=!0;var N=this.statCache[j];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 j=this,N=he("lstat\0"+_,(function(A,N){if(A&&"ENOENT"===A.code)return E();var F=N&&N.isSymbolicLink();j.symlinks[_]=F,F||!N||N.isDirectory()?j._readdir(_,!1,E):(j.cache[_]="FILE",E())}));N&&A.lstat(_,N)}},x.prototype._readdir=function(_,E,j){if(!this.aborted&&(j=he("readdir\0"+_+"\0"+E,j))){if(E&&!pe(this.symlinks,_))return this._readdirInGlobStar(_,j);if(pe(this.cache,_)){var N=this.cache[_];if(!N||"FILE"===N)return j();if(Array.isArray(N))return j(null,N)}A.readdir(_,function(_,E,j){return function(A,N){A?_._readdirError(E,A,j):_._readdirEntries(E,N,j)}}(this,_,j))}},x.prototype._readdirEntries=function(_,E,j){if(!this.aborted){if(!this.mark&&!this.stat)for(var A=0;A<E.length;A++){var N=E[A];N="/"===_?_+N:_+"/"+N,this.cache[N]=!0}return this.cache[_]=E,j(null,E)}},x.prototype._readdirError=function(_,E,j){if(!this.aborted){switch(E.code){case"ENOTSUP":case"ENOTDIR":var A=this._makeAbs(_);if(this.cache[A]="FILE",A===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 j()}},x.prototype._processGlobStar=function(_,E,j,A,N,F,B){var R=this;this._readdir(j,F,(function(G,W){R._processGlobStar2(_,E,j,A,N,F,W,B)}))},x.prototype._processGlobStar2=function(_,E,j,A,N,F,B,R){if(!B)return R();var G=A.slice(1),W=_?[_]:[],K=W.concat(G);this._process(K,N,!1,R);var U=this.symlinks[j],Y=B.length;if(U&&F)return R();for(var ie=0;ie<Y;ie++)if("."!==B[ie].charAt(0)||this.dot){var pe=W.concat(B[ie],G);this._process(pe,N,!0,R);var he=W.concat(B[ie],A);this._process(he,N,!0,R)}R()},x.prototype._processSimple=function(_,E,j){var A=this;this._stat(_,(function(N,F){A._processSimple2(_,E,N,F,j)}))},x.prototype._processSimple2=function(_,E,j,A,N){if(this.matches[E]||(this.matches[E]=Object.create(null)),!A)return N();if(_&&K(_)&&!this.nomount){var F=/[\/\\]$/.test(_);"/"===_.charAt(0)?_=G.join(this.root,_):(_=G.resolve(this.root,_),F&&(_+="/"))}"win32"===process.platform&&(_=_.replace(/\\/g,"/")),this._emitMatch(E,_),N()},x.prototype._stat=function(_,E){var j=this._makeAbs(_),N="/"===_.slice(-1);if(_.length>this.maxLength)return E();if(!this.stat&&pe(this.cache,j)){var F=this.cache[j];if(Array.isArray(F)&&(F="DIR"),!N||"DIR"===F)return E(null,F);if(N&&"FILE"===F)return E()}var B=this.statCache[j];if(void 0!==B){if(!1===B)return E(null,B);var R=B.isDirectory()?"DIR":"FILE";return N&&"FILE"===R?E():E(null,R,B)}var G=this,W=he("stat\0"+j,(function(N,F){if(F&&F.isSymbolicLink())return A.stat(j,(function(A,N){A?G._stat2(_,j,null,F,E):G._stat2(_,j,A,N,E)}));G._stat2(_,j,N,F,E)}));W&&A.lstat(j,W)},x.prototype._stat2=function(_,E,j,A,N){if(j&&("ENOENT"===j.code||"ENOTDIR"===j.code))return this.statCache[E]=!1,N();var F="/"===_.slice(-1);if(this.statCache[E]=A,"/"===E.slice(-1)&&A&&!A.isDirectory())return N(null,!1,A);var B=!0;return A&&(B=A.isDirectory()?"DIR":"FILE"),this.cache[E]=this.cache[E]||B,F&&"FILE"===B?N():N(null,B,A)}},4548:(_,E,j)=>{_.exports=d,d.GlobSync=m;var A=j(2058),N=j(84),F=j(836),B=(F.Minimatch,j(808).Glob,j(970),j(7072)),R=j(6608),G=j(4832),W=j(9712),K=(W.alphasort,W.alphasorti,W.setopts),U=W.ownProp,Y=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(K(this,_,E),this.noprocess)return this;var j=this.minimatch.set.length;this.matches=new Array(j);for(var A=0;A<j;A++)this._process(this.minimatch.set[A],A,!1);this._finish()}m.prototype._finish=function(){if(R(this instanceof m),this.realpath){var _=this;this.matches.forEach((function(E,j){var A=_.matches[j]=Object.create(null);for(var F in E)try{F=_._makeAbs(F),A[N.realpathSync(F,_.realpathCache)]=!0}catch(E){if("stat"!==E.syscall)throw E;A[_._makeAbs(F)]=!0}}))}W.finish(this)},m.prototype._process=function(_,E,j){R(this instanceof m);for(var A,N=0;"string"==typeof _[N];)N++;switch(N){case _.length:return void this._processSimple(_.join("/"),E);case 0:A=null;break;default:A=_.slice(0,N).join("/")}var B,W=_.slice(N);null===A?B=".":G(A)||G(_.join("/"))?(A&&G(A)||(A="/"+A),B=A):B=A;var K=this._makeAbs(B);Y(this,B)||(W[0]===F.GLOBSTAR?this._processGlobStar(A,B,K,W,E,j):this._processReaddir(A,B,K,W,E,j))},m.prototype._processReaddir=function(_,E,j,A,N,F){var R=this._readdir(j,F);if(R){for(var G=A[0],W=!!this.minimatch.negate,K=G._glob,U=this.dot||"."===K.charAt(0),Y=[],ie=0;ie<R.length;ie++)("."!==(de=R[ie]).charAt(0)||U)&&(W&&!_?!de.match(G):de.match(G))&&Y.push(de);var pe=Y.length;if(0!==pe)if(1!==A.length||this.mark||this.stat)for(A.shift(),ie=0;ie<pe;ie++){var he;de=Y[ie],he=_?[_,de]:[de],this._process(he.concat(A),N,F)}else{this.matches[N]||(this.matches[N]=Object.create(null));for(ie=0;ie<pe;ie++){var de=Y[ie];_&&(de="/"!==_.slice(-1)?_+"/"+de:_+de),"/"!==de.charAt(0)||this.nomount||(de=B.join(this.root,de)),this._emitMatch(N,de)}}}},m.prototype._emitMatch=function(_,E){if(!ie(this,E)){var j=this._makeAbs(E);if(this.mark&&(E=this._mark(E)),this.absolute&&(E=j),!this.matches[_][E]){if(this.nodir){var A=this.cache[j];if("DIR"===A||Array.isArray(A))return}this.matches[_][E]=!0,this.stat&&this._stat(E)}}},m.prototype._readdirInGlobStar=function(_){if(this.follow)return this._readdir(_,!1);var E,j;try{j=A.lstatSync(_)}catch(_){if("ENOENT"===_.code)return null}var N=j&&j.isSymbolicLink();return this.symlinks[_]=N,N||!j||j.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 j=this.cache[_];if(!j||"FILE"===j)return null;if(Array.isArray(j))return j}try{return this._readdirEntries(_,A.readdirSync(_))}catch(E){return this._readdirError(_,E),null}},m.prototype._readdirEntries=function(_,E){if(!this.mark&&!this.stat)for(var j=0;j<E.length;j++){var A=E[j];A="/"===_?_+A:_+"/"+A,this.cache[A]=!0}return this.cache[_]=E,E},m.prototype._readdirError=function(_,E){switch(E.code){case"ENOTSUP":case"ENOTDIR":var j=this._makeAbs(_);if(this.cache[j]="FILE",j===this.cwdAbs){var A=new Error(E.code+" invalid cwd "+this.cwd);throw A.path=this.cwd,A.code=E.code,A}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,j,A,N,F){var B=this._readdir(j,F);if(B){var R=A.slice(1),G=_?[_]:[],W=G.concat(R);this._process(W,N,!1);var K=B.length;if(!this.symlinks[j]||!F)for(var U=0;U<K;U++)if("."!==B[U].charAt(0)||this.dot){var Y=G.concat(B[U],R);this._process(Y,N,!0);var ie=G.concat(B[U],A);this._process(ie,N,!0)}}},m.prototype._processSimple=function(_,E){var j=this._stat(_);if(this.matches[E]||(this.matches[E]=Object.create(null)),j){if(_&&G(_)&&!this.nomount){var A=/[\/\\]$/.test(_);"/"===_.charAt(0)?_=B.join(this.root,_):(_=B.resolve(this.root,_),A&&(_+="/"))}"win32"===process.platform&&(_=_.replace(/\\/g,"/")),this._emitMatch(E,_)}},m.prototype._stat=function(_){var E=this._makeAbs(_),j="/"===_.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"),!j||"DIR"===N)return N;if(j&&"FILE"===N)return!1}var F=this.statCache[E];if(!F){var B;try{B=A.lstatSync(E)}catch(_){if(_&&("ENOENT"===_.code||"ENOTDIR"===_.code))return this.statCache[E]=!1,!1}if(B&&B.isSymbolicLink())try{F=A.statSync(E)}catch(_){F=B}else F=B}return this.statCache[E]=F,N=!0,F&&(N=F.isDirectory()?"DIR":"FILE"),this.cache[E]=this.cache[E]||N,(!j||"FILE"!==N)&&N},m.prototype._mark=function(_){return W.mark(this,_)},m.prototype._makeAbs=function(_){return W.makeAbs(this,_)}},363:(_,E,j)=>{var A=j(2680),N=Object.create(null),F=j(4640);_.exports=A((function(_,E){return N[_]?(N[_].push(E),null):(N[_]=[E],function(_){return F((function t(){var E=N[_],j=E.length,A=function(_){for(var E=_.length,j=[],A=0;A<E;A++)j[A]=_[A];return j}(arguments);try{for(var F=0;F<j;F++)E[F].apply(null,A)}finally{E.length>j?(E.splice(0,j),process.nextTick((function(){t.apply(null,A)}))):delete N[_]}}))}(_))}))},3352:(_,E,j)=>{try{var A=j(970);if("function"!=typeof A.inherits)throw"";_.exports=A.inherits}catch(E){_.exports=j(8248)}},8248:_=>{"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 r=function(){};r.prototype=E.prototype,_.prototype=new r,_.prototype.constructor=_}},1392:_=>{"use strict";var E=_.exports=function(_){return null!==_&&"object"==typeof _&&"function"==typeof _.pipe};E.writable=function(_){return E(_)&&!1!==_.writable&&"function"==typeof _._write&&"object"==typeof _._writableState},E.readable=function(_){return E(_)&&!1!==_.readable&&"function"==typeof _._read&&"object"==typeof _._readableState},E.duplex=function(_){return E.writable(_)&&E.readable(_)},E.transform=function(_){return E.duplex(_)&&"function"==typeof _._transform&&"object"==typeof _._transformState}},9268:(_,E,j)=>{var A;function o(_,E,j){if("function"==typeof E&&(j=E,E={}),!j){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise((function(j,A){o(_,E||{},(function(_,E){_?A(_):j(E)}))}))}A(_,E||{},(function(_,A){_&&("EACCES"===_.code||E&&E.ignoreErrors)&&(_=null,A=!1),j(_,A)}))}j(2058),A="win32"===process.platform||global.TESTING_WINDOWS?j(8340):j(8692),_.exports=o,o.sync=function(_,E){try{return A.sync(_,E||{})}catch(_){if(E&&E.ignoreErrors||"EACCES"===_.code)return!1;throw _}}},8692:(_,E,j)=>{_.exports=o,o.sync=function(_,E){return i(A.statSync(_),E)};var A=j(2058);function o(_,E,j){A.stat(_,(function(_,A){j(_,!_&&i(A,E))}))}function i(_,E){return _.isFile()&&function(_,E){var j=_.mode,A=_.uid,N=_.gid,F=void 0!==E.uid?E.uid:process.getuid&&process.getuid(),B=void 0!==E.gid?E.gid:process.getgid&&process.getgid(),R=parseInt("100",8),G=parseInt("010",8);return j&parseInt("001",8)||j&G&&N===B||j&R&&A===F||j&(R|G)&&0===F}(_,E)}},8340:(_,E,j)=>{_.exports=i,i.sync=function(_,E){return o(A.statSync(_),_,E)};var A=j(2058);function o(_,E,j){return!(!_.isSymbolicLink()&&!_.isFile())&&function(_,E){var j=void 0!==E.pathExt?E.pathExt:process.env.PATHEXT;if(!j)return!0;if(-1!==(j=j.split(";")).indexOf(""))return!0;for(var A=0;A<j.length;A++){var N=j[A].toLowerCase();if(N&&_.substr(-N.length).toLowerCase()===N)return!0}return!1}(E,j)}function i(_,E,j){A.stat(_,(function(A,N){j(A,!A&&o(N,_,E))}))}},2941:(_,E,j)=>{"use strict";const A=j(8558),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((_||A.release()).split(".")[0]),{name:N.get(_),version:"10."+(_-4)});_.exports=i,_.exports.default=i},836:(_,E,j)=>{_.exports=p,p.Minimatch=h;var A={sep:"/"};try{A=j(7072)}catch(_){}var N=p.GLOBSTAR=h.GLOBSTAR={},F=j(1620),B={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},R="[^/]",G=R+"*?",W="().*{}+?[]^$\\!".split("").reduce((function(_,E){return _[E]=!0,_}),{}),K=/\/+/;function f(_,E){_=_||{},E=E||{};var j={};return Object.keys(E).forEach((function(_){j[_]=E[_]})),Object.keys(_).forEach((function(E){j[E]=_[E]})),j}function p(_,E,j){if("string"!=typeof E)throw new TypeError("glob pattern string required");return j||(j={}),!(!j.nocomment&&"#"===E.charAt(0))&&(""===E.trim()?""===_:new h(E,j).match(_))}function h(_,E){if(!(this instanceof h))return new h(_,E);if("string"!=typeof _)throw new TypeError("glob pattern string required");E||(E={}),_=_.trim(),"/"!==A.sep&&(_=_.split(A.sep).join("/")),this.options=E,this.set=[],this.pattern=_,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function d(_,E){if(E||(E=this instanceof h?this.options:{}),void 0===(_=void 0===_?this.pattern:_))throw new TypeError("undefined pattern");return E.nobrace||!_.match(/\{.*\}/)?[_]:F(_)}p.filter=function(_,E){return E=E||{},function(j,A,N){return p(j,_,E)}},p.defaults=function(_){if(!_||!Object.keys(_).length)return p;var E=p,r=function(j,A,N){return E.minimatch(j,A,f(_,N))};return r.Minimatch=function(j,A){return new E.Minimatch(j,f(_,A))},r},h.defaults=function(_){return _&&Object.keys(_).length?p.defaults(_).Minimatch:h},h.prototype.debug=function(){},h.prototype.make=function(){if(!this._made){var _=this.pattern,E=this.options;if(E.nocomment||"#"!==_.charAt(0))if(_){this.parseNegate();var j=this.globSet=this.braceExpand();E.debug&&(this.debug=console.error),this.debug(this.pattern,j),j=this.globParts=j.map((function(_){return _.split(K)})),this.debug(this.pattern,j),j=j.map((function(_,E,j){return _.map(this.parse,this)}),this),this.debug(this.pattern,j),j=j.filter((function(_){return-1===_.indexOf(!1)})),this.debug(this.pattern,j),this.set=j}else this.empty=!0;else this.comment=!0}},h.prototype.parseNegate=function(){var _=this.pattern,E=!1,j=0;if(!this.options.nonegate){for(var A=0,N=_.length;A<N&&"!"===_.charAt(A);A++)E=!E,j++;j&&(this.pattern=_.substr(j)),this.negate=E}},p.braceExpand=function(_,E){return d(_,E)},h.prototype.braceExpand=d,h.prototype.parse=function(_,E){if(_.length>65536)throw new TypeError("pattern is too long");var j=this.options;if(!j.noglobstar&&"**"===_)return N;if(""===_)return"";var A,F="",K=!!j.nocase,Y=!1,ie=[],pe=[],he=!1,de=-1,me=-1,ge="."===_.charAt(0)?"":j.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",ve=this;function w(){if(A){switch(A){case"*":F+=G,K=!0;break;case"?":F+=R,K=!0;break;default:F+="\\"+A}ve.debug("clearStateChar %j %j",A,F),A=!1}}for(var ye,be=0,we=_.length;be<we&&(ye=_.charAt(be));be++)if(this.debug("%s\t%s %s %j",_,be,F,ye),Y&&W[ye])F+="\\"+ye,Y=!1;else switch(ye){case"/":return!1;case"\\":w(),Y=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",_,be,F,ye),he){this.debug(" in class"),"!"===ye&&be===me+1&&(ye="^"),F+=ye;continue}ve.debug("call clearStateChar %j",A),w(),A=ye,j.noext&&w();continue;case"(":if(he){F+="(";continue}if(!A){F+="\\(";continue}ie.push({type:A,start:be-1,reStart:F.length,open:B[A].open,close:B[A].close}),F+="!"===A?"(?:(?!(?:":"(?:",this.debug("plType %j %j",A,F),A=!1;continue;case")":if(he||!ie.length){F+="\\)";continue}w(),K=!0;var xe=ie.pop();F+=xe.close,"!"===xe.type&&pe.push(xe),xe.reEnd=F.length;continue;case"|":if(he||!ie.length||Y){F+="\\|",Y=!1;continue}w(),F+="|";continue;case"[":if(w(),he){F+="\\"+ye;continue}he=!0,me=be,de=F.length,F+=ye;continue;case"]":if(be===me+1||!he){F+="\\"+ye,Y=!1;continue}if(he){var Se=_.substring(me+1,be);try{RegExp("["+Se+"]")}catch(_){var _e=this.parse(Se,U);F=F.substr(0,de)+"\\["+_e[0]+"\\]",K=K||_e[1],he=!1;continue}}K=!0,he=!1,F+=ye;continue;default:w(),Y?Y=!1:!W[ye]||"^"===ye&&he||(F+="\\"),F+=ye}for(he&&(Se=_.substr(me+1),_e=this.parse(Se,U),F=F.substr(0,de)+"\\["+_e[0],K=K||_e[1]),xe=ie.pop();xe;xe=ie.pop()){var Pe=F.slice(xe.reStart+xe.open.length);this.debug("setting tail",F,xe),Pe=Pe.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(_,E,j){return j||(j="\\"),E+E+j+"|"})),this.debug("tail=%j\n %s",Pe,Pe,xe,F);var Oe="*"===xe.type?G:"?"===xe.type?R:"\\"+xe.type;K=!0,F=F.slice(0,xe.reStart)+Oe+"\\("+Pe}w(),Y&&(F+="\\\\");var Ie=!1;switch(F.charAt(0)){case".":case"[":case"(":Ie=!0}for(var Ee=pe.length-1;Ee>-1;Ee--){var je=pe[Ee],Ae=F.slice(0,je.reStart),ke=F.slice(je.reStart,je.reEnd-8),Ne=F.slice(je.reEnd-8,je.reEnd),Fe=F.slice(je.reEnd);Ne+=Fe;var Ce=Ae.split("(").length-1,Me=Fe;for(be=0;be<Ce;be++)Me=Me.replace(/\)[+*?]?/,"");var Ve="";""===(Fe=Me)&&E!==U&&(Ve="$"),F=Ae+ke+Fe+Ve+Ne}if(""!==F&&K&&(F="(?=.)"+F),Ie&&(F=ge+F),E===U)return[F,K];if(!K)return _.replace(/\\(.)/g,"$1");var De=j.nocase?"i":"";try{var Te=new RegExp("^"+F+"$",De)}catch(_){return new RegExp("$.")}return Te._glob=_,Te._src=F,Te};var U={};p.makeRe=function(_,E){return new h(_,E||{}).makeRe()},h.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,j=E.noglobstar?G:E.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",A=E.nocase?"i":"",F=_.map((function(_){return _.map((function(_){return _===N?j:"string"==typeof _?_.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):_._src})).join("\\/")})).join("|");F="^(?:"+F+")$",this.negate&&(F="^(?!"+F+").*$");try{this.regexp=new RegExp(F,A)}catch(_){this.regexp=!1}return this.regexp},p.match=function(_,E,j){var A=new h(E,j=j||{});return _=_.filter((function(_){return A.match(_)})),A.options.nonull&&!_.length&&_.push(E),_},h.prototype.match=function(_,E){if(this.debug("match",_,this.pattern),this.comment)return!1;if(this.empty)return""===_;if("/"===_&&E)return!0;var j=this.options;"/"!==A.sep&&(_=_.split(A.sep).join("/")),_=_.split(K),this.debug(this.pattern,"split",_);var N,F,B=this.set;for(this.debug(this.pattern,"set",B),F=_.length-1;F>=0&&!(N=_[F]);F--);for(F=0;F<B.length;F++){var R=B[F],G=_;if(j.matchBase&&1===R.length&&(G=[N]),this.matchOne(G,R,E))return!!j.flipNegate||!this.negate}return!j.flipNegate&&this.negate},h.prototype.matchOne=function(_,E,j){var A=this.options;this.debug("matchOne",{this:this,file:_,pattern:E}),this.debug("matchOne",_.length,E.length);for(var F=0,B=0,R=_.length,G=E.length;F<R&&B<G;F++,B++){this.debug("matchOne loop");var W,K=E[B],U=_[F];if(this.debug(E,K,U),!1===K)return!1;if(K===N){this.debug("GLOBSTAR",[E,K,U]);var Y=F,ie=B+1;if(ie===G){for(this.debug("** at the end");F<R;F++)if("."===_[F]||".."===_[F]||!A.dot&&"."===_[F].charAt(0))return!1;return!0}for(;Y<R;){var pe=_[Y];if(this.debug("\nglobstar while",_,Y,E,ie,pe),this.matchOne(_.slice(Y),E.slice(ie),j))return this.debug("globstar found match!",Y,R,pe),!0;if("."===pe||".."===pe||!A.dot&&"."===pe.charAt(0)){this.debug("dot detected!",_,Y,E,ie);break}this.debug("globstar swallow a segment, and continue"),Y++}return!(!j||(this.debug("\n>>> no match, partial?",_,Y,E,ie),Y!==R))}if("string"==typeof K?(W=A.nocase?U.toLowerCase()===K.toLowerCase():U===K,this.debug("string match",K,U,W)):(W=U.match(K),this.debug("pattern match",K,U,W)),!W)return!1}if(F===R&&B===G)return!0;if(F===R)return j;if(B===G)return F===R-1&&""===_[F];throw new Error("wtf?")}},9480:_=>{"use strict";_.exports=function(_){try{return _()}catch(_){}}},9584:(_,E,j)=>{"use strict";const A=j(7072),N=j(3032);_.exports=_=>{let E;_=Object.assign({cwd:process.cwd(),path:process.env[N()]},_);let j=A.resolve(_.cwd);const F=[];for(;E!==j;)F.push(A.join(j,"node_modules/.bin")),E=j,j=A.resolve(j,"..");return F.push(A.dirname(process.execPath)),F.concat(_.path).join(A.delimiter)},_.exports.env=E=>{E=Object.assign({env:process.env},E);const j=Object.assign({},E.env),A=N({env:j});return E.path=j[A],j[A]=_.exports(E),j}},4640:(_,E,j)=>{var A=j(2680);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=A(o),_.exports.strict=A(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})}))},2288:(_,E,j)=>{"use strict";const A=j(8558),N=j(2941),F=j(6468);_.exports=(_,E)=>{if(!_&&E)throw new Error("You can't specify a `release` without specifying `platform`");let j;if("darwin"===(_=_||A.platform())){E||"darwin"!==A.platform()||(E=A.release());const _=E?Number(E.split(".")[0])>15?"macOS":"OS X":"macOS";return j=E?N(E).name:"",_+(j?" "+j:"")}return"linux"===_?(E||"linux"!==A.platform()||(E=A.release()),j=E?E.replace(/^(\d+\.\d+).*/,"$1"):"","Linux"+(j?" "+j:"")):"win32"===_?(E||"win32"!==A.platform()||(E=A.release()),j=E?F(E):"","Windows"+(j?" "+j:"")):_}},1548:_=>{"use strict";_.exports=(_,E)=>(E=E||(()=>{}),_.then((_=>new Promise((_=>{_(E())})).then((()=>_))),(_=>new Promise((_=>{_(E())})).then((()=>{throw _})))))},4832:_=>{"use strict";function t(_){return"/"===_.charAt(0)}function r(_){var E=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(_),j=E[1]||"",A=Boolean(j&&":"!==j.charAt(1));return Boolean(E[2]||A)}_.exports="win32"===process.platform?r:t,_.exports.posix=t,_.exports.win32=r},3032:_=>{"use strict";_.exports=_=>{const E=(_=_||{}).env||process.env;return"win32"!==(_.platform||process.platform)?"PATH":Object.keys(E).find((_=>"PATH"===_.toUpperCase()))||"Path"}},8984:(_,E,j)=>{var A=j(4640),N=j(9988),F=j(2058),s=function(){},B=/^v?\.0/.test(process.version),c=function(_){return"function"==typeof _},u=function(_){_()},l=function(_,E){return _.pipe(E)};_.exports=function(){var _,E=Array.prototype.slice.call(arguments),j=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 R=E.map((function(G,W){var K=W<E.length-1;return function(_,E,j,R){R=A(R);var G=!1;_.on("close",(function(){G=!0})),N(_,{readable:E,writable:j},(function(_){if(_)return R(_);G=!0,R()}));var W=!1;return function(E){if(!G&&!W)return W=!0,function(_){return!!B&&!!F&&(_ instanceof(F.ReadStream||s)||_ instanceof(F.WriteStream||s))&&c(_.close)}(_)?_.close(s):function(_){return _.setHeader&&c(_.abort)}(_)?_.abort():c(_.destroy)?_.destroy():void R(E||new Error("stream was destroyed"))}}(G,K,W>0,(function(E){_||(_=E),E&&R.forEach(u),K||(R.forEach(u),j(_))}))}));return E.reduce(l)}},1716:(_,E)=>{var j;E=_.exports=H,j="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 A=256,N=Number.MAX_SAFE_INTEGER||9007199254740991,F=E.re=[],B=E.src=[],R=0,G=R++;B[G]="0|[1-9]\\d*";var W=R++;B[W]="[0-9]+";var K=R++;B[K]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var U=R++;B[U]="("+B[G]+")\\.("+B[G]+")\\.("+B[G]+")";var Y=R++;B[Y]="("+B[W]+")\\.("+B[W]+")\\.("+B[W]+")";var ie=R++;B[ie]="(?:"+B[G]+"|"+B[K]+")";var pe=R++;B[pe]="(?:"+B[W]+"|"+B[K]+")";var he=R++;B[he]="(?:-("+B[ie]+"(?:\\."+B[ie]+")*))";var de=R++;B[de]="(?:-?("+B[pe]+"(?:\\."+B[pe]+")*))";var me=R++;B[me]="[0-9A-Za-z-]+";var ge=R++;B[ge]="(?:\\+("+B[me]+"(?:\\."+B[me]+")*))";var ve=R++,ye="v?"+B[U]+B[he]+"?"+B[ge]+"?";B[ve]="^"+ye+"$";var be="[v=\\s]*"+B[Y]+B[de]+"?"+B[ge]+"?",we=R++;B[we]="^"+be+"$";var xe=R++;B[xe]="((?:<|>)?=?)";var Se=R++;B[Se]=B[W]+"|x|X|\\*";var _e=R++;B[_e]=B[G]+"|x|X|\\*";var Pe=R++;B[Pe]="[v=\\s]*("+B[_e]+")(?:\\.("+B[_e]+")(?:\\.("+B[_e]+")(?:"+B[he]+")?"+B[ge]+"?)?)?";var Oe=R++;B[Oe]="[v=\\s]*("+B[Se]+")(?:\\.("+B[Se]+")(?:\\.("+B[Se]+")(?:"+B[de]+")?"+B[ge]+"?)?)?";var Ie=R++;B[Ie]="^"+B[xe]+"\\s*"+B[Pe]+"$";var Ee=R++;B[Ee]="^"+B[xe]+"\\s*"+B[Oe]+"$";var je=R++;B[je]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var Ae=R++;B[Ae]="(?:~>?)";var ke=R++;B[ke]="(\\s*)"+B[Ae]+"\\s+",F[ke]=new RegExp(B[ke],"g");var Ne=R++;B[Ne]="^"+B[Ae]+B[Pe]+"$";var Fe=R++;B[Fe]="^"+B[Ae]+B[Oe]+"$";var Ce=R++;B[Ce]="(?:\\^)";var Me=R++;B[Me]="(\\s*)"+B[Ce]+"\\s+",F[Me]=new RegExp(B[Me],"g");var Ve=R++;B[Ve]="^"+B[Ce]+B[Pe]+"$";var De=R++;B[De]="^"+B[Ce]+B[Oe]+"$";var Te=R++;B[Te]="^"+B[xe]+"\\s*("+be+")$|^$";var Le=R++;B[Le]="^"+B[xe]+"\\s*("+ye+")$|^$";var $e=R++;B[$e]="(\\s*)"+B[xe]+"\\s*("+be+"|"+B[Pe]+")",F[$e]=new RegExp(B[$e],"g");var Be=R++;B[Be]="^\\s*("+B[Pe]+")\\s+-\\s+("+B[Pe]+")\\s*$";var Re=R++;B[Re]="^\\s*("+B[Oe]+")\\s+-\\s+("+B[Oe]+")\\s*$";var Ge=R++;B[Ge]="(<|>)?=?\\s*\\*";for(var He=0;He<35;He++)j(He,B[He]),F[He]||(F[He]=new RegExp(B[He]));function q(_,E){if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),_ instanceof H)return _;if("string"!=typeof _)return null;if(_.length>A)return null;if(!(E.loose?F[we]:F[ve]).test(_))return null;try{return new H(_,E)}catch(_){return null}}function H(_,E){if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),_ instanceof H){if(_.loose===E.loose)return _;_=_.version}else if("string"!=typeof _)throw new TypeError("Invalid Version: "+_);if(_.length>A)throw new TypeError("version is longer than "+A+" characters");if(!(this instanceof H))return new H(_,E);j("SemVer",_,E),this.options=E,this.loose=!!E.loose;var B=_.trim().match(E.loose?F[we]:F[ve]);if(!B)throw new TypeError("Invalid Version: "+_);if(this.raw=_,this.major=+B[1],this.minor=+B[2],this.patch=+B[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");B[4]?this.prerelease=B[4].split(".").map((function(_){if(/^[0-9]+$/.test(_)){var E=+_;if(E>=0&&E<N)return E}return _})):this.prerelease=[],this.build=B[5]?B[5].split("."):[],this.format()}E.parse=q,E.valid=function(_,E){var j=q(_,E);return j?j.version:null},E.clean=function(_,E){var j=q(_.trim().replace(/^[=v]+/,""),E);return j?j.version:null},E.SemVer=H,H.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},H.prototype.toString=function(){return this.version},H.prototype.compare=function(_){return j("SemVer.compare",this.version,this.options,_),_ instanceof H||(_=new H(_,this.options)),this.compareMain(_)||this.comparePre(_)},H.prototype.compareMain=function(_){return _ instanceof H||(_=new H(_,this.options)),J(this.major,_.major)||J(this.minor,_.minor)||J(this.patch,_.patch)},H.prototype.comparePre=function(_){if(_ instanceof H||(_=new H(_,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 A=this.prerelease[E],N=_.prerelease[E];if(j("prerelease compare",E,A,N),void 0===A&&void 0===N)return 0;if(void 0===N)return 1;if(void 0===A)return-1;if(A!==N)return J(A,N)}while(++E)},H.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 j=this.prerelease.length;--j>=0;)"number"==typeof this.prerelease[j]&&(this.prerelease[j]++,j=-2);-1===j&&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,j,A){"string"==typeof j&&(A=j,j=void 0);try{return new H(_,j).inc(E,A).version}catch(_){return null}},E.diff=function(_,E){if(Z(_,E))return null;var j=q(_),A=q(E);if(j.prerelease.length||A.prerelease.length){for(var N in j)if(("major"===N||"minor"===N||"patch"===N)&&j[N]!==A[N])return"pre"+N;return"prerelease"}for(var N in j)if(("major"===N||"minor"===N||"patch"===N)&&j[N]!==A[N])return N},E.compareIdentifiers=J;var We=/^[0-9]+$/;function J(_,E){var j=We.test(_),A=We.test(E);return j&&A&&(_=+_,E=+E),j&&!A?-1:A&&!j?1:_<E?-1:_>E?1:0}function z(_,E,j){return new H(_,j).compare(new H(E,j))}function Q(_,E,j){return z(_,E,j)>0}function X(_,E,j){return z(_,E,j)<0}function Z(_,E,j){return 0===z(_,E,j)}function ee(_,E,j){return 0!==z(_,E,j)}function te(_,E,j){return z(_,E,j)>=0}function re(_,E,j){return z(_,E,j)<=0}function ne(_,E,j,A){var N;switch(E){case"===":"object"==typeof _&&(_=_.version),"object"==typeof j&&(j=j.version),N=_===j;break;case"!==":"object"==typeof _&&(_=_.version),"object"==typeof j&&(j=j.version),N=_!==j;break;case"":case"=":case"==":N=Z(_,j,A);break;case"!=":N=ee(_,j,A);break;case">":N=Q(_,j,A);break;case">=":N=te(_,j,A);break;case"<":N=X(_,j,A);break;case"<=":N=re(_,j,A);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);j("comparator",_,E),this.options=E,this.loose=!!E.loose,this.parse(_),this.semver===qe?this.value="":this.value=this.operator+this.semver.version,j("comp",this)}E.rcompareIdentifiers=function(_,E){return J(E,_)},E.major=function(_,E){return new H(_,E).major},E.minor=function(_,E){return new H(_,E).minor},E.patch=function(_,E){return new H(_,E).patch},E.compare=z,E.compareLoose=function(_,E){return z(_,E,!0)},E.rcompare=function(_,E,j){return z(E,_,j)},E.sort=function(_,j){return _.sort((function(_,A){return E.compare(_,A,j)}))},E.rsort=function(_,j){return _.sort((function(_,A){return E.rcompare(_,A,j)}))},E.gt=Q,E.lt=X,E.eq=Z,E.neq=ee,E.gte=te,E.lte=re,E.cmp=ne,E.Comparator=oe;var qe={};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,j,A,N,F,B,R,G,W,K,U,Y){return((E=ae(j)?"":ae(A)?">="+j+".0.0":ae(N)?">="+j+"."+A+".0":">="+E)+" "+(R=ae(G)?"":ae(W)?"<"+(+G+1)+".0.0":ae(K)?"<"+G+"."+(+W+1)+".0":U?"<="+G+"."+W+"."+K+"-"+U:"<="+R)).trim()}function ue(_,E,A){for(var N=0;N<_.length;N++)if(!_[N].test(E))return!1;if(A||(A={}),E.prerelease.length&&!A.includePrerelease){for(N=0;N<_.length;N++)if(j(_[N].semver),_[N].semver!==qe&&_[N].semver.prerelease.length>0){var F=_[N].semver;if(F.major===E.major&&F.minor===E.minor&&F.patch===E.patch)return!0}return!1}return!0}function le(_,E,j){try{E=new se(E,j)}catch(_){return!1}return E.test(_)}function fe(_,E,j,A){var N,F,B,R,G;switch(_=new H(_,A),E=new se(E,A),j){case">":N=Q,F=re,B=X,R=">",G=">=";break;case"<":N=X,F=te,B=Q,R="<",G="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(le(_,E,A))return!1;for(var W=0;W<E.set.length;++W){var K=E.set[W],U=null,Y=null;if(K.forEach((function(_){_.semver===qe&&(_=new oe(">=0.0.0")),U=U||_,Y=Y||_,N(_.semver,U.semver,A)?U=_:B(_.semver,Y.semver,A)&&(Y=_)})),U.operator===R||U.operator===G)return!1;if((!Y.operator||Y.operator===R)&&F(_,Y.semver))return!1;if(Y.operator===G&&B(_,Y.semver))return!1}return!0}oe.prototype.parse=function(_){var E=this.options.loose?F[Te]:F[Le],j=_.match(E);if(!j)throw new TypeError("Invalid comparator: "+_);this.operator=j[1],"="===this.operator&&(this.operator=""),j[2]?this.semver=new H(j[2],this.options.loose):this.semver=qe},oe.prototype.toString=function(){return this.value},oe.prototype.test=function(_){return j("Comparator.test",_,this.options.loose),this.semver===qe||("string"==typeof _&&(_=new H(_,this.options)),ne(_,this.operator,this.semver,this.options))},oe.prototype.intersects=function(_,E){if(!(_ instanceof oe))throw new TypeError("a Comparator is required");var j;if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),""===this.operator)return j=new se(_.value,E),le(this.value,j,E);if(""===_.operator)return j=new se(this.value,E),le(_.semver,j,E);var A=!(">="!==this.operator&&">"!==this.operator||">="!==_.operator&&">"!==_.operator),N=!("<="!==this.operator&&"<"!==this.operator||"<="!==_.operator&&"<"!==_.operator),F=this.semver.version===_.semver.version,B=!(">="!==this.operator&&"<="!==this.operator||">="!==_.operator&&"<="!==_.operator),R=ne(this.semver,"<",_.semver,E)&&(">="===this.operator||">"===this.operator)&&("<="===_.operator||"<"===_.operator),G=ne(this.semver,">",_.semver,E)&&("<="===this.operator||"<"===this.operator)&&(">="===_.operator||">"===_.operator);return A||N||F&&B||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 A=E?F[Re]:F[Be];_=_.replace(A,ce),j("hyphen replace",_),_=_.replace(F[$e],"$1$2$3"),j("comparator trim",_,F[$e]),_=(_=(_=_.replace(F[ke],"$1~")).replace(F[Me],"$1^")).split(/\s+/).join(" ");var N=E?F[Te]:F[Le],B=_.split(" ").map((function(_){return function(_,E){return j("comp",_,E),_=function(_,E){return _.trim().split(/\s+/).map((function(_){return function(_,E){j("caret",_,E),E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1});var A=E.loose?F[De]:F[Ve];return _.replace(A,(function(E,A,N,F,B){var R;return j("caret",_,E,A,N,F,B),ae(A)?R="":ae(N)?R=">="+A+".0.0 <"+(+A+1)+".0.0":ae(F)?R="0"===A?">="+A+"."+N+".0 <"+A+"."+(+N+1)+".0":">="+A+"."+N+".0 <"+(+A+1)+".0.0":B?(j("replaceCaret pr",B),"-"!==B.charAt(0)&&(B="-"+B),R="0"===A?"0"===N?">="+A+"."+N+"."+F+B+" <"+A+"."+N+"."+(+F+1):">="+A+"."+N+"."+F+B+" <"+A+"."+(+N+1)+".0":">="+A+"."+N+"."+F+B+" <"+(+A+1)+".0.0"):(j("no pr"),R="0"===A?"0"===N?">="+A+"."+N+"."+F+" <"+A+"."+N+"."+(+F+1):">="+A+"."+N+"."+F+" <"+A+"."+(+N+1)+".0":">="+A+"."+N+"."+F+" <"+(+A+1)+".0.0"),j("caret return",R),R}))}(_,E)})).join(" ")}(_,E),j("caret",_),_=function(_,E){return _.trim().split(/\s+/).map((function(_){return function(_,E){E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1});var A=E.loose?F[Fe]:F[Ne];return _.replace(A,(function(E,A,N,F,B){var R;return j("tilde",_,E,A,N,F,B),ae(A)?R="":ae(N)?R=">="+A+".0.0 <"+(+A+1)+".0.0":ae(F)?R=">="+A+"."+N+".0 <"+A+"."+(+N+1)+".0":B?(j("replaceTilde pr",B),"-"!==B.charAt(0)&&(B="-"+B),R=">="+A+"."+N+"."+F+B+" <"+A+"."+(+N+1)+".0"):R=">="+A+"."+N+"."+F+" <"+A+"."+(+N+1)+".0",j("tilde return",R),R}))}(_,E)})).join(" ")}(_,E),j("tildes",_),_=function(_,E){return j("replaceXRanges",_,E),_.split(/\s+/).map((function(_){return function(_,E){_=_.trim(),E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1});var A=E.loose?F[Ee]:F[Ie];return _.replace(A,(function(E,A,N,F,B,R){j("xRange",_,E,A,N,F,B,R);var G=ae(N),W=G||ae(F),K=W||ae(B);return"="===A&&K&&(A=""),G?E=">"===A||"<"===A?"<0.0.0":"*":A&&K?(W&&(F=0),K&&(B=0),">"===A?(A=">=",W?(N=+N+1,F=0,B=0):K&&(F=+F+1,B=0)):"<="===A&&(A="<",W?N=+N+1:F=+F+1),E=A+N+"."+F+"."+B):W?E=">="+N+".0.0 <"+(+N+1)+".0.0":K&&(E=">="+N+"."+F+".0 <"+N+"."+(+F+1)+".0"),j("xRange return",E),E}))}(_,E)})).join(" ")}(_,E),j("xrange",_),_=function(_,E){return j("replaceStars",_,E),_.trim().replace(F[Ge],"")}(_,E),j("stars",_),_}(_,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(B=B.filter((function(_){return!!_.match(N)}))),B.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(j){return j.every((function(j){return _.set.some((function(_){return _.every((function(_){return j.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 H(_,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,j){var A=null,N=null;try{var F=new se(E,j)}catch(_){return null}return _.forEach((function(_){F.test(_)&&(A&&-1!==N.compare(_)||(N=new H(A=_,j)))})),A},E.minSatisfying=function(_,E,j){var A=null,N=null;try{var F=new se(E,j)}catch(_){return null}return _.forEach((function(_){F.test(_)&&(A&&1!==N.compare(_)||(N=new H(A=_,j)))})),A},E.validRange=function(_,E){try{return new se(_,E).range||"*"}catch(_){return null}},E.ltr=function(_,E,j){return fe(_,E,"<",j)},E.gtr=function(_,E,j){return fe(_,E,">",j)},E.outside=fe,E.prerelease=function(_,E){var j=q(_,E);return j&&j.prerelease.length?j.prerelease:null},E.intersects=function(_,E,j){return _=new se(_,j),E=new se(E,j),_.intersects(E)},E.coerce=function(_){if(_ instanceof H)return _;if("string"!=typeof _)return null;var E=_.match(F[je]);return null==E?null:q((E[1]||"0")+"."+(E[2]||"0")+"."+(E[3]||"0"))}},6176:(_,E,j)=>{"use strict";var A=j(184);_.exports=function(_){var E=_.match(A);if(!E)return null;var j=E[0].replace(/#! ?/,"").split(" "),N=j[0].split("/").pop(),F=j[1];return"env"===N?F:N+(F?" "+F:"")}},184:_=>{"use strict";_.exports=/^#!.*/},200:(_,E,j)=>{var A,N=j(6608),F=j(6132),B=j(467);function a(){G&&(G=!1,F.forEach((function(_){try{process.removeListener(_,R[_])}catch(_){}})),process.emit=K,process.reallyExit=W,A.count-=1)}function c(_,E,j){A.emitted[_]||(A.emitted[_]=!0,A.emit(_,E,j))}"function"!=typeof B&&(B=B.EventEmitter),process.__signal_exit_emitter__?A=process.__signal_exit_emitter__:((A=process.__signal_exit_emitter__=new B).count=0,A.emitted={}),A.infinite||(A.setMaxListeners(1/0),A.infinite=!0),_.exports=function(_,E){N.equal(typeof _,"function","a callback must be provided for exit handler"),!1===G&&f();var j="exit";return E&&E.alwaysLast&&(j="afterexit"),A.on(j,_),function(){A.removeListener(j,_),0===A.listeners("exit").length&&0===A.listeners("afterexit").length&&a()}},_.exports.unload=a;var R={};F.forEach((function(_){R[_]=function(){process.listeners(_).length===A.count&&(a(),c("exit",null,_),c("afterexit",null,_),process.kill(process.pid,_))}})),_.exports.signals=function(){return F},_.exports.load=f;var G=!1;function f(){G||(G=!0,A.count+=1,F=F.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 K=process.emit;function m(_,E){if("exit"===_){void 0!==E&&(process.exitCode=E);var j=K.apply(this,arguments);return c("exit",process.exitCode,null),c("afterexit",process.exitCode,null),j}return K.apply(this,arguments)}},6132:_=>{_.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")},9860:_=>{"use strict";_.exports=function(_){var E="string"==typeof _?"\n":"\n".charCodeAt(),j="string"==typeof _?"\r":"\r".charCodeAt();return _[_.length-1]===E&&(_=_.slice(0,_.length-1)),_[_.length-1]===j&&(_=_.slice(0,_.length-1)),_}},8460:(_,E,j)=>{_.exports=u,u.sync=function(_,E){for(var j=c(_,E=E||{}),A=j.env,F=j.ext,R=j.extExe,G=[],W=0,K=A.length;W<K;W++){var U=A[W];'"'===U.charAt(0)&&'"'===U.slice(-1)&&(U=U.slice(1,-1));var Y=N.join(U,_);!U&&/^\.[\\\/]/.test(_)&&(Y=_.slice(0,2)+Y);for(var ie=0,pe=F.length;ie<pe;ie++){var he=Y+F[ie];try{if(B.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 A="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,N=j(7072),F=A?";":":",B=j(9268);function a(_){var E=new Error("not found: "+_);return E.code="ENOENT",E}function c(_,E){var j=E.colon||F,N=E.path||process.env.PATH||"",B=[""];N=N.split(j);var R="";return A&&(N.unshift(process.cwd()),B=(R=E.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM").split(j),-1!==_.indexOf(".")&&""!==B[0]&&B.unshift("")),(_.match(/\//)||A&&_.match(/\\/))&&(N=[""]),{env:N,ext:B,extExe:R}}function u(_,E,j){"function"==typeof E&&(j=E,E={});var A=c(_,E),F=A.env,R=A.ext,G=A.extExe,W=[];!function n(A,K){if(A===K)return E.all&&W.length?j(null,W):j(a(_));var U=F[A];'"'===U.charAt(0)&&'"'===U.slice(-1)&&(U=U.slice(1,-1));var Y=N.join(U,_);!U&&/^\.[\\\/]/.test(_)&&(Y=_.slice(0,2)+Y),function e(_,N){if(_===N)return n(A+1,K);var F=R[_];B(Y+F,{pathExt:G},(function(A,B){if(!A&&B){if(!E.all)return j(null,Y+F);W.push(Y+F)}return e(_+1,N)}))}(0,R.length)}(0,F.length)}},6468:(_,E,j)=>{"use strict";const A=j(8558),N=j(8636),F=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(_||A.release());if(_&&!E)throw new Error("`release` argument doesn't match `n.n`");const j=(E||[])[0];if((!_||_===A.release())&&["6.1","6.2","6.3","10.0"].includes(j)){const _=((N.sync("wmic",["os","get","Caption"]).stdout||"").match(/2008|2012|2016/)||[])[0];if(_)return`Server ${_}`}return F.get(j)}},8636:(_,E,j)=>{"use strict";const A=j(7072),N=j(4368),F=j(7468),B=j(9860),R=j(9584),G=j(1392),W=j(9068),K=j(1548),U=j(200),Y=j(7688),ie=j(6174);function d(_,E,j){let N;return(j=Object.assign({extendEnv:!0,env:{}},j)).extendEnv&&(j.env=Object.assign({},process.env,j.env)),!0===j.__winShell?(delete j.__winShell,N={command:_,args:E,options:j,file:_,original:{cmd:_,args:E}}):N=F._parse(_,E,j),(j=Object.assign({maxBuffer:1e7,buffer:!0,stripEof:!0,preferLocal:!0,localDir:N.options.cwd||process.cwd(),encoding:"utf8",reject:!0,cleanup:!0},N.options)).stdio=ie(j),j.preferLocal&&(j.env=R.env(Object.assign({},j,{cwd:j.localDir}))),j.detached&&(j.cleanup=!1),"win32"===process.platform&&"cmd.exe"===A.basename(N.command)&&N.args.unshift("/q"),{cmd:N.command,args:N.args,opts:j,parsed:N}}function m(_,E){return E&&_.stripEof&&(E=B(E)),E}function g(_,E,j){let A="/bin/sh",N=["-c",E];return j=Object.assign({},j),"win32"===process.platform&&(j.__winShell=!0,A=process.env.comspec||"cmd.exe",N=["/s","/c",`"${E}"`],j.windowsVerbatimArguments=!0),j.shell&&(A=j.shell,delete j.shell),_(A,N,j)}function v(_,E,{encoding:j,buffer:A,maxBuffer:N}){if(!_[E])return null;let F;return F=A?j?W(_[E],{encoding:j,maxBuffer:N}):W.buffer(_[E],{maxBuffer:N}):new Promise(((j,A)=>{_[E].once("end",j).once("error",A)})),F.catch((_=>{throw _.stream=E,_.message=`${E} ${_.message}`,_}))}function y(_,E){const{stdout:j,stderr:A}=_;let N=_.error;const{code:F,signal:B}=_,{parsed:R,joinedCmd:G}=E,W=E.timedOut||!1;if(!N){let _="";Array.isArray(R.opts.stdio)?("inherit"!==R.opts.stdio[2]&&(_+=_.length>0?A:`\n${A}`),"inherit"!==R.opts.stdio[1]&&(_+=`\n${j}`)):"inherit"!==R.opts.stdio&&(_=`\n${A}${j}`),N=new Error(`Command failed: ${G}${_}`),N.code=F<0?Y(F):F}return N.stdout=j,N.stderr=A,N.failed=!0,N.signal=B||null,N.cmd=G,N.timedOut=W,N}function b(_,E){let j=_;return Array.isArray(E)&&E.length>0&&(j+=" "+E.join(" ")),j}_.exports=(_,E,j)=>{const A=d(_,E,j),{encoding:B,buffer:R,maxBuffer:W}=A.opts,Y=b(_,E);let ie,pe;try{ie=N.spawn(A.cmd,A.args,A.opts)}catch(_){return Promise.reject(_)}A.opts.cleanup&&(pe=U((()=>{ie.kill()})));let he=null,de=!1;const S=()=>{he&&(clearTimeout(he),he=null),pe&&pe()};A.opts.timeout>0&&(he=setTimeout((()=>{he=null,de=!0,ie.kill(A.opts.killSignal)}),A.opts.timeout));const me=new Promise((_=>{ie.on("exit",((E,j)=>{S(),_({code:E,signal:j})})),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 I=()=>K(Promise.all([me,v(ie,"stdout",{encoding:B,buffer:R,maxBuffer:W}),v(ie,"stderr",{encoding:B,buffer:R,maxBuffer:W})]).then((_=>{const E=_[0];if(E.stdout=_[1],E.stderr=_[2],E.error||0!==E.code||null!==E.signal){const _=y(E,{joinedCmd:Y,parsed:A,timedOut:de});if(_.killed=_.killed||ie.killed,!A.opts.reject)return _;throw _}return{stdout:m(A.opts,E.stdout),stderr:m(A.opts,E.stderr),code:0,failed:!1,killed:!1,signal:null,cmd:Y,timedOut:!1}})),O);return F._enoent.hookChildProcess(ie,A.parsed),function(_,E){null!=E&&(G(E)?E.pipe(_.stdin):_.stdin.end(E))}(ie,A.opts.input),ie.then=(_,E)=>I().then(_,E),ie.catch=_=>I().catch(_),ie},_.exports.stdout=(...E)=>_.exports(...E).then((_=>_.stdout)),_.exports.stderr=(...E)=>_.exports(...E).then((_=>_.stderr)),_.exports.shell=(E,j)=>g(_.exports,E,j),_.exports.sync=(_,E,j)=>{const A=d(_,E,j),F=b(_,E);if(G(A.opts.input))throw new TypeError("The `input` option cannot be a stream in sync mode");const B=N.spawnSync(A.cmd,A.args,A.opts);if(B.code=B.status,B.error||0!==B.status||null!==B.signal){const _=y(B,{joinedCmd:F,parsed:A});if(!A.opts.reject)return _;throw _}return{stdout:m(A.opts,B.stdout),stderr:m(A.opts,B.stderr),code:0,failed:!1,signal:null,cmd:F,timedOut:!1}},_.exports.shellSync=(E,j)=>g(_.exports.sync,E,j)},7688:(_,E,j)=>{"use strict";const A=j(970);let N;if("function"==typeof A.getSystemErrorName)_.exports=A.getSystemErrorName;else{try{if(N=process.binding("uv"),"function"!=typeof N.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},6174:_=>{"use strict";const E=["stdin","stdout","stderr"];_.exports=_=>{if(!_)return null;if(_.stdio&&(_=>E.some((E=>Boolean(_[E]))))(_))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${E.map((_=>`\`${_}\``)).join(", ")}`);if("string"==typeof _.stdio)return _.stdio;const j=_.stdio||[];if(!Array.isArray(j))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof j}\``);const A=[],N=Math.max(j.length,E.length);for(let F=0;F<N;F++){let N=null;void 0!==j[F]?N=j[F]:void 0!==_[E[F]]&&(N=_[E[F]]),A[F]=N}return A}},656:(_,E,j)=>{"use strict";const{PassThrough:A}=j(8378);_.exports=_=>{_=Object.assign({},_);const{array:E}=_;let{encoding:j}=_;const N="buffer"===j;let F=!1;E?F=!(j||N):j=j||"utf8",N&&(j=null);let B=0;const R=[],G=new A({objectMode:F});return j&&G.setEncoding(j),G.on("data",(_=>{R.push(_),F?B=R.length:B+=_.length})),G.getBufferedValue=()=>E?R:N?Buffer.concat(R,B):R.join(""),G.getBufferedLength=()=>B,G}},9068:(_,E,j)=>{"use strict";const A=j(8984),N=j(656);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:j}=E;let F;return new Promise(((B,R)=>{const u=_=>{_&&(_.bufferedData=F.getBufferedValue()),R(_)};F=A(_,N(E),(_=>{_?u(_):B()})),F.on("data",(()=>{F.getBufferedLength()>j&&u(new i)}))})).then((()=>F.getBufferedValue()))}_.exports=s,_.exports.buffer=(_,E)=>s(_,Object.assign({},E,{encoding:"buffer"})),_.exports.array=(_,E)=>s(_,Object.assign({},E,{array:!0})),_.exports.MaxBufferError=i},2680:_=>{_.exports=function e(_,E){if(_&&E)return e(_)(E);if("function"!=typeof _)throw new TypeError("need wrapper function");return Object.keys(_).forEach((function(E){n[E]=_[E]})),n;function n(){for(var E=new Array(arguments.length),j=0;j<E.length;j++)E[j]=arguments[j];var A=_.apply(this,E),N=E[E.length-1];return"function"==typeof A&&A!==N&&Object.keys(N).forEach((function(_){A[_]=N[_]})),A}}},4824:_=>{"use strict";function t(_){return _}_.exports={date:t,error:t,symbol:t,string:t,number:t,boolean:t,null:t,undefined:t}},324:(_,E,j)=>{"use strict";var A=j(3648),N=j(4616),F=j(4824);function s(_,E){return void 0===_?E:_}_.exports=function(){var _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{indent:s(_.indent," "),prefix:s(_.prefix,"\n"),postfix:s(_.postfix,""),errorToString:_.errorToString||A,dateToString:_.dateToString||N,colors:Object.assign({},F,_.colors)}}},4616:_=>{"use strict";_.exports=function(_){return`new Date(${Date.prototype.toISOString.call(_)})`}},3648:_=>{"use strict";_.exports=function(_){return Error.prototype.toString.call(_)}},9411:_=>{"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]:" ",j="",A=0;A<_;A+=1)j+=E;return j}},6232:(_,E,j)=>{"use strict";var A=j(7344),N=j(324),F=j(9411),B=["object","array"];_.exports=function(_,E){var j=N(E),R=j.colors,G=j.prefix,W=j.postfix,K=j.dateToString,U=j.errorToString,Y=j.indent,ie=new Map;function d(_){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,j=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===Object.keys(_).length)return" {}";var N="\n",R=F(E,Y);return Object.keys(_).forEach((function(G){var W=_[G],K=A(W),U=F(j," "),Y=-1!==B.indexOf(K)?"":" ",ie=v(W)?" [Circular]":g(K,W,E+1,j);N+=`${U}${R}${G}:${Y}${ie}\n`})),N.substring(0,N.length-1)}function m(_){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,j=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===_.length)return" []";var N="\n",B=F(E,Y);return _.forEach((function(_){var R=A(_),G=F(j," "),W=v(_)?"[Circular]":g(R,_,E,j+1).toString().trimLeft();N+=`${G}${B}- ${W}\n`})),N.substring(0,N.length-1)}function g(_,E,j,A){switch(_){case"array":return m(E,j,A);case"object":return d(E,j,A);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(K(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(A(_))||!ie.has(_)&&(ie.set(_),1))}var pe="";return ie.set(_),"object"===A(_)&&Object.keys(_).length>0?pe=d(_):"array"===A(_)&&_.length>0&&(pe=m(_)),0===pe.length?"":`${G}${pe.slice(1)}${W}`}},7344:_=>{"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 _}},6608:_=>{"use strict";_.exports=j(613)},4368:_=>{"use strict";_.exports=j(317)},467:_=>{"use strict";_.exports=j(434)},2058:_=>{"use strict";_.exports=j(896)},8558:_=>{"use strict";_.exports=j(857)},7072:_=>{"use strict";_.exports=j(928)},8378:_=>{"use strict";_.exports=j(203)},970:_=>{"use strict";_.exports=j(23)}},A={},N=function r(_){var j=A[_];if(void 0!==j)return j.exports;var N=A[_]={exports:{}};return E[_](N,N.exports,r),N.exports}(2980);_.exports=N})()},613:E=>{E.exports=_(import.meta.url)("assert")},317:E=>{E.exports=_(import.meta.url)("child_process")},434:E=>{E.exports=_(import.meta.url)("events")},896:E=>{E.exports=_(import.meta.url)("fs")},857:E=>{E.exports=_(import.meta.url)("os")},928:E=>{E.exports=_(import.meta.url)("path")},203:E=>{E.exports=_(import.meta.url)("stream")},23:E=>{E.exports=_(import.meta.url)("util")},330:_=>{_.exports=JSON.parse('{"name":"expo-env-info","version":"2.0.2","preferGlobal":true,"type":"module","bin":"./build/index.js","files":["build"],"keywords":["expo","ios","expo-env-info","android"],"description":"Fetch Expo project information for GitHub issue diagnostics","scripts":{"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":"expo-module clean","lint":"expo-module lint","prepare":"expo-module clean && yarn run build:prod","test":"expo-module test","watch":"yarn run build -w"},"repository":{"type":"git","url":"https://github.com/expo/expo.git","directory":"packages/expo-env-info"},"author":"Expo <support@expo.dev>","license":"MIT","bugs":{"url":"https://github.com/expo/expo/issues"},"homepage":"https://github.com/expo/expo/tree/main/packages/expo-env-info#readme","devDependencies":{"@types/envinfo":"^7.8.1","expo-module-scripts":"^5.0.2"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"dependencies":{"envinfo":"^7.8.1"},"gitHead":"eaa9b645058cf2233fbb27bb21a19bc605c90a88"}')}};var j={};function __nccwpck_require__(_){var A=j[_];if(A!==undefined){return A.exports}var N=j[_]={exports:{}};var F=true;try{E[_](N,N.exports,__nccwpck_require__);F=false}finally{if(F)delete j[_]}return N.exports}(()=>{__nccwpck_require__.n=_=>{var E=_&&_.__esModule?()=>_["default"]:()=>_;__nccwpck_require__.d(E,{a:E});return E}})();(()=>{__nccwpck_require__.d=(_,E)=>{for(var j in E){if(__nccwpck_require__.o(E,j)&&!__nccwpck_require__.o(_,j)){Object.defineProperty(_,j,{enumerable:true,get:E[j]})}}}})();(()=>{__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 A={};var N=__nccwpck_require__(896);var F=__nccwpck_require__(928);var B=__nccwpck_require__.n(F);var R=__nccwpck_require__(107);var G=__nccwpck_require__.n(R);async function*walk(_){for await(const E of await N.promises.readdir(_,{withFileTypes:true})){const j=B().join(_,E.name);if(E.isDirectory()||E.isSymbolicLink()){yield j;yield*walk(j)}else if(E.isFile()){yield j}}}async function findFile(_,E){return N.promises.access(_,N.constants.F_OK).then((async()=>{for await(const j of walk(_)){if(B().extname(j)===E)return true}return false})).catch((()=>false))}const W=__nccwpck_require__(330);function getEnvironmentInfoAsync(){return G().run({System:["OS","Shell"],Binaries:["Node","Yarn","npm","Watchman"],IDEs:["Xcode","Android Studio"],Managers:["CocoaPods"],SDKs:["iOS SDK","Android SDK"],npmPackages:["expo","expo-router","expo-updates","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 ${W.version} environment info`})}async function isInsideProjectAsync(_){try{await N.promises.access(B().join(_||process.cwd(),"./package.json"),N.constants.F_OK);return true}catch{return false}}async function isBareWorkflowProject(_){const E=await findFile(B().join(_,"ios"),".xcodeproj");const j=await findFile(B().join(_,"android"),".gradle");return E||j}async function actionAsync(_){process.chdir(_??process.cwd());const E=await getEnvironmentInfoAsync();const j=E.split("\n");if(await isInsideProjectAsync(_)){const E=await isBareWorkflowProject(_)?"bare":"managed";j.pop();j.push(` Expo Workflow: ${E}`)}console.log(j.join("\n")+"\n")}const packageJson=()=>__nccwpck_require__(330);async function run(){const _=process.argv.slice(2);if(_.some((_=>["-V","-v","--version"].includes(_)))){logVersionAndExit()}if(_.some((_=>["-h","--help"].includes(_)))){logHelpAndExit()}const E=B().resolve(process.cwd(),_[0]??process.cwd());await N.promises.access(E,N.constants.F_OK).catch((_=>{if(_){console.error(`Project directory ${E} does not exist`);process.exit(1)}}));await actionAsync(E)}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();
2
+ import{createRequire as _}from"module";var E={107:(_,E,j)=>{(()=>{var E={2980:(_,E,j)=>{"use strict";j(7360),j(5888),j(8412),j(3852),j(5584);var A=j(9892),N=j(5008),F=j(5088),B=j(224);function a(_,E){(E=E||{}).clipboard&&console.log("\n*** Clipboard option removed - use clipboardy or clipboard-cli directly ***\n");var j=Object.keys(_).length>0?_:F.defaults,B=Object.entries(j).reduce((function(_,j){var N=j[0],F=j[1],B=A[`get${N}`];return B?(F&&_.push(B(F,E)),_):_=_.concat((F||[]).map((function(_){var E=A[`get${_.replace(/\s/g,"")}Info`];return E?E():Promise.resolve(["Unknown"])})))}),[]);return Promise.all(B).then((function(_){var j=_.reduce((function(_,E){return E&&E[0]&&Object.assign(_,{[E[0]]:E}),_}),{});return function(_,E){var j=E.json?N.json:E.markdown?N.markdown:N.yaml;if(E.console){var A=!1;process.stdout.isTTY&&(A=!0),console.log(j(_,Object.assign({},E,{console:A})))}return j(_,Object.assign({},E,{console:!1}))}(Object.entries(F.defaults).reduce((function(_,E){var A=E[0],N=E[1];return j[A]?Object.assign(_,{[A]:j[A][1]}):Object.assign(_,{[A]:(N||[]).reduce((function(_,E){return j[E]?(j[E].shift(),1===j[E].length?Object.assign(_,{[E]:j[E][0]}):Object.assign(_,{[E]:{version:j[E][0],path:j[E][1]}})):_}),{})})}),{}),E)}))}_.exports={cli:function(_){if(_.all)return a(Object.assign({},F.defaults,{npmPackages:!0,npmGlobalPackages:!0}),_);if(_.raw)return a(JSON.parse(_.raw),_);if(_.helper){var E=A[`get${_.helper}`]||A[`get${_.helper}Info`]||A[_.helper];return E?E().then(console.log):console.error("Not Found")}var r=function(_,E){return _.toLowerCase().includes(E.toLowerCase())},j=Object.keys(_).filter((function(_){return Object.keys(F.defaults).some((function(E){return r(E,_)}))})),N=Object.entries(F.defaults).reduce((function(E,A){return j.some((function(_){return r(_,A[0])}))?Object.assign(E,{[A[0]]:A[1]||_[A[0]]}):E}),{});return _.preset?F[_.preset]?a(Object.assign({},B.omit(F[_.preset],["options"]),N),Object.assign({},F[_.preset].options,B.pick(_,["duplicates","fullTree","json","markdown","console"]))):console.error(`\nNo "${_.preset}" preset found.`):a(N,_)},helpers:A,main:a,run:function(_,E){return"string"==typeof _.preset?a(F[_.preset],E):a(_,E)}}},5008:(_,E,j)=>{"use strict";j(223),j(3852),j(4880),j(3708),j(5584),j(5308);var A=j(6232),N=j(224);function i(_,E){return N.log("trace","clean",_),Object.keys(_).reduce((function(j,A){return!E.showNotFound&&"Not Found"===_[A]||"N/A"===_[A]||void 0===_[A]||0===Object.keys(_[A]).length?j:N.isObject(_[A])?Object.values(_[A]).every((function(_){return"N/A"===_||!E.showNotFound&&"Not Found"===_}))?j:Object.assign(j,{[A]:i(_[A],E)}):Object.assign(j,{[A]:_[A]})}),{})}function s(_,E){N.log("trace","formatHeaders"),E||(E={type:"underline"});var j={underline:["",""]};return _.slice().split("\n").map((function(_){if(":"===_.slice("-1")){var A=_.match(/^[\s]*/g)[0];return`${A}${j[E.type][0]}${_.slice(A.length)}${j[E.type][1]}`}return _})).join("\n")}function a(_){return N.log("trace","formatPackages"),_.npmPackages?Object.assign(_,{npmPackages:Object.entries(_.npmPackages||{}).reduce((function(_,E){var j=E[0],A=E[1];if("Not Found"===A)return Object.assign(_,{[j]:A});var N=A.wanted?`${A.wanted} =>`:"",F=Array.isArray(A.installed)?A.installed.join(", "):A.installed,B=A.duplicates?`(${A.duplicates.join(", ")})`:"";return Object.assign(_,{[j]:`${N} ${F} ${B}`})}),{})}):_}function c(_,E,j){return j||(j={emptyMessage:"None"}),Array.isArray(E)&&(E=E.length>0?E.join(", "):j.emptyMessage),{[_]:E}}function u(_,E){return Object.entries(_).reduce((function(_,j){var A=j[0],F=j[1];return N.isObject(F)?Object.assign(_,{[A]:u(F,E)}):Object.assign(_,E(A,F))}),{})}function l(_){return N.log("trace","serializeArrays"),u(_,c)}function f(_){return N.log("trace","serializeVersionsAndPaths"),Object.entries(_).reduce((function(_,E){return Object.assign(_,{[E[0]]:Object.entries(E[1]).reduce((function(_,E){var j=E[0],A=E[1];return A.version?Object.assign(_,{[j]:[A.version,A.path].filter(Boolean).join(" - ")}):Object.assign(_,{[j]:[A][0]})}),{})},{})}),{})}function p(_){return A(_,{indent:" ",prefix:"\n",postfix:"\n"})}function h(_){return _.slice().split("\n").map((function(_){if(""!==_){var E=":"===_.slice("-1"),j=_.search(/\S|$/);return E?`${"#".repeat(j/2+1)} `+_.slice(j):" - "+_.slice(j)}return""})).join("\n")}function d(_,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,d])(_),_=E.console?`\n${_}\n`:_},markdown:function(_,E){return N.log("trace","formatToMarkdown"),N.pipe([function(){return i(_,E)},a,l,f,p,h,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,l,f,E.title?function(_){return{[E.title]:_}}:N.noop,p,E.console?s:N.noop])(_,E)}}},6732:(_,E,j)=>{"use strict";j(5888);var A=j(224);_.exports={getNodeInfo:function(){return A.log("trace","getNodeInfo"),Promise.all([A.isWindows?A.run("node -v").then(A.findVersion):A.which("node").then((function(_){return _?A.run(_+" -v"):Promise.resolve("")})).then(A.findVersion),A.which("node").then(A.condensePath)]).then((function(_){return A.determineFound("Node",_[0],_[1])}))},getnpmInfo:function(){return A.log("trace","getnpmInfo"),Promise.all([A.run("npm -v"),A.which("npm").then(A.condensePath)]).then((function(_){return A.determineFound("npm",_[0],_[1])}))},getWatchmanInfo:function(){return A.log("trace","getWatchmanInfo"),Promise.all([A.which("watchman").then((function(_){return _?A.run(_+" -v"):void 0})),A.which("watchman")]).then((function(_){return A.determineFound("Watchman",_[0],_[1])}))},getYarnInfo:function(){return A.log("trace","getYarnInfo"),Promise.all([A.run("yarn -v"),A.which("yarn").then(A.condensePath)]).then((function(_){return A.determineFound("Yarn",_[0],_[1])}))},getpnpmInfo:function(){return A.log("trace","getpnpmInfo"),Promise.all([A.run("pnpm -v"),A.which("pnpm").then(A.condensePath)]).then((function(_){return A.determineFound("pnpm",_[0],_[1])}))},getbunInfo:function(){return A.log("trace","getbunInfo"),Promise.all([A.run("bun -v"),A.which("bun").then(A.condensePath)]).then((function(_){return A.determineFound("bun",_[0],_[1])}))}}},2524:(_,E,j)=>{"use strict";j(3708),j(5888),j(8412);var A=j(2058),N=j(8558),F=j(224),B=j(7072);function a(_,E){var j;return(F.isLinux?F.run("firefox --version").then((function(_){return _.replace(/^.* ([^ ]*)/g,"$1")})):F.isMacOS&&"string"==typeof _&&_?F.getDarwinApplicationVersion(_):F.isWindows&&"string"==typeof E&&E?F.windowsExeExists(E).then((function(_){return j=_,_?F.run(`powershell ". '${_}' -v | Write-Output"`).then((function(_){return F.findVersion(_)})):F.NA})):Promise.resolve(F.NA)).then((function(_){return F.determineFound("Firefox",_,j||F.NA)}))}_.exports={getBraveBrowserInfo:function(){return F.log("trace","getBraveBrowser"),(F.isLinux?F.run("brave --version || brave-browser --version").then((function(_){return _.replace(/^.* ([^ ]*)/g,"$1")})):F.isMacOS?F.getDarwinApplicationVersion(F.browserBundleIdentifiers["Brave Browser"]).then(F.findVersion):Promise.resolve("N/A")).then((function(_){return F.determineFound("Brave Browser",_,"N/A")}))},getChromeInfo:function(){var _;if(F.log("trace","getChromeInfo"),F.isLinux)_=F.run("google-chrome --version").then((function(_){return _.replace(" dev","").replace(/^.* ([^ ]*)/g,"$1")}));else if(F.isMacOS)_=F.getDarwinApplicationVersion(F.browserBundleIdentifiers.Chrome).then(F.findVersion);else if(F.isWindows){var E;try{E=F.findVersion(A.readdirSync(B.join(process.env["ProgramFiles(x86)"],"Google/Chrome/Application")).join("\n"))}catch(_){E=F.NotFound}_=Promise.resolve(E)}else _=Promise.resolve("N/A");return _.then((function(_){return F.determineFound("Chrome",_,"N/A")}))},getChromeCanaryInfo:function(){return F.log("trace","getChromeCanaryInfo"),F.getDarwinApplicationVersion(F.browserBundleIdentifiers["Chrome Canary"]).then((function(_){return F.determineFound("Chrome Canary",_,"N/A")}))},getChromiumInfo:function(){return F.log("trace","getChromiumInfo"),(F.isLinux?F.run("chromium --version").then(F.findVersion):Promise.resolve("N/A")).then((function(_){return F.determineFound("Chromium",_,"N/A")}))},getEdgeInfo:function(){var _;if(F.log("trace","getEdgeInfo"),F.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 F.run(`powershell get-appxpackage ${_}`).then((function(_){if(""!==F.findVersion(_))return`${E} (${F.findVersion(_)})`}))}(E[_],_)})).filter((function(_){return void 0!==_})))}else{if(!F.isMacOS)return Promise.resolve("N/A");_=F.getDarwinApplicationVersion(F.browserBundleIdentifiers["Microsoft Edge"])}return _.then((function(_){return F.determineFound("Edge",Array.isArray(_)?_.filter((function(_){return void 0!==_})):_,F.NA)}))},getFirefoxInfo:function(){F.log("trace","getFirefoxInfo"),a(F.browserBundleIdentifiers.Firefox,"Mozilla Firefox/firefox.exe")},getFirefoxDeveloperEditionInfo:function(){F.log("trace","getFirefoxDeveloperEditionInfo"),a(F.browserBundleIdentifiers["Firefox Developer Edition"],"Firefox Developer Edition/firefox.exe")},getFirefoxNightlyInfo:function(){return F.log("trace","getFirefoxNightlyInfo"),(F.isLinux?F.run("firefox-trunk --version").then((function(_){return _.replace(/^.* ([^ ]*)/g,"$1")})):F.isMacOS?F.getDarwinApplicationVersion(F.browserBundleIdentifiers["Firefox Nightly"]):Promise.resolve("N/A")).then((function(_){return F.determineFound("Firefox Nightly",_,"N/A")}))},getInternetExplorerInfo:function(){var _;if(F.log("trace","getInternetExplorerInfo"),F.isWindows){var E=[process.env.SYSTEMDRIVE||"C:","Program Files","Internet Explorer","iexplore.exe"].join("\\\\");_=F.run(`wmic datafile where "name='${E}'" get Version`).then(F.findVersion)}else _=Promise.resolve("N/A");return _.then((function(_){return F.determineFound("Internet Explorer",_,"N/A")}))},getSafariTechnologyPreviewInfo:function(){return F.log("trace","getSafariTechnologyPreviewInfo"),F.getDarwinApplicationVersion(F.browserBundleIdentifiers["Safari Technology Preview"]).then((function(_){return F.determineFound("Safari Technology Preview",_,"N/A")}))},getSafariInfo:function(){return F.log("trace","getSafariInfo"),F.getDarwinApplicationVersion(F.browserBundleIdentifiers.Safari).then((function(_){return F.determineFound("Safari",_,"N/A")}))}}},6620:(_,E,j)=>{"use strict";j(7360),j(5888);var A=j(224);_.exports={getMongoDBInfo:function(){return A.log("trace","getMongoDBInfo"),Promise.all([A.run("mongo --version").then(A.findVersion),A.which("mongo")]).then((function(_){return A.determineFound("MongoDB",_[0],_[1])}))},getMySQLInfo:function(){return A.log("trace","getMySQLInfo"),Promise.all([A.run("mysql --version").then((function(_){return`${A.findVersion(_,null,1)}${_.includes("MariaDB")?" (MariaDB)":""}`})),A.which("mysql")]).then((function(_){return A.determineFound("MySQL",_[0],_[1])}))},getPostgreSQLInfo:function(){return A.log("trace","getPostgreSQLInfo"),Promise.all([A.run("postgres --version").then(A.findVersion),A.which("postgres")]).then((function(_){return A.determineFound("PostgreSQL",_[0],_[1])}))},getSQLiteInfo:function(){return A.log("trace","getSQLiteInfo"),Promise.all([A.run("sqlite3 --version").then(A.findVersion),A.which("sqlite3")]).then((function(_){return A.determineFound("SQLite",_[0],_[1])}))}}},3224:(_,E,j)=>{"use strict";j(3708),j(8412),j(5888);var A=j(7072),N=j(224);_.exports={getAndroidStudioInfo:function(){var _=Promise.resolve("N/A");if(N.isMacOS){var E=[A.join("/","Applications","Android Studio.app","Contents","Info.plist"),A.join(process.env.HOME,"Applications","Android Studio.app","Contents","Info.plist"),A.join("/","Applications","JetBrains Toolbox","Android Studio.app","Contents","Info.plist"),A.join(process.env.HOME,"Applications","JetBrains Toolbox","Android Studio.app","Contents","Info.plist")];_=Promise.all(E.map((function(_){return N.fileExists(_).then((function(E){if(!E)return null;var j=N.generatePlistBuddyCommand(_.replace(/ /g,"\\ "),["CFBundleShortVersionString","CFBundleVersion"]);return N.run(j).then((function(_){return _.split("\n").join(" ")}))}))}))).then((function(_){return _.find((function(_){return null!==_}))||N.NotFound}))}else 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})));return _.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.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"])}}},9892:(_,E,j)=>{"use strict";function n(_,E,j){return E in _?Object.defineProperty(_,E,{value:j,enumerable:!0,configurable:!0,writable:!0}):_[E]=j,_}j(5584);var A=j(6304),N=j(224),F=j(6732),B=j(2524),R=j(6620),G=j(3224),W=j(6436),K=j(760),U=j(2060),Y=j(7508),ie=j(9284),pe=j(8144),he=j(5882),de=j(9676);_.exports=Object.assign({},N,A,function(_){for(var E=1;E<arguments.length;E++){var j=null!=arguments[E]?arguments[E]:{},A=Object.keys(j);"function"==typeof Object.getOwnPropertySymbols&&(A=A.concat(Object.getOwnPropertySymbols(j).filter((function(_){return Object.getOwnPropertyDescriptor(j,_).enumerable})))),A.forEach((function(E){n(_,E,j[E])}))}return _}({},F,B,R,G,W,K,U,Y,ie,pe,he,de))},6436:(_,E,j)=>{"use strict";j(5888);var A=j(224);_.exports={getBashInfo:function(){return A.log("trace","getBashInfo"),Promise.all([A.run("bash --version").then(A.findVersion),A.which("bash")]).then((function(_){return A.determineFound("Bash",_[0],_[1])}))},getElixirInfo:function(){return A.log("trace","getElixirInfo"),Promise.all([A.run("elixir --version").then((function(_){return A.findVersion(_,/[Elixir]+\s([\d+.[\d+|.]+)/,1)})),A.which("elixir")]).then((function(_){return Promise.resolve(A.determineFound("Elixir",_[0],_[1]))}))},getErlangInfo:function(){return A.log("trace","getErlangInfo"),Promise.all([A.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(A.findVersion),A.which("erl")]).then((function(_){return Promise.resolve(A.determineFound("Erlang",_[0],_[1]))}))},getGoInfo:function(){return A.log("trace","getGoInfo"),Promise.all([A.run("go version").then(A.findVersion),A.which("go")]).then((function(_){return A.determineFound("Go",_[0],_[1])}))},getJavaInfo:function(){return A.log("trace","getJavaInfo"),Promise.all([A.run("javac -version",{unify:!0}).then((function(_){return A.findVersion(_,/\d+\.[\w+|.|_|-]+/)})),A.run("which javac")]).then((function(_){return A.determineFound("Java",_[0],_[1])}))},getPerlInfo:function(){return A.log("trace","getPerlInfo"),Promise.all([A.run("perl -v").then(A.findVersion),A.which("perl")]).then((function(_){return A.determineFound("Perl",_[0],_[1])}))},getPHPInfo:function(){return A.log("trace","getPHPInfo"),Promise.all([A.run("php -v").then(A.findVersion),A.which("php")]).then((function(_){return A.determineFound("PHP",_[0],_[1])}))},getProtocInfo:function(){return A.log("trace","getProtocInfo"),Promise.all([A.run("protoc --version").then(A.findVersion),A.run("which protoc")]).then((function(_){return A.determineFound("Protoc",_[0],_[1])}))},getPythonInfo:function(){return A.log("trace","getPythonInfo"),Promise.all([A.run("python -V 2>&1").then(A.findVersion),A.run("which python")]).then((function(_){return A.determineFound("Python",_[0],_[1])}))},getPython3Info:function(){return A.log("trace","getPython3Info"),Promise.all([A.run("python3 -V 2>&1").then(A.findVersion),A.run("which python3")]).then((function(_){return A.determineFound("Python3",_[0],_[1])}))},getRInfo:function(){return A.log("trace","getRInfo"),Promise.all([A.run("R --version",{unify:!0}).then(A.findVersion),A.which("R")]).then((function(_){return A.determineFound("R",_[0],_[1])}))},getRubyInfo:function(){return A.log("trace","getRubyInfo"),Promise.all([A.run("ruby -v").then(A.findVersion),A.which("ruby")]).then((function(_){return A.determineFound("Ruby",_[0],_[1])}))},getRustInfo:function(){return A.log("trace","getRustInfo"),Promise.all([A.run("rustc --version").then(A.findVersion),A.run("which rustc")]).then((function(_){return A.determineFound("Rust",_[0],_[1])}))},getScalaInfo:function(){return A.log("trace","getScalaInfo"),A.isMacOS||A.isLinux?Promise.all([A.run("scalac -version").then(A.findVersion),A.run("which scalac")]).then((function(_){return A.determineFound("Scala",_[0],_[1])})):Promise.resolve(["Scala","N/A"])}}},760:(_,E,j)=>{"use strict";j(5888);var A=j(224);_.exports={getAptInfo:function(){return A.log("trace","getAptInfo"),A.isLinux?Promise.all([A.run("apt --version").then(A.findVersion),A.which("apt")]).then((function(_){return A.determineFound("Apt",_[0],_[1])})):Promise.all(["Apt","N/A"])},getCargoInfo:function(){return A.log("trace","getCargoInfo"),Promise.all([A.run("cargo --version").then(A.findVersion),A.which("cargo").then(A.condensePath)]).then((function(_){return A.determineFound("Cargo",_[0],_[1])}))},getCocoaPodsInfo:function(){return A.log("trace","getCocoaPodsInfo"),A.isMacOS?Promise.all([A.run("pod --version").then(A.findVersion),A.which("pod")]).then((function(_){return A.determineFound("CocoaPods",_[0],_[1])})):Promise.all(["CocoaPods","N/A"])},getComposerInfo:function(){return A.log("trace","getComposerInfo"),Promise.all([A.run("composer --version").then(A.findVersion),A.which("composer").then(A.condensePath)]).then((function(_){return A.determineFound("Composer",_[0],_[1])}))},getGradleInfo:function(){return A.log("trace","getGradleInfo"),Promise.all([A.run("gradle --version").then(A.findVersion),A.which("gradle").then(A.condensePath)]).then((function(_){return A.determineFound("Gradle",_[0],_[1])}))},getHomebrewInfo:function(){return A.log("trace","getHomebrewInfo"),A.isMacOS||A.isLinux?Promise.all([A.run("brew --version").then(A.findVersion),A.which("brew")]).then((function(_){return A.determineFound("Homebrew",_[0],_[1])})):Promise.all(["Homebrew","N/A"])},getMavenInfo:function(){return A.log("trace","getMavenInfo"),Promise.all([A.run("mvn --version").then(A.findVersion),A.which("mvn").then(A.condensePath)]).then((function(_){return A.determineFound("Maven",_[0],_[1])}))},getpip2Info:function(){return A.log("trace","getpip2Info"),Promise.all([A.run("pip2 --version").then(A.findVersion),A.which("pip2").then(A.condensePath)]).then((function(_){return A.determineFound("pip2",_[0],_[1])}))},getpip3Info:function(){return A.log("trace","getpip3Info"),Promise.all([A.run("pip3 --version").then(A.findVersion),A.which("pip3").then(A.condensePath)]).then((function(_){return A.determineFound("pip3",_[0],_[1])}))},getRubyGemsInfo:function(){return A.log("trace","getRubyGemsInfo"),Promise.all([A.run("gem --version").then(A.findVersion),A.which("gem")]).then((function(_){return A.determineFound("RubyGems",_[0],_[1])}))},getYumInfo:function(){return A.log("trace","getYumInfo"),A.isLinux?Promise.all([A.run("yum --version").then(A.findVersion),A.which("yum")]).then((function(_){return A.determineFound("Yum",_[0],_[1])})):Promise.all(["Yum","N/A"])}}},2060:(_,E,j)=>{"use strict";j(5888);var A=j(224),N=j(7072);_.exports={getYarnWorkspacesInfo:function(){return A.log("trace","getYarnWorkspacesInfo"),Promise.all([A.run("yarn -v"),A.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 A.log("trace","getLernaInfo"),Promise.all([A.getPackageJsonByName("lerna").then((function(_){return _&&_.version})),A.fileExists(N.join(process.cwd(),"lerna.json"))]).then((function(_){var E="Lerna";return _[0]&&_[1]?Promise.resolve([E,_[0]]):Promise.resolve([E,"Not Found"])}))}}},7508:(_,E,j)=>{"use strict";j(4880),j(5888),j(3708);var A=j(2058),N=j(7072),F=j(224);_.exports={getAndroidSDKInfo:function(){return F.run("sdkmanager --list").then((function(_){return!_&&process.env.ANDROID_HOME?F.run(`${process.env.ANDROID_HOME}/tools/bin/sdkmanager --list`):_})).then((function(_){return!_&&process.env.ANDROID_HOME?F.run(`${process.env.ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --list`):_})).then((function(_){return!_&&F.isMacOS?F.run("~/Library/Android/sdk/tools/bin/sdkmanager --list"):_})).then((function(_){var E=F.parseSDKManagerOutput(_),r=function(_){var E,j=N.join(_,"source.properties");try{E=A.readFileSync(j,"utf8")}catch(_){if("ENOENT"===_.code)return;throw _}for(var F=E.split("\n"),B=0;B<F.length;B+=1){var R=F[B].split("=");if(2===R.length&&"Pkg.Revision"===R[0].trim())return R[1].trim()}},j=process.env.ANDROID_NDK?r(process.env.ANDROID_NDK):process.env.ANDROID_NDK_HOME?r(process.env.ANDROID_NDK_HOME):process.env.ANDROID_HOME?r(N.join(process.env.ANDROID_HOME,"ndk-bundle")):void 0;return E.buildTools.length||E.apiLevels.length||E.systemImages.length||j?Promise.resolve(["Android SDK",{"API Levels":E.apiLevels||F.NotFound,"Build Tools":E.buildTools||F.NotFound,"System Images":E.systemImages||F.NotFound,"Android NDK":j||F.NotFound}]):Promise.resolve(["Android SDK",F.NotFound])}))},getiOSSDKInfo:function(){return F.isMacOS?F.run("xcodebuild -showsdks").then((function(_){return _.match(/[\w]+\s[\d|.]+/g)})).then(F.uniq).then((function(_){return _.length?["iOS SDK",{Platforms:_}]:["iOS SDK",F.NotFound]})):Promise.resolve(["iOS SDK","N/A"])},getWindowsSDKInfo:function(){if(F.log("trace","getWindowsSDKInfo"),F.isWindows){var _=F.NotFound;return F.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 j=E.match(/[^\s]+/g);return"0x0"!==j[2]&&"0x1"!==j[2]||(j[2]="0x1"===j[2]?"Enabled":"Disabled"),_[j[0]]=j[2],_}),{}),0===Object.keys(_).length&&(_=F.NotFound);try{var j=A.readdirSync(`${process.env["ProgramFiles(x86)"]}/Windows Kits/10/Platforms/UAP`);_.Versions=j}catch(_){}return Promise.resolve(["Windows SDK",_])}))}return Promise.resolve(["Windows SDK",F.NA])}}},9284:(_,E,j)=>{"use strict";j(5888);var A=j(224);_.exports={getApacheInfo:function(){return A.log("trace","getApacheInfo"),A.isMacOS||A.isLinux?Promise.all([A.run("apachectl -v").then(A.findVersion),A.run("which apachectl")]).then((function(_){return A.determineFound("Apache",_[0],_[1])})):Promise.resolve(["Apache","N/A"])},getNginxInfo:function(){return A.log("trace","getNginxInfo"),A.isMacOS||A.isLinux?Promise.all([A.run("nginx -v 2>&1").then(A.findVersion),A.run("which nginx")]).then((function(_){return A.determineFound("Nginx",_[0],_[1])})):Promise.resolve(["Nginx","N/A"])}}},8144:(_,E,j)=>{"use strict";j(3708),j(4880),j(5888);var A=j(2288),N=j(224),F=j(8558);_.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=F.cpus();_="("+E.length+") "+F.arch()+" "+E[0].model}catch(E){_="Unknown"}return Promise.all(["CPU",_])},getMemoryInfo:function(){return N.log("trace","getMemoryInfo"),Promise.all(["Memory",`${N.toReadableBytes(F.freemem())} / ${N.toReadableBytes(F.totalmem())}`])},getOSInfo:function(){var _,E;if(N.log("trace","getOSInfo"),N.isMacOS)_=N.run("sw_vers -productVersion ");else if(N.isLinux)_=N.run("cat /etc/os-release").then((function(_){var E=(_||"").match(/NAME="(.+)"/)||"",j=(_||"").match(/VERSION="(.+)"/)||["",""],A=null!==j?j[1]:"";return`${E[1]} ${A}`.trim()||""}));else if(N.isWindows){_=Promise.resolve(F.release());var j=F.release().split(".");"10"===j[0]&&"0"===j[1]&&j[2]>=22e3&&(E="Windows 11")}else _=Promise.resolve();return _.then((function(_){return E=E||A(F.platform(),F.release()),_&&(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"])}}},5882:(_,E,j)=>{"use strict";j(5888);var A=j(224);_.exports={getBazelInfo:function(){return A.log("trace","getBazelInfo"),Promise.all([A.run("bazel --version").then(A.findVersion),A.run("which bazel")]).then((function(_){return A.determineFound("Bazel",_[0],_[1])}))},getCMakeInfo:function(){return A.log("trace","getCMakeInfo"),Promise.all([A.run("cmake --version").then(A.findVersion),A.run("which cmake")]).then((function(_){return A.determineFound("CMake",_[0],_[1])}))},getGCCInfo:function(){return A.log("trace","getGCCInfo"),A.isMacOS||A.isLinux?Promise.all([A.run("gcc -v 2>&1").then(A.findVersion),A.run("which gcc")]).then((function(_){return A.determineFound("GCC",_[0],_[1])})):Promise.resolve(["GCC","N/A"])},getClangInfo:function(){return A.log("trace","getClangInfo"),Promise.all([A.run("clang --version").then(A.findVersion),A.which("clang")]).then((function(_){return A.determineFound("Clang",_[0],_[1])}))},getGitInfo:function(){return A.log("trace","getGitInfo"),Promise.all([A.run("git --version").then(A.findVersion),A.run("which git")]).then((function(_){return A.determineFound("Git",_[0],_[1])}))},getMakeInfo:function(){return A.log("trace","getMakeInfo"),A.isMacOS||A.isLinux?Promise.all([A.run("make --version").then(A.findVersion),A.run("which make")]).then((function(_){return A.determineFound("Make",_[0],_[1])})):Promise.resolve(["Make","N/A"])},getNinjaInfo:function(){return A.log("trace","getNinjaInfo"),Promise.all([A.run("ninja --version").then(A.findVersion),A.run("which ninja")]).then((function(_){return A.determineFound("Ninja",_[0],_[1])}))},getMercurialInfo:function(){return A.log("trace","getMercurialInfo"),A.isMacOS||A.isLinux?Promise.all([A.run("hg --version").then(A.findVersion),A.run("which hg")]).then((function(_){return A.determineFound("Mercurial",_[0],_[1])})):Promise.resolve(["Mercurial","N/A"])},getSubversionInfo:function(){return A.log("trace","getSubversionInfo"),A.isMacOS||A.isLinux?Promise.all([A.run("svn --version").then(A.findVersion),A.run("which svn")]).then((function(_){return A.determineFound("Subversion",_[0],_[1])})):Promise.resolve(["Subversion","N/A"])},getFFmpegInfo:function(){return A.log("trace","getFFmpegInfo"),Promise.all([A.run("ffmpeg -version").then(A.findVersion),A.which("ffmpeg")]).then((function(_){return A.determineFound("FFmpeg",_[0],_[1])}))},getCurlInfo:function(){return A.log("trace","getCurlInfo"),Promise.all([A.run("curl --version").then(A.findVersion),A.which("curl")]).then((function(_){return A.determineFound("Curl",_[0],_[1])}))},getOpenSSLInfo:function(){return A.log("trace","getOpenSSLInfo"),Promise.all([A.run("openssl version").then(A.findVersion),A.which("openssl")]).then((function(_){return A.determineFound("OpenSSL",_[0],_[1])}))}}},9676:(_,E,j)=>{"use strict";j(5888);var A=j(224);_.exports={getDockerInfo:function(){return A.log("trace","getDockerInfo"),Promise.all([A.run("docker --version").then(A.findVersion),A.which("docker")]).then((function(_){return A.determineFound("Docker",_[0],_[1])}))},getDockerComposeInfo:function(){return A.log("trace","getDockerComposeInfo"),Promise.all([A.run("docker-compose --version").then(A.findVersion),A.which("docker-compose")]).then((function(_){return A.determineFound("Docker Compose",_[0],_[1])}))},getParallelsInfo:function(){return A.log("trace","getParallelsInfo"),Promise.all([A.run("prlctl --version").then(A.findVersion),A.which("prlctl")]).then((function(_){return A.determineFound("Parallels",_[0],_[1])}))},getPodmanInfo:function(){return A.log("trace","getPodmanInfo"),Promise.all([A.run("podman --version").then(A.findVersion),A.which("podman")]).then((function(_){return A.determineFound("Podman",_[0],_[1])}))},getVirtualBoxInfo:function(){return A.log("trace","getVirtualBoxInfo"),Promise.all([A.run("vboxmanage --version").then(A.findVersion),A.which("vboxmanage")]).then((function(_){return A.determineFound("VirtualBox",_[0],_[1])}))},getVMwareFusionInfo:function(){return A.log("trace","getVMwareFusionInfo"),A.getDarwinApplicationVersion("com.vmware.fusion").then((function(_){return A.determineFound("VMWare Fusion",_,"N/A")}))}}},6032:_=>{"use strict";_.exports={androidSystemImages:/system-images;([\S \t]+)/g,androidAPILevels:/platforms;android-(\d+)[\S\s]/g,androidBuildTools:/build-tools;([\d|.]+)[\S\s]/g}},6304:(_,E,j)=>{"use strict";j(4880),j(5584),j(5888),j(7360),j(3708);var A=j(808),N=j(7072),F=j(224),s=function(_){var E=_.split("node_modules"+N.sep),j=E[E.length-1];return"@"===j.charAt(0)?[j.split(N.sep)[0],j.split(N.sep)[1]].join("/"):j.split(N.sep)[0]};_.exports={getnpmPackages:function(_,E){F.log("trace","getnpmPackages"),E||(E={});var j=null,A=null;return"string"==typeof _&&(_.includes("*")||_.includes("?")||_.includes("+")||_.includes("!")?j=_:_=_.split(",")),Promise.all(["npmPackages",F.getPackageJsonByPath("package.json").then((function(_){return Object.assign({},(_||{}).devDependencies||{},(_||{}).dependencies||{})})).then((function(_){return A=_,E.fullTree||E.duplicates||j?F.getAllPackageJsonPaths(j):Promise.resolve(Object.keys(_||[]).map((function(_){return N.join("node_modules",_,"package.json")})))})).then((function(N){return!j&&"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(A||[]).includes(s(_))})))})).then((function(_){return Promise.all([_,Promise.all(_.map((function(_){return F.getPackageJsonByPath(_)})))])})).then((function(_){var j=_[0],N=_[1].reduce((function(_,A,N){return A&&A.name?(_[A.name]||(_[A.name]={}),E.duplicates&&(_[A.name].duplicates=F.uniq((_[A.name].duplicates||[]).concat(A.version))),1===(j[N].match(/node_modules/g)||[]).length&&(_[A.name].installed=A.version),_):_}),{});return Object.keys(N).forEach((function(_){N[_].duplicates&&N[_].installed&&(N[_].duplicates=N[_].duplicates.filter((function(E){return E!==N[_].installed}))),A[_]&&(N[_].wanted=A[_])})),N})).then((function(j){return E.showNotFound&&Array.isArray(_)&&_.forEach((function(_){j[_]||(j[_]="Not Found")})),j})).then((function(_){return F.sortObject(_)}))])},getnpmGlobalPackages:function(_,E){F.log("trace","getnpmGlobalPackages",_);var j=null;return"string"==typeof _?_.includes("*")||_.includes("?")||_.includes("+")||_.includes("!")?j=_:_=_.split(","):Array.isArray(_)||(_=!0),Promise.all(["npmGlobalPackages",F.run("npm get prefix --global").then((function(_){return new Promise((function(E,B){return A(N.join(_,F.isWindows?"":"lib","node_modules",j||"{*,@*/*}","package.json"),(function(_,j){_||E(j),B(_)}))}))})).then((function(E){return Promise.all(E.filter((function(E){return"boolean"==typeof _||null!==j||_.includes(s(E))})).map((function(_){return F.getPackageJsonByFullPath(_)})))})).then((function(_){return _.reduce((function(_,E){return E?Object.assign(_,{[E.name]:E.version}):_}),{})})).then((function(j){return E.showNotFound&&Array.isArray(_)&&_.forEach((function(_){j[_]||(j[_]="Not Found")})),j}))])}}},5088:_=>{"use strict";_.exports={defaults:{System:["OS","CPU","Memory","Container","Shell"],Binaries:["Node","Yarn","npm","pnpm","bun","Watchman"],Managers:["Apt","Cargo","CocoaPods","Composer","Gradle","Homebrew","Maven","pip2","pip3","RubyGems","Yum"],Utilities:["Bazel","CMake","Make","GCC","Git","Clang","Ninja","Mercurial","Subversion","FFmpeg","Curl","OpenSSL"],Servers:["Apache","Nginx"],Virtualization:["Docker","Docker Compose","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","pnpm","bun"],npmPackages:["jest"]},"react-native":{System:["OS","CPU"],Binaries:["Node","Yarn","npm","pnpm","bun","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","pnpm","bun"],npmPackages:"/**/{*babel*,@babel/*/,*istanbul*,nyc,source-map-support,typescript,ts-node}"},webpack:{System:["OS","CPU"],Binaries:["Node","Yarn","npm","pnpm","bun"],npmPackages:"*webpack*",npmGlobalPackages:["webpack","webpack-cli"]},"styled-components":{System:["OS","CPU"],Binaries:["Node","Yarn","npm","pnpm","bun"],Browsers:["Chrome","Firefox","Safari"],npmPackages:"*styled-components*"},"create-react-app":{System:["OS","CPU"],Binaries:["Node","npm","Yarn","pnpm","bun"],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","pnpm","bun"],Browsers:["Chrome","Edge","Firefox","Safari"],npmPackages:"{*apollo*,@apollo/*}",npmGlobalPackages:"{*apollo*,@apollo/*}"},"react-native-web":{System:["OS","CPU"],Binaries:["Node","npm","Yarn","pnpm","bun"],Browsers:["Chrome","Edge","Internet Explorer","Firefox","Safari"],npmPackages:["react","react-native-web"],options:{showNotFound:!0}},babel:{System:["OS"],Binaries:["Node","npm","Yarn","pnpm","bun"],Monorepos:["Yarn Workspaces","Lerna"],npmPackages:"{*babel*,@babel/*,eslint,webpack,create-react-app,react-native,lerna,jest}"},playwright:{System:["OS","CPU","Memory","Container"],Binaries:["Node","Yarn","npm","pnpm","bun"],Languages:["Bash"],IDEs:["VSCode"],npmPackages:"{playwright*,@playwright/*}"}}},224:(_,E,j)=>{"use strict";j(4880),j(4260),j(5584),j(7276),j(4228),j(3708),j(8412),j(5308),j(6568),j(5888);var A=j(7072),N=j(2058),F=j(8558),B=j(4368),R=j(8460),G=j(808),W=j(6032),l=function(_){var E=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).unify,j=void 0!==E&&E;return new Promise((function(E){B.exec(_,{stdio:[0,"pipe","ignore"]},(function(_,A,N){var F;F=j?A.toString()+N.toString():A.toString(),E((_?"":F).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(_,j){return E(j||null)}))}))},h=function(_){return p(_).then((function(_){return _?JSON.parse(_):null}))},K=/\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 j=(E||["CFBundleShortVersionString"]).map((function(_){return"-c Print:"+_}));return["/usr/libexec/PlistBuddy"].concat(j).concat([_]).join(" ")},v=function(_,E){for(var j=[],A=null;null!==(A=_.exec(E));)j.push(A);return j};_.exports={run:l,log:f,fileExists:function(_){return new Promise((function(E){N.stat(_,(function(j){return E(j?null:_)}))}))},windowsExeExists:function(_){return new Promise((function(E){var j;N.access(j=A.join(process.env.ProgramFiles,`${_}`),N.constants.R_OK,(function(F){F?N.access(j=A.join(process.env["ProgramFiles(x86)"],`${_}`),N.constants.X_OK,(function(_){E(_?null:j)})):E(j)}))}))},readFile:p,requireJson:h,versionRegex:K,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(B.execSync(_,{stdio:[0,"pipe","ignore"]}).toString()||"").trim()},which:function(_){return new Promise((function(E){return R(_,(function(_,j){return E(j)}))}))},getDarwinApplicationVersion:function(_){var E;return f("trace","getDarwinApplicationVersion",_),E="darwin"!==process.platform?"N/A":m(_).then((function(_){return l(g(A.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,j){return Object.assign(E,{[j]:_[j]})}),{})},pick:function(_,E){return Object.keys(_).filter((function(_){return E.indexOf(_)>=0})).reduce((function(E,j){return Object.assign(E,{[j]:_[j]})}),{})},getPackageJsonByName:function(_){return h(A.join(process.cwd(),"node_modules",_,"package.json"))},getPackageJsonByPath:function(_){return h(A.join(process.cwd(),_))},getPackageJsonByFullPath:function(_){return f("trace","getPackageJsonByFullPath",_),h(_)},getAllPackageJsonPaths:function(_){return f("trace","getAllPackageJsonPaths",_),new Promise((function(E){return G(_?A.join("node_modules",_,"package.json"):A.join("node_modules","**","package.json"),(function(_,j){return E(j.map(A.normalize)||[])}))}))},sortObject:function(_){return Object.keys(_).sort().reduce((function(E,j){return E[j]=_[j],E}),{})},findVersion:function(_,E,j){f("trace","findVersion",_,E,j);var A=j||0,N=E||K,F=_.match(N);return F?F[A]:_},condensePath:function(_){return(_||"").replace(F.homedir(),"~")},determineFound:function(_,E,j){return f("trace","determineFound",_,E,j),"N/A"===E?Promise.resolve([_,"N/A"]):E&&0!==Object.keys(E).length?j?Promise.resolve([_,E,j]):Promise.resolve([_,E]):Promise.resolve([_,"Not Found"])}}},9016:_=>{"use strict";function t(_,E,j){_ instanceof RegExp&&(_=r(_,j)),E instanceof RegExp&&(E=r(E,j));var A=n(_,E,j);return A&&{start:A[0],end:A[1],pre:j.slice(0,A[0]),body:j.slice(A[0]+_.length,A[1]),post:j.slice(A[1]+E.length)}}function r(_,E){var j=E.match(_);return j?j[0]:null}function n(_,E,j){var A,N,F,B,R,G=j.indexOf(_),W=j.indexOf(E,G+1),K=G;if(G>=0&&W>0){for(A=[],F=j.length;K>=0&&!R;)K==G?(A.push(K),G=j.indexOf(_,K+1)):1==A.length?R=[A.pop(),W]:((N=A.pop())<F&&(F=N,B=W),W=j.indexOf(E,K+1)),K=G<W&&G>=0?G:W;A.length&&(R=[F,B])}return R}_.exports=t,t.range=n},1620:(_,E,j)=>{var A=j(6596),N=j(9016);_.exports=function(_){return _?("{}"===_.substr(0,2)&&(_="\\{\\}"+_.substr(2)),v(function(_){return _.split("\\\\").join(F).split("\\{").join(B).split("\\}").join(R).split("\\,").join(G).split("\\.").join(W)}(_),!0).map(f)):[]};var F="\0SLASH"+Math.random()+"\0",B="\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(F).join("\\").split(B).join("{").split(R).join("}").split(G).join(",").split(W).join(".")}function p(_){if(!_)return[""];var E=[],j=N("{","}",_);if(!j)return _.split(",");var A=j.pre,F=j.body,B=j.post,R=A.split(",");R[R.length-1]+="{"+F+"}";var G=p(B);return B.length&&(R[R.length-1]+=G.shift(),R.push.apply(R,G)),E.push.apply(E,R),E}function h(_){return"{"+_+"}"}function d(_){return/^-?0\d/.test(_)}function m(_,E){return _<=E}function g(_,E){return _>=E}function v(_,E){var j=[],F=N("{","}",_);if(!F||/\$$/.test(F.pre))return[_];var B,G=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(F.body),W=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(F.body),K=G||W,U=F.body.indexOf(",")>=0;if(!K&&!U)return F.post.match(/,.*\}/)?v(_=F.pre+"{"+F.body+R+F.post):[_];if(K)B=F.body.split(/\.\./);else if(1===(B=p(F.body)).length&&1===(B=v(B[0],!1).map(h)).length)return(pe=F.post.length?v(F.post,!1):[""]).map((function(_){return F.pre+B[0]+_}));var Y,ie=F.pre,pe=F.post.length?v(F.post,!1):[""];if(K){var he=l(B[0]),de=l(B[1]),me=Math.max(B[0].length,B[1].length),ge=3==B.length?Math.abs(l(B[2])):1,ve=m;de<he&&(ge*=-1,ve=g);var ye=B.some(d);Y=[];for(var be=he;ve(be,de);be+=ge){var we;if(W)"\\"===(we=String.fromCharCode(be))&&(we="");else if(we=String(be),ye){var xe=me-we.length;if(xe>0){var Se=new Array(xe+1).join("0");we=be<0?"-"+Se+we.slice(1):Se+we}}Y.push(we)}}else Y=A(B,(function(_){return v(_,!1)}));for(var _e=0;_e<Y.length;_e++)for(var Pe=0;Pe<pe.length;Pe++){var Oe=ie+Y[_e]+pe[Pe];(!E||K||Oe)&&j.push(Oe)}return j}},6596:_=>{_.exports=function(_,j){for(var A=[],N=0;N<_.length;N++){var F=j(_[N],N);E(F)?A.push.apply(A,F):A.push(F)}return A};var E=Array.isArray||function(_){return"[object Array]"===Object.prototype.toString.call(_)}},2016:_=>{_.exports=function(_){if("function"!=typeof _)throw TypeError(_+" is not a function!");return _}},7384:(_,E,j)=>{var A=j(7096)("unscopables"),N=Array.prototype;null==N[A]&&j(2336)(N,A,{}),_.exports=function(_){N[A][_]=!0}},2388:_=>{_.exports=function(_,E,j,A){if(!(_ instanceof E)||void 0!==A&&A in _)throw TypeError(j+": incorrect invocation!");return _}},3504:(_,E,j)=>{var A=j(3888);_.exports=function(_){if(!A(_))throw TypeError(_+" is not an object!");return _}},7504:(_,E,j)=>{var A=j(2780),N=j(3528),F=j(8508);_.exports=function(_){return function(E,j,B){var R,G=A(E),W=N(G.length),K=F(B,W);if(_&&j!=j){for(;W>K;)if((R=G[K++])!=R)return!0}else for(;W>K;K++)if((_||K in G)&&G[K]===j)return _||K||0;return!_&&-1}}},5848:(_,E,j)=>{var A=j(6924),N=j(7096)("toStringTag"),F="Arguments"==A(function(){return arguments}());_.exports=function(_){var E,j,B;return void 0===_?"Undefined":null===_?"Null":"string"==typeof(j=function(_,E){try{return _[E]}catch(_){}}(E=Object(_),N))?j:F?A(E):"Object"==(B=A(E))&&"function"==typeof E.callee?"Arguments":B}},6924:_=>{var E={}.toString;_.exports=function(_){return E.call(_).slice(8,-1)}},148:(_,E,j)=>{"use strict";var A=j(8520).f,N=j(3472),F=j(7704),B=j(800),R=j(2388),G=j(7228),W=j(6952),K=j(172),U=j(3384),Y=j(1668),ie=j(2020).fastKey,pe=j(2772),he=Y?"_s":"size",g=function(_,E){var j,A=ie(E);if("F"!==A)return _._i[A];for(j=_._f;j;j=j.n)if(j.k==E)return j};_.exports={getConstructor:function(_,E,j,W){var K=_((function(_,A){R(_,K,E,"_i"),_._t=E,_._i=N(null),_._f=void 0,_._l=void 0,_[he]=0,null!=A&&G(A,j,_[W],_)}));return F(K.prototype,{clear:function(){for(var _=pe(this,E),j=_._i,A=_._f;A;A=A.n)A.r=!0,A.p&&(A.p=A.p.n=void 0),delete j[A.i];_._f=_._l=void 0,_[he]=0},delete:function(_){var j=pe(this,E),A=g(j,_);if(A){var N=A.n,F=A.p;delete j._i[A.i],A.r=!0,F&&(F.n=N),N&&(N.p=F),j._f==A&&(j._f=N),j._l==A&&(j._l=F),j[he]--}return!!A},forEach:function(_){pe(this,E);for(var j,A=B(_,arguments.length>1?arguments[1]:void 0,3);j=j?j.n:this._f;)for(A(j.v,j.k,this);j&&j.r;)j=j.p},has:function(_){return!!g(pe(this,E),_)}}),Y&&A(K.prototype,"size",{get:function(){return pe(this,E)[he]}}),K},def:function(_,E,j){var A,N,F=g(_,E);return F?F.v=j:(_._l=F={i:N=ie(E,!0),k:E,v:j,p:A=_._l,n:void 0,r:!1},_._f||(_._f=F),A&&(A.n=F),_[he]++,"F"!==N&&(_._i[N]=F)),_},getEntry:g,setStrong:function(_,E,j){W(_,E,(function(_,j){this._t=pe(_,E),this._k=j,this._l=void 0}),(function(){for(var _=this,E=_._k,j=_._l;j&&j.r;)j=j.p;return _._t&&(_._l=j=j?j.n:_._t._f)?K(0,"keys"==E?j.k:"values"==E?j.v:[j.k,j.v]):(_._t=void 0,K(1))}),j?"entries":"values",!j,!0),U(E)}}},9412:(_,E,j)=>{"use strict";var A=j(2804),N=j(7076),F=j(8868),B=j(7704),R=j(2020),G=j(7228),W=j(2388),K=j(3888),U=j(9316),Y=j(8380),ie=j(6256),pe=j(2672);_.exports=function(_,E,j,he,de,me){var ge=A[_],ve=ge,ye=de?"set":"add",be=ve&&ve.prototype,we={},P=function(_){var E=be[_];F(be,_,"delete"==_||"has"==_?function(_){return!(me&&!K(_))&&E.call(this,0===_?0:_)}:"get"==_?function(_){return me&&!K(_)?void 0:E.call(this,0===_?0:_)}:"add"==_?function(_){return E.call(this,0===_?0:_),this}:function(_,j){return E.call(this,0===_?0:_,j),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=Y((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,j){W(E,ve,_);var A=pe(new ge,E,ve);return null!=j&&G(j,de,A[ye],A),A}))).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),B(ve.prototype,j),R.NEED=!0;return ie(ve,_),we[_]=ve,N(N.G+N.W+N.F*(ve!=ge),we),me||he.setStrong(ve,_,de),ve}},8432:_=>{var E=_.exports={version:"2.5.7"};"number"==typeof __e&&(__e=E)},2340:(_,E,j)=>{"use strict";var A=j(8520),N=j(8164);_.exports=function(_,E,j){E in _?A.f(_,E,N(0,j)):_[E]=j}},800:(_,E,j)=>{var A=j(2016);_.exports=function(_,E,j){if(A(_),void 0===E)return _;switch(j){case 1:return function(j){return _.call(E,j)};case 2:return function(j,A){return _.call(E,j,A)};case 3:return function(j,A,N){return _.call(E,j,A,N)}}return function(){return _.apply(E,arguments)}}},24:_=>{_.exports=function(_){if(null==_)throw TypeError("Can't call method on "+_);return _}},1668:(_,E,j)=>{_.exports=!j(9316)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},1300:(_,E,j)=>{var A=j(3888),N=j(2804).document,F=A(N)&&A(N.createElement);_.exports=function(_){return F?N.createElement(_):{}}},444:_=>{_.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},7076:(_,E,j)=>{var A=j(2804),N=j(8432),F=j(2336),B=j(8868),R=j(800),G="prototype",u=function(_,E,j){var W,K,U,Y,ie=_&u.F,pe=_&u.G,he=_&u.S,de=_&u.P,me=_&u.B,ge=pe?A:he?A[E]||(A[E]={}):(A[E]||{})[G],ve=pe?N:N[E]||(N[E]={}),ye=ve[G]||(ve[G]={});for(W in pe&&(j=E),j)U=((K=!ie&&ge&&void 0!==ge[W])?ge:j)[W],Y=me&&K?R(U,A):de&&"function"==typeof U?R(Function.call,U):U,ge&&B(ge,W,U,_&u.U),ve[W]!=U&&F(ve,W,Y),de&&ye[W]!=U&&(ye[W]=U)};A.core=N,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,_.exports=u},9316:_=>{_.exports=function(_){try{return!!_()}catch(_){return!0}}},4448:(_,E,j)=>{"use strict";var A=j(2336),N=j(8868),F=j(9316),B=j(24),R=j(7096);_.exports=function(_,E,j){var G=R(_),W=j(B,G,""[_]),K=W[0],U=W[1];F((function(){var E={};return E[G]=function(){return 7},7!=""[_](E)}))&&(N(String.prototype,_,K),A(RegExp.prototype,G,2==E?function(_,E){return U.call(_,this,E)}:function(_){return U.call(_,this)}))}},8068:(_,E,j)=>{"use strict";var A=j(3504);_.exports=function(){var _=A(this),E="";return _.global&&(E+="g"),_.ignoreCase&&(E+="i"),_.multiline&&(E+="m"),_.unicode&&(E+="u"),_.sticky&&(E+="y"),E}},7228:(_,E,j)=>{var A=j(800),N=j(2372),F=j(3164),B=j(3504),R=j(3528),G=j(2800),W={},K={},U=_.exports=function(_,E,j,U,Y){var ie,pe,he,de,me=Y?function(){return _}:G(_),ge=A(j,U,E?2:1),ve=0;if("function"!=typeof me)throw TypeError(_+" is not iterable!");if(F(me)){for(ie=R(_.length);ie>ve;ve++)if((de=E?ge(B(pe=_[ve])[0],pe[1]):ge(_[ve]))===W||de===K)return de}else for(he=me.call(_);!(pe=he.next()).done;)if((de=N(he,ge,pe.value,E))===W||de===K)return de};U.BREAK=W,U.RETURN=K},2804:_=>{var E=_.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=E)},9080:_=>{var E={}.hasOwnProperty;_.exports=function(_,j){return E.call(_,j)}},2336:(_,E,j)=>{var A=j(8520),N=j(8164);_.exports=j(1668)?function(_,E,j){return A.f(_,E,N(1,j))}:function(_,E,j){return _[E]=j,_}},4016:(_,E,j)=>{var A=j(2804).document;_.exports=A&&A.documentElement},5516:(_,E,j)=>{_.exports=!j(1668)&&!j(9316)((function(){return 7!=Object.defineProperty(j(1300)("div"),"a",{get:function(){return 7}}).a}))},2672:(_,E,j)=>{var A=j(3888),N=j(5076).set;_.exports=function(_,E,j){var F,B=E.constructor;return B!==j&&"function"==typeof B&&(F=B.prototype)!==j.prototype&&A(F)&&N&&N(_,F),_}},5628:_=>{_.exports=function(_,E,j){var A=void 0===j;switch(E.length){case 0:return A?_():_.call(j);case 1:return A?_(E[0]):_.call(j,E[0]);case 2:return A?_(E[0],E[1]):_.call(j,E[0],E[1]);case 3:return A?_(E[0],E[1],E[2]):_.call(j,E[0],E[1],E[2]);case 4:return A?_(E[0],E[1],E[2],E[3]):_.call(j,E[0],E[1],E[2],E[3])}return _.apply(j,E)}},2936:(_,E,j)=>{var A=j(6924);_.exports=Object("z").propertyIsEnumerable(0)?Object:function(_){return"String"==A(_)?_.split(""):Object(_)}},3164:(_,E,j)=>{var A=j(2488),N=j(7096)("iterator"),F=Array.prototype;_.exports=function(_){return void 0!==_&&(A.Array===_||F[N]===_)}},3888:_=>{_.exports=function(_){return"object"==typeof _?null!==_:"function"==typeof _}},7760:(_,E,j)=>{var A=j(3888),N=j(6924),F=j(7096)("match");_.exports=function(_){var E;return A(_)&&(void 0!==(E=_[F])?!!E:"RegExp"==N(_))}},2372:(_,E,j)=>{var A=j(3504);_.exports=function(_,E,j,N){try{return N?E(A(j)[0],j[1]):E(j)}catch(E){var F=_.return;throw void 0!==F&&A(F.call(_)),E}}},128:(_,E,j)=>{"use strict";var A=j(3472),N=j(8164),F=j(6256),B={};j(2336)(B,j(7096)("iterator"),(function(){return this})),_.exports=function(_,E,j){_.prototype=A(B,{next:N(1,j)}),F(_,E+" Iterator")}},6952:(_,E,j)=>{"use strict";var A=j(4440),N=j(7076),F=j(8868),B=j(2336),R=j(2488),G=j(128),W=j(6256),K=j(9556),U=j(7096)("iterator"),Y=!([].keys&&"next"in[].keys()),ie="keys",pe="values",m=function(){return this};_.exports=function(_,E,j,he,de,me,ge){G(j,E,he);var ve,ye,be,P=function(_){if(!Y&&_ in _e)return _e[_];switch(_){case ie:case pe:return function(){return new j(this,_)}}return function(){return new j(this,_)}},we=E+" Iterator",xe=de==pe,Se=!1,_e=_.prototype,Pe=_e[U]||_e["@@iterator"]||de&&_e[de],Oe=Pe||P(de),Ie=de?xe?P("entries"):Oe:void 0,Ee="Array"==E&&_e.entries||Pe;if(Ee&&(be=K(Ee.call(new _)))!==Object.prototype&&be.next&&(W(be,we,!0),A||"function"==typeof be[U]||B(be,U,m)),xe&&Pe&&Pe.name!==pe&&(Se=!0,Oe=function(){return Pe.call(this)}),A&&!ge||!Y&&!Se&&_e[U]||B(_e,U,Oe),R[E]=Oe,R[we]=m,de)if(ve={values:xe?Oe:P(pe),keys:me?Oe:P(ie),entries:Ie},ge)for(ye in ve)ye in _e||F(_e,ye,ve[ye]);else N(N.P+N.F*(Y||Se),E,ve);return ve}},8380:(_,E,j)=>{var A=j(7096)("iterator"),N=!1;try{var F=[7][A]();F.return=function(){N=!0},Array.from(F,(function(){throw 2}))}catch(_){}_.exports=function(_,E){if(!E&&!N)return!1;var j=!1;try{var F=[7],B=F[A]();B.next=function(){return{done:j=!0}},F[A]=function(){return B},_(F)}catch(_){}return j}},172:_=>{_.exports=function(_,E){return{value:E,done:!!_}}},2488:_=>{_.exports={}},4440:_=>{_.exports=!1},2020:(_,E,j)=>{var A=j(9664)("meta"),N=j(3888),F=j(9080),B=j(8520).f,R=0,G=Object.isExtensible||function(){return!0},W=!j(9316)((function(){return G(Object.preventExtensions({}))})),l=function(_){B(_,A,{value:{i:"O"+ ++R,w:{}}})},K=_.exports={KEY:A,NEED:!1,fastKey:function(_,E){if(!N(_))return"symbol"==typeof _?_:("string"==typeof _?"S":"P")+_;if(!F(_,A)){if(!G(_))return"F";if(!E)return"E";l(_)}return _[A].i},getWeak:function(_,E){if(!F(_,A)){if(!G(_))return!0;if(!E)return!1;l(_)}return _[A].w},onFreeze:function(_){return W&&K.NEED&&G(_)&&!F(_,A)&&l(_),_}}},448:(_,E,j)=>{var A=j(2804),N=j(2280).set,F=A.MutationObserver||A.WebKitMutationObserver,B=A.process,R=A.Promise,G="process"==j(6924)(B);_.exports=function(){var _,E,j,u=function(){var A,N;for(G&&(A=B.domain)&&A.exit();_;){N=_.fn,_=_.next;try{N()}catch(A){throw _?j():E=void 0,A}}E=void 0,A&&A.enter()};if(G)j=function(){B.nextTick(u)};else if(!F||A.navigator&&A.navigator.standalone)if(R&&R.resolve){var W=R.resolve(void 0);j=function(){W.then(u)}}else j=function(){N.call(A,u)};else{var K=!0,U=document.createTextNode("");new F(u).observe(U,{characterData:!0}),j=function(){U.data=K=!K}}return function(A){var N={fn:A,next:void 0};E&&(E.next=N),_||(_=N,j()),E=N}}},8024:(_,E,j)=>{"use strict";var A=j(2016);function o(_){var E,j;this.promise=new _((function(_,A){if(void 0!==E||void 0!==j)throw TypeError("Bad Promise constructor");E=_,j=A})),this.resolve=A(E),this.reject=A(j)}_.exports.f=function(_){return new o(_)}},6472:(_,E,j)=>{"use strict";var A=j(5444),N=j(5364),F=j(3875),B=j(1164),R=j(2936),G=Object.assign;_.exports=!G||j(9316)((function(){var _={},E={},j=Symbol(),A="abcdefghijklmnopqrst";return _[j]=7,A.split("").forEach((function(_){E[_]=_})),7!=G({},_)[j]||Object.keys(G({},E)).join("")!=A}))?function(_,E){for(var j=B(_),G=arguments.length,W=1,K=N.f,U=F.f;G>W;)for(var Y,ie=R(arguments[W++]),pe=K?A(ie).concat(K(ie)):A(ie),he=pe.length,de=0;he>de;)U.call(ie,Y=pe[de++])&&(j[Y]=ie[Y]);return j}:G},3472:(_,E,j)=>{var A=j(3504),N=j(1176),F=j(444),B=j(4588)("IE_PROTO"),a=function(){},R="prototype",u=function(){var _,E=j(1300)("iframe"),A=F.length;for(E.style.display="none",j(4016).appendChild(E),E.src="javascript:",(_=E.contentWindow.document).open(),_.write("<script>document.F=Object<\/script>"),_.close(),u=_.F;A--;)delete u[R][F[A]];return u()};_.exports=Object.create||function(_,E){var j;return null!==_?(a[R]=A(_),j=new a,a[R]=null,j[B]=_):j=u(),void 0===E?j:N(j,E)}},8520:(_,E,j)=>{var A=j(3504),N=j(5516),F=j(1896),B=Object.defineProperty;E.f=j(1668)?Object.defineProperty:function(_,E,j){if(A(_),E=F(E,!0),A(j),N)try{return B(_,E,j)}catch(_){}if("get"in j||"set"in j)throw TypeError("Accessors not supported!");return"value"in j&&(_[E]=j.value),_}},1176:(_,E,j)=>{var A=j(8520),N=j(3504),F=j(5444);_.exports=j(1668)?Object.defineProperties:function(_,E){N(_);for(var j,B=F(E),R=B.length,G=0;R>G;)A.f(_,j=B[G++],E[j]);return _}},6524:(_,E,j)=>{var A=j(3875),N=j(8164),F=j(2780),B=j(1896),R=j(9080),G=j(5516),W=Object.getOwnPropertyDescriptor;E.f=j(1668)?W:function(_,E){if(_=F(_),E=B(E,!0),G)try{return W(_,E)}catch(_){}if(R(_,E))return N(!A.f.call(_,E),_[E])}},5364:(_,E)=>{E.f=Object.getOwnPropertySymbols},9556:(_,E,j)=>{var A=j(9080),N=j(1164),F=j(4588)("IE_PROTO"),B=Object.prototype;_.exports=Object.getPrototypeOf||function(_){return _=N(_),A(_,F)?_[F]:"function"==typeof _.constructor&&_ instanceof _.constructor?_.constructor.prototype:_ instanceof Object?B:null}},3816:(_,E,j)=>{var A=j(9080),N=j(2780),F=j(7504)(!1),B=j(4588)("IE_PROTO");_.exports=function(_,E){var j,R=N(_),G=0,W=[];for(j in R)j!=B&&A(R,j)&&W.push(j);for(;E.length>G;)A(R,j=E[G++])&&(~F(W,j)||W.push(j));return W}},5444:(_,E,j)=>{var A=j(3816),N=j(444);_.exports=Object.keys||function(_){return A(_,N)}},3875:(_,E)=>{E.f={}.propertyIsEnumerable},2504:(_,E,j)=>{var A=j(5444),N=j(2780),F=j(3875).f;_.exports=function(_){return function(E){for(var j,B=N(E),R=A(B),G=R.length,W=0,K=[];G>W;)F.call(B,j=R[W++])&&K.push(_?[j,B[j]]:B[j]);return K}}},7904:_=>{_.exports=function(_){try{return{e:!1,v:_()}}catch(_){return{e:!0,v:_}}}},0:(_,E,j)=>{var A=j(3504),N=j(3888),F=j(8024);_.exports=function(_,E){if(A(_),N(E)&&E.constructor===_)return E;var j=F.f(_);return(0,j.resolve)(E),j.promise}},8164:_=>{_.exports=function(_,E){return{enumerable:!(1&_),configurable:!(2&_),writable:!(4&_),value:E}}},7704:(_,E,j)=>{var A=j(8868);_.exports=function(_,E,j){for(var N in E)A(_,N,E[N],j);return _}},8868:(_,E,j)=>{var A=j(2804),N=j(2336),F=j(9080),B=j(9664)("src"),R="toString",G=Function[R],W=(""+G).split(R);j(8432).inspectSource=function(_){return G.call(_)},(_.exports=function(_,E,j,R){var G="function"==typeof j;G&&(F(j,"name")||N(j,"name",E)),_[E]!==j&&(G&&(F(j,B)||N(j,B,_[E]?""+_[E]:W.join(String(E)))),_===A?_[E]=j:R?_[E]?_[E]=j:N(_,E,j):(delete _[E],N(_,E,j)))})(Function.prototype,R,(function(){return"function"==typeof this&&this[B]||G.call(this)}))},5076:(_,E,j)=>{var A=j(3888),N=j(3504),i=function(_,E){if(N(_),!A(E)&&null!==E)throw TypeError(E+": can't set as prototype!")};_.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(_,E,A){try{(A=j(800)(Function.call,j(6524).f(Object.prototype,"__proto__").set,2))(_,[]),E=!(_ instanceof Array)}catch(_){E=!0}return function(_,j){return i(_,j),E?_.__proto__=j:A(_,j),_}}({},!1):void 0),check:i}},3384:(_,E,j)=>{"use strict";var A=j(2804),N=j(8520),F=j(1668),B=j(7096)("species");_.exports=function(_){var E=A[_];F&&E&&!E[B]&&N.f(E,B,{configurable:!0,get:function(){return this}})}},6256:(_,E,j)=>{var A=j(8520).f,N=j(9080),F=j(7096)("toStringTag");_.exports=function(_,E,j){_&&!N(_=j?_:_.prototype,F)&&A(_,F,{configurable:!0,value:E})}},4588:(_,E,j)=>{var A=j(5432)("keys"),N=j(9664);_.exports=function(_){return A[_]||(A[_]=N(_))}},5432:(_,E,j)=>{var A=j(8432),N=j(2804),F="__core-js_shared__",B=N[F]||(N[F]={});(_.exports=function(_,E){return B[_]||(B[_]=void 0!==E?E:{})})("versions",[]).push({version:A.version,mode:j(4440)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},6776:(_,E,j)=>{var A=j(3504),N=j(2016),F=j(7096)("species");_.exports=function(_,E){var j,B=A(_).constructor;return void 0===B||null==(j=A(B)[F])?E:N(j)}},6712:(_,E,j)=>{"use strict";var A=j(9316);_.exports=function(_,E){return!!_&&A((function(){E?_.call(null,(function(){}),1):_.call(null)}))}},2280:(_,E,j)=>{var A,N,F,B=j(800),R=j(5628),G=j(4016),W=j(1300),K=j(2804),U=K.process,Y=K.setImmediate,ie=K.clearImmediate,pe=K.MessageChannel,he=K.Dispatch,de=0,me={},ge="onreadystatechange",b=function(){var _=+this;if(me.hasOwnProperty(_)){var E=me[_];delete me[_],E()}},w=function(_){b.call(_.data)};Y&&ie||(Y=function(_){for(var E=[],j=1;arguments.length>j;)E.push(arguments[j++]);return me[++de]=function(){R("function"==typeof _?_:Function(_),E)},A(de),de},ie=function(_){delete me[_]},"process"==j(6924)(U)?A=function(_){U.nextTick(B(b,_,1))}:he&&he.now?A=function(_){he.now(B(b,_,1))}:pe?(F=(N=new pe).port2,N.port1.onmessage=w,A=B(F.postMessage,F,1)):K.addEventListener&&"function"==typeof postMessage&&!K.importScripts?(A=function(_){K.postMessage(_+"","*")},K.addEventListener("message",w,!1)):A=ge in W("script")?function(_){G.appendChild(W("script"))[ge]=function(){G.removeChild(this),b.call(_)}}:function(_){setTimeout(B(b,_,1),0)}),_.exports={set:Y,clear:ie}},8508:(_,E,j)=>{var A=j(8236),N=Math.max,F=Math.min;_.exports=function(_,E){return(_=A(_))<0?N(_+E,0):F(_,E)}},8236:_=>{var E=Math.ceil,j=Math.floor;_.exports=function(_){return isNaN(_=+_)?0:(_>0?j:E)(_)}},2780:(_,E,j)=>{var A=j(2936),N=j(24);_.exports=function(_){return A(N(_))}},3528:(_,E,j)=>{var A=j(8236),N=Math.min;_.exports=function(_){return _>0?N(A(_),9007199254740991):0}},1164:(_,E,j)=>{var A=j(24);_.exports=function(_){return Object(A(_))}},1896:(_,E,j)=>{var A=j(3888);_.exports=function(_,E){if(!A(_))return _;var j,N;if(E&&"function"==typeof(j=_.toString)&&!A(N=j.call(_)))return N;if("function"==typeof(j=_.valueOf)&&!A(N=j.call(_)))return N;if(!E&&"function"==typeof(j=_.toString)&&!A(N=j.call(_)))return N;throw TypeError("Can't convert object to primitive value")}},9664:_=>{var E=0,j=Math.random();_.exports=function(_){return"Symbol(".concat(void 0===_?"":_,")_",(++E+j).toString(36))}},1168:(_,E,j)=>{var A=j(2804).navigator;_.exports=A&&A.userAgent||""},2772:(_,E,j)=>{var A=j(3888);_.exports=function(_,E){if(!A(_)||_._t!==E)throw TypeError("Incompatible receiver, "+E+" required!");return _}},7096:(_,E,j)=>{var A=j(5432)("wks"),N=j(9664),F=j(2804).Symbol,B="function"==typeof F;(_.exports=function(_){return A[_]||(A[_]=B&&F[_]||(B?F:N)("Symbol."+_))}).store=A},2800:(_,E,j)=>{var A=j(5848),N=j(7096)("iterator"),F=j(2488);_.exports=j(8432).getIteratorMethod=function(_){if(null!=_)return _[N]||_["@@iterator"]||F[A(_)]}},4228:(_,E,j)=>{"use strict";var A=j(800),N=j(7076),F=j(1164),B=j(2372),R=j(3164),G=j(3528),W=j(2340),K=j(2800);N(N.S+N.F*!j(8380)((function(_){Array.from(_)})),"Array",{from:function(_){var E,j,N,U,Y=F(_),ie="function"==typeof this?this:Array,pe=arguments.length,he=pe>1?arguments[1]:void 0,de=void 0!==he,me=0,ge=K(Y);if(de&&(he=A(he,pe>2?arguments[2]:void 0,2)),null==ge||ie==Array&&R(ge))for(j=new ie(E=G(Y.length));E>me;me++)W(j,me,de?he(Y[me],me):Y[me]);else for(U=ge.call(Y),j=new ie;!(N=U.next()).done;me++)W(j,me,de?B(U,he,[N.value,me],!0):N.value);return j.length=me,j}})},4260:(_,E,j)=>{"use strict";var A=j(7076),N=j(2016),F=j(1164),B=j(9316),R=[].sort,G=[1,2,3];A(A.P+A.F*(B((function(){G.sort(void 0)}))||!B((function(){G.sort(null)}))||!j(6712)(R)),"Array",{sort:function(_){return void 0===_?R.call(F(this)):R.call(F(this),N(_))}})},5584:(_,E,j)=>{var A=j(7076);A(A.S+A.F,"Object",{assign:j(6472)})},5888:(_,E,j)=>{"use strict";var A,N,F,B,R=j(4440),G=j(2804),W=j(800),K=j(5848),U=j(7076),Y=j(3888),ie=j(2016),pe=j(2388),he=j(7228),de=j(6776),me=j(2280).set,ge=j(448)(),ve=j(8024),ye=j(7904),be=j(1168),we=j(0),xe="Promise",Se=G.TypeError,_e=G.process,Pe=_e&&_e.versions,Oe=Pe&&Pe.v8||"",Ie=G[xe],Ee="process"==K(_e),k=function(){},je=N=ve.f,Ae=!!function(){try{var _=Ie.resolve(1),E=(_.constructor={})[j(7096)("species")]=function(_){_(k,k)};return(Ee||"function"==typeof PromiseRejectionEvent)&&_.then(k)instanceof E&&0!==Oe.indexOf("6.6")&&-1===be.indexOf("Chrome/66")}catch(_){}}(),C=function(_){var E;return!(!Y(_)||"function"!=typeof(E=_.then))&&E},M=function(_,E){if(!_._n){_._n=!0;var j=_._c;ge((function(){for(var A=_._v,N=1==_._s,F=0,s=function(E){var j,F,B,R=N?E.ok:E.fail,G=E.resolve,W=E.reject,K=E.domain;try{R?(N||(2==_._h&&D(_),_._h=1),!0===R?j=A:(K&&K.enter(),j=R(A),K&&(K.exit(),B=!0)),j===E.promise?W(Se("Promise-chain cycle")):(F=C(j))?F.call(j,G,W):G(j)):W(A)}catch(_){K&&!B&&K.exit(),W(_)}};j.length>F;)s(j[F++]);_._c=[],_._n=!1,E&&!_._h&&V(_)}))}},V=function(_){me.call(G,(function(){var E,j,A,N=_._v,F=T(_);if(F&&(E=ye((function(){Ee?_e.emit("unhandledRejection",N,_):(j=G.onunhandledrejection)?j({promise:_,reason:N}):(A=G.console)&&A.error&&A.error("Unhandled promise rejection",N)})),_._h=Ee||T(_)?2:1),_._a=void 0,F&&E.e)throw E.v}))},T=function(_){return 1!==_._h&&0===(_._a||_._c).length},D=function(_){me.call(G,(function(){var E;Ee?_e.emit("rejectionHandled",_):(E=G.onrejectionhandled)&&E({promise:_,reason:_._v})}))},L=function(_){var E=this;E._d||(E._d=!0,(E=E._w||E)._v=_,E._s=2,E._a||(E._a=E._c.slice()),M(E,!0))},$=function(_){var E,j=this;if(!j._d){j._d=!0,j=j._w||j;try{if(j===_)throw Se("Promise can't be resolved itself");(E=C(_))?ge((function(){var A={_w:j,_d:!1};try{E.call(_,W($,A,1),W(L,A,1))}catch(_){L.call(A,_)}})):(j._v=_,j._s=1,M(j,!1))}catch(_){L.call({_w:j,_d:!1},_)}}};Ae||(Ie=function(_){pe(this,Ie,xe,"_h"),ie(_),A.call(this);try{_(W($,this,1),W(L,this,1))}catch(_){L.call(this,_)}},(A=function(_){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=j(7704)(Ie.prototype,{then:function(_,E){var j=je(de(this,Ie));return j.ok="function"!=typeof _||_,j.fail="function"==typeof E&&E,j.domain=Ee?_e.domain:void 0,this._c.push(j),this._a&&this._a.push(j),this._s&&M(this,!1),j.promise},catch:function(_){return this.then(void 0,_)}}),F=function(){var _=new A;this.promise=_,this.resolve=W($,_,1),this.reject=W(L,_,1)},ve.f=je=function(_){return _===Ie||_===B?new F(_):N(_)}),U(U.G+U.W+U.F*!Ae,{Promise:Ie}),j(6256)(Ie,xe),j(3384)(xe),B=j(8432)[xe],U(U.S+U.F*!Ae,xe,{reject:function(_){var E=je(this);return(0,E.reject)(_),E.promise}}),U(U.S+U.F*(R||!Ae),xe,{resolve:function(_){return we(R&&this===B?Ie:this,_)}}),U(U.S+U.F*!(Ae&&j(8380)((function(_){Ie.all(_).catch(k)}))),xe,{all:function(_){var E=this,j=je(E),A=j.resolve,N=j.reject,F=ye((function(){var j=[],F=0,B=1;he(_,!1,(function(_){var R=F++,G=!1;j.push(void 0),B++,E.resolve(_).then((function(_){G||(G=!0,j[R]=_,--B||A(j))}),N)})),--B||A(j)}));return F.e&&N(F.v),j.promise},race:function(_){var E=this,j=je(E),A=j.reject,N=ye((function(){he(_,!1,(function(_){E.resolve(_).then(j.resolve,A)}))}));return N.e&&A(N.v),j.promise}})},7320:(_,E,j)=>{j(1668)&&"g"!=/./g.flags&&j(8520).f(RegExp.prototype,"flags",{configurable:!0,get:j(8068)})},4880:(_,E,j)=>{j(4448)("match",1,(function(_,E,j){return[function(j){"use strict";var A=_(this),N=null==j?void 0:j[E];return void 0!==N?N.call(j,A):new RegExp(j)[E](String(A))},j]}))},8412:(_,E,j)=>{j(4448)("replace",2,(function(_,E,j){return[function(A,N){"use strict";var F=_(this),B=null==A?void 0:A[E];return void 0!==B?B.call(A,F,N):j.call(String(F),A,N)},j]}))},223:(_,E,j)=>{j(4448)("search",1,(function(_,E,j){return[function(j){"use strict";var A=_(this),N=null==j?void 0:j[E];return void 0!==N?N.call(j,A):new RegExp(j)[E](String(A))},j]}))},3708:(_,E,j)=>{j(4448)("split",2,(function(_,E,A){"use strict";var N=j(7760),F=A,B=[].push,R="split",G="length",W="lastIndex";if("c"=="abbc"[R](/(b)*/)[1]||4!="test"[R](/(?:)/,-1)[G]||2!="ab"[R](/(?:ab)*/)[G]||4!="."[R](/(.?)(.?)/)[G]||"."[R](/()()/)[G]>1||""[R](/.?/)[G]){var K=void 0===/()??/.exec("")[1];A=function(_,E){var j=String(this);if(void 0===_&&0===E)return[];if(!N(_))return F.call(j,_,E);var A,R,U,Y,ie,pe=[],he=(_.ignoreCase?"i":"")+(_.multiline?"m":"")+(_.unicode?"u":"")+(_.sticky?"y":""),de=0,me=void 0===E?4294967295:E>>>0,ge=new RegExp(_.source,he+"g");for(K||(A=new RegExp("^"+ge.source+"$(?!\\s)",he));(R=ge.exec(j))&&!((U=R.index+R[0][G])>de&&(pe.push(j.slice(de,R.index)),!K&&R[G]>1&&R[0].replace(A,(function(){for(ie=1;ie<arguments[G]-2;ie++)void 0===arguments[ie]&&(R[ie]=void 0)})),R[G]>1&&R.index<j[G]&&B.apply(pe,R.slice(1)),Y=R[0][G],de=U,pe[G]>=me));)ge[W]===R.index&&ge[W]++;return de===j[G]?!Y&&ge.test("")||pe.push(""):pe.push(j.slice(de)),pe[G]>me?pe.slice(0,me):pe}}else"0"[R](void 0,0)[G]&&(A=function(_,E){return void 0===_&&0===E?[]:F.call(this,_,E)});return[function(j,N){var F=_(this),B=null==j?void 0:j[E];return void 0!==B?B.call(j,F,N):A.call(String(F),j,N)},A]}))},6568:(_,E,j)=>{"use strict";j(7320);var A=j(3504),N=j(8068),F=j(1668),B="toString",R=/./[B],c=function(_){j(8868)(RegExp.prototype,B,_,!0)};j(9316)((function(){return"/a/b"!=R.call({source:"a",flags:"b"})}))?c((function(){var _=A(this);return"/".concat(_.source,"/","flags"in _?_.flags:!F&&_ instanceof RegExp?N.call(_):void 0)})):R.name!=B&&c((function(){return R.call(this)}))},7276:(_,E,j)=>{"use strict";var A=j(148),N=j(2772);_.exports=j(9412)("Set",(function(_){return function(){return _(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(_){return A.def(N(this,"Set"),_=0===_?0:_,_)}},A)},7360:(_,E,j)=>{"use strict";var A=j(7076),N=j(7504)(!0);A(A.P,"Array",{includes:function(_){return N(this,_,arguments.length>1?arguments[1]:void 0)}}),j(7384)("includes")},3852:(_,E,j)=>{var A=j(7076),N=j(2504)(!0);A(A.S,"Object",{entries:function(_){return N(_)}})},5308:(_,E,j)=>{var A=j(7076),N=j(2504)(!1);A(A.S,"Object",{values:function(_){return N(_)}})},7468:(_,E,j)=>{"use strict";const A=j(4368),N=j(9624),F=j(1846);function s(_,E,j){const B=N(_,E,j),R=A.spawn(B.command,B.args,B.options);return F.hookChildProcess(R,B),R}_.exports=s,_.exports.spawn=s,_.exports.sync=function(_,E,j){const B=N(_,E,j),R=A.spawnSync(B.command,B.args,B.options);return R.error=R.error||F.verifyENOENTSync(R.status,B),R},_.exports._parse=N,_.exports._enoent=F},1846:_=>{"use strict";const E="win32"===process.platform;function r(_,E){return Object.assign(new Error(`${E} ${_.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${E} ${_.command}`,path:_.command,spawnargs:_.args})}function n(_,j){return E&&1===_&&!j.file?r(j.original,"spawn"):null}_.exports={hookChildProcess:function(_,j){if(!E)return;const A=_.emit;_.emit=function(E,N){if("exit"===E){const E=n(N,j);if(E)return A.call(_,"error",E)}return A.apply(_,arguments)}},verifyENOENT:n,verifyENOENTSync:function(_,j){return E&&1===_&&!j.file?r(j.original,"spawnSync"):null},notFoundError:r}},9624:(_,E,j)=>{"use strict";const A=j(7072),N=j(9480),F=j(8372),B=j(824),R=j(7780),G=j(1716),W="win32"===process.platform,K=/\.(?:com|exe)$/i,U=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i,Y=N((()=>G.satisfies(process.version,"^4.8.0 || ^5.7.0 || >= 6.0.0",!0)))||!1;_.exports=function(_,E,j){E&&!Array.isArray(E)&&(j=E,E=null);const N={command:_,args:E=E?E.slice(0):[],options:j=Object.assign({},j),file:void 0,original:{command:_,args:E}};return j.shell?function(_){if(Y)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]),_}(N):function(_){if(!W)return _;const E=function(_){_.file=F(_);const E=_.file&&R(_.file);return E?(_.args.unshift(_.file),_.command=E,F(_)):_.file}(_),j=!K.test(E);if(_.options.forceShell||j){const j=U.test(E);_.command=A.normalize(_.command),_.command=B.command(_.command),_.args=_.args.map((_=>B.argument(_,j)));const N=[_.command].concat(_.args).join(" ");_.args=["/d","/s","/c",`"${N}"`],_.command=process.env.comspec||"cmd.exe",_.options.windowsVerbatimArguments=!0}return _}(N)}},824:_=>{"use strict";const E=/([()\][%!^"`<>&|;, *?])/g;_.exports.command=function(_){return _.replace(E,"^$1")},_.exports.argument=function(_,j){return _=(_=`"${_=(_=(_=`${_}`).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(E,"^$1"),j&&(_=_.replace(E,"^$1")),_}},7780:(_,E,j)=>{"use strict";const A=j(2058),N=j(6176);_.exports=function(_){let E,j;Buffer.alloc?E=Buffer.alloc(150):(E=new Buffer(150),E.fill(0));try{j=A.openSync(_,"r"),A.readSync(j,E,0,150,0),A.closeSync(j)}catch(_){}return N(E.toString())}},8372:(_,E,j)=>{"use strict";const A=j(7072),N=j(8460),F=j(3032)();function s(_,E){const j=process.cwd(),B=null!=_.options.cwd;if(B)try{process.chdir(_.options.cwd)}catch(_){}let R;try{R=N.sync(_.command,{path:(_.options.env||process.env)[F],pathExt:E?A.delimiter:void 0})}catch(_){}finally{process.chdir(j)}return R&&(R=A.resolve(B?_.options.cwd:"",R)),R}_.exports=function(_){return s(_)||s(_,!0)}},9988:(_,E,j)=>{var A=j(4640),o=function(){},i=function(_,E,j){if("function"==typeof E)return i(_,null,E);E||(E={}),j=A(j||o);var N=_._writableState,F=_._readableState,B=E.readable||!1!==E.readable&&_.readable,R=E.writable||!1!==E.writable&&_.writable,l=function(){_.writable||f()},f=function(){R=!1,B||j.call(_)},p=function(){B=!1,R||j.call(_)},h=function(E){j.call(_,E?new Error("exited with error code: "+E):null)},d=function(E){j.call(_,E)},m=function(){return(!B||F&&F.ended)&&(!R||N&&N.ended)?void 0:j.call(_,new Error("premature close"))},g=function(){_.req.on("finish",f)};return function(_){return _.setHeader&&"function"==typeof _.abort}(_)?(_.on("complete",f),_.on("abort",m),_.req?g():_.on("request",g)):R&&!N&&(_.on("end",l),_.on("close",l)),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},84:(_,E,j)=>{_.exports=l,l.realpath=l,l.sync=f,l.realpathSync=f,l.monkeypatch=function(){A.realpath=l,A.realpathSync=f},l.unmonkeypatch=function(){A.realpath=N,A.realpathSync=F};var A=j(2058),N=A.realpath,F=A.realpathSync,B=process.version,R=/^v[0-5]\./.test(B),G=j(7192);function u(_){return _&&"realpath"===_.syscall&&("ELOOP"===_.code||"ENOMEM"===_.code||"ENAMETOOLONG"===_.code)}function l(_,E,j){if(R)return N(_,E,j);"function"==typeof E&&(j=E,E=null),N(_,E,(function(A,N){u(A)?G.realpath(_,E,j):j(A,N)}))}function f(_,E){if(R)return F(_,E);try{return F(_,E)}catch(j){if(u(j))return G.realpathSync(_,E);throw j}}},7192:(_,E,j)=>{var A=j(7072),N="win32"===process.platform,F=j(2058),B=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);if(A.normalize,N)var R=/(.*?)(?:[\/\\]+|$)/g;else R=/(.*?)(?:[\/]+|$)/g;if(N)var G=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else G=/^[\/]*/;E.realpathSync=function(_,E){if(_=A.resolve(_),E&&Object.prototype.hasOwnProperty.call(E,_))return E[_];var j,B,W,K,U=_,Y={},ie={};function d(){var E=G.exec(_);j=E[0].length,B=E[0],W=E[0],K="",N&&!ie[W]&&(F.lstatSync(W),ie[W]=!0)}for(d();j<_.length;){R.lastIndex=j;var pe=R.exec(_);if(K=B,B+=pe[0],W=K+pe[1],j=R.lastIndex,!(ie[W]||E&&E[W]===W)){var he;if(E&&Object.prototype.hasOwnProperty.call(E,W))he=E[W];else{var de=F.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);Y.hasOwnProperty(ge)&&(me=Y[ge])}null===me&&(F.statSync(W),me=F.readlinkSync(W)),he=A.resolve(K,me),E&&(E[W]=he),N||(Y[ge]=me)}_=A.resolve(he,_.slice(j)),d()}}return E&&(E[U]=_),_},E.realpath=function(_,E,j){if("function"!=typeof j&&(j=function(_){return"function"==typeof _?_:function(){var _;if(B){var E=new Error;_=function(_){_&&(E.message=_.message,r(_=E))}}else _=r;return _;function r(_){if(_){if(process.throwDeprecation)throw _;if(!process.noDeprecation){var E="fs: missing callback "+(_.stack||_.message);process.traceDeprecation?console.trace(E):console.error(E)}}}}()}(E),E=null),_=A.resolve(_),E&&Object.prototype.hasOwnProperty.call(E,_))return process.nextTick(j.bind(null,null,E[_]));var W,K,U,Y,ie=_,pe={},he={};function g(){var E=G.exec(_);W=E[0].length,K=E[0],U=E[0],Y="",N&&!he[U]?F.lstat(U,(function(_){if(_)return j(_);he[U]=!0,v()})):process.nextTick(v)}function v(){if(W>=_.length)return E&&(E[ie]=_),j(null,_);R.lastIndex=W;var A=R.exec(_);return Y=K,K+=A[0],U=Y+A[1],W=R.lastIndex,he[U]||E&&E[U]===U?process.nextTick(v):E&&Object.prototype.hasOwnProperty.call(E,U)?w(E[U]):F.lstat(U,y)}function y(_,A){if(_)return j(_);if(!A.isSymbolicLink())return he[U]=!0,E&&(E[U]=U),process.nextTick(v);if(!N){var B=A.dev.toString(32)+":"+A.ino.toString(32);if(pe.hasOwnProperty(B))return b(null,pe[B],U)}F.stat(U,(function(_){if(_)return j(_);F.readlink(U,(function(_,E){N||(pe[B]=E),b(_,E)}))}))}function b(_,N,F){if(_)return j(_);var B=A.resolve(Y,N);E&&(E[F]=B),w(B)}function w(E){_=A.resolve(E,_.slice(W)),g()}g()}},9712:(_,E,j)=>{function n(_,E){return Object.prototype.hasOwnProperty.call(_,E)}E.alphasort=u,E.alphasorti=c,E.setopts=function(_,E,j){if(j||(j={}),j.matchBase&&-1===E.indexOf("/")){if(j.noglobstar)throw new Error("base matching requires globstar");E="**/"+E}_.silent=!!j.silent,_.pattern=E,_.strict=!1!==j.strict,_.realpath=!!j.realpath,_.realpathCache=j.realpathCache||Object.create(null),_.follow=!!j.follow,_.dot=!!j.dot,_.mark=!!j.mark,_.nodir=!!j.nodir,_.nodir&&(_.mark=!0),_.sync=!!j.sync,_.nounique=!!j.nounique,_.nonull=!!j.nonull,_.nosort=!!j.nosort,_.nocase=!!j.nocase,_.stat=!!j.stat,_.noprocess=!!j.noprocess,_.absolute=!!j.absolute,_.maxLength=j.maxLength||1/0,_.cache=j.cache||Object.create(null),_.statCache=j.statCache||Object.create(null),_.symlinks=j.symlinks||Object.create(null),function(_,E){_.ignore=E.ignore||[],Array.isArray(_.ignore)||(_.ignore=[_.ignore]),_.ignore.length&&(_.ignore=_.ignore.map(l))}(_,j),_.changedCwd=!1;var N=process.cwd();n(j,"cwd")?(_.cwd=A.resolve(j.cwd),_.changedCwd=_.cwd!==N):_.cwd=N,_.root=j.root||A.resolve(_.cwd,"/"),_.root=A.resolve(_.root),"win32"===process.platform&&(_.root=_.root.replace(/\\/g,"/")),_.cwdAbs=F(_.cwd)?_.cwd:f(_,_.cwd),"win32"===process.platform&&(_.cwdAbs=_.cwdAbs.replace(/\\/g,"/")),_.nomount=!!j.nomount,j.nonegate=!0,j.nocomment=!0,_.minimatch=new B(E,j),_.options=_.minimatch.options},E.ownProp=n,E.makeAbs=f,E.finish=function(_){for(var E=_.nounique,j=E?[]:Object.create(null),A=0,N=_.matches.length;A<N;A++){var F=_.matches[A];if(F&&0!==Object.keys(F).length){var B=Object.keys(F);E?j.push.apply(j,B):B.forEach((function(_){j[_]=!0}))}else if(_.nonull){var R=_.minimatch.globSet[A];E?j.push(R):j[R]=!0}}if(E||(j=Object.keys(j)),_.nosort||(j=j.sort(_.nocase?c:u)),_.mark){for(A=0;A<j.length;A++)j[A]=_._mark(j[A]);_.nodir&&(j=j.filter((function(E){var j=!/\/$/.test(E),A=_.cache[E]||_.cache[f(_,E)];return j&&A&&(j="DIR"!==A&&!Array.isArray(A)),j})))}_.ignore.length&&(j=j.filter((function(E){return!p(_,E)}))),_.found=j},E.mark=function(_,E){var j=f(_,E),A=_.cache[j],N=E;if(A){var F="DIR"===A||Array.isArray(A),B="/"===E.slice(-1);if(F&&!B?N+="/":!F&&B&&(N=N.slice(0,-1)),N!==E){var R=f(_,N);_.statCache[R]=_.statCache[j],_.cache[R]=_.cache[j]}}return N},E.isIgnored=p,E.childrenIgnored=function(_,E){return!!_.ignore.length&&_.ignore.some((function(_){return!(!_.gmatcher||!_.gmatcher.match(E))}))};var A=j(7072),N=j(836),F=j(4832),B=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 j=_.replace(/(\/\*\*)+$/,"");E=new B(j,{dot:!0})}return{matcher:new B(_,{dot:!0}),gmatcher:E}}function f(_,E){var j=E;return j="/"===E.charAt(0)?A.join(_.root,E):F(E)||""===E?E:_.changedCwd?A.resolve(_.cwd,E):A.resolve(E),"win32"===process.platform&&(j=j.replace(/\\/g,"/")),j}function p(_,E){return!!_.ignore.length&&_.ignore.some((function(_){return _.matcher.match(E)||!(!_.gmatcher||!_.gmatcher.match(E))}))}},808:(_,E,j)=>{_.exports=b;var A=j(2058),N=j(84),F=j(836),B=(F.Minimatch,j(3352)),R=j(467).EventEmitter,G=j(7072),W=j(6608),K=j(4832),U=j(4548),Y=j(9712),ie=(Y.alphasort,Y.alphasorti,Y.setopts),pe=Y.ownProp,he=j(363),de=(j(970),Y.childrenIgnored),me=Y.isIgnored,ge=j(4640);function b(_,E,j){if("function"==typeof E&&(j=E,E={}),E||(E={}),E.sync){if(j)throw new TypeError("callback provided to sync glob");return U(_,E)}return new x(_,E,j)}b.sync=U;var ve=b.GlobSync=U.GlobSync;function x(_,E,j){if("function"==typeof E&&(j=E,E=null),E&&E.sync){if(j)throw new TypeError("callback provided to sync glob");return new ve(_,E)}if(!(this instanceof x))return new x(_,E,j);ie(this,_,E),this._didRealPath=!1;var A=this.minimatch.set.length;this.matches=new Array(A),"function"==typeof j&&(j=ge(j),this.on("error",j),this.on("end",(function(_){j(null,_)})));var N=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===A)return a();for(var F=!0,B=0;B<A;B++)this._process(this.minimatch.set[B],B,!1,a);function a(){--N._processing,N._processing<=0&&(F?process.nextTick((function(){N._finish()})):N._finish())}F=!1}b.glob=b,b.hasMagic=function(_,E){var j=function(_,E){if(null===E||"object"!=typeof E)return _;for(var j=Object.keys(E),A=j.length;A--;)_[j[A]]=E[j[A]];return _}({},E);j.noprocess=!0;var A=new x(_,j).minimatch.set;if(!_)return!1;if(A.length>1)return!0;for(var N=0;N<A[0].length;N++)if("string"!=typeof A[0][N])return!0;return!1},b.Glob=x,B(x,R),x.prototype._finish=function(){if(W(this instanceof x),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();Y.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,j=0;j<this.matches.length;j++)this._realpathSet(j,n)}function n(){0==--_&&E._finish()}},x.prototype._realpathSet=function(_,E){var j=this.matches[_];if(!j)return E();var A=Object.keys(j),F=this,B=A.length;if(0===B)return E();var R=this.matches[_]=Object.create(null);A.forEach((function(j,A){j=F._makeAbs(j),N.realpath(j,F.realpathCache,(function(A,N){A?"stat"===A.syscall?R[j]=!0:F.emit("error",A):R[N]=!0,0==--B&&(F.matches[_]=R,E())}))}))},x.prototype._mark=function(_){return Y.mark(this,_)},x.prototype._makeAbs=function(_){return Y.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 j=_[E];this._emitMatch(j[0],j[1])}}if(this._processQueue.length){var A=this._processQueue.slice(0);for(this._processQueue.length=0,E=0;E<A.length;E++){var N=A[E];this._processing--,this._process(N[0],N[1],N[2],N[3])}}}},x.prototype._process=function(_,E,j,A){if(W(this instanceof x),W("function"==typeof A),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([_,E,j,A]);else{for(var N,B=0;"string"==typeof _[B];)B++;switch(B){case _.length:return void this._processSimple(_.join("/"),E,A);case 0:N=null;break;default:N=_.slice(0,B).join("/")}var R,G=_.slice(B);null===N?R=".":K(N)||K(_.join("/"))?(N&&K(N)||(N="/"+N),R=N):R=N;var U=this._makeAbs(R);if(de(this,R))return A();G[0]===F.GLOBSTAR?this._processGlobStar(N,R,U,G,E,j,A):this._processReaddir(N,R,U,G,E,j,A)}},x.prototype._processReaddir=function(_,E,j,A,N,F,B){var R=this;this._readdir(j,F,(function(G,W){return R._processReaddir2(_,E,j,A,N,F,W,B)}))},x.prototype._processReaddir2=function(_,E,j,A,N,F,B,R){if(!B)return R();for(var W=A[0],K=!!this.minimatch.negate,U=W._glob,Y=this.dot||"."===U.charAt(0),ie=[],pe=0;pe<B.length;pe++)("."!==(de=B[pe]).charAt(0)||Y)&&(K&&!_?!de.match(W):de.match(W))&&ie.push(de);var he=ie.length;if(0===he)return R();if(1===A.length&&!this.mark&&!this.stat){for(this.matches[N]||(this.matches[N]=Object.create(null)),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()}for(A.shift(),pe=0;pe<he;pe++)de=ie[pe],_&&(de="/"!==_?_+"/"+de:_+de),this._process([de].concat(A),N,F,R);R()},x.prototype._emitMatch=function(_,E){if(!this.aborted&&!me(this,E))if(this.paused)this._emitQueue.push([_,E]);else{var j=K(E)?E:this._makeAbs(E);if(this.mark&&(E=this._mark(E)),this.absolute&&(E=j),!this.matches[_][E]){if(this.nodir){var A=this.cache[j];if("DIR"===A||Array.isArray(A))return}this.matches[_][E]=!0;var N=this.statCache[j];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 j=this,N=he("lstat\0"+_,(function(A,N){if(A&&"ENOENT"===A.code)return E();var F=N&&N.isSymbolicLink();j.symlinks[_]=F,F||!N||N.isDirectory()?j._readdir(_,!1,E):(j.cache[_]="FILE",E())}));N&&A.lstat(_,N)}},x.prototype._readdir=function(_,E,j){if(!this.aborted&&(j=he("readdir\0"+_+"\0"+E,j))){if(E&&!pe(this.symlinks,_))return this._readdirInGlobStar(_,j);if(pe(this.cache,_)){var N=this.cache[_];if(!N||"FILE"===N)return j();if(Array.isArray(N))return j(null,N)}A.readdir(_,function(_,E,j){return function(A,N){A?_._readdirError(E,A,j):_._readdirEntries(E,N,j)}}(this,_,j))}},x.prototype._readdirEntries=function(_,E,j){if(!this.aborted){if(!this.mark&&!this.stat)for(var A=0;A<E.length;A++){var N=E[A];N="/"===_?_+N:_+"/"+N,this.cache[N]=!0}return this.cache[_]=E,j(null,E)}},x.prototype._readdirError=function(_,E,j){if(!this.aborted){switch(E.code){case"ENOTSUP":case"ENOTDIR":var A=this._makeAbs(_);if(this.cache[A]="FILE",A===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 j()}},x.prototype._processGlobStar=function(_,E,j,A,N,F,B){var R=this;this._readdir(j,F,(function(G,W){R._processGlobStar2(_,E,j,A,N,F,W,B)}))},x.prototype._processGlobStar2=function(_,E,j,A,N,F,B,R){if(!B)return R();var G=A.slice(1),W=_?[_]:[],K=W.concat(G);this._process(K,N,!1,R);var U=this.symlinks[j],Y=B.length;if(U&&F)return R();for(var ie=0;ie<Y;ie++)if("."!==B[ie].charAt(0)||this.dot){var pe=W.concat(B[ie],G);this._process(pe,N,!0,R);var he=W.concat(B[ie],A);this._process(he,N,!0,R)}R()},x.prototype._processSimple=function(_,E,j){var A=this;this._stat(_,(function(N,F){A._processSimple2(_,E,N,F,j)}))},x.prototype._processSimple2=function(_,E,j,A,N){if(this.matches[E]||(this.matches[E]=Object.create(null)),!A)return N();if(_&&K(_)&&!this.nomount){var F=/[\/\\]$/.test(_);"/"===_.charAt(0)?_=G.join(this.root,_):(_=G.resolve(this.root,_),F&&(_+="/"))}"win32"===process.platform&&(_=_.replace(/\\/g,"/")),this._emitMatch(E,_),N()},x.prototype._stat=function(_,E){var j=this._makeAbs(_),N="/"===_.slice(-1);if(_.length>this.maxLength)return E();if(!this.stat&&pe(this.cache,j)){var F=this.cache[j];if(Array.isArray(F)&&(F="DIR"),!N||"DIR"===F)return E(null,F);if(N&&"FILE"===F)return E()}var B=this.statCache[j];if(void 0!==B){if(!1===B)return E(null,B);var R=B.isDirectory()?"DIR":"FILE";return N&&"FILE"===R?E():E(null,R,B)}var G=this,W=he("stat\0"+j,(function(N,F){if(F&&F.isSymbolicLink())return A.stat(j,(function(A,N){A?G._stat2(_,j,null,F,E):G._stat2(_,j,A,N,E)}));G._stat2(_,j,N,F,E)}));W&&A.lstat(j,W)},x.prototype._stat2=function(_,E,j,A,N){if(j&&("ENOENT"===j.code||"ENOTDIR"===j.code))return this.statCache[E]=!1,N();var F="/"===_.slice(-1);if(this.statCache[E]=A,"/"===E.slice(-1)&&A&&!A.isDirectory())return N(null,!1,A);var B=!0;return A&&(B=A.isDirectory()?"DIR":"FILE"),this.cache[E]=this.cache[E]||B,F&&"FILE"===B?N():N(null,B,A)}},4548:(_,E,j)=>{_.exports=d,d.GlobSync=m;var A=j(2058),N=j(84),F=j(836),B=(F.Minimatch,j(808).Glob,j(970),j(7072)),R=j(6608),G=j(4832),W=j(9712),K=(W.alphasort,W.alphasorti,W.setopts),U=W.ownProp,Y=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(K(this,_,E),this.noprocess)return this;var j=this.minimatch.set.length;this.matches=new Array(j);for(var A=0;A<j;A++)this._process(this.minimatch.set[A],A,!1);this._finish()}m.prototype._finish=function(){if(R(this instanceof m),this.realpath){var _=this;this.matches.forEach((function(E,j){var A=_.matches[j]=Object.create(null);for(var F in E)try{F=_._makeAbs(F),A[N.realpathSync(F,_.realpathCache)]=!0}catch(E){if("stat"!==E.syscall)throw E;A[_._makeAbs(F)]=!0}}))}W.finish(this)},m.prototype._process=function(_,E,j){R(this instanceof m);for(var A,N=0;"string"==typeof _[N];)N++;switch(N){case _.length:return void this._processSimple(_.join("/"),E);case 0:A=null;break;default:A=_.slice(0,N).join("/")}var B,W=_.slice(N);null===A?B=".":G(A)||G(_.join("/"))?(A&&G(A)||(A="/"+A),B=A):B=A;var K=this._makeAbs(B);Y(this,B)||(W[0]===F.GLOBSTAR?this._processGlobStar(A,B,K,W,E,j):this._processReaddir(A,B,K,W,E,j))},m.prototype._processReaddir=function(_,E,j,A,N,F){var R=this._readdir(j,F);if(R){for(var G=A[0],W=!!this.minimatch.negate,K=G._glob,U=this.dot||"."===K.charAt(0),Y=[],ie=0;ie<R.length;ie++)("."!==(de=R[ie]).charAt(0)||U)&&(W&&!_?!de.match(G):de.match(G))&&Y.push(de);var pe=Y.length;if(0!==pe)if(1!==A.length||this.mark||this.stat)for(A.shift(),ie=0;ie<pe;ie++){var he;de=Y[ie],he=_?[_,de]:[de],this._process(he.concat(A),N,F)}else{this.matches[N]||(this.matches[N]=Object.create(null));for(ie=0;ie<pe;ie++){var de=Y[ie];_&&(de="/"!==_.slice(-1)?_+"/"+de:_+de),"/"!==de.charAt(0)||this.nomount||(de=B.join(this.root,de)),this._emitMatch(N,de)}}}},m.prototype._emitMatch=function(_,E){if(!ie(this,E)){var j=this._makeAbs(E);if(this.mark&&(E=this._mark(E)),this.absolute&&(E=j),!this.matches[_][E]){if(this.nodir){var A=this.cache[j];if("DIR"===A||Array.isArray(A))return}this.matches[_][E]=!0,this.stat&&this._stat(E)}}},m.prototype._readdirInGlobStar=function(_){if(this.follow)return this._readdir(_,!1);var E,j;try{j=A.lstatSync(_)}catch(_){if("ENOENT"===_.code)return null}var N=j&&j.isSymbolicLink();return this.symlinks[_]=N,N||!j||j.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 j=this.cache[_];if(!j||"FILE"===j)return null;if(Array.isArray(j))return j}try{return this._readdirEntries(_,A.readdirSync(_))}catch(E){return this._readdirError(_,E),null}},m.prototype._readdirEntries=function(_,E){if(!this.mark&&!this.stat)for(var j=0;j<E.length;j++){var A=E[j];A="/"===_?_+A:_+"/"+A,this.cache[A]=!0}return this.cache[_]=E,E},m.prototype._readdirError=function(_,E){switch(E.code){case"ENOTSUP":case"ENOTDIR":var j=this._makeAbs(_);if(this.cache[j]="FILE",j===this.cwdAbs){var A=new Error(E.code+" invalid cwd "+this.cwd);throw A.path=this.cwd,A.code=E.code,A}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,j,A,N,F){var B=this._readdir(j,F);if(B){var R=A.slice(1),G=_?[_]:[],W=G.concat(R);this._process(W,N,!1);var K=B.length;if(!this.symlinks[j]||!F)for(var U=0;U<K;U++)if("."!==B[U].charAt(0)||this.dot){var Y=G.concat(B[U],R);this._process(Y,N,!0);var ie=G.concat(B[U],A);this._process(ie,N,!0)}}},m.prototype._processSimple=function(_,E){var j=this._stat(_);if(this.matches[E]||(this.matches[E]=Object.create(null)),j){if(_&&G(_)&&!this.nomount){var A=/[\/\\]$/.test(_);"/"===_.charAt(0)?_=B.join(this.root,_):(_=B.resolve(this.root,_),A&&(_+="/"))}"win32"===process.platform&&(_=_.replace(/\\/g,"/")),this._emitMatch(E,_)}},m.prototype._stat=function(_){var E=this._makeAbs(_),j="/"===_.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"),!j||"DIR"===N)return N;if(j&&"FILE"===N)return!1}var F=this.statCache[E];if(!F){var B;try{B=A.lstatSync(E)}catch(_){if(_&&("ENOENT"===_.code||"ENOTDIR"===_.code))return this.statCache[E]=!1,!1}if(B&&B.isSymbolicLink())try{F=A.statSync(E)}catch(_){F=B}else F=B}return this.statCache[E]=F,N=!0,F&&(N=F.isDirectory()?"DIR":"FILE"),this.cache[E]=this.cache[E]||N,(!j||"FILE"!==N)&&N},m.prototype._mark=function(_){return W.mark(this,_)},m.prototype._makeAbs=function(_){return W.makeAbs(this,_)}},363:(_,E,j)=>{var A=j(2680),N=Object.create(null),F=j(4640);_.exports=A((function(_,E){return N[_]?(N[_].push(E),null):(N[_]=[E],function(_){return F((function t(){var E=N[_],j=E.length,A=function(_){for(var E=_.length,j=[],A=0;A<E;A++)j[A]=_[A];return j}(arguments);try{for(var F=0;F<j;F++)E[F].apply(null,A)}finally{E.length>j?(E.splice(0,j),process.nextTick((function(){t.apply(null,A)}))):delete N[_]}}))}(_))}))},3352:(_,E,j)=>{try{var A=j(970);if("function"!=typeof A.inherits)throw"";_.exports=A.inherits}catch(E){_.exports=j(8248)}},8248:_=>{"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 r=function(){};r.prototype=E.prototype,_.prototype=new r,_.prototype.constructor=_}},1392:_=>{"use strict";var E=_.exports=function(_){return null!==_&&"object"==typeof _&&"function"==typeof _.pipe};E.writable=function(_){return E(_)&&!1!==_.writable&&"function"==typeof _._write&&"object"==typeof _._writableState},E.readable=function(_){return E(_)&&!1!==_.readable&&"function"==typeof _._read&&"object"==typeof _._readableState},E.duplex=function(_){return E.writable(_)&&E.readable(_)},E.transform=function(_){return E.duplex(_)&&"function"==typeof _._transform&&"object"==typeof _._transformState}},9268:(_,E,j)=>{var A;function o(_,E,j){if("function"==typeof E&&(j=E,E={}),!j){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise((function(j,A){o(_,E||{},(function(_,E){_?A(_):j(E)}))}))}A(_,E||{},(function(_,A){_&&("EACCES"===_.code||E&&E.ignoreErrors)&&(_=null,A=!1),j(_,A)}))}j(2058),A="win32"===process.platform||global.TESTING_WINDOWS?j(8340):j(8692),_.exports=o,o.sync=function(_,E){try{return A.sync(_,E||{})}catch(_){if(E&&E.ignoreErrors||"EACCES"===_.code)return!1;throw _}}},8692:(_,E,j)=>{_.exports=o,o.sync=function(_,E){return i(A.statSync(_),E)};var A=j(2058);function o(_,E,j){A.stat(_,(function(_,A){j(_,!_&&i(A,E))}))}function i(_,E){return _.isFile()&&function(_,E){var j=_.mode,A=_.uid,N=_.gid,F=void 0!==E.uid?E.uid:process.getuid&&process.getuid(),B=void 0!==E.gid?E.gid:process.getgid&&process.getgid(),R=parseInt("100",8),G=parseInt("010",8);return j&parseInt("001",8)||j&G&&N===B||j&R&&A===F||j&(R|G)&&0===F}(_,E)}},8340:(_,E,j)=>{_.exports=i,i.sync=function(_,E){return o(A.statSync(_),_,E)};var A=j(2058);function o(_,E,j){return!(!_.isSymbolicLink()&&!_.isFile())&&function(_,E){var j=void 0!==E.pathExt?E.pathExt:process.env.PATHEXT;if(!j)return!0;if(-1!==(j=j.split(";")).indexOf(""))return!0;for(var A=0;A<j.length;A++){var N=j[A].toLowerCase();if(N&&_.substr(-N.length).toLowerCase()===N)return!0}return!1}(E,j)}function i(_,E,j){A.stat(_,(function(A,N){j(A,!A&&o(N,_,E))}))}},2941:(_,E,j)=>{"use strict";const A=j(8558),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((_||A.release()).split(".")[0]),{name:N.get(_),version:"10."+(_-4)});_.exports=i,_.exports.default=i},836:(_,E,j)=>{_.exports=p,p.Minimatch=h;var A={sep:"/"};try{A=j(7072)}catch(_){}var N=p.GLOBSTAR=h.GLOBSTAR={},F=j(1620),B={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},R="[^/]",G=R+"*?",W="().*{}+?[]^$\\!".split("").reduce((function(_,E){return _[E]=!0,_}),{}),K=/\/+/;function f(_,E){_=_||{},E=E||{};var j={};return Object.keys(E).forEach((function(_){j[_]=E[_]})),Object.keys(_).forEach((function(E){j[E]=_[E]})),j}function p(_,E,j){if("string"!=typeof E)throw new TypeError("glob pattern string required");return j||(j={}),!(!j.nocomment&&"#"===E.charAt(0))&&(""===E.trim()?""===_:new h(E,j).match(_))}function h(_,E){if(!(this instanceof h))return new h(_,E);if("string"!=typeof _)throw new TypeError("glob pattern string required");E||(E={}),_=_.trim(),"/"!==A.sep&&(_=_.split(A.sep).join("/")),this.options=E,this.set=[],this.pattern=_,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function d(_,E){if(E||(E=this instanceof h?this.options:{}),void 0===(_=void 0===_?this.pattern:_))throw new TypeError("undefined pattern");return E.nobrace||!_.match(/\{.*\}/)?[_]:F(_)}p.filter=function(_,E){return E=E||{},function(j,A,N){return p(j,_,E)}},p.defaults=function(_){if(!_||!Object.keys(_).length)return p;var E=p,r=function(j,A,N){return E.minimatch(j,A,f(_,N))};return r.Minimatch=function(j,A){return new E.Minimatch(j,f(_,A))},r},h.defaults=function(_){return _&&Object.keys(_).length?p.defaults(_).Minimatch:h},h.prototype.debug=function(){},h.prototype.make=function(){if(!this._made){var _=this.pattern,E=this.options;if(E.nocomment||"#"!==_.charAt(0))if(_){this.parseNegate();var j=this.globSet=this.braceExpand();E.debug&&(this.debug=console.error),this.debug(this.pattern,j),j=this.globParts=j.map((function(_){return _.split(K)})),this.debug(this.pattern,j),j=j.map((function(_,E,j){return _.map(this.parse,this)}),this),this.debug(this.pattern,j),j=j.filter((function(_){return-1===_.indexOf(!1)})),this.debug(this.pattern,j),this.set=j}else this.empty=!0;else this.comment=!0}},h.prototype.parseNegate=function(){var _=this.pattern,E=!1,j=0;if(!this.options.nonegate){for(var A=0,N=_.length;A<N&&"!"===_.charAt(A);A++)E=!E,j++;j&&(this.pattern=_.substr(j)),this.negate=E}},p.braceExpand=function(_,E){return d(_,E)},h.prototype.braceExpand=d,h.prototype.parse=function(_,E){if(_.length>65536)throw new TypeError("pattern is too long");var j=this.options;if(!j.noglobstar&&"**"===_)return N;if(""===_)return"";var A,F="",K=!!j.nocase,Y=!1,ie=[],pe=[],he=!1,de=-1,me=-1,ge="."===_.charAt(0)?"":j.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",ve=this;function w(){if(A){switch(A){case"*":F+=G,K=!0;break;case"?":F+=R,K=!0;break;default:F+="\\"+A}ve.debug("clearStateChar %j %j",A,F),A=!1}}for(var ye,be=0,we=_.length;be<we&&(ye=_.charAt(be));be++)if(this.debug("%s\t%s %s %j",_,be,F,ye),Y&&W[ye])F+="\\"+ye,Y=!1;else switch(ye){case"/":return!1;case"\\":w(),Y=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",_,be,F,ye),he){this.debug(" in class"),"!"===ye&&be===me+1&&(ye="^"),F+=ye;continue}ve.debug("call clearStateChar %j",A),w(),A=ye,j.noext&&w();continue;case"(":if(he){F+="(";continue}if(!A){F+="\\(";continue}ie.push({type:A,start:be-1,reStart:F.length,open:B[A].open,close:B[A].close}),F+="!"===A?"(?:(?!(?:":"(?:",this.debug("plType %j %j",A,F),A=!1;continue;case")":if(he||!ie.length){F+="\\)";continue}w(),K=!0;var xe=ie.pop();F+=xe.close,"!"===xe.type&&pe.push(xe),xe.reEnd=F.length;continue;case"|":if(he||!ie.length||Y){F+="\\|",Y=!1;continue}w(),F+="|";continue;case"[":if(w(),he){F+="\\"+ye;continue}he=!0,me=be,de=F.length,F+=ye;continue;case"]":if(be===me+1||!he){F+="\\"+ye,Y=!1;continue}if(he){var Se=_.substring(me+1,be);try{RegExp("["+Se+"]")}catch(_){var _e=this.parse(Se,U);F=F.substr(0,de)+"\\["+_e[0]+"\\]",K=K||_e[1],he=!1;continue}}K=!0,he=!1,F+=ye;continue;default:w(),Y?Y=!1:!W[ye]||"^"===ye&&he||(F+="\\"),F+=ye}for(he&&(Se=_.substr(me+1),_e=this.parse(Se,U),F=F.substr(0,de)+"\\["+_e[0],K=K||_e[1]),xe=ie.pop();xe;xe=ie.pop()){var Pe=F.slice(xe.reStart+xe.open.length);this.debug("setting tail",F,xe),Pe=Pe.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(_,E,j){return j||(j="\\"),E+E+j+"|"})),this.debug("tail=%j\n %s",Pe,Pe,xe,F);var Oe="*"===xe.type?G:"?"===xe.type?R:"\\"+xe.type;K=!0,F=F.slice(0,xe.reStart)+Oe+"\\("+Pe}w(),Y&&(F+="\\\\");var Ie=!1;switch(F.charAt(0)){case".":case"[":case"(":Ie=!0}for(var Ee=pe.length-1;Ee>-1;Ee--){var je=pe[Ee],Ae=F.slice(0,je.reStart),ke=F.slice(je.reStart,je.reEnd-8),Ne=F.slice(je.reEnd-8,je.reEnd),Fe=F.slice(je.reEnd);Ne+=Fe;var Ce=Ae.split("(").length-1,Me=Fe;for(be=0;be<Ce;be++)Me=Me.replace(/\)[+*?]?/,"");var Ve="";""===(Fe=Me)&&E!==U&&(Ve="$"),F=Ae+ke+Fe+Ve+Ne}if(""!==F&&K&&(F="(?=.)"+F),Ie&&(F=ge+F),E===U)return[F,K];if(!K)return _.replace(/\\(.)/g,"$1");var De=j.nocase?"i":"";try{var Te=new RegExp("^"+F+"$",De)}catch(_){return new RegExp("$.")}return Te._glob=_,Te._src=F,Te};var U={};p.makeRe=function(_,E){return new h(_,E||{}).makeRe()},h.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,j=E.noglobstar?G:E.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",A=E.nocase?"i":"",F=_.map((function(_){return _.map((function(_){return _===N?j:"string"==typeof _?_.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):_._src})).join("\\/")})).join("|");F="^(?:"+F+")$",this.negate&&(F="^(?!"+F+").*$");try{this.regexp=new RegExp(F,A)}catch(_){this.regexp=!1}return this.regexp},p.match=function(_,E,j){var A=new h(E,j=j||{});return _=_.filter((function(_){return A.match(_)})),A.options.nonull&&!_.length&&_.push(E),_},h.prototype.match=function(_,E){if(this.debug("match",_,this.pattern),this.comment)return!1;if(this.empty)return""===_;if("/"===_&&E)return!0;var j=this.options;"/"!==A.sep&&(_=_.split(A.sep).join("/")),_=_.split(K),this.debug(this.pattern,"split",_);var N,F,B=this.set;for(this.debug(this.pattern,"set",B),F=_.length-1;F>=0&&!(N=_[F]);F--);for(F=0;F<B.length;F++){var R=B[F],G=_;if(j.matchBase&&1===R.length&&(G=[N]),this.matchOne(G,R,E))return!!j.flipNegate||!this.negate}return!j.flipNegate&&this.negate},h.prototype.matchOne=function(_,E,j){var A=this.options;this.debug("matchOne",{this:this,file:_,pattern:E}),this.debug("matchOne",_.length,E.length);for(var F=0,B=0,R=_.length,G=E.length;F<R&&B<G;F++,B++){this.debug("matchOne loop");var W,K=E[B],U=_[F];if(this.debug(E,K,U),!1===K)return!1;if(K===N){this.debug("GLOBSTAR",[E,K,U]);var Y=F,ie=B+1;if(ie===G){for(this.debug("** at the end");F<R;F++)if("."===_[F]||".."===_[F]||!A.dot&&"."===_[F].charAt(0))return!1;return!0}for(;Y<R;){var pe=_[Y];if(this.debug("\nglobstar while",_,Y,E,ie,pe),this.matchOne(_.slice(Y),E.slice(ie),j))return this.debug("globstar found match!",Y,R,pe),!0;if("."===pe||".."===pe||!A.dot&&"."===pe.charAt(0)){this.debug("dot detected!",_,Y,E,ie);break}this.debug("globstar swallow a segment, and continue"),Y++}return!(!j||(this.debug("\n>>> no match, partial?",_,Y,E,ie),Y!==R))}if("string"==typeof K?(W=A.nocase?U.toLowerCase()===K.toLowerCase():U===K,this.debug("string match",K,U,W)):(W=U.match(K),this.debug("pattern match",K,U,W)),!W)return!1}if(F===R&&B===G)return!0;if(F===R)return j;if(B===G)return F===R-1&&""===_[F];throw new Error("wtf?")}},9480:_=>{"use strict";_.exports=function(_){try{return _()}catch(_){}}},9584:(_,E,j)=>{"use strict";const A=j(7072),N=j(3032);_.exports=_=>{let E;_=Object.assign({cwd:process.cwd(),path:process.env[N()]},_);let j=A.resolve(_.cwd);const F=[];for(;E!==j;)F.push(A.join(j,"node_modules/.bin")),E=j,j=A.resolve(j,"..");return F.push(A.dirname(process.execPath)),F.concat(_.path).join(A.delimiter)},_.exports.env=E=>{E=Object.assign({env:process.env},E);const j=Object.assign({},E.env),A=N({env:j});return E.path=j[A],j[A]=_.exports(E),j}},4640:(_,E,j)=>{var A=j(2680);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=A(o),_.exports.strict=A(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})}))},2288:(_,E,j)=>{"use strict";const A=j(8558),N=j(2941),F=j(6468);_.exports=(_,E)=>{if(!_&&E)throw new Error("You can't specify a `release` without specifying `platform`");let j;if("darwin"===(_=_||A.platform())){E||"darwin"!==A.platform()||(E=A.release());const _=E?Number(E.split(".")[0])>15?"macOS":"OS X":"macOS";return j=E?N(E).name:"",_+(j?" "+j:"")}return"linux"===_?(E||"linux"!==A.platform()||(E=A.release()),j=E?E.replace(/^(\d+\.\d+).*/,"$1"):"","Linux"+(j?" "+j:"")):"win32"===_?(E||"win32"!==A.platform()||(E=A.release()),j=E?F(E):"","Windows"+(j?" "+j:"")):_}},1548:_=>{"use strict";_.exports=(_,E)=>(E=E||(()=>{}),_.then((_=>new Promise((_=>{_(E())})).then((()=>_))),(_=>new Promise((_=>{_(E())})).then((()=>{throw _})))))},4832:_=>{"use strict";function t(_){return"/"===_.charAt(0)}function r(_){var E=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(_),j=E[1]||"",A=Boolean(j&&":"!==j.charAt(1));return Boolean(E[2]||A)}_.exports="win32"===process.platform?r:t,_.exports.posix=t,_.exports.win32=r},3032:_=>{"use strict";_.exports=_=>{const E=(_=_||{}).env||process.env;return"win32"!==(_.platform||process.platform)?"PATH":Object.keys(E).find((_=>"PATH"===_.toUpperCase()))||"Path"}},8984:(_,E,j)=>{var A=j(4640),N=j(9988),F=j(2058),s=function(){},B=/^v?\.0/.test(process.version),c=function(_){return"function"==typeof _},u=function(_){_()},l=function(_,E){return _.pipe(E)};_.exports=function(){var _,E=Array.prototype.slice.call(arguments),j=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 R=E.map((function(G,W){var K=W<E.length-1;return function(_,E,j,R){R=A(R);var G=!1;_.on("close",(function(){G=!0})),N(_,{readable:E,writable:j},(function(_){if(_)return R(_);G=!0,R()}));var W=!1;return function(E){if(!G&&!W)return W=!0,function(_){return!!B&&!!F&&(_ instanceof(F.ReadStream||s)||_ instanceof(F.WriteStream||s))&&c(_.close)}(_)?_.close(s):function(_){return _.setHeader&&c(_.abort)}(_)?_.abort():c(_.destroy)?_.destroy():void R(E||new Error("stream was destroyed"))}}(G,K,W>0,(function(E){_||(_=E),E&&R.forEach(u),K||(R.forEach(u),j(_))}))}));return E.reduce(l)}},1716:(_,E)=>{var j;E=_.exports=H,j="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 A=256,N=Number.MAX_SAFE_INTEGER||9007199254740991,F=E.re=[],B=E.src=[],R=0,G=R++;B[G]="0|[1-9]\\d*";var W=R++;B[W]="[0-9]+";var K=R++;B[K]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var U=R++;B[U]="("+B[G]+")\\.("+B[G]+")\\.("+B[G]+")";var Y=R++;B[Y]="("+B[W]+")\\.("+B[W]+")\\.("+B[W]+")";var ie=R++;B[ie]="(?:"+B[G]+"|"+B[K]+")";var pe=R++;B[pe]="(?:"+B[W]+"|"+B[K]+")";var he=R++;B[he]="(?:-("+B[ie]+"(?:\\."+B[ie]+")*))";var de=R++;B[de]="(?:-?("+B[pe]+"(?:\\."+B[pe]+")*))";var me=R++;B[me]="[0-9A-Za-z-]+";var ge=R++;B[ge]="(?:\\+("+B[me]+"(?:\\."+B[me]+")*))";var ve=R++,ye="v?"+B[U]+B[he]+"?"+B[ge]+"?";B[ve]="^"+ye+"$";var be="[v=\\s]*"+B[Y]+B[de]+"?"+B[ge]+"?",we=R++;B[we]="^"+be+"$";var xe=R++;B[xe]="((?:<|>)?=?)";var Se=R++;B[Se]=B[W]+"|x|X|\\*";var _e=R++;B[_e]=B[G]+"|x|X|\\*";var Pe=R++;B[Pe]="[v=\\s]*("+B[_e]+")(?:\\.("+B[_e]+")(?:\\.("+B[_e]+")(?:"+B[he]+")?"+B[ge]+"?)?)?";var Oe=R++;B[Oe]="[v=\\s]*("+B[Se]+")(?:\\.("+B[Se]+")(?:\\.("+B[Se]+")(?:"+B[de]+")?"+B[ge]+"?)?)?";var Ie=R++;B[Ie]="^"+B[xe]+"\\s*"+B[Pe]+"$";var Ee=R++;B[Ee]="^"+B[xe]+"\\s*"+B[Oe]+"$";var je=R++;B[je]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var Ae=R++;B[Ae]="(?:~>?)";var ke=R++;B[ke]="(\\s*)"+B[Ae]+"\\s+",F[ke]=new RegExp(B[ke],"g");var Ne=R++;B[Ne]="^"+B[Ae]+B[Pe]+"$";var Fe=R++;B[Fe]="^"+B[Ae]+B[Oe]+"$";var Ce=R++;B[Ce]="(?:\\^)";var Me=R++;B[Me]="(\\s*)"+B[Ce]+"\\s+",F[Me]=new RegExp(B[Me],"g");var Ve=R++;B[Ve]="^"+B[Ce]+B[Pe]+"$";var De=R++;B[De]="^"+B[Ce]+B[Oe]+"$";var Te=R++;B[Te]="^"+B[xe]+"\\s*("+be+")$|^$";var Le=R++;B[Le]="^"+B[xe]+"\\s*("+ye+")$|^$";var $e=R++;B[$e]="(\\s*)"+B[xe]+"\\s*("+be+"|"+B[Pe]+")",F[$e]=new RegExp(B[$e],"g");var Be=R++;B[Be]="^\\s*("+B[Pe]+")\\s+-\\s+("+B[Pe]+")\\s*$";var Re=R++;B[Re]="^\\s*("+B[Oe]+")\\s+-\\s+("+B[Oe]+")\\s*$";var Ge=R++;B[Ge]="(<|>)?=?\\s*\\*";for(var He=0;He<35;He++)j(He,B[He]),F[He]||(F[He]=new RegExp(B[He]));function q(_,E){if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),_ instanceof H)return _;if("string"!=typeof _)return null;if(_.length>A)return null;if(!(E.loose?F[we]:F[ve]).test(_))return null;try{return new H(_,E)}catch(_){return null}}function H(_,E){if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),_ instanceof H){if(_.loose===E.loose)return _;_=_.version}else if("string"!=typeof _)throw new TypeError("Invalid Version: "+_);if(_.length>A)throw new TypeError("version is longer than "+A+" characters");if(!(this instanceof H))return new H(_,E);j("SemVer",_,E),this.options=E,this.loose=!!E.loose;var B=_.trim().match(E.loose?F[we]:F[ve]);if(!B)throw new TypeError("Invalid Version: "+_);if(this.raw=_,this.major=+B[1],this.minor=+B[2],this.patch=+B[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");B[4]?this.prerelease=B[4].split(".").map((function(_){if(/^[0-9]+$/.test(_)){var E=+_;if(E>=0&&E<N)return E}return _})):this.prerelease=[],this.build=B[5]?B[5].split("."):[],this.format()}E.parse=q,E.valid=function(_,E){var j=q(_,E);return j?j.version:null},E.clean=function(_,E){var j=q(_.trim().replace(/^[=v]+/,""),E);return j?j.version:null},E.SemVer=H,H.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},H.prototype.toString=function(){return this.version},H.prototype.compare=function(_){return j("SemVer.compare",this.version,this.options,_),_ instanceof H||(_=new H(_,this.options)),this.compareMain(_)||this.comparePre(_)},H.prototype.compareMain=function(_){return _ instanceof H||(_=new H(_,this.options)),J(this.major,_.major)||J(this.minor,_.minor)||J(this.patch,_.patch)},H.prototype.comparePre=function(_){if(_ instanceof H||(_=new H(_,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 A=this.prerelease[E],N=_.prerelease[E];if(j("prerelease compare",E,A,N),void 0===A&&void 0===N)return 0;if(void 0===N)return 1;if(void 0===A)return-1;if(A!==N)return J(A,N)}while(++E)},H.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 j=this.prerelease.length;--j>=0;)"number"==typeof this.prerelease[j]&&(this.prerelease[j]++,j=-2);-1===j&&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,j,A){"string"==typeof j&&(A=j,j=void 0);try{return new H(_,j).inc(E,A).version}catch(_){return null}},E.diff=function(_,E){if(Z(_,E))return null;var j=q(_),A=q(E);if(j.prerelease.length||A.prerelease.length){for(var N in j)if(("major"===N||"minor"===N||"patch"===N)&&j[N]!==A[N])return"pre"+N;return"prerelease"}for(var N in j)if(("major"===N||"minor"===N||"patch"===N)&&j[N]!==A[N])return N},E.compareIdentifiers=J;var We=/^[0-9]+$/;function J(_,E){var j=We.test(_),A=We.test(E);return j&&A&&(_=+_,E=+E),j&&!A?-1:A&&!j?1:_<E?-1:_>E?1:0}function z(_,E,j){return new H(_,j).compare(new H(E,j))}function Q(_,E,j){return z(_,E,j)>0}function X(_,E,j){return z(_,E,j)<0}function Z(_,E,j){return 0===z(_,E,j)}function ee(_,E,j){return 0!==z(_,E,j)}function te(_,E,j){return z(_,E,j)>=0}function re(_,E,j){return z(_,E,j)<=0}function ne(_,E,j,A){var N;switch(E){case"===":"object"==typeof _&&(_=_.version),"object"==typeof j&&(j=j.version),N=_===j;break;case"!==":"object"==typeof _&&(_=_.version),"object"==typeof j&&(j=j.version),N=_!==j;break;case"":case"=":case"==":N=Z(_,j,A);break;case"!=":N=ee(_,j,A);break;case">":N=Q(_,j,A);break;case">=":N=te(_,j,A);break;case"<":N=X(_,j,A);break;case"<=":N=re(_,j,A);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);j("comparator",_,E),this.options=E,this.loose=!!E.loose,this.parse(_),this.semver===qe?this.value="":this.value=this.operator+this.semver.version,j("comp",this)}E.rcompareIdentifiers=function(_,E){return J(E,_)},E.major=function(_,E){return new H(_,E).major},E.minor=function(_,E){return new H(_,E).minor},E.patch=function(_,E){return new H(_,E).patch},E.compare=z,E.compareLoose=function(_,E){return z(_,E,!0)},E.rcompare=function(_,E,j){return z(E,_,j)},E.sort=function(_,j){return _.sort((function(_,A){return E.compare(_,A,j)}))},E.rsort=function(_,j){return _.sort((function(_,A){return E.rcompare(_,A,j)}))},E.gt=Q,E.lt=X,E.eq=Z,E.neq=ee,E.gte=te,E.lte=re,E.cmp=ne,E.Comparator=oe;var qe={};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,j,A,N,F,B,R,G,W,K,U,Y){return((E=ae(j)?"":ae(A)?">="+j+".0.0":ae(N)?">="+j+"."+A+".0":">="+E)+" "+(R=ae(G)?"":ae(W)?"<"+(+G+1)+".0.0":ae(K)?"<"+G+"."+(+W+1)+".0":U?"<="+G+"."+W+"."+K+"-"+U:"<="+R)).trim()}function ue(_,E,A){for(var N=0;N<_.length;N++)if(!_[N].test(E))return!1;if(A||(A={}),E.prerelease.length&&!A.includePrerelease){for(N=0;N<_.length;N++)if(j(_[N].semver),_[N].semver!==qe&&_[N].semver.prerelease.length>0){var F=_[N].semver;if(F.major===E.major&&F.minor===E.minor&&F.patch===E.patch)return!0}return!1}return!0}function le(_,E,j){try{E=new se(E,j)}catch(_){return!1}return E.test(_)}function fe(_,E,j,A){var N,F,B,R,G;switch(_=new H(_,A),E=new se(E,A),j){case">":N=Q,F=re,B=X,R=">",G=">=";break;case"<":N=X,F=te,B=Q,R="<",G="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(le(_,E,A))return!1;for(var W=0;W<E.set.length;++W){var K=E.set[W],U=null,Y=null;if(K.forEach((function(_){_.semver===qe&&(_=new oe(">=0.0.0")),U=U||_,Y=Y||_,N(_.semver,U.semver,A)?U=_:B(_.semver,Y.semver,A)&&(Y=_)})),U.operator===R||U.operator===G)return!1;if((!Y.operator||Y.operator===R)&&F(_,Y.semver))return!1;if(Y.operator===G&&B(_,Y.semver))return!1}return!0}oe.prototype.parse=function(_){var E=this.options.loose?F[Te]:F[Le],j=_.match(E);if(!j)throw new TypeError("Invalid comparator: "+_);this.operator=j[1],"="===this.operator&&(this.operator=""),j[2]?this.semver=new H(j[2],this.options.loose):this.semver=qe},oe.prototype.toString=function(){return this.value},oe.prototype.test=function(_){return j("Comparator.test",_,this.options.loose),this.semver===qe||("string"==typeof _&&(_=new H(_,this.options)),ne(_,this.operator,this.semver,this.options))},oe.prototype.intersects=function(_,E){if(!(_ instanceof oe))throw new TypeError("a Comparator is required");var j;if(E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1}),""===this.operator)return j=new se(_.value,E),le(this.value,j,E);if(""===_.operator)return j=new se(this.value,E),le(_.semver,j,E);var A=!(">="!==this.operator&&">"!==this.operator||">="!==_.operator&&">"!==_.operator),N=!("<="!==this.operator&&"<"!==this.operator||"<="!==_.operator&&"<"!==_.operator),F=this.semver.version===_.semver.version,B=!(">="!==this.operator&&"<="!==this.operator||">="!==_.operator&&"<="!==_.operator),R=ne(this.semver,"<",_.semver,E)&&(">="===this.operator||">"===this.operator)&&("<="===_.operator||"<"===_.operator),G=ne(this.semver,">",_.semver,E)&&("<="===this.operator||"<"===this.operator)&&(">="===_.operator||">"===_.operator);return A||N||F&&B||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 A=E?F[Re]:F[Be];_=_.replace(A,ce),j("hyphen replace",_),_=_.replace(F[$e],"$1$2$3"),j("comparator trim",_,F[$e]),_=(_=(_=_.replace(F[ke],"$1~")).replace(F[Me],"$1^")).split(/\s+/).join(" ");var N=E?F[Te]:F[Le],B=_.split(" ").map((function(_){return function(_,E){return j("comp",_,E),_=function(_,E){return _.trim().split(/\s+/).map((function(_){return function(_,E){j("caret",_,E),E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1});var A=E.loose?F[De]:F[Ve];return _.replace(A,(function(E,A,N,F,B){var R;return j("caret",_,E,A,N,F,B),ae(A)?R="":ae(N)?R=">="+A+".0.0 <"+(+A+1)+".0.0":ae(F)?R="0"===A?">="+A+"."+N+".0 <"+A+"."+(+N+1)+".0":">="+A+"."+N+".0 <"+(+A+1)+".0.0":B?(j("replaceCaret pr",B),"-"!==B.charAt(0)&&(B="-"+B),R="0"===A?"0"===N?">="+A+"."+N+"."+F+B+" <"+A+"."+N+"."+(+F+1):">="+A+"."+N+"."+F+B+" <"+A+"."+(+N+1)+".0":">="+A+"."+N+"."+F+B+" <"+(+A+1)+".0.0"):(j("no pr"),R="0"===A?"0"===N?">="+A+"."+N+"."+F+" <"+A+"."+N+"."+(+F+1):">="+A+"."+N+"."+F+" <"+A+"."+(+N+1)+".0":">="+A+"."+N+"."+F+" <"+(+A+1)+".0.0"),j("caret return",R),R}))}(_,E)})).join(" ")}(_,E),j("caret",_),_=function(_,E){return _.trim().split(/\s+/).map((function(_){return function(_,E){E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1});var A=E.loose?F[Fe]:F[Ne];return _.replace(A,(function(E,A,N,F,B){var R;return j("tilde",_,E,A,N,F,B),ae(A)?R="":ae(N)?R=">="+A+".0.0 <"+(+A+1)+".0.0":ae(F)?R=">="+A+"."+N+".0 <"+A+"."+(+N+1)+".0":B?(j("replaceTilde pr",B),"-"!==B.charAt(0)&&(B="-"+B),R=">="+A+"."+N+"."+F+B+" <"+A+"."+(+N+1)+".0"):R=">="+A+"."+N+"."+F+" <"+A+"."+(+N+1)+".0",j("tilde return",R),R}))}(_,E)})).join(" ")}(_,E),j("tildes",_),_=function(_,E){return j("replaceXRanges",_,E),_.split(/\s+/).map((function(_){return function(_,E){_=_.trim(),E&&"object"==typeof E||(E={loose:!!E,includePrerelease:!1});var A=E.loose?F[Ee]:F[Ie];return _.replace(A,(function(E,A,N,F,B,R){j("xRange",_,E,A,N,F,B,R);var G=ae(N),W=G||ae(F),K=W||ae(B);return"="===A&&K&&(A=""),G?E=">"===A||"<"===A?"<0.0.0":"*":A&&K?(W&&(F=0),K&&(B=0),">"===A?(A=">=",W?(N=+N+1,F=0,B=0):K&&(F=+F+1,B=0)):"<="===A&&(A="<",W?N=+N+1:F=+F+1),E=A+N+"."+F+"."+B):W?E=">="+N+".0.0 <"+(+N+1)+".0.0":K&&(E=">="+N+"."+F+".0 <"+N+"."+(+F+1)+".0"),j("xRange return",E),E}))}(_,E)})).join(" ")}(_,E),j("xrange",_),_=function(_,E){return j("replaceStars",_,E),_.trim().replace(F[Ge],"")}(_,E),j("stars",_),_}(_,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(B=B.filter((function(_){return!!_.match(N)}))),B.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(j){return j.every((function(j){return _.set.some((function(_){return _.every((function(_){return j.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 H(_,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,j){var A=null,N=null;try{var F=new se(E,j)}catch(_){return null}return _.forEach((function(_){F.test(_)&&(A&&-1!==N.compare(_)||(N=new H(A=_,j)))})),A},E.minSatisfying=function(_,E,j){var A=null,N=null;try{var F=new se(E,j)}catch(_){return null}return _.forEach((function(_){F.test(_)&&(A&&1!==N.compare(_)||(N=new H(A=_,j)))})),A},E.validRange=function(_,E){try{return new se(_,E).range||"*"}catch(_){return null}},E.ltr=function(_,E,j){return fe(_,E,"<",j)},E.gtr=function(_,E,j){return fe(_,E,">",j)},E.outside=fe,E.prerelease=function(_,E){var j=q(_,E);return j&&j.prerelease.length?j.prerelease:null},E.intersects=function(_,E,j){return _=new se(_,j),E=new se(E,j),_.intersects(E)},E.coerce=function(_){if(_ instanceof H)return _;if("string"!=typeof _)return null;var E=_.match(F[je]);return null==E?null:q((E[1]||"0")+"."+(E[2]||"0")+"."+(E[3]||"0"))}},6176:(_,E,j)=>{"use strict";var A=j(184);_.exports=function(_){var E=_.match(A);if(!E)return null;var j=E[0].replace(/#! ?/,"").split(" "),N=j[0].split("/").pop(),F=j[1];return"env"===N?F:N+(F?" "+F:"")}},184:_=>{"use strict";_.exports=/^#!.*/},200:(_,E,j)=>{var A,N=j(6608),F=j(6132),B=j(467);function a(){G&&(G=!1,F.forEach((function(_){try{process.removeListener(_,R[_])}catch(_){}})),process.emit=K,process.reallyExit=W,A.count-=1)}function c(_,E,j){A.emitted[_]||(A.emitted[_]=!0,A.emit(_,E,j))}"function"!=typeof B&&(B=B.EventEmitter),process.__signal_exit_emitter__?A=process.__signal_exit_emitter__:((A=process.__signal_exit_emitter__=new B).count=0,A.emitted={}),A.infinite||(A.setMaxListeners(1/0),A.infinite=!0),_.exports=function(_,E){N.equal(typeof _,"function","a callback must be provided for exit handler"),!1===G&&f();var j="exit";return E&&E.alwaysLast&&(j="afterexit"),A.on(j,_),function(){A.removeListener(j,_),0===A.listeners("exit").length&&0===A.listeners("afterexit").length&&a()}},_.exports.unload=a;var R={};F.forEach((function(_){R[_]=function(){process.listeners(_).length===A.count&&(a(),c("exit",null,_),c("afterexit",null,_),process.kill(process.pid,_))}})),_.exports.signals=function(){return F},_.exports.load=f;var G=!1;function f(){G||(G=!0,A.count+=1,F=F.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 K=process.emit;function m(_,E){if("exit"===_){void 0!==E&&(process.exitCode=E);var j=K.apply(this,arguments);return c("exit",process.exitCode,null),c("afterexit",process.exitCode,null),j}return K.apply(this,arguments)}},6132:_=>{_.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")},9860:_=>{"use strict";_.exports=function(_){var E="string"==typeof _?"\n":"\n".charCodeAt(),j="string"==typeof _?"\r":"\r".charCodeAt();return _[_.length-1]===E&&(_=_.slice(0,_.length-1)),_[_.length-1]===j&&(_=_.slice(0,_.length-1)),_}},8460:(_,E,j)=>{_.exports=u,u.sync=function(_,E){for(var j=c(_,E=E||{}),A=j.env,F=j.ext,R=j.extExe,G=[],W=0,K=A.length;W<K;W++){var U=A[W];'"'===U.charAt(0)&&'"'===U.slice(-1)&&(U=U.slice(1,-1));var Y=N.join(U,_);!U&&/^\.[\\\/]/.test(_)&&(Y=_.slice(0,2)+Y);for(var ie=0,pe=F.length;ie<pe;ie++){var he=Y+F[ie];try{if(B.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 A="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,N=j(7072),F=A?";":":",B=j(9268);function a(_){var E=new Error("not found: "+_);return E.code="ENOENT",E}function c(_,E){var j=E.colon||F,N=E.path||process.env.PATH||"",B=[""];N=N.split(j);var R="";return A&&(N.unshift(process.cwd()),B=(R=E.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM").split(j),-1!==_.indexOf(".")&&""!==B[0]&&B.unshift("")),(_.match(/\//)||A&&_.match(/\\/))&&(N=[""]),{env:N,ext:B,extExe:R}}function u(_,E,j){"function"==typeof E&&(j=E,E={});var A=c(_,E),F=A.env,R=A.ext,G=A.extExe,W=[];!function n(A,K){if(A===K)return E.all&&W.length?j(null,W):j(a(_));var U=F[A];'"'===U.charAt(0)&&'"'===U.slice(-1)&&(U=U.slice(1,-1));var Y=N.join(U,_);!U&&/^\.[\\\/]/.test(_)&&(Y=_.slice(0,2)+Y),function e(_,N){if(_===N)return n(A+1,K);var F=R[_];B(Y+F,{pathExt:G},(function(A,B){if(!A&&B){if(!E.all)return j(null,Y+F);W.push(Y+F)}return e(_+1,N)}))}(0,R.length)}(0,F.length)}},6468:(_,E,j)=>{"use strict";const A=j(8558),N=j(8636),F=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(_||A.release());if(_&&!E)throw new Error("`release` argument doesn't match `n.n`");const j=(E||[])[0];if((!_||_===A.release())&&["6.1","6.2","6.3","10.0"].includes(j)){const _=((N.sync("wmic",["os","get","Caption"]).stdout||"").match(/2008|2012|2016/)||[])[0];if(_)return`Server ${_}`}return F.get(j)}},8636:(_,E,j)=>{"use strict";const A=j(7072),N=j(4368),F=j(7468),B=j(9860),R=j(9584),G=j(1392),W=j(9068),K=j(1548),U=j(200),Y=j(7688),ie=j(6174);function d(_,E,j){let N;return(j=Object.assign({extendEnv:!0,env:{}},j)).extendEnv&&(j.env=Object.assign({},process.env,j.env)),!0===j.__winShell?(delete j.__winShell,N={command:_,args:E,options:j,file:_,original:{cmd:_,args:E}}):N=F._parse(_,E,j),(j=Object.assign({maxBuffer:1e7,buffer:!0,stripEof:!0,preferLocal:!0,localDir:N.options.cwd||process.cwd(),encoding:"utf8",reject:!0,cleanup:!0},N.options)).stdio=ie(j),j.preferLocal&&(j.env=R.env(Object.assign({},j,{cwd:j.localDir}))),j.detached&&(j.cleanup=!1),"win32"===process.platform&&"cmd.exe"===A.basename(N.command)&&N.args.unshift("/q"),{cmd:N.command,args:N.args,opts:j,parsed:N}}function m(_,E){return E&&_.stripEof&&(E=B(E)),E}function g(_,E,j){let A="/bin/sh",N=["-c",E];return j=Object.assign({},j),"win32"===process.platform&&(j.__winShell=!0,A=process.env.comspec||"cmd.exe",N=["/s","/c",`"${E}"`],j.windowsVerbatimArguments=!0),j.shell&&(A=j.shell,delete j.shell),_(A,N,j)}function v(_,E,{encoding:j,buffer:A,maxBuffer:N}){if(!_[E])return null;let F;return F=A?j?W(_[E],{encoding:j,maxBuffer:N}):W.buffer(_[E],{maxBuffer:N}):new Promise(((j,A)=>{_[E].once("end",j).once("error",A)})),F.catch((_=>{throw _.stream=E,_.message=`${E} ${_.message}`,_}))}function y(_,E){const{stdout:j,stderr:A}=_;let N=_.error;const{code:F,signal:B}=_,{parsed:R,joinedCmd:G}=E,W=E.timedOut||!1;if(!N){let _="";Array.isArray(R.opts.stdio)?("inherit"!==R.opts.stdio[2]&&(_+=_.length>0?A:`\n${A}`),"inherit"!==R.opts.stdio[1]&&(_+=`\n${j}`)):"inherit"!==R.opts.stdio&&(_=`\n${A}${j}`),N=new Error(`Command failed: ${G}${_}`),N.code=F<0?Y(F):F}return N.stdout=j,N.stderr=A,N.failed=!0,N.signal=B||null,N.cmd=G,N.timedOut=W,N}function b(_,E){let j=_;return Array.isArray(E)&&E.length>0&&(j+=" "+E.join(" ")),j}_.exports=(_,E,j)=>{const A=d(_,E,j),{encoding:B,buffer:R,maxBuffer:W}=A.opts,Y=b(_,E);let ie,pe;try{ie=N.spawn(A.cmd,A.args,A.opts)}catch(_){return Promise.reject(_)}A.opts.cleanup&&(pe=U((()=>{ie.kill()})));let he=null,de=!1;const S=()=>{he&&(clearTimeout(he),he=null),pe&&pe()};A.opts.timeout>0&&(he=setTimeout((()=>{he=null,de=!0,ie.kill(A.opts.killSignal)}),A.opts.timeout));const me=new Promise((_=>{ie.on("exit",((E,j)=>{S(),_({code:E,signal:j})})),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 I=()=>K(Promise.all([me,v(ie,"stdout",{encoding:B,buffer:R,maxBuffer:W}),v(ie,"stderr",{encoding:B,buffer:R,maxBuffer:W})]).then((_=>{const E=_[0];if(E.stdout=_[1],E.stderr=_[2],E.error||0!==E.code||null!==E.signal){const _=y(E,{joinedCmd:Y,parsed:A,timedOut:de});if(_.killed=_.killed||ie.killed,!A.opts.reject)return _;throw _}return{stdout:m(A.opts,E.stdout),stderr:m(A.opts,E.stderr),code:0,failed:!1,killed:!1,signal:null,cmd:Y,timedOut:!1}})),O);return F._enoent.hookChildProcess(ie,A.parsed),function(_,E){null!=E&&(G(E)?E.pipe(_.stdin):_.stdin.end(E))}(ie,A.opts.input),ie.then=(_,E)=>I().then(_,E),ie.catch=_=>I().catch(_),ie},_.exports.stdout=(...E)=>_.exports(...E).then((_=>_.stdout)),_.exports.stderr=(...E)=>_.exports(...E).then((_=>_.stderr)),_.exports.shell=(E,j)=>g(_.exports,E,j),_.exports.sync=(_,E,j)=>{const A=d(_,E,j),F=b(_,E);if(G(A.opts.input))throw new TypeError("The `input` option cannot be a stream in sync mode");const B=N.spawnSync(A.cmd,A.args,A.opts);if(B.code=B.status,B.error||0!==B.status||null!==B.signal){const _=y(B,{joinedCmd:F,parsed:A});if(!A.opts.reject)return _;throw _}return{stdout:m(A.opts,B.stdout),stderr:m(A.opts,B.stderr),code:0,failed:!1,signal:null,cmd:F,timedOut:!1}},_.exports.shellSync=(E,j)=>g(_.exports.sync,E,j)},7688:(_,E,j)=>{"use strict";const A=j(970);let N;if("function"==typeof A.getSystemErrorName)_.exports=A.getSystemErrorName;else{try{if(N=process.binding("uv"),"function"!=typeof N.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},6174:_=>{"use strict";const E=["stdin","stdout","stderr"];_.exports=_=>{if(!_)return null;if(_.stdio&&(_=>E.some((E=>Boolean(_[E]))))(_))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${E.map((_=>`\`${_}\``)).join(", ")}`);if("string"==typeof _.stdio)return _.stdio;const j=_.stdio||[];if(!Array.isArray(j))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof j}\``);const A=[],N=Math.max(j.length,E.length);for(let F=0;F<N;F++){let N=null;void 0!==j[F]?N=j[F]:void 0!==_[E[F]]&&(N=_[E[F]]),A[F]=N}return A}},656:(_,E,j)=>{"use strict";const{PassThrough:A}=j(8378);_.exports=_=>{_=Object.assign({},_);const{array:E}=_;let{encoding:j}=_;const N="buffer"===j;let F=!1;E?F=!(j||N):j=j||"utf8",N&&(j=null);let B=0;const R=[],G=new A({objectMode:F});return j&&G.setEncoding(j),G.on("data",(_=>{R.push(_),F?B=R.length:B+=_.length})),G.getBufferedValue=()=>E?R:N?Buffer.concat(R,B):R.join(""),G.getBufferedLength=()=>B,G}},9068:(_,E,j)=>{"use strict";const A=j(8984),N=j(656);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:j}=E;let F;return new Promise(((B,R)=>{const u=_=>{_&&(_.bufferedData=F.getBufferedValue()),R(_)};F=A(_,N(E),(_=>{_?u(_):B()})),F.on("data",(()=>{F.getBufferedLength()>j&&u(new i)}))})).then((()=>F.getBufferedValue()))}_.exports=s,_.exports.buffer=(_,E)=>s(_,Object.assign({},E,{encoding:"buffer"})),_.exports.array=(_,E)=>s(_,Object.assign({},E,{array:!0})),_.exports.MaxBufferError=i},2680:_=>{_.exports=function e(_,E){if(_&&E)return e(_)(E);if("function"!=typeof _)throw new TypeError("need wrapper function");return Object.keys(_).forEach((function(E){n[E]=_[E]})),n;function n(){for(var E=new Array(arguments.length),j=0;j<E.length;j++)E[j]=arguments[j];var A=_.apply(this,E),N=E[E.length-1];return"function"==typeof A&&A!==N&&Object.keys(N).forEach((function(_){A[_]=N[_]})),A}}},4824:_=>{"use strict";function t(_){return _}_.exports={date:t,error:t,symbol:t,string:t,number:t,boolean:t,null:t,undefined:t}},324:(_,E,j)=>{"use strict";var A=j(3648),N=j(4616),F=j(4824);function s(_,E){return void 0===_?E:_}_.exports=function(){var _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{indent:s(_.indent," "),prefix:s(_.prefix,"\n"),postfix:s(_.postfix,""),errorToString:_.errorToString||A,dateToString:_.dateToString||N,colors:Object.assign({},F,_.colors)}}},4616:_=>{"use strict";_.exports=function(_){return`new Date(${Date.prototype.toISOString.call(_)})`}},3648:_=>{"use strict";_.exports=function(_){return Error.prototype.toString.call(_)}},9411:_=>{"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]:" ",j="",A=0;A<_;A+=1)j+=E;return j}},6232:(_,E,j)=>{"use strict";var A=j(7344),N=j(324),F=j(9411),B=["object","array"];_.exports=function(_,E){var j=N(E),R=j.colors,G=j.prefix,W=j.postfix,K=j.dateToString,U=j.errorToString,Y=j.indent,ie=new Map;function d(_){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,j=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===Object.keys(_).length)return" {}";var N="\n",R=F(E,Y);return Object.keys(_).forEach((function(G){var W=_[G],K=A(W),U=F(j," "),Y=-1!==B.indexOf(K)?"":" ",ie=v(W)?" [Circular]":g(K,W,E+1,j);N+=`${U}${R}${G}:${Y}${ie}\n`})),N.substring(0,N.length-1)}function m(_){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,j=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===_.length)return" []";var N="\n",B=F(E,Y);return _.forEach((function(_){var R=A(_),G=F(j," "),W=v(_)?"[Circular]":g(R,_,E,j+1).toString().trimLeft();N+=`${G}${B}- ${W}\n`})),N.substring(0,N.length-1)}function g(_,E,j,A){switch(_){case"array":return m(E,j,A);case"object":return d(E,j,A);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(K(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(A(_))||!ie.has(_)&&(ie.set(_),1))}var pe="";return ie.set(_),"object"===A(_)&&Object.keys(_).length>0?pe=d(_):"array"===A(_)&&_.length>0&&(pe=m(_)),0===pe.length?"":`${G}${pe.slice(1)}${W}`}},7344:_=>{"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 _}},6608:_=>{"use strict";_.exports=j(613)},4368:_=>{"use strict";_.exports=j(317)},467:_=>{"use strict";_.exports=j(434)},2058:_=>{"use strict";_.exports=j(896)},8558:_=>{"use strict";_.exports=j(857)},7072:_=>{"use strict";_.exports=j(928)},8378:_=>{"use strict";_.exports=j(203)},970:_=>{"use strict";_.exports=j(23)}},A={},N=function r(_){var j=A[_];if(void 0!==j)return j.exports;var N=A[_]={exports:{}};return E[_](N,N.exports,r),N.exports}(2980);_.exports=N})()},613:E=>{E.exports=_(import.meta.url)("assert")},317:E=>{E.exports=_(import.meta.url)("child_process")},434:E=>{E.exports=_(import.meta.url)("events")},896:E=>{E.exports=_(import.meta.url)("fs")},857:E=>{E.exports=_(import.meta.url)("os")},928:E=>{E.exports=_(import.meta.url)("path")},203:E=>{E.exports=_(import.meta.url)("stream")},23:E=>{E.exports=_(import.meta.url)("util")},330:_=>{_.exports=JSON.parse('{"name":"expo-env-info","version":"2.0.3","preferGlobal":true,"type":"module","bin":"./build/index.js","files":["build"],"keywords":["expo","ios","expo-env-info","android"],"description":"Fetch Expo project information for GitHub issue diagnostics","scripts":{"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":"expo-module clean","lint":"expo-module lint","prepare":"expo-module clean && yarn run build:prod","test":"expo-module test","watch":"yarn run build -w"},"repository":{"type":"git","url":"https://github.com/expo/expo.git","directory":"packages/expo-env-info"},"author":"Expo <support@expo.dev>","license":"MIT","bugs":{"url":"https://github.com/expo/expo/issues"},"homepage":"https://github.com/expo/expo/tree/main/packages/expo-env-info#readme","devDependencies":{"@types/envinfo":"^7.8.1","expo-module-scripts":"^5.0.3"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"dependencies":{"envinfo":"^7.8.1"},"gitHead":"ef0b9ecf9645d3e93587d5ee5030dbfcbf735bbd"}')}};var j={};function __nccwpck_require__(_){var A=j[_];if(A!==undefined){return A.exports}var N=j[_]={exports:{}};var F=true;try{E[_](N,N.exports,__nccwpck_require__);F=false}finally{if(F)delete j[_]}return N.exports}(()=>{__nccwpck_require__.n=_=>{var E=_&&_.__esModule?()=>_["default"]:()=>_;__nccwpck_require__.d(E,{a:E});return E}})();(()=>{__nccwpck_require__.d=(_,E)=>{for(var j in E){if(__nccwpck_require__.o(E,j)&&!__nccwpck_require__.o(_,j)){Object.defineProperty(_,j,{enumerable:true,get:E[j]})}}}})();(()=>{__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 A={};var N=__nccwpck_require__(896);var F=__nccwpck_require__(928);var B=__nccwpck_require__.n(F);var R=__nccwpck_require__(107);var G=__nccwpck_require__.n(R);async function*walk(_){for await(const E of await N.promises.readdir(_,{withFileTypes:true})){const j=B().join(_,E.name);if(E.isDirectory()||E.isSymbolicLink()){yield j;yield*walk(j)}else if(E.isFile()){yield j}}}async function findFile(_,E){return N.promises.access(_,N.constants.F_OK).then((async()=>{for await(const j of walk(_)){if(B().extname(j)===E)return true}return false})).catch((()=>false))}const W=__nccwpck_require__(330);function getEnvironmentInfoAsync(){return G().run({System:["OS","Shell"],Binaries:["Node","Yarn","npm","Watchman"],IDEs:["Xcode","Android Studio"],Managers:["CocoaPods"],SDKs:["iOS SDK","Android SDK"],npmPackages:["expo","expo-router","expo-updates","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 ${W.version} environment info`})}async function isInsideProjectAsync(_){try{await N.promises.access(B().join(_||process.cwd(),"./package.json"),N.constants.F_OK);return true}catch{return false}}async function isBareWorkflowProject(_){const E=await findFile(B().join(_,"ios"),".xcodeproj");const j=await findFile(B().join(_,"android"),".gradle");return E||j}async function actionAsync(_){process.chdir(_??process.cwd());const E=await getEnvironmentInfoAsync();const j=E.split("\n");if(await isInsideProjectAsync(_)){const E=await isBareWorkflowProject(_)?"bare":"managed";j.pop();j.push(` Expo Workflow: ${E}`)}console.log(j.join("\n")+"\n")}const packageJson=()=>__nccwpck_require__(330);async function run(){const _=process.argv.slice(2);if(_.some((_=>["-V","-v","--version"].includes(_)))){logVersionAndExit()}if(_.some((_=>["-h","--help"].includes(_)))){logHelpAndExit()}const E=B().resolve(process.cwd(),_[0]??process.cwd());await N.promises.access(E,N.constants.F_OK).catch((_=>{if(_){console.error(`Project directory ${E} does not exist`);process.exit(1)}}));await actionAsync(E)}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();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-env-info",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "preferGlobal": true,
5
5
  "type": "module",
6
6
  "bin": "./build/index.js",
@@ -36,7 +36,7 @@
36
36
  "homepage": "https://github.com/expo/expo/tree/main/packages/expo-env-info#readme",
37
37
  "devDependencies": {
38
38
  "@types/envinfo": "^7.8.1",
39
- "expo-module-scripts": "^5.0.2"
39
+ "expo-module-scripts": "^5.0.3"
40
40
  },
41
41
  "engines": {
42
42
  "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
@@ -44,5 +44,5 @@
44
44
  "dependencies": {
45
45
  "envinfo": "^7.8.1"
46
46
  },
47
- "gitHead": "eaa9b645058cf2233fbb27bb21a19bc605c90a88"
47
+ "gitHead": "ef0b9ecf9645d3e93587d5ee5030dbfcbf735bbd"
48
48
  }